From fac611714545fc47f44ca7a0932a25dbf59d4fc5 Mon Sep 17 00:00:00 2001 From: Benjamin Palko Date: Thu, 15 Oct 2026 09:58:24 -0400 Subject: [PATCH] add agent manager release decomp --- .../0x140001390.pseudo.c | 86 + .../0x140002400.pseudo.c | 94 + .../0x140002790.pseudo.c | 517 ++ .../0x140003420.pseudo.c | 295 + .../0x140003d00.pseudo.c | 455 ++ .../0x140005460.pseudo.c | 24 + .../0x140006380.pseudo.c | 28 + .../0x140007a20.pseudo.c | 427 + .../0x140009d00.pseudo.c | 79 + .../0x1400137f0.pseudo.c | 156 + .../0x140015290.pseudo.c | 267 + .../0x140015ac0.pseudo.c | 450 ++ .../0x1400169c0.pseudo.c | 169 + .../0x14001d850.pseudo.c | 26 + .../0x140026520.pseudo.c | 1584 ++++ .../0x14002c3c0.pseudo.c | 1624 ++++ .../0x14002fe40.pseudo.c | 235 + .../0x140032f70.pseudo.c | 223 + .../0x140034220.pseudo.c | 488 ++ .../binary_overview.json | 180 + .../evidence-bundle.json | 1 + decomp/AgentManager_Release_x64/evidence.md | 140 + .../full/functions/0x140001020.c | 15 + .../full/functions/0x140001060.c | 65 + .../full/functions/0x1400011d0.c | 26 + .../full/functions/0x140001260.c | 30 + .../full/functions/0x140001300.c | 15 + .../full/functions/0x140001340.c | 13 + .../full/functions/0x140001390.c | 89 + .../full/functions/0x140001550.c | 16 + .../full/functions/0x140001580.c | 32 + .../full/functions/0x140001630.c | 48 + .../full/functions/0x140001710.c | 51 + .../full/functions/0x140001800.c | 43 + .../full/functions/0x1400018a0.c | 30 + .../full/functions/0x140001920.c | 55 + .../full/functions/0x140001a80.c | 25 + .../full/functions/0x140001af0.c | 16 + .../full/functions/0x140001b20.c | 16 + .../full/functions/0x140001b50.c | 12 + .../full/functions/0x140001b80.c | 20 + .../full/functions/0x140001be0.c | 17 + .../full/functions/0x140001c20.c | 12 + .../full/functions/0x140001c50.c | 46 + .../full/functions/0x140001d10.c | 76 + .../full/functions/0x140001df0.c | 73 + .../full/functions/0x140001ee0.c | 39 + .../full/functions/0x140001f60.c | 34 + .../full/functions/0x140001fc0.c | 40 + .../full/functions/0x140002040.c | 26 + .../full/functions/0x1400020c0.c | 32 + .../full/functions/0x140002160.c | 14 + .../full/functions/0x140002190.c | 30 + .../full/functions/0x140002230.c | 12 + .../full/functions/0x140002240.c | 14 + .../full/functions/0x140002270.c | 21 + .../full/functions/0x1400022b0.c | 33 + .../full/functions/0x140002350.c | 15 + .../full/functions/0x140002380.c | 22 + .../full/functions/0x140002400.c | 97 + .../full/functions/0x140002670.c | 54 + .../full/functions/0x140002790.c | 520 ++ .../full/functions/0x1400033c0.c | 22 + .../full/functions/0x140003420.c | 298 + .../full/functions/0x140003c50.c | 19 + .../full/functions/0x140003d00.c | 458 ++ .../full/functions/0x140004980.c | 23 + .../full/functions/0x1400049e0.c | 16 + .../full/functions/0x140004a20.c | 16 + .../full/functions/0x140004a60.c | 17 + .../full/functions/0x140004aa0.c | 25 + .../full/functions/0x140004b20.c | 40 + .../full/functions/0x140004ba0.c | 44 + .../full/functions/0x140004c70.c | 17 + .../full/functions/0x140004cb0.c | 11 + .../full/functions/0x140004cc0.c | 25 + .../full/functions/0x140004d30.c | 32 + .../full/functions/0x140004da0.c | 16 + .../full/functions/0x140004de0.c | 36 + .../full/functions/0x140004e90.c | 28 + .../full/functions/0x140004f20.c | 31 + .../full/functions/0x140005000.c | 13 + .../full/functions/0x140005020.c | 50 + .../full/functions/0x1400050d0.c | 14 + .../full/functions/0x1400050f0.c | 17 + .../full/functions/0x140005110.c | 40 + .../full/functions/0x140005220.c | 15 + .../full/functions/0x140005260.c | 12 + .../full/functions/0x140005280.c | 43 + .../full/functions/0x140005380.c | 15 + .../full/functions/0x1400053b0.c | 28 + .../full/functions/0x140005460.c | 27 + .../full/functions/0x1400054f0.c | 258 + .../full/functions/0x140005990.c | 35 + .../full/functions/0x140005a30.c | 35 + .../full/functions/0x140005ad0.c | 14 + .../full/functions/0x140005af0.c | 37 + .../full/functions/0x140005b90.c | 80 + .../full/functions/0x140005d40.c | 11 + .../full/functions/0x140005d50.c | 15 + .../full/functions/0x140005d80.c | 10 + .../full/functions/0x140005d90.c | 10 + .../full/functions/0x140005da0.c | 11 + .../full/functions/0x140005dd0.c | 171 + .../full/functions/0x1400060a0.c | 21 + .../full/functions/0x1400060e0.c | 12 + .../full/functions/0x1400060f0.c | 56 + .../full/functions/0x140006290.c | 15 + .../full/functions/0x1400062c0.c | 29 + .../full/functions/0x140006380.c | 31 + .../full/functions/0x140006430.c | 42 + .../full/functions/0x140006500.c | 35 + .../full/functions/0x1400065a0.c | 35 + .../full/functions/0x140006640.c | 14 + .../full/functions/0x140006660.c | 42 + .../full/functions/0x140006740.c | 81 + .../full/functions/0x140006910.c | 10 + .../full/functions/0x140006920.c | 11 + .../full/functions/0x140006940.c | 70 + .../full/functions/0x1400069f0.c | 79 + .../full/functions/0x140006b10.c | 37 + .../full/functions/0x140006bc0.c | 53 + .../full/functions/0x140006cf0.c | 42 + .../full/functions/0x140006d70.c | 13 + .../full/functions/0x140006d80.c | 11 + .../full/functions/0x140006d90.c | 10 + .../full/functions/0x140006da0.c | 10 + .../full/functions/0x140006db0.c | 14 + .../full/functions/0x140006de0.c | 30 + .../full/functions/0x140006e80.c | 33 + .../full/functions/0x140006f20.c | 26 + .../full/functions/0x140006fb0.c | 38 + .../full/functions/0x140007010.c | 28 + .../full/functions/0x140007090.c | 153 + .../full/functions/0x140007430.c | 32 + .../full/functions/0x1400074d0.c | 42 + .../full/functions/0x1400075b0.c | 13 + .../full/functions/0x1400075d0.c | 74 + .../full/functions/0x140007700.c | 164 + .../full/functions/0x140007a20.c | 430 + .../full/functions/0x140008410.c | 659 ++ .../full/functions/0x140009240.c | 258 + .../full/functions/0x140009720.c | 16 + .../full/functions/0x140009760.c | 290 + .../full/functions/0x140009d00.c | 82 + .../full/functions/0x140009f70.c | 43 + .../full/functions/0x14000a070.c | 36 + .../full/functions/0x14000a140.c | 17 + .../full/functions/0x14000a180.c | 38 + .../full/functions/0x14000a240.c | 29 + .../full/functions/0x14000a2d0.c | 35 + .../full/functions/0x14000a370.c | 46 + .../full/functions/0x14000a4c0.c | 18 + .../full/functions/0x14000a520.c | 26 + .../full/functions/0x14000a580.c | 25 + .../full/functions/0x14000a5f0.c | 38 + .../full/functions/0x14000a6a0.c | 16 + .../full/functions/0x14000a720.c | 19 + .../full/functions/0x14000a7a0.c | 30 + .../full/functions/0x14000a840.c | 35 + .../full/functions/0x14000a8c0.c | 32 + .../full/functions/0x14000a950.c | 51 + .../full/functions/0x14000aa30.c | 62 + .../full/functions/0x14000ab30.c | 77 + .../full/functions/0x14000ac70.c | 13 + .../full/functions/0x14000acb0.c | 30 + .../full/functions/0x14000ad30.c | 14 + .../full/functions/0x14000ad60.c | 32 + .../full/functions/0x14000add0.c | 30 + .../full/functions/0x14000ae50.c | 145 + .../full/functions/0x14000b1c0.c | 178 + .../full/functions/0x14000b5f0.c | 150 + .../full/functions/0x14000b980.c | 161 + .../full/functions/0x14000bd40.c | 42 + .../full/functions/0x14000be00.c | 21 + .../full/functions/0x14000be80.c | 48 + .../full/functions/0x14000bf50.c | 32 + .../full/functions/0x14000bff0.c | 60 + .../full/functions/0x14000c120.c | 38 + .../full/functions/0x14000c1f0.c | 34 + .../full/functions/0x14000c270.c | 41 + .../full/functions/0x14000c360.c | 70 + .../full/functions/0x14000c480.c | 80 + .../full/functions/0x14000c5c0.c | 43 + .../full/functions/0x14000c660.c | 65 + .../full/functions/0x14000c770.c | 22 + .../full/functions/0x14000c7d0.c | 53 + .../full/functions/0x14000c910.c | 51 + .../full/functions/0x14000c9e0.c | 69 + .../full/functions/0x14000cb10.c | 15 + .../full/functions/0x14000cb50.c | 12 + .../full/functions/0x14000cb70.c | 52 + .../full/functions/0x14000cc40.c | 205 + .../full/functions/0x14000cf80.c | 47 + .../full/functions/0x14000d060.c | 54 + .../full/functions/0x14000d170.c | 198 + .../full/functions/0x14000d4a0.c | 52 + .../full/functions/0x14000d580.c | 197 + .../full/functions/0x14000d8a0.c | 52 + .../full/functions/0x14000d980.c | 22 + .../full/functions/0x14000d9e0.c | 20 + .../full/functions/0x14000da20.c | 26 + .../full/functions/0x14000daa0.c | 26 + .../full/functions/0x14000db30.c | 77 + .../full/functions/0x14000dcb0.c | 61 + .../full/functions/0x14000dde0.c | 49 + .../full/functions/0x14000ded0.c | 38 + .../full/functions/0x14000df80.c | 27 + .../full/functions/0x14000dfe0.c | 28 + .../full/functions/0x14000e040.c | 31 + .../full/functions/0x14000e0c0.c | 77 + .../full/functions/0x14000e270.c | 72 + .../full/functions/0x14000e3f0.c | 82 + .../full/functions/0x14000e5b0.c | 15 + .../full/functions/0x14000e5f0.c | 12 + .../full/functions/0x14000e610.c | 486 ++ .../full/functions/0x14000efc0.c | 83 + .../full/functions/0x14000f130.c | 66 + .../full/functions/0x14000f2a0.c | 161 + .../full/functions/0x14000f580.c | 125 + .../full/functions/0x14000f7e0.c | 121 + .../full/functions/0x14000fa00.c | 197 + .../full/functions/0x14000fcf0.c | 40 + .../full/functions/0x14000fdd0.c | 56 + .../full/functions/0x14000ff00.c | 38 + .../full/functions/0x14000ffc0.c | 29 + .../full/functions/0x140010050.c | 46 + .../full/functions/0x1400101a0.c | 18 + .../full/functions/0x140010200.c | 31 + .../full/functions/0x1400102b0.c | 17 + .../full/functions/0x140010300.c | 31 + .../full/functions/0x1400103c0.c | 13 + .../full/functions/0x1400103e0.c | 31 + .../full/functions/0x140010490.c | 17 + .../full/functions/0x1400104e0.c | 29 + .../full/functions/0x140010570.c | 40 + .../full/functions/0x140010640.c | 58 + .../full/functions/0x140010710.c | 77 + .../full/functions/0x1400108a0.c | 34 + .../full/functions/0x140010960.c | 86 + .../full/functions/0x140010b10.c | 16 + .../full/functions/0x140010b50.c | 19 + .../full/functions/0x140010bd0.c | 16 + .../full/functions/0x140010c10.c | 102 + .../full/functions/0x140010e40.c | 64 + .../full/functions/0x140010f70.c | 22 + .../full/functions/0x140010fd0.c | 20 + .../full/functions/0x140011050.c | 31 + .../full/functions/0x1400110c0.c | 27 + .../full/functions/0x140011140.c | 55 + .../full/functions/0x140011230.c | 38 + .../full/functions/0x1400112b0.c | 28 + .../full/functions/0x140011370.c | 37 + .../full/functions/0x140011410.c | 41 + .../full/functions/0x1400114c0.c | 11 + .../full/functions/0x1400114d0.c | 22 + .../full/functions/0x140011520.c | 34 + .../full/functions/0x140011580.c | 27 + .../full/functions/0x1400115d0.c | 41 + .../full/functions/0x140011650.c | 37 + .../full/functions/0x140011730.c | 30 + .../full/functions/0x1400117d0.c | 23 + .../full/functions/0x140011800.c | 15 + .../full/functions/0x140011840.c | 200 + .../full/functions/0x140011ba0.c | 56 + .../full/functions/0x140011cc0.c | 62 + .../full/functions/0x140011dd0.c | 60 + .../full/functions/0x140011f00.c | 64 + .../full/functions/0x140012020.c | 56 + .../full/functions/0x140012160.c | 200 + .../full/functions/0x1400124c0.c | 204 + .../full/functions/0x140012820.c | 36 + .../full/functions/0x1400128e0.c | 66 + .../full/functions/0x140012a30.c | 206 + .../full/functions/0x140012d90.c | 358 + .../full/functions/0x140013350.c | 204 + .../full/functions/0x1400136b0.c | 74 + .../full/functions/0x1400137f0.c | 159 + .../full/functions/0x140013b80.c | 87 + .../full/functions/0x140013d70.c | 29 + .../full/functions/0x140013e10.c | 40 + .../full/functions/0x140013ee0.c | 14 + .../full/functions/0x140013f10.c | 29 + .../full/functions/0x140013f80.c | 22 + .../full/functions/0x140013fb0.c | 13 + .../full/functions/0x140013fd0.c | 17 + .../full/functions/0x140014000.c | 17 + .../full/functions/0x140014060.c | 14 + .../full/functions/0x1400140a0.c | 51 + .../full/functions/0x1400141e0.c | 22 + .../full/functions/0x140014230.c | 206 + .../full/functions/0x140014570.c | 206 + .../full/functions/0x1400148b0.c | 206 + .../full/functions/0x140014bf0.c | 206 + .../full/functions/0x140014f40.c | 205 + .../full/functions/0x140015290.c | 270 + .../full/functions/0x140015750.c | 189 + .../full/functions/0x140015ac0.c | 453 ++ .../full/functions/0x140016310.c | 59 + .../full/functions/0x140016460.c | 17 + .../full/functions/0x1400164b0.c | 21 + .../full/functions/0x140016520.c | 25 + .../full/functions/0x140016590.c | 24 + .../full/functions/0x1400165f0.c | 31 + .../full/functions/0x1400166d0.c | 172 + .../full/functions/0x1400169c0.c | 172 + .../full/functions/0x140016cb0.c | 172 + .../full/functions/0x140016fa0.c | 225 + .../full/functions/0x140017460.c | 183 + .../full/functions/0x140017800.c | 183 + .../full/functions/0x140017ba0.c | 244 + .../full/functions/0x140018110.c | 183 + .../full/functions/0x1400184b0.c | 325 + .../full/functions/0x140018ae0.c | 414 + .../full/functions/0x1400192a0.c | 137 + .../full/functions/0x1400195d0.c | 439 ++ .../full/functions/0x140019d70.c | 61 + .../full/functions/0x140019e80.c | 38 + .../full/functions/0x140019f00.c | 38 + .../full/functions/0x140019fc0.c | 38 + .../full/functions/0x14001a080.c | 38 + .../full/functions/0x14001a110.c | 29 + .../full/functions/0x14001a190.c | 33 + .../full/functions/0x14001a250.c | 45 + .../full/functions/0x14001a390.c | 45 + .../full/functions/0x14001a4d0.c | 46 + .../full/functions/0x14001a5e0.c | 18 + .../full/functions/0x14001a640.c | 90 + .../full/functions/0x14001a8b0.c | 16 + .../full/functions/0x14001a910.c | 20 + .../full/functions/0x14001a970.c | 29 + .../full/functions/0x14001a9f0.c | 155 + .../full/functions/0x14001ad00.c | 184 + .../full/functions/0x14001b0d0.c | 193 + .../full/functions/0x14001b510.c | 90 + .../full/functions/0x14001b750.c | 89 + .../full/functions/0x14001b980.c | 90 + .../full/functions/0x14001bbc0.c | 251 + .../full/functions/0x14001c0e0.c | 89 + .../full/functions/0x14001c310.c | 16 + .../full/functions/0x14001c340.c | 31 + .../full/functions/0x14001c400.c | 14 + .../full/functions/0x14001c430.c | 12 + .../full/functions/0x14001c450.c | 13 + .../full/functions/0x14001c460.c | 15 + .../full/functions/0x14001c4a0.c | 22 + .../full/functions/0x14001c510.c | 14 + .../full/functions/0x14001c540.c | 14 + .../full/functions/0x14001c570.c | 14 + .../full/functions/0x14001c5a0.c | 11 + .../full/functions/0x14001c5b0.c | 13 + .../full/functions/0x14001c5d0.c | 10 + .../full/functions/0x14001c5e0.c | 15 + .../full/functions/0x14001c620.c | 22 + .../full/functions/0x14001c680.c | 46 + .../full/functions/0x14001c7b0.c | 70 + .../full/functions/0x14001c980.c | 31 + .../full/functions/0x14001cb20.c | 24 + .../full/functions/0x14001cb80.c | 34 + .../full/functions/0x14001cc40.c | 41 + .../full/functions/0x14001cd00.c | 49 + .../full/functions/0x14001ce70.c | 61 + .../full/functions/0x14001d0c0.c | 16 + .../full/functions/0x14001d120.c | 36 + .../full/functions/0x14001d1b0.c | 29 + .../full/functions/0x14001d250.c | 13 + .../full/functions/0x14001d260.c | 49 + .../full/functions/0x14001d320.c | 197 + .../full/functions/0x14001d670.c | 27 + .../full/functions/0x14001d6f0.c | 21 + .../full/functions/0x14001d750.c | 35 + .../full/functions/0x14001d7b0.c | 35 + .../full/functions/0x14001d810.c | 11 + .../full/functions/0x14001d820.c | 14 + .../full/functions/0x14001d850.c | 29 + .../full/functions/0x14001d8c0.c | 46 + .../full/functions/0x14001d9e0.c | 81 + .../full/functions/0x14001db80.c | 80 + .../full/functions/0x14001dd00.c | 36 + .../full/functions/0x14001de10.c | 36 + .../full/functions/0x14001df30.c | 49 + .../full/functions/0x14001e070.c | 46 + .../full/functions/0x14001e1c0.c | 14 + .../full/functions/0x14001e1f0.c | 43 + .../full/functions/0x14001e2c0.c | 50 + .../full/functions/0x14001e3c0.c | 22 + .../full/functions/0x14001e440.c | 24 + .../full/functions/0x14001e4b0.c | 11 + .../full/functions/0x14001e4c0.c | 14 + .../full/functions/0x14001e4f0.c | 24 + .../full/functions/0x14001e530.c | 40 + .../full/functions/0x14001e5e0.c | 11 + .../full/functions/0x14001e5f0.c | 20 + .../full/functions/0x14001e660.c | 17 + .../full/functions/0x14001e6b0.c | 25 + .../full/functions/0x14001e6f0.c | 22 + .../full/functions/0x14001e770.c | 10 + .../full/functions/0x14001e780.c | 25 + .../full/functions/0x14001e7c0.c | 13 + .../full/functions/0x14001e7d0.c | 28 + .../full/functions/0x14001e860.c | 25 + .../full/functions/0x14001e8a0.c | 161 + .../full/functions/0x14001ebf0.c | 15 + .../full/functions/0x14001ec20.c | 24 + .../full/functions/0x14001eca0.c | 26 + .../full/functions/0x14001ed00.c | 69 + .../full/functions/0x14001ee20.c | 60 + .../full/functions/0x14001ef00.c | 43 + .../full/functions/0x14001efc0.c | 15 + .../full/functions/0x14001eff0.c | 20 + .../full/functions/0x14001f070.c | 39 + .../full/functions/0x14001f130.c | 88 + .../full/functions/0x14001f2a0.c | 64 + .../full/functions/0x14001f470.c | 43 + .../full/functions/0x14001f540.c | 29 + .../full/functions/0x14001f5c0.c | 26 + .../full/functions/0x14001f630.c | 28 + .../full/functions/0x14001f6d0.c | 41 + .../full/functions/0x14001f7a0.c | 87 + .../full/functions/0x14001f920.c | 264 + .../full/functions/0x14001fe30.c | 39 + .../full/functions/0x14001fee0.c | 26 + .../full/functions/0x14001ff40.c | 17 + .../full/functions/0x14001ffa0.c | 24 + .../full/functions/0x140020010.c | 102 + .../full/functions/0x1400202b0.c | 22 + .../full/functions/0x140020310.c | 13 + .../full/functions/0x140020320.c | 41 + .../full/functions/0x1400204b0.c | 13 + .../full/functions/0x1400204c0.c | 40 + .../full/functions/0x140020550.c | 26 + .../full/functions/0x140020610.c | 123 + .../full/functions/0x1400209d0.c | 32 + .../full/functions/0x140020a60.c | 13 + .../full/functions/0x140020a70.c | 30 + .../full/functions/0x140020b00.c | 22 + .../full/functions/0x140020b60.c | 13 + .../full/functions/0x140020b70.c | 41 + .../full/functions/0x140020c20.c | 14 + .../full/functions/0x140020c50.c | 16 + .../full/functions/0x140020c80.c | 87 + .../full/functions/0x140020d90.c | 97 + .../full/functions/0x140020ee0.c | 51 + .../full/functions/0x140020fc0.c | 31 + .../full/functions/0x140021080.c | 101 + .../full/functions/0x140021270.c | 56 + .../full/functions/0x140021340.c | 188 + .../full/functions/0x140021720.c | 109 + .../full/functions/0x1400219a0.c | 32 + .../full/functions/0x140021a40.c | 159 + .../full/functions/0x140021d50.c | 276 + .../full/functions/0x140022410.c | 131 + .../full/functions/0x1400226d0.c | 90 + .../full/functions/0x1400228d0.c | 108 + .../full/functions/0x140022b50.c | 82 + .../full/functions/0x140022d40.c | 100 + .../full/functions/0x140022f90.c | 223 + .../full/functions/0x1400234b0.c | 11 + .../full/functions/0x1400234c0.c | 14 + .../full/functions/0x1400234f0.c | 10 + .../full/functions/0x140023500.c | 15 + .../full/functions/0x140023530.c | 12 + .../full/functions/0x140023550.c | 16 + .../full/functions/0x140023580.c | 34 + .../full/functions/0x140023610.c | 15 + .../full/functions/0x140023650.c | 38 + .../full/functions/0x1400236e0.c | 45 + .../full/functions/0x1400237f0.c | 11 + .../full/functions/0x140023800.c | 14 + .../full/functions/0x140023830.c | 11 + .../full/functions/0x140023840.c | 14 + .../full/functions/0x140023870.c | 17 + .../full/functions/0x1400238d0.c | 10 + .../full/functions/0x1400238e0.c | 10 + .../full/functions/0x1400238f0.c | 14 + .../full/functions/0x140023920.c | 10 + .../full/functions/0x140023930.c | 132 + .../full/functions/0x140023c90.c | 138 + .../full/functions/0x140023ff0.c | 76 + .../full/functions/0x1400241e0.c | 80 + .../full/functions/0x140024400.c | 38 + .../full/functions/0x140024510.c | 39 + .../full/functions/0x140024630.c | 35 + .../full/functions/0x140024720.c | 37 + .../full/functions/0x140024820.c | 33 + .../full/functions/0x140024900.c | 36 + .../full/functions/0x1400249e0.c | 49 + .../full/functions/0x140024b10.c | 51 + .../full/functions/0x140024c50.c | 74 + .../full/functions/0x140024e30.c | 79 + .../full/functions/0x140025040.c | 37 + .../full/functions/0x140025140.c | 38 + .../full/functions/0x140025250.c | 35 + .../full/functions/0x140025340.c | 36 + .../full/functions/0x140025430.c | 35 + .../full/functions/0x140025520.c | 37 + .../full/functions/0x140025620.c | 33 + .../full/functions/0x140025700.c | 36 + .../full/functions/0x1400257e0.c | 39 + .../full/functions/0x140025900.c | 40 + .../full/functions/0x140025a30.c | 37 + .../full/functions/0x140025b30.c | 38 + .../full/functions/0x140025c40.c | 37 + .../full/functions/0x140025d40.c | 38 + .../full/functions/0x140025e50.c | 37 + .../full/functions/0x140025f50.c | 38 + .../full/functions/0x140026060.c | 39 + .../full/functions/0x140026190.c | 40 + .../full/functions/0x1400262c0.c | 39 + .../full/functions/0x1400263f0.c | 40 + .../full/functions/0x140026520.c | 1587 ++++ .../full/functions/0x140028ea0.c | 21 + .../full/functions/0x140028ee0.c | 12 + .../full/functions/0x140028ef0.c | 21 + .../full/functions/0x140028f30.c | 12 + .../full/functions/0x140028f40.c | 35 + .../full/functions/0x140028fc0.c | 108 + .../full/functions/0x1400291d0.c | 35 + .../full/functions/0x1400292d0.c | 45 + .../full/functions/0x1400293e0.c | 34 + .../full/functions/0x1400294e0.c | 33 + .../full/functions/0x1400295b0.c | 37 + .../full/functions/0x140029660.c | 25 + .../full/functions/0x1400296d0.c | 35 + .../full/functions/0x140029780.c | 26 + .../full/functions/0x140029800.c | 22 + .../full/functions/0x140029890.c | 20 + .../full/functions/0x140029920.c | 16 + .../full/functions/0x140029980.c | 85 + .../full/functions/0x140029af0.c | 27 + .../full/functions/0x140029b80.c | 16 + .../full/functions/0x140029bb0.c | 18 + .../full/functions/0x140029bf0.c | 72 + .../full/functions/0x140029d40.c | 18 + .../full/functions/0x140029d80.c | 57 + .../full/functions/0x140029e60.c | 57 + .../full/functions/0x140029f40.c | 36 + .../full/functions/0x140029fb0.c | 54 + .../full/functions/0x14002a050.c | 54 + .../full/functions/0x14002a110.c | 30 + .../full/functions/0x14002a180.c | 52 + .../full/functions/0x14002a260.c | 34 + .../full/functions/0x14002a2d0.c | 57 + .../full/functions/0x14002a3b0.c | 17 + .../full/functions/0x14002a3e0.c | 18 + .../full/functions/0x14002a420.c | 18 + .../full/functions/0x14002a470.c | 10 + .../full/functions/0x14002a480.c | 10 + .../full/functions/0x14002a490.c | 33 + .../full/functions/0x14002a570.c | 35 + .../full/functions/0x14002a650.c | 74 + .../full/functions/0x14002a830.c | 79 + .../full/functions/0x14002aa40.c | 38 + .../full/functions/0x14002ab50.c | 40 + .../full/functions/0x14002ac80.c | 52 + .../full/functions/0x14002ae10.c | 52 + .../full/functions/0x14002afb0.c | 37 + .../full/functions/0x14002b0b0.c | 38 + .../full/functions/0x14002b1c0.c | 35 + .../full/functions/0x14002b2b0.c | 37 + .../full/functions/0x14002b3a0.c | 37 + .../full/functions/0x14002b4a0.c | 38 + .../full/functions/0x14002b5b0.c | 43 + .../full/functions/0x14002b6e0.c | 45 + .../full/functions/0x14002b830.c | 38 + .../full/functions/0x14002b940.c | 39 + .../full/functions/0x14002ba60.c | 39 + .../full/functions/0x14002bb80.c | 40 + .../full/functions/0x14002bcb0.c | 35 + .../full/functions/0x14002bda0.c | 36 + .../full/functions/0x14002be90.c | 35 + .../full/functions/0x14002bf80.c | 37 + .../full/functions/0x14002c070.c | 34 + .../full/functions/0x14002c150.c | 36 + .../full/functions/0x14002c230.c | 31 + .../full/functions/0x14002c2f0.c | 33 + .../full/functions/0x14002c3c0.c | 1627 ++++ .../full/functions/0x14002ef60.c | 21 + .../full/functions/0x14002efa0.c | 12 + .../full/functions/0x14002efb0.c | 10 + .../full/functions/0x14002efc0.c | 21 + .../full/functions/0x14002f000.c | 12 + .../full/functions/0x14002f010.c | 45 + .../full/functions/0x14002f150.c | 27 + .../full/functions/0x14002f1f0.c | 35 + .../full/functions/0x14002f2a0.c | 16 + .../full/functions/0x14002f300.c | 27 + .../full/functions/0x14002f390.c | 46 + .../full/functions/0x14002f4a0.c | 60 + .../full/functions/0x14002f580.c | 18 + .../full/functions/0x14002f5c0.c | 60 + .../full/functions/0x14002f6b0.c | 18 + .../full/functions/0x14002f6f0.c | 34 + .../full/functions/0x14002f760.c | 137 + .../full/functions/0x14002fa50.c | 14 + .../full/functions/0x14002fa80.c | 59 + .../full/functions/0x14002fc00.c | 136 + .../full/functions/0x14002fe40.c | 238 + .../full/functions/0x140030300.c | 786 ++ .../full/functions/0x140030fd0.c | 15 + .../full/functions/0x140031000.c | 2101 +++++ .../full/functions/0x140032f70.c | 226 + .../full/functions/0x140033470.c | 75 + .../full/functions/0x140033550.c | 212 + .../full/functions/0x140033900.c | 17 + .../full/functions/0x140033940.c | 106 + .../full/functions/0x140033b40.c | 46 + .../full/functions/0x140033c30.c | 115 + .../full/functions/0x140033fc0.c | 15 + .../full/functions/0x140033ff0.c | 108 + .../full/functions/0x140034220.c | 491 ++ .../full/functions/0x140034be0.c | 29 + .../full/functions/0x140034c60.c | 13 + .../full/functions/0x140034c80.c | 28 + .../full/functions/0x140034ce0.c | 31 + .../full/functions/0x140034d90.c | 11 + .../full/functions/0x140034dc0.c | 110 + .../full/functions/0x140035000.c | 24 + .../full/functions/0x140035050.c | 29 + .../full/functions/0x1400350c0.c | 80 + .../full/functions/0x140035260.c | 57 + .../full/functions/0x140035370.c | 17 + .../full/functions/0x1400353b0.c | 33 + .../full/functions/0x140035470.c | 32 + .../full/functions/0x140035520.c | 11 + .../full/functions/0x140035550.c | 113 + .../full/functions/0x140035800.c | 24 + .../full/functions/0x140035860.c | 30 + .../full/functions/0x140035900.c | 80 + .../full/functions/0x140035ad0.c | 57 + .../full/functions/0x140035c00.c | 30 + .../full/functions/0x140035c70.c | 16 + .../full/functions/0x140035cd0.c | 29 + .../full/functions/0x140035d60.c | 17 + .../full/functions/0x140035dc0.c | 29 + .../full/functions/0x140035e50.c | 38 + .../full/functions/0x140035ee0.c | 29 + .../full/functions/0x140035f70.c | 122 + .../full/functions/0x1400361f0.c | 38 + .../full/functions/0x1400362b0.c | 122 + .../full/functions/0x140036550.c | 46 + .../full/functions/0x140036660.c | 18 + .../full/functions/0x1400366c0.c | 34 + .../full/functions/0x1400367c0.c | 25 + .../full/functions/0x140036830.c | 22 + .../full/functions/0x1400368b0.c | 42 + .../full/functions/0x140036960.c | 58 + .../full/functions/0x140036ab0.c | 78 + .../full/functions/0x140036c10.c | 44 + .../full/functions/0x140036cf0.c | 32 + .../full/functions/0x140036d70.c | 22 + .../full/functions/0x140036df0.c | 20 + .../full/functions/0x140036e80.c | 36 + .../full/functions/0x140036f40.c | 72 + .../full/functions/0x140037090.c | 25 + .../full/functions/0x1400370f0.c | 25 + .../full/functions/0x1400371a0.c | 25 + .../full/functions/0x140037260.c | 45 + .../full/functions/0x140037340.c | 89 + .../full/functions/0x140037500.c | 49 + .../full/functions/0x1400375e0.c | 25 + .../full/functions/0x1400376b0.c | 15 + .../full/functions/0x1400376f0.c | 12 + .../full/functions/0x140037710.c | 16 + .../full/functions/0x140037750.c | 330 + .../full/functions/0x140037e00.c | 38 + .../full/functions/0x140037ea0.c | 39 + .../full/functions/0x140037f20.c | 50 + .../full/functions/0x140038010.c | 78 + .../full/functions/0x140038160.c | 54 + .../full/functions/0x140038210.c | 21 + .../full/functions/0x140038280.c | 24 + .../full/functions/0x140038300.c | 30 + .../full/functions/0x1400383a0.c | 22 + .../full/functions/0x140038400.c | 20 + .../full/functions/0x140038440.c | 22 + .../full/functions/0x1400384c0.c | 22 + .../full/functions/0x140038530.c | 492 ++ .../full/functions/0x140039000.c | 15 + .../full/functions/0x140039040.c | 12 + .../full/functions/0x140039060.c | 20 + .../full/functions/0x1400390d0.c | 68 + .../full/functions/0x140039230.c | 118 + .../full/functions/0x1400394f0.c | 49 + .../full/functions/0x1400395f0.c | 39 + .../full/functions/0x140039670.c | 68 + .../full/functions/0x1400397d0.c | 62 + .../full/functions/0x1400398e0.c | 38 + .../full/functions/0x140039980.c | 40 + .../full/functions/0x140039a40.c | 68 + .../full/functions/0x140039b70.c | 77 + .../full/functions/0x140039cd0.c | 133 + .../full/functions/0x140039f50.c | 79 + .../full/functions/0x14003a0d0.c | 79 + .../full/functions/0x14003a250.c | 57 + .../full/functions/0x14003a320.c | 140 + .../full/functions/0x14003a5a0.c | 50 + .../full/functions/0x14003a680.c | 32 + .../full/functions/0x14003a710.c | 34 + .../full/functions/0x14003a7e0.c | 40 + .../full/functions/0x14003a890.c | 49 + .../full/functions/0x14003a9e0.c | 95 + .../full/functions/0x14003ac00.c | 13 + .../full/functions/0x14003ac20.c | 16 + .../full/functions/0x14003ac80.c | 11 + .../full/functions/0x14003acb0.c | 15 + .../full/functions/0x14003acf0.c | 66 + .../full/functions/0x14003ae60.c | 15 + .../full/functions/0x14003ae90.c | 28 + .../full/functions/0x14003af40.c | 15 + .../full/functions/0x14003af80.c | 12 + .../full/functions/0x14003afa0.c | 17 + .../full/functions/0x14003b000.c | 11 + .../full/functions/0x14003b030.c | 38 + .../full/functions/0x14003b100.c | 35 + .../full/functions/0x14003b190.c | 20 + .../full/functions/0x14003b230.c | 15 + .../full/functions/0x14003b270.c | 21 + .../full/functions/0x14003b2f0.c | 30 + .../full/functions/0x14003b390.c | 38 + .../full/functions/0x14003b460.c | 30 + .../full/functions/0x14003b4f0.c | 13 + .../full/functions/0x14003b510.c | 28 + .../full/functions/0x14003b5a0.c | 82 + .../full/functions/0x14003b780.c | 48 + .../full/functions/0x14003b8b0.c | 72 + .../full/functions/0x14003ba00.c | 112 + .../full/functions/0x14003bc50.c | 15 + .../full/functions/0x14003bc90.c | 12 + .../full/functions/0x14003bcb0.c | 259 + .../full/functions/0x14003bfd0.c | 38 + .../full/functions/0x14003c0a0.c | 60 + .../full/functions/0x14003c1f0.c | 25 + .../full/functions/0x14003c270.c | 94 + .../full/functions/0x14003c450.c | 32 + .../full/functions/0x14003c4f0.c | 46 + .../full/functions/0x14003c5c0.c | 38 + .../full/functions/0x14003c690.c | 25 + .../full/functions/0x14003c6e0.c | 64 + .../full/functions/0x14003c840.c | 49 + .../full/functions/0x14003c950.c | 68 + .../full/functions/0x14003ca90.c | 129 + .../full/functions/0x14003cdd0.c | 73 + .../full/functions/0x14003cf60.c | 53 + .../full/functions/0x14003d040.c | 18 + .../full/functions/0x14003d070.c | 13 + .../full/functions/0x14003d090.c | 18 + .../full/functions/0x14003d0d0.c | 13 + .../full/functions/0x14003d0e0.c | 10 + .../full/functions/0x14003d0f0.c | 13 + .../full/functions/0x14003d110.c | 27 + .../full/functions/0x14003d190.c | 13 + .../full/functions/0x14003d1b0.c | 50 + .../full/functions/0x14003d260.c | 13 + .../full/functions/0x14003d280.c | 42 + .../full/functions/0x14003d3c0.c | 45 + .../full/functions/0x14003d430.c | 16 + .../full/functions/0x14003d440.c | 51 + .../full/functions/0x14003d4c0.c | 71 + .../full/functions/0x14003d5d0.c | 72 + .../full/functions/0x14003d6e0.c | 15 + .../full/functions/0x14003d720.c | 23 + .../full/functions/0x14003d780.c | 39 + .../full/functions/0x14003d800.c | 26 + .../full/functions/0x14003d880.c | 32 + .../full/functions/0x14003d910.c | 132 + .../full/functions/0x14003db10.c | 141 + .../full/functions/0x14003dd60.c | 26 + .../full/functions/0x14003dde0.c | 56 + .../full/functions/0x14003dec0.c | 16 + .../full/functions/0x14003def0.c | 14 + .../full/functions/0x14003df20.c | 14 + .../full/functions/0x14003df50.c | 13 + .../full/functions/0x14003df70.c | 46 + .../full/functions/0x14003e0c0.c | 15 + .../full/functions/0x14003e110.c | 26 + .../full/functions/0x14003e170.c | 44 + .../full/functions/0x14003e210.c | 14 + .../full/functions/0x14003e250.c | 46 + .../full/functions/0x14003e340.c | 50 + .../full/functions/0x14003e430.c | 32 + .../full/functions/0x14003e4d0.c | 34 + .../full/functions/0x14003e570.c | 43 + .../full/functions/0x14003e620.c | 23 + .../full/functions/0x14003e650.c | 11 + .../full/functions/0x14003e660.c | 25 + .../full/functions/0x14003e690.c | 18 + .../full/functions/0x14003e6c0.c | 10 + .../full/functions/0x14003e6e0.c | 23 + .../full/functions/0x14003e710.c | 12 + .../full/functions/0x14003e740.c | 23 + .../full/functions/0x14003e770.c | 18 + .../full/functions/0x14003e7b0.c | 13 + .../full/functions/0x14003e7c0.c | 22 + .../full/functions/0x14003e820.c | 11 + .../full/functions/0x14003e830.c | 11 + .../full/functions/0x14003e840.c | 21 + .../full/functions/0x14003e870.c | 21 + .../full/functions/0x14003e8b0.c | 16 + .../full/functions/0x14003e8e0.c | 14 + .../full/functions/0x14003e910.c | 22 + .../full/functions/0x14003e970.c | 10 + .../full/functions/0x14003e990.c | 10 + .../full/functions/0x14003e9a0.c | 14 + .../full/functions/0x14003e9d0.c | 25 + .../full/functions/0x14003ea50.c | 21 + .../full/functions/0x14003ea90.c | 17 + .../full/functions/0x14003ead0.c | 19 + .../full/functions/0x14003eaf0.c | 19 + .../full/functions/0x14003eb10.c | 19 + .../full/functions/0x14003eb40.c | 11 + .../full/functions/0x14003eb60.c | 19 + .../full/functions/0x14003ebc0.c | 15 + .../full/functions/0x14003ebf0.c | 32 + .../full/functions/0x14003ec50.c | 60 + .../full/functions/0x14003ed40.c | 102 + .../full/functions/0x14003ef50.c | 54 + .../full/functions/0x14003f010.c | 52 + .../full/functions/0x14003f0f0.c | 34 + .../full/functions/0x14003f1a0.c | 14 + .../full/functions/0x14003f1c0.c | 50 + .../full/functions/0x14003f2d0.c | 27 + .../full/functions/0x14003f320.c | 27 + .../full/functions/0x14003f370.c | 11 + .../full/functions/0x14003f390.c | 11 + .../full/functions/0x14003f3d0.c | 39 + .../full/functions/0x14003f480.c | 81 + .../full/functions/0x14003f5b0.c | 202 + .../full/functions/0x14003f980.c | 33 + .../full/functions/0x14003fa30.c | 22 + .../full/functions/0x14003fa90.c | 14 + .../full/functions/0x14003fac0.c | 47 + .../full/functions/0x14003fbd0.c | 12 + .../full/functions/0x14003fbf0.c | 33 + .../full/functions/0x14003fc80.c | 30 + .../full/functions/0x14003fcd0.c | 113 + .../full/functions/0x14003ff20.c | 132 + .../full/functions/0x140040250.c | 27 + .../full/functions/0x1400402e0.c | 127 + .../full/functions/0x140040470.c | 16 + .../full/functions/0x1400404a0.c | 25 + .../full/functions/0x140040510.c | 38 + .../full/functions/0x1400405a0.c | 35 + .../full/functions/0x140040650.c | 170 + .../full/functions/0x140040940.c | 31 + .../full/functions/0x140040a00.c | 17 + .../full/functions/0x140040a70.c | 88 + .../full/functions/0x140040be0.c | 459 ++ .../full/functions/0x1400413c0.c | 60 + .../full/functions/0x1400414b0.c | 24 + .../full/functions/0x140041530.c | 23 + .../full/functions/0x140041580.c | 31 + .../full/functions/0x140041630.c | 34 + .../full/functions/0x1400416f0.c | 17 + .../full/functions/0x140041730.c | 20 + .../full/functions/0x140041770.c | 11 + .../full/functions/0x140041780.c | 14 + .../full/functions/0x1400417b0.c | 11 + .../full/functions/0x1400417c0.c | 14 + .../full/functions/0x1400417e0.c | 16 + .../full/functions/0x140041820.c | 15 + .../full/functions/0x140041850.c | 23 + .../full/functions/0x140041880.c | 33 + .../full/functions/0x140041940.c | 27 + .../full/functions/0x1400419a0.c | 24 + .../full/functions/0x140041a10.c | 43 + .../full/functions/0x140041af0.c | 53 + .../full/functions/0x140041be0.c | 142 + .../full/functions/0x140041da0.c | 46 + .../full/functions/0x140041e20.c | 24 + .../full/functions/0x140041e70.c | 42 + .../full/functions/0x140041f00.c | 104 + .../full/functions/0x1400420f0.c | 81 + .../full/functions/0x140042260.c | 78 + .../full/functions/0x1400423c0.c | 25 + .../full/functions/0x140042440.c | 14 + .../full/functions/0x1400424b0.c | 33 + .../full/functions/0x140042570.c | 80 + .../full/functions/0x1400426e0.c | 27 + .../full/functions/0x140042720.c | 135 + .../full/functions/0x1400429c0.c | 72 + .../full/functions/0x140042b00.c | 48 + .../full/functions/0x140042bb0.c | 34 + .../full/functions/0x140042c70.c | 21 + .../full/functions/0x140042ca0.c | 138 + .../full/functions/0x140042f50.c | 25 + .../full/functions/0x140042fd0.c | 14 + .../full/functions/0x140042ff0.c | 35 + .../full/functions/0x140043090.c | 35 + .../full/functions/0x140043130.c | 10 + .../full/functions/0x140043140.c | 11 + .../full/functions/0x140043150.c | 18 + .../full/functions/0x140043190.c | 38 + .../full/functions/0x140043230.c | 14 + .../full/functions/0x140043260.c | 18 + .../full/functions/0x1400432b0.c | 13 + .../full/functions/0x1400432d0.c | 30 + .../full/functions/0x140043330.c | 30 + .../full/functions/0x140043390.c | 21 + .../full/functions/0x1400433f0.c | 28 + .../full/functions/0x1400434c0.c | 11 + .../full/functions/0x1400434f0.c | 13 + .../full/functions/0x140043510.c | 11 + .../full/functions/0x140043520.c | 14 + .../full/functions/0x140043550.c | 50 + .../full/functions/0x140043630.c | 36 + .../full/functions/0x140043710.c | 38 + .../full/functions/0x1400437e0.c | 37 + .../full/functions/0x1400438b0.c | 37 + .../full/functions/0x140043980.c | 39 + .../full/functions/0x140043a50.c | 33 + .../full/functions/0x140043b40.c | 66 + .../full/functions/0x140043cd0.c | 13 + .../full/functions/0x140043cf0.c | 22 + .../full/functions/0x140043d40.c | 13 + .../full/functions/0x140043d60.c | 22 + .../full/functions/0x140043dc0.c | 26 + .../full/functions/0x140043e60.c | 52 + .../full/functions/0x140043f50.c | 88 + .../full/functions/0x140044170.c | 62 + .../full/functions/0x140044300.c | 67 + .../full/functions/0x140044450.c | 275 + .../full/functions/0x140044880.c | 55 + .../full/functions/0x1400449f0.c | 55 + .../full/functions/0x140044bb0.c | 88 + .../full/functions/0x140044d90.c | 81 + .../full/functions/0x140044f60.c | 18 + .../full/functions/0x140044fa0.c | 23 + .../full/functions/0x140045000.c | 23 + .../full/functions/0x140045060.c | 51 + .../full/functions/0x1400451d0.c | 24 + .../full/functions/0x140045250.c | 53 + .../full/functions/0x140045350.c | 49 + .../full/functions/0x140045460.c | 33 + .../full/functions/0x140045510.c | 14 + .../full/functions/0x140045540.c | 20 + .../full/functions/0x140045590.c | 37 + .../full/functions/0x140045600.c | 21 + .../full/functions/0x140045650.c | 113 + .../full/functions/0x140045890.c | 121 + .../full/functions/0x140045ad0.c | 20 + .../full/functions/0x140045b20.c | 15 + .../full/functions/0x140045b80.c | 12 + .../full/functions/0x140045bb0.c | 25 + .../full/functions/0x140045c30.c | 12 + .../full/functions/0x140045c60.c | 14 + .../full/functions/0x140045ca0.c | 13 + .../full/functions/0x140045cc0.c | 29 + .../full/functions/0x140045d20.c | 22 + .../full/functions/0x140045d90.c | 13 + .../full/functions/0x140045df0.c | 46 + .../full/functions/0x140045ec0.c | 91 + .../full/functions/0x140046070.c | 21 + .../full/functions/0x1400460d0.c | 28 + .../full/functions/0x140046140.c | 13 + .../full/functions/0x140046150.c | 31 + .../full/functions/0x1400461d0.c | 76 + .../full/functions/0x140046360.c | 45 + .../full/functions/0x140046450.c | 26 + .../full/functions/0x1400464f0.c | 15 + .../full/functions/0x140046530.c | 23 + .../full/functions/0x140046580.c | 30 + .../full/functions/0x140046620.c | 76 + .../full/functions/0x140046790.c | 39 + .../full/functions/0x140046850.c | 15 + .../full/functions/0x140046880.c | 26 + .../full/functions/0x1400468f0.c | 24 + .../full/functions/0x140046950.c | 98 + .../full/functions/0x140046bb0.c | 43 + .../full/functions/0x140046c50.c | 57 + .../full/functions/0x140046d50.c | 38 + .../full/functions/0x140046df0.c | 36 + .../full/functions/0x140046e80.c | 216 + .../full/functions/0x1400472d0.c | 409 + .../full/functions/0x1400479d0.c | 45 + .../full/functions/0x140047ad0.c | 42 + .../full/functions/0x140047bb0.c | 104 + .../full/functions/0x140047ca0.c | 33 + .../full/functions/0x140047d90.c | 49 + .../full/functions/0x140047e90.c | 59 + .../full/functions/0x140047fc0.c | 54 + .../full/functions/0x1400480f0.c | 19 + .../full/functions/0x140048130.c | 12 + .../full/functions/0x140048150.c | 16 + .../full/functions/0x1400481a0.c | 27 + .../full/functions/0x140048210.c | 57 + .../full/functions/0x140048320.c | 63 + .../full/functions/0x140048490.c | 28 + .../full/functions/0x140048530.c | 42 + .../full/functions/0x140048600.c | 14 + .../full/functions/0x140048620.c | 13 + .../full/functions/0x140048640.c | 13 + .../full/functions/0x140048660.c | 36 + .../full/functions/0x1400486f0.c | 13 + .../full/functions/0x140048700.c | 14 + .../full/functions/0x140048730.c | 14 + .../full/functions/0x140048760.c | 11 + .../full/functions/0x140048790.c | 23 + .../full/functions/0x1400487e0.c | 28 + .../full/functions/0x140048880.c | 21 + .../full/functions/0x1400488d0.c | 29 + .../full/functions/0x140048920.c | 23 + .../full/functions/0x140048960.c | 21 + .../full/functions/0x1400489c0.c | 24 + .../full/functions/0x140048a20.c | 10 + .../full/functions/0x140048a34.c | 22 + .../full/functions/0x140048a68.c | 38 + .../full/functions/0x140048ae8.c | 39 + .../full/functions/0x140048b90.c | 13 + .../full/functions/0x140048bb0.c | 31 + .../full/functions/0x140048c00.c | 23 + .../full/functions/0x140048c58.c | 13 + .../full/functions/0x140048c64.c | 14 + .../full/functions/0x140048c68.c | 14 + .../full/functions/0x140048c90.c | 46 + .../full/functions/0x140048d08.c | 32 + .../full/functions/0x140048d70.c | 13 + .../full/functions/0x140048d80.c | 31 + .../full/functions/0x140048e20.c | 53 + .../full/functions/0x140048f30.c | 22 + .../full/functions/0x140048f70.c | 20 + .../full/functions/0x140048fb0.c | 25 + .../full/functions/0x140048ff0.c | 20 + .../full/functions/0x140049060.c | 21 + .../full/functions/0x140049094.c | 34 + .../full/functions/0x140049144.c | 18 + .../full/functions/0x14004915c.c | 30 + .../full/functions/0x1400491cc.c | 19 + .../full/functions/0x140049234.c | 81 + .../full/functions/0x1400493b4.c | 26 + .../full/functions/0x140049484.c | 12 + .../full/functions/0x1400494b0.c | 25 + .../full/functions/0x140049514.c | 18 + .../full/functions/0x140049534.c | 25 + .../full/functions/0x1400495d8.c | 21 + .../full/functions/0x140049624.c | 31 + .../full/functions/0x1400496a0.c | 32 + .../full/functions/0x1400496fc.c | 55 + .../full/functions/0x140049858.c | 20 + .../full/functions/0x14004989c.c | 11 + .../full/functions/0x1400498bc.c | 17 + .../full/functions/0x1400498f4.c | 17 + .../full/functions/0x140049940.c | 25 + .../full/functions/0x140049970.c | 34 + .../full/functions/0x1400499c0.c | 30 + .../full/functions/0x140049a10.c | 10 + .../full/functions/0x140049a14.c | 40 + .../full/functions/0x140049ad0.c | 11 + .../full/functions/0x140049b00.c | 18 + .../full/functions/0x140049b40.c | 27 + .../full/functions/0x140049b90.c | 11 + .../full/functions/0x140049ba0.c | 18 + .../full/functions/0x140049bd0.c | 24 + .../full/functions/0x140049c40.c | 47 + .../full/functions/0x140049d30.c | 17 + .../full/functions/0x140049d70.c | 37 + .../full/functions/0x140049e20.c | 16 + .../full/functions/0x140049e40.c | 20 + .../full/functions/0x140049e80.c | 11 + .../full/functions/0x140049e90.c | 14 + .../full/functions/0x140049ec0.c | 11 + .../full/functions/0x140049ed0.c | 14 + .../full/functions/0x140049f00.c | 11 + .../full/functions/0x140049f10.c | 14 + .../full/functions/0x140049f40.c | 11 + .../full/functions/0x140049f50.c | 14 + .../full/functions/0x140049f80.c | 11 + .../full/functions/0x140049f90.c | 14 + .../full/functions/0x140049fc0.c | 11 + .../full/functions/0x140049fd0.c | 14 + .../full/functions/0x14004a000.c | 10 + .../full/functions/0x14004a010.c | 10 + .../full/functions/0x14004a030.c | 10 + .../full/functions/0x14004a040.c | 11 + .../full/functions/0x14004a050.c | 10 + .../full/functions/0x14004a060.c | 10 + .../full/functions/0x14004a070.c | 10 + .../full/functions/0x14004a080.c | 11 + .../full/functions/0x14004a090.c | 11 + .../full/functions/0x14004a0a0.c | 18 + .../full/functions/0x14004a0e0.c | 15 + .../full/functions/0x14004a110.c | 13 + .../full/functions/0x14004a130.c | 10 + .../full/functions/0x14004a140.c | 21 + .../full/functions/0x14004a1a0.c | 10 + .../full/functions/0x14004a1b0.c | 10 + .../full/functions/0x14004a1c0.c | 22 + .../full/functions/0x14004a1e0.c | 10 + .../full/functions/0x14004a1f0.c | 24 + .../full/functions/0x14004a260.c | 51 + .../full/functions/0x14004a340.c | 34 + .../full/functions/0x14004a3c0.c | 34 + .../full/functions/0x14004a440.c | 34 + .../full/functions/0x14004a4c0.c | 24 + .../full/functions/0x14004a500.c | 12 + .../full/functions/0x14004a540.c | 10 + .../full/functions/0x14004a550.c | 129 + .../full/functions/0x14004a7b0.c | 34 + .../full/functions/0x14004a830.c | 34 + .../full/functions/0x14004a8b0.c | 17 + .../full/functions/0x14004a8e0.c | 11 + .../full/functions/0x14004a8f0.c | 13 + .../full/functions/0x14004a900.c | 16 + .../full/functions/0x14004a920.c | 54 + .../full/functions/0x14004a9c0.c | 50 + .../full/functions/0x14004aab0.c | 54 + .../full/functions/0x14004ab50.c | 54 + .../full/functions/0x14004abf0.c | 25 + .../full/functions/0x14004ac30.c | 50 + .../full/functions/0x14004ad20.c | 54 + .../full/functions/0x14004adc0.c | 18 + .../full/functions/0x14004ae00.c | 21 + .../full/functions/0x14004ae60.c | 16 + .../full/functions/0x14004aea0.c | 14 + .../full/functions/0x14004aed0.c | 21 + .../full/functions/0x14004af60.c | 17 + .../full/functions/0x14004afa0.c | 10 + .../full/functions/0x14004afb0.c | 21 + .../full/functions/0x14004b040.c | 26 + .../full/functions/0x14004b0b0.c | 31 + .../full/functions/0x14004b1a0.c | 25 + .../full/functions/0x14004b240.c | 20 + .../full/functions/0x14004b2a0.c | 17 + .../full/functions/0x14004b310.c | 10 + .../full/functions/0x14004b320.c | 29 + .../full/functions/0x14004b400.c | 21 + .../full/functions/0x14004b480.c | 27 + .../full/functions/0x14004b540.c | 71 + .../full/functions/0x14004b660.c | 20 + .../full/functions/0x14004b6a0.c | 85 + .../full/functions/0x14004b830.c | 17 + .../full/functions/0x14004b860.c | 20 + .../full/functions/0x14004b8a0.c | 17 + .../full/functions/0x14004b8d0.c | 20 + .../full/functions/0x14004b910.c | 20 + .../full/functions/0x14004b950.c | 55 + .../full/functions/0x14004ba10.c | 17 + .../full/functions/0x14004ba40.c | 20 + .../full/functions/0x14004ba80.c | 22 + .../full/functions/0x14004bae0.c | 22 + .../full/functions/0x14004bb40.c | 22 + .../full/functions/0x14004bba0.c | 22 + .../full/functions/0x14004bc00.c | 22 + .../full/functions/0x14004bc60.c | 43 + .../full/functions/0x14004bd20.c | 108 + .../full/functions/0x14004bf10.c | 57 + .../full/functions/0x14004c020.c | 57 + .../full/functions/0x14004c130.c | 80 + .../full/functions/0x14004c2a0.c | 120 + .../full/functions/0x14004c4e0.c | 77 + .../full/functions/0x14004c640.c | 49 + .../full/functions/0x14004c730.c | 53 + .../full/functions/0x14004c860.c | 57 + .../full/functions/0x14004c980.c | 52 + .../full/functions/0x14004ca90.c | 133 + .../full/functions/0x14004cce0.c | 53 + .../full/functions/0x14004cdb0.c | 133 + .../full/functions/0x14004d000.c | 20 + .../full/functions/0x14004d040.c | 25 + .../full/functions/0x14004d0b0.c | 70 + .../full/functions/0x14004d1c0.c | 17 + .../full/functions/0x14004d1f0.c | 24 + .../full/functions/0x14004d230.c | 17 + .../full/functions/0x14004d260.c | 25 + .../full/functions/0x14004d2c0.c | 13 + .../full/functions/0x14004d2e0.c | 28 + .../full/functions/0x14004d350.c | 91 + .../full/functions/0x14004d560.c | 17 + .../full/functions/0x14004d5b0.c | 31 + .../full/functions/0x14004d630.c | 36 + .../full/functions/0x14004d6f0.c | 28 + .../full/functions/0x14004d790.c | 132 + .../full/functions/0x14004d960.c | 91 + .../full/functions/0x14004db20.c | 30 + .../full/functions/0x14004dba0.c | 35 + .../full/functions/0x14004dc30.c | 84 + .../full/functions/0x14004dde0.c | 22 + .../full/functions/0x14004de40.c | 18 + .../full/functions/0x14004de90.c | 22 + .../full/functions/0x14004dee0.c | 43 + .../full/functions/0x14004dff0.c | 11 + .../full/functions/0x14004e000.c | 40 + .../full/functions/0x14004e0a0.c | 30 + .../full/functions/0x14004e140.c | 102 + .../full/functions/0x14004e270.c | 11 + .../full/functions/0x14004e290.c | 42 + .../full/functions/0x14004e320.c | 102 + .../full/functions/0x14004e450.c | 19 + .../full/functions/0x14004e4b0.c | 19 + .../full/functions/0x14004e500.c | 72 + .../full/functions/0x14004e640.c | 72 + .../full/functions/0x14004e780.c | 71 + .../full/functions/0x14004e8c0.c | 72 + .../full/functions/0x14004ea00.c | 37 + .../full/functions/0x14004ea90.c | 20 + .../full/functions/0x14004eab0.c | 65 + .../full/functions/0x14004ec50.c | 49 + .../full/functions/0x14004ed10.c | 29 + .../full/functions/0x14004ed70.c | 79 + .../full/functions/0x14004ef00.c | 38 + .../full/functions/0x14004f000.c | 34 + .../full/functions/0x14004f070.c | 39 + .../full/functions/0x14004f180.c | 39 + .../full/functions/0x14004f290.c | 44 + .../full/functions/0x14004f390.c | 38 + .../full/functions/0x14004f490.c | 387 + .../full/functions/0x14004fb50.c | 198 + .../full/functions/0x14004fe80.c | 37 + .../full/functions/0x14004ff70.c | 38 + .../full/functions/0x140050060.c | 80 + .../full/functions/0x140050220.c | 79 + .../full/functions/0x1400503a0.c | 105 + .../full/functions/0x140050540.c | 46 + .../full/functions/0x140050660.c | 41 + .../full/functions/0x140050750.c | 44 + .../full/functions/0x140050870.c | 44 + .../full/functions/0x140050970.c | 37 + .../full/functions/0x140050a70.c | 69 + .../full/functions/0x140050c20.c | 41 + .../full/functions/0x140050d30.c | 43 + .../full/functions/0x140050e10.c | 63 + .../full/functions/0x140050f60.c | 30 + .../full/functions/0x140050fc0.c | 42 + .../full/functions/0x140051090.c | 11 + .../full/functions/0x1400510b0.c | 15 + .../full/functions/0x1400510f0.c | 23 + .../full/functions/0x140051170.c | 24 + .../full/functions/0x1400511f0.c | 34 + .../full/functions/0x140051280.c | 11 + .../full/functions/0x1400512a0.c | 28 + .../full/functions/0x140051320.c | 58 + .../full/functions/0x140051450.c | 23 + .../full/functions/0x1400514d0.c | 17 + .../full/functions/0x140051540.c | 124 + .../full/functions/0x1400517d0.c | 31 + .../full/functions/0x140051860.c | 48 + .../full/functions/0x140051940.c | 24 + .../full/functions/0x1400519b0.c | 37 + .../full/functions/0x140051a40.c | 47 + .../full/functions/0x140051b30.c | 26 + .../full/functions/0x140051b80.c | 29 + .../full/functions/0x140051c10.c | 57 + .../full/functions/0x140051cf0.c | 57 + .../full/functions/0x140051de0.c | 1912 +++++ .../full/functions/0x140055960.c | 49 + .../full/functions/0x140055af0.c | 51 + .../full/functions/0x140055c90.c | 42 + .../full/functions/0x140055dc0.c | 43 + .../full/functions/0x140055f00.c | 35 + .../full/functions/0x140055ff0.c | 37 + .../full/functions/0x1400560f0.c | 35 + .../full/functions/0x1400561e0.c | 37 + .../full/functions/0x1400562e0.c | 49 + .../full/functions/0x140056470.c | 51 + .../full/functions/0x140056610.c | 30 + .../full/functions/0x1400566d0.c | 33 + .../full/functions/0x1400567a0.c | 30 + .../full/functions/0x140056860.c | 33 + .../full/functions/0x140056930.c | 30 + .../full/functions/0x1400569f0.c | 33 + .../full/functions/0x140056ac0.c | 30 + .../full/functions/0x140056b80.c | 33 + .../full/functions/0x140056c50.c | 33 + .../full/functions/0x140056d30.c | 36 + .../full/functions/0x140056e10.c | 30 + .../full/functions/0x140056ed0.c | 33 + .../full/functions/0x140056fa0.c | 30 + .../full/functions/0x140057060.c | 33 + .../full/functions/0x140057130.c | 33 + .../full/functions/0x140057210.c | 36 + .../full/functions/0x1400572f0.c | 33 + .../full/functions/0x1400573d0.c | 36 + .../full/functions/0x1400574b0.c | 33 + .../full/functions/0x140057590.c | 36 + .../full/functions/0x140057670.c | 33 + .../full/functions/0x140057750.c | 36 + .../full/functions/0x140057830.c | 35 + .../full/functions/0x140057920.c | 37 + .../full/functions/0x140057a10.c | 39 + .../full/functions/0x140057b00.c | 39 + .../full/functions/0x140057bf0.c | 65 + .../full/functions/0x140057d30.c | 195 + .../full/functions/0x1400580d0.c | 46 + .../full/functions/0x140058210.c | 59 + .../full/functions/0x140058370.c | 39 + .../full/functions/0x140058460.c | 56 + .../full/functions/0x1400585a0.c | 72 + .../full/functions/0x140058750.c | 39 + .../full/functions/0x140058840.c | 311 + .../full/functions/0x140058da0.c | 67 + .../full/functions/0x140058f10.c | 80 + .../full/functions/0x140059100.c | 80 + .../full/functions/0x140059300.c | 26 + .../full/functions/0x140059380.c | 28 + .../full/functions/0x140059440.c | 117 + .../full/functions/0x1400596e0.c | 147 + .../full/functions/0x1400599e0.c | 118 + .../full/functions/0x140059c20.c | 269 + .../full/functions/0x14005a220.c | 28 + .../full/functions/0x14005a280.c | 36 + .../full/functions/0x14005a330.c | 31 + .../full/functions/0x14005a3d0.c | 65 + .../full/functions/0x14005a600.c | 98 + .../full/functions/0x14005a7c0.c | 98 + .../full/functions/0x14005a980.c | 114 + .../full/functions/0x14005abe0.c | 209 + .../full/functions/0x14005b030.c | 29 + .../full/functions/0x14005b0a0.c | 19 + .../full/functions/0x14005b0c0.c | 28 + .../full/functions/0x14005b120.c | 30 + .../full/functions/0x14005b190.c | 110 + .../full/functions/0x14005b380.c | 17 + .../full/functions/0x14005b3e0.c | 42 + .../full/functions/0x14005b4c0.c | 29 + .../full/functions/0x14005b530.c | 172 + .../full/functions/0x14005b850.c | 172 + .../full/functions/0x14005bb80.c | 116 + .../full/functions/0x14005bdc0.c | 116 + .../full/functions/0x14005c010.c | 97 + .../full/functions/0x14005c220.c | 74 + .../full/functions/0x14005c3e0.c | 94 + .../full/functions/0x14005c570.c | 129 + .../full/functions/0x14005c7c0.c | 18 + .../full/functions/0x14005c800.c | 95 + .../full/functions/0x14005c990.c | 42 + .../full/functions/0x14005ca60.c | 72 + .../full/functions/0x14005cbc0.c | 32 + .../full/functions/0x14005cc60.c | 29 + .../full/functions/0x14005ccf0.c | 298 + .../full/functions/0x14005d460.c | 40 + .../full/functions/0x14005d550.c | 68 + .../full/functions/0x14005d6a0.c | 28 + .../full/functions/0x14005d700.c | 30 + .../full/functions/0x14005d770.c | 58 + .../full/functions/0x14005d8a0.c | 114 + .../full/functions/0x14005da20.c | 36 + .../full/functions/0x14005dad0.c | 70 + .../full/functions/0x14005dbd0.c | 23 + .../full/functions/0x14005dc50.c | 70 + .../full/functions/0x14005dda0.c | 35 + .../full/functions/0x14005de50.c | 271 + .../full/functions/0x14005e510.c | 212 + .../full/functions/0x14005ea40.c | 120 + .../full/functions/0x14005ed10.c | 118 + .../full/functions/0x14005efd0.c | 453 ++ .../full/functions/0x14005f760.c | 77 + .../full/functions/0x14005f8d0.c | 28 + .../full/functions/0x14005f940.c | 190 + .../full/functions/0x14005fc80.c | 37 + .../full/functions/0x14005fd40.c | 94 + .../full/functions/0x14005ff50.c | 11 + .../full/functions/0x14005ff70.c | 115 + .../full/functions/0x140060120.c | 30 + .../full/functions/0x1400601d0.c | 23 + .../full/functions/0x140060250.c | 66 + .../full/functions/0x1400603a0.c | 65 + .../full/functions/0x1400604a0.c | 255 + .../full/functions/0x1400608f0.c | 52 + .../full/functions/0x1400609e0.c | 41 + .../full/functions/0x140060ab0.c | 11 + .../full/functions/0x140060ad0.c | 30 + .../full/functions/0x140060b80.c | 38 + .../full/functions/0x140060c10.c | 29 + .../full/functions/0x140060cc0.c | 23 + .../full/functions/0x140060d40.c | 26 + .../full/functions/0x140060db0.c | 515 ++ .../full/functions/0x140061740.c | 25 + .../full/functions/0x1400617b0.c | 41 + .../full/functions/0x1400618d0.c | 12 + .../full/functions/0x140061900.c | 606 ++ .../full/functions/0x1400623e0.c | 54 + .../full/functions/0x1400624e0.c | 72 + .../full/functions/0x140062690.c | 70 + .../full/functions/0x140062810.c | 28 + .../full/functions/0x1400628c0.c | 48 + .../full/functions/0x140062970.c | 20 + .../full/functions/0x1400629e0.c | 19 + .../full/functions/0x140062a30.c | 19 + .../full/functions/0x140062a80.c | 58 + .../full/functions/0x140062bb0.c | 120 + .../full/functions/0x140062e90.c | 127 + .../full/functions/0x140063170.c | 724 ++ .../full/functions/0x140063fe0.c | 45 + .../full/functions/0x1400640a0.c | 45 + .../full/functions/0x140064160.c | 24 + .../full/functions/0x1400641e0.c | 24 + .../full/functions/0x140064260.c | 24 + .../full/functions/0x1400642e0.c | 58 + .../full/functions/0x140064410.c | 58 + .../full/functions/0x140064540.c | 34 + .../full/functions/0x1400645f0.c | 24 + .../full/functions/0x140064680.c | 90 + .../full/functions/0x140064800.c | 19 + .../full/functions/0x140064860.c | 29 + .../full/functions/0x1400648f0.c | 54 + .../full/functions/0x140064a30.c | 73 + .../full/functions/0x140064b50.c | 309 + .../full/functions/0x140065110.c | 25 + .../full/functions/0x140065170.c | 101 + .../full/functions/0x140065320.c | 56 + .../full/functions/0x140065440.c | 133 + .../full/functions/0x1400656a0.c | 220 + .../full/functions/0x140065ab0.c | 228 + .../full/functions/0x140065f50.c | 31 + .../full/functions/0x140065fe0.c | 70 + .../full/functions/0x1400660e0.c | 48 + .../full/functions/0x140066230.c | 173 + .../full/functions/0x140066550.c | 282 + .../full/functions/0x140066af0.c | 223 + .../full/functions/0x140067010.c | 23 + .../full/functions/0x140067090.c | 70 + .../full/functions/0x1400671e0.c | 115 + .../full/functions/0x140067370.c | 29 + .../full/functions/0x1400673e0.c | 29 + .../full/functions/0x140067450.c | 70 + .../full/functions/0x1400675a0.c | 11 + .../full/functions/0x1400675c0.c | 30 + .../full/functions/0x140067670.c | 126 + .../full/functions/0x140067850.c | 43 + .../full/functions/0x140067900.c | 33 + .../full/functions/0x1400679b0.c | 23 + .../full/functions/0x140067a30.c | 12 + .../full/functions/0x140067a50.c | 15 + .../full/functions/0x140067a90.c | 29 + .../full/functions/0x140067b50.c | 35 + .../full/functions/0x140067be0.c | 17 + .../full/functions/0x140067c10.c | 648 ++ .../full/functions/0x140068740.c | 241 + .../full/functions/0x140068f60.c | 17 + .../full/functions/0x140068fe0.c | 12 + .../full/functions/0x140069010.c | 10 + .../full/functions/0x140069020.c | 11 + .../full/functions/0x140069030.c | 11 + .../full/functions/0x140069040.c | 11 + .../full/functions/0x140069050.c | 11 + .../full/functions/0x140069060.c | 11 + .../full/functions/0x140069070.c | 11 + .../full/functions/0x140069080.c | 11 + .../full/functions/0x140069090.c | 11 + .../full/functions/0x1400690a0.c | 11 + .../full/functions/0x1400690b0.c | 11 + .../full/functions/0x1400690c0.c | 11 + .../full/functions/0x1400690d0.c | 11 + .../full/functions/0x1400690e0.c | 11 + .../full/functions/0x1400690f0.c | 11 + .../full/functions/0x140069100.c | 11 + .../full/functions/0x140069110.c | 11 + .../full/functions/0x140069120.c | 11 + .../full/functions/0x140069130.c | 11 + .../full/functions/0x140069140.c | 11 + .../full/functions/0x140069150.c | 11 + .../full/functions/0x140069160.c | 11 + .../full/functions/0x140069170.c | 11 + .../full/functions/0x140069180.c | 11 + .../full/functions/0x140069190.c | 11 + .../full/functions/0x1400691a0.c | 11 + .../full/functions/0x1400691b0.c | 53 + .../full/functions/0x140069310.c | 150 + .../full/functions/0x140069560.c | 218 + .../full/functions/0x140069970.c | 21 + .../full/functions/0x1400699b0.c | 345 + .../full/functions/0x14006a090.c | 137 + .../full/functions/0x14006a340.c | 161 + .../full/functions/0x14006a630.c | 1332 ++++ .../full/functions/0x14006c330.c | 31 + .../full/functions/0x14006c410.c | 178 + .../full/functions/0x14006c700.c | 95 + .../full/functions/0x14006c890.c | 155 + .../full/functions/0x14006cb20.c | 247 + .../full/functions/0x14006cf80.c | 236 + .../full/functions/0x14006d320.c | 236 + .../full/functions/0x14006d6c0.c | 85 + .../full/functions/0x14006d8c0.c | 182 + .../full/functions/0x14006dbc0.c | 182 + .../full/functions/0x14006dec0.c | 101 + .../full/functions/0x14006e060.c | 102 + .../full/functions/0x14006e290.c | 259 + .../full/functions/0x14006e7d0.c | 407 + .../full/functions/0x14006ef00.c | 317 + .../full/functions/0x14006f560.c | 95 + .../full/functions/0x14006f780.c | 475 ++ .../full/functions/0x140070020.c | 32 + .../full/functions/0x1400700f0.c | 38 + .../full/functions/0x140070200.c | 315 + .../full/functions/0x1400709a0.c | 137 + .../full/functions/0x140070d40.c | 164 + .../full/functions/0x140071220.c | 104 + .../full/functions/0x1400714c0.c | 17 + .../full/functions/0x140071510.c | 14 + .../full/functions/0x140071540.c | 99 + .../full/functions/0x140071740.c | 93 + .../full/functions/0x140071940.c | 93 + .../full/functions/0x140071b40.c | 22 + .../full/functions/0x140071b80.c | 31 + .../full/functions/0x140071c20.c | 63 + .../full/functions/0x140071d40.c | 237 + .../full/functions/0x1400721c0.c | 14 + .../full/functions/0x1400721f0.c | 13 + .../full/functions/0x140072210.c | 19 + .../full/functions/0x140072280.c | 26 + .../full/functions/0x140072320.c | 18 + .../full/functions/0x140072360.c | 21 + .../full/functions/0x1400723d0.c | 11 + .../full/functions/0x1400723e0.c | 53 + .../full/functions/0x140072500.c | 21 + .../full/functions/0x140072580.c | 13 + .../full/functions/0x1400725a0.c | 23 + .../full/functions/0x1400725d0.c | 38 + .../full/functions/0x140072650.c | 39 + .../full/functions/0x140072700.c | 22 + .../full/functions/0x140072750.c | 19 + .../full/functions/0x1400727e0.c | 26 + .../full/functions/0x140072870.c | 19 + .../full/functions/0x140072900.c | 19 + .../full/functions/0x140072970.c | 23 + .../full/functions/0x1400729e0.c | 33 + .../full/functions/0x140072a60.c | 34 + .../full/functions/0x140072ac0.c | 19 + .../full/functions/0x140072b00.c | 30 + .../full/functions/0x140072ba0.c | 14 + .../full/functions/0x140072bd0.c | 121 + .../full/functions/0x140072e80.c | 78 + .../full/functions/0x140072fa0.c | 32 + .../full/functions/0x140073030.c | 28 + .../full/functions/0x1400730d0.c | 28 + .../full/functions/0x140073170.c | 44 + .../full/functions/0x140073210.c | 73 + .../full/functions/0x140073390.c | 44 + .../full/functions/0x140073430.c | 33 + .../full/functions/0x140073500.c | 39 + .../full/functions/0x140073640.c | 51 + .../full/functions/0x140073740.c | 47 + .../full/functions/0x140073830.c | 88 + .../full/functions/0x1400739e0.c | 23 + .../full/functions/0x140073a40.c | 41 + .../full/functions/0x140073b20.c | 30 + .../full/functions/0x140073bd0.c | 40 + .../full/functions/0x140073c80.c | 18 + .../full/functions/0x140073cc0.c | 30 + .../full/functions/0x140073d70.c | 54 + .../full/functions/0x140073e60.c | 48 + .../full/functions/0x140073f70.c | 31 + .../full/functions/0x140074010.c | 43 + .../full/functions/0x1400740c0.c | 59 + .../full/functions/0x140074210.c | 151 + .../full/functions/0x140074540.c | 108 + .../full/functions/0x140074740.c | 118 + .../full/functions/0x140074970.c | 18 + .../full/functions/0x1400749b0.c | 24 + .../full/functions/0x140074a00.c | 13 + .../full/functions/0x140074a20.c | 11 + .../full/functions/0x140074a30.c | 13 + .../full/functions/0x140074a40.c | 37 + .../full/functions/0x140074ac0.c | 14 + .../full/functions/0x140074af0.c | 29 + .../full/functions/0x140074b70.c | 24 + .../full/functions/0x140074bb0.c | 43 + .../full/functions/0x140074c30.c | 18 + .../full/functions/0x140074c70.c | 71 + .../full/functions/0x140074da0.c | 41 + .../full/functions/0x140074e50.c | 41 + .../full/functions/0x140074ee0.c | 32 + .../full/functions/0x140074f40.c | 40 + .../full/functions/0x140074fb0.c | 16 + .../full/functions/0x140074fe0.c | 31 + .../full/functions/0x140075080.c | 34 + .../full/functions/0x140075110.c | 41 + .../full/functions/0x140075170.c | 42 + .../full/functions/0x140075210.c | 95 + .../full/functions/0x140075390.c | 103 + .../full/functions/0x140075550.c | 19 + .../full/functions/0x140075580.c | 96 + .../full/functions/0x1400756f0.c | 11 + .../full/functions/0x140075700.c | 11 + .../full/functions/0x140075710.c | 34 + .../full/functions/0x140075790.c | 34 + .../full/functions/0x140075810.c | 34 + .../full/functions/0x140075890.c | 34 + .../full/functions/0x140075910.c | 21 + .../full/functions/0x140075970.c | 34 + .../full/functions/0x1400759f0.c | 59 + .../full/functions/0x140075b20.c | 29 + .../full/functions/0x140075bb0.c | 12 + .../full/functions/0x140075bf0.c | 25 + .../full/functions/0x140075cc0.c | 184 + .../full/functions/0x140076020.c | 188 + .../full/functions/0x140076380.c | 134 + .../full/functions/0x1400765a0.c | 22 + .../full/functions/0x140076620.c | 22 + .../full/functions/0x1400766a0.c | 22 + .../full/functions/0x1400766f0.c | 19 + .../full/functions/0x140076740.c | 26 + .../full/functions/0x140076780.c | 26 + .../full/functions/0x1400767c0.c | 30 + .../full/functions/0x140076820.c | 26 + .../full/functions/0x140076890.c | 15 + .../full/functions/0x1400768c0.c | 16 + .../full/functions/0x1400768f0.c | 19 + .../full/functions/0x140076940.c | 18 + .../full/functions/0x140076990.c | 193 + .../full/functions/0x140076d30.c | 17 + .../full/functions/0x140076d80.c | 20 + .../full/functions/0x140076dc0.c | 20 + .../full/functions/0x140076e00.c | 22 + .../full/functions/0x140076e60.c | 22 + .../full/functions/0x140076ec0.c | 50 + .../full/functions/0x140076fb0.c | 14 + .../full/functions/0x140076fe0.c | 75 + .../full/functions/0x1400770f0.c | 22 + .../full/functions/0x140077140.c | 42 + .../full/functions/0x1400771f0.c | 72 + .../full/functions/0x140077350.c | 61 + .../full/functions/0x140077470.c | 15 + .../full/functions/0x1400774a0.c | 50 + .../full/functions/0x140077540.c | 94 + .../full/functions/0x140077740.c | 96 + .../full/functions/0x140077900.c | 186 + .../full/functions/0x140077c70.c | 25 + .../full/functions/0x140077cd0.c | 819 ++ .../full/functions/0x140078bb0.c | 442 ++ .../full/functions/0x140079460.c | 404 + .../full/functions/0x140079b60.c | 15 + .../full/functions/0x140079b90.c | 16 + .../full/functions/0x140079bc0.c | 19 + .../full/functions/0x140079c10.c | 10 + .../full/functions/0x140079c20.c | 13 + .../full/functions/0x140079c60.c | 29 + .../full/functions/0x140079cf0.c | 15 + .../full/functions/0x140079d20.c | 17 + .../full/functions/0x140079d50.c | 52 + .../full/functions/0x140079e30.c | 49 + .../full/functions/0x140079ed0.c | 33 + .../full/functions/0x140079f70.c | 33 + .../full/functions/0x140079fe0.c | 59 + .../full/functions/0x14007a200.c | 38 + .../full/functions/0x14007a300.c | 22 + .../full/functions/0x14007a390.c | 62 + .../full/functions/0x14007a4f0.c | 20 + .../full/functions/0x14007a530.c | 78 + .../full/functions/0x14007a680.c | 20 + .../full/functions/0x14007a6c0.c | 22 + .../full/functions/0x14007a720.c | 22 + .../full/functions/0x14007a780.c | 22 + .../full/functions/0x14007a7e0.c | 22 + .../full/functions/0x14007a840.c | 57 + .../full/functions/0x14007a930.c | 54 + .../full/functions/0x14007a9f0.c | 34 + .../full/functions/0x14007aa70.c | 20 + .../full/functions/0x14007aab0.c | 20 + .../full/functions/0x14007aaf0.c | 134 + .../full/functions/0x14007ae90.c | 70 + .../full/functions/0x14007b020.c | 12 + .../full/functions/0x14007b050.c | 63 + .../full/functions/0x14007b1c0.c | 47 + .../full/functions/0x14007b250.c | 31 + .../full/functions/0x14007b2f0.c | 31 + .../full/functions/0x14007b390.c | 25 + .../full/functions/0x14007b420.c | 13 + .../full/functions/0x14007b440.c | 35 + .../full/functions/0x14007b4d0.c | 29 + .../full/functions/0x14007b540.c | 69 + .../full/functions/0x14007b6d0.c | 145 + .../full/functions/0x14007b9f0.c | 205 + .../full/functions/0x14007be70.c | 199 + .../full/functions/0x14007c350.c | 191 + .../full/functions/0x14007c6f0.c | 197 + .../full/functions/0x14007cab0.c | 17 + .../full/functions/0x14007cae0.c | 495 ++ .../full/functions/0x14007d340.c | 438 ++ .../full/functions/0x14007dab0.c | 170 + .../full/functions/0x14007de80.c | 149 + .../full/functions/0x14007e180.c | 97 + .../full/functions/0x14007e350.c | 147 + .../full/functions/0x14007e620.c | 30 + .../full/functions/0x14007e690.c | 30 + .../full/functions/0x14007e740.c | 78 + .../full/functions/0x14007e8f0.c | 28 + .../full/functions/0x14007e950.c | 50 + .../full/functions/0x14007ea20.c | 197 + .../full/functions/0x14007ee40.c | 190 + .../full/functions/0x14007f220.c | 129 + .../full/functions/0x14007f460.c | 30 + .../full/functions/0x14007f4d0.c | 46 + .../full/functions/0x14007f670.c | 141 + .../full/functions/0x14007f930.c | 168 + .../full/functions/0x14007fce0.c | 252 + .../full/functions/0x1400800f0.c | 125 + .../full/functions/0x1400803c0.c | 208 + .../full/functions/0x1400808d0.c | 113 + .../full/functions/0x140080ae0.c | 152 + .../full/functions/0x140080dd0.c | 304 + .../full/functions/0x1400813a0.c | 157 + .../full/functions/0x1400816e0.c | 18 + .../full/functions/0x140081710.c | 17 + .../full/functions/0x140081740.c | 60 + .../full/functions/0x140081870.c | 91 + .../full/functions/0x140081a90.c | 79 + .../full/functions/0x140081c60.c | 403 + .../full/functions/0x1400823c0.c | 50 + .../full/functions/0x140082470.c | 273 + .../full/functions/0x140082ab0.c | 237 + .../full/functions/0x140082fe0.c | 40 + .../full/functions/0x1400830b0.c | 307 + .../full/functions/0x140083560.c | 18 + .../full/functions/0x140083590.c | 313 + .../full/functions/0x140083b60.c | 16 + .../full/functions/0x140083b80.c | 30 + .../full/functions/0x140083c80.c | 53 + .../full/functions/0x140083db0.c | 14 + .../full/functions/0x140083de0.c | 102 + .../full/functions/0x140083f10.c | 11 + .../full/functions/0x140083f30.c | 37 + .../full/functions/0x140084010.c | 12 + .../full/functions/0x140084040.c | 38 + .../full/functions/0x1400840d0.c | 25 + .../full/functions/0x140084140.c | 26 + .../full/functions/0x1400841b0.c | 39 + .../full/functions/0x140084250.c | 39 + .../full/functions/0x1400842f0.c | 47 + .../full/functions/0x1400843d0.c | 139 + .../full/functions/0x140084660.c | 132 + .../full/functions/0x1400848e0.c | 17 + .../full/functions/0x140084910.c | 579 ++ .../full/functions/0x140085370.c | 24 + .../full/functions/0x140085420.c | 28 + .../full/functions/0x1400854c0.c | 43 + .../full/functions/0x1400855b0.c | 20 + .../full/functions/0x1400855f0.c | 22 + .../full/functions/0x140085650.c | 38 + .../full/functions/0x140085700.c | 68 + .../full/functions/0x140085890.c | 57 + .../full/functions/0x1400859a0.c | 65 + .../full/functions/0x140085b30.c | 28 + .../full/functions/0x140085bb0.c | 220 + .../full/functions/0x140086080.c | 10 + .../full/functions/0x140086090.c | 11 + .../full/functions/0x1400860a0.c | 91 + .../full/functions/0x140086520.c | 93 + .../full/functions/0x1400869b0.c | 140 + .../full/functions/0x140086d60.c | 138 + .../full/functions/0x140087110.c | 126 + .../full/functions/0x1400873a0.c | 124 + .../full/functions/0x140087620.c | 107 + .../full/functions/0x140087810.c | 167 + .../full/functions/0x140087ad0.c | 90 + .../full/functions/0x140087c70.c | 63 + .../full/functions/0x140087dc0.c | 136 + .../full/functions/0x140087ff0.c | 10 + .../full/functions/0x140088000.c | 10 + .../full/functions/0x140088020.c | 11 + .../full/functions/0x140088030.c | 14 + .../full/functions/0x140088060.c | 10 + .../full/functions/0x140088070.c | 10 + .../full/functions/0x140088080.c | 10 + .../full/functions/0x140088090.c | 32 + .../full/functions/0x140088150.c | 13 + .../full/functions/0x140088190.c | 21 + .../full/functions/0x140088210.c | 34 + .../full/functions/0x1400882d0.c | 36 + .../full/functions/0x1400883c0.c | 11 + .../full/functions/0x1400883d0.c | 11 + .../full/functions/0x1400883e0.c | 15 + .../full/functions/0x140088410.c | 99 + .../full/functions/0x140088600.c | 63 + .../full/functions/0x140088780.c | 35 + .../full/functions/0x140088870.c | 37 + .../full/functions/0x140088960.c | 38 + .../full/functions/0x140088a60.c | 38 + .../full/functions/0x140088b70.c | 34 + .../full/functions/0x140088c50.c | 36 + .../full/functions/0x140088d30.c | 31 + .../full/functions/0x140088df0.c | 33 + .../full/functions/0x140088ec0.c | 34 + .../full/functions/0x140088fa0.c | 36 + .../full/functions/0x140089080.c | 31 + .../full/functions/0x140089140.c | 33 + .../full/functions/0x140089210.c | 34 + .../full/functions/0x1400892f0.c | 36 + .../full/functions/0x1400893d0.c | 34 + .../full/functions/0x1400894b0.c | 36 + .../full/functions/0x140089590.c | 360 + .../full/functions/0x140089dc0.c | 68 + .../full/functions/0x140089f70.c | 19 + .../full/functions/0x140089fe0.c | 13 + .../full/functions/0x14008a030.c | 62 + .../full/functions/0x14008a160.c | 63 + .../full/functions/0x14008a2a0.c | 18 + .../full/functions/0x14008a320.c | 20 + .../full/functions/0x14008a360.c | 38 + .../full/functions/0x14008a420.c | 21 + .../full/functions/0x14008a490.c | 11 + .../full/functions/0x14008a4a0.c | 14 + .../full/functions/0x14008a4d0.c | 10 + .../full/functions/0x14008a4e0.c | 10 + .../full/functions/0x14008a4f0.c | 11 + .../full/functions/0x14008a500.c | 13 + .../full/functions/0x14008a520.c | 13 + .../full/functions/0x14008a560.c | 11 + .../full/functions/0x14008a570.c | 13 + .../full/functions/0x14008a590.c | 10 + .../full/functions/0x14008a5a0.c | 46 + .../full/functions/0x14008a700.c | 10 + .../full/functions/0x14008a710.c | 16 + .../full/functions/0x14008a740.c | 13 + .../full/functions/0x14008a770.c | 36 + .../full/functions/0x14008a830.c | 28 + .../full/functions/0x14008a8b0.c | 17 + .../full/functions/0x14008a8e0.c | 53 + .../full/functions/0x14008a9f0.c | 22 + .../full/functions/0x14008aa60.c | 57 + .../full/functions/0x14008ab60.c | 155 + .../full/functions/0x14008aee0.c | 70 + .../full/functions/0x14008afe0.c | 34 + .../full/functions/0x14008b070.c | 115 + .../full/functions/0x14008b200.c | 11 + .../full/functions/0x14008b230.c | 77 + .../full/functions/0x14008b470.c | 27 + .../full/functions/0x14008b4f0.c | 35 + .../full/functions/0x14008b590.c | 127 + .../full/functions/0x14008b920.c | 10 + .../full/functions/0x14008b930.c | 11 + .../full/functions/0x14008b940.c | 11 + .../full/functions/0x14008b950.c | 11 + .../full/functions/0x14008b960.c | 11 + .../full/functions/0x14008b970.c | 11 + .../full/functions/0x14008b980.c | 11 + .../full/functions/0x14008b990.c | 11 + .../full/functions/0x14008b9a0.c | 11 + .../full/functions/0x14008b9b0.c | 109 + .../full/functions/0x14008bca0.c | 55 + .../full/functions/0x14008be10.c | 14 + .../full/functions/0x14008be40.c | 10 + .../full/functions/0x14008be50.c | 50 + .../full/functions/0x14008bf30.c | 53 + .../full/functions/0x14008c010.c | 54 + .../full/functions/0x14008c0b0.c | 23 + .../full/functions/0x14008c150.c | 13 + .../full/functions/0x14008c170.c | 13 + .../full/functions/0x14008c190.c | 23 + .../full/functions/0x14008c1e0.c | 20 + .../full/functions/0x14008c220.c | 23 + .../full/functions/0x14008c270.c | 20 + .../full/functions/0x14008c2b0.c | 25 + .../full/functions/0x14008c310.c | 22 + .../full/functions/0x14008c370.c | 22 + .../full/functions/0x14008c3d0.c | 79 + .../full/functions/0x14008c540.c | 57 + .../full/functions/0x14008c630.c | 53 + .../full/functions/0x14008c700.c | 60 + .../full/functions/0x14008c7f0.c | 11 + .../full/functions/0x14008c810.c | 31 + .../full/functions/0x14008c880.c | 37 + .../full/functions/0x14008c900.c | 30 + .../full/functions/0x14008c980.c | 28 + .../full/functions/0x14008c9f0.c | 30 + .../full/functions/0x14008ca90.c | 36 + .../full/functions/0x14008caf0.c | 30 + .../full/functions/0x14008cb70.c | 41 + .../full/functions/0x14008cc00.c | 44 + .../full/functions/0x14008ccf0.c | 48 + .../full/functions/0x14008cdf0.c | 35 + .../full/functions/0x14008ce80.c | 37 + .../full/functions/0x14008cf20.c | 70 + .../full/functions/0x14008d020.c | 74 + .../full/functions/0x14008d170.c | 32 + .../full/functions/0x14008d1f0.c | 15 + .../full/functions/0x14008d250.c | 46 + .../full/functions/0x14008d300.c | 383 + .../full/functions/0x14008db30.c | 11 + .../full/functions/0x14008db50.c | 29 + .../full/functions/0x14008dbe0.c | 23 + .../full/functions/0x14008dc50.c | 26 + .../full/functions/0x14008dce0.c | 43 + .../full/functions/0x14008ddb0.c | 11 + .../full/functions/0x14008ddd0.c | 23 + .../full/functions/0x14008de50.c | 23 + .../full/functions/0x14008ded0.c | 32 + .../full/functions/0x14008df90.c | 42 + .../full/functions/0x14008e0d0.c | 37 + .../full/functions/0x14008e200.c | 53 + .../full/functions/0x14008e340.c | 61 + .../full/functions/0x14008e4a0.c | 30 + .../full/functions/0x14008e540.c | 31 + .../full/functions/0x14008e5f0.c | 104 + .../full/functions/0x14008e870.c | 52 + .../full/functions/0x14008e950.c | 64 + .../full/functions/0x14008eae0.c | 29 + .../full/functions/0x14008eb60.c | 29 + .../full/functions/0x14008ec10.c | 18 + .../full/functions/0x14008ec50.c | 27 + .../full/functions/0x14008ecc0.c | 122 + .../full/functions/0x14008ef20.c | 48 + .../full/functions/0x14008f040.c | 118 + .../full/functions/0x14008f330.c | 378 + .../full/functions/0x14008fb00.c | 371 + .../full/functions/0x140090190.c | 23 + .../full/functions/0x1400901f0.c | 44 + .../full/functions/0x1400902a0.c | 430 + .../full/functions/0x140090960.c | 12 + .../full/functions/0x140090990.c | 12 + .../full/functions/0x1400909c0.c | 38 + .../full/functions/0x140090ac0.c | 18 + .../full/functions/0x140090b20.c | 47 + .../full/functions/0x140090c40.c | 23 + .../full/functions/0x140090cc0.c | 12 + .../full/functions/0x140090d00.c | 31 + .../full/functions/0x140090db0.c | 11 + .../full/functions/0x140090dc0.c | 27 + .../full/functions/0x140090e90.c | 21 + .../full/functions/0x140090f10.c | 68 + .../full/functions/0x140091090.c | 60 + .../full/functions/0x140091200.c | 12 + .../full/functions/0x140091220.c | 11 + .../full/functions/0x140091230.c | 10 + .../full/functions/0x140091240.c | 13 + .../full/functions/0x140091250.c | 13 + .../full/functions/0x140091260.c | 14 + .../full/functions/0x140091270.c | 13 + .../full/functions/0x140091280.c | 14 + .../full/functions/0x1400912b0.c | 11 + .../full/functions/0x1400912c0.c | 14 + .../full/functions/0x1400912f0.c | 11 + .../full/functions/0x140091300.c | 14 + .../full/functions/0x140091330.c | 13 + .../full/functions/0x140091350.c | 10 + .../full/functions/0x140091360.c | 18 + .../full/functions/0x1400913a0.c | 13 + .../full/functions/0x1400913c0.c | 18 + .../full/functions/0x140091400.c | 13 + .../full/functions/0x140091410.c | 10 + .../full/functions/0x140091420.c | 11 + .../full/functions/0x140091430.c | 49 + .../full/functions/0x140091540.c | 11 + .../full/functions/0x140091560.c | 32 + .../full/functions/0x1400915d0.c | 22 + .../full/functions/0x140091640.c | 13 + .../full/functions/0x140091670.c | 17 + .../full/functions/0x1400916a0.c | 17 + .../full/functions/0x1400916d0.c | 23 + .../full/functions/0x140091730.c | 17 + .../full/functions/0x140091760.c | 109 + .../full/functions/0x140091980.c | 112 + .../full/functions/0x140091ba0.c | 80 + .../full/functions/0x140091dc0.c | 10 + .../full/functions/0x140091dd0.c | 14 + .../full/functions/0x140091df0.c | 11 + .../full/functions/0x140091e00.c | 11 + .../full/functions/0x140091e10.c | 11 + .../full/functions/0x140091e20.c | 11 + .../full/functions/0x140091e30.c | 11 + .../full/functions/0x140091e40.c | 10 + .../full/functions/0x140091e50.c | 106 + .../full/functions/0x140092050.c | 123 + .../full/functions/0x140092360.c | 15 + .../full/functions/0x140092390.c | 19 + .../full/functions/0x1400923c0.c | 22 + .../full/functions/0x140092400.c | 11 + .../full/functions/0x140092420.c | 11 + .../full/functions/0x140092440.c | 15 + .../full/functions/0x140092470.c | 18 + .../full/functions/0x1400924d0.c | 57 + .../full/functions/0x1400925d0.c | 17 + .../full/functions/0x1400925f0.c | 19 + .../full/functions/0x140092650.c | 19 + .../full/functions/0x1400926b0.c | 19 + .../full/functions/0x140092710.c | 19 + .../full/functions/0x140092770.c | 19 + .../full/functions/0x1400927d0.c | 19 + .../full/functions/0x140092840.c | 19 + .../full/functions/0x1400928b0.c | 13 + .../full/functions/0x1400928f0.c | 11 + .../full/functions/0x140092900.c | 21 + .../full/functions/0x140092950.c | 36 + .../full/functions/0x140092a20.c | 44 + .../full/functions/0x140092b00.c | 32 + .../full/functions/0x140092bb0.c | 24 + .../full/functions/0x140092c10.c | 28 + .../full/functions/0x140092cb0.c | 21 + .../full/functions/0x140092d10.c | 13 + .../full/functions/0x140092d50.c | 22 + .../full/functions/0x140092dd0.c | 16 + .../full/functions/0x140092e00.c | 24 + .../full/functions/0x140092e90.c | 16 + .../full/functions/0x140092ec0.c | 14 + .../full/functions/0x140092ef0.c | 14 + .../full/functions/0x140092f20.c | 211 + .../full/functions/0x140093320.c | 20 + .../full/functions/0x140093390.c | 188 + .../full/functions/0x140093730.c | 15 + .../full/functions/0x140093750.c | 14 + .../full/functions/0x1400937c0.c | 12 + .../full/functions/0x1400937f0.c | 12 + .../full/functions/0x140093820.c | 28 + .../full/functions/0x1400938a0.c | 31 + .../full/functions/0x140093920.c | 22 + .../full/functions/0x140093980.c | 37 + .../full/functions/0x140093a10.c | 42 + .../full/functions/0x140093ac0.c | 73 + .../full/functions/0x140093c10.c | 62 + .../full/functions/0x140093d10.c | 40 + .../full/functions/0x140093d90.c | 54 + .../full/functions/0x140093eb0.c | 27 + .../full/functions/0x140093f40.c | 64 + .../full/functions/0x140094070.c | 60 + .../full/functions/0x1400941c0.c | 342 + .../full/functions/0x1400947a0.c | 31 + .../full/functions/0x140094810.c | 11 + .../full/functions/0x140094820.c | 12 + .../full/functions/0x140094840.c | 20 + .../full/functions/0x140094860.c | 10 + .../full/functions/0x140094870.c | 14 + .../full/functions/0x1400948a0.c | 26 + .../full/functions/0x140094900.c | 37 + .../full/functions/0x140094980.c | 35 + .../full/functions/0x140094a00.c | 72 + .../full/functions/0x140094b40.c | 67 + .../full/functions/0x140094c20.c | 11 + .../full/functions/0x140094c40.c | 35 + .../full/functions/0x140094d30.c | 41 + .../full/functions/0x140094e20.c | 15 + .../full/functions/0x140094e50.c | 92 + .../full/functions/0x140095030.c | 73 + .../full/functions/0x140095120.c | 89 + .../full/functions/0x140095250.c | 55 + .../full/functions/0x140095350.c | 30 + .../full/functions/0x1400953b0.c | 95 + .../full/functions/0x140095500.c | 186 + .../full/functions/0x1400957e0.c | 158 + .../full/functions/0x140095a60.c | 44 + .../full/functions/0x140095b80.c | 23 + .../full/functions/0x140095bd0.c | 15 + .../full/functions/0x140095c00.c | 34 + .../full/functions/0x140095cc0.c | 34 + .../full/functions/0x140095d30.c | 40 + .../full/functions/0x140095df0.c | 32 + .../full/functions/0x140095e80.c | 85 + .../full/functions/0x140096080.c | 204 + .../full/functions/0x140096480.c | 22 + .../full/functions/0x1400964e0.c | 40 + .../full/functions/0x140096560.c | 40 + .../full/functions/0x1400965d0.c | 40 + .../full/functions/0x140096650.c | 53 + .../full/functions/0x1400967f0.c | 70 + .../full/functions/0x140096940.c | 26 + .../full/functions/0x1400969c0.c | 100 + .../full/functions/0x140096b50.c | 19 + .../full/functions/0x140096bb0.c | 20 + .../full/functions/0x140096c20.c | 91 + .../full/functions/0x140096df0.c | 20 + .../full/functions/0x140096e20.c | 13 + .../full/functions/0x140096e60.c | 26 + .../full/functions/0x140096ef0.c | 52 + .../full/functions/0x140096f90.c | 48 + .../full/functions/0x140097060.c | 91 + .../full/functions/0x140097200.c | 106 + .../full/functions/0x1400973e0.c | 129 + .../full/functions/0x1400975e0.c | 18 + .../full/functions/0x140097610.c | 18 + .../full/functions/0x140097640.c | 18 + .../full/functions/0x140097670.c | 11 + .../full/functions/0x140097680.c | 31 + .../full/functions/0x140097700.c | 39 + .../full/functions/0x1400977f0.c | 29 + .../full/functions/0x1400978a0.c | 14 + .../full/functions/0x1400978d0.c | 15 + .../full/functions/0x140097920.c | 16 + .../full/functions/0x140097950.c | 17 + .../full/functions/0x1400979a0.c | 25 + .../full/functions/0x140097a10.c | 16 + .../full/functions/0x140097a30.c | 33 + .../full/functions/0x140097ab0.c | 137 + .../full/functions/0x140097d30.c | 92 + .../full/functions/0x140097e40.c | 74 + .../full/functions/0x140097f70.c | 76 + .../full/functions/0x140098080.c | 75 + .../full/functions/0x1400981d0.c | 78 + .../full/functions/0x1400982f0.c | 49 + .../full/functions/0x1400983a0.c | 35 + .../full/functions/0x140098450.c | 121 + .../full/functions/0x140098690.c | 33 + .../full/functions/0x140098750.c | 46 + .../full/functions/0x140098820.c | 16 + .../full/functions/0x140098860.c | 37 + .../full/functions/0x1400988f0.c | 55 + .../full/functions/0x1400989d0.c | 41 + .../full/functions/0x140098a90.c | 40 + .../full/functions/0x140098b60.c | 10 + .../full/functions/0x140098b80.c | 34 + .../full/functions/0x140098c00.c | 39 + .../full/functions/0x140098cb0.c | 45 + .../full/functions/0x140098da0.c | 11 + .../full/functions/0x140098db0.c | 66 + .../full/functions/0x140098eb0.c | 19 + .../full/functions/0x140098f10.c | 88 + .../full/functions/0x140099230.c | 16 + .../full/functions/0x140099240.c | 1208 +++ .../full/functions/0x14009a980.c | 18 + .../full/functions/0x14009a9c0.c | 19 + .../full/functions/0x14009a9f0.c | 12 + .../full/functions/0x14009aa10.c | 13 + .../full/functions/0x14009aa30.c | 19 + .../full/functions/0x14009aa70.c | 20 + .../full/functions/0x14009aab0.c | 44 + .../full/functions/0x14009ab30.c | 105 + .../full/functions/0x14009ad20.c | 21 + .../full/functions/0x14009ad60.c | 14 + .../full/functions/0x14009ad80.c | 14 + .../full/functions/0x14009adb0.c | 19 + .../full/functions/0x14009ae00.c | 12 + .../full/functions/0x14009ae20.c | 53 + .../full/functions/0x14009af00.c | 60 + .../full/functions/0x14009aff0.c | 50 + .../full/functions/0x14009b100.c | 46 + .../full/functions/0x14009b1e0.c | 41 + .../full/functions/0x14009b2c0.c | 64 + .../full/functions/0x14009b3c0.c | 122 + .../full/functions/0x14009b610.c | 14 + .../full/functions/0x14009b660.c | 11 + .../full/functions/0x14009b670.c | 14 + .../full/functions/0x14009b6a0.c | 11 + .../full/functions/0x14009b6b0.c | 14 + .../full/functions/0x14009b6e0.c | 11 + .../full/functions/0x14009b6f0.c | 10 + .../full/functions/0x14009b700.c | 10 + .../full/functions/0x14009b710.c | 13 + .../full/functions/0x14009b740.c | 10 + .../full/functions/0x14009b750.c | 10 + .../full/functions/0x14009b760.c | 18 + .../full/functions/0x14009b7a0.c | 10 + .../full/functions/0x14009b7b0.c | 22 + .../full/functions/0x14009b820.c | 10 + .../full/functions/0x14009b830.c | 10 + .../full/functions/0x14009b840.c | 12 + .../full/functions/0x14009b860.c | 11 + .../full/functions/0x14009b870.c | 11 + .../full/functions/0x14009b880.c | 50 + .../full/functions/0x14009b970.c | 42 + .../full/functions/0x14009b9f0.c | 37 + .../full/functions/0x14009baa0.c | 14 + .../full/functions/0x14009bad0.c | 14 + .../full/functions/0x14009bae0.c | 16 + .../full/functions/0x14009bb20.c | 11 + .../full/functions/0x14009bb30.c | 11 + .../full/functions/0x14009bb40.c | 16 + .../full/functions/0x14009bb70.c | 17 + .../full/functions/0x14009bbc0.c | 17 + .../full/functions/0x14009bc10.c | 14 + .../full/functions/0x14009bc40.c | 15 + .../full/functions/0x14009bc60.c | 46 + .../full/functions/0x14009bd60.c | 26 + .../full/functions/0x14009bde0.c | 22 + .../full/functions/0x14009be70.c | 19 + .../full/functions/0x14009bee0.c | 15 + .../full/functions/0x14009bf00.c | 13 + .../full/functions/0x14009bf30.c | 18 + .../full/functions/0x14009bf60.c | 17 + .../full/functions/0x14009bfa0.c | 54 + .../full/functions/0x14009c0d0.c | 16 + .../full/functions/0x14009c0f0.c | 16 + .../full/functions/0x14009c110.c | 38 + .../full/functions/0x14009c1e0.c | 25 + .../full/functions/0x14009c250.c | 13 + .../full/functions/0x14009c270.c | 43 + .../full/functions/0x14009c330.c | 18 + .../full/functions/0x14009c350.c | 37 + .../full/functions/0x14009c430.c | 37 + .../full/functions/0x14009c500.c | 21 + .../full/functions/0x14009c580.c | 30 + .../full/functions/0x14009c610.c | 27 + .../full/functions/0x14009c670.c | 16 + .../full/functions/0x14009c6a0.c | 37 + .../full/functions/0x14009c780.c | 37 + .../full/functions/0x14009c860.c | 48 + .../full/functions/0x14009c970.c | 13 + .../full/functions/0x14009c9a0.c | 22 + .../full/functions/0x14009ca00.c | 77 + .../full/functions/0x14009cb60.c | 79 + .../full/functions/0x14009ccc0.c | 23 + .../full/functions/0x14009cd20.c | 20 + .../full/functions/0x14009cd60.c | 36 + .../full/functions/0x14009ce30.c | 59 + .../full/functions/0x14009cf60.c | 29 + .../full/functions/0x14009cfe0.c | 28 + .../full/functions/0x14009d050.c | 70 + .../full/functions/0x14009d150.c | 70 + .../full/functions/0x14009d260.c | 51 + .../full/functions/0x14009d330.c | 13 + .../full/functions/0x14009d360.c | 29 + .../full/functions/0x14009d3d0.c | 34 + .../full/functions/0x14009d480.c | 19 + .../full/functions/0x14009d4d0.c | 110 + .../full/functions/0x14009d690.c | 63 + .../full/functions/0x14009d7e0.c | 30 + .../full/functions/0x14009d860.c | 34 + .../full/functions/0x14009d8e0.c | 35 + .../full/functions/0x14009d960.c | 132 + .../full/functions/0x14009db30.c | 36 + .../full/functions/0x14009dbd0.c | 65 + .../full/functions/0x14009dd00.c | 85 + .../full/functions/0x14009def0.c | 29 + .../full/functions/0x14009df80.c | 51 + .../full/functions/0x14009e0a0.c | 68 + .../full/functions/0x14009e1d0.c | 28 + .../full/functions/0x14009e230.c | 48 + .../full/functions/0x14009e320.c | 53 + .../full/functions/0x14009e480.c | 51 + .../full/functions/0x14009e5b0.c | 58 + .../full/functions/0x14009e710.c | 25 + .../full/functions/0x14009e780.c | 42 + .../full/functions/0x14009e820.c | 38 + .../full/functions/0x14009e8b0.c | 28 + .../full/functions/0x14009e940.c | 29 + .../full/functions/0x14009e9f0.c | 2082 +++++ .../full/functions/0x1400a2460.c | 672 ++ .../full/functions/0x1400a3610.c | 33 + .../full/functions/0x1400a36f0.c | 36 + .../full/functions/0x1400a37d0.c | 35 + .../full/functions/0x1400a38c0.c | 37 + .../full/functions/0x1400a39c0.c | 30 + .../full/functions/0x1400a3a80.c | 33 + .../full/functions/0x1400a3b50.c | 38 + .../full/functions/0x1400a3c70.c | 39 + .../full/functions/0x1400a3d90.c | 49 + .../full/functions/0x1400a3f20.c | 51 + .../full/functions/0x1400a40c0.c | 30 + .../full/functions/0x1400a4180.c | 33 + .../full/functions/0x1400a4250.c | 35 + .../full/functions/0x1400a4340.c | 37 + .../full/functions/0x1400a4430.c | 35 + .../full/functions/0x1400a4520.c | 37 + .../full/functions/0x1400a4610.c | 33 + .../full/functions/0x1400a46f0.c | 36 + .../full/functions/0x1400a47d0.c | 33 + .../full/functions/0x1400a48b0.c | 36 + .../full/functions/0x1400a4990.c | 33 + .../full/functions/0x1400a4a70.c | 36 + .../full/functions/0x1400a4b50.c | 33 + .../full/functions/0x1400a4c30.c | 36 + .../full/functions/0x1400a4d10.c | 33 + .../full/functions/0x1400a4df0.c | 36 + .../full/functions/0x1400a4ed0.c | 35 + .../full/functions/0x1400a4fc0.c | 37 + .../full/functions/0x1400a50c0.c | 30 + .../full/functions/0x1400a5180.c | 33 + .../full/functions/0x1400a5250.c | 33 + .../full/functions/0x1400a5330.c | 36 + .../full/functions/0x1400a5410.c | 37 + .../full/functions/0x1400a5510.c | 38 + .../full/functions/0x1400a5620.c | 33 + .../full/functions/0x1400a5700.c | 36 + .../full/functions/0x1400a57e0.c | 30 + .../full/functions/0x1400a58a0.c | 33 + .../full/functions/0x1400a5970.c | 33 + .../full/functions/0x1400a5a50.c | 36 + .../full/functions/0x1400a5b30.c | 36 + .../full/functions/0x1400a5c20.c | 37 + .../full/functions/0x1400a5d20.c | 38 + .../full/functions/0x1400a5e40.c | 39 + .../full/functions/0x1400a5f70.c | 83 + .../full/functions/0x1400a60e0.c | 133 + .../full/functions/0x1400a63d0.c | 119 + .../full/functions/0x1400a6630.c | 172 + .../full/functions/0x1400a69f0.c | 86 + .../full/functions/0x1400a6c00.c | 86 + .../full/functions/0x1400a6d80.c | 156 + .../full/functions/0x1400a7010.c | 98 + .../full/functions/0x1400a71c0.c | 83 + .../full/functions/0x1400a7320.c | 29 + .../full/functions/0x1400a7390.c | 33 + .../full/functions/0x1400a7430.c | 28 + .../full/functions/0x1400a74a0.c | 67 + .../full/functions/0x1400a75e0.c | 68 + .../full/functions/0x1400a7730.c | 51 + .../full/functions/0x1400a7820.c | 56 + .../full/functions/0x1400a7920.c | 31 + .../full/functions/0x1400a79f0.c | 73 + .../full/functions/0x1400a7ba0.c | 57 + .../full/functions/0x1400a7d00.c | 52 + .../full/functions/0x1400a7e40.c | 73 + .../full/functions/0x1400a8040.c | 42 + .../full/functions/0x1400a8160.c | 72 + .../full/functions/0x1400a8310.c | 74 + .../full/functions/0x1400a84b0.c | 44 + .../full/functions/0x1400a85d0.c | 78 + .../full/functions/0x1400a8760.c | 38 + .../full/functions/0x1400a8830.c | 50 + .../full/functions/0x1400a8950.c | 73 + .../full/functions/0x1400a8ae0.c | 62 + .../full/functions/0x1400a8c10.c | 33 + .../full/functions/0x1400a8cd0.c | 56 + .../full/functions/0x1400a8e20.c | 52 + .../full/functions/0x1400a8f60.c | 27 + .../full/functions/0x1400a8ff0.c | 28 + .../full/functions/0x1400a9060.c | 42 + .../full/functions/0x1400a9130.c | 39 + .../full/functions/0x1400a91d0.c | 46 + .../full/functions/0x1400a92a0.c | 30 + .../full/functions/0x1400a9310.c | 29 + .../full/functions/0x1400a93a0.c | 43 + .../full/functions/0x1400a9440.c | 35 + .../full/functions/0x1400a94c0.c | 42 + .../full/functions/0x1400a9590.c | 70 + .../full/functions/0x1400a9690.c | 70 + .../full/functions/0x1400a97e0.c | 76 + .../full/functions/0x1400a99a0.c | 36 + .../full/functions/0x1400a9a80.c | 47 + .../full/functions/0x1400a9b90.c | 55 + .../full/functions/0x1400a9d00.c | 47 + .../full/functions/0x1400a9e20.c | 57 + .../full/functions/0x1400a9f70.c | 308 + .../full/functions/0x1400aa4c0.c | 306 + .../full/functions/0x1400aaa10.c | 55 + .../full/functions/0x1400aab40.c | 42 + .../full/functions/0x1400aac40.c | 27 + .../full/functions/0x1400aace0.c | 17 + .../full/functions/0x1400aad10.c | 17 + .../full/functions/0x1400aad40.c | 17 + .../full/functions/0x1400aad70.c | 114 + .../full/functions/0x1400aaef0.c | 23 + .../full/functions/0x1400aaf70.c | 37 + .../full/functions/0x1400ab050.c | 269 + .../full/functions/0x1400ab500.c | 185 + .../full/functions/0x1400ab820.c | 137 + .../full/functions/0x1400abad0.c | 68 + .../full/functions/0x1400abca0.c | 204 + .../full/functions/0x1400abfe0.c | 273 + .../full/functions/0x1400ac480.c | 105 + .../full/functions/0x1400ac6e0.c | 39 + .../full/functions/0x1400ac7a0.c | 33 + .../full/functions/0x1400ac810.c | 11 + .../full/functions/0x1400ac830.c | 29 + .../full/functions/0x1400ac8a0.c | 198 + .../full/functions/0x1400acd80.c | 523 ++ .../full/functions/0x1400ad8e0.c | 39 + .../full/functions/0x1400ada30.c | 11 + .../full/functions/0x1400ada40.c | 28 + .../full/functions/0x1400adad0.c | 28 + .../full/functions/0x1400adb60.c | 24 + .../full/functions/0x1400adbd0.c | 35 + .../full/functions/0x1400adc60.c | 25 + .../full/functions/0x1400adcd0.c | 39 + .../full/functions/0x1400adda0.c | 97 + .../full/functions/0x1400adf50.c | 110 + .../full/functions/0x1400ae130.c | 30 + .../full/functions/0x1400ae200.c | 78 + .../full/functions/0x1400ae370.c | 73 + .../full/functions/0x1400ae550.c | 153 + .../full/functions/0x1400ae880.c | 89 + .../full/functions/0x1400aea30.c | 105 + .../full/functions/0x1400aecd0.c | 105 + .../full/functions/0x1400aef70.c | 31 + .../full/functions/0x1400af000.c | 70 + .../full/functions/0x1400af100.c | 777 ++ .../full/functions/0x1400b0310.c | 104 + .../full/functions/0x1400b04c0.c | 116 + .../full/functions/0x1400b0650.c | 11 + .../full/functions/0x1400b0670.c | 19 + .../full/functions/0x1400b0700.c | 18 + .../full/functions/0x1400b0770.c | 28 + .../full/functions/0x1400b0800.c | 29 + .../full/functions/0x1400b0870.c | 76 + .../full/functions/0x1400b0a10.c | 28 + .../full/functions/0x1400b0a90.c | 43 + .../full/functions/0x1400b0b40.c | 31 + .../full/functions/0x1400b0bd0.c | 38 + .../full/functions/0x1400b0ca0.c | 17 + .../full/functions/0x1400b0cd0.c | 373 + .../full/functions/0x1400b1510.c | 174 + .../full/functions/0x1400b1a60.c | 10 + .../full/functions/0x1400b1a70.c | 10 + .../full/functions/0x1400b1a80.c | 10 + .../full/functions/0x1400b1aa0.c | 12 + .../full/functions/0x1400b1ad0.c | 10 + .../full/functions/0x1400b1ae0.c | 11 + .../full/functions/0x1400b1af0.c | 11 + .../full/functions/0x1400b1b00.c | 11 + .../full/functions/0x1400b1b10.c | 11 + .../full/functions/0x1400b1b20.c | 11 + .../full/functions/0x1400b1b30.c | 11 + .../full/functions/0x1400b1b40.c | 11 + .../full/functions/0x1400b1b50.c | 11 + .../full/functions/0x1400b1b60.c | 11 + .../full/functions/0x1400b1b70.c | 11 + .../full/functions/0x1400b1b80.c | 11 + .../full/functions/0x1400b1b90.c | 11 + .../full/functions/0x1400b1ba0.c | 11 + .../full/functions/0x1400b1bb0.c | 11 + .../full/functions/0x1400b1bc0.c | 11 + .../full/functions/0x1400b1bd0.c | 11 + .../full/functions/0x1400b1be0.c | 10 + .../full/functions/0x1400b1bf0.c | 13 + .../full/functions/0x1400b1c10.c | 11 + .../full/functions/0x1400b1c20.c | 11 + .../full/functions/0x1400b1c30.c | 11 + .../full/functions/0x1400b1c40.c | 11 + .../full/functions/0x1400b1c50.c | 11 + .../full/functions/0x1400b1c60.c | 11 + .../full/functions/0x1400b1c70.c | 11 + .../full/functions/0x1400b1c80.c | 11 + .../full/functions/0x1400b1c90.c | 11 + .../full/functions/0x1400b1ca0.c | 11 + .../full/functions/0x1400b1cb0.c | 11 + .../full/functions/0x1400b1cc0.c | 18 + .../full/functions/0x1400b1d20.c | 11 + .../full/functions/0x1400b1d30.c | 11 + .../full/functions/0x1400b1d40.c | 55 + .../full/functions/0x1400b1e70.c | 97 + .../full/functions/0x1400b1ff0.c | 97 + .../full/functions/0x1400b2170.c | 29 + .../full/functions/0x1400b2210.c | 156 + .../full/functions/0x1400b25d0.c | 247 + .../full/functions/0x1400b2cb0.c | 436 + .../full/functions/0x1400b35a0.c | 21 + .../full/functions/0x1400b3680.c | 43 + .../full/functions/0x1400b37d0.c | 129 + .../full/functions/0x1400b3a40.c | 204 + .../full/functions/0x1400b3eb0.c | 179 + .../full/functions/0x1400b41f0.c | 275 + .../full/functions/0x1400b4a50.c | 14 + .../full/functions/0x1400b4a80.c | 185 + .../full/functions/0x1400b4da0.c | 171 + .../full/functions/0x1400b50c0.c | 161 + .../full/functions/0x1400b53a0.c | 169 + .../full/functions/0x1400b5660.c | 395 + .../full/functions/0x1400b5e80.c | 63 + .../full/functions/0x1400b5fd0.c | 502 ++ .../full/functions/0x1400b69d0.c | 22 + .../full/functions/0x1400b6a40.c | 138 + .../full/functions/0x1400b6c70.c | 28 + .../full/functions/0x1400b6cf0.c | 69 + .../full/functions/0x1400b6e60.c | 17 + .../full/functions/0x1400b6ec0.c | 22 + .../full/functions/0x1400b6f40.c | 18 + .../full/functions/0x1400b6fb0.c | 42 + .../full/functions/0x1400b70a0.c | 22 + .../full/functions/0x1400b70e0.c | 11 + .../full/functions/0x1400b70f0.c | 14 + .../full/functions/0x1400b7110.c | 12 + .../full/functions/0x1400b7120.c | 13 + .../full/functions/0x1400b7140.c | 13 + .../full/functions/0x1400b7170.c | 31 + .../full/functions/0x1400b71f0.c | 11 + .../full/functions/0x1400b7210.c | 17 + .../full/functions/0x1400b7260.c | 23 + .../full/functions/0x1400b72d0.c | 50 + .../full/functions/0x1400b73d0.c | 44 + .../full/functions/0x1400b7470.c | 44 + .../full/functions/0x1400b7510.c | 22 + .../full/functions/0x1400b7550.c | 40 + .../full/functions/0x1400b75f0.c | 14 + .../full/functions/0x1400b7620.c | 27 + .../full/functions/0x1400b7680.c | 27 + .../full/functions/0x1400b76e0.c | 31 + .../full/functions/0x1400b7780.c | 27 + .../full/functions/0x1400b7830.c | 24 + .../full/functions/0x1400b7880.c | 22 + .../full/functions/0x1400b78e0.c | 27 + .../full/functions/0x1400b7940.c | 27 + .../full/functions/0x1400b79a0.c | 27 + .../full/functions/0x1400b7a10.c | 27 + .../full/functions/0x1400b7a70.c | 27 + .../full/functions/0x1400b7ad0.c | 27 + .../full/functions/0x1400b7b30.c | 27 + .../full/functions/0x1400b7b90.c | 27 + .../full/functions/0x1400b7bf0.c | 27 + .../full/functions/0x1400b7c50.c | 27 + .../full/functions/0x1400b7cb0.c | 27 + .../full/functions/0x1400b7d10.c | 27 + .../full/functions/0x1400b7d70.c | 27 + .../full/functions/0x1400b7dd0.c | 27 + .../full/functions/0x1400b7e30.c | 33 + .../full/functions/0x1400b7eb0.c | 27 + .../full/functions/0x1400b7f10.c | 27 + .../full/functions/0x1400b7f70.c | 19 + .../full/functions/0x1400b7fb0.c | 27 + .../full/functions/0x1400b8010.c | 27 + .../full/functions/0x1400b8070.c | 40 + .../full/functions/0x1400b8130.c | 27 + .../full/functions/0x1400b8190.c | 27 + .../full/functions/0x1400b8200.c | 19 + .../full/functions/0x1400b8240.c | 31 + .../full/functions/0x1400b82c0.c | 40 + .../full/functions/0x1400b83a0.c | 169 + .../full/functions/0x1400b88b0.c | 47 + .../full/functions/0x1400b8990.c | 67 + .../full/functions/0x1400b8b10.c | 40 + .../full/functions/0x1400b8c00.c | 59 + .../full/functions/0x1400b8d90.c | 62 + .../full/functions/0x1400b8ee0.c | 52 + .../full/functions/0x1400b9010.c | 86 + .../full/functions/0x1400b9220.c | 33 + .../full/functions/0x1400b92e0.c | 57 + .../full/functions/0x1400b9440.c | 27 + .../full/functions/0x1400b94e0.c | 13 + .../full/functions/0x1400b9530.c | 143 + .../full/functions/0x1400b9a10.c | 27 + .../full/functions/0x1400b9bc0.c | 133 + .../full/functions/0x1400b9fa0.c | 63 + .../full/functions/0x1400ba160.c | 74 + .../full/functions/0x1400ba340.c | 12 + .../full/functions/0x1400ba370.c | 133 + .../full/functions/0x1400ba680.c | 34 + .../full/functions/0x1400ba700.c | 40 + .../full/functions/0x1400ba7e0.c | 34 + .../full/functions/0x1400ba880.c | 86 + .../full/functions/0x1400baa30.c | 101 + .../full/functions/0x1400babf0.c | 127 + .../full/functions/0x1400bae70.c | 168 + .../full/functions/0x1400bb290.c | 208 + .../full/functions/0x1400bb7e0.c | 145 + .../full/functions/0x1400bbb60.c | 83 + .../full/functions/0x1400bbd40.c | 58 + .../full/functions/0x1400bbeb0.c | 395 + .../full/functions/0x1400bc7d0.c | 104 + .../full/functions/0x1400bca60.c | 11 + .../full/functions/0x1400bcaa0.c | 13 + .../full/functions/0x1400bcab0.c | 13 + .../full/functions/0x1400bcac0.c | 274 + .../full/functions/0x1400bcfb0.c | 38 + .../full/functions/0x1400bd030.c | 60 + .../full/functions/0x1400bd120.c | 130 + .../full/functions/0x1400bd340.c | 82 + .../full/functions/0x1400bd430.c | 258 + .../full/functions/0x1400bd9a0.c | 102 + .../full/functions/0x1400bdc10.c | 182 + .../full/functions/0x1400be080.c | 37 + .../full/functions/0x1400be100.c | 28 + .../full/functions/0x1400be190.c | 47 + .../full/functions/0x1400be2a0.c | 275 + .../full/functions/0x1400be780.c | 20 + .../full/functions/0x1400be800.c | 60 + .../full/functions/0x1400be8b0.c | 104 + .../full/functions/0x1400beb00.c | 25 + .../full/functions/0x1400beb80.c | 31 + .../full/functions/0x1400bec20.c | 84 + .../full/functions/0x1400bee40.c | 113 + .../full/functions/0x1400bf0c0.c | 11 + .../full/functions/0x1400bf0d0.c | 14 + .../full/functions/0x1400bf100.c | 13 + .../full/functions/0x1400bf140.c | 13 + .../full/functions/0x1400bf180.c | 20 + .../full/functions/0x1400bf1e0.c | 50 + .../full/functions/0x1400bf2c0.c | 25 + .../full/functions/0x1400bf340.c | 21 + .../full/functions/0x1400bf3b0.c | 21 + .../full/functions/0x1400bf420.c | 21 + .../full/functions/0x1400bf490.c | 33 + .../full/functions/0x1400bf550.c | 35 + .../full/functions/0x1400bf610.c | 29 + .../full/functions/0x1400bf6d0.c | 23 + .../full/functions/0x1400bf740.c | 33 + .../full/functions/0x1400bf800.c | 19 + .../full/functions/0x1400bf860.c | 13 + .../full/functions/0x1400bf880.c | 17 + .../full/functions/0x1400bf8b0.c | 34 + .../full/functions/0x1400bf970.c | 57 + .../full/functions/0x1400bfa60.c | 31 + .../full/functions/0x1400bfb10.c | 20 + .../full/functions/0x1400bfb60.c | 26 + .../full/functions/0x1400bfbd0.c | 51 + .../full/functions/0x1400bfcf0.c | 23 + .../full/functions/0x1400bfd50.c | 125 + .../full/functions/0x1400bfed0.c | 54 + .../full/functions/0x1400c0010.c | 72 + .../full/functions/0x1400c0180.c | 105 + .../full/functions/0x1400c03a0.c | 36 + .../full/functions/0x1400c0450.c | 88 + .../full/functions/0x1400c0620.c | 62 + .../full/functions/0x1400c0790.c | 68 + .../full/functions/0x1400c0900.c | 77 + .../full/functions/0x1400c0aa0.c | 97 + .../full/functions/0x1400c0d50.c | 147 + .../full/functions/0x1400c1080.c | 107 + .../full/functions/0x1400c1230.c | 163 + .../full/functions/0x1400c1500.c | 189 + .../full/functions/0x1400c1a10.c | 143 + .../full/functions/0x1400c1cc0.c | 142 + .../full/functions/0x1400c1f90.c | 37 + .../full/functions/0x1400c2040.c | 58 + .../full/functions/0x1400c2180.c | 33 + .../full/functions/0x1400c2230.c | 310 + .../full/functions/0x1400c27c0.c | 419 + .../full/functions/0x1400c3190.c | 164 + .../full/functions/0x1400c3490.c | 28 + .../full/functions/0x1400c3510.c | 293 + .../full/functions/0x1400c3920.c | 346 + .../full/functions/0x1400c3ef0.c | 421 + .../full/functions/0x1400c4580.c | 231 + .../full/functions/0x1400c49d0.c | 104 + .../full/functions/0x1400c4c40.c | 11 + .../full/functions/0x1400c4c50.c | 11 + .../full/functions/0x1400c4c60.c | 45 + .../full/functions/0x1400c4d40.c | 44 + .../full/functions/0x1400c4e20.c | 14 + .../full/functions/0x1400c4e50.c | 154 + .../full/functions/0x1400c50f0.c | 477 ++ .../full/functions/0x1400c5a20.c | 103 + .../full/functions/0x1400c5bf0.c | 176 + .../full/functions/0x1400c5f70.c | 157 + .../full/functions/0x1400c6270.c | 379 + .../full/functions/0x1400c6920.c | 73 + .../full/functions/0x1400c6ad0.c | 183 + .../full/functions/0x1400c6e30.c | 115 + .../full/functions/0x1400c7080.c | 377 + .../full/functions/0x1400c76c0.c | 57 + .../full/functions/0x1400c7790.c | 63 + .../full/functions/0x1400c78f0.c | 72 + .../full/functions/0x1400c7a70.c | 17 + .../full/functions/0x1400c7ad0.c | 54 + .../full/functions/0x1400c7bb0.c | 55 + .../full/functions/0x1400c7c40.c | 82 + .../full/functions/0x1400c7db0.c | 53 + .../full/functions/0x1400c7f30.c | 121 + .../full/functions/0x1400c81b0.c | 32 + .../full/functions/0x1400c8280.c | 23 + .../full/functions/0x1400c8300.c | 49 + .../full/functions/0x1400c8450.c | 25 + .../full/functions/0x1400c8490.c | 91 + .../full/functions/0x1400c8600.c | 33 + .../full/functions/0x1400c86b0.c | 33 + .../full/functions/0x1400c8760.c | 40 + .../full/functions/0x1400c8840.c | 33 + .../full/functions/0x1400c88f0.c | 54 + .../full/functions/0x1400c8990.c | 76 + .../full/functions/0x1400c8ad0.c | 20 + .../full/functions/0x1400c8b10.c | 22 + .../full/functions/0x1400c8b70.c | 79 + .../full/functions/0x1400c8cb0.c | 53 + .../full/functions/0x1400c8de0.c | 133 + .../full/functions/0x1400c9030.c | 38 + .../full/functions/0x1400c90b0.c | 35 + .../full/functions/0x1400c9130.c | 106 + .../full/functions/0x1400c9360.c | 24 + .../full/functions/0x1400c93c0.c | 24 + .../full/functions/0x1400c9440.c | 232 + .../full/functions/0x1400c9900.c | 26 + .../full/functions/0x1400c99a0.c | 68 + .../full/functions/0x1400c9ac0.c | 104 + .../full/functions/0x1400c9d00.c | 100 + .../full/functions/0x1400c9e20.c | 58 + .../full/functions/0x1400c9f10.c | 48 + .../full/functions/0x1400c9ff0.c | 50 + .../full/functions/0x1400ca130.c | 193 + .../full/functions/0x1400ca4c0.c | 40 + .../full/functions/0x1400ca5c0.c | 15 + .../full/functions/0x1400ca5f0.c | 32 + .../full/functions/0x1400ca6c0.c | 185 + .../full/functions/0x1400ca9c0.c | 183 + .../full/functions/0x1400caca0.c | 86 + .../full/functions/0x1400cae50.c | 27 + .../full/functions/0x1400caef0.c | 28 + .../full/functions/0x1400caf50.c | 30 + .../full/functions/0x1400cafc0.c | 110 + .../full/functions/0x1400cb1b0.c | 52 + .../full/functions/0x1400cb280.c | 40 + .../full/functions/0x1400cb320.c | 15 + .../full/functions/0x1400cb350.c | 102 + .../full/functions/0x1400cb480.c | 31 + .../full/functions/0x1400cb510.c | 65 + .../full/functions/0x1400cb610.c | 79 + .../full/functions/0x1400cb780.c | 78 + .../full/functions/0x1400cb8e0.c | 99 + .../full/functions/0x1400cbab0.c | 52 + .../full/functions/0x1400cbbc0.c | 11 + .../full/functions/0x1400cbbe0.c | 112 + .../full/functions/0x1400cbd80.c | 23 + .../full/functions/0x1400cbe00.c | 23 + .../full/functions/0x1400cbe90.c | 245 + .../full/functions/0x1400cc330.c | 11 + .../full/functions/0x1400cc350.c | 60 + .../full/functions/0x1400cc450.c | 58 + .../full/functions/0x1400cc550.c | 48 + .../full/functions/0x1400cc6b0.c | 42 + .../full/functions/0x1400cc7b0.c | 765 ++ .../full/functions/0x1400cd360.c | 1026 +++ .../full/functions/0x1400ce5b0.c | 41 + .../full/functions/0x1400ce6b0.c | 59 + .../full/functions/0x1400ce790.c | 22 + .../full/functions/0x1400ce800.c | 11 + .../full/functions/0x1400ce810.c | 42 + .../full/functions/0x1400ce8d0.c | 15 + .../full/functions/0x1400ce8f0.c | 15 + .../full/functions/0x1400ce910.c | 32 + .../full/functions/0x1400ce970.c | 18 + .../full/functions/0x1400ce9a0.c | 74 + .../full/functions/0x1400ceb20.c | 57 + .../full/functions/0x1400cec80.c | 31 + .../full/functions/0x1400ced60.c | 10 + .../full/functions/0x1400ced70.c | 11 + .../full/functions/0x1400ced80.c | 84 + .../full/functions/0x1400cef60.c | 15 + .../full/functions/0x1400cef90.c | 11 + .../full/functions/0x1400cefa0.c | 14 + .../full/functions/0x1400cefd0.c | 10 + .../full/functions/0x1400cefe0.c | 10 + .../full/functions/0x1400ceff0.c | 14 + .../full/functions/0x1400cf010.c | 35 + .../full/functions/0x1400cf0b0.c | 29 + .../full/functions/0x1400cf120.c | 31 + .../full/functions/0x1400cf1c0.c | 21 + .../full/functions/0x1400cf260.c | 26 + .../full/functions/0x1400cf2a0.c | 16 + .../full/functions/0x1400cf2c0.c | 39 + .../full/functions/0x1400cf3d0.c | 29 + .../full/functions/0x1400cf450.c | 49 + .../full/functions/0x1400cf560.c | 24 + .../full/functions/0x1400cf5d0.c | 154 + .../full/functions/0x1400cf900.c | 147 + .../full/functions/0x1400cfbd0.c | 181 + .../full/functions/0x1400cffa0.c | 65 + .../full/functions/0x1400d0130.c | 186 + .../full/functions/0x1400d0530.c | 361 + .../full/functions/0x1400d0c60.c | 29 + .../full/functions/0x1400d0cd0.c | 250 + .../full/functions/0x1400d1180.c | 60 + .../full/functions/0x1400d1350.c | 60 + .../full/functions/0x1400d1440.c | 188 + .../full/functions/0x1400d1950.c | 103 + .../full/functions/0x1400d1b70.c | 78 + .../full/functions/0x1400d1d20.c | 178 + .../full/functions/0x1400d2160.c | 144 + .../full/functions/0x1400d2490.c | 35 + .../full/functions/0x1400d2520.c | 52 + .../full/functions/0x1400d25e0.c | 17 + .../full/functions/0x1400d2610.c | 23 + .../full/functions/0x1400d2670.c | 31 + .../full/functions/0x1400d26f0.c | 24 + .../full/functions/0x1400d2780.c | 18 + .../full/functions/0x1400d27d0.c | 39 + .../full/functions/0x1400d28e0.c | 10 + .../full/functions/0x1400d28f0.c | 11 + .../full/functions/0x1400d2900.c | 11 + .../full/functions/0x1400d2910.c | 11 + .../full/functions/0x1400d2920.c | 61 + .../full/functions/0x1400d2b30.c | 15 + .../full/functions/0x1400d2b60.c | 12 + .../full/functions/0x1400d2b90.c | 53 + .../full/functions/0x1400d2cc0.c | 36 + .../full/functions/0x1400d2d60.c | 18 + .../full/functions/0x1400d2da0.c | 17 + .../full/functions/0x1400d2de0.c | 29 + .../full/functions/0x1400d2e40.c | 14 + .../full/functions/0x1400d2e80.c | 14 + .../full/functions/0x1400d2eb0.c | 18 + .../full/functions/0x1400d2ee0.c | 69 + .../full/functions/0x1400d3030.c | 78 + .../full/functions/0x1400d31e0.c | 46 + .../full/functions/0x1400d32e0.c | 85 + .../full/functions/0x1400d3500.c | 11 + .../full/functions/0x1400d3510.c | 62 + .../full/functions/0x1400d3690.c | 15 + .../full/functions/0x1400d36c0.c | 96 + .../full/functions/0x1400d38a0.c | 10 + .../full/functions/0x1400d38b0.c | 14 + .../full/functions/0x1400d38f0.c | 16 + .../full/functions/0x1400d3930.c | 11 + .../full/functions/0x1400d3940.c | 11 + .../full/functions/0x1400d3950.c | 47 + .../full/functions/0x1400d3a60.c | 18 + .../full/functions/0x1400d3ae0.c | 10 + .../full/functions/0x1400d3af0.c | 16 + .../full/functions/0x1400d3b10.c | 16 + .../full/functions/0x1400d3b30.c | 10 + .../full/functions/0x1400d3b40.c | 18 + .../full/functions/0x1400d3b60.c | 11 + .../full/functions/0x1400d3b70.c | 16 + .../full/functions/0x1400d3ba0.c | 10 + .../full/functions/0x1400d3bc0.c | 84 + .../full/functions/0x1400d3d50.c | 265 + .../full/functions/0x1400d42c0.c | 27 + .../full/functions/0x1400d4350.c | 293 + .../full/functions/0x1400d48b0.c | 14 + .../full/functions/0x1400d48d0.c | 27 + .../full/functions/0x1400d4950.c | 22 + .../full/functions/0x1400d49c0.c | 11 + .../full/functions/0x1400d49d0.c | 15 + .../full/functions/0x1400d4a10.c | 29 + .../full/functions/0x1400d4ab0.c | 40 + .../full/functions/0x1400d4b40.c | 30 + .../full/functions/0x1400d4bb0.c | 107 + .../full/functions/0x1400d4df0.c | 22 + .../full/functions/0x1400d4e30.c | 67 + .../full/functions/0x1400d4f60.c | 118 + .../full/functions/0x1400d5200.c | 192 + .../full/functions/0x1400d5560.c | 44 + .../full/functions/0x1400d5660.c | 26 + .../full/functions/0x1400d5700.c | 49 + .../full/functions/0x1400d57e0.c | 29 + .../full/functions/0x1400d5890.c | 19 + .../full/functions/0x1400d58f0.c | 16 + .../full/functions/0x1400d5950.c | 97 + .../full/functions/0x1400d5ba0.c | 28 + .../full/functions/0x1400d5c00.c | 32 + .../full/functions/0x1400d5c60.c | 21 + .../full/functions/0x1400d5ca0.c | 44 + .../full/functions/0x1400d5d30.c | 28 + .../full/functions/0x1400d5df0.c | 28 + .../full/functions/0x1400d5e20.c | 16 + .../full/functions/0x1400d5e50.c | 23 + .../full/functions/0x1400d5e80.c | 37 + .../full/functions/0x1400d5ef0.c | 22 + .../full/functions/0x1400d5f70.c | 56 + .../full/functions/0x1400d6070.c | 49 + .../full/functions/0x1400d6170.c | 13 + .../full/functions/0x1400d61a0.c | 35 + .../full/functions/0x1400d6250.c | 29 + .../full/functions/0x1400d62e0.c | 34 + .../full/functions/0x1400d6360.c | 69 + .../full/functions/0x1400d64a0.c | 32 + .../full/functions/0x1400d6520.c | 67 + .../full/functions/0x1400d6660.c | 56 + .../full/functions/0x1400d6710.c | 50 + .../full/functions/0x1400d67d0.c | 30 + .../full/functions/0x1400d6850.c | 214 + .../full/functions/0x1400d6d80.c | 44 + .../full/functions/0x1400d6e30.c | 11 + .../full/functions/0x1400d6e40.c | 90 + .../full/functions/0x1400d7020.c | 42 + .../full/functions/0x1400d70f0.c | 24 + .../full/functions/0x1400d7170.c | 24 + .../full/functions/0x1400d71e0.c | 20 + .../full/functions/0x1400d7210.c | 21 + .../full/functions/0x1400d7270.c | 38 + .../full/functions/0x1400d7340.c | 73 + .../full/functions/0x1400d74b0.c | 59 + .../full/functions/0x1400d7610.c | 57 + .../full/functions/0x1400d7730.c | 204 + .../full/functions/0x1400d7ed0.c | 115 + .../full/functions/0x1400d84b0.c | 116 + .../full/functions/0x1400d8b10.c | 595 ++ .../full/functions/0x1400da4d0.c | 23 + .../full/functions/0x1400da520.c | 47 + .../full/functions/0x1400da600.c | 81 + .../full/functions/0x1400da7d0.c | 13 + .../full/functions/0x1400da7f0.c | 34 + .../full/functions/0x1400da880.c | 19 + .../full/functions/0x1400da8d0.c | 70 + .../full/functions/0x1400daa10.c | 229 + .../full/functions/0x1400daf50.c | 75 + .../full/functions/0x1400db0b0.c | 53 + .../full/functions/0x1400db210.c | 77 + .../full/functions/0x1400db3e0.c | 123 + .../full/functions/0x1400db770.c | 16 + .../full/functions/0x1400db7d0.c | 67 + .../full/functions/0x1400db900.c | 129 + .../full/functions/0x1400dbc80.c | 11 + .../full/functions/0x1400dbc90.c | 11 + .../full/functions/0x1400dbce0.c | 25 + .../full/functions/0x1400dbd40.c | 22 + .../full/functions/0x1400dbdb0.c | 29 + .../full/functions/0x1400dbe20.c | 30 + .../full/functions/0x1400dbe80.c | 44 + .../full/functions/0x1400dbf60.c | 83 + .../full/functions/0x1400dc0f0.c | 17 + .../full/functions/0x1400dc120.c | 193 + .../full/functions/0x1400dc510.c | 11 + .../full/functions/0x1400dc520.c | 11 + .../full/functions/0x1400dc530.c | 37 + .../full/functions/0x1400dc610.c | 75 + .../full/functions/0x1400dc7f0.c | 15 + .../full/functions/0x1400dc820.c | 29 + .../full/functions/0x1400dc890.c | 88 + .../full/functions/0x1400dca30.c | 271 + .../full/functions/0x1400dd0f0.c | 192 + .../full/functions/0x1400dd420.c | 33 + .../full/functions/0x1400dd500.c | 27 + .../full/functions/0x1400dd590.c | 115 + .../full/functions/0x1400dd740.c | 31 + .../full/functions/0x1400dd7e0.c | 49 + .../full/functions/0x1400dd8f0.c | 89 + .../full/functions/0x1400ddaa0.c | 29 + .../full/functions/0x1400ddb30.c | 17 + .../full/functions/0x1400ddb60.c | 41 + .../full/functions/0x1400ddc00.c | 24 + .../full/functions/0x1400ddc40.c | 46 + .../full/functions/0x1400ddd40.c | 24 + .../full/functions/0x1400ddd70.c | 41 + .../full/functions/0x1400dddd0.c | 27 + .../full/functions/0x1400dde20.c | 84 + .../full/functions/0x1400ddfa0.c | 16 + .../full/functions/0x1400ddfd0.c | 66 + .../full/functions/0x1400de150.c | 71 + .../full/functions/0x1400de250.c | 80 + .../full/functions/0x1400de380.c | 87 + .../full/functions/0x1400de4e0.c | 98 + .../full/functions/0x1400de680.c | 121 + .../full/functions/0x1400de960.c | 314 + .../full/functions/0x1400df100.c | 81 + .../full/functions/0x1400df270.c | 112 + .../full/functions/0x1400df440.c | 108 + .../full/functions/0x1400df680.c | 230 + .../full/functions/0x1400dfc40.c | 23 + .../full/functions/0x1400dfc70.c | 42 + .../full/functions/0x1400dfcf0.c | 41 + .../full/functions/0x1400dfd80.c | 35 + .../full/functions/0x1400dfe30.c | 16 + .../full/functions/0x1400dfe60.c | 19 + .../full/functions/0x1400dfea0.c | 34 + .../full/functions/0x1400dff20.c | 32 + .../full/functions/0x1400dffd0.c | 165 + .../full/functions/0x1400e0420.c | 129 + .../full/functions/0x1400e06f0.c | 50 + .../full/functions/0x1400e07a0.c | 13 + .../full/functions/0x1400e07e0.c | 132 + .../full/functions/0x1400e0a30.c | 234 + .../full/functions/0x1400e0ff0.c | 38 + .../full/functions/0x1400e1060.c | 29 + .../full/functions/0x1400e10a0.c | 230 + .../full/functions/0x1400e1620.c | 36 + .../full/functions/0x1400e1670.c | 73 + .../full/functions/0x1400e1830.c | 28 + .../full/functions/0x1400e18b0.c | 149 + .../full/functions/0x1400e1c20.c | 104 + .../full/functions/0x1400e1e10.c | 33 + .../full/functions/0x1400e1ea0.c | 168 + .../full/functions/0x1400e2170.c | 16 + .../full/functions/0x1400e21a0.c | 56 + .../full/functions/0x1400e22b0.c | 99 + .../full/functions/0x1400e2440.c | 22 + .../full/functions/0x1400e2470.c | 22 + .../full/functions/0x1400e24b0.c | 48 + .../full/functions/0x1400e2550.c | 71 + .../full/functions/0x1400e2680.c | 22 + .../full/functions/0x1400e26b0.c | 22 + .../full/functions/0x1400e26f0.c | 48 + .../full/functions/0x1400e2790.c | 71 + .../full/functions/0x1400e28c0.c | 16 + .../full/functions/0x1400e28d0.c | 51 + .../full/functions/0x1400e2a00.c | 87 + .../full/functions/0x1400e2b80.c | 28 + .../full/functions/0x1400e2bd0.c | 68 + .../full/functions/0x1400e2cd0.c | 27 + .../full/functions/0x1400e2d20.c | 66 + .../full/functions/0x1400e2e80.c | 30 + .../full/functions/0x1400e2ed0.c | 36 + .../full/functions/0x1400e2f30.c | 46 + .../full/functions/0x1400e3030.c | 72 + .../full/functions/0x1400e31c0.c | 14 + .../full/functions/0x1400e31e0.c | 18 + .../full/functions/0x1400e3220.c | 225 + .../full/functions/0x1400e3720.c | 82 + .../full/functions/0x1400e38e0.c | 50 + .../full/functions/0x1400e39f0.c | 54 + .../full/functions/0x1400e3ae0.c | 41 + .../full/functions/0x1400e3bd0.c | 38 + .../full/functions/0x1400e3cc0.c | 27 + .../full/functions/0x1400e3d60.c | 61 + .../full/functions/0x1400e3e70.c | 11 + .../full/functions/0x1400e3e80.c | 39 + .../full/functions/0x1400e3f70.c | 24 + .../full/functions/0x1400e3fe0.c | 68 + .../full/functions/0x1400e4160.c | 16 + .../full/functions/0x1400e41a0.c | 18 + .../full/functions/0x1400e41d0.c | 42 + .../full/functions/0x1400e4260.c | 103 + .../full/functions/0x1400e4460.c | 39 + .../full/functions/0x1400e4510.c | 20 + .../full/functions/0x1400e4550.c | 49 + .../full/functions/0x1400e4650.c | 90 + .../full/functions/0x1400e49e0.c | 122 + .../full/functions/0x1400e4be0.c | 75 + .../full/functions/0x1400e4d10.c | 75 + .../full/functions/0x1400e4e40.c | 120 + .../full/functions/0x1400e50a0.c | 77 + .../full/functions/0x1400e51d0.c | 73 + .../full/functions/0x1400e5340.c | 70 + .../full/functions/0x1400e5460.c | 128 + .../full/functions/0x1400e5700.c | 22 + .../full/functions/0x1400e5740.c | 79 + .../full/functions/0x1400e58a0.c | 96 + .../full/functions/0x1400e5a50.c | 43 + .../full/functions/0x1400e5af4.c | 44 + .../full/functions/0x1400e5ba4.c | 11 + .../full/functions/0x1400e5bd8.c | 32 + .../full/functions/0x1400e5c98.c | 52 + .../full/functions/0x1400e5d88.c | 11 + .../full/functions/0x1400e5da8.c | 14 + .../full/functions/0x1400e5dd8.c | 65 + .../full/functions/0x1400e5ee8.c | 1164 +++ .../full/functions/0x1400e7458.c | 24 + .../full/functions/0x1400e74b8.c | 50 + .../full/functions/0x1400e75d8.c | 32 + .../full/functions/0x1400e7638.c | 67 + .../full/functions/0x1400e7768.c | 53 + .../full/functions/0x1400e78ec.c | 63 + .../full/functions/0x1400e7b3c.c | 15 + .../full/functions/0x1400e7b6c.c | 34 + .../full/functions/0x1400e7bec.c | 359 + .../full/functions/0x1400e843c.c | 40 + .../full/functions/0x1400e851c.c | 65 + .../full/functions/0x1400e86fc.c | 34 + .../full/functions/0x1400e879c.c | 29 + .../full/functions/0x1400e884c.c | 82 + .../full/functions/0x1400e89ec.c | 43 + .../full/functions/0x1400e8adc.c | 75 + .../full/functions/0x1400e8c2c.c | 87 + .../full/functions/0x1400e8dec.c | 168 + .../full/functions/0x1400e920c.c | 205 + .../full/functions/0x1400e970c.c | 41 + .../full/functions/0x1400e97cc.c | 39 + .../full/functions/0x1400e98cc.c | 103 + .../full/functions/0x1400e9b3c.c | 11 + .../full/functions/0x1400e9ba8.c | 13 + .../full/functions/0x1400e9bc8.c | 13 + .../full/functions/0x1400e9bd4.c | 262 + .../full/functions/0x1400ea034.c | 260 + .../full/functions/0x1400ea49c.c | 133 + .../full/functions/0x1400ea77c.c | 28 + .../full/functions/0x1400ea828.c | 84 + .../full/functions/0x1400eab38.c | 88 + .../full/functions/0x1400eaed8.c | 19 + .../full/functions/0x1400eaef8.c | 22 + .../full/functions/0x1400eaf38.c | 45 + .../full/functions/0x1400eb028.c | 16 + .../full/functions/0x1400eb048.c | 38 + .../full/functions/0x1400eb0c8.c | 44 + .../full/functions/0x1400eb188.c | 129 + .../full/functions/0x1400eb388.c | 86 + .../full/functions/0x1400eb488.c | 259 + .../full/functions/0x1400eb9e8.c | 102 + .../full/functions/0x1400ebd18.c | 183 + .../full/functions/0x1400ec168.c | 39 + .../full/functions/0x1400ec1d8.c | 22 + .../full/functions/0x1400ec1f8.c | 33 + .../full/functions/0x1400ec278.c | 27 + .../full/functions/0x1400ec2d8.c | 32 + .../full/functions/0x1400ec388.c | 20 + .../full/functions/0x1400ec408.c | 43 + .../full/functions/0x1400ec4a8.c | 102 + .../full/functions/0x1400ec6e8.c | 24 + .../full/functions/0x1400ec778.c | 31 + .../full/functions/0x1400ec818.c | 84 + .../full/functions/0x1400eca38.c | 94 + .../full/functions/0x1400ecce4.c | 25 + .../full/functions/0x1400ecd60.c | 18 + .../full/functions/0x1400ecda0.c | 14 + .../full/functions/0x1400ecdf0.c | 18 + .../full/functions/0x1400ece50.c | 13 + .../full/functions/0x1400ece80.c | 22 + .../full/functions/0x1400ecee0.c | 24 + .../full/functions/0x1400ecf50.c | 41 + .../full/functions/0x1400ecff0.c | 40 + .../full/functions/0x1400ed0f0.c | 49 + .../full/functions/0x1400ed1f0.c | 24 + .../full/functions/0x1400ed240.c | 53 + .../full/functions/0x1400ed320.c | 33 + .../full/functions/0x1400ed3d0.c | 20 + .../full/functions/0x1400ed450.c | 61 + .../full/functions/0x1400ed5b0.c | 11 + .../full/functions/0x1400ed5e0.c | 11 + .../full/functions/0x1400ed610.c | 50 + .../full/functions/0x1400ed6f0.c | 41 + .../full/functions/0x1400ed7b0.c | 49 + .../full/functions/0x1400ed8a0.c | 106 + .../full/functions/0x1400edc20.c | 32 + .../full/functions/0x1400edeb0.c | 84 + .../full/functions/0x1400ee100.c | 39 + .../full/functions/0x1400ee1f0.c | 56 + .../full/functions/0x1400ee280.c | 50 + .../full/functions/0x1400ee3f0.c | 735 ++ .../full/functions/0x1400eede0.c | 127 + .../full/functions/0x1400ef080.c | 25 + .../full/functions/0x1400ef140.c | 15 + .../full/functions/0x1400ef190.c | 15 + .../full/functions/0x1400ef1d0.c | 25 + .../full/functions/0x1400ef250.c | 35 + .../full/functions/0x1400ef370.c | 35 + .../full/functions/0x1400ef460.c | 29 + .../full/functions/0x1400ef4d0.c | 63 + .../full/functions/0x1400ef640.c | 43 + .../full/functions/0x1400ef750.c | 15 + .../full/functions/0x1400ef7a0.c | 50 + .../full/functions/0x1400ef910.c | 41 + .../full/functions/0x1400efa40.c | 67 + .../full/functions/0x1400efc10.c | 13 + .../full/functions/0x1400efc20.c | 11 + .../full/functions/0x1400efc30.c | 11 + .../full/functions/0x1400efc40.c | 11 + .../full/functions/0x1400efc50.c | 13 + .../full/functions/0x1400efc60.c | 11 + .../full/functions/0x1400efc70.c | 11 + .../full/functions/0x1400efc80.c | 11 + .../full/functions/0x1400efc90.c | 11 + .../full/functions/0x1400efca0.c | 13 + .../full/functions/0x1400efcb0.c | 11 + .../full/functions/0x1400efcc0.c | 13 + .../full/functions/0x1400efcd0.c | 11 + .../full/functions/0x1400efce0.c | 11 + .../full/functions/0x1400efcf0.c | 11 + .../full/functions/0x1400efd10.c | 11 + .../full/functions/0x1400efd30.c | 11 + .../full/functions/0x1400efd50.c | 11 + .../full/functions/0x1400efd60.c | 11 + .../full/functions/0x1400efd70.c | 11 + .../full/functions/0x1400efd90.c | 11 + .../full/functions/0x1400efdb0.c | 11 + .../full/functions/0x1400efdc0.c | 11 + .../full/functions/0x1400efdd0.c | 11 + .../full/functions/0x1400efdf0.c | 11 + .../full/functions/0x1400efe00.c | 11 + .../full/functions/0x1400efe10.c | 11 + .../full/functions/0x1400efe20.c | 11 + .../full/functions/0x1400efe30.c | 11 + .../full/functions/0x1400efe60.c | 11 + .../full/functions/0x1400efe70.c | 11 + .../full/functions/0x1400efe80.c | 11 + .../full/functions/0x1400efe90.c | 11 + .../full/functions/0x1400efea0.c | 11 + .../full/functions/0x1400efeb0.c | 11 + .../full/functions/0x1400efed0.c | 14 + .../full/functions/0x1400eff00.c | 11 + .../full/functions/0x1400eff20.c | 11 + .../full/functions/0x1400eff30.c | 11 + .../full/functions/0x1400eff40.c | 11 + .../full/functions/0x1400eff50.c | 11 + .../full/functions/0x1400eff60.c | 11 + .../full/functions/0x1400eff70.c | 11 + .../full/functions/0x1400eff80.c | 11 + .../full/functions/0x1400eff90.c | 11 + .../full/functions/0x1400effa0.c | 11 + .../full/functions/0x1400effb0.c | 11 + .../full/functions/0x1400effc0.c | 11 + .../full/functions/0x1400effd0.c | 11 + .../full/functions/0x1400effe0.c | 11 + .../full/functions/0x1400efff0.c | 11 + .../full/functions/0x1400f0000.c | 11 + .../full/functions/0x1400f0010.c | 11 + .../full/functions/0x1400f0020.c | 11 + .../full/functions/0x1400f0030.c | 11 + .../full/functions/0x1400f0040.c | 11 + .../full/functions/0x1400f0050.c | 21 + .../full/functions/0x1400f0090.c | 11 + .../full/functions/0x1400f00a0.c | 11 + .../full/functions/0x1400f00c0.c | 11 + .../full/functions/0x1400f00d0.c | 11 + .../full/functions/0x1400f00f0.c | 11 + .../full/functions/0x1400f0100.c | 11 + .../full/functions/0x1400f0120.c | 11 + .../full/functions/0x1400f0150.c | 11 + .../full/functions/0x1400f0160.c | 11 + .../full/functions/0x1400f0190.c | 11 + .../full/functions/0x1400f01a0.c | 11 + .../full/functions/0x1400f01b0.c | 14 + .../full/functions/0x1400f01e0.c | 11 + .../full/functions/0x1400f01f0.c | 14 + .../full/functions/0x1400f0220.c | 14 + .../full/functions/0x1400f0250.c | 11 + .../full/functions/0x1400f0260.c | 11 + .../full/functions/0x1400f0270.c | 11 + .../full/functions/0x1400f0280.c | 11 + .../full/functions/0x1400f0290.c | 11 + .../full/functions/0x1400f02a0.c | 11 + .../full/functions/0x1400f02b0.c | 11 + .../full/functions/0x1400f02c0.c | 11 + .../full/functions/0x1400f02d0.c | 11 + .../full/functions/0x1400f02e0.c | 11 + .../full/functions/0x1400f02f0.c | 11 + .../full/functions/0x1400f0300.c | 11 + .../full/functions/0x1400f0320.c | 11 + .../full/functions/0x1400f0330.c | 11 + .../full/functions/0x1400f0340.c | 11 + .../full/functions/0x1400f0350.c | 11 + .../full/functions/0x1400f0360.c | 11 + .../full/functions/0x1400f0370.c | 11 + .../full/functions/0x1400f0380.c | 11 + .../full/functions/0x1400f0390.c | 11 + .../full/functions/0x1400f03b0.c | 11 + .../full/functions/0x1400f03d0.c | 11 + .../full/functions/0x1400f03f0.c | 11 + .../full/functions/0x1400f0400.c | 11 + .../full/functions/0x1400f0410.c | 11 + .../full/functions/0x1400f0430.c | 11 + .../full/functions/0x1400f0450.c | 11 + .../full/functions/0x1400f0470.c | 11 + .../full/functions/0x1400f0480.c | 11 + .../full/functions/0x1400f0490.c | 11 + .../full/functions/0x1400f04a0.c | 11 + .../full/functions/0x1400f04b0.c | 11 + .../full/functions/0x1400f04c0.c | 11 + .../full/functions/0x1400f04d0.c | 11 + .../full/functions/0x1400f04e0.c | 11 + .../full/functions/0x1400f04f0.c | 11 + .../full/functions/0x1400f0500.c | 11 + .../full/functions/0x1400f0510.c | 11 + .../full/functions/0x1400f0520.c | 11 + .../full/functions/0x1400f0530.c | 11 + .../full/functions/0x1400f0540.c | 14 + .../full/functions/0x1400f0570.c | 11 + .../full/functions/0x1400f0580.c | 11 + .../full/functions/0x1400f0590.c | 11 + .../full/functions/0x1400f05a0.c | 11 + .../full/functions/0x1400f05b0.c | 11 + .../full/functions/0x1400f05c0.c | 11 + .../full/functions/0x1400f05e0.c | 11 + .../full/functions/0x1400f05f0.c | 11 + .../full/functions/0x1400f0600.c | 11 + .../full/functions/0x1400f0610.c | 11 + .../full/functions/0x1400f0620.c | 11 + .../full/functions/0x1400f0630.c | 11 + .../full/functions/0x1400f0640.c | 11 + .../full/functions/0x1400f0650.c | 11 + .../full/functions/0x1400f0660.c | 11 + .../full/functions/0x1400f0670.c | 11 + .../full/functions/0x1400f0680.c | 11 + .../full/functions/0x1400f0690.c | 11 + .../full/functions/0x1400f06a0.c | 11 + .../full/functions/0x1400f06b0.c | 11 + .../full/functions/0x1400f06d0.c | 11 + .../full/functions/0x1400f06e0.c | 11 + .../full/functions/0x1400f06f0.c | 11 + .../full/functions/0x1400f0710.c | 11 + .../full/functions/0x1400f0720.c | 11 + .../full/functions/0x1400f0730.c | 11 + .../full/functions/0x1400f0740.c | 11 + .../full/functions/0x1400f0750.c | 11 + .../full/functions/0x1400f0760.c | 11 + .../full/functions/0x1400f0780.c | 10 + .../full/functions/0x1400f079b.c | 11 + .../full/functions/0x1400f07b6.c | 11 + .../full/functions/0x1400f07d4.c | 26 + .../full/functions/0x1400f0815.c | 21 + .../full/functions/0x1400f0850.c | 10 + .../full/functions/0x1400f0872.c | 11 + .../full/functions/0x1400f08a0.c | 11 + .../full/functions/0x1400f08b0.c | 11 + .../full/functions/0x1400f08c0.c | 11 + .../full/functions/0x1400f08d0.c | 11 + .../full/functions/0x1400f08f0.c | 11 + .../full/functions/0x1400f0900.c | 11 + .../full/functions/0x1400f0920.c | 11 + .../full/functions/0x1400f0930.c | 11 + .../full/functions/0x1400f0950.c | 11 + .../full/functions/0x1400f0960.c | 11 + .../full/functions/0x1400f0980.c | 10 + .../full/functions/0x1400f09a0.c | 11 + .../full/functions/0x1400f09c0.c | 11 + .../full/functions/0x1400f09d0.c | 11 + .../full/functions/0x1400f09e0.c | 11 + .../full/functions/0x1400f09f0.c | 11 + .../full/functions/0x1400f0a00.c | 11 + .../full/functions/0x1400f0a10.c | 11 + .../full/functions/0x1400f0a20.c | 11 + .../full/functions/0x1400f0a30.c | 11 + .../full/functions/0x1400f0a40.c | 11 + .../full/functions/0x1400f0a50.c | 11 + .../full/functions/0x1400f0a60.c | 11 + .../full/functions/0x1400f0a70.c | 11 + .../full/functions/0x1400f0a80.c | 11 + .../full/functions/0x1400f0a90.c | 10 + .../full/functions/0x1400f0ab0.c | 10 + .../full/functions/0x1400f0ad0.c | 14 + .../full/functions/0x1400f0b00.c | 11 + .../full/functions/0x1400f0b30.c | 11 + .../full/functions/0x1400f0b40.c | 11 + .../full/functions/0x1400f0b50.c | 11 + .../full/functions/0x1400f0b60.c | 11 + .../full/functions/0x1400f0b70.c | 11 + .../full/functions/0x1400f0b80.c | 11 + .../full/functions/0x1400f0b90.c | 11 + .../full/functions/0x1400f0ba0.c | 11 + .../full/functions/0x1400f0bb0.c | 11 + .../full/functions/0x1400f0bc0.c | 11 + .../full/functions/0x1400f0bd0.c | 11 + .../full/functions/0x1400f0be0.c | 11 + .../full/functions/0x1400f0bf0.c | 11 + .../full/functions/0x1400f0c00.c | 11 + .../full/functions/0x1400f0c10.c | 11 + .../full/functions/0x1400f0c20.c | 11 + .../full/functions/0x1400f0c30.c | 11 + .../full/functions/0x1400f0c40.c | 11 + .../full/functions/0x1400f0c50.c | 11 + .../full/functions/0x1400f0c60.c | 11 + .../full/functions/0x1400f0c70.c | 11 + .../full/functions/0x1400f0c80.c | 11 + .../full/functions/0x1400f0c90.c | 11 + .../full/functions/0x1400f0ca0.c | 11 + .../full/functions/0x1400f0cb0.c | 11 + .../full/functions/0x1400f0cc0.c | 11 + .../full/functions/0x1400f0cd0.c | 11 + .../full/functions/0x1400f0ce0.c | 11 + .../full/functions/0x1400f0cf0.c | 11 + .../full/functions/0x1400f0d00.c | 11 + .../full/functions/0x1400f0d10.c | 11 + .../full/functions/0x1400f0d20.c | 11 + .../full/functions/0x1400f0d30.c | 11 + .../full/functions/0x1400f0d40.c | 11 + .../full/functions/0x1400f0d50.c | 11 + .../full/functions/0x1400f0d60.c | 11 + .../full/functions/0x1400f0d70.c | 11 + .../full/functions/0x1400f0d80.c | 11 + .../full/functions/0x1400f0d90.c | 11 + .../full/functions/0x1400f0da0.c | 11 + .../full/functions/0x1400f0db0.c | 11 + .../full/functions/0x1400f0dc0.c | 11 + .../full/functions/0x1400f0dd0.c | 11 + .../full/functions/0x1400f0de0.c | 11 + .../full/functions/0x1400f0df0.c | 11 + .../full/functions/0x1400f0e00.c | 11 + .../full/functions/0x1400f0e10.c | 11 + .../full/functions/0x1400f0e20.c | 11 + .../full/functions/0x1400f0e30.c | 11 + .../full/functions/0x1400f0e40.c | 11 + .../full/functions/0x1400f0e50.c | 11 + .../full/functions/0x1400f0e60.c | 11 + .../full/functions/0x1400f0e70.c | 11 + .../full/functions/0x1400f0e80.c | 11 + .../full/functions/0x1400f0e90.c | 11 + .../full/functions/0x1400f0ea0.c | 11 + .../full/functions/0x1400f0eb0.c | 11 + .../full/functions/0x1400f0ec0.c | 11 + .../full/functions/0x1400f0ed0.c | 11 + .../full/functions/0x1400f0ee0.c | 11 + .../full/functions/0x1400f0ef0.c | 11 + .../full/functions/0x1400f0f00.c | 11 + .../full/functions/0x1400f0f10.c | 11 + .../full/functions/0x1400f0f20.c | 11 + .../full/functions/0x1400f0f30.c | 11 + .../full/functions/0x1400f0f40.c | 11 + .../full/functions/0x1400f0f50.c | 11 + .../full/functions/0x1400f0f60.c | 11 + .../full/functions/0x1400f0f70.c | 11 + .../full/functions/0x1400f0f80.c | 11 + .../full/functions/0x1400f0f90.c | 11 + .../full/functions/0x1400f0fa0.c | 11 + .../full/functions/0x1400f0fb0.c | 11 + .../full/functions/0x1400f0fc0.c | 11 + .../full/functions/0x1400f0fd0.c | 11 + .../full/functions/0x1400f0fe0.c | 11 + .../full/functions/0x1400f0ff0.c | 11 + .../full/functions/0x1400f1000.c | 11 + .../full/functions/0x1400f1010.c | 11 + .../full/functions/0x1400f1020.c | 11 + .../full/functions/0x1400f1030.c | 11 + .../full/functions/0x1400f1040.c | 11 + .../full/functions/0x1400f1050.c | 11 + .../full/functions/0x1400f1060.c | 11 + .../full/functions/0x1400f1070.c | 11 + .../full/functions/0x1400f1080.c | 11 + .../full/functions/0x1400f1090.c | 11 + .../full/functions/0x1400f10a0.c | 11 + .../full/functions/0x1400f10b0.c | 11 + .../full/functions/0x1400f10c0.c | 11 + .../full/functions/0x1400f10d0.c | 11 + .../full/functions/0x1400f10e0.c | 11 + .../full/functions/0x1400f10f0.c | 11 + .../full/functions/0x1400f1100.c | 11 + .../full/functions/0x1400f1110.c | 11 + .../full/functions/0x1400f1120.c | 11 + .../full/functions/0x1400f1130.c | 11 + .../full/functions/0x1400f1140.c | 11 + .../full/functions/0x1400f1150.c | 11 + .../full/functions/0x1400f1160.c | 11 + .../full/functions/0x1400f1170.c | 11 + .../full/functions/0x1400f1180.c | 11 + .../full/functions/0x1400f1190.c | 11 + .../full/functions/0x1400f11a0.c | 11 + .../full/functions/0x1400f11b0.c | 11 + .../full/functions/0x1400f11c0.c | 11 + .../full/functions/0x1400f11d0.c | 11 + .../full/functions/0x1400f11e0.c | 11 + .../full/functions/0x1400f11f0.c | 11 + .../full/functions/0x1400f1200.c | 11 + .../full/functions/0x1400f1210.c | 11 + .../full/functions/0x1400f1220.c | 11 + .../full/functions/0x1400f1230.c | 11 + .../full/functions/0x1400f1240.c | 11 + .../full/functions/0x1400f1260.c | 11 + .../full/functions/0x1400f1270.c | 11 + .../full/functions/0x1400f1290.c | 11 + .../full/functions/0x1400f12a0.c | 11 + .../full/functions/0x1400f12b0.c | 11 + .../full/functions/0x1400f12c0.c | 11 + .../full/functions/0x1400f12e0.c | 11 + .../full/functions/0x1400f12f0.c | 11 + .../full/functions/0x1400f1310.c | 11 + .../full/functions/0x1400f1320.c | 11 + .../full/functions/0x1400f1330.c | 11 + .../full/functions/0x1400f1340.c | 11 + .../full/functions/0x1400f1350.c | 11 + .../full/functions/0x1400f1360.c | 11 + .../full/functions/0x1400f1370.c | 11 + .../full/functions/0x1400f1380.c | 11 + .../full/functions/0x1400f1390.c | 11 + .../full/functions/0x1400f13a0.c | 11 + .../full/functions/0x1400f13b0.c | 11 + .../full/functions/0x1400f13c0.c | 11 + .../full/functions/0x1400f13e0.c | 11 + .../full/functions/0x1400f13f0.c | 11 + .../full/functions/0x1400f1410.c | 11 + .../full/functions/0x1400f1420.c | 15 + .../full/functions/0x1400f1460.c | 15 + .../full/functions/0x1400f14a0.c | 15 + .../full/functions/0x1400f14e0.c | 11 + .../full/functions/0x1400f14f0.c | 11 + .../full/functions/0x1400f1500.c | 11 + .../full/functions/0x1400f1510.c | 11 + .../full/functions/0x1400f1530.c | 11 + .../full/functions/0x1400f1540.c | 11 + .../full/functions/0x1400f1560.c | 11 + .../full/functions/0x1400f1570.c | 11 + .../full/functions/0x1400f1580.c | 11 + .../full/functions/0x1400f1590.c | 11 + .../full/functions/0x1400f15a0.c | 11 + .../full/functions/0x1400f15b0.c | 11 + .../full/functions/0x1400f15c0.c | 11 + .../full/functions/0x1400f15d0.c | 11 + .../full/functions/0x1400f15e0.c | 11 + .../full/functions/0x1400f15f0.c | 11 + .../full/functions/0x1400f1600.c | 11 + .../full/functions/0x1400f1610.c | 13 + .../full/functions/0x1400f1620.c | 14 + .../full/functions/0x1400f1650.c | 11 + .../full/functions/0x1400f1660.c | 11 + .../full/functions/0x1400f1670.c | 11 + .../full/functions/0x1400f1680.c | 11 + .../full/functions/0x1400f1690.c | 11 + .../full/functions/0x1400f16a0.c | 11 + .../full/functions/0x1400f16b0.c | 11 + .../full/functions/0x1400f16c0.c | 11 + .../full/functions/0x1400f16d0.c | 11 + .../full/functions/0x1400f16e0.c | 11 + .../full/functions/0x1400f16f0.c | 11 + .../full/functions/0x1400f1700.c | 11 + .../full/functions/0x1400f1710.c | 11 + .../full/functions/0x1400f1720.c | 11 + .../full/functions/0x1400f1730.c | 11 + .../full/functions/0x1400f1740.c | 11 + .../full/functions/0x1400f1760.c | 11 + .../full/functions/0x1400f1770.c | 11 + .../full/functions/0x1400f1790.c | 11 + .../full/functions/0x1400f17a0.c | 11 + .../full/functions/0x1400f17b0.c | 11 + .../full/functions/0x1400f17d0.c | 11 + .../full/functions/0x1400f17e0.c | 11 + .../full/functions/0x1400f17f0.c | 11 + .../full/functions/0x1400f1810.c | 13 + .../full/functions/0x1400f1820.c | 11 + .../full/functions/0x1400f1830.c | 13 + .../full/functions/0x1400f1840.c | 11 + .../full/functions/0x1400f1850.c | 11 + .../full/functions/0x1400f1860.c | 11 + .../full/functions/0x1400f1870.c | 11 + .../full/functions/0x1400f1880.c | 11 + .../full/functions/0x1400f1890.c | 11 + .../full/functions/0x1400f18a0.c | 11 + .../full/functions/0x1400f18b0.c | 11 + .../full/functions/0x1400f18c0.c | 11 + .../full/functions/0x1400f18d0.c | 11 + .../full/functions/0x1400f18e0.c | 11 + .../full/functions/0x1400f18f0.c | 11 + .../full/functions/0x1400f1900.c | 11 + .../full/functions/0x1400f1910.c | 11 + .../full/functions/0x1400f1920.c | 11 + .../full/functions/0x1400f1930.c | 11 + .../full/functions/0x1400f1940.c | 11 + .../full/functions/0x1400f1950.c | 11 + .../full/functions/0x1400f1960.c | 11 + .../full/functions/0x1400f1970.c | 11 + .../full/functions/0x1400f1980.c | 11 + .../full/functions/0x1400f1990.c | 11 + .../full/functions/0x1400f19b0.c | 11 + .../full/functions/0x1400f19c0.c | 11 + .../full/functions/0x1400f19d0.c | 11 + .../full/functions/0x1400f19e0.c | 11 + .../full/functions/0x1400f19f0.c | 11 + .../full/functions/0x1400f1a00.c | 11 + .../full/functions/0x1400f1a10.c | 11 + .../full/functions/0x1400f1a20.c | 11 + .../full/functions/0x1400f1a30.c | 11 + .../full/functions/0x1400f1a40.c | 11 + .../full/functions/0x1400f1a50.c | 11 + .../full/functions/0x1400f1a60.c | 11 + .../full/functions/0x1400f1a70.c | 11 + .../full/functions/0x1400f1a80.c | 11 + .../full/functions/0x1400f1a90.c | 11 + .../full/functions/0x1400f1aa0.c | 10 + .../full/functions/0x1400f1ac0.c | 11 + .../full/functions/0x1400f1ae0.c | 11 + .../full/functions/0x1400f1b00.c | 11 + .../full/functions/0x1400f1b20.c | 11 + .../full/functions/0x1400f1b30.c | 11 + .../full/functions/0x1400f1b40.c | 11 + .../full/functions/0x1400f1b50.c | 11 + .../full/functions/0x1400f1b60.c | 11 + .../full/functions/0x1400f1b70.c | 11 + .../full/functions/0x1400f1b80.c | 11 + .../full/functions/0x1400f1b90.c | 11 + .../full/functions/0x1400f1ba0.c | 11 + .../full/functions/0x1400f1bb0.c | 11 + .../full/functions/0x1400f1be0.c | 11 + .../full/functions/0x1400f1c10.c | 10 + .../full/functions/0x1400f1c30.c | 11 + .../full/functions/0x1400f1c40.c | 11 + .../full/functions/0x1400f1c50.c | 11 + .../full/functions/0x1400f1c70.c | 11 + .../full/functions/0x1400f1c80.c | 11 + .../full/functions/0x1400f1c90.c | 11 + .../full/functions/0x1400f1ca0.c | 11 + .../full/functions/0x1400f1cb0.c | 11 + .../full/functions/0x1400f1cc0.c | 11 + .../full/functions/0x1400f1cd0.c | 11 + .../full/functions/0x1400f1ce0.c | 11 + .../full/functions/0x1400f1cf0.c | 11 + .../full/functions/0x1400f1d00.c | 11 + .../full/functions/0x1400f1d10.c | 11 + .../full/functions/0x1400f1d20.c | 11 + .../full/functions/0x1400f1d40.c | 11 + .../full/functions/0x1400f1d50.c | 11 + .../full/functions/0x1400f1d60.c | 11 + .../full/functions/0x1400f1d70.c | 11 + .../full/functions/0x1400f1d80.c | 11 + .../full/functions/0x1400f1d90.c | 11 + .../full/functions/0x1400f1da0.c | 11 + .../full/functions/0x1400f1db0.c | 11 + .../full/functions/0x1400f1dc0.c | 11 + .../full/functions/0x1400f1dd0.c | 11 + .../full/functions/0x1400f1df0.c | 11 + .../full/functions/0x1400f1e00.c | 11 + .../full/functions/0x1400f1e20.c | 11 + .../full/functions/0x1400f1e30.c | 11 + .../full/functions/0x1400f1e40.c | 11 + .../full/functions/0x1400f1e50.c | 11 + .../full/functions/0x1400f1e60.c | 11 + .../full/functions/0x1400f1e80.c | 11 + .../full/functions/0x1400f1e90.c | 14 + .../full/functions/0x1400f1ec0.c | 11 + .../full/functions/0x1400f1ed0.c | 11 + .../full/functions/0x1400f1ee0.c | 11 + .../full/functions/0x1400f1ef0.c | 11 + .../full/functions/0x1400f1f00.c | 11 + .../full/functions/0x1400f1f10.c | 11 + .../full/functions/0x1400f1f20.c | 11 + .../full/functions/0x1400f1f30.c | 11 + .../full/functions/0x1400f1f40.c | 11 + .../full/functions/0x1400f1f50.c | 11 + .../full/functions/0x1400f1f60.c | 11 + .../full/functions/0x1400f1f70.c | 11 + .../full/functions/0x1400f1f80.c | 11 + .../full/functions/0x1400f1f90.c | 11 + .../full/functions/0x1400f1fa0.c | 11 + .../full/functions/0x1400f1fb0.c | 11 + .../full/functions/0x1400f1fc0.c | 11 + .../full/functions/0x1400f1fd0.c | 11 + .../full/functions/0x1400f1fe0.c | 11 + .../full/functions/0x1400f1ff0.c | 11 + .../full/functions/0x1400f2000.c | 11 + .../full/functions/0x1400f2010.c | 11 + .../full/functions/0x1400f2020.c | 11 + .../full/functions/0x1400f2030.c | 11 + .../full/functions/0x1400f2040.c | 11 + .../full/functions/0x1400f2050.c | 11 + .../full/functions/0x1400f2060.c | 11 + .../full/functions/0x1400f2070.c | 11 + .../full/functions/0x1400f2080.c | 11 + .../full/functions/0x1400f2090.c | 11 + .../full/functions/0x1400f20a0.c | 11 + .../full/functions/0x1400f20b0.c | 11 + .../full/functions/0x1400f20c0.c | 11 + .../full/functions/0x1400f20d0.c | 11 + .../full/functions/0x1400f20e0.c | 11 + .../full/functions/0x1400f20f0.c | 11 + .../full/functions/0x1400f2100.c | 11 + .../full/functions/0x1400f2110.c | 11 + .../full/functions/0x1400f2120.c | 11 + .../full/functions/0x1400f2130.c | 11 + .../full/functions/0x1400f2140.c | 11 + .../full/functions/0x1400f2150.c | 11 + .../full/functions/0x1400f2160.c | 11 + .../full/functions/0x1400f2170.c | 11 + .../full/functions/0x1400f2180.c | 11 + .../full/functions/0x1400f2190.c | 11 + .../full/functions/0x1400f21a0.c | 11 + .../full/functions/0x1400f21b0.c | 11 + .../full/functions/0x1400f21c0.c | 11 + .../full/functions/0x1400f21d0.c | 14 + .../full/functions/0x1400f2200.c | 11 + .../full/functions/0x1400f2210.c | 11 + .../full/functions/0x1400f2220.c | 11 + .../full/functions/0x1400f2230.c | 11 + .../full/functions/0x1400f2240.c | 11 + .../full/functions/0x1400f2250.c | 11 + .../full/functions/0x1400f2260.c | 11 + .../full/functions/0x1400f2280.c | 11 + .../full/functions/0x1400f2290.c | 11 + .../full/functions/0x1400f22b0.c | 11 + .../full/functions/0x1400f22c0.c | 11 + .../full/functions/0x1400f22d0.c | 11 + .../full/functions/0x1400f22e0.c | 11 + .../full/functions/0x1400f22f0.c | 11 + .../full/functions/0x1400f2300.c | 11 + .../full/functions/0x1400f2310.c | 11 + .../full/functions/0x1400f2320.c | 11 + .../full/functions/0x1400f2330.c | 11 + .../full/functions/0x1400f2340.c | 11 + .../full/functions/0x1400f2350.c | 11 + .../full/functions/0x1400f2360.c | 11 + .../full/functions/0x1400f2370.c | 11 + .../full/functions/0x1400f2390.c | 11 + .../full/functions/0x1400f23b0.c | 11 + .../full/functions/0x1400f23c0.c | 11 + .../full/functions/0x1400f23d0.c | 11 + .../full/functions/0x1400f23e0.c | 11 + .../full/functions/0x1400f23f0.c | 11 + .../full/functions/0x1400f2400.c | 11 + .../full/functions/0x1400f2410.c | 11 + .../full/functions/0x1400f2420.c | 11 + .../full/functions/0x1400f2430.c | 11 + .../full/functions/0x1400f2450.c | 11 + .../full/functions/0x1400f2460.c | 11 + .../full/functions/0x1400f2480.c | 11 + .../full/functions/0x1400f2490.c | 11 + .../full/functions/0x1400f24a0.c | 11 + .../full/functions/0x1400f24b0.c | 11 + .../full/functions/0x1400f24c0.c | 11 + .../full/functions/0x1400f24d0.c | 11 + .../full/functions/0x1400f24e0.c | 11 + .../full/functions/0x1400f24f0.c | 11 + .../full/functions/0x1400f2500.c | 11 + .../full/functions/0x1400f2510.c | 11 + .../full/functions/0x1400f2520.c | 11 + .../full/functions/0x1400f2530.c | 11 + .../full/functions/0x1400f2540.c | 11 + .../full/functions/0x1400f2550.c | 11 + .../full/functions/0x1400f2560.c | 11 + .../full/functions/0x1400f2570.c | 11 + .../full/functions/0x1400f2580.c | 11 + .../full/functions/0x1400f2590.c | 11 + .../full/functions/0x1400f25a0.c | 11 + .../full/functions/0x1400f25b0.c | 11 + .../full/functions/0x1400f25c0.c | 11 + .../full/functions/0x1400f25d0.c | 11 + .../full/functions/0x1400f25e0.c | 22 + .../full/functions/0x1400f2650.c | 11 + .../full/functions/0x1400f2660.c | 22 + .../full/functions/0x1400f26d0.c | 11 + .../full/functions/0x1400f26e0.c | 22 + .../full/functions/0x1400f2750.c | 11 + .../full/functions/0x1400f2760.c | 10 + .../full/functions/0x1400f2780.c | 11 + .../full/functions/0x1400f2790.c | 11 + .../full/functions/0x1400f27a0.c | 11 + .../full/functions/0x1400f27b0.c | 11 + .../full/functions/0x1400f27d0.c | 11 + .../full/functions/0x1400f27e0.c | 11 + .../full/functions/0x1400f27f0.c | 11 + .../full/functions/0x1400f2800.c | 11 + .../full/functions/0x1400f2810.c | 11 + .../full/functions/0x1400f2820.c | 11 + .../full/functions/0x1400f2830.c | 11 + .../full/functions/0x1400f2840.c | 11 + .../full/functions/0x1400f2850.c | 11 + .../full/functions/0x1400f2860.c | 11 + .../full/functions/0x1400f2870.c | 11 + .../full/functions/0x1400f2880.c | 11 + .../full/functions/0x1400f2890.c | 11 + .../full/functions/0x1400f28a0.c | 11 + .../full/functions/0x1400f28b0.c | 11 + .../full/functions/0x1400f28c0.c | 11 + .../full/functions/0x1400f28d0.c | 11 + .../full/functions/0x1400f28e0.c | 11 + .../full/functions/0x1400f28f0.c | 11 + .../full/functions/0x1400f2900.c | 11 + .../full/functions/0x1400f2910.c | 11 + .../full/functions/0x1400f2920.c | 11 + .../full/functions/0x1400f2940.c | 11 + .../full/functions/0x1400f2950.c | 11 + .../full/functions/0x1400f2970.c | 11 + .../full/functions/0x1400f2980.c | 11 + .../full/functions/0x1400f29a0.c | 11 + .../full/functions/0x1400f29b0.c | 11 + .../full/functions/0x1400f29c0.c | 11 + .../full/functions/0x1400f29d0.c | 11 + .../full/functions/0x1400f29e0.c | 11 + .../full/functions/0x1400f29f0.c | 11 + .../full/functions/0x1400f2a00.c | 11 + .../full/functions/0x1400f2a10.c | 11 + .../full/functions/0x1400f2a30.c | 11 + .../full/functions/0x1400f2a50.c | 12 + .../full/functions/0x1400f2a70.c | 11 + .../full/functions/0x1400f2a90.c | 11 + .../full/functions/0x1400f2ab0.c | 11 + .../full/functions/0x1400f2ad0.c | 11 + .../full/functions/0x1400f2af0.c | 11 + .../full/functions/0x1400f2b10.c | 11 + .../full/functions/0x1400f2b30.c | 11 + .../full/functions/0x1400f2b50.c | 11 + .../full/functions/0x1400f2b70.c | 11 + .../full/functions/0x1400f2b90.c | 11 + .../full/functions/0x1400f2bb0.c | 11 + .../full/functions/0x1400f2bd0.c | 11 + .../full/functions/0x1400f2bf0.c | 11 + .../full/functions/0x1400f2c10.c | 11 + .../full/functions/0x1400f2c30.c | 11 + .../full/functions/0x1400f2c40.c | 11 + .../full/functions/0x1400f2c60.c | 11 + .../full/functions/0x1400f2c80.c | 11 + .../full/functions/0x1400f2ca0.c | 11 + .../full/functions/0x1400f2cc0.c | 11 + .../full/functions/0x1400f2ce0.c | 11 + .../full/functions/0x1400f2d00.c | 11 + .../full/functions/0x1400f2d20.c | 11 + .../full/functions/0x1400f2d40.c | 11 + .../full/functions/0x1400f2d60.c | 11 + .../full/functions/0x1400f2d80.c | 11 + .../full/functions/0x1400f2da0.c | 11 + .../full/functions/0x1400f2dc0.c | 11 + .../full/functions/0x1400f2de0.c | 11 + .../full/functions/0x1400f2e00.c | 11 + .../full/functions/0x1400f2e20.c | 11 + .../full/functions/0x1400f2e30.c | 12 + .../full/functions/0x1400f2e50.c | 11 + .../full/functions/0x1400f2e70.c | 11 + .../full/functions/0x1400f2e90.c | 11 + .../full/functions/0x1400f2eb0.c | 11 + .../full/functions/0x1400f2ed0.c | 11 + .../full/functions/0x1400f2ef0.c | 11 + .../full/functions/0x1400f2f10.c | 11 + .../full/functions/0x1400f2f30.c | 11 + .../full/functions/0x1400f2f40.c | 11 + .../full/functions/0x1400f2f50.c | 11 + .../full/functions/0x1400f2f60.c | 11 + .../full/functions/0x1400f2f70.c | 11 + .../full/functions/0x1400f2fa0.c | 11 + .../full/functions/0x1400f2fb0.c | 11 + .../full/functions/0x1400f2fc0.c | 11 + .../full/functions/0x1400f2fd0.c | 11 + .../full/functions/0x1400f2fe0.c | 11 + .../full/functions/0x1400f2ff0.c | 11 + .../full/functions/0x1400f3000.c | 11 + .../full/functions/0x1400f3010.c | 11 + .../full/functions/0x1400f3020.c | 11 + .../full/functions/0x1400f3030.c | 11 + .../full/functions/0x1400f3040.c | 11 + .../full/functions/0x1400f3050.c | 11 + .../full/functions/0x1400f3060.c | 11 + .../full/functions/0x1400f3070.c | 11 + .../full/functions/0x1400f3080.c | 11 + .../full/functions/0x1400f3090.c | 11 + .../full/functions/0x1400f30a0.c | 11 + .../full/functions/0x1400f30b0.c | 11 + .../full/functions/0x1400f30c0.c | 11 + .../full/functions/0x1400f30d0.c | 11 + .../full/functions/0x1400f30e0.c | 11 + .../full/functions/0x1400f30f0.c | 11 + .../full/functions/0x1400f3100.c | 11 + .../full/functions/0x1400f3110.c | 11 + .../full/functions/0x1400f3120.c | 11 + .../full/functions/0x1400f3130.c | 11 + .../full/functions/0x1400f3140.c | 11 + .../full/functions/0x1400f3150.c | 11 + .../full/functions/0x1400f3160.c | 11 + .../full/functions/0x1400f3170.c | 11 + .../full/functions/0x1400f3180.c | 11 + .../full/functions/0x1400f3190.c | 11 + .../full/functions/0x1400f31a0.c | 11 + .../full/functions/0x1400f31b0.c | 11 + .../full/functions/0x1400f31c0.c | 11 + .../full/functions/0x1400f31d0.c | 11 + .../full/functions/0x1400f31e0.c | 11 + .../full/functions/0x1400f31f0.c | 59 + .../full/functions/0x1400f3350.c | 11 + .../full/functions/0x1400f3360.c | 11 + .../full/functions/0x1400f3370.c | 11 + .../full/functions/0x1400f3380.c | 11 + .../full/functions/0x1400f3390.c | 11 + .../full/functions/0x1400f33a0.c | 11 + .../full/functions/0x1400f33b0.c | 11 + .../full/functions/0x1400f33c0.c | 14 + .../full/functions/0x1400f33f0.c | 14 + .../full/functions/0x1400f3420.c | 14 + .../full/functions/0x1400f3450.c | 14 + .../full/functions/0x1400f3480.c | 14 + .../full/functions/0x1400f34b0.c | 14 + .../full/functions/0x1400f34e0.c | 14 + .../full/functions/0x1400f3510.c | 14 + .../full/functions/0x1400f3540.c | 11 + .../full/functions/0x1400f3550.c | 11 + .../full/functions/0x1400f3560.c | 11 + .../full/functions/0x1400f3570.c | 11 + .../full/functions/0x1400f3580.c | 11 + .../full/functions/0x1400f3590.c | 11 + .../full/functions/0x1400f35a0.c | 11 + .../full/functions/0x1400f35b0.c | 11 + .../full/functions/0x1400f35c0.c | 11 + .../full/functions/0x1400f35d0.c | 11 + .../full/functions/0x1400f35e0.c | 11 + .../full/functions/0x1400f3600.c | 11 + .../full/functions/0x1400f3620.c | 11 + .../full/functions/0x1400f3630.c | 11 + .../full/functions/0x1400f3640.c | 11 + .../full/functions/0x1400f3650.c | 11 + .../full/functions/0x1400f3660.c | 11 + .../full/functions/0x1400f3670.c | 11 + .../full/functions/0x1400f3680.c | 11 + .../full/functions/0x1400f3690.c | 11 + .../full/functions/0x1400f36a0.c | 11 + .../full/functions/0x1400f36b0.c | 11 + .../full/functions/0x1400f36c0.c | 11 + .../full/functions/0x1400f36d0.c | 11 + .../full/functions/0x1400f36e0.c | 11 + .../full/functions/0x1400f36f0.c | 11 + .../full/functions/0x1400f3700.c | 11 + .../full/functions/0x1400f3710.c | 11 + .../full/functions/0x1400f3720.c | 11 + .../full/functions/0x1400f3730.c | 11 + .../full/functions/0x1400f3740.c | 11 + .../full/functions/0x1400f3750.c | 11 + .../full/functions/0x1400f3760.c | 11 + .../full/functions/0x1400f3770.c | 11 + .../full/functions/0x1400f3780.c | 11 + .../full/functions/0x1400f3790.c | 11 + .../full/functions/0x1400f37a0.c | 11 + .../full/functions/0x1400f37b0.c | 11 + .../full/functions/0x1400f37c0.c | 11 + .../full/functions/0x1400f37e0.c | 11 + .../full/functions/0x1400f3810.c | 11 + .../full/functions/0x1400f3820.c | 11 + .../full/functions/0x1400f3830.c | 11 + .../full/functions/0x1400f3840.c | 11 + .../full/functions/0x1400f3850.c | 11 + .../full/functions/0x1400f3860.c | 11 + .../full/functions/0x1400f3870.c | 11 + .../full/functions/0x1400f3880.c | 11 + .../full/functions/0x1400f3890.c | 11 + .../full/functions/0x1400f38a0.c | 11 + .../full/functions/0x1400f38b0.c | 11 + .../full/functions/0x1400f38c0.c | 11 + .../full/functions/0x1400f38d0.c | 11 + .../full/functions/0x1400f38e0.c | 11 + .../full/functions/0x1400f38f0.c | 11 + .../full/functions/0x1400f3900.c | 11 + .../full/functions/0x1400f3910.c | 11 + .../full/functions/0x1400f3920.c | 11 + .../full/functions/0x1400f3930.c | 11 + .../full/functions/0x1400f3940.c | 11 + .../full/functions/0x1400f3950.c | 11 + .../full/functions/0x1400f3960.c | 11 + .../full/functions/0x1400f3970.c | 11 + .../full/functions/0x1400f3990.c | 11 + .../full/functions/0x1400f39c0.c | 11 + .../full/functions/0x1400f39d0.c | 11 + .../full/functions/0x1400f39e0.c | 11 + .../full/functions/0x1400f39f0.c | 11 + .../full/functions/0x1400f3a00.c | 11 + .../full/functions/0x1400f3a10.c | 11 + .../full/functions/0x1400f3a20.c | 11 + .../full/functions/0x1400f3a30.c | 11 + .../full/functions/0x1400f3a40.c | 11 + .../full/functions/0x1400f3a50.c | 11 + .../full/functions/0x1400f3a60.c | 11 + .../full/functions/0x1400f3a70.c | 11 + .../full/functions/0x1400f3a80.c | 11 + .../full/functions/0x1400f3a90.c | 11 + .../full/functions/0x1400f3aa0.c | 11 + .../full/functions/0x1400f3ab0.c | 11 + .../full/functions/0x1400f3ac0.c | 11 + .../full/functions/0x1400f3ad0.c | 11 + .../full/functions/0x1400f3ae0.c | 11 + .../full/functions/0x1400f3af0.c | 11 + .../full/functions/0x1400f3b00.c | 11 + .../full/functions/0x1400f3b10.c | 11 + .../full/functions/0x1400f3b20.c | 11 + .../full/functions/0x1400f3b30.c | 11 + .../full/functions/0x1400f3b40.c | 11 + .../full/functions/0x1400f3b50.c | 11 + .../full/functions/0x1400f3b60.c | 11 + .../full/functions/0x1400f3b70.c | 11 + .../full/functions/0x1400f3b80.c | 11 + .../full/functions/0x1400f3b90.c | 11 + .../full/functions/0x1400f3bb0.c | 11 + .../full/functions/0x1400f3bc0.c | 11 + .../full/functions/0x1400f3bd0.c | 11 + .../full/functions/0x1400f3be0.c | 11 + .../full/functions/0x1400f3bf0.c | 11 + .../full/functions/0x1400f3c00.c | 11 + .../full/functions/0x1400f3c10.c | 11 + .../full/functions/0x1400f3c20.c | 11 + .../full/functions/0x1400f3c30.c | 11 + .../full/functions/0x1400f3c40.c | 11 + .../full/functions/0x1400f3c50.c | 11 + .../full/functions/0x1400f3c60.c | 11 + .../full/functions/0x1400f3c70.c | 11 + .../full/functions/0x1400f3c80.c | 11 + .../full/functions/0x1400f3c90.c | 11 + .../full/functions/0x1400f3ca0.c | 11 + .../full/functions/0x1400f3cb0.c | 11 + .../full/functions/0x1400f3cc0.c | 11 + .../full/functions/0x1400f3cd0.c | 11 + .../full/functions/0x1400f3ce0.c | 11 + .../full/functions/0x1400f3cf0.c | 11 + .../full/functions/0x1400f3d00.c | 11 + .../full/functions/0x1400f3d10.c | 11 + .../full/functions/0x1400f3d20.c | 11 + .../full/functions/0x1400f3d30.c | 11 + .../full/functions/0x1400f3d40.c | 11 + .../full/functions/0x1400f3d50.c | 11 + .../full/functions/0x1400f3d60.c | 11 + .../full/functions/0x1400f3d70.c | 11 + .../full/functions/0x1400f3d80.c | 11 + .../full/functions/0x1400f3d90.c | 11 + .../full/functions/0x1400f3da0.c | 11 + .../full/functions/0x1400f3db0.c | 11 + .../full/functions/0x1400f3dc0.c | 11 + .../full/functions/0x1400f3dd0.c | 11 + .../full/functions/0x1400f3de0.c | 11 + .../full/functions/0x1400f3df0.c | 11 + .../full/functions/0x1400f3e00.c | 11 + .../full/functions/0x1400f3e10.c | 11 + .../full/functions/0x1400f3e20.c | 11 + .../full/functions/0x1400f3e30.c | 11 + .../full/functions/0x1400f3e40.c | 11 + .../full/functions/0x1400f3e50.c | 11 + .../full/functions/0x1400f3e60.c | 11 + .../full/functions/0x1400f3e70.c | 11 + .../full/functions/0x1400f3e80.c | 11 + .../full/functions/0x1400f3ea0.c | 11 + .../full/functions/0x1400f3ec0.c | 12 + .../full/functions/0x1400f3ee0.c | 11 + .../full/functions/0x1400f3f00.c | 11 + .../full/functions/0x1400f3f20.c | 11 + .../full/functions/0x1400f3f40.c | 11 + .../full/functions/0x1400f3f60.c | 11 + .../full/functions/0x1400f3f80.c | 11 + .../full/functions/0x1400f3fa0.c | 11 + .../full/functions/0x1400f3fc0.c | 11 + .../full/functions/0x1400f3fe0.c | 11 + .../full/functions/0x1400f4000.c | 11 + .../full/functions/0x1400f4020.c | 11 + .../full/functions/0x1400f4040.c | 11 + .../full/functions/0x1400f4060.c | 11 + .../full/functions/0x1400f4080.c | 11 + .../full/functions/0x1400f40a0.c | 11 + .../full/functions/0x1400f40c0.c | 11 + .../full/functions/0x1400f40e0.c | 11 + .../full/functions/0x1400f4100.c | 11 + .../full/functions/0x1400f4120.c | 11 + .../full/functions/0x1400f4140.c | 11 + .../full/functions/0x1400f4160.c | 11 + .../full/functions/0x1400f4180.c | 11 + .../full/functions/0x1400f41a0.c | 11 + .../full/functions/0x1400f41c0.c | 11 + .../full/functions/0x1400f41e0.c | 11 + .../full/functions/0x1400f4200.c | 11 + .../full/functions/0x1400f4220.c | 11 + .../full/functions/0x1400f4240.c | 11 + .../full/functions/0x1400f4260.c | 11 + .../full/functions/0x1400f4280.c | 12 + .../full/functions/0x1400f42a0.c | 11 + .../full/functions/0x1400f42c0.c | 11 + .../full/functions/0x1400f42e0.c | 11 + .../full/functions/0x1400f4300.c | 11 + .../full/functions/0x1400f4320.c | 11 + .../full/functions/0x1400f4340.c | 11 + .../full/functions/0x1400f4360.c | 11 + .../full/functions/0x1400f4380.c | 11 + .../full/functions/0x1400f4390.c | 11 + .../full/functions/0x1400f43a0.c | 11 + .../full/functions/0x1400f43b0.c | 11 + .../full/functions/0x1400f43c0.c | 11 + .../full/functions/0x1400f43d0.c | 11 + .../full/functions/0x1400f43e0.c | 11 + .../full/functions/0x1400f43f0.c | 11 + .../full/functions/0x1400f4400.c | 11 + .../full/functions/0x1400f4420.c | 14 + .../full/functions/0x1400f4450.c | 14 + .../full/functions/0x1400f4480.c | 11 + .../full/functions/0x1400f4490.c | 11 + .../full/functions/0x1400f44a0.c | 11 + .../full/functions/0x1400f44b0.c | 11 + .../full/functions/0x1400f44c0.c | 11 + .../full/functions/0x1400f44d0.c | 11 + .../full/functions/0x1400f44e0.c | 11 + .../full/functions/0x1400f44f0.c | 11 + .../full/functions/0x1400f4500.c | 11 + .../full/functions/0x1400f4510.c | 11 + .../full/functions/0x1400f4520.c | 11 + .../full/functions/0x1400f4530.c | 11 + .../full/functions/0x1400f4540.c | 11 + .../full/functions/0x1400f4550.c | 11 + .../full/functions/0x1400f4560.c | 11 + .../full/functions/0x1400f4570.c | 15 + .../full/functions/0x1400f45c0.c | 15 + .../full/functions/0x1400f4610.c | 11 + .../full/functions/0x1400f4620.c | 11 + .../full/functions/0x1400f4630.c | 11 + .../full/functions/0x1400f4640.c | 11 + .../full/functions/0x1400f4650.c | 11 + .../full/functions/0x1400f4660.c | 11 + .../full/functions/0x1400f4670.c | 14 + .../full/functions/0x1400f46a0.c | 11 + .../full/functions/0x1400f46b0.c | 11 + .../full/functions/0x1400f46c0.c | 22 + .../full/functions/0x1400f4710.c | 11 + .../full/functions/0x1400f4720.c | 11 + .../full/functions/0x1400f4730.c | 11 + .../full/functions/0x1400f4740.c | 11 + .../full/functions/0x1400f4750.c | 11 + .../full/functions/0x1400f4760.c | 11 + .../full/functions/0x1400f4770.c | 11 + .../full/functions/0x1400f4790.c | 11 + .../full/functions/0x1400f47a0.c | 11 + .../full/functions/0x1400f47c0.c | 11 + .../full/functions/0x1400f47d0.c | 11 + .../full/functions/0x1400f47e0.c | 11 + .../full/functions/0x1400f47f0.c | 11 + .../full/functions/0x1400f4810.c | 11 + .../full/functions/0x1400f4830.c | 11 + .../full/functions/0x1400f4840.c | 11 + .../full/functions/0x1400f4860.c | 11 + .../full/functions/0x1400f4870.c | 11 + .../full/functions/0x1400f4880.c | 11 + .../full/functions/0x1400f4890.c | 11 + .../full/functions/0x1400f48b0.c | 14 + .../full/functions/0x1400f48e0.c | 11 + .../full/functions/0x1400f48f0.c | 11 + .../full/functions/0x1400f4900.c | 11 + .../full/functions/0x1400f4910.c | 11 + .../full/functions/0x1400f4920.c | 11 + .../full/functions/0x1400f4940.c | 11 + .../full/functions/0x1400f4960.c | 11 + .../full/functions/0x1400f4970.c | 11 + .../full/functions/0x1400f4980.c | 11 + .../full/functions/0x1400f4990.c | 11 + .../full/functions/0x1400f49a0.c | 11 + .../full/functions/0x1400f49b0.c | 11 + .../full/functions/0x1400f49c0.c | 11 + .../full/functions/0x1400f49d0.c | 11 + .../full/functions/0x1400f49e0.c | 11 + .../full/functions/0x1400f49f0.c | 11 + .../full/functions/0x1400f4a00.c | 11 + .../full/functions/0x1400f4a10.c | 11 + .../full/functions/0x1400f4a20.c | 11 + .../full/functions/0x1400f4a40.c | 11 + .../full/functions/0x1400f4a50.c | 11 + .../full/functions/0x1400f4a60.c | 11 + .../full/functions/0x1400f4a70.c | 11 + .../full/functions/0x1400f4a80.c | 11 + .../full/functions/0x1400f4aa0.c | 11 + .../full/functions/0x1400f4ab0.c | 11 + .../full/functions/0x1400f4ac0.c | 11 + .../full/functions/0x1400f4ad0.c | 11 + .../full/functions/0x1400f4ae0.c | 11 + .../full/functions/0x1400f4af0.c | 11 + .../full/functions/0x1400f4b10.c | 11 + .../full/functions/0x1400f4b20.c | 11 + .../full/functions/0x1400f4b30.c | 11 + .../full/functions/0x1400f4b40.c | 11 + .../full/functions/0x1400f4b50.c | 11 + .../full/functions/0x1400f4b60.c | 11 + .../full/functions/0x1400f4b70.c | 11 + .../full/functions/0x1400f4b80.c | 11 + .../full/functions/0x1400f4b90.c | 11 + .../full/functions/0x1400f4ba0.c | 11 + .../full/functions/0x1400f4bb0.c | 11 + .../full/functions/0x1400f4bc0.c | 11 + .../full/functions/0x1400f4bd0.c | 11 + .../full/functions/0x1400f4be0.c | 11 + .../full/functions/0x1400f4bf0.c | 11 + .../full/functions/0x1400f4c00.c | 11 + .../full/functions/0x1400f4c10.c | 11 + .../full/functions/0x1400f4c20.c | 11 + .../full/functions/0x1400f4c30.c | 11 + .../full/functions/0x1400f4c40.c | 11 + .../full/functions/0x1400f4c60.c | 11 + .../full/functions/0x1400f4c70.c | 11 + .../full/functions/0x1400f4c90.c | 11 + .../full/functions/0x1400f4ca0.c | 11 + .../full/functions/0x1400f4cc0.c | 11 + .../full/functions/0x1400f4ce0.c | 11 + .../full/functions/0x1400f4cf0.c | 11 + .../full/functions/0x1400f4d00.c | 11 + .../full/functions/0x1400f4d10.c | 11 + .../full/functions/0x1400f4d20.c | 11 + .../full/functions/0x1400f4d30.c | 11 + .../full/functions/0x1400f4d40.c | 11 + .../full/functions/0x1400f4d50.c | 11 + .../full/functions/0x1400f4d70.c | 11 + .../full/functions/0x1400f4d80.c | 11 + .../full/functions/0x1400f4da0.c | 11 + .../full/functions/0x1400f4dc0.c | 11 + .../full/functions/0x1400f4dd0.c | 11 + .../full/functions/0x1400f4de0.c | 11 + .../full/functions/0x1400f4df0.c | 11 + .../full/functions/0x1400f4e00.c | 11 + .../full/functions/0x1400f4e10.c | 11 + .../full/functions/0x1400f4e20.c | 11 + .../full/functions/0x1400f4e30.c | 11 + .../full/functions/0x1400f4e40.c | 11 + .../full/functions/0x1400f4e50.c | 11 + .../full/functions/0x1400f4e60.c | 11 + .../full/functions/0x1400f4e70.c | 11 + .../full/functions/0x1400f4e80.c | 11 + .../full/functions/0x1400f4e90.c | 11 + .../full/functions/0x1400f4ea0.c | 11 + .../full/functions/0x1400f4eb0.c | 11 + .../full/functions/0x1400f4ec0.c | 11 + .../full/functions/0x1400f4ee0.c | 11 + .../full/functions/0x1400f4ef0.c | 11 + .../full/functions/0x1400f4f10.c | 11 + .../full/functions/0x1400f4f30.c | 11 + .../full/functions/0x1400f4f40.c | 11 + .../full/functions/0x1400f4f60.c | 11 + .../full/functions/0x1400f4f80.c | 11 + .../full/functions/0x1400f4f90.c | 11 + .../full/functions/0x1400f4fa0.c | 11 + .../full/functions/0x1400f4fb0.c | 11 + .../full/functions/0x1400f4fc0.c | 11 + .../full/functions/0x1400f4fd0.c | 11 + .../full/functions/0x1400f4fe0.c | 11 + .../full/functions/0x1400f4ff0.c | 11 + .../full/functions/0x1400f5000.c | 11 + .../full/functions/0x1400f5010.c | 11 + .../full/functions/0x1400f5020.c | 11 + .../full/functions/0x1400f5030.c | 11 + .../full/functions/0x1400f5040.c | 11 + .../full/functions/0x1400f5050.c | 11 + .../full/functions/0x1400f5060.c | 11 + .../full/functions/0x1400f5070.c | 11 + .../full/functions/0x1400f5080.c | 11 + .../full/functions/0x1400f5090.c | 11 + .../full/functions/0x1400f50a0.c | 11 + .../full/functions/0x1400f50b0.c | 11 + .../full/functions/0x1400f50c0.c | 11 + .../full/functions/0x1400f50d0.c | 11 + .../full/functions/0x1400f50e0.c | 11 + .../full/functions/0x1400f50f0.c | 11 + .../full/functions/0x1400f5100.c | 11 + .../full/functions/0x1400f5110.c | 11 + .../full/functions/0x1400f5120.c | 11 + .../full/functions/0x1400f5130.c | 11 + .../full/functions/0x1400f5140.c | 11 + .../full/functions/0x1400f5150.c | 11 + .../full/functions/0x1400f5160.c | 11 + .../full/functions/0x1400f5170.c | 11 + .../full/functions/0x1400f5180.c | 11 + .../full/functions/0x1400f5190.c | 11 + .../full/functions/0x1400f51a0.c | 11 + .../full/functions/0x1400f51b0.c | 11 + .../full/functions/0x1400f51c0.c | 11 + .../full/functions/0x1400f51d0.c | 11 + .../full/functions/0x1400f51e0.c | 11 + .../full/functions/0x1400f51f0.c | 11 + .../full/functions/0x1400f5200.c | 11 + .../full/functions/0x1400f5210.c | 11 + .../full/functions/0x1400f5220.c | 11 + .../full/functions/0x1400f5230.c | 11 + .../full/functions/0x1400f5240.c | 11 + .../full/functions/0x1400f5250.c | 11 + .../full/functions/0x1400f5260.c | 11 + .../full/functions/0x1400f5270.c | 11 + .../full/functions/0x1400f5280.c | 11 + .../full/functions/0x1400f5290.c | 11 + .../full/functions/0x1400f52a0.c | 11 + .../full/functions/0x1400f52b0.c | 11 + .../full/functions/0x1400f52c0.c | 11 + .../full/functions/0x1400f52d0.c | 11 + .../full/functions/0x1400f52e0.c | 11 + .../full/functions/0x1400f52f0.c | 11 + .../full/functions/0x1400f5300.c | 11 + .../full/functions/0x1400f5310.c | 11 + .../full/functions/0x1400f5320.c | 11 + .../full/functions/0x1400f5330.c | 11 + .../full/functions/0x1400f5340.c | 22 + .../full/functions/0x1400f53c0.c | 11 + .../full/functions/0x1400f53d0.c | 22 + .../full/functions/0x1400f5450.c | 11 + .../full/functions/0x1400f5460.c | 22 + .../full/functions/0x1400f54e0.c | 11 + .../full/functions/0x1400f54f0.c | 11 + .../full/functions/0x1400f5520.c | 11 + .../full/functions/0x1400f5550.c | 11 + .../full/functions/0x1400f5560.c | 11 + .../full/functions/0x1400f5570.c | 11 + .../full/functions/0x1400f5580.c | 11 + .../full/functions/0x1400f5590.c | 11 + .../full/functions/0x1400f55a0.c | 11 + .../full/functions/0x1400f55b0.c | 11 + .../full/functions/0x1400f55c0.c | 11 + .../full/functions/0x1400f55d0.c | 11 + .../full/functions/0x1400f55e0.c | 11 + .../full/functions/0x1400f55f0.c | 11 + .../full/functions/0x1400f5600.c | 11 + .../full/functions/0x1400f5610.c | 11 + .../full/functions/0x1400f5620.c | 11 + .../full/functions/0x1400f5630.c | 11 + .../full/functions/0x1400f5640.c | 11 + .../full/functions/0x1400f5650.c | 11 + .../full/functions/0x1400f5660.c | 11 + .../full/functions/0x1400f5670.c | 11 + .../full/functions/0x1400f5680.c | 11 + .../full/functions/0x1400f5690.c | 11 + .../full/functions/0x1400f56a0.c | 11 + .../full/functions/0x1400f56b0.c | 11 + .../full/functions/0x1400f56c0.c | 11 + .../full/functions/0x1400f56d0.c | 11 + .../full/functions/0x1400f56e0.c | 11 + .../full/functions/0x1400f56f0.c | 11 + .../full/functions/0x1400f5700.c | 11 + .../full/functions/0x1400f5710.c | 11 + .../full/functions/0x1400f5720.c | 11 + .../full/functions/0x1400f5730.c | 11 + .../full/functions/0x1400f5740.c | 11 + .../full/functions/0x1400f5750.c | 11 + .../full/functions/0x1400f5770.c | 11 + .../full/functions/0x1400f5780.c | 11 + .../full/functions/0x1400f57a0.c | 11 + .../full/functions/0x1400f57b0.c | 11 + .../full/functions/0x1400f57c0.c | 11 + .../full/functions/0x1400f57d0.c | 11 + .../full/functions/0x1400f57e0.c | 11 + .../full/functions/0x1400f57f0.c | 11 + .../full/functions/0x1400f5800.c | 11 + .../full/functions/0x1400f5810.c | 11 + .../full/functions/0x1400f5820.c | 11 + .../full/functions/0x1400f5840.c | 11 + .../full/functions/0x1400f5850.c | 11 + .../full/functions/0x1400f5870.c | 11 + .../full/functions/0x1400f5880.c | 11 + .../full/functions/0x1400f5890.c | 11 + .../full/functions/0x1400f58a0.c | 11 + .../full/functions/0x1400f58b0.c | 11 + .../full/functions/0x1400f58c0.c | 11 + .../full/functions/0x1400f58d0.c | 11 + .../full/functions/0x1400f58e0.c | 11 + .../full/functions/0x1400f58f0.c | 11 + .../full/functions/0x1400f5900.c | 11 + .../full/functions/0x1400f5910.c | 11 + .../full/functions/0x1400f5920.c | 11 + .../full/functions/0x1400f5930.c | 11 + .../full/functions/0x1400f5940.c | 11 + .../full/functions/0x1400f5950.c | 11 + .../full/functions/0x1400f5960.c | 11 + .../full/functions/0x1400f5970.c | 11 + .../full/functions/0x1400f5990.c | 11 + .../full/functions/0x1400f59a0.c | 11 + .../full/functions/0x1400f59c0.c | 11 + .../full/functions/0x1400f59e0.c | 11 + .../full/functions/0x1400f59f0.c | 11 + .../full/functions/0x1400f5a10.c | 11 + .../full/functions/0x1400f5a30.c | 11 + .../full/functions/0x1400f5a40.c | 11 + .../full/functions/0x1400f5a50.c | 11 + .../full/functions/0x1400f5a60.c | 11 + .../full/functions/0x1400f5a70.c | 11 + .../full/functions/0x1400f5a80.c | 11 + .../full/functions/0x1400f5a90.c | 11 + .../full/functions/0x1400f5aa0.c | 11 + .../full/functions/0x1400f5ab0.c | 11 + .../full/functions/0x1400f5ac0.c | 11 + .../full/functions/0x1400f5ad0.c | 11 + .../full/functions/0x1400f5ae0.c | 11 + .../full/functions/0x1400f5af0.c | 11 + .../full/functions/0x1400f5b00.c | 11 + .../full/functions/0x1400f5b10.c | 11 + .../full/functions/0x1400f5b20.c | 11 + .../full/functions/0x1400f5b30.c | 11 + .../full/functions/0x1400f5b40.c | 11 + .../full/functions/0x1400f5b50.c | 11 + .../full/functions/0x1400f5b60.c | 11 + .../full/functions/0x1400f5b70.c | 11 + .../full/functions/0x1400f5b80.c | 11 + .../full/functions/0x1400f5b90.c | 11 + .../full/functions/0x1400f5ba0.c | 11 + .../full/functions/0x1400f5bb0.c | 11 + .../full/functions/0x1400f5bc0.c | 11 + .../full/functions/0x1400f5bd0.c | 11 + .../full/functions/0x1400f5be0.c | 11 + .../full/functions/0x1400f5bf0.c | 11 + .../full/functions/0x1400f5c00.c | 11 + .../full/functions/0x1400f5c10.c | 11 + .../full/functions/0x1400f5c20.c | 11 + .../full/functions/0x1400f5c30.c | 11 + .../full/functions/0x1400f5c50.c | 11 + .../full/functions/0x1400f5c60.c | 11 + .../full/functions/0x1400f5c80.c | 11 + .../full/functions/0x1400f5c90.c | 11 + .../full/functions/0x1400f5ca0.c | 11 + .../full/functions/0x1400f5cb0.c | 11 + .../full/functions/0x1400f5cc0.c | 11 + .../full/functions/0x1400f5ce0.c | 11 + .../full/functions/0x1400f5cf0.c | 11 + .../full/functions/0x1400f5d10.c | 11 + .../full/functions/0x1400f5d20.c | 11 + .../full/functions/0x1400f5d30.c | 11 + .../full/functions/0x1400f5d40.c | 11 + .../full/functions/0x1400f5d50.c | 11 + .../full/functions/0x1400f5d60.c | 11 + .../full/functions/0x1400f5d80.c | 11 + .../full/functions/0x1400f5d90.c | 11 + .../full/functions/0x1400f5db0.c | 11 + .../full/functions/0x1400f5dc0.c | 11 + .../full/functions/0x1400f5dd0.c | 11 + .../full/functions/0x1400f5de0.c | 11 + .../full/functions/0x1400f5df0.c | 11 + .../full/functions/0x1400f5e00.c | 11 + .../full/functions/0x1400f5e10.c | 11 + .../full/functions/0x1400f5e20.c | 11 + .../full/functions/0x1400f5e30.c | 11 + .../full/functions/0x1400f5e40.c | 11 + .../full/functions/0x1400f5e50.c | 11 + .../full/functions/0x1400f5e60.c | 11 + .../full/functions/0x1400f5e70.c | 11 + .../full/functions/0x1400f5e80.c | 11 + .../full/functions/0x1400f5e90.c | 11 + .../full/functions/0x1400f5eb0.c | 11 + .../full/functions/0x1400f5ec0.c | 11 + .../full/functions/0x1400f5ee0.c | 11 + .../full/functions/0x1400f5ef0.c | 11 + .../full/functions/0x1400f5f00.c | 11 + .../full/functions/0x1400f5f30.c | 11 + .../full/functions/0x1400f5f60.c | 11 + .../full/functions/0x1400f5f90.c | 11 + .../full/functions/0x1400f5fc0.c | 11 + .../full/functions/0x1400f5fd0.c | 11 + .../full/functions/0x1400f5fe0.c | 11 + .../full/functions/0x1400f5ff0.c | 11 + .../full/functions/0x1400f6010.c | 11 + .../full/functions/0x1400f6030.c | 11 + .../full/functions/0x1400f6050.c | 11 + .../full/functions/0x1400f6070.c | 11 + .../full/functions/0x1400f6090.c | 11 + .../full/functions/0x1400f60a0.c | 11 + .../full/functions/0x1400f60b0.c | 11 + .../full/functions/0x1400f60c0.c | 11 + .../full/functions/0x1400f60e0.c | 11 + .../full/functions/0x1400f6100.c | 11 + .../full/functions/0x1400f6120.c | 11 + .../full/functions/0x1400f6140.c | 11 + .../full/functions/0x1400f6160.c | 11 + .../full/functions/0x1400f6170.c | 11 + .../full/functions/0x1400f6180.c | 11 + .../full/functions/0x1400f6190.c | 11 + .../full/functions/0x1400f61b0.c | 11 + .../full/functions/0x1400f61c0.c | 11 + .../full/functions/0x1400f61d0.c | 11 + .../full/functions/0x1400f61e0.c | 11 + .../full/functions/0x1400f61f0.c | 11 + .../full/functions/0x1400f6200.c | 11 + .../full/functions/0x1400f6210.c | 11 + .../full/functions/0x1400f6220.c | 11 + .../full/functions/0x1400f6230.c | 11 + .../full/functions/0x1400f6240.c | 11 + .../full/functions/0x1400f6250.c | 11 + .../full/functions/0x1400f6260.c | 11 + .../full/functions/0x1400f6270.c | 11 + .../full/functions/0x1400f6280.c | 11 + .../full/functions/0x1400f6290.c | 11 + .../full/functions/0x1400f62a0.c | 11 + .../full/functions/0x1400f62b0.c | 11 + .../full/functions/0x1400f62c0.c | 11 + .../full/functions/0x1400f62d0.c | 11 + .../full/functions/0x1400f62e0.c | 11 + .../full/functions/0x1400f62f0.c | 11 + .../full/functions/0x1400f6300.c | 11 + .../full/functions/0x1400f6310.c | 11 + .../full/functions/0x1400f6320.c | 11 + .../full/functions/0x1400f6330.c | 50 + .../full/functions/0x1400f64a0.c | 11 + .../full/functions/0x1400f64b0.c | 11 + .../full/functions/0x1400f64c0.c | 11 + .../full/functions/0x1400f64d0.c | 11 + .../full/functions/0x1400f64e0.c | 11 + .../full/functions/0x1400f64f0.c | 11 + .../full/functions/0x1400f6500.c | 11 + .../full/functions/0x1400f6510.c | 11 + .../full/functions/0x1400f6520.c | 11 + .../full/functions/0x1400f6530.c | 11 + .../full/functions/0x1400f6540.c | 11 + .../full/functions/0x1400f6550.c | 11 + .../full/functions/0x1400f6560.c | 11 + .../full/functions/0x1400f6570.c | 11 + .../full/functions/0x1400f6580.c | 11 + .../full/functions/0x1400f6590.c | 11 + .../full/functions/0x1400f65a0.c | 11 + .../full/functions/0x1400f65b0.c | 11 + .../full/functions/0x1400f65c0.c | 11 + .../full/functions/0x1400f65e0.c | 11 + .../full/functions/0x1400f6600.c | 11 + .../full/functions/0x1400f6610.c | 11 + .../full/functions/0x1400f6620.c | 22 + .../full/functions/0x1400f66a0.c | 11 + .../full/functions/0x1400f66b0.c | 22 + .../full/functions/0x1400f6730.c | 11 + .../full/functions/0x1400f6740.c | 22 + .../full/functions/0x1400f67c0.c | 11 + .../full/functions/0x1400f67d0.c | 11 + .../full/functions/0x1400f67e0.c | 11 + .../full/functions/0x1400f67f0.c | 11 + .../full/functions/0x1400f6800.c | 11 + .../full/functions/0x1400f6810.c | 11 + .../full/functions/0x1400f6820.c | 11 + .../full/functions/0x1400f6830.c | 11 + .../full/functions/0x1400f6840.c | 52 + .../full/functions/0x1400f6940.c | 11 + .../full/functions/0x1400f6950.c | 11 + .../full/functions/0x1400f6960.c | 11 + .../full/functions/0x1400f6970.c | 69 + .../full/functions/0x1400f6a80.c | 11 + .../full/functions/0x1400f6a90.c | 11 + .../full/functions/0x1400f6aa0.c | 11 + .../full/functions/0x1400f6ab0.c | 11 + .../full/functions/0x1400f6af0.c | 11 + .../full/functions/0x1400f6b00.c | 11 + .../full/functions/0x1400f6b10.c | 11 + .../full/functions/0x1400f6b20.c | 11 + .../full/functions/0x1400f6b30.c | 11 + .../full/functions/0x1400f6b40.c | 11 + .../full/functions/0x1400f6b50.c | 11 + .../full/functions/0x1400f6b60.c | 11 + .../full/functions/0x1400f6b70.c | 11 + .../full/functions/0x1400f6b80.c | 11 + .../full/functions/0x1400f6b90.c | 11 + .../full/functions/0x1400f6ba0.c | 11 + .../full/functions/0x1400f6bb0.c | 11 + .../full/functions/0x1400f6bc0.c | 11 + .../full/functions/0x1400f6bd0.c | 11 + .../full/functions/0x1400f6be0.c | 11 + .../full/functions/0x1400f6bf0.c | 11 + .../full/functions/0x1400f6c00.c | 11 + .../full/functions/0x1400f6c10.c | 11 + .../full/functions/0x1400f6c20.c | 11 + .../full/functions/0x1400f6c30.c | 11 + .../full/functions/0x1400f6c40.c | 11 + .../full/functions/0x1400f6c50.c | 11 + .../full/functions/0x1400f6c60.c | 11 + .../full/functions/0x1400f6c70.c | 11 + .../full/functions/0x1400f6c80.c | 11 + .../full/functions/0x1400f6c90.c | 11 + .../full/functions/0x1400f6ca0.c | 11 + .../full/functions/0x1400f6cb0.c | 12 + .../full/functions/0x1400f6cf0.c | 12 + .../full/functions/0x1400f6d30.c | 11 + .../full/functions/0x1400f6d70.c | 11 + .../full/functions/0x1400f6d80.c | 11 + .../full/functions/0x1400f6d90.c | 11 + .../full/functions/0x1400f6da0.c | 11 + .../full/functions/0x1400f6db0.c | 11 + .../full/functions/0x1400f6dc0.c | 11 + .../full/functions/0x1400f6dd0.c | 11 + .../full/functions/0x1400f6de0.c | 11 + .../full/functions/0x1400f6df0.c | 11 + .../full/functions/0x1400f6e00.c | 11 + .../full/functions/0x1400f6e10.c | 11 + .../full/functions/0x1400f6e20.c | 11 + .../full/functions/0x1400f6e30.c | 11 + .../full/functions/0x1400f6e40.c | 11 + .../full/functions/0x1400f6e50.c | 11 + .../full/functions/0x1400f6e60.c | 11 + .../full/functions/0x1400f6e70.c | 20 + .../full/functions/0x1400f6ee0.c | 11 + .../full/functions/0x1400f6ef0.c | 40 + .../full/functions/0x1400f6f80.c | 11 + .../full/functions/0x1400f6f90.c | 11 + .../full/functions/0x1400f6fd0.c | 11 + .../full/functions/0x1400f6fe0.c | 11 + .../full/functions/0x1400f6ff0.c | 11 + .../full/functions/0x1400f7000.c | 11 + .../full/functions/0x1400f7010.c | 11 + .../full/functions/0x1400f7020.c | 11 + .../full/functions/0x1400f7030.c | 11 + .../full/functions/0x1400f7040.c | 11 + .../full/functions/0x1400f7050.c | 11 + .../full/functions/0x1400f7060.c | 11 + .../full/functions/0x1400f7070.c | 11 + .../full/functions/0x1400f7080.c | 11 + .../full/functions/0x1400f7090.c | 11 + .../full/functions/0x1400f70a0.c | 11 + .../full/functions/0x1400f70b0.c | 11 + .../full/functions/0x1400f70c0.c | 11 + .../full/functions/0x1400f70d0.c | 10 + .../full/functions/0x1400f70f0.c | 11 + .../full/functions/0x1400f7100.c | 11 + .../full/functions/0x1400f7110.c | 11 + .../full/functions/0x1400f7120.c | 11 + .../full/functions/0x1400f7130.c | 11 + .../full/functions/0x1400f7150.c | 11 + .../full/functions/0x1400f7160.c | 11 + .../full/functions/0x1400f7170.c | 11 + .../full/functions/0x1400f7180.c | 11 + .../full/functions/0x1400f71a0.c | 11 + .../full/functions/0x1400f71b0.c | 11 + .../full/functions/0x1400f71c0.c | 11 + .../full/functions/0x1400f71d0.c | 11 + .../full/functions/0x1400f71e0.c | 11 + .../full/functions/0x1400f71f0.c | 11 + .../full/functions/0x1400f7200.c | 11 + .../full/functions/0x1400f7210.c | 11 + .../full/functions/0x1400f7240.c | 11 + .../full/functions/0x1400f7250.c | 11 + .../full/functions/0x1400f7260.c | 11 + .../full/functions/0x1400f7270.c | 11 + .../full/functions/0x1400f7280.c | 11 + .../full/functions/0x1400f7290.c | 11 + .../full/functions/0x1400f72a0.c | 11 + .../full/functions/0x1400f72b0.c | 11 + .../full/functions/0x1400f72c0.c | 11 + .../full/functions/0x1400f72d0.c | 11 + .../full/functions/0x1400f72e0.c | 11 + .../full/functions/0x1400f72f0.c | 11 + .../full/functions/0x1400f7300.c | 11 + .../full/functions/0x1400f7320.c | 11 + .../full/functions/0x1400f7330.c | 11 + .../full/functions/0x1400f7340.c | 11 + .../full/functions/0x1400f7350.c | 11 + .../full/functions/0x1400f7360.c | 11 + .../full/functions/0x1400f7370.c | 11 + .../full/functions/0x1400f7380.c | 11 + .../full/functions/0x1400f73a0.c | 11 + .../full/functions/0x1400f73c0.c | 11 + .../full/functions/0x1400f73d0.c | 11 + .../full/functions/0x1400f73e0.c | 11 + .../full/functions/0x1400f73f0.c | 11 + .../full/functions/0x1400f7400.c | 11 + .../full/functions/0x1400f7410.c | 11 + .../full/functions/0x1400f7420.c | 11 + .../full/functions/0x1400f7430.c | 11 + .../full/functions/0x1400f7440.c | 11 + .../full/functions/0x1400f7450.c | 11 + .../full/functions/0x1400f7460.c | 11 + .../full/functions/0x1400f7490.c | 11 + .../full/functions/0x1400f74a0.c | 11 + .../full/functions/0x1400f74b0.c | 11 + .../full/functions/0x1400f74c0.c | 11 + .../full/functions/0x1400f74f0.c | 11 + .../full/functions/0x1400f7500.c | 11 + .../full/functions/0x1400f7530.c | 11 + .../full/functions/0x1400f7560.c | 11 + .../full/functions/0x1400f7570.c | 11 + .../full/functions/0x1400f7590.c | 11 + .../full/functions/0x1400f75a0.c | 11 + .../full/functions/0x1400f75b0.c | 11 + .../full/functions/0x1400f75c0.c | 11 + .../full/functions/0x1400f75d0.c | 11 + .../full/functions/0x1400f75e0.c | 11 + .../full/functions/0x1400f75f0.c | 11 + .../full/functions/0x1400f7600.c | 11 + .../full/functions/0x1400f7620.c | 11 + .../full/functions/0x1400f7630.c | 11 + .../full/functions/0x1400f7640.c | 11 + .../full/functions/0x1400f7650.c | 11 + .../full/functions/0x1400f7660.c | 11 + .../full/functions/0x1400f7670.c | 11 + .../full/functions/0x1400f7680.c | 11 + .../full/functions/0x1400f7690.c | 11 + .../full/functions/0x1400f76a0.c | 11 + .../full/functions/0x1400f76b0.c | 11 + .../full/functions/0x1400f76c0.c | 11 + .../full/functions/0x1400f76d0.c | 11 + .../full/functions/0x1400f76e0.c | 11 + .../full/functions/0x1400f76f0.c | 11 + .../full/functions/0x1400f7700.c | 11 + .../full/functions/0x1400f7710.c | 11 + .../full/functions/0x1400f7720.c | 11 + .../full/functions/0x1400f7730.c | 11 + .../full/functions/0x1400f7740.c | 11 + .../full/functions/0x1400f7750.c | 11 + .../full/functions/0x1400f7760.c | 11 + .../full/functions/0x1400f7770.c | 11 + .../full/functions/0x1400f7780.c | 11 + .../full/functions/0x1400f7790.c | 11 + .../full/functions/0x1400f77a0.c | 11 + .../full/functions/0x1400f77b0.c | 11 + .../full/functions/0x1400f77c0.c | 11 + .../full/functions/0x1400f77d0.c | 11 + .../full/functions/0x1400f77e0.c | 11 + .../full/functions/0x1400f77f0.c | 11 + .../full/functions/0x1400f7800.c | 11 + .../full/functions/0x1400f7810.c | 11 + .../full/functions/0x1400f7830.c | 11 + .../full/functions/0x1400f7840.c | 11 + .../full/functions/0x1400f7850.c | 11 + .../full/functions/0x1400f7860.c | 11 + .../full/functions/0x1400f7870.c | 10 + .../full/functions/0x1400f7890.c | 11 + .../full/functions/0x1400f78a0.c | 11 + .../full/functions/0x1400f78b0.c | 11 + .../full/functions/0x1400f78d0.c | 14 + .../full/functions/0x1400f7900.c | 11 + .../full/functions/0x1400f7910.c | 11 + .../full/functions/0x1400f7920.c | 11 + .../full/functions/0x1400f7930.c | 11 + .../full/functions/0x1400f7950.c | 12 + .../full/functions/0x1400f7960.c | 11 + .../full/functions/0x1400f7980.c | 11 + .../full/functions/0x1400f79a0.c | 11 + .../full/functions/0x1400f79c0.c | 11 + .../full/functions/0x1400f79e0.c | 11 + .../full/functions/0x1400f7a00.c | 11 + .../full/functions/0x1400f7a20.c | 11 + .../full/functions/0x1400f7a40.c | 11 + .../full/functions/0x1400f7a60.c | 11 + .../full/functions/0x1400f7a80.c | 11 + .../full/functions/0x1400f7aa0.c | 11 + .../full/functions/0x1400f7ac0.c | 11 + .../full/functions/0x1400f7ae0.c | 11 + .../full/functions/0x1400f7b00.c | 11 + .../full/functions/0x1400f7b10.c | 11 + .../full/functions/0x1400f7b20.c | 11 + .../full/functions/0x1400f7b30.c | 11 + .../full/functions/0x1400f7b40.c | 11 + .../full/functions/0x1400f7b60.c | 12 + .../full/functions/0x1400f7b70.c | 11 + .../full/functions/0x1400f7b90.c | 11 + .../full/functions/0x1400f7bb0.c | 11 + .../full/functions/0x1400f7bd0.c | 11 + .../full/functions/0x1400f7bf0.c | 11 + .../full/functions/0x1400f7c10.c | 11 + .../full/functions/0x1400f7c30.c | 11 + .../full/functions/0x1400f7c50.c | 11 + .../full/functions/0x1400f7c70.c | 11 + .../full/functions/0x1400f7c90.c | 11 + .../full/functions/0x1400f7cb0.c | 11 + .../full/functions/0x1400f7cd0.c | 11 + .../full/functions/0x1400f7cf0.c | 11 + .../full/functions/0x1400f7d10.c | 11 + .../full/functions/0x1400f7d20.c | 11 + .../full/functions/0x1400f7d30.c | 11 + .../full/functions/0x1400f7d40.c | 11 + .../full/functions/0x1400f7d50.c | 11 + .../full/functions/0x1400f7d60.c | 11 + .../full/functions/0x1400f7d80.c | 11 + .../full/functions/0x1400f7d90.c | 11 + .../full/functions/0x1400f7db0.c | 11 + .../full/functions/0x1400f7dc0.c | 11 + .../full/functions/0x1400f7dd0.c | 10 + .../full/functions/0x1400f7df0.c | 11 + .../full/functions/0x1400f7e00.c | 11 + .../full/functions/0x1400f7e10.c | 11 + .../full/functions/0x1400f7e20.c | 11 + .../full/functions/0x1400f7e30.c | 11 + .../full/functions/0x1400f7e50.c | 12 + .../full/functions/0x1400f7e80.c | 12 + .../full/functions/0x1400f7eb0.c | 11 + .../full/functions/0x1400f7ec0.c | 11 + .../full/functions/0x1400f7ed0.c | 11 + .../full/functions/0x1400f7ef0.c | 11 + .../full/functions/0x1400f7f00.c | 11 + .../full/functions/0x1400f7f10.c | 11 + .../full/functions/0x1400f7f30.c | 11 + .../full/functions/0x1400f7f40.c | 11 + .../full/functions/0x1400f7f50.c | 11 + .../full/functions/0x1400f7f60.c | 11 + .../full/functions/0x1400f7f90.c | 11 + .../full/functions/0x1400f7fa0.c | 11 + .../full/functions/0x1400f7fb0.c | 11 + .../full/functions/0x1400f7fc0.c | 11 + .../full/functions/0x1400f7fd0.c | 11 + .../full/functions/0x1400f7fe0.c | 11 + .../full/functions/0x1400f7ff0.c | 11 + .../full/functions/0x1400f8000.c | 11 + .../full/functions/0x1400f8010.c | 11 + .../full/functions/0x1400f8020.c | 11 + .../full/functions/0x1400f8030.c | 11 + .../full/functions/0x1400f8040.c | 11 + .../full/functions/0x1400f8050.c | 11 + .../full/functions/0x1400f8060.c | 11 + .../full/functions/0x1400f8070.c | 11 + .../full/functions/0x1400f8080.c | 11 + .../full/functions/0x1400f8090.c | 11 + .../full/functions/0x1400f80a0.c | 11 + .../full/functions/0x1400f80b0.c | 11 + .../full/functions/0x1400f80c0.c | 11 + .../full/functions/0x1400f80d0.c | 11 + .../full/functions/0x1400f80e0.c | 11 + .../full/functions/0x1400f8100.c | 11 + .../full/functions/0x1400f8110.c | 11 + .../full/functions/0x1400f8120.c | 11 + .../full/functions/0x1400f8140.c | 11 + .../full/functions/0x1400f8150.c | 11 + .../full/functions/0x1400f8170.c | 11 + .../full/functions/0x1400f8180.c | 11 + .../full/functions/0x1400f8190.c | 11 + .../full/functions/0x1400f81b0.c | 11 + .../full/functions/0x1400f81d0.c | 11 + .../full/functions/0x1400f81e0.c | 11 + .../full/functions/0x1400f8200.c | 11 + .../full/functions/0x1400f8220.c | 11 + .../full/functions/0x1400f8230.c | 11 + .../full/functions/0x1400f8240.c | 11 + .../full/functions/0x1400f8250.c | 11 + .../full/functions/0x1400f8260.c | 11 + .../full/functions/0x1400f8270.c | 11 + .../full/functions/0x1400f8280.c | 11 + .../full/functions/0x1400f82a0.c | 14 + .../full/functions/0x1400f82d0.c | 11 + .../full/functions/0x1400f82e0.c | 11 + .../full/functions/0x1400f82f0.c | 11 + .../full/functions/0x1400f8300.c | 11 + .../full/functions/0x1400f8310.c | 11 + .../full/functions/0x1400f8320.c | 11 + .../full/functions/0x1400f8330.c | 11 + .../full/functions/0x1400f8350.c | 11 + .../full/functions/0x1400f8360.c | 11 + .../full/functions/0x1400f8370.c | 11 + .../full/functions/0x1400f8380.c | 11 + .../full/functions/0x1400f83a0.c | 11 + .../full/functions/0x1400f83c0.c | 11 + .../full/functions/0x1400f83e0.c | 11 + .../full/functions/0x1400f8400.c | 11 + .../full/functions/0x1400f8420.c | 11 + .../full/functions/0x1400f8440.c | 11 + .../full/functions/0x1400f8460.c | 11 + .../full/functions/0x1400f8470.c | 11 + .../full/functions/0x1400f8480.c | 11 + .../full/functions/0x1400f84a0.c | 11 + .../full/functions/0x1400f84b0.c | 11 + .../full/functions/0x1400f84d0.c | 11 + .../full/functions/0x1400f84e0.c | 11 + .../full/functions/0x1400f84f0.c | 11 + .../full/functions/0x1400f8510.c | 11 + .../full/functions/0x1400f8520.c | 11 + .../full/functions/0x1400f8530.c | 11 + .../full/functions/0x1400f8540.c | 11 + .../full/functions/0x1400f8560.c | 11 + .../full/functions/0x1400f8580.c | 11 + .../full/functions/0x1400f85a0.c | 11 + .../full/functions/0x1400f85c0.c | 11 + .../full/functions/0x1400f85e0.c | 11 + .../full/functions/0x1400f8600.c | 11 + .../full/functions/0x1400f8620.c | 11 + .../full/functions/0x1400f8630.c | 11 + .../full/functions/0x1400f8650.c | 11 + .../full/functions/0x1400f8660.c | 11 + .../full/functions/0x1400f8670.c | 11 + .../full/functions/0x1400f8680.c | 11 + .../full/functions/0x1400f8690.c | 11 + .../full/functions/0x1400f86a0.c | 11 + .../full/functions/0x1400f86b0.c | 11 + .../full/functions/0x1400f86c0.c | 11 + .../full/functions/0x1400f86d0.c | 11 + .../full/functions/0x1400f86e0.c | 11 + .../full/functions/0x1400f86f0.c | 11 + .../full/functions/0x1400f8700.c | 11 + .../full/functions/0x1400f8720.c | 11 + .../full/functions/0x1400f8730.c | 11 + .../full/functions/0x1400f8740.c | 11 + .../full/functions/0x1400f8750.c | 11 + .../full/functions/0x1400f8760.c | 11 + .../full/functions/0x1400f8770.c | 11 + .../full/functions/0x1400f8780.c | 11 + .../full/functions/0x1400f8790.c | 11 + .../full/functions/0x1400f87a0.c | 11 + .../full/functions/0x1400f87b0.c | 11 + .../full/functions/0x1400f87c0.c | 11 + .../full/functions/0x1400f87d0.c | 11 + .../full/functions/0x1400f87e0.c | 11 + .../full/functions/0x1400f87f0.c | 11 + .../full/functions/0x1400f8800.c | 11 + .../full/functions/0x1400f8810.c | 11 + .../full/functions/0x1400f8820.c | 11 + .../full/functions/0x1400f8830.c | 11 + .../full/functions/0x1400f8840.c | 11 + .../full/functions/0x1400f8850.c | 11 + .../full/functions/0x1400f8860.c | 11 + .../full/functions/0x1400f8870.c | 10 + .../full/functions/0x1400f8890.c | 11 + .../full/functions/0x1400f88a0.c | 11 + .../full/functions/0x1400f88b0.c | 11 + .../full/functions/0x1400f88c0.c | 11 + .../full/functions/0x1400f88d0.c | 11 + .../full/functions/0x1400f8900.c | 11 + .../full/functions/0x1400f8910.c | 11 + .../full/functions/0x1400f8940.c | 11 + .../full/functions/0x1400f8950.c | 11 + .../full/functions/0x1400f8970.c | 11 + .../full/functions/0x1400f8980.c | 11 + .../full/functions/0x1400f8990.c | 11 + .../full/functions/0x1400f89a0.c | 11 + .../full/functions/0x1400f89b0.c | 11 + .../full/functions/0x1400f89c0.c | 11 + .../full/functions/0x1400f89d0.c | 11 + .../full/functions/0x1400f89e0.c | 11 + .../full/functions/0x1400f89f0.c | 11 + .../full/functions/0x1400f8a00.c | 11 + .../full/functions/0x1400f8a10.c | 11 + .../full/functions/0x1400f8a20.c | 11 + .../full/functions/0x1400f8a30.c | 11 + .../full/functions/0x1400f8a40.c | 11 + .../full/functions/0x1400f8a50.c | 11 + .../full/functions/0x1400f8a60.c | 11 + .../full/functions/0x1400f8a70.c | 11 + .../full/functions/0x1400f8a80.c | 11 + .../full/functions/0x1400f8aa0.c | 11 + .../full/functions/0x1400f8ac0.c | 14 + .../full/functions/0x1400f8af0.c | 11 + .../full/functions/0x1400f8b00.c | 11 + .../full/functions/0x1400f8b10.c | 11 + .../full/functions/0x1400f8b20.c | 11 + .../full/functions/0x1400f8b30.c | 11 + .../full/functions/0x1400f8b40.c | 11 + .../full/functions/0x1400f8b50.c | 11 + .../full/functions/0x1400f8b70.c | 11 + .../full/functions/0x1400f8b80.c | 11 + .../full/functions/0x1400f8b90.c | 11 + .../full/functions/0x1400f8ba0.c | 11 + .../full/functions/0x1400f8bb0.c | 11 + .../full/functions/0x1400f8bc0.c | 11 + .../full/functions/0x1400f8bd0.c | 11 + .../full/functions/0x1400f8bf0.c | 11 + .../full/functions/0x1400f8c00.c | 11 + .../full/functions/0x1400f8c20.c | 14 + .../full/functions/0x1400f8c50.c | 14 + .../full/functions/0x1400f8c80.c | 11 + .../full/functions/0x1400f8c90.c | 11 + .../full/functions/0x1400f8ca0.c | 11 + .../full/functions/0x1400f8cb0.c | 11 + .../full/functions/0x1400f8cc0.c | 11 + .../full/functions/0x1400f8cd0.c | 11 + .../full/functions/0x1400f8ce0.c | 11 + .../full/functions/0x1400f8cf0.c | 11 + .../full/functions/0x1400f8d00.c | 11 + .../full/functions/0x1400f8d10.c | 11 + .../full/functions/0x1400f8d20.c | 11 + .../full/functions/0x1400f8d30.c | 11 + .../full/functions/0x1400f8d40.c | 11 + .../full/functions/0x1400f8d50.c | 11 + .../full/functions/0x1400f8d60.c | 11 + .../full/functions/0x1400f8d70.c | 11 + .../full/functions/0x1400f8d80.c | 11 + .../full/functions/0x1400f8d90.c | 11 + .../full/functions/0x1400f8da0.c | 11 + .../full/functions/0x1400f8db0.c | 11 + .../full/functions/0x1400f8dc0.c | 11 + .../full/functions/0x1400f8dd0.c | 11 + .../full/functions/0x1400f8de0.c | 11 + .../full/functions/0x1400f8df0.c | 11 + .../full/functions/0x1400f8e00.c | 11 + .../full/functions/0x1400f8e10.c | 14 + .../full/functions/0x1400f8e40.c | 11 + .../full/functions/0x1400f8e50.c | 11 + .../full/functions/0x1400f8e60.c | 11 + .../full/functions/0x1400f8e70.c | 11 + .../full/functions/0x1400f8e80.c | 11 + .../full/functions/0x1400f8e90.c | 11 + .../full/functions/0x1400f8ea0.c | 11 + .../full/functions/0x1400f8eb0.c | 11 + .../full/functions/0x1400f8ec0.c | 11 + .../full/functions/0x1400f8ed0.c | 11 + .../full/functions/0x1400f8ee0.c | 11 + .../full/functions/0x1400f8ef0.c | 11 + .../full/functions/0x1400f8f00.c | 11 + .../full/functions/0x1400f8f10.c | 11 + .../full/functions/0x1400f8f20.c | 11 + .../full/functions/0x1400f8f30.c | 11 + .../full/functions/0x1400f8f40.c | 11 + .../full/functions/0x1400f8f50.c | 11 + .../full/functions/0x1400f8f60.c | 11 + .../full/functions/0x1400f8f70.c | 11 + .../full/functions/0x1400f8f80.c | 11 + .../full/functions/0x1400f8f90.c | 11 + .../full/functions/0x1400f8fa0.c | 11 + .../full/functions/0x1400f8fb0.c | 11 + .../full/functions/0x1400f8fc0.c | 11 + .../full/functions/0x1400f8fd0.c | 11 + .../full/functions/0x1400f8fe0.c | 11 + .../full/functions/0x1400f8ff0.c | 11 + .../full/functions/0x1400f9000.c | 11 + .../full/functions/0x1400f9010.c | 11 + .../full/functions/0x1400f9020.c | 11 + .../full/functions/0x1400f9030.c | 11 + .../full/functions/0x1400f9040.c | 11 + .../full/functions/0x1400f9050.c | 11 + .../full/functions/0x1400f9060.c | 11 + .../full/functions/0x1400f9070.c | 11 + .../full/functions/0x1400f9080.c | 11 + .../full/functions/0x1400f9090.c | 11 + .../full/functions/0x1400f90a0.c | 11 + .../full/functions/0x1400f90b0.c | 11 + .../full/functions/0x1400f90c0.c | 11 + .../full/functions/0x1400f90d0.c | 11 + .../full/functions/0x1400f90e0.c | 11 + .../full/functions/0x1400f90f0.c | 11 + .../full/functions/0x1400f9100.c | 11 + .../full/functions/0x1400f9110.c | 11 + .../full/functions/0x1400f9120.c | 11 + .../full/functions/0x1400f9130.c | 11 + .../full/functions/0x1400f9140.c | 11 + .../full/functions/0x1400f9150.c | 11 + .../full/functions/0x1400f9160.c | 11 + .../full/functions/0x1400f9170.c | 11 + .../full/functions/0x1400f9180.c | 11 + .../full/functions/0x1400f9190.c | 11 + .../full/functions/0x1400f91a0.c | 11 + .../full/functions/0x1400f91b0.c | 11 + .../full/functions/0x1400f91c0.c | 11 + .../full/functions/0x1400f91d0.c | 11 + .../full/functions/0x1400f91e0.c | 11 + .../full/functions/0x1400f91f0.c | 11 + .../full/functions/0x1400f9200.c | 11 + .../full/functions/0x1400f9210.c | 11 + .../full/functions/0x1400f9220.c | 11 + .../full/functions/0x1400f9230.c | 11 + .../full/functions/0x1400f9240.c | 11 + .../full/functions/0x1400f9250.c | 11 + .../full/functions/0x1400f9260.c | 11 + .../full/functions/0x1400f9270.c | 11 + .../full/functions/0x1400f9280.c | 11 + .../full/functions/0x1400f9290.c | 11 + .../full/functions/0x1400f92a0.c | 11 + .../full/functions/0x1400f92b0.c | 11 + .../full/functions/0x1400f92c0.c | 11 + .../full/functions/0x1400f92d0.c | 11 + .../full/functions/0x1400f92e0.c | 11 + .../full/functions/0x1400f92f0.c | 11 + .../full/functions/0x1400f9300.c | 11 + .../full/functions/0x1400f9310.c | 11 + .../full/functions/0x1400f9320.c | 11 + .../full/functions/0x1400f9330.c | 11 + .../full/functions/0x1400f9340.c | 11 + .../full/functions/0x1400f9350.c | 11 + .../full/functions/0x1400f9360.c | 11 + .../full/functions/0x1400f9370.c | 11 + .../full/functions/0x1400f9380.c | 11 + .../full/functions/0x1400f9390.c | 11 + .../full/functions/0x1400f93a0.c | 11 + .../full/functions/0x1400f93b0.c | 11 + .../full/functions/0x1400f93c0.c | 11 + .../full/functions/0x1400f93d0.c | 11 + .../full/functions/0x1400f93e0.c | 11 + .../full/functions/0x1400f93f0.c | 11 + .../full/functions/0x1400f9400.c | 11 + .../full/functions/0x1400f9410.c | 11 + .../full/functions/0x1400f9420.c | 11 + .../full/functions/0x1400f9430.c | 11 + .../full/functions/0x1400f9440.c | 11 + .../full/functions/0x1400f9450.c | 11 + .../full/functions/0x1400f9460.c | 11 + .../full/functions/0x1400f9470.c | 11 + .../full/functions/0x1400f9480.c | 11 + .../full/functions/0x1400f9490.c | 11 + .../full/functions/0x1400f94a0.c | 11 + .../full/functions/0x1400f94b0.c | 11 + .../full/functions/0x1400f94c0.c | 11 + .../full/functions/0x1400f94d0.c | 11 + .../full/functions/0x1400f94e0.c | 11 + .../full/functions/0x1400f94f0.c | 11 + .../full/functions/0x1400f9500.c | 11 + .../full/functions/0x1400f9510.c | 11 + .../full/functions/0x1400f9520.c | 11 + .../full/functions/0x1400f9530.c | 11 + .../full/functions/0x1400f9540.c | 11 + .../full/functions/0x1400f9550.c | 11 + .../full/functions/0x1400f9560.c | 11 + .../full/functions/0x1400f9570.c | 11 + .../full/functions/0x1400f9580.c | 11 + .../full/functions/0x1400f95a0.c | 11 + .../full/functions/0x1400f95b0.c | 11 + .../full/functions/0x1400f95d0.c | 11 + .../full/functions/0x1400f95e0.c | 11 + .../full/functions/0x1400f95f0.c | 11 + .../full/functions/0x1400f9600.c | 11 + .../full/functions/0x1400f9620.c | 11 + .../full/functions/0x1400f9630.c | 11 + .../full/functions/0x1400f9650.c | 11 + .../full/functions/0x1400f9660.c | 11 + .../full/functions/0x1400f9670.c | 11 + .../full/functions/0x1400f9680.c | 11 + .../full/functions/0x1400f96a0.c | 11 + .../full/functions/0x1400f96b0.c | 11 + .../full/functions/0x1400f96d0.c | 11 + .../full/functions/0x1400f96e0.c | 11 + .../full/functions/0x1400f96f0.c | 11 + .../full/functions/0x1400f9700.c | 11 + .../full/functions/0x1400f9710.c | 11 + .../full/functions/0x1400f9720.c | 11 + .../full/functions/0x1400f9730.c | 11 + .../full/functions/0x1400f9740.c | 11 + .../full/functions/0x1400f9750.c | 11 + .../full/functions/0x1400f9760.c | 11 + .../full/functions/0x1400f9770.c | 11 + .../full/functions/0x1400f9780.c | 11 + .../full/functions/0x1400f9790.c | 11 + .../full/functions/0x1400f97a0.c | 21 + .../full/functions/0x1400f9800.c | 11 + .../full/functions/0x1400f9810.c | 11 + .../full/functions/0x1400f9830.c | 11 + .../full/functions/0x1400f9850.c | 11 + .../full/functions/0x1400f9860.c | 11 + .../full/functions/0x1400f9870.c | 14 + .../full/functions/0x1400f98a0.c | 11 + .../full/functions/0x1400f98b0.c | 11 + .../full/functions/0x1400f98c0.c | 14 + .../full/functions/0x1400f98f0.c | 11 + .../full/functions/0x1400f9900.c | 11 + .../full/functions/0x1400f9910.c | 11 + .../full/functions/0x1400f9920.c | 11 + .../full/functions/0x1400f9930.c | 11 + .../full/functions/0x1400f9950.c | 11 + .../full/functions/0x1400f9960.c | 11 + .../full/functions/0x1400f9970.c | 11 + .../full/functions/0x1400f9980.c | 11 + .../full/functions/0x1400f9990.c | 11 + .../full/functions/0x1400f99a0.c | 11 + .../full/functions/0x1400f99b0.c | 11 + .../full/functions/0x1400f99c0.c | 11 + .../full/functions/0x1400f99e0.c | 11 + .../full/functions/0x1400f99f0.c | 11 + .../full/functions/0x1400f9a00.c | 11 + .../full/functions/0x1400f9a10.c | 11 + .../full/functions/0x1400f9a20.c | 11 + .../full/functions/0x1400f9a30.c | 11 + .../full/functions/0x1400f9a40.c | 11 + .../full/functions/0x1400f9a50.c | 11 + .../full/functions/0x1400f9a60.c | 11 + .../full/functions/0x1400f9a70.c | 11 + .../full/functions/0x1400f9a80.c | 11 + .../full/functions/0x1400f9a90.c | 11 + .../full/functions/0x1400f9aa0.c | 11 + .../full/functions/0x1400f9ab0.c | 11 + .../full/functions/0x1400f9ac0.c | 11 + .../full/functions/0x1400f9ad0.c | 11 + .../full/functions/0x1400f9ae0.c | 11 + .../full/functions/0x1400f9af0.c | 11 + .../full/functions/0x1400f9b00.c | 11 + .../full/functions/0x1400f9b10.c | 11 + .../full/functions/0x1400f9b20.c | 11 + .../full/functions/0x1400f9b30.c | 11 + .../full/functions/0x1400f9b40.c | 11 + .../full/functions/0x1400f9b50.c | 11 + .../full/functions/0x1400f9b60.c | 11 + .../full/functions/0x1400f9b70.c | 11 + .../full/functions/0x1400f9b80.c | 11 + .../full/functions/0x1400f9b90.c | 11 + .../full/functions/0x1400f9bc0.c | 11 + .../full/functions/0x1400f9bd0.c | 11 + .../full/functions/0x1400f9be0.c | 11 + .../full/functions/0x1400f9bf0.c | 11 + .../full/functions/0x1400f9c00.c | 11 + .../full/functions/0x1400f9c10.c | 11 + .../full/functions/0x1400f9c20.c | 11 + .../full/functions/0x1400f9c30.c | 11 + .../full/functions/0x1400f9c40.c | 11 + .../full/functions/0x1400f9c50.c | 11 + .../full/functions/0x1400f9c60.c | 11 + .../full/functions/0x1400f9c70.c | 10 + .../full/functions/0x1400f9c90.c | 11 + .../full/functions/0x1400f9ca0.c | 11 + .../full/functions/0x1400f9cb0.c | 11 + .../full/functions/0x1400f9cc0.c | 22 + .../full/functions/0x1400f9d30.c | 11 + .../full/functions/0x1400f9d40.c | 22 + .../full/functions/0x1400f9db0.c | 11 + .../full/functions/0x1400f9dc0.c | 22 + .../full/functions/0x1400f9e30.c | 11 + .../full/functions/0x1400f9e40.c | 11 + .../full/functions/0x1400f9e60.c | 11 + .../full/functions/0x1400f9e70.c | 22 + .../full/functions/0x1400f9ee0.c | 11 + .../full/functions/0x1400f9ef0.c | 22 + .../full/functions/0x1400f9f60.c | 11 + .../full/functions/0x1400f9f70.c | 22 + .../full/functions/0x1400f9fe0.c | 11 + .../full/functions/0x1400f9ff0.c | 11 + .../full/functions/0x1400fa000.c | 11 + .../full/functions/0x1400fa020.c | 11 + .../full/functions/0x1400fa030.c | 11 + .../full/functions/0x1400fa040.c | 11 + .../full/functions/0x1400fa050.c | 11 + .../full/functions/0x1400fa060.c | 11 + .../full/functions/0x1400fa070.c | 11 + .../full/functions/0x1400fa080.c | 11 + .../full/functions/0x1400fa090.c | 11 + .../full/functions/0x1400fa0a0.c | 11 + .../full/functions/0x1400fa0b0.c | 11 + .../full/functions/0x1400fa0c0.c | 22 + .../full/functions/0x1400fa130.c | 11 + .../full/functions/0x1400fa140.c | 22 + .../full/functions/0x1400fa1b0.c | 11 + .../full/functions/0x1400fa1c0.c | 22 + .../full/functions/0x1400fa230.c | 11 + .../full/functions/0x1400fa240.c | 11 + .../full/functions/0x1400fa250.c | 11 + .../full/functions/0x1400fa260.c | 11 + .../full/functions/0x1400fa270.c | 11 + .../full/functions/0x1400fa280.c | 11 + .../full/functions/0x1400fa290.c | 11 + .../full/functions/0x1400fa2a0.c | 14 + .../full/functions/0x1400fa2d0.c | 11 + .../full/functions/0x1400fa2e0.c | 11 + .../full/functions/0x1400fa2f0.c | 11 + .../full/functions/0x1400fa300.c | 11 + .../full/functions/0x1400fa310.c | 11 + .../full/functions/0x1400fa320.c | 11 + .../full/functions/0x1400fa330.c | 11 + .../full/functions/0x1400fa340.c | 11 + .../full/functions/0x1400fa350.c | 11 + .../full/functions/0x1400fa360.c | 11 + .../full/functions/0x1400fa370.c | 11 + .../full/functions/0x1400fa380.c | 11 + .../full/functions/0x1400fa390.c | 11 + .../full/functions/0x1400fa3a0.c | 11 + .../full/functions/0x1400fa3b0.c | 11 + .../full/functions/0x1400fa3c0.c | 11 + .../full/functions/0x1400fa3d0.c | 11 + .../full/functions/0x1400fa3f0.c | 11 + .../full/functions/0x1400fa400.c | 11 + .../full/functions/0x1400fa420.c | 15 + .../full/functions/0x1400fa460.c | 11 + .../full/functions/0x1400fa470.c | 11 + .../full/functions/0x1400fa480.c | 11 + .../full/functions/0x1400fa490.c | 11 + .../full/functions/0x1400fa4a0.c | 11 + .../full/functions/0x1400fa4c0.c | 11 + .../full/functions/0x1400fa4d0.c | 11 + .../full/functions/0x1400fa4f0.c | 11 + .../full/functions/0x1400fa510.c | 11 + .../full/functions/0x1400fa520.c | 11 + .../full/functions/0x1400fa540.c | 11 + .../full/functions/0x1400fa550.c | 11 + .../full/functions/0x1400fa560.c | 11 + .../full/functions/0x1400fa570.c | 11 + .../full/functions/0x1400fa580.c | 11 + .../full/functions/0x1400fa590.c | 11 + .../full/functions/0x1400fa5a0.c | 11 + .../full/functions/0x1400fa5b0.c | 11 + .../full/functions/0x1400fa5c0.c | 11 + .../full/functions/0x1400fa5e0.c | 11 + .../full/functions/0x1400fa5f0.c | 11 + .../full/functions/0x1400fa610.c | 11 + .../full/functions/0x1400fa630.c | 11 + .../full/functions/0x1400fa640.c | 11 + .../full/functions/0x1400fa650.c | 11 + .../full/functions/0x1400fa660.c | 11 + .../full/functions/0x1400fa670.c | 10 + .../full/functions/0x1400fa690.c | 11 + .../full/functions/0x1400fa6a0.c | 11 + .../full/functions/0x1400fa6b0.c | 11 + .../full/functions/0x1400fa6c0.c | 14 + .../full/functions/0x1400fa6f0.c | 11 + .../full/functions/0x1400fa700.c | 11 + .../full/functions/0x1400fa710.c | 11 + .../full/functions/0x1400fa720.c | 11 + .../full/functions/0x1400fa730.c | 11 + .../full/functions/0x1400fa740.c | 11 + .../full/functions/0x1400fa750.c | 11 + .../full/functions/0x1400fa760.c | 11 + .../full/functions/0x1400fa770.c | 11 + .../full/functions/0x1400fa780.c | 11 + .../full/functions/0x1400fa790.c | 11 + .../full/functions/0x1400fa7a0.c | 11 + .../full/functions/0x1400fa7b0.c | 11 + .../full/functions/0x1400fa7c0.c | 11 + .../full/functions/0x1400fa7d0.c | 11 + .../full/functions/0x1400fa7e0.c | 11 + .../full/functions/0x1400fa7f0.c | 11 + .../full/functions/0x1400fa800.c | 11 + .../full/functions/0x1400fa810.c | 11 + .../full/functions/0x1400fa820.c | 11 + .../full/functions/0x1400fa830.c | 11 + .../full/functions/0x1400fa840.c | 11 + .../full/functions/0x1400fa850.c | 11 + .../full/functions/0x1400fa860.c | 11 + .../full/functions/0x1400fa870.c | 11 + .../full/functions/0x1400fa880.c | 11 + .../full/functions/0x1400fa890.c | 11 + .../full/functions/0x1400fa8a0.c | 11 + .../full/functions/0x1400fa8c0.c | 11 + .../full/functions/0x1400fa8e0.c | 11 + .../full/functions/0x1400fa900.c | 11 + .../full/functions/0x1400fa920.c | 11 + .../full/functions/0x1400fa940.c | 11 + .../full/functions/0x1400fa960.c | 11 + .../full/functions/0x1400fa980.c | 11 + .../full/functions/0x1400fa9a0.c | 11 + .../full/functions/0x1400fa9c0.c | 11 + .../full/functions/0x1400fa9e0.c | 11 + .../full/functions/0x1400faa00.c | 11 + .../full/functions/0x1400faa20.c | 12 + .../full/functions/0x1400faa40.c | 11 + .../full/functions/0x1400faa60.c | 11 + .../full/functions/0x1400faa80.c | 11 + .../full/functions/0x1400faaa0.c | 11 + .../full/functions/0x1400faac0.c | 11 + .../full/functions/0x1400faae0.c | 11 + .../full/functions/0x1400fab00.c | 11 + .../full/functions/0x1400fab20.c | 11 + .../full/functions/0x1400fab40.c | 11 + .../full/functions/0x1400fab60.c | 11 + .../full/functions/0x1400fab80.c | 11 + .../full/functions/0x1400faba0.c | 11 + .../full/functions/0x1400fabc0.c | 11 + .../full/functions/0x1400fabe0.c | 11 + .../full/functions/0x1400fac00.c | 11 + .../full/functions/0x1400fac20.c | 11 + .../full/functions/0x1400fac40.c | 11 + .../full/functions/0x1400fac60.c | 11 + .../full/functions/0x1400fac70.c | 11 + .../full/functions/0x1400fac80.c | 11 + .../full/functions/0x1400fac90.c | 11 + .../full/functions/0x1400faca0.c | 11 + .../full/functions/0x1400facb0.c | 11 + .../full/functions/0x1400facc0.c | 11 + .../full/functions/0x1400facd0.c | 11 + .../full/functions/0x1400face0.c | 11 + .../full/functions/0x1400facf0.c | 11 + .../full/functions/0x1400fad00.c | 11 + .../full/functions/0x1400fad10.c | 11 + .../full/functions/0x1400fad20.c | 11 + .../full/functions/0x1400fad30.c | 11 + .../full/functions/0x1400fad40.c | 11 + .../full/functions/0x1400fad50.c | 11 + .../full/functions/0x1400fad60.c | 11 + .../full/functions/0x1400fad70.c | 11 + .../full/functions/0x1400fad80.c | 11 + .../full/functions/0x1400fad90.c | 11 + .../full/functions/0x1400fada0.c | 11 + .../full/functions/0x1400fadb0.c | 11 + .../full/functions/0x1400fadc0.c | 11 + .../full/functions/0x1400fadd0.c | 11 + .../full/functions/0x1400fae00.c | 11 + .../full/functions/0x1400fae10.c | 11 + .../full/functions/0x1400fae20.c | 11 + .../full/functions/0x1400fae30.c | 11 + .../full/functions/0x1400fae40.c | 11 + .../full/functions/0x1400fae50.c | 11 + .../full/functions/0x1400fae60.c | 11 + .../full/functions/0x1400fae70.c | 11 + .../full/functions/0x1400fae80.c | 11 + .../full/functions/0x1400fae90.c | 11 + .../full/functions/0x1400faea0.c | 11 + .../full/functions/0x1400faeb0.c | 11 + .../full/functions/0x1400faec0.c | 11 + .../full/functions/0x1400faed0.c | 11 + .../full/functions/0x1400faee0.c | 11 + .../full/functions/0x1400faef0.c | 11 + .../full/functions/0x1400faf00.c | 11 + .../full/functions/0x1400faf10.c | 11 + .../full/functions/0x1400faf20.c | 11 + .../full/functions/0x1400faf30.c | 11 + .../full/functions/0x1400faf40.c | 11 + .../full/functions/0x1400faf50.c | 11 + .../full/functions/0x1400faf60.c | 11 + .../full/functions/0x1400faf70.c | 11 + .../full/functions/0x1400faf80.c | 11 + .../full/functions/0x1400faf90.c | 11 + .../full/functions/0x1400fafa0.c | 11 + .../full/functions/0x1400fafb0.c | 11 + .../full/functions/0x1400fafc0.c | 11 + .../full/functions/0x1400fafd0.c | 11 + .../full/functions/0x1400fafe0.c | 11 + .../full/functions/0x1400faff0.c | 11 + .../full/functions/0x1400fb000.c | 11 + .../full/functions/0x1400fb010.c | 11 + .../full/functions/0x1400fb020.c | 11 + .../full/functions/0x1400fb030.c | 11 + .../full/functions/0x1400fb040.c | 11 + .../full/functions/0x1400fb050.c | 11 + .../full/functions/0x1400fb060.c | 11 + .../full/functions/0x1400fb070.c | 11 + .../full/functions/0x1400fb080.c | 11 + .../full/functions/0x1400fb090.c | 11 + .../full/functions/0x1400fb0a0.c | 11 + .../full/functions/0x1400fb0b0.c | 11 + .../full/functions/0x1400fb0c0.c | 11 + .../full/functions/0x1400fb0d0.c | 11 + .../full/functions/0x1400fb0e0.c | 11 + .../full/functions/0x1400fb0f0.c | 11 + .../full/functions/0x1400fb100.c | 11 + .../full/functions/0x1400fb110.c | 11 + .../full/functions/0x1400fb120.c | 11 + .../full/functions/0x1400fb130.c | 11 + .../full/functions/0x1400fb140.c | 11 + .../full/functions/0x1400fb150.c | 11 + .../full/functions/0x1400fb160.c | 11 + .../full/functions/0x1400fb170.c | 11 + .../full/functions/0x1400fb180.c | 11 + .../full/functions/0x1400fb190.c | 11 + .../full/functions/0x1400fb1a0.c | 11 + .../full/functions/0x1400fb1b0.c | 11 + .../full/functions/0x1400fb1c0.c | 11 + .../full/functions/0x1400fb1d0.c | 11 + .../full/functions/0x1400fb1e0.c | 11 + .../full/functions/0x1400fb1f0.c | 11 + .../full/functions/0x1400fb200.c | 11 + .../full/functions/0x1400fb210.c | 11 + .../full/functions/0x1400fb220.c | 11 + .../full/functions/0x1400fb230.c | 11 + .../full/functions/0x1400fb250.c | 11 + .../full/functions/0x1400fb270.c | 11 + .../full/functions/0x1400fb290.c | 11 + .../full/functions/0x1400fb2b0.c | 11 + .../full/functions/0x1400fb2d0.c | 11 + .../full/functions/0x1400fb2f0.c | 11 + .../full/functions/0x1400fb310.c | 11 + .../full/functions/0x1400fb330.c | 11 + .../full/functions/0x1400fb350.c | 11 + .../full/functions/0x1400fb370.c | 11 + .../full/functions/0x1400fb390.c | 11 + .../full/functions/0x1400fb3b0.c | 11 + .../full/functions/0x1400fb3c0.c | 12 + .../full/functions/0x1400fb3e0.c | 11 + .../full/functions/0x1400fb400.c | 11 + .../full/functions/0x1400fb420.c | 11 + .../full/functions/0x1400fb440.c | 11 + .../full/functions/0x1400fb460.c | 11 + .../full/functions/0x1400fb480.c | 11 + .../full/functions/0x1400fb4a0.c | 11 + .../full/functions/0x1400fb4c0.c | 11 + .../full/functions/0x1400fb4e0.c | 11 + .../full/functions/0x1400fb500.c | 11 + .../full/functions/0x1400fb520.c | 11 + .../full/functions/0x1400fb540.c | 11 + .../full/functions/0x1400fb560.c | 11 + .../full/functions/0x1400fb580.c | 11 + .../full/functions/0x1400fb590.c | 11 + .../full/functions/0x1400fb5b0.c | 11 + .../full/functions/0x1400fb5d0.c | 11 + .../full/functions/0x1400fb5e0.c | 11 + .../full/functions/0x1400fb600.c | 11 + .../full/functions/0x1400fb620.c | 11 + .../full/functions/0x1400fb630.c | 11 + .../full/functions/0x1400fb640.c | 11 + .../full/functions/0x1400fb650.c | 11 + .../full/functions/0x1400fb660.c | 11 + .../full/functions/0x1400fb670.c | 11 + .../full/functions/0x1400fb680.c | 11 + .../full/functions/0x1400fb690.c | 11 + .../full/functions/0x1400fb6b0.c | 11 + .../full/functions/0x1400fb6d0.c | 11 + .../full/functions/0x1400fb6e0.c | 11 + .../full/functions/0x1400fb6f0.c | 11 + .../full/functions/0x1400fb700.c | 11 + .../full/functions/0x1400fb710.c | 11 + .../full/functions/0x1400fb720.c | 11 + .../full/functions/0x1400fb730.c | 11 + .../full/functions/0x1400fb740.c | 11 + .../full/functions/0x1400fb750.c | 11 + .../full/functions/0x1400fb760.c | 11 + .../full/functions/0x1400fb770.c | 11 + .../full/functions/0x1400fb780.c | 11 + .../full/functions/0x1400fb790.c | 11 + .../full/functions/0x1400fb7a0.c | 11 + .../full/functions/0x1400fb7b0.c | 11 + .../full/functions/0x1400fb7c0.c | 11 + .../full/functions/0x1400fb7e0.c | 11 + .../full/functions/0x1400fb810.c | 11 + .../full/functions/0x1400fb820.c | 11 + .../full/functions/0x1400fb830.c | 11 + .../full/functions/0x1400fb840.c | 11 + .../full/functions/0x1400fb850.c | 11 + .../full/functions/0x1400fb860.c | 11 + .../full/functions/0x1400fb870.c | 11 + .../full/functions/0x1400fb880.c | 11 + .../full/functions/0x1400fb890.c | 11 + .../full/functions/0x1400fb8a0.c | 11 + .../full/functions/0x1400fb8b0.c | 11 + .../full/functions/0x1400fb8c0.c | 11 + .../full/functions/0x1400fb8d0.c | 11 + .../full/functions/0x1400fb8e0.c | 11 + .../full/functions/0x1400fb900.c | 11 + .../full/functions/0x1400fb930.c | 11 + .../full/functions/0x1400fb940.c | 11 + .../full/functions/0x1400fb950.c | 11 + .../full/functions/0x1400fb960.c | 11 + .../full/functions/0x1400fb970.c | 11 + .../full/functions/0x1400fb980.c | 11 + .../full/functions/0x1400fb990.c | 11 + .../full/functions/0x1400fb9a0.c | 11 + .../full/functions/0x1400fb9b0.c | 11 + .../full/functions/0x1400fb9c0.c | 11 + .../full/functions/0x1400fb9d0.c | 11 + .../full/functions/0x1400fb9e0.c | 11 + .../full/functions/0x1400fb9f0.c | 11 + .../full/functions/0x1400fba00.c | 11 + .../full/functions/0x1400fba10.c | 11 + .../full/functions/0x1400fba20.c | 11 + .../full/functions/0x1400fba30.c | 11 + .../full/functions/0x1400fba40.c | 11 + .../full/functions/0x1400fba50.c | 11 + .../full/functions/0x1400fba60.c | 11 + .../full/functions/0x1400fba70.c | 11 + .../full/functions/0x1400fba80.c | 11 + .../full/functions/0x1400fba90.c | 11 + .../full/functions/0x1400fbaa0.c | 11 + .../full/functions/0x1400fbab0.c | 11 + .../full/functions/0x1400fbac0.c | 11 + .../full/functions/0x1400fbad0.c | 11 + .../full/functions/0x1400fbae0.c | 11 + .../full/functions/0x1400fbaf0.c | 11 + .../full/functions/0x1400fbb00.c | 11 + .../full/functions/0x1400fbb10.c | 11 + .../full/functions/0x1400fbb20.c | 11 + .../full/functions/0x1400fbb30.c | 11 + .../full/functions/0x1400fbb40.c | 11 + .../full/functions/0x1400fbb50.c | 11 + .../full/functions/0x1400fbb70.c | 11 + .../full/functions/0x1400fbba0.c | 11 + .../full/functions/0x1400fbbb0.c | 11 + .../full/functions/0x1400fbbc0.c | 11 + .../full/functions/0x1400fbbd0.c | 11 + .../full/functions/0x1400fbbe0.c | 11 + .../full/functions/0x1400fbbf0.c | 11 + .../full/functions/0x1400fbc00.c | 11 + .../full/functions/0x1400fbc10.c | 11 + .../full/functions/0x1400fbc20.c | 11 + .../full/functions/0x1400fbc30.c | 11 + .../full/functions/0x1400fbc40.c | 11 + .../full/functions/0x1400fbc50.c | 11 + .../full/functions/0x1400fbc60.c | 11 + .../full/functions/0x1400fbc70.c | 11 + .../full/functions/0x1400fbc80.c | 11 + .../full/functions/0x1400fbc90.c | 11 + .../full/functions/0x1400fbca0.c | 11 + .../full/functions/0x1400fbcb0.c | 11 + .../full/functions/0x1400fbcc0.c | 11 + .../full/functions/0x1400fbcd0.c | 11 + .../full/functions/0x1400fbce0.c | 11 + .../full/functions/0x1400fbcf0.c | 11 + .../full/functions/0x1400fbd00.c | 11 + .../full/functions/0x1400fbd10.c | 11 + .../full/functions/0x1400fbd20.c | 11 + .../full/functions/0x1400fbd30.c | 11 + .../full/functions/0x1400fbd50.c | 11 + .../full/functions/0x1400fbd70.c | 11 + .../full/functions/0x1400fbd80.c | 11 + .../full/functions/0x1400fbd90.c | 11 + .../full/functions/0x1400fbda0.c | 11 + .../full/functions/0x1400fbdb0.c | 11 + .../full/functions/0x1400fbdc0.c | 11 + .../full/functions/0x1400fbdd0.c | 11 + .../full/functions/0x1400fbde0.c | 11 + .../full/functions/0x1400fbdf0.c | 11 + .../full/functions/0x1400fbe00.c | 11 + .../full/functions/0x1400fbe30.c | 11 + .../full/functions/0x1400fbe40.c | 11 + .../full/functions/0x1400fbe50.c | 11 + .../full/functions/0x1400fbe60.c | 11 + .../full/functions/0x1400fbe70.c | 11 + .../full/functions/0x1400fbe90.c | 11 + .../full/functions/0x1400fbea0.c | 11 + .../full/functions/0x1400fbeb0.c | 11 + .../full/functions/0x1400fbec0.c | 11 + .../full/functions/0x1400fbed0.c | 11 + .../full/functions/0x1400fbee0.c | 11 + .../full/functions/0x1400fbef0.c | 11 + .../full/functions/0x1400fbf00.c | 11 + .../full/functions/0x1400fbf10.c | 11 + .../full/functions/0x1400fbf20.c | 11 + .../full/functions/0x1400fbf30.c | 11 + .../full/functions/0x1400fbf40.c | 11 + .../full/functions/0x1400fbf50.c | 11 + .../full/functions/0x1400fbf60.c | 11 + .../full/functions/0x1400fbf70.c | 11 + .../full/functions/0x1400fbf80.c | 11 + .../full/functions/0x1400fbf90.c | 11 + .../full/functions/0x1400fbfa0.c | 11 + .../full/functions/0x1400fbfb0.c | 11 + .../full/functions/0x1400fbfc0.c | 11 + .../full/functions/0x1400fbfd0.c | 11 + .../full/functions/0x1400fbfe0.c | 11 + .../full/functions/0x1400fbff0.c | 11 + .../full/functions/0x1400fc000.c | 11 + .../full/functions/0x1400fc010.c | 11 + .../full/functions/0x1400fc020.c | 11 + .../full/functions/0x1400fc030.c | 11 + .../full/functions/0x1400fc040.c | 11 + .../full/functions/0x1400fc050.c | 11 + .../full/functions/0x1400fc060.c | 11 + .../full/functions/0x1400fc070.c | 11 + .../full/functions/0x1400fc080.c | 11 + .../full/functions/0x1400fc090.c | 11 + .../full/functions/0x1400fc0a0.c | 11 + .../full/functions/0x1400fc0b0.c | 11 + .../full/functions/0x1400fc0d0.c | 11 + .../full/functions/0x1400fc0e0.c | 11 + .../full/functions/0x1400fc100.c | 11 + .../full/functions/0x1400fc110.c | 11 + .../full/functions/0x1400fc120.c | 11 + .../full/functions/0x1400fc130.c | 11 + .../full/functions/0x1400fc140.c | 11 + .../full/functions/0x1400fc150.c | 11 + .../full/functions/0x1400fc160.c | 11 + .../full/functions/0x1400fc170.c | 11 + .../full/functions/0x1400fc190.c | 11 + .../full/functions/0x1400fc1a0.c | 11 + .../full/functions/0x1400fc1b0.c | 11 + .../full/functions/0x1400fc1c0.c | 11 + .../full/functions/0x1400fc1d0.c | 11 + .../full/functions/0x1400fc1e0.c | 11 + .../full/functions/0x1400fc1f0.c | 11 + .../full/functions/0x1400fc200.c | 11 + .../full/functions/0x1400fc210.c | 11 + .../full/functions/0x1400fc220.c | 11 + .../full/functions/0x1400fc230.c | 11 + .../full/functions/0x1400fc240.c | 11 + .../full/functions/0x1400fc250.c | 11 + .../full/functions/0x1400fc260.c | 11 + .../full/functions/0x1400fc270.c | 11 + .../full/functions/0x1400fc280.c | 11 + .../full/functions/0x1400fc290.c | 47 + .../full/functions/0x1400fc370.c | 11 + .../full/functions/0x1400fc380.c | 11 + .../full/functions/0x1400fc390.c | 11 + .../full/functions/0x1400fc3a0.c | 11 + .../full/functions/0x1400fc3b0.c | 11 + .../full/functions/0x1400fc3c0.c | 11 + .../full/functions/0x1400fc3d0.c | 47 + .../full/functions/0x1400fc4b0.c | 11 + .../full/functions/0x1400fc4c0.c | 11 + .../full/functions/0x1400fc4d0.c | 11 + .../full/functions/0x1400fc4e0.c | 11 + .../full/functions/0x1400fc4f0.c | 11 + .../full/functions/0x1400fc500.c | 11 + .../full/functions/0x1400fc510.c | 11 + .../full/functions/0x1400fc520.c | 11 + .../full/functions/0x1400fc530.c | 11 + .../full/functions/0x1400fc550.c | 11 + .../full/functions/0x1400fc560.c | 11 + .../full/functions/0x1400fc580.c | 11 + .../full/functions/0x1400fc590.c | 11 + .../full/functions/0x1400fc5a0.c | 11 + .../full/functions/0x1400fc5b0.c | 11 + .../full/functions/0x1400fc5c0.c | 11 + .../full/functions/0x1400fc5d0.c | 11 + .../full/functions/0x1400fc5e0.c | 11 + .../full/functions/0x1400fc5f0.c | 11 + .../full/functions/0x1400fc600.c | 11 + .../full/functions/0x1400fc610.c | 11 + .../full/functions/0x1400fc620.c | 11 + .../full/functions/0x1400fc630.c | 11 + .../full/functions/0x1400fc640.c | 11 + .../full/functions/0x1400fc650.c | 11 + .../full/functions/0x1400fc660.c | 11 + .../full/functions/0x1400fc670.c | 11 + .../full/functions/0x1400fc680.c | 11 + .../full/functions/0x1400fc690.c | 11 + .../full/functions/0x1400fc6a0.c | 11 + .../full/functions/0x1400fc6b0.c | 11 + .../full/functions/0x1400fc6c0.c | 11 + .../full/functions/0x1400fc6d0.c | 11 + .../full/functions/0x1400fc6e0.c | 11 + .../full/functions/0x1400fc6f0.c | 11 + .../full/functions/0x1400fc700.c | 11 + .../full/functions/0x1400fc710.c | 11 + .../full/functions/0x1400fc720.c | 11 + .../full/functions/0x1400fc730.c | 11 + .../full/functions/0x1400fc740.c | 11 + .../full/functions/0x1400fc750.c | 11 + .../full/functions/0x1400fc760.c | 11 + .../full/functions/0x1400fc770.c | 11 + .../full/functions/0x1400fc780.c | 11 + .../full/functions/0x1400fc790.c | 11 + .../full/functions/0x1400fc7a0.c | 11 + .../full/functions/0x1400fc7b0.c | 11 + .../full/functions/0x1400fc7c0.c | 11 + .../full/functions/0x1400fc7d0.c | 11 + .../full/functions/0x1400fc7e0.c | 11 + .../full/functions/0x1400fc800.c | 11 + .../full/functions/0x1400fc820.c | 11 + .../full/functions/0x1400fc840.c | 11 + .../full/functions/0x1400fc860.c | 11 + .../full/functions/0x1400fc880.c | 11 + .../full/functions/0x1400fc8a0.c | 11 + .../full/functions/0x1400fc8c0.c | 11 + .../full/functions/0x1400fc8e0.c | 11 + .../full/functions/0x1400fc8f0.c | 11 + .../full/functions/0x1400fc900.c | 11 + .../full/functions/0x1400fc910.c | 11 + .../full/functions/0x1400fc930.c | 11 + .../full/functions/0x1400fc960.c | 11 + .../full/functions/0x1400fc970.c | 11 + .../full/functions/0x1400fc980.c | 11 + .../full/functions/0x1400fc990.c | 11 + .../full/functions/0x1400fc9a0.c | 11 + .../full/functions/0x1400fc9b0.c | 11 + .../full/functions/0x1400fc9c0.c | 11 + .../full/functions/0x1400fc9d0.c | 11 + .../full/functions/0x1400fc9e0.c | 11 + .../full/functions/0x1400fc9f0.c | 11 + .../full/functions/0x1400fca00.c | 11 + .../full/functions/0x1400fca10.c | 11 + .../full/functions/0x1400fca20.c | 11 + .../full/functions/0x1400fca30.c | 11 + .../full/functions/0x1400fca40.c | 11 + .../full/functions/0x1400fca50.c | 11 + .../full/functions/0x1400fca60.c | 11 + .../full/functions/0x1400fca70.c | 11 + .../full/functions/0x1400fca80.c | 11 + .../full/functions/0x1400fca90.c | 11 + .../full/functions/0x1400fcaa0.c | 11 + .../full/functions/0x1400fcab0.c | 11 + .../full/functions/0x1400fcac0.c | 11 + .../full/functions/0x1400fcad0.c | 11 + .../full/functions/0x1400fcae0.c | 11 + .../full/functions/0x1400fcaf0.c | 11 + .../full/functions/0x1400fcb00.c | 11 + .../full/functions/0x1400fcb10.c | 11 + .../full/functions/0x1400fcb20.c | 11 + .../full/functions/0x1400fcb30.c | 11 + .../full/functions/0x1400fcb40.c | 11 + .../full/functions/0x1400fcb50.c | 11 + .../full/functions/0x1400fcb60.c | 11 + .../full/functions/0x1400fcb70.c | 11 + .../full/functions/0x1400fcb80.c | 11 + .../full/functions/0x1400fcb90.c | 11 + .../full/functions/0x1400fcba0.c | 11 + .../full/functions/0x1400fcbb0.c | 11 + .../full/functions/0x1400fcbc0.c | 11 + .../full/functions/0x1400fcbd0.c | 11 + .../full/functions/0x1400fcbe0.c | 11 + .../full/functions/0x1400fcbf0.c | 11 + .../full/functions/0x1400fcc00.c | 11 + .../full/functions/0x1400fcc10.c | 11 + .../full/functions/0x1400fcc20.c | 11 + .../full/functions/0x1400fcc30.c | 11 + .../full/functions/0x1400fcc40.c | 11 + .../full/functions/0x1400fcc50.c | 11 + .../full/functions/0x1400fcc60.c | 11 + .../full/functions/0x1400fcc70.c | 11 + .../full/functions/0x1400fcc80.c | 11 + .../full/functions/0x1400fcc90.c | 11 + .../full/functions/0x1400fcca0.c | 11 + .../full/functions/0x1400fccb0.c | 11 + .../full/functions/0x1400fccc0.c | 11 + .../full/functions/0x1400fccd0.c | 11 + .../full/functions/0x1400fcce0.c | 11 + .../full/functions/0x1400fccf0.c | 11 + .../full/functions/0x1400fcd00.c | 11 + .../full/functions/0x1400fcd10.c | 11 + .../full/functions/0x1400fcd20.c | 11 + .../full/functions/0x1400fcd50.c | 11 + .../full/functions/0x1400fcd60.c | 11 + .../full/functions/0x1400fcd70.c | 11 + .../full/functions/0x1400fcd80.c | 11 + .../full/functions/0x1400fcd90.c | 11 + .../full/functions/0x1400fcda0.c | 11 + .../full/functions/0x1400fcdb0.c | 11 + .../full/functions/0x1400fcdc0.c | 11 + .../full/functions/0x1400fcdd0.c | 15 + .../full/functions/0x1400fce10.c | 11 + .../full/functions/0x1400fce20.c | 15 + .../full/functions/0x1400fce60.c | 11 + .../full/functions/0x1400fce70.c | 11 + .../full/functions/0x1400fce80.c | 11 + .../full/functions/0x1400fce90.c | 11 + .../full/functions/0x1400fcea0.c | 11 + .../full/functions/0x1400fceb0.c | 11 + .../full/functions/0x1400fcec0.c | 11 + .../full/functions/0x1400fced0.c | 11 + .../full/functions/0x1400fcef0.c | 11 + .../full/functions/0x1400fcf10.c | 11 + .../full/functions/0x1400fcf30.c | 11 + .../full/functions/0x1400fcf50.c | 11 + .../full/functions/0x1400fcf70.c | 11 + .../full/functions/0x1400fcf90.c | 11 + .../full/functions/0x1400fcfb0.c | 11 + .../full/functions/0x1400fcfd0.c | 11 + .../full/functions/0x1400fcfe0.c | 11 + .../full/functions/0x1400fcff0.c | 11 + .../full/functions/0x1400fd000.c | 11 + .../full/functions/0x1400fd010.c | 11 + .../full/functions/0x1400fd020.c | 11 + .../full/functions/0x1400fd030.c | 11 + .../full/functions/0x1400fd060.c | 11 + .../full/functions/0x1400fd070.c | 11 + .../full/functions/0x1400fd080.c | 14 + .../full/functions/0x1400fd0b0.c | 11 + .../full/functions/0x1400fd0c0.c | 11 + .../full/functions/0x1400fd0d0.c | 11 + .../full/functions/0x1400fd0e0.c | 11 + .../full/functions/0x1400fd0f0.c | 11 + .../full/functions/0x1400fd100.c | 11 + .../full/functions/0x1400fd110.c | 11 + .../full/functions/0x1400fd120.c | 11 + .../full/functions/0x1400fd130.c | 11 + .../full/functions/0x1400fd140.c | 11 + .../full/functions/0x1400fd150.c | 11 + .../full/functions/0x1400fd160.c | 11 + .../full/functions/0x1400fd180.c | 11 + .../full/functions/0x1400fd1a0.c | 11 + .../full/functions/0x1400fd1c0.c | 11 + .../full/functions/0x1400fd1d0.c | 11 + .../full/functions/0x1400fd1e0.c | 11 + .../full/functions/0x1400fd1f0.c | 11 + .../full/functions/0x1400fd200.c | 11 + .../full/functions/0x1400fd210.c | 11 + .../full/functions/0x1400fd220.c | 20 + .../full/functions/0x1400fd250.c | 11 + .../full/functions/0x1400fd260.c | 11 + .../full/functions/0x1400fd270.c | 11 + .../full/functions/0x1400fd280.c | 11 + .../full/functions/0x1400fd290.c | 11 + .../full/functions/0x1400fd2a0.c | 11 + .../full/functions/0x1400fd2b0.c | 11 + .../full/functions/0x1400fd2c0.c | 11 + .../full/functions/0x1400fd2f0.c | 11 + .../full/functions/0x1400fd320.c | 11 + .../full/functions/0x1400fd350.c | 11 + .../full/functions/0x1400fd360.c | 11 + .../full/functions/0x1400fd370.c | 11 + .../full/functions/0x1400fd390.c | 11 + .../full/functions/0x1400fd3a0.c | 11 + .../full/functions/0x1400fd3c0.c | 11 + .../full/functions/0x1400fd3d0.c | 11 + .../full/functions/0x1400fd3e0.c | 11 + .../full/functions/0x1400fd3f0.c | 11 + .../full/functions/0x1400fd400.c | 11 + .../full/functions/0x1400fd410.c | 10 + .../full/functions/0x1400fd430.c | 11 + .../full/functions/0x1400fd440.c | 11 + .../full/functions/0x1400fd450.c | 11 + .../full/functions/0x1400fd460.c | 11 + .../full/functions/0x1400fd470.c | 11 + .../full/functions/0x1400fd480.c | 11 + .../full/functions/0x1400fd490.c | 11 + .../full/functions/0x1400fd4a0.c | 11 + .../full/functions/0x1400fd4b0.c | 11 + .../full/functions/0x1400fd4c0.c | 11 + .../full/functions/0x1400fd4d0.c | 10 + .../full/functions/0x1400fd4f0.c | 11 + .../full/functions/0x1400fd500.c | 11 + .../full/functions/0x1400fd510.c | 11 + .../full/functions/0x1400fd530.c | 11 + .../full/functions/0x1400fd550.c | 11 + .../full/functions/0x1400fd560.c | 11 + .../full/functions/0x1400fd570.c | 11 + .../full/functions/0x1400fd590.c | 11 + .../full/functions/0x1400fd5b0.c | 11 + .../full/functions/0x1400fd5c0.c | 11 + .../full/functions/0x1400fd5d0.c | 11 + .../full/functions/0x1400fd5e0.c | 11 + .../full/functions/0x1400fd5f0.c | 11 + .../full/functions/0x1400fd600.c | 11 + .../full/functions/0x1400fd610.c | 11 + .../full/functions/0x1400fd620.c | 11 + .../full/functions/0x1400fd630.c | 11 + .../full/functions/0x1400fd640.c | 11 + .../full/functions/0x1400fd650.c | 11 + .../full/functions/0x1400fd660.c | 11 + .../full/functions/0x1400fd670.c | 11 + .../full/functions/0x1400fd680.c | 11 + .../full/functions/0x1400fd690.c | 11 + .../full/functions/0x1400fd6a0.c | 11 + .../full/functions/0x1400fd6c0.c | 11 + .../full/functions/0x1400fd6d0.c | 11 + .../full/functions/0x1400fd6e0.c | 11 + .../full/functions/0x1400fd6f0.c | 11 + .../full/functions/0x1400fd700.c | 11 + .../full/functions/0x1400fd710.c | 11 + .../full/functions/0x1400fd720.c | 11 + .../full/functions/0x1400fd730.c | 11 + .../full/functions/0x1400fd740.c | 11 + .../full/functions/0x1400fd750.c | 11 + .../full/functions/0x1400fd760.c | 11 + .../full/functions/0x1400fd770.c | 11 + .../full/functions/0x1400fd780.c | 11 + .../full/functions/0x1400fd790.c | 11 + .../full/functions/0x1400fd7a0.c | 11 + .../full/functions/0x1400fd7b0.c | 11 + .../full/functions/0x1400fd7c0.c | 11 + .../full/functions/0x1400fd7d0.c | 11 + .../full/functions/0x1400fd7e0.c | 11 + .../full/functions/0x1400fd7f0.c | 11 + .../full/functions/0x1400fd800.c | 11 + .../full/functions/0x1400fd810.c | 11 + .../full/functions/0x1400fd820.c | 11 + .../full/functions/0x1400fd830.c | 11 + .../full/functions/0x1400fd840.c | 11 + .../full/functions/0x1400fd850.c | 11 + .../full/functions/0x1400fd860.c | 11 + .../full/functions/0x1400fd870.c | 11 + .../full/functions/0x1400fd880.c | 11 + .../full/functions/0x1400fd890.c | 11 + .../full/functions/0x1400fd8a0.c | 11 + .../full/functions/0x1400fd8c0.c | 11 + .../full/functions/0x1400fd8d0.c | 11 + .../full/functions/0x1400fd8e0.c | 11 + .../full/functions/0x1400fd900.c | 11 + .../full/functions/0x1400fd920.c | 11 + .../full/functions/0x1400fd940.c | 11 + .../full/functions/0x1400fd950.c | 11 + .../full/functions/0x1400fd960.c | 11 + .../full/functions/0x1400fd980.c | 11 + .../full/functions/0x1400fd9a0.c | 11 + .../full/functions/0x1400fd9c0.c | 11 + .../full/functions/0x1400fd9e0.c | 11 + .../full/functions/0x1400fd9f0.c | 11 + .../full/functions/0x1400fda00.c | 11 + .../full/functions/0x1400fda10.c | 11 + .../full/functions/0x1400fda20.c | 11 + .../full/functions/0x1400fda30.c | 11 + .../full/functions/0x1400fda40.c | 11 + .../full/functions/0x1400fda50.c | 11 + .../full/functions/0x1400fda60.c | 11 + .../full/functions/0x1400fda70.c | 11 + .../full/functions/0x1400fda80.c | 11 + .../full/functions/0x1400fda90.c | 11 + .../full/functions/0x1400fdaa0.c | 11 + .../full/functions/0x1400fdab0.c | 11 + .../full/functions/0x1400fdac0.c | 11 + .../full/functions/0x1400fdad0.c | 11 + .../full/functions/0x1400fdae0.c | 11 + .../full/functions/0x1400fdaf0.c | 11 + .../full/functions/0x1400fdb00.c | 11 + .../full/functions/0x1400fdb10.c | 11 + .../full/functions/0x1400fdb20.c | 11 + .../full/functions/0x1400fdb30.c | 11 + .../full/functions/0x1400fdb40.c | 11 + .../full/functions/0x1400fdb50.c | 11 + .../full/functions/0x1400fdb60.c | 11 + .../full/functions/0x1400fdb70.c | 11 + .../full/functions/0x1400fdb80.c | 11 + .../full/functions/0x1400fdb90.c | 11 + .../full/functions/0x1400fdba0.c | 11 + .../full/functions/0x1400fdbb0.c | 11 + .../full/functions/0x1400fdbc0.c | 11 + .../full/functions/0x1400fdbd0.c | 11 + .../full/functions/0x1400fdbe0.c | 11 + .../full/functions/0x1400fdbf0.c | 11 + .../full/functions/0x1400fdc00.c | 11 + .../full/functions/0x1400fdc10.c | 11 + .../full/functions/0x1400fdc20.c | 11 + .../full/functions/0x1400fdc30.c | 11 + .../full/functions/0x1400fdc40.c | 11 + .../full/functions/0x1400fdc50.c | 11 + .../full/functions/0x1400fdc60.c | 11 + .../full/functions/0x1400fdc70.c | 11 + .../full/functions/0x1400fdc80.c | 11 + .../full/functions/0x1400fdc90.c | 11 + .../full/functions/0x1400fdca0.c | 11 + .../full/functions/0x1400fdcb0.c | 11 + .../full/functions/0x1400fdcc0.c | 11 + .../full/functions/0x1400fdcd0.c | 11 + .../full/functions/0x1400fdce0.c | 11 + .../full/functions/0x1400fdcf0.c | 11 + .../full/functions/0x1400fdd00.c | 11 + .../full/functions/0x1400fdd10.c | 11 + .../full/functions/0x1400fdd20.c | 11 + .../full/functions/0x1400fdd30.c | 11 + .../full/functions/0x1400fdd40.c | 11 + .../full/functions/0x1400fdd50.c | 11 + .../full/functions/0x1400fdd60.c | 11 + .../full/functions/0x1400fdd70.c | 11 + .../full/functions/0x1400fdd80.c | 11 + .../full/functions/0x1400fdd90.c | 11 + .../full/functions/0x1400fdda0.c | 11 + .../full/functions/0x1400fddb0.c | 11 + .../full/functions/0x1400fddc0.c | 11 + .../full/functions/0x1400fddd0.c | 11 + .../full/functions/0x1400fdde0.c | 11 + .../full/functions/0x1400fddf0.c | 11 + .../full/functions/0x1400fde00.c | 11 + .../full/functions/0x1400fde10.c | 11 + .../full/functions/0x1400fde20.c | 11 + .../full/functions/0x1400fde30.c | 11 + .../full/functions/0x1400fde40.c | 11 + .../full/functions/0x1400fde50.c | 11 + .../full/functions/0x1400fde60.c | 11 + .../full/functions/0x1400fde70.c | 11 + .../full/functions/0x1400fde80.c | 11 + .../full/functions/0x1400fde90.c | 11 + .../full/functions/0x1400fdea0.c | 11 + .../full/functions/0x1400fdeb0.c | 11 + .../full/functions/0x1400fdec0.c | 11 + .../full/functions/0x1400fded0.c | 11 + .../full/functions/0x1400fdee0.c | 11 + .../full/functions/0x1400fdef0.c | 11 + .../full/functions/0x1400fdf00.c | 11 + .../full/functions/0x1400fdf10.c | 11 + .../full/functions/0x1400fdf30.c | 11 + .../full/functions/0x1400fdf50.c | 11 + .../full/functions/0x1400fdf60.c | 11 + .../full/functions/0x1400fdf70.c | 11 + .../full/functions/0x1400fdf80.c | 11 + .../full/functions/0x1400fdf90.c | 11 + .../full/functions/0x1400fdfa0.c | 11 + .../full/functions/0x1400fdfb0.c | 11 + .../full/functions/0x1400fdfd0.c | 11 + .../full/functions/0x1400fdff0.c | 11 + .../full/functions/0x1400fe010.c | 11 + .../full/functions/0x1400fe020.c | 11 + .../full/functions/0x1400fe030.c | 11 + .../full/functions/0x1400fe040.c | 11 + .../full/functions/0x1400fe050.c | 11 + .../full/functions/0x1400fe070.c | 11 + .../full/functions/0x1400fe080.c | 11 + .../full/functions/0x1400fe0a0.c | 11 + .../full/functions/0x1400fe0b0.c | 11 + .../full/functions/0x1400fe0c0.c | 11 + .../full/functions/0x1400fe0e0.c | 11 + .../full/functions/0x1400fe100.c | 11 + .../full/functions/0x1400fe120.c | 11 + .../full/functions/0x1400fe140.c | 11 + .../full/functions/0x1400fe150.c | 11 + .../full/functions/0x1400fe160.c | 11 + .../full/functions/0x1400fe170.c | 11 + .../full/functions/0x1400fe180.c | 11 + .../full/functions/0x1400fe1a0.c | 11 + .../full/functions/0x1400fe1c0.c | 11 + .../full/functions/0x1400fe1e0.c | 11 + .../full/functions/0x1400fe200.c | 11 + .../full/functions/0x1400fe220.c | 11 + .../full/functions/0x1400fe230.c | 11 + .../full/functions/0x1400fe240.c | 11 + .../full/functions/0x1400fe250.c | 11 + .../full/functions/0x1400fe260.c | 11 + .../full/functions/0x1400fe270.c | 11 + .../full/functions/0x1400fe280.c | 11 + .../full/functions/0x1400fe290.c | 11 + .../full/functions/0x1400fe2a0.c | 11 + .../full/functions/0x1400fe2c0.c | 11 + .../full/functions/0x1400fe2d0.c | 11 + .../full/functions/0x1400fe2e0.c | 11 + .../full/functions/0x1400fe2f0.c | 11 + .../full/functions/0x1400fe300.c | 11 + .../full/functions/0x1400fe320.c | 11 + .../full/functions/0x1400fe330.c | 11 + .../full/functions/0x1400fe340.c | 11 + .../full/functions/0x1400fe350.c | 11 + .../full/functions/0x1400fe360.c | 11 + .../full/functions/0x1400fe380.c | 11 + .../full/functions/0x1400fe390.c | 11 + .../full/functions/0x1400fe3b0.c | 11 + .../full/functions/0x1400fe3d0.c | 11 + .../full/functions/0x1400fe3e0.c | 11 + .../full/functions/0x1400fe400.c | 11 + .../full/functions/0x1400fe410.c | 11 + .../full/functions/0x1400fe420.c | 11 + .../full/functions/0x1400fe430.c | 11 + .../full/functions/0x1400fe440.c | 11 + .../full/functions/0x1400fe450.c | 11 + .../full/functions/0x1400fe460.c | 11 + .../full/functions/0x1400fe470.c | 11 + .../full/functions/0x1400fe480.c | 11 + .../full/functions/0x1400fe490.c | 11 + .../full/functions/0x1400fe4a0.c | 11 + .../full/functions/0x1400fe4b0.c | 11 + .../full/functions/0x1400fe4c0.c | 11 + .../full/functions/0x1400fe4d0.c | 11 + .../full/functions/0x1400fe4e0.c | 11 + .../full/functions/0x1400fe4f0.c | 11 + .../full/functions/0x1400fe500.c | 11 + .../full/functions/0x1400fe510.c | 11 + .../full/functions/0x1400fe520.c | 11 + .../full/functions/0x1400fe530.c | 11 + .../full/functions/0x1400fe540.c | 11 + .../full/functions/0x1400fe550.c | 11 + .../full/functions/0x1400fe560.c | 11 + .../full/functions/0x1400fe570.c | 11 + .../full/functions/0x1400fe580.c | 11 + .../full/functions/0x1400fe590.c | 11 + .../full/functions/0x1400fe5a0.c | 11 + .../full/functions/0x1400fe5b0.c | 11 + .../full/functions/0x1400fe5c0.c | 11 + .../full/functions/0x1400fe5d0.c | 11 + .../full/functions/0x1400fe5e0.c | 11 + .../full/functions/0x1400fe5f0.c | 11 + .../full/functions/0x1400fe600.c | 11 + .../full/functions/0x1400fe620.c | 11 + .../full/functions/0x1400fe640.c | 11 + .../full/functions/0x1400fe660.c | 11 + .../full/functions/0x1400fe670.c | 11 + .../full/functions/0x1400fe690.c | 11 + .../full/functions/0x1400fe6a0.c | 11 + .../full/functions/0x1400fe6c0.c | 11 + .../full/functions/0x1400fe6d0.c | 11 + .../full/functions/0x1400fe6e0.c | 11 + .../full/functions/0x1400fe6f0.c | 11 + .../full/functions/0x1400fe700.c | 11 + .../full/functions/0x1400fe710.c | 11 + .../full/functions/0x1400fe720.c | 11 + .../full/functions/0x1400fe730.c | 11 + .../full/functions/0x1400fe740.c | 11 + .../full/functions/0x1400fe750.c | 11 + .../full/functions/0x1400fe760.c | 11 + .../full/functions/0x1400fe770.c | 11 + .../full/functions/0x1400fe790.c | 11 + .../full/functions/0x1400fe7b0.c | 11 + .../full/functions/0x1400fe7d0.c | 11 + .../full/functions/0x1400fe7e0.c | 11 + .../full/functions/0x1400fe7f0.c | 11 + .../full/functions/0x1400fe800.c | 11 + .../full/functions/0x1400fe810.c | 11 + .../full/functions/0x1400fe820.c | 11 + .../full/functions/0x1400fe830.c | 11 + .../full/functions/0x1400fe840.c | 11 + .../full/functions/0x1400fe850.c | 11 + .../full/functions/0x1400fe860.c | 11 + .../full/functions/0x1400fe870.c | 11 + .../full/functions/0x1400fe880.c | 11 + .../full/functions/0x1400fe890.c | 11 + .../full/functions/0x1400fe8a0.c | 11 + .../full/functions/0x1400fe8b0.c | 11 + .../full/functions/0x1400fe8c0.c | 11 + .../full/functions/0x1400fe8d0.c | 11 + .../full/functions/0x1400fe8e0.c | 11 + .../full/functions/0x1400fe8f0.c | 11 + .../full/functions/0x1400fe900.c | 11 + .../full/functions/0x1400fe910.c | 11 + .../full/functions/0x1400fe920.c | 11 + .../full/functions/0x1400fe930.c | 11 + .../full/functions/0x1400fe940.c | 14 + .../full/functions/0x1400fe970.c | 11 + .../full/functions/0x1400fe980.c | 13 + .../full/functions/0x1400fe990.c | 16 + .../full/functions/0x1400fe9b0.c | 15 + .../full/functions/0x1400fe9d0.c | 11 + .../full/functions/0x1400fe9f0.c | 12 + .../full/functions/0x1400fea31.c | 11 + .../full/functions/0x1400fea51.c | 11 + .../full/functions/0x1400fea61.c | 11 + .../full/functions/0x1400fea71.c | 11 + .../full/functions/0x1400fea81.c | 11 + .../full/functions/0x1400feaa1.c | 11 + .../full/functions/0x1400feab1.c | 11 + .../full/functions/0x1400feac1.c | 11 + .../full/functions/0x1400fead1.c | 11 + .../full/functions/0x1400feaf1.c | 11 + .../full/functions/0x1400feb11.c | 11 + .../full/functions/0x1400feb31.c | 11 + .../full/functions/0x1400feb41.c | 11 + .../full/functions/0x1400feb51.c | 11 + .../full/functions/0x1400feb61.c | 11 + .../full/functions/0x1400feb71.c | 11 + .../full/functions/0x1400feb91.c | 11 + .../full/functions/0x1400febb1.c | 11 + .../full/functions/0x1400febd1.c | 11 + .../full/functions/0x1400febf1.c | 11 + .../full/functions/0x1400fec11.c | 11 + .../full/functions/0x1400fec31.c | 11 + .../full/functions/0x1400fec51.c | 11 + .../full/functions/0x1400fec71.c | 11 + .../full/functions/0x1400fec81.c | 11 + .../full/functions/0x1400fec91.c | 11 + .../full/functions/0x1400feca1.c | 11 + .../full/functions/0x1400fecb1.c | 11 + .../full/functions/0x1400fecd1.c | 11 + .../full/functions/0x1400fece1.c | 11 + .../full/functions/0x1400fecf1.c | 11 + .../full/functions/0x1400fed11.c | 11 + .../full/functions/0x1400fed31.c | 11 + .../full/functions/0x1400fed51.c | 11 + .../full/functions/0x1400fed71.c | 11 + .../full/functions/0x1400fed81.c | 11 + .../full/functions/0x1400feda1.c | 11 + .../full/functions/0x1400fedc1.c | 11 + .../full/functions/0x1400fedd1.c | 11 + .../full/functions/0x1400fedf1.c | 11 + .../full/functions/0x1400fee11.c | 11 + .../full/functions/0x1400fee21.c | 11 + .../full/functions/0x1400fee41.c | 11 + .../full/functions/0x1400fee60.c | 11 + .../full/functions/0x1400fee70.c | 12 + .../full/functions/0x1400feea0.c | 11 + .../full/functions/0x1400feeb0.c | 11 + .../full/functions/0x1400feec0.c | 11 + .../full/functions/0x1400feee0.c | 11 + .../full/functions/0x1400fef00.c | 12 + .../full/functions/0x1400fef30.c | 12 + .../full/functions/0x1400fef60.c | 11 + .../full/functions/0x1400fef70.c | 11 + .../full/functions/0x1400fef80.c | 31 + .../full/functions/0x1400fefe0.c | 11 + .../full/functions/0x1400feff0.c | 11 + .../full/functions/0x1400ff000.c | 11 + .../full/functions/0x1400ff010.c | 11 + .../full/functions/0x1400ff020.c | 11 + .../full/functions/0x1400ff030.c | 11 + .../full/functions/0x1400ff040.c | 11 + .../full/functions/0x1400ff050.c | 11 + .../full/functions/0x1400ff060.c | 11 + .../full/functions/0x1400ff070.c | 11 + .../full/functions/0x1400ff080.c | 11 + .../full/functions/0x1400ff090.c | 10 + .../full/functions/0x1400ff0b0.c | 11 + .../full/functions/0x1400ff0c0.c | 11 + .../full/functions/0x1400ff0d0.c | 11 + .../full/functions/0x1400ff0e0.c | 11 + .../full/functions/0x1400ff0f0.c | 11 + .../full/functions/0x1400ff100.c | 11 + .../full/functions/0x1400ff110.c | 11 + .../full/functions/0x1400ff120.c | 11 + .../full/functions/0x1400ff130.c | 11 + .../full/functions/0x1400ff140.c | 11 + .../full/functions/0x1400ff150.c | 12 + .../full/functions/0x1400ff180.c | 11 + .../full/functions/0x1400ff190.c | 11 + .../full/functions/0x1400ff1a0.c | 11 + .../full/functions/0x1400ff1b0.c | 11 + .../full/functions/0x1400ff1c0.c | 11 + .../full/functions/0x1400ff1d0.c | 11 + .../full/functions/0x1400ff1e0.c | 11 + .../full/functions/0x1400ff1f0.c | 11 + .../full/functions/0x1400ff200.c | 11 + .../full/functions/0x1400ff210.c | 11 + .../full/functions/0x1400ff220.c | 11 + .../full/functions/0x1400ff230.c | 17 + .../full/functions/0x1400ff270.c | 20 + .../full/functions/0x1400ff2b0.c | 11 + .../full/functions/0x1400ff2c0.c | 13 + .../full/functions/0x1400ff310.c | 11 + .../full/functions/0x1400ff320.c | 11 + .../full/functions/0x1400ff330.c | 17 + .../full/functions/0x1400ff370.c | 20 + .../full/functions/0x1400ff3c0.c | 11 + .../full/functions/0x1400ff3d0.c | 11 + .../full/functions/0x1400ff3e0.c | 11 + .../full/functions/0x1400ff3f0.c | 11 + .../full/functions/0x1400ff400.c | 11 + .../full/functions/0x1400ff410.c | 11 + .../full/functions/0x1400ff420.c | 11 + .../full/functions/0x1400ff430.c | 11 + .../full/functions/0x1400ff440.c | 11 + .../full/functions/0x1400ff450.c | 11 + .../full/functions/0x1400ff460.c | 13 + .../full/functions/0x1400ff470.c | 11 + .../full/functions/0x1400ff480.c | 11 + .../full/functions/0x1400ff490.c | 11 + .../full/functions/0x1400ff4a0.c | 13 + .../full/functions/0x1400ff4f0.c | 11 + .../full/functions/0x1400ff500.c | 11 + .../full/functions/0x1400ff510.c | 11 + .../full/functions/0x1400ff520.c | 11 + .../full/functions/0x1400ff530.c | 11 + .../full/functions/0x1400ff540.c | 11 + .../full/functions/0x1400ff550.c | 11 + .../full/functions/0x1400ff560.c | 11 + .../full/functions/0x1400ff570.c | 11 + .../full/functions/0x1400ff580.c | 11 + .../full/functions/0x1400ff590.c | 11 + .../full/functions/0x1400ff5a0.c | 11 + .../full/functions/0x1400ff5b0.c | 11 + .../full/functions/0x1400ff5c0.c | 11 + .../full/functions/0x1400ff5d0.c | 13 + .../full/functions/0x1400ff620.c | 11 + .../full/functions/0x1400ff630.c | 11 + .../full/functions/0x1400ff640.c | 11 + .../full/functions/0x1400ff650.c | 11 + .../full/functions/0x1400ff660.c | 11 + .../full/functions/0x1400ff670.c | 11 + .../full/functions/0x1400ff680.c | 11 + .../full/functions/0x1400ff690.c | 11 + .../full/functions/0x1400ff6a0.c | 11 + .../full/functions/0x1400ff6b0.c | 11 + .../full/functions/0x1400ff6c0.c | 11 + .../full/functions/0x1400ff6d0.c | 11 + .../full/functions/0x1400ff6e0.c | 11 + .../full/functions/0x1400ff6f0.c | 11 + .../full/functions/0x1400ff700.c | 11 + .../full/functions/0x1400ff710.c | 11 + .../full/functions/0x1400ff720.c | 13 + .../full/functions/0x1400ff770.c | 11 + .../full/functions/0x1400ff780.c | 13 + .../full/functions/0x1400ff790.c | 11 + .../full/functions/0x1400ff7a0.c | 11 + .../full/functions/0x1400ff7b0.c | 11 + .../full/functions/0x1400ff7c0.c | 11 + .../full/functions/0x1400ff7d0.c | 11 + .../full/functions/0x1400ff7f0.c | 11 + .../full/functions/0x1400ff800.c | 11 + .../full/functions/0x1400ff810.c | 11 + .../full/functions/0x1400ff820.c | 11 + .../full/functions/0x1400ff830.c | 11 + .../full/functions/0x1400ff840.c | 11 + .../full/functions/0x1400ff850.c | 11 + .../full/functions/0x1400ff870.c | 11 + .../full/functions/0x1400ff880.c | 11 + .../full/functions/0x1400ff890.c | 11 + .../full/functions/0x1400ff8a0.c | 11 + .../full/functions/0x1400ff8b0.c | 11 + .../full/functions/0x1400ff8c0.c | 11 + .../full/functions/0x1400ff8d0.c | 11 + .../full/functions/0x1400ff8e0.c | 11 + .../full/functions/0x1400ff8f0.c | 11 + .../full/functions/0x1400ff900.c | 11 + .../full/functions/0x1400ff910.c | 11 + .../full/functions/0x1400ff920.c | 11 + .../full/functions/0x1400ff940.c | 11 + .../full/functions/0x1400ff950.c | 11 + .../full/functions/0x1400ff960.c | 11 + .../full/functions/0x1400ff970.c | 11 + .../full/functions/0x1400ff980.c | 11 + .../full/functions/0x1400ff990.c | 11 + .../full/functions/0x1400ff9a0.c | 11 + .../full/functions/0x1400ff9b0.c | 11 + .../full/functions/0x1400ff9d0.c | 11 + .../full/functions/0x1400ff9e0.c | 11 + .../full/functions/0x1400ff9f0.c | 13 + .../full/functions/0x1400ffa00.c | 13 + .../full/functions/0x1400ffa10.c | 11 + .../full/functions/0x1400ffa20.c | 11 + .../full/functions/0x1400ffa30.c | 11 + .../full/functions/0x1400ffa40.c | 11 + .../full/functions/0x1400ffa50.c | 11 + .../full/functions/0x1400ffa60.c | 11 + .../full/functions/0x1400ffa70.c | 11 + .../full/functions/0x1400ffa80.c | 11 + .../full/functions/0x1400ffa90.c | 11 + .../full/functions/0x1400ffaa0.c | 11 + .../full/functions/0x1400ffab0.c | 11 + .../full/functions/0x1400ffac0.c | 11 + .../full/functions/0x1400ffad0.c | 11 + .../full/functions/0x1400ffae0.c | 11 + .../full/functions/0x1400ffaf0.c | 11 + .../full/functions/0x1400ffb00.c | 11 + .../full/functions/0x1400ffb10.c | 11 + .../full/functions/0x1400ffb20.c | 11 + .../full/functions/0x1400ffb30.c | 11 + .../full/functions/0x1400ffb40.c | 11 + .../full/functions/0x1400ffb50.c | 11 + .../full/functions/0x1400ffb60.c | 11 + .../full/functions/0x1400ffb70.c | 11 + .../full/functions/0x1400ffb80.c | 11 + .../full/functions/0x1400ffb90.c | 11 + .../full/functions/0x1400ffba0.c | 11 + .../full/functions/0x1400ffbb0.c | 11 + .../full/functions/0x1400ffbc0.c | 11 + .../full/functions/0x1400ffbd0.c | 11 + .../full/functions/0x1400ffbe0.c | 11 + .../full/functions/0x1400ffbf0.c | 11 + .../full/functions/0x1400ffc00.c | 11 + .../full/functions/0x1400ffc10.c | 11 + .../full/functions/0x1400ffc20.c | 31 + .../full/functions/0x1400ffc80.c | 11 + .../full/functions/0x1400ffc90.c | 11 + .../full/functions/0x1400ffca0.c | 11 + .../full/functions/0x1400ffcb0.c | 11 + .../full/functions/0x1400ffcc0.c | 11 + .../full/functions/0x1400ffcd0.c | 11 + .../full/functions/0x1400ffce0.c | 11 + .../full/functions/0x1400ffcf0.c | 11 + .../full/functions/0x1400ffd00.c | 11 + .../full/functions/0x1400ffd10.c | 11 + .../full/functions/0x1400ffd20.c | 11 + .../full/functions/0x1400ffd30.c | 11 + .../full/functions/0x1400ffd40.c | 11 + .../full/functions/0x1400ffd50.c | 11 + .../full/functions/0x1400ffd60.c | 11 + .../full/functions/0x1400ffd70.c | 13 + .../full/functions/0x1400ffd80.c | 11 + .../full/functions/0x1400ffd90.c | 11 + .../full/functions/0x1400ffda0.c | 11 + .../full/functions/0x1400ffdb0.c | 11 + .../full/functions/0x1400ffdc0.c | 11 + .../full/functions/0x1400ffdd0.c | 13 + .../full/functions/0x1400ffe20.c | 11 + .../full/functions/0x1400ffe30.c | 11 + .../full/functions/0x1400ffe40.c | 11 + .../full/functions/0x1400ffe50.c | 11 + .../full/functions/0x1400ffe60.c | 11 + .../full/functions/0x1400ffe70.c | 11 + .../full/functions/0x1400ffe80.c | 11 + .../full/functions/0x1400ffe90.c | 11 + .../full/functions/0x1400ffea0.c | 11 + .../full/functions/0x1400ffeb0.c | 15 + .../full/functions/0x1400fff20.c | 11 + .../full/functions/0x1400fff30.c | 11 + .../full/functions/0x1400fff40.c | 11 + .../full/functions/0x1400fff50.c | 11 + .../full/functions/0x1400fff60.c | 11 + .../full/functions/0x1400fff70.c | 11 + .../full/functions/0x1400fff80.c | 11 + .../full/functions/0x1400fff90.c | 11 + .../full/functions/0x1400fffa0.c | 11 + .../full/functions/0x1400fffb0.c | 11 + .../full/functions/0x1400fffc0.c | 31 + .../full/functions/0x140100020.c | 11 + .../full/functions/0x140100040.c | 11 + .../full/functions/0x140100050.c | 18 + .../full/functions/0x140100090.c | 11 + .../full/functions/0x1401000b0.c | 11 + .../full/functions/0x1401000c0.c | 18 + .../full/functions/0x140100100.c | 11 + .../full/functions/0x140100120.c | 23 + .../full/functions/0x140100180.c | 12 + .../full/functions/0x1401001d0.c | 12 + .../full/functions/0x140100200.c | 11 + .../full/functions/0x140100210.c | 11 + .../full/functions/0x140100220.c | 11 + .../full/functions/0x140100230.c | 11 + .../full/functions/0x140100240.c | 11 + .../full/functions/0x140100260.c | 11 + .../full/functions/0x140100280.c | 11 + .../full/functions/0x1401002a0.c | 11 + .../full/functions/0x1401002c0.c | 11 + .../full/functions/0x1401002e0.c | 11 + .../full/functions/0x140100300.c | 11 + .../full/functions/0x140100310.c | 11 + .../full/functions/0x140100320.c | 11 + .../full/functions/0x140100330.c | 11 + .../full/functions/0x140100340.c | 11 + .../full/functions/0x140100350.c | 11 + .../full/functions/0x140100360.c | 11 + .../full/functions/0x140100370.c | 11 + .../full/functions/0x140100380.c | 11 + .../full/functions/0x140100390.c | 11 + .../full/functions/0x1401003a0.c | 11 + .../full/functions/0x1401003b0.c | 11 + .../full/functions/0x1401003c0.c | 11 + .../full/functions/0x1401003d0.c | 11 + .../full/functions/0x1401003e0.c | 11 + .../full/functions/0x1401003f0.c | 11 + .../full/functions/0x140100400.c | 11 + .../full/functions/0x140100410.c | 11 + .../full/functions/0x140100420.c | 11 + .../full/functions/0x140100430.c | 11 + .../full/functions/0x140100440.c | 11 + .../full/functions/0x140100450.c | 11 + .../full/functions/0x140100460.c | 11 + .../full/functions/0x140100470.c | 11 + .../full/functions/0x140100480.c | 11 + .../full/functions/0x140100490.c | 11 + .../full/functions/0x1401004a0.c | 11 + .../full/functions/0x1401004b0.c | 11 + .../full/functions/0x1401004c0.c | 11 + .../full/functions/0x1401004d0.c | 11 + .../full/functions/0x1401004e0.c | 11 + .../full/functions/0x1401004f0.c | 11 + .../full/functions/0x140100500.c | 11 + .../full/functions/0x140100510.c | 11 + .../full/functions/0x140100520.c | 11 + .../full/functions/0x140100530.c | 11 + .../full/functions/0x140100540.c | 11 + .../full/functions/0x140100550.c | 11 + .../full/functions/0x140100560.c | 11 + .../full/functions/0x140100570.c | 11 + .../full/functions/0x140100580.c | 11 + .../full/functions/0x140100590.c | 11 + .../full/functions/0x1401005a0.c | 11 + .../full/functions/0x1401005b0.c | 11 + .../full/functions/0x1401005c0.c | 11 + .../full/functions/0x1401005d0.c | 11 + .../full/functions/0x1401005e0.c | 11 + .../full/functions/0x1401005f0.c | 11 + .../full/functions/0x140100600.c | 11 + .../full/functions/0x140100610.c | 11 + .../full/functions/0x140100620.c | 11 + .../full/functions/0x140100630.c | 11 + .../full/functions/0x140100640.c | 11 + .../full/functions/0x140100650.c | 11 + .../full/functions/0x140100660.c | 11 + .../full/functions/0x140100670.c | 11 + .../full/functions/0x140100680.c | 11 + .../full/functions/0x140100690.c | 11 + .../full/functions/0x1401006a0.c | 11 + .../full/functions/0x1401006b0.c | 11 + .../full/functions/0x1401006c0.c | 11 + .../full/functions/0x1401006d0.c | 11 + .../full/functions/0x1401006e0.c | 11 + .../full/functions/0x1401006f0.c | 11 + .../full/functions/0x140100700.c | 11 + .../full/functions/0x140100710.c | 11 + .../full/functions/0x140100720.c | 11 + .../full/functions/0x140100730.c | 11 + .../full/functions/0x140100740.c | 11 + .../full/functions/0x140100750.c | 11 + .../full/functions/0x140100760.c | 11 + .../full/functions/0x140100770.c | 11 + .../full/functions/0x140100780.c | 11 + .../full/functions/0x140100790.c | 11 + .../full/functions/0x1401007a0.c | 11 + .../full/functions/0x1401007b0.c | 11 + .../full/functions/0x1401007c0.c | 11 + .../full/functions/0x1401007d0.c | 11 + .../full/functions/0x1401007e0.c | 11 + .../full/functions/0x1401007f0.c | 11 + .../full/functions/0x140100800.c | 11 + .../full/functions/0x140100810.c | 11 + .../full/functions/0x140100830.c | 18 + .../full/functions/0x140100870.c | 11 + .../full/functions/0x140100890.c | 18 + .../full/functions/0x1401008d0.c | 12 + .../full/functions/0x140100900.c | 12 + .../full/functions/0x140100930.c | 11 + .../full/functions/0x140100940.c | 11 + .../full/functions/0x140100950.c | 11 + .../full/functions/0x140100960.c | 11 + .../full/functions/0x140100970.c | 11 + .../full/functions/0x140100980.c | 11 + .../full/functions/0x140100990.c | 11 + .../full/functions/0x1401009a0.c | 11 + .../full/functions/0x1401009b0.c | 11 + .../full/functions/0x1401009c0.c | 11 + .../full/functions/0x1401009d0.c | 11 + .../full/functions/0x1401009e0.c | 11 + .../full/functions/0x1401009f0.c | 11 + .../full/functions/0x140100a00.c | 11 + .../full/functions/0x140100a10.c | 11 + .../full/functions/0x140100a20.c | 11 + .../full/functions/0x140100a30.c | 11 + .../full/functions/0x140100a40.c | 11 + .../full/functions/0x140100a50.c | 11 + .../full/functions/0x140100a60.c | 11 + .../full/functions/0x140100a70.c | 11 + .../full/functions/0x140100a80.c | 11 + .../full/functions/0x140100a90.c | 11 + .../full/functions/0x140100aa0.c | 11 + .../full/functions/0x140100ab0.c | 11 + .../full/functions/0x140100ac0.c | 11 + .../full/functions/0x140100ad0.c | 11 + .../full/functions/0x140100ae0.c | 11 + .../full/functions/0x140100af0.c | 11 + .../full/functions/0x140100b00.c | 11 + .../full/functions/0x140100b10.c | 11 + .../full/functions/0x140100b20.c | 11 + .../full/functions/0x140100b30.c | 11 + .../full/functions/0x140100b40.c | 11 + .../full/functions/0x140100b50.c | 11 + .../full/functions/0x140100b60.c | 11 + .../full/functions/0x140100b70.c | 11 + .../full/functions/0x140100b80.c | 11 + .../full/functions/0x140100b90.c | 11 + .../full/functions/0x140100ba0.c | 11 + .../full/functions/0x140100bb0.c | 11 + .../full/functions/0x140100bc0.c | 11 + .../full/functions/0x140100bd0.c | 11 + .../full/functions/0x140100be0.c | 11 + .../full/functions/0x140100bf0.c | 11 + .../full/functions/0x140100c00.c | 11 + .../full/functions/0x140100c10.c | 11 + .../full/functions/0x140100c20.c | 11 + .../full/functions/0x140100c30.c | 11 + .../full/functions/0x140100c40.c | 11 + .../full/functions/0x140100c50.c | 11 + .../full/functions/0x140100c60.c | 11 + .../full/functions/0x140100c70.c | 11 + .../full/functions/0x140100c80.c | 11 + .../full/functions/0x140100c90.c | 11 + .../full/functions/0x140100ca0.c | 11 + .../full/functions/0x140100cb0.c | 11 + .../full/functions/0x140100cc0.c | 11 + .../full/functions/0x140100cd0.c | 11 + .../full/functions/0x140100ce0.c | 11 + .../full/functions/0x140100cf0.c | 11 + .../full/functions/0x140100d00.c | 11 + .../full/functions/0x140100d10.c | 11 + .../full/functions/0x140100d20.c | 11 + .../full/functions/0x140100d30.c | 11 + .../full/functions/0x140100d40.c | 11 + .../full/functions/0x140100d50.c | 11 + .../full/functions/0x140100d60.c | 11 + .../full/functions/0x140100d70.c | 11 + .../full/functions/0x140100d80.c | 11 + .../full/functions/0x140100d90.c | 11 + .../full/functions/0x140100da0.c | 11 + .../full/functions/0x140100db0.c | 11 + .../full/functions/0x140100dc0.c | 11 + .../full/functions/0x140100dd0.c | 11 + .../full/functions/0x140100de0.c | 11 + .../full/functions/0x140100df0.c | 13 + .../full/functions/0x140100e00.c | 11 + .../full/functions/0x140100e10.c | 11 + .../full/functions/0x140100e20.c | 11 + .../full/functions/0x140100e30.c | 11 + .../full/functions/0x140100e40.c | 11 + .../full/functions/0x140100e50.c | 11 + .../full/functions/0x140100e60.c | 11 + .../full/functions/0x140100e70.c | 11 + .../full/functions/0x140100e80.c | 11 + .../full/functions/0x140100ea0.c | 11 + .../full/functions/0x140100ec0.c | 11 + .../full/functions/0x140100ee0.c | 11 + .../full/functions/0x140100f00.c | 11 + .../full/functions/0x140100f20.c | 11 + .../full/functions/0x140100f40.c | 11 + .../full/functions/0x140100f50.c | 11 + .../full/functions/0x140100f60.c | 11 + .../full/functions/0x140100f70.c | 20 + .../full/functions/0x140100fb0.c | 11 + .../full/functions/0x140100fc0.c | 11 + .../full/functions/0x140100fd0.c | 11 + .../full/functions/0x140100fe0.c | 11 + .../full/functions/0x140100ff0.c | 11 + .../full/functions/0x140101000.c | 11 + .../full/functions/0x140101010.c | 11 + .../full/functions/0x140101020.c | 11 + .../full/functions/0x140101030.c | 11 + .../full/functions/0x140101040.c | 11 + .../full/functions/0x140101050.c | 11 + .../full/functions/0x140101060.c | 11 + .../full/functions/0x140101070.c | 11 + .../full/functions/0x140101080.c | 13 + .../full/functions/0x1401010d0.c | 11 + .../full/functions/0x1401010e0.c | 11 + .../full/functions/0x1401010f0.c | 11 + .../full/functions/0x140101100.c | 11 + .../full/functions/0x140101110.c | 11 + .../full/functions/0x140101120.c | 11 + .../full/functions/0x140101130.c | 11 + .../full/functions/0x140101140.c | 11 + .../full/functions/0x140101150.c | 11 + .../full/functions/0x140101160.c | 11 + .../full/functions/0x140101170.c | 11 + .../full/functions/0x140101180.c | 11 + .../full/functions/0x140101190.c | 11 + .../full/functions/0x1401011a0.c | 13 + .../full/functions/0x1401011f0.c | 11 + .../full/functions/0x140101200.c | 11 + .../full/functions/0x140101210.c | 11 + .../full/functions/0x140101220.c | 11 + .../full/functions/0x140101240.c | 23 + .../full/functions/0x1401012a0.c | 11 + .../full/functions/0x1401012c0.c | 18 + .../full/functions/0x140101300.c | 12 + .../full/functions/0x140101330.c | 12 + .../full/functions/0x140101360.c | 11 + .../full/functions/0x140101370.c | 10 + .../full/functions/0x140101390.c | 11 + .../full/functions/0x1401013a0.c | 11 + .../full/functions/0x1401013c0.c | 18 + .../full/functions/0x140101400.c | 12 + .../full/functions/0x140101430.c | 11 + .../full/functions/0x140101440.c | 11 + .../full/functions/0x140101460.c | 11 + .../full/functions/0x140101470.c | 11 + .../full/functions/0x140101480.c | 11 + .../full/functions/0x140101490.c | 16 + .../full/functions/0x1401014c0.c | 15 + .../full/functions/0x1401014e0.c | 15 + .../full/functions/0x1401014f0.c | 11 + .../full/functions/0x140101500.c | 11 + .../full/functions/0x140101510.c | 11 + .../full/functions/0x140101530.c | 18 + .../full/functions/0x140101570.c | 12 + .../full/functions/0x1401015a0.c | 11 + .../full/functions/0x1401015c0.c | 23 + .../full/functions/0x140101620.c | 11 + .../full/functions/0x140101630.c | 11 + .../full/functions/0x140101650.c | 11 + .../full/functions/0x140101660.c | 11 + .../full/functions/0x140101680.c | 11 + .../full/functions/0x140101690.c | 12 + .../full/functions/0x1401016c0.c | 11 + .../full/functions/0x1401016e0.c | 11 + .../full/functions/0x140101700.c | 11 + .../full/functions/0x140101720.c | 18 + .../full/functions/0x140101760.c | 11 + .../full/functions/0x140101770.c | 14 + .../full/functions/0x1401017a0.c | 14 + .../full/functions/0x1401017d0.c | 12 + .../full/functions/0x140101800.c | 11 + .../full/functions/0x140101810.c | 11 + .../full/functions/0x140101820.c | 11 + .../full/functions/0x140101830.c | 11 + .../full/functions/0x140101840.c | 11 + .../full/functions/0x140101850.c | 11 + .../full/functions/0x140101860.c | 11 + .../full/functions/0x140101870.c | 11 + .../full/functions/0x140101880.c | 11 + .../full/functions/0x140101890.c | 11 + .../full/functions/0x1401018a0.c | 11 + .../full/functions/0x1401018b0.c | 11 + .../full/functions/0x1401018c0.c | 11 + .../full/functions/0x1401018d0.c | 11 + .../full/functions/0x1401018e0.c | 11 + .../full/functions/0x1401018f0.c | 11 + .../full/functions/0x140101900.c | 11 + .../full/functions/0x140101910.c | 11 + .../full/functions/0x140101920.c | 11 + .../full/functions/0x140101930.c | 11 + .../full/functions/0x140101940.c | 20 + .../full/functions/0x140101990.c | 11 + .../full/functions/0x1401019a0.c | 11 + .../full/functions/0x1401019c0.c | 18 + .../full/functions/0x140101a00.c | 12 + .../full/functions/0x140101a30.c | 11 + .../full/functions/0x140101a50.c | 11 + .../full/functions/0x140101a70.c | 11 + .../full/functions/0x140101a80.c | 11 + .../full/functions/0x140101a90.c | 11 + .../full/functions/0x140101aa0.c | 11 + .../full/functions/0x140101ab0.c | 11 + .../full/functions/0x140101ac0.c | 11 + .../full/functions/0x140101ad0.c | 11 + .../full/functions/0x140101ae0.c | 11 + .../full/functions/0x140101af0.c | 11 + .../full/functions/0x140101b00.c | 11 + .../full/functions/0x140101b10.c | 11 + .../full/functions/0x140101b30.c | 11 + .../full/functions/0x140101b40.c | 11 + .../full/functions/0x140101b50.c | 11 + .../full/functions/0x140101b60.c | 11 + .../full/functions/0x140101b70.c | 11 + .../full/functions/0x140101b80.c | 11 + .../full/functions/0x140101b90.c | 11 + .../full/functions/0x140101ba0.c | 11 + .../full/functions/0x140101bb0.c | 11 + .../full/functions/0x140101bc0.c | 11 + .../full/functions/0x140101be0.c | 11 + .../full/functions/0x140101bf0.c | 11 + .../full/functions/0x140101c00.c | 11 + .../full/functions/0x140101c10.c | 11 + .../full/functions/0x140101c20.c | 11 + .../full/functions/0x140101c30.c | 11 + .../full/functions/0x140101c40.c | 11 + .../full/functions/0x140101c50.c | 11 + .../full/functions/0x140101c60.c | 11 + .../full/functions/0x140101c70.c | 11 + .../full/functions/0x140101c80.c | 11 + .../full/functions/0x140101c90.c | 11 + .../full/functions/0x140101ca0.c | 11 + .../full/functions/0x140101cb0.c | 11 + .../full/functions/0x140101cc0.c | 11 + .../full/functions/0x140101cd0.c | 11 + .../full/functions/0x140101ce0.c | 11 + .../full/functions/0x140101cf0.c | 11 + .../full/functions/0x140101d00.c | 11 + .../full/functions/0x140101d10.c | 11 + .../full/functions/0x140101d20.c | 11 + .../full/functions/0x140101d30.c | 11 + .../full/functions/0x140101d40.c | 11 + .../full/functions/0x140101d60.c | 11 + .../full/functions/0x140101d80.c | 11 + .../full/functions/0x140101d90.c | 11 + .../full/functions/0x140101da0.c | 11 + .../full/functions/0x140101db0.c | 11 + .../full/functions/0x140101dc0.c | 11 + .../full/functions/0x140101dd0.c | 11 + .../full/functions/0x140101de0.c | 11 + .../full/functions/0x140101df0.c | 11 + .../full/functions/0x140101e00.c | 11 + .../full/functions/0x140101e10.c | 11 + .../full/functions/0x140101e20.c | 11 + .../full/functions/0x140101e30.c | 11 + .../full/functions/0x140101e40.c | 11 + .../full/functions/0x140101e50.c | 11 + .../full/functions/0x140101e60.c | 11 + .../full/functions/0x140101e70.c | 11 + .../full/functions/0x140101e80.c | 11 + .../full/functions/0x140101e90.c | 11 + .../full/functions/0x140101ea0.c | 11 + .../full/functions/0x140101eb0.c | 11 + .../full/functions/0x140101ec0.c | 11 + .../full/functions/0x140101ed0.c | 11 + .../full/functions/0x140101ee0.c | 11 + .../full/functions/0x140101ef0.c | 11 + .../full/functions/0x140101f00.c | 11 + .../full/functions/0x140101f10.c | 11 + .../full/functions/0x140101f20.c | 11 + .../full/functions/0x140101f30.c | 11 + .../full/functions/0x140101f40.c | 11 + .../full/functions/0x140101f50.c | 11 + .../full/functions/0x140101f60.c | 11 + .../full/functions/0x140101f80.c | 11 + .../full/functions/0x140101fa0.c | 11 + .../full/functions/0x140101fb0.c | 11 + .../full/functions/0x140101fc0.c | 11 + .../full/functions/0x140101fd0.c | 11 + .../full/functions/0x140101fe0.c | 11 + .../full/functions/0x140101ff0.c | 11 + .../full/functions/0x140102000.c | 11 + .../full/functions/0x140102010.c | 11 + .../full/functions/0x140102020.c | 11 + .../full/functions/0x140102030.c | 11 + .../full/functions/0x140102040.c | 11 + .../full/functions/0x140102050.c | 11 + .../full/functions/0x140102060.c | 11 + .../full/functions/0x140102070.c | 11 + .../full/functions/0x140102080.c | 11 + .../full/functions/0x140102090.c | 11 + .../full/functions/0x1401020a0.c | 11 + .../full/functions/0x1401020b0.c | 11 + .../full/functions/0x1401020c0.c | 11 + .../full/functions/0x1401020d0.c | 11 + .../full/functions/0x1401020e0.c | 11 + .../full/functions/0x1401020f0.c | 11 + .../full/functions/0x140102100.c | 11 + .../full/functions/0x140102110.c | 11 + .../full/functions/0x140102120.c | 11 + .../full/functions/0x140102130.c | 11 + .../full/functions/0x140102140.c | 11 + .../full/functions/0x140102150.c | 11 + .../full/functions/0x140102160.c | 11 + .../full/functions/0x140102170.c | 11 + .../full/functions/0x140102180.c | 11 + .../full/functions/0x140102190.c | 11 + .../full/functions/0x1401021a0.c | 11 + .../full/functions/0x1401021b0.c | 11 + .../full/functions/0x1401021c0.c | 11 + .../full/functions/0x1401021d0.c | 13 + .../full/functions/0x1401021e0.c | 13 + .../full/functions/0x1401021f0.c | 13 + .../full/functions/0x140102200.c | 11 + .../full/functions/0x140102210.c | 11 + .../full/functions/0x140102220.c | 11 + .../full/functions/0x140102230.c | 11 + .../full/functions/0x140102240.c | 11 + .../full/functions/0x140102250.c | 11 + .../full/functions/0x140102260.c | 11 + .../full/functions/0x140102270.c | 11 + .../full/functions/0x140102280.c | 11 + .../full/functions/0x140102290.c | 11 + .../full/functions/0x1401022a0.c | 11 + .../full/functions/0x1401022b0.c | 11 + .../full/functions/0x1401022c0.c | 11 + .../full/functions/0x1401022d0.c | 11 + .../full/functions/0x1401022e0.c | 14 + .../full/functions/0x140102310.c | 11 + .../full/functions/0x140102320.c | 11 + .../full/functions/0x140102330.c | 11 + .../full/functions/0x140102340.c | 11 + .../full/functions/0x140102350.c | 11 + .../full/functions/0x140102360.c | 11 + .../full/functions/0x140102370.c | 13 + .../full/functions/0x140102380.c | 13 + .../full/functions/0x140102390.c | 11 + .../full/functions/0x1401023a0.c | 11 + .../full/functions/0x1401023b0.c | 11 + .../full/functions/0x1401023c0.c | 11 + .../full/functions/0x1401023d0.c | 13 + .../full/functions/0x1401023e0.c | 11 + .../full/functions/0x1401023f0.c | 11 + .../full/functions/0x140102400.c | 11 + .../full/functions/0x140102410.c | 11 + .../full/functions/0x140102420.c | 13 + .../full/functions/0x140102430.c | 11 + .../full/functions/0x140102440.c | 11 + .../full/functions/0x140102450.c | 13 + .../full/functions/0x140102460.c | 11 + .../full/functions/0x140102470.c | 11 + .../full/functions/0x140102480.c | 11 + .../full/functions/0x140102490.c | 11 + .../full/functions/0x1401024a0.c | 11 + .../full/functions/0x1401024b0.c | 11 + .../full/functions/0x1401024c0.c | 11 + .../full/functions/0x1401024d0.c | 11 + .../full/functions/0x1401024e0.c | 11 + .../full/functions/0x1401024f0.c | 11 + .../full/functions/0x140102500.c | 11 + .../full/functions/0x140102510.c | 11 + .../full/functions/0x140102520.c | 11 + .../full/functions/0x140102530.c | 11 + .../full/functions/0x140102540.c | 11 + .../full/functions/0x140102550.c | 11 + .../full/functions/0x140102560.c | 11 + .../full/functions/0x140102570.c | 11 + .../full/functions/0x140102580.c | 11 + .../full/functions/0x140102590.c | 11 + .../full/functions/0x1401025a0.c | 11 + .../full/functions/0x1401025b0.c | 11 + .../full/functions/0x1401025c0.c | 15 + .../full/functions/0x140102600.c | 14 + .../full/functions/0x140102620.c | 14 + .../full/functions/0x140102630.c | 11 + .../full/functions/0x140102640.c | 11 + .../full/functions/0x140102650.c | 11 + .../full/functions/0x140102660.c | 11 + .../full/functions/0x140102670.c | 11 + .../full/functions/0x140102680.c | 11 + .../full/functions/0x140102690.c | 11 + .../full/functions/0x1401026a0.c | 11 + .../full/functions/0x1401026b0.c | 11 + .../full/functions/0x1401026c0.c | 11 + .../full/functions/0x1401026d0.c | 11 + .../full/functions/0x1401026e0.c | 11 + .../full/functions/0x1401026f0.c | 11 + .../full/functions/0x140102700.c | 11 + .../full/functions/0x140102710.c | 11 + .../full/functions/0x140102720.c | 11 + .../full/functions/0x140102730.c | 11 + .../full/functions/0x140102740.c | 11 + .../full/functions/0x140102750.c | 11 + .../full/functions/0x140102760.c | 11 + .../full/functions/0x140102770.c | 11 + .../full/functions/0x140102780.c | 11 + .../full/functions/0x140102790.c | 11 + .../full/functions/0x1401027a0.c | 11 + .../full/functions/0x1401027b0.c | 11 + .../full/functions/0x1401027c0.c | 11 + .../full/functions/0x1401027d0.c | 11 + .../full/functions/0x1401027e0.c | 11 + .../full/functions/0x1401027f0.c | 11 + .../full/functions/0x140102800.c | 11 + .../full/functions/0x140102810.c | 11 + .../full/functions/0x140102820.c | 11 + .../full/functions/0x140102830.c | 11 + .../full/functions/0x140102840.c | 11 + .../full/functions/0x140102850.c | 11 + .../full/functions/0x140102860.c | 11 + .../full/functions/0x140102870.c | 11 + .../full/functions/0x140102880.c | 11 + .../full/functions/0x140102890.c | 11 + .../full/functions/0x1401028a0.c | 11 + .../full/functions/0x1401028c0.c | 11 + .../full/functions/0x1401028e0.c | 11 + .../full/functions/0x1401028f0.c | 11 + .../full/functions/0x140102900.c | 11 + .../full/functions/0x140102910.c | 11 + .../full/functions/0x140102920.c | 11 + .../full/functions/0x140102930.c | 11 + .../full/functions/0x140102940.c | 11 + .../full/functions/0x140102950.c | 11 + .../full/functions/0x140102960.c | 11 + .../full/functions/0x140102980.c | 11 + .../full/functions/0x1401029a0.c | 11 + .../full/functions/0x1401029b0.c | 11 + .../full/functions/0x1401029c0.c | 11 + .../full/functions/0x1401029d0.c | 11 + .../full/functions/0x1401029e0.c | 11 + .../full/functions/0x1401029f0.c | 11 + .../full/functions/0x140102a00.c | 11 + .../full/functions/0x140102a10.c | 11 + .../full/functions/0x140102a20.c | 11 + .../full/functions/0x140102a40.c | 11 + .../full/functions/0x140102a60.c | 11 + .../full/functions/0x140102a70.c | 11 + .../full/functions/0x140102a80.c | 11 + .../full/functions/0x140102a90.c | 11 + .../full/functions/0x140102aa0.c | 11 + .../full/functions/0x140102ab0.c | 11 + .../full/functions/0x140102ac0.c | 11 + .../full/functions/0x140102ad0.c | 11 + .../full/functions/0x140102ae0.c | 11 + .../full/functions/0x140102af0.c | 11 + .../full/functions/0x140102b00.c | 11 + .../full/functions/0x140102b10.c | 11 + .../full/functions/0x140102b30.c | 11 + .../full/functions/0x140102b50.c | 11 + .../full/functions/0x140102b60.c | 11 + .../full/functions/0x140102b70.c | 11 + .../full/functions/0x140102b80.c | 11 + .../full/functions/0x140102b90.c | 11 + .../full/functions/0x140102ba0.c | 11 + .../full/functions/0x140102bb0.c | 11 + .../full/functions/0x140102bc0.c | 11 + .../full/functions/0x140102bd0.c | 11 + .../full/functions/0x140102be0.c | 11 + .../full/functions/0x140102bf0.c | 11 + .../full/functions/0x140102c00.c | 11 + .../full/functions/0x140102c10.c | 11 + .../full/functions/0x140102c20.c | 11 + .../full/functions/0x140102c30.c | 11 + .../full/functions/0x140102c40.c | 11 + .../full/functions/0x140102c50.c | 11 + .../full/functions/0x140102c60.c | 11 + .../full/functions/0x140102c70.c | 11 + .../full/functions/0x140102c80.c | 11 + .../full/functions/0x140102c90.c | 11 + .../full/functions/0x140102ca0.c | 11 + .../full/functions/0x140102cb0.c | 11 + .../full/functions/0x140102cc0.c | 11 + .../full/functions/0x140102cd0.c | 11 + .../full/functions/0x140102ce0.c | 11 + .../full/functions/0x140102cf0.c | 11 + .../full/functions/0x140102d00.c | 11 + .../full/functions/0x140102d10.c | 11 + .../full/functions/0x140102d20.c | 11 + .../full/functions/0x140102d30.c | 11 + .../full/functions/0x140102d40.c | 11 + .../full/functions/0x140102d50.c | 11 + .../full/functions/0x140102d60.c | 11 + .../full/functions/0x140102d70.c | 11 + .../full/functions/0x140102d80.c | 11 + .../full/functions/0x140102d90.c | 11 + .../full/functions/0x140102da0.c | 11 + .../full/functions/0x140102db0.c | 11 + .../full/functions/0x140102dc0.c | 11 + .../full/functions/0x140102dd0.c | 11 + .../full/functions/0x140102de0.c | 11 + .../full/functions/0x140102df0.c | 11 + .../full/functions/0x140102e00.c | 11 + .../full/functions/0x140102e10.c | 11 + .../full/functions/0x140102e20.c | 11 + .../full/functions/0x140102e30.c | 11 + .../full/functions/0x140102e40.c | 11 + .../full/functions/0x140102e50.c | 11 + .../full/functions/0x140102e60.c | 11 + .../full/functions/0x140102e70.c | 11 + .../full/functions/0x140102e80.c | 11 + .../full/functions/0x140102e90.c | 11 + .../full/functions/0x140102ea0.c | 11 + .../full/functions/0x140102eb0.c | 11 + .../full/functions/0x140102ec0.c | 13 + .../full/functions/0x140102f10.c | 11 + .../full/functions/0x140102f20.c | 11 + .../full/functions/0x140102f30.c | 11 + .../full/functions/0x140102f40.c | 11 + .../full/functions/0x140102f50.c | 11 + .../full/functions/0x140102f60.c | 11 + .../full/functions/0x140102f70.c | 11 + .../full/functions/0x140102f80.c | 11 + .../full/functions/0x140102f90.c | 11 + .../full/functions/0x140102fa0.c | 11 + .../full/functions/0x140102fb0.c | 11 + .../full/functions/0x140102fc0.c | 11 + .../full/functions/0x140102fd0.c | 11 + .../full/functions/0x140102fe0.c | 11 + .../full/functions/0x140102ff0.c | 11 + .../full/functions/0x140103000.c | 11 + .../full/functions/0x140103010.c | 11 + .../full/functions/0x140103020.c | 11 + .../full/functions/0x140103030.c | 11 + .../full/functions/0x140103040.c | 11 + .../full/functions/0x140103050.c | 11 + .../full/functions/0x140103060.c | 11 + .../full/functions/0x140103070.c | 11 + .../full/functions/0x140103080.c | 11 + .../full/functions/0x140103090.c | 11 + .../full/functions/0x1401030a0.c | 11 + .../full/functions/0x1401030b0.c | 11 + .../full/functions/0x1401030c0.c | 11 + .../full/functions/0x1401030d0.c | 11 + .../full/functions/0x1401030e0.c | 11 + .../full/functions/0x1401030f0.c | 11 + .../full/functions/0x140103100.c | 13 + .../full/functions/0x140103110.c | 11 + .../full/functions/0x140103120.c | 13 + .../full/functions/0x140103130.c | 11 + .../full/functions/0x140103140.c | 13 + .../full/functions/0x140103150.c | 11 + .../full/functions/0x140103160.c | 13 + .../full/functions/0x140103170.c | 11 + .../full/functions/0x140103180.c | 11 + .../full/functions/0x140103190.c | 13 + .../full/functions/0x1401031a0.c | 11 + .../full/functions/0x1401031b0.c | 11 + .../full/functions/0x1401031c0.c | 11 + .../full/functions/0x1401031d0.c | 11 + .../full/functions/0x1401031e0.c | 11 + .../full/functions/0x1401031f0.c | 13 + .../full/functions/0x140103200.c | 11 + .../full/functions/0x140103210.c | 11 + .../full/functions/0x140103220.c | 11 + .../full/functions/0x140103230.c | 11 + .../full/functions/0x140103240.c | 11 + .../full/functions/0x140103250.c | 11 + .../full/functions/0x140103260.c | 11 + .../full/functions/0x140103270.c | 11 + .../full/functions/0x140103280.c | 11 + .../full/functions/0x140103290.c | 11 + .../full/functions/0x1401032a0.c | 11 + .../full/functions/0x1401032b0.c | 11 + .../full/functions/0x1401032c0.c | 11 + .../full/functions/0x1401032d0.c | 11 + .../full/functions/0x1401032e0.c | 11 + .../full/functions/0x1401032f0.c | 11 + .../full/functions/0x140103300.c | 11 + .../full/functions/0x140103310.c | 11 + .../full/functions/0x140103320.c | 11 + .../full/functions/0x140103330.c | 11 + .../full/functions/0x140103340.c | 11 + .../full/functions/0x140103350.c | 11 + .../full/functions/0x140103360.c | 11 + .../full/functions/0x140103370.c | 11 + .../full/functions/0x140103380.c | 11 + .../full/functions/0x140103390.c | 11 + .../full/functions/0x1401033a0.c | 11 + .../full/functions/0x1401033b0.c | 11 + .../full/functions/0x1401033c0.c | 11 + .../full/functions/0x1401033d0.c | 11 + .../full/functions/0x1401033e0.c | 11 + .../full/functions/0x1401033f0.c | 11 + .../full/functions/0x140103400.c | 11 + .../full/functions/0x140103410.c | 11 + .../full/functions/0x140103420.c | 11 + .../full/functions/0x140103430.c | 11 + .../full/functions/0x140103440.c | 11 + .../full/functions/0x140103450.c | 11 + .../full/functions/0x140103460.c | 11 + .../full/functions/0x140103470.c | 11 + .../full/functions/0x140103490.c | 11 + .../full/functions/0x1401034b0.c | 11 + .../full/functions/0x1401034d0.c | 13 + .../full/functions/0x1401034e0.c | 13 + .../full/functions/0x1401034f0.c | 11 + .../full/functions/0x140103500.c | 13 + .../full/functions/0x140103510.c | 13 + .../full/functions/0x140103520.c | 13 + .../full/functions/0x140103530.c | 11 + .../full/functions/0x140103540.c | 11 + .../full/functions/0x140103550.c | 11 + .../full/functions/0x140103560.c | 13 + .../full/functions/0x140103570.c | 11 + .../full/functions/0x140103580.c | 12 + .../full/functions/0x1401035b0.c | 16 + .../full/functions/0x1401035e0.c | 12 + .../full/functions/0x140103610.c | 12 + .../full/functions/0x140103630.c | 12 + .../full/functions/0x140103680.c | 12 + .../full/functions/0x1401036b0.c | 12 + .../full/functions/0x1401036e0.c | 12 + .../full/functions/0x140103710.c | 16 + .../full/functions/0x140103740.c | 16 + .../full/functions/0x140103770.c | 17 + .../full/functions/0x140103810.c | 16 + .../full/functions/0x140103840.c | 16 + .../full/functions/0x140103870.c | 14 + .../full/functions/0x1401038a0.c | 16 + .../full/functions/0x1401038d0.c | 16 + .../full/functions/0x140103900.c | 17 + .../full/functions/0x140103930.c | 13 + .../full/functions/0x140103970.c | 16 + .../full/functions/0x14010399c.c | 12 + .../full/functions/0x1401039bc.c | 16 + .../full/functions/0x140103cf0.c | 16 + .../full/functions/0x140103d90.c | 16 + .../full/functions/0x140103dc0.c | 17 + .../full/functions/0x140103e00.c | 16 + .../full/functions/0x140103e30.c | 16 + .../full/functions/0x140103e70.c | 23 + .../full/functions/0x140103ef0.c | 17 + .../full/functions/0x140103f20.c | 16 + .../full/functions/0x140103f50.c | 16 + .../full/functions/0x140103fd0.c | 16 + .../full/functions/0x140104000.c | 101 + .../full/functions/0x140104150.c | 21 + .../full/functions/0x1401041d0.c | 21 + .../full/functions/0x1401042b0.c | 18 + .../full/functions/0x140104300.c | 16 + .../full/functions/0x140104360.c | 16 + .../full/functions/0x1401043b0.c | 18 + .../full/functions/0x1401043f0.c | 18 + .../full/functions/0x140104430.c | 18 + .../full/functions/0x1401044b0.c | 14 + .../full/functions/0x1401045c8.c | 16 + .../full/functions/0x1401045fc.c | 11 + .../full/functions/0x140104610.c | 13 + .../full/functions/0x140104620.c | 13 + .../full/functions/0x140104650.c | 24 + .../full/functions/0x140104730.c | 21 + .../full/functions/0x140104790.c | 11 + .../full/functions/0x1401047a0.c | 20 + .../full/functions/0x140104820.c | 16 + .../full/functions/0x1401048c0.c | 11 + .../AgentManager_Release_x64/full/index.tsv | 6994 +++++++++++++++++ .../AgentManager_Release_x64/full/vtables.tsv | 1442 ++++ decomp/Agent_Release_x64/evidence.md | 3 +- decomp/INVENTORY.md | 4 +- docs/CONFIG.md | 33 +- 7019 files changed, 254032 insertions(+), 5 deletions(-) create mode 100644 decomp/AgentManager_Release_x64/0x140001390.pseudo.c create mode 100644 decomp/AgentManager_Release_x64/0x140002400.pseudo.c create mode 100644 decomp/AgentManager_Release_x64/0x140002790.pseudo.c create mode 100644 decomp/AgentManager_Release_x64/0x140003420.pseudo.c create mode 100644 decomp/AgentManager_Release_x64/0x140003d00.pseudo.c create mode 100644 decomp/AgentManager_Release_x64/0x140005460.pseudo.c create mode 100644 decomp/AgentManager_Release_x64/0x140006380.pseudo.c create mode 100644 decomp/AgentManager_Release_x64/0x140007a20.pseudo.c create mode 100644 decomp/AgentManager_Release_x64/0x140009d00.pseudo.c create mode 100644 decomp/AgentManager_Release_x64/0x1400137f0.pseudo.c create mode 100644 decomp/AgentManager_Release_x64/0x140015290.pseudo.c create mode 100644 decomp/AgentManager_Release_x64/0x140015ac0.pseudo.c create mode 100644 decomp/AgentManager_Release_x64/0x1400169c0.pseudo.c create mode 100644 decomp/AgentManager_Release_x64/0x14001d850.pseudo.c create mode 100644 decomp/AgentManager_Release_x64/0x140026520.pseudo.c create mode 100644 decomp/AgentManager_Release_x64/0x14002c3c0.pseudo.c create mode 100644 decomp/AgentManager_Release_x64/0x14002fe40.pseudo.c create mode 100644 decomp/AgentManager_Release_x64/0x140032f70.pseudo.c create mode 100644 decomp/AgentManager_Release_x64/0x140034220.pseudo.c create mode 100644 decomp/AgentManager_Release_x64/binary_overview.json create mode 100644 decomp/AgentManager_Release_x64/evidence-bundle.json create mode 100644 decomp/AgentManager_Release_x64/evidence.md create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140001020.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140001060.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400011d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140001260.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140001300.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140001340.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140001390.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140001550.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140001580.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140001630.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140001710.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140001800.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400018a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140001920.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140001a80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140001af0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140001b20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140001b50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140001b80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140001be0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140001c20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140001c50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140001d10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140001df0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140001ee0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140001f60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140001fc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140002040.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400020c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140002160.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140002190.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140002230.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140002240.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140002270.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400022b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140002350.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140002380.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140002400.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140002670.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140002790.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400033c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140003420.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140003c50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140003d00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140004980.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400049e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140004a20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140004a60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140004aa0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140004b20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140004ba0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140004c70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140004cb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140004cc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140004d30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140004da0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140004de0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140004e90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140004f20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140005000.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140005020.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400050d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400050f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140005110.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140005220.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140005260.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140005280.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140005380.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400053b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140005460.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400054f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140005990.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140005a30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140005ad0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140005af0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140005b90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140005d40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140005d50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140005d80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140005d90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140005da0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140005dd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400060a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400060e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400060f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140006290.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400062c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140006380.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140006430.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140006500.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400065a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140006640.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140006660.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140006740.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140006910.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140006920.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140006940.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400069f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140006b10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140006bc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140006cf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140006d70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140006d80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140006d90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140006da0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140006db0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140006de0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140006e80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140006f20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140006fb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140007010.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140007090.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140007430.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400074d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400075b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400075d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140007700.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140007a20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140008410.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140009240.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140009720.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140009760.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140009d00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140009f70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000a070.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000a140.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000a180.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000a240.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000a2d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000a370.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000a4c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000a520.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000a580.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000a5f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000a6a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000a720.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000a7a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000a840.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000a8c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000a950.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000aa30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000ab30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000ac70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000acb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000ad30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000ad60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000add0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000ae50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000b1c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000b5f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000b980.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000bd40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000be00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000be80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000bf50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000bff0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000c120.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000c1f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000c270.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000c360.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000c480.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000c5c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000c660.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000c770.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000c7d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000c910.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000c9e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000cb10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000cb50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000cb70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000cc40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000cf80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000d060.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000d170.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000d4a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000d580.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000d8a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000d980.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000d9e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000da20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000daa0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000db30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000dcb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000dde0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000ded0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000df80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000dfe0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000e040.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000e0c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000e270.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000e3f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000e5b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000e5f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000e610.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000efc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000f130.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000f2a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000f580.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000f7e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000fa00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000fcf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000fdd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000ff00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14000ffc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140010050.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400101a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140010200.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400102b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140010300.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400103c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400103e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140010490.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400104e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140010570.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140010640.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140010710.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400108a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140010960.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140010b10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140010b50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140010bd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140010c10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140010e40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140010f70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140010fd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140011050.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400110c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140011140.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140011230.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400112b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140011370.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140011410.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400114c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400114d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140011520.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140011580.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400115d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140011650.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140011730.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400117d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140011800.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140011840.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140011ba0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140011cc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140011dd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140011f00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140012020.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140012160.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400124c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140012820.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400128e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140012a30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140012d90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140013350.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400136b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400137f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140013b80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140013d70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140013e10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140013ee0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140013f10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140013f80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140013fb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140013fd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140014000.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140014060.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400140a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400141e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140014230.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140014570.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400148b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140014bf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140014f40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140015290.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140015750.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140015ac0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140016310.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140016460.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400164b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140016520.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140016590.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400165f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400166d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400169c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140016cb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140016fa0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140017460.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140017800.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140017ba0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140018110.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400184b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140018ae0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400192a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400195d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140019d70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140019e80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140019f00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140019fc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001a080.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001a110.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001a190.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001a250.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001a390.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001a4d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001a5e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001a640.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001a8b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001a910.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001a970.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001a9f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001ad00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001b0d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001b510.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001b750.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001b980.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001bbc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001c0e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001c310.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001c340.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001c400.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001c430.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001c450.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001c460.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001c4a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001c510.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001c540.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001c570.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001c5a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001c5b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001c5d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001c5e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001c620.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001c680.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001c7b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001c980.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001cb20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001cb80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001cc40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001cd00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001ce70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001d0c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001d120.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001d1b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001d250.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001d260.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001d320.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001d670.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001d6f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001d750.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001d7b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001d810.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001d820.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001d850.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001d8c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001d9e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001db80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001dd00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001de10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001df30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001e070.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001e1c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001e1f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001e2c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001e3c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001e440.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001e4b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001e4c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001e4f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001e530.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001e5e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001e5f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001e660.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001e6b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001e6f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001e770.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001e780.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001e7c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001e7d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001e860.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001e8a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001ebf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001ec20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001eca0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001ed00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001ee20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001ef00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001efc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001eff0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001f070.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001f130.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001f2a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001f470.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001f540.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001f5c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001f630.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001f6d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001f7a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001f920.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001fe30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001fee0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001ff40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14001ffa0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140020010.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400202b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140020310.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140020320.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400204b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400204c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140020550.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140020610.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400209d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140020a60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140020a70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140020b00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140020b60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140020b70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140020c20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140020c50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140020c80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140020d90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140020ee0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140020fc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140021080.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140021270.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140021340.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140021720.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400219a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140021a40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140021d50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140022410.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400226d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400228d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140022b50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140022d40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140022f90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400234b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400234c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400234f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140023500.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140023530.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140023550.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140023580.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140023610.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140023650.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400236e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400237f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140023800.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140023830.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140023840.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140023870.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400238d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400238e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400238f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140023920.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140023930.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140023c90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140023ff0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400241e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140024400.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140024510.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140024630.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140024720.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140024820.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140024900.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400249e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140024b10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140024c50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140024e30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140025040.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140025140.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140025250.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140025340.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140025430.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140025520.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140025620.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140025700.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400257e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140025900.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140025a30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140025b30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140025c40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140025d40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140025e50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140025f50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140026060.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140026190.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400262c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400263f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140026520.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140028ea0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140028ee0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140028ef0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140028f30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140028f40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140028fc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400291d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400292d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400293e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400294e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400295b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140029660.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400296d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140029780.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140029800.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140029890.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140029920.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140029980.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140029af0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140029b80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140029bb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140029bf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140029d40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140029d80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140029e60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140029f40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140029fb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002a050.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002a110.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002a180.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002a260.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002a2d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002a3b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002a3e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002a420.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002a470.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002a480.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002a490.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002a570.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002a650.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002a830.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002aa40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002ab50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002ac80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002ae10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002afb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002b0b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002b1c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002b2b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002b3a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002b4a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002b5b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002b6e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002b830.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002b940.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002ba60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002bb80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002bcb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002bda0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002be90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002bf80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002c070.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002c150.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002c230.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002c2f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002c3c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002ef60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002efa0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002efb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002efc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002f000.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002f010.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002f150.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002f1f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002f2a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002f300.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002f390.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002f4a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002f580.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002f5c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002f6b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002f6f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002f760.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002fa50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002fa80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002fc00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14002fe40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140030300.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140030fd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140031000.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140032f70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140033470.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140033550.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140033900.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140033940.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140033b40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140033c30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140033fc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140033ff0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140034220.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140034be0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140034c60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140034c80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140034ce0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140034d90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140034dc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140035000.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140035050.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400350c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140035260.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140035370.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400353b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140035470.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140035520.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140035550.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140035800.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140035860.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140035900.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140035ad0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140035c00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140035c70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140035cd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140035d60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140035dc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140035e50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140035ee0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140035f70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400361f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400362b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140036550.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140036660.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400366c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400367c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140036830.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400368b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140036960.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140036ab0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140036c10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140036cf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140036d70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140036df0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140036e80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140036f40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140037090.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400370f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400371a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140037260.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140037340.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140037500.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400375e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400376b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400376f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140037710.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140037750.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140037e00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140037ea0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140037f20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140038010.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140038160.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140038210.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140038280.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140038300.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400383a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140038400.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140038440.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400384c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140038530.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140039000.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140039040.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140039060.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400390d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140039230.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400394f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400395f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140039670.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400397d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400398e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140039980.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140039a40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140039b70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140039cd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140039f50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003a0d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003a250.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003a320.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003a5a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003a680.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003a710.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003a7e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003a890.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003a9e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003ac00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003ac20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003ac80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003acb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003acf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003ae60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003ae90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003af40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003af80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003afa0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003b000.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003b030.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003b100.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003b190.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003b230.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003b270.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003b2f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003b390.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003b460.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003b4f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003b510.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003b5a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003b780.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003b8b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003ba00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003bc50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003bc90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003bcb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003bfd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003c0a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003c1f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003c270.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003c450.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003c4f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003c5c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003c690.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003c6e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003c840.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003c950.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003ca90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003cdd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003cf60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003d040.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003d070.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003d090.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003d0d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003d0e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003d0f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003d110.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003d190.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003d1b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003d260.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003d280.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003d3c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003d430.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003d440.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003d4c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003d5d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003d6e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003d720.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003d780.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003d800.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003d880.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003d910.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003db10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003dd60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003dde0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003dec0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003def0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003df20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003df50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003df70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003e0c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003e110.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003e170.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003e210.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003e250.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003e340.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003e430.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003e4d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003e570.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003e620.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003e650.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003e660.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003e690.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003e6c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003e6e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003e710.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003e740.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003e770.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003e7b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003e7c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003e820.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003e830.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003e840.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003e870.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003e8b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003e8e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003e910.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003e970.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003e990.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003e9a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003e9d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003ea50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003ea90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003ead0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003eaf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003eb10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003eb40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003eb60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003ebc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003ebf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003ec50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003ed40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003ef50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003f010.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003f0f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003f1a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003f1c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003f2d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003f320.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003f370.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003f390.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003f3d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003f480.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003f5b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003f980.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003fa30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003fa90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003fac0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003fbd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003fbf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003fc80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003fcd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14003ff20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140040250.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400402e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140040470.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400404a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140040510.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400405a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140040650.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140040940.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140040a00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140040a70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140040be0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400413c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400414b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140041530.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140041580.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140041630.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400416f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140041730.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140041770.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140041780.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400417b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400417c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400417e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140041820.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140041850.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140041880.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140041940.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400419a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140041a10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140041af0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140041be0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140041da0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140041e20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140041e70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140041f00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400420f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140042260.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400423c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140042440.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400424b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140042570.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400426e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140042720.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400429c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140042b00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140042bb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140042c70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140042ca0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140042f50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140042fd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140042ff0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140043090.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140043130.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140043140.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140043150.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140043190.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140043230.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140043260.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400432b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400432d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140043330.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140043390.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400433f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400434c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400434f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140043510.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140043520.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140043550.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140043630.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140043710.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400437e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400438b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140043980.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140043a50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140043b40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140043cd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140043cf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140043d40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140043d60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140043dc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140043e60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140043f50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140044170.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140044300.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140044450.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140044880.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400449f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140044bb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140044d90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140044f60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140044fa0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140045000.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140045060.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400451d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140045250.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140045350.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140045460.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140045510.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140045540.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140045590.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140045600.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140045650.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140045890.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140045ad0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140045b20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140045b80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140045bb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140045c30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140045c60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140045ca0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140045cc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140045d20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140045d90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140045df0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140045ec0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140046070.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400460d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140046140.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140046150.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400461d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140046360.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140046450.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400464f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140046530.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140046580.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140046620.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140046790.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140046850.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140046880.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400468f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140046950.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140046bb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140046c50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140046d50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140046df0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140046e80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400472d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400479d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140047ad0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140047bb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140047ca0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140047d90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140047e90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140047fc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400480f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140048130.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140048150.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400481a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140048210.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140048320.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140048490.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140048530.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140048600.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140048620.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140048640.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140048660.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400486f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140048700.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140048730.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140048760.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140048790.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400487e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140048880.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400488d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140048920.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140048960.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400489c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140048a20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140048a34.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140048a68.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140048ae8.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140048b90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140048bb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140048c00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140048c58.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140048c64.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140048c68.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140048c90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140048d08.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140048d70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140048d80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140048e20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140048f30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140048f70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140048fb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140048ff0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140049060.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140049094.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140049144.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004915c.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400491cc.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140049234.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400493b4.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140049484.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400494b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140049514.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140049534.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400495d8.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140049624.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400496a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400496fc.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140049858.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004989c.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400498bc.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400498f4.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140049940.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140049970.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400499c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140049a10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140049a14.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140049ad0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140049b00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140049b40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140049b90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140049ba0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140049bd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140049c40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140049d30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140049d70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140049e20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140049e40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140049e80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140049e90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140049ec0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140049ed0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140049f00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140049f10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140049f40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140049f50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140049f80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140049f90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140049fc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140049fd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004a000.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004a010.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004a030.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004a040.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004a050.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004a060.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004a070.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004a080.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004a090.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004a0a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004a0e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004a110.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004a130.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004a140.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004a1a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004a1b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004a1c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004a1e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004a1f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004a260.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004a340.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004a3c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004a440.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004a4c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004a500.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004a540.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004a550.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004a7b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004a830.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004a8b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004a8e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004a8f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004a900.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004a920.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004a9c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004aab0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004ab50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004abf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004ac30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004ad20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004adc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004ae00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004ae60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004aea0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004aed0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004af60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004afa0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004afb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004b040.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004b0b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004b1a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004b240.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004b2a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004b310.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004b320.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004b400.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004b480.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004b540.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004b660.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004b6a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004b830.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004b860.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004b8a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004b8d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004b910.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004b950.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004ba10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004ba40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004ba80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004bae0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004bb40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004bba0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004bc00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004bc60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004bd20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004bf10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004c020.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004c130.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004c2a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004c4e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004c640.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004c730.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004c860.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004c980.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004ca90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004cce0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004cdb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004d000.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004d040.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004d0b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004d1c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004d1f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004d230.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004d260.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004d2c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004d2e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004d350.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004d560.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004d5b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004d630.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004d6f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004d790.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004d960.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004db20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004dba0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004dc30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004dde0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004de40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004de90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004dee0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004dff0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004e000.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004e0a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004e140.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004e270.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004e290.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004e320.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004e450.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004e4b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004e500.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004e640.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004e780.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004e8c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004ea00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004ea90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004eab0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004ec50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004ed10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004ed70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004ef00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004f000.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004f070.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004f180.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004f290.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004f390.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004f490.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004fb50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004fe80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14004ff70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140050060.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140050220.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400503a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140050540.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140050660.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140050750.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140050870.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140050970.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140050a70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140050c20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140050d30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140050e10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140050f60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140050fc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140051090.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400510b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400510f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140051170.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400511f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140051280.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400512a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140051320.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140051450.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400514d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140051540.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400517d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140051860.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140051940.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400519b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140051a40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140051b30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140051b80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140051c10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140051cf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140051de0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140055960.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140055af0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140055c90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140055dc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140055f00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140055ff0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400560f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400561e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400562e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140056470.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140056610.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400566d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400567a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140056860.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140056930.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400569f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140056ac0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140056b80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140056c50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140056d30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140056e10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140056ed0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140056fa0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140057060.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140057130.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140057210.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400572f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400573d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400574b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140057590.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140057670.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140057750.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140057830.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140057920.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140057a10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140057b00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140057bf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140057d30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400580d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140058210.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140058370.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140058460.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400585a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140058750.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140058840.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140058da0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140058f10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140059100.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140059300.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140059380.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140059440.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400596e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400599e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140059c20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14005a220.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14005a280.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14005a330.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14005a3d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14005a600.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14005a7c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14005a980.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14005abe0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14005b030.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14005b0a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14005b0c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14005b120.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14005b190.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14005b380.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14005b3e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14005b4c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14005b530.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14005b850.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14005bb80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14005bdc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14005c010.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14005c220.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14005c3e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14005c570.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14005c7c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14005c800.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14005c990.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14005ca60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14005cbc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14005cc60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14005ccf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14005d460.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14005d550.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14005d6a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14005d700.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14005d770.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14005d8a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14005da20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14005dad0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14005dbd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14005dc50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14005dda0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14005de50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14005e510.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14005ea40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14005ed10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14005efd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14005f760.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14005f8d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14005f940.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14005fc80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14005fd40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14005ff50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14005ff70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140060120.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400601d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140060250.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400603a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400604a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400608f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400609e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140060ab0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140060ad0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140060b80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140060c10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140060cc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140060d40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140060db0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140061740.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400617b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400618d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140061900.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400623e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400624e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140062690.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140062810.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400628c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140062970.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400629e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140062a30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140062a80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140062bb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140062e90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140063170.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140063fe0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400640a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140064160.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400641e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140064260.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400642e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140064410.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140064540.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400645f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140064680.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140064800.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140064860.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400648f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140064a30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140064b50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140065110.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140065170.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140065320.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140065440.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400656a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140065ab0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140065f50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140065fe0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400660e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140066230.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140066550.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140066af0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140067010.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140067090.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400671e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140067370.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400673e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140067450.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400675a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400675c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140067670.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140067850.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140067900.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400679b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140067a30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140067a50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140067a90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140067b50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140067be0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140067c10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140068740.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140068f60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140068fe0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140069010.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140069020.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140069030.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140069040.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140069050.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140069060.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140069070.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140069080.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140069090.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400690a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400690b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400690c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400690d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400690e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400690f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140069100.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140069110.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140069120.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140069130.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140069140.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140069150.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140069160.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140069170.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140069180.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140069190.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400691a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400691b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140069310.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140069560.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140069970.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400699b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14006a090.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14006a340.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14006a630.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14006c330.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14006c410.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14006c700.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14006c890.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14006cb20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14006cf80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14006d320.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14006d6c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14006d8c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14006dbc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14006dec0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14006e060.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14006e290.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14006e7d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14006ef00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14006f560.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14006f780.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140070020.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400700f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140070200.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400709a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140070d40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140071220.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400714c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140071510.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140071540.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140071740.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140071940.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140071b40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140071b80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140071c20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140071d40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400721c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400721f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140072210.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140072280.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140072320.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140072360.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400723d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400723e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140072500.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140072580.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400725a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400725d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140072650.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140072700.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140072750.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400727e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140072870.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140072900.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140072970.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400729e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140072a60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140072ac0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140072b00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140072ba0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140072bd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140072e80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140072fa0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140073030.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400730d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140073170.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140073210.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140073390.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140073430.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140073500.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140073640.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140073740.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140073830.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400739e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140073a40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140073b20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140073bd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140073c80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140073cc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140073d70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140073e60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140073f70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140074010.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400740c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140074210.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140074540.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140074740.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140074970.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400749b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140074a00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140074a20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140074a30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140074a40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140074ac0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140074af0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140074b70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140074bb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140074c30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140074c70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140074da0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140074e50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140074ee0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140074f40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140074fb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140074fe0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140075080.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140075110.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140075170.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140075210.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140075390.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140075550.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140075580.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400756f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140075700.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140075710.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140075790.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140075810.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140075890.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140075910.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140075970.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400759f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140075b20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140075bb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140075bf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140075cc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140076020.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140076380.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400765a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140076620.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400766a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400766f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140076740.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140076780.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400767c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140076820.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140076890.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400768c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400768f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140076940.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140076990.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140076d30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140076d80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140076dc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140076e00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140076e60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140076ec0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140076fb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140076fe0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400770f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140077140.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400771f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140077350.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140077470.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400774a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140077540.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140077740.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140077900.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140077c70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140077cd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140078bb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140079460.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140079b60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140079b90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140079bc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140079c10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140079c20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140079c60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140079cf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140079d20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140079d50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140079e30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140079ed0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140079f70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140079fe0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14007a200.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14007a300.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14007a390.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14007a4f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14007a530.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14007a680.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14007a6c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14007a720.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14007a780.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14007a7e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14007a840.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14007a930.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14007a9f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14007aa70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14007aab0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14007aaf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14007ae90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14007b020.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14007b050.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14007b1c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14007b250.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14007b2f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14007b390.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14007b420.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14007b440.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14007b4d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14007b540.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14007b6d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14007b9f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14007be70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14007c350.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14007c6f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14007cab0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14007cae0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14007d340.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14007dab0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14007de80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14007e180.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14007e350.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14007e620.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14007e690.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14007e740.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14007e8f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14007e950.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14007ea20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14007ee40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14007f220.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14007f460.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14007f4d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14007f670.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14007f930.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14007fce0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400800f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400803c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400808d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140080ae0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140080dd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400813a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400816e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140081710.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140081740.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140081870.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140081a90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140081c60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400823c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140082470.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140082ab0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140082fe0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400830b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140083560.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140083590.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140083b60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140083b80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140083c80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140083db0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140083de0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140083f10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140083f30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140084010.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140084040.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400840d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140084140.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400841b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140084250.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400842f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400843d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140084660.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400848e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140084910.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140085370.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140085420.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400854c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400855b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400855f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140085650.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140085700.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140085890.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400859a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140085b30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140085bb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140086080.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140086090.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400860a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140086520.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400869b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140086d60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140087110.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400873a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140087620.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140087810.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140087ad0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140087c70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140087dc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140087ff0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140088000.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140088020.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140088030.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140088060.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140088070.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140088080.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140088090.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140088150.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140088190.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140088210.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400882d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400883c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400883d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400883e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140088410.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140088600.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140088780.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140088870.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140088960.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140088a60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140088b70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140088c50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140088d30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140088df0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140088ec0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140088fa0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140089080.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140089140.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140089210.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400892f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400893d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400894b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140089590.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140089dc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140089f70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140089fe0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008a030.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008a160.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008a2a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008a320.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008a360.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008a420.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008a490.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008a4a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008a4d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008a4e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008a4f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008a500.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008a520.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008a560.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008a570.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008a590.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008a5a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008a700.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008a710.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008a740.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008a770.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008a830.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008a8b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008a8e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008a9f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008aa60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008ab60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008aee0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008afe0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008b070.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008b200.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008b230.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008b470.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008b4f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008b590.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008b920.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008b930.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008b940.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008b950.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008b960.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008b970.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008b980.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008b990.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008b9a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008b9b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008bca0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008be10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008be40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008be50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008bf30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008c010.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008c0b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008c150.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008c170.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008c190.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008c1e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008c220.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008c270.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008c2b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008c310.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008c370.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008c3d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008c540.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008c630.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008c700.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008c7f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008c810.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008c880.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008c900.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008c980.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008c9f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008ca90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008caf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008cb70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008cc00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008ccf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008cdf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008ce80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008cf20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008d020.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008d170.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008d1f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008d250.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008d300.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008db30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008db50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008dbe0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008dc50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008dce0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008ddb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008ddd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008de50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008ded0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008df90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008e0d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008e200.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008e340.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008e4a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008e540.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008e5f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008e870.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008e950.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008eae0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008eb60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008ec10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008ec50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008ecc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008ef20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008f040.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008f330.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14008fb00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140090190.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400901f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400902a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140090960.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140090990.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400909c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140090ac0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140090b20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140090c40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140090cc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140090d00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140090db0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140090dc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140090e90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140090f10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140091090.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140091200.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140091220.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140091230.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140091240.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140091250.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140091260.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140091270.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140091280.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400912b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400912c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400912f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140091300.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140091330.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140091350.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140091360.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400913a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400913c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140091400.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140091410.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140091420.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140091430.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140091540.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140091560.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400915d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140091640.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140091670.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400916a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400916d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140091730.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140091760.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140091980.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140091ba0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140091dc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140091dd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140091df0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140091e00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140091e10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140091e20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140091e30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140091e40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140091e50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140092050.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140092360.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140092390.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400923c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140092400.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140092420.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140092440.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140092470.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400924d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400925d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400925f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140092650.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400926b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140092710.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140092770.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400927d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140092840.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400928b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400928f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140092900.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140092950.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140092a20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140092b00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140092bb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140092c10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140092cb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140092d10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140092d50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140092dd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140092e00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140092e90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140092ec0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140092ef0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140092f20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140093320.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140093390.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140093730.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140093750.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400937c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400937f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140093820.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400938a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140093920.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140093980.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140093a10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140093ac0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140093c10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140093d10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140093d90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140093eb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140093f40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140094070.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400941c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400947a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140094810.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140094820.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140094840.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140094860.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140094870.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400948a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140094900.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140094980.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140094a00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140094b40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140094c20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140094c40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140094d30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140094e20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140094e50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140095030.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140095120.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140095250.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140095350.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400953b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140095500.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400957e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140095a60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140095b80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140095bd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140095c00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140095cc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140095d30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140095df0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140095e80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140096080.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140096480.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400964e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140096560.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400965d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140096650.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400967f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140096940.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400969c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140096b50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140096bb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140096c20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140096df0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140096e20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140096e60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140096ef0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140096f90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140097060.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140097200.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400973e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400975e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140097610.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140097640.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140097670.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140097680.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140097700.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400977f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400978a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400978d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140097920.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140097950.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400979a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140097a10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140097a30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140097ab0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140097d30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140097e40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140097f70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140098080.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400981d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400982f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400983a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140098450.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140098690.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140098750.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140098820.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140098860.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400988f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400989d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140098a90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140098b60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140098b80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140098c00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140098cb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140098da0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140098db0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140098eb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140098f10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140099230.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140099240.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009a980.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009a9c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009a9f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009aa10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009aa30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009aa70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009aab0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009ab30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009ad20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009ad60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009ad80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009adb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009ae00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009ae20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009af00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009aff0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009b100.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009b1e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009b2c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009b3c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009b610.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009b660.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009b670.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009b6a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009b6b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009b6e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009b6f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009b700.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009b710.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009b740.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009b750.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009b760.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009b7a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009b7b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009b820.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009b830.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009b840.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009b860.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009b870.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009b880.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009b970.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009b9f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009baa0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009bad0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009bae0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009bb20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009bb30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009bb40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009bb70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009bbc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009bc10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009bc40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009bc60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009bd60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009bde0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009be70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009bee0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009bf00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009bf30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009bf60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009bfa0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009c0d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009c0f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009c110.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009c1e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009c250.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009c270.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009c330.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009c350.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009c430.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009c500.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009c580.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009c610.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009c670.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009c6a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009c780.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009c860.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009c970.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009c9a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009ca00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009cb60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009ccc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009cd20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009cd60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009ce30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009cf60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009cfe0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009d050.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009d150.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009d260.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009d330.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009d360.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009d3d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009d480.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009d4d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009d690.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009d7e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009d860.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009d8e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009d960.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009db30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009dbd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009dd00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009def0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009df80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009e0a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009e1d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009e230.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009e320.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009e480.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009e5b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009e710.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009e780.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009e820.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009e8b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009e940.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14009e9f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a2460.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a3610.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a36f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a37d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a38c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a39c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a3a80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a3b50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a3c70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a3d90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a3f20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a40c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a4180.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a4250.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a4340.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a4430.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a4520.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a4610.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a46f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a47d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a48b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a4990.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a4a70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a4b50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a4c30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a4d10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a4df0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a4ed0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a4fc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a50c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a5180.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a5250.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a5330.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a5410.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a5510.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a5620.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a5700.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a57e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a58a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a5970.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a5a50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a5b30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a5c20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a5d20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a5e40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a5f70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a60e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a63d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a6630.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a69f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a6c00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a6d80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a7010.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a71c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a7320.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a7390.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a7430.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a74a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a75e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a7730.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a7820.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a7920.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a79f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a7ba0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a7d00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a7e40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a8040.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a8160.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a8310.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a84b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a85d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a8760.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a8830.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a8950.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a8ae0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a8c10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a8cd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a8e20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a8f60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a8ff0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a9060.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a9130.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a91d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a92a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a9310.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a93a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a9440.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a94c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a9590.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a9690.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a97e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a99a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a9a80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a9b90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a9d00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a9e20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400a9f70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400aa4c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400aaa10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400aab40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400aac40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400aace0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400aad10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400aad40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400aad70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400aaef0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400aaf70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ab050.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ab500.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ab820.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400abad0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400abca0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400abfe0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ac480.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ac6e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ac7a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ac810.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ac830.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ac8a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400acd80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ad8e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ada30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ada40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400adad0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400adb60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400adbd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400adc60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400adcd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400adda0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400adf50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ae130.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ae200.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ae370.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ae550.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ae880.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400aea30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400aecd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400aef70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400af000.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400af100.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b0310.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b04c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b0650.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b0670.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b0700.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b0770.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b0800.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b0870.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b0a10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b0a90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b0b40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b0bd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b0ca0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b0cd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b1510.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b1a60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b1a70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b1a80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b1aa0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b1ad0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b1ae0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b1af0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b1b00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b1b10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b1b20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b1b30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b1b40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b1b50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b1b60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b1b70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b1b80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b1b90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b1ba0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b1bb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b1bc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b1bd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b1be0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b1bf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b1c10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b1c20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b1c30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b1c40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b1c50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b1c60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b1c70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b1c80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b1c90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b1ca0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b1cb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b1cc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b1d20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b1d30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b1d40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b1e70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b1ff0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b2170.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b2210.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b25d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b2cb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b35a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b3680.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b37d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b3a40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b3eb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b41f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b4a50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b4a80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b4da0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b50c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b53a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b5660.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b5e80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b5fd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b69d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b6a40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b6c70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b6cf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b6e60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b6ec0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b6f40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b6fb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b70a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b70e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b70f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b7110.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b7120.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b7140.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b7170.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b71f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b7210.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b7260.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b72d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b73d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b7470.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b7510.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b7550.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b75f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b7620.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b7680.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b76e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b7780.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b7830.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b7880.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b78e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b7940.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b79a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b7a10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b7a70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b7ad0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b7b30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b7b90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b7bf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b7c50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b7cb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b7d10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b7d70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b7dd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b7e30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b7eb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b7f10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b7f70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b7fb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b8010.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b8070.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b8130.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b8190.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b8200.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b8240.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b82c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b83a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b88b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b8990.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b8b10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b8c00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b8d90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b8ee0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b9010.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b9220.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b92e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b9440.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b94e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b9530.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b9a10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b9bc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400b9fa0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ba160.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ba340.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ba370.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ba680.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ba700.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ba7e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ba880.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400baa30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400babf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400bae70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400bb290.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400bb7e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400bbb60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400bbd40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400bbeb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400bc7d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400bca60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400bcaa0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400bcab0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400bcac0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400bcfb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400bd030.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400bd120.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400bd340.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400bd430.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400bd9a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400bdc10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400be080.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400be100.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400be190.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400be2a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400be780.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400be800.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400be8b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400beb00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400beb80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400bec20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400bee40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400bf0c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400bf0d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400bf100.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400bf140.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400bf180.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400bf1e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400bf2c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400bf340.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400bf3b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400bf420.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400bf490.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400bf550.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400bf610.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400bf6d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400bf740.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400bf800.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400bf860.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400bf880.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400bf8b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400bf970.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400bfa60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400bfb10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400bfb60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400bfbd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400bfcf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400bfd50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400bfed0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c0010.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c0180.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c03a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c0450.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c0620.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c0790.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c0900.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c0aa0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c0d50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c1080.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c1230.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c1500.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c1a10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c1cc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c1f90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c2040.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c2180.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c2230.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c27c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c3190.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c3490.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c3510.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c3920.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c3ef0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c4580.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c49d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c4c40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c4c50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c4c60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c4d40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c4e20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c4e50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c50f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c5a20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c5bf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c5f70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c6270.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c6920.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c6ad0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c6e30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c7080.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c76c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c7790.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c78f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c7a70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c7ad0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c7bb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c7c40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c7db0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c7f30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c81b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c8280.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c8300.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c8450.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c8490.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c8600.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c86b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c8760.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c8840.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c88f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c8990.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c8ad0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c8b10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c8b70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c8cb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c8de0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c9030.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c90b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c9130.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c9360.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c93c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c9440.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c9900.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c99a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c9ac0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c9d00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c9e20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c9f10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400c9ff0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ca130.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ca4c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ca5c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ca5f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ca6c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ca9c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400caca0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400cae50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400caef0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400caf50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400cafc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400cb1b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400cb280.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400cb320.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400cb350.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400cb480.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400cb510.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400cb610.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400cb780.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400cb8e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400cbab0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400cbbc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400cbbe0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400cbd80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400cbe00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400cbe90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400cc330.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400cc350.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400cc450.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400cc550.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400cc6b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400cc7b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400cd360.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ce5b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ce6b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ce790.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ce800.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ce810.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ce8d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ce8f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ce910.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ce970.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ce9a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ceb20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400cec80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ced60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ced70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ced80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400cef60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400cef90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400cefa0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400cefd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400cefe0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ceff0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400cf010.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400cf0b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400cf120.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400cf1c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400cf260.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400cf2a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400cf2c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400cf3d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400cf450.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400cf560.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400cf5d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400cf900.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400cfbd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400cffa0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d0130.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d0530.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d0c60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d0cd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d1180.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d1350.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d1440.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d1950.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d1b70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d1d20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d2160.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d2490.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d2520.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d25e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d2610.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d2670.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d26f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d2780.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d27d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d28e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d28f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d2900.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d2910.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d2920.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d2b30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d2b60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d2b90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d2cc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d2d60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d2da0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d2de0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d2e40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d2e80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d2eb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d2ee0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d3030.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d31e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d32e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d3500.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d3510.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d3690.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d36c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d38a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d38b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d38f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d3930.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d3940.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d3950.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d3a60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d3ae0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d3af0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d3b10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d3b30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d3b40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d3b60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d3b70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d3ba0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d3bc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d3d50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d42c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d4350.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d48b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d48d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d4950.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d49c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d49d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d4a10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d4ab0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d4b40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d4bb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d4df0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d4e30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d4f60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d5200.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d5560.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d5660.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d5700.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d57e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d5890.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d58f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d5950.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d5ba0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d5c00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d5c60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d5ca0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d5d30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d5df0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d5e20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d5e50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d5e80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d5ef0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d5f70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d6070.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d6170.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d61a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d6250.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d62e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d6360.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d64a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d6520.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d6660.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d6710.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d67d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d6850.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d6d80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d6e30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d6e40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d7020.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d70f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d7170.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d71e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d7210.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d7270.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d7340.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d74b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d7610.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d7730.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d7ed0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d84b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400d8b10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400da4d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400da520.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400da600.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400da7d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400da7f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400da880.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400da8d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400daa10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400daf50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400db0b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400db210.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400db3e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400db770.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400db7d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400db900.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400dbc80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400dbc90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400dbce0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400dbd40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400dbdb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400dbe20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400dbe80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400dbf60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400dc0f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400dc120.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400dc510.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400dc520.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400dc530.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400dc610.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400dc7f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400dc820.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400dc890.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400dca30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400dd0f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400dd420.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400dd500.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400dd590.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400dd740.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400dd7e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400dd8f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ddaa0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ddb30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ddb60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ddc00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ddc40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ddd40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ddd70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400dddd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400dde20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ddfa0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ddfd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400de150.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400de250.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400de380.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400de4e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400de680.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400de960.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400df100.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400df270.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400df440.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400df680.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400dfc40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400dfc70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400dfcf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400dfd80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400dfe30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400dfe60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400dfea0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400dff20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400dffd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e0420.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e06f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e07a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e07e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e0a30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e0ff0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e1060.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e10a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e1620.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e1670.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e1830.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e18b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e1c20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e1e10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e1ea0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e2170.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e21a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e22b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e2440.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e2470.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e24b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e2550.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e2680.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e26b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e26f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e2790.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e28c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e28d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e2a00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e2b80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e2bd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e2cd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e2d20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e2e80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e2ed0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e2f30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e3030.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e31c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e31e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e3220.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e3720.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e38e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e39f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e3ae0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e3bd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e3cc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e3d60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e3e70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e3e80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e3f70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e3fe0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e4160.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e41a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e41d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e4260.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e4460.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e4510.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e4550.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e4650.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e49e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e4be0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e4d10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e4e40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e50a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e51d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e5340.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e5460.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e5700.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e5740.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e58a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e5a50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e5af4.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e5ba4.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e5bd8.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e5c98.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e5d88.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e5da8.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e5dd8.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e5ee8.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e7458.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e74b8.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e75d8.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e7638.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e7768.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e78ec.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e7b3c.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e7b6c.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e7bec.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e843c.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e851c.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e86fc.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e879c.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e884c.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e89ec.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e8adc.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e8c2c.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e8dec.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e920c.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e970c.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e97cc.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e98cc.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e9b3c.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e9ba8.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e9bc8.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400e9bd4.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ea034.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ea49c.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ea77c.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ea828.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400eab38.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400eaed8.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400eaef8.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400eaf38.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400eb028.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400eb048.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400eb0c8.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400eb188.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400eb388.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400eb488.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400eb9e8.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ebd18.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ec168.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ec1d8.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ec1f8.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ec278.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ec2d8.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ec388.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ec408.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ec4a8.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ec6e8.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ec778.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ec818.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400eca38.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ecce4.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ecd60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ecda0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ecdf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ece50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ece80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ecee0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ecf50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ecff0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ed0f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ed1f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ed240.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ed320.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ed3d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ed450.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ed5b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ed5e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ed610.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ed6f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ed7b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ed8a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400edc20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400edeb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ee100.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ee1f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ee280.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ee3f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400eede0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ef080.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ef140.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ef190.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ef1d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ef250.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ef370.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ef460.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ef4d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ef640.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ef750.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ef7a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ef910.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400efa40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400efc10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400efc20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400efc30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400efc40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400efc50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400efc60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400efc70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400efc80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400efc90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400efca0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400efcb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400efcc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400efcd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400efce0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400efcf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400efd10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400efd30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400efd50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400efd60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400efd70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400efd90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400efdb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400efdc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400efdd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400efdf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400efe00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400efe10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400efe20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400efe30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400efe60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400efe70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400efe80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400efe90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400efea0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400efeb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400efed0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400eff00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400eff20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400eff30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400eff40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400eff50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400eff60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400eff70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400eff80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400eff90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400effa0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400effb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400effc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400effd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400effe0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400efff0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0000.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0010.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0020.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0030.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0040.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0050.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0090.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f00a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f00c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f00d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f00f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0100.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0120.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0150.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0160.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0190.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f01a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f01b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f01e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f01f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0220.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0250.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0260.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0270.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0280.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0290.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f02a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f02b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f02c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f02d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f02e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f02f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0300.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0320.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0330.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0340.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0350.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0360.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0370.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0380.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0390.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f03b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f03d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f03f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0400.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0410.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0430.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0450.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0470.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0480.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0490.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f04a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f04b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f04c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f04d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f04e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f04f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0500.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0510.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0520.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0530.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0540.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0570.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0580.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0590.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f05a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f05b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f05c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f05e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f05f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0600.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0610.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0620.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0630.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0640.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0650.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0660.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0670.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0680.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0690.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f06a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f06b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f06d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f06e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f06f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0710.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0720.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0730.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0740.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0750.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0760.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0780.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f079b.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f07b6.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f07d4.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0815.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0850.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0872.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f08a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f08b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f08c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f08d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f08f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0900.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0920.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0930.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0950.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0960.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0980.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f09a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f09c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f09d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f09e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f09f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0a00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0a10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0a20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0a30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0a40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0a50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0a60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0a70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0a80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0a90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0ab0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0ad0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0b00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0b30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0b40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0b50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0b60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0b70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0b80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0b90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0ba0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0bb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0bc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0bd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0be0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0bf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0c00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0c10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0c20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0c30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0c40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0c50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0c60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0c70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0c80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0c90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0ca0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0cb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0cc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0cd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0ce0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0cf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0d00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0d10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0d20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0d30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0d40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0d50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0d60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0d70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0d80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0d90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0da0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0db0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0dc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0dd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0de0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0df0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0e00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0e10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0e20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0e30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0e40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0e50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0e60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0e70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0e80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0e90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0ea0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0eb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0ec0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0ed0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0ee0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0ef0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0f00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0f10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0f20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0f30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0f40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0f50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0f60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0f70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0f80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0f90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0fa0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0fb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0fc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0fd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0fe0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f0ff0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1000.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1010.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1020.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1030.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1040.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1050.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1060.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1070.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1080.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1090.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f10a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f10b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f10c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f10d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f10e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f10f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1100.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1110.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1120.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1130.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1140.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1150.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1160.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1170.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1180.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1190.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f11a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f11b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f11c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f11d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f11e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f11f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1200.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1210.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1220.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1230.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1240.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1260.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1270.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1290.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f12a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f12b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f12c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f12e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f12f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1310.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1320.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1330.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1340.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1350.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1360.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1370.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1380.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1390.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f13a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f13b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f13c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f13e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f13f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1410.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1420.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1460.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f14a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f14e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f14f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1500.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1510.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1530.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1540.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1560.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1570.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1580.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1590.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f15a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f15b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f15c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f15d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f15e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f15f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1600.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1610.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1620.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1650.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1660.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1670.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1680.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1690.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f16a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f16b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f16c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f16d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f16e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f16f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1700.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1710.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1720.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1730.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1740.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1760.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1770.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1790.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f17a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f17b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f17d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f17e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f17f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1810.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1820.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1830.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1840.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1850.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1860.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1870.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1880.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1890.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f18a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f18b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f18c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f18d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f18e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f18f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1900.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1910.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1920.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1930.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1940.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1950.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1960.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1970.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1980.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1990.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f19b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f19c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f19d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f19e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f19f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1a00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1a10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1a20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1a30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1a40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1a50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1a60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1a70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1a80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1a90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1aa0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1ac0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1ae0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1b00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1b20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1b30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1b40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1b50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1b60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1b70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1b80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1b90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1ba0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1bb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1be0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1c10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1c30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1c40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1c50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1c70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1c80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1c90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1ca0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1cb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1cc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1cd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1ce0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1cf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1d00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1d10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1d20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1d40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1d50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1d60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1d70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1d80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1d90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1da0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1db0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1dc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1dd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1df0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1e00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1e20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1e30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1e40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1e50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1e60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1e80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1e90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1ec0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1ed0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1ee0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1ef0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1f00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1f10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1f20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1f30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1f40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1f50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1f60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1f70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1f80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1f90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1fa0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1fb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1fc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1fd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1fe0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f1ff0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2000.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2010.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2020.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2030.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2040.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2050.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2060.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2070.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2080.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2090.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f20a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f20b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f20c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f20d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f20e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f20f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2100.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2110.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2120.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2130.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2140.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2150.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2160.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2170.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2180.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2190.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f21a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f21b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f21c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f21d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2200.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2210.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2220.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2230.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2240.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2250.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2260.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2280.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2290.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f22b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f22c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f22d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f22e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f22f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2300.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2310.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2320.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2330.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2340.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2350.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2360.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2370.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2390.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f23b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f23c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f23d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f23e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f23f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2400.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2410.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2420.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2430.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2450.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2460.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2480.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2490.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f24a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f24b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f24c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f24d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f24e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f24f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2500.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2510.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2520.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2530.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2540.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2550.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2560.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2570.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2580.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2590.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f25a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f25b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f25c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f25d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f25e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2650.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2660.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f26d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f26e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2750.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2760.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2780.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2790.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f27a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f27b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f27d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f27e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f27f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2800.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2810.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2820.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2830.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2840.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2850.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2860.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2870.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2880.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2890.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f28a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f28b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f28c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f28d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f28e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f28f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2900.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2910.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2920.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2940.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2950.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2970.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2980.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f29a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f29b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f29c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f29d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f29e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f29f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2a00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2a10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2a30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2a50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2a70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2a90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2ab0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2ad0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2af0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2b10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2b30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2b50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2b70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2b90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2bb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2bd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2bf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2c10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2c30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2c40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2c60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2c80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2ca0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2cc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2ce0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2d00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2d20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2d40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2d60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2d80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2da0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2dc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2de0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2e00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2e20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2e30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2e50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2e70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2e90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2eb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2ed0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2ef0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2f10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2f30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2f40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2f50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2f60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2f70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2fa0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2fb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2fc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2fd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2fe0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f2ff0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3000.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3010.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3020.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3030.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3040.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3050.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3060.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3070.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3080.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3090.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f30a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f30b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f30c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f30d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f30e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f30f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3100.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3110.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3120.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3130.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3140.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3150.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3160.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3170.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3180.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3190.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f31a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f31b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f31c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f31d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f31e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f31f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3350.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3360.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3370.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3380.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3390.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f33a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f33b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f33c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f33f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3420.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3450.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3480.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f34b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f34e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3510.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3540.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3550.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3560.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3570.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3580.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3590.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f35a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f35b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f35c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f35d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f35e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3600.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3620.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3630.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3640.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3650.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3660.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3670.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3680.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3690.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f36a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f36b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f36c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f36d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f36e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f36f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3700.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3710.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3720.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3730.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3740.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3750.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3760.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3770.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3780.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3790.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f37a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f37b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f37c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f37e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3810.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3820.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3830.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3840.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3850.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3860.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3870.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3880.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3890.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f38a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f38b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f38c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f38d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f38e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f38f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3900.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3910.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3920.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3930.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3940.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3950.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3960.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3970.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3990.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f39c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f39d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f39e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f39f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3a00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3a10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3a20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3a30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3a40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3a50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3a60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3a70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3a80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3a90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3aa0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3ab0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3ac0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3ad0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3ae0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3af0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3b00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3b10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3b20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3b30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3b40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3b50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3b60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3b70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3b80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3b90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3bb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3bc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3bd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3be0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3bf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3c00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3c10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3c20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3c30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3c40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3c50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3c60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3c70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3c80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3c90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3ca0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3cb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3cc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3cd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3ce0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3cf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3d00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3d10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3d20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3d30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3d40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3d50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3d60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3d70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3d80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3d90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3da0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3db0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3dc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3dd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3de0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3df0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3e00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3e10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3e20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3e30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3e40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3e50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3e60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3e70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3e80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3ea0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3ec0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3ee0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3f00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3f20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3f40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3f60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3f80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3fa0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3fc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f3fe0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4000.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4020.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4040.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4060.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4080.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f40a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f40c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f40e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4100.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4120.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4140.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4160.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4180.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f41a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f41c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f41e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4200.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4220.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4240.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4260.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4280.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f42a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f42c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f42e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4300.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4320.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4340.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4360.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4380.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4390.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f43a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f43b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f43c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f43d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f43e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f43f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4400.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4420.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4450.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4480.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4490.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f44a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f44b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f44c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f44d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f44e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f44f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4500.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4510.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4520.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4530.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4540.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4550.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4560.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4570.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f45c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4610.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4620.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4630.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4640.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4650.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4660.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4670.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f46a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f46b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f46c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4710.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4720.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4730.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4740.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4750.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4760.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4770.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4790.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f47a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f47c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f47d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f47e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f47f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4810.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4830.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4840.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4860.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4870.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4880.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4890.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f48b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f48e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f48f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4900.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4910.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4920.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4940.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4960.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4970.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4980.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4990.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f49a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f49b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f49c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f49d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f49e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f49f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4a00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4a10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4a20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4a40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4a50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4a60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4a70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4a80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4aa0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4ab0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4ac0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4ad0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4ae0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4af0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4b10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4b20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4b30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4b40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4b50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4b60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4b70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4b80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4b90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4ba0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4bb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4bc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4bd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4be0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4bf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4c00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4c10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4c20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4c30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4c40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4c60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4c70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4c90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4ca0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4cc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4ce0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4cf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4d00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4d10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4d20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4d30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4d40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4d50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4d70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4d80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4da0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4dc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4dd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4de0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4df0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4e00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4e10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4e20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4e30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4e40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4e50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4e60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4e70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4e80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4e90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4ea0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4eb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4ec0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4ee0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4ef0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4f10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4f30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4f40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4f60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4f80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4f90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4fa0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4fb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4fc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4fd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4fe0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f4ff0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5000.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5010.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5020.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5030.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5040.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5050.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5060.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5070.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5080.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5090.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f50a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f50b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f50c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f50d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f50e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f50f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5100.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5110.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5120.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5130.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5140.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5150.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5160.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5170.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5180.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5190.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f51a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f51b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f51c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f51d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f51e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f51f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5200.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5210.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5220.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5230.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5240.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5250.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5260.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5270.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5280.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5290.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f52a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f52b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f52c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f52d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f52e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f52f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5300.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5310.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5320.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5330.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5340.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f53c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f53d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5450.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5460.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f54e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f54f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5520.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5550.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5560.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5570.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5580.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5590.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f55a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f55b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f55c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f55d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f55e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f55f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5600.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5610.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5620.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5630.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5640.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5650.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5660.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5670.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5680.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5690.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f56a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f56b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f56c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f56d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f56e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f56f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5700.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5710.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5720.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5730.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5740.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5750.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5770.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5780.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f57a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f57b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f57c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f57d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f57e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f57f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5800.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5810.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5820.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5840.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5850.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5870.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5880.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5890.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f58a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f58b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f58c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f58d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f58e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f58f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5900.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5910.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5920.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5930.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5940.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5950.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5960.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5970.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5990.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f59a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f59c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f59e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f59f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5a10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5a30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5a40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5a50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5a60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5a70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5a80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5a90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5aa0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5ab0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5ac0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5ad0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5ae0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5af0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5b00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5b10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5b20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5b30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5b40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5b50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5b60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5b70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5b80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5b90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5ba0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5bb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5bc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5bd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5be0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5bf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5c00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5c10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5c20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5c30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5c50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5c60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5c80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5c90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5ca0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5cb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5cc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5ce0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5cf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5d10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5d20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5d30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5d40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5d50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5d60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5d80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5d90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5db0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5dc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5dd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5de0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5df0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5e00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5e10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5e20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5e30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5e40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5e50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5e60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5e70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5e80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5e90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5eb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5ec0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5ee0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5ef0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5f00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5f30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5f60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5f90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5fc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5fd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5fe0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f5ff0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6010.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6030.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6050.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6070.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6090.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f60a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f60b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f60c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f60e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6100.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6120.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6140.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6160.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6170.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6180.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6190.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f61b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f61c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f61d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f61e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f61f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6200.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6210.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6220.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6230.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6240.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6250.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6260.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6270.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6280.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6290.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f62a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f62b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f62c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f62d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f62e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f62f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6300.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6310.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6320.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6330.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f64a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f64b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f64c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f64d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f64e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f64f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6500.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6510.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6520.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6530.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6540.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6550.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6560.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6570.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6580.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6590.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f65a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f65b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f65c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f65e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6600.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6610.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6620.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f66a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f66b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6730.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6740.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f67c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f67d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f67e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f67f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6800.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6810.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6820.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6830.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6840.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6940.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6950.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6960.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6970.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6a80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6a90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6aa0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6ab0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6af0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6b00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6b10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6b20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6b30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6b40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6b50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6b60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6b70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6b80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6b90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6ba0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6bb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6bc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6bd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6be0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6bf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6c00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6c10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6c20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6c30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6c40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6c50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6c60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6c70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6c80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6c90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6ca0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6cb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6cf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6d30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6d70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6d80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6d90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6da0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6db0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6dc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6dd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6de0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6df0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6e00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6e10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6e20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6e30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6e40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6e50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6e60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6e70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6ee0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6ef0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6f80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6f90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6fd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6fe0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f6ff0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7000.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7010.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7020.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7030.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7040.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7050.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7060.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7070.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7080.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7090.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f70a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f70b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f70c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f70d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f70f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7100.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7110.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7120.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7130.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7150.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7160.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7170.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7180.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f71a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f71b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f71c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f71d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f71e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f71f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7200.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7210.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7240.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7250.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7260.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7270.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7280.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7290.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f72a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f72b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f72c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f72d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f72e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f72f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7300.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7320.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7330.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7340.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7350.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7360.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7370.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7380.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f73a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f73c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f73d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f73e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f73f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7400.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7410.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7420.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7430.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7440.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7450.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7460.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7490.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f74a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f74b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f74c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f74f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7500.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7530.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7560.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7570.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7590.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f75a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f75b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f75c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f75d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f75e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f75f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7600.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7620.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7630.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7640.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7650.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7660.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7670.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7680.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7690.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f76a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f76b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f76c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f76d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f76e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f76f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7700.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7710.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7720.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7730.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7740.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7750.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7760.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7770.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7780.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7790.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f77a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f77b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f77c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f77d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f77e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f77f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7800.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7810.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7830.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7840.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7850.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7860.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7870.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7890.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f78a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f78b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f78d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7900.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7910.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7920.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7930.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7950.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7960.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7980.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f79a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f79c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f79e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7a00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7a20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7a40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7a60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7a80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7aa0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7ac0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7ae0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7b00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7b10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7b20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7b30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7b40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7b60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7b70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7b90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7bb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7bd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7bf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7c10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7c30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7c50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7c70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7c90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7cb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7cd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7cf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7d10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7d20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7d30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7d40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7d50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7d60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7d80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7d90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7db0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7dc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7dd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7df0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7e00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7e10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7e20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7e30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7e50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7e80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7eb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7ec0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7ed0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7ef0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7f00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7f10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7f30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7f40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7f50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7f60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7f90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7fa0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7fb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7fc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7fd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7fe0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f7ff0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8000.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8010.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8020.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8030.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8040.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8050.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8060.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8070.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8080.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8090.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f80a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f80b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f80c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f80d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f80e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8100.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8110.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8120.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8140.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8150.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8170.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8180.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8190.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f81b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f81d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f81e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8200.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8220.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8230.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8240.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8250.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8260.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8270.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8280.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f82a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f82d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f82e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f82f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8300.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8310.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8320.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8330.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8350.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8360.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8370.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8380.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f83a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f83c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f83e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8400.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8420.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8440.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8460.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8470.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8480.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f84a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f84b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f84d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f84e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f84f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8510.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8520.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8530.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8540.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8560.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8580.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f85a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f85c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f85e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8600.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8620.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8630.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8650.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8660.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8670.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8680.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8690.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f86a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f86b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f86c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f86d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f86e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f86f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8700.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8720.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8730.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8740.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8750.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8760.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8770.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8780.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8790.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f87a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f87b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f87c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f87d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f87e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f87f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8800.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8810.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8820.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8830.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8840.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8850.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8860.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8870.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8890.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f88a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f88b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f88c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f88d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8900.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8910.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8940.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8950.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8970.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8980.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8990.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f89a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f89b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f89c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f89d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f89e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f89f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8a00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8a10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8a20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8a30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8a40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8a50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8a60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8a70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8a80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8aa0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8ac0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8af0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8b00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8b10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8b20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8b30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8b40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8b50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8b70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8b80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8b90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8ba0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8bb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8bc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8bd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8bf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8c00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8c20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8c50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8c80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8c90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8ca0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8cb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8cc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8cd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8ce0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8cf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8d00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8d10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8d20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8d30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8d40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8d50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8d60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8d70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8d80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8d90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8da0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8db0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8dc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8dd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8de0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8df0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8e00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8e10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8e40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8e50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8e60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8e70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8e80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8e90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8ea0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8eb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8ec0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8ed0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8ee0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8ef0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8f00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8f10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8f20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8f30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8f40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8f50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8f60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8f70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8f80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8f90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8fa0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8fb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8fc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8fd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8fe0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f8ff0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9000.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9010.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9020.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9030.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9040.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9050.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9060.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9070.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9080.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9090.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f90a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f90b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f90c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f90d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f90e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f90f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9100.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9110.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9120.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9130.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9140.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9150.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9160.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9170.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9180.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9190.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f91a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f91b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f91c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f91d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f91e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f91f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9200.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9210.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9220.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9230.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9240.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9250.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9260.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9270.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9280.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9290.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f92a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f92b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f92c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f92d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f92e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f92f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9300.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9310.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9320.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9330.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9340.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9350.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9360.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9370.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9380.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9390.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f93a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f93b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f93c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f93d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f93e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f93f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9400.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9410.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9420.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9430.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9440.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9450.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9460.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9470.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9480.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9490.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f94a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f94b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f94c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f94d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f94e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f94f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9500.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9510.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9520.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9530.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9540.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9550.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9560.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9570.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9580.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f95a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f95b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f95d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f95e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f95f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9600.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9620.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9630.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9650.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9660.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9670.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9680.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f96a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f96b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f96d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f96e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f96f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9700.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9710.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9720.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9730.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9740.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9750.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9760.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9770.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9780.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9790.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f97a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9800.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9810.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9830.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9850.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9860.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9870.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f98a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f98b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f98c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f98f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9900.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9910.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9920.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9930.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9950.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9960.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9970.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9980.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9990.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f99a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f99b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f99c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f99e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f99f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9a00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9a10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9a20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9a30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9a40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9a50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9a60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9a70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9a80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9a90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9aa0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9ab0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9ac0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9ad0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9ae0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9af0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9b00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9b10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9b20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9b30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9b40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9b50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9b60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9b70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9b80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9b90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9bc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9bd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9be0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9bf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9c00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9c10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9c20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9c30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9c40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9c50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9c60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9c70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9c90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9ca0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9cb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9cc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9d30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9d40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9db0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9dc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9e30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9e40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9e60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9e70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9ee0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9ef0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9f60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9f70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9fe0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400f9ff0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa000.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa020.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa030.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa040.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa050.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa060.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa070.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa080.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa090.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa0a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa0b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa0c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa130.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa140.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa1b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa1c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa230.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa240.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa250.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa260.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa270.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa280.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa290.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa2a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa2d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa2e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa2f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa300.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa310.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa320.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa330.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa340.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa350.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa360.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa370.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa380.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa390.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa3a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa3b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa3c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa3d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa3f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa400.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa420.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa460.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa470.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa480.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa490.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa4a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa4c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa4d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa4f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa510.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa520.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa540.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa550.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa560.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa570.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa580.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa590.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa5a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa5b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa5c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa5e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa5f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa610.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa630.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa640.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa650.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa660.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa670.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa690.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa6a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa6b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa6c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa6f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa700.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa710.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa720.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa730.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa740.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa750.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa760.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa770.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa780.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa790.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa7a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa7b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa7c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa7d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa7e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa7f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa800.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa810.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa820.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa830.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa840.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa850.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa860.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa870.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa880.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa890.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa8a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa8c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa8e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa900.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa920.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa940.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa960.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa980.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa9a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa9c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fa9e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400faa00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400faa20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400faa40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400faa60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400faa80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400faaa0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400faac0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400faae0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fab00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fab20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fab40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fab60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fab80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400faba0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fabc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fabe0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fac00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fac20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fac40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fac60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fac70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fac80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fac90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400faca0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400facb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400facc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400facd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400face0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400facf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fad00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fad10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fad20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fad30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fad40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fad50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fad60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fad70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fad80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fad90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fada0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fadb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fadc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fadd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fae00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fae10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fae20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fae30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fae40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fae50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fae60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fae70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fae80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fae90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400faea0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400faeb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400faec0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400faed0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400faee0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400faef0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400faf00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400faf10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400faf20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400faf30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400faf40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400faf50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400faf60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400faf70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400faf80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400faf90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fafa0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fafb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fafc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fafd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fafe0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400faff0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb000.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb010.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb020.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb030.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb040.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb050.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb060.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb070.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb080.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb090.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb0a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb0b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb0c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb0d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb0e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb0f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb100.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb110.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb120.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb130.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb140.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb150.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb160.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb170.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb180.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb190.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb1a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb1b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb1c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb1d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb1e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb1f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb200.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb210.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb220.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb230.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb250.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb270.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb290.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb2b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb2d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb2f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb310.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb330.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb350.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb370.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb390.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb3b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb3c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb3e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb400.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb420.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb440.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb460.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb480.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb4a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb4c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb4e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb500.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb520.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb540.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb560.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb580.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb590.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb5b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb5d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb5e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb600.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb620.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb630.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb640.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb650.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb660.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb670.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb680.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb690.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb6b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb6d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb6e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb6f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb700.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb710.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb720.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb730.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb740.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb750.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb760.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb770.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb780.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb790.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb7a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb7b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb7c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb7e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb810.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb820.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb830.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb840.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb850.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb860.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb870.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb880.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb890.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb8a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb8b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb8c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb8d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb8e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb900.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb930.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb940.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb950.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb960.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb970.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb980.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb990.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb9a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb9b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb9c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb9d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb9e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fb9f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fba00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fba10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fba20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fba30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fba40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fba50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fba60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fba70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fba80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fba90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbaa0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbab0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbac0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbad0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbae0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbaf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbb00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbb10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbb20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbb30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbb40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbb50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbb70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbba0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbbb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbbc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbbd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbbe0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbbf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbc00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbc10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbc20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbc30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbc40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbc50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbc60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbc70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbc80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbc90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbca0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbcb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbcc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbcd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbce0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbcf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbd00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbd10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbd20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbd30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbd50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbd70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbd80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbd90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbda0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbdb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbdc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbdd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbde0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbdf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbe00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbe30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbe40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbe50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbe60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbe70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbe90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbea0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbeb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbec0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbed0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbee0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbef0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbf00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbf10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbf20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbf30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbf40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbf50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbf60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbf70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbf80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbf90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbfa0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbfb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbfc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbfd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbfe0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fbff0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc000.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc010.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc020.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc030.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc040.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc050.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc060.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc070.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc080.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc090.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc0a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc0b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc0d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc0e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc100.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc110.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc120.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc130.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc140.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc150.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc160.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc170.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc190.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc1a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc1b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc1c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc1d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc1e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc1f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc200.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc210.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc220.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc230.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc240.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc250.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc260.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc270.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc280.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc290.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc370.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc380.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc390.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc3a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc3b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc3c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc3d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc4b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc4c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc4d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc4e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc4f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc500.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc510.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc520.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc530.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc550.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc560.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc580.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc590.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc5a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc5b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc5c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc5d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc5e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc5f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc600.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc610.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc620.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc630.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc640.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc650.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc660.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc670.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc680.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc690.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc6a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc6b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc6c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc6d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc6e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc6f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc700.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc710.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc720.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc730.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc740.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc750.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc760.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc770.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc780.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc790.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc7a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc7b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc7c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc7d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc7e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc800.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc820.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc840.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc860.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc880.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc8a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc8c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc8e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc8f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc900.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc910.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc930.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc960.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc970.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc980.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc990.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc9a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc9b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc9c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc9d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc9e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fc9f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fca00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fca10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fca20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fca30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fca40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fca50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fca60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fca70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fca80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fca90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fcaa0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fcab0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fcac0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fcad0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fcae0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fcaf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fcb00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fcb10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fcb20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fcb30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fcb40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fcb50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fcb60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fcb70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fcb80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fcb90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fcba0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fcbb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fcbc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fcbd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fcbe0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fcbf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fcc00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fcc10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fcc20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fcc30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fcc40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fcc50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fcc60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fcc70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fcc80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fcc90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fcca0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fccb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fccc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fccd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fcce0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fccf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fcd00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fcd10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fcd20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fcd50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fcd60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fcd70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fcd80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fcd90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fcda0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fcdb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fcdc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fcdd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fce10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fce20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fce60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fce70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fce80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fce90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fcea0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fceb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fcec0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fced0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fcef0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fcf10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fcf30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fcf50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fcf70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fcf90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fcfb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fcfd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fcfe0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fcff0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd000.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd010.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd020.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd030.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd060.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd070.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd080.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd0b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd0c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd0d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd0e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd0f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd100.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd110.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd120.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd130.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd140.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd150.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd160.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd180.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd1a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd1c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd1d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd1e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd1f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd200.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd210.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd220.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd250.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd260.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd270.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd280.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd290.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd2a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd2b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd2c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd2f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd320.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd350.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd360.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd370.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd390.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd3a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd3c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd3d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd3e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd3f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd400.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd410.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd430.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd440.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd450.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd460.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd470.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd480.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd490.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd4a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd4b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd4c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd4d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd4f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd500.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd510.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd530.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd550.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd560.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd570.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd590.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd5b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd5c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd5d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd5e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd5f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd600.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd610.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd620.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd630.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd640.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd650.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd660.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd670.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd680.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd690.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd6a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd6c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd6d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd6e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd6f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd700.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd710.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd720.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd730.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd740.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd750.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd760.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd770.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd780.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd790.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd7a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd7b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd7c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd7d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd7e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd7f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd800.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd810.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd820.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd830.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd840.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd850.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd860.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd870.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd880.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd890.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd8a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd8c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd8d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd8e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd900.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd920.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd940.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd950.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd960.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd980.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd9a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd9c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd9e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fd9f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fda00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fda10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fda20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fda30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fda40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fda50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fda60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fda70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fda80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fda90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdaa0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdab0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdac0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdad0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdae0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdaf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdb00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdb10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdb20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdb30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdb40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdb50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdb60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdb70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdb80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdb90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdba0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdbb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdbc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdbd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdbe0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdbf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdc00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdc10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdc20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdc30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdc40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdc50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdc60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdc70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdc80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdc90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdca0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdcb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdcc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdcd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdce0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdcf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdd00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdd10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdd20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdd30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdd40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdd50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdd60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdd70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdd80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdd90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdda0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fddb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fddc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fddd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdde0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fddf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fde00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fde10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fde20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fde30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fde40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fde50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fde60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fde70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fde80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fde90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdea0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdeb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdec0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fded0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdee0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdef0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdf00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdf10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdf30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdf50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdf60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdf70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdf80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdf90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdfa0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdfb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdfd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fdff0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe010.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe020.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe030.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe040.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe050.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe070.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe080.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe0a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe0b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe0c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe0e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe100.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe120.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe140.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe150.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe160.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe170.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe180.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe1a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe1c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe1e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe200.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe220.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe230.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe240.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe250.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe260.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe270.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe280.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe290.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe2a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe2c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe2d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe2e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe2f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe300.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe320.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe330.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe340.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe350.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe360.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe380.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe390.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe3b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe3d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe3e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe400.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe410.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe420.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe430.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe440.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe450.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe460.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe470.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe480.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe490.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe4a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe4b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe4c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe4d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe4e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe4f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe500.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe510.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe520.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe530.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe540.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe550.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe560.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe570.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe580.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe590.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe5a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe5b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe5c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe5d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe5e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe5f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe600.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe620.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe640.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe660.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe670.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe690.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe6a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe6c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe6d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe6e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe6f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe700.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe710.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe720.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe730.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe740.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe750.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe760.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe770.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe790.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe7b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe7d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe7e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe7f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe800.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe810.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe820.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe830.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe840.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe850.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe860.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe870.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe880.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe890.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe8a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe8b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe8c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe8d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe8e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe8f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe900.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe910.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe920.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe930.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe940.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe970.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe980.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe990.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe9b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe9d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fe9f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fea31.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fea51.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fea61.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fea71.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fea81.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400feaa1.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400feab1.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400feac1.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fead1.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400feaf1.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400feb11.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400feb31.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400feb41.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400feb51.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400feb61.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400feb71.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400feb91.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400febb1.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400febd1.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400febf1.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fec11.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fec31.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fec51.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fec71.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fec81.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fec91.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400feca1.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fecb1.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fecd1.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fece1.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fecf1.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fed11.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fed31.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fed51.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fed71.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fed81.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400feda1.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fedc1.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fedd1.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fedf1.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fee11.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fee21.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fee41.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fee60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fee70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400feea0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400feeb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400feec0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400feee0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fef00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fef30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fef60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fef70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fef80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fefe0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400feff0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff000.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff010.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff020.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff030.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff040.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff050.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff060.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff070.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff080.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff090.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff0b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff0c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff0d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff0e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff0f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff100.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff110.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff120.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff130.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff140.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff150.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff180.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff190.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff1a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff1b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff1c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff1d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff1e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff1f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff200.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff210.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff220.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff230.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff270.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff2b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff2c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff310.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff320.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff330.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff370.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff3c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff3d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff3e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff3f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff400.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff410.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff420.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff430.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff440.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff450.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff460.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff470.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff480.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff490.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff4a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff4f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff500.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff510.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff520.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff530.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff540.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff550.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff560.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff570.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff580.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff590.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff5a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff5b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff5c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff5d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff620.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff630.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff640.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff650.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff660.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff670.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff680.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff690.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff6a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff6b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff6c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff6d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff6e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff6f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff700.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff710.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff720.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff770.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff780.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff790.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff7a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff7b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff7c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff7d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff7f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff800.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff810.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff820.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff830.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff840.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff850.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff870.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff880.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff890.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff8a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff8b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff8c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff8d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff8e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff8f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff900.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff910.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff920.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff940.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff950.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff960.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff970.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff980.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff990.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff9a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff9b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff9d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff9e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ff9f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffa00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffa10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffa20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffa30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffa40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffa50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffa60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffa70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffa80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffa90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffaa0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffab0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffac0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffad0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffae0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffaf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffb00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffb10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffb20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffb30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffb40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffb50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffb60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffb70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffb80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffb90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffba0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffbb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffbc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffbd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffbe0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffbf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffc00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffc10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffc20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffc80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffc90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffca0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffcb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffcc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffcd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffce0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffcf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffd00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffd10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffd20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffd30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffd40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffd50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffd60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffd70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffd80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffd90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffda0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffdb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffdc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffdd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffe20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffe30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffe40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffe50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffe60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffe70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffe80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffe90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffea0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400ffeb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fff20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fff30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fff40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fff50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fff60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fff70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fff80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fff90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fffa0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fffb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1400fffc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100020.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100040.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100050.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100090.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401000b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401000c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100100.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100120.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100180.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401001d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100200.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100210.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100220.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100230.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100240.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100260.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100280.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401002a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401002c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401002e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100300.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100310.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100320.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100330.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100340.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100350.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100360.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100370.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100380.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100390.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401003a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401003b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401003c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401003d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401003e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401003f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100400.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100410.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100420.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100430.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100440.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100450.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100460.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100470.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100480.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100490.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401004a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401004b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401004c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401004d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401004e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401004f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100500.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100510.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100520.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100530.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100540.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100550.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100560.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100570.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100580.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100590.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401005a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401005b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401005c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401005d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401005e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401005f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100600.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100610.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100620.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100630.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100640.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100650.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100660.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100670.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100680.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100690.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401006a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401006b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401006c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401006d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401006e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401006f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100700.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100710.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100720.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100730.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100740.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100750.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100760.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100770.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100780.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100790.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401007a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401007b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401007c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401007d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401007e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401007f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100800.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100810.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100830.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100870.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100890.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401008d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100900.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100930.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100940.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100950.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100960.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100970.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100980.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100990.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401009a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401009b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401009c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401009d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401009e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401009f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100a00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100a10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100a20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100a30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100a40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100a50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100a60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100a70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100a80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100a90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100aa0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100ab0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100ac0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100ad0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100ae0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100af0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100b00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100b10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100b20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100b30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100b40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100b50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100b60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100b70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100b80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100b90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100ba0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100bb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100bc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100bd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100be0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100bf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100c00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100c10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100c20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100c30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100c40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100c50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100c60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100c70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100c80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100c90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100ca0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100cb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100cc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100cd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100ce0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100cf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100d00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100d10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100d20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100d30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100d40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100d50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100d60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100d70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100d80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100d90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100da0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100db0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100dc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100dd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100de0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100df0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100e00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100e10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100e20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100e30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100e40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100e50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100e60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100e70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100e80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100ea0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100ec0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100ee0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100f00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100f20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100f40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100f50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100f60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100f70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100fb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100fc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100fd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100fe0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140100ff0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101000.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101010.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101020.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101030.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101040.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101050.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101060.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101070.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101080.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401010d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401010e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401010f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101100.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101110.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101120.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101130.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101140.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101150.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101160.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101170.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101180.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101190.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401011a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401011f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101200.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101210.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101220.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101240.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401012a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401012c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101300.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101330.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101360.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101370.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101390.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401013a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401013c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101400.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101430.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101440.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101460.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101470.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101480.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101490.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401014c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401014e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401014f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101500.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101510.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101530.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101570.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401015a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401015c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101620.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101630.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101650.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101660.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101680.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101690.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401016c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401016e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101700.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101720.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101760.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101770.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401017a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401017d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101800.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101810.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101820.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101830.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101840.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101850.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101860.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101870.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101880.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101890.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401018a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401018b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401018c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401018d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401018e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401018f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101900.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101910.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101920.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101930.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101940.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101990.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401019a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401019c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101a00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101a30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101a50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101a70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101a80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101a90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101aa0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101ab0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101ac0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101ad0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101ae0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101af0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101b00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101b10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101b30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101b40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101b50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101b60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101b70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101b80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101b90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101ba0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101bb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101bc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101be0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101bf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101c00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101c10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101c20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101c30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101c40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101c50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101c60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101c70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101c80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101c90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101ca0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101cb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101cc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101cd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101ce0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101cf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101d00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101d10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101d20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101d30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101d40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101d60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101d80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101d90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101da0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101db0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101dc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101dd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101de0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101df0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101e00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101e10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101e20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101e30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101e40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101e50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101e60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101e70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101e80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101e90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101ea0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101eb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101ec0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101ed0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101ee0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101ef0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101f00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101f10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101f20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101f30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101f40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101f50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101f60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101f80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101fa0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101fb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101fc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101fd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101fe0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140101ff0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102000.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102010.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102020.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102030.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102040.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102050.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102060.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102070.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102080.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102090.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401020a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401020b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401020c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401020d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401020e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401020f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102100.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102110.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102120.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102130.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102140.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102150.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102160.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102170.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102180.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102190.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401021a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401021b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401021c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401021d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401021e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401021f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102200.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102210.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102220.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102230.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102240.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102250.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102260.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102270.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102280.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102290.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401022a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401022b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401022c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401022d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401022e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102310.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102320.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102330.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102340.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102350.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102360.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102370.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102380.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102390.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401023a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401023b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401023c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401023d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401023e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401023f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102400.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102410.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102420.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102430.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102440.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102450.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102460.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102470.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102480.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102490.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401024a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401024b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401024c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401024d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401024e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401024f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102500.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102510.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102520.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102530.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102540.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102550.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102560.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102570.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102580.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102590.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401025a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401025b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401025c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102600.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102620.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102630.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102640.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102650.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102660.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102670.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102680.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102690.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401026a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401026b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401026c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401026d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401026e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401026f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102700.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102710.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102720.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102730.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102740.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102750.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102760.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102770.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102780.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102790.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401027a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401027b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401027c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401027d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401027e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401027f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102800.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102810.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102820.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102830.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102840.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102850.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102860.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102870.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102880.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102890.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401028a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401028c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401028e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401028f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102900.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102910.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102920.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102930.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102940.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102950.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102960.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102980.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401029a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401029b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401029c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401029d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401029e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401029f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102a00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102a10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102a20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102a40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102a60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102a70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102a80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102a90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102aa0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102ab0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102ac0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102ad0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102ae0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102af0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102b00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102b10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102b30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102b50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102b60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102b70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102b80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102b90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102ba0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102bb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102bc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102bd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102be0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102bf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102c00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102c10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102c20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102c30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102c40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102c50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102c60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102c70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102c80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102c90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102ca0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102cb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102cc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102cd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102ce0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102cf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102d00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102d10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102d20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102d30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102d40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102d50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102d60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102d70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102d80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102d90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102da0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102db0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102dc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102dd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102de0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102df0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102e00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102e10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102e20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102e30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102e40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102e50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102e60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102e70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102e80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102e90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102ea0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102eb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102ec0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102f10.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102f20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102f30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102f40.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102f50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102f60.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102f70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102f80.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102f90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102fa0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102fb0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102fc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102fd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102fe0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140102ff0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103000.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103010.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103020.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103030.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103040.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103050.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103060.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103070.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103080.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103090.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401030a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401030b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401030c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401030d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401030e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401030f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103100.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103110.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103120.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103130.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103140.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103150.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103160.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103170.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103180.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103190.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401031a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401031b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401031c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401031d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401031e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401031f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103200.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103210.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103220.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103230.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103240.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103250.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103260.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103270.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103280.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103290.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401032a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401032b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401032c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401032d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401032e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401032f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103300.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103310.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103320.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103330.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103340.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103350.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103360.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103370.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103380.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103390.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401033a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401033b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401033c0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401033d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401033e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401033f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103400.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103410.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103420.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103430.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103440.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103450.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103460.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103470.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103490.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401034b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401034d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401034e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401034f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103500.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103510.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103520.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103530.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103540.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103550.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103560.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103570.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103580.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401035b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401035e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103610.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103630.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103680.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401036b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401036e0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103710.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103740.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103770.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103810.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103840.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103870.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401038a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401038d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103900.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103930.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103970.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x14010399c.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401039bc.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103cf0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103d90.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103dc0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103e00.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103e30.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103e70.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103ef0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103f20.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103f50.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140103fd0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140104000.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140104150.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401041d0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401042b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140104300.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140104360.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401043b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401043f0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140104430.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401044b0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401045c8.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401045fc.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140104610.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140104620.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140104650.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140104730.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140104790.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401047a0.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x140104820.c create mode 100644 decomp/AgentManager_Release_x64/full/functions/0x1401048c0.c create mode 100644 decomp/AgentManager_Release_x64/full/index.tsv create mode 100644 decomp/AgentManager_Release_x64/full/vtables.tsv diff --git a/decomp/AgentManager_Release_x64/0x140001390.pseudo.c b/decomp/AgentManager_Release_x64/0x140001390.pseudo.c new file mode 100644 index 00000000..bb23bfac --- /dev/null +++ b/decomp/AgentManager_Release_x64/0x140001390.pseudo.c @@ -0,0 +1,86 @@ + +/* WARNING: Function: __chkstk replaced with injection: alloca_probe */ + +undefined8 FUN_140001390(int param_1,longlong param_2,undefined8 param_3,longlong **param_4) + +{ + short sVar1; + undefined4 uVar2; + DWORD DVar3; + _invalid_parameter_handler _Handler; + undefined8 *puVar4; + ulonglong uVar5; + PHANDLE ProcessHeaps; + LPCWSTR pWVar6; + short *psVar7; + HANDLE *ppvVar8; + undefined8 **HeapInformation; + undefined8 *local_res18; + undefined8 local_res20; + HANDLE local_2028; + undefined1 local_2020 [8192]; + undefined8 uStack_20; + + uStack_20 = 0x14000139e; + DAT_14017ce74 = timeGetTime(); + FUN_14001d810(&local_res20); + uVar2 = FUN_14001d850(&local_res20); + if ((char)uVar2 != '\0') { + FUN_14001d8c0(); + FUN_140001580(); + FUN_140001060((longlong)DAT_14017c8b0); + if (1 < param_1) { + uVar5 = 0xffffffffffffffff; + psVar7 = *(short **)(param_2 + 8); + do { + if (uVar5 == 0) break; + uVar5 = uVar5 - 1; + sVar1 = *psVar7; + psVar7 = psVar7 + 1; + } while (sVar1 != 0); + FUN_140001710((ulonglong *)&DAT_140175020,*(short **)(param_2 + 8),~uVar5 - 1); + } + puVar4 = (undefined8 *)0x0; + local_2028 = (HANDLE)0x0; + HeapInformation = (undefined8 **)0x2000; + memset(local_2020,0,0x2000); + ProcessHeaps = &local_2028; + DVar3 = GetProcessHeaps(0x400,ProcessHeaps); + if (DVar3 != 0) { + ppvVar8 = &local_2028; + uVar5 = (ulonglong)DVar3; + do { + local_res18 = (undefined8 *)CONCAT44(local_res18._4_4_,2); + param_4 = (longlong **)0x4; + HeapInformation = &local_res18; + ProcessHeaps = (PHANDLE)0x0; + HeapSetInformation(*ppvVar8,HeapCompatibilityInformation,HeapInformation,4); + ppvVar8 = ppvVar8 + 1; + uVar5 = uVar5 - 1; + } while (uVar5 != 0); + } + _Handler = _set_invalid_parameter_handler(FUN_140001340); + local_res18 = operator_new(0x494a8); + if (local_res18 != (undefined8 *)0x0) { + puVar4 = FUN_1400022b0(local_res18,ProcessHeaps,HeapInformation,param_4); + } + pWVar6 = (LPCWSTR)&DAT_140175020; + if (7 < DAT_140175038) { + pWVar6 = DAT_140175020; + } + DAT_14017c8b8 = puVar4; + FUN_140002400(pWVar6,ProcessHeaps,HeapInformation,param_4); + FUN_140002790((longlong)DAT_14017c8b8,ProcessHeaps,HeapInformation,param_4); + FUN_140002670((longlong)DAT_14017c8b8); + if (DAT_14017c8b8 != (undefined8 *)0x0) { + (**(code **)*DAT_14017c8b8)(DAT_14017c8b8,1); + } + if (DAT_14017c8b0 != (undefined8 *)0x0) { + (**(code **)*DAT_14017c8b0)(DAT_14017c8b0,1); + } + _set_invalid_parameter_handler(_Handler); + } + FUN_14001d820(&local_res20); + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/0x140002400.pseudo.c b/decomp/AgentManager_Release_x64/0x140002400.pseudo.c new file mode 100644 index 00000000..3f556a0b --- /dev/null +++ b/decomp/AgentManager_Release_x64/0x140002400.pseudo.c @@ -0,0 +1,94 @@ + +void FUN_140002400(LPCWSTR param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong lVar1; + char *pcVar2; + undefined8 *puVar3; + undefined8 *puVar4; + undefined8 uVar5; + ulonglong uVar6; + wchar_t *pwVar7; + + if ((DAT_14017d37c & 1) == 0) { + DAT_14017d37c = DAT_14017d37c | 1; + FUN_1400ef080(); + atexit((_func_5014 *)&LAB_140104340); + if ((DAT_14017d37c & 1) == 0) { + DAT_14017d37c = DAT_14017d37c | 1; + FUN_1400ef080(); + atexit((_func_5014 *)&LAB_140104340); + } + } + if ((DAT_14017d140 != 200) && (DAT_14017d140 != 100)) { + if ((DAT_14017d37c & 1) == 0) { + DAT_14017d37c = DAT_14017d37c | 1; + FUN_1400ef080(); + atexit((_func_5014 *)&LAB_140104340); + } + if (DAT_14017d140 != 1000) goto LAB_1400024b1; + } + setlocale(0,"kor"); +LAB_1400024b1: + pcVar2 = setlocale(0,(char *)0x0); + printf("Locale is: %s\n"); + puVar3 = operator_new(8); + puVar4 = (undefined8 *)0x0; + if (puVar3 != (undefined8 *)0x0) { + puVar4 = FUN_14003acf0(puVar3,pcVar2,param_3,param_4); + } + lVar1 = DAT_14017cf28; + DAT_14017cf30 = puVar4; + *(undefined1 *)(DAT_14017cf28 + 0x1e8) = 0x15; + FUN_14002fc00(lVar1,param_1,param_3,param_4); + uVar5 = FUN_140032f70(DAT_14017cf28,param_1,param_3,param_4); + if ((char)uVar5 == '\0') { + printf("DB PASE ERROR !!! \n"); + } + _wmkdir(L"Log"); + puVar3 = operator_new(0xe8); + puVar4 = (undefined8 *)0x0; + if (puVar3 != (undefined8 *)0x0) { + puVar4 = FUN_1400ef640(puVar3); + } + DAT_14017c8a8 = puVar4; + FUN_1400ef910((longlong)puVar4,param_1,param_3,param_4); + puVar4 = DAT_14017c8a8; + EnterCriticalSection(DAT_14017cf60); + uVar5 = 0x19; + pwVar7 = L"Log\\Protocol_AgentManager"; + FUN_140001710(puVar4 + 3,L"Log\\Protocol_AgentManager",0x19); + LeaveCriticalSection(DAT_14017cf60); + FUN_1400efa40((longlong)DAT_14017c8a8); + puVar3 = operator_new(0x98); + puVar4 = (undefined8 *)0x0; + if (puVar3 != (undefined8 *)0x0) { + puVar4 = FUN_1400ed450(puVar3,pwVar7,uVar5,param_4); + } + DAT_14017cf18 = puVar4; + DAT_14017cf40 = operator_new(8); + if (DAT_14017cf40 != (undefined8 *)0x0) { + *DAT_14017cf40 = MagiXmlFormat::vftable; + } + puVar3 = operator_new(0xb0); + puVar4 = (undefined8 *)0x0; + if (puVar3 != (undefined8 *)0x0) { + puVar4 = FUN_14000da20(puVar3,pwVar7,uVar5,param_4); + } + DAT_14017cf38 = puVar4; + puVar4 = operator_new(0x80); + if (puVar4 == (undefined8 *)0x0) { + puVar4 = (undefined8 *)0x0; + } + else { + *puVar4 = MagiStatistics::vftable; + FUN_14000c1f0(puVar4 + 1); + uVar6 = FUN_140094860(); + uVar5 = CONCAT71((int7)((ulonglong)uVar5 >> 8),1); + FUN_14003cf60((undefined4 *)(puVar4 + 9),uVar6 & 0xffffffff,uVar5,param_4); + } + DAT_14017cf48 = puVar4; + FUN_1400ef250((longlong)DAT_14017c8a8,L"\t # INIT # \n",uVar5,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/0x140002790.pseudo.c b/decomp/AgentManager_Release_x64/0x140002790.pseudo.c new file mode 100644 index 00000000..8603d4cb --- /dev/null +++ b/decomp/AgentManager_Release_x64/0x140002790.pseudo.c @@ -0,0 +1,517 @@ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ + +undefined8 FUN_140002790(longlong param_1,undefined8 param_2,undefined8 param_3,longlong **param_4) + +{ + double dVar1; + char cVar2; + undefined4 *puVar3; + undefined1 auVar4 [16]; + bool bVar5; + longlong *plVar6; + BOOL BVar7; + DWORD DVar8; + undefined8 *puVar9; + undefined8 *puVar10; + longlong *plVar11; + longlong lVar12; + wchar_t *pwVar13; + LPCSTR pCVar14; + short *psVar15; + longlong *plVar16; + longlong *plVar17; + undefined8 uVar18; + undefined *puVar19; + void **ppvVar20; + undefined8 *puVar21; + undefined8 *puVar22; + undefined8 *puVar23; + longlong lVar24; + undefined4 uVar25; + undefined4 uVar26; + undefined4 uVar27; + undefined4 uVar28; + undefined4 uVar29; + undefined4 uVar30; + undefined1 auStack_4d8 [32]; + longlong *local_4b8; + longlong *local_4b0; + undefined8 *local_4a8; + longlong *local_4a0; + undefined8 *local_498; + undefined8 *local_490; + undefined8 *local_488; + undefined4 local_480 [2]; + undefined8 *local_478; + undefined8 *local_470; + undefined8 *local_468; + LARGE_INTEGER local_460; + undefined8 local_458; + undefined2 local_448; + undefined1 local_446 [158]; + undefined1 local_3a8 [160]; + undefined4 local_308; + uint uStack_304; + undefined2 local_300; + undefined6 uStack_2fe; + undefined8 local_2f0; + ulonglong local_2e8; + WCHAR local_2d8; + undefined6 uStack_2d6; + undefined8 local_2c8; + ulonglong local_2c0; + short *local_2a8; + short local_2a0 [132]; + short *local_198; + short local_190 [132]; + ulonglong local_88; + + local_458 = 0xfffffffffffffffe; + local_88 = DAT_14016f5a0 ^ (ulonglong)auStack_4d8; + pwVar13 = L"\t # PREPARE # \n"; + FUN_1400ef250(DAT_14017c8a8,L"\t # PREPARE # \n",param_3,param_4); + CoInitialize((LPVOID)0x0); + local_460 = (LARGE_INTEGER)operator_new(0xd8); + puVar22 = (undefined8 *)0x0; + puVar9 = puVar22; + if ((undefined8 *)local_460.QuadPart != (undefined8 *)0x0) { + puVar9 = FUN_140005280((undefined8 *)local_460,pwVar13,param_3,param_4); + } + if (puVar9 == (undefined8 *)0x0) { + local_4b8 = (longlong *)0x0; + } + else { + local_4b8 = (longlong *)FUN_14003e840(0x10); + local_4b8[1] = 1; + *local_4b8 = (longlong)puVar9; + } + plVar16 = local_4b8; + local_498 = operator_new(0x118); + puVar9 = puVar22; + if (local_498 != (undefined8 *)0x0) { + puVar9 = FUN_1400060f0(local_498,pwVar13,param_3,param_4); + } + if (puVar9 == (undefined8 *)0x0) { + local_4b0 = (longlong *)0x0; + } + else { + local_4b0 = (longlong *)FUN_14003e840(0x10); + local_4b0[1] = 1; + *local_4b0 = (longlong)puVar9; + } + plVar17 = local_4b0; + local_498 = operator_new(0xa0); + puVar9 = puVar22; + if (local_498 != (undefined8 *)0x0) { + puVar9 = FUN_140007010(local_498,pwVar13,param_3,param_4); + } + if (puVar9 == (undefined8 *)0x0) { + local_4a8 = (undefined8 *)0x0; + } + else { + local_4a8 = (undefined8 *)FUN_14003e840(0x10); + local_4a8[1] = 1; + *local_4a8 = puVar9; + } + puVar9 = local_4a8; + local_468 = local_4a8; + puVar10 = operator_new(0x50); + puVar21 = puVar22; + local_498 = puVar10; + if (puVar10 != (undefined8 *)0x0) { + FUN_1400721c0(puVar10); + FUN_140073a40((void **)(puVar10 + 1)); + puVar10[3] = 0; + puVar10[4] = 0; + puVar10[8] = 7; + puVar10[7] = 0; + *(undefined2 *)(puVar10 + 5) = 0; + puVar21 = puVar10; + } + if (puVar21 == (undefined8 *)0x0) { + local_490 = (undefined8 *)0x0; + } + else { + local_490 = (undefined8 *)FUN_14003e840(0x10); + local_490[1] = 1; + *local_490 = puVar21; + } + puVar21 = local_490; + local_498 = local_490; + puVar10 = operator_new(0x50); + local_488 = puVar10; + if (puVar10 != (undefined8 *)0x0) { + FUN_1400721c0(puVar10); + FUN_140073a40((void **)(puVar10 + 1)); + puVar10[3] = 0; + puVar10[4] = 0; + puVar10[8] = 7; + puVar10[7] = 0; + *(undefined2 *)(puVar10 + 5) = 0; + puVar22 = puVar10; + } + if (puVar22 == (undefined8 *)0x0) { + local_488 = (undefined8 *)0x0; + } + else { + local_488 = (undefined8 *)FUN_14003e840(0x10); + local_488[1] = 1; + *local_488 = puVar22; + } + puVar22 = local_488; + puVar23 = (undefined8 *)0x0; + puVar10 = puVar23; + if (plVar16 != (longlong *)0x0) { + puVar10 = (undefined8 *)*plVar16; + } + *(undefined8 **)(param_1 + 0x49450) = puVar10; + puVar10 = puVar23; + if (plVar17 != (longlong *)0x0) { + puVar10 = (undefined8 *)*plVar17; + } + *(undefined8 **)(param_1 + 0x49458) = puVar10; + puVar10 = puVar23; + if (puVar9 != (undefined8 *)0x0) { + puVar10 = (undefined8 *)*puVar9; + } + *(undefined8 **)(param_1 + 0x49448) = puVar10; + puVar10 = puVar23; + if (puVar21 != (undefined8 *)0x0) { + puVar10 = (undefined8 *)*puVar21; + } + *(undefined8 **)(param_1 + 0x49460) = puVar10; + puVar10 = puVar23; + if (local_488 != (undefined8 *)0x0) { + puVar10 = (undefined8 *)*local_488; + } + *(undefined8 **)(param_1 + 0x49468) = puVar10; + pCVar14 = (LPCSTR)(DAT_14017cf28 + 0x90); + if (0xf < *(ulonglong *)(DAT_14017cf28 + 0xa8)) { + pCVar14 = *(LPCSTR *)pCVar14; + } + local_2a8 = local_2a0; + uVar18 = 3; + FUN_140005110((longlong *)&local_2a8,pCVar14,3); + FUN_140007430(*(longlong *)(param_1 + 0x49460),local_2a8,uVar18,(short *)param_4); + if (local_2a8 != local_2a0) { + free(local_2a8); + } + pCVar14 = (LPCSTR)(DAT_14017cf28 + 0x108); + if (0xf < *(ulonglong *)(DAT_14017cf28 + 0x120)) { + pCVar14 = *(LPCSTR *)pCVar14; + } + local_198 = local_190; + puVar19 = (undefined *)0x3; + FUN_140005110((longlong *)&local_198,pCVar14,3); + psVar15 = local_198; + FUN_140007430(*(longlong *)(param_1 + 0x49468),local_198,puVar19,(short *)param_4); + if (local_198 != local_190) { + free(local_198); + } + local_480[0] = 3; + *(undefined4 *)(param_1 + 0x10) = 3; + printf("STEP : DB_LOAD \n"); + lVar24 = *(longlong *)(param_1 + 0x38); + if ((lVar24 != 0) && (*(char *)(lVar24 + 0x1a) != '\0')) { + param_4 = (longlong **)local_480; + puVar19 = &DAT_14016f5d0; + psVar15 = (short *)0x1; + (**(code **)(*(longlong *)(lVar24 + 0x68) + 0xb0))(); + } + printf("AgentManager Auth...\n"); + uVar18 = FUN_140007a20(*(longlong *)(param_1 + 0x49460),psVar15,puVar19,param_4); + if ((char)uVar18 == '\0') { + printf("AgentManager Auth Failed !!!\n"); + Sleep(3000); + *(undefined1 *)(param_1 + 0x49440) = 0; + } + printf("Read ServerOption...\n"); + uVar18 = FUN_140008410(*(longlong *)(param_1 + 0x49460),psVar15,puVar19,param_4); + if ((char)uVar18 == '\0') { + printf("Read ServerOption Failed !!!\n"); + Sleep(3000); + *(undefined1 *)(param_1 + 0x49440) = 0; + } + printf("Read ServerFile...\n"); + uVar18 = FUN_140009240(*(longlong *)(param_1 + 0x49460),psVar15,puVar19,(longlong)param_4); + if ((char)uVar18 == '\0') { + printf("Read ServerFile Failed !!!\n"); + Sleep(3000); + *(undefined1 *)(param_1 + 0x49440) = 0; + } + printf("Read RealTimeEvent...\n"); + uVar18 = FUN_140009760(*(longlong *)(param_1 + 0x49460),psVar15,puVar19,param_4); + if ((char)uVar18 == '\0') { + printf("Read RealTimeEvent Failed !!!\n"); + Sleep(3000); + *(undefined1 *)(param_1 + 0x49440) = 0; + } + *(undefined8 *)(*(longlong *)(param_1 + 0x49460) + 0x18) = *(undefined8 *)(param_1 + 0x49450); + *(undefined8 *)(*(longlong *)(param_1 + 0x49468) + 0x18) = *(undefined8 *)(param_1 + 0x49450); + *(undefined8 *)(*(longlong *)(param_1 + 0x49450) + 0x68) = *(undefined8 *)(param_1 + 0x49460); + *(undefined8 *)(*(longlong *)(param_1 + 0x49450) + 0x70) = *(undefined8 *)(param_1 + 0x49468); + *(undefined8 *)(*(longlong *)(param_1 + 0x49450) + 0x78) = *(undefined8 *)(param_1 + 0x49458); + *(undefined8 *)(*(longlong *)(param_1 + 0x49450) + 0x80) = *(undefined8 *)(param_1 + 0x49448); + *(undefined8 *)(*(longlong *)(param_1 + 0x49458) + 0x68) = *(undefined8 *)(param_1 + 0x49460); + *(undefined8 *)(*(longlong *)(param_1 + 0x49458) + 0x70) = *(undefined8 *)(param_1 + 0x49468); + *(undefined8 *)(*(longlong *)(param_1 + 0x49458) + 0x78) = *(undefined8 *)(param_1 + 0x49450); + *(undefined8 *)(*(longlong *)(param_1 + 0x49458) + 0x80) = *(undefined8 *)(param_1 + 0x49448); + *(undefined8 *)(*(longlong *)(param_1 + 0x49448) + 0x98) = *(undefined8 *)(param_1 + 0x49450); + pwVar13 = L"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"; + FUN_1400ef250(DAT_14017c8a8,L"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!",puVar19,param_4); + local_308 = 0; + uStack_304 = 0; + local_2e8 = 7; + local_2f0 = 0; + local_300 = 0; + local_2c0 = 7; + local_2c8 = 0; + local_2d8 = L'\0'; + if (*(longlong *)(DAT_14017cf28 + 0x1c8) != 0) { + auVar4._8_8_ = 0; + auVar4._0_8_ = *(ulonglong *)(DAT_14017cf28 + 0x1b0); + pwVar13 = SUB168((ZEXT816(0) << 0x40 | ZEXT816(0x17)) % auVar4,0); + local_478 = (undefined8 *)(*(longlong *)(DAT_14017cf28 + 0x1a8) + (longlong)pwVar13 * 8); + for (local_470 = (undefined8 *)*local_478; local_470 != (undefined8 *)0x0; + local_470 = (undefined8 *)*local_470) { + if (*(char *)(local_470 + 1) == '\x17') { + if (local_470 != (undefined8 *)0x0) goto LAB_140002dd4; + break; + } + } + } + local_478 = (undefined8 *)0x0; + local_470 = puVar23; +LAB_140002dd4: + if ((local_470 != (undefined8 *)0x0) && + (puVar3 = (undefined4 *)local_470[2], puVar3 != (undefined4 *)local_470[3])) { + local_308 = *puVar3; + uStack_304 = puVar3[1]; + FUN_140001630((longlong *)&local_300,(longlong *)(puVar3 + 2),0,0xffffffffffffffff); + param_4 = (longlong **)0xffffffffffffffff; + FUN_140001630((longlong *)&local_2d8,(longlong *)(puVar3 + 0xc),0,0xffffffffffffffff); + pwVar13 = &local_2d8; + if (7 < local_2c0) { + pwVar13 = (LPCWSTR)CONCAT62(uStack_2d6,local_2d8); + } + puVar19 = (undefined *)(ulonglong)uStack_304; + FUN_14003bcb0(*(void **)(param_1 + 0x49448),pwVar13,puVar19,param_4); + } + lVar24 = 0; + lVar12 = lVar24; + if (plVar16 != (longlong *)0x0) { + lVar12 = *plVar16; + } + FUN_140005460(lVar12,pwVar13,puVar19,(longlong)param_4); + if (plVar17 != (longlong *)0x0) { + lVar24 = *plVar17; + } + FUN_140006380(lVar24,pwVar13,puVar19,(longlong)param_4); + FUN_1400ef250(DAT_14017c8a8,L"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!",puVar19,param_4); + plVar11 = operator_new(0x18); + if (plVar11 == (longlong *)0x0) { + plVar11 = (longlong *)0x0; + } + else { + *plVar11 = (longlong)TimeSourceHRWin32::vftable; + BVar7 = QueryPerformanceFrequency(&local_460); + if (BVar7 == 0) { + *(undefined1 *)(plVar11 + 2) = 0; + GetLastError(); + } + else { + *(undefined1 *)(plVar11 + 2) = 1; + plVar11[1] = (longlong)(1.0 / (double)local_460.QuadPart); + } + } + local_4a0 = DAT_14017cf18; + if ((undefined8 *)DAT_14017cf18[2] != (undefined8 *)0x0) { + (*(code *)**(undefined8 **)DAT_14017cf18[2])(); + } + local_4a0[2] = (longlong)plVar11; + if (plVar11 != (longlong *)0x0) { + lVar24 = (**(code **)(*plVar11 + 8))(plVar11); + local_4a0[6] = lVar24; + local_4a0[7] = lVar24; + } + local_4a0[0x12] = 0x3ff0000000000000; + plVar11 = operator_new(0x28); + local_4a0 = plVar11; + if (plVar11 != (longlong *)0x0) { + *plVar11 = (longlong)Magi::Timer::vftable; + plVar6 = DAT_14017cf18; + plVar11[1] = (longlong)DAT_14017cf18; + plVar11[2] = 0; + plVar11[3] = 0; + *(undefined1 *)(plVar11 + 4) = 0; + *(undefined4 *)((longlong)plVar11 + 0x24) = 0x3f800000; + (**(code **)(*plVar6 + 0x10))(); + } + *(longlong **)(param_1 + 0x49430) = plVar11; + local_448 = 0; + memset(local_446,0,0x9e); + ppvVar20 = (void **)0xa0; + memset(local_3a8,0,0xa0); + uVar26 = 0; + uVar28 = 0; + bVar5 = false; + pwVar13 = L"\t # RUN # \n"; + FUN_1400ef250(DAT_14017c8a8,L"\t # RUN # \n",ppvVar20,param_4); + local_4a0 = (longlong *)CONCAT44(local_4a0._4_4_,5); + *(undefined4 *)(param_1 + 0x10) = 5; + if (DAT_14017ce74 != 0) { + printf("********************************\n"); + DVar8 = timeGetTime(); + pwVar13 = (wchar_t *)((ulonglong)(DVar8 - DAT_14017ce74) / 1000); + printf("** Server Load Time : %d sec\n"); + printf("********************************\n"); + } + printf("STEP : SERVER_RUN \n"); + lVar24 = *(longlong *)(param_1 + 0x38); + if ((lVar24 != 0) && (*(char *)(lVar24 + 0x1a) != '\0')) { + param_4 = &local_4a0; + ppvVar20 = (void **)&DAT_14016f5d0; + pwVar13 = (wchar_t *)0x1; + (**(code **)(*(longlong *)(lVar24 + 0x68) + 0xb0))(); + } + cVar2 = *(char *)(param_1 + 0x49440); + uVar29 = uVar26; + uVar30 = uVar28; + while (cVar2 != '\0') { + FUN_1400ed240((longlong)DAT_14017cf18); + dVar1 = *(double *)(*(longlong *)(param_1 + 0x49430) + 0x10); + if (DAT_14017ce84 != '\0') { + printf("AgentSession->Connect\n"); + DAT_14017ce84 = DAT_14017ce84 == '\0'; + } + FUN_14003c0a0(*(undefined8 **)(param_1 + 0x49448)); + uVar25 = SUB84(dVar1,0); + uVar27 = (undefined4)((ulonglong)dVar1 >> 0x20); + if (1.0 <= dVar1 - (double)CONCAT44(uVar28,uVar26)) { + if (DAT_14017ce78 != 0) { + pwVar13 = (wchar_t *)&DAT_14012ea5c; + if (bVar5) { + pwVar13 = (wchar_t *)&DAT_14012ea58; + } + ppvVar20 = (void **)(ulonglong)DAT_14017ce7c; + printf("[ %s ] FPS[ %d ]\n"); + bVar5 = !bVar5; + } + _DAT_14017ce80 = DAT_14017ce7c; + DAT_14017ce7c = 0; + uVar26 = uVar25; + uVar28 = uVar27; + } + if (0.10000000149011612 <= dVar1 - (double)CONCAT44(uVar30,uVar29)) { + DAT_14017ce7c = DAT_14017ce7c + 1; + FUN_140003420(param_1,(ulonglong *******)pwVar13,(undefined *)ppvVar20,(undefined2 *)param_4); + FUN_1400054f0(*(longlong *)(param_1 + 0x49450),dVar1,ppvVar20,(ulonglong)param_4); + uVar29 = uVar25; + uVar30 = uVar27; + if (*(char *)(*(longlong *)(param_1 + 0x49450) + 0x9c) != '\0') { + *(undefined4 *)(param_1 + 0x49444) = 1; + *(undefined1 *)(*(longlong *)(param_1 + 0x49450) + 0x9c) = 0; + } + } + *(double *)(param_1 + 0x49438) = dVar1; + if (0 < *(int *)(param_1 + 0x49444)) { + FUN_140003d00(param_1,pwVar13,ppvVar20,(longlong)param_4); + } + Sleep(1); + puVar9 = local_468; + puVar21 = local_498; + cVar2 = *(char *)(param_1 + 0x49440); + } + FUN_14003bfd0(*(longlong *)(param_1 + 0x49448),pwVar13,ppvVar20,param_4); + lVar24 = *(longlong *)(param_1 + 0x49450); + puVar10 = *(undefined8 **)(lVar24 + 0x28); + if (puVar10 != (undefined8 *)0x0) { + (**(code **)*puVar10)(puVar10,1); + } + *(undefined8 *)(lVar24 + 0x28) = 0; + FUN_140006430(*(longlong *)(param_1 + 0x49458)); + CoUninitialize(); + pwVar13 = L"# SERVER END... #\n"; + FUN_1400ef250(DAT_14017c8a8,L"# SERVER END... #\n",ppvVar20,param_4); + if (7 < local_2c0) { + operator_delete((void *)CONCAT62(uStack_2d6,local_2d8)); + } + local_2c0 = 7; + local_2c8 = 0; + local_2d8 = L'\0'; + if (7 < local_2e8) { + operator_delete((void *)CONCAT62(uStack_2fe,local_300)); + } + local_2e8 = 7; + local_2f0 = 0; + local_300 = 0; + if (puVar22 != (undefined8 *)0x0) { + plVar11 = puVar22 + 1; + *plVar11 = *plVar11 + -1; + plVar16 = local_4b8; + puVar9 = local_4a8; + plVar17 = local_4b0; + puVar21 = local_490; + if (*plVar11 == 0) { + FUN_140004b20(local_488,pwVar13,ppvVar20); + plVar16 = local_4b8; + puVar9 = local_4a8; + plVar17 = local_4b0; + puVar21 = local_490; + } + } + if (puVar21 != (undefined8 *)0x0) { + plVar11 = puVar21 + 1; + *plVar11 = *plVar11 + -1; + plVar16 = local_4b8; + puVar9 = local_4a8; + plVar17 = local_4b0; + if (*plVar11 == 0) { + FUN_140004b20(local_490,pwVar13,ppvVar20); + plVar16 = local_4b8; + puVar9 = local_4a8; + plVar17 = local_4b0; + } + } + if (puVar9 != (undefined8 *)0x0) { + plVar11 = puVar9 + 1; + *plVar11 = *plVar11 + -1; + plVar16 = local_4b8; + plVar17 = local_4b0; + if (*plVar11 == 0) { + FUN_140004aa0(local_4a8,pwVar13,ppvVar20,param_4); + plVar16 = local_4b8; + plVar17 = local_4b0; + } + } + plVar11 = local_4b0; + if (plVar17 != (longlong *)0x0) { + plVar17 = plVar17 + 1; + *plVar17 = *plVar17 + -1; + plVar16 = local_4b8; + if (*plVar17 == 0) { + puVar9 = (undefined8 *)*local_4b0; + if (puVar9 != (undefined8 *)0x0) { + (**(code **)*puVar9)(puVar9,1); + } + FUN_14003e8b0(plVar11); + plVar16 = local_4b8; + } + } + plVar17 = local_4b8; + if (plVar16 != (longlong *)0x0) { + plVar16 = plVar16 + 1; + *plVar16 = *plVar16 + -1; + if (*plVar16 == 0) { + puVar9 = (undefined8 *)*local_4b8; + if (puVar9 != (undefined8 *)0x0) { + (**(code **)*puVar9)(puVar9,1); + } + FUN_14003e8b0(plVar17); + } + } + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/0x140003420.pseudo.c b/decomp/AgentManager_Release_x64/0x140003420.pseudo.c new file mode 100644 index 00000000..89c9a280 --- /dev/null +++ b/decomp/AgentManager_Release_x64/0x140003420.pseudo.c @@ -0,0 +1,295 @@ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +undefined8 +FUN_140003420(longlong param_1,ulonglong *******param_2,undefined *param_3,undefined2 *param_4) + +{ + longlong lVar1; + ulonglong ***********pppppppppppuVar2; + ushort uVar3; + int iVar4; + int iVar5; + ulonglong ************ppppppppppppuVar6; + ulonglong ************ppppppppppppuVar7; + undefined **ppuVar8; + bool bVar9; + undefined1 auStack_1e8 [32]; + undefined8 local_1c8; + undefined8 local_1c0; + undefined8 local_1b8; + undefined8 local_1b0; + undefined8 local_1a8; + undefined8 local_1a0; + undefined8 local_198; + undefined8 local_190; + undefined8 local_188; + undefined8 local_180; + undefined4 local_178; + undefined8 local_168; + ulonglong ***********local_160; + ulonglong ************local_158; + undefined8 local_150; + ulonglong local_148; + undefined4 local_138; + uint local_134; + byte local_12c; + undefined2 local_110; + undefined6 uStack_10e; + undefined8 local_100; + ulonglong local_f8; + undefined2 local_e8; + undefined6 uStack_e6; + undefined8 local_d8; + ulonglong local_d0; + undefined2 local_c0; + undefined6 uStack_be; + undefined8 local_b0; + ulonglong local_a8; + void *local_60; + undefined8 local_58; + undefined8 local_50; + ulonglong local_38; + + local_168 = 0xfffffffffffffffe; + local_38 = DAT_14016f5a0 ^ (ulonglong)auStack_1e8; + iVar4 = _kbhit(); + while (iVar4 != 0) { + iVar4 = _getch(); + iVar4 = (int)(char)iVar4; + if (*(int *)(param_1 + 0x49428) == 0) { + iVar5 = toupper(iVar4); + switch(iVar5) { + case 0x30: + local_160 = (ulonglong ***********)0x0; + local_158 = (ulonglong ************)0x0; + local_150 = 0; + param_2 = (ulonglong *******)&local_160; + FUN_1400398e0(DAT_14017cf20,(ulonglong *)param_2); + ppppppppppppuVar6 = local_158; + pppppppppppuVar2 = local_160; + for (ppppppppppppuVar7 = (ulonglong ************)local_160; + ppppppppppppuVar7 != ppppppppppppuVar6; ppppppppppppuVar7 = ppppppppppppuVar7 + 0x1f) { + FUN_140003c50(&local_138,(undefined4 *)ppppppppppppuVar7); + param_4 = &local_c0; + if (7 < local_a8) { + param_4 = (undefined2 *)CONCAT62(uStack_be,local_c0); + } + param_3 = (undefined *)(ulonglong)local_12c; + param_2 = (ulonglong *******)(ulonglong)local_134; + wprintf(L" CODE:[ %d ]\tTYPE:[ %d ]\tNAME:[ %s ] \r\n"); + if (local_60 != (void *)0x0) { + operator_delete(local_60); + } + local_60 = (void *)0x0; + local_58 = 0; + local_50 = 0; + if (7 < local_a8) { + operator_delete((void *)CONCAT62(uStack_be,local_c0)); + } + local_a8 = 7; + local_b0 = 0; + local_c0 = 0; + if (7 < local_d0) { + operator_delete((void *)CONCAT62(uStack_e6,local_e8)); + } + local_d0 = 7; + local_d8 = 0; + local_e8 = 0; + if (7 < local_f8) { + operator_delete((void *)CONCAT62(uStack_10e,local_110)); + } + local_f8 = 7; + local_100 = 0; + local_110 = 0; + } + if (pppppppppppuVar2 != (ulonglong ************)0x0) { + FUN_140004ba0((ulonglong *)pppppppppppuVar2,(ulonglong *)ppppppppppppuVar6); + operator_delete(pppppppppppuVar2); + param_2 = (ulonglong *******)ppppppppppppuVar6; + } + FUN_140033b40(DAT_14017cf28); + break; + case 0x31: + bVar9 = *(char *)(DAT_14017cf28 + 0x164) == '\0'; + *(bool *)(DAT_14017cf28 + 0x164) = bVar9; + if (bVar9) { + printf("Print On !!!\n"); + } + else { + printf("Print Off !!!\n"); + } + break; + case 0x32: + FUN_14000bd40(*(longlong *)(param_1 + 0x49468),param_2,param_3,param_4); + param_2 = (ulonglong *******)PTR_s_CreateBackupTable_140174e90; + printf("%s\n"); + break; + case 0x33: + bVar9 = *(char *)(DAT_14017cf28 + 0x180) == '\0'; + *(bool *)(DAT_14017cf28 + 0x180) = bVar9; + param_2 = (ulonglong *******)(ulonglong)bVar9; + printf("Active : %d\n"); + break; + case 0x34: + FUN_140009240(*(longlong *)(param_1 + 0x49460),param_2,param_3,(longlong)param_4); + param_2 = (ulonglong *******)PTR_s_Server_File_Refresh__140174ec0; + printf("%s\n"); + break; + case 0x35: + FUN_140008410(*(longlong *)(param_1 + 0x49460),param_2,param_3,param_4); + param_2 = (ulonglong *******)PTR_s_Server_Option_Refresh__140174ed8; + printf("%s\n"); + break; + default: + ppuVar8 = &PTR_s_Printf_On_Off__140174e78; + do { + uVar3 = GetAsyncKeyState(0xa0); + if (((uVar3 & 0x8001) != 0) || (*(char *)(ppuVar8 + 1) == '\0')) { + param_3 = *ppuVar8; + param_2 = (ulonglong *******)(ulonglong)(uint)(int)*(char *)(ppuVar8 + -1); + printf(" \'%c\'\t: %s\n"); + } + ppuVar8 = ppuVar8 + 3; + } while ((longlong)ppuVar8 < 0x140175028); + printf("........... Message : Unknown Control Command.\n"); + break; + case 0x37: + FUN_140009760(*(longlong *)(param_1 + 0x49460),param_2,param_3,param_4); + param_2 = (ulonglong *******)PTR_s_Server_RealTime_Event__140174ef0; + printf("%s\n"); + break; + case 0x38: + param_2 = (ulonglong *******)(ulonglong)*(uint *)(DAT_14017cf20 + 0x58); + printf("[AgentCount : %d] \n"); + break; + case 0x39: + FUN_14000c120(DAT_14017cf48); + param_2 = (ulonglong *******)PTR_s_Statistics_Print__140174f20; + printf("%s\n"); + break; + case 0x45: + *(undefined1 *)(param_1 + 0x49440) = 0; + printf("Server Shutdown\n"); + return 0; + case 0x46: + wprintf(L"-AGENT MANAGER SERVER [CODE:%d]---------------------------------\n"); + wprintf(L"PUBLIC NETWORK : ADDRESS[ %s ] PORT[ %d ]\n"); + wprintf(L"PRIVATE NETWORK : ADDRESS[ %s ] PORT[ %d ]\n"); + param_3 = (undefined *)(ulonglong)*(uint *)(*(longlong *)(param_1 + 0x49448) + 0x50); + printf("API NETWORK : ADDRESS[ %s ] PORT[ %d ] \n"); + wprintf( + L"\n-SESSION----------------------------------------------------------------------\n" + ); + wprintf(L"%s \n"); + param_2 = (ulonglong *******)(*(longlong *)(param_1 + 0x49468) + 0x28); + if (7 < *(ulonglong *)(*(longlong *)(param_1 + 0x49468) + 0x40)) { + param_2 = (ulonglong *******)*param_2; + } + wprintf(L"%s \n"); + wprintf( + L"\n------------------------------------------------------------------------------\n\n" + ); + break; + case 0x4c: + *(undefined4 *)(param_1 + 0x49428) = 1; + param_3 = &DAT_14012eca4; + param_2 = (ulonglong *******)PTR_s_Keyboard_Locked_140174f80; + printf("%s %s\n"); + break; + case 0x4d: + FUN_140038530(DAT_14017cf10); + param_2 = (ulonglong *******)PTR_s_CustomOption_Init_140175010; + printf("%s\n"); + break; + case 0x50: + lVar1 = *(longlong *)(param_1 + 0x49450); + if (lVar1 != 0) { + local_188 = 0; + local_1c0 = 0; + local_1c8 = 0; + local_1b0 = 0; + local_1b8 = 0; + local_190 = 0; + local_198 = 0; + local_1a0 = 0; + local_1a8 = 0; + local_180 = 0; + local_178 = 0; + if (*(longlong *)(lVar1 + 0x28) != 0) { + (**(code **)(**(longlong **)(lVar1 + 0x28) + 0xb0)) + (*(longlong **)(lVar1 + 0x28),&local_1c8); + printf("--------------------------------------------------\n"); + printf("%I64d totalTcpReceiveCount\n"); + printf("%I64d totalTcpReceiveBytes\n"); + printf("%I64d totalTcpSendCount\n"); + printf("%I64d totalTcpSendBytes\n"); + printf("%d p2pConnectionPairCount\n"); + printf("%d p2pDirectConnectionPairCount\n"); + printf("%d clientCount\n"); + printf("--------------------------------------------------\n"); + } + } + param_2 = (ulonglong *******)PTR_s_Network_Status_140174f98; + printf("%s\n"); + break; + case 0x52: + DAT_14017ce78 = (uint)(DAT_14017ce78 == 0); + param_3 = &DAT_14012eca8; + if (DAT_14017ce78 != 0) { + param_3 = &DAT_14012eca4; + } + param_2 = (ulonglong *******)PTR_s_ShowFPS_140174fb0; + printf("%s %s\n"); + break; + case 0x54: + DAT_14017ce84 = DAT_14017ce84 == '\0'; + param_2 = (ulonglong *******)(ulonglong)(byte)DAT_14017ce84; + printf("Connect : [%d]\n"); + } + } + else { + iVar5 = toupper(iVar4); + if (iVar5 == 0x55) { + *(undefined4 *)(param_1 + 0x49428) = 0; + param_3 = &DAT_14012eca8; + param_2 = (ulonglong *******)PTR_s_Keyboard_UnLocked_140174fc8; + printf("%s %s\n"); + ppuVar8 = &PTR_s_Printf_On_Off__140174e78; + do { + uVar3 = GetAsyncKeyState(0xa0); + if (((uVar3 & 0x8001) != 0) || (*(char *)(ppuVar8 + 1) == '\0')) { + param_3 = *ppuVar8; + param_2 = (ulonglong *******)(ulonglong)(uint)(int)*(char *)(ppuVar8 + -1); + printf(" \'%c\'\t: %s\n"); + } + ppuVar8 = ppuVar8 + 3; + } while ((longlong)ppuVar8 < 0x140175028); + } + } + iVar4 = toupper(iVar4); + if (iVar4 == 0x49) { + printf("=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n"); + GetCurrentProcessId(); + printf("ProcessID : %d\n"); + printf("SVN : %d\n"); + printf("Resource : %d\n"); + printf("Build Date : %s\n"); + param_2 = (ulonglong *******)FUN_1400ed8a0((ulonglong *)&local_160); + if ((ulonglong ***********)0xf < param_2[3]) { + param_2 = (ulonglong *******)*param_2; + } + printf("PROTOCOL : %s\n"); + if (0xf < local_148) { + operator_delete(local_160); + } + local_148 = 0xf; + local_150 = 0; + local_160 = (ulonglong ***********)((ulonglong)local_160 & 0xffffffffffffff00); + printf("=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n"); + } + iVar4 = _kbhit(); + } + return 2; +} + diff --git a/decomp/AgentManager_Release_x64/0x140003d00.pseudo.c b/decomp/AgentManager_Release_x64/0x140003d00.pseudo.c new file mode 100644 index 00000000..ff6835af --- /dev/null +++ b/decomp/AgentManager_Release_x64/0x140003d00.pseudo.c @@ -0,0 +1,455 @@ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_140003d00(longlong param_1,undefined8 param_2,undefined8 param_3,longlong param_4) + +{ + ulonglong *puVar1; + ulonglong *puVar2; + bool bVar3; + undefined1 auStack_178 [32]; + ulonglong *local_158; + ulonglong *local_150; + undefined8 local_148; + undefined8 local_138; + undefined4 local_128; + uint local_124; + undefined2 local_100; + undefined6 uStack_fe; + undefined8 local_f0; + ulonglong local_e8; + undefined2 local_d8; + undefined6 uStack_d6; + undefined8 local_c8; + ulonglong local_c0; + undefined2 local_b0; + undefined6 uStack_ae; + undefined8 local_a0; + ulonglong local_98; + int local_64; + void *local_50; + undefined8 local_48; + undefined8 local_40; + ulonglong local_28; + + local_138 = 0xfffffffffffffffe; + local_28 = DAT_14016f5a0 ^ (ulonglong)auStack_178; + if (*(longlong *)(param_1 + 0x49450) == 0) { + return; + } + local_158 = (ulonglong *)0x0; + local_150 = (ulonglong *)0x0; + local_148 = 0; + switch(*(undefined4 *)(param_1 + 0x49444)) { + case 1: + FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\f'); + FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\x11'); + FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\x12'); + FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\x13'); + puVar1 = local_150; + for (puVar2 = local_158; puVar2 != puVar1; puVar2 = puVar2 + 0x1f) { + FUN_140003c50(&local_128,(undefined4 *)puVar2); + if (local_64 == 0) { + FUN_14000cb70(*(longlong *)(param_1 + 0x49450),0,(ulonglong)local_124,param_4); + } + if (local_50 != (void *)0x0) { + operator_delete(local_50); + } + local_40 = 0; + local_48 = 0; + local_50 = (void *)0x0; + if (7 < local_98) { + operator_delete((void *)CONCAT62(uStack_ae,local_b0)); + } + local_b0 = 0; + local_a0 = 0; + local_98 = 7; + if (7 < local_c0) { + operator_delete((void *)CONCAT62(uStack_d6,local_d8)); + } + local_d8 = 0; + local_c8 = 0; + local_c0 = 7; + if (7 < local_e8) { + operator_delete((void *)CONCAT62(uStack_fe,local_100)); + } + } + break; + case 2: + FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\f'); + FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\x11'); + FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\x12'); + FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\x13'); + puVar1 = local_150; + for (puVar2 = local_158; puVar2 != puVar1; puVar2 = puVar2 + 0x1f) { + FUN_140003c50(&local_128,(undefined4 *)puVar2); + if (local_64 != 3) { + if (local_50 != (void *)0x0) { + operator_delete(local_50); + } + local_50 = (void *)0x0; + local_48 = 0; + local_40 = 0; + if (7 < local_98) { + operator_delete((void *)CONCAT62(uStack_ae,local_b0)); + } + local_98 = 7; + local_a0 = 0; + local_b0 = 0; + if (7 < local_c0) { + operator_delete((void *)CONCAT62(uStack_d6,local_d8)); + } + local_c0 = 7; + local_c8 = 0; + local_d8 = 0; + if (7 < local_e8) { + operator_delete((void *)CONCAT62(uStack_fe,local_100)); + } + local_e8 = 7; + local_f0 = 0; + local_100 = 0; + if (local_158 == (ulonglong *)0x0) { + return; + } + goto LAB_14000490b; + } + if (local_50 != (void *)0x0) { + operator_delete(local_50); + } + local_50 = (void *)0x0; + local_48 = 0; + local_40 = 0; + if (7 < local_98) { + operator_delete((void *)CONCAT62(uStack_ae,local_b0)); + } + local_98 = 7; + local_a0 = 0; + local_b0 = 0; + if (7 < local_c0) { + operator_delete((void *)CONCAT62(uStack_d6,local_d8)); + } + local_c0 = 7; + local_c8 = 0; + local_d8 = 0; + if (7 < local_e8) { + operator_delete((void *)CONCAT62(uStack_fe,local_100)); + } + } + break; + case 3: + FUN_14000bd40(*(longlong *)(param_1 + 0x49468),&IMAGE_DOS_HEADER_140000000,param_3,param_4); + *(int *)(param_1 + 0x49444) = *(int *)(param_1 + 0x49444) + 1; + goto switchD_140003d7b_caseD_5; + case 4: + FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\f'); + puVar1 = local_150; + for (puVar2 = local_158; puVar2 != puVar1; puVar2 = puVar2 + 0x1f) { + FUN_140003c50(&local_128,(undefined4 *)puVar2); + FUN_14000cb70(*(longlong *)(param_1 + 0x49450),0xd,(ulonglong)local_124,param_4); + if (local_50 != (void *)0x0) { + operator_delete(local_50); + } + local_50 = (void *)0x0; + local_48 = 0; + local_40 = 0; + if (7 < local_98) { + operator_delete((void *)CONCAT62(uStack_ae,local_b0)); + } + local_98 = 7; + local_a0 = 0; + local_b0 = 0; + if (7 < local_c0) { + operator_delete((void *)CONCAT62(uStack_d6,local_d8)); + } + local_c0 = 7; + local_c8 = 0; + local_d8 = 0; + if (7 < local_e8) { + operator_delete((void *)CONCAT62(uStack_fe,local_100)); + } + } + break; + default: + goto switchD_140003d7b_caseD_5; + case 6: + FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\b'); + FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\x06'); + FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\t'); + FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\n'); + FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\v'); + puVar1 = local_150; + for (puVar2 = local_158; puVar2 != puVar1; puVar2 = puVar2 + 0x1f) { + FUN_140003c50(&local_128,(undefined4 *)puVar2); + if (local_64 == 0) { + FUN_14000cb70(*(longlong *)(param_1 + 0x49450),0,(ulonglong)local_124,param_4); + if (local_50 != (void *)0x0) { + std::_Container_base0::_Orphan_all((_Container_base0 *)&local_50); + goto LAB_1400041ea; + } + } + else if (local_50 != (void *)0x0) { +LAB_1400041ea: + operator_delete(local_50); + } + local_40 = 0; + local_48 = 0; + local_50 = (void *)0x0; + if (7 < local_98) { + operator_delete((void *)CONCAT62(uStack_ae,local_b0)); + } + local_b0 = 0; + local_a0 = 0; + local_98 = 7; + if (7 < local_c0) { + operator_delete((void *)CONCAT62(uStack_d6,local_d8)); + } + local_d8 = 0; + local_c8 = 0; + local_c0 = 7; + if (7 < local_e8) { + operator_delete((void *)CONCAT62(uStack_fe,local_100)); + } + } + break; + case 7: + FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\b'); + FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\x06'); + FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\t'); + FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\n'); + FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\v'); + puVar1 = local_150; + for (puVar2 = local_158; puVar2 != puVar1; puVar2 = puVar2 + 0x1f) { + FUN_140003c50(&local_128,(undefined4 *)puVar2); + if (local_64 != 3) { + if (local_50 != (void *)0x0) { + std::_Container_base0::_Orphan_all((_Container_base0 *)&local_50); + operator_delete(local_50); + } + local_50 = (void *)0x0; + local_48 = 0; + local_40 = 0; + if (7 < local_98) { + operator_delete((void *)CONCAT62(uStack_ae,local_b0)); + } + local_98 = 7; + local_a0 = 0; + local_b0 = 0; + if (7 < local_c0) { + operator_delete((void *)CONCAT62(uStack_d6,local_d8)); + } + local_c0 = 7; + local_c8 = 0; + local_d8 = 0; + if (7 < local_e8) { + operator_delete((void *)CONCAT62(uStack_fe,local_100)); + } + local_e8 = 7; + local_f0 = 0; + local_100 = 0; + bVar3 = local_158 == (ulonglong *)0x0; + goto LAB_1400048f9; + } + if (local_50 != (void *)0x0) { + std::_Container_base0::_Orphan_all((_Container_base0 *)&local_50); + operator_delete(local_50); + } + local_50 = (void *)0x0; + local_48 = 0; + local_40 = 0; + if (7 < local_98) { + operator_delete((void *)CONCAT62(uStack_ae,local_b0)); + } + local_98 = 7; + local_a0 = 0; + local_b0 = 0; + if (7 < local_c0) { + operator_delete((void *)CONCAT62(uStack_d6,local_d8)); + } + local_c0 = 7; + local_c8 = 0; + local_d8 = 0; + if (7 < local_e8) { + operator_delete((void *)CONCAT62(uStack_fe,local_100)); + } + } + break; + case 8: + FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\a'); + FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\x05'); + puVar1 = local_150; + for (puVar2 = local_158; puVar2 != puVar1; puVar2 = puVar2 + 0x1f) { + FUN_140003c50(&local_128,(undefined4 *)puVar2); + if (local_64 == 0) { + FUN_14000cb70(*(longlong *)(param_1 + 0x49450),0,(ulonglong)local_124,param_4); + if (local_50 != (void *)0x0) { + std::_Container_base0::_Orphan_all((_Container_base0 *)&local_50); + operator_delete(local_50); + } + local_50 = (void *)0x0; + local_48 = 0; + local_40 = 0; + FUN_140004e90((longlong)&local_128); + } + else { + if (local_50 != (void *)0x0) { + std::_Container_base0::_Orphan_all((_Container_base0 *)&local_50); + operator_delete(local_50); + } + local_50 = (void *)0x0; + local_48 = 0; + local_40 = 0; + if (7 < local_98) { + operator_delete((void *)CONCAT62(uStack_ae,local_b0)); + } + local_98 = 7; + local_a0 = 0; + local_b0 = 0; + if (7 < local_c0) { + operator_delete((void *)CONCAT62(uStack_d6,local_d8)); + } + local_c0 = 7; + local_c8 = 0; + local_d8 = 0; + if (7 < local_e8) { + operator_delete((void *)CONCAT62(uStack_fe,local_100)); + } + } + } + break; + case 9: + FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\a'); + FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\x05'); + puVar1 = local_150; + for (puVar2 = local_158; puVar2 != puVar1; puVar2 = puVar2 + 0x1f) { + FUN_140003c50(&local_128,(undefined4 *)puVar2); + if (local_64 != 3) { + if (local_50 != (void *)0x0) { + std::_Container_base0::_Orphan_all((_Container_base0 *)&local_50); + operator_delete(local_50); + } + local_50 = (void *)0x0; + local_48 = 0; + local_40 = 0; + FUN_140004e90((longlong)&local_128); + bVar3 = local_158 == (ulonglong *)0x0; + goto LAB_1400048f9; + } + if (local_50 != (void *)0x0) { + std::_Container_base0::_Orphan_all((_Container_base0 *)&local_50); + operator_delete(local_50); + } + local_50 = (void *)0x0; + local_48 = 0; + local_40 = 0; + FUN_140004e90((longlong)&local_128); + } + break; + case 10: + FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\x01'); + puVar1 = local_150; + for (puVar2 = local_158; puVar2 != puVar1; puVar2 = puVar2 + 0x1f) { + FUN_140003c50(&local_128,(undefined4 *)puVar2); + if (local_64 == 0) { + FUN_14000cb70(*(longlong *)(param_1 + 0x49450),0,(ulonglong)local_124,param_4); + } + if (local_50 != (void *)0x0) { + std::_Container_base0::_Orphan_all((_Container_base0 *)&local_50); + operator_delete(local_50); + } + local_50 = (void *)0x0; + local_48 = 0; + local_40 = 0; + FUN_140004e90((longlong)&local_128); + } + break; + case 0xb: + FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\x01'); + puVar1 = local_150; + for (puVar2 = local_158; puVar2 != puVar1; puVar2 = puVar2 + 0x1f) { + FUN_140003c50(&local_128,(undefined4 *)puVar2); + if (local_64 != 3) { + if (local_50 != (void *)0x0) { + std::_Container_base0::_Orphan_all((_Container_base0 *)&local_50); + operator_delete(local_50); + } + local_50 = (void *)0x0; + local_48 = 0; + local_40 = 0; + FUN_140004e90((longlong)&local_128); + bVar3 = local_158 == (ulonglong *)0x0; + goto LAB_1400048f9; + } + if (local_50 != (void *)0x0) { + std::_Container_base0::_Orphan_all((_Container_base0 *)&local_50); + operator_delete(local_50); + } + local_50 = (void *)0x0; + local_48 = 0; + local_40 = 0; + FUN_140004e90((longlong)&local_128); + } + break; + case 0xc: + FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\x02'); + FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\x03'); + puVar1 = local_150; + for (puVar2 = local_158; puVar2 != puVar1; puVar2 = puVar2 + 0x1f) { + FUN_140003c50(&local_128,(undefined4 *)puVar2); + if (local_64 == 0) { + FUN_14000cb70(*(longlong *)(param_1 + 0x49450),0,(ulonglong)local_124,param_4); + } + if (local_50 != (void *)0x0) { + std::_Container_base0::_Orphan_all((_Container_base0 *)&local_50); + operator_delete(local_50); + } + local_50 = (void *)0x0; + local_48 = 0; + local_40 = 0; + FUN_140004e90((longlong)&local_128); + } + break; + case 0xd: + FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\x02'); + FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\x03'); + puVar1 = local_150; + for (puVar2 = local_158; puVar2 != puVar1; puVar2 = puVar2 + 0x1f) { + FUN_140003c50(&local_128,(undefined4 *)puVar2); + if (local_64 != 3) { + if (local_50 != (void *)0x0) { + std::_Container_base0::_Orphan_all((_Container_base0 *)&local_50); + operator_delete(local_50); + } + local_50 = (void *)0x0; + local_48 = 0; + local_40 = 0; + FUN_140004e90((longlong)&local_128); + bVar3 = local_158 == (ulonglong *)0x0; + goto LAB_1400048f9; + } + if (local_50 != (void *)0x0) { + std::_Container_base0::_Orphan_all((_Container_base0 *)&local_50); + operator_delete(local_50); + } + local_50 = (void *)0x0; + local_48 = 0; + local_40 = 0; + FUN_140004e90((longlong)&local_128); + } + break; + case 0xe: + *(undefined4 *)(param_1 + 0x49444) = 0; + goto switchD_140003d7b_caseD_5; + } + *(int *)(param_1 + 0x49444) = *(int *)(param_1 + 0x49444) + 1; +switchD_140003d7b_caseD_5: + bVar3 = local_158 == (ulonglong *)0x0; +LAB_1400048f9: + if (!bVar3) { + std::_Container_base0::_Orphan_all((_Container_base0 *)&local_158); +LAB_14000490b: + FUN_140004ba0(local_158,local_150); + operator_delete(local_158); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/0x140005460.pseudo.c b/decomp/AgentManager_Release_x64/0x140005460.pseudo.c new file mode 100644 index 00000000..f41916db --- /dev/null +++ b/decomp/AgentManager_Release_x64/0x140005460.pseudo.c @@ -0,0 +1,24 @@ + +void FUN_140005460(longlong param_1,undefined8 param_2,undefined8 param_3,longlong param_4) + +{ + longlong *plVar1; + short *psVar2; + longlong lVar3; + + plVar1 = FUN_140069970(param_1,param_2,param_3,param_4); + *(longlong **)(param_1 + 0x28) = plVar1; + lVar3 = *plVar1; + (**(code **)(lVar3 + 0x10))(plVar1,param_1 + 8); + (**(code **)(**(longlong **)(param_1 + 0x28) + 8))(*(longlong **)(param_1 + 0x28),param_1 + 0x48); + (**(code **)(**(longlong **)(param_1 + 0x28) + 0x130))(*(longlong **)(param_1 + 0x28),param_1); + psVar2 = (short *)(DAT_14017cf28 + 0x30); + if (7 < *(ulonglong *)(DAT_14017cf28 + 0x48)) { + psVar2 = *(short **)psVar2; + } + FUN_140005dd0((longlong *)(param_1 + 0x30),psVar2,lVar3,param_4); + *(undefined4 *)(param_1 + 0x38) = *(undefined4 *)(DAT_14017cf28 + 0x80); + FUN_140037750((undefined8 *)(param_1 + 0x28),psVar2,lVar3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/0x140006380.pseudo.c b/decomp/AgentManager_Release_x64/0x140006380.pseudo.c new file mode 100644 index 00000000..3f6ee95e --- /dev/null +++ b/decomp/AgentManager_Release_x64/0x140006380.pseudo.c @@ -0,0 +1,28 @@ + +void FUN_140006380(longlong param_1,undefined8 param_2,undefined8 param_3,longlong param_4) + +{ + uint uVar1; + longlong *plVar2; + short *psVar3; + longlong lVar4; + + plVar2 = FUN_140069970(param_1,param_2,param_3,param_4); + *(longlong **)(param_1 + 0x28) = plVar2; + lVar4 = *plVar2; + (**(code **)(lVar4 + 0x10))(plVar2,param_1 + 8); + (**(code **)(**(longlong **)(param_1 + 0x28) + 8))(*(longlong **)(param_1 + 0x28),param_1 + 0x48); + (**(code **)(**(longlong **)(param_1 + 0x28) + 0x130))(*(longlong **)(param_1 + 0x28),param_1); + psVar3 = (short *)(DAT_14017cf28 + 0x58); + if (7 < *(ulonglong *)(DAT_14017cf28 + 0x70)) { + psVar3 = *(short **)psVar3; + } + FUN_140005dd0((longlong *)(param_1 + 0x30),psVar3,lVar4,param_4); + uVar1 = *(uint *)(DAT_14017cf28 + 0x84); + *(uint *)(param_1 + 0x38) = uVar1; + FUN_140037750((undefined8 *)(param_1 + 0x28),(ulonglong)uVar1,lVar4,param_4); + FUN_1400ef250(DAT_14017c8a8,L"MONITOR NETWORK INIT : ADDRESS[%s] PORT[%u]", + *(undefined8 *)(param_1 + 0x30),(ulonglong)*(uint *)(param_1 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/0x140007a20.pseudo.c b/decomp/AgentManager_Release_x64/0x140007a20.pseudo.c new file mode 100644 index 00000000..bb568781 --- /dev/null +++ b/decomp/AgentManager_Release_x64/0x140007a20.pseudo.c @@ -0,0 +1,427 @@ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +ulonglong FUN_140007a20(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + int *piVar1; + undefined8 *puVar2; + IUnknown *pIVar3; + undefined8 *puVar4; + undefined8 *puVar5; + uint uVar6; + int iVar7; + ULONG UVar8; + undefined4 uVar9; + short *psVar10; + ulonglong uVar11; + undefined4 extraout_var; + undefined4 extraout_var_00; + int *piVar12; + ulonglong *puVar13; + ulonglong *puVar14; + int *piVar15; + undefined8 uVar16; + undefined4 extraout_var_01; + int *piVar17; + ulonglong **ppuVar18; + undefined8 **ppuVar19; + int **ppiVar20; + undefined *puVar21; + int *piVar22; + IUnknown **ppIVar23; + wchar_t *pwVar24; + undefined1 auStack_198 [32]; + ulonglong *local_178; + int local_170; + short local_160; + IUnknown *local_158 [2]; + longlong *local_148 [2]; + undefined8 *local_138; + undefined8 *local_130; + undefined8 local_128; + int *local_118; + undefined1 local_110; + int *local_108; + undefined1 local_100; + short local_f8 [16]; + undefined8 local_d8; + undefined8 local_c8; + undefined4 local_c0; + undefined1 local_bc; + undefined8 local_b8; + undefined8 local_b0; + undefined1 local_a8; + undefined2 local_a0; + undefined6 uStack_9e; + undefined8 local_90; + ulonglong local_88; + undefined2 local_78; + undefined6 uStack_76; + undefined8 local_68; + ulonglong local_60; + undefined2 local_50; + undefined6 uStack_4e; + undefined8 local_40; + ulonglong local_38; + ulonglong local_28; + + local_d8 = 0xfffffffffffffffe; + local_28 = DAT_14016f5a0 ^ (ulonglong)auStack_198; + FUN_140073cc0(local_148); + FUN_140073b20(local_158); + FUN_140073f70(local_148,*(IID **)(param_1 + 8),(void **)L"dbo.up_read_agentmanager"); + iVar7 = *(int *)(DAT_14017cf28 + 0x154); + Ordinal_8(&local_178); + if (((short)local_178 != 3) && ((short)local_178 != 10)) { + if ((short)local_178 == 0xb) { + local_170 = CONCAT22(local_170._2_2_,-(ushort)(iVar7 != 0)); + iVar7 = local_170; + } + else { + uVar6 = Ordinal_9(&local_178); + if ((int)uVar6 < 0) { + /* WARNING: Subroutine does not return */ + FUN_140048d70((ulonglong)uVar6); + } + local_178 = (ulonglong *)CONCAT62(local_178._2_6_,3); + } + } + local_170 = iVar7; + FUN_140073d70(local_148,1,(undefined4 *)&local_178); + Ordinal_9(&local_178); + FUN_140074740(local_148,(longlong *)local_158,(int *)0x0); + uVar16 = 0; + ppuVar18 = &local_178; + psVar10 = (short *)FUN_140073e60(local_148,ppuVar18,0); + FUN_140074970(psVar10,ppuVar18,uVar16,param_4); + iVar7 = FUN_14000add0(psVar10); + Ordinal_9(&local_178); + pIVar3 = local_158[0]; + if (iVar7 < 0) { + wprintf(L"Failed Stored Procedure!! : %s \n",L"dbo.up_read_agentmanager"); + uVar11 = FUN_140072b00(local_158); + if (local_158[0] != (IUnknown *)0x0) { + UVar8 = (*local_158[0]->lpVtbl->Release)(local_158[0]); + uVar11 = CONCAT44(extraout_var,UVar8); + } + } + else { + local_160 = 0; + UVar8 = (*local_158[0]->lpVtbl[6].Release)(local_158[0]); + if ((int)UVar8 < 0) { + _com_issue_errorex(UVar8,pIVar3,(_GUID *)&DAT_1401301b0); + } + if (local_160 == 0) { + local_138 = (undefined8 *)0x0; + local_130 = (undefined8 *)0x0; + local_128 = 0; + FUN_1400075d0((ulonglong *)&local_138,local_158); + local_c8 = 0; + local_c0 = 0; + local_bc = 0; + local_b8 = 0; + local_b0 = 0; + local_a8 = 0; + local_88 = 7; + local_90 = 0; + local_a0 = 0; + local_60 = 7; + local_68 = 0; + local_78 = 0; + local_38 = 7; + local_40 = 0; + local_50 = 0; + pwVar24 = L"World"; + ppIVar23 = local_158; + ppuVar19 = &local_138; + psVar10 = FUN_140007700((short *)&local_178,ppuVar19,ppIVar23,L"World"); + FUN_140074970(psVar10,ppuVar19,ppIVar23,pwVar24); + uVar9 = FUN_14000add0(psVar10); + local_c8 = CONCAT44(local_c8._4_4_,uVar9); + Ordinal_9(&local_178); + pwVar24 = L"Code"; + ppIVar23 = local_158; + ppuVar19 = &local_138; + psVar10 = FUN_140007700((short *)&local_178,ppuVar19,ppIVar23,L"Code"); + FUN_140074970(psVar10,ppuVar19,ppIVar23,pwVar24); + uVar9 = FUN_14000add0(psVar10); + local_c8 = CONCAT44(uVar9,(undefined4)local_c8); + Ordinal_9(&local_178); + pwVar24 = L"AgentCode"; + ppIVar23 = local_158; + ppuVar19 = &local_138; + psVar10 = FUN_140007700((short *)&local_178,ppuVar19,ppIVar23,L"AgentCode"); + FUN_140074970(psVar10,ppuVar19,ppIVar23,pwVar24); + local_c0 = FUN_14000add0(psVar10); + Ordinal_9(&local_178); + pwVar24 = L"Type"; + ppIVar23 = local_158; + ppuVar19 = &local_138; + psVar10 = FUN_140007700((short *)&local_178,ppuVar19,ppIVar23,L"Type"); + FUN_140074970(psVar10,ppuVar19,ppIVar23,pwVar24); + local_bc = FUN_14000acb0(psVar10); + Ordinal_9(&local_178); + pwVar24 = L"PrivatePort"; + ppIVar23 = local_158; + ppuVar19 = &local_138; + psVar10 = FUN_140007700((short *)&local_178,ppuVar19,ppIVar23,L"PrivatePort"); + FUN_140074970(psVar10,ppuVar19,ppIVar23,pwVar24); + uVar9 = FUN_14000add0(psVar10); + local_b8 = CONCAT44(local_b8._4_4_,uVar9); + Ordinal_9(&local_178); + pwVar24 = L"PublicPort"; + ppIVar23 = local_158; + ppuVar19 = &local_138; + psVar10 = FUN_140007700((short *)&local_178,ppuVar19,ppIVar23,L"PublicPort"); + FUN_140074970(psVar10,ppuVar19,ppIVar23,pwVar24); + uVar9 = FUN_14000add0(psVar10); + local_b8 = CONCAT44(uVar9,(undefined4)local_b8); + Ordinal_9(&local_178); + pwVar24 = L"UdpPort"; + ppIVar23 = local_158; + ppuVar19 = &local_138; + psVar10 = FUN_140007700((short *)&local_178,ppuVar19,ppIVar23,L"UdpPort"); + FUN_140074970(psVar10,ppuVar19,ppIVar23,pwVar24); + uVar9 = FUN_14000add0(psVar10); + local_b0 = CONCAT44(local_b0._4_4_,uVar9); + Ordinal_9(&local_178); + pwVar24 = L"UdpCount"; + ppIVar23 = local_158; + ppuVar19 = &local_138; + psVar10 = FUN_140007700((short *)&local_178,ppuVar19,ppIVar23,L"UdpCount"); + FUN_140074970(psVar10,ppuVar19,ppIVar23,pwVar24); + uVar9 = FUN_14000add0(psVar10); + local_b0 = CONCAT44(uVar9,(undefined4)local_b0); + Ordinal_9(&local_178); + pwVar24 = L"SessionCount"; + ppIVar23 = local_158; + ppuVar19 = &local_138; + psVar10 = FUN_140007700((short *)&local_178,ppuVar19,ppIVar23,L"SessionCount"); + FUN_140074970(psVar10,ppuVar19,ppIVar23,pwVar24); + local_a8 = FUN_14000acb0(psVar10); + Ordinal_9(&local_178); + pwVar24 = L"PrivateAddress"; + ppIVar23 = local_158; + psVar10 = FUN_140007700(local_f8,&local_138,ppIVar23,L"PrivateAddress"); + ppiVar20 = &local_108; + FUN_14000ab30(psVar10,(longlong *)ppiVar20,ppIVar23,pwVar24); + FUN_14003e7c0(psVar10,ppiVar20,ppIVar23,pwVar24); + piVar22 = (int *)PTR_DAT_14016f010; + if (PTR_DAT_14016f010 == (undefined *)0x0) { + piVar22 = (int *)0x0; + } + local_118 = piVar22; + if (local_108 != (int *)PTR_DAT_14016f010) { + puVar21 = PTR_DAT_14016f010; + piVar12 = (int *)FUN_14003e7c0(psVar10,PTR_DAT_14016f010,ppIVar23,pwVar24); + piVar17 = piVar12; + local_118 = piVar12; + FUN_14003d040(piVar12); + local_110 = 1; + if (((piVar22 != (int *)0x0) && (piVar22 != (int *)PTR_DAT_14016f010)) && + (piVar22 + -2 != (int *)0x0)) { + puVar13 = (ulonglong *)FUN_14003e7c0(piVar17,puVar21,ppIVar23,pwVar24); + local_178 = puVar13; + FUN_14003d040((int *)puVar13); + local_170 = CONCAT31(local_170._1_3_,1); + piVar17 = piVar22 + -1; + *piVar17 = *piVar17 + -1; + if (*piVar17 == 0) { + FUN_14003e8b0(piVar22 + -2); + } + FUN_14003d0d0((longlong)puVar13); + } + local_118 = local_108; + if (((local_108 != (int *)PTR_DAT_14016f010) && (local_108 != (int *)0x0)) && + (local_108 != (int *)0x8)) { + local_108[-1] = local_108[-1] + 1; + } + FUN_14003d0d0((longlong)piVar12); + piVar22 = local_108; + } + piVar17 = piVar22; + if (piVar22 == (int *)0x0) { + piVar17 = (int *)PTR_DAT_14016f010; + } + uVar11 = 0xffffffffffffffff; + piVar12 = piVar17; + do { + if (uVar11 == 0) break; + uVar11 = uVar11 - 1; + iVar7 = *piVar12; + piVar12 = (int *)((longlong)piVar12 + 2); + } while ((short)iVar7 != 0); + uVar11 = ~uVar11 - 1; + puVar13 = (ulonglong *)&local_a0; + piVar12 = piVar17; + FUN_140001710(puVar13,piVar17,uVar11); + if (((piVar22 != (int *)0x0) && (piVar22 != (int *)PTR_DAT_14016f010)) && + (piVar22 + -2 != (int *)0x0)) { + puVar13 = (ulonglong *)FUN_14003e7c0(puVar13,piVar17,uVar11,piVar12); + local_178 = puVar13; + FUN_14003d040((int *)puVar13); + local_170 = CONCAT31(local_170._1_3_,1); + piVar15 = piVar22 + -1; + *piVar15 = *piVar15 + -1; + if (*piVar15 == 0) { + FUN_14003e8b0(piVar22 + -2); + } + FUN_14003d0d0((longlong)puVar13); + } + if (((local_108 != (int *)0x0) && (local_108 != (int *)PTR_DAT_14016f010)) && + (local_108 + -2 != (int *)0x0)) { + puVar13 = (ulonglong *)FUN_14003e7c0(puVar13,piVar17,uVar11,piVar12); + local_178 = puVar13; + FUN_14003d040((int *)puVar13); + local_170 = CONCAT31(local_170._1_3_,1); + piVar22 = local_108 + -1; + *piVar22 = *piVar22 + -1; + if (*piVar22 == 0) { + FUN_14003e8b0(local_108 + -2); + } + FUN_14003d0d0((longlong)puVar13); + } + Ordinal_9(local_f8); + pwVar24 = L"PublicAddress"; + ppIVar23 = local_158; + psVar10 = FUN_140007700(local_f8,&local_138,ppIVar23,L"PublicAddress"); + ppiVar20 = &local_118; + FUN_14000ab30(psVar10,(longlong *)ppiVar20,ppIVar23,pwVar24); + FUN_14003e7c0(psVar10,ppiVar20,ppIVar23,pwVar24); + piVar22 = local_118; + piVar17 = (int *)PTR_DAT_14016f010; + if (PTR_DAT_14016f010 == (undefined *)0x0) { + piVar17 = (int *)0x0; + } + local_108 = piVar17; + if (local_118 != (int *)PTR_DAT_14016f010) { + puVar21 = PTR_DAT_14016f010; + puVar14 = (ulonglong *)FUN_14003e7c0(psVar10,PTR_DAT_14016f010,ppIVar23,pwVar24); + puVar13 = puVar14; + local_178 = puVar14; + FUN_14003d040((int *)puVar14); + local_170 = CONCAT31(local_170._1_3_,1); + if (((piVar17 != (int *)0x0) && (piVar17 != (int *)PTR_DAT_14016f010)) && + (piVar17 + -2 != (int *)0x0)) { + piVar15 = (int *)FUN_14003e7c0(puVar13,puVar21,ppIVar23,pwVar24); + local_108 = piVar15; + FUN_14003d040(piVar15); + local_100 = 1; + piVar12 = piVar17 + -1; + *piVar12 = *piVar12 + -1; + if (*piVar12 == 0) { + FUN_14003e8b0(piVar17 + -2); + } + FUN_14003d0d0((longlong)piVar15); + } + local_108 = piVar22; + if (((piVar22 != (int *)PTR_DAT_14016f010) && (piVar22 != (int *)0x0)) && + (piVar22 != (int *)0x8)) { + piVar22[-1] = piVar22[-1] + 1; + } + FUN_14003d0d0((longlong)puVar14); + piVar17 = piVar22; + } + piVar12 = piVar17; + if (piVar17 == (int *)0x0) { + piVar12 = (int *)PTR_DAT_14016f010; + } + uVar11 = 0xffffffffffffffff; + piVar15 = piVar12; + do { + if (uVar11 == 0) break; + uVar11 = uVar11 - 1; + iVar7 = *piVar15; + piVar15 = (int *)((longlong)piVar15 + 2); + } while ((short)iVar7 != 0); + uVar11 = ~uVar11 - 1; + puVar13 = (ulonglong *)&local_78; + piVar15 = piVar12; + FUN_140001710(puVar13,piVar12,uVar11); + if (((piVar17 != (int *)0x0) && (piVar17 != (int *)PTR_DAT_14016f010)) && + (piVar17 + -2 != (int *)0x0)) { + puVar13 = (ulonglong *)FUN_14003e7c0(puVar13,piVar12,uVar11,piVar15); + local_178 = puVar13; + FUN_14003d040((int *)puVar13); + local_170 = CONCAT31(local_170._1_3_,1); + piVar1 = piVar17 + -1; + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(piVar17 + -2); + } + FUN_14003d0d0((longlong)puVar13); + } + if (((piVar22 != (int *)0x0) && (piVar22 != (int *)PTR_DAT_14016f010)) && + (piVar22 + -2 != (int *)0x0)) { + puVar13 = (ulonglong *)FUN_14003e7c0(puVar13,piVar12,uVar11,piVar15); + local_178 = puVar13; + FUN_14003d040((int *)puVar13); + local_170 = CONCAT31(local_170._1_3_,1); + piVar17 = piVar22 + -1; + *piVar17 = *piVar17 + -1; + if (*piVar17 == 0) { + FUN_14003e8b0(piVar22 + -2); + } + FUN_14003d0d0((longlong)puVar13); + } + Ordinal_9(local_f8); + FUN_140033c30((ulonglong *)&local_50,local_bc,local_c8._4_4_); + if (*(int *)(DAT_14017cf28 + 0x154) == local_c8._4_4_) { + FUN_14002fe40(DAT_14017cf28,(undefined4 *)&local_c8); + } + if (7 < local_38) { + operator_delete((void *)CONCAT62(uStack_4e,local_50)); + } + local_38 = 7; + local_40 = 0; + local_50 = 0; + if (7 < local_60) { + operator_delete((void *)CONCAT62(uStack_76,local_78)); + } + local_60 = 7; + local_68 = 0; + local_78 = 0; + if (7 < local_88) { + operator_delete((void *)CONCAT62(uStack_9e,local_a0)); + } + puVar5 = local_130; + puVar4 = local_138; + local_88 = 7; + local_90 = 0; + local_a0 = 0; + puVar2 = local_138; + if (local_138 != (undefined8 *)0x0) { + for (; puVar2 != puVar5; puVar2 = puVar2 + 5) { + if (7 < (ulonglong)puVar2[3]) { + operator_delete((void *)*puVar2); + } + puVar2[3] = 7; + puVar2[2] = 0; + *(undefined2 *)puVar2 = 0; + } + operator_delete(puVar4); + } + uVar16 = FUN_140072b00(local_158); + if (local_158[0] != (IUnknown *)0x0) { + UVar8 = (*local_158[0]->lpVtbl->Release)(local_158[0]); + uVar16 = CONCAT44(extraout_var_01,UVar8); + } + if (local_148[0] != (longlong *)0x0) { + uVar16 = (**(code **)(*local_148[0] + 0x10))(); + } + return CONCAT71((int7)((ulonglong)uVar16 >> 8),1); + } + wprintf(L"Failed Recordset!! : %s \n",L"dbo.up_read_agentmanager"); + uVar11 = FUN_140072b00(local_158); + if (local_158[0] != (IUnknown *)0x0) { + UVar8 = (*local_158[0]->lpVtbl->Release)(local_158[0]); + uVar11 = CONCAT44(extraout_var_00,UVar8); + } + } + if (local_148[0] != (longlong *)0x0) { + uVar11 = (**(code **)(*local_148[0] + 0x10))(); + } + return uVar11 & 0xffffffffffffff00; +} + diff --git a/decomp/AgentManager_Release_x64/0x140009d00.pseudo.c b/decomp/AgentManager_Release_x64/0x140009d00.pseudo.c new file mode 100644 index 00000000..655100f8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/0x140009d00.pseudo.c @@ -0,0 +1,79 @@ + +/* WARNING: Removing unreachable block (ram,0x000140009e72) */ +/* WARNING: Removing unreachable block (ram,0x000140009e9c) */ +/* WARNING: Removing unreachable block (ram,0x000140009ea3) */ + +ulonglong FUN_140009d00(longlong param_1,longlong param_2,longlong param_3,undefined4 *param_4) + +{ + IUnknown *pIVar1; + int iVar2; + ULONG UVar3; + undefined4 uVar4; + short *psVar5; + ulonglong uVar6; + undefined4 extraout_var; + undefined8 uVar7; + undefined4 extraout_var_00; + undefined4 *puVar8; + wchar_t *pwVar9; + undefined4 *puVar10; + IUnknown *local_48 [2]; + longlong *local_38 [2]; + undefined4 local_28 [8]; + + puVar10 = param_4; + FUN_140073cc0(local_38); + FUN_140073b20(local_48); + FUN_140073f70(local_38,*(IID **)(param_1 + 8),(void **)L"dbo.up_auth_agentaccount"); + FUN_14000a950((undefined2 *)local_28,param_2); + FUN_140073d70(local_38,1,local_28); + Ordinal_9(local_28); + FUN_14000a950((undefined2 *)local_28,param_3); + FUN_140073d70(local_38,2,local_28); + Ordinal_9(local_28); + FUN_140074740(local_38,(longlong *)local_48,(int *)0x0); + uVar7 = 0; + puVar8 = local_28; + psVar5 = (short *)FUN_140073e60(local_38,puVar8,0); + FUN_140074970(psVar5,puVar8,uVar7,puVar10); + iVar2 = FUN_14000add0(psVar5); + Ordinal_9(local_28); + pIVar1 = local_48[0]; + if (iVar2 < 0) { + wprintf(L"Failed Stored Procedure!! : %s \n",L"dbo.up_auth_agentaccount"); + uVar6 = FUN_140072b00(local_48); + if (local_48[0] != (IUnknown *)0x0) { + UVar3 = (*local_48[0]->lpVtbl->Release)(local_48[0]); + uVar6 = CONCAT44(extraout_var,UVar3); + } + if (local_38[0] != (longlong *)0x0) { + uVar6 = (**(code **)(*local_38[0] + 0x10))(); + } + uVar6 = uVar6 & 0xffffffffffffff00; + } + else { + UVar3 = (*local_48[0]->lpVtbl[6].Release)(local_48[0]); + if ((int)UVar3 < 0) { + _com_issue_errorex(UVar3,pIVar1,(_GUID *)&DAT_1401301b0); + } + pwVar9 = L"permission"; + puVar8 = local_28; + psVar5 = (short *)FUN_140073430(local_48,puVar8,0x140130198); + FUN_140074970(psVar5,puVar8,pwVar9,puVar10); + uVar4 = FUN_14000add0(psVar5); + *param_4 = uVar4; + Ordinal_9(local_28); + uVar7 = FUN_140072b00(local_48); + if (local_48[0] != (IUnknown *)0x0) { + UVar3 = (*local_48[0]->lpVtbl->Release)(local_48[0]); + uVar7 = CONCAT44(extraout_var_00,UVar3); + } + if (local_38[0] != (longlong *)0x0) { + uVar7 = (**(code **)(*local_38[0] + 0x10))(); + } + uVar6 = CONCAT71((int7)((ulonglong)uVar7 >> 8),1); + } + return uVar6; +} + diff --git a/decomp/AgentManager_Release_x64/0x1400137f0.pseudo.c b/decomp/AgentManager_Release_x64/0x1400137f0.pseudo.c new file mode 100644 index 00000000..5c55833a --- /dev/null +++ b/decomp/AgentManager_Release_x64/0x1400137f0.pseudo.c @@ -0,0 +1,156 @@ + +undefined8 +FUN_1400137f0(longlong param_1,uint param_2,undefined8 param_3,int *param_4,undefined8 *param_5) + +{ + ulonglong *puVar1; + undefined8 *puVar2; + uint *puVar3; + LPVOID pvVar4; + int *piVar5; + undefined8 *puVar6; + ulonglong *puVar7; + undefined *puVar8; + ulonglong *local_d8; + ulonglong *local_d0; + undefined8 local_c8; + ulonglong *local_b8; + ulonglong *local_b0; + undefined8 local_a8; + ulonglong *local_98; + ulonglong *local_90; + undefined8 local_88; + undefined **local_78; + longlong *local_70; + LPVOID local_68; + ulonglong local_60; + undefined8 local_58; + ulonglong *local_50; + ulonglong *local_48; + undefined8 local_40; + undefined8 local_30; + + local_30 = 0xfffffffffffffffe; + puVar6 = (undefined8 *)0x0; + if (*(longlong *)(DAT_14017cf20 + 0x58) != 0) { + for (puVar2 = *(undefined8 **) + (*(longlong *)(DAT_14017cf20 + 0x38) + + ((ulonglong)(longlong)*param_4 % *(ulonglong *)(DAT_14017cf20 + 0x40)) * 8); + puVar2 != (undefined8 *)0x0; puVar2 = (undefined8 *)*puVar2) { + if (*param_4 == *(int *)(puVar2 + 1)) { + if ((puVar2 != (undefined8 *)0x0) && + (puVar3 = (uint *)puVar2[2], puVar6 = puVar2, puVar3 != (uint *)0x0)) { + *(undefined8 *)(puVar3 + 0x28) = *param_5; + *(undefined8 *)(puVar3 + 0x2a) = param_5[1]; + *(undefined8 *)(puVar3 + 0x2c) = param_5[2]; + FUN_140011f00(*(longlong *)(param_1 + 0x70),*param_4,param_5); + if ((char)puVar3[3] == '\r') { + puVar3[0x28] = param_2; + puVar3[0x31] = 1; + local_98 = (ulonglong *)0x0; + local_90 = (ulonglong *)0x0; + local_88 = 0; + FUN_14003a0d0(DAT_14017cf20,(ulonglong *)&local_98,puVar3[2]); + local_b8 = (ulonglong *)0x0; + local_b0 = (ulonglong *)0x0; + local_a8 = 0; + FUN_140039cd0(DAT_14017cf20,(ulonglong *)&local_b8,'\x15'); + piVar5 = (int *)FUN_14003b000(DAT_14017cf50,&local_50); + puVar8 = &DAT_14016f5d0; + (**(code **)(*(longlong *)(param_1 + 0x40) + 0x30)) + ((longlong *)(param_1 + 0x40),param_2,&DAT_14016f5d0,piVar5,&local_98, + &local_b8); + if (local_50 != (ulonglong *)0x0) { + if (local_50 != local_48) { + puVar7 = local_50 + 4; + do { + if (7 < *puVar7) { + operator_delete((void *)puVar7[-3]); + } + *puVar7 = 7; + puVar7[-1] = 0; + *(undefined2 *)(puVar7 + -3) = 0; + puVar1 = puVar7 + 2; + puVar7 = puVar7 + 6; + } while (puVar1 != local_48); + } + operator_delete(local_50); + } + local_50 = (ulonglong *)0x0; + local_48 = (ulonglong *)0x0; + local_40 = 0; + if (local_b8 != (ulonglong *)0x0) { + FUN_14000a5f0(local_b8,local_b0); + operator_delete(local_b8); + } + local_b8 = (ulonglong *)0x0; + local_b0 = (ulonglong *)0x0; + local_a8 = 0; + if (local_98 != (ulonglong *)0x0) { + FUN_14000a5f0(local_98,local_90); + operator_delete(local_98); + } + local_98 = (ulonglong *)0x0; + local_90 = (ulonglong *)0x0; + local_88 = 0; + } + else { + local_d8 = (ulonglong *)0x0; + local_d0 = (ulonglong *)0x0; + local_c8 = 0; + FUN_140039f50(DAT_14017cf20,(ulonglong *)&local_d8,*puVar3); + if (*(char *)(DAT_14017cf28 + 0x166) != '\0') { + FUN_140039cd0(DAT_14017cf20,(ulonglong *)&local_d8,'\b'); + } + puVar8 = &DAT_14016f5d0; + piVar5 = param_4; + (**(code **)(*(longlong *)(param_1 + 0x40) + 0x40)) + ((longlong *)(param_1 + 0x40),param_2,&DAT_14016f5d0,param_4,&local_d8); + if (local_d8 != (ulonglong *)0x0) { + FUN_14000a5f0(local_d8,local_d0); + operator_delete(local_d8); + } + local_d8 = (ulonglong *)0x0; + local_d0 = (ulonglong *)0x0; + local_c8 = 0; + } + if (*(longlong *)(param_1 + 0x68) != 0) { + piVar5 = (int *)(ulonglong)(byte)puVar3[3]; + puVar8 = (undefined *)(ulonglong)*puVar3; + FUN_14000ae50(*(longlong *)(param_1 + 0x68),1,*puVar3,piVar5,0x14012e3d0,0,*param_4); + } + local_78 = Proud::CFastArray::vftable; + local_70 = (longlong *)0x0; + local_68 = (LPVOID)0x0; + local_60 = 0; + local_58 = 0; + puVar6 = (undefined8 *) + FUN_140039670(DAT_14017cf20,(longlong)&local_78,puVar8,(longlong)piVar5); + pvVar4 = local_68; + if ((int)local_60 == 0) { + if (local_68 == (LPVOID)0x0) break; + if (local_70 != (longlong *)0x0) { + puVar6 = (undefined8 *)(**(code **)(*local_70 + 0x18))(local_70,local_68); + break; + } + } + else { + puVar6 = (undefined8 *) + (**(code **)(*(longlong *)(param_1 + 0x40) + 0x68)) + ((longlong *)(param_1 + 0x40),local_68,local_60 & 0xffffffff, + &DAT_14016f5d0,param_4); + if (pvVar4 == (LPVOID)0x0) break; + if (local_70 != (longlong *)0x0) { + puVar6 = (undefined8 *)(**(code **)(*local_70 + 0x18))(local_70,pvVar4); + break; + } + } + puVar6 = (undefined8 *)FUN_14003e8b0(pvVar4); + } + break; + } + } + } + return CONCAT71((int7)((ulonglong)puVar6 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/0x140015290.pseudo.c b/decomp/AgentManager_Release_x64/0x140015290.pseudo.c new file mode 100644 index 00000000..1405048f --- /dev/null +++ b/decomp/AgentManager_Release_x64/0x140015290.pseudo.c @@ -0,0 +1,267 @@ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +undefined8 +FUN_140015290(longlong param_1,uint param_2,undefined8 param_3,longlong *param_4,longlong *param_5) + +{ + longlong lVar1; + short sVar2; + undefined8 *puVar3; + ulonglong *puVar4; + int iVar5; + undefined4 extraout_var; + undefined8 uVar6; + undefined8 extraout_RAX; + undefined8 extraout_RAX_00; + ulonglong uVar7; + undefined *puVar8; + short *psVar9; + ulonglong *puVar10; + ulonglong *puVar11; + short *psVar12; + ulonglong *puVar13; + undefined *puVar14; + longlong *plVar15; + int *piVar16; + ulonglong uVar17; + ulonglong *puVar18; + ulonglong *puVar19; + undefined1 auStack_1f8 [32]; + ulonglong **local_1d8; + uint local_1c8; + int local_1c4; + ulonglong *local_1c0; + ulonglong *puStack_1b8; + ulonglong local_1b0; + ulonglong *local_1a8; + ulonglong *local_1a0; + ulonglong *local_198; + longlong local_188; + ulonglong *local_180; + ulonglong *local_178; + undefined8 local_170; + ulonglong *local_160; + longlong *local_158; + undefined8 local_150; + undefined4 local_148; + uint local_144; + void *local_120; + ulonglong local_108; + undefined2 local_f8; + undefined6 uStack_f6; + undefined8 local_e8; + ulonglong local_e0; + undefined2 local_d0; + undefined6 uStack_ce; + undefined8 local_c0; + ulonglong local_b8; + ulonglong *local_a8; + ulonglong *puStack_a0; + ulonglong local_98; + ulonglong local_90; + ulonglong local_88; + ulonglong local_80; + ulonglong local_78; + void *local_70; + undefined8 local_68; + undefined8 local_60; + ulonglong local_48; + + local_150 = 0xfffffffffffffffe; + local_48 = DAT_14016f5a0 ^ (ulonglong)auStack_1f8; + uVar17 = (ulonglong)(int)param_2; + puVar13 = (ulonglong *)0x0; + plVar15 = param_4; + local_1c8 = param_2; + if (*(longlong *)(DAT_14017cf38 + 0x58) != 0) { + for (puVar3 = *(undefined8 **) + (*(longlong *)(DAT_14017cf38 + 0x38) + + (uVar17 % *(ulonglong *)(DAT_14017cf38 + 0x40)) * 8); puVar3 != (undefined8 *)0x0 + ; puVar3 = (undefined8 *)*puVar3) { + if (param_2 == *(uint *)(puVar3 + 1)) { + if ((puVar3 != (undefined8 *)0x0) && + (plVar15 = (longlong *)puVar3[2], plVar15 != (longlong *)0x0)) { + psVar9 = (short *)*param_4; + if ((short *)*param_4 == (short *)0x0) { + psVar9 = (short *)PTR_DAT_14016f010; + } + uVar7 = 0xffffffffffffffff; + psVar12 = psVar9; + goto code_r0x000140015344; + } + break; + } + } + } + goto LAB_140015357; + while( true ) { + uVar7 = uVar7 - 1; + sVar2 = *psVar12; + psVar12 = psVar12 + 1; + if (sVar2 == 0) break; +code_r0x000140015344: + if (uVar7 == 0) break; + } + FUN_140001710((ulonglong *)(plVar15 + 1),psVar9,~uVar7 - 1); +LAB_140015357: + puVar14 = (undefined *)*param_4; + if ((undefined *)*param_4 == (undefined *)0x0) { + puVar14 = PTR_DAT_14016f010; + } + FUN_1400ef250(DAT_14017c8a8,L"MONITOR AUTH : ID[%s]",puVar14,plVar15); + local_1c4 = 0; + puVar14 = (undefined *)*param_5; + if ((undefined *)*param_5 == (undefined *)0x0) { + puVar14 = PTR_DAT_14016f010; + } + puVar8 = (undefined *)*param_4; + if ((undefined *)*param_4 == (undefined *)0x0) { + puVar8 = PTR_DAT_14016f010; + } + FUN_140009d00(*(longlong *)(param_1 + 0x60),(longlong)puVar8,(longlong)puVar14,&local_1c4); + plVar15 = (longlong *)(param_1 + 0x40); + piVar16 = &local_1c4; + puVar14 = &DAT_14016f5d0; + local_158 = plVar15; + (**(code **)(*plVar15 + 0x30))(plVar15,param_2,&DAT_14016f5d0); + if (local_1c4 < 1) { + iVar5 = printf(&DAT_1401306c0); + uVar6 = CONCAT44(extraout_var,iVar5); + goto LAB_14001571c; + } + psVar9 = (short *)*param_4; + if ((short *)*param_4 == (short *)0x0) { + psVar9 = (short *)PTR_DAT_14016f010; + } + local_188 = param_1 + -8; + FUN_140012160(local_188,psVar9,CONCAT71((int7)((ulonglong)puVar14 >> 8),1),piVar16); + local_180 = (ulonglong *)0x0; + local_178 = (ulonglong *)0x0; + local_170 = 0; + FUN_140039b70(DAT_14017cf20,(ulonglong *)&local_180); + (**(code **)(*plVar15 + 0x40))(plVar15,param_2,&DAT_14016f5d0,&local_180); + local_1a8 = (ulonglong *)0x0; + local_1a0 = (ulonglong *)0x0; + local_198 = (ulonglong *)0x0; + if (*(longlong *)(DAT_14017cf20 + 0x58) == 0) { + local_1c0 = (ulonglong *)0x0; +LAB_14001547b: + puStack_1b8 = (ulonglong *)0x0; + } + else { + local_1c0 = *(ulonglong **)(DAT_14017cf20 + 0x68); + if (local_1c0 == (ulonglong *)0x0) goto LAB_14001547b; + puStack_1b8 = (ulonglong *)*local_1c0; + } + puVar10 = puStack_1b8; + puVar11 = local_1c0; + puVar18 = puVar13; + puVar19 = puVar13; + if (puStack_1b8 != (ulonglong *)0x0) { + do { + puVar4 = (ulonglong *)puVar10[2]; + if (puVar4 != (ulonglong *)0x0) { + if ((puVar4 < puVar13) && (puVar18 <= puVar4)) { + lVar1 = ((longlong)puVar4 - (longlong)puVar18) + + SUB168(SEXT816(-0x7bdef7bdef7bdef7) * + SEXT816((longlong)puVar4 - (longlong)puVar18),8); + if (puVar13 == puVar19) { + FUN_14003a7e0((longlong *)&local_1a8); + puVar13 = local_1a0; + puVar18 = local_1a8; + puVar19 = local_198; + } + local_1c0 = puVar13; + local_160 = puVar13; + if (puVar13 != (ulonglong *)0x0) { + FUN_140003c50((undefined4 *)puVar13, + (undefined4 *)(puVar18 + ((lVar1 >> 7) - (lVar1 >> 0x3f)) * 0x1f)); + } + } + else { + if (puVar13 == puVar19) { + FUN_14003a7e0((longlong *)&local_1a8); + puVar13 = local_1a0; + puVar18 = local_1a8; + puVar19 = local_198; + } + local_1c0 = puVar13; + local_160 = puVar13; + if (puVar13 != (ulonglong *)0x0) { + FUN_140003c50((undefined4 *)puVar13,(undefined4 *)puVar4); + } + } + puVar13 = puVar13 + 0x1f; + local_1a0 = puVar13; + } + puVar10 = (ulonglong *)*puVar10; + while (puVar10 == (ulonglong *)0x0) { + puVar11 = puVar11 + 1; + puVar10 = (ulonglong *)*puVar11; + } + if (puVar11 == puVar10) { + puVar10 = (ulonglong *)0x0; + } + } while (puVar10 != (ulonglong *)0x0); + uVar17 = (ulonglong)local_1c8; + plVar15 = local_158; + } + if (puVar18 != puVar13) { + puVar10 = puVar18 + 0x17; + do { + FUN_140004f20(&local_148,(undefined4 *)(puVar10 + -0x17)); + local_a8 = (ulonglong *)puVar10[-3]; + puStack_a0 = (ulonglong *)puVar10[-2]; + local_98 = puVar10[-1]; + local_90 = *puVar10; + local_88 = puVar10[1]; + local_80 = puVar10[2]; + local_78 = puVar10[3]; + FUN_140004de0(&local_70,(longlong *)(puVar10 + 4)); + local_1c8 = local_144; + local_1c0 = local_a8; + puStack_1b8 = puStack_a0; + local_1b0 = local_98; + local_1d8 = &local_1c0; + (**(code **)(*plVar15 + 0x50))(plVar15,uVar17 & 0xffffffff,&DAT_14016f5d0,&local_1c8); + if (local_70 != (void *)0x0) { + operator_delete(local_70); + } + local_70 = (void *)0x0; + local_68 = 0; + local_60 = 0; + if (7 < local_b8) { + operator_delete((void *)CONCAT62(uStack_ce,local_d0)); + } + local_b8 = 7; + local_c0 = 0; + local_d0 = 0; + if (7 < local_e0) { + operator_delete((void *)CONCAT62(uStack_f6,local_f8)); + } + local_e0 = 7; + local_e8 = 0; + local_f8 = 0; + if (7 < local_108) { + operator_delete(local_120); + } + puVar11 = puVar10 + 8; + puVar10 = puVar10 + 0x1f; + } while (puVar11 != puVar13); + } + uVar6 = FUN_140012820(local_188,(int)uVar17); + if (puVar18 != (ulonglong *)0x0) { + FUN_140004ba0(puVar18,puVar13); + operator_delete(puVar18); + uVar6 = extraout_RAX; + } + if (local_180 != (ulonglong *)0x0) { + FUN_14000a5f0(local_180,local_178); + operator_delete(local_180); + uVar6 = extraout_RAX_00; + } +LAB_14001571c: + return CONCAT71((int7)((ulonglong)uVar6 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/0x140015ac0.pseudo.c b/decomp/AgentManager_Release_x64/0x140015ac0.pseudo.c new file mode 100644 index 00000000..e68fcbb3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/0x140015ac0.pseudo.c @@ -0,0 +1,450 @@ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +undefined8 +FUN_140015ac0(longlong param_1,uint param_2,undefined8 param_3,uint *param_4,uint *param_5) + +{ + longlong lVar1; + BOOL BVar2; + uint uVar3; + uint uVar4; + ulonglong uVar5; + undefined *puVar6; + char *pcVar7; + longlong *plVar8; + int *piVar9; + undefined4 extraout_var; + ulonglong ******ppppppuVar10; + int *piVar11; + uint *puVar12; + undefined *extraout_RAX; + undefined *extraout_RAX_00; + undefined *extraout_RAX_01; + undefined *extraout_RAX_02; + ulonglong ******_Dst; + uint *puVar13; + short *psVar14; + wchar_t *pwVar15; + undefined8 uVar16; + wchar_t *pwVar17; + uint *puVar18; + uint uVar19; + ulonglong uVar20; + undefined8 *puVar21; + undefined1 auStackY_678 [32]; + uint *local_628; + uint local_620 [2]; + undefined *local_618; + int *local_610; + undefined1 local_608; + uint *local_600; + undefined8 local_5f8; + _PROCESS_INFORMATION local_5f0; + _STARTUPINFOW local_5d8; + ulonglong *****local_568 [2]; + ulonglong ****local_558; + ulonglong ****local_550; + undefined8 local_538; + undefined4 local_530; + undefined1 local_52c; + undefined8 local_528; + undefined8 local_520; + undefined1 local_518; + undefined2 local_510; + undefined6 uStack_50e; + undefined8 local_500; + ulonglong local_4f8; + undefined2 local_4e8; + undefined6 uStack_4e6; + undefined8 local_4d8; + ulonglong local_4d0; + undefined2 local_4c0; + undefined6 uStack_4be; + undefined8 local_4b0; + ulonglong local_4a8; + undefined2 local_498; + undefined6 uStack_496; + undefined8 local_488; + ulonglong local_480; + wchar_t local_468; + undefined1 local_466 [526]; + wchar_t local_258; + undefined1 local_256 [526]; + ulonglong local_48; + + local_5f8 = 0xfffffffffffffffe; + local_48 = DAT_14016f5a0 ^ (ulonglong)auStackY_678; + local_600 = param_5; + if (*(char *)(DAT_14017cf28 + 0x180) == '\0') { + printf("Not Active Server.!!! \n"); + uVar5 = FUN_140011dd0(param_1 + -8,0,10,0xffffffff); + return uVar5 & 0xffffffffffffff00; + } + pwVar17 = (wchar_t *)0x0; + puVar13 = param_4; + if (*(longlong *)(DAT_14017cf38 + 0x58) != 0) { + for (puVar21 = *(undefined8 **) + (*(longlong *)(DAT_14017cf38 + 0x38) + + ((ulonglong)(longlong)(int)param_2 % *(ulonglong *)(DAT_14017cf38 + 0x40)) * 8); + puVar21 != (undefined8 *)0x0; puVar21 = (undefined8 *)*puVar21) { + if (param_2 == *(uint *)(puVar21 + 1)) { + if ((puVar21 != (undefined8 *)0x0) && (lVar1 = puVar21[2], lVar1 != 0)) { + psVar14 = (short *)(lVar1 + 8); + if (7 < *(ulonglong *)(lVar1 + 0x20)) { + psVar14 = *(short **)psVar14; + } + puVar13 = (uint *)(ulonglong)*param_5; + FUN_1400124c0(param_1 + -8,psVar14,(ulonglong)*param_4,puVar13); + } + break; + } + } + } + local_538 = 0; + local_530 = 0; + local_52c = 0; + local_528 = 0; + local_520 = 0; + local_518 = 0; + local_4f8 = 7; + local_500 = 0; + local_510 = 0; + local_4d0 = 7; + local_4d8 = 0; + local_4e8 = 0; + local_4a8 = 7; + local_4b0 = 0; + local_4c0 = 0; + uVar3 = *param_5; + if (*(longlong *)(DAT_14017cf20 + 0x58) != 0) { + for (puVar21 = *(undefined8 **) + (*(longlong *)(DAT_14017cf20 + 0x38) + + ((ulonglong)(longlong)(int)uVar3 % *(ulonglong *)(DAT_14017cf20 + 0x40)) * 8); + puVar21 != (undefined8 *)0x0; puVar21 = (undefined8 *)*puVar21) { + if (uVar3 == *(uint *)(puVar21 + 1)) { + if (((puVar21 != (undefined8 *)0x0) && (puVar21[2] != 0)) && + (*(longlong *)(param_1 + 0x68) != 0)) { + puVar13 = (uint *)0x0; + FUN_14000ae50(*(longlong *)(param_1 + 0x68),0,0,0,(longlong)&local_4c0,*param_4,uVar3); + } + break; + } + } + } + puVar6 = (undefined *)(longlong)(int)*param_4; + switch(*param_4) { + case 4: + FUN_140034220(DAT_14017cf28); + pwVar15 = (wchar_t *)(DAT_14017cf28 + 0x30); + if (7 < *(ulonglong *)(DAT_14017cf28 + 0x48)) { + pwVar15 = *(wchar_t **)pwVar15; + } + puVar6 = (undefined *)FUN_14003a250(DAT_14017cf20,pwVar15); + if ((char)puVar6 == '\0') { + local_258 = L'\0'; + memset(local_256,0,0x206); + local_468 = L'\0'; + memset(local_466,0,0x206); + for (pcVar7 = *(char **)(DAT_14017cf50 + 8); pcVar7 != *(char **)(DAT_14017cf50 + 0x10); + pcVar7 = pcVar7 + 0x30) { + if (*pcVar7 == '\x18') { + pwVar17 = (wchar_t *)(pcVar7 + 8); + if (7 < *(ulonglong *)(pcVar7 + 0x20)) { + pwVar17 = *(wchar_t **)pwVar17; + } + break; + } + } + uVar16 = 0x104; + wcscpy_s(&local_258,0x104,pwVar17); + plVar8 = FUN_14003e430((longlong *)&local_618,uVar16,pwVar17,puVar13); + pwVar17 = (wchar_t *)*plVar8; + if ((wchar_t *)*plVar8 == (wchar_t *)0x0) { + pwVar17 = (wchar_t *)PTR_DAT_14016f010; + } + uVar16 = 0x104; + pwVar15 = &local_468; + wcscpy_s(pwVar15,0x104,pwVar17); + if (((local_618 != (undefined *)0x0) && (local_618 != PTR_DAT_14016f010)) && + (local_618 + -8 != (undefined *)0x0)) { + piVar9 = (int *)FUN_14003e7c0(pwVar15,uVar16,pwVar17,puVar13); + local_610 = piVar9; + FUN_14003d040(piVar9); + local_608 = 1; + piVar11 = (int *)(local_618 + -4); + *piVar11 = *piVar11 + -1; + if (*piVar11 == 0) { + FUN_14003e8b0(local_618 + -8); + } + FUN_14003d0d0((longlong)piVar9); + } + uVar5 = 0; + local_618 = PTR_DAT_14016f010; + memset(&local_5d8,0,0x68); + local_5d8.cb = 0x68; + local_5d8.dwFlags = 0x13; + local_5d8.dwXSize = 700; + local_5d8.dwYSize = 0x6e; + local_5d8.dwFillAttribute = 0x17; + local_5d8.wShowWindow = 5; + puVar13 = (uint *)0x0; + BVar2 = CreateProcessW((LPCWSTR)0x0,&local_258,(LPSECURITY_ATTRIBUTES)0x0, + (LPSECURITY_ATTRIBUTES)0x0,0,0x10,(LPVOID)0x0,&local_468,&local_5d8, + &local_5f0); + if (BVar2 == 0) { + local_550 = (ulonglong ****)0x7; + local_558 = (ulonglong ****)0x0; + local_568[0] = (ulonglong *****)((ulonglong)local_568[0] & 0xffffffffffff0000); + puVar21 = (undefined8 *)(DAT_14017cf28 + 0x30); + if (7 < *(ulonglong *)(DAT_14017cf28 + 0x48)) { + puVar21 = (undefined8 *)*puVar21; + } + pwVar17 = L"FAILED PATCH ON %s"; + _Dst = (ulonglong ******)&local_498; + ppppppuVar10 = (ulonglong ******) + FUN_1400ed6f0((ulonglong *)_Dst,L"FAILED PATCH ON %s",puVar21,puVar13); + if (local_568 != ppppppuVar10) { + if ((ulonglong *****)0x7 < local_550) { + _Dst = (ulonglong ******)local_568[0]; + operator_delete(local_568[0]); + } + local_550 = (ulonglong ****)0x7; + local_558 = (ulonglong ****)0x0; + local_568[0] = (ulonglong *****)((ulonglong)local_568[0] & 0xffffffffffff0000); + if (ppppppuVar10[3] < (ulonglong *****)0x8) { + puVar21 = (undefined8 *)(((longlong)ppppppuVar10[2] + 1U) * 2); + _Dst = local_568; + pwVar17 = (wchar_t *)ppppppuVar10; + memmove(_Dst,ppppppuVar10,(size_t)puVar21); + } + else { + local_568[0] = *ppppppuVar10; + *ppppppuVar10 = (ulonglong *****)0x0; + } + local_558 = (ulonglong ****)ppppppuVar10[2]; + local_550 = (ulonglong ****)ppppppuVar10[3]; + ppppppuVar10[3] = (ulonglong *****)0x7; + ppppppuVar10[2] = (ulonglong *****)0x0; + *(wchar_t *)ppppppuVar10 = L'\0'; + } + if (7 < local_480) { + _Dst = (ulonglong ******)CONCAT62(uStack_496,local_498); + operator_delete(_Dst); + } + local_480 = 7; + local_488 = 0; + local_498 = 0; + ppppppuVar10 = local_568; + if ((ulonglong *****)0x7 < local_550) { + ppppppuVar10 = (ulonglong ******)local_568[0]; + } + FUN_14003e7c0(_Dst,pwVar17,puVar21,puVar13); + local_628 = (uint *)PTR_DAT_14016f010; + uVar3 = FUN_14003e620((short *)ppppppuVar10); + if ((local_628 != (uint *)0x0) && (local_628 != (uint *)PTR_DAT_14016f010)) { + uVar5 = (ulonglong)local_628[-2]; + } + uVar4 = uVar3; + if ((((int)uVar3 <= (int)uVar5) && (uVar4 = 0, local_628 != (uint *)0x0)) && + (local_628 != (uint *)PTR_DAT_14016f010)) { + uVar4 = local_628[-2]; + } + uVar19 = 1; + if (1 < (int)uVar4) { + uVar19 = uVar4; + } + uVar20 = (ulonglong)uVar19; + if (local_628 == (uint *)0x0) { + uVar4 = 0; + } + else if (local_628 == (uint *)PTR_DAT_14016f010) { + uVar4 = 0; + } + else { + uVar4 = local_628[-2]; + } + if ((int)uVar4 < (int)uVar19) { + puVar12 = local_628; + if (local_628 == (uint *)0x0) { + puVar12 = (uint *)PTR_DAT_14016f010; + } + local_628 = puVar12; + if ((int)uVar19 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar19 == 0) { + local_628 = (uint *)PTR_DAT_14016f010; + if (((puVar12 != (uint *)0x0) && (puVar12 != (uint *)PTR_DAT_14016f010)) && + (puVar12 + -2 != (uint *)0x0)) { + local_628 = puVar12; + piVar11 = (int *)FUN_14003e7c0(puVar12,PTR_DAT_14016f010,uVar5,puVar13); + local_610 = piVar11; + FUN_14003d040(piVar11); + local_608 = 1; + puVar13 = puVar12 + -1; + *puVar13 = *puVar13 - 1; + if (*puVar13 == 0) { + FUN_14003e8b0(puVar12 + -2); + } + FUN_14003d0d0((longlong)piVar11); + local_628 = (uint *)PTR_DAT_14016f010; + } + } + else { + if (puVar12 == (uint *)0x0) { + uVar4 = 0; + } + else if (puVar12 == (uint *)PTR_DAT_14016f010) { + uVar4 = 0; + } + else { + uVar4 = puVar12[-2]; + } + if (uVar19 != uVar4) { + puVar12 = (uint *)FUN_14003e840((longlong)(int)uVar19 * 2 + 10); + if (puVar12 != (uint *)0x0) { + *puVar12 = 0; + puVar12[1] = 1; + } + *puVar12 = uVar19; + if (local_628 == (uint *)0x0) { + uVar4 = 0; + } + else if (local_628 == (uint *)PTR_DAT_14016f010) { + uVar4 = 0; + } + else { + uVar4 = local_628[-2]; + } + puVar18 = (uint *)PTR_DAT_14016f010; + if ((int)uVar19 < (int)uVar4) { +LAB_1400160ca: + if (local_628 != (uint *)0x0) { + puVar18 = local_628; + } + } + else { + if (local_628 != (uint *)0x0) { + if (local_628 == (uint *)PTR_DAT_14016f010) { + uVar20 = 0; + } + else { + uVar20 = (ulonglong)local_628[-2]; + } + goto LAB_1400160ca; + } + uVar20 = 0; + } + FUN_14003e650(puVar12 + 2,puVar18,(int)uVar20); + FUN_140002190((longlong *)&local_628,puVar18,uVar20,puVar13); + local_628 = puVar12 + 2; + } + } + } + FUN_140001df0((longlong *)&local_628); + puVar13 = local_628; + if (local_628 == (uint *)0x0) { + puVar13 = (uint *)PTR_DAT_14016f010; + } + FUN_14003e650(puVar13,ppppppuVar10,uVar3); + puVar13 = local_628; + if (local_628 == (uint *)0x0) { + puVar13 = (uint *)PTR_DAT_14016f010; + } + uVar4 = FUN_14003e620((short *)puVar13); + uVar19 = 0; + uVar3 = 0; + if (0 < (int)uVar4) { + uVar3 = uVar4; + } + uVar4 = uVar19; + if ((local_628 != (uint *)0x0) && (local_628 != (uint *)PTR_DAT_14016f010)) { + uVar4 = local_628[-2]; + } + if (((int)uVar3 < (int)uVar4) || (uVar3 = uVar19, local_628 == (uint *)0x0)) { +LAB_140016161: + if (((local_628 != (uint *)PTR_DAT_14016f010) && (local_628 != (uint *)0x0)) && + (local_628 + -2 != (uint *)0x0)) { + local_628[-2] = uVar3; + *(undefined2 *)((longlong)local_628 + (longlong)(int)uVar3 * 2) = 0; + } + } + else if (local_628 != (uint *)PTR_DAT_14016f010) { + uVar3 = local_628[-2]; + goto LAB_140016161; + } + local_620[0] = 2; + plVar8 = (longlong *)(param_1 + 0x40); + puVar13 = local_620; + puVar6 = &DAT_14016f5d0; + uVar5 = (ulonglong)param_2; + (**(code **)(*plVar8 + 0xd0))(); + puVar12 = local_628; + if (((local_628 != (uint *)0x0) && (local_628 != (uint *)PTR_DAT_14016f010)) && + (puVar18 = local_628 + -2, puVar18 != (uint *)0x0)) { + piVar11 = (int *)FUN_14003e7c0(plVar8,uVar5,puVar6,puVar13); + local_610 = piVar11; + FUN_14003d040(piVar11); + local_608 = 1; + puVar12 = puVar12 + -1; + *puVar12 = *puVar12 - 1; + if (*puVar12 == 0) { + FUN_14003e8b0(puVar18); + } + FUN_14003d0d0((longlong)piVar11); + } + local_628 = (uint *)PTR_DAT_14016f010; + puVar6 = PTR_DAT_14016f010; + param_5 = local_600; + if ((ulonglong *****)0x7 < local_550) { + operator_delete(local_568[0]); + puVar6 = extraout_RAX; + param_5 = local_600; + } + } + else { + BVar2 = CloseHandle(local_5f0.hThread); + puVar6 = (undefined *)CONCAT44(extraout_var,BVar2); + } + } + case 0: + case 1: + case 2: + case 3: + case 5: + case 6: + case 7: + case 0xd: + if (*(longlong *)(param_1 + 0x70) != 0) { + puVar6 = (undefined *) + FUN_14000cb70(*(longlong *)(param_1 + 0x70),*param_4,(ulonglong)*param_5, + (longlong)puVar13); + } + break; + case 0xc: + puVar6 = *(undefined **)(param_1 + 0x70); + puVar6[0x9c] = 1; + } + if (7 < local_4a8) { + operator_delete((void *)CONCAT62(uStack_4be,local_4c0)); + puVar6 = extraout_RAX_00; + } + local_4a8 = 7; + local_4b0 = 0; + local_4c0 = 0; + if (7 < local_4d0) { + operator_delete((void *)CONCAT62(uStack_4e6,local_4e8)); + puVar6 = extraout_RAX_01; + } + local_4d0 = 7; + local_4d8 = 0; + local_4e8 = 0; + if (7 < local_4f8) { + operator_delete((void *)CONCAT62(uStack_50e,local_510)); + puVar6 = extraout_RAX_02; + } + return CONCAT71((int7)((ulonglong)puVar6 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/0x1400169c0.pseudo.c b/decomp/AgentManager_Release_x64/0x1400169c0.pseudo.c new file mode 100644 index 00000000..deabf9e1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/0x1400169c0.pseudo.c @@ -0,0 +1,169 @@ + +undefined8 FUN_1400169c0(longlong param_1,undefined8 param_2,undefined8 param_3,uint *param_4) + +{ + uint uVar1; + uint uVar2; + uint uVar3; + ulonglong uVar4; + int *piVar5; + uint *puVar6; + uint *puVar7; + longlong *plVar8; + uint *puVar9; + uint uVar10; + undefined *puVar11; + uint **ppuVar12; + uint uVar13; + uint *local_38; + undefined8 local_30; + int *local_28; + undefined1 local_20; + + local_30 = 0xfffffffffffffffe; + if (*(char *)(DAT_14017cf28 + 0x180) == '\0') { + printf("Not Active Server.!!! \n"); + uVar4 = FUN_140011dd0(param_1 + -8,0,10,0xffffffff); + return uVar4 & 0xffffffffffffff00; + } + puVar7 = param_4; + FUN_14003e7c0(param_1,param_2,param_3,param_4); + local_38 = (uint *)PTR_DAT_14016f010; + uVar1 = FUN_14003e620(L"serveron"); + uVar13 = 0; + uVar3 = 0; + uVar4 = 0; + if ((local_38 != (uint *)0x0) && (uVar4 = 0, local_38 != (uint *)PTR_DAT_14016f010)) { + uVar4 = (ulonglong)local_38[-2]; + } + uVar2 = uVar1; + if ((((int)uVar1 <= (int)uVar4) && (uVar2 = uVar3, local_38 != (uint *)0x0)) && + (local_38 != (uint *)PTR_DAT_14016f010)) { + uVar2 = local_38[-2]; + } + uVar10 = 1; + if (1 < (int)uVar2) { + uVar10 = uVar2; + } + uVar2 = uVar3; + if ((local_38 != (uint *)0x0) && (local_38 != (uint *)PTR_DAT_14016f010)) { + uVar2 = local_38[-2]; + } + if ((int)uVar2 < (int)uVar10) { + puVar6 = local_38; + if (local_38 == (uint *)0x0) { + puVar6 = (uint *)PTR_DAT_14016f010; + } + local_38 = puVar6; + if ((int)uVar10 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar10 == 0) { + local_38 = (uint *)PTR_DAT_14016f010; + if (((puVar6 != (uint *)0x0) && (puVar6 != (uint *)PTR_DAT_14016f010)) && + (puVar6 + -2 != (uint *)0x0)) { + local_38 = puVar6; + piVar5 = (int *)FUN_14003e7c0(puVar6,PTR_DAT_14016f010,uVar4,puVar7); + local_28 = piVar5; + FUN_14003d040(piVar5); + local_20 = 1; + puVar7 = puVar6 + -1; + *puVar7 = *puVar7 - 1; + if (*puVar7 == 0) { + FUN_14003e8b0(puVar6 + -2); + } + FUN_14003d0d0((longlong)piVar5); + local_38 = (uint *)PTR_DAT_14016f010; + } + } + else { + uVar2 = uVar3; + if ((puVar6 != (uint *)0x0) && (puVar6 != (uint *)PTR_DAT_14016f010)) { + uVar2 = puVar6[-2]; + } + if (uVar10 != uVar2) { + puVar6 = (uint *)FUN_14003e840((longlong)(int)uVar10 * 2 + 10); + if (puVar6 != (uint *)0x0) { + *puVar6 = 0; + puVar6[1] = 1; + } + *puVar6 = uVar10; + uVar2 = uVar3; + if ((local_38 != (uint *)0x0) && (local_38 != (uint *)PTR_DAT_14016f010)) { + uVar2 = local_38[-2]; + } + puVar9 = (uint *)PTR_DAT_14016f010; + if ((int)uVar10 < (int)uVar2) { +LAB_140016b65: + if (local_38 != (uint *)0x0) { + puVar9 = local_38; + } + } + else { + uVar10 = uVar3; + if (local_38 != (uint *)0x0) { + if (local_38 != (uint *)PTR_DAT_14016f010) { + uVar10 = local_38[-2]; + } + goto LAB_140016b65; + } + } + uVar4 = (ulonglong)uVar10; + FUN_14003e650(puVar6 + 2,puVar9,uVar10); + FUN_140002190((longlong *)&local_38,puVar9,uVar4,puVar7); + local_38 = puVar6 + 2; + } + } + } + FUN_140001df0((longlong *)&local_38); + puVar7 = local_38; + if (local_38 == (uint *)0x0) { + puVar7 = (uint *)PTR_DAT_14016f010; + } + FUN_14003e650(puVar7,L"serveron",uVar1); + puVar7 = local_38; + if (local_38 == (uint *)0x0) { + puVar7 = (uint *)PTR_DAT_14016f010; + } + uVar3 = FUN_14003e620((short *)puVar7); + uVar1 = uVar13; + if (0 < (int)uVar3) { + uVar1 = uVar3; + } + uVar3 = uVar13; + if ((local_38 != (uint *)0x0) && (local_38 != (uint *)PTR_DAT_14016f010)) { + uVar3 = local_38[-2]; + } + if (((int)uVar3 <= (int)uVar1) && (uVar1 = uVar13, local_38 != (uint *)0x0)) { + if (local_38 == (uint *)PTR_DAT_14016f010) goto LAB_140016c1f; + uVar1 = local_38[-2]; + } + if (((local_38 != (uint *)PTR_DAT_14016f010) && (local_38 != (uint *)0x0)) && + (local_38 + -2 != (uint *)0x0)) { + local_38[-2] = uVar1; + *(undefined2 *)((longlong)local_38 + (longlong)(int)uVar1 * 2) = 0; + } +LAB_140016c1f: + plVar8 = (longlong *)(*(longlong *)(param_1 + 0x70) + 0x48); + ppuVar12 = &local_38; + puVar11 = &DAT_14016f5d0; + uVar4 = (ulonglong)*param_4; + (**(code **)(*plVar8 + 0xd0))(); + puVar7 = local_38; + if (((local_38 != (uint *)0x0) && (local_38 != (uint *)PTR_DAT_14016f010)) && + (puVar6 = local_38 + -2, puVar6 != (uint *)0x0)) { + piVar5 = (int *)FUN_14003e7c0(plVar8,uVar4,puVar11,ppuVar12); + local_28 = piVar5; + FUN_14003d040(piVar5); + local_20 = 1; + puVar7 = puVar7 + -1; + *puVar7 = *puVar7 - 1; + if (*puVar7 == 0) { + FUN_14003e8b0(puVar6); + } + local_38 = (uint *)FUN_14003d0d0((longlong)piVar5); + } + return CONCAT71((int7)((ulonglong)local_38 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/0x14001d850.pseudo.c b/decomp/AgentManager_Release_x64/0x14001d850.pseudo.c new file mode 100644 index 00000000..1f42cc2b --- /dev/null +++ b/decomp/AgentManager_Release_x64/0x14001d850.pseudo.c @@ -0,0 +1,26 @@ + +undefined4 FUN_14001d850(undefined8 *param_1) + +{ + DWORD DVar1; + uint extraout_EAX; + HANDLE pvVar2; + wchar_t *_Format; + + pvVar2 = CreateMutexW((LPSECURITY_ATTRIBUTES)0x0,1,L"Global\\RustyHearts_AgentManager"); + *param_1 = pvVar2; + DVar1 = GetLastError(); + if (DVar1 == 5) { + _Format = L"ERROR_ACCESS_DENIED!!! %s \n"; + } + else { + if (DVar1 != 0xb7) { + return CONCAT31((int3)(DVar1 >> 8),1); + } + _Format = L"ERROR_ALREADY_EXISTS!!! %s \n"; + } + wprintf(_Format); + Sleep(3000); + return extraout_EAX & 0xffffff00; +} + diff --git a/decomp/AgentManager_Release_x64/0x140026520.pseudo.c b/decomp/AgentManager_Release_x64/0x140026520.pseudo.c new file mode 100644 index 00000000..75e1f915 --- /dev/null +++ b/decomp/AgentManager_Release_x64/0x140026520.pseudo.c @@ -0,0 +1,1584 @@ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* WARNING: Type propagation algorithm not settling */ + +ulonglong FUN_140026520(longlong *param_1,uint *param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong ******pppppplVar1; + int *piVar2; + uint uVar3; + uint uVar4; + char cVar5; + DWORD DVar6; + DWORD DVar7; + undefined8 uVar8; + longlong ******extraout_RAX; + undefined **ppuVar9; + longlong *******ppppppplVar10; + longlong *******ppppppplVar11; + undefined *puVar12; + longlong *******ppppppplVar13; + longlong ******pppppplVar14; + longlong *plVar15; + longlong *plVar16; + ulonglong uVar17; + longlong *******ppppppplVar18; + uint *puVar19; + uint *puVar20; + undefined1 *puVar21; + IMAGE_DOS_HEADER *pIVar22; + int iVar23; + longlong lVar24; + wchar_t *pwVar25; + undefined8 uVar26; + undefined8 *puVar27; + undefined1 auStack_2b8 [32]; + longlong *******local_298; + longlong *******local_290; + longlong *******local_288; + undefined8 *local_280; + longlong *******local_278; + uint local_270; + undefined1 local_26c [4]; + longlong *******local_268; + uint local_260; + undefined1 local_25c [4]; + void *local_258; + wchar_t *local_250; + undefined8 local_248; + undefined8 local_240; + int local_238; + longlong *******local_230; + longlong *******local_228; + undefined8 local_220; + undefined8 local_218; + uint local_210; + undefined2 local_20c; + longlong *******local_208; + longlong *******local_200; + longlong *******local_1f8; + longlong *******local_1f0; + longlong *******local_1e8 [2]; + undefined1 local_1d8 [4]; + uint local_1d4; + undefined8 local_1a0; + undefined *local_178; + uint local_170; + undefined *local_168; + undefined *local_160; + undefined *local_158; + undefined *local_150; + undefined *local_148; + undefined *local_140; + undefined *local_138; + undefined *local_130; + undefined *local_128; + undefined *local_120; + uint local_118; + uint local_114; + undefined *local_110; + undefined *local_108; + undefined *local_100; + undefined *local_f8; + undefined *local_f0; + longlong local_e8; + longlong local_e0; + longlong local_d8; + longlong local_d0; + longlong local_c8; + longlong local_c0; + longlong local_b8; + longlong local_b0 [3]; + longlong local_98; + longlong local_90; + longlong local_88; + UUID local_80; + uint local_70; + undefined8 local_68; + int local_60; + UUID local_58; + ulonglong local_48; + + local_b0[1] = 0xfffffffffffffffe; + local_48 = DAT_14016f5a0 ^ (ulonglong)auStack_2b8; + uVar3 = param_2[10]; + uVar26 = param_3; + if (uVar3 == 0) { + FUN_140079c10(); + } + uVar4 = *param_2; + uVar8 = FUN_140075890(param_2,&local_118,uVar26,param_4); + if ((char)uVar8 == '\0') { +switchD_1400265c4_default: + uVar17 = FUN_140074bb0((int *)param_2, + (ulonglong)(uint)((int)(((int)uVar4 >> 0x1f & 7U) + uVar4) >> 3),uVar26, + param_4); + uVar17 = uVar17 & 0xffffffffffffff00; + } + else { + pIVar22 = &IMAGE_DOS_HEADER_140000000; + local_1a0 = param_3; + switch(local_118) { + case 0x8599: + FUN_140049b40(local_1d8); + local_1d4 = param_2[10]; + local_1d8[0] = (undefined1)param_2[0x10]; + uVar8 = 4; + uVar26 = FUN_140074ee0(param_2,(undefined8 *)&local_270,4); + if ((char)uVar26 != '\0') { + local_260 = local_270; + } + DVar6 = 0; + local_228 = (longlong *******)0x0; + local_220 = (ulonglong)local_220._4_4_ << 0x20; + local_218 = 0; + FUN_14002f300(param_2,(undefined4 *)&local_228,uVar8,param_4); + plVar16 = (longlong *)param_1[2]; + pwVar25 = L"PT_SERVER_REGISTER"; + (**(code **)(*plVar16 + 0x48))(); + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + local_298 = (longlong *******)&DAT_140131724; + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar3,0x8599,L"PT_SERVER_REGISTER"); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar16,param_2,pwVar25,param_4); + local_278 = (longlong *******)PTR_DAT_14016f010; + FUN_1400926b0((longlong *)&local_278); + puVar12 = &DAT_140133350; + ppppppplVar10 = (longlong *******)&local_278; + FUN_140029bf0((longlong *)ppppppplVar10,(short *)&DAT_140133350); + FUN_14003e7c0(ppppppplVar10,puVar12,pwVar25,param_4); + local_268 = (longlong *******)PTR_DAT_14016f010; + uVar17 = local_220 & 0xffffffff; + FUN_140029b80((longlong *)&local_268,L"{ %d }",uVar17,param_4); + ppppppplVar10 = (longlong *******)&local_268; + ppppppplVar18 = (longlong *******)&local_278; + FUN_140029980((longlong *)ppppppplVar18,(longlong *)ppppppplVar10); + ppppppplVar13 = local_268; + if (((local_268 != (longlong *******)0x0) && + (local_268 != (longlong *******)PTR_DAT_14016f010)) && + (pppppplVar1 = (longlong ******)(local_268 + -1), pppppplVar1 != (longlong ******)0x0)) { + ppppppplVar10 = + (longlong *******)FUN_14003e7c0(ppppppplVar18,ppppppplVar10,uVar17,param_4); + local_80._0_8_ = ppppppplVar10; + FUN_14003d040((int *)ppppppplVar10); + local_80.Data4[0] = '\x01'; + piVar2 = (int *)((longlong)ppppppplVar13 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(pppppplVar1); + } + FUN_14003d0d0((longlong)ppppppplVar10); + } + FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350); + DVar7 = DVar6; + if ((local_278 != (longlong *******)0x0) && + (local_278 != (longlong *******)PTR_DAT_14016f010)) { + DVar7 = *(DWORD *)(local_278 + -1); + } + uVar17 = (ulonglong)(DVar7 - 2); + local_268 = (longlong *******) + FUN_140028f40((longlong *)&local_278,(longlong *)&local_110,DVar7 - 2); + ppppppplVar10 = local_278; + if (local_278 == (longlong *******)0x0) { + ppppppplVar10 = (longlong *******)PTR_DAT_14016f010; + } + local_278 = ppppppplVar10; + if ((longlong *******)*local_268 != ppppppplVar10) { + ppppppplVar10 = + (longlong *******)FUN_14003e7c0(ppppppplVar10,PTR_DAT_14016f010,uVar17,param_4); + local_80._0_8_ = ppppppplVar10; + FUN_14003d040((int *)ppppppplVar10); + ppppppplVar18 = local_278; + local_80.Data4[0] = '\x01'; + if (((local_278 != (longlong *******)0x0) && + (local_278 != (longlong *******)PTR_DAT_14016f010)) && + (ppppppplVar13 = local_278 + -1, ppppppplVar13 != (longlong *******)0x0)) { + ppuVar9 = (undefined **)FUN_14003e7c0(local_278,PTR_DAT_14016f010,uVar17,param_4); + local_58._0_8_ = ppuVar9; + FUN_14003d040((int *)ppuVar9); + local_58.Data4[0] = '\x01'; + piVar2 = (int *)((longlong)ppppppplVar18 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(ppppppplVar13); + } + FUN_14003d0d0((longlong)ppuVar9); + } + local_278 = (longlong *******)*local_268; + if (((local_278 != (longlong *******)PTR_DAT_14016f010) && + (local_278 != (longlong *******)0x0)) && (local_278 != (longlong *******)0x8)) { + *(int *)((longlong)local_278 + -4) = *(int *)((longlong)local_278 + -4) + 1; + } + FUN_14003d0d0((longlong)ppppppplVar10); + } + if (((local_110 != (undefined *)0x0) && (local_110 != PTR_DAT_14016f010)) && + (local_110 + -8 != (undefined *)0x0)) { + ppppppplVar10 = + (longlong *******)FUN_14003e7c0(ppppppplVar10,PTR_DAT_14016f010,uVar17,param_4); + local_80._0_8_ = ppppppplVar10; + FUN_14003d040((int *)ppppppplVar10); + local_80.Data4[0] = '\x01'; + piVar2 = (int *)(local_110 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(local_110 + -8); + } + FUN_14003d0d0((longlong)ppppppplVar10); + } + local_268 = (longlong *******)&local_1f0; + puVar12 = PTR_DAT_14016f010; + local_110 = PTR_DAT_14016f010; + FUN_14003e7c0(ppppppplVar10,PTR_DAT_14016f010,uVar17,param_4); + local_1f0 = (longlong *******)PTR_DAT_14016f010; + if (PTR_DAT_14016f010 == (undefined *)0x0) { + local_1f0 = (longlong *******)0x0; + } + if (local_278 != (longlong *******)PTR_DAT_14016f010) { + ppppppplVar10 = (longlong *******)FUN_14003e7c0(ppppppplVar10,puVar12,uVar17,param_4); + local_80._0_8_ = ppppppplVar10; + FUN_14003d040((int *)ppppppplVar10); + local_80.Data4[0] = '\x01'; + FUN_140002190((longlong *)&local_1f0,puVar12,uVar17,param_4); + local_1f0 = local_278; + if (((local_278 != (longlong *******)PTR_DAT_14016f010) && + (local_278 != (longlong *******)0x0)) && (local_278 != (longlong *******)0x8)) { + *(int *)((longlong)local_278 + -4) = *(int *)((longlong)local_278 + -4) + 1; + } + FUN_14003d0d0((longlong)ppppppplVar10); + } + FUN_14003e7c0(ppppppplVar10,puVar12,uVar17,param_4); + local_150 = PTR_DAT_14016f010; + iVar23 = FUN_14003e620(L"PT_SERVER_REGISTER"); + puVar12 = FUN_140001ee0((longlong *)&local_150,iVar23); + FUN_14003e650(puVar12,L"PT_SERVER_REGISTER",iVar23); + FUN_140001fc0((longlong *)&local_150); + (**(code **)(*param_1 + 0x28))(param_1,0x8599,&local_150,&local_1f0); + local_298 = local_278; + if (local_278 == (longlong *******)0x0) { + local_298 = (longlong *******)PTR_DAT_14016f010; + } + plVar16 = (longlong *)param_1[2]; + pwVar25 = L"PT_SERVER_REGISTER"; + uVar26 = 0x8599; + uVar17 = (ulonglong)uVar3; + (**(code **)(*plVar16 + 0x70))(); + ppppppplVar10 = local_278; + if (((local_278 != (longlong *******)0x0) && + (local_278 != (longlong *******)PTR_DAT_14016f010)) && + (ppppppplVar18 = local_278 + -1, ppppppplVar18 != (longlong *******)0x0)) { + ppppppplVar13 = (longlong *******)FUN_14003e7c0(plVar16,uVar17,uVar26,pwVar25); + local_80._0_8_ = ppppppplVar13; + FUN_14003d040((int *)ppppppplVar13); + local_80.Data4[0] = '\x01'; + piVar2 = (int *)((longlong)ppppppplVar10 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(ppppppplVar18); + } + FUN_14003d0d0((longlong)ppppppplVar13); + } + } + if (((char)param_1[3] == '\0') && (DVar6 = 0, *(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_258 = (void *)CONCAT44(local_258._4_4_,0x8599); + local_250 = L"PT_SERVER_REGISTER"; + local_248 = CONCAT44(local_248._4_4_,uVar3); + local_240 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_258); + DVar6 = GetTickCount(); + } + local_298 = (longlong *******)&local_228; + local_230 = (longlong *******) + (**(code **)(*param_1 + 0x38))(param_1,uVar3,local_1d8,&local_260); + if ((char)local_230 == '\0') { + local_230 = (longlong *******) + (**(code **)(*(longlong *)param_1[2] + 0x40)) + ((longlong *)param_1[2],L"PT_SERVER_REGISTER"); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_258 = (void *)CONCAT44(local_258._4_4_,0x8599); + local_250 = L"PT_SERVER_REGISTER"; +LAB_140028e0f: + local_248 = CONCAT44(local_248._4_4_,uVar3); + local_240 = param_3; + DVar7 = GetTickCount(); + local_238 = DVar7 - DVar6; + local_230 = (longlong *******)(**(code **)(*param_1 + 0x18))(param_1,&local_258); + } + break; + case 0x859a: + FUN_140049b40(local_1d8); + local_1d4 = param_2[10]; + local_1d8[0] = (undefined1)param_2[0x10]; + uVar26 = 4; + FUN_140074ee0(param_2,(undefined8 *)&local_270,4); + iVar23 = 0; + DVar6 = 0; + local_228 = (longlong *******)0x0; + local_220 = 0; + local_218 = 0; + local_210 = 0; + local_20c = 0; + FUN_14002f390(param_2,(undefined4 *)&local_228); + local_258 = (void *)0x0; + local_250 = (wchar_t *)0x0; + local_248 = 0; + FUN_140028fc0(param_2,(ulonglong *)&local_258,uVar26,param_4); + plVar16 = (longlong *)param_1[2]; + pwVar25 = L"PT_SERVER_INFORMATION"; + (**(code **)(*plVar16 + 0x48))(); + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + local_298 = (longlong *******)&DAT_140131724; + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar3,0x859a,L"PT_SERVER_INFORMATION"); + goto LAB_140026f74; + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar16,param_2,pwVar25,param_4); + local_278 = (longlong *******)PTR_DAT_14016f010; + FUN_1400926b0((longlong *)&local_278); + puVar12 = &DAT_140133350; + ppppppplVar10 = (longlong *******)&local_278; + FUN_140029bf0((longlong *)ppppppplVar10,(short *)&DAT_140133350); + FUN_14003e7c0(ppppppplVar10,puVar12,pwVar25,param_4); + local_268 = (longlong *******)PTR_DAT_14016f010; + uVar17 = (ulonglong)local_210; + FUN_140029b80((longlong *)&local_268,L"{ %d }",uVar17,param_4); + ppppppplVar10 = (longlong *******)&local_268; + ppppppplVar18 = (longlong *******)&local_278; + FUN_140029980((longlong *)ppppppplVar18,(longlong *)ppppppplVar10); + ppppppplVar13 = local_268; + if (((local_268 != (longlong *******)0x0) && + (local_268 != (longlong *******)PTR_DAT_14016f010)) && + (pppppplVar1 = (longlong ******)(local_268 + -1), pppppplVar1 != (longlong ******)0x0)) { + ppppppplVar10 = + (longlong *******)FUN_14003e7c0(ppppppplVar18,ppppppplVar10,uVar17,param_4); + local_80._0_8_ = ppppppplVar10; + FUN_14003d040((int *)ppppppplVar10); + local_80.Data4[0] = '\x01'; + piVar2 = (int *)((longlong)ppppppplVar13 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(pppppplVar1); + } + FUN_14003d0d0((longlong)ppppppplVar10); + } + puVar12 = &DAT_140133350; + ppppppplVar10 = (longlong *******)&local_278; + FUN_140029bf0((longlong *)ppppppplVar10,(short *)&DAT_140133350); + FUN_14003e7c0(ppppppplVar10,puVar12,uVar17,param_4); + local_268 = (longlong *******)PTR_DAT_14016f010; + lVar24 = (longlong)local_250 - (longlong)local_258 >> 2; + FUN_140029b80((longlong *)&local_268,L"",lVar24,param_4); + ppppppplVar10 = (longlong *******)&local_268; + ppppppplVar18 = (longlong *******)&local_278; + FUN_140029980((longlong *)ppppppplVar18,(longlong *)ppppppplVar10); + ppppppplVar13 = local_268; + if (((local_268 != (longlong *******)0x0) && + (local_268 != (longlong *******)PTR_DAT_14016f010)) && + (pppppplVar1 = (longlong ******)(local_268 + -1), pppppplVar1 != (longlong ******)0x0)) { + ppppppplVar10 = + (longlong *******)FUN_14003e7c0(ppppppplVar18,ppppppplVar10,lVar24,param_4); + local_80._0_8_ = ppppppplVar10; + FUN_14003d040((int *)ppppppplVar10); + local_80.Data4[0] = '\x01'; + piVar2 = (int *)((longlong)ppppppplVar13 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(pppppplVar1); + } + FUN_14003d0d0((longlong)ppppppplVar10); + } + FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350); + if ((local_278 != (longlong *******)0x0) && + (local_278 != (longlong *******)PTR_DAT_14016f010)) { + iVar23 = *(int *)(local_278 + -1); + } + uVar17 = (ulonglong)(iVar23 - 2U); + local_268 = (longlong *******) + FUN_140028f40((longlong *)&local_278,(longlong *)&local_108,iVar23 - 2U); + ppppppplVar10 = local_278; + if (local_278 == (longlong *******)0x0) { + ppppppplVar10 = (longlong *******)PTR_DAT_14016f010; + } + local_278 = ppppppplVar10; + if ((longlong *******)*local_268 != ppppppplVar10) { + ppppppplVar10 = + (longlong *******)FUN_14003e7c0(ppppppplVar10,PTR_DAT_14016f010,uVar17,param_4); + local_80._0_8_ = ppppppplVar10; + FUN_14003d040((int *)ppppppplVar10); + ppppppplVar18 = local_278; + local_80.Data4[0] = '\x01'; + if (((local_278 != (longlong *******)0x0) && + (local_278 != (longlong *******)PTR_DAT_14016f010)) && + (ppppppplVar13 = local_278 + -1, ppppppplVar13 != (longlong *******)0x0)) { + ppuVar9 = (undefined **)FUN_14003e7c0(local_278,PTR_DAT_14016f010,uVar17,param_4); + local_58._0_8_ = ppuVar9; + FUN_14003d040((int *)ppuVar9); + local_58.Data4[0] = '\x01'; + piVar2 = (int *)((longlong)ppppppplVar18 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(ppppppplVar13); + } + FUN_14003d0d0((longlong)ppuVar9); + } + local_278 = (longlong *******)*local_268; + if (((local_278 != (longlong *******)PTR_DAT_14016f010) && + (local_278 != (longlong *******)0x0)) && (local_278 != (longlong *******)0x8)) { + *(int *)((longlong)local_278 + -4) = *(int *)((longlong)local_278 + -4) + 1; + } + FUN_14003d0d0((longlong)ppppppplVar10); + } + if (((local_108 != (undefined *)0x0) && (local_108 != PTR_DAT_14016f010)) && + (local_108 + -8 != (undefined *)0x0)) { + ppppppplVar10 = + (longlong *******)FUN_14003e7c0(ppppppplVar10,PTR_DAT_14016f010,uVar17,param_4); + local_80._0_8_ = ppppppplVar10; + FUN_14003d040((int *)ppppppplVar10); + local_80.Data4[0] = '\x01'; + piVar2 = (int *)(local_108 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(local_108 + -8); + } + FUN_14003d0d0((longlong)ppppppplVar10); + } + local_268 = (longlong *******)&local_200; + puVar12 = PTR_DAT_14016f010; + local_108 = PTR_DAT_14016f010; + FUN_14003e7c0(ppppppplVar10,PTR_DAT_14016f010,uVar17,param_4); + local_200 = (longlong *******)PTR_DAT_14016f010; + if (PTR_DAT_14016f010 == (undefined *)0x0) { + local_200 = (longlong *******)0x0; + } + if (local_278 != (longlong *******)PTR_DAT_14016f010) { + ppppppplVar10 = (longlong *******)FUN_14003e7c0(ppppppplVar10,puVar12,uVar17,param_4); + local_80._0_8_ = ppppppplVar10; + FUN_14003d040((int *)ppppppplVar10); + local_80.Data4[0] = '\x01'; + FUN_140002190((longlong *)&local_200,puVar12,uVar17,param_4); + local_200 = local_278; + if (((local_278 != (longlong *******)PTR_DAT_14016f010) && + (local_278 != (longlong *******)0x0)) && (local_278 != (longlong *******)0x8)) { + *(int *)((longlong)local_278 + -4) = *(int *)((longlong)local_278 + -4) + 1; + } + FUN_14003d0d0((longlong)ppppppplVar10); + } + FUN_14003e7c0(ppppppplVar10,puVar12,uVar17,param_4); + local_120 = PTR_DAT_14016f010; + iVar23 = FUN_14003e620(L"PT_SERVER_INFORMATION"); + puVar12 = FUN_140001ee0((longlong *)&local_120,iVar23); + FUN_14003e650(puVar12,L"PT_SERVER_INFORMATION",iVar23); + FUN_140001fc0((longlong *)&local_120); + (**(code **)(*param_1 + 0x28))(param_1,0x859a,&local_120,&local_200); + local_298 = local_278; + if (local_278 == (longlong *******)0x0) { + local_298 = (longlong *******)PTR_DAT_14016f010; + } + plVar16 = (longlong *)param_1[2]; + pwVar25 = L"PT_SERVER_INFORMATION"; + uVar26 = 0x859a; + uVar17 = (ulonglong)uVar3; + (**(code **)(*plVar16 + 0x70))(); + ppppppplVar10 = local_278; + if (((local_278 != (longlong *******)0x0) && + (local_278 != (longlong *******)PTR_DAT_14016f010)) && + (ppppppplVar18 = local_278 + -1, ppppppplVar18 != (longlong *******)0x0)) { + ppppppplVar13 = (longlong *******)FUN_14003e7c0(plVar16,uVar17,uVar26,pwVar25); + local_80._0_8_ = ppppppplVar13; + FUN_14003d040((int *)ppppppplVar13); + local_80.Data4[0] = '\x01'; + piVar2 = (int *)((longlong)ppppppplVar10 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(ppppppplVar18); + } + FUN_14003d0d0((longlong)ppppppplVar13); + } +LAB_140026f74: + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_80.Data1 = 0x859a; + local_80.Data4 = (uchar [8])0x1401332f8; + local_70 = uVar3; + local_68 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_80); + DVar6 = GetTickCount(); + } + } + local_290 = &local_258; + local_298 = (longlong *******)&local_228; + local_230 = (longlong *******) + (**(code **)(*param_1 + 0x40))(param_1,uVar3,local_1d8,&local_260); + if ((char)local_230 == '\0') { + local_230 = (longlong *******) + (**(code **)(*(longlong *)param_1[2] + 0x40)) + ((longlong *)param_1[2],L"PT_SERVER_INFORMATION"); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_80.Data1 = 0x859a; + local_80.Data4 = (uchar [8])0x1401332f8; + local_70 = uVar3; + local_68 = param_3; + DVar7 = GetTickCount(); + local_60 = DVar7 - DVar6; + local_230 = (longlong *******)(**(code **)(*param_1 + 0x18))(param_1,&local_80); + } + if (local_258 != (void *)0x0) { + operator_delete(local_258); + local_230 = (longlong *******)extraout_RAX; + } + break; + case 0x859b: + FUN_140049b40(local_1d8); + local_1d4 = param_2[10]; + local_1d8[0] = (undefined1)param_2[0x10]; + FUN_140074ee0(param_2,(undefined8 *)local_25c,1); + uVar26 = FUN_140074ee0(param_2,&local_278,4); + if ((char)uVar26 != '\0') { + local_270 = (uint)local_278; + } + uVar26 = FUN_140074ee0(param_2,&local_278,4); + if ((char)uVar26 != '\0') { + local_260 = (uint)local_278; + } + plVar16 = (longlong *)param_1[2]; + pwVar25 = L"PT_SERVER_COMMAND_RESULT"; + (**(code **)(*plVar16 + 0x48))(); + DVar6 = 0; + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + local_298 = (longlong *******)&DAT_140131724; + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar3,0x859b,L"PT_SERVER_COMMAND_RESULT"); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar16,param_2,pwVar25,param_4); + local_278 = (longlong *******)PTR_DAT_14016f010; + FUN_1400925d0((longlong *)&local_278,local_26c); + FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350); + FUN_1400926b0((longlong *)&local_278); + FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350); + FUN_1400926b0((longlong *)&local_278); + FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350); + DVar7 = DVar6; + if ((local_278 != (longlong *******)0x0) && + (local_278 != (longlong *******)PTR_DAT_14016f010)) { + DVar7 = *(DWORD *)(local_278 + -1); + } + uVar17 = (ulonglong)(DVar7 - 2); + local_268 = (longlong *******) + FUN_140028f40((longlong *)&local_278,(longlong *)&local_100,DVar7 - 2); + ppppppplVar10 = local_278; + if (local_278 == (longlong *******)0x0) { + ppppppplVar10 = (longlong *******)PTR_DAT_14016f010; + } + local_278 = ppppppplVar10; + if ((longlong *******)*local_268 != ppppppplVar10) { + ppppppplVar10 = + (longlong *******)FUN_14003e7c0(ppppppplVar10,PTR_DAT_14016f010,uVar17,param_4); + local_80._0_8_ = ppppppplVar10; + FUN_14003d040((int *)ppppppplVar10); + ppppppplVar18 = local_278; + local_80.Data4[0] = '\x01'; + if (((local_278 != (longlong *******)0x0) && + (local_278 != (longlong *******)PTR_DAT_14016f010)) && + (ppppppplVar13 = local_278 + -1, ppppppplVar13 != (longlong *******)0x0)) { + ppuVar9 = (undefined **)FUN_14003e7c0(local_278,PTR_DAT_14016f010,uVar17,param_4); + local_58._0_8_ = ppuVar9; + FUN_14003d040((int *)ppuVar9); + local_58.Data4[0] = '\x01'; + piVar2 = (int *)((longlong)ppppppplVar18 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(ppppppplVar13); + } + FUN_14003d0d0((longlong)ppuVar9); + } + local_278 = (longlong *******)*local_268; + if (((local_278 != (longlong *******)PTR_DAT_14016f010) && + (local_278 != (longlong *******)0x0)) && (local_278 != (longlong *******)0x8)) { + *(int *)((longlong)local_278 + -4) = *(int *)((longlong)local_278 + -4) + 1; + } + FUN_14003d0d0((longlong)ppppppplVar10); + } + if (((local_100 != (undefined *)0x0) && (local_100 != PTR_DAT_14016f010)) && + (local_100 + -8 != (undefined *)0x0)) { + ppppppplVar10 = + (longlong *******)FUN_14003e7c0(ppppppplVar10,PTR_DAT_14016f010,uVar17,param_4); + local_80._0_8_ = ppppppplVar10; + FUN_14003d040((int *)ppppppplVar10); + local_80.Data4[0] = '\x01'; + piVar2 = (int *)(local_100 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(local_100 + -8); + } + FUN_14003d0d0((longlong)ppppppplVar10); + } + local_268 = (longlong *******)&local_208; + puVar12 = PTR_DAT_14016f010; + local_100 = PTR_DAT_14016f010; + FUN_14003e7c0(ppppppplVar10,PTR_DAT_14016f010,uVar17,param_4); + local_208 = (longlong *******)PTR_DAT_14016f010; + if (PTR_DAT_14016f010 == (undefined *)0x0) { + local_208 = (longlong *******)0x0; + } + if (local_278 != (longlong *******)PTR_DAT_14016f010) { + ppppppplVar10 = (longlong *******)FUN_14003e7c0(ppppppplVar10,puVar12,uVar17,param_4); + local_80._0_8_ = ppppppplVar10; + FUN_14003d040((int *)ppppppplVar10); + local_80.Data4[0] = '\x01'; + FUN_140002190((longlong *)&local_208,puVar12,uVar17,param_4); + local_208 = local_278; + if (((local_278 != (longlong *******)PTR_DAT_14016f010) && + (local_278 != (longlong *******)0x0)) && (local_278 != (longlong *******)0x8)) { + *(int *)((longlong)local_278 + -4) = *(int *)((longlong)local_278 + -4) + 1; + } + FUN_14003d0d0((longlong)ppppppplVar10); + } + FUN_14003e7c0(ppppppplVar10,puVar12,uVar17,param_4); + local_160 = PTR_DAT_14016f010; + iVar23 = FUN_14003e620(L"PT_SERVER_COMMAND_RESULT"); + puVar12 = FUN_140001ee0((longlong *)&local_160,iVar23); + FUN_14003e650(puVar12,L"PT_SERVER_COMMAND_RESULT",iVar23); + FUN_140001fc0((longlong *)&local_160); + (**(code **)(*param_1 + 0x28))(param_1,0x859b,&local_160,&local_208); + local_298 = local_278; + if (local_278 == (longlong *******)0x0) { + local_298 = (longlong *******)PTR_DAT_14016f010; + } + plVar16 = (longlong *)param_1[2]; + pwVar25 = L"PT_SERVER_COMMAND_RESULT"; + uVar26 = 0x859b; + uVar17 = (ulonglong)uVar3; + (**(code **)(*plVar16 + 0x70))(); + ppppppplVar10 = local_278; + if (((local_278 != (longlong *******)0x0) && + (local_278 != (longlong *******)PTR_DAT_14016f010)) && + (ppppppplVar18 = local_278 + -1, ppppppplVar18 != (longlong *******)0x0)) { + ppppppplVar13 = (longlong *******)FUN_14003e7c0(plVar16,uVar17,uVar26,pwVar25); + local_80._0_8_ = ppppppplVar13; + FUN_14003d040((int *)ppppppplVar13); + local_80.Data4[0] = '\x01'; + piVar2 = (int *)((longlong)ppppppplVar10 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(ppppppplVar18); + } + FUN_14003d0d0((longlong)ppppppplVar13); + } + } + if (((char)param_1[3] == '\0') && (DVar6 = 0, *(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_258 = (void *)CONCAT44(local_258._4_4_,0x859b); + local_250 = L"PT_SERVER_COMMAND_RESULT"; + local_248 = CONCAT44(local_248._4_4_,uVar3); + local_240 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_258); + DVar6 = GetTickCount(); + } + local_290 = (longlong *******)&local_260; + local_298 = (longlong *******)&local_270; + local_230 = (longlong *******) + (**(code **)(*param_1 + 0x48))(param_1,uVar3,local_1d8,local_26c); + if ((char)local_230 == '\0') { + local_230 = (longlong *******) + (**(code **)(*(longlong *)param_1[2] + 0x40)) + ((longlong *)param_1[2],L"PT_SERVER_COMMAND_RESULT"); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_258 = (void *)CONCAT44(local_258._4_4_,0x859b); + local_250 = L"PT_SERVER_COMMAND_RESULT"; + goto LAB_140028e0f; + } + break; + case 0x859c: + FUN_140049b40(local_1d8); + local_1d4 = param_2[10]; + local_1d8[0] = (undefined1)param_2[0x10]; + uVar26 = FUN_140074ee0(param_2,&local_278,4); + if ((char)uVar26 != '\0') { + local_260 = (uint)local_278; + } + FUN_140074ee0(param_2,(undefined8 *)local_25c,1); + uVar8 = 4; + ppppppplVar10 = (longlong *******)&local_278; + uVar26 = FUN_140074ee0(param_2,ppppppplVar10,4); + if ((char)uVar26 != '\0') { + local_270 = (uint)local_278; + } + FUN_14003e7c0((ulonglong)local_270,ppppppplVar10,uVar8,param_4); + local_230 = (longlong *******)PTR_DAT_14016f010; + thunk_FUN_140076020(param_2,(longlong *)&local_230,uVar8,param_4); + plVar16 = (longlong *)param_1[2]; + pwVar25 = L"PWE_RESP_RESULT_CODE"; + (**(code **)(*plVar16 + 0x48))(); + DVar6 = 0; + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + local_298 = (longlong *******)&DAT_140131724; + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar3,0x859c,L"PWE_RESP_RESULT_CODE"); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar16,param_2,pwVar25,param_4); + local_278 = (longlong *******)PTR_DAT_14016f010; + FUN_1400926b0((longlong *)&local_278); + FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350); + FUN_1400925d0((longlong *)&local_278,local_26c); + FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350); + FUN_1400926b0((longlong *)&local_278); + FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350); + FUN_1400928b0((longlong *)&local_278,(longlong *)&local_230); + FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350); + DVar7 = DVar6; + if ((local_278 != (longlong *******)0x0) && + (local_278 != (longlong *******)PTR_DAT_14016f010)) { + DVar7 = *(DWORD *)(local_278 + -1); + } + uVar17 = (ulonglong)(DVar7 - 2); + local_268 = (longlong *******) + FUN_140028f40((longlong *)&local_278,(longlong *)&local_f0,DVar7 - 2); + ppppppplVar10 = local_278; + if (local_278 == (longlong *******)0x0) { + ppppppplVar10 = (longlong *******)PTR_DAT_14016f010; + } + local_278 = ppppppplVar10; + if ((longlong *******)*local_268 != ppppppplVar10) { + ppppppplVar10 = + (longlong *******)FUN_14003e7c0(ppppppplVar10,PTR_DAT_14016f010,uVar17,param_4); + local_80._0_8_ = ppppppplVar10; + FUN_14003d040((int *)ppppppplVar10); + ppppppplVar18 = local_278; + local_80.Data4[0] = '\x01'; + if (((local_278 != (longlong *******)0x0) && + (local_278 != (longlong *******)PTR_DAT_14016f010)) && + (ppppppplVar13 = local_278 + -1, ppppppplVar13 != (longlong *******)0x0)) { + ppuVar9 = (undefined **)FUN_14003e7c0(local_278,PTR_DAT_14016f010,uVar17,param_4); + local_58._0_8_ = ppuVar9; + FUN_14003d040((int *)ppuVar9); + local_58.Data4[0] = '\x01'; + piVar2 = (int *)((longlong)ppppppplVar18 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(ppppppplVar13); + } + FUN_14003d0d0((longlong)ppuVar9); + } + local_278 = (longlong *******)*local_268; + if (((local_278 != (longlong *******)PTR_DAT_14016f010) && + (local_278 != (longlong *******)0x0)) && (local_278 != (longlong *******)0x8)) { + *(int *)((longlong)local_278 + -4) = *(int *)((longlong)local_278 + -4) + 1; + } + FUN_14003d0d0((longlong)ppppppplVar10); + } + if (((local_f0 != (undefined *)0x0) && (local_f0 != PTR_DAT_14016f010)) && + (local_f0 + -8 != (undefined *)0x0)) { + ppppppplVar10 = + (longlong *******)FUN_14003e7c0(ppppppplVar10,PTR_DAT_14016f010,uVar17,param_4); + local_80._0_8_ = ppppppplVar10; + FUN_14003d040((int *)ppppppplVar10); + local_80.Data4[0] = '\x01'; + piVar2 = (int *)(local_f0 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(local_f0 + -8); + } + FUN_14003d0d0((longlong)ppppppplVar10); + } + local_268 = (longlong *******)local_1e8; + puVar12 = PTR_DAT_14016f010; + local_f0 = PTR_DAT_14016f010; + FUN_14003e7c0(ppppppplVar10,PTR_DAT_14016f010,uVar17,param_4); + local_1e8[0] = (longlong *******)PTR_DAT_14016f010; + if (PTR_DAT_14016f010 == (undefined *)0x0) { + local_1e8[0] = (longlong *******)0x0; + } + if (local_278 != (longlong *******)PTR_DAT_14016f010) { + ppppppplVar10 = (longlong *******)FUN_14003e7c0(ppppppplVar10,puVar12,uVar17,param_4); + local_80._0_8_ = ppppppplVar10; + FUN_14003d040((int *)ppppppplVar10); + local_80.Data4[0] = '\x01'; + FUN_140002190((longlong *)local_1e8,puVar12,uVar17,param_4); + local_1e8[0] = local_278; + if (((local_278 != (longlong *******)PTR_DAT_14016f010) && + (local_278 != (longlong *******)0x0)) && (local_278 != (longlong *******)0x8)) { + *(int *)((longlong)local_278 + -4) = *(int *)((longlong)local_278 + -4) + 1; + } + FUN_14003d0d0((longlong)ppppppplVar10); + } + FUN_14003e7c0(ppppppplVar10,puVar12,uVar17,param_4); + local_140 = PTR_DAT_14016f010; + iVar23 = FUN_14003e620(L"PWE_RESP_RESULT_CODE"); + puVar12 = FUN_140001ee0((longlong *)&local_140,iVar23); + FUN_14003e650(puVar12,L"PWE_RESP_RESULT_CODE",iVar23); + FUN_140001fc0((longlong *)&local_140); + (**(code **)(*param_1 + 0x28))(param_1,0x859c,&local_140,local_1e8); + local_298 = local_278; + if (local_278 == (longlong *******)0x0) { + local_298 = (longlong *******)PTR_DAT_14016f010; + } + plVar16 = (longlong *)param_1[2]; + pwVar25 = L"PWE_RESP_RESULT_CODE"; + uVar26 = 0x859c; + uVar17 = (ulonglong)uVar3; + (**(code **)(*plVar16 + 0x70))(); + ppppppplVar10 = local_278; + if (((local_278 != (longlong *******)0x0) && + (local_278 != (longlong *******)PTR_DAT_14016f010)) && + (ppppppplVar18 = local_278 + -1, ppppppplVar18 != (longlong *******)0x0)) { + ppppppplVar13 = (longlong *******)FUN_14003e7c0(plVar16,uVar17,uVar26,pwVar25); + local_80._0_8_ = ppppppplVar13; + FUN_14003d040((int *)ppppppplVar13); + local_80.Data4[0] = '\x01'; + piVar2 = (int *)((longlong)ppppppplVar10 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(ppppppplVar18); + } + FUN_14003d0d0((longlong)ppppppplVar13); + } + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_258 = (void *)CONCAT44(local_258._4_4_,0x859c); + local_250 = L"PWE_RESP_RESULT_CODE"; + local_248 = CONCAT44(local_248._4_4_,uVar3); + local_240 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_258); + DVar6 = GetTickCount(); + } + local_288 = (longlong *******)&local_230; + local_290 = (longlong *******)&local_270; + local_298 = (longlong *******)local_26c; + puVar20 = &local_260; + puVar21 = local_1d8; + pwVar25 = (wchar_t *)(ulonglong)uVar3; + plVar16 = param_1; + cVar5 = (**(code **)(*param_1 + 0x50))(); + if (cVar5 == '\0') { + plVar16 = (longlong *)param_1[2]; + pwVar25 = L"PWE_RESP_RESULT_CODE"; + (**(code **)(*plVar16 + 0x40))(); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_258 = (void *)CONCAT44(local_258._4_4_,0x859c); + local_250 = L"PWE_RESP_RESULT_CODE"; + local_248 = CONCAT44(local_248._4_4_,uVar3); + local_240 = param_3; + DVar7 = GetTickCount(); + local_238 = DVar7 - DVar6; + pwVar25 = (wchar_t *)&local_258; + (**(code **)(*param_1 + 0x18))(); + plVar16 = param_1; + } + ppppppplVar10 = local_230; + if (((local_230 != (longlong *******)0x0) && + (local_230 != (longlong *******)PTR_DAT_14016f010)) && + (pppppplVar1 = (longlong ******)(local_230 + -1), pppppplVar1 != (longlong ******)0x0)) { + pppppplVar14 = (longlong ******)FUN_14003e7c0(plVar16,pwVar25,puVar21,puVar20); + local_80._0_8_ = pppppplVar14; + FUN_14003d040((int *)pppppplVar14); + local_80.Data4[0] = '\x01'; + piVar2 = (int *)((longlong)ppppppplVar10 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(pppppplVar1); + } + local_230 = (longlong *******)FUN_14003d0d0((longlong)pppppplVar14); + } + break; + case 0x859d: + FUN_140049b40(local_1d8); + local_1d4 = param_2[10]; + local_1d8[0] = (undefined1)param_2[0x10]; + puVar20 = &local_260; + puVar19 = param_2; + FUN_140075970(param_2,puVar20,uVar26,param_4); + FUN_14003e7c0(puVar19,puVar20,uVar26,param_4); + local_230 = (longlong *******)PTR_DAT_14016f010; + thunk_FUN_140076020(param_2,(longlong *)&local_230,uVar26,param_4); + FUN_140092420(param_2,(undefined8 *)&local_58); + uVar26 = FUN_140074ee0(param_2,&local_278,4); + if ((char)uVar26 != '\0') { + local_270 = (uint)local_278; + } + plVar16 = (longlong *)param_1[2]; + pwVar25 = L"NOTIFY_STORAGE_ALARM"; + (**(code **)(*plVar16 + 0x48))(); + DVar6 = 0; + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + local_298 = (longlong *******)&DAT_140131724; + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar3,0x859d,L"NOTIFY_STORAGE_ALARM"); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar16,param_2,pwVar25,param_4); + local_278 = (longlong *******)PTR_DAT_14016f010; + local_170 = local_260; + FUN_1400926b0((longlong *)&local_278); + FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350); + FUN_1400928b0((longlong *)&local_278,(longlong *)&local_230); + FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350); + FUN_140092900((longlong *)&local_278,&local_58); + FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350); + FUN_1400926b0((longlong *)&local_278); + FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350); + DVar7 = DVar6; + if ((local_278 != (longlong *******)0x0) && + (local_278 != (longlong *******)PTR_DAT_14016f010)) { + DVar7 = *(DWORD *)(local_278 + -1); + } + uVar17 = (ulonglong)(DVar7 - 2); + local_268 = (longlong *******) + FUN_140028f40((longlong *)&local_278,(longlong *)&local_f8,DVar7 - 2); + ppppppplVar10 = local_278; + if (local_278 == (longlong *******)0x0) { + ppppppplVar10 = (longlong *******)PTR_DAT_14016f010; + } + local_278 = ppppppplVar10; + if ((longlong *******)*local_268 != ppppppplVar10) { + ppppppplVar10 = + (longlong *******)FUN_14003e7c0(ppppppplVar10,PTR_DAT_14016f010,uVar17,param_4); + local_80._0_8_ = ppppppplVar10; + FUN_14003d040((int *)ppppppplVar10); + ppppppplVar18 = local_278; + local_80.Data4[0] = '\x01'; + if (((local_278 != (longlong *******)0x0) && + (local_278 != (longlong *******)PTR_DAT_14016f010)) && + (ppppppplVar13 = local_278 + -1, ppppppplVar13 != (longlong *******)0x0)) { + ppppppplVar11 = + (longlong *******)FUN_14003e7c0(local_278,PTR_DAT_14016f010,uVar17,param_4); + local_228 = ppppppplVar11; + FUN_14003d040((int *)ppppppplVar11); + local_220 = CONCAT71(local_220._1_7_,1); + piVar2 = (int *)((longlong)ppppppplVar18 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(ppppppplVar13); + } + FUN_14003d0d0((longlong)ppppppplVar11); + } + local_278 = (longlong *******)*local_268; + if (((local_278 != (longlong *******)PTR_DAT_14016f010) && + (local_278 != (longlong *******)0x0)) && (local_278 != (longlong *******)0x8)) { + *(int *)((longlong)local_278 + -4) = *(int *)((longlong)local_278 + -4) + 1; + } + FUN_14003d0d0((longlong)ppppppplVar10); + } + if (((local_f8 != (undefined *)0x0) && (local_f8 != PTR_DAT_14016f010)) && + (local_f8 + -8 != (undefined *)0x0)) { + ppppppplVar10 = + (longlong *******)FUN_14003e7c0(ppppppplVar10,PTR_DAT_14016f010,uVar17,param_4); + local_228 = ppppppplVar10; + FUN_14003d040((int *)ppppppplVar10); + local_220 = CONCAT71(local_220._1_7_,1); + piVar2 = (int *)(local_f8 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(local_f8 + -8); + } + FUN_14003d0d0((longlong)ppppppplVar10); + } + local_268 = (longlong *******)&local_1f8; + puVar12 = PTR_DAT_14016f010; + local_f8 = PTR_DAT_14016f010; + FUN_14003e7c0(ppppppplVar10,PTR_DAT_14016f010,uVar17,param_4); + local_1f8 = (longlong *******)PTR_DAT_14016f010; + if (PTR_DAT_14016f010 == (undefined *)0x0) { + local_1f8 = (longlong *******)0x0; + } + if (local_278 != (longlong *******)PTR_DAT_14016f010) { + ppppppplVar10 = (longlong *******)FUN_14003e7c0(ppppppplVar10,puVar12,uVar17,param_4); + local_228 = ppppppplVar10; + FUN_14003d040((int *)ppppppplVar10); + local_220 = CONCAT71(local_220._1_7_,1); + FUN_140002190((longlong *)&local_1f8,puVar12,uVar17,param_4); + local_1f8 = local_278; + if (((local_278 != (longlong *******)PTR_DAT_14016f010) && + (local_278 != (longlong *******)0x0)) && (local_278 != (longlong *******)0x8)) { + *(int *)((longlong)local_278 + -4) = *(int *)((longlong)local_278 + -4) + 1; + } + FUN_14003d0d0((longlong)ppppppplVar10); + } + FUN_14003e7c0(ppppppplVar10,puVar12,uVar17,param_4); + local_130 = PTR_DAT_14016f010; + iVar23 = FUN_14003e620(L"NOTIFY_STORAGE_ALARM"); + puVar12 = FUN_140001ee0((longlong *)&local_130,iVar23); + FUN_14003e650(puVar12,L"NOTIFY_STORAGE_ALARM",iVar23); + FUN_140001fc0((longlong *)&local_130); + (**(code **)(*param_1 + 0x28))(param_1,0x859d,&local_130,&local_1f8); + local_298 = local_278; + if (local_278 == (longlong *******)0x0) { + local_298 = (longlong *******)PTR_DAT_14016f010; + } + plVar16 = (longlong *)param_1[2]; + pwVar25 = L"NOTIFY_STORAGE_ALARM"; + uVar26 = 0x859d; + uVar17 = (ulonglong)uVar3; + (**(code **)(*plVar16 + 0x70))(); + ppppppplVar10 = local_278; + if (((local_278 != (longlong *******)0x0) && + (local_278 != (longlong *******)PTR_DAT_14016f010)) && + (ppppppplVar18 = local_278 + -1, ppppppplVar18 != (longlong *******)0x0)) { + ppppppplVar13 = (longlong *******)FUN_14003e7c0(plVar16,uVar17,uVar26,pwVar25); + local_228 = ppppppplVar13; + FUN_14003d040((int *)ppppppplVar13); + local_220 = CONCAT71(local_220._1_7_,1); + piVar2 = (int *)((longlong)ppppppplVar10 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(ppppppplVar18); + } + FUN_14003d0d0((longlong)ppppppplVar13); + } + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_258 = (void *)CONCAT44(local_258._4_4_,0x859d); + local_250 = L"NOTIFY_STORAGE_ALARM"; + local_248 = CONCAT44(local_248._4_4_,uVar3); + local_240 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_258); + DVar6 = GetTickCount(); + } + local_288 = (longlong *******)&local_270; + local_290 = (longlong *******)&local_58; + local_298 = (longlong *******)&local_230; + puVar20 = &local_260; + puVar21 = local_1d8; + pwVar25 = (wchar_t *)(ulonglong)uVar3; + plVar16 = param_1; + cVar5 = (**(code **)(*param_1 + 0x58))(); + if (cVar5 == '\0') { + plVar16 = (longlong *)param_1[2]; + pwVar25 = L"NOTIFY_STORAGE_ALARM"; + (**(code **)(*plVar16 + 0x40))(); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_258 = (void *)CONCAT44(local_258._4_4_,0x859d); + local_250 = L"NOTIFY_STORAGE_ALARM"; + local_248 = CONCAT44(local_248._4_4_,uVar3); + local_240 = param_3; + DVar7 = GetTickCount(); + local_238 = DVar7 - DVar6; + pwVar25 = (wchar_t *)&local_258; + (**(code **)(*param_1 + 0x18))(); + plVar16 = param_1; + } + ppppppplVar10 = local_230; + if (((local_230 != (longlong *******)0x0) && + (local_230 != (longlong *******)PTR_DAT_14016f010)) && + (pppppplVar1 = (longlong ******)(local_230 + -1), pppppplVar1 != (longlong ******)0x0)) { + pppppplVar14 = (longlong ******)FUN_14003e7c0(plVar16,pwVar25,puVar21,puVar20); + local_228 = (longlong *******)pppppplVar14; + FUN_14003d040((int *)pppppplVar14); + local_220 = CONCAT71(local_220._1_7_,1); + piVar2 = (int *)((longlong)ppppppplVar10 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(pppppplVar1); + } + local_230 = (longlong *******)FUN_14003d0d0((longlong)pppppplVar14); + } + break; + case 0x859e: + FUN_140049b40(local_1d8); + local_1d4 = param_2[10]; + local_1d8[0] = (undefined1)param_2[0x10]; + puVar20 = &local_260; + puVar19 = param_2; + FUN_140075970(param_2,puVar20,uVar26,param_4); + FUN_14003e7c0(puVar19,puVar20,uVar26,param_4); + local_268 = (longlong *******)PTR_DAT_14016f010; + ppppppplVar10 = (longlong *******)&local_268; + puVar20 = param_2; + thunk_FUN_140076020(param_2,(longlong *)ppppppplVar10,uVar26,param_4); + FUN_14003e7c0(puVar20,ppppppplVar10,uVar26,param_4); + local_230 = (longlong *******)PTR_DAT_14016f010; + thunk_FUN_140076020(param_2,(longlong *)&local_230,uVar26,param_4); + FUN_140092420(param_2,(undefined8 *)&local_80); + uVar26 = FUN_140074ee0(param_2,&local_278,4); + if ((char)uVar26 != '\0') { + local_270 = (uint)local_278; + } + plVar16 = (longlong *)param_1[2]; + pwVar25 = L"NOTIFY_MAIL_ALARM"; + (**(code **)(*plVar16 + 0x48))(); + DVar6 = 0; + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + local_298 = (longlong *******)&DAT_140131724; + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar3,0x859e,L"NOTIFY_MAIL_ALARM"); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar16,param_2,pwVar25,param_4); + local_278 = (longlong *******)PTR_DAT_14016f010; + local_114 = local_260; + FUN_1400926b0((longlong *)&local_278); + FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350); + FUN_1400928b0((longlong *)&local_278,(longlong *)&local_268); + FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350); + FUN_1400928b0((longlong *)&local_278,(longlong *)&local_230); + FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350); + FUN_140092900((longlong *)&local_278,&local_80); + FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350); + FUN_1400926b0((longlong *)&local_278); + FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350); + DVar7 = DVar6; + if ((local_278 != (longlong *******)0x0) && + (local_278 != (longlong *******)PTR_DAT_14016f010)) { + DVar7 = *(DWORD *)(local_278 + -1); + } + uVar17 = (ulonglong)(DVar7 - 2); + plVar15 = FUN_140028f40((longlong *)&local_278,&local_d0,DVar7 - 2); + FUN_1400020c0((longlong *)&local_278,plVar15,uVar17,param_4); + plVar16 = &local_d0; + FUN_140002190(plVar16,plVar15,uVar17,param_4); + local_58._0_8_ = &local_148; + FUN_14003e7c0(plVar16,plVar15,uVar17,param_4); + local_148 = PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_148,(longlong *)&local_278,uVar17,param_4); + plVar16 = FUN_140002040(&local_88,L"NOTIFY_MAIL_ALARM",0,param_4); + (**(code **)(*param_1 + 0x28))(param_1,0x859e,plVar16,&local_148); + local_298 = local_278; + if (local_278 == (longlong *******)0x0) { + local_298 = (longlong *******)PTR_DAT_14016f010; + } + pwVar25 = L"NOTIFY_MAIL_ALARM"; + uVar26 = 0x859e; + uVar17 = (ulonglong)uVar3; + (**(code **)(*(longlong *)param_1[2] + 0x70))(); + FUN_140002190((longlong *)&local_278,uVar17,uVar26,pwVar25); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_258 = (void *)CONCAT44(local_258._4_4_,0x859e); + local_250 = L"NOTIFY_MAIL_ALARM"; + local_248 = CONCAT44(local_248._4_4_,uVar3); + local_240 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_258); + DVar6 = GetTickCount(); + } + local_280 = (undefined8 *)&local_270; + local_288 = (longlong *******)&local_80; + local_290 = (longlong *******)&local_230; + local_298 = (longlong *******)&local_268; + puVar20 = &local_260; + puVar21 = local_1d8; + pwVar25 = (wchar_t *)(ulonglong)uVar3; + cVar5 = (**(code **)(*param_1 + 0x60))(param_1); + if (cVar5 == '\0') { + pwVar25 = L"NOTIFY_MAIL_ALARM"; + (**(code **)(*(longlong *)param_1[2] + 0x40))(); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_258 = (void *)CONCAT44(local_258._4_4_,0x859e); + local_250 = L"NOTIFY_MAIL_ALARM"; + local_248 = CONCAT44(local_248._4_4_,uVar3); + local_240 = param_3; + DVar7 = GetTickCount(); + local_238 = DVar7 - DVar6; + pwVar25 = (wchar_t *)&local_258; + (**(code **)(*param_1 + 0x18))(param_1); + } + FUN_140002190((longlong *)&local_230,pwVar25,puVar21,puVar20); + local_230 = (longlong *******)FUN_140002190((longlong *)&local_268,pwVar25,puVar21,puVar20); + break; + case 0x859f: + FUN_140049b40(local_1d8); + local_1d4 = param_2[10]; + local_1d8[0] = (undefined1)param_2[0x10]; + uVar26 = FUN_140074ee0(param_2,&local_278,4); + if ((char)uVar26 != '\0') { + local_270 = (uint)local_278; + } + uVar26 = FUN_140074ee0(param_2,&local_230,8); + if ((char)uVar26 != '\0') { + local_268 = local_230; + } + plVar16 = (longlong *)param_1[2]; + pwVar25 = L"REQ_STATISTICS"; + (**(code **)(*plVar16 + 0x48))(); + iVar23 = 0; + DVar6 = 0; + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + local_298 = (longlong *******)&DAT_140131724; + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar3,0x859f,L"REQ_STATISTICS"); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar16,param_2,pwVar25,param_4); + local_278 = (longlong *******)PTR_DAT_14016f010; + FUN_1400926b0((longlong *)&local_278); + FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350); + FUN_140092770((longlong *)&local_278); + FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350); + if ((local_278 != (longlong *******)0x0) && + (local_278 != (longlong *******)PTR_DAT_14016f010)) { + iVar23 = *(int *)(local_278 + -1); + } + uVar17 = (ulonglong)(iVar23 - 2U); + plVar15 = FUN_140028f40((longlong *)&local_278,&local_e8,iVar23 - 2U); + FUN_1400020c0((longlong *)&local_278,plVar15,uVar17,param_4); + plVar16 = &local_e8; + FUN_140002190(plVar16,plVar15,uVar17,param_4); + local_58._0_8_ = &local_128; + FUN_14003e7c0(plVar16,plVar15,uVar17,param_4); + local_128 = PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_128,(longlong *)&local_278,uVar17,param_4); + plVar16 = FUN_140002040(local_b0 + 2,L"REQ_STATISTICS",0,param_4); + (**(code **)(*param_1 + 0x28))(param_1,0x859f,plVar16,&local_128); + local_298 = local_278; + if (local_278 == (longlong *******)0x0) { + local_298 = (longlong *******)PTR_DAT_14016f010; + } + pwVar25 = L"REQ_STATISTICS"; + uVar26 = 0x859f; + uVar17 = (ulonglong)uVar3; + (**(code **)(*(longlong *)param_1[2] + 0x70))(); + FUN_140002190((longlong *)&local_278,uVar17,uVar26,pwVar25); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_258 = (void *)CONCAT44(local_258._4_4_,0x859f); + local_250 = L"REQ_STATISTICS"; + local_248 = CONCAT44(local_248._4_4_,uVar3); + local_240 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_258); + DVar6 = GetTickCount(); + } + local_298 = (longlong *******)&local_268; + local_230 = (longlong *******) + (**(code **)(*param_1 + 0x68))(param_1,uVar3,local_1d8,&local_270); + if ((char)local_230 == '\0') { + local_230 = (longlong *******) + (**(code **)(*(longlong *)param_1[2] + 0x40)) + ((longlong *)param_1[2],L"REQ_STATISTICS"); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_258 = (void *)CONCAT44(local_258._4_4_,0x859f); + local_250 = L"REQ_STATISTICS"; + goto LAB_140028e0f; + } + break; + case 0x85a0: + FUN_140049b40(local_1d8); + local_1d4 = param_2[10]; + local_1d8[0] = (undefined1)param_2[0x10]; + uVar8 = 4; + ppppppplVar10 = (longlong *******)&local_278; + uVar26 = FUN_140074ee0(param_2,ppppppplVar10,4); + if ((char)uVar26 != '\0') { + local_270 = (uint)local_278; + } + FUN_14003e7c0((ulonglong)local_270,ppppppplVar10,uVar8,param_4); + local_268 = (longlong *******)PTR_DAT_14016f010; + thunk_FUN_140076020(param_2,(longlong *)&local_268,uVar8,param_4); + plVar16 = (longlong *)param_1[2]; + pwVar25 = L"PT_MESSAGE"; + (**(code **)(*plVar16 + 0x48))(); + DVar6 = 0; + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + local_298 = (longlong *******)&DAT_140131724; + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar3,0x85a0,L"PT_MESSAGE"); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar16,param_2,pwVar25,param_4); + local_278 = (longlong *******)PTR_DAT_14016f010; + FUN_1400926b0((longlong *)&local_278); + FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350); + FUN_1400928b0((longlong *)&local_278,(longlong *)&local_268); + FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350); + DVar7 = DVar6; + if ((local_278 != (longlong *******)0x0) && + (local_278 != (longlong *******)PTR_DAT_14016f010)) { + DVar7 = *(DWORD *)(local_278 + -1); + } + uVar17 = (ulonglong)(DVar7 - 2); + plVar15 = FUN_140028f40((longlong *)&local_278,&local_c0,DVar7 - 2); + FUN_1400020c0((longlong *)&local_278,plVar15,uVar17,param_4); + plVar16 = &local_c0; + FUN_140002190(plVar16,plVar15,uVar17,param_4); + local_58._0_8_ = &local_138; + FUN_14003e7c0(plVar16,plVar15,uVar17,param_4); + local_138 = PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_138,(longlong *)&local_278,uVar17,param_4); + plVar16 = FUN_140002040(&local_b8,L"PT_MESSAGE",0,param_4); + (**(code **)(*param_1 + 0x28))(param_1,0x85a0,plVar16,&local_138); + local_298 = local_278; + if (local_278 == (longlong *******)0x0) { + local_298 = (longlong *******)PTR_DAT_14016f010; + } + pwVar25 = L"PT_MESSAGE"; + uVar26 = 0x85a0; + uVar17 = (ulonglong)uVar3; + (**(code **)(*(longlong *)param_1[2] + 0x70))(); + FUN_140002190((longlong *)&local_278,uVar17,uVar26,pwVar25); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_258 = (void *)CONCAT44(local_258._4_4_,0x85a0); + local_250 = L"PT_MESSAGE"; + local_248 = CONCAT44(local_248._4_4_,uVar3); + local_240 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_258); + DVar6 = GetTickCount(); + } + local_298 = (longlong *******)&local_268; + puVar27 = (undefined8 *)&local_270; + puVar21 = local_1d8; + pwVar25 = (wchar_t *)(ulonglong)uVar3; + cVar5 = (**(code **)(*param_1 + 0x70))(param_1); + if (cVar5 == '\0') { + pwVar25 = L"PT_MESSAGE"; + (**(code **)(*(longlong *)param_1[2] + 0x40))(); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_258 = (void *)CONCAT44(local_258._4_4_,0x85a0); + local_250 = L"PT_MESSAGE"; + local_248 = CONCAT44(local_248._4_4_,uVar3); + local_240 = param_3; + DVar7 = GetTickCount(); + local_238 = DVar7 - DVar6; + pwVar25 = (wchar_t *)&local_258; + (**(code **)(*param_1 + 0x18))(param_1); + } + local_230 = (longlong *******)FUN_140002190((longlong *)&local_268,pwVar25,puVar21,puVar27); + break; + case 0x85a1: + puVar21 = local_1d8; + FUN_140049b40(puVar21); + local_1d4 = param_2[10]; + local_1d8[0] = (undefined1)param_2[0x10]; + FUN_14003e7c0(puVar21,pIVar22,uVar26,param_4); + local_268 = (longlong *******)PTR_DAT_14016f010; + thunk_FUN_140076020(param_2,(longlong *)&local_268,uVar26,param_4); + uVar26 = FUN_140074ee0(param_2,&local_278,4); + if ((char)uVar26 != '\0') { + local_270 = (uint)local_278; + } + plVar16 = (longlong *)param_1[2]; + pwVar25 = L"PT_PATCH_SERVER"; + (**(code **)(*plVar16 + 0x48))(); + DVar6 = 0; + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + local_298 = (longlong *******)&DAT_140131724; + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar3,0x85a1,L"PT_PATCH_SERVER"); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar16,param_2,pwVar25,param_4); + local_278 = (longlong *******)PTR_DAT_14016f010; + FUN_1400928b0((longlong *)&local_278,(longlong *)&local_268); + FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350); + FUN_1400926b0((longlong *)&local_278); + FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350); + DVar7 = DVar6; + if ((local_278 != (longlong *******)0x0) && + (local_278 != (longlong *******)PTR_DAT_14016f010)) { + DVar7 = *(DWORD *)(local_278 + -1); + } + uVar17 = (ulonglong)(DVar7 - 2); + plVar15 = FUN_140028f40((longlong *)&local_278,&local_d8,DVar7 - 2); + FUN_1400020c0((longlong *)&local_278,plVar15,uVar17,param_4); + plVar16 = &local_d8; + FUN_140002190(plVar16,plVar15,uVar17,param_4); + local_58._0_8_ = &local_158; + FUN_14003e7c0(plVar16,plVar15,uVar17,param_4); + local_158 = PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_158,(longlong *)&local_278,uVar17,param_4); + plVar16 = FUN_140002040(&local_98,L"PT_PATCH_SERVER",0,param_4); + (**(code **)(*param_1 + 0x28))(param_1,0x85a1,plVar16,&local_158); + local_298 = local_278; + if (local_278 == (longlong *******)0x0) { + local_298 = (longlong *******)PTR_DAT_14016f010; + } + pwVar25 = L"PT_PATCH_SERVER"; + uVar26 = 0x85a1; + uVar17 = (ulonglong)uVar3; + (**(code **)(*(longlong *)param_1[2] + 0x70))(); + FUN_140002190((longlong *)&local_278,uVar17,uVar26,pwVar25); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_258 = (void *)CONCAT44(local_258._4_4_,0x85a1); + local_250 = L"PT_PATCH_SERVER"; + local_248 = CONCAT44(local_248._4_4_,uVar3); + local_240 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_258); + DVar6 = GetTickCount(); + } + local_298 = (longlong *******)&local_270; + ppppppplVar10 = (longlong *******)&local_268; + puVar21 = local_1d8; + pwVar25 = (wchar_t *)(ulonglong)uVar3; + cVar5 = (**(code **)(*param_1 + 0x78))(param_1); + if (cVar5 == '\0') { + pwVar25 = L"PT_PATCH_SERVER"; + (**(code **)(*(longlong *)param_1[2] + 0x40))(); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_258 = (void *)CONCAT44(local_258._4_4_,0x85a1); + local_250 = L"PT_PATCH_SERVER"; + local_248 = CONCAT44(local_248._4_4_,uVar3); + local_240 = param_3; + DVar7 = GetTickCount(); + local_238 = DVar7 - DVar6; + pwVar25 = (wchar_t *)&local_258; + (**(code **)(*param_1 + 0x18))(param_1); + } + local_230 = (longlong *******) + FUN_140002190((longlong *)&local_268,pwVar25,puVar21,ppppppplVar10); + break; + case 0x85a2: + FUN_140049b40(local_1d8); + local_1d4 = param_2[10]; + local_1d8[0] = (undefined1)param_2[0x10]; + uVar26 = FUN_140074ee0(param_2,&local_278,4); + if ((char)uVar26 != '\0') { + local_270 = (uint)local_278; + } + plVar16 = (longlong *)param_1[2]; + pwVar25 = L"PT_BACKUP_CHARACTER_TABLE_COUNT"; + (**(code **)(*plVar16 + 0x48))(); + iVar23 = 0; + DVar6 = 0; + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + local_298 = (longlong *******)&DAT_140131724; + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar3,0x85a2,L"PT_BACKUP_CHARACTER_TABLE_COUNT"); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar16,param_2,pwVar25,param_4); + local_278 = (longlong *******)PTR_DAT_14016f010; + FUN_1400926b0((longlong *)&local_278); + FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350); + if ((local_278 != (longlong *******)0x0) && + (local_278 != (longlong *******)PTR_DAT_14016f010)) { + iVar23 = *(int *)(local_278 + -1); + } + uVar17 = (ulonglong)(iVar23 - 2U); + plVar15 = FUN_140028f40((longlong *)&local_278,&local_e0,iVar23 - 2U); + FUN_1400020c0((longlong *)&local_278,plVar15,uVar17,param_4); + plVar16 = &local_e0; + FUN_140002190(plVar16,plVar15,uVar17,param_4); + local_58._0_8_ = &local_178; + FUN_14003e7c0(plVar16,plVar15,uVar17,param_4); + local_178 = PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_178,(longlong *)&local_278,uVar17,param_4); + plVar16 = FUN_140002040(&local_90,L"PT_BACKUP_CHARACTER_TABLE_COUNT",0,param_4); + (**(code **)(*param_1 + 0x28))(param_1,0x85a2,plVar16,&local_178); + local_298 = local_278; + if (local_278 == (longlong *******)0x0) { + local_298 = (longlong *******)PTR_DAT_14016f010; + } + pwVar25 = L"PT_BACKUP_CHARACTER_TABLE_COUNT"; + uVar26 = 0x85a2; + uVar17 = (ulonglong)uVar3; + (**(code **)(*(longlong *)param_1[2] + 0x70))(); + FUN_140002190((longlong *)&local_278,uVar17,uVar26,pwVar25); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_258 = (void *)CONCAT44(local_258._4_4_,0x85a2); + local_250 = L"PT_BACKUP_CHARACTER_TABLE_COUNT"; + local_248 = CONCAT44(local_248._4_4_,uVar3); + local_240 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_258); + DVar6 = GetTickCount(); + } + local_230 = (longlong *******) + (**(code **)(*param_1 + 0x80))(param_1,uVar3,local_1d8,&local_270); + if ((char)local_230 == '\0') { + local_230 = (longlong *******) + (**(code **)(*(longlong *)param_1[2] + 0x40)) + ((longlong *)param_1[2],L"PT_BACKUP_CHARACTER_TABLE_COUNT"); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_258 = (void *)CONCAT44(local_258._4_4_,0x85a2); + local_250 = L"PT_BACKUP_CHARACTER_TABLE_COUNT"; + goto LAB_140028e0f; + } + break; + case 0x85a3: + FUN_140049b40(local_1d8); + local_1d4 = param_2[10]; + local_1d8[0] = (undefined1)param_2[0x10]; + plVar16 = (longlong *)param_1[2]; + pwVar25 = L"PT_BACKUP_CHARACTER_TABLE_END"; + (**(code **)(*plVar16 + 0x48))(); + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + local_298 = (longlong *******)&DAT_140131724; + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar3,0x85a3,L"PT_BACKUP_CHARACTER_TABLE_END"); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar16,param_2,pwVar25,param_4); + local_278 = (longlong *******)PTR_DAT_14016f010; + uVar26 = 0xfffffffe; + plVar15 = FUN_140028f40((longlong *)&local_278,&local_c8,0xfffffffe); + FUN_1400020c0((longlong *)&local_278,plVar15,uVar26,param_4); + plVar16 = &local_c8; + FUN_140002190(plVar16,plVar15,uVar26,param_4); + local_58._0_8_ = &local_168; + FUN_14003e7c0(plVar16,plVar15,uVar26,param_4); + local_168 = PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_168,(longlong *)&local_278,uVar26,param_4); + plVar16 = FUN_140002040(local_b0,L"PT_BACKUP_CHARACTER_TABLE_END",0,param_4); + (**(code **)(*param_1 + 0x28))(param_1,0x85a3,plVar16,&local_168); + local_298 = local_278; + if (local_278 == (longlong *******)0x0) { + local_298 = (longlong *******)PTR_DAT_14016f010; + } + pwVar25 = L"PT_BACKUP_CHARACTER_TABLE_END"; + uVar26 = 0x85a3; + uVar17 = (ulonglong)uVar3; + (**(code **)(*(longlong *)param_1[2] + 0x70))(); + FUN_140002190((longlong *)&local_278,uVar17,uVar26,pwVar25); + } + DVar6 = 0; + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_258 = (void *)CONCAT44(local_258._4_4_,0x85a3); + local_250 = L"PT_BACKUP_CHARACTER_TABLE_END"; + local_248 = CONCAT44(local_248._4_4_,uVar3); + local_240 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_258); + DVar6 = GetTickCount(); + } + local_230 = (longlong *******)(**(code **)(*param_1 + 0x88))(param_1,uVar3,local_1d8); + if ((char)local_230 == '\0') { + local_230 = (longlong *******) + (**(code **)(*(longlong *)param_1[2] + 0x40)) + ((longlong *)param_1[2],L"PT_BACKUP_CHARACTER_TABLE_END"); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_258 = (void *)CONCAT44(local_258._4_4_,0x85a3); + local_250 = L"PT_BACKUP_CHARACTER_TABLE_END"; + goto LAB_140028e0f; + } + break; + default: + goto switchD_1400265c4_default; + } + uVar17 = CONCAT71((int7)((ulonglong)local_230 >> 8),1); + } + return uVar17; +} + diff --git a/decomp/AgentManager_Release_x64/0x14002c3c0.pseudo.c b/decomp/AgentManager_Release_x64/0x14002c3c0.pseudo.c new file mode 100644 index 00000000..90f6a982 --- /dev/null +++ b/decomp/AgentManager_Release_x64/0x14002c3c0.pseudo.c @@ -0,0 +1,1624 @@ + +ulonglong FUN_14002c3c0(longlong *****param_1,uint *param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong ********pppppppplVar1; + int *piVar2; + uint uVar3; + uint uVar4; + char cVar5; + int iVar6; + DWORD DVar7; + DWORD DVar8; + undefined8 uVar9; + undefined *puVar10; + longlong *********ppppppppplVar11; + longlong ********pppppppplVar12; + longlong *********ppppppppplVar13; + longlong *********ppppppppplVar14; + undefined8 uVar15; + longlong *plVar16; + longlong *plVar17; + longlong ********pppppppplVar18; + ulonglong uVar19; + undefined4 uVar20; + longlong *****ppppplVar21; + uint *puVar22; + undefined1 *puVar23; + longlong ****pppplVar24; + undefined1 uVar25; + IMAGE_DOS_HEADER *pIVar26; + undefined **ppuVar27; + wchar_t *pwVar28; + longlong ********local_res10 [2]; + longlong ********local_res20; + longlong ********local_258; + undefined1 local_250; + longlong ********local_248; + wchar_t *local_240; + uint local_238; + undefined8 local_230; + int local_228; + longlong ********local_220; + undefined1 local_218; + longlong ********local_210; + undefined1 local_208; + longlong ********local_200; + undefined1 local_1f8; + longlong ********local_1f0; + longlong ********local_1e8; + longlong ********local_1e0; + longlong ********local_1d8; + longlong ********local_1d0; + undefined1 local_1c8 [4]; + uint local_1c4; + undefined8 local_190; + longlong *******local_168; + longlong *******local_160; + undefined4 local_158; + longlong *******local_150; + undefined *local_148; + longlong *******local_140; + undefined *local_138; + longlong *******local_130; + longlong *******local_128; + undefined4 local_120; + undefined *local_118; + longlong *******local_110; + undefined *local_108; + uint local_100 [2]; + undefined *local_f8; + undefined4 local_f0; + undefined *local_e8; + undefined *local_e0; + undefined *local_d8; + undefined *local_d0; + undefined *local_c8; + longlong ********local_c0; + undefined1 local_b8; + longlong local_b0; + longlong local_a8; + longlong local_a0; + longlong local_98; + longlong local_90; + longlong local_88; + longlong local_80 [3]; + longlong local_68; + longlong local_60; + longlong local_58; + longlong local_50; + longlong local_48; + longlong local_40; + + local_80[1] = 0xfffffffffffffffe; + uVar3 = param_2[10]; + uVar15 = param_3; + if (uVar3 == 0) { + FUN_140079c10(); + } + uVar4 = *param_2; + uVar9 = FUN_140075890(param_2,local_100,uVar15,param_4); + if ((char)uVar9 == '\0') { +switchD_14002c453_default: + uVar19 = FUN_140074bb0((int *)param_2, + (ulonglong)(uint)((int)(((int)uVar4 >> 0x1f & 7U) + uVar4) >> 3),uVar15, + param_4); + uVar19 = uVar19 & 0xffffffffffffff00; + } + else { + pIVar26 = &IMAGE_DOS_HEADER_140000000; + local_190 = param_3; + switch(local_100[0]) { + case 0x8661: + puVar23 = local_1c8; + FUN_140049b40(puVar23); + local_1c4 = param_2[10]; + local_1c8[0] = (undefined1)param_2[0x10]; + FUN_14003e7c0(puVar23,pIVar26,uVar15,param_4); + local_258 = (longlong ********)PTR_DAT_14016f010; + ppppppppplVar13 = &local_258; + puVar22 = param_2; + thunk_FUN_140076020(param_2,(longlong *)ppppppppplVar13,uVar15,param_4); + FUN_14003e7c0(puVar22,ppppppppplVar13,uVar15,param_4); + local_res20 = (longlong ********)PTR_DAT_14016f010; + thunk_FUN_140076020(param_2,(longlong *)&local_res20,uVar15,param_4); + pppplVar24 = param_1[2]; + pwVar28 = L"REQ_AUTH"; + (*(code *)(*pppplVar24)[9])(); + DVar7 = 0; + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if (*(char *)(param_1 + 3) == '\0') { + (*(code *)(*param_1[2])[0xe])(param_1[2],uVar3,0x8661,L"REQ_AUTH",&DAT_140131724); + } + } + else if (*(char *)(param_1 + 3) == '\0') { + FUN_14003e7c0(pppplVar24,param_2,pwVar28,param_4); + local_res10[0] = (longlong ********)PTR_DAT_14016f010; + FUN_1400928b0((longlong *)local_res10,(longlong *)&local_258); + FUN_140029bf0((longlong *)local_res10,(short *)&DAT_140133350); + FUN_1400928b0((longlong *)local_res10,(longlong *)&local_res20); + FUN_140029bf0((longlong *)local_res10,(short *)&DAT_140133350); + DVar8 = DVar7; + if (((longlong *********)local_res10[0] != (longlong *********)0x0) && + (local_res10[0] != (longlong ********)PTR_DAT_14016f010)) { + DVar8 = *(DWORD *)(local_res10[0] + -1); + } + uVar19 = (ulonglong)(DVar8 - 2); + local_210 = (longlong ********) + FUN_140028f40((longlong *)local_res10,(longlong *)&local_c8,DVar8 - 2); + ppppppppplVar13 = (longlong *********)local_res10[0]; + if ((longlong *********)local_res10[0] == (longlong *********)0x0) { + ppppppppplVar13 = (longlong *********)PTR_DAT_14016f010; + } + local_res10[0] = (longlong ********)ppppppppplVar13; + if ((longlong *********)*local_210 != ppppppppplVar13) { + ppppppppplVar13 = + (longlong *********)FUN_14003e7c0(ppppppppplVar13,PTR_DAT_14016f010,uVar19,param_4); + local_220 = (longlong ********)ppppppppplVar13; + FUN_14003d040((int *)ppppppppplVar13); + pppppppplVar18 = local_res10[0]; + local_218 = 1; + if ((((longlong *********)local_res10[0] != (longlong *********)0x0) && + (local_res10[0] != (longlong ********)PTR_DAT_14016f010)) && + (ppppppppplVar11 = (longlong *********)(local_res10[0] + -1), + ppppppppplVar11 != (longlong *********)0x0)) { + ppppppppplVar14 = + (longlong *********)FUN_14003e7c0(local_res10[0],PTR_DAT_14016f010,uVar19,param_4); + local_200 = (longlong ********)ppppppppplVar14; + FUN_14003d040((int *)ppppppppplVar14); + local_1f8 = 1; + piVar2 = (int *)((longlong)pppppppplVar18 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(ppppppppplVar11); + } + FUN_14003d0d0((longlong)ppppppppplVar14); + } + local_res10[0] = (longlong ********)*local_210; + if (((local_res10[0] != (longlong ********)PTR_DAT_14016f010) && + ((longlong *********)local_res10[0] != (longlong *********)0x0)) && + ((longlong *********)local_res10[0] != (longlong *********)0x8)) { + *(int *)((longlong)local_res10[0] + -4) = *(int *)((longlong)local_res10[0] + -4) + 1; + } + FUN_14003d0d0((longlong)ppppppppplVar13); + } + if (((local_c8 != (undefined *)0x0) && (local_c8 != PTR_DAT_14016f010)) && + (local_c8 + -8 != (undefined *)0x0)) { + ppppppppplVar13 = + (longlong *********)FUN_14003e7c0(ppppppppplVar13,PTR_DAT_14016f010,uVar19,param_4); + local_210 = (longlong ********)ppppppppplVar13; + FUN_14003d040((int *)ppppppppplVar13); + local_208 = 1; + piVar2 = (int *)(local_c8 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(local_c8 + -8); + } + FUN_14003d0d0((longlong)ppppppppplVar13); + } + local_210 = (longlong ********)&local_1d8; + puVar10 = PTR_DAT_14016f010; + local_c8 = PTR_DAT_14016f010; + FUN_14003e7c0(ppppppppplVar13,PTR_DAT_14016f010,uVar19,param_4); + local_1d8 = (longlong ********)PTR_DAT_14016f010; + if (PTR_DAT_14016f010 == (undefined *)0x0) { + local_1d8 = (longlong ********)(longlong *********)0x0; + } + if (local_res10[0] != (longlong ********)PTR_DAT_14016f010) { + ppppppppplVar13 = + (longlong *********)FUN_14003e7c0(ppppppppplVar13,puVar10,uVar19,param_4); + local_220 = (longlong ********)ppppppppplVar13; + FUN_14003d040((int *)ppppppppplVar13); + local_218 = 1; + FUN_140002190((longlong *)&local_1d8,puVar10,uVar19,param_4); + local_1d8 = local_res10[0]; + if (((local_res10[0] != (longlong ********)PTR_DAT_14016f010) && + ((longlong *********)local_res10[0] != (longlong *********)0x0)) && + ((longlong *********)local_res10[0] != (longlong *********)0x8)) { + *(int *)((longlong)local_res10[0] + -4) = *(int *)((longlong)local_res10[0] + -4) + 1; + } + FUN_14003d0d0((longlong)ppppppppplVar13); + } + FUN_14003e7c0(ppppppppplVar13,puVar10,uVar19,param_4); + local_108 = PTR_DAT_14016f010; + iVar6 = FUN_14003e620(L"REQ_AUTH"); + puVar10 = FUN_140001ee0((longlong *)&local_108,iVar6); + FUN_14003e650(puVar10,L"REQ_AUTH",iVar6); + FUN_140001fc0((longlong *)&local_108); + (*(code *)(*param_1)[5])(param_1,0x8661,&local_108,&local_1d8); + pppplVar24 = param_1[2]; + pwVar28 = L"REQ_AUTH"; + uVar15 = 0x8661; + uVar19 = (ulonglong)uVar3; + (*(code *)(*pppplVar24)[0xe])(); + pppppppplVar18 = local_res10[0]; + if ((((longlong *********)local_res10[0] != (longlong *********)0x0) && + (local_res10[0] != (longlong ********)PTR_DAT_14016f010)) && + (ppppppppplVar13 = (longlong *********)(local_res10[0] + -1), + ppppppppplVar13 != (longlong *********)0x0)) { + ppppppppplVar11 = (longlong *********)FUN_14003e7c0(pppplVar24,uVar19,uVar15,pwVar28); + local_210 = (longlong ********)ppppppppplVar11; + FUN_14003d040((int *)ppppppppplVar11); + local_208 = 1; + piVar2 = (int *)((longlong)pppppppplVar18 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(ppppppppplVar13); + } + FUN_14003d0d0((longlong)ppppppppplVar11); + } + } + if ((*(char *)(param_1 + 3) == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x8661); + local_240 = L"REQ_AUTH"; + local_238 = uVar3; + local_230 = param_3; + (*(code *)(*param_1)[4])(param_1,&local_248); + DVar7 = GetTickCount(); + } + ppppppppplVar13 = &local_258; + puVar23 = local_1c8; + ppppppppplVar11 = (longlong *********)param_1; + cVar5 = (*(code *)(*param_1)[7])(param_1,uVar3,puVar23,ppppppppplVar13,&local_res20); + if (cVar5 == '\0') { + ppppppppplVar11 = (longlong *********)param_1[2]; + (*(code *)(*ppppppppplVar11)[8])(ppppppppplVar11,L"REQ_AUTH"); + } + if ((*(char *)(param_1 + 3) == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x8661); + local_240 = L"REQ_AUTH"; + local_238 = uVar3; + local_230 = param_3; + DVar8 = GetTickCount(); + local_228 = DVar8 - DVar7; + (*(code *)(*param_1)[3])(param_1,&local_248); + ppppppppplVar11 = (longlong *********)param_1; + } + pppppppplVar18 = local_res20; + if (((local_res20 != (longlong ********)0x0) && + (local_res20 != (longlong ********)PTR_DAT_14016f010)) && + (pppppppplVar1 = local_res20 + -1, pppppppplVar1 != (longlong ********)0x0)) { + ppppppppplVar11 = + (longlong *********) + FUN_14003e7c0(ppppppppplVar11,PTR_DAT_14016f010,puVar23,ppppppppplVar13); + local_210 = (longlong ********)ppppppppplVar11; + FUN_14003d040((int *)ppppppppplVar11); + local_208 = 1; + piVar2 = (int *)((longlong)pppppppplVar18 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(pppppppplVar1); + } + FUN_14003d0d0((longlong)ppppppppplVar11); + } + pppppppplVar18 = local_258; + if (((local_258 != (longlong ********)0x0) && + (local_258 != (longlong ********)PTR_DAT_14016f010)) && + (pppppppplVar1 = local_258 + -1, pppppppplVar1 != (longlong ********)0x0)) { + local_res20 = (longlong ********)PTR_DAT_14016f010; + pppppppplVar12 = + (longlong ********) + FUN_14003e7c0(ppppppppplVar11,PTR_DAT_14016f010,puVar23,ppppppppplVar13); + local_210 = pppppppplVar12; + FUN_14003d040((int *)pppppppplVar12); + local_208 = 1; + piVar2 = (int *)((longlong)pppppppplVar18 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(pppppppplVar1); + } + pppppppplVar18 = (longlong ********)FUN_14003d0d0((longlong)pppppppplVar12); + } + break; + case 0x8662: + FUN_140049b40(local_1c8); + local_1c4 = param_2[10]; + local_1c8[0] = (undefined1)param_2[0x10]; + pppplVar24 = param_1[2]; + pwVar28 = L"REQ_SERVER_INFORMATION"; + (*(code *)(*pppplVar24)[9])(); + DVar7 = 0; + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if (*(char *)(param_1 + 3) == '\0') { + (*(code *)(*param_1[2])[0xe]) + (param_1[2],uVar3,0x8662,L"REQ_SERVER_INFORMATION",&DAT_140131724); + } + } + else if (*(char *)(param_1 + 3) == '\0') { + FUN_14003e7c0(pppplVar24,param_2,pwVar28,param_4); + ppppppppplVar13 = (longlong *********)PTR_DAT_14016f010; + local_res10[0] = (longlong ********)PTR_DAT_14016f010; + uVar15 = 0xfffffffe; + ppuVar27 = &local_d8; + local_res20 = (longlong ********) + FUN_140028f40((longlong *)local_res10,(longlong *)ppuVar27,0xfffffffe); + if (ppppppppplVar13 == (longlong *********)0x0) { + ppppppppplVar13 = (longlong *********)PTR_DAT_14016f010; + } + local_res10[0] = (longlong ********)ppppppppplVar13; + if ((longlong *********)*local_res20 != ppppppppplVar13) { + ppppppppplVar14 = + (longlong *********)FUN_14003e7c0(PTR_DAT_14016f010,ppuVar27,uVar15,param_4); + ppppppppplVar11 = ppppppppplVar14; + local_258 = (longlong ********)ppppppppplVar14; + FUN_14003d040((int *)ppppppppplVar14); + local_250 = 1; + if (((ppppppppplVar13 != (longlong *********)0x0) && + (ppppppppplVar13 != (longlong *********)PTR_DAT_14016f010)) && + (ppppppppplVar13 + -1 != (longlong *********)0x0)) { + ppppppppplVar11 = + (longlong *********)FUN_14003e7c0(ppppppppplVar11,ppuVar27,uVar15,param_4); + local_210 = (longlong ********)ppppppppplVar11; + FUN_14003d040((int *)ppppppppplVar11); + local_208 = 1; + piVar2 = (int *)((longlong)ppppppppplVar13 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(ppppppppplVar13 + -1); + } + FUN_14003d0d0((longlong)ppppppppplVar11); + } + ppppppppplVar13 = (longlong *********)*local_res20; + if (((ppppppppplVar13 != (longlong *********)PTR_DAT_14016f010) && + (ppppppppplVar13 != (longlong *********)0x0)) && + (ppppppppplVar13 != (longlong *********)0x8)) { + *(int *)((longlong)ppppppppplVar13 + -4) = *(int *)((longlong)ppppppppplVar13 + -4) + 1; + } + local_res10[0] = (longlong ********)ppppppppplVar13; + FUN_14003d0d0((longlong)ppppppppplVar14); + } + if (((local_d8 != (undefined *)0x0) && (local_d8 != PTR_DAT_14016f010)) && + (local_d8 + -8 != (undefined *)0x0)) { + ppppppppplVar11 = + (longlong *********)FUN_14003e7c0(PTR_DAT_14016f010,ppuVar27,uVar15,param_4); + local_258 = (longlong ********)ppppppppplVar11; + FUN_14003d040((int *)ppppppppplVar11); + local_250 = 1; + piVar2 = (int *)(local_d8 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(local_d8 + -8); + } + FUN_14003d0d0((longlong)ppppppppplVar11); + } + local_res20 = (longlong ********)&local_1f0; + ppppppppplVar11 = (longlong *********)PTR_DAT_14016f010; + local_d8 = PTR_DAT_14016f010; + FUN_14003e7c0(PTR_DAT_14016f010,ppuVar27,uVar15,param_4); + local_1f0 = (longlong ********)PTR_DAT_14016f010; + if (PTR_DAT_14016f010 == (undefined *)0x0) { + local_1f0 = (longlong ********)(longlong *********)0x0; + } + if (ppppppppplVar13 != (longlong *********)PTR_DAT_14016f010) { + ppppppppplVar11 = + (longlong *********)FUN_14003e7c0(ppppppppplVar11,ppuVar27,uVar15,param_4); + local_258 = (longlong ********)ppppppppplVar11; + FUN_14003d040((int *)ppppppppplVar11); + local_250 = 1; + FUN_140002190((longlong *)&local_1f0,ppuVar27,uVar15,param_4); + if (((ppppppppplVar13 != (longlong *********)PTR_DAT_14016f010) && + (ppppppppplVar13 != (longlong *********)0x0)) && + (ppppppppplVar13 != (longlong *********)0x8)) { + *(int *)((longlong)ppppppppplVar13 + -4) = *(int *)((longlong)ppppppppplVar13 + -4) + 1; + } + local_1f0 = (longlong ********)ppppppppplVar13; + FUN_14003d0d0((longlong)ppppppppplVar11); + } + FUN_14003e7c0(ppppppppplVar11,ppuVar27,uVar15,param_4); + local_148 = PTR_DAT_14016f010; + iVar6 = FUN_14003e620(L"REQ_SERVER_INFORMATION"); + puVar10 = FUN_140001ee0((longlong *)&local_148,iVar6); + FUN_14003e650(puVar10,L"REQ_SERVER_INFORMATION",iVar6); + FUN_140001fc0((longlong *)&local_148); + (*(code *)(*param_1)[5])(param_1,0x8662,&local_148,&local_1f0); + pppplVar24 = param_1[2]; + pwVar28 = L"REQ_SERVER_INFORMATION"; + uVar15 = 0x8662; + uVar19 = (ulonglong)uVar3; + (*(code *)(*pppplVar24)[0xe])(); + if (((ppppppppplVar13 != (longlong *********)0x0) && + (ppppppppplVar13 != (longlong *********)PTR_DAT_14016f010)) && + (ppppppppplVar13 + -1 != (longlong *********)0x0)) { + ppppppppplVar11 = (longlong *********)FUN_14003e7c0(pppplVar24,uVar19,uVar15,pwVar28); + local_258 = (longlong ********)ppppppppplVar11; + FUN_14003d040((int *)ppppppppplVar11); + local_250 = 1; + piVar2 = (int *)((longlong)ppppppppplVar13 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(ppppppppplVar13 + -1); + } + FUN_14003d0d0((longlong)ppppppppplVar11); + } + } + if ((*(char *)(param_1 + 3) == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x8662); + local_240 = L"REQ_SERVER_INFORMATION"; + local_238 = uVar3; + local_230 = param_3; + (*(code *)(*param_1)[4])(param_1,&local_248); + DVar7 = GetTickCount(); + } + pppppppplVar18 = (longlong ********)(*(code *)(*param_1)[8])(param_1,uVar3,local_1c8); + if ((char)pppppppplVar18 == '\0') { + pppppppplVar18 = + (longlong ********)(*(code *)(*param_1[2])[8])(param_1[2],L"REQ_SERVER_INFORMATION"); + } + if ((*(char *)(param_1 + 3) == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x8662); + local_240 = L"REQ_SERVER_INFORMATION"; +LAB_14002eed4: + local_238 = uVar3; + local_230 = param_3; + DVar8 = GetTickCount(); + local_228 = DVar8 - DVar7; + pppppppplVar18 = (longlong ********)(*(code *)(*param_1)[3])(param_1,&local_248); + } + break; + case 0x8663: + FUN_140049b40(local_1c8); + local_1c4 = param_2[10]; + local_1c8[0] = (undefined1)param_2[0x10]; + uVar15 = FUN_140074ee0(param_2,&local_220,4); + uVar20 = (uint)local_res20; + if ((char)uVar15 != '\0') { + uVar20 = (uint)local_220; + } + local_res20 = (longlong ********)CONCAT44(local_res20._4_4_,uVar20); + uVar15 = FUN_140074ee0(param_2,&local_220,4); + uVar20 = (uint)local_res10[0]; + if ((char)uVar15 != '\0') { + uVar20 = (uint)local_220; + } + local_res10[0] = (longlong ********)CONCAT44(local_res10[0]._4_4_,uVar20); + pppplVar24 = param_1[2]; + pwVar28 = L"PT_SERVER_COMMAND"; + (*(code *)(*pppplVar24)[9])(); + DVar7 = 0; + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if (*(char *)(param_1 + 3) == '\0') { + (*(code *)(*param_1[2])[0xe])(param_1[2],uVar3,0x8663,L"PT_SERVER_COMMAND",&DAT_140131724) + ; + } + } + else if (*(char *)(param_1 + 3) == '\0') { + FUN_14003e7c0(pppplVar24,param_2,pwVar28,param_4); + local_258 = (longlong ********)PTR_DAT_14016f010; + FUN_1400926b0((longlong *)&local_258); + FUN_140029bf0((longlong *)&local_258,(short *)&DAT_140133350); + FUN_1400926b0((longlong *)&local_258); + FUN_140029bf0((longlong *)&local_258,(short *)&DAT_140133350); + iVar6 = 0; + if (((longlong *********)local_258 != (longlong *********)0x0) && + (local_258 != (longlong ********)PTR_DAT_14016f010)) { + iVar6 = *(int *)(local_258 + -1); + } + uVar19 = (ulonglong)(iVar6 - 2U); + local_210 = (longlong ********) + FUN_140028f40((longlong *)&local_258,(longlong *)&local_e0,iVar6 - 2U); + ppppppppplVar13 = (longlong *********)local_258; + if ((longlong *********)local_258 == (longlong *********)0x0) { + ppppppppplVar13 = (longlong *********)PTR_DAT_14016f010; + } + local_258 = (longlong ********)ppppppppplVar13; + if ((longlong *********)*local_210 != ppppppppplVar13) { + ppppppppplVar13 = + (longlong *********)FUN_14003e7c0(ppppppppplVar13,PTR_DAT_14016f010,uVar19,param_4); + local_220 = (longlong ********)ppppppppplVar13; + FUN_14003d040((int *)ppppppppplVar13); + pppppppplVar18 = local_258; + local_218 = 1; + if ((((longlong *********)local_258 != (longlong *********)0x0) && + (local_258 != (longlong ********)PTR_DAT_14016f010)) && + (ppppppppplVar11 = (longlong *********)(local_258 + -1), + ppppppppplVar11 != (longlong *********)0x0)) { + ppppppppplVar14 = + (longlong *********)FUN_14003e7c0(local_258,PTR_DAT_14016f010,uVar19,param_4); + local_200 = (longlong ********)ppppppppplVar14; + FUN_14003d040((int *)ppppppppplVar14); + local_1f8 = 1; + piVar2 = (int *)((longlong)pppppppplVar18 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(ppppppppplVar11); + } + FUN_14003d0d0((longlong)ppppppppplVar14); + } + local_258 = (longlong ********)*local_210; + if (((local_258 != (longlong ********)PTR_DAT_14016f010) && + ((longlong *********)local_258 != (longlong *********)0x0)) && + ((longlong *********)local_258 != (longlong *********)0x8)) { + *(int *)((longlong)local_258 + -4) = *(int *)((longlong)local_258 + -4) + 1; + } + FUN_14003d0d0((longlong)ppppppppplVar13); + } + if (((local_e0 != (undefined *)0x0) && (local_e0 != PTR_DAT_14016f010)) && + (local_e0 + -8 != (undefined *)0x0)) { + ppppppppplVar13 = + (longlong *********)FUN_14003e7c0(ppppppppplVar13,PTR_DAT_14016f010,uVar19,param_4); + local_210 = (longlong ********)ppppppppplVar13; + FUN_14003d040((int *)ppppppppplVar13); + local_208 = 1; + piVar2 = (int *)(local_e0 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(local_e0 + -8); + } + FUN_14003d0d0((longlong)ppppppppplVar13); + } + local_210 = (longlong ********)&local_1e0; + puVar10 = PTR_DAT_14016f010; + local_e0 = PTR_DAT_14016f010; + FUN_14003e7c0(ppppppppplVar13,PTR_DAT_14016f010,uVar19,param_4); + local_1e0 = (longlong ********)PTR_DAT_14016f010; + if (PTR_DAT_14016f010 == (undefined *)0x0) { + local_1e0 = (longlong ********)(longlong *********)0x0; + } + if (local_258 != (longlong ********)PTR_DAT_14016f010) { + ppppppppplVar13 = + (longlong *********)FUN_14003e7c0(ppppppppplVar13,puVar10,uVar19,param_4); + local_220 = (longlong ********)ppppppppplVar13; + FUN_14003d040((int *)ppppppppplVar13); + local_218 = 1; + FUN_140002190((longlong *)&local_1e0,puVar10,uVar19,param_4); + local_1e0 = local_258; + if (((local_258 != (longlong ********)PTR_DAT_14016f010) && + ((longlong *********)local_258 != (longlong *********)0x0)) && + ((longlong *********)local_258 != (longlong *********)0x8)) { + *(int *)((longlong)local_258 + -4) = *(int *)((longlong)local_258 + -4) + 1; + } + FUN_14003d0d0((longlong)ppppppppplVar13); + } + FUN_14003e7c0(ppppppppplVar13,puVar10,uVar19,param_4); + local_118 = PTR_DAT_14016f010; + iVar6 = FUN_14003e620(L"PT_SERVER_COMMAND"); + puVar10 = FUN_140001ee0((longlong *)&local_118,iVar6); + FUN_14003e650(puVar10,L"PT_SERVER_COMMAND",iVar6); + FUN_140001fc0((longlong *)&local_118); + (*(code *)(*param_1)[5])(param_1,0x8663,&local_118,&local_1e0); + pppplVar24 = param_1[2]; + pwVar28 = L"PT_SERVER_COMMAND"; + uVar15 = 0x8663; + uVar19 = (ulonglong)uVar3; + (*(code *)(*pppplVar24)[0xe])(); + pppppppplVar18 = local_258; + if ((((longlong *********)local_258 != (longlong *********)0x0) && + (local_258 != (longlong ********)PTR_DAT_14016f010)) && + (ppppppppplVar13 = (longlong *********)(local_258 + -1), + ppppppppplVar13 != (longlong *********)0x0)) { + ppppppppplVar11 = (longlong *********)FUN_14003e7c0(pppplVar24,uVar19,uVar15,pwVar28); + local_210 = (longlong ********)ppppppppplVar11; + FUN_14003d040((int *)ppppppppplVar11); + local_208 = 1; + piVar2 = (int *)((longlong)pppppppplVar18 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(ppppppppplVar13); + } + FUN_14003d0d0((longlong)ppppppppplVar11); + } + } + if ((*(char *)(param_1 + 3) == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x8663); + local_240 = L"PT_SERVER_COMMAND"; + local_238 = uVar3; + local_230 = param_3; + (*(code *)(*param_1)[4])(param_1,&local_248); + DVar7 = GetTickCount(); + } + pppppppplVar18 = + (longlong ********) + (*(code *)(*param_1)[9])(param_1,uVar3,local_1c8,&local_res20,local_res10); + if ((char)pppppppplVar18 == '\0') { + pppppppplVar18 = + (longlong ********)(*(code *)(*param_1[2])[8])(param_1[2],L"PT_SERVER_COMMAND"); + } + if ((*(char *)(param_1 + 3) == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x8663); + local_240 = L"PT_SERVER_COMMAND"; + goto LAB_14002eed4; + } + break; + case 0x8664: + FUN_140049b40(local_1c8); + local_1c4 = param_2[10]; + local_1c8[0] = (undefined1)param_2[0x10]; + uVar15 = FUN_140074ee0(param_2,&local_220,4); + uVar20 = local_200._0_4_; + if ((char)uVar15 != '\0') { + uVar20 = (uint)local_220; + } + local_200 = (longlong ********)CONCAT44(local_200._4_4_,uVar20); + uVar15 = FUN_140074ee0(param_2,&local_220,4); + uVar20 = (uint)local_res20; + if ((char)uVar15 != '\0') { + uVar20 = (uint)local_220; + } + local_res20 = (longlong ********)CONCAT44(local_res20._4_4_,uVar20); + uVar9 = 4; + ppppppppplVar13 = &local_220; + uVar15 = FUN_140074ee0(param_2,ppppppppplVar13,4); + uVar4 = (uint)local_res10[0]; + if ((char)uVar15 != '\0') { + uVar4 = (uint)local_220; + } + local_res10[0] = (longlong ********)CONCAT44(local_res10[0]._4_4_,uVar4); + FUN_14003e7c0((ulonglong)uVar4,ppppppppplVar13,uVar9,param_4); + local_210 = (longlong ********)PTR_DAT_14016f010; + thunk_FUN_140076020(param_2,(longlong *)&local_210,uVar9,param_4); + pppplVar24 = param_1[2]; + pwVar28 = L"PT_SERVER_NOTICE"; + (*(code *)(*pppplVar24)[9])(); + DVar7 = 0; + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if (*(char *)(param_1 + 3) == '\0') { + (*(code *)(*param_1[2])[0xe])(param_1[2],uVar3,0x8664,L"PT_SERVER_NOTICE",&DAT_140131724); + } + } + else if (*(char *)(param_1 + 3) == '\0') { + FUN_14003e7c0(pppplVar24,param_2,pwVar28,param_4); + local_258 = (longlong ********)PTR_DAT_14016f010; + FUN_1400926b0((longlong *)&local_258); + FUN_140029bf0((longlong *)&local_258,(short *)&DAT_140133350); + FUN_1400926b0((longlong *)&local_258); + FUN_140029bf0((longlong *)&local_258,(short *)&DAT_140133350); + FUN_1400926b0((longlong *)&local_258); + FUN_140029bf0((longlong *)&local_258,(short *)&DAT_140133350); + FUN_1400928b0((longlong *)&local_258,(longlong *)&local_210); + FUN_140029bf0((longlong *)&local_258,(short *)&DAT_140133350); + DVar8 = DVar7; + if (((longlong *********)local_258 != (longlong *********)0x0) && + (local_258 != (longlong ********)PTR_DAT_14016f010)) { + DVar8 = *(DWORD *)(local_258 + -1); + } + uVar19 = (ulonglong)(DVar8 - 2); + local_220 = (longlong ********) + FUN_140028f40((longlong *)&local_258,(longlong *)&local_d0,DVar8 - 2); + ppppppppplVar13 = (longlong *********)local_258; + if ((longlong *********)local_258 == (longlong *********)0x0) { + ppppppppplVar13 = (longlong *********)PTR_DAT_14016f010; + } + local_258 = (longlong ********)ppppppppplVar13; + if ((longlong *********)*local_220 != ppppppppplVar13) { + ppppppppplVar13 = + (longlong *********)FUN_14003e7c0(ppppppppplVar13,PTR_DAT_14016f010,uVar19,param_4); + local_c0 = (longlong ********)ppppppppplVar13; + FUN_14003d040((int *)ppppppppplVar13); + pppppppplVar18 = local_258; + local_b8 = 1; + if ((((longlong *********)local_258 != (longlong *********)0x0) && + (local_258 != (longlong ********)PTR_DAT_14016f010)) && + (ppppppppplVar11 = (longlong *********)(local_258 + -1), + ppppppppplVar11 != (longlong *********)0x0)) { + ppppppppplVar14 = + (longlong *********)FUN_14003e7c0(local_258,PTR_DAT_14016f010,uVar19,param_4); + local_248 = (longlong ********)ppppppppplVar14; + FUN_14003d040((int *)ppppppppplVar14); + local_240 = (wchar_t *)CONCAT71(local_240._1_7_,1); + piVar2 = (int *)((longlong)pppppppplVar18 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(ppppppppplVar11); + } + FUN_14003d0d0((longlong)ppppppppplVar14); + } + local_258 = (longlong ********)*local_220; + if (((local_258 != (longlong ********)PTR_DAT_14016f010) && + ((longlong *********)local_258 != (longlong *********)0x0)) && + ((longlong *********)local_258 != (longlong *********)0x8)) { + *(int *)((longlong)local_258 + -4) = *(int *)((longlong)local_258 + -4) + 1; + } + FUN_14003d0d0((longlong)ppppppppplVar13); + } + if (((local_d0 != (undefined *)0x0) && (local_d0 != PTR_DAT_14016f010)) && + (local_d0 + -8 != (undefined *)0x0)) { + ppppppppplVar13 = + (longlong *********)FUN_14003e7c0(ppppppppplVar13,PTR_DAT_14016f010,uVar19,param_4); + local_248 = (longlong ********)ppppppppplVar13; + FUN_14003d040((int *)ppppppppplVar13); + local_240 = (wchar_t *)CONCAT71(local_240._1_7_,1); + piVar2 = (int *)(local_d0 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(local_d0 + -8); + } + FUN_14003d0d0((longlong)ppppppppplVar13); + } + local_220 = (longlong ********)&local_1d0; + puVar10 = PTR_DAT_14016f010; + local_d0 = PTR_DAT_14016f010; + FUN_14003e7c0(ppppppppplVar13,PTR_DAT_14016f010,uVar19,param_4); + local_1d0 = (longlong ********)PTR_DAT_14016f010; + if (PTR_DAT_14016f010 == (undefined *)0x0) { + local_1d0 = (longlong ********)(longlong *********)0x0; + } + if (local_258 != (longlong ********)PTR_DAT_14016f010) { + ppppppppplVar13 = + (longlong *********)FUN_14003e7c0(ppppppppplVar13,puVar10,uVar19,param_4); + local_248 = (longlong ********)ppppppppplVar13; + FUN_14003d040((int *)ppppppppplVar13); + local_240 = (wchar_t *)CONCAT71(local_240._1_7_,1); + FUN_140002190((longlong *)&local_1d0,puVar10,uVar19,param_4); + local_1d0 = local_258; + if (((local_258 != (longlong ********)PTR_DAT_14016f010) && + ((longlong *********)local_258 != (longlong *********)0x0)) && + ((longlong *********)local_258 != (longlong *********)0x8)) { + *(int *)((longlong)local_258 + -4) = *(int *)((longlong)local_258 + -4) + 1; + } + FUN_14003d0d0((longlong)ppppppppplVar13); + } + FUN_14003e7c0(ppppppppplVar13,puVar10,uVar19,param_4); + local_138 = PTR_DAT_14016f010; + iVar6 = FUN_14003e620(L"PT_SERVER_NOTICE"); + puVar10 = FUN_140001ee0((longlong *)&local_138,iVar6); + FUN_14003e650(puVar10,L"PT_SERVER_NOTICE",iVar6); + FUN_140001fc0((longlong *)&local_138); + (*(code *)(*param_1)[5])(param_1,0x8664,&local_138,&local_1d0); + pppplVar24 = param_1[2]; + pwVar28 = L"PT_SERVER_NOTICE"; + uVar15 = 0x8664; + uVar19 = (ulonglong)uVar3; + (*(code *)(*pppplVar24)[0xe])(); + pppppppplVar18 = local_258; + if ((((longlong *********)local_258 != (longlong *********)0x0) && + (local_258 != (longlong ********)PTR_DAT_14016f010)) && + (ppppppppplVar13 = (longlong *********)(local_258 + -1), + ppppppppplVar13 != (longlong *********)0x0)) { + ppppppppplVar11 = (longlong *********)FUN_14003e7c0(pppplVar24,uVar19,uVar15,pwVar28); + local_248 = (longlong ********)ppppppppplVar11; + FUN_14003d040((int *)ppppppppplVar11); + local_240 = (wchar_t *)CONCAT71(local_240._1_7_,1); + piVar2 = (int *)((longlong)pppppppplVar18 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(ppppppppplVar13); + } + FUN_14003d0d0((longlong)ppppppppplVar11); + } + } + if ((*(char *)(param_1 + 3) == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x8664); + local_240 = L"PT_SERVER_NOTICE"; + local_238 = uVar3; + local_230 = param_3; + (*(code *)(*param_1)[4])(param_1,&local_248); + DVar7 = GetTickCount(); + } + ppppppppplVar13 = &local_200; + puVar23 = local_1c8; + pwVar28 = (wchar_t *)(ulonglong)uVar3; + ppppplVar21 = param_1; + cVar5 = (*(code *)(*param_1)[10])(); + if (cVar5 == '\0') { + ppppplVar21 = (longlong *****)param_1[2]; + pwVar28 = L"PT_SERVER_NOTICE"; + (*(code *)(*ppppplVar21)[8])(); + } + if ((*(char *)(param_1 + 3) == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x8664); + local_240 = L"PT_SERVER_NOTICE"; + local_238 = uVar3; + local_230 = param_3; + DVar8 = GetTickCount(); + local_228 = DVar8 - DVar7; + pwVar28 = (wchar_t *)&local_248; + (*(code *)(*param_1)[3])(); + ppppplVar21 = param_1; + } + pppppppplVar18 = local_210; + if (((local_210 != (longlong ********)0x0) && + (local_210 != (longlong ********)PTR_DAT_14016f010)) && + (pppppppplVar1 = local_210 + -1, pppppppplVar1 != (longlong ********)0x0)) { + pppppppplVar12 = + (longlong ********)FUN_14003e7c0(ppppplVar21,pwVar28,puVar23,ppppppppplVar13); + local_248 = pppppppplVar12; + FUN_14003d040((int *)pppppppplVar12); + local_240 = (wchar_t *)CONCAT71(local_240._1_7_,1); + piVar2 = (int *)((longlong)pppppppplVar18 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(pppppppplVar1); + } + pppppppplVar18 = (longlong ********)FUN_14003d0d0((longlong)pppppppplVar12); + } + break; + case 0x8665: + puVar23 = local_1c8; + FUN_140049b40(puVar23); + local_1c4 = param_2[10]; + local_1c8[0] = (undefined1)param_2[0x10]; + FUN_14003e7c0(puVar23,pIVar26,uVar15,param_4); + local_220 = (longlong ********)PTR_DAT_14016f010; + ppppppppplVar13 = &local_220; + puVar22 = param_2; + thunk_FUN_140076020(param_2,(longlong *)ppppppppplVar13,uVar15,param_4); + FUN_14003e7c0(puVar22,ppppppppplVar13,uVar15,param_4); + local_210 = (longlong ********)PTR_DAT_14016f010; + ppppppppplVar13 = &local_210; + puVar22 = param_2; + thunk_FUN_140076020(param_2,(longlong *)ppppppppplVar13,uVar15,param_4); + FUN_14003e7c0(puVar22,ppppppppplVar13,uVar15,param_4); + local_258 = (longlong ********)PTR_DAT_14016f010; + thunk_FUN_140076020(param_2,(longlong *)&local_258,uVar15,param_4); + uVar15 = FUN_140074ee0(param_2,&local_res20,1); + uVar25 = local_res10[0]._0_1_; + if ((char)uVar15 != '\0') { + uVar25 = local_res20._0_1_; + } + local_res10[0] = (longlong ********)CONCAT71(local_res10[0]._1_7_,uVar25); + pppplVar24 = param_1[2]; + pwVar28 = L"PT_IP_BLOCK"; + (*(code *)(*pppplVar24)[9])(); + DVar7 = 0; + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if (*(char *)(param_1 + 3) == '\0') { + (*(code *)(*param_1[2])[0xe])(param_1[2],uVar3,0x8665,L"PT_IP_BLOCK",&DAT_140131724); + } + } + else if (*(char *)(param_1 + 3) == '\0') { + FUN_14003e7c0(pppplVar24,param_2,pwVar28,param_4); + local_res20 = (longlong ********)PTR_DAT_14016f010; + FUN_1400928b0((longlong *)&local_res20,(longlong *)&local_220); + FUN_140029bf0((longlong *)&local_res20,(short *)&DAT_140133350); + FUN_1400928b0((longlong *)&local_res20,(longlong *)&local_210); + FUN_140029bf0((longlong *)&local_res20,(short *)&DAT_140133350); + FUN_1400928b0((longlong *)&local_res20,(longlong *)&local_258); + FUN_140029bf0((longlong *)&local_res20,(short *)&DAT_140133350); + FUN_1400925f0((longlong *)&local_res20); + FUN_140029bf0((longlong *)&local_res20,(short *)&DAT_140133350); + DVar8 = DVar7; + if (((longlong *********)local_res20 != (longlong *********)0x0) && + (local_res20 != (longlong ********)PTR_DAT_14016f010)) { + DVar8 = *(DWORD *)(local_res20 + -1); + } + uVar19 = (ulonglong)(DVar8 - 2); + local_200 = (longlong ********) + FUN_140028f40((longlong *)&local_res20,(longlong *)&local_e8,DVar8 - 2); + ppppppppplVar13 = (longlong *********)local_res20; + if ((longlong *********)local_res20 == (longlong *********)0x0) { + ppppppppplVar13 = (longlong *********)PTR_DAT_14016f010; + } + local_res20 = (longlong ********)ppppppppplVar13; + if ((longlong *********)*local_200 != ppppppppplVar13) { + ppppppppplVar13 = + (longlong *********)FUN_14003e7c0(ppppppppplVar13,PTR_DAT_14016f010,uVar19,param_4); + local_248 = (longlong ********)ppppppppplVar13; + FUN_14003d040((int *)ppppppppplVar13); + pppppppplVar18 = local_res20; + local_240 = (wchar_t *)CONCAT71(local_240._1_7_,1); + if ((((longlong *********)local_res20 != (longlong *********)0x0) && + (local_res20 != (longlong ********)PTR_DAT_14016f010)) && + (ppppppppplVar11 = (longlong *********)(local_res20 + -1), + ppppppppplVar11 != (longlong *********)0x0)) { + ppppppppplVar14 = + (longlong *********)FUN_14003e7c0(local_res20,PTR_DAT_14016f010,uVar19,param_4); + local_c0 = (longlong ********)ppppppppplVar14; + FUN_14003d040((int *)ppppppppplVar14); + local_b8 = 1; + piVar2 = (int *)((longlong)pppppppplVar18 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(ppppppppplVar11); + } + FUN_14003d0d0((longlong)ppppppppplVar14); + } + local_res20 = (longlong ********)*local_200; + if (((local_res20 != (longlong ********)PTR_DAT_14016f010) && + ((longlong *********)local_res20 != (longlong *********)0x0)) && + ((longlong *********)local_res20 != (longlong *********)0x8)) { + *(int *)((longlong)local_res20 + -4) = *(int *)((longlong)local_res20 + -4) + 1; + } + FUN_14003d0d0((longlong)ppppppppplVar13); + } + if (((local_e8 != (undefined *)0x0) && (local_e8 != PTR_DAT_14016f010)) && + (local_e8 + -8 != (undefined *)0x0)) { + ppppppppplVar13 = + (longlong *********)FUN_14003e7c0(ppppppppplVar13,PTR_DAT_14016f010,uVar19,param_4); + local_248 = (longlong ********)ppppppppplVar13; + FUN_14003d040((int *)ppppppppplVar13); + local_240 = (wchar_t *)CONCAT71(local_240._1_7_,1); + piVar2 = (int *)(local_e8 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(local_e8 + -8); + } + FUN_14003d0d0((longlong)ppppppppplVar13); + } + local_200 = (longlong ********)&local_1e8; + puVar10 = PTR_DAT_14016f010; + local_e8 = PTR_DAT_14016f010; + FUN_14003e7c0(ppppppppplVar13,PTR_DAT_14016f010,uVar19,param_4); + local_1e8 = (longlong ********)PTR_DAT_14016f010; + if (PTR_DAT_14016f010 == (undefined *)0x0) { + local_1e8 = (longlong ********)(longlong *********)0x0; + } + if (local_res20 != (longlong ********)PTR_DAT_14016f010) { + ppppppppplVar13 = + (longlong *********)FUN_14003e7c0(ppppppppplVar13,puVar10,uVar19,param_4); + local_248 = (longlong ********)ppppppppplVar13; + FUN_14003d040((int *)ppppppppplVar13); + local_240 = (wchar_t *)CONCAT71(local_240._1_7_,1); + FUN_140002190((longlong *)&local_1e8,puVar10,uVar19,param_4); + local_1e8 = local_res20; + if (((local_res20 != (longlong ********)PTR_DAT_14016f010) && + ((longlong *********)local_res20 != (longlong *********)0x0)) && + ((longlong *********)local_res20 != (longlong *********)0x8)) { + *(int *)((longlong)local_res20 + -4) = *(int *)((longlong)local_res20 + -4) + 1; + } + FUN_14003d0d0((longlong)ppppppppplVar13); + } + FUN_14003e7c0(ppppppppplVar13,puVar10,uVar19,param_4); + local_f8 = PTR_DAT_14016f010; + iVar6 = FUN_14003e620(L"PT_IP_BLOCK"); + puVar10 = FUN_140001ee0((longlong *)&local_f8,iVar6); + FUN_14003e650(puVar10,L"PT_IP_BLOCK",iVar6); + FUN_140001fc0((longlong *)&local_f8); + (*(code *)(*param_1)[5])(param_1,0x8665,&local_f8,&local_1e8); + pppplVar24 = param_1[2]; + pwVar28 = L"PT_IP_BLOCK"; + uVar15 = 0x8665; + uVar19 = (ulonglong)uVar3; + (*(code *)(*pppplVar24)[0xe])(); + pppppppplVar18 = local_res20; + if ((((longlong *********)local_res20 != (longlong *********)0x0) && + (local_res20 != (longlong ********)PTR_DAT_14016f010)) && + (ppppppppplVar13 = (longlong *********)(local_res20 + -1), + ppppppppplVar13 != (longlong *********)0x0)) { + ppppppppplVar11 = (longlong *********)FUN_14003e7c0(pppplVar24,uVar19,uVar15,pwVar28); + local_248 = (longlong ********)ppppppppplVar11; + FUN_14003d040((int *)ppppppppplVar11); + local_240 = (wchar_t *)CONCAT71(local_240._1_7_,1); + piVar2 = (int *)((longlong)pppppppplVar18 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(ppppppppplVar13); + } + FUN_14003d0d0((longlong)ppppppppplVar11); + } + } + if ((*(char *)(param_1 + 3) == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x8665); + local_240 = L"PT_IP_BLOCK"; + local_238 = uVar3; + local_230 = param_3; + (*(code *)(*param_1)[4])(param_1,&local_248); + DVar7 = GetTickCount(); + } + ppppppppplVar13 = &local_220; + puVar23 = local_1c8; + ppppppppplVar11 = (longlong *********)param_1; + cVar5 = (*(code *)(*param_1)[0xb]) + (param_1,uVar3,puVar23,ppppppppplVar13,&local_210,&local_258,local_res10); + if (cVar5 == '\0') { + ppppppppplVar11 = (longlong *********)param_1[2]; + (*(code *)(*ppppppppplVar11)[8])(ppppppppplVar11,L"PT_IP_BLOCK"); + } + if ((*(char *)(param_1 + 3) == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x8665); + local_240 = L"PT_IP_BLOCK"; + local_238 = uVar3; + local_230 = param_3; + DVar8 = GetTickCount(); + local_228 = DVar8 - DVar7; + (*(code *)(*param_1)[3])(param_1,&local_248); + ppppppppplVar11 = (longlong *********)param_1; + } + pppppppplVar18 = local_258; + if (((local_258 != (longlong ********)0x0) && + (local_258 != (longlong ********)PTR_DAT_14016f010)) && + (pppppppplVar1 = local_258 + -1, pppppppplVar1 != (longlong ********)0x0)) { + ppppppppplVar11 = + (longlong *********) + FUN_14003e7c0(ppppppppplVar11,PTR_DAT_14016f010,puVar23,ppppppppplVar13); + local_248 = (longlong ********)ppppppppplVar11; + FUN_14003d040((int *)ppppppppplVar11); + local_240 = (wchar_t *)CONCAT71(local_240._1_7_,1); + piVar2 = (int *)((longlong)pppppppplVar18 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(pppppppplVar1); + } + FUN_14003d0d0((longlong)ppppppppplVar11); + } + pppppppplVar18 = local_210; + local_258 = (longlong ********)PTR_DAT_14016f010; + if (((local_210 != (longlong ********)0x0) && + (local_210 != (longlong ********)PTR_DAT_14016f010)) && + (pppppppplVar1 = local_210 + -1, pppppppplVar1 != (longlong ********)0x0)) { + ppppppppplVar11 = + (longlong *********) + FUN_14003e7c0(ppppppppplVar11,PTR_DAT_14016f010,puVar23,ppppppppplVar13); + local_248 = (longlong ********)ppppppppplVar11; + FUN_14003d040((int *)ppppppppplVar11); + local_240 = (wchar_t *)CONCAT71(local_240._1_7_,1); + piVar2 = (int *)((longlong)pppppppplVar18 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(pppppppplVar1); + } + FUN_14003d0d0((longlong)ppppppppplVar11); + } + pppppppplVar18 = local_220; + if (((local_220 != (longlong ********)0x0) && + (local_220 != (longlong ********)PTR_DAT_14016f010)) && + (pppppppplVar1 = local_220 + -1, pppppppplVar1 != (longlong ********)0x0)) { + local_210 = (longlong ********)PTR_DAT_14016f010; + pppppppplVar12 = + (longlong ********) + FUN_14003e7c0(ppppppppplVar11,PTR_DAT_14016f010,puVar23,ppppppppplVar13); + local_248 = pppppppplVar12; + FUN_14003d040((int *)pppppppplVar12); + local_240 = (wchar_t *)CONCAT71(local_240._1_7_,1); + piVar2 = (int *)((longlong)pppppppplVar18 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(pppppppplVar1); + } + pppppppplVar18 = (longlong ********)FUN_14003d0d0((longlong)pppppppplVar12); + } + break; + case 0x8666: + FUN_140049b40(local_1c8); + local_1c4 = param_2[10]; + local_1c8[0] = (undefined1)param_2[0x10]; + uVar15 = FUN_140074ee0(param_2,&local_210,4); + uVar20 = (uint)local_220; + if ((char)uVar15 != '\0') { + uVar20 = local_210._0_4_; + } + local_220 = (longlong ********)CONCAT44(local_220._4_4_,uVar20); + uVar15 = FUN_140074ee0(param_2,&local_258,4); + uVar20 = local_200._0_4_; + if ((char)uVar15 != '\0') { + uVar20 = local_258._0_4_; + } + local_200 = (longlong ********)CONCAT44(local_200._4_4_,uVar20); + uVar15 = FUN_140074ee0(param_2,&local_res20,1); + uVar25 = local_res10[0]._0_1_; + if ((char)uVar15 != '\0') { + uVar25 = local_res20._0_1_; + } + local_res10[0] = (longlong ********)CONCAT71(local_res10[0]._1_7_,uVar25); + pppplVar24 = param_1[2]; + pwVar28 = L"PT_CHANNEL_STATUS_CHANGE"; + (*(code *)(*pppplVar24)[9])(); + DVar7 = 0; + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if (*(char *)(param_1 + 3) == '\0') { + (*(code *)(*param_1[2])[0xe]) + (param_1[2],uVar3,0x8666,L"PT_CHANNEL_STATUS_CHANGE",&DAT_140131724); + } + } + else if (*(char *)(param_1 + 3) == '\0') { + FUN_14003e7c0(pppplVar24,param_2,pwVar28,param_4); + local_res20 = (longlong ********)PTR_DAT_14016f010; + FUN_1400926b0((longlong *)&local_res20); + FUN_140029bf0((longlong *)&local_res20,(short *)&DAT_140133350); + FUN_1400926b0((longlong *)&local_res20); + FUN_140029bf0((longlong *)&local_res20,(short *)&DAT_140133350); + FUN_1400925f0((longlong *)&local_res20); + FUN_140029bf0((longlong *)&local_res20,(short *)&DAT_140133350); + iVar6 = 0; + if (((longlong *********)local_res20 != (longlong *********)0x0) && + (local_res20 != (longlong ********)PTR_DAT_14016f010)) { + iVar6 = *(int *)(local_res20 + -1); + } + uVar19 = (ulonglong)(iVar6 - 2U); + plVar17 = local_80; + local_258 = (longlong ********)FUN_140028f40((longlong *)&local_res20,plVar17,iVar6 - 2U); + if ((longlong *********)local_res20 == (longlong *********)0x0) { + local_res20 = (longlong ********)PTR_DAT_14016f010; + } + if ((longlong ********)*local_258 != local_res20) { + ppppppppplVar13 = (longlong *********)FUN_14003e7c0(local_res20,plVar17,uVar19,param_4); + local_248 = (longlong ********)ppppppppplVar13; + FUN_14003d040((int *)ppppppppplVar13); + pppppppplVar18 = local_res20; + local_240 = (wchar_t *)CONCAT71(local_240._1_7_,1); + if ((((longlong *********)local_res20 != (longlong *********)0x0) && + (local_res20 != (longlong ********)PTR_DAT_14016f010)) && + (ppppppppplVar11 = (longlong *********)(local_res20 + -1), + ppppppppplVar11 != (longlong *********)0x0)) { + ppppppppplVar14 = + (longlong *********)FUN_14003e7c0(local_res20,PTR_DAT_14016f010,uVar19,param_4); + local_c0 = (longlong ********)ppppppppplVar14; + FUN_14003d040((int *)ppppppppplVar14); + local_b8 = 1; + piVar2 = (int *)((longlong)pppppppplVar18 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(ppppppppplVar11); + } + FUN_14003d0d0((longlong)ppppppppplVar14); + } + plVar17 = (longlong *)PTR_DAT_14016f010; + local_res20 = (longlong ********)*local_258; + if (((local_res20 != (longlong ********)PTR_DAT_14016f010) && + ((longlong *********)local_res20 != (longlong *********)0x0)) && + ((longlong *********)local_res20 != (longlong *********)0x8)) { + *(int *)((longlong)local_res20 + -4) = *(int *)((longlong)local_res20 + -4) + 1; + } + FUN_14003d0d0((longlong)ppppppppplVar13); + } + plVar16 = local_80; + FUN_140002190(plVar16,plVar17,uVar19,param_4); + local_258 = &local_128; + FUN_14003e7c0(plVar16,plVar17,uVar19,param_4); + local_128 = (longlong *******)PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_128,(longlong *)&local_res20,uVar19,param_4); + plVar17 = FUN_140002040(&local_60,L"PT_CHANNEL_STATUS_CHANGE",0,param_4); + (*(code *)(*param_1)[5])(param_1,0x8666,plVar17,&local_128); + pwVar28 = L"PT_CHANNEL_STATUS_CHANGE"; + uVar15 = 0x8666; + uVar19 = (ulonglong)uVar3; + (*(code *)(*param_1[2])[0xe])(); + FUN_140002190((longlong *)&local_res20,uVar19,uVar15,pwVar28); + } + if ((*(char *)(param_1 + 3) == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x8666); + local_240 = L"PT_CHANNEL_STATUS_CHANGE"; + local_238 = uVar3; + local_230 = param_3; + (*(code *)(*param_1)[4])(param_1,&local_248); + DVar7 = GetTickCount(); + } + pppppppplVar18 = + (longlong ********) + (*(code *)(*param_1)[0xc])(param_1,uVar3,local_1c8,&local_220,&local_200,local_res10); + if ((char)pppppppplVar18 == '\0') { + pppppppplVar18 = + (longlong ********)(*(code *)(*param_1[2])[8])(param_1[2],L"PT_CHANNEL_STATUS_CHANGE"); + } + if ((*(char *)(param_1 + 3) == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x8666); + local_240 = L"PT_CHANNEL_STATUS_CHANGE"; + goto LAB_14002eed4; + } + break; + case 0x8667: + FUN_140049b40(local_1c8); + local_1c4 = param_2[10]; + local_1c8[0] = (undefined1)param_2[0x10]; + uVar9 = 4; + ppppppppplVar13 = &local_res20; + uVar15 = FUN_140074ee0(param_2,ppppppppplVar13,4); + uVar4 = (uint)local_res10[0]; + if ((char)uVar15 != '\0') { + uVar4 = (uint)local_res20; + } + local_res10[0] = (longlong ********)CONCAT44(local_res10[0]._4_4_,uVar4); + FUN_14003e7c0((ulonglong)uVar4,ppppppppplVar13,uVar9,param_4); + local_258 = (longlong ********)PTR_DAT_14016f010; + thunk_FUN_140076020(param_2,(longlong *)&local_258,uVar9,param_4); + pppplVar24 = param_1[2]; + pwVar28 = L"PT_USER_KICK"; + (*(code *)(*pppplVar24)[9])(); + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if (*(char *)(param_1 + 3) == '\0') { + (*(code *)(*param_1[2])[0xe])(param_1[2],uVar3,0x8667,L"PT_USER_KICK",&DAT_140131724); + } + } + else if (*(char *)(param_1 + 3) == '\0') { + FUN_14003e7c0(pppplVar24,param_2,pwVar28,param_4); + local_res20 = (longlong ********)PTR_DAT_14016f010; + FUN_1400926b0((longlong *)&local_res20); + FUN_140029bf0((longlong *)&local_res20,(short *)&DAT_140133350); + FUN_1400928b0((longlong *)&local_res20,(longlong *)&local_258); + FUN_140029bf0((longlong *)&local_res20,(short *)&DAT_140133350); + iVar6 = 0; + if (((longlong *********)local_res20 != (longlong *********)0x0) && + (local_res20 != (longlong ********)PTR_DAT_14016f010)) { + iVar6 = *(int *)(local_res20 + -1); + } + uVar19 = (ulonglong)(iVar6 - 2U); + plVar16 = FUN_140028f40((longlong *)&local_res20,&local_a0,iVar6 - 2U); + FUN_1400020c0((longlong *)&local_res20,plVar16,uVar19,param_4); + plVar17 = &local_a0; + FUN_140002190(plVar17,plVar16,uVar19,param_4); + local_210 = &local_160; + FUN_14003e7c0(plVar17,plVar16,uVar19,param_4); + local_160 = (longlong *******)PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_160,(longlong *)&local_res20,uVar19,param_4); + plVar17 = FUN_140002040(&local_50,L"PT_USER_KICK",0,param_4); + (*(code *)(*param_1)[5])(param_1,0x8667,plVar17,&local_160); + pwVar28 = L"PT_USER_KICK"; + uVar15 = 0x8667; + uVar19 = (ulonglong)uVar3; + (*(code *)(*param_1[2])[0xe])(); + FUN_140002190((longlong *)&local_res20,uVar19,uVar15,pwVar28); + } + DVar7 = 0; + if ((*(char *)(param_1 + 3) == '\0') && + (DVar7 = 0, *(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x8667); + local_240 = L"PT_USER_KICK"; + local_238 = uVar3; + local_230 = param_3; + (*(code *)(*param_1)[4])(param_1,&local_248); + DVar7 = GetTickCount(); + } + ppppppppplVar13 = local_res10; + puVar23 = local_1c8; + pwVar28 = (wchar_t *)(ulonglong)uVar3; + cVar5 = (*(code *)(*param_1)[0xd])(param_1); + if (cVar5 == '\0') { + pwVar28 = L"PT_USER_KICK"; + (*(code *)(*param_1[2])[8])(); + } + if ((*(char *)(param_1 + 3) == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x8667); + local_240 = L"PT_USER_KICK"; + local_238 = uVar3; + local_230 = param_3; + DVar8 = GetTickCount(); + local_228 = DVar8 - DVar7; + pwVar28 = (wchar_t *)&local_248; + (*(code *)(*param_1)[3])(param_1); + } + pppppppplVar18 = + (longlong ********)FUN_140002190((longlong *)&local_258,pwVar28,puVar23,ppppppppplVar13); + break; + case 0x8668: + puVar23 = local_1c8; + FUN_140049b40(puVar23); + local_1c4 = param_2[10]; + local_1c8[0] = (undefined1)param_2[0x10]; + FUN_14003e7c0(puVar23,pIVar26,uVar15,param_4); + local_res20 = (longlong ********)PTR_DAT_14016f010; + thunk_FUN_140076020(param_2,(longlong *)&local_res20,uVar15,param_4); + pppplVar24 = param_1[2]; + pwVar28 = L"PT_STRING_COMMAND"; + (*(code *)(*pppplVar24)[9])(); + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if (*(char *)(param_1 + 3) == '\0') { + (*(code *)(*param_1[2])[0xe])(param_1[2],uVar3,0x8668,L"PT_STRING_COMMAND",&DAT_140131724) + ; + } + } + else if (*(char *)(param_1 + 3) == '\0') { + FUN_14003e7c0(pppplVar24,param_2,pwVar28,param_4); + local_res10[0] = (longlong ********)PTR_DAT_14016f010; + FUN_1400928b0((longlong *)local_res10,(longlong *)&local_res20); + FUN_140029bf0((longlong *)local_res10,(short *)&DAT_140133350); + iVar6 = 0; + if (((longlong *********)local_res10[0] != (longlong *********)0x0) && + (local_res10[0] != (longlong ********)PTR_DAT_14016f010)) { + iVar6 = *(int *)(local_res10[0] + -1); + } + uVar19 = (ulonglong)(iVar6 - 2U); + plVar16 = FUN_140028f40((longlong *)local_res10,&local_90,iVar6 - 2U); + FUN_1400020c0((longlong *)local_res10,plVar16,uVar19,param_4); + plVar17 = &local_90; + FUN_140002190(plVar17,plVar16,uVar19,param_4); + local_258 = &local_150; + FUN_14003e7c0(plVar17,plVar16,uVar19,param_4); + local_150 = (longlong *******)PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_150,(longlong *)local_res10,uVar19,param_4); + plVar17 = FUN_140002040(&local_40,L"PT_STRING_COMMAND",0,param_4); + (*(code *)(*param_1)[5])(param_1,0x8668,plVar17,&local_150); + pwVar28 = L"PT_STRING_COMMAND"; + uVar15 = 0x8668; + uVar19 = (ulonglong)uVar3; + (*(code *)(*param_1[2])[0xe])(); + FUN_140002190((longlong *)local_res10,uVar19,uVar15,pwVar28); + } + DVar7 = 0; + if ((*(char *)(param_1 + 3) == '\0') && + (DVar7 = 0, *(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x8668); + local_240 = L"PT_STRING_COMMAND"; + local_238 = uVar3; + local_230 = param_3; + (*(code *)(*param_1)[4])(param_1,&local_248); + DVar7 = GetTickCount(); + } + ppppppppplVar13 = &local_res20; + puVar23 = local_1c8; + pwVar28 = (wchar_t *)(ulonglong)uVar3; + cVar5 = (*(code *)(*param_1)[0xe])(param_1); + if (cVar5 == '\0') { + pwVar28 = L"PT_STRING_COMMAND"; + (*(code *)(*param_1[2])[8])(); + } + if ((*(char *)(param_1 + 3) == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x8668); + local_240 = L"PT_STRING_COMMAND"; + local_238 = uVar3; + local_230 = param_3; + DVar8 = GetTickCount(); + local_228 = DVar8 - DVar7; + pwVar28 = (wchar_t *)&local_248; + (*(code *)(*param_1)[3])(param_1); + } + pppppppplVar18 = + (longlong ********) + FUN_140002190((longlong *)&local_res20,pwVar28,puVar23,ppppppppplVar13); + break; + case 0x8669: + FUN_140049b40(local_1c8); + local_1c4 = param_2[10]; + local_1c8[0] = (undefined1)param_2[0x10]; + uVar15 = FUN_140074ee0(param_2,&local_res20,1); + uVar25 = local_res10[0]._0_1_; + if ((char)uVar15 != '\0') { + uVar25 = local_res20._0_1_; + } + local_res10[0] = (longlong ********)CONCAT71(local_res10[0]._1_7_,uVar25); + uVar15 = FUN_140074ee0(param_2,&local_258,4); + uVar20 = local_200._0_4_; + if ((char)uVar15 != '\0') { + uVar20 = local_258._0_4_; + } + local_200 = (longlong ********)CONCAT44(local_200._4_4_,uVar20); + uVar15 = FUN_140074ee0(param_2,&local_210,4); + uVar20 = (uint)local_220; + if ((char)uVar15 != '\0') { + uVar20 = local_210._0_4_; + } + local_220 = (longlong ********)CONCAT44(local_220._4_4_,uVar20); + pppplVar24 = param_1[2]; + pwVar28 = L"PT_REAL_TIME_EVENT"; + (*(code *)(*pppplVar24)[9])(); + DVar7 = 0; + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if (*(char *)(param_1 + 3) == '\0') { + (*(code *)(*param_1[2])[0xe]) + (param_1[2],uVar3,0x8669,L"PT_REAL_TIME_EVENT",&DAT_140131724); + } + } + else if (*(char *)(param_1 + 3) == '\0') { + FUN_14003e7c0(pppplVar24,param_2,pwVar28,param_4); + local_res20 = (longlong ********)PTR_DAT_14016f010; + FUN_1400925d0((longlong *)&local_res20,(char *)local_res10); + FUN_140029bf0((longlong *)&local_res20,(short *)&DAT_140133350); + FUN_1400926b0((longlong *)&local_res20); + FUN_140029bf0((longlong *)&local_res20,(short *)&DAT_140133350); + FUN_1400926b0((longlong *)&local_res20); + FUN_140029bf0((longlong *)&local_res20,(short *)&DAT_140133350); + iVar6 = 0; + if (((longlong *********)local_res20 != (longlong *********)0x0) && + (local_res20 != (longlong ********)PTR_DAT_14016f010)) { + iVar6 = *(int *)(local_res20 + -1); + } + uVar19 = (ulonglong)(iVar6 - 2U); + plVar16 = FUN_140028f40((longlong *)&local_res20,&local_b0,iVar6 - 2U); + FUN_1400020c0((longlong *)&local_res20,plVar16,uVar19,param_4); + plVar17 = &local_b0; + FUN_140002190(plVar17,plVar16,uVar19,param_4); + local_258 = &local_140; + FUN_14003e7c0(plVar17,plVar16,uVar19,param_4); + local_140 = (longlong *******)PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_140,(longlong *)&local_res20,uVar19,param_4); + plVar17 = FUN_140002040(&local_68,L"PT_REAL_TIME_EVENT",0,param_4); + (*(code *)(*param_1)[5])(param_1,0x8669,plVar17,&local_140); + pwVar28 = L"PT_REAL_TIME_EVENT"; + uVar15 = 0x8669; + uVar19 = (ulonglong)uVar3; + (*(code *)(*param_1[2])[0xe])(); + FUN_140002190((longlong *)&local_res20,uVar19,uVar15,pwVar28); + } + if ((*(char *)(param_1 + 3) == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x8669); + local_240 = L"PT_REAL_TIME_EVENT"; + local_238 = uVar3; + local_230 = param_3; + (*(code *)(*param_1)[4])(param_1,&local_248); + DVar7 = GetTickCount(); + } + pppppppplVar18 = + (longlong ********) + (*(code *)(*param_1)[0xf])(param_1,uVar3,local_1c8,local_res10,&local_200,&local_220); + if ((char)pppppppplVar18 == '\0') { + pppppppplVar18 = + (longlong ********)(*(code *)(*param_1[2])[8])(param_1[2],L"PT_REAL_TIME_EVENT"); + } + if ((*(char *)(param_1 + 3) == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x8669); + local_240 = L"PT_REAL_TIME_EVENT"; + goto LAB_14002eed4; + } + break; + case 0x866a: + FUN_140049b40(local_1c8); + local_1c4 = param_2[10]; + local_1c8[0] = (undefined1)param_2[0x10]; + FUN_140075970(param_2,(undefined4 *)local_res10,uVar15,param_4); + pppplVar24 = param_1[2]; + pwVar28 = L"REQ_AGENT_UPDATE"; + (*(code *)(*pppplVar24)[9])(); + DVar7 = 0; + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if (*(char *)(param_1 + 3) == '\0') { + (*(code *)(*param_1[2])[0xe])(param_1[2],uVar3,0x866a,L"REQ_AGENT_UPDATE",&DAT_140131724); + } + } + else if (*(char *)(param_1 + 3) == '\0') { + FUN_14003e7c0(pppplVar24,param_2,pwVar28,param_4); + local_res20 = (longlong ********)PTR_DAT_14016f010; + local_120 = (uint)local_res10[0]; + FUN_1400926b0((longlong *)&local_res20); + FUN_140029bf0((longlong *)&local_res20,(short *)&DAT_140133350); + iVar6 = 0; + if (((longlong *********)local_res20 != (longlong *********)0x0) && + (local_res20 != (longlong ********)PTR_DAT_14016f010)) { + iVar6 = *(int *)(local_res20 + -1); + } + uVar19 = (ulonglong)(iVar6 - 2U); + plVar16 = FUN_140028f40((longlong *)&local_res20,&local_88,iVar6 - 2U); + FUN_1400020c0((longlong *)&local_res20,plVar16,uVar19,param_4); + plVar17 = &local_88; + FUN_140002190(plVar17,plVar16,uVar19,param_4); + local_258 = &local_130; + FUN_14003e7c0(plVar17,plVar16,uVar19,param_4); + local_130 = (longlong *******)PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_130,(longlong *)&local_res20,uVar19,param_4); + plVar17 = FUN_140002040(&local_48,L"REQ_AGENT_UPDATE",0,param_4); + (*(code *)(*param_1)[5])(param_1,0x866a,plVar17,&local_130); + pwVar28 = L"REQ_AGENT_UPDATE"; + uVar15 = 0x866a; + uVar19 = (ulonglong)uVar3; + (*(code *)(*param_1[2])[0xe])(); + FUN_140002190((longlong *)&local_res20,uVar19,uVar15,pwVar28); + } + if ((*(char *)(param_1 + 3) == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x866a); + local_240 = L"REQ_AGENT_UPDATE"; + local_238 = uVar3; + local_230 = param_3; + (*(code *)(*param_1)[4])(param_1,&local_248); + DVar7 = GetTickCount(); + } + pppppppplVar18 = + (longlong ********)(*(code *)(*param_1)[0x10])(param_1,uVar3,local_1c8,local_res10); + if ((char)pppppppplVar18 == '\0') { + pppppppplVar18 = + (longlong ********)(*(code *)(*param_1[2])[8])(param_1[2],L"REQ_AGENT_UPDATE"); + } + if ((*(char *)(param_1 + 3) == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x866a); + local_240 = L"REQ_AGENT_UPDATE"; + goto LAB_14002eed4; + } + break; + case 0x866b: + FUN_140049b40(local_1c8); + local_1c4 = param_2[10]; + local_1c8[0] = (undefined1)param_2[0x10]; + FUN_140075970(param_2,(undefined4 *)local_res10,uVar15,param_4); + pppplVar24 = param_1[2]; + pwVar28 = L"REQ_AGENT_SERVER_ON"; + (*(code *)(*pppplVar24)[9])(); + DVar7 = 0; + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if (*(char *)(param_1 + 3) == '\0') { + (*(code *)(*param_1[2])[0xe]) + (param_1[2],uVar3,0x866b,L"REQ_AGENT_SERVER_ON",&DAT_140131724); + } + } + else if (*(char *)(param_1 + 3) == '\0') { + FUN_14003e7c0(pppplVar24,param_2,pwVar28,param_4); + local_res20 = (longlong ********)PTR_DAT_14016f010; + local_f0 = (uint)local_res10[0]; + FUN_1400926b0((longlong *)&local_res20); + FUN_140029bf0((longlong *)&local_res20,(short *)&DAT_140133350); + iVar6 = 0; + if (((longlong *********)local_res20 != (longlong *********)0x0) && + (local_res20 != (longlong ********)PTR_DAT_14016f010)) { + iVar6 = *(int *)(local_res20 + -1); + } + uVar19 = (ulonglong)(iVar6 - 2U); + plVar16 = FUN_140028f40((longlong *)&local_res20,&local_98,iVar6 - 2U); + FUN_1400020c0((longlong *)&local_res20,plVar16,uVar19,param_4); + plVar17 = &local_98; + FUN_140002190(plVar17,plVar16,uVar19,param_4); + local_258 = &local_168; + FUN_14003e7c0(plVar17,plVar16,uVar19,param_4); + local_168 = (longlong *******)PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_168,(longlong *)&local_res20,uVar19,param_4); + plVar17 = FUN_140002040(&local_58,L"REQ_AGENT_SERVER_ON",0,param_4); + (*(code *)(*param_1)[5])(param_1,0x866b,plVar17,&local_168); + pwVar28 = L"REQ_AGENT_SERVER_ON"; + uVar15 = 0x866b; + uVar19 = (ulonglong)uVar3; + (*(code *)(*param_1[2])[0xe])(); + FUN_140002190((longlong *)&local_res20,uVar19,uVar15,pwVar28); + } + if ((*(char *)(param_1 + 3) == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x866b); + local_240 = L"REQ_AGENT_SERVER_ON"; + local_238 = uVar3; + local_230 = param_3; + (*(code *)(*param_1)[4])(param_1,&local_248); + DVar7 = GetTickCount(); + } + pppppppplVar18 = + (longlong ********)(*(code *)(*param_1)[0x11])(param_1,uVar3,local_1c8,local_res10); + if ((char)pppppppplVar18 == '\0') { + pppppppplVar18 = + (longlong ********)(*(code *)(*param_1[2])[8])(param_1[2],L"REQ_AGENT_SERVER_ON"); + } + if ((*(char *)(param_1 + 3) == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x866b); + local_240 = L"REQ_AGENT_SERVER_ON"; + goto LAB_14002eed4; + } + break; + case 0x866c: + FUN_140049b40(local_1c8); + local_1c4 = param_2[10]; + local_1c8[0] = (undefined1)param_2[0x10]; + FUN_140075970(param_2,(undefined4 *)&local_220,uVar15,param_4); + uVar15 = FUN_140074ee0(param_2,&local_res20,1); + uVar25 = local_res10[0]._0_1_; + if ((char)uVar15 != '\0') { + uVar25 = local_res20._0_1_; + } + local_res10[0] = (longlong ********)CONCAT71(local_res10[0]._1_7_,uVar25); + pppplVar24 = param_1[2]; + pwVar28 = L"REQ_AGENT_AUTO"; + (*(code *)(*pppplVar24)[9])(); + DVar7 = 0; + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if (*(char *)(param_1 + 3) == '\0') { + (*(code *)(*param_1[2])[0xe])(param_1[2],uVar3,0x866c,L"REQ_AGENT_AUTO",&DAT_140131724); + } + } + else if (*(char *)(param_1 + 3) == '\0') { + FUN_14003e7c0(pppplVar24,param_2,pwVar28,param_4); + local_res20 = (longlong ********)PTR_DAT_14016f010; + local_158 = (uint)local_220; + FUN_1400926b0((longlong *)&local_res20); + FUN_140029bf0((longlong *)&local_res20,(short *)&DAT_140133350); + FUN_1400925d0((longlong *)&local_res20,(char *)local_res10); + FUN_140029bf0((longlong *)&local_res20,(short *)&DAT_140133350); + iVar6 = 0; + if (((longlong *********)local_res20 != (longlong *********)0x0) && + (local_res20 != (longlong ********)PTR_DAT_14016f010)) { + iVar6 = *(int *)(local_res20 + -1); + } + uVar19 = (ulonglong)(iVar6 - 2U); + plVar16 = FUN_140028f40((longlong *)&local_res20,&local_a8,iVar6 - 2U); + FUN_1400020c0((longlong *)&local_res20,plVar16,uVar19,param_4); + plVar17 = &local_a8; + FUN_140002190(plVar17,plVar16,uVar19,param_4); + local_258 = &local_110; + FUN_14003e7c0(plVar17,plVar16,uVar19,param_4); + local_110 = (longlong *******)PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_110,(longlong *)&local_res20,uVar19,param_4); + plVar17 = FUN_140002040(local_80 + 2,L"REQ_AGENT_AUTO",0,param_4); + (*(code *)(*param_1)[5])(param_1,0x866c,plVar17,&local_110); + pwVar28 = L"REQ_AGENT_AUTO"; + uVar15 = 0x866c; + uVar19 = (ulonglong)uVar3; + (*(code *)(*param_1[2])[0xe])(); + FUN_140002190((longlong *)&local_res20,uVar19,uVar15,pwVar28); + } + if ((*(char *)(param_1 + 3) == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x866c); + local_240 = L"REQ_AGENT_AUTO"; + local_238 = uVar3; + local_230 = param_3; + (*(code *)(*param_1)[4])(param_1,&local_248); + DVar7 = GetTickCount(); + } + pppppppplVar18 = + (longlong ********) + (*(code *)(*param_1)[0x12])(param_1,uVar3,local_1c8,&local_220,local_res10); + if ((char)pppppppplVar18 == '\0') { + pppppppplVar18 = + (longlong ********)(*(code *)(*param_1[2])[8])(param_1[2],L"REQ_AGENT_AUTO"); + } + if ((*(char *)(param_1 + 3) == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x866c); + local_240 = L"REQ_AGENT_AUTO"; + goto LAB_14002eed4; + } + break; + default: + goto switchD_14002c453_default; + } + uVar19 = CONCAT71((int7)((ulonglong)pppppppplVar18 >> 8),1); + } + return uVar19; +} + diff --git a/decomp/AgentManager_Release_x64/0x14002fe40.pseudo.c b/decomp/AgentManager_Release_x64/0x14002fe40.pseudo.c new file mode 100644 index 00000000..df2a5b05 --- /dev/null +++ b/decomp/AgentManager_Release_x64/0x14002fe40.pseudo.c @@ -0,0 +1,235 @@ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* WARNING: Type propagation algorithm not settling */ + +undefined8 FUN_14002fe40(longlong param_1,undefined4 *param_2) + +{ + short sVar1; + char cVar2; + int iVar3; + undefined **ppuVar4; + undefined **extraout_RAX; + longlong lVar5; + undefined **extraout_RAX_00; + ulonglong uVar6; + longlong lVar7; + longlong lVar8; + short *psVar9; + char *******pppppppcVar10; + char *pcVar11; + longlong *plVar12; + short *psVar13; + char *pcVar14; + bool bVar15; + undefined1 auStack_128 [32]; + undefined **local_108 [5]; + longlong *local_e0; + undefined8 *local_d0; + void *local_c8; + uint local_ac; + undefined8 *local_a8; + void *local_a0; + undefined8 local_88; + char *******local_80 [3]; + ulonglong local_68; + WCHAR local_58; + undefined6 uStack_56; + undefined8 local_48; + ulonglong local_40; + ulonglong local_30; + + local_88 = 0xfffffffffffffffe; + local_30 = DAT_14016f5a0 ^ (ulonglong)auStack_128; + *(undefined4 *)(param_1 + 0x140) = *param_2; + *(undefined1 *)(param_1 + 0x1e8) = *(undefined1 *)(param_2 + 3); + FUN_140001630((longlong *)(param_1 + 8),(longlong *)(param_2 + 0x1e),0,0xffffffffffffffff); + FUN_140001630((longlong *)(param_1 + 0x30),(longlong *)(param_2 + 10),0,0xffffffffffffffff); + FUN_140001630((longlong *)(param_1 + 0x58),(longlong *)(param_2 + 0x14),0,0xffffffffffffffff); + *(undefined4 *)(param_1 + 0x80) = param_2[4]; + *(undefined4 *)(param_1 + 0x84) = param_2[5]; + *(undefined4 *)(param_1 + 0x88) = param_2[6]; + *(undefined4 *)(param_1 + 0x8c) = param_2[7]; + psVar9 = (short *)&DAT_1401750b0; + if (7 < DAT_1401750c8) { + psVar9 = DAT_1401750b0; + } + local_40 = 7; + lVar5 = 0; + local_48 = 0; + local_58 = L'\0'; + uVar6 = 0xffffffffffffffff; + psVar13 = psVar9; + do { + if (uVar6 == 0) break; + uVar6 = uVar6 - 1; + sVar1 = *psVar13; + psVar13 = psVar13 + 1; + } while (sVar1 != 0); + FUN_140001710((ulonglong *)&local_58,psVar9,~uVar6 - 1); + FUN_1400ed7b0((ulonglong *)local_80,&local_58); + if (7 < local_40) { + operator_delete((void *)CONCAT62(uStack_56,local_58)); + } + local_40 = 7; + local_48 = 0; + local_58 = L'\0'; + pppppppcVar10 = (char *******)local_80; + if (0xf < local_68) { + pppppppcVar10 = local_80[0]; + } + FUN_14001f6d0(local_108,(char *)pppppppcVar10); + DAT_140174c28 = 0; + uVar6 = FUN_14001f7a0((longlong *)local_108,(char *)(local_d0 + 2)); + plVar12 = local_e0; + if ((char)uVar6 == '\0') { + pppppppcVar10 = (char *******)local_80; + if (0xf < local_68) { + pppppppcVar10 = local_80[0]; + } + FUN_14001e070("Error File Name %s : %d - %s",pppppppcVar10,(ulonglong)local_ac,local_a8 + 2); + local_108[0] = TiXmlDocument::vftable; + if (local_a8 != &DAT_14017ce88) { + operator_delete__(local_a0); + } + local_108[0] = TiXmlNode::vftable; + while (local_e0 != (longlong *)0x0) { + plVar12 = (longlong *)local_e0[10]; + (**(code **)*local_e0)(local_e0,1); + local_e0 = plVar12; + } + if (local_d0 != &DAT_14017ce88) { + operator_delete__(local_c8); + } + ppuVar4 = TiXmlBase::vftable; + local_108[0] = TiXmlBase::vftable; + if (0xf < local_68) { + operator_delete(local_80[0]); + ppuVar4 = extraout_RAX; + } + return (ulonglong)ppuVar4 & 0xffffffffffffff00; + } + for (; plVar12 != (longlong *)0x0; plVar12 = (longlong *)plVar12[10]) { + bVar15 = (char *)(plVar12[7] + 0x10) == (char *)0x0; + lVar7 = 3; + pcVar11 = (char *)(plVar12[7] + 0x10); + pcVar14 = "db"; + do { + if (lVar7 == 0) break; + lVar7 = lVar7 + -1; + bVar15 = *pcVar11 == *pcVar14; + pcVar11 = pcVar11 + 1; + pcVar14 = pcVar14 + 1; + } while (bVar15); + if (bVar15) goto LAB_140030083; + } +LAB_1400300c0: + cVar2 = *(char *)(param_1 + 0x1e8); + if (cVar2 == '\x05') { + *(undefined4 *)(param_1 + 0x158) = 1; + } + else { + if (cVar2 == '\f') { + if (lVar5 == 0) goto LAB_140030257; + pcVar11 = "game"; + } + else if (cVar2 == '\x11') { + if (lVar5 == 0) goto LAB_140030257; + pcVar11 = "log"; + } + else if (cVar2 == '\x12') { + if (lVar5 == 0) goto LAB_140030257; + pcVar11 = "chat"; + } + else { + if ((cVar2 != '\x13') || (lVar5 == 0)) goto LAB_140030257; + pcVar11 = "emergency"; + } + lVar5 = FUN_14001ee20(lVar5,(longlong)pcVar11); + if (lVar5 != 0) { + lVar7 = FUN_14001ee20(lVar5,0x140133c50); + if (lVar7 != 0) { + FUN_140033470((ulonglong *)(param_1 + 0x90),(int *)(param_1 + 0x130),lVar7); + } + lVar7 = FUN_14001ee20(lVar5,0x140133c5c); + if (lVar7 != 0) { + FUN_140033470((ulonglong *)(param_1 + 0xb8),(int *)(param_1 + 0x134),lVar7); + } + lVar7 = FUN_14001ee20(lVar5,0x140133c68); + if (lVar7 != 0) { + FUN_140033470((ulonglong *)(param_1 + 0xe0),(int *)(param_1 + 0x138),lVar7); + } + lVar7 = FUN_14001ee20(lVar5,0x140133c70); + if (lVar7 != 0) { + FUN_140033470((ulonglong *)(param_1 + 0x108),(int *)(param_1 + 0x13c),lVar7); + } + lVar5 = FUN_14001ee20(lVar5,0x140133c78); + if (lVar5 != 0) { + for (lVar7 = *(longlong *)(lVar5 + 0xa0); lVar7 != lVar5 + 0x58; + lVar7 = *(longlong *)(lVar7 + 0x48)) { + pcVar11 = (char *)(*(longlong *)(lVar7 + 0x20) + 0x10); + bVar15 = pcVar11 == (char *)0x0; + lVar8 = 6; + pcVar14 = "count"; + do { + if (lVar8 == 0) break; + lVar8 = lVar8 + -1; + bVar15 = *pcVar11 == *pcVar14; + pcVar11 = pcVar11 + 1; + pcVar14 = pcVar14 + 1; + } while (bVar15); + if (bVar15) { + pcVar11 = (char *)(*(longlong *)(lVar7 + 0x30) + 0x10); + if (pcVar11 != (char *)0x0) { + iVar3 = atoi(pcVar11); + *(int *)(param_1 + 0x14c) = iVar3; + } + break; + } + } + } + } + } +LAB_140030257: + local_108[0] = TiXmlDocument::vftable; + if (local_a8 != &DAT_14017ce88) { + operator_delete__(local_a0); + } + local_108[0] = TiXmlNode::vftable; + while (local_e0 != (longlong *)0x0) { + plVar12 = (longlong *)local_e0[10]; + (**(code **)*local_e0)(local_e0,1); + local_e0 = plVar12; + } + if (local_d0 != &DAT_14017ce88) { + operator_delete__(local_c8); + } + ppuVar4 = TiXmlBase::vftable; + local_108[0] = TiXmlBase::vftable; + if (0xf < local_68) { + operator_delete(local_80[0]); + ppuVar4 = extraout_RAX_00; + } + return CONCAT71((int7)((ulonglong)ppuVar4 >> 8),1); +LAB_140030083: + while (lVar7 = (**(code **)(*plVar12 + 0x30))(plVar12), lVar7 == 0) { + do { + plVar12 = (longlong *)plVar12[10]; + if (plVar12 == (longlong *)0x0) goto LAB_1400300c0; + bVar15 = (char *)(plVar12[7] + 0x10) == (char *)0x0; + lVar7 = 3; + pcVar11 = (char *)(plVar12[7] + 0x10); + pcVar14 = "db"; + do { + if (lVar7 == 0) break; + lVar7 = lVar7 + -1; + bVar15 = *pcVar11 == *pcVar14; + pcVar11 = pcVar11 + 1; + pcVar14 = pcVar14 + 1; + } while (bVar15); + } while (!bVar15); + } + lVar5 = (**(code **)(*plVar12 + 0x30))(plVar12); + goto LAB_1400300c0; +} + diff --git a/decomp/AgentManager_Release_x64/0x140032f70.pseudo.c b/decomp/AgentManager_Release_x64/0x140032f70.pseudo.c new file mode 100644 index 00000000..635b7167 --- /dev/null +++ b/decomp/AgentManager_Release_x64/0x140032f70.pseudo.c @@ -0,0 +1,223 @@ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* WARNING: Type propagation algorithm not settling */ + +ulonglong FUN_140032f70(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + short sVar1; + longlong lVar2; + undefined **ppuVar3; + undefined **extraout_RAX; + undefined **extraout_RAX_00; + ulonglong uVar4; + longlong lVar5; + short *psVar6; + char *******pppppppcVar7; + longlong *plVar8; + char *pcVar9; + short *psVar10; + char *pcVar11; + bool bVar12; + undefined1 auStack_118 [32]; + undefined **local_f8 [5]; + longlong *local_d0; + undefined8 *local_c0; + void *local_b8; + uint local_9c; + undefined8 *local_98; + void *local_90; + undefined8 local_78; + char *******local_70 [3]; + ulonglong local_58; + WCHAR local_48; + undefined6 uStack_46; + undefined8 local_38; + ulonglong local_30; + ulonglong local_20; + + local_78 = 0xfffffffffffffffe; + local_20 = DAT_14016f5a0 ^ (ulonglong)auStack_118; + psVar6 = (short *)&DAT_1401750b0; + if (7 < DAT_1401750c8) { + psVar6 = DAT_1401750b0; + } + local_30 = 7; + local_38 = 0; + local_48 = L'\0'; + uVar4 = 0xffffffffffffffff; + psVar10 = psVar6; + do { + if (uVar4 == 0) break; + uVar4 = uVar4 - 1; + sVar1 = *psVar10; + psVar10 = psVar10 + 1; + } while (sVar1 != 0); + FUN_140001710((ulonglong *)&local_48,psVar6,~uVar4 - 1); + FUN_1400ed7b0((ulonglong *)local_70,&local_48); + if (7 < local_30) { + operator_delete((void *)CONCAT62(uStack_46,local_48)); + } + local_30 = 7; + local_38 = 0; + local_48 = L'\0'; + pppppppcVar7 = (char *******)local_70; + if (0xf < local_58) { + pppppppcVar7 = local_70[0]; + } + FUN_14001f6d0(local_f8,(char *)pppppppcVar7); + DAT_140174c28 = 0; + uVar4 = FUN_14001f7a0((longlong *)local_f8,(char *)(local_c0 + 2)); + plVar8 = local_d0; + if ((char)uVar4 == '\0') { + FUN_14001e070("Error : %d - %s",(ulonglong)local_9c,local_98 + 2,param_4); + local_f8[0] = TiXmlDocument::vftable; + if (local_98 != &DAT_14017ce88) { + operator_delete__(local_90); + } + local_f8[0] = TiXmlNode::vftable; + while (local_d0 != (longlong *)0x0) { + plVar8 = (longlong *)local_d0[10]; + (**(code **)*local_d0)(local_d0,1); + local_d0 = plVar8; + } + if (local_c0 != &DAT_14017ce88) { + operator_delete__(local_b8); + } + goto LAB_140033434; + } + for (; plVar8 != (longlong *)0x0; plVar8 = (longlong *)plVar8[10]) { + bVar12 = (char *)(plVar8[7] + 0x10) == (char *)0x0; + lVar5 = 3; + pcVar9 = (char *)(plVar8[7] + 0x10); + pcVar11 = "db"; + do { + if (lVar5 == 0) break; + lVar5 = lVar5 + -1; + bVar12 = *pcVar9 == *pcVar11; + pcVar9 = pcVar9 + 1; + pcVar11 = pcVar11 + 1; + } while (bVar12); + if (bVar12) goto LAB_140033126; + } +LAB_1400333c8: + local_f8[0] = TiXmlDocument::vftable; + if (local_98 != &DAT_14017ce88) { + operator_delete__(local_90); + } + local_f8[0] = TiXmlNode::vftable; + while (local_d0 != (longlong *)0x0) { + plVar8 = (longlong *)local_d0[10]; + (**(code **)*local_d0)(local_d0,1); + local_d0 = plVar8; + } + if (local_c0 != &DAT_14017ce88) { + operator_delete__(local_b8); + } +LAB_140033434: + local_f8[0] = TiXmlBase::vftable; + ppuVar3 = TiXmlBase::vftable; + if (0xf < local_58) { + operator_delete(local_70[0]); + ppuVar3 = extraout_RAX_00; + } + return (ulonglong)ppuVar3 & 0xffffffffffffff00; +LAB_140033126: + while (lVar5 = (**(code **)(*plVar8 + 0x30))(plVar8), lVar5 == 0) { + do { + plVar8 = (longlong *)plVar8[10]; + if (plVar8 == (longlong *)0x0) goto LAB_1400333c8; + bVar12 = (char *)(plVar8[7] + 0x10) == (char *)0x0; + lVar5 = 3; + pcVar9 = (char *)(plVar8[7] + 0x10); + pcVar11 = "db"; + do { + if (lVar5 == 0) break; + lVar5 = lVar5 + -1; + bVar12 = *pcVar9 == *pcVar11; + pcVar9 = pcVar9 + 1; + pcVar11 = pcVar11 + 1; + } while (bVar12); + } while (!bVar12); + } + lVar5 = (**(code **)(*plVar8 + 0x30))(plVar8); + if (lVar5 != 0) { + lVar5 = FUN_14001ee20(lVar5,0x140133c98); + if (lVar5 == 0) { + local_f8[0] = TiXmlDocument::vftable; + if (local_98 != &DAT_14017ce88) { + operator_delete__(local_90); + } + local_f8[0] = TiXmlNode::vftable; + while (local_d0 != (longlong *)0x0) { + plVar8 = (longlong *)local_d0[10]; + (**(code **)*local_d0)(local_d0,1); + local_d0 = plVar8; + } + if (local_c0 != &DAT_14017ce88) { + operator_delete__(local_b8); + } + } + else { + lVar2 = FUN_14001ee20(lVar5,0x140133c50); + if (lVar2 == 0) { + local_f8[0] = TiXmlDocument::vftable; + if (local_98 != &DAT_14017ce88) { + operator_delete__(local_90); + } + local_f8[0] = TiXmlNode::vftable; + while (local_d0 != (longlong *)0x0) { + plVar8 = (longlong *)local_d0[10]; + (**(code **)*local_d0)(local_d0,1); + local_d0 = plVar8; + } + if (local_c0 != &DAT_14017ce88) { + operator_delete__(local_b8); + } + } + else { + lVar5 = FUN_14001ee20(lVar5,0x140133e30); + if (lVar5 != 0) { + FUN_140033470((ulonglong *)(param_1 + 0x90),(int *)(param_1 + 0x130),lVar2); + FUN_140033470((ulonglong *)(param_1 + 0x108),(int *)(param_1 + 0x13c),lVar5); + local_f8[0] = TiXmlDocument::vftable; + if (local_98 != &DAT_14017ce88) { + operator_delete__(local_90); + } + local_f8[0] = TiXmlNode::vftable; + while (local_d0 != (longlong *)0x0) { + plVar8 = (longlong *)local_d0[10]; + (**(code **)*local_d0)(local_d0,1); + local_d0 = plVar8; + } + if (local_c0 != &DAT_14017ce88) { + operator_delete__(local_b8); + } + ppuVar3 = TiXmlBase::vftable; + local_f8[0] = TiXmlBase::vftable; + if (0xf < local_58) { + operator_delete(local_70[0]); + ppuVar3 = extraout_RAX; + } + return CONCAT71((int7)((ulonglong)ppuVar3 >> 8),1); + } + local_f8[0] = TiXmlDocument::vftable; + if (local_98 != &DAT_14017ce88) { + operator_delete__(local_90); + } + local_f8[0] = TiXmlNode::vftable; + while (local_d0 != (longlong *)0x0) { + plVar8 = (longlong *)local_d0[10]; + (**(code **)*local_d0)(local_d0,1); + local_d0 = plVar8; + } + if (local_c0 != &DAT_14017ce88) { + operator_delete__(local_b8); + } + } + } + goto LAB_140033434; + } + goto LAB_1400333c8; +} + diff --git a/decomp/AgentManager_Release_x64/0x140034220.pseudo.c b/decomp/AgentManager_Release_x64/0x140034220.pseudo.c new file mode 100644 index 00000000..752eb65d --- /dev/null +++ b/decomp/AgentManager_Release_x64/0x140034220.pseudo.c @@ -0,0 +1,488 @@ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +undefined8 FUN_140034220(longlong param_1) + +{ + short sVar1; + undefined8 *puVar2; + undefined1 auVar3 [16]; + undefined1 auVar4 [16]; + FILE *_File; + errno_t eVar5; + ulonglong uVar6; + longlong *plVar7; + longlong *plVar8; + char *pcVar9; + ulonglong *puVar10; + char *******pppppppcVar11; + longlong *plVar12; + undefined **ppuVar13; + undefined **extraout_RAX; + longlong lVar14; + short *psVar15; + undefined2 *puVar16; + short *psVar17; + longlong *plVar18; + char *pcVar19; + uint uVar20; + bool bVar21; + undefined1 auStack_1c8 [32]; + FILE *local_1a8 [2]; + undefined **local_198 [5]; + longlong *local_170; + undefined8 *local_160; + void *local_158; + undefined8 *local_138; + void *local_130; + char local_11c; + undefined8 local_118; + undefined2 local_110; + undefined6 uStack_10e; + undefined8 local_100; + ulonglong local_f8; + char ******local_e8 [2]; + char *****local_d8; + char *****local_d0; + undefined1 local_b8; + undefined7 uStack_b7; + undefined8 local_a8; + ulonglong local_a0; + undefined2 local_78; + undefined6 uStack_76; + undefined8 local_68; + ulonglong local_60; + ulonglong local_38; + + local_118 = 0xfffffffffffffffe; + local_38 = DAT_14016f5a0 ^ (ulonglong)auStack_1c8; + pcVar9 = (char *)&DAT_140175100; + if (0xf < DAT_140175118) { + pcVar9 = DAT_140175100; + } + FUN_14001f6d0(local_198,pcVar9); + DAT_140174c28 = 0; + uVar6 = FUN_14001f7a0((longlong *)local_198,(char *)(local_160 + 2)); + plVar12 = (longlong *)0x0; + plVar7 = local_170; + if ((char)uVar6 == '\0') { + local_1a8[0] = operator_new(0x88); + plVar7 = plVar12; + if (local_1a8[0] != (FILE *)0x0) { + plVar7 = FUN_140020550(&local_1a8[0]->_ptr); + } + FUN_14001ed00((longlong *)local_198,plVar7); + plVar7 = local_170; + } + for (; plVar8 = plVar12, plVar7 != (longlong *)0x0; plVar7 = (longlong *)plVar7[10]) { + bVar21 = (char *)(plVar7[7] + 0x10) == (char *)0x0; + lVar14 = 7; + pcVar9 = (char *)(plVar7[7] + 0x10); + pcVar19 = "server"; + do { + if (lVar14 == 0) break; + lVar14 = lVar14 + -1; + bVar21 = *pcVar9 == *pcVar19; + pcVar9 = pcVar9 + 1; + pcVar19 = pcVar19 + 1; + } while (bVar21); + if (bVar21) goto LAB_140034303; + } +LAB_140034345: + if (plVar8 == (longlong *)0x0) { + local_1a8[0] = operator_new(0xa8); + plVar8 = plVar12; + if (local_1a8[0] != (FILE *)0x0) { + plVar8 = FUN_14001ef00(&local_1a8[0]->_ptr,"server"); + } + FUN_14001ed00((longlong *)local_198,plVar8); + } + for (pcVar9 = *(char **)(DAT_14017cf50 + 8); plVar7 = plVar12, + pcVar9 != *(char **)(DAT_14017cf50 + 0x10); pcVar9 = pcVar9 + 0x30) { + if (*pcVar9 == '\x18') { + plVar7 = (longlong *)(pcVar9 + 8); + if (7 < *(ulonglong *)(pcVar9 + 0x20)) { + plVar7 = *(longlong **)(pcVar9 + 8); + } + break; + } + } + local_f8 = 7; + local_100 = 0; + local_110._0_1_ = '\0'; + local_110._1_1_ = 0; + uVar6 = 0xffffffffffffffff; + plVar18 = plVar7; + do { + if (uVar6 == 0) break; + uVar6 = uVar6 - 1; + lVar14 = *plVar18; + plVar18 = (longlong *)((longlong)plVar18 + 2); + } while ((short)lVar14 != 0); + FUN_140001710((ulonglong *)&local_110,plVar7,~uVar6 - 1); + FUN_1400ed7b0((ulonglong *)&local_b8,&local_110); + if (7 < local_f8) { + operator_delete((void *)CONCAT62(uStack_10e,CONCAT11(local_110._1_1_,(char)local_110))); + } + local_f8 = 7; + local_100 = 0; + local_110._0_1_ = '\0'; + local_110._1_1_ = 0; + psVar15 = (short *)(param_1 + 0x30); + if (7 < *(ulonglong *)(param_1 + 0x48)) { + psVar15 = *(short **)psVar15; + } + local_d0 = (char *****)0x7; + local_d8 = (char *****)0x0; + local_e8[0] = (char ******)((ulonglong)local_e8[0] & 0xffffffffffff0000); + uVar6 = 0xffffffffffffffff; + psVar17 = psVar15; + do { + if (uVar6 == 0) break; + uVar6 = uVar6 - 1; + sVar1 = *psVar17; + psVar17 = psVar17 + 1; + } while (sVar1 != 0); + FUN_140001710((ulonglong *)local_e8,psVar15,~uVar6 - 1); + puVar10 = FUN_1400ed7b0((ulonglong *)&local_78,(LPCWSTR)local_e8); + if (0xf < puVar10[3]) { + puVar10 = (ulonglong *)*puVar10; + } + FUN_14001f130(plVar8,"ip",(char *)puVar10); + if (0xf < local_60) { + operator_delete((void *)CONCAT62(uStack_76,CONCAT11(local_78._1_1_,(char)local_78))); + } + local_60 = 0xf; + local_68 = 0; + local_78._0_1_ = '\0'; + if (7 < local_d0) { + operator_delete(local_e8[0]); + } + FUN_140020c20((char *)&local_78,0x40,"%d",0xc3b1); + FUN_14001f130(plVar8,"port",(char *)&local_78); + pcVar9 = &local_b8; + if (0xf < local_a0) { + pcVar9 = (char *)CONCAT71(uStack_b7,local_b8); + } + FUN_14001f130(plVar8,"file",pcVar9); + plVar7 = local_170; + if (0xf < local_a0) { + operator_delete((void *)CONCAT71(uStack_b7,local_b8)); + plVar7 = local_170; + } + for (; plVar8 = plVar12, plVar7 != (longlong *)0x0; plVar7 = (longlong *)plVar7[10]) { + bVar21 = (char *)(plVar7[7] + 0x10) == (char *)0x0; + lVar14 = 8; + pcVar9 = (char *)(plVar7[7] + 0x10); + pcVar19 = "connect"; + do { + if (lVar14 == 0) break; + lVar14 = lVar14 + -1; + bVar21 = *pcVar9 == *pcVar19; + pcVar9 = pcVar9 + 1; + pcVar19 = pcVar19 + 1; + } while (bVar21); + if (bVar21) goto LAB_140034543; + } +LAB_140034585: + if (plVar8 == (longlong *)0x0) { + local_1a8[0] = operator_new(0xa8); + plVar8 = plVar12; + if (local_1a8[0] != (FILE *)0x0) { + plVar8 = FUN_14001ef00(&local_1a8[0]->_ptr,"connect"); + } + FUN_14001ed00((longlong *)local_198,plVar8); + } + plVar7 = plVar12; + if (*(longlong *)(param_1 + 0x1c8) != 0) { + auVar3._8_8_ = 0; + auVar3._0_8_ = *(ulonglong *)(param_1 + 0x1b0); + for (puVar2 = *(undefined8 **) + (*(longlong *)(param_1 + 0x1a8) + + SUB168((ZEXT816(0) << 0x40 | ZEXT816(0x15)) % auVar3,0) * 8); + puVar2 != (undefined8 *)0x0; puVar2 = (undefined8 *)*puVar2) { + if (*(char *)(puVar2 + 1) == '\x15') { + if (((puVar2 != (undefined8 *)0x0) && (lVar14 = puVar2[2], lVar14 != puVar2[3])) && + (plVar7 = (longlong *)(lVar14 + 0x30), 7 < *(ulonglong *)(lVar14 + 0x48))) { + plVar7 = *(longlong **)(lVar14 + 0x30); + } + break; + } + } + } + local_f8 = 7; + local_100 = 0; + local_110._0_1_ = '\0'; + local_110._1_1_ = 0; + uVar6 = 0xffffffffffffffff; + plVar18 = plVar7; + do { + if (uVar6 == 0) break; + uVar6 = uVar6 - 1; + lVar14 = *plVar18; + plVar18 = (longlong *)((longlong)plVar18 + 2); + } while ((short)lVar14 != 0); + FUN_140001710((ulonglong *)&local_110,plVar7,~uVar6 - 1); + FUN_1400ed7b0((ulonglong *)&local_b8,&local_110); + if (7 < local_f8) { + operator_delete((void *)CONCAT62(uStack_10e,CONCAT11(local_110._1_1_,(char)local_110))); + } + local_f8 = 7; + local_100 = 0; + local_110._0_1_ = '\0'; + local_110._1_1_ = 0; + uVar20 = 0; + if (*(longlong *)(param_1 + 0x1c8) != 0) { + auVar4._8_8_ = 0; + auVar4._0_8_ = *(ulonglong *)(param_1 + 0x1b0); + for (puVar2 = *(undefined8 **) + (*(longlong *)(param_1 + 0x1a8) + + SUB168((ZEXT816(0) << 0x40 | ZEXT816(0x15)) % auVar4,0) * 8); + puVar2 != (undefined8 *)0x0; puVar2 = (undefined8 *)*puVar2) { + if (*(char *)(puVar2 + 1) == '\x15') { + if ((puVar2 != (undefined8 *)0x0) && (puVar2[2] != puVar2[3])) { + uVar20 = *(uint *)(puVar2[2] + 4); + } + break; + } + } + } + pcVar9 = &local_b8; + if (0xf < local_a0) { + pcVar9 = (char *)CONCAT71(uStack_b7,local_b8); + } + FUN_14001f130(plVar8,"ip",pcVar9); + FUN_140020c20((char *)&local_78,0x40,"%d",(ulonglong)uVar20); + FUN_14001f130(plVar8,"port",(char *)&local_78); + if (0xf < local_a0) { + operator_delete((void *)CONCAT71(uStack_b7,local_b8)); + } + local_f8 = 0xf; + local_100 = 0; + local_110._0_1_ = '\0'; + local_d0 = (char *****)0xf; + local_d8 = (char *****)0x0; + local_e8[0] = (char ******)((ulonglong)local_e8[0] & 0xffffffffffffff00); + if (*(char *)(param_1 + 0x1e8) == '\r') { + uVar6 = 5; + pcVar9 = "agent"; +LAB_140034791: + FUN_14000c9e0((ulonglong *)&local_110,pcVar9,uVar6); + puVar16 = (undefined2 *)CONCAT62(uStack_10e,CONCAT11(local_110._1_1_,(char)local_110)); + if (local_f8 < 0x10) goto LAB_1400347a5; + } + else { + if (*(char *)(param_1 + 0x1e8) == '\x15') { + uVar6 = 0xc; + pcVar9 = "agentmanager"; + goto LAB_140034791; + } +LAB_1400347a5: + puVar16 = &local_110; + } + plVar7 = (longlong *)FUN_14001ee20((longlong)local_198,(longlong)puVar16); + if (plVar7 == (longlong *)0x0) { + local_1a8[0] = operator_new(0xa8); + plVar7 = plVar12; + if (local_1a8[0] != (FILE *)0x0) { + pcVar9 = (char *)&local_110; + if (0xf < local_f8) { + pcVar9 = (char *)CONCAT62(uStack_10e,CONCAT11(local_110._1_1_,(char)local_110)); + } + plVar7 = FUN_14001ef00(&local_1a8[0]->_ptr,pcVar9); + } + FUN_14001ed00((longlong *)local_198,plVar7); + } + for (pcVar9 = *(char **)(DAT_14017cf50 + 8); plVar8 = plVar12, + pcVar9 != *(char **)(DAT_14017cf50 + 0x10); pcVar9 = pcVar9 + 0x30) { + if (*pcVar9 == *(char *)(param_1 + 0x1e8)) { + plVar8 = (longlong *)(pcVar9 + 8); + if (7 < *(ulonglong *)(pcVar9 + 0x20)) { + plVar8 = *(longlong **)(pcVar9 + 8); + } + break; + } + } + local_60 = 7; + local_68 = 0; + local_78._0_1_ = '\0'; + local_78._1_1_ = 0; + uVar6 = 0xffffffffffffffff; + plVar18 = plVar8; + do { + if (uVar6 == 0) break; + uVar6 = uVar6 - 1; + lVar14 = *plVar18; + plVar18 = (longlong *)((longlong)plVar18 + 2); + } while ((short)lVar14 != 0); + FUN_140001710((ulonglong *)&local_78,plVar8,~uVar6 - 1); + pppppppcVar11 = (char *******)FUN_1400ed7b0((ulonglong *)&local_b8,&local_78); + if (local_e8 != pppppppcVar11) { + if ((char ******)0xf < local_d0) { + operator_delete(local_e8[0]); + } + local_d0 = (char *****)0xf; + local_d8 = (char *****)0x0; + local_e8[0] = (char ******)((ulonglong)local_e8[0] & 0xffffffffffffff00); + if (pppppppcVar11[3] < (char ******)0x10) { + memmove(local_e8,pppppppcVar11,(longlong)pppppppcVar11[2] + 1); + } + else { + local_e8[0] = *pppppppcVar11; + *pppppppcVar11 = (char ******)0x0; + } + local_d8 = (char *****)pppppppcVar11[2]; + local_d0 = (char *****)pppppppcVar11[3]; + pppppppcVar11[3] = (char ******)0xf; + pppppppcVar11[2] = (char ******)0x0; + *(undefined1 *)pppppppcVar11 = 0; + } + if (0xf < local_a0) { + operator_delete((void *)CONCAT71(uStack_b7,local_b8)); + } + local_a0 = 0xf; + local_a8 = 0; + local_b8 = '\0'; + if (7 < local_60) { + operator_delete((void *)CONCAT62(uStack_76,CONCAT11(local_78._1_1_,(char)local_78))); + } + pppppppcVar11 = local_e8; + if ((char ******)0xf < local_d0) { + pppppppcVar11 = (char *******)local_e8[0]; + } + FUN_14001f130(plVar7,"file",(char *)pppppppcVar11); + FUN_140020c20(&local_b8,0x40,"%d",(ulonglong)*(uint *)(param_1 + 0x154)); + FUN_14001f130(plVar7,"code",&local_b8); + if ((char ******)0xf < local_d0) { + operator_delete(local_e8[0]); + } + local_d0 = (char *****)0xf; + local_d8 = (char *****)0x0; + local_e8[0] = (char ******)((ulonglong)local_e8[0] & 0xffffffffffffff00); + if (0xf < local_f8) { + operator_delete((void *)CONCAT62(uStack_10e,CONCAT11(local_110._1_1_,(char)local_110))); + } + plVar7 = local_170; + if (*(char *)(param_1 + 0x151) != '\0') { + for (; plVar8 = plVar12, plVar7 != (longlong *)0x0; plVar7 = (longlong *)plVar7[10]) { + bVar21 = (char *)(plVar7[7] + 0x10) == (char *)0x0; + lVar14 = 4; + pcVar9 = (char *)(plVar7[7] + 0x10); + pcVar19 = "dns"; + do { + if (lVar14 == 0) break; + lVar14 = lVar14 + -1; + bVar21 = *pcVar9 == *pcVar19; + pcVar9 = pcVar9 + 1; + pcVar19 = pcVar19 + 1; + } while (bVar21); + if (bVar21) goto LAB_1400349e3; + } +LAB_140034a25: + if (plVar8 == (longlong *)0x0) { + local_1a8[0] = operator_new(0xa8); + if (local_1a8[0] != (FILE *)0x0) { + plVar12 = FUN_14001ef00(&local_1a8[0]->_ptr,"dns"); + } + FUN_14001ed00((longlong *)local_198,plVar12); + plVar8 = plVar12; + } + FUN_140020c20(&local_b8,0x40,"%d",1); + FUN_14001f130(plVar8,"dns",&local_b8); + } + pcVar9 = (char *)&DAT_140175100; + if (0xf < DAT_140175118) { + pcVar9 = DAT_140175100; + } + local_1a8[0] = (FILE *)0x0; + eVar5 = fopen_s(local_1a8,pcVar9,"w"); + _File = local_1a8[0]; + if ((eVar5 == 0) && (local_1a8[0] != (FILE *)0x0)) { + if (local_11c != '\0') { + fputc(0xef,local_1a8[0]); + fputc(0xbb,_File); + fputc(0xbf,_File); + } + (*(code *)local_198[0][1])(local_198,_File,0); + ferror(_File); + fclose(_File); + } + printf("Create Patch Option File Succeed \n"); + local_198[0] = TiXmlDocument::vftable; + if (local_138 != &DAT_14017ce88) { + operator_delete__(local_130); + } + ppuVar13 = TiXmlNode::vftable; + local_198[0] = TiXmlNode::vftable; + while (local_170 != (longlong *)0x0) { + plVar7 = (longlong *)local_170[10]; + ppuVar13 = (undefined **)(**(code **)*local_170)(local_170,1); + local_170 = plVar7; + } + if (local_160 != &DAT_14017ce88) { + operator_delete__(local_158); + ppuVar13 = extraout_RAX; + } + return CONCAT71((int7)((ulonglong)ppuVar13 >> 8),1); +LAB_140034303: + while (lVar14 = (**(code **)(*plVar7 + 0x30))(plVar7), lVar14 == 0) { + do { + plVar7 = (longlong *)plVar7[10]; + if (plVar7 == (longlong *)0x0) goto LAB_140034345; + bVar21 = (char *)(plVar7[7] + 0x10) == (char *)0x0; + lVar14 = 7; + pcVar9 = (char *)(plVar7[7] + 0x10); + pcVar19 = "server"; + do { + if (lVar14 == 0) break; + lVar14 = lVar14 + -1; + bVar21 = *pcVar9 == *pcVar19; + pcVar9 = pcVar9 + 1; + pcVar19 = pcVar19 + 1; + } while (bVar21); + } while (!bVar21); + } + plVar8 = (longlong *)(**(code **)(*plVar7 + 0x30))(plVar7); + goto LAB_140034345; +LAB_140034543: + while (lVar14 = (**(code **)(*plVar7 + 0x30))(plVar7), lVar14 == 0) { + do { + plVar7 = (longlong *)plVar7[10]; + if (plVar7 == (longlong *)0x0) goto LAB_140034585; + bVar21 = (char *)(plVar7[7] + 0x10) == (char *)0x0; + lVar14 = 8; + pcVar9 = (char *)(plVar7[7] + 0x10); + pcVar19 = "connect"; + do { + if (lVar14 == 0) break; + lVar14 = lVar14 + -1; + bVar21 = *pcVar9 == *pcVar19; + pcVar9 = pcVar9 + 1; + pcVar19 = pcVar19 + 1; + } while (bVar21); + } while (!bVar21); + } + plVar8 = (longlong *)(**(code **)(*plVar7 + 0x30))(plVar7); + goto LAB_140034585; +LAB_1400349e3: + while (lVar14 = (**(code **)(*plVar7 + 0x30))(plVar7), lVar14 == 0) { + do { + plVar7 = (longlong *)plVar7[10]; + if (plVar7 == (longlong *)0x0) goto LAB_140034a25; + bVar21 = (char *)(plVar7[7] + 0x10) == (char *)0x0; + lVar14 = 4; + pcVar9 = (char *)(plVar7[7] + 0x10); + pcVar19 = "dns"; + do { + if (lVar14 == 0) break; + lVar14 = lVar14 + -1; + bVar21 = *pcVar9 == *pcVar19; + pcVar9 = pcVar9 + 1; + pcVar19 = pcVar19 + 1; + } while (bVar21); + } while (!bVar21); + } + plVar8 = (longlong *)(**(code **)(*plVar7 + 0x30))(plVar7); + goto LAB_140034a25; +} + diff --git a/decomp/AgentManager_Release_x64/binary_overview.json b/decomp/AgentManager_Release_x64/binary_overview.json new file mode 100644 index 00000000..912be143 --- /dev/null +++ b/decomp/AgentManager_Release_x64/binary_overview.json @@ -0,0 +1,180 @@ +{ + "analysis_profile": { + "digest": "3decca45d3460a9d91b48bfb293ee703f84841379edceee6350b1ea3393d3fe1", + "parameters": { + "upstream_analysis_profile": { + "digest": "de1d200f7c777e7d47b9def837d80cf1e4326106753fd45afae1b8f0c68936f6", + "parameters": { + "analyzer_preset": "ghidra-default", + "annotation_policy": "atomic-function-entry-metadata-v1", + "architecture": "x86_64", + "available_architectures": [ + "x86_64" + ], + "call_relationship_coverage": "function-body-call-coverage-v5", + "compiler_spec_id": "auto-default", + "decompiler_jump_loads": true, + "executable_role": "application", + "function_body_evidence": "complete-inclusive-ranges-v1", + "function_boundary_observations": "ghidra-function-boundary-limitations-v3", + "function_dossier_coverage": "observed-facets-and-call-relationships-v1", + "function_references": "complete-body-and-entry-reference-manager-v2", + "import_mode": "ephemeral-source-immutable", + "instruction_flow_evidence": "decoded-return-pcode-v1", + "instruction_references": "exact-address-incoming-v1", + "jump_table_evidence": "typed-case-default-blocks-v1", + "language_id": "auto-from-header", + "load_image_observations": "source-mappings-entry-context-v2", + "loader": "auto-from-header", + "location_resolution": "explicit-address-exact-entry-symbol-first-v3", + "managed": false, + "native_aot_metadata": { + "contract_revision": "rtr-9.1-x64-pe-read-only-v3", + "report_bytes": 4194304, + "source_bytes": 134217728, + "work_units": 67108864, + "working_memory_bytes": 67108864 + }, + "no_return_repair": "returning-imports-decoded-return-v2", + "pdb_observations": "program-info-v1", + "procedure_file_offset_resolution": "address-first-unique-target-source-mapping-v2", + "process_launch": "inspected-jvm-launch-support-v1", + "string_inventory_evidence": "defined-data-coverage-v1", + "target_format": "pe", + "target_kind": "executable" + }, + "provider": { + "id": "ghidra", + "name": "Ghidra", + "version": "12.1.2" + } + }, + "workflow_revision": 3 + }, + "provider": { + "id": "rea-workflow", + "name": "REA composed investigation workflow", + "version": "1" + } + }, + "authority": "shipped-artifact", + "confidence": "derived", + "environment": null, + "evidence_id": "ev_c3719a85eaa4d87a349ee02f317e2085e8db8266c450d412b0ce623bc094e871", + "evidence_links": [], + "limitations": [ + "Derived by an REA composed workflow.", + "A headless Ghidra session contains exactly one imported Program, unlike Hopper's multi-document GUI session.", + "Cancelling an active Ghidra request terminates its ephemeral database and discards session annotations. The selected target remains open; the next provider query imports the original artifact again.", + "Charset is reported, while a non-missing terminator cannot distinguish a present terminator from a fixed or Pascal layout.", + "Default-space addresses use lowercase 0x-prefixed hexadecimal; other address spaces use :0x.", + "External functions and local thunks are distinct; procedure metadata identifies both and preserves a thunk target when Ghidra resolves one.", + "Memory-block end addresses are exclusive; permissions come from Ghidra MemoryBlock flags rather than inference from section names.", + "Only Ghidra-defined string Data is observed; packed or undefined string bytes may be absent. Completeness applies to that inventory, and an empty search does not establish that text is absent from the artifact. If an address is known, use read_bytes and xrefs to inspect bytes and references.", + "The imported Program and temporary project are ephemeral and deleted on close. Annotation operations edit session database metadata; original executable bytes are never written.", + "The session serves operations only after Ghidra reports default auto-analysis complete; incomplete analysis does not expose partial results.", + "The target references PDB AgentManager_Release_x64.pdb (GUID cc211b01-ac46-4192-9b64-b1d16ba71956, age (hex) 1, signature unknown, version RSDS); Ghidra reports load state unknown. Original names and types may be missing; an empty name search does not prove a procedure is absent. Use list_procedures and address-based analysis to inspect recovered functions. REA does not admit a caller-selected PDB companion.", + "This session uses Ghidra 12.1.2. The bridge is verified against 12.1.4; other 12.1.x builds are accepted and the observed version is reported." + ], + "locations": [], + "normalized_result": { + "document": "target-8fd8ca917258.exe", + "image_base": "0x140000000", + "procedure_count": 7400, + "segment_count": 9, + "segments": [ + { + "address_space": "ram", + "end": "0x140000400", + "image_base": "0x140000000", + "length": 1024, + "name": "Headers", + "start": "0x140000000" + }, + { + "address_space": "ram", + "end": "0x140104a00", + "image_base": "0x140000000", + "length": 1063424, + "name": ".text", + "start": "0x140001000" + }, + { + "address_space": "ram", + "end": "0x14016ea00", + "image_base": "0x140000000", + "length": 432640, + "name": ".rdata", + "start": "0x140105000" + }, + { + "address_space": "ram", + "end": "0x14017d630", + "image_base": "0x140000000", + "length": 58928, + "name": ".data", + "start": "0x14016f000" + }, + { + "address_space": "ram", + "end": "0x140189800", + "image_base": "0x140000000", + "length": 47104, + "name": ".pdata", + "start": "0x14017e000" + }, + { + "address_space": "ram", + "end": "0x14018a200", + "image_base": "0x140000000", + "length": 512, + "name": ".tls", + "start": "0x14018a000" + }, + { + "address_space": "ram", + "end": "0x14018b200", + "image_base": "0x140000000", + "length": 512, + "name": ".rsrc", + "start": "0x14018b000" + }, + { + "address_space": "ram", + "end": "0x14018e800", + "image_base": "0x140000000", + "length": 10240, + "name": ".reloc", + "start": "0x14018c000" + }, + { + "address_space": "ram", + "end": "0xff00001850", + "image_base": "0x140000000", + "length": 6224, + "name": "tdb", + "start": "0xff00000000" + } + ], + "string_count": 1613 + }, + "operation": "binary_overview", + "parameters": {}, + "predicate_type": "rea.analysis", + "provider": { + "id": "rea-workflow", + "name": "REA composed investigation workflow", + "version": "1" + }, + "raw_result": null, + "relationship_coverage": null, + "subject": { + "architecture": "x86_64", + "digest": { + "sha256": "8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186" + }, + "format": "pe", + "local_path": "/home/baobeld/Development/rusty-hearts/re-project/binaries/AgentManager_Release_x64.exe", + "name": "AgentManager_Release_x64.exe" + } +} \ No newline at end of file diff --git a/decomp/AgentManager_Release_x64/evidence-bundle.json b/decomp/AgentManager_Release_x64/evidence-bundle.json new file mode 100644 index 00000000..16297a4e --- /dev/null +++ b/decomp/AgentManager_Release_x64/evidence-bundle.json @@ -0,0 +1 @@ +{"artifacts":[{"architecture":"x86_64","digest":{"sha256":"8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186"},"format":"pe"}],"captures":[],"environments":[],"providers":[{"id":"ghidra","name":"Ghidra","version":"12.1.2"},{"id":"rea-workflow","name":"REA composed investigation workflow","version":"1"}],"records":[{"analysis_profile":{"digest":"de1d200f7c777e7d47b9def837d80cf1e4326106753fd45afae1b8f0c68936f6","parameters":{"analyzer_preset":"ghidra-default","annotation_policy":"atomic-function-entry-metadata-v1","architecture":"x86_64","available_architectures":["x86_64"],"call_relationship_coverage":"function-body-call-coverage-v5","compiler_spec_id":"auto-default","decompiler_jump_loads":true,"executable_role":"application","function_body_evidence":"complete-inclusive-ranges-v1","function_boundary_observations":"ghidra-function-boundary-limitations-v3","function_dossier_coverage":"observed-facets-and-call-relationships-v1","function_references":"complete-body-and-entry-reference-manager-v2","import_mode":"ephemeral-source-immutable","instruction_flow_evidence":"decoded-return-pcode-v1","instruction_references":"exact-address-incoming-v1","jump_table_evidence":"typed-case-default-blocks-v1","language_id":"auto-from-header","load_image_observations":"source-mappings-entry-context-v2","loader":"auto-from-header","location_resolution":"explicit-address-exact-entry-symbol-first-v3","managed":false,"native_aot_metadata":{"contract_revision":"rtr-9.1-x64-pe-read-only-v3","report_bytes":4194304,"source_bytes":134217728,"work_units":67108864,"working_memory_bytes":67108864},"no_return_repair":"returning-imports-decoded-return-v2","pdb_observations":"program-info-v1","procedure_file_offset_resolution":"address-first-unique-target-source-mapping-v2","process_launch":"inspected-jvm-launch-support-v1","string_inventory_evidence":"defined-data-coverage-v1","target_format":"pe","target_kind":"executable"},"provider":{"id":"ghidra","name":"Ghidra","version":"12.1.2"}},"authority":"shipped-artifact","confidence":"observed","environment":null,"evidence_id":"ev_3fe7cbab1c6d10a78a2915da67aec200f047edb8c4cc14bbf21fd0ebecf84c78","evidence_links":[],"limitations":["The session serves operations only after Ghidra reports default auto-analysis complete; incomplete analysis does not expose partial results.","The imported Program and temporary project are ephemeral and deleted on close. Annotation operations edit session database metadata; original executable bytes are never written.","Cancelling an active Ghidra request terminates its ephemeral database and discards session annotations. The selected target remains open; the next provider query imports the original artifact again.","Default-space addresses use lowercase 0x-prefixed hexadecimal; other address spaces use :0x.","Bytes reflect Ghidra's initialized memory, including loader fixups. Reads stop at an unmapped or uninitialized byte and report completeness explicitly.","The target references PDB AgentManager_Release_x64.pdb (GUID cc211b01-ac46-4192-9b64-b1d16ba71956, age (hex) 1, signature unknown, version RSDS); Ghidra reports load state unknown. Original names and types may be missing; an empty name search does not prove a procedure is absent. Use list_procedures and address-based analysis to inspect recovered functions. REA does not admit a caller-selected PDB companion.","This session uses Ghidra 12.1.2. The bridge is verified against 12.1.4; other 12.1.x builds are accepted and the observed version is reported."],"locations":[],"normalized_result":{"address":"0x14016f5c0","bytes_hex":"fffffffffffffffffeffffff010000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000010000000100000000000000000000000000000001010000000000000000000000000000","complete":true,"requested_bytes":96,"returned_bytes":96},"operation":"read_bytes","parameters":{"address":"0x14016f5c0","length":96},"predicate_type":"rea.analysis","provider":{"id":"ghidra","name":"Ghidra","version":"12.1.2"},"raw_result":{"address":"0x14016f5c0","bytes_hex":"fffffffffffffffffeffffff010000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000010000000100000000000000000000000000000001010000000000000000000000000000","complete":true,"requested_bytes":96,"returned_bytes":96},"relationship_coverage":null,"subject":{"architecture":"x86_64","digest":{"sha256":"8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186"},"format":"pe","local_path":"/home/baobeld/Development/rusty-hearts/re-project/binaries/AgentManager_Release_x64.exe","name":"AgentManager_Release_x64.exe"}},{"analysis_profile":{"digest":"59ccbf78a7678313ce6b8dc5d2aff50bb87fd4c4da522e2f0de63ece7a22c57a","parameters":{"upstream_analysis_profile":{"digest":"de1d200f7c777e7d47b9def837d80cf1e4326106753fd45afae1b8f0c68936f6","parameters":{"analyzer_preset":"ghidra-default","annotation_policy":"atomic-function-entry-metadata-v1","architecture":"x86_64","available_architectures":["x86_64"],"call_relationship_coverage":"function-body-call-coverage-v5","compiler_spec_id":"auto-default","decompiler_jump_loads":true,"executable_role":"application","function_body_evidence":"complete-inclusive-ranges-v1","function_boundary_observations":"ghidra-function-boundary-limitations-v3","function_dossier_coverage":"observed-facets-and-call-relationships-v1","function_references":"complete-body-and-entry-reference-manager-v2","import_mode":"ephemeral-source-immutable","instruction_flow_evidence":"decoded-return-pcode-v1","instruction_references":"exact-address-incoming-v1","jump_table_evidence":"typed-case-default-blocks-v1","language_id":"auto-from-header","load_image_observations":"source-mappings-entry-context-v2","loader":"auto-from-header","location_resolution":"explicit-address-exact-entry-symbol-first-v3","managed":false,"native_aot_metadata":{"contract_revision":"rtr-9.1-x64-pe-read-only-v3","report_bytes":4194304,"source_bytes":134217728,"work_units":67108864,"working_memory_bytes":67108864},"no_return_repair":"returning-imports-decoded-return-v2","pdb_observations":"program-info-v1","procedure_file_offset_resolution":"address-first-unique-target-source-mapping-v2","process_launch":"inspected-jvm-launch-support-v1","string_inventory_evidence":"defined-data-coverage-v1","target_format":"pe","target_kind":"executable"},"provider":{"id":"ghidra","name":"Ghidra","version":"12.1.2"}},"workflow_revision":2},"provider":{"id":"rea-workflow","name":"REA composed investigation workflow","version":"1"}},"authority":"shipped-artifact","confidence":"derived","environment":null,"evidence_id":"ev_7ee0b809fc04d1cd71353533bebdd577bbd7977a53527568bc22f5cf9012dcf5","evidence_links":[],"limitations":["Derived by an REA composed workflow.","Cancelling an active Ghidra request terminates its ephemeral database and discards session annotations. The selected target remains open; the next provider query imports the original artifact again.","Default-space addresses use lowercase 0x-prefixed hexadecimal; other address spaces use :0x.","External functions and functions without an analyzable body return null; other decompiler failures remain explicit.","External functions and local thunks are distinct; procedure metadata identifies both and preserves a thunk target when Ghidra resolves one.","Ghidra Listing reports a terminal call at 0x140015ff2 to 0x14003dec0 FUN_14003dec0 (external=false, thunk=false, hasNoReturn=true); fallthrough is excluded by Ghidra's flow model. This records Ghidra's FunctionManager flag, not an independent verification that the callee cannot return.","Pseudocode is Ghidra decompiler output, not original source and not text-equivalent to Hopper output.","The imported Program and temporary project are ephemeral and deleted on close. Annotation operations edit session database metadata; original executable bytes are never written.","The session serves operations only after Ghidra reports default auto-analysis complete; incomplete analysis does not expose partial results.","The target references PDB AgentManager_Release_x64.pdb (GUID cc211b01-ac46-4192-9b64-b1d16ba71956, age (hex) 1, signature unknown, version RSDS); Ghidra reports load state unknown. Original names and types may be missing; an empty name search does not prove a procedure is absent. Use list_procedures and address-based analysis to inspect recovered functions. REA does not admit a caller-selected PDB companion.","This session uses Ghidra 12.1.2. The bridge is verified against 12.1.4; other 12.1.x builds are accepted and the observed version is reported."],"locations":[{"address":"0x140026520","kind":"address"},{"address":"0x14002c3c0","kind":"address"},{"address":"0x140015290","kind":"address"},{"address":"0x140009d00","kind":"address"},{"address":"0x1400137f0","kind":"address"},{"address":"0x140015ac0","kind":"address"},{"address":"0x14001d850","kind":"address"}],"normalized_result":{"failed":0,"items":[{"address":"0x140026520","procedure":{"address":"0x140026520","name":"FUN_140026520","status":"resolved"},"pseudocode":"\n/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */\n/* WARNING: Type propagation algorithm not settling */\n\nulonglong FUN_140026520(longlong *param_1,uint *param_2,undefined8 param_3,undefined8 param_4)\n\n{\n longlong ******pppppplVar1;\n int *piVar2;\n uint uVar3;\n uint uVar4;\n char cVar5;\n DWORD DVar6;\n DWORD DVar7;\n undefined8 uVar8;\n longlong ******extraout_RAX;\n undefined **ppuVar9;\n longlong *******ppppppplVar10;\n longlong *******ppppppplVar11;\n undefined *puVar12;\n longlong *******ppppppplVar13;\n longlong ******pppppplVar14;\n longlong *plVar15;\n longlong *plVar16;\n ulonglong uVar17;\n longlong *******ppppppplVar18;\n uint *puVar19;\n uint *puVar20;\n undefined1 *puVar21;\n IMAGE_DOS_HEADER *pIVar22;\n int iVar23;\n longlong lVar24;\n wchar_t *pwVar25;\n undefined8 uVar26;\n undefined8 *puVar27;\n undefined1 auStack_2b8 [32];\n longlong *******local_298;\n longlong *******local_290;\n longlong *******local_288;\n undefined8 *local_280;\n longlong *******local_278;\n uint local_270;\n undefined1 local_26c [4];\n longlong *******local_268;\n uint local_260;\n undefined1 local_25c [4];\n void *local_258;\n wchar_t *local_250;\n undefined8 local_248;\n undefined8 local_240;\n int local_238;\n longlong *******local_230;\n longlong *******local_228;\n undefined8 local_220;\n undefined8 local_218;\n uint local_210;\n undefined2 local_20c;\n longlong *******local_208;\n longlong *******local_200;\n longlong *******local_1f8;\n longlong *******local_1f0;\n longlong *******local_1e8 [2];\n undefined1 local_1d8 [4];\n uint local_1d4;\n undefined8 local_1a0;\n undefined *local_178;\n uint local_170;\n undefined *local_168;\n undefined *local_160;\n undefined *local_158;\n undefined *local_150;\n undefined *local_148;\n undefined *local_140;\n undefined *local_138;\n undefined *local_130;\n undefined *local_128;\n undefined *local_120;\n uint local_118;\n uint local_114;\n undefined *local_110;\n undefined *local_108;\n undefined *local_100;\n undefined *local_f8;\n undefined *local_f0;\n longlong local_e8;\n longlong local_e0;\n longlong local_d8;\n longlong local_d0;\n longlong local_c8;\n longlong local_c0;\n longlong local_b8;\n longlong local_b0 [3];\n longlong local_98;\n longlong local_90;\n longlong local_88;\n UUID local_80;\n uint local_70;\n undefined8 local_68;\n int local_60;\n UUID local_58;\n ulonglong local_48;\n \n local_b0[1] = 0xfffffffffffffffe;\n local_48 = DAT_14016f5a0 ^ (ulonglong)auStack_2b8;\n uVar3 = param_2[10];\n uVar26 = param_3;\n if (uVar3 == 0) {\n FUN_140079c10();\n }\n uVar4 = *param_2;\n uVar8 = FUN_140075890(param_2,&local_118,uVar26,param_4);\n if ((char)uVar8 == '\\0') {\nswitchD_1400265c4_default:\n uVar17 = FUN_140074bb0((int *)param_2,\n (ulonglong)(uint)((int)(((int)uVar4 >> 0x1f & 7U) + uVar4) >> 3),uVar26,\n param_4);\n uVar17 = uVar17 & 0xffffffffffffff00;\n }\n else {\n pIVar22 = &IMAGE_DOS_HEADER_140000000;\n local_1a0 = param_3;\n switch(local_118) {\n case 0x8599:\n FUN_140049b40(local_1d8);\n local_1d4 = param_2[10];\n local_1d8[0] = (undefined1)param_2[0x10];\n uVar8 = 4;\n uVar26 = FUN_140074ee0(param_2,(undefined8 *)&local_270,4);\n if ((char)uVar26 != '\\0') {\n local_260 = local_270;\n }\n DVar6 = 0;\n local_228 = (longlong *******)0x0;\n local_220 = (ulonglong)local_220._4_4_ << 0x20;\n local_218 = 0;\n FUN_14002f300(param_2,(undefined4 *)&local_228,uVar8,param_4);\n plVar16 = (longlong *)param_1[2];\n pwVar25 = L\"PT_SERVER_REGISTER\";\n (**(code **)(*plVar16 + 0x48))();\n if (*(char *)((longlong)param_1 + 0x19) == '\\0') {\n if ((char)param_1[3] == '\\0') {\n local_298 = (longlong *******)&DAT_140131724;\n (**(code **)(*(longlong *)param_1[2] + 0x70))\n ((longlong *)param_1[2],uVar3,0x8599,L\"PT_SERVER_REGISTER\");\n }\n }\n else if ((char)param_1[3] == '\\0') {\n FUN_14003e7c0(plVar16,param_2,pwVar25,param_4);\n local_278 = (longlong *******)PTR_DAT_14016f010;\n FUN_1400926b0((longlong *)&local_278);\n puVar12 = &DAT_140133350;\n ppppppplVar10 = (longlong *******)&local_278;\n FUN_140029bf0((longlong *)ppppppplVar10,(short *)&DAT_140133350);\n FUN_14003e7c0(ppppppplVar10,puVar12,pwVar25,param_4);\n local_268 = (longlong *******)PTR_DAT_14016f010;\n uVar17 = local_220 & 0xffffffff;\n FUN_140029b80((longlong *)&local_268,L\"{ %d }\",uVar17,param_4);\n ppppppplVar10 = (longlong *******)&local_268;\n ppppppplVar18 = (longlong *******)&local_278;\n FUN_140029980((longlong *)ppppppplVar18,(longlong *)ppppppplVar10);\n ppppppplVar13 = local_268;\n if (((local_268 != (longlong *******)0x0) &&\n (local_268 != (longlong *******)PTR_DAT_14016f010)) &&\n (pppppplVar1 = (longlong ******)(local_268 + -1), pppppplVar1 != (longlong ******)0x0)) {\n ppppppplVar10 =\n (longlong *******)FUN_14003e7c0(ppppppplVar18,ppppppplVar10,uVar17,param_4);\n local_80._0_8_ = ppppppplVar10;\n FUN_14003d040((int *)ppppppplVar10);\n local_80.Data4[0] = '\\x01';\n piVar2 = (int *)((longlong)ppppppplVar13 + -4);\n *piVar2 = *piVar2 + -1;\n if (*piVar2 == 0) {\n FUN_14003e8b0(pppppplVar1);\n }\n FUN_14003d0d0((longlong)ppppppplVar10);\n }\n FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350);\n DVar7 = DVar6;\n if ((local_278 != (longlong *******)0x0) &&\n (local_278 != (longlong *******)PTR_DAT_14016f010)) {\n DVar7 = *(DWORD *)(local_278 + -1);\n }\n uVar17 = (ulonglong)(DVar7 - 2);\n local_268 = (longlong *******)\n FUN_140028f40((longlong *)&local_278,(longlong *)&local_110,DVar7 - 2);\n ppppppplVar10 = local_278;\n if (local_278 == (longlong *******)0x0) {\n ppppppplVar10 = (longlong *******)PTR_DAT_14016f010;\n }\n local_278 = ppppppplVar10;\n if ((longlong *******)*local_268 != ppppppplVar10) {\n ppppppplVar10 =\n (longlong *******)FUN_14003e7c0(ppppppplVar10,PTR_DAT_14016f010,uVar17,param_4);\n local_80._0_8_ = ppppppplVar10;\n FUN_14003d040((int *)ppppppplVar10);\n ppppppplVar18 = local_278;\n local_80.Data4[0] = '\\x01';\n if (((local_278 != (longlong *******)0x0) &&\n (local_278 != (longlong *******)PTR_DAT_14016f010)) &&\n (ppppppplVar13 = local_278 + -1, ppppppplVar13 != (longlong *******)0x0)) {\n ppuVar9 = (undefined **)FUN_14003e7c0(local_278,PTR_DAT_14016f010,uVar17,param_4);\n local_58._0_8_ = ppuVar9;\n FUN_14003d040((int *)ppuVar9);\n local_58.Data4[0] = '\\x01';\n piVar2 = (int *)((longlong)ppppppplVar18 + -4);\n *piVar2 = *piVar2 + -1;\n if (*piVar2 == 0) {\n FUN_14003e8b0(ppppppplVar13);\n }\n FUN_14003d0d0((longlong)ppuVar9);\n }\n local_278 = (longlong *******)*local_268;\n if (((local_278 != (longlong *******)PTR_DAT_14016f010) &&\n (local_278 != (longlong *******)0x0)) && (local_278 != (longlong *******)0x8)) {\n *(int *)((longlong)local_278 + -4) = *(int *)((longlong)local_278 + -4) + 1;\n }\n FUN_14003d0d0((longlong)ppppppplVar10);\n }\n if (((local_110 != (undefined *)0x0) && (local_110 != PTR_DAT_14016f010)) &&\n (local_110 + -8 != (undefined *)0x0)) {\n ppppppplVar10 =\n (longlong *******)FUN_14003e7c0(ppppppplVar10,PTR_DAT_14016f010,uVar17,param_4);\n local_80._0_8_ = ppppppplVar10;\n FUN_14003d040((int *)ppppppplVar10);\n local_80.Data4[0] = '\\x01';\n piVar2 = (int *)(local_110 + -4);\n *piVar2 = *piVar2 + -1;\n if (*piVar2 == 0) {\n FUN_14003e8b0(local_110 + -8);\n }\n FUN_14003d0d0((longlong)ppppppplVar10);\n }\n local_268 = (longlong *******)&local_1f0;\n puVar12 = PTR_DAT_14016f010;\n local_110 = PTR_DAT_14016f010;\n FUN_14003e7c0(ppppppplVar10,PTR_DAT_14016f010,uVar17,param_4);\n local_1f0 = (longlong *******)PTR_DAT_14016f010;\n if (PTR_DAT_14016f010 == (undefined *)0x0) {\n local_1f0 = (longlong *******)0x0;\n }\n if (local_278 != (longlong *******)PTR_DAT_14016f010) {\n ppppppplVar10 = (longlong *******)FUN_14003e7c0(ppppppplVar10,puVar12,uVar17,param_4);\n local_80._0_8_ = ppppppplVar10;\n FUN_14003d040((int *)ppppppplVar10);\n local_80.Data4[0] = '\\x01';\n FUN_140002190((longlong *)&local_1f0,puVar12,uVar17,param_4);\n local_1f0 = local_278;\n if (((local_278 != (longlong *******)PTR_DAT_14016f010) &&\n (local_278 != (longlong *******)0x0)) && (local_278 != (longlong *******)0x8)) {\n *(int *)((longlong)local_278 + -4) = *(int *)((longlong)local_278 + -4) + 1;\n }\n FUN_14003d0d0((longlong)ppppppplVar10);\n }\n FUN_14003e7c0(ppppppplVar10,puVar12,uVar17,param_4);\n local_150 = PTR_DAT_14016f010;\n iVar23 = FUN_14003e620(L\"PT_SERVER_REGISTER\");\n puVar12 = FUN_140001ee0((longlong *)&local_150,iVar23);\n FUN_14003e650(puVar12,L\"PT_SERVER_REGISTER\",iVar23);\n FUN_140001fc0((longlong *)&local_150);\n (**(code **)(*param_1 + 0x28))(param_1,0x8599,&local_150,&local_1f0);\n local_298 = local_278;\n if (local_278 == (longlong *******)0x0) {\n local_298 = (longlong *******)PTR_DAT_14016f010;\n }\n plVar16 = (longlong *)param_1[2];\n pwVar25 = L\"PT_SERVER_REGISTER\";\n uVar26 = 0x8599;\n uVar17 = (ulonglong)uVar3;\n (**(code **)(*plVar16 + 0x70))();\n ppppppplVar10 = local_278;\n if (((local_278 != (longlong *******)0x0) &&\n (local_278 != (longlong *******)PTR_DAT_14016f010)) &&\n (ppppppplVar18 = local_278 + -1, ppppppplVar18 != (longlong *******)0x0)) {\n ppppppplVar13 = (longlong *******)FUN_14003e7c0(plVar16,uVar17,uVar26,pwVar25);\n local_80._0_8_ = ppppppplVar13;\n FUN_14003d040((int *)ppppppplVar13);\n local_80.Data4[0] = '\\x01';\n piVar2 = (int *)((longlong)ppppppplVar10 + -4);\n *piVar2 = *piVar2 + -1;\n if (*piVar2 == 0) {\n FUN_14003e8b0(ppppppplVar18);\n }\n FUN_14003d0d0((longlong)ppppppplVar13);\n }\n }\n if (((char)param_1[3] == '\\0') && (DVar6 = 0, *(char *)((longlong)param_1 + 0x1a) != '\\0')) {\n local_258 = (void *)CONCAT44(local_258._4_4_,0x8599);\n local_250 = L\"PT_SERVER_REGISTER\";\n local_248 = CONCAT44(local_248._4_4_,uVar3);\n local_240 = param_3;\n (**(code **)(*param_1 + 0x20))(param_1,&local_258);\n DVar6 = GetTickCount();\n }\n local_298 = (longlong *******)&local_228;\n local_230 = (longlong *******)\n (**(code **)(*param_1 + 0x38))(param_1,uVar3,local_1d8,&local_260);\n if ((char)local_230 == '\\0') {\n local_230 = (longlong *******)\n (**(code **)(*(longlong *)param_1[2] + 0x40))\n ((longlong *)param_1[2],L\"PT_SERVER_REGISTER\");\n }\n if (((char)param_1[3] == '\\0') && (*(char *)((longlong)param_1 + 0x1a) != '\\0')) {\n local_258 = (void *)CONCAT44(local_258._4_4_,0x8599);\n local_250 = L\"PT_SERVER_REGISTER\";\nLAB_140028e0f:\n local_248 = CONCAT44(local_248._4_4_,uVar3);\n local_240 = param_3;\n DVar7 = GetTickCount();\n local_238 = DVar7 - DVar6;\n local_230 = (longlong *******)(**(code **)(*param_1 + 0x18))(param_1,&local_258);\n }\n break;\n case 0x859a:\n FUN_140049b40(local_1d8);\n local_1d4 = param_2[10];\n local_1d8[0] = (undefined1)param_2[0x10];\n uVar26 = 4;\n FUN_140074ee0(param_2,(undefined8 *)&local_270,4);\n iVar23 = 0;\n DVar6 = 0;\n local_228 = (longlong *******)0x0;\n local_220 = 0;\n local_218 = 0;\n local_210 = 0;\n local_20c = 0;\n FUN_14002f390(param_2,(undefined4 *)&local_228);\n local_258 = (void *)0x0;\n local_250 = (wchar_t *)0x0;\n local_248 = 0;\n FUN_140028fc0(param_2,(ulonglong *)&local_258,uVar26,param_4);\n plVar16 = (longlong *)param_1[2];\n pwVar25 = L\"PT_SERVER_INFORMATION\";\n (**(code **)(*plVar16 + 0x48))();\n if (*(char *)((longlong)param_1 + 0x19) == '\\0') {\n if ((char)param_1[3] == '\\0') {\n local_298 = (longlong *******)&DAT_140131724;\n (**(code **)(*(longlong *)param_1[2] + 0x70))\n ((longlong *)param_1[2],uVar3,0x859a,L\"PT_SERVER_INFORMATION\");\n goto LAB_140026f74;\n }\n }\n else if ((char)param_1[3] == '\\0') {\n FUN_14003e7c0(plVar16,param_2,pwVar25,param_4);\n local_278 = (longlong *******)PTR_DAT_14016f010;\n FUN_1400926b0((longlong *)&local_278);\n puVar12 = &DAT_140133350;\n ppppppplVar10 = (longlong *******)&local_278;\n FUN_140029bf0((longlong *)ppppppplVar10,(short *)&DAT_140133350);\n FUN_14003e7c0(ppppppplVar10,puVar12,pwVar25,param_4);\n local_268 = (longlong *******)PTR_DAT_14016f010;\n uVar17 = (ulonglong)local_210;\n FUN_140029b80((longlong *)&local_268,L\"{ %d }\",uVar17,param_4);\n ppppppplVar10 = (longlong *******)&local_268;\n ppppppplVar18 = (longlong *******)&local_278;\n FUN_140029980((longlong *)ppppppplVar18,(longlong *)ppppppplVar10);\n ppppppplVar13 = local_268;\n if (((local_268 != (longlong *******)0x0) &&\n (local_268 != (longlong *******)PTR_DAT_14016f010)) &&\n (pppppplVar1 = (longlong ******)(local_268 + -1), pppppplVar1 != (longlong ******)0x0)) {\n ppppppplVar10 =\n (longlong *******)FUN_14003e7c0(ppppppplVar18,ppppppplVar10,uVar17,param_4);\n local_80._0_8_ = ppppppplVar10;\n FUN_14003d040((int *)ppppppplVar10);\n local_80.Data4[0] = '\\x01';\n piVar2 = (int *)((longlong)ppppppplVar13 + -4);\n *piVar2 = *piVar2 + -1;\n if (*piVar2 == 0) {\n FUN_14003e8b0(pppppplVar1);\n }\n FUN_14003d0d0((longlong)ppppppplVar10);\n }\n puVar12 = &DAT_140133350;\n ppppppplVar10 = (longlong *******)&local_278;\n FUN_140029bf0((longlong *)ppppppplVar10,(short *)&DAT_140133350);\n FUN_14003e7c0(ppppppplVar10,puVar12,uVar17,param_4);\n local_268 = (longlong *******)PTR_DAT_14016f010;\n lVar24 = (longlong)local_250 - (longlong)local_258 >> 2;\n FUN_140029b80((longlong *)&local_268,L\"\",lVar24,param_4);\n ppppppplVar10 = (longlong *******)&local_268;\n ppppppplVar18 = (longlong *******)&local_278;\n FUN_140029980((longlong *)ppppppplVar18,(longlong *)ppppppplVar10);\n ppppppplVar13 = local_268;\n if (((local_268 != (longlong *******)0x0) &&\n (local_268 != (longlong *******)PTR_DAT_14016f010)) &&\n (pppppplVar1 = (longlong ******)(local_268 + -1), pppppplVar1 != (longlong ******)0x0)) {\n ppppppplVar10 =\n (longlong *******)FUN_14003e7c0(ppppppplVar18,ppppppplVar10,lVar24,param_4);\n local_80._0_8_ = ppppppplVar10;\n FUN_14003d040((int *)ppppppplVar10);\n local_80.Data4[0] = '\\x01';\n piVar2 = (int *)((longlong)ppppppplVar13 + -4);\n *piVar2 = *piVar2 + -1;\n if (*piVar2 == 0) {\n FUN_14003e8b0(pppppplVar1);\n }\n FUN_14003d0d0((longlong)ppppppplVar10);\n }\n FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350);\n if ((local_278 != (longlong *******)0x0) &&\n (local_278 != (longlong *******)PTR_DAT_14016f010)) {\n iVar23 = *(int *)(local_278 + -1);\n }\n uVar17 = (ulonglong)(iVar23 - 2U);\n local_268 = (longlong *******)\n FUN_140028f40((longlong *)&local_278,(longlong *)&local_108,iVar23 - 2U);\n ppppppplVar10 = local_278;\n if (local_278 == (longlong *******)0x0) {\n ppppppplVar10 = (longlong *******)PTR_DAT_14016f010;\n }\n local_278 = ppppppplVar10;\n if ((longlong *******)*local_268 != ppppppplVar10) {\n ppppppplVar10 =\n (longlong *******)FUN_14003e7c0(ppppppplVar10,PTR_DAT_14016f010,uVar17,param_4);\n local_80._0_8_ = ppppppplVar10;\n FUN_14003d040((int *)ppppppplVar10);\n ppppppplVar18 = local_278;\n local_80.Data4[0] = '\\x01';\n if (((local_278 != (longlong *******)0x0) &&\n (local_278 != (longlong *******)PTR_DAT_14016f010)) &&\n (ppppppplVar13 = local_278 + -1, ppppppplVar13 != (longlong *******)0x0)) {\n ppuVar9 = (undefined **)FUN_14003e7c0(local_278,PTR_DAT_14016f010,uVar17,param_4);\n local_58._0_8_ = ppuVar9;\n FUN_14003d040((int *)ppuVar9);\n local_58.Data4[0] = '\\x01';\n piVar2 = (int *)((longlong)ppppppplVar18 + -4);\n *piVar2 = *piVar2 + -1;\n if (*piVar2 == 0) {\n FUN_14003e8b0(ppppppplVar13);\n }\n FUN_14003d0d0((longlong)ppuVar9);\n }\n local_278 = (longlong *******)*local_268;\n if (((local_278 != (longlong *******)PTR_DAT_14016f010) &&\n (local_278 != (longlong *******)0x0)) && (local_278 != (longlong *******)0x8)) {\n *(int *)((longlong)local_278 + -4) = *(int *)((longlong)local_278 + -4) + 1;\n }\n FUN_14003d0d0((longlong)ppppppplVar10);\n }\n if (((local_108 != (undefined *)0x0) && (local_108 != PTR_DAT_14016f010)) &&\n (local_108 + -8 != (undefined *)0x0)) {\n ppppppplVar10 =\n (longlong *******)FUN_14003e7c0(ppppppplVar10,PTR_DAT_14016f010,uVar17,param_4);\n local_80._0_8_ = ppppppplVar10;\n FUN_14003d040((int *)ppppppplVar10);\n local_80.Data4[0] = '\\x01';\n piVar2 = (int *)(local_108 + -4);\n *piVar2 = *piVar2 + -1;\n if (*piVar2 == 0) {\n FUN_14003e8b0(local_108 + -8);\n }\n FUN_14003d0d0((longlong)ppppppplVar10);\n }\n local_268 = (longlong *******)&local_200;\n puVar12 = PTR_DAT_14016f010;\n local_108 = PTR_DAT_14016f010;\n FUN_14003e7c0(ppppppplVar10,PTR_DAT_14016f010,uVar17,param_4);\n local_200 = (longlong *******)PTR_DAT_14016f010;\n if (PTR_DAT_14016f010 == (undefined *)0x0) {\n local_200 = (longlong *******)0x0;\n }\n if (local_278 != (longlong *******)PTR_DAT_14016f010) {\n ppppppplVar10 = (longlong *******)FUN_14003e7c0(ppppppplVar10,puVar12,uVar17,param_4);\n local_80._0_8_ = ppppppplVar10;\n FUN_14003d040((int *)ppppppplVar10);\n local_80.Data4[0] = '\\x01';\n FUN_140002190((longlong *)&local_200,puVar12,uVar17,param_4);\n local_200 = local_278;\n if (((local_278 != (longlong *******)PTR_DAT_14016f010) &&\n (local_278 != (longlong *******)0x0)) && (local_278 != (longlong *******)0x8)) {\n *(int *)((longlong)local_278 + -4) = *(int *)((longlong)local_278 + -4) + 1;\n }\n FUN_14003d0d0((longlong)ppppppplVar10);\n }\n FUN_14003e7c0(ppppppplVar10,puVar12,uVar17,param_4);\n local_120 = PTR_DAT_14016f010;\n iVar23 = FUN_14003e620(L\"PT_SERVER_INFORMATION\");\n puVar12 = FUN_140001ee0((longlong *)&local_120,iVar23);\n FUN_14003e650(puVar12,L\"PT_SERVER_INFORMATION\",iVar23);\n FUN_140001fc0((longlong *)&local_120);\n (**(code **)(*param_1 + 0x28))(param_1,0x859a,&local_120,&local_200);\n local_298 = local_278;\n if (local_278 == (longlong *******)0x0) {\n local_298 = (longlong *******)PTR_DAT_14016f010;\n }\n plVar16 = (longlong *)param_1[2];\n pwVar25 = L\"PT_SERVER_INFORMATION\";\n uVar26 = 0x859a;\n uVar17 = (ulonglong)uVar3;\n (**(code **)(*plVar16 + 0x70))();\n ppppppplVar10 = local_278;\n if (((local_278 != (longlong *******)0x0) &&\n (local_278 != (longlong *******)PTR_DAT_14016f010)) &&\n (ppppppplVar18 = local_278 + -1, ppppppplVar18 != (longlong *******)0x0)) {\n ppppppplVar13 = (longlong *******)FUN_14003e7c0(plVar16,uVar17,uVar26,pwVar25);\n local_80._0_8_ = ppppppplVar13;\n FUN_14003d040((int *)ppppppplVar13);\n local_80.Data4[0] = '\\x01';\n piVar2 = (int *)((longlong)ppppppplVar10 + -4);\n *piVar2 = *piVar2 + -1;\n if (*piVar2 == 0) {\n FUN_14003e8b0(ppppppplVar18);\n }\n FUN_14003d0d0((longlong)ppppppplVar13);\n }\nLAB_140026f74:\n if (((char)param_1[3] == '\\0') && (*(char *)((longlong)param_1 + 0x1a) != '\\0')) {\n local_80.Data1 = 0x859a;\n local_80.Data4 = (uchar [8])0x1401332f8;\n local_70 = uVar3;\n local_68 = param_3;\n (**(code **)(*param_1 + 0x20))(param_1,&local_80);\n DVar6 = GetTickCount();\n }\n }\n local_290 = &local_258;\n local_298 = (longlong *******)&local_228;\n local_230 = (longlong *******)\n (**(code **)(*param_1 + 0x40))(param_1,uVar3,local_1d8,&local_260);\n if ((char)local_230 == '\\0') {\n local_230 = (longlong *******)\n (**(code **)(*(longlong *)param_1[2] + 0x40))\n ((longlong *)param_1[2],L\"PT_SERVER_INFORMATION\");\n }\n if (((char)param_1[3] == '\\0') && (*(char *)((longlong)param_1 + 0x1a) != '\\0')) {\n local_80.Data1 = 0x859a;\n local_80.Data4 = (uchar [8])0x1401332f8;\n local_70 = uVar3;\n local_68 = param_3;\n DVar7 = GetTickCount();\n local_60 = DVar7 - DVar6;\n local_230 = (longlong *******)(**(code **)(*param_1 + 0x18))(param_1,&local_80);\n }\n if (local_258 != (void *)0x0) {\n operator_delete(local_258);\n local_230 = (longlong *******)extraout_RAX;\n }\n break;\n case 0x859b:\n FUN_140049b40(local_1d8);\n local_1d4 = param_2[10];\n local_1d8[0] = (undefined1)param_2[0x10];\n FUN_140074ee0(param_2,(undefined8 *)local_25c,1);\n uVar26 = FUN_140074ee0(param_2,&local_278,4);\n if ((char)uVar26 != '\\0') {\n local_270 = (uint)local_278;\n }\n uVar26 = FUN_140074ee0(param_2,&local_278,4);\n if ((char)uVar26 != '\\0') {\n local_260 = (uint)local_278;\n }\n plVar16 = (longlong *)param_1[2];\n pwVar25 = L\"PT_SERVER_COMMAND_RESULT\";\n (**(code **)(*plVar16 + 0x48))();\n DVar6 = 0;\n if (*(char *)((longlong)param_1 + 0x19) == '\\0') {\n if ((char)param_1[3] == '\\0') {\n local_298 = (longlong *******)&DAT_140131724;\n (**(code **)(*(longlong *)param_1[2] + 0x70))\n ((longlong *)param_1[2],uVar3,0x859b,L\"PT_SERVER_COMMAND_RESULT\");\n }\n }\n else if ((char)param_1[3] == '\\0') {\n FUN_14003e7c0(plVar16,param_2,pwVar25,param_4);\n local_278 = (longlong *******)PTR_DAT_14016f010;\n FUN_1400925d0((longlong *)&local_278,local_26c);\n FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350);\n FUN_1400926b0((longlong *)&local_278);\n FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350);\n FUN_1400926b0((longlong *)&local_278);\n FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350);\n DVar7 = DVar6;\n if ((local_278 != (longlong *******)0x0) &&\n (local_278 != (longlong *******)PTR_DAT_14016f010)) {\n DVar7 = *(DWORD *)(local_278 + -1);\n }\n uVar17 = (ulonglong)(DVar7 - 2);\n local_268 = (longlong *******)\n FUN_140028f40((longlong *)&local_278,(longlong *)&local_100,DVar7 - 2);\n ppppppplVar10 = local_278;\n if (local_278 == (longlong *******)0x0) {\n ppppppplVar10 = (longlong *******)PTR_DAT_14016f010;\n }\n local_278 = ppppppplVar10;\n if ((longlong *******)*local_268 != ppppppplVar10) {\n ppppppplVar10 =\n (longlong *******)FUN_14003e7c0(ppppppplVar10,PTR_DAT_14016f010,uVar17,param_4);\n local_80._0_8_ = ppppppplVar10;\n FUN_14003d040((int *)ppppppplVar10);\n ppppppplVar18 = local_278;\n local_80.Data4[0] = '\\x01';\n if (((local_278 != (longlong *******)0x0) &&\n (local_278 != (longlong *******)PTR_DAT_14016f010)) &&\n (ppppppplVar13 = local_278 + -1, ppppppplVar13 != (longlong *******)0x0)) {\n ppuVar9 = (undefined **)FUN_14003e7c0(local_278,PTR_DAT_14016f010,uVar17,param_4);\n local_58._0_8_ = ppuVar9;\n FUN_14003d040((int *)ppuVar9);\n local_58.Data4[0] = '\\x01';\n piVar2 = (int *)((longlong)ppppppplVar18 + -4);\n *piVar2 = *piVar2 + -1;\n if (*piVar2 == 0) {\n FUN_14003e8b0(ppppppplVar13);\n }\n FUN_14003d0d0((longlong)ppuVar9);\n }\n local_278 = (longlong *******)*local_268;\n if (((local_278 != (longlong *******)PTR_DAT_14016f010) &&\n (local_278 != (longlong *******)0x0)) && (local_278 != (longlong *******)0x8)) {\n *(int *)((longlong)local_278 + -4) = *(int *)((longlong)local_278 + -4) + 1;\n }\n FUN_14003d0d0((longlong)ppppppplVar10);\n }\n if (((local_100 != (undefined *)0x0) && (local_100 != PTR_DAT_14016f010)) &&\n (local_100 + -8 != (undefined *)0x0)) {\n ppppppplVar10 =\n (longlong *******)FUN_14003e7c0(ppppppplVar10,PTR_DAT_14016f010,uVar17,param_4);\n local_80._0_8_ = ppppppplVar10;\n FUN_14003d040((int *)ppppppplVar10);\n local_80.Data4[0] = '\\x01';\n piVar2 = (int *)(local_100 + -4);\n *piVar2 = *piVar2 + -1;\n if (*piVar2 == 0) {\n FUN_14003e8b0(local_100 + -8);\n }\n FUN_14003d0d0((longlong)ppppppplVar10);\n }\n local_268 = (longlong *******)&local_208;\n puVar12 = PTR_DAT_14016f010;\n local_100 = PTR_DAT_14016f010;\n FUN_14003e7c0(ppppppplVar10,PTR_DAT_14016f010,uVar17,param_4);\n local_208 = (longlong *******)PTR_DAT_14016f010;\n if (PTR_DAT_14016f010 == (undefined *)0x0) {\n local_208 = (longlong *******)0x0;\n }\n if (local_278 != (longlong *******)PTR_DAT_14016f010) {\n ppppppplVar10 = (longlong *******)FUN_14003e7c0(ppppppplVar10,puVar12,uVar17,param_4);\n local_80._0_8_ = ppppppplVar10;\n FUN_14003d040((int *)ppppppplVar10);\n local_80.Data4[0] = '\\x01';\n FUN_140002190((longlong *)&local_208,puVar12,uVar17,param_4);\n local_208 = local_278;\n if (((local_278 != (longlong *******)PTR_DAT_14016f010) &&\n (local_278 != (longlong *******)0x0)) && (local_278 != (longlong *******)0x8)) {\n *(int *)((longlong)local_278 + -4) = *(int *)((longlong)local_278 + -4) + 1;\n }\n FUN_14003d0d0((longlong)ppppppplVar10);\n }\n FUN_14003e7c0(ppppppplVar10,puVar12,uVar17,param_4);\n local_160 = PTR_DAT_14016f010;\n iVar23 = FUN_14003e620(L\"PT_SERVER_COMMAND_RESULT\");\n puVar12 = FUN_140001ee0((longlong *)&local_160,iVar23);\n FUN_14003e650(puVar12,L\"PT_SERVER_COMMAND_RESULT\",iVar23);\n FUN_140001fc0((longlong *)&local_160);\n (**(code **)(*param_1 + 0x28))(param_1,0x859b,&local_160,&local_208);\n local_298 = local_278;\n if (local_278 == (longlong *******)0x0) {\n local_298 = (longlong *******)PTR_DAT_14016f010;\n }\n plVar16 = (longlong *)param_1[2];\n pwVar25 = L\"PT_SERVER_COMMAND_RESULT\";\n uVar26 = 0x859b;\n uVar17 = (ulonglong)uVar3;\n (**(code **)(*plVar16 + 0x70))();\n ppppppplVar10 = local_278;\n if (((local_278 != (longlong *******)0x0) &&\n (local_278 != (longlong *******)PTR_DAT_14016f010)) &&\n (ppppppplVar18 = local_278 + -1, ppppppplVar18 != (longlong *******)0x0)) {\n ppppppplVar13 = (longlong *******)FUN_14003e7c0(plVar16,uVar17,uVar26,pwVar25);\n local_80._0_8_ = ppppppplVar13;\n FUN_14003d040((int *)ppppppplVar13);\n local_80.Data4[0] = '\\x01';\n piVar2 = (int *)((longlong)ppppppplVar10 + -4);\n *piVar2 = *piVar2 + -1;\n if (*piVar2 == 0) {\n FUN_14003e8b0(ppppppplVar18);\n }\n FUN_14003d0d0((longlong)ppppppplVar13);\n }\n }\n if (((char)param_1[3] == '\\0') && (DVar6 = 0, *(char *)((longlong)param_1 + 0x1a) != '\\0')) {\n local_258 = (void *)CONCAT44(local_258._4_4_,0x859b);\n local_250 = L\"PT_SERVER_COMMAND_RESULT\";\n local_248 = CONCAT44(local_248._4_4_,uVar3);\n local_240 = param_3;\n (**(code **)(*param_1 + 0x20))(param_1,&local_258);\n DVar6 = GetTickCount();\n }\n local_290 = (longlong *******)&local_260;\n local_298 = (longlong *******)&local_270;\n local_230 = (longlong *******)\n (**(code **)(*param_1 + 0x48))(param_1,uVar3,local_1d8,local_26c);\n if ((char)local_230 == '\\0') {\n local_230 = (longlong *******)\n (**(code **)(*(longlong *)param_1[2] + 0x40))\n ((longlong *)param_1[2],L\"PT_SERVER_COMMAND_RESULT\");\n }\n if (((char)param_1[3] == '\\0') && (*(char *)((longlong)param_1 + 0x1a) != '\\0')) {\n local_258 = (void *)CONCAT44(local_258._4_4_,0x859b);\n local_250 = L\"PT_SERVER_COMMAND_RESULT\";\n goto LAB_140028e0f;\n }\n break;\n case 0x859c:\n FUN_140049b40(local_1d8);\n local_1d4 = param_2[10];\n local_1d8[0] = (undefined1)param_2[0x10];\n uVar26 = FUN_140074ee0(param_2,&local_278,4);\n if ((char)uVar26 != '\\0') {\n local_260 = (uint)local_278;\n }\n FUN_140074ee0(param_2,(undefined8 *)local_25c,1);\n uVar8 = 4;\n ppppppplVar10 = (longlong *******)&local_278;\n uVar26 = FUN_140074ee0(param_2,ppppppplVar10,4);\n if ((char)uVar26 != '\\0') {\n local_270 = (uint)local_278;\n }\n FUN_14003e7c0((ulonglong)local_270,ppppppplVar10,uVar8,param_4);\n local_230 = (longlong *******)PTR_DAT_14016f010;\n thunk_FUN_140076020(param_2,(longlong *)&local_230,uVar8,param_4);\n plVar16 = (longlong *)param_1[2];\n pwVar25 = L\"PWE_RESP_RESULT_CODE\";\n (**(code **)(*plVar16 + 0x48))();\n DVar6 = 0;\n if (*(char *)((longlong)param_1 + 0x19) == '\\0') {\n if ((char)param_1[3] == '\\0') {\n local_298 = (longlong *******)&DAT_140131724;\n (**(code **)(*(longlong *)param_1[2] + 0x70))\n ((longlong *)param_1[2],uVar3,0x859c,L\"PWE_RESP_RESULT_CODE\");\n }\n }\n else if ((char)param_1[3] == '\\0') {\n FUN_14003e7c0(plVar16,param_2,pwVar25,param_4);\n local_278 = (longlong *******)PTR_DAT_14016f010;\n FUN_1400926b0((longlong *)&local_278);\n FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350);\n FUN_1400925d0((longlong *)&local_278,local_26c);\n FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350);\n FUN_1400926b0((longlong *)&local_278);\n FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350);\n FUN_1400928b0((longlong *)&local_278,(longlong *)&local_230);\n FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350);\n DVar7 = DVar6;\n if ((local_278 != (longlong *******)0x0) &&\n (local_278 != (longlong *******)PTR_DAT_14016f010)) {\n DVar7 = *(DWORD *)(local_278 + -1);\n }\n uVar17 = (ulonglong)(DVar7 - 2);\n local_268 = (longlong *******)\n FUN_140028f40((longlong *)&local_278,(longlong *)&local_f0,DVar7 - 2);\n ppppppplVar10 = local_278;\n if (local_278 == (longlong *******)0x0) {\n ppppppplVar10 = (longlong *******)PTR_DAT_14016f010;\n }\n local_278 = ppppppplVar10;\n if ((longlong *******)*local_268 != ppppppplVar10) {\n ppppppplVar10 =\n (longlong *******)FUN_14003e7c0(ppppppplVar10,PTR_DAT_14016f010,uVar17,param_4);\n local_80._0_8_ = ppppppplVar10;\n FUN_14003d040((int *)ppppppplVar10);\n ppppppplVar18 = local_278;\n local_80.Data4[0] = '\\x01';\n if (((local_278 != (longlong *******)0x0) &&\n (local_278 != (longlong *******)PTR_DAT_14016f010)) &&\n (ppppppplVar13 = local_278 + -1, ppppppplVar13 != (longlong *******)0x0)) {\n ppuVar9 = (undefined **)FUN_14003e7c0(local_278,PTR_DAT_14016f010,uVar17,param_4);\n local_58._0_8_ = ppuVar9;\n FUN_14003d040((int *)ppuVar9);\n local_58.Data4[0] = '\\x01';\n piVar2 = (int *)((longlong)ppppppplVar18 + -4);\n *piVar2 = *piVar2 + -1;\n if (*piVar2 == 0) {\n FUN_14003e8b0(ppppppplVar13);\n }\n FUN_14003d0d0((longlong)ppuVar9);\n }\n local_278 = (longlong *******)*local_268;\n if (((local_278 != (longlong *******)PTR_DAT_14016f010) &&\n (local_278 != (longlong *******)0x0)) && (local_278 != (longlong *******)0x8)) {\n *(int *)((longlong)local_278 + -4) = *(int *)((longlong)local_278 + -4) + 1;\n }\n FUN_14003d0d0((longlong)ppppppplVar10);\n }\n if (((local_f0 != (undefined *)0x0) && (local_f0 != PTR_DAT_14016f010)) &&\n (local_f0 + -8 != (undefined *)0x0)) {\n ppppppplVar10 =\n (longlong *******)FUN_14003e7c0(ppppppplVar10,PTR_DAT_14016f010,uVar17,param_4);\n local_80._0_8_ = ppppppplVar10;\n FUN_14003d040((int *)ppppppplVar10);\n local_80.Data4[0] = '\\x01';\n piVar2 = (int *)(local_f0 + -4);\n *piVar2 = *piVar2 + -1;\n if (*piVar2 == 0) {\n FUN_14003e8b0(local_f0 + -8);\n }\n FUN_14003d0d0((longlong)ppppppplVar10);\n }\n local_268 = (longlong *******)local_1e8;\n puVar12 = PTR_DAT_14016f010;\n local_f0 = PTR_DAT_14016f010;\n FUN_14003e7c0(ppppppplVar10,PTR_DAT_14016f010,uVar17,param_4);\n local_1e8[0] = (longlong *******)PTR_DAT_14016f010;\n if (PTR_DAT_14016f010 == (undefined *)0x0) {\n local_1e8[0] = (longlong *******)0x0;\n }\n if (local_278 != (longlong *******)PTR_DAT_14016f010) {\n ppppppplVar10 = (longlong *******)FUN_14003e7c0(ppppppplVar10,puVar12,uVar17,param_4);\n local_80._0_8_ = ppppppplVar10;\n FUN_14003d040((int *)ppppppplVar10);\n local_80.Data4[0] = '\\x01';\n FUN_140002190((longlong *)local_1e8,puVar12,uVar17,param_4);\n local_1e8[0] = local_278;\n if (((local_278 != (longlong *******)PTR_DAT_14016f010) &&\n (local_278 != (longlong *******)0x0)) && (local_278 != (longlong *******)0x8)) {\n *(int *)((longlong)local_278 + -4) = *(int *)((longlong)local_278 + -4) + 1;\n }\n FUN_14003d0d0((longlong)ppppppplVar10);\n }\n FUN_14003e7c0(ppppppplVar10,puVar12,uVar17,param_4);\n local_140 = PTR_DAT_14016f010;\n iVar23 = FUN_14003e620(L\"PWE_RESP_RESULT_CODE\");\n puVar12 = FUN_140001ee0((longlong *)&local_140,iVar23);\n FUN_14003e650(puVar12,L\"PWE_RESP_RESULT_CODE\",iVar23);\n FUN_140001fc0((longlong *)&local_140);\n (**(code **)(*param_1 + 0x28))(param_1,0x859c,&local_140,local_1e8);\n local_298 = local_278;\n if (local_278 == (longlong *******)0x0) {\n local_298 = (longlong *******)PTR_DAT_14016f010;\n }\n plVar16 = (longlong *)param_1[2];\n pwVar25 = L\"PWE_RESP_RESULT_CODE\";\n uVar26 = 0x859c;\n uVar17 = (ulonglong)uVar3;\n (**(code **)(*plVar16 + 0x70))();\n ppppppplVar10 = local_278;\n if (((local_278 != (longlong *******)0x0) &&\n (local_278 != (longlong *******)PTR_DAT_14016f010)) &&\n (ppppppplVar18 = local_278 + -1, ppppppplVar18 != (longlong *******)0x0)) {\n ppppppplVar13 = (longlong *******)FUN_14003e7c0(plVar16,uVar17,uVar26,pwVar25);\n local_80._0_8_ = ppppppplVar13;\n FUN_14003d040((int *)ppppppplVar13);\n local_80.Data4[0] = '\\x01';\n piVar2 = (int *)((longlong)ppppppplVar10 + -4);\n *piVar2 = *piVar2 + -1;\n if (*piVar2 == 0) {\n FUN_14003e8b0(ppppppplVar18);\n }\n FUN_14003d0d0((longlong)ppppppplVar13);\n }\n }\n if (((char)param_1[3] == '\\0') && (*(char *)((longlong)param_1 + 0x1a) != '\\0')) {\n local_258 = (void *)CONCAT44(local_258._4_4_,0x859c);\n local_250 = L\"PWE_RESP_RESULT_CODE\";\n local_248 = CONCAT44(local_248._4_4_,uVar3);\n local_240 = param_3;\n (**(code **)(*param_1 + 0x20))(param_1,&local_258);\n DVar6 = GetTickCount();\n }\n local_288 = (longlong *******)&local_230;\n local_290 = (longlong *******)&local_270;\n local_298 = (longlong *******)local_26c;\n puVar20 = &local_260;\n puVar21 = local_1d8;\n pwVar25 = (wchar_t *)(ulonglong)uVar3;\n plVar16 = param_1;\n cVar5 = (**(code **)(*param_1 + 0x50))();\n if (cVar5 == '\\0') {\n plVar16 = (longlong *)param_1[2];\n pwVar25 = L\"PWE_RESP_RESULT_CODE\";\n (**(code **)(*plVar16 + 0x40))();\n }\n if (((char)param_1[3] == '\\0') && (*(char *)((longlong)param_1 + 0x1a) != '\\0')) {\n local_258 = (void *)CONCAT44(local_258._4_4_,0x859c);\n local_250 = L\"PWE_RESP_RESULT_CODE\";\n local_248 = CONCAT44(local_248._4_4_,uVar3);\n local_240 = param_3;\n DVar7 = GetTickCount();\n local_238 = DVar7 - DVar6;\n pwVar25 = (wchar_t *)&local_258;\n (**(code **)(*param_1 + 0x18))();\n plVar16 = param_1;\n }\n ppppppplVar10 = local_230;\n if (((local_230 != (longlong *******)0x0) &&\n (local_230 != (longlong *******)PTR_DAT_14016f010)) &&\n (pppppplVar1 = (longlong ******)(local_230 + -1), pppppplVar1 != (longlong ******)0x0)) {\n pppppplVar14 = (longlong ******)FUN_14003e7c0(plVar16,pwVar25,puVar21,puVar20);\n local_80._0_8_ = pppppplVar14;\n FUN_14003d040((int *)pppppplVar14);\n local_80.Data4[0] = '\\x01';\n piVar2 = (int *)((longlong)ppppppplVar10 + -4);\n *piVar2 = *piVar2 + -1;\n if (*piVar2 == 0) {\n FUN_14003e8b0(pppppplVar1);\n }\n local_230 = (longlong *******)FUN_14003d0d0((longlong)pppppplVar14);\n }\n break;\n case 0x859d:\n FUN_140049b40(local_1d8);\n local_1d4 = param_2[10];\n local_1d8[0] = (undefined1)param_2[0x10];\n puVar20 = &local_260;\n puVar19 = param_2;\n FUN_140075970(param_2,puVar20,uVar26,param_4);\n FUN_14003e7c0(puVar19,puVar20,uVar26,param_4);\n local_230 = (longlong *******)PTR_DAT_14016f010;\n thunk_FUN_140076020(param_2,(longlong *)&local_230,uVar26,param_4);\n FUN_140092420(param_2,(undefined8 *)&local_58);\n uVar26 = FUN_140074ee0(param_2,&local_278,4);\n if ((char)uVar26 != '\\0') {\n local_270 = (uint)local_278;\n }\n plVar16 = (longlong *)param_1[2];\n pwVar25 = L\"NOTIFY_STORAGE_ALARM\";\n (**(code **)(*plVar16 + 0x48))();\n DVar6 = 0;\n if (*(char *)((longlong)param_1 + 0x19) == '\\0') {\n if ((char)param_1[3] == '\\0') {\n local_298 = (longlong *******)&DAT_140131724;\n (**(code **)(*(longlong *)param_1[2] + 0x70))\n ((longlong *)param_1[2],uVar3,0x859d,L\"NOTIFY_STORAGE_ALARM\");\n }\n }\n else if ((char)param_1[3] == '\\0') {\n FUN_14003e7c0(plVar16,param_2,pwVar25,param_4);\n local_278 = (longlong *******)PTR_DAT_14016f010;\n local_170 = local_260;\n FUN_1400926b0((longlong *)&local_278);\n FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350);\n FUN_1400928b0((longlong *)&local_278,(longlong *)&local_230);\n FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350);\n FUN_140092900((longlong *)&local_278,&local_58);\n FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350);\n FUN_1400926b0((longlong *)&local_278);\n FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350);\n DVar7 = DVar6;\n if ((local_278 != (longlong *******)0x0) &&\n (local_278 != (longlong *******)PTR_DAT_14016f010)) {\n DVar7 = *(DWORD *)(local_278 + -1);\n }\n uVar17 = (ulonglong)(DVar7 - 2);\n local_268 = (longlong *******)\n FUN_140028f40((longlong *)&local_278,(longlong *)&local_f8,DVar7 - 2);\n ppppppplVar10 = local_278;\n if (local_278 == (longlong *******)0x0) {\n ppppppplVar10 = (longlong *******)PTR_DAT_14016f010;\n }\n local_278 = ppppppplVar10;\n if ((longlong *******)*local_268 != ppppppplVar10) {\n ppppppplVar10 =\n (longlong *******)FUN_14003e7c0(ppppppplVar10,PTR_DAT_14016f010,uVar17,param_4);\n local_80._0_8_ = ppppppplVar10;\n FUN_14003d040((int *)ppppppplVar10);\n ppppppplVar18 = local_278;\n local_80.Data4[0] = '\\x01';\n if (((local_278 != (longlong *******)0x0) &&\n (local_278 != (longlong *******)PTR_DAT_14016f010)) &&\n (ppppppplVar13 = local_278 + -1, ppppppplVar13 != (longlong *******)0x0)) {\n ppppppplVar11 =\n (longlong *******)FUN_14003e7c0(local_278,PTR_DAT_14016f010,uVar17,param_4);\n local_228 = ppppppplVar11;\n FUN_14003d040((int *)ppppppplVar11);\n local_220 = CONCAT71(local_220._1_7_,1);\n piVar2 = (int *)((longlong)ppppppplVar18 + -4);\n *piVar2 = *piVar2 + -1;\n if (*piVar2 == 0) {\n FUN_14003e8b0(ppppppplVar13);\n }\n FUN_14003d0d0((longlong)ppppppplVar11);\n }\n local_278 = (longlong *******)*local_268;\n if (((local_278 != (longlong *******)PTR_DAT_14016f010) &&\n (local_278 != (longlong *******)0x0)) && (local_278 != (longlong *******)0x8)) {\n *(int *)((longlong)local_278 + -4) = *(int *)((longlong)local_278 + -4) + 1;\n }\n FUN_14003d0d0((longlong)ppppppplVar10);\n }\n if (((local_f8 != (undefined *)0x0) && (local_f8 != PTR_DAT_14016f010)) &&\n (local_f8 + -8 != (undefined *)0x0)) {\n ppppppplVar10 =\n (longlong *******)FUN_14003e7c0(ppppppplVar10,PTR_DAT_14016f010,uVar17,param_4);\n local_228 = ppppppplVar10;\n FUN_14003d040((int *)ppppppplVar10);\n local_220 = CONCAT71(local_220._1_7_,1);\n piVar2 = (int *)(local_f8 + -4);\n *piVar2 = *piVar2 + -1;\n if (*piVar2 == 0) {\n FUN_14003e8b0(local_f8 + -8);\n }\n FUN_14003d0d0((longlong)ppppppplVar10);\n }\n local_268 = (longlong *******)&local_1f8;\n puVar12 = PTR_DAT_14016f010;\n local_f8 = PTR_DAT_14016f010;\n FUN_14003e7c0(ppppppplVar10,PTR_DAT_14016f010,uVar17,param_4);\n local_1f8 = (longlong *******)PTR_DAT_14016f010;\n if (PTR_DAT_14016f010 == (undefined *)0x0) {\n local_1f8 = (longlong *******)0x0;\n }\n if (local_278 != (longlong *******)PTR_DAT_14016f010) {\n ppppppplVar10 = (longlong *******)FUN_14003e7c0(ppppppplVar10,puVar12,uVar17,param_4);\n local_228 = ppppppplVar10;\n FUN_14003d040((int *)ppppppplVar10);\n local_220 = CONCAT71(local_220._1_7_,1);\n FUN_140002190((longlong *)&local_1f8,puVar12,uVar17,param_4);\n local_1f8 = local_278;\n if (((local_278 != (longlong *******)PTR_DAT_14016f010) &&\n (local_278 != (longlong *******)0x0)) && (local_278 != (longlong *******)0x8)) {\n *(int *)((longlong)local_278 + -4) = *(int *)((longlong)local_278 + -4) + 1;\n }\n FUN_14003d0d0((longlong)ppppppplVar10);\n }\n FUN_14003e7c0(ppppppplVar10,puVar12,uVar17,param_4);\n local_130 = PTR_DAT_14016f010;\n iVar23 = FUN_14003e620(L\"NOTIFY_STORAGE_ALARM\");\n puVar12 = FUN_140001ee0((longlong *)&local_130,iVar23);\n FUN_14003e650(puVar12,L\"NOTIFY_STORAGE_ALARM\",iVar23);\n FUN_140001fc0((longlong *)&local_130);\n (**(code **)(*param_1 + 0x28))(param_1,0x859d,&local_130,&local_1f8);\n local_298 = local_278;\n if (local_278 == (longlong *******)0x0) {\n local_298 = (longlong *******)PTR_DAT_14016f010;\n }\n plVar16 = (longlong *)param_1[2];\n pwVar25 = L\"NOTIFY_STORAGE_ALARM\";\n uVar26 = 0x859d;\n uVar17 = (ulonglong)uVar3;\n (**(code **)(*plVar16 + 0x70))();\n ppppppplVar10 = local_278;\n if (((local_278 != (longlong *******)0x0) &&\n (local_278 != (longlong *******)PTR_DAT_14016f010)) &&\n (ppppppplVar18 = local_278 + -1, ppppppplVar18 != (longlong *******)0x0)) {\n ppppppplVar13 = (longlong *******)FUN_14003e7c0(plVar16,uVar17,uVar26,pwVar25);\n local_228 = ppppppplVar13;\n FUN_14003d040((int *)ppppppplVar13);\n local_220 = CONCAT71(local_220._1_7_,1);\n piVar2 = (int *)((longlong)ppppppplVar10 + -4);\n *piVar2 = *piVar2 + -1;\n if (*piVar2 == 0) {\n FUN_14003e8b0(ppppppplVar18);\n }\n FUN_14003d0d0((longlong)ppppppplVar13);\n }\n }\n if (((char)param_1[3] == '\\0') && (*(char *)((longlong)param_1 + 0x1a) != '\\0')) {\n local_258 = (void *)CONCAT44(local_258._4_4_,0x859d);\n local_250 = L\"NOTIFY_STORAGE_ALARM\";\n local_248 = CONCAT44(local_248._4_4_,uVar3);\n local_240 = param_3;\n (**(code **)(*param_1 + 0x20))(param_1,&local_258);\n DVar6 = GetTickCount();\n }\n local_288 = (longlong *******)&local_270;\n local_290 = (longlong *******)&local_58;\n local_298 = (longlong *******)&local_230;\n puVar20 = &local_260;\n puVar21 = local_1d8;\n pwVar25 = (wchar_t *)(ulonglong)uVar3;\n plVar16 = param_1;\n cVar5 = (**(code **)(*param_1 + 0x58))();\n if (cVar5 == '\\0') {\n plVar16 = (longlong *)param_1[2];\n pwVar25 = L\"NOTIFY_STORAGE_ALARM\";\n (**(code **)(*plVar16 + 0x40))();\n }\n if (((char)param_1[3] == '\\0') && (*(char *)((longlong)param_1 + 0x1a) != '\\0')) {\n local_258 = (void *)CONCAT44(local_258._4_4_,0x859d);\n local_250 = L\"NOTIFY_STORAGE_ALARM\";\n local_248 = CONCAT44(local_248._4_4_,uVar3);\n local_240 = param_3;\n DVar7 = GetTickCount();\n local_238 = DVar7 - DVar6;\n pwVar25 = (wchar_t *)&local_258;\n (**(code **)(*param_1 + 0x18))();\n plVar16 = param_1;\n }\n ppppppplVar10 = local_230;\n if (((local_230 != (longlong *******)0x0) &&\n (local_230 != (longlong *******)PTR_DAT_14016f010)) &&\n (pppppplVar1 = (longlong ******)(local_230 + -1), pppppplVar1 != (longlong ******)0x0)) {\n pppppplVar14 = (longlong ******)FUN_14003e7c0(plVar16,pwVar25,puVar21,puVar20);\n local_228 = (longlong *******)pppppplVar14;\n FUN_14003d040((int *)pppppplVar14);\n local_220 = CONCAT71(local_220._1_7_,1);\n piVar2 = (int *)((longlong)ppppppplVar10 + -4);\n *piVar2 = *piVar2 + -1;\n if (*piVar2 == 0) {\n FUN_14003e8b0(pppppplVar1);\n }\n local_230 = (longlong *******)FUN_14003d0d0((longlong)pppppplVar14);\n }\n break;\n case 0x859e:\n FUN_140049b40(local_1d8);\n local_1d4 = param_2[10];\n local_1d8[0] = (undefined1)param_2[0x10];\n puVar20 = &local_260;\n puVar19 = param_2;\n FUN_140075970(param_2,puVar20,uVar26,param_4);\n FUN_14003e7c0(puVar19,puVar20,uVar26,param_4);\n local_268 = (longlong *******)PTR_DAT_14016f010;\n ppppppplVar10 = (longlong *******)&local_268;\n puVar20 = param_2;\n thunk_FUN_140076020(param_2,(longlong *)ppppppplVar10,uVar26,param_4);\n FUN_14003e7c0(puVar20,ppppppplVar10,uVar26,param_4);\n local_230 = (longlong *******)PTR_DAT_14016f010;\n thunk_FUN_140076020(param_2,(longlong *)&local_230,uVar26,param_4);\n FUN_140092420(param_2,(undefined8 *)&local_80);\n uVar26 = FUN_140074ee0(param_2,&local_278,4);\n if ((char)uVar26 != '\\0') {\n local_270 = (uint)local_278;\n }\n plVar16 = (longlong *)param_1[2];\n pwVar25 = L\"NOTIFY_MAIL_ALARM\";\n (**(code **)(*plVar16 + 0x48))();\n DVar6 = 0;\n if (*(char *)((longlong)param_1 + 0x19) == '\\0') {\n if ((char)param_1[3] == '\\0') {\n local_298 = (longlong *******)&DAT_140131724;\n (**(code **)(*(longlong *)param_1[2] + 0x70))\n ((longlong *)param_1[2],uVar3,0x859e,L\"NOTIFY_MAIL_ALARM\");\n }\n }\n else if ((char)param_1[3] == '\\0') {\n FUN_14003e7c0(plVar16,param_2,pwVar25,param_4);\n local_278 = (longlong *******)PTR_DAT_14016f010;\n local_114 = local_260;\n FUN_1400926b0((longlong *)&local_278);\n FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350);\n FUN_1400928b0((longlong *)&local_278,(longlong *)&local_268);\n FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350);\n FUN_1400928b0((longlong *)&local_278,(longlong *)&local_230);\n FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350);\n FUN_140092900((longlong *)&local_278,&local_80);\n FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350);\n FUN_1400926b0((longlong *)&local_278);\n FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350);\n DVar7 = DVar6;\n if ((local_278 != (longlong *******)0x0) &&\n (local_278 != (longlong *******)PTR_DAT_14016f010)) {\n DVar7 = *(DWORD *)(local_278 + -1);\n }\n uVar17 = (ulonglong)(DVar7 - 2);\n plVar15 = FUN_140028f40((longlong *)&local_278,&local_d0,DVar7 - 2);\n FUN_1400020c0((longlong *)&local_278,plVar15,uVar17,param_4);\n plVar16 = &local_d0;\n FUN_140002190(plVar16,plVar15,uVar17,param_4);\n local_58._0_8_ = &local_148;\n FUN_14003e7c0(plVar16,plVar15,uVar17,param_4);\n local_148 = PTR_DAT_14016f010;\n FUN_1400020c0((longlong *)&local_148,(longlong *)&local_278,uVar17,param_4);\n plVar16 = FUN_140002040(&local_88,L\"NOTIFY_MAIL_ALARM\",0,param_4);\n (**(code **)(*param_1 + 0x28))(param_1,0x859e,plVar16,&local_148);\n local_298 = local_278;\n if (local_278 == (longlong *******)0x0) {\n local_298 = (longlong *******)PTR_DAT_14016f010;\n }\n pwVar25 = L\"NOTIFY_MAIL_ALARM\";\n uVar26 = 0x859e;\n uVar17 = (ulonglong)uVar3;\n (**(code **)(*(longlong *)param_1[2] + 0x70))();\n FUN_140002190((longlong *)&local_278,uVar17,uVar26,pwVar25);\n }\n if (((char)param_1[3] == '\\0') && (*(char *)((longlong)param_1 + 0x1a) != '\\0')) {\n local_258 = (void *)CONCAT44(local_258._4_4_,0x859e);\n local_250 = L\"NOTIFY_MAIL_ALARM\";\n local_248 = CONCAT44(local_248._4_4_,uVar3);\n local_240 = param_3;\n (**(code **)(*param_1 + 0x20))(param_1,&local_258);\n DVar6 = GetTickCount();\n }\n local_280 = (undefined8 *)&local_270;\n local_288 = (longlong *******)&local_80;\n local_290 = (longlong *******)&local_230;\n local_298 = (longlong *******)&local_268;\n puVar20 = &local_260;\n puVar21 = local_1d8;\n pwVar25 = (wchar_t *)(ulonglong)uVar3;\n cVar5 = (**(code **)(*param_1 + 0x60))(param_1);\n if (cVar5 == '\\0') {\n pwVar25 = L\"NOTIFY_MAIL_ALARM\";\n (**(code **)(*(longlong *)param_1[2] + 0x40))();\n }\n if (((char)param_1[3] == '\\0') && (*(char *)((longlong)param_1 + 0x1a) != '\\0')) {\n local_258 = (void *)CONCAT44(local_258._4_4_,0x859e);\n local_250 = L\"NOTIFY_MAIL_ALARM\";\n local_248 = CONCAT44(local_248._4_4_,uVar3);\n local_240 = param_3;\n DVar7 = GetTickCount();\n local_238 = DVar7 - DVar6;\n pwVar25 = (wchar_t *)&local_258;\n (**(code **)(*param_1 + 0x18))(param_1);\n }\n FUN_140002190((longlong *)&local_230,pwVar25,puVar21,puVar20);\n local_230 = (longlong *******)FUN_140002190((longlong *)&local_268,pwVar25,puVar21,puVar20);\n break;\n case 0x859f:\n FUN_140049b40(local_1d8);\n local_1d4 = param_2[10];\n local_1d8[0] = (undefined1)param_2[0x10];\n uVar26 = FUN_140074ee0(param_2,&local_278,4);\n if ((char)uVar26 != '\\0') {\n local_270 = (uint)local_278;\n }\n uVar26 = FUN_140074ee0(param_2,&local_230,8);\n if ((char)uVar26 != '\\0') {\n local_268 = local_230;\n }\n plVar16 = (longlong *)param_1[2];\n pwVar25 = L\"REQ_STATISTICS\";\n (**(code **)(*plVar16 + 0x48))();\n iVar23 = 0;\n DVar6 = 0;\n if (*(char *)((longlong)param_1 + 0x19) == '\\0') {\n if ((char)param_1[3] == '\\0') {\n local_298 = (longlong *******)&DAT_140131724;\n (**(code **)(*(longlong *)param_1[2] + 0x70))\n ((longlong *)param_1[2],uVar3,0x859f,L\"REQ_STATISTICS\");\n }\n }\n else if ((char)param_1[3] == '\\0') {\n FUN_14003e7c0(plVar16,param_2,pwVar25,param_4);\n local_278 = (longlong *******)PTR_DAT_14016f010;\n FUN_1400926b0((longlong *)&local_278);\n FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350);\n FUN_140092770((longlong *)&local_278);\n FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350);\n if ((local_278 != (longlong *******)0x0) &&\n (local_278 != (longlong *******)PTR_DAT_14016f010)) {\n iVar23 = *(int *)(local_278 + -1);\n }\n uVar17 = (ulonglong)(iVar23 - 2U);\n plVar15 = FUN_140028f40((longlong *)&local_278,&local_e8,iVar23 - 2U);\n FUN_1400020c0((longlong *)&local_278,plVar15,uVar17,param_4);\n plVar16 = &local_e8;\n FUN_140002190(plVar16,plVar15,uVar17,param_4);\n local_58._0_8_ = &local_128;\n FUN_14003e7c0(plVar16,plVar15,uVar17,param_4);\n local_128 = PTR_DAT_14016f010;\n FUN_1400020c0((longlong *)&local_128,(longlong *)&local_278,uVar17,param_4);\n plVar16 = FUN_140002040(local_b0 + 2,L\"REQ_STATISTICS\",0,param_4);\n (**(code **)(*param_1 + 0x28))(param_1,0x859f,plVar16,&local_128);\n local_298 = local_278;\n if (local_278 == (longlong *******)0x0) {\n local_298 = (longlong *******)PTR_DAT_14016f010;\n }\n pwVar25 = L\"REQ_STATISTICS\";\n uVar26 = 0x859f;\n uVar17 = (ulonglong)uVar3;\n (**(code **)(*(longlong *)param_1[2] + 0x70))();\n FUN_140002190((longlong *)&local_278,uVar17,uVar26,pwVar25);\n }\n if (((char)param_1[3] == '\\0') && (*(char *)((longlong)param_1 + 0x1a) != '\\0')) {\n local_258 = (void *)CONCAT44(local_258._4_4_,0x859f);\n local_250 = L\"REQ_STATISTICS\";\n local_248 = CONCAT44(local_248._4_4_,uVar3);\n local_240 = param_3;\n (**(code **)(*param_1 + 0x20))(param_1,&local_258);\n DVar6 = GetTickCount();\n }\n local_298 = (longlong *******)&local_268;\n local_230 = (longlong *******)\n (**(code **)(*param_1 + 0x68))(param_1,uVar3,local_1d8,&local_270);\n if ((char)local_230 == '\\0') {\n local_230 = (longlong *******)\n (**(code **)(*(longlong *)param_1[2] + 0x40))\n ((longlong *)param_1[2],L\"REQ_STATISTICS\");\n }\n if (((char)param_1[3] == '\\0') && (*(char *)((longlong)param_1 + 0x1a) != '\\0')) {\n local_258 = (void *)CONCAT44(local_258._4_4_,0x859f);\n local_250 = L\"REQ_STATISTICS\";\n goto LAB_140028e0f;\n }\n break;\n case 0x85a0:\n FUN_140049b40(local_1d8);\n local_1d4 = param_2[10];\n local_1d8[0] = (undefined1)param_2[0x10];\n uVar8 = 4;\n ppppppplVar10 = (longlong *******)&local_278;\n uVar26 = FUN_140074ee0(param_2,ppppppplVar10,4);\n if ((char)uVar26 != '\\0') {\n local_270 = (uint)local_278;\n }\n FUN_14003e7c0((ulonglong)local_270,ppppppplVar10,uVar8,param_4);\n local_268 = (longlong *******)PTR_DAT_14016f010;\n thunk_FUN_140076020(param_2,(longlong *)&local_268,uVar8,param_4);\n plVar16 = (longlong *)param_1[2];\n pwVar25 = L\"PT_MESSAGE\";\n (**(code **)(*plVar16 + 0x48))();\n DVar6 = 0;\n if (*(char *)((longlong)param_1 + 0x19) == '\\0') {\n if ((char)param_1[3] == '\\0') {\n local_298 = (longlong *******)&DAT_140131724;\n (**(code **)(*(longlong *)param_1[2] + 0x70))\n ((longlong *)param_1[2],uVar3,0x85a0,L\"PT_MESSAGE\");\n }\n }\n else if ((char)param_1[3] == '\\0') {\n FUN_14003e7c0(plVar16,param_2,pwVar25,param_4);\n local_278 = (longlong *******)PTR_DAT_14016f010;\n FUN_1400926b0((longlong *)&local_278);\n FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350);\n FUN_1400928b0((longlong *)&local_278,(longlong *)&local_268);\n FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350);\n DVar7 = DVar6;\n if ((local_278 != (longlong *******)0x0) &&\n (local_278 != (longlong *******)PTR_DAT_14016f010)) {\n DVar7 = *(DWORD *)(local_278 + -1);\n }\n uVar17 = (ulonglong)(DVar7 - 2);\n plVar15 = FUN_140028f40((longlong *)&local_278,&local_c0,DVar7 - 2);\n FUN_1400020c0((longlong *)&local_278,plVar15,uVar17,param_4);\n plVar16 = &local_c0;\n FUN_140002190(plVar16,plVar15,uVar17,param_4);\n local_58._0_8_ = &local_138;\n FUN_14003e7c0(plVar16,plVar15,uVar17,param_4);\n local_138 = PTR_DAT_14016f010;\n FUN_1400020c0((longlong *)&local_138,(longlong *)&local_278,uVar17,param_4);\n plVar16 = FUN_140002040(&local_b8,L\"PT_MESSAGE\",0,param_4);\n (**(code **)(*param_1 + 0x28))(param_1,0x85a0,plVar16,&local_138);\n local_298 = local_278;\n if (local_278 == (longlong *******)0x0) {\n local_298 = (longlong *******)PTR_DAT_14016f010;\n }\n pwVar25 = L\"PT_MESSAGE\";\n uVar26 = 0x85a0;\n uVar17 = (ulonglong)uVar3;\n (**(code **)(*(longlong *)param_1[2] + 0x70))();\n FUN_140002190((longlong *)&local_278,uVar17,uVar26,pwVar25);\n }\n if (((char)param_1[3] == '\\0') && (*(char *)((longlong)param_1 + 0x1a) != '\\0')) {\n local_258 = (void *)CONCAT44(local_258._4_4_,0x85a0);\n local_250 = L\"PT_MESSAGE\";\n local_248 = CONCAT44(local_248._4_4_,uVar3);\n local_240 = param_3;\n (**(code **)(*param_1 + 0x20))(param_1,&local_258);\n DVar6 = GetTickCount();\n }\n local_298 = (longlong *******)&local_268;\n puVar27 = (undefined8 *)&local_270;\n puVar21 = local_1d8;\n pwVar25 = (wchar_t *)(ulonglong)uVar3;\n cVar5 = (**(code **)(*param_1 + 0x70))(param_1);\n if (cVar5 == '\\0') {\n pwVar25 = L\"PT_MESSAGE\";\n (**(code **)(*(longlong *)param_1[2] + 0x40))();\n }\n if (((char)param_1[3] == '\\0') && (*(char *)((longlong)param_1 + 0x1a) != '\\0')) {\n local_258 = (void *)CONCAT44(local_258._4_4_,0x85a0);\n local_250 = L\"PT_MESSAGE\";\n local_248 = CONCAT44(local_248._4_4_,uVar3);\n local_240 = param_3;\n DVar7 = GetTickCount();\n local_238 = DVar7 - DVar6;\n pwVar25 = (wchar_t *)&local_258;\n (**(code **)(*param_1 + 0x18))(param_1);\n }\n local_230 = (longlong *******)FUN_140002190((longlong *)&local_268,pwVar25,puVar21,puVar27);\n break;\n case 0x85a1:\n puVar21 = local_1d8;\n FUN_140049b40(puVar21);\n local_1d4 = param_2[10];\n local_1d8[0] = (undefined1)param_2[0x10];\n FUN_14003e7c0(puVar21,pIVar22,uVar26,param_4);\n local_268 = (longlong *******)PTR_DAT_14016f010;\n thunk_FUN_140076020(param_2,(longlong *)&local_268,uVar26,param_4);\n uVar26 = FUN_140074ee0(param_2,&local_278,4);\n if ((char)uVar26 != '\\0') {\n local_270 = (uint)local_278;\n }\n plVar16 = (longlong *)param_1[2];\n pwVar25 = L\"PT_PATCH_SERVER\";\n (**(code **)(*plVar16 + 0x48))();\n DVar6 = 0;\n if (*(char *)((longlong)param_1 + 0x19) == '\\0') {\n if ((char)param_1[3] == '\\0') {\n local_298 = (longlong *******)&DAT_140131724;\n (**(code **)(*(longlong *)param_1[2] + 0x70))\n ((longlong *)param_1[2],uVar3,0x85a1,L\"PT_PATCH_SERVER\");\n }\n }\n else if ((char)param_1[3] == '\\0') {\n FUN_14003e7c0(plVar16,param_2,pwVar25,param_4);\n local_278 = (longlong *******)PTR_DAT_14016f010;\n FUN_1400928b0((longlong *)&local_278,(longlong *)&local_268);\n FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350);\n FUN_1400926b0((longlong *)&local_278);\n FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350);\n DVar7 = DVar6;\n if ((local_278 != (longlong *******)0x0) &&\n (local_278 != (longlong *******)PTR_DAT_14016f010)) {\n DVar7 = *(DWORD *)(local_278 + -1);\n }\n uVar17 = (ulonglong)(DVar7 - 2);\n plVar15 = FUN_140028f40((longlong *)&local_278,&local_d8,DVar7 - 2);\n FUN_1400020c0((longlong *)&local_278,plVar15,uVar17,param_4);\n plVar16 = &local_d8;\n FUN_140002190(plVar16,plVar15,uVar17,param_4);\n local_58._0_8_ = &local_158;\n FUN_14003e7c0(plVar16,plVar15,uVar17,param_4);\n local_158 = PTR_DAT_14016f010;\n FUN_1400020c0((longlong *)&local_158,(longlong *)&local_278,uVar17,param_4);\n plVar16 = FUN_140002040(&local_98,L\"PT_PATCH_SERVER\",0,param_4);\n (**(code **)(*param_1 + 0x28))(param_1,0x85a1,plVar16,&local_158);\n local_298 = local_278;\n if (local_278 == (longlong *******)0x0) {\n local_298 = (longlong *******)PTR_DAT_14016f010;\n }\n pwVar25 = L\"PT_PATCH_SERVER\";\n uVar26 = 0x85a1;\n uVar17 = (ulonglong)uVar3;\n (**(code **)(*(longlong *)param_1[2] + 0x70))();\n FUN_140002190((longlong *)&local_278,uVar17,uVar26,pwVar25);\n }\n if (((char)param_1[3] == '\\0') && (*(char *)((longlong)param_1 + 0x1a) != '\\0')) {\n local_258 = (void *)CONCAT44(local_258._4_4_,0x85a1);\n local_250 = L\"PT_PATCH_SERVER\";\n local_248 = CONCAT44(local_248._4_4_,uVar3);\n local_240 = param_3;\n (**(code **)(*param_1 + 0x20))(param_1,&local_258);\n DVar6 = GetTickCount();\n }\n local_298 = (longlong *******)&local_270;\n ppppppplVar10 = (longlong *******)&local_268;\n puVar21 = local_1d8;\n pwVar25 = (wchar_t *)(ulonglong)uVar3;\n cVar5 = (**(code **)(*param_1 + 0x78))(param_1);\n if (cVar5 == '\\0') {\n pwVar25 = L\"PT_PATCH_SERVER\";\n (**(code **)(*(longlong *)param_1[2] + 0x40))();\n }\n if (((char)param_1[3] == '\\0') && (*(char *)((longlong)param_1 + 0x1a) != '\\0')) {\n local_258 = (void *)CONCAT44(local_258._4_4_,0x85a1);\n local_250 = L\"PT_PATCH_SERVER\";\n local_248 = CONCAT44(local_248._4_4_,uVar3);\n local_240 = param_3;\n DVar7 = GetTickCount();\n local_238 = DVar7 - DVar6;\n pwVar25 = (wchar_t *)&local_258;\n (**(code **)(*param_1 + 0x18))(param_1);\n }\n local_230 = (longlong *******)\n FUN_140002190((longlong *)&local_268,pwVar25,puVar21,ppppppplVar10);\n break;\n case 0x85a2:\n FUN_140049b40(local_1d8);\n local_1d4 = param_2[10];\n local_1d8[0] = (undefined1)param_2[0x10];\n uVar26 = FUN_140074ee0(param_2,&local_278,4);\n if ((char)uVar26 != '\\0') {\n local_270 = (uint)local_278;\n }\n plVar16 = (longlong *)param_1[2];\n pwVar25 = L\"PT_BACKUP_CHARACTER_TABLE_COUNT\";\n (**(code **)(*plVar16 + 0x48))();\n iVar23 = 0;\n DVar6 = 0;\n if (*(char *)((longlong)param_1 + 0x19) == '\\0') {\n if ((char)param_1[3] == '\\0') {\n local_298 = (longlong *******)&DAT_140131724;\n (**(code **)(*(longlong *)param_1[2] + 0x70))\n ((longlong *)param_1[2],uVar3,0x85a2,L\"PT_BACKUP_CHARACTER_TABLE_COUNT\");\n }\n }\n else if ((char)param_1[3] == '\\0') {\n FUN_14003e7c0(plVar16,param_2,pwVar25,param_4);\n local_278 = (longlong *******)PTR_DAT_14016f010;\n FUN_1400926b0((longlong *)&local_278);\n FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350);\n if ((local_278 != (longlong *******)0x0) &&\n (local_278 != (longlong *******)PTR_DAT_14016f010)) {\n iVar23 = *(int *)(local_278 + -1);\n }\n uVar17 = (ulonglong)(iVar23 - 2U);\n plVar15 = FUN_140028f40((longlong *)&local_278,&local_e0,iVar23 - 2U);\n FUN_1400020c0((longlong *)&local_278,plVar15,uVar17,param_4);\n plVar16 = &local_e0;\n FUN_140002190(plVar16,plVar15,uVar17,param_4);\n local_58._0_8_ = &local_178;\n FUN_14003e7c0(plVar16,plVar15,uVar17,param_4);\n local_178 = PTR_DAT_14016f010;\n FUN_1400020c0((longlong *)&local_178,(longlong *)&local_278,uVar17,param_4);\n plVar16 = FUN_140002040(&local_90,L\"PT_BACKUP_CHARACTER_TABLE_COUNT\",0,param_4);\n (**(code **)(*param_1 + 0x28))(param_1,0x85a2,plVar16,&local_178);\n local_298 = local_278;\n if (local_278 == (longlong *******)0x0) {\n local_298 = (longlong *******)PTR_DAT_14016f010;\n }\n pwVar25 = L\"PT_BACKUP_CHARACTER_TABLE_COUNT\";\n uVar26 = 0x85a2;\n uVar17 = (ulonglong)uVar3;\n (**(code **)(*(longlong *)param_1[2] + 0x70))();\n FUN_140002190((longlong *)&local_278,uVar17,uVar26,pwVar25);\n }\n if (((char)param_1[3] == '\\0') && (*(char *)((longlong)param_1 + 0x1a) != '\\0')) {\n local_258 = (void *)CONCAT44(local_258._4_4_,0x85a2);\n local_250 = L\"PT_BACKUP_CHARACTER_TABLE_COUNT\";\n local_248 = CONCAT44(local_248._4_4_,uVar3);\n local_240 = param_3;\n (**(code **)(*param_1 + 0x20))(param_1,&local_258);\n DVar6 = GetTickCount();\n }\n local_230 = (longlong *******)\n (**(code **)(*param_1 + 0x80))(param_1,uVar3,local_1d8,&local_270);\n if ((char)local_230 == '\\0') {\n local_230 = (longlong *******)\n (**(code **)(*(longlong *)param_1[2] + 0x40))\n ((longlong *)param_1[2],L\"PT_BACKUP_CHARACTER_TABLE_COUNT\");\n }\n if (((char)param_1[3] == '\\0') && (*(char *)((longlong)param_1 + 0x1a) != '\\0')) {\n local_258 = (void *)CONCAT44(local_258._4_4_,0x85a2);\n local_250 = L\"PT_BACKUP_CHARACTER_TABLE_COUNT\";\n goto LAB_140028e0f;\n }\n break;\n case 0x85a3:\n FUN_140049b40(local_1d8);\n local_1d4 = param_2[10];\n local_1d8[0] = (undefined1)param_2[0x10];\n plVar16 = (longlong *)param_1[2];\n pwVar25 = L\"PT_BACKUP_CHARACTER_TABLE_END\";\n (**(code **)(*plVar16 + 0x48))();\n if (*(char *)((longlong)param_1 + 0x19) == '\\0') {\n if ((char)param_1[3] == '\\0') {\n local_298 = (longlong *******)&DAT_140131724;\n (**(code **)(*(longlong *)param_1[2] + 0x70))\n ((longlong *)param_1[2],uVar3,0x85a3,L\"PT_BACKUP_CHARACTER_TABLE_END\");\n }\n }\n else if ((char)param_1[3] == '\\0') {\n FUN_14003e7c0(plVar16,param_2,pwVar25,param_4);\n local_278 = (longlong *******)PTR_DAT_14016f010;\n uVar26 = 0xfffffffe;\n plVar15 = FUN_140028f40((longlong *)&local_278,&local_c8,0xfffffffe);\n FUN_1400020c0((longlong *)&local_278,plVar15,uVar26,param_4);\n plVar16 = &local_c8;\n FUN_140002190(plVar16,plVar15,uVar26,param_4);\n local_58._0_8_ = &local_168;\n FUN_14003e7c0(plVar16,plVar15,uVar26,param_4);\n local_168 = PTR_DAT_14016f010;\n FUN_1400020c0((longlong *)&local_168,(longlong *)&local_278,uVar26,param_4);\n plVar16 = FUN_140002040(local_b0,L\"PT_BACKUP_CHARACTER_TABLE_END\",0,param_4);\n (**(code **)(*param_1 + 0x28))(param_1,0x85a3,plVar16,&local_168);\n local_298 = local_278;\n if (local_278 == (longlong *******)0x0) {\n local_298 = (longlong *******)PTR_DAT_14016f010;\n }\n pwVar25 = L\"PT_BACKUP_CHARACTER_TABLE_END\";\n uVar26 = 0x85a3;\n uVar17 = (ulonglong)uVar3;\n (**(code **)(*(longlong *)param_1[2] + 0x70))();\n FUN_140002190((longlong *)&local_278,uVar17,uVar26,pwVar25);\n }\n DVar6 = 0;\n if (((char)param_1[3] == '\\0') && (*(char *)((longlong)param_1 + 0x1a) != '\\0')) {\n local_258 = (void *)CONCAT44(local_258._4_4_,0x85a3);\n local_250 = L\"PT_BACKUP_CHARACTER_TABLE_END\";\n local_248 = CONCAT44(local_248._4_4_,uVar3);\n local_240 = param_3;\n (**(code **)(*param_1 + 0x20))(param_1,&local_258);\n DVar6 = GetTickCount();\n }\n local_230 = (longlong *******)(**(code **)(*param_1 + 0x88))(param_1,uVar3,local_1d8);\n if ((char)local_230 == '\\0') {\n local_230 = (longlong *******)\n (**(code **)(*(longlong *)param_1[2] + 0x40))\n ((longlong *)param_1[2],L\"PT_BACKUP_CHARACTER_TABLE_END\");\n }\n if (((char)param_1[3] == '\\0') && (*(char *)((longlong)param_1 + 0x1a) != '\\0')) {\n local_258 = (void *)CONCAT44(local_258._4_4_,0x85a3);\n local_250 = L\"PT_BACKUP_CHARACTER_TABLE_END\";\n goto LAB_140028e0f;\n }\n break;\n default:\n goto switchD_1400265c4_default;\n }\n uVar17 = CONCAT71((int7)((ulonglong)local_230 >> 8),1);\n }\n return uVar17;\n}\n\n","status":"ok"},{"address":"0x14002c3c0","procedure":{"address":"0x14002c3c0","name":"FUN_14002c3c0","status":"resolved"},"pseudocode":"\nulonglong FUN_14002c3c0(longlong *****param_1,uint *param_2,undefined8 param_3,undefined8 param_4)\n\n{\n longlong ********pppppppplVar1;\n int *piVar2;\n uint uVar3;\n uint uVar4;\n char cVar5;\n int iVar6;\n DWORD DVar7;\n DWORD DVar8;\n undefined8 uVar9;\n undefined *puVar10;\n longlong *********ppppppppplVar11;\n longlong ********pppppppplVar12;\n longlong *********ppppppppplVar13;\n longlong *********ppppppppplVar14;\n undefined8 uVar15;\n longlong *plVar16;\n longlong *plVar17;\n longlong ********pppppppplVar18;\n ulonglong uVar19;\n undefined4 uVar20;\n longlong *****ppppplVar21;\n uint *puVar22;\n undefined1 *puVar23;\n longlong ****pppplVar24;\n undefined1 uVar25;\n IMAGE_DOS_HEADER *pIVar26;\n undefined **ppuVar27;\n wchar_t *pwVar28;\n longlong ********local_res10 [2];\n longlong ********local_res20;\n longlong ********local_258;\n undefined1 local_250;\n longlong ********local_248;\n wchar_t *local_240;\n uint local_238;\n undefined8 local_230;\n int local_228;\n longlong ********local_220;\n undefined1 local_218;\n longlong ********local_210;\n undefined1 local_208;\n longlong ********local_200;\n undefined1 local_1f8;\n longlong ********local_1f0;\n longlong ********local_1e8;\n longlong ********local_1e0;\n longlong ********local_1d8;\n longlong ********local_1d0;\n undefined1 local_1c8 [4];\n uint local_1c4;\n undefined8 local_190;\n longlong *******local_168;\n longlong *******local_160;\n undefined4 local_158;\n longlong *******local_150;\n undefined *local_148;\n longlong *******local_140;\n undefined *local_138;\n longlong *******local_130;\n longlong *******local_128;\n undefined4 local_120;\n undefined *local_118;\n longlong *******local_110;\n undefined *local_108;\n uint local_100 [2];\n undefined *local_f8;\n undefined4 local_f0;\n undefined *local_e8;\n undefined *local_e0;\n undefined *local_d8;\n undefined *local_d0;\n undefined *local_c8;\n longlong ********local_c0;\n undefined1 local_b8;\n longlong local_b0;\n longlong local_a8;\n longlong local_a0;\n longlong local_98;\n longlong local_90;\n longlong local_88;\n longlong local_80 [3];\n longlong local_68;\n longlong local_60;\n longlong local_58;\n longlong local_50;\n longlong local_48;\n longlong local_40;\n \n local_80[1] = 0xfffffffffffffffe;\n uVar3 = param_2[10];\n uVar15 = param_3;\n if (uVar3 == 0) {\n FUN_140079c10();\n }\n uVar4 = *param_2;\n uVar9 = FUN_140075890(param_2,local_100,uVar15,param_4);\n if ((char)uVar9 == '\\0') {\nswitchD_14002c453_default:\n uVar19 = FUN_140074bb0((int *)param_2,\n (ulonglong)(uint)((int)(((int)uVar4 >> 0x1f & 7U) + uVar4) >> 3),uVar15,\n param_4);\n uVar19 = uVar19 & 0xffffffffffffff00;\n }\n else {\n pIVar26 = &IMAGE_DOS_HEADER_140000000;\n local_190 = param_3;\n switch(local_100[0]) {\n case 0x8661:\n puVar23 = local_1c8;\n FUN_140049b40(puVar23);\n local_1c4 = param_2[10];\n local_1c8[0] = (undefined1)param_2[0x10];\n FUN_14003e7c0(puVar23,pIVar26,uVar15,param_4);\n local_258 = (longlong ********)PTR_DAT_14016f010;\n ppppppppplVar13 = &local_258;\n puVar22 = param_2;\n thunk_FUN_140076020(param_2,(longlong *)ppppppppplVar13,uVar15,param_4);\n FUN_14003e7c0(puVar22,ppppppppplVar13,uVar15,param_4);\n local_res20 = (longlong ********)PTR_DAT_14016f010;\n thunk_FUN_140076020(param_2,(longlong *)&local_res20,uVar15,param_4);\n pppplVar24 = param_1[2];\n pwVar28 = L\"REQ_AUTH\";\n (*(code *)(*pppplVar24)[9])();\n DVar7 = 0;\n if (*(char *)((longlong)param_1 + 0x19) == '\\0') {\n if (*(char *)(param_1 + 3) == '\\0') {\n (*(code *)(*param_1[2])[0xe])(param_1[2],uVar3,0x8661,L\"REQ_AUTH\",&DAT_140131724);\n }\n }\n else if (*(char *)(param_1 + 3) == '\\0') {\n FUN_14003e7c0(pppplVar24,param_2,pwVar28,param_4);\n local_res10[0] = (longlong ********)PTR_DAT_14016f010;\n FUN_1400928b0((longlong *)local_res10,(longlong *)&local_258);\n FUN_140029bf0((longlong *)local_res10,(short *)&DAT_140133350);\n FUN_1400928b0((longlong *)local_res10,(longlong *)&local_res20);\n FUN_140029bf0((longlong *)local_res10,(short *)&DAT_140133350);\n DVar8 = DVar7;\n if (((longlong *********)local_res10[0] != (longlong *********)0x0) &&\n (local_res10[0] != (longlong ********)PTR_DAT_14016f010)) {\n DVar8 = *(DWORD *)(local_res10[0] + -1);\n }\n uVar19 = (ulonglong)(DVar8 - 2);\n local_210 = (longlong ********)\n FUN_140028f40((longlong *)local_res10,(longlong *)&local_c8,DVar8 - 2);\n ppppppppplVar13 = (longlong *********)local_res10[0];\n if ((longlong *********)local_res10[0] == (longlong *********)0x0) {\n ppppppppplVar13 = (longlong *********)PTR_DAT_14016f010;\n }\n local_res10[0] = (longlong ********)ppppppppplVar13;\n if ((longlong *********)*local_210 != ppppppppplVar13) {\n ppppppppplVar13 =\n (longlong *********)FUN_14003e7c0(ppppppppplVar13,PTR_DAT_14016f010,uVar19,param_4);\n local_220 = (longlong ********)ppppppppplVar13;\n FUN_14003d040((int *)ppppppppplVar13);\n pppppppplVar18 = local_res10[0];\n local_218 = 1;\n if ((((longlong *********)local_res10[0] != (longlong *********)0x0) &&\n (local_res10[0] != (longlong ********)PTR_DAT_14016f010)) &&\n (ppppppppplVar11 = (longlong *********)(local_res10[0] + -1),\n ppppppppplVar11 != (longlong *********)0x0)) {\n ppppppppplVar14 =\n (longlong *********)FUN_14003e7c0(local_res10[0],PTR_DAT_14016f010,uVar19,param_4);\n local_200 = (longlong ********)ppppppppplVar14;\n FUN_14003d040((int *)ppppppppplVar14);\n local_1f8 = 1;\n piVar2 = (int *)((longlong)pppppppplVar18 + -4);\n *piVar2 = *piVar2 + -1;\n if (*piVar2 == 0) {\n FUN_14003e8b0(ppppppppplVar11);\n }\n FUN_14003d0d0((longlong)ppppppppplVar14);\n }\n local_res10[0] = (longlong ********)*local_210;\n if (((local_res10[0] != (longlong ********)PTR_DAT_14016f010) &&\n ((longlong *********)local_res10[0] != (longlong *********)0x0)) &&\n ((longlong *********)local_res10[0] != (longlong *********)0x8)) {\n *(int *)((longlong)local_res10[0] + -4) = *(int *)((longlong)local_res10[0] + -4) + 1;\n }\n FUN_14003d0d0((longlong)ppppppppplVar13);\n }\n if (((local_c8 != (undefined *)0x0) && (local_c8 != PTR_DAT_14016f010)) &&\n (local_c8 + -8 != (undefined *)0x0)) {\n ppppppppplVar13 =\n (longlong *********)FUN_14003e7c0(ppppppppplVar13,PTR_DAT_14016f010,uVar19,param_4);\n local_210 = (longlong ********)ppppppppplVar13;\n FUN_14003d040((int *)ppppppppplVar13);\n local_208 = 1;\n piVar2 = (int *)(local_c8 + -4);\n *piVar2 = *piVar2 + -1;\n if (*piVar2 == 0) {\n FUN_14003e8b0(local_c8 + -8);\n }\n FUN_14003d0d0((longlong)ppppppppplVar13);\n }\n local_210 = (longlong ********)&local_1d8;\n puVar10 = PTR_DAT_14016f010;\n local_c8 = PTR_DAT_14016f010;\n FUN_14003e7c0(ppppppppplVar13,PTR_DAT_14016f010,uVar19,param_4);\n local_1d8 = (longlong ********)PTR_DAT_14016f010;\n if (PTR_DAT_14016f010 == (undefined *)0x0) {\n local_1d8 = (longlong ********)(longlong *********)0x0;\n }\n if (local_res10[0] != (longlong ********)PTR_DAT_14016f010) {\n ppppppppplVar13 =\n (longlong *********)FUN_14003e7c0(ppppppppplVar13,puVar10,uVar19,param_4);\n local_220 = (longlong ********)ppppppppplVar13;\n FUN_14003d040((int *)ppppppppplVar13);\n local_218 = 1;\n FUN_140002190((longlong *)&local_1d8,puVar10,uVar19,param_4);\n local_1d8 = local_res10[0];\n if (((local_res10[0] != (longlong ********)PTR_DAT_14016f010) &&\n ((longlong *********)local_res10[0] != (longlong *********)0x0)) &&\n ((longlong *********)local_res10[0] != (longlong *********)0x8)) {\n *(int *)((longlong)local_res10[0] + -4) = *(int *)((longlong)local_res10[0] + -4) + 1;\n }\n FUN_14003d0d0((longlong)ppppppppplVar13);\n }\n FUN_14003e7c0(ppppppppplVar13,puVar10,uVar19,param_4);\n local_108 = PTR_DAT_14016f010;\n iVar6 = FUN_14003e620(L\"REQ_AUTH\");\n puVar10 = FUN_140001ee0((longlong *)&local_108,iVar6);\n FUN_14003e650(puVar10,L\"REQ_AUTH\",iVar6);\n FUN_140001fc0((longlong *)&local_108);\n (*(code *)(*param_1)[5])(param_1,0x8661,&local_108,&local_1d8);\n pppplVar24 = param_1[2];\n pwVar28 = L\"REQ_AUTH\";\n uVar15 = 0x8661;\n uVar19 = (ulonglong)uVar3;\n (*(code *)(*pppplVar24)[0xe])();\n pppppppplVar18 = local_res10[0];\n if ((((longlong *********)local_res10[0] != (longlong *********)0x0) &&\n (local_res10[0] != (longlong ********)PTR_DAT_14016f010)) &&\n (ppppppppplVar13 = (longlong *********)(local_res10[0] + -1),\n ppppppppplVar13 != (longlong *********)0x0)) {\n ppppppppplVar11 = (longlong *********)FUN_14003e7c0(pppplVar24,uVar19,uVar15,pwVar28);\n local_210 = (longlong ********)ppppppppplVar11;\n FUN_14003d040((int *)ppppppppplVar11);\n local_208 = 1;\n piVar2 = (int *)((longlong)pppppppplVar18 + -4);\n *piVar2 = *piVar2 + -1;\n if (*piVar2 == 0) {\n FUN_14003e8b0(ppppppppplVar13);\n }\n FUN_14003d0d0((longlong)ppppppppplVar11);\n }\n }\n if ((*(char *)(param_1 + 3) == '\\0') && (*(char *)((longlong)param_1 + 0x1a) != '\\0')) {\n local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x8661);\n local_240 = L\"REQ_AUTH\";\n local_238 = uVar3;\n local_230 = param_3;\n (*(code *)(*param_1)[4])(param_1,&local_248);\n DVar7 = GetTickCount();\n }\n ppppppppplVar13 = &local_258;\n puVar23 = local_1c8;\n ppppppppplVar11 = (longlong *********)param_1;\n cVar5 = (*(code *)(*param_1)[7])(param_1,uVar3,puVar23,ppppppppplVar13,&local_res20);\n if (cVar5 == '\\0') {\n ppppppppplVar11 = (longlong *********)param_1[2];\n (*(code *)(*ppppppppplVar11)[8])(ppppppppplVar11,L\"REQ_AUTH\");\n }\n if ((*(char *)(param_1 + 3) == '\\0') && (*(char *)((longlong)param_1 + 0x1a) != '\\0')) {\n local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x8661);\n local_240 = L\"REQ_AUTH\";\n local_238 = uVar3;\n local_230 = param_3;\n DVar8 = GetTickCount();\n local_228 = DVar8 - DVar7;\n (*(code *)(*param_1)[3])(param_1,&local_248);\n ppppppppplVar11 = (longlong *********)param_1;\n }\n pppppppplVar18 = local_res20;\n if (((local_res20 != (longlong ********)0x0) &&\n (local_res20 != (longlong ********)PTR_DAT_14016f010)) &&\n (pppppppplVar1 = local_res20 + -1, pppppppplVar1 != (longlong ********)0x0)) {\n ppppppppplVar11 =\n (longlong *********)\n FUN_14003e7c0(ppppppppplVar11,PTR_DAT_14016f010,puVar23,ppppppppplVar13);\n local_210 = (longlong ********)ppppppppplVar11;\n FUN_14003d040((int *)ppppppppplVar11);\n local_208 = 1;\n piVar2 = (int *)((longlong)pppppppplVar18 + -4);\n *piVar2 = *piVar2 + -1;\n if (*piVar2 == 0) {\n FUN_14003e8b0(pppppppplVar1);\n }\n FUN_14003d0d0((longlong)ppppppppplVar11);\n }\n pppppppplVar18 = local_258;\n if (((local_258 != (longlong ********)0x0) &&\n (local_258 != (longlong ********)PTR_DAT_14016f010)) &&\n (pppppppplVar1 = local_258 + -1, pppppppplVar1 != (longlong ********)0x0)) {\n local_res20 = (longlong ********)PTR_DAT_14016f010;\n pppppppplVar12 =\n (longlong ********)\n FUN_14003e7c0(ppppppppplVar11,PTR_DAT_14016f010,puVar23,ppppppppplVar13);\n local_210 = pppppppplVar12;\n FUN_14003d040((int *)pppppppplVar12);\n local_208 = 1;\n piVar2 = (int *)((longlong)pppppppplVar18 + -4);\n *piVar2 = *piVar2 + -1;\n if (*piVar2 == 0) {\n FUN_14003e8b0(pppppppplVar1);\n }\n pppppppplVar18 = (longlong ********)FUN_14003d0d0((longlong)pppppppplVar12);\n }\n break;\n case 0x8662:\n FUN_140049b40(local_1c8);\n local_1c4 = param_2[10];\n local_1c8[0] = (undefined1)param_2[0x10];\n pppplVar24 = param_1[2];\n pwVar28 = L\"REQ_SERVER_INFORMATION\";\n (*(code *)(*pppplVar24)[9])();\n DVar7 = 0;\n if (*(char *)((longlong)param_1 + 0x19) == '\\0') {\n if (*(char *)(param_1 + 3) == '\\0') {\n (*(code *)(*param_1[2])[0xe])\n (param_1[2],uVar3,0x8662,L\"REQ_SERVER_INFORMATION\",&DAT_140131724);\n }\n }\n else if (*(char *)(param_1 + 3) == '\\0') {\n FUN_14003e7c0(pppplVar24,param_2,pwVar28,param_4);\n ppppppppplVar13 = (longlong *********)PTR_DAT_14016f010;\n local_res10[0] = (longlong ********)PTR_DAT_14016f010;\n uVar15 = 0xfffffffe;\n ppuVar27 = &local_d8;\n local_res20 = (longlong ********)\n FUN_140028f40((longlong *)local_res10,(longlong *)ppuVar27,0xfffffffe);\n if (ppppppppplVar13 == (longlong *********)0x0) {\n ppppppppplVar13 = (longlong *********)PTR_DAT_14016f010;\n }\n local_res10[0] = (longlong ********)ppppppppplVar13;\n if ((longlong *********)*local_res20 != ppppppppplVar13) {\n ppppppppplVar14 =\n (longlong *********)FUN_14003e7c0(PTR_DAT_14016f010,ppuVar27,uVar15,param_4);\n ppppppppplVar11 = ppppppppplVar14;\n local_258 = (longlong ********)ppppppppplVar14;\n FUN_14003d040((int *)ppppppppplVar14);\n local_250 = 1;\n if (((ppppppppplVar13 != (longlong *********)0x0) &&\n (ppppppppplVar13 != (longlong *********)PTR_DAT_14016f010)) &&\n (ppppppppplVar13 + -1 != (longlong *********)0x0)) {\n ppppppppplVar11 =\n (longlong *********)FUN_14003e7c0(ppppppppplVar11,ppuVar27,uVar15,param_4);\n local_210 = (longlong ********)ppppppppplVar11;\n FUN_14003d040((int *)ppppppppplVar11);\n local_208 = 1;\n piVar2 = (int *)((longlong)ppppppppplVar13 + -4);\n *piVar2 = *piVar2 + -1;\n if (*piVar2 == 0) {\n FUN_14003e8b0(ppppppppplVar13 + -1);\n }\n FUN_14003d0d0((longlong)ppppppppplVar11);\n }\n ppppppppplVar13 = (longlong *********)*local_res20;\n if (((ppppppppplVar13 != (longlong *********)PTR_DAT_14016f010) &&\n (ppppppppplVar13 != (longlong *********)0x0)) &&\n (ppppppppplVar13 != (longlong *********)0x8)) {\n *(int *)((longlong)ppppppppplVar13 + -4) = *(int *)((longlong)ppppppppplVar13 + -4) + 1;\n }\n local_res10[0] = (longlong ********)ppppppppplVar13;\n FUN_14003d0d0((longlong)ppppppppplVar14);\n }\n if (((local_d8 != (undefined *)0x0) && (local_d8 != PTR_DAT_14016f010)) &&\n (local_d8 + -8 != (undefined *)0x0)) {\n ppppppppplVar11 =\n (longlong *********)FUN_14003e7c0(PTR_DAT_14016f010,ppuVar27,uVar15,param_4);\n local_258 = (longlong ********)ppppppppplVar11;\n FUN_14003d040((int *)ppppppppplVar11);\n local_250 = 1;\n piVar2 = (int *)(local_d8 + -4);\n *piVar2 = *piVar2 + -1;\n if (*piVar2 == 0) {\n FUN_14003e8b0(local_d8 + -8);\n }\n FUN_14003d0d0((longlong)ppppppppplVar11);\n }\n local_res20 = (longlong ********)&local_1f0;\n ppppppppplVar11 = (longlong *********)PTR_DAT_14016f010;\n local_d8 = PTR_DAT_14016f010;\n FUN_14003e7c0(PTR_DAT_14016f010,ppuVar27,uVar15,param_4);\n local_1f0 = (longlong ********)PTR_DAT_14016f010;\n if (PTR_DAT_14016f010 == (undefined *)0x0) {\n local_1f0 = (longlong ********)(longlong *********)0x0;\n }\n if (ppppppppplVar13 != (longlong *********)PTR_DAT_14016f010) {\n ppppppppplVar11 =\n (longlong *********)FUN_14003e7c0(ppppppppplVar11,ppuVar27,uVar15,param_4);\n local_258 = (longlong ********)ppppppppplVar11;\n FUN_14003d040((int *)ppppppppplVar11);\n local_250 = 1;\n FUN_140002190((longlong *)&local_1f0,ppuVar27,uVar15,param_4);\n if (((ppppppppplVar13 != (longlong *********)PTR_DAT_14016f010) &&\n (ppppppppplVar13 != (longlong *********)0x0)) &&\n (ppppppppplVar13 != (longlong *********)0x8)) {\n *(int *)((longlong)ppppppppplVar13 + -4) = *(int *)((longlong)ppppppppplVar13 + -4) + 1;\n }\n local_1f0 = (longlong ********)ppppppppplVar13;\n FUN_14003d0d0((longlong)ppppppppplVar11);\n }\n FUN_14003e7c0(ppppppppplVar11,ppuVar27,uVar15,param_4);\n local_148 = PTR_DAT_14016f010;\n iVar6 = FUN_14003e620(L\"REQ_SERVER_INFORMATION\");\n puVar10 = FUN_140001ee0((longlong *)&local_148,iVar6);\n FUN_14003e650(puVar10,L\"REQ_SERVER_INFORMATION\",iVar6);\n FUN_140001fc0((longlong *)&local_148);\n (*(code *)(*param_1)[5])(param_1,0x8662,&local_148,&local_1f0);\n pppplVar24 = param_1[2];\n pwVar28 = L\"REQ_SERVER_INFORMATION\";\n uVar15 = 0x8662;\n uVar19 = (ulonglong)uVar3;\n (*(code *)(*pppplVar24)[0xe])();\n if (((ppppppppplVar13 != (longlong *********)0x0) &&\n (ppppppppplVar13 != (longlong *********)PTR_DAT_14016f010)) &&\n (ppppppppplVar13 + -1 != (longlong *********)0x0)) {\n ppppppppplVar11 = (longlong *********)FUN_14003e7c0(pppplVar24,uVar19,uVar15,pwVar28);\n local_258 = (longlong ********)ppppppppplVar11;\n FUN_14003d040((int *)ppppppppplVar11);\n local_250 = 1;\n piVar2 = (int *)((longlong)ppppppppplVar13 + -4);\n *piVar2 = *piVar2 + -1;\n if (*piVar2 == 0) {\n FUN_14003e8b0(ppppppppplVar13 + -1);\n }\n FUN_14003d0d0((longlong)ppppppppplVar11);\n }\n }\n if ((*(char *)(param_1 + 3) == '\\0') && (*(char *)((longlong)param_1 + 0x1a) != '\\0')) {\n local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x8662);\n local_240 = L\"REQ_SERVER_INFORMATION\";\n local_238 = uVar3;\n local_230 = param_3;\n (*(code *)(*param_1)[4])(param_1,&local_248);\n DVar7 = GetTickCount();\n }\n pppppppplVar18 = (longlong ********)(*(code *)(*param_1)[8])(param_1,uVar3,local_1c8);\n if ((char)pppppppplVar18 == '\\0') {\n pppppppplVar18 =\n (longlong ********)(*(code *)(*param_1[2])[8])(param_1[2],L\"REQ_SERVER_INFORMATION\");\n }\n if ((*(char *)(param_1 + 3) == '\\0') && (*(char *)((longlong)param_1 + 0x1a) != '\\0')) {\n local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x8662);\n local_240 = L\"REQ_SERVER_INFORMATION\";\nLAB_14002eed4:\n local_238 = uVar3;\n local_230 = param_3;\n DVar8 = GetTickCount();\n local_228 = DVar8 - DVar7;\n pppppppplVar18 = (longlong ********)(*(code *)(*param_1)[3])(param_1,&local_248);\n }\n break;\n case 0x8663:\n FUN_140049b40(local_1c8);\n local_1c4 = param_2[10];\n local_1c8[0] = (undefined1)param_2[0x10];\n uVar15 = FUN_140074ee0(param_2,&local_220,4);\n uVar20 = (uint)local_res20;\n if ((char)uVar15 != '\\0') {\n uVar20 = (uint)local_220;\n }\n local_res20 = (longlong ********)CONCAT44(local_res20._4_4_,uVar20);\n uVar15 = FUN_140074ee0(param_2,&local_220,4);\n uVar20 = (uint)local_res10[0];\n if ((char)uVar15 != '\\0') {\n uVar20 = (uint)local_220;\n }\n local_res10[0] = (longlong ********)CONCAT44(local_res10[0]._4_4_,uVar20);\n pppplVar24 = param_1[2];\n pwVar28 = L\"PT_SERVER_COMMAND\";\n (*(code *)(*pppplVar24)[9])();\n DVar7 = 0;\n if (*(char *)((longlong)param_1 + 0x19) == '\\0') {\n if (*(char *)(param_1 + 3) == '\\0') {\n (*(code *)(*param_1[2])[0xe])(param_1[2],uVar3,0x8663,L\"PT_SERVER_COMMAND\",&DAT_140131724)\n ;\n }\n }\n else if (*(char *)(param_1 + 3) == '\\0') {\n FUN_14003e7c0(pppplVar24,param_2,pwVar28,param_4);\n local_258 = (longlong ********)PTR_DAT_14016f010;\n FUN_1400926b0((longlong *)&local_258);\n FUN_140029bf0((longlong *)&local_258,(short *)&DAT_140133350);\n FUN_1400926b0((longlong *)&local_258);\n FUN_140029bf0((longlong *)&local_258,(short *)&DAT_140133350);\n iVar6 = 0;\n if (((longlong *********)local_258 != (longlong *********)0x0) &&\n (local_258 != (longlong ********)PTR_DAT_14016f010)) {\n iVar6 = *(int *)(local_258 + -1);\n }\n uVar19 = (ulonglong)(iVar6 - 2U);\n local_210 = (longlong ********)\n FUN_140028f40((longlong *)&local_258,(longlong *)&local_e0,iVar6 - 2U);\n ppppppppplVar13 = (longlong *********)local_258;\n if ((longlong *********)local_258 == (longlong *********)0x0) {\n ppppppppplVar13 = (longlong *********)PTR_DAT_14016f010;\n }\n local_258 = (longlong ********)ppppppppplVar13;\n if ((longlong *********)*local_210 != ppppppppplVar13) {\n ppppppppplVar13 =\n (longlong *********)FUN_14003e7c0(ppppppppplVar13,PTR_DAT_14016f010,uVar19,param_4);\n local_220 = (longlong ********)ppppppppplVar13;\n FUN_14003d040((int *)ppppppppplVar13);\n pppppppplVar18 = local_258;\n local_218 = 1;\n if ((((longlong *********)local_258 != (longlong *********)0x0) &&\n (local_258 != (longlong ********)PTR_DAT_14016f010)) &&\n (ppppppppplVar11 = (longlong *********)(local_258 + -1),\n ppppppppplVar11 != (longlong *********)0x0)) {\n ppppppppplVar14 =\n (longlong *********)FUN_14003e7c0(local_258,PTR_DAT_14016f010,uVar19,param_4);\n local_200 = (longlong ********)ppppppppplVar14;\n FUN_14003d040((int *)ppppppppplVar14);\n local_1f8 = 1;\n piVar2 = (int *)((longlong)pppppppplVar18 + -4);\n *piVar2 = *piVar2 + -1;\n if (*piVar2 == 0) {\n FUN_14003e8b0(ppppppppplVar11);\n }\n FUN_14003d0d0((longlong)ppppppppplVar14);\n }\n local_258 = (longlong ********)*local_210;\n if (((local_258 != (longlong ********)PTR_DAT_14016f010) &&\n ((longlong *********)local_258 != (longlong *********)0x0)) &&\n ((longlong *********)local_258 != (longlong *********)0x8)) {\n *(int *)((longlong)local_258 + -4) = *(int *)((longlong)local_258 + -4) + 1;\n }\n FUN_14003d0d0((longlong)ppppppppplVar13);\n }\n if (((local_e0 != (undefined *)0x0) && (local_e0 != PTR_DAT_14016f010)) &&\n (local_e0 + -8 != (undefined *)0x0)) {\n ppppppppplVar13 =\n (longlong *********)FUN_14003e7c0(ppppppppplVar13,PTR_DAT_14016f010,uVar19,param_4);\n local_210 = (longlong ********)ppppppppplVar13;\n FUN_14003d040((int *)ppppppppplVar13);\n local_208 = 1;\n piVar2 = (int *)(local_e0 + -4);\n *piVar2 = *piVar2 + -1;\n if (*piVar2 == 0) {\n FUN_14003e8b0(local_e0 + -8);\n }\n FUN_14003d0d0((longlong)ppppppppplVar13);\n }\n local_210 = (longlong ********)&local_1e0;\n puVar10 = PTR_DAT_14016f010;\n local_e0 = PTR_DAT_14016f010;\n FUN_14003e7c0(ppppppppplVar13,PTR_DAT_14016f010,uVar19,param_4);\n local_1e0 = (longlong ********)PTR_DAT_14016f010;\n if (PTR_DAT_14016f010 == (undefined *)0x0) {\n local_1e0 = (longlong ********)(longlong *********)0x0;\n }\n if (local_258 != (longlong ********)PTR_DAT_14016f010) {\n ppppppppplVar13 =\n (longlong *********)FUN_14003e7c0(ppppppppplVar13,puVar10,uVar19,param_4);\n local_220 = (longlong ********)ppppppppplVar13;\n FUN_14003d040((int *)ppppppppplVar13);\n local_218 = 1;\n FUN_140002190((longlong *)&local_1e0,puVar10,uVar19,param_4);\n local_1e0 = local_258;\n if (((local_258 != (longlong ********)PTR_DAT_14016f010) &&\n ((longlong *********)local_258 != (longlong *********)0x0)) &&\n ((longlong *********)local_258 != (longlong *********)0x8)) {\n *(int *)((longlong)local_258 + -4) = *(int *)((longlong)local_258 + -4) + 1;\n }\n FUN_14003d0d0((longlong)ppppppppplVar13);\n }\n FUN_14003e7c0(ppppppppplVar13,puVar10,uVar19,param_4);\n local_118 = PTR_DAT_14016f010;\n iVar6 = FUN_14003e620(L\"PT_SERVER_COMMAND\");\n puVar10 = FUN_140001ee0((longlong *)&local_118,iVar6);\n FUN_14003e650(puVar10,L\"PT_SERVER_COMMAND\",iVar6);\n FUN_140001fc0((longlong *)&local_118);\n (*(code *)(*param_1)[5])(param_1,0x8663,&local_118,&local_1e0);\n pppplVar24 = param_1[2];\n pwVar28 = L\"PT_SERVER_COMMAND\";\n uVar15 = 0x8663;\n uVar19 = (ulonglong)uVar3;\n (*(code *)(*pppplVar24)[0xe])();\n pppppppplVar18 = local_258;\n if ((((longlong *********)local_258 != (longlong *********)0x0) &&\n (local_258 != (longlong ********)PTR_DAT_14016f010)) &&\n (ppppppppplVar13 = (longlong *********)(local_258 + -1),\n ppppppppplVar13 != (longlong *********)0x0)) {\n ppppppppplVar11 = (longlong *********)FUN_14003e7c0(pppplVar24,uVar19,uVar15,pwVar28);\n local_210 = (longlong ********)ppppppppplVar11;\n FUN_14003d040((int *)ppppppppplVar11);\n local_208 = 1;\n piVar2 = (int *)((longlong)pppppppplVar18 + -4);\n *piVar2 = *piVar2 + -1;\n if (*piVar2 == 0) {\n FUN_14003e8b0(ppppppppplVar13);\n }\n FUN_14003d0d0((longlong)ppppppppplVar11);\n }\n }\n if ((*(char *)(param_1 + 3) == '\\0') && (*(char *)((longlong)param_1 + 0x1a) != '\\0')) {\n local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x8663);\n local_240 = L\"PT_SERVER_COMMAND\";\n local_238 = uVar3;\n local_230 = param_3;\n (*(code *)(*param_1)[4])(param_1,&local_248);\n DVar7 = GetTickCount();\n }\n pppppppplVar18 =\n (longlong ********)\n (*(code *)(*param_1)[9])(param_1,uVar3,local_1c8,&local_res20,local_res10);\n if ((char)pppppppplVar18 == '\\0') {\n pppppppplVar18 =\n (longlong ********)(*(code *)(*param_1[2])[8])(param_1[2],L\"PT_SERVER_COMMAND\");\n }\n if ((*(char *)(param_1 + 3) == '\\0') && (*(char *)((longlong)param_1 + 0x1a) != '\\0')) {\n local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x8663);\n local_240 = L\"PT_SERVER_COMMAND\";\n goto LAB_14002eed4;\n }\n break;\n case 0x8664:\n FUN_140049b40(local_1c8);\n local_1c4 = param_2[10];\n local_1c8[0] = (undefined1)param_2[0x10];\n uVar15 = FUN_140074ee0(param_2,&local_220,4);\n uVar20 = local_200._0_4_;\n if ((char)uVar15 != '\\0') {\n uVar20 = (uint)local_220;\n }\n local_200 = (longlong ********)CONCAT44(local_200._4_4_,uVar20);\n uVar15 = FUN_140074ee0(param_2,&local_220,4);\n uVar20 = (uint)local_res20;\n if ((char)uVar15 != '\\0') {\n uVar20 = (uint)local_220;\n }\n local_res20 = (longlong ********)CONCAT44(local_res20._4_4_,uVar20);\n uVar9 = 4;\n ppppppppplVar13 = &local_220;\n uVar15 = FUN_140074ee0(param_2,ppppppppplVar13,4);\n uVar4 = (uint)local_res10[0];\n if ((char)uVar15 != '\\0') {\n uVar4 = (uint)local_220;\n }\n local_res10[0] = (longlong ********)CONCAT44(local_res10[0]._4_4_,uVar4);\n FUN_14003e7c0((ulonglong)uVar4,ppppppppplVar13,uVar9,param_4);\n local_210 = (longlong ********)PTR_DAT_14016f010;\n thunk_FUN_140076020(param_2,(longlong *)&local_210,uVar9,param_4);\n pppplVar24 = param_1[2];\n pwVar28 = L\"PT_SERVER_NOTICE\";\n (*(code *)(*pppplVar24)[9])();\n DVar7 = 0;\n if (*(char *)((longlong)param_1 + 0x19) == '\\0') {\n if (*(char *)(param_1 + 3) == '\\0') {\n (*(code *)(*param_1[2])[0xe])(param_1[2],uVar3,0x8664,L\"PT_SERVER_NOTICE\",&DAT_140131724);\n }\n }\n else if (*(char *)(param_1 + 3) == '\\0') {\n FUN_14003e7c0(pppplVar24,param_2,pwVar28,param_4);\n local_258 = (longlong ********)PTR_DAT_14016f010;\n FUN_1400926b0((longlong *)&local_258);\n FUN_140029bf0((longlong *)&local_258,(short *)&DAT_140133350);\n FUN_1400926b0((longlong *)&local_258);\n FUN_140029bf0((longlong *)&local_258,(short *)&DAT_140133350);\n FUN_1400926b0((longlong *)&local_258);\n FUN_140029bf0((longlong *)&local_258,(short *)&DAT_140133350);\n FUN_1400928b0((longlong *)&local_258,(longlong *)&local_210);\n FUN_140029bf0((longlong *)&local_258,(short *)&DAT_140133350);\n DVar8 = DVar7;\n if (((longlong *********)local_258 != (longlong *********)0x0) &&\n (local_258 != (longlong ********)PTR_DAT_14016f010)) {\n DVar8 = *(DWORD *)(local_258 + -1);\n }\n uVar19 = (ulonglong)(DVar8 - 2);\n local_220 = (longlong ********)\n FUN_140028f40((longlong *)&local_258,(longlong *)&local_d0,DVar8 - 2);\n ppppppppplVar13 = (longlong *********)local_258;\n if ((longlong *********)local_258 == (longlong *********)0x0) {\n ppppppppplVar13 = (longlong *********)PTR_DAT_14016f010;\n }\n local_258 = (longlong ********)ppppppppplVar13;\n if ((longlong *********)*local_220 != ppppppppplVar13) {\n ppppppppplVar13 =\n (longlong *********)FUN_14003e7c0(ppppppppplVar13,PTR_DAT_14016f010,uVar19,param_4);\n local_c0 = (longlong ********)ppppppppplVar13;\n FUN_14003d040((int *)ppppppppplVar13);\n pppppppplVar18 = local_258;\n local_b8 = 1;\n if ((((longlong *********)local_258 != (longlong *********)0x0) &&\n (local_258 != (longlong ********)PTR_DAT_14016f010)) &&\n (ppppppppplVar11 = (longlong *********)(local_258 + -1),\n ppppppppplVar11 != (longlong *********)0x0)) {\n ppppppppplVar14 =\n (longlong *********)FUN_14003e7c0(local_258,PTR_DAT_14016f010,uVar19,param_4);\n local_248 = (longlong ********)ppppppppplVar14;\n FUN_14003d040((int *)ppppppppplVar14);\n local_240 = (wchar_t *)CONCAT71(local_240._1_7_,1);\n piVar2 = (int *)((longlong)pppppppplVar18 + -4);\n *piVar2 = *piVar2 + -1;\n if (*piVar2 == 0) {\n FUN_14003e8b0(ppppppppplVar11);\n }\n FUN_14003d0d0((longlong)ppppppppplVar14);\n }\n local_258 = (longlong ********)*local_220;\n if (((local_258 != (longlong ********)PTR_DAT_14016f010) &&\n ((longlong *********)local_258 != (longlong *********)0x0)) &&\n ((longlong *********)local_258 != (longlong *********)0x8)) {\n *(int *)((longlong)local_258 + -4) = *(int *)((longlong)local_258 + -4) + 1;\n }\n FUN_14003d0d0((longlong)ppppppppplVar13);\n }\n if (((local_d0 != (undefined *)0x0) && (local_d0 != PTR_DAT_14016f010)) &&\n (local_d0 + -8 != (undefined *)0x0)) {\n ppppppppplVar13 =\n (longlong *********)FUN_14003e7c0(ppppppppplVar13,PTR_DAT_14016f010,uVar19,param_4);\n local_248 = (longlong ********)ppppppppplVar13;\n FUN_14003d040((int *)ppppppppplVar13);\n local_240 = (wchar_t *)CONCAT71(local_240._1_7_,1);\n piVar2 = (int *)(local_d0 + -4);\n *piVar2 = *piVar2 + -1;\n if (*piVar2 == 0) {\n FUN_14003e8b0(local_d0 + -8);\n }\n FUN_14003d0d0((longlong)ppppppppplVar13);\n }\n local_220 = (longlong ********)&local_1d0;\n puVar10 = PTR_DAT_14016f010;\n local_d0 = PTR_DAT_14016f010;\n FUN_14003e7c0(ppppppppplVar13,PTR_DAT_14016f010,uVar19,param_4);\n local_1d0 = (longlong ********)PTR_DAT_14016f010;\n if (PTR_DAT_14016f010 == (undefined *)0x0) {\n local_1d0 = (longlong ********)(longlong *********)0x0;\n }\n if (local_258 != (longlong ********)PTR_DAT_14016f010) {\n ppppppppplVar13 =\n (longlong *********)FUN_14003e7c0(ppppppppplVar13,puVar10,uVar19,param_4);\n local_248 = (longlong ********)ppppppppplVar13;\n FUN_14003d040((int *)ppppppppplVar13);\n local_240 = (wchar_t *)CONCAT71(local_240._1_7_,1);\n FUN_140002190((longlong *)&local_1d0,puVar10,uVar19,param_4);\n local_1d0 = local_258;\n if (((local_258 != (longlong ********)PTR_DAT_14016f010) &&\n ((longlong *********)local_258 != (longlong *********)0x0)) &&\n ((longlong *********)local_258 != (longlong *********)0x8)) {\n *(int *)((longlong)local_258 + -4) = *(int *)((longlong)local_258 + -4) + 1;\n }\n FUN_14003d0d0((longlong)ppppppppplVar13);\n }\n FUN_14003e7c0(ppppppppplVar13,puVar10,uVar19,param_4);\n local_138 = PTR_DAT_14016f010;\n iVar6 = FUN_14003e620(L\"PT_SERVER_NOTICE\");\n puVar10 = FUN_140001ee0((longlong *)&local_138,iVar6);\n FUN_14003e650(puVar10,L\"PT_SERVER_NOTICE\",iVar6);\n FUN_140001fc0((longlong *)&local_138);\n (*(code *)(*param_1)[5])(param_1,0x8664,&local_138,&local_1d0);\n pppplVar24 = param_1[2];\n pwVar28 = L\"PT_SERVER_NOTICE\";\n uVar15 = 0x8664;\n uVar19 = (ulonglong)uVar3;\n (*(code *)(*pppplVar24)[0xe])();\n pppppppplVar18 = local_258;\n if ((((longlong *********)local_258 != (longlong *********)0x0) &&\n (local_258 != (longlong ********)PTR_DAT_14016f010)) &&\n (ppppppppplVar13 = (longlong *********)(local_258 + -1),\n ppppppppplVar13 != (longlong *********)0x0)) {\n ppppppppplVar11 = (longlong *********)FUN_14003e7c0(pppplVar24,uVar19,uVar15,pwVar28);\n local_248 = (longlong ********)ppppppppplVar11;\n FUN_14003d040((int *)ppppppppplVar11);\n local_240 = (wchar_t *)CONCAT71(local_240._1_7_,1);\n piVar2 = (int *)((longlong)pppppppplVar18 + -4);\n *piVar2 = *piVar2 + -1;\n if (*piVar2 == 0) {\n FUN_14003e8b0(ppppppppplVar13);\n }\n FUN_14003d0d0((longlong)ppppppppplVar11);\n }\n }\n if ((*(char *)(param_1 + 3) == '\\0') && (*(char *)((longlong)param_1 + 0x1a) != '\\0')) {\n local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x8664);\n local_240 = L\"PT_SERVER_NOTICE\";\n local_238 = uVar3;\n local_230 = param_3;\n (*(code *)(*param_1)[4])(param_1,&local_248);\n DVar7 = GetTickCount();\n }\n ppppppppplVar13 = &local_200;\n puVar23 = local_1c8;\n pwVar28 = (wchar_t *)(ulonglong)uVar3;\n ppppplVar21 = param_1;\n cVar5 = (*(code *)(*param_1)[10])();\n if (cVar5 == '\\0') {\n ppppplVar21 = (longlong *****)param_1[2];\n pwVar28 = L\"PT_SERVER_NOTICE\";\n (*(code *)(*ppppplVar21)[8])();\n }\n if ((*(char *)(param_1 + 3) == '\\0') && (*(char *)((longlong)param_1 + 0x1a) != '\\0')) {\n local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x8664);\n local_240 = L\"PT_SERVER_NOTICE\";\n local_238 = uVar3;\n local_230 = param_3;\n DVar8 = GetTickCount();\n local_228 = DVar8 - DVar7;\n pwVar28 = (wchar_t *)&local_248;\n (*(code *)(*param_1)[3])();\n ppppplVar21 = param_1;\n }\n pppppppplVar18 = local_210;\n if (((local_210 != (longlong ********)0x0) &&\n (local_210 != (longlong ********)PTR_DAT_14016f010)) &&\n (pppppppplVar1 = local_210 + -1, pppppppplVar1 != (longlong ********)0x0)) {\n pppppppplVar12 =\n (longlong ********)FUN_14003e7c0(ppppplVar21,pwVar28,puVar23,ppppppppplVar13);\n local_248 = pppppppplVar12;\n FUN_14003d040((int *)pppppppplVar12);\n local_240 = (wchar_t *)CONCAT71(local_240._1_7_,1);\n piVar2 = (int *)((longlong)pppppppplVar18 + -4);\n *piVar2 = *piVar2 + -1;\n if (*piVar2 == 0) {\n FUN_14003e8b0(pppppppplVar1);\n }\n pppppppplVar18 = (longlong ********)FUN_14003d0d0((longlong)pppppppplVar12);\n }\n break;\n case 0x8665:\n puVar23 = local_1c8;\n FUN_140049b40(puVar23);\n local_1c4 = param_2[10];\n local_1c8[0] = (undefined1)param_2[0x10];\n FUN_14003e7c0(puVar23,pIVar26,uVar15,param_4);\n local_220 = (longlong ********)PTR_DAT_14016f010;\n ppppppppplVar13 = &local_220;\n puVar22 = param_2;\n thunk_FUN_140076020(param_2,(longlong *)ppppppppplVar13,uVar15,param_4);\n FUN_14003e7c0(puVar22,ppppppppplVar13,uVar15,param_4);\n local_210 = (longlong ********)PTR_DAT_14016f010;\n ppppppppplVar13 = &local_210;\n puVar22 = param_2;\n thunk_FUN_140076020(param_2,(longlong *)ppppppppplVar13,uVar15,param_4);\n FUN_14003e7c0(puVar22,ppppppppplVar13,uVar15,param_4);\n local_258 = (longlong ********)PTR_DAT_14016f010;\n thunk_FUN_140076020(param_2,(longlong *)&local_258,uVar15,param_4);\n uVar15 = FUN_140074ee0(param_2,&local_res20,1);\n uVar25 = local_res10[0]._0_1_;\n if ((char)uVar15 != '\\0') {\n uVar25 = local_res20._0_1_;\n }\n local_res10[0] = (longlong ********)CONCAT71(local_res10[0]._1_7_,uVar25);\n pppplVar24 = param_1[2];\n pwVar28 = L\"PT_IP_BLOCK\";\n (*(code *)(*pppplVar24)[9])();\n DVar7 = 0;\n if (*(char *)((longlong)param_1 + 0x19) == '\\0') {\n if (*(char *)(param_1 + 3) == '\\0') {\n (*(code *)(*param_1[2])[0xe])(param_1[2],uVar3,0x8665,L\"PT_IP_BLOCK\",&DAT_140131724);\n }\n }\n else if (*(char *)(param_1 + 3) == '\\0') {\n FUN_14003e7c0(pppplVar24,param_2,pwVar28,param_4);\n local_res20 = (longlong ********)PTR_DAT_14016f010;\n FUN_1400928b0((longlong *)&local_res20,(longlong *)&local_220);\n FUN_140029bf0((longlong *)&local_res20,(short *)&DAT_140133350);\n FUN_1400928b0((longlong *)&local_res20,(longlong *)&local_210);\n FUN_140029bf0((longlong *)&local_res20,(short *)&DAT_140133350);\n FUN_1400928b0((longlong *)&local_res20,(longlong *)&local_258);\n FUN_140029bf0((longlong *)&local_res20,(short *)&DAT_140133350);\n FUN_1400925f0((longlong *)&local_res20);\n FUN_140029bf0((longlong *)&local_res20,(short *)&DAT_140133350);\n DVar8 = DVar7;\n if (((longlong *********)local_res20 != (longlong *********)0x0) &&\n (local_res20 != (longlong ********)PTR_DAT_14016f010)) {\n DVar8 = *(DWORD *)(local_res20 + -1);\n }\n uVar19 = (ulonglong)(DVar8 - 2);\n local_200 = (longlong ********)\n FUN_140028f40((longlong *)&local_res20,(longlong *)&local_e8,DVar8 - 2);\n ppppppppplVar13 = (longlong *********)local_res20;\n if ((longlong *********)local_res20 == (longlong *********)0x0) {\n ppppppppplVar13 = (longlong *********)PTR_DAT_14016f010;\n }\n local_res20 = (longlong ********)ppppppppplVar13;\n if ((longlong *********)*local_200 != ppppppppplVar13) {\n ppppppppplVar13 =\n (longlong *********)FUN_14003e7c0(ppppppppplVar13,PTR_DAT_14016f010,uVar19,param_4);\n local_248 = (longlong ********)ppppppppplVar13;\n FUN_14003d040((int *)ppppppppplVar13);\n pppppppplVar18 = local_res20;\n local_240 = (wchar_t *)CONCAT71(local_240._1_7_,1);\n if ((((longlong *********)local_res20 != (longlong *********)0x0) &&\n (local_res20 != (longlong ********)PTR_DAT_14016f010)) &&\n (ppppppppplVar11 = (longlong *********)(local_res20 + -1),\n ppppppppplVar11 != (longlong *********)0x0)) {\n ppppppppplVar14 =\n (longlong *********)FUN_14003e7c0(local_res20,PTR_DAT_14016f010,uVar19,param_4);\n local_c0 = (longlong ********)ppppppppplVar14;\n FUN_14003d040((int *)ppppppppplVar14);\n local_b8 = 1;\n piVar2 = (int *)((longlong)pppppppplVar18 + -4);\n *piVar2 = *piVar2 + -1;\n if (*piVar2 == 0) {\n FUN_14003e8b0(ppppppppplVar11);\n }\n FUN_14003d0d0((longlong)ppppppppplVar14);\n }\n local_res20 = (longlong ********)*local_200;\n if (((local_res20 != (longlong ********)PTR_DAT_14016f010) &&\n ((longlong *********)local_res20 != (longlong *********)0x0)) &&\n ((longlong *********)local_res20 != (longlong *********)0x8)) {\n *(int *)((longlong)local_res20 + -4) = *(int *)((longlong)local_res20 + -4) + 1;\n }\n FUN_14003d0d0((longlong)ppppppppplVar13);\n }\n if (((local_e8 != (undefined *)0x0) && (local_e8 != PTR_DAT_14016f010)) &&\n (local_e8 + -8 != (undefined *)0x0)) {\n ppppppppplVar13 =\n (longlong *********)FUN_14003e7c0(ppppppppplVar13,PTR_DAT_14016f010,uVar19,param_4);\n local_248 = (longlong ********)ppppppppplVar13;\n FUN_14003d040((int *)ppppppppplVar13);\n local_240 = (wchar_t *)CONCAT71(local_240._1_7_,1);\n piVar2 = (int *)(local_e8 + -4);\n *piVar2 = *piVar2 + -1;\n if (*piVar2 == 0) {\n FUN_14003e8b0(local_e8 + -8);\n }\n FUN_14003d0d0((longlong)ppppppppplVar13);\n }\n local_200 = (longlong ********)&local_1e8;\n puVar10 = PTR_DAT_14016f010;\n local_e8 = PTR_DAT_14016f010;\n FUN_14003e7c0(ppppppppplVar13,PTR_DAT_14016f010,uVar19,param_4);\n local_1e8 = (longlong ********)PTR_DAT_14016f010;\n if (PTR_DAT_14016f010 == (undefined *)0x0) {\n local_1e8 = (longlong ********)(longlong *********)0x0;\n }\n if (local_res20 != (longlong ********)PTR_DAT_14016f010) {\n ppppppppplVar13 =\n (longlong *********)FUN_14003e7c0(ppppppppplVar13,puVar10,uVar19,param_4);\n local_248 = (longlong ********)ppppppppplVar13;\n FUN_14003d040((int *)ppppppppplVar13);\n local_240 = (wchar_t *)CONCAT71(local_240._1_7_,1);\n FUN_140002190((longlong *)&local_1e8,puVar10,uVar19,param_4);\n local_1e8 = local_res20;\n if (((local_res20 != (longlong ********)PTR_DAT_14016f010) &&\n ((longlong *********)local_res20 != (longlong *********)0x0)) &&\n ((longlong *********)local_res20 != (longlong *********)0x8)) {\n *(int *)((longlong)local_res20 + -4) = *(int *)((longlong)local_res20 + -4) + 1;\n }\n FUN_14003d0d0((longlong)ppppppppplVar13);\n }\n FUN_14003e7c0(ppppppppplVar13,puVar10,uVar19,param_4);\n local_f8 = PTR_DAT_14016f010;\n iVar6 = FUN_14003e620(L\"PT_IP_BLOCK\");\n puVar10 = FUN_140001ee0((longlong *)&local_f8,iVar6);\n FUN_14003e650(puVar10,L\"PT_IP_BLOCK\",iVar6);\n FUN_140001fc0((longlong *)&local_f8);\n (*(code *)(*param_1)[5])(param_1,0x8665,&local_f8,&local_1e8);\n pppplVar24 = param_1[2];\n pwVar28 = L\"PT_IP_BLOCK\";\n uVar15 = 0x8665;\n uVar19 = (ulonglong)uVar3;\n (*(code *)(*pppplVar24)[0xe])();\n pppppppplVar18 = local_res20;\n if ((((longlong *********)local_res20 != (longlong *********)0x0) &&\n (local_res20 != (longlong ********)PTR_DAT_14016f010)) &&\n (ppppppppplVar13 = (longlong *********)(local_res20 + -1),\n ppppppppplVar13 != (longlong *********)0x0)) {\n ppppppppplVar11 = (longlong *********)FUN_14003e7c0(pppplVar24,uVar19,uVar15,pwVar28);\n local_248 = (longlong ********)ppppppppplVar11;\n FUN_14003d040((int *)ppppppppplVar11);\n local_240 = (wchar_t *)CONCAT71(local_240._1_7_,1);\n piVar2 = (int *)((longlong)pppppppplVar18 + -4);\n *piVar2 = *piVar2 + -1;\n if (*piVar2 == 0) {\n FUN_14003e8b0(ppppppppplVar13);\n }\n FUN_14003d0d0((longlong)ppppppppplVar11);\n }\n }\n if ((*(char *)(param_1 + 3) == '\\0') && (*(char *)((longlong)param_1 + 0x1a) != '\\0')) {\n local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x8665);\n local_240 = L\"PT_IP_BLOCK\";\n local_238 = uVar3;\n local_230 = param_3;\n (*(code *)(*param_1)[4])(param_1,&local_248);\n DVar7 = GetTickCount();\n }\n ppppppppplVar13 = &local_220;\n puVar23 = local_1c8;\n ppppppppplVar11 = (longlong *********)param_1;\n cVar5 = (*(code *)(*param_1)[0xb])\n (param_1,uVar3,puVar23,ppppppppplVar13,&local_210,&local_258,local_res10);\n if (cVar5 == '\\0') {\n ppppppppplVar11 = (longlong *********)param_1[2];\n (*(code *)(*ppppppppplVar11)[8])(ppppppppplVar11,L\"PT_IP_BLOCK\");\n }\n if ((*(char *)(param_1 + 3) == '\\0') && (*(char *)((longlong)param_1 + 0x1a) != '\\0')) {\n local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x8665);\n local_240 = L\"PT_IP_BLOCK\";\n local_238 = uVar3;\n local_230 = param_3;\n DVar8 = GetTickCount();\n local_228 = DVar8 - DVar7;\n (*(code *)(*param_1)[3])(param_1,&local_248);\n ppppppppplVar11 = (longlong *********)param_1;\n }\n pppppppplVar18 = local_258;\n if (((local_258 != (longlong ********)0x0) &&\n (local_258 != (longlong ********)PTR_DAT_14016f010)) &&\n (pppppppplVar1 = local_258 + -1, pppppppplVar1 != (longlong ********)0x0)) {\n ppppppppplVar11 =\n (longlong *********)\n FUN_14003e7c0(ppppppppplVar11,PTR_DAT_14016f010,puVar23,ppppppppplVar13);\n local_248 = (longlong ********)ppppppppplVar11;\n FUN_14003d040((int *)ppppppppplVar11);\n local_240 = (wchar_t *)CONCAT71(local_240._1_7_,1);\n piVar2 = (int *)((longlong)pppppppplVar18 + -4);\n *piVar2 = *piVar2 + -1;\n if (*piVar2 == 0) {\n FUN_14003e8b0(pppppppplVar1);\n }\n FUN_14003d0d0((longlong)ppppppppplVar11);\n }\n pppppppplVar18 = local_210;\n local_258 = (longlong ********)PTR_DAT_14016f010;\n if (((local_210 != (longlong ********)0x0) &&\n (local_210 != (longlong ********)PTR_DAT_14016f010)) &&\n (pppppppplVar1 = local_210 + -1, pppppppplVar1 != (longlong ********)0x0)) {\n ppppppppplVar11 =\n (longlong *********)\n FUN_14003e7c0(ppppppppplVar11,PTR_DAT_14016f010,puVar23,ppppppppplVar13);\n local_248 = (longlong ********)ppppppppplVar11;\n FUN_14003d040((int *)ppppppppplVar11);\n local_240 = (wchar_t *)CONCAT71(local_240._1_7_,1);\n piVar2 = (int *)((longlong)pppppppplVar18 + -4);\n *piVar2 = *piVar2 + -1;\n if (*piVar2 == 0) {\n FUN_14003e8b0(pppppppplVar1);\n }\n FUN_14003d0d0((longlong)ppppppppplVar11);\n }\n pppppppplVar18 = local_220;\n if (((local_220 != (longlong ********)0x0) &&\n (local_220 != (longlong ********)PTR_DAT_14016f010)) &&\n (pppppppplVar1 = local_220 + -1, pppppppplVar1 != (longlong ********)0x0)) {\n local_210 = (longlong ********)PTR_DAT_14016f010;\n pppppppplVar12 =\n (longlong ********)\n FUN_14003e7c0(ppppppppplVar11,PTR_DAT_14016f010,puVar23,ppppppppplVar13);\n local_248 = pppppppplVar12;\n FUN_14003d040((int *)pppppppplVar12);\n local_240 = (wchar_t *)CONCAT71(local_240._1_7_,1);\n piVar2 = (int *)((longlong)pppppppplVar18 + -4);\n *piVar2 = *piVar2 + -1;\n if (*piVar2 == 0) {\n FUN_14003e8b0(pppppppplVar1);\n }\n pppppppplVar18 = (longlong ********)FUN_14003d0d0((longlong)pppppppplVar12);\n }\n break;\n case 0x8666:\n FUN_140049b40(local_1c8);\n local_1c4 = param_2[10];\n local_1c8[0] = (undefined1)param_2[0x10];\n uVar15 = FUN_140074ee0(param_2,&local_210,4);\n uVar20 = (uint)local_220;\n if ((char)uVar15 != '\\0') {\n uVar20 = local_210._0_4_;\n }\n local_220 = (longlong ********)CONCAT44(local_220._4_4_,uVar20);\n uVar15 = FUN_140074ee0(param_2,&local_258,4);\n uVar20 = local_200._0_4_;\n if ((char)uVar15 != '\\0') {\n uVar20 = local_258._0_4_;\n }\n local_200 = (longlong ********)CONCAT44(local_200._4_4_,uVar20);\n uVar15 = FUN_140074ee0(param_2,&local_res20,1);\n uVar25 = local_res10[0]._0_1_;\n if ((char)uVar15 != '\\0') {\n uVar25 = local_res20._0_1_;\n }\n local_res10[0] = (longlong ********)CONCAT71(local_res10[0]._1_7_,uVar25);\n pppplVar24 = param_1[2];\n pwVar28 = L\"PT_CHANNEL_STATUS_CHANGE\";\n (*(code *)(*pppplVar24)[9])();\n DVar7 = 0;\n if (*(char *)((longlong)param_1 + 0x19) == '\\0') {\n if (*(char *)(param_1 + 3) == '\\0') {\n (*(code *)(*param_1[2])[0xe])\n (param_1[2],uVar3,0x8666,L\"PT_CHANNEL_STATUS_CHANGE\",&DAT_140131724);\n }\n }\n else if (*(char *)(param_1 + 3) == '\\0') {\n FUN_14003e7c0(pppplVar24,param_2,pwVar28,param_4);\n local_res20 = (longlong ********)PTR_DAT_14016f010;\n FUN_1400926b0((longlong *)&local_res20);\n FUN_140029bf0((longlong *)&local_res20,(short *)&DAT_140133350);\n FUN_1400926b0((longlong *)&local_res20);\n FUN_140029bf0((longlong *)&local_res20,(short *)&DAT_140133350);\n FUN_1400925f0((longlong *)&local_res20);\n FUN_140029bf0((longlong *)&local_res20,(short *)&DAT_140133350);\n iVar6 = 0;\n if (((longlong *********)local_res20 != (longlong *********)0x0) &&\n (local_res20 != (longlong ********)PTR_DAT_14016f010)) {\n iVar6 = *(int *)(local_res20 + -1);\n }\n uVar19 = (ulonglong)(iVar6 - 2U);\n plVar17 = local_80;\n local_258 = (longlong ********)FUN_140028f40((longlong *)&local_res20,plVar17,iVar6 - 2U);\n if ((longlong *********)local_res20 == (longlong *********)0x0) {\n local_res20 = (longlong ********)PTR_DAT_14016f010;\n }\n if ((longlong ********)*local_258 != local_res20) {\n ppppppppplVar13 = (longlong *********)FUN_14003e7c0(local_res20,plVar17,uVar19,param_4);\n local_248 = (longlong ********)ppppppppplVar13;\n FUN_14003d040((int *)ppppppppplVar13);\n pppppppplVar18 = local_res20;\n local_240 = (wchar_t *)CONCAT71(local_240._1_7_,1);\n if ((((longlong *********)local_res20 != (longlong *********)0x0) &&\n (local_res20 != (longlong ********)PTR_DAT_14016f010)) &&\n (ppppppppplVar11 = (longlong *********)(local_res20 + -1),\n ppppppppplVar11 != (longlong *********)0x0)) {\n ppppppppplVar14 =\n (longlong *********)FUN_14003e7c0(local_res20,PTR_DAT_14016f010,uVar19,param_4);\n local_c0 = (longlong ********)ppppppppplVar14;\n FUN_14003d040((int *)ppppppppplVar14);\n local_b8 = 1;\n piVar2 = (int *)((longlong)pppppppplVar18 + -4);\n *piVar2 = *piVar2 + -1;\n if (*piVar2 == 0) {\n FUN_14003e8b0(ppppppppplVar11);\n }\n FUN_14003d0d0((longlong)ppppppppplVar14);\n }\n plVar17 = (longlong *)PTR_DAT_14016f010;\n local_res20 = (longlong ********)*local_258;\n if (((local_res20 != (longlong ********)PTR_DAT_14016f010) &&\n ((longlong *********)local_res20 != (longlong *********)0x0)) &&\n ((longlong *********)local_res20 != (longlong *********)0x8)) {\n *(int *)((longlong)local_res20 + -4) = *(int *)((longlong)local_res20 + -4) + 1;\n }\n FUN_14003d0d0((longlong)ppppppppplVar13);\n }\n plVar16 = local_80;\n FUN_140002190(plVar16,plVar17,uVar19,param_4);\n local_258 = &local_128;\n FUN_14003e7c0(plVar16,plVar17,uVar19,param_4);\n local_128 = (longlong *******)PTR_DAT_14016f010;\n FUN_1400020c0((longlong *)&local_128,(longlong *)&local_res20,uVar19,param_4);\n plVar17 = FUN_140002040(&local_60,L\"PT_CHANNEL_STATUS_CHANGE\",0,param_4);\n (*(code *)(*param_1)[5])(param_1,0x8666,plVar17,&local_128);\n pwVar28 = L\"PT_CHANNEL_STATUS_CHANGE\";\n uVar15 = 0x8666;\n uVar19 = (ulonglong)uVar3;\n (*(code *)(*param_1[2])[0xe])();\n FUN_140002190((longlong *)&local_res20,uVar19,uVar15,pwVar28);\n }\n if ((*(char *)(param_1 + 3) == '\\0') && (*(char *)((longlong)param_1 + 0x1a) != '\\0')) {\n local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x8666);\n local_240 = L\"PT_CHANNEL_STATUS_CHANGE\";\n local_238 = uVar3;\n local_230 = param_3;\n (*(code *)(*param_1)[4])(param_1,&local_248);\n DVar7 = GetTickCount();\n }\n pppppppplVar18 =\n (longlong ********)\n (*(code *)(*param_1)[0xc])(param_1,uVar3,local_1c8,&local_220,&local_200,local_res10);\n if ((char)pppppppplVar18 == '\\0') {\n pppppppplVar18 =\n (longlong ********)(*(code *)(*param_1[2])[8])(param_1[2],L\"PT_CHANNEL_STATUS_CHANGE\");\n }\n if ((*(char *)(param_1 + 3) == '\\0') && (*(char *)((longlong)param_1 + 0x1a) != '\\0')) {\n local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x8666);\n local_240 = L\"PT_CHANNEL_STATUS_CHANGE\";\n goto LAB_14002eed4;\n }\n break;\n case 0x8667:\n FUN_140049b40(local_1c8);\n local_1c4 = param_2[10];\n local_1c8[0] = (undefined1)param_2[0x10];\n uVar9 = 4;\n ppppppppplVar13 = &local_res20;\n uVar15 = FUN_140074ee0(param_2,ppppppppplVar13,4);\n uVar4 = (uint)local_res10[0];\n if ((char)uVar15 != '\\0') {\n uVar4 = (uint)local_res20;\n }\n local_res10[0] = (longlong ********)CONCAT44(local_res10[0]._4_4_,uVar4);\n FUN_14003e7c0((ulonglong)uVar4,ppppppppplVar13,uVar9,param_4);\n local_258 = (longlong ********)PTR_DAT_14016f010;\n thunk_FUN_140076020(param_2,(longlong *)&local_258,uVar9,param_4);\n pppplVar24 = param_1[2];\n pwVar28 = L\"PT_USER_KICK\";\n (*(code *)(*pppplVar24)[9])();\n if (*(char *)((longlong)param_1 + 0x19) == '\\0') {\n if (*(char *)(param_1 + 3) == '\\0') {\n (*(code *)(*param_1[2])[0xe])(param_1[2],uVar3,0x8667,L\"PT_USER_KICK\",&DAT_140131724);\n }\n }\n else if (*(char *)(param_1 + 3) == '\\0') {\n FUN_14003e7c0(pppplVar24,param_2,pwVar28,param_4);\n local_res20 = (longlong ********)PTR_DAT_14016f010;\n FUN_1400926b0((longlong *)&local_res20);\n FUN_140029bf0((longlong *)&local_res20,(short *)&DAT_140133350);\n FUN_1400928b0((longlong *)&local_res20,(longlong *)&local_258);\n FUN_140029bf0((longlong *)&local_res20,(short *)&DAT_140133350);\n iVar6 = 0;\n if (((longlong *********)local_res20 != (longlong *********)0x0) &&\n (local_res20 != (longlong ********)PTR_DAT_14016f010)) {\n iVar6 = *(int *)(local_res20 + -1);\n }\n uVar19 = (ulonglong)(iVar6 - 2U);\n plVar16 = FUN_140028f40((longlong *)&local_res20,&local_a0,iVar6 - 2U);\n FUN_1400020c0((longlong *)&local_res20,plVar16,uVar19,param_4);\n plVar17 = &local_a0;\n FUN_140002190(plVar17,plVar16,uVar19,param_4);\n local_210 = &local_160;\n FUN_14003e7c0(plVar17,plVar16,uVar19,param_4);\n local_160 = (longlong *******)PTR_DAT_14016f010;\n FUN_1400020c0((longlong *)&local_160,(longlong *)&local_res20,uVar19,param_4);\n plVar17 = FUN_140002040(&local_50,L\"PT_USER_KICK\",0,param_4);\n (*(code *)(*param_1)[5])(param_1,0x8667,plVar17,&local_160);\n pwVar28 = L\"PT_USER_KICK\";\n uVar15 = 0x8667;\n uVar19 = (ulonglong)uVar3;\n (*(code *)(*param_1[2])[0xe])();\n FUN_140002190((longlong *)&local_res20,uVar19,uVar15,pwVar28);\n }\n DVar7 = 0;\n if ((*(char *)(param_1 + 3) == '\\0') &&\n (DVar7 = 0, *(char *)((longlong)param_1 + 0x1a) != '\\0')) {\n local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x8667);\n local_240 = L\"PT_USER_KICK\";\n local_238 = uVar3;\n local_230 = param_3;\n (*(code *)(*param_1)[4])(param_1,&local_248);\n DVar7 = GetTickCount();\n }\n ppppppppplVar13 = local_res10;\n puVar23 = local_1c8;\n pwVar28 = (wchar_t *)(ulonglong)uVar3;\n cVar5 = (*(code *)(*param_1)[0xd])(param_1);\n if (cVar5 == '\\0') {\n pwVar28 = L\"PT_USER_KICK\";\n (*(code *)(*param_1[2])[8])();\n }\n if ((*(char *)(param_1 + 3) == '\\0') && (*(char *)((longlong)param_1 + 0x1a) != '\\0')) {\n local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x8667);\n local_240 = L\"PT_USER_KICK\";\n local_238 = uVar3;\n local_230 = param_3;\n DVar8 = GetTickCount();\n local_228 = DVar8 - DVar7;\n pwVar28 = (wchar_t *)&local_248;\n (*(code *)(*param_1)[3])(param_1);\n }\n pppppppplVar18 =\n (longlong ********)FUN_140002190((longlong *)&local_258,pwVar28,puVar23,ppppppppplVar13);\n break;\n case 0x8668:\n puVar23 = local_1c8;\n FUN_140049b40(puVar23);\n local_1c4 = param_2[10];\n local_1c8[0] = (undefined1)param_2[0x10];\n FUN_14003e7c0(puVar23,pIVar26,uVar15,param_4);\n local_res20 = (longlong ********)PTR_DAT_14016f010;\n thunk_FUN_140076020(param_2,(longlong *)&local_res20,uVar15,param_4);\n pppplVar24 = param_1[2];\n pwVar28 = L\"PT_STRING_COMMAND\";\n (*(code *)(*pppplVar24)[9])();\n if (*(char *)((longlong)param_1 + 0x19) == '\\0') {\n if (*(char *)(param_1 + 3) == '\\0') {\n (*(code *)(*param_1[2])[0xe])(param_1[2],uVar3,0x8668,L\"PT_STRING_COMMAND\",&DAT_140131724)\n ;\n }\n }\n else if (*(char *)(param_1 + 3) == '\\0') {\n FUN_14003e7c0(pppplVar24,param_2,pwVar28,param_4);\n local_res10[0] = (longlong ********)PTR_DAT_14016f010;\n FUN_1400928b0((longlong *)local_res10,(longlong *)&local_res20);\n FUN_140029bf0((longlong *)local_res10,(short *)&DAT_140133350);\n iVar6 = 0;\n if (((longlong *********)local_res10[0] != (longlong *********)0x0) &&\n (local_res10[0] != (longlong ********)PTR_DAT_14016f010)) {\n iVar6 = *(int *)(local_res10[0] + -1);\n }\n uVar19 = (ulonglong)(iVar6 - 2U);\n plVar16 = FUN_140028f40((longlong *)local_res10,&local_90,iVar6 - 2U);\n FUN_1400020c0((longlong *)local_res10,plVar16,uVar19,param_4);\n plVar17 = &local_90;\n FUN_140002190(plVar17,plVar16,uVar19,param_4);\n local_258 = &local_150;\n FUN_14003e7c0(plVar17,plVar16,uVar19,param_4);\n local_150 = (longlong *******)PTR_DAT_14016f010;\n FUN_1400020c0((longlong *)&local_150,(longlong *)local_res10,uVar19,param_4);\n plVar17 = FUN_140002040(&local_40,L\"PT_STRING_COMMAND\",0,param_4);\n (*(code *)(*param_1)[5])(param_1,0x8668,plVar17,&local_150);\n pwVar28 = L\"PT_STRING_COMMAND\";\n uVar15 = 0x8668;\n uVar19 = (ulonglong)uVar3;\n (*(code *)(*param_1[2])[0xe])();\n FUN_140002190((longlong *)local_res10,uVar19,uVar15,pwVar28);\n }\n DVar7 = 0;\n if ((*(char *)(param_1 + 3) == '\\0') &&\n (DVar7 = 0, *(char *)((longlong)param_1 + 0x1a) != '\\0')) {\n local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x8668);\n local_240 = L\"PT_STRING_COMMAND\";\n local_238 = uVar3;\n local_230 = param_3;\n (*(code *)(*param_1)[4])(param_1,&local_248);\n DVar7 = GetTickCount();\n }\n ppppppppplVar13 = &local_res20;\n puVar23 = local_1c8;\n pwVar28 = (wchar_t *)(ulonglong)uVar3;\n cVar5 = (*(code *)(*param_1)[0xe])(param_1);\n if (cVar5 == '\\0') {\n pwVar28 = L\"PT_STRING_COMMAND\";\n (*(code *)(*param_1[2])[8])();\n }\n if ((*(char *)(param_1 + 3) == '\\0') && (*(char *)((longlong)param_1 + 0x1a) != '\\0')) {\n local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x8668);\n local_240 = L\"PT_STRING_COMMAND\";\n local_238 = uVar3;\n local_230 = param_3;\n DVar8 = GetTickCount();\n local_228 = DVar8 - DVar7;\n pwVar28 = (wchar_t *)&local_248;\n (*(code *)(*param_1)[3])(param_1);\n }\n pppppppplVar18 =\n (longlong ********)\n FUN_140002190((longlong *)&local_res20,pwVar28,puVar23,ppppppppplVar13);\n break;\n case 0x8669:\n FUN_140049b40(local_1c8);\n local_1c4 = param_2[10];\n local_1c8[0] = (undefined1)param_2[0x10];\n uVar15 = FUN_140074ee0(param_2,&local_res20,1);\n uVar25 = local_res10[0]._0_1_;\n if ((char)uVar15 != '\\0') {\n uVar25 = local_res20._0_1_;\n }\n local_res10[0] = (longlong ********)CONCAT71(local_res10[0]._1_7_,uVar25);\n uVar15 = FUN_140074ee0(param_2,&local_258,4);\n uVar20 = local_200._0_4_;\n if ((char)uVar15 != '\\0') {\n uVar20 = local_258._0_4_;\n }\n local_200 = (longlong ********)CONCAT44(local_200._4_4_,uVar20);\n uVar15 = FUN_140074ee0(param_2,&local_210,4);\n uVar20 = (uint)local_220;\n if ((char)uVar15 != '\\0') {\n uVar20 = local_210._0_4_;\n }\n local_220 = (longlong ********)CONCAT44(local_220._4_4_,uVar20);\n pppplVar24 = param_1[2];\n pwVar28 = L\"PT_REAL_TIME_EVENT\";\n (*(code *)(*pppplVar24)[9])();\n DVar7 = 0;\n if (*(char *)((longlong)param_1 + 0x19) == '\\0') {\n if (*(char *)(param_1 + 3) == '\\0') {\n (*(code *)(*param_1[2])[0xe])\n (param_1[2],uVar3,0x8669,L\"PT_REAL_TIME_EVENT\",&DAT_140131724);\n }\n }\n else if (*(char *)(param_1 + 3) == '\\0') {\n FUN_14003e7c0(pppplVar24,param_2,pwVar28,param_4);\n local_res20 = (longlong ********)PTR_DAT_14016f010;\n FUN_1400925d0((longlong *)&local_res20,(char *)local_res10);\n FUN_140029bf0((longlong *)&local_res20,(short *)&DAT_140133350);\n FUN_1400926b0((longlong *)&local_res20);\n FUN_140029bf0((longlong *)&local_res20,(short *)&DAT_140133350);\n FUN_1400926b0((longlong *)&local_res20);\n FUN_140029bf0((longlong *)&local_res20,(short *)&DAT_140133350);\n iVar6 = 0;\n if (((longlong *********)local_res20 != (longlong *********)0x0) &&\n (local_res20 != (longlong ********)PTR_DAT_14016f010)) {\n iVar6 = *(int *)(local_res20 + -1);\n }\n uVar19 = (ulonglong)(iVar6 - 2U);\n plVar16 = FUN_140028f40((longlong *)&local_res20,&local_b0,iVar6 - 2U);\n FUN_1400020c0((longlong *)&local_res20,plVar16,uVar19,param_4);\n plVar17 = &local_b0;\n FUN_140002190(plVar17,plVar16,uVar19,param_4);\n local_258 = &local_140;\n FUN_14003e7c0(plVar17,plVar16,uVar19,param_4);\n local_140 = (longlong *******)PTR_DAT_14016f010;\n FUN_1400020c0((longlong *)&local_140,(longlong *)&local_res20,uVar19,param_4);\n plVar17 = FUN_140002040(&local_68,L\"PT_REAL_TIME_EVENT\",0,param_4);\n (*(code *)(*param_1)[5])(param_1,0x8669,plVar17,&local_140);\n pwVar28 = L\"PT_REAL_TIME_EVENT\";\n uVar15 = 0x8669;\n uVar19 = (ulonglong)uVar3;\n (*(code *)(*param_1[2])[0xe])();\n FUN_140002190((longlong *)&local_res20,uVar19,uVar15,pwVar28);\n }\n if ((*(char *)(param_1 + 3) == '\\0') && (*(char *)((longlong)param_1 + 0x1a) != '\\0')) {\n local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x8669);\n local_240 = L\"PT_REAL_TIME_EVENT\";\n local_238 = uVar3;\n local_230 = param_3;\n (*(code *)(*param_1)[4])(param_1,&local_248);\n DVar7 = GetTickCount();\n }\n pppppppplVar18 =\n (longlong ********)\n (*(code *)(*param_1)[0xf])(param_1,uVar3,local_1c8,local_res10,&local_200,&local_220);\n if ((char)pppppppplVar18 == '\\0') {\n pppppppplVar18 =\n (longlong ********)(*(code *)(*param_1[2])[8])(param_1[2],L\"PT_REAL_TIME_EVENT\");\n }\n if ((*(char *)(param_1 + 3) == '\\0') && (*(char *)((longlong)param_1 + 0x1a) != '\\0')) {\n local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x8669);\n local_240 = L\"PT_REAL_TIME_EVENT\";\n goto LAB_14002eed4;\n }\n break;\n case 0x866a:\n FUN_140049b40(local_1c8);\n local_1c4 = param_2[10];\n local_1c8[0] = (undefined1)param_2[0x10];\n FUN_140075970(param_2,(undefined4 *)local_res10,uVar15,param_4);\n pppplVar24 = param_1[2];\n pwVar28 = L\"REQ_AGENT_UPDATE\";\n (*(code *)(*pppplVar24)[9])();\n DVar7 = 0;\n if (*(char *)((longlong)param_1 + 0x19) == '\\0') {\n if (*(char *)(param_1 + 3) == '\\0') {\n (*(code *)(*param_1[2])[0xe])(param_1[2],uVar3,0x866a,L\"REQ_AGENT_UPDATE\",&DAT_140131724);\n }\n }\n else if (*(char *)(param_1 + 3) == '\\0') {\n FUN_14003e7c0(pppplVar24,param_2,pwVar28,param_4);\n local_res20 = (longlong ********)PTR_DAT_14016f010;\n local_120 = (uint)local_res10[0];\n FUN_1400926b0((longlong *)&local_res20);\n FUN_140029bf0((longlong *)&local_res20,(short *)&DAT_140133350);\n iVar6 = 0;\n if (((longlong *********)local_res20 != (longlong *********)0x0) &&\n (local_res20 != (longlong ********)PTR_DAT_14016f010)) {\n iVar6 = *(int *)(local_res20 + -1);\n }\n uVar19 = (ulonglong)(iVar6 - 2U);\n plVar16 = FUN_140028f40((longlong *)&local_res20,&local_88,iVar6 - 2U);\n FUN_1400020c0((longlong *)&local_res20,plVar16,uVar19,param_4);\n plVar17 = &local_88;\n FUN_140002190(plVar17,plVar16,uVar19,param_4);\n local_258 = &local_130;\n FUN_14003e7c0(plVar17,plVar16,uVar19,param_4);\n local_130 = (longlong *******)PTR_DAT_14016f010;\n FUN_1400020c0((longlong *)&local_130,(longlong *)&local_res20,uVar19,param_4);\n plVar17 = FUN_140002040(&local_48,L\"REQ_AGENT_UPDATE\",0,param_4);\n (*(code *)(*param_1)[5])(param_1,0x866a,plVar17,&local_130);\n pwVar28 = L\"REQ_AGENT_UPDATE\";\n uVar15 = 0x866a;\n uVar19 = (ulonglong)uVar3;\n (*(code *)(*param_1[2])[0xe])();\n FUN_140002190((longlong *)&local_res20,uVar19,uVar15,pwVar28);\n }\n if ((*(char *)(param_1 + 3) == '\\0') && (*(char *)((longlong)param_1 + 0x1a) != '\\0')) {\n local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x866a);\n local_240 = L\"REQ_AGENT_UPDATE\";\n local_238 = uVar3;\n local_230 = param_3;\n (*(code *)(*param_1)[4])(param_1,&local_248);\n DVar7 = GetTickCount();\n }\n pppppppplVar18 =\n (longlong ********)(*(code *)(*param_1)[0x10])(param_1,uVar3,local_1c8,local_res10);\n if ((char)pppppppplVar18 == '\\0') {\n pppppppplVar18 =\n (longlong ********)(*(code *)(*param_1[2])[8])(param_1[2],L\"REQ_AGENT_UPDATE\");\n }\n if ((*(char *)(param_1 + 3) == '\\0') && (*(char *)((longlong)param_1 + 0x1a) != '\\0')) {\n local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x866a);\n local_240 = L\"REQ_AGENT_UPDATE\";\n goto LAB_14002eed4;\n }\n break;\n case 0x866b:\n FUN_140049b40(local_1c8);\n local_1c4 = param_2[10];\n local_1c8[0] = (undefined1)param_2[0x10];\n FUN_140075970(param_2,(undefined4 *)local_res10,uVar15,param_4);\n pppplVar24 = param_1[2];\n pwVar28 = L\"REQ_AGENT_SERVER_ON\";\n (*(code *)(*pppplVar24)[9])();\n DVar7 = 0;\n if (*(char *)((longlong)param_1 + 0x19) == '\\0') {\n if (*(char *)(param_1 + 3) == '\\0') {\n (*(code *)(*param_1[2])[0xe])\n (param_1[2],uVar3,0x866b,L\"REQ_AGENT_SERVER_ON\",&DAT_140131724);\n }\n }\n else if (*(char *)(param_1 + 3) == '\\0') {\n FUN_14003e7c0(pppplVar24,param_2,pwVar28,param_4);\n local_res20 = (longlong ********)PTR_DAT_14016f010;\n local_f0 = (uint)local_res10[0];\n FUN_1400926b0((longlong *)&local_res20);\n FUN_140029bf0((longlong *)&local_res20,(short *)&DAT_140133350);\n iVar6 = 0;\n if (((longlong *********)local_res20 != (longlong *********)0x0) &&\n (local_res20 != (longlong ********)PTR_DAT_14016f010)) {\n iVar6 = *(int *)(local_res20 + -1);\n }\n uVar19 = (ulonglong)(iVar6 - 2U);\n plVar16 = FUN_140028f40((longlong *)&local_res20,&local_98,iVar6 - 2U);\n FUN_1400020c0((longlong *)&local_res20,plVar16,uVar19,param_4);\n plVar17 = &local_98;\n FUN_140002190(plVar17,plVar16,uVar19,param_4);\n local_258 = &local_168;\n FUN_14003e7c0(plVar17,plVar16,uVar19,param_4);\n local_168 = (longlong *******)PTR_DAT_14016f010;\n FUN_1400020c0((longlong *)&local_168,(longlong *)&local_res20,uVar19,param_4);\n plVar17 = FUN_140002040(&local_58,L\"REQ_AGENT_SERVER_ON\",0,param_4);\n (*(code *)(*param_1)[5])(param_1,0x866b,plVar17,&local_168);\n pwVar28 = L\"REQ_AGENT_SERVER_ON\";\n uVar15 = 0x866b;\n uVar19 = (ulonglong)uVar3;\n (*(code *)(*param_1[2])[0xe])();\n FUN_140002190((longlong *)&local_res20,uVar19,uVar15,pwVar28);\n }\n if ((*(char *)(param_1 + 3) == '\\0') && (*(char *)((longlong)param_1 + 0x1a) != '\\0')) {\n local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x866b);\n local_240 = L\"REQ_AGENT_SERVER_ON\";\n local_238 = uVar3;\n local_230 = param_3;\n (*(code *)(*param_1)[4])(param_1,&local_248);\n DVar7 = GetTickCount();\n }\n pppppppplVar18 =\n (longlong ********)(*(code *)(*param_1)[0x11])(param_1,uVar3,local_1c8,local_res10);\n if ((char)pppppppplVar18 == '\\0') {\n pppppppplVar18 =\n (longlong ********)(*(code *)(*param_1[2])[8])(param_1[2],L\"REQ_AGENT_SERVER_ON\");\n }\n if ((*(char *)(param_1 + 3) == '\\0') && (*(char *)((longlong)param_1 + 0x1a) != '\\0')) {\n local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x866b);\n local_240 = L\"REQ_AGENT_SERVER_ON\";\n goto LAB_14002eed4;\n }\n break;\n case 0x866c:\n FUN_140049b40(local_1c8);\n local_1c4 = param_2[10];\n local_1c8[0] = (undefined1)param_2[0x10];\n FUN_140075970(param_2,(undefined4 *)&local_220,uVar15,param_4);\n uVar15 = FUN_140074ee0(param_2,&local_res20,1);\n uVar25 = local_res10[0]._0_1_;\n if ((char)uVar15 != '\\0') {\n uVar25 = local_res20._0_1_;\n }\n local_res10[0] = (longlong ********)CONCAT71(local_res10[0]._1_7_,uVar25);\n pppplVar24 = param_1[2];\n pwVar28 = L\"REQ_AGENT_AUTO\";\n (*(code *)(*pppplVar24)[9])();\n DVar7 = 0;\n if (*(char *)((longlong)param_1 + 0x19) == '\\0') {\n if (*(char *)(param_1 + 3) == '\\0') {\n (*(code *)(*param_1[2])[0xe])(param_1[2],uVar3,0x866c,L\"REQ_AGENT_AUTO\",&DAT_140131724);\n }\n }\n else if (*(char *)(param_1 + 3) == '\\0') {\n FUN_14003e7c0(pppplVar24,param_2,pwVar28,param_4);\n local_res20 = (longlong ********)PTR_DAT_14016f010;\n local_158 = (uint)local_220;\n FUN_1400926b0((longlong *)&local_res20);\n FUN_140029bf0((longlong *)&local_res20,(short *)&DAT_140133350);\n FUN_1400925d0((longlong *)&local_res20,(char *)local_res10);\n FUN_140029bf0((longlong *)&local_res20,(short *)&DAT_140133350);\n iVar6 = 0;\n if (((longlong *********)local_res20 != (longlong *********)0x0) &&\n (local_res20 != (longlong ********)PTR_DAT_14016f010)) {\n iVar6 = *(int *)(local_res20 + -1);\n }\n uVar19 = (ulonglong)(iVar6 - 2U);\n plVar16 = FUN_140028f40((longlong *)&local_res20,&local_a8,iVar6 - 2U);\n FUN_1400020c0((longlong *)&local_res20,plVar16,uVar19,param_4);\n plVar17 = &local_a8;\n FUN_140002190(plVar17,plVar16,uVar19,param_4);\n local_258 = &local_110;\n FUN_14003e7c0(plVar17,plVar16,uVar19,param_4);\n local_110 = (longlong *******)PTR_DAT_14016f010;\n FUN_1400020c0((longlong *)&local_110,(longlong *)&local_res20,uVar19,param_4);\n plVar17 = FUN_140002040(local_80 + 2,L\"REQ_AGENT_AUTO\",0,param_4);\n (*(code *)(*param_1)[5])(param_1,0x866c,plVar17,&local_110);\n pwVar28 = L\"REQ_AGENT_AUTO\";\n uVar15 = 0x866c;\n uVar19 = (ulonglong)uVar3;\n (*(code *)(*param_1[2])[0xe])();\n FUN_140002190((longlong *)&local_res20,uVar19,uVar15,pwVar28);\n }\n if ((*(char *)(param_1 + 3) == '\\0') && (*(char *)((longlong)param_1 + 0x1a) != '\\0')) {\n local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x866c);\n local_240 = L\"REQ_AGENT_AUTO\";\n local_238 = uVar3;\n local_230 = param_3;\n (*(code *)(*param_1)[4])(param_1,&local_248);\n DVar7 = GetTickCount();\n }\n pppppppplVar18 =\n (longlong ********)\n (*(code *)(*param_1)[0x12])(param_1,uVar3,local_1c8,&local_220,local_res10);\n if ((char)pppppppplVar18 == '\\0') {\n pppppppplVar18 =\n (longlong ********)(*(code *)(*param_1[2])[8])(param_1[2],L\"REQ_AGENT_AUTO\");\n }\n if ((*(char *)(param_1 + 3) == '\\0') && (*(char *)((longlong)param_1 + 0x1a) != '\\0')) {\n local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x866c);\n local_240 = L\"REQ_AGENT_AUTO\";\n goto LAB_14002eed4;\n }\n break;\n default:\n goto switchD_14002c453_default;\n }\n uVar19 = CONCAT71((int7)((ulonglong)pppppppplVar18 >> 8),1);\n }\n return uVar19;\n}\n\n","status":"ok"},{"address":"0x140015290","procedure":{"address":"0x140015290","name":"FUN_140015290","status":"resolved"},"pseudocode":"\n/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */\n\nundefined8\nFUN_140015290(longlong param_1,uint param_2,undefined8 param_3,longlong *param_4,longlong *param_5)\n\n{\n longlong lVar1;\n short sVar2;\n undefined8 *puVar3;\n ulonglong *puVar4;\n int iVar5;\n undefined4 extraout_var;\n undefined8 uVar6;\n undefined8 extraout_RAX;\n undefined8 extraout_RAX_00;\n ulonglong uVar7;\n undefined *puVar8;\n short *psVar9;\n ulonglong *puVar10;\n ulonglong *puVar11;\n short *psVar12;\n ulonglong *puVar13;\n undefined *puVar14;\n longlong *plVar15;\n int *piVar16;\n ulonglong uVar17;\n ulonglong *puVar18;\n ulonglong *puVar19;\n undefined1 auStack_1f8 [32];\n ulonglong **local_1d8;\n uint local_1c8;\n int local_1c4;\n ulonglong *local_1c0;\n ulonglong *puStack_1b8;\n ulonglong local_1b0;\n ulonglong *local_1a8;\n ulonglong *local_1a0;\n ulonglong *local_198;\n longlong local_188;\n ulonglong *local_180;\n ulonglong *local_178;\n undefined8 local_170;\n ulonglong *local_160;\n longlong *local_158;\n undefined8 local_150;\n undefined4 local_148;\n uint local_144;\n void *local_120;\n ulonglong local_108;\n undefined2 local_f8;\n undefined6 uStack_f6;\n undefined8 local_e8;\n ulonglong local_e0;\n undefined2 local_d0;\n undefined6 uStack_ce;\n undefined8 local_c0;\n ulonglong local_b8;\n ulonglong *local_a8;\n ulonglong *puStack_a0;\n ulonglong local_98;\n ulonglong local_90;\n ulonglong local_88;\n ulonglong local_80;\n ulonglong local_78;\n void *local_70;\n undefined8 local_68;\n undefined8 local_60;\n ulonglong local_48;\n \n local_150 = 0xfffffffffffffffe;\n local_48 = DAT_14016f5a0 ^ (ulonglong)auStack_1f8;\n uVar17 = (ulonglong)(int)param_2;\n puVar13 = (ulonglong *)0x0;\n plVar15 = param_4;\n local_1c8 = param_2;\n if (*(longlong *)(DAT_14017cf38 + 0x58) != 0) {\n for (puVar3 = *(undefined8 **)\n (*(longlong *)(DAT_14017cf38 + 0x38) +\n (uVar17 % *(ulonglong *)(DAT_14017cf38 + 0x40)) * 8); puVar3 != (undefined8 *)0x0\n ; puVar3 = (undefined8 *)*puVar3) {\n if (param_2 == *(uint *)(puVar3 + 1)) {\n if ((puVar3 != (undefined8 *)0x0) &&\n (plVar15 = (longlong *)puVar3[2], plVar15 != (longlong *)0x0)) {\n psVar9 = (short *)*param_4;\n if ((short *)*param_4 == (short *)0x0) {\n psVar9 = (short *)PTR_DAT_14016f010;\n }\n uVar7 = 0xffffffffffffffff;\n psVar12 = psVar9;\n goto code_r0x000140015344;\n }\n break;\n }\n }\n }\n goto LAB_140015357;\n while( true ) {\n uVar7 = uVar7 - 1;\n sVar2 = *psVar12;\n psVar12 = psVar12 + 1;\n if (sVar2 == 0) break;\ncode_r0x000140015344:\n if (uVar7 == 0) break;\n }\n FUN_140001710((ulonglong *)(plVar15 + 1),psVar9,~uVar7 - 1);\nLAB_140015357:\n puVar14 = (undefined *)*param_4;\n if ((undefined *)*param_4 == (undefined *)0x0) {\n puVar14 = PTR_DAT_14016f010;\n }\n FUN_1400ef250(DAT_14017c8a8,L\"MONITOR AUTH : ID[%s]\",puVar14,plVar15);\n local_1c4 = 0;\n puVar14 = (undefined *)*param_5;\n if ((undefined *)*param_5 == (undefined *)0x0) {\n puVar14 = PTR_DAT_14016f010;\n }\n puVar8 = (undefined *)*param_4;\n if ((undefined *)*param_4 == (undefined *)0x0) {\n puVar8 = PTR_DAT_14016f010;\n }\n FUN_140009d00(*(longlong *)(param_1 + 0x60),(longlong)puVar8,(longlong)puVar14,&local_1c4);\n plVar15 = (longlong *)(param_1 + 0x40);\n piVar16 = &local_1c4;\n puVar14 = &DAT_14016f5d0;\n local_158 = plVar15;\n (**(code **)(*plVar15 + 0x30))(plVar15,param_2,&DAT_14016f5d0);\n if (local_1c4 < 1) {\n iVar5 = printf(&DAT_1401306c0);\n uVar6 = CONCAT44(extraout_var,iVar5);\n goto LAB_14001571c;\n }\n psVar9 = (short *)*param_4;\n if ((short *)*param_4 == (short *)0x0) {\n psVar9 = (short *)PTR_DAT_14016f010;\n }\n local_188 = param_1 + -8;\n FUN_140012160(local_188,psVar9,CONCAT71((int7)((ulonglong)puVar14 >> 8),1),piVar16);\n local_180 = (ulonglong *)0x0;\n local_178 = (ulonglong *)0x0;\n local_170 = 0;\n FUN_140039b70(DAT_14017cf20,(ulonglong *)&local_180);\n (**(code **)(*plVar15 + 0x40))(plVar15,param_2,&DAT_14016f5d0,&local_180);\n local_1a8 = (ulonglong *)0x0;\n local_1a0 = (ulonglong *)0x0;\n local_198 = (ulonglong *)0x0;\n if (*(longlong *)(DAT_14017cf20 + 0x58) == 0) {\n local_1c0 = (ulonglong *)0x0;\nLAB_14001547b:\n puStack_1b8 = (ulonglong *)0x0;\n }\n else {\n local_1c0 = *(ulonglong **)(DAT_14017cf20 + 0x68);\n if (local_1c0 == (ulonglong *)0x0) goto LAB_14001547b;\n puStack_1b8 = (ulonglong *)*local_1c0;\n }\n puVar10 = puStack_1b8;\n puVar11 = local_1c0;\n puVar18 = puVar13;\n puVar19 = puVar13;\n if (puStack_1b8 != (ulonglong *)0x0) {\n do {\n puVar4 = (ulonglong *)puVar10[2];\n if (puVar4 != (ulonglong *)0x0) {\n if ((puVar4 < puVar13) && (puVar18 <= puVar4)) {\n lVar1 = ((longlong)puVar4 - (longlong)puVar18) +\n SUB168(SEXT816(-0x7bdef7bdef7bdef7) *\n SEXT816((longlong)puVar4 - (longlong)puVar18),8);\n if (puVar13 == puVar19) {\n FUN_14003a7e0((longlong *)&local_1a8);\n puVar13 = local_1a0;\n puVar18 = local_1a8;\n puVar19 = local_198;\n }\n local_1c0 = puVar13;\n local_160 = puVar13;\n if (puVar13 != (ulonglong *)0x0) {\n FUN_140003c50((undefined4 *)puVar13,\n (undefined4 *)(puVar18 + ((lVar1 >> 7) - (lVar1 >> 0x3f)) * 0x1f));\n }\n }\n else {\n if (puVar13 == puVar19) {\n FUN_14003a7e0((longlong *)&local_1a8);\n puVar13 = local_1a0;\n puVar18 = local_1a8;\n puVar19 = local_198;\n }\n local_1c0 = puVar13;\n local_160 = puVar13;\n if (puVar13 != (ulonglong *)0x0) {\n FUN_140003c50((undefined4 *)puVar13,(undefined4 *)puVar4);\n }\n }\n puVar13 = puVar13 + 0x1f;\n local_1a0 = puVar13;\n }\n puVar10 = (ulonglong *)*puVar10;\n while (puVar10 == (ulonglong *)0x0) {\n puVar11 = puVar11 + 1;\n puVar10 = (ulonglong *)*puVar11;\n }\n if (puVar11 == puVar10) {\n puVar10 = (ulonglong *)0x0;\n }\n } while (puVar10 != (ulonglong *)0x0);\n uVar17 = (ulonglong)local_1c8;\n plVar15 = local_158;\n }\n if (puVar18 != puVar13) {\n puVar10 = puVar18 + 0x17;\n do {\n FUN_140004f20(&local_148,(undefined4 *)(puVar10 + -0x17));\n local_a8 = (ulonglong *)puVar10[-3];\n puStack_a0 = (ulonglong *)puVar10[-2];\n local_98 = puVar10[-1];\n local_90 = *puVar10;\n local_88 = puVar10[1];\n local_80 = puVar10[2];\n local_78 = puVar10[3];\n FUN_140004de0(&local_70,(longlong *)(puVar10 + 4));\n local_1c8 = local_144;\n local_1c0 = local_a8;\n puStack_1b8 = puStack_a0;\n local_1b0 = local_98;\n local_1d8 = &local_1c0;\n (**(code **)(*plVar15 + 0x50))(plVar15,uVar17 & 0xffffffff,&DAT_14016f5d0,&local_1c8);\n if (local_70 != (void *)0x0) {\n operator_delete(local_70);\n }\n local_70 = (void *)0x0;\n local_68 = 0;\n local_60 = 0;\n if (7 < local_b8) {\n operator_delete((void *)CONCAT62(uStack_ce,local_d0));\n }\n local_b8 = 7;\n local_c0 = 0;\n local_d0 = 0;\n if (7 < local_e0) {\n operator_delete((void *)CONCAT62(uStack_f6,local_f8));\n }\n local_e0 = 7;\n local_e8 = 0;\n local_f8 = 0;\n if (7 < local_108) {\n operator_delete(local_120);\n }\n puVar11 = puVar10 + 8;\n puVar10 = puVar10 + 0x1f;\n } while (puVar11 != puVar13);\n }\n uVar6 = FUN_140012820(local_188,(int)uVar17);\n if (puVar18 != (ulonglong *)0x0) {\n FUN_140004ba0(puVar18,puVar13);\n operator_delete(puVar18);\n uVar6 = extraout_RAX;\n }\n if (local_180 != (ulonglong *)0x0) {\n FUN_14000a5f0(local_180,local_178);\n operator_delete(local_180);\n uVar6 = extraout_RAX_00;\n }\nLAB_14001571c:\n return CONCAT71((int7)((ulonglong)uVar6 >> 8),1);\n}\n\n","status":"ok"},{"address":"0x140009d00","procedure":{"address":"0x140009d00","name":"FUN_140009d00","status":"resolved"},"pseudocode":"\n/* WARNING: Removing unreachable block (ram,0x000140009e72) */\n/* WARNING: Removing unreachable block (ram,0x000140009e9c) */\n/* WARNING: Removing unreachable block (ram,0x000140009ea3) */\n\nulonglong FUN_140009d00(longlong param_1,longlong param_2,longlong param_3,undefined4 *param_4)\n\n{\n IUnknown *pIVar1;\n int iVar2;\n ULONG UVar3;\n undefined4 uVar4;\n short *psVar5;\n ulonglong uVar6;\n undefined4 extraout_var;\n undefined8 uVar7;\n undefined4 extraout_var_00;\n undefined4 *puVar8;\n wchar_t *pwVar9;\n undefined4 *puVar10;\n IUnknown *local_48 [2];\n longlong *local_38 [2];\n undefined4 local_28 [8];\n \n puVar10 = param_4;\n FUN_140073cc0(local_38);\n FUN_140073b20(local_48);\n FUN_140073f70(local_38,*(IID **)(param_1 + 8),(void **)L\"dbo.up_auth_agentaccount\");\n FUN_14000a950((undefined2 *)local_28,param_2);\n FUN_140073d70(local_38,1,local_28);\n Ordinal_9(local_28);\n FUN_14000a950((undefined2 *)local_28,param_3);\n FUN_140073d70(local_38,2,local_28);\n Ordinal_9(local_28);\n FUN_140074740(local_38,(longlong *)local_48,(int *)0x0);\n uVar7 = 0;\n puVar8 = local_28;\n psVar5 = (short *)FUN_140073e60(local_38,puVar8,0);\n FUN_140074970(psVar5,puVar8,uVar7,puVar10);\n iVar2 = FUN_14000add0(psVar5);\n Ordinal_9(local_28);\n pIVar1 = local_48[0];\n if (iVar2 < 0) {\n wprintf(L\"Failed Stored Procedure!! : %s \\n\",L\"dbo.up_auth_agentaccount\");\n uVar6 = FUN_140072b00(local_48);\n if (local_48[0] != (IUnknown *)0x0) {\n UVar3 = (*local_48[0]->lpVtbl->Release)(local_48[0]);\n uVar6 = CONCAT44(extraout_var,UVar3);\n }\n if (local_38[0] != (longlong *)0x0) {\n uVar6 = (**(code **)(*local_38[0] + 0x10))();\n }\n uVar6 = uVar6 & 0xffffffffffffff00;\n }\n else {\n UVar3 = (*local_48[0]->lpVtbl[6].Release)(local_48[0]);\n if ((int)UVar3 < 0) {\n _com_issue_errorex(UVar3,pIVar1,(_GUID *)&DAT_1401301b0);\n }\n pwVar9 = L\"permission\";\n puVar8 = local_28;\n psVar5 = (short *)FUN_140073430(local_48,puVar8,0x140130198);\n FUN_140074970(psVar5,puVar8,pwVar9,puVar10);\n uVar4 = FUN_14000add0(psVar5);\n *param_4 = uVar4;\n Ordinal_9(local_28);\n uVar7 = FUN_140072b00(local_48);\n if (local_48[0] != (IUnknown *)0x0) {\n UVar3 = (*local_48[0]->lpVtbl->Release)(local_48[0]);\n uVar7 = CONCAT44(extraout_var_00,UVar3);\n }\n if (local_38[0] != (longlong *)0x0) {\n uVar7 = (**(code **)(*local_38[0] + 0x10))();\n }\n uVar6 = CONCAT71((int7)((ulonglong)uVar7 >> 8),1);\n }\n return uVar6;\n}\n\n","status":"ok"},{"address":"0x1400137f0","procedure":{"address":"0x1400137f0","name":"FUN_1400137f0","status":"resolved"},"pseudocode":"\nundefined8\nFUN_1400137f0(longlong param_1,uint param_2,undefined8 param_3,int *param_4,undefined8 *param_5)\n\n{\n ulonglong *puVar1;\n undefined8 *puVar2;\n uint *puVar3;\n LPVOID pvVar4;\n int *piVar5;\n undefined8 *puVar6;\n ulonglong *puVar7;\n undefined *puVar8;\n ulonglong *local_d8;\n ulonglong *local_d0;\n undefined8 local_c8;\n ulonglong *local_b8;\n ulonglong *local_b0;\n undefined8 local_a8;\n ulonglong *local_98;\n ulonglong *local_90;\n undefined8 local_88;\n undefined **local_78;\n longlong *local_70;\n LPVOID local_68;\n ulonglong local_60;\n undefined8 local_58;\n ulonglong *local_50;\n ulonglong *local_48;\n undefined8 local_40;\n undefined8 local_30;\n \n local_30 = 0xfffffffffffffffe;\n puVar6 = (undefined8 *)0x0;\n if (*(longlong *)(DAT_14017cf20 + 0x58) != 0) {\n for (puVar2 = *(undefined8 **)\n (*(longlong *)(DAT_14017cf20 + 0x38) +\n ((ulonglong)(longlong)*param_4 % *(ulonglong *)(DAT_14017cf20 + 0x40)) * 8);\n puVar2 != (undefined8 *)0x0; puVar2 = (undefined8 *)*puVar2) {\n if (*param_4 == *(int *)(puVar2 + 1)) {\n if ((puVar2 != (undefined8 *)0x0) &&\n (puVar3 = (uint *)puVar2[2], puVar6 = puVar2, puVar3 != (uint *)0x0)) {\n *(undefined8 *)(puVar3 + 0x28) = *param_5;\n *(undefined8 *)(puVar3 + 0x2a) = param_5[1];\n *(undefined8 *)(puVar3 + 0x2c) = param_5[2];\n FUN_140011f00(*(longlong *)(param_1 + 0x70),*param_4,param_5);\n if ((char)puVar3[3] == '\\r') {\n puVar3[0x28] = param_2;\n puVar3[0x31] = 1;\n local_98 = (ulonglong *)0x0;\n local_90 = (ulonglong *)0x0;\n local_88 = 0;\n FUN_14003a0d0(DAT_14017cf20,(ulonglong *)&local_98,puVar3[2]);\n local_b8 = (ulonglong *)0x0;\n local_b0 = (ulonglong *)0x0;\n local_a8 = 0;\n FUN_140039cd0(DAT_14017cf20,(ulonglong *)&local_b8,'\\x15');\n piVar5 = (int *)FUN_14003b000(DAT_14017cf50,&local_50);\n puVar8 = &DAT_14016f5d0;\n (**(code **)(*(longlong *)(param_1 + 0x40) + 0x30))\n ((longlong *)(param_1 + 0x40),param_2,&DAT_14016f5d0,piVar5,&local_98,\n &local_b8);\n if (local_50 != (ulonglong *)0x0) {\n if (local_50 != local_48) {\n puVar7 = local_50 + 4;\n do {\n if (7 < *puVar7) {\n operator_delete((void *)puVar7[-3]);\n }\n *puVar7 = 7;\n puVar7[-1] = 0;\n *(undefined2 *)(puVar7 + -3) = 0;\n puVar1 = puVar7 + 2;\n puVar7 = puVar7 + 6;\n } while (puVar1 != local_48);\n }\n operator_delete(local_50);\n }\n local_50 = (ulonglong *)0x0;\n local_48 = (ulonglong *)0x0;\n local_40 = 0;\n if (local_b8 != (ulonglong *)0x0) {\n FUN_14000a5f0(local_b8,local_b0);\n operator_delete(local_b8);\n }\n local_b8 = (ulonglong *)0x0;\n local_b0 = (ulonglong *)0x0;\n local_a8 = 0;\n if (local_98 != (ulonglong *)0x0) {\n FUN_14000a5f0(local_98,local_90);\n operator_delete(local_98);\n }\n local_98 = (ulonglong *)0x0;\n local_90 = (ulonglong *)0x0;\n local_88 = 0;\n }\n else {\n local_d8 = (ulonglong *)0x0;\n local_d0 = (ulonglong *)0x0;\n local_c8 = 0;\n FUN_140039f50(DAT_14017cf20,(ulonglong *)&local_d8,*puVar3);\n if (*(char *)(DAT_14017cf28 + 0x166) != '\\0') {\n FUN_140039cd0(DAT_14017cf20,(ulonglong *)&local_d8,'\\b');\n }\n puVar8 = &DAT_14016f5d0;\n piVar5 = param_4;\n (**(code **)(*(longlong *)(param_1 + 0x40) + 0x40))\n ((longlong *)(param_1 + 0x40),param_2,&DAT_14016f5d0,param_4,&local_d8);\n if (local_d8 != (ulonglong *)0x0) {\n FUN_14000a5f0(local_d8,local_d0);\n operator_delete(local_d8);\n }\n local_d8 = (ulonglong *)0x0;\n local_d0 = (ulonglong *)0x0;\n local_c8 = 0;\n }\n if (*(longlong *)(param_1 + 0x68) != 0) {\n piVar5 = (int *)(ulonglong)(byte)puVar3[3];\n puVar8 = (undefined *)(ulonglong)*puVar3;\n FUN_14000ae50(*(longlong *)(param_1 + 0x68),1,*puVar3,piVar5,0x14012e3d0,0,*param_4);\n }\n local_78 = Proud::CFastArray::vftable;\n local_70 = (longlong *)0x0;\n local_68 = (LPVOID)0x0;\n local_60 = 0;\n local_58 = 0;\n puVar6 = (undefined8 *)\n FUN_140039670(DAT_14017cf20,(longlong)&local_78,puVar8,(longlong)piVar5);\n pvVar4 = local_68;\n if ((int)local_60 == 0) {\n if (local_68 == (LPVOID)0x0) break;\n if (local_70 != (longlong *)0x0) {\n puVar6 = (undefined8 *)(**(code **)(*local_70 + 0x18))(local_70,local_68);\n break;\n }\n }\n else {\n puVar6 = (undefined8 *)\n (**(code **)(*(longlong *)(param_1 + 0x40) + 0x68))\n ((longlong *)(param_1 + 0x40),local_68,local_60 & 0xffffffff,\n &DAT_14016f5d0,param_4);\n if (pvVar4 == (LPVOID)0x0) break;\n if (local_70 != (longlong *)0x0) {\n puVar6 = (undefined8 *)(**(code **)(*local_70 + 0x18))(local_70,pvVar4);\n break;\n }\n }\n puVar6 = (undefined8 *)FUN_14003e8b0(pvVar4);\n }\n break;\n }\n }\n }\n return CONCAT71((int7)((ulonglong)puVar6 >> 8),1);\n}\n\n","status":"ok"},{"address":"0x140015ac0","procedure":{"address":"0x140015ac0","name":"FUN_140015ac0","status":"resolved"},"pseudocode":"\n/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */\n\nundefined8\nFUN_140015ac0(longlong param_1,uint param_2,undefined8 param_3,uint *param_4,uint *param_5)\n\n{\n longlong lVar1;\n BOOL BVar2;\n uint uVar3;\n uint uVar4;\n ulonglong uVar5;\n undefined *puVar6;\n char *pcVar7;\n longlong *plVar8;\n int *piVar9;\n undefined4 extraout_var;\n ulonglong ******ppppppuVar10;\n int *piVar11;\n uint *puVar12;\n undefined *extraout_RAX;\n undefined *extraout_RAX_00;\n undefined *extraout_RAX_01;\n undefined *extraout_RAX_02;\n ulonglong ******_Dst;\n uint *puVar13;\n short *psVar14;\n wchar_t *pwVar15;\n undefined8 uVar16;\n wchar_t *pwVar17;\n uint *puVar18;\n uint uVar19;\n ulonglong uVar20;\n undefined8 *puVar21;\n undefined1 auStackY_678 [32];\n uint *local_628;\n uint local_620 [2];\n undefined *local_618;\n int *local_610;\n undefined1 local_608;\n uint *local_600;\n undefined8 local_5f8;\n _PROCESS_INFORMATION local_5f0;\n _STARTUPINFOW local_5d8;\n ulonglong *****local_568 [2];\n ulonglong ****local_558;\n ulonglong ****local_550;\n undefined8 local_538;\n undefined4 local_530;\n undefined1 local_52c;\n undefined8 local_528;\n undefined8 local_520;\n undefined1 local_518;\n undefined2 local_510;\n undefined6 uStack_50e;\n undefined8 local_500;\n ulonglong local_4f8;\n undefined2 local_4e8;\n undefined6 uStack_4e6;\n undefined8 local_4d8;\n ulonglong local_4d0;\n undefined2 local_4c0;\n undefined6 uStack_4be;\n undefined8 local_4b0;\n ulonglong local_4a8;\n undefined2 local_498;\n undefined6 uStack_496;\n undefined8 local_488;\n ulonglong local_480;\n wchar_t local_468;\n undefined1 local_466 [526];\n wchar_t local_258;\n undefined1 local_256 [526];\n ulonglong local_48;\n \n local_5f8 = 0xfffffffffffffffe;\n local_48 = DAT_14016f5a0 ^ (ulonglong)auStackY_678;\n local_600 = param_5;\n if (*(char *)(DAT_14017cf28 + 0x180) == '\\0') {\n printf(\"Not Active Server.!!! \\n\");\n uVar5 = FUN_140011dd0(param_1 + -8,0,10,0xffffffff);\n return uVar5 & 0xffffffffffffff00;\n }\n pwVar17 = (wchar_t *)0x0;\n puVar13 = param_4;\n if (*(longlong *)(DAT_14017cf38 + 0x58) != 0) {\n for (puVar21 = *(undefined8 **)\n (*(longlong *)(DAT_14017cf38 + 0x38) +\n ((ulonglong)(longlong)(int)param_2 % *(ulonglong *)(DAT_14017cf38 + 0x40)) * 8);\n puVar21 != (undefined8 *)0x0; puVar21 = (undefined8 *)*puVar21) {\n if (param_2 == *(uint *)(puVar21 + 1)) {\n if ((puVar21 != (undefined8 *)0x0) && (lVar1 = puVar21[2], lVar1 != 0)) {\n psVar14 = (short *)(lVar1 + 8);\n if (7 < *(ulonglong *)(lVar1 + 0x20)) {\n psVar14 = *(short **)psVar14;\n }\n puVar13 = (uint *)(ulonglong)*param_5;\n FUN_1400124c0(param_1 + -8,psVar14,(ulonglong)*param_4,puVar13);\n }\n break;\n }\n }\n }\n local_538 = 0;\n local_530 = 0;\n local_52c = 0;\n local_528 = 0;\n local_520 = 0;\n local_518 = 0;\n local_4f8 = 7;\n local_500 = 0;\n local_510 = 0;\n local_4d0 = 7;\n local_4d8 = 0;\n local_4e8 = 0;\n local_4a8 = 7;\n local_4b0 = 0;\n local_4c0 = 0;\n uVar3 = *param_5;\n if (*(longlong *)(DAT_14017cf20 + 0x58) != 0) {\n for (puVar21 = *(undefined8 **)\n (*(longlong *)(DAT_14017cf20 + 0x38) +\n ((ulonglong)(longlong)(int)uVar3 % *(ulonglong *)(DAT_14017cf20 + 0x40)) * 8);\n puVar21 != (undefined8 *)0x0; puVar21 = (undefined8 *)*puVar21) {\n if (uVar3 == *(uint *)(puVar21 + 1)) {\n if (((puVar21 != (undefined8 *)0x0) && (puVar21[2] != 0)) &&\n (*(longlong *)(param_1 + 0x68) != 0)) {\n puVar13 = (uint *)0x0;\n FUN_14000ae50(*(longlong *)(param_1 + 0x68),0,0,0,(longlong)&local_4c0,*param_4,uVar3);\n }\n break;\n }\n }\n }\n puVar6 = (undefined *)(longlong)(int)*param_4;\n switch(*param_4) {\n case 4:\n FUN_140034220(DAT_14017cf28);\n pwVar15 = (wchar_t *)(DAT_14017cf28 + 0x30);\n if (7 < *(ulonglong *)(DAT_14017cf28 + 0x48)) {\n pwVar15 = *(wchar_t **)pwVar15;\n }\n puVar6 = (undefined *)FUN_14003a250(DAT_14017cf20,pwVar15);\n if ((char)puVar6 == '\\0') {\n local_258 = L'\\0';\n memset(local_256,0,0x206);\n local_468 = L'\\0';\n memset(local_466,0,0x206);\n for (pcVar7 = *(char **)(DAT_14017cf50 + 8); pcVar7 != *(char **)(DAT_14017cf50 + 0x10);\n pcVar7 = pcVar7 + 0x30) {\n if (*pcVar7 == '\\x18') {\n pwVar17 = (wchar_t *)(pcVar7 + 8);\n if (7 < *(ulonglong *)(pcVar7 + 0x20)) {\n pwVar17 = *(wchar_t **)pwVar17;\n }\n break;\n }\n }\n uVar16 = 0x104;\n wcscpy_s(&local_258,0x104,pwVar17);\n plVar8 = FUN_14003e430((longlong *)&local_618,uVar16,pwVar17,puVar13);\n pwVar17 = (wchar_t *)*plVar8;\n if ((wchar_t *)*plVar8 == (wchar_t *)0x0) {\n pwVar17 = (wchar_t *)PTR_DAT_14016f010;\n }\n uVar16 = 0x104;\n pwVar15 = &local_468;\n wcscpy_s(pwVar15,0x104,pwVar17);\n if (((local_618 != (undefined *)0x0) && (local_618 != PTR_DAT_14016f010)) &&\n (local_618 + -8 != (undefined *)0x0)) {\n piVar9 = (int *)FUN_14003e7c0(pwVar15,uVar16,pwVar17,puVar13);\n local_610 = piVar9;\n FUN_14003d040(piVar9);\n local_608 = 1;\n piVar11 = (int *)(local_618 + -4);\n *piVar11 = *piVar11 + -1;\n if (*piVar11 == 0) {\n FUN_14003e8b0(local_618 + -8);\n }\n FUN_14003d0d0((longlong)piVar9);\n }\n uVar5 = 0;\n local_618 = PTR_DAT_14016f010;\n memset(&local_5d8,0,0x68);\n local_5d8.cb = 0x68;\n local_5d8.dwFlags = 0x13;\n local_5d8.dwXSize = 700;\n local_5d8.dwYSize = 0x6e;\n local_5d8.dwFillAttribute = 0x17;\n local_5d8.wShowWindow = 5;\n puVar13 = (uint *)0x0;\n BVar2 = CreateProcessW((LPCWSTR)0x0,&local_258,(LPSECURITY_ATTRIBUTES)0x0,\n (LPSECURITY_ATTRIBUTES)0x0,0,0x10,(LPVOID)0x0,&local_468,&local_5d8,\n &local_5f0);\n if (BVar2 == 0) {\n local_550 = (ulonglong ****)0x7;\n local_558 = (ulonglong ****)0x0;\n local_568[0] = (ulonglong *****)((ulonglong)local_568[0] & 0xffffffffffff0000);\n puVar21 = (undefined8 *)(DAT_14017cf28 + 0x30);\n if (7 < *(ulonglong *)(DAT_14017cf28 + 0x48)) {\n puVar21 = (undefined8 *)*puVar21;\n }\n pwVar17 = L\"FAILED PATCH ON %s\";\n _Dst = (ulonglong ******)&local_498;\n ppppppuVar10 = (ulonglong ******)\n FUN_1400ed6f0((ulonglong *)_Dst,L\"FAILED PATCH ON %s\",puVar21,puVar13);\n if (local_568 != ppppppuVar10) {\n if ((ulonglong *****)0x7 < local_550) {\n _Dst = (ulonglong ******)local_568[0];\n operator_delete(local_568[0]);\n }\n local_550 = (ulonglong ****)0x7;\n local_558 = (ulonglong ****)0x0;\n local_568[0] = (ulonglong *****)((ulonglong)local_568[0] & 0xffffffffffff0000);\n if (ppppppuVar10[3] < (ulonglong *****)0x8) {\n puVar21 = (undefined8 *)(((longlong)ppppppuVar10[2] + 1U) * 2);\n _Dst = local_568;\n pwVar17 = (wchar_t *)ppppppuVar10;\n memmove(_Dst,ppppppuVar10,(size_t)puVar21);\n }\n else {\n local_568[0] = *ppppppuVar10;\n *ppppppuVar10 = (ulonglong *****)0x0;\n }\n local_558 = (ulonglong ****)ppppppuVar10[2];\n local_550 = (ulonglong ****)ppppppuVar10[3];\n ppppppuVar10[3] = (ulonglong *****)0x7;\n ppppppuVar10[2] = (ulonglong *****)0x0;\n *(wchar_t *)ppppppuVar10 = L'\\0';\n }\n if (7 < local_480) {\n _Dst = (ulonglong ******)CONCAT62(uStack_496,local_498);\n operator_delete(_Dst);\n }\n local_480 = 7;\n local_488 = 0;\n local_498 = 0;\n ppppppuVar10 = local_568;\n if ((ulonglong *****)0x7 < local_550) {\n ppppppuVar10 = (ulonglong ******)local_568[0];\n }\n FUN_14003e7c0(_Dst,pwVar17,puVar21,puVar13);\n local_628 = (uint *)PTR_DAT_14016f010;\n uVar3 = FUN_14003e620((short *)ppppppuVar10);\n if ((local_628 != (uint *)0x0) && (local_628 != (uint *)PTR_DAT_14016f010)) {\n uVar5 = (ulonglong)local_628[-2];\n }\n uVar4 = uVar3;\n if ((((int)uVar3 <= (int)uVar5) && (uVar4 = 0, local_628 != (uint *)0x0)) &&\n (local_628 != (uint *)PTR_DAT_14016f010)) {\n uVar4 = local_628[-2];\n }\n uVar19 = 1;\n if (1 < (int)uVar4) {\n uVar19 = uVar4;\n }\n uVar20 = (ulonglong)uVar19;\n if (local_628 == (uint *)0x0) {\n uVar4 = 0;\n }\n else if (local_628 == (uint *)PTR_DAT_14016f010) {\n uVar4 = 0;\n }\n else {\n uVar4 = local_628[-2];\n }\n if ((int)uVar4 < (int)uVar19) {\n puVar12 = local_628;\n if (local_628 == (uint *)0x0) {\n puVar12 = (uint *)PTR_DAT_14016f010;\n }\n local_628 = puVar12;\n if ((int)uVar19 < 0) {\n /* WARNING: Subroutine does not return */\n FUN_14003dec0();\n }\n if (uVar19 == 0) {\n local_628 = (uint *)PTR_DAT_14016f010;\n if (((puVar12 != (uint *)0x0) && (puVar12 != (uint *)PTR_DAT_14016f010)) &&\n (puVar12 + -2 != (uint *)0x0)) {\n local_628 = puVar12;\n piVar11 = (int *)FUN_14003e7c0(puVar12,PTR_DAT_14016f010,uVar5,puVar13);\n local_610 = piVar11;\n FUN_14003d040(piVar11);\n local_608 = 1;\n puVar13 = puVar12 + -1;\n *puVar13 = *puVar13 - 1;\n if (*puVar13 == 0) {\n FUN_14003e8b0(puVar12 + -2);\n }\n FUN_14003d0d0((longlong)piVar11);\n local_628 = (uint *)PTR_DAT_14016f010;\n }\n }\n else {\n if (puVar12 == (uint *)0x0) {\n uVar4 = 0;\n }\n else if (puVar12 == (uint *)PTR_DAT_14016f010) {\n uVar4 = 0;\n }\n else {\n uVar4 = puVar12[-2];\n }\n if (uVar19 != uVar4) {\n puVar12 = (uint *)FUN_14003e840((longlong)(int)uVar19 * 2 + 10);\n if (puVar12 != (uint *)0x0) {\n *puVar12 = 0;\n puVar12[1] = 1;\n }\n *puVar12 = uVar19;\n if (local_628 == (uint *)0x0) {\n uVar4 = 0;\n }\n else if (local_628 == (uint *)PTR_DAT_14016f010) {\n uVar4 = 0;\n }\n else {\n uVar4 = local_628[-2];\n }\n puVar18 = (uint *)PTR_DAT_14016f010;\n if ((int)uVar19 < (int)uVar4) {\nLAB_1400160ca:\n if (local_628 != (uint *)0x0) {\n puVar18 = local_628;\n }\n }\n else {\n if (local_628 != (uint *)0x0) {\n if (local_628 == (uint *)PTR_DAT_14016f010) {\n uVar20 = 0;\n }\n else {\n uVar20 = (ulonglong)local_628[-2];\n }\n goto LAB_1400160ca;\n }\n uVar20 = 0;\n }\n FUN_14003e650(puVar12 + 2,puVar18,(int)uVar20);\n FUN_140002190((longlong *)&local_628,puVar18,uVar20,puVar13);\n local_628 = puVar12 + 2;\n }\n }\n }\n FUN_140001df0((longlong *)&local_628);\n puVar13 = local_628;\n if (local_628 == (uint *)0x0) {\n puVar13 = (uint *)PTR_DAT_14016f010;\n }\n FUN_14003e650(puVar13,ppppppuVar10,uVar3);\n puVar13 = local_628;\n if (local_628 == (uint *)0x0) {\n puVar13 = (uint *)PTR_DAT_14016f010;\n }\n uVar4 = FUN_14003e620((short *)puVar13);\n uVar19 = 0;\n uVar3 = 0;\n if (0 < (int)uVar4) {\n uVar3 = uVar4;\n }\n uVar4 = uVar19;\n if ((local_628 != (uint *)0x0) && (local_628 != (uint *)PTR_DAT_14016f010)) {\n uVar4 = local_628[-2];\n }\n if (((int)uVar3 < (int)uVar4) || (uVar3 = uVar19, local_628 == (uint *)0x0)) {\nLAB_140016161:\n if (((local_628 != (uint *)PTR_DAT_14016f010) && (local_628 != (uint *)0x0)) &&\n (local_628 + -2 != (uint *)0x0)) {\n local_628[-2] = uVar3;\n *(undefined2 *)((longlong)local_628 + (longlong)(int)uVar3 * 2) = 0;\n }\n }\n else if (local_628 != (uint *)PTR_DAT_14016f010) {\n uVar3 = local_628[-2];\n goto LAB_140016161;\n }\n local_620[0] = 2;\n plVar8 = (longlong *)(param_1 + 0x40);\n puVar13 = local_620;\n puVar6 = &DAT_14016f5d0;\n uVar5 = (ulonglong)param_2;\n (**(code **)(*plVar8 + 0xd0))();\n puVar12 = local_628;\n if (((local_628 != (uint *)0x0) && (local_628 != (uint *)PTR_DAT_14016f010)) &&\n (puVar18 = local_628 + -2, puVar18 != (uint *)0x0)) {\n piVar11 = (int *)FUN_14003e7c0(plVar8,uVar5,puVar6,puVar13);\n local_610 = piVar11;\n FUN_14003d040(piVar11);\n local_608 = 1;\n puVar12 = puVar12 + -1;\n *puVar12 = *puVar12 - 1;\n if (*puVar12 == 0) {\n FUN_14003e8b0(puVar18);\n }\n FUN_14003d0d0((longlong)piVar11);\n }\n local_628 = (uint *)PTR_DAT_14016f010;\n puVar6 = PTR_DAT_14016f010;\n param_5 = local_600;\n if ((ulonglong *****)0x7 < local_550) {\n operator_delete(local_568[0]);\n puVar6 = extraout_RAX;\n param_5 = local_600;\n }\n }\n else {\n BVar2 = CloseHandle(local_5f0.hThread);\n puVar6 = (undefined *)CONCAT44(extraout_var,BVar2);\n }\n }\n case 0:\n case 1:\n case 2:\n case 3:\n case 5:\n case 6:\n case 7:\n case 0xd:\n if (*(longlong *)(param_1 + 0x70) != 0) {\n puVar6 = (undefined *)\n FUN_14000cb70(*(longlong *)(param_1 + 0x70),*param_4,(ulonglong)*param_5,\n (longlong)puVar13);\n }\n break;\n case 0xc:\n puVar6 = *(undefined **)(param_1 + 0x70);\n puVar6[0x9c] = 1;\n }\n if (7 < local_4a8) {\n operator_delete((void *)CONCAT62(uStack_4be,local_4c0));\n puVar6 = extraout_RAX_00;\n }\n local_4a8 = 7;\n local_4b0 = 0;\n local_4c0 = 0;\n if (7 < local_4d0) {\n operator_delete((void *)CONCAT62(uStack_4e6,local_4e8));\n puVar6 = extraout_RAX_01;\n }\n local_4d0 = 7;\n local_4d8 = 0;\n local_4e8 = 0;\n if (7 < local_4f8) {\n operator_delete((void *)CONCAT62(uStack_50e,local_510));\n puVar6 = extraout_RAX_02;\n }\n return CONCAT71((int7)((ulonglong)puVar6 >> 8),1);\n}\n\n","status":"ok"},{"address":"0x14001d850","procedure":{"address":"0x14001d850","name":"FUN_14001d850","status":"resolved"},"pseudocode":"\nundefined4 FUN_14001d850(undefined8 *param_1)\n\n{\n DWORD DVar1;\n uint extraout_EAX;\n HANDLE pvVar2;\n wchar_t *_Format;\n \n pvVar2 = CreateMutexW((LPSECURITY_ATTRIBUTES)0x0,1,L\"Global\\\\RustyHearts_AgentManager\");\n *param_1 = pvVar2;\n DVar1 = GetLastError();\n if (DVar1 == 5) {\n _Format = L\"ERROR_ACCESS_DENIED!!! %s \\n\";\n }\n else {\n if (DVar1 != 0xb7) {\n return CONCAT31((int3)(DVar1 >> 8),1);\n }\n _Format = L\"ERROR_ALREADY_EXISTS!!! %s \\n\";\n }\n wprintf(_Format);\n Sleep(3000);\n return extraout_EAX & 0xffffff00;\n}\n\n","status":"ok"}],"succeeded":7,"total":7},"operation":"batch_decompile","parameters":{"addresses":["0x140026520","0x14002c3c0","0x140015290","0x140009d00","0x1400137f0","0x140015ac0","0x14001d850"]},"predicate_type":"rea.analysis","provider":{"id":"rea-workflow","name":"REA composed investigation workflow","version":"1"},"raw_result":null,"relationship_coverage":null,"subject":{"architecture":"x86_64","digest":{"sha256":"8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186"},"format":"pe","local_path":"/home/baobeld/Development/rusty-hearts/re-project/binaries/AgentManager_Release_x64.exe","name":"AgentManager_Release_x64.exe"}},{"analysis_profile":{"digest":"59ccbf78a7678313ce6b8dc5d2aff50bb87fd4c4da522e2f0de63ece7a22c57a","parameters":{"upstream_analysis_profile":{"digest":"de1d200f7c777e7d47b9def837d80cf1e4326106753fd45afae1b8f0c68936f6","parameters":{"analyzer_preset":"ghidra-default","annotation_policy":"atomic-function-entry-metadata-v1","architecture":"x86_64","available_architectures":["x86_64"],"call_relationship_coverage":"function-body-call-coverage-v5","compiler_spec_id":"auto-default","decompiler_jump_loads":true,"executable_role":"application","function_body_evidence":"complete-inclusive-ranges-v1","function_boundary_observations":"ghidra-function-boundary-limitations-v3","function_dossier_coverage":"observed-facets-and-call-relationships-v1","function_references":"complete-body-and-entry-reference-manager-v2","import_mode":"ephemeral-source-immutable","instruction_flow_evidence":"decoded-return-pcode-v1","instruction_references":"exact-address-incoming-v1","jump_table_evidence":"typed-case-default-blocks-v1","language_id":"auto-from-header","load_image_observations":"source-mappings-entry-context-v2","loader":"auto-from-header","location_resolution":"explicit-address-exact-entry-symbol-first-v3","managed":false,"native_aot_metadata":{"contract_revision":"rtr-9.1-x64-pe-read-only-v3","report_bytes":4194304,"source_bytes":134217728,"work_units":67108864,"working_memory_bytes":67108864},"no_return_repair":"returning-imports-decoded-return-v2","pdb_observations":"program-info-v1","procedure_file_offset_resolution":"address-first-unique-target-source-mapping-v2","process_launch":"inspected-jvm-launch-support-v1","string_inventory_evidence":"defined-data-coverage-v1","target_format":"pe","target_kind":"executable"},"provider":{"id":"ghidra","name":"Ghidra","version":"12.1.2"}},"workflow_revision":2},"provider":{"id":"rea-workflow","name":"REA composed investigation workflow","version":"1"}},"authority":"shipped-artifact","confidence":"derived","environment":null,"evidence_id":"ev_99e67015491f95ff1bbf4dbf48c7e2d64895d607a457e8ffbb7f489325579d71","evidence_links":[],"limitations":["Derived by an REA composed workflow.","Cancelling an active Ghidra request terminates its ephemeral database and discards session annotations. The selected target remains open; the next provider query imports the original artifact again.","Default-space addresses use lowercase 0x-prefixed hexadecimal; other address spaces use :0x.","External functions and functions without an analyzable body return null; other decompiler failures remain explicit.","External functions and local thunks are distinct; procedure metadata identifies both and preserves a thunk target when Ghidra resolves one.","Ghidra Listing reports a terminal call at 0x14000266b to 0x1400ef250 FUN_1400ef250 (external=false, thunk=false, hasNoReturn=false); fallthrough is excluded by Ghidra's flow model. The reason for the terminal flow is not established by this observation.","Ghidra Listing reports a terminal call at 0x1400054df to 0x140037750 FUN_140037750 (external=false, thunk=false, hasNoReturn=false); fallthrough is excluded by Ghidra's flow model. The reason for the terminal flow is not established by this observation.","Ghidra Listing reports a terminal call at 0x140006423 to 0x1400ef250 FUN_1400ef250 (external=false, thunk=false, hasNoReturn=false); fallthrough is excluded by Ghidra's flow model. The reason for the terminal flow is not established by this observation.","Ghidra Listing reports a terminal call at 0x140007ad0 to 0x140048d70 FUN_140048d70 (external=false, thunk=false, hasNoReturn=true); fallthrough is excluded by Ghidra's flow model. This records Ghidra's FunctionManager flag, not an independent verification that the callee cannot return.","Ghidra Listing reports a terminal call at 0x140016aa5 to 0x14003dec0 FUN_14003dec0 (external=false, thunk=false, hasNoReturn=true); fallthrough is excluded by Ghidra's flow model. This records Ghidra's FunctionManager flag, not an independent verification that the callee cannot return.","Pseudocode is Ghidra decompiler output, not original source and not text-equivalent to Hopper output.","The imported Program and temporary project are ephemeral and deleted on close. Annotation operations edit session database metadata; original executable bytes are never written.","The session serves operations only after Ghidra reports default auto-analysis complete; incomplete analysis does not expose partial results.","The target references PDB AgentManager_Release_x64.pdb (GUID cc211b01-ac46-4192-9b64-b1d16ba71956, age (hex) 1, signature unknown, version RSDS); Ghidra reports load state unknown. Original names and types may be missing; an empty name search does not prove a procedure is absent. Use list_procedures and address-based analysis to inspect recovered functions. REA does not admit a caller-selected PDB companion.","This session uses Ghidra 12.1.2. The bridge is verified against 12.1.4; other 12.1.x builds are accepted and the observed version is reported."],"locations":[{"address":"0x140001390","kind":"address"},{"address":"0x140002400","kind":"address"},{"address":"0x140032f70","kind":"address"},{"address":"0x14002fe40","kind":"address"},{"address":"0x140007a20","kind":"address"},{"address":"0x140002790","kind":"address"},{"address":"0x140005460","kind":"address"},{"address":"0x140006380","kind":"address"},{"address":"0x140003d00","kind":"address"},{"address":"0x1400169c0","kind":"address"},{"address":"0x140034220","kind":"address"},{"address":"0x140003420","kind":"address"}],"normalized_result":{"failed":0,"items":[{"address":"0x140001390","procedure":{"address":"0x140001390","name":"FUN_140001390","status":"resolved"},"pseudocode":"\n/* WARNING: Function: __chkstk replaced with injection: alloca_probe */\n\nundefined8 FUN_140001390(int param_1,longlong param_2,undefined8 param_3,longlong **param_4)\n\n{\n short sVar1;\n undefined4 uVar2;\n DWORD DVar3;\n _invalid_parameter_handler _Handler;\n undefined8 *puVar4;\n ulonglong uVar5;\n PHANDLE ProcessHeaps;\n LPCWSTR pWVar6;\n short *psVar7;\n HANDLE *ppvVar8;\n undefined8 **HeapInformation;\n undefined8 *local_res18;\n undefined8 local_res20;\n HANDLE local_2028;\n undefined1 local_2020 [8192];\n undefined8 uStack_20;\n \n uStack_20 = 0x14000139e;\n DAT_14017ce74 = timeGetTime();\n FUN_14001d810(&local_res20);\n uVar2 = FUN_14001d850(&local_res20);\n if ((char)uVar2 != '\\0') {\n FUN_14001d8c0();\n FUN_140001580();\n FUN_140001060((longlong)DAT_14017c8b0);\n if (1 < param_1) {\n uVar5 = 0xffffffffffffffff;\n psVar7 = *(short **)(param_2 + 8);\n do {\n if (uVar5 == 0) break;\n uVar5 = uVar5 - 1;\n sVar1 = *psVar7;\n psVar7 = psVar7 + 1;\n } while (sVar1 != 0);\n FUN_140001710((ulonglong *)&DAT_140175020,*(short **)(param_2 + 8),~uVar5 - 1);\n }\n puVar4 = (undefined8 *)0x0;\n local_2028 = (HANDLE)0x0;\n HeapInformation = (undefined8 **)0x2000;\n memset(local_2020,0,0x2000);\n ProcessHeaps = &local_2028;\n DVar3 = GetProcessHeaps(0x400,ProcessHeaps);\n if (DVar3 != 0) {\n ppvVar8 = &local_2028;\n uVar5 = (ulonglong)DVar3;\n do {\n local_res18 = (undefined8 *)CONCAT44(local_res18._4_4_,2);\n param_4 = (longlong **)0x4;\n HeapInformation = &local_res18;\n ProcessHeaps = (PHANDLE)0x0;\n HeapSetInformation(*ppvVar8,HeapCompatibilityInformation,HeapInformation,4);\n ppvVar8 = ppvVar8 + 1;\n uVar5 = uVar5 - 1;\n } while (uVar5 != 0);\n }\n _Handler = _set_invalid_parameter_handler(FUN_140001340);\n local_res18 = operator_new(0x494a8);\n if (local_res18 != (undefined8 *)0x0) {\n puVar4 = FUN_1400022b0(local_res18,ProcessHeaps,HeapInformation,param_4);\n }\n pWVar6 = (LPCWSTR)&DAT_140175020;\n if (7 < DAT_140175038) {\n pWVar6 = DAT_140175020;\n }\n DAT_14017c8b8 = puVar4;\n FUN_140002400(pWVar6,ProcessHeaps,HeapInformation,param_4);\n FUN_140002790((longlong)DAT_14017c8b8,ProcessHeaps,HeapInformation,param_4);\n FUN_140002670((longlong)DAT_14017c8b8);\n if (DAT_14017c8b8 != (undefined8 *)0x0) {\n (**(code **)*DAT_14017c8b8)(DAT_14017c8b8,1);\n }\n if (DAT_14017c8b0 != (undefined8 *)0x0) {\n (**(code **)*DAT_14017c8b0)(DAT_14017c8b0,1);\n }\n _set_invalid_parameter_handler(_Handler);\n }\n FUN_14001d820(&local_res20);\n return 0;\n}\n\n","status":"ok"},{"address":"0x140002400","procedure":{"address":"0x140002400","name":"FUN_140002400","status":"resolved"},"pseudocode":"\nvoid FUN_140002400(LPCWSTR param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4)\n\n{\n longlong lVar1;\n char *pcVar2;\n undefined8 *puVar3;\n undefined8 *puVar4;\n undefined8 uVar5;\n ulonglong uVar6;\n wchar_t *pwVar7;\n \n if ((DAT_14017d37c & 1) == 0) {\n DAT_14017d37c = DAT_14017d37c | 1;\n FUN_1400ef080();\n atexit((_func_5014 *)&LAB_140104340);\n if ((DAT_14017d37c & 1) == 0) {\n DAT_14017d37c = DAT_14017d37c | 1;\n FUN_1400ef080();\n atexit((_func_5014 *)&LAB_140104340);\n }\n }\n if ((DAT_14017d140 != 200) && (DAT_14017d140 != 100)) {\n if ((DAT_14017d37c & 1) == 0) {\n DAT_14017d37c = DAT_14017d37c | 1;\n FUN_1400ef080();\n atexit((_func_5014 *)&LAB_140104340);\n }\n if (DAT_14017d140 != 1000) goto LAB_1400024b1;\n }\n setlocale(0,\"kor\");\nLAB_1400024b1:\n pcVar2 = setlocale(0,(char *)0x0);\n printf(\"Locale is: %s\\n\");\n puVar3 = operator_new(8);\n puVar4 = (undefined8 *)0x0;\n if (puVar3 != (undefined8 *)0x0) {\n puVar4 = FUN_14003acf0(puVar3,pcVar2,param_3,param_4);\n }\n lVar1 = DAT_14017cf28;\n DAT_14017cf30 = puVar4;\n *(undefined1 *)(DAT_14017cf28 + 0x1e8) = 0x15;\n FUN_14002fc00(lVar1,param_1,param_3,param_4);\n uVar5 = FUN_140032f70(DAT_14017cf28,param_1,param_3,param_4);\n if ((char)uVar5 == '\\0') {\n printf(\"DB PASE ERROR !!! \\n\");\n }\n _wmkdir(L\"Log\");\n puVar3 = operator_new(0xe8);\n puVar4 = (undefined8 *)0x0;\n if (puVar3 != (undefined8 *)0x0) {\n puVar4 = FUN_1400ef640(puVar3);\n }\n DAT_14017c8a8 = puVar4;\n FUN_1400ef910((longlong)puVar4,param_1,param_3,param_4);\n puVar4 = DAT_14017c8a8;\n EnterCriticalSection(DAT_14017cf60);\n uVar5 = 0x19;\n pwVar7 = L\"Log\\\\Protocol_AgentManager\";\n FUN_140001710(puVar4 + 3,L\"Log\\\\Protocol_AgentManager\",0x19);\n LeaveCriticalSection(DAT_14017cf60);\n FUN_1400efa40((longlong)DAT_14017c8a8);\n puVar3 = operator_new(0x98);\n puVar4 = (undefined8 *)0x0;\n if (puVar3 != (undefined8 *)0x0) {\n puVar4 = FUN_1400ed450(puVar3,pwVar7,uVar5,param_4);\n }\n DAT_14017cf18 = puVar4;\n DAT_14017cf40 = operator_new(8);\n if (DAT_14017cf40 != (undefined8 *)0x0) {\n *DAT_14017cf40 = MagiXmlFormat::vftable;\n }\n puVar3 = operator_new(0xb0);\n puVar4 = (undefined8 *)0x0;\n if (puVar3 != (undefined8 *)0x0) {\n puVar4 = FUN_14000da20(puVar3,pwVar7,uVar5,param_4);\n }\n DAT_14017cf38 = puVar4;\n puVar4 = operator_new(0x80);\n if (puVar4 == (undefined8 *)0x0) {\n puVar4 = (undefined8 *)0x0;\n }\n else {\n *puVar4 = MagiStatistics::vftable;\n FUN_14000c1f0(puVar4 + 1);\n uVar6 = FUN_140094860();\n uVar5 = CONCAT71((int7)((ulonglong)uVar5 >> 8),1);\n FUN_14003cf60((undefined4 *)(puVar4 + 9),uVar6 & 0xffffffff,uVar5,param_4);\n }\n DAT_14017cf48 = puVar4;\n FUN_1400ef250((longlong)DAT_14017c8a8,L\"\\t # INIT # \\n\",uVar5,param_4);\n return;\n}\n\n","status":"ok"},{"address":"0x140032f70","procedure":{"address":"0x140032f70","name":"FUN_140032f70","status":"resolved"},"pseudocode":"\n/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */\n/* WARNING: Type propagation algorithm not settling */\n\nulonglong FUN_140032f70(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4)\n\n{\n short sVar1;\n longlong lVar2;\n undefined **ppuVar3;\n undefined **extraout_RAX;\n undefined **extraout_RAX_00;\n ulonglong uVar4;\n longlong lVar5;\n short *psVar6;\n char *******pppppppcVar7;\n longlong *plVar8;\n char *pcVar9;\n short *psVar10;\n char *pcVar11;\n bool bVar12;\n undefined1 auStack_118 [32];\n undefined **local_f8 [5];\n longlong *local_d0;\n undefined8 *local_c0;\n void *local_b8;\n uint local_9c;\n undefined8 *local_98;\n void *local_90;\n undefined8 local_78;\n char *******local_70 [3];\n ulonglong local_58;\n WCHAR local_48;\n undefined6 uStack_46;\n undefined8 local_38;\n ulonglong local_30;\n ulonglong local_20;\n \n local_78 = 0xfffffffffffffffe;\n local_20 = DAT_14016f5a0 ^ (ulonglong)auStack_118;\n psVar6 = (short *)&DAT_1401750b0;\n if (7 < DAT_1401750c8) {\n psVar6 = DAT_1401750b0;\n }\n local_30 = 7;\n local_38 = 0;\n local_48 = L'\\0';\n uVar4 = 0xffffffffffffffff;\n psVar10 = psVar6;\n do {\n if (uVar4 == 0) break;\n uVar4 = uVar4 - 1;\n sVar1 = *psVar10;\n psVar10 = psVar10 + 1;\n } while (sVar1 != 0);\n FUN_140001710((ulonglong *)&local_48,psVar6,~uVar4 - 1);\n FUN_1400ed7b0((ulonglong *)local_70,&local_48);\n if (7 < local_30) {\n operator_delete((void *)CONCAT62(uStack_46,local_48));\n }\n local_30 = 7;\n local_38 = 0;\n local_48 = L'\\0';\n pppppppcVar7 = (char *******)local_70;\n if (0xf < local_58) {\n pppppppcVar7 = local_70[0];\n }\n FUN_14001f6d0(local_f8,(char *)pppppppcVar7);\n DAT_140174c28 = 0;\n uVar4 = FUN_14001f7a0((longlong *)local_f8,(char *)(local_c0 + 2));\n plVar8 = local_d0;\n if ((char)uVar4 == '\\0') {\n FUN_14001e070(\"Error : %d - %s\",(ulonglong)local_9c,local_98 + 2,param_4);\n local_f8[0] = TiXmlDocument::vftable;\n if (local_98 != &DAT_14017ce88) {\n operator_delete__(local_90);\n }\n local_f8[0] = TiXmlNode::vftable;\n while (local_d0 != (longlong *)0x0) {\n plVar8 = (longlong *)local_d0[10];\n (**(code **)*local_d0)(local_d0,1);\n local_d0 = plVar8;\n }\n if (local_c0 != &DAT_14017ce88) {\n operator_delete__(local_b8);\n }\n goto LAB_140033434;\n }\n for (; plVar8 != (longlong *)0x0; plVar8 = (longlong *)plVar8[10]) {\n bVar12 = (char *)(plVar8[7] + 0x10) == (char *)0x0;\n lVar5 = 3;\n pcVar9 = (char *)(plVar8[7] + 0x10);\n pcVar11 = \"db\";\n do {\n if (lVar5 == 0) break;\n lVar5 = lVar5 + -1;\n bVar12 = *pcVar9 == *pcVar11;\n pcVar9 = pcVar9 + 1;\n pcVar11 = pcVar11 + 1;\n } while (bVar12);\n if (bVar12) goto LAB_140033126;\n }\nLAB_1400333c8:\n local_f8[0] = TiXmlDocument::vftable;\n if (local_98 != &DAT_14017ce88) {\n operator_delete__(local_90);\n }\n local_f8[0] = TiXmlNode::vftable;\n while (local_d0 != (longlong *)0x0) {\n plVar8 = (longlong *)local_d0[10];\n (**(code **)*local_d0)(local_d0,1);\n local_d0 = plVar8;\n }\n if (local_c0 != &DAT_14017ce88) {\n operator_delete__(local_b8);\n }\nLAB_140033434:\n local_f8[0] = TiXmlBase::vftable;\n ppuVar3 = TiXmlBase::vftable;\n if (0xf < local_58) {\n operator_delete(local_70[0]);\n ppuVar3 = extraout_RAX_00;\n }\n return (ulonglong)ppuVar3 & 0xffffffffffffff00;\nLAB_140033126:\n while (lVar5 = (**(code **)(*plVar8 + 0x30))(plVar8), lVar5 == 0) {\n do {\n plVar8 = (longlong *)plVar8[10];\n if (plVar8 == (longlong *)0x0) goto LAB_1400333c8;\n bVar12 = (char *)(plVar8[7] + 0x10) == (char *)0x0;\n lVar5 = 3;\n pcVar9 = (char *)(plVar8[7] + 0x10);\n pcVar11 = \"db\";\n do {\n if (lVar5 == 0) break;\n lVar5 = lVar5 + -1;\n bVar12 = *pcVar9 == *pcVar11;\n pcVar9 = pcVar9 + 1;\n pcVar11 = pcVar11 + 1;\n } while (bVar12);\n } while (!bVar12);\n }\n lVar5 = (**(code **)(*plVar8 + 0x30))(plVar8);\n if (lVar5 != 0) {\n lVar5 = FUN_14001ee20(lVar5,0x140133c98);\n if (lVar5 == 0) {\n local_f8[0] = TiXmlDocument::vftable;\n if (local_98 != &DAT_14017ce88) {\n operator_delete__(local_90);\n }\n local_f8[0] = TiXmlNode::vftable;\n while (local_d0 != (longlong *)0x0) {\n plVar8 = (longlong *)local_d0[10];\n (**(code **)*local_d0)(local_d0,1);\n local_d0 = plVar8;\n }\n if (local_c0 != &DAT_14017ce88) {\n operator_delete__(local_b8);\n }\n }\n else {\n lVar2 = FUN_14001ee20(lVar5,0x140133c50);\n if (lVar2 == 0) {\n local_f8[0] = TiXmlDocument::vftable;\n if (local_98 != &DAT_14017ce88) {\n operator_delete__(local_90);\n }\n local_f8[0] = TiXmlNode::vftable;\n while (local_d0 != (longlong *)0x0) {\n plVar8 = (longlong *)local_d0[10];\n (**(code **)*local_d0)(local_d0,1);\n local_d0 = plVar8;\n }\n if (local_c0 != &DAT_14017ce88) {\n operator_delete__(local_b8);\n }\n }\n else {\n lVar5 = FUN_14001ee20(lVar5,0x140133e30);\n if (lVar5 != 0) {\n FUN_140033470((ulonglong *)(param_1 + 0x90),(int *)(param_1 + 0x130),lVar2);\n FUN_140033470((ulonglong *)(param_1 + 0x108),(int *)(param_1 + 0x13c),lVar5);\n local_f8[0] = TiXmlDocument::vftable;\n if (local_98 != &DAT_14017ce88) {\n operator_delete__(local_90);\n }\n local_f8[0] = TiXmlNode::vftable;\n while (local_d0 != (longlong *)0x0) {\n plVar8 = (longlong *)local_d0[10];\n (**(code **)*local_d0)(local_d0,1);\n local_d0 = plVar8;\n }\n if (local_c0 != &DAT_14017ce88) {\n operator_delete__(local_b8);\n }\n ppuVar3 = TiXmlBase::vftable;\n local_f8[0] = TiXmlBase::vftable;\n if (0xf < local_58) {\n operator_delete(local_70[0]);\n ppuVar3 = extraout_RAX;\n }\n return CONCAT71((int7)((ulonglong)ppuVar3 >> 8),1);\n }\n local_f8[0] = TiXmlDocument::vftable;\n if (local_98 != &DAT_14017ce88) {\n operator_delete__(local_90);\n }\n local_f8[0] = TiXmlNode::vftable;\n while (local_d0 != (longlong *)0x0) {\n plVar8 = (longlong *)local_d0[10];\n (**(code **)*local_d0)(local_d0,1);\n local_d0 = plVar8;\n }\n if (local_c0 != &DAT_14017ce88) {\n operator_delete__(local_b8);\n }\n }\n }\n goto LAB_140033434;\n }\n goto LAB_1400333c8;\n}\n\n","status":"ok"},{"address":"0x14002fe40","procedure":{"address":"0x14002fe40","name":"FUN_14002fe40","status":"resolved"},"pseudocode":"\n/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */\n/* WARNING: Type propagation algorithm not settling */\n\nundefined8 FUN_14002fe40(longlong param_1,undefined4 *param_2)\n\n{\n short sVar1;\n char cVar2;\n int iVar3;\n undefined **ppuVar4;\n undefined **extraout_RAX;\n longlong lVar5;\n undefined **extraout_RAX_00;\n ulonglong uVar6;\n longlong lVar7;\n longlong lVar8;\n short *psVar9;\n char *******pppppppcVar10;\n char *pcVar11;\n longlong *plVar12;\n short *psVar13;\n char *pcVar14;\n bool bVar15;\n undefined1 auStack_128 [32];\n undefined **local_108 [5];\n longlong *local_e0;\n undefined8 *local_d0;\n void *local_c8;\n uint local_ac;\n undefined8 *local_a8;\n void *local_a0;\n undefined8 local_88;\n char *******local_80 [3];\n ulonglong local_68;\n WCHAR local_58;\n undefined6 uStack_56;\n undefined8 local_48;\n ulonglong local_40;\n ulonglong local_30;\n \n local_88 = 0xfffffffffffffffe;\n local_30 = DAT_14016f5a0 ^ (ulonglong)auStack_128;\n *(undefined4 *)(param_1 + 0x140) = *param_2;\n *(undefined1 *)(param_1 + 0x1e8) = *(undefined1 *)(param_2 + 3);\n FUN_140001630((longlong *)(param_1 + 8),(longlong *)(param_2 + 0x1e),0,0xffffffffffffffff);\n FUN_140001630((longlong *)(param_1 + 0x30),(longlong *)(param_2 + 10),0,0xffffffffffffffff);\n FUN_140001630((longlong *)(param_1 + 0x58),(longlong *)(param_2 + 0x14),0,0xffffffffffffffff);\n *(undefined4 *)(param_1 + 0x80) = param_2[4];\n *(undefined4 *)(param_1 + 0x84) = param_2[5];\n *(undefined4 *)(param_1 + 0x88) = param_2[6];\n *(undefined4 *)(param_1 + 0x8c) = param_2[7];\n psVar9 = (short *)&DAT_1401750b0;\n if (7 < DAT_1401750c8) {\n psVar9 = DAT_1401750b0;\n }\n local_40 = 7;\n lVar5 = 0;\n local_48 = 0;\n local_58 = L'\\0';\n uVar6 = 0xffffffffffffffff;\n psVar13 = psVar9;\n do {\n if (uVar6 == 0) break;\n uVar6 = uVar6 - 1;\n sVar1 = *psVar13;\n psVar13 = psVar13 + 1;\n } while (sVar1 != 0);\n FUN_140001710((ulonglong *)&local_58,psVar9,~uVar6 - 1);\n FUN_1400ed7b0((ulonglong *)local_80,&local_58);\n if (7 < local_40) {\n operator_delete((void *)CONCAT62(uStack_56,local_58));\n }\n local_40 = 7;\n local_48 = 0;\n local_58 = L'\\0';\n pppppppcVar10 = (char *******)local_80;\n if (0xf < local_68) {\n pppppppcVar10 = local_80[0];\n }\n FUN_14001f6d0(local_108,(char *)pppppppcVar10);\n DAT_140174c28 = 0;\n uVar6 = FUN_14001f7a0((longlong *)local_108,(char *)(local_d0 + 2));\n plVar12 = local_e0;\n if ((char)uVar6 == '\\0') {\n pppppppcVar10 = (char *******)local_80;\n if (0xf < local_68) {\n pppppppcVar10 = local_80[0];\n }\n FUN_14001e070(\"Error File Name %s : %d - %s\",pppppppcVar10,(ulonglong)local_ac,local_a8 + 2);\n local_108[0] = TiXmlDocument::vftable;\n if (local_a8 != &DAT_14017ce88) {\n operator_delete__(local_a0);\n }\n local_108[0] = TiXmlNode::vftable;\n while (local_e0 != (longlong *)0x0) {\n plVar12 = (longlong *)local_e0[10];\n (**(code **)*local_e0)(local_e0,1);\n local_e0 = plVar12;\n }\n if (local_d0 != &DAT_14017ce88) {\n operator_delete__(local_c8);\n }\n ppuVar4 = TiXmlBase::vftable;\n local_108[0] = TiXmlBase::vftable;\n if (0xf < local_68) {\n operator_delete(local_80[0]);\n ppuVar4 = extraout_RAX;\n }\n return (ulonglong)ppuVar4 & 0xffffffffffffff00;\n }\n for (; plVar12 != (longlong *)0x0; plVar12 = (longlong *)plVar12[10]) {\n bVar15 = (char *)(plVar12[7] + 0x10) == (char *)0x0;\n lVar7 = 3;\n pcVar11 = (char *)(plVar12[7] + 0x10);\n pcVar14 = \"db\";\n do {\n if (lVar7 == 0) break;\n lVar7 = lVar7 + -1;\n bVar15 = *pcVar11 == *pcVar14;\n pcVar11 = pcVar11 + 1;\n pcVar14 = pcVar14 + 1;\n } while (bVar15);\n if (bVar15) goto LAB_140030083;\n }\nLAB_1400300c0:\n cVar2 = *(char *)(param_1 + 0x1e8);\n if (cVar2 == '\\x05') {\n *(undefined4 *)(param_1 + 0x158) = 1;\n }\n else {\n if (cVar2 == '\\f') {\n if (lVar5 == 0) goto LAB_140030257;\n pcVar11 = \"game\";\n }\n else if (cVar2 == '\\x11') {\n if (lVar5 == 0) goto LAB_140030257;\n pcVar11 = \"log\";\n }\n else if (cVar2 == '\\x12') {\n if (lVar5 == 0) goto LAB_140030257;\n pcVar11 = \"chat\";\n }\n else {\n if ((cVar2 != '\\x13') || (lVar5 == 0)) goto LAB_140030257;\n pcVar11 = \"emergency\";\n }\n lVar5 = FUN_14001ee20(lVar5,(longlong)pcVar11);\n if (lVar5 != 0) {\n lVar7 = FUN_14001ee20(lVar5,0x140133c50);\n if (lVar7 != 0) {\n FUN_140033470((ulonglong *)(param_1 + 0x90),(int *)(param_1 + 0x130),lVar7);\n }\n lVar7 = FUN_14001ee20(lVar5,0x140133c5c);\n if (lVar7 != 0) {\n FUN_140033470((ulonglong *)(param_1 + 0xb8),(int *)(param_1 + 0x134),lVar7);\n }\n lVar7 = FUN_14001ee20(lVar5,0x140133c68);\n if (lVar7 != 0) {\n FUN_140033470((ulonglong *)(param_1 + 0xe0),(int *)(param_1 + 0x138),lVar7);\n }\n lVar7 = FUN_14001ee20(lVar5,0x140133c70);\n if (lVar7 != 0) {\n FUN_140033470((ulonglong *)(param_1 + 0x108),(int *)(param_1 + 0x13c),lVar7);\n }\n lVar5 = FUN_14001ee20(lVar5,0x140133c78);\n if (lVar5 != 0) {\n for (lVar7 = *(longlong *)(lVar5 + 0xa0); lVar7 != lVar5 + 0x58;\n lVar7 = *(longlong *)(lVar7 + 0x48)) {\n pcVar11 = (char *)(*(longlong *)(lVar7 + 0x20) + 0x10);\n bVar15 = pcVar11 == (char *)0x0;\n lVar8 = 6;\n pcVar14 = \"count\";\n do {\n if (lVar8 == 0) break;\n lVar8 = lVar8 + -1;\n bVar15 = *pcVar11 == *pcVar14;\n pcVar11 = pcVar11 + 1;\n pcVar14 = pcVar14 + 1;\n } while (bVar15);\n if (bVar15) {\n pcVar11 = (char *)(*(longlong *)(lVar7 + 0x30) + 0x10);\n if (pcVar11 != (char *)0x0) {\n iVar3 = atoi(pcVar11);\n *(int *)(param_1 + 0x14c) = iVar3;\n }\n break;\n }\n }\n }\n }\n }\nLAB_140030257:\n local_108[0] = TiXmlDocument::vftable;\n if (local_a8 != &DAT_14017ce88) {\n operator_delete__(local_a0);\n }\n local_108[0] = TiXmlNode::vftable;\n while (local_e0 != (longlong *)0x0) {\n plVar12 = (longlong *)local_e0[10];\n (**(code **)*local_e0)(local_e0,1);\n local_e0 = plVar12;\n }\n if (local_d0 != &DAT_14017ce88) {\n operator_delete__(local_c8);\n }\n ppuVar4 = TiXmlBase::vftable;\n local_108[0] = TiXmlBase::vftable;\n if (0xf < local_68) {\n operator_delete(local_80[0]);\n ppuVar4 = extraout_RAX_00;\n }\n return CONCAT71((int7)((ulonglong)ppuVar4 >> 8),1);\nLAB_140030083:\n while (lVar7 = (**(code **)(*plVar12 + 0x30))(plVar12), lVar7 == 0) {\n do {\n plVar12 = (longlong *)plVar12[10];\n if (plVar12 == (longlong *)0x0) goto LAB_1400300c0;\n bVar15 = (char *)(plVar12[7] + 0x10) == (char *)0x0;\n lVar7 = 3;\n pcVar11 = (char *)(plVar12[7] + 0x10);\n pcVar14 = \"db\";\n do {\n if (lVar7 == 0) break;\n lVar7 = lVar7 + -1;\n bVar15 = *pcVar11 == *pcVar14;\n pcVar11 = pcVar11 + 1;\n pcVar14 = pcVar14 + 1;\n } while (bVar15);\n } while (!bVar15);\n }\n lVar5 = (**(code **)(*plVar12 + 0x30))(plVar12);\n goto LAB_1400300c0;\n}\n\n","status":"ok"},{"address":"0x140007a20","procedure":{"address":"0x140007a20","name":"FUN_140007a20","status":"resolved"},"pseudocode":"\n/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */\n\nulonglong FUN_140007a20(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4)\n\n{\n int *piVar1;\n undefined8 *puVar2;\n IUnknown *pIVar3;\n undefined8 *puVar4;\n undefined8 *puVar5;\n uint uVar6;\n int iVar7;\n ULONG UVar8;\n undefined4 uVar9;\n short *psVar10;\n ulonglong uVar11;\n undefined4 extraout_var;\n undefined4 extraout_var_00;\n int *piVar12;\n ulonglong *puVar13;\n ulonglong *puVar14;\n int *piVar15;\n undefined8 uVar16;\n undefined4 extraout_var_01;\n int *piVar17;\n ulonglong **ppuVar18;\n undefined8 **ppuVar19;\n int **ppiVar20;\n undefined *puVar21;\n int *piVar22;\n IUnknown **ppIVar23;\n wchar_t *pwVar24;\n undefined1 auStack_198 [32];\n ulonglong *local_178;\n int local_170;\n short local_160;\n IUnknown *local_158 [2];\n longlong *local_148 [2];\n undefined8 *local_138;\n undefined8 *local_130;\n undefined8 local_128;\n int *local_118;\n undefined1 local_110;\n int *local_108;\n undefined1 local_100;\n short local_f8 [16];\n undefined8 local_d8;\n undefined8 local_c8;\n undefined4 local_c0;\n undefined1 local_bc;\n undefined8 local_b8;\n undefined8 local_b0;\n undefined1 local_a8;\n undefined2 local_a0;\n undefined6 uStack_9e;\n undefined8 local_90;\n ulonglong local_88;\n undefined2 local_78;\n undefined6 uStack_76;\n undefined8 local_68;\n ulonglong local_60;\n undefined2 local_50;\n undefined6 uStack_4e;\n undefined8 local_40;\n ulonglong local_38;\n ulonglong local_28;\n \n local_d8 = 0xfffffffffffffffe;\n local_28 = DAT_14016f5a0 ^ (ulonglong)auStack_198;\n FUN_140073cc0(local_148);\n FUN_140073b20(local_158);\n FUN_140073f70(local_148,*(IID **)(param_1 + 8),(void **)L\"dbo.up_read_agentmanager\");\n iVar7 = *(int *)(DAT_14017cf28 + 0x154);\n Ordinal_8(&local_178);\n if (((short)local_178 != 3) && ((short)local_178 != 10)) {\n if ((short)local_178 == 0xb) {\n local_170 = CONCAT22(local_170._2_2_,-(ushort)(iVar7 != 0));\n iVar7 = local_170;\n }\n else {\n uVar6 = Ordinal_9(&local_178);\n if ((int)uVar6 < 0) {\n /* WARNING: Subroutine does not return */\n FUN_140048d70((ulonglong)uVar6);\n }\n local_178 = (ulonglong *)CONCAT62(local_178._2_6_,3);\n }\n }\n local_170 = iVar7;\n FUN_140073d70(local_148,1,(undefined4 *)&local_178);\n Ordinal_9(&local_178);\n FUN_140074740(local_148,(longlong *)local_158,(int *)0x0);\n uVar16 = 0;\n ppuVar18 = &local_178;\n psVar10 = (short *)FUN_140073e60(local_148,ppuVar18,0);\n FUN_140074970(psVar10,ppuVar18,uVar16,param_4);\n iVar7 = FUN_14000add0(psVar10);\n Ordinal_9(&local_178);\n pIVar3 = local_158[0];\n if (iVar7 < 0) {\n wprintf(L\"Failed Stored Procedure!! : %s \\n\",L\"dbo.up_read_agentmanager\");\n uVar11 = FUN_140072b00(local_158);\n if (local_158[0] != (IUnknown *)0x0) {\n UVar8 = (*local_158[0]->lpVtbl->Release)(local_158[0]);\n uVar11 = CONCAT44(extraout_var,UVar8);\n }\n }\n else {\n local_160 = 0;\n UVar8 = (*local_158[0]->lpVtbl[6].Release)(local_158[0]);\n if ((int)UVar8 < 0) {\n _com_issue_errorex(UVar8,pIVar3,(_GUID *)&DAT_1401301b0);\n }\n if (local_160 == 0) {\n local_138 = (undefined8 *)0x0;\n local_130 = (undefined8 *)0x0;\n local_128 = 0;\n FUN_1400075d0((ulonglong *)&local_138,local_158);\n local_c8 = 0;\n local_c0 = 0;\n local_bc = 0;\n local_b8 = 0;\n local_b0 = 0;\n local_a8 = 0;\n local_88 = 7;\n local_90 = 0;\n local_a0 = 0;\n local_60 = 7;\n local_68 = 0;\n local_78 = 0;\n local_38 = 7;\n local_40 = 0;\n local_50 = 0;\n pwVar24 = L\"World\";\n ppIVar23 = local_158;\n ppuVar19 = &local_138;\n psVar10 = FUN_140007700((short *)&local_178,ppuVar19,ppIVar23,L\"World\");\n FUN_140074970(psVar10,ppuVar19,ppIVar23,pwVar24);\n uVar9 = FUN_14000add0(psVar10);\n local_c8 = CONCAT44(local_c8._4_4_,uVar9);\n Ordinal_9(&local_178);\n pwVar24 = L\"Code\";\n ppIVar23 = local_158;\n ppuVar19 = &local_138;\n psVar10 = FUN_140007700((short *)&local_178,ppuVar19,ppIVar23,L\"Code\");\n FUN_140074970(psVar10,ppuVar19,ppIVar23,pwVar24);\n uVar9 = FUN_14000add0(psVar10);\n local_c8 = CONCAT44(uVar9,(undefined4)local_c8);\n Ordinal_9(&local_178);\n pwVar24 = L\"AgentCode\";\n ppIVar23 = local_158;\n ppuVar19 = &local_138;\n psVar10 = FUN_140007700((short *)&local_178,ppuVar19,ppIVar23,L\"AgentCode\");\n FUN_140074970(psVar10,ppuVar19,ppIVar23,pwVar24);\n local_c0 = FUN_14000add0(psVar10);\n Ordinal_9(&local_178);\n pwVar24 = L\"Type\";\n ppIVar23 = local_158;\n ppuVar19 = &local_138;\n psVar10 = FUN_140007700((short *)&local_178,ppuVar19,ppIVar23,L\"Type\");\n FUN_140074970(psVar10,ppuVar19,ppIVar23,pwVar24);\n local_bc = FUN_14000acb0(psVar10);\n Ordinal_9(&local_178);\n pwVar24 = L\"PrivatePort\";\n ppIVar23 = local_158;\n ppuVar19 = &local_138;\n psVar10 = FUN_140007700((short *)&local_178,ppuVar19,ppIVar23,L\"PrivatePort\");\n FUN_140074970(psVar10,ppuVar19,ppIVar23,pwVar24);\n uVar9 = FUN_14000add0(psVar10);\n local_b8 = CONCAT44(local_b8._4_4_,uVar9);\n Ordinal_9(&local_178);\n pwVar24 = L\"PublicPort\";\n ppIVar23 = local_158;\n ppuVar19 = &local_138;\n psVar10 = FUN_140007700((short *)&local_178,ppuVar19,ppIVar23,L\"PublicPort\");\n FUN_140074970(psVar10,ppuVar19,ppIVar23,pwVar24);\n uVar9 = FUN_14000add0(psVar10);\n local_b8 = CONCAT44(uVar9,(undefined4)local_b8);\n Ordinal_9(&local_178);\n pwVar24 = L\"UdpPort\";\n ppIVar23 = local_158;\n ppuVar19 = &local_138;\n psVar10 = FUN_140007700((short *)&local_178,ppuVar19,ppIVar23,L\"UdpPort\");\n FUN_140074970(psVar10,ppuVar19,ppIVar23,pwVar24);\n uVar9 = FUN_14000add0(psVar10);\n local_b0 = CONCAT44(local_b0._4_4_,uVar9);\n Ordinal_9(&local_178);\n pwVar24 = L\"UdpCount\";\n ppIVar23 = local_158;\n ppuVar19 = &local_138;\n psVar10 = FUN_140007700((short *)&local_178,ppuVar19,ppIVar23,L\"UdpCount\");\n FUN_140074970(psVar10,ppuVar19,ppIVar23,pwVar24);\n uVar9 = FUN_14000add0(psVar10);\n local_b0 = CONCAT44(uVar9,(undefined4)local_b0);\n Ordinal_9(&local_178);\n pwVar24 = L\"SessionCount\";\n ppIVar23 = local_158;\n ppuVar19 = &local_138;\n psVar10 = FUN_140007700((short *)&local_178,ppuVar19,ppIVar23,L\"SessionCount\");\n FUN_140074970(psVar10,ppuVar19,ppIVar23,pwVar24);\n local_a8 = FUN_14000acb0(psVar10);\n Ordinal_9(&local_178);\n pwVar24 = L\"PrivateAddress\";\n ppIVar23 = local_158;\n psVar10 = FUN_140007700(local_f8,&local_138,ppIVar23,L\"PrivateAddress\");\n ppiVar20 = &local_108;\n FUN_14000ab30(psVar10,(longlong *)ppiVar20,ppIVar23,pwVar24);\n FUN_14003e7c0(psVar10,ppiVar20,ppIVar23,pwVar24);\n piVar22 = (int *)PTR_DAT_14016f010;\n if (PTR_DAT_14016f010 == (undefined *)0x0) {\n piVar22 = (int *)0x0;\n }\n local_118 = piVar22;\n if (local_108 != (int *)PTR_DAT_14016f010) {\n puVar21 = PTR_DAT_14016f010;\n piVar12 = (int *)FUN_14003e7c0(psVar10,PTR_DAT_14016f010,ppIVar23,pwVar24);\n piVar17 = piVar12;\n local_118 = piVar12;\n FUN_14003d040(piVar12);\n local_110 = 1;\n if (((piVar22 != (int *)0x0) && (piVar22 != (int *)PTR_DAT_14016f010)) &&\n (piVar22 + -2 != (int *)0x0)) {\n puVar13 = (ulonglong *)FUN_14003e7c0(piVar17,puVar21,ppIVar23,pwVar24);\n local_178 = puVar13;\n FUN_14003d040((int *)puVar13);\n local_170 = CONCAT31(local_170._1_3_,1);\n piVar17 = piVar22 + -1;\n *piVar17 = *piVar17 + -1;\n if (*piVar17 == 0) {\n FUN_14003e8b0(piVar22 + -2);\n }\n FUN_14003d0d0((longlong)puVar13);\n }\n local_118 = local_108;\n if (((local_108 != (int *)PTR_DAT_14016f010) && (local_108 != (int *)0x0)) &&\n (local_108 != (int *)0x8)) {\n local_108[-1] = local_108[-1] + 1;\n }\n FUN_14003d0d0((longlong)piVar12);\n piVar22 = local_108;\n }\n piVar17 = piVar22;\n if (piVar22 == (int *)0x0) {\n piVar17 = (int *)PTR_DAT_14016f010;\n }\n uVar11 = 0xffffffffffffffff;\n piVar12 = piVar17;\n do {\n if (uVar11 == 0) break;\n uVar11 = uVar11 - 1;\n iVar7 = *piVar12;\n piVar12 = (int *)((longlong)piVar12 + 2);\n } while ((short)iVar7 != 0);\n uVar11 = ~uVar11 - 1;\n puVar13 = (ulonglong *)&local_a0;\n piVar12 = piVar17;\n FUN_140001710(puVar13,piVar17,uVar11);\n if (((piVar22 != (int *)0x0) && (piVar22 != (int *)PTR_DAT_14016f010)) &&\n (piVar22 + -2 != (int *)0x0)) {\n puVar13 = (ulonglong *)FUN_14003e7c0(puVar13,piVar17,uVar11,piVar12);\n local_178 = puVar13;\n FUN_14003d040((int *)puVar13);\n local_170 = CONCAT31(local_170._1_3_,1);\n piVar15 = piVar22 + -1;\n *piVar15 = *piVar15 + -1;\n if (*piVar15 == 0) {\n FUN_14003e8b0(piVar22 + -2);\n }\n FUN_14003d0d0((longlong)puVar13);\n }\n if (((local_108 != (int *)0x0) && (local_108 != (int *)PTR_DAT_14016f010)) &&\n (local_108 + -2 != (int *)0x0)) {\n puVar13 = (ulonglong *)FUN_14003e7c0(puVar13,piVar17,uVar11,piVar12);\n local_178 = puVar13;\n FUN_14003d040((int *)puVar13);\n local_170 = CONCAT31(local_170._1_3_,1);\n piVar22 = local_108 + -1;\n *piVar22 = *piVar22 + -1;\n if (*piVar22 == 0) {\n FUN_14003e8b0(local_108 + -2);\n }\n FUN_14003d0d0((longlong)puVar13);\n }\n Ordinal_9(local_f8);\n pwVar24 = L\"PublicAddress\";\n ppIVar23 = local_158;\n psVar10 = FUN_140007700(local_f8,&local_138,ppIVar23,L\"PublicAddress\");\n ppiVar20 = &local_118;\n FUN_14000ab30(psVar10,(longlong *)ppiVar20,ppIVar23,pwVar24);\n FUN_14003e7c0(psVar10,ppiVar20,ppIVar23,pwVar24);\n piVar22 = local_118;\n piVar17 = (int *)PTR_DAT_14016f010;\n if (PTR_DAT_14016f010 == (undefined *)0x0) {\n piVar17 = (int *)0x0;\n }\n local_108 = piVar17;\n if (local_118 != (int *)PTR_DAT_14016f010) {\n puVar21 = PTR_DAT_14016f010;\n puVar14 = (ulonglong *)FUN_14003e7c0(psVar10,PTR_DAT_14016f010,ppIVar23,pwVar24);\n puVar13 = puVar14;\n local_178 = puVar14;\n FUN_14003d040((int *)puVar14);\n local_170 = CONCAT31(local_170._1_3_,1);\n if (((piVar17 != (int *)0x0) && (piVar17 != (int *)PTR_DAT_14016f010)) &&\n (piVar17 + -2 != (int *)0x0)) {\n piVar15 = (int *)FUN_14003e7c0(puVar13,puVar21,ppIVar23,pwVar24);\n local_108 = piVar15;\n FUN_14003d040(piVar15);\n local_100 = 1;\n piVar12 = piVar17 + -1;\n *piVar12 = *piVar12 + -1;\n if (*piVar12 == 0) {\n FUN_14003e8b0(piVar17 + -2);\n }\n FUN_14003d0d0((longlong)piVar15);\n }\n local_108 = piVar22;\n if (((piVar22 != (int *)PTR_DAT_14016f010) && (piVar22 != (int *)0x0)) &&\n (piVar22 != (int *)0x8)) {\n piVar22[-1] = piVar22[-1] + 1;\n }\n FUN_14003d0d0((longlong)puVar14);\n piVar17 = piVar22;\n }\n piVar12 = piVar17;\n if (piVar17 == (int *)0x0) {\n piVar12 = (int *)PTR_DAT_14016f010;\n }\n uVar11 = 0xffffffffffffffff;\n piVar15 = piVar12;\n do {\n if (uVar11 == 0) break;\n uVar11 = uVar11 - 1;\n iVar7 = *piVar15;\n piVar15 = (int *)((longlong)piVar15 + 2);\n } while ((short)iVar7 != 0);\n uVar11 = ~uVar11 - 1;\n puVar13 = (ulonglong *)&local_78;\n piVar15 = piVar12;\n FUN_140001710(puVar13,piVar12,uVar11);\n if (((piVar17 != (int *)0x0) && (piVar17 != (int *)PTR_DAT_14016f010)) &&\n (piVar17 + -2 != (int *)0x0)) {\n puVar13 = (ulonglong *)FUN_14003e7c0(puVar13,piVar12,uVar11,piVar15);\n local_178 = puVar13;\n FUN_14003d040((int *)puVar13);\n local_170 = CONCAT31(local_170._1_3_,1);\n piVar1 = piVar17 + -1;\n *piVar1 = *piVar1 + -1;\n if (*piVar1 == 0) {\n FUN_14003e8b0(piVar17 + -2);\n }\n FUN_14003d0d0((longlong)puVar13);\n }\n if (((piVar22 != (int *)0x0) && (piVar22 != (int *)PTR_DAT_14016f010)) &&\n (piVar22 + -2 != (int *)0x0)) {\n puVar13 = (ulonglong *)FUN_14003e7c0(puVar13,piVar12,uVar11,piVar15);\n local_178 = puVar13;\n FUN_14003d040((int *)puVar13);\n local_170 = CONCAT31(local_170._1_3_,1);\n piVar17 = piVar22 + -1;\n *piVar17 = *piVar17 + -1;\n if (*piVar17 == 0) {\n FUN_14003e8b0(piVar22 + -2);\n }\n FUN_14003d0d0((longlong)puVar13);\n }\n Ordinal_9(local_f8);\n FUN_140033c30((ulonglong *)&local_50,local_bc,local_c8._4_4_);\n if (*(int *)(DAT_14017cf28 + 0x154) == local_c8._4_4_) {\n FUN_14002fe40(DAT_14017cf28,(undefined4 *)&local_c8);\n }\n if (7 < local_38) {\n operator_delete((void *)CONCAT62(uStack_4e,local_50));\n }\n local_38 = 7;\n local_40 = 0;\n local_50 = 0;\n if (7 < local_60) {\n operator_delete((void *)CONCAT62(uStack_76,local_78));\n }\n local_60 = 7;\n local_68 = 0;\n local_78 = 0;\n if (7 < local_88) {\n operator_delete((void *)CONCAT62(uStack_9e,local_a0));\n }\n puVar5 = local_130;\n puVar4 = local_138;\n local_88 = 7;\n local_90 = 0;\n local_a0 = 0;\n puVar2 = local_138;\n if (local_138 != (undefined8 *)0x0) {\n for (; puVar2 != puVar5; puVar2 = puVar2 + 5) {\n if (7 < (ulonglong)puVar2[3]) {\n operator_delete((void *)*puVar2);\n }\n puVar2[3] = 7;\n puVar2[2] = 0;\n *(undefined2 *)puVar2 = 0;\n }\n operator_delete(puVar4);\n }\n uVar16 = FUN_140072b00(local_158);\n if (local_158[0] != (IUnknown *)0x0) {\n UVar8 = (*local_158[0]->lpVtbl->Release)(local_158[0]);\n uVar16 = CONCAT44(extraout_var_01,UVar8);\n }\n if (local_148[0] != (longlong *)0x0) {\n uVar16 = (**(code **)(*local_148[0] + 0x10))();\n }\n return CONCAT71((int7)((ulonglong)uVar16 >> 8),1);\n }\n wprintf(L\"Failed Recordset!! : %s \\n\",L\"dbo.up_read_agentmanager\");\n uVar11 = FUN_140072b00(local_158);\n if (local_158[0] != (IUnknown *)0x0) {\n UVar8 = (*local_158[0]->lpVtbl->Release)(local_158[0]);\n uVar11 = CONCAT44(extraout_var_00,UVar8);\n }\n }\n if (local_148[0] != (longlong *)0x0) {\n uVar11 = (**(code **)(*local_148[0] + 0x10))();\n }\n return uVar11 & 0xffffffffffffff00;\n}\n\n","status":"ok"},{"address":"0x140002790","procedure":{"address":"0x140002790","name":"FUN_140002790","status":"resolved"},"pseudocode":"\n/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */\n/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nundefined8 FUN_140002790(longlong param_1,undefined8 param_2,undefined8 param_3,longlong **param_4)\n\n{\n double dVar1;\n char cVar2;\n undefined4 *puVar3;\n undefined1 auVar4 [16];\n bool bVar5;\n longlong *plVar6;\n BOOL BVar7;\n DWORD DVar8;\n undefined8 *puVar9;\n undefined8 *puVar10;\n longlong *plVar11;\n longlong lVar12;\n wchar_t *pwVar13;\n LPCSTR pCVar14;\n short *psVar15;\n longlong *plVar16;\n longlong *plVar17;\n undefined8 uVar18;\n undefined *puVar19;\n void **ppvVar20;\n undefined8 *puVar21;\n undefined8 *puVar22;\n undefined8 *puVar23;\n longlong lVar24;\n undefined4 uVar25;\n undefined4 uVar26;\n undefined4 uVar27;\n undefined4 uVar28;\n undefined4 uVar29;\n undefined4 uVar30;\n undefined1 auStack_4d8 [32];\n longlong *local_4b8;\n longlong *local_4b0;\n undefined8 *local_4a8;\n longlong *local_4a0;\n undefined8 *local_498;\n undefined8 *local_490;\n undefined8 *local_488;\n undefined4 local_480 [2];\n undefined8 *local_478;\n undefined8 *local_470;\n undefined8 *local_468;\n LARGE_INTEGER local_460;\n undefined8 local_458;\n undefined2 local_448;\n undefined1 local_446 [158];\n undefined1 local_3a8 [160];\n undefined4 local_308;\n uint uStack_304;\n undefined2 local_300;\n undefined6 uStack_2fe;\n undefined8 local_2f0;\n ulonglong local_2e8;\n WCHAR local_2d8;\n undefined6 uStack_2d6;\n undefined8 local_2c8;\n ulonglong local_2c0;\n short *local_2a8;\n short local_2a0 [132];\n short *local_198;\n short local_190 [132];\n ulonglong local_88;\n \n local_458 = 0xfffffffffffffffe;\n local_88 = DAT_14016f5a0 ^ (ulonglong)auStack_4d8;\n pwVar13 = L\"\\t # PREPARE # \\n\";\n FUN_1400ef250(DAT_14017c8a8,L\"\\t # PREPARE # \\n\",param_3,param_4);\n CoInitialize((LPVOID)0x0);\n local_460 = (LARGE_INTEGER)operator_new(0xd8);\n puVar22 = (undefined8 *)0x0;\n puVar9 = puVar22;\n if ((undefined8 *)local_460.QuadPart != (undefined8 *)0x0) {\n puVar9 = FUN_140005280((undefined8 *)local_460,pwVar13,param_3,param_4);\n }\n if (puVar9 == (undefined8 *)0x0) {\n local_4b8 = (longlong *)0x0;\n }\n else {\n local_4b8 = (longlong *)FUN_14003e840(0x10);\n local_4b8[1] = 1;\n *local_4b8 = (longlong)puVar9;\n }\n plVar16 = local_4b8;\n local_498 = operator_new(0x118);\n puVar9 = puVar22;\n if (local_498 != (undefined8 *)0x0) {\n puVar9 = FUN_1400060f0(local_498,pwVar13,param_3,param_4);\n }\n if (puVar9 == (undefined8 *)0x0) {\n local_4b0 = (longlong *)0x0;\n }\n else {\n local_4b0 = (longlong *)FUN_14003e840(0x10);\n local_4b0[1] = 1;\n *local_4b0 = (longlong)puVar9;\n }\n plVar17 = local_4b0;\n local_498 = operator_new(0xa0);\n puVar9 = puVar22;\n if (local_498 != (undefined8 *)0x0) {\n puVar9 = FUN_140007010(local_498,pwVar13,param_3,param_4);\n }\n if (puVar9 == (undefined8 *)0x0) {\n local_4a8 = (undefined8 *)0x0;\n }\n else {\n local_4a8 = (undefined8 *)FUN_14003e840(0x10);\n local_4a8[1] = 1;\n *local_4a8 = puVar9;\n }\n puVar9 = local_4a8;\n local_468 = local_4a8;\n puVar10 = operator_new(0x50);\n puVar21 = puVar22;\n local_498 = puVar10;\n if (puVar10 != (undefined8 *)0x0) {\n FUN_1400721c0(puVar10);\n FUN_140073a40((void **)(puVar10 + 1));\n puVar10[3] = 0;\n puVar10[4] = 0;\n puVar10[8] = 7;\n puVar10[7] = 0;\n *(undefined2 *)(puVar10 + 5) = 0;\n puVar21 = puVar10;\n }\n if (puVar21 == (undefined8 *)0x0) {\n local_490 = (undefined8 *)0x0;\n }\n else {\n local_490 = (undefined8 *)FUN_14003e840(0x10);\n local_490[1] = 1;\n *local_490 = puVar21;\n }\n puVar21 = local_490;\n local_498 = local_490;\n puVar10 = operator_new(0x50);\n local_488 = puVar10;\n if (puVar10 != (undefined8 *)0x0) {\n FUN_1400721c0(puVar10);\n FUN_140073a40((void **)(puVar10 + 1));\n puVar10[3] = 0;\n puVar10[4] = 0;\n puVar10[8] = 7;\n puVar10[7] = 0;\n *(undefined2 *)(puVar10 + 5) = 0;\n puVar22 = puVar10;\n }\n if (puVar22 == (undefined8 *)0x0) {\n local_488 = (undefined8 *)0x0;\n }\n else {\n local_488 = (undefined8 *)FUN_14003e840(0x10);\n local_488[1] = 1;\n *local_488 = puVar22;\n }\n puVar22 = local_488;\n puVar23 = (undefined8 *)0x0;\n puVar10 = puVar23;\n if (plVar16 != (longlong *)0x0) {\n puVar10 = (undefined8 *)*plVar16;\n }\n *(undefined8 **)(param_1 + 0x49450) = puVar10;\n puVar10 = puVar23;\n if (plVar17 != (longlong *)0x0) {\n puVar10 = (undefined8 *)*plVar17;\n }\n *(undefined8 **)(param_1 + 0x49458) = puVar10;\n puVar10 = puVar23;\n if (puVar9 != (undefined8 *)0x0) {\n puVar10 = (undefined8 *)*puVar9;\n }\n *(undefined8 **)(param_1 + 0x49448) = puVar10;\n puVar10 = puVar23;\n if (puVar21 != (undefined8 *)0x0) {\n puVar10 = (undefined8 *)*puVar21;\n }\n *(undefined8 **)(param_1 + 0x49460) = puVar10;\n puVar10 = puVar23;\n if (local_488 != (undefined8 *)0x0) {\n puVar10 = (undefined8 *)*local_488;\n }\n *(undefined8 **)(param_1 + 0x49468) = puVar10;\n pCVar14 = (LPCSTR)(DAT_14017cf28 + 0x90);\n if (0xf < *(ulonglong *)(DAT_14017cf28 + 0xa8)) {\n pCVar14 = *(LPCSTR *)pCVar14;\n }\n local_2a8 = local_2a0;\n uVar18 = 3;\n FUN_140005110((longlong *)&local_2a8,pCVar14,3);\n FUN_140007430(*(longlong *)(param_1 + 0x49460),local_2a8,uVar18,(short *)param_4);\n if (local_2a8 != local_2a0) {\n free(local_2a8);\n }\n pCVar14 = (LPCSTR)(DAT_14017cf28 + 0x108);\n if (0xf < *(ulonglong *)(DAT_14017cf28 + 0x120)) {\n pCVar14 = *(LPCSTR *)pCVar14;\n }\n local_198 = local_190;\n puVar19 = (undefined *)0x3;\n FUN_140005110((longlong *)&local_198,pCVar14,3);\n psVar15 = local_198;\n FUN_140007430(*(longlong *)(param_1 + 0x49468),local_198,puVar19,(short *)param_4);\n if (local_198 != local_190) {\n free(local_198);\n }\n local_480[0] = 3;\n *(undefined4 *)(param_1 + 0x10) = 3;\n printf(\"STEP : DB_LOAD \\n\");\n lVar24 = *(longlong *)(param_1 + 0x38);\n if ((lVar24 != 0) && (*(char *)(lVar24 + 0x1a) != '\\0')) {\n param_4 = (longlong **)local_480;\n puVar19 = &DAT_14016f5d0;\n psVar15 = (short *)0x1;\n (**(code **)(*(longlong *)(lVar24 + 0x68) + 0xb0))();\n }\n printf(\"AgentManager Auth...\\n\");\n uVar18 = FUN_140007a20(*(longlong *)(param_1 + 0x49460),psVar15,puVar19,param_4);\n if ((char)uVar18 == '\\0') {\n printf(\"AgentManager Auth Failed !!!\\n\");\n Sleep(3000);\n *(undefined1 *)(param_1 + 0x49440) = 0;\n }\n printf(\"Read ServerOption...\\n\");\n uVar18 = FUN_140008410(*(longlong *)(param_1 + 0x49460),psVar15,puVar19,param_4);\n if ((char)uVar18 == '\\0') {\n printf(\"Read ServerOption Failed !!!\\n\");\n Sleep(3000);\n *(undefined1 *)(param_1 + 0x49440) = 0;\n }\n printf(\"Read ServerFile...\\n\");\n uVar18 = FUN_140009240(*(longlong *)(param_1 + 0x49460),psVar15,puVar19,(longlong)param_4);\n if ((char)uVar18 == '\\0') {\n printf(\"Read ServerFile Failed !!!\\n\");\n Sleep(3000);\n *(undefined1 *)(param_1 + 0x49440) = 0;\n }\n printf(\"Read RealTimeEvent...\\n\");\n uVar18 = FUN_140009760(*(longlong *)(param_1 + 0x49460),psVar15,puVar19,param_4);\n if ((char)uVar18 == '\\0') {\n printf(\"Read RealTimeEvent Failed !!!\\n\");\n Sleep(3000);\n *(undefined1 *)(param_1 + 0x49440) = 0;\n }\n *(undefined8 *)(*(longlong *)(param_1 + 0x49460) + 0x18) = *(undefined8 *)(param_1 + 0x49450);\n *(undefined8 *)(*(longlong *)(param_1 + 0x49468) + 0x18) = *(undefined8 *)(param_1 + 0x49450);\n *(undefined8 *)(*(longlong *)(param_1 + 0x49450) + 0x68) = *(undefined8 *)(param_1 + 0x49460);\n *(undefined8 *)(*(longlong *)(param_1 + 0x49450) + 0x70) = *(undefined8 *)(param_1 + 0x49468);\n *(undefined8 *)(*(longlong *)(param_1 + 0x49450) + 0x78) = *(undefined8 *)(param_1 + 0x49458);\n *(undefined8 *)(*(longlong *)(param_1 + 0x49450) + 0x80) = *(undefined8 *)(param_1 + 0x49448);\n *(undefined8 *)(*(longlong *)(param_1 + 0x49458) + 0x68) = *(undefined8 *)(param_1 + 0x49460);\n *(undefined8 *)(*(longlong *)(param_1 + 0x49458) + 0x70) = *(undefined8 *)(param_1 + 0x49468);\n *(undefined8 *)(*(longlong *)(param_1 + 0x49458) + 0x78) = *(undefined8 *)(param_1 + 0x49450);\n *(undefined8 *)(*(longlong *)(param_1 + 0x49458) + 0x80) = *(undefined8 *)(param_1 + 0x49448);\n *(undefined8 *)(*(longlong *)(param_1 + 0x49448) + 0x98) = *(undefined8 *)(param_1 + 0x49450);\n pwVar13 = L\"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\";\n FUN_1400ef250(DAT_14017c8a8,L\"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\",puVar19,param_4);\n local_308 = 0;\n uStack_304 = 0;\n local_2e8 = 7;\n local_2f0 = 0;\n local_300 = 0;\n local_2c0 = 7;\n local_2c8 = 0;\n local_2d8 = L'\\0';\n if (*(longlong *)(DAT_14017cf28 + 0x1c8) != 0) {\n auVar4._8_8_ = 0;\n auVar4._0_8_ = *(ulonglong *)(DAT_14017cf28 + 0x1b0);\n pwVar13 = SUB168((ZEXT816(0) << 0x40 | ZEXT816(0x17)) % auVar4,0);\n local_478 = (undefined8 *)(*(longlong *)(DAT_14017cf28 + 0x1a8) + (longlong)pwVar13 * 8);\n for (local_470 = (undefined8 *)*local_478; local_470 != (undefined8 *)0x0;\n local_470 = (undefined8 *)*local_470) {\n if (*(char *)(local_470 + 1) == '\\x17') {\n if (local_470 != (undefined8 *)0x0) goto LAB_140002dd4;\n break;\n }\n }\n }\n local_478 = (undefined8 *)0x0;\n local_470 = puVar23;\nLAB_140002dd4:\n if ((local_470 != (undefined8 *)0x0) &&\n (puVar3 = (undefined4 *)local_470[2], puVar3 != (undefined4 *)local_470[3])) {\n local_308 = *puVar3;\n uStack_304 = puVar3[1];\n FUN_140001630((longlong *)&local_300,(longlong *)(puVar3 + 2),0,0xffffffffffffffff);\n param_4 = (longlong **)0xffffffffffffffff;\n FUN_140001630((longlong *)&local_2d8,(longlong *)(puVar3 + 0xc),0,0xffffffffffffffff);\n pwVar13 = &local_2d8;\n if (7 < local_2c0) {\n pwVar13 = (LPCWSTR)CONCAT62(uStack_2d6,local_2d8);\n }\n puVar19 = (undefined *)(ulonglong)uStack_304;\n FUN_14003bcb0(*(void **)(param_1 + 0x49448),pwVar13,puVar19,param_4);\n }\n lVar24 = 0;\n lVar12 = lVar24;\n if (plVar16 != (longlong *)0x0) {\n lVar12 = *plVar16;\n }\n FUN_140005460(lVar12,pwVar13,puVar19,(longlong)param_4);\n if (plVar17 != (longlong *)0x0) {\n lVar24 = *plVar17;\n }\n FUN_140006380(lVar24,pwVar13,puVar19,(longlong)param_4);\n FUN_1400ef250(DAT_14017c8a8,L\"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\",puVar19,param_4);\n plVar11 = operator_new(0x18);\n if (plVar11 == (longlong *)0x0) {\n plVar11 = (longlong *)0x0;\n }\n else {\n *plVar11 = (longlong)TimeSourceHRWin32::vftable;\n BVar7 = QueryPerformanceFrequency(&local_460);\n if (BVar7 == 0) {\n *(undefined1 *)(plVar11 + 2) = 0;\n GetLastError();\n }\n else {\n *(undefined1 *)(plVar11 + 2) = 1;\n plVar11[1] = (longlong)(1.0 / (double)local_460.QuadPart);\n }\n }\n local_4a0 = DAT_14017cf18;\n if ((undefined8 *)DAT_14017cf18[2] != (undefined8 *)0x0) {\n (*(code *)**(undefined8 **)DAT_14017cf18[2])();\n }\n local_4a0[2] = (longlong)plVar11;\n if (plVar11 != (longlong *)0x0) {\n lVar24 = (**(code **)(*plVar11 + 8))(plVar11);\n local_4a0[6] = lVar24;\n local_4a0[7] = lVar24;\n }\n local_4a0[0x12] = 0x3ff0000000000000;\n plVar11 = operator_new(0x28);\n local_4a0 = plVar11;\n if (plVar11 != (longlong *)0x0) {\n *plVar11 = (longlong)Magi::Timer::vftable;\n plVar6 = DAT_14017cf18;\n plVar11[1] = (longlong)DAT_14017cf18;\n plVar11[2] = 0;\n plVar11[3] = 0;\n *(undefined1 *)(plVar11 + 4) = 0;\n *(undefined4 *)((longlong)plVar11 + 0x24) = 0x3f800000;\n (**(code **)(*plVar6 + 0x10))();\n }\n *(longlong **)(param_1 + 0x49430) = plVar11;\n local_448 = 0;\n memset(local_446,0,0x9e);\n ppvVar20 = (void **)0xa0;\n memset(local_3a8,0,0xa0);\n uVar26 = 0;\n uVar28 = 0;\n bVar5 = false;\n pwVar13 = L\"\\t # RUN # \\n\";\n FUN_1400ef250(DAT_14017c8a8,L\"\\t # RUN # \\n\",ppvVar20,param_4);\n local_4a0 = (longlong *)CONCAT44(local_4a0._4_4_,5);\n *(undefined4 *)(param_1 + 0x10) = 5;\n if (DAT_14017ce74 != 0) {\n printf(\"********************************\\n\");\n DVar8 = timeGetTime();\n pwVar13 = (wchar_t *)((ulonglong)(DVar8 - DAT_14017ce74) / 1000);\n printf(\"** Server Load Time : %d sec\\n\");\n printf(\"********************************\\n\");\n }\n printf(\"STEP : SERVER_RUN \\n\");\n lVar24 = *(longlong *)(param_1 + 0x38);\n if ((lVar24 != 0) && (*(char *)(lVar24 + 0x1a) != '\\0')) {\n param_4 = &local_4a0;\n ppvVar20 = (void **)&DAT_14016f5d0;\n pwVar13 = (wchar_t *)0x1;\n (**(code **)(*(longlong *)(lVar24 + 0x68) + 0xb0))();\n }\n cVar2 = *(char *)(param_1 + 0x49440);\n uVar29 = uVar26;\n uVar30 = uVar28;\n while (cVar2 != '\\0') {\n FUN_1400ed240((longlong)DAT_14017cf18);\n dVar1 = *(double *)(*(longlong *)(param_1 + 0x49430) + 0x10);\n if (DAT_14017ce84 != '\\0') {\n printf(\"AgentSession->Connect\\n\");\n DAT_14017ce84 = DAT_14017ce84 == '\\0';\n }\n FUN_14003c0a0(*(undefined8 **)(param_1 + 0x49448));\n uVar25 = SUB84(dVar1,0);\n uVar27 = (undefined4)((ulonglong)dVar1 >> 0x20);\n if (1.0 <= dVar1 - (double)CONCAT44(uVar28,uVar26)) {\n if (DAT_14017ce78 != 0) {\n pwVar13 = (wchar_t *)&DAT_14012ea5c;\n if (bVar5) {\n pwVar13 = (wchar_t *)&DAT_14012ea58;\n }\n ppvVar20 = (void **)(ulonglong)DAT_14017ce7c;\n printf(\"[ %s ] FPS[ %d ]\\n\");\n bVar5 = !bVar5;\n }\n _DAT_14017ce80 = DAT_14017ce7c;\n DAT_14017ce7c = 0;\n uVar26 = uVar25;\n uVar28 = uVar27;\n }\n if (0.10000000149011612 <= dVar1 - (double)CONCAT44(uVar30,uVar29)) {\n DAT_14017ce7c = DAT_14017ce7c + 1;\n FUN_140003420(param_1,(ulonglong *******)pwVar13,(undefined *)ppvVar20,(undefined2 *)param_4);\n FUN_1400054f0(*(longlong *)(param_1 + 0x49450),dVar1,ppvVar20,(ulonglong)param_4);\n uVar29 = uVar25;\n uVar30 = uVar27;\n if (*(char *)(*(longlong *)(param_1 + 0x49450) + 0x9c) != '\\0') {\n *(undefined4 *)(param_1 + 0x49444) = 1;\n *(undefined1 *)(*(longlong *)(param_1 + 0x49450) + 0x9c) = 0;\n }\n }\n *(double *)(param_1 + 0x49438) = dVar1;\n if (0 < *(int *)(param_1 + 0x49444)) {\n FUN_140003d00(param_1,pwVar13,ppvVar20,(longlong)param_4);\n }\n Sleep(1);\n puVar9 = local_468;\n puVar21 = local_498;\n cVar2 = *(char *)(param_1 + 0x49440);\n }\n FUN_14003bfd0(*(longlong *)(param_1 + 0x49448),pwVar13,ppvVar20,param_4);\n lVar24 = *(longlong *)(param_1 + 0x49450);\n puVar10 = *(undefined8 **)(lVar24 + 0x28);\n if (puVar10 != (undefined8 *)0x0) {\n (**(code **)*puVar10)(puVar10,1);\n }\n *(undefined8 *)(lVar24 + 0x28) = 0;\n FUN_140006430(*(longlong *)(param_1 + 0x49458));\n CoUninitialize();\n pwVar13 = L\"# SERVER END... #\\n\";\n FUN_1400ef250(DAT_14017c8a8,L\"# SERVER END... #\\n\",ppvVar20,param_4);\n if (7 < local_2c0) {\n operator_delete((void *)CONCAT62(uStack_2d6,local_2d8));\n }\n local_2c0 = 7;\n local_2c8 = 0;\n local_2d8 = L'\\0';\n if (7 < local_2e8) {\n operator_delete((void *)CONCAT62(uStack_2fe,local_300));\n }\n local_2e8 = 7;\n local_2f0 = 0;\n local_300 = 0;\n if (puVar22 != (undefined8 *)0x0) {\n plVar11 = puVar22 + 1;\n *plVar11 = *plVar11 + -1;\n plVar16 = local_4b8;\n puVar9 = local_4a8;\n plVar17 = local_4b0;\n puVar21 = local_490;\n if (*plVar11 == 0) {\n FUN_140004b20(local_488,pwVar13,ppvVar20);\n plVar16 = local_4b8;\n puVar9 = local_4a8;\n plVar17 = local_4b0;\n puVar21 = local_490;\n }\n }\n if (puVar21 != (undefined8 *)0x0) {\n plVar11 = puVar21 + 1;\n *plVar11 = *plVar11 + -1;\n plVar16 = local_4b8;\n puVar9 = local_4a8;\n plVar17 = local_4b0;\n if (*plVar11 == 0) {\n FUN_140004b20(local_490,pwVar13,ppvVar20);\n plVar16 = local_4b8;\n puVar9 = local_4a8;\n plVar17 = local_4b0;\n }\n }\n if (puVar9 != (undefined8 *)0x0) {\n plVar11 = puVar9 + 1;\n *plVar11 = *plVar11 + -1;\n plVar16 = local_4b8;\n plVar17 = local_4b0;\n if (*plVar11 == 0) {\n FUN_140004aa0(local_4a8,pwVar13,ppvVar20,param_4);\n plVar16 = local_4b8;\n plVar17 = local_4b0;\n }\n }\n plVar11 = local_4b0;\n if (plVar17 != (longlong *)0x0) {\n plVar17 = plVar17 + 1;\n *plVar17 = *plVar17 + -1;\n plVar16 = local_4b8;\n if (*plVar17 == 0) {\n puVar9 = (undefined8 *)*local_4b0;\n if (puVar9 != (undefined8 *)0x0) {\n (**(code **)*puVar9)(puVar9,1);\n }\n FUN_14003e8b0(plVar11);\n plVar16 = local_4b8;\n }\n }\n plVar17 = local_4b8;\n if (plVar16 != (longlong *)0x0) {\n plVar16 = plVar16 + 1;\n *plVar16 = *plVar16 + -1;\n if (*plVar16 == 0) {\n puVar9 = (undefined8 *)*local_4b8;\n if (puVar9 != (undefined8 *)0x0) {\n (**(code **)*puVar9)(puVar9,1);\n }\n FUN_14003e8b0(plVar17);\n }\n }\n return 0;\n}\n\n","status":"ok"},{"address":"0x140005460","procedure":{"address":"0x140005460","name":"FUN_140005460","status":"resolved"},"pseudocode":"\nvoid FUN_140005460(longlong param_1,undefined8 param_2,undefined8 param_3,longlong param_4)\n\n{\n longlong *plVar1;\n short *psVar2;\n longlong lVar3;\n \n plVar1 = FUN_140069970(param_1,param_2,param_3,param_4);\n *(longlong **)(param_1 + 0x28) = plVar1;\n lVar3 = *plVar1;\n (**(code **)(lVar3 + 0x10))(plVar1,param_1 + 8);\n (**(code **)(**(longlong **)(param_1 + 0x28) + 8))(*(longlong **)(param_1 + 0x28),param_1 + 0x48);\n (**(code **)(**(longlong **)(param_1 + 0x28) + 0x130))(*(longlong **)(param_1 + 0x28),param_1);\n psVar2 = (short *)(DAT_14017cf28 + 0x30);\n if (7 < *(ulonglong *)(DAT_14017cf28 + 0x48)) {\n psVar2 = *(short **)psVar2;\n }\n FUN_140005dd0((longlong *)(param_1 + 0x30),psVar2,lVar3,param_4);\n *(undefined4 *)(param_1 + 0x38) = *(undefined4 *)(DAT_14017cf28 + 0x80);\n FUN_140037750((undefined8 *)(param_1 + 0x28),psVar2,lVar3,param_4);\n return;\n}\n\n","status":"ok"},{"address":"0x140006380","procedure":{"address":"0x140006380","name":"FUN_140006380","status":"resolved"},"pseudocode":"\nvoid FUN_140006380(longlong param_1,undefined8 param_2,undefined8 param_3,longlong param_4)\n\n{\n uint uVar1;\n longlong *plVar2;\n short *psVar3;\n longlong lVar4;\n \n plVar2 = FUN_140069970(param_1,param_2,param_3,param_4);\n *(longlong **)(param_1 + 0x28) = plVar2;\n lVar4 = *plVar2;\n (**(code **)(lVar4 + 0x10))(plVar2,param_1 + 8);\n (**(code **)(**(longlong **)(param_1 + 0x28) + 8))(*(longlong **)(param_1 + 0x28),param_1 + 0x48);\n (**(code **)(**(longlong **)(param_1 + 0x28) + 0x130))(*(longlong **)(param_1 + 0x28),param_1);\n psVar3 = (short *)(DAT_14017cf28 + 0x58);\n if (7 < *(ulonglong *)(DAT_14017cf28 + 0x70)) {\n psVar3 = *(short **)psVar3;\n }\n FUN_140005dd0((longlong *)(param_1 + 0x30),psVar3,lVar4,param_4);\n uVar1 = *(uint *)(DAT_14017cf28 + 0x84);\n *(uint *)(param_1 + 0x38) = uVar1;\n FUN_140037750((undefined8 *)(param_1 + 0x28),(ulonglong)uVar1,lVar4,param_4);\n FUN_1400ef250(DAT_14017c8a8,L\"MONITOR NETWORK INIT : ADDRESS[%s] PORT[%u]\",\n *(undefined8 *)(param_1 + 0x30),(ulonglong)*(uint *)(param_1 + 0x38));\n return;\n}\n\n","status":"ok"},{"address":"0x140003d00","procedure":{"address":"0x140003d00","name":"FUN_140003d00","status":"resolved"},"pseudocode":"\n/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */\n\nvoid FUN_140003d00(longlong param_1,undefined8 param_2,undefined8 param_3,longlong param_4)\n\n{\n ulonglong *puVar1;\n ulonglong *puVar2;\n bool bVar3;\n undefined1 auStack_178 [32];\n ulonglong *local_158;\n ulonglong *local_150;\n undefined8 local_148;\n undefined8 local_138;\n undefined4 local_128;\n uint local_124;\n undefined2 local_100;\n undefined6 uStack_fe;\n undefined8 local_f0;\n ulonglong local_e8;\n undefined2 local_d8;\n undefined6 uStack_d6;\n undefined8 local_c8;\n ulonglong local_c0;\n undefined2 local_b0;\n undefined6 uStack_ae;\n undefined8 local_a0;\n ulonglong local_98;\n int local_64;\n void *local_50;\n undefined8 local_48;\n undefined8 local_40;\n ulonglong local_28;\n \n local_138 = 0xfffffffffffffffe;\n local_28 = DAT_14016f5a0 ^ (ulonglong)auStack_178;\n if (*(longlong *)(param_1 + 0x49450) == 0) {\n return;\n }\n local_158 = (ulonglong *)0x0;\n local_150 = (ulonglong *)0x0;\n local_148 = 0;\n switch(*(undefined4 *)(param_1 + 0x49444)) {\n case 1:\n FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\\f');\n FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\\x11');\n FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\\x12');\n FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\\x13');\n puVar1 = local_150;\n for (puVar2 = local_158; puVar2 != puVar1; puVar2 = puVar2 + 0x1f) {\n FUN_140003c50(&local_128,(undefined4 *)puVar2);\n if (local_64 == 0) {\n FUN_14000cb70(*(longlong *)(param_1 + 0x49450),0,(ulonglong)local_124,param_4);\n }\n if (local_50 != (void *)0x0) {\n operator_delete(local_50);\n }\n local_40 = 0;\n local_48 = 0;\n local_50 = (void *)0x0;\n if (7 < local_98) {\n operator_delete((void *)CONCAT62(uStack_ae,local_b0));\n }\n local_b0 = 0;\n local_a0 = 0;\n local_98 = 7;\n if (7 < local_c0) {\n operator_delete((void *)CONCAT62(uStack_d6,local_d8));\n }\n local_d8 = 0;\n local_c8 = 0;\n local_c0 = 7;\n if (7 < local_e8) {\n operator_delete((void *)CONCAT62(uStack_fe,local_100));\n }\n }\n break;\n case 2:\n FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\\f');\n FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\\x11');\n FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\\x12');\n FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\\x13');\n puVar1 = local_150;\n for (puVar2 = local_158; puVar2 != puVar1; puVar2 = puVar2 + 0x1f) {\n FUN_140003c50(&local_128,(undefined4 *)puVar2);\n if (local_64 != 3) {\n if (local_50 != (void *)0x0) {\n operator_delete(local_50);\n }\n local_50 = (void *)0x0;\n local_48 = 0;\n local_40 = 0;\n if (7 < local_98) {\n operator_delete((void *)CONCAT62(uStack_ae,local_b0));\n }\n local_98 = 7;\n local_a0 = 0;\n local_b0 = 0;\n if (7 < local_c0) {\n operator_delete((void *)CONCAT62(uStack_d6,local_d8));\n }\n local_c0 = 7;\n local_c8 = 0;\n local_d8 = 0;\n if (7 < local_e8) {\n operator_delete((void *)CONCAT62(uStack_fe,local_100));\n }\n local_e8 = 7;\n local_f0 = 0;\n local_100 = 0;\n if (local_158 == (ulonglong *)0x0) {\n return;\n }\n goto LAB_14000490b;\n }\n if (local_50 != (void *)0x0) {\n operator_delete(local_50);\n }\n local_50 = (void *)0x0;\n local_48 = 0;\n local_40 = 0;\n if (7 < local_98) {\n operator_delete((void *)CONCAT62(uStack_ae,local_b0));\n }\n local_98 = 7;\n local_a0 = 0;\n local_b0 = 0;\n if (7 < local_c0) {\n operator_delete((void *)CONCAT62(uStack_d6,local_d8));\n }\n local_c0 = 7;\n local_c8 = 0;\n local_d8 = 0;\n if (7 < local_e8) {\n operator_delete((void *)CONCAT62(uStack_fe,local_100));\n }\n }\n break;\n case 3:\n FUN_14000bd40(*(longlong *)(param_1 + 0x49468),&IMAGE_DOS_HEADER_140000000,param_3,param_4);\n *(int *)(param_1 + 0x49444) = *(int *)(param_1 + 0x49444) + 1;\n goto switchD_140003d7b_caseD_5;\n case 4:\n FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\\f');\n puVar1 = local_150;\n for (puVar2 = local_158; puVar2 != puVar1; puVar2 = puVar2 + 0x1f) {\n FUN_140003c50(&local_128,(undefined4 *)puVar2);\n FUN_14000cb70(*(longlong *)(param_1 + 0x49450),0xd,(ulonglong)local_124,param_4);\n if (local_50 != (void *)0x0) {\n operator_delete(local_50);\n }\n local_50 = (void *)0x0;\n local_48 = 0;\n local_40 = 0;\n if (7 < local_98) {\n operator_delete((void *)CONCAT62(uStack_ae,local_b0));\n }\n local_98 = 7;\n local_a0 = 0;\n local_b0 = 0;\n if (7 < local_c0) {\n operator_delete((void *)CONCAT62(uStack_d6,local_d8));\n }\n local_c0 = 7;\n local_c8 = 0;\n local_d8 = 0;\n if (7 < local_e8) {\n operator_delete((void *)CONCAT62(uStack_fe,local_100));\n }\n }\n break;\n default:\n goto switchD_140003d7b_caseD_5;\n case 6:\n FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\\b');\n FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\\x06');\n FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\\t');\n FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\\n');\n FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\\v');\n puVar1 = local_150;\n for (puVar2 = local_158; puVar2 != puVar1; puVar2 = puVar2 + 0x1f) {\n FUN_140003c50(&local_128,(undefined4 *)puVar2);\n if (local_64 == 0) {\n FUN_14000cb70(*(longlong *)(param_1 + 0x49450),0,(ulonglong)local_124,param_4);\n if (local_50 != (void *)0x0) {\n std::_Container_base0::_Orphan_all((_Container_base0 *)&local_50);\n goto LAB_1400041ea;\n }\n }\n else if (local_50 != (void *)0x0) {\nLAB_1400041ea:\n operator_delete(local_50);\n }\n local_40 = 0;\n local_48 = 0;\n local_50 = (void *)0x0;\n if (7 < local_98) {\n operator_delete((void *)CONCAT62(uStack_ae,local_b0));\n }\n local_b0 = 0;\n local_a0 = 0;\n local_98 = 7;\n if (7 < local_c0) {\n operator_delete((void *)CONCAT62(uStack_d6,local_d8));\n }\n local_d8 = 0;\n local_c8 = 0;\n local_c0 = 7;\n if (7 < local_e8) {\n operator_delete((void *)CONCAT62(uStack_fe,local_100));\n }\n }\n break;\n case 7:\n FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\\b');\n FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\\x06');\n FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\\t');\n FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\\n');\n FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\\v');\n puVar1 = local_150;\n for (puVar2 = local_158; puVar2 != puVar1; puVar2 = puVar2 + 0x1f) {\n FUN_140003c50(&local_128,(undefined4 *)puVar2);\n if (local_64 != 3) {\n if (local_50 != (void *)0x0) {\n std::_Container_base0::_Orphan_all((_Container_base0 *)&local_50);\n operator_delete(local_50);\n }\n local_50 = (void *)0x0;\n local_48 = 0;\n local_40 = 0;\n if (7 < local_98) {\n operator_delete((void *)CONCAT62(uStack_ae,local_b0));\n }\n local_98 = 7;\n local_a0 = 0;\n local_b0 = 0;\n if (7 < local_c0) {\n operator_delete((void *)CONCAT62(uStack_d6,local_d8));\n }\n local_c0 = 7;\n local_c8 = 0;\n local_d8 = 0;\n if (7 < local_e8) {\n operator_delete((void *)CONCAT62(uStack_fe,local_100));\n }\n local_e8 = 7;\n local_f0 = 0;\n local_100 = 0;\n bVar3 = local_158 == (ulonglong *)0x0;\n goto LAB_1400048f9;\n }\n if (local_50 != (void *)0x0) {\n std::_Container_base0::_Orphan_all((_Container_base0 *)&local_50);\n operator_delete(local_50);\n }\n local_50 = (void *)0x0;\n local_48 = 0;\n local_40 = 0;\n if (7 < local_98) {\n operator_delete((void *)CONCAT62(uStack_ae,local_b0));\n }\n local_98 = 7;\n local_a0 = 0;\n local_b0 = 0;\n if (7 < local_c0) {\n operator_delete((void *)CONCAT62(uStack_d6,local_d8));\n }\n local_c0 = 7;\n local_c8 = 0;\n local_d8 = 0;\n if (7 < local_e8) {\n operator_delete((void *)CONCAT62(uStack_fe,local_100));\n }\n }\n break;\n case 8:\n FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\\a');\n FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\\x05');\n puVar1 = local_150;\n for (puVar2 = local_158; puVar2 != puVar1; puVar2 = puVar2 + 0x1f) {\n FUN_140003c50(&local_128,(undefined4 *)puVar2);\n if (local_64 == 0) {\n FUN_14000cb70(*(longlong *)(param_1 + 0x49450),0,(ulonglong)local_124,param_4);\n if (local_50 != (void *)0x0) {\n std::_Container_base0::_Orphan_all((_Container_base0 *)&local_50);\n operator_delete(local_50);\n }\n local_50 = (void *)0x0;\n local_48 = 0;\n local_40 = 0;\n FUN_140004e90((longlong)&local_128);\n }\n else {\n if (local_50 != (void *)0x0) {\n std::_Container_base0::_Orphan_all((_Container_base0 *)&local_50);\n operator_delete(local_50);\n }\n local_50 = (void *)0x0;\n local_48 = 0;\n local_40 = 0;\n if (7 < local_98) {\n operator_delete((void *)CONCAT62(uStack_ae,local_b0));\n }\n local_98 = 7;\n local_a0 = 0;\n local_b0 = 0;\n if (7 < local_c0) {\n operator_delete((void *)CONCAT62(uStack_d6,local_d8));\n }\n local_c0 = 7;\n local_c8 = 0;\n local_d8 = 0;\n if (7 < local_e8) {\n operator_delete((void *)CONCAT62(uStack_fe,local_100));\n }\n }\n }\n break;\n case 9:\n FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\\a');\n FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\\x05');\n puVar1 = local_150;\n for (puVar2 = local_158; puVar2 != puVar1; puVar2 = puVar2 + 0x1f) {\n FUN_140003c50(&local_128,(undefined4 *)puVar2);\n if (local_64 != 3) {\n if (local_50 != (void *)0x0) {\n std::_Container_base0::_Orphan_all((_Container_base0 *)&local_50);\n operator_delete(local_50);\n }\n local_50 = (void *)0x0;\n local_48 = 0;\n local_40 = 0;\n FUN_140004e90((longlong)&local_128);\n bVar3 = local_158 == (ulonglong *)0x0;\n goto LAB_1400048f9;\n }\n if (local_50 != (void *)0x0) {\n std::_Container_base0::_Orphan_all((_Container_base0 *)&local_50);\n operator_delete(local_50);\n }\n local_50 = (void *)0x0;\n local_48 = 0;\n local_40 = 0;\n FUN_140004e90((longlong)&local_128);\n }\n break;\n case 10:\n FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\\x01');\n puVar1 = local_150;\n for (puVar2 = local_158; puVar2 != puVar1; puVar2 = puVar2 + 0x1f) {\n FUN_140003c50(&local_128,(undefined4 *)puVar2);\n if (local_64 == 0) {\n FUN_14000cb70(*(longlong *)(param_1 + 0x49450),0,(ulonglong)local_124,param_4);\n }\n if (local_50 != (void *)0x0) {\n std::_Container_base0::_Orphan_all((_Container_base0 *)&local_50);\n operator_delete(local_50);\n }\n local_50 = (void *)0x0;\n local_48 = 0;\n local_40 = 0;\n FUN_140004e90((longlong)&local_128);\n }\n break;\n case 0xb:\n FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\\x01');\n puVar1 = local_150;\n for (puVar2 = local_158; puVar2 != puVar1; puVar2 = puVar2 + 0x1f) {\n FUN_140003c50(&local_128,(undefined4 *)puVar2);\n if (local_64 != 3) {\n if (local_50 != (void *)0x0) {\n std::_Container_base0::_Orphan_all((_Container_base0 *)&local_50);\n operator_delete(local_50);\n }\n local_50 = (void *)0x0;\n local_48 = 0;\n local_40 = 0;\n FUN_140004e90((longlong)&local_128);\n bVar3 = local_158 == (ulonglong *)0x0;\n goto LAB_1400048f9;\n }\n if (local_50 != (void *)0x0) {\n std::_Container_base0::_Orphan_all((_Container_base0 *)&local_50);\n operator_delete(local_50);\n }\n local_50 = (void *)0x0;\n local_48 = 0;\n local_40 = 0;\n FUN_140004e90((longlong)&local_128);\n }\n break;\n case 0xc:\n FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\\x02');\n FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\\x03');\n puVar1 = local_150;\n for (puVar2 = local_158; puVar2 != puVar1; puVar2 = puVar2 + 0x1f) {\n FUN_140003c50(&local_128,(undefined4 *)puVar2);\n if (local_64 == 0) {\n FUN_14000cb70(*(longlong *)(param_1 + 0x49450),0,(ulonglong)local_124,param_4);\n }\n if (local_50 != (void *)0x0) {\n std::_Container_base0::_Orphan_all((_Container_base0 *)&local_50);\n operator_delete(local_50);\n }\n local_50 = (void *)0x0;\n local_48 = 0;\n local_40 = 0;\n FUN_140004e90((longlong)&local_128);\n }\n break;\n case 0xd:\n FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\\x02');\n FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\\x03');\n puVar1 = local_150;\n for (puVar2 = local_158; puVar2 != puVar1; puVar2 = puVar2 + 0x1f) {\n FUN_140003c50(&local_128,(undefined4 *)puVar2);\n if (local_64 != 3) {\n if (local_50 != (void *)0x0) {\n std::_Container_base0::_Orphan_all((_Container_base0 *)&local_50);\n operator_delete(local_50);\n }\n local_50 = (void *)0x0;\n local_48 = 0;\n local_40 = 0;\n FUN_140004e90((longlong)&local_128);\n bVar3 = local_158 == (ulonglong *)0x0;\n goto LAB_1400048f9;\n }\n if (local_50 != (void *)0x0) {\n std::_Container_base0::_Orphan_all((_Container_base0 *)&local_50);\n operator_delete(local_50);\n }\n local_50 = (void *)0x0;\n local_48 = 0;\n local_40 = 0;\n FUN_140004e90((longlong)&local_128);\n }\n break;\n case 0xe:\n *(undefined4 *)(param_1 + 0x49444) = 0;\n goto switchD_140003d7b_caseD_5;\n }\n *(int *)(param_1 + 0x49444) = *(int *)(param_1 + 0x49444) + 1;\nswitchD_140003d7b_caseD_5:\n bVar3 = local_158 == (ulonglong *)0x0;\nLAB_1400048f9:\n if (!bVar3) {\n std::_Container_base0::_Orphan_all((_Container_base0 *)&local_158);\nLAB_14000490b:\n FUN_140004ba0(local_158,local_150);\n operator_delete(local_158);\n }\n return;\n}\n\n","status":"ok"},{"address":"0x1400169c0","procedure":{"address":"0x1400169c0","name":"FUN_1400169c0","status":"resolved"},"pseudocode":"\nundefined8 FUN_1400169c0(longlong param_1,undefined8 param_2,undefined8 param_3,uint *param_4)\n\n{\n uint uVar1;\n uint uVar2;\n uint uVar3;\n ulonglong uVar4;\n int *piVar5;\n uint *puVar6;\n uint *puVar7;\n longlong *plVar8;\n uint *puVar9;\n uint uVar10;\n undefined *puVar11;\n uint **ppuVar12;\n uint uVar13;\n uint *local_38;\n undefined8 local_30;\n int *local_28;\n undefined1 local_20;\n \n local_30 = 0xfffffffffffffffe;\n if (*(char *)(DAT_14017cf28 + 0x180) == '\\0') {\n printf(\"Not Active Server.!!! \\n\");\n uVar4 = FUN_140011dd0(param_1 + -8,0,10,0xffffffff);\n return uVar4 & 0xffffffffffffff00;\n }\n puVar7 = param_4;\n FUN_14003e7c0(param_1,param_2,param_3,param_4);\n local_38 = (uint *)PTR_DAT_14016f010;\n uVar1 = FUN_14003e620(L\"serveron\");\n uVar13 = 0;\n uVar3 = 0;\n uVar4 = 0;\n if ((local_38 != (uint *)0x0) && (uVar4 = 0, local_38 != (uint *)PTR_DAT_14016f010)) {\n uVar4 = (ulonglong)local_38[-2];\n }\n uVar2 = uVar1;\n if ((((int)uVar1 <= (int)uVar4) && (uVar2 = uVar3, local_38 != (uint *)0x0)) &&\n (local_38 != (uint *)PTR_DAT_14016f010)) {\n uVar2 = local_38[-2];\n }\n uVar10 = 1;\n if (1 < (int)uVar2) {\n uVar10 = uVar2;\n }\n uVar2 = uVar3;\n if ((local_38 != (uint *)0x0) && (local_38 != (uint *)PTR_DAT_14016f010)) {\n uVar2 = local_38[-2];\n }\n if ((int)uVar2 < (int)uVar10) {\n puVar6 = local_38;\n if (local_38 == (uint *)0x0) {\n puVar6 = (uint *)PTR_DAT_14016f010;\n }\n local_38 = puVar6;\n if ((int)uVar10 < 0) {\n /* WARNING: Subroutine does not return */\n FUN_14003dec0();\n }\n if (uVar10 == 0) {\n local_38 = (uint *)PTR_DAT_14016f010;\n if (((puVar6 != (uint *)0x0) && (puVar6 != (uint *)PTR_DAT_14016f010)) &&\n (puVar6 + -2 != (uint *)0x0)) {\n local_38 = puVar6;\n piVar5 = (int *)FUN_14003e7c0(puVar6,PTR_DAT_14016f010,uVar4,puVar7);\n local_28 = piVar5;\n FUN_14003d040(piVar5);\n local_20 = 1;\n puVar7 = puVar6 + -1;\n *puVar7 = *puVar7 - 1;\n if (*puVar7 == 0) {\n FUN_14003e8b0(puVar6 + -2);\n }\n FUN_14003d0d0((longlong)piVar5);\n local_38 = (uint *)PTR_DAT_14016f010;\n }\n }\n else {\n uVar2 = uVar3;\n if ((puVar6 != (uint *)0x0) && (puVar6 != (uint *)PTR_DAT_14016f010)) {\n uVar2 = puVar6[-2];\n }\n if (uVar10 != uVar2) {\n puVar6 = (uint *)FUN_14003e840((longlong)(int)uVar10 * 2 + 10);\n if (puVar6 != (uint *)0x0) {\n *puVar6 = 0;\n puVar6[1] = 1;\n }\n *puVar6 = uVar10;\n uVar2 = uVar3;\n if ((local_38 != (uint *)0x0) && (local_38 != (uint *)PTR_DAT_14016f010)) {\n uVar2 = local_38[-2];\n }\n puVar9 = (uint *)PTR_DAT_14016f010;\n if ((int)uVar10 < (int)uVar2) {\nLAB_140016b65:\n if (local_38 != (uint *)0x0) {\n puVar9 = local_38;\n }\n }\n else {\n uVar10 = uVar3;\n if (local_38 != (uint *)0x0) {\n if (local_38 != (uint *)PTR_DAT_14016f010) {\n uVar10 = local_38[-2];\n }\n goto LAB_140016b65;\n }\n }\n uVar4 = (ulonglong)uVar10;\n FUN_14003e650(puVar6 + 2,puVar9,uVar10);\n FUN_140002190((longlong *)&local_38,puVar9,uVar4,puVar7);\n local_38 = puVar6 + 2;\n }\n }\n }\n FUN_140001df0((longlong *)&local_38);\n puVar7 = local_38;\n if (local_38 == (uint *)0x0) {\n puVar7 = (uint *)PTR_DAT_14016f010;\n }\n FUN_14003e650(puVar7,L\"serveron\",uVar1);\n puVar7 = local_38;\n if (local_38 == (uint *)0x0) {\n puVar7 = (uint *)PTR_DAT_14016f010;\n }\n uVar3 = FUN_14003e620((short *)puVar7);\n uVar1 = uVar13;\n if (0 < (int)uVar3) {\n uVar1 = uVar3;\n }\n uVar3 = uVar13;\n if ((local_38 != (uint *)0x0) && (local_38 != (uint *)PTR_DAT_14016f010)) {\n uVar3 = local_38[-2];\n }\n if (((int)uVar3 <= (int)uVar1) && (uVar1 = uVar13, local_38 != (uint *)0x0)) {\n if (local_38 == (uint *)PTR_DAT_14016f010) goto LAB_140016c1f;\n uVar1 = local_38[-2];\n }\n if (((local_38 != (uint *)PTR_DAT_14016f010) && (local_38 != (uint *)0x0)) &&\n (local_38 + -2 != (uint *)0x0)) {\n local_38[-2] = uVar1;\n *(undefined2 *)((longlong)local_38 + (longlong)(int)uVar1 * 2) = 0;\n }\nLAB_140016c1f:\n plVar8 = (longlong *)(*(longlong *)(param_1 + 0x70) + 0x48);\n ppuVar12 = &local_38;\n puVar11 = &DAT_14016f5d0;\n uVar4 = (ulonglong)*param_4;\n (**(code **)(*plVar8 + 0xd0))();\n puVar7 = local_38;\n if (((local_38 != (uint *)0x0) && (local_38 != (uint *)PTR_DAT_14016f010)) &&\n (puVar6 = local_38 + -2, puVar6 != (uint *)0x0)) {\n piVar5 = (int *)FUN_14003e7c0(plVar8,uVar4,puVar11,ppuVar12);\n local_28 = piVar5;\n FUN_14003d040(piVar5);\n local_20 = 1;\n puVar7 = puVar7 + -1;\n *puVar7 = *puVar7 - 1;\n if (*puVar7 == 0) {\n FUN_14003e8b0(puVar6);\n }\n local_38 = (uint *)FUN_14003d0d0((longlong)piVar5);\n }\n return CONCAT71((int7)((ulonglong)local_38 >> 8),1);\n}\n\n","status":"ok"},{"address":"0x140034220","procedure":{"address":"0x140034220","name":"FUN_140034220","status":"resolved"},"pseudocode":"\n/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */\n\nundefined8 FUN_140034220(longlong param_1)\n\n{\n short sVar1;\n undefined8 *puVar2;\n undefined1 auVar3 [16];\n undefined1 auVar4 [16];\n FILE *_File;\n errno_t eVar5;\n ulonglong uVar6;\n longlong *plVar7;\n longlong *plVar8;\n char *pcVar9;\n ulonglong *puVar10;\n char *******pppppppcVar11;\n longlong *plVar12;\n undefined **ppuVar13;\n undefined **extraout_RAX;\n longlong lVar14;\n short *psVar15;\n undefined2 *puVar16;\n short *psVar17;\n longlong *plVar18;\n char *pcVar19;\n uint uVar20;\n bool bVar21;\n undefined1 auStack_1c8 [32];\n FILE *local_1a8 [2];\n undefined **local_198 [5];\n longlong *local_170;\n undefined8 *local_160;\n void *local_158;\n undefined8 *local_138;\n void *local_130;\n char local_11c;\n undefined8 local_118;\n undefined2 local_110;\n undefined6 uStack_10e;\n undefined8 local_100;\n ulonglong local_f8;\n char ******local_e8 [2];\n char *****local_d8;\n char *****local_d0;\n undefined1 local_b8;\n undefined7 uStack_b7;\n undefined8 local_a8;\n ulonglong local_a0;\n undefined2 local_78;\n undefined6 uStack_76;\n undefined8 local_68;\n ulonglong local_60;\n ulonglong local_38;\n \n local_118 = 0xfffffffffffffffe;\n local_38 = DAT_14016f5a0 ^ (ulonglong)auStack_1c8;\n pcVar9 = (char *)&DAT_140175100;\n if (0xf < DAT_140175118) {\n pcVar9 = DAT_140175100;\n }\n FUN_14001f6d0(local_198,pcVar9);\n DAT_140174c28 = 0;\n uVar6 = FUN_14001f7a0((longlong *)local_198,(char *)(local_160 + 2));\n plVar12 = (longlong *)0x0;\n plVar7 = local_170;\n if ((char)uVar6 == '\\0') {\n local_1a8[0] = operator_new(0x88);\n plVar7 = plVar12;\n if (local_1a8[0] != (FILE *)0x0) {\n plVar7 = FUN_140020550(&local_1a8[0]->_ptr);\n }\n FUN_14001ed00((longlong *)local_198,plVar7);\n plVar7 = local_170;\n }\n for (; plVar8 = plVar12, plVar7 != (longlong *)0x0; plVar7 = (longlong *)plVar7[10]) {\n bVar21 = (char *)(plVar7[7] + 0x10) == (char *)0x0;\n lVar14 = 7;\n pcVar9 = (char *)(plVar7[7] + 0x10);\n pcVar19 = \"server\";\n do {\n if (lVar14 == 0) break;\n lVar14 = lVar14 + -1;\n bVar21 = *pcVar9 == *pcVar19;\n pcVar9 = pcVar9 + 1;\n pcVar19 = pcVar19 + 1;\n } while (bVar21);\n if (bVar21) goto LAB_140034303;\n }\nLAB_140034345:\n if (plVar8 == (longlong *)0x0) {\n local_1a8[0] = operator_new(0xa8);\n plVar8 = plVar12;\n if (local_1a8[0] != (FILE *)0x0) {\n plVar8 = FUN_14001ef00(&local_1a8[0]->_ptr,\"server\");\n }\n FUN_14001ed00((longlong *)local_198,plVar8);\n }\n for (pcVar9 = *(char **)(DAT_14017cf50 + 8); plVar7 = plVar12,\n pcVar9 != *(char **)(DAT_14017cf50 + 0x10); pcVar9 = pcVar9 + 0x30) {\n if (*pcVar9 == '\\x18') {\n plVar7 = (longlong *)(pcVar9 + 8);\n if (7 < *(ulonglong *)(pcVar9 + 0x20)) {\n plVar7 = *(longlong **)(pcVar9 + 8);\n }\n break;\n }\n }\n local_f8 = 7;\n local_100 = 0;\n local_110._0_1_ = '\\0';\n local_110._1_1_ = 0;\n uVar6 = 0xffffffffffffffff;\n plVar18 = plVar7;\n do {\n if (uVar6 == 0) break;\n uVar6 = uVar6 - 1;\n lVar14 = *plVar18;\n plVar18 = (longlong *)((longlong)plVar18 + 2);\n } while ((short)lVar14 != 0);\n FUN_140001710((ulonglong *)&local_110,plVar7,~uVar6 - 1);\n FUN_1400ed7b0((ulonglong *)&local_b8,&local_110);\n if (7 < local_f8) {\n operator_delete((void *)CONCAT62(uStack_10e,CONCAT11(local_110._1_1_,(char)local_110)));\n }\n local_f8 = 7;\n local_100 = 0;\n local_110._0_1_ = '\\0';\n local_110._1_1_ = 0;\n psVar15 = (short *)(param_1 + 0x30);\n if (7 < *(ulonglong *)(param_1 + 0x48)) {\n psVar15 = *(short **)psVar15;\n }\n local_d0 = (char *****)0x7;\n local_d8 = (char *****)0x0;\n local_e8[0] = (char ******)((ulonglong)local_e8[0] & 0xffffffffffff0000);\n uVar6 = 0xffffffffffffffff;\n psVar17 = psVar15;\n do {\n if (uVar6 == 0) break;\n uVar6 = uVar6 - 1;\n sVar1 = *psVar17;\n psVar17 = psVar17 + 1;\n } while (sVar1 != 0);\n FUN_140001710((ulonglong *)local_e8,psVar15,~uVar6 - 1);\n puVar10 = FUN_1400ed7b0((ulonglong *)&local_78,(LPCWSTR)local_e8);\n if (0xf < puVar10[3]) {\n puVar10 = (ulonglong *)*puVar10;\n }\n FUN_14001f130(plVar8,\"ip\",(char *)puVar10);\n if (0xf < local_60) {\n operator_delete((void *)CONCAT62(uStack_76,CONCAT11(local_78._1_1_,(char)local_78)));\n }\n local_60 = 0xf;\n local_68 = 0;\n local_78._0_1_ = '\\0';\n if (7 < local_d0) {\n operator_delete(local_e8[0]);\n }\n FUN_140020c20((char *)&local_78,0x40,\"%d\",0xc3b1);\n FUN_14001f130(plVar8,\"port\",(char *)&local_78);\n pcVar9 = &local_b8;\n if (0xf < local_a0) {\n pcVar9 = (char *)CONCAT71(uStack_b7,local_b8);\n }\n FUN_14001f130(plVar8,\"file\",pcVar9);\n plVar7 = local_170;\n if (0xf < local_a0) {\n operator_delete((void *)CONCAT71(uStack_b7,local_b8));\n plVar7 = local_170;\n }\n for (; plVar8 = plVar12, plVar7 != (longlong *)0x0; plVar7 = (longlong *)plVar7[10]) {\n bVar21 = (char *)(plVar7[7] + 0x10) == (char *)0x0;\n lVar14 = 8;\n pcVar9 = (char *)(plVar7[7] + 0x10);\n pcVar19 = \"connect\";\n do {\n if (lVar14 == 0) break;\n lVar14 = lVar14 + -1;\n bVar21 = *pcVar9 == *pcVar19;\n pcVar9 = pcVar9 + 1;\n pcVar19 = pcVar19 + 1;\n } while (bVar21);\n if (bVar21) goto LAB_140034543;\n }\nLAB_140034585:\n if (plVar8 == (longlong *)0x0) {\n local_1a8[0] = operator_new(0xa8);\n plVar8 = plVar12;\n if (local_1a8[0] != (FILE *)0x0) {\n plVar8 = FUN_14001ef00(&local_1a8[0]->_ptr,\"connect\");\n }\n FUN_14001ed00((longlong *)local_198,plVar8);\n }\n plVar7 = plVar12;\n if (*(longlong *)(param_1 + 0x1c8) != 0) {\n auVar3._8_8_ = 0;\n auVar3._0_8_ = *(ulonglong *)(param_1 + 0x1b0);\n for (puVar2 = *(undefined8 **)\n (*(longlong *)(param_1 + 0x1a8) +\n SUB168((ZEXT816(0) << 0x40 | ZEXT816(0x15)) % auVar3,0) * 8);\n puVar2 != (undefined8 *)0x0; puVar2 = (undefined8 *)*puVar2) {\n if (*(char *)(puVar2 + 1) == '\\x15') {\n if (((puVar2 != (undefined8 *)0x0) && (lVar14 = puVar2[2], lVar14 != puVar2[3])) &&\n (plVar7 = (longlong *)(lVar14 + 0x30), 7 < *(ulonglong *)(lVar14 + 0x48))) {\n plVar7 = *(longlong **)(lVar14 + 0x30);\n }\n break;\n }\n }\n }\n local_f8 = 7;\n local_100 = 0;\n local_110._0_1_ = '\\0';\n local_110._1_1_ = 0;\n uVar6 = 0xffffffffffffffff;\n plVar18 = plVar7;\n do {\n if (uVar6 == 0) break;\n uVar6 = uVar6 - 1;\n lVar14 = *plVar18;\n plVar18 = (longlong *)((longlong)plVar18 + 2);\n } while ((short)lVar14 != 0);\n FUN_140001710((ulonglong *)&local_110,plVar7,~uVar6 - 1);\n FUN_1400ed7b0((ulonglong *)&local_b8,&local_110);\n if (7 < local_f8) {\n operator_delete((void *)CONCAT62(uStack_10e,CONCAT11(local_110._1_1_,(char)local_110)));\n }\n local_f8 = 7;\n local_100 = 0;\n local_110._0_1_ = '\\0';\n local_110._1_1_ = 0;\n uVar20 = 0;\n if (*(longlong *)(param_1 + 0x1c8) != 0) {\n auVar4._8_8_ = 0;\n auVar4._0_8_ = *(ulonglong *)(param_1 + 0x1b0);\n for (puVar2 = *(undefined8 **)\n (*(longlong *)(param_1 + 0x1a8) +\n SUB168((ZEXT816(0) << 0x40 | ZEXT816(0x15)) % auVar4,0) * 8);\n puVar2 != (undefined8 *)0x0; puVar2 = (undefined8 *)*puVar2) {\n if (*(char *)(puVar2 + 1) == '\\x15') {\n if ((puVar2 != (undefined8 *)0x0) && (puVar2[2] != puVar2[3])) {\n uVar20 = *(uint *)(puVar2[2] + 4);\n }\n break;\n }\n }\n }\n pcVar9 = &local_b8;\n if (0xf < local_a0) {\n pcVar9 = (char *)CONCAT71(uStack_b7,local_b8);\n }\n FUN_14001f130(plVar8,\"ip\",pcVar9);\n FUN_140020c20((char *)&local_78,0x40,\"%d\",(ulonglong)uVar20);\n FUN_14001f130(plVar8,\"port\",(char *)&local_78);\n if (0xf < local_a0) {\n operator_delete((void *)CONCAT71(uStack_b7,local_b8));\n }\n local_f8 = 0xf;\n local_100 = 0;\n local_110._0_1_ = '\\0';\n local_d0 = (char *****)0xf;\n local_d8 = (char *****)0x0;\n local_e8[0] = (char ******)((ulonglong)local_e8[0] & 0xffffffffffffff00);\n if (*(char *)(param_1 + 0x1e8) == '\\r') {\n uVar6 = 5;\n pcVar9 = \"agent\";\nLAB_140034791:\n FUN_14000c9e0((ulonglong *)&local_110,pcVar9,uVar6);\n puVar16 = (undefined2 *)CONCAT62(uStack_10e,CONCAT11(local_110._1_1_,(char)local_110));\n if (local_f8 < 0x10) goto LAB_1400347a5;\n }\n else {\n if (*(char *)(param_1 + 0x1e8) == '\\x15') {\n uVar6 = 0xc;\n pcVar9 = \"agentmanager\";\n goto LAB_140034791;\n }\nLAB_1400347a5:\n puVar16 = &local_110;\n }\n plVar7 = (longlong *)FUN_14001ee20((longlong)local_198,(longlong)puVar16);\n if (plVar7 == (longlong *)0x0) {\n local_1a8[0] = operator_new(0xa8);\n plVar7 = plVar12;\n if (local_1a8[0] != (FILE *)0x0) {\n pcVar9 = (char *)&local_110;\n if (0xf < local_f8) {\n pcVar9 = (char *)CONCAT62(uStack_10e,CONCAT11(local_110._1_1_,(char)local_110));\n }\n plVar7 = FUN_14001ef00(&local_1a8[0]->_ptr,pcVar9);\n }\n FUN_14001ed00((longlong *)local_198,plVar7);\n }\n for (pcVar9 = *(char **)(DAT_14017cf50 + 8); plVar8 = plVar12,\n pcVar9 != *(char **)(DAT_14017cf50 + 0x10); pcVar9 = pcVar9 + 0x30) {\n if (*pcVar9 == *(char *)(param_1 + 0x1e8)) {\n plVar8 = (longlong *)(pcVar9 + 8);\n if (7 < *(ulonglong *)(pcVar9 + 0x20)) {\n plVar8 = *(longlong **)(pcVar9 + 8);\n }\n break;\n }\n }\n local_60 = 7;\n local_68 = 0;\n local_78._0_1_ = '\\0';\n local_78._1_1_ = 0;\n uVar6 = 0xffffffffffffffff;\n plVar18 = plVar8;\n do {\n if (uVar6 == 0) break;\n uVar6 = uVar6 - 1;\n lVar14 = *plVar18;\n plVar18 = (longlong *)((longlong)plVar18 + 2);\n } while ((short)lVar14 != 0);\n FUN_140001710((ulonglong *)&local_78,plVar8,~uVar6 - 1);\n pppppppcVar11 = (char *******)FUN_1400ed7b0((ulonglong *)&local_b8,&local_78);\n if (local_e8 != pppppppcVar11) {\n if ((char ******)0xf < local_d0) {\n operator_delete(local_e8[0]);\n }\n local_d0 = (char *****)0xf;\n local_d8 = (char *****)0x0;\n local_e8[0] = (char ******)((ulonglong)local_e8[0] & 0xffffffffffffff00);\n if (pppppppcVar11[3] < (char ******)0x10) {\n memmove(local_e8,pppppppcVar11,(longlong)pppppppcVar11[2] + 1);\n }\n else {\n local_e8[0] = *pppppppcVar11;\n *pppppppcVar11 = (char ******)0x0;\n }\n local_d8 = (char *****)pppppppcVar11[2];\n local_d0 = (char *****)pppppppcVar11[3];\n pppppppcVar11[3] = (char ******)0xf;\n pppppppcVar11[2] = (char ******)0x0;\n *(undefined1 *)pppppppcVar11 = 0;\n }\n if (0xf < local_a0) {\n operator_delete((void *)CONCAT71(uStack_b7,local_b8));\n }\n local_a0 = 0xf;\n local_a8 = 0;\n local_b8 = '\\0';\n if (7 < local_60) {\n operator_delete((void *)CONCAT62(uStack_76,CONCAT11(local_78._1_1_,(char)local_78)));\n }\n pppppppcVar11 = local_e8;\n if ((char ******)0xf < local_d0) {\n pppppppcVar11 = (char *******)local_e8[0];\n }\n FUN_14001f130(plVar7,\"file\",(char *)pppppppcVar11);\n FUN_140020c20(&local_b8,0x40,\"%d\",(ulonglong)*(uint *)(param_1 + 0x154));\n FUN_14001f130(plVar7,\"code\",&local_b8);\n if ((char ******)0xf < local_d0) {\n operator_delete(local_e8[0]);\n }\n local_d0 = (char *****)0xf;\n local_d8 = (char *****)0x0;\n local_e8[0] = (char ******)((ulonglong)local_e8[0] & 0xffffffffffffff00);\n if (0xf < local_f8) {\n operator_delete((void *)CONCAT62(uStack_10e,CONCAT11(local_110._1_1_,(char)local_110)));\n }\n plVar7 = local_170;\n if (*(char *)(param_1 + 0x151) != '\\0') {\n for (; plVar8 = plVar12, plVar7 != (longlong *)0x0; plVar7 = (longlong *)plVar7[10]) {\n bVar21 = (char *)(plVar7[7] + 0x10) == (char *)0x0;\n lVar14 = 4;\n pcVar9 = (char *)(plVar7[7] + 0x10);\n pcVar19 = \"dns\";\n do {\n if (lVar14 == 0) break;\n lVar14 = lVar14 + -1;\n bVar21 = *pcVar9 == *pcVar19;\n pcVar9 = pcVar9 + 1;\n pcVar19 = pcVar19 + 1;\n } while (bVar21);\n if (bVar21) goto LAB_1400349e3;\n }\nLAB_140034a25:\n if (plVar8 == (longlong *)0x0) {\n local_1a8[0] = operator_new(0xa8);\n if (local_1a8[0] != (FILE *)0x0) {\n plVar12 = FUN_14001ef00(&local_1a8[0]->_ptr,\"dns\");\n }\n FUN_14001ed00((longlong *)local_198,plVar12);\n plVar8 = plVar12;\n }\n FUN_140020c20(&local_b8,0x40,\"%d\",1);\n FUN_14001f130(plVar8,\"dns\",&local_b8);\n }\n pcVar9 = (char *)&DAT_140175100;\n if (0xf < DAT_140175118) {\n pcVar9 = DAT_140175100;\n }\n local_1a8[0] = (FILE *)0x0;\n eVar5 = fopen_s(local_1a8,pcVar9,\"w\");\n _File = local_1a8[0];\n if ((eVar5 == 0) && (local_1a8[0] != (FILE *)0x0)) {\n if (local_11c != '\\0') {\n fputc(0xef,local_1a8[0]);\n fputc(0xbb,_File);\n fputc(0xbf,_File);\n }\n (*(code *)local_198[0][1])(local_198,_File,0);\n ferror(_File);\n fclose(_File);\n }\n printf(\"Create Patch Option File Succeed \\n\");\n local_198[0] = TiXmlDocument::vftable;\n if (local_138 != &DAT_14017ce88) {\n operator_delete__(local_130);\n }\n ppuVar13 = TiXmlNode::vftable;\n local_198[0] = TiXmlNode::vftable;\n while (local_170 != (longlong *)0x0) {\n plVar7 = (longlong *)local_170[10];\n ppuVar13 = (undefined **)(**(code **)*local_170)(local_170,1);\n local_170 = plVar7;\n }\n if (local_160 != &DAT_14017ce88) {\n operator_delete__(local_158);\n ppuVar13 = extraout_RAX;\n }\n return CONCAT71((int7)((ulonglong)ppuVar13 >> 8),1);\nLAB_140034303:\n while (lVar14 = (**(code **)(*plVar7 + 0x30))(plVar7), lVar14 == 0) {\n do {\n plVar7 = (longlong *)plVar7[10];\n if (plVar7 == (longlong *)0x0) goto LAB_140034345;\n bVar21 = (char *)(plVar7[7] + 0x10) == (char *)0x0;\n lVar14 = 7;\n pcVar9 = (char *)(plVar7[7] + 0x10);\n pcVar19 = \"server\";\n do {\n if (lVar14 == 0) break;\n lVar14 = lVar14 + -1;\n bVar21 = *pcVar9 == *pcVar19;\n pcVar9 = pcVar9 + 1;\n pcVar19 = pcVar19 + 1;\n } while (bVar21);\n } while (!bVar21);\n }\n plVar8 = (longlong *)(**(code **)(*plVar7 + 0x30))(plVar7);\n goto LAB_140034345;\nLAB_140034543:\n while (lVar14 = (**(code **)(*plVar7 + 0x30))(plVar7), lVar14 == 0) {\n do {\n plVar7 = (longlong *)plVar7[10];\n if (plVar7 == (longlong *)0x0) goto LAB_140034585;\n bVar21 = (char *)(plVar7[7] + 0x10) == (char *)0x0;\n lVar14 = 8;\n pcVar9 = (char *)(plVar7[7] + 0x10);\n pcVar19 = \"connect\";\n do {\n if (lVar14 == 0) break;\n lVar14 = lVar14 + -1;\n bVar21 = *pcVar9 == *pcVar19;\n pcVar9 = pcVar9 + 1;\n pcVar19 = pcVar19 + 1;\n } while (bVar21);\n } while (!bVar21);\n }\n plVar8 = (longlong *)(**(code **)(*plVar7 + 0x30))(plVar7);\n goto LAB_140034585;\nLAB_1400349e3:\n while (lVar14 = (**(code **)(*plVar7 + 0x30))(plVar7), lVar14 == 0) {\n do {\n plVar7 = (longlong *)plVar7[10];\n if (plVar7 == (longlong *)0x0) goto LAB_140034a25;\n bVar21 = (char *)(plVar7[7] + 0x10) == (char *)0x0;\n lVar14 = 4;\n pcVar9 = (char *)(plVar7[7] + 0x10);\n pcVar19 = \"dns\";\n do {\n if (lVar14 == 0) break;\n lVar14 = lVar14 + -1;\n bVar21 = *pcVar9 == *pcVar19;\n pcVar9 = pcVar9 + 1;\n pcVar19 = pcVar19 + 1;\n } while (bVar21);\n } while (!bVar21);\n }\n plVar8 = (longlong *)(**(code **)(*plVar7 + 0x30))(plVar7);\n goto LAB_140034a25;\n}\n\n","status":"ok"},{"address":"0x140003420","procedure":{"address":"0x140003420","name":"FUN_140003420","status":"resolved"},"pseudocode":"\n/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */\n\nundefined8\nFUN_140003420(longlong param_1,ulonglong *******param_2,undefined *param_3,undefined2 *param_4)\n\n{\n longlong lVar1;\n ulonglong ***********pppppppppppuVar2;\n ushort uVar3;\n int iVar4;\n int iVar5;\n ulonglong ************ppppppppppppuVar6;\n ulonglong ************ppppppppppppuVar7;\n undefined **ppuVar8;\n bool bVar9;\n undefined1 auStack_1e8 [32];\n undefined8 local_1c8;\n undefined8 local_1c0;\n undefined8 local_1b8;\n undefined8 local_1b0;\n undefined8 local_1a8;\n undefined8 local_1a0;\n undefined8 local_198;\n undefined8 local_190;\n undefined8 local_188;\n undefined8 local_180;\n undefined4 local_178;\n undefined8 local_168;\n ulonglong ***********local_160;\n ulonglong ************local_158;\n undefined8 local_150;\n ulonglong local_148;\n undefined4 local_138;\n uint local_134;\n byte local_12c;\n undefined2 local_110;\n undefined6 uStack_10e;\n undefined8 local_100;\n ulonglong local_f8;\n undefined2 local_e8;\n undefined6 uStack_e6;\n undefined8 local_d8;\n ulonglong local_d0;\n undefined2 local_c0;\n undefined6 uStack_be;\n undefined8 local_b0;\n ulonglong local_a8;\n void *local_60;\n undefined8 local_58;\n undefined8 local_50;\n ulonglong local_38;\n \n local_168 = 0xfffffffffffffffe;\n local_38 = DAT_14016f5a0 ^ (ulonglong)auStack_1e8;\n iVar4 = _kbhit();\n while (iVar4 != 0) {\n iVar4 = _getch();\n iVar4 = (int)(char)iVar4;\n if (*(int *)(param_1 + 0x49428) == 0) {\n iVar5 = toupper(iVar4);\n switch(iVar5) {\n case 0x30:\n local_160 = (ulonglong ***********)0x0;\n local_158 = (ulonglong ************)0x0;\n local_150 = 0;\n param_2 = (ulonglong *******)&local_160;\n FUN_1400398e0(DAT_14017cf20,(ulonglong *)param_2);\n ppppppppppppuVar6 = local_158;\n pppppppppppuVar2 = local_160;\n for (ppppppppppppuVar7 = (ulonglong ************)local_160;\n ppppppppppppuVar7 != ppppppppppppuVar6; ppppppppppppuVar7 = ppppppppppppuVar7 + 0x1f) {\n FUN_140003c50(&local_138,(undefined4 *)ppppppppppppuVar7);\n param_4 = &local_c0;\n if (7 < local_a8) {\n param_4 = (undefined2 *)CONCAT62(uStack_be,local_c0);\n }\n param_3 = (undefined *)(ulonglong)local_12c;\n param_2 = (ulonglong *******)(ulonglong)local_134;\n wprintf(L\" CODE:[ %d ]\\tTYPE:[ %d ]\\tNAME:[ %s ] \\r\\n\");\n if (local_60 != (void *)0x0) {\n operator_delete(local_60);\n }\n local_60 = (void *)0x0;\n local_58 = 0;\n local_50 = 0;\n if (7 < local_a8) {\n operator_delete((void *)CONCAT62(uStack_be,local_c0));\n }\n local_a8 = 7;\n local_b0 = 0;\n local_c0 = 0;\n if (7 < local_d0) {\n operator_delete((void *)CONCAT62(uStack_e6,local_e8));\n }\n local_d0 = 7;\n local_d8 = 0;\n local_e8 = 0;\n if (7 < local_f8) {\n operator_delete((void *)CONCAT62(uStack_10e,local_110));\n }\n local_f8 = 7;\n local_100 = 0;\n local_110 = 0;\n }\n if (pppppppppppuVar2 != (ulonglong ************)0x0) {\n FUN_140004ba0((ulonglong *)pppppppppppuVar2,(ulonglong *)ppppppppppppuVar6);\n operator_delete(pppppppppppuVar2);\n param_2 = (ulonglong *******)ppppppppppppuVar6;\n }\n FUN_140033b40(DAT_14017cf28);\n break;\n case 0x31:\n bVar9 = *(char *)(DAT_14017cf28 + 0x164) == '\\0';\n *(bool *)(DAT_14017cf28 + 0x164) = bVar9;\n if (bVar9) {\n printf(\"Print On !!!\\n\");\n }\n else {\n printf(\"Print Off !!!\\n\");\n }\n break;\n case 0x32:\n FUN_14000bd40(*(longlong *)(param_1 + 0x49468),param_2,param_3,param_4);\n param_2 = (ulonglong *******)PTR_s_CreateBackupTable_140174e90;\n printf(\"%s\\n\");\n break;\n case 0x33:\n bVar9 = *(char *)(DAT_14017cf28 + 0x180) == '\\0';\n *(bool *)(DAT_14017cf28 + 0x180) = bVar9;\n param_2 = (ulonglong *******)(ulonglong)bVar9;\n printf(\"Active : %d\\n\");\n break;\n case 0x34:\n FUN_140009240(*(longlong *)(param_1 + 0x49460),param_2,param_3,(longlong)param_4);\n param_2 = (ulonglong *******)PTR_s_Server_File_Refresh__140174ec0;\n printf(\"%s\\n\");\n break;\n case 0x35:\n FUN_140008410(*(longlong *)(param_1 + 0x49460),param_2,param_3,param_4);\n param_2 = (ulonglong *******)PTR_s_Server_Option_Refresh__140174ed8;\n printf(\"%s\\n\");\n break;\n default:\n ppuVar8 = &PTR_s_Printf_On_Off__140174e78;\n do {\n uVar3 = GetAsyncKeyState(0xa0);\n if (((uVar3 & 0x8001) != 0) || (*(char *)(ppuVar8 + 1) == '\\0')) {\n param_3 = *ppuVar8;\n param_2 = (ulonglong *******)(ulonglong)(uint)(int)*(char *)(ppuVar8 + -1);\n printf(\" \\'%c\\'\\t: %s\\n\");\n }\n ppuVar8 = ppuVar8 + 3;\n } while ((longlong)ppuVar8 < 0x140175028);\n printf(\"........... Message : Unknown Control Command.\\n\");\n break;\n case 0x37:\n FUN_140009760(*(longlong *)(param_1 + 0x49460),param_2,param_3,param_4);\n param_2 = (ulonglong *******)PTR_s_Server_RealTime_Event__140174ef0;\n printf(\"%s\\n\");\n break;\n case 0x38:\n param_2 = (ulonglong *******)(ulonglong)*(uint *)(DAT_14017cf20 + 0x58);\n printf(\"[AgentCount : %d] \\n\");\n break;\n case 0x39:\n FUN_14000c120(DAT_14017cf48);\n param_2 = (ulonglong *******)PTR_s_Statistics_Print__140174f20;\n printf(\"%s\\n\");\n break;\n case 0x45:\n *(undefined1 *)(param_1 + 0x49440) = 0;\n printf(\"Server Shutdown\\n\");\n return 0;\n case 0x46:\n wprintf(L\"-AGENT MANAGER SERVER [CODE:%d]---------------------------------\\n\");\n wprintf(L\"PUBLIC NETWORK : ADDRESS[ %s ] PORT[ %d ]\\n\");\n wprintf(L\"PRIVATE NETWORK : ADDRESS[ %s ] PORT[ %d ]\\n\");\n param_3 = (undefined *)(ulonglong)*(uint *)(*(longlong *)(param_1 + 0x49448) + 0x50);\n printf(\"API NETWORK : ADDRESS[ %s ] PORT[ %d ] \\n\");\n wprintf(\n L\"\\n-SESSION----------------------------------------------------------------------\\n\"\n );\n wprintf(L\"%s \\n\");\n param_2 = (ulonglong *******)(*(longlong *)(param_1 + 0x49468) + 0x28);\n if (7 < *(ulonglong *)(*(longlong *)(param_1 + 0x49468) + 0x40)) {\n param_2 = (ulonglong *******)*param_2;\n }\n wprintf(L\"%s \\n\");\n wprintf(\n L\"\\n------------------------------------------------------------------------------\\n\\n\"\n );\n break;\n case 0x4c:\n *(undefined4 *)(param_1 + 0x49428) = 1;\n param_3 = &DAT_14012eca4;\n param_2 = (ulonglong *******)PTR_s_Keyboard_Locked_140174f80;\n printf(\"%s %s\\n\");\n break;\n case 0x4d:\n FUN_140038530(DAT_14017cf10);\n param_2 = (ulonglong *******)PTR_s_CustomOption_Init_140175010;\n printf(\"%s\\n\");\n break;\n case 0x50:\n lVar1 = *(longlong *)(param_1 + 0x49450);\n if (lVar1 != 0) {\n local_188 = 0;\n local_1c0 = 0;\n local_1c8 = 0;\n local_1b0 = 0;\n local_1b8 = 0;\n local_190 = 0;\n local_198 = 0;\n local_1a0 = 0;\n local_1a8 = 0;\n local_180 = 0;\n local_178 = 0;\n if (*(longlong *)(lVar1 + 0x28) != 0) {\n (**(code **)(**(longlong **)(lVar1 + 0x28) + 0xb0))\n (*(longlong **)(lVar1 + 0x28),&local_1c8);\n printf(\"--------------------------------------------------\\n\");\n printf(\"%I64d totalTcpReceiveCount\\n\");\n printf(\"%I64d totalTcpReceiveBytes\\n\");\n printf(\"%I64d totalTcpSendCount\\n\");\n printf(\"%I64d totalTcpSendBytes\\n\");\n printf(\"%d p2pConnectionPairCount\\n\");\n printf(\"%d p2pDirectConnectionPairCount\\n\");\n printf(\"%d clientCount\\n\");\n printf(\"--------------------------------------------------\\n\");\n }\n }\n param_2 = (ulonglong *******)PTR_s_Network_Status_140174f98;\n printf(\"%s\\n\");\n break;\n case 0x52:\n DAT_14017ce78 = (uint)(DAT_14017ce78 == 0);\n param_3 = &DAT_14012eca8;\n if (DAT_14017ce78 != 0) {\n param_3 = &DAT_14012eca4;\n }\n param_2 = (ulonglong *******)PTR_s_ShowFPS_140174fb0;\n printf(\"%s %s\\n\");\n break;\n case 0x54:\n DAT_14017ce84 = DAT_14017ce84 == '\\0';\n param_2 = (ulonglong *******)(ulonglong)(byte)DAT_14017ce84;\n printf(\"Connect : [%d]\\n\");\n }\n }\n else {\n iVar5 = toupper(iVar4);\n if (iVar5 == 0x55) {\n *(undefined4 *)(param_1 + 0x49428) = 0;\n param_3 = &DAT_14012eca8;\n param_2 = (ulonglong *******)PTR_s_Keyboard_UnLocked_140174fc8;\n printf(\"%s %s\\n\");\n ppuVar8 = &PTR_s_Printf_On_Off__140174e78;\n do {\n uVar3 = GetAsyncKeyState(0xa0);\n if (((uVar3 & 0x8001) != 0) || (*(char *)(ppuVar8 + 1) == '\\0')) {\n param_3 = *ppuVar8;\n param_2 = (ulonglong *******)(ulonglong)(uint)(int)*(char *)(ppuVar8 + -1);\n printf(\" \\'%c\\'\\t: %s\\n\");\n }\n ppuVar8 = ppuVar8 + 3;\n } while ((longlong)ppuVar8 < 0x140175028);\n }\n }\n iVar4 = toupper(iVar4);\n if (iVar4 == 0x49) {\n printf(\"=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\\n\");\n GetCurrentProcessId();\n printf(\"ProcessID : %d\\n\");\n printf(\"SVN : %d\\n\");\n printf(\"Resource : %d\\n\");\n printf(\"Build Date : %s\\n\");\n param_2 = (ulonglong *******)FUN_1400ed8a0((ulonglong *)&local_160);\n if ((ulonglong ***********)0xf < param_2[3]) {\n param_2 = (ulonglong *******)*param_2;\n }\n printf(\"PROTOCOL : %s\\n\");\n if (0xf < local_148) {\n operator_delete(local_160);\n }\n local_148 = 0xf;\n local_150 = 0;\n local_160 = (ulonglong ***********)((ulonglong)local_160 & 0xffffffffffffff00);\n printf(\"=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\\n\");\n }\n iVar4 = _kbhit();\n }\n return 2;\n}\n\n","status":"ok"}],"succeeded":12,"total":12},"operation":"batch_decompile","parameters":{"addresses":["0x140001390","0x140002400","0x140032f70","0x14002fe40","0x140007a20","0x140002790","0x140005460","0x140006380","0x140003d00","0x1400169c0","0x140034220","0x140003420"]},"predicate_type":"rea.analysis","provider":{"id":"rea-workflow","name":"REA composed investigation workflow","version":"1"},"raw_result":null,"relationship_coverage":null,"subject":{"architecture":"x86_64","digest":{"sha256":"8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186"},"format":"pe","local_path":"/home/baobeld/Development/rusty-hearts/re-project/binaries/AgentManager_Release_x64.exe","name":"AgentManager_Release_x64.exe"}},{"analysis_profile":{"digest":"3decca45d3460a9d91b48bfb293ee703f84841379edceee6350b1ea3393d3fe1","parameters":{"upstream_analysis_profile":{"digest":"de1d200f7c777e7d47b9def837d80cf1e4326106753fd45afae1b8f0c68936f6","parameters":{"analyzer_preset":"ghidra-default","annotation_policy":"atomic-function-entry-metadata-v1","architecture":"x86_64","available_architectures":["x86_64"],"call_relationship_coverage":"function-body-call-coverage-v5","compiler_spec_id":"auto-default","decompiler_jump_loads":true,"executable_role":"application","function_body_evidence":"complete-inclusive-ranges-v1","function_boundary_observations":"ghidra-function-boundary-limitations-v3","function_dossier_coverage":"observed-facets-and-call-relationships-v1","function_references":"complete-body-and-entry-reference-manager-v2","import_mode":"ephemeral-source-immutable","instruction_flow_evidence":"decoded-return-pcode-v1","instruction_references":"exact-address-incoming-v1","jump_table_evidence":"typed-case-default-blocks-v1","language_id":"auto-from-header","load_image_observations":"source-mappings-entry-context-v2","loader":"auto-from-header","location_resolution":"explicit-address-exact-entry-symbol-first-v3","managed":false,"native_aot_metadata":{"contract_revision":"rtr-9.1-x64-pe-read-only-v3","report_bytes":4194304,"source_bytes":134217728,"work_units":67108864,"working_memory_bytes":67108864},"no_return_repair":"returning-imports-decoded-return-v2","pdb_observations":"program-info-v1","procedure_file_offset_resolution":"address-first-unique-target-source-mapping-v2","process_launch":"inspected-jvm-launch-support-v1","string_inventory_evidence":"defined-data-coverage-v1","target_format":"pe","target_kind":"executable"},"provider":{"id":"ghidra","name":"Ghidra","version":"12.1.2"}},"workflow_revision":3},"provider":{"id":"rea-workflow","name":"REA composed investigation workflow","version":"1"}},"authority":"shipped-artifact","confidence":"derived","environment":null,"evidence_id":"ev_c3719a85eaa4d87a349ee02f317e2085e8db8266c450d412b0ce623bc094e871","evidence_links":[],"limitations":["Derived by an REA composed workflow.","A headless Ghidra session contains exactly one imported Program, unlike Hopper's multi-document GUI session.","Cancelling an active Ghidra request terminates its ephemeral database and discards session annotations. The selected target remains open; the next provider query imports the original artifact again.","Charset is reported, while a non-missing terminator cannot distinguish a present terminator from a fixed or Pascal layout.","Default-space addresses use lowercase 0x-prefixed hexadecimal; other address spaces use :0x.","External functions and local thunks are distinct; procedure metadata identifies both and preserves a thunk target when Ghidra resolves one.","Memory-block end addresses are exclusive; permissions come from Ghidra MemoryBlock flags rather than inference from section names.","Only Ghidra-defined string Data is observed; packed or undefined string bytes may be absent. Completeness applies to that inventory, and an empty search does not establish that text is absent from the artifact. If an address is known, use read_bytes and xrefs to inspect bytes and references.","The imported Program and temporary project are ephemeral and deleted on close. Annotation operations edit session database metadata; original executable bytes are never written.","The session serves operations only after Ghidra reports default auto-analysis complete; incomplete analysis does not expose partial results.","The target references PDB AgentManager_Release_x64.pdb (GUID cc211b01-ac46-4192-9b64-b1d16ba71956, age (hex) 1, signature unknown, version RSDS); Ghidra reports load state unknown. Original names and types may be missing; an empty name search does not prove a procedure is absent. Use list_procedures and address-based analysis to inspect recovered functions. REA does not admit a caller-selected PDB companion.","This session uses Ghidra 12.1.2. The bridge is verified against 12.1.4; other 12.1.x builds are accepted and the observed version is reported."],"locations":[],"normalized_result":{"document":"target-8fd8ca917258.exe","image_base":"0x140000000","procedure_count":7400,"segment_count":9,"segments":[{"address_space":"ram","end":"0x140000400","image_base":"0x140000000","length":1024,"name":"Headers","start":"0x140000000"},{"address_space":"ram","end":"0x140104a00","image_base":"0x140000000","length":1063424,"name":".text","start":"0x140001000"},{"address_space":"ram","end":"0x14016ea00","image_base":"0x140000000","length":432640,"name":".rdata","start":"0x140105000"},{"address_space":"ram","end":"0x14017d630","image_base":"0x140000000","length":58928,"name":".data","start":"0x14016f000"},{"address_space":"ram","end":"0x140189800","image_base":"0x140000000","length":47104,"name":".pdata","start":"0x14017e000"},{"address_space":"ram","end":"0x14018a200","image_base":"0x140000000","length":512,"name":".tls","start":"0x14018a000"},{"address_space":"ram","end":"0x14018b200","image_base":"0x140000000","length":512,"name":".rsrc","start":"0x14018b000"},{"address_space":"ram","end":"0x14018e800","image_base":"0x140000000","length":10240,"name":".reloc","start":"0x14018c000"},{"address_space":"ram","end":"0xff00001850","image_base":"0x140000000","length":6224,"name":"tdb","start":"0xff00000000"}],"string_count":1613},"operation":"binary_overview","parameters":{},"predicate_type":"rea.analysis","provider":{"id":"rea-workflow","name":"REA composed investigation workflow","version":"1"},"raw_result":null,"relationship_coverage":null,"subject":{"architecture":"x86_64","digest":{"sha256":"8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186"},"format":"pe","local_path":"/home/baobeld/Development/rusty-hearts/re-project/binaries/AgentManager_Release_x64.exe","name":"AgentManager_Release_x64.exe"}}],"scenarios":[],"unknowns":[]} \ No newline at end of file diff --git a/decomp/AgentManager_Release_x64/evidence.md b/decomp/AgentManager_Release_x64/evidence.md new file mode 100644 index 00000000..ae9623f3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/evidence.md @@ -0,0 +1,140 @@ +# AgentManager_Release_x64.exe — finding ledger + +- SHA-256 `8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186`, 1,584,128 bytes +- PE32+ x86-64, Windows CUI, MSVC linker 10.0 (VS2010; imports MSVCR100/MSVCP100) +- PDB reference `F:\work\Project\Output\exe\AgentManager_Release_x64.pdb` (GUID cc211b01-ac46-4192-9b64-b1d16ba71956, age 1) — PDB not available +- Imports: WS2_32, MSWSOCK, WINMM, KERNEL32, USER32, ADVAPI32, OLEAUT32, MSVCP100, RPCRT4, MSVCR100, BugTrapU-x64, ole32, dbghelp +- Ghidra 12.1.2 via REA 6.5.0; 7,400 procedures, 1,613 defined strings (`ev_c3719a85…`) +- Evidence: `evidence-bundle.json` — overview `ev_c3719a85…`, batch decompiles `ev_7ee0b809…` (protocol/auth/command) and `ev_99e67015…` (startup/config/sequencer), RmiContext bytes `ev_3fe7cbab…`. + Static analysis only; nothing here was observed at runtime. + +## Status: analysis complete for this pass (protocol, auth, config sources, command semantics, startup sequencer). REA session closed; `porting.md` intentionally skipped. + +## Language / libraries +C++ (MSVC RTTI `.?AV…`, `MBISingleton` templates, `__CxxFrameHandler3`, MSVCP100). Same +`Magi*` framework as the other servers (`MagiServerBase`, `MagiServerOption`, `MagiCustomOption`, +`MagiServerFile`, `MagiXmlFormat`, `MagiStatistics`, `MBCLog`, `Magi::Timer`) — see +`docs/SHARED_FRAMEWORK.md`. +Third-party (all already in `third-party/README.md`, no new libraries): ProudNet (incl. `VizC2S/VizS2C` +visualizer RMIs), TinyXML 2.5.x (`TiXml*`), BugTrap, ATL/`_com_error` + ADO (`sqloledb`). + +## Outputs + +| Path | Content | +|---|---| +| `full/functions/.c`, `full/index.tsv` | Ghidra pseudocode, 6,993 non-thunk functions (1 failed: `0x1400203d0`, overlapping varnodes) | +| `full/vtables.tsv` | 1,441 RTTI vftable slots → functions | +| `.pseudo.c` | REA pseudocode for the 19 functions in `ev_7ee0b809…` and `ev_99e67015…` | +| `binary_overview.json` | REA overview record | + +## Findings + +| # | Conclusion | Type | Evidence | +|---|---|---|---| +| 1 | Central hub between Agents (one per machine) and AgentMonitor (operator tool, presumably SMMonitoring): ProudNet server with two stub/proxy pairs: `AGENT2AGENTMANAGER` stub + `AGENTMANAGER2AGENT` proxy (class `MagiAgentManagerNetwork`), `AGENTMONITOR2AGENTMANAGER` stub + `AGENTMANAGER2AGENTMONITOR` proxy (class `MagiAgentManagerMonitorNetwork`) | Observed (RTTI, vftables); "SMMonitoring = AgentMonitor" is **inference** | `full/vtables.tsv` | +| 2 | Agent→AgentManager RMIs 0x8599–0x85a3 (table below); dispatcher `0x140026520`, handlers = `MagiAgentManagerNetwork` vftable `0x14012f1e8` slots 7–17 | Observed | `0x140026520.pseudo.c` | +| 3 | AgentMonitor→AgentManager RMIs 0x8661–0x866c; dispatcher `0x14002c3c0`, handlers = vftable `0x14012f6d8` slots 7–18 | Observed | `0x14002c3c0.pseudo.c` | +| 4 | Outgoing: AgentManager→Agent 0x85fd–0x860d, AgentManager→Monitor 0x86c5–0x86d2 | Observed (proxy functions) | `full/functions/0x140023930.c` … `0x14002c230.c` | +| 5 | Monitor auth (`REQ_AUTH` → `0x140015290`): logs `MONITOR AUTH : ID[%s]`, calls `dbo.up_auth_agentaccount(@Account,@Password)` via ADO (`0x140009d00`), reads column `permission`; permission < 1 → fail; else sends `RESP_AUTH`, server-option list and per-server info to the monitor | Observed | `0x140015290.pseudo.c`, `0x140009d00.pseudo.c`; SP in `decomp/schema/RustyHearts_Auth/procs/up_auth_agentaccount.sql` (plaintext compare against `dbo.AgentAccount`) | +| 6 | DB connection strings come from the option file (finding 11); the ADO layer detects `PROVIDER=`/`DRIVER=` and appends `;Application Name=` (`0x140074210`) | Observed | `full/functions/0x140074210.c` | +| 7 | `PT_SERVER_COMMAND` handler (`0x140015ac0`): refuses with `Not Active Server.!!!` unless option byte `+0x180` set; command 4 = **patch**: launches a configured executable (server-file entry type `0x18`) with `CreateProcessW(…, CREATE_NEW_CONSOLE …)`, logs `FAILED PATCH ON %s`; commands 0–3,5–7,0xd forwarded to agents (`FUN_14000cb70`); 0xc sets a flag at `+0x9c` | Observed; full code table in §Server commands | `0x140015ac0.pseudo.c` | +| 8 | `PT_SERVER_REGISTER` handler (`0x1400137f0`) stores agent/server info by server id; type `0x0d` entries get special handling (marks registered, pushes info to monitors) | Observed; 0x0d = Agent in the server-kind enum (`docs/CONFIG.md` §5) | `0x1400137f0.pseudo.c` | +| 9 | Single instance via mutex `Global\RustyHearts_AgentManager` (same pattern as Agent: ACCESS_DENIED/ALREADY_EXISTS → print, sleep 3 s, fail) | Observed | `0x14001d850.pseudo.c` | +| 10 | Option files actually used: `option\agentmanager_serveroption.xml` (main, path overridable by argv[1]), `option\customoption.xml` (`0x140038530`), `option\agent.xml` (`0x140033ff0`, `` list), `option\total_option.xml` (only when argv[1] is numeric, agent mode, `0x140030300`/`0x14002fe40`), `option\patch.xml` (**written**, not read: `0x140034220` "Create Patch Option File Succeed"). `service_control.xml`: string only, no reader found. Log `Log\AgentManagerServer.log`, protocol log `Log\Protocol_AgentManager` | Observed | `0x140001390`, `0x140002400`, `0x14002fc00` | +| 11 | **DB config**: standalone loader `0x140031000` reads flat `` (→ +0x90/+0x130) and `` (→ +0x108/+0x13c) (plus `db_web`, `db_game`, ignored here). Then `0x140032f70` re-reads the same file for `` and overrides both; if absent it prints `DB PASE ERROR !!!` but continues (non-fatal). The shipped sample uses the flat form, so the override path fails and flat values are used (I for the shipped effect) | Observed | `0x140031000`, `0x140032f70.pseudo.c`, `0x140002400.pseudo.c` | +| 12 | `db_account` connection (→ `RustyHearts_Auth`) is used at startup for: `up_read_agentmanager(@code)` (own `ServerOption` row), `up_read_all_serveroption`, `up_read_serverfile`, `up_read_realtimeevent`, and later `up_auth_agentaccount`. `db_game_log` connection (→ `RustyHearts_Log`) is used for `up_insert_log_monitor_{command,user,notice}`, `up_insert_log_pvp_ladder`, `up_create_delete_table`. Each failed read prints `… Failed !!!`, sleeps 3 s and clears the run flag | Observed (SP names, objects `+0x49460`/`+0x49468`); DB mapping from SP location in schema | `0x140002790.pseudo.c`, `0x140007a20.pseudo.c`, `decomp/schema/` | +| 13 | **Listen ports**: XML `` gives initial values, but `up_read_agentmanager` row whose `Code` == `server.code` **overrides** them (`0x14002fe40`: World, Type, Private/PublicAddress, Private/Public/Udp port, UdpCount). Agent listener (`0x140005460`) binds `PrivateAddress:PrivatePort` (+0x30/+0x80); monitor listener (`0x140006380`, log `MONITOR NETWORK INIT : ADDRESS[%s] PORT[%u]`) binds `PublicAddress:PublicPort` (+0x58/+0x84). Shipped XML: 51091 / 50091; Agent's `agent.xml` `` matches | Observed (code); sample values (S) | `0x140007a20.pseudo.c`, `0x14002fe40.pseudo.c`, `0x140005460.pseudo.c`, `0x140006380.pseudo.c` | +| 14 | `REQ_AGENT_UPDATE/SERVER_ON/AUTO` handlers (`0x1400166d0`/`0x1400169c0`/`0x140016cb0`) send `PT_STRING_COMMAND` (proxy slot 26, 0x8607) with literal `"update"`/`"serveron"`/`"auto"` to the addressed agent. On the Agent (`Agent:0x140005950`): `serveron` → start all its servers (`Agent:0x140009890`); `auto` → toggle global auto-revive (+0x171) and report cmd 7; `update` → iterates its server list and re-reports it (I) | Observed (Manager); Agent side observed except `update` intent | `0x1400169c0.pseudo.c`, `decomp/Agent_Release_x64/full/functions/0x140005950.c` | +| 15 | `PT_PATCH_SERVER` / `PT_BACKUP_CHARACTER_TABLE_COUNT/_END` from agents (slots 15–17) are relayed to monitors (`0x140011840`/`0x140011ba0`/`0x140011cc0` → monitor proxy) | Observed | `full/functions/0x140013f80.c` … `0x140013fd0.c` | +| 16 | Console hotkeys (`0x140003420`, `CConsoleControl`): e.g. 0x32 `CreateBackupTable` → `up_create_delete_table`, 0x33 toggle Active (+0x180), 0x34 reload ServerFile, 0x35 reload ServerOption, print on/off | Observed | `0x140003420.pseudo.c` | +| 17 | RMI payload encryption: every proxy call passes one shared RmiContext `DAT_14016f5d0` whose static image holds only `1` in its first field and zeros elsewhere; no secure-context variant is referenced. Inference: messages are sent with ProudNet's default (unencrypted) mode; runtime initializers or server start parameters could still change this — **unknown** | Observed bytes / inference | `ev_3fe7cbab…` | + +### Server commands (`PT_SERVER_COMMAND` monitor → manager → agent) + +Gate: AgentManager ignores all of these unless its Active flag (+0x180, console hotkey 0x33) is set. + +| Code | AgentManager (`0x140015ac0`) | Agent (`Agent:0x14000e1e0`) | +|---|---|---| +| 0 | forward | **server on**: launch target server (`Agent:0x140008ea0`) | +| 1 | forward | **kill** target server by PID (`OpenProcess`+`TerminateProcess`, `Agent:0x140009720`) | +| 2, 5, 6, 0xd | forward | forwarded to the game server as `AGENT2SERVER PT_SERVER_COMMAND` (0x84d2); meaning is server-side. On DBCServer (`DBC:0x140153f00`): 1/2/5/6/8 set flags, 0xd toggles a flag (+0xd), 7 toggles auto-revive. That 0xd triggers the character-table backup is **inference** (adjacent `PT_BACKUP_CHARACTER_TABLE_*` RMIs and string `CharacterTable BackUp.`) | +| 3 | forward | log `REQ_SERVER_KILL`, then same as 1 | +| 4 | **patch**: if no patch server registered, writes `option\patch.xml`, launches `ServerFile` type 0x18 (PatchServer, not shipped) with `CREATE_NEW_CONSOLE`; logs `FAILED PATCH ON %s` on failure; then forwards | turns global auto-revive off, launches the patcher, logs `SUCCEED PATCH ON %s` (`Agent:0x14000a080`) | +| 7 | forward | if addressed to the agent's own code: toggle global auto-revive (+0x171) | +| 8, 9, 0xa | not forwarded (outside AgentManager's switch) | no-op | +| 0xb | not forwarded | toggle per-server auto-revive (reached only from other paths) | +| 0xc | **ordered start-all**: sets flag, main loop runs sequencer `0x140003d00`; not forwarded | no-op | + +Sequencer (`0x140003d00`, one step per 100 ms tick; odd steps wait until every server of the group reports state 3, even steps send cmd 0 to stopped ones): +1–2 DBC kinds 12/17/18/19 → 3 `up_create_delete_table` (log DB) → 4 send cmd 0xd to every DBC_GAME (12) → 6–7 MSG/GATE/MANAGER/AUCTION/MATCH (6,8,9,10,11) → 8–9 GM/Guild (7,5) → 10–11 Lobby (1) → 12–13 Dungeon/PvP (2,3) → 14 done. + + +### RMI tables + +| ID | Agent → AgentManager | ID | Monitor → AgentManager | +|---|---|---|---| +| 0x8599 | PT_SERVER_REGISTER | 0x8661 | REQ_AUTH | +| 0x859a | PT_SERVER_INFORMATION | 0x8662 | REQ_SERVER_INFORMATION | +| 0x859b | PT_SERVER_COMMAND_RESULT | 0x8663 | PT_SERVER_COMMAND | +| 0x859c | PWE_RESP_RESULT_CODE | 0x8664 | PT_SERVER_NOTICE | +| 0x859d | NOTIFY_STORAGE_ALARM | 0x8665 | PT_IP_BLOCK | +| 0x859e | NOTIFY_MAIL_ALARM | 0x8666 | PT_CHANNEL_STATUS_CHANGE | +| 0x859f | REQ_STATISTICS | 0x8667 | PT_USER_KICK | +| 0x85a0 | PT_MESSAGE | 0x8668 | PT_STRING_COMMAND | +| 0x85a1 | PT_PATCH_SERVER | 0x8669 | PT_REAL_TIME_EVENT | +| 0x85a2 | PT_BACKUP_CHARACTER_TABLE_COUNT | 0x866a | REQ_AGENT_UPDATE | +| 0x85a3 | PT_BACKUP_CHARACTER_TABLE_END | 0x866b | REQ_AGENT_SERVER_ON | +| | | 0x866c | REQ_AGENT_AUTO | + +| ID | AgentManager → Agent | ID | AgentManager → Monitor | +|---|---|---|---| +| 0x85fd | PT_AGENT_DATA | 0x86c5 | RESP_AUTH | +| 0x85fe | PT_SERVER_OPTIONS | 0x86c6 | RESP_SERVER_OPTION | +| 0x85ff | PT_SERVER_NOTICE | 0x86c7 | RESP_SERVER_REGISTER | +| 0x8600 | PT_SERVER_COMMAND | 0x86c8 | RESP_SERVER_INFORMATION | +| 0x8601 | PT_SERVER_CONNECT | 0x86c9 | PT_SERVER_COMMAND_RESULT | +| 0x8602 | PT_REFRESH_SERVER_FILE | 0x86ca | RESP_REGISTER_MASTER | +| 0x8603 | PT_REFRESH_SERVER_OPTION | 0x86cb | RESP_MASTER_SERVER_COMMAND | +| 0x8604 | PT_CHANNEL_STATUS_CHANGE | 0x86cc | RESP_REAL_TIME_EVENT | +| 0x8605 | PT_USER_KICK | 0x86cd | NOTIFY_STORAGE_ALARM | +| 0x8606 | PT_CURRENT_USER_COUNT | 0x86ce | NOTIFY_MAIL_ALARM | +| 0x8607 | PT_STRING_COMMAND | 0x86cf | PT_MESSAGE | +| 0x8608 | PT_REAL_TIME_EVENT | 0x86d0 | PT_PATCH_SERVER | +| 0x8609 | PWE_REQ_PLAYER_KICK | 0x86d1 | PT_BACKUP_CHARACTER_TABLE_COUNT | +| 0x860a | PWE_REQ_PLAYER_BAN | 0x86d2 | PT_BACKUP_CHARACTER_TABLE_END | +| 0x860b | PWE_REQ_UPDATE_CASH | | | +| 0x860c | PWE_REQ_INSERT_ITEM | | | +| 0x860d | PWE_REQ_NOTICE | | | + +Cross-check (resolved): Agent's `AgentManager2AgentStub` = 7 base slots + 17 RMI slots; its dispatcher (`Agent:0x14001d960`) handles exactly 0x85fd–0x860d with the same names. IDs match. + +## Proposed names (not applied) + +| Address | Name | +|---|---| +| `0x140026520` | `RNP::Agent2AgentManagerStub::ProcessReceivedMessage` | +| `0x14002c3c0` | `RNP::AgentMonitor2AgentManagerStub::ProcessReceivedMessage` | +| `0x140015290` | `MagiAgentManagerMonitorNetwork::REQ_AUTH` | +| `0x140009d00` | `AuthAgentAccount(account, password, &permission)` | +| `0x1400137f0` | `MagiAgentManagerNetwork::PT_SERVER_REGISTER` | +| `0x140015ac0` | `MagiAgentManagerMonitorNetwork::PT_SERVER_COMMAND` | +| `0x14001d850` | `AcquireSingleInstanceMutex` | +| `0x140074210` | `AdoConnection::BuildConnectionString` | +| `0x140001390` | `wmain` | +| `0x140002400` | `MagiAgentManagerServer::Init` (load options) | +| `0x140002790` | `MagiAgentManagerServer::Run` (DB load, networks, main loop) | +| `0x140031000` | `MagiServerOption::LoadServerXml` | +| `0x140032f70` | `MagiServerOption::LoadAgentManagerDb` | +| `0x14002fe40` | `MagiServerOption::ApplyServerOptionRow` | +| `0x140007a20` | `DbReadAgentManager` | +| `0x140005460` | `MagiAgentManagerNetwork::Start` | +| `0x140006380` | `MagiAgentManagerMonitorNetwork::Start` | +| `0x140003d00` | `StartAllSequencer::Step` | +| `0x140034220` | `WritePatchOptionFile` | +| `0x140003420` | `CConsoleControl::OnKey` | + +## Remaining unknowns +- Exact meaning of codes 2, 5, 6, 0xd on each game-server kind (only DBC's flag handler was checked; its consumer of the 0xd flag was not traced). +- Whether ProudNet encryption is enabled at runtime (finding 17). +- Agent `update` string-command intent. +- `service_control.xml`: no reader found in this binary. diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140001020.c b/decomp/AgentManager_Release_x64/full/functions/0x140001020.c new file mode 100644 index 00000000..020ded47 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140001020.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140001020 FUN_140001020 + * Pseudocode, not original source. */ + +exception * FUN_140001020(exception *param_1,uint param_2) + +{ + *(undefined ***)param_1 = std::bad_alloc::vftable; + std::exception::~exception(param_1); + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140001060.c b/decomp/AgentManager_Release_x64/full/functions/0x140001060.c new file mode 100644 index 00000000..c0587a6e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140001060.c @@ -0,0 +1,65 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140001060 FUN_140001060 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +undefined8 FUN_140001060(longlong param_1) + +{ + PCONSOLE_SCREEN_BUFFER_INFO lpConsoleScreenBufferInfo; + DWORD DVar1; + BOOL BVar2; + wchar_t *pwVar3; + wchar_t *pwVar4; + ulonglong uVar5; + HANDLE pvVar6; + undefined1 auStack_268 [32]; + undefined8 local_248; + undefined8 local_240; + WCHAR local_228; + undefined1 local_226 [526]; + ulonglong local_18; + + local_18 = DAT_14016f5a0 ^ (ulonglong)auStack_268; + DVar1 = GetCurrentProcessId(); + *(DWORD *)(param_1 + 0x450) = DVar1; + local_228 = L'\0'; + memset(local_226,0,0x206); + DVar1 = GetModuleFileNameW((HMODULE)0x0,&local_228,0x104); + if (0 < (int)DVar1) { + pwVar3 = wcsrchr(&local_228,L'\\'); + pwVar4 = wcsrchr(&local_228,L'.'); + uVar5 = (longlong)pwVar4 + (-2 - (longlong)pwVar3) >> 1; + if (0x104 < uVar5) { + uVar5 = 0x104; + } + memcpy((void *)(param_1 + 0x3c),pwVar3 + 1,uVar5 * 2); + FUN_140001260(param_1,param_1 + 0x3c); + pvVar6 = GetStdHandle(0xfffffff5); + *(HANDLE *)(param_1 + 8) = pvVar6; + if (pvVar6 != (HANDLE)0xffffffffffffffff) { + FUN_1400011d0(param_1); + pvVar6 = *(HANDLE *)(param_1 + 8); + if (pvVar6 != (HANDLE)0xffffffffffffffff) { + lpConsoleScreenBufferInfo = (PCONSOLE_SCREEN_BUFFER_INFO)(param_1 + 0x10); + local_248 = 0; + local_240 = 0; + (lpConsoleScreenBufferInfo->dwSize).X = 0; + (lpConsoleScreenBufferInfo->dwSize).Y = 0; + (lpConsoleScreenBufferInfo->dwCursorPosition).X = 0; + (lpConsoleScreenBufferInfo->dwCursorPosition).Y = 0; + *(undefined8 *)(param_1 + 0x18) = 0; + *(undefined4 *)(param_1 + 0x20) = 0; + *(undefined2 *)(param_1 + 0x24) = 0; + BVar2 = GetConsoleScreenBufferInfo(pvVar6,lpConsoleScreenBufferInfo); + if (BVar2 != 0) { + *(undefined2 *)(param_1 + 0x454) = *(undefined2 *)(param_1 + 0x18); + } + } + return 1; + } + } + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400011d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400011d0.c new file mode 100644 index 00000000..b27b23a3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400011d0.c @@ -0,0 +1,26 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400011d0 FUN_1400011d0 + * Pseudocode, not original source. */ + +BOOL FUN_1400011d0(longlong param_1) + +{ + BOOL BVar1; + DWORD local_res10 [2]; + + if (*(HANDLE *)(param_1 + 8) == (HANDLE)0xffffffffffffffff) { + return 0; + } + BVar1 = GetConsoleScreenBufferInfo + (*(HANDLE *)(param_1 + 8),(PCONSOLE_SCREEN_BUFFER_INFO)(param_1 + 0x26)); + if (BVar1 == 0) { + return 0; + } + FillConsoleOutputAttribute + (*(HANDLE *)(param_1 + 8),*(ushort *)(param_1 + 0x2e) & 0xf | 0x10, + (int)*(short *)(param_1 + 0x28) * (int)*(short *)(param_1 + 0x26),(COORD)0x0, + local_res10); + BVar1 = SetConsoleTextAttribute(*(HANDLE *)(param_1 + 8),0x17); + return BVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140001260.c b/decomp/AgentManager_Release_x64/full/functions/0x140001260.c new file mode 100644 index 00000000..52c5ba36 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140001260.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140001260 FUN_140001260 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_140001260(longlong param_1,longlong param_2) + +{ + longlong lVar1; + ulonglong uVar2; + undefined1 auStack_248 [32]; + wchar_t local_228; + undefined1 local_226 [526]; + ulonglong local_18; + + local_18 = DAT_14016f5a0 ^ (ulonglong)auStack_248; + uVar2 = (ulonglong)*(uint *)(param_1 + 0x450); + lVar1 = param_1 + 0x3c; + if (param_2 != 0) { + lVar1 = param_2; + } + FUN_140001b20((wchar_t *)(param_1 + 0x246),L"%s [%d]",lVar1,uVar2); + local_228 = L'\0'; + memset(local_226,0,0x206); + FUN_140001af0(&local_228,L"%s",(wchar_t *)(param_1 + 0x246),uVar2); + SetConsoleTitleW(&local_228); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140001300.c b/decomp/AgentManager_Release_x64/full/functions/0x140001300.c new file mode 100644 index 00000000..aecfe0a7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140001300.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140001300 FUN_140001300 + * Pseudocode, not original source. */ + +undefined8 * FUN_140001300(undefined8 *param_1,byte param_2) + +{ + DAT_14017c8b0 = 0; + *param_1 = MBISingleton::vftable; + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140001340.c b/decomp/AgentManager_Release_x64/full/functions/0x140001340.c new file mode 100644 index 00000000..0305e8b4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140001340.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140001340 FUN_140001340 + * Pseudocode, not original source. */ + +void FUN_140001340(undefined8 param_1,undefined8 param_2,undefined8 param_3) + +{ + FUN_1400ef7a0(DAT_14017c8a8,L"Invalid parameter detected in function %s. File: %s Line: %d\n", + param_2,param_3); + FUN_1400ef7a0(DAT_14017c8a8,L"Expression: %s\n",param_1,param_3); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140001390.c b/decomp/AgentManager_Release_x64/full/functions/0x140001390.c new file mode 100644 index 00000000..c9083a00 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140001390.c @@ -0,0 +1,89 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140001390 FUN_140001390 + * Pseudocode, not original source. */ + +/* WARNING: Function: __chkstk replaced with injection: alloca_probe */ + +undefined8 FUN_140001390(int param_1,longlong param_2,undefined8 param_3,longlong **param_4) + +{ + short sVar1; + undefined4 uVar2; + DWORD DVar3; + _invalid_parameter_handler _Handler; + undefined8 *puVar4; + ulonglong uVar5; + PHANDLE ProcessHeaps; + LPCWSTR pWVar6; + short *psVar7; + HANDLE *ppvVar8; + undefined8 **HeapInformation; + undefined8 *local_res18; + undefined8 local_res20; + HANDLE local_2028; + undefined1 local_2020 [8192]; + undefined8 uStack_20; + + uStack_20 = 0x14000139e; + DAT_14017ce74 = timeGetTime(); + FUN_14001d810(&local_res20); + uVar2 = FUN_14001d850(&local_res20); + if ((char)uVar2 != '\0') { + FUN_14001d8c0(); + FUN_140001580(); + FUN_140001060((longlong)DAT_14017c8b0); + if (1 < param_1) { + uVar5 = 0xffffffffffffffff; + psVar7 = *(short **)(param_2 + 8); + do { + if (uVar5 == 0) break; + uVar5 = uVar5 - 1; + sVar1 = *psVar7; + psVar7 = psVar7 + 1; + } while (sVar1 != 0); + FUN_140001710((ulonglong *)&DAT_140175020,*(short **)(param_2 + 8),~uVar5 - 1); + } + puVar4 = (undefined8 *)0x0; + local_2028 = (HANDLE)0x0; + HeapInformation = (undefined8 **)0x2000; + memset(local_2020,0,0x2000); + ProcessHeaps = &local_2028; + DVar3 = GetProcessHeaps(0x400,ProcessHeaps); + if (DVar3 != 0) { + ppvVar8 = &local_2028; + uVar5 = (ulonglong)DVar3; + do { + local_res18 = (undefined8 *)CONCAT44(local_res18._4_4_,2); + param_4 = (longlong **)0x4; + HeapInformation = &local_res18; + ProcessHeaps = (PHANDLE)0x0; + HeapSetInformation(*ppvVar8,HeapCompatibilityInformation,HeapInformation,4); + ppvVar8 = ppvVar8 + 1; + uVar5 = uVar5 - 1; + } while (uVar5 != 0); + } + _Handler = _set_invalid_parameter_handler(FUN_140001340); + local_res18 = operator_new(0x494a8); + if (local_res18 != (undefined8 *)0x0) { + puVar4 = FUN_1400022b0(local_res18,ProcessHeaps,HeapInformation,param_4); + } + pWVar6 = (LPCWSTR)&DAT_140175020; + if (7 < DAT_140175038) { + pWVar6 = DAT_140175020; + } + DAT_14017c8b8 = puVar4; + FUN_140002400(pWVar6,ProcessHeaps,HeapInformation,param_4); + FUN_140002790((longlong)DAT_14017c8b8,ProcessHeaps,HeapInformation,param_4); + FUN_140002670((longlong)DAT_14017c8b8); + if (DAT_14017c8b8 != (undefined8 *)0x0) { + (**(code **)*DAT_14017c8b8)(DAT_14017c8b8,1); + } + if (DAT_14017c8b0 != (undefined8 *)0x0) { + (**(code **)*DAT_14017c8b0)(DAT_14017c8b0,1); + } + _set_invalid_parameter_handler(_Handler); + } + FUN_14001d820(&local_res20); + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140001550.c b/decomp/AgentManager_Release_x64/full/functions/0x140001550.c new file mode 100644 index 00000000..9515d67f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140001550.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140001550 FUN_140001550 + * Pseudocode, not original source. */ + +void FUN_140001550(undefined8 *param_1) + +{ + if (7 < (ulonglong)param_1[3]) { + operator_delete((void *)*param_1); + } + param_1[3] = 7; + param_1[2] = 0; + *(undefined2 *)param_1 = 0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140001580.c b/decomp/AgentManager_Release_x64/full/functions/0x140001580.c new file mode 100644 index 00000000..29cb3031 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140001580.c @@ -0,0 +1,32 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140001580 FUN_140001580 + * Pseudocode, not original source. */ + +void FUN_140001580(void) + +{ + undefined8 *puVar1; + + puVar1 = operator_new(0x458); + if (puVar1 != (undefined8 *)0x0) { + puVar1[2] = 0; + *(undefined8 *)((longlong)puVar1 + 0x26) = 0; + puVar1[3] = 0; + *(undefined8 *)((longlong)puVar1 + 0x2e) = 0; + *(undefined4 *)(puVar1 + 4) = 0; + *(undefined4 *)((longlong)puVar1 + 0x36) = 0; + *(undefined2 *)((longlong)puVar1 + 0x24) = 0; + *(undefined2 *)((longlong)puVar1 + 0x3a) = 0; + *puVar1 = CConsoleControl::vftable; + puVar1[1] = 0xffffffffffffffff; + *(undefined4 *)(puVar1 + 0x8a) = 0; + memset((void *)((longlong)puVar1 + 0x3c),0,0x20a); + memset((void *)((longlong)puVar1 + 0x246),0,0x20a); + DAT_14017c8b0 = puVar1; + *(undefined2 *)((longlong)puVar1 + 0x454) = 0x17; + return; + } + DAT_14017c8b0 = (undefined8 *)0x0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140001630.c b/decomp/AgentManager_Release_x64/full/functions/0x140001630.c new file mode 100644 index 00000000..b40b15f9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140001630.c @@ -0,0 +1,48 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140001630 FUN_140001630 + * Pseudocode, not original source. */ + +longlong * FUN_140001630(longlong *param_1,longlong *param_2,ulonglong param_3,ulonglong param_4) + +{ + code *pcVar1; + char cVar2; + longlong *plVar3; + ulonglong uVar4; + + if (param_3 <= (ulonglong)param_2[2]) { + uVar4 = param_2[2] - param_3; + if (param_4 < uVar4) { + uVar4 = param_4; + } + if (param_1 == param_2) { + FUN_140001800(param_1,uVar4 + param_3,0xffffffffffffffff); + FUN_140001800(param_1,0,param_3); + } + else { + cVar2 = FUN_1400018a0(param_1,uVar4); + if (cVar2 != '\0') { + if (7 < (ulonglong)param_2[3]) { + param_2 = (longlong *)*param_2; + } + plVar3 = param_1; + if (7 < (ulonglong)param_1[3]) { + plVar3 = (longlong *)*param_1; + } + memcpy(plVar3,(void *)((longlong)param_2 + param_3 * 2),uVar4 * 2); + param_1[2] = uVar4; + plVar3 = param_1; + if (7 < (ulonglong)param_1[3]) { + plVar3 = (longlong *)*param_1; + } + *(undefined2 *)((longlong)plVar3 + uVar4 * 2) = 0; + } + } + return param_1; + } + std::_Xout_of_range("invalid string position"); + pcVar1 = (code *)swi(3); + plVar3 = (longlong *)(*pcVar1)(); + return plVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140001710.c b/decomp/AgentManager_Release_x64/full/functions/0x140001710.c new file mode 100644 index 00000000..49f376e8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140001710.c @@ -0,0 +1,51 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140001710 FUN_140001710 + * Pseudocode, not original source. */ + +ulonglong * FUN_140001710(ulonglong *param_1,void *param_2,ulonglong param_3) + +{ + ulonglong uVar1; + char cVar2; + ulonglong *puVar3; + + if (param_2 != (void *)0x0) { + uVar1 = param_1[3]; + puVar3 = param_1; + if (7 < uVar1) { + puVar3 = (ulonglong *)*param_1; + } + if (puVar3 <= param_2) { + puVar3 = param_1; + if (7 < uVar1) { + puVar3 = (ulonglong *)*param_1; + } + if (param_2 < (void *)((longlong)puVar3 + param_1[2] * 2)) { + puVar3 = param_1; + if (7 < uVar1) { + puVar3 = (ulonglong *)*param_1; + } + puVar3 = (ulonglong *) + FUN_140001630((longlong *)param_1,(longlong *)param_1, + (longlong)param_2 - (longlong)puVar3 >> 1,param_3); + return puVar3; + } + } + } + cVar2 = FUN_1400018a0(param_1,param_3); + if (cVar2 != '\0') { + puVar3 = param_1; + if (7 < param_1[3]) { + puVar3 = (ulonglong *)*param_1; + } + memcpy(puVar3,param_2,param_3 * 2); + param_1[2] = param_3; + puVar3 = param_1; + if (7 < param_1[3]) { + puVar3 = (ulonglong *)*param_1; + } + *(undefined2 *)(param_3 * 2 + (longlong)puVar3) = 0; + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140001800.c b/decomp/AgentManager_Release_x64/full/functions/0x140001800.c new file mode 100644 index 00000000..b3060c51 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140001800.c @@ -0,0 +1,43 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140001800 FUN_140001800 + * Pseudocode, not original source. */ + +undefined8 * FUN_140001800(undefined8 *param_1,ulonglong param_2,ulonglong param_3) + +{ + longlong lVar1; + code *pcVar2; + undefined8 *puVar3; + undefined8 *puVar4; + ulonglong uVar5; + + if ((ulonglong)param_1[2] < param_2) { + std::_Xout_of_range("invalid string position"); + pcVar2 = (code *)swi(3); + puVar3 = (undefined8 *)(*pcVar2)(); + return puVar3; + } + uVar5 = param_1[2] - param_2; + if (uVar5 < param_3) { + param_3 = uVar5; + } + if (param_3 != 0) { + puVar4 = param_1; + puVar3 = param_1; + if (7 < (ulonglong)param_1[3]) { + puVar4 = (undefined8 *)*param_1; + puVar3 = (undefined8 *)*param_1; + } + memmove((void *)((longlong)puVar4 + param_2 * 2), + (void *)((longlong)puVar3 + (param_2 + param_3) * 2),(uVar5 - param_3) * 2); + lVar1 = param_1[2]; + param_1[2] = lVar1 - param_3; + puVar3 = param_1; + if (7 < (ulonglong)param_1[3]) { + puVar3 = (undefined8 *)*param_1; + } + *(undefined2 *)((longlong)puVar3 + (lVar1 - param_3) * 2) = 0; + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400018a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400018a0.c new file mode 100644 index 00000000..3278ba8c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400018a0.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400018a0 FUN_1400018a0 + * Pseudocode, not original source. */ + +undefined1 FUN_1400018a0(undefined8 *param_1,ulonglong param_2) + +{ + code *pcVar1; + undefined1 uVar2; + + if (0x7ffffffffffffffe < param_2) { + std::_Xlength_error("string too long"); + pcVar1 = (code *)swi(3); + uVar2 = (*pcVar1)(); + return uVar2; + } + if ((ulonglong)param_1[3] < param_2) { + FUN_140001920(param_1,param_2,param_1[2]); + return param_2 != 0; + } + if (param_2 == 0) { + param_1[2] = 0; + if (7 < (ulonglong)param_1[3]) { + param_1 = (undefined8 *)*param_1; + } + *(undefined2 *)param_1 = 0; + } + return param_2 != 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140001920.c b/decomp/AgentManager_Release_x64/full/functions/0x140001920.c new file mode 100644 index 00000000..b54f619a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140001920.c @@ -0,0 +1,55 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140001920 FUN_140001920 + * Pseudocode, not original source. */ + +void FUN_140001920(undefined8 *param_1,ulonglong param_2,longlong param_3) + +{ + ulonglong uVar1; + undefined8 *_Dst; + ulonglong uVar2; + undefined8 *_Src; + ulonglong uVar3; + char *local_res20; + undefined **local_40 [3]; + + uVar3 = param_2 | 7; + if (uVar3 < 0x7fffffffffffffff) { + uVar1 = param_1[3]; + uVar2 = uVar1 >> 1; + param_2 = uVar3; + if ((uVar3 / 3 < uVar2) && (param_2 = uVar2 + uVar1, 0x7ffffffffffffffe - uVar2 < uVar1)) { + param_2 = 0x7ffffffffffffffe; + } + } + uVar3 = param_2 + 1; + _Dst = (undefined8 *)0x0; + if ((uVar3 != 0) && + ((0x7fffffffffffffff < uVar3 || (_Dst = operator_new(uVar3 * 2), _Dst == (undefined8 *)0x0)))) + { + local_res20 = (char *)0x0; + std::exception::exception((exception *)local_40,&local_res20); + local_40[0] = std::bad_alloc::vftable; + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_40,(ThrowInfo *)&DAT_14016c158); + } + if (param_3 != 0) { + _Src = param_1; + if (7 < (ulonglong)param_1[3]) { + _Src = (undefined8 *)*param_1; + } + memcpy(_Dst,_Src,param_3 * 2); + } + if (7 < (ulonglong)param_1[3]) { + operator_delete((void *)*param_1); + } + *param_1 = _Dst; + param_1[3] = param_2; + param_1[2] = param_3; + if (7 < param_2) { + param_1 = _Dst; + } + *(undefined2 *)((longlong)param_1 + param_3 * 2) = 0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140001a80.c b/decomp/AgentManager_Release_x64/full/functions/0x140001a80.c new file mode 100644 index 00000000..7b3f7ebb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140001a80.c @@ -0,0 +1,25 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140001a80 FUN_140001a80 + * Pseudocode, not original source. */ + +void * FUN_140001a80(ulonglong param_1) + +{ + void *pvVar1; + char *local_res8 [4]; + undefined **local_28 [5]; + + if (param_1 == 0) { + return (void *)0x0; + } + if ((param_1 < 0x8000000000000000) && (pvVar1 = operator_new(param_1 * 2), pvVar1 != (void *)0x0)) + { + return pvVar1; + } + local_res8[0] = (char *)0x0; + std::exception::exception((exception *)local_28,local_res8); + local_28[0] = std::bad_alloc::vftable; + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_28,(ThrowInfo *)&DAT_14016c158); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140001af0.c b/decomp/AgentManager_Release_x64/full/functions/0x140001af0.c new file mode 100644 index 00000000..528e3e08 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140001af0.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140001af0 FUN_140001af0 + * Pseudocode, not original source. */ + +void FUN_140001af0(wchar_t *param_1,wchar_t *param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 local_res18; + undefined8 local_res20; + + local_res18 = param_3; + local_res20 = param_4; + vswprintf_s(param_1,0x104,param_2,(va_list)&local_res18); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140001b20.c b/decomp/AgentManager_Release_x64/full/functions/0x140001b20.c new file mode 100644 index 00000000..053cc366 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140001b20.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140001b20 FUN_140001b20 + * Pseudocode, not original source. */ + +void FUN_140001b20(wchar_t *param_1,wchar_t *param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 local_res18; + undefined8 local_res20; + + local_res18 = param_3; + local_res20 = param_4; + vswprintf_s(param_1,0x105,param_2,(va_list)&local_res18); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140001b50.c b/decomp/AgentManager_Release_x64/full/functions/0x140001b50.c new file mode 100644 index 00000000..214ad83c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140001b50.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140001b50 FUN_140001b50 + * Pseudocode, not original source. */ + +exception * FUN_140001b50(exception *param_1,exception *param_2) + +{ + std::exception::exception(param_1,param_2); + *(undefined ***)param_1 = std::bad_alloc::vftable; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140001b80.c b/decomp/AgentManager_Release_x64/full/functions/0x140001b80.c new file mode 100644 index 00000000..858694e2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140001b80.c @@ -0,0 +1,20 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140001b80 FUN_140001b80 + * Pseudocode, not original source. */ + +undefined8 * FUN_140001b80(undefined8 *param_1,uint param_2) + +{ + *param_1 = MagiServerBase::vftable; + if ((void *)param_1[2] != (void *)0x0) { + operator_delete((void *)param_1[2]); + } + param_1[2] = 0; + param_1[3] = 0; + param_1[4] = 0; + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140001be0.c b/decomp/AgentManager_Release_x64/full/functions/0x140001be0.c new file mode 100644 index 00000000..a14f1c5d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140001be0.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140001be0 FUN_140001be0 + * Pseudocode, not original source. */ + +void FUN_140001be0(undefined8 *param_1) + +{ + *param_1 = MagiServerBase::vftable; + if ((void *)param_1[2] != (void *)0x0) { + operator_delete((void *)param_1[2]); + } + param_1[2] = 0; + param_1[3] = 0; + param_1[4] = 0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140001c20.c b/decomp/AgentManager_Release_x64/full/functions/0x140001c20.c new file mode 100644 index 00000000..a1e5ad22 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140001c20.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140001c20 FUN_140001c20 + * Pseudocode, not original source. */ + +void FUN_140001c20(longlong *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140049e40(param_1 + 4); + FUN_140002190(param_1,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140001c50.c b/decomp/AgentManager_Release_x64/full/functions/0x140001c50.c new file mode 100644 index 00000000..b0319712 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140001c50.c @@ -0,0 +1,46 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140001c50 FUN_140001c50 + * Pseudocode, not original source. */ + +longlong * FUN_140001c50(longlong *param_1,undefined8 *param_2) + +{ + ulonglong uVar1; + code *pcVar2; + char cVar3; + longlong *plVar4; + ulonglong uVar5; + + uVar5 = 0xffffffffffffffff; + if (param_2[2] != 0xffffffffffffffff) { + uVar5 = param_2[2]; + } + if (uVar5 < -param_1[2] - 1U) { + if (uVar5 != 0) { + uVar1 = param_1[2] + uVar5; + cVar3 = FUN_1400018a0(param_1,uVar1); + if (cVar3 != '\0') { + if (7 < (ulonglong)param_2[3]) { + param_2 = (undefined8 *)*param_2; + } + plVar4 = param_1; + if (7 < (ulonglong)param_1[3]) { + plVar4 = (longlong *)*param_1; + } + memcpy((void *)((longlong)plVar4 + param_1[2] * 2),param_2,uVar5 * 2); + param_1[2] = uVar1; + plVar4 = param_1; + if (7 < (ulonglong)param_1[3]) { + plVar4 = (longlong *)*param_1; + } + *(undefined2 *)((longlong)plVar4 + uVar1 * 2) = 0; + } + } + return param_1; + } + std::_Xlength_error("string too long"); + pcVar2 = (code *)swi(3); + plVar4 = (longlong *)(*pcVar2)(); + return plVar4; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140001d10.c b/decomp/AgentManager_Release_x64/full/functions/0x140001d10.c new file mode 100644 index 00000000..16e159e0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140001d10.c @@ -0,0 +1,76 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140001d10 FUN_140001d10 + * Pseudocode, not original source. */ + +void FUN_140001d10(longlong *param_1,int param_2) + +{ + undefined *puVar1; + int *piVar2; + int iVar3; + undefined4 in_register_00000014; + undefined *puVar4; + undefined8 in_R8; + ulonglong uVar5; + undefined8 in_R9; + + puVar4 = PTR_DAT_14016f010; + puVar1 = (undefined *)*param_1; + if ((undefined *)*param_1 == (undefined *)0x0) { + puVar1 = PTR_DAT_14016f010; + } + *param_1 = (longlong)puVar1; + if (param_2 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (param_2 == 0) { + FUN_140002190(param_1,CONCAT44(in_register_00000014,param_2),in_R8,in_R9); + return; + } + iVar3 = 0; + if (puVar1 != (undefined *)0x0) { + if (puVar1 == puVar4) { + iVar3 = 0; + } + else { + iVar3 = *(int *)(puVar1 + -8); + } + } + if (param_2 != iVar3) { + piVar2 = (int *)FUN_14003e840((longlong)param_2 * 2 + 10); + if (piVar2 != (int *)0x0) { + *piVar2 = 0; + piVar2[1] = 1; + } + puVar1 = PTR_DAT_14016f010; + *piVar2 = param_2; + puVar4 = (undefined *)*param_1; + if (puVar4 == (undefined *)0x0) { + iVar3 = 0; + } + else if (puVar4 == puVar1) { + iVar3 = 0; + } + else { + iVar3 = *(int *)(puVar4 + -8); + } + if (iVar3 <= param_2) { + if ((puVar4 == (undefined *)0x0) || (puVar4 == puVar1)) { + param_2 = 0; + } + else { + param_2 = *(int *)(puVar4 + -8); + } + } + if (puVar4 == (undefined *)0x0) { + puVar4 = puVar1; + } + uVar5 = (ulonglong)(uint)param_2; + FUN_14003e650(piVar2 + 2,puVar4,param_2); + FUN_140002190(param_1,puVar4,uVar5,in_R9); + *param_1 = (longlong)(piVar2 + 2); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140001df0.c b/decomp/AgentManager_Release_x64/full/functions/0x140001df0.c new file mode 100644 index 00000000..2aa8a225 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140001df0.c @@ -0,0 +1,73 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140001df0 FUN_140001df0 + * Pseudocode, not original source. */ + +void FUN_140001df0(longlong *param_1) + +{ + int iVar1; + undefined *puVar2; + undefined8 *puVar3; + uint *puVar4; + uint uVar5; + uint uVar6; + undefined *puVar7; + ulonglong uVar8; + undefined8 in_R9; + + puVar7 = (undefined *)*param_1; + if (puVar7 == (undefined *)0x0) { + *param_1 = (longlong)PTR_DAT_14016f010; + } + else if ((puVar7 != PTR_DAT_14016f010) && ((int *)(puVar7 + -8) != (int *)0x0)) { + if (*(int *)(puVar7 + -4) < 2) { + return; + } + iVar1 = *(int *)(puVar7 + -8); + if (iVar1 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + puVar4 = (uint *)FUN_14003e840((longlong)iVar1 * 2 + 10); + uVar5 = 0; + if (puVar4 != (uint *)0x0) { + *puVar4 = 0; + puVar4[1] = 1; + } + puVar2 = PTR_DAT_14016f010; + puVar7 = (undefined *)*param_1; + if (puVar7 == (undefined *)0x0) { + uVar6 = 0; + } + else { + uVar6 = uVar5; + if (puVar7 != PTR_DAT_14016f010) { + uVar6 = *(uint *)(puVar7 + -8); + } + } + *puVar4 = uVar6; + puVar7 = (undefined *)*param_1; + if ((puVar7 != (undefined *)0x0) && (puVar7 != puVar2)) { + uVar5 = *(uint *)(puVar7 + -8); + } + if (puVar7 == (undefined *)0x0) { + puVar7 = puVar2; + } + uVar8 = (ulonglong)uVar5; + FUN_14003e650(puVar4 + 2,puVar7,uVar5); + FUN_140002190(param_1,puVar7,uVar8,in_R9); + *param_1 = (longlong)(puVar4 + 2); + return; + } + puVar3 = (undefined8 *)FUN_14003e840(10); + *puVar3 = 0; + *(undefined2 *)(puVar3 + 1) = 0; + if (puVar3 != (undefined8 *)0x0) { + *(undefined4 *)puVar3 = 0; + *(undefined4 *)((longlong)puVar3 + 4) = 1; + } + *(undefined2 *)(puVar3 + 1) = 0; + *param_1 = (longlong)(puVar3 + 1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140001ee0.c b/decomp/AgentManager_Release_x64/full/functions/0x140001ee0.c new file mode 100644 index 00000000..e224eff6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140001ee0.c @@ -0,0 +1,39 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140001ee0 FUN_140001ee0 + * Pseudocode, not original source. */ + +undefined * FUN_140001ee0(longlong *param_1,int param_2) + +{ + int iVar1; + undefined *puVar2; + int iVar3; + + puVar2 = (undefined *)*param_1; + iVar3 = 0; + if ((puVar2 != (undefined *)0x0) && (puVar2 != PTR_DAT_14016f010)) { + iVar3 = *(int *)(puVar2 + -8); + } + if (((param_2 <= iVar3) && (param_2 = 0, puVar2 != (undefined *)0x0)) && + (puVar2 != PTR_DAT_14016f010)) { + param_2 = *(int *)(puVar2 + -8); + } + iVar3 = 1; + if (1 < param_2) { + iVar3 = param_2; + } + iVar1 = 0; + if ((puVar2 != (undefined *)0x0) && (iVar1 = 0, puVar2 != PTR_DAT_14016f010)) { + iVar1 = *(int *)(puVar2 + -8); + } + if (iVar1 < iVar3) { + FUN_140001d10(param_1,iVar3); + } + FUN_140001df0(param_1); + puVar2 = (undefined *)*param_1; + if ((undefined *)*param_1 == (undefined *)0x0) { + puVar2 = PTR_DAT_14016f010; + } + return puVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140001f60.c b/decomp/AgentManager_Release_x64/full/functions/0x140001f60.c new file mode 100644 index 00000000..1226f845 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140001f60.c @@ -0,0 +1,34 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140001f60 FUN_140001f60 + * Pseudocode, not original source. */ + +void FUN_140001f60(longlong *param_1,int param_2) + +{ + undefined *puVar1; + int iVar2; + int iVar3; + + puVar1 = (undefined *)*param_1; + iVar3 = 0; + if (0 < param_2) { + iVar3 = param_2; + } + iVar2 = 0; + if ((puVar1 != (undefined *)0x0) && (iVar2 = 0, puVar1 != PTR_DAT_14016f010)) { + iVar2 = *(int *)(puVar1 + -8); + } + if ((iVar2 <= iVar3) && (iVar3 = 0, puVar1 != (undefined *)0x0)) { + if (puVar1 == PTR_DAT_14016f010) { + return; + } + iVar3 = *(int *)(puVar1 + -8); + } + if (((puVar1 != PTR_DAT_14016f010) && (puVar1 != (undefined *)0x0)) && + ((int *)(puVar1 + -8) != (int *)0x0)) { + *(int *)(puVar1 + -8) = iVar3; + *(undefined2 *)(puVar1 + (longlong)iVar3 * 2) = 0; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140001fc0.c b/decomp/AgentManager_Release_x64/full/functions/0x140001fc0.c new file mode 100644 index 00000000..1bce1e2a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140001fc0.c @@ -0,0 +1,40 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140001fc0 FUN_140001fc0 + * Pseudocode, not original source. */ + +void FUN_140001fc0(longlong *param_1) + +{ + undefined *puVar1; + int iVar2; + int iVar3; + short *psVar4; + + psVar4 = (short *)*param_1; + if ((short *)*param_1 == (short *)0x0) { + psVar4 = (short *)PTR_DAT_14016f010; + } + iVar2 = FUN_14003e620(psVar4); + iVar3 = 0; + if (0 < iVar2) { + iVar3 = iVar2; + } + puVar1 = (undefined *)*param_1; + iVar2 = 0; + if ((puVar1 != (undefined *)0x0) && (iVar2 = 0, puVar1 != PTR_DAT_14016f010)) { + iVar2 = *(int *)(puVar1 + -8); + } + if ((iVar2 <= iVar3) && (iVar3 = 0, puVar1 != (undefined *)0x0)) { + if (puVar1 == PTR_DAT_14016f010) { + return; + } + iVar3 = *(int *)(puVar1 + -8); + } + if (((puVar1 != PTR_DAT_14016f010) && (puVar1 != (undefined *)0x0)) && + ((int *)(puVar1 + -8) != (int *)0x0)) { + *(int *)(puVar1 + -8) = iVar3; + *(undefined2 *)(puVar1 + (longlong)iVar3 * 2) = 0; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140002040.c b/decomp/AgentManager_Release_x64/full/functions/0x140002040.c new file mode 100644 index 00000000..74353128 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140002040.c @@ -0,0 +1,26 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140002040 FUN_140002040 + * Pseudocode, not original source. */ + +longlong * FUN_140002040(longlong *param_1,short *param_2,undefined8 param_3,undefined8 param_4) + +{ + int iVar1; + undefined *puVar2; + int iVar3; + int iVar4; + + FUN_14003e7c0(param_1,param_2,param_3,param_4); + *param_1 = (longlong)PTR_DAT_14016f010; + iVar1 = FUN_14003e620(param_2); + iVar3 = (int)param_3; + iVar4 = iVar1; + if ((0 < iVar3) && (iVar4 = iVar3, iVar1 < iVar3)) { + iVar4 = iVar1; + } + puVar2 = FUN_140001ee0(param_1,iVar4); + FUN_14003e650(puVar2,param_2,iVar4); + FUN_140001fc0(param_1); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400020c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400020c0.c new file mode 100644 index 00000000..de690102 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400020c0.c @@ -0,0 +1,32 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400020c0 FUN_1400020c0 + * Pseudocode, not original source. */ + +void FUN_1400020c0(longlong *param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined *puVar1; + int *piVar2; + longlong *plVar3; + + puVar1 = (undefined *)*param_1; + if ((undefined *)*param_1 == (undefined *)0x0) { + puVar1 = PTR_DAT_14016f010; + } + *param_1 = (longlong)puVar1; + if ((undefined *)*param_2 != puVar1) { + plVar3 = param_2; + piVar2 = (int *)FUN_14003e7c0(param_1,param_2,param_3,param_4); + FUN_14003d040(piVar2); + FUN_140002190(param_1,plVar3,param_3,param_4); + puVar1 = (undefined *)*param_2; + *param_1 = (longlong)puVar1; + if (((puVar1 != PTR_DAT_14016f010) && (puVar1 != (undefined *)0x0)) && + (puVar1 != (undefined *)0x8)) { + *(int *)(puVar1 + -4) = *(int *)(puVar1 + -4) + 1; + } + FUN_14003d0d0((longlong)piVar2); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140002160.c b/decomp/AgentManager_Release_x64/full/functions/0x140002160.c new file mode 100644 index 00000000..715d42a1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140002160.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140002160 FUN_140002160 + * Pseudocode, not original source. */ + +void FUN_140002160(longlong *param_1) + +{ + if ((char)param_1[1] != '\0') { + FUN_14003d0d0(*param_1); + *(undefined1 *)(param_1 + 1) = 0; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140002190.c b/decomp/AgentManager_Release_x64/full/functions/0x140002190.c new file mode 100644 index 00000000..5d95609f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140002190.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140002190 FUN_140002190 + * Pseudocode, not original source. */ + +void FUN_140002190(longlong *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + int *piVar1; + undefined *puVar2; + int *piVar3; + + puVar2 = (undefined *)*param_1; + if (((puVar2 == (undefined *)0x0) || (puVar2 == PTR_DAT_14016f010)) || + (puVar2 + -8 == (undefined *)0x0)) { + *param_1 = (longlong)PTR_DAT_14016f010; + } + else { + piVar3 = (int *)FUN_14003e7c0(puVar2,param_2,param_3,param_4); + FUN_14003d040(piVar3); + piVar1 = (int *)(puVar2 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(puVar2 + -8); + } + FUN_14003d0d0((longlong)piVar3); + *param_1 = (longlong)PTR_DAT_14016f010; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140002230.c b/decomp/AgentManager_Release_x64/full/functions/0x140002230.c new file mode 100644 index 00000000..1445499e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140002230.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140002230 FUN_140002230 + * Pseudocode, not original source. */ + +void FUN_140002230(undefined8 *param_1) + +{ + *param_1 = Proud::INetClientEvent::vftable; + FUN_140049b90(param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140002240.c b/decomp/AgentManager_Release_x64/full/functions/0x140002240.c new file mode 100644 index 00000000..db398b36 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140002240.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140002240 FUN_140002240 + * Pseudocode, not original source. */ + +undefined8 * FUN_140002240(undefined8 *param_1,uint param_2) + +{ + FUN_140049b90(param_1); + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140002270.c b/decomp/AgentManager_Release_x64/full/functions/0x140002270.c new file mode 100644 index 00000000..3da15fee --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140002270.c @@ -0,0 +1,21 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140002270 std::bad_alloc::`scalar_deleting_destructor' + * Pseudocode, not original source. */ + +/* Library Function - Single Match + public: virtual void * __ptr64 __cdecl std::bad_alloc::`scalar deleting destructor'(unsigned + int) __ptr64 + + Libraries: Visual Studio 2012 Release, Visual Studio 2015 Release */ + +void * __thiscall std::bad_alloc::_scalar_deleting_destructor_(bad_alloc *this,uint param_1) + +{ + *(undefined ***)this = Proud::INetClientEvent::vftable; + FUN_140049b90((undefined8 *)this); + if ((param_1 & 1) != 0) { + operator_delete(this); + } + return this; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400022b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400022b0.c new file mode 100644 index 00000000..ff2bcb50 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400022b0.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400022b0 FUN_1400022b0 + * Pseudocode, not original source. */ + +undefined8 * +FUN_1400022b0(undefined8 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + ulonglong uVar1; + undefined7 uVar2; + + uVar2 = (undefined7)((ulonglong)param_3 >> 8); + param_1[1] = MagiServerBase::vftable; + *(undefined4 *)(param_1 + 2) = 0; + param_1[3] = 0; + param_1[4] = 0; + param_1[5] = 0; + param_1[7] = 0; + param_1[8] = 0; + *param_1 = MagiAgentManagerServer::vftable; + param_1[1] = MagiAgentManagerServer::vftable; + *(undefined4 *)(param_1 + 0x9285) = 0; + *(undefined1 *)(param_1 + 0x9288) = 1; + *(undefined4 *)((longlong)param_1 + 0x49444) = 0; + param_1[0x928a] = 0; + param_1[0x928b] = 0; + param_1[0x928c] = 0; + param_1[0x928d] = 0; + uVar1 = FUN_140094860(); + FUN_14003cf60((undefined4 *)(param_1 + 0x928e),uVar1 & 0xffffffff,CONCAT71(uVar2,1),param_4); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140002350.c b/decomp/AgentManager_Release_x64/full/functions/0x140002350.c new file mode 100644 index 00000000..6fb53ac2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140002350.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140002350 FUN_140002350 + * Pseudocode, not original source. */ + +undefined8 * +FUN_140002350(undefined8 *param_1,ulonglong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140002380(param_1,param_2,param_3,param_4); + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140002380.c b/decomp/AgentManager_Release_x64/full/functions/0x140002380.c new file mode 100644 index 00000000..656997a4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140002380.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140002380 FUN_140002380 + * Pseudocode, not original source. */ + +void FUN_140002380(undefined8 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + *param_1 = MagiAgentManagerServer::vftable; + param_1[1] = MagiAgentManagerServer::vftable; + FUN_14003d110((undefined4 *)(param_1 + 0x928e),param_2,param_3,param_4); + param_1[1] = MagiServerBase::vftable; + if ((void *)param_1[3] != (void *)0x0) { + operator_delete((void *)param_1[3]); + } + param_1[3] = 0; + param_1[4] = 0; + param_1[5] = 0; + *param_1 = MBISingleton::vftable; + DAT_14017c8b8 = 0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140002400.c b/decomp/AgentManager_Release_x64/full/functions/0x140002400.c new file mode 100644 index 00000000..869a4f3a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140002400.c @@ -0,0 +1,97 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140002400 FUN_140002400 + * Pseudocode, not original source. */ + +void FUN_140002400(LPCWSTR param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong lVar1; + char *pcVar2; + undefined8 *puVar3; + undefined8 *puVar4; + undefined8 uVar5; + ulonglong uVar6; + wchar_t *pwVar7; + + if ((DAT_14017d37c & 1) == 0) { + DAT_14017d37c = DAT_14017d37c | 1; + FUN_1400ef080(); + atexit((_func_5014 *)&LAB_140104340); + if ((DAT_14017d37c & 1) == 0) { + DAT_14017d37c = DAT_14017d37c | 1; + FUN_1400ef080(); + atexit((_func_5014 *)&LAB_140104340); + } + } + if ((DAT_14017d140 != 200) && (DAT_14017d140 != 100)) { + if ((DAT_14017d37c & 1) == 0) { + DAT_14017d37c = DAT_14017d37c | 1; + FUN_1400ef080(); + atexit((_func_5014 *)&LAB_140104340); + } + if (DAT_14017d140 != 1000) goto LAB_1400024b1; + } + setlocale(0,"kor"); +LAB_1400024b1: + pcVar2 = setlocale(0,(char *)0x0); + printf("Locale is: %s\n"); + puVar3 = operator_new(8); + puVar4 = (undefined8 *)0x0; + if (puVar3 != (undefined8 *)0x0) { + puVar4 = FUN_14003acf0(puVar3,pcVar2,param_3,param_4); + } + lVar1 = DAT_14017cf28; + DAT_14017cf30 = puVar4; + *(undefined1 *)(DAT_14017cf28 + 0x1e8) = 0x15; + FUN_14002fc00(lVar1,param_1,param_3,param_4); + uVar5 = FUN_140032f70(DAT_14017cf28,param_1,param_3,param_4); + if ((char)uVar5 == '\0') { + printf("DB PASE ERROR !!! \n"); + } + _wmkdir(L"Log"); + puVar3 = operator_new(0xe8); + puVar4 = (undefined8 *)0x0; + if (puVar3 != (undefined8 *)0x0) { + puVar4 = FUN_1400ef640(puVar3); + } + DAT_14017c8a8 = puVar4; + FUN_1400ef910((longlong)puVar4,param_1,param_3,param_4); + puVar4 = DAT_14017c8a8; + EnterCriticalSection(DAT_14017cf60); + uVar5 = 0x19; + pwVar7 = L"Log\\Protocol_AgentManager"; + FUN_140001710(puVar4 + 3,L"Log\\Protocol_AgentManager",0x19); + LeaveCriticalSection(DAT_14017cf60); + FUN_1400efa40((longlong)DAT_14017c8a8); + puVar3 = operator_new(0x98); + puVar4 = (undefined8 *)0x0; + if (puVar3 != (undefined8 *)0x0) { + puVar4 = FUN_1400ed450(puVar3,pwVar7,uVar5,param_4); + } + DAT_14017cf18 = puVar4; + DAT_14017cf40 = operator_new(8); + if (DAT_14017cf40 != (undefined8 *)0x0) { + *DAT_14017cf40 = MagiXmlFormat::vftable; + } + puVar3 = operator_new(0xb0); + puVar4 = (undefined8 *)0x0; + if (puVar3 != (undefined8 *)0x0) { + puVar4 = FUN_14000da20(puVar3,pwVar7,uVar5,param_4); + } + DAT_14017cf38 = puVar4; + puVar4 = operator_new(0x80); + if (puVar4 == (undefined8 *)0x0) { + puVar4 = (undefined8 *)0x0; + } + else { + *puVar4 = MagiStatistics::vftable; + FUN_14000c1f0(puVar4 + 1); + uVar6 = FUN_140094860(); + uVar5 = CONCAT71((int7)((ulonglong)uVar5 >> 8),1); + FUN_14003cf60((undefined4 *)(puVar4 + 9),uVar6 & 0xffffffff,uVar5,param_4); + } + DAT_14017cf48 = puVar4; + FUN_1400ef250((longlong)DAT_14017c8a8,L"\t # INIT # \n",uVar5,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140002670.c b/decomp/AgentManager_Release_x64/full/functions/0x140002670.c new file mode 100644 index 00000000..16eacc69 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140002670.c @@ -0,0 +1,54 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140002670 FUN_140002670 + * Pseudocode, not original source. */ + +void FUN_140002670(longlong param_1) + +{ + FILE *_File; + undefined8 *puVar1; + longlong lVar2; + + puVar1 = *(undefined8 **)(param_1 + 0x49430); + if (puVar1 != (undefined8 *)0x0) { + (**(code **)*puVar1)(puVar1,1); + } + puVar1 = DAT_14017cf48; + *(undefined8 *)(param_1 + 0x49430) = 0; + if (puVar1 != (undefined8 *)0x0) { + (**(code **)*puVar1)(puVar1,1); + } + if (DAT_14017cf38 != (undefined8 *)0x0) { + (**(code **)*DAT_14017cf38)(DAT_14017cf38,1); + } + if (DAT_14017cf40 != (undefined8 *)0x0) { + (**(code **)*DAT_14017cf40)(DAT_14017cf40,1); + } + if (DAT_14017cf18 != (undefined8 *)0x0) { + (**(code **)*DAT_14017cf18)(DAT_14017cf18,1); + } + puVar1 = DAT_14017c8a8; + EnterCriticalSection(DAT_14017cf60); + _File = (FILE *)puVar1[0x17]; + if (_File != (FILE *)0x0) { + fclose(_File); + } + puVar1 = puVar1 + 0x19; + lVar2 = 4; + do { + if ((FILE *)*puVar1 != (FILE *)0x0) { + fclose((FILE *)*puVar1); + } + puVar1 = puVar1 + 1; + lVar2 = lVar2 + -1; + } while (lVar2 != 0); + LeaveCriticalSection(DAT_14017cf60); + if (DAT_14017c8a8 != (undefined8 *)0x0) { + (**(code **)*DAT_14017c8a8)(DAT_14017c8a8,1); + } + if (DAT_14017cf30 != (undefined8 *)0x0) { + (**(code **)*DAT_14017cf30)(DAT_14017cf30,1); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140002790.c b/decomp/AgentManager_Release_x64/full/functions/0x140002790.c new file mode 100644 index 00000000..8fc2e5a9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140002790.c @@ -0,0 +1,520 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140002790 FUN_140002790 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ + +undefined8 FUN_140002790(longlong param_1,undefined8 param_2,undefined8 param_3,longlong **param_4) + +{ + double dVar1; + char cVar2; + undefined4 *puVar3; + undefined1 auVar4 [16]; + bool bVar5; + longlong *plVar6; + BOOL BVar7; + DWORD DVar8; + undefined8 *puVar9; + undefined8 *puVar10; + longlong *plVar11; + longlong lVar12; + wchar_t *pwVar13; + LPCSTR pCVar14; + short *psVar15; + longlong *plVar16; + longlong *plVar17; + undefined8 uVar18; + undefined *puVar19; + void **ppvVar20; + undefined8 *puVar21; + undefined8 *puVar22; + undefined8 *puVar23; + longlong lVar24; + undefined4 uVar25; + undefined4 uVar26; + undefined4 uVar27; + undefined4 uVar28; + undefined4 uVar29; + undefined4 uVar30; + undefined1 auStack_4d8 [32]; + longlong *local_4b8; + longlong *local_4b0; + undefined8 *local_4a8; + longlong *local_4a0; + undefined8 *local_498; + undefined8 *local_490; + undefined8 *local_488; + undefined4 local_480 [2]; + undefined8 *local_478; + undefined8 *local_470; + undefined8 *local_468; + LARGE_INTEGER local_460; + undefined8 local_458; + undefined2 local_448; + undefined1 local_446 [158]; + undefined1 local_3a8 [160]; + undefined4 local_308; + uint uStack_304; + undefined2 local_300; + undefined6 uStack_2fe; + undefined8 local_2f0; + ulonglong local_2e8; + WCHAR local_2d8; + undefined6 uStack_2d6; + undefined8 local_2c8; + ulonglong local_2c0; + short *local_2a8; + short local_2a0 [132]; + short *local_198; + short local_190 [132]; + ulonglong local_88; + + local_458 = 0xfffffffffffffffe; + local_88 = DAT_14016f5a0 ^ (ulonglong)auStack_4d8; + pwVar13 = L"\t # PREPARE # \n"; + FUN_1400ef250(DAT_14017c8a8,L"\t # PREPARE # \n",param_3,param_4); + CoInitialize((LPVOID)0x0); + local_460 = (LARGE_INTEGER)operator_new(0xd8); + puVar22 = (undefined8 *)0x0; + puVar9 = puVar22; + if ((undefined8 *)local_460.QuadPart != (undefined8 *)0x0) { + puVar9 = FUN_140005280((undefined8 *)local_460,pwVar13,param_3,param_4); + } + if (puVar9 == (undefined8 *)0x0) { + local_4b8 = (longlong *)0x0; + } + else { + local_4b8 = (longlong *)FUN_14003e840(0x10); + local_4b8[1] = 1; + *local_4b8 = (longlong)puVar9; + } + plVar16 = local_4b8; + local_498 = operator_new(0x118); + puVar9 = puVar22; + if (local_498 != (undefined8 *)0x0) { + puVar9 = FUN_1400060f0(local_498,pwVar13,param_3,param_4); + } + if (puVar9 == (undefined8 *)0x0) { + local_4b0 = (longlong *)0x0; + } + else { + local_4b0 = (longlong *)FUN_14003e840(0x10); + local_4b0[1] = 1; + *local_4b0 = (longlong)puVar9; + } + plVar17 = local_4b0; + local_498 = operator_new(0xa0); + puVar9 = puVar22; + if (local_498 != (undefined8 *)0x0) { + puVar9 = FUN_140007010(local_498,pwVar13,param_3,param_4); + } + if (puVar9 == (undefined8 *)0x0) { + local_4a8 = (undefined8 *)0x0; + } + else { + local_4a8 = (undefined8 *)FUN_14003e840(0x10); + local_4a8[1] = 1; + *local_4a8 = puVar9; + } + puVar9 = local_4a8; + local_468 = local_4a8; + puVar10 = operator_new(0x50); + puVar21 = puVar22; + local_498 = puVar10; + if (puVar10 != (undefined8 *)0x0) { + FUN_1400721c0(puVar10); + FUN_140073a40((void **)(puVar10 + 1)); + puVar10[3] = 0; + puVar10[4] = 0; + puVar10[8] = 7; + puVar10[7] = 0; + *(undefined2 *)(puVar10 + 5) = 0; + puVar21 = puVar10; + } + if (puVar21 == (undefined8 *)0x0) { + local_490 = (undefined8 *)0x0; + } + else { + local_490 = (undefined8 *)FUN_14003e840(0x10); + local_490[1] = 1; + *local_490 = puVar21; + } + puVar21 = local_490; + local_498 = local_490; + puVar10 = operator_new(0x50); + local_488 = puVar10; + if (puVar10 != (undefined8 *)0x0) { + FUN_1400721c0(puVar10); + FUN_140073a40((void **)(puVar10 + 1)); + puVar10[3] = 0; + puVar10[4] = 0; + puVar10[8] = 7; + puVar10[7] = 0; + *(undefined2 *)(puVar10 + 5) = 0; + puVar22 = puVar10; + } + if (puVar22 == (undefined8 *)0x0) { + local_488 = (undefined8 *)0x0; + } + else { + local_488 = (undefined8 *)FUN_14003e840(0x10); + local_488[1] = 1; + *local_488 = puVar22; + } + puVar22 = local_488; + puVar23 = (undefined8 *)0x0; + puVar10 = puVar23; + if (plVar16 != (longlong *)0x0) { + puVar10 = (undefined8 *)*plVar16; + } + *(undefined8 **)(param_1 + 0x49450) = puVar10; + puVar10 = puVar23; + if (plVar17 != (longlong *)0x0) { + puVar10 = (undefined8 *)*plVar17; + } + *(undefined8 **)(param_1 + 0x49458) = puVar10; + puVar10 = puVar23; + if (puVar9 != (undefined8 *)0x0) { + puVar10 = (undefined8 *)*puVar9; + } + *(undefined8 **)(param_1 + 0x49448) = puVar10; + puVar10 = puVar23; + if (puVar21 != (undefined8 *)0x0) { + puVar10 = (undefined8 *)*puVar21; + } + *(undefined8 **)(param_1 + 0x49460) = puVar10; + puVar10 = puVar23; + if (local_488 != (undefined8 *)0x0) { + puVar10 = (undefined8 *)*local_488; + } + *(undefined8 **)(param_1 + 0x49468) = puVar10; + pCVar14 = (LPCSTR)(DAT_14017cf28 + 0x90); + if (0xf < *(ulonglong *)(DAT_14017cf28 + 0xa8)) { + pCVar14 = *(LPCSTR *)pCVar14; + } + local_2a8 = local_2a0; + uVar18 = 3; + FUN_140005110((longlong *)&local_2a8,pCVar14,3); + FUN_140007430(*(longlong *)(param_1 + 0x49460),local_2a8,uVar18,(short *)param_4); + if (local_2a8 != local_2a0) { + free(local_2a8); + } + pCVar14 = (LPCSTR)(DAT_14017cf28 + 0x108); + if (0xf < *(ulonglong *)(DAT_14017cf28 + 0x120)) { + pCVar14 = *(LPCSTR *)pCVar14; + } + local_198 = local_190; + puVar19 = (undefined *)0x3; + FUN_140005110((longlong *)&local_198,pCVar14,3); + psVar15 = local_198; + FUN_140007430(*(longlong *)(param_1 + 0x49468),local_198,puVar19,(short *)param_4); + if (local_198 != local_190) { + free(local_198); + } + local_480[0] = 3; + *(undefined4 *)(param_1 + 0x10) = 3; + printf("STEP : DB_LOAD \n"); + lVar24 = *(longlong *)(param_1 + 0x38); + if ((lVar24 != 0) && (*(char *)(lVar24 + 0x1a) != '\0')) { + param_4 = (longlong **)local_480; + puVar19 = &DAT_14016f5d0; + psVar15 = (short *)0x1; + (**(code **)(*(longlong *)(lVar24 + 0x68) + 0xb0))(); + } + printf("AgentManager Auth...\n"); + uVar18 = FUN_140007a20(*(longlong *)(param_1 + 0x49460),psVar15,puVar19,param_4); + if ((char)uVar18 == '\0') { + printf("AgentManager Auth Failed !!!\n"); + Sleep(3000); + *(undefined1 *)(param_1 + 0x49440) = 0; + } + printf("Read ServerOption...\n"); + uVar18 = FUN_140008410(*(longlong *)(param_1 + 0x49460),psVar15,puVar19,param_4); + if ((char)uVar18 == '\0') { + printf("Read ServerOption Failed !!!\n"); + Sleep(3000); + *(undefined1 *)(param_1 + 0x49440) = 0; + } + printf("Read ServerFile...\n"); + uVar18 = FUN_140009240(*(longlong *)(param_1 + 0x49460),psVar15,puVar19,(longlong)param_4); + if ((char)uVar18 == '\0') { + printf("Read ServerFile Failed !!!\n"); + Sleep(3000); + *(undefined1 *)(param_1 + 0x49440) = 0; + } + printf("Read RealTimeEvent...\n"); + uVar18 = FUN_140009760(*(longlong *)(param_1 + 0x49460),psVar15,puVar19,param_4); + if ((char)uVar18 == '\0') { + printf("Read RealTimeEvent Failed !!!\n"); + Sleep(3000); + *(undefined1 *)(param_1 + 0x49440) = 0; + } + *(undefined8 *)(*(longlong *)(param_1 + 0x49460) + 0x18) = *(undefined8 *)(param_1 + 0x49450); + *(undefined8 *)(*(longlong *)(param_1 + 0x49468) + 0x18) = *(undefined8 *)(param_1 + 0x49450); + *(undefined8 *)(*(longlong *)(param_1 + 0x49450) + 0x68) = *(undefined8 *)(param_1 + 0x49460); + *(undefined8 *)(*(longlong *)(param_1 + 0x49450) + 0x70) = *(undefined8 *)(param_1 + 0x49468); + *(undefined8 *)(*(longlong *)(param_1 + 0x49450) + 0x78) = *(undefined8 *)(param_1 + 0x49458); + *(undefined8 *)(*(longlong *)(param_1 + 0x49450) + 0x80) = *(undefined8 *)(param_1 + 0x49448); + *(undefined8 *)(*(longlong *)(param_1 + 0x49458) + 0x68) = *(undefined8 *)(param_1 + 0x49460); + *(undefined8 *)(*(longlong *)(param_1 + 0x49458) + 0x70) = *(undefined8 *)(param_1 + 0x49468); + *(undefined8 *)(*(longlong *)(param_1 + 0x49458) + 0x78) = *(undefined8 *)(param_1 + 0x49450); + *(undefined8 *)(*(longlong *)(param_1 + 0x49458) + 0x80) = *(undefined8 *)(param_1 + 0x49448); + *(undefined8 *)(*(longlong *)(param_1 + 0x49448) + 0x98) = *(undefined8 *)(param_1 + 0x49450); + pwVar13 = L"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"; + FUN_1400ef250(DAT_14017c8a8,L"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!",puVar19,param_4); + local_308 = 0; + uStack_304 = 0; + local_2e8 = 7; + local_2f0 = 0; + local_300 = 0; + local_2c0 = 7; + local_2c8 = 0; + local_2d8 = L'\0'; + if (*(longlong *)(DAT_14017cf28 + 0x1c8) != 0) { + auVar4._8_8_ = 0; + auVar4._0_8_ = *(ulonglong *)(DAT_14017cf28 + 0x1b0); + pwVar13 = SUB168((ZEXT816(0) << 0x40 | ZEXT816(0x17)) % auVar4,0); + local_478 = (undefined8 *)(*(longlong *)(DAT_14017cf28 + 0x1a8) + (longlong)pwVar13 * 8); + for (local_470 = (undefined8 *)*local_478; local_470 != (undefined8 *)0x0; + local_470 = (undefined8 *)*local_470) { + if (*(char *)(local_470 + 1) == '\x17') { + if (local_470 != (undefined8 *)0x0) goto LAB_140002dd4; + break; + } + } + } + local_478 = (undefined8 *)0x0; + local_470 = puVar23; +LAB_140002dd4: + if ((local_470 != (undefined8 *)0x0) && + (puVar3 = (undefined4 *)local_470[2], puVar3 != (undefined4 *)local_470[3])) { + local_308 = *puVar3; + uStack_304 = puVar3[1]; + FUN_140001630((longlong *)&local_300,(longlong *)(puVar3 + 2),0,0xffffffffffffffff); + param_4 = (longlong **)0xffffffffffffffff; + FUN_140001630((longlong *)&local_2d8,(longlong *)(puVar3 + 0xc),0,0xffffffffffffffff); + pwVar13 = &local_2d8; + if (7 < local_2c0) { + pwVar13 = (LPCWSTR)CONCAT62(uStack_2d6,local_2d8); + } + puVar19 = (undefined *)(ulonglong)uStack_304; + FUN_14003bcb0(*(void **)(param_1 + 0x49448),pwVar13,puVar19,param_4); + } + lVar24 = 0; + lVar12 = lVar24; + if (plVar16 != (longlong *)0x0) { + lVar12 = *plVar16; + } + FUN_140005460(lVar12,pwVar13,puVar19,(longlong)param_4); + if (plVar17 != (longlong *)0x0) { + lVar24 = *plVar17; + } + FUN_140006380(lVar24,pwVar13,puVar19,(longlong)param_4); + FUN_1400ef250(DAT_14017c8a8,L"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!",puVar19,param_4); + plVar11 = operator_new(0x18); + if (plVar11 == (longlong *)0x0) { + plVar11 = (longlong *)0x0; + } + else { + *plVar11 = (longlong)TimeSourceHRWin32::vftable; + BVar7 = QueryPerformanceFrequency(&local_460); + if (BVar7 == 0) { + *(undefined1 *)(plVar11 + 2) = 0; + GetLastError(); + } + else { + *(undefined1 *)(plVar11 + 2) = 1; + plVar11[1] = (longlong)(1.0 / (double)local_460.QuadPart); + } + } + local_4a0 = DAT_14017cf18; + if ((undefined8 *)DAT_14017cf18[2] != (undefined8 *)0x0) { + (*(code *)**(undefined8 **)DAT_14017cf18[2])(); + } + local_4a0[2] = (longlong)plVar11; + if (plVar11 != (longlong *)0x0) { + lVar24 = (**(code **)(*plVar11 + 8))(plVar11); + local_4a0[6] = lVar24; + local_4a0[7] = lVar24; + } + local_4a0[0x12] = 0x3ff0000000000000; + plVar11 = operator_new(0x28); + local_4a0 = plVar11; + if (plVar11 != (longlong *)0x0) { + *plVar11 = (longlong)Magi::Timer::vftable; + plVar6 = DAT_14017cf18; + plVar11[1] = (longlong)DAT_14017cf18; + plVar11[2] = 0; + plVar11[3] = 0; + *(undefined1 *)(plVar11 + 4) = 0; + *(undefined4 *)((longlong)plVar11 + 0x24) = 0x3f800000; + (**(code **)(*plVar6 + 0x10))(); + } + *(longlong **)(param_1 + 0x49430) = plVar11; + local_448 = 0; + memset(local_446,0,0x9e); + ppvVar20 = (void **)0xa0; + memset(local_3a8,0,0xa0); + uVar26 = 0; + uVar28 = 0; + bVar5 = false; + pwVar13 = L"\t # RUN # \n"; + FUN_1400ef250(DAT_14017c8a8,L"\t # RUN # \n",ppvVar20,param_4); + local_4a0 = (longlong *)CONCAT44(local_4a0._4_4_,5); + *(undefined4 *)(param_1 + 0x10) = 5; + if (DAT_14017ce74 != 0) { + printf("********************************\n"); + DVar8 = timeGetTime(); + pwVar13 = (wchar_t *)((ulonglong)(DVar8 - DAT_14017ce74) / 1000); + printf("** Server Load Time : %d sec\n"); + printf("********************************\n"); + } + printf("STEP : SERVER_RUN \n"); + lVar24 = *(longlong *)(param_1 + 0x38); + if ((lVar24 != 0) && (*(char *)(lVar24 + 0x1a) != '\0')) { + param_4 = &local_4a0; + ppvVar20 = (void **)&DAT_14016f5d0; + pwVar13 = (wchar_t *)0x1; + (**(code **)(*(longlong *)(lVar24 + 0x68) + 0xb0))(); + } + cVar2 = *(char *)(param_1 + 0x49440); + uVar29 = uVar26; + uVar30 = uVar28; + while (cVar2 != '\0') { + FUN_1400ed240((longlong)DAT_14017cf18); + dVar1 = *(double *)(*(longlong *)(param_1 + 0x49430) + 0x10); + if (DAT_14017ce84 != '\0') { + printf("AgentSession->Connect\n"); + DAT_14017ce84 = DAT_14017ce84 == '\0'; + } + FUN_14003c0a0(*(undefined8 **)(param_1 + 0x49448)); + uVar25 = SUB84(dVar1,0); + uVar27 = (undefined4)((ulonglong)dVar1 >> 0x20); + if (1.0 <= dVar1 - (double)CONCAT44(uVar28,uVar26)) { + if (DAT_14017ce78 != 0) { + pwVar13 = (wchar_t *)&DAT_14012ea5c; + if (bVar5) { + pwVar13 = (wchar_t *)&DAT_14012ea58; + } + ppvVar20 = (void **)(ulonglong)DAT_14017ce7c; + printf("[ %s ] FPS[ %d ]\n"); + bVar5 = !bVar5; + } + _DAT_14017ce80 = DAT_14017ce7c; + DAT_14017ce7c = 0; + uVar26 = uVar25; + uVar28 = uVar27; + } + if (0.10000000149011612 <= dVar1 - (double)CONCAT44(uVar30,uVar29)) { + DAT_14017ce7c = DAT_14017ce7c + 1; + FUN_140003420(param_1,(ulonglong *******)pwVar13,(undefined *)ppvVar20,(undefined2 *)param_4); + FUN_1400054f0(*(longlong *)(param_1 + 0x49450),dVar1,ppvVar20,(ulonglong)param_4); + uVar29 = uVar25; + uVar30 = uVar27; + if (*(char *)(*(longlong *)(param_1 + 0x49450) + 0x9c) != '\0') { + *(undefined4 *)(param_1 + 0x49444) = 1; + *(undefined1 *)(*(longlong *)(param_1 + 0x49450) + 0x9c) = 0; + } + } + *(double *)(param_1 + 0x49438) = dVar1; + if (0 < *(int *)(param_1 + 0x49444)) { + FUN_140003d00(param_1,pwVar13,ppvVar20,(longlong)param_4); + } + Sleep(1); + puVar9 = local_468; + puVar21 = local_498; + cVar2 = *(char *)(param_1 + 0x49440); + } + FUN_14003bfd0(*(longlong *)(param_1 + 0x49448),pwVar13,ppvVar20,param_4); + lVar24 = *(longlong *)(param_1 + 0x49450); + puVar10 = *(undefined8 **)(lVar24 + 0x28); + if (puVar10 != (undefined8 *)0x0) { + (**(code **)*puVar10)(puVar10,1); + } + *(undefined8 *)(lVar24 + 0x28) = 0; + FUN_140006430(*(longlong *)(param_1 + 0x49458)); + CoUninitialize(); + pwVar13 = L"# SERVER END... #\n"; + FUN_1400ef250(DAT_14017c8a8,L"# SERVER END... #\n",ppvVar20,param_4); + if (7 < local_2c0) { + operator_delete((void *)CONCAT62(uStack_2d6,local_2d8)); + } + local_2c0 = 7; + local_2c8 = 0; + local_2d8 = L'\0'; + if (7 < local_2e8) { + operator_delete((void *)CONCAT62(uStack_2fe,local_300)); + } + local_2e8 = 7; + local_2f0 = 0; + local_300 = 0; + if (puVar22 != (undefined8 *)0x0) { + plVar11 = puVar22 + 1; + *plVar11 = *plVar11 + -1; + plVar16 = local_4b8; + puVar9 = local_4a8; + plVar17 = local_4b0; + puVar21 = local_490; + if (*plVar11 == 0) { + FUN_140004b20(local_488,pwVar13,ppvVar20); + plVar16 = local_4b8; + puVar9 = local_4a8; + plVar17 = local_4b0; + puVar21 = local_490; + } + } + if (puVar21 != (undefined8 *)0x0) { + plVar11 = puVar21 + 1; + *plVar11 = *plVar11 + -1; + plVar16 = local_4b8; + puVar9 = local_4a8; + plVar17 = local_4b0; + if (*plVar11 == 0) { + FUN_140004b20(local_490,pwVar13,ppvVar20); + plVar16 = local_4b8; + puVar9 = local_4a8; + plVar17 = local_4b0; + } + } + if (puVar9 != (undefined8 *)0x0) { + plVar11 = puVar9 + 1; + *plVar11 = *plVar11 + -1; + plVar16 = local_4b8; + plVar17 = local_4b0; + if (*plVar11 == 0) { + FUN_140004aa0(local_4a8,pwVar13,ppvVar20,param_4); + plVar16 = local_4b8; + plVar17 = local_4b0; + } + } + plVar11 = local_4b0; + if (plVar17 != (longlong *)0x0) { + plVar17 = plVar17 + 1; + *plVar17 = *plVar17 + -1; + plVar16 = local_4b8; + if (*plVar17 == 0) { + puVar9 = (undefined8 *)*local_4b0; + if (puVar9 != (undefined8 *)0x0) { + (**(code **)*puVar9)(puVar9,1); + } + FUN_14003e8b0(plVar11); + plVar16 = local_4b8; + } + } + plVar17 = local_4b8; + if (plVar16 != (longlong *)0x0) { + plVar16 = plVar16 + 1; + *plVar16 = *plVar16 + -1; + if (*plVar16 == 0) { + puVar9 = (undefined8 *)*local_4b8; + if (puVar9 != (undefined8 *)0x0) { + (**(code **)*puVar9)(puVar9,1); + } + FUN_14003e8b0(plVar17); + } + } + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400033c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400033c0.c new file mode 100644 index 00000000..a8569657 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400033c0.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400033c0 FUN_1400033c0 + * Pseudocode, not original source. */ + +void FUN_1400033c0(longlong param_1) + +{ + if (7 < *(ulonglong *)(param_1 + 0x48)) { + operator_delete(*(void **)(param_1 + 0x30)); + } + *(undefined8 *)(param_1 + 0x48) = 7; + *(undefined8 *)(param_1 + 0x40) = 0; + *(undefined2 *)(param_1 + 0x30) = 0; + if (7 < *(ulonglong *)(param_1 + 0x20)) { + operator_delete(*(void **)(param_1 + 8)); + } + *(undefined8 *)(param_1 + 0x20) = 7; + *(undefined8 *)(param_1 + 0x18) = 0; + *(undefined2 *)(param_1 + 8) = 0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140003420.c b/decomp/AgentManager_Release_x64/full/functions/0x140003420.c new file mode 100644 index 00000000..dc307444 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140003420.c @@ -0,0 +1,298 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140003420 FUN_140003420 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +undefined8 +FUN_140003420(longlong param_1,ulonglong *******param_2,undefined *param_3,undefined2 *param_4) + +{ + longlong lVar1; + ulonglong ***********pppppppppppuVar2; + ushort uVar3; + int iVar4; + int iVar5; + ulonglong ************ppppppppppppuVar6; + ulonglong ************ppppppppppppuVar7; + undefined **ppuVar8; + bool bVar9; + undefined1 auStack_1e8 [32]; + undefined8 local_1c8; + undefined8 local_1c0; + undefined8 local_1b8; + undefined8 local_1b0; + undefined8 local_1a8; + undefined8 local_1a0; + undefined8 local_198; + undefined8 local_190; + undefined8 local_188; + undefined8 local_180; + undefined4 local_178; + undefined8 local_168; + ulonglong ***********local_160; + ulonglong ************local_158; + undefined8 local_150; + ulonglong local_148; + undefined4 local_138; + uint local_134; + byte local_12c; + undefined2 local_110; + undefined6 uStack_10e; + undefined8 local_100; + ulonglong local_f8; + undefined2 local_e8; + undefined6 uStack_e6; + undefined8 local_d8; + ulonglong local_d0; + undefined2 local_c0; + undefined6 uStack_be; + undefined8 local_b0; + ulonglong local_a8; + void *local_60; + undefined8 local_58; + undefined8 local_50; + ulonglong local_38; + + local_168 = 0xfffffffffffffffe; + local_38 = DAT_14016f5a0 ^ (ulonglong)auStack_1e8; + iVar4 = _kbhit(); + while (iVar4 != 0) { + iVar4 = _getch(); + iVar4 = (int)(char)iVar4; + if (*(int *)(param_1 + 0x49428) == 0) { + iVar5 = toupper(iVar4); + switch(iVar5) { + case 0x30: + local_160 = (ulonglong ***********)0x0; + local_158 = (ulonglong ************)0x0; + local_150 = 0; + param_2 = (ulonglong *******)&local_160; + FUN_1400398e0(DAT_14017cf20,(ulonglong *)param_2); + ppppppppppppuVar6 = local_158; + pppppppppppuVar2 = local_160; + for (ppppppppppppuVar7 = (ulonglong ************)local_160; + ppppppppppppuVar7 != ppppppppppppuVar6; ppppppppppppuVar7 = ppppppppppppuVar7 + 0x1f) { + FUN_140003c50(&local_138,(undefined4 *)ppppppppppppuVar7); + param_4 = &local_c0; + if (7 < local_a8) { + param_4 = (undefined2 *)CONCAT62(uStack_be,local_c0); + } + param_3 = (undefined *)(ulonglong)local_12c; + param_2 = (ulonglong *******)(ulonglong)local_134; + wprintf(L" CODE:[ %d ]\tTYPE:[ %d ]\tNAME:[ %s ] \r\n"); + if (local_60 != (void *)0x0) { + operator_delete(local_60); + } + local_60 = (void *)0x0; + local_58 = 0; + local_50 = 0; + if (7 < local_a8) { + operator_delete((void *)CONCAT62(uStack_be,local_c0)); + } + local_a8 = 7; + local_b0 = 0; + local_c0 = 0; + if (7 < local_d0) { + operator_delete((void *)CONCAT62(uStack_e6,local_e8)); + } + local_d0 = 7; + local_d8 = 0; + local_e8 = 0; + if (7 < local_f8) { + operator_delete((void *)CONCAT62(uStack_10e,local_110)); + } + local_f8 = 7; + local_100 = 0; + local_110 = 0; + } + if (pppppppppppuVar2 != (ulonglong ************)0x0) { + FUN_140004ba0((ulonglong *)pppppppppppuVar2,(ulonglong *)ppppppppppppuVar6); + operator_delete(pppppppppppuVar2); + param_2 = (ulonglong *******)ppppppppppppuVar6; + } + FUN_140033b40(DAT_14017cf28); + break; + case 0x31: + bVar9 = *(char *)(DAT_14017cf28 + 0x164) == '\0'; + *(bool *)(DAT_14017cf28 + 0x164) = bVar9; + if (bVar9) { + printf("Print On !!!\n"); + } + else { + printf("Print Off !!!\n"); + } + break; + case 0x32: + FUN_14000bd40(*(longlong *)(param_1 + 0x49468),param_2,param_3,param_4); + param_2 = (ulonglong *******)PTR_s_CreateBackupTable_140174e90; + printf("%s\n"); + break; + case 0x33: + bVar9 = *(char *)(DAT_14017cf28 + 0x180) == '\0'; + *(bool *)(DAT_14017cf28 + 0x180) = bVar9; + param_2 = (ulonglong *******)(ulonglong)bVar9; + printf("Active : %d\n"); + break; + case 0x34: + FUN_140009240(*(longlong *)(param_1 + 0x49460),param_2,param_3,(longlong)param_4); + param_2 = (ulonglong *******)PTR_s_Server_File_Refresh__140174ec0; + printf("%s\n"); + break; + case 0x35: + FUN_140008410(*(longlong *)(param_1 + 0x49460),param_2,param_3,param_4); + param_2 = (ulonglong *******)PTR_s_Server_Option_Refresh__140174ed8; + printf("%s\n"); + break; + default: + ppuVar8 = &PTR_s_Printf_On_Off__140174e78; + do { + uVar3 = GetAsyncKeyState(0xa0); + if (((uVar3 & 0x8001) != 0) || (*(char *)(ppuVar8 + 1) == '\0')) { + param_3 = *ppuVar8; + param_2 = (ulonglong *******)(ulonglong)(uint)(int)*(char *)(ppuVar8 + -1); + printf(" \'%c\'\t: %s\n"); + } + ppuVar8 = ppuVar8 + 3; + } while ((longlong)ppuVar8 < 0x140175028); + printf("........... Message : Unknown Control Command.\n"); + break; + case 0x37: + FUN_140009760(*(longlong *)(param_1 + 0x49460),param_2,param_3,param_4); + param_2 = (ulonglong *******)PTR_s_Server_RealTime_Event__140174ef0; + printf("%s\n"); + break; + case 0x38: + param_2 = (ulonglong *******)(ulonglong)*(uint *)(DAT_14017cf20 + 0x58); + printf("[AgentCount : %d] \n"); + break; + case 0x39: + FUN_14000c120(DAT_14017cf48); + param_2 = (ulonglong *******)PTR_s_Statistics_Print__140174f20; + printf("%s\n"); + break; + case 0x45: + *(undefined1 *)(param_1 + 0x49440) = 0; + printf("Server Shutdown\n"); + return 0; + case 0x46: + wprintf(L"-AGENT MANAGER SERVER [CODE:%d]---------------------------------\n"); + wprintf(L"PUBLIC NETWORK : ADDRESS[ %s ] PORT[ %d ]\n"); + wprintf(L"PRIVATE NETWORK : ADDRESS[ %s ] PORT[ %d ]\n"); + param_3 = (undefined *)(ulonglong)*(uint *)(*(longlong *)(param_1 + 0x49448) + 0x50); + printf("API NETWORK : ADDRESS[ %s ] PORT[ %d ] \n"); + wprintf( + L"\n-SESSION----------------------------------------------------------------------\n" + ); + wprintf(L"%s \n"); + param_2 = (ulonglong *******)(*(longlong *)(param_1 + 0x49468) + 0x28); + if (7 < *(ulonglong *)(*(longlong *)(param_1 + 0x49468) + 0x40)) { + param_2 = (ulonglong *******)*param_2; + } + wprintf(L"%s \n"); + wprintf( + L"\n------------------------------------------------------------------------------\n\n" + ); + break; + case 0x4c: + *(undefined4 *)(param_1 + 0x49428) = 1; + param_3 = &DAT_14012eca4; + param_2 = (ulonglong *******)PTR_s_Keyboard_Locked_140174f80; + printf("%s %s\n"); + break; + case 0x4d: + FUN_140038530(DAT_14017cf10); + param_2 = (ulonglong *******)PTR_s_CustomOption_Init_140175010; + printf("%s\n"); + break; + case 0x50: + lVar1 = *(longlong *)(param_1 + 0x49450); + if (lVar1 != 0) { + local_188 = 0; + local_1c0 = 0; + local_1c8 = 0; + local_1b0 = 0; + local_1b8 = 0; + local_190 = 0; + local_198 = 0; + local_1a0 = 0; + local_1a8 = 0; + local_180 = 0; + local_178 = 0; + if (*(longlong *)(lVar1 + 0x28) != 0) { + (**(code **)(**(longlong **)(lVar1 + 0x28) + 0xb0)) + (*(longlong **)(lVar1 + 0x28),&local_1c8); + printf("--------------------------------------------------\n"); + printf("%I64d totalTcpReceiveCount\n"); + printf("%I64d totalTcpReceiveBytes\n"); + printf("%I64d totalTcpSendCount\n"); + printf("%I64d totalTcpSendBytes\n"); + printf("%d p2pConnectionPairCount\n"); + printf("%d p2pDirectConnectionPairCount\n"); + printf("%d clientCount\n"); + printf("--------------------------------------------------\n"); + } + } + param_2 = (ulonglong *******)PTR_s_Network_Status_140174f98; + printf("%s\n"); + break; + case 0x52: + DAT_14017ce78 = (uint)(DAT_14017ce78 == 0); + param_3 = &DAT_14012eca8; + if (DAT_14017ce78 != 0) { + param_3 = &DAT_14012eca4; + } + param_2 = (ulonglong *******)PTR_s_ShowFPS_140174fb0; + printf("%s %s\n"); + break; + case 0x54: + DAT_14017ce84 = DAT_14017ce84 == '\0'; + param_2 = (ulonglong *******)(ulonglong)(byte)DAT_14017ce84; + printf("Connect : [%d]\n"); + } + } + else { + iVar5 = toupper(iVar4); + if (iVar5 == 0x55) { + *(undefined4 *)(param_1 + 0x49428) = 0; + param_3 = &DAT_14012eca8; + param_2 = (ulonglong *******)PTR_s_Keyboard_UnLocked_140174fc8; + printf("%s %s\n"); + ppuVar8 = &PTR_s_Printf_On_Off__140174e78; + do { + uVar3 = GetAsyncKeyState(0xa0); + if (((uVar3 & 0x8001) != 0) || (*(char *)(ppuVar8 + 1) == '\0')) { + param_3 = *ppuVar8; + param_2 = (ulonglong *******)(ulonglong)(uint)(int)*(char *)(ppuVar8 + -1); + printf(" \'%c\'\t: %s\n"); + } + ppuVar8 = ppuVar8 + 3; + } while ((longlong)ppuVar8 < 0x140175028); + } + } + iVar4 = toupper(iVar4); + if (iVar4 == 0x49) { + printf("=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n"); + GetCurrentProcessId(); + printf("ProcessID : %d\n"); + printf("SVN : %d\n"); + printf("Resource : %d\n"); + printf("Build Date : %s\n"); + param_2 = (ulonglong *******)FUN_1400ed8a0((ulonglong *)&local_160); + if ((ulonglong ***********)0xf < param_2[3]) { + param_2 = (ulonglong *******)*param_2; + } + printf("PROTOCOL : %s\n"); + if (0xf < local_148) { + operator_delete(local_160); + } + local_148 = 0xf; + local_150 = 0; + local_160 = (ulonglong ***********)((ulonglong)local_160 & 0xffffffffffffff00); + printf("=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n"); + } + iVar4 = _kbhit(); + } + return 2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140003c50.c b/decomp/AgentManager_Release_x64/full/functions/0x140003c50.c new file mode 100644 index 00000000..70579df6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140003c50.c @@ -0,0 +1,19 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140003c50 FUN_140003c50 + * Pseudocode, not original source. */ + +undefined4 * FUN_140003c50(undefined4 *param_1,undefined4 *param_2) + +{ + FUN_140004f20(param_1,param_2); + *(undefined8 *)(param_1 + 0x28) = *(undefined8 *)(param_2 + 0x28); + *(undefined8 *)(param_1 + 0x2a) = *(undefined8 *)(param_2 + 0x2a); + *(undefined8 *)(param_1 + 0x2c) = *(undefined8 *)(param_2 + 0x2c); + *(undefined8 *)(param_1 + 0x2e) = *(undefined8 *)(param_2 + 0x2e); + *(undefined8 *)(param_1 + 0x30) = *(undefined8 *)(param_2 + 0x30); + *(undefined8 *)(param_1 + 0x32) = *(undefined8 *)(param_2 + 0x32); + *(undefined8 *)(param_1 + 0x34) = *(undefined8 *)(param_2 + 0x34); + FUN_140004de0((undefined8 *)(param_1 + 0x36),(longlong *)(param_2 + 0x36)); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140003d00.c b/decomp/AgentManager_Release_x64/full/functions/0x140003d00.c new file mode 100644 index 00000000..f255afe6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140003d00.c @@ -0,0 +1,458 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140003d00 FUN_140003d00 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_140003d00(longlong param_1,undefined8 param_2,undefined8 param_3,longlong param_4) + +{ + ulonglong *puVar1; + ulonglong *puVar2; + bool bVar3; + undefined1 auStack_178 [32]; + ulonglong *local_158; + ulonglong *local_150; + undefined8 local_148; + undefined8 local_138; + undefined4 local_128; + uint local_124; + undefined2 local_100; + undefined6 uStack_fe; + undefined8 local_f0; + ulonglong local_e8; + undefined2 local_d8; + undefined6 uStack_d6; + undefined8 local_c8; + ulonglong local_c0; + undefined2 local_b0; + undefined6 uStack_ae; + undefined8 local_a0; + ulonglong local_98; + int local_64; + void *local_50; + undefined8 local_48; + undefined8 local_40; + ulonglong local_28; + + local_138 = 0xfffffffffffffffe; + local_28 = DAT_14016f5a0 ^ (ulonglong)auStack_178; + if (*(longlong *)(param_1 + 0x49450) == 0) { + return; + } + local_158 = (ulonglong *)0x0; + local_150 = (ulonglong *)0x0; + local_148 = 0; + switch(*(undefined4 *)(param_1 + 0x49444)) { + case 1: + FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\f'); + FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\x11'); + FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\x12'); + FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\x13'); + puVar1 = local_150; + for (puVar2 = local_158; puVar2 != puVar1; puVar2 = puVar2 + 0x1f) { + FUN_140003c50(&local_128,(undefined4 *)puVar2); + if (local_64 == 0) { + FUN_14000cb70(*(longlong *)(param_1 + 0x49450),0,(ulonglong)local_124,param_4); + } + if (local_50 != (void *)0x0) { + operator_delete(local_50); + } + local_40 = 0; + local_48 = 0; + local_50 = (void *)0x0; + if (7 < local_98) { + operator_delete((void *)CONCAT62(uStack_ae,local_b0)); + } + local_b0 = 0; + local_a0 = 0; + local_98 = 7; + if (7 < local_c0) { + operator_delete((void *)CONCAT62(uStack_d6,local_d8)); + } + local_d8 = 0; + local_c8 = 0; + local_c0 = 7; + if (7 < local_e8) { + operator_delete((void *)CONCAT62(uStack_fe,local_100)); + } + } + break; + case 2: + FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\f'); + FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\x11'); + FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\x12'); + FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\x13'); + puVar1 = local_150; + for (puVar2 = local_158; puVar2 != puVar1; puVar2 = puVar2 + 0x1f) { + FUN_140003c50(&local_128,(undefined4 *)puVar2); + if (local_64 != 3) { + if (local_50 != (void *)0x0) { + operator_delete(local_50); + } + local_50 = (void *)0x0; + local_48 = 0; + local_40 = 0; + if (7 < local_98) { + operator_delete((void *)CONCAT62(uStack_ae,local_b0)); + } + local_98 = 7; + local_a0 = 0; + local_b0 = 0; + if (7 < local_c0) { + operator_delete((void *)CONCAT62(uStack_d6,local_d8)); + } + local_c0 = 7; + local_c8 = 0; + local_d8 = 0; + if (7 < local_e8) { + operator_delete((void *)CONCAT62(uStack_fe,local_100)); + } + local_e8 = 7; + local_f0 = 0; + local_100 = 0; + if (local_158 == (ulonglong *)0x0) { + return; + } + goto LAB_14000490b; + } + if (local_50 != (void *)0x0) { + operator_delete(local_50); + } + local_50 = (void *)0x0; + local_48 = 0; + local_40 = 0; + if (7 < local_98) { + operator_delete((void *)CONCAT62(uStack_ae,local_b0)); + } + local_98 = 7; + local_a0 = 0; + local_b0 = 0; + if (7 < local_c0) { + operator_delete((void *)CONCAT62(uStack_d6,local_d8)); + } + local_c0 = 7; + local_c8 = 0; + local_d8 = 0; + if (7 < local_e8) { + operator_delete((void *)CONCAT62(uStack_fe,local_100)); + } + } + break; + case 3: + FUN_14000bd40(*(longlong *)(param_1 + 0x49468),&IMAGE_DOS_HEADER_140000000,param_3,param_4); + *(int *)(param_1 + 0x49444) = *(int *)(param_1 + 0x49444) + 1; + goto switchD_140003d7b_caseD_5; + case 4: + FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\f'); + puVar1 = local_150; + for (puVar2 = local_158; puVar2 != puVar1; puVar2 = puVar2 + 0x1f) { + FUN_140003c50(&local_128,(undefined4 *)puVar2); + FUN_14000cb70(*(longlong *)(param_1 + 0x49450),0xd,(ulonglong)local_124,param_4); + if (local_50 != (void *)0x0) { + operator_delete(local_50); + } + local_50 = (void *)0x0; + local_48 = 0; + local_40 = 0; + if (7 < local_98) { + operator_delete((void *)CONCAT62(uStack_ae,local_b0)); + } + local_98 = 7; + local_a0 = 0; + local_b0 = 0; + if (7 < local_c0) { + operator_delete((void *)CONCAT62(uStack_d6,local_d8)); + } + local_c0 = 7; + local_c8 = 0; + local_d8 = 0; + if (7 < local_e8) { + operator_delete((void *)CONCAT62(uStack_fe,local_100)); + } + } + break; + default: + goto switchD_140003d7b_caseD_5; + case 6: + FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\b'); + FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\x06'); + FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\t'); + FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\n'); + FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\v'); + puVar1 = local_150; + for (puVar2 = local_158; puVar2 != puVar1; puVar2 = puVar2 + 0x1f) { + FUN_140003c50(&local_128,(undefined4 *)puVar2); + if (local_64 == 0) { + FUN_14000cb70(*(longlong *)(param_1 + 0x49450),0,(ulonglong)local_124,param_4); + if (local_50 != (void *)0x0) { + std::_Container_base0::_Orphan_all((_Container_base0 *)&local_50); + goto LAB_1400041ea; + } + } + else if (local_50 != (void *)0x0) { +LAB_1400041ea: + operator_delete(local_50); + } + local_40 = 0; + local_48 = 0; + local_50 = (void *)0x0; + if (7 < local_98) { + operator_delete((void *)CONCAT62(uStack_ae,local_b0)); + } + local_b0 = 0; + local_a0 = 0; + local_98 = 7; + if (7 < local_c0) { + operator_delete((void *)CONCAT62(uStack_d6,local_d8)); + } + local_d8 = 0; + local_c8 = 0; + local_c0 = 7; + if (7 < local_e8) { + operator_delete((void *)CONCAT62(uStack_fe,local_100)); + } + } + break; + case 7: + FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\b'); + FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\x06'); + FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\t'); + FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\n'); + FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\v'); + puVar1 = local_150; + for (puVar2 = local_158; puVar2 != puVar1; puVar2 = puVar2 + 0x1f) { + FUN_140003c50(&local_128,(undefined4 *)puVar2); + if (local_64 != 3) { + if (local_50 != (void *)0x0) { + std::_Container_base0::_Orphan_all((_Container_base0 *)&local_50); + operator_delete(local_50); + } + local_50 = (void *)0x0; + local_48 = 0; + local_40 = 0; + if (7 < local_98) { + operator_delete((void *)CONCAT62(uStack_ae,local_b0)); + } + local_98 = 7; + local_a0 = 0; + local_b0 = 0; + if (7 < local_c0) { + operator_delete((void *)CONCAT62(uStack_d6,local_d8)); + } + local_c0 = 7; + local_c8 = 0; + local_d8 = 0; + if (7 < local_e8) { + operator_delete((void *)CONCAT62(uStack_fe,local_100)); + } + local_e8 = 7; + local_f0 = 0; + local_100 = 0; + bVar3 = local_158 == (ulonglong *)0x0; + goto LAB_1400048f9; + } + if (local_50 != (void *)0x0) { + std::_Container_base0::_Orphan_all((_Container_base0 *)&local_50); + operator_delete(local_50); + } + local_50 = (void *)0x0; + local_48 = 0; + local_40 = 0; + if (7 < local_98) { + operator_delete((void *)CONCAT62(uStack_ae,local_b0)); + } + local_98 = 7; + local_a0 = 0; + local_b0 = 0; + if (7 < local_c0) { + operator_delete((void *)CONCAT62(uStack_d6,local_d8)); + } + local_c0 = 7; + local_c8 = 0; + local_d8 = 0; + if (7 < local_e8) { + operator_delete((void *)CONCAT62(uStack_fe,local_100)); + } + } + break; + case 8: + FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\a'); + FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\x05'); + puVar1 = local_150; + for (puVar2 = local_158; puVar2 != puVar1; puVar2 = puVar2 + 0x1f) { + FUN_140003c50(&local_128,(undefined4 *)puVar2); + if (local_64 == 0) { + FUN_14000cb70(*(longlong *)(param_1 + 0x49450),0,(ulonglong)local_124,param_4); + if (local_50 != (void *)0x0) { + std::_Container_base0::_Orphan_all((_Container_base0 *)&local_50); + operator_delete(local_50); + } + local_50 = (void *)0x0; + local_48 = 0; + local_40 = 0; + FUN_140004e90((longlong)&local_128); + } + else { + if (local_50 != (void *)0x0) { + std::_Container_base0::_Orphan_all((_Container_base0 *)&local_50); + operator_delete(local_50); + } + local_50 = (void *)0x0; + local_48 = 0; + local_40 = 0; + if (7 < local_98) { + operator_delete((void *)CONCAT62(uStack_ae,local_b0)); + } + local_98 = 7; + local_a0 = 0; + local_b0 = 0; + if (7 < local_c0) { + operator_delete((void *)CONCAT62(uStack_d6,local_d8)); + } + local_c0 = 7; + local_c8 = 0; + local_d8 = 0; + if (7 < local_e8) { + operator_delete((void *)CONCAT62(uStack_fe,local_100)); + } + } + } + break; + case 9: + FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\a'); + FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\x05'); + puVar1 = local_150; + for (puVar2 = local_158; puVar2 != puVar1; puVar2 = puVar2 + 0x1f) { + FUN_140003c50(&local_128,(undefined4 *)puVar2); + if (local_64 != 3) { + if (local_50 != (void *)0x0) { + std::_Container_base0::_Orphan_all((_Container_base0 *)&local_50); + operator_delete(local_50); + } + local_50 = (void *)0x0; + local_48 = 0; + local_40 = 0; + FUN_140004e90((longlong)&local_128); + bVar3 = local_158 == (ulonglong *)0x0; + goto LAB_1400048f9; + } + if (local_50 != (void *)0x0) { + std::_Container_base0::_Orphan_all((_Container_base0 *)&local_50); + operator_delete(local_50); + } + local_50 = (void *)0x0; + local_48 = 0; + local_40 = 0; + FUN_140004e90((longlong)&local_128); + } + break; + case 10: + FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\x01'); + puVar1 = local_150; + for (puVar2 = local_158; puVar2 != puVar1; puVar2 = puVar2 + 0x1f) { + FUN_140003c50(&local_128,(undefined4 *)puVar2); + if (local_64 == 0) { + FUN_14000cb70(*(longlong *)(param_1 + 0x49450),0,(ulonglong)local_124,param_4); + } + if (local_50 != (void *)0x0) { + std::_Container_base0::_Orphan_all((_Container_base0 *)&local_50); + operator_delete(local_50); + } + local_50 = (void *)0x0; + local_48 = 0; + local_40 = 0; + FUN_140004e90((longlong)&local_128); + } + break; + case 0xb: + FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\x01'); + puVar1 = local_150; + for (puVar2 = local_158; puVar2 != puVar1; puVar2 = puVar2 + 0x1f) { + FUN_140003c50(&local_128,(undefined4 *)puVar2); + if (local_64 != 3) { + if (local_50 != (void *)0x0) { + std::_Container_base0::_Orphan_all((_Container_base0 *)&local_50); + operator_delete(local_50); + } + local_50 = (void *)0x0; + local_48 = 0; + local_40 = 0; + FUN_140004e90((longlong)&local_128); + bVar3 = local_158 == (ulonglong *)0x0; + goto LAB_1400048f9; + } + if (local_50 != (void *)0x0) { + std::_Container_base0::_Orphan_all((_Container_base0 *)&local_50); + operator_delete(local_50); + } + local_50 = (void *)0x0; + local_48 = 0; + local_40 = 0; + FUN_140004e90((longlong)&local_128); + } + break; + case 0xc: + FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\x02'); + FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\x03'); + puVar1 = local_150; + for (puVar2 = local_158; puVar2 != puVar1; puVar2 = puVar2 + 0x1f) { + FUN_140003c50(&local_128,(undefined4 *)puVar2); + if (local_64 == 0) { + FUN_14000cb70(*(longlong *)(param_1 + 0x49450),0,(ulonglong)local_124,param_4); + } + if (local_50 != (void *)0x0) { + std::_Container_base0::_Orphan_all((_Container_base0 *)&local_50); + operator_delete(local_50); + } + local_50 = (void *)0x0; + local_48 = 0; + local_40 = 0; + FUN_140004e90((longlong)&local_128); + } + break; + case 0xd: + FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\x02'); + FUN_140039980(DAT_14017cf20,(ulonglong *)&local_158,'\x03'); + puVar1 = local_150; + for (puVar2 = local_158; puVar2 != puVar1; puVar2 = puVar2 + 0x1f) { + FUN_140003c50(&local_128,(undefined4 *)puVar2); + if (local_64 != 3) { + if (local_50 != (void *)0x0) { + std::_Container_base0::_Orphan_all((_Container_base0 *)&local_50); + operator_delete(local_50); + } + local_50 = (void *)0x0; + local_48 = 0; + local_40 = 0; + FUN_140004e90((longlong)&local_128); + bVar3 = local_158 == (ulonglong *)0x0; + goto LAB_1400048f9; + } + if (local_50 != (void *)0x0) { + std::_Container_base0::_Orphan_all((_Container_base0 *)&local_50); + operator_delete(local_50); + } + local_50 = (void *)0x0; + local_48 = 0; + local_40 = 0; + FUN_140004e90((longlong)&local_128); + } + break; + case 0xe: + *(undefined4 *)(param_1 + 0x49444) = 0; + goto switchD_140003d7b_caseD_5; + } + *(int *)(param_1 + 0x49444) = *(int *)(param_1 + 0x49444) + 1; +switchD_140003d7b_caseD_5: + bVar3 = local_158 == (ulonglong *)0x0; +LAB_1400048f9: + if (!bVar3) { + std::_Container_base0::_Orphan_all((_Container_base0 *)&local_158); +LAB_14000490b: + FUN_140004ba0(local_158,local_150); + operator_delete(local_158); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140004980.c b/decomp/AgentManager_Release_x64/full/functions/0x140004980.c new file mode 100644 index 00000000..c89e947f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140004980.c @@ -0,0 +1,23 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140004980 FUN_140004980 + * Pseudocode, not original source. */ + +void FUN_140004980(longlong *param_1) + +{ + longlong *plVar1; + undefined8 *puVar2; + + if ((*param_1 != 0) && + (*(longlong *)(*param_1 + 8) = *(longlong *)(*param_1 + 8) + -1, + *(longlong *)(*param_1 + 8) == 0)) { + plVar1 = (longlong *)*param_1; + puVar2 = (undefined8 *)*plVar1; + if (puVar2 != (undefined8 *)0x0) { + (**(code **)*puVar2)(puVar2,1); + } + FUN_14003e8b0(plVar1); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400049e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400049e0.c new file mode 100644 index 00000000..1a2a61e3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400049e0.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400049e0 FUN_1400049e0 + * Pseudocode, not original source. */ + +void FUN_1400049e0(longlong *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + if (*param_1 != 0) { + *(longlong *)(*param_1 + 8) = *(longlong *)(*param_1 + 8) + -1; + if (*(longlong *)(*param_1 + 8) == 0) { + FUN_140004aa0((undefined8 *)*param_1,0,param_3,param_4); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140004a20.c b/decomp/AgentManager_Release_x64/full/functions/0x140004a20.c new file mode 100644 index 00000000..f22be199 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140004a20.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140004a20 FUN_140004a20 + * Pseudocode, not original source. */ + +void FUN_140004a20(longlong *param_1,undefined8 param_2,void **param_3) + +{ + if (*param_1 != 0) { + *(longlong *)(*param_1 + 8) = *(longlong *)(*param_1 + 8) + -1; + if (*(longlong *)(*param_1 + 8) == 0) { + FUN_140004b20((undefined8 *)*param_1,0,param_3); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140004a60.c b/decomp/AgentManager_Release_x64/full/functions/0x140004a60.c new file mode 100644 index 00000000..80a7c880 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140004a60.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140004a60 FUN_140004a60 + * Pseudocode, not original source. */ + +void FUN_140004a60(undefined8 *param_1) + +{ + if ((ulonglong *)*param_1 != (ulonglong *)0x0) { + FUN_140004ba0((ulonglong *)*param_1,(ulonglong *)param_1[1]); + operator_delete((void *)*param_1); + } + *param_1 = 0; + param_1[1] = 0; + param_1[2] = 0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140004aa0.c b/decomp/AgentManager_Release_x64/full/functions/0x140004aa0.c new file mode 100644 index 00000000..ec2c06f4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140004aa0.c @@ -0,0 +1,25 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140004aa0 FUN_140004aa0 + * Pseudocode, not original source. */ + +void FUN_140004aa0(undefined8 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 *puVar1; + + puVar1 = (undefined8 *)*param_1; + if (puVar1 != (undefined8 *)0x0) { + *puVar1 = MagiApiServer::vftable; + FUN_14003d110((undefined4 *)(puVar1 + 0xc),param_2,param_3,param_4); + if (0xf < (ulonglong)puVar1[8]) { + operator_delete((void *)puVar1[5]); + } + puVar1[8] = 0xf; + puVar1[7] = 0; + *(undefined1 *)(puVar1 + 5) = 0; + operator_delete(puVar1); + } + FUN_14003e8b0(param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140004b20.c b/decomp/AgentManager_Release_x64/full/functions/0x140004b20.c new file mode 100644 index 00000000..07347911 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140004b20.c @@ -0,0 +1,40 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140004b20 FUN_140004b20 + * Pseudocode, not original source. */ + +void FUN_140004b20(undefined8 *param_1,undefined8 param_2,void **param_3) + +{ + char *pcVar1; + + pcVar1 = (char *)*param_1; + if (pcVar1 != (char *)0x0) { + if (7 < *(ulonglong *)(pcVar1 + 0x40)) { + operator_delete(*(void **)(pcVar1 + 0x28)); + } + pcVar1[0x40] = '\a'; + pcVar1[0x41] = '\0'; + pcVar1[0x42] = '\0'; + pcVar1[0x43] = '\0'; + pcVar1[0x44] = '\0'; + pcVar1[0x45] = '\0'; + pcVar1[0x46] = '\0'; + pcVar1[0x47] = '\0'; + pcVar1[0x38] = '\0'; + pcVar1[0x39] = '\0'; + pcVar1[0x3a] = '\0'; + pcVar1[0x3b] = '\0'; + pcVar1[0x3c] = '\0'; + pcVar1[0x3d] = '\0'; + pcVar1[0x3e] = '\0'; + pcVar1[0x3f] = '\0'; + pcVar1[0x28] = '\0'; + pcVar1[0x29] = '\0'; + FUN_140072ba0((longlong *)(pcVar1 + 8),param_2,param_3); + FUN_1400721f0(pcVar1); + operator_delete(pcVar1); + } + FUN_14003e8b0(param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140004ba0.c b/decomp/AgentManager_Release_x64/full/functions/0x140004ba0.c new file mode 100644 index 00000000..14cd9b6a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140004ba0.c @@ -0,0 +1,44 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140004ba0 FUN_140004ba0 + * Pseudocode, not original source. */ + +void FUN_140004ba0(ulonglong *param_1,ulonglong *param_2) + +{ + ulonglong *puVar1; + ulonglong *puVar2; + + if (param_1 != param_2) { + puVar2 = param_1 + 0x12; + do { + if ((void *)puVar2[9] != (void *)0x0) { + operator_delete((void *)puVar2[9]); + } + puVar2[9] = 0; + puVar2[10] = 0; + puVar2[0xb] = 0; + if (7 < *puVar2) { + operator_delete((void *)puVar2[-3]); + } + *puVar2 = 7; + puVar2[-1] = 0; + *(undefined2 *)(puVar2 + -3) = 0; + if (7 < puVar2[-5]) { + operator_delete((void *)puVar2[-8]); + } + puVar2[-5] = 7; + puVar2[-6] = 0; + *(undefined2 *)(puVar2 + -8) = 0; + if (7 < puVar2[-10]) { + operator_delete((void *)puVar2[-0xd]); + } + puVar2[-10] = 7; + puVar2[-0xb] = 0; + *(undefined2 *)(puVar2 + -0xd) = 0; + puVar1 = puVar2 + 0xd; + puVar2 = puVar2 + 0x1f; + } while (puVar1 != param_2); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140004c70.c b/decomp/AgentManager_Release_x64/full/functions/0x140004c70.c new file mode 100644 index 00000000..a5210bda --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140004c70.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140004c70 FUN_140004c70 + * Pseudocode, not original source. */ + +void FUN_140004c70(longlong param_1) + +{ + if (*(void **)(param_1 + 0xd8) != (void *)0x0) { + operator_delete(*(void **)(param_1 + 0xd8)); + } + *(undefined8 *)(param_1 + 0xd8) = 0; + *(undefined8 *)(param_1 + 0xe0) = 0; + *(undefined8 *)(param_1 + 0xe8) = 0; + FUN_140004e90(param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140004cb0.c b/decomp/AgentManager_Release_x64/full/functions/0x140004cb0.c new file mode 100644 index 00000000..6bf6e813 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140004cb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140004cb0 FUN_140004cb0 + * Pseudocode, not original source. */ + +void FUN_140004cb0(longlong param_1,ulonglong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140002350((undefined8 *)(param_1 + -8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140004cc0.c b/decomp/AgentManager_Release_x64/full/functions/0x140004cc0.c new file mode 100644 index 00000000..2d407f43 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140004cc0.c @@ -0,0 +1,25 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140004cc0 FUN_140004cc0 + * Pseudocode, not original source. */ + +void * FUN_140004cc0(undefined8 param_1,ulonglong param_2) + +{ + void *pvVar1; + char *local_res10 [3]; + undefined **local_28 [5]; + + if (param_2 == 0) { + return (void *)0x0; + } + if ((param_2 < 0x4000000000000000) && (pvVar1 = operator_new(param_2 * 4), pvVar1 != (void *)0x0)) + { + return pvVar1; + } + local_res10[0] = (char *)0x0; + std::exception::exception((exception *)local_28,local_res10); + local_28[0] = std::bad_alloc::vftable; + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_28,(ThrowInfo *)&DAT_14016c158); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140004d30.c b/decomp/AgentManager_Release_x64/full/functions/0x140004d30.c new file mode 100644 index 00000000..16b387aa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140004d30.c @@ -0,0 +1,32 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140004d30 FUN_140004d30 + * Pseudocode, not original source. */ + +undefined8 FUN_140004d30(undefined8 *param_1,ulonglong param_2) + +{ + code *pcVar1; + undefined8 uVar2; + void *pvVar3; + + uVar2 = 0; + *param_1 = 0; + param_1[1] = 0; + param_1[2] = 0; + if (param_2 != 0) { + if (0x3fffffffffffffff < param_2) { + std::_Xlength_error("vector too long"); + pcVar1 = (code *)swi(3); + uVar2 = (*pcVar1)(); + return uVar2; + } + pvVar3 = FUN_140004cc0(param_1 + 3,param_2); + *param_1 = pvVar3; + param_1[1] = pvVar3; + pvVar3 = (void *)((longlong)pvVar3 + param_2 * 4); + param_1[2] = pvVar3; + uVar2 = CONCAT71((int7)((ulonglong)pvVar3 >> 8),1); + } + return uVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140004da0.c b/decomp/AgentManager_Release_x64/full/functions/0x140004da0.c new file mode 100644 index 00000000..715f42ce --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140004da0.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140004da0 FUN_140004da0 + * Pseudocode, not original source. */ + +undefined4 * FUN_140004da0(undefined4 *param_1,undefined4 *param_2,undefined4 *param_3) + +{ + for (; param_1 != param_2; param_1 = param_1 + 1) { + if (param_3 != (undefined4 *)0x0) { + *param_3 = *param_1; + } + param_3 = param_3 + 1; + } + return param_3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140004de0.c b/decomp/AgentManager_Release_x64/full/functions/0x140004de0.c new file mode 100644 index 00000000..ce9e2a27 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140004de0.c @@ -0,0 +1,36 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140004de0 FUN_140004de0 + * Pseudocode, not original source. */ + +undefined8 * FUN_140004de0(undefined8 *param_1,longlong *param_2) + +{ + code *pcVar1; + undefined8 *puVar2; + undefined4 *puVar3; + ulonglong uVar4; + + *param_1 = 0; + param_1[1] = 0; + param_1[2] = 0; + uVar4 = param_2[1] - *param_2 >> 2; + *param_1 = 0; + param_1[1] = 0; + param_1[2] = 0; + if (uVar4 != 0) { + if (0x3fffffffffffffff < uVar4) { + std::_Xlength_error("vector too long"); + pcVar1 = (code *)swi(3); + puVar2 = (undefined8 *)(*pcVar1)(); + return puVar2; + } + puVar3 = FUN_140004cc0(param_1 + 3,uVar4); + *param_1 = puVar3; + param_1[1] = puVar3; + param_1[2] = puVar3 + uVar4; + puVar3 = FUN_140004da0((undefined4 *)*param_2,(undefined4 *)param_2[1],puVar3); + param_1[1] = puVar3; + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140004e90.c b/decomp/AgentManager_Release_x64/full/functions/0x140004e90.c new file mode 100644 index 00000000..98ca9400 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140004e90.c @@ -0,0 +1,28 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140004e90 FUN_140004e90 + * Pseudocode, not original source. */ + +void FUN_140004e90(longlong param_1) + +{ + if (7 < *(ulonglong *)(param_1 + 0x90)) { + operator_delete(*(void **)(param_1 + 0x78)); + } + *(undefined8 *)(param_1 + 0x90) = 7; + *(undefined8 *)(param_1 + 0x88) = 0; + *(undefined2 *)(param_1 + 0x78) = 0; + if (7 < *(ulonglong *)(param_1 + 0x68)) { + operator_delete(*(void **)(param_1 + 0x50)); + } + *(undefined8 *)(param_1 + 0x68) = 7; + *(undefined8 *)(param_1 + 0x60) = 0; + *(undefined2 *)(param_1 + 0x50) = 0; + if (7 < *(ulonglong *)(param_1 + 0x40)) { + operator_delete(*(void **)(param_1 + 0x28)); + } + *(undefined8 *)(param_1 + 0x40) = 7; + *(undefined8 *)(param_1 + 0x38) = 0; + *(undefined2 *)(param_1 + 0x28) = 0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140004f20.c b/decomp/AgentManager_Release_x64/full/functions/0x140004f20.c new file mode 100644 index 00000000..8c2f1108 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140004f20.c @@ -0,0 +1,31 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140004f20 FUN_140004f20 + * Pseudocode, not original source. */ + +undefined4 * FUN_140004f20(undefined4 *param_1,undefined4 *param_2) + +{ + *param_1 = *param_2; + param_1[1] = param_2[1]; + param_1[2] = param_2[2]; + *(undefined1 *)(param_1 + 3) = *(undefined1 *)(param_2 + 3); + param_1[4] = param_2[4]; + param_1[5] = param_2[5]; + param_1[6] = param_2[6]; + param_1[7] = param_2[7]; + *(undefined1 *)(param_1 + 8) = *(undefined1 *)(param_2 + 8); + *(undefined8 *)(param_1 + 0x10) = 7; + *(undefined8 *)(param_1 + 0xe) = 0; + *(undefined2 *)(param_1 + 10) = 0; + FUN_140001630((longlong *)(param_1 + 10),(longlong *)(param_2 + 10),0,0xffffffffffffffff); + *(undefined8 *)(param_1 + 0x1a) = 7; + *(undefined8 *)(param_1 + 0x18) = 0; + *(undefined2 *)(param_1 + 0x14) = 0; + FUN_140001630((longlong *)(param_1 + 0x14),(longlong *)(param_2 + 0x14),0,0xffffffffffffffff); + *(undefined8 *)(param_1 + 0x24) = 7; + *(undefined8 *)(param_1 + 0x22) = 0; + *(undefined2 *)(param_1 + 0x1e) = 0; + FUN_140001630((longlong *)(param_1 + 0x1e),(longlong *)(param_2 + 0x1e),0,0xffffffffffffffff); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140005000.c b/decomp/AgentManager_Release_x64/full/functions/0x140005000.c new file mode 100644 index 00000000..50593ac0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140005000.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140005000 FUN_140005000 + * Pseudocode, not original source. */ + +void FUN_140005000(undefined8 *param_1) + +{ + if ((undefined8 *)*param_1 != param_1 + 1) { + free((undefined8 *)*param_1); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140005020.c b/decomp/AgentManager_Release_x64/full/functions/0x140005020.c new file mode 100644 index 00000000..4ef77eb2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140005020.c @@ -0,0 +1,50 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140005020 FUN_140005020 + * Pseudocode, not original source. */ + +void FUN_140005020(longlong *param_1,int param_2,void *param_3,int param_4) + +{ + void *pvVar1; + + if (param_1 == (longlong *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80070057); + } + if (param_2 < 0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80070057); + } + if (param_3 == (void *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80070057); + } + pvVar1 = (void *)*param_1; + if (pvVar1 == param_3) { + if (param_2 <= param_4) { + *param_1 = (longlong)param_3; + goto LAB_1400050b1; + } + pvVar1 = calloc((longlong)param_2,2); + } + else { + if (param_2 <= param_4) { + free(pvVar1); + *param_1 = (longlong)param_3; + goto LAB_1400050b1; + } + pvVar1 = _recalloc(pvVar1,(longlong)param_2,2); + if (pvVar1 == (void *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x8007000e); + } + } + *param_1 = (longlong)pvVar1; +LAB_1400050b1: + if (*param_1 == 0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x8007000e); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400050d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400050d0.c new file mode 100644 index 00000000..b6d6e1bd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400050d0.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400050d0 FUN_1400050d0 + * Pseudocode, not original source. */ + +void FUN_1400050d0(undefined4 param_1) + +{ + undefined4 local_res8 [8]; + + local_res8[0] = param_1; + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_res8,(ThrowInfo *)&DAT_14016c1b0); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400050f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400050f0.c new file mode 100644 index 00000000..8a14a575 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400050f0.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400050f0 FUN_1400050f0 + * Pseudocode, not original source. */ + +void FUN_1400050f0(void) + +{ + DWORD DVar1; + + DVar1 = GetLastError(); + if (0 < (int)DVar1) { + DVar1 = DVar1 & 0xffff | 0x80070000; + } + /* WARNING: Subroutine does not return */ + FUN_1400050d0(DVar1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140005110.c b/decomp/AgentManager_Release_x64/full/functions/0x140005110.c new file mode 100644 index 00000000..1db21015 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140005110.c @@ -0,0 +1,40 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140005110 FUN_140005110 + * Pseudocode, not original source. */ + +void FUN_140005110(longlong *param_1,LPCSTR param_2,UINT param_3) + +{ + code *pcVar1; + int iVar2; + int iVar3; + DWORD DVar4; + bool bVar5; + + if (param_2 == (LPCSTR)0x0) { + *param_1 = 0; + return; + } + iVar2 = lstrlenA(param_2); + iVar2 = iVar2 + 1; + FUN_140005020(param_1,iVar2,param_1 + 1,0x80); + iVar3 = MultiByteToWideChar(param_3,0,param_2,iVar2,(LPWSTR)*param_1,iVar2); + if (iVar3 == 0) { + DVar4 = GetLastError(); + bVar5 = true; + if (DVar4 == 0x7a) { + iVar3 = MultiByteToWideChar(param_3,0,param_2,iVar2,(LPWSTR)0x0,0); + FUN_140005020(param_1,iVar3,param_1 + 1,0x80); + iVar2 = MultiByteToWideChar(param_3,0,param_2,iVar2,(LPWSTR)*param_1,iVar3); + bVar5 = iVar2 == 0; + } + if (bVar5) { + FUN_1400050f0(); + pcVar1 = (code *)swi(3); + (*pcVar1)(); + return; + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140005220.c b/decomp/AgentManager_Release_x64/full/functions/0x140005220.c new file mode 100644 index 00000000..8eb1cc4d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140005220.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140005220 FUN_140005220 + * Pseudocode, not original source. */ + +undefined8 * FUN_140005220(undefined8 *param_1,byte param_2) + +{ + DAT_14017c8b8 = 0; + *param_1 = MBISingleton::vftable; + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140005260.c b/decomp/AgentManager_Release_x64/full/functions/0x140005260.c new file mode 100644 index 00000000..eb167934 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140005260.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140005260 FUN_140005260 + * Pseudocode, not original source. */ + +void FUN_140005260(undefined8 *param_1) + +{ + DAT_14017c8b8 = 0; + *param_1 = MBISingleton::vftable; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140005280.c b/decomp/AgentManager_Release_x64/full/functions/0x140005280.c new file mode 100644 index 00000000..3c690495 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140005280.c @@ -0,0 +1,43 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140005280 FUN_140005280 + * Pseudocode, not original source. */ + +undefined8 * +FUN_140005280(undefined8 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 *puVar1; + ulonglong uVar2; + undefined7 uVar3; + + uVar3 = (undefined7)((ulonglong)param_3 >> 8); + param_1[5] = 0; + FUN_14003e7c0(param_1,param_2,param_3,param_4); + param_1[6] = PTR_DAT_14016f010; + param_1[7] = 0; + *(undefined4 *)(param_1 + 8) = 0; + *param_1 = Proud::INetServerEvent::vftable; + FUN_140079b60(param_1 + 1); + *param_1 = MagiAgentManagerNetwork::vftable; + param_1[1] = MagiAgentManagerNetwork::vftable; + puVar1 = param_1 + 9; + FUN_140076890(puVar1); + *puVar1 = AGENTMANAGER2AGENT_PROTOCOL::Proxy::vftable; + if (*(int *)((longlong)param_1 + 0x5c) != 1) { + FUN_14003e110((wchar_t *)PTR_u_PIDL_compiler_is_incompatible_to_140170070); + } + *puVar1 = RNP::AgentManager2AgentProxy::vftable; + *(undefined1 *)(param_1 + 0xc) = 0; + param_1[0xd] = 0; + param_1[0xe] = 0; + param_1[0xf] = 0; + param_1[0x10] = 0; + param_1[0x11] = 0; + param_1[0x12] = 0; + *(undefined4 *)(param_1 + 0x13) = 0xffffffff; + *(undefined1 *)((longlong)param_1 + 0x9c) = 0; + uVar2 = FUN_140094860(); + FUN_14003cf60((undefined4 *)(param_1 + 0x14),uVar2 & 0xffffffff,CONCAT71(uVar3,1),param_4); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140005380.c b/decomp/AgentManager_Release_x64/full/functions/0x140005380.c new file mode 100644 index 00000000..895bd038 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140005380.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140005380 FUN_140005380 + * Pseudocode, not original source. */ + +undefined8 * +FUN_140005380(undefined8 *param_1,ulonglong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400053b0(param_1,param_2,param_3,param_4); + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400053b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400053b0.c new file mode 100644 index 00000000..a0fb6d21 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400053b0.c @@ -0,0 +1,28 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400053b0 FUN_1400053b0 + * Pseudocode, not original source. */ + +void FUN_1400053b0(undefined8 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 *puVar1; + + *param_1 = MagiAgentManagerNetwork::vftable; + param_1[1] = MagiAgentManagerNetwork::vftable; + FUN_14003d110((undefined4 *)(param_1 + 0x14),param_2,param_3,param_4); + param_1[9] = RNP::AgentManager2AgentProxy::vftable; + FUN_1400768c0(param_1 + 9); + param_1[1] = RNP::Agent2AgentManagerStub::vftable; + FUN_140079b90(param_1 + 1); + *param_1 = Proud::INetServerEvent::vftable; + FUN_140049b90(param_1); + puVar1 = (undefined8 *)param_1[5]; + if (puVar1 != (undefined8 *)0x0) { + param_2 = 1; + (**(code **)*puVar1)(); + } + param_1[5] = 0; + FUN_140002190(param_1 + 6,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140005460.c b/decomp/AgentManager_Release_x64/full/functions/0x140005460.c new file mode 100644 index 00000000..477e4196 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140005460.c @@ -0,0 +1,27 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140005460 FUN_140005460 + * Pseudocode, not original source. */ + +void FUN_140005460(longlong param_1,undefined8 param_2,undefined8 param_3,longlong param_4) + +{ + longlong *plVar1; + short *psVar2; + longlong lVar3; + + plVar1 = FUN_140069970(param_1,param_2,param_3,param_4); + *(longlong **)(param_1 + 0x28) = plVar1; + lVar3 = *plVar1; + (**(code **)(lVar3 + 0x10))(plVar1,param_1 + 8); + (**(code **)(**(longlong **)(param_1 + 0x28) + 8))(*(longlong **)(param_1 + 0x28),param_1 + 0x48); + (**(code **)(**(longlong **)(param_1 + 0x28) + 0x130))(*(longlong **)(param_1 + 0x28),param_1); + psVar2 = (short *)(DAT_14017cf28 + 0x30); + if (7 < *(ulonglong *)(DAT_14017cf28 + 0x48)) { + psVar2 = *(short **)psVar2; + } + FUN_140005dd0((longlong *)(param_1 + 0x30),psVar2,lVar3,param_4); + *(undefined4 *)(param_1 + 0x38) = *(undefined4 *)(DAT_14017cf28 + 0x80); + FUN_140037750((undefined8 *)(param_1 + 0x28),psVar2,lVar3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400054f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400054f0.c new file mode 100644 index 00000000..a365c192 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400054f0.c @@ -0,0 +1,258 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400054f0 FUN_1400054f0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_1400054f0(longlong param_1,double param_2,undefined8 param_3,ulonglong param_4) + +{ + int iVar1; + int *piVar2; + int *piVar3; + longlong lVar4; + undefined8 **ppuVar5; + int **ppiVar6; + _SYSTEMTIME *p_Var7; + undefined8 uVar8; + undefined8 uVar9; + ulonglong uVar10; + undefined8 uVar11; + undefined8 uVar12; + int *piVar13; + int *piVar14; + int iVar15; + int *piVar16; + uint uVar17; + int *piVar18; + int iVar19; + uint uVar20; + uint uVar21; + undefined1 auStackY_138 [32]; + undefined8 *local_f0; + undefined8 local_e8; + int *local_e0; + undefined8 local_d8; + undefined8 *local_d0; + undefined8 local_c8; + int *local_c0; + undefined8 local_b8; + int *local_b0; + int *local_a8; + undefined8 local_a0; + undefined8 *local_90; + undefined8 local_88; + undefined8 *local_80; + undefined8 local_78; + undefined8 *local_70; + undefined8 local_68; + undefined8 local_60; + _SYSTEMTIME local_58; + ulonglong local_48; + + local_60 = 0xfffffffffffffffe; + local_48 = DAT_14016f5a0 ^ (ulonglong)auStackY_138; + if (20.0 <= param_2 - *(double *)(param_1 + 0x88)) { + local_b0 = (int *)0x0; + local_a8 = (int *)0x0; + local_a0 = 0; + FUN_140039a40(DAT_14017cf20,(longlong *)&local_b0); + piVar14 = local_b0; + if (local_b0 != local_a8) { + do { + piVar18 = (int *)0x0; + iVar1 = *piVar14; + uVar20 = 0; + if (*(longlong *)(DAT_14017cf20 + 0x58) == 0) { + local_70 = (undefined8 *)0x0; + local_68 = 0; + ppuVar5 = &local_70; + } + else { + local_f0 = *(undefined8 **)(DAT_14017cf20 + 0x68); + if (local_f0 == (undefined8 *)0x0) { + local_e8 = 0; + } + else { + local_e8 = *local_f0; + } + ppuVar5 = &local_f0; + } + piVar13 = (int *)*ppuVar5; + piVar3 = (int *)ppuVar5[1]; + piVar16 = piVar18; + uVar21 = uVar20; + while (piVar3 != (int *)0x0) { + piVar2 = *(int **)(piVar3 + 4); + if (((piVar2 != (int *)0x0) && (*piVar2 == iVar1)) && ((char)piVar2[3] == '\b')) { + piVar16 = (int *)(ulonglong)(uint)((int)piVar16 + piVar2[0x2e]); + } + uVar21 = (uint)piVar16; + piVar3 = *(int **)piVar3; + while (piVar3 == (int *)0x0) { + piVar13 = piVar13 + 2; + piVar3 = *(int **)piVar13; + } + if (piVar13 == piVar3) { + piVar3 = piVar18; + } + } + if (*(longlong *)(DAT_14017cf20 + 0x58) == 0) { + local_80 = (undefined8 *)0x0; + local_78 = 0; + ppuVar5 = &local_80; + } + else { + local_90 = *(undefined8 **)(DAT_14017cf20 + 0x68); + if (local_90 == (undefined8 *)0x0) { + local_88 = 0; + } + else { + local_88 = *local_90; + } + ppuVar5 = &local_90; + } + piVar13 = (int *)*ppuVar5; + piVar3 = (int *)ppuVar5[1]; + piVar16 = piVar18; + while (piVar3 != (int *)0x0) { + piVar2 = *(int **)(piVar3 + 4); + if (((piVar2 != (int *)0x0) && (*piVar2 == iVar1)) && ((char)piVar2[3] == '\x01')) { + piVar16 = (int *)(ulonglong)(uint)((int)piVar16 + piVar2[0x2e]); + } + uVar20 = (uint)piVar16; + piVar3 = *(int **)piVar3; + while (piVar3 == (int *)0x0) { + piVar13 = piVar13 + 2; + piVar3 = *(int **)piVar13; + } + if (piVar13 == piVar3) { + piVar3 = piVar18; + } + } + if (*(longlong *)(DAT_14017cf20 + 0x58) == 0) { + local_e0 = (int *)0x0; + local_d8 = 0; + ppiVar6 = &local_e0; + } + else { + local_c0 = *(int **)(DAT_14017cf20 + 0x68); + if (local_c0 == (int *)0x0) { + local_b8 = 0; + } + else { + local_b8 = *(undefined8 *)local_c0; + } + ppiVar6 = &local_c0; + } + piVar13 = *ppiVar6; + piVar3 = ppiVar6[1]; + piVar16 = piVar18; + while (iVar19 = (int)piVar16, piVar3 != (int *)0x0) { + piVar2 = *(int **)(piVar3 + 4); + if (((piVar2 != (int *)0x0) && (*piVar2 == iVar1)) && ((char)piVar2[3] == '\x02')) { + piVar16 = (int *)(ulonglong)(uint)(iVar19 + piVar2[0x2e]); + } + piVar3 = *(int **)piVar3; + while (piVar3 == (int *)0x0) { + piVar13 = piVar13 + 2; + piVar3 = *(int **)piVar13; + } + if (piVar13 == piVar3) { + piVar3 = piVar18; + } + } + iVar15 = 0; + if (*(longlong *)(DAT_14017cf20 + 0x58) == 0) { + local_58.wYear = 0; + local_58.wMonth = 0; + local_58.wDayOfWeek = 0; + local_58.wDay = 0; + local_58.wHour = 0; + local_58.wMinute = 0; + local_58.wSecond = 0; + local_58.wMilliseconds = 0; + p_Var7 = &local_58; + } + else { + local_d0 = *(undefined8 **)(DAT_14017cf20 + 0x68); + if (local_d0 == (undefined8 *)0x0) { + local_c8._0_2_ = 0; + local_c8._2_2_ = 0; + local_c8._4_2_ = 0; + local_c8._6_2_ = 0; + } + else { + local_c8 = *local_d0; + } + p_Var7 = (_SYSTEMTIME *)&local_d0; + } + piVar13 = *(int **)p_Var7; + piVar3 = *(int **)&p_Var7->wHour; + piVar16 = piVar18; + while (piVar3 != (int *)0x0) { + piVar2 = *(int **)(piVar3 + 4); + if (((piVar2 != (int *)0x0) && (*piVar2 == iVar1)) && ((char)piVar2[3] == '\x03')) { + piVar16 = (int *)(ulonglong)(uint)((int)piVar16 + piVar2[0x2e]); + } + iVar15 = (int)piVar16; + piVar3 = *(int **)piVar3; + while (piVar3 == (int *)0x0) { + piVar13 = piVar13 + 2; + piVar3 = *(int **)piVar13; + } + if (piVar13 == piVar3) { + piVar3 = piVar18; + } + } + uVar17 = iVar15 + iVar19 + uVar20 + uVar21; + if (*(char *)(DAT_14017cf28 + 0x180) != '\0') { + FUN_14000d4a0(param_1,iVar1,(ulonglong)uVar17,param_4); + if (*(longlong *)(param_1 + 0x70) != 0) { + param_4 = (ulonglong)uVar20; + FUN_14000b1c0(*(longlong *)(param_1 + 0x70),iVar1,uVar21,param_4,iVar19,iVar15,uVar17); + } + } + piVar14 = piVar14 + 1; + } while (piVar14 != local_a8); + } + *(double *)(param_1 + 0x88) = param_2; + if (local_b0 != (int *)0x0) { + operator_delete(local_b0); + } + } + if (5.0 <= param_2 - *(double *)(param_1 + 0x90)) { + *(double *)(param_1 + 0x90) = param_2; + FUN_140039230(DAT_14017cf20); + } + if (*(char *)(DAT_14017cf28 + 0x180) != '\0') { + GetLocalTime(&local_58); + lVar4 = DAT_14017cf48; + if (*(uint *)(param_1 + 0x98) != (uint)local_58.wHour) { + if (*(uint *)(param_1 + 0x98) != 0xffffffff) { + piVar14 = (int *)(DAT_14017cf48 + 0x48); + local_e0 = piVar14; + FUN_14003d040(piVar14); + local_d8 = CONCAT71(local_d8._1_7_,1); + uVar8 = FUN_14000bf50(lVar4,0); + uVar9 = FUN_14000bf50(lVar4,1); + uVar10 = FUN_14000bf50(lVar4,2); + uVar11 = FUN_14000bf50(lVar4,3); + uVar12 = FUN_14000bf50(lVar4,4); + local_f0 = (undefined8 *)FUN_14000bf50(lVar4,5); + FUN_14003d0d0((longlong)piVar14); + lVar4 = DAT_14017cf48; + FUN_14003d040((int *)(DAT_14017cf48 + 0x48)); + FUN_14003b460((undefined8 *)(lVar4 + 8)); + FUN_14003d0d0(lVar4 + 0x48); + if (*(longlong *)(param_1 + 0x70) != 0) { + FUN_14000b980(*(longlong *)(param_1 + 0x70),(int)uVar8,(int)uVar9,uVar10 & 0xffffffff, + (int)uVar12,(int)local_f0,(int)uVar11); + } + } + *(uint *)(param_1 + 0x98) = (uint)local_58.wHour; + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140005990.c b/decomp/AgentManager_Release_x64/full/functions/0x140005990.c new file mode 100644 index 00000000..5e3c94d2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140005990.c @@ -0,0 +1,35 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140005990 FUN_140005990 + * Pseudocode, not original source. */ + +void FUN_140005990(undefined8 param_1,int *param_2,undefined8 param_3,undefined8 param_4) + +{ + int *piVar1; + longlong *plVar2; + int *piVar3; + wchar_t *pwVar4; + undefined *puVar5; + undefined *local_res18 [2]; + + plVar2 = FUN_140071d40(param_2,(longlong *)local_res18,param_3,param_4); + puVar5 = (undefined *)*plVar2; + if ((undefined *)*plVar2 == (undefined *)0x0) { + puVar5 = PTR_DAT_14016f010; + } + pwVar4 = L"OnError MagiAgentManagerNetwork : %s"; + FUN_14001df30(L"OnError MagiAgentManagerNetwork : %s",puVar5,param_3,param_4); + if (((local_res18[0] != (undefined *)0x0) && (local_res18[0] != PTR_DAT_14016f010)) && + (local_res18[0] + -8 != (undefined *)0x0)) { + piVar3 = (int *)FUN_14003e7c0(pwVar4,puVar5,param_3,param_4); + FUN_14003d040(piVar3); + piVar1 = (int *)(local_res18[0] + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(local_res18[0] + -8); + } + FUN_14003d0d0((longlong)piVar3); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140005a30.c b/decomp/AgentManager_Release_x64/full/functions/0x140005a30.c new file mode 100644 index 00000000..2e436c77 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140005a30.c @@ -0,0 +1,35 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140005a30 FUN_140005a30 + * Pseudocode, not original source. */ + +void FUN_140005a30(undefined8 param_1,int *param_2,undefined8 param_3,undefined8 param_4) + +{ + int *piVar1; + longlong *plVar2; + int *piVar3; + wchar_t *pwVar4; + undefined *puVar5; + undefined *local_res18 [2]; + + plVar2 = FUN_140071d40(param_2,(longlong *)local_res18,param_3,param_4); + puVar5 = (undefined *)*plVar2; + if ((undefined *)*plVar2 == (undefined *)0x0) { + puVar5 = PTR_DAT_14016f010; + } + pwVar4 = L"OnWarning MagiAgentManagerNetwork : %s"; + FUN_14001df30(L"OnWarning MagiAgentManagerNetwork : %s",puVar5,param_3,param_4); + if (((local_res18[0] != (undefined *)0x0) && (local_res18[0] != PTR_DAT_14016f010)) && + (local_res18[0] + -8 != (undefined *)0x0)) { + piVar3 = (int *)FUN_14003e7c0(pwVar4,puVar5,param_3,param_4); + FUN_14003d040(piVar3); + piVar1 = (int *)(local_res18[0] + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(local_res18[0] + -8); + } + FUN_14003d0d0((longlong)piVar3); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140005ad0.c b/decomp/AgentManager_Release_x64/full/functions/0x140005ad0.c new file mode 100644 index 00000000..9931d511 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140005ad0.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140005ad0 FUN_140005ad0 + * Pseudocode, not original source. */ + +void FUN_140005ad0(undefined8 param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 uVar1; + + uVar1 = (**(code **)(*param_2 + 8))(param_2); + FUN_14001e070("OnException MagiAgentManagerNetwork : %s",uVar1,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140005af0.c b/decomp/AgentManager_Release_x64/full/functions/0x140005af0.c new file mode 100644 index 00000000..dcf26c43 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140005af0.c @@ -0,0 +1,37 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140005af0 FUN_140005af0 + * Pseudocode, not original source. */ + +void FUN_140005af0(undefined8 param_1,undefined8 *param_2,undefined8 param_3,undefined8 param_4) + +{ + int *piVar1; + undefined8 *puVar2; + int *piVar3; + longlong lVar4; + wchar_t *pwVar5; + ulonglong uVar6; + undefined8 uVar7; + undefined *local_res10 [3]; + + puVar2 = (undefined8 *) + (**(code **)*param_2)(param_2,local_res10,param_3,param_4,0xfffffffffffffffe); + uVar7 = *puVar2; + uVar6 = (ulonglong)*(uint *)(param_2 + 6); + pwVar5 = L"AGENT CONNECT : HostID:[%d][%s]"; + lVar4 = DAT_14017c8a8; + FUN_1400ef250(DAT_14017c8a8,L"AGENT CONNECT : HostID:[%d][%s]",uVar6,uVar7); + if (((local_res10[0] != (undefined *)0x0) && (local_res10[0] != PTR_DAT_14016f010)) && + (local_res10[0] + -8 != (undefined *)0x0)) { + piVar3 = (int *)FUN_14003e7c0(lVar4,pwVar5,uVar6,uVar7); + FUN_14003d040(piVar3); + piVar1 = (int *)(local_res10[0] + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(local_res10[0] + -8); + } + FUN_14003d0d0((longlong)piVar3); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140005b90.c b/decomp/AgentManager_Release_x64/full/functions/0x140005b90.c new file mode 100644 index 00000000..0e0d6158 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140005b90.c @@ -0,0 +1,80 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140005b90 FUN_140005b90 + * Pseudocode, not original source. */ + +void FUN_140005b90(longlong param_1,undefined8 *param_2,undefined8 param_3,undefined8 param_4) + +{ + int *piVar1; + longlong *plVar2; + longlong *plVar3; + undefined8 *puVar4; + longlong *plVar5; + longlong lVar6; + longlong lVar7; + wchar_t *pwVar8; + ulonglong uVar9; + undefined8 uVar10; + undefined *local_res10; + longlong *local_90; + longlong *local_88; + undefined8 local_80; + undefined8 local_70; + undefined8 local_68; + undefined8 local_60; + undefined8 local_58; + void *local_50 [5]; + + puVar4 = (undefined8 *) + (**(code **)*param_2)(param_2,&local_res10,param_3,param_4,0xfffffffffffffffe); + uVar10 = *puVar4; + uVar9 = (ulonglong)*(uint *)(param_2 + 6); + pwVar8 = L"AGENT DISCONNECT : HostID:[%d][%s]"; + lVar7 = DAT_14017c8a8; + FUN_1400ef250(DAT_14017c8a8,L"AGENT DISCONNECT : HostID:[%d][%s]",uVar9,uVar10); + if (((local_res10 != (undefined *)0x0) && (local_res10 != PTR_DAT_14016f010)) && + (local_res10 + -8 != (undefined *)0x0)) { + plVar5 = (longlong *)FUN_14003e7c0(lVar7,pwVar8,uVar9,uVar10); + local_90 = plVar5; + FUN_14003d040((int *)plVar5); + local_88 = (longlong *)CONCAT71(local_88._1_7_,1); + piVar1 = (int *)(local_res10 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(local_res10 + -8); + } + FUN_14003d0d0((longlong)plVar5); + } + local_res10 = PTR_DAT_14016f010; + lVar7 = DAT_14017cf20; + lVar6 = FUN_1400395f0(DAT_14017cf20,*(int *)(param_2 + 6)); + if (lVar6 != 0) { + *(undefined4 *)(lVar6 + 0xa0) = 0; + local_90 = (longlong *)0x0; + local_88 = (longlong *)0x0; + local_80 = 0; + FUN_1400397d0(lVar7,(ulonglong *)&local_90); + plVar3 = local_88; + plVar2 = local_90; + for (plVar5 = local_90; plVar5 != plVar3; plVar5 = plVar5 + 1) { + lVar7 = *plVar5; + if (*(int *)(lVar7 + 8) == *(int *)(lVar6 + 4)) { + *(undefined4 *)(lVar7 + 0xc4) = 0; + puVar4 = FUN_140005da0(lVar7,local_50); + local_70 = *(undefined8 *)(lVar7 + 0xb8); + local_68 = *(undefined8 *)(lVar7 + 0xc0); + local_60 = *(undefined8 *)(lVar7 + 200); + local_58 = *(undefined8 *)(lVar7 + 0xd0); + FUN_140012020(*(longlong *)(param_1 + 0x78),*(undefined4 *)(lVar7 + 4),&local_70,puVar4); + if (local_50[0] != (void *)0x0) { + operator_delete(local_50[0]); + } + } + } + if (plVar2 != (longlong *)0x0) { + operator_delete(plVar2); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140005d40.c b/decomp/AgentManager_Release_x64/full/functions/0x140005d40.c new file mode 100644 index 00000000..2541e0ee --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140005d40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140005d40 FUN_140005d40 + * Pseudocode, not original source. */ + +void FUN_140005d40(longlong param_1,ulonglong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140005380((undefined8 *)(param_1 + -8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140005d50.c b/decomp/AgentManager_Release_x64/full/functions/0x140005d50.c new file mode 100644 index 00000000..e319f3a0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140005d50.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140005d50 FUN_140005d50 + * Pseudocode, not original source. */ + +void FUN_140005d50(undefined8 param_1,undefined8 param_2,longlong *param_3,longlong *param_4) + +{ + longlong *plVar1; + + plVar1 = param_4; + FUN_140002190(param_3,param_2,param_3,param_4); + FUN_140002190(param_4,param_2,param_3,plVar1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140005d80.c b/decomp/AgentManager_Release_x64/full/functions/0x140005d80.c new file mode 100644 index 00000000..aed22339 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140005d80.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140005d80 FUN_140005d80 + * Pseudocode, not original source. */ + +undefined8 FUN_140005d80(void) + +{ + return 0x85a4; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140005d90.c b/decomp/AgentManager_Release_x64/full/functions/0x140005d90.c new file mode 100644 index 00000000..24358da5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140005d90.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140005d90 FUN_140005d90 + * Pseudocode, not original source. */ + +undefined8 FUN_140005d90(void) + +{ + return 0x8598; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140005da0.c b/decomp/AgentManager_Release_x64/full/functions/0x140005da0.c new file mode 100644 index 00000000..0e461193 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140005da0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140005da0 FUN_140005da0 + * Pseudocode, not original source. */ + +undefined8 * FUN_140005da0(longlong param_1,undefined8 *param_2) + +{ + FUN_140004de0(param_2,(longlong *)(param_1 + 0xd8)); + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140005dd0.c b/decomp/AgentManager_Release_x64/full/functions/0x140005dd0.c new file mode 100644 index 00000000..c947d5dd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140005dd0.c @@ -0,0 +1,171 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140005dd0 FUN_140005dd0 + * Pseudocode, not original source. */ + +longlong * FUN_140005dd0(longlong *param_1,short *param_2,undefined8 param_3,undefined8 param_4) + +{ + uint uVar1; + uint uVar2; + int *piVar3; + uint *puVar4; + uint *puVar5; + ulonglong uVar6; + short *psVar7; + uint *puVar8; + uint *puVar9; + uint uVar10; + uint uVar11; + ulonglong uVar12; + uint *local_res18; + + psVar7 = param_2; + FUN_14003e7c0(param_1,param_2,param_3,param_4); + puVar9 = (uint *)PTR_DAT_14016f010; + local_res18 = (uint *)PTR_DAT_14016f010; + uVar1 = FUN_14003e620(param_2); + uVar12 = 0; + uVar11 = 0; + uVar6 = uVar12; + if ((puVar9 != (uint *)0x0) && (uVar6 = 0, puVar9 != (uint *)PTR_DAT_14016f010)) { + uVar6 = (ulonglong)*(uint *)((longlong)puVar9 + -8); + } + uVar2 = uVar1; + if ((((int)uVar1 <= (int)uVar6) && (uVar2 = uVar11, puVar9 != (uint *)0x0)) && + (puVar9 != (uint *)PTR_DAT_14016f010)) { + uVar2 = *(uint *)((longlong)puVar9 + -8); + } + uVar10 = 1; + if (1 < (int)uVar2) { + uVar10 = uVar2; + } + uVar2 = uVar11; + if ((puVar9 != (uint *)0x0) && (puVar9 != (uint *)PTR_DAT_14016f010)) { + uVar2 = *(uint *)((longlong)puVar9 + -8); + } + if ((int)uVar2 < (int)uVar10) { + if (puVar9 == (uint *)0x0) { + puVar9 = (uint *)PTR_DAT_14016f010; + } + local_res18 = puVar9; + if ((int)uVar10 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar10 == 0) { + local_res18 = (uint *)PTR_DAT_14016f010; + if (((puVar9 != (uint *)0x0) && (puVar9 != (uint *)PTR_DAT_14016f010)) && + (puVar9 + -2 != (uint *)0x0)) { + local_res18 = puVar9; + piVar3 = (int *)FUN_14003e7c0(uVar6,psVar7,PTR_DAT_14016f010,param_4); + FUN_14003d040(piVar3); + puVar4 = puVar9 + -1; + *puVar4 = *puVar4 - 1; + if (*puVar4 == 0) { + FUN_14003e8b0(puVar9 + -2); + } + FUN_14003d0d0((longlong)piVar3); + local_res18 = (uint *)PTR_DAT_14016f010; + } + } + else { + uVar2 = uVar11; + if ((puVar9 != (uint *)0x0) && (puVar9 != (uint *)PTR_DAT_14016f010)) { + uVar2 = puVar9[-2]; + } + if (uVar10 != uVar2) { + puVar4 = (uint *)FUN_14003e840((longlong)(int)uVar10 * 2 + 10); + if (puVar4 != (uint *)0x0) { + *puVar4 = 0; + puVar4[1] = 1; + } + *puVar4 = uVar10; + uVar2 = uVar11; + if ((puVar9 != (uint *)0x0) && (puVar9 != (uint *)PTR_DAT_14016f010)) { + uVar2 = puVar9[-2]; + } + puVar8 = (uint *)PTR_DAT_14016f010; + if ((int)uVar10 < (int)uVar2) { +LAB_140005f29: + if (puVar9 != (uint *)0x0) { + puVar8 = puVar9; + } + } + else { + uVar10 = uVar11; + if (puVar9 != (uint *)0x0) { + if (puVar9 != (uint *)PTR_DAT_14016f010) { + uVar10 = puVar9[-2]; + } + goto LAB_140005f29; + } + } + uVar6 = (ulonglong)uVar10; + FUN_14003e650(puVar4 + 2,puVar8,uVar10); + FUN_140002190((longlong *)&local_res18,puVar8,uVar6,param_4); + local_res18 = puVar4 + 2; + } + } + } + FUN_140001df0((longlong *)&local_res18); + puVar9 = local_res18; + puVar4 = local_res18; + if (local_res18 == (uint *)0x0) { + puVar4 = (uint *)PTR_DAT_14016f010; + } + puVar8 = (uint *)(ulonglong)uVar1; + FUN_14003e650(puVar4,param_2,uVar1); + puVar4 = puVar9; + if (puVar9 == (uint *)0x0) { + puVar4 = (uint *)PTR_DAT_14016f010; + } + uVar1 = FUN_14003e620((short *)puVar4); + puVar4 = (uint *)PTR_DAT_14016f010; + uVar6 = uVar12; + if (0 < (int)uVar1) { + uVar6 = (ulonglong)uVar1; + } + uVar1 = 0; + if ((puVar9 != (uint *)0x0) && (puVar9 != (uint *)PTR_DAT_14016f010)) { + uVar1 = puVar9[-2]; + } + if (((int)uVar1 <= (int)uVar6) && (uVar6 = uVar12, puVar9 != (uint *)0x0)) { + if (puVar9 == (uint *)PTR_DAT_14016f010) goto LAB_140005fdc; + uVar6 = (ulonglong)puVar9[-2]; + } + if (((puVar9 != (uint *)PTR_DAT_14016f010) && (puVar9 != (uint *)0x0)) && + (puVar8 = puVar9 + -2, puVar8 != (uint *)0x0)) { + *puVar8 = (uint)uVar6; + *(undefined2 *)((longlong)puVar9 + (longlong)(int)(uint)uVar6 * 2) = 0; + } +LAB_140005fdc: + puVar5 = (uint *)*param_1; + if ((uint *)*param_1 == (uint *)0x0) { + puVar5 = puVar4; + } + *param_1 = (longlong)puVar5; + if (puVar9 != puVar5) { + piVar3 = (int *)FUN_14003e7c0(puVar4,uVar6,puVar8,param_4); + FUN_14003d040(piVar3); + FUN_140002190(param_1,uVar6,puVar8,param_4); + *param_1 = (longlong)puVar9; + if (((puVar9 != (uint *)PTR_DAT_14016f010) && (puVar9 != (uint *)0x0)) && + (puVar9 != (uint *)0x8)) { + puVar9[-1] = puVar9[-1] + 1; + } + FUN_14003d0d0((longlong)piVar3); + puVar4 = (uint *)PTR_DAT_14016f010; + } + if (((puVar9 != (uint *)0x0) && (puVar9 != puVar4)) && (puVar9 + -2 != (uint *)0x0)) { + piVar3 = (int *)FUN_14003e7c0(puVar4,uVar6,puVar8,param_4); + FUN_14003d040(piVar3); + puVar4 = puVar9 + -1; + *puVar4 = *puVar4 - 1; + if (*puVar4 == 0) { + FUN_14003e8b0(puVar9 + -2); + } + FUN_14003d0d0((longlong)piVar3); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400060a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400060a0.c new file mode 100644 index 00000000..e6502918 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400060a0.c @@ -0,0 +1,21 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400060a0 std::bad_alloc::`scalar_deleting_destructor' + * Pseudocode, not original source. */ + +/* Library Function - Single Match + public: virtual void * __ptr64 __cdecl std::bad_alloc::`scalar deleting destructor'(unsigned + int) __ptr64 + + Libraries: Visual Studio 2012 Release, Visual Studio 2015 Release */ + +void * __thiscall std::bad_alloc::_scalar_deleting_destructor_(bad_alloc *this,uint param_1) + +{ + *(undefined ***)this = Proud::INetServerEvent::vftable; + FUN_140049b90((undefined8 *)this); + if ((param_1 & 1) != 0) { + operator_delete(this); + } + return this; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400060e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400060e0.c new file mode 100644 index 00000000..a9ebf536 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400060e0.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400060e0 FUN_1400060e0 + * Pseudocode, not original source. */ + +void FUN_1400060e0(undefined8 *param_1) + +{ + *param_1 = Proud::INetServerEvent::vftable; + FUN_140049b90(param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400060f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400060f0.c new file mode 100644 index 00000000..2f2bceb2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400060f0.c @@ -0,0 +1,56 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400060f0 FUN_1400060f0 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x000140006218) */ +/* WARNING: Removing unreachable block (ram,0x000140006221) */ +/* WARNING: Removing unreachable block (ram,0x000140006242) */ +/* WARNING: Removing unreachable block (ram,0x00014000624b) */ + +undefined8 * +FUN_1400060f0(undefined8 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 *puVar1; + ulonglong uVar2; + undefined7 uVar3; + + uVar3 = (undefined7)((ulonglong)param_3 >> 8); + param_1[5] = 0; + FUN_14003e7c0(param_1,param_2,param_3,param_4); + param_1[6] = PTR_DAT_14016f010; + param_1[7] = 0; + *(undefined4 *)(param_1 + 8) = 0; + *param_1 = Proud::INetServerEvent::vftable; + FUN_140079b60(param_1 + 1); + *param_1 = MagiAgentManagerMonitorNetwork::vftable; + param_1[1] = MagiAgentManagerMonitorNetwork::vftable; + puVar1 = param_1 + 9; + FUN_140076890(puVar1); + *puVar1 = AGENTMANAGER2AGENTMONITOR_PROTOCOL::Proxy::vftable; + if (*(int *)((longlong)param_1 + 0x5c) != 1) { + FUN_14003e110((wchar_t *)PTR_u_PIDL_compiler_is_incompatible_to_140170070); + } + *puVar1 = RNP::AgentManager2AgentMonitorProxy::vftable; + *(undefined1 *)(param_1 + 0xc) = 0; + param_1[0xd] = 0; + param_1[0xe] = 0; + param_1[0xf] = 0; + *(undefined1 *)(param_1 + 0x11) = 0; + param_1[0x1b] = 0; + param_1[0x12] = 0; + param_1[0x13] = 0; + param_1[0x14] = 0; + *(undefined4 *)(param_1 + 0x16) = 0x11; + param_1[0x15] = 0; + *(undefined4 *)(param_1 + 0x1a) = 0; + *(undefined4 *)((longlong)param_1 + 0xb4) = 0x3f400000; + *(undefined4 *)(param_1 + 0x17) = 0x3e800000; + *(undefined4 *)((longlong)param_1 + 0xbc) = 0x40100000; + param_1[0x18] = 0x26; + param_1[0x19] = 0; + uVar2 = FUN_140094860(); + FUN_14003cf60((undefined4 *)(param_1 + 0x1c),uVar2 & 0xffffffff,CONCAT71(uVar3,1),param_4); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140006290.c b/decomp/AgentManager_Release_x64/full/functions/0x140006290.c new file mode 100644 index 00000000..589d67f4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140006290.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140006290 FUN_140006290 + * Pseudocode, not original source. */ + +undefined8 * +FUN_140006290(undefined8 *param_1,ulonglong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400062c0(param_1,param_2,param_3,param_4); + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400062c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400062c0.c new file mode 100644 index 00000000..3478dfa1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400062c0.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400062c0 FUN_1400062c0 + * Pseudocode, not original source. */ + +void FUN_1400062c0(undefined8 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 *puVar1; + + *param_1 = MagiAgentManagerMonitorNetwork::vftable; + param_1[1] = MagiAgentManagerMonitorNetwork::vftable; + FUN_14003d110((undefined4 *)(param_1 + 0x1c),param_2,param_3,param_4); + FUN_140006920((char *)(param_1 + 0x11)); + param_1[9] = RNP::AgentManager2AgentMonitorProxy::vftable; + FUN_1400768c0(param_1 + 9); + param_1[1] = RNP::AgentMonitor2AgentManagerStub::vftable; + FUN_140079b90(param_1 + 1); + *param_1 = Proud::INetServerEvent::vftable; + FUN_140049b90(param_1); + puVar1 = (undefined8 *)param_1[5]; + if (puVar1 != (undefined8 *)0x0) { + param_2 = 1; + (**(code **)*puVar1)(); + } + param_1[5] = 0; + FUN_140002190(param_1 + 6,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140006380.c b/decomp/AgentManager_Release_x64/full/functions/0x140006380.c new file mode 100644 index 00000000..2b16d5c0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140006380.c @@ -0,0 +1,31 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140006380 FUN_140006380 + * Pseudocode, not original source. */ + +void FUN_140006380(longlong param_1,undefined8 param_2,undefined8 param_3,longlong param_4) + +{ + uint uVar1; + longlong *plVar2; + short *psVar3; + longlong lVar4; + + plVar2 = FUN_140069970(param_1,param_2,param_3,param_4); + *(longlong **)(param_1 + 0x28) = plVar2; + lVar4 = *plVar2; + (**(code **)(lVar4 + 0x10))(plVar2,param_1 + 8); + (**(code **)(**(longlong **)(param_1 + 0x28) + 8))(*(longlong **)(param_1 + 0x28),param_1 + 0x48); + (**(code **)(**(longlong **)(param_1 + 0x28) + 0x130))(*(longlong **)(param_1 + 0x28),param_1); + psVar3 = (short *)(DAT_14017cf28 + 0x58); + if (7 < *(ulonglong *)(DAT_14017cf28 + 0x70)) { + psVar3 = *(short **)psVar3; + } + FUN_140005dd0((longlong *)(param_1 + 0x30),psVar3,lVar4,param_4); + uVar1 = *(uint *)(DAT_14017cf28 + 0x84); + *(uint *)(param_1 + 0x38) = uVar1; + FUN_140037750((undefined8 *)(param_1 + 0x28),(ulonglong)uVar1,lVar4,param_4); + FUN_1400ef250(DAT_14017c8a8,L"MONITOR NETWORK INIT : ADDRESS[%s] PORT[%u]", + *(undefined8 *)(param_1 + 0x30),(ulonglong)*(uint *)(param_1 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140006430.c b/decomp/AgentManager_Release_x64/full/functions/0x140006430.c new file mode 100644 index 00000000..1d98499e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140006430.c @@ -0,0 +1,42 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140006430 FUN_140006430 + * Pseudocode, not original source. */ + +void FUN_140006430(longlong param_1) + +{ + void *pvVar1; + undefined8 *puVar2; + longlong lVar3; + + lVar3 = 0; + if (*(longlong *)(param_1 + 0xa8) != 0) { + lVar3 = *(longlong *)(param_1 + 0x98); + } + while( true ) { + if (lVar3 == 0) { + FUN_140006940((char *)(param_1 + 0x88)); + puVar2 = *(undefined8 **)(param_1 + 0x28); + if (puVar2 != (undefined8 *)0x0) { + (**(code **)*puVar2)(puVar2,1); + } + *(undefined8 *)(param_1 + 0x28) = 0; + return; + } + if (lVar3 == 0) break; + pvVar1 = *(void **)(lVar3 + 8); + lVar3 = *(longlong *)(lVar3 + 0x10); + if (pvVar1 != (void *)0x0) { + if (7 < *(ulonglong *)((longlong)pvVar1 + 0x20)) { + operator_delete(*(void **)((longlong)pvVar1 + 8)); + } + *(undefined8 *)((longlong)pvVar1 + 0x20) = 7; + *(undefined8 *)((longlong)pvVar1 + 0x18) = 0; + *(undefined2 *)((longlong)pvVar1 + 8) = 0; + operator_delete(pvVar1); + } + } + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140006500.c b/decomp/AgentManager_Release_x64/full/functions/0x140006500.c new file mode 100644 index 00000000..1cd23570 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140006500.c @@ -0,0 +1,35 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140006500 FUN_140006500 + * Pseudocode, not original source. */ + +void FUN_140006500(undefined8 param_1,int *param_2,undefined8 param_3,undefined8 param_4) + +{ + int *piVar1; + longlong *plVar2; + int *piVar3; + wchar_t *pwVar4; + undefined *puVar5; + undefined *local_res18 [2]; + + plVar2 = FUN_140071d40(param_2,(longlong *)local_res18,param_3,param_4); + puVar5 = (undefined *)*plVar2; + if ((undefined *)*plVar2 == (undefined *)0x0) { + puVar5 = PTR_DAT_14016f010; + } + pwVar4 = L"OnError MagiAgentManagerMonitorNetwork : %s"; + FUN_14001df30(L"OnError MagiAgentManagerMonitorNetwork : %s",puVar5,param_3,param_4); + if (((local_res18[0] != (undefined *)0x0) && (local_res18[0] != PTR_DAT_14016f010)) && + (local_res18[0] + -8 != (undefined *)0x0)) { + piVar3 = (int *)FUN_14003e7c0(pwVar4,puVar5,param_3,param_4); + FUN_14003d040(piVar3); + piVar1 = (int *)(local_res18[0] + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(local_res18[0] + -8); + } + FUN_14003d0d0((longlong)piVar3); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400065a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400065a0.c new file mode 100644 index 00000000..14073230 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400065a0.c @@ -0,0 +1,35 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400065a0 FUN_1400065a0 + * Pseudocode, not original source. */ + +void FUN_1400065a0(undefined8 param_1,int *param_2,undefined8 param_3,undefined8 param_4) + +{ + int *piVar1; + longlong *plVar2; + int *piVar3; + wchar_t *pwVar4; + undefined *puVar5; + undefined *local_res18 [2]; + + plVar2 = FUN_140071d40(param_2,(longlong *)local_res18,param_3,param_4); + puVar5 = (undefined *)*plVar2; + if ((undefined *)*plVar2 == (undefined *)0x0) { + puVar5 = PTR_DAT_14016f010; + } + pwVar4 = L"OnWarning MagiAgentManagerMonitorNetwork : %s"; + FUN_14001df30(L"OnWarning MagiAgentManagerMonitorNetwork : %s",puVar5,param_3,param_4); + if (((local_res18[0] != (undefined *)0x0) && (local_res18[0] != PTR_DAT_14016f010)) && + (local_res18[0] + -8 != (undefined *)0x0)) { + piVar3 = (int *)FUN_14003e7c0(pwVar4,puVar5,param_3,param_4); + FUN_14003d040(piVar3); + piVar1 = (int *)(local_res18[0] + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(local_res18[0] + -8); + } + FUN_14003d0d0((longlong)piVar3); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140006640.c b/decomp/AgentManager_Release_x64/full/functions/0x140006640.c new file mode 100644 index 00000000..4a9a06be --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140006640.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140006640 FUN_140006640 + * Pseudocode, not original source. */ + +void FUN_140006640(undefined8 param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 uVar1; + + uVar1 = (**(code **)(*param_2 + 8))(param_2); + FUN_14001e070("OnException MagiAgentManagerMonitorNetwork : %s",uVar1,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140006660.c b/decomp/AgentManager_Release_x64/full/functions/0x140006660.c new file mode 100644 index 00000000..c8516e5c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140006660.c @@ -0,0 +1,42 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140006660 FUN_140006660 + * Pseudocode, not original source. */ + +void FUN_140006660(longlong param_1,undefined8 *param_2) + +{ + int *piVar1; + uint *puVar2; + undefined8 *puVar3; + int *piVar4; + longlong lVar5; + wchar_t *pwVar6; + ulonglong uVar7; + undefined8 uVar8; + undefined *local_res8; + + FUN_14003d040((int *)(param_1 + 0xe0)); + puVar2 = (uint *)FUN_14000dde0(DAT_14017cf38,*(int *)(param_2 + 6)); + if (puVar2 != (uint *)0x0) { + puVar3 = (undefined8 *)(**(code **)*param_2)(param_2,&local_res8); + uVar8 = *puVar3; + uVar7 = (ulonglong)*puVar2; + pwVar6 = L"MONITOR CONNECT : HostID:[%d][%s]"; + lVar5 = DAT_14017c8a8; + FUN_1400ef250(DAT_14017c8a8,L"MONITOR CONNECT : HostID:[%d][%s]",uVar7,uVar8); + if (((local_res8 != (undefined *)0x0) && (local_res8 != PTR_DAT_14016f010)) && + (local_res8 + -8 != (undefined *)0x0)) { + piVar4 = (int *)FUN_14003e7c0(lVar5,pwVar6,uVar7,uVar8); + FUN_14003d040(piVar4); + piVar1 = (int *)(local_res8 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(local_res8 + -8); + } + FUN_14003d0d0((longlong)piVar4); + } + } + FUN_14003d0d0(param_1 + 0xe0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140006740.c b/decomp/AgentManager_Release_x64/full/functions/0x140006740.c new file mode 100644 index 00000000..21ccc8a4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140006740.c @@ -0,0 +1,81 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140006740 FUN_140006740 + * Pseudocode, not original source. */ + +void FUN_140006740(longlong param_1,longlong param_2,int *param_3) + +{ + int *piVar1; + undefined8 *puVar2; + uint *puVar3; + int *piVar4; + longlong lVar5; + uint *puVar6; + wchar_t *pwVar7; + uint *puVar8; + undefined8 uVar9; + ulonglong uVar10; + undefined *local_res8; + + FUN_14003d040((int *)(param_1 + 0xe0)); + uVar10 = (ulonglong)*(int *)(param_2 + 0x30); + if (*(longlong *)(DAT_14017cf38 + 0x58) != 0) { + for (puVar2 = *(undefined8 **) + (*(longlong *)(DAT_14017cf38 + 0x38) + + (uVar10 % *(ulonglong *)(DAT_14017cf38 + 0x40)) * 8); puVar2 != (undefined8 *)0x0 + ; puVar2 = (undefined8 *)*puVar2) { + if (*(int *)(param_2 + 0x30) == *(int *)(puVar2 + 1)) { + if ((puVar2 != (undefined8 *)0x0) && (puVar3 = (uint *)puVar2[2], puVar3 != (uint *)0x0)) { + puVar8 = puVar3 + 2; + puVar6 = puVar8; + if (7 < *(ulonglong *)(puVar3 + 8)) { + puVar6 = *(uint **)puVar8; + } + uVar9 = 0; + FUN_140012160(param_1,(short *)puVar6,0,uVar10); + FUN_140071d40(param_3,(longlong *)&local_res8,uVar9,uVar10); + if (7 < *(ulonglong *)(puVar3 + 8)) { + puVar8 = *(uint **)puVar8; + } + uVar10 = (ulonglong)*puVar3; + pwVar7 = L"MONITOR DISCONNECT : Name:[%s] HostID:[%d] Error:[%s] "; + lVar5 = DAT_14017c8a8; + FUN_1400ef250(DAT_14017c8a8,L"MONITOR DISCONNECT : Name:[%s] HostID:[%d] Error:[%s] ", + puVar8,uVar10); + if (((local_res8 != (undefined *)0x0) && (local_res8 != PTR_DAT_14016f010)) && + (local_res8 + -8 != (undefined *)0x0)) { + piVar4 = (int *)FUN_14003e7c0(lVar5,pwVar7,puVar8,uVar10); + FUN_14003d040(piVar4); + piVar1 = (int *)(local_res8 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(local_res8 + -8); + } + FUN_14003d0d0((longlong)piVar4); + } + local_res8 = PTR_DAT_14016f010; + uVar10 = (ulonglong)*puVar3 % (ulonglong)*(uint *)(param_1 + 0xb0); + if (*(longlong *)(param_1 + 0x90) == 0) goto LAB_1400068df; + puVar8 = *(uint **)(*(longlong *)(param_1 + 0x90) + uVar10 * 8); + goto joined_r0x0001400068b1; + } + break; + } + } + } + goto LAB_1400068ee; +joined_r0x0001400068b1: + if ((puVar8 == (uint *)0x0) || ((uint)uVar10 != puVar8[8] % *(uint *)(param_1 + 0xb0))) + goto LAB_1400068df; + if (*puVar8 != *puVar3) { + puVar8 = *(uint **)(puVar8 + 4); + goto joined_r0x0001400068b1; + } + FUN_1400069f0((char *)(param_1 + 0x88),puVar8); +LAB_1400068df: + FUN_14000dcb0(DAT_14017cf38,*puVar3); +LAB_1400068ee: + FUN_14003d0d0(param_1 + 0xe0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140006910.c b/decomp/AgentManager_Release_x64/full/functions/0x140006910.c new file mode 100644 index 00000000..6d42992d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140006910.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140006910 FUN_140006910 + * Pseudocode, not original source. */ + +undefined1 FUN_140006910(void) + +{ + return 1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140006920.c b/decomp/AgentManager_Release_x64/full/functions/0x140006920.c new file mode 100644 index 00000000..0218ec6e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140006920.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140006920 FUN_140006920 + * Pseudocode, not original source. */ + +void FUN_140006920(char *param_1) + +{ + FUN_140006940(param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140006940.c b/decomp/AgentManager_Release_x64/full/functions/0x140006940.c new file mode 100644 index 00000000..79e02eeb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140006940.c @@ -0,0 +1,70 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140006940 FUN_140006940 + * Pseudocode, not original source. */ + +void FUN_140006940(char *param_1) + +{ + longlong *plVar1; + LPVOID pvVar2; + LPVOID pvVar3; + uint uVar4; + + *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + 1; + FUN_140006bc0(param_1); + pvVar3 = *(LPVOID *)(param_1 + 0x10); + while (pvVar3 != (LPVOID)0x0) { + plVar1 = *(longlong **)(param_1 + 0x50); + pvVar2 = *(LPVOID *)((longlong)pvVar3 + 0x10); + if (plVar1 == (longlong *)0x0) { + FUN_14003e8b0(pvVar3); + } + else { + (**(code **)(*plVar1 + 0x18))(plVar1,pvVar3); + } + *(longlong *)(param_1 + 0x20) = *(longlong *)(param_1 + 0x20) + -1; + pvVar3 = pvVar2; + } + FUN_14003e8b0(*(LPVOID *)(param_1 + 8)); + param_1[8] = '\0'; + param_1[9] = '\0'; + param_1[10] = '\0'; + param_1[0xb] = '\0'; + param_1[0xc] = '\0'; + param_1[0xd] = '\0'; + param_1[0xe] = '\0'; + param_1[0xf] = '\0'; + param_1[0x20] = '\0'; + param_1[0x21] = '\0'; + param_1[0x22] = '\0'; + param_1[0x23] = '\0'; + param_1[0x24] = '\0'; + param_1[0x25] = '\0'; + param_1[0x26] = '\0'; + param_1[0x27] = '\0'; + param_1[0x10] = '\0'; + param_1[0x11] = '\0'; + param_1[0x12] = '\0'; + param_1[0x13] = '\0'; + param_1[0x14] = '\0'; + param_1[0x15] = '\0'; + param_1[0x16] = '\0'; + param_1[0x17] = '\0'; + param_1[0x18] = '\0'; + param_1[0x19] = '\0'; + param_1[0x1a] = '\0'; + param_1[0x1b] = '\0'; + param_1[0x1c] = '\0'; + param_1[0x1d] = '\0'; + param_1[0x1e] = '\0'; + param_1[0x1f] = '\0'; + FUN_140006bc0(param_1); + if (*(int *)(param_1 + 0x48) == 0) { + uVar4 = FUN_140006cf0((longlong)param_1,*(longlong *)(param_1 + 0x20)); + FUN_140006b10((longlong)param_1,uVar4); + } + FUN_140006bc0(param_1); + *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + -1; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400069f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400069f0.c new file mode 100644 index 00000000..5c663dcd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400069f0.c @@ -0,0 +1,79 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400069f0 FUN_1400069f0 + * Pseudocode, not original source. */ + +void FUN_1400069f0(char *param_1,LPVOID param_2) + +{ + uint uVar1; + longlong *plVar2; + ulonglong uVar3; + uint uVar4; + + if (param_2 == (LPVOID)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + uVar1 = *(uint *)(param_1 + 0x28); + uVar3 = (ulonglong)*(uint *)((longlong)param_2 + 0x20) % (ulonglong)uVar1; + if (*(longlong *)(param_1 + 0x20) == 1) { + *(undefined8 *)(*(longlong *)(param_1 + 8) + uVar3 * 8) = 0; + param_1[0x10] = '\0'; + param_1[0x11] = '\0'; + param_1[0x12] = '\0'; + param_1[0x13] = '\0'; + param_1[0x14] = '\0'; + param_1[0x15] = '\0'; + param_1[0x16] = '\0'; + param_1[0x17] = '\0'; + param_1[0x18] = '\0'; + param_1[0x19] = '\0'; + param_1[0x1a] = '\0'; + param_1[0x1b] = '\0'; + param_1[0x1c] = '\0'; + param_1[0x1d] = '\0'; + param_1[0x1e] = '\0'; + param_1[0x1f] = '\0'; + } + else { + uVar4 = (uint)uVar3; + if (((*(longlong *)((longlong)param_2 + 0x18) == 0) || + (*(uint *)(*(longlong *)((longlong)param_2 + 0x18) + 0x20) % uVar1 != uVar4)) && + ((*(longlong *)((longlong)param_2 + 0x10) == 0 || + (*(uint *)(*(longlong *)((longlong)param_2 + 0x10) + 0x20) % uVar1 != uVar4)))) { + *(undefined8 *)(*(longlong *)(param_1 + 8) + uVar3 * 8) = 0; + } + else if (param_2 == *(LPVOID *)(*(longlong *)(param_1 + 8) + (longlong)(int)uVar4 * 8)) { + *(undefined8 *)(*(longlong *)(param_1 + 8) + uVar3 * 8) = + *(undefined8 *)((longlong)param_2 + 0x10); + } + if (param_2 == *(LPVOID *)(param_1 + 0x10)) { + *(undefined8 *)(param_1 + 0x10) = *(undefined8 *)((longlong)param_2 + 0x10); + *(undefined8 *)((longlong)param_2 + 0x18) = 0; + } + if (param_2 == *(LPVOID *)(param_1 + 0x18)) { + *(undefined8 *)(param_1 + 0x18) = *(undefined8 *)((longlong)param_2 + 0x18); + *(undefined8 *)((longlong)param_2 + 0x10) = 0; + } + if (*(longlong *)((longlong)param_2 + 0x18) != 0) { + *(undefined8 *)(*(longlong *)((longlong)param_2 + 0x18) + 0x10) = + *(undefined8 *)((longlong)param_2 + 0x10); + } + if (*(longlong *)((longlong)param_2 + 0x10) != 0) { + *(undefined8 *)(*(longlong *)((longlong)param_2 + 0x10) + 0x18) = + *(undefined8 *)((longlong)param_2 + 0x18); + } + } + plVar2 = *(longlong **)(param_1 + 0x50); + if (plVar2 != (longlong *)0x0) { + (**(code **)(*plVar2 + 0x18))(plVar2,param_2); + *(longlong *)(param_1 + 0x20) = *(longlong *)(param_1 + 0x20) + -1; + FUN_140006bc0(param_1); + return; + } + FUN_14003e8b0(param_2); + *(longlong *)(param_1 + 0x20) = *(longlong *)(param_1 + 0x20) + -1; + FUN_140006bc0(param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140006b10.c b/decomp/AgentManager_Release_x64/full/functions/0x140006b10.c new file mode 100644 index 00000000..2c37cf9b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140006b10.c @@ -0,0 +1,37 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140006b10 FUN_140006b10 + * Pseudocode, not original source. */ + +undefined8 FUN_140006b10(longlong param_1,uint param_2) + +{ + ulonglong uVar1; + longlong lVar2; + longlong lVar3; + float fVar4; + float fVar5; + + if (*(LPVOID *)(param_1 + 8) != (LPVOID)0x0) { + FUN_14003e8b0(*(LPVOID *)(param_1 + 8)); + *(undefined8 *)(param_1 + 8) = 0; + } + lVar2 = 0; + *(uint *)(param_1 + 0x28) = param_2; + fVar5 = (float)param_2 * *(float *)(param_1 + 0x34); + if ((9.223372e+18 < fVar5) && (fVar5 = fVar5 - 9.223372e+18, fVar5 < 9.223372e+18)) { + lVar2 = -0x8000000000000000; + } + fVar4 = (float)param_2 * *(float *)(param_1 + 0x30); + lVar3 = 0; + *(longlong *)(param_1 + 0x38) = (longlong)fVar5 + lVar2; + if ((9.223372e+18 < fVar4) && (fVar4 = fVar4 - 9.223372e+18, fVar4 < 9.223372e+18)) { + lVar3 = -0x8000000000000000; + } + uVar1 = (longlong)fVar4 + lVar3; + if ((ulonglong)((longlong)fVar4 + lVar3) < 0x11) { + uVar1 = 0; + } + *(ulonglong *)(param_1 + 0x40) = uVar1; + return CONCAT71((int7)(uVar1 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140006bc0.c b/decomp/AgentManager_Release_x64/full/functions/0x140006bc0.c new file mode 100644 index 00000000..11ea37d8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140006bc0.c @@ -0,0 +1,53 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140006bc0 FUN_140006bc0 + * Pseudocode, not original source. */ + +void FUN_140006bc0(char *param_1) + +{ + longlong lVar1; + longlong lVar2; + longlong lVar3; + ulonglong uVar4; + exception local_58 [88]; + + if (*param_1 != '\0') { + uVar4 = 0; + if ((*(longlong *)(param_1 + 0x20) != 0) && (*(longlong *)(param_1 + 8) == 0)) { + FUN_14003db10(local_58,L"CFastMap consistency error #0!",param_1,0); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + lVar1 = *(longlong *)(param_1 + 0x10); + lVar3 = lVar1; + while (lVar3 != 0) { + lVar2 = *(longlong *)(lVar3 + 0x10); + if ((lVar2 != 0) && (*(longlong *)(lVar2 + 0x18) != lVar3)) { + FUN_14003db10(local_58,L"CFastMap consistency error #1!",param_1,uVar4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + if ((lVar3 == lVar1) && (*(longlong *)(lVar3 + 0x18) != 0)) { + FUN_14003db10(local_58,L"CFastMap consistency error #2!",param_1,uVar4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + if ((lVar3 == *(longlong *)(param_1 + 0x18)) && (lVar2 != 0)) { + FUN_14003db10(local_58,L"CFastMap consistency error #3!",param_1,uVar4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + uVar4 = (ulonglong)((int)uVar4 + 1); + lVar3 = lVar2; + } + if ((int)uVar4 != *(int *)(param_1 + 0x20)) { + for (; lVar1 != 0; lVar1 = *(longlong *)(lVar1 + 0x10)) { + } + FUN_14003db10(local_58,L"CFastMap consistency error #4!",param_1,uVar4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140006cf0.c b/decomp/AgentManager_Release_x64/full/functions/0x140006cf0.c new file mode 100644 index 00000000..d2c6ffe4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140006cf0.c @@ -0,0 +1,42 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140006cf0 FUN_140006cf0 + * Pseudocode, not original source. */ + +uint FUN_140006cf0(longlong param_1,longlong param_2) + +{ + uint uVar1; + longlong lVar2; + uint *puVar3; + int iVar4; + uint uVar5; + float fVar6; + + fVar6 = (float)param_2; + if (param_2 < 0) { + fVar6 = fVar6 + 1.8446744e+19; + } + fVar6 = fVar6 / *(float *)(param_1 + 0x2c); + lVar2 = 0; + if ((9.223372e+18 < fVar6) && (fVar6 = fVar6 - 9.223372e+18, fVar6 < 9.223372e+18)) { + lVar2 = -0x8000000000000000; + } + uVar5 = (uint)((longlong)fVar6 + lVar2); + if (0xffffffff < (ulonglong)((longlong)fVar6 + lVar2)) { + uVar5 = 0xffffffff; + } + iVar4 = 0; + if (0x11 < uVar5) { + puVar3 = &DAT_14012f530; + do { + puVar3 = puVar3 + 1; + iVar4 = iVar4 + 1; + } while (*puVar3 < uVar5); + } + uVar1 = (&DAT_14012f530)[iVar4]; + if ((&DAT_14012f530)[iVar4] == 0xffffffff) { + uVar1 = uVar5; + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140006d70.c b/decomp/AgentManager_Release_x64/full/functions/0x140006d70.c new file mode 100644 index 00000000..f2b89848 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140006d70.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140006d70 FUN_140006d70 + * Pseudocode, not original source. */ + +undefined8 FUN_140006d70(longlong param_1) + +{ + if (*(int *)(param_1 + 0x18) == 0) { + return 0; + } + return *(undefined8 *)(param_1 + 0x10); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140006d80.c b/decomp/AgentManager_Release_x64/full/functions/0x140006d80.c new file mode 100644 index 00000000..26f4b6a0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140006d80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140006d80 FUN_140006d80 + * Pseudocode, not original source. */ + +void FUN_140006d80(longlong param_1,ulonglong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140006290((undefined8 *)(param_1 + -8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140006d90.c b/decomp/AgentManager_Release_x64/full/functions/0x140006d90.c new file mode 100644 index 00000000..d279bd74 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140006d90.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140006d90 FUN_140006d90 + * Pseudocode, not original source. */ + +undefined8 FUN_140006d90(void) + +{ + return 0x866d; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140006da0.c b/decomp/AgentManager_Release_x64/full/functions/0x140006da0.c new file mode 100644 index 00000000..565e2e0c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140006da0.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140006da0 FUN_140006da0 + * Pseudocode, not original source. */ + +undefined8 FUN_140006da0(void) + +{ + return 0x8660; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140006db0.c b/decomp/AgentManager_Release_x64/full/functions/0x140006db0.c new file mode 100644 index 00000000..c29273f1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140006db0.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140006db0 FUN_140006db0 + * Pseudocode, not original source. */ + +exception * FUN_140006db0(exception *param_1,uint param_2) + +{ + FUN_14003d6e0(param_1); + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140006de0.c b/decomp/AgentManager_Release_x64/full/functions/0x140006de0.c new file mode 100644 index 00000000..f225026b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140006de0.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140006de0 FUN_140006de0 + * Pseudocode, not original source. */ + +void FUN_140006de0(longlong *param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined *puVar1; + int *piVar2; + + puVar1 = (undefined *)*param_1; + if ((undefined *)*param_1 == (undefined *)0x0) { + puVar1 = PTR_DAT_14016f008; + } + *param_1 = (longlong)puVar1; + if ((undefined *)*param_2 != puVar1) { + piVar2 = (int *)FUN_14003e7c0(param_1,param_2,param_3,param_4); + FUN_14003d040(piVar2); + FUN_140006e80(param_1); + puVar1 = (undefined *)*param_2; + *param_1 = (longlong)puVar1; + if (((puVar1 != PTR_DAT_14016f008) && (puVar1 != (undefined *)0x0)) && + (puVar1 != (undefined *)0x8)) { + *(int *)(puVar1 + -4) = *(int *)(puVar1 + -4) + 1; + } + FUN_14003d0d0((longlong)piVar2); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140006e80.c b/decomp/AgentManager_Release_x64/full/functions/0x140006e80.c new file mode 100644 index 00000000..196e5a60 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140006e80.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140006e80 FUN_140006e80 + * Pseudocode, not original source. */ + +void FUN_140006e80(longlong *param_1) + +{ + int *piVar1; + undefined *puVar2; + int *piVar3; + undefined8 in_RDX; + undefined8 in_R8; + undefined8 in_R9; + + puVar2 = (undefined *)*param_1; + if (((puVar2 == (undefined *)0x0) || (puVar2 == PTR_DAT_14016f008)) || + (puVar2 + -8 == (undefined *)0x0)) { + *param_1 = (longlong)PTR_DAT_14016f008; + } + else { + piVar3 = (int *)FUN_14003e7c0(puVar2,in_RDX,in_R8,in_R9); + FUN_14003d040(piVar3); + piVar1 = (int *)(puVar2 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(puVar2 + -8); + } + FUN_14003d0d0((longlong)piVar3); + *param_1 = (longlong)PTR_DAT_14016f008; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140006f20.c b/decomp/AgentManager_Release_x64/full/functions/0x140006f20.c new file mode 100644 index 00000000..2576d2c5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140006f20.c @@ -0,0 +1,26 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140006f20 FUN_140006f20 + * Pseudocode, not original source. */ + +exception * +FUN_140006f20(exception *param_1,exception *param_2,undefined8 param_3,undefined8 param_4) + +{ + exception *peVar1; + exception *peVar2; + + peVar1 = param_1; + peVar2 = param_2; + std::exception::exception(param_1,param_2); + *(undefined ***)param_1 = Proud::Exception::vftable; + *(undefined4 *)(param_1 + 0x18) = *(undefined4 *)(param_2 + 0x18); + *(undefined8 *)(param_1 + 0x20) = *(undefined8 *)(param_2 + 0x20); + *(undefined8 *)(param_1 + 0x28) = *(undefined8 *)(param_2 + 0x28); + *(undefined8 *)(param_1 + 0x30) = *(undefined8 *)(param_2 + 0x30); + *(undefined4 *)(param_1 + 0x38) = *(undefined4 *)(param_2 + 0x38); + FUN_14003e7c0(peVar1,peVar2,param_3,param_4); + *(undefined **)(param_1 + 0x40) = PTR_DAT_14016f008; + FUN_140006de0((longlong *)(param_1 + 0x40),(longlong *)(param_2 + 0x40),param_3,param_4); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140006fb0.c b/decomp/AgentManager_Release_x64/full/functions/0x140006fb0.c new file mode 100644 index 00000000..0a4b1eb1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140006fb0.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140006fb0 FUN_140006fb0 + * Pseudocode, not original source. */ + +void FUN_140006fb0(undefined8 *param_1,undefined8 *param_2,size_t param_3) + +{ + undefined1 uVar1; + undefined8 uVar2; + undefined8 *puVar3; + ulonglong uVar4; + ulonglong uVar5; + + if (param_3 < 0x21) { + uVar5 = (ulonglong)((uint)param_3 & 7); + for (uVar4 = param_3 >> 3; uVar4 != 0; uVar4 = uVar4 - 1) { + uVar2 = *param_2; + param_2 = param_2 + 1; + *param_1 = uVar2; + param_1 = param_1 + 1; + } + if (uVar5 != 0) { + puVar3 = param_2; + do { + uVar1 = *(undefined1 *)puVar3; + puVar3 = (undefined8 *)((longlong)puVar3 + 1); + uVar5 = uVar5 - 1; + *(undefined1 *)((longlong)param_1 + (-1 - (longlong)param_2) + (longlong)puVar3) = uVar1; + } while (uVar5 != 0); + return; + } + } + else { + memcpy(param_1,param_2,param_3); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140007010.c b/decomp/AgentManager_Release_x64/full/functions/0x140007010.c new file mode 100644 index 00000000..fde4645c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140007010.c @@ -0,0 +1,28 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140007010 FUN_140007010 + * Pseudocode, not original source. */ + +undefined8 * +FUN_140007010(undefined8 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + ulonglong uVar1; + undefined7 uVar2; + + uVar2 = (undefined7)((ulonglong)param_3 >> 8); + *param_1 = MagiApiServer::vftable; + param_1[1] = 0; + param_1[2] = 0; + param_1[4] = 0; + param_1[8] = 0xf; + param_1[7] = 0; + *(undefined1 *)(param_1 + 5) = 0; + *(undefined4 *)(param_1 + 10) = 0; + param_1[0xb] = 0; + uVar1 = FUN_140094860(); + FUN_14003cf60((undefined4 *)(param_1 + 0xc),uVar1 & 0xffffffff,CONCAT71(uVar2,1),param_4); + *param_1 = MagiAgentManagerApiServer::vftable; + param_1[0x13] = 0; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140007090.c b/decomp/AgentManager_Release_x64/full/functions/0x140007090.c new file mode 100644 index 00000000..79ff79ab --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140007090.c @@ -0,0 +1,153 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140007090 FUN_140007090 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* WARNING: Type propagation algorithm not settling */ + +void FUN_140007090(int *param_1,longlong param_2) + +{ + ulonglong uVar1; + code *pcVar2; + undefined8 uVar3; + undefined2 *puVar4; + undefined2 *puVar5; + wchar_t *pwVar6; + char cVar7; + ulonglong uVar8; + undefined1 auStack_98 [32]; + undefined8 local_78; + ulonglong local_70 [2]; + ulonglong local_60; + ulonglong local_58; + ulonglong local_48 [2]; + ulonglong local_38; + ulonglong local_30; + ulonglong local_20; + + local_78 = 0xfffffffffffffffe; + local_20 = DAT_14016f5a0 ^ (ulonglong)auStack_98; + cVar7 = '\0'; + local_30 = 7; + local_38 = 0; + local_48[0]._0_2_ = 0; + switch(*(undefined4 *)(param_2 + 4)) { + case 0x2711: + FUN_140001710(local_48,L"AGENTMANAGER_REQ_SEND_ITEM",0x1a); + uVar3 = FUN_140016fa0((longlong)param_1,param_2); + cVar7 = (char)uVar3; + break; + case 0x2712: + FUN_140001710(local_48,L"AGENTMANAGER_REQ_KICK",0x15); + uVar3 = FUN_140017460((longlong)param_1,param_2); + cVar7 = (char)uVar3; + break; + case 0x2713: + FUN_140001710(local_48,L"AGENTMANAGER_REQ_BAN_USER",0x19); + uVar3 = FUN_140017800((longlong)param_1,param_2); + cVar7 = (char)uVar3; + break; + case 0x2714: + FUN_140001710(local_48,L"AGENTMANAGER_REQ_NOTICE",0x17); + uVar3 = FUN_140017ba0((longlong)param_1,param_2); + cVar7 = (char)uVar3; + break; + case 0x2715: + FUN_140001710(local_48,L"AGENTMANAGER_REQ_UPDATE_CASH",0x1c); + uVar3 = FUN_140018110((longlong)param_1,param_2); + cVar7 = (char)uVar3; + break; + case 0x2716: + FUN_140001710(local_48,L"AGENTMANAGER_REQ_REGISTER_SERVER",0x20); + uVar3 = FUN_1400184b0((longlong)param_1,param_2); + cVar7 = (char)uVar3; + break; + case 0x2717: + FUN_140001710(local_48,L"AGENTMANAGER_REQ_REGISTER_SERVER_OPTION",0x27); + uVar3 = FUN_140018ae0((longlong)param_1,param_2); + cVar7 = (char)uVar3; + break; + case 0x2718: + FUN_140001710(local_48,L"AGENTMANAGER_REQ_REQ_REAL_TIME_EVENT",0x24); + uVar3 = FUN_1400192a0((longlong)param_1,param_2); + cVar7 = (char)uVar3; + break; + case 0x271e: + FUN_140001710(local_48,L"AGENTMANAGER_REQ_STATUS_SERVER",0x1e); + uVar3 = FUN_1400195d0(param_1,param_2); + cVar7 = (char)uVar3; + } + if (*(char *)(DAT_14017cf10 + 0x46) != '\0') { + printf("-------------------------------API RESULT----------------------------------\n"); + local_58 = 7; + local_60 = 0; + local_70[0]._0_2_ = 0; + if (cVar7 == '\0') { + uVar8 = 8; + pwVar6 = L"Faile - "; + } + else { + uVar8 = 10; + pwVar6 = L"Succeed - "; + } + FUN_140001710(local_70,pwVar6,uVar8); + uVar8 = 0xffffffffffffffff; + if (local_38 != 0xffffffffffffffff) { + uVar8 = local_38; + } + if (-local_60 - 1 <= uVar8) { + std::_Xlength_error("string too long"); + pcVar2 = (code *)swi(3); + (*pcVar2)(); + return; + } + if (uVar8 != 0) { + uVar1 = local_60 + uVar8; + if (0x7ffffffffffffffe < uVar1) { + std::_Xlength_error("string too long"); + pcVar2 = (code *)swi(3); + (*pcVar2)(); + return; + } + if (local_58 < uVar1) { + FUN_140001920(local_70,uVar1,local_60); + } + else if (uVar1 == 0) { + local_60 = 0; + puVar5 = (undefined2 *)local_70; + if (7 < local_58) { + puVar5 = (undefined2 *)CONCAT62(local_70[0]._2_6_,(undefined2)local_70[0]); + } + *puVar5 = 0; + } + if (uVar1 != 0) { + puVar5 = (undefined2 *)local_48; + if (7 < local_30) { + puVar5 = (undefined2 *)CONCAT62(local_48[0]._2_6_,(undefined2)local_48[0]); + } + puVar4 = (undefined2 *)local_70; + if (7 < local_58) { + puVar4 = (undefined2 *)CONCAT62(local_70[0]._2_6_,(undefined2)local_70[0]); + } + memcpy(puVar4 + local_60,puVar5,uVar8 * 2); + puVar5 = (undefined2 *)local_70; + if (7 < local_58) { + puVar5 = (undefined2 *)CONCAT62(local_70[0]._2_6_,(undefined2)local_70[0]); + } + local_60 = uVar1; + puVar5[uVar1] = 0; + } + } + wprintf(L"%s\n"); + printf("---------------------------------------------------------------------------\n"); + if (7 < local_58) { + operator_delete((void *)CONCAT62(local_70[0]._2_6_,(undefined2)local_70[0])); + } + } + if (7 < local_30) { + operator_delete((void *)CONCAT62(local_48[0]._2_6_,(undefined2)local_48[0])); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140007430.c b/decomp/AgentManager_Release_x64/full/functions/0x140007430.c new file mode 100644 index 00000000..7e767260 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140007430.c @@ -0,0 +1,32 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140007430 FUN_140007430 + * Pseudocode, not original source. */ + +void FUN_140007430(longlong param_1,short *param_2,undefined8 param_3,short *param_4) + +{ + short sVar1; + ulonglong uVar2; + ulonglong *puVar3; + short *psVar4; + + uVar2 = 0xffffffffffffffff; + psVar4 = param_2; + do { + if (uVar2 == 0) break; + uVar2 = uVar2 - 1; + sVar1 = *psVar4; + psVar4 = psVar4 + 1; + } while (sVar1 != 0); + puVar3 = (ulonglong *)(param_1 + 0x28); + FUN_140001710(puVar3,param_2,~uVar2 - 1); + if (7 < *(ulonglong *)(param_1 + 0x40)) { + puVar3 = (ulonglong *)*puVar3; + } + FUN_140074210((undefined8 *)(param_1 + 8),(short *)puVar3,(short *)0x0,param_4); + wprintf(L"---DB Connect Succeed ------------------------------------------------\n"); + wprintf(L"%s \n"); + wprintf(L"----------------------------------------------------------------------\n"); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400074d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400074d0.c new file mode 100644 index 00000000..0907331a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400074d0.c @@ -0,0 +1,42 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400074d0 FUN_1400074d0 + * Pseudocode, not original source. */ + +ulonglong FUN_1400074d0(longlong param_1,longlong *param_2,void **param_3,undefined8 param_4) + +{ + int iVar1; + short *psVar2; + undefined8 uVar3; + undefined4 extraout_var; + ulonglong uVar4; + undefined1 *puVar5; + longlong *local_38 [2]; + undefined1 local_28 [32]; + + FUN_140073cc0(local_38); + FUN_140073f70(local_38,*(IID **)(param_1 + 8),param_3); + FUN_140074740(local_38,param_2,(int *)0x0); + uVar3 = 0; + puVar5 = local_28; + psVar2 = (short *)FUN_140073e60(local_38,puVar5,0); + FUN_140074970(psVar2,puVar5,uVar3,param_4); + iVar1 = FUN_14000add0(psVar2); + uVar3 = Ordinal_9(local_28); + if (iVar1 < 0) { + iVar1 = wprintf(L"Failed Stored Procedure!! : %s \n"); + uVar4 = CONCAT44(extraout_var,iVar1); + if (local_38[0] != (longlong *)0x0) { + uVar4 = (**(code **)(*local_38[0] + 0x10))(); + } + uVar4 = uVar4 & 0xffffffffffffff00; + } + else { + if (local_38[0] != (longlong *)0x0) { + uVar3 = (**(code **)(*local_38[0] + 0x10))(); + } + uVar4 = CONCAT71((int7)((ulonglong)uVar3 >> 8),1); + } + return uVar4; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400075b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400075b0.c new file mode 100644 index 00000000..6571e8c9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400075b0.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400075b0 FUN_1400075b0 + * Pseudocode, not original source. */ + +void FUN_1400075b0(longlong *param_1) + +{ + if ((longlong *)*param_1 != (longlong *)0x0) { + (**(code **)(*(longlong *)*param_1 + 0x10))(); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400075d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400075d0.c new file mode 100644 index 00000000..2535cb5c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400075d0.c @@ -0,0 +1,74 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400075d0 FUN_1400075d0 + * Pseudocode, not original source. */ + +void FUN_1400075d0(ulonglong *param_1,undefined8 *param_2) + +{ + longlong *plVar1; + short sVar2; + void *pvVar3; + longlong lVar4; + longlong *plVar5; + undefined8 *puVar6; + ulonglong uVar7; + void **ppvVar8; + void **ppvVar9; + void **ppvVar10; + undefined1 auStack_88 [32]; + longlong *local_68 [2]; + undefined8 local_58; + undefined2 local_50; + undefined6 uStack_4e; + undefined8 local_40; + ulonglong local_38; + ulonglong local_20; + + local_58 = 0xfffffffffffffffe; + local_20 = DAT_14016f5a0 ^ (ulonglong)auStack_88; + ppvVar9 = (void **)0x0; + do { + puVar6 = FUN_140073bd0(param_2,local_68,ppvVar9); + ppvVar8 = (void **)0x0; + if ((undefined8 *)*puVar6 != (undefined8 *)0x0) { + ppvVar8 = *(void ***)*puVar6; + } + local_38 = 7; + local_40 = 0; + local_50 = 0; + uVar7 = 0xffffffffffffffff; + ppvVar10 = ppvVar8; + do { + if (uVar7 == 0) break; + uVar7 = uVar7 - 1; + sVar2 = *(short *)ppvVar10; + ppvVar10 = (void **)((longlong)ppvVar10 + 2); + } while (sVar2 != 0); + FUN_140001710((ulonglong *)&local_50,ppvVar8,~uVar7 - 1); + plVar5 = local_68[0]; + if (local_68[0] != (longlong *)0x0) { + LOCK(); + plVar1 = local_68[0] + 2; + lVar4 = *plVar1; + *(int *)plVar1 = (int)*plVar1 + -1; + UNLOCK(); + if (((int)lVar4 == 1) && (local_68[0] != (longlong *)0x0)) { + if (*local_68[0] != 0) { + Ordinal_6(); + } + pvVar3 = (void *)plVar5[1]; + if (pvVar3 != (void *)0x0) { + operator_delete__(pvVar3); + } + operator_delete(plVar5); + } + local_68[0] = (longlong *)0x0; + } + FUN_140009f70(param_1,(longlong *)&local_50); + ppvVar9 = (void **)(ulonglong)((int)ppvVar9 + 1); + if (7 < local_38) { + operator_delete((void *)CONCAT62(uStack_4e,local_50)); + } + } while( true ); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140007700.c b/decomp/AgentManager_Release_x64/full/functions/0x140007700.c new file mode 100644 index 00000000..ab264027 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140007700.c @@ -0,0 +1,164 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140007700 FUN_140007700 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* WARNING: Removing unreachable block (ram,0x0001400077be) */ +/* WARNING: Type propagation algorithm not settling */ + +short * FUN_140007700(short *param_1,undefined8 *param_2,undefined8 *param_3,short *param_4) + +{ + short sVar1; + ushort *puVar2; + code *pcVar3; + uint uVar4; + ushort *puVar5; + short *psVar6; + ulonglong uVar7; + ushort *puVar8; + ushort *puVar9; + undefined1 auStack_d8 [32]; + undefined4 local_b8; + short *local_b0; + undefined8 local_a8; + ushort local_a0; + undefined6 uStack_9e; + ulonglong local_90; + ulonglong local_88; + ulonglong local_78 [2]; + ulonglong local_68; + ulonglong local_60; + ulonglong local_50; + + local_a8 = 0xfffffffffffffffe; + local_50 = DAT_14016f5a0 ^ (ulonglong)auStack_d8; + local_b8 = 0; + local_60 = 7; + local_68 = 0; + local_78[0]._0_2_ = 0; + uVar7 = 0xffffffffffffffff; + psVar6 = param_4; + do { + if (uVar7 == 0) break; + uVar7 = uVar7 - 1; + sVar1 = *psVar6; + psVar6 = psVar6 + 1; + } while (sVar1 != 0); + local_b0 = param_1; + FUN_140001710(local_78,param_4,~uVar7 - 1); + puVar2 = (ushort *)param_2[1]; + for (puVar9 = (ushort *)*param_2; puVar9 != puVar2; puVar9 = puVar9 + 0x14) { + local_88 = 7; + local_90 = 0; + local_a0 = 0; + uVar7 = *(ulonglong *)(puVar9 + 8); + if (&local_a0 == puVar9) { + FUN_140001800((undefined8 *)&local_a0,uVar7,0xffffffffffffffff); + FUN_140001800((undefined8 *)&local_a0,0,0); + } + else { + if (0x7ffffffffffffffe < uVar7) { + std::_Xlength_error("string too long"); + pcVar3 = (code *)swi(3); + psVar6 = (short *)(*pcVar3)(); + return psVar6; + } + if (uVar7 < 8) { + if (uVar7 == 0) { + local_90 = 0; + local_a0 = 0; + } + } + else { + FUN_140001920((undefined8 *)&local_a0,uVar7,0); + } + if (uVar7 != 0) { + puVar5 = puVar9; + if (7 < *(ulonglong *)(puVar9 + 0xc)) { + puVar5 = *(ushort **)puVar9; + } + puVar8 = &local_a0; + if (7 < local_88) { + puVar8 = (ushort *)CONCAT62(uStack_9e,local_a0); + } + memcpy(puVar8,puVar5,uVar7 * 2); + local_90 = uVar7; + puVar5 = &local_a0; + if (7 < local_88) { + puVar5 = (ushort *)CONCAT62(uStack_9e,local_a0); + } + puVar5[uVar7] = 0; + } + } + uVar4 = 0; + puVar5 = (ushort *)local_78; + if (7 < local_60) { + puVar5 = (ushort *)CONCAT62(local_78[0]._2_6_,(ushort)local_78[0]); + } + puVar8 = &local_a0; + if (7 < local_88) { + puVar8 = (ushort *)CONCAT62(uStack_9e,local_a0); + } + uVar7 = local_68; + if (local_90 < local_68) { + uVar7 = local_90; + } + for (; uVar7 != 0; uVar7 = uVar7 - 1) { + if (*puVar8 != *puVar5) { + uVar4 = 1; + if (*puVar8 < *puVar5) { + uVar4 = 0xffffffff; + } + break; + } + puVar8 = puVar8 + 1; + puVar5 = puVar5 + 1; + } + if (uVar4 == 0) { + if (local_90 < local_68) { + uVar4 = 0xffffffff; + } + else { + uVar4 = (uint)(local_90 != local_68); + } + } + if (uVar4 == 0) { + FUN_140073430(param_3,param_1,(longlong)param_4); + if (7 < local_88) { + operator_delete((void *)CONCAT62(uStack_9e,local_a0)); + } + local_88 = 7; + local_90 = 0; + local_a0 = 0; + goto LAB_1400079dd; + } + if (7 < local_88) { + operator_delete((ushort *)CONCAT62(uStack_9e,local_a0)); + } + } + wprintf(L"Error - DB Table Column Different [%s] \n"); + Sleep(3000); + Ordinal_8(param_1); + sVar1 = *param_1; + if ((sVar1 != 3) && (sVar1 != 10)) { + if (sVar1 == 0xb) { + param_1[4] = 0; + goto LAB_1400079dd; + } + uVar4 = Ordinal_9(param_1); + if ((int)uVar4 < 0) { + /* WARNING: Subroutine does not return */ + FUN_140048d70((ulonglong)uVar4); + } + *param_1 = 3; + } + param_1[4] = 0; + param_1[5] = 0; +LAB_1400079dd: + if (7 < local_60) { + operator_delete((void *)CONCAT62(local_78[0]._2_6_,(ushort)local_78[0])); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140007a20.c b/decomp/AgentManager_Release_x64/full/functions/0x140007a20.c new file mode 100644 index 00000000..247b67a2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140007a20.c @@ -0,0 +1,430 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140007a20 FUN_140007a20 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +ulonglong FUN_140007a20(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + int *piVar1; + undefined8 *puVar2; + IUnknown *pIVar3; + undefined8 *puVar4; + undefined8 *puVar5; + uint uVar6; + int iVar7; + ULONG UVar8; + undefined4 uVar9; + short *psVar10; + ulonglong uVar11; + undefined4 extraout_var; + undefined4 extraout_var_00; + int *piVar12; + ulonglong *puVar13; + ulonglong *puVar14; + int *piVar15; + undefined8 uVar16; + undefined4 extraout_var_01; + int *piVar17; + ulonglong **ppuVar18; + undefined8 **ppuVar19; + int **ppiVar20; + undefined *puVar21; + int *piVar22; + IUnknown **ppIVar23; + wchar_t *pwVar24; + undefined1 auStack_198 [32]; + ulonglong *local_178; + int local_170; + short local_160; + IUnknown *local_158 [2]; + longlong *local_148 [2]; + undefined8 *local_138; + undefined8 *local_130; + undefined8 local_128; + int *local_118; + undefined1 local_110; + int *local_108; + undefined1 local_100; + short local_f8 [16]; + undefined8 local_d8; + undefined8 local_c8; + undefined4 local_c0; + undefined1 local_bc; + undefined8 local_b8; + undefined8 local_b0; + undefined1 local_a8; + undefined2 local_a0; + undefined6 uStack_9e; + undefined8 local_90; + ulonglong local_88; + undefined2 local_78; + undefined6 uStack_76; + undefined8 local_68; + ulonglong local_60; + undefined2 local_50; + undefined6 uStack_4e; + undefined8 local_40; + ulonglong local_38; + ulonglong local_28; + + local_d8 = 0xfffffffffffffffe; + local_28 = DAT_14016f5a0 ^ (ulonglong)auStack_198; + FUN_140073cc0(local_148); + FUN_140073b20(local_158); + FUN_140073f70(local_148,*(IID **)(param_1 + 8),(void **)L"dbo.up_read_agentmanager"); + iVar7 = *(int *)(DAT_14017cf28 + 0x154); + Ordinal_8(&local_178); + if (((short)local_178 != 3) && ((short)local_178 != 10)) { + if ((short)local_178 == 0xb) { + local_170 = CONCAT22(local_170._2_2_,-(ushort)(iVar7 != 0)); + iVar7 = local_170; + } + else { + uVar6 = Ordinal_9(&local_178); + if ((int)uVar6 < 0) { + /* WARNING: Subroutine does not return */ + FUN_140048d70((ulonglong)uVar6); + } + local_178 = (ulonglong *)CONCAT62(local_178._2_6_,3); + } + } + local_170 = iVar7; + FUN_140073d70(local_148,1,(undefined4 *)&local_178); + Ordinal_9(&local_178); + FUN_140074740(local_148,(longlong *)local_158,(int *)0x0); + uVar16 = 0; + ppuVar18 = &local_178; + psVar10 = (short *)FUN_140073e60(local_148,ppuVar18,0); + FUN_140074970(psVar10,ppuVar18,uVar16,param_4); + iVar7 = FUN_14000add0(psVar10); + Ordinal_9(&local_178); + pIVar3 = local_158[0]; + if (iVar7 < 0) { + wprintf(L"Failed Stored Procedure!! : %s \n",L"dbo.up_read_agentmanager"); + uVar11 = FUN_140072b00(local_158); + if (local_158[0] != (IUnknown *)0x0) { + UVar8 = (*local_158[0]->lpVtbl->Release)(local_158[0]); + uVar11 = CONCAT44(extraout_var,UVar8); + } + } + else { + local_160 = 0; + UVar8 = (*local_158[0]->lpVtbl[6].Release)(local_158[0]); + if ((int)UVar8 < 0) { + _com_issue_errorex(UVar8,pIVar3,(_GUID *)&DAT_1401301b0); + } + if (local_160 == 0) { + local_138 = (undefined8 *)0x0; + local_130 = (undefined8 *)0x0; + local_128 = 0; + FUN_1400075d0((ulonglong *)&local_138,local_158); + local_c8 = 0; + local_c0 = 0; + local_bc = 0; + local_b8 = 0; + local_b0 = 0; + local_a8 = 0; + local_88 = 7; + local_90 = 0; + local_a0 = 0; + local_60 = 7; + local_68 = 0; + local_78 = 0; + local_38 = 7; + local_40 = 0; + local_50 = 0; + pwVar24 = L"World"; + ppIVar23 = local_158; + ppuVar19 = &local_138; + psVar10 = FUN_140007700((short *)&local_178,ppuVar19,ppIVar23,L"World"); + FUN_140074970(psVar10,ppuVar19,ppIVar23,pwVar24); + uVar9 = FUN_14000add0(psVar10); + local_c8 = CONCAT44(local_c8._4_4_,uVar9); + Ordinal_9(&local_178); + pwVar24 = L"Code"; + ppIVar23 = local_158; + ppuVar19 = &local_138; + psVar10 = FUN_140007700((short *)&local_178,ppuVar19,ppIVar23,L"Code"); + FUN_140074970(psVar10,ppuVar19,ppIVar23,pwVar24); + uVar9 = FUN_14000add0(psVar10); + local_c8 = CONCAT44(uVar9,(undefined4)local_c8); + Ordinal_9(&local_178); + pwVar24 = L"AgentCode"; + ppIVar23 = local_158; + ppuVar19 = &local_138; + psVar10 = FUN_140007700((short *)&local_178,ppuVar19,ppIVar23,L"AgentCode"); + FUN_140074970(psVar10,ppuVar19,ppIVar23,pwVar24); + local_c0 = FUN_14000add0(psVar10); + Ordinal_9(&local_178); + pwVar24 = L"Type"; + ppIVar23 = local_158; + ppuVar19 = &local_138; + psVar10 = FUN_140007700((short *)&local_178,ppuVar19,ppIVar23,L"Type"); + FUN_140074970(psVar10,ppuVar19,ppIVar23,pwVar24); + local_bc = FUN_14000acb0(psVar10); + Ordinal_9(&local_178); + pwVar24 = L"PrivatePort"; + ppIVar23 = local_158; + ppuVar19 = &local_138; + psVar10 = FUN_140007700((short *)&local_178,ppuVar19,ppIVar23,L"PrivatePort"); + FUN_140074970(psVar10,ppuVar19,ppIVar23,pwVar24); + uVar9 = FUN_14000add0(psVar10); + local_b8 = CONCAT44(local_b8._4_4_,uVar9); + Ordinal_9(&local_178); + pwVar24 = L"PublicPort"; + ppIVar23 = local_158; + ppuVar19 = &local_138; + psVar10 = FUN_140007700((short *)&local_178,ppuVar19,ppIVar23,L"PublicPort"); + FUN_140074970(psVar10,ppuVar19,ppIVar23,pwVar24); + uVar9 = FUN_14000add0(psVar10); + local_b8 = CONCAT44(uVar9,(undefined4)local_b8); + Ordinal_9(&local_178); + pwVar24 = L"UdpPort"; + ppIVar23 = local_158; + ppuVar19 = &local_138; + psVar10 = FUN_140007700((short *)&local_178,ppuVar19,ppIVar23,L"UdpPort"); + FUN_140074970(psVar10,ppuVar19,ppIVar23,pwVar24); + uVar9 = FUN_14000add0(psVar10); + local_b0 = CONCAT44(local_b0._4_4_,uVar9); + Ordinal_9(&local_178); + pwVar24 = L"UdpCount"; + ppIVar23 = local_158; + ppuVar19 = &local_138; + psVar10 = FUN_140007700((short *)&local_178,ppuVar19,ppIVar23,L"UdpCount"); + FUN_140074970(psVar10,ppuVar19,ppIVar23,pwVar24); + uVar9 = FUN_14000add0(psVar10); + local_b0 = CONCAT44(uVar9,(undefined4)local_b0); + Ordinal_9(&local_178); + pwVar24 = L"SessionCount"; + ppIVar23 = local_158; + ppuVar19 = &local_138; + psVar10 = FUN_140007700((short *)&local_178,ppuVar19,ppIVar23,L"SessionCount"); + FUN_140074970(psVar10,ppuVar19,ppIVar23,pwVar24); + local_a8 = FUN_14000acb0(psVar10); + Ordinal_9(&local_178); + pwVar24 = L"PrivateAddress"; + ppIVar23 = local_158; + psVar10 = FUN_140007700(local_f8,&local_138,ppIVar23,L"PrivateAddress"); + ppiVar20 = &local_108; + FUN_14000ab30(psVar10,(longlong *)ppiVar20,ppIVar23,pwVar24); + FUN_14003e7c0(psVar10,ppiVar20,ppIVar23,pwVar24); + piVar22 = (int *)PTR_DAT_14016f010; + if (PTR_DAT_14016f010 == (undefined *)0x0) { + piVar22 = (int *)0x0; + } + local_118 = piVar22; + if (local_108 != (int *)PTR_DAT_14016f010) { + puVar21 = PTR_DAT_14016f010; + piVar12 = (int *)FUN_14003e7c0(psVar10,PTR_DAT_14016f010,ppIVar23,pwVar24); + piVar17 = piVar12; + local_118 = piVar12; + FUN_14003d040(piVar12); + local_110 = 1; + if (((piVar22 != (int *)0x0) && (piVar22 != (int *)PTR_DAT_14016f010)) && + (piVar22 + -2 != (int *)0x0)) { + puVar13 = (ulonglong *)FUN_14003e7c0(piVar17,puVar21,ppIVar23,pwVar24); + local_178 = puVar13; + FUN_14003d040((int *)puVar13); + local_170 = CONCAT31(local_170._1_3_,1); + piVar17 = piVar22 + -1; + *piVar17 = *piVar17 + -1; + if (*piVar17 == 0) { + FUN_14003e8b0(piVar22 + -2); + } + FUN_14003d0d0((longlong)puVar13); + } + local_118 = local_108; + if (((local_108 != (int *)PTR_DAT_14016f010) && (local_108 != (int *)0x0)) && + (local_108 != (int *)0x8)) { + local_108[-1] = local_108[-1] + 1; + } + FUN_14003d0d0((longlong)piVar12); + piVar22 = local_108; + } + piVar17 = piVar22; + if (piVar22 == (int *)0x0) { + piVar17 = (int *)PTR_DAT_14016f010; + } + uVar11 = 0xffffffffffffffff; + piVar12 = piVar17; + do { + if (uVar11 == 0) break; + uVar11 = uVar11 - 1; + iVar7 = *piVar12; + piVar12 = (int *)((longlong)piVar12 + 2); + } while ((short)iVar7 != 0); + uVar11 = ~uVar11 - 1; + puVar13 = (ulonglong *)&local_a0; + piVar12 = piVar17; + FUN_140001710(puVar13,piVar17,uVar11); + if (((piVar22 != (int *)0x0) && (piVar22 != (int *)PTR_DAT_14016f010)) && + (piVar22 + -2 != (int *)0x0)) { + puVar13 = (ulonglong *)FUN_14003e7c0(puVar13,piVar17,uVar11,piVar12); + local_178 = puVar13; + FUN_14003d040((int *)puVar13); + local_170 = CONCAT31(local_170._1_3_,1); + piVar15 = piVar22 + -1; + *piVar15 = *piVar15 + -1; + if (*piVar15 == 0) { + FUN_14003e8b0(piVar22 + -2); + } + FUN_14003d0d0((longlong)puVar13); + } + if (((local_108 != (int *)0x0) && (local_108 != (int *)PTR_DAT_14016f010)) && + (local_108 + -2 != (int *)0x0)) { + puVar13 = (ulonglong *)FUN_14003e7c0(puVar13,piVar17,uVar11,piVar12); + local_178 = puVar13; + FUN_14003d040((int *)puVar13); + local_170 = CONCAT31(local_170._1_3_,1); + piVar22 = local_108 + -1; + *piVar22 = *piVar22 + -1; + if (*piVar22 == 0) { + FUN_14003e8b0(local_108 + -2); + } + FUN_14003d0d0((longlong)puVar13); + } + Ordinal_9(local_f8); + pwVar24 = L"PublicAddress"; + ppIVar23 = local_158; + psVar10 = FUN_140007700(local_f8,&local_138,ppIVar23,L"PublicAddress"); + ppiVar20 = &local_118; + FUN_14000ab30(psVar10,(longlong *)ppiVar20,ppIVar23,pwVar24); + FUN_14003e7c0(psVar10,ppiVar20,ppIVar23,pwVar24); + piVar22 = local_118; + piVar17 = (int *)PTR_DAT_14016f010; + if (PTR_DAT_14016f010 == (undefined *)0x0) { + piVar17 = (int *)0x0; + } + local_108 = piVar17; + if (local_118 != (int *)PTR_DAT_14016f010) { + puVar21 = PTR_DAT_14016f010; + puVar14 = (ulonglong *)FUN_14003e7c0(psVar10,PTR_DAT_14016f010,ppIVar23,pwVar24); + puVar13 = puVar14; + local_178 = puVar14; + FUN_14003d040((int *)puVar14); + local_170 = CONCAT31(local_170._1_3_,1); + if (((piVar17 != (int *)0x0) && (piVar17 != (int *)PTR_DAT_14016f010)) && + (piVar17 + -2 != (int *)0x0)) { + piVar15 = (int *)FUN_14003e7c0(puVar13,puVar21,ppIVar23,pwVar24); + local_108 = piVar15; + FUN_14003d040(piVar15); + local_100 = 1; + piVar12 = piVar17 + -1; + *piVar12 = *piVar12 + -1; + if (*piVar12 == 0) { + FUN_14003e8b0(piVar17 + -2); + } + FUN_14003d0d0((longlong)piVar15); + } + local_108 = piVar22; + if (((piVar22 != (int *)PTR_DAT_14016f010) && (piVar22 != (int *)0x0)) && + (piVar22 != (int *)0x8)) { + piVar22[-1] = piVar22[-1] + 1; + } + FUN_14003d0d0((longlong)puVar14); + piVar17 = piVar22; + } + piVar12 = piVar17; + if (piVar17 == (int *)0x0) { + piVar12 = (int *)PTR_DAT_14016f010; + } + uVar11 = 0xffffffffffffffff; + piVar15 = piVar12; + do { + if (uVar11 == 0) break; + uVar11 = uVar11 - 1; + iVar7 = *piVar15; + piVar15 = (int *)((longlong)piVar15 + 2); + } while ((short)iVar7 != 0); + uVar11 = ~uVar11 - 1; + puVar13 = (ulonglong *)&local_78; + piVar15 = piVar12; + FUN_140001710(puVar13,piVar12,uVar11); + if (((piVar17 != (int *)0x0) && (piVar17 != (int *)PTR_DAT_14016f010)) && + (piVar17 + -2 != (int *)0x0)) { + puVar13 = (ulonglong *)FUN_14003e7c0(puVar13,piVar12,uVar11,piVar15); + local_178 = puVar13; + FUN_14003d040((int *)puVar13); + local_170 = CONCAT31(local_170._1_3_,1); + piVar1 = piVar17 + -1; + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(piVar17 + -2); + } + FUN_14003d0d0((longlong)puVar13); + } + if (((piVar22 != (int *)0x0) && (piVar22 != (int *)PTR_DAT_14016f010)) && + (piVar22 + -2 != (int *)0x0)) { + puVar13 = (ulonglong *)FUN_14003e7c0(puVar13,piVar12,uVar11,piVar15); + local_178 = puVar13; + FUN_14003d040((int *)puVar13); + local_170 = CONCAT31(local_170._1_3_,1); + piVar17 = piVar22 + -1; + *piVar17 = *piVar17 + -1; + if (*piVar17 == 0) { + FUN_14003e8b0(piVar22 + -2); + } + FUN_14003d0d0((longlong)puVar13); + } + Ordinal_9(local_f8); + FUN_140033c30((ulonglong *)&local_50,local_bc,local_c8._4_4_); + if (*(int *)(DAT_14017cf28 + 0x154) == local_c8._4_4_) { + FUN_14002fe40(DAT_14017cf28,(undefined4 *)&local_c8); + } + if (7 < local_38) { + operator_delete((void *)CONCAT62(uStack_4e,local_50)); + } + local_38 = 7; + local_40 = 0; + local_50 = 0; + if (7 < local_60) { + operator_delete((void *)CONCAT62(uStack_76,local_78)); + } + local_60 = 7; + local_68 = 0; + local_78 = 0; + if (7 < local_88) { + operator_delete((void *)CONCAT62(uStack_9e,local_a0)); + } + puVar5 = local_130; + puVar4 = local_138; + local_88 = 7; + local_90 = 0; + local_a0 = 0; + puVar2 = local_138; + if (local_138 != (undefined8 *)0x0) { + for (; puVar2 != puVar5; puVar2 = puVar2 + 5) { + if (7 < (ulonglong)puVar2[3]) { + operator_delete((void *)*puVar2); + } + puVar2[3] = 7; + puVar2[2] = 0; + *(undefined2 *)puVar2 = 0; + } + operator_delete(puVar4); + } + uVar16 = FUN_140072b00(local_158); + if (local_158[0] != (IUnknown *)0x0) { + UVar8 = (*local_158[0]->lpVtbl->Release)(local_158[0]); + uVar16 = CONCAT44(extraout_var_01,UVar8); + } + if (local_148[0] != (longlong *)0x0) { + uVar16 = (**(code **)(*local_148[0] + 0x10))(); + } + return CONCAT71((int7)((ulonglong)uVar16 >> 8),1); + } + wprintf(L"Failed Recordset!! : %s \n",L"dbo.up_read_agentmanager"); + uVar11 = FUN_140072b00(local_158); + if (local_158[0] != (IUnknown *)0x0) { + UVar8 = (*local_158[0]->lpVtbl->Release)(local_158[0]); + uVar11 = CONCAT44(extraout_var_00,UVar8); + } + } + if (local_148[0] != (longlong *)0x0) { + uVar11 = (**(code **)(*local_148[0] + 0x10))(); + } + return uVar11 & 0xffffffffffffff00; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140008410.c b/decomp/AgentManager_Release_x64/full/functions/0x140008410.c new file mode 100644 index 00000000..19660898 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140008410.c @@ -0,0 +1,659 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140008410 FUN_140008410 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +ulonglong FUN_140008410(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + ulonglong *puVar1; + short sVar2; + undefined8 *puVar3; + IUnknown *pIVar4; + ULONG UVar5; + uint uVar6; + undefined8 uVar7; + ulonglong uVar8; + undefined4 extraout_var; + short *psVar9; + short *psVar10; + int *piVar11; + int *piVar12; + ulonglong *puVar13; + undefined4 extraout_var_00; + int *piVar14; + longlong *plVar15; + undefined8 **ppuVar16; + short **ppsVar17; + undefined *puVar18; + IID *pIVar19; + short *psVar20; + ulonglong *puVar21; + uchar uVar22; + undefined1 uVar23; + ulong uVar24; + short *psVar25; + undefined8 *puVar26; + IUnknown **ppIVar27; + void **ppvVar28; + wchar_t *pwVar29; + undefined1 auStack_298 [32]; + short local_278 [4]; + ulong local_270; + short local_258; + IUnknown *local_250 [2]; + undefined8 *local_240; + undefined8 *local_238; + undefined8 local_230; + ulonglong *local_220; + ulonglong *local_218; + undefined8 local_210; + short *local_200; + ulonglong *local_1f8; + ulonglong *local_1f0; + undefined8 local_1e8; + short *local_1d8; + short *local_1d0; + int *local_1c8; + undefined1 local_1c0; + int *local_1b8; + undefined1 local_1b0; + int *local_1a8; + undefined1 local_1a0; + int *local_198; + undefined1 local_190; + ulonglong *local_188; + undefined1 local_180; + ulonglong *local_178; + undefined1 local_170; + int *local_168; + undefined1 local_160; + int *local_158; + undefined1 local_150; + undefined8 local_148; + IID local_138; + undefined8 local_128; + undefined8 local_120; + undefined1 local_118; + undefined2 local_110; + undefined6 uStack_10e; + undefined8 local_100; + ulonglong local_f8; + undefined2 local_e8; + undefined6 uStack_e6; + undefined8 local_d8; + ulonglong local_d0; + undefined2 local_c0; + undefined6 uStack_be; + undefined8 local_b0; + ulonglong local_a8; + ulonglong local_98; + ulonglong uStack_90; + ulonglong local_88; + ulonglong local_80; + ulonglong local_78; + ulonglong local_70; + ulonglong local_68; + void *local_60; + undefined8 local_58; + undefined8 local_50; + ulonglong local_38; + + local_148 = 0xfffffffffffffffe; + local_38 = DAT_14016f5a0 ^ (ulonglong)auStack_298; + FUN_1400390d0(DAT_14017cf20); + FUN_140073b20(local_250); + uVar7 = FUN_1400074d0(param_1,(longlong *)local_250,(void **)L"dbo.up_read_all_serveroption", + param_4); + if ((char)uVar7 == '\0') { + uVar8 = FUN_140072b00(local_250); + if (local_250[0] != (IUnknown *)0x0) { + UVar5 = (*local_250[0]->lpVtbl->Release)(local_250[0]); + uVar8 = CONCAT44(extraout_var,UVar5); + } + uVar8 = uVar8 & 0xffffffffffffff00; + } + else { + local_240 = (undefined8 *)0x0; + local_238 = (undefined8 *)0x0; + local_230 = 0; + FUN_1400075d0((ulonglong *)&local_240,local_250); + while( true ) { + pIVar4 = local_250[0]; + local_258 = 0; + UVar5 = (*local_250[0]->lpVtbl[6].Release)(local_250[0]); + if ((int)UVar5 < 0) { + _com_issue_errorex(UVar5,pIVar4,(_GUID *)&DAT_1401301b0); + } + if (local_258 != 0) break; + local_138.Data1 = 0; + local_138.Data2 = 0; + local_138.Data3 = 0; + local_138.Data4[0] = '\0'; + local_138.Data4[1] = '\0'; + local_138.Data4[2] = '\0'; + local_138.Data4[3] = '\0'; + local_138.Data4[4] = '\0'; + local_128 = 0; + local_120 = 0; + local_118 = 0; + local_f8 = 7; + local_100 = 0; + local_110 = 0; + local_d0 = 7; + local_d8 = 0; + local_e8 = 0; + local_a8 = 7; + local_b0 = 0; + local_c0 = 0; + pwVar29 = L"World"; + ppIVar27 = local_250; + ppuVar16 = &local_240; + psVar9 = FUN_140007700((short *)&local_220,ppuVar16,ppIVar27,L"World"); + FUN_140074970(psVar9,ppuVar16,ppIVar27,pwVar29); + if (*psVar9 == 3) { + uVar24 = *(ulong *)(psVar9 + 4); + } + else { + Ordinal_8(local_278); + if (((local_278 != psVar9) || (local_278[0] != 3)) && + (uVar6 = Ordinal_12(local_278,psVar9,0,3), (int)uVar6 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_140048d70((ulonglong)uVar6); + } + uVar24 = local_270; + Ordinal_9(local_278); + } + local_138.Data1 = uVar24; + Ordinal_9(&local_220); + pwVar29 = L"Code"; + ppIVar27 = local_250; + ppuVar16 = &local_240; + psVar9 = FUN_140007700((short *)&local_220,ppuVar16,ppIVar27,L"Code"); + FUN_140074970(psVar9,ppuVar16,ppIVar27,pwVar29); + if (*psVar9 == 3) { + uVar24 = *(ulong *)(psVar9 + 4); + } + else { + Ordinal_8(local_278); + if (((local_278 != psVar9) || (local_278[0] != 3)) && + (uVar6 = Ordinal_12(local_278,psVar9,0,3), (int)uVar6 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_140048d70((ulonglong)uVar6); + } + uVar24 = local_270; + Ordinal_9(local_278); + } + local_138.Data2 = (short)uVar24; + local_138.Data3 = (short)(uVar24 >> 0x10); + Ordinal_9(&local_220); + pwVar29 = L"AgentCode"; + ppIVar27 = local_250; + ppuVar16 = &local_240; + psVar9 = FUN_140007700((short *)&local_220,ppuVar16,ppIVar27,L"AgentCode"); + FUN_140074970(psVar9,ppuVar16,ppIVar27,pwVar29); + if (*psVar9 == 3) { + uVar24 = *(ulong *)(psVar9 + 4); + } + else { + Ordinal_8(local_278); + if (((local_278 != psVar9) || (local_278[0] != 3)) && + (uVar6 = Ordinal_12(local_278,psVar9,0,3), (int)uVar6 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_140048d70((ulonglong)uVar6); + } + uVar24 = local_270; + Ordinal_9(local_278); + } + local_138.Data4._0_4_ = uVar24; + Ordinal_9(&local_220); + pwVar29 = L"Type"; + ppIVar27 = local_250; + ppuVar16 = &local_240; + psVar9 = FUN_140007700((short *)&local_220,ppuVar16,ppIVar27,L"Type"); + FUN_140074970(psVar9,ppuVar16,ppIVar27,pwVar29); + if (*psVar9 == 0x11) { + uVar22 = (uchar)psVar9[4]; + } + else { + Ordinal_8(local_278); + if (((local_278 != psVar9) || (local_278[0] != 0x11)) && + (uVar6 = Ordinal_12(local_278,psVar9,0,0x11), (int)uVar6 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_140048d70((ulonglong)uVar6); + } + uVar22 = (uchar)local_270; + Ordinal_9(local_278); + } + local_138.Data4[4] = uVar22; + Ordinal_9(&local_220); + pwVar29 = L"PrivatePort"; + ppIVar27 = local_250; + ppuVar16 = &local_240; + psVar9 = FUN_140007700((short *)&local_220,ppuVar16,ppIVar27,L"PrivatePort"); + FUN_140074970(psVar9,ppuVar16,ppIVar27,pwVar29); + if (*psVar9 == 3) { + uVar24 = *(ulong *)(psVar9 + 4); + } + else { + Ordinal_8(local_278); + if (((local_278 != psVar9) || (local_278[0] != 3)) && + (uVar6 = Ordinal_12(local_278,psVar9,0,3), (int)uVar6 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_140048d70((ulonglong)uVar6); + } + uVar24 = local_270; + Ordinal_9(local_278); + } + local_128 = CONCAT44(local_128._4_4_,uVar24); + Ordinal_9(&local_220); + pwVar29 = L"PublicPort"; + ppIVar27 = local_250; + ppuVar16 = &local_240; + psVar9 = FUN_140007700((short *)&local_220,ppuVar16,ppIVar27,L"PublicPort"); + FUN_140074970(psVar9,ppuVar16,ppIVar27,pwVar29); + if (*psVar9 == 3) { + uVar24 = *(ulong *)(psVar9 + 4); + } + else { + Ordinal_8(local_278); + if (((local_278 != psVar9) || (local_278[0] != 3)) && + (uVar6 = Ordinal_12(local_278,psVar9,0,3), (int)uVar6 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_140048d70((ulonglong)uVar6); + } + uVar24 = local_270; + Ordinal_9(local_278); + } + local_128 = CONCAT44(uVar24,(undefined4)local_128); + Ordinal_9(&local_220); + pwVar29 = L"UdpPort"; + ppIVar27 = local_250; + ppuVar16 = &local_240; + psVar9 = FUN_140007700((short *)&local_220,ppuVar16,ppIVar27,L"UdpPort"); + FUN_140074970(psVar9,ppuVar16,ppIVar27,pwVar29); + if (*psVar9 == 3) { + uVar24 = *(ulong *)(psVar9 + 4); + } + else { + Ordinal_8(local_278); + if (((local_278 != psVar9) || (local_278[0] != 3)) && + (uVar6 = Ordinal_12(local_278,psVar9,0,3), (int)uVar6 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_140048d70((ulonglong)uVar6); + } + uVar24 = local_270; + Ordinal_9(local_278); + } + local_120 = CONCAT44(local_120._4_4_,uVar24); + Ordinal_9(&local_220); + pwVar29 = L"UdpCount"; + ppIVar27 = local_250; + ppuVar16 = &local_240; + psVar9 = FUN_140007700((short *)&local_220,ppuVar16,ppIVar27,L"UdpCount"); + FUN_140074970(psVar9,ppuVar16,ppIVar27,pwVar29); + if (*psVar9 == 3) { + uVar24 = *(ulong *)(psVar9 + 4); + } + else { + Ordinal_8(local_278); + if (((local_278 != psVar9) || (local_278[0] != 3)) && + (uVar6 = Ordinal_12(local_278,psVar9,0,3), (int)uVar6 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_140048d70((ulonglong)uVar6); + } + uVar24 = local_270; + Ordinal_9(local_278); + } + local_120 = CONCAT44(uVar24,(undefined4)local_120); + Ordinal_9(&local_220); + pwVar29 = L"SessionCount"; + ppIVar27 = local_250; + ppuVar16 = &local_240; + psVar9 = FUN_140007700((short *)&local_220,ppuVar16,ppIVar27,L"SessionCount"); + FUN_140074970(psVar9,ppuVar16,ppIVar27,pwVar29); + if (*psVar9 == 0x11) { + uVar23 = (undefined1)psVar9[4]; + } + else { + Ordinal_8(local_278); + if (((local_278 != psVar9) || (local_278[0] != 0x11)) && + (uVar6 = Ordinal_12(local_278,psVar9,0,0x11), (int)uVar6 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_140048d70((ulonglong)uVar6); + } + uVar23 = (uchar)local_270; + Ordinal_9(local_278); + } + local_118 = uVar23; + Ordinal_9(&local_220); + pwVar29 = L"PrivateAddress"; + ppIVar27 = local_250; + psVar10 = FUN_140007700((short *)&local_220,&local_240,ppIVar27,L"PrivateAddress"); + ppsVar17 = &local_1d8; + FUN_14000ab30(psVar10,(longlong *)ppsVar17,ppIVar27,pwVar29); + FUN_14003e7c0(psVar10,ppsVar17,ppIVar27,pwVar29); + psVar9 = local_1d8; + psVar20 = (short *)PTR_DAT_14016f010; + if (PTR_DAT_14016f010 == (undefined *)0x0) { + psVar20 = (short *)0x0; + } + local_200 = psVar20; + if (local_1d8 != (short *)PTR_DAT_14016f010) { + puVar18 = PTR_DAT_14016f010; + piVar11 = (int *)FUN_14003e7c0(psVar10,PTR_DAT_14016f010,ppIVar27,pwVar29); + piVar14 = piVar11; + local_198 = piVar11; + FUN_14003d040(piVar11); + local_190 = 1; + if (((psVar20 != (short *)0x0) && (psVar20 != (short *)PTR_DAT_14016f010)) && + (psVar20 + -4 != (short *)0x0)) { + piVar12 = (int *)FUN_14003e7c0(piVar14,puVar18,ppIVar27,pwVar29); + local_1b8 = piVar12; + FUN_14003d040(piVar12); + local_1b0 = 1; + piVar14 = (int *)(psVar20 + -2); + *piVar14 = *piVar14 + -1; + if (*piVar14 == 0) { + FUN_14003e8b0(psVar20 + -4); + } + FUN_14003d0d0((longlong)piVar12); + local_1b0 = 0; + } + local_200 = psVar9; + if (((psVar9 != (short *)PTR_DAT_14016f010) && (psVar9 != (short *)0x0)) && + (psVar9 != (short *)0x8)) { + *(int *)(psVar9 + -2) = *(int *)(psVar9 + -2) + 1; + } + FUN_14003d0d0((longlong)piVar11); + local_190 = 0; + psVar20 = psVar9; + } + psVar10 = psVar20; + if (psVar20 == (short *)0x0) { + psVar10 = (short *)PTR_DAT_14016f010; + } + uVar8 = 0xffffffffffffffff; + psVar25 = psVar10; + do { + if (uVar8 == 0) break; + uVar8 = uVar8 - 1; + sVar2 = *psVar25; + psVar25 = psVar25 + 1; + } while (sVar2 != 0); + uVar8 = ~uVar8 - 1; + puVar13 = (ulonglong *)&local_110; + psVar25 = psVar10; + FUN_140001710(puVar13,psVar10,uVar8); + if (((psVar20 != (short *)0x0) && (psVar20 != (short *)PTR_DAT_14016f010)) && + (psVar20 + -4 != (short *)0x0)) { + puVar13 = (ulonglong *)FUN_14003e7c0(puVar13,psVar10,uVar8,psVar25); + local_178 = puVar13; + FUN_14003d040((int *)puVar13); + local_170 = 1; + piVar14 = (int *)(psVar20 + -2); + *piVar14 = *piVar14 + -1; + if (*piVar14 == 0) { + FUN_14003e8b0(psVar20 + -4); + } + FUN_14003d0d0((longlong)puVar13); + local_170 = 0; + } + if (((psVar9 != (short *)0x0) && (psVar9 != (short *)PTR_DAT_14016f010)) && + (psVar9 + -4 != (short *)0x0)) { + piVar11 = (int *)FUN_14003e7c0(puVar13,psVar10,uVar8,psVar25); + local_1c8 = piVar11; + FUN_14003d040(piVar11); + local_1c0 = 1; + piVar14 = (int *)(psVar9 + -2); + *piVar14 = *piVar14 + -1; + if (*piVar14 == 0) { + FUN_14003e8b0(psVar9 + -4); + } + FUN_14003d0d0((longlong)piVar11); + local_1c0 = 0; + } + local_1d8 = (short *)PTR_DAT_14016f010; + Ordinal_9(&local_220); + pwVar29 = L"PublicAddress"; + ppIVar27 = local_250; + psVar10 = FUN_140007700((short *)&local_220,&local_240,ppIVar27,L"PublicAddress"); + ppsVar17 = &local_1d0; + FUN_14000ab30(psVar10,(longlong *)ppsVar17,ppIVar27,pwVar29); + FUN_14003e7c0(psVar10,ppsVar17,ppIVar27,pwVar29); + psVar9 = local_1d0; + psVar20 = (short *)PTR_DAT_14016f010; + if (PTR_DAT_14016f010 == (undefined *)0x0) { + psVar20 = (short *)0x0; + } + local_200 = psVar20; + if (local_1d0 != (short *)PTR_DAT_14016f010) { + puVar18 = PTR_DAT_14016f010; + piVar11 = (int *)FUN_14003e7c0(psVar10,PTR_DAT_14016f010,ppIVar27,pwVar29); + piVar14 = piVar11; + local_168 = piVar11; + FUN_14003d040(piVar11); + local_160 = 1; + if (((psVar20 != (short *)0x0) && (psVar20 != (short *)PTR_DAT_14016f010)) && + (psVar20 + -4 != (short *)0x0)) { + piVar12 = (int *)FUN_14003e7c0(piVar14,puVar18,ppIVar27,pwVar29); + local_1a8 = piVar12; + FUN_14003d040(piVar12); + local_1a0 = 1; + piVar14 = (int *)(psVar20 + -2); + *piVar14 = *piVar14 + -1; + if (*piVar14 == 0) { + FUN_14003e8b0(psVar20 + -4); + } + FUN_14003d0d0((longlong)piVar12); + local_1a0 = 0; + } + local_200 = psVar9; + if (((psVar9 != (short *)PTR_DAT_14016f010) && (psVar9 != (short *)0x0)) && + (psVar9 != (short *)0x8)) { + *(int *)(psVar9 + -2) = *(int *)(psVar9 + -2) + 1; + } + FUN_14003d0d0((longlong)piVar11); + local_160 = 0; + psVar20 = psVar9; + } + psVar10 = psVar20; + if (psVar20 == (short *)0x0) { + psVar10 = (short *)PTR_DAT_14016f010; + } + uVar8 = 0xffffffffffffffff; + psVar25 = psVar10; + do { + if (uVar8 == 0) break; + uVar8 = uVar8 - 1; + sVar2 = *psVar25; + psVar25 = psVar25 + 1; + } while (sVar2 != 0); + uVar8 = ~uVar8 - 1; + puVar13 = (ulonglong *)&local_e8; + psVar25 = psVar10; + FUN_140001710(puVar13,psVar10,uVar8); + if (((psVar20 != (short *)0x0) && (psVar20 != (short *)PTR_DAT_14016f010)) && + (psVar20 + -4 != (short *)0x0)) { + puVar13 = (ulonglong *)FUN_14003e7c0(puVar13,psVar10,uVar8,psVar25); + local_188 = puVar13; + FUN_14003d040((int *)puVar13); + local_180 = 1; + piVar14 = (int *)(psVar20 + -2); + *piVar14 = *piVar14 + -1; + if (*piVar14 == 0) { + FUN_14003e8b0(psVar20 + -4); + } + FUN_14003d0d0((longlong)puVar13); + local_180 = 0; + } + if (((psVar9 != (short *)0x0) && (psVar9 != (short *)PTR_DAT_14016f010)) && + (psVar9 + -4 != (short *)0x0)) { + piVar11 = (int *)FUN_14003e7c0(puVar13,psVar10,uVar8,psVar25); + local_158 = piVar11; + FUN_14003d040(piVar11); + local_150 = 1; + piVar14 = (int *)(psVar9 + -2); + *piVar14 = *piVar14 + -1; + if (*piVar14 == 0) { + FUN_14003e8b0(psVar9 + -4); + } + FUN_14003d0d0((longlong)piVar11); + local_150 = 0; + } + local_1d0 = (short *)PTR_DAT_14016f010; + Ordinal_9(&local_220); + ppvVar28 = (void **)(ulonglong)(uint)local_138._4_4_; + FUN_140033c30((ulonglong *)&local_c0,local_138.Data4[4],local_138._4_4_); + pIVar19 = &local_138; + FUN_1400394f0(DAT_14017cf20,&pIVar19->Data1); + FUN_140073c80(local_250,pIVar19,ppvVar28); + if (7 < local_a8) { + operator_delete((void *)CONCAT62(uStack_be,local_c0)); + } + local_a8 = 7; + local_b0 = 0; + local_c0 = 0; + if (7 < local_d0) { + operator_delete((void *)CONCAT62(uStack_e6,local_e8)); + } + local_d0 = 7; + local_d8 = 0; + local_e8 = 0; + if (7 < local_f8) { + operator_delete((void *)CONCAT62(uStack_10e,local_110)); + } + } + uVar8 = *(ulonglong *)(DAT_14017cf20 + 0x58); + FUN_14003a320(DAT_14017cf20); + printf("DB Server [%d] Patch [%d] !!! \n",uVar8 & 0xffffffff, + (ulonglong)(uint)((int)*(undefined8 *)(DAT_14017cf20 + 0x58) - (int)uVar8)); + puVar26 = local_238; + if (*(longlong *)(param_1 + 0x18) == 0) { + puVar3 = local_240; + if (local_240 != (undefined8 *)0x0) { + for (; puVar3 != puVar26; puVar3 = puVar3 + 5) { + if (7 < (ulonglong)puVar3[3]) { + operator_delete((void *)*puVar3); + } + puVar3[3] = 7; + puVar3[2] = 0; + *(undefined2 *)puVar3 = 0; + } + operator_delete(local_240); + } + local_240 = (undefined8 *)0x0; + local_238 = (undefined8 *)0x0; + local_230 = 0; + uVar7 = FUN_140072b00(local_250); + } + else { + local_1f8 = (ulonglong *)0x0; + local_1f0 = (ulonglong *)0x0; + local_1e8 = 0; + FUN_140039980(DAT_14017cf20,(ulonglong *)&local_1f8,'\r'); + puVar13 = local_1f0; + if (local_1f8 != local_1f0) { + puVar21 = local_1f8 + 0x17; + do { + FUN_140004f20(&local_138.Data1,(undefined4 *)(puVar21 + -0x17)); + local_98 = puVar21[-3]; + uStack_90 = puVar21[-2]; + local_88 = puVar21[-1]; + local_80 = *puVar21; + local_78 = puVar21[1]; + local_70 = puVar21[2]; + local_68 = puVar21[3]; + FUN_140004de0(&local_60,(longlong *)(puVar21 + 4)); + if ((int)local_98 != 0) { + local_220 = (ulonglong *)0x0; + local_218 = (ulonglong *)0x0; + local_210 = 0; + FUN_14003a0d0(DAT_14017cf20,(ulonglong *)&local_220,local_138._4_4_); + psVar9 = (short *)FUN_14000a070((undefined8 *)local_278,(longlong *)&local_220); + plVar15 = (longlong *)(*(longlong *)(param_1 + 0x18) + 0x48); + local_200 = psVar9; + (**(code **)(*plVar15 + 0x90))(plVar15,local_98 & 0xffffffff,&DAT_14016f5d0,psVar9); + if (*(ulonglong **)psVar9 != (ulonglong *)0x0) { + FUN_14000a5f0(*(ulonglong **)psVar9,*(ulonglong **)(psVar9 + 4)); + operator_delete(*(void **)psVar9); + } + puVar1 = local_220; + psVar9[0] = 0; + psVar9[1] = 0; + psVar9[2] = 0; + psVar9[3] = 0; + psVar9[4] = 0; + psVar9[5] = 0; + psVar9[6] = 0; + psVar9[7] = 0; + psVar9[8] = 0; + psVar9[9] = 0; + psVar9[10] = 0; + psVar9[0xb] = 0; + if (local_220 != (ulonglong *)0x0) { + FUN_14000a5f0(local_220,local_218); + operator_delete(puVar1); + } + } + if (local_60 != (void *)0x0) { + operator_delete(local_60); + } + local_50 = 0; + local_58 = 0; + local_60 = (void *)0x0; + if (7 < local_a8) { + operator_delete((void *)CONCAT62(uStack_be,local_c0)); + } + local_c0 = 0; + local_b0 = 0; + local_a8 = 7; + if (7 < local_d0) { + operator_delete((void *)CONCAT62(uStack_e6,local_e8)); + } + local_e8 = 0; + local_d8 = 0; + local_d0 = 7; + if (7 < local_f8) { + operator_delete((void *)CONCAT62(uStack_10e,local_110)); + } + puVar1 = puVar21 + 8; + puVar21 = puVar21 + 0x1f; + } while (puVar1 != puVar13); + } + if (local_1f8 != (ulonglong *)0x0) { + std::_Container_base0::_Orphan_all((_Container_base0 *)&local_1f8); + FUN_140004ba0(local_1f8,local_1f0); + operator_delete(local_1f8); + } + local_1f8 = (ulonglong *)0x0; + local_1f0 = (ulonglong *)0x0; + local_1e8 = 0; + if (local_240 != (undefined8 *)0x0) { + std::_Container_base0::_Orphan_all((_Container_base0 *)&local_240); + puVar3 = local_238; + for (puVar26 = local_240; puVar26 != puVar3; puVar26 = puVar26 + 5) { + if (7 < (ulonglong)puVar26[3]) { + operator_delete((void *)*puVar26); + } + puVar26[3] = 7; + puVar26[2] = 0; + *(undefined2 *)puVar26 = 0; + } + operator_delete(local_240); + } + local_240 = (undefined8 *)0x0; + local_238 = (undefined8 *)0x0; + local_230 = 0; + uVar7 = FUN_140072b00(local_250); + } + if (local_250[0] != (IUnknown *)0x0) { + UVar5 = (*local_250[0]->lpVtbl->Release)(local_250[0]); + uVar7 = CONCAT44(extraout_var_00,UVar5); + } + uVar8 = CONCAT71((int7)((ulonglong)uVar7 >> 8),1); + } + return uVar8; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140009240.c b/decomp/AgentManager_Release_x64/full/functions/0x140009240.c new file mode 100644 index 00000000..633e1656 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140009240.c @@ -0,0 +1,258 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140009240 FUN_140009240 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +ulonglong FUN_140009240(longlong param_1,undefined8 param_2,undefined8 param_3,longlong param_4) + +{ + short sVar1; + undefined8 *puVar2; + IUnknown *pIVar3; + undefined8 *puVar4; + undefined8 *puVar5; + ULONG UVar6; + uint uVar7; + undefined8 uVar8; + ulonglong uVar9; + undefined4 extraout_var; + short *psVar10; + short *psVar11; + int *piVar12; + int *piVar13; + ulonglong *puVar14; + longlong *plVar15; + undefined4 extraout_var_00; + int *piVar16; + undefined8 **ppuVar17; + short **ppsVar18; + undefined *puVar19; + IID *pIVar20; + short *psVar21; + byte bVar22; + short *psVar23; + wchar_t *pwVar24; + IUnknown **ppIVar25; + undefined1 auStack_158 [32]; + short local_138; + IUnknown *local_130 [2]; + short *local_120; + byte *local_118; + byte local_110 [8]; + undefined2 local_108; + undefined6 uStack_106; + undefined8 local_f8; + ulonglong local_f0; + short local_e0 [4]; + byte local_d8; + undefined8 *local_c8; + undefined8 *local_c0; + undefined8 local_b8; + int *local_a8; + undefined1 local_a0; + int *local_98; + undefined1 local_90; + ulonglong *local_88; + undefined1 local_80; + int *local_78; + undefined1 local_70; + undefined8 local_68; + byte local_60; + undefined2 local_58; + undefined6 uStack_56; + undefined8 local_48; + ulonglong local_40; + ulonglong local_30; + + local_68 = 0xfffffffffffffffe; + local_30 = DAT_14016f5a0 ^ (ulonglong)auStack_158; + FUN_14003b100((undefined8 *)(DAT_14017cf50 + 8)); + FUN_140073b20(local_130); + pwVar24 = L"dbo.up_read_serverfile"; + uVar8 = FUN_1400074d0(param_1,(longlong *)local_130,(void **)L"dbo.up_read_serverfile",param_4); + if ((char)uVar8 == '\0') { + uVar9 = FUN_140072b00(local_130); + if (local_130[0] != (IUnknown *)0x0) { + UVar6 = (*local_130[0]->lpVtbl->Release)(local_130[0]); + uVar9 = CONCAT44(extraout_var,UVar6); + } + uVar9 = uVar9 & 0xffffffffffffff00; + } + else { + local_c8 = (undefined8 *)0x0; + local_c0 = (undefined8 *)0x0; + local_b8 = 0; + FUN_1400075d0((ulonglong *)&local_c8,local_130); + while( true ) { + pIVar3 = local_130[0]; + local_138 = 0; + UVar6 = (*local_130[0]->lpVtbl[6].Release)(local_130[0]); + if ((int)UVar6 < 0) { + pwVar24 = (wchar_t *)&DAT_1401301b0; + _com_issue_errorex(UVar6,pIVar3,(_GUID *)&DAT_1401301b0); + } + if (local_138 != 0) break; + local_40 = 7; + local_48 = 0; + local_58 = 0; + pwVar24 = L"type"; + ppIVar25 = local_130; + ppuVar17 = &local_c8; + psVar10 = FUN_140007700((short *)local_110,ppuVar17,ppIVar25,L"type"); + FUN_140074970(psVar10,ppuVar17,ppIVar25,pwVar24); + if (*psVar10 == 0x11) { + bVar22 = *(byte *)(psVar10 + 4); + } + else { + Ordinal_8(local_e0); + if (((local_e0 != psVar10) || (local_e0[0] != 0x11)) && + (uVar7 = Ordinal_12(local_e0,psVar10,0,0x11), (int)uVar7 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_140048d70((ulonglong)uVar7); + } + bVar22 = local_d8; + Ordinal_9(local_e0); + } + local_60 = bVar22; + Ordinal_9(local_110); + pwVar24 = L"filename"; + ppIVar25 = local_130; + psVar11 = FUN_140007700((short *)local_110,&local_c8,ppIVar25,L"filename"); + ppsVar18 = &local_120; + FUN_14000ab30(psVar11,(longlong *)ppsVar18,ppIVar25,pwVar24); + FUN_14003e7c0(psVar11,ppsVar18,ppIVar25,pwVar24); + psVar10 = local_120; + psVar21 = (short *)PTR_DAT_14016f010; + if (PTR_DAT_14016f010 == (undefined *)0x0) { + psVar21 = (short *)0x0; + } + local_118 = (byte *)psVar21; + if (local_120 != (short *)PTR_DAT_14016f010) { + puVar19 = PTR_DAT_14016f010; + piVar12 = (int *)FUN_14003e7c0(psVar11,PTR_DAT_14016f010,ppIVar25,pwVar24); + piVar16 = piVar12; + local_a8 = piVar12; + FUN_14003d040(piVar12); + local_a0 = 1; + if (((psVar21 != (short *)0x0) && (psVar21 != (short *)PTR_DAT_14016f010)) && + (psVar21 + -4 != (short *)0x0)) { + piVar13 = (int *)FUN_14003e7c0(piVar16,puVar19,ppIVar25,pwVar24); + local_98 = piVar13; + FUN_14003d040(piVar13); + local_90 = 1; + piVar16 = (int *)(psVar21 + -2); + *piVar16 = *piVar16 + -1; + if (*piVar16 == 0) { + FUN_14003e8b0(psVar21 + -4); + } + FUN_14003d0d0((longlong)piVar13); + local_90 = 0; + } + local_118 = (byte *)psVar10; + if (((psVar10 != (short *)PTR_DAT_14016f010) && (psVar10 != (short *)0x0)) && + (psVar10 != (short *)0x8)) { + *(int *)(psVar10 + -2) = *(int *)(psVar10 + -2) + 1; + } + FUN_14003d0d0((longlong)piVar12); + local_a0 = 0; + psVar21 = psVar10; + } + psVar11 = psVar21; + if (psVar21 == (short *)0x0) { + psVar11 = (short *)PTR_DAT_14016f010; + } + uVar9 = 0xffffffffffffffff; + psVar23 = psVar11; + do { + if (uVar9 == 0) break; + uVar9 = uVar9 - 1; + sVar1 = *psVar23; + psVar23 = psVar23 + 1; + } while (sVar1 != 0); + uVar9 = ~uVar9 - 1; + puVar14 = (ulonglong *)&local_58; + psVar23 = psVar11; + FUN_140001710((ulonglong *)&local_58,psVar11,uVar9); + if (((psVar21 != (short *)0x0) && (psVar21 != (short *)PTR_DAT_14016f010)) && + (psVar21 + -4 != (short *)0x0)) { + puVar14 = (ulonglong *)FUN_14003e7c0(puVar14,psVar11,uVar9,psVar23); + local_88 = puVar14; + FUN_14003d040((int *)puVar14); + local_80 = 1; + piVar16 = (int *)(psVar21 + -2); + *piVar16 = *piVar16 + -1; + if (*piVar16 == 0) { + FUN_14003e8b0(psVar21 + -4); + } + FUN_14003d0d0((longlong)puVar14); + local_80 = 0; + } + if (((psVar10 != (short *)0x0) && (psVar10 != (short *)PTR_DAT_14016f010)) && + (psVar10 + -4 != (short *)0x0)) { + piVar12 = (int *)FUN_14003e7c0(puVar14,psVar11,uVar9,psVar23); + local_78 = piVar12; + FUN_14003d040(piVar12); + local_70 = 1; + piVar16 = (int *)(psVar10 + -2); + *piVar16 = *piVar16 + -1; + if (*piVar16 == 0) { + FUN_14003e8b0(psVar10 + -4); + } + FUN_14003d0d0((longlong)piVar12); + local_70 = 0; + } + local_120 = (short *)PTR_DAT_14016f010; + Ordinal_9(local_110); + local_110[0] = local_60; + local_f0 = 7; + local_f8 = 0; + local_108 = 0; + param_4 = -1; + FUN_140001630((longlong *)&local_108,(longlong *)&local_58,0,0xffffffffffffffff); + local_118 = local_110; + FUN_1400292d0((longlong *)(DAT_14017cf50 + 8),local_110); + pwVar24 = &local_108; + if (7 < local_f0) { + pwVar24 = (wchar_t *)CONCAT62(uStack_106,local_108); + } + pIVar20 = (IID *)(ulonglong)local_110[0]; + wprintf(L"SERVER_FILE_INSERT : %d : %s \n"); + if (7 < local_f0) { + operator_delete((void *)CONCAT62(uStack_106,local_108)); + } + FUN_140073c80(local_130,pIVar20,(void **)pwVar24); + if (7 < local_40) { + operator_delete((void *)CONCAT62(uStack_56,local_58)); + } + } + printf("DB File Table : %d !! \n", + (*(longlong *)(DAT_14017cf50 + 0x10) - *(longlong *)(DAT_14017cf50 + 8)) / 0x30); + if (*(longlong *)(param_1 + 0x18) != 0) { + plVar15 = FUN_14003b000(DAT_14017cf50,(undefined8 *)local_110); + FUN_14000cf80(*(longlong *)(param_1 + 0x18),plVar15,pwVar24,param_4); + } + puVar5 = local_c0; + puVar4 = local_c8; + puVar2 = local_c8; + if (local_c8 != (undefined8 *)0x0) { + for (; puVar2 != puVar5; puVar2 = puVar2 + 5) { + if (7 < (ulonglong)puVar2[3]) { + operator_delete((void *)*puVar2); + } + puVar2[3] = 7; + puVar2[2] = 0; + *(undefined2 *)puVar2 = 0; + } + operator_delete(puVar4); + } + uVar8 = FUN_140072b00(local_130); + if (local_130[0] != (IUnknown *)0x0) { + UVar6 = (*local_130[0]->lpVtbl->Release)(local_130[0]); + uVar8 = CONCAT44(extraout_var_00,UVar6); + } + uVar9 = CONCAT71((int7)((ulonglong)uVar8 >> 8),1); + } + return uVar9; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140009720.c b/decomp/AgentManager_Release_x64/full/functions/0x140009720.c new file mode 100644 index 00000000..b8553f0d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140009720.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140009720 FUN_140009720 + * Pseudocode, not original source. */ + +void FUN_140009720(longlong param_1) + +{ + if (7 < *(ulonglong *)(param_1 + 0x20)) { + operator_delete(*(void **)(param_1 + 8)); + } + *(undefined8 *)(param_1 + 0x20) = 7; + *(undefined8 *)(param_1 + 0x18) = 0; + *(undefined2 *)(param_1 + 8) = 0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140009760.c b/decomp/AgentManager_Release_x64/full/functions/0x140009760.c new file mode 100644 index 00000000..b06afa8b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140009760.c @@ -0,0 +1,290 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140009760 FUN_140009760 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +ulonglong FUN_140009760(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong *plVar1; + undefined8 *puVar2; + longlong lVar3; + IUnknown *pIVar4; + undefined8 *puVar5; + undefined8 *puVar6; + ULONG UVar7; + uint uVar8; + undefined8 uVar9; + ulonglong uVar10; + undefined4 extraout_var; + int *piVar11; + int *piVar12; + IID *pIVar13; + undefined4 extraout_var_00; + int *piVar14; + IUnknown **ppIVar15; + wchar_t **ppwVar16; + undefined8 **ppuVar17; + ulong uVar18; + void *_Dst; + wchar_t *pwVar19; + void **ppvVar20; + wchar_t *pwVar21; + undefined *puVar22; + wchar_t *pwVar23; + undefined1 auStack_388 [32]; + short local_368; + IUnknown *local_360 [2]; + IID local_350; + wchar_t *local_338; + undefined8 *local_330; + undefined8 *local_328; + undefined8 local_320; + wchar_t *local_310; + int *local_308; + undefined1 local_300; + int *local_2f8; + undefined1 local_2f0; + int *local_2e8; + undefined1 local_2e0; + int *local_2d8; + undefined1 local_2d0; + int *local_2c8; + undefined1 local_2c0; + short local_2b8 [12]; + undefined8 local_2a0; + short local_298 [12]; + IID local_280; + undefined8 local_268; + IID local_158 [18]; + ulonglong local_38; + + lVar3 = DAT_14017cf58; + local_2a0 = 0xfffffffffffffffe; + local_38 = DAT_14016f5a0 ^ (ulonglong)auStack_388; + FUN_14003d040((int *)(DAT_14017cf58 + 0x48)); + FUN_14003b460((undefined8 *)(lVar3 + 8)); + FUN_14003d0d0(lVar3 + 0x48); + FUN_140073b20(local_360); + uVar9 = FUN_1400074d0(param_1,(longlong *)local_360,(void **)L"dbo.up_read_realtimeevent",param_4) + ; + if ((char)uVar9 == '\0') { + uVar10 = FUN_140072b00(local_360); + if (local_360[0] != (IUnknown *)0x0) { + UVar7 = (*local_360[0]->lpVtbl->Release)(local_360[0]); + uVar10 = CONCAT44(extraout_var,UVar7); + } + uVar10 = uVar10 & 0xffffffffffffff00; + } + else { + local_330 = (undefined8 *)0x0; + local_328 = (undefined8 *)0x0; + local_320 = 0; + FUN_1400075d0((ulonglong *)&local_330,local_360); + while( true ) { + pIVar4 = local_360[0]; + local_368 = 0; + UVar7 = (*local_360[0]->lpVtbl[6].Release)(local_360[0]); + if ((int)UVar7 < 0) { + _com_issue_errorex(UVar7,pIVar4,(_GUID *)&DAT_1401301b0); + } + if (local_368 != 0) break; + local_158[0].Data1 = 0; + local_158[0].Data2 = 0; + local_158[0].Data3 = 0; + memset(local_158[0].Data4,0,0x100); + pwVar21 = L"information"; + ppIVar15 = local_360; + piVar11 = (int *)FUN_140007700(local_298,&local_330,ppIVar15,L"information"); + ppwVar16 = &local_338; + FUN_14000ab30((short *)piVar11,(longlong *)ppwVar16,ppIVar15,pwVar21); + FUN_14003e7c0(piVar11,ppwVar16,ppIVar15,pwVar21); + pwVar23 = local_338; + puVar22 = PTR_DAT_14016f010; + local_310 = (wchar_t *)PTR_DAT_14016f010; + pwVar19 = (wchar_t *)PTR_DAT_14016f010; + if (local_338 != (wchar_t *)PTR_DAT_14016f010) { + piVar11 = (int *)FUN_14003e7c0(piVar11,ppwVar16,ppIVar15,pwVar21); + piVar14 = piVar11; + local_2d8 = piVar11; + FUN_14003d040(piVar11); + local_2d0 = 1; + if (((puVar22 != (undefined *)0x0) && (puVar22 != PTR_DAT_14016f010)) && + (puVar22 + -8 != (undefined *)0x0)) { + piVar12 = (int *)FUN_14003e7c0(piVar14,ppwVar16,ppIVar15,pwVar21); + local_2e8 = piVar12; + FUN_14003d040(piVar12); + local_2e0 = 1; + piVar14 = (int *)(puVar22 + -4); + *piVar14 = *piVar14 + -1; + if (*piVar14 == 0) { + FUN_14003e8b0(puVar22 + -8); + } + FUN_14003d0d0((longlong)piVar12); + local_2e0 = 0; + } + local_310 = pwVar23; + if (((pwVar23 != (wchar_t *)PTR_DAT_14016f010) && (pwVar23 != (wchar_t *)0x0)) && + (pwVar23 != (wchar_t *)0x8)) { + *(int *)(pwVar23 + -2) = *(int *)(pwVar23 + -2) + 1; + } + FUN_14003d0d0((longlong)piVar11); + local_2d0 = 0; + pwVar19 = pwVar23; + } + if (((pwVar23 != (wchar_t *)0x0) && (pwVar23 != (wchar_t *)PTR_DAT_14016f010)) && + (pwVar23 + -4 != (wchar_t *)0x0)) { + piVar11 = (int *)FUN_14003e7c0(piVar11,ppwVar16,ppIVar15,pwVar21); + local_2c8 = piVar11; + FUN_14003d040(piVar11); + local_2c0 = 1; + pwVar21 = pwVar23 + -2; + *(int *)pwVar21 = *(int *)pwVar21 + -1; + if (*(int *)pwVar21 == 0) { + FUN_14003e8b0(pwVar23 + -4); + } + FUN_14003d0d0((longlong)piVar11); + local_2c0 = 0; + } + local_338 = (wchar_t *)PTR_DAT_14016f010; + Ordinal_9(local_298); + pwVar23 = pwVar19; + if (pwVar19 == (wchar_t *)0x0) { + pwVar23 = (wchar_t *)PTR_DAT_14016f010; + } + wcsncpy((wchar_t *)local_158[0].Data4,pwVar23,0x7f); + puVar22 = &DAT_140130148; + ppIVar15 = local_360; + ppuVar17 = &local_330; + pIVar13 = (IID *)FUN_140007700(local_2b8,ppuVar17,ppIVar15,(short *)&DAT_140130148); + FUN_140074970((short *)pIVar13,ppuVar17,ppIVar15,puVar22); + if ((short)pIVar13->Data1 == 3) { + uVar18 = *(ulong *)pIVar13->Data4; + } + else { + Ordinal_8(&local_350); + if (((&local_350 != pIVar13) || ((short)local_350.Data1 != 3)) && + (uVar8 = Ordinal_12(&local_350,pIVar13,0,3), (int)uVar8 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_140048d70((ulonglong)uVar8); + } + uVar18 = local_350.Data4._0_4_; + Ordinal_9(&local_350); + } + local_158[0].Data1 = uVar18; + Ordinal_9(local_2b8); + pwVar23 = L"value"; + ppIVar15 = local_360; + ppuVar17 = &local_330; + pIVar13 = (IID *)FUN_140007700(local_2b8,ppuVar17,ppIVar15,L"value"); + FUN_140074970((short *)pIVar13,ppuVar17,ppIVar15,pwVar23); + if ((short)pIVar13->Data1 == 3) { + uVar18 = *(ulong *)pIVar13->Data4; + } + else { + Ordinal_8(&local_350); + if ((&local_350 != pIVar13) || ((short)local_350.Data1 != 3)) { + pwVar23 = (wchar_t *)0x3; + uVar8 = Ordinal_12(&local_350,pIVar13,0); + if ((int)uVar8 < 0) { + /* WARNING: Subroutine does not return */ + FUN_140048d70((ulonglong)uVar8); + } + } + uVar18 = local_350.Data4._0_4_; + Ordinal_9(&local_350); + } + local_158[0].Data2 = (short)uVar18; + local_158[0].Data3 = (short)(uVar18 >> 0x10); + Ordinal_9(local_2b8); + lVar3 = DAT_14017cf58; + uVar18 = local_158[0].Data1; + uVar10 = (ulonglong)(int)local_158[0].Data1; + piVar11 = (int *)(DAT_14017cf58 + 0x48); + FUN_14003d040(piVar11); + plVar1 = (longlong *)(lVar3 + 8); + if (*(longlong *)(lVar3 + 0x28) != 0) { + for (puVar2 = *(undefined8 **)(*plVar1 + (uVar10 % *(ulonglong *)(lVar3 + 0x10)) * 8); + puVar2 != (undefined8 *)0x0; puVar2 = (undefined8 *)*puVar2) { + if (uVar18 == *(ulong *)(puVar2 + 1)) { + if (puVar2 != (undefined8 *)0x0) { + _Dst = (void *)((longlong)puVar2 + 0xc); + FUN_14003d0d0((longlong)piVar11); + goto LAB_140009b6d; + } + break; + } + } + } + FUN_14003d0d0((longlong)piVar11); + _Dst = (void *)0x0; +LAB_140009b6d: + local_308 = piVar11; + FUN_14003d040(piVar11); + local_300 = 1; + pIVar13 = local_158; + ppvVar20 = (void **)0x108; + if (_Dst == (void *)0x0) { + local_268._0_4_ = local_158[0].Data1; + memcpy((void *)((longlong)&local_268 + 4),pIVar13,0x108); + ppvVar20 = (void **)&local_268; + if (*(longlong *)(lVar3 + 0x28) == 0) { + pIVar13 = &local_280; + FUN_14003b780(plVar1,(longlong *)pIVar13,(undefined4 *)ppvVar20); + } + else { + pwVar23 = (wchar_t *)&local_268; + pIVar13 = &local_350; + FUN_14003b5a0(plVar1,(longlong *)pIVar13,(int *)ppvVar20,(undefined4 *)pwVar23); + } + } + else { + memcpy(_Dst,pIVar13,0x108); + } + FUN_14003d0d0((longlong)piVar11); + local_300 = 0; + ppIVar15 = local_360; + FUN_140073c80(ppIVar15,pIVar13,ppvVar20); + if (((pwVar19 != (wchar_t *)0x0) && (pwVar19 != (wchar_t *)PTR_DAT_14016f010)) && + (pwVar19 + -4 != (wchar_t *)0x0)) { + piVar11 = (int *)FUN_14003e7c0(ppIVar15,pIVar13,ppvVar20,pwVar23); + local_2f8 = piVar11; + FUN_14003d040(piVar11); + local_2f0 = 1; + pwVar23 = pwVar19 + -2; + *(int *)pwVar23 = *(int *)pwVar23 + -1; + if (*(int *)pwVar23 == 0) { + FUN_14003e8b0(pwVar19 + -4); + } + FUN_14003d0d0((longlong)piVar11); + local_2f0 = 0; + } + } + if (*(longlong *)(param_1 + 0x20) != 0) { + FUN_1400128e0(*(longlong *)(param_1 + 0x20)); + } + puVar6 = local_328; + puVar5 = local_330; + puVar2 = local_330; + if (local_330 != (undefined8 *)0x0) { + for (; puVar2 != puVar6; puVar2 = puVar2 + 5) { + if (7 < (ulonglong)puVar2[3]) { + operator_delete((void *)*puVar2); + } + puVar2[3] = 7; + puVar2[2] = 0; + *(undefined2 *)puVar2 = 0; + } + operator_delete(puVar5); + } + uVar9 = FUN_140072b00(local_360); + if (local_360[0] != (IUnknown *)0x0) { + UVar7 = (*local_360[0]->lpVtbl->Release)(local_360[0]); + uVar9 = CONCAT44(extraout_var_00,UVar7); + } + uVar10 = CONCAT71((int7)((ulonglong)uVar9 >> 8),1); + } + return uVar10; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140009d00.c b/decomp/AgentManager_Release_x64/full/functions/0x140009d00.c new file mode 100644 index 00000000..f75dbe0c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140009d00.c @@ -0,0 +1,82 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140009d00 FUN_140009d00 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x000140009e72) */ +/* WARNING: Removing unreachable block (ram,0x000140009e9c) */ +/* WARNING: Removing unreachable block (ram,0x000140009ea3) */ + +ulonglong FUN_140009d00(longlong param_1,longlong param_2,longlong param_3,undefined4 *param_4) + +{ + IUnknown *pIVar1; + int iVar2; + ULONG UVar3; + undefined4 uVar4; + short *psVar5; + ulonglong uVar6; + undefined4 extraout_var; + undefined8 uVar7; + undefined4 extraout_var_00; + undefined4 *puVar8; + wchar_t *pwVar9; + undefined4 *puVar10; + IUnknown *local_48 [2]; + longlong *local_38 [2]; + undefined4 local_28 [8]; + + puVar10 = param_4; + FUN_140073cc0(local_38); + FUN_140073b20(local_48); + FUN_140073f70(local_38,*(IID **)(param_1 + 8),(void **)L"dbo.up_auth_agentaccount"); + FUN_14000a950((undefined2 *)local_28,param_2); + FUN_140073d70(local_38,1,local_28); + Ordinal_9(local_28); + FUN_14000a950((undefined2 *)local_28,param_3); + FUN_140073d70(local_38,2,local_28); + Ordinal_9(local_28); + FUN_140074740(local_38,(longlong *)local_48,(int *)0x0); + uVar7 = 0; + puVar8 = local_28; + psVar5 = (short *)FUN_140073e60(local_38,puVar8,0); + FUN_140074970(psVar5,puVar8,uVar7,puVar10); + iVar2 = FUN_14000add0(psVar5); + Ordinal_9(local_28); + pIVar1 = local_48[0]; + if (iVar2 < 0) { + wprintf(L"Failed Stored Procedure!! : %s \n",L"dbo.up_auth_agentaccount"); + uVar6 = FUN_140072b00(local_48); + if (local_48[0] != (IUnknown *)0x0) { + UVar3 = (*local_48[0]->lpVtbl->Release)(local_48[0]); + uVar6 = CONCAT44(extraout_var,UVar3); + } + if (local_38[0] != (longlong *)0x0) { + uVar6 = (**(code **)(*local_38[0] + 0x10))(); + } + uVar6 = uVar6 & 0xffffffffffffff00; + } + else { + UVar3 = (*local_48[0]->lpVtbl[6].Release)(local_48[0]); + if ((int)UVar3 < 0) { + _com_issue_errorex(UVar3,pIVar1,(_GUID *)&DAT_1401301b0); + } + pwVar9 = L"permission"; + puVar8 = local_28; + psVar5 = (short *)FUN_140073430(local_48,puVar8,0x140130198); + FUN_140074970(psVar5,puVar8,pwVar9,puVar10); + uVar4 = FUN_14000add0(psVar5); + *param_4 = uVar4; + Ordinal_9(local_28); + uVar7 = FUN_140072b00(local_48); + if (local_48[0] != (IUnknown *)0x0) { + UVar3 = (*local_48[0]->lpVtbl->Release)(local_48[0]); + uVar7 = CONCAT44(extraout_var_00,UVar3); + } + if (local_38[0] != (longlong *)0x0) { + uVar7 = (**(code **)(*local_38[0] + 0x10))(); + } + uVar6 = CONCAT71((int7)((ulonglong)uVar7 >> 8),1); + } + return uVar6; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140009f70.c b/decomp/AgentManager_Release_x64/full/functions/0x140009f70.c new file mode 100644 index 00000000..2cb25d6b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140009f70.c @@ -0,0 +1,43 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140009f70 FUN_140009f70 + * Pseudocode, not original source. */ + +void FUN_140009f70(ulonglong *param_1,longlong *param_2) + +{ + longlong *plVar1; + longlong *plVar2; + ulonglong uVar3; + + plVar1 = (longlong *)param_1[1]; + if ((param_2 < plVar1) && (plVar2 = (longlong *)*param_1, plVar2 <= param_2)) { + if (plVar1 == (longlong *)param_1[2]) { + FUN_14000a180((longlong *)param_1); + } + uVar3 = *param_1; + plVar1 = (longlong *)param_1[1]; + if (plVar1 != (longlong *)0x0) { + plVar1[3] = 7; + plVar1[2] = 0; + *(undefined2 *)plVar1 = 0; + FUN_140001630(plVar1,(longlong *) + (uVar3 + (((longlong)param_2 - (longlong)plVar2) / 0x28) * 0x28),0, + 0xffffffffffffffff); + } + } + else { + if (plVar1 == (longlong *)param_1[2]) { + FUN_14000a180((longlong *)param_1); + } + plVar1 = (longlong *)param_1[1]; + if (plVar1 != (longlong *)0x0) { + plVar1[3] = 7; + plVar1[2] = 0; + *(undefined2 *)plVar1 = 0; + FUN_140001630(plVar1,param_2,0,0xffffffffffffffff); + } + } + param_1[1] = param_1[1] + 0x28; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000a070.c b/decomp/AgentManager_Release_x64/full/functions/0x14000a070.c new file mode 100644 index 00000000..8d4e1552 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000a070.c @@ -0,0 +1,36 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000a070 FUN_14000a070 + * Pseudocode, not original source. */ + +undefined8 * FUN_14000a070(undefined8 *param_1,longlong *param_2) + +{ + code *pcVar1; + ulonglong uVar2; + undefined8 *puVar3; + undefined4 *puVar4; + + *param_1 = 0; + param_1[1] = 0; + param_1[2] = 0; + uVar2 = (param_2[1] - *param_2) / 0xa0; + *param_1 = 0; + param_1[1] = 0; + param_1[2] = 0; + if (uVar2 != 0) { + if (0x199999999999999 < uVar2) { + std::_Xlength_error("vector too long"); + pcVar1 = (code *)swi(3); + puVar3 = (undefined8 *)(*pcVar1)(); + return puVar3; + } + puVar4 = FUN_14000a580(uVar2); + *param_1 = puVar4; + param_1[1] = puVar4; + param_1[2] = puVar4 + uVar2 * 0x28; + puVar4 = FUN_14000a6a0((undefined4 *)*param_2,(undefined4 *)param_2[1],puVar4); + param_1[1] = puVar4; + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000a140.c b/decomp/AgentManager_Release_x64/full/functions/0x14000a140.c new file mode 100644 index 00000000..e1b7a194 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000a140.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000a140 FUN_14000a140 + * Pseudocode, not original source. */ + +void FUN_14000a140(undefined8 *param_1) + +{ + if ((ulonglong *)*param_1 != (ulonglong *)0x0) { + FUN_14000a5f0((ulonglong *)*param_1,(ulonglong *)param_1[1]); + operator_delete((void *)*param_1); + } + *param_1 = 0; + param_1[1] = 0; + param_1[2] = 0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000a180.c b/decomp/AgentManager_Release_x64/full/functions/0x14000a180.c new file mode 100644 index 00000000..cec894d3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000a180.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000a180 FUN_14000a180 + * Pseudocode, not original source. */ + +void FUN_14000a180(longlong *param_1) + +{ + code *pcVar1; + ulonglong uVar2; + ulonglong uVar3; + + uVar3 = (param_1[1] - *param_1) / 0x28; + if (0x666666666666665 < uVar3) { + std::_Xlength_error("vector too long"); + pcVar1 = (code *)swi(3); + (*pcVar1)(); + return; + } + uVar3 = uVar3 + 1; + uVar2 = (param_1[2] - *param_1) / 0x28; + if (uVar2 < uVar3) { + if (0x666666666666666 - (uVar2 >> 1) < uVar2) { + uVar2 = 0; + if (uVar3 != 0) { + uVar2 = uVar3; + } + FUN_14000a370(param_1,uVar2); + return; + } + uVar2 = uVar2 + (uVar2 >> 1); + if (uVar2 < uVar3) { + uVar2 = uVar3; + } + FUN_14000a370(param_1,uVar2); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000a240.c b/decomp/AgentManager_Release_x64/full/functions/0x14000a240.c new file mode 100644 index 00000000..c0abb4d9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000a240.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000a240 FUN_14000a240 + * Pseudocode, not original source. */ + +void FUN_14000a240(undefined8 *param_1) + +{ + undefined8 *puVar1; + undefined8 *puVar2; + + puVar2 = (undefined8 *)*param_1; + if (puVar2 != (undefined8 *)0x0) { + puVar1 = (undefined8 *)param_1[1]; + for (; puVar2 != puVar1; puVar2 = puVar2 + 5) { + if (7 < (ulonglong)puVar2[3]) { + operator_delete((void *)*puVar2); + } + puVar2[3] = 7; + puVar2[2] = 0; + *(undefined2 *)puVar2 = 0; + } + operator_delete((void *)*param_1); + } + *param_1 = 0; + param_1[1] = 0; + param_1[2] = 0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000a2d0.c b/decomp/AgentManager_Release_x64/full/functions/0x14000a2d0.c new file mode 100644 index 00000000..92650102 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000a2d0.c @@ -0,0 +1,35 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000a2d0 FUN_14000a2d0 + * Pseudocode, not original source. */ + +void FUN_14000a2d0(longlong *param_1) + +{ + longlong lVar1; + ulonglong *puVar2; + longlong lVar3; + + lVar3 = *param_1; + if (lVar3 != 0) { + lVar1 = param_1[1]; + if (lVar3 != lVar1) { + puVar2 = (ulonglong *)(lVar3 + 0x20); + do { + if (7 < *puVar2) { + operator_delete((void *)puVar2[-3]); + } + *puVar2 = 7; + puVar2[-1] = 0; + lVar3 = lVar3 + 0x30; + *(undefined2 *)(puVar2 + -3) = 0; + puVar2 = puVar2 + 6; + } while (lVar3 != lVar1); + } + operator_delete((void *)*param_1); + } + *param_1 = 0; + param_1[1] = 0; + param_1[2] = 0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000a370.c b/decomp/AgentManager_Release_x64/full/functions/0x14000a370.c new file mode 100644 index 00000000..5c59ee6d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000a370.c @@ -0,0 +1,46 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000a370 FUN_14000a370 + * Pseudocode, not original source. */ + +void FUN_14000a370(longlong *param_1,ulonglong param_2) + +{ + undefined8 *puVar1; + undefined8 *puVar2; + code *pcVar3; + char *pcVar4; + char *local_res10; + undefined **local_20 [3]; + + if (0x666666666666666 < param_2) { + std::_Xlength_error("vector too long"); + pcVar3 = (code *)swi(3); + (*pcVar3)(); + return; + } + if ((ulonglong)((param_1[2] - *param_1) / 0x28) < param_2) { + local_res10 = (char *)0x0; + if (param_2 != 0) { + local_res10 = operator_new(param_2 * 0x28); + if (local_res10 == (char *)0x0) { + std::exception::exception((exception *)local_20,&local_res10); + local_20[0] = std::bad_alloc::vftable; + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_20,(ThrowInfo *)&DAT_14016c158); + } + } + pcVar4 = local_res10; + FUN_14000a720((undefined8 *)*param_1,(undefined8 *)param_1[1],(undefined8 *)local_res10); + puVar1 = (undefined8 *)param_1[1]; + puVar2 = (undefined8 *)*param_1; + if (puVar2 != (undefined8 *)0x0) { + FUN_14000a4c0(puVar2,puVar1); + operator_delete((void *)*param_1); + } + param_1[2] = (longlong)(pcVar4 + param_2 * 0x28); + param_1[1] = (longlong)(pcVar4 + (((longlong)puVar1 - (longlong)puVar2) / 0x28) * 0x28); + *param_1 = (longlong)pcVar4; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000a4c0.c b/decomp/AgentManager_Release_x64/full/functions/0x14000a4c0.c new file mode 100644 index 00000000..e8a03e32 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000a4c0.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000a4c0 FUN_14000a4c0 + * Pseudocode, not original source. */ + +void FUN_14000a4c0(undefined8 *param_1,undefined8 *param_2) + +{ + for (; param_1 != param_2; param_1 = param_1 + 5) { + if (7 < (ulonglong)param_1[3]) { + operator_delete((void *)*param_1); + } + param_1[3] = 7; + param_1[2] = 0; + *(undefined2 *)param_1 = 0; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000a520.c b/decomp/AgentManager_Release_x64/full/functions/0x14000a520.c new file mode 100644 index 00000000..0064c2ac --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000a520.c @@ -0,0 +1,26 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000a520 FUN_14000a520 + * Pseudocode, not original source. */ + +void FUN_14000a520(ulonglong *param_1,ulonglong *param_2) + +{ + ulonglong *puVar1; + ulonglong *puVar2; + + if (param_1 != param_2) { + puVar2 = param_1 + 4; + do { + if (7 < *puVar2) { + operator_delete((void *)puVar2[-3]); + } + *puVar2 = 7; + puVar2[-1] = 0; + *(undefined2 *)(puVar2 + -3) = 0; + puVar1 = puVar2 + 2; + puVar2 = puVar2 + 6; + } while (puVar1 != param_2); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000a580.c b/decomp/AgentManager_Release_x64/full/functions/0x14000a580.c new file mode 100644 index 00000000..0aa47c5d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000a580.c @@ -0,0 +1,25 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000a580 FUN_14000a580 + * Pseudocode, not original source. */ + +void * FUN_14000a580(ulonglong param_1) + +{ + void *pvVar1; + char *local_res8 [4]; + undefined **local_28 [5]; + + if (param_1 == 0) { + return (void *)0x0; + } + if ((param_1 < 0x19999999999999a) && + (pvVar1 = operator_new(param_1 * 0xa0), pvVar1 != (void *)0x0)) { + return pvVar1; + } + local_res8[0] = (char *)0x0; + std::exception::exception((exception *)local_28,local_res8); + local_28[0] = std::bad_alloc::vftable; + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_28,(ThrowInfo *)&DAT_14016c158); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000a5f0.c b/decomp/AgentManager_Release_x64/full/functions/0x14000a5f0.c new file mode 100644 index 00000000..1b815ff3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000a5f0.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000a5f0 FUN_14000a5f0 + * Pseudocode, not original source. */ + +void FUN_14000a5f0(ulonglong *param_1,ulonglong *param_2) + +{ + ulonglong *puVar1; + ulonglong *puVar2; + + if (param_1 != param_2) { + puVar2 = param_1 + 0x12; + do { + if (7 < *puVar2) { + operator_delete((void *)puVar2[-3]); + } + *puVar2 = 7; + puVar2[-1] = 0; + *(undefined2 *)(puVar2 + -3) = 0; + if (7 < puVar2[-5]) { + operator_delete((void *)puVar2[-8]); + } + puVar2[-5] = 7; + puVar2[-6] = 0; + *(undefined2 *)(puVar2 + -8) = 0; + if (7 < puVar2[-10]) { + operator_delete((void *)puVar2[-0xd]); + } + puVar2[-10] = 7; + puVar2[-0xb] = 0; + *(undefined2 *)(puVar2 + -0xd) = 0; + puVar1 = puVar2 + 2; + puVar2 = puVar2 + 0x14; + } while (puVar1 != param_2); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000a6a0.c b/decomp/AgentManager_Release_x64/full/functions/0x14000a6a0.c new file mode 100644 index 00000000..4e0500da --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000a6a0.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000a6a0 FUN_14000a6a0 + * Pseudocode, not original source. */ + +undefined4 * FUN_14000a6a0(undefined4 *param_1,undefined4 *param_2,undefined4 *param_3) + +{ + for (; param_1 != param_2; param_1 = param_1 + 0x28) { + if (param_3 != (undefined4 *)0x0) { + FUN_140004f20(param_3,param_1); + } + param_3 = param_3 + 0x28; + } + return param_3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000a720.c b/decomp/AgentManager_Release_x64/full/functions/0x14000a720.c new file mode 100644 index 00000000..cf7d4cb6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000a720.c @@ -0,0 +1,19 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000a720 FUN_14000a720 + * Pseudocode, not original source. */ + +undefined8 * FUN_14000a720(undefined8 *param_1,undefined8 *param_2,undefined8 *param_3) + +{ + for (; param_1 != param_2; param_1 = param_1 + 5) { + if (param_3 != (undefined8 *)0x0) { + param_3[3] = 7; + param_3[2] = 0; + *(undefined2 *)param_3 = 0; + FUN_14000a7a0(param_3,param_1); + } + param_3 = param_3 + 5; + } + return param_3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000a7a0.c b/decomp/AgentManager_Release_x64/full/functions/0x14000a7a0.c new file mode 100644 index 00000000..5e5f1985 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000a7a0.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000a7a0 FUN_14000a7a0 + * Pseudocode, not original source. */ + +undefined8 * FUN_14000a7a0(undefined8 *param_1,undefined8 *param_2) + +{ + if (param_1 != param_2) { + if (7 < (ulonglong)param_1[3]) { + operator_delete((void *)*param_1); + } + param_1[3] = 7; + param_1[2] = 0; + *(undefined2 *)param_1 = 0; + if ((ulonglong)param_2[3] < 8) { + memmove(param_1,param_2,param_2[2] * 2 + 2); + } + else { + *param_1 = *param_2; + *param_2 = 0; + } + param_1[2] = param_2[2]; + param_1[3] = param_2[3]; + param_2[2] = 0; + param_2[3] = 7; + *(undefined2 *)param_2 = 0; + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000a840.c b/decomp/AgentManager_Release_x64/full/functions/0x14000a840.c new file mode 100644 index 00000000..c2675e55 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000a840.c @@ -0,0 +1,35 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000a840 FUN_14000a840 + * Pseudocode, not original source. */ + +undefined2 * FUN_14000a840(undefined2 *param_1,longlong *param_2) + +{ + longlong *plVar1; + uint uVar2; + undefined4 uVar3; + longlong lVar4; + + uVar2 = Ordinal_9(); + if ((int)uVar2 < 0) { + /* WARNING: Subroutine does not return */ + FUN_140048d70((ulonglong)uVar2); + } + *param_1 = 8; + plVar1 = (longlong *)*param_2; + if ((plVar1 == (longlong *)0x0) || (*plVar1 == 0)) { + *(undefined8 *)(param_1 + 4) = 0; + } + else { + lVar4 = *plVar1; + uVar3 = Ordinal_149(lVar4); + lVar4 = Ordinal_150(lVar4,uVar3); + *(longlong *)(param_1 + 4) = lVar4; + if (lVar4 == 0) { + /* WARNING: Subroutine does not return */ + FUN_140048d70(0x8007000e); + } + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000a8c0.c b/decomp/AgentManager_Release_x64/full/functions/0x14000a8c0.c new file mode 100644 index 00000000..c43fea80 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000a8c0.c @@ -0,0 +1,32 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000a8c0 FUN_14000a8c0 + * Pseudocode, not original source. */ + +undefined8 * FUN_14000a8c0(undefined8 *param_1,longlong param_2) + +{ + longlong *plVar1; + longlong lVar2; + + plVar1 = operator_new(0x18); + if (plVar1 == (longlong *)0x0) { + plVar1 = (longlong *)0x0; + } + else { + plVar1[1] = 0; + *(undefined4 *)(plVar1 + 2) = 1; + lVar2 = Ordinal_2(param_2); + *plVar1 = lVar2; + if ((lVar2 == 0) && (param_2 != 0)) { + /* WARNING: Subroutine does not return */ + FUN_140048d70(0x8007000e); + } + } + *param_1 = plVar1; + if (plVar1 == (longlong *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_140048d70(0x8007000e); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000a950.c b/decomp/AgentManager_Release_x64/full/functions/0x14000a950.c new file mode 100644 index 00000000..10b7eab7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000a950.c @@ -0,0 +1,51 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000a950 FUN_14000a950 + * Pseudocode, not original source. */ + +undefined2 * FUN_14000a950(undefined2 *param_1,longlong param_2) + +{ + longlong *plVar1; + longlong *plVar2; + longlong lVar3; + longlong *local_res18; + + Ordinal_8(); + plVar2 = operator_new(0x18); + if (plVar2 == (longlong *)0x0) { + plVar2 = (longlong *)0x0; + } + else { + plVar2[1] = 0; + *(undefined4 *)(plVar2 + 2) = 1; + local_res18 = plVar2; + lVar3 = Ordinal_2(param_2); + *plVar2 = lVar3; + if ((lVar3 == 0) && (param_2 != 0)) { + /* WARNING: Subroutine does not return */ + FUN_140048d70(0x8007000e); + } + } + local_res18 = plVar2; + if (plVar2 == (longlong *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_140048d70(0x8007000e); + } + FUN_14000a840(param_1,(longlong *)&local_res18); + LOCK(); + plVar1 = plVar2 + 2; + lVar3 = *plVar1; + *(int *)plVar1 = (int)*plVar1 + -1; + UNLOCK(); + if ((int)lVar3 == 1) { + if (*plVar2 != 0) { + Ordinal_6(); + } + if ((void *)plVar2[1] != (void *)0x0) { + operator_delete__((void *)plVar2[1]); + } + operator_delete(plVar2); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000aa30.c b/decomp/AgentManager_Release_x64/full/functions/0x14000aa30.c new file mode 100644 index 00000000..7c64a3f0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000aa30.c @@ -0,0 +1,62 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000aa30 FUN_14000aa30 + * Pseudocode, not original source. */ + +longlong * FUN_14000aa30(longlong *param_1,longlong param_2) + +{ + longlong *plVar1; + longlong *plVar2; + longlong lVar3; + + if (param_2 != 0) { + if ((longlong *)*param_1 == (longlong *)0x0) { + lVar3 = 0; + } + else { + lVar3 = *(longlong *)*param_1; + } + if (lVar3 == param_2) { + return param_1; + } + } + plVar2 = (longlong *)*param_1; + if (plVar2 != (longlong *)0x0) { + LOCK(); + plVar1 = plVar2 + 2; + lVar3 = *plVar1; + *(int *)plVar1 = (int)*plVar1 + -1; + UNLOCK(); + if (((int)lVar3 == 1) && (plVar2 != (longlong *)0x0)) { + if (*plVar2 != 0) { + Ordinal_6(); + } + if ((void *)plVar2[1] != (void *)0x0) { + operator_delete__((void *)plVar2[1]); + } + operator_delete(plVar2); + } + *param_1 = 0; + } + plVar2 = operator_new(0x18); + if (plVar2 == (longlong *)0x0) { + plVar2 = (longlong *)0x0; + } + else { + plVar2[1] = 0; + *(undefined4 *)(plVar2 + 2) = 1; + lVar3 = Ordinal_2(param_2); + *plVar2 = lVar3; + if ((lVar3 == 0) && (param_2 != 0)) { + /* WARNING: Subroutine does not return */ + FUN_140048d70(0x8007000e); + } + } + *param_1 = (longlong)plVar2; + if (plVar2 != (longlong *)0x0) { + return param_1; + } + /* WARNING: Subroutine does not return */ + FUN_140048d70(0x8007000e); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000ab30.c b/decomp/AgentManager_Release_x64/full/functions/0x14000ab30.c new file mode 100644 index 00000000..8086c36b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000ab30.c @@ -0,0 +1,77 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000ab30 FUN_14000ab30 + * Pseudocode, not original source. */ + +longlong * FUN_14000ab30(short *param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong *plVar1; + void *pvVar2; + longlong *plVar3; + uint uVar4; + int iVar5; + undefined *puVar6; + longlong **pplVar7; + longlong lVar8; + short *psVar9; + longlong *local_res18 [2]; + undefined8 uVar10; + short local_30 [4]; + longlong local_28; + + uVar10 = 0xfffffffffffffffe; + psVar9 = (short *)0x0; + FUN_140074970(param_1,param_2,param_3,param_4); + local_res18[0] = (longlong *)0x0; + if (*param_1 == 8) { + lVar8 = *(longlong *)(param_1 + 4); + pplVar7 = local_res18; + FUN_14000aa30((longlong *)pplVar7,lVar8); + local_28 = lVar8; + } + else { + Ordinal_8(local_30); + param_4 = 8; + if ((local_30 != param_1) || (local_30[0] != 8)) { + param_3 = 0; + uVar4 = Ordinal_12(local_30,param_1,0,8,uVar10); + if ((int)uVar4 < 0) { + /* WARNING: Subroutine does not return */ + FUN_140048d70((ulonglong)uVar4); + } + } + FUN_14000aa30((longlong *)local_res18,local_28); + pplVar7 = (longlong **)local_30; + Ordinal_9(); + } + plVar1 = local_res18[0]; + if (local_res18[0] != (longlong *)0x0) { + psVar9 = (short *)*local_res18[0]; + } + FUN_14003e7c0(pplVar7,local_28,param_3,param_4); + *param_2 = (longlong)PTR_DAT_14016f010; + iVar5 = FUN_14003e620(psVar9); + puVar6 = FUN_140001ee0(param_2,iVar5); + FUN_14003e650(puVar6,psVar9,iVar5); + FUN_140001fc0(param_2); + plVar3 = local_res18[0]; + if (plVar1 != (longlong *)0x0) { + LOCK(); + plVar1 = plVar1 + 2; + lVar8 = *plVar1; + *(int *)plVar1 = (int)*plVar1 + -1; + UNLOCK(); + if ((int)lVar8 == 1) { + if (*local_res18[0] != 0) { + Ordinal_6(); + } + pvVar2 = (void *)plVar3[1]; + if (pvVar2 != (void *)0x0) { + operator_delete__(pvVar2); + } + operator_delete(plVar3); + } + } + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000ac70.c b/decomp/AgentManager_Release_x64/full/functions/0x14000ac70.c new file mode 100644 index 00000000..ed1c0479 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000ac70.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000ac70 FUN_14000ac70 + * Pseudocode, not original source. */ + +longlong * FUN_14000ac70(longlong *param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003e7c0(param_1,param_2,param_3,param_4); + *param_1 = (longlong)PTR_DAT_14016f010; + FUN_1400020c0(param_1,param_2,param_3,param_4); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000acb0.c b/decomp/AgentManager_Release_x64/full/functions/0x14000acb0.c new file mode 100644 index 00000000..47099883 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000acb0.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000acb0 FUN_14000acb0 + * Pseudocode, not original source. */ + +undefined1 FUN_14000acb0(short *param_1) + +{ + uint uVar1; + undefined8 uVar2; + short local_20 [4]; + undefined1 local_18; + + uVar2 = 0xfffffffffffffffe; + if (*param_1 == 0x11) { + local_18 = (undefined1)param_1[4]; + } + else { + Ordinal_8(local_20); + if ((local_20 != param_1) || (local_20[0] != 0x11)) { + uVar1 = Ordinal_12(local_20,param_1,0,0x11,uVar2); + if ((int)uVar1 < 0) { + /* WARNING: Subroutine does not return */ + FUN_140048d70((ulonglong)uVar1); + } + } + Ordinal_9(local_20); + } + return local_18; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000ad30.c b/decomp/AgentManager_Release_x64/full/functions/0x14000ad30.c new file mode 100644 index 00000000..ea51fa87 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000ad30.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000ad30 FUN_14000ad30 + * Pseudocode, not original source. */ + +void FUN_14000ad30(longlong *param_1) + +{ + FUN_140072b00(param_1); + if ((longlong *)*param_1 != (longlong *)0x0) { + (**(code **)(*(longlong *)*param_1 + 0x10))(); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000ad60.c b/decomp/AgentManager_Release_x64/full/functions/0x14000ad60.c new file mode 100644 index 00000000..b0118007 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000ad60.c @@ -0,0 +1,32 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000ad60 FUN_14000ad60 + * Pseudocode, not original source. */ + +void FUN_14000ad60(undefined8 *param_1) + +{ + longlong *plVar1; + longlong *plVar2; + longlong lVar3; + + plVar2 = (longlong *)*param_1; + if (plVar2 != (longlong *)0x0) { + LOCK(); + plVar1 = plVar2 + 2; + lVar3 = *plVar1; + *(int *)plVar1 = (int)*plVar1 + -1; + UNLOCK(); + if (((int)lVar3 == 1) && (plVar2 != (longlong *)0x0)) { + if (*plVar2 != 0) { + Ordinal_6(); + } + if ((void *)plVar2[1] != (void *)0x0) { + operator_delete__((void *)plVar2[1]); + } + operator_delete(plVar2); + } + *param_1 = 0; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000add0.c b/decomp/AgentManager_Release_x64/full/functions/0x14000add0.c new file mode 100644 index 00000000..912ac5f0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000add0.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000add0 FUN_14000add0 + * Pseudocode, not original source. */ + +undefined4 FUN_14000add0(short *param_1) + +{ + uint uVar1; + undefined8 uVar2; + short local_20 [4]; + undefined4 local_18; + + uVar2 = 0xfffffffffffffffe; + if (*param_1 == 3) { + local_18 = *(undefined4 *)(param_1 + 4); + } + else { + Ordinal_8(local_20); + if ((local_20 != param_1) || (local_20[0] != 3)) { + uVar1 = Ordinal_12(local_20,param_1,0,3,uVar2); + if ((int)uVar1 < 0) { + /* WARNING: Subroutine does not return */ + FUN_140048d70((ulonglong)uVar1); + } + } + Ordinal_9(local_20); + } + return local_18; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000ae50.c b/decomp/AgentManager_Release_x64/full/functions/0x14000ae50.c new file mode 100644 index 00000000..42c950a5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000ae50.c @@ -0,0 +1,145 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000ae50 FUN_14000ae50 + * Pseudocode, not original source. */ + +ulonglong FUN_14000ae50(longlong param_1,int param_2,int param_3,undefined8 param_4,longlong param_5 + ,int param_6,int param_7) + +{ + uint uVar1; + int iVar2; + short *psVar3; + undefined8 uVar4; + undefined4 extraout_var; + ulonglong uVar5; + short *psVar6; + undefined8 uVar7; + longlong *local_38 [2]; + short local_28 [4]; + int local_20; + + uVar4 = param_4; + FUN_140073cc0(local_38); + FUN_140073f70(local_38,*(IID **)(param_1 + 8),(void **)L"dbo.up_insert_log_monitor_command"); + Ordinal_8(local_28); + iVar2 = param_2; + if ((local_28[0] != 3) && (iVar2 = param_2, local_28[0] != 10)) { + if (local_28[0] == 0xb) { + local_20 = CONCAT22(local_20._2_2_,-(ushort)(param_2 != 0)); + iVar2 = local_20; + } + else { + uVar1 = Ordinal_9(local_28); + if ((int)uVar1 < 0) { + /* WARNING: Subroutine does not return */ + FUN_140048d70((ulonglong)uVar1); + } + local_28[0] = 3; + iVar2 = param_2; + } + } + local_20 = iVar2; + FUN_140073d70(local_38,1,(undefined4 *)local_28); + Ordinal_9(local_28); + Ordinal_8(local_28); + iVar2 = param_3; + if ((local_28[0] != 3) && (iVar2 = param_3, local_28[0] != 10)) { + if (local_28[0] == 0xb) { + local_20 = CONCAT22(local_20._2_2_,-(ushort)(param_3 != 0)); + iVar2 = local_20; + } + else { + uVar1 = Ordinal_9(local_28); + if ((int)uVar1 < 0) { + /* WARNING: Subroutine does not return */ + FUN_140048d70((ulonglong)uVar1); + } + local_28[0] = 3; + iVar2 = param_3; + } + } + local_20 = iVar2; + FUN_140073d70(local_38,2,(undefined4 *)local_28); + Ordinal_9(local_28); + Ordinal_8(local_28); + iVar2 = (int)param_4; + if ((local_28[0] != 3) && (local_28[0] != 10)) { + if (local_28[0] == 0xb) { + local_20 = CONCAT22(local_20._2_2_,-(ushort)(iVar2 != 0)); + iVar2 = local_20; + } + else { + uVar1 = Ordinal_9(local_28); + if ((int)uVar1 < 0) { + /* WARNING: Subroutine does not return */ + FUN_140048d70((ulonglong)uVar1); + } + local_28[0] = 3; + } + } + local_20 = iVar2; + FUN_140073d70(local_38,3,(undefined4 *)local_28); + Ordinal_9(local_28); + FUN_14000a950(local_28,param_5); + FUN_140073d70(local_38,4,(undefined4 *)local_28); + Ordinal_9(local_28); + Ordinal_8(); + if ((local_28[0] == 3) || (local_28[0] == 10)) { +LAB_14000b07d: + local_20 = param_6; + } + else { + if (local_28[0] != 0xb) { + uVar1 = Ordinal_9(local_28); + if ((int)uVar1 < 0) { + /* WARNING: Subroutine does not return */ + FUN_140048d70((ulonglong)uVar1); + } + local_28[0] = 3; + goto LAB_14000b07d; + } + local_20 = CONCAT22(local_20._2_2_,-(ushort)(param_6 != 0)); + } + FUN_140073d70(local_38,5,(undefined4 *)local_28); + Ordinal_9(local_28); + Ordinal_8(); + if ((local_28[0] != 3) && (local_28[0] != 10)) { + if (local_28[0] == 0xb) { + local_20 = CONCAT22(local_20._2_2_,-(ushort)(param_7 != 0)); + goto LAB_14000b104; + } + uVar1 = Ordinal_9(local_28); + if ((int)uVar1 < 0) { + /* WARNING: Subroutine does not return */ + FUN_140048d70((ulonglong)uVar1); + } + local_28[0] = 3; + } + local_20 = param_7; +LAB_14000b104: + FUN_140073d70(local_38,6,(undefined4 *)local_28); + Ordinal_9(local_28); + FUN_140074540(local_38,(int *)0x0); + uVar7 = 0; + psVar6 = local_28; + psVar3 = (short *)FUN_140073e60(local_38,psVar6,0); + FUN_140074970(psVar3,psVar6,uVar7,uVar4); + iVar2 = FUN_14000add0(psVar3); + uVar4 = Ordinal_9(local_28); + if (iVar2 < 0) { + iVar2 = wprintf(L"Failed Stored Procedure!! : %s \n"); + uVar5 = CONCAT44(extraout_var,iVar2); + if (local_38[0] != (longlong *)0x0) { + uVar5 = (**(code **)(*local_38[0] + 0x10))(); + } + uVar5 = uVar5 & 0xffffffffffffff00; + } + else { + if (local_38[0] != (longlong *)0x0) { + uVar4 = (**(code **)(*local_38[0] + 0x10))(); + } + uVar5 = CONCAT71((int7)((ulonglong)uVar4 >> 8),1); + } + return uVar5; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000b1c0.c b/decomp/AgentManager_Release_x64/full/functions/0x14000b1c0.c new file mode 100644 index 00000000..ee661c88 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000b1c0.c @@ -0,0 +1,178 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000b1c0 FUN_14000b1c0 + * Pseudocode, not original source. */ + +ulonglong FUN_14000b1c0(longlong param_1,int param_2,int param_3,undefined8 param_4,int param_5, + int param_6,int param_7) + +{ + uint uVar1; + int iVar2; + short *psVar3; + undefined8 uVar4; + undefined4 extraout_var; + ulonglong uVar5; + short *psVar6; + undefined8 uVar7; + longlong *local_38 [2]; + short local_28 [4]; + undefined4 local_20; + + uVar4 = param_4; + FUN_140073cc0(local_38); + FUN_140073f70(local_38,*(IID **)(param_1 + 8),(void **)L"dbo.up_insert_log_monitor_user"); + Ordinal_8(local_28); + if ((local_28[0] == 3) || (local_28[0] == 10)) { +LAB_14000b265: + local_20._2_2_ = 0; + } + else if (local_28[0] != 0xb) { + uVar1 = Ordinal_9(local_28); + if ((int)uVar1 < 0) { + /* WARNING: Subroutine does not return */ + FUN_140048d70((ulonglong)uVar1); + } + local_28[0] = 3; + goto LAB_14000b265; + } + local_20._0_2_ = 0; + FUN_140073d70(local_38,1,(undefined4 *)local_28); + Ordinal_9(local_28); + Ordinal_8(local_28); + iVar2 = param_2; + if ((local_28[0] != 3) && (iVar2 = param_2, local_28[0] != 10)) { + if (local_28[0] == 0xb) { + local_20 = CONCAT22(local_20._2_2_,-(ushort)(param_2 != 0)); + iVar2 = local_20; + } + else { + uVar1 = Ordinal_9(local_28); + if ((int)uVar1 < 0) { + /* WARNING: Subroutine does not return */ + FUN_140048d70((ulonglong)uVar1); + } + local_28[0] = 3; + iVar2 = param_2; + } + } + local_20 = iVar2; + FUN_140073d70(local_38,2,(undefined4 *)local_28); + Ordinal_9(local_28); + Ordinal_8(local_28); + iVar2 = param_3; + if ((local_28[0] != 3) && (iVar2 = param_3, local_28[0] != 10)) { + if (local_28[0] == 0xb) { + local_20 = CONCAT22(local_20._2_2_,-(ushort)(param_3 != 0)); + iVar2 = local_20; + } + else { + uVar1 = Ordinal_9(local_28); + if ((int)uVar1 < 0) { + /* WARNING: Subroutine does not return */ + FUN_140048d70((ulonglong)uVar1); + } + local_28[0] = 3; + iVar2 = param_3; + } + } + local_20 = iVar2; + FUN_140073d70(local_38,3,(undefined4 *)local_28); + Ordinal_9(local_28); + Ordinal_8(local_28); + iVar2 = (int)param_4; + if ((local_28[0] != 3) && (local_28[0] != 10)) { + if (local_28[0] == 0xb) { + local_20 = CONCAT22(local_20._2_2_,-(ushort)(iVar2 != 0)); + iVar2 = local_20; + } + else { + uVar1 = Ordinal_9(local_28); + if ((int)uVar1 < 0) { + /* WARNING: Subroutine does not return */ + FUN_140048d70((ulonglong)uVar1); + } + local_28[0] = 3; + } + } + local_20 = iVar2; + FUN_140073d70(local_38,4,(undefined4 *)local_28); + Ordinal_9(local_28); + Ordinal_8(); + if ((local_28[0] == 3) || (local_28[0] == 10)) { +LAB_14000b425: + local_20 = param_5; + } + else { + if (local_28[0] != 0xb) { + uVar1 = Ordinal_9(local_28); + if ((int)uVar1 < 0) { + /* WARNING: Subroutine does not return */ + FUN_140048d70((ulonglong)uVar1); + } + local_28[0] = 3; + goto LAB_14000b425; + } + local_20 = CONCAT22(local_20._2_2_,-(ushort)(param_5 != 0)); + } + FUN_140073d70(local_38,5,(undefined4 *)local_28); + Ordinal_9(local_28); + Ordinal_8(); + if ((local_28[0] == 3) || (local_28[0] == 10)) { +LAB_14000b4a1: + local_20 = param_6; + } + else { + if (local_28[0] != 0xb) { + uVar1 = Ordinal_9(local_28); + if ((int)uVar1 < 0) { + /* WARNING: Subroutine does not return */ + FUN_140048d70((ulonglong)uVar1); + } + local_28[0] = 3; + goto LAB_14000b4a1; + } + local_20 = CONCAT22(local_20._2_2_,-(ushort)(param_6 != 0)); + } + FUN_140073d70(local_38,6,(undefined4 *)local_28); + Ordinal_9(local_28); + Ordinal_8(); + if ((local_28[0] != 3) && (local_28[0] != 10)) { + if (local_28[0] == 0xb) { + local_20 = CONCAT22(local_20._2_2_,-(ushort)(param_7 != 0)); + goto LAB_14000b528; + } + uVar1 = Ordinal_9(local_28); + if ((int)uVar1 < 0) { + /* WARNING: Subroutine does not return */ + FUN_140048d70((ulonglong)uVar1); + } + local_28[0] = 3; + } + local_20 = param_7; +LAB_14000b528: + FUN_140073d70(local_38,7,(undefined4 *)local_28); + Ordinal_9(local_28); + FUN_140074540(local_38,(int *)0x0); + uVar7 = 0; + psVar6 = local_28; + psVar3 = (short *)FUN_140073e60(local_38,psVar6,0); + FUN_140074970(psVar3,psVar6,uVar7,uVar4); + iVar2 = FUN_14000add0(psVar3); + uVar4 = Ordinal_9(local_28); + if (iVar2 < 0) { + iVar2 = wprintf(L"Failed Stored Procedure!! : %s \n"); + uVar5 = CONCAT44(extraout_var,iVar2); + if (local_38[0] != (longlong *)0x0) { + uVar5 = (**(code **)(*local_38[0] + 0x10))(); + } + uVar5 = uVar5 & 0xffffffffffffff00; + } + else { + if (local_38[0] != (longlong *)0x0) { + uVar4 = (**(code **)(*local_38[0] + 0x10))(); + } + uVar5 = CONCAT71((int7)((ulonglong)uVar4 >> 8),1); + } + return uVar5; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000b5f0.c b/decomp/AgentManager_Release_x64/full/functions/0x14000b5f0.c new file mode 100644 index 00000000..022f1cd8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000b5f0.c @@ -0,0 +1,150 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000b5f0 FUN_14000b5f0 + * Pseudocode, not original source. */ + +ulonglong FUN_14000b5f0(longlong param_1,int param_2,int param_3,undefined8 param_4,longlong param_5 + ,longlong param_6) + +{ + uint uVar1; + uint uVar2; + int iVar3; + short *psVar4; + undefined8 uVar5; + undefined4 extraout_var; + ulonglong uVar6; + short *psVar7; + undefined8 uVar8; + longlong *local_38 [2]; + short local_28 [4]; + undefined4 local_20; + + uVar5 = param_4; + FUN_140073cc0(local_38); + FUN_140073f70(local_38,*(IID **)(param_1 + 8),(void **)L"dbo.up_insert_log_monitor_notice"); + Ordinal_8(local_28); + if ((local_28[0] == 3) || (local_28[0] == 10)) { +LAB_14000b697: + local_20._0_2_ = 2; + local_20._2_2_ = 0; + } + else { + if (local_28[0] != 0xb) { + uVar2 = Ordinal_9(local_28); + if ((int)uVar2 < 0) { + /* WARNING: Subroutine does not return */ + FUN_140048d70((ulonglong)uVar2); + } + local_28[0] = 3; + goto LAB_14000b697; + } + local_20._0_2_ = 0xffff; + } + FUN_140073d70(local_38,1,(undefined4 *)local_28); + Ordinal_9(local_28); + Ordinal_8(local_28); + iVar3 = param_2; + if ((local_28[0] != 3) && (iVar3 = param_2, local_28[0] != 10)) { + if (local_28[0] == 0xb) { + local_20 = CONCAT22(local_20._2_2_,-(ushort)(param_2 != 0)); + iVar3 = local_20; + } + else { + uVar2 = Ordinal_9(local_28); + if ((int)uVar2 < 0) { + /* WARNING: Subroutine does not return */ + FUN_140048d70((ulonglong)uVar2); + } + local_28[0] = 3; + iVar3 = param_2; + } + } + local_20 = iVar3; + FUN_140073d70(local_38,2,(undefined4 *)local_28); + Ordinal_9(local_28); + Ordinal_8(local_28); + iVar3 = param_3; + if ((local_28[0] != 3) && (iVar3 = param_3, local_28[0] != 10)) { + if (local_28[0] == 0xb) { + local_20 = CONCAT22(local_20._2_2_,-(ushort)(param_3 != 0)); + iVar3 = local_20; + } + else { + uVar2 = Ordinal_9(local_28); + if ((int)uVar2 < 0) { + /* WARNING: Subroutine does not return */ + FUN_140048d70((ulonglong)uVar2); + } + local_28[0] = 3; + iVar3 = param_3; + } + } + local_20 = iVar3; + FUN_140073d70(local_38,3,(undefined4 *)local_28); + Ordinal_9(local_28); + Ordinal_8(local_28); + uVar2 = (uint)param_4; + if ((local_28[0] != 3) && (local_28[0] != 10)) { + if (local_28[0] == 0xb) { + local_20 = CONCAT22(local_20._2_2_,-(ushort)(uVar2 != 0)); + uVar2 = local_20; + } + else { + uVar1 = Ordinal_9(local_28); + if ((int)uVar1 < 0) { + /* WARNING: Subroutine does not return */ + FUN_140048d70((ulonglong)uVar1); + } + local_28[0] = 3; + } + } + local_20 = uVar2; + FUN_140073d70(local_38,4,(undefined4 *)local_28); + Ordinal_9(local_28); + Ordinal_8(local_28); + if ((local_28[0] != 3) && (local_28[0] != 10)) { + if (local_28[0] == 0xb) { + local_20 = local_20 & 0xffff0000; + goto LAB_14000b855; + } + uVar2 = Ordinal_9(local_28); + if ((int)uVar2 < 0) { + /* WARNING: Subroutine does not return */ + FUN_140048d70((ulonglong)uVar2); + } + local_28[0] = 3; + } + local_20 = 0; +LAB_14000b855: + FUN_140073d70(local_38,5,(undefined4 *)local_28); + Ordinal_9(local_28); + FUN_14000a950(local_28,param_5); + FUN_140073d70(local_38,6,(undefined4 *)local_28); + Ordinal_9(local_28); + FUN_14000a950(local_28,param_6); + FUN_140073d70(local_38,7,(undefined4 *)local_28); + Ordinal_9(local_28); + FUN_140074540(local_38,(int *)0x0); + uVar8 = 0; + psVar7 = local_28; + psVar4 = (short *)FUN_140073e60(local_38,psVar7,0); + FUN_140074970(psVar4,psVar7,uVar8,uVar5); + iVar3 = FUN_14000add0(psVar4); + uVar5 = Ordinal_9(local_28); + if (iVar3 < 0) { + iVar3 = wprintf(L"Failed Stored Procedure!! : %s \n"); + uVar6 = CONCAT44(extraout_var,iVar3); + if (local_38[0] != (longlong *)0x0) { + uVar6 = (**(code **)(*local_38[0] + 0x10))(); + } + uVar6 = uVar6 & 0xffffffffffffff00; + } + else { + if (local_38[0] != (longlong *)0x0) { + uVar5 = (**(code **)(*local_38[0] + 0x10))(); + } + uVar6 = CONCAT71((int7)((ulonglong)uVar5 >> 8),1); + } + return uVar6; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000b980.c b/decomp/AgentManager_Release_x64/full/functions/0x14000b980.c new file mode 100644 index 00000000..5e9a6498 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000b980.c @@ -0,0 +1,161 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000b980 FUN_14000b980 + * Pseudocode, not original source. */ + +ulonglong FUN_14000b980(longlong param_1,int param_2,int param_3,undefined8 param_4,int param_5, + int param_6,int param_7) + +{ + uint uVar1; + int iVar2; + short *psVar3; + undefined8 uVar4; + undefined4 extraout_var; + ulonglong uVar5; + short *psVar6; + undefined8 uVar7; + longlong *local_38 [2]; + short local_28 [4]; + int local_20; + + uVar4 = param_4; + FUN_140073cc0(local_38); + FUN_140073f70(local_38,*(IID **)(param_1 + 8),(void **)L"dbo.up_insert_log_pvp_ladder"); + Ordinal_8(local_28); + iVar2 = param_2; + if ((local_28[0] != 3) && (iVar2 = param_2, local_28[0] != 10)) { + if (local_28[0] == 0xb) { + local_20 = CONCAT22(local_20._2_2_,-(ushort)(param_2 != 0)); + iVar2 = local_20; + } + else { + uVar1 = Ordinal_9(local_28); + if ((int)uVar1 < 0) { + /* WARNING: Subroutine does not return */ + FUN_140048d70((ulonglong)uVar1); + } + local_28[0] = 3; + iVar2 = param_2; + } + } + local_20 = iVar2; + FUN_140073d70(local_38,1,(undefined4 *)local_28); + Ordinal_9(local_28); + Ordinal_8(local_28); + iVar2 = param_3; + if ((local_28[0] != 3) && (iVar2 = param_3, local_28[0] != 10)) { + if (local_28[0] == 0xb) { + local_20 = CONCAT22(local_20._2_2_,-(ushort)(param_3 != 0)); + iVar2 = local_20; + } + else { + uVar1 = Ordinal_9(local_28); + if ((int)uVar1 < 0) { + /* WARNING: Subroutine does not return */ + FUN_140048d70((ulonglong)uVar1); + } + local_28[0] = 3; + iVar2 = param_3; + } + } + local_20 = iVar2; + FUN_140073d70(local_38,2,(undefined4 *)local_28); + Ordinal_9(local_28); + Ordinal_8(local_28); + iVar2 = (int)param_4; + if ((local_28[0] != 3) && (local_28[0] != 10)) { + if (local_28[0] == 0xb) { + local_20 = CONCAT22(local_20._2_2_,-(ushort)(iVar2 != 0)); + iVar2 = local_20; + } + else { + uVar1 = Ordinal_9(local_28); + if ((int)uVar1 < 0) { + /* WARNING: Subroutine does not return */ + FUN_140048d70((ulonglong)uVar1); + } + local_28[0] = 3; + } + } + local_20 = iVar2; + FUN_140073d70(local_38,3,(undefined4 *)local_28); + Ordinal_9(local_28); + Ordinal_8(); + if ((local_28[0] == 3) || (local_28[0] == 10)) { +LAB_14000bb7a: + local_20 = param_5; + } + else { + if (local_28[0] != 0xb) { + uVar1 = Ordinal_9(local_28); + if ((int)uVar1 < 0) { + /* WARNING: Subroutine does not return */ + FUN_140048d70((ulonglong)uVar1); + } + local_28[0] = 3; + goto LAB_14000bb7a; + } + local_20 = CONCAT22(local_20._2_2_,-(ushort)(param_5 != 0)); + } + FUN_140073d70(local_38,4,(undefined4 *)local_28); + Ordinal_9(local_28); + Ordinal_8(); + if ((local_28[0] == 3) || (local_28[0] == 10)) { +LAB_14000bbf6: + local_20 = param_6; + } + else { + if (local_28[0] != 0xb) { + uVar1 = Ordinal_9(local_28); + if ((int)uVar1 < 0) { + /* WARNING: Subroutine does not return */ + FUN_140048d70((ulonglong)uVar1); + } + local_28[0] = 3; + goto LAB_14000bbf6; + } + local_20 = CONCAT22(local_20._2_2_,-(ushort)(param_6 != 0)); + } + FUN_140073d70(local_38,5,(undefined4 *)local_28); + Ordinal_9(local_28); + Ordinal_8(); + if ((local_28[0] != 3) && (local_28[0] != 10)) { + if (local_28[0] == 0xb) { + local_20 = CONCAT22(local_20._2_2_,-(ushort)(param_7 != 0)); + goto LAB_14000bc7d; + } + uVar1 = Ordinal_9(local_28); + if ((int)uVar1 < 0) { + /* WARNING: Subroutine does not return */ + FUN_140048d70((ulonglong)uVar1); + } + local_28[0] = 3; + } + local_20 = param_7; +LAB_14000bc7d: + FUN_140073d70(local_38,6,(undefined4 *)local_28); + Ordinal_9(local_28); + FUN_140074540(local_38,(int *)0x0); + uVar7 = 0; + psVar6 = local_28; + psVar3 = (short *)FUN_140073e60(local_38,psVar6,0); + FUN_140074970(psVar3,psVar6,uVar7,uVar4); + iVar2 = FUN_14000add0(psVar3); + uVar4 = Ordinal_9(local_28); + if (iVar2 < 0) { + iVar2 = wprintf(L"Failed Stored Procedure!! : %s \n"); + uVar5 = CONCAT44(extraout_var,iVar2); + if (local_38[0] != (longlong *)0x0) { + uVar5 = (**(code **)(*local_38[0] + 0x10))(); + } + uVar5 = uVar5 & 0xffffffffffffff00; + } + else { + if (local_38[0] != (longlong *)0x0) { + uVar4 = (**(code **)(*local_38[0] + 0x10))(); + } + uVar5 = CONCAT71((int7)((ulonglong)uVar4 >> 8),1); + } + return uVar5; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000bd40.c b/decomp/AgentManager_Release_x64/full/functions/0x14000bd40.c new file mode 100644 index 00000000..ae2299e8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000bd40.c @@ -0,0 +1,42 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000bd40 FUN_14000bd40 + * Pseudocode, not original source. */ + +ulonglong FUN_14000bd40(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + int iVar1; + short *psVar2; + undefined8 uVar3; + undefined4 extraout_var; + ulonglong uVar4; + undefined1 *puVar5; + longlong *local_38 [2]; + undefined1 local_28 [32]; + + FUN_140073cc0(local_38); + FUN_140073f70(local_38,*(IID **)(param_1 + 8),(void **)L"dbo.up_create_delete_table"); + FUN_140074540(local_38,(int *)0x0); + uVar3 = 0; + puVar5 = local_28; + psVar2 = (short *)FUN_140073e60(local_38,puVar5,0); + FUN_140074970(psVar2,puVar5,uVar3,param_4); + iVar1 = FUN_14000add0(psVar2); + uVar3 = Ordinal_9(local_28); + if (iVar1 < 0) { + iVar1 = wprintf(L"Failed Stored Procedure!! : %s \n"); + uVar4 = CONCAT44(extraout_var,iVar1); + if (local_38[0] != (longlong *)0x0) { + uVar4 = (**(code **)(*local_38[0] + 0x10))(); + } + uVar4 = uVar4 & 0xffffffffffffff00; + } + else { + if (local_38[0] != (longlong *)0x0) { + uVar3 = (**(code **)(*local_38[0] + 0x10))(); + } + uVar4 = CONCAT71((int7)((ulonglong)uVar3 >> 8),1); + } + return uVar4; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000be00.c b/decomp/AgentManager_Release_x64/full/functions/0x14000be00.c new file mode 100644 index 00000000..c1c2ed19 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000be00.c @@ -0,0 +1,21 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000be00 FUN_14000be00 + * Pseudocode, not original source. */ + +undefined8 * +FUN_14000be00(undefined8 *param_1,ulonglong param_2,undefined8 param_3,undefined8 param_4) + +{ + *param_1 = MagiStatistics::vftable; + FUN_14003d110((undefined4 *)(param_1 + 9),param_2,param_3,param_4); + if (param_1[1] != 0) { + FUN_14003b510(param_1 + 1); + } + *param_1 = MBISingleton::vftable; + DAT_14017cf48 = 0; + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000be80.c b/decomp/AgentManager_Release_x64/full/functions/0x14000be80.c new file mode 100644 index 00000000..00a7c445 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000be80.c @@ -0,0 +1,48 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000be80 FUN_14000be80 + * Pseudocode, not original source. */ + +void FUN_14000be80(longlong param_1,int param_2,longlong param_3) + +{ + int *piVar1; + longlong *plVar2; + undefined8 *puVar3; + int local_60 [2]; + longlong local_58; + int *local_50; + undefined1 local_48; + undefined8 local_40 [3]; + longlong local_28 [4]; + + piVar1 = (int *)(param_1 + 0x48); + local_50 = piVar1; + FUN_14003d040(piVar1); + local_48 = 1; + plVar2 = (longlong *)(param_1 + 8); + if (*(longlong *)(param_1 + 0x28) != 0) { + for (puVar3 = *(undefined8 **) + (*plVar2 + ((ulonglong)(longlong)param_2 % *(ulonglong *)(param_1 + 0x10)) * 8); + puVar3 != (undefined8 *)0x0; puVar3 = (undefined8 *)*puVar3) { + if (param_2 == *(int *)(puVar3 + 1)) { + if (puVar3 != (undefined8 *)0x0) { + puVar3[2] = puVar3[2] + param_3; + goto LAB_14000bf2f; + } + break; + } + } + } + local_60[0] = param_2; + local_58 = param_3; + if (*(longlong *)(param_1 + 0x28) == 0) { + FUN_14003c840(plVar2,local_28,local_60); + } + else { + FUN_14000e3f0(plVar2,local_40,local_60,local_60); + } +LAB_14000bf2f: + FUN_14003d0d0((longlong)piVar1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000bf50.c b/decomp/AgentManager_Release_x64/full/functions/0x14000bf50.c new file mode 100644 index 00000000..875e49ad --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000bf50.c @@ -0,0 +1,32 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000bf50 FUN_14000bf50 + * Pseudocode, not original source. */ + +undefined8 FUN_14000bf50(longlong param_1,int param_2) + +{ + int *piVar1; + undefined8 *puVar2; + undefined8 uVar3; + + piVar1 = (int *)(param_1 + 0x48); + FUN_14003d040(piVar1); + if (*(longlong *)(param_1 + 0x28) != 0) { + for (puVar2 = *(undefined8 **) + (*(longlong *)(param_1 + 8) + + ((ulonglong)(longlong)param_2 % *(ulonglong *)(param_1 + 0x10)) * 8); + puVar2 != (undefined8 *)0x0; puVar2 = (undefined8 *)*puVar2) { + if (param_2 == *(int *)(puVar2 + 1)) { + if (puVar2 != (undefined8 *)0x0) { + uVar3 = puVar2[2]; + FUN_14003d0d0((longlong)piVar1); + return uVar3; + } + break; + } + } + } + FUN_14003d0d0((longlong)piVar1); + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000bff0.c b/decomp/AgentManager_Release_x64/full/functions/0x14000bff0.c new file mode 100644 index 00000000..4df8077a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000bff0.c @@ -0,0 +1,60 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000bff0 FUN_14000bff0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_14000bff0(undefined4 param_1) + +{ + char *pcVar1; + ulonglong uVar2; + undefined1 auStack_68 [32]; + undefined8 local_48; + undefined1 local_40; + undefined7 uStack_3f; + undefined8 local_30; + ulonglong local_28; + ulonglong local_18; + + local_48 = 0xfffffffffffffffe; + local_18 = DAT_14016f5a0 ^ (ulonglong)auStack_68; + local_28 = 0xf; + local_30 = 0; + local_40 = 0; + FUN_14000c9e0((ulonglong *)&local_40,&DAT_140130310,9); + switch(param_1) { + case 0: + pcVar1 = &DAT_140130320; + break; + case 1: + uVar2 = 0x16; + pcVar1 = &DAT_140130338; + goto LAB_14000c0a6; + case 2: + pcVar1 = &DAT_140130350; + break; + case 3: + uVar2 = 0xc; + pcVar1 = "Ladder Point"; + goto LAB_14000c0a6; + case 4: + pcVar1 = &DAT_140130378; + break; + case 5: + pcVar1 = &DAT_140130390; + break; + default: + goto switchD_14000c05e_default; + } + uVar2 = 0x11; +LAB_14000c0a6: + FUN_14000c480((ulonglong *)&local_40,pcVar1,uVar2); +switchD_14000c05e_default: + printf("%s [ %I64d ] \n"); + if (0xf < local_28) { + operator_delete((void *)CONCAT71(uStack_3f,local_40)); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000c120.c b/decomp/AgentManager_Release_x64/full/functions/0x14000c120.c new file mode 100644 index 00000000..1a39cfb6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000c120.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000c120 FUN_14000c120 + * Pseudocode, not original source. */ + +void FUN_14000c120(longlong param_1) + +{ + undefined8 *local_30; + undefined8 *local_28; + + FUN_14003d040((int *)(param_1 + 0x48)); + if (*(longlong *)(param_1 + 0x28) == 0) { + local_30 = (undefined8 *)0x0; + } + else { + local_30 = *(undefined8 **)(param_1 + 0x38); + if (local_30 != (undefined8 *)0x0) { + local_28 = (undefined8 *)*local_30; + goto joined_r0x00014000c190; + } + } + local_28 = (undefined8 *)0x0; +joined_r0x00014000c190: + while (local_28 != (undefined8 *)0x0) { + FUN_14000bff0(*(undefined4 *)(local_28 + 1)); + local_28 = (undefined8 *)*local_28; + while (local_28 == (undefined8 *)0x0) { + local_30 = local_30 + 1; + local_28 = (undefined8 *)*local_30; + } + if (local_30 == local_28) { + local_28 = (undefined8 *)0x0; + } + } + FUN_14003d0d0(param_1 + 0x48); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000c1f0.c b/decomp/AgentManager_Release_x64/full/functions/0x14000c1f0.c new file mode 100644 index 00000000..6e364b16 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000c1f0.c @@ -0,0 +1,34 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000c1f0 FUN_14000c1f0 + * Pseudocode, not original source. */ + +undefined8 * FUN_14000c1f0(undefined8 *param_1) + +{ + longlong lVar1; + longlong lVar2; + undefined **ppuVar3; + + ppuVar3 = (undefined **)&DAT_1401303d0; + lVar2 = 0x28; + do { + lVar1 = lVar2 / 2; + if (ppuVar3[lVar1] < (undefined *)0xb) { + ppuVar3 = ppuVar3 + lVar1 + 1; + lVar1 = lVar2 + (-1 - lVar1); + } + lVar2 = lVar1; + } while (0 < lVar1); + if (ppuVar3 == &MBISingleton::vftable_meta_ptr) { + ppuVar3 = (undefined **)&UNK_140130508; + } + param_1[1] = *ppuVar3; + *param_1 = 0; + *(undefined1 *)(param_1 + 3) = 0; + param_1[4] = 0; + *(undefined4 *)(param_1 + 5) = 0x3f800000; + param_1[6] = 0; + param_1[7] = 0; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000c270.c b/decomp/AgentManager_Release_x64/full/functions/0x14000c270.c new file mode 100644 index 00000000..734f9f08 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000c270.c @@ -0,0 +1,41 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000c270 FUN_14000c270 + * Pseudocode, not original source. */ + +void FUN_14000c270(undefined8 *param_1) + +{ + undefined8 *puVar1; + undefined8 *puVar2; + ulonglong uVar3; + char *local_res8; + undefined **local_40 [3]; + undefined8 *local_28; + undefined8 local_20; + undefined8 local_18; + ulonglong local_10; + + local_28 = param_1 + 2; + puVar1 = (undefined8 *)0x0; + local_18 = 0; + local_20 = 0; + uVar3 = param_1[1] + 1; + if ((uVar3 != 0) && + ((local_10 = uVar3, 0x1fffffffffffffff < uVar3 || + (puVar1 = operator_new(uVar3 * 8), puVar1 == (undefined8 *)0x0)))) { + local_res8 = (char *)0x0; + std::exception::exception((exception *)local_40,&local_res8); + local_40[0] = std::bad_alloc::vftable; + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_40,(ThrowInfo *)&DAT_14016c158); + } + for (puVar2 = puVar1; puVar2 != puVar1 + uVar3; puVar2 = puVar2 + 1) { + if (puVar2 != (undefined8 *)0x0) { + *puVar2 = 0; + } + } + puVar1[param_1[1]] = puVar1 + param_1[1]; + *param_1 = puVar1; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000c360.c b/decomp/AgentManager_Release_x64/full/functions/0x14000c360.c new file mode 100644 index 00000000..f0990355 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000c360.c @@ -0,0 +1,70 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000c360 FUN_14000c360 + * Pseudocode, not original source. */ + +longlong * FUN_14000c360(longlong *param_1,undefined8 *param_2,ulonglong param_3,ulonglong param_4) + +{ + size_t sVar1; + code *pcVar2; + longlong *plVar3; + ulonglong uVar4; + + if ((ulonglong)param_2[2] < param_3) { + std::_Xout_of_range("invalid string position"); + pcVar2 = (code *)swi(3); + plVar3 = (longlong *)(*pcVar2)(); + return plVar3; + } + uVar4 = param_2[2] - param_3; + sVar1 = param_1[2]; + if (uVar4 < param_4) { + param_4 = uVar4; + } + if (param_4 < -sVar1 - 1) { + if (param_4 != 0) { + uVar4 = sVar1 + param_4; + if (uVar4 == 0xffffffffffffffff) { + std::_Xlength_error("string too long"); + pcVar2 = (code *)swi(3); + plVar3 = (longlong *)(*pcVar2)(); + return plVar3; + } + if ((ulonglong)param_1[3] < uVar4) { + FUN_14000c7d0(param_1,uVar4,sVar1); + if (uVar4 == 0) { + return param_1; + } + } + else if (uVar4 == 0) { + param_1[2] = 0; + if (0xf < (ulonglong)param_1[3]) { + *(undefined1 *)*param_1 = 0; + return param_1; + } + *(undefined1 *)param_1 = 0; + return param_1; + } + if (0xf < (ulonglong)param_2[3]) { + param_2 = (undefined8 *)*param_2; + } + plVar3 = param_1; + if (0xf < (ulonglong)param_1[3]) { + plVar3 = (longlong *)*param_1; + } + memcpy((void *)((longlong)plVar3 + param_1[2]),(void *)((longlong)param_2 + param_3),param_4); + param_1[2] = uVar4; + plVar3 = param_1; + if (0xf < (ulonglong)param_1[3]) { + plVar3 = (longlong *)*param_1; + } + *(undefined1 *)((longlong)plVar3 + uVar4) = 0; + } + return param_1; + } + std::_Xlength_error("string too long"); + pcVar2 = (code *)swi(3); + plVar3 = (longlong *)(*pcVar2)(); + return plVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000c480.c b/decomp/AgentManager_Release_x64/full/functions/0x14000c480.c new file mode 100644 index 00000000..accf1d01 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000c480.c @@ -0,0 +1,80 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000c480 FUN_14000c480 + * Pseudocode, not original source. */ + +ulonglong * FUN_14000c480(ulonglong *param_1,void *param_2,ulonglong param_3) + +{ + ulonglong uVar1; + size_t sVar2; + code *pcVar3; + ulonglong *puVar4; + + if (param_2 != (void *)0x0) { + uVar1 = param_1[3]; + puVar4 = param_1; + if (0xf < uVar1) { + puVar4 = (ulonglong *)*param_1; + } + if (puVar4 <= param_2) { + puVar4 = param_1; + if (0xf < uVar1) { + puVar4 = (ulonglong *)*param_1; + } + if (param_2 < (void *)((longlong)puVar4 + param_1[2])) { + puVar4 = param_1; + if (0xf < uVar1) { + puVar4 = (ulonglong *)*param_1; + } + puVar4 = (ulonglong *) + FUN_14000c360((longlong *)param_1,param_1,(longlong)param_2 - (longlong)puVar4, + param_3); + return puVar4; + } + } + } + sVar2 = param_1[2]; + if (-sVar2 - 1 <= param_3) { + std::_Xlength_error("string too long"); + pcVar3 = (code *)swi(3); + puVar4 = (ulonglong *)(*pcVar3)(); + return puVar4; + } + if (param_3 != 0) { + uVar1 = sVar2 + param_3; + if (uVar1 == 0xffffffffffffffff) { + std::_Xlength_error("string too long"); + pcVar3 = (code *)swi(3); + puVar4 = (ulonglong *)(*pcVar3)(); + return puVar4; + } + if (param_1[3] < uVar1) { + FUN_14000c7d0(param_1,uVar1,sVar2); + if (uVar1 == 0) { + return param_1; + } + } + else if (uVar1 == 0) { + param_1[2] = 0; + if (0xf < param_1[3]) { + *(undefined1 *)*param_1 = 0; + return param_1; + } + *(undefined1 *)param_1 = 0; + return param_1; + } + puVar4 = param_1; + if (0xf < param_1[3]) { + puVar4 = (ulonglong *)*param_1; + } + memcpy((void *)((longlong)puVar4 + param_1[2]),param_2,param_3); + param_1[2] = uVar1; + puVar4 = param_1; + if (0xf < param_1[3]) { + puVar4 = (ulonglong *)*param_1; + } + *(undefined1 *)((longlong)puVar4 + uVar1) = 0; + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000c5c0.c b/decomp/AgentManager_Release_x64/full/functions/0x14000c5c0.c new file mode 100644 index 00000000..cb042cd2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000c5c0.c @@ -0,0 +1,43 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000c5c0 FUN_14000c5c0 + * Pseudocode, not original source. */ + +longlong * FUN_14000c5c0(longlong *param_1,ulonglong param_2,ulonglong param_3) + +{ + code *pcVar1; + longlong *plVar2; + longlong *plVar3; + ulonglong uVar4; + longlong lVar5; + + if ((ulonglong)param_1[2] < param_2) { + std::_Xout_of_range("invalid string position"); + pcVar1 = (code *)swi(3); + plVar2 = (longlong *)(*pcVar1)(); + return plVar2; + } + uVar4 = param_1[2] - param_2; + if (uVar4 < param_3) { + param_3 = uVar4; + } + if (param_3 != 0) { + plVar2 = param_1; + plVar3 = param_1; + if (0xf < (ulonglong)param_1[3]) { + plVar2 = (longlong *)*param_1; + plVar3 = (longlong *)*param_1; + } + memmove((void *)((longlong)plVar2 + param_2),(void *)((longlong)plVar3 + param_3 + param_2), + uVar4 - param_3); + lVar5 = param_1[2] - param_3; + param_1[2] = lVar5; + if (0xf < (ulonglong)param_1[3]) { + *(undefined1 *)(*param_1 + lVar5) = 0; + return param_1; + } + *(undefined1 *)((longlong)param_1 + lVar5) = 0; + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000c660.c b/decomp/AgentManager_Release_x64/full/functions/0x14000c660.c new file mode 100644 index 00000000..3a7e6205 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000c660.c @@ -0,0 +1,65 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000c660 FUN_14000c660 + * Pseudocode, not original source. */ + +longlong * FUN_14000c660(longlong *param_1,longlong *param_2,ulonglong param_3,ulonglong param_4) + +{ + code *pcVar1; + longlong *plVar2; + ulonglong _Size; + + if ((ulonglong)param_2[2] < param_3) { + std::_Xout_of_range("invalid string position"); + pcVar1 = (code *)swi(3); + plVar2 = (longlong *)(*pcVar1)(); + return plVar2; + } + _Size = param_2[2] - param_3; + if (param_4 < _Size) { + _Size = param_4; + } + if (param_1 == param_2) { + FUN_14000c5c0(param_1,_Size + param_3,0xffffffffffffffff); + FUN_14000c5c0(param_1,0,param_3); + } + else { + if (_Size == 0xffffffffffffffff) { + std::_Xlength_error("string too long"); + pcVar1 = (code *)swi(3); + plVar2 = (longlong *)(*pcVar1)(); + return plVar2; + } + if ((ulonglong)param_1[3] < _Size) { + FUN_14000c7d0(param_1,_Size,param_1[2]); + if (_Size == 0) { + return param_1; + } + } + else if (_Size == 0) { + param_1[2] = 0; + if (0xf < (ulonglong)param_1[3]) { + *(undefined1 *)*param_1 = 0; + return param_1; + } + *(undefined1 *)param_1 = 0; + return param_1; + } + if (0xf < (ulonglong)param_2[3]) { + param_2 = (longlong *)*param_2; + } + plVar2 = param_1; + if (0xf < (ulonglong)param_1[3]) { + plVar2 = (longlong *)*param_1; + } + memcpy(plVar2,(void *)((longlong)param_2 + param_3),_Size); + param_1[2] = _Size; + plVar2 = param_1; + if (0xf < (ulonglong)param_1[3]) { + plVar2 = (longlong *)*param_1; + } + *(undefined1 *)((longlong)plVar2 + _Size) = 0; + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000c770.c b/decomp/AgentManager_Release_x64/full/functions/0x14000c770.c new file mode 100644 index 00000000..075c213c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000c770.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000c770 FUN_14000c770 + * Pseudocode, not original source. */ + +void * FUN_14000c770(__uint64 param_1) + +{ + void *pvVar1; + char *local_res8 [4]; + undefined **local_28 [5]; + + pvVar1 = (void *)0x0; + if ((param_1 != 0) && (pvVar1 = operator_new(param_1), pvVar1 == (void *)0x0)) { + local_res8[0] = (char *)0x0; + std::exception::exception((exception *)local_28,local_res8); + local_28[0] = std::bad_alloc::vftable; + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_28,(ThrowInfo *)&DAT_14016c158); + } + return pvVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000c7d0.c b/decomp/AgentManager_Release_x64/full/functions/0x14000c7d0.c new file mode 100644 index 00000000..abac4347 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000c7d0.c @@ -0,0 +1,53 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000c7d0 FUN_14000c7d0 + * Pseudocode, not original source. */ + +void FUN_14000c7d0(undefined8 *param_1,ulonglong param_2,size_t param_3) + +{ + ulonglong uVar1; + undefined8 *_Dst; + ulonglong uVar2; + undefined8 *_Src; + ulonglong uVar3; + char *local_res20; + undefined **local_40 [4]; + + uVar3 = param_2 | 0xf; + if (uVar3 != 0xffffffffffffffff) { + uVar1 = param_1[3]; + uVar2 = uVar1 >> 1; + param_2 = uVar3; + if ((uVar3 / 3 < uVar2) && (param_2 = 0xfffffffffffffffe, uVar1 <= -uVar2 - 2)) { + param_2 = uVar2 + uVar1; + } + } + _Dst = (undefined8 *)0x0; + if ((param_2 + 1 != 0) && (_Dst = operator_new(param_2 + 1), _Dst == (undefined8 *)0x0)) { + local_res20 = (char *)0x0; + std::exception::exception((exception *)local_40,&local_res20); + local_40[0] = std::bad_alloc::vftable; + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_40,(ThrowInfo *)&DAT_14016c158); + } + if (param_3 != 0) { + _Src = param_1; + if (0xf < (ulonglong)param_1[3]) { + _Src = (undefined8 *)*param_1; + } + memcpy(_Dst,_Src,param_3); + } + if (0xf < (ulonglong)param_1[3]) { + operator_delete((void *)*param_1); + } + *(undefined1 *)param_1 = 0; + *param_1 = _Dst; + param_1[3] = param_2; + param_1[2] = param_3; + if (0xf < param_2) { + param_1 = _Dst; + } + *(undefined1 *)((longlong)param_1 + param_3) = 0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000c910.c b/decomp/AgentManager_Release_x64/full/functions/0x14000c910.c new file mode 100644 index 00000000..10c2d050 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000c910.c @@ -0,0 +1,51 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000c910 FUN_14000c910 + * Pseudocode, not original source. */ + +undefined1 FUN_14000c910(undefined8 *param_1,ulonglong param_2,char param_3) + +{ + ulonglong uVar1; + void *_Src; + code *pcVar2; + undefined1 uVar3; + ulonglong _Size; + + if (param_2 == 0xffffffffffffffff) { + std::_Xlength_error("string too long"); + pcVar2 = (code *)swi(3); + uVar3 = (*pcVar2)(); + return uVar3; + } + uVar1 = param_1[3]; + if (uVar1 < param_2) { + FUN_14000c7d0(param_1,param_2,param_1[2]); + } + else if ((param_3 == '\0') || (0xf < param_2)) { + if (param_2 == 0) { + param_1[2] = 0; + if (0xf < uVar1) { + param_1 = (undefined8 *)*param_1; + } + *(undefined1 *)param_1 = 0; + } + } + else { + _Size = param_1[2]; + if (param_2 < (ulonglong)param_1[2]) { + _Size = param_2; + } + if (0xf < uVar1) { + _Src = (void *)*param_1; + if (_Size != 0) { + memcpy(param_1,_Src,_Size); + } + operator_delete(_Src); + } + param_1[2] = _Size; + param_1[3] = 0xf; + *(undefined1 *)((longlong)param_1 + _Size) = 0; + } + return param_2 != 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000c9e0.c b/decomp/AgentManager_Release_x64/full/functions/0x14000c9e0.c new file mode 100644 index 00000000..bc6548c7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000c9e0.c @@ -0,0 +1,69 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000c9e0 FUN_14000c9e0 + * Pseudocode, not original source. */ + +ulonglong * FUN_14000c9e0(ulonglong *param_1,void *param_2,ulonglong param_3) + +{ + ulonglong uVar1; + code *pcVar2; + ulonglong *puVar3; + + if (param_2 != (void *)0x0) { + uVar1 = param_1[3]; + puVar3 = param_1; + if (0xf < uVar1) { + puVar3 = (ulonglong *)*param_1; + } + if (puVar3 <= param_2) { + puVar3 = param_1; + if (0xf < uVar1) { + puVar3 = (ulonglong *)*param_1; + } + if (param_2 < (void *)((longlong)puVar3 + param_1[2])) { + puVar3 = param_1; + if (0xf < uVar1) { + puVar3 = (ulonglong *)*param_1; + } + puVar3 = (ulonglong *) + FUN_14000c660((longlong *)param_1,(longlong *)param_1, + (longlong)param_2 - (longlong)puVar3,param_3); + return puVar3; + } + } + } + if (param_3 == 0xffffffffffffffff) { + std::_Xlength_error("string too long"); + pcVar2 = (code *)swi(3); + puVar3 = (ulonglong *)(*pcVar2)(); + return puVar3; + } + if (param_1[3] < param_3) { + FUN_14000c7d0(param_1,param_3,param_1[2]); + if (param_3 == 0) { + return param_1; + } + } + else if (param_3 == 0) { + param_1[2] = 0; + if (0xf < param_1[3]) { + *(undefined1 *)*param_1 = 0; + return param_1; + } + *(undefined1 *)param_1 = 0; + return param_1; + } + puVar3 = param_1; + if (0xf < param_1[3]) { + puVar3 = (ulonglong *)*param_1; + } + memcpy(puVar3,param_2,param_3); + param_1[2] = param_3; + puVar3 = param_1; + if (0xf < param_1[3]) { + puVar3 = (ulonglong *)*param_1; + } + *(undefined1 *)((longlong)puVar3 + param_3) = 0; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000cb10.c b/decomp/AgentManager_Release_x64/full/functions/0x14000cb10.c new file mode 100644 index 00000000..7cef2aab --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000cb10.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000cb10 FUN_14000cb10 + * Pseudocode, not original source. */ + +undefined8 * FUN_14000cb10(undefined8 *param_1,byte param_2) + +{ + DAT_14017cf48 = 0; + *param_1 = MBISingleton::vftable; + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000cb50.c b/decomp/AgentManager_Release_x64/full/functions/0x14000cb50.c new file mode 100644 index 00000000..a63d61cd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000cb50.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000cb50 FUN_14000cb50 + * Pseudocode, not original source. */ + +void FUN_14000cb50(undefined8 *param_1) + +{ + DAT_14017cf48 = 0; + *param_1 = MBISingleton::vftable; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000cb70.c b/decomp/AgentManager_Release_x64/full/functions/0x14000cb70.c new file mode 100644 index 00000000..b48c61f4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000cb70.c @@ -0,0 +1,52 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000cb70 FUN_14000cb70 + * Pseudocode, not original source. */ + +void FUN_14000cb70(longlong param_1,undefined4 param_2,undefined8 param_3,longlong param_4) + +{ + LPVOID pvVar1; + undefined4 local_res10 [2]; + undefined4 local_res18 [4]; + undefined8 uVar2; + undefined **local_30; + longlong *local_28; + LPVOID local_20; + ulonglong local_18; + undefined8 local_10; + + local_res18[0] = (undefined4)param_3; + uVar2 = 0xfffffffffffffffe; + local_30 = Proud::CFastArray::vftable; + local_28 = (longlong *)0x0; + local_20 = (LPVOID)0x0; + local_18 = 0; + local_10 = 0; + local_res10[0] = param_2; + FUN_140039670(DAT_14017cf20,(longlong)&local_30,param_3,param_4); + pvVar1 = local_20; + if ((int)local_18 == 0) { + if (local_20 == (LPVOID)0x0) { + return; + } + if (local_28 != (longlong *)0x0) { + (**(code **)(*local_28 + 0x18))(local_28,local_20); + return; + } + } + else { + (**(code **)(*(longlong *)(param_1 + 0x48) + 0x58)) + ((longlong *)(param_1 + 0x48),local_20,local_18 & 0xffffffff,&DAT_14016f5d0, + local_res10,local_res18,uVar2); + if (pvVar1 == (LPVOID)0x0) { + return; + } + if (local_28 != (longlong *)0x0) { + (**(code **)(*local_28 + 0x18))(local_28,pvVar1); + return; + } + } + FUN_14003e8b0(pvVar1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000cc40.c b/decomp/AgentManager_Release_x64/full/functions/0x14000cc40.c new file mode 100644 index 00000000..bfe6f43a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000cc40.c @@ -0,0 +1,205 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000cc40 FUN_14000cc40 + * Pseudocode, not original source. */ + +void FUN_14000cc40(longlong param_1,undefined8 param_2,undefined8 param_3,longlong param_4, + short *param_5) + +{ + uint uVar1; + uint uVar2; + int *piVar3; + uint *puVar4; + longlong lVar5; + longlong *plVar6; + LPVOID pvVar7; + undefined ***pppuVar8; + uint *puVar9; + LPVOID pvVar10; + uint uVar11; + uint uVar12; + ulonglong uVar13; + undefined *puVar14; + uint uVar15; + uint *local_78; + undefined8 local_70; + int *local_68; + undefined1 local_60; + undefined **local_58; + longlong *local_50; + LPVOID local_48; + ulonglong local_40; + undefined8 local_38; + + local_70 = 0xfffffffffffffffe; + local_58 = Proud::CFastArray::vftable; + local_50 = (longlong *)0x0; + local_48 = (LPVOID)0x0; + local_40 = 0; + local_38 = 0; + pppuVar8 = &local_58; + lVar5 = DAT_14017cf20; + FUN_140039670(DAT_14017cf20,(longlong)pppuVar8,param_3,param_4); + uVar15 = 0; + if ((int)local_40 == 0) { + if (local_48 == (LPVOID)0x0) { + return; + } + pvVar7 = local_48; + if (local_50 != (longlong *)0x0) { + (**(code **)(*local_50 + 0x18))(local_50,local_48); + return; + } + goto LAB_14000cf5f; + } + FUN_14003e7c0(lVar5,pppuVar8,param_3,param_4); + local_78 = (uint *)PTR_DAT_14016f010; + uVar1 = FUN_14003e620(param_5); + uVar13 = 0; + if ((local_78 != (uint *)0x0) && (uVar13 = 0, local_78 != (uint *)PTR_DAT_14016f010)) { + uVar13 = (ulonglong)local_78[-2]; + } + uVar2 = uVar1; + if ((((int)uVar1 <= (int)uVar13) && (uVar2 = uVar15, local_78 != (uint *)0x0)) && + (local_78 != (uint *)PTR_DAT_14016f010)) { + uVar2 = local_78[-2]; + } + uVar11 = 1; + if (1 < (int)uVar2) { + uVar11 = uVar2; + } + uVar2 = uVar15; + if ((local_78 != (uint *)0x0) && (local_78 != (uint *)PTR_DAT_14016f010)) { + uVar2 = local_78[-2]; + } + uVar12 = 0; + if ((int)uVar2 < (int)uVar11) { + puVar4 = local_78; + if (local_78 == (uint *)0x0) { + puVar4 = (uint *)PTR_DAT_14016f010; + } + local_78 = puVar4; + if ((int)uVar11 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar11 == 0) { + local_78 = (uint *)PTR_DAT_14016f010; + if (((puVar4 != (uint *)0x0) && (puVar4 != (uint *)PTR_DAT_14016f010)) && + (puVar4 + -2 != (uint *)0x0)) { + local_78 = puVar4; + piVar3 = (int *)FUN_14003e7c0(puVar4,PTR_DAT_14016f010,uVar13,param_4); + local_68 = piVar3; + FUN_14003d040(piVar3); + local_60 = 1; + puVar9 = puVar4 + -1; + *puVar9 = *puVar9 - 1; + if (*puVar9 == 0) { + FUN_14003e8b0(puVar4 + -2); + } + FUN_14003d0d0((longlong)piVar3); + local_78 = (uint *)PTR_DAT_14016f010; + } + } + else { + uVar2 = uVar15; + if ((puVar4 != (uint *)0x0) && (puVar4 != (uint *)PTR_DAT_14016f010)) { + uVar2 = puVar4[-2]; + } + if (uVar11 != uVar2) { + puVar4 = (uint *)FUN_14003e840((longlong)(int)uVar11 * 2 + 10); + if (puVar4 != (uint *)0x0) { + *puVar4 = 0; + puVar4[1] = 1; + } + *puVar4 = uVar11; + uVar2 = uVar12; + if ((local_78 != (uint *)0x0) && (local_78 != (uint *)PTR_DAT_14016f010)) { + uVar2 = local_78[-2]; + } + puVar9 = (uint *)PTR_DAT_14016f010; + if ((int)uVar11 < (int)uVar2) { +LAB_14000ce07: + if (local_78 != (uint *)0x0) { + puVar9 = local_78; + } + } + else { + uVar11 = uVar15; + if (local_78 != (uint *)0x0) { + if (local_78 != (uint *)PTR_DAT_14016f010) { + uVar11 = local_78[-2]; + } + goto LAB_14000ce07; + } + } + uVar13 = (ulonglong)uVar11; + FUN_14003e650(puVar4 + 2,puVar9,uVar11); + FUN_140002190((longlong *)&local_78,puVar9,uVar13,param_4); + local_78 = puVar4 + 2; + } + } + } + FUN_140001df0((longlong *)&local_78); + puVar4 = local_78; + if (local_78 == (uint *)0x0) { + puVar4 = (uint *)PTR_DAT_14016f010; + } + FUN_14003e650(puVar4,param_5,uVar1); + puVar4 = local_78; + if (local_78 == (uint *)0x0) { + puVar4 = (uint *)PTR_DAT_14016f010; + } + uVar1 = FUN_14003e620((short *)puVar4); + pvVar7 = local_48; + uVar15 = 0; + if (0 < (int)uVar1) { + uVar15 = uVar1; + } + uVar1 = uVar12; + if ((local_78 != (uint *)0x0) && (local_78 != (uint *)PTR_DAT_14016f010)) { + uVar1 = local_78[-2]; + } + if (((int)uVar15 < (int)uVar1) || (uVar15 = uVar12, local_78 == (uint *)0x0)) { +LAB_14000ce9a: + if (((local_78 != (uint *)PTR_DAT_14016f010) && (local_78 != (uint *)0x0)) && + (local_78 + -2 != (uint *)0x0)) { + local_78[-2] = uVar15; + *(undefined2 *)((longlong)local_78 + (longlong)(int)uVar15 * 2) = 0; + } + } + else if (local_78 != (uint *)PTR_DAT_14016f010) { + uVar15 = local_78[-2]; + goto LAB_14000ce9a; + } + plVar6 = (longlong *)(param_1 + 0x48); + puVar14 = &DAT_14016f5d0; + uVar13 = local_40 & 0xffffffff; + pvVar10 = local_48; + (**(code **)(*plVar6 + 0x48))(); + puVar4 = local_78; + if (((local_78 != (uint *)0x0) && (local_78 != (uint *)PTR_DAT_14016f010)) && + (puVar9 = local_78 + -2, puVar9 != (uint *)0x0)) { + piVar3 = (int *)FUN_14003e7c0(plVar6,pvVar10,uVar13,puVar14); + local_68 = piVar3; + FUN_14003d040(piVar3); + local_60 = 1; + puVar4 = puVar4 + -1; + *puVar4 = *puVar4 - 1; + if (*puVar4 == 0) { + FUN_14003e8b0(puVar9); + } + FUN_14003d0d0((longlong)piVar3); + } + if (pvVar7 == (LPVOID)0x0) { + return; + } + if (local_50 != (longlong *)0x0) { + (**(code **)(*local_50 + 0x18))(local_50,pvVar7); + return; + } +LAB_14000cf5f: + FUN_14003e8b0(pvVar7); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000cf80.c b/decomp/AgentManager_Release_x64/full/functions/0x14000cf80.c new file mode 100644 index 00000000..593584ee --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000cf80.c @@ -0,0 +1,47 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000cf80 FUN_14000cf80 + * Pseudocode, not original source. */ + +void FUN_14000cf80(longlong param_1,longlong *param_2,undefined8 param_3,longlong param_4) + +{ + LPVOID pvVar1; + undefined **local_30; + longlong *local_28; + LPVOID local_20; + ulonglong local_18; + undefined8 local_10; + + local_30 = Proud::CFastArray::vftable; + local_28 = (longlong *)0x0; + local_20 = (LPVOID)0x0; + local_18 = 0; + local_10 = 0; + FUN_140039670(DAT_14017cf20,(longlong)&local_30,param_3,param_4); + pvVar1 = local_20; + if ((int)local_18 == 0) { + if (local_20 != (LPVOID)0x0) { + if (local_28 == (longlong *)0x0) { + FUN_14003e8b0(local_20); + } + else { + (**(code **)(*local_28 + 0x18))(local_28,local_20); + } + } + } + else { + (**(code **)(*(longlong *)(param_1 + 0x48) + 0x78)) + ((longlong *)(param_1 + 0x48),local_20,local_18 & 0xffffffff,&DAT_14016f5d0,param_2); + if (pvVar1 != (LPVOID)0x0) { + if (local_28 == (longlong *)0x0) { + FUN_14003e8b0(pvVar1); + } + else { + (**(code **)(*local_28 + 0x18))(local_28,pvVar1); + } + } + } + FUN_14000a2d0(param_2); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000d060.c b/decomp/AgentManager_Release_x64/full/functions/0x14000d060.c new file mode 100644 index 00000000..4ede46a5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000d060.c @@ -0,0 +1,54 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000d060 FUN_14000d060 + * Pseudocode, not original source. */ + +void FUN_14000d060(longlong param_1,undefined4 param_2,undefined8 param_3,longlong param_4) + +{ + LPVOID pvVar1; + undefined4 local_res10 [2]; + undefined1 local_48; + undefined1 local_47 [7]; + undefined8 local_40; + undefined **local_38; + longlong *local_30; + LPVOID local_28; + ulonglong local_20; + undefined8 local_18; + + local_40 = 0xfffffffffffffffe; + local_38 = Proud::CFastArray::vftable; + local_30 = (longlong *)0x0; + local_28 = (LPVOID)0x0; + local_20 = 0; + local_18 = 0; + local_res10[0] = param_2; + FUN_140039670(DAT_14017cf20,(longlong)&local_38,param_3,param_4); + pvVar1 = local_28; + if ((int)local_20 == 0) { + if (local_28 == (LPVOID)0x0) { + return; + } + if (local_30 != (longlong *)0x0) { + (**(code **)(*local_30 + 0x18))(local_30,local_28); + return; + } + } + else { + local_48 = (char)param_4; + local_47[0] = (char)param_3; + (**(code **)(*(longlong *)(param_1 + 0x48) + 0x98)) + ((longlong *)(param_1 + 0x48),local_28,local_20 & 0xffffffff,&DAT_14016f5d0, + local_res10,local_47,&local_48); + if (pvVar1 == (LPVOID)0x0) { + return; + } + if (local_30 != (longlong *)0x0) { + (**(code **)(*local_30 + 0x18))(local_30,pvVar1); + return; + } + } + FUN_14003e8b0(pvVar1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000d170.c b/decomp/AgentManager_Release_x64/full/functions/0x14000d170.c new file mode 100644 index 00000000..a7a054c2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000d170.c @@ -0,0 +1,198 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000d170 FUN_14000d170 + * Pseudocode, not original source. */ + +void FUN_14000d170(longlong param_1,undefined8 param_2,short *param_3,longlong param_4) + +{ + uint uVar1; + uint uVar2; + int *piVar3; + uint *puVar4; + longlong lVar5; + longlong *plVar6; + LPVOID pvVar7; + undefined ***pppuVar8; + uint *puVar9; + LPVOID pvVar10; + uint uVar11; + uint uVar12; + short *psVar13; + ulonglong uVar14; + undefined *puVar15; + uint uVar16; + uint *local_res20; + undefined **local_50; + longlong *local_48; + LPVOID local_40; + ulonglong local_38; + undefined8 local_30; + + local_50 = Proud::CFastArray::vftable; + local_48 = (longlong *)0x0; + local_40 = (LPVOID)0x0; + local_38 = 0; + local_30 = 0; + pppuVar8 = &local_50; + lVar5 = DAT_14017cf20; + psVar13 = param_3; + FUN_140039670(DAT_14017cf20,(longlong)pppuVar8,param_3,param_4); + uVar16 = 0; + if ((int)local_38 == 0) { + if (local_40 == (LPVOID)0x0) { + return; + } + pvVar7 = local_40; + if (local_48 != (longlong *)0x0) { + (**(code **)(*local_48 + 0x18))(local_48,local_40); + return; + } + goto LAB_14000d47a; + } + FUN_14003e7c0(lVar5,pppuVar8,psVar13,param_4); + local_res20 = (uint *)PTR_DAT_14016f010; + uVar1 = FUN_14003e620(param_3); + uVar14 = 0; + if ((local_res20 != (uint *)0x0) && (uVar14 = 0, local_res20 != (uint *)PTR_DAT_14016f010)) { + uVar14 = (ulonglong)local_res20[-2]; + } + uVar2 = uVar1; + if ((((int)uVar1 <= (int)uVar14) && (uVar2 = uVar16, local_res20 != (uint *)0x0)) && + (local_res20 != (uint *)PTR_DAT_14016f010)) { + uVar2 = local_res20[-2]; + } + uVar11 = 1; + if (1 < (int)uVar2) { + uVar11 = uVar2; + } + uVar2 = uVar16; + if ((local_res20 != (uint *)0x0) && (local_res20 != (uint *)PTR_DAT_14016f010)) { + uVar2 = local_res20[-2]; + } + uVar12 = 0; + if ((int)uVar2 < (int)uVar11) { + puVar4 = local_res20; + if (local_res20 == (uint *)0x0) { + puVar4 = (uint *)PTR_DAT_14016f010; + } + local_res20 = puVar4; + if ((int)uVar11 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar11 == 0) { + local_res20 = (uint *)PTR_DAT_14016f010; + if (((puVar4 != (uint *)0x0) && (puVar4 != (uint *)PTR_DAT_14016f010)) && + (puVar4 + -2 != (uint *)0x0)) { + local_res20 = puVar4; + piVar3 = (int *)FUN_14003e7c0(puVar4,PTR_DAT_14016f010,uVar14,param_4); + FUN_14003d040(piVar3); + puVar9 = puVar4 + -1; + *puVar9 = *puVar9 - 1; + if (*puVar9 == 0) { + FUN_14003e8b0(puVar4 + -2); + } + FUN_14003d0d0((longlong)piVar3); + local_res20 = (uint *)PTR_DAT_14016f010; + } + } + else { + uVar2 = uVar16; + if ((puVar4 != (uint *)0x0) && (puVar4 != (uint *)PTR_DAT_14016f010)) { + uVar2 = puVar4[-2]; + } + if (uVar11 != uVar2) { + puVar4 = (uint *)FUN_14003e840((longlong)(int)uVar11 * 2 + 10); + if (puVar4 != (uint *)0x0) { + *puVar4 = 0; + puVar4[1] = 1; + } + *puVar4 = uVar11; + uVar2 = uVar12; + if ((local_res20 != (uint *)0x0) && (local_res20 != (uint *)PTR_DAT_14016f010)) { + uVar2 = local_res20[-2]; + } + puVar9 = (uint *)PTR_DAT_14016f010; + if ((int)uVar11 < (int)uVar2) { +LAB_14000d332: + if (local_res20 != (uint *)0x0) { + puVar9 = local_res20; + } + } + else { + uVar11 = uVar16; + if (local_res20 != (uint *)0x0) { + if (local_res20 != (uint *)PTR_DAT_14016f010) { + uVar11 = local_res20[-2]; + } + goto LAB_14000d332; + } + } + uVar14 = (ulonglong)uVar11; + FUN_14003e650(puVar4 + 2,puVar9,uVar11); + FUN_140002190((longlong *)&local_res20,puVar9,uVar14,param_4); + local_res20 = puVar4 + 2; + } + } + } + FUN_140001df0((longlong *)&local_res20); + puVar4 = local_res20; + if (local_res20 == (uint *)0x0) { + puVar4 = (uint *)PTR_DAT_14016f010; + } + FUN_14003e650(puVar4,param_3,uVar1); + puVar4 = local_res20; + if (local_res20 == (uint *)0x0) { + puVar4 = (uint *)PTR_DAT_14016f010; + } + uVar1 = FUN_14003e620((short *)puVar4); + pvVar7 = local_40; + uVar16 = 0; + if (0 < (int)uVar1) { + uVar16 = uVar1; + } + uVar1 = uVar12; + if ((local_res20 != (uint *)0x0) && (local_res20 != (uint *)PTR_DAT_14016f010)) { + uVar1 = local_res20[-2]; + } + if (((int)uVar16 < (int)uVar1) || (uVar16 = uVar12, local_res20 == (uint *)0x0)) { +LAB_14000d3c4: + if (((local_res20 != (uint *)PTR_DAT_14016f010) && (local_res20 != (uint *)0x0)) && + (local_res20 + -2 != (uint *)0x0)) { + local_res20[-2] = uVar16; + *(undefined2 *)((longlong)local_res20 + (longlong)(int)uVar16 * 2) = 0; + } + } + else if (local_res20 != (uint *)PTR_DAT_14016f010) { + uVar16 = local_res20[-2]; + goto LAB_14000d3c4; + } + plVar6 = (longlong *)(param_1 + 0x48); + puVar15 = &DAT_14016f5d0; + uVar14 = local_38 & 0xffffffff; + pvVar10 = local_40; + (**(code **)(*plVar6 + 0xa8))(); + puVar4 = local_res20; + if (((local_res20 != (uint *)0x0) && (local_res20 != (uint *)PTR_DAT_14016f010)) && + (puVar9 = local_res20 + -2, puVar9 != (uint *)0x0)) { + piVar3 = (int *)FUN_14003e7c0(plVar6,pvVar10,uVar14,puVar15); + FUN_14003d040(piVar3); + puVar4 = puVar4 + -1; + *puVar4 = *puVar4 - 1; + if (*puVar4 == 0) { + FUN_14003e8b0(puVar9); + } + FUN_14003d0d0((longlong)piVar3); + } + if (pvVar7 == (LPVOID)0x0) { + return; + } + if (local_48 != (longlong *)0x0) { + (**(code **)(*local_48 + 0x18))(local_48,pvVar7); + return; + } +LAB_14000d47a: + FUN_14003e8b0(pvVar7); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000d4a0.c b/decomp/AgentManager_Release_x64/full/functions/0x14000d4a0.c new file mode 100644 index 00000000..21408320 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000d4a0.c @@ -0,0 +1,52 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000d4a0 FUN_14000d4a0 + * Pseudocode, not original source. */ + +void FUN_14000d4a0(longlong param_1,undefined4 param_2,undefined8 param_3,longlong param_4) + +{ + LPVOID pvVar1; + undefined4 local_res10 [2]; + undefined4 local_res18 [4]; + undefined8 uVar2; + undefined **local_30; + longlong *local_28; + LPVOID local_20; + ulonglong local_18; + undefined8 local_10; + + local_res18[0] = (undefined4)param_3; + uVar2 = 0xfffffffffffffffe; + local_30 = Proud::CFastArray::vftable; + local_28 = (longlong *)0x0; + local_20 = (LPVOID)0x0; + local_18 = 0; + local_10 = 0; + local_res10[0] = param_2; + FUN_140039670(DAT_14017cf20,(longlong)&local_30,param_3,param_4); + pvVar1 = local_20; + if ((int)local_18 == 0) { + if (local_20 == (LPVOID)0x0) { + return; + } + if (local_28 != (longlong *)0x0) { + (**(code **)(*local_28 + 0x18))(local_28,local_20); + return; + } + } + else { + (**(code **)(*(longlong *)(param_1 + 0x48) + 0xb8)) + ((longlong *)(param_1 + 0x48),local_20,local_18 & 0xffffffff,&DAT_14016f5d0, + local_res10,local_res18,uVar2); + if (pvVar1 == (LPVOID)0x0) { + return; + } + if (local_28 != (longlong *)0x0) { + (**(code **)(*local_28 + 0x18))(local_28,pvVar1); + return; + } + } + FUN_14003e8b0(pvVar1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000d580.c b/decomp/AgentManager_Release_x64/full/functions/0x14000d580.c new file mode 100644 index 00000000..3b145eb2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000d580.c @@ -0,0 +1,197 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000d580 FUN_14000d580 + * Pseudocode, not original source. */ + +void FUN_14000d580(longlong param_1,short *param_2,undefined8 param_3,longlong param_4) + +{ + uint uVar1; + uint uVar2; + int *piVar3; + uint *puVar4; + longlong lVar5; + longlong *plVar6; + LPVOID pvVar7; + undefined ***pppuVar8; + uint *puVar9; + LPVOID pvVar10; + uint uVar11; + uint uVar12; + ulonglong uVar13; + undefined *puVar14; + uint uVar15; + uint *local_res18 [2]; + undefined **local_50; + longlong *local_48; + LPVOID local_40; + ulonglong local_38; + undefined8 local_30; + + local_50 = Proud::CFastArray::vftable; + local_48 = (longlong *)0x0; + local_40 = (LPVOID)0x0; + local_38 = 0; + local_30 = 0; + pppuVar8 = &local_50; + lVar5 = DAT_14017cf20; + FUN_140039670(DAT_14017cf20,(longlong)pppuVar8,param_3,param_4); + uVar15 = 0; + if ((int)local_38 == 0) { + if (local_40 == (LPVOID)0x0) { + return; + } + pvVar7 = local_40; + if (local_48 != (longlong *)0x0) { + (**(code **)(*local_48 + 0x18))(local_48,local_40); + return; + } + goto LAB_14000d87e; + } + FUN_14003e7c0(lVar5,pppuVar8,param_3,param_4); + local_res18[0] = (uint *)PTR_DAT_14016f010; + uVar1 = FUN_14003e620(param_2); + uVar13 = 0; + if ((local_res18[0] != (uint *)0x0) && (uVar13 = 0, local_res18[0] != (uint *)PTR_DAT_14016f010)) + { + uVar13 = (ulonglong)local_res18[0][-2]; + } + uVar2 = uVar1; + if ((((int)uVar1 <= (int)uVar13) && (uVar2 = uVar15, local_res18[0] != (uint *)0x0)) && + (local_res18[0] != (uint *)PTR_DAT_14016f010)) { + uVar2 = local_res18[0][-2]; + } + uVar11 = 1; + if (1 < (int)uVar2) { + uVar11 = uVar2; + } + uVar2 = uVar15; + if ((local_res18[0] != (uint *)0x0) && (local_res18[0] != (uint *)PTR_DAT_14016f010)) { + uVar2 = local_res18[0][-2]; + } + uVar12 = 0; + if ((int)uVar2 < (int)uVar11) { + puVar4 = local_res18[0]; + if (local_res18[0] == (uint *)0x0) { + puVar4 = (uint *)PTR_DAT_14016f010; + } + local_res18[0] = puVar4; + if ((int)uVar11 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar11 == 0) { + local_res18[0] = (uint *)PTR_DAT_14016f010; + if (((puVar4 != (uint *)0x0) && (puVar4 != (uint *)PTR_DAT_14016f010)) && + (puVar4 + -2 != (uint *)0x0)) { + local_res18[0] = puVar4; + piVar3 = (int *)FUN_14003e7c0(puVar4,PTR_DAT_14016f010,uVar13,param_4); + FUN_14003d040(piVar3); + puVar9 = puVar4 + -1; + *puVar9 = *puVar9 - 1; + if (*puVar9 == 0) { + FUN_14003e8b0(puVar4 + -2); + } + FUN_14003d0d0((longlong)piVar3); + local_res18[0] = (uint *)PTR_DAT_14016f010; + } + } + else { + uVar2 = uVar15; + if ((puVar4 != (uint *)0x0) && (puVar4 != (uint *)PTR_DAT_14016f010)) { + uVar2 = puVar4[-2]; + } + if (uVar11 != uVar2) { + puVar4 = (uint *)FUN_14003e840((longlong)(int)uVar11 * 2 + 10); + if (puVar4 != (uint *)0x0) { + *puVar4 = 0; + puVar4[1] = 1; + } + *puVar4 = uVar11; + uVar2 = uVar12; + if ((local_res18[0] != (uint *)0x0) && (local_res18[0] != (uint *)PTR_DAT_14016f010)) { + uVar2 = local_res18[0][-2]; + } + puVar9 = (uint *)PTR_DAT_14016f010; + if ((int)uVar11 < (int)uVar2) { +LAB_14000d73f: + if (local_res18[0] != (uint *)0x0) { + puVar9 = local_res18[0]; + } + } + else { + uVar11 = uVar15; + if (local_res18[0] != (uint *)0x0) { + if (local_res18[0] != (uint *)PTR_DAT_14016f010) { + uVar11 = local_res18[0][-2]; + } + goto LAB_14000d73f; + } + } + uVar13 = (ulonglong)uVar11; + FUN_14003e650(puVar4 + 2,puVar9,uVar11); + FUN_140002190((longlong *)local_res18,puVar9,uVar13,param_4); + local_res18[0] = puVar4 + 2; + } + } + } + FUN_140001df0((longlong *)local_res18); + puVar4 = local_res18[0]; + if (local_res18[0] == (uint *)0x0) { + puVar4 = (uint *)PTR_DAT_14016f010; + } + FUN_14003e650(puVar4,param_2,uVar1); + puVar4 = local_res18[0]; + if (local_res18[0] == (uint *)0x0) { + puVar4 = (uint *)PTR_DAT_14016f010; + } + uVar1 = FUN_14003e620((short *)puVar4); + pvVar7 = local_40; + uVar15 = 0; + if (0 < (int)uVar1) { + uVar15 = uVar1; + } + uVar1 = uVar12; + if ((local_res18[0] != (uint *)0x0) && (local_res18[0] != (uint *)PTR_DAT_14016f010)) { + uVar1 = local_res18[0][-2]; + } + if (((int)uVar15 < (int)uVar1) || (uVar15 = uVar12, local_res18[0] == (uint *)0x0)) { +LAB_14000d7d1: + if (((local_res18[0] != (uint *)PTR_DAT_14016f010) && (local_res18[0] != (uint *)0x0)) && + (local_res18[0] + -2 != (uint *)0x0)) { + local_res18[0][-2] = uVar15; + *(undefined2 *)((longlong)local_res18[0] + (longlong)(int)uVar15 * 2) = 0; + } + } + else if (local_res18[0] != (uint *)PTR_DAT_14016f010) { + uVar15 = local_res18[0][-2]; + goto LAB_14000d7d1; + } + plVar6 = (longlong *)(param_1 + 0x48); + puVar14 = &DAT_14016f5d0; + uVar13 = local_38 & 0xffffffff; + pvVar10 = local_40; + (**(code **)(*plVar6 + 200))(); + puVar4 = local_res18[0]; + if (((local_res18[0] != (uint *)0x0) && (local_res18[0] != (uint *)PTR_DAT_14016f010)) && + (puVar9 = local_res18[0] + -2, puVar9 != (uint *)0x0)) { + piVar3 = (int *)FUN_14003e7c0(plVar6,pvVar10,uVar13,puVar14); + FUN_14003d040(piVar3); + puVar4 = puVar4 + -1; + *puVar4 = *puVar4 - 1; + if (*puVar4 == 0) { + FUN_14003e8b0(puVar9); + } + FUN_14003d0d0((longlong)piVar3); + } + if (pvVar7 == (LPVOID)0x0) { + return; + } + if (local_48 != (longlong *)0x0) { + (**(code **)(*local_48 + 0x18))(local_48,pvVar7); + return; + } +LAB_14000d87e: + FUN_14003e8b0(pvVar7); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000d8a0.c b/decomp/AgentManager_Release_x64/full/functions/0x14000d8a0.c new file mode 100644 index 00000000..b5341cb6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000d8a0.c @@ -0,0 +1,52 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000d8a0 FUN_14000d8a0 + * Pseudocode, not original source. */ + +void FUN_14000d8a0(longlong param_1,undefined1 param_2,undefined8 param_3,longlong param_4) + +{ + LPVOID pvVar1; + undefined1 local_58 [4]; + undefined4 local_54; + undefined **local_50; + longlong *local_48; + LPVOID local_40; + ulonglong local_38; + undefined8 local_30; + undefined8 local_28; + + local_28 = 0xfffffffffffffffe; + local_54 = (undefined4)param_3; + local_50 = Proud::CFastArray::vftable; + local_48 = (longlong *)0x0; + local_40 = (LPVOID)0x0; + local_38 = 0; + local_30 = 0; + local_58[0] = param_2; + FUN_140039670(DAT_14017cf20,(longlong)&local_50,param_3,param_4); + pvVar1 = local_40; + if ((int)local_38 == 0) { + if (local_40 == (LPVOID)0x0) { + return; + } + if (local_48 != (longlong *)0x0) { + (**(code **)(*local_48 + 0x18))(local_48,local_40); + return; + } + } + else { + (**(code **)(*(longlong *)(param_1 + 0x48) + 0xd8)) + ((longlong *)(param_1 + 0x48),local_40,local_38 & 0xffffffff,&DAT_14016f5d0,local_58, + &local_54,param_4); + if (pvVar1 == (LPVOID)0x0) { + return; + } + if (local_48 != (longlong *)0x0) { + (**(code **)(*local_48 + 0x18))(local_48,pvVar1); + return; + } + } + FUN_14003e8b0(pvVar1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000d980.c b/decomp/AgentManager_Release_x64/full/functions/0x14000d980.c new file mode 100644 index 00000000..59c46748 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000d980.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000d980 FUN_14000d980 + * Pseudocode, not original source. */ + +undefined8 * FUN_14000d980(undefined8 *param_1,uint param_2) + +{ + *param_1 = Proud::CFastArray::vftable; + if ((LPVOID)param_1[2] != (LPVOID)0x0) { + if ((longlong *)param_1[1] == (longlong *)0x0) { + FUN_14003e8b0((LPVOID)param_1[2]); + } + else { + (**(code **)(*(longlong *)param_1[1] + 0x18))(); + } + } + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000d9e0.c b/decomp/AgentManager_Release_x64/full/functions/0x14000d9e0.c new file mode 100644 index 00000000..0d59b227 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000d9e0.c @@ -0,0 +1,20 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000d9e0 FUN_14000d9e0 + * Pseudocode, not original source. */ + +void FUN_14000d9e0(undefined8 *param_1) + +{ + *param_1 = Proud::CFastArray::vftable; + if ((LPVOID)param_1[2] != (LPVOID)0x0) { + if ((longlong *)param_1[1] != (longlong *)0x0) { + /* WARNING: Could not recover jumptable at 0x00014000da07. Too many branches */ + /* WARNING: Treating indirect jump as call */ + (**(code **)(*(longlong *)param_1[1] + 0x18))(); + return; + } + FUN_14003e8b0((LPVOID)param_1[2]); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000da20.c b/decomp/AgentManager_Release_x64/full/functions/0x14000da20.c new file mode 100644 index 00000000..0de19e9d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000da20.c @@ -0,0 +1,26 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000da20 FUN_14000da20 + * Pseudocode, not original source. */ + +undefined8 * +FUN_14000da20(undefined8 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + ulonglong uVar1; + undefined7 uVar2; + + uVar2 = (undefined7)((ulonglong)param_3 >> 8); + *param_1 = MGRemoteAgentMonitorManager::vftable; + param_1[1] = 0; + param_1[2] = 0; + param_1[3] = 0; + param_1[4] = 0x30; + param_1[5] = 0x20; + param_1[6] = 0x20; + FUN_14000c1f0(param_1 + 7); + uVar1 = FUN_140094860(); + FUN_14003cf60((undefined4 *)(param_1 + 0xf),uVar1 & 0xffffffff,CONCAT71(uVar2,1),param_4); + FUN_14000db30((longlong)param_1); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000daa0.c b/decomp/AgentManager_Release_x64/full/functions/0x14000daa0.c new file mode 100644 index 00000000..6c4aa698 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000daa0.c @@ -0,0 +1,26 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000daa0 FUN_14000daa0 + * Pseudocode, not original source. */ + +undefined8 * +FUN_14000daa0(undefined8 *param_1,ulonglong param_2,undefined8 param_3,undefined8 param_4) + +{ + ulonglong uVar1; + + *param_1 = MGRemoteAgentMonitorManager::vftable; + uVar1 = param_2; + FUN_14000db30((longlong)param_1); + FUN_14003d110((undefined4 *)(param_1 + 0xf),uVar1,param_3,param_4); + if (param_1[7] != 0) { + FUN_14003b510(param_1 + 7); + } + FUN_14000e0c0(param_1 + 1); + *param_1 = MBISingleton::vftable; + DAT_14017cf38 = 0; + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000db30.c b/decomp/AgentManager_Release_x64/full/functions/0x14000db30.c new file mode 100644 index 00000000..fab23a51 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000db30.c @@ -0,0 +1,77 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000db30 FUN_14000db30 + * Pseudocode, not original source. */ + +void FUN_14000db30(longlong param_1) + +{ + undefined8 *puVar1; + longlong lVar2; + ulonglong *puVar3; + ulonglong *puVar4; + longlong lVar5; + undefined8 *puVar6; + undefined8 *puVar7; + undefined8 *puVar8; + undefined8 *local_38; + undefined8 *puStack_30; + + FUN_14003d040((int *)(param_1 + 0x78)); + if (*(longlong *)(param_1 + 0x58) == 0) { + local_38 = (undefined8 *)0x0; + } + else { + local_38 = *(undefined8 **)(param_1 + 0x68); + if (local_38 != (undefined8 *)0x0) { + puStack_30 = (undefined8 *)*local_38; + goto joined_r0x00014000db89; + } + } + puStack_30 = (undefined8 *)0x0; +joined_r0x00014000db89: + do { + if (puStack_30 == (undefined8 *)0x0) { + if (*(longlong *)(param_1 + 0x58) != 0) { + puVar8 = *(undefined8 **)(param_1 + 0x38); + puVar1 = puVar8 + *(longlong *)(param_1 + 0x40); + for (; puVar8 != puVar1; puVar8 = puVar8 + 1) { + puVar6 = (undefined8 *)*puVar8; + *puVar8 = 0; + while (puVar6 != (undefined8 *)0x0) { + puVar7 = (undefined8 *)*puVar6; + operator_delete(puVar6); + puVar6 = puVar7; + } + } + *(undefined8 **)(param_1 + 0x68) = puVar1; + *(undefined8 *)(param_1 + 0x58) = 0; + } + FUN_14003d0d0(param_1 + 0x78); + return; + } + puVar3 = (ulonglong *)puStack_30[2]; + if (puVar3 != (ulonglong *)0x0) { + lVar5 = *(longlong *)(param_1 + 0x18); + for (puVar4 = *(ulonglong **)(param_1 + 0x10); puVar4 != (ulonglong *)0x0; + puVar4 = *(ulonglong **)(lVar2 + (longlong)puVar4)) { + if ((puVar4 <= puVar3) && (puVar3 < (ulonglong *)(lVar5 + -0x10 + (longlong)puVar4))) { + if (puVar4 != (ulonglong *)0x0) { + FUN_14000e040((undefined8 *)(param_1 + 8),puVar3); + } + break; + } + lVar2 = lVar5 + -0x10; + lVar5 = *(longlong *)(lVar5 + -8 + (longlong)puVar4); + } + } + for (puStack_30 = (undefined8 *)*puStack_30; puStack_30 == (undefined8 *)0x0; + puStack_30 = (undefined8 *)*puStack_30) { + puStack_30 = local_38 + 1; + local_38 = local_38 + 1; + } + if (local_38 == puStack_30) { + puStack_30 = (undefined8 *)0x0; + } + } while( true ); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000dcb0.c b/decomp/AgentManager_Release_x64/full/functions/0x14000dcb0.c new file mode 100644 index 00000000..26d25d1a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000dcb0.c @@ -0,0 +1,61 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000dcb0 FUN_14000dcb0 + * Pseudocode, not original source. */ + +void FUN_14000dcb0(longlong param_1,int param_2) + +{ + ulonglong *puVar1; + longlong lVar2; + longlong *plVar3; + longlong *plVar4; + bool bVar5; + ulonglong uVar6; + longlong *plVar7; + longlong *plVar8; + longlong *local_28; + + if (*(longlong *)(param_1 + 0x58) != 0) { + uVar6 = (ulonglong)(longlong)param_2 % *(ulonglong *)(param_1 + 0x40); + local_28 = (longlong *)(*(longlong *)(param_1 + 0x38) + uVar6 * 8); + for (plVar7 = *(longlong **)(*(longlong *)(param_1 + 0x38) + uVar6 * 8); + plVar7 != (longlong *)0x0; plVar7 = (longlong *)*plVar7) { + if (param_2 == (int)plVar7[1]) { + if (plVar7 != (longlong *)0x0) goto LAB_14000dcfb; + break; + } + } + } + plVar7 = (longlong *)0x0; + local_28 = (longlong *)0x0; +LAB_14000dcfb: + if ((plVar7 != (longlong *)0x0) && (puVar1 = (ulonglong *)plVar7[2], puVar1 != (ulonglong *)0x0)) + { + FUN_14003d040((int *)(param_1 + 0x78)); + bVar5 = FUN_14000df80(param_1 + 8,(ulonglong)puVar1); + if (bVar5) { + FUN_14000e040((undefined8 *)(param_1 + 8),puVar1); + } + lVar2 = *plVar7; + plVar8 = local_28; + while (lVar2 == 0) { + plVar8 = plVar8 + 1; + lVar2 = *plVar8; + } + *(longlong *)(param_1 + 0x58) = *(longlong *)(param_1 + 0x58) + -1; + plVar3 = (longlong *)*local_28; + plVar4 = local_28; + while (plVar3 != plVar7) { + plVar4 = (longlong *)*plVar4; + plVar3 = (longlong *)*plVar4; + } + *plVar4 = *plVar7; + operator_delete(plVar7); + if ((local_28 == *(longlong **)(param_1 + 0x68)) && (*local_28 == 0)) { + *(longlong **)(param_1 + 0x68) = plVar8; + } + FUN_14003d0d0(param_1 + 0x78); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000dde0.c b/decomp/AgentManager_Release_x64/full/functions/0x14000dde0.c new file mode 100644 index 00000000..c69ac8d8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000dde0.c @@ -0,0 +1,49 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000dde0 FUN_14000dde0 + * Pseudocode, not original source. */ + +int * FUN_14000dde0(longlong param_1,int param_2) + +{ + longlong *plVar1; + undefined8 *puVar2; + int *piVar3; + int *piVar4; + int local_60 [2]; + int *local_58; + int *local_50; + undefined1 local_48; + undefined8 local_40 [3]; + longlong local_28 [4]; + + plVar1 = (longlong *)(param_1 + 0x38); + if (*(longlong *)(param_1 + 0x58) != 0) { + for (puVar2 = *(undefined8 **) + (*plVar1 + ((ulonglong)(longlong)param_2 % *(ulonglong *)(param_1 + 0x40)) * 8); + puVar2 != (undefined8 *)0x0; puVar2 = (undefined8 *)*puVar2) { + if (param_2 == *(int *)(puVar2 + 1)) { + if ((puVar2 != (undefined8 *)0x0) && (puVar2[2] != 0)) { + return (int *)0x0; + } + break; + } + } + } + piVar3 = (int *)FUN_14000dfe0((undefined8 *)(param_1 + 8)); + *piVar3 = param_2; + piVar4 = (int *)(param_1 + 0x78); + local_50 = piVar4; + FUN_14003d040(piVar4); + local_48 = 1; + local_60[0] = param_2; + local_58 = piVar3; + if (*(longlong *)(param_1 + 0x58) == 0) { + FUN_14003c840(plVar1,local_28,local_60); + } + else { + FUN_14000e3f0(plVar1,local_40,local_60,local_60); + } + FUN_14003d0d0((longlong)piVar4); + return piVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000ded0.c b/decomp/AgentManager_Release_x64/full/functions/0x14000ded0.c new file mode 100644 index 00000000..43facb55 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000ded0.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000ded0 FUN_14000ded0 + * Pseudocode, not original source. */ + +void FUN_14000ded0(longlong param_1,longlong param_2) + +{ + undefined8 *local_18; + undefined8 *local_10; + + if (*(longlong *)(param_1 + 0x58) == 0) { + local_18 = (undefined8 *)0x0; + } + else { + local_18 = *(undefined8 **)(param_1 + 0x68); + if (local_18 != (undefined8 *)0x0) { + local_10 = (undefined8 *)*local_18; + goto joined_r0x00014000df20; + } + } + local_10 = (undefined8 *)0x0; +joined_r0x00014000df20: + while (local_10 != (undefined8 *)0x0) { + if (local_10[2] != 0) { + FUN_140037f20(param_2,*(int *)(param_2 + 0x18),local_10[2],1); + } + for (local_10 = (undefined8 *)*local_10; local_10 == (undefined8 *)0x0; + local_10 = (undefined8 *)*local_10) { + local_10 = local_18 + 1; + local_18 = local_18 + 1; + } + if (local_18 == local_10) { + local_10 = (undefined8 *)0x0; + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000df80.c b/decomp/AgentManager_Release_x64/full/functions/0x14000df80.c new file mode 100644 index 00000000..5a40743d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000df80.c @@ -0,0 +1,27 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000df80 FUN_14000df80 + * Pseudocode, not original source. */ + +bool FUN_14000df80(longlong param_1,ulonglong param_2) + +{ + ulonglong uVar1; + ulonglong uVar2; + bool bVar3; + undefined8 uStack_20; + + uStack_20 = *(longlong *)(param_1 + 0x10); + bVar3 = *(ulonglong *)(param_1 + 8) == 0; + uVar1 = *(ulonglong *)(param_1 + 8); + if (!bVar3) { + do { + if ((uVar1 <= param_2) && (uVar2 = uVar1, param_2 < (uVar1 - 0x10) + uStack_20)) break; + uVar2 = *(ulonglong *)((uVar1 - 0x10) + uStack_20); + uStack_20 = *(longlong *)((uVar1 - 8) + uStack_20); + uVar1 = uVar2; + } while (uVar2 != 0); + bVar3 = uVar2 == 0; + } + return !bVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000dfe0.c b/decomp/AgentManager_Release_x64/full/functions/0x14000dfe0.c new file mode 100644 index 00000000..0368c641 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000dfe0.c @@ -0,0 +1,28 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000dfe0 FUN_14000dfe0 + * Pseudocode, not original source. */ + +undefined8 * FUN_14000dfe0(undefined8 *param_1) + +{ + undefined8 *puVar1; + + puVar1 = (undefined8 *)*param_1; + if (puVar1 == (undefined8 *)0x0) { + puVar1 = (undefined8 *)FUN_14000e270(param_1); + } + else { + *param_1 = *puVar1; + } + if (puVar1 == (undefined8 *)0x0) { + puVar1 = (undefined8 *)0x0; + } + else { + *(undefined4 *)puVar1 = 0; + puVar1[4] = 7; + puVar1[3] = 0; + *(undefined2 *)(puVar1 + 1) = 0; + } + return puVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000e040.c b/decomp/AgentManager_Release_x64/full/functions/0x14000e040.c new file mode 100644 index 00000000..57aefc5f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000e040.c @@ -0,0 +1,31 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000e040 FUN_14000e040 + * Pseudocode, not original source. */ + +void FUN_14000e040(undefined8 *param_1,ulonglong *param_2) + +{ + ulonglong *puVar1; + ulonglong *puVar2; + + if (7 < param_2[4]) { + operator_delete((void *)param_2[1]); + } + param_2[4] = 7; + param_2[3] = 0; + *(undefined2 *)(param_2 + 1) = 0; + puVar1 = (ulonglong *)*param_1; + if ((puVar1 != (ulonglong *)0x0) && (puVar1 <= param_2)) { + for (puVar2 = (ulonglong *)*puVar1; (puVar2 != (ulonglong *)0x0 && (puVar2 <= param_2)); + puVar2 = (ulonglong *)*puVar2) { + puVar1 = puVar2; + } + *param_2 = *puVar1; + *puVar1 = (ulonglong)param_2; + return; + } + *param_2 = (ulonglong)puVar1; + *param_1 = param_2; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000e0c0.c b/decomp/AgentManager_Release_x64/full/functions/0x14000e0c0.c new file mode 100644 index 00000000..a04cb251 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000e0c0.c @@ -0,0 +1,77 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000e0c0 FUN_14000e0c0 + * Pseudocode, not original source. */ + +void FUN_14000e0c0(undefined8 *param_1) + +{ + ulonglong *puVar1; + ulonglong uVar2; + ulonglong *puVar3; + longlong lVar4; + void *pvVar5; + ulonglong uVar6; + ulonglong uVar7; + ulonglong uVar8; + ulonglong *puVar9; + ulonglong *puVar10; + void *local_68; + longlong lStack_60; + ulonglong *local_58; + longlong lStack_50; + + if (param_1[1] != 0) { + uVar2 = param_1[3]; + puVar10 = (ulonglong *)*param_1; + uVar6 = uVar2; + uVar8 = 8; + do { + uVar7 = uVar8; + uVar8 = uVar6 % uVar7; + uVar6 = uVar7; + } while (uVar8 != 0); + local_58 = (ulonglong *)param_1[1]; + lStack_50 = param_1[2]; + do { + puVar3 = *(ulonglong **)(lStack_50 + -0x10 + (longlong)local_58); + lVar4 = *(longlong *)(lStack_50 + -8 + (longlong)local_58); + puVar1 = (ulonglong *)(lStack_50 + -0x10 + (longlong)local_58); + if (local_58 != puVar1) { + puVar9 = local_58 + 4; + do { + if (puVar9 + -4 == puVar10) { + puVar10 = (ulonglong *)*puVar10; + } + else { + if (7 < *puVar9) { + operator_delete((void *)puVar9[-3]); + } + *puVar9 = 7; + puVar9[-1] = 0; + *(undefined2 *)(puVar9 + -3) = 0; + } + puVar9 = puVar9 + uVar2 / uVar7; + } while (puVar9 + -4 != puVar1); + } + operator_delete__(local_58); + local_58 = puVar3; + lStack_50 = lVar4; + } while (puVar3 != (ulonglong *)0x0); + param_1[1] = 0; + } + lStack_60 = param_1[2]; + local_68 = (void *)param_1[1]; + if ((void *)param_1[1] != (void *)0x0) { + do { + pvVar5 = *(void **)(lStack_60 + -0x10 + (longlong)local_68); + lStack_60 = *(longlong *)(lStack_60 + -8 + (longlong)local_68); + operator_delete__(local_68); + local_68 = pvVar5; + } while (pvVar5 != (void *)0x0); + param_1[1] = 0; + *param_1 = 0; + param_1[4] = param_1[5]; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000e270.c b/decomp/AgentManager_Release_x64/full/functions/0x14000e270.c new file mode 100644 index 00000000..a7c1b700 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000e270.c @@ -0,0 +1,72 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000e270 FUN_14000e270 + * Pseudocode, not original source. */ + +void FUN_14000e270(undefined8 *param_1) + +{ + longlong lVar1; + undefined8 *puVar2; + longlong lVar3; + undefined8 uVar4; + ulonglong uVar5; + undefined8 *puVar6; + undefined8 *puVar7; + ulonglong uVar8; + longlong lVar9; + __uint64 _Var10; + ulonglong uVar11; + + uVar11 = param_1[3]; + uVar8 = 8; + do { + uVar5 = uVar8; + uVar8 = uVar11 % uVar5; + uVar11 = uVar5; + } while (uVar8 != 0); + uVar5 = (ulonglong)param_1[3] / uVar5; + uVar11 = uVar5 * 8; + lVar9 = param_1[4] * uVar11; + _Var10 = lVar9 + 0x10; + puVar6 = (undefined8 *)thunk_FUN_140049ad0(_Var10); + if (puVar6 != (undefined8 *)0x0) { + param_1[4] = param_1[4] << 1; + puVar7 = (undefined8 *)((((_Var10 + uVar5 * -8) - 0x10) / uVar11) * uVar11 + (longlong)puVar6); + *puVar7 = *param_1; + if (puVar7 != puVar6) { + for (puVar2 = puVar7 + -uVar5; puVar2 != puVar6; puVar2 = puVar2 + -uVar5) { + *puVar2 = puVar7; + puVar7 = puVar2; + } + *puVar6 = puVar7; + } + puVar7 = (undefined8 *)param_1[1]; + *param_1 = puVar6; + if ((puVar7 == (undefined8 *)0x0) || (puVar6 < puVar7)) { + *(undefined8 **)((longlong)puVar6 + lVar9) = puVar7; + *(undefined8 *)((longlong)puVar6 + lVar9 + 8) = param_1[2]; + param_1[1] = puVar6; + param_1[2] = _Var10; + } + else { + lVar3 = param_1[2]; + lVar1 = *(longlong *)(lVar3 + -0x10 + (longlong)param_1[1]); + puVar7 = (undefined8 *)param_1[1]; + while ((lVar1 != 0 && + (puVar2 = *(undefined8 **)(lVar3 + -0x10 + (longlong)puVar7), puVar2 <= puVar6))) { + lVar3 = *(longlong *)(lVar3 + -8 + (longlong)puVar7); + lVar1 = *(longlong *)(lVar3 + -0x10 + (longlong)puVar2); + puVar7 = puVar2; + } + uVar4 = *(undefined8 *)(lVar3 + -8 + (longlong)puVar7); + *(undefined8 *)((longlong)puVar6 + lVar9) = *(undefined8 *)(lVar3 + -0x10 + (longlong)puVar7); + *(undefined8 *)((longlong)puVar6 + lVar9 + 8) = uVar4; + *(undefined8 **)(lVar3 + -0x10 + (longlong)puVar7) = puVar6; + *(__uint64 *)(lVar3 + -8 + (longlong)puVar7) = _Var10; + } + *param_1 = *(undefined8 *)*param_1; + return; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000e3f0.c b/decomp/AgentManager_Release_x64/full/functions/0x14000e3f0.c new file mode 100644 index 00000000..2fb5df7d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000e3f0.c @@ -0,0 +1,82 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000e3f0 FUN_14000e3f0 + * Pseudocode, not original source. */ + +undefined8 * FUN_14000e3f0(longlong *param_1,undefined8 *param_2,int *param_3,undefined4 *param_4) + +{ + int iVar1; + ulonglong uVar2; + undefined8 *puVar3; + undefined *puVar4; + undefined8 *puVar5; + char **ppcVar6; + undefined8 *puVar7; + char *local_res8; + char *local_res18 [2]; + undefined **local_48; + undefined8 local_40; + undefined8 local_38; + + iVar1 = *param_3; + puVar7 = (undefined8 *)(*param_1 + ((ulonglong)(longlong)iVar1 % (ulonglong)param_1[1]) * 8); + puVar3 = (undefined8 *)*puVar7; + do { + if (puVar3 == (undefined8 *)0x0) { +LAB_14000e459: + puVar3 = operator_new(0x18); + if (puVar3 != (undefined8 *)0x0) { + *puVar3 = 0; + puVar3[1] = local_40; + puVar3[2] = local_38; + if (puVar3 + 1 != (undefined8 *)0x0) { + *(undefined4 *)(puVar3 + 1) = *param_4; + puVar3[2] = *(undefined8 *)(param_4 + 2); + } + uVar2 = param_1[4]; + local_res18[0] = (char *)(uVar2 + 1); + if ((char *)param_1[7] <= local_res18[0]) { + local_res8 = (char *)((uVar2 >> 1) + uVar2); + ppcVar6 = &local_res8; + if (local_res8 <= local_res18[0]) { + ppcVar6 = local_res18; + } + puVar4 = FUN_140037260((longlong)param_1,(longlong)*ppcVar6); + if (puVar4 != (undefined *)param_1[1]) { + FUN_14003ba00(param_1,(ulonglong)puVar4); + puVar7 = (undefined8 *) + (*param_1 + ((ulonglong)(longlong)iVar1 % (ulonglong)param_1[1]) * 8); + } + } + *puVar3 = *puVar7; + *puVar7 = puVar3; + param_1[4] = param_1[4] + 1; + puVar5 = (undefined8 *)param_1[6]; + if (puVar7 < (undefined8 *)param_1[6]) { + puVar5 = puVar7; + } + param_1[6] = (longlong)puVar5; + *param_2 = puVar7; + param_2[1] = puVar3; + *(undefined1 *)(param_2 + 2) = 1; + return param_2; + } + local_res8 = (char *)0x0; + std::exception::exception((exception *)&local_48,&local_res8); + local_48 = std::bad_alloc::vftable; + /* WARNING: Subroutine does not return */ + _CxxThrowException(&local_48,(ThrowInfo *)&DAT_14016c158); + } + if (iVar1 == *(int *)(puVar3 + 1)) { + if (puVar3 != (undefined8 *)0x0) { + *param_2 = puVar7; + param_2[1] = puVar3; + *(undefined1 *)(param_2 + 2) = 0; + return param_2; + } + goto LAB_14000e459; + } + puVar3 = (undefined8 *)*puVar3; + } while( true ); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000e5b0.c b/decomp/AgentManager_Release_x64/full/functions/0x14000e5b0.c new file mode 100644 index 00000000..4f4847d0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000e5b0.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000e5b0 FUN_14000e5b0 + * Pseudocode, not original source. */ + +undefined8 * FUN_14000e5b0(undefined8 *param_1,byte param_2) + +{ + DAT_14017cf38 = 0; + *param_1 = MBISingleton::vftable; + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000e5f0.c b/decomp/AgentManager_Release_x64/full/functions/0x14000e5f0.c new file mode 100644 index 00000000..4114cb3d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000e5f0.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000e5f0 FUN_14000e5f0 + * Pseudocode, not original source. */ + +void FUN_14000e5f0(undefined8 *param_1) + +{ + DAT_14017cf38 = 0; + *param_1 = MBISingleton::vftable; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000e610.c b/decomp/AgentManager_Release_x64/full/functions/0x14000e610.c new file mode 100644 index 00000000..4eeb6238 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000e610.c @@ -0,0 +1,486 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000e610 FUN_14000e610 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* WARNING: Type propagation algorithm not settling */ + +ulonglong FUN_14000e610(char *param_1,longlong *param_2) + +{ + char cVar1; + ulonglong uVar2; + int iVar3; + uint uVar4; + uint uVar5; + undefined4 extraout_var; + ulonglong *puVar6; + longlong *plVar7; + ulonglong *puVar8; + undefined1 *puVar9; + undefined4 extraout_var_00; + ulonglong extraout_RAX; + ulonglong extraout_RAX_00; + ulonglong extraout_RAX_01; + undefined4 extraout_var_01; + longlong extraout_RAX_02; + longlong extraout_RAX_03; + ulonglong extraout_RAX_04; + ulonglong uVar10; + longlong lVar11; + ulonglong *puVar12; + char *pcVar13; + undefined8 **_Buf2; + undefined8 *puVar14; + ulonglong *puVar15; + ulonglong uVar16; + longlong lVar17; + ulonglong _Size; + char *pcVar18; + undefined1 auStack_278 [32]; + ulonglong *local_258; + ulonglong *local_250; + ulonglong *local_248; + longlong local_238; + ulonglong local_230; + ulonglong *local_228; + ulonglong *local_220; + longlong *local_218; + undefined8 local_210; + ulonglong local_208 [2]; + ulonglong local_1f8; + ulonglong local_1f0; + char local_1e0; + undefined7 uStack_1df; + undefined8 local_1d0; + ulonglong local_1c8; + void *local_1b8 [2]; + longlong local_1a8; + ulonglong local_1a0; + undefined1 local_190; + undefined7 uStack_18f; + undefined8 local_180; + ulonglong local_178; + char local_168; + undefined7 uStack_167; + undefined8 local_158; + ulonglong local_150; + longlong local_140 [2]; + undefined8 local_130; + ulonglong local_128; + ulonglong local_118 [2]; + undefined8 local_108; + ulonglong local_100; + void *local_e8 [2]; + longlong local_d8; + ulonglong local_d0; + undefined1 local_c0; + undefined7 uStack_bf; + undefined8 local_b0; + ulonglong local_a8; + undefined1 local_98; + undefined7 uStack_97; + undefined8 local_88; + ulonglong local_80; + undefined1 local_70; + undefined7 uStack_6f; + undefined8 local_60; + ulonglong local_58; + ulonglong local_48; + + local_210 = 0xfffffffffffffffe; + local_48 = DAT_14016f5a0 ^ (ulonglong)auStack_278; + local_218 = param_2; + if (*(char *)(DAT_14017cf10 + 0x46) != '\0') { + printf("API SERVER - XML FORMAT EXPORT START-----------------------------------------\n"); + } + local_1f0 = 0xf; + local_1f8 = 0; + local_208[0]._0_1_ = 0; + uVar10 = 0xffffffffffffffff; + pcVar18 = param_1; + do { + if (uVar10 == 0) break; + uVar10 = uVar10 - 1; + cVar1 = *pcVar18; + pcVar18 = pcVar18 + 1; + } while (cVar1 != '\0'); + FUN_14000c9e0(local_208,param_1,~uVar10 - 1); + uVar5 = (uint)local_1f8; + if ((int)(uint)local_1f8 < 1) { + iVar3 = printf("XML EXPORT ERROR - SIZE(%d) \n",local_1f8 & 0xffffffff); + uVar10 = CONCAT44(extraout_var,iVar3); + } + else { + puVar8 = (ulonglong *)0x0; + local_258 = (ulonglong *)0x0; + local_250 = (ulonglong *)0x0; + local_248 = (ulonglong *)0x0; + uVar10 = 1; + puVar12 = puVar8; + if ((uint)local_1f8 - 1 != 0) { + lVar11 = -(longlong)param_1; + uVar16 = (ulonglong)((uint)local_1f8 - 1); + pcVar18 = param_1; + local_238 = lVar11; + do { + if ((*pcVar18 == '<') && + (pcVar13 = pcVar18, uVar2 = uVar10, uVar4 = (uint)uVar10, + (pcVar18 + lVar11 + 1)[(longlong)param_1] != '/')) { + while (uVar4 < uVar5) { + if (pcVar13[1] == '>') { + pcVar13 = param_1 + uVar10; + local_100 = 0xf; + local_108 = 0; + local_118[0]._0_1_ = 0; + local_230 = uVar16; + if (pcVar13 != param_1 + uVar2) { + FUN_14000c9e0(local_118,pcVar13,(longlong)(param_1 + uVar2) - (longlong)pcVar13); + puVar8 = local_258; + puVar12 = local_250; + } + if ((local_118 < puVar12) && (puVar8 <= local_118)) { + puVar15 = puVar8; + if (puVar12 == local_248) { + FUN_14000ff00((longlong *)&local_258); + puVar15 = local_258; + puVar12 = local_250; + } + uVar16 = local_230; + puVar6 = (ulonglong *)0x0; + local_228 = puVar12; + local_220 = puVar12; + if (puVar12 != (ulonglong *)0x0) { + puVar12[3] = 0xf; + puVar12[2] = 0; + puVar6 = puVar12; + if (0xf < puVar12[3]) { + puVar6 = (ulonglong *)*puVar12; + } + *(undefined1 *)puVar6 = 0; + FUN_14000c660((longlong *)puVar12, + (longlong *) + (puVar15 + (((longlong)local_118 - (longlong)puVar8) / 0x28) * 5),0, + 0xffffffffffffffff); + puVar15 = local_258; + uVar16 = local_230; + puVar6 = local_250; + } + } + else { + if (puVar12 == local_248) { + FUN_14000ff00((longlong *)&local_258); + puVar8 = local_258; + puVar12 = local_250; + } + puVar15 = puVar8; + puVar6 = (ulonglong *)0x0; + local_228 = puVar12; + local_220 = puVar12; + if (puVar12 != (ulonglong *)0x0) { + puVar12[3] = 0xf; + puVar12[2] = 0; + puVar8 = puVar12; + if (0xf < puVar12[3]) { + puVar8 = (ulonglong *)*puVar12; + } + *(undefined1 *)puVar8 = 0; + FUN_14000c660((longlong *)puVar12,(longlong *)local_118,0,0xffffffffffffffff); + puVar15 = local_258; + puVar6 = local_250; + } + } + local_250 = puVar6 + 5; + puVar8 = puVar15; + if (0xf < local_100) { + operator_delete((void *)CONCAT71(local_118[0]._1_7_,(undefined1)local_118[0])); + puVar8 = local_258; + } + local_100 = 0xf; + local_108 = 0; + local_118[0]._0_1_ = 0; + lVar11 = local_238; + puVar12 = local_250; + break; + } + uVar4 = (int)uVar2 + 1; + lVar11 = local_238; + pcVar13 = pcVar13 + 1; + uVar2 = (ulonglong)uVar4; + } + } + uVar10 = (ulonglong)((uint)uVar10 + 1); + pcVar18 = pcVar18 + 1; + uVar16 = uVar16 - 1; + } while (uVar16 != 0); + local_230 = 0; + param_2 = local_218; + } + uVar10 = DAT_140175058; + uVar16 = 1; + lVar11 = (longlong)puVar12 - (longlong)puVar8 >> 0x3f; + lVar17 = ((longlong)puVar12 - (longlong)puVar8) / 0x28 + lVar11; + if (lVar17 != lVar11) { + _Buf2 = &DAT_140175048; + if (0xf < DAT_140175060) { + _Buf2 = (undefined8 **)DAT_140175048; + } + uVar2 = puVar8[2]; + puVar12 = puVar8; + if (0xf < puVar8[3]) { + puVar12 = (ulonglong *)*puVar8; + } + _Size = DAT_140175058; + if (uVar2 < DAT_140175058) { + _Size = uVar2; + } + uVar5 = memcmp(puVar12,_Buf2,_Size); + if (uVar5 == 0) { + if (uVar2 < uVar10) { + uVar5 = 0xffffffff; + } + else { + uVar5 = (uint)(uVar2 != uVar10); + } + } + if ((uVar5 == 0) && (1 < (ulonglong)(lVar17 - lVar11))) { + lVar11 = 0x28; + do { + plVar7 = FUN_140010200((longlong *)&local_98,puVar8 + uVar16 * 5); + FUN_1400102b0((undefined8 *)&local_1e0,plVar7); + if (0xf < local_80) { + operator_delete((void *)CONCAT71(uStack_97,local_98)); + } + local_80 = 0xf; + local_88 = 0; + local_98 = 0; + puVar8 = FUN_140010300((ulonglong *)&local_70,local_258 + uVar16 * 5); + FUN_1400102b0((undefined8 *)&local_168,(longlong *)puVar8); + if (0xf < local_58) { + operator_delete((void *)CONCAT71(uStack_6f,local_70)); + } + local_58 = 0xf; + local_60 = 0; + local_70 = 0; + pcVar18 = &local_1e0; + if (0xf < local_1c8) { + pcVar18 = (char *)CONCAT71(uStack_1df,local_1e0); + } + uVar10 = 0xffffffffffffffff; + pcVar13 = pcVar18; + do { + if (uVar10 == 0) break; + uVar10 = uVar10 - 1; + cVar1 = *pcVar13; + pcVar13 = pcVar13 + 1; + } while (cVar1 != '\0'); + lVar17 = FUN_14000fcf0(local_208,pcVar18,~uVar10 - 1); + iVar3 = (int)local_1d0 + (int)lVar17; + pcVar18 = &local_168; + if (0xf < local_150) { + pcVar18 = (char *)CONCAT71(uStack_167,local_168); + } + uVar10 = 0xffffffffffffffff; + pcVar13 = pcVar18; + do { + if (uVar10 == 0) break; + uVar10 = uVar10 - 1; + cVar1 = *pcVar13; + pcVar13 = pcVar13 + 1; + } while (cVar1 != '\0'); + lVar17 = FUN_14000fcf0(local_208,pcVar18,~uVar10 - 1); + if ((iVar3 == -1) || ((int)lVar17 == -1)) { + iVar3 = printf("XML EXPORT ERROR - DATA ERROR \n"); + uVar10 = CONCAT44(extraout_var_00,iVar3); + if (0xf < local_150) { + operator_delete((void *)CONCAT71(uStack_167,local_168)); + uVar10 = extraout_RAX; + } + local_150 = 0xf; + local_158 = 0; + local_168 = '\0'; + if (0xf < local_1c8) { + operator_delete((void *)CONCAT71(uStack_1df,local_1e0)); + uVar10 = extraout_RAX_00; + } + puVar12 = local_250; + local_1c8 = 0xf; + local_1d0 = 0; + local_1e0 = '\0'; + puVar8 = local_258; + if (local_258 != (ulonglong *)0x0) { + for (; puVar8 != puVar12; puVar8 = puVar8 + 5) { + if (0xf < puVar8[3]) { + operator_delete((void *)*puVar8); + } + puVar8[3] = 0xf; + puVar8[2] = 0; + *(undefined1 *)puVar8 = 0; + } + operator_delete(local_258); + uVar10 = extraout_RAX_01; + } + local_258 = (ulonglong *)0x0; + local_250 = (ulonglong *)0x0; + local_248 = (ulonglong *)0x0; + goto LAB_14000ef81; + } + puVar9 = (undefined1 *)local_208; + if (0xf < local_1f0) { + puVar9 = (undefined1 *)CONCAT71(local_208[0]._1_7_,(undefined1)local_208[0]); + } + local_128 = 0xf; + local_130 = 0; + local_140[0]._0_1_ = 0; + FUN_1400104e0(local_140,puVar9 + iVar3,puVar9 + (int)lVar17); + local_1a0 = 0xf; + local_1a8 = 0; + local_1b8[0] = (void *)((ulonglong)local_1b8[0] & 0xffffffffffffff00); + FUN_14000c660((longlong *)local_1b8,(longlong *)(local_258 + uVar16 * 5),0, + 0xffffffffffffffff); + local_178 = 0xf; + local_180 = 0; + local_190 = 0; + FUN_14000c660((longlong *)&local_190,local_140,0,0xffffffffffffffff); + local_d0 = 0xf; + local_d8 = 0; + local_e8[0] = (void *)((ulonglong)local_e8[0] & 0xffffffffffffff00); + if (local_1a0 < 0x10) { + memmove(local_e8,local_1b8,local_1a8 + 1); + local_d0 = local_1a0; + } + else { + local_e8[0] = local_1b8[0]; + local_1b8[0] = (void *)0x0; + local_d0 = local_1a0; + } + local_d8 = local_1a8; + local_1a0 = 0xf; + local_1a8 = 0; + local_1b8[0] = (void *)((ulonglong)local_1b8[0] & 0xffffffffffffff00); + local_a8 = 0xf; + local_b0 = 0; + local_c0 = 0; + FUN_140011730((undefined8 *)&local_c0,(undefined8 *)&local_190); + if (param_2[4] == 0) { + FUN_1400108a0(param_2,(longlong *)&local_98,(longlong *)local_e8); + } + else { + FUN_140010710(param_2,(undefined8 *)&local_70,(char *)local_e8,(longlong *)local_e8); + } + if (0xf < local_a8) { + operator_delete((void *)CONCAT71(uStack_bf,local_c0)); + } + local_a8 = 0xf; + local_b0 = 0; + local_c0 = 0; + if (0xf < local_d0) { + operator_delete(local_e8[0]); + } + local_d0 = 0xf; + local_d8 = 0; + local_e8[0] = (void *)((ulonglong)local_e8[0] & 0xffffffffffffff00); + if (0xf < local_178) { + operator_delete((void *)CONCAT71(uStack_18f,local_190)); + } + local_178 = 0xf; + local_180 = 0; + local_190 = 0; + if (0xf < local_1a0) { + operator_delete(local_1b8[0]); + } + local_1a0 = 0xf; + local_1a8 = 0; + local_1b8[0] = (void *)((ulonglong)local_1b8[0] & 0xffffffffffffff00); + if (*(char *)(DAT_14017cf10 + 0x46) != '\0') { + puVar9 = (undefined1 *)local_140; + if (0xf < local_128) { + puVar9 = (undefined1 *)CONCAT71(local_140[0]._1_7_,(undefined1)local_140[0]); + } + puVar14 = (undefined8 *)(lVar11 + (longlong)local_258); + if (0xf < (ulonglong)puVar14[3]) { + puVar14 = (undefined8 *)*puVar14; + } + printf("[%s]\n%s\n",puVar14,puVar9); + } + if (0xf < local_128) { + operator_delete((void *)CONCAT71(local_140[0]._1_7_,(undefined1)local_140[0])); + } + local_128 = 0xf; + local_130 = 0; + local_140[0]._0_1_ = 0; + if (0xf < local_150) { + operator_delete((void *)CONCAT71(uStack_167,local_168)); + } + local_150 = 0xf; + local_158 = 0; + local_168 = '\0'; + if (0xf < local_1c8) { + operator_delete((void *)CONCAT71(uStack_1df,local_1e0)); + } + local_1c8 = 0xf; + local_1d0 = 0; + local_1e0 = '\0'; + uVar16 = (ulonglong)((int)uVar16 + 1); + lVar11 = lVar11 + 0x28; + puVar8 = local_258; + } while (uVar16 < (ulonglong)(((longlong)local_250 - (longlong)local_258) / 0x28)); + } + lVar11 = DAT_14017cf10; + if (*(char *)(DAT_14017cf10 + 0x46) != '\0') { + iVar3 = printf( + "---------------------------------------------------------------------------\n" + ); + lVar11 = CONCAT44(extraout_var_01,iVar3); + puVar8 = local_258; + } + if (puVar8 != (ulonglong *)0x0) { + std::_Container_base0::_Orphan_all((_Container_base0 *)&local_258); + puVar12 = local_250; + for (puVar8 = local_258; puVar8 != puVar12; puVar8 = puVar8 + 5) { + if (0xf < puVar8[3]) { + operator_delete((void *)*puVar8); + } + puVar8[3] = 0xf; + puVar8[2] = 0; + *(undefined1 *)puVar8 = 0; + } + operator_delete(local_258); + lVar11 = extraout_RAX_02; + } + local_258 = (ulonglong *)0x0; + local_250 = (ulonglong *)0x0; + local_248 = (ulonglong *)0x0; + if (0xf < local_1f0) { + operator_delete((void *)CONCAT71(local_208[0]._1_7_,(undefined1)local_208[0])); + lVar11 = extraout_RAX_03; + } + return CONCAT71((int7)((ulonglong)lVar11 >> 8),1); + } + printf("XML EXPORT ERROR - ELEMENT(0) \n"); + if (local_258 != (ulonglong *)0x0) { + std::_Container_base0::_Orphan_all((_Container_base0 *)&local_258); + puVar12 = local_250; + for (puVar8 = local_258; puVar8 != puVar12; puVar8 = puVar8 + 5) { + if (0xf < puVar8[3]) { + operator_delete((void *)*puVar8); + } + puVar8[3] = 0xf; + puVar8[2] = 0; + *(undefined1 *)puVar8 = 0; + } + operator_delete(local_258); + } + uVar10 = 0; + local_258 = (ulonglong *)0x0; + local_250 = (ulonglong *)0x0; + local_248 = (ulonglong *)0x0; + } +LAB_14000ef81: + if (0xf < local_1f0) { + operator_delete((void *)CONCAT71(local_208[0]._1_7_,(undefined1)local_208[0])); + uVar10 = extraout_RAX_04; + } + return uVar10 & 0xffffffffffffff00; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000efc0.c b/decomp/AgentManager_Release_x64/full/functions/0x14000efc0.c new file mode 100644 index 00000000..0137a9ff --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000efc0.c @@ -0,0 +1,83 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000efc0 FUN_14000efc0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* WARNING: Type propagation algorithm not settling */ + +int FUN_14000efc0(longlong *param_1,char *param_2) + +{ + char cVar1; + int iVar2; + char *pcVar3; + longlong *plVar4; + ulonglong uVar5; + char *pcVar6; + longlong *_Str; + undefined1 auStack_68 [32]; + undefined8 local_48; + longlong *local_40; + ulonglong local_38 [2]; + longlong local_28; + ulonglong local_20; + ulonglong local_10; + + local_48 = 0xfffffffffffffffe; + local_10 = DAT_14016f5a0 ^ (ulonglong)auStack_68; + local_20 = 0xf; + local_28 = 0; + local_38[0]._0_1_ = '\0'; + uVar5 = 0xffffffffffffffff; + pcVar6 = param_2; + do { + if (uVar5 == 0) break; + uVar5 = uVar5 - 1; + cVar1 = *pcVar6; + pcVar6 = pcVar6 + 1; + } while (cVar1 != '\0'); + local_40 = param_1; + FUN_14000c9e0(local_38,param_2,~uVar5 - 1); + if (param_1[4] == 0) { + plVar4 = (longlong *)0x0; + } + else { + pcVar6 = (char *)local_38; + if (0xf < local_20) { + pcVar6 = (char *)CONCAT71(local_38[0]._1_7_,(char)local_38[0]); + } + pcVar3 = (char *)local_38; + if (0xf < local_20) { + pcVar3 = (char *)CONCAT71(local_38[0]._1_7_,(char)local_38[0]); + } + uVar5 = 0; + for (; pcVar3 != pcVar6 + local_28; pcVar3 = pcVar3 + 1) { + uVar5 = uVar5 ^ (uVar5 >> 2) + uVar5 * 0x40 + 0x9e3779b9 + (longlong)*pcVar3; + } + plVar4 = FUN_140010640((longlong *)(*param_1 + (uVar5 % (ulonglong)param_1[1]) * 8),local_38); + } + if (0xf < local_20) { + operator_delete((void *)CONCAT71(local_38[0]._1_7_,(char)local_38[0])); + } + local_20 = 0xf; + local_28 = 0; + local_38[0]._0_1_ = '\0'; + if (plVar4 == (longlong *)0x0) { + if (*param_1 != 0) { + FUN_140010570(param_1); + } + iVar2 = 0; + } + else { + _Str = plVar4 + 6; + if (0xf < (ulonglong)plVar4[9]) { + _Str = (longlong *)*_Str; + } + iVar2 = atoi((char *)_Str); + if (*param_1 != 0) { + FUN_140010570(param_1); + } + } + return iVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000f130.c b/decomp/AgentManager_Release_x64/full/functions/0x14000f130.c new file mode 100644 index 00000000..eeb61192 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000f130.c @@ -0,0 +1,66 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000f130 FUN_14000f130 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* WARNING: Type propagation algorithm not settling */ + +longlong * FUN_14000f130(longlong *param_1,longlong *param_2) + +{ + char *pcVar1; + char *pcVar2; + longlong *plVar3; + undefined1 auStack_88 [32]; + undefined4 local_68; + undefined8 local_60; + longlong *local_58; + ulonglong local_50 [2]; + longlong local_40; + ulonglong local_38; + ulonglong local_28; + + local_60 = 0xfffffffffffffffe; + local_28 = DAT_14016f5a0 ^ (ulonglong)auStack_88; + plVar3 = (longlong *)0x0; + local_68 = 0; + local_38 = 0xf; + local_40 = 0; + local_50[0]._0_1_ = '\0'; + local_58 = param_2; + FUN_14000c9e0(local_50,&DAT_140130778,4); + if (param_2[4] != 0) { + pcVar2 = (char *)local_50; + if (0xf < local_38) { + pcVar2 = (char *)CONCAT71(local_50[0]._1_7_,(char)local_50[0]); + } + pcVar1 = (char *)local_50; + if (0xf < local_38) { + pcVar1 = (char *)CONCAT71(local_50[0]._1_7_,(char)local_50[0]); + } + for (; pcVar1 != pcVar2 + local_40; pcVar1 = pcVar1 + 1) { + plVar3 = (longlong *) + ((ulonglong)plVar3 ^ + (longlong)*pcVar1 + ((ulonglong)plVar3 >> 2) + (longlong)plVar3 * 0x40 + 0x9e3779b9); + } + plVar3 = FUN_140010640((longlong *)(*param_2 + ((ulonglong)plVar3 % (ulonglong)param_2[1]) * 8), + local_50); + } + if (0xf < local_38) { + operator_delete((void *)CONCAT71(local_50[0]._1_7_,(char)local_50[0])); + } + local_38 = 0xf; + local_40 = 0; + local_50[0]._0_1_ = '\0'; + param_1[3] = 0xf; + param_1[2] = 0; + *(undefined1 *)param_1 = 0; + if (plVar3 != (longlong *)0x0) { + FUN_14000c660(param_1,plVar3 + 6,0,0xffffffffffffffff); + } + if (*param_2 != 0) { + FUN_140010570(param_2); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000f2a0.c b/decomp/AgentManager_Release_x64/full/functions/0x14000f2a0.c new file mode 100644 index 00000000..658306cb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000f2a0.c @@ -0,0 +1,161 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000f2a0 FUN_14000f2a0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* WARNING: Type propagation algorithm not settling */ + +void ** FUN_14000f2a0(void **param_1,longlong *param_2,char *param_3) + +{ + int *piVar1; + int iVar2; + char cVar3; + short sVar4; + char *pcVar5; + longlong *plVar6; + longlong lVar7; + HMODULE pHVar8; + uint uVar9; + ulonglong uVar10; + char *pcVar11; + ulonglong uVar12; + short *psVar13; + longlong *plVar14; + short *psVar15; + undefined1 auStack_d8 [32]; + short *local_b8; + undefined8 local_b0; + longlong *local_a0; + longlong *local_98; + void *local_90 [2]; + void *local_80; + void *local_78; + ulonglong local_68 [2]; + longlong local_58; + ulonglong local_50; + ulonglong local_40; + + local_b0 = 0xfffffffffffffffe; + local_40 = DAT_14016f5a0 ^ (ulonglong)auStack_d8; + uVar12 = 0; + local_b8 = (short *)((ulonglong)local_b8 & 0xffffffff00000000); + local_50 = 0xf; + local_58 = 0; + local_68[0]._0_1_ = '\0'; + uVar10 = 0xffffffffffffffff; + pcVar11 = param_3; + do { + if (uVar10 == 0) break; + uVar10 = uVar10 - 1; + cVar3 = *pcVar11; + pcVar11 = pcVar11 + 1; + } while (cVar3 != '\0'); + local_98 = param_2; + FUN_14000c9e0(local_68,param_3,~uVar10 - 1); + if (param_2[4] == 0) { + local_a0 = (longlong *)0x0; + } + else { + pcVar11 = (char *)local_68; + if (0xf < local_50) { + pcVar11 = (char *)CONCAT71(local_68[0]._1_7_,(char)local_68[0]); + } + pcVar5 = (char *)local_68; + if (0xf < local_50) { + pcVar5 = (char *)CONCAT71(local_68[0]._1_7_,(char)local_68[0]); + } + for (; pcVar5 != pcVar11 + local_58; pcVar5 = pcVar5 + 1) { + uVar12 = uVar12 ^ (uVar12 >> 2) + uVar12 * 0x40 + 0x9e3779b9 + (longlong)*pcVar5; + } + local_a0 = FUN_140010640((longlong *)(*param_2 + (uVar12 % (ulonglong)param_2[1]) * 8),local_68) + ; + } + plVar6 = local_a0; + if (0xf < local_50) { + operator_delete((void *)CONCAT71(local_68[0]._1_7_,(char)local_68[0])); + } + local_50 = 0xf; + local_58 = 0; + local_68[0]._0_1_ = '\0'; + if (plVar6 == (longlong *)0x0) { + param_1[3] = (void *)0x7; + param_1[2] = (void *)0x0; + *(undefined2 *)param_1 = 0; + } + else { + plVar14 = plVar6 + 6; + if (0xf < (ulonglong)plVar6[9]) { + plVar14 = (longlong *)*plVar14; + } + lVar7 = (**(code **)(PTR_PTR_14016f508 + 0x18))(&PTR_PTR_14016f508); + psVar13 = (short *)(lVar7 + 0x18); + local_b8 = psVar13; + if ((plVar14 == (longlong *)0x0) || (((ulonglong)plVar14 & 0xffffffffffff0000) != 0)) { + FUN_14000fdd0((longlong *)&local_b8,(LPCSTR)plVar14); + psVar13 = local_b8; + } + else { + uVar9 = (uint)plVar14 & 0xffff; + pHVar8 = FUN_1400112b0(uVar9,0); + if (pHVar8 != (HMODULE)0x0) { + FUN_140011650((longlong *)&local_b8,pHVar8,uVar9); + psVar13 = local_b8; + } + } + local_78 = (void *)0x7; + local_80 = (void *)0x0; + local_90[0] = (void *)((ulonglong)local_90[0] & 0xffffffffffff0000); + uVar12 = 0xffffffffffffffff; + psVar15 = psVar13; + do { + if (uVar12 == 0) break; + uVar12 = uVar12 - 1; + sVar4 = *psVar15; + psVar15 = psVar15 + 1; + } while (sVar4 != 0); + FUN_140001710((ulonglong *)local_90,psVar13,~uVar12 - 1); + param_1[3] = (void *)0x7; + param_1[2] = (void *)0x0; + *(undefined2 *)param_1 = 0; + if (param_1 != local_90) { + if ((void *)0x7 < param_1[3]) { + operator_delete(*param_1); + } + param_1[3] = (void *)0x7; + param_1[2] = (void *)0x0; + *(undefined2 *)param_1 = 0; + if (local_78 < (void *)0x8) { + memmove(param_1,local_90,(longlong)local_80 * 2 + 2); + } + else { + *param_1 = local_90[0]; + local_90[0] = (void *)0x0; + } + param_1[2] = local_80; + param_1[3] = local_78; + local_78 = (void *)0x7; + local_80 = (void *)0x0; + local_90[0] = (void *)((ulonglong)local_90[0] & 0xffffffffffff0000); + } + if ((void *)0x7 < local_78) { + operator_delete(local_90[0]); + } + local_78 = (void *)0x7; + local_80 = (void *)0x0; + local_90[0] = (void *)((ulonglong)local_90[0] & 0xffffffffffff0000); + LOCK(); + piVar1 = (int *)(psVar13 + -4); + iVar2 = *piVar1; + *piVar1 = *piVar1 + -1; + UNLOCK(); + if (iVar2 + -1 < 1) { + (**(code **)(**(longlong **)(psVar13 + -0xc) + 8))(); + } + } + if (*param_2 != 0) { + FUN_140010570(param_2); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000f580.c b/decomp/AgentManager_Release_x64/full/functions/0x14000f580.c new file mode 100644 index 00000000..4df8fd3d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000f580.c @@ -0,0 +1,125 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000f580 FUN_14000f580 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_14000f580(longlong *param_1,undefined8 param_2,char *param_3) + +{ + char cVar1; + longlong *plVar2; + ulonglong *puVar3; + undefined8 *puVar4; + ulonglong uVar5; + char *pcVar6; + undefined1 auStack_258 [32]; + undefined8 local_238; + undefined1 local_230; + undefined7 uStack_22f; + undefined8 local_220; + ulonglong local_218; + undefined1 local_208; + undefined7 uStack_207; + undefined8 local_1f8; + ulonglong local_1f0; + undefined1 local_1e0; + undefined7 uStack_1df; + undefined8 local_1d0; + ulonglong local_1c8; + undefined1 local_1b8; + undefined7 uStack_1b7; + undefined8 local_1a8; + ulonglong local_1a0; + undefined1 local_190; + undefined7 uStack_18f; + undefined8 local_180; + ulonglong local_178; + undefined1 local_168; + undefined7 uStack_167; + undefined8 local_158; + ulonglong local_150; + char local_138 [256]; + ulonglong local_38; + + local_238 = 0xfffffffffffffffe; + local_38 = DAT_14016f5a0 ^ (ulonglong)auStack_258; + local_1a0 = 0xf; + local_1a8 = 0; + local_1b8 = 0; + uVar5 = 0xffffffffffffffff; + pcVar6 = param_3; + do { + if (uVar5 == 0) break; + uVar5 = uVar5 - 1; + cVar1 = *pcVar6; + pcVar6 = pcVar6 + 1; + } while (cVar1 != '\0'); + FUN_14000c9e0((ulonglong *)&local_1b8,param_3,~uVar5 - 1); + plVar2 = FUN_140010200((longlong *)&local_1e0,(undefined8 *)&local_1b8); + FUN_1400102b0((undefined8 *)&local_168,plVar2); + if (0xf < local_1c8) { + operator_delete((void *)CONCAT71(uStack_1df,local_1e0)); + } + local_1c8 = 0xf; + local_1d0 = 0; + local_1e0 = 0; + puVar3 = FUN_140010300((ulonglong *)&local_230,(undefined8 *)&local_1b8); + FUN_1400102b0((undefined8 *)&local_190,(longlong *)puVar3); + if (0xf < local_218) { + operator_delete((void *)CONCAT71(uStack_22f,local_230)); + } + local_218 = 0xf; + local_220 = 0; + local_230 = 0; + local_138[0] = '\0'; + memset(local_138 + 1,0,0xfe); + sprintf(local_138,"%d"); + local_1f0 = 0xf; + local_1f8 = 0; + local_208 = 0; + uVar5 = 0xffffffffffffffff; + pcVar6 = local_138; + do { + if (uVar5 == 0) break; + uVar5 = uVar5 - 1; + cVar1 = *pcVar6; + pcVar6 = pcVar6 + 1; + } while (cVar1 != '\0'); + FUN_14000c9e0((ulonglong *)&local_208,local_138,~uVar5 - 1); + plVar2 = FUN_1400103e0((longlong *)&local_1e0,(undefined8 *)&local_168,(undefined8 *)&local_208); + puVar4 = FUN_140010490((undefined8 *)&local_230,plVar2,(undefined8 *)&local_190); + FUN_14000c360(param_1,puVar4,0,0xffffffffffffffff); + if (0xf < local_218) { + operator_delete((void *)CONCAT71(uStack_22f,local_230)); + } + local_218 = 0xf; + local_220 = 0; + local_230 = 0; + if (0xf < local_1c8) { + operator_delete((void *)CONCAT71(uStack_1df,local_1e0)); + } + if (0xf < local_1f0) { + operator_delete((void *)CONCAT71(uStack_207,local_208)); + } + local_1f0 = 0xf; + local_1f8 = 0; + local_208 = 0; + if (0xf < local_178) { + operator_delete((void *)CONCAT71(uStack_18f,local_190)); + } + local_178 = 0xf; + local_180 = 0; + local_190 = 0; + if (0xf < local_150) { + operator_delete((void *)CONCAT71(uStack_167,local_168)); + } + local_150 = 0xf; + local_158 = 0; + local_168 = 0; + if (0xf < local_1a0) { + operator_delete((void *)CONCAT71(uStack_1b7,local_1b8)); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000f7e0.c b/decomp/AgentManager_Release_x64/full/functions/0x14000f7e0.c new file mode 100644 index 00000000..9c22d26d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000f7e0.c @@ -0,0 +1,121 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000f7e0 FUN_14000f7e0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_14000f7e0(longlong *param_1,char *param_2,char *param_3) + +{ + char cVar1; + longlong *plVar2; + ulonglong *puVar3; + undefined8 *puVar4; + ulonglong uVar5; + char *pcVar6; + undefined1 auStack_148 [32]; + undefined8 local_128; + undefined1 local_120; + undefined7 uStack_11f; + undefined8 local_110; + ulonglong local_108; + undefined1 local_f8; + undefined7 uStack_f7; + undefined8 local_e8; + ulonglong local_e0; + undefined1 local_d0; + undefined7 uStack_cf; + undefined8 local_c0; + ulonglong local_b8; + undefined1 local_a8; + undefined7 uStack_a7; + undefined8 local_98; + ulonglong local_90; + undefined1 local_80; + undefined7 uStack_7f; + undefined8 local_70; + ulonglong local_68; + undefined1 local_58; + undefined7 uStack_57; + undefined8 local_48; + ulonglong local_40; + ulonglong local_30; + + local_128 = 0xfffffffffffffffe; + local_30 = DAT_14016f5a0 ^ (ulonglong)auStack_148; + local_90 = 0xf; + local_98 = 0; + local_a8 = 0; + uVar5 = 0xffffffffffffffff; + pcVar6 = param_3; + do { + if (uVar5 == 0) break; + uVar5 = uVar5 - 1; + cVar1 = *pcVar6; + pcVar6 = pcVar6 + 1; + } while (cVar1 != '\0'); + FUN_14000c9e0((ulonglong *)&local_a8,param_3,~uVar5 - 1); + plVar2 = FUN_140010200((longlong *)&local_d0,(undefined8 *)&local_a8); + FUN_1400102b0((undefined8 *)&local_58,plVar2); + if (0xf < local_b8) { + operator_delete((void *)CONCAT71(uStack_cf,local_d0)); + } + local_b8 = 0xf; + local_c0 = 0; + local_d0 = 0; + puVar3 = FUN_140010300((ulonglong *)&local_120,(undefined8 *)&local_a8); + FUN_1400102b0((undefined8 *)&local_80,(longlong *)puVar3); + if (0xf < local_108) { + operator_delete((void *)CONCAT71(uStack_11f,local_120)); + } + local_108 = 0xf; + local_110 = 0; + local_120 = 0; + local_e0 = 0xf; + local_e8 = 0; + local_f8 = 0; + uVar5 = 0xffffffffffffffff; + pcVar6 = param_2; + do { + if (uVar5 == 0) break; + uVar5 = uVar5 - 1; + cVar1 = *pcVar6; + pcVar6 = pcVar6 + 1; + } while (cVar1 != '\0'); + FUN_14000c9e0((ulonglong *)&local_f8,param_2,~uVar5 - 1); + plVar2 = FUN_1400103e0((longlong *)&local_d0,(undefined8 *)&local_58,(undefined8 *)&local_f8); + puVar4 = FUN_140010490((undefined8 *)&local_120,plVar2,(undefined8 *)&local_80); + FUN_14000c360(param_1,puVar4,0,0xffffffffffffffff); + if (0xf < local_108) { + operator_delete((void *)CONCAT71(uStack_11f,local_120)); + } + local_108 = 0xf; + local_110 = 0; + local_120 = 0; + if (0xf < local_b8) { + operator_delete((void *)CONCAT71(uStack_cf,local_d0)); + } + if (0xf < local_e0) { + operator_delete((void *)CONCAT71(uStack_f7,local_f8)); + } + local_e0 = 0xf; + local_e8 = 0; + local_f8 = 0; + if (0xf < local_68) { + operator_delete((void *)CONCAT71(uStack_7f,local_80)); + } + local_68 = 0xf; + local_70 = 0; + local_80 = 0; + if (0xf < local_40) { + operator_delete((void *)CONCAT71(uStack_57,local_58)); + } + local_40 = 0xf; + local_48 = 0; + local_58 = 0; + if (0xf < local_90) { + operator_delete((void *)CONCAT71(uStack_a7,local_a8)); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000fa00.c b/decomp/AgentManager_Release_x64/full/functions/0x14000fa00.c new file mode 100644 index 00000000..b6e8e965 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000fa00.c @@ -0,0 +1,197 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000fa00 FUN_14000fa00 + * Pseudocode, not original source. */ + +/* WARNING: Function: __chkstk replaced with injection: alloca_probe */ +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_14000fa00(longlong *param_1,LPCWSTR param_2,char *param_3) + +{ + char *pcVar1; + char cVar2; + longlong lVar3; + void *pvVar4; + int iVar5; + longlong *plVar6; + ulonglong *puVar7; + undefined8 *puVar8; + ulonglong uVar9; + char *pcVar10; + undefined1 *puVar11; + char *pcVar12; + undefined8 uStack_170; + undefined1 auStack_168 [32]; + undefined8 uStack_148; + int aiStack_140 [2]; + undefined8 local_138 [2]; + char local_128 [8]; + ulonglong local_120 [2]; + undefined8 local_110; + ulonglong local_108; + undefined1 local_f8; + undefined7 uStack_f7; + undefined8 local_e8; + ulonglong local_e0; + undefined1 local_d0; + undefined7 uStack_cf; + undefined8 local_c0; + ulonglong local_b8; + undefined1 local_a8; + undefined7 uStack_a7; + undefined8 local_98; + ulonglong local_90; + undefined1 local_80; + undefined7 uStack_7f; + undefined8 local_70; + ulonglong local_68; + undefined1 local_58; + undefined7 uStack_57; + undefined8 local_48; + ulonglong local_40; + ulonglong local_30; + + local_128[0] = -2; + local_128[1] = -1; + local_128[2] = -1; + local_128[3] = -1; + local_128[4] = -1; + local_128[5] = -1; + local_128[6] = -1; + local_128[7] = -1; + local_30 = DAT_14016f5a0 ^ (ulonglong)local_128; + local_90 = 0xf; + pcVar12 = (char *)0x0; + local_98 = 0; + local_a8 = 0; + uVar9 = 0xffffffffffffffff; + pcVar10 = param_3; + do { + if (uVar9 == 0) break; + uVar9 = uVar9 - 1; + cVar2 = *pcVar10; + pcVar10 = pcVar10 + 1; + } while (cVar2 != '\0'); + uStack_170 = 0x14000fa7a; + FUN_14000c9e0((ulonglong *)&local_a8,param_3,~uVar9 - 1); + uStack_170 = 0x14000fa8b; + plVar6 = FUN_140010200((longlong *)&local_d0,(undefined8 *)&local_a8); + uStack_170 = 0x14000fa9b; + FUN_1400102b0((undefined8 *)&local_58,plVar6); + if (0xf < local_b8) { + uStack_170 = 0x14000faad; + operator_delete((void *)CONCAT71(uStack_cf,local_d0)); + } + local_b8 = 0xf; + local_c0 = 0; + local_d0 = 0; + uStack_170 = 0x14000facd; + puVar7 = FUN_140010300(local_120,(undefined8 *)&local_a8); + uStack_170 = 0x14000fadd; + FUN_1400102b0((undefined8 *)&local_80,(longlong *)puVar7); + if (0xf < local_108) { + uStack_170 = 0x14000faef; + operator_delete((void *)CONCAT71(local_120[0]._1_7_,(undefined1)local_120[0])); + } + local_108 = 0xf; + local_110 = 0; + local_120[0]._0_1_ = 0; + pcVar10 = pcVar12; + puVar11 = auStack_168; + if (param_2 != (LPCWSTR)0x0) { + uStack_170 = 0x14000fb0d; + iVar5 = lstrlenW(param_2); + iVar5 = iVar5 + 1; + puVar11 = auStack_168; + if (iVar5 < 0x40000000) { + uVar9 = (longlong)iVar5 * 2 + 0xf; + if (uVar9 <= (ulonglong)((longlong)iVar5 * 2)) { + uVar9 = 0xffffffffffffff0; + } + uStack_170 = 0x14000fb3d; + lVar3 = -(uVar9 & 0xfffffffffffffff0); + pcVar1 = local_128 + lVar3; + puVar11 = auStack_168 + lVar3; + if (pcVar1 != (char *)0x0) { + *pcVar1 = '\0'; + *(undefined8 *)((longlong)local_138 + lVar3 + 8) = 0; + *(undefined8 *)((longlong)local_138 + lVar3) = 0; + *(int *)((longlong)aiStack_140 + lVar3) = iVar5 * 2; + *(char **)((longlong)&uStack_148 + lVar3) = pcVar1; + *(undefined8 *)(auStack_168 + lVar3 + -8) = 0x14000fb75; + iVar5 = WideCharToMultiByte(3,0,param_2,-1,*(LPSTR *)((longlong)&uStack_148 + lVar3), + *(int *)((longlong)aiStack_140 + lVar3), + *(LPCSTR *)((longlong)local_138 + lVar3), + *(LPBOOL *)((longlong)local_138 + lVar3 + 8)); + pcVar10 = pcVar1; + puVar11 = auStack_168 + lVar3; + if (iVar5 == 0) { + pcVar10 = pcVar12; + puVar11 = auStack_168 + lVar3; + } + } + } + } + local_e0 = 0xf; + local_e8 = 0; + local_f8 = 0; + uVar9 = 0xffffffffffffffff; + pcVar12 = pcVar10; + do { + if (uVar9 == 0) break; + uVar9 = uVar9 - 1; + cVar2 = *pcVar12; + pcVar12 = pcVar12 + 1; + } while (cVar2 != '\0'); + *(undefined8 *)(puVar11 + -8) = 0x14000fbae; + FUN_14000c9e0((ulonglong *)&local_f8,pcVar10,~uVar9 - 1); + *(undefined8 *)(puVar11 + -8) = 0x14000fbc3; + plVar6 = FUN_1400103e0((longlong *)&local_d0,(undefined8 *)&local_58,(undefined8 *)&local_f8); + *(undefined8 *)(puVar11 + -8) = 0x14000fbd7; + puVar8 = FUN_140010490(local_120,plVar6,(undefined8 *)&local_80); + *(undefined8 *)(puVar11 + -8) = 0x14000fbea; + FUN_14000c360(param_1,puVar8,0,0xffffffffffffffff); + if (0xf < local_108) { + pvVar4 = (void *)CONCAT71(local_120[0]._1_7_,(undefined1)local_120[0]); + *(undefined8 *)(puVar11 + -8) = 0x14000fbfc; + operator_delete(pvVar4); + } + local_108 = 0xf; + local_110 = 0; + local_120[0]._0_1_ = 0; + if (0xf < local_b8) { + pvVar4 = (void *)CONCAT71(uStack_cf,local_d0); + *(undefined8 *)(puVar11 + -8) = 0x14000fc1d; + operator_delete(pvVar4); + } + if (0xf < local_e0) { + pvVar4 = (void *)CONCAT71(uStack_f7,local_f8); + *(undefined8 *)(puVar11 + -8) = 0x14000fc2f; + operator_delete(pvVar4); + } + local_e0 = 0xf; + local_e8 = 0; + local_f8 = 0; + if (0xf < local_68) { + *(undefined8 *)(puVar11 + -8) = 0x14000fc56; + operator_delete((void *)CONCAT71(uStack_7f,local_80)); + } + local_68 = 0xf; + local_70 = 0; + local_80 = 0; + if (0xf < local_40) { + *(undefined8 *)(puVar11 + -8) = 0x14000fc86; + operator_delete((void *)CONCAT71(uStack_57,local_58)); + } + local_40 = 0xf; + local_48 = 0; + local_58 = 0; + if (0xf < local_90) { + pvVar4 = (void *)CONCAT71(uStack_a7,local_a8); + *(undefined8 *)(puVar11 + -8) = 0x14000fcb6; + operator_delete(pvVar4); + } + *(undefined8 *)(puVar11 + -8) = 0x14000fcc5; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000fcf0.c b/decomp/AgentManager_Release_x64/full/functions/0x14000fcf0.c new file mode 100644 index 00000000..f342fb46 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000fcf0.c @@ -0,0 +1,40 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000fcf0 FUN_14000fcf0 + * Pseudocode, not original source. */ + +longlong FUN_14000fcf0(undefined8 *param_1,char *param_2,ulonglong param_3) + +{ + ulonglong uVar1; + int iVar2; + void *_Buf1; + size_t _MaxCount; + undefined8 *_Buf; + + if (param_3 == 0) { + return 0; + } + uVar1 = param_1[2]; + if ((uVar1 != 0) && (param_3 <= uVar1)) { + _MaxCount = uVar1 + (1 - param_3); + _Buf = param_1; + if (0xf < (ulonglong)param_1[3]) { + _Buf = (undefined8 *)*param_1; + } + _Buf1 = memchr(_Buf,(int)*param_2,_MaxCount); + while (_Buf1 != (void *)0x0) { + iVar2 = memcmp(_Buf1,param_2,param_3); + if (iVar2 == 0) { + if (0xf < (ulonglong)param_1[3]) { + param_1 = (undefined8 *)*param_1; + } + return (longlong)_Buf1 - (longlong)param_1; + } + _MaxCount = (longlong)_Buf + ((_MaxCount - 1) - (longlong)_Buf1); + _Buf = (undefined8 *)((longlong)_Buf1 + 1); + _Buf1 = memchr(_Buf,(int)*param_2,_MaxCount); + } + } + return -1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000fdd0.c b/decomp/AgentManager_Release_x64/full/functions/0x14000fdd0.c new file mode 100644 index 00000000..36e0dff7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000fdd0.c @@ -0,0 +1,56 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000fdd0 FUN_14000fdd0 + * Pseudocode, not original source. */ + +longlong * FUN_14000fdd0(longlong *param_1,LPCSTR param_2) + +{ + int *piVar1; + longlong *plVar2; + int iVar3; + longlong lVar4; + + if (param_2 != (LPCSTR)0x0) { + iVar3 = MultiByteToWideChar(3,0,param_2,-1,(LPWSTR)0x0,0); + iVar3 = iVar3 + -1; + if (0 < iVar3) { + if ((int)(1U - *(int *)(*param_1 + -8) | *(int *)(*param_1 + -0xc) - iVar3) < 0) { + FUN_140011520(param_1,iVar3); + } + MultiByteToWideChar(3,0,param_2,-1,(LPWSTR)*param_1,iVar3); + if (iVar3 <= *(int *)(*param_1 + -0xc)) { + *(int *)(*param_1 + -0x10) = iVar3; + *(undefined2 *)(*param_1 + (longlong)iVar3 * 2) = 0; + return param_1; + } + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80070057); + } + } + lVar4 = *param_1; + plVar2 = *(longlong **)(lVar4 + -0x18); + if (*(int *)(lVar4 + -0x10) != 0) { + if (*(int *)(lVar4 + -8) < 0) { + if (*(int *)(lVar4 + -0xc) < 0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80070057); + } + *(undefined4 *)(lVar4 + -0x10) = 0; + *(undefined2 *)*param_1 = 0; + } + else { + LOCK(); + piVar1 = (int *)(lVar4 + -8); + iVar3 = *piVar1; + *piVar1 = *piVar1 + -1; + UNLOCK(); + if (iVar3 + -1 < 1) { + (**(code **)(**(longlong **)(lVar4 + -0x18) + 8))(); + } + lVar4 = (**(code **)(*plVar2 + 0x18))(plVar2); + *param_1 = lVar4 + 0x18; + } + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000ff00.c b/decomp/AgentManager_Release_x64/full/functions/0x14000ff00.c new file mode 100644 index 00000000..85ee9544 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000ff00.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000ff00 FUN_14000ff00 + * Pseudocode, not original source. */ + +void FUN_14000ff00(longlong *param_1) + +{ + code *pcVar1; + ulonglong uVar2; + ulonglong uVar3; + + uVar3 = (param_1[1] - *param_1) / 0x28; + if (0x666666666666665 < uVar3) { + std::_Xlength_error("vector too long"); + pcVar1 = (code *)swi(3); + (*pcVar1)(); + return; + } + uVar3 = uVar3 + 1; + uVar2 = (param_1[2] - *param_1) / 0x28; + if (uVar2 < uVar3) { + if (0x666666666666666 - (uVar2 >> 1) < uVar2) { + uVar2 = 0; + if (uVar3 != 0) { + uVar2 = uVar3; + } + FUN_140010050(param_1,uVar2); + return; + } + uVar2 = uVar2 + (uVar2 >> 1); + if (uVar2 < uVar3) { + uVar2 = uVar3; + } + FUN_140010050(param_1,uVar2); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14000ffc0.c b/decomp/AgentManager_Release_x64/full/functions/0x14000ffc0.c new file mode 100644 index 00000000..f1145d04 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14000ffc0.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14000ffc0 FUN_14000ffc0 + * Pseudocode, not original source. */ + +void FUN_14000ffc0(undefined8 *param_1) + +{ + undefined8 *puVar1; + undefined8 *puVar2; + + puVar2 = (undefined8 *)*param_1; + if (puVar2 != (undefined8 *)0x0) { + puVar1 = (undefined8 *)param_1[1]; + for (; puVar2 != puVar1; puVar2 = puVar2 + 5) { + if (0xf < (ulonglong)puVar2[3]) { + operator_delete((void *)*puVar2); + } + puVar2[3] = 0xf; + puVar2[2] = 0; + *(undefined1 *)puVar2 = 0; + } + operator_delete((void *)*param_1); + } + *param_1 = 0; + param_1[1] = 0; + param_1[2] = 0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140010050.c b/decomp/AgentManager_Release_x64/full/functions/0x140010050.c new file mode 100644 index 00000000..b94e8b66 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140010050.c @@ -0,0 +1,46 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140010050 FUN_140010050 + * Pseudocode, not original source. */ + +void FUN_140010050(longlong *param_1,ulonglong param_2) + +{ + undefined8 *puVar1; + undefined8 *puVar2; + code *pcVar3; + char *pcVar4; + char *local_res10; + undefined **local_20 [3]; + + if (0x666666666666666 < param_2) { + std::_Xlength_error("vector too long"); + pcVar3 = (code *)swi(3); + (*pcVar3)(); + return; + } + if ((ulonglong)((param_1[2] - *param_1) / 0x28) < param_2) { + local_res10 = (char *)0x0; + if (param_2 != 0) { + local_res10 = operator_new(param_2 * 0x28); + if (local_res10 == (char *)0x0) { + std::exception::exception((exception *)local_20,&local_res10); + local_20[0] = std::bad_alloc::vftable; + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_20,(ThrowInfo *)&DAT_14016c158); + } + } + pcVar4 = local_res10; + FUN_140010b50((undefined8 *)*param_1,(undefined8 *)param_1[1],(undefined8 *)local_res10); + puVar1 = (undefined8 *)param_1[1]; + puVar2 = (undefined8 *)*param_1; + if (puVar2 != (undefined8 *)0x0) { + FUN_1400101a0(puVar2,puVar1); + operator_delete((void *)*param_1); + } + param_1[2] = (longlong)(pcVar4 + param_2 * 0x28); + param_1[1] = (longlong)(pcVar4 + (((longlong)puVar1 - (longlong)puVar2) / 0x28) * 0x28); + *param_1 = (longlong)pcVar4; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400101a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400101a0.c new file mode 100644 index 00000000..7c9d2a2d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400101a0.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400101a0 FUN_1400101a0 + * Pseudocode, not original source. */ + +void FUN_1400101a0(undefined8 *param_1,undefined8 *param_2) + +{ + for (; param_1 != param_2; param_1 = param_1 + 5) { + if (0xf < (ulonglong)param_1[3]) { + operator_delete((void *)*param_1); + } + param_1[3] = 0xf; + param_1[2] = 0; + *(undefined1 *)param_1 = 0; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140010200.c b/decomp/AgentManager_Release_x64/full/functions/0x140010200.c new file mode 100644 index 00000000..c2818a19 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140010200.c @@ -0,0 +1,31 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140010200 FUN_140010200 + * Pseudocode, not original source. */ + +longlong * FUN_140010200(longlong *param_1,undefined8 *param_2) + +{ + ulonglong uVar1; + char cVar2; + longlong *plVar3; + ulonglong uVar4; + + param_1[3] = 0xf; + param_1[2] = 0; + *(undefined1 *)param_1 = 0; + uVar4 = param_2[2] + 1; + uVar1 = param_1[2]; + if (((uVar1 <= uVar4) && (param_1[3] != uVar4)) && + (cVar2 = FUN_14000c910(param_1,uVar4,'\x01'), cVar2 != '\0')) { + param_1[2] = uVar1; + plVar3 = param_1; + if (0xf < (ulonglong)param_1[3]) { + plVar3 = (longlong *)*param_1; + } + *(undefined1 *)((longlong)plVar3 + uVar1) = 0; + } + FUN_140011140(param_1,0x3c); + FUN_14000c360(param_1,param_2,0,0xffffffffffffffff); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400102b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400102b0.c new file mode 100644 index 00000000..d553978b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400102b0.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400102b0 FUN_1400102b0 + * Pseudocode, not original source. */ + +undefined8 * FUN_1400102b0(undefined8 *param_1,longlong *param_2) + +{ + longlong *plVar1; + + plVar1 = FUN_140011140(param_2,0x3e); + param_1[3] = 0xf; + param_1[2] = 0; + *(undefined1 *)param_1 = 0; + FUN_140011730(param_1,plVar1); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140010300.c b/decomp/AgentManager_Release_x64/full/functions/0x140010300.c new file mode 100644 index 00000000..b22a0b79 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140010300.c @@ -0,0 +1,31 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140010300 FUN_140010300 + * Pseudocode, not original source. */ + +ulonglong * FUN_140010300(ulonglong *param_1,undefined8 *param_2) + +{ + ulonglong uVar1; + char cVar2; + ulonglong *puVar3; + ulonglong uVar4; + + param_1[3] = 0xf; + param_1[2] = 0; + *(undefined1 *)param_1 = 0; + uVar4 = param_2[2] + 2; + uVar1 = param_1[2]; + if (((uVar1 <= uVar4) && (param_1[3] != uVar4)) && + (cVar2 = FUN_14000c910(param_1,uVar4,'\x01'), cVar2 != '\0')) { + param_1[2] = uVar1; + puVar3 = param_1; + if (0xf < param_1[3]) { + puVar3 = (ulonglong *)*param_1; + } + *(undefined1 *)((longlong)puVar3 + uVar1) = 0; + } + FUN_14000c480(param_1,&DAT_1401305e0,2); + FUN_14000c360((longlong *)param_1,param_2,0,0xffffffffffffffff); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400103c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400103c0.c new file mode 100644 index 00000000..9a907a51 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400103c0.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400103c0 FUN_1400103c0 + * Pseudocode, not original source. */ + +void FUN_1400103c0(longlong *param_1) + +{ + if (*param_1 != 0) { + FUN_140010570(param_1); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400103e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400103e0.c new file mode 100644 index 00000000..df04fd1b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400103e0.c @@ -0,0 +1,31 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400103e0 FUN_1400103e0 + * Pseudocode, not original source. */ + +longlong * FUN_1400103e0(longlong *param_1,undefined8 *param_2,undefined8 *param_3) + +{ + ulonglong uVar1; + char cVar2; + longlong *plVar3; + ulonglong uVar4; + + param_1[3] = 0xf; + param_1[2] = 0; + *(undefined1 *)param_1 = 0; + uVar4 = param_2[2] + param_3[2]; + uVar1 = param_1[2]; + if (((uVar1 <= uVar4) && (param_1[3] != uVar4)) && + (cVar2 = FUN_14000c910(param_1,uVar4,'\x01'), cVar2 != '\0')) { + param_1[2] = uVar1; + plVar3 = param_1; + if (0xf < (ulonglong)param_1[3]) { + plVar3 = (longlong *)*param_1; + } + *(undefined1 *)((longlong)plVar3 + uVar1) = 0; + } + FUN_14000c360(param_1,param_2,0,0xffffffffffffffff); + FUN_14000c360(param_1,param_3,0,0xffffffffffffffff); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140010490.c b/decomp/AgentManager_Release_x64/full/functions/0x140010490.c new file mode 100644 index 00000000..2071a4d5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140010490.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140010490 FUN_140010490 + * Pseudocode, not original source. */ + +undefined8 * FUN_140010490(undefined8 *param_1,longlong *param_2,undefined8 *param_3) + +{ + longlong *plVar1; + + plVar1 = FUN_14000c360(param_2,param_3,0,0xffffffffffffffff); + param_1[3] = 0xf; + param_1[2] = 0; + *(undefined1 *)param_1 = 0; + FUN_140011730(param_1,plVar1); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400104e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400104e0.c new file mode 100644 index 00000000..e4d0b612 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400104e0.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400104e0 FUN_1400104e0 + * Pseudocode, not original source. */ + +void FUN_1400104e0(longlong *param_1,undefined1 *param_2,undefined1 *param_3) + +{ + ulonglong uVar1; + char cVar2; + longlong *plVar3; + ulonglong uVar4; + + uVar4 = (longlong)param_3 - (longlong)param_2; + uVar1 = param_1[2]; + if (((uVar1 <= uVar4) && (param_1[3] != uVar4)) && + (cVar2 = FUN_14000c910(param_1,uVar4,'\x01'), cVar2 != '\0')) { + param_1[2] = uVar1; + plVar3 = param_1; + if (0xf < (ulonglong)param_1[3]) { + plVar3 = (longlong *)*param_1; + } + *(undefined1 *)((longlong)plVar3 + uVar1) = 0; + } + for (; param_2 != param_3; param_2 = param_2 + 1) { + FUN_140011140(param_1,*param_2); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140010570.c b/decomp/AgentManager_Release_x64/full/functions/0x140010570.c new file mode 100644 index 00000000..28dffea0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140010570.c @@ -0,0 +1,40 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140010570 FUN_140010570 + * Pseudocode, not original source. */ + +void FUN_140010570(undefined8 *param_1) + +{ + undefined8 *puVar1; + undefined8 *puVar2; + undefined8 *puVar3; + undefined8 *puVar4; + + puVar4 = (undefined8 *)*param_1; + puVar1 = puVar4 + param_1[1]; + for (; puVar4 != puVar1; puVar4 = puVar4 + 1) { + puVar2 = (undefined8 *)*puVar4; + *puVar4 = 0; + while (puVar2 != (undefined8 *)0x0) { + puVar3 = (undefined8 *)*puVar2; + if (0xf < (ulonglong)puVar2[9]) { + operator_delete((void *)puVar2[6]); + } + puVar2[9] = 0xf; + puVar2[8] = 0; + *(undefined1 *)(puVar2 + 6) = 0; + if (0xf < (ulonglong)puVar2[4]) { + operator_delete((void *)puVar2[1]); + } + puVar2[4] = 0xf; + puVar2[3] = 0; + *(undefined1 *)(puVar2 + 1) = 0; + operator_delete(puVar2); + puVar2 = puVar3; + } + } + operator_delete((void *)*param_1); + *param_1 = 0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140010640.c b/decomp/AgentManager_Release_x64/full/functions/0x140010640.c new file mode 100644 index 00000000..6fc65ea0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140010640.c @@ -0,0 +1,58 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140010640 FUN_140010640 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x000140010698) */ + +longlong * FUN_140010640(longlong *param_1,undefined8 *param_2) + +{ + ulonglong uVar1; + ulonglong uVar2; + ulonglong uVar3; + uint uVar4; + undefined8 *_Buf1; + longlong *_Buf2; + longlong *plVar5; + ulonglong _Size; + + plVar5 = (longlong *)*param_1; + if (plVar5 == (longlong *)0x0) { + return (longlong *)0x0; + } + uVar1 = param_2[2]; + uVar2 = param_2[3]; + do { + uVar3 = plVar5[3]; + _Buf2 = plVar5 + 1; + if (0xf < (ulonglong)plVar5[4]) { + _Buf2 = (longlong *)*_Buf2; + } + _Buf1 = param_2; + if (0xf < uVar2) { + _Buf1 = (undefined8 *)*param_2; + } + _Size = uVar3; + if (uVar1 < uVar3) { + _Size = uVar1; + } + uVar4 = memcmp(_Buf1,_Buf2,_Size); + if (uVar4 == 0) { + if (uVar3 <= uVar1) { + uVar4 = (uint)(uVar1 != uVar3); + goto LAB_1400106ce; + } + } + else { +LAB_1400106ce: + if (uVar4 == 0) { + return plVar5; + } + } + plVar5 = (longlong *)*plVar5; + if (plVar5 == (longlong *)0x0) { + return (longlong *)0x0; + } + } while( true ); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140010710.c b/decomp/AgentManager_Release_x64/full/functions/0x140010710.c new file mode 100644 index 00000000..029568b8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140010710.c @@ -0,0 +1,77 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140010710 FUN_140010710 + * Pseudocode, not original source. */ + +undefined8 * FUN_140010710(longlong *param_1,undefined8 *param_2,char *param_3,longlong *param_4) + +{ + char *pcVar1; + longlong *plVar2; + undefined *puVar3; + longlong *plVar4; + char *pcVar5; + ulonglong *puVar6; + ulonglong uVar7; + longlong *plVar8; + ulonglong local_res8; + ulonglong local_res18 [2]; + longlong *local_40; + longlong *local_38; + undefined2 local_30; + + pcVar5 = param_3; + if (0xf < *(ulonglong *)(param_3 + 0x18)) { + pcVar5 = *(char **)param_3; + } + pcVar1 = param_3; + if (0xf < *(ulonglong *)(param_3 + 0x18)) { + pcVar1 = *(char **)param_3; + } + uVar7 = 0; + for (; pcVar1 != pcVar5 + *(longlong *)(param_3 + 0x10); pcVar1 = pcVar1 + 1) { + uVar7 = uVar7 ^ (longlong)*pcVar1 + (uVar7 >> 2) + uVar7 * 0x40 + 0x9e3779b9; + } + plVar8 = (longlong *)(*param_1 + (uVar7 % (ulonglong)param_1[1]) * 8); + plVar2 = FUN_140010640(plVar8,(undefined8 *)param_3); + if (plVar2 == (longlong *)0x0) { + local_38 = (longlong *)0x0; + local_30 = 0; + local_40 = param_1; + FUN_140010e40((longlong)&local_40); + plVar2 = local_38; + FUN_140010fd0(local_38 + 1,param_4); + local_30 = CONCAT11(1,(undefined1)local_30); + local_res8 = param_1[4]; + local_res18[0] = local_res8 + 1; + if ((ulonglong)param_1[7] <= local_res18[0]) { + local_res8 = (local_res8 >> 1) + local_res8; + puVar6 = &local_res8; + if (local_res8 <= local_res18[0]) { + puVar6 = local_res18; + } + puVar3 = FUN_140037260((longlong)param_1,*puVar6); + if (puVar3 != (undefined *)param_1[1]) { + FUN_140010c10(param_1,(ulonglong)puVar3); + plVar8 = (longlong *)(*param_1 + (uVar7 % (ulonglong)param_1[1]) * 8); + } + } + *plVar2 = *plVar8; + *plVar8 = (longlong)plVar2; + param_1[4] = param_1[4] + 1; + plVar4 = (longlong *)param_1[6]; + if (plVar8 < (longlong *)param_1[6]) { + plVar4 = plVar8; + } + param_1[6] = (longlong)plVar4; + *param_2 = plVar8; + param_2[1] = plVar2; + *(undefined1 *)(param_2 + 2) = 1; + } + else { + *param_2 = plVar8; + param_2[1] = plVar2; + *(undefined1 *)(param_2 + 2) = 0; + } + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400108a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400108a0.c new file mode 100644 index 00000000..20aa7bb6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400108a0.c @@ -0,0 +1,34 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400108a0 FUN_1400108a0 + * Pseudocode, not original source. */ + +longlong * FUN_1400108a0(longlong *param_1,longlong *param_2,longlong *param_3) + +{ + void *pvVar1; + longlong *plVar2; + longlong local_30 [2]; + longlong *local_20; + void *local_18; + undefined2 local_10; + + local_18 = (void *)0x0; + local_10 = 0; + local_20 = param_1; + FUN_140010e40((longlong)&local_20); + FUN_140010fd0((longlong *)((longlong)local_18 + 8),param_3); + local_10._1_1_ = '\x01'; + plVar2 = FUN_140010960(param_1,local_30,(longlong)&local_20); + pvVar1 = local_18; + *param_2 = *plVar2; + param_2[1] = plVar2[1]; + *(undefined1 *)(param_2 + 2) = 1; + if (local_18 != (void *)0x0) { + if (local_10._1_1_ != '\0') { + FUN_140010f70((undefined8 *)((longlong)local_18 + 8)); + } + operator_delete(pvVar1); + } + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140010960.c b/decomp/AgentManager_Release_x64/full/functions/0x140010960.c new file mode 100644 index 00000000..eb00dbf2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140010960.c @@ -0,0 +1,86 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140010960 FUN_140010960 + * Pseudocode, not original source. */ + +longlong * FUN_140010960(longlong *param_1,longlong *param_2,longlong param_3) + +{ + undefined8 *puVar1; + undefined8 *puVar2; + undefined8 uVar3; + char *pcVar4; + undefined *puVar5; + undefined **ppuVar6; + longlong *plVar7; + longlong lVar8; + undefined **ppuVar9; + ulonglong uVar10; + char *pcVar11; + undefined *local_res8; + undefined *local_res10; + + lVar8 = *(longlong *)(param_3 + 8); + pcVar4 = (char *)(lVar8 + 8); + pcVar11 = pcVar4; + if (0xf < *(ulonglong *)(lVar8 + 0x20)) { + pcVar11 = *(char **)pcVar4; + } + if (0xf < *(ulonglong *)(lVar8 + 0x20)) { + pcVar4 = *(char **)pcVar4; + } + uVar10 = 0; + for (; pcVar4 != pcVar11 + *(longlong *)(lVar8 + 0x18); pcVar4 = pcVar4 + 1) { + uVar10 = uVar10 ^ (longlong)*pcVar4 + (uVar10 >> 2) + uVar10 * 0x40 + 0x9e3779b9; + } + if (*param_1 == 0) { + local_res8 = FUN_140037260((longlong)param_1,1); + ppuVar9 = (undefined **)(param_1 + 1); + ppuVar6 = &local_res8; + if (local_res8 <= *ppuVar9) { + ppuVar6 = ppuVar9; + } + *ppuVar9 = *ppuVar6; + FUN_14000c270(param_1); + if (param_1[4] == 0) { + param_1[6] = *param_1 + (longlong)*ppuVar9 * 8; + } + else { + plVar7 = (longlong *)*param_1; + param_1[6] = (longlong)plVar7; + lVar8 = *plVar7; + while (lVar8 == 0) { + plVar7 = plVar7 + 1; + param_1[6] = (longlong)plVar7; + lVar8 = *plVar7; + } + } + lVar8 = FUN_1400110c0((longlong)param_1); + param_1[7] = lVar8; + } + else { + local_res10 = (undefined *)0x1; + if ((ulonglong)param_1[7] < 2) { + local_res8 = (undefined *)(((ulonglong)param_1[4] >> 1) + param_1[4]); + ppuVar9 = &local_res8; + if (local_res8 < (undefined *)0x2) { + ppuVar9 = &local_res10; + } + puVar5 = FUN_140037260((longlong)param_1,(longlong)*ppuVar9); + if (puVar5 != (undefined *)param_1[1]) { + FUN_140010c10(param_1,(ulonglong)puVar5); + } + } + } + puVar1 = (undefined8 *)(*param_1 + (uVar10 % (ulonglong)param_1[1]) * 8); + puVar2 = *(undefined8 **)(param_3 + 8); + *(undefined8 *)(param_3 + 8) = 0; + uVar3 = *puVar1; + *param_2 = (longlong)puVar1; + param_2[1] = (longlong)puVar2; + *puVar2 = uVar3; + *puVar1 = puVar2; + param_1[4] = param_1[4] + 1; + param_1[6] = (longlong)puVar1; + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140010b10.c b/decomp/AgentManager_Release_x64/full/functions/0x140010b10.c new file mode 100644 index 00000000..01455d70 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140010b10.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140010b10 FUN_140010b10 + * Pseudocode, not original source. */ + +void FUN_140010b10(longlong param_1) + +{ + if (*(longlong *)(param_1 + 8) != 0) { + if (*(char *)(param_1 + 0x11) != '\0') { + FUN_140010f70((undefined8 *)(*(longlong *)(param_1 + 8) + 8)); + } + operator_delete(*(void **)(param_1 + 8)); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140010b50.c b/decomp/AgentManager_Release_x64/full/functions/0x140010b50.c new file mode 100644 index 00000000..b6161004 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140010b50.c @@ -0,0 +1,19 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140010b50 FUN_140010b50 + * Pseudocode, not original source. */ + +undefined8 * FUN_140010b50(undefined8 *param_1,undefined8 *param_2,undefined8 *param_3) + +{ + for (; param_1 != param_2; param_1 = param_1 + 5) { + if (param_3 != (undefined8 *)0x0) { + param_3[3] = 0xf; + param_3[2] = 0; + *(undefined1 *)param_3 = 0; + FUN_140011730(param_3,param_1); + } + param_3 = param_3 + 5; + } + return param_3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140010bd0.c b/decomp/AgentManager_Release_x64/full/functions/0x140010bd0.c new file mode 100644 index 00000000..e4541553 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140010bd0.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140010bd0 FUN_140010bd0 + * Pseudocode, not original source. */ + +void FUN_140010bd0(undefined8 *param_1) + +{ + if (0xf < (ulonglong)param_1[3]) { + operator_delete((void *)*param_1); + } + param_1[3] = 0xf; + param_1[2] = 0; + *(undefined1 *)param_1 = 0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140010c10.c b/decomp/AgentManager_Release_x64/full/functions/0x140010c10.c new file mode 100644 index 00000000..36940ff1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140010c10.c @@ -0,0 +1,102 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140010c10 FUN_140010c10 + * Pseudocode, not original source. */ + +void FUN_140010c10(longlong *param_1,ulonglong param_2) + +{ + longlong lVar1; + longlong lVar2; + undefined8 *puVar3; + longlong *plVar4; + longlong lVar5; + longlong *plVar6; + undefined8 *puVar7; + longlong lVar8; + ulonglong uVar9; + double dVar10; + longlong local_50; + ulonglong local_48; + longlong local_38; + longlong local_30; + + lVar8 = param_1[4]; + lVar5 = param_1[1]; + lVar1 = *param_1; + local_50 = 0; + local_48 = param_2; + FUN_14000c270(&local_50); + local_30 = param_1[1]; + lVar2 = *param_1; + *param_1 = 0; + param_1[1] = local_30; + param_1[4] = 0; + for (puVar7 = (undefined8 *)param_1[6]; puVar7 != (undefined8 *)(lVar1 + lVar5 * 8); + puVar7 = puVar7 + 1) { + puVar3 = (undefined8 *)*puVar7; + while (puVar3 != (undefined8 *)0x0) { + plVar4 = puVar3 + 1; + plVar6 = plVar4; + if (0xf < (ulonglong)puVar3[4]) { + plVar6 = (longlong *)*plVar4; + } + if (0xf < (ulonglong)puVar3[4]) { + plVar4 = (longlong *)*plVar4; + } + uVar9 = 0; + for (; plVar4 != (longlong *)(puVar3[3] + (longlong)plVar6); + plVar4 = (longlong *)((longlong)plVar4 + 1)) { + uVar9 = uVar9 ^ (longlong)*(char *)plVar4 + (uVar9 >> 2) + uVar9 * 0x40 + 0x9e3779b9; + } + *puVar7 = *puVar3; + *puVar3 = *(undefined8 *)(local_50 + (uVar9 % local_48) * 8); + *(undefined8 **)(local_50 + (uVar9 % local_48) * 8) = puVar3; + puVar3 = (undefined8 *)*puVar7; + } + } + param_1[4] = lVar8; + lVar8 = *param_1; + *param_1 = local_50; + lVar5 = param_1[1]; + param_1[1] = local_48; + plVar4 = (longlong *)*param_1; + if (param_1[4] == 0) { + param_1[6] = (longlong)(plVar4 + local_48); + } + else { + param_1[6] = (longlong)plVar4; + lVar1 = *plVar4; + while (lVar1 == 0) { + plVar4 = plVar4 + 1; + param_1[6] = (longlong)plVar4; + lVar1 = *plVar4; + } + } + dVar10 = (double)param_1[1]; + if (param_1[1] < 0) { + dVar10 = dVar10 + 1.8446744073709552e+19; + } + local_50 = lVar8; + local_48 = lVar5; + local_38 = lVar2; + dVar10 = ceil((double)*(float *)(param_1 + 5) * dVar10); + lVar5 = -1; + if (dVar10 < 1.8446744073709552e+19) { + lVar5 = 0; + if ((9.223372036854776e+18 < dVar10) && + (dVar10 = dVar10 - 9.223372036854776e+18, dVar10 < 9.223372036854776e+18)) { + lVar5 = -0x8000000000000000; + } + lVar5 = (longlong)dVar10 + lVar5; + } + param_1[7] = lVar5; + if (lVar2 != 0) { + FUN_140010570(&local_38); + lVar8 = local_50; + } + if (lVar8 != 0) { + FUN_140010570(&local_50); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140010e40.c b/decomp/AgentManager_Release_x64/full/functions/0x140010e40.c new file mode 100644 index 00000000..adbc747d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140010e40.c @@ -0,0 +1,64 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140010e40 FUN_140010e40 + * Pseudocode, not original source. */ + +void FUN_140010e40(longlong param_1) + +{ + longlong lVar1; + undefined8 *puVar2; + char *local_res8; + undefined **local_88 [5]; + undefined8 uStack_60; + undefined8 local_58; + undefined8 uStack_50; + undefined8 local_48; + undefined8 uStack_40; + undefined8 local_38; + undefined8 uStack_30; + undefined8 local_28; + undefined8 uStack_20; + undefined8 local_18; + + lVar1 = *(longlong *)(param_1 + 8); + if (lVar1 != 0) { + if (0xf < *(ulonglong *)(lVar1 + 0x48)) { + operator_delete(*(void **)(lVar1 + 0x30)); + } + *(undefined8 *)(lVar1 + 0x48) = 0xf; + *(undefined8 *)(lVar1 + 0x40) = 0; + *(undefined1 *)(lVar1 + 0x30) = 0; + if (0xf < *(ulonglong *)(lVar1 + 0x20)) { + operator_delete(*(void **)(lVar1 + 8)); + } + *(undefined8 *)(lVar1 + 0x20) = 0xf; + *(undefined8 *)(lVar1 + 0x18) = 0; + *(undefined1 *)(lVar1 + 8) = 0; + *(undefined1 *)(param_1 + 0x11) = 0; + return; + } + *(undefined2 *)(param_1 + 0x10) = 0; + puVar2 = operator_new(0x58); + if (puVar2 != (undefined8 *)0x0) { + *(undefined8 **)(param_1 + 8) = puVar2; + *puVar2 = 0; + puVar2[1] = uStack_60; + puVar2[2] = local_58; + puVar2[3] = uStack_50; + puVar2[4] = local_48; + puVar2[5] = uStack_40; + puVar2[6] = local_38; + puVar2[7] = uStack_30; + puVar2[8] = local_28; + puVar2[9] = uStack_20; + puVar2[10] = local_18; + *(undefined1 *)(param_1 + 0x10) = 1; + return; + } + local_res8 = (char *)0x0; + std::exception::exception((exception *)local_88,&local_res8); + local_88[0] = std::bad_alloc::vftable; + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_88,(ThrowInfo *)&DAT_14016c158); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140010f70.c b/decomp/AgentManager_Release_x64/full/functions/0x140010f70.c new file mode 100644 index 00000000..3007b8ec --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140010f70.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140010f70 FUN_140010f70 + * Pseudocode, not original source. */ + +void FUN_140010f70(undefined8 *param_1) + +{ + if (0xf < (ulonglong)param_1[8]) { + operator_delete((void *)param_1[5]); + } + param_1[8] = 0xf; + param_1[7] = 0; + *(undefined1 *)(param_1 + 5) = 0; + if (0xf < (ulonglong)param_1[3]) { + operator_delete((void *)*param_1); + } + param_1[3] = 0xf; + param_1[2] = 0; + *(undefined1 *)param_1 = 0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140010fd0.c b/decomp/AgentManager_Release_x64/full/functions/0x140010fd0.c new file mode 100644 index 00000000..34576c1b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140010fd0.c @@ -0,0 +1,20 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140010fd0 FUN_140010fd0 + * Pseudocode, not original source. */ + +void FUN_140010fd0(longlong *param_1,longlong *param_2) + +{ + if (param_1 != (longlong *)0x0) { + param_1[3] = 0xf; + param_1[2] = 0; + *(undefined1 *)param_1 = 0; + FUN_14000c660(param_1,param_2,0,0xffffffffffffffff); + param_1[8] = 0xf; + param_1[7] = 0; + *(undefined1 *)(param_1 + 5) = 0; + FUN_14000c660(param_1 + 5,param_2 + 5,0,0xffffffffffffffff); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140011050.c b/decomp/AgentManager_Release_x64/full/functions/0x140011050.c new file mode 100644 index 00000000..04c3d60a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140011050.c @@ -0,0 +1,31 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140011050 FUN_140011050 + * Pseudocode, not original source. */ + +void FUN_140011050(longlong *param_1) + +{ + longlong *plVar1; + longlong lVar2; + + if (param_1[4] == 0) { + param_1[6] = *param_1 + param_1[1] * 8; + } + else { + plVar1 = (longlong *)*param_1; + param_1[6] = (longlong)plVar1; + if (*plVar1 == 0) { + do { + plVar1 = plVar1 + 1; + param_1[6] = (longlong)plVar1; + } while (*plVar1 == 0); + lVar2 = FUN_1400110c0((longlong)param_1); + param_1[7] = lVar2; + return; + } + } + lVar2 = FUN_1400110c0((longlong)param_1); + param_1[7] = lVar2; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400110c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400110c0.c new file mode 100644 index 00000000..ad8aeeac --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400110c0.c @@ -0,0 +1,27 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400110c0 FUN_1400110c0 + * Pseudocode, not original source. */ + +longlong FUN_1400110c0(longlong param_1) + +{ + longlong lVar1; + double dVar2; + + dVar2 = (double)*(longlong *)(param_1 + 8); + if (*(longlong *)(param_1 + 8) < 0) { + dVar2 = dVar2 + 1.8446744073709552e+19; + } + dVar2 = ceil((double)*(float *)(param_1 + 0x28) * dVar2); + lVar1 = -1; + if (dVar2 < 1.8446744073709552e+19) { + lVar1 = 0; + if ((9.223372036854776e+18 < dVar2) && + (dVar2 = dVar2 - 9.223372036854776e+18, dVar2 < 9.223372036854776e+18)) { + lVar1 = -0x8000000000000000; + } + lVar1 = (longlong)dVar2 + lVar1; + } + return lVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140011140.c b/decomp/AgentManager_Release_x64/full/functions/0x140011140.c new file mode 100644 index 00000000..469e10d7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140011140.c @@ -0,0 +1,55 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140011140 FUN_140011140 + * Pseudocode, not original source. */ + +longlong * FUN_140011140(longlong *param_1,undefined1 param_2) + +{ + ulonglong uVar1; + size_t sVar2; + code *pcVar3; + longlong *plVar4; + + sVar2 = param_1[2]; + if (-sVar2 - 1 < 2) { + std::_Xlength_error("string too long"); + pcVar3 = (code *)swi(3); + plVar4 = (longlong *)(*pcVar3)(); + return plVar4; + } + uVar1 = sVar2 + 1; + if (uVar1 != 0xffffffffffffffff) { + if ((ulonglong)param_1[3] < uVar1) { + FUN_14000c7d0(param_1,uVar1,sVar2); + if (uVar1 == 0) { + return param_1; + } + } + else if (uVar1 == 0) { + param_1[2] = 0; + if (0xf < (ulonglong)param_1[3]) { + *(undefined1 *)*param_1 = 0; + return param_1; + } + *(undefined1 *)param_1 = 0; + return param_1; + } + plVar4 = param_1; + if (0xf < (ulonglong)param_1[3]) { + plVar4 = (longlong *)*param_1; + } + *(undefined1 *)((longlong)plVar4 + param_1[2]) = param_2; + param_1[2] = uVar1; + plVar4 = param_1; + if (0xf < (ulonglong)param_1[3]) { + plVar4 = (longlong *)*param_1; + } + *(undefined1 *)((longlong)plVar4 + uVar1) = 0; + return param_1; + } + std::_Xlength_error("string too long"); + pcVar3 = (code *)swi(3); + plVar4 = (longlong *)(*pcVar3)(); + return plVar4; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140011230.c b/decomp/AgentManager_Release_x64/full/functions/0x140011230.c new file mode 100644 index 00000000..d9ed0087 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140011230.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140011230 FUN_140011230 + * Pseudocode, not original source. */ + +void FUN_140011230(longlong *param_1) + +{ + int *piVar1; + int iVar2; + longlong *plVar3; + longlong lVar4; + + lVar4 = *param_1; + plVar3 = *(longlong **)(lVar4 + -0x18); + if (*(int *)(lVar4 + -0x10) != 0) { + if (*(int *)(lVar4 + -8) < 0) { + if (*(int *)(lVar4 + -0xc) < 0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80070057); + } + *(undefined4 *)(lVar4 + -0x10) = 0; + *(undefined2 *)*param_1 = 0; + return; + } + LOCK(); + piVar1 = (int *)(lVar4 + -8); + iVar2 = *piVar1; + *piVar1 = *piVar1 + -1; + UNLOCK(); + if (iVar2 + -1 < 1) { + (**(code **)(**(longlong **)(lVar4 + -0x18) + 8))(); + } + lVar4 = (**(code **)(*plVar3 + 0x18))(plVar3); + *param_1 = lVar4 + 0x18; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400112b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400112b0.c new file mode 100644 index 00000000..7571617c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400112b0.c @@ -0,0 +1,28 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400112b0 FUN_1400112b0 + * Pseudocode, not original source. */ + +HMODULE FUN_1400112b0(uint param_1,WORD param_2) + +{ + HMODULE hModule; + HRSRC pHVar1; + ushort *puVar2; + int iVar3; + + hModule = ATL::CAtlBaseModule::GetHInstanceAt((CAtlBaseModule *)&DAT_140177960,0); + iVar3 = 0; + while( true ) { + if (hModule == (HMODULE)0x0) { + return (HMODULE)0x0; + } + iVar3 = iVar3 + 1; + pHVar1 = FindResourceExW(hModule,(LPCWSTR)0x6, + (LPCWSTR)(ulonglong)(ushort)((short)(param_1 >> 4) + 1),param_2); + if ((pHVar1 != (HRSRC)0x0) && + (puVar2 = FUN_140011370(hModule,pHVar1,param_1), puVar2 != (ushort *)0x0)) break; + hModule = ATL::CAtlBaseModule::GetHInstanceAt((CAtlBaseModule *)&DAT_140177960,iVar3); + } + return hModule; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140011370.c b/decomp/AgentManager_Release_x64/full/functions/0x140011370.c new file mode 100644 index 00000000..a8d571fe --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140011370.c @@ -0,0 +1,37 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140011370 FUN_140011370 + * Pseudocode, not original source. */ + +ushort * FUN_140011370(HMODULE param_1,HRSRC param_2,uint param_3) + +{ + DWORD DVar1; + HGLOBAL hResData; + ushort *puVar2; + uint uVar3; + ushort *puVar4; + + hResData = LoadResource(param_1,param_2); + if (hResData == (HGLOBAL)0x0) { + return (ushort *)0x0; + } + puVar2 = LockResource(hResData); + if (puVar2 != (ushort *)0x0) { + DVar1 = SizeofResource(param_1,param_2); + puVar4 = (ushort *)((ulonglong)DVar1 + (longlong)puVar2); + for (uVar3 = param_3 & 0xf; uVar3 != 0; uVar3 = uVar3 - 1) { + if (puVar4 <= puVar2) { + return (ushort *)0x0; + } + puVar2 = puVar2 + (ulonglong)*puVar2 + 1; + } + if (puVar2 < puVar4) { + if (*puVar2 == 0) { + return (ushort *)0x0; + } + return puVar2; + } + } + return (ushort *)0x0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140011410.c b/decomp/AgentManager_Release_x64/full/functions/0x140011410.c new file mode 100644 index 00000000..4837659e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140011410.c @@ -0,0 +1,41 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140011410 FUN_140011410 + * Pseudocode, not original source. */ + +void FUN_140011410(undefined8 *param_1,int param_2) + +{ + int *piVar1; + int iVar2; + void *_Src; + rsize_t _DstSize; + undefined8 *puVar3; + longlong lVar4; + + _Src = (void *)*param_1; + iVar2 = *(int *)((longlong)_Src + -0x10); + puVar3 = (undefined8 *)(**(code **)(**(longlong **)((longlong)_Src + -0x18) + 0x20))(); + lVar4 = (**(code **)*puVar3)(puVar3,param_2,2); + if (lVar4 == 0) { + /* WARNING: Subroutine does not return */ + FUN_1400114c0(); + } + if (iVar2 < param_2) { + param_2 = iVar2; + } + _DstSize = (longlong)(param_2 + 1) * 2; + memcpy_s((void *)(lVar4 + 0x18),_DstSize,_Src,_DstSize); + *(int *)(lVar4 + 8) = iVar2; + LOCK(); + piVar1 = (int *)((longlong)_Src + -8); + iVar2 = *piVar1; + *piVar1 = *piVar1 + -1; + UNLOCK(); + if (iVar2 + -1 < 1) { + (**(code **)(**(longlong **)((longlong)_Src + -0x18) + 8)) + (*(longlong **)((longlong)_Src + -0x18),(longlong)_Src + -0x18); + } + *param_1 = (void *)(lVar4 + 0x18); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400114c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400114c0.c new file mode 100644 index 00000000..bfac8710 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400114c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400114c0 FUN_1400114c0 + * Pseudocode, not original source. */ + +void FUN_1400114c0(void) + +{ + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x8007000e); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400114d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400114d0.c new file mode 100644 index 00000000..4261beb9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400114d0.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400114d0 FUN_1400114d0 + * Pseudocode, not original source. */ + +void FUN_1400114d0(longlong *param_1,int param_2) + +{ + longlong lVar1; + + if ((*(int *)(*param_1 + -0xc) < param_2) && (0 < param_2)) { + lVar1 = (**(code **)(**(longlong **)(*param_1 + -0x18) + 0x10))(); + if (lVar1 == 0) { + /* WARNING: Subroutine does not return */ + FUN_1400114c0(); + } + *param_1 = lVar1 + 0x18; + return; + } + /* WARNING: Subroutine does not return */ + FUN_1400114c0(); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140011520.c b/decomp/AgentManager_Release_x64/full/functions/0x140011520.c new file mode 100644 index 00000000..407d9e45 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140011520.c @@ -0,0 +1,34 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140011520 FUN_140011520 + * Pseudocode, not original source. */ + +void FUN_140011520(longlong *param_1,int param_2) + +{ + longlong lVar1; + int iVar2; + + lVar1 = *param_1; + if (param_2 < *(int *)(lVar1 + -0x10)) { + param_2 = *(int *)(lVar1 + -0x10); + } + if (1 < *(int *)(lVar1 + -8)) { + FUN_140011410(param_1,param_2); + return; + } + iVar2 = *(int *)(lVar1 + -0xc); + if (iVar2 < param_2) { + if (iVar2 < 0x40000001) { + iVar2 = iVar2 + iVar2 / 2; + } + else { + iVar2 = iVar2 + 0x100000; + } + if (iVar2 < param_2) { + iVar2 = param_2; + } + FUN_1400114d0(param_1,iVar2); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140011580.c b/decomp/AgentManager_Release_x64/full/functions/0x140011580.c new file mode 100644 index 00000000..9e6e6430 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140011580.c @@ -0,0 +1,27 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140011580 FUN_140011580 + * Pseudocode, not original source. */ + +void FUN_140011580(wchar_t *param_1,rsize_t param_2,wchar_t *param_3,rsize_t param_4) + +{ + errno_t eVar1; + + eVar1 = wmemcpy_s(param_1,param_2,param_3,param_4); + if (eVar1 != 0) { + if (eVar1 == 0xc) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x8007000e); + } + if ((eVar1 == 0x16) || (eVar1 == 0x22)) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80070057); + } + if (eVar1 != 0x50) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400115d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400115d0.c new file mode 100644 index 00000000..60f89dde --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400115d0.c @@ -0,0 +1,41 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400115d0 FUN_1400115d0 + * Pseudocode, not original source. */ + +void FUN_1400115d0(wchar_t *param_1,int param_2,wchar_t *param_3,uint param_4) + +{ + wchar_t wVar1; + errno_t eVar2; + longlong lVar3; + wchar_t *pwVar4; + + if (param_4 == 0xffffffff) { + lVar3 = -1; + pwVar4 = param_3; + do { + if (lVar3 == 0) break; + lVar3 = lVar3 + -1; + wVar1 = *pwVar4; + pwVar4 = pwVar4 + 1; + } while (wVar1 != L'\0'); + param_4 = ~(uint)lVar3; + } + eVar2 = wmemcpy_s(param_1,(longlong)param_2,param_3,(longlong)(int)param_4); + if (eVar2 != 0) { + if (eVar2 == 0xc) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x8007000e); + } + if ((eVar2 == 0x16) || (eVar2 == 0x22)) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80070057); + } + if (eVar2 != 0x50) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140011650.c b/decomp/AgentManager_Release_x64/full/functions/0x140011650.c new file mode 100644 index 00000000..4b88df02 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140011650.c @@ -0,0 +1,37 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140011650 FUN_140011650 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x0001400116a9) */ + +undefined8 FUN_140011650(longlong *param_1,HMODULE param_2,uint param_3) + +{ + uint uVar1; + ushort uVar2; + HRSRC pHVar3; + ushort *puVar4; + uint uVar5; + + pHVar3 = FindResourceW(param_2,(LPCWSTR)(ulonglong)(ushort)((short)(param_3 >> 4) + 1), + (LPCWSTR)0x6); + if ((pHVar3 == (HRSRC)0x0) || + (puVar4 = FUN_140011370(param_2,pHVar3,param_3), puVar4 == (ushort *)0x0)) { + return 0; + } + uVar2 = *puVar4; + uVar5 = (uint)uVar2; + if ((int)(1U - *(int *)(*param_1 + -8) | *(int *)(*param_1 + -0xc) - uVar5) < 0) { + FUN_140011520(param_1,uVar5); + } + FUN_1400115d0((wchar_t *)*param_1,uVar5,(wchar_t *)(puVar4 + 1),(uint)*puVar4); + uVar1 = *(uint *)(*param_1 + -0xc); + if (uVar2 != uVar1 && (int)uVar1 <= (int)uVar5) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80070057); + } + *(uint *)(*param_1 + -0x10) = (uint)uVar2; + *(undefined2 *)(*param_1 + (ulonglong)uVar2 * 2) = 0; + return 1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140011730.c b/decomp/AgentManager_Release_x64/full/functions/0x140011730.c new file mode 100644 index 00000000..c0583cdc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140011730.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140011730 FUN_140011730 + * Pseudocode, not original source. */ + +undefined8 * FUN_140011730(undefined8 *param_1,undefined8 *param_2) + +{ + if (param_1 != param_2) { + if (0xf < (ulonglong)param_1[3]) { + operator_delete((void *)*param_1); + } + param_1[3] = 0xf; + param_1[2] = 0; + *(undefined1 *)param_1 = 0; + if ((ulonglong)param_2[3] < 0x10) { + memmove(param_1,param_2,param_2[2] + 1); + } + else { + *param_1 = *param_2; + *param_2 = 0; + } + param_1[2] = param_2[2]; + param_1[3] = param_2[3]; + param_2[3] = 0xf; + param_2[2] = 0; + *(undefined1 *)param_2 = 0; + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400117d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400117d0.c new file mode 100644 index 00000000..7251fbbb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400117d0.c @@ -0,0 +1,23 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400117d0 FUN_1400117d0 + * Pseudocode, not original source. */ + +void FUN_1400117d0(longlong *param_1) + +{ + int *piVar1; + int iVar2; + longlong lVar3; + + lVar3 = *param_1; + LOCK(); + piVar1 = (int *)(lVar3 + -8); + iVar2 = *piVar1; + *piVar1 = *piVar1 + -1; + UNLOCK(); + if (iVar2 + -1 < 1) { + (**(code **)(**(longlong **)(lVar3 + -0x18) + 8))(); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140011800.c b/decomp/AgentManager_Release_x64/full/functions/0x140011800.c new file mode 100644 index 00000000..436be7de --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140011800.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140011800 FUN_140011800 + * Pseudocode, not original source. */ + +undefined8 * FUN_140011800(undefined8 *param_1,byte param_2) + +{ + DAT_14017cf40 = 0; + *param_1 = MBISingleton::vftable; + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140011840.c b/decomp/AgentManager_Release_x64/full/functions/0x140011840.c new file mode 100644 index 00000000..e73b47f8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140011840.c @@ -0,0 +1,200 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140011840 FUN_140011840 + * Pseudocode, not original source. */ + +void FUN_140011840(longlong param_1,short *param_2,undefined8 param_3,undefined8 param_4) + +{ + LPVOID pvVar1; + uint uVar2; + uint uVar3; + int *piVar4; + uint *puVar5; + longlong lVar6; + longlong *plVar7; + undefined ***pppuVar8; + uint *puVar9; + LPVOID pvVar10; + uint uVar11; + ulonglong uVar12; + uint uVar13; + undefined *puVar14; + uint *local_res8; + undefined **local_50; + longlong *local_48; + LPVOID local_40; + ulonglong local_38; + undefined8 local_30; + + FUN_14003d040((int *)(param_1 + 0xe0)); + local_50 = Proud::CFastArray::vftable; + local_48 = (longlong *)0x0; + local_40 = (LPVOID)0x0; + local_38 = 0; + local_30 = 0; + pppuVar8 = &local_50; + lVar6 = DAT_14017cf38; + FUN_14000ded0(DAT_14017cf38,(longlong)pppuVar8); + if ((int)local_38 < 1) { + if (local_40 != (LPVOID)0x0) { + if (local_48 == (longlong *)0x0) { + FUN_14003e8b0(local_40); + } + else { + (**(code **)(*local_48 + 0x18))(local_48,local_40); + } + } + goto LAB_140011b70; + } + FUN_14003e7c0(lVar6,pppuVar8,param_3,param_4); + local_res8 = (uint *)PTR_DAT_14016f010; + uVar2 = FUN_14003e620(param_2); + uVar3 = 0; + uVar12 = 0; + if ((local_res8 != (uint *)0x0) && (uVar12 = 0, local_res8 != (uint *)PTR_DAT_14016f010)) { + uVar12 = (ulonglong)local_res8[-2]; + } + uVar13 = uVar2; + if ((((int)uVar2 <= (int)uVar12) && (uVar13 = uVar3, local_res8 != (uint *)0x0)) && + (local_res8 != (uint *)PTR_DAT_14016f010)) { + uVar13 = local_res8[-2]; + } + uVar11 = 1; + if (1 < (int)uVar13) { + uVar11 = uVar13; + } + uVar13 = uVar3; + if ((local_res8 != (uint *)0x0) && (local_res8 != (uint *)PTR_DAT_14016f010)) { + uVar13 = local_res8[-2]; + } + if ((int)uVar13 < (int)uVar11) { + puVar5 = local_res8; + if (local_res8 == (uint *)0x0) { + puVar5 = (uint *)PTR_DAT_14016f010; + } + local_res8 = puVar5; + if ((int)uVar11 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar11 == 0) { + local_res8 = (uint *)PTR_DAT_14016f010; + if (((puVar5 != (uint *)0x0) && (puVar5 != (uint *)PTR_DAT_14016f010)) && + (puVar5 + -2 != (uint *)0x0)) { + local_res8 = puVar5; + piVar4 = (int *)FUN_14003e7c0(puVar5,PTR_DAT_14016f010,uVar12,param_4); + FUN_14003d040(piVar4); + puVar9 = puVar5 + -1; + *puVar9 = *puVar9 - 1; + if (*puVar9 == 0) { + FUN_14003e8b0(puVar5 + -2); + } + FUN_14003d0d0((longlong)piVar4); + local_res8 = (uint *)PTR_DAT_14016f010; + } + } + else { + uVar13 = uVar3; + if ((puVar5 != (uint *)0x0) && (puVar5 != (uint *)PTR_DAT_14016f010)) { + uVar13 = puVar5[-2]; + } + if (uVar11 != uVar13) { + puVar5 = (uint *)FUN_14003e840((longlong)(int)uVar11 * 2 + 10); + if (puVar5 != (uint *)0x0) { + *puVar5 = 0; + puVar5[1] = 1; + } + *puVar5 = uVar11; + uVar13 = 0; + if ((local_res8 != (uint *)0x0) && (local_res8 != (uint *)PTR_DAT_14016f010)) { + uVar13 = local_res8[-2]; + } + puVar9 = (uint *)PTR_DAT_14016f010; + if ((int)uVar11 < (int)uVar13) { +LAB_140011a17: + if (local_res8 != (uint *)0x0) { + puVar9 = local_res8; + } + } + else { + uVar11 = uVar3; + if (local_res8 != (uint *)0x0) { + if (local_res8 != (uint *)PTR_DAT_14016f010) { + uVar11 = local_res8[-2]; + } + goto LAB_140011a17; + } + } + uVar12 = (ulonglong)uVar11; + FUN_14003e650(puVar5 + 2,puVar9,uVar11); + FUN_140002190((longlong *)&local_res8,puVar9,uVar12,param_4); + local_res8 = puVar5 + 2; + } + } + } + FUN_140001df0((longlong *)&local_res8); + puVar5 = local_res8; + if (local_res8 == (uint *)0x0) { + puVar5 = (uint *)PTR_DAT_14016f010; + } + FUN_14003e650(puVar5,param_2,uVar2); + puVar5 = local_res8; + if (local_res8 == (uint *)0x0) { + puVar5 = (uint *)PTR_DAT_14016f010; + } + uVar3 = FUN_14003e620((short *)puVar5); + pvVar1 = local_40; + uVar13 = 0; + uVar2 = 0; + if (0 < (int)uVar3) { + uVar2 = uVar3; + } + uVar3 = uVar13; + if ((local_res8 != (uint *)0x0) && (local_res8 != (uint *)PTR_DAT_14016f010)) { + uVar3 = local_res8[-2]; + } + if (((int)uVar2 < (int)uVar3) || (uVar2 = uVar13, local_res8 == (uint *)0x0)) { +LAB_140011aac: + if (((local_res8 != (uint *)PTR_DAT_14016f010) && (local_res8 != (uint *)0x0)) && + (local_res8 + -2 != (uint *)0x0)) { + local_res8[-2] = uVar2; + *(undefined2 *)((longlong)local_res8 + (longlong)(int)uVar2 * 2) = 0; + } + } + else if (local_res8 != (uint *)PTR_DAT_14016f010) { + uVar2 = local_res8[-2]; + goto LAB_140011aac; + } + pvVar10 = local_40; + if ((int)local_38 == 0) { + pvVar10 = (LPVOID)0x0; + } + plVar7 = (longlong *)(param_1 + 0x48); + puVar14 = &DAT_14016f5d0; + uVar12 = local_38 & 0xffffffff; + (**(code **)(*plVar7 + 0xd8))(); + puVar5 = local_res8; + if (((local_res8 != (uint *)0x0) && (local_res8 != (uint *)PTR_DAT_14016f010)) && + (puVar9 = local_res8 + -2, puVar9 != (uint *)0x0)) { + piVar4 = (int *)FUN_14003e7c0(plVar7,pvVar10,uVar12,puVar14); + FUN_14003d040(piVar4); + puVar5 = puVar5 + -1; + *puVar5 = *puVar5 - 1; + if (*puVar5 == 0) { + FUN_14003e8b0(puVar9); + } + FUN_14003d0d0((longlong)piVar4); + } + if (pvVar1 != (LPVOID)0x0) { + if (local_48 == (longlong *)0x0) { + FUN_14003e8b0(pvVar1); + } + else { + (**(code **)(*local_48 + 0x18))(local_48,pvVar1); + } + } +LAB_140011b70: + FUN_14003d0d0(param_1 + 0xe0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140011ba0.c b/decomp/AgentManager_Release_x64/full/functions/0x140011ba0.c new file mode 100644 index 00000000..78ec386a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140011ba0.c @@ -0,0 +1,56 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140011ba0 FUN_140011ba0 + * Pseudocode, not original source. */ + +void FUN_140011ba0(longlong param_1,undefined4 param_2) + +{ + LPVOID pvVar1; + LPVOID pvVar2; + undefined4 local_res10 [2]; + undefined **local_30; + longlong *local_28; + LPVOID local_20; + ulonglong local_18; + undefined8 local_10; + + local_res10[0] = param_2; + FUN_14003d040((int *)(param_1 + 0xe0)); + local_30 = Proud::CFastArray::vftable; + local_28 = (longlong *)0x0; + local_20 = (LPVOID)0x0; + local_18 = 0; + local_10 = 0; + FUN_14000ded0(DAT_14017cf38,(longlong)&local_30); + pvVar1 = local_20; + if ((int)local_18 < 1) { + if (local_20 != (LPVOID)0x0) { + if (local_28 == (longlong *)0x0) { + FUN_14003e8b0(local_20); + } + else { + (**(code **)(*local_28 + 0x18))(local_28,local_20); + } + } + } + else { + pvVar2 = local_20; + if ((int)local_18 == 0) { + pvVar2 = (LPVOID)0x0; + } + (**(code **)(*(longlong *)(param_1 + 0x48) + 0xe8)) + ((longlong *)(param_1 + 0x48),pvVar2,local_18 & 0xffffffff,&DAT_14016f5d0,local_res10) + ; + if (pvVar1 != (LPVOID)0x0) { + if (local_28 == (longlong *)0x0) { + FUN_14003e8b0(pvVar1); + } + else { + (**(code **)(*local_28 + 0x18))(local_28,pvVar1); + } + } + } + FUN_14003d0d0(param_1 + 0xe0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140011cc0.c b/decomp/AgentManager_Release_x64/full/functions/0x140011cc0.c new file mode 100644 index 00000000..187fd1fc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140011cc0.c @@ -0,0 +1,62 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140011cc0 FUN_140011cc0 + * Pseudocode, not original source. */ + +void FUN_140011cc0(longlong param_1) + +{ + int *piVar1; + LPVOID pvVar2; + LPVOID pvVar3; + undefined8 uVar4; + int *piVar5; + undefined1 uVar6; + undefined **local_30; + longlong *local_28; + LPVOID local_20; + ulonglong local_18; + undefined8 local_10; + + uVar4 = 0xfffffffffffffffe; + piVar1 = (int *)(param_1 + 0xe0); + piVar5 = piVar1; + FUN_14003d040(piVar1); + uVar6 = 1; + local_30 = Proud::CFastArray::vftable; + local_28 = (longlong *)0x0; + local_20 = (LPVOID)0x0; + local_18 = 0; + local_10 = 0; + FUN_14000ded0(DAT_14017cf38,(longlong)&local_30); + pvVar2 = local_20; + if ((int)local_18 < 1) { + if (local_20 != (LPVOID)0x0) { + if (local_28 == (longlong *)0x0) { + FUN_14003e8b0(local_20); + } + else { + (**(code **)(*local_28 + 0x18))(local_28,local_20); + } + } + } + else { + pvVar3 = local_20; + if ((int)local_18 == 0) { + pvVar3 = (LPVOID)0x0; + } + (**(code **)(*(longlong *)(param_1 + 0x48) + 0xf8)) + ((longlong *)(param_1 + 0x48),pvVar3,local_18 & 0xffffffff,&DAT_14016f5d0,uVar4,piVar5 + ,uVar6); + if (pvVar2 != (LPVOID)0x0) { + if (local_28 == (longlong *)0x0) { + FUN_14003e8b0(pvVar2); + } + else { + (**(code **)(*local_28 + 0x18))(local_28,pvVar2); + } + } + } + FUN_14003d0d0((longlong)piVar1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140011dd0.c b/decomp/AgentManager_Release_x64/full/functions/0x140011dd0.c new file mode 100644 index 00000000..8de15ca1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140011dd0.c @@ -0,0 +1,60 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140011dd0 FUN_140011dd0 + * Pseudocode, not original source. */ + +void FUN_140011dd0(longlong param_1,undefined1 param_2,undefined4 param_3,undefined4 param_4) + +{ + LPVOID pvVar1; + LPVOID pvVar2; + undefined1 local_res10 [8]; + undefined4 local_res18 [2]; + undefined4 local_res20 [2]; + undefined **local_40; + longlong *local_38; + LPVOID local_30; + ulonglong local_28; + undefined8 local_20; + + local_res10[0] = param_2; + local_res18[0] = param_3; + local_res20[0] = param_4; + FUN_14003d040((int *)(param_1 + 0xe0)); + local_40 = Proud::CFastArray::vftable; + local_38 = (longlong *)0x0; + local_30 = (LPVOID)0x0; + local_28 = 0; + local_20 = 0; + FUN_14000ded0(DAT_14017cf38,(longlong)&local_40); + pvVar1 = local_30; + if ((int)local_28 < 1) { + if (local_30 != (LPVOID)0x0) { + if (local_38 == (longlong *)0x0) { + FUN_14003e8b0(local_30); + } + else { + (**(code **)(*local_38 + 0x18))(local_38,local_30); + } + } + } + else { + pvVar2 = local_30; + if ((int)local_28 == 0) { + pvVar2 = (LPVOID)0x0; + } + (**(code **)(*(longlong *)(param_1 + 0x48) + 0x68)) + ((longlong *)(param_1 + 0x48),pvVar2,local_28 & 0xffffffff,&DAT_14016f5d0,local_res10, + local_res18,local_res20); + if (pvVar1 != (LPVOID)0x0) { + if (local_38 == (longlong *)0x0) { + FUN_14003e8b0(pvVar1); + } + else { + (**(code **)(*local_38 + 0x18))(local_38,pvVar1); + } + } + } + FUN_14003d0d0(param_1 + 0xe0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140011f00.c b/decomp/AgentManager_Release_x64/full/functions/0x140011f00.c new file mode 100644 index 00000000..cd4f735c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140011f00.c @@ -0,0 +1,64 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140011f00 FUN_140011f00 + * Pseudocode, not original source. */ + +void FUN_140011f00(longlong param_1,undefined4 param_2,undefined8 param_3) + +{ + int *piVar1; + LPVOID pvVar2; + LPVOID pvVar3; + undefined4 local_res10 [2]; + undefined8 uVar4; + int *piVar5; + undefined1 uVar6; + undefined **local_40; + longlong *local_38; + LPVOID local_30; + ulonglong local_28; + undefined8 local_20; + + uVar4 = 0xfffffffffffffffe; + piVar1 = (int *)(param_1 + 0xe0); + local_res10[0] = param_2; + piVar5 = piVar1; + FUN_14003d040(piVar1); + uVar6 = 1; + local_40 = Proud::CFastArray::vftable; + local_38 = (longlong *)0x0; + local_30 = (LPVOID)0x0; + local_28 = 0; + local_20 = 0; + FUN_14000ded0(DAT_14017cf38,(longlong)&local_40); + pvVar2 = local_30; + if ((int)local_28 < 1) { + if (local_30 != (LPVOID)0x0) { + if (local_38 == (longlong *)0x0) { + FUN_14003e8b0(local_30); + } + else { + (**(code **)(*local_38 + 0x18))(local_38,local_30); + } + } + } + else { + pvVar3 = local_30; + if ((int)local_28 == 0) { + pvVar3 = (LPVOID)0x0; + } + (**(code **)(*(longlong *)(param_1 + 0x48) + 0x48)) + ((longlong *)(param_1 + 0x48),pvVar3,local_28 & 0xffffffff,&DAT_14016f5d0,local_res10, + param_3,uVar4,piVar5,uVar6); + if (pvVar2 != (LPVOID)0x0) { + if (local_38 == (longlong *)0x0) { + FUN_14003e8b0(pvVar2); + } + else { + (**(code **)(*local_38 + 0x18))(local_38,pvVar2); + } + } + } + FUN_14003d0d0((longlong)piVar1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140012020.c b/decomp/AgentManager_Release_x64/full/functions/0x140012020.c new file mode 100644 index 00000000..20ea679f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140012020.c @@ -0,0 +1,56 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140012020 FUN_140012020 + * Pseudocode, not original source. */ + +void FUN_140012020(longlong param_1,undefined4 param_2,undefined8 param_3,undefined8 param_4) + +{ + LPVOID pvVar1; + LPVOID pvVar2; + undefined4 local_res10 [2]; + undefined **local_40; + longlong *local_38; + LPVOID local_30; + ulonglong local_28; + undefined8 local_20; + + local_res10[0] = param_2; + FUN_14003d040((int *)(param_1 + 0xe0)); + local_40 = Proud::CFastArray::vftable; + local_38 = (longlong *)0x0; + local_30 = (LPVOID)0x0; + local_28 = 0; + local_20 = 0; + FUN_14000ded0(DAT_14017cf38,(longlong)&local_40); + pvVar1 = local_30; + if ((int)local_28 < 1) { + if (local_30 != (LPVOID)0x0) { + if (local_38 == (longlong *)0x0) { + FUN_14003e8b0(local_30); + } + else { + (**(code **)(*local_38 + 0x18))(local_38,local_30); + } + } + } + else { + pvVar2 = local_30; + if ((int)local_28 == 0) { + pvVar2 = (LPVOID)0x0; + } + (**(code **)(*(longlong *)(param_1 + 0x48) + 0x58)) + ((longlong *)(param_1 + 0x48),pvVar2,local_28 & 0xffffffff,&DAT_14016f5d0,local_res10, + param_3,param_4); + if (pvVar1 != (LPVOID)0x0) { + if (local_38 == (longlong *)0x0) { + FUN_14003e8b0(pvVar1); + } + else { + (**(code **)(*local_38 + 0x18))(local_38,pvVar1); + } + } + } + FUN_14003d0d0(param_1 + 0xe0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140012160.c b/decomp/AgentManager_Release_x64/full/functions/0x140012160.c new file mode 100644 index 00000000..b36fa360 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140012160.c @@ -0,0 +1,200 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140012160 FUN_140012160 + * Pseudocode, not original source. */ + +void FUN_140012160(longlong param_1,short *param_2,undefined8 param_3,undefined8 param_4) + +{ + LPVOID pvVar1; + uint uVar2; + uint uVar3; + int *piVar4; + uint *puVar5; + longlong lVar6; + longlong *plVar7; + undefined ***pppuVar8; + uint *puVar9; + LPVOID pvVar10; + uint uVar11; + ulonglong uVar12; + uint uVar13; + undefined *puVar14; + uint *local_res8; + undefined **local_50; + longlong *local_48; + LPVOID local_40; + ulonglong local_38; + undefined8 local_30; + + FUN_14003d040((int *)(param_1 + 0xe0)); + local_50 = Proud::CFastArray::vftable; + local_48 = (longlong *)0x0; + local_40 = (LPVOID)0x0; + local_38 = 0; + local_30 = 0; + pppuVar8 = &local_50; + lVar6 = DAT_14017cf38; + FUN_14000ded0(DAT_14017cf38,(longlong)pppuVar8); + if ((int)local_38 < 1) { + if (local_40 != (LPVOID)0x0) { + if (local_48 == (longlong *)0x0) { + FUN_14003e8b0(local_40); + } + else { + (**(code **)(*local_48 + 0x18))(local_48,local_40); + } + } + goto LAB_14001248d; + } + FUN_14003e7c0(lVar6,pppuVar8,param_3,param_4); + local_res8 = (uint *)PTR_DAT_14016f010; + uVar2 = FUN_14003e620(param_2); + uVar3 = 0; + uVar12 = 0; + if ((local_res8 != (uint *)0x0) && (uVar12 = 0, local_res8 != (uint *)PTR_DAT_14016f010)) { + uVar12 = (ulonglong)local_res8[-2]; + } + uVar13 = uVar2; + if ((((int)uVar2 <= (int)uVar12) && (uVar13 = uVar3, local_res8 != (uint *)0x0)) && + (local_res8 != (uint *)PTR_DAT_14016f010)) { + uVar13 = local_res8[-2]; + } + uVar11 = 1; + if (1 < (int)uVar13) { + uVar11 = uVar13; + } + uVar13 = uVar3; + if ((local_res8 != (uint *)0x0) && (local_res8 != (uint *)PTR_DAT_14016f010)) { + uVar13 = local_res8[-2]; + } + if ((int)uVar13 < (int)uVar11) { + puVar5 = local_res8; + if (local_res8 == (uint *)0x0) { + puVar5 = (uint *)PTR_DAT_14016f010; + } + local_res8 = puVar5; + if ((int)uVar11 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar11 == 0) { + local_res8 = (uint *)PTR_DAT_14016f010; + if (((puVar5 != (uint *)0x0) && (puVar5 != (uint *)PTR_DAT_14016f010)) && + (puVar5 + -2 != (uint *)0x0)) { + local_res8 = puVar5; + piVar4 = (int *)FUN_14003e7c0(puVar5,PTR_DAT_14016f010,uVar12,param_4); + FUN_14003d040(piVar4); + puVar9 = puVar5 + -1; + *puVar9 = *puVar9 - 1; + if (*puVar9 == 0) { + FUN_14003e8b0(puVar5 + -2); + } + FUN_14003d0d0((longlong)piVar4); + local_res8 = (uint *)PTR_DAT_14016f010; + } + } + else { + uVar13 = uVar3; + if ((puVar5 != (uint *)0x0) && (puVar5 != (uint *)PTR_DAT_14016f010)) { + uVar13 = puVar5[-2]; + } + if (uVar11 != uVar13) { + puVar5 = (uint *)FUN_14003e840((longlong)(int)uVar11 * 2 + 10); + if (puVar5 != (uint *)0x0) { + *puVar5 = 0; + puVar5[1] = 1; + } + *puVar5 = uVar11; + uVar13 = 0; + if ((local_res8 != (uint *)0x0) && (local_res8 != (uint *)PTR_DAT_14016f010)) { + uVar13 = local_res8[-2]; + } + puVar9 = (uint *)PTR_DAT_14016f010; + if ((int)uVar11 < (int)uVar13) { +LAB_140012337: + if (local_res8 != (uint *)0x0) { + puVar9 = local_res8; + } + } + else { + uVar11 = uVar3; + if (local_res8 != (uint *)0x0) { + if (local_res8 != (uint *)PTR_DAT_14016f010) { + uVar11 = local_res8[-2]; + } + goto LAB_140012337; + } + } + uVar12 = (ulonglong)uVar11; + FUN_14003e650(puVar5 + 2,puVar9,uVar11); + FUN_140002190((longlong *)&local_res8,puVar9,uVar12,param_4); + local_res8 = puVar5 + 2; + } + } + } + FUN_140001df0((longlong *)&local_res8); + puVar5 = local_res8; + if (local_res8 == (uint *)0x0) { + puVar5 = (uint *)PTR_DAT_14016f010; + } + FUN_14003e650(puVar5,param_2,uVar2); + puVar5 = local_res8; + if (local_res8 == (uint *)0x0) { + puVar5 = (uint *)PTR_DAT_14016f010; + } + uVar3 = FUN_14003e620((short *)puVar5); + pvVar1 = local_40; + uVar13 = 0; + uVar2 = 0; + if (0 < (int)uVar3) { + uVar2 = uVar3; + } + uVar3 = uVar13; + if ((local_res8 != (uint *)0x0) && (local_res8 != (uint *)PTR_DAT_14016f010)) { + uVar3 = local_res8[-2]; + } + if (((int)uVar2 < (int)uVar3) || (uVar2 = uVar13, local_res8 == (uint *)0x0)) { +LAB_1400123cc: + if (((local_res8 != (uint *)PTR_DAT_14016f010) && (local_res8 != (uint *)0x0)) && + (local_res8 + -2 != (uint *)0x0)) { + local_res8[-2] = uVar2; + *(undefined2 *)((longlong)local_res8 + (longlong)(int)uVar2 * 2) = 0; + } + } + else if (local_res8 != (uint *)PTR_DAT_14016f010) { + uVar2 = local_res8[-2]; + goto LAB_1400123cc; + } + pvVar10 = local_40; + if ((int)local_38 == 0) { + pvVar10 = (LPVOID)0x0; + } + plVar7 = (longlong *)(param_1 + 0x48); + puVar14 = &DAT_14016f5d0; + uVar12 = local_38 & 0xffffffff; + (**(code **)(*plVar7 + 0x78))(); + puVar5 = local_res8; + if (((local_res8 != (uint *)0x0) && (local_res8 != (uint *)PTR_DAT_14016f010)) && + (puVar9 = local_res8 + -2, puVar9 != (uint *)0x0)) { + piVar4 = (int *)FUN_14003e7c0(plVar7,pvVar10,uVar12,puVar14); + FUN_14003d040(piVar4); + puVar5 = puVar5 + -1; + *puVar5 = *puVar5 - 1; + if (*puVar5 == 0) { + FUN_14003e8b0(puVar9); + } + FUN_14003d0d0((longlong)piVar4); + } + if (pvVar1 != (LPVOID)0x0) { + if (local_48 == (longlong *)0x0) { + FUN_14003e8b0(pvVar1); + } + else { + (**(code **)(*local_48 + 0x18))(local_48,pvVar1); + } + } +LAB_14001248d: + FUN_14003d0d0(param_1 + 0xe0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400124c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400124c0.c new file mode 100644 index 00000000..43c99c81 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400124c0.c @@ -0,0 +1,204 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400124c0 FUN_1400124c0 + * Pseudocode, not original source. */ + +void FUN_1400124c0(longlong param_1,short *param_2,undefined8 param_3,undefined8 param_4) + +{ + LPVOID pvVar1; + uint uVar2; + uint uVar3; + int *piVar4; + uint *puVar5; + longlong lVar6; + longlong *plVar7; + undefined ***pppuVar8; + uint *puVar9; + LPVOID pvVar10; + uint uVar11; + ulonglong uVar12; + uint uVar13; + undefined *puVar14; + uint *local_res8 [2]; + undefined4 local_res18; + undefined4 local_res20; + undefined **local_60; + longlong *local_58; + LPVOID local_50; + ulonglong local_48; + undefined8 local_40; + + local_res20 = (undefined4)param_4; + local_res18 = (undefined4)param_3; + FUN_14003d040((int *)(param_1 + 0xe0)); + local_60 = Proud::CFastArray::vftable; + local_58 = (longlong *)0x0; + local_50 = (LPVOID)0x0; + local_48 = 0; + local_40 = 0; + pppuVar8 = &local_60; + lVar6 = DAT_14017cf38; + FUN_14000ded0(DAT_14017cf38,(longlong)pppuVar8); + if ((int)local_48 < 1) { + if (local_50 != (LPVOID)0x0) { + if (local_58 == (longlong *)0x0) { + FUN_14003e8b0(local_50); + } + else { + (**(code **)(*local_58 + 0x18))(local_58,local_50); + } + } + goto LAB_1400127f8; + } + FUN_14003e7c0(lVar6,pppuVar8,param_3,param_4); + local_res8[0] = (uint *)PTR_DAT_14016f010; + uVar2 = FUN_14003e620(param_2); + uVar3 = 0; + uVar12 = 0; + if ((local_res8[0] != (uint *)0x0) && (uVar12 = 0, local_res8[0] != (uint *)PTR_DAT_14016f010)) { + uVar12 = (ulonglong)local_res8[0][-2]; + } + uVar13 = uVar2; + if ((((int)uVar2 <= (int)uVar12) && (uVar13 = uVar3, local_res8[0] != (uint *)0x0)) && + (local_res8[0] != (uint *)PTR_DAT_14016f010)) { + uVar13 = local_res8[0][-2]; + } + uVar11 = 1; + if (1 < (int)uVar13) { + uVar11 = uVar13; + } + uVar13 = uVar3; + if ((local_res8[0] != (uint *)0x0) && (local_res8[0] != (uint *)PTR_DAT_14016f010)) { + uVar13 = local_res8[0][-2]; + } + if ((int)uVar13 < (int)uVar11) { + puVar5 = local_res8[0]; + if (local_res8[0] == (uint *)0x0) { + puVar5 = (uint *)PTR_DAT_14016f010; + } + local_res8[0] = puVar5; + if ((int)uVar11 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar11 == 0) { + local_res8[0] = (uint *)PTR_DAT_14016f010; + if (((puVar5 != (uint *)0x0) && (puVar5 != (uint *)PTR_DAT_14016f010)) && + (puVar5 + -2 != (uint *)0x0)) { + local_res8[0] = puVar5; + piVar4 = (int *)FUN_14003e7c0(puVar5,PTR_DAT_14016f010,uVar12,param_4); + FUN_14003d040(piVar4); + puVar9 = puVar5 + -1; + *puVar9 = *puVar9 - 1; + if (*puVar9 == 0) { + FUN_14003e8b0(puVar5 + -2); + } + FUN_14003d0d0((longlong)piVar4); + local_res8[0] = (uint *)PTR_DAT_14016f010; + } + } + else { + uVar13 = uVar3; + if ((puVar5 != (uint *)0x0) && (puVar5 != (uint *)PTR_DAT_14016f010)) { + uVar13 = puVar5[-2]; + } + if (uVar11 != uVar13) { + puVar5 = (uint *)FUN_14003e840((longlong)(int)uVar11 * 2 + 10); + if (puVar5 != (uint *)0x0) { + *puVar5 = 0; + puVar5[1] = 1; + } + *puVar5 = uVar11; + uVar13 = 0; + if ((local_res8[0] != (uint *)0x0) && (local_res8[0] != (uint *)PTR_DAT_14016f010)) { + uVar13 = local_res8[0][-2]; + } + puVar9 = (uint *)PTR_DAT_14016f010; + if ((int)uVar11 < (int)uVar13) { +LAB_140012696: + if (local_res8[0] != (uint *)0x0) { + puVar9 = local_res8[0]; + } + } + else { + uVar11 = uVar3; + if (local_res8[0] != (uint *)0x0) { + if (local_res8[0] != (uint *)PTR_DAT_14016f010) { + uVar11 = local_res8[0][-2]; + } + goto LAB_140012696; + } + } + uVar12 = (ulonglong)uVar11; + FUN_14003e650(puVar5 + 2,puVar9,uVar11); + FUN_140002190((longlong *)local_res8,puVar9,uVar12,param_4); + local_res8[0] = puVar5 + 2; + } + } + } + FUN_140001df0((longlong *)local_res8); + puVar5 = local_res8[0]; + if (local_res8[0] == (uint *)0x0) { + puVar5 = (uint *)PTR_DAT_14016f010; + } + FUN_14003e650(puVar5,param_2,uVar2); + puVar5 = local_res8[0]; + if (local_res8[0] == (uint *)0x0) { + puVar5 = (uint *)PTR_DAT_14016f010; + } + uVar3 = FUN_14003e620((short *)puVar5); + pvVar1 = local_50; + uVar13 = 0; + uVar2 = 0; + if (0 < (int)uVar3) { + uVar2 = uVar3; + } + uVar3 = uVar13; + if ((local_res8[0] != (uint *)0x0) && (local_res8[0] != (uint *)PTR_DAT_14016f010)) { + uVar3 = local_res8[0][-2]; + } + if (((int)uVar2 < (int)uVar3) || (uVar2 = uVar13, local_res8[0] == (uint *)0x0)) { +LAB_14001272b: + if (((local_res8[0] != (uint *)PTR_DAT_14016f010) && (local_res8[0] != (uint *)0x0)) && + (local_res8[0] + -2 != (uint *)0x0)) { + local_res8[0][-2] = uVar2; + *(undefined2 *)((longlong)local_res8[0] + (longlong)(int)uVar2 * 2) = 0; + } + } + else if (local_res8[0] != (uint *)PTR_DAT_14016f010) { + uVar2 = local_res8[0][-2]; + goto LAB_14001272b; + } + pvVar10 = local_50; + if ((int)local_48 == 0) { + pvVar10 = (LPVOID)0x0; + } + plVar7 = (longlong *)(param_1 + 0x48); + puVar14 = &DAT_14016f5d0; + uVar12 = local_48 & 0xffffffff; + (**(code **)(*plVar7 + 0x88))(); + puVar5 = local_res8[0]; + if (((local_res8[0] != (uint *)0x0) && (local_res8[0] != (uint *)PTR_DAT_14016f010)) && + (puVar9 = local_res8[0] + -2, puVar9 != (uint *)0x0)) { + piVar4 = (int *)FUN_14003e7c0(plVar7,pvVar10,uVar12,puVar14); + FUN_14003d040(piVar4); + puVar5 = puVar5 + -1; + *puVar5 = *puVar5 - 1; + if (*puVar5 == 0) { + FUN_14003e8b0(puVar9); + } + FUN_14003d0d0((longlong)piVar4); + } + if (pvVar1 != (LPVOID)0x0) { + if (local_58 == (longlong *)0x0) { + FUN_14003e8b0(pvVar1); + } + else { + (**(code **)(*local_58 + 0x18))(local_58,pvVar1); + } + } +LAB_1400127f8: + FUN_14003d0d0(param_1 + 0xe0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140012820.c b/decomp/AgentManager_Release_x64/full/functions/0x140012820.c new file mode 100644 index 00000000..34984995 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140012820.c @@ -0,0 +1,36 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140012820 FUN_140012820 + * Pseudocode, not original source. */ + +void FUN_140012820(longlong param_1,undefined4 param_2) + +{ + int *piVar1; + undefined8 uVar2; + int *piVar3; + undefined1 uVar4; + void *local_30; + undefined8 local_28; + undefined8 local_20; + + uVar2 = 0xfffffffffffffffe; + piVar1 = (int *)(param_1 + 0xe0); + piVar3 = piVar1; + FUN_14003d040(piVar1); + uVar4 = 1; + local_30 = (void *)0x0; + local_28 = 0; + local_20 = 0; + FUN_14003b390(DAT_14017cf58,(ulonglong *)&local_30); + (**(code **)(*(longlong *)(param_1 + 0x48) + 0xa0)) + ((longlong *)(param_1 + 0x48),param_2,&DAT_14016f5d0,&local_30,uVar2,piVar3,uVar4); + if (local_30 != (void *)0x0) { + operator_delete(local_30); + } + local_30 = (void *)0x0; + local_28 = 0; + local_20 = 0; + FUN_14003d0d0((longlong)piVar1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400128e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400128e0.c new file mode 100644 index 00000000..95514c7e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400128e0.c @@ -0,0 +1,66 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400128e0 FUN_1400128e0 + * Pseudocode, not original source. */ + +void FUN_1400128e0(longlong param_1) + +{ + LPVOID pvVar1; + LPVOID pvVar2; + void *local_50; + undefined8 local_48; + undefined8 local_40; + undefined **local_30; + longlong *local_28; + LPVOID local_20; + ulonglong local_18; + undefined8 local_10; + + FUN_14003d040((int *)(param_1 + 0xe0)); + local_30 = Proud::CFastArray::vftable; + local_28 = (longlong *)0x0; + local_20 = (LPVOID)0x0; + local_18 = 0; + local_10 = 0; + FUN_14000ded0(DAT_14017cf38,(longlong)&local_30); + if ((int)local_18 < 1) { + if (local_20 != (LPVOID)0x0) { + if (local_28 == (longlong *)0x0) { + FUN_14003e8b0(local_20); + } + else { + (**(code **)(*local_28 + 0x18))(local_28,local_20); + } + } + } + else { + local_50 = (void *)0x0; + local_48 = 0; + local_40 = 0; + FUN_14003b390(DAT_14017cf58,(ulonglong *)&local_50); + pvVar1 = local_20; + pvVar2 = local_20; + if ((int)local_18 == 0) { + pvVar2 = (LPVOID)0x0; + } + (**(code **)(*(longlong *)(param_1 + 0x48) + 0x98)) + ((longlong *)(param_1 + 0x48),pvVar2,local_18 & 0xffffffff,&DAT_14016f5d0,&local_50); + if (local_50 != (void *)0x0) { + operator_delete(local_50); + } + local_50 = (void *)0x0; + local_48 = 0; + local_40 = 0; + if (pvVar1 != (LPVOID)0x0) { + if (local_28 == (longlong *)0x0) { + FUN_14003e8b0(pvVar1); + } + else { + (**(code **)(*local_28 + 0x18))(local_28,pvVar1); + } + } + } + FUN_14003d0d0(param_1 + 0xe0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140012a30.c b/decomp/AgentManager_Release_x64/full/functions/0x140012a30.c new file mode 100644 index 00000000..b763cec1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140012a30.c @@ -0,0 +1,206 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140012a30 FUN_140012a30 + * Pseudocode, not original source. */ + +void FUN_140012a30(longlong param_1,undefined4 param_2,short *param_3,undefined8 param_4) + +{ + LPVOID pvVar1; + uint uVar2; + uint uVar3; + int *piVar4; + uint *puVar5; + longlong lVar6; + longlong *plVar7; + undefined ***pppuVar8; + uint *puVar9; + LPVOID pvVar10; + uint uVar11; + short *psVar12; + ulonglong uVar13; + uint uVar14; + undefined *puVar15; + uint *local_res8; + undefined4 local_res10; + undefined8 local_res20; + undefined **local_60; + longlong *local_58; + LPVOID local_50; + ulonglong local_48; + undefined8 local_40; + + psVar12 = param_3; + local_res10 = param_2; + local_res20 = param_4; + FUN_14003d040((int *)(param_1 + 0xe0)); + local_60 = Proud::CFastArray::vftable; + local_58 = (longlong *)0x0; + local_50 = (LPVOID)0x0; + local_48 = 0; + local_40 = 0; + pppuVar8 = &local_60; + lVar6 = DAT_14017cf38; + FUN_14000ded0(DAT_14017cf38,(longlong)pppuVar8); + if ((int)local_48 < 1) { + if (local_50 != (LPVOID)0x0) { + if (local_58 == (longlong *)0x0) { + FUN_14003e8b0(local_50); + } + else { + (**(code **)(*local_58 + 0x18))(local_58,local_50); + } + } + goto LAB_140012d71; + } + FUN_14003e7c0(lVar6,pppuVar8,psVar12,param_4); + local_res8 = (uint *)PTR_DAT_14016f010; + uVar2 = FUN_14003e620(param_3); + uVar3 = 0; + uVar13 = 0; + if ((local_res8 != (uint *)0x0) && (uVar13 = 0, local_res8 != (uint *)PTR_DAT_14016f010)) { + uVar13 = (ulonglong)local_res8[-2]; + } + uVar14 = uVar2; + if ((((int)uVar2 <= (int)uVar13) && (uVar14 = uVar3, local_res8 != (uint *)0x0)) && + (local_res8 != (uint *)PTR_DAT_14016f010)) { + uVar14 = local_res8[-2]; + } + uVar11 = 1; + if (1 < (int)uVar14) { + uVar11 = uVar14; + } + uVar14 = uVar3; + if ((local_res8 != (uint *)0x0) && (local_res8 != (uint *)PTR_DAT_14016f010)) { + uVar14 = local_res8[-2]; + } + if ((int)uVar14 < (int)uVar11) { + puVar5 = local_res8; + if (local_res8 == (uint *)0x0) { + puVar5 = (uint *)PTR_DAT_14016f010; + } + local_res8 = puVar5; + if ((int)uVar11 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar11 == 0) { + local_res8 = (uint *)PTR_DAT_14016f010; + if (((puVar5 != (uint *)0x0) && (puVar5 != (uint *)PTR_DAT_14016f010)) && + (puVar5 + -2 != (uint *)0x0)) { + local_res8 = puVar5; + piVar4 = (int *)FUN_14003e7c0(puVar5,PTR_DAT_14016f010,uVar13,param_4); + FUN_14003d040(piVar4); + puVar9 = puVar5 + -1; + *puVar9 = *puVar9 - 1; + if (*puVar9 == 0) { + FUN_14003e8b0(puVar5 + -2); + } + FUN_14003d0d0((longlong)piVar4); + local_res8 = (uint *)PTR_DAT_14016f010; + } + } + else { + uVar14 = uVar3; + if ((puVar5 != (uint *)0x0) && (puVar5 != (uint *)PTR_DAT_14016f010)) { + uVar14 = puVar5[-2]; + } + if (uVar11 != uVar14) { + puVar5 = (uint *)FUN_14003e840((longlong)(int)uVar11 * 2 + 10); + if (puVar5 != (uint *)0x0) { + *puVar5 = 0; + puVar5[1] = 1; + } + *puVar5 = uVar11; + uVar14 = 0; + if ((local_res8 != (uint *)0x0) && (local_res8 != (uint *)PTR_DAT_14016f010)) { + uVar14 = local_res8[-2]; + } + puVar9 = (uint *)PTR_DAT_14016f010; + if ((int)uVar11 < (int)uVar14) { +LAB_140012c05: + if (local_res8 != (uint *)0x0) { + puVar9 = local_res8; + } + } + else { + uVar11 = uVar3; + if (local_res8 != (uint *)0x0) { + if (local_res8 != (uint *)PTR_DAT_14016f010) { + uVar11 = local_res8[-2]; + } + goto LAB_140012c05; + } + } + uVar13 = (ulonglong)uVar11; + FUN_14003e650(puVar5 + 2,puVar9,uVar11); + FUN_140002190((longlong *)&local_res8,puVar9,uVar13,param_4); + local_res8 = puVar5 + 2; + } + } + } + FUN_140001df0((longlong *)&local_res8); + puVar5 = local_res8; + if (local_res8 == (uint *)0x0) { + puVar5 = (uint *)PTR_DAT_14016f010; + } + FUN_14003e650(puVar5,param_3,uVar2); + puVar5 = local_res8; + if (local_res8 == (uint *)0x0) { + puVar5 = (uint *)PTR_DAT_14016f010; + } + uVar3 = FUN_14003e620((short *)puVar5); + pvVar1 = local_50; + uVar14 = 0; + uVar2 = 0; + if (0 < (int)uVar3) { + uVar2 = uVar3; + } + uVar3 = uVar14; + if ((local_res8 != (uint *)0x0) && (local_res8 != (uint *)PTR_DAT_14016f010)) { + uVar3 = local_res8[-2]; + } + if (((int)uVar2 < (int)uVar3) || (uVar2 = uVar14, local_res8 == (uint *)0x0)) { +LAB_140012c9a: + if (((local_res8 != (uint *)PTR_DAT_14016f010) && (local_res8 != (uint *)0x0)) && + (local_res8 + -2 != (uint *)0x0)) { + local_res8[-2] = uVar2; + *(undefined2 *)((longlong)local_res8 + (longlong)(int)uVar2 * 2) = 0; + } + } + else if (local_res8 != (uint *)PTR_DAT_14016f010) { + uVar2 = local_res8[-2]; + goto LAB_140012c9a; + } + pvVar10 = local_50; + if ((int)local_48 == 0) { + pvVar10 = (LPVOID)0x0; + } + plVar7 = (longlong *)(param_1 + 0x48); + puVar15 = &DAT_14016f5d0; + uVar13 = local_48 & 0xffffffff; + (**(code **)(*plVar7 + 0xa8))(); + puVar5 = local_res8; + if (((local_res8 != (uint *)0x0) && (local_res8 != (uint *)PTR_DAT_14016f010)) && + (puVar9 = local_res8 + -2, puVar9 != (uint *)0x0)) { + piVar4 = (int *)FUN_14003e7c0(plVar7,pvVar10,uVar13,puVar15); + FUN_14003d040(piVar4); + puVar5 = puVar5 + -1; + *puVar5 = *puVar5 - 1; + if (*puVar5 == 0) { + FUN_14003e8b0(puVar9); + } + FUN_14003d0d0((longlong)piVar4); + } + if (pvVar1 != (LPVOID)0x0) { + if (local_58 == (longlong *)0x0) { + FUN_14003e8b0(pvVar1); + } + else { + (**(code **)(*local_58 + 0x18))(local_58,pvVar1); + } + } +LAB_140012d71: + FUN_14003d0d0(param_1 + 0xe0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140012d90.c b/decomp/AgentManager_Release_x64/full/functions/0x140012d90.c new file mode 100644 index 00000000..e6481d45 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140012d90.c @@ -0,0 +1,358 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140012d90 FUN_140012d90 + * Pseudocode, not original source. */ + +void FUN_140012d90(longlong param_1,undefined4 param_2,short *param_3,short *param_4, + undefined8 param_5,undefined8 param_6) + +{ + int *piVar1; + uint uVar2; + uint uVar3; + uint uVar4; + uint uVar5; + longlong *plVar6; + uint *puVar7; + longlong lVar8; + uint *puVar9; + undefined ***pppuVar10; + uint *puVar11; + uint uVar12; + short *psVar13; + ulonglong uVar14; + short *psVar15; + undefined *puVar16; + undefined4 local_res10 [2]; + uint *local_88; + uint *local_80; + undefined8 local_78; + int *local_70; + undefined1 local_68; + longlong *local_60; + undefined1 local_58; + undefined **local_50; + longlong *local_48; + uint *local_40; + ulonglong local_38; + undefined8 local_30; + + local_78 = 0xfffffffffffffffe; + piVar1 = (int *)(param_1 + 0xe0); + psVar13 = param_3; + psVar15 = param_4; + local_res10[0] = param_2; + local_70 = piVar1; + FUN_14003d040(piVar1); + local_68 = 1; + local_50 = Proud::CFastArray::vftable; + local_48 = (longlong *)0x0; + local_40 = (uint *)0x0; + local_38 = 0; + local_30 = 0; + pppuVar10 = &local_50; + lVar8 = DAT_14017cf38; + FUN_14000ded0(DAT_14017cf38,(longlong)pppuVar10); + if ((int)local_38 < 1) { + if (local_40 != (uint *)0x0) { + if (local_48 == (longlong *)0x0) { + FUN_14003e8b0(local_40); + } + else { + (**(code **)(*local_48 + 0x18))(local_48,local_40); + } + } + goto LAB_14001331f; + } + FUN_14003e7c0(lVar8,pppuVar10,psVar13,psVar15); + local_80 = (uint *)PTR_DAT_14016f010; + uVar2 = FUN_14003e620(param_4); + uVar5 = 0; + uVar14 = 0; + if ((local_80 != (uint *)0x0) && (uVar14 = 0, local_80 != (uint *)PTR_DAT_14016f010)) { + uVar14 = (ulonglong)local_80[-2]; + } + uVar3 = uVar2; + if ((((int)uVar2 <= (int)uVar14) && (uVar3 = uVar5, local_80 != (uint *)0x0)) && + (local_80 != (uint *)PTR_DAT_14016f010)) { + uVar3 = local_80[-2]; + } + uVar12 = 1; + if (1 < (int)uVar3) { + uVar12 = uVar3; + } + uVar3 = uVar5; + if ((local_80 != (uint *)0x0) && (local_80 != (uint *)PTR_DAT_14016f010)) { + uVar3 = local_80[-2]; + } + if ((int)uVar3 < (int)uVar12) { + puVar7 = local_80; + if (local_80 == (uint *)0x0) { + puVar7 = (uint *)PTR_DAT_14016f010; + } + local_80 = puVar7; + if ((int)uVar12 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar12 == 0) { + local_80 = (uint *)PTR_DAT_14016f010; + if (((puVar7 != (uint *)0x0) && (puVar7 != (uint *)PTR_DAT_14016f010)) && + (puVar7 + -2 != (uint *)0x0)) { + local_80 = puVar7; + plVar6 = (longlong *)FUN_14003e7c0(puVar7,PTR_DAT_14016f010,uVar14,psVar15); + local_60 = plVar6; + FUN_14003d040((int *)plVar6); + local_58 = 1; + puVar11 = puVar7 + -1; + *puVar11 = *puVar11 - 1; + if (*puVar11 == 0) { + FUN_14003e8b0(puVar7 + -2); + } + FUN_14003d0d0((longlong)plVar6); + local_80 = (uint *)PTR_DAT_14016f010; + } + } + else { + uVar3 = uVar5; + if ((puVar7 != (uint *)0x0) && (puVar7 != (uint *)PTR_DAT_14016f010)) { + uVar3 = puVar7[-2]; + } + if (uVar12 != uVar3) { + puVar7 = (uint *)FUN_14003e840((longlong)(int)uVar12 * 2 + 10); + if (puVar7 != (uint *)0x0) { + *puVar7 = 0; + puVar7[1] = 1; + } + *puVar7 = uVar12; + uVar3 = 0; + if ((local_80 != (uint *)0x0) && (local_80 != (uint *)PTR_DAT_14016f010)) { + uVar3 = local_80[-2]; + } + puVar11 = (uint *)PTR_DAT_14016f010; + if ((int)uVar12 < (int)uVar3) { +LAB_140012f6b: + if (local_80 != (uint *)0x0) { + puVar11 = local_80; + } + } + else { + uVar12 = uVar5; + if (local_80 != (uint *)0x0) { + if (local_80 != (uint *)PTR_DAT_14016f010) { + uVar12 = local_80[-2]; + } + goto LAB_140012f6b; + } + } + uVar14 = (ulonglong)uVar12; + FUN_14003e650(puVar7 + 2,puVar11,uVar12); + FUN_140002190((longlong *)&local_80,puVar11,uVar14,psVar15); + local_80 = puVar7 + 2; + } + } + } + FUN_140001df0((longlong *)&local_80); + puVar7 = local_80; + if (local_80 == (uint *)0x0) { + puVar7 = (uint *)PTR_DAT_14016f010; + } + FUN_14003e650(puVar7,param_4,uVar2); + puVar7 = local_80; + if (local_80 == (uint *)0x0) { + puVar7 = (uint *)PTR_DAT_14016f010; + } + uVar2 = FUN_14003e620((short *)puVar7); + puVar16 = PTR_DAT_14016f010; + puVar11 = (uint *)0x0; + uVar5 = 0; + puVar7 = puVar11; + if (0 < (int)uVar2) { + puVar7 = (uint *)(ulonglong)uVar2; + } + puVar9 = puVar11; + if ((local_80 != (uint *)0x0) && (puVar9 = (uint *)0x0, local_80 != (uint *)PTR_DAT_14016f010)) { + puVar9 = (uint *)(ulonglong)local_80[-2]; + } + if (((int)puVar7 < (int)puVar9) || (puVar7 = puVar11, local_80 == (uint *)0x0)) { +LAB_140013000: + if (((local_80 != (uint *)PTR_DAT_14016f010) && (local_80 != (uint *)0x0)) && + (puVar9 = local_80 + -2, puVar9 != (uint *)0x0)) { + *puVar9 = (uint)puVar7; + *(undefined2 *)((longlong)local_80 + (longlong)(int)(uint)puVar7 * 2) = 0; + } + } + else if (local_80 != (uint *)PTR_DAT_14016f010) { + puVar7 = (uint *)(ulonglong)local_80[-2]; + goto LAB_140013000; + } + FUN_14003e7c0(puVar7,puVar9,puVar16,psVar15); + local_88 = (uint *)PTR_DAT_14016f010; + uVar2 = FUN_14003e620(param_3); + puVar7 = puVar11; + if ((local_88 != (uint *)0x0) && (puVar7 = (uint *)0x0, local_88 != (uint *)PTR_DAT_14016f010)) { + puVar7 = (uint *)(ulonglong)local_88[-2]; + } + uVar3 = uVar2; + if ((((int)uVar2 <= (int)puVar7) && (uVar3 = uVar5, local_88 != (uint *)0x0)) && + (local_88 != (uint *)PTR_DAT_14016f010)) { + uVar3 = local_88[-2]; + } + uVar12 = 1; + if (1 < (int)uVar3) { + uVar12 = uVar3; + } + uVar3 = uVar5; + if ((local_88 != (uint *)0x0) && (local_88 != (uint *)PTR_DAT_14016f010)) { + uVar3 = local_88[-2]; + } + uVar4 = 0; + if ((int)uVar3 < (int)uVar12) { + puVar9 = local_88; + if (local_88 == (uint *)0x0) { + puVar9 = (uint *)PTR_DAT_14016f010; + } + local_88 = puVar9; + if ((int)uVar12 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar12 == 0) { + local_88 = (uint *)PTR_DAT_14016f010; + if (((puVar9 != (uint *)0x0) && (puVar9 != (uint *)PTR_DAT_14016f010)) && + (puVar9 + -2 != (uint *)0x0)) { + local_88 = puVar9; + plVar6 = (longlong *)FUN_14003e7c0(puVar9,PTR_DAT_14016f010,puVar7,psVar15); + local_60 = plVar6; + FUN_14003d040((int *)plVar6); + local_58 = 1; + puVar7 = puVar9 + -1; + *puVar7 = *puVar7 - 1; + if (*puVar7 == 0) { + FUN_14003e8b0(puVar9 + -2); + } + FUN_14003d0d0((longlong)plVar6); + local_88 = (uint *)PTR_DAT_14016f010; + } + } + else { + uVar3 = uVar4; + if ((puVar9 != (uint *)0x0) && (puVar9 != (uint *)PTR_DAT_14016f010)) { + uVar3 = puVar9[-2]; + } + if (uVar12 != uVar3) { + puVar7 = (uint *)FUN_14003e840((longlong)(int)uVar12 * 2 + 10); + if (puVar7 != (uint *)0x0) { + *puVar7 = 0; + puVar7[1] = 1; + } + *puVar7 = uVar12; + uVar3 = uVar4; + if ((local_88 != (uint *)0x0) && (local_88 != (uint *)PTR_DAT_14016f010)) { + uVar3 = local_88[-2]; + } + puVar9 = (uint *)PTR_DAT_14016f010; + if ((int)uVar12 < (int)uVar3) { +LAB_140013156: + if (local_88 != (uint *)0x0) { + puVar9 = local_88; + } + } + else { + uVar12 = uVar5; + if (local_88 != (uint *)0x0) { + if (local_88 != (uint *)PTR_DAT_14016f010) { + uVar12 = local_88[-2]; + } + goto LAB_140013156; + } + } + uVar14 = (ulonglong)uVar12; + FUN_14003e650(puVar7 + 2,puVar9,uVar12); + FUN_140002190((longlong *)&local_88,puVar9,uVar14,psVar15); + local_88 = puVar7 + 2; + } + } + } + FUN_140001df0((longlong *)&local_88); + puVar7 = local_88; + if (local_88 == (uint *)0x0) { + puVar7 = (uint *)PTR_DAT_14016f010; + } + FUN_14003e650(puVar7,param_3,uVar2); + puVar7 = local_88; + if (local_88 == (uint *)0x0) { + puVar7 = (uint *)PTR_DAT_14016f010; + } + uVar5 = FUN_14003e620((short *)puVar7); + puVar7 = local_40; + uVar2 = 0; + if (0 < (int)uVar5) { + uVar2 = uVar5; + } + uVar5 = uVar4; + if ((local_88 != (uint *)0x0) && (local_88 != (uint *)PTR_DAT_14016f010)) { + uVar5 = local_88[-2]; + } + if (((int)uVar2 < (int)uVar5) || (uVar2 = uVar4, local_88 == (uint *)0x0)) { +LAB_1400131e8: + if (((local_88 != (uint *)PTR_DAT_14016f010) && (local_88 != (uint *)0x0)) && + (local_88 + -2 != (uint *)0x0)) { + local_88[-2] = uVar2; + *(undefined2 *)((longlong)local_88 + (longlong)(int)uVar2 * 2) = 0; + } + } + else if (local_88 != (uint *)PTR_DAT_14016f010) { + uVar2 = local_88[-2]; + goto LAB_1400131e8; + } + puVar9 = local_40; + if ((int)local_38 == 0) { + puVar9 = puVar11; + } + plVar6 = (longlong *)(param_1 + 0x48); + puVar16 = &DAT_14016f5d0; + uVar14 = local_38 & 0xffffffff; + (**(code **)(*plVar6 + 0xb8)) + (plVar6,puVar9,uVar14,&DAT_14016f5d0,local_res10,&local_88,&local_80,param_5,param_6); + puVar11 = local_88; + if (((local_88 != (uint *)0x0) && (local_88 != (uint *)PTR_DAT_14016f010)) && + (puVar9 = local_88 + -2, puVar9 != (uint *)0x0)) { + plVar6 = (longlong *)FUN_14003e7c0(plVar6,PTR_DAT_14016f010,uVar14,puVar16); + local_60 = plVar6; + FUN_14003d040((int *)plVar6); + local_58 = 1; + puVar11 = puVar11 + -1; + *puVar11 = *puVar11 - 1; + if (*puVar11 == 0) { + FUN_14003e8b0(puVar9); + } + FUN_14003d0d0((longlong)plVar6); + } + puVar11 = local_80; + local_88 = (uint *)PTR_DAT_14016f010; + if (((local_80 != (uint *)0x0) && (local_80 != (uint *)PTR_DAT_14016f010)) && + (puVar9 = local_80 + -2, puVar9 != (uint *)0x0)) { + plVar6 = (longlong *)FUN_14003e7c0(plVar6,PTR_DAT_14016f010,uVar14,puVar16); + local_60 = plVar6; + FUN_14003d040((int *)plVar6); + local_58 = 1; + puVar11 = puVar11 + -1; + *puVar11 = *puVar11 - 1; + if (*puVar11 == 0) { + FUN_14003e8b0(puVar9); + } + FUN_14003d0d0((longlong)plVar6); + } + if (puVar7 != (uint *)0x0) { + if (local_48 == (longlong *)0x0) { + FUN_14003e8b0(puVar7); + } + else { + (**(code **)(*local_48 + 0x18))(local_48,puVar7); + } + } +LAB_14001331f: + FUN_14003d0d0((longlong)piVar1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140013350.c b/decomp/AgentManager_Release_x64/full/functions/0x140013350.c new file mode 100644 index 00000000..d695cd10 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140013350.c @@ -0,0 +1,204 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140013350 FUN_140013350 + * Pseudocode, not original source. */ + +void FUN_140013350(longlong param_1,undefined4 param_2,short *param_3,undefined8 param_4) + +{ + LPVOID pvVar1; + uint uVar2; + uint uVar3; + int *piVar4; + uint *puVar5; + longlong lVar6; + longlong *plVar7; + undefined ***pppuVar8; + uint *puVar9; + LPVOID pvVar10; + uint uVar11; + short *psVar12; + ulonglong uVar13; + uint uVar14; + undefined *puVar15; + uint *local_res8; + undefined4 local_res10; + undefined **local_50; + longlong *local_48; + LPVOID local_40; + ulonglong local_38; + undefined8 local_30; + + psVar12 = param_3; + local_res10 = param_2; + FUN_14003d040((int *)(param_1 + 0xe0)); + local_50 = Proud::CFastArray::vftable; + local_48 = (longlong *)0x0; + local_40 = (LPVOID)0x0; + local_38 = 0; + local_30 = 0; + pppuVar8 = &local_50; + lVar6 = DAT_14017cf38; + FUN_14000ded0(DAT_14017cf38,(longlong)pppuVar8); + if ((int)local_38 < 1) { + if (local_40 != (LPVOID)0x0) { + if (local_48 == (longlong *)0x0) { + FUN_14003e8b0(local_40); + } + else { + (**(code **)(*local_48 + 0x18))(local_48,local_40); + } + } + goto LAB_14001367f; + } + FUN_14003e7c0(lVar6,pppuVar8,psVar12,param_4); + local_res8 = (uint *)PTR_DAT_14016f010; + uVar2 = FUN_14003e620(param_3); + uVar3 = 0; + uVar13 = 0; + if ((local_res8 != (uint *)0x0) && (uVar13 = 0, local_res8 != (uint *)PTR_DAT_14016f010)) { + uVar13 = (ulonglong)local_res8[-2]; + } + uVar14 = uVar2; + if ((((int)uVar2 <= (int)uVar13) && (uVar14 = uVar3, local_res8 != (uint *)0x0)) && + (local_res8 != (uint *)PTR_DAT_14016f010)) { + uVar14 = local_res8[-2]; + } + uVar11 = 1; + if (1 < (int)uVar14) { + uVar11 = uVar14; + } + uVar14 = uVar3; + if ((local_res8 != (uint *)0x0) && (local_res8 != (uint *)PTR_DAT_14016f010)) { + uVar14 = local_res8[-2]; + } + if ((int)uVar14 < (int)uVar11) { + puVar5 = local_res8; + if (local_res8 == (uint *)0x0) { + puVar5 = (uint *)PTR_DAT_14016f010; + } + local_res8 = puVar5; + if ((int)uVar11 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar11 == 0) { + local_res8 = (uint *)PTR_DAT_14016f010; + if (((puVar5 != (uint *)0x0) && (puVar5 != (uint *)PTR_DAT_14016f010)) && + (puVar5 + -2 != (uint *)0x0)) { + local_res8 = puVar5; + piVar4 = (int *)FUN_14003e7c0(puVar5,PTR_DAT_14016f010,uVar13,param_4); + FUN_14003d040(piVar4); + puVar9 = puVar5 + -1; + *puVar9 = *puVar9 - 1; + if (*puVar9 == 0) { + FUN_14003e8b0(puVar5 + -2); + } + FUN_14003d0d0((longlong)piVar4); + local_res8 = (uint *)PTR_DAT_14016f010; + } + } + else { + uVar14 = uVar3; + if ((puVar5 != (uint *)0x0) && (puVar5 != (uint *)PTR_DAT_14016f010)) { + uVar14 = puVar5[-2]; + } + if (uVar11 != uVar14) { + puVar5 = (uint *)FUN_14003e840((longlong)(int)uVar11 * 2 + 10); + if (puVar5 != (uint *)0x0) { + *puVar5 = 0; + puVar5[1] = 1; + } + *puVar5 = uVar11; + uVar14 = 0; + if ((local_res8 != (uint *)0x0) && (local_res8 != (uint *)PTR_DAT_14016f010)) { + uVar14 = local_res8[-2]; + } + puVar9 = (uint *)PTR_DAT_14016f010; + if ((int)uVar11 < (int)uVar14) { +LAB_140013526: + if (local_res8 != (uint *)0x0) { + puVar9 = local_res8; + } + } + else { + uVar11 = uVar3; + if (local_res8 != (uint *)0x0) { + if (local_res8 != (uint *)PTR_DAT_14016f010) { + uVar11 = local_res8[-2]; + } + goto LAB_140013526; + } + } + uVar13 = (ulonglong)uVar11; + FUN_14003e650(puVar5 + 2,puVar9,uVar11); + FUN_140002190((longlong *)&local_res8,puVar9,uVar13,param_4); + local_res8 = puVar5 + 2; + } + } + } + FUN_140001df0((longlong *)&local_res8); + puVar5 = local_res8; + if (local_res8 == (uint *)0x0) { + puVar5 = (uint *)PTR_DAT_14016f010; + } + FUN_14003e650(puVar5,param_3,uVar2); + puVar5 = local_res8; + if (local_res8 == (uint *)0x0) { + puVar5 = (uint *)PTR_DAT_14016f010; + } + uVar3 = FUN_14003e620((short *)puVar5); + pvVar1 = local_40; + uVar14 = 0; + uVar2 = 0; + if (0 < (int)uVar3) { + uVar2 = uVar3; + } + uVar3 = uVar14; + if ((local_res8 != (uint *)0x0) && (local_res8 != (uint *)PTR_DAT_14016f010)) { + uVar3 = local_res8[-2]; + } + if (((int)uVar2 < (int)uVar3) || (uVar2 = uVar14, local_res8 == (uint *)0x0)) { +LAB_1400135bb: + if (((local_res8 != (uint *)PTR_DAT_14016f010) && (local_res8 != (uint *)0x0)) && + (local_res8 + -2 != (uint *)0x0)) { + local_res8[-2] = uVar2; + *(undefined2 *)((longlong)local_res8 + (longlong)(int)uVar2 * 2) = 0; + } + } + else if (local_res8 != (uint *)PTR_DAT_14016f010) { + uVar2 = local_res8[-2]; + goto LAB_1400135bb; + } + pvVar10 = local_40; + if ((int)local_38 == 0) { + pvVar10 = (LPVOID)0x0; + } + plVar7 = (longlong *)(param_1 + 0x48); + puVar15 = &DAT_14016f5d0; + uVar13 = local_38 & 0xffffffff; + (**(code **)(*plVar7 + 200))(); + puVar5 = local_res8; + if (((local_res8 != (uint *)0x0) && (local_res8 != (uint *)PTR_DAT_14016f010)) && + (puVar9 = local_res8 + -2, puVar9 != (uint *)0x0)) { + piVar4 = (int *)FUN_14003e7c0(plVar7,pvVar10,uVar13,puVar15); + FUN_14003d040(piVar4); + puVar5 = puVar5 + -1; + *puVar5 = *puVar5 - 1; + if (*puVar5 == 0) { + FUN_14003e8b0(puVar9); + } + FUN_14003d0d0((longlong)piVar4); + } + if (pvVar1 != (LPVOID)0x0) { + if (local_48 == (longlong *)0x0) { + FUN_14003e8b0(pvVar1); + } + else { + (**(code **)(*local_48 + 0x18))(local_48,pvVar1); + } + } +LAB_14001367f: + FUN_14003d0d0(param_1 + 0xe0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400136b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400136b0.c new file mode 100644 index 00000000..29da0d6d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400136b0.c @@ -0,0 +1,74 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400136b0 FUN_1400136b0 + * Pseudocode, not original source. */ + +undefined8 +FUN_1400136b0(longlong param_1,undefined8 param_2,undefined8 param_3,byte *param_4,uint *param_5, + uint *param_6) + +{ + int *piVar1; + int iVar2; + undefined8 *in_RAX; + undefined4 extraout_var; + longlong lVar3; + uint uVar4; + + uVar4 = *param_5; + if (uVar4 == 1) { + if (*(longlong *)(DAT_14017cf20 + 0x58) != 0) { + for (in_RAX = *(undefined8 **) + (*(longlong *)(DAT_14017cf20 + 0x38) + + ((ulonglong)(longlong)(int)*param_6 % *(ulonglong *)(DAT_14017cf20 + 0x40)) * 8 + ); in_RAX != (undefined8 *)0x0; in_RAX = (undefined8 *)*in_RAX) { + if (*param_6 == *(uint *)(in_RAX + 1)) { + if (in_RAX != (undefined8 *)0x0) { + piVar1 = (int *)in_RAX[2]; + if (piVar1 == (int *)0x0) goto LAB_1400137d9; + piVar1[0x31] = 0; + if (*(longlong *)(param_1 + 0x68) != 0) { + in_RAX = (undefined8 *) + FUN_14000ae50(*(longlong *)(param_1 + 0x68),1,*piVar1, + (ulonglong)*(byte *)(piVar1 + 3),0x14012e3d0,1,piVar1[1]); + } + goto LAB_1400137a9; + } + break; + } + } + } + in_RAX = (undefined8 *)0x0; + goto LAB_1400137d9; + } + if ((int)uVar4 < 4) { +LAB_140013704: + iVar2 = printf("ERROR : COMMAND_RESULT [Msg : %d] [Code : %d] \n"); + in_RAX = (undefined8 *)CONCAT44(extraout_var,iVar2); + } + else { + if ((int)uVar4 < 6) { +LAB_1400137a9: + lVar3 = *(longlong *)(param_1 + 0x70); + if (lVar3 != 0) { + uVar4 = *param_5; +LAB_1400137b6: + in_RAX = (undefined8 *)FUN_140011dd0(lVar3,*param_4,uVar4,*param_6); + } + } + else { + if (uVar4 != 0xb) goto LAB_140013704; + lVar3 = *(longlong *)(param_1 + 0x70); + if (lVar3 != 0) { + uVar4 = 0xb; + goto LAB_1400137b6; + } + } + if (*(longlong *)(param_1 + 0x78) != 0) { + in_RAX = (undefined8 *) + FUN_14001b510(*(longlong *)(param_1 + 0x78),(ulonglong)*param_4,*param_5,*param_6); + } + } +LAB_1400137d9: + return CONCAT71((int7)((ulonglong)in_RAX >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400137f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400137f0.c new file mode 100644 index 00000000..6b3b15ae --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400137f0.c @@ -0,0 +1,159 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400137f0 FUN_1400137f0 + * Pseudocode, not original source. */ + +undefined8 +FUN_1400137f0(longlong param_1,uint param_2,undefined8 param_3,int *param_4,undefined8 *param_5) + +{ + ulonglong *puVar1; + undefined8 *puVar2; + uint *puVar3; + LPVOID pvVar4; + int *piVar5; + undefined8 *puVar6; + ulonglong *puVar7; + undefined *puVar8; + ulonglong *local_d8; + ulonglong *local_d0; + undefined8 local_c8; + ulonglong *local_b8; + ulonglong *local_b0; + undefined8 local_a8; + ulonglong *local_98; + ulonglong *local_90; + undefined8 local_88; + undefined **local_78; + longlong *local_70; + LPVOID local_68; + ulonglong local_60; + undefined8 local_58; + ulonglong *local_50; + ulonglong *local_48; + undefined8 local_40; + undefined8 local_30; + + local_30 = 0xfffffffffffffffe; + puVar6 = (undefined8 *)0x0; + if (*(longlong *)(DAT_14017cf20 + 0x58) != 0) { + for (puVar2 = *(undefined8 **) + (*(longlong *)(DAT_14017cf20 + 0x38) + + ((ulonglong)(longlong)*param_4 % *(ulonglong *)(DAT_14017cf20 + 0x40)) * 8); + puVar2 != (undefined8 *)0x0; puVar2 = (undefined8 *)*puVar2) { + if (*param_4 == *(int *)(puVar2 + 1)) { + if ((puVar2 != (undefined8 *)0x0) && + (puVar3 = (uint *)puVar2[2], puVar6 = puVar2, puVar3 != (uint *)0x0)) { + *(undefined8 *)(puVar3 + 0x28) = *param_5; + *(undefined8 *)(puVar3 + 0x2a) = param_5[1]; + *(undefined8 *)(puVar3 + 0x2c) = param_5[2]; + FUN_140011f00(*(longlong *)(param_1 + 0x70),*param_4,param_5); + if ((char)puVar3[3] == '\r') { + puVar3[0x28] = param_2; + puVar3[0x31] = 1; + local_98 = (ulonglong *)0x0; + local_90 = (ulonglong *)0x0; + local_88 = 0; + FUN_14003a0d0(DAT_14017cf20,(ulonglong *)&local_98,puVar3[2]); + local_b8 = (ulonglong *)0x0; + local_b0 = (ulonglong *)0x0; + local_a8 = 0; + FUN_140039cd0(DAT_14017cf20,(ulonglong *)&local_b8,'\x15'); + piVar5 = (int *)FUN_14003b000(DAT_14017cf50,&local_50); + puVar8 = &DAT_14016f5d0; + (**(code **)(*(longlong *)(param_1 + 0x40) + 0x30)) + ((longlong *)(param_1 + 0x40),param_2,&DAT_14016f5d0,piVar5,&local_98, + &local_b8); + if (local_50 != (ulonglong *)0x0) { + if (local_50 != local_48) { + puVar7 = local_50 + 4; + do { + if (7 < *puVar7) { + operator_delete((void *)puVar7[-3]); + } + *puVar7 = 7; + puVar7[-1] = 0; + *(undefined2 *)(puVar7 + -3) = 0; + puVar1 = puVar7 + 2; + puVar7 = puVar7 + 6; + } while (puVar1 != local_48); + } + operator_delete(local_50); + } + local_50 = (ulonglong *)0x0; + local_48 = (ulonglong *)0x0; + local_40 = 0; + if (local_b8 != (ulonglong *)0x0) { + FUN_14000a5f0(local_b8,local_b0); + operator_delete(local_b8); + } + local_b8 = (ulonglong *)0x0; + local_b0 = (ulonglong *)0x0; + local_a8 = 0; + if (local_98 != (ulonglong *)0x0) { + FUN_14000a5f0(local_98,local_90); + operator_delete(local_98); + } + local_98 = (ulonglong *)0x0; + local_90 = (ulonglong *)0x0; + local_88 = 0; + } + else { + local_d8 = (ulonglong *)0x0; + local_d0 = (ulonglong *)0x0; + local_c8 = 0; + FUN_140039f50(DAT_14017cf20,(ulonglong *)&local_d8,*puVar3); + if (*(char *)(DAT_14017cf28 + 0x166) != '\0') { + FUN_140039cd0(DAT_14017cf20,(ulonglong *)&local_d8,'\b'); + } + puVar8 = &DAT_14016f5d0; + piVar5 = param_4; + (**(code **)(*(longlong *)(param_1 + 0x40) + 0x40)) + ((longlong *)(param_1 + 0x40),param_2,&DAT_14016f5d0,param_4,&local_d8); + if (local_d8 != (ulonglong *)0x0) { + FUN_14000a5f0(local_d8,local_d0); + operator_delete(local_d8); + } + local_d8 = (ulonglong *)0x0; + local_d0 = (ulonglong *)0x0; + local_c8 = 0; + } + if (*(longlong *)(param_1 + 0x68) != 0) { + piVar5 = (int *)(ulonglong)(byte)puVar3[3]; + puVar8 = (undefined *)(ulonglong)*puVar3; + FUN_14000ae50(*(longlong *)(param_1 + 0x68),1,*puVar3,piVar5,0x14012e3d0,0,*param_4); + } + local_78 = Proud::CFastArray::vftable; + local_70 = (longlong *)0x0; + local_68 = (LPVOID)0x0; + local_60 = 0; + local_58 = 0; + puVar6 = (undefined8 *) + FUN_140039670(DAT_14017cf20,(longlong)&local_78,puVar8,(longlong)piVar5); + pvVar4 = local_68; + if ((int)local_60 == 0) { + if (local_68 == (LPVOID)0x0) break; + if (local_70 != (longlong *)0x0) { + puVar6 = (undefined8 *)(**(code **)(*local_70 + 0x18))(local_70,local_68); + break; + } + } + else { + puVar6 = (undefined8 *) + (**(code **)(*(longlong *)(param_1 + 0x40) + 0x68)) + ((longlong *)(param_1 + 0x40),local_68,local_60 & 0xffffffff, + &DAT_14016f5d0,param_4); + if (pvVar4 == (LPVOID)0x0) break; + if (local_70 != (longlong *)0x0) { + puVar6 = (undefined8 *)(**(code **)(*local_70 + 0x18))(local_70,pvVar4); + break; + } + } + puVar6 = (undefined8 *)FUN_14003e8b0(pvVar4); + } + break; + } + } + } + return CONCAT71((int7)((ulonglong)puVar6 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140013b80.c b/decomp/AgentManager_Release_x64/full/functions/0x140013b80.c new file mode 100644 index 00000000..a7fc191c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140013b80.c @@ -0,0 +1,87 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140013b80 FUN_140013b80 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +undefined8 +FUN_140013b80(longlong param_1,undefined8 param_2,undefined8 param_3,int *param_4, + undefined8 *param_5,longlong *param_6) + +{ + longlong lVar1; + errno_t eVar2; + int iVar3; + undefined8 *puVar4; + undefined1 auStack_c8 [32]; + undefined8 local_a8; + undefined4 local_a0; + __time64_t local_98; + short local_90; + short local_8e; + undefined2 local_8c; + undefined2 local_8a; + undefined2 local_88; + undefined2 local_86; + undefined2 local_84; + undefined2 local_82; + undefined8 local_80; + undefined8 local_78; + undefined8 local_70; + undefined8 local_68; + tm local_60; + ulonglong local_38; + + local_38 = DAT_14016f5a0 ^ (ulonglong)auStack_c8; + if (*(longlong *)(DAT_14017cf20 + 0x58) != 0) { + for (puVar4 = *(undefined8 **) + (*(longlong *)(DAT_14017cf20 + 0x38) + + ((ulonglong)(longlong)*param_4 % *(ulonglong *)(DAT_14017cf20 + 0x40)) * 8); + puVar4 != (undefined8 *)0x0; puVar4 = (undefined8 *)*puVar4) { + if (*param_4 == *(int *)(puVar4 + 1)) { + if (puVar4 != (undefined8 *)0x0) goto LAB_140013bec; + break; + } + } + } + puVar4 = (undefined8 *)0x0; +LAB_140013bec: + if ((puVar4 != (undefined8 *)0x0) && (lVar1 = puVar4[2], lVar1 != 0)) { + FUN_1400140a0((longlong *)(lVar1 + 0xd8),param_6); + *(undefined8 *)(lVar1 + 0xb8) = *param_5; + *(undefined8 *)(lVar1 + 0xc0) = param_5[1]; + *(undefined8 *)(lVar1 + 200) = param_5[2]; + *(undefined8 *)(lVar1 + 0xd0) = param_5[3]; + if (*(char *)(lVar1 + 0xc) == '\r') { + *(undefined4 *)(lVar1 + 0xc4) = 3; + local_98 = _time64((__time64_t *)0x0); + local_a8 = 0; + local_a0 = 0; + eVar2 = _localtime64_s(&local_60,&local_98); + if (eVar2 == 0) { + local_90 = (short)local_60.tm_year + 0x76c; + local_82 = 0; + local_8e = (short)local_60.tm_mon + 1; + local_8c = (undefined2)local_60.tm_wday; + local_8a = (undefined2)local_60.tm_mday; + local_88 = (undefined2)local_60.tm_hour; + local_86 = (undefined2)local_60.tm_min; + local_84 = (undefined2)local_60.tm_sec; + iVar3 = Ordinal_184(&local_90,&local_a8); + local_80 = 0; + local_78 = 0; + if (iVar3 != 0) { + Ordinal_185(local_a8,&local_80); + } + } + *(undefined8 *)(lVar1 + 200) = local_a8; + } + local_80 = *(undefined8 *)(lVar1 + 0xb8); + local_78 = *(undefined8 *)(lVar1 + 0xc0); + local_70 = *(undefined8 *)(lVar1 + 200); + local_68 = *(undefined8 *)(lVar1 + 0xd0); + puVar4 = (undefined8 *)FUN_140012020(*(longlong *)(param_1 + 0x70),*param_4,&local_80,param_6); + } + return CONCAT71((int7)((ulonglong)puVar4 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140013d70.c b/decomp/AgentManager_Release_x64/full/functions/0x140013d70.c new file mode 100644 index 00000000..cce55cfd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140013d70.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140013d70 FUN_140013d70 + * Pseudocode, not original source. */ + +undefined8 +FUN_140013d70(longlong param_1,undefined8 param_2,undefined8 param_3,undefined4 *param_4, + longlong *param_5,undefined8 param_6,uint *param_7) + +{ + LPCWSTR pWVar1; + short *psVar2; + + if (*(longlong *)(param_1 + 0x70) != 0) { + psVar2 = (short *)*param_5; + if ((short *)*param_5 == (short *)0x0) { + psVar2 = (short *)PTR_DAT_14016f010; + } + param_4 = (undefined4 *)FUN_140012a30(*(longlong *)(param_1 + 0x70),*param_4,psVar2,param_6); + } + if (*(longlong *)(param_1 + 0x78) != 0) { + pWVar1 = (LPCWSTR)*param_5; + if ((LPCWSTR)*param_5 == (LPCWSTR)0x0) { + pWVar1 = (LPCWSTR)PTR_DAT_14016f010; + } + param_4 = (undefined4 *)FUN_14001b750(*(longlong *)(param_1 + 0x78),pWVar1,*param_7); + } + return CONCAT71((int7)((ulonglong)param_4 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140013e10.c b/decomp/AgentManager_Release_x64/full/functions/0x140013e10.c new file mode 100644 index 00000000..0d8a971c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140013e10.c @@ -0,0 +1,40 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140013e10 FUN_140013e10 + * Pseudocode, not original source. */ + +undefined8 +FUN_140013e10(longlong param_1,undefined8 param_2,undefined8 param_3,undefined4 *param_4, + longlong *param_5,longlong *param_6,undefined8 param_7,uint *param_8) + +{ + undefined8 in_RAX; + LPCWSTR pWVar1; + short *psVar2; + LPCWSTR pWVar3; + short *psVar4; + + if (*(longlong *)(param_1 + 0x70) != 0) { + psVar4 = (short *)*param_6; + if ((short *)*param_6 == (short *)0x0) { + psVar4 = (short *)PTR_DAT_14016f010; + } + psVar2 = (short *)*param_5; + if ((short *)*param_5 == (short *)0x0) { + psVar2 = (short *)PTR_DAT_14016f010; + } + in_RAX = FUN_140012d90(*(longlong *)(param_1 + 0x70),*param_4,psVar2,psVar4,param_7,param_8); + } + if (*(longlong *)(param_1 + 0x78) != 0) { + pWVar3 = (LPCWSTR)*param_6; + if ((LPCWSTR)*param_6 == (LPCWSTR)0x0) { + pWVar3 = (LPCWSTR)PTR_DAT_14016f010; + } + pWVar1 = (LPCWSTR)*param_5; + if ((LPCWSTR)*param_5 == (LPCWSTR)0x0) { + pWVar1 = (LPCWSTR)PTR_DAT_14016f010; + } + in_RAX = FUN_14001b980(*(longlong *)(param_1 + 0x78),pWVar1,pWVar3,*param_8); + } + return CONCAT71((int7)((ulonglong)in_RAX >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140013ee0.c b/decomp/AgentManager_Release_x64/full/functions/0x140013ee0.c new file mode 100644 index 00000000..615ef215 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140013ee0.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140013ee0 FUN_140013ee0 + * Pseudocode, not original source. */ + +undefined1 FUN_140013ee0(void) + +{ + int *in_R9; + longlong *in_stack_00000028; + + FUN_14000be80(DAT_14017cf48,*in_R9,*in_stack_00000028); + return 1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140013f10.c b/decomp/AgentManager_Release_x64/full/functions/0x140013f10.c new file mode 100644 index 00000000..c495f93b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140013f10.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140013f10 FUN_140013f10 + * Pseudocode, not original source. */ + +undefined1 +FUN_140013f10(longlong param_1,undefined8 param_2,undefined8 param_3,uint *param_4,longlong *param_5 + ) + +{ + short *psVar1; + LPCWSTR pWVar2; + + if (*(longlong *)(param_1 + 0x70) != 0) { + psVar1 = (short *)*param_5; + if ((short *)*param_5 == (short *)0x0) { + psVar1 = (short *)PTR_DAT_14016f010; + } + FUN_140013350(*(longlong *)(param_1 + 0x70),*param_4,psVar1,param_4); + } + if (*(longlong *)(param_1 + 0x78) != 0) { + pWVar2 = (LPCWSTR)*param_5; + if ((LPCWSTR)*param_5 == (LPCWSTR)0x0) { + pWVar2 = (LPCWSTR)PTR_DAT_14016f010; + } + FUN_14001c0e0(*(longlong *)(param_1 + 0x78),*param_4,pWVar2); + } + return 1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140013f80.c b/decomp/AgentManager_Release_x64/full/functions/0x140013f80.c new file mode 100644 index 00000000..29312178 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140013f80.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140013f80 FUN_140013f80 + * Pseudocode, not original source. */ + +undefined8 +FUN_140013f80(longlong param_1,undefined8 param_2,undefined8 param_3,longlong *param_4,uint *param_5 + ) + +{ + undefined8 in_RAX; + short *psVar1; + + if (*(longlong *)(param_1 + 0x70) != 0) { + psVar1 = (short *)*param_4; + if ((short *)*param_4 == (short *)0x0) { + psVar1 = (short *)PTR_DAT_14016f010; + } + in_RAX = FUN_140011840(*(longlong *)(param_1 + 0x70),psVar1,(ulonglong)*param_5,param_4); + } + return CONCAT71((int7)((ulonglong)in_RAX >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140013fb0.c b/decomp/AgentManager_Release_x64/full/functions/0x140013fb0.c new file mode 100644 index 00000000..e41e65ec --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140013fb0.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140013fb0 FUN_140013fb0 + * Pseudocode, not original source. */ + +undefined1 FUN_140013fb0(longlong param_1,undefined8 param_2,undefined8 param_3,undefined4 *param_4) + +{ + if (*(longlong *)(param_1 + 0x70) != 0) { + FUN_140011ba0(*(longlong *)(param_1 + 0x70),*param_4); + } + return 1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140013fd0.c b/decomp/AgentManager_Release_x64/full/functions/0x140013fd0.c new file mode 100644 index 00000000..219eef64 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140013fd0.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140013fd0 FUN_140013fd0 + * Pseudocode, not original source. */ + +undefined8 FUN_140013fd0(longlong param_1) + +{ + longlong lVar1; + + lVar1 = DAT_14017c8b8; + *(undefined4 *)(DAT_14017c8b8 + 0x49444) = 6; + if (*(longlong *)(param_1 + 0x70) != 0) { + lVar1 = FUN_140011cc0(*(longlong *)(param_1 + 0x70)); + } + return CONCAT71((int7)((ulonglong)lVar1 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140014000.c b/decomp/AgentManager_Release_x64/full/functions/0x140014000.c new file mode 100644 index 00000000..ec4be246 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140014000.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140014000 FUN_140014000 + * Pseudocode, not original source. */ + +void FUN_140014000(undefined8 *param_1) + +{ + void *_Dst; + + _Dst = (void *)*param_1; + if (_Dst != (void *)param_1[1]) { + memmove(_Dst,(void *)param_1[1],0); + param_1[1] = _Dst; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140014060.c b/decomp/AgentManager_Release_x64/full/functions/0x140014060.c new file mode 100644 index 00000000..5a042419 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140014060.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140014060 FUN_140014060 + * Pseudocode, not original source. */ + +void * FUN_140014060(void *param_1,longlong param_2,void *param_3) + +{ + size_t _Size; + + _Size = (param_2 - (longlong)param_1 >> 2) * 4; + memmove(param_3,param_1,_Size); + return (void *)(_Size + (longlong)param_3); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400140a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400140a0.c new file mode 100644 index 00000000..2ee28a4d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400140a0.c @@ -0,0 +1,51 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400140a0 FUN_1400140a0 + * Pseudocode, not original source. */ + +longlong * FUN_1400140a0(longlong *param_1,longlong *param_2) + +{ + void *_Src; + void *_Dst; + void *pvVar1; + undefined8 uVar2; + ulonglong uVar3; + size_t _Size; + ulonglong uVar4; + + if (param_1 != param_2) { + pvVar1 = (void *)*param_2; + uVar3 = param_2[1] - (longlong)pvVar1 >> 2; + if (uVar3 == 0) { + FUN_140014000(param_1); + return param_1; + } + _Dst = (void *)*param_1; + uVar4 = param_1[1] - (longlong)_Dst >> 2; + if (uVar3 <= uVar4) { + memmove(_Dst,pvVar1,param_2[1] - (longlong)pvVar1 & 0xfffffffffffffffc); + param_1[1] = *param_1 + (param_2[1] - *param_2 >> 2) * 4; + return param_1; + } + if ((ulonglong)(param_1[2] - (longlong)_Dst >> 2) < uVar3) { + if (_Dst != (void *)0x0) { + operator_delete(_Dst); + } + uVar2 = FUN_140004d30(param_1,param_2[1] - *param_2 >> 2); + if ((char)uVar2 == '\0') { + return param_1; + } + _Size = (param_2[1] - *param_2 >> 2) * 4; + pvVar1 = memmove((void *)*param_1,(void *)*param_2,_Size); + } + else { + _Src = (void *)((longlong)pvVar1 + uVar4 * 4); + FUN_140014060(pvVar1,(longlong)_Src,_Dst); + _Size = (param_2[1] - (longlong)_Src >> 2) * 4; + pvVar1 = memmove((void *)param_1[1],_Src,_Size); + } + param_1[1] = (longlong)pvVar1 + _Size; + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400141e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400141e0.c new file mode 100644 index 00000000..6f4b703b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400141e0.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400141e0 FUN_1400141e0 + * Pseudocode, not original source. */ + +undefined8 +FUN_1400141e0(longlong param_1,undefined8 param_2,undefined8 param_3,int *param_4,char *param_5, + int *param_6,longlong *param_7) + +{ + undefined8 in_RAX; + LPCWSTR pWVar1; + + if (*(longlong *)(param_1 + 0x78) != 0) { + pWVar1 = (LPCWSTR)*param_7; + if ((LPCWSTR)*param_7 == (LPCWSTR)0x0) { + pWVar1 = (LPCWSTR)PTR_DAT_14016f010; + } + in_RAX = FUN_14001a9f0(*(longlong *)(param_1 + 0x78),*param_6,*param_4,*param_5,pWVar1); + } + return CONCAT71((int7)((ulonglong)in_RAX >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140014230.c b/decomp/AgentManager_Release_x64/full/functions/0x140014230.c new file mode 100644 index 00000000..79e97a4b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140014230.c @@ -0,0 +1,206 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140014230 FUN_140014230 + * Pseudocode, not original source. */ + +void FUN_140014230(longlong param_1,undefined8 param_2,undefined8 param_3,short *param_4) + +{ + uint uVar1; + uint uVar2; + int *piVar3; + uint *puVar4; + longlong lVar5; + longlong *plVar6; + LPVOID pvVar7; + undefined ***pppuVar8; + uint *puVar9; + LPVOID pvVar10; + uint uVar11; + uint uVar12; + ulonglong uVar13; + short *psVar14; + undefined *puVar15; + uint uVar16; + uint *local_78; + undefined8 local_70; + int *local_68; + undefined1 local_60; + undefined **local_58; + longlong *local_50; + LPVOID local_48; + ulonglong local_40; + undefined8 local_38; + + local_70 = 0xfffffffffffffffe; + local_58 = Proud::CFastArray::vftable; + local_50 = (longlong *)0x0; + local_48 = (LPVOID)0x0; + local_40 = 0; + local_38 = 0; + pppuVar8 = &local_58; + lVar5 = DAT_14017cf20; + psVar14 = param_4; + FUN_140039670(DAT_14017cf20,(longlong)pppuVar8,param_3,(longlong)param_4); + uVar16 = 0; + if ((int)local_40 == 0) { + if (local_48 == (LPVOID)0x0) { + return; + } + pvVar7 = local_48; + if (local_50 != (longlong *)0x0) { + (**(code **)(*local_50 + 0x18))(local_50,local_48); + return; + } + goto LAB_14001454b; + } + FUN_14003e7c0(lVar5,pppuVar8,param_3,psVar14); + local_78 = (uint *)PTR_DAT_14016f010; + uVar1 = FUN_14003e620(param_4); + uVar13 = 0; + if ((local_78 != (uint *)0x0) && (uVar13 = 0, local_78 != (uint *)PTR_DAT_14016f010)) { + uVar13 = (ulonglong)local_78[-2]; + } + uVar2 = uVar1; + if ((((int)uVar1 <= (int)uVar13) && (uVar2 = uVar16, local_78 != (uint *)0x0)) && + (local_78 != (uint *)PTR_DAT_14016f010)) { + uVar2 = local_78[-2]; + } + uVar11 = 1; + if (1 < (int)uVar2) { + uVar11 = uVar2; + } + uVar2 = uVar16; + if ((local_78 != (uint *)0x0) && (local_78 != (uint *)PTR_DAT_14016f010)) { + uVar2 = local_78[-2]; + } + uVar12 = 0; + if ((int)uVar2 < (int)uVar11) { + puVar4 = local_78; + if (local_78 == (uint *)0x0) { + puVar4 = (uint *)PTR_DAT_14016f010; + } + local_78 = puVar4; + if ((int)uVar11 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar11 == 0) { + local_78 = (uint *)PTR_DAT_14016f010; + if (((puVar4 != (uint *)0x0) && (puVar4 != (uint *)PTR_DAT_14016f010)) && + (puVar4 + -2 != (uint *)0x0)) { + local_78 = puVar4; + piVar3 = (int *)FUN_14003e7c0(puVar4,PTR_DAT_14016f010,uVar13,psVar14); + local_68 = piVar3; + FUN_14003d040(piVar3); + local_60 = 1; + puVar9 = puVar4 + -1; + *puVar9 = *puVar9 - 1; + if (*puVar9 == 0) { + FUN_14003e8b0(puVar4 + -2); + } + FUN_14003d0d0((longlong)piVar3); + local_78 = (uint *)PTR_DAT_14016f010; + } + } + else { + uVar2 = uVar16; + if ((puVar4 != (uint *)0x0) && (puVar4 != (uint *)PTR_DAT_14016f010)) { + uVar2 = puVar4[-2]; + } + if (uVar11 != uVar2) { + puVar4 = (uint *)FUN_14003e840((longlong)(int)uVar11 * 2 + 10); + if (puVar4 != (uint *)0x0) { + *puVar4 = 0; + puVar4[1] = 1; + } + *puVar4 = uVar11; + uVar2 = uVar12; + if ((local_78 != (uint *)0x0) && (local_78 != (uint *)PTR_DAT_14016f010)) { + uVar2 = local_78[-2]; + } + puVar9 = (uint *)PTR_DAT_14016f010; + if ((int)uVar11 < (int)uVar2) { +LAB_1400143fa: + if (local_78 != (uint *)0x0) { + puVar9 = local_78; + } + } + else { + uVar11 = uVar16; + if (local_78 != (uint *)0x0) { + if (local_78 != (uint *)PTR_DAT_14016f010) { + uVar11 = local_78[-2]; + } + goto LAB_1400143fa; + } + } + uVar13 = (ulonglong)uVar11; + FUN_14003e650(puVar4 + 2,puVar9,uVar11); + FUN_140002190((longlong *)&local_78,puVar9,uVar13,psVar14); + local_78 = puVar4 + 2; + } + } + } + FUN_140001df0((longlong *)&local_78); + puVar4 = local_78; + if (local_78 == (uint *)0x0) { + puVar4 = (uint *)PTR_DAT_14016f010; + } + FUN_14003e650(puVar4,param_4,uVar1); + puVar4 = local_78; + if (local_78 == (uint *)0x0) { + puVar4 = (uint *)PTR_DAT_14016f010; + } + uVar1 = FUN_14003e620((short *)puVar4); + pvVar7 = local_48; + uVar16 = 0; + if (0 < (int)uVar1) { + uVar16 = uVar1; + } + uVar1 = uVar12; + if ((local_78 != (uint *)0x0) && (local_78 != (uint *)PTR_DAT_14016f010)) { + uVar1 = local_78[-2]; + } + if (((int)uVar16 < (int)uVar1) || (uVar16 = uVar12, local_78 == (uint *)0x0)) { +LAB_14001448c: + if (((local_78 != (uint *)PTR_DAT_14016f010) && (local_78 != (uint *)0x0)) && + (local_78 + -2 != (uint *)0x0)) { + local_78[-2] = uVar16; + *(undefined2 *)((longlong)local_78 + (longlong)(int)uVar16 * 2) = 0; + } + } + else if (local_78 != (uint *)PTR_DAT_14016f010) { + uVar16 = local_78[-2]; + goto LAB_14001448c; + } + plVar6 = (longlong *)(param_1 + 0x48); + puVar15 = &DAT_14016f5d0; + uVar13 = local_40 & 0xffffffff; + pvVar10 = local_48; + (**(code **)(*plVar6 + 0xe8))(); + puVar4 = local_78; + if (((local_78 != (uint *)0x0) && (local_78 != (uint *)PTR_DAT_14016f010)) && + (puVar9 = local_78 + -2, puVar9 != (uint *)0x0)) { + piVar3 = (int *)FUN_14003e7c0(plVar6,pvVar10,uVar13,puVar15); + local_68 = piVar3; + FUN_14003d040(piVar3); + local_60 = 1; + puVar4 = puVar4 + -1; + *puVar4 = *puVar4 - 1; + if (*puVar4 == 0) { + FUN_14003e8b0(puVar9); + } + FUN_14003d0d0((longlong)piVar3); + } + if (pvVar7 == (LPVOID)0x0) { + return; + } + if (local_50 != (longlong *)0x0) { + (**(code **)(*local_50 + 0x18))(local_50,pvVar7); + return; + } +LAB_14001454b: + FUN_14003e8b0(pvVar7); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140014570.c b/decomp/AgentManager_Release_x64/full/functions/0x140014570.c new file mode 100644 index 00000000..f6cc62a2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140014570.c @@ -0,0 +1,206 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140014570 FUN_140014570 + * Pseudocode, not original source. */ + +void FUN_140014570(longlong param_1,undefined8 param_2,undefined8 param_3,short *param_4) + +{ + uint uVar1; + uint uVar2; + int *piVar3; + uint *puVar4; + longlong lVar5; + longlong *plVar6; + LPVOID pvVar7; + undefined ***pppuVar8; + uint *puVar9; + LPVOID pvVar10; + uint uVar11; + uint uVar12; + ulonglong uVar13; + short *psVar14; + undefined *puVar15; + uint uVar16; + uint *local_78; + undefined8 local_70; + int *local_68; + undefined1 local_60; + undefined **local_58; + longlong *local_50; + LPVOID local_48; + ulonglong local_40; + undefined8 local_38; + + local_70 = 0xfffffffffffffffe; + local_58 = Proud::CFastArray::vftable; + local_50 = (longlong *)0x0; + local_48 = (LPVOID)0x0; + local_40 = 0; + local_38 = 0; + pppuVar8 = &local_58; + lVar5 = DAT_14017cf20; + psVar14 = param_4; + FUN_140039670(DAT_14017cf20,(longlong)pppuVar8,param_3,(longlong)param_4); + uVar16 = 0; + if ((int)local_40 == 0) { + if (local_48 == (LPVOID)0x0) { + return; + } + pvVar7 = local_48; + if (local_50 != (longlong *)0x0) { + (**(code **)(*local_50 + 0x18))(local_50,local_48); + return; + } + goto LAB_14001488b; + } + FUN_14003e7c0(lVar5,pppuVar8,param_3,psVar14); + local_78 = (uint *)PTR_DAT_14016f010; + uVar1 = FUN_14003e620(param_4); + uVar13 = 0; + if ((local_78 != (uint *)0x0) && (uVar13 = 0, local_78 != (uint *)PTR_DAT_14016f010)) { + uVar13 = (ulonglong)local_78[-2]; + } + uVar2 = uVar1; + if ((((int)uVar1 <= (int)uVar13) && (uVar2 = uVar16, local_78 != (uint *)0x0)) && + (local_78 != (uint *)PTR_DAT_14016f010)) { + uVar2 = local_78[-2]; + } + uVar11 = 1; + if (1 < (int)uVar2) { + uVar11 = uVar2; + } + uVar2 = uVar16; + if ((local_78 != (uint *)0x0) && (local_78 != (uint *)PTR_DAT_14016f010)) { + uVar2 = local_78[-2]; + } + uVar12 = 0; + if ((int)uVar2 < (int)uVar11) { + puVar4 = local_78; + if (local_78 == (uint *)0x0) { + puVar4 = (uint *)PTR_DAT_14016f010; + } + local_78 = puVar4; + if ((int)uVar11 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar11 == 0) { + local_78 = (uint *)PTR_DAT_14016f010; + if (((puVar4 != (uint *)0x0) && (puVar4 != (uint *)PTR_DAT_14016f010)) && + (puVar4 + -2 != (uint *)0x0)) { + local_78 = puVar4; + piVar3 = (int *)FUN_14003e7c0(puVar4,PTR_DAT_14016f010,uVar13,psVar14); + local_68 = piVar3; + FUN_14003d040(piVar3); + local_60 = 1; + puVar9 = puVar4 + -1; + *puVar9 = *puVar9 - 1; + if (*puVar9 == 0) { + FUN_14003e8b0(puVar4 + -2); + } + FUN_14003d0d0((longlong)piVar3); + local_78 = (uint *)PTR_DAT_14016f010; + } + } + else { + uVar2 = uVar16; + if ((puVar4 != (uint *)0x0) && (puVar4 != (uint *)PTR_DAT_14016f010)) { + uVar2 = puVar4[-2]; + } + if (uVar11 != uVar2) { + puVar4 = (uint *)FUN_14003e840((longlong)(int)uVar11 * 2 + 10); + if (puVar4 != (uint *)0x0) { + *puVar4 = 0; + puVar4[1] = 1; + } + *puVar4 = uVar11; + uVar2 = uVar12; + if ((local_78 != (uint *)0x0) && (local_78 != (uint *)PTR_DAT_14016f010)) { + uVar2 = local_78[-2]; + } + puVar9 = (uint *)PTR_DAT_14016f010; + if ((int)uVar11 < (int)uVar2) { +LAB_14001473a: + if (local_78 != (uint *)0x0) { + puVar9 = local_78; + } + } + else { + uVar11 = uVar16; + if (local_78 != (uint *)0x0) { + if (local_78 != (uint *)PTR_DAT_14016f010) { + uVar11 = local_78[-2]; + } + goto LAB_14001473a; + } + } + uVar13 = (ulonglong)uVar11; + FUN_14003e650(puVar4 + 2,puVar9,uVar11); + FUN_140002190((longlong *)&local_78,puVar9,uVar13,psVar14); + local_78 = puVar4 + 2; + } + } + } + FUN_140001df0((longlong *)&local_78); + puVar4 = local_78; + if (local_78 == (uint *)0x0) { + puVar4 = (uint *)PTR_DAT_14016f010; + } + FUN_14003e650(puVar4,param_4,uVar1); + puVar4 = local_78; + if (local_78 == (uint *)0x0) { + puVar4 = (uint *)PTR_DAT_14016f010; + } + uVar1 = FUN_14003e620((short *)puVar4); + pvVar7 = local_48; + uVar16 = 0; + if (0 < (int)uVar1) { + uVar16 = uVar1; + } + uVar1 = uVar12; + if ((local_78 != (uint *)0x0) && (local_78 != (uint *)PTR_DAT_14016f010)) { + uVar1 = local_78[-2]; + } + if (((int)uVar16 < (int)uVar1) || (uVar16 = uVar12, local_78 == (uint *)0x0)) { +LAB_1400147cc: + if (((local_78 != (uint *)PTR_DAT_14016f010) && (local_78 != (uint *)0x0)) && + (local_78 + -2 != (uint *)0x0)) { + local_78[-2] = uVar16; + *(undefined2 *)((longlong)local_78 + (longlong)(int)uVar16 * 2) = 0; + } + } + else if (local_78 != (uint *)PTR_DAT_14016f010) { + uVar16 = local_78[-2]; + goto LAB_1400147cc; + } + plVar6 = (longlong *)(param_1 + 0x48); + puVar15 = &DAT_14016f5d0; + uVar13 = local_40 & 0xffffffff; + pvVar10 = local_48; + (**(code **)(*plVar6 + 0xf8))(); + puVar4 = local_78; + if (((local_78 != (uint *)0x0) && (local_78 != (uint *)PTR_DAT_14016f010)) && + (puVar9 = local_78 + -2, puVar9 != (uint *)0x0)) { + piVar3 = (int *)FUN_14003e7c0(plVar6,pvVar10,uVar13,puVar15); + local_68 = piVar3; + FUN_14003d040(piVar3); + local_60 = 1; + puVar4 = puVar4 + -1; + *puVar4 = *puVar4 - 1; + if (*puVar4 == 0) { + FUN_14003e8b0(puVar9); + } + FUN_14003d0d0((longlong)piVar3); + } + if (pvVar7 == (LPVOID)0x0) { + return; + } + if (local_50 != (longlong *)0x0) { + (**(code **)(*local_50 + 0x18))(local_50,pvVar7); + return; + } +LAB_14001488b: + FUN_14003e8b0(pvVar7); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400148b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400148b0.c new file mode 100644 index 00000000..98e3ab12 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400148b0.c @@ -0,0 +1,206 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400148b0 FUN_1400148b0 + * Pseudocode, not original source. */ + +void FUN_1400148b0(longlong param_1,undefined8 param_2,undefined8 param_3,short *param_4) + +{ + uint uVar1; + uint uVar2; + int *piVar3; + uint *puVar4; + longlong lVar5; + longlong *plVar6; + LPVOID pvVar7; + undefined ***pppuVar8; + uint *puVar9; + LPVOID pvVar10; + uint uVar11; + uint uVar12; + ulonglong uVar13; + short *psVar14; + undefined *puVar15; + uint uVar16; + uint *local_78; + undefined8 local_70; + int *local_68; + undefined1 local_60; + undefined **local_58; + longlong *local_50; + LPVOID local_48; + ulonglong local_40; + undefined8 local_38; + + local_70 = 0xfffffffffffffffe; + local_58 = Proud::CFastArray::vftable; + local_50 = (longlong *)0x0; + local_48 = (LPVOID)0x0; + local_40 = 0; + local_38 = 0; + pppuVar8 = &local_58; + lVar5 = DAT_14017cf20; + psVar14 = param_4; + FUN_140039670(DAT_14017cf20,(longlong)pppuVar8,param_3,(longlong)param_4); + uVar16 = 0; + if ((int)local_40 == 0) { + if (local_48 == (LPVOID)0x0) { + return; + } + pvVar7 = local_48; + if (local_50 != (longlong *)0x0) { + (**(code **)(*local_50 + 0x18))(local_50,local_48); + return; + } + goto LAB_140014bcb; + } + FUN_14003e7c0(lVar5,pppuVar8,param_3,psVar14); + local_78 = (uint *)PTR_DAT_14016f010; + uVar1 = FUN_14003e620(param_4); + uVar13 = 0; + if ((local_78 != (uint *)0x0) && (uVar13 = 0, local_78 != (uint *)PTR_DAT_14016f010)) { + uVar13 = (ulonglong)local_78[-2]; + } + uVar2 = uVar1; + if ((((int)uVar1 <= (int)uVar13) && (uVar2 = uVar16, local_78 != (uint *)0x0)) && + (local_78 != (uint *)PTR_DAT_14016f010)) { + uVar2 = local_78[-2]; + } + uVar11 = 1; + if (1 < (int)uVar2) { + uVar11 = uVar2; + } + uVar2 = uVar16; + if ((local_78 != (uint *)0x0) && (local_78 != (uint *)PTR_DAT_14016f010)) { + uVar2 = local_78[-2]; + } + uVar12 = 0; + if ((int)uVar2 < (int)uVar11) { + puVar4 = local_78; + if (local_78 == (uint *)0x0) { + puVar4 = (uint *)PTR_DAT_14016f010; + } + local_78 = puVar4; + if ((int)uVar11 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar11 == 0) { + local_78 = (uint *)PTR_DAT_14016f010; + if (((puVar4 != (uint *)0x0) && (puVar4 != (uint *)PTR_DAT_14016f010)) && + (puVar4 + -2 != (uint *)0x0)) { + local_78 = puVar4; + piVar3 = (int *)FUN_14003e7c0(puVar4,PTR_DAT_14016f010,uVar13,psVar14); + local_68 = piVar3; + FUN_14003d040(piVar3); + local_60 = 1; + puVar9 = puVar4 + -1; + *puVar9 = *puVar9 - 1; + if (*puVar9 == 0) { + FUN_14003e8b0(puVar4 + -2); + } + FUN_14003d0d0((longlong)piVar3); + local_78 = (uint *)PTR_DAT_14016f010; + } + } + else { + uVar2 = uVar16; + if ((puVar4 != (uint *)0x0) && (puVar4 != (uint *)PTR_DAT_14016f010)) { + uVar2 = puVar4[-2]; + } + if (uVar11 != uVar2) { + puVar4 = (uint *)FUN_14003e840((longlong)(int)uVar11 * 2 + 10); + if (puVar4 != (uint *)0x0) { + *puVar4 = 0; + puVar4[1] = 1; + } + *puVar4 = uVar11; + uVar2 = uVar12; + if ((local_78 != (uint *)0x0) && (local_78 != (uint *)PTR_DAT_14016f010)) { + uVar2 = local_78[-2]; + } + puVar9 = (uint *)PTR_DAT_14016f010; + if ((int)uVar11 < (int)uVar2) { +LAB_140014a7a: + if (local_78 != (uint *)0x0) { + puVar9 = local_78; + } + } + else { + uVar11 = uVar16; + if (local_78 != (uint *)0x0) { + if (local_78 != (uint *)PTR_DAT_14016f010) { + uVar11 = local_78[-2]; + } + goto LAB_140014a7a; + } + } + uVar13 = (ulonglong)uVar11; + FUN_14003e650(puVar4 + 2,puVar9,uVar11); + FUN_140002190((longlong *)&local_78,puVar9,uVar13,psVar14); + local_78 = puVar4 + 2; + } + } + } + FUN_140001df0((longlong *)&local_78); + puVar4 = local_78; + if (local_78 == (uint *)0x0) { + puVar4 = (uint *)PTR_DAT_14016f010; + } + FUN_14003e650(puVar4,param_4,uVar1); + puVar4 = local_78; + if (local_78 == (uint *)0x0) { + puVar4 = (uint *)PTR_DAT_14016f010; + } + uVar1 = FUN_14003e620((short *)puVar4); + pvVar7 = local_48; + uVar16 = 0; + if (0 < (int)uVar1) { + uVar16 = uVar1; + } + uVar1 = uVar12; + if ((local_78 != (uint *)0x0) && (local_78 != (uint *)PTR_DAT_14016f010)) { + uVar1 = local_78[-2]; + } + if (((int)uVar16 < (int)uVar1) || (uVar16 = uVar12, local_78 == (uint *)0x0)) { +LAB_140014b0c: + if (((local_78 != (uint *)PTR_DAT_14016f010) && (local_78 != (uint *)0x0)) && + (local_78 + -2 != (uint *)0x0)) { + local_78[-2] = uVar16; + *(undefined2 *)((longlong)local_78 + (longlong)(int)uVar16 * 2) = 0; + } + } + else if (local_78 != (uint *)PTR_DAT_14016f010) { + uVar16 = local_78[-2]; + goto LAB_140014b0c; + } + plVar6 = (longlong *)(param_1 + 0x48); + puVar15 = &DAT_14016f5d0; + uVar13 = local_40 & 0xffffffff; + pvVar10 = local_48; + (**(code **)(*plVar6 + 0x108))(); + puVar4 = local_78; + if (((local_78 != (uint *)0x0) && (local_78 != (uint *)PTR_DAT_14016f010)) && + (puVar9 = local_78 + -2, puVar9 != (uint *)0x0)) { + piVar3 = (int *)FUN_14003e7c0(plVar6,pvVar10,uVar13,puVar15); + local_68 = piVar3; + FUN_14003d040(piVar3); + local_60 = 1; + puVar4 = puVar4 + -1; + *puVar4 = *puVar4 - 1; + if (*puVar4 == 0) { + FUN_14003e8b0(puVar9); + } + FUN_14003d0d0((longlong)piVar3); + } + if (pvVar7 == (LPVOID)0x0) { + return; + } + if (local_50 != (longlong *)0x0) { + (**(code **)(*local_50 + 0x18))(local_50,pvVar7); + return; + } +LAB_140014bcb: + FUN_14003e8b0(pvVar7); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140014bf0.c b/decomp/AgentManager_Release_x64/full/functions/0x140014bf0.c new file mode 100644 index 00000000..267ea459 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140014bf0.c @@ -0,0 +1,206 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140014bf0 FUN_140014bf0 + * Pseudocode, not original source. */ + +void FUN_140014bf0(longlong param_1,undefined8 param_2,undefined8 param_3,short *param_4) + +{ + uint uVar1; + uint uVar2; + int *piVar3; + uint *puVar4; + longlong lVar5; + longlong *plVar6; + LPVOID pvVar7; + undefined ***pppuVar8; + uint *puVar9; + LPVOID pvVar10; + uint uVar11; + uint uVar12; + ulonglong uVar13; + short *psVar14; + undefined *puVar15; + uint uVar16; + uint *local_78; + undefined8 local_70; + int *local_68; + undefined1 local_60; + undefined **local_58; + longlong *local_50; + LPVOID local_48; + ulonglong local_40; + undefined8 local_38; + + local_70 = 0xfffffffffffffffe; + local_58 = Proud::CFastArray::vftable; + local_50 = (longlong *)0x0; + local_48 = (LPVOID)0x0; + local_40 = 0; + local_38 = 0; + pppuVar8 = &local_58; + lVar5 = DAT_14017cf20; + psVar14 = param_4; + FUN_140039670(DAT_14017cf20,(longlong)pppuVar8,param_3,(longlong)param_4); + uVar16 = 0; + if ((int)local_40 == 0) { + if (local_48 == (LPVOID)0x0) { + return; + } + pvVar7 = local_48; + if (local_50 != (longlong *)0x0) { + (**(code **)(*local_50 + 0x18))(local_50,local_48); + return; + } + goto LAB_140014f1d; + } + FUN_14003e7c0(lVar5,pppuVar8,param_3,psVar14); + local_78 = (uint *)PTR_DAT_14016f010; + uVar1 = FUN_14003e620(param_4); + uVar13 = 0; + if ((local_78 != (uint *)0x0) && (uVar13 = 0, local_78 != (uint *)PTR_DAT_14016f010)) { + uVar13 = (ulonglong)local_78[-2]; + } + uVar2 = uVar1; + if ((((int)uVar1 <= (int)uVar13) && (uVar2 = uVar16, local_78 != (uint *)0x0)) && + (local_78 != (uint *)PTR_DAT_14016f010)) { + uVar2 = local_78[-2]; + } + uVar11 = 1; + if (1 < (int)uVar2) { + uVar11 = uVar2; + } + uVar2 = uVar16; + if ((local_78 != (uint *)0x0) && (local_78 != (uint *)PTR_DAT_14016f010)) { + uVar2 = local_78[-2]; + } + uVar12 = 0; + if ((int)uVar2 < (int)uVar11) { + puVar4 = local_78; + if (local_78 == (uint *)0x0) { + puVar4 = (uint *)PTR_DAT_14016f010; + } + local_78 = puVar4; + if ((int)uVar11 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar11 == 0) { + local_78 = (uint *)PTR_DAT_14016f010; + if (((puVar4 != (uint *)0x0) && (puVar4 != (uint *)PTR_DAT_14016f010)) && + (puVar4 + -2 != (uint *)0x0)) { + local_78 = puVar4; + piVar3 = (int *)FUN_14003e7c0(puVar4,PTR_DAT_14016f010,uVar13,psVar14); + local_68 = piVar3; + FUN_14003d040(piVar3); + local_60 = 1; + puVar9 = puVar4 + -1; + *puVar9 = *puVar9 - 1; + if (*puVar9 == 0) { + FUN_14003e8b0(puVar4 + -2); + } + FUN_14003d0d0((longlong)piVar3); + local_78 = (uint *)PTR_DAT_14016f010; + } + } + else { + uVar2 = uVar16; + if ((puVar4 != (uint *)0x0) && (puVar4 != (uint *)PTR_DAT_14016f010)) { + uVar2 = puVar4[-2]; + } + if (uVar11 != uVar2) { + puVar4 = (uint *)FUN_14003e840((longlong)(int)uVar11 * 2 + 10); + if (puVar4 != (uint *)0x0) { + *puVar4 = 0; + puVar4[1] = 1; + } + *puVar4 = uVar11; + uVar2 = uVar12; + if ((local_78 != (uint *)0x0) && (local_78 != (uint *)PTR_DAT_14016f010)) { + uVar2 = local_78[-2]; + } + puVar9 = (uint *)PTR_DAT_14016f010; + if ((int)uVar11 < (int)uVar2) { +LAB_140014dba: + if (local_78 != (uint *)0x0) { + puVar9 = local_78; + } + } + else { + uVar11 = uVar16; + if (local_78 != (uint *)0x0) { + if (local_78 != (uint *)PTR_DAT_14016f010) { + uVar11 = local_78[-2]; + } + goto LAB_140014dba; + } + } + uVar13 = (ulonglong)uVar11; + FUN_14003e650(puVar4 + 2,puVar9,uVar11); + FUN_140002190((longlong *)&local_78,puVar9,uVar13,psVar14); + local_78 = puVar4 + 2; + } + } + } + FUN_140001df0((longlong *)&local_78); + puVar4 = local_78; + if (local_78 == (uint *)0x0) { + puVar4 = (uint *)PTR_DAT_14016f010; + } + FUN_14003e650(puVar4,param_4,uVar1); + puVar4 = local_78; + if (local_78 == (uint *)0x0) { + puVar4 = (uint *)PTR_DAT_14016f010; + } + uVar1 = FUN_14003e620((short *)puVar4); + pvVar7 = local_48; + uVar16 = 0; + if (0 < (int)uVar1) { + uVar16 = uVar1; + } + uVar1 = uVar12; + if ((local_78 != (uint *)0x0) && (local_78 != (uint *)PTR_DAT_14016f010)) { + uVar1 = local_78[-2]; + } + if (((int)uVar16 < (int)uVar1) || (uVar16 = uVar12, local_78 == (uint *)0x0)) { +LAB_140014e4c: + if (((local_78 != (uint *)PTR_DAT_14016f010) && (local_78 != (uint *)0x0)) && + (local_78 + -2 != (uint *)0x0)) { + local_78[-2] = uVar16; + *(undefined2 *)((longlong)local_78 + (longlong)(int)uVar16 * 2) = 0; + } + } + else if (local_78 != (uint *)PTR_DAT_14016f010) { + uVar16 = local_78[-2]; + goto LAB_140014e4c; + } + plVar6 = (longlong *)(param_1 + 0x48); + puVar15 = &DAT_14016f5d0; + uVar13 = local_40 & 0xffffffff; + pvVar10 = local_48; + (**(code **)(*plVar6 + 0x118))(); + puVar4 = local_78; + if (((local_78 != (uint *)0x0) && (local_78 != (uint *)PTR_DAT_14016f010)) && + (puVar9 = local_78 + -2, puVar9 != (uint *)0x0)) { + piVar3 = (int *)FUN_14003e7c0(plVar6,pvVar10,uVar13,puVar15); + local_68 = piVar3; + FUN_14003d040(piVar3); + local_60 = 1; + puVar4 = puVar4 + -1; + *puVar4 = *puVar4 - 1; + if (*puVar4 == 0) { + FUN_14003e8b0(puVar9); + } + FUN_14003d0d0((longlong)piVar3); + } + if (pvVar7 == (LPVOID)0x0) { + return; + } + if (local_50 != (longlong *)0x0) { + (**(code **)(*local_50 + 0x18))(local_50,pvVar7); + return; + } +LAB_140014f1d: + FUN_14003e8b0(pvVar7); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140014f40.c b/decomp/AgentManager_Release_x64/full/functions/0x140014f40.c new file mode 100644 index 00000000..29963c90 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140014f40.c @@ -0,0 +1,205 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140014f40 FUN_140014f40 + * Pseudocode, not original source. */ + +void FUN_140014f40(longlong param_1,undefined8 param_2,undefined8 param_3,longlong param_4, + undefined8 param_5,short *param_6) + +{ + uint uVar1; + uint uVar2; + int *piVar3; + uint *puVar4; + longlong lVar5; + longlong *plVar6; + LPVOID pvVar7; + undefined ***pppuVar8; + uint *puVar9; + LPVOID pvVar10; + uint uVar11; + uint uVar12; + ulonglong uVar13; + undefined *puVar14; + uint uVar15; + uint *local_78; + undefined8 local_70; + int *local_68; + undefined1 local_60; + undefined **local_58; + longlong *local_50; + LPVOID local_48; + ulonglong local_40; + undefined8 local_38; + + local_70 = 0xfffffffffffffffe; + local_58 = Proud::CFastArray::vftable; + local_50 = (longlong *)0x0; + local_48 = (LPVOID)0x0; + local_40 = 0; + local_38 = 0; + pppuVar8 = &local_58; + lVar5 = DAT_14017cf20; + FUN_140039670(DAT_14017cf20,(longlong)pppuVar8,param_3,param_4); + uVar15 = 0; + if ((int)local_40 == 0) { + if (local_48 == (LPVOID)0x0) { + return; + } + pvVar7 = local_48; + if (local_50 != (longlong *)0x0) { + (**(code **)(*local_50 + 0x18))(local_50,local_48); + return; + } + goto LAB_14001526b; + } + FUN_14003e7c0(lVar5,pppuVar8,param_3,param_4); + local_78 = (uint *)PTR_DAT_14016f010; + uVar1 = FUN_14003e620(param_6); + uVar13 = 0; + if ((local_78 != (uint *)0x0) && (uVar13 = 0, local_78 != (uint *)PTR_DAT_14016f010)) { + uVar13 = (ulonglong)local_78[-2]; + } + uVar2 = uVar1; + if ((((int)uVar1 <= (int)uVar13) && (uVar2 = uVar15, local_78 != (uint *)0x0)) && + (local_78 != (uint *)PTR_DAT_14016f010)) { + uVar2 = local_78[-2]; + } + uVar11 = 1; + if (1 < (int)uVar2) { + uVar11 = uVar2; + } + uVar2 = uVar15; + if ((local_78 != (uint *)0x0) && (local_78 != (uint *)PTR_DAT_14016f010)) { + uVar2 = local_78[-2]; + } + uVar12 = 0; + if ((int)uVar2 < (int)uVar11) { + puVar4 = local_78; + if (local_78 == (uint *)0x0) { + puVar4 = (uint *)PTR_DAT_14016f010; + } + local_78 = puVar4; + if ((int)uVar11 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar11 == 0) { + local_78 = (uint *)PTR_DAT_14016f010; + if (((puVar4 != (uint *)0x0) && (puVar4 != (uint *)PTR_DAT_14016f010)) && + (puVar4 + -2 != (uint *)0x0)) { + local_78 = puVar4; + piVar3 = (int *)FUN_14003e7c0(puVar4,PTR_DAT_14016f010,uVar13,param_4); + local_68 = piVar3; + FUN_14003d040(piVar3); + local_60 = 1; + puVar9 = puVar4 + -1; + *puVar9 = *puVar9 - 1; + if (*puVar9 == 0) { + FUN_14003e8b0(puVar4 + -2); + } + FUN_14003d0d0((longlong)piVar3); + local_78 = (uint *)PTR_DAT_14016f010; + } + } + else { + uVar2 = uVar15; + if ((puVar4 != (uint *)0x0) && (puVar4 != (uint *)PTR_DAT_14016f010)) { + uVar2 = puVar4[-2]; + } + if (uVar11 != uVar2) { + puVar4 = (uint *)FUN_14003e840((longlong)(int)uVar11 * 2 + 10); + if (puVar4 != (uint *)0x0) { + *puVar4 = 0; + puVar4[1] = 1; + } + *puVar4 = uVar11; + uVar2 = uVar12; + if ((local_78 != (uint *)0x0) && (local_78 != (uint *)PTR_DAT_14016f010)) { + uVar2 = local_78[-2]; + } + puVar9 = (uint *)PTR_DAT_14016f010; + if ((int)uVar11 < (int)uVar2) { +LAB_140015107: + if (local_78 != (uint *)0x0) { + puVar9 = local_78; + } + } + else { + uVar11 = uVar15; + if (local_78 != (uint *)0x0) { + if (local_78 != (uint *)PTR_DAT_14016f010) { + uVar11 = local_78[-2]; + } + goto LAB_140015107; + } + } + uVar13 = (ulonglong)uVar11; + FUN_14003e650(puVar4 + 2,puVar9,uVar11); + FUN_140002190((longlong *)&local_78,puVar9,uVar13,param_4); + local_78 = puVar4 + 2; + } + } + } + FUN_140001df0((longlong *)&local_78); + puVar4 = local_78; + if (local_78 == (uint *)0x0) { + puVar4 = (uint *)PTR_DAT_14016f010; + } + FUN_14003e650(puVar4,param_6,uVar1); + puVar4 = local_78; + if (local_78 == (uint *)0x0) { + puVar4 = (uint *)PTR_DAT_14016f010; + } + uVar1 = FUN_14003e620((short *)puVar4); + pvVar7 = local_48; + uVar15 = 0; + if (0 < (int)uVar1) { + uVar15 = uVar1; + } + uVar1 = uVar12; + if ((local_78 != (uint *)0x0) && (local_78 != (uint *)PTR_DAT_14016f010)) { + uVar1 = local_78[-2]; + } + if (((int)uVar15 < (int)uVar1) || (uVar15 = uVar12, local_78 == (uint *)0x0)) { +LAB_14001519a: + if (((local_78 != (uint *)PTR_DAT_14016f010) && (local_78 != (uint *)0x0)) && + (local_78 + -2 != (uint *)0x0)) { + local_78[-2] = uVar15; + *(undefined2 *)((longlong)local_78 + (longlong)(int)uVar15 * 2) = 0; + } + } + else if (local_78 != (uint *)PTR_DAT_14016f010) { + uVar15 = local_78[-2]; + goto LAB_14001519a; + } + plVar6 = (longlong *)(param_1 + 0x48); + puVar14 = &DAT_14016f5d0; + uVar13 = local_40 & 0xffffffff; + pvVar10 = local_48; + (**(code **)(*plVar6 + 0x128))(); + puVar4 = local_78; + if (((local_78 != (uint *)0x0) && (local_78 != (uint *)PTR_DAT_14016f010)) && + (puVar9 = local_78 + -2, puVar9 != (uint *)0x0)) { + piVar3 = (int *)FUN_14003e7c0(plVar6,pvVar10,uVar13,puVar14); + local_68 = piVar3; + FUN_14003d040(piVar3); + local_60 = 1; + puVar4 = puVar4 + -1; + *puVar4 = *puVar4 - 1; + if (*puVar4 == 0) { + FUN_14003e8b0(puVar9); + } + FUN_14003d0d0((longlong)piVar3); + } + if (pvVar7 == (LPVOID)0x0) { + return; + } + if (local_50 != (longlong *)0x0) { + (**(code **)(*local_50 + 0x18))(local_50,pvVar7); + return; + } +LAB_14001526b: + FUN_14003e8b0(pvVar7); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140015290.c b/decomp/AgentManager_Release_x64/full/functions/0x140015290.c new file mode 100644 index 00000000..f211fdf2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140015290.c @@ -0,0 +1,270 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140015290 FUN_140015290 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +undefined8 +FUN_140015290(longlong param_1,uint param_2,undefined8 param_3,longlong *param_4,longlong *param_5) + +{ + longlong lVar1; + short sVar2; + undefined8 *puVar3; + ulonglong *puVar4; + int iVar5; + undefined4 extraout_var; + undefined8 uVar6; + undefined8 extraout_RAX; + undefined8 extraout_RAX_00; + ulonglong uVar7; + undefined *puVar8; + short *psVar9; + ulonglong *puVar10; + ulonglong *puVar11; + short *psVar12; + ulonglong *puVar13; + undefined *puVar14; + longlong *plVar15; + int *piVar16; + ulonglong uVar17; + ulonglong *puVar18; + ulonglong *puVar19; + undefined1 auStack_1f8 [32]; + ulonglong **local_1d8; + uint local_1c8; + int local_1c4; + ulonglong *local_1c0; + ulonglong *puStack_1b8; + ulonglong local_1b0; + ulonglong *local_1a8; + ulonglong *local_1a0; + ulonglong *local_198; + longlong local_188; + ulonglong *local_180; + ulonglong *local_178; + undefined8 local_170; + ulonglong *local_160; + longlong *local_158; + undefined8 local_150; + undefined4 local_148; + uint local_144; + void *local_120; + ulonglong local_108; + undefined2 local_f8; + undefined6 uStack_f6; + undefined8 local_e8; + ulonglong local_e0; + undefined2 local_d0; + undefined6 uStack_ce; + undefined8 local_c0; + ulonglong local_b8; + ulonglong *local_a8; + ulonglong *puStack_a0; + ulonglong local_98; + ulonglong local_90; + ulonglong local_88; + ulonglong local_80; + ulonglong local_78; + void *local_70; + undefined8 local_68; + undefined8 local_60; + ulonglong local_48; + + local_150 = 0xfffffffffffffffe; + local_48 = DAT_14016f5a0 ^ (ulonglong)auStack_1f8; + uVar17 = (ulonglong)(int)param_2; + puVar13 = (ulonglong *)0x0; + plVar15 = param_4; + local_1c8 = param_2; + if (*(longlong *)(DAT_14017cf38 + 0x58) != 0) { + for (puVar3 = *(undefined8 **) + (*(longlong *)(DAT_14017cf38 + 0x38) + + (uVar17 % *(ulonglong *)(DAT_14017cf38 + 0x40)) * 8); puVar3 != (undefined8 *)0x0 + ; puVar3 = (undefined8 *)*puVar3) { + if (param_2 == *(uint *)(puVar3 + 1)) { + if ((puVar3 != (undefined8 *)0x0) && + (plVar15 = (longlong *)puVar3[2], plVar15 != (longlong *)0x0)) { + psVar9 = (short *)*param_4; + if ((short *)*param_4 == (short *)0x0) { + psVar9 = (short *)PTR_DAT_14016f010; + } + uVar7 = 0xffffffffffffffff; + psVar12 = psVar9; + goto code_r0x000140015344; + } + break; + } + } + } + goto LAB_140015357; + while( true ) { + uVar7 = uVar7 - 1; + sVar2 = *psVar12; + psVar12 = psVar12 + 1; + if (sVar2 == 0) break; +code_r0x000140015344: + if (uVar7 == 0) break; + } + FUN_140001710((ulonglong *)(plVar15 + 1),psVar9,~uVar7 - 1); +LAB_140015357: + puVar14 = (undefined *)*param_4; + if ((undefined *)*param_4 == (undefined *)0x0) { + puVar14 = PTR_DAT_14016f010; + } + FUN_1400ef250(DAT_14017c8a8,L"MONITOR AUTH : ID[%s]",puVar14,plVar15); + local_1c4 = 0; + puVar14 = (undefined *)*param_5; + if ((undefined *)*param_5 == (undefined *)0x0) { + puVar14 = PTR_DAT_14016f010; + } + puVar8 = (undefined *)*param_4; + if ((undefined *)*param_4 == (undefined *)0x0) { + puVar8 = PTR_DAT_14016f010; + } + FUN_140009d00(*(longlong *)(param_1 + 0x60),(longlong)puVar8,(longlong)puVar14,&local_1c4); + plVar15 = (longlong *)(param_1 + 0x40); + piVar16 = &local_1c4; + puVar14 = &DAT_14016f5d0; + local_158 = plVar15; + (**(code **)(*plVar15 + 0x30))(plVar15,param_2,&DAT_14016f5d0); + if (local_1c4 < 1) { + iVar5 = printf(&DAT_1401306c0); + uVar6 = CONCAT44(extraout_var,iVar5); + goto LAB_14001571c; + } + psVar9 = (short *)*param_4; + if ((short *)*param_4 == (short *)0x0) { + psVar9 = (short *)PTR_DAT_14016f010; + } + local_188 = param_1 + -8; + FUN_140012160(local_188,psVar9,CONCAT71((int7)((ulonglong)puVar14 >> 8),1),piVar16); + local_180 = (ulonglong *)0x0; + local_178 = (ulonglong *)0x0; + local_170 = 0; + FUN_140039b70(DAT_14017cf20,(ulonglong *)&local_180); + (**(code **)(*plVar15 + 0x40))(plVar15,param_2,&DAT_14016f5d0,&local_180); + local_1a8 = (ulonglong *)0x0; + local_1a0 = (ulonglong *)0x0; + local_198 = (ulonglong *)0x0; + if (*(longlong *)(DAT_14017cf20 + 0x58) == 0) { + local_1c0 = (ulonglong *)0x0; +LAB_14001547b: + puStack_1b8 = (ulonglong *)0x0; + } + else { + local_1c0 = *(ulonglong **)(DAT_14017cf20 + 0x68); + if (local_1c0 == (ulonglong *)0x0) goto LAB_14001547b; + puStack_1b8 = (ulonglong *)*local_1c0; + } + puVar10 = puStack_1b8; + puVar11 = local_1c0; + puVar18 = puVar13; + puVar19 = puVar13; + if (puStack_1b8 != (ulonglong *)0x0) { + do { + puVar4 = (ulonglong *)puVar10[2]; + if (puVar4 != (ulonglong *)0x0) { + if ((puVar4 < puVar13) && (puVar18 <= puVar4)) { + lVar1 = ((longlong)puVar4 - (longlong)puVar18) + + SUB168(SEXT816(-0x7bdef7bdef7bdef7) * + SEXT816((longlong)puVar4 - (longlong)puVar18),8); + if (puVar13 == puVar19) { + FUN_14003a7e0((longlong *)&local_1a8); + puVar13 = local_1a0; + puVar18 = local_1a8; + puVar19 = local_198; + } + local_1c0 = puVar13; + local_160 = puVar13; + if (puVar13 != (ulonglong *)0x0) { + FUN_140003c50((undefined4 *)puVar13, + (undefined4 *)(puVar18 + ((lVar1 >> 7) - (lVar1 >> 0x3f)) * 0x1f)); + } + } + else { + if (puVar13 == puVar19) { + FUN_14003a7e0((longlong *)&local_1a8); + puVar13 = local_1a0; + puVar18 = local_1a8; + puVar19 = local_198; + } + local_1c0 = puVar13; + local_160 = puVar13; + if (puVar13 != (ulonglong *)0x0) { + FUN_140003c50((undefined4 *)puVar13,(undefined4 *)puVar4); + } + } + puVar13 = puVar13 + 0x1f; + local_1a0 = puVar13; + } + puVar10 = (ulonglong *)*puVar10; + while (puVar10 == (ulonglong *)0x0) { + puVar11 = puVar11 + 1; + puVar10 = (ulonglong *)*puVar11; + } + if (puVar11 == puVar10) { + puVar10 = (ulonglong *)0x0; + } + } while (puVar10 != (ulonglong *)0x0); + uVar17 = (ulonglong)local_1c8; + plVar15 = local_158; + } + if (puVar18 != puVar13) { + puVar10 = puVar18 + 0x17; + do { + FUN_140004f20(&local_148,(undefined4 *)(puVar10 + -0x17)); + local_a8 = (ulonglong *)puVar10[-3]; + puStack_a0 = (ulonglong *)puVar10[-2]; + local_98 = puVar10[-1]; + local_90 = *puVar10; + local_88 = puVar10[1]; + local_80 = puVar10[2]; + local_78 = puVar10[3]; + FUN_140004de0(&local_70,(longlong *)(puVar10 + 4)); + local_1c8 = local_144; + local_1c0 = local_a8; + puStack_1b8 = puStack_a0; + local_1b0 = local_98; + local_1d8 = &local_1c0; + (**(code **)(*plVar15 + 0x50))(plVar15,uVar17 & 0xffffffff,&DAT_14016f5d0,&local_1c8); + if (local_70 != (void *)0x0) { + operator_delete(local_70); + } + local_70 = (void *)0x0; + local_68 = 0; + local_60 = 0; + if (7 < local_b8) { + operator_delete((void *)CONCAT62(uStack_ce,local_d0)); + } + local_b8 = 7; + local_c0 = 0; + local_d0 = 0; + if (7 < local_e0) { + operator_delete((void *)CONCAT62(uStack_f6,local_f8)); + } + local_e0 = 7; + local_e8 = 0; + local_f8 = 0; + if (7 < local_108) { + operator_delete(local_120); + } + puVar11 = puVar10 + 8; + puVar10 = puVar10 + 0x1f; + } while (puVar11 != puVar13); + } + uVar6 = FUN_140012820(local_188,(int)uVar17); + if (puVar18 != (ulonglong *)0x0) { + FUN_140004ba0(puVar18,puVar13); + operator_delete(puVar18); + uVar6 = extraout_RAX; + } + if (local_180 != (ulonglong *)0x0) { + FUN_14000a5f0(local_180,local_178); + operator_delete(local_180); + uVar6 = extraout_RAX_00; + } +LAB_14001571c: + return CONCAT71((int7)((ulonglong)uVar6 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140015750.c b/decomp/AgentManager_Release_x64/full/functions/0x140015750.c new file mode 100644 index 00000000..a26d113c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140015750.c @@ -0,0 +1,189 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140015750 FUN_140015750 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +undefined8 FUN_140015750(longlong param_1,undefined4 param_2) + +{ + longlong *plVar1; + longlong lVar2; + ulonglong *puVar3; + ulonglong *extraout_RAX; + ulonglong *puVar4; + ulonglong *puVar5; + ulonglong *puVar6; + ulonglong *puVar7; + ulonglong *puVar8; + undefined1 auStack_1f8 [32]; + ulonglong **local_1d8; + undefined8 *local_1d0; + undefined4 local_1c8 [2]; + ulonglong *local_1c0; + ulonglong *local_1b8; + ulonglong local_1b0; + ulonglong local_1a8; + ulonglong *local_1a0; + ulonglong *local_198; + ulonglong *local_190; + ulonglong *local_180; + longlong local_178; + undefined8 local_170; + void *local_168 [4]; + undefined4 local_148; + undefined4 local_144; + void *local_120; + ulonglong local_108; + undefined2 local_f8; + undefined6 uStack_f6; + undefined8 local_e8; + ulonglong local_e0; + undefined2 local_d0; + undefined6 uStack_ce; + undefined8 local_c0; + ulonglong local_b8; + ulonglong local_a8; + ulonglong uStack_a0; + ulonglong local_98; + ulonglong *local_90; + ulonglong *local_88; + ulonglong local_80; + ulonglong local_78; + void *local_70; + undefined8 local_68; + undefined8 local_60; + ulonglong local_48; + + local_170 = 0xfffffffffffffffe; + local_48 = DAT_14016f5a0 ^ (ulonglong)auStack_1f8; + puVar4 = (ulonglong *)0x0; + local_1a0 = (ulonglong *)0x0; + local_198 = (ulonglong *)0x0; + local_190 = (ulonglong *)0x0; + puVar8 = puVar4; + puVar7 = puVar4; + local_178 = param_1; + if (DAT_14017cf20[0xb] == 0) { + local_1c0 = (ulonglong *)0x0; + puVar3 = DAT_14017cf20; + } + else { + local_1c0 = (ulonglong *)DAT_14017cf20[0xd]; + puVar3 = (ulonglong *)0x0; + if (local_1c0 != (ulonglong *)0x0) { + puVar3 = (ulonglong *)*local_1c0; + puVar5 = local_1c0; + puVar6 = puVar3; + local_1b8 = puVar3; + goto joined_r0x0001400157f0; + } + } + local_1b8 = (ulonglong *)0x0; + puVar5 = local_1c0; + puVar6 = local_1b8; +joined_r0x0001400157f0: + while (local_1c8[0] = param_2, puVar6 != (ulonglong *)0x0) { + puVar3 = (ulonglong *)puVar6[2]; + if (puVar3 != (ulonglong *)0x0) { + if ((puVar3 < puVar4) && (puVar8 <= puVar3)) { + lVar2 = ((longlong)puVar3 - (longlong)puVar8) + + SUB168(SEXT816(-0x7bdef7bdef7bdef7) * SEXT816((longlong)puVar3 - (longlong)puVar8),8 + ); + if (puVar4 == puVar7) { + FUN_14003a7e0((longlong *)&local_1a0); + puVar4 = local_198; + puVar8 = local_1a0; + puVar7 = local_190; + } + local_1c0 = puVar4; + local_180 = puVar4; + if (puVar4 != (ulonglong *)0x0) { + FUN_140003c50((undefined4 *)puVar4, + (undefined4 *)(puVar8 + ((lVar2 >> 7) - (lVar2 >> 0x3f)) * 0x1f)); + } + } + else { + if (puVar4 == puVar7) { + FUN_14003a7e0((longlong *)&local_1a0); + puVar4 = local_198; + puVar8 = local_1a0; + puVar7 = local_190; + } + local_1c0 = puVar4; + local_180 = puVar4; + if (puVar4 != (ulonglong *)0x0) { + FUN_140003c50((undefined4 *)puVar4,(undefined4 *)puVar3); + } + } + puVar4 = puVar4 + 0x1f; + local_198 = puVar4; + } + puVar3 = (ulonglong *)0x8421084210842109; + puVar6 = (ulonglong *)*puVar6; + while (puVar6 == (ulonglong *)0x0) { + puVar5 = puVar5 + 1; + puVar6 = (ulonglong *)*puVar5; + } + param_2 = local_1c8[0]; + if (puVar5 == puVar6) { + puVar6 = (ulonglong *)0x0; + } + } + if (puVar8 != puVar4) { + plVar1 = (longlong *)(local_178 + 0x40); + puVar7 = puVar8 + 0x17; + do { + FUN_140004f20(&local_148,(undefined4 *)(puVar7 + -0x17)); + local_a8 = puVar7[-3]; + uStack_a0 = puVar7[-2]; + local_98 = puVar7[-1]; + local_90 = (ulonglong *)*puVar7; + local_88 = (ulonglong *)puVar7[1]; + local_80 = puVar7[2]; + local_78 = puVar7[3]; + FUN_140004de0(&local_70,(longlong *)(puVar7 + 4)); + local_1c8[0] = local_144; + local_1d0 = FUN_140005da0((longlong)&local_148,local_168); + local_1c0 = local_90; + local_1b8 = local_88; + local_1b0 = local_80; + local_1a8 = local_78; + local_1d8 = &local_1c0; + (**(code **)(*plVar1 + 0x60))(plVar1,param_2,&DAT_14016f5d0,local_1c8); + if (local_168[0] != (void *)0x0) { + operator_delete(local_168[0]); + } + if (local_70 != (void *)0x0) { + operator_delete(local_70); + } + local_70 = (void *)0x0; + local_68 = 0; + local_60 = 0; + if (7 < local_b8) { + operator_delete((void *)CONCAT62(uStack_ce,local_d0)); + } + local_b8 = 7; + local_c0 = 0; + local_d0 = 0; + if (7 < local_e0) { + operator_delete((void *)CONCAT62(uStack_f6,local_f8)); + } + local_e0 = 7; + local_e8 = 0; + local_f8 = 0; + if (7 < local_108) { + operator_delete(local_120); + } + puVar3 = puVar7 + 8; + puVar7 = puVar7 + 0x1f; + } while (puVar3 != puVar4); + } + if (puVar8 != (ulonglong *)0x0) { + FUN_140004ba0(puVar8,puVar4); + operator_delete(puVar8); + puVar3 = extraout_RAX; + } + return CONCAT71((int7)((ulonglong)puVar3 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140015ac0.c b/decomp/AgentManager_Release_x64/full/functions/0x140015ac0.c new file mode 100644 index 00000000..8e5ee6f1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140015ac0.c @@ -0,0 +1,453 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140015ac0 FUN_140015ac0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +undefined8 +FUN_140015ac0(longlong param_1,uint param_2,undefined8 param_3,uint *param_4,uint *param_5) + +{ + longlong lVar1; + BOOL BVar2; + uint uVar3; + uint uVar4; + ulonglong uVar5; + undefined *puVar6; + char *pcVar7; + longlong *plVar8; + int *piVar9; + undefined4 extraout_var; + ulonglong ******ppppppuVar10; + int *piVar11; + uint *puVar12; + undefined *extraout_RAX; + undefined *extraout_RAX_00; + undefined *extraout_RAX_01; + undefined *extraout_RAX_02; + ulonglong ******_Dst; + uint *puVar13; + short *psVar14; + wchar_t *pwVar15; + undefined8 uVar16; + wchar_t *pwVar17; + uint *puVar18; + uint uVar19; + ulonglong uVar20; + undefined8 *puVar21; + undefined1 auStackY_678 [32]; + uint *local_628; + uint local_620 [2]; + undefined *local_618; + int *local_610; + undefined1 local_608; + uint *local_600; + undefined8 local_5f8; + _PROCESS_INFORMATION local_5f0; + _STARTUPINFOW local_5d8; + ulonglong *****local_568 [2]; + ulonglong ****local_558; + ulonglong ****local_550; + undefined8 local_538; + undefined4 local_530; + undefined1 local_52c; + undefined8 local_528; + undefined8 local_520; + undefined1 local_518; + undefined2 local_510; + undefined6 uStack_50e; + undefined8 local_500; + ulonglong local_4f8; + undefined2 local_4e8; + undefined6 uStack_4e6; + undefined8 local_4d8; + ulonglong local_4d0; + undefined2 local_4c0; + undefined6 uStack_4be; + undefined8 local_4b0; + ulonglong local_4a8; + undefined2 local_498; + undefined6 uStack_496; + undefined8 local_488; + ulonglong local_480; + wchar_t local_468; + undefined1 local_466 [526]; + wchar_t local_258; + undefined1 local_256 [526]; + ulonglong local_48; + + local_5f8 = 0xfffffffffffffffe; + local_48 = DAT_14016f5a0 ^ (ulonglong)auStackY_678; + local_600 = param_5; + if (*(char *)(DAT_14017cf28 + 0x180) == '\0') { + printf("Not Active Server.!!! \n"); + uVar5 = FUN_140011dd0(param_1 + -8,0,10,0xffffffff); + return uVar5 & 0xffffffffffffff00; + } + pwVar17 = (wchar_t *)0x0; + puVar13 = param_4; + if (*(longlong *)(DAT_14017cf38 + 0x58) != 0) { + for (puVar21 = *(undefined8 **) + (*(longlong *)(DAT_14017cf38 + 0x38) + + ((ulonglong)(longlong)(int)param_2 % *(ulonglong *)(DAT_14017cf38 + 0x40)) * 8); + puVar21 != (undefined8 *)0x0; puVar21 = (undefined8 *)*puVar21) { + if (param_2 == *(uint *)(puVar21 + 1)) { + if ((puVar21 != (undefined8 *)0x0) && (lVar1 = puVar21[2], lVar1 != 0)) { + psVar14 = (short *)(lVar1 + 8); + if (7 < *(ulonglong *)(lVar1 + 0x20)) { + psVar14 = *(short **)psVar14; + } + puVar13 = (uint *)(ulonglong)*param_5; + FUN_1400124c0(param_1 + -8,psVar14,(ulonglong)*param_4,puVar13); + } + break; + } + } + } + local_538 = 0; + local_530 = 0; + local_52c = 0; + local_528 = 0; + local_520 = 0; + local_518 = 0; + local_4f8 = 7; + local_500 = 0; + local_510 = 0; + local_4d0 = 7; + local_4d8 = 0; + local_4e8 = 0; + local_4a8 = 7; + local_4b0 = 0; + local_4c0 = 0; + uVar3 = *param_5; + if (*(longlong *)(DAT_14017cf20 + 0x58) != 0) { + for (puVar21 = *(undefined8 **) + (*(longlong *)(DAT_14017cf20 + 0x38) + + ((ulonglong)(longlong)(int)uVar3 % *(ulonglong *)(DAT_14017cf20 + 0x40)) * 8); + puVar21 != (undefined8 *)0x0; puVar21 = (undefined8 *)*puVar21) { + if (uVar3 == *(uint *)(puVar21 + 1)) { + if (((puVar21 != (undefined8 *)0x0) && (puVar21[2] != 0)) && + (*(longlong *)(param_1 + 0x68) != 0)) { + puVar13 = (uint *)0x0; + FUN_14000ae50(*(longlong *)(param_1 + 0x68),0,0,0,(longlong)&local_4c0,*param_4,uVar3); + } + break; + } + } + } + puVar6 = (undefined *)(longlong)(int)*param_4; + switch(*param_4) { + case 4: + FUN_140034220(DAT_14017cf28); + pwVar15 = (wchar_t *)(DAT_14017cf28 + 0x30); + if (7 < *(ulonglong *)(DAT_14017cf28 + 0x48)) { + pwVar15 = *(wchar_t **)pwVar15; + } + puVar6 = (undefined *)FUN_14003a250(DAT_14017cf20,pwVar15); + if ((char)puVar6 == '\0') { + local_258 = L'\0'; + memset(local_256,0,0x206); + local_468 = L'\0'; + memset(local_466,0,0x206); + for (pcVar7 = *(char **)(DAT_14017cf50 + 8); pcVar7 != *(char **)(DAT_14017cf50 + 0x10); + pcVar7 = pcVar7 + 0x30) { + if (*pcVar7 == '\x18') { + pwVar17 = (wchar_t *)(pcVar7 + 8); + if (7 < *(ulonglong *)(pcVar7 + 0x20)) { + pwVar17 = *(wchar_t **)pwVar17; + } + break; + } + } + uVar16 = 0x104; + wcscpy_s(&local_258,0x104,pwVar17); + plVar8 = FUN_14003e430((longlong *)&local_618,uVar16,pwVar17,puVar13); + pwVar17 = (wchar_t *)*plVar8; + if ((wchar_t *)*plVar8 == (wchar_t *)0x0) { + pwVar17 = (wchar_t *)PTR_DAT_14016f010; + } + uVar16 = 0x104; + pwVar15 = &local_468; + wcscpy_s(pwVar15,0x104,pwVar17); + if (((local_618 != (undefined *)0x0) && (local_618 != PTR_DAT_14016f010)) && + (local_618 + -8 != (undefined *)0x0)) { + piVar9 = (int *)FUN_14003e7c0(pwVar15,uVar16,pwVar17,puVar13); + local_610 = piVar9; + FUN_14003d040(piVar9); + local_608 = 1; + piVar11 = (int *)(local_618 + -4); + *piVar11 = *piVar11 + -1; + if (*piVar11 == 0) { + FUN_14003e8b0(local_618 + -8); + } + FUN_14003d0d0((longlong)piVar9); + } + uVar5 = 0; + local_618 = PTR_DAT_14016f010; + memset(&local_5d8,0,0x68); + local_5d8.cb = 0x68; + local_5d8.dwFlags = 0x13; + local_5d8.dwXSize = 700; + local_5d8.dwYSize = 0x6e; + local_5d8.dwFillAttribute = 0x17; + local_5d8.wShowWindow = 5; + puVar13 = (uint *)0x0; + BVar2 = CreateProcessW((LPCWSTR)0x0,&local_258,(LPSECURITY_ATTRIBUTES)0x0, + (LPSECURITY_ATTRIBUTES)0x0,0,0x10,(LPVOID)0x0,&local_468,&local_5d8, + &local_5f0); + if (BVar2 == 0) { + local_550 = (ulonglong ****)0x7; + local_558 = (ulonglong ****)0x0; + local_568[0] = (ulonglong *****)((ulonglong)local_568[0] & 0xffffffffffff0000); + puVar21 = (undefined8 *)(DAT_14017cf28 + 0x30); + if (7 < *(ulonglong *)(DAT_14017cf28 + 0x48)) { + puVar21 = (undefined8 *)*puVar21; + } + pwVar17 = L"FAILED PATCH ON %s"; + _Dst = (ulonglong ******)&local_498; + ppppppuVar10 = (ulonglong ******) + FUN_1400ed6f0((ulonglong *)_Dst,L"FAILED PATCH ON %s",puVar21,puVar13); + if (local_568 != ppppppuVar10) { + if ((ulonglong *****)0x7 < local_550) { + _Dst = (ulonglong ******)local_568[0]; + operator_delete(local_568[0]); + } + local_550 = (ulonglong ****)0x7; + local_558 = (ulonglong ****)0x0; + local_568[0] = (ulonglong *****)((ulonglong)local_568[0] & 0xffffffffffff0000); + if (ppppppuVar10[3] < (ulonglong *****)0x8) { + puVar21 = (undefined8 *)(((longlong)ppppppuVar10[2] + 1U) * 2); + _Dst = local_568; + pwVar17 = (wchar_t *)ppppppuVar10; + memmove(_Dst,ppppppuVar10,(size_t)puVar21); + } + else { + local_568[0] = *ppppppuVar10; + *ppppppuVar10 = (ulonglong *****)0x0; + } + local_558 = (ulonglong ****)ppppppuVar10[2]; + local_550 = (ulonglong ****)ppppppuVar10[3]; + ppppppuVar10[3] = (ulonglong *****)0x7; + ppppppuVar10[2] = (ulonglong *****)0x0; + *(wchar_t *)ppppppuVar10 = L'\0'; + } + if (7 < local_480) { + _Dst = (ulonglong ******)CONCAT62(uStack_496,local_498); + operator_delete(_Dst); + } + local_480 = 7; + local_488 = 0; + local_498 = 0; + ppppppuVar10 = local_568; + if ((ulonglong *****)0x7 < local_550) { + ppppppuVar10 = (ulonglong ******)local_568[0]; + } + FUN_14003e7c0(_Dst,pwVar17,puVar21,puVar13); + local_628 = (uint *)PTR_DAT_14016f010; + uVar3 = FUN_14003e620((short *)ppppppuVar10); + if ((local_628 != (uint *)0x0) && (local_628 != (uint *)PTR_DAT_14016f010)) { + uVar5 = (ulonglong)local_628[-2]; + } + uVar4 = uVar3; + if ((((int)uVar3 <= (int)uVar5) && (uVar4 = 0, local_628 != (uint *)0x0)) && + (local_628 != (uint *)PTR_DAT_14016f010)) { + uVar4 = local_628[-2]; + } + uVar19 = 1; + if (1 < (int)uVar4) { + uVar19 = uVar4; + } + uVar20 = (ulonglong)uVar19; + if (local_628 == (uint *)0x0) { + uVar4 = 0; + } + else if (local_628 == (uint *)PTR_DAT_14016f010) { + uVar4 = 0; + } + else { + uVar4 = local_628[-2]; + } + if ((int)uVar4 < (int)uVar19) { + puVar12 = local_628; + if (local_628 == (uint *)0x0) { + puVar12 = (uint *)PTR_DAT_14016f010; + } + local_628 = puVar12; + if ((int)uVar19 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar19 == 0) { + local_628 = (uint *)PTR_DAT_14016f010; + if (((puVar12 != (uint *)0x0) && (puVar12 != (uint *)PTR_DAT_14016f010)) && + (puVar12 + -2 != (uint *)0x0)) { + local_628 = puVar12; + piVar11 = (int *)FUN_14003e7c0(puVar12,PTR_DAT_14016f010,uVar5,puVar13); + local_610 = piVar11; + FUN_14003d040(piVar11); + local_608 = 1; + puVar13 = puVar12 + -1; + *puVar13 = *puVar13 - 1; + if (*puVar13 == 0) { + FUN_14003e8b0(puVar12 + -2); + } + FUN_14003d0d0((longlong)piVar11); + local_628 = (uint *)PTR_DAT_14016f010; + } + } + else { + if (puVar12 == (uint *)0x0) { + uVar4 = 0; + } + else if (puVar12 == (uint *)PTR_DAT_14016f010) { + uVar4 = 0; + } + else { + uVar4 = puVar12[-2]; + } + if (uVar19 != uVar4) { + puVar12 = (uint *)FUN_14003e840((longlong)(int)uVar19 * 2 + 10); + if (puVar12 != (uint *)0x0) { + *puVar12 = 0; + puVar12[1] = 1; + } + *puVar12 = uVar19; + if (local_628 == (uint *)0x0) { + uVar4 = 0; + } + else if (local_628 == (uint *)PTR_DAT_14016f010) { + uVar4 = 0; + } + else { + uVar4 = local_628[-2]; + } + puVar18 = (uint *)PTR_DAT_14016f010; + if ((int)uVar19 < (int)uVar4) { +LAB_1400160ca: + if (local_628 != (uint *)0x0) { + puVar18 = local_628; + } + } + else { + if (local_628 != (uint *)0x0) { + if (local_628 == (uint *)PTR_DAT_14016f010) { + uVar20 = 0; + } + else { + uVar20 = (ulonglong)local_628[-2]; + } + goto LAB_1400160ca; + } + uVar20 = 0; + } + FUN_14003e650(puVar12 + 2,puVar18,(int)uVar20); + FUN_140002190((longlong *)&local_628,puVar18,uVar20,puVar13); + local_628 = puVar12 + 2; + } + } + } + FUN_140001df0((longlong *)&local_628); + puVar13 = local_628; + if (local_628 == (uint *)0x0) { + puVar13 = (uint *)PTR_DAT_14016f010; + } + FUN_14003e650(puVar13,ppppppuVar10,uVar3); + puVar13 = local_628; + if (local_628 == (uint *)0x0) { + puVar13 = (uint *)PTR_DAT_14016f010; + } + uVar4 = FUN_14003e620((short *)puVar13); + uVar19 = 0; + uVar3 = 0; + if (0 < (int)uVar4) { + uVar3 = uVar4; + } + uVar4 = uVar19; + if ((local_628 != (uint *)0x0) && (local_628 != (uint *)PTR_DAT_14016f010)) { + uVar4 = local_628[-2]; + } + if (((int)uVar3 < (int)uVar4) || (uVar3 = uVar19, local_628 == (uint *)0x0)) { +LAB_140016161: + if (((local_628 != (uint *)PTR_DAT_14016f010) && (local_628 != (uint *)0x0)) && + (local_628 + -2 != (uint *)0x0)) { + local_628[-2] = uVar3; + *(undefined2 *)((longlong)local_628 + (longlong)(int)uVar3 * 2) = 0; + } + } + else if (local_628 != (uint *)PTR_DAT_14016f010) { + uVar3 = local_628[-2]; + goto LAB_140016161; + } + local_620[0] = 2; + plVar8 = (longlong *)(param_1 + 0x40); + puVar13 = local_620; + puVar6 = &DAT_14016f5d0; + uVar5 = (ulonglong)param_2; + (**(code **)(*plVar8 + 0xd0))(); + puVar12 = local_628; + if (((local_628 != (uint *)0x0) && (local_628 != (uint *)PTR_DAT_14016f010)) && + (puVar18 = local_628 + -2, puVar18 != (uint *)0x0)) { + piVar11 = (int *)FUN_14003e7c0(plVar8,uVar5,puVar6,puVar13); + local_610 = piVar11; + FUN_14003d040(piVar11); + local_608 = 1; + puVar12 = puVar12 + -1; + *puVar12 = *puVar12 - 1; + if (*puVar12 == 0) { + FUN_14003e8b0(puVar18); + } + FUN_14003d0d0((longlong)piVar11); + } + local_628 = (uint *)PTR_DAT_14016f010; + puVar6 = PTR_DAT_14016f010; + param_5 = local_600; + if ((ulonglong *****)0x7 < local_550) { + operator_delete(local_568[0]); + puVar6 = extraout_RAX; + param_5 = local_600; + } + } + else { + BVar2 = CloseHandle(local_5f0.hThread); + puVar6 = (undefined *)CONCAT44(extraout_var,BVar2); + } + } + case 0: + case 1: + case 2: + case 3: + case 5: + case 6: + case 7: + case 0xd: + if (*(longlong *)(param_1 + 0x70) != 0) { + puVar6 = (undefined *) + FUN_14000cb70(*(longlong *)(param_1 + 0x70),*param_4,(ulonglong)*param_5, + (longlong)puVar13); + } + break; + case 0xc: + puVar6 = *(undefined **)(param_1 + 0x70); + puVar6[0x9c] = 1; + } + if (7 < local_4a8) { + operator_delete((void *)CONCAT62(uStack_4be,local_4c0)); + puVar6 = extraout_RAX_00; + } + local_4a8 = 7; + local_4b0 = 0; + local_4c0 = 0; + if (7 < local_4d0) { + operator_delete((void *)CONCAT62(uStack_4e6,local_4e8)); + puVar6 = extraout_RAX_01; + } + local_4d0 = 7; + local_4d8 = 0; + local_4e8 = 0; + if (7 < local_4f8) { + operator_delete((void *)CONCAT62(uStack_50e,local_510)); + puVar6 = extraout_RAX_02; + } + return CONCAT71((int7)((ulonglong)puVar6 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140016310.c b/decomp/AgentManager_Release_x64/full/functions/0x140016310.c new file mode 100644 index 00000000..c85177f9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140016310.c @@ -0,0 +1,59 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140016310 FUN_140016310 + * Pseudocode, not original source. */ + +ulonglong FUN_140016310(longlong param_1,int param_2,undefined8 param_3,uint *param_4,uint *param_5, + uint *param_6,longlong *param_7) + +{ + longlong lVar1; + ulonglong uVar2; + undefined *puVar3; + short *psVar4; + undefined8 *puVar5; + + if (*(char *)(DAT_14017cf28 + 0x180) == '\0') { + printf("Not Active Server.!!! \n"); + uVar2 = FUN_140011dd0(param_1 + -8,0,10,0xffffffff); + return uVar2 & 0xffffffffffffff00; + } + if (*(longlong *)(DAT_14017cf38 + 0x58) != 0) { + for (puVar5 = *(undefined8 **) + (*(longlong *)(DAT_14017cf38 + 0x38) + + ((ulonglong)(longlong)param_2 % *(ulonglong *)(DAT_14017cf38 + 0x40)) * 8); + puVar5 != (undefined8 *)0x0; puVar5 = (undefined8 *)*puVar5) { + if (param_2 == *(int *)(puVar5 + 1)) { + if (puVar5 != (undefined8 *)0x0) { + lVar1 = puVar5[2]; + if (lVar1 != 0) { + if (*(longlong *)(param_1 + 0x68) != 0) { + puVar5 = (undefined8 *)(lVar1 + 8); + if (7 < *(ulonglong *)(lVar1 + 0x20)) { + puVar5 = (undefined8 *)*puVar5; + } + puVar3 = (undefined *)*param_7; + if ((undefined *)*param_7 == (undefined *)0x0) { + puVar3 = PTR_DAT_14016f010; + } + FUN_14000b5f0(*(longlong *)(param_1 + 0x68),*param_4,*param_5,(ulonglong)*param_6, + (longlong)puVar3,(longlong)puVar5); + } + psVar4 = (short *)*param_7; + if ((short *)*param_7 == (short *)0x0) { + psVar4 = (short *)PTR_DAT_14016f010; + } + puVar5 = (undefined8 *) + FUN_14000cc40(*(longlong *)(param_1 + 0x70),(ulonglong)*param_4, + (ulonglong)*param_5,(ulonglong)*param_6,psVar4); + } + goto LAB_140016449; + } + break; + } + } + } + puVar5 = (undefined8 *)0x0; +LAB_140016449: + return CONCAT71((int7)((ulonglong)puVar5 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140016460.c b/decomp/AgentManager_Release_x64/full/functions/0x140016460.c new file mode 100644 index 00000000..853f11d8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140016460.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140016460 FUN_140016460 + * Pseudocode, not original source. */ + +ulonglong FUN_140016460(longlong param_1) + +{ + ulonglong uVar1; + + if (*(char *)(DAT_14017cf28 + 0x180) == '\0') { + printf("Not Active Server.!!! \n"); + uVar1 = FUN_140011dd0(param_1 + -8,0,10,0xffffffff); + return uVar1 & 0xffffffffffffff00; + } + return CONCAT71((int7)((ulonglong)DAT_14017cf28 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400164b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400164b0.c new file mode 100644 index 00000000..5218a4c5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400164b0.c @@ -0,0 +1,21 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400164b0 FUN_1400164b0 + * Pseudocode, not original source. */ + +ulonglong FUN_1400164b0(longlong param_1,undefined8 param_2,undefined8 param_3,undefined4 *param_4, + uint *param_5,byte *param_6) + +{ + ulonglong uVar1; + undefined8 uVar2; + + if (*(char *)(DAT_14017cf28 + 0x180) == '\0') { + printf("Not Active Server.!!! \n"); + uVar1 = FUN_140011dd0(param_1 + -8,0,10,0xffffffff); + return uVar1 & 0xffffffffffffff00; + } + uVar2 = FUN_14000d060(*(longlong *)(param_1 + 0x70),*param_4,(ulonglong)*param_5, + (ulonglong)*param_6); + return CONCAT71((int7)((ulonglong)uVar2 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140016520.c b/decomp/AgentManager_Release_x64/full/functions/0x140016520.c new file mode 100644 index 00000000..25a44baa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140016520.c @@ -0,0 +1,25 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140016520 FUN_140016520 + * Pseudocode, not original source. */ + +ulonglong FUN_140016520(longlong param_1,undefined8 param_2,undefined8 param_3,uint *param_4, + longlong *param_5) + +{ + ulonglong uVar1; + undefined8 uVar2; + short *psVar3; + + if (*(char *)(DAT_14017cf28 + 0x180) == '\0') { + printf("Not Active Server.!!! \n"); + uVar1 = FUN_140011dd0(param_1 + -8,0,10,0xffffffff); + return uVar1 & 0xffffffffffffff00; + } + psVar3 = (short *)*param_5; + if ((short *)*param_5 == (short *)0x0) { + psVar3 = (short *)PTR_DAT_14016f010; + } + uVar2 = FUN_14000d170(*(longlong *)(param_1 + 0x70),(ulonglong)*param_4,psVar3,(longlong)param_4); + return CONCAT71((int7)((ulonglong)uVar2 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140016590.c b/decomp/AgentManager_Release_x64/full/functions/0x140016590.c new file mode 100644 index 00000000..e5e81051 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140016590.c @@ -0,0 +1,24 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140016590 FUN_140016590 + * Pseudocode, not original source. */ + +ulonglong FUN_140016590(longlong param_1,undefined8 param_2,undefined8 param_3,longlong *param_4) + +{ + ulonglong uVar1; + undefined8 uVar2; + short *psVar3; + + if (*(char *)(DAT_14017cf28 + 0x180) == '\0') { + printf("Not Active Server.!!! \n"); + uVar1 = FUN_140011dd0(param_1 + -8,0,10,0xffffffff); + return uVar1 & 0xffffffffffffff00; + } + psVar3 = (short *)*param_4; + if ((short *)*param_4 == (short *)0x0) { + psVar3 = (short *)PTR_DAT_14016f010; + } + uVar2 = FUN_14000d580(*(longlong *)(param_1 + 0x70),psVar3,param_3,(longlong)param_4); + return CONCAT71((int7)((ulonglong)uVar2 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400165f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400165f0.c new file mode 100644 index 00000000..ddf8829d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400165f0.c @@ -0,0 +1,31 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400165f0 FUN_1400165f0 + * Pseudocode, not original source. */ + +ulonglong FUN_1400165f0(longlong param_1,undefined8 param_2,undefined8 param_3,undefined1 *param_4, + uint *param_5,int *param_6) + +{ + int iVar1; + ulonglong uVar2; + void *_Src; + undefined8 uVar3; + undefined4 extraout_var; + undefined1 local_118 [272]; + + if (*(char *)(DAT_14017cf28 + 0x180) == '\0') { + printf("Not Active Server.!!! \n"); + uVar2 = FUN_140011dd0(param_1 + -8,0,10,0xffffffff); + return uVar2 & 0xffffffffffffff00; + } + _Src = (void *)FUN_14003b2f0(DAT_14017cf58,*param_6); + if (_Src != (void *)0x0) { + memcpy(local_118,_Src,0x108); + uVar3 = FUN_14000d8a0(*(longlong *)(param_1 + 0x70),*param_4,(ulonglong)*param_5, + (longlong)local_118); + return CONCAT71((int7)((ulonglong)uVar3 >> 8),1); + } + iVar1 = printf("Not Find RealTimeEvent Data\n"); + return CONCAT71((int7)(CONCAT44(extraout_var,iVar1) >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400166d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400166d0.c new file mode 100644 index 00000000..cefc2244 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400166d0.c @@ -0,0 +1,172 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400166d0 FUN_1400166d0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400166d0(longlong param_1,undefined8 param_2,undefined8 param_3,uint *param_4) + +{ + uint uVar1; + uint uVar2; + uint uVar3; + ulonglong uVar4; + int *piVar5; + uint *puVar6; + uint *puVar7; + longlong *plVar8; + uint *puVar9; + uint uVar10; + undefined *puVar11; + uint **ppuVar12; + uint uVar13; + uint *local_38; + undefined8 local_30; + int *local_28; + undefined1 local_20; + + local_30 = 0xfffffffffffffffe; + if (*(char *)(DAT_14017cf28 + 0x180) == '\0') { + printf("Not Active Server.!!! \n"); + uVar4 = FUN_140011dd0(param_1 + -8,0,10,0xffffffff); + return uVar4 & 0xffffffffffffff00; + } + puVar7 = param_4; + FUN_14003e7c0(param_1,param_2,param_3,param_4); + local_38 = (uint *)PTR_DAT_14016f010; + uVar1 = FUN_14003e620(L"update"); + uVar13 = 0; + uVar3 = 0; + uVar4 = 0; + if ((local_38 != (uint *)0x0) && (uVar4 = 0, local_38 != (uint *)PTR_DAT_14016f010)) { + uVar4 = (ulonglong)local_38[-2]; + } + uVar2 = uVar1; + if ((((int)uVar1 <= (int)uVar4) && (uVar2 = uVar3, local_38 != (uint *)0x0)) && + (local_38 != (uint *)PTR_DAT_14016f010)) { + uVar2 = local_38[-2]; + } + uVar10 = 1; + if (1 < (int)uVar2) { + uVar10 = uVar2; + } + uVar2 = uVar3; + if ((local_38 != (uint *)0x0) && (local_38 != (uint *)PTR_DAT_14016f010)) { + uVar2 = local_38[-2]; + } + if ((int)uVar2 < (int)uVar10) { + puVar6 = local_38; + if (local_38 == (uint *)0x0) { + puVar6 = (uint *)PTR_DAT_14016f010; + } + local_38 = puVar6; + if ((int)uVar10 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar10 == 0) { + local_38 = (uint *)PTR_DAT_14016f010; + if (((puVar6 != (uint *)0x0) && (puVar6 != (uint *)PTR_DAT_14016f010)) && + (puVar6 + -2 != (uint *)0x0)) { + local_38 = puVar6; + piVar5 = (int *)FUN_14003e7c0(puVar6,PTR_DAT_14016f010,uVar4,puVar7); + local_28 = piVar5; + FUN_14003d040(piVar5); + local_20 = 1; + puVar7 = puVar6 + -1; + *puVar7 = *puVar7 - 1; + if (*puVar7 == 0) { + FUN_14003e8b0(puVar6 + -2); + } + FUN_14003d0d0((longlong)piVar5); + local_38 = (uint *)PTR_DAT_14016f010; + } + } + else { + uVar2 = uVar3; + if ((puVar6 != (uint *)0x0) && (puVar6 != (uint *)PTR_DAT_14016f010)) { + uVar2 = puVar6[-2]; + } + if (uVar10 != uVar2) { + puVar6 = (uint *)FUN_14003e840((longlong)(int)uVar10 * 2 + 10); + if (puVar6 != (uint *)0x0) { + *puVar6 = 0; + puVar6[1] = 1; + } + *puVar6 = uVar10; + uVar2 = uVar3; + if ((local_38 != (uint *)0x0) && (local_38 != (uint *)PTR_DAT_14016f010)) { + uVar2 = local_38[-2]; + } + puVar9 = (uint *)PTR_DAT_14016f010; + if ((int)uVar10 < (int)uVar2) { +LAB_140016875: + if (local_38 != (uint *)0x0) { + puVar9 = local_38; + } + } + else { + uVar10 = uVar3; + if (local_38 != (uint *)0x0) { + if (local_38 != (uint *)PTR_DAT_14016f010) { + uVar10 = local_38[-2]; + } + goto LAB_140016875; + } + } + uVar4 = (ulonglong)uVar10; + FUN_14003e650(puVar6 + 2,puVar9,uVar10); + FUN_140002190((longlong *)&local_38,puVar9,uVar4,puVar7); + local_38 = puVar6 + 2; + } + } + } + FUN_140001df0((longlong *)&local_38); + puVar7 = local_38; + if (local_38 == (uint *)0x0) { + puVar7 = (uint *)PTR_DAT_14016f010; + } + FUN_14003e650(puVar7,L"update",uVar1); + puVar7 = local_38; + if (local_38 == (uint *)0x0) { + puVar7 = (uint *)PTR_DAT_14016f010; + } + uVar3 = FUN_14003e620((short *)puVar7); + uVar1 = uVar13; + if (0 < (int)uVar3) { + uVar1 = uVar3; + } + uVar3 = uVar13; + if ((local_38 != (uint *)0x0) && (local_38 != (uint *)PTR_DAT_14016f010)) { + uVar3 = local_38[-2]; + } + if (((int)uVar3 <= (int)uVar1) && (uVar1 = uVar13, local_38 != (uint *)0x0)) { + if (local_38 == (uint *)PTR_DAT_14016f010) goto LAB_14001692f; + uVar1 = local_38[-2]; + } + if (((local_38 != (uint *)PTR_DAT_14016f010) && (local_38 != (uint *)0x0)) && + (local_38 + -2 != (uint *)0x0)) { + local_38[-2] = uVar1; + *(undefined2 *)((longlong)local_38 + (longlong)(int)uVar1 * 2) = 0; + } +LAB_14001692f: + plVar8 = (longlong *)(*(longlong *)(param_1 + 0x70) + 0x48); + ppuVar12 = &local_38; + puVar11 = &DAT_14016f5d0; + uVar4 = (ulonglong)*param_4; + (**(code **)(*plVar8 + 0xd0))(); + puVar7 = local_38; + if (((local_38 != (uint *)0x0) && (local_38 != (uint *)PTR_DAT_14016f010)) && + (puVar6 = local_38 + -2, puVar6 != (uint *)0x0)) { + piVar5 = (int *)FUN_14003e7c0(plVar8,uVar4,puVar11,ppuVar12); + local_28 = piVar5; + FUN_14003d040(piVar5); + local_20 = 1; + puVar7 = puVar7 + -1; + *puVar7 = *puVar7 - 1; + if (*puVar7 == 0) { + FUN_14003e8b0(puVar6); + } + local_38 = (uint *)FUN_14003d0d0((longlong)piVar5); + } + return CONCAT71((int7)((ulonglong)local_38 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400169c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400169c0.c new file mode 100644 index 00000000..60c1b76f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400169c0.c @@ -0,0 +1,172 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400169c0 FUN_1400169c0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400169c0(longlong param_1,undefined8 param_2,undefined8 param_3,uint *param_4) + +{ + uint uVar1; + uint uVar2; + uint uVar3; + ulonglong uVar4; + int *piVar5; + uint *puVar6; + uint *puVar7; + longlong *plVar8; + uint *puVar9; + uint uVar10; + undefined *puVar11; + uint **ppuVar12; + uint uVar13; + uint *local_38; + undefined8 local_30; + int *local_28; + undefined1 local_20; + + local_30 = 0xfffffffffffffffe; + if (*(char *)(DAT_14017cf28 + 0x180) == '\0') { + printf("Not Active Server.!!! \n"); + uVar4 = FUN_140011dd0(param_1 + -8,0,10,0xffffffff); + return uVar4 & 0xffffffffffffff00; + } + puVar7 = param_4; + FUN_14003e7c0(param_1,param_2,param_3,param_4); + local_38 = (uint *)PTR_DAT_14016f010; + uVar1 = FUN_14003e620(L"serveron"); + uVar13 = 0; + uVar3 = 0; + uVar4 = 0; + if ((local_38 != (uint *)0x0) && (uVar4 = 0, local_38 != (uint *)PTR_DAT_14016f010)) { + uVar4 = (ulonglong)local_38[-2]; + } + uVar2 = uVar1; + if ((((int)uVar1 <= (int)uVar4) && (uVar2 = uVar3, local_38 != (uint *)0x0)) && + (local_38 != (uint *)PTR_DAT_14016f010)) { + uVar2 = local_38[-2]; + } + uVar10 = 1; + if (1 < (int)uVar2) { + uVar10 = uVar2; + } + uVar2 = uVar3; + if ((local_38 != (uint *)0x0) && (local_38 != (uint *)PTR_DAT_14016f010)) { + uVar2 = local_38[-2]; + } + if ((int)uVar2 < (int)uVar10) { + puVar6 = local_38; + if (local_38 == (uint *)0x0) { + puVar6 = (uint *)PTR_DAT_14016f010; + } + local_38 = puVar6; + if ((int)uVar10 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar10 == 0) { + local_38 = (uint *)PTR_DAT_14016f010; + if (((puVar6 != (uint *)0x0) && (puVar6 != (uint *)PTR_DAT_14016f010)) && + (puVar6 + -2 != (uint *)0x0)) { + local_38 = puVar6; + piVar5 = (int *)FUN_14003e7c0(puVar6,PTR_DAT_14016f010,uVar4,puVar7); + local_28 = piVar5; + FUN_14003d040(piVar5); + local_20 = 1; + puVar7 = puVar6 + -1; + *puVar7 = *puVar7 - 1; + if (*puVar7 == 0) { + FUN_14003e8b0(puVar6 + -2); + } + FUN_14003d0d0((longlong)piVar5); + local_38 = (uint *)PTR_DAT_14016f010; + } + } + else { + uVar2 = uVar3; + if ((puVar6 != (uint *)0x0) && (puVar6 != (uint *)PTR_DAT_14016f010)) { + uVar2 = puVar6[-2]; + } + if (uVar10 != uVar2) { + puVar6 = (uint *)FUN_14003e840((longlong)(int)uVar10 * 2 + 10); + if (puVar6 != (uint *)0x0) { + *puVar6 = 0; + puVar6[1] = 1; + } + *puVar6 = uVar10; + uVar2 = uVar3; + if ((local_38 != (uint *)0x0) && (local_38 != (uint *)PTR_DAT_14016f010)) { + uVar2 = local_38[-2]; + } + puVar9 = (uint *)PTR_DAT_14016f010; + if ((int)uVar10 < (int)uVar2) { +LAB_140016b65: + if (local_38 != (uint *)0x0) { + puVar9 = local_38; + } + } + else { + uVar10 = uVar3; + if (local_38 != (uint *)0x0) { + if (local_38 != (uint *)PTR_DAT_14016f010) { + uVar10 = local_38[-2]; + } + goto LAB_140016b65; + } + } + uVar4 = (ulonglong)uVar10; + FUN_14003e650(puVar6 + 2,puVar9,uVar10); + FUN_140002190((longlong *)&local_38,puVar9,uVar4,puVar7); + local_38 = puVar6 + 2; + } + } + } + FUN_140001df0((longlong *)&local_38); + puVar7 = local_38; + if (local_38 == (uint *)0x0) { + puVar7 = (uint *)PTR_DAT_14016f010; + } + FUN_14003e650(puVar7,L"serveron",uVar1); + puVar7 = local_38; + if (local_38 == (uint *)0x0) { + puVar7 = (uint *)PTR_DAT_14016f010; + } + uVar3 = FUN_14003e620((short *)puVar7); + uVar1 = uVar13; + if (0 < (int)uVar3) { + uVar1 = uVar3; + } + uVar3 = uVar13; + if ((local_38 != (uint *)0x0) && (local_38 != (uint *)PTR_DAT_14016f010)) { + uVar3 = local_38[-2]; + } + if (((int)uVar3 <= (int)uVar1) && (uVar1 = uVar13, local_38 != (uint *)0x0)) { + if (local_38 == (uint *)PTR_DAT_14016f010) goto LAB_140016c1f; + uVar1 = local_38[-2]; + } + if (((local_38 != (uint *)PTR_DAT_14016f010) && (local_38 != (uint *)0x0)) && + (local_38 + -2 != (uint *)0x0)) { + local_38[-2] = uVar1; + *(undefined2 *)((longlong)local_38 + (longlong)(int)uVar1 * 2) = 0; + } +LAB_140016c1f: + plVar8 = (longlong *)(*(longlong *)(param_1 + 0x70) + 0x48); + ppuVar12 = &local_38; + puVar11 = &DAT_14016f5d0; + uVar4 = (ulonglong)*param_4; + (**(code **)(*plVar8 + 0xd0))(); + puVar7 = local_38; + if (((local_38 != (uint *)0x0) && (local_38 != (uint *)PTR_DAT_14016f010)) && + (puVar6 = local_38 + -2, puVar6 != (uint *)0x0)) { + piVar5 = (int *)FUN_14003e7c0(plVar8,uVar4,puVar11,ppuVar12); + local_28 = piVar5; + FUN_14003d040(piVar5); + local_20 = 1; + puVar7 = puVar7 + -1; + *puVar7 = *puVar7 - 1; + if (*puVar7 == 0) { + FUN_14003e8b0(puVar6); + } + local_38 = (uint *)FUN_14003d0d0((longlong)piVar5); + } + return CONCAT71((int7)((ulonglong)local_38 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140016cb0.c b/decomp/AgentManager_Release_x64/full/functions/0x140016cb0.c new file mode 100644 index 00000000..768e8a22 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140016cb0.c @@ -0,0 +1,172 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140016cb0 FUN_140016cb0 + * Pseudocode, not original source. */ + +undefined8 FUN_140016cb0(longlong param_1,undefined8 param_2,undefined8 param_3,uint *param_4) + +{ + uint uVar1; + uint uVar2; + uint uVar3; + ulonglong uVar4; + int *piVar5; + uint *puVar6; + uint *puVar7; + longlong *plVar8; + uint *puVar9; + uint uVar10; + undefined *puVar11; + uint **ppuVar12; + uint uVar13; + uint *local_38; + undefined8 local_30; + int *local_28; + undefined1 local_20; + + local_30 = 0xfffffffffffffffe; + if (*(char *)(DAT_14017cf28 + 0x180) == '\0') { + printf("Not Active Server.!!! \n"); + uVar4 = FUN_140011dd0(param_1 + -8,0,10,0xffffffff); + return uVar4 & 0xffffffffffffff00; + } + puVar7 = param_4; + FUN_14003e7c0(param_1,param_2,param_3,param_4); + local_38 = (uint *)PTR_DAT_14016f010; + uVar1 = FUN_14003e620(L"auto"); + uVar13 = 0; + uVar3 = 0; + uVar4 = 0; + if ((local_38 != (uint *)0x0) && (uVar4 = 0, local_38 != (uint *)PTR_DAT_14016f010)) { + uVar4 = (ulonglong)local_38[-2]; + } + uVar2 = uVar1; + if ((((int)uVar1 <= (int)uVar4) && (uVar2 = uVar3, local_38 != (uint *)0x0)) && + (local_38 != (uint *)PTR_DAT_14016f010)) { + uVar2 = local_38[-2]; + } + uVar10 = 1; + if (1 < (int)uVar2) { + uVar10 = uVar2; + } + uVar2 = uVar3; + if ((local_38 != (uint *)0x0) && (local_38 != (uint *)PTR_DAT_14016f010)) { + uVar2 = local_38[-2]; + } + if ((int)uVar2 < (int)uVar10) { + puVar6 = local_38; + if (local_38 == (uint *)0x0) { + puVar6 = (uint *)PTR_DAT_14016f010; + } + local_38 = puVar6; + if ((int)uVar10 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar10 == 0) { + local_38 = (uint *)PTR_DAT_14016f010; + if (((puVar6 != (uint *)0x0) && (puVar6 != (uint *)PTR_DAT_14016f010)) && + (puVar6 + -2 != (uint *)0x0)) { + local_38 = puVar6; + piVar5 = (int *)FUN_14003e7c0(puVar6,PTR_DAT_14016f010,uVar4,puVar7); + local_28 = piVar5; + FUN_14003d040(piVar5); + local_20 = 1; + puVar7 = puVar6 + -1; + *puVar7 = *puVar7 - 1; + if (*puVar7 == 0) { + FUN_14003e8b0(puVar6 + -2); + } + FUN_14003d0d0((longlong)piVar5); + local_38 = (uint *)PTR_DAT_14016f010; + } + } + else { + uVar2 = uVar3; + if ((puVar6 != (uint *)0x0) && (puVar6 != (uint *)PTR_DAT_14016f010)) { + uVar2 = puVar6[-2]; + } + if (uVar10 != uVar2) { + puVar6 = (uint *)FUN_14003e840((longlong)(int)uVar10 * 2 + 10); + if (puVar6 != (uint *)0x0) { + *puVar6 = 0; + puVar6[1] = 1; + } + *puVar6 = uVar10; + uVar2 = uVar3; + if ((local_38 != (uint *)0x0) && (local_38 != (uint *)PTR_DAT_14016f010)) { + uVar2 = local_38[-2]; + } + puVar9 = (uint *)PTR_DAT_14016f010; + if ((int)uVar10 < (int)uVar2) { +LAB_140016e55: + if (local_38 != (uint *)0x0) { + puVar9 = local_38; + } + } + else { + uVar10 = uVar3; + if (local_38 != (uint *)0x0) { + if (local_38 != (uint *)PTR_DAT_14016f010) { + uVar10 = local_38[-2]; + } + goto LAB_140016e55; + } + } + uVar4 = (ulonglong)uVar10; + FUN_14003e650(puVar6 + 2,puVar9,uVar10); + FUN_140002190((longlong *)&local_38,puVar9,uVar4,puVar7); + local_38 = puVar6 + 2; + } + } + } + FUN_140001df0((longlong *)&local_38); + puVar7 = local_38; + if (local_38 == (uint *)0x0) { + puVar7 = (uint *)PTR_DAT_14016f010; + } + FUN_14003e650(puVar7,L"auto",uVar1); + puVar7 = local_38; + if (local_38 == (uint *)0x0) { + puVar7 = (uint *)PTR_DAT_14016f010; + } + uVar3 = FUN_14003e620((short *)puVar7); + uVar1 = uVar13; + if (0 < (int)uVar3) { + uVar1 = uVar3; + } + uVar3 = uVar13; + if ((local_38 != (uint *)0x0) && (local_38 != (uint *)PTR_DAT_14016f010)) { + uVar3 = local_38[-2]; + } + if (((int)uVar3 <= (int)uVar1) && (uVar1 = uVar13, local_38 != (uint *)0x0)) { + if (local_38 == (uint *)PTR_DAT_14016f010) goto LAB_140016f0f; + uVar1 = local_38[-2]; + } + if (((local_38 != (uint *)PTR_DAT_14016f010) && (local_38 != (uint *)0x0)) && + (local_38 + -2 != (uint *)0x0)) { + local_38[-2] = uVar1; + *(undefined2 *)((longlong)local_38 + (longlong)(int)uVar1 * 2) = 0; + } +LAB_140016f0f: + plVar8 = (longlong *)(*(longlong *)(param_1 + 0x70) + 0x48); + ppuVar12 = &local_38; + puVar11 = &DAT_14016f5d0; + uVar4 = (ulonglong)*param_4; + (**(code **)(*plVar8 + 0xd0))(); + puVar7 = local_38; + if (((local_38 != (uint *)0x0) && (local_38 != (uint *)PTR_DAT_14016f010)) && + (puVar6 = local_38 + -2, puVar6 != (uint *)0x0)) { + piVar5 = (int *)FUN_14003e7c0(plVar8,uVar4,puVar11,ppuVar12); + local_28 = piVar5; + FUN_14003d040(piVar5); + local_20 = 1; + puVar7 = puVar7 + -1; + *puVar7 = *puVar7 - 1; + if (*puVar7 == 0) { + FUN_14003e8b0(puVar6); + } + local_38 = (uint *)FUN_14003d0d0((longlong)piVar5); + } + return CONCAT71((int7)((ulonglong)local_38 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140016fa0.c b/decomp/AgentManager_Release_x64/full/functions/0x140016fa0.c new file mode 100644 index 00000000..d02d6db0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140016fa0.c @@ -0,0 +1,225 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140016fa0 FUN_140016fa0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +ulonglong FUN_140016fa0(longlong param_1,longlong param_2) + +{ + uint uVar1; + int iVar2; + longlong lVar3; + ulonglong uVar4; + undefined8 uVar5; + undefined8 extraout_RAX; + undefined8 extraout_RAX_00; + undefined8 extraout_RAX_01; + longlong lVar6; + undefined **ppuVar7; + void **ppvVar8; + undefined1 auStack_1e8 [32]; + int local_1c8; + int local_1c0; + longlong *local_1b8; + longlong local_1b0; + undefined *local_1a8; + undefined1 local_198; + undefined1 local_197; + longlong local_190; + undefined4 local_188; + undefined8 local_180; + undefined8 local_178; + longlong local_170; + undefined *local_168; + undefined1 local_158; + undefined1 local_157; + longlong local_150; + undefined4 local_148; + undefined8 local_140; + undefined8 local_138; + longlong local_130; + undefined *local_128; + undefined1 local_118; + undefined1 local_117; + longlong local_110; + undefined4 local_108; + undefined8 local_100; + undefined8 local_f8; + undefined8 local_f0; + longlong local_e8; + undefined *local_e0; + byte local_d0; + undefined1 auStack_cf [7]; + longlong local_c8; + undefined4 local_c0; + undefined8 local_b8; + undefined8 local_b0; + void *local_a8 [2]; + undefined8 local_98; + ulonglong local_90; + undefined2 local_80; + undefined6 uStack_7e; + undefined8 local_70; + ulonglong local_68; + undefined1 local_58; + undefined7 uStack_57; + undefined8 local_48; + ulonglong local_40; + ulonglong local_30; + + local_f0 = 0xfffffffffffffffe; + local_30 = DAT_14016f5a0 ^ (ulonglong)auStack_1e8; + ppuVar7 = (undefined **)&DAT_1401303d0; + lVar6 = 0x28; + do { + lVar3 = lVar6 / 2; + if (ppuVar7[lVar3] < (undefined *)0xb) { + ppuVar7 = ppuVar7 + lVar3 + 1; + lVar3 = lVar6 + (-1 - lVar3); + } + lVar6 = lVar3; + } while (0 < lVar3); + if (ppuVar7 == &MBISingleton::vftable_meta_ptr) { + ppuVar7 = (undefined **)&UNK_140130508; + } + local_e0 = *ppuVar7; + local_e8 = 0; + local_d0 = 0; + local_c8 = 0; + local_c0 = 0x3f800000; + local_b8 = 0; + local_b0 = 0; + uVar4 = FUN_14000e610((char *)(param_2 + 8),&local_e8); + local_150 = local_c8; + if ((char)uVar4 == '\0') { + if (local_e8 != 0) { + uVar4 = FUN_140010570(&local_e8); + } + uVar4 = uVar4 & 0xffffffffffffff00; + } + else { + local_1b8 = &local_170; + local_168 = FUN_140037260((longlong)&local_e8,local_c8); + local_170 = 0; + local_158 = 0; + local_157 = auStack_cf[local_d0]; + local_148 = local_c0; + local_140 = 0; + local_138 = 0; + if (local_150 != 0) { + FUN_14001a640(&local_e8,&local_170); + FUN_140011050(&local_170); + } + FUN_14000f2a0((void **)&local_80,&local_170,"Account"); + lVar6 = local_c8; + local_1b8 = &local_1b0; + local_1a8 = FUN_140037260((longlong)&local_e8,local_c8); + local_1b0 = 0; + local_198 = 0; + local_197 = auStack_cf[local_d0]; + local_190 = lVar6; + local_188 = local_c0; + local_180 = 0; + local_178 = 0; + if (lVar6 != 0) { + FUN_14001a640(&local_e8,&local_1b0); + FUN_140011050(&local_1b0); + } + FUN_14000f2a0(local_a8,&local_1b0,"charid"); + lVar6 = local_c8; + local_1b8 = &local_170; + local_168 = FUN_140037260((longlong)&local_e8,local_c8); + local_170 = 0; + local_158 = 0; + local_157 = auStack_cf[local_d0]; + local_150 = lVar6; + local_148 = local_c0; + local_140 = 0; + local_138 = 0; + if (lVar6 != 0) { + FUN_14001a640(&local_e8,&local_170); + FUN_140011050(&local_170); + } + FUN_14000f130((longlong *)&local_58,&local_170); + lVar6 = local_c8; + local_1b8 = &local_1b0; + local_1a8 = FUN_140037260((longlong)&local_e8,local_c8); + local_1b0 = 0; + local_198 = 0; + local_197 = auStack_cf[local_d0]; + local_190 = lVar6; + local_188 = local_c0; + local_180 = 0; + local_178 = 0; + if (lVar6 != 0) { + FUN_14001a640(&local_e8,&local_1b0); + FUN_140011050(&local_1b0); + } + uVar1 = FUN_14000efc0(&local_1b0,"server"); + lVar6 = local_c8; + local_1b8 = &local_130; + local_128 = FUN_140037260((longlong)&local_e8,local_c8); + local_130 = 0; + local_118 = 0; + local_117 = auStack_cf[local_d0]; + local_110 = lVar6; + local_108 = local_c0; + local_100 = 0; + local_f8 = 0; + if (lVar6 != 0) { + FUN_14001a640(&local_e8,&local_130); + FUN_140011050(&local_130); + } + iVar2 = FUN_14000efc0(&local_130,"itemid"); + lVar6 = local_c8; + local_1b8 = &local_1b0; + local_1a8 = FUN_140037260((longlong)&local_e8,local_c8); + local_1b0 = 0; + local_198 = 0; + local_197 = auStack_cf[local_d0]; + local_190 = lVar6; + local_188 = local_c0; + local_180 = 0; + local_178 = 0; + if (lVar6 != 0) { + FUN_14001a640(&local_e8,&local_1b0); + FUN_140011050(&local_1b0); + } + local_1c0 = FUN_14000efc0(&local_1b0,"count"); + ppvVar8 = local_a8; + if (7 < local_90) { + ppvVar8 = (void **)CONCAT62(local_a8[0]._2_6_,local_a8[0]._0_2_); + } + local_1c8 = iVar2; + uVar5 = FUN_140014bf0(*(longlong *)(param_1 + 0x98),(ulonglong)*(uint *)(param_2 + 0x208), + (ulonglong)uVar1,(short *)ppvVar8); + if (0xf < local_40) { + operator_delete((void *)CONCAT71(uStack_57,local_58)); + uVar5 = extraout_RAX; + } + local_40 = 0xf; + local_48 = 0; + local_58 = 0; + if (7 < local_90) { + operator_delete((void *)CONCAT62(local_a8[0]._2_6_,local_a8[0]._0_2_)); + uVar5 = extraout_RAX_00; + } + local_90 = 7; + local_98 = 0; + local_a8[0]._0_2_ = 0; + if (7 < local_68) { + operator_delete((void *)CONCAT62(uStack_7e,local_80)); + uVar5 = extraout_RAX_01; + } + local_68 = 7; + local_70 = 0; + local_80 = 0; + if (local_e8 != 0) { + uVar5 = FUN_140010570(&local_e8); + } + uVar4 = CONCAT71((int7)((ulonglong)uVar5 >> 8),1); + } + return uVar4; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140017460.c b/decomp/AgentManager_Release_x64/full/functions/0x140017460.c new file mode 100644 index 00000000..8f644423 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140017460.c @@ -0,0 +1,183 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140017460 FUN_140017460 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +ulonglong FUN_140017460(longlong param_1,longlong param_2) + +{ + uint uVar1; + longlong lVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined8 extraout_RAX; + undefined8 extraout_RAX_00; + undefined8 extraout_RAX_01; + longlong lVar5; + undefined **ppuVar6; + void **ppvVar7; + undefined1 auStack_188 [32]; + longlong *local_168; + longlong local_160; + undefined *local_158; + undefined1 local_148; + undefined1 local_147; + longlong local_140; + undefined4 local_138; + undefined8 local_130; + undefined8 local_128; + longlong local_120; + undefined *local_118; + undefined1 local_108; + undefined1 local_107; + longlong local_100; + undefined4 local_f8; + undefined8 local_f0; + undefined8 local_e8; + undefined8 local_e0; + longlong local_d8; + undefined *local_d0; + byte local_c0; + undefined1 auStack_bf [7]; + longlong local_b8; + undefined4 local_b0; + undefined8 local_a8; + undefined8 local_a0; + void *local_98 [2]; + undefined8 local_88; + ulonglong local_80; + undefined1 local_70; + undefined7 uStack_6f; + undefined8 local_60; + ulonglong local_58; + undefined2 local_48; + undefined6 uStack_46; + undefined8 local_38; + ulonglong local_30; + ulonglong local_20; + + local_e0 = 0xfffffffffffffffe; + local_20 = DAT_14016f5a0 ^ (ulonglong)auStack_188; + ppuVar6 = (undefined **)&DAT_1401303d0; + lVar5 = 0x28; + do { + lVar2 = lVar5 / 2; + if (ppuVar6[lVar2] < (undefined *)0xb) { + ppuVar6 = ppuVar6 + lVar2 + 1; + lVar2 = lVar5 + (-1 - lVar2); + } + lVar5 = lVar2; + } while (0 < lVar2); + if (ppuVar6 == &MBISingleton::vftable_meta_ptr) { + ppuVar6 = (undefined **)&UNK_140130508; + } + local_d0 = *ppuVar6; + local_d8 = 0; + local_c0 = 0; + local_b8 = 0; + local_b0 = 0x3f800000; + local_a8 = 0; + local_a0 = 0; + uVar3 = FUN_14000e610((char *)(param_2 + 8),&local_d8); + local_100 = local_b8; + if ((char)uVar3 == '\0') { + if (local_d8 != 0) { + uVar3 = FUN_140010570(&local_d8); + } + uVar3 = uVar3 & 0xffffffffffffff00; + } + else { + local_168 = &local_120; + local_118 = FUN_140037260((longlong)&local_d8,local_b8); + local_120 = 0; + local_108 = 0; + local_107 = auStack_bf[local_c0]; + local_f8 = local_b0; + local_f0 = 0; + local_e8 = 0; + if (local_100 != 0) { + FUN_14001a640(&local_d8,&local_120); + FUN_140011050(&local_120); + } + FUN_14000f2a0((void **)&local_48,&local_120,"Account"); + lVar5 = local_b8; + local_168 = &local_160; + local_158 = FUN_140037260((longlong)&local_d8,local_b8); + local_160 = 0; + local_148 = 0; + local_147 = auStack_bf[local_c0]; + local_140 = lVar5; + local_138 = local_b0; + local_130 = 0; + local_128 = 0; + if (lVar5 != 0) { + FUN_14001a640(&local_d8,&local_160); + FUN_140011050(&local_160); + } + FUN_14000f2a0(local_98,&local_160,"charid"); + lVar5 = local_b8; + local_168 = &local_120; + local_118 = FUN_140037260((longlong)&local_d8,local_b8); + local_120 = 0; + local_108 = 0; + local_107 = auStack_bf[local_c0]; + local_100 = lVar5; + local_f8 = local_b0; + local_f0 = 0; + local_e8 = 0; + if (lVar5 != 0) { + FUN_14001a640(&local_d8,&local_120); + FUN_140011050(&local_120); + } + FUN_14000f130((longlong *)&local_70,&local_120); + lVar5 = local_b8; + local_168 = &local_160; + local_158 = FUN_140037260((longlong)&local_d8,local_b8); + local_160 = 0; + local_148 = 0; + local_147 = auStack_bf[local_c0]; + local_140 = lVar5; + local_138 = local_b0; + local_130 = 0; + local_128 = 0; + if (lVar5 != 0) { + FUN_14001a640(&local_d8,&local_160); + FUN_140011050(&local_160); + } + uVar1 = FUN_14000efc0(&local_160,"server"); + ppvVar7 = local_98; + if (7 < local_80) { + ppvVar7 = (void **)CONCAT62(local_98[0]._2_6_,local_98[0]._0_2_); + } + uVar4 = FUN_140014230(*(longlong *)(param_1 + 0x98),(ulonglong)*(uint *)(param_2 + 0x208), + (ulonglong)uVar1,(short *)ppvVar7); + if (0xf < local_58) { + operator_delete((void *)CONCAT71(uStack_6f,local_70)); + uVar4 = extraout_RAX; + } + local_58 = 0xf; + local_60 = 0; + local_70 = 0; + if (7 < local_80) { + operator_delete((void *)CONCAT62(local_98[0]._2_6_,local_98[0]._0_2_)); + uVar4 = extraout_RAX_00; + } + local_80 = 7; + local_88 = 0; + local_98[0]._0_2_ = 0; + if (7 < local_30) { + operator_delete((void *)CONCAT62(uStack_46,local_48)); + uVar4 = extraout_RAX_01; + } + local_30 = 7; + local_38 = 0; + local_48 = 0; + if (local_d8 != 0) { + uVar4 = FUN_140010570(&local_d8); + } + uVar3 = CONCAT71((int7)((ulonglong)uVar4 >> 8),1); + } + return uVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140017800.c b/decomp/AgentManager_Release_x64/full/functions/0x140017800.c new file mode 100644 index 00000000..a65d6648 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140017800.c @@ -0,0 +1,183 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140017800 FUN_140017800 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +ulonglong FUN_140017800(longlong param_1,longlong param_2) + +{ + uint uVar1; + longlong lVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined8 extraout_RAX; + undefined8 extraout_RAX_00; + undefined8 extraout_RAX_01; + longlong lVar5; + undefined **ppuVar6; + void **ppvVar7; + undefined1 auStack_188 [32]; + longlong *local_168; + longlong local_160; + undefined *local_158; + undefined1 local_148; + undefined1 local_147; + longlong local_140; + undefined4 local_138; + undefined8 local_130; + undefined8 local_128; + longlong local_120; + undefined *local_118; + undefined1 local_108; + undefined1 local_107; + longlong local_100; + undefined4 local_f8; + undefined8 local_f0; + undefined8 local_e8; + undefined8 local_e0; + longlong local_d8; + undefined *local_d0; + byte local_c0; + undefined1 auStack_bf [7]; + longlong local_b8; + undefined4 local_b0; + undefined8 local_a8; + undefined8 local_a0; + void *local_98 [2]; + undefined8 local_88; + ulonglong local_80; + undefined1 local_70; + undefined7 uStack_6f; + undefined8 local_60; + ulonglong local_58; + undefined2 local_48; + undefined6 uStack_46; + undefined8 local_38; + ulonglong local_30; + ulonglong local_20; + + local_e0 = 0xfffffffffffffffe; + local_20 = DAT_14016f5a0 ^ (ulonglong)auStack_188; + ppuVar6 = (undefined **)&DAT_1401303d0; + lVar5 = 0x28; + do { + lVar2 = lVar5 / 2; + if (ppuVar6[lVar2] < (undefined *)0xb) { + ppuVar6 = ppuVar6 + lVar2 + 1; + lVar2 = lVar5 + (-1 - lVar2); + } + lVar5 = lVar2; + } while (0 < lVar2); + if (ppuVar6 == &MBISingleton::vftable_meta_ptr) { + ppuVar6 = (undefined **)&UNK_140130508; + } + local_d0 = *ppuVar6; + local_d8 = 0; + local_c0 = 0; + local_b8 = 0; + local_b0 = 0x3f800000; + local_a8 = 0; + local_a0 = 0; + uVar3 = FUN_14000e610((char *)(param_2 + 8),&local_d8); + local_100 = local_b8; + if ((char)uVar3 == '\0') { + if (local_d8 != 0) { + uVar3 = FUN_140010570(&local_d8); + } + uVar3 = uVar3 & 0xffffffffffffff00; + } + else { + local_168 = &local_120; + local_118 = FUN_140037260((longlong)&local_d8,local_b8); + local_120 = 0; + local_108 = 0; + local_107 = auStack_bf[local_c0]; + local_f8 = local_b0; + local_f0 = 0; + local_e8 = 0; + if (local_100 != 0) { + FUN_14001a640(&local_d8,&local_120); + FUN_140011050(&local_120); + } + FUN_14000f2a0((void **)&local_48,&local_120,"Account"); + lVar5 = local_b8; + local_168 = &local_160; + local_158 = FUN_140037260((longlong)&local_d8,local_b8); + local_160 = 0; + local_148 = 0; + local_147 = auStack_bf[local_c0]; + local_140 = lVar5; + local_138 = local_b0; + local_130 = 0; + local_128 = 0; + if (lVar5 != 0) { + FUN_14001a640(&local_d8,&local_160); + FUN_140011050(&local_160); + } + FUN_14000f2a0(local_98,&local_160,"charid"); + lVar5 = local_b8; + local_168 = &local_120; + local_118 = FUN_140037260((longlong)&local_d8,local_b8); + local_120 = 0; + local_108 = 0; + local_107 = auStack_bf[local_c0]; + local_100 = lVar5; + local_f8 = local_b0; + local_f0 = 0; + local_e8 = 0; + if (lVar5 != 0) { + FUN_14001a640(&local_d8,&local_120); + FUN_140011050(&local_120); + } + FUN_14000f130((longlong *)&local_70,&local_120); + lVar5 = local_b8; + local_168 = &local_160; + local_158 = FUN_140037260((longlong)&local_d8,local_b8); + local_160 = 0; + local_148 = 0; + local_147 = auStack_bf[local_c0]; + local_140 = lVar5; + local_138 = local_b0; + local_130 = 0; + local_128 = 0; + if (lVar5 != 0) { + FUN_14001a640(&local_d8,&local_160); + FUN_140011050(&local_160); + } + uVar1 = FUN_14000efc0(&local_160,"server"); + ppvVar7 = local_98; + if (7 < local_80) { + ppvVar7 = (void **)CONCAT62(local_98[0]._2_6_,local_98[0]._0_2_); + } + uVar4 = FUN_140014570(*(longlong *)(param_1 + 0x98),(ulonglong)*(uint *)(param_2 + 0x208), + (ulonglong)uVar1,(short *)ppvVar7); + if (0xf < local_58) { + operator_delete((void *)CONCAT71(uStack_6f,local_70)); + uVar4 = extraout_RAX; + } + local_58 = 0xf; + local_60 = 0; + local_70 = 0; + if (7 < local_80) { + operator_delete((void *)CONCAT62(local_98[0]._2_6_,local_98[0]._0_2_)); + uVar4 = extraout_RAX_00; + } + local_80 = 7; + local_88 = 0; + local_98[0]._0_2_ = 0; + if (7 < local_30) { + operator_delete((void *)CONCAT62(uStack_46,local_48)); + uVar4 = extraout_RAX_01; + } + local_30 = 7; + local_38 = 0; + local_48 = 0; + if (local_d8 != 0) { + uVar4 = FUN_140010570(&local_d8); + } + uVar3 = CONCAT71((int7)((ulonglong)uVar4 >> 8),1); + } + return uVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140017ba0.c b/decomp/AgentManager_Release_x64/full/functions/0x140017ba0.c new file mode 100644 index 00000000..de35c73c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140017ba0.c @@ -0,0 +1,244 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140017ba0 FUN_140017ba0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +ulonglong FUN_140017ba0(longlong param_1,longlong param_2) + +{ + uint uVar1; + uint uVar2; + int iVar3; + longlong lVar4; + ulonglong uVar5; + void **ppvVar6; + undefined8 uVar7; + undefined8 extraout_RAX; + undefined8 extraout_RAX_00; + undefined8 extraout_RAX_01; + undefined8 extraout_RAX_02; + longlong lVar8; + undefined **ppuVar9; + undefined1 auStackY_228 [32]; + undefined4 in_stack_fffffffffffffdfc; + longlong local_1f0; + undefined *local_1e8; + undefined1 local_1d8; + undefined1 local_1d7; + longlong local_1d0; + undefined4 local_1c8; + undefined8 local_1c0; + undefined8 local_1b8; + longlong local_1b0; + undefined *local_1a8; + undefined1 local_198; + undefined1 local_197; + longlong local_190; + undefined4 local_188; + undefined8 local_180; + undefined8 local_178; + longlong local_170; + undefined *local_168; + undefined1 local_158; + undefined1 local_157; + longlong local_150; + undefined4 local_148; + undefined8 local_140; + undefined8 local_138; + undefined8 local_130; + longlong local_128; + undefined *local_120; + byte local_110; + undefined1 auStack_10f [7]; + longlong local_108; + undefined4 local_100; + undefined8 local_f8; + undefined8 local_f0; + void *local_e8 [2]; + undefined8 local_d8; + ulonglong local_d0; + undefined2 local_c0; + undefined6 uStack_be; + undefined8 local_b0; + ulonglong local_a8; + undefined1 local_98; + undefined7 uStack_97; + undefined8 local_88; + ulonglong local_80; + undefined2 local_70; + undefined6 uStack_6e; + undefined8 local_60; + ulonglong local_58; + ulonglong local_48; + + local_130 = 0xfffffffffffffffe; + local_48 = DAT_14016f5a0 ^ (ulonglong)auStackY_228; + ppuVar9 = (undefined **)&DAT_1401303d0; + lVar8 = 0x28; + do { + lVar4 = lVar8 / 2; + if (ppuVar9[lVar4] < (undefined *)0xb) { + ppuVar9 = ppuVar9 + lVar4 + 1; + lVar4 = lVar8 + (-1 - lVar4); + } + lVar8 = lVar4; + } while (0 < lVar4); + if (ppuVar9 == &MBISingleton::vftable_meta_ptr) { + ppuVar9 = (undefined **)&UNK_140130508; + } + local_120 = *ppuVar9; + local_128 = 0; + local_110 = 0; + local_108 = 0; + local_100 = 0x3f800000; + local_f8 = 0; + local_f0 = 0; + uVar5 = FUN_14000e610((char *)(param_2 + 8),&local_128); + local_150 = local_108; + if ((char)uVar5 == '\0') { + if (local_128 != 0) { + uVar5 = FUN_140010570(&local_128); + } + uVar5 = uVar5 & 0xffffffffffffff00; + } + else { + local_168 = FUN_140037260((longlong)&local_128,local_108); + local_170 = 0; + local_158 = 0; + local_157 = auStack_10f[local_110]; + local_148 = local_100; + local_140 = 0; + local_138 = 0; + if (local_150 != 0) { + FUN_14001a640(&local_128,&local_170); + FUN_140011050(&local_170); + } + FUN_14000f2a0((void **)&local_70,&local_170,"Account"); + lVar8 = local_108; + local_1e8 = FUN_140037260((longlong)&local_128,local_108); + local_1f0 = 0; + local_1d8 = 0; + local_1d7 = auStack_10f[local_110]; + local_1d0 = lVar8; + local_1c8 = local_100; + local_1c0 = 0; + local_1b8 = 0; + if (lVar8 != 0) { + FUN_14001a640(&local_128,&local_1f0); + FUN_140011050(&local_1f0); + } + FUN_14000f2a0((void **)&local_c0,&local_1f0,"charid"); + lVar8 = local_108; + local_168 = FUN_140037260((longlong)&local_128,local_108); + local_170 = 0; + local_158 = 0; + local_157 = auStack_10f[local_110]; + local_150 = lVar8; + local_148 = local_100; + local_140 = 0; + local_138 = 0; + if (lVar8 != 0) { + FUN_14001a640(&local_128,&local_170); + FUN_140011050(&local_170); + } + FUN_14000f130((longlong *)&local_98,&local_170); + lVar8 = local_108; + local_1e8 = FUN_140037260((longlong)&local_128,local_108); + local_1f0 = 0; + local_1d8 = 0; + local_1d7 = auStack_10f[local_110]; + local_1d0 = lVar8; + local_1c8 = local_100; + local_1c0 = 0; + local_1b8 = 0; + if (lVar8 != 0) { + FUN_14001a640(&local_128,&local_1f0); + FUN_140011050(&local_1f0); + } + uVar1 = FUN_14000efc0(&local_1f0,"type"); + lVar8 = local_108; + local_1a8 = FUN_140037260((longlong)&local_128,local_108); + local_1b0 = 0; + local_198 = 0; + local_197 = auStack_10f[local_110]; + local_190 = lVar8; + local_188 = local_100; + local_180 = 0; + local_178 = 0; + if (lVar8 != 0) { + FUN_14001a640(&local_128,&local_1b0); + FUN_140011050(&local_1b0); + } + uVar2 = FUN_14000efc0(&local_1b0,"server"); + lVar8 = local_108; + local_1e8 = FUN_140037260((longlong)&local_128,local_108); + local_1f0 = 0; + local_1d8 = 0; + local_1d7 = auStack_10f[local_110]; + local_1d0 = lVar8; + local_1c8 = local_100; + local_1c0 = 0; + local_1b8 = 0; + if (lVar8 != 0) { + FUN_14001a640(&local_128,&local_1f0); + FUN_140011050(&local_1f0); + } + iVar3 = FUN_14000efc0(&local_1f0,"messagetype"); + lVar8 = local_108; + local_1a8 = FUN_140037260((longlong)&local_128,local_108); + local_1b0 = 0; + local_198 = 0; + local_197 = auStack_10f[local_110]; + local_190 = lVar8; + local_188 = local_100; + local_180 = 0; + local_178 = 0; + if (lVar8 != 0) { + FUN_14001a640(&local_128,&local_1b0); + FUN_140011050(&local_1b0); + } + FUN_14000f2a0(local_e8,&local_1b0,"message"); + ppvVar6 = local_e8; + if (7 < local_d0) { + ppvVar6 = (void **)CONCAT62(local_e8[0]._2_6_,local_e8[0]._0_2_); + } + uVar7 = FUN_140014f40(*(longlong *)(param_1 + 0x98),(ulonglong)*(uint *)(param_2 + 0x208), + (ulonglong)uVar2,(ulonglong)uVar1, + CONCAT44(in_stack_fffffffffffffdfc,iVar3),(short *)ppvVar6); + if (7 < local_d0) { + operator_delete((void *)CONCAT62(local_e8[0]._2_6_,local_e8[0]._0_2_)); + uVar7 = extraout_RAX; + } + local_d0 = 7; + local_d8 = 0; + local_e8[0]._0_2_ = 0; + if (0xf < local_80) { + operator_delete((void *)CONCAT71(uStack_97,local_98)); + uVar7 = extraout_RAX_00; + } + local_80 = 0xf; + local_88 = 0; + local_98 = 0; + if (7 < local_a8) { + operator_delete((void *)CONCAT62(uStack_be,local_c0)); + uVar7 = extraout_RAX_01; + } + local_a8 = 7; + local_b0 = 0; + local_c0 = 0; + if (7 < local_58) { + operator_delete((void *)CONCAT62(uStack_6e,local_70)); + uVar7 = extraout_RAX_02; + } + local_58 = 7; + local_60 = 0; + local_70 = 0; + if (local_128 != 0) { + uVar7 = FUN_140010570(&local_128); + } + uVar5 = CONCAT71((int7)((ulonglong)uVar7 >> 8),1); + } + return uVar5; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140018110.c b/decomp/AgentManager_Release_x64/full/functions/0x140018110.c new file mode 100644 index 00000000..32a598ce --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140018110.c @@ -0,0 +1,183 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140018110 FUN_140018110 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +ulonglong FUN_140018110(longlong param_1,longlong param_2) + +{ + uint uVar1; + longlong lVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined8 extraout_RAX; + undefined8 extraout_RAX_00; + undefined8 extraout_RAX_01; + longlong lVar5; + undefined **ppuVar6; + void **ppvVar7; + undefined1 auStack_188 [32]; + longlong *local_168; + longlong local_160; + undefined *local_158; + undefined1 local_148; + undefined1 local_147; + longlong local_140; + undefined4 local_138; + undefined8 local_130; + undefined8 local_128; + longlong local_120; + undefined *local_118; + undefined1 local_108; + undefined1 local_107; + longlong local_100; + undefined4 local_f8; + undefined8 local_f0; + undefined8 local_e8; + undefined8 local_e0; + longlong local_d8; + undefined *local_d0; + byte local_c0; + undefined1 auStack_bf [7]; + longlong local_b8; + undefined4 local_b0; + undefined8 local_a8; + undefined8 local_a0; + void *local_98 [2]; + undefined8 local_88; + ulonglong local_80; + undefined1 local_70; + undefined7 uStack_6f; + undefined8 local_60; + ulonglong local_58; + undefined2 local_48; + undefined6 uStack_46; + undefined8 local_38; + ulonglong local_30; + ulonglong local_20; + + local_e0 = 0xfffffffffffffffe; + local_20 = DAT_14016f5a0 ^ (ulonglong)auStack_188; + ppuVar6 = (undefined **)&DAT_1401303d0; + lVar5 = 0x28; + do { + lVar2 = lVar5 / 2; + if (ppuVar6[lVar2] < (undefined *)0xb) { + ppuVar6 = ppuVar6 + lVar2 + 1; + lVar2 = lVar5 + (-1 - lVar2); + } + lVar5 = lVar2; + } while (0 < lVar2); + if (ppuVar6 == &MBISingleton::vftable_meta_ptr) { + ppuVar6 = (undefined **)&UNK_140130508; + } + local_d0 = *ppuVar6; + local_d8 = 0; + local_c0 = 0; + local_b8 = 0; + local_b0 = 0x3f800000; + local_a8 = 0; + local_a0 = 0; + uVar3 = FUN_14000e610((char *)(param_2 + 8),&local_d8); + local_100 = local_b8; + if ((char)uVar3 == '\0') { + if (local_d8 != 0) { + uVar3 = FUN_140010570(&local_d8); + } + uVar3 = uVar3 & 0xffffffffffffff00; + } + else { + local_168 = &local_120; + local_118 = FUN_140037260((longlong)&local_d8,local_b8); + local_120 = 0; + local_108 = 0; + local_107 = auStack_bf[local_c0]; + local_f8 = local_b0; + local_f0 = 0; + local_e8 = 0; + if (local_100 != 0) { + FUN_14001a640(&local_d8,&local_120); + FUN_140011050(&local_120); + } + FUN_14000f2a0((void **)&local_48,&local_120,"Account"); + lVar5 = local_b8; + local_168 = &local_160; + local_158 = FUN_140037260((longlong)&local_d8,local_b8); + local_160 = 0; + local_148 = 0; + local_147 = auStack_bf[local_c0]; + local_140 = lVar5; + local_138 = local_b0; + local_130 = 0; + local_128 = 0; + if (lVar5 != 0) { + FUN_14001a640(&local_d8,&local_160); + FUN_140011050(&local_160); + } + FUN_14000f2a0(local_98,&local_160,"charid"); + lVar5 = local_b8; + local_168 = &local_120; + local_118 = FUN_140037260((longlong)&local_d8,local_b8); + local_120 = 0; + local_108 = 0; + local_107 = auStack_bf[local_c0]; + local_100 = lVar5; + local_f8 = local_b0; + local_f0 = 0; + local_e8 = 0; + if (lVar5 != 0) { + FUN_14001a640(&local_d8,&local_120); + FUN_140011050(&local_120); + } + FUN_14000f130((longlong *)&local_70,&local_120); + lVar5 = local_b8; + local_168 = &local_160; + local_158 = FUN_140037260((longlong)&local_d8,local_b8); + local_160 = 0; + local_148 = 0; + local_147 = auStack_bf[local_c0]; + local_140 = lVar5; + local_138 = local_b0; + local_130 = 0; + local_128 = 0; + if (lVar5 != 0) { + FUN_14001a640(&local_d8,&local_160); + FUN_140011050(&local_160); + } + uVar1 = FUN_14000efc0(&local_160,"server"); + ppvVar7 = local_98; + if (7 < local_80) { + ppvVar7 = (void **)CONCAT62(local_98[0]._2_6_,local_98[0]._0_2_); + } + uVar4 = FUN_1400148b0(*(longlong *)(param_1 + 0x98),(ulonglong)*(uint *)(param_2 + 0x208), + (ulonglong)uVar1,(short *)ppvVar7); + if (0xf < local_58) { + operator_delete((void *)CONCAT71(uStack_6f,local_70)); + uVar4 = extraout_RAX; + } + local_58 = 0xf; + local_60 = 0; + local_70 = 0; + if (7 < local_80) { + operator_delete((void *)CONCAT62(local_98[0]._2_6_,local_98[0]._0_2_)); + uVar4 = extraout_RAX_00; + } + local_80 = 7; + local_88 = 0; + local_98[0]._0_2_ = 0; + if (7 < local_30) { + operator_delete((void *)CONCAT62(uStack_46,local_48)); + uVar4 = extraout_RAX_01; + } + local_30 = 7; + local_38 = 0; + local_48 = 0; + if (local_d8 != 0) { + uVar4 = FUN_140010570(&local_d8); + } + uVar3 = CONCAT71((int7)((ulonglong)uVar4 >> 8),1); + } + return uVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400184b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400184b0.c new file mode 100644 index 00000000..af3a4623 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400184b0.c @@ -0,0 +1,325 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400184b0 FUN_1400184b0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* WARNING: Type propagation algorithm not settling */ + +undefined8 FUN_1400184b0(longlong param_1,longlong param_2) + +{ + ulonglong *puVar1; + int iVar2; + longlong lVar3; + ulonglong uVar4; + longlong lVar5; + longlong extraout_RAX; + longlong extraout_RAX_00; + ulonglong *puVar6; + ulonglong *puVar7; + wchar_t *******_Src; + wchar_t *pwVar8; + undefined **ppuVar9; + ulonglong *puVar10; + ulonglong *puVar11; + ulonglong *puVar12; + ulonglong *puVar13; + undefined1 auStack_2b8 [32]; + ulonglong *local_298; + ulonglong *local_290; + ulonglong *local_288; + ulonglong *local_278; + ulonglong *local_270; + ulonglong *local_268; + longlong local_258; + ulonglong *local_250; + longlong local_248; + undefined8 local_240; + undefined8 local_238; + uint local_230; + undefined4 local_22c; + undefined4 local_228; + ulonglong local_220; + undefined8 local_218; + undefined8 local_210; + undefined8 local_208; + undefined8 local_200; + undefined8 local_1f8; + undefined8 local_1f0; + undefined8 local_1e8; + undefined8 local_1e0; + undefined8 local_1d8; + undefined8 local_1d0; + undefined8 local_1c8; + undefined8 local_1c0; + undefined8 local_1b8; + undefined8 local_1b0; + undefined8 local_1a8; + undefined8 local_1a0; + undefined4 local_198; + undefined4 local_194; + undefined4 local_190; + longlong local_188; + undefined *local_180; + undefined1 local_170; + undefined8 local_168; + undefined4 local_160; + undefined8 local_158; + undefined8 local_150; + undefined4 local_148; + uint local_144; + byte local_13c; + undefined4 local_138; + undefined4 local_134; + undefined4 local_130; + wchar_t *******local_120 [3]; + ulonglong local_108; + wchar_t local_f8; + undefined6 uStack_f6; + undefined8 local_e8; + ulonglong local_e0; + wchar_t local_d0; + undefined6 uStack_ce; + undefined8 local_c0; + ulonglong local_b8; + undefined8 local_a8; + ulonglong uStack_a0; + ulonglong local_98; + ulonglong local_90; + ulonglong local_88; + ulonglong local_80; + ulonglong local_78; + void *local_70; + undefined8 local_68; + undefined8 local_60; + ulonglong local_48; + + local_240 = 0xfffffffffffffffe; + local_48 = DAT_14016f5a0 ^ (ulonglong)auStack_2b8; + ppuVar9 = (undefined **)&DAT_1401303d0; + lVar5 = 0x28; + do { + lVar3 = lVar5 / 2; + if (ppuVar9[lVar3] < (undefined *)0xb) { + ppuVar9 = ppuVar9 + lVar3 + 1; + lVar3 = lVar5 + (-1 - lVar3); + } + lVar5 = lVar3; + } while (0 < lVar3); + if (ppuVar9 == &MBISingleton::vftable_meta_ptr) { + ppuVar9 = (undefined **)&UNK_140130508; + } + local_180 = *ppuVar9; + puVar7 = (ulonglong *)0x0; + local_188 = 0; + local_170 = 0; + local_168 = 0; + local_160 = 0x3f800000; + local_158 = 0; + local_150 = 0; + local_258 = param_2; + local_248 = param_1; + uVar4 = FUN_14000e610((char *)(param_2 + 8),&local_188); + if ((char)uVar4 == '\0') { + if (local_188 != 0) { + uVar4 = FUN_140010570(&local_188); + } + return uVar4 & 0xffffffffffffff00; + } + local_278 = (ulonglong *)0x0; + local_270 = (ulonglong *)0x0; + local_268 = (ulonglong *)0x0; + puVar12 = puVar7; + puVar6 = puVar7; + if (*(longlong *)(DAT_14017cf20 + 0x58) == 0) { + local_298 = (ulonglong *)0x0; + } + else { + local_298 = *(ulonglong **)(DAT_14017cf20 + 0x68); + if (local_298 != (ulonglong *)0x0) { + local_290 = (ulonglong *)*local_298; + puVar11 = local_298; + puVar10 = local_290; + goto joined_r0x0001400185f7; + } + } + local_290 = (ulonglong *)0x0; + puVar11 = local_298; + puVar10 = local_290; +joined_r0x0001400185f7: + while (puVar10 != (ulonglong *)0x0) { + puVar13 = (ulonglong *)puVar10[2]; + if (puVar13 != (ulonglong *)0x0) { + if ((puVar13 < puVar7) && (puVar12 <= puVar13)) { + lVar5 = ((longlong)puVar13 - (longlong)puVar12) + + SUB168(SEXT816(-0x7bdef7bdef7bdef7) * SEXT816((longlong)puVar13 - (longlong)puVar12) + ,8); + if (puVar7 == puVar6) { + FUN_14003a7e0((longlong *)&local_278); + puVar7 = local_270; + puVar12 = local_278; + puVar6 = local_268; + } + local_298 = puVar7; + local_250 = puVar7; + if (puVar7 != (ulonglong *)0x0) { + FUN_140003c50((undefined4 *)puVar7, + (undefined4 *)(puVar12 + ((lVar5 >> 7) - (lVar5 >> 0x3f)) * 0x1f)); + } + } + else { + if (puVar7 == puVar6) { + FUN_14003a7e0((longlong *)&local_278); + puVar7 = local_270; + puVar12 = local_278; + puVar6 = local_268; + } + local_298 = puVar7; + local_250 = puVar7; + if (puVar7 != (ulonglong *)0x0) { + FUN_140003c50((undefined4 *)puVar7,(undefined4 *)puVar13); + } + } + puVar7 = puVar7 + 0x1f; + local_270 = puVar7; + } + puVar10 = (ulonglong *)*puVar10; + while (puVar10 == (ulonglong *)0x0) { + puVar11 = puVar11 + 1; + puVar10 = (ulonglong *)*puVar11; + } + if (puVar11 == puVar10) { + puVar10 = (ulonglong *)0x0; + } + } + puVar6 = (ulonglong *)0x0; + local_298 = (ulonglong *)0x0; + local_290 = (ulonglong *)0x0; + local_288 = (ulonglong *)0x0; + puVar10 = puVar6; + if (puVar12 != puVar7) { + puVar11 = puVar6; + puVar13 = puVar12 + 0x17; + do { + FUN_140004f20(&local_148,(undefined4 *)(puVar13 + -0x17)); + local_a8 = puVar13[-3]; + uStack_a0 = puVar13[-2]; + local_98 = puVar13[-1]; + local_90 = *puVar13; + local_88 = puVar13[1]; + local_80 = puVar13[2]; + local_78 = puVar13[3]; + FUN_140004de0(&local_70,(longlong *)(puVar13 + 4)); + local_218 = 0; + local_210 = 0; + local_208 = 0; + local_200 = 0; + local_1f8 = 0; + local_1f0 = 0; + local_1e8 = 0; + local_1e0 = 0; + local_1d8 = 0; + local_1d0 = 0; + local_1c8 = 0; + local_1c0 = 0; + local_1b8 = 0; + local_1b0 = 0; + local_1a8 = 0; + local_1a0 = 0; + local_238._0_4_ = local_144; + local_238._4_4_ = local_a8._4_4_; + local_230 = (uint)local_13c; + local_22c = local_148; + local_228 = (undefined4)uStack_a0; + local_220 = local_98; + local_198 = local_138; + local_194 = local_134; + local_190 = local_130; + pwVar8 = &local_d0; + if (7 < local_b8) { + pwVar8 = (wchar_t *)CONCAT62(uStack_ce,local_d0); + } + wcscpy_s((wchar_t *)&local_218,0x20,pwVar8); + _Src = (wchar_t *******)local_120; + if (7 < local_108) { + _Src = local_120[0]; + } + wcscpy_s((wchar_t *)&local_1d8,0x10,(wchar_t *)_Src); + pwVar8 = &local_f8; + if (7 < local_e0) { + pwVar8 = (wchar_t *)CONCAT62(uStack_f6,local_f8); + } + wcscpy_s((wchar_t *)&local_1b8,0x10,pwVar8); + if ((&local_238 < puVar6) && (puVar10 <= &local_238)) { + lVar5 = (longlong)&local_238 - (longlong)puVar10; + if (puVar6 == puVar11) { + FUN_140019f00((longlong *)&local_298); + puVar6 = local_290; + puVar10 = local_298; + puVar11 = local_288; + } + if (puVar6 != (ulonglong *)0x0) { + memcpy(puVar6,puVar10 + (lVar5 / 0xb0) * 0x16,0xb0); + } + } + else { + if (puVar6 == puVar11) { + FUN_140019f00((longlong *)&local_298); + puVar6 = local_290; + puVar10 = local_298; + puVar11 = local_288; + } + if (puVar6 != (ulonglong *)0x0) { + memcpy(puVar6,&local_238,0xb0); + } + } + puVar6 = puVar6 + 0x16; + local_290 = puVar6; + if (local_70 != (void *)0x0) { + operator_delete(local_70); + } + local_70 = (void *)0x0; + local_68 = 0; + local_60 = 0; + if (7 < local_b8) { + operator_delete((void *)CONCAT62(uStack_ce,local_d0)); + } + local_b8 = 7; + local_c0 = 0; + local_d0 = L'\0'; + if (7 < local_e0) { + operator_delete((void *)CONCAT62(uStack_f6,local_f8)); + } + local_e0 = 7; + local_e8 = 0; + local_f8 = L'\0'; + if (7 < local_108) { + operator_delete(local_120[0]); + } + puVar1 = puVar13 + 8; + puVar12 = local_278; + puVar13 = puVar13 + 0x1f; + } while (puVar1 != puVar7); + } + lVar3 = local_248; + iVar2 = *(int *)(local_258 + 0x208); + lVar5 = local_258; + for (puVar11 = puVar10; puVar11 != puVar6; puVar11 = puVar11 + 0x16) { + memcpy(&local_238,puVar11,0xb0); + lVar5 = FUN_14001ad00(lVar3,iVar2,(uint *)&local_238); + } + if (puVar10 != (ulonglong *)0x0) { + operator_delete(puVar10); + lVar5 = extraout_RAX; + } + if (puVar12 != (ulonglong *)0x0) { + FUN_140004ba0(puVar12,puVar7); + operator_delete(puVar12); + lVar5 = extraout_RAX_00; + } + if (local_188 != 0) { + lVar5 = FUN_140010570(&local_188); + } + return CONCAT71((int7)((ulonglong)lVar5 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140018ae0.c b/decomp/AgentManager_Release_x64/full/functions/0x140018ae0.c new file mode 100644 index 00000000..c7d5f468 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140018ae0.c @@ -0,0 +1,414 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140018ae0 FUN_140018ae0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +undefined8 FUN_140018ae0(longlong param_1,longlong param_2) + +{ + uint uVar1; + ulonglong *puVar2; + ulonglong *puVar3; + code *pcVar4; + undefined8 *puVar5; + undefined8 *puVar6; + longlong lVar7; + ulonglong uVar8; + ulonglong *puVar9; + undefined8 *puVar10; + undefined8 uVar11; + ulonglong **ppuVar12; + ulonglong **extraout_RAX; + ulonglong **extraout_RAX_00; + ulonglong **extraout_RAX_01; + ulonglong **extraout_RAX_02; + ulonglong **ppuVar13; + ulonglong uVar14; + ulonglong uVar15; + ulonglong **ppuVar16; + ulonglong **ppuVar17; + ulonglong *puVar18; + ulonglong **ppuVar19; + ulonglong *puVar20; + longlong lVar21; + undefined **ppuVar22; + ulonglong *puVar23; + ulonglong **ppuVar24; + ulonglong **ppuVar25; + undefined1 auStackY_298 [32]; + ulonglong *local_268; + ulonglong *local_260; + ulonglong *local_258; + ulonglong *local_250; + ulonglong *local_248; + ulonglong *local_240; + undefined8 local_230; + undefined4 local_228; + undefined4 uStack_224; + undefined4 local_220; + undefined4 uStack_21c; + undefined1 local_218; + undefined1 uStack_217; + undefined6 uStack_216; + ulonglong *local_210; + ulonglong **local_208; + ulonglong **local_200; + ulonglong **local_1f8; + ulonglong **local_1e8; + ulonglong **local_1e0; + ulonglong **local_1d8; + longlong local_1c8; + longlong local_1c0; + undefined8 *local_1b8; + undefined8 *local_1b0; + undefined8 local_1a8; + undefined8 local_198; + longlong local_188; + undefined *local_180; + undefined1 local_170; + undefined8 local_168; + undefined4 local_160; + undefined8 local_158; + undefined8 local_150; + undefined4 local_148; + uint local_144; + void *local_120; + ulonglong local_108; + undefined2 local_f8; + undefined6 uStack_f6; + undefined8 local_e8; + ulonglong local_e0; + undefined2 local_d0; + undefined6 uStack_ce; + undefined8 local_c0; + ulonglong local_b8; + ulonglong local_a8; + ulonglong uStack_a0; + ulonglong local_98; + undefined8 local_90; + undefined8 local_88; + ulonglong *local_80; + undefined8 local_78; + void *local_70; + undefined8 local_68; + undefined8 local_60; + ulonglong local_48; + + local_198 = 0xfffffffffffffffe; + local_48 = DAT_14016f5a0 ^ (ulonglong)auStackY_298; + ppuVar22 = (undefined **)&DAT_1401303d0; + lVar21 = 0x28; + do { + lVar7 = lVar21 / 2; + if (ppuVar22[lVar7] < (undefined *)0xb) { + ppuVar22 = ppuVar22 + lVar7 + 1; + lVar7 = lVar21 + (-1 - lVar7); + } + lVar21 = lVar7; + } while (0 < lVar7); + if (ppuVar22 == &MBISingleton::vftable_meta_ptr) { + ppuVar22 = (undefined **)&UNK_140130508; + } + local_180 = *ppuVar22; + local_188 = 0; + local_170 = 0; + local_168 = 0; + local_160 = 0x3f800000; + local_158 = 0; + local_150 = 0; + local_1c8 = param_2; + local_1c0 = param_1; + uVar8 = FUN_14000e610((char *)(param_2 + 8),&local_188); + if ((char)uVar8 == '\0') { + if (local_188 != 0) { + uVar8 = FUN_140010570(&local_188); + } + return uVar8 & 0xffffffffffffff00; + } + puVar9 = (ulonglong *)0x0; + local_250 = (ulonglong *)0x0; + local_248 = (ulonglong *)0x0; + local_240 = (ulonglong *)0x0; + puVar20 = puVar9; + puVar23 = puVar9; + if (*(longlong *)(DAT_14017cf20 + 0x58) == 0) { + local_260 = (ulonglong *)0x0; + } + else { + local_260 = *(ulonglong **)(DAT_14017cf20 + 0x68); + if (local_260 != (ulonglong *)0x0) { + local_258 = (ulonglong *)*local_260; + puVar18 = local_260; + puVar3 = local_258; + goto joined_r0x000140018c29; + } + } + local_258 = (ulonglong *)0x0; + puVar18 = local_260; + puVar3 = local_258; +joined_r0x000140018c29: + while (puVar3 != (ulonglong *)0x0) { + puVar2 = (ulonglong *)puVar3[2]; + if (puVar2 != (ulonglong *)0x0) { + if ((puVar2 < puVar20) && (puVar9 <= puVar2)) { + lVar21 = ((longlong)puVar2 - (longlong)puVar9) + + SUB168(SEXT816(-0x7bdef7bdef7bdef7) * SEXT816((longlong)puVar2 - (longlong)puVar9), + 8); + if (puVar20 == puVar23) { + FUN_14003a7e0((longlong *)&local_250); + puVar20 = local_248; + puVar23 = local_240; + } + local_268 = puVar20; + local_260 = puVar20; + if (puVar20 != (ulonglong *)0x0) { + FUN_140003c50((undefined4 *)puVar20, + (undefined4 *)(local_250 + ((lVar21 >> 7) - (lVar21 >> 0x3f)) * 0x1f)); + } + } + else { + if (puVar20 == puVar23) { + FUN_14003a7e0((longlong *)&local_250); + puVar20 = local_248; + puVar23 = local_240; + } + local_268 = puVar20; + local_260 = puVar20; + if (puVar20 != (ulonglong *)0x0) { + FUN_140003c50((undefined4 *)puVar20,(undefined4 *)puVar2); + } + } + puVar20 = puVar20 + 0x1f; + puVar9 = local_250; + local_248 = puVar20; + } + puVar3 = (ulonglong *)*puVar3; + while (puVar3 == (ulonglong *)0x0) { + puVar18 = puVar18 + 1; + puVar3 = (ulonglong *)*puVar18; + } + if (puVar18 == puVar3) { + puVar3 = (ulonglong *)0x0; + } + } + ppuVar16 = (ulonglong **)0x0; + local_208 = (ulonglong **)0x0; + local_200 = (ulonglong **)0x0; + local_1f8 = (ulonglong **)0x0; + local_1e8 = (ulonglong **)0x0; + local_1e0 = (ulonglong **)0x0; + local_1d8 = (ulonglong **)0x0; + local_1b8 = (undefined8 *)0x0; + local_1b0 = (undefined8 *)0x0; + local_1a8 = 0; + ppuVar13 = ppuVar16; + ppuVar12 = ppuVar16; + ppuVar17 = ppuVar16; + ppuVar24 = ppuVar16; + if (puVar9 != puVar20) { + puVar9 = puVar9 + 0x17; + ppuVar25 = ppuVar16; + do { + ppuVar12 = (ulonglong **)0x0; + local_260 = puVar9; + FUN_140004f20(&local_148,(undefined4 *)(puVar9 + -0x17)); + local_a8 = puVar9[-3]; + uStack_a0 = puVar9[-2]; + local_98 = puVar9[-1]; + local_90 = *puVar9; + local_88 = puVar9[1]; + local_80 = (ulonglong *)puVar9[2]; + local_78 = puVar9[3]; + FUN_140004de0(&local_70,(longlong *)(puVar9 + 4)); + uVar1 = local_144; + local_230._0_4_ = (undefined4)local_90; + local_230._4_4_ = local_90._4_4_; + local_228 = (undefined4)local_88; + uStack_224 = (undefined4)local_78; + local_220 = local_88._4_4_; + local_218 = local_78._4_1_; + uStack_217 = local_78._5_1_; + local_210 = local_80; + uVar8 = 0; + uStack_21c = 0; + local_268 = (ulonglong *)CONCAT44(local_268._4_4_,local_144); + if ((&local_268 < ppuVar13) && (ppuVar17 <= &local_268)) { + lVar21 = (longlong)&local_268 - (longlong)ppuVar17; + if (ppuVar13 == ppuVar25) { + uVar14 = (longlong)ppuVar13 - (longlong)ppuVar17 >> 2; + if (0x3ffffffffffffffe < uVar14) { + std::_Xlength_error("vector too long"); + pcVar4 = (code *)swi(3); + uVar11 = (*pcVar4)(); + return uVar11; + } + uVar14 = uVar14 + 1; + uVar15 = (longlong)ppuVar25 - (longlong)ppuVar17 >> 2; + if (uVar15 < uVar14) { + if (uVar15 <= 0x3fffffffffffffff - (uVar15 >> 1)) { + uVar8 = uVar15 + (uVar15 >> 1); + } + if (uVar8 < uVar14) { + uVar8 = uVar14; + } + FUN_14001a190((longlong *)&local_208,uVar8); + ppuVar13 = local_200; + ppuVar17 = local_208; + ppuVar25 = local_1f8; + } + } + if (ppuVar13 != (ulonglong **)0x0) { + *(uint *)ppuVar13 = *(uint *)((longlong)ppuVar17 + (lVar21 >> 2) * 4); + } + } + else { + if (ppuVar13 == ppuVar25) { + uVar14 = (longlong)ppuVar13 - (longlong)ppuVar17 >> 2; + if (0x3ffffffffffffffe < uVar14) { + std::_Xlength_error("vector too long"); + break; + } + uVar14 = uVar14 + 1; + uVar15 = (longlong)ppuVar25 - (longlong)ppuVar17 >> 2; + if (uVar15 < uVar14) { + if (uVar15 <= 0x3fffffffffffffff - (uVar15 >> 1)) { + uVar8 = uVar15 + (uVar15 >> 1); + } + if (uVar8 < uVar14) { + uVar8 = uVar14; + } + FUN_14001a190((longlong *)&local_208,uVar8); + ppuVar13 = local_200; + ppuVar17 = local_208; + ppuVar25 = local_1f8; + } + } + if (ppuVar13 != (ulonglong **)0x0) { + *(uint *)ppuVar13 = uVar1; + } + } + ppuVar13 = (ulonglong **)((longlong)ppuVar13 + 4); + local_200 = ppuVar13; + if ((&local_230 < ppuVar16) && (ppuVar24 <= &local_230)) { + lVar21 = ((longlong)&local_230 - (longlong)ppuVar24) / 0x28; + if (ppuVar16 == local_1d8) { + FUN_140019fc0((longlong *)&local_1e8); + ppuVar16 = local_1e0; + ppuVar24 = local_1e8; + } + if (ppuVar16 != (ulonglong **)0x0) { + *ppuVar16 = ppuVar24[lVar21 * 5]; + ppuVar16[1] = ppuVar24[lVar21 * 5 + 1]; + ppuVar16[2] = ppuVar24[lVar21 * 5 + 2]; + ppuVar16[3] = ppuVar24[lVar21 * 5 + 3]; + puVar9 = ppuVar24[lVar21 * 5 + 4]; +LAB_140019042: + ppuVar16[4] = puVar9; + } + } + else { + if (ppuVar16 == local_1d8) { + FUN_140019fc0((longlong *)&local_1e8); + ppuVar16 = local_1e0; + ppuVar24 = local_1e8; + } + if (ppuVar16 != (ulonglong **)0x0) { + *ppuVar16 = (ulonglong *)CONCAT44(local_230._4_4_,(undefined4)local_230); + ppuVar16[1] = (ulonglong *)CONCAT44(uStack_224,local_228); + ppuVar16[2] = (ulonglong *)CONCAT44(uStack_21c,local_220); + ppuVar16[3] = (ulonglong *)CONCAT62(uStack_216,CONCAT11(uStack_217,local_218)); + puVar9 = local_210; + goto LAB_140019042; + } + } + ppuVar16 = ppuVar16 + 5; + local_1e0 = ppuVar16; + puVar10 = FUN_140005da0((longlong)&local_148,&local_230); + FUN_140019d70((longlong *)&local_1b8,puVar10); + if ((void *)CONCAT44(local_230._4_4_,(undefined4)local_230) != (void *)0x0) { + operator_delete((void *)CONCAT44(local_230._4_4_,(undefined4)local_230)); + } + if (local_70 != (void *)0x0) { + operator_delete(local_70); + } + local_70 = (void *)0x0; + local_68 = 0; + local_60 = 0; + if (7 < local_b8) { + operator_delete((void *)CONCAT62(uStack_ce,local_d0)); + } + local_b8 = 7; + local_c0 = 0; + local_d0 = 0; + if (7 < local_e0) { + operator_delete((void *)CONCAT62(uStack_f6,local_f8)); + } + local_e0 = 7; + local_e8 = 0; + local_f8 = 0; + if (7 < local_108) { + operator_delete(local_120); + } + ppuVar12 = (ulonglong **)0x0; + puVar9 = local_260 + 0x1f; + puVar23 = local_260 + 8; + local_260 = puVar9; + } while (puVar23 != puVar20); + } + puVar10 = local_1b8; + lVar21 = local_1c0; + uVar1 = *(uint *)(local_1c8 + 0x208); + local_268 = (ulonglong *)CONCAT44(local_268._4_4_,uVar1); + ppuVar25 = (ulonglong **)((ulonglong)ppuVar12 & 0xffffffff); + ppuVar19 = (ulonglong **)((longlong)ppuVar13 - (longlong)ppuVar17 >> 2); + ppuVar13 = (ulonglong **)(ulonglong)uVar1; + ppuVar16 = ppuVar12; + if (ppuVar19 != (ulonglong **)0x0) { + do { + FUN_14001b0d0(lVar21,uVar1,*(uint *)ppuVar17,(uint *)(ppuVar24 + (longlong)ppuVar12 * 5), + puVar10 + (longlong)ppuVar12 * 4); + ppuVar12 = (ulonglong **)(ulonglong)((int)ppuVar25 + 1); + ppuVar17 = (ulonglong **)((longlong)ppuVar17 + 4); + ppuVar25 = ppuVar12; + } while (ppuVar12 < ppuVar19); + ppuVar16 = (ulonglong **)0x0; + ppuVar13 = ppuVar12; + puVar20 = local_248; + ppuVar17 = local_208; + } + puVar6 = local_1b0; + puVar5 = puVar10; + if (puVar10 != (undefined8 *)0x0) { + for (; puVar5 != puVar6; puVar5 = puVar5 + 4) { + if ((void *)*puVar5 != (void *)0x0) { + operator_delete((void *)*puVar5); + ppuVar16 = (ulonglong **)0x0; + } + *puVar5 = ppuVar16; + puVar5[1] = ppuVar16; + puVar5[2] = ppuVar16; + } + operator_delete(puVar10); + ppuVar13 = extraout_RAX; + } + if (ppuVar24 != (ulonglong **)0x0) { + operator_delete(ppuVar24); + ppuVar13 = extraout_RAX_00; + } + if (ppuVar17 != (ulonglong **)0x0) { + operator_delete(ppuVar17); + ppuVar13 = extraout_RAX_01; + } + puVar9 = local_250; + if (local_250 != (ulonglong *)0x0) { + FUN_140004ba0(local_250,puVar20); + operator_delete(puVar9); + ppuVar13 = extraout_RAX_02; + } + if (local_188 != 0) { + ppuVar13 = (ulonglong **)FUN_140010570(&local_188); + } + return CONCAT71((int7)((ulonglong)ppuVar13 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400192a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400192a0.c new file mode 100644 index 00000000..fb3ca61c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400192a0.c @@ -0,0 +1,137 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400192a0 FUN_1400192a0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +ulonglong FUN_1400192a0(longlong param_1,longlong param_2) + +{ + int iVar1; + uint uVar2; + int iVar3; + longlong lVar4; + ulonglong uVar5; + void *_Src; + undefined8 uVar6; + longlong lVar7; + undefined **ppuVar8; + undefined1 auStack_238 [32]; + longlong *local_218; + longlong local_210; + undefined *local_208; + undefined1 local_1f8; + undefined1 local_1f7; + longlong local_1f0; + undefined4 local_1e8; + undefined8 local_1e0; + undefined8 local_1d8; + longlong local_1d0; + undefined *local_1c8; + undefined1 local_1b8; + undefined1 local_1b7; + longlong local_1b0; + undefined4 local_1a8; + undefined8 local_1a0; + undefined8 local_198; + undefined8 local_190; + undefined1 local_188 [272]; + longlong local_78; + undefined *local_70; + byte local_60; + undefined1 auStack_5f [7]; + longlong local_58; + undefined4 local_50; + undefined8 local_48; + undefined8 local_40; + ulonglong local_38; + + local_190 = 0xfffffffffffffffe; + local_38 = DAT_14016f5a0 ^ (ulonglong)auStack_238; + ppuVar8 = (undefined **)&DAT_1401303d0; + lVar7 = 0x28; + do { + lVar4 = lVar7 / 2; + if (ppuVar8[lVar4] < (undefined *)0xb) { + ppuVar8 = ppuVar8 + lVar4 + 1; + lVar4 = lVar7 + (-1 - lVar4); + } + lVar7 = lVar4; + } while (0 < lVar4); + if (ppuVar8 == &MBISingleton::vftable_meta_ptr) { + ppuVar8 = (undefined **)&UNK_140130508; + } + local_70 = *ppuVar8; + local_78 = 0; + local_60 = 0; + local_58 = 0; + local_50 = 0x3f800000; + local_48 = 0; + local_40 = 0; + uVar5 = FUN_14000e610((char *)(param_2 + 8),&local_78); + local_1f0 = local_58; + if ((char)uVar5 == '\0') { + if (local_78 != 0) { + uVar5 = FUN_140010570(&local_78); + } + uVar5 = uVar5 & 0xffffffffffffff00; + } + else { + local_218 = &local_210; + local_208 = FUN_140037260((longlong)&local_78,local_58); + local_210 = 0; + local_1f8 = 0; + local_1f7 = auStack_5f[local_60]; + local_1e8 = local_50; + local_1e0 = 0; + local_1d8 = 0; + if (local_1f0 != 0) { + FUN_14001a640(&local_78,&local_210); + FUN_140011050(&local_210); + } + iVar1 = FUN_14000efc0(&local_210,"state"); + lVar7 = local_58; + local_218 = &local_1d0; + local_1c8 = FUN_140037260((longlong)&local_78,local_58); + local_1d0 = 0; + local_1b8 = 0; + local_1b7 = auStack_5f[local_60]; + local_1b0 = lVar7; + local_1a8 = local_50; + local_1a0 = 0; + local_198 = 0; + if (lVar7 != 0) { + FUN_14001a640(&local_78,&local_1d0); + FUN_140011050(&local_1d0); + } + uVar2 = FUN_14000efc0(&local_1d0,"world"); + lVar7 = local_58; + local_218 = &local_210; + local_208 = FUN_140037260((longlong)&local_78,local_58); + local_210 = 0; + local_1f8 = 0; + local_1f7 = auStack_5f[local_60]; + local_1f0 = lVar7; + local_1e8 = local_50; + local_1e0 = 0; + local_1d8 = 0; + if (lVar7 != 0) { + FUN_14001a640(&local_78,&local_210); + FUN_140011050(&local_210); + } + iVar3 = FUN_14000efc0(&local_210,"eventid"); + _Src = (void *)FUN_14003b2f0(DAT_14017cf58,iVar3); + uVar6 = 0; + if (_Src != (void *)0x0) { + memcpy(local_188,_Src,0x108); + uVar6 = FUN_14000d8a0(*(longlong *)(param_1 + 0x98),iVar1 != 0,(ulonglong)uVar2, + (longlong)local_188); + } + if (local_78 != 0) { + uVar6 = FUN_140010570(&local_78); + } + uVar5 = CONCAT71((int7)((ulonglong)uVar6 >> 8),1); + } + return uVar5; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400195d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400195d0.c new file mode 100644 index 00000000..71c158b6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400195d0.c @@ -0,0 +1,439 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400195d0 FUN_1400195d0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +undefined8 FUN_1400195d0(int *param_1,longlong param_2) + +{ + int *piVar1; + undefined8 *puVar2; + undefined8 *puVar3; + undefined8 *puVar4; + uint *puVar5; + undefined4 *puVar6; + int *piVar7; + longlong lVar8; + ulonglong uVar9; + ulonglong *puVar10; + ulonglong *extraout_RAX; + ulonglong *extraout_RAX_00; + ulonglong *extraout_RAX_01; + ulonglong *extraout_RAX_02; + ulonglong *puVar11; + undefined4 *puVar12; + ulonglong *puVar13; + uint *puVar14; + undefined8 *puVar15; + ulonglong *puVar16; + ulonglong *puVar17; + longlong lVar18; + undefined **ppuVar19; + ulonglong *puVar20; + undefined4 *_Dst; + uint *puVar21; + undefined4 *puVar22; + bool bVar23; + undefined1 auStack_318 [32]; + ulonglong *local_2f8; + ulonglong *local_2f0; + uint *local_2e8; + uint *local_2e0; + uint *local_2d8; + undefined4 *local_2c8; + undefined4 *local_2c0; + undefined4 *local_2b8; + ulonglong *local_2a8; + ulonglong *local_2a0; + ulonglong *local_298; + uint local_288; + undefined4 uStack_284; + undefined4 local_280; + undefined4 uStack_27c; + undefined4 local_278; + undefined4 uStack_274; + undefined1 local_270; + undefined1 uStack_26f; + undefined6 uStack_26e; + ulonglong local_268; + ulonglong *local_260; + longlong local_258; + int *local_250; + undefined8 local_248; + undefined8 *local_238; + undefined *local_230; + undefined1 local_220; + undefined8 local_218; + undefined4 local_210; + undefined8 local_208; + undefined8 local_200; + undefined4 local_1f8; + undefined4 local_1f4; + byte local_1ec; + undefined4 local_1e8; + undefined4 local_1e4; + undefined4 local_1e0; + void *local_1d0; + ulonglong local_1b8; + undefined2 local_1a8; + undefined6 uStack_1a6; + undefined8 local_198; + ulonglong local_190; + undefined2 local_180; + undefined6 uStack_17e; + undefined8 local_170; + ulonglong local_168; + undefined8 local_158; + ulonglong uStack_150; + ulonglong local_148; + undefined8 local_140; + undefined8 local_138; + ulonglong local_130; + undefined8 local_128; + void *local_120; + undefined8 local_118; + undefined8 local_110; + undefined4 local_f8; + undefined4 local_f4; + uint local_f0; + undefined4 local_ec; + undefined4 local_e8; + ulonglong local_e0; + undefined8 local_d8; + undefined8 local_d0; + undefined8 local_c8; + undefined8 local_c0; + undefined8 local_b8; + undefined8 local_b0; + undefined8 local_a8; + undefined8 local_a0; + undefined8 local_98; + undefined8 local_90; + undefined8 local_88; + undefined8 local_80; + undefined8 local_78; + undefined8 local_70; + undefined8 local_68; + undefined8 local_60; + undefined4 local_58; + undefined4 local_54; + undefined4 local_50; + ulonglong local_48; + + local_248 = 0xfffffffffffffffe; + local_48 = DAT_14016f5a0 ^ (ulonglong)auStack_318; + ppuVar19 = (undefined **)&DAT_1401303d0; + lVar18 = 0x28; + do { + lVar8 = lVar18 / 2; + if (ppuVar19[lVar8] < (undefined *)0xb) { + ppuVar19 = ppuVar19 + lVar8 + 1; + lVar8 = lVar18 + (-1 - lVar8); + } + lVar18 = lVar8; + } while (0 < lVar8); + if (ppuVar19 == &MBISingleton::vftable_meta_ptr) { + ppuVar19 = (undefined **)&UNK_140130508; + } + local_230 = *ppuVar19; + puVar11 = (ulonglong *)0x0; + local_238 = (undefined8 *)0x0; + local_220 = 0; + local_218 = 0; + local_210 = 0x3f800000; + local_208 = 0; + local_200 = 0; + local_258 = param_2; + local_250 = param_1; + uVar9 = FUN_14000e610((char *)(param_2 + 8),(longlong *)&local_238); + if ((char)uVar9 == '\0') { + if (local_238 != (undefined8 *)0x0) { + uVar9 = FUN_140010570(&local_238); + } + return uVar9 & 0xffffffffffffff00; + } + local_2e8 = (uint *)0x0; + local_2e0 = (uint *)0x0; + local_2d8 = (uint *)0x0; + local_2c8 = (undefined4 *)0x0; + local_2c0 = (undefined4 *)0x0; + local_2b8 = (undefined4 *)0x0; + local_2a8 = (ulonglong *)0x0; + local_2a0 = (ulonglong *)0x0; + local_298 = (ulonglong *)0x0; + if (DAT_14017cf20[0xb] == 0) { + local_2f8 = (ulonglong *)0x0; + puVar10 = DAT_14017cf20; + } + else { + local_2f8 = (ulonglong *)DAT_14017cf20[0xd]; + puVar10 = (ulonglong *)0x0; + if (local_2f8 != (ulonglong *)0x0) { + puVar10 = (ulonglong *)*local_2f8; + local_2f0 = puVar10; + goto LAB_14001972c; + } + } + local_2f0 = (ulonglong *)0x0; +LAB_14001972c: + puVar20 = puVar11; + if (local_2f0 != (ulonglong *)0x0) { + puVar17 = (ulonglong *)0x0; + puVar13 = local_2f0; + puVar16 = local_2f8; + do { + puVar10 = (ulonglong *)puVar13[2]; + if (puVar10 != (ulonglong *)0x0) { + if ((puVar10 < puVar20) && (puVar17 <= puVar10)) { + lVar18 = ((longlong)puVar10 - (longlong)puVar17) + + SUB168(SEXT816(-0x7bdef7bdef7bdef7) * + SEXT816((longlong)puVar10 - (longlong)puVar17),8); + if (puVar20 == puVar11) { + FUN_14003a7e0((longlong *)&local_2a8); + puVar20 = local_2a0; + puVar17 = local_2a8; + } + local_2f8 = puVar20; + local_260 = puVar20; + if (puVar20 != (ulonglong *)0x0) { + FUN_140003c50((undefined4 *)puVar20, + (undefined4 *)(puVar17 + ((lVar18 >> 7) - (lVar18 >> 0x3f)) * 0x1f)); + } + } + else { + if (puVar20 == puVar11) { + FUN_14003a7e0((longlong *)&local_2a8); + puVar20 = local_2a0; + puVar17 = local_2a8; + } + local_2f8 = puVar20; + local_260 = puVar20; + if (puVar20 != (ulonglong *)0x0) { + FUN_140003c50((undefined4 *)puVar20,(undefined4 *)puVar10); + } + } + puVar20 = puVar20 + 0x1f; + puVar11 = local_298; + local_2a0 = puVar20; + } + puVar13 = (ulonglong *)*puVar13; + while (puVar13 == (ulonglong *)0x0) { + puVar16 = puVar16 + 1; + puVar13 = (ulonglong *)*puVar16; + } + puVar10 = (ulonglong *)0x0; + if (puVar16 == puVar13) { + puVar13 = (ulonglong *)0x0; + } + } while (puVar13 != (ulonglong *)0x0); + } + puVar21 = local_2e8; + puVar5 = local_2e8; + puVar12 = local_2c8; + puVar6 = local_2c8; + puVar11 = local_2a8; + lVar18 = local_258; + piVar1 = local_250; + puVar14 = local_2e0; + if (local_2a8 != puVar20) { + puVar17 = local_2a8 + 0x17; + _Dst = local_2c0; + puVar22 = local_2c8; + do { + puVar21 = local_2e8; + FUN_140004f20(&local_1f8,(undefined4 *)(puVar17 + -0x17)); + local_158 = puVar17[-3]; + uStack_150 = puVar17[-2]; + local_148 = puVar17[-1]; + local_140 = *puVar17; + local_138 = puVar17[1]; + local_130 = puVar17[2]; + local_128 = puVar17[3]; + FUN_140004de0(&local_120,(longlong *)(puVar17 + 4)); + local_d8 = 0; + local_d0 = 0; + local_c8 = 0; + local_c0 = 0; + local_b8 = 0; + local_b0 = 0; + local_a8 = 0; + local_a0 = 0; + local_98 = 0; + local_90 = 0; + local_88 = 0; + local_80 = 0; + local_78 = 0; + local_70 = 0; + local_68 = 0; + local_60 = 0; + local_288 = (uint)local_140; + uStack_284 = local_140._4_4_; + local_280 = (undefined4)local_138; + uStack_27c = (undefined4)local_128; + local_278 = local_138._4_4_; + local_270 = local_128._4_1_; + uStack_26f = local_128._5_1_; + local_268 = local_130; + uStack_274 = 0; + local_f8 = local_1f4; + local_f4 = local_158._4_4_; + local_f0 = (uint)local_1ec; + local_ec = local_1f8; + local_e8 = (undefined4)uStack_150; + local_e0 = local_148; + local_58 = local_1e8; + local_54 = local_1e4; + local_50 = local_1e0; + if ((&local_288 < puVar14) && (puVar21 <= &local_288)) { + lVar18 = ((longlong)&local_288 - (longlong)puVar21) / 0x28; + if (puVar14 == local_2d8) { + FUN_140019fc0((longlong *)&local_2e8); + puVar14 = local_2e0; + puVar21 = local_2e8; + } + if (puVar14 != (uint *)0x0) { + *(undefined8 *)puVar14 = *(undefined8 *)(puVar21 + lVar18 * 10); + *(undefined8 *)(puVar14 + 2) = *(undefined8 *)(puVar21 + lVar18 * 10 + 2); + *(undefined8 *)(puVar14 + 4) = *(undefined8 *)(puVar21 + lVar18 * 10 + 4); + *(undefined8 *)(puVar14 + 6) = *(undefined8 *)(puVar21 + lVar18 * 10 + 6); + uVar9 = *(ulonglong *)(puVar21 + lVar18 * 10 + 8); +LAB_140019aa9: + *(ulonglong *)(puVar14 + 8) = uVar9; + } + } + else { + if (puVar14 == local_2d8) { + FUN_140019fc0((longlong *)&local_2e8); + puVar14 = local_2e0; + } + if (puVar14 != (uint *)0x0) { + *(ulonglong *)puVar14 = CONCAT44(uStack_284,local_288); + *(ulonglong *)(puVar14 + 2) = CONCAT44(uStack_27c,local_280); + *(ulonglong *)(puVar14 + 4) = CONCAT44(uStack_274,local_278); + *(ulonglong *)(puVar14 + 6) = CONCAT62(uStack_26e,CONCAT11(uStack_26f,local_270)); + uVar9 = local_268; + goto LAB_140019aa9; + } + } + puVar14 = puVar14 + 10; + local_2e0 = puVar14; + if ((&local_f8 < _Dst) && (puVar22 <= &local_f8)) { + lVar18 = (longlong)&local_f8 - (longlong)puVar22; + if (_Dst == local_2b8) { + FUN_140019f00((longlong *)&local_2c8); + _Dst = local_2c0; + puVar22 = local_2c8; + } + puVar12 = puVar22 + (lVar18 / 0xb0) * 0x2c; + if (_Dst != (undefined4 *)0x0) { +LAB_140019b4c: + memcpy(_Dst,puVar12,0xb0); + } + } + else { + if (_Dst == local_2b8) { + FUN_140019f00((longlong *)&local_2c8); + _Dst = local_2c0; + puVar22 = local_2c8; + } + if (_Dst != (undefined4 *)0x0) { + puVar12 = &local_f8; + goto LAB_140019b4c; + } + } + _Dst = _Dst + 0x2c; + local_2c0 = _Dst; + if (local_120 != (void *)0x0) { + operator_delete(local_120); + } + local_120 = (void *)0x0; + local_118 = 0; + local_110 = 0; + if (7 < local_168) { + operator_delete((void *)CONCAT62(uStack_17e,local_180)); + } + local_168 = 7; + local_170 = 0; + local_180 = 0; + if (7 < local_190) { + operator_delete((void *)CONCAT62(uStack_1a6,local_1a8)); + } + local_190 = 7; + local_198 = 0; + local_1a8 = 0; + if (7 < local_1b8) { + operator_delete(local_1d0); + } + puVar10 = puVar17 + 8; + puVar17 = puVar17 + 0x1f; + puVar21 = local_2e8; + puVar5 = local_2e8; + puVar12 = local_2c8; + puVar6 = local_2c8; + puVar11 = local_2a8; + lVar18 = local_258; + piVar1 = local_250; + } while (puVar10 != puVar20); + } + for (; piVar7 = local_250, lVar8 = local_258, puVar17 = local_2a8, local_2e8 = puVar5, + local_2c8 = puVar6, local_250 = piVar1, puVar21 != puVar14; puVar21 = puVar21 + 10) { + piVar1 = (int *)(local_258 + 0x208); + local_2a8 = puVar11; + local_258 = lVar18; + puVar10 = (ulonglong *)FUN_14001bbc0(piVar7,*piVar1,(longlong)puVar12,puVar21); + puVar5 = local_2e8; + puVar12 = puVar12 + 0x2c; + puVar6 = local_2c8; + puVar11 = local_2a8; + lVar18 = local_258; + piVar1 = local_250; + local_250 = piVar7; + local_258 = lVar8; + local_2a8 = puVar17; + } + bVar23 = local_2a8 != (ulonglong *)0x0; + local_2a8 = puVar11; + local_258 = lVar18; + if (bVar23) { + FUN_140004ba0(puVar17,puVar20); + operator_delete(puVar17); + puVar10 = extraout_RAX; + } + if (puVar6 != (undefined4 *)0x0) { + operator_delete(puVar6); + puVar10 = extraout_RAX_00; + } + if (puVar5 != (uint *)0x0) { + operator_delete(puVar5); + puVar10 = extraout_RAX_01; + } + if (local_238 != (undefined8 *)0x0) { + puVar2 = local_238 + (longlong)local_230; + for (puVar15 = local_238; puVar15 != puVar2; puVar15 = puVar15 + 1) { + puVar3 = (undefined8 *)*puVar15; + *puVar15 = 0; + while (puVar3 != (undefined8 *)0x0) { + puVar4 = (undefined8 *)*puVar3; + if (0xf < (ulonglong)puVar3[9]) { + operator_delete((void *)puVar3[6]); + } + puVar3[9] = 0xf; + puVar3[8] = 0; + *(undefined1 *)(puVar3 + 6) = 0; + if (0xf < (ulonglong)puVar3[4]) { + operator_delete((void *)puVar3[1]); + } + puVar3[4] = 0xf; + puVar3[3] = 0; + *(undefined1 *)(puVar3 + 1) = 0; + operator_delete(puVar3); + puVar3 = puVar4; + } + } + operator_delete(local_238); + puVar10 = extraout_RAX_02; + } + return CONCAT71((int7)((ulonglong)puVar10 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140019d70.c b/decomp/AgentManager_Release_x64/full/functions/0x140019d70.c new file mode 100644 index 00000000..6d480100 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140019d70.c @@ -0,0 +1,61 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140019d70 FUN_140019d70 + * Pseudocode, not original source. */ + +void FUN_140019d70(longlong *param_1,undefined8 *param_2) + +{ + undefined8 *puVar1; + undefined8 *puVar2; + + puVar1 = (undefined8 *)param_1[1]; + if ((param_2 < puVar1) && (puVar2 = (undefined8 *)*param_1, puVar2 <= param_2)) { + if (puVar1 == (undefined8 *)param_1[2]) { + FUN_14001a080(param_1); + } + puVar2 = (undefined8 *)(((longlong)param_2 - (longlong)puVar2 & 0xffffffffffffffe0U) + *param_1) + ; + puVar1 = (undefined8 *)param_1[1]; + if (puVar1 != (undefined8 *)0x0) { + *puVar1 = 0; + puVar1[1] = 0; + puVar1[2] = 0; + if (puVar1 != puVar2) { + *puVar1 = 0; + puVar1[1] = 0; + puVar1[2] = 0; + *puVar1 = *puVar2; + puVar1[1] = puVar2[1]; + puVar1[2] = puVar2[2]; + *puVar2 = 0; + puVar2[1] = 0; + puVar2[2] = 0; + } + } + } + else { + if (puVar1 == (undefined8 *)param_1[2]) { + FUN_14001a080(param_1); + } + puVar1 = (undefined8 *)param_1[1]; + if (puVar1 != (undefined8 *)0x0) { + *puVar1 = 0; + puVar1[1] = 0; + puVar1[2] = 0; + if (puVar1 != param_2) { + *puVar1 = 0; + puVar1[1] = 0; + puVar1[2] = 0; + *puVar1 = *param_2; + puVar1[1] = param_2[1]; + puVar1[2] = param_2[2]; + *param_2 = 0; + param_2[1] = 0; + param_2[2] = 0; + } + } + } + param_1[1] = param_1[1] + 0x20; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140019e80.c b/decomp/AgentManager_Release_x64/full/functions/0x140019e80.c new file mode 100644 index 00000000..605f1941 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140019e80.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140019e80 FUN_140019e80 + * Pseudocode, not original source. */ + +void FUN_140019e80(longlong *param_1,longlong param_2) + +{ + code *pcVar1; + ulonglong uVar2; + ulonglong uVar3; + + uVar3 = param_1[1] - *param_1 >> 2; + if (0x3fffffffffffffffU - param_2 < uVar3) { + std::_Xlength_error("vector too long"); + pcVar1 = (code *)swi(3); + (*pcVar1)(); + return; + } + uVar3 = uVar3 + param_2; + uVar2 = param_1[2] - *param_1 >> 2; + if (uVar2 < uVar3) { + if (0x3fffffffffffffff - (uVar2 >> 1) < uVar2) { + uVar2 = 0; + if (uVar3 != 0) { + uVar2 = uVar3; + } + FUN_14001a190(param_1,uVar2); + return; + } + uVar2 = uVar2 + (uVar2 >> 1); + if (uVar2 < uVar3) { + uVar2 = uVar3; + } + FUN_14001a190(param_1,uVar2); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140019f00.c b/decomp/AgentManager_Release_x64/full/functions/0x140019f00.c new file mode 100644 index 00000000..1e81cc6c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140019f00.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140019f00 FUN_140019f00 + * Pseudocode, not original source. */ + +void FUN_140019f00(longlong *param_1) + +{ + code *pcVar1; + ulonglong uVar2; + ulonglong uVar3; + + uVar3 = (param_1[1] - *param_1) / 0xb0; + if (0x1745d1745d1745c < uVar3) { + std::_Xlength_error("vector too long"); + pcVar1 = (code *)swi(3); + (*pcVar1)(); + return; + } + uVar3 = uVar3 + 1; + uVar2 = (param_1[2] - *param_1) / 0xb0; + if (uVar2 < uVar3) { + if (0x1745d1745d1745d - (uVar2 >> 1) < uVar2) { + uVar2 = 0; + if (uVar3 != 0) { + uVar2 = uVar3; + } + FUN_14001a250(param_1,uVar2); + return; + } + uVar2 = uVar2 + (uVar2 >> 1); + if (uVar2 < uVar3) { + uVar2 = uVar3; + } + FUN_14001a250(param_1,uVar2); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140019fc0.c b/decomp/AgentManager_Release_x64/full/functions/0x140019fc0.c new file mode 100644 index 00000000..16a02708 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140019fc0.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140019fc0 FUN_140019fc0 + * Pseudocode, not original source. */ + +void FUN_140019fc0(longlong *param_1) + +{ + code *pcVar1; + ulonglong uVar2; + ulonglong uVar3; + + uVar3 = (param_1[1] - *param_1) / 0x28; + if (0x666666666666665 < uVar3) { + std::_Xlength_error("vector too long"); + pcVar1 = (code *)swi(3); + (*pcVar1)(); + return; + } + uVar3 = uVar3 + 1; + uVar2 = (param_1[2] - *param_1) / 0x28; + if (uVar2 < uVar3) { + if (0x666666666666666 - (uVar2 >> 1) < uVar2) { + uVar2 = 0; + if (uVar3 != 0) { + uVar2 = uVar3; + } + FUN_14001a390(param_1,uVar2); + return; + } + uVar2 = uVar2 + (uVar2 >> 1); + if (uVar2 < uVar3) { + uVar2 = uVar3; + } + FUN_14001a390(param_1,uVar2); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001a080.c b/decomp/AgentManager_Release_x64/full/functions/0x14001a080.c new file mode 100644 index 00000000..0eeb487c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001a080.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001a080 FUN_14001a080 + * Pseudocode, not original source. */ + +void FUN_14001a080(longlong *param_1) + +{ + code *pcVar1; + ulonglong uVar2; + ulonglong uVar3; + + uVar3 = param_1[1] - *param_1 >> 5; + if (0x7fffffffffffffe < uVar3) { + std::_Xlength_error("vector too long"); + pcVar1 = (code *)swi(3); + (*pcVar1)(); + return; + } + uVar3 = uVar3 + 1; + uVar2 = param_1[2] - *param_1 >> 5; + if (uVar2 < uVar3) { + if (0x7ffffffffffffff - (uVar2 >> 1) < uVar2) { + uVar2 = 0; + if (uVar3 != 0) { + uVar2 = uVar3; + } + FUN_14001a4d0(param_1,uVar2); + return; + } + uVar2 = uVar2 + (uVar2 >> 1); + if (uVar2 < uVar3) { + uVar2 = uVar3; + } + FUN_14001a4d0(param_1,uVar2); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001a110.c b/decomp/AgentManager_Release_x64/full/functions/0x14001a110.c new file mode 100644 index 00000000..5e43e03d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001a110.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001a110 FUN_14001a110 + * Pseudocode, not original source. */ + +void FUN_14001a110(undefined8 *param_1) + +{ + undefined8 *puVar1; + undefined8 *puVar2; + + puVar2 = (undefined8 *)*param_1; + if (puVar2 != (undefined8 *)0x0) { + puVar1 = (undefined8 *)param_1[1]; + for (; puVar2 != puVar1; puVar2 = puVar2 + 4) { + if ((void *)*puVar2 != (void *)0x0) { + operator_delete((void *)*puVar2); + } + *puVar2 = 0; + puVar2[1] = 0; + puVar2[2] = 0; + } + operator_delete((void *)*param_1); + } + *param_1 = 0; + param_1[1] = 0; + param_1[2] = 0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001a190.c b/decomp/AgentManager_Release_x64/full/functions/0x14001a190.c new file mode 100644 index 00000000..0e74bc2e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001a190.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001a190 FUN_14001a190 + * Pseudocode, not original source. */ + +void FUN_14001a190(longlong *param_1,ulonglong param_2) + +{ + void *pvVar1; + longlong lVar2; + code *pcVar3; + void *_Dst; + + if (0x3fffffffffffffff < param_2) { + std::_Xlength_error("vector too long"); + pcVar3 = (code *)swi(3); + (*pcVar3)(); + return; + } + if ((ulonglong)(param_1[2] - *param_1 >> 2) < param_2) { + _Dst = FUN_140004cc0(param_1 + 3,param_2); + memmove(_Dst,(void *)*param_1,param_1[1] - *param_1 & 0xfffffffffffffffc); + pvVar1 = (void *)*param_1; + lVar2 = param_1[1]; + if (pvVar1 != (void *)0x0) { + operator_delete(pvVar1); + } + param_1[2] = (longlong)((longlong)_Dst + param_2 * 4); + param_1[1] = (longlong)((longlong)_Dst + (lVar2 - (longlong)pvVar1 >> 2) * 4); + *param_1 = (longlong)_Dst; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001a250.c b/decomp/AgentManager_Release_x64/full/functions/0x14001a250.c new file mode 100644 index 00000000..10948750 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001a250.c @@ -0,0 +1,45 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001a250 FUN_14001a250 + * Pseudocode, not original source. */ + +void FUN_14001a250(longlong *param_1,ulonglong param_2) + +{ + void *pvVar1; + longlong lVar2; + code *pcVar3; + char *pcVar4; + char *local_res10; + undefined **local_20 [3]; + + if (0x1745d1745d1745d < param_2) { + std::_Xlength_error("vector too long"); + pcVar3 = (code *)swi(3); + (*pcVar3)(); + return; + } + if ((ulonglong)((param_1[2] - *param_1) / 0xb0) < param_2) { + local_res10 = (char *)0x0; + if (param_2 != 0) { + local_res10 = operator_new(param_2 * 0xb0); + if (local_res10 == (char *)0x0) { + std::exception::exception((exception *)local_20,&local_res10); + local_20[0] = std::bad_alloc::vftable; + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_20,(ThrowInfo *)&DAT_14016c158); + } + } + pcVar4 = local_res10; + FUN_14001a8b0((void *)*param_1,(void *)param_1[1],local_res10); + pvVar1 = (void *)*param_1; + lVar2 = param_1[1]; + if (pvVar1 != (void *)0x0) { + operator_delete(pvVar1); + } + param_1[2] = (longlong)(pcVar4 + param_2 * 0xb0); + param_1[1] = (longlong)(pcVar4 + ((lVar2 - (longlong)pvVar1) / 0xb0) * 0xb0); + *param_1 = (longlong)pcVar4; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001a390.c b/decomp/AgentManager_Release_x64/full/functions/0x14001a390.c new file mode 100644 index 00000000..199231b7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001a390.c @@ -0,0 +1,45 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001a390 FUN_14001a390 + * Pseudocode, not original source. */ + +void FUN_14001a390(longlong *param_1,ulonglong param_2) + +{ + void *pvVar1; + longlong lVar2; + code *pcVar3; + char *pcVar4; + char *local_res10; + undefined **local_20 [3]; + + if (0x666666666666666 < param_2) { + std::_Xlength_error("vector too long"); + pcVar3 = (code *)swi(3); + (*pcVar3)(); + return; + } + if ((ulonglong)((param_1[2] - *param_1) / 0x28) < param_2) { + local_res10 = (char *)0x0; + if (param_2 != 0) { + local_res10 = operator_new(param_2 * 0x28); + if (local_res10 == (char *)0x0) { + std::exception::exception((exception *)local_20,&local_res10); + local_20[0] = std::bad_alloc::vftable; + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_20,(ThrowInfo *)&DAT_14016c158); + } + } + pcVar4 = local_res10; + FUN_14001a910((undefined8 *)*param_1,(undefined8 *)param_1[1],(undefined8 *)local_res10); + pvVar1 = (void *)*param_1; + lVar2 = param_1[1]; + if (pvVar1 != (void *)0x0) { + operator_delete(pvVar1); + } + param_1[2] = (longlong)(pcVar4 + param_2 * 0x28); + param_1[1] = (longlong)(pcVar4 + ((lVar2 - (longlong)pvVar1) / 0x28) * 0x28); + *param_1 = (longlong)pcVar4; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001a4d0.c b/decomp/AgentManager_Release_x64/full/functions/0x14001a4d0.c new file mode 100644 index 00000000..be25012d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001a4d0.c @@ -0,0 +1,46 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001a4d0 FUN_14001a4d0 + * Pseudocode, not original source. */ + +void FUN_14001a4d0(longlong *param_1,ulonglong param_2) + +{ + undefined8 *puVar1; + undefined8 *puVar2; + code *pcVar3; + char *pcVar4; + char *local_res10; + undefined **local_20 [3]; + + if (0x7ffffffffffffff < param_2) { + std::_Xlength_error("vector too long"); + pcVar3 = (code *)swi(3); + (*pcVar3)(); + return; + } + if ((ulonglong)(param_1[2] - *param_1 >> 5) < param_2) { + local_res10 = (char *)0x0; + if (param_2 != 0) { + local_res10 = operator_new(param_2 << 5); + if (local_res10 == (char *)0x0) { + std::exception::exception((exception *)local_20,&local_res10); + local_20[0] = std::bad_alloc::vftable; + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_20,(ThrowInfo *)&DAT_14016c158); + } + } + pcVar4 = local_res10; + FUN_14001a970((undefined8 *)*param_1,(undefined8 *)param_1[1],(undefined8 *)local_res10); + puVar1 = (undefined8 *)param_1[1]; + puVar2 = (undefined8 *)*param_1; + if (puVar2 != (undefined8 *)0x0) { + FUN_14001a5e0(puVar2,puVar1); + operator_delete((void *)*param_1); + } + param_1[2] = (longlong)(pcVar4 + param_2 * 0x20); + param_1[1] = (longlong)(pcVar4 + ((longlong)puVar1 - (longlong)puVar2 & 0xffffffffffffffe0)); + *param_1 = (longlong)pcVar4; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001a5e0.c b/decomp/AgentManager_Release_x64/full/functions/0x14001a5e0.c new file mode 100644 index 00000000..f12866c3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001a5e0.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001a5e0 FUN_14001a5e0 + * Pseudocode, not original source. */ + +void FUN_14001a5e0(undefined8 *param_1,undefined8 *param_2) + +{ + for (; param_1 != param_2; param_1 = param_1 + 4) { + if ((void *)*param_1 != (void *)0x0) { + operator_delete((void *)*param_1); + } + *param_1 = 0; + param_1[1] = 0; + param_1[2] = 0; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001a640.c b/decomp/AgentManager_Release_x64/full/functions/0x14001a640.c new file mode 100644 index 00000000..d54bd553 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001a640.c @@ -0,0 +1,90 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001a640 FUN_14001a640 + * Pseudocode, not original source. */ + +void FUN_14001a640(longlong *param_1,longlong *param_2) + +{ + longlong lVar1; + longlong lVar2; + longlong *plVar3; + ulonglong uVar4; + longlong lVar5; + undefined8 *puVar6; + undefined8 *puVar7; + longlong *plVar8; + longlong *plVar9; + ulonglong uVar10; + undefined8 *puVar11; + longlong *local_68; + undefined8 *local_60; + undefined2 local_58; + + lVar1 = param_1[1]; + lVar2 = *param_1; + local_60 = (undefined8 *)0x0; + local_58 = 0; + local_68 = param_2; + FUN_14000c270(param_2); + for (puVar11 = (undefined8 *)param_1[6]; puVar11 != (undefined8 *)(lVar2 + lVar1 * 8); + puVar11 = puVar11 + 1) { + plVar3 = (longlong *)*puVar11; + while (plVar3 != (longlong *)0x0) { + uVar10 = 0; + if ((ulonglong)plVar3[4] < 0x10) { + plVar9 = plVar3 + 1; + } + else { + plVar9 = (longlong *)plVar3[1]; + } + if ((ulonglong)plVar3[4] < 0x10) { + plVar8 = plVar3 + 1; + } + else { + plVar8 = (longlong *)plVar3[1]; + } + for (; plVar8 != (longlong *)((longlong)plVar9 + plVar3[3]); + plVar8 = (longlong *)((longlong)plVar8 + 1)) { + uVar10 = uVar10 ^ (longlong)(char)*plVar8 + (uVar10 >> 2) + uVar10 * 0x40 + 0x9e3779b9; + } + uVar4 = param_2[1]; + lVar5 = *param_2; + plVar8 = (longlong *)*plVar3; + FUN_140010e40((longlong)&local_68); + puVar6 = local_60; + plVar9 = local_60 + 1; + if (plVar9 != (longlong *)0x0) { + local_60[4] = 0xf; + local_60[3] = 0; + *(undefined1 *)plVar9 = 0; + FUN_14000c660(plVar9,plVar3 + 1,0,0xffffffffffffffff); + puVar6[9] = 0xf; + puVar6[8] = 0; + *(undefined1 *)(puVar6 + 6) = 0; + FUN_14000c660(puVar6 + 6,plVar3 + 6,0,0xffffffffffffffff); + } + *puVar6 = *(undefined8 *)(lVar5 + (uVar10 % uVar4) * 8); + *(undefined8 **)(lVar5 + (uVar10 % uVar4) * 8) = puVar6; + for (plVar3 = (longlong *)*plVar3; local_58 = CONCAT11(1,(undefined1)local_58), + local_60 = (undefined8 *)0x0, plVar3 != plVar8; plVar3 = (longlong *)*plVar3) { + FUN_140010e40((longlong)&local_68); + puVar7 = local_60; + plVar9 = local_60 + 1; + if (plVar9 != (longlong *)0x0) { + local_60[4] = 0xf; + local_60[3] = 0; + *(undefined1 *)plVar9 = 0; + FUN_14000c660(plVar9,plVar3 + 1,0,0xffffffffffffffff); + puVar7[9] = 0xf; + puVar7[8] = 0; + *(undefined1 *)(puVar7 + 6) = 0; + FUN_14000c660(puVar7 + 6,plVar3 + 6,0,0xffffffffffffffff); + } + *puVar7 = *puVar6; + *puVar6 = puVar6; + } + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001a8b0.c b/decomp/AgentManager_Release_x64/full/functions/0x14001a8b0.c new file mode 100644 index 00000000..0964986a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001a8b0.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001a8b0 FUN_14001a8b0 + * Pseudocode, not original source. */ + +void * FUN_14001a8b0(void *param_1,void *param_2,void *param_3) + +{ + for (; param_1 != param_2; param_1 = (void *)((longlong)param_1 + 0xb0)) { + if (param_3 != (void *)0x0) { + memcpy(param_3,param_1,0xb0); + } + param_3 = (void *)((longlong)param_3 + 0xb0); + } + return param_3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001a910.c b/decomp/AgentManager_Release_x64/full/functions/0x14001a910.c new file mode 100644 index 00000000..7f19d6c5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001a910.c @@ -0,0 +1,20 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001a910 FUN_14001a910 + * Pseudocode, not original source. */ + +undefined8 * FUN_14001a910(undefined8 *param_1,undefined8 *param_2,undefined8 *param_3) + +{ + for (; param_1 != param_2; param_1 = param_1 + 5) { + if (param_3 != (undefined8 *)0x0) { + *param_3 = *param_1; + param_3[1] = param_1[1]; + param_3[2] = param_1[2]; + param_3[3] = param_1[3]; + param_3[4] = param_1[4]; + } + param_3 = param_3 + 5; + } + return param_3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001a970.c b/decomp/AgentManager_Release_x64/full/functions/0x14001a970.c new file mode 100644 index 00000000..e49a9586 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001a970.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001a970 FUN_14001a970 + * Pseudocode, not original source. */ + +undefined8 * FUN_14001a970(undefined8 *param_1,undefined8 *param_2,undefined8 *param_3) + +{ + for (; param_1 != param_2; param_1 = param_1 + 4) { + if (param_3 != (undefined8 *)0x0) { + *param_3 = 0; + param_3[1] = 0; + param_3[2] = 0; + if (param_3 != param_1) { + *param_3 = 0; + param_3[1] = 0; + param_3[2] = 0; + *param_3 = *param_1; + param_3[1] = param_1[1]; + param_3[2] = param_1[2]; + *param_1 = 0; + param_1[1] = 0; + param_1[2] = 0; + } + } + param_3 = param_3 + 4; + } + return param_3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001a9f0.c b/decomp/AgentManager_Release_x64/full/functions/0x14001a9f0.c new file mode 100644 index 00000000..222246f0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001a9f0.c @@ -0,0 +1,155 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001a9f0 FUN_14001a9f0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_14001a9f0(longlong param_1,int param_2,int param_3,char param_4,LPCWSTR param_5) + +{ + int *piVar1; + longlong *plVar2; + char *****pppppcVar3; + longlong lVar4; + char *pcVar5; + ulonglong uVar6; + undefined1 auStack_328 [32]; + LPCWSTR local_308; + undefined8 local_2f8; + int *local_2f0; + undefined1 local_2e8; + char ****local_2e0 [2]; + char ***local_2d0; + char ***local_2c8; + undefined1 local_2b8; + undefined7 uStack_2b7; + undefined8 local_2a8; + ulonglong local_2a0; + void *local_290 [3]; + ulonglong local_278; + undefined4 local_268; + int local_264; + char local_260 [520]; + ulonglong local_58; + + local_2f8 = 0xfffffffffffffffe; + local_58 = DAT_14016f5a0 ^ (ulonglong)auStack_328; + if (*(char *)(DAT_14017cf28 + 0x165) != '\0') { + local_308 = param_5; + wprintf( + L"sendPWE_RESP_RESULT_CODE : CLIENT [ %d ] RESULTCODE [ %d ] SUCCEED [ %d ] NAME [ %s ] \n" + ); + } + memset(local_260,0,0x200); + local_268 = 0x208; + local_2c8 = (char ***)0xf; + local_2d0 = (char ***)0x0; + local_2e0[0] = (char ****)((ulonglong)local_2e0[0] & 0xffffffffffffff00); + local_264 = param_3; + plVar2 = FUN_140010200((longlong *)local_290,&DAT_140175048); + pppppcVar3 = (char *****)FUN_1400102b0((undefined8 *)&local_2b8,plVar2); + if (local_2e0 != pppppcVar3) { + if ((char ****)0xf < local_2c8) { + operator_delete(local_2e0[0]); + } + local_2c8 = (char ***)0xf; + local_2d0 = (char ***)0x0; + local_2e0[0] = (char ****)((ulonglong)local_2e0[0] & 0xffffffffffffff00); + if (pppppcVar3[3] < (char ****)0x10) { + memmove(local_2e0,pppppcVar3,(longlong)pppppcVar3[2] + 1); + } + else { + local_2e0[0] = *pppppcVar3; + *pppppcVar3 = (char ****)0x0; + } + local_2d0 = (char ***)pppppcVar3[2]; + local_2c8 = (char ***)pppppcVar3[3]; + pppppcVar3[3] = (char ****)0xf; + pppppcVar3[2] = (char ****)0x0; + *(undefined1 *)pppppcVar3 = 0; + } + if (0xf < local_2a0) { + operator_delete((void *)CONCAT71(uStack_2b7,local_2b8)); + } + local_2a0 = 0xf; + local_2a8 = 0; + local_2b8 = 0; + if (0xf < local_278) { + operator_delete(local_290[0]); + } + if (param_3 == 0) { + uVar6 = 0x13; + pcVar5 = ""; +LAB_14001abaa: + FUN_14000c480((ulonglong *)local_2e0,pcVar5,uVar6); + } + else { + if (param_3 == 1) { + uVar6 = 0x12; + pcVar5 = ""; + goto LAB_14001abaa; + } + if (param_3 == 2) { + uVar6 = 0x17; + pcVar5 = ""; + goto LAB_14001abaa; + } + if (param_3 == 3) { + uVar6 = 0x14; + pcVar5 = ""; + goto LAB_14001abaa; + } + } + pcVar5 = "succeed"; + if (param_4 == '\0') { + pcVar5 = "failed"; + } + FUN_14000f7e0((longlong *)local_2e0,pcVar5,"succeed"); + FUN_14000fa00((longlong *)local_2e0,param_5,"charid"); + if (param_3 == 0) { + uVar6 = 0x14; + pcVar5 = ""; + } + else if (param_3 == 1) { + uVar6 = 0x13; + pcVar5 = ""; + } + else if (param_3 == 2) { + uVar6 = 0x18; + pcVar5 = ""; + } + else { + if (param_3 != 3) goto LAB_14001ac3e; + uVar6 = 0x15; + pcVar5 = ""; + } + FUN_14000c480((ulonglong *)local_2e0,pcVar5,uVar6); +LAB_14001ac3e: + if (local_2d0 < (char ****)0x400) { + pppppcVar3 = local_2e0; + if ((char ****)0xf < local_2c8) { + pppppcVar3 = (char *****)local_2e0[0]; + } + strncpy(local_260,(char *)pppppcVar3,(size_t)local_2d0); + } + else { + printf("PWE_RESP_RESULT_CODE - Msg Size Full!\n"); + } + lVar4 = *(longlong *)(param_1 + 0x58); + if (lVar4 != 0) { + piVar1 = (int *)(lVar4 + 0x70); + local_2f0 = piVar1; + FUN_14003d040(piVar1); + local_2e8 = 1; + lVar4 = FUN_14003c450(lVar4,param_2); + if (lVar4 != 0) { + Ordinal_19(*(undefined8 *)(lVar4 + 8),&local_268,0x208,0); + } + FUN_14003d0d0((longlong)piVar1); + } + if ((char ****)0xf < local_2c8) { + operator_delete(local_2e0[0]); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001ad00.c b/decomp/AgentManager_Release_x64/full/functions/0x14001ad00.c new file mode 100644 index 00000000..8690dd20 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001ad00.c @@ -0,0 +1,184 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001ad00 FUN_14001ad00 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_14001ad00(longlong param_1,int param_2,uint *param_3) + +{ + int *piVar1; + LPCWSTR pWVar2; + undefined8 uVar3; + LPCWSTR pWVar4; + int iVar5; + longlong *plVar6; + char *****pppppcVar7; + longlong lVar8; + uint uVar9; + uint uVar10; + ulonglong uVar11; + uint uVar12; + uint uVar13; + uint uVar14; + uint uVar15; + undefined1 auStack_3a8 [32]; + uint local_388; + uint local_380; + uint local_378; + uint local_370; + int local_368; + LPCWSTR local_360; + undefined8 local_358; + int *local_350; + undefined1 local_348; + char ****local_340 [2]; + char ***local_330; + char ***local_328; + undefined1 local_318; + undefined7 uStack_317; + undefined8 local_308; + ulonglong local_300; + undefined1 local_2f0 [6]; + ushort local_2ea; + undefined1 local_2e0 [8]; + ushort local_2d8; + undefined1 local_2d0 [2]; + ushort local_2ce; + undefined1 local_2c0 [12]; + ushort local_2b4; + undefined1 local_2b0 [10]; + ushort local_2a6; + ushort local_2a0 [8]; + void *local_290 [3]; + ulonglong local_278; + undefined4 local_268; + undefined4 local_264; + char local_260 [520]; + ulonglong local_58; + + local_358 = 0xfffffffffffffffe; + local_58 = DAT_14016f5a0 ^ (ulonglong)auStack_3a8; + local_368 = param_2; + memset(local_260,0,0x200); + local_268 = 0x208; + local_264 = 0x4e26; + local_328 = (char ***)0xf; + local_330 = (char ***)0x0; + local_340[0] = (char ****)((ulonglong)local_340[0] & 0xffffffffffffff00); + plVar6 = FUN_140010200((longlong *)local_290,&DAT_140175048); + pppppcVar7 = (char *****)FUN_1400102b0((undefined8 *)&local_318,plVar6); + if (local_340 != pppppcVar7) { + if ((char ****)0xf < local_328) { + operator_delete(local_340[0]); + } + local_328 = (char ***)0xf; + local_330 = (char ***)0x0; + local_340[0] = (char ****)((ulonglong)local_340[0] & 0xffffffffffffff00); + if (pppppcVar7[3] < (char ****)0x10) { + memmove(local_340,pppppcVar7,(longlong)pppppcVar7[2] + 1); + } + else { + local_340[0] = *pppppcVar7; + *pppppcVar7 = (char ****)0x0; + } + local_330 = (char ***)pppppcVar7[2]; + local_328 = (char ***)pppppcVar7[3]; + pppppcVar7[3] = (char ****)0xf; + pppppcVar7[2] = (char ****)0x0; + *(undefined1 *)pppppcVar7 = 0; + } + if (0xf < local_300) { + operator_delete((void *)CONCAT71(uStack_317,local_318)); + } + local_300 = 0xf; + local_308 = 0; + local_318 = 0; + if (0xf < local_278) { + operator_delete(local_290[0]); + } + FUN_14000c480((ulonglong *)local_340,"",0x11); + FUN_14000f580((longlong *)local_340,(ulonglong)*param_3,"code"); + FUN_14000f580((longlong *)local_340,(ulonglong)param_3[1],"processid"); + FUN_14000f580((longlong *)local_340,(ulonglong)param_3[2],"type"); + FUN_14000f580((longlong *)local_340,(ulonglong)param_3[3],"world"); + FUN_14000f580((longlong *)local_340,(ulonglong)param_3[4],"version"); + FUN_14000fa00((longlong *)local_340,(LPCWSTR)(param_3 + 8),"name"); + uVar3 = *(undefined8 *)(param_3 + 6); + lVar8 = (**(code **)(PTR_PTR_14016f508 + 0x18))(&PTR_PTR_14016f508); + local_360 = (LPCWSTR)(lVar8 + 0x18); + iVar5 = Ordinal_185(uVar3,local_2c0); + uVar14 = 0xffffffff; + uVar15 = (uint)local_2b4; + if (iVar5 == 0) { + uVar15 = uVar14; + } + iVar5 = Ordinal_185(uVar3,local_2b0); + uVar13 = (uint)local_2a6; + if (iVar5 == 0) { + uVar13 = uVar14; + } + iVar5 = Ordinal_185(uVar3,local_2e0); + uVar12 = (uint)local_2d8; + if (iVar5 == 0) { + uVar12 = uVar14; + } + iVar5 = Ordinal_185(uVar3,local_2f0); + uVar10 = (uint)local_2ea; + if (iVar5 == 0) { + uVar10 = uVar14; + } + iVar5 = Ordinal_185(uVar3,local_2d0); + uVar9 = (uint)local_2ce; + if (iVar5 == 0) { + uVar9 = uVar14; + } + iVar5 = Ordinal_185(uVar3,local_2a0); + uVar11 = (ulonglong)local_2a0[0]; + if (iVar5 == 0) { + uVar11 = 0xffffffff; + } + local_388 = uVar10; + local_380 = uVar12; + local_378 = uVar13; + local_370 = uVar15; + FUN_14001c310((longlong *)&local_360,L"%d-%d-%d %d:%d:%d",uVar11,(ulonglong)uVar9); + pWVar4 = local_360; + FUN_14000fa00((longlong *)local_340,local_360,"starttime"); + FUN_14000c480((ulonglong *)local_340,"",0x12); + if (local_330 < (char ****)0x400) { + pppppcVar7 = local_340; + if ((char ****)0xf < local_328) { + pppppcVar7 = (char *****)local_340[0]; + } + strncpy(local_260,(char *)pppppcVar7,(size_t)local_330); + } + else { + printf("PWE_RESP_REGISTER_SERVER - Msg Size Full!\n"); + } + lVar8 = *(longlong *)(param_1 + 0x58); + if (lVar8 != 0) { + piVar1 = (int *)(lVar8 + 0x70); + local_350 = piVar1; + FUN_14003d040(piVar1); + local_348 = 1; + lVar8 = FUN_14003c450(lVar8,local_368); + if (lVar8 != 0) { + Ordinal_19(*(undefined8 *)(lVar8 + 8),&local_268,0x208,0); + } + FUN_14003d0d0((longlong)piVar1); + } + LOCK(); + pWVar2 = pWVar4 + -4; + iVar5 = *(int *)pWVar2; + *(int *)pWVar2 = *(int *)pWVar2 + -1; + UNLOCK(); + if (iVar5 + -1 < 1) { + (**(code **)(**(longlong **)(pWVar4 + -0xc) + 8))(); + } + if ((char ****)0xf < local_328) { + operator_delete(local_340[0]); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001b0d0.c b/decomp/AgentManager_Release_x64/full/functions/0x14001b0d0.c new file mode 100644 index 00000000..2639ee05 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001b0d0.c @@ -0,0 +1,193 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001b0d0 FUN_14001b0d0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_14001b0d0(longlong param_1,int param_2,uint param_3,uint *param_4,undefined8 *param_5) + +{ + int *piVar1; + LPCWSTR pWVar2; + undefined8 uVar3; + uint *puVar4; + LPCWSTR pWVar5; + int iVar6; + longlong *plVar7; + char *****pppppcVar8; + longlong lVar9; + uint uVar10; + uint *puVar11; + uint uVar12; + ulonglong uVar13; + uint uVar14; + uint uVar15; + uint uVar16; + uint uVar17; + undefined1 auStack_3b8 [32]; + uint local_398; + uint local_390; + uint local_388; + uint local_380; + int local_378; + LPCWSTR local_370; + undefined8 local_368; + int *local_360; + undefined1 local_358; + char ****local_350 [2]; + char ***local_340; + char ***local_338; + undefined1 local_328; + undefined7 uStack_327; + undefined8 local_318; + ulonglong local_310; + undefined1 local_300 [6]; + ushort local_2fa; + undefined1 local_2f0 [8]; + ushort local_2e8; + undefined1 local_2e0 [2]; + ushort local_2de; + undefined1 local_2d0 [12]; + ushort local_2c4; + undefined1 local_2c0 [10]; + ushort local_2b6; + ushort local_2b0 [8]; + void *local_2a0 [3]; + ulonglong local_288; + undefined4 local_278; + undefined4 local_274; + char local_270 [520]; + ulonglong local_68; + + local_368 = 0xfffffffffffffffe; + local_68 = DAT_14016f5a0 ^ (ulonglong)auStack_3b8; + local_378 = param_2; + memset(local_270,0,0x200); + local_278 = 0x208; + local_274 = 0x4e27; + local_338 = (char ***)0xf; + local_340 = (char ***)0x0; + local_350[0] = (char ****)((ulonglong)local_350[0] & 0xffffffffffffff00); + plVar7 = FUN_140010200((longlong *)local_2a0,&DAT_140175048); + pppppcVar8 = (char *****)FUN_1400102b0((undefined8 *)&local_328,plVar7); + if (local_350 != pppppcVar8) { + if ((char ****)0xf < local_338) { + operator_delete(local_350[0]); + } + local_338 = (char ***)0xf; + local_340 = (char ***)0x0; + local_350[0] = (char ****)((ulonglong)local_350[0] & 0xffffffffffffff00); + if (pppppcVar8[3] < (char ****)0x10) { + memmove(local_350,pppppcVar8,(longlong)pppppcVar8[2] + 1); + } + else { + local_350[0] = *pppppcVar8; + *pppppcVar8 = (char ****)0x0; + } + local_340 = (char ***)pppppcVar8[2]; + local_338 = (char ***)pppppcVar8[3]; + pppppcVar8[3] = (char ****)0xf; + pppppcVar8[2] = (char ****)0x0; + *(undefined1 *)pppppcVar8 = 0; + } + if (0xf < local_310) { + operator_delete((void *)CONCAT71(uStack_327,local_328)); + } + local_310 = 0xf; + local_318 = 0; + local_328 = 0; + if (0xf < local_288) { + operator_delete(local_2a0[0]); + } + FUN_14000c480((ulonglong *)local_350,"",0x1d); + FUN_14000f580((longlong *)local_350,(ulonglong)param_3,"code"); + FUN_14000f580((longlong *)local_350,(ulonglong)*param_4,"usercount"); + FUN_14000f580((longlong *)local_350,(ulonglong)param_4[1],"servercount"); + FUN_14000f580((longlong *)local_350,(ulonglong)param_4[2],"frame"); + FUN_14000f580((longlong *)local_350,(ulonglong)param_4[3],"performance"); + FUN_14000f580((longlong *)local_350,(ulonglong)param_4[4],"state"); + FUN_14000f580((longlong *)local_350,(ulonglong)param_4[5],"channel"); + FUN_14000f580((longlong *)local_350,(ulonglong)(byte)param_4[6],"open"); + FUN_14000f580((longlong *)local_350,(ulonglong)*(byte *)((longlong)param_4 + 0x19),"auto"); + puVar4 = (uint *)param_5[1]; + for (puVar11 = (uint *)*param_5; puVar11 != puVar4; puVar11 = puVar11 + 1) { + FUN_14000f580((longlong *)local_350,(ulonglong)*puVar11,"event"); + } + uVar3 = *(undefined8 *)(param_4 + 8); + lVar9 = (**(code **)(PTR_PTR_14016f508 + 0x18))(&PTR_PTR_14016f508); + local_370 = (LPCWSTR)(lVar9 + 0x18); + iVar6 = Ordinal_185(uVar3,local_2d0); + uVar16 = 0xffffffff; + uVar17 = (uint)local_2c4; + if (iVar6 == 0) { + uVar17 = uVar16; + } + iVar6 = Ordinal_185(uVar3,local_2c0); + uVar15 = (uint)local_2b6; + if (iVar6 == 0) { + uVar15 = uVar16; + } + iVar6 = Ordinal_185(uVar3,local_2f0); + uVar14 = (uint)local_2e8; + if (iVar6 == 0) { + uVar14 = uVar16; + } + iVar6 = Ordinal_185(uVar3,local_300); + uVar12 = (uint)local_2fa; + if (iVar6 == 0) { + uVar12 = uVar16; + } + iVar6 = Ordinal_185(uVar3,local_2e0); + uVar10 = (uint)local_2de; + if (iVar6 == 0) { + uVar10 = uVar16; + } + iVar6 = Ordinal_185(uVar3,local_2b0); + uVar13 = (ulonglong)local_2b0[0]; + if (iVar6 == 0) { + uVar13 = 0xffffffff; + } + local_398 = uVar12; + local_390 = uVar14; + local_388 = uVar15; + local_380 = uVar17; + FUN_14001c310((longlong *)&local_370,L"%d-%d-%d %d:%d:%d",uVar13,(ulonglong)uVar10); + pWVar5 = local_370; + FUN_14000fa00((longlong *)local_350,local_370,"refreshtime"); + FUN_14000c480((ulonglong *)local_350,"",0x1e); + if (local_340 < (char ****)0x400) { + pppppcVar8 = local_350; + if ((char ****)0xf < local_338) { + pppppcVar8 = (char *****)local_350[0]; + } + strncpy(local_270,(char *)pppppcVar8,(size_t)local_340); + } + else { + printf("PWE_RESP_REGISTER_SERVER_OPTION - Msg Size Full!\n"); + } + lVar9 = *(longlong *)(param_1 + 0x58); + if (lVar9 != 0) { + piVar1 = (int *)(lVar9 + 0x70); + local_360 = piVar1; + FUN_14003d040(piVar1); + local_358 = 1; + lVar9 = FUN_14003c450(lVar9,local_378); + if (lVar9 != 0) { + Ordinal_19(*(undefined8 *)(lVar9 + 8),&local_278,0x208,0); + } + FUN_14003d0d0((longlong)piVar1); + } + LOCK(); + pWVar2 = pWVar5 + -4; + iVar6 = *(int *)pWVar2; + *(int *)pWVar2 = *(int *)pWVar2 + -1; + UNLOCK(); + if (iVar6 + -1 < 1) { + (**(code **)(**(longlong **)(pWVar5 + -0xc) + 8))(); + } + if ((char ****)0xf < local_338) { + operator_delete(local_350[0]); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001b510.c b/decomp/AgentManager_Release_x64/full/functions/0x14001b510.c new file mode 100644 index 00000000..ecd83a01 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001b510.c @@ -0,0 +1,90 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001b510 FUN_14001b510 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_14001b510(longlong param_1,ulonglong param_2,uint param_3,uint param_4) + +{ + longlong *plVar1; + char *****pppppcVar2; + undefined1 auStack_2f8 [32]; + undefined8 local_2d8; + char ****local_2d0 [2]; + char ***local_2c0; + char ***local_2b8; + undefined1 local_2a8; + undefined7 uStack_2a7; + undefined8 local_298; + ulonglong local_290; + void *local_280 [3]; + ulonglong local_268; + undefined4 local_258; + undefined4 local_254; + char local_250 [520]; + ulonglong local_48; + + local_2d8 = 0xfffffffffffffffe; + local_48 = DAT_14016f5a0 ^ (ulonglong)auStack_2f8; + memset(local_250,0,0x200); + local_258 = 0x208; + local_254 = 0x4e2b; + local_2b8 = (char ***)0xf; + local_2c0 = (char ***)0x0; + local_2d0[0] = (char ****)((ulonglong)local_2d0[0] & 0xffffffffffffff00); + plVar1 = FUN_140010200((longlong *)local_280,&DAT_140175048); + pppppcVar2 = (char *****)FUN_1400102b0((undefined8 *)&local_2a8,plVar1); + if (local_2d0 != pppppcVar2) { + if ((char ****)0xf < local_2b8) { + operator_delete(local_2d0[0]); + } + local_2b8 = (char ***)0xf; + local_2c0 = (char ***)0x0; + local_2d0[0] = (char ****)((ulonglong)local_2d0[0] & 0xffffffffffffff00); + if (pppppcVar2[3] < (char ****)0x10) { + memmove(local_2d0,pppppcVar2,(longlong)pppppcVar2[2] + 1); + } + else { + local_2d0[0] = *pppppcVar2; + *pppppcVar2 = (char ****)0x0; + } + local_2c0 = (char ***)pppppcVar2[2]; + local_2b8 = (char ***)pppppcVar2[3]; + pppppcVar2[3] = (char ****)0xf; + pppppcVar2[2] = (char ****)0x0; + *(undefined1 *)pppppcVar2 = 0; + } + if (0xf < local_290) { + operator_delete((void *)CONCAT71(uStack_2a7,local_2a8)); + } + local_290 = 0xf; + local_298 = 0; + local_2a8 = 0; + if (0xf < local_268) { + operator_delete(local_280[0]); + } + FUN_14000c480((ulonglong *)local_2d0,"",0x11); + FUN_14000f580((longlong *)local_2d0,param_2 & 0xff,"succeed"); + FUN_14000f580((longlong *)local_2d0,(ulonglong)param_4,"message"); + FUN_14000f580((longlong *)local_2d0,(ulonglong)param_3,"code"); + FUN_14000c480((ulonglong *)local_2d0,"",0x12); + if (local_2c0 < (char ****)0x400) { + pppppcVar2 = local_2d0; + if ((char ****)0xf < local_2b8) { + pppppcVar2 = (char *****)local_2d0[0]; + } + strncpy(local_250,(char *)pppppcVar2,(size_t)local_2c0); + if (*(longlong *)(param_1 + 0x58) != 0) { + FUN_14003c5c0(*(longlong *)(param_1 + 0x58),&local_258); + } + } + else { + printf("PWE_RESP_SERVER_MESSAGE_CODE - Msg Size Full!\n"); + } + if ((char ****)0xf < local_2b8) { + operator_delete(local_2d0[0]); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001b750.c b/decomp/AgentManager_Release_x64/full/functions/0x14001b750.c new file mode 100644 index 00000000..2ef5d4b5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001b750.c @@ -0,0 +1,89 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001b750 FUN_14001b750 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_14001b750(longlong param_1,LPCWSTR param_2,uint param_3) + +{ + longlong *plVar1; + char *****pppppcVar2; + undefined1 auStack_2e8 [32]; + undefined8 local_2c8; + char ****local_2c0 [2]; + char ***local_2b0; + char ***local_2a8; + undefined1 local_298; + undefined7 uStack_297; + undefined8 local_288; + ulonglong local_280; + void *local_270 [3]; + ulonglong local_258; + undefined4 local_248; + undefined4 local_244; + char local_240 [520]; + ulonglong local_38; + + local_2c8 = 0xfffffffffffffffe; + local_38 = DAT_14016f5a0 ^ (ulonglong)auStack_2e8; + memset(local_240,0,0x200); + local_248 = 0x208; + local_244 = 0x4e2c; + local_2a8 = (char ***)0xf; + local_2b0 = (char ***)0x0; + local_2c0[0] = (char ****)((ulonglong)local_2c0[0] & 0xffffffffffffff00); + plVar1 = FUN_140010200((longlong *)local_270,&DAT_140175048); + pppppcVar2 = (char *****)FUN_1400102b0((undefined8 *)&local_298,plVar1); + if (local_2c0 != pppppcVar2) { + if ((char ****)0xf < local_2a8) { + operator_delete(local_2c0[0]); + } + local_2a8 = (char ***)0xf; + local_2b0 = (char ***)0x0; + local_2c0[0] = (char ****)((ulonglong)local_2c0[0] & 0xffffffffffffff00); + if (pppppcVar2[3] < (char ****)0x10) { + memmove(local_2c0,pppppcVar2,(longlong)pppppcVar2[2] + 1); + } + else { + local_2c0[0] = *pppppcVar2; + *pppppcVar2 = (char ****)0x0; + } + local_2b0 = (char ***)pppppcVar2[2]; + local_2a8 = (char ***)pppppcVar2[3]; + pppppcVar2[3] = (char ****)0xf; + pppppcVar2[2] = (char ****)0x0; + *(undefined1 *)pppppcVar2 = 0; + } + if (0xf < local_280) { + operator_delete((void *)CONCAT71(uStack_297,local_298)); + } + local_280 = 0xf; + local_288 = 0; + local_298 = 0; + if (0xf < local_258) { + operator_delete(local_270[0]); + } + FUN_14000c480((ulonglong *)local_2c0,"",0xf); + FUN_14000fa00((longlong *)local_2c0,param_2,"name"); + FUN_14000f580((longlong *)local_2c0,(ulonglong)param_3,"gold"); + FUN_14000c480((ulonglong *)local_2c0,"",0x10); + if (local_2b0 < (char ****)0x400) { + pppppcVar2 = local_2c0; + if ((char ****)0xf < local_2a8) { + pppppcVar2 = (char *****)local_2c0[0]; + } + strncpy(local_240,(char *)pppppcVar2,(size_t)local_2b0); + if (*(longlong *)(param_1 + 0x58) != 0) { + FUN_14003c5c0(*(longlong *)(param_1 + 0x58),&local_248); + } + } + else { + printf("PWE_ALL_RESP_NOTIFY_STORAGE_ALARM - Msg Size Full!\n"); + } + if ((char ****)0xf < local_2a8) { + operator_delete(local_2c0[0]); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001b980.c b/decomp/AgentManager_Release_x64/full/functions/0x14001b980.c new file mode 100644 index 00000000..848eafed --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001b980.c @@ -0,0 +1,90 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001b980 FUN_14001b980 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_14001b980(longlong param_1,LPCWSTR param_2,LPCWSTR param_3,uint param_4) + +{ + longlong *plVar1; + char *****pppppcVar2; + undefined1 auStack_2f8 [32]; + undefined8 local_2d8; + char ****local_2d0 [2]; + char ***local_2c0; + char ***local_2b8; + undefined1 local_2a8; + undefined7 uStack_2a7; + undefined8 local_298; + ulonglong local_290; + void *local_280 [3]; + ulonglong local_268; + undefined4 local_258; + undefined4 local_254; + char local_250 [520]; + ulonglong local_48; + + local_2d8 = 0xfffffffffffffffe; + local_48 = DAT_14016f5a0 ^ (ulonglong)auStack_2f8; + memset(local_250,0,0x200); + local_258 = 0x208; + local_254 = 0x4e2d; + local_2b8 = (char ***)0xf; + local_2c0 = (char ***)0x0; + local_2d0[0] = (char ****)((ulonglong)local_2d0[0] & 0xffffffffffffff00); + plVar1 = FUN_140010200((longlong *)local_280,&DAT_140175048); + pppppcVar2 = (char *****)FUN_1400102b0((undefined8 *)&local_2a8,plVar1); + if (local_2d0 != pppppcVar2) { + if ((char ****)0xf < local_2b8) { + operator_delete(local_2d0[0]); + } + local_2b8 = (char ***)0xf; + local_2c0 = (char ***)0x0; + local_2d0[0] = (char ****)((ulonglong)local_2d0[0] & 0xffffffffffffff00); + if (pppppcVar2[3] < (char ****)0x10) { + memmove(local_2d0,pppppcVar2,(longlong)pppppcVar2[2] + 1); + } + else { + local_2d0[0] = *pppppcVar2; + *pppppcVar2 = (char ****)0x0; + } + local_2c0 = (char ***)pppppcVar2[2]; + local_2b8 = (char ***)pppppcVar2[3]; + pppppcVar2[3] = (char ****)0xf; + pppppcVar2[2] = (char ****)0x0; + *(undefined1 *)pppppcVar2 = 0; + } + if (0xf < local_290) { + operator_delete((void *)CONCAT71(uStack_2a7,local_2a8)); + } + local_290 = 0xf; + local_298 = 0; + local_2a8 = 0; + if (0xf < local_268) { + operator_delete(local_280[0]); + } + FUN_14000c480((ulonglong *)local_2d0,"",0xc); + FUN_14000fa00((longlong *)local_2d0,param_2,"fromname"); + FUN_14000fa00((longlong *)local_2d0,param_3,"toname"); + FUN_14000f580((longlong *)local_2d0,(ulonglong)param_4,"gold"); + FUN_14000c480((ulonglong *)local_2d0,"",0xd); + if (local_2c0 < (char ****)0x400) { + pppppcVar2 = local_2d0; + if ((char ****)0xf < local_2b8) { + pppppcVar2 = (char *****)local_2d0[0]; + } + strncpy(local_250,(char *)pppppcVar2,(size_t)local_2c0); + if (*(longlong *)(param_1 + 0x58) != 0) { + FUN_14003c5c0(*(longlong *)(param_1 + 0x58),&local_258); + } + } + else { + printf("PWE_ALL_RESP_NOTIFY_MAIL_ALARM - Msg Size Full!\n"); + } + if ((char ****)0xf < local_2b8) { + operator_delete(local_2d0[0]); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001bbc0.c b/decomp/AgentManager_Release_x64/full/functions/0x14001bbc0.c new file mode 100644 index 00000000..714c14b2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001bbc0.c @@ -0,0 +1,251 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001bbc0 FUN_14001bbc0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_14001bbc0(int *param_1,int param_2,longlong param_3,uint *param_4) + +{ + int *piVar1; + LPCWSTR pWVar2; + undefined8 uVar3; + LPCWSTR pWVar4; + int iVar5; + longlong *plVar6; + char *****pppppcVar7; + longlong lVar8; + char *pcVar9; + uint uVar10; + uint uVar11; + ulonglong uVar12; + uint uVar13; + uint uVar14; + uint uVar15; + uint uVar16; + undefined1 auStack_418 [32]; + uint local_3f8; + uint local_3f0; + uint local_3e8; + uint local_3e0; + LPCWSTR local_3d8; + int local_3d0; + int *local_3c8; + undefined1 local_3c0; + undefined8 local_3b8; + char ****local_3b0 [2]; + char ***local_3a0; + char ***local_398; + undefined1 local_388; + undefined7 uStack_387; + undefined8 local_378; + ulonglong local_370; + ushort local_360 [8]; + undefined1 local_350 [6]; + ushort local_34a; + undefined1 local_340 [6]; + ushort local_33a; + undefined1 local_330 [2]; + ushort local_32e; + undefined1 local_320 [12]; + ushort local_314; + ushort local_310 [8]; + undefined1 local_300 [10]; + ushort local_2f6; + undefined1 local_2f0 [10]; + ushort local_2e6; + undefined1 local_2e0 [2]; + ushort local_2de; + undefined1 local_2d0 [8]; + ushort local_2c8; + undefined1 local_2c0 [8]; + ushort local_2b8; + undefined1 local_2b0 [12]; + ushort local_2a4; + void *local_2a0 [3]; + ulonglong local_288; + undefined4 local_278; + undefined4 local_274; + char local_270 [520]; + ulonglong local_68; + + local_3b8 = 0xfffffffffffffffe; + local_68 = DAT_14016f5a0 ^ (ulonglong)auStack_418; + local_3d0 = param_2; + local_3c8 = param_1; + memset(local_270,0,0x200); + local_278 = 0x208; + local_274 = 0x4e2e; + local_398 = (char ***)0xf; + local_3a0 = (char ***)0x0; + local_3b0[0] = (char ****)((ulonglong)local_3b0[0] & 0xffffffffffffff00); + plVar6 = FUN_140010200((longlong *)local_2a0,&DAT_140175048); + pppppcVar7 = (char *****)FUN_1400102b0((undefined8 *)&local_388,plVar6); + if (local_3b0 != pppppcVar7) { + if ((char ****)0xf < local_398) { + operator_delete(local_3b0[0]); + } + local_398 = (char ***)0xf; + local_3a0 = (char ***)0x0; + local_3b0[0] = (char ****)((ulonglong)local_3b0[0] & 0xffffffffffffff00); + if (pppppcVar7[3] < (char ****)0x10) { + memmove(local_3b0,pppppcVar7,(longlong)pppppcVar7[2] + 1); + } + else { + local_3b0[0] = *pppppcVar7; + *pppppcVar7 = (char ****)0x0; + } + local_3a0 = (char ***)pppppcVar7[2]; + local_398 = (char ***)pppppcVar7[3]; + pppppcVar7[3] = (char ****)0xf; + pppppcVar7[2] = (char ****)0x0; + *(undefined1 *)pppppcVar7 = 0; + } + if (0xf < local_370) { + operator_delete((void *)CONCAT71(uStack_387,local_388)); + } + local_370 = 0xf; + local_378 = 0; + local_388 = 0; + if (0xf < local_288) { + operator_delete(local_2a0[0]); + } + FUN_14000c480((ulonglong *)local_3b0,"",0xf); + FUN_14000f580((longlong *)local_3b0,(ulonglong)*(uint *)(param_3 + 0xc),"world"); + FUN_14000fa00((longlong *)local_3b0,(LPCWSTR)(param_3 + 0x20),"name"); + FUN_14000f580((longlong *)local_3b0,(ulonglong)*param_4,"usercount"); + FUN_14000f580((longlong *)local_3b0,(ulonglong)param_4[1],"servercount"); + FUN_14000f580((longlong *)local_3b0,(ulonglong)param_4[2],"frame"); + FUN_14000f580((longlong *)local_3b0,(ulonglong)(byte)param_4[6],"open"); + FUN_14000f580((longlong *)local_3b0,(ulonglong)*(uint *)(param_3 + 0x10),"version"); + uVar16 = param_4[4]; + if (uVar16 == 0) { + pcVar9 = "DISCONNECT"; + } + else if (uVar16 == 1) { + pcVar9 = "LOADING"; + } + else if (uVar16 == 2) { + pcVar9 = "BAD"; + } + else { + if (uVar16 != 3) goto LAB_14001be04; + pcVar9 = "GOOD"; + } + FUN_14000f7e0((longlong *)local_3b0,pcVar9,"state"); +LAB_14001be04: + uVar3 = *(undefined8 *)(param_3 + 0x18); + lVar8 = (**(code **)(PTR_PTR_14016f508 + 0x18))(&PTR_PTR_14016f508); + local_3d8 = (LPCWSTR)(lVar8 + 0x18); + iVar5 = Ordinal_185(uVar3,local_320); + uVar15 = 0xffffffff; + uVar16 = (uint)local_314; + if (iVar5 == 0) { + uVar16 = uVar15; + } + iVar5 = Ordinal_185(uVar3,local_2f0); + uVar14 = (uint)local_2e6; + if (iVar5 == 0) { + uVar14 = uVar15; + } + iVar5 = Ordinal_185(uVar3,local_2d0); + uVar13 = (uint)local_2c8; + if (iVar5 == 0) { + uVar13 = uVar15; + } + iVar5 = Ordinal_185(uVar3,local_340); + uVar11 = (uint)local_33a; + if (iVar5 == 0) { + uVar11 = uVar15; + } + iVar5 = Ordinal_185(uVar3,local_2e0); + uVar10 = (uint)local_2de; + if (iVar5 == 0) { + uVar10 = uVar15; + } + iVar5 = Ordinal_185(uVar3,local_360); + uVar12 = (ulonglong)local_360[0]; + if (iVar5 == 0) { + uVar12 = 0xffffffff; + } + local_3f8 = uVar11; + local_3f0 = uVar13; + local_3e8 = uVar14; + local_3e0 = uVar16; + FUN_14001c310((longlong *)&local_3d8,L"%d-%d-%d %d:%d:%d",uVar12,(ulonglong)uVar10); + FUN_14000fa00((longlong *)local_3b0,local_3d8,"starttime"); + uVar3 = *(undefined8 *)(param_4 + 8); + iVar5 = Ordinal_185(uVar3,local_2b0); + uVar16 = (uint)local_2a4; + if (iVar5 == 0) { + uVar16 = uVar15; + } + iVar5 = Ordinal_185(uVar3,local_300); + uVar14 = (uint)local_2f6; + if (iVar5 == 0) { + uVar14 = uVar15; + } + iVar5 = Ordinal_185(uVar3,local_2c0); + uVar13 = (uint)local_2b8; + if (iVar5 == 0) { + uVar13 = uVar15; + } + iVar5 = Ordinal_185(uVar3,local_350); + uVar11 = (uint)local_34a; + if (iVar5 == 0) { + uVar11 = uVar15; + } + iVar5 = Ordinal_185(uVar3,local_330); + uVar10 = (uint)local_32e; + if (iVar5 == 0) { + uVar10 = uVar15; + } + iVar5 = Ordinal_185(uVar3,local_310); + uVar12 = (ulonglong)local_310[0]; + if (iVar5 == 0) { + uVar12 = 0xffffffff; + } + local_3f8 = uVar11; + local_3f0 = uVar13; + local_3e8 = uVar14; + local_3e0 = uVar16; + FUN_14001c310((longlong *)&local_3d8,L"%d-%d-%d %d:%d:%d",uVar12,(ulonglong)uVar10); + pWVar4 = local_3d8; + FUN_14000fa00((longlong *)local_3b0,local_3d8,"refreshtime"); + FUN_14000c480((ulonglong *)local_3b0,"",0x10); + if (local_3a0 < (char ****)0x400) { + pppppcVar7 = local_3b0; + if ((char ****)0xf < local_398) { + pppppcVar7 = (char *****)local_3b0[0]; + } + strncpy(local_270,(char *)pppppcVar7,(size_t)local_3a0); + } + else { + printf("PWE_RESP_STATUS_SERVER - Msg Size Full!\n"); + } + lVar8 = *(longlong *)(local_3c8 + 0x16); + if (lVar8 != 0) { + piVar1 = (int *)(lVar8 + 0x70); + local_3c8 = piVar1; + FUN_14003d040(piVar1); + local_3c0 = 1; + lVar8 = FUN_14003c450(lVar8,local_3d0); + if (lVar8 != 0) { + Ordinal_19(*(undefined8 *)(lVar8 + 8),&local_278,0x208,0); + } + FUN_14003d0d0((longlong)piVar1); + } + LOCK(); + pWVar2 = pWVar4 + -4; + iVar5 = *(int *)pWVar2; + *(int *)pWVar2 = *(int *)pWVar2 + -1; + UNLOCK(); + if (iVar5 + -1 < 1) { + (**(code **)(**(longlong **)(pWVar4 + -0xc) + 8))(); + } + if ((char ****)0xf < local_398) { + operator_delete(local_3b0[0]); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001c0e0.c b/decomp/AgentManager_Release_x64/full/functions/0x14001c0e0.c new file mode 100644 index 00000000..8bbe18f1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001c0e0.c @@ -0,0 +1,89 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001c0e0 FUN_14001c0e0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_14001c0e0(longlong param_1,uint param_2,LPCWSTR param_3) + +{ + longlong *plVar1; + char *****pppppcVar2; + undefined1 auStack_2e8 [32]; + undefined8 local_2c8; + char ****local_2c0 [2]; + char ***local_2b0; + char ***local_2a8; + undefined1 local_298; + undefined7 uStack_297; + undefined8 local_288; + ulonglong local_280; + void *local_270 [3]; + ulonglong local_258; + undefined4 local_248; + undefined4 local_244; + char local_240 [520]; + ulonglong local_38; + + local_2c8 = 0xfffffffffffffffe; + local_38 = DAT_14016f5a0 ^ (ulonglong)auStack_2e8; + memset(local_240,0,0x200); + local_248 = 0x208; + local_244 = 0x4e2f; + local_2a8 = (char ***)0xf; + local_2b0 = (char ***)0x0; + local_2c0[0] = (char ****)((ulonglong)local_2c0[0] & 0xffffffffffffff00); + plVar1 = FUN_140010200((longlong *)local_270,&DAT_140175048); + pppppcVar2 = (char *****)FUN_1400102b0((undefined8 *)&local_298,plVar1); + if (local_2c0 != pppppcVar2) { + if ((char ****)0xf < local_2a8) { + operator_delete(local_2c0[0]); + } + local_2a8 = (char ***)0xf; + local_2b0 = (char ***)0x0; + local_2c0[0] = (char ****)((ulonglong)local_2c0[0] & 0xffffffffffffff00); + if (pppppcVar2[3] < (char ****)0x10) { + memmove(local_2c0,pppppcVar2,(longlong)pppppcVar2[2] + 1); + } + else { + local_2c0[0] = *pppppcVar2; + *pppppcVar2 = (char ****)0x0; + } + local_2b0 = (char ***)pppppcVar2[2]; + local_2a8 = (char ***)pppppcVar2[3]; + pppppcVar2[3] = (char ****)0xf; + pppppcVar2[2] = (char ****)0x0; + *(undefined1 *)pppppcVar2 = 0; + } + if (0xf < local_280) { + operator_delete((void *)CONCAT71(uStack_297,local_298)); + } + local_280 = 0xf; + local_288 = 0; + local_298 = 0; + if (0xf < local_258) { + operator_delete(local_270[0]); + } + FUN_14000c480((ulonglong *)local_2c0,"",0xf); + FUN_14000f580((longlong *)local_2c0,(ulonglong)param_2,"type"); + FUN_14000fa00((longlong *)local_2c0,param_3,"message"); + FUN_14000c480((ulonglong *)local_2c0,"",0x10); + if (local_2b0 < (char ****)0x400) { + pppppcVar2 = local_2c0; + if ((char ****)0xf < local_2a8) { + pppppcVar2 = (char *****)local_2c0[0]; + } + strncpy(local_240,(char *)pppppcVar2,(size_t)local_2b0); + } + else { + printf("PWE_RESP_ERROR_MESSAGE - Msg Size Full!\n"); + } + if (*(longlong *)(param_1 + 0x58) != 0) { + FUN_14003c5c0(*(longlong *)(param_1 + 0x58),&local_248); + } + if ((char ****)0xf < local_2a8) { + operator_delete(local_2c0[0]); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001c310.c b/decomp/AgentManager_Release_x64/full/functions/0x14001c310.c new file mode 100644 index 00000000..c99510bf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001c310.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001c310 FUN_14001c310 + * Pseudocode, not original source. */ + +void FUN_14001c310(longlong *param_1,wchar_t *param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 local_res18; + undefined8 local_res20; + + local_res18 = param_3; + local_res20 = param_4; + FUN_14001c340(param_1,param_2,(va_list)&local_res18); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001c340.c b/decomp/AgentManager_Release_x64/full/functions/0x14001c340.c new file mode 100644 index 00000000..9f02ff70 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001c340.c @@ -0,0 +1,31 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001c340 FUN_14001c340 + * Pseudocode, not original source. */ + +void FUN_14001c340(longlong *param_1,wchar_t *param_2,va_list param_3) + +{ + int iVar1; + + if (param_2 == (wchar_t *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80070057); + } + iVar1 = _vscwprintf(param_2,param_3); + if (iVar1 < 0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + if ((int)(1U - *(int *)(*param_1 + -8) | *(int *)(*param_1 + -0xc) - iVar1) < 0) { + FUN_140011520(param_1,iVar1); + } + vswprintf_s((wchar_t *)*param_1,(longlong)(iVar1 + 1),param_2,param_3); + if (iVar1 <= *(int *)(*param_1 + -0xc)) { + *(int *)(*param_1 + -0x10) = iVar1; + *(undefined2 *)(*param_1 + (longlong)iVar1 * 2) = 0; + return; + } + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80070057); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001c400.c b/decomp/AgentManager_Release_x64/full/functions/0x14001c400.c new file mode 100644 index 00000000..24fcaab3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001c400.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001c400 FUN_14001c400 + * Pseudocode, not original source. */ + +undefined8 * FUN_14001c400(undefined8 *param_1,uint param_2) + +{ + FUN_1400ef4d0(param_1); + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001c430.c b/decomp/AgentManager_Release_x64/full/functions/0x14001c430.c new file mode 100644 index 00000000..a2d9388b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001c430.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001c430 FUN_14001c430 + * Pseudocode, not original source. */ + +void FUN_14001c430(undefined8 *param_1) + +{ + DAT_14017c8a8 = 0; + *param_1 = MBISingleton::vftable; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001c450.c b/decomp/AgentManager_Release_x64/full/functions/0x14001c450.c new file mode 100644 index 00000000..3e0ce53b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001c450.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001c450 FUN_14001c450 + * Pseudocode, not original source. */ + +void FUN_14001c450(void) + +{ + /* WARNING: Could not recover jumptable at 0x00014001c457. Too many branches */ + /* WARNING: Treating indirect jump as call */ + LeaveCriticalSection(DAT_14017cf60); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001c460.c b/decomp/AgentManager_Release_x64/full/functions/0x14001c460.c new file mode 100644 index 00000000..5da0df52 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001c460.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001c460 FUN_14001c460 + * Pseudocode, not original source. */ + +undefined8 * FUN_14001c460(undefined8 *param_1,byte param_2) + +{ + DAT_14017c8a8 = 0; + *param_1 = MBISingleton::vftable; + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001c4a0.c b/decomp/AgentManager_Release_x64/full/functions/0x14001c4a0.c new file mode 100644 index 00000000..69f234ac --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001c4a0.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001c4a0 FUN_14001c4a0 + * Pseudocode, not original source. */ + +undefined8 * FUN_14001c4a0(undefined8 *param_1,uint param_2) + +{ + LPCRITICAL_SECTION lpCriticalSection; + + lpCriticalSection = DAT_14017cf60; + *param_1 = MBMultiThreadSync::vftable; + if (lpCriticalSection != (LPCRITICAL_SECTION)0x0) { + DeleteCriticalSection(lpCriticalSection); + operator_delete(lpCriticalSection); + } + DAT_14017cf60 = (LPCRITICAL_SECTION)0x0; + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001c510.c b/decomp/AgentManager_Release_x64/full/functions/0x14001c510.c new file mode 100644 index 00000000..5d1e922e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001c510.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001c510 FUN_14001c510 + * Pseudocode, not original source. */ + +void FUN_14001c510(wchar_t *param_1,size_t param_2,wchar_t *param_3,undefined8 param_4) + +{ + undefined8 local_res20; + + local_res20 = param_4; + _vsnwprintf_s(param_1,0x20,param_2,param_3,(va_list)&local_res20); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001c540.c b/decomp/AgentManager_Release_x64/full/functions/0x14001c540.c new file mode 100644 index 00000000..e76a8afa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001c540.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001c540 FUN_14001c540 + * Pseudocode, not original source. */ + +void FUN_14001c540(wchar_t *param_1,size_t param_2,wchar_t *param_3,undefined8 param_4) + +{ + undefined8 local_res20; + + local_res20 = param_4; + _vsnwprintf_s(param_1,0x104,param_2,param_3,(va_list)&local_res20); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001c570.c b/decomp/AgentManager_Release_x64/full/functions/0x14001c570.c new file mode 100644 index 00000000..061b6dbc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001c570.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001c570 FUN_14001c570 + * Pseudocode, not original source. */ + +void FUN_14001c570(char *param_1,size_t param_2,char *param_3,undefined8 param_4) + +{ + undefined8 local_res20; + + local_res20 = param_4; + _vsnprintf_s(param_1,0x104,param_2,param_3,(va_list)&local_res20); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001c5a0.c b/decomp/AgentManager_Release_x64/full/functions/0x14001c5a0.c new file mode 100644 index 00000000..ebc908bc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001c5a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001c5a0 FUN_14001c5a0 + * Pseudocode, not original source. */ + +void FUN_14001c5a0(longlong param_1,uint param_2) + +{ + FUN_14001c400((undefined8 *)(param_1 + -8),param_2); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001c5b0.c b/decomp/AgentManager_Release_x64/full/functions/0x14001c5b0.c new file mode 100644 index 00000000..7098a86a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001c5b0.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001c5b0 FUN_14001c5b0 + * Pseudocode, not original source. */ + +void FUN_14001c5b0(undefined8 *param_1) + +{ + if ((undefined8 *)*param_1 != &DAT_14017ce88) { + operator_delete__((void *)param_1[1]); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001c5d0.c b/decomp/AgentManager_Release_x64/full/functions/0x14001c5d0.c new file mode 100644 index 00000000..334a7591 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001c5d0.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001c5d0 FUN_14001c5d0 + * Pseudocode, not original source. */ + +undefined8 FUN_14001c5d0(void) + +{ + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001c5e0.c b/decomp/AgentManager_Release_x64/full/functions/0x14001c5e0.c new file mode 100644 index 00000000..7a6d7ff9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001c5e0.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001c5e0 FUN_14001c5e0 + * Pseudocode, not original source. */ + +void FUN_14001c5e0(undefined8 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + *param_1 = TiXmlDocument::vftable; + if ((undefined8 *)param_1[0xc] != &DAT_14017ce88) { + operator_delete__((void *)param_1[0xd]); + } + FUN_14001ec20(param_1,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001c620.c b/decomp/AgentManager_Release_x64/full/functions/0x14001c620.c new file mode 100644 index 00000000..9b3945d8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001c620.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001c620 FUN_14001c620 + * Pseudocode, not original source. */ + +undefined8 * +FUN_14001c620(undefined8 *param_1,ulonglong param_2,undefined8 param_3,undefined8 param_4) + +{ + ulonglong uVar1; + + *param_1 = TiXmlDocument::vftable; + uVar1 = param_2; + if ((undefined8 *)param_1[0xc] != &DAT_14017ce88) { + operator_delete__((void *)param_1[0xd]); + } + FUN_14001ec20(param_1,uVar1,param_3,param_4); + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001c680.c b/decomp/AgentManager_Release_x64/full/functions/0x14001c680.c new file mode 100644 index 00000000..890fbd3a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001c680.c @@ -0,0 +1,46 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001c680 FUN_14001c680 + * Pseudocode, not original source. */ + +undefined1 * FUN_14001c680(undefined1 *param_1) + +{ + *(undefined8 *)(param_1 + 0x18) = 0xf; + *(undefined8 *)(param_1 + 0x10) = 0; + *param_1 = 0; + *(undefined8 *)(param_1 + 0x40) = 0xf; + *(undefined8 *)(param_1 + 0x38) = 0; + param_1[0x28] = 0; + *(undefined8 *)(param_1 + 0x68) = 0xf; + *(undefined8 *)(param_1 + 0x60) = 0; + param_1[0x50] = 0; + *(undefined8 *)(param_1 + 0x90) = 0xf; + *(undefined8 *)(param_1 + 0x88) = 0; + param_1[0x78] = 0; + *(undefined8 *)(param_1 + 0xb8) = 0xf; + *(undefined8 *)(param_1 + 0xb0) = 0; + param_1[0xa0] = 0; + *(undefined8 *)(param_1 + 0xe0) = 0xf; + *(undefined8 *)(param_1 + 0xd8) = 0; + param_1[200] = 0; + *(undefined8 *)(param_1 + 0x108) = 0xf; + *(undefined8 *)(param_1 + 0x100) = 0; + param_1[0xf0] = 0; + *(undefined8 *)(param_1 + 0x130) = 0xf; + *(undefined8 *)(param_1 + 0x128) = 0; + param_1[0x118] = 0; + *(undefined8 *)(param_1 + 0x158) = 0xf; + *(undefined8 *)(param_1 + 0x150) = 0; + param_1[0x140] = 0; + *(undefined8 *)(param_1 + 0x168) = 0; + *(undefined2 *)(param_1 + 0x170) = 0; + param_1[0x172] = 0; + *(undefined8 *)(param_1 + 0x174) = 100; + *(undefined8 *)(param_1 + 0x198) = 0xf; + *(undefined8 *)(param_1 + 400) = 0; + param_1[0x180] = 0; + FUN_14000c9e0((ulonglong *)(param_1 + 0x180),&DAT_140130e68,3); + *(undefined4 *)(param_1 + 0x1a8) = 1000; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001c7b0.c b/decomp/AgentManager_Release_x64/full/functions/0x14001c7b0.c new file mode 100644 index 00000000..9f8437fd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001c7b0.c @@ -0,0 +1,70 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001c7b0 FUN_14001c7b0 + * Pseudocode, not original source. */ + +void FUN_14001c7b0(undefined8 *param_1) + +{ + if (0xf < (ulonglong)param_1[0x33]) { + operator_delete((void *)param_1[0x30]); + } + param_1[0x33] = 0xf; + param_1[0x32] = 0; + *(undefined1 *)(param_1 + 0x30) = 0; + if (0xf < (ulonglong)param_1[0x2b]) { + operator_delete((void *)param_1[0x28]); + } + param_1[0x2b] = 0xf; + param_1[0x2a] = 0; + *(undefined1 *)(param_1 + 0x28) = 0; + if (0xf < (ulonglong)param_1[0x26]) { + operator_delete((void *)param_1[0x23]); + } + param_1[0x26] = 0xf; + param_1[0x25] = 0; + *(undefined1 *)(param_1 + 0x23) = 0; + if (0xf < (ulonglong)param_1[0x21]) { + operator_delete((void *)param_1[0x1e]); + } + param_1[0x21] = 0xf; + param_1[0x20] = 0; + *(undefined1 *)(param_1 + 0x1e) = 0; + if (0xf < (ulonglong)param_1[0x1c]) { + operator_delete((void *)param_1[0x19]); + } + param_1[0x1c] = 0xf; + param_1[0x1b] = 0; + *(undefined1 *)(param_1 + 0x19) = 0; + if (0xf < (ulonglong)param_1[0x17]) { + operator_delete((void *)param_1[0x14]); + } + param_1[0x17] = 0xf; + param_1[0x16] = 0; + *(undefined1 *)(param_1 + 0x14) = 0; + if (0xf < (ulonglong)param_1[0x12]) { + operator_delete((void *)param_1[0xf]); + } + param_1[0x12] = 0xf; + param_1[0x11] = 0; + *(undefined1 *)(param_1 + 0xf) = 0; + if (0xf < (ulonglong)param_1[0xd]) { + operator_delete((void *)param_1[10]); + } + param_1[0xd] = 0xf; + param_1[0xc] = 0; + *(undefined1 *)(param_1 + 10) = 0; + if (0xf < (ulonglong)param_1[8]) { + operator_delete((void *)param_1[5]); + } + param_1[8] = 0xf; + param_1[7] = 0; + *(undefined1 *)(param_1 + 5) = 0; + if (0xf < (ulonglong)param_1[3]) { + operator_delete((void *)*param_1); + } + param_1[3] = 0xf; + param_1[2] = 0; + *(undefined1 *)param_1 = 0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001c980.c b/decomp/AgentManager_Release_x64/full/functions/0x14001c980.c new file mode 100644 index 00000000..fc78a8ac --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001c980.c @@ -0,0 +1,31 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001c980 FUN_14001c980 + * Pseudocode, not original source. */ + +longlong * FUN_14001c980(longlong *param_1,longlong *param_2) + +{ + FUN_14000c660(param_1,param_2,0,0xffffffffffffffff); + FUN_14000c660(param_1 + 5,param_2 + 5,0,0xffffffffffffffff); + FUN_14000c660(param_1 + 10,param_2 + 10,0,0xffffffffffffffff); + FUN_14000c660(param_1 + 0xf,param_2 + 0xf,0,0xffffffffffffffff); + FUN_14000c660(param_1 + 0x14,param_2 + 0x14,0,0xffffffffffffffff); + FUN_14000c660(param_1 + 0x19,param_2 + 0x19,0,0xffffffffffffffff); + FUN_14000c660(param_1 + 0x1e,param_2 + 0x1e,0,0xffffffffffffffff); + FUN_14000c660(param_1 + 0x23,param_2 + 0x23,0,0xffffffffffffffff); + FUN_14000c660(param_1 + 0x28,param_2 + 0x28,0,0xffffffffffffffff); + *(int *)(param_1 + 0x2d) = (int)param_2[0x2d]; + *(undefined1 *)((longlong)param_1 + 0x16c) = *(undefined1 *)((longlong)param_2 + 0x16c); + *(undefined1 *)((longlong)param_1 + 0x16d) = *(undefined1 *)((longlong)param_2 + 0x16d); + *(undefined1 *)((longlong)param_1 + 0x16e) = *(undefined1 *)((longlong)param_2 + 0x16e); + *(undefined1 *)((longlong)param_1 + 0x16f) = *(undefined1 *)((longlong)param_2 + 0x16f); + *(char *)(param_1 + 0x2e) = (char)param_2[0x2e]; + *(undefined1 *)((longlong)param_1 + 0x171) = *(undefined1 *)((longlong)param_2 + 0x171); + *(undefined1 *)((longlong)param_1 + 0x172) = *(undefined1 *)((longlong)param_2 + 0x172); + *(undefined4 *)((longlong)param_1 + 0x174) = *(undefined4 *)((longlong)param_2 + 0x174); + *(int *)(param_1 + 0x2f) = (int)param_2[0x2f]; + FUN_14000c660(param_1 + 0x30,param_2 + 0x30,0,0xffffffffffffffff); + *(int *)(param_1 + 0x35) = (int)param_2[0x35]; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001cb20.c b/decomp/AgentManager_Release_x64/full/functions/0x14001cb20.c new file mode 100644 index 00000000..a78d85da --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001cb20.c @@ -0,0 +1,24 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001cb20 FUN_14001cb20 + * Pseudocode, not original source. */ + +void FUN_14001cb20(longlong *param_1) + +{ + undefined8 *puVar1; + undefined8 *puVar2; + + puVar2 = (undefined8 *)*param_1; + if (puVar2 != (undefined8 *)0x0) { + puVar1 = (undefined8 *)param_1[1]; + for (; puVar2 != puVar1; puVar2 = puVar2 + 0x36) { + FUN_14001c7b0(puVar2); + } + operator_delete((void *)*param_1); + } + *param_1 = 0; + param_1[1] = 0; + param_1[2] = 0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001cb80.c b/decomp/AgentManager_Release_x64/full/functions/0x14001cb80.c new file mode 100644 index 00000000..2251e4c6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001cb80.c @@ -0,0 +1,34 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001cb80 FUN_14001cb80 + * Pseudocode, not original source. */ + +void FUN_14001cb80(ulonglong *param_1,longlong *param_2) + +{ + longlong *plVar1; + longlong lVar2; + + plVar1 = (longlong *)param_1[1]; + if ((param_2 < plVar1) && ((longlong *)*param_1 <= param_2)) { + lVar2 = (longlong)param_2 - (longlong)*param_1; + lVar2 = lVar2 / 0x36 + (lVar2 >> 0x3f); + if (plVar1 == (longlong *)param_1[2]) { + FUN_14001cc40((longlong *)param_1); + } + if ((longlong *)param_1[1] != (longlong *)0x0) { + FUN_14001ce70((longlong *)param_1[1], + (longlong *)(((lVar2 >> 3) - (lVar2 >> 0x3f)) * 0x1b0 + *param_1)); + } + } + else { + if (plVar1 == (longlong *)param_1[2]) { + FUN_14001cc40((longlong *)param_1); + } + if ((longlong *)param_1[1] != (longlong *)0x0) { + FUN_14001ce70((longlong *)param_1[1],param_2); + } + } + param_1[1] = param_1[1] + 0x1b0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001cc40.c b/decomp/AgentManager_Release_x64/full/functions/0x14001cc40.c new file mode 100644 index 00000000..a98c47a1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001cc40.c @@ -0,0 +1,41 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001cc40 FUN_14001cc40 + * Pseudocode, not original source. */ + +void FUN_14001cc40(longlong *param_1) + +{ + code *pcVar1; + longlong lVar2; + ulonglong uVar3; + ulonglong uVar4; + + lVar2 = param_1[1] - *param_1; + lVar2 = lVar2 / 0x36 + (lVar2 >> 0x3f); + uVar4 = (lVar2 >> 3) - (lVar2 >> 0x3f); + if (0x97b425ed097b41 < uVar4) { + std::_Xlength_error("vector too long"); + pcVar1 = (code *)swi(3); + (*pcVar1)(); + return; + } + uVar4 = uVar4 + 1; + uVar3 = (param_1[2] - *param_1) / 0x1b0; + if (uVar3 < uVar4) { + if (0x97b425ed097b42 - (uVar3 >> 1) < uVar3) { + uVar3 = 0; + if (uVar4 != 0) { + uVar3 = uVar4; + } + FUN_14001cd00(param_1,uVar3); + return; + } + uVar3 = uVar3 + (uVar3 >> 1); + if (uVar3 < uVar4) { + uVar3 = uVar4; + } + FUN_14001cd00(param_1,uVar3); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001cd00.c b/decomp/AgentManager_Release_x64/full/functions/0x14001cd00.c new file mode 100644 index 00000000..d9a89567 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001cd00.c @@ -0,0 +1,49 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001cd00 FUN_14001cd00 + * Pseudocode, not original source. */ + +void FUN_14001cd00(longlong *param_1,ulonglong param_2) + +{ + undefined8 *puVar1; + code *pcVar2; + longlong *plVar3; + longlong lVar4; + undefined8 *puVar5; + longlong *local_res10; + undefined **local_30 [3]; + + if (0x97b425ed097b42 < param_2) { + std::_Xlength_error("vector too long"); + pcVar2 = (code *)swi(3); + (*pcVar2)(); + return; + } + if ((ulonglong)((param_1[2] - *param_1) / 0x1b0) < param_2) { + local_res10 = (longlong *)0x0; + if ((param_2 != 0) && + (local_res10 = operator_new(param_2 * 0x1b0), local_res10 == (longlong *)0x0)) { + std::exception::exception((exception *)local_30,(char **)&local_res10); + local_30[0] = std::bad_alloc::vftable; + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_30,(ThrowInfo *)&DAT_14016c158); + } + plVar3 = local_res10; + FUN_14001d0c0((longlong *)*param_1,(longlong *)param_1[1],local_res10); + puVar1 = (undefined8 *)param_1[1]; + puVar5 = (undefined8 *)*param_1; + lVar4 = (longlong)puVar1 - (longlong)puVar5; + lVar4 = lVar4 / 0x36 + (lVar4 >> 0x3f); + if (puVar5 != (undefined8 *)0x0) { + for (; puVar5 != puVar1; puVar5 = puVar5 + 0x36) { + FUN_14001c7b0(puVar5); + } + operator_delete((void *)*param_1); + } + param_1[2] = (longlong)(plVar3 + param_2 * 0x36); + param_1[1] = (longlong)(plVar3 + ((lVar4 >> 3) - (lVar4 >> 0x3f)) * 0x36); + *param_1 = (longlong)plVar3; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001ce70.c b/decomp/AgentManager_Release_x64/full/functions/0x14001ce70.c new file mode 100644 index 00000000..0b31a42b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001ce70.c @@ -0,0 +1,61 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001ce70 FUN_14001ce70 + * Pseudocode, not original source. */ + +longlong * FUN_14001ce70(longlong *param_1,longlong *param_2) + +{ + param_1[3] = 0xf; + param_1[2] = 0; + *(undefined1 *)param_1 = 0; + FUN_14000c660(param_1,param_2,0,0xffffffffffffffff); + param_1[8] = 0xf; + param_1[7] = 0; + *(undefined1 *)(param_1 + 5) = 0; + FUN_14000c660(param_1 + 5,param_2 + 5,0,0xffffffffffffffff); + param_1[0xd] = 0xf; + param_1[0xc] = 0; + *(undefined1 *)(param_1 + 10) = 0; + FUN_14000c660(param_1 + 10,param_2 + 10,0,0xffffffffffffffff); + param_1[0x12] = 0xf; + param_1[0x11] = 0; + *(undefined1 *)(param_1 + 0xf) = 0; + FUN_14000c660(param_1 + 0xf,param_2 + 0xf,0,0xffffffffffffffff); + param_1[0x17] = 0xf; + param_1[0x16] = 0; + *(undefined1 *)(param_1 + 0x14) = 0; + FUN_14000c660(param_1 + 0x14,param_2 + 0x14,0,0xffffffffffffffff); + param_1[0x1c] = 0xf; + param_1[0x1b] = 0; + *(undefined1 *)(param_1 + 0x19) = 0; + FUN_14000c660(param_1 + 0x19,param_2 + 0x19,0,0xffffffffffffffff); + param_1[0x21] = 0xf; + param_1[0x20] = 0; + *(undefined1 *)(param_1 + 0x1e) = 0; + FUN_14000c660(param_1 + 0x1e,param_2 + 0x1e,0,0xffffffffffffffff); + param_1[0x26] = 0xf; + param_1[0x25] = 0; + *(undefined1 *)(param_1 + 0x23) = 0; + FUN_14000c660(param_1 + 0x23,param_2 + 0x23,0,0xffffffffffffffff); + param_1[0x2b] = 0xf; + param_1[0x2a] = 0; + *(undefined1 *)(param_1 + 0x28) = 0; + FUN_14000c660(param_1 + 0x28,param_2 + 0x28,0,0xffffffffffffffff); + *(int *)(param_1 + 0x2d) = (int)param_2[0x2d]; + *(undefined1 *)((longlong)param_1 + 0x16c) = *(undefined1 *)((longlong)param_2 + 0x16c); + *(undefined1 *)((longlong)param_1 + 0x16d) = *(undefined1 *)((longlong)param_2 + 0x16d); + *(undefined1 *)((longlong)param_1 + 0x16e) = *(undefined1 *)((longlong)param_2 + 0x16e); + *(undefined1 *)((longlong)param_1 + 0x16f) = *(undefined1 *)((longlong)param_2 + 0x16f); + *(char *)(param_1 + 0x2e) = (char)param_2[0x2e]; + *(undefined1 *)((longlong)param_1 + 0x171) = *(undefined1 *)((longlong)param_2 + 0x171); + *(undefined1 *)((longlong)param_1 + 0x172) = *(undefined1 *)((longlong)param_2 + 0x172); + *(undefined4 *)((longlong)param_1 + 0x174) = *(undefined4 *)((longlong)param_2 + 0x174); + *(int *)(param_1 + 0x2f) = (int)param_2[0x2f]; + param_1[0x33] = 0xf; + param_1[0x32] = 0; + *(undefined1 *)(param_1 + 0x30) = 0; + FUN_14000c660(param_1 + 0x30,param_2 + 0x30,0,0xffffffffffffffff); + *(int *)(param_1 + 0x35) = (int)param_2[0x35]; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001d0c0.c b/decomp/AgentManager_Release_x64/full/functions/0x14001d0c0.c new file mode 100644 index 00000000..0198bbf3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001d0c0.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001d0c0 FUN_14001d0c0 + * Pseudocode, not original source. */ + +longlong * FUN_14001d0c0(longlong *param_1,longlong *param_2,longlong *param_3) + +{ + for (; param_1 != param_2; param_1 = param_1 + 0x36) { + if (param_3 != (longlong *)0x0) { + FUN_14001ce70(param_3,param_1); + } + param_3 = param_3 + 0x36; + } + return param_3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001d120.c b/decomp/AgentManager_Release_x64/full/functions/0x14001d120.c new file mode 100644 index 00000000..9791fea5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001d120.c @@ -0,0 +1,36 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001d120 FUN_14001d120 + * Pseudocode, not original source. */ + +longlong * FUN_14001d120(longlong *param_1) + +{ + ulonglong uVar1; + code *pcVar2; + char cVar3; + longlong *plVar4; + + if (1 < -param_1[2] - 1U) { + uVar1 = param_1[2] + 1; + cVar3 = FUN_1400018a0(param_1,uVar1); + if (cVar3 != '\0') { + plVar4 = param_1; + if (7 < (ulonglong)param_1[3]) { + plVar4 = (longlong *)*param_1; + } + *(undefined2 *)((longlong)plVar4 + param_1[2] * 2) = 0x5f; + param_1[2] = uVar1; + plVar4 = param_1; + if (7 < (ulonglong)param_1[3]) { + plVar4 = (longlong *)*param_1; + } + *(undefined2 *)((longlong)plVar4 + uVar1 * 2) = 0; + } + return param_1; + } + std::_Xlength_error("string too long"); + pcVar2 = (code *)swi(3); + plVar4 = (longlong *)(*pcVar2)(); + return plVar4; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001d1b0.c b/decomp/AgentManager_Release_x64/full/functions/0x14001d1b0.c new file mode 100644 index 00000000..91661ea4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001d1b0.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001d1b0 FUN_14001d1b0 + * Pseudocode, not original source. */ + +undefined * FUN_14001d1b0(void) + +{ + void *pvVar1; + char *local_res8 [4]; + undefined **local_28 [5]; + + DAT_14017cec8 = 0; + pvVar1 = operator_new(0x30); + if (pvVar1 != (void *)0x0) { + DAT_14017cec0 = pvVar1; + *(void **)pvVar1 = pvVar1; + *(void **)((longlong)DAT_14017cec0 + 8) = DAT_14017cec0; + *(void **)((longlong)DAT_14017cec0 + 0x10) = DAT_14017cec0; + *(undefined1 *)((longlong)DAT_14017cec0 + 0x28) = 1; + *(undefined1 *)((longlong)DAT_14017cec0 + 0x29) = 1; + return &DAT_14017ceb8; + } + local_res8[0] = (char *)0x0; + std::exception::exception((exception *)local_28,local_res8); + local_28[0] = std::bad_alloc::vftable; + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_28,(ThrowInfo *)&DAT_14016c158); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001d250.c b/decomp/AgentManager_Release_x64/full/functions/0x14001d250.c new file mode 100644 index 00000000..67d67c44 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001d250.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001d250 FUN_14001d250 + * Pseudocode, not original source. */ + +void FUN_14001d250(void) + +{ + /* WARNING: Could not recover jumptable at 0x00014001d257. Too many branches */ + /* WARNING: Treating indirect jump as call */ + operator_delete(DAT_14017cec0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001d260.c b/decomp/AgentManager_Release_x64/full/functions/0x14001d260.c new file mode 100644 index 00000000..f67ee135 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001d260.c @@ -0,0 +1,49 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001d260 FUN_14001d260 + * Pseudocode, not original source. */ + +longlong * FUN_14001d260(longlong *param_1,longlong *param_2,longlong *param_3) + +{ + char cVar1; + longlong *plVar2; + longlong *plVar3; + longlong *local_res10; + undefined8 local_res20; + + if ((param_2 == (longlong *)*DAT_14017cec0) && (param_3 == DAT_14017cec0)) { + FUN_14001d670(); + *param_1 = *DAT_14017cec0; + return param_1; + } + while (param_2 != param_3) { + local_res10 = param_2; + if (*(char *)((longlong)param_2 + 0x29) == '\0') { + local_res10 = (longlong *)param_2[2]; + if (*(char *)((longlong)local_res10 + 0x29) == '\0') { + cVar1 = *(char *)(*local_res10 + 0x29); + plVar2 = (longlong *)*local_res10; + while (cVar1 == '\0') { + cVar1 = *(char *)(*plVar2 + 0x29); + local_res10 = plVar2; + plVar2 = (longlong *)*plVar2; + } + } + else { + cVar1 = *(char *)(param_2[1] + 0x29); + plVar3 = (longlong *)param_2[1]; + plVar2 = param_2; + while ((local_res10 = plVar3, cVar1 == '\0' && (plVar2 == (longlong *)local_res10[2]))) { + cVar1 = *(char *)(local_res10[1] + 0x29); + plVar3 = (longlong *)local_res10[1]; + plVar2 = local_res10; + } + } + } + FUN_14001d320(&local_res20,param_2); + param_2 = local_res10; + } + *param_1 = (longlong)param_2; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001d320.c b/decomp/AgentManager_Release_x64/full/functions/0x14001d320.c new file mode 100644 index 00000000..b49798a1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001d320.c @@ -0,0 +1,197 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001d320 FUN_14001d320 + * Pseudocode, not original source. */ + +undefined8 * FUN_14001d320(undefined8 *param_1,longlong *param_2) + +{ + char cVar1; + longlong *plVar2; + code *pcVar3; + longlong *plVar4; + longlong lVar5; + undefined8 *puVar6; + longlong *plVar7; + longlong *plVar8; + longlong *plVar9; + longlong *plVar10; + + if (*(char *)((longlong)param_2 + 0x29) != '\0') { + std::_Xout_of_range("invalid map/set iterator"); + pcVar3 = (code *)swi(3); + puVar6 = (undefined8 *)(*pcVar3)(); + return puVar6; + } + plVar10 = (longlong *)param_2[2]; + plVar7 = param_2 + 2; + if (*(char *)((longlong)plVar10 + 0x29) == '\0') { + cVar1 = *(char *)(*plVar10 + 0x29); + plVar8 = (longlong *)*plVar10; + while (cVar1 == '\0') { + cVar1 = *(char *)(*plVar8 + 0x29); + plVar10 = plVar8; + plVar8 = (longlong *)*plVar8; + } + } + else { + cVar1 = *(char *)(param_2[1] + 0x29); + plVar9 = (longlong *)param_2[1]; + plVar8 = param_2; + while ((plVar10 = plVar9, cVar1 == '\0' && (plVar8 == (longlong *)plVar10[2]))) { + cVar1 = *(char *)(plVar10[1] + 0x29); + plVar9 = (longlong *)plVar10[1]; + plVar8 = plVar10; + } + } + plVar8 = (longlong *)*param_2; + if (*(char *)((longlong)plVar8 + 0x29) == '\0') { + plVar9 = plVar8; + if ((*(char *)(*plVar7 + 0x29) == '\0') && (plVar9 = (longlong *)plVar10[2], plVar10 != param_2) + ) { + plVar8[1] = (longlong)plVar10; + *plVar10 = *param_2; + plVar8 = plVar10; + if (plVar10 != (longlong *)*plVar7) { + plVar8 = (longlong *)plVar10[1]; + if (*(char *)((longlong)plVar9 + 0x29) == '\0') { + plVar9[1] = (longlong)plVar8; + } + *plVar8 = (longlong)plVar9; + plVar10[2] = *plVar7; + *(longlong **)(*plVar7 + 8) = plVar10; + } + if ((longlong *)DAT_14017cec0[1] == param_2) { + DAT_14017cec0[1] = (longlong)plVar10; + } + else { + plVar7 = (longlong *)param_2[1]; + if ((longlong *)*plVar7 == param_2) { + *plVar7 = (longlong)plVar10; + } + else { + plVar7[2] = (longlong)plVar10; + } + } + plVar10[1] = param_2[1]; + lVar5 = plVar10[5]; + *(char *)(plVar10 + 5) = (char)param_2[5]; + *(char *)(param_2 + 5) = (char)lVar5; + goto LAB_14001d4f3; + } + } + else { + plVar9 = (longlong *)*plVar7; + } + plVar8 = (longlong *)param_2[1]; + if (*(char *)((longlong)plVar9 + 0x29) == '\0') { + plVar9[1] = (longlong)plVar8; + } + if ((longlong *)DAT_14017cec0[1] == param_2) { + DAT_14017cec0[1] = (longlong)plVar9; + } + else if ((longlong *)*plVar8 == param_2) { + *plVar8 = (longlong)plVar9; + } + else { + plVar8[2] = (longlong)plVar9; + } + if ((longlong *)*DAT_14017cec0 == param_2) { + plVar7 = plVar8; + if (*(char *)((longlong)plVar9 + 0x29) == '\0') { + cVar1 = *(char *)(*plVar9 + 0x29); + plVar2 = (longlong *)*plVar9; + plVar7 = plVar9; + while (plVar4 = plVar2, cVar1 == '\0') { + plVar2 = (longlong *)*plVar4; + cVar1 = *(char *)((longlong)plVar2 + 0x29); + plVar7 = plVar4; + } + } + *DAT_14017cec0 = (longlong)plVar7; + } + if ((longlong *)DAT_14017cec0[2] == param_2) { + if (*(char *)((longlong)plVar9 + 0x29) == '\0') { + cVar1 = *(char *)(plVar9[2] + 0x29); + plVar7 = (longlong *)plVar9[2]; + plVar2 = plVar9; + while (plVar4 = plVar7, cVar1 == '\0') { + plVar7 = (longlong *)plVar4[2]; + cVar1 = *(char *)((longlong)plVar7 + 0x29); + plVar2 = plVar4; + } + DAT_14017cec0[2] = (longlong)plVar2; + } + else { + DAT_14017cec0[2] = (longlong)plVar8; + } + } +LAB_14001d4f3: + if ((char)param_2[5] == '\x01') { + if (plVar9 != (longlong *)DAT_14017cec0[1]) { + do { + plVar7 = plVar8; + if ((char)plVar9[5] != '\x01') break; + plVar8 = (longlong *)*plVar7; + if (plVar9 == plVar8) { + plVar8 = (longlong *)plVar7[2]; + if ((char)plVar8[5] == '\0') { + *(undefined1 *)(plVar8 + 5) = 1; + *(undefined1 *)(plVar7 + 5) = 0; + FUN_14001d750((longlong)plVar7); + plVar8 = (longlong *)plVar7[2]; + } + if (*(char *)((longlong)plVar8 + 0x29) == '\0') { + if ((*(char *)(*plVar8 + 0x28) != '\x01') || (*(char *)(plVar8[2] + 0x28) != '\x01')) { + if (*(char *)(plVar8[2] + 0x28) == '\x01') { + *(undefined1 *)(*plVar8 + 0x28) = 1; + *(undefined1 *)(plVar8 + 5) = 0; + FUN_14001d7b0(plVar8); + plVar8 = (longlong *)plVar7[2]; + } + *(char *)(plVar8 + 5) = (char)plVar7[5]; + *(undefined1 *)(plVar7 + 5) = 1; + *(undefined1 *)(plVar8[2] + 0x28) = 1; + FUN_14001d750((longlong)plVar7); + break; + } +LAB_14001d5cd: + *(undefined1 *)(plVar8 + 5) = 0; + } + } + else { + if ((char)plVar8[5] == '\0') { + *(undefined1 *)(plVar8 + 5) = 1; + *(undefined1 *)(plVar7 + 5) = 0; + FUN_14001d7b0(plVar7); + plVar8 = (longlong *)*plVar7; + } + if (*(char *)((longlong)plVar8 + 0x29) == '\0') { + if ((*(char *)(plVar8[2] + 0x28) == '\x01') && (*(char *)(*plVar8 + 0x28) == '\x01')) + goto LAB_14001d5cd; + if (*(char *)(*plVar8 + 0x28) == '\x01') { + *(undefined1 *)(plVar8[2] + 0x28) = 1; + *(undefined1 *)(plVar8 + 5) = 0; + FUN_14001d750((longlong)plVar8); + plVar8 = (longlong *)*plVar7; + } + *(char *)(plVar8 + 5) = (char)plVar7[5]; + *(undefined1 *)(plVar7 + 5) = 1; + *(undefined1 *)(*plVar8 + 0x28) = 1; + FUN_14001d7b0(plVar7); + break; + } + } + plVar8 = (longlong *)plVar7[1]; + plVar9 = plVar7; + } while (plVar7 != (longlong *)DAT_14017cec0[1]); + } + *(undefined1 *)(plVar9 + 5) = 1; + } + operator_delete(param_2); + if (DAT_14017cec8 != 0) { + DAT_14017cec8 = DAT_14017cec8 + -1; + } + *param_1 = plVar10; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001d670.c b/decomp/AgentManager_Release_x64/full/functions/0x14001d670.c new file mode 100644 index 00000000..aba384f0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001d670.c @@ -0,0 +1,27 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001d670 FUN_14001d670 + * Pseudocode, not original source. */ + +void FUN_14001d670(void) + +{ + char cVar1; + longlong *plVar2; + longlong *plVar3; + + cVar1 = *(char *)((longlong)*(longlong **)(DAT_14017cec0 + 8) + 0x29); + plVar3 = *(longlong **)(DAT_14017cec0 + 8); + while (cVar1 == '\0') { + FUN_14001d6f0(&DAT_14017ceb8,(longlong *)plVar3[2]); + plVar2 = (longlong *)*plVar3; + operator_delete(plVar3); + plVar3 = plVar2; + cVar1 = *(char *)((longlong)plVar2 + 0x29); + } + *(longlong *)(DAT_14017cec0 + 8) = DAT_14017cec0; + *(longlong *)DAT_14017cec0 = DAT_14017cec0; + *(longlong *)(DAT_14017cec0 + 0x10) = DAT_14017cec0; + DAT_14017cec8 = 0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001d6f0.c b/decomp/AgentManager_Release_x64/full/functions/0x14001d6f0.c new file mode 100644 index 00000000..e9774ea2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001d6f0.c @@ -0,0 +1,21 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001d6f0 FUN_14001d6f0 + * Pseudocode, not original source. */ + +void FUN_14001d6f0(undefined8 param_1,longlong *param_2) + +{ + char cVar1; + longlong *plVar2; + + cVar1 = *(char *)((longlong)param_2 + 0x29); + while (cVar1 == '\0') { + FUN_14001d6f0(param_1,(longlong *)param_2[2]); + plVar2 = (longlong *)*param_2; + operator_delete(param_2); + param_2 = plVar2; + cVar1 = *(char *)((longlong)plVar2 + 0x29); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001d750.c b/decomp/AgentManager_Release_x64/full/functions/0x14001d750.c new file mode 100644 index 00000000..b942bba0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001d750.c @@ -0,0 +1,35 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001d750 FUN_14001d750 + * Pseudocode, not original source. */ + +void FUN_14001d750(longlong param_1) + +{ + longlong *plVar1; + longlong *plVar2; + + plVar1 = *(longlong **)(param_1 + 0x10); + *(longlong *)(param_1 + 0x10) = *plVar1; + if (*(char *)(*plVar1 + 0x29) == '\0') { + *(longlong *)(*plVar1 + 8) = param_1; + } + plVar1[1] = *(longlong *)(param_1 + 8); + if (param_1 == *(longlong *)(DAT_14017cec0 + 8)) { + *(longlong **)(DAT_14017cec0 + 8) = plVar1; + *plVar1 = param_1; + *(longlong **)(param_1 + 8) = plVar1; + return; + } + plVar2 = *(longlong **)(param_1 + 8); + if (param_1 == *plVar2) { + *plVar2 = (longlong)plVar1; + *plVar1 = param_1; + *(longlong **)(param_1 + 8) = plVar1; + return; + } + plVar2[2] = (longlong)plVar1; + *plVar1 = param_1; + *(longlong **)(param_1 + 8) = plVar1; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001d7b0.c b/decomp/AgentManager_Release_x64/full/functions/0x14001d7b0.c new file mode 100644 index 00000000..a3ec4f42 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001d7b0.c @@ -0,0 +1,35 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001d7b0 FUN_14001d7b0 + * Pseudocode, not original source. */ + +void FUN_14001d7b0(longlong *param_1) + +{ + longlong lVar1; + longlong *plVar2; + + lVar1 = *param_1; + *param_1 = *(longlong *)(lVar1 + 0x10); + if (*(char *)(*(longlong *)(lVar1 + 0x10) + 0x29) == '\0') { + *(longlong **)(*(longlong *)(lVar1 + 0x10) + 8) = param_1; + } + *(longlong *)(lVar1 + 8) = param_1[1]; + if (param_1 == *(longlong **)(DAT_14017cec0 + 8)) { + *(longlong *)(DAT_14017cec0 + 8) = lVar1; + *(longlong **)(lVar1 + 0x10) = param_1; + param_1[1] = lVar1; + return; + } + plVar2 = (longlong *)param_1[1]; + if (param_1 == (longlong *)plVar2[2]) { + plVar2[2] = lVar1; + *(longlong **)(lVar1 + 0x10) = param_1; + param_1[1] = lVar1; + return; + } + *plVar2 = lVar1; + *(longlong **)(lVar1 + 0x10) = param_1; + param_1[1] = lVar1; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001d810.c b/decomp/AgentManager_Release_x64/full/functions/0x14001d810.c new file mode 100644 index 00000000..0cec543a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001d810.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001d810 FUN_14001d810 + * Pseudocode, not original source. */ + +undefined8 * FUN_14001d810(undefined8 *param_1) + +{ + *param_1 = 0; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001d820.c b/decomp/AgentManager_Release_x64/full/functions/0x14001d820.c new file mode 100644 index 00000000..e00c2152 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001d820.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001d820 FUN_14001d820 + * Pseudocode, not original source. */ + +void FUN_14001d820(undefined8 *param_1) + +{ + ReleaseMutex((HANDLE)*param_1); + /* WARNING: Could not recover jumptable at 0x00014001d83a. Too many branches */ + /* WARNING: Treating indirect jump as call */ + CloseHandle((HANDLE)*param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001d850.c b/decomp/AgentManager_Release_x64/full/functions/0x14001d850.c new file mode 100644 index 00000000..ba76336a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001d850.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001d850 FUN_14001d850 + * Pseudocode, not original source. */ + +undefined4 FUN_14001d850(undefined8 *param_1) + +{ + DWORD DVar1; + uint extraout_EAX; + HANDLE pvVar2; + wchar_t *_Format; + + pvVar2 = CreateMutexW((LPSECURITY_ATTRIBUTES)0x0,1,L"Global\\RustyHearts_AgentManager"); + *param_1 = pvVar2; + DVar1 = GetLastError(); + if (DVar1 == 5) { + _Format = L"ERROR_ACCESS_DENIED!!! %s \n"; + } + else { + if (DVar1 != 0xb7) { + return CONCAT31((int3)(DVar1 >> 8),1); + } + _Format = L"ERROR_ALREADY_EXISTS!!! %s \n"; + } + wprintf(_Format); + Sleep(3000); + return extraout_EAX & 0xffffff00; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001d8c0.c b/decomp/AgentManager_Release_x64/full/functions/0x14001d8c0.c new file mode 100644 index 00000000..c2cd400b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001d8c0.c @@ -0,0 +1,46 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001d8c0 FUN_14001d8c0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_14001d8c0(void) + +{ + undefined1 auStack_278 [32]; + uint local_258; + uint local_250; + uint local_248; + _SYSTEMTIME local_238; + WCHAR local_228 [264]; + ulonglong local_18; + + local_18 = DAT_14016f5a0 ^ (ulonglong)auStack_278; + memset(local_228,0,0x208); + local_238.wYear = 0; + local_238.wMonth = 0; + local_238.wDayOfWeek = 0; + local_238.wDay = 0; + local_238.wHour = 0; + local_238.wMinute = 0; + local_238.wSecond = 0; + local_238.wMilliseconds = 0; + GetCurrentDirectoryW(0x104,local_228); + GetLocalTime(&local_238); + local_248 = (uint)local_238.wDay; + local_250 = (uint)local_238.wMonth; + local_258 = (uint)local_238.wYear; + FUN_14001c540(local_228,0x104,L"%s\\Dump_%d-%d-%d",local_228); + BT_InstallSehFilter(); + BT_SetAppVersion(&DAT_1401317e4); + BT_SetAppName(L"AGENT_MANAGER"); + BT_SetSupportEMail(L"bug@stairway.co.kr"); + BT_SetFlags(3); + BT_SetSupportServer(L"203.239.161.83",9999); + BT_SetSupportURL(L"http://www.stairway.co.kr"); + BT_SetDumpType(0x1826); + BT_SetActivityType(2); + BT_SetReportFilePath(local_228); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001d9e0.c b/decomp/AgentManager_Release_x64/full/functions/0x14001d9e0.c new file mode 100644 index 00000000..1c91f223 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001d9e0.c @@ -0,0 +1,81 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001d9e0 FUN_14001d9e0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +undefined8 FUN_14001d9e0(wchar_t *param_1,wchar_t *param_2,longlong param_3) + +{ + undefined8 uVar1; + undefined1 auStack_2e8 [32]; + wchar_t *local_2c8; + longlong local_2c0; + uint local_2b8; + uint local_2b0; + uint local_2a8; + _SYSTEMTIME local_298; + wchar_t local_288 [33]; + undefined1 local_246 [526]; + ulonglong local_38; + + local_38 = DAT_14016f5a0 ^ (ulonglong)auStack_2e8; + if (((param_1 == (wchar_t *)0x0) || (param_3 == 0)) || (param_2 == (wchar_t *)0x0)) { + uVar1 = 0; + } + else { + local_288[0x20] = 0; + memset(local_246,0,0x206); + GetLocalTime(&local_298); + local_2b8 = (uint)local_298.wHour; + local_2c0._0_4_ = (uint)local_298.wDay; + local_2c8 = (wchar_t *)CONCAT44(local_2c8._4_4_,(uint)local_298.wMonth); + FUN_14001c540(local_288 + 0x20,0x104,L"%04d-%02d-%02d_%02d.log",(ulonglong)local_298.wYear); + local_2c8 = local_288 + 0x20; + _snwprintf_s(param_2,0x104,0x104,L"%s"); + local_288[0] = L'\0'; + local_288[1] = L'\0'; + local_288[2] = L'\0'; + local_288[3] = L'\0'; + local_288[4] = L'\0'; + local_288[5] = L'\0'; + local_288[6] = L'\0'; + local_288[7] = L'\0'; + local_288[8] = L'\0'; + local_288[9] = L'\0'; + local_288[10] = L'\0'; + local_288[0xb] = L'\0'; + local_288[0xc] = L'\0'; + local_288[0xd] = L'\0'; + local_288[0xe] = L'\0'; + local_288[0xf] = L'\0'; + local_288[0x10] = L'\0'; + local_288[0x11] = L'\0'; + local_288[0x12] = L'\0'; + local_288[0x13] = L'\0'; + local_288[0x14] = L'\0'; + local_288[0x15] = L'\0'; + local_288[0x16] = L'\0'; + local_288[0x17] = L'\0'; + local_288[0x18] = L'\0'; + local_288[0x19] = L'\0'; + local_288[0x1a] = L'\0'; + local_288[0x1b] = L'\0'; + local_288[0x1c] = L'\0'; + local_288[0x1d] = L'\0'; + local_288[0x1e] = L'\0'; + local_288[0x1f] = 0; + local_2a8 = (uint)local_298.wSecond; + local_2b0 = (uint)local_298.wMinute; + local_2b8 = (uint)local_298.wHour; + local_2c0 = CONCAT44(local_2c0._4_4_,(uint)local_298.wDay); + local_2c8 = (wchar_t *)CONCAT44(local_2c8._4_4_,(uint)local_298.wMonth); + FUN_14001c510(local_288,0x20,L"%04d-%02d-%02d %02d:%02d:%02d",(ulonglong)local_298.wYear); + local_2c8 = local_288; + local_2c0 = param_3; + _snwprintf_s(param_1,0x100,0x100,L"[%s] %s\n"); + uVar1 = 1; + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001db80.c b/decomp/AgentManager_Release_x64/full/functions/0x14001db80.c new file mode 100644 index 00000000..bd756ddd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001db80.c @@ -0,0 +1,80 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001db80 FUN_14001db80 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +undefined8 FUN_14001db80(char *param_1,char *param_2,longlong param_3) + +{ + undefined8 uVar1; + undefined1 auStack_1b8 [32]; + char *local_198; + longlong local_190; + uint local_188; + uint local_180; + uint local_178; + _SYSTEMTIME local_168; + char local_158 [304]; + ulonglong local_28; + + local_28 = DAT_14016f5a0 ^ (ulonglong)auStack_1b8; + if (((param_1 == (char *)0x0) || (param_3 == 0)) || (param_2 == (char *)0x0)) { + uVar1 = 0; + } + else { + local_158[0x20] = 0; + memset(local_158 + 0x21,0,0x103); + GetLocalTime(&local_168); + local_188 = (uint)local_168.wHour; + local_190._0_4_ = (uint)local_168.wDay; + local_198 = (char *)CONCAT44(local_198._4_4_,(uint)local_168.wMonth); + FUN_14001c570(local_158 + 0x20,0x104,"%04d-%02d-%02d_%02d.log",(ulonglong)local_168.wYear); + local_198 = local_158 + 0x20; + _snprintf_s(param_2,0x104,0x104,"%s"); + local_158[0] = '\0'; + local_158[1] = '\0'; + local_158[2] = '\0'; + local_158[3] = '\0'; + local_158[4] = '\0'; + local_158[5] = '\0'; + local_158[6] = '\0'; + local_158[7] = '\0'; + local_158[8] = '\0'; + local_158[9] = '\0'; + local_158[10] = '\0'; + local_158[0xb] = '\0'; + local_158[0xc] = '\0'; + local_158[0xd] = '\0'; + local_158[0xe] = '\0'; + local_158[0xf] = '\0'; + local_158[0x10] = '\0'; + local_158[0x11] = '\0'; + local_158[0x12] = '\0'; + local_158[0x13] = '\0'; + local_158[0x14] = '\0'; + local_158[0x15] = '\0'; + local_158[0x16] = '\0'; + local_158[0x17] = '\0'; + local_158[0x18] = '\0'; + local_158[0x19] = '\0'; + local_158[0x1a] = '\0'; + local_158[0x1b] = '\0'; + local_158[0x1c] = '\0'; + local_158[0x1d] = '\0'; + local_158[0x1e] = '\0'; + local_158[0x1f] = 0; + local_178 = (uint)local_168.wSecond; + local_180 = (uint)local_168.wMinute; + local_188 = (uint)local_168.wHour; + local_190 = CONCAT44(local_190._4_4_,(uint)local_168.wDay); + local_198 = (char *)CONCAT44(local_198._4_4_,(uint)local_168.wMonth); + FUN_14001e1c0(local_158,0x20,"%04d-%02d-%02d %02d:%02d:%02d",(ulonglong)local_168.wYear); + local_198 = local_158; + local_190 = param_3; + _snprintf_s(param_1,0x100,0x100,"[%s] %s\n"); + uVar1 = 1; + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001dd00.c b/decomp/AgentManager_Release_x64/full/functions/0x14001dd00.c new file mode 100644 index 00000000..7b92bdf0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001dd00.c @@ -0,0 +1,36 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001dd00 FUN_14001dd00 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* WARNING: Removing unreachable block (ram,0x00014001dd76) */ + +undefined8 FUN_14001dd00(longlong param_1,longlong param_2) + +{ + errno_t eVar1; + undefined1 auStack_168 [32]; + longlong local_148; + FILE *local_138 [2]; + char local_128; + undefined1 local_127 [271]; + ulonglong local_18; + + local_18 = DAT_14016f5a0 ^ (ulonglong)auStack_168; + if ((param_1 != 0) && (param_2 != 0)) { + local_128 = '\0'; + memset(local_127,0,0x103); + local_148 = param_1; + FUN_14001c570(&local_128,0x104,"%s_%s",&DAT_140131920); + local_138[0] = (FILE *)0x0; + eVar1 = fopen_s(local_138,&local_128,"a"); + if ((eVar1 == 0) && (local_138[0] != (FILE *)0x0)) { + fprintf(local_138[0],"%s"); + fflush(local_138[0]); + fclose(local_138[0]); + return 1; + } + } + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001de10.c b/decomp/AgentManager_Release_x64/full/functions/0x14001de10.c new file mode 100644 index 00000000..5e28e9f1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001de10.c @@ -0,0 +1,36 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001de10 FUN_14001de10 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* WARNING: Removing unreachable block (ram,0x00014001de90) */ + +undefined8 FUN_14001de10(longlong param_1,longlong param_2) + +{ + errno_t eVar1; + undefined1 auStack_268 [32]; + longlong local_248; + FILE *local_238 [2]; + wchar_t local_228; + undefined1 local_226 [526]; + ulonglong local_18; + + local_18 = DAT_14016f5a0 ^ (ulonglong)auStack_268; + if ((param_1 != 0) && (param_2 != 0)) { + local_228 = L'\0'; + memset(local_226,0,0x206); + local_248 = param_1; + FUN_14001c540(&local_228,0x104,L"%s_%s",&DAT_140131918); + local_238[0] = (FILE *)0x0; + eVar1 = _wfopen_s(local_238,&local_228,L"a"); + if ((eVar1 == 0) && (local_238[0] != (FILE *)0x0)) { + fwprintf(local_238[0],L"%s"); + fflush(local_238[0]); + fclose(local_238[0]); + return 1; + } + } + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001df30.c b/decomp/AgentManager_Release_x64/full/functions/0x14001df30.c new file mode 100644 index 00000000..3f42b129 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001df30.c @@ -0,0 +1,49 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001df30 FUN_14001df30 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +bool FUN_14001df30(wchar_t *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 uVar1; + bool bVar2; + undefined8 local_res10; + undefined8 local_res18; + undefined8 local_res20; + undefined1 auStack_648 [32]; + wchar_t local_628; + undefined1 local_626 [510]; + wchar_t local_428; + undefined1 local_426 [510]; + wchar_t local_228; + undefined1 local_226 [526]; + ulonglong local_18; + + local_18 = DAT_14016f5a0 ^ (ulonglong)auStack_648; + local_res10 = param_2; + local_res18 = param_3; + local_res20 = param_4; + EnterCriticalSection((LPCRITICAL_SECTION)&DAT_14017ced8); + local_428 = L'\0'; + memset(local_426,0,0x1fe); + vswprintf_s(&local_428,0x100,param_1,(va_list)&local_res10); + local_228 = L'\0'; + memset(local_226,0,0x206); + local_628 = L'\0'; + memset(local_626,0,0x1fe); + uVar1 = FUN_14001d9e0(&local_628,&local_228,(longlong)&local_428); + bVar2 = (int)uVar1 != 0; + if (bVar2) { + FUN_14001de10((longlong)&local_228,(longlong)&local_628); + OutputDebugStringW(&local_628); + wprintf(L"%s"); + LeaveCriticalSection((LPCRITICAL_SECTION)&DAT_14017ced8); + } + else { + LeaveCriticalSection((LPCRITICAL_SECTION)&DAT_14017ced8); + } + return bVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001e070.c b/decomp/AgentManager_Release_x64/full/functions/0x14001e070.c new file mode 100644 index 00000000..ca705b1e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001e070.c @@ -0,0 +1,46 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001e070 FUN_14001e070 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +undefined8 FUN_14001e070(char *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 uVar1; + undefined8 local_res10; + undefined8 local_res18; + undefined8 local_res20; + undefined1 auStack_348 [32]; + char local_328; + undefined1 local_327 [255]; + char local_228; + undefined1 local_227 [255]; + char local_128; + undefined1 local_127 [271]; + ulonglong local_18; + + local_18 = DAT_14016f5a0 ^ (ulonglong)auStack_348; + local_res10 = param_2; + local_res18 = param_3; + local_res20 = param_4; + EnterCriticalSection((LPCRITICAL_SECTION)&DAT_14017ced8); + local_228 = '\0'; + memset(local_227,0,0xff); + vsprintf_s(&local_228,0x100,param_1,(va_list)&local_res10); + local_128 = '\0'; + memset(local_127,0,0x103); + local_328 = '\0'; + memset(local_327,0,0xff); + uVar1 = FUN_14001db80(&local_328,&local_128,(longlong)&local_228); + if ((int)uVar1 == 0) { + LeaveCriticalSection((LPCRITICAL_SECTION)&DAT_14017ced8); + return 0; + } + FUN_14001dd00((longlong)&local_128,(longlong)&local_328); + OutputDebugStringA(&local_328); + printf("%s"); + LeaveCriticalSection((LPCRITICAL_SECTION)&DAT_14017ced8); + return 1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001e1c0.c b/decomp/AgentManager_Release_x64/full/functions/0x14001e1c0.c new file mode 100644 index 00000000..190fdc24 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001e1c0.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001e1c0 FUN_14001e1c0 + * Pseudocode, not original source. */ + +void FUN_14001e1c0(char *param_1,size_t param_2,char *param_3,undefined8 param_4) + +{ + undefined8 local_res20; + + local_res20 = param_4; + _vsnprintf_s(param_1,0x20,param_2,param_3,(va_list)&local_res20); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001e1f0.c b/decomp/AgentManager_Release_x64/full/functions/0x14001e1f0.c new file mode 100644 index 00000000..2bb0d22b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001e1f0.c @@ -0,0 +1,43 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001e1f0 FUN_14001e1f0 + * Pseudocode, not original source. */ + +void FUN_14001e1f0(longlong *param_1,longlong param_2) + +{ + longlong lVar1; + void *pvVar2; + undefined8 *puVar3; + undefined1 auVar4 [16]; + __uint64 _Var5; + longlong *plVar6; + longlong *local_28; + + lVar1 = *(longlong *)*param_1; + if (param_2 == 0) { + plVar6 = &DAT_14017ce88; + } + else { + auVar4._8_8_ = 0; + auVar4._0_8_ = param_2 + 0x1bU >> 2; + _Var5 = SUB168(ZEXT816(4) * auVar4,0); + if (SUB168(ZEXT816(4) * auVar4,8) != 0) { + _Var5 = 0xffffffffffffffff; + } + plVar6 = operator_new(_Var5); + *plVar6 = lVar1; + *(undefined1 *)((longlong)plVar6 + lVar1 + 0x10) = 0; + plVar6[1] = param_2; + local_28 = plVar6; + } + memcpy(plVar6 + 2,(size_t *)*param_1 + 2,*(size_t *)*param_1); + pvVar2 = (void *)param_1[1]; + puVar3 = (undefined8 *)*param_1; + *param_1 = (longlong)plVar6; + param_1[1] = (longlong)local_28; + if (puVar3 != &DAT_14017ce88) { + operator_delete__(pvVar2); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001e2c0.c b/decomp/AgentManager_Release_x64/full/functions/0x14001e2c0.c new file mode 100644 index 00000000..f34de4cf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001e2c0.c @@ -0,0 +1,50 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001e2c0 FUN_14001e2c0 + * Pseudocode, not original source. */ + +longlong * FUN_14001e2c0(longlong *param_1,void *param_2,size_t param_3) + +{ + ulonglong uVar1; + void *pvVar2; + undefined8 *puVar3; + undefined1 auVar4 [16]; + __uint64 _Var5; + size_t *psVar6; + size_t *local_28; + + uVar1 = *(ulonglong *)(*param_1 + 8); + if ((uVar1 < param_3) || (param_3 * 3 + 0x18 < uVar1)) { + if (param_3 == 0) { + psVar6 = &DAT_14017ce88; + } + else { + auVar4._8_8_ = 0; + auVar4._0_8_ = param_3 + 0x1b >> 2; + _Var5 = SUB168(ZEXT816(4) * auVar4,0); + if (SUB168(ZEXT816(4) * auVar4,8) != 0) { + _Var5 = 0xffffffffffffffff; + } + psVar6 = operator_new(_Var5); + *psVar6 = param_3; + *(undefined1 *)((longlong)psVar6 + param_3 + 0x10) = 0; + psVar6[1] = param_3; + local_28 = psVar6; + } + memcpy(psVar6 + 2,param_2,param_3); + pvVar2 = (void *)param_1[1]; + puVar3 = (undefined8 *)*param_1; + *param_1 = (longlong)psVar6; + param_1[1] = (longlong)local_28; + if (puVar3 != &DAT_14017ce88) { + operator_delete__(pvVar2); + } + } + else { + memmove((void *)(*param_1 + 0x10),param_2,param_3); + *(size_t *)*param_1 = param_3; + *(undefined1 *)(*param_1 + 0x10 + param_3) = 0; + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001e3c0.c b/decomp/AgentManager_Release_x64/full/functions/0x14001e3c0.c new file mode 100644 index 00000000..2888274c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001e3c0.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001e3c0 FUN_14001e3c0 + * Pseudocode, not original source. */ + +longlong * FUN_14001e3c0(longlong *param_1,void *param_2,size_t param_3) + +{ + ulonglong uVar1; + ulonglong uVar2; + longlong *plVar3; + + plVar3 = (longlong *)*param_1; + uVar1 = param_3 + *plVar3; + if (((ulonglong)plVar3[1] < uVar1) && (uVar2 = plVar3[1] + uVar1, (ulonglong)plVar3[1] < uVar2)) { + FUN_14001e1f0(param_1,uVar2); + } + memmove((void *)(*(longlong *)*param_1 + 0x10 + *param_1),param_2,param_3); + *(ulonglong *)*param_1 = uVar1; + *(undefined1 *)(*param_1 + 0x10 + uVar1) = 0; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001e440.c b/decomp/AgentManager_Release_x64/full/functions/0x14001e440.c new file mode 100644 index 00000000..64577766 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001e440.c @@ -0,0 +1,24 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001e440 FUN_14001e440 + * Pseudocode, not original source. */ + +longlong * FUN_14001e440(longlong *param_1,undefined1 param_2) + +{ + ulonglong uVar1; + longlong *plVar2; + ulonglong uVar3; + undefined1 local_res10 [24]; + + plVar2 = (longlong *)*param_1; + uVar3 = *plVar2 + 1; + local_res10[0] = param_2; + if (((ulonglong)plVar2[1] < uVar3) && (uVar1 = plVar2[1] + uVar3, (ulonglong)plVar2[1] < uVar1)) { + FUN_14001e1f0(param_1,uVar1); + } + memmove((void *)(*(longlong *)*param_1 + 0x10 + *param_1),local_res10,1); + *(ulonglong *)*param_1 = uVar3; + *(undefined1 *)(*param_1 + 0x10 + uVar3) = 0; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001e4b0.c b/decomp/AgentManager_Release_x64/full/functions/0x14001e4b0.c new file mode 100644 index 00000000..3569bd48 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001e4b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001e4b0 FUN_14001e4b0 + * Pseudocode, not original source. */ + +void FUN_14001e4b0(undefined8 *param_1) + +{ + *param_1 = TiXmlBase::vftable; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001e4c0.c b/decomp/AgentManager_Release_x64/full/functions/0x14001e4c0.c new file mode 100644 index 00000000..ed07ec3f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001e4c0.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001e4c0 FUN_14001e4c0 + * Pseudocode, not original source. */ + +undefined8 * FUN_14001e4c0(undefined8 *param_1,byte param_2) + +{ + *param_1 = TiXmlBase::vftable; + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001e4f0.c b/decomp/AgentManager_Release_x64/full/functions/0x14001e4f0.c new file mode 100644 index 00000000..389e3607 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001e4f0.c @@ -0,0 +1,24 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001e4f0 FUN_14001e4f0 + * Pseudocode, not original source. */ + +undefined8 FUN_14001e4f0(longlong *param_1) + +{ + longlong lVar1; + undefined8 uVar2; + + while( true ) { + if (param_1 == (longlong *)0x0) { + return 0; + } + lVar1 = (**(code **)(*param_1 + 0x20))(param_1); + if (lVar1 != 0) break; + param_1 = (longlong *)param_1[3]; + } + /* WARNING: Could not recover jumptable at 0x00014001e52a. Too many branches */ + /* WARNING: Treating indirect jump as call */ + uVar2 = (**(code **)(*param_1 + 0x20))(param_1); + return uVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001e530.c b/decomp/AgentManager_Release_x64/full/functions/0x14001e530.c new file mode 100644 index 00000000..5e360d1a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001e530.c @@ -0,0 +1,40 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001e530 FUN_14001e530 + * Pseudocode, not original source. */ + +undefined8 * FUN_14001e530(undefined8 *param_1,char *param_2,char *param_3) + +{ + char cVar1; + ulonglong uVar2; + char *pcVar3; + + param_1[1] = 0xffffffffffffffff; + param_1[2] = 0; + *param_1 = TiXmlAttribute::vftable; + param_1[4] = &DAT_14017ce88; + param_1[6] = &DAT_14017ce88; + uVar2 = 0xffffffffffffffff; + pcVar3 = param_2; + do { + if (uVar2 == 0) break; + uVar2 = uVar2 - 1; + cVar1 = *pcVar3; + pcVar3 = pcVar3 + 1; + } while (cVar1 != '\0'); + FUN_14001e2c0(param_1 + 4,param_2,~uVar2 - 1); + uVar2 = 0xffffffffffffffff; + pcVar3 = param_3; + do { + if (uVar2 == 0) break; + uVar2 = uVar2 - 1; + cVar1 = *pcVar3; + pcVar3 = pcVar3 + 1; + } while (cVar1 != '\0'); + FUN_14001e2c0(param_1 + 6,param_3,~uVar2 - 1); + param_1[3] = 0; + param_1[9] = 0; + param_1[8] = 0; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001e5e0.c b/decomp/AgentManager_Release_x64/full/functions/0x14001e5e0.c new file mode 100644 index 00000000..c4f3b60f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001e5e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001e5e0 FUN_14001e5e0 + * Pseudocode, not original source. */ + +void FUN_14001e5e0(longlong param_1,FILE *param_2) + +{ + FUN_140020010(param_1,param_2,(longlong *)0x0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001e5f0.c b/decomp/AgentManager_Release_x64/full/functions/0x14001e5f0.c new file mode 100644 index 00000000..cc33dd59 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001e5f0.c @@ -0,0 +1,20 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001e5f0 FUN_14001e5f0 + * Pseudocode, not original source. */ + +undefined8 * FUN_14001e5f0(undefined8 *param_1,uint param_2) + +{ + if ((undefined8 *)param_1[6] != &DAT_14017ce88) { + operator_delete__((void *)param_1[7]); + } + if ((undefined8 *)param_1[4] != &DAT_14017ce88) { + operator_delete__((void *)param_1[5]); + } + *param_1 = TiXmlBase::vftable; + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001e660.c b/decomp/AgentManager_Release_x64/full/functions/0x14001e660.c new file mode 100644 index 00000000..ca69262e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001e660.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001e660 FUN_14001e660 + * Pseudocode, not original source. */ + +void FUN_14001e660(undefined8 *param_1) + +{ + if ((undefined8 *)param_1[6] != &DAT_14017ce88) { + operator_delete__((void *)param_1[7]); + } + if ((undefined8 *)param_1[4] != &DAT_14017ce88) { + operator_delete__((void *)param_1[5]); + } + *param_1 = TiXmlBase::vftable; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001e6b0.c b/decomp/AgentManager_Release_x64/full/functions/0x14001e6b0.c new file mode 100644 index 00000000..9aa1d942 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001e6b0.c @@ -0,0 +1,25 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001e6b0 std::bad_alloc::`scalar_deleting_destructor' + * Pseudocode, not original source. */ + +/* Library Function - Single Match + public: virtual void * __ptr64 __cdecl std::bad_alloc::`scalar deleting destructor'(unsigned + int) __ptr64 + + Libraries: Visual Studio 2012 Release, Visual Studio 2015 Release */ + +void * __thiscall std::bad_alloc::_scalar_deleting_destructor_(bad_alloc *this,uint param_1) + +{ + undefined4 in_register_00000014; + undefined8 in_R8; + undefined8 in_R9; + + *(undefined ***)this = TiXmlComment::vftable; + FUN_14001ec20((undefined8 *)this,CONCAT44(in_register_00000014,param_1),in_R8,in_R9); + if ((param_1 & 1) != 0) { + operator_delete(this); + } + return this; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001e6f0.c b/decomp/AgentManager_Release_x64/full/functions/0x14001e6f0.c new file mode 100644 index 00000000..a063e69a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001e6f0.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001e6f0 FUN_14001e6f0 + * Pseudocode, not original source. */ + +undefined8 * FUN_14001e6f0(undefined8 *param_1) + +{ + param_1[1] = 0xffffffffffffffff; + param_1[2] = 0; + param_1[7] = &DAT_14017ce88; + param_1[3] = 0; + *(undefined4 *)(param_1 + 4) = 4; + param_1[5] = 0; + param_1[6] = 0; + param_1[9] = 0; + param_1[10] = 0; + *param_1 = TiXmlText::vftable; + FUN_14001e2c0(param_1 + 7,&DAT_140132660,0); + *(undefined1 *)(param_1 + 0xb) = 0; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001e770.c b/decomp/AgentManager_Release_x64/full/functions/0x14001e770.c new file mode 100644 index 00000000..38febc0d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001e770.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001e770 FUN_14001e770 + * Pseudocode, not original source. */ + +undefined8 FUN_14001e770(undefined8 param_1) + +{ + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001e780.c b/decomp/AgentManager_Release_x64/full/functions/0x14001e780.c new file mode 100644 index 00000000..56c0a774 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001e780.c @@ -0,0 +1,25 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001e780 std::bad_alloc::`scalar_deleting_destructor' + * Pseudocode, not original source. */ + +/* Library Function - Single Match + public: virtual void * __ptr64 __cdecl std::bad_alloc::`scalar deleting destructor'(unsigned + int) __ptr64 + + Libraries: Visual Studio 2012 Release, Visual Studio 2015 Release */ + +void * __thiscall std::bad_alloc::_scalar_deleting_destructor_(bad_alloc *this,uint param_1) + +{ + undefined4 in_register_00000014; + undefined8 in_R8; + undefined8 in_R9; + + *(undefined ***)this = TiXmlText::vftable; + FUN_14001ec20((undefined8 *)this,CONCAT44(in_register_00000014,param_1),in_R8,in_R9); + if ((param_1 & 1) != 0) { + operator_delete(this); + } + return this; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001e7c0.c b/decomp/AgentManager_Release_x64/full/functions/0x14001e7c0.c new file mode 100644 index 00000000..7a3a9d94 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001e7c0.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001e7c0 FUN_14001e7c0 + * Pseudocode, not original source. */ + +void FUN_14001e7c0(longlong *param_1) + +{ + /* WARNING: Could not recover jumptable at 0x00014001e7c6. Too many branches */ + /* WARNING: Treating indirect jump as call */ + (**(code **)(*param_1 + 0x88))(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001e7d0.c b/decomp/AgentManager_Release_x64/full/functions/0x14001e7d0.c new file mode 100644 index 00000000..e253f42f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001e7d0.c @@ -0,0 +1,28 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001e7d0 FUN_14001e7d0 + * Pseudocode, not original source. */ + +undefined8 * +FUN_14001e7d0(undefined8 *param_1,ulonglong param_2,undefined8 param_3,undefined8 param_4) + +{ + ulonglong uVar1; + + *param_1 = TiXmlDeclaration::vftable; + uVar1 = param_2; + if ((undefined8 *)param_1[0xf] != &DAT_14017ce88) { + operator_delete__((void *)param_1[0x10]); + } + if ((undefined8 *)param_1[0xd] != &DAT_14017ce88) { + operator_delete__((void *)param_1[0xe]); + } + if ((undefined8 *)param_1[0xb] != &DAT_14017ce88) { + operator_delete__((void *)param_1[0xc]); + } + FUN_14001ec20(param_1,uVar1,param_3,param_4); + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001e860.c b/decomp/AgentManager_Release_x64/full/functions/0x14001e860.c new file mode 100644 index 00000000..19883049 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001e860.c @@ -0,0 +1,25 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001e860 std::bad_alloc::`scalar_deleting_destructor' + * Pseudocode, not original source. */ + +/* Library Function - Single Match + public: virtual void * __ptr64 __cdecl std::bad_alloc::`scalar deleting destructor'(unsigned + int) __ptr64 + + Libraries: Visual Studio 2012 Release, Visual Studio 2015 Release */ + +void * __thiscall std::bad_alloc::_scalar_deleting_destructor_(bad_alloc *this,uint param_1) + +{ + undefined4 in_register_00000014; + undefined8 in_R8; + undefined8 in_R9; + + *(undefined ***)this = TiXmlUnknown::vftable; + FUN_14001ec20((undefined8 *)this,CONCAT44(in_register_00000014,param_1),in_R8,in_R9); + if ((param_1 & 1) != 0) { + operator_delete(this); + } + return this; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001e8a0.c b/decomp/AgentManager_Release_x64/full/functions/0x14001e8a0.c new file mode 100644 index 00000000..154cbc00 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001e8a0.c @@ -0,0 +1,161 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001e8a0 FUN_14001e8a0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_14001e8a0(undefined8 *param_1,longlong *param_2) + +{ + ulonglong uVar1; + char cVar2; + byte bVar3; + longlong lVar4; + undefined1 auVar5 [16]; + __uint64 _Var6; + longlong *plVar7; + longlong lVar8; + int *piVar9; + undefined *puVar10; + int iVar11; + uint uVar12; + ulonglong uVar13; + size_t sVar14; + undefined8 uVar15; + char *pcVar16; + undefined1 auStack_a8 [32]; + longlong *local_88; + undefined8 *local_80; + undefined8 *local_78; + longlong *local_70; + undefined8 local_68; + char local_60 [32]; + ulonglong local_40; + + local_68 = 0xfffffffffffffffe; + local_40 = DAT_14016f5a0 ^ (ulonglong)auStack_a8; + iVar11 = 0; + piVar9 = (int *)*param_1; + uVar15 = *(undefined8 *)piVar9; + if (0 < (int)uVar15) { + local_88 = local_70; + local_80 = param_1; + do { + bVar3 = *(byte *)((longlong)iVar11 + 0x10 + (longlong)piVar9); + if (bVar3 == 0x26) { + puVar10 = PTR_s__amp__140174cc0; + uVar12 = DAT_140174cc8; + if ((((int)uVar15 + -2 <= iVar11) || + (*(char *)((longlong)(iVar11 + 1) + 0x10 + (longlong)piVar9) != '#')) || + (*(char *)((longlong)(iVar11 + 2) + 0x10 + (longlong)piVar9) != 'x')) { +LAB_14001ea85: + plVar7 = (longlong *)*param_2; + uVar13 = *plVar7 + (ulonglong)uVar12; + if (((ulonglong)plVar7[1] < uVar13) && + (uVar1 = plVar7[1] + uVar13, (ulonglong)plVar7[1] < uVar1)) { + FUN_14001e1f0(param_2,uVar1); + } + memmove((void *)(*param_2 + *(longlong *)*param_2 + 0x10),puVar10,(ulonglong)uVar12); + *(ulonglong *)*param_2 = uVar13; + *(undefined1 *)(*param_2 + 0x10 + uVar13) = 0; + goto LAB_14001eba5; + } + lVar8 = (longlong)iVar11; + if (iVar11 < (int)uVar15 + -1) { + do { + plVar7 = (longlong *)*param_2; + uVar13 = *plVar7 + 1; + if (((ulonglong)plVar7[1] < uVar13) && + (uVar1 = plVar7[1] + uVar13, (ulonglong)plVar7[1] < uVar1)) { + local_78 = &DAT_14017ce88; + lVar4 = *plVar7; + if (uVar1 == 0) { + plVar7 = &DAT_14017ce88; + } + else { + auVar5._8_8_ = 0; + auVar5._0_8_ = uVar1 + 0x1b >> 2; + _Var6 = SUB168(ZEXT816(4) * auVar5,0); + if (SUB168(ZEXT816(4) * auVar5,8) != 0) { + _Var6 = 0xffffffffffffffff; + } + plVar7 = operator_new(_Var6); + *plVar7 = lVar4; + *(undefined1 *)((longlong)plVar7 + lVar4 + 0x10) = 0; + plVar7[1] = uVar1; + local_88 = plVar7; + } + memcpy(plVar7 + 2,(size_t *)*param_2 + 2,*(size_t *)*param_2); + local_70 = (longlong *)param_2[1]; + local_78 = (undefined8 *)*param_2; + *param_2 = (longlong)plVar7; + param_2[1] = (longlong)local_88; + local_88 = local_70; + if (local_78 != &DAT_14017ce88) { + operator_delete__(local_70); + } + } + memmove((void *)(*param_2 + *(longlong *)*param_2 + 0x10), + (void *)((longlong)iVar11 + 0x10 + (longlong)piVar9),1); + *(ulonglong *)*param_2 = uVar13; + *(undefined1 *)(*param_2 + 0x10 + uVar13) = 0; + iVar11 = iVar11 + 1; + piVar9 = (int *)*local_80; + } while ((*(char *)((longlong)piVar9 + lVar8 + 0x11) != ';') && + (lVar8 = lVar8 + 1, iVar11 < *piVar9 + -1)); + } + } + else { + puVar10 = PTR_DAT_140174cd0; + uVar12 = DAT_140174cd8; + if (bVar3 == 0x3c) goto LAB_14001ea85; + if (bVar3 == 0x3e) { + sVar14 = (size_t)DAT_140174ce8; + puVar10 = PTR_DAT_140174ce0; + } + else if (bVar3 == 0x22) { + sVar14 = (size_t)DAT_140174cf8; + puVar10 = PTR_s__quot__140174cf0; + } + else { + if (bVar3 != 0x27) { + if (bVar3 < 0x20) { + FUN_14001e1c0(local_60,0x20,"&#x%02X;",(ulonglong)bVar3); + lVar8 = -1; + pcVar16 = local_60; + do { + if (lVar8 == 0) break; + lVar8 = lVar8 + -1; + cVar2 = *pcVar16; + pcVar16 = pcVar16 + 1; + } while (cVar2 != '\0'); + sVar14 = (size_t)(int)(~(uint)lVar8 - 1); + plVar7 = (longlong *)*param_2; + uVar13 = *plVar7 + sVar14; + if (((ulonglong)plVar7[1] < uVar13) && + (uVar1 = plVar7[1] + uVar13, (ulonglong)plVar7[1] < uVar1)) { + FUN_14001e1f0(param_2,uVar1); + } + memmove((void *)(*param_2 + *(longlong *)*param_2 + 0x10),local_60,sVar14); + *(ulonglong *)*param_2 = uVar13; + *(undefined1 *)(*param_2 + 0x10 + uVar13) = 0; + } + else { + FUN_14001e440(param_2,bVar3); + } + goto LAB_14001eba5; + } + sVar14 = (size_t)DAT_140174d08; + puVar10 = PTR_s__apos__140174d00; + } + FUN_14001e3c0(param_2,puVar10,sVar14); +LAB_14001eba5: + iVar11 = iVar11 + 1; + } + piVar9 = (int *)*local_80; + uVar15 = *(undefined8 *)piVar9; + } while (iVar11 < (int)uVar15); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001ebf0.c b/decomp/AgentManager_Release_x64/full/functions/0x14001ebf0.c new file mode 100644 index 00000000..9cf824de --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001ebf0.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001ebf0 FUN_14001ebf0 + * Pseudocode, not original source. */ + +undefined8 * +FUN_14001ebf0(undefined8 *param_1,ulonglong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14001ec20(param_1,param_2,param_3,param_4); + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001ec20.c b/decomp/AgentManager_Release_x64/full/functions/0x14001ec20.c new file mode 100644 index 00000000..49a6616d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001ec20.c @@ -0,0 +1,24 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001ec20 FUN_14001ec20 + * Pseudocode, not original source. */ + +void FUN_14001ec20(undefined8 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 *puVar1; + undefined8 *puVar2; + + *param_1 = TiXmlNode::vftable; + puVar2 = (undefined8 *)param_1[5]; + while (puVar2 != (undefined8 *)0x0) { + puVar1 = (undefined8 *)puVar2[10]; + (**(code **)*puVar2)(puVar2,1); + puVar2 = puVar1; + } + if ((undefined8 *)param_1[7] != &DAT_14017ce88) { + operator_delete__((void *)param_1[8]); + } + *param_1 = TiXmlBase::vftable; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001eca0.c b/decomp/AgentManager_Release_x64/full/functions/0x14001eca0.c new file mode 100644 index 00000000..ab3e7751 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001eca0.c @@ -0,0 +1,26 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001eca0 FUN_14001eca0 + * Pseudocode, not original source. */ + +void FUN_14001eca0(longlong param_1) + +{ + undefined8 *puVar1; + undefined8 *puVar2; + + puVar2 = *(undefined8 **)(param_1 + 0x28); + if (puVar2 == (undefined8 *)0x0) { + *(undefined8 *)(param_1 + 0x28) = 0; + *(undefined8 *)(param_1 + 0x30) = 0; + return; + } + do { + puVar1 = (undefined8 *)puVar2[10]; + (**(code **)*puVar2)(puVar2,1); + puVar2 = puVar1; + } while (puVar1 != (undefined8 *)0x0); + *(undefined8 *)(param_1 + 0x28) = 0; + *(undefined8 *)(param_1 + 0x30) = 0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001ed00.c b/decomp/AgentManager_Release_x64/full/functions/0x14001ed00.c new file mode 100644 index 00000000..22dae188 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001ed00.c @@ -0,0 +1,69 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001ed00 FUN_14001ed00 + * Pseudocode, not original source. */ + +undefined8 * FUN_14001ed00(longlong *param_1,undefined8 *param_2) + +{ + char cVar1; + longlong lVar2; + ulonglong uVar3; + longlong *plVar4; + char *pcVar5; + + if (*(int *)(param_2 + 4) != 0) { + param_2[3] = param_1; + param_2[9] = param_1[6]; + param_2[10] = 0; + if (param_1[6] != 0) { + *(undefined8 **)(param_1[6] + 0x50) = param_2; + param_1[6] = (longlong)param_2; + return param_2; + } + param_1[5] = (longlong)param_2; + param_1[6] = (longlong)param_2; + return param_2; + } + (**(code **)*param_2)(param_2,1); + plVar4 = param_1; + if (param_1 != (longlong *)0x0) { + while( true ) { + lVar2 = (**(code **)(*plVar4 + 0x20))(plVar4); + if (lVar2 != 0) break; + plVar4 = (longlong *)plVar4[3]; + if (plVar4 == (longlong *)0x0) { + return (undefined8 *)0x0; + } + } + lVar2 = (**(code **)(*plVar4 + 0x20))(plVar4); + if (lVar2 != 0) { + do { + lVar2 = (**(code **)(*param_1 + 0x20))(); + if (lVar2 != 0) { + lVar2 = (**(code **)(*param_1 + 0x20))(); + goto LAB_14001ed8a; + } + param_1 = (longlong *)param_1[3]; + } while (param_1 != (longlong *)0x0); + lVar2 = 0; +LAB_14001ed8a: + if (*(char *)(lVar2 + 0x58) == '\0') { + uVar3 = 0xffffffffffffffff; + *(undefined1 *)(lVar2 + 0x58) = 1; + *(undefined4 *)(lVar2 + 0x5c) = 0x10; + pcVar5 = PTR_s_Error_when_TiXmlDocument_added_t_140174cb0; + do { + if (uVar3 == 0) break; + uVar3 = uVar3 - 1; + cVar1 = *pcVar5; + pcVar5 = pcVar5 + 1; + } while (cVar1 != '\0'); + FUN_14001e2c0((longlong *)(lVar2 + 0x60),PTR_s_Error_when_TiXmlDocument_added_t_140174cb0, + ~uVar3 - 1); + *(undefined8 *)(lVar2 + 0x74) = 0xffffffffffffffff; + } + } + } + return (undefined8 *)0x0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001ee20.c b/decomp/AgentManager_Release_x64/full/functions/0x14001ee20.c new file mode 100644 index 00000000..b43d9140 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001ee20.c @@ -0,0 +1,60 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001ee20 FUN_14001ee20 + * Pseudocode, not original source. */ + +undefined8 FUN_14001ee20(longlong param_1,longlong param_2) + +{ + char cVar1; + char cVar2; + char *pcVar3; + undefined8 uVar4; + longlong *plVar5; + longlong lVar6; + + plVar5 = *(longlong **)(param_1 + 0x28); + do { + if (plVar5 == (longlong *)0x0) { + return 0; + } + pcVar3 = (char *)(plVar5[7] + 0x10); + lVar6 = param_2 - (longlong)pcVar3; + do { + cVar1 = *pcVar3; + cVar2 = pcVar3[lVar6]; + if (cVar1 != cVar2) break; + pcVar3 = pcVar3 + 1; + } while (cVar2 != '\0'); + if (cVar1 == cVar2) { +LAB_14001ee80: + lVar6 = (**(code **)(*plVar5 + 0x30))(plVar5); + if (lVar6 != 0) { + /* WARNING: Could not recover jumptable at 0x00014001eeed. Too many branches */ + /* WARNING: Treating indirect jump as call */ + uVar4 = (**(code **)(*plVar5 + 0x30))(plVar5); + return uVar4; + } + plVar5 = (longlong *)plVar5[10]; + if (plVar5 == (longlong *)0x0) { + return 0; + } + do { + pcVar3 = (char *)(plVar5[7] + 0x10); + lVar6 = param_2 - (longlong)pcVar3; + do { + cVar1 = *pcVar3; + cVar2 = pcVar3[lVar6]; + if (cVar1 != cVar2) break; + pcVar3 = pcVar3 + 1; + } while (cVar2 != '\0'); + if (cVar1 == cVar2) goto LAB_14001ee80; + plVar5 = (longlong *)plVar5[10]; + if (plVar5 == (longlong *)0x0) { + return 0; + } + } while( true ); + } + plVar5 = (longlong *)plVar5[10]; + } while( true ); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001ef00.c b/decomp/AgentManager_Release_x64/full/functions/0x14001ef00.c new file mode 100644 index 00000000..906e3a95 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001ef00.c @@ -0,0 +1,43 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001ef00 FUN_14001ef00 + * Pseudocode, not original source. */ + +undefined8 * FUN_14001ef00(undefined8 *param_1,char *param_2) + +{ + undefined8 *puVar1; + char cVar2; + ulonglong uVar3; + char *pcVar4; + + param_1[1] = 0xffffffffffffffff; + param_1[2] = 0; + param_1[7] = &DAT_14017ce88; + param_1[3] = 0; + *(undefined4 *)(param_1 + 4) = 1; + param_1[9] = 0; + param_1[10] = 0; + *param_1 = TiXmlElement::vftable; + puVar1 = param_1 + 0xb; + param_1[0xc] = 0xffffffffffffffff; + param_1[0xd] = 0; + *puVar1 = TiXmlAttribute::vftable; + param_1[0xf] = &DAT_14017ce88; + param_1[0x11] = &DAT_14017ce88; + param_1[0xe] = 0; + param_1[0x14] = puVar1; + param_1[0x13] = puVar1; + param_1[6] = 0; + param_1[5] = 0; + uVar3 = 0xffffffffffffffff; + pcVar4 = param_2; + do { + if (uVar3 == 0) break; + uVar3 = uVar3 - 1; + cVar2 = *pcVar4; + pcVar4 = pcVar4 + 1; + } while (cVar2 != '\0'); + FUN_14001e2c0(param_1 + 7,param_2,~uVar3 - 1); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001efc0.c b/decomp/AgentManager_Release_x64/full/functions/0x14001efc0.c new file mode 100644 index 00000000..2ab14d24 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001efc0.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001efc0 FUN_14001efc0 + * Pseudocode, not original source. */ + +undefined8 * +FUN_14001efc0(undefined8 *param_1,ulonglong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14001eff0(param_1,param_2,param_3,param_4); + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001eff0.c b/decomp/AgentManager_Release_x64/full/functions/0x14001eff0.c new file mode 100644 index 00000000..ad59ee5d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001eff0.c @@ -0,0 +1,20 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001eff0 FUN_14001eff0 + * Pseudocode, not original source. */ + +void FUN_14001eff0(undefined8 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + *param_1 = TiXmlElement::vftable; + FUN_14001f070((longlong)param_1); + if ((undefined8 *)param_1[0x11] != &DAT_14017ce88) { + operator_delete__((void *)param_1[0x12]); + } + if ((undefined8 *)param_1[0xf] != &DAT_14017ce88) { + operator_delete__((void *)param_1[0x10]); + } + param_1[0xb] = TiXmlBase::vftable; + FUN_14001ec20(param_1,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001f070.c b/decomp/AgentManager_Release_x64/full/functions/0x14001f070.c new file mode 100644 index 00000000..a2804619 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001f070.c @@ -0,0 +1,39 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001f070 FUN_14001f070 + * Pseudocode, not original source. */ + +void FUN_14001f070(longlong param_1) + +{ + undefined8 *puVar1; + undefined8 *puVar2; + + puVar2 = *(undefined8 **)(param_1 + 0x28); + while (puVar2 != (undefined8 *)0x0) { + puVar1 = (undefined8 *)puVar2[10]; + (**(code **)*puVar2)(puVar2,1); + puVar2 = puVar1; + } + *(undefined8 *)(param_1 + 0x28) = 0; + *(undefined8 *)(param_1 + 0x30) = 0; + do { + puVar2 = *(undefined8 **)(param_1 + 0xa0); + if ((puVar2 == (undefined8 *)(param_1 + 0x58)) || (puVar1 = puVar2, puVar2 == (undefined8 *)0x0) + ) { + return; + } + for (; puVar1 != (undefined8 *)(param_1 + 0x58); puVar1 = (undefined8 *)puVar1[9]) { + if (puVar1 == puVar2) { + *(undefined8 *)(puVar1[8] + 0x48) = puVar1[9]; + *(undefined8 *)(puVar1[9] + 0x40) = puVar1[8]; + puVar1[9] = 0; + puVar1[8] = 0; + break; + } + } + if (puVar2 != (undefined8 *)0x0) { + (**(code **)*puVar2)(puVar2,1); + } + } while( true ); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001f130.c b/decomp/AgentManager_Release_x64/full/functions/0x14001f130.c new file mode 100644 index 00000000..13c258f2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001f130.c @@ -0,0 +1,88 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001f130 FUN_14001f130 + * Pseudocode, not original source. */ + +void FUN_14001f130(longlong *param_1,char *param_2,char *param_3) + +{ + char cVar1; + char cVar2; + longlong *plVar3; + char *pcVar4; + undefined8 *puVar5; + ulonglong uVar6; + longlong lVar7; + + for (plVar3 = (longlong *)param_1[0x14]; plVar3 != param_1 + 0xb; plVar3 = (longlong *)plVar3[9]) + { + pcVar4 = (char *)(plVar3[4] + 0x10); + lVar7 = (longlong)param_2 - (longlong)pcVar4; + do { + cVar1 = *pcVar4; + cVar2 = pcVar4[lVar7]; + if (cVar1 != cVar2) break; + pcVar4 = pcVar4 + 1; + } while (cVar2 != '\0'); + if (cVar1 == cVar2) { + if (plVar3 != (longlong *)0x0) { + uVar6 = 0xffffffffffffffff; + pcVar4 = param_3; + goto code_r0x00014001f1b0; + } + break; + } + } + puVar5 = operator_new(0x50); + if (puVar5 == (undefined8 *)0x0) { + puVar5 = (undefined8 *)0x0; + } + else { + puVar5 = FUN_14001e530(puVar5,param_2,param_3); + } + if (puVar5 != (undefined8 *)0x0) { + puVar5[9] = param_1 + 0xb; + puVar5[8] = param_1[0x13]; + *(undefined8 **)(param_1[0x13] + 0x48) = puVar5; + param_1[0x13] = (longlong)puVar5; + return; + } + while( true ) { + if (param_1 == (longlong *)0x0) { + return; + } + lVar7 = (**(code **)(*param_1 + 0x20))(param_1); + if (lVar7 != 0) break; + param_1 = (longlong *)param_1[3]; + } + lVar7 = (**(code **)(*param_1 + 0x20))(); + if (lVar7 == 0) { + return; + } + if (*(char *)(lVar7 + 0x58) != '\0') { + return; + } + *(undefined1 *)(lVar7 + 0x58) = 1; + *(undefined4 *)(lVar7 + 0x5c) = 3; + uVar6 = 0xffffffffffffffff; + pcVar4 = PTR_s_Memory_allocation_failed__140174c48; + do { + if (uVar6 == 0) break; + uVar6 = uVar6 - 1; + cVar1 = *pcVar4; + pcVar4 = pcVar4 + 1; + } while (cVar1 != '\0'); + FUN_14001e2c0((longlong *)(lVar7 + 0x60),PTR_s_Memory_allocation_failed__140174c48,~uVar6 - 1); + *(undefined8 *)(lVar7 + 0x74) = 0xffffffffffffffff; + return; + while( true ) { + uVar6 = uVar6 - 1; + cVar1 = *pcVar4; + pcVar4 = pcVar4 + 1; + if (cVar1 == '\0') break; +code_r0x00014001f1b0: + if (uVar6 == 0) break; + } + FUN_14001e2c0(plVar3 + 6,param_3,~uVar6 - 1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001f2a0.c b/decomp/AgentManager_Release_x64/full/functions/0x14001f2a0.c new file mode 100644 index 00000000..22cfd9e6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001f2a0.c @@ -0,0 +1,64 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001f2a0 FUN_14001f2a0 + * Pseudocode, not original source. */ + +void FUN_14001f2a0(longlong param_1,FILE *param_2,uint param_3) + +{ + longlong *plVar1; + longlong lVar2; + ulonglong uVar3; + ulonglong uVar4; + + uVar4 = (ulonglong)param_3; + uVar3 = uVar4; + if (0 < (int)param_3) { + do { + fprintf(param_2," "); + uVar3 = uVar3 - 1; + } while (uVar3 != 0); + } + fprintf(param_2,"<%s"); + plVar1 = *(longlong **)(param_1 + 0xa0); + if (plVar1 != (longlong *)(param_1 + 0x58)) { + do { + if (plVar1 == (longlong *)0x0) break; + fprintf(param_2," "); + (**(code **)(*plVar1 + 8))(plVar1,param_2,uVar4); + plVar1 = (longlong *)plVar1[9]; + } while ((*(longlong *)plVar1[6] != 0) || (*(longlong *)plVar1[4] != 0)); + } + plVar1 = *(longlong **)(param_1 + 0x28); + if (plVar1 == (longlong *)0x0) { + fprintf(param_2," />"); + } + else { + if ((plVar1 == *(longlong **)(param_1 + 0x30)) && + (lVar2 = (**(code **)(*plVar1 + 0x58))(plVar1), lVar2 != 0)) { + fprintf(param_2,">"); + (**(code **)(**(longlong **)(param_1 + 0x28) + 8)) + (*(longlong **)(param_1 + 0x28),param_2,param_3 + 1); + } + else { + fprintf(param_2,">"); + for (plVar1 = *(longlong **)(param_1 + 0x28); plVar1 != (longlong *)0x0; + plVar1 = (longlong *)plVar1[10]) { + lVar2 = (**(code **)(*plVar1 + 0x58))(plVar1); + if (lVar2 == 0) { + fprintf(param_2,"\n"); + } + (**(code **)(*plVar1 + 8))(plVar1,param_2,param_3 + 1); + } + fprintf(param_2,"\n"); + if (0 < (int)param_3) { + do { + fprintf(param_2," "); + uVar4 = uVar4 - 1; + } while (uVar4 != 0); + } + } + fprintf(param_2,""); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001f470.c b/decomp/AgentManager_Release_x64/full/functions/0x14001f470.c new file mode 100644 index 00000000..bcaf392c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001f470.c @@ -0,0 +1,43 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001f470 FUN_14001f470 + * Pseudocode, not original source. */ + +void FUN_14001f470(longlong param_1,longlong *param_2) + +{ + char cVar1; + longlong lVar2; + longlong *plVar3; + undefined8 *puVar4; + ulonglong uVar5; + char *pcVar6; + char *pcVar7; + + uVar5 = 0xffffffffffffffff; + pcVar6 = (char *)(*(longlong *)(param_1 + 0x38) + 0x10); + pcVar7 = pcVar6; + do { + if (uVar5 == 0) break; + uVar5 = uVar5 - 1; + cVar1 = *pcVar7; + pcVar7 = pcVar7 + 1; + } while (cVar1 != '\0'); + FUN_14001e2c0(param_2 + 7,pcVar6,~uVar5 - 1); + param_2[2] = *(longlong *)(param_1 + 0x10); + lVar2 = *(longlong *)(param_1 + 0xa0); + if (lVar2 != param_1 + 0x58) { + do { + if (lVar2 == 0) break; + FUN_14001f130(param_2,(char *)(*(longlong *)(lVar2 + 0x20) + 0x10), + (char *)(*(longlong *)(lVar2 + 0x30) + 0x10)); + lVar2 = *(longlong *)(lVar2 + 0x48); + } while ((**(longlong **)(lVar2 + 0x30) != 0) || (**(longlong **)(lVar2 + 0x20) != 0)); + } + for (plVar3 = *(longlong **)(param_1 + 0x28); plVar3 != (longlong *)0x0; + plVar3 = (longlong *)plVar3[10]) { + puVar4 = (undefined8 *)(**(code **)(*plVar3 + 0x78))(plVar3); + FUN_14001ed00(param_2,puVar4); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001f540.c b/decomp/AgentManager_Release_x64/full/functions/0x14001f540.c new file mode 100644 index 00000000..863bde08 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001f540.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001f540 FUN_14001f540 + * Pseudocode, not original source. */ + +void FUN_14001f540(longlong param_1,longlong *param_2) + +{ + longlong *plVar1; + char cVar2; + longlong lVar3; + + lVar3 = *(longlong *)(param_1 + 0xa0); + if (*(longlong *)(param_1 + 0xa0) == param_1 + 0x58) { + lVar3 = 0; + } + cVar2 = (**(code **)(*param_2 + 8))(param_2,param_1,lVar3); + if (cVar2 != '\0') { + plVar1 = *(longlong **)(param_1 + 0x28); + while ((plVar1 != (longlong *)0x0 && + (cVar2 = (**(code **)(*plVar1 + 0x80))(plVar1,param_2), cVar2 != '\0'))) { + plVar1 = (longlong *)plVar1[10]; + } + } + /* WARNING: Could not recover jumptable at 0x00014001f5b4. Too many branches */ + /* WARNING: Treating indirect jump as call */ + (**(code **)(*param_2 + 0x18))(param_2,param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001f5c0.c b/decomp/AgentManager_Release_x64/full/functions/0x14001f5c0.c new file mode 100644 index 00000000..0cb08462 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001f5c0.c @@ -0,0 +1,26 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001f5c0 FUN_14001f5c0 + * Pseudocode, not original source. */ + +longlong * FUN_14001f5c0(longlong param_1) + +{ + undefined8 *puVar1; + longlong *plVar2; + + puVar1 = operator_new(0xa8); + if (puVar1 == (undefined8 *)0x0) { + plVar2 = (longlong *)0x0; + } + else { + plVar2 = FUN_14001ef00(puVar1,(char *)(*(longlong *)(param_1 + 0x38) + 0x10)); + } + if (plVar2 == (longlong *)0x0) { + plVar2 = (longlong *)0x0; + } + else { + FUN_14001f470(param_1,plVar2); + } + return plVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001f630.c b/decomp/AgentManager_Release_x64/full/functions/0x14001f630.c new file mode 100644 index 00000000..34e76d93 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001f630.c @@ -0,0 +1,28 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001f630 FUN_14001f630 + * Pseudocode, not original source. */ + +undefined8 * FUN_14001f630(undefined8 *param_1) + +{ + param_1[1] = 0xffffffffffffffff; + param_1[2] = 0; + param_1[7] = &DAT_14017ce88; + param_1[3] = 0; + *(undefined4 *)(param_1 + 4) = 0; + param_1[5] = 0; + param_1[6] = 0; + param_1[9] = 0; + param_1[10] = 0; + *param_1 = TiXmlDocument::vftable; + param_1[0xc] = &DAT_14017ce88; + *(undefined8 *)((longlong)param_1 + 0x74) = 0xffffffffffffffff; + *(undefined4 *)(param_1 + 0xe) = 4; + *(undefined1 *)((longlong)param_1 + 0x7c) = 0; + *(undefined1 *)(param_1 + 0xb) = 0; + *(undefined4 *)((longlong)param_1 + 0x5c) = 0; + FUN_14001e2c0(param_1 + 0xc,&DAT_140132660,0); + *(undefined8 *)((longlong)param_1 + 0x74) = 0; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001f6d0.c b/decomp/AgentManager_Release_x64/full/functions/0x14001f6d0.c new file mode 100644 index 00000000..eb6807f5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001f6d0.c @@ -0,0 +1,41 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001f6d0 FUN_14001f6d0 + * Pseudocode, not original source. */ + +undefined8 * FUN_14001f6d0(undefined8 *param_1,char *param_2) + +{ + char cVar1; + ulonglong uVar2; + char *pcVar3; + + param_1[1] = 0xffffffffffffffff; + param_1[2] = 0; + param_1[7] = &DAT_14017ce88; + param_1[3] = 0; + *(undefined4 *)(param_1 + 4) = 0; + param_1[5] = 0; + param_1[6] = 0; + param_1[9] = 0; + param_1[10] = 0; + *param_1 = TiXmlDocument::vftable; + param_1[0xc] = &DAT_14017ce88; + *(undefined8 *)((longlong)param_1 + 0x74) = 0xffffffffffffffff; + *(undefined4 *)(param_1 + 0xe) = 4; + *(undefined1 *)((longlong)param_1 + 0x7c) = 0; + uVar2 = 0xffffffffffffffff; + pcVar3 = param_2; + do { + if (uVar2 == 0) break; + uVar2 = uVar2 - 1; + cVar1 = *pcVar3; + pcVar3 = pcVar3 + 1; + } while (cVar1 != '\0'); + FUN_14001e2c0(param_1 + 7,param_2,~uVar2 - 1); + *(undefined1 *)(param_1 + 0xb) = 0; + *(undefined4 *)((longlong)param_1 + 0x5c) = 0; + FUN_14001e2c0(param_1 + 0xc,&DAT_140132660,0); + *(undefined8 *)((longlong)param_1 + 0x74) = 0; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001f7a0.c b/decomp/AgentManager_Release_x64/full/functions/0x14001f7a0.c new file mode 100644 index 00000000..b0612f58 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001f7a0.c @@ -0,0 +1,87 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001f7a0 FUN_14001f7a0 + * Pseudocode, not original source. */ + +ulonglong FUN_14001f7a0(longlong *param_1,char *param_2) + +{ + char cVar1; + undefined1 auVar2 [16]; + FILE *_File; + errno_t eVar3; + __uint64 _Var4; + undefined4 extraout_var; + longlong *plVar5; + longlong *extraout_RAX; + ulonglong uVar6; + size_t sVar7; + char *pcVar8; + size_t *psVar9; + FILE *local_res8; + size_t *local_38; + + uVar6 = 0xffffffffffffffff; + pcVar8 = param_2; + do { + if (uVar6 == 0) break; + uVar6 = uVar6 - 1; + cVar1 = *pcVar8; + pcVar8 = pcVar8 + 1; + } while (cVar1 != '\0'); + uVar6 = ~uVar6; + sVar7 = uVar6 - 1; + if (sVar7 == 0) { + psVar9 = &DAT_14017ce88; + } + else { + auVar2._8_8_ = 0; + auVar2._0_8_ = uVar6 + 0x1a >> 2; + _Var4 = SUB168(ZEXT816(4) * auVar2,0); + if (SUB168(ZEXT816(4) * auVar2,8) != 0) { + _Var4 = 0xffffffffffffffff; + } + local_38 = operator_new(_Var4); + *local_38 = sVar7; + *(undefined1 *)((longlong)local_38 + uVar6 + 0xf) = 0; + local_38[1] = sVar7; + psVar9 = local_38; + } + memcpy(psVar9 + 2,param_2,*psVar9); + FUN_14001e2c0(param_1 + 7,psVar9 + 2,*psVar9); + local_res8 = (FILE *)0x0; + eVar3 = fopen_s(&local_res8,(char *)(param_1[7] + 0x10),"rb"); + _File = local_res8; + plVar5 = (longlong *)CONCAT44(extraout_var,eVar3); + if ((eVar3 == 0) && (local_res8 != (FILE *)0x0)) { + uVar6 = FUN_14001f920(param_1,local_res8); + fclose(_File); + if (psVar9 != &DAT_14017ce88) { + operator_delete__(local_38); + } + uVar6 = uVar6 & 0xff; + } + else { + if ((char)param_1[0xb] == '\0') { + *(undefined1 *)(param_1 + 0xb) = 1; + *(undefined4 *)((longlong)param_1 + 0x5c) = 2; + uVar6 = 0xffffffffffffffff; + pcVar8 = PTR_s_Failed_to_open_file_140174c40; + do { + if (uVar6 == 0) break; + uVar6 = uVar6 - 1; + cVar1 = *pcVar8; + pcVar8 = pcVar8 + 1; + } while (cVar1 != '\0'); + plVar5 = FUN_14001e2c0(param_1 + 0xc,PTR_s_Failed_to_open_file_140174c40,~uVar6 - 1); + *(undefined4 *)(param_1 + 0xf) = 0xffffffff; + *(undefined4 *)((longlong)param_1 + 0x74) = 0xffffffff; + } + if (psVar9 != &DAT_14017ce88) { + operator_delete__(local_38); + plVar5 = extraout_RAX; + } + uVar6 = (ulonglong)plVar5 & 0xffffffffffffff00; + } + return uVar6; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001f920.c b/decomp/AgentManager_Release_x64/full/functions/0x14001f920.c new file mode 100644 index 00000000..b21acb40 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001f920.c @@ -0,0 +1,264 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001f920 FUN_14001f920 + * Pseudocode, not original source. */ + +/* WARNING: Type propagation algorithm not settling */ + +ulonglong FUN_14001f920(longlong *param_1,FILE *param_2) + +{ + char cVar1; + ulonglong uVar2; + ulonglong uVar3; + undefined1 auVar4 [16]; + undefined1 auVar5 [16]; + undefined1 auVar6 [16]; + ulonglong *puVar7; + long lVar8; + int iVar9; + longlong *in_RAX; + undefined4 extraout_var; + char *pcVar10; + size_t sVar11; + longlong *extraout_RAX; + longlong *extraout_RAX_00; + __uint64 _Var12; + ulonglong *puVar13; + ulonglong *puVar14; + longlong *extraout_RAX_01; + ulonglong uVar15; + ulonglong uVar16; + char *pcVar17; + char *_Src; + char *pcVar18; + ulonglong *local_res10; + ulonglong *local_res18; + ulonglong *local_res20; + ulonglong *local_a8; + ulonglong *local_88; + ulonglong *local_80; + ulonglong *local_78; + ulonglong *local_70; + ulonglong *local_68; + ulonglong *local_60; + ulonglong *local_58; + ulonglong *local_50; + + if (param_2 == (FILE *)0x0) { + if ((char)param_1[0xb] != '\0') goto LAB_14001f98a; + *(undefined1 *)(param_1 + 0xb) = 1; + *(undefined4 *)((longlong)param_1 + 0x5c) = 2; + pcVar10 = PTR_s_Failed_to_open_file_140174c40; + } + else { + FUN_14001eca0((longlong)param_1); + param_1[1] = -1; + fseek(param_2,0,2); + lVar8 = ftell(param_2); + uVar15 = (ulonglong)lVar8; + iVar9 = fseek(param_2,0,0); + in_RAX = (longlong *)CONCAT44(extraout_var,iVar9); + if (0 < lVar8) { + local_88 = &DAT_14017ce88; + if (DAT_14017ce90 < uVar15) { + FUN_14001e1f0((longlong *)&local_88,uVar15); + } + puVar14 = local_88; + pcVar10 = operator_new((longlong)(lVar8 + 1)); + *pcVar10 = '\0'; + sVar11 = fread(pcVar10,uVar15,1,param_2); + if (sVar11 == 1) { + pcVar10[uVar15] = '\0'; + pcVar18 = pcVar10; + _Src = pcVar10; + if (*pcVar10 != '\0') { + local_res18 = local_70; + local_res20 = local_60; + local_a8 = local_50; + pcVar17 = pcVar10; + do { + puVar13 = &DAT_14017ce88; + if (*pcVar17 == '\n') { + pcVar18 = pcVar17 + (1 - (longlong)_Src) + *puVar14; + puVar7 = puVar14; + if (((char *)puVar14[1] < pcVar18) && + (uVar15 = puVar14[1] + (longlong)pcVar18, puVar14[1] < uVar15)) { + local_78 = &DAT_14017ce88; + local_res10 = (ulonglong *)*puVar14; + if (uVar15 != 0) { + auVar4._8_8_ = 0; + auVar4._0_8_ = uVar15 + 0x1b >> 2; + _Var12 = SUB168(ZEXT816(4) * auVar4,0); + if (SUB168(ZEXT816(4) * auVar4,8) != 0) { + _Var12 = 0xffffffffffffffff; + } + puVar13 = operator_new(_Var12); + *puVar13 = (ulonglong)local_res10; + *(undefined1 *)((longlong)(puVar13 + 2) + (longlong)local_res10) = 0; + puVar13[1] = uVar15; + local_res18 = puVar13; + } + memcpy(puVar13 + 2,puVar14 + 2,*puVar14); + local_70 = local_80; + local_80 = local_res18; + local_res18 = local_70; + puVar7 = puVar13; + local_88 = puVar13; + local_78 = puVar14; + if (puVar14 != &DAT_14017ce88) { + operator_delete__(local_70); + } + } + puVar14 = puVar7; + memmove((void *)(*puVar14 + 0x10 + (longlong)puVar14),_Src, + (size_t)(pcVar17 + (1 - (longlong)_Src))); + *puVar14 = (ulonglong)pcVar18; + *(char *)((longlong)puVar14 + (longlong)(pcVar18 + 0x10)) = '\0'; + pcVar18 = pcVar17 + 1; + _Src = pcVar18; + } + else if (*pcVar17 == '\r') { + sVar11 = (longlong)pcVar17 - (longlong)_Src; + puVar13 = puVar14; + if (0 < (longlong)sVar11) { + uVar15 = sVar11 + *puVar14; + if ((puVar14[1] < uVar15) && (uVar16 = puVar14[1] + uVar15, puVar14[1] < uVar16)) { + local_68 = &DAT_14017ce88; + uVar2 = *puVar14; + if (uVar16 == 0) { + local_res10 = &DAT_14017ce88; + } + else { + auVar5._8_8_ = 0; + auVar5._0_8_ = uVar16 + 0x1b >> 2; + _Var12 = SUB168(ZEXT816(4) * auVar5,0); + if (SUB168(ZEXT816(4) * auVar5,8) != 0) { + _Var12 = 0xffffffffffffffff; + } + local_res10 = operator_new(_Var12); + *local_res10 = uVar2; + *(undefined1 *)((longlong)local_res10 + uVar2 + 0x10) = 0; + local_res10[1] = uVar16; + local_res20 = local_res10; + } + memcpy(local_res10 + 2,puVar14 + 2,*puVar14); + local_60 = local_80; + puVar13 = local_res10; + local_88 = local_res10; + local_80 = local_res20; + local_res20 = local_60; + local_68 = puVar14; + if (puVar14 != &DAT_14017ce88) { + operator_delete__(local_60); + } + } + memmove((void *)(*puVar13 + 0x10 + (longlong)puVar13),_Src,sVar11); + *puVar13 = uVar15; + *(undefined1 *)(uVar15 + 0x10 + (longlong)puVar13) = 0; + } + local_res10 = (ulonglong *)CONCAT71(local_res10._1_7_,10); + uVar15 = *puVar13; + uVar16 = uVar15 + 1; + puVar14 = puVar13; + if ((puVar13[1] < uVar16) && (uVar2 = puVar13[1] + uVar16, puVar13[1] < uVar2)) { + local_58 = &DAT_14017ce88; + uVar3 = *puVar13; + if (uVar2 == 0) { + puVar14 = &DAT_14017ce88; + } + else { + auVar6._8_8_ = 0; + auVar6._0_8_ = uVar2 + 0x1b >> 2; + _Var12 = SUB168(ZEXT816(4) * auVar6,0); + if (SUB168(ZEXT816(4) * auVar6,8) != 0) { + _Var12 = 0xffffffffffffffff; + } + puVar14 = operator_new(_Var12); + *puVar14 = uVar3; + *(undefined1 *)((longlong)puVar14 + uVar3 + 0x10) = 0; + puVar14[1] = uVar2; + local_a8 = puVar14; + } + memcpy(puVar14 + 2,puVar13 + 2,*puVar13); + local_50 = local_80; + local_80 = local_a8; + local_a8 = local_50; + local_88 = puVar14; + local_58 = puVar13; + if (puVar13 != &DAT_14017ce88) { + operator_delete__(local_50); + } + } + memmove((void *)(*puVar14 + 0x10 + (longlong)puVar14),&local_res10,1); + *puVar14 = uVar16; + *(undefined1 *)(uVar15 + 0x11 + (longlong)puVar14) = 0; + pcVar18 = pcVar17 + 1; + _Src = pcVar18; + if (*pcVar18 == '\n') { + pcVar18 = pcVar17 + 2; + _Src = pcVar18; + } + } + else { + pcVar18 = pcVar17 + 1; + } + pcVar17 = pcVar18; + } while (*pcVar18 != '\0'); + } + if ((longlong)pcVar18 - (longlong)_Src != 0) { + FUN_14001e3c0((longlong *)&local_88,_Src,(longlong)pcVar18 - (longlong)_Src); + puVar14 = local_88; + } + operator_delete(pcVar10); + in_RAX = (longlong *)(**(code **)(*param_1 + 0x10))(param_1,puVar14 + 2,0,0); + if ((char)param_1[0xb] == '\0') { + if (puVar14 != &DAT_14017ce88) { + operator_delete__(local_80); + in_RAX = extraout_RAX_01; + } + return CONCAT71((int7)((ulonglong)in_RAX >> 8),1); + } + } + else { + operator_delete(pcVar10); + in_RAX = extraout_RAX; + if ((char)param_1[0xb] == '\0') { + *(undefined1 *)(param_1 + 0xb) = 1; + *(undefined4 *)((longlong)param_1 + 0x5c) = 2; + uVar15 = 0xffffffffffffffff; + pcVar10 = PTR_s_Failed_to_open_file_140174c40; + do { + if (uVar15 == 0) break; + uVar15 = uVar15 - 1; + cVar1 = *pcVar10; + pcVar10 = pcVar10 + 1; + } while (cVar1 != '\0'); + in_RAX = FUN_14001e2c0(param_1 + 0xc,PTR_s_Failed_to_open_file_140174c40,~uVar15 - 1); + *(undefined8 *)((longlong)param_1 + 0x74) = 0xffffffffffffffff; + } + } + if (puVar14 != &DAT_14017ce88) { + operator_delete__(local_80); + in_RAX = extraout_RAX_00; + } + goto LAB_14001f98a; + } + if ((char)param_1[0xb] != '\0') goto LAB_14001f98a; + *(undefined1 *)(param_1 + 0xb) = 1; + *(undefined4 *)((longlong)param_1 + 0x5c) = 0xd; + pcVar10 = PTR_s_Error_document_empty__140174c98; + } + uVar15 = 0xffffffffffffffff; + pcVar18 = pcVar10; + do { + if (uVar15 == 0) break; + uVar15 = uVar15 - 1; + cVar1 = *pcVar18; + pcVar18 = pcVar18 + 1; + } while (cVar1 != '\0'); + in_RAX = FUN_14001e2c0(param_1 + 0xc,pcVar10,~uVar15 - 1); + *(undefined8 *)((longlong)param_1 + 0x74) = 0xffffffffffffffff; +LAB_14001f98a: + return (ulonglong)in_RAX & 0xffffffffffffff00; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001fe30.c b/decomp/AgentManager_Release_x64/full/functions/0x14001fe30.c new file mode 100644 index 00000000..4fd023c8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001fe30.c @@ -0,0 +1,39 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001fe30 FUN_14001fe30 + * Pseudocode, not original source. */ + +void FUN_14001fe30(longlong param_1,longlong *param_2) + +{ + char cVar1; + longlong *plVar2; + undefined8 *puVar3; + ulonglong uVar4; + char *pcVar5; + char *pcVar6; + + uVar4 = 0xffffffffffffffff; + pcVar5 = (char *)(*(longlong *)(param_1 + 0x38) + 0x10); + pcVar6 = pcVar5; + do { + if (uVar4 == 0) break; + uVar4 = uVar4 - 1; + cVar1 = *pcVar6; + pcVar6 = pcVar6 + 1; + } while (cVar1 != '\0'); + FUN_14001e2c0(param_2 + 7,pcVar5,~uVar4 - 1); + param_2[2] = *(longlong *)(param_1 + 0x10); + *(undefined1 *)(param_2 + 0xb) = *(undefined1 *)(param_1 + 0x58); + *(undefined4 *)((longlong)param_2 + 0x5c) = *(undefined4 *)(param_1 + 0x5c); + FUN_14001e2c0(param_2 + 0xc,*(size_t **)(param_1 + 0x60) + 2,**(size_t **)(param_1 + 0x60)); + *(undefined4 *)(param_2 + 0xe) = *(undefined4 *)(param_1 + 0x70); + *(undefined8 *)((longlong)param_2 + 0x74) = *(undefined8 *)(param_1 + 0x74); + *(undefined1 *)((longlong)param_2 + 0x7c) = *(undefined1 *)(param_1 + 0x7c); + for (plVar2 = *(longlong **)(param_1 + 0x28); plVar2 != (longlong *)0x0; + plVar2 = (longlong *)plVar2[10]) { + puVar3 = (undefined8 *)(**(code **)(*plVar2 + 0x78))(plVar2); + FUN_14001ed00(param_2,puVar3); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001fee0.c b/decomp/AgentManager_Release_x64/full/functions/0x14001fee0.c new file mode 100644 index 00000000..8c8c057c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001fee0.c @@ -0,0 +1,26 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001fee0 FUN_14001fee0 + * Pseudocode, not original source. */ + +longlong * FUN_14001fee0(longlong param_1) + +{ + undefined8 *puVar1; + longlong *plVar2; + + puVar1 = operator_new(0x80); + if (puVar1 == (undefined8 *)0x0) { + plVar2 = (longlong *)0x0; + } + else { + plVar2 = FUN_14001f630(puVar1); + } + if (plVar2 == (longlong *)0x0) { + plVar2 = (longlong *)0x0; + } + else { + FUN_14001fe30(param_1,plVar2); + } + return plVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001ff40.c b/decomp/AgentManager_Release_x64/full/functions/0x14001ff40.c new file mode 100644 index 00000000..1884c988 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001ff40.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001ff40 FUN_14001ff40 + * Pseudocode, not original source. */ + +void FUN_14001ff40(longlong param_1,FILE *param_2,undefined4 param_3) + +{ + longlong *plVar1; + + for (plVar1 = *(longlong **)(param_1 + 0x28); plVar1 != (longlong *)0x0; + plVar1 = (longlong *)plVar1[10]) { + (**(code **)(*plVar1 + 8))(plVar1,param_2,param_3); + fprintf(param_2,"\n"); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14001ffa0.c b/decomp/AgentManager_Release_x64/full/functions/0x14001ffa0.c new file mode 100644 index 00000000..480e0fd3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14001ffa0.c @@ -0,0 +1,24 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14001ffa0 FUN_14001ffa0 + * Pseudocode, not original source. */ + +void FUN_14001ffa0(longlong param_1,longlong *param_2) + +{ + longlong *plVar1; + char cVar2; + + cVar2 = (**(code **)(*param_2 + 0x10))(param_2,param_1); + if (cVar2 != '\0') { + plVar1 = *(longlong **)(param_1 + 0x28); + while ((plVar1 != (longlong *)0x0 && + (cVar2 = (**(code **)(*plVar1 + 0x80))(plVar1,param_2), cVar2 != '\0'))) { + plVar1 = (longlong *)plVar1[10]; + } + } + /* WARNING: Could not recover jumptable at 0x000140020004. Too many branches */ + /* WARNING: Treating indirect jump as call */ + (**(code **)(*param_2 + 0x20))(param_2,param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140020010.c b/decomp/AgentManager_Release_x64/full/functions/0x140020010.c new file mode 100644 index 00000000..c7f6cfa1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140020010.c @@ -0,0 +1,102 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140020010 FUN_140020010 + * Pseudocode, not original source. */ + +/* WARNING: Restarted to delay deadcode elimination for space: register */ + +void FUN_140020010(longlong param_1,FILE *param_2,longlong *param_3) + +{ + ulonglong uVar1; + char cVar2; + longlong *plVar3; + size_t *psVar4; + size_t *psVar5; + longlong *plVar6; + undefined *_Src; + ulonglong uVar7; + size_t *local_30; + void *local_28; + size_t *local_20; + void *local_18; + + local_20 = &DAT_14017ce88; + local_30 = &DAT_14017ce88; + FUN_14001e8a0((undefined8 *)(param_1 + 0x20),(longlong *)&local_20); + FUN_14001e8a0((undefined8 *)(param_1 + 0x30),(longlong *)&local_30); + psVar5 = local_20; + psVar4 = local_30; + plVar3 = *(longlong **)(param_1 + 0x30); + if (*plVar3 != 0) { + plVar6 = plVar3 + 2; + cVar2 = (char)*plVar6; + while (cVar2 != '\0') { + if (cVar2 == '\"') { + if ((longlong)plVar6 - (longlong)plVar3 != 0xf) { + if (param_2 != (FILE *)0x0) { + fprintf(param_2,"%s=\'%s\'",local_20 + 2,local_30 + 2); + } + if (param_3 == (longlong *)0x0) goto LAB_140020265; + FUN_14001e3c0(param_3,psVar5 + 2,*psVar5); + plVar3 = (longlong *)*param_3; + uVar7 = *plVar3 + 2; + if (((ulonglong)plVar3[1] < uVar7) && + (uVar1 = plVar3[1] + uVar7, (ulonglong)plVar3[1] < uVar1)) { + FUN_14001e1f0(param_3,uVar1); + } + memmove((void *)(*param_3 + *(longlong *)*param_3 + 0x10),&DAT_1401326b0,2); + *(ulonglong *)*param_3 = uVar7; + *(undefined1 *)(*param_3 + 0x10 + uVar7) = 0; + FUN_14001e3c0(param_3,psVar4 + 2,*psVar4); + plVar3 = (longlong *)*param_3; + uVar7 = *plVar3 + 1; + if (((ulonglong)plVar3[1] < uVar7) && + (uVar1 = plVar3[1] + uVar7, (ulonglong)plVar3[1] < uVar1)) { + FUN_14001e1f0(param_3,uVar1); + } + _Src = &DAT_1401326b4; + goto LAB_140020240; + } + break; + } + plVar6 = (longlong *)((longlong)plVar6 + 1); + cVar2 = *(char *)plVar6; + } + } + if (param_2 != (FILE *)0x0) { + fprintf(param_2,"%s=\"%s\"",local_20 + 2,local_30 + 2); + } + if (param_3 != (longlong *)0x0) { + FUN_14001e3c0(param_3,psVar5 + 2,*psVar5); + plVar3 = (longlong *)*param_3; + uVar7 = *plVar3 + 2; + if (((ulonglong)plVar3[1] < uVar7) && (uVar1 = plVar3[1] + uVar7, (ulonglong)plVar3[1] < uVar1)) + { + FUN_14001e1f0(param_3,uVar1); + } + memmove((void *)(*param_3 + *(longlong *)*param_3 + 0x10),&DAT_1401326a0,2); + *(ulonglong *)*param_3 = uVar7; + *(undefined1 *)(*param_3 + 0x10 + uVar7) = 0; + FUN_14001e3c0(param_3,psVar4 + 2,*psVar4); + plVar3 = (longlong *)*param_3; + uVar7 = *plVar3 + 1; + if (((ulonglong)plVar3[1] < uVar7) && (uVar1 = plVar3[1] + uVar7, (ulonglong)plVar3[1] < uVar1)) + { + FUN_14001e1f0(param_3,uVar1); + } + _Src = &DAT_1401326a4; +LAB_140020240: + memmove((void *)(*param_3 + *(longlong *)*param_3 + 0x10),_Src,1); + *(ulonglong *)*param_3 = uVar7; + *(undefined1 *)(*param_3 + 0x10 + uVar7) = 0; + } +LAB_140020265: + if (psVar4 != &DAT_14017ce88) { + operator_delete__(local_28); + } + if (psVar5 != &DAT_14017ce88) { + operator_delete__(local_18); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400202b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400202b0.c new file mode 100644 index 00000000..444e6f3c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400202b0.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400202b0 FUN_1400202b0 + * Pseudocode, not original source. */ + +void FUN_1400202b0(undefined8 param_1,FILE *param_2,uint param_3) + +{ + ulonglong uVar1; + + if (0 < (int)param_3) { + uVar1 = (ulonglong)param_3; + do { + fprintf(param_2," "); + uVar1 = uVar1 - 1; + } while (uVar1 != 0); + } + /* WARNING: Could not recover jumptable at 0x000140020306. Too many branches */ + /* WARNING: Treating indirect jump as call */ + fprintf(param_2,""); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140020310.c b/decomp/AgentManager_Release_x64/full/functions/0x140020310.c new file mode 100644 index 00000000..6bdca3dc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140020310.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140020310 FUN_140020310 + * Pseudocode, not original source. */ + +void FUN_140020310(undefined8 param_1,longlong *param_2) + +{ + /* WARNING: Could not recover jumptable at 0x00014002031c. Too many branches */ + /* WARNING: Treating indirect jump as call */ + (**(code **)(*param_2 + 0x30))(param_2,param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140020320.c b/decomp/AgentManager_Release_x64/full/functions/0x140020320.c new file mode 100644 index 00000000..e5b10043 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140020320.c @@ -0,0 +1,41 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140020320 FUN_140020320 + * Pseudocode, not original source. */ + +undefined8 * FUN_140020320(longlong param_1) + +{ + char cVar1; + undefined8 *puVar2; + ulonglong uVar3; + char *pcVar4; + char *pcVar5; + + puVar2 = operator_new(0x58); + if (puVar2 == (undefined8 *)0x0) { + return (undefined8 *)0x0; + } + puVar2[1] = 0xffffffffffffffff; + uVar3 = 0xffffffffffffffff; + puVar2[2] = 0; + puVar2[7] = &DAT_14017ce88; + puVar2[3] = 0; + puVar2[5] = 0; + puVar2[6] = 0; + puVar2[9] = 0; + puVar2[10] = 0; + *(undefined4 *)(puVar2 + 4) = 2; + *puVar2 = TiXmlComment::vftable; + pcVar4 = (char *)(*(longlong *)(param_1 + 0x38) + 0x10); + pcVar5 = pcVar4; + do { + if (uVar3 == 0) break; + uVar3 = uVar3 - 1; + cVar1 = *pcVar5; + pcVar5 = pcVar5 + 1; + } while (cVar1 != '\0'); + FUN_14001e2c0(puVar2 + 7,pcVar4,~uVar3 - 1); + puVar2[2] = *(undefined8 *)(param_1 + 0x10); + return puVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400204b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400204b0.c new file mode 100644 index 00000000..ef8075df --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400204b0.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400204b0 FUN_1400204b0 + * Pseudocode, not original source. */ + +void FUN_1400204b0(undefined8 param_1,longlong *param_2) + +{ + /* WARNING: Could not recover jumptable at 0x0001400204bc. Too many branches */ + /* WARNING: Treating indirect jump as call */ + (**(code **)(*param_2 + 0x38))(param_2,param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400204c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400204c0.c new file mode 100644 index 00000000..c6cff61e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400204c0.c @@ -0,0 +1,40 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400204c0 FUN_1400204c0 + * Pseudocode, not original source. */ + +undefined8 * FUN_1400204c0(longlong param_1) + +{ + char cVar1; + undefined8 *puVar2; + undefined8 *puVar3; + ulonglong uVar4; + char *pcVar5; + char *pcVar6; + + puVar2 = operator_new(0x60); + if (puVar2 == (undefined8 *)0x0) { + puVar2 = (undefined8 *)0x0; + } + else { + puVar2 = FUN_14001e6f0(puVar2); + } + puVar3 = (undefined8 *)0x0; + if (puVar2 != (undefined8 *)0x0) { + pcVar5 = (char *)(*(longlong *)(param_1 + 0x38) + 0x10); + uVar4 = 0xffffffffffffffff; + pcVar6 = pcVar5; + do { + if (uVar4 == 0) break; + uVar4 = uVar4 - 1; + cVar1 = *pcVar6; + pcVar6 = pcVar6 + 1; + } while (cVar1 != '\0'); + FUN_14001e2c0(puVar2 + 7,pcVar5,~uVar4 - 1); + puVar2[2] = *(undefined8 *)(param_1 + 0x10); + *(undefined1 *)(puVar2 + 0xb) = *(undefined1 *)(param_1 + 0x58); + puVar3 = puVar2; + } + return puVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140020550.c b/decomp/AgentManager_Release_x64/full/functions/0x140020550.c new file mode 100644 index 00000000..b17c4d56 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140020550.c @@ -0,0 +1,26 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140020550 FUN_140020550 + * Pseudocode, not original source. */ + +undefined8 * FUN_140020550(undefined8 *param_1) + +{ + param_1[1] = 0xffffffffffffffff; + param_1[2] = 0; + param_1[7] = &DAT_14017ce88; + param_1[3] = 0; + *(undefined4 *)(param_1 + 4) = 5; + param_1[5] = 0; + param_1[6] = 0; + param_1[9] = 0; + param_1[10] = 0; + *param_1 = TiXmlDeclaration::vftable; + param_1[0xb] = &DAT_14017ce88; + param_1[0xd] = &DAT_14017ce88; + param_1[0xf] = &DAT_14017ce88; + FUN_14001e2c0(param_1 + 0xb,&DAT_14013448c,3); + FUN_14001e2c0(param_1 + 0xd,&DAT_140132660,0); + FUN_14001e2c0(param_1 + 0xf,&DAT_140132660,0); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140020610.c b/decomp/AgentManager_Release_x64/full/functions/0x140020610.c new file mode 100644 index 00000000..caf69789 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140020610.c @@ -0,0 +1,123 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140020610 FUN_140020610 + * Pseudocode, not original source. */ + +void FUN_140020610(longlong param_1,FILE *param_2,undefined8 param_3,longlong *param_4) + +{ + ulonglong uVar1; + longlong *plVar2; + longlong lVar3; + ulonglong uVar4; + + if (param_2 != (FILE *)0x0) { + fprintf(param_2,""); + } + if (param_4 != (longlong *)0x0) { + plVar2 = (longlong *)*param_4; + lVar3 = *plVar2; + uVar4 = lVar3 + 2; + if (((ulonglong)plVar2[1] < uVar4) && (uVar1 = plVar2[1] + uVar4, (ulonglong)plVar2[1] < uVar1)) + { + FUN_14001e1f0(param_4,uVar1); + } + memmove((void *)(*param_4 + *(longlong *)*param_4 + 0x10),&DAT_140132748,2); + *(ulonglong *)*param_4 = uVar4; + *(undefined1 *)(lVar3 + 0x12 + *param_4) = 0; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400209d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400209d0.c new file mode 100644 index 00000000..b0e0d02e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400209d0.c @@ -0,0 +1,32 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400209d0 FUN_1400209d0 + * Pseudocode, not original source. */ + +void FUN_1400209d0(longlong param_1,longlong param_2) + +{ + char cVar1; + ulonglong uVar2; + char *pcVar3; + char *pcVar4; + + uVar2 = 0xffffffffffffffff; + pcVar3 = (char *)(*(longlong *)(param_1 + 0x38) + 0x10); + pcVar4 = pcVar3; + do { + if (uVar2 == 0) break; + uVar2 = uVar2 - 1; + cVar1 = *pcVar4; + pcVar4 = pcVar4 + 1; + } while (cVar1 != '\0'); + FUN_14001e2c0((longlong *)(param_2 + 0x38),pcVar3,~uVar2 - 1); + *(undefined8 *)(param_2 + 0x10) = *(undefined8 *)(param_1 + 0x10); + FUN_14001e2c0((longlong *)(param_2 + 0x58),*(size_t **)(param_1 + 0x58) + 2, + **(size_t **)(param_1 + 0x58)); + FUN_14001e2c0((longlong *)(param_2 + 0x68),*(size_t **)(param_1 + 0x68) + 2, + **(size_t **)(param_1 + 0x68)); + FUN_14001e2c0((longlong *)(param_2 + 0x78),*(size_t **)(param_1 + 0x78) + 2, + **(size_t **)(param_1 + 0x78)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140020a60.c b/decomp/AgentManager_Release_x64/full/functions/0x140020a60.c new file mode 100644 index 00000000..41060ee0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140020a60.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140020a60 FUN_140020a60 + * Pseudocode, not original source. */ + +void FUN_140020a60(undefined8 param_1,longlong *param_2) + +{ + /* WARNING: Could not recover jumptable at 0x000140020a6c. Too many branches */ + /* WARNING: Treating indirect jump as call */ + (**(code **)(*param_2 + 0x40))(param_2,param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140020a70.c b/decomp/AgentManager_Release_x64/full/functions/0x140020a70.c new file mode 100644 index 00000000..1db17976 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140020a70.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140020a70 FUN_140020a70 + * Pseudocode, not original source. */ + +undefined8 * FUN_140020a70(longlong param_1) + +{ + undefined8 *puVar1; + + puVar1 = operator_new(0x88); + if (puVar1 != (undefined8 *)0x0) { + puVar1[1] = 0xffffffffffffffff; + puVar1[2] = 0; + puVar1[7] = &DAT_14017ce88; + puVar1[3] = 0; + puVar1[5] = 0; + puVar1[6] = 0; + puVar1[9] = 0; + puVar1[10] = 0; + *(undefined4 *)(puVar1 + 4) = 5; + *puVar1 = TiXmlDeclaration::vftable; + puVar1[0xb] = &DAT_14017ce88; + puVar1[0xd] = &DAT_14017ce88; + puVar1[0xf] = &DAT_14017ce88; + FUN_1400209d0(param_1,(longlong)puVar1); + return puVar1; + } + return (undefined8 *)0x0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140020b00.c b/decomp/AgentManager_Release_x64/full/functions/0x140020b00.c new file mode 100644 index 00000000..c722abb5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140020b00.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140020b00 FUN_140020b00 + * Pseudocode, not original source. */ + +void FUN_140020b00(undefined8 param_1,FILE *param_2,uint param_3) + +{ + ulonglong uVar1; + + if (0 < (int)param_3) { + uVar1 = (ulonglong)param_3; + do { + fprintf(param_2," "); + uVar1 = uVar1 - 1; + } while (uVar1 != 0); + } + /* WARNING: Could not recover jumptable at 0x000140020b56. Too many branches */ + /* WARNING: Treating indirect jump as call */ + fprintf(param_2,"<%s>"); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140020b60.c b/decomp/AgentManager_Release_x64/full/functions/0x140020b60.c new file mode 100644 index 00000000..07777e98 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140020b60.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140020b60 FUN_140020b60 + * Pseudocode, not original source. */ + +void FUN_140020b60(undefined8 param_1,longlong *param_2) + +{ + /* WARNING: Could not recover jumptable at 0x000140020b6c. Too many branches */ + /* WARNING: Treating indirect jump as call */ + (**(code **)(*param_2 + 0x28))(param_2,param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140020b70.c b/decomp/AgentManager_Release_x64/full/functions/0x140020b70.c new file mode 100644 index 00000000..a63106ed --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140020b70.c @@ -0,0 +1,41 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140020b70 FUN_140020b70 + * Pseudocode, not original source. */ + +undefined8 * FUN_140020b70(longlong param_1) + +{ + char cVar1; + undefined8 *puVar2; + ulonglong uVar3; + char *pcVar4; + char *pcVar5; + + puVar2 = operator_new(0x58); + if (puVar2 == (undefined8 *)0x0) { + return (undefined8 *)0x0; + } + puVar2[1] = 0xffffffffffffffff; + uVar3 = 0xffffffffffffffff; + puVar2[2] = 0; + puVar2[7] = &DAT_14017ce88; + puVar2[3] = 0; + puVar2[5] = 0; + puVar2[6] = 0; + puVar2[9] = 0; + puVar2[10] = 0; + *(undefined4 *)(puVar2 + 4) = 3; + *puVar2 = TiXmlUnknown::vftable; + pcVar4 = (char *)(*(longlong *)(param_1 + 0x38) + 0x10); + pcVar5 = pcVar4; + do { + if (uVar3 == 0) break; + uVar3 = uVar3 - 1; + cVar1 = *pcVar5; + pcVar5 = pcVar5 + 1; + } while (cVar1 != '\0'); + FUN_14001e2c0(puVar2 + 7,pcVar4,~uVar3 - 1); + puVar2[2] = *(undefined8 *)(param_1 + 0x10); + return puVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140020c20.c b/decomp/AgentManager_Release_x64/full/functions/0x140020c20.c new file mode 100644 index 00000000..c478cc0a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140020c20.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140020c20 FUN_140020c20 + * Pseudocode, not original source. */ + +void FUN_140020c20(char *param_1,size_t param_2,char *param_3,undefined8 param_4) + +{ + undefined8 local_res20; + + local_res20 = param_4; + _vsnprintf_s(param_1,0x40,param_2,param_3,(va_list)&local_res20); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140020c50.c b/decomp/AgentManager_Release_x64/full/functions/0x140020c50.c new file mode 100644 index 00000000..209570a2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140020c50.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140020c50 FUN_140020c50 + * Pseudocode, not original source. */ + +undefined4 FUN_140020c50(byte param_1) + +{ + int iVar1; + + iVar1 = isspace((uint)param_1); + if (((iVar1 == 0) && (param_1 != 10)) && (param_1 != 0xd)) { + return 0; + } + return CONCAT31((int3)((uint)iVar1 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140020c80.c b/decomp/AgentManager_Release_x64/full/functions/0x140020c80.c new file mode 100644 index 00000000..5e6fff22 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140020c80.c @@ -0,0 +1,87 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140020c80 FUN_140020c80 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_140020c80(uint param_1,longlong param_2,int *param_3) + +{ + int iVar1; + byte bVar2; + byte *pbVar3; + byte local_38 [32]; + ulonglong local_18; + + local_18 = DAT_14016f5a0 ^ (ulonglong)local_38; + local_38[8] = 0xc0; + local_38[9] = 0; + local_38[10] = 0; + local_38[0xb] = 0; + local_38[0xc] = 0xe0; + local_38[0xd] = 0; + local_38[0xe] = 0; + local_38[0xf] = 0; + local_38[0x10] = 0xf0; + local_38[0x11] = 0; + local_38[0x12] = 0; + local_38[0x13] = 0; + local_38[0x14] = 0xf8; + local_38[0x15] = 0; + local_38[0x16] = 0; + local_38[0x17] = 0; + local_38[0] = 0; + local_38[1] = 0; + local_38[2] = 0; + local_38[3] = 0; + local_38[4] = 0; + local_38[5] = 0; + local_38[6] = 0; + local_38[7] = 0; + local_38[0x18] = 0xfc; + local_38[0x19] = 0; + local_38[0x1a] = 0; + local_38[0x1b] = 0; + if (param_1 < 0x80) { + *param_3 = 1; + } + else if (param_1 < 0x800) { + *param_3 = 2; + } + else if (param_1 < 0x10000) { + *param_3 = 3; + } + else { + if (0x1fffff < param_1) { + *param_3 = 0; + return; + } + *param_3 = 4; + } + iVar1 = *param_3; + pbVar3 = (byte *)(param_2 + iVar1); + if (iVar1 != 1) { + if (iVar1 != 2) { + if (iVar1 != 3) { + if (iVar1 != 4) { + return; + } + pbVar3 = pbVar3 + -1; + bVar2 = (byte)param_1; + param_1 = param_1 >> 6; + *pbVar3 = bVar2 & 0x3f | 0x80; + } + pbVar3 = pbVar3 + -1; + bVar2 = (byte)param_1; + param_1 = param_1 >> 6; + *pbVar3 = bVar2 & 0x3f | 0x80; + } + pbVar3 = pbVar3 + -1; + bVar2 = (byte)param_1; + param_1 = param_1 >> 6; + *pbVar3 = bVar2 & 0x3f | 0x80; + } + pbVar3[-1] = local_38[(longlong)*param_3 * 4] | (byte)param_1; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140020d90.c b/decomp/AgentManager_Release_x64/full/functions/0x140020d90.c new file mode 100644 index 00000000..5ca8e00b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140020d90.c @@ -0,0 +1,97 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140020d90 FUN_140020d90 + * Pseudocode, not original source. */ + +void FUN_140020d90(int *param_1,byte *param_2,int param_3) + +{ + byte bVar1; + byte bVar2; + int iVar3; + byte *pbVar4; + byte *pbVar5; + int iVar6; + int iVar7; + int iVar8; + + iVar3 = param_1[4]; + if (0 < iVar3) { + iVar8 = *param_1; + iVar7 = param_1[1]; + pbVar5 = *(byte **)(param_1 + 2); +joined_r0x000140020dc8: + pbVar4 = pbVar5; + if (pbVar4 < param_2) { + bVar1 = *pbVar4; + if (bVar1 == 0) { + return; + } + if (bVar1 == 9) { + iVar7 = (iVar7 / iVar3 + 1) * iVar3; + pbVar5 = pbVar4 + 1; + } + else { + if (bVar1 != 10) { + if (bVar1 == 0xd) { + iVar8 = iVar8 + 1; + iVar7 = 0; + pbVar5 = pbVar4 + 1; + if (pbVar4[1] == 10) { + pbVar5 = pbVar4 + 2; + } + goto joined_r0x000140020dc8; + } + if (bVar1 == 0xef) { + if (param_3 == 1) { + bVar1 = pbVar4[1]; + pbVar5 = pbVar4; + if ((bVar1 != 0) && (bVar2 = pbVar4[2], bVar2 != 0)) { + if ((bVar1 != 0xbb) || (bVar2 != 0xbf)) { + if (bVar1 == 0xbf) { + if (bVar2 == 0xbe) { + pbVar5 = pbVar4 + 3; + goto joined_r0x000140020dc8; + } + if (bVar2 == 0xbf) { + pbVar5 = pbVar4 + 3; + goto joined_r0x000140020dc8; + } + } + iVar7 = iVar7 + 1; + pbVar5 = pbVar4 + 3; + goto joined_r0x000140020dc8; + } + pbVar5 = pbVar4 + 3; + } + goto joined_r0x000140020dc8; + } + } + else if (param_3 == 1) { + iVar6 = *(int *)(&DAT_140132000 + (ulonglong)bVar1 * 4); + if (iVar6 == 0) { + iVar6 = 1; + } + iVar7 = iVar7 + 1; + pbVar5 = pbVar4 + iVar6; + goto joined_r0x000140020dc8; + } + iVar7 = iVar7 + 1; + pbVar5 = pbVar4 + 1; + goto joined_r0x000140020dc8; + } + iVar8 = iVar8 + 1; + iVar7 = 0; + pbVar5 = pbVar4 + 1; + if (pbVar4[1] == 0xd) { + pbVar5 = pbVar4 + 2; + } + } + goto joined_r0x000140020dc8; + } + *param_1 = iVar8; + param_1[1] = iVar7; + *(byte **)(param_1 + 2) = pbVar4; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140020ee0.c b/decomp/AgentManager_Release_x64/full/functions/0x140020ee0.c new file mode 100644 index 00000000..c66a78fa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140020ee0.c @@ -0,0 +1,51 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140020ee0 FUN_140020ee0 + * Pseudocode, not original source. */ + +byte * FUN_140020ee0(byte *param_1,int param_2) + +{ + int iVar1; + byte bVar2; + + if ((param_1 == (byte *)0x0) || (bVar2 = *param_1, bVar2 == 0)) { + return (byte *)0x0; + } + if (param_2 == 1) { + do { + if (bVar2 == 0xef) { + if ((param_1[1] == 0xbb) && (param_1[2] == 0xbf)) { + param_1 = param_1 + 3; + } + else { + if (param_1[1] != 0xbf) goto LAB_140020f40; + if (param_1[2] == 0xbe) { + param_1 = param_1 + 3; + } + else { + if (param_1[2] != 0xbf) goto LAB_140020f40; + param_1 = param_1 + 3; + } + } + } + else { +LAB_140020f40: + iVar1 = isspace((uint)bVar2); + if ((((iVar1 == 0) && (bVar2 != 10)) && (bVar2 != 0xd)) && + ((*param_1 != 10 && (*param_1 != 0xd)))) { + return param_1; + } + param_1 = param_1 + 1; + } + bVar2 = *param_1; + } while (bVar2 != 0); + } + else { + for (; ((bVar2 = *param_1, bVar2 != 0 && + (((iVar1 = isspace((uint)bVar2), iVar1 != 0 || (bVar2 == 10)) || (bVar2 == 0xd)))) || + ((*param_1 == 10 || (*param_1 == 0xd)))); param_1 = param_1 + 1) { + } + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140020fc0.c b/decomp/AgentManager_Release_x64/full/functions/0x140020fc0.c new file mode 100644 index 00000000..8cfd9332 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140020fc0.c @@ -0,0 +1,31 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140020fc0 FUN_140020fc0 + * Pseudocode, not original source. */ + +byte * FUN_140020fc0(byte *param_1,longlong *param_2) + +{ + byte bVar1; + int iVar2; + byte *pbVar3; + + FUN_14001e2c0(param_2,&DAT_140132660,0); + if (((param_1 == (byte *)0x0) || (bVar1 = *param_1, bVar1 == 0)) || + ((pbVar3 = param_1, bVar1 < 0x7f && + ((iVar2 = isalpha((uint)bVar1), iVar2 == 0 && (*param_1 != 0x5f)))))) { + return (byte *)0x0; + } + do { + bVar1 = *pbVar3; + if ((bVar1 == 0) || + (((((bVar1 < 0x7f && (iVar2 = isalnum((uint)bVar1), iVar2 == 0)) && + (bVar1 = *pbVar3, bVar1 != 0x5f)) && ((bVar1 != 0x2d && (bVar1 != 0x2e)))) && + (bVar1 != 0x3a)))) break; + pbVar3 = pbVar3 + 1; + } while (pbVar3 != (byte *)0x0); + if (0 < (longlong)pbVar3 - (longlong)param_1) { + FUN_14001e2c0(param_2,param_1,(longlong)pbVar3 - (longlong)param_1); + } + return pbVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140021080.c b/decomp/AgentManager_Release_x64/full/functions/0x140021080.c new file mode 100644 index 00000000..5d28751e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140021080.c @@ -0,0 +1,101 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140021080 FUN_140021080 + * Pseudocode, not original source. */ + +char * FUN_140021080(char *param_1,char *param_2,int *param_3,int param_4) + +{ + char cVar1; + int iVar2; + char *pcVar3; + uint uVar4; + int iVar5; + undefined **ppuVar6; + longlong lVar7; + char *pcVar8; + + cVar1 = param_1[1]; + uVar4 = 0; + *param_3 = 0; + if ((cVar1 != '\0') && (cVar1 == '#')) { + if (param_1[2] != '\0') { + iVar5 = 1; + if (param_1[2] == 'x') { + if (((param_1[3] != '\0') && (pcVar3 = strchr(param_1 + 3,0x3b), pcVar3 != (char *)0x0)) && + (*pcVar3 != '\0')) { + pcVar8 = pcVar3 + -1; + lVar7 = (longlong)pcVar3 - (longlong)param_1; + cVar1 = *pcVar8; + while (cVar1 != 'x') { + if ((cVar1 < '0') || ('9' < cVar1)) { + if ((cVar1 < 'a') || ('f' < cVar1)) { + if (cVar1 < 'A') { + return (char *)0x0; + } + if ('F' < cVar1) { + return (char *)0x0; + } + iVar2 = cVar1 + -0x37; + } + else { + iVar2 = cVar1 + -0x57; + } + } + else { + iVar2 = cVar1 + -0x30; + } + iVar2 = iVar2 * iVar5; + pcVar8 = pcVar8 + -1; + iVar5 = iVar5 << 4; + uVar4 = uVar4 + iVar2; + cVar1 = *pcVar8; + } +LAB_1400211b0: + if (param_4 != 1) { + *param_2 = (char)uVar4; + *param_3 = 1; + return param_1 + lVar7 + 1; + } + FUN_140020c80(uVar4,(longlong)param_2,param_3); + return param_1 + lVar7 + 1; + } + } + else { + pcVar3 = strchr(param_1 + 2,0x3b); + if ((pcVar3 != (char *)0x0) && (*pcVar3 != '\0')) { + pcVar8 = pcVar3 + -1; + lVar7 = (longlong)pcVar3 - (longlong)param_1; + cVar1 = *pcVar8; + while (cVar1 != '#') { + if (cVar1 < '0') { + return (char *)0x0; + } + if ('9' < cVar1) { + return (char *)0x0; + } + pcVar8 = pcVar8 + -1; + uVar4 = uVar4 + (cVar1 + -0x30) * iVar5; + iVar5 = iVar5 * 10; + cVar1 = *pcVar8; + } + goto LAB_1400211b0; + } + } + return (char *)0x0; + } + } + ppuVar6 = &PTR_s__amp__140174cc0; + do { + iVar5 = strncmp(*ppuVar6,param_1,(ulonglong)*(uint *)(ppuVar6 + 1)); + if (iVar5 == 0) { + *param_3 = 1; + *param_2 = (&DAT_140174ccc)[(longlong)(int)uVar4 * 0x10]; + return param_1 + (uint)(&DAT_140174cc8)[(longlong)(int)uVar4 * 4]; + } + ppuVar6 = ppuVar6 + 2; + uVar4 = uVar4 + 1; + } while ((longlong)ppuVar6 < 0x140174d10); + *param_2 = *param_1; + return param_1 + 1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140021270.c b/decomp/AgentManager_Release_x64/full/functions/0x140021270.c new file mode 100644 index 00000000..968de039 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140021270.c @@ -0,0 +1,56 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140021270 FUN_140021270 + * Pseudocode, not original source. */ + +ulonglong FUN_140021270(char *param_1,char *param_2,char param_3,int param_4) + +{ + char cVar1; + uint _C; + int iVar2; + ulonglong in_RAX; + undefined4 extraout_var; + ulonglong uVar3; + int _C_00; + longlong lVar4; + + if ((param_1 == (char *)0x0) || (*param_1 == '\0')) { + return in_RAX & 0xffffffffffffff00; + } + if (param_3 == '\0') { + do { + in_RAX = 0; + if (*param_2 == '\0') goto LAB_1400212f0; + if (*param_1 != *param_2) break; + param_1 = param_1 + 1; + param_2 = param_2 + 1; + } while (*param_1 != '\0'); + cVar1 = *param_2; + } + else { + lVar4 = (longlong)param_1 - (longlong)param_2; + do { + if (*param_2 == '\0') goto LAB_1400212f0; + _C_00 = (int)param_2[lVar4]; + if ((param_4 != 1) || (_C_00 < 0x80)) { + _C_00 = tolower(_C_00); + } + _C = (uint)*param_2; + in_RAX = (ulonglong)_C; + if ((param_4 != 1) || ((int)_C < 0x80)) { + iVar2 = tolower(_C); + in_RAX = CONCAT44(extraout_var,iVar2); + } + } while ((_C_00 == (int)in_RAX) && (param_2 = param_2 + 1, param_2[lVar4] != '\0')); + cVar1 = *param_2; + } + if (cVar1 == '\0') { +LAB_1400212f0: + uVar3 = CONCAT71((int7)(in_RAX >> 8),1); + } + else { + uVar3 = in_RAX & 0xffffffffffffff00; + } + return uVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140021340.c b/decomp/AgentManager_Release_x64/full/functions/0x140021340.c new file mode 100644 index 00000000..f7772775 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140021340.c @@ -0,0 +1,188 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140021340 FUN_140021340 + * Pseudocode, not original source. */ + +byte * FUN_140021340(byte *param_1,longlong *param_2,char param_3,char *param_4,int param_5) + +{ + ulonglong uVar1; + char cVar2; + byte bVar3; + longlong *plVar4; + longlong lVar5; + undefined8 *puVar6; + undefined1 auVar7 [16]; + bool bVar8; + int iVar9; + undefined8 uVar10; + __uint64 _Var11; + longlong *plVar12; + byte *pbVar13; + ulonglong uVar14; + size_t sVar15; + int local_res8 [2]; + uint local_res18 [2]; + char *local_res20; + longlong *local_58; + longlong *local_40; + + local_res20 = param_4; + FUN_14001e2c0(param_2,&DAT_140132660,0); + if ((param_3 == '\0') || (DAT_140174c28 == '\0')) { + if (param_1 != (byte *)0x0) { + local_58 = local_40; + do { + plVar12 = &DAT_14017ce88; + param_4 = local_res20; + if ((*param_1 == 0) || + (uVar10 = FUN_140021270((char *)param_1,local_res20,'\0',param_5), param_4 = local_res20, + (char)uVar10 != '\0')) goto LAB_1400216e4; + local_res18[0] = 0; + if (param_5 == 1) { + local_res8[0] = *(int *)(&DAT_140132000 + (ulonglong)*param_1 * 4); + if (local_res8[0] == 1) goto LAB_1400215c7; + if (local_res8[0] == 0) { + param_1 = (byte *)0x0; + } + else { + iVar9 = 0; + if (*param_1 != 0) { + pbVar13 = param_1; + do { + if (local_res8[0] <= iVar9) break; + pbVar13[(longlong)local_res18 - (longlong)param_1] = *pbVar13; + iVar9 = iVar9 + 1; + pbVar13 = pbVar13 + 1; + } while (*pbVar13 != 0); + } + param_1 = param_1 + local_res8[0]; + } + } + else { + local_res8[0] = 1; +LAB_1400215c7: + if (*param_1 == 0x26) { + param_1 = (byte *)FUN_140021080((char *)param_1,(char *)local_res18,local_res8,param_5); + } + else { + local_res18[0] = (uint)*param_1; + param_1 = param_1 + 1; + } + } + sVar15 = (size_t)local_res8[0]; + plVar4 = (longlong *)*param_2; + uVar14 = *plVar4 + sVar15; + if (((ulonglong)plVar4[1] < uVar14) && + (uVar1 = plVar4[1] + uVar14, (ulonglong)plVar4[1] < uVar1)) { + lVar5 = *plVar4; + if (uVar1 != 0) { + auVar7._8_8_ = 0; + auVar7._0_8_ = uVar1 + 0x1b >> 2; + _Var11 = SUB168(ZEXT816(4) * auVar7,0); + if (SUB168(ZEXT816(4) * auVar7,8) != 0) { + _Var11 = 0xffffffffffffffff; + } + plVar12 = operator_new(_Var11); + *plVar12 = lVar5; + *(undefined1 *)(lVar5 + 0x10 + (longlong)plVar12) = 0; + plVar12[1] = uVar1; + local_58 = plVar12; + } + memcpy(plVar12 + 2,(size_t *)*param_2 + 2,*(size_t *)*param_2); + plVar4 = (longlong *)param_2[1]; + puVar6 = (undefined8 *)*param_2; + *param_2 = (longlong)plVar12; + param_2[1] = (longlong)local_58; + local_58 = plVar4; + if (puVar6 != &DAT_14017ce88) { + operator_delete__(plVar4); + } + } + memmove((void *)(*(longlong *)*param_2 + 0x10 + *param_2),local_res18,sVar15); + *(ulonglong *)*param_2 = uVar14; + *(undefined1 *)(*param_2 + 0x10 + uVar14) = 0; + } while (param_1 != (byte *)0x0); + } + } + else { + bVar8 = false; + param_1 = FUN_140020ee0(param_1,param_5); + if (param_1 == (byte *)0x0) { + return (byte *)0x0; + } + do { + if ((*param_1 == 0) || + (uVar10 = FUN_140021270((char *)param_1,param_4,'\0',param_5), (char)uVar10 != '\0')) + goto LAB_1400216e4; + bVar3 = *param_1; + if ((((bVar3 == 0xd) || (bVar3 == 10)) || (iVar9 = isspace((uint)bVar3), iVar9 != 0)) || + ((bVar3 == 10 || (bVar3 == 0xd)))) { + param_1 = param_1 + 1; + bVar8 = true; + } + else { + if (bVar8) { + FUN_14001e440(param_2,0x20); + bVar8 = false; + } + local_res18[0] = 0; + if (param_5 == 1) { + local_res8[0] = *(int *)(&DAT_140132000 + (ulonglong)*param_1 * 4); + if (local_res8[0] == 1) goto LAB_140021487; + if (local_res8[0] != 0) { + iVar9 = 0; + if (*param_1 != 0) { + pbVar13 = param_1; + do { + if (local_res8[0] <= iVar9) break; + pbVar13[(longlong)local_res18 - (longlong)param_1] = *pbVar13; + iVar9 = iVar9 + 1; + pbVar13 = pbVar13 + 1; + } while (*pbVar13 != 0); + } + param_1 = param_1 + local_res8[0]; + goto LAB_1400214a7; + } + param_1 = (byte *)0x0; +LAB_1400214ac: + sVar15 = (size_t)local_res8[0]; + plVar12 = (longlong *)*param_2; + uVar14 = sVar15 + *plVar12; + if (((ulonglong)plVar12[1] < uVar14) && + (uVar1 = plVar12[1] + uVar14, (ulonglong)plVar12[1] < uVar1)) { + FUN_14001e1f0(param_2,uVar1); + } + memmove((void *)(*(longlong *)*param_2 + 0x10 + *param_2),local_res18,sVar15); + *(ulonglong *)*param_2 = uVar14; + *(undefined1 *)(*param_2 + 0x10 + uVar14) = 0; + param_4 = local_res20; + } + else { + local_res8[0] = 1; +LAB_140021487: + if (*param_1 == 0x26) { + param_1 = (byte *)FUN_140021080((char *)param_1,(char *)local_res18,local_res8,param_5); +LAB_1400214a7: + if (local_res8[0] != 1) goto LAB_1400214ac; + } + else { + local_res18[0] = (uint)*param_1; + param_1 = param_1 + 1; + } + FUN_14001e440(param_2,(undefined1)local_res18[0]); + } + } + } while (param_1 != (byte *)0x0); + } + return (byte *)0x0; +LAB_1400216e4: + uVar14 = 0xffffffffffffffff; + do { + if (uVar14 == 0) break; + uVar14 = uVar14 - 1; + cVar2 = *param_4; + param_4 = param_4 + 1; + } while (cVar2 != '\0'); + return param_1 + (~uVar14 - 1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140021720.c b/decomp/AgentManager_Release_x64/full/functions/0x140021720.c new file mode 100644 index 00000000..35f5d3e6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140021720.c @@ -0,0 +1,109 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140021720 FUN_140021720 + * Pseudocode, not original source. */ + +byte * FUN_140021720(longlong *param_1,byte *param_2,undefined4 *param_3,int param_4) + +{ + char cVar1; + int iVar2; + int iVar3; + byte *pbVar4; + longlong *plVar5; + longlong lVar6; + ulonglong uVar7; + char *pcVar8; + undefined4 local_48; + undefined4 uStack_44; + byte *local_40; + undefined4 local_38; + + *(undefined1 *)(param_1 + 0xb) = 0; + *(undefined4 *)((longlong)param_1 + 0x5c) = 0; + FUN_14001e2c0(param_1 + 0xc,&DAT_140132660,0); + *(undefined8 *)((longlong)param_1 + 0x74) = 0; + if ((param_2 != (byte *)0x0) && (*param_2 != 0)) { + param_1[1] = -1; + if (param_3 == (undefined4 *)0x0) { + param_1[1] = 0; + } + else { + *(undefined4 *)(param_1 + 1) = *param_3; + *(undefined4 *)((longlong)param_1 + 0xc) = param_3[1]; + } + local_38 = (undefined4)param_1[0xe]; + local_48 = (undefined4)param_1[1]; + uStack_44 = *(undefined4 *)((longlong)param_1 + 0xc); + param_1[1] = param_1[1]; + if (((((param_4 == 0) && (*param_2 != 0)) && (*param_2 == 0xef)) && + ((param_2[1] != 0 && (param_2[1] == 0xbb)))) && ((param_2[2] != 0 && (param_2[2] == 0xbf)))) + { + param_4 = 1; + *(undefined1 *)((longlong)param_1 + 0x7c) = 1; + } + local_40 = param_2; + pbVar4 = FUN_140020ee0(param_2,param_4); + if (pbVar4 != (byte *)0x0) { + do { + if ((*pbVar4 == 0) || + (plVar5 = FUN_140021a40(param_1,pbVar4,param_4), plVar5 == (longlong *)0x0)) break; + pbVar4 = (byte *)(**(code **)(*plVar5 + 0x10))(plVar5,pbVar4,&local_48,param_4); + FUN_14001ed00(param_1,plVar5); + if ((param_4 == 0) && (lVar6 = (**(code **)(*plVar5 + 0x68))(plVar5), lVar6 != 0)) { + lVar6 = (**(code **)(*plVar5 + 0x68))(plVar5); + lVar6 = *(longlong *)(lVar6 + 0x68); + if (*(char *)(lVar6 + 0x10) != '\0') { + pcVar8 = "UTF-8"; + do { + if (*pcVar8 == '\0') goto LAB_14002190a; + iVar2 = tolower((int)pcVar8[lVar6 + -0x140132b48]); + iVar3 = tolower((int)*pcVar8); + } while ((iVar2 == iVar3) && (pcVar8 = pcVar8 + 1, pcVar8[lVar6 + -0x140132b48] != '\0') + ); + if (*pcVar8 != '\0') { + pcVar8 = "UTF8"; + if (*(char *)(lVar6 + 0x10) != '\0') { + do { + if (*pcVar8 == '\0') goto LAB_14002190a; + iVar2 = tolower((int)pcVar8[lVar6 + -0x140132b50]); + iVar3 = tolower((int)*pcVar8); + } while ((iVar2 == iVar3) && + (pcVar8 = pcVar8 + 1, pcVar8[lVar6 + -0x140132b50] != '\0')); + if (*pcVar8 == '\0') goto LAB_14002190a; + } + param_4 = 2; + goto LAB_14002190f; + } + } +LAB_14002190a: + param_4 = 1; + } +LAB_14002190f: + pbVar4 = FUN_140020ee0(pbVar4,param_4); + } while (pbVar4 != (byte *)0x0); + if (param_1[5] != 0) { + return pbVar4; + } + cVar1 = (char)param_1[0xb]; + goto LAB_140021949; + } + } + cVar1 = (char)param_1[0xb]; +LAB_140021949: + if (cVar1 == '\0') { + uVar7 = 0xffffffffffffffff; + *(undefined1 *)(param_1 + 0xb) = 1; + *(undefined4 *)((longlong)param_1 + 0x5c) = 0xd; + pcVar8 = PTR_s_Error_document_empty__140174c98; + do { + if (uVar7 == 0) break; + uVar7 = uVar7 - 1; + cVar1 = *pcVar8; + pcVar8 = pcVar8 + 1; + } while (cVar1 != '\0'); + FUN_14001e2c0(param_1 + 0xc,PTR_s_Error_document_empty__140174c98,~uVar7 - 1); + *(undefined8 *)((longlong)param_1 + 0x74) = 0xffffffffffffffff; + } + return (byte *)0x0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400219a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400219a0.c new file mode 100644 index 00000000..86df3f50 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400219a0.c @@ -0,0 +1,32 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400219a0 FUN_1400219a0 + * Pseudocode, not original source. */ + +void FUN_1400219a0(longlong param_1,int param_2,byte *param_3,int *param_4,int param_5) + +{ + char cVar1; + ulonglong uVar2; + char *pcVar3; + + if (*(char *)(param_1 + 0x58) == '\0') { + *(int *)(param_1 + 0x5c) = param_2; + *(undefined1 *)(param_1 + 0x58) = 1; + uVar2 = 0xffffffffffffffff; + pcVar3 = (&PTR_s_No_error_140174c30)[param_2]; + do { + if (uVar2 == 0) break; + uVar2 = uVar2 - 1; + cVar1 = *pcVar3; + pcVar3 = pcVar3 + 1; + } while (cVar1 != '\0'); + FUN_14001e2c0((longlong *)(param_1 + 0x60),(&PTR_s_No_error_140174c30)[param_2],~uVar2 - 1); + *(undefined8 *)(param_1 + 0x74) = 0xffffffffffffffff; + if ((param_3 != (byte *)0x0) && (param_4 != (int *)0x0)) { + FUN_140020d90(param_4,param_3,param_5); + *(undefined8 *)(param_1 + 0x74) = *(undefined8 *)param_4; + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140021a40.c b/decomp/AgentManager_Release_x64/full/functions/0x140021a40.c new file mode 100644 index 00000000..31edf6bf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140021a40.c @@ -0,0 +1,159 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140021a40 FUN_140021a40 + * Pseudocode, not original source. */ + +undefined8 * FUN_140021a40(longlong *param_1,byte *param_2,int param_3) + +{ + char cVar1; + byte bVar2; + int iVar3; + byte *pbVar4; + longlong lVar5; + undefined8 uVar6; + undefined8 *puVar7; + byte *pbVar8; + undefined8 *puVar9; + char *pcVar10; + ulonglong uVar11; + + pbVar4 = FUN_140020ee0(param_2,param_3); + if (((pbVar4 == (byte *)0x0) || (*pbVar4 == 0)) || (*pbVar4 != 0x3c)) { + return (undefined8 *)0x0; + } + lVar5 = FUN_14001e4f0(param_1); + pbVar4 = FUN_140020ee0(pbVar4,param_3); + if (pbVar4 == (byte *)0x0) { + return (undefined8 *)0x0; + } + if (*pbVar4 == 0) { + return (undefined8 *)0x0; + } + uVar6 = FUN_140021270((char *)pbVar4,"> 2; + _Var13 = SUB168(ZEXT816(4) * auVar8,0); + if (SUB168(ZEXT816(4) * auVar8,8) != 0) { + _Var13 = 0xffffffffffffffff; + } + local_res10 = operator_new(_Var13); + *local_res10 = sVar6; + *(undefined1 *)((longlong)local_res10 + sVar6 + 0x10) = 0; + local_res10[1] = uVar1; + local_60 = local_res10; + } + memcpy(local_res10 + 2,psVar14 + 2,*psVar14); + if (psVar14 != &DAT_14017ce88) { + operator_delete__(psVar14); + } + } + memmove((void *)(*local_res10 + 0x10 + (longlong)local_res10),psVar20 + 2,sVar5); + *local_res10 = uVar18; + *(undefined1 *)((longlong)local_res10 + uVar18 + 0x10) = 0; + sVar5 = *local_res10; + uVar18 = sVar5 + 1; + psVar20 = local_60; + psVar14 = local_res10; + if ((local_res10[1] < uVar18) && (uVar1 = local_res10[1] + uVar18, local_res10[1] < uVar1)) { + sVar6 = *local_res10; + if (uVar1 == 0) { + psVar14 = &DAT_14017ce88; + } + else { + auVar9._8_8_ = 0; + auVar9._0_8_ = uVar1 + 0x1b >> 2; + _Var13 = SUB168(ZEXT816(4) * auVar9,0); + if (SUB168(ZEXT816(4) * auVar9,8) != 0) { + _Var13 = 0xffffffffffffffff; + } + psVar14 = operator_new(_Var13); + *psVar14 = sVar6; + *(undefined1 *)((longlong)psVar14 + sVar6 + 0x10) = 0; + psVar14[1] = uVar1; + local_50 = psVar14; + } + memcpy(psVar14 + 2,local_res10 + 2,*local_res10); + psVar20 = local_50; + if (local_res10 != &DAT_14017ce88) { + operator_delete__(local_60); + } + } + memmove((void *)(*psVar14 + 0x10 + (longlong)psVar14),&DAT_140132688,1); + *psVar14 = uVar18; + *(undefined1 *)(sVar5 + 0x11 + (longlong)psVar14) = 0; + while( true ) { + if (*pbVar12 == 0) { + if (psVar14 != &DAT_14017ce88) { + operator_delete__(psVar20); + return pbVar12; + } + return pbVar12; + } + pbVar10 = FUN_140020ee0(pbVar12,param_4); + if ((pbVar10 == (byte *)0x0) || (bVar2 = *pbVar10, bVar2 == 0)) { + if (lVar11 != 0) { + FUN_1400219a0(lVar11,7,pbVar12,(int *)param_3,param_4); + } + goto LAB_1400221f4; + } + if (bVar2 == 0x2f) { + if (pbVar10[1] == 0x3e) { + if (psVar14 != &DAT_14017ce88) { + operator_delete__(psVar20); + } + return pbVar10 + 2; + } + if (lVar11 != 0) { + FUN_1400219a0(lVar11,8,pbVar10 + 1,(int *)param_3,param_4); + } + goto LAB_1400221f4; + } + if (bVar2 == 0x3e) break; + plVar15 = operator_new(0x50); + if (plVar15 == (longlong *)0x0) { + if (lVar11 != 0) { + FUN_1400219a0(lVar11,3,pbVar12,(int *)param_3,param_4); + } + goto LAB_1400221f4; + } + *(undefined4 *)((longlong)plVar15 + 0xc) = 0xffffffff; + *(undefined4 *)(plVar15 + 1) = 0xffffffff; + plVar15[2] = 0; + *plVar15 = (longlong)TiXmlAttribute::vftable; + plVar15[4] = (longlong)&DAT_14017ce88; + plVar15[6] = (longlong)&DAT_14017ce88; + plVar15[9] = 0; + plVar15[8] = 0; + plVar15[3] = lVar11; + pbVar12 = (byte *)(**(code **)(*plVar15 + 0x10))(plVar15,pbVar10,param_3,param_4); + if ((pbVar12 == (byte *)0x0) || (*pbVar12 == 0)) { + if (lVar11 != 0) { + FUN_1400219a0(lVar11,4,pbVar10,(int *)param_3,param_4); + } + (**(code **)*plVar15)(plVar15,1); + goto LAB_1400221f4; + } + for (plVar7 = (longlong *)param_1[0x14]; plVar7 != param_1 + 0xb; plVar7 = (longlong *)plVar7[9] + ) { + pcVar16 = (char *)(plVar7[4] + 0x10); + lVar19 = (plVar15[4] + 0x10) - (longlong)pcVar16; + do { + cVar3 = *pcVar16; + cVar4 = pcVar16[lVar19]; + if (cVar3 != cVar4) break; + pcVar16 = pcVar16 + 1; + } while (cVar4 != '\0'); + if (cVar3 == cVar4) { + if (plVar7 != (longlong *)0x0) { + uVar18 = 0xffffffffffffffff; + pcVar16 = (char *)(plVar15[6] + 0x10); + goto code_r0x0001400221d4; + } + break; + } + } + plVar15[9] = (longlong)(param_1 + 0xb); + plVar15[8] = param_1[0x13]; + *(longlong **)(param_1[0x13] + 0x48) = plVar15; + param_1[0x13] = (longlong)plVar15; + } + pbVar10 = (byte *)FUN_140022410(param_1,pbVar10 + 1,param_3,param_4); + if ((pbVar10 == (byte *)0x0) || (*pbVar10 == 0)) { + if (lVar11 != 0) { + FUN_1400219a0(lVar11,9,pbVar10,(int *)param_3,param_4); + } + } + else { + psVar17 = psVar14 + 2; + lVar19 = (longlong)pbVar10 - (longlong)psVar17; + do { + if ((char)*psVar17 == '\0') goto LAB_1400222c9; + } while ((*(char *)(lVar19 + (longlong)psVar17) == (char)*psVar17) && + (psVar17 = (size_t *)((longlong)psVar17 + 1), + *(char *)(lVar19 + (longlong)psVar17) != '\0')); + if ((char)*psVar17 == '\0') { +LAB_1400222c9: + sVar5 = *psVar14; + if (psVar14 != &DAT_14017ce88) { + operator_delete__(psVar20); + return pbVar10 + sVar5; + } + return pbVar10 + sVar5; + } + if (lVar11 != 0) { + FUN_1400219a0(lVar11,9,pbVar10,(int *)param_3,param_4); + } + } + goto LAB_1400221f4; + while( true ) { + uVar18 = uVar18 - 1; + cVar3 = *pcVar16; + pcVar16 = pcVar16 + 1; + if (cVar3 == '\0') break; +code_r0x0001400221d4: + if (uVar18 == 0) break; + } + FUN_14001e2c0(plVar7 + 6,(char *)(plVar15[6] + 0x10),~uVar18 - 1); + (**(code **)*plVar15)(plVar15,1); +LAB_1400221f4: + if (psVar14 != &DAT_14017ce88) { + operator_delete__(psVar20); + } + return (byte *)0x0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140022410.c b/decomp/AgentManager_Release_x64/full/functions/0x140022410.c new file mode 100644 index 00000000..82d5f225 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140022410.c @@ -0,0 +1,131 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140022410 FUN_140022410 + * Pseudocode, not original source. */ + +byte * FUN_140022410(longlong *param_1,byte *param_2,undefined8 param_3,int param_4) + +{ + char cVar1; + byte bVar2; + int iVar3; + longlong lVar4; + byte *pbVar5; + longlong *plVar6; + byte *pbVar7; + longlong *plVar8; + ulonglong uVar9; + longlong *plVar10; + char *pcVar11; + + for (plVar10 = param_1; plVar10 != (longlong *)0x0; plVar10 = (longlong *)plVar10[3]) { + lVar4 = (**(code **)(*plVar10 + 0x20))(plVar10); + if (lVar4 != 0) { + lVar4 = (**(code **)(*plVar10 + 0x20))(plVar10); + goto LAB_14002247d; + } + } + lVar4 = 0; +LAB_14002247d: + pbVar5 = FUN_140020ee0(param_2,param_4); + while (pbVar5 != (byte *)0x0) { + plVar10 = (longlong *)0x0; + if (*pbVar5 == 0) { + return pbVar5; + } + if (*pbVar5 == 0x3c) { + pbVar7 = &DAT_1401305e0; + do { + if (*pbVar7 == 0) { + return pbVar5; + } + } while (((pbVar5 + -0x1401305e0)[(longlong)pbVar7] == *pbVar7) && + (pbVar7 = pbVar7 + 1, (pbVar5 + -0x1401305e0)[(longlong)pbVar7] != 0)); + if (*pbVar7 == 0) { + return pbVar5; + } + plVar8 = FUN_140021a40(param_1,pbVar5,param_4); + if (plVar8 == (longlong *)0x0) { + return (byte *)0x0; + } + param_2 = (byte *)(**(code **)(*plVar8 + 0x10))(plVar8,pbVar5,param_3,param_4); +LAB_140022600: + FUN_14001ed00(param_1,plVar8); + } + else { + plVar6 = operator_new(0x60); + plVar8 = plVar10; + if (plVar6 != (longlong *)0x0) { + plVar6[1] = -1; + plVar6[2] = 0; + plVar6[7] = (longlong)&DAT_14017ce88; + plVar6[3] = 0; + *(undefined4 *)(plVar6 + 4) = 4; + plVar6[5] = 0; + plVar6[6] = 0; + plVar6[9] = 0; + plVar6[10] = 0; + *plVar6 = (longlong)TiXmlText::vftable; + FUN_14001e2c0(plVar6 + 7,&DAT_140132660,0); + *(undefined1 *)(plVar6 + 0xb) = 0; + plVar8 = plVar6; + } + if (plVar8 == (longlong *)0x0) { + if (lVar4 == 0) { + return (byte *)0x0; + } + if (*(char *)(lVar4 + 0x58) != '\0') { + return (byte *)0x0; + } + *(undefined1 *)(lVar4 + 0x58) = 1; + *(undefined4 *)(lVar4 + 0x5c) = 3; + uVar9 = 0xffffffffffffffff; + pcVar11 = PTR_s_Memory_allocation_failed__140174c48; + goto code_r0x000140022648; + } + if (DAT_140174c28 == '\0') { + pbVar5 = param_2; + } + param_2 = (byte *)(**(code **)(*plVar8 + 0x10))(plVar8,pbVar5,param_3,param_4); + plVar6 = (longlong *)plVar8[7]; + if (*plVar6 != 0) { + do { + bVar2 = *(byte *)((longlong)(plVar6 + 2) + (longlong)plVar10); + iVar3 = isspace((uint)bVar2); + if (((iVar3 == 0) && (bVar2 != 10)) && (bVar2 != 0xd)) goto LAB_140022600; + plVar10 = (longlong *)(ulonglong)((int)plVar10 + 1); + plVar6 = (longlong *)plVar8[7]; + } while (plVar10 < (longlong *)*plVar6); + } + (**(code **)*plVar8)(plVar8,1); + } + pbVar5 = FUN_140020ee0(param_2,param_4); + } + if ((lVar4 != 0) && (*(char *)(lVar4 + 0x58) == '\0')) { + *(undefined1 *)(lVar4 + 0x58) = 1; + *(undefined4 *)(lVar4 + 0x5c) = 6; + uVar9 = 0xffffffffffffffff; + pcVar11 = PTR_s_Error_reading_Element_value__140174c60; + do { + if (uVar9 == 0) break; + uVar9 = uVar9 - 1; + cVar1 = *pcVar11; + pcVar11 = pcVar11 + 1; + } while (cVar1 != '\0'); + FUN_14001e2c0((longlong *)(lVar4 + 0x60),PTR_s_Error_reading_Element_value__140174c60,~uVar9 - 1 + ); + *(undefined8 *)(lVar4 + 0x74) = 0xffffffffffffffff; + } + return (byte *)0x0; + while( true ) { + uVar9 = uVar9 - 1; + cVar1 = *pcVar11; + pcVar11 = pcVar11 + 1; + if (cVar1 == '\0') break; +code_r0x000140022648: + if (uVar9 == 0) break; + } + FUN_14001e2c0((longlong *)(lVar4 + 0x60),PTR_s_Memory_allocation_failed__140174c48,~uVar9 - 1); + *(undefined8 *)(lVar4 + 0x74) = 0xffffffffffffffff; + return (byte *)0x0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400226d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400226d0.c new file mode 100644 index 00000000..ca2be670 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400226d0.c @@ -0,0 +1,90 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400226d0 FUN_1400226d0 + * Pseudocode, not original source. */ + +byte * FUN_1400226d0(longlong *param_1,byte *param_2,longlong *param_3,int param_4) + +{ + ulonglong uVar1; + char cVar2; + longlong *plVar3; + longlong lVar4; + byte *pbVar5; + ulonglong uVar6; + char *pcVar7; + byte local_res8 [8]; + + for (plVar3 = param_1; plVar3 != (longlong *)0x0; plVar3 = (longlong *)plVar3[3]) { + lVar4 = (**(code **)(*plVar3 + 0x20))(plVar3); + if (lVar4 != 0) { + lVar4 = (**(code **)(*plVar3 + 0x20))(plVar3); + goto LAB_14002271d; + } + } + lVar4 = 0; +LAB_14002271d: + pbVar5 = FUN_140020ee0(param_2,param_4); + if (param_3 != (longlong *)0x0) { + FUN_140020d90((int *)param_3,pbVar5,param_4); + param_1[1] = *param_3; + } + if (((pbVar5 == (byte *)0x0) || (*pbVar5 == 0)) || (*pbVar5 != 0x3c)) { + if ((lVar4 != 0) && (*(char *)(lVar4 + 0x58) == '\0')) { + uVar6 = 0xffffffffffffffff; + *(undefined1 *)(lVar4 + 0x58) = 1; + *(undefined4 *)(lVar4 + 0x5c) = 10; + pcVar7 = PTR_s_Error_parsing_Unknown__140174c80; + do { + if (uVar6 == 0) break; + uVar6 = uVar6 - 1; + cVar2 = *pcVar7; + pcVar7 = pcVar7 + 1; + } while (cVar2 != '\0'); + FUN_14001e2c0((longlong *)(lVar4 + 0x60),PTR_s_Error_parsing_Unknown__140174c80,~uVar6 - 1); + *(undefined8 *)(lVar4 + 0x74) = 0xffffffffffffffff; + if ((pbVar5 != (byte *)0x0) && (param_3 != (longlong *)0x0)) { + FUN_140020d90((int *)param_3,pbVar5,param_4); + *(longlong *)(lVar4 + 0x74) = *param_3; + } + } + pbVar5 = (byte *)0x0; + } + else { + FUN_14001e2c0(param_1 + 7,&DAT_140132660,0); + while (pbVar5 = pbVar5 + 1, pbVar5 != (byte *)0x0) { + local_res8[0] = *pbVar5; + if (local_res8[0] == 0) goto LAB_140022834; + if (local_res8[0] == 0x3e) goto LAB_140022839; + plVar3 = (longlong *)param_1[7]; + uVar6 = *plVar3 + 1; + if (((ulonglong)plVar3[1] < uVar6) && + (uVar1 = plVar3[1] + uVar6, (ulonglong)plVar3[1] < uVar1)) { + FUN_14001e1f0(param_1 + 7,uVar1); + } + memmove((void *)(param_1[7] + *(longlong *)param_1[7] + 0x10),local_res8,1); + *(ulonglong *)param_1[7] = uVar6; + *(undefined1 *)(param_1[7] + 0x10 + uVar6) = 0; + } + if ((lVar4 != 0) && (*(char *)(lVar4 + 0x58) == '\0')) { + uVar6 = 0xffffffffffffffff; + *(undefined1 *)(lVar4 + 0x58) = 1; + *(undefined4 *)(lVar4 + 0x5c) = 10; + pcVar7 = PTR_s_Error_parsing_Unknown__140174c80; + do { + if (uVar6 == 0) break; + uVar6 = uVar6 - 1; + cVar2 = *pcVar7; + pcVar7 = pcVar7 + 1; + } while (cVar2 != '\0'); + FUN_14001e2c0((longlong *)(lVar4 + 0x60),PTR_s_Error_parsing_Unknown__140174c80,~uVar6 - 1); + *(undefined8 *)(lVar4 + 0x74) = 0xffffffffffffffff; + } +LAB_140022834: + if (*pbVar5 == 0x3e) { +LAB_140022839: + pbVar5 = pbVar5 + 1; + } + } + return pbVar5; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400228d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400228d0.c new file mode 100644 index 00000000..8630614d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400228d0.c @@ -0,0 +1,108 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400228d0 FUN_1400228d0 + * Pseudocode, not original source. */ + +byte * FUN_1400228d0(longlong *param_1,byte *param_2,longlong *param_3,int param_4) + +{ + ulonglong uVar1; + longlong *plVar2; + longlong lVar3; + undefined8 *puVar4; + undefined1 auVar5 [16]; + longlong lVar6; + byte *pbVar7; + byte *pbVar8; + __uint64 _Var9; + longlong *plVar10; + byte *pbVar11; + ulonglong uVar12; + longlong *plVar13; + longlong *local_38; + + for (plVar2 = param_1; plVar2 != (longlong *)0x0; plVar2 = (longlong *)plVar2[3]) { + lVar6 = (**(code **)(*plVar2 + 0x20))(plVar2); + if (lVar6 != 0) { + lVar6 = (**(code **)(*plVar2 + 0x20))(plVar2); + goto LAB_140022939; + } + } + lVar6 = 0; +LAB_140022939: + plVar2 = param_1 + 7; + FUN_14001e2c0(plVar2,&DAT_140132660,0); + pbVar7 = FUN_140020ee0(param_2,param_4); + if (param_3 != (longlong *)0x0) { + FUN_140020d90((int *)param_3,pbVar7,param_4); + param_1[1] = *param_3; + } + pbVar11 = &DAT_140132768; + if ((pbVar7 != (byte *)0x0) && (*pbVar7 != 0)) { + do { + if (*pbVar11 == 0) goto LAB_1400229b7; + } while (((pbVar7 + -0x140132768)[(longlong)pbVar11] == *pbVar11) && + (pbVar11 = pbVar11 + 1, (pbVar7 + -0x140132768)[(longlong)pbVar11] != 0)); + if (*pbVar11 == 0) { +LAB_1400229b7: + FUN_14001e2c0(plVar2,&DAT_140132660,0); + pbVar11 = pbVar7 + 4; + if (pbVar11 == (byte *)0x0) { + return (byte *)0x0; + } + pbVar7 = pbVar7 + -0x14013276c; + while (pbVar8 = &DAT_140132770, *pbVar11 != 0) { + do { + if (*pbVar8 == 0) goto LAB_140022b05; + } while ((pbVar7[(longlong)pbVar8] == *pbVar8) && + (pbVar8 = pbVar8 + 1, pbVar7[(longlong)pbVar8] != 0)); + if (*pbVar8 == 0) break; + plVar10 = (longlong *)*plVar2; + lVar6 = *plVar10; + uVar12 = lVar6 + 1; + plVar13 = local_38; + if (((ulonglong)plVar10[1] < uVar12) && + (uVar1 = plVar10[1] + uVar12, (ulonglong)plVar10[1] < uVar1)) { + lVar3 = *plVar10; + if (uVar1 == 0) { + plVar10 = &DAT_14017ce88; + } + else { + auVar5._8_8_ = 0; + auVar5._0_8_ = uVar1 + 0x1b >> 2; + _Var9 = SUB168(ZEXT816(4) * auVar5,0); + if (SUB168(ZEXT816(4) * auVar5,8) != 0) { + _Var9 = 0xffffffffffffffff; + } + plVar10 = operator_new(_Var9); + *plVar10 = lVar3; + *(undefined1 *)(lVar3 + 0x10 + (longlong)plVar10) = 0; + plVar10[1] = uVar1; + local_38 = plVar10; + } + memcpy(plVar10 + 2,(size_t *)*plVar2 + 2,*(size_t *)*plVar2); + plVar13 = (longlong *)param_1[8]; + puVar4 = (undefined8 *)*plVar2; + *plVar2 = (longlong)plVar10; + param_1[8] = (longlong)local_38; + if (puVar4 != &DAT_14017ce88) { + operator_delete__(plVar13); + } + } + memmove((void *)(*plVar2 + *(longlong *)*plVar2 + 0x10),pbVar11,1); + *(ulonglong *)*plVar2 = uVar12; + *(undefined1 *)(lVar6 + 0x11 + *plVar2) = 0; + pbVar7 = pbVar7 + 1; + pbVar11 = pbVar11 + 1; + local_38 = plVar13; + if (pbVar11 == (byte *)0x0) { + return (byte *)0x0; + } + } +LAB_140022b05: + return pbVar11 + 3; + } + } + FUN_1400219a0(lVar6,0xb,pbVar7,(int *)param_3,param_4); + return (byte *)0x0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140022b50.c b/decomp/AgentManager_Release_x64/full/functions/0x140022b50.c new file mode 100644 index 00000000..27cfedac --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140022b50.c @@ -0,0 +1,82 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140022b50 FUN_140022b50 + * Pseudocode, not original source. */ + +byte * FUN_140022b50(longlong param_1,byte *param_2,int *param_3,int param_4) + +{ + byte bVar1; + undefined4 uVar2; + byte *pbVar3; + byte *pbVar4; + char *pcVar5; + + pbVar3 = FUN_140020ee0(param_2,param_4); + if ((pbVar3 != (byte *)0x0) && (*pbVar3 != 0)) { + if (param_3 != (int *)0x0) { + FUN_140020d90(param_3,pbVar3,param_4); + *(undefined8 *)(param_1 + 8) = *(undefined8 *)param_3; + } + pbVar4 = FUN_140020fc0(pbVar3,(longlong *)(param_1 + 0x20)); + if ((pbVar4 != (byte *)0x0) && (*pbVar4 != 0)) { + pbVar3 = FUN_140020ee0(pbVar4,param_4); + if ((pbVar3 == (byte *)0x0) || ((*pbVar3 == 0 || (*pbVar3 != 0x3d)))) { + if (*(longlong *)(param_1 + 0x18) != 0) { + FUN_1400219a0(*(longlong *)(param_1 + 0x18),7,pbVar3,param_3,param_4); + } + return (byte *)0x0; + } + pbVar3 = FUN_140020ee0(pbVar3 + 1,param_4); + if ((pbVar3 != (byte *)0x0) && (bVar1 = *pbVar3, bVar1 != 0)) { + if (bVar1 == 0x27) { + pcVar5 = "\'"; + } + else { + if (bVar1 != 0x22) { + FUN_14001e2c0((longlong *)(param_1 + 0x30),&DAT_140132660,0); + while( true ) { + if (*pbVar3 == 0) { + return pbVar3; + } + uVar2 = FUN_140020c50(*pbVar3); + if ((char)uVar2 != '\0') { + return pbVar3; + } + bVar1 = *pbVar3; + if (bVar1 == 10) { + return pbVar3; + } + if (bVar1 == 0xd) break; + if (bVar1 == 0x2f) { + return pbVar3; + } + if (bVar1 == 0x3e) { + return pbVar3; + } + if ((bVar1 == 0x27) || (bVar1 == 0x22)) { + if (*(longlong *)(param_1 + 0x18) != 0) { + FUN_1400219a0(*(longlong *)(param_1 + 0x18),7,pbVar3,param_3,param_4); + } + return (byte *)0x0; + } + FUN_14001e440((longlong *)(param_1 + 0x30),bVar1); + pbVar3 = pbVar3 + 1; + if (pbVar3 == (byte *)0x0) { + return (byte *)0x0; + } + } + return pbVar3; + } + pcVar5 = "\""; + } + pbVar3 = FUN_140021340(pbVar3 + 1,(longlong *)(param_1 + 0x30),'\0',pcVar5,param_4); + return pbVar3; + } + } + if (*(longlong *)(param_1 + 0x18) != 0) { + FUN_1400219a0(*(longlong *)(param_1 + 0x18),7,pbVar3,param_3,param_4); + } + } + return (byte *)0x0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140022d40.c b/decomp/AgentManager_Release_x64/full/functions/0x140022d40.c new file mode 100644 index 00000000..f228e43a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140022d40.c @@ -0,0 +1,100 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140022d40 FUN_140022d40 + * Pseudocode, not original source. */ + +byte * FUN_140022d40(longlong *param_1,byte *param_2,longlong *param_3,int param_4) + +{ + longlong *plVar1; + ulonglong uVar2; + byte bVar3; + longlong *plVar4; + longlong lVar5; + byte *pbVar6; + byte *pbVar7; + byte *pbVar8; + ulonglong uVar9; + byte local_res8 [8]; + undefined8 *local_30; + void *local_28; + + plVar1 = param_1 + 7; + FUN_14001e2c0(plVar1,&DAT_140132660,0); + for (plVar4 = param_1; plVar4 != (longlong *)0x0; plVar4 = (longlong *)plVar4[3]) { + lVar5 = (**(code **)(*plVar4 + 0x20))(plVar4); + if (lVar5 != 0) { + lVar5 = (**(code **)(*plVar4 + 0x20))(plVar4); + goto LAB_140022db9; + } + } + lVar5 = 0; +LAB_140022db9: + if (param_3 != (longlong *)0x0) { + FUN_140020d90((int *)param_3,param_2,param_4); + param_1[1] = *param_3; + } + pbVar6 = &DAT_140132758; + if ((char)param_1[0xb] == '\0') { + pbVar8 = &DAT_140132758; + if ((param_2 != (byte *)0x0) && (*param_2 != 0)) { + do { + if (*pbVar8 == 0) goto LAB_140022e3b; + } while (((param_2 + -0x140132758)[(longlong)pbVar8] == *pbVar8) && + (pbVar8 = pbVar8 + 1, (param_2 + -0x140132758)[(longlong)pbVar8] != 0)); + if (*pbVar8 == 0) goto LAB_140022e3b; + } + pbVar6 = FUN_140021340(param_2,plVar1,'\x01',"<",param_4); + if (pbVar6 != (byte *)0x0) { + return pbVar6 + -1; + } + } + else { +LAB_140022e3b: + *(undefined1 *)(param_1 + 0xb) = 1; + if ((param_2 != (byte *)0x0) && (*param_2 != 0)) { + do { + if (*pbVar6 == 0) goto LAB_140022e75; + } while (((param_2 + -0x140132758)[(longlong)pbVar6] == *pbVar6) && + (pbVar6 = pbVar6 + 1, (param_2 + -0x140132758)[(longlong)pbVar6] != 0)); + if (*pbVar6 == 0) { +LAB_140022e75: + pbVar6 = param_2 + 9; + if (pbVar6 != (byte *)0x0) { + pbVar8 = param_2 + -0x14013275b; + while (bVar3 = *pbVar6, bVar3 != 0) { + pbVar7 = &DAT_140132764; + do { + if (*pbVar7 == 0) goto LAB_140022f1c; + } while ((pbVar8[(longlong)pbVar7] == *pbVar7) && + (pbVar7 = pbVar7 + 1, pbVar8[(longlong)pbVar7] != 0)); + if (*pbVar7 == 0) break; + plVar4 = (longlong *)*plVar1; + uVar9 = *plVar4 + 1; + local_res8[0] = bVar3; + if (((ulonglong)plVar4[1] < uVar9) && + (uVar2 = plVar4[1] + uVar9, (ulonglong)plVar4[1] < uVar2)) { + FUN_14001e1f0(plVar1,uVar2); + } + memmove((void *)(*plVar1 + *(longlong *)*plVar1 + 0x10),local_res8,1); + *(ulonglong *)*plVar1 = uVar9; + *(undefined1 *)(*plVar1 + 0x10 + uVar9) = 0; + pbVar8 = pbVar8 + 1; + pbVar6 = pbVar6 + 1; + if (pbVar6 == (byte *)0x0) break; + } + } +LAB_140022f1c: + local_30 = &DAT_14017ce88; + pbVar6 = FUN_140021340(pbVar6,(longlong *)&local_30,'\0',"]]>",param_4); + if (local_30 == &DAT_14017ce88) { + return pbVar6; + } + operator_delete__(local_28); + return pbVar6; + } + } + FUN_1400219a0(lVar5,0xf,param_2,(int *)param_3,param_4); + } + return (byte *)0x0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140022f90.c b/decomp/AgentManager_Release_x64/full/functions/0x140022f90.c new file mode 100644 index 00000000..efe2478f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140022f90.c @@ -0,0 +1,223 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140022f90 FUN_140022f90 + * Pseudocode, not original source. */ + +byte * FUN_140022f90(longlong *param_1,byte *param_2,longlong *param_3,int param_4) + +{ + char cVar1; + byte bVar2; + longlong *plVar3; + int iVar4; + byte *pbVar5; + longlong lVar6; + ulonglong uVar7; + int iVar8; + undefined8 *puVar9; + char *pcVar10; + undefined **local_88; + undefined8 local_80; + undefined8 local_78; + undefined8 local_70; + undefined8 *local_68; + void *local_60; + undefined8 *local_58; + void *local_50; + undefined8 local_48; + undefined8 local_40; + + pbVar5 = FUN_140020ee0(param_2,param_4); + for (plVar3 = param_1; plVar3 != (longlong *)0x0; plVar3 = (longlong *)plVar3[3]) { + lVar6 = (**(code **)(*plVar3 + 0x20))(); + if (lVar6 != 0) { + lVar6 = (**(code **)(*plVar3 + 0x20))(); + goto LAB_14002300a; + } + } + lVar6 = 0; +LAB_14002300a: + if ((pbVar5 != (byte *)0x0) && (*pbVar5 != 0)) { + pcVar10 = "::vftable; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140023550.c b/decomp/AgentManager_Release_x64/full/functions/0x140023550.c new file mode 100644 index 00000000..5b761bb9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140023550.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140023550 FUN_140023550 + * Pseudocode, not original source. */ + +void FUN_140023550(undefined8 *param_1) + +{ + if ((void *)*param_1 != (void *)0x0) { + operator_delete((void *)*param_1); + } + *param_1 = 0; + param_1[1] = 0; + param_1[2] = 0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140023580.c b/decomp/AgentManager_Release_x64/full/functions/0x140023580.c new file mode 100644 index 00000000..edbdef97 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140023580.c @@ -0,0 +1,34 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140023580 FUN_140023580 + * Pseudocode, not original source. */ + +void FUN_140023580(ulonglong *param_1,undefined8 *param_2) + +{ + undefined8 *puVar1; + undefined8 *puVar2; + + puVar1 = (undefined8 *)param_1[1]; + if ((param_2 < puVar1) && (puVar2 = (undefined8 *)*param_1, puVar2 <= param_2)) { + if (puVar1 == (undefined8 *)param_1[2]) { + FUN_140023650((longlong *)param_1); + } + if ((undefined8 *)param_1[1] != (undefined8 *)0x0) { + *(undefined8 *)param_1[1] = + *(undefined8 *)(*param_1 + ((longlong)param_2 - (longlong)puVar2 >> 3) * 8); + param_1[1] = param_1[1] + 8; + return; + } + } + else { + if (puVar1 == (undefined8 *)param_1[2]) { + FUN_140023650((longlong *)param_1); + } + if ((undefined8 *)param_1[1] != (undefined8 *)0x0) { + *(undefined8 *)param_1[1] = *param_2; + } + } + param_1[1] = param_1[1] + 8; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140023610.c b/decomp/AgentManager_Release_x64/full/functions/0x140023610.c new file mode 100644 index 00000000..5a23919e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140023610.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140023610 FUN_140023610 + * Pseudocode, not original source. */ + +undefined8 * FUN_140023610(undefined8 *param_1,byte param_2) + +{ + DAT_14017cf18 = 0; + *param_1 = MBISingleton::vftable; + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140023650.c b/decomp/AgentManager_Release_x64/full/functions/0x140023650.c new file mode 100644 index 00000000..72682d22 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140023650.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140023650 FUN_140023650 + * Pseudocode, not original source. */ + +void FUN_140023650(longlong *param_1) + +{ + code *pcVar1; + ulonglong uVar2; + ulonglong uVar3; + + uVar3 = param_1[1] - *param_1 >> 3; + if (0x1ffffffffffffffe < uVar3) { + std::_Xlength_error("vector too long"); + pcVar1 = (code *)swi(3); + (*pcVar1)(); + return; + } + uVar3 = uVar3 + 1; + uVar2 = param_1[2] - *param_1 >> 3; + if (uVar2 < uVar3) { + if (0x1fffffffffffffff - (uVar2 >> 1) < uVar2) { + uVar2 = 0; + if (uVar3 != 0) { + uVar2 = uVar3; + } + FUN_1400236e0(param_1,uVar2); + return; + } + uVar2 = uVar2 + (uVar2 >> 1); + if (uVar2 < uVar3) { + uVar2 = uVar3; + } + FUN_1400236e0(param_1,uVar2); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400236e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400236e0.c new file mode 100644 index 00000000..1d9bacb3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400236e0.c @@ -0,0 +1,45 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400236e0 FUN_1400236e0 + * Pseudocode, not original source. */ + +void FUN_1400236e0(longlong *param_1,ulonglong param_2) + +{ + void *pvVar1; + longlong lVar2; + code *pcVar3; + char *pcVar4; + char *local_res10; + undefined **local_20 [3]; + + if (0x1fffffffffffffff < param_2) { + std::_Xlength_error("vector too long"); + pcVar3 = (code *)swi(3); + (*pcVar3)(); + return; + } + if ((ulonglong)(param_1[2] - *param_1 >> 3) < param_2) { + local_res10 = (char *)0x0; + if (param_2 != 0) { + local_res10 = operator_new(param_2 * 8); + if (local_res10 == (char *)0x0) { + std::exception::exception((exception *)local_20,&local_res10); + local_20[0] = std::bad_alloc::vftable; + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_20,(ThrowInfo *)&DAT_14016c158); + } + } + pcVar4 = local_res10; + memmove(local_res10,(void *)*param_1,param_1[1] - *param_1 & 0xfffffffffffffff8); + pvVar1 = (void *)*param_1; + lVar2 = param_1[1]; + if (pvVar1 != (void *)0x0) { + operator_delete(pvVar1); + } + param_1[2] = (longlong)(pcVar4 + param_2 * 8); + param_1[1] = (longlong)(pcVar4 + (lVar2 - (longlong)pvVar1 >> 3) * 8); + *param_1 = (longlong)pcVar4; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400237f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400237f0.c new file mode 100644 index 00000000..df70cb5b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400237f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400237f0 FUN_1400237f0 + * Pseudocode, not original source. */ + +void FUN_1400237f0(longlong param_1,ulonglong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140023500((undefined8 *)(param_1 + -8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140023800.c b/decomp/AgentManager_Release_x64/full/functions/0x140023800.c new file mode 100644 index 00000000..8bcc1e4e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140023800.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140023800 FUN_140023800 + * Pseudocode, not original source. */ + +undefined8 * FUN_140023800(undefined8 *param_1,byte param_2) + +{ + *param_1 = TimeSource::vftable; + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140023830.c b/decomp/AgentManager_Release_x64/full/functions/0x140023830.c new file mode 100644 index 00000000..95da6fe1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140023830.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140023830 FUN_140023830 + * Pseudocode, not original source. */ + +void FUN_140023830(undefined8 *param_1) + +{ + *param_1 = IObserver::vftable; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140023840.c b/decomp/AgentManager_Release_x64/full/functions/0x140023840.c new file mode 100644 index 00000000..8a9dcbdf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140023840.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140023840 FUN_140023840 + * Pseudocode, not original source. */ + +undefined8 * FUN_140023840(undefined8 *param_1,byte param_2) + +{ + *param_1 = IObserver::vftable; + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140023870.c b/decomp/AgentManager_Release_x64/full/functions/0x140023870.c new file mode 100644 index 00000000..944142d2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140023870.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140023870 FUN_140023870 + * Pseudocode, not original source. */ + +undefined8 * FUN_140023870(undefined8 *param_1,uint param_2,undefined8 param_3,undefined8 param_4) + +{ + *param_1 = Magi::Timer::vftable; + (**(code **)(*(longlong *)param_1[1] + 0x18)) + ((longlong *)param_1[1],param_1,param_3,param_4,0xfffffffffffffffe); + *param_1 = IObserver::vftable; + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400238d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400238d0.c new file mode 100644 index 00000000..ea5b18b4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400238d0.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400238d0 FUN_1400238d0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400238d0(void) + +{ + return 0x85fc; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400238e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400238e0.c new file mode 100644 index 00000000..c03d3ece --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400238e0.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400238e0 FUN_1400238e0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400238e0(void) + +{ + return 0x860e; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400238f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400238f0.c new file mode 100644 index 00000000..232a42ef --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400238f0.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400238f0 FUN_1400238f0 + * Pseudocode, not original source. */ + +undefined8 * FUN_1400238f0(undefined8 *param_1,uint param_2) + +{ + FUN_1400768c0(param_1); + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140023920.c b/decomp/AgentManager_Release_x64/full/functions/0x140023920.c new file mode 100644 index 00000000..0ef9545b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140023920.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140023920 FUN_140023920 + * Pseudocode, not original source. */ + +undefined1 FUN_140023920(void) + +{ + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140023930.c b/decomp/AgentManager_Release_x64/full/functions/0x140023930.c new file mode 100644 index 00000000..e5e12d06 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140023930.c @@ -0,0 +1,132 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140023930 FUN_140023930 + * Pseudocode, not original source. */ + +undefined1 +FUN_140023930(longlong *param_1,undefined8 param_2,SIZE_T param_3,longlong *param_4, + longlong *param_5,longlong *param_6) + +{ + undefined1 uVar1; + byte *pbVar2; + ulonglong *puVar3; + byte *pbVar4; + uint *puVar5; + ulonglong *puVar6; + SIZE_T SVar7; + longlong *plVar8; + undefined4 local_res10 [2]; + undefined4 local_50 [2]; + longlong local_48; + longlong local_40; + int local_34; + + local_res10[0] = (undefined4)param_2; + SVar7 = param_3; + plVar8 = param_4; + FUN_140074fb0(local_50); + FUN_140074a40((longlong)local_50,param_2,SVar7,plVar8); + FUN_14002a2d0((longlong)local_50,0x85fd,SVar7,plVar8); + FUN_140029e60((longlong)local_50,(param_4[1] - *param_4) / 0x30,SVar7,plVar8); + pbVar4 = (byte *)*param_4; + if (pbVar4 != (byte *)param_4[1]) { + do { + FUN_140029d80((longlong)local_50,(ulonglong)*pbVar4,SVar7,plVar8); + if (*(ulonglong *)(pbVar4 + 0x20) < 8) { + pbVar2 = pbVar4 + 8; + } + else { + pbVar2 = *(byte **)(pbVar4 + 8); + } + FUN_1400767c0((longlong)local_50,(short *)pbVar2); + pbVar4 = pbVar4 + 0x30; + } while (pbVar4 != (byte *)param_4[1]); + } + FUN_140029e60((longlong)local_50,(param_5[1] - *param_5) / 0xa0,SVar7,plVar8); + puVar5 = (uint *)*param_5; + if (puVar5 != (uint *)param_5[1]) { + puVar6 = (ulonglong *)(puVar5 + 0x1a); + do { + FUN_140029e60((longlong)local_50,(ulonglong)*puVar5,SVar7,plVar8); + FUN_140029e60((longlong)local_50,(ulonglong)*(uint *)((longlong)puVar6 + -100),SVar7,plVar8); + FUN_140029e60((longlong)local_50,(ulonglong)(uint)puVar6[-0xc],SVar7,plVar8); + FUN_140029d80((longlong)local_50,(ulonglong)*(byte *)((longlong)puVar6 + -0x5c),SVar7,plVar8); + FUN_140029e60((longlong)local_50,(ulonglong)(uint)puVar6[-0xb],SVar7,plVar8); + FUN_140029e60((longlong)local_50,(ulonglong)*(uint *)((longlong)puVar6 + -0x54),SVar7,plVar8); + FUN_140029e60((longlong)local_50,(ulonglong)(uint)puVar6[-10],SVar7,plVar8); + FUN_140029e60((longlong)local_50,(ulonglong)*(uint *)((longlong)puVar6 + -0x4c),SVar7,plVar8); + FUN_140029d80((longlong)local_50,(ulonglong)(byte)puVar6[-9],SVar7,plVar8); + if (puVar6[-5] < 8) { + puVar3 = puVar6 + -8; + } + else { + puVar3 = (ulonglong *)puVar6[-8]; + } + FUN_1400767c0((longlong)local_50,(short *)puVar3); + if (*puVar6 < 8) { + puVar3 = puVar6 + -3; + } + else { + puVar3 = (ulonglong *)puVar6[-3]; + } + FUN_1400767c0((longlong)local_50,(short *)puVar3); + if (puVar6[5] < 8) { + puVar3 = puVar6 + 2; + } + else { + puVar3 = (ulonglong *)puVar6[2]; + } + FUN_1400767c0((longlong)local_50,(short *)puVar3); + puVar5 = puVar5 + 0x28; + puVar6 = puVar6 + 0x14; + } while (puVar5 != (uint *)param_5[1]); + } + FUN_140029e60((longlong)local_50,(param_6[1] - *param_6) / 0xa0,SVar7,plVar8); + puVar5 = (uint *)*param_6; + if (puVar5 != (uint *)param_6[1]) { + puVar6 = (ulonglong *)(puVar5 + 0x1a); + do { + FUN_140029e60((longlong)local_50,(ulonglong)*puVar5,SVar7,plVar8); + FUN_140029e60((longlong)local_50,(ulonglong)*(uint *)((longlong)puVar6 + -100),SVar7,plVar8); + FUN_140029e60((longlong)local_50,(ulonglong)(uint)puVar6[-0xc],SVar7,plVar8); + FUN_140029d80((longlong)local_50,(ulonglong)*(byte *)((longlong)puVar6 + -0x5c),SVar7,plVar8); + FUN_140029e60((longlong)local_50,(ulonglong)(uint)puVar6[-0xb],SVar7,plVar8); + FUN_140029e60((longlong)local_50,(ulonglong)*(uint *)((longlong)puVar6 + -0x54),SVar7,plVar8); + FUN_140029e60((longlong)local_50,(ulonglong)(uint)puVar6[-10],SVar7,plVar8); + FUN_140029e60((longlong)local_50,(ulonglong)*(uint *)((longlong)puVar6 + -0x4c),SVar7,plVar8); + FUN_140029d80((longlong)local_50,(ulonglong)(byte)puVar6[-9],SVar7,plVar8); + if (puVar6[-5] < 8) { + puVar3 = puVar6 + -8; + } + else { + puVar3 = (ulonglong *)puVar6[-8]; + } + FUN_1400767c0((longlong)local_50,(short *)puVar3); + if (*puVar6 < 8) { + puVar3 = puVar6 + -3; + } + else { + puVar3 = (ulonglong *)puVar6[-3]; + } + FUN_1400767c0((longlong)local_50,(short *)puVar3); + if (puVar6[5] < 8) { + puVar3 = puVar6 + 2; + } + else { + puVar3 = (ulonglong *)puVar6[2]; + } + FUN_1400767c0((longlong)local_50,(short *)puVar3); + puVar5 = puVar5 + 0x28; + puVar6 = puVar6 + 0x14; + } while (puVar5 != (uint *)param_6[1]); + } + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_50,L"PT_AGENT_DATA",0x85fd); + FUN_14008a320(&local_48); + if ((local_40 != 0) && (local_34 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140023c90.c b/decomp/AgentManager_Release_x64/full/functions/0x140023c90.c new file mode 100644 index 00000000..f7b4dbbd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140023c90.c @@ -0,0 +1,138 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140023c90 FUN_140023c90 + * Pseudocode, not original source. */ + +undefined1 +FUN_140023c90(longlong *param_1,undefined8 param_2,SIZE_T param_3,undefined8 param_4, + longlong *param_5,longlong *param_6,longlong *param_7) + +{ + undefined1 uVar1; + undefined8 uVar2; + byte *pbVar3; + ulonglong *puVar4; + byte *pbVar5; + uint *puVar6; + ulonglong *puVar7; + undefined8 uVar8; + ulonglong uVar9; + undefined4 local_50 [2]; + longlong local_48; + longlong local_40; + int local_34; + + uVar9 = param_3 & 0xffffffff; + uVar2 = param_2; + uVar8 = param_4; + FUN_140074fb0(local_50); + FUN_140074a40((longlong)local_50,uVar2,param_3,uVar8); + FUN_14002a2d0((longlong)local_50,0x85fd,param_3,uVar8); + FUN_140029e60((longlong)local_50,(param_5[1] - *param_5) / 0x30,param_3,uVar8); + pbVar5 = (byte *)*param_5; + if (pbVar5 != (byte *)param_5[1]) { + do { + FUN_140029d80((longlong)local_50,(ulonglong)*pbVar5,param_3,uVar8); + if (*(ulonglong *)(pbVar5 + 0x20) < 8) { + pbVar3 = pbVar5 + 8; + } + else { + pbVar3 = *(byte **)(pbVar5 + 8); + } + FUN_1400767c0((longlong)local_50,(short *)pbVar3); + pbVar5 = pbVar5 + 0x30; + } while (pbVar5 != (byte *)param_5[1]); + } + FUN_140029e60((longlong)local_50,(param_6[1] - *param_6) / 0xa0,param_3,uVar8); + puVar6 = (uint *)*param_6; + if (puVar6 != (uint *)param_6[1]) { + puVar7 = (ulonglong *)(puVar6 + 0x1a); + do { + FUN_140029e60((longlong)local_50,(ulonglong)*puVar6,param_3,uVar8); + FUN_140029e60((longlong)local_50,(ulonglong)*(uint *)((longlong)puVar7 + -100),param_3,uVar8); + FUN_140029e60((longlong)local_50,(ulonglong)(uint)puVar7[-0xc],param_3,uVar8); + FUN_140029d80((longlong)local_50,(ulonglong)*(byte *)((longlong)puVar7 + -0x5c),param_3,uVar8) + ; + FUN_140029e60((longlong)local_50,(ulonglong)(uint)puVar7[-0xb],param_3,uVar8); + FUN_140029e60((longlong)local_50,(ulonglong)*(uint *)((longlong)puVar7 + -0x54),param_3,uVar8) + ; + FUN_140029e60((longlong)local_50,(ulonglong)(uint)puVar7[-10],param_3,uVar8); + FUN_140029e60((longlong)local_50,(ulonglong)*(uint *)((longlong)puVar7 + -0x4c),param_3,uVar8) + ; + FUN_140029d80((longlong)local_50,(ulonglong)(byte)puVar7[-9],param_3,uVar8); + if (puVar7[-5] < 8) { + puVar4 = puVar7 + -8; + } + else { + puVar4 = (ulonglong *)puVar7[-8]; + } + FUN_1400767c0((longlong)local_50,(short *)puVar4); + if (*puVar7 < 8) { + puVar4 = puVar7 + -3; + } + else { + puVar4 = (ulonglong *)puVar7[-3]; + } + FUN_1400767c0((longlong)local_50,(short *)puVar4); + if (puVar7[5] < 8) { + puVar4 = puVar7 + 2; + } + else { + puVar4 = (ulonglong *)puVar7[2]; + } + FUN_1400767c0((longlong)local_50,(short *)puVar4); + puVar6 = puVar6 + 0x28; + puVar7 = puVar7 + 0x14; + } while (puVar6 != (uint *)param_6[1]); + } + FUN_140029e60((longlong)local_50,(param_7[1] - *param_7) / 0xa0,param_3,uVar8); + puVar6 = (uint *)*param_7; + if (puVar6 != (uint *)param_7[1]) { + puVar7 = (ulonglong *)(puVar6 + 0x1a); + do { + FUN_140029e60((longlong)local_50,(ulonglong)*puVar6,param_3,uVar8); + FUN_140029e60((longlong)local_50,(ulonglong)*(uint *)((longlong)puVar7 + -100),param_3,uVar8); + FUN_140029e60((longlong)local_50,(ulonglong)(uint)puVar7[-0xc],param_3,uVar8); + FUN_140029d80((longlong)local_50,(ulonglong)*(byte *)((longlong)puVar7 + -0x5c),param_3,uVar8) + ; + FUN_140029e60((longlong)local_50,(ulonglong)(uint)puVar7[-0xb],param_3,uVar8); + FUN_140029e60((longlong)local_50,(ulonglong)*(uint *)((longlong)puVar7 + -0x54),param_3,uVar8) + ; + FUN_140029e60((longlong)local_50,(ulonglong)(uint)puVar7[-10],param_3,uVar8); + FUN_140029e60((longlong)local_50,(ulonglong)*(uint *)((longlong)puVar7 + -0x4c),param_3,uVar8) + ; + FUN_140029d80((longlong)local_50,(ulonglong)(byte)puVar7[-9],param_3,uVar8); + if (puVar7[-5] < 8) { + puVar4 = puVar7 + -8; + } + else { + puVar4 = (ulonglong *)puVar7[-8]; + } + FUN_1400767c0((longlong)local_50,(short *)puVar4); + if (*puVar7 < 8) { + puVar4 = puVar7 + -3; + } + else { + puVar4 = (ulonglong *)puVar7[-3]; + } + FUN_1400767c0((longlong)local_50,(short *)puVar4); + if (puVar7[5] < 8) { + puVar4 = puVar7 + 2; + } + else { + puVar4 = (ulonglong *)puVar7[2]; + } + FUN_1400767c0((longlong)local_50,(short *)puVar4); + puVar6 = puVar6 + 0x28; + puVar7 = puVar7 + 0x14; + } while (puVar6 != (uint *)param_7[1]); + } + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,uVar9,param_4,local_50,L"PT_AGENT_DATA",0x85fd); + FUN_14008a320(&local_48); + if ((local_40 != 0) && (local_34 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140023ff0.c b/decomp/AgentManager_Release_x64/full/functions/0x140023ff0.c new file mode 100644 index 00000000..6d9c4491 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140023ff0.c @@ -0,0 +1,76 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140023ff0 FUN_140023ff0 + * Pseudocode, not original source. */ + +undefined1 +FUN_140023ff0(longlong *param_1,undefined8 param_2,SIZE_T param_3,uint *param_4,longlong *param_5) + +{ + undefined1 uVar1; + ulonglong *puVar2; + uint *puVar3; + ulonglong *puVar4; + SIZE_T SVar5; + uint *puVar6; + undefined4 local_res10 [2]; + undefined4 local_40 [2]; + longlong local_38; + longlong local_30; + int local_24; + + local_res10[0] = (undefined4)param_2; + SVar5 = param_3; + puVar6 = param_4; + FUN_140074fb0(local_40); + FUN_140074a40((longlong)local_40,param_2,SVar5,puVar6); + FUN_14002a2d0((longlong)local_40,0x85fe,SVar5,puVar6); + FUN_140029e60((longlong)local_40,(ulonglong)*param_4,SVar5,puVar6); + FUN_140029e60((longlong)local_40,(param_5[1] - *param_5) / 0xa0,SVar5,puVar6); + puVar3 = (uint *)*param_5; + if (puVar3 != (uint *)param_5[1]) { + puVar4 = (ulonglong *)(puVar3 + 0x1a); + do { + FUN_140029e60((longlong)local_40,(ulonglong)*puVar3,SVar5,puVar6); + FUN_140029e60((longlong)local_40,(ulonglong)*(uint *)((longlong)puVar4 + -100),SVar5,puVar6); + FUN_140029e60((longlong)local_40,(ulonglong)(uint)puVar4[-0xc],SVar5,puVar6); + FUN_140029d80((longlong)local_40,(ulonglong)*(byte *)((longlong)puVar4 + -0x5c),SVar5,puVar6); + FUN_140029e60((longlong)local_40,(ulonglong)(uint)puVar4[-0xb],SVar5,puVar6); + FUN_140029e60((longlong)local_40,(ulonglong)*(uint *)((longlong)puVar4 + -0x54),SVar5,puVar6); + FUN_140029e60((longlong)local_40,(ulonglong)(uint)puVar4[-10],SVar5,puVar6); + FUN_140029e60((longlong)local_40,(ulonglong)*(uint *)((longlong)puVar4 + -0x4c),SVar5,puVar6); + FUN_140029d80((longlong)local_40,(ulonglong)(byte)puVar4[-9],SVar5,puVar6); + if (puVar4[-5] < 8) { + puVar2 = puVar4 + -8; + } + else { + puVar2 = (ulonglong *)puVar4[-8]; + } + FUN_1400767c0((longlong)local_40,(short *)puVar2); + if (*puVar4 < 8) { + puVar2 = puVar4 + -3; + } + else { + puVar2 = (ulonglong *)puVar4[-3]; + } + FUN_1400767c0((longlong)local_40,(short *)puVar2); + if (puVar4[5] < 8) { + puVar2 = puVar4 + 2; + } + else { + puVar2 = (ulonglong *)puVar4[2]; + } + FUN_1400767c0((longlong)local_40,(short *)puVar2); + puVar3 = puVar3 + 0x28; + puVar4 = puVar4 + 0x14; + } while (puVar3 != (uint *)param_5[1]); + } + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_40,L"PT_SERVER_OPTIONS",0x85fe); + FUN_14008a320(&local_38); + if ((local_30 != 0) && (local_24 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400241e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400241e0.c new file mode 100644 index 00000000..8df7e392 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400241e0.c @@ -0,0 +1,80 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400241e0 FUN_1400241e0 + * Pseudocode, not original source. */ + +undefined1 +FUN_1400241e0(longlong *param_1,undefined8 param_2,SIZE_T param_3,undefined8 param_4,uint *param_5, + longlong *param_6) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong *puVar3; + uint *puVar4; + ulonglong *puVar5; + undefined8 uVar6; + ulonglong uVar7; + undefined4 local_40 [2]; + longlong local_38; + longlong local_30; + int local_24; + + uVar7 = param_3 & 0xffffffff; + uVar2 = param_2; + uVar6 = param_4; + FUN_140074fb0(local_40); + FUN_140074a40((longlong)local_40,uVar2,param_3,uVar6); + FUN_14002a2d0((longlong)local_40,0x85fe,param_3,uVar6); + FUN_140029e60((longlong)local_40,(ulonglong)*param_5,param_3,uVar6); + FUN_140029e60((longlong)local_40,(param_6[1] - *param_6) / 0xa0,param_3,uVar6); + puVar4 = (uint *)*param_6; + if (puVar4 != (uint *)param_6[1]) { + puVar5 = (ulonglong *)(puVar4 + 0x1a); + do { + FUN_140029e60((longlong)local_40,(ulonglong)*puVar4,param_3,uVar6); + FUN_140029e60((longlong)local_40,(ulonglong)*(uint *)((longlong)puVar5 + -100),param_3,uVar6); + FUN_140029e60((longlong)local_40,(ulonglong)(uint)puVar5[-0xc],param_3,uVar6); + FUN_140029d80((longlong)local_40,(ulonglong)*(byte *)((longlong)puVar5 + -0x5c),param_3,uVar6) + ; + FUN_140029e60((longlong)local_40,(ulonglong)(uint)puVar5[-0xb],param_3,uVar6); + FUN_140029e60((longlong)local_40,(ulonglong)*(uint *)((longlong)puVar5 + -0x54),param_3,uVar6) + ; + FUN_140029e60((longlong)local_40,(ulonglong)(uint)puVar5[-10],param_3,uVar6); + FUN_140029e60((longlong)local_40,(ulonglong)*(uint *)((longlong)puVar5 + -0x4c),param_3,uVar6) + ; + FUN_140029d80((longlong)local_40,(ulonglong)(byte)puVar5[-9],param_3,uVar6); + if (puVar5[-5] < 8) { + puVar3 = puVar5 + -8; + } + else { + puVar3 = (ulonglong *)puVar5[-8]; + } + FUN_1400767c0((longlong)local_40,(short *)puVar3); + if (*puVar5 < 8) { + puVar3 = puVar5 + -3; + } + else { + puVar3 = (ulonglong *)puVar5[-3]; + } + FUN_1400767c0((longlong)local_40,(short *)puVar3); + if (puVar5[5] < 8) { + puVar3 = puVar5 + 2; + } + else { + puVar3 = (ulonglong *)puVar5[2]; + } + FUN_1400767c0((longlong)local_40,(short *)puVar3); + puVar4 = puVar4 + 0x28; + puVar5 = puVar5 + 0x14; + } while (puVar4 != (uint *)param_6[1]); + } + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,uVar7,param_4,local_40,L"PT_SERVER_OPTIONS",0x85fe); + FUN_14008a320(&local_38); + if ((local_30 != 0) && (local_24 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140024400.c b/decomp/AgentManager_Release_x64/full/functions/0x140024400.c new file mode 100644 index 00000000..0c62899f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140024400.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140024400 FUN_140024400 + * Pseudocode, not original source. */ + +undefined1 +FUN_140024400(longlong *param_1,undefined8 param_2,SIZE_T param_3,uint *param_4,uint *param_5, + uint *param_6,longlong *param_7) + +{ + undefined1 uVar1; + SIZE_T SVar2; + uint *puVar3; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + puVar3 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,puVar3); + FUN_14002a2d0((longlong)local_30,0x85ff,SVar2,puVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_4,SVar2,puVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_5,SVar2,puVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_6,SVar2,puVar3); + FUN_140076780((longlong)local_30,param_7,SVar2,puVar3); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,L"PT_SERVER_NOTICE",0x85ff); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140024510.c b/decomp/AgentManager_Release_x64/full/functions/0x140024510.c new file mode 100644 index 00000000..bcedada8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140024510.c @@ -0,0 +1,39 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140024510 FUN_140024510 + * Pseudocode, not original source. */ + +undefined1 +FUN_140024510(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4, + uint *param_5,uint *param_6,uint *param_7,longlong *param_8) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0x85ff,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_5,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_6,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_7,uVar3,uVar4); + FUN_140076780((longlong)local_30,param_8,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30,L"PT_SERVER_NOTICE", + 0x85ff); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140024630.c b/decomp/AgentManager_Release_x64/full/functions/0x140024630.c new file mode 100644 index 00000000..85db73a0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140024630.c @@ -0,0 +1,35 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140024630 FUN_140024630 + * Pseudocode, not original source. */ + +undefined1 +FUN_140024630(longlong *param_1,undefined8 param_2,SIZE_T param_3,uint *param_4,uint *param_5) + +{ + undefined1 uVar1; + SIZE_T SVar2; + uint *puVar3; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + puVar3 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,puVar3); + FUN_14002a2d0((longlong)local_30,0x8600,SVar2,puVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_4,SVar2,puVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_5,SVar2,puVar3); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,L"PT_SERVER_COMMAND",0x8600); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140024720.c b/decomp/AgentManager_Release_x64/full/functions/0x140024720.c new file mode 100644 index 00000000..b04df09a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140024720.c @@ -0,0 +1,37 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140024720 FUN_140024720 + * Pseudocode, not original source. */ + +undefined1 +FUN_140024720(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4, + uint *param_5,uint *param_6) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0x8600,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_5,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_6,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30,L"PT_SERVER_COMMAND", + 0x8600); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140024820.c b/decomp/AgentManager_Release_x64/full/functions/0x140024820.c new file mode 100644 index 00000000..f23f9bc7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140024820.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140024820 FUN_140024820 + * Pseudocode, not original source. */ + +undefined1 FUN_140024820(longlong *param_1,undefined8 param_2,SIZE_T param_3,uint *param_4) + +{ + undefined1 uVar1; + SIZE_T SVar2; + uint *puVar3; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + puVar3 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,puVar3); + FUN_14002a2d0((longlong)local_30,0x8601,SVar2,puVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_4,SVar2,puVar3); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,L"PT_SERVER_CONNECT",0x8601); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140024900.c b/decomp/AgentManager_Release_x64/full/functions/0x140024900.c new file mode 100644 index 00000000..ebe92349 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140024900.c @@ -0,0 +1,36 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140024900 FUN_140024900 + * Pseudocode, not original source. */ + +undefined1 +FUN_140024900(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4, + uint *param_5) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0x8601,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_5,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30,L"PT_SERVER_CONNECT", + 0x8601); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400249e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400249e0.c new file mode 100644 index 00000000..2880a2f9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400249e0.c @@ -0,0 +1,49 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400249e0 FUN_1400249e0 + * Pseudocode, not original source. */ + +undefined1 FUN_1400249e0(longlong *param_1,undefined8 param_2,SIZE_T param_3,longlong *param_4) + +{ + undefined1 uVar1; + byte *pbVar2; + byte *pbVar3; + SIZE_T SVar4; + longlong *plVar5; + undefined4 local_res10 [2]; + undefined4 local_40 [2]; + longlong local_38; + longlong local_30; + int local_24; + + local_res10[0] = (undefined4)param_2; + SVar4 = param_3; + plVar5 = param_4; + FUN_140074fb0(local_40); + FUN_140074a40((longlong)local_40,param_2,SVar4,plVar5); + FUN_14002a2d0((longlong)local_40,0x8602,SVar4,plVar5); + FUN_140029e60((longlong)local_40,(param_4[1] - *param_4) / 0x30,SVar4,plVar5); + pbVar3 = (byte *)*param_4; + if (pbVar3 != (byte *)param_4[1]) { + do { + FUN_140029d80((longlong)local_40,(ulonglong)*pbVar3,SVar4,plVar5); + if (*(ulonglong *)(pbVar3 + 0x20) < 8) { + pbVar2 = pbVar3 + 8; + } + else { + pbVar2 = *(byte **)(pbVar3 + 8); + } + FUN_1400767c0((longlong)local_40,(short *)pbVar2); + pbVar3 = pbVar3 + 0x30; + } while (pbVar3 != (byte *)param_4[1]); + } + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_40,L"PT_REFRESH_SERVER_FILE",0x8602); + FUN_14008a320(&local_38); + if ((local_30 != 0) && (local_24 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140024b10.c b/decomp/AgentManager_Release_x64/full/functions/0x140024b10.c new file mode 100644 index 00000000..3760e1d2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140024b10.c @@ -0,0 +1,51 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140024b10 FUN_140024b10 + * Pseudocode, not original source. */ + +undefined1 +FUN_140024b10(longlong *param_1,undefined8 param_2,SIZE_T param_3,undefined8 param_4, + longlong *param_5) + +{ + undefined1 uVar1; + undefined8 uVar2; + byte *pbVar3; + byte *pbVar4; + undefined8 uVar5; + ulonglong uVar6; + undefined4 local_40 [2]; + longlong local_38; + longlong local_30; + int local_24; + + uVar6 = param_3 & 0xffffffff; + uVar2 = param_2; + uVar5 = param_4; + FUN_140074fb0(local_40); + FUN_140074a40((longlong)local_40,uVar2,param_3,uVar5); + FUN_14002a2d0((longlong)local_40,0x8602,param_3,uVar5); + FUN_140029e60((longlong)local_40,(param_5[1] - *param_5) / 0x30,param_3,uVar5); + pbVar4 = (byte *)*param_5; + if (pbVar4 != (byte *)param_5[1]) { + do { + FUN_140029d80((longlong)local_40,(ulonglong)*pbVar4,param_3,uVar5); + if (*(ulonglong *)(pbVar4 + 0x20) < 8) { + pbVar3 = pbVar4 + 8; + } + else { + pbVar3 = *(byte **)(pbVar4 + 8); + } + FUN_1400767c0((longlong)local_40,(short *)pbVar3); + pbVar4 = pbVar4 + 0x30; + } while (pbVar4 != (byte *)param_5[1]); + } + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,uVar6,param_4,local_40,L"PT_REFRESH_SERVER_FILE",0x8602); + FUN_14008a320(&local_38); + if ((local_30 != 0) && (local_24 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140024c50.c b/decomp/AgentManager_Release_x64/full/functions/0x140024c50.c new file mode 100644 index 00000000..83f13129 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140024c50.c @@ -0,0 +1,74 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140024c50 FUN_140024c50 + * Pseudocode, not original source. */ + +undefined1 FUN_140024c50(longlong *param_1,undefined8 param_2,SIZE_T param_3,longlong *param_4) + +{ + undefined1 uVar1; + ulonglong *puVar2; + uint *puVar3; + ulonglong *puVar4; + SIZE_T SVar5; + longlong *plVar6; + undefined4 local_res10 [2]; + undefined4 local_50 [2]; + longlong local_48; + longlong local_40; + int local_34; + + local_res10[0] = (undefined4)param_2; + SVar5 = param_3; + plVar6 = param_4; + FUN_140074fb0(local_50); + FUN_140074a40((longlong)local_50,param_2,SVar5,plVar6); + FUN_14002a2d0((longlong)local_50,0x8603,SVar5,plVar6); + FUN_140029e60((longlong)local_50,(param_4[1] - *param_4) / 0xa0,SVar5,plVar6); + puVar3 = (uint *)*param_4; + if (puVar3 != (uint *)param_4[1]) { + puVar4 = (ulonglong *)(puVar3 + 0x1a); + do { + FUN_140029e60((longlong)local_50,(ulonglong)*puVar3,SVar5,plVar6); + FUN_140029e60((longlong)local_50,(ulonglong)*(uint *)((longlong)puVar4 + -100),SVar5,plVar6); + FUN_140029e60((longlong)local_50,(ulonglong)(uint)puVar4[-0xc],SVar5,plVar6); + FUN_140029d80((longlong)local_50,(ulonglong)*(byte *)((longlong)puVar4 + -0x5c),SVar5,plVar6); + FUN_140029e60((longlong)local_50,(ulonglong)(uint)puVar4[-0xb],SVar5,plVar6); + FUN_140029e60((longlong)local_50,(ulonglong)*(uint *)((longlong)puVar4 + -0x54),SVar5,plVar6); + FUN_140029e60((longlong)local_50,(ulonglong)(uint)puVar4[-10],SVar5,plVar6); + FUN_140029e60((longlong)local_50,(ulonglong)*(uint *)((longlong)puVar4 + -0x4c),SVar5,plVar6); + FUN_140029d80((longlong)local_50,(ulonglong)(byte)puVar4[-9],SVar5,plVar6); + if (puVar4[-5] < 8) { + puVar2 = puVar4 + -8; + } + else { + puVar2 = (ulonglong *)puVar4[-8]; + } + FUN_1400767c0((longlong)local_50,(short *)puVar2); + if (*puVar4 < 8) { + puVar2 = puVar4 + -3; + } + else { + puVar2 = (ulonglong *)puVar4[-3]; + } + FUN_1400767c0((longlong)local_50,(short *)puVar2); + if (puVar4[5] < 8) { + puVar2 = puVar4 + 2; + } + else { + puVar2 = (ulonglong *)puVar4[2]; + } + FUN_1400767c0((longlong)local_50,(short *)puVar2); + puVar3 = puVar3 + 0x28; + puVar4 = puVar4 + 0x14; + } while (puVar3 != (uint *)param_4[1]); + } + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_50,L"PT_REFRESH_SERVER_OPTION",0x8603); + FUN_14008a320(&local_48); + if ((local_40 != 0) && (local_34 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140024e30.c b/decomp/AgentManager_Release_x64/full/functions/0x140024e30.c new file mode 100644 index 00000000..c634fc6d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140024e30.c @@ -0,0 +1,79 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140024e30 FUN_140024e30 + * Pseudocode, not original source. */ + +undefined1 +FUN_140024e30(longlong *param_1,undefined8 param_2,SIZE_T param_3,undefined8 param_4, + longlong *param_5) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong *puVar3; + uint *puVar4; + ulonglong *puVar5; + undefined8 uVar6; + ulonglong uVar7; + undefined4 local_40 [2]; + longlong local_38; + longlong local_30; + int local_24; + + uVar7 = param_3 & 0xffffffff; + uVar2 = param_2; + uVar6 = param_4; + FUN_140074fb0(local_40); + FUN_140074a40((longlong)local_40,uVar2,param_3,uVar6); + FUN_14002a2d0((longlong)local_40,0x8603,param_3,uVar6); + FUN_140029e60((longlong)local_40,(param_5[1] - *param_5) / 0xa0,param_3,uVar6); + puVar4 = (uint *)*param_5; + if (puVar4 != (uint *)param_5[1]) { + puVar5 = (ulonglong *)(puVar4 + 0x1a); + do { + FUN_140029e60((longlong)local_40,(ulonglong)*puVar4,param_3,uVar6); + FUN_140029e60((longlong)local_40,(ulonglong)*(uint *)((longlong)puVar5 + -100),param_3,uVar6); + FUN_140029e60((longlong)local_40,(ulonglong)(uint)puVar5[-0xc],param_3,uVar6); + FUN_140029d80((longlong)local_40,(ulonglong)*(byte *)((longlong)puVar5 + -0x5c),param_3,uVar6) + ; + FUN_140029e60((longlong)local_40,(ulonglong)(uint)puVar5[-0xb],param_3,uVar6); + FUN_140029e60((longlong)local_40,(ulonglong)*(uint *)((longlong)puVar5 + -0x54),param_3,uVar6) + ; + FUN_140029e60((longlong)local_40,(ulonglong)(uint)puVar5[-10],param_3,uVar6); + FUN_140029e60((longlong)local_40,(ulonglong)*(uint *)((longlong)puVar5 + -0x4c),param_3,uVar6) + ; + FUN_140029d80((longlong)local_40,(ulonglong)(byte)puVar5[-9],param_3,uVar6); + if (puVar5[-5] < 8) { + puVar3 = puVar5 + -8; + } + else { + puVar3 = (ulonglong *)puVar5[-8]; + } + FUN_1400767c0((longlong)local_40,(short *)puVar3); + if (*puVar5 < 8) { + puVar3 = puVar5 + -3; + } + else { + puVar3 = (ulonglong *)puVar5[-3]; + } + FUN_1400767c0((longlong)local_40,(short *)puVar3); + if (puVar5[5] < 8) { + puVar3 = puVar5 + 2; + } + else { + puVar3 = (ulonglong *)puVar5[2]; + } + FUN_1400767c0((longlong)local_40,(short *)puVar3); + puVar4 = puVar4 + 0x28; + puVar5 = puVar5 + 0x14; + } while (puVar4 != (uint *)param_5[1]); + } + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,uVar7,param_4,local_40,L"PT_REFRESH_SERVER_OPTION",0x8603); + FUN_14008a320(&local_38); + if ((local_30 != 0) && (local_24 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140025040.c b/decomp/AgentManager_Release_x64/full/functions/0x140025040.c new file mode 100644 index 00000000..b1b69da0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140025040.c @@ -0,0 +1,37 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140025040 FUN_140025040 + * Pseudocode, not original source. */ + +undefined1 +FUN_140025040(longlong *param_1,undefined8 param_2,SIZE_T param_3,uint *param_4,byte *param_5, + byte *param_6) + +{ + undefined1 uVar1; + SIZE_T SVar2; + uint *puVar3; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + puVar3 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,puVar3); + FUN_14002a2d0((longlong)local_30,0x8604,SVar2,puVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_4,SVar2,puVar3); + FUN_140029d80((longlong)local_30,(ulonglong)*param_5,SVar2,puVar3); + FUN_140029d80((longlong)local_30,(ulonglong)*param_6,SVar2,puVar3); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,L"PT_CHANNEL_STATUS_CHANGE",0x8604); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140025140.c b/decomp/AgentManager_Release_x64/full/functions/0x140025140.c new file mode 100644 index 00000000..f70ad3ad --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140025140.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140025140 FUN_140025140 + * Pseudocode, not original source. */ + +undefined1 +FUN_140025140(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4, + uint *param_5,byte *param_6,byte *param_7) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0x8604,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_5,uVar3,uVar4); + FUN_140029d80((longlong)local_30,(ulonglong)*param_6,uVar3,uVar4); + FUN_140029d80((longlong)local_30,(ulonglong)*param_7,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30, + L"PT_CHANNEL_STATUS_CHANGE",0x8604); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140025250.c b/decomp/AgentManager_Release_x64/full/functions/0x140025250.c new file mode 100644 index 00000000..7309dfa2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140025250.c @@ -0,0 +1,35 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140025250 FUN_140025250 + * Pseudocode, not original source. */ + +undefined1 +FUN_140025250(longlong *param_1,undefined8 param_2,SIZE_T param_3,uint *param_4,longlong *param_5) + +{ + undefined1 uVar1; + SIZE_T SVar2; + uint *puVar3; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + puVar3 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,puVar3); + FUN_14002a2d0((longlong)local_30,0x8605,SVar2,puVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_4,SVar2,puVar3); + FUN_140076780((longlong)local_30,param_5,SVar2,puVar3); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,L"PT_USER_KICK",0x8605); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140025340.c b/decomp/AgentManager_Release_x64/full/functions/0x140025340.c new file mode 100644 index 00000000..c90223ea --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140025340.c @@ -0,0 +1,36 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140025340 FUN_140025340 + * Pseudocode, not original source. */ + +undefined1 +FUN_140025340(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4, + uint *param_5,longlong *param_6) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0x8605,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_5,uVar3,uVar4); + FUN_140076780((longlong)local_30,param_6,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30,L"PT_USER_KICK",0x8605); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140025430.c b/decomp/AgentManager_Release_x64/full/functions/0x140025430.c new file mode 100644 index 00000000..90f28f18 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140025430.c @@ -0,0 +1,35 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140025430 FUN_140025430 + * Pseudocode, not original source. */ + +undefined1 +FUN_140025430(longlong *param_1,undefined8 param_2,SIZE_T param_3,uint *param_4,uint *param_5) + +{ + undefined1 uVar1; + SIZE_T SVar2; + uint *puVar3; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + puVar3 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,puVar3); + FUN_14002a2d0((longlong)local_30,0x8606,SVar2,puVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_4,SVar2,puVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_5,SVar2,puVar3); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,L"PT_CURRENT_USER_COUNT",0x8606); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140025520.c b/decomp/AgentManager_Release_x64/full/functions/0x140025520.c new file mode 100644 index 00000000..72b4bb57 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140025520.c @@ -0,0 +1,37 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140025520 FUN_140025520 + * Pseudocode, not original source. */ + +undefined1 +FUN_140025520(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4, + uint *param_5,uint *param_6) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0x8606,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_5,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_6,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30,L"PT_CURRENT_USER_COUNT", + 0x8606); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140025620.c b/decomp/AgentManager_Release_x64/full/functions/0x140025620.c new file mode 100644 index 00000000..34135c0a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140025620.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140025620 FUN_140025620 + * Pseudocode, not original source. */ + +undefined1 FUN_140025620(longlong *param_1,undefined8 param_2,SIZE_T param_3,longlong *param_4) + +{ + undefined1 uVar1; + SIZE_T SVar2; + longlong *plVar3; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + plVar3 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,plVar3); + FUN_14002a2d0((longlong)local_30,0x8607,SVar2,plVar3); + FUN_140076780((longlong)local_30,param_4,SVar2,plVar3); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,L"PT_STRING_COMMAND",0x8607); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140025700.c b/decomp/AgentManager_Release_x64/full/functions/0x140025700.c new file mode 100644 index 00000000..a2635f59 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140025700.c @@ -0,0 +1,36 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140025700 FUN_140025700 + * Pseudocode, not original source. */ + +undefined1 +FUN_140025700(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4, + longlong *param_5) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0x8607,uVar3,uVar4); + FUN_140076780((longlong)local_30,param_5,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30,L"PT_STRING_COMMAND", + 0x8607); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400257e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400257e0.c new file mode 100644 index 00000000..0dbf3e42 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400257e0.c @@ -0,0 +1,39 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400257e0 FUN_1400257e0 + * Pseudocode, not original source. */ + +undefined1 +FUN_1400257e0(longlong *param_1,undefined8 param_2,SIZE_T param_3,byte *param_4,uint *param_5, + uint *param_6) + +{ + undefined1 uVar1; + SIZE_T SVar2; + byte *pbVar3; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + pbVar3 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,pbVar3); + FUN_14002a2d0((longlong)local_30,0x8608,SVar2,pbVar3); + FUN_140029d80((longlong)local_30,(ulonglong)*param_4,SVar2,pbVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_5,SVar2,pbVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_6,SVar2,pbVar3); + FUN_140029e60((longlong)local_30,(ulonglong)param_6[1],SVar2,pbVar3); + FUN_1400767c0((longlong)local_30,(short *)(param_6 + 2)); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,L"PT_REAL_TIME_EVENT",0x8608); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140025900.c b/decomp/AgentManager_Release_x64/full/functions/0x140025900.c new file mode 100644 index 00000000..18ede4d7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140025900.c @@ -0,0 +1,40 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140025900 FUN_140025900 + * Pseudocode, not original source. */ + +undefined1 +FUN_140025900(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4, + byte *param_5,uint *param_6,uint *param_7) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0x8608,uVar3,uVar4); + FUN_140029d80((longlong)local_30,(ulonglong)*param_5,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_6,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_7,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)param_7[1],uVar3,uVar4); + FUN_1400767c0((longlong)local_30,(short *)(param_7 + 2)); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30,L"PT_REAL_TIME_EVENT", + 0x8608); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140025a30.c b/decomp/AgentManager_Release_x64/full/functions/0x140025a30.c new file mode 100644 index 00000000..9a31b3a2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140025a30.c @@ -0,0 +1,37 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140025a30 FUN_140025a30 + * Pseudocode, not original source. */ + +undefined1 +FUN_140025a30(longlong *param_1,undefined8 param_2,SIZE_T param_3,uint *param_4,uint *param_5, + longlong *param_6) + +{ + undefined1 uVar1; + SIZE_T SVar2; + uint *puVar3; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + puVar3 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,puVar3); + FUN_14002a2d0((longlong)local_30,0x8609,SVar2,puVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_4,SVar2,puVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_5,SVar2,puVar3); + FUN_140076780((longlong)local_30,param_6,SVar2,puVar3); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,L"PWE_REQ_PLAYER_KICK",0x8609); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140025b30.c b/decomp/AgentManager_Release_x64/full/functions/0x140025b30.c new file mode 100644 index 00000000..a64fe12f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140025b30.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140025b30 FUN_140025b30 + * Pseudocode, not original source. */ + +undefined1 +FUN_140025b30(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4, + uint *param_5,uint *param_6,longlong *param_7) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0x8609,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_5,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_6,uVar3,uVar4); + FUN_140076780((longlong)local_30,param_7,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30,L"PWE_REQ_PLAYER_KICK", + 0x8609); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140025c40.c b/decomp/AgentManager_Release_x64/full/functions/0x140025c40.c new file mode 100644 index 00000000..2ff86ca2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140025c40.c @@ -0,0 +1,37 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140025c40 FUN_140025c40 + * Pseudocode, not original source. */ + +undefined1 +FUN_140025c40(longlong *param_1,undefined8 param_2,SIZE_T param_3,uint *param_4,uint *param_5, + longlong *param_6) + +{ + undefined1 uVar1; + SIZE_T SVar2; + uint *puVar3; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + puVar3 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,puVar3); + FUN_14002a2d0((longlong)local_30,0x860a,SVar2,puVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_4,SVar2,puVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_5,SVar2,puVar3); + FUN_140076780((longlong)local_30,param_6,SVar2,puVar3); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,L"PWE_REQ_PLAYER_BAN",0x860a); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140025d40.c b/decomp/AgentManager_Release_x64/full/functions/0x140025d40.c new file mode 100644 index 00000000..fba9765d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140025d40.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140025d40 FUN_140025d40 + * Pseudocode, not original source. */ + +undefined1 +FUN_140025d40(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4, + uint *param_5,uint *param_6,longlong *param_7) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0x860a,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_5,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_6,uVar3,uVar4); + FUN_140076780((longlong)local_30,param_7,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30,L"PWE_REQ_PLAYER_BAN", + 0x860a); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140025e50.c b/decomp/AgentManager_Release_x64/full/functions/0x140025e50.c new file mode 100644 index 00000000..29c08aed --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140025e50.c @@ -0,0 +1,37 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140025e50 FUN_140025e50 + * Pseudocode, not original source. */ + +undefined1 +FUN_140025e50(longlong *param_1,undefined8 param_2,SIZE_T param_3,uint *param_4,uint *param_5, + longlong *param_6) + +{ + undefined1 uVar1; + SIZE_T SVar2; + uint *puVar3; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + puVar3 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,puVar3); + FUN_14002a2d0((longlong)local_30,0x860b,SVar2,puVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_4,SVar2,puVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_5,SVar2,puVar3); + FUN_140076780((longlong)local_30,param_6,SVar2,puVar3); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,L"PWE_REQ_UPDATE_CASH",0x860b); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140025f50.c b/decomp/AgentManager_Release_x64/full/functions/0x140025f50.c new file mode 100644 index 00000000..36a29823 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140025f50.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140025f50 FUN_140025f50 + * Pseudocode, not original source. */ + +undefined1 +FUN_140025f50(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4, + uint *param_5,uint *param_6,longlong *param_7) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0x860b,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_5,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_6,uVar3,uVar4); + FUN_140076780((longlong)local_30,param_7,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30,L"PWE_REQ_UPDATE_CASH", + 0x860b); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140026060.c b/decomp/AgentManager_Release_x64/full/functions/0x140026060.c new file mode 100644 index 00000000..78246c1a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140026060.c @@ -0,0 +1,39 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140026060 FUN_140026060 + * Pseudocode, not original source. */ + +undefined1 +FUN_140026060(longlong *param_1,undefined8 param_2,SIZE_T param_3,uint *param_4,uint *param_5, + longlong *param_6,uint *param_7,uint *param_8) + +{ + undefined1 uVar1; + SIZE_T SVar2; + uint *puVar3; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + puVar3 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,puVar3); + FUN_14002a2d0((longlong)local_30,0x860c,SVar2,puVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_4,SVar2,puVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_5,SVar2,puVar3); + FUN_140076780((longlong)local_30,param_6,SVar2,puVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_7,SVar2,puVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_8,SVar2,puVar3); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,L"PWE_REQ_INSERT_ITEM",0x860c); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140026190.c b/decomp/AgentManager_Release_x64/full/functions/0x140026190.c new file mode 100644 index 00000000..4279d177 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140026190.c @@ -0,0 +1,40 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140026190 FUN_140026190 + * Pseudocode, not original source. */ + +undefined1 +FUN_140026190(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4, + uint *param_5,uint *param_6,longlong *param_7,uint *param_8,uint *param_9) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0x860c,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_5,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_6,uVar3,uVar4); + FUN_140076780((longlong)local_30,param_7,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_8,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_9,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30,L"PWE_REQ_INSERT_ITEM", + 0x860c); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400262c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400262c0.c new file mode 100644 index 00000000..85a8b47a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400262c0.c @@ -0,0 +1,39 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400262c0 FUN_1400262c0 + * Pseudocode, not original source. */ + +undefined1 +FUN_1400262c0(longlong *param_1,undefined8 param_2,SIZE_T param_3,uint *param_4,uint *param_5, + uint *param_6,uint *param_7,longlong *param_8) + +{ + undefined1 uVar1; + SIZE_T SVar2; + uint *puVar3; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + puVar3 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,puVar3); + FUN_14002a2d0((longlong)local_30,0x860d,SVar2,puVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_4,SVar2,puVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_5,SVar2,puVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_6,SVar2,puVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_7,SVar2,puVar3); + FUN_140076780((longlong)local_30,param_8,SVar2,puVar3); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,L"PWE_REQ_NOTICE",0x860d); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400263f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400263f0.c new file mode 100644 index 00000000..86f464d0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400263f0.c @@ -0,0 +1,40 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400263f0 FUN_1400263f0 + * Pseudocode, not original source. */ + +undefined1 +FUN_1400263f0(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4, + uint *param_5,uint *param_6,uint *param_7,uint *param_8,longlong *param_9) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0x860d,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_5,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_6,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_7,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_8,uVar3,uVar4); + FUN_140076780((longlong)local_30,param_9,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30,L"PWE_REQ_NOTICE",0x860d) + ; + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140026520.c b/decomp/AgentManager_Release_x64/full/functions/0x140026520.c new file mode 100644 index 00000000..0664e359 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140026520.c @@ -0,0 +1,1587 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140026520 FUN_140026520 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* WARNING: Type propagation algorithm not settling */ + +ulonglong FUN_140026520(longlong *param_1,uint *param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong ******pppppplVar1; + int *piVar2; + uint uVar3; + uint uVar4; + char cVar5; + DWORD DVar6; + DWORD DVar7; + undefined8 uVar8; + longlong ******extraout_RAX; + undefined **ppuVar9; + longlong *******ppppppplVar10; + longlong *******ppppppplVar11; + undefined *puVar12; + longlong *******ppppppplVar13; + longlong ******pppppplVar14; + longlong *plVar15; + longlong *plVar16; + ulonglong uVar17; + longlong *******ppppppplVar18; + uint *puVar19; + uint *puVar20; + undefined1 *puVar21; + IMAGE_DOS_HEADER *pIVar22; + int iVar23; + longlong lVar24; + wchar_t *pwVar25; + undefined8 uVar26; + undefined8 *puVar27; + undefined1 auStack_2b8 [32]; + longlong *******local_298; + longlong *******local_290; + longlong *******local_288; + undefined8 *local_280; + longlong *******local_278; + uint local_270; + undefined1 local_26c [4]; + longlong *******local_268; + uint local_260; + undefined1 local_25c [4]; + void *local_258; + wchar_t *local_250; + undefined8 local_248; + undefined8 local_240; + int local_238; + longlong *******local_230; + longlong *******local_228; + undefined8 local_220; + undefined8 local_218; + uint local_210; + undefined2 local_20c; + longlong *******local_208; + longlong *******local_200; + longlong *******local_1f8; + longlong *******local_1f0; + longlong *******local_1e8 [2]; + undefined1 local_1d8 [4]; + uint local_1d4; + undefined8 local_1a0; + undefined *local_178; + uint local_170; + undefined *local_168; + undefined *local_160; + undefined *local_158; + undefined *local_150; + undefined *local_148; + undefined *local_140; + undefined *local_138; + undefined *local_130; + undefined *local_128; + undefined *local_120; + uint local_118; + uint local_114; + undefined *local_110; + undefined *local_108; + undefined *local_100; + undefined *local_f8; + undefined *local_f0; + longlong local_e8; + longlong local_e0; + longlong local_d8; + longlong local_d0; + longlong local_c8; + longlong local_c0; + longlong local_b8; + longlong local_b0 [3]; + longlong local_98; + longlong local_90; + longlong local_88; + UUID local_80; + uint local_70; + undefined8 local_68; + int local_60; + UUID local_58; + ulonglong local_48; + + local_b0[1] = 0xfffffffffffffffe; + local_48 = DAT_14016f5a0 ^ (ulonglong)auStack_2b8; + uVar3 = param_2[10]; + uVar26 = param_3; + if (uVar3 == 0) { + FUN_140079c10(); + } + uVar4 = *param_2; + uVar8 = FUN_140075890(param_2,&local_118,uVar26,param_4); + if ((char)uVar8 == '\0') { +switchD_1400265c4_default: + uVar17 = FUN_140074bb0((int *)param_2, + (ulonglong)(uint)((int)(((int)uVar4 >> 0x1f & 7U) + uVar4) >> 3),uVar26, + param_4); + uVar17 = uVar17 & 0xffffffffffffff00; + } + else { + pIVar22 = &IMAGE_DOS_HEADER_140000000; + local_1a0 = param_3; + switch(local_118) { + case 0x8599: + FUN_140049b40(local_1d8); + local_1d4 = param_2[10]; + local_1d8[0] = (undefined1)param_2[0x10]; + uVar8 = 4; + uVar26 = FUN_140074ee0(param_2,(undefined8 *)&local_270,4); + if ((char)uVar26 != '\0') { + local_260 = local_270; + } + DVar6 = 0; + local_228 = (longlong *******)0x0; + local_220 = (ulonglong)local_220._4_4_ << 0x20; + local_218 = 0; + FUN_14002f300(param_2,(undefined4 *)&local_228,uVar8,param_4); + plVar16 = (longlong *)param_1[2]; + pwVar25 = L"PT_SERVER_REGISTER"; + (**(code **)(*plVar16 + 0x48))(); + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + local_298 = (longlong *******)&DAT_140131724; + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar3,0x8599,L"PT_SERVER_REGISTER"); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar16,param_2,pwVar25,param_4); + local_278 = (longlong *******)PTR_DAT_14016f010; + FUN_1400926b0((longlong *)&local_278); + puVar12 = &DAT_140133350; + ppppppplVar10 = (longlong *******)&local_278; + FUN_140029bf0((longlong *)ppppppplVar10,(short *)&DAT_140133350); + FUN_14003e7c0(ppppppplVar10,puVar12,pwVar25,param_4); + local_268 = (longlong *******)PTR_DAT_14016f010; + uVar17 = local_220 & 0xffffffff; + FUN_140029b80((longlong *)&local_268,L"{ %d }",uVar17,param_4); + ppppppplVar10 = (longlong *******)&local_268; + ppppppplVar18 = (longlong *******)&local_278; + FUN_140029980((longlong *)ppppppplVar18,(longlong *)ppppppplVar10); + ppppppplVar13 = local_268; + if (((local_268 != (longlong *******)0x0) && + (local_268 != (longlong *******)PTR_DAT_14016f010)) && + (pppppplVar1 = (longlong ******)(local_268 + -1), pppppplVar1 != (longlong ******)0x0)) { + ppppppplVar10 = + (longlong *******)FUN_14003e7c0(ppppppplVar18,ppppppplVar10,uVar17,param_4); + local_80._0_8_ = ppppppplVar10; + FUN_14003d040((int *)ppppppplVar10); + local_80.Data4[0] = '\x01'; + piVar2 = (int *)((longlong)ppppppplVar13 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(pppppplVar1); + } + FUN_14003d0d0((longlong)ppppppplVar10); + } + FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350); + DVar7 = DVar6; + if ((local_278 != (longlong *******)0x0) && + (local_278 != (longlong *******)PTR_DAT_14016f010)) { + DVar7 = *(DWORD *)(local_278 + -1); + } + uVar17 = (ulonglong)(DVar7 - 2); + local_268 = (longlong *******) + FUN_140028f40((longlong *)&local_278,(longlong *)&local_110,DVar7 - 2); + ppppppplVar10 = local_278; + if (local_278 == (longlong *******)0x0) { + ppppppplVar10 = (longlong *******)PTR_DAT_14016f010; + } + local_278 = ppppppplVar10; + if ((longlong *******)*local_268 != ppppppplVar10) { + ppppppplVar10 = + (longlong *******)FUN_14003e7c0(ppppppplVar10,PTR_DAT_14016f010,uVar17,param_4); + local_80._0_8_ = ppppppplVar10; + FUN_14003d040((int *)ppppppplVar10); + ppppppplVar18 = local_278; + local_80.Data4[0] = '\x01'; + if (((local_278 != (longlong *******)0x0) && + (local_278 != (longlong *******)PTR_DAT_14016f010)) && + (ppppppplVar13 = local_278 + -1, ppppppplVar13 != (longlong *******)0x0)) { + ppuVar9 = (undefined **)FUN_14003e7c0(local_278,PTR_DAT_14016f010,uVar17,param_4); + local_58._0_8_ = ppuVar9; + FUN_14003d040((int *)ppuVar9); + local_58.Data4[0] = '\x01'; + piVar2 = (int *)((longlong)ppppppplVar18 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(ppppppplVar13); + } + FUN_14003d0d0((longlong)ppuVar9); + } + local_278 = (longlong *******)*local_268; + if (((local_278 != (longlong *******)PTR_DAT_14016f010) && + (local_278 != (longlong *******)0x0)) && (local_278 != (longlong *******)0x8)) { + *(int *)((longlong)local_278 + -4) = *(int *)((longlong)local_278 + -4) + 1; + } + FUN_14003d0d0((longlong)ppppppplVar10); + } + if (((local_110 != (undefined *)0x0) && (local_110 != PTR_DAT_14016f010)) && + (local_110 + -8 != (undefined *)0x0)) { + ppppppplVar10 = + (longlong *******)FUN_14003e7c0(ppppppplVar10,PTR_DAT_14016f010,uVar17,param_4); + local_80._0_8_ = ppppppplVar10; + FUN_14003d040((int *)ppppppplVar10); + local_80.Data4[0] = '\x01'; + piVar2 = (int *)(local_110 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(local_110 + -8); + } + FUN_14003d0d0((longlong)ppppppplVar10); + } + local_268 = (longlong *******)&local_1f0; + puVar12 = PTR_DAT_14016f010; + local_110 = PTR_DAT_14016f010; + FUN_14003e7c0(ppppppplVar10,PTR_DAT_14016f010,uVar17,param_4); + local_1f0 = (longlong *******)PTR_DAT_14016f010; + if (PTR_DAT_14016f010 == (undefined *)0x0) { + local_1f0 = (longlong *******)0x0; + } + if (local_278 != (longlong *******)PTR_DAT_14016f010) { + ppppppplVar10 = (longlong *******)FUN_14003e7c0(ppppppplVar10,puVar12,uVar17,param_4); + local_80._0_8_ = ppppppplVar10; + FUN_14003d040((int *)ppppppplVar10); + local_80.Data4[0] = '\x01'; + FUN_140002190((longlong *)&local_1f0,puVar12,uVar17,param_4); + local_1f0 = local_278; + if (((local_278 != (longlong *******)PTR_DAT_14016f010) && + (local_278 != (longlong *******)0x0)) && (local_278 != (longlong *******)0x8)) { + *(int *)((longlong)local_278 + -4) = *(int *)((longlong)local_278 + -4) + 1; + } + FUN_14003d0d0((longlong)ppppppplVar10); + } + FUN_14003e7c0(ppppppplVar10,puVar12,uVar17,param_4); + local_150 = PTR_DAT_14016f010; + iVar23 = FUN_14003e620(L"PT_SERVER_REGISTER"); + puVar12 = FUN_140001ee0((longlong *)&local_150,iVar23); + FUN_14003e650(puVar12,L"PT_SERVER_REGISTER",iVar23); + FUN_140001fc0((longlong *)&local_150); + (**(code **)(*param_1 + 0x28))(param_1,0x8599,&local_150,&local_1f0); + local_298 = local_278; + if (local_278 == (longlong *******)0x0) { + local_298 = (longlong *******)PTR_DAT_14016f010; + } + plVar16 = (longlong *)param_1[2]; + pwVar25 = L"PT_SERVER_REGISTER"; + uVar26 = 0x8599; + uVar17 = (ulonglong)uVar3; + (**(code **)(*plVar16 + 0x70))(); + ppppppplVar10 = local_278; + if (((local_278 != (longlong *******)0x0) && + (local_278 != (longlong *******)PTR_DAT_14016f010)) && + (ppppppplVar18 = local_278 + -1, ppppppplVar18 != (longlong *******)0x0)) { + ppppppplVar13 = (longlong *******)FUN_14003e7c0(plVar16,uVar17,uVar26,pwVar25); + local_80._0_8_ = ppppppplVar13; + FUN_14003d040((int *)ppppppplVar13); + local_80.Data4[0] = '\x01'; + piVar2 = (int *)((longlong)ppppppplVar10 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(ppppppplVar18); + } + FUN_14003d0d0((longlong)ppppppplVar13); + } + } + if (((char)param_1[3] == '\0') && (DVar6 = 0, *(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_258 = (void *)CONCAT44(local_258._4_4_,0x8599); + local_250 = L"PT_SERVER_REGISTER"; + local_248 = CONCAT44(local_248._4_4_,uVar3); + local_240 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_258); + DVar6 = GetTickCount(); + } + local_298 = (longlong *******)&local_228; + local_230 = (longlong *******) + (**(code **)(*param_1 + 0x38))(param_1,uVar3,local_1d8,&local_260); + if ((char)local_230 == '\0') { + local_230 = (longlong *******) + (**(code **)(*(longlong *)param_1[2] + 0x40)) + ((longlong *)param_1[2],L"PT_SERVER_REGISTER"); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_258 = (void *)CONCAT44(local_258._4_4_,0x8599); + local_250 = L"PT_SERVER_REGISTER"; +LAB_140028e0f: + local_248 = CONCAT44(local_248._4_4_,uVar3); + local_240 = param_3; + DVar7 = GetTickCount(); + local_238 = DVar7 - DVar6; + local_230 = (longlong *******)(**(code **)(*param_1 + 0x18))(param_1,&local_258); + } + break; + case 0x859a: + FUN_140049b40(local_1d8); + local_1d4 = param_2[10]; + local_1d8[0] = (undefined1)param_2[0x10]; + uVar26 = 4; + FUN_140074ee0(param_2,(undefined8 *)&local_270,4); + iVar23 = 0; + DVar6 = 0; + local_228 = (longlong *******)0x0; + local_220 = 0; + local_218 = 0; + local_210 = 0; + local_20c = 0; + FUN_14002f390(param_2,(undefined4 *)&local_228); + local_258 = (void *)0x0; + local_250 = (wchar_t *)0x0; + local_248 = 0; + FUN_140028fc0(param_2,(ulonglong *)&local_258,uVar26,param_4); + plVar16 = (longlong *)param_1[2]; + pwVar25 = L"PT_SERVER_INFORMATION"; + (**(code **)(*plVar16 + 0x48))(); + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + local_298 = (longlong *******)&DAT_140131724; + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar3,0x859a,L"PT_SERVER_INFORMATION"); + goto LAB_140026f74; + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar16,param_2,pwVar25,param_4); + local_278 = (longlong *******)PTR_DAT_14016f010; + FUN_1400926b0((longlong *)&local_278); + puVar12 = &DAT_140133350; + ppppppplVar10 = (longlong *******)&local_278; + FUN_140029bf0((longlong *)ppppppplVar10,(short *)&DAT_140133350); + FUN_14003e7c0(ppppppplVar10,puVar12,pwVar25,param_4); + local_268 = (longlong *******)PTR_DAT_14016f010; + uVar17 = (ulonglong)local_210; + FUN_140029b80((longlong *)&local_268,L"{ %d }",uVar17,param_4); + ppppppplVar10 = (longlong *******)&local_268; + ppppppplVar18 = (longlong *******)&local_278; + FUN_140029980((longlong *)ppppppplVar18,(longlong *)ppppppplVar10); + ppppppplVar13 = local_268; + if (((local_268 != (longlong *******)0x0) && + (local_268 != (longlong *******)PTR_DAT_14016f010)) && + (pppppplVar1 = (longlong ******)(local_268 + -1), pppppplVar1 != (longlong ******)0x0)) { + ppppppplVar10 = + (longlong *******)FUN_14003e7c0(ppppppplVar18,ppppppplVar10,uVar17,param_4); + local_80._0_8_ = ppppppplVar10; + FUN_14003d040((int *)ppppppplVar10); + local_80.Data4[0] = '\x01'; + piVar2 = (int *)((longlong)ppppppplVar13 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(pppppplVar1); + } + FUN_14003d0d0((longlong)ppppppplVar10); + } + puVar12 = &DAT_140133350; + ppppppplVar10 = (longlong *******)&local_278; + FUN_140029bf0((longlong *)ppppppplVar10,(short *)&DAT_140133350); + FUN_14003e7c0(ppppppplVar10,puVar12,uVar17,param_4); + local_268 = (longlong *******)PTR_DAT_14016f010; + lVar24 = (longlong)local_250 - (longlong)local_258 >> 2; + FUN_140029b80((longlong *)&local_268,L"",lVar24,param_4); + ppppppplVar10 = (longlong *******)&local_268; + ppppppplVar18 = (longlong *******)&local_278; + FUN_140029980((longlong *)ppppppplVar18,(longlong *)ppppppplVar10); + ppppppplVar13 = local_268; + if (((local_268 != (longlong *******)0x0) && + (local_268 != (longlong *******)PTR_DAT_14016f010)) && + (pppppplVar1 = (longlong ******)(local_268 + -1), pppppplVar1 != (longlong ******)0x0)) { + ppppppplVar10 = + (longlong *******)FUN_14003e7c0(ppppppplVar18,ppppppplVar10,lVar24,param_4); + local_80._0_8_ = ppppppplVar10; + FUN_14003d040((int *)ppppppplVar10); + local_80.Data4[0] = '\x01'; + piVar2 = (int *)((longlong)ppppppplVar13 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(pppppplVar1); + } + FUN_14003d0d0((longlong)ppppppplVar10); + } + FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350); + if ((local_278 != (longlong *******)0x0) && + (local_278 != (longlong *******)PTR_DAT_14016f010)) { + iVar23 = *(int *)(local_278 + -1); + } + uVar17 = (ulonglong)(iVar23 - 2U); + local_268 = (longlong *******) + FUN_140028f40((longlong *)&local_278,(longlong *)&local_108,iVar23 - 2U); + ppppppplVar10 = local_278; + if (local_278 == (longlong *******)0x0) { + ppppppplVar10 = (longlong *******)PTR_DAT_14016f010; + } + local_278 = ppppppplVar10; + if ((longlong *******)*local_268 != ppppppplVar10) { + ppppppplVar10 = + (longlong *******)FUN_14003e7c0(ppppppplVar10,PTR_DAT_14016f010,uVar17,param_4); + local_80._0_8_ = ppppppplVar10; + FUN_14003d040((int *)ppppppplVar10); + ppppppplVar18 = local_278; + local_80.Data4[0] = '\x01'; + if (((local_278 != (longlong *******)0x0) && + (local_278 != (longlong *******)PTR_DAT_14016f010)) && + (ppppppplVar13 = local_278 + -1, ppppppplVar13 != (longlong *******)0x0)) { + ppuVar9 = (undefined **)FUN_14003e7c0(local_278,PTR_DAT_14016f010,uVar17,param_4); + local_58._0_8_ = ppuVar9; + FUN_14003d040((int *)ppuVar9); + local_58.Data4[0] = '\x01'; + piVar2 = (int *)((longlong)ppppppplVar18 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(ppppppplVar13); + } + FUN_14003d0d0((longlong)ppuVar9); + } + local_278 = (longlong *******)*local_268; + if (((local_278 != (longlong *******)PTR_DAT_14016f010) && + (local_278 != (longlong *******)0x0)) && (local_278 != (longlong *******)0x8)) { + *(int *)((longlong)local_278 + -4) = *(int *)((longlong)local_278 + -4) + 1; + } + FUN_14003d0d0((longlong)ppppppplVar10); + } + if (((local_108 != (undefined *)0x0) && (local_108 != PTR_DAT_14016f010)) && + (local_108 + -8 != (undefined *)0x0)) { + ppppppplVar10 = + (longlong *******)FUN_14003e7c0(ppppppplVar10,PTR_DAT_14016f010,uVar17,param_4); + local_80._0_8_ = ppppppplVar10; + FUN_14003d040((int *)ppppppplVar10); + local_80.Data4[0] = '\x01'; + piVar2 = (int *)(local_108 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(local_108 + -8); + } + FUN_14003d0d0((longlong)ppppppplVar10); + } + local_268 = (longlong *******)&local_200; + puVar12 = PTR_DAT_14016f010; + local_108 = PTR_DAT_14016f010; + FUN_14003e7c0(ppppppplVar10,PTR_DAT_14016f010,uVar17,param_4); + local_200 = (longlong *******)PTR_DAT_14016f010; + if (PTR_DAT_14016f010 == (undefined *)0x0) { + local_200 = (longlong *******)0x0; + } + if (local_278 != (longlong *******)PTR_DAT_14016f010) { + ppppppplVar10 = (longlong *******)FUN_14003e7c0(ppppppplVar10,puVar12,uVar17,param_4); + local_80._0_8_ = ppppppplVar10; + FUN_14003d040((int *)ppppppplVar10); + local_80.Data4[0] = '\x01'; + FUN_140002190((longlong *)&local_200,puVar12,uVar17,param_4); + local_200 = local_278; + if (((local_278 != (longlong *******)PTR_DAT_14016f010) && + (local_278 != (longlong *******)0x0)) && (local_278 != (longlong *******)0x8)) { + *(int *)((longlong)local_278 + -4) = *(int *)((longlong)local_278 + -4) + 1; + } + FUN_14003d0d0((longlong)ppppppplVar10); + } + FUN_14003e7c0(ppppppplVar10,puVar12,uVar17,param_4); + local_120 = PTR_DAT_14016f010; + iVar23 = FUN_14003e620(L"PT_SERVER_INFORMATION"); + puVar12 = FUN_140001ee0((longlong *)&local_120,iVar23); + FUN_14003e650(puVar12,L"PT_SERVER_INFORMATION",iVar23); + FUN_140001fc0((longlong *)&local_120); + (**(code **)(*param_1 + 0x28))(param_1,0x859a,&local_120,&local_200); + local_298 = local_278; + if (local_278 == (longlong *******)0x0) { + local_298 = (longlong *******)PTR_DAT_14016f010; + } + plVar16 = (longlong *)param_1[2]; + pwVar25 = L"PT_SERVER_INFORMATION"; + uVar26 = 0x859a; + uVar17 = (ulonglong)uVar3; + (**(code **)(*plVar16 + 0x70))(); + ppppppplVar10 = local_278; + if (((local_278 != (longlong *******)0x0) && + (local_278 != (longlong *******)PTR_DAT_14016f010)) && + (ppppppplVar18 = local_278 + -1, ppppppplVar18 != (longlong *******)0x0)) { + ppppppplVar13 = (longlong *******)FUN_14003e7c0(plVar16,uVar17,uVar26,pwVar25); + local_80._0_8_ = ppppppplVar13; + FUN_14003d040((int *)ppppppplVar13); + local_80.Data4[0] = '\x01'; + piVar2 = (int *)((longlong)ppppppplVar10 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(ppppppplVar18); + } + FUN_14003d0d0((longlong)ppppppplVar13); + } +LAB_140026f74: + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_80.Data1 = 0x859a; + local_80.Data4 = (uchar [8])0x1401332f8; + local_70 = uVar3; + local_68 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_80); + DVar6 = GetTickCount(); + } + } + local_290 = &local_258; + local_298 = (longlong *******)&local_228; + local_230 = (longlong *******) + (**(code **)(*param_1 + 0x40))(param_1,uVar3,local_1d8,&local_260); + if ((char)local_230 == '\0') { + local_230 = (longlong *******) + (**(code **)(*(longlong *)param_1[2] + 0x40)) + ((longlong *)param_1[2],L"PT_SERVER_INFORMATION"); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_80.Data1 = 0x859a; + local_80.Data4 = (uchar [8])0x1401332f8; + local_70 = uVar3; + local_68 = param_3; + DVar7 = GetTickCount(); + local_60 = DVar7 - DVar6; + local_230 = (longlong *******)(**(code **)(*param_1 + 0x18))(param_1,&local_80); + } + if (local_258 != (void *)0x0) { + operator_delete(local_258); + local_230 = (longlong *******)extraout_RAX; + } + break; + case 0x859b: + FUN_140049b40(local_1d8); + local_1d4 = param_2[10]; + local_1d8[0] = (undefined1)param_2[0x10]; + FUN_140074ee0(param_2,(undefined8 *)local_25c,1); + uVar26 = FUN_140074ee0(param_2,&local_278,4); + if ((char)uVar26 != '\0') { + local_270 = (uint)local_278; + } + uVar26 = FUN_140074ee0(param_2,&local_278,4); + if ((char)uVar26 != '\0') { + local_260 = (uint)local_278; + } + plVar16 = (longlong *)param_1[2]; + pwVar25 = L"PT_SERVER_COMMAND_RESULT"; + (**(code **)(*plVar16 + 0x48))(); + DVar6 = 0; + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + local_298 = (longlong *******)&DAT_140131724; + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar3,0x859b,L"PT_SERVER_COMMAND_RESULT"); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar16,param_2,pwVar25,param_4); + local_278 = (longlong *******)PTR_DAT_14016f010; + FUN_1400925d0((longlong *)&local_278,local_26c); + FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350); + FUN_1400926b0((longlong *)&local_278); + FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350); + FUN_1400926b0((longlong *)&local_278); + FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350); + DVar7 = DVar6; + if ((local_278 != (longlong *******)0x0) && + (local_278 != (longlong *******)PTR_DAT_14016f010)) { + DVar7 = *(DWORD *)(local_278 + -1); + } + uVar17 = (ulonglong)(DVar7 - 2); + local_268 = (longlong *******) + FUN_140028f40((longlong *)&local_278,(longlong *)&local_100,DVar7 - 2); + ppppppplVar10 = local_278; + if (local_278 == (longlong *******)0x0) { + ppppppplVar10 = (longlong *******)PTR_DAT_14016f010; + } + local_278 = ppppppplVar10; + if ((longlong *******)*local_268 != ppppppplVar10) { + ppppppplVar10 = + (longlong *******)FUN_14003e7c0(ppppppplVar10,PTR_DAT_14016f010,uVar17,param_4); + local_80._0_8_ = ppppppplVar10; + FUN_14003d040((int *)ppppppplVar10); + ppppppplVar18 = local_278; + local_80.Data4[0] = '\x01'; + if (((local_278 != (longlong *******)0x0) && + (local_278 != (longlong *******)PTR_DAT_14016f010)) && + (ppppppplVar13 = local_278 + -1, ppppppplVar13 != (longlong *******)0x0)) { + ppuVar9 = (undefined **)FUN_14003e7c0(local_278,PTR_DAT_14016f010,uVar17,param_4); + local_58._0_8_ = ppuVar9; + FUN_14003d040((int *)ppuVar9); + local_58.Data4[0] = '\x01'; + piVar2 = (int *)((longlong)ppppppplVar18 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(ppppppplVar13); + } + FUN_14003d0d0((longlong)ppuVar9); + } + local_278 = (longlong *******)*local_268; + if (((local_278 != (longlong *******)PTR_DAT_14016f010) && + (local_278 != (longlong *******)0x0)) && (local_278 != (longlong *******)0x8)) { + *(int *)((longlong)local_278 + -4) = *(int *)((longlong)local_278 + -4) + 1; + } + FUN_14003d0d0((longlong)ppppppplVar10); + } + if (((local_100 != (undefined *)0x0) && (local_100 != PTR_DAT_14016f010)) && + (local_100 + -8 != (undefined *)0x0)) { + ppppppplVar10 = + (longlong *******)FUN_14003e7c0(ppppppplVar10,PTR_DAT_14016f010,uVar17,param_4); + local_80._0_8_ = ppppppplVar10; + FUN_14003d040((int *)ppppppplVar10); + local_80.Data4[0] = '\x01'; + piVar2 = (int *)(local_100 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(local_100 + -8); + } + FUN_14003d0d0((longlong)ppppppplVar10); + } + local_268 = (longlong *******)&local_208; + puVar12 = PTR_DAT_14016f010; + local_100 = PTR_DAT_14016f010; + FUN_14003e7c0(ppppppplVar10,PTR_DAT_14016f010,uVar17,param_4); + local_208 = (longlong *******)PTR_DAT_14016f010; + if (PTR_DAT_14016f010 == (undefined *)0x0) { + local_208 = (longlong *******)0x0; + } + if (local_278 != (longlong *******)PTR_DAT_14016f010) { + ppppppplVar10 = (longlong *******)FUN_14003e7c0(ppppppplVar10,puVar12,uVar17,param_4); + local_80._0_8_ = ppppppplVar10; + FUN_14003d040((int *)ppppppplVar10); + local_80.Data4[0] = '\x01'; + FUN_140002190((longlong *)&local_208,puVar12,uVar17,param_4); + local_208 = local_278; + if (((local_278 != (longlong *******)PTR_DAT_14016f010) && + (local_278 != (longlong *******)0x0)) && (local_278 != (longlong *******)0x8)) { + *(int *)((longlong)local_278 + -4) = *(int *)((longlong)local_278 + -4) + 1; + } + FUN_14003d0d0((longlong)ppppppplVar10); + } + FUN_14003e7c0(ppppppplVar10,puVar12,uVar17,param_4); + local_160 = PTR_DAT_14016f010; + iVar23 = FUN_14003e620(L"PT_SERVER_COMMAND_RESULT"); + puVar12 = FUN_140001ee0((longlong *)&local_160,iVar23); + FUN_14003e650(puVar12,L"PT_SERVER_COMMAND_RESULT",iVar23); + FUN_140001fc0((longlong *)&local_160); + (**(code **)(*param_1 + 0x28))(param_1,0x859b,&local_160,&local_208); + local_298 = local_278; + if (local_278 == (longlong *******)0x0) { + local_298 = (longlong *******)PTR_DAT_14016f010; + } + plVar16 = (longlong *)param_1[2]; + pwVar25 = L"PT_SERVER_COMMAND_RESULT"; + uVar26 = 0x859b; + uVar17 = (ulonglong)uVar3; + (**(code **)(*plVar16 + 0x70))(); + ppppppplVar10 = local_278; + if (((local_278 != (longlong *******)0x0) && + (local_278 != (longlong *******)PTR_DAT_14016f010)) && + (ppppppplVar18 = local_278 + -1, ppppppplVar18 != (longlong *******)0x0)) { + ppppppplVar13 = (longlong *******)FUN_14003e7c0(plVar16,uVar17,uVar26,pwVar25); + local_80._0_8_ = ppppppplVar13; + FUN_14003d040((int *)ppppppplVar13); + local_80.Data4[0] = '\x01'; + piVar2 = (int *)((longlong)ppppppplVar10 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(ppppppplVar18); + } + FUN_14003d0d0((longlong)ppppppplVar13); + } + } + if (((char)param_1[3] == '\0') && (DVar6 = 0, *(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_258 = (void *)CONCAT44(local_258._4_4_,0x859b); + local_250 = L"PT_SERVER_COMMAND_RESULT"; + local_248 = CONCAT44(local_248._4_4_,uVar3); + local_240 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_258); + DVar6 = GetTickCount(); + } + local_290 = (longlong *******)&local_260; + local_298 = (longlong *******)&local_270; + local_230 = (longlong *******) + (**(code **)(*param_1 + 0x48))(param_1,uVar3,local_1d8,local_26c); + if ((char)local_230 == '\0') { + local_230 = (longlong *******) + (**(code **)(*(longlong *)param_1[2] + 0x40)) + ((longlong *)param_1[2],L"PT_SERVER_COMMAND_RESULT"); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_258 = (void *)CONCAT44(local_258._4_4_,0x859b); + local_250 = L"PT_SERVER_COMMAND_RESULT"; + goto LAB_140028e0f; + } + break; + case 0x859c: + FUN_140049b40(local_1d8); + local_1d4 = param_2[10]; + local_1d8[0] = (undefined1)param_2[0x10]; + uVar26 = FUN_140074ee0(param_2,&local_278,4); + if ((char)uVar26 != '\0') { + local_260 = (uint)local_278; + } + FUN_140074ee0(param_2,(undefined8 *)local_25c,1); + uVar8 = 4; + ppppppplVar10 = (longlong *******)&local_278; + uVar26 = FUN_140074ee0(param_2,ppppppplVar10,4); + if ((char)uVar26 != '\0') { + local_270 = (uint)local_278; + } + FUN_14003e7c0((ulonglong)local_270,ppppppplVar10,uVar8,param_4); + local_230 = (longlong *******)PTR_DAT_14016f010; + thunk_FUN_140076020(param_2,(longlong *)&local_230,uVar8,param_4); + plVar16 = (longlong *)param_1[2]; + pwVar25 = L"PWE_RESP_RESULT_CODE"; + (**(code **)(*plVar16 + 0x48))(); + DVar6 = 0; + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + local_298 = (longlong *******)&DAT_140131724; + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar3,0x859c,L"PWE_RESP_RESULT_CODE"); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar16,param_2,pwVar25,param_4); + local_278 = (longlong *******)PTR_DAT_14016f010; + FUN_1400926b0((longlong *)&local_278); + FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350); + FUN_1400925d0((longlong *)&local_278,local_26c); + FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350); + FUN_1400926b0((longlong *)&local_278); + FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350); + FUN_1400928b0((longlong *)&local_278,(longlong *)&local_230); + FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350); + DVar7 = DVar6; + if ((local_278 != (longlong *******)0x0) && + (local_278 != (longlong *******)PTR_DAT_14016f010)) { + DVar7 = *(DWORD *)(local_278 + -1); + } + uVar17 = (ulonglong)(DVar7 - 2); + local_268 = (longlong *******) + FUN_140028f40((longlong *)&local_278,(longlong *)&local_f0,DVar7 - 2); + ppppppplVar10 = local_278; + if (local_278 == (longlong *******)0x0) { + ppppppplVar10 = (longlong *******)PTR_DAT_14016f010; + } + local_278 = ppppppplVar10; + if ((longlong *******)*local_268 != ppppppplVar10) { + ppppppplVar10 = + (longlong *******)FUN_14003e7c0(ppppppplVar10,PTR_DAT_14016f010,uVar17,param_4); + local_80._0_8_ = ppppppplVar10; + FUN_14003d040((int *)ppppppplVar10); + ppppppplVar18 = local_278; + local_80.Data4[0] = '\x01'; + if (((local_278 != (longlong *******)0x0) && + (local_278 != (longlong *******)PTR_DAT_14016f010)) && + (ppppppplVar13 = local_278 + -1, ppppppplVar13 != (longlong *******)0x0)) { + ppuVar9 = (undefined **)FUN_14003e7c0(local_278,PTR_DAT_14016f010,uVar17,param_4); + local_58._0_8_ = ppuVar9; + FUN_14003d040((int *)ppuVar9); + local_58.Data4[0] = '\x01'; + piVar2 = (int *)((longlong)ppppppplVar18 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(ppppppplVar13); + } + FUN_14003d0d0((longlong)ppuVar9); + } + local_278 = (longlong *******)*local_268; + if (((local_278 != (longlong *******)PTR_DAT_14016f010) && + (local_278 != (longlong *******)0x0)) && (local_278 != (longlong *******)0x8)) { + *(int *)((longlong)local_278 + -4) = *(int *)((longlong)local_278 + -4) + 1; + } + FUN_14003d0d0((longlong)ppppppplVar10); + } + if (((local_f0 != (undefined *)0x0) && (local_f0 != PTR_DAT_14016f010)) && + (local_f0 + -8 != (undefined *)0x0)) { + ppppppplVar10 = + (longlong *******)FUN_14003e7c0(ppppppplVar10,PTR_DAT_14016f010,uVar17,param_4); + local_80._0_8_ = ppppppplVar10; + FUN_14003d040((int *)ppppppplVar10); + local_80.Data4[0] = '\x01'; + piVar2 = (int *)(local_f0 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(local_f0 + -8); + } + FUN_14003d0d0((longlong)ppppppplVar10); + } + local_268 = (longlong *******)local_1e8; + puVar12 = PTR_DAT_14016f010; + local_f0 = PTR_DAT_14016f010; + FUN_14003e7c0(ppppppplVar10,PTR_DAT_14016f010,uVar17,param_4); + local_1e8[0] = (longlong *******)PTR_DAT_14016f010; + if (PTR_DAT_14016f010 == (undefined *)0x0) { + local_1e8[0] = (longlong *******)0x0; + } + if (local_278 != (longlong *******)PTR_DAT_14016f010) { + ppppppplVar10 = (longlong *******)FUN_14003e7c0(ppppppplVar10,puVar12,uVar17,param_4); + local_80._0_8_ = ppppppplVar10; + FUN_14003d040((int *)ppppppplVar10); + local_80.Data4[0] = '\x01'; + FUN_140002190((longlong *)local_1e8,puVar12,uVar17,param_4); + local_1e8[0] = local_278; + if (((local_278 != (longlong *******)PTR_DAT_14016f010) && + (local_278 != (longlong *******)0x0)) && (local_278 != (longlong *******)0x8)) { + *(int *)((longlong)local_278 + -4) = *(int *)((longlong)local_278 + -4) + 1; + } + FUN_14003d0d0((longlong)ppppppplVar10); + } + FUN_14003e7c0(ppppppplVar10,puVar12,uVar17,param_4); + local_140 = PTR_DAT_14016f010; + iVar23 = FUN_14003e620(L"PWE_RESP_RESULT_CODE"); + puVar12 = FUN_140001ee0((longlong *)&local_140,iVar23); + FUN_14003e650(puVar12,L"PWE_RESP_RESULT_CODE",iVar23); + FUN_140001fc0((longlong *)&local_140); + (**(code **)(*param_1 + 0x28))(param_1,0x859c,&local_140,local_1e8); + local_298 = local_278; + if (local_278 == (longlong *******)0x0) { + local_298 = (longlong *******)PTR_DAT_14016f010; + } + plVar16 = (longlong *)param_1[2]; + pwVar25 = L"PWE_RESP_RESULT_CODE"; + uVar26 = 0x859c; + uVar17 = (ulonglong)uVar3; + (**(code **)(*plVar16 + 0x70))(); + ppppppplVar10 = local_278; + if (((local_278 != (longlong *******)0x0) && + (local_278 != (longlong *******)PTR_DAT_14016f010)) && + (ppppppplVar18 = local_278 + -1, ppppppplVar18 != (longlong *******)0x0)) { + ppppppplVar13 = (longlong *******)FUN_14003e7c0(plVar16,uVar17,uVar26,pwVar25); + local_80._0_8_ = ppppppplVar13; + FUN_14003d040((int *)ppppppplVar13); + local_80.Data4[0] = '\x01'; + piVar2 = (int *)((longlong)ppppppplVar10 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(ppppppplVar18); + } + FUN_14003d0d0((longlong)ppppppplVar13); + } + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_258 = (void *)CONCAT44(local_258._4_4_,0x859c); + local_250 = L"PWE_RESP_RESULT_CODE"; + local_248 = CONCAT44(local_248._4_4_,uVar3); + local_240 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_258); + DVar6 = GetTickCount(); + } + local_288 = (longlong *******)&local_230; + local_290 = (longlong *******)&local_270; + local_298 = (longlong *******)local_26c; + puVar20 = &local_260; + puVar21 = local_1d8; + pwVar25 = (wchar_t *)(ulonglong)uVar3; + plVar16 = param_1; + cVar5 = (**(code **)(*param_1 + 0x50))(); + if (cVar5 == '\0') { + plVar16 = (longlong *)param_1[2]; + pwVar25 = L"PWE_RESP_RESULT_CODE"; + (**(code **)(*plVar16 + 0x40))(); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_258 = (void *)CONCAT44(local_258._4_4_,0x859c); + local_250 = L"PWE_RESP_RESULT_CODE"; + local_248 = CONCAT44(local_248._4_4_,uVar3); + local_240 = param_3; + DVar7 = GetTickCount(); + local_238 = DVar7 - DVar6; + pwVar25 = (wchar_t *)&local_258; + (**(code **)(*param_1 + 0x18))(); + plVar16 = param_1; + } + ppppppplVar10 = local_230; + if (((local_230 != (longlong *******)0x0) && + (local_230 != (longlong *******)PTR_DAT_14016f010)) && + (pppppplVar1 = (longlong ******)(local_230 + -1), pppppplVar1 != (longlong ******)0x0)) { + pppppplVar14 = (longlong ******)FUN_14003e7c0(plVar16,pwVar25,puVar21,puVar20); + local_80._0_8_ = pppppplVar14; + FUN_14003d040((int *)pppppplVar14); + local_80.Data4[0] = '\x01'; + piVar2 = (int *)((longlong)ppppppplVar10 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(pppppplVar1); + } + local_230 = (longlong *******)FUN_14003d0d0((longlong)pppppplVar14); + } + break; + case 0x859d: + FUN_140049b40(local_1d8); + local_1d4 = param_2[10]; + local_1d8[0] = (undefined1)param_2[0x10]; + puVar20 = &local_260; + puVar19 = param_2; + FUN_140075970(param_2,puVar20,uVar26,param_4); + FUN_14003e7c0(puVar19,puVar20,uVar26,param_4); + local_230 = (longlong *******)PTR_DAT_14016f010; + thunk_FUN_140076020(param_2,(longlong *)&local_230,uVar26,param_4); + FUN_140092420(param_2,(undefined8 *)&local_58); + uVar26 = FUN_140074ee0(param_2,&local_278,4); + if ((char)uVar26 != '\0') { + local_270 = (uint)local_278; + } + plVar16 = (longlong *)param_1[2]; + pwVar25 = L"NOTIFY_STORAGE_ALARM"; + (**(code **)(*plVar16 + 0x48))(); + DVar6 = 0; + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + local_298 = (longlong *******)&DAT_140131724; + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar3,0x859d,L"NOTIFY_STORAGE_ALARM"); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar16,param_2,pwVar25,param_4); + local_278 = (longlong *******)PTR_DAT_14016f010; + local_170 = local_260; + FUN_1400926b0((longlong *)&local_278); + FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350); + FUN_1400928b0((longlong *)&local_278,(longlong *)&local_230); + FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350); + FUN_140092900((longlong *)&local_278,&local_58); + FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350); + FUN_1400926b0((longlong *)&local_278); + FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350); + DVar7 = DVar6; + if ((local_278 != (longlong *******)0x0) && + (local_278 != (longlong *******)PTR_DAT_14016f010)) { + DVar7 = *(DWORD *)(local_278 + -1); + } + uVar17 = (ulonglong)(DVar7 - 2); + local_268 = (longlong *******) + FUN_140028f40((longlong *)&local_278,(longlong *)&local_f8,DVar7 - 2); + ppppppplVar10 = local_278; + if (local_278 == (longlong *******)0x0) { + ppppppplVar10 = (longlong *******)PTR_DAT_14016f010; + } + local_278 = ppppppplVar10; + if ((longlong *******)*local_268 != ppppppplVar10) { + ppppppplVar10 = + (longlong *******)FUN_14003e7c0(ppppppplVar10,PTR_DAT_14016f010,uVar17,param_4); + local_80._0_8_ = ppppppplVar10; + FUN_14003d040((int *)ppppppplVar10); + ppppppplVar18 = local_278; + local_80.Data4[0] = '\x01'; + if (((local_278 != (longlong *******)0x0) && + (local_278 != (longlong *******)PTR_DAT_14016f010)) && + (ppppppplVar13 = local_278 + -1, ppppppplVar13 != (longlong *******)0x0)) { + ppppppplVar11 = + (longlong *******)FUN_14003e7c0(local_278,PTR_DAT_14016f010,uVar17,param_4); + local_228 = ppppppplVar11; + FUN_14003d040((int *)ppppppplVar11); + local_220 = CONCAT71(local_220._1_7_,1); + piVar2 = (int *)((longlong)ppppppplVar18 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(ppppppplVar13); + } + FUN_14003d0d0((longlong)ppppppplVar11); + } + local_278 = (longlong *******)*local_268; + if (((local_278 != (longlong *******)PTR_DAT_14016f010) && + (local_278 != (longlong *******)0x0)) && (local_278 != (longlong *******)0x8)) { + *(int *)((longlong)local_278 + -4) = *(int *)((longlong)local_278 + -4) + 1; + } + FUN_14003d0d0((longlong)ppppppplVar10); + } + if (((local_f8 != (undefined *)0x0) && (local_f8 != PTR_DAT_14016f010)) && + (local_f8 + -8 != (undefined *)0x0)) { + ppppppplVar10 = + (longlong *******)FUN_14003e7c0(ppppppplVar10,PTR_DAT_14016f010,uVar17,param_4); + local_228 = ppppppplVar10; + FUN_14003d040((int *)ppppppplVar10); + local_220 = CONCAT71(local_220._1_7_,1); + piVar2 = (int *)(local_f8 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(local_f8 + -8); + } + FUN_14003d0d0((longlong)ppppppplVar10); + } + local_268 = (longlong *******)&local_1f8; + puVar12 = PTR_DAT_14016f010; + local_f8 = PTR_DAT_14016f010; + FUN_14003e7c0(ppppppplVar10,PTR_DAT_14016f010,uVar17,param_4); + local_1f8 = (longlong *******)PTR_DAT_14016f010; + if (PTR_DAT_14016f010 == (undefined *)0x0) { + local_1f8 = (longlong *******)0x0; + } + if (local_278 != (longlong *******)PTR_DAT_14016f010) { + ppppppplVar10 = (longlong *******)FUN_14003e7c0(ppppppplVar10,puVar12,uVar17,param_4); + local_228 = ppppppplVar10; + FUN_14003d040((int *)ppppppplVar10); + local_220 = CONCAT71(local_220._1_7_,1); + FUN_140002190((longlong *)&local_1f8,puVar12,uVar17,param_4); + local_1f8 = local_278; + if (((local_278 != (longlong *******)PTR_DAT_14016f010) && + (local_278 != (longlong *******)0x0)) && (local_278 != (longlong *******)0x8)) { + *(int *)((longlong)local_278 + -4) = *(int *)((longlong)local_278 + -4) + 1; + } + FUN_14003d0d0((longlong)ppppppplVar10); + } + FUN_14003e7c0(ppppppplVar10,puVar12,uVar17,param_4); + local_130 = PTR_DAT_14016f010; + iVar23 = FUN_14003e620(L"NOTIFY_STORAGE_ALARM"); + puVar12 = FUN_140001ee0((longlong *)&local_130,iVar23); + FUN_14003e650(puVar12,L"NOTIFY_STORAGE_ALARM",iVar23); + FUN_140001fc0((longlong *)&local_130); + (**(code **)(*param_1 + 0x28))(param_1,0x859d,&local_130,&local_1f8); + local_298 = local_278; + if (local_278 == (longlong *******)0x0) { + local_298 = (longlong *******)PTR_DAT_14016f010; + } + plVar16 = (longlong *)param_1[2]; + pwVar25 = L"NOTIFY_STORAGE_ALARM"; + uVar26 = 0x859d; + uVar17 = (ulonglong)uVar3; + (**(code **)(*plVar16 + 0x70))(); + ppppppplVar10 = local_278; + if (((local_278 != (longlong *******)0x0) && + (local_278 != (longlong *******)PTR_DAT_14016f010)) && + (ppppppplVar18 = local_278 + -1, ppppppplVar18 != (longlong *******)0x0)) { + ppppppplVar13 = (longlong *******)FUN_14003e7c0(plVar16,uVar17,uVar26,pwVar25); + local_228 = ppppppplVar13; + FUN_14003d040((int *)ppppppplVar13); + local_220 = CONCAT71(local_220._1_7_,1); + piVar2 = (int *)((longlong)ppppppplVar10 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(ppppppplVar18); + } + FUN_14003d0d0((longlong)ppppppplVar13); + } + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_258 = (void *)CONCAT44(local_258._4_4_,0x859d); + local_250 = L"NOTIFY_STORAGE_ALARM"; + local_248 = CONCAT44(local_248._4_4_,uVar3); + local_240 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_258); + DVar6 = GetTickCount(); + } + local_288 = (longlong *******)&local_270; + local_290 = (longlong *******)&local_58; + local_298 = (longlong *******)&local_230; + puVar20 = &local_260; + puVar21 = local_1d8; + pwVar25 = (wchar_t *)(ulonglong)uVar3; + plVar16 = param_1; + cVar5 = (**(code **)(*param_1 + 0x58))(); + if (cVar5 == '\0') { + plVar16 = (longlong *)param_1[2]; + pwVar25 = L"NOTIFY_STORAGE_ALARM"; + (**(code **)(*plVar16 + 0x40))(); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_258 = (void *)CONCAT44(local_258._4_4_,0x859d); + local_250 = L"NOTIFY_STORAGE_ALARM"; + local_248 = CONCAT44(local_248._4_4_,uVar3); + local_240 = param_3; + DVar7 = GetTickCount(); + local_238 = DVar7 - DVar6; + pwVar25 = (wchar_t *)&local_258; + (**(code **)(*param_1 + 0x18))(); + plVar16 = param_1; + } + ppppppplVar10 = local_230; + if (((local_230 != (longlong *******)0x0) && + (local_230 != (longlong *******)PTR_DAT_14016f010)) && + (pppppplVar1 = (longlong ******)(local_230 + -1), pppppplVar1 != (longlong ******)0x0)) { + pppppplVar14 = (longlong ******)FUN_14003e7c0(plVar16,pwVar25,puVar21,puVar20); + local_228 = (longlong *******)pppppplVar14; + FUN_14003d040((int *)pppppplVar14); + local_220 = CONCAT71(local_220._1_7_,1); + piVar2 = (int *)((longlong)ppppppplVar10 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(pppppplVar1); + } + local_230 = (longlong *******)FUN_14003d0d0((longlong)pppppplVar14); + } + break; + case 0x859e: + FUN_140049b40(local_1d8); + local_1d4 = param_2[10]; + local_1d8[0] = (undefined1)param_2[0x10]; + puVar20 = &local_260; + puVar19 = param_2; + FUN_140075970(param_2,puVar20,uVar26,param_4); + FUN_14003e7c0(puVar19,puVar20,uVar26,param_4); + local_268 = (longlong *******)PTR_DAT_14016f010; + ppppppplVar10 = (longlong *******)&local_268; + puVar20 = param_2; + thunk_FUN_140076020(param_2,(longlong *)ppppppplVar10,uVar26,param_4); + FUN_14003e7c0(puVar20,ppppppplVar10,uVar26,param_4); + local_230 = (longlong *******)PTR_DAT_14016f010; + thunk_FUN_140076020(param_2,(longlong *)&local_230,uVar26,param_4); + FUN_140092420(param_2,(undefined8 *)&local_80); + uVar26 = FUN_140074ee0(param_2,&local_278,4); + if ((char)uVar26 != '\0') { + local_270 = (uint)local_278; + } + plVar16 = (longlong *)param_1[2]; + pwVar25 = L"NOTIFY_MAIL_ALARM"; + (**(code **)(*plVar16 + 0x48))(); + DVar6 = 0; + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + local_298 = (longlong *******)&DAT_140131724; + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar3,0x859e,L"NOTIFY_MAIL_ALARM"); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar16,param_2,pwVar25,param_4); + local_278 = (longlong *******)PTR_DAT_14016f010; + local_114 = local_260; + FUN_1400926b0((longlong *)&local_278); + FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350); + FUN_1400928b0((longlong *)&local_278,(longlong *)&local_268); + FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350); + FUN_1400928b0((longlong *)&local_278,(longlong *)&local_230); + FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350); + FUN_140092900((longlong *)&local_278,&local_80); + FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350); + FUN_1400926b0((longlong *)&local_278); + FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350); + DVar7 = DVar6; + if ((local_278 != (longlong *******)0x0) && + (local_278 != (longlong *******)PTR_DAT_14016f010)) { + DVar7 = *(DWORD *)(local_278 + -1); + } + uVar17 = (ulonglong)(DVar7 - 2); + plVar15 = FUN_140028f40((longlong *)&local_278,&local_d0,DVar7 - 2); + FUN_1400020c0((longlong *)&local_278,plVar15,uVar17,param_4); + plVar16 = &local_d0; + FUN_140002190(plVar16,plVar15,uVar17,param_4); + local_58._0_8_ = &local_148; + FUN_14003e7c0(plVar16,plVar15,uVar17,param_4); + local_148 = PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_148,(longlong *)&local_278,uVar17,param_4); + plVar16 = FUN_140002040(&local_88,L"NOTIFY_MAIL_ALARM",0,param_4); + (**(code **)(*param_1 + 0x28))(param_1,0x859e,plVar16,&local_148); + local_298 = local_278; + if (local_278 == (longlong *******)0x0) { + local_298 = (longlong *******)PTR_DAT_14016f010; + } + pwVar25 = L"NOTIFY_MAIL_ALARM"; + uVar26 = 0x859e; + uVar17 = (ulonglong)uVar3; + (**(code **)(*(longlong *)param_1[2] + 0x70))(); + FUN_140002190((longlong *)&local_278,uVar17,uVar26,pwVar25); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_258 = (void *)CONCAT44(local_258._4_4_,0x859e); + local_250 = L"NOTIFY_MAIL_ALARM"; + local_248 = CONCAT44(local_248._4_4_,uVar3); + local_240 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_258); + DVar6 = GetTickCount(); + } + local_280 = (undefined8 *)&local_270; + local_288 = (longlong *******)&local_80; + local_290 = (longlong *******)&local_230; + local_298 = (longlong *******)&local_268; + puVar20 = &local_260; + puVar21 = local_1d8; + pwVar25 = (wchar_t *)(ulonglong)uVar3; + cVar5 = (**(code **)(*param_1 + 0x60))(param_1); + if (cVar5 == '\0') { + pwVar25 = L"NOTIFY_MAIL_ALARM"; + (**(code **)(*(longlong *)param_1[2] + 0x40))(); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_258 = (void *)CONCAT44(local_258._4_4_,0x859e); + local_250 = L"NOTIFY_MAIL_ALARM"; + local_248 = CONCAT44(local_248._4_4_,uVar3); + local_240 = param_3; + DVar7 = GetTickCount(); + local_238 = DVar7 - DVar6; + pwVar25 = (wchar_t *)&local_258; + (**(code **)(*param_1 + 0x18))(param_1); + } + FUN_140002190((longlong *)&local_230,pwVar25,puVar21,puVar20); + local_230 = (longlong *******)FUN_140002190((longlong *)&local_268,pwVar25,puVar21,puVar20); + break; + case 0x859f: + FUN_140049b40(local_1d8); + local_1d4 = param_2[10]; + local_1d8[0] = (undefined1)param_2[0x10]; + uVar26 = FUN_140074ee0(param_2,&local_278,4); + if ((char)uVar26 != '\0') { + local_270 = (uint)local_278; + } + uVar26 = FUN_140074ee0(param_2,&local_230,8); + if ((char)uVar26 != '\0') { + local_268 = local_230; + } + plVar16 = (longlong *)param_1[2]; + pwVar25 = L"REQ_STATISTICS"; + (**(code **)(*plVar16 + 0x48))(); + iVar23 = 0; + DVar6 = 0; + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + local_298 = (longlong *******)&DAT_140131724; + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar3,0x859f,L"REQ_STATISTICS"); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar16,param_2,pwVar25,param_4); + local_278 = (longlong *******)PTR_DAT_14016f010; + FUN_1400926b0((longlong *)&local_278); + FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350); + FUN_140092770((longlong *)&local_278); + FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350); + if ((local_278 != (longlong *******)0x0) && + (local_278 != (longlong *******)PTR_DAT_14016f010)) { + iVar23 = *(int *)(local_278 + -1); + } + uVar17 = (ulonglong)(iVar23 - 2U); + plVar15 = FUN_140028f40((longlong *)&local_278,&local_e8,iVar23 - 2U); + FUN_1400020c0((longlong *)&local_278,plVar15,uVar17,param_4); + plVar16 = &local_e8; + FUN_140002190(plVar16,plVar15,uVar17,param_4); + local_58._0_8_ = &local_128; + FUN_14003e7c0(plVar16,plVar15,uVar17,param_4); + local_128 = PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_128,(longlong *)&local_278,uVar17,param_4); + plVar16 = FUN_140002040(local_b0 + 2,L"REQ_STATISTICS",0,param_4); + (**(code **)(*param_1 + 0x28))(param_1,0x859f,plVar16,&local_128); + local_298 = local_278; + if (local_278 == (longlong *******)0x0) { + local_298 = (longlong *******)PTR_DAT_14016f010; + } + pwVar25 = L"REQ_STATISTICS"; + uVar26 = 0x859f; + uVar17 = (ulonglong)uVar3; + (**(code **)(*(longlong *)param_1[2] + 0x70))(); + FUN_140002190((longlong *)&local_278,uVar17,uVar26,pwVar25); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_258 = (void *)CONCAT44(local_258._4_4_,0x859f); + local_250 = L"REQ_STATISTICS"; + local_248 = CONCAT44(local_248._4_4_,uVar3); + local_240 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_258); + DVar6 = GetTickCount(); + } + local_298 = (longlong *******)&local_268; + local_230 = (longlong *******) + (**(code **)(*param_1 + 0x68))(param_1,uVar3,local_1d8,&local_270); + if ((char)local_230 == '\0') { + local_230 = (longlong *******) + (**(code **)(*(longlong *)param_1[2] + 0x40)) + ((longlong *)param_1[2],L"REQ_STATISTICS"); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_258 = (void *)CONCAT44(local_258._4_4_,0x859f); + local_250 = L"REQ_STATISTICS"; + goto LAB_140028e0f; + } + break; + case 0x85a0: + FUN_140049b40(local_1d8); + local_1d4 = param_2[10]; + local_1d8[0] = (undefined1)param_2[0x10]; + uVar8 = 4; + ppppppplVar10 = (longlong *******)&local_278; + uVar26 = FUN_140074ee0(param_2,ppppppplVar10,4); + if ((char)uVar26 != '\0') { + local_270 = (uint)local_278; + } + FUN_14003e7c0((ulonglong)local_270,ppppppplVar10,uVar8,param_4); + local_268 = (longlong *******)PTR_DAT_14016f010; + thunk_FUN_140076020(param_2,(longlong *)&local_268,uVar8,param_4); + plVar16 = (longlong *)param_1[2]; + pwVar25 = L"PT_MESSAGE"; + (**(code **)(*plVar16 + 0x48))(); + DVar6 = 0; + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + local_298 = (longlong *******)&DAT_140131724; + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar3,0x85a0,L"PT_MESSAGE"); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar16,param_2,pwVar25,param_4); + local_278 = (longlong *******)PTR_DAT_14016f010; + FUN_1400926b0((longlong *)&local_278); + FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350); + FUN_1400928b0((longlong *)&local_278,(longlong *)&local_268); + FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350); + DVar7 = DVar6; + if ((local_278 != (longlong *******)0x0) && + (local_278 != (longlong *******)PTR_DAT_14016f010)) { + DVar7 = *(DWORD *)(local_278 + -1); + } + uVar17 = (ulonglong)(DVar7 - 2); + plVar15 = FUN_140028f40((longlong *)&local_278,&local_c0,DVar7 - 2); + FUN_1400020c0((longlong *)&local_278,plVar15,uVar17,param_4); + plVar16 = &local_c0; + FUN_140002190(plVar16,plVar15,uVar17,param_4); + local_58._0_8_ = &local_138; + FUN_14003e7c0(plVar16,plVar15,uVar17,param_4); + local_138 = PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_138,(longlong *)&local_278,uVar17,param_4); + plVar16 = FUN_140002040(&local_b8,L"PT_MESSAGE",0,param_4); + (**(code **)(*param_1 + 0x28))(param_1,0x85a0,plVar16,&local_138); + local_298 = local_278; + if (local_278 == (longlong *******)0x0) { + local_298 = (longlong *******)PTR_DAT_14016f010; + } + pwVar25 = L"PT_MESSAGE"; + uVar26 = 0x85a0; + uVar17 = (ulonglong)uVar3; + (**(code **)(*(longlong *)param_1[2] + 0x70))(); + FUN_140002190((longlong *)&local_278,uVar17,uVar26,pwVar25); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_258 = (void *)CONCAT44(local_258._4_4_,0x85a0); + local_250 = L"PT_MESSAGE"; + local_248 = CONCAT44(local_248._4_4_,uVar3); + local_240 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_258); + DVar6 = GetTickCount(); + } + local_298 = (longlong *******)&local_268; + puVar27 = (undefined8 *)&local_270; + puVar21 = local_1d8; + pwVar25 = (wchar_t *)(ulonglong)uVar3; + cVar5 = (**(code **)(*param_1 + 0x70))(param_1); + if (cVar5 == '\0') { + pwVar25 = L"PT_MESSAGE"; + (**(code **)(*(longlong *)param_1[2] + 0x40))(); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_258 = (void *)CONCAT44(local_258._4_4_,0x85a0); + local_250 = L"PT_MESSAGE"; + local_248 = CONCAT44(local_248._4_4_,uVar3); + local_240 = param_3; + DVar7 = GetTickCount(); + local_238 = DVar7 - DVar6; + pwVar25 = (wchar_t *)&local_258; + (**(code **)(*param_1 + 0x18))(param_1); + } + local_230 = (longlong *******)FUN_140002190((longlong *)&local_268,pwVar25,puVar21,puVar27); + break; + case 0x85a1: + puVar21 = local_1d8; + FUN_140049b40(puVar21); + local_1d4 = param_2[10]; + local_1d8[0] = (undefined1)param_2[0x10]; + FUN_14003e7c0(puVar21,pIVar22,uVar26,param_4); + local_268 = (longlong *******)PTR_DAT_14016f010; + thunk_FUN_140076020(param_2,(longlong *)&local_268,uVar26,param_4); + uVar26 = FUN_140074ee0(param_2,&local_278,4); + if ((char)uVar26 != '\0') { + local_270 = (uint)local_278; + } + plVar16 = (longlong *)param_1[2]; + pwVar25 = L"PT_PATCH_SERVER"; + (**(code **)(*plVar16 + 0x48))(); + DVar6 = 0; + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + local_298 = (longlong *******)&DAT_140131724; + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar3,0x85a1,L"PT_PATCH_SERVER"); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar16,param_2,pwVar25,param_4); + local_278 = (longlong *******)PTR_DAT_14016f010; + FUN_1400928b0((longlong *)&local_278,(longlong *)&local_268); + FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350); + FUN_1400926b0((longlong *)&local_278); + FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350); + DVar7 = DVar6; + if ((local_278 != (longlong *******)0x0) && + (local_278 != (longlong *******)PTR_DAT_14016f010)) { + DVar7 = *(DWORD *)(local_278 + -1); + } + uVar17 = (ulonglong)(DVar7 - 2); + plVar15 = FUN_140028f40((longlong *)&local_278,&local_d8,DVar7 - 2); + FUN_1400020c0((longlong *)&local_278,plVar15,uVar17,param_4); + plVar16 = &local_d8; + FUN_140002190(plVar16,plVar15,uVar17,param_4); + local_58._0_8_ = &local_158; + FUN_14003e7c0(plVar16,plVar15,uVar17,param_4); + local_158 = PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_158,(longlong *)&local_278,uVar17,param_4); + plVar16 = FUN_140002040(&local_98,L"PT_PATCH_SERVER",0,param_4); + (**(code **)(*param_1 + 0x28))(param_1,0x85a1,plVar16,&local_158); + local_298 = local_278; + if (local_278 == (longlong *******)0x0) { + local_298 = (longlong *******)PTR_DAT_14016f010; + } + pwVar25 = L"PT_PATCH_SERVER"; + uVar26 = 0x85a1; + uVar17 = (ulonglong)uVar3; + (**(code **)(*(longlong *)param_1[2] + 0x70))(); + FUN_140002190((longlong *)&local_278,uVar17,uVar26,pwVar25); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_258 = (void *)CONCAT44(local_258._4_4_,0x85a1); + local_250 = L"PT_PATCH_SERVER"; + local_248 = CONCAT44(local_248._4_4_,uVar3); + local_240 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_258); + DVar6 = GetTickCount(); + } + local_298 = (longlong *******)&local_270; + ppppppplVar10 = (longlong *******)&local_268; + puVar21 = local_1d8; + pwVar25 = (wchar_t *)(ulonglong)uVar3; + cVar5 = (**(code **)(*param_1 + 0x78))(param_1); + if (cVar5 == '\0') { + pwVar25 = L"PT_PATCH_SERVER"; + (**(code **)(*(longlong *)param_1[2] + 0x40))(); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_258 = (void *)CONCAT44(local_258._4_4_,0x85a1); + local_250 = L"PT_PATCH_SERVER"; + local_248 = CONCAT44(local_248._4_4_,uVar3); + local_240 = param_3; + DVar7 = GetTickCount(); + local_238 = DVar7 - DVar6; + pwVar25 = (wchar_t *)&local_258; + (**(code **)(*param_1 + 0x18))(param_1); + } + local_230 = (longlong *******) + FUN_140002190((longlong *)&local_268,pwVar25,puVar21,ppppppplVar10); + break; + case 0x85a2: + FUN_140049b40(local_1d8); + local_1d4 = param_2[10]; + local_1d8[0] = (undefined1)param_2[0x10]; + uVar26 = FUN_140074ee0(param_2,&local_278,4); + if ((char)uVar26 != '\0') { + local_270 = (uint)local_278; + } + plVar16 = (longlong *)param_1[2]; + pwVar25 = L"PT_BACKUP_CHARACTER_TABLE_COUNT"; + (**(code **)(*plVar16 + 0x48))(); + iVar23 = 0; + DVar6 = 0; + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + local_298 = (longlong *******)&DAT_140131724; + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar3,0x85a2,L"PT_BACKUP_CHARACTER_TABLE_COUNT"); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar16,param_2,pwVar25,param_4); + local_278 = (longlong *******)PTR_DAT_14016f010; + FUN_1400926b0((longlong *)&local_278); + FUN_140029bf0((longlong *)&local_278,(short *)&DAT_140133350); + if ((local_278 != (longlong *******)0x0) && + (local_278 != (longlong *******)PTR_DAT_14016f010)) { + iVar23 = *(int *)(local_278 + -1); + } + uVar17 = (ulonglong)(iVar23 - 2U); + plVar15 = FUN_140028f40((longlong *)&local_278,&local_e0,iVar23 - 2U); + FUN_1400020c0((longlong *)&local_278,plVar15,uVar17,param_4); + plVar16 = &local_e0; + FUN_140002190(plVar16,plVar15,uVar17,param_4); + local_58._0_8_ = &local_178; + FUN_14003e7c0(plVar16,plVar15,uVar17,param_4); + local_178 = PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_178,(longlong *)&local_278,uVar17,param_4); + plVar16 = FUN_140002040(&local_90,L"PT_BACKUP_CHARACTER_TABLE_COUNT",0,param_4); + (**(code **)(*param_1 + 0x28))(param_1,0x85a2,plVar16,&local_178); + local_298 = local_278; + if (local_278 == (longlong *******)0x0) { + local_298 = (longlong *******)PTR_DAT_14016f010; + } + pwVar25 = L"PT_BACKUP_CHARACTER_TABLE_COUNT"; + uVar26 = 0x85a2; + uVar17 = (ulonglong)uVar3; + (**(code **)(*(longlong *)param_1[2] + 0x70))(); + FUN_140002190((longlong *)&local_278,uVar17,uVar26,pwVar25); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_258 = (void *)CONCAT44(local_258._4_4_,0x85a2); + local_250 = L"PT_BACKUP_CHARACTER_TABLE_COUNT"; + local_248 = CONCAT44(local_248._4_4_,uVar3); + local_240 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_258); + DVar6 = GetTickCount(); + } + local_230 = (longlong *******) + (**(code **)(*param_1 + 0x80))(param_1,uVar3,local_1d8,&local_270); + if ((char)local_230 == '\0') { + local_230 = (longlong *******) + (**(code **)(*(longlong *)param_1[2] + 0x40)) + ((longlong *)param_1[2],L"PT_BACKUP_CHARACTER_TABLE_COUNT"); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_258 = (void *)CONCAT44(local_258._4_4_,0x85a2); + local_250 = L"PT_BACKUP_CHARACTER_TABLE_COUNT"; + goto LAB_140028e0f; + } + break; + case 0x85a3: + FUN_140049b40(local_1d8); + local_1d4 = param_2[10]; + local_1d8[0] = (undefined1)param_2[0x10]; + plVar16 = (longlong *)param_1[2]; + pwVar25 = L"PT_BACKUP_CHARACTER_TABLE_END"; + (**(code **)(*plVar16 + 0x48))(); + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + local_298 = (longlong *******)&DAT_140131724; + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar3,0x85a3,L"PT_BACKUP_CHARACTER_TABLE_END"); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar16,param_2,pwVar25,param_4); + local_278 = (longlong *******)PTR_DAT_14016f010; + uVar26 = 0xfffffffe; + plVar15 = FUN_140028f40((longlong *)&local_278,&local_c8,0xfffffffe); + FUN_1400020c0((longlong *)&local_278,plVar15,uVar26,param_4); + plVar16 = &local_c8; + FUN_140002190(plVar16,plVar15,uVar26,param_4); + local_58._0_8_ = &local_168; + FUN_14003e7c0(plVar16,plVar15,uVar26,param_4); + local_168 = PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_168,(longlong *)&local_278,uVar26,param_4); + plVar16 = FUN_140002040(local_b0,L"PT_BACKUP_CHARACTER_TABLE_END",0,param_4); + (**(code **)(*param_1 + 0x28))(param_1,0x85a3,plVar16,&local_168); + local_298 = local_278; + if (local_278 == (longlong *******)0x0) { + local_298 = (longlong *******)PTR_DAT_14016f010; + } + pwVar25 = L"PT_BACKUP_CHARACTER_TABLE_END"; + uVar26 = 0x85a3; + uVar17 = (ulonglong)uVar3; + (**(code **)(*(longlong *)param_1[2] + 0x70))(); + FUN_140002190((longlong *)&local_278,uVar17,uVar26,pwVar25); + } + DVar6 = 0; + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_258 = (void *)CONCAT44(local_258._4_4_,0x85a3); + local_250 = L"PT_BACKUP_CHARACTER_TABLE_END"; + local_248 = CONCAT44(local_248._4_4_,uVar3); + local_240 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_258); + DVar6 = GetTickCount(); + } + local_230 = (longlong *******)(**(code **)(*param_1 + 0x88))(param_1,uVar3,local_1d8); + if ((char)local_230 == '\0') { + local_230 = (longlong *******) + (**(code **)(*(longlong *)param_1[2] + 0x40)) + ((longlong *)param_1[2],L"PT_BACKUP_CHARACTER_TABLE_END"); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_258 = (void *)CONCAT44(local_258._4_4_,0x85a3); + local_250 = L"PT_BACKUP_CHARACTER_TABLE_END"; + goto LAB_140028e0f; + } + break; + default: + goto switchD_1400265c4_default; + } + uVar17 = CONCAT71((int7)((ulonglong)local_230 >> 8),1); + } + return uVar17; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140028ea0.c b/decomp/AgentManager_Release_x64/full/functions/0x140028ea0.c new file mode 100644 index 00000000..c5a877e7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140028ea0.c @@ -0,0 +1,21 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140028ea0 std::bad_alloc::`scalar_deleting_destructor' + * Pseudocode, not original source. */ + +/* Library Function - Single Match + public: virtual void * __ptr64 __cdecl std::bad_alloc::`scalar deleting destructor'(unsigned + int) __ptr64 + + Libraries: Visual Studio 2012 Release, Visual Studio 2015 Release */ + +void * __thiscall std::bad_alloc::_scalar_deleting_destructor_(bad_alloc *this,uint param_1) + +{ + *(undefined ***)this = RNP::Agent2AgentManagerStub::vftable; + FUN_140079b90((undefined8 *)this); + if ((param_1 & 1) != 0) { + operator_delete(this); + } + return this; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140028ee0.c b/decomp/AgentManager_Release_x64/full/functions/0x140028ee0.c new file mode 100644 index 00000000..056b1371 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140028ee0.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140028ee0 FUN_140028ee0 + * Pseudocode, not original source. */ + +void FUN_140028ee0(undefined8 *param_1) + +{ + *param_1 = RNP::Agent2AgentManagerStub::vftable; + FUN_140079b90(param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140028ef0.c b/decomp/AgentManager_Release_x64/full/functions/0x140028ef0.c new file mode 100644 index 00000000..a2519a52 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140028ef0.c @@ -0,0 +1,21 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140028ef0 std::bad_alloc::`scalar_deleting_destructor' + * Pseudocode, not original source. */ + +/* Library Function - Single Match + public: virtual void * __ptr64 __cdecl std::bad_alloc::`scalar deleting destructor'(unsigned + int) __ptr64 + + Libraries: Visual Studio 2012 Release, Visual Studio 2015 Release */ + +void * __thiscall std::bad_alloc::_scalar_deleting_destructor_(bad_alloc *this,uint param_1) + +{ + *(undefined ***)this = RNP::AgentManager2AgentProxy::vftable; + FUN_1400768c0((undefined8 *)this); + if ((param_1 & 1) != 0) { + operator_delete(this); + } + return this; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140028f30.c b/decomp/AgentManager_Release_x64/full/functions/0x140028f30.c new file mode 100644 index 00000000..6ce0a237 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140028f30.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140028f30 FUN_140028f30 + * Pseudocode, not original source. */ + +void FUN_140028f30(undefined8 *param_1) + +{ + *param_1 = RNP::AgentManager2AgentProxy::vftable; + FUN_1400768c0(param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140028f40.c b/decomp/AgentManager_Release_x64/full/functions/0x140028f40.c new file mode 100644 index 00000000..69c572da --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140028f40.c @@ -0,0 +1,35 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140028f40 FUN_140028f40 + * Pseudocode, not original source. */ + +longlong * FUN_140028f40(longlong *param_1,longlong *param_2,uint param_3) + +{ + int iVar1; + short *psVar2; + ulonglong uVar3; + undefined *puVar4; + + psVar2 = (short *)*param_1; + uVar3 = (ulonglong)param_3; + if ((int)param_3 < 0) { + uVar3 = 0; + } + iVar1 = 0; + if ((psVar2 != (short *)0x0) && (iVar1 = 0, psVar2 != (short *)PTR_DAT_14016f010)) { + iVar1 = *(int *)(psVar2 + -4); + } + if (iVar1 <= (int)uVar3) { + puVar4 = PTR_DAT_14016f010; + FUN_14003e7c0(param_1,psVar2,uVar3,PTR_DAT_14016f010); + *param_2 = (longlong)PTR_DAT_14016f010; + FUN_1400020c0(param_2,param_1,uVar3,puVar4); + return param_2; + } + if (psVar2 == (short *)0x0) { + psVar2 = (short *)PTR_DAT_14016f010; + } + FUN_140002040(param_2,psVar2,uVar3,PTR_DAT_14016f010); + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140028fc0.c b/decomp/AgentManager_Release_x64/full/functions/0x140028fc0.c new file mode 100644 index 00000000..ef707023 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140028fc0.c @@ -0,0 +1,108 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140028fc0 FUN_140028fc0 + * Pseudocode, not original source. */ + +uint * FUN_140028fc0(uint *param_1,ulonglong *param_2,undefined8 param_3,undefined8 param_4) + +{ + void *_Src; + void *_Dst; + uint *puVar1; + code *pcVar2; + uint uVar3; + uint *puVar4; + ulonglong uVar5; + ulonglong uVar6; + int iVar7; + undefined8 uVar8; + uint uVar9; + uint local_res10 [2]; + uint local_res18 [4]; + + puVar4 = local_res10; + uVar8 = 4; + FUN_140074ee0(param_1,(undefined8 *)puVar4,4); + uVar3 = local_res10[0]; + if (((int)local_res10[0] < 0) || (DAT_14016f140 <= (int)local_res10[0])) { + FUN_140092440(local_res10[0],puVar4,uVar8,param_4); + } + FUN_14001a190((longlong *)param_2,(longlong)(int)uVar3); + _Src = (void *)param_2[1]; + _Dst = (void *)*param_2; + if (((longlong)_Src - (longlong)_Dst >> 2 != 0) && (_Dst != _Src)) { + memmove(_Dst,_Src,0); + param_2[1] = (ulonglong)_Dst; + } + iVar7 = 0; + uVar9 = local_res10[0]; + if (0 < (int)uVar3) { + do { + uVar8 = FUN_140074ee0(param_1,(undefined8 *)local_res18,4); + puVar4 = (uint *)param_2[1]; + if ((char)uVar8 != '\0') { + uVar9 = local_res18[0]; + } + if ((local_res10 < puVar4) && (puVar1 = (uint *)*param_2, puVar1 <= local_res10)) { + if (puVar4 == (uint *)param_2[2]) { + uVar5 = (longlong)puVar4 - (longlong)puVar1 >> 2; + if (0x3ffffffffffffffe < uVar5) { + std::_Xlength_error("vector too long"); + pcVar2 = (code *)swi(3); + puVar4 = (uint *)(*pcVar2)(); + return puVar4; + } + uVar5 = uVar5 + 1; + uVar6 = (longlong)param_2[2] - (longlong)puVar1 >> 2; + if (uVar6 < uVar5) { + if (0x3fffffffffffffff - (uVar6 >> 1) < uVar6) { + uVar6 = 0; + } + else { + uVar6 = uVar6 + (uVar6 >> 1); + } + if (uVar6 < uVar5) { + uVar6 = uVar5; + } + FUN_14001a190((longlong *)param_2,uVar6); + } + } + if ((undefined4 *)param_2[1] != (undefined4 *)0x0) { + *(undefined4 *)param_2[1] = + *(undefined4 *)(*param_2 + ((longlong)local_res10 - (longlong)puVar1 >> 2) * 4); + } + } + else { + if (puVar4 == (uint *)param_2[2]) { + uVar5 = (longlong)((longlong)puVar4 - *param_2) >> 2; + if (0x3ffffffffffffffe < uVar5) { + std::_Xlength_error("vector too long"); + pcVar2 = (code *)swi(3); + puVar4 = (uint *)(*pcVar2)(); + return puVar4; + } + uVar5 = uVar5 + 1; + uVar6 = (longlong)((longlong)param_2[2] - *param_2) >> 2; + if (uVar6 < uVar5) { + if (0x3fffffffffffffff - (uVar6 >> 1) < uVar6) { + uVar6 = 0; + } + else { + uVar6 = uVar6 + (uVar6 >> 1); + } + if (uVar6 < uVar5) { + uVar6 = uVar5; + } + FUN_14001a190((longlong *)param_2,uVar6); + } + } + if ((uint *)param_2[1] != (uint *)0x0) { + *(uint *)param_2[1] = uVar9; + } + } + param_2[1] = param_2[1] + 4; + iVar7 = iVar7 + 1; + } while (iVar7 < (int)uVar3); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400291d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400291d0.c new file mode 100644 index 00000000..c151b2c3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400291d0.c @@ -0,0 +1,35 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400291d0 FUN_1400291d0 + * Pseudocode, not original source. */ + +void FUN_1400291d0(longlong *param_1,ulonglong param_2) + +{ + ulonglong *puVar1; + code *pcVar2; + undefined1 *puVar3; + longlong lVar4; + + if (0x555555555555555 < param_2) { + std::_Xlength_error("vector too long"); + pcVar2 = (code *)swi(3); + (*pcVar2)(); + return; + } + if ((ulonglong)((param_1[2] - *param_1) / 0x30) < param_2) { + puVar3 = FUN_140029660(param_2); + FUN_140029890((undefined1 *)*param_1,(undefined1 *)param_1[1],puVar3); + puVar1 = (ulonglong *)*param_1; + lVar4 = param_1[1] - (longlong)puVar1; + lVar4 = lVar4 / 6 + (lVar4 >> 0x3f); + if (puVar1 != (ulonglong *)0x0) { + FUN_14000a520(puVar1,(ulonglong *)param_1[1]); + operator_delete((void *)*param_1); + } + param_1[2] = (longlong)(puVar3 + param_2 * 0x30); + param_1[1] = (longlong)(puVar3 + ((lVar4 >> 3) - (lVar4 >> 0x3f)) * 0x30); + *param_1 = (longlong)puVar3; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400292d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400292d0.c new file mode 100644 index 00000000..e1cc153b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400292d0.c @@ -0,0 +1,45 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400292d0 FUN_1400292d0 + * Pseudocode, not original source. */ + +void FUN_1400292d0(longlong *param_1,undefined1 *param_2) + +{ + undefined1 *puVar1; + undefined1 *puVar2; + longlong lVar3; + + puVar1 = (undefined1 *)param_1[1]; + if ((param_2 < puVar1) && ((undefined1 *)*param_1 <= param_2)) { + lVar3 = (longlong)param_2 - *param_1; + lVar3 = lVar3 / 6 + (lVar3 >> 0x3f); + if (puVar1 == (undefined1 *)param_1[2]) { + FUN_1400295b0(param_1,1); + } + puVar2 = (undefined1 *)(((lVar3 >> 3) - (lVar3 >> 0x3f)) * 0x30 + *param_1); + puVar1 = (undefined1 *)param_1[1]; + if (puVar1 != (undefined1 *)0x0) { + *puVar1 = *puVar2; + *(undefined8 *)(puVar1 + 0x20) = 7; + *(undefined8 *)(puVar1 + 0x18) = 0; + *(undefined2 *)(puVar1 + 8) = 0; + FUN_140001630((longlong *)(puVar1 + 8),(longlong *)(puVar2 + 8),0,0xffffffffffffffff); + } + } + else { + if (puVar1 == (undefined1 *)param_1[2]) { + FUN_1400295b0(param_1,1); + } + puVar1 = (undefined1 *)param_1[1]; + if (puVar1 != (undefined1 *)0x0) { + *puVar1 = *param_2; + *(undefined8 *)(puVar1 + 0x20) = 7; + *(undefined8 *)(puVar1 + 0x18) = 0; + *(undefined2 *)(puVar1 + 8) = 0; + FUN_140001630((longlong *)(puVar1 + 8),(longlong *)(param_2 + 8),0,0xffffffffffffffff); + } + } + param_1[1] = param_1[1] + 0x30; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400293e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400293e0.c new file mode 100644 index 00000000..27b7f8ac --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400293e0.c @@ -0,0 +1,34 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400293e0 FUN_1400293e0 + * Pseudocode, not original source. */ + +void FUN_1400293e0(longlong *param_1,ulonglong param_2) + +{ + ulonglong *puVar1; + ulonglong *puVar2; + code *pcVar3; + undefined4 *puVar4; + + if (0x199999999999999 < param_2) { + std::_Xlength_error("vector too long"); + pcVar3 = (code *)swi(3); + (*pcVar3)(); + return; + } + if ((ulonglong)((param_1[2] - *param_1) / 0xa0) < param_2) { + puVar4 = FUN_14000a580(param_2); + FUN_140029920((undefined4 *)*param_1,(undefined4 *)param_1[1],puVar4); + puVar1 = (ulonglong *)param_1[1]; + puVar2 = (ulonglong *)*param_1; + if (puVar2 != (ulonglong *)0x0) { + FUN_14000a5f0(puVar2,puVar1); + operator_delete((void *)*param_1); + } + param_1[2] = (longlong)(puVar4 + param_2 * 0x28); + param_1[1] = (longlong)(puVar4 + (((longlong)puVar1 - (longlong)puVar2) / 0xa0) * 0x28); + *param_1 = (longlong)puVar4; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400294e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400294e0.c new file mode 100644 index 00000000..1a4a1bf5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400294e0.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400294e0 FUN_1400294e0 + * Pseudocode, not original source. */ + +void FUN_1400294e0(ulonglong *param_1,undefined4 *param_2) + +{ + undefined4 *puVar1; + undefined4 *puVar2; + + puVar1 = (undefined4 *)param_1[1]; + if ((param_2 < puVar1) && (puVar2 = (undefined4 *)*param_1, puVar2 <= param_2)) { + if (puVar1 == (undefined4 *)param_1[2]) { + FUN_1400296d0((longlong *)param_1,1); + } + if ((undefined4 *)param_1[1] != (undefined4 *)0x0) { + FUN_140004f20((undefined4 *)param_1[1], + (undefined4 *) + ((((longlong)param_2 - (longlong)puVar2) / 0xa0) * 0xa0 + *param_1)); + } + } + else { + if (puVar1 == (undefined4 *)param_1[2]) { + FUN_1400296d0((longlong *)param_1,1); + } + if ((undefined4 *)param_1[1] != (undefined4 *)0x0) { + FUN_140004f20((undefined4 *)param_1[1],param_2); + } + } + param_1[1] = param_1[1] + 0xa0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400295b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400295b0.c new file mode 100644 index 00000000..1a816940 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400295b0.c @@ -0,0 +1,37 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400295b0 FUN_1400295b0 + * Pseudocode, not original source. */ + +void FUN_1400295b0(longlong *param_1,longlong param_2) + +{ + code *pcVar1; + longlong lVar2; + ulonglong uVar3; + ulonglong uVar4; + + lVar2 = (param_1[1] - *param_1) / 6 + (param_1[1] - *param_1 >> 0x3f); + uVar4 = (lVar2 >> 3) - (lVar2 >> 0x3f); + if (0x555555555555555U - param_2 < uVar4) { + std::_Xlength_error("vector too long"); + pcVar1 = (code *)swi(3); + (*pcVar1)(); + return; + } + uVar4 = uVar4 + param_2; + uVar3 = (param_1[2] - *param_1) / 0x30; + if (uVar3 < uVar4) { + if (0x555555555555555 - (uVar3 >> 1) < uVar3) { + uVar3 = 0; + } + else { + uVar3 = uVar3 + (uVar3 >> 1); + } + if (uVar3 < uVar4) { + uVar3 = uVar4; + } + FUN_1400291d0(param_1,uVar3); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140029660.c b/decomp/AgentManager_Release_x64/full/functions/0x140029660.c new file mode 100644 index 00000000..65ec8061 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140029660.c @@ -0,0 +1,25 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140029660 FUN_140029660 + * Pseudocode, not original source. */ + +void * FUN_140029660(ulonglong param_1) + +{ + void *pvVar1; + char *local_res8 [4]; + undefined **local_28 [5]; + + if (param_1 == 0) { + return (void *)0x0; + } + if ((param_1 < 0x555555555555556) && + (pvVar1 = operator_new(param_1 * 0x30), pvVar1 != (void *)0x0)) { + return pvVar1; + } + local_res8[0] = (char *)0x0; + std::exception::exception((exception *)local_28,local_res8); + local_28[0] = std::bad_alloc::vftable; + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_28,(ThrowInfo *)&DAT_14016c158); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400296d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400296d0.c new file mode 100644 index 00000000..1fdf61e3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400296d0.c @@ -0,0 +1,35 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400296d0 FUN_1400296d0 + * Pseudocode, not original source. */ + +void FUN_1400296d0(longlong *param_1,longlong param_2) + +{ + code *pcVar1; + ulonglong uVar2; + ulonglong uVar3; + + uVar3 = (param_1[1] - *param_1) / 0xa0; + if (0x199999999999999U - param_2 < uVar3) { + std::_Xlength_error("vector too long"); + pcVar1 = (code *)swi(3); + (*pcVar1)(); + return; + } + uVar3 = uVar3 + param_2; + uVar2 = (param_1[2] - *param_1) / 0xa0; + if (uVar2 < uVar3) { + if (0x199999999999999 - (uVar2 >> 1) < uVar2) { + uVar2 = 0; + } + else { + uVar2 = uVar2 + (uVar2 >> 1); + } + if (uVar2 < uVar3) { + uVar2 = uVar3; + } + FUN_1400293e0(param_1,uVar2); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140029780.c b/decomp/AgentManager_Release_x64/full/functions/0x140029780.c new file mode 100644 index 00000000..6ec7f735 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140029780.c @@ -0,0 +1,26 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140029780 FUN_140029780 + * Pseudocode, not original source. */ + +undefined1 * FUN_140029780(undefined1 *param_1,undefined1 *param_2,undefined1 *param_3) + +{ + undefined1 *puVar1; + undefined1 *puVar2; + + puVar1 = param_3; + if (param_1 != param_2) { + puVar2 = param_1; + do { + *puVar1 = *puVar2; + FUN_140001630((longlong *)(puVar2 + (longlong)(param_3 + (8 - (longlong)param_1))), + (longlong *) + ((longlong)(puVar2 + (longlong)(param_3 + (8 - (longlong)param_1))) + + ((longlong)param_1 - (longlong)param_3)),0,0xffffffffffffffff); + puVar2 = puVar2 + 0x30; + puVar1 = puVar1 + 0x30; + } while (puVar2 != param_2); + } + return puVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140029800.c b/decomp/AgentManager_Release_x64/full/functions/0x140029800.c new file mode 100644 index 00000000..86b4eeb0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140029800.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140029800 FUN_140029800 + * Pseudocode, not original source. */ + +undefined4 * FUN_140029800(undefined4 *param_1,undefined4 *param_2) + +{ + *param_1 = *param_2; + param_1[1] = param_2[1]; + param_1[2] = param_2[2]; + *(undefined1 *)(param_1 + 3) = *(undefined1 *)(param_2 + 3); + param_1[4] = param_2[4]; + param_1[5] = param_2[5]; + param_1[6] = param_2[6]; + param_1[7] = param_2[7]; + *(undefined1 *)(param_1 + 8) = *(undefined1 *)(param_2 + 8); + FUN_140001630((longlong *)(param_1 + 10),(longlong *)(param_2 + 10),0,0xffffffffffffffff); + FUN_140001630((longlong *)(param_1 + 0x14),(longlong *)(param_2 + 0x14),0,0xffffffffffffffff); + FUN_140001630((longlong *)(param_1 + 0x1e),(longlong *)(param_2 + 0x1e),0,0xffffffffffffffff); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140029890.c b/decomp/AgentManager_Release_x64/full/functions/0x140029890.c new file mode 100644 index 00000000..26242b61 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140029890.c @@ -0,0 +1,20 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140029890 FUN_140029890 + * Pseudocode, not original source. */ + +undefined1 * FUN_140029890(undefined1 *param_1,undefined1 *param_2,undefined1 *param_3) + +{ + for (; param_1 != param_2; param_1 = param_1 + 0x30) { + if (param_3 != (undefined1 *)0x0) { + *param_3 = *param_1; + *(undefined8 *)(param_3 + 0x20) = 7; + *(undefined8 *)(param_3 + 0x18) = 0; + *(undefined2 *)(param_3 + 8) = 0; + FUN_140001630((longlong *)(param_3 + 8),(longlong *)(param_1 + 8),0,0xffffffffffffffff); + } + param_3 = param_3 + 0x30; + } + return param_3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140029920.c b/decomp/AgentManager_Release_x64/full/functions/0x140029920.c new file mode 100644 index 00000000..78e91b7d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140029920.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140029920 FUN_140029920 + * Pseudocode, not original source. */ + +undefined4 * FUN_140029920(undefined4 *param_1,undefined4 *param_2,undefined4 *param_3) + +{ + for (; param_1 != param_2; param_1 = param_1 + 0x28) { + if (param_3 != (undefined4 *)0x0) { + FUN_140004f20(param_3,param_1); + } + param_3 = param_3 + 0x28; + } + return param_3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140029980.c b/decomp/AgentManager_Release_x64/full/functions/0x140029980.c new file mode 100644 index 00000000..0a42c5bc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140029980.c @@ -0,0 +1,85 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140029980 FUN_140029980 + * Pseudocode, not original source. */ + +void FUN_140029980(longlong *param_1,longlong *param_2) + +{ + int iVar1; + int iVar2; + undefined *puVar3; + int iVar4; + int iVar5; + undefined *puVar6; + + puVar3 = (undefined *)*param_2; + if (((puVar3 != (undefined *)0x0) && (puVar3 != PTR_DAT_14016f010)) && (0 < *(int *)(puVar3 + -8)) + ) { + puVar6 = (undefined *)*param_1; + iVar4 = 0; + if ((puVar6 != (undefined *)0x0) && (puVar6 != PTR_DAT_14016f010)) { + iVar4 = *(int *)(puVar6 + -8); + } + iVar2 = *(int *)(puVar3 + -8) + iVar4; + iVar1 = 0; + if ((puVar6 != (undefined *)0x0) && (iVar1 = 0, puVar6 != PTR_DAT_14016f010)) { + iVar1 = *(int *)(puVar6 + -8); + } + if (((iVar2 <= iVar1) && (iVar2 = 0, puVar6 != (undefined *)0x0)) && + (puVar6 != PTR_DAT_14016f010)) { + iVar2 = *(int *)(puVar6 + -8); + } + iVar1 = 0; + iVar5 = 1; + if (1 < iVar2) { + iVar5 = iVar2; + } + if ((puVar6 != (undefined *)0x0) && (puVar6 != PTR_DAT_14016f010)) { + iVar1 = *(int *)(puVar6 + -8); + } + if (iVar1 < iVar5) { + FUN_140001d10(param_1,iVar5); + } + FUN_140001df0(param_1); + puVar3 = (undefined *)*param_2; + puVar6 = (undefined *)*param_1; + if ((undefined *)*param_1 == (undefined *)0x0) { + puVar6 = PTR_DAT_14016f010; + } + iVar1 = 0; + if ((puVar3 != (undefined *)0x0) && (iVar1 = 0, puVar3 != PTR_DAT_14016f010)) { + iVar1 = *(int *)(puVar3 + -8); + } + if (puVar3 == (undefined *)0x0) { + puVar3 = PTR_DAT_14016f010; + } + FUN_14003e650(puVar6 + (longlong)iVar4 * 2,puVar3,iVar1); + puVar3 = (undefined *)*param_2; + iVar1 = 0; + if ((puVar3 != (undefined *)0x0) && (puVar3 != PTR_DAT_14016f010)) { + iVar1 = *(int *)(puVar3 + -8); + } + iVar2 = 0; + iVar5 = 0; + if (0 < iVar1 + iVar4) { + iVar5 = iVar1 + iVar4; + } + puVar3 = (undefined *)*param_1; + if ((puVar3 != (undefined *)0x0) && (puVar3 != PTR_DAT_14016f010)) { + iVar2 = *(int *)(puVar3 + -8); + } + if ((iVar2 <= iVar5) && (iVar5 = 0, puVar3 != (undefined *)0x0)) { + if (puVar3 == PTR_DAT_14016f010) { + return; + } + iVar5 = *(int *)(puVar3 + -8); + } + if (((puVar3 != PTR_DAT_14016f010) && (puVar3 != (undefined *)0x0)) && + ((int *)(puVar3 + -8) != (int *)0x0)) { + *(int *)(puVar3 + -8) = iVar5; + *(undefined2 *)(puVar3 + (longlong)iVar5 * 2) = 0; + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140029af0.c b/decomp/AgentManager_Release_x64/full/functions/0x140029af0.c new file mode 100644 index 00000000..22da3086 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140029af0.c @@ -0,0 +1,27 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140029af0 FUN_140029af0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_140029af0(longlong *param_1,wchar_t *param_2,va_list param_3) + +{ + int iVar1; + undefined *puVar2; + undefined1 auStack_858 [32]; + wchar_t local_838 [1040]; + ulonglong local_18; + + local_18 = DAT_14016f5a0 ^ (ulonglong)auStack_858; + if (param_2 == (wchar_t *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80070057); + } + iVar1 = vswprintf_s(local_838,0x400,param_2,param_3); + puVar2 = FUN_140001ee0(param_1,iVar1); + FUN_14003e650(puVar2,local_838,iVar1); + FUN_140001fc0(param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140029b80.c b/decomp/AgentManager_Release_x64/full/functions/0x140029b80.c new file mode 100644 index 00000000..e17a951c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140029b80.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140029b80 FUN_140029b80 + * Pseudocode, not original source. */ + +void FUN_140029b80(longlong *param_1,wchar_t *param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 local_res18; + undefined8 local_res20; + + local_res18 = param_3; + local_res20 = param_4; + FUN_140029af0(param_1,param_2,(va_list)&local_res18); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140029bb0.c b/decomp/AgentManager_Release_x64/full/functions/0x140029bb0.c new file mode 100644 index 00000000..8ff55faa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140029bb0.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140029bb0 FUN_140029bb0 + * Pseudocode, not original source. */ + +undefined8 FUN_140029bb0(uint *param_1,undefined1 *param_2) + +{ + undefined8 uVar1; + undefined1 local_res18 [16]; + + uVar1 = FUN_140074ee0(param_1,(undefined8 *)local_res18,1); + if ((char)uVar1 == '\0') { + return uVar1; + } + *param_2 = local_res18[0]; + return 1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140029bf0.c b/decomp/AgentManager_Release_x64/full/functions/0x140029bf0.c new file mode 100644 index 00000000..db73dc68 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140029bf0.c @@ -0,0 +1,72 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140029bf0 FUN_140029bf0 + * Pseudocode, not original source. */ + +void FUN_140029bf0(longlong *param_1,short *param_2) + +{ + int iVar1; + int iVar2; + int iVar3; + int iVar4; + int iVar5; + undefined *puVar6; + + if (param_2 != (short *)0x0) { + iVar2 = FUN_14003e620(param_2); + puVar6 = (undefined *)*param_1; + iVar5 = 0; + if ((puVar6 != (undefined *)0x0) && (iVar5 = 0, puVar6 != PTR_DAT_14016f010)) { + iVar5 = *(int *)(puVar6 + -8); + } + iVar1 = iVar5 + iVar2; + iVar3 = 0; + if ((puVar6 != (undefined *)0x0) && (iVar3 = 0, puVar6 != PTR_DAT_14016f010)) { + iVar3 = *(int *)(puVar6 + -8); + } + iVar4 = iVar1; + if (((iVar1 <= iVar3) && (iVar4 = 0, puVar6 != (undefined *)0x0)) && + (puVar6 != PTR_DAT_14016f010)) { + iVar4 = *(int *)(puVar6 + -8); + } + iVar3 = 1; + if (1 < iVar4) { + iVar3 = iVar4; + } + iVar4 = 0; + if ((puVar6 != (undefined *)0x0) && (puVar6 != PTR_DAT_14016f010)) { + iVar4 = *(int *)(puVar6 + -8); + } + if (iVar4 < iVar3) { + FUN_140001d10(param_1,iVar3); + } + FUN_140001df0(param_1); + puVar6 = (undefined *)*param_1; + if ((undefined *)*param_1 == (undefined *)0x0) { + puVar6 = PTR_DAT_14016f010; + } + FUN_14003e650(puVar6 + (longlong)iVar5 * 2,param_2,iVar2); + puVar6 = (undefined *)*param_1; + iVar5 = 0; + iVar2 = 0; + if (0 < iVar1) { + iVar2 = iVar1; + } + if ((puVar6 != (undefined *)0x0) && (puVar6 != PTR_DAT_14016f010)) { + iVar5 = *(int *)(puVar6 + -8); + } + if ((iVar5 <= iVar2) && (iVar2 = 0, puVar6 != (undefined *)0x0)) { + if (puVar6 == PTR_DAT_14016f010) { + return; + } + iVar2 = *(int *)(puVar6 + -8); + } + if (((puVar6 != PTR_DAT_14016f010) && (puVar6 != (undefined *)0x0)) && + ((int *)(puVar6 + -8) != (int *)0x0)) { + *(int *)(puVar6 + -8) = iVar2; + *(undefined2 *)(puVar6 + (longlong)iVar2 * 2) = 0; + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140029d40.c b/decomp/AgentManager_Release_x64/full/functions/0x140029d40.c new file mode 100644 index 00000000..f67db850 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140029d40.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140029d40 FUN_140029d40 + * Pseudocode, not original source. */ + +undefined8 FUN_140029d40(uint *param_1,undefined4 *param_2) + +{ + undefined8 uVar1; + undefined4 local_res18 [4]; + + uVar1 = FUN_140074ee0(param_1,(undefined8 *)local_res18,4); + if ((char)uVar1 == '\0') { + return uVar1; + } + *param_2 = local_res18[0]; + return CONCAT71((uint7)(uint3)((uint)local_res18[0] >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140029d80.c b/decomp/AgentManager_Release_x64/full/functions/0x140029d80.c new file mode 100644 index 00000000..ffbda695 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140029d80.c @@ -0,0 +1,57 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140029d80 FUN_140029d80 + * Pseudocode, not original source. */ + +void FUN_140029d80(longlong param_1,undefined8 param_2,SIZE_T param_3,undefined8 param_4) + +{ + longlong lVar1; + int iVar2; + uint uVar3; + ulonglong uVar4; + longlong lVar5; + exception local_58 [80]; + + lVar5 = 0; + *(undefined4 *)(param_1 + 4) = 0; + lVar1 = *(longlong *)(param_1 + 8); + if (lVar1 == 0) { + if (*(longlong *)(param_1 + 0x10) == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(param_1,param_2,param_3,param_4); + } + } + else if (*(longlong *)(param_1 + 0x10) == 0) { + if (lVar1 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(param_1,param_2,param_3,param_4); + } + iVar2 = *(int *)(lVar1 + 0x18); + uVar3 = iVar2 + 1; + uVar4 = (ulonglong)uVar3; + FUN_14002a050(lVar1,uVar3,param_3); + if (*(int *)(lVar1 + 0x18) != 0) { + lVar5 = *(longlong *)(lVar1 + 0x10); + } + *(char *)(iVar2 + lVar5) = (char)param_2; + goto LAB_140029e39; + } + if (*(longlong *)(param_1 + 0x10) == 0) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,param_3, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + uVar4 = (ulonglong)*(int *)(param_1 + 0x18); + iVar2 = *(int *)(param_1 + 0x18) + 1; + if ((iVar2 < 0) || (*(int *)(param_1 + 0x1c) < iVar2)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + *(int *)(param_1 + 0x18) = iVar2; + *(char *)(uVar4 + *(longlong *)(param_1 + 0x10)) = (char)param_2; +LAB_140029e39: + FUN_14002a180(param_1,uVar4,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140029e60.c b/decomp/AgentManager_Release_x64/full/functions/0x140029e60.c new file mode 100644 index 00000000..90da45ab --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140029e60.c @@ -0,0 +1,57 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140029e60 FUN_140029e60 + * Pseudocode, not original source. */ + +void FUN_140029e60(longlong param_1,undefined8 param_2,SIZE_T param_3,undefined8 param_4) + +{ + longlong lVar1; + int iVar2; + uint uVar3; + ulonglong uVar4; + longlong lVar5; + exception local_58 [80]; + + lVar5 = 0; + *(undefined4 *)(param_1 + 4) = 0; + lVar1 = *(longlong *)(param_1 + 8); + if (lVar1 == 0) { + if (*(longlong *)(param_1 + 0x10) == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(param_1,param_2,param_3,param_4); + } + } + else if (*(longlong *)(param_1 + 0x10) == 0) { + if (lVar1 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(param_1,param_2,param_3,param_4); + } + iVar2 = *(int *)(lVar1 + 0x18); + uVar3 = iVar2 + 4; + uVar4 = (ulonglong)uVar3; + FUN_14002a050(lVar1,uVar3,param_3); + if (*(int *)(lVar1 + 0x18) != 0) { + lVar5 = *(longlong *)(lVar1 + 0x10); + } + *(int *)(iVar2 + lVar5) = (int)param_2; + goto LAB_140029f18; + } + if (*(longlong *)(param_1 + 0x10) == 0) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,param_3, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + uVar4 = (ulonglong)*(int *)(param_1 + 0x18); + iVar2 = *(int *)(param_1 + 0x18) + 4; + if ((iVar2 < 0) || (*(int *)(param_1 + 0x1c) < iVar2)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + *(int *)(param_1 + 0x18) = iVar2; + *(int *)(uVar4 + *(longlong *)(param_1 + 0x10)) = (int)param_2; +LAB_140029f18: + FUN_14002a180(param_1,uVar4,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140029f40.c b/decomp/AgentManager_Release_x64/full/functions/0x140029f40.c new file mode 100644 index 00000000..c84ccede --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140029f40.c @@ -0,0 +1,36 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140029f40 FUN_140029f40 + * Pseudocode, not original source. */ + +void FUN_140029f40(longlong *param_1,undefined8 *param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong lVar1; + int iVar2; + int iVar3; + exception local_58 [88]; + + iVar3 = (int)param_3; + if (iVar3 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (iVar3 != 0) { + if (*param_1 == 0) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,param_3, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + lVar1 = param_1[1]; + iVar2 = (int)lVar1 + iVar3; + if ((iVar2 < 0) || (*(int *)((longlong)param_1 + 0xc) < iVar2)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + *(int *)(param_1 + 1) = iVar2; + FUN_140006fb0((undefined8 *)(*param_1 + (longlong)(int)lVar1),param_2,(longlong)iVar3); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140029fb0.c b/decomp/AgentManager_Release_x64/full/functions/0x140029fb0.c new file mode 100644 index 00000000..30afcfc5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140029fb0.c @@ -0,0 +1,54 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140029fb0 FUN_140029fb0 + * Pseudocode, not original source. */ + +int FUN_140029fb0(longlong param_1,int param_2) + +{ + uint uVar1; + int iVar2; + uint uVar3; + int iVar4; + + iVar4 = *(int *)(param_1 + 0x24); + if (iVar4 == 0) { + iVar2 = (int)(*(int *)(param_1 + 0x18) + (*(int *)(param_1 + 0x18) >> 0x1f & 7U)) >> 3; + iVar4 = 0x400; + if (iVar2 < 0x400) { + iVar4 = iVar2; + } + iVar2 = 4; + if (4 < iVar4) { + iVar2 = iVar4; + } + iVar4 = iVar2 + param_2; + if (iVar2 + param_2 < *(int *)(param_1 + 0x20)) { + iVar4 = *(int *)(param_1 + 0x20); + } + return iVar4; + } + if (iVar4 != 1) { + if (iVar4 != 2) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (param_2 < *(int *)(param_1 + 0x20)) { + param_2 = *(int *)(param_1 + 0x20); + } + return param_2; + } + uVar1 = (int)(*(int *)(param_1 + 0x18) + (*(int *)(param_1 + 0x18) >> 0x1f & 7U)) >> 3; + uVar3 = 0x10; + if (0x10 < (int)uVar1) { + uVar3 = uVar1; + } + if (uVar3 < 0x41) { + uVar3 = 0x40; + } + iVar4 = uVar3 + param_2; + if ((int)(uVar3 + param_2) < *(int *)(param_1 + 0x20)) { + iVar4 = *(int *)(param_1 + 0x20); + } + return iVar4; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002a050.c b/decomp/AgentManager_Release_x64/full/functions/0x14002a050.c new file mode 100644 index 00000000..cab78147 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002a050.c @@ -0,0 +1,54 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002a050 FUN_14002a050 + * Pseudocode, not original source. */ + +void FUN_14002a050(longlong param_1,int param_2,SIZE_T param_3) + +{ + longlong *plVar1; + int iVar2; + longlong lVar3; + SIZE_T SVar4; + undefined8 uVar5; + exception local_58 [80]; + + if (param_2 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (param_2 != *(int *)(param_1 + 0x18)) { + if (*(int *)(param_1 + 0x1c) < param_2) { + iVar2 = FUN_140029fb0(param_1,param_2); + plVar1 = *(longlong **)(param_1 + 8); + SVar4 = (SIZE_T)iVar2; + if (*(int *)(param_1 + 0x1c) == 0) { + if (plVar1 == (longlong *)0x0) { + lVar3 = FUN_14003e840(SVar4); + } + else { + lVar3 = (**(code **)(*plVar1 + 8))(plVar1,SVar4); + } + } + else { + uVar5 = *(undefined8 *)(param_1 + 0x10); + if (plVar1 == (longlong *)0x0) { + lVar3 = FUN_14003e870(uVar5,SVar4); + } + else { + lVar3 = (**(code **)(*plVar1 + 0x10))(plVar1,uVar5); + param_3 = SVar4; + } + if (lVar3 == 0) { + FUN_14003db10(local_58,L"Memory allocation failure!",param_3,uVar5); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + } + *(longlong *)(param_1 + 0x10) = lVar3; + *(int *)(param_1 + 0x1c) = iVar2; + } + *(int *)(param_1 + 0x18) = param_2; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002a110.c b/decomp/AgentManager_Release_x64/full/functions/0x14002a110.c new file mode 100644 index 00000000..7f3b7946 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002a110.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002a110 FUN_14002a110 + * Pseudocode, not original source. */ + +void FUN_14002a110(longlong param_1,undefined8 *param_2,SIZE_T param_3) + +{ + int iVar1; + longlong lVar2; + int iVar3; + + iVar3 = (int)param_3; + if (iVar3 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (iVar3 != 0) { + iVar1 = *(int *)(param_1 + 0x18); + FUN_14002a050(param_1,iVar1 + iVar3,param_3); + if (*(int *)(param_1 + 0x18) == 0) { + lVar2 = 0; + } + else { + lVar2 = *(longlong *)(param_1 + 0x10); + } + FUN_140006fb0((undefined8 *)(lVar2 + iVar1),param_2,(longlong)iVar3); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002a180.c b/decomp/AgentManager_Release_x64/full/functions/0x14002a180.c new file mode 100644 index 00000000..e169fe51 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002a180.c @@ -0,0 +1,52 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002a180 FUN_14002a180 + * Pseudocode, not original source. */ + +void FUN_14002a180(longlong param_1,undefined8 param_2,SIZE_T param_3,undefined8 param_4) + +{ + int iVar1; + longlong lVar2; + int iVar3; + exception local_58 [80]; + + if (*(char *)(param_1 + 0x20) != '\0') { + lVar2 = *(longlong *)(param_1 + 8); + if (lVar2 == 0) { + if (*(longlong *)(param_1 + 0x10) == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(param_1,param_2,param_3,param_4); + } + } + else if (*(longlong *)(param_1 + 0x10) == 0) { + if (lVar2 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(param_1,param_2,param_3,param_4); + } + iVar1 = *(int *)(lVar2 + 0x18); + FUN_14002a050(lVar2,iVar1 + 1,param_3); + if (*(int *)(lVar2 + 0x18) == 0) { + *(undefined1 *)(longlong)iVar1 = 0xfe; + return; + } + ((undefined1 *)(longlong)iVar1)[*(longlong *)(lVar2 + 0x10)] = 0xfe; + return; + } + if (*(longlong *)(param_1 + 0x10) == 0) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,param_3, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + iVar1 = *(int *)(param_1 + 0x18); + iVar3 = iVar1 + 1; + if ((iVar3 < 0) || (*(int *)(param_1 + 0x1c) < iVar3)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + *(int *)(param_1 + 0x18) = iVar3; + *(undefined1 *)((longlong)iVar1 + *(longlong *)(param_1 + 0x10)) = 0xfe; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002a260.c b/decomp/AgentManager_Release_x64/full/functions/0x14002a260.c new file mode 100644 index 00000000..02bc9a3c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002a260.c @@ -0,0 +1,34 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002a260 FUN_14002a260 + * Pseudocode, not original source. */ + +void FUN_14002a260(longlong param_1,undefined8 *param_2,SIZE_T param_3,undefined8 param_4) + +{ + longlong lVar1; + + if ((int)param_3 == 0) { + return; + } + *(undefined4 *)(param_1 + 4) = 0; + lVar1 = *(longlong *)(param_1 + 8); + if (lVar1 == 0) { + if (*(longlong *)(param_1 + 0x10) == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,param_2,param_3,param_4); + } + } + else if (*(longlong *)(param_1 + 0x10) == 0) { + if (lVar1 != 0) { + FUN_14002a110(lVar1,param_2,param_3); + FUN_14002a180(param_1,param_2,param_3,param_4); + return; + } + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,param_2,param_3,param_4); + } + FUN_140029f40((longlong *)(param_1 + 0x10),param_2,param_3,param_4); + FUN_14002a180(param_1,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002a2d0.c b/decomp/AgentManager_Release_x64/full/functions/0x14002a2d0.c new file mode 100644 index 00000000..c6424f0d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002a2d0.c @@ -0,0 +1,57 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002a2d0 FUN_14002a2d0 + * Pseudocode, not original source. */ + +void FUN_14002a2d0(longlong param_1,undefined8 param_2,SIZE_T param_3,undefined8 param_4) + +{ + longlong lVar1; + int iVar2; + uint uVar3; + ulonglong uVar4; + longlong lVar5; + exception local_58 [80]; + + lVar5 = 0; + *(undefined4 *)(param_1 + 4) = 0; + lVar1 = *(longlong *)(param_1 + 8); + if (lVar1 == 0) { + if (*(longlong *)(param_1 + 0x10) == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(param_1,param_2,param_3,param_4); + } + } + else if (*(longlong *)(param_1 + 0x10) == 0) { + if (lVar1 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(param_1,param_2,param_3,param_4); + } + iVar2 = *(int *)(lVar1 + 0x18); + uVar3 = iVar2 + 2; + uVar4 = (ulonglong)uVar3; + FUN_14002a050(lVar1,uVar3,param_3); + if (*(int *)(lVar1 + 0x18) != 0) { + lVar5 = *(longlong *)(lVar1 + 0x10); + } + *(short *)(iVar2 + lVar5) = (short)param_2; + goto LAB_14002a38b; + } + if (*(longlong *)(param_1 + 0x10) == 0) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,param_3, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + uVar4 = (ulonglong)*(int *)(param_1 + 0x18); + iVar2 = *(int *)(param_1 + 0x18) + 2; + if ((iVar2 < 0) || (*(int *)(param_1 + 0x1c) < iVar2)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + *(int *)(param_1 + 0x18) = iVar2; + *(short *)(uVar4 + *(longlong *)(param_1 + 0x10)) = (short)param_2; +LAB_14002a38b: + FUN_14002a180(param_1,uVar4,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002a3b0.c b/decomp/AgentManager_Release_x64/full/functions/0x14002a3b0.c new file mode 100644 index 00000000..3892bccb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002a3b0.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002a3b0 FUN_14002a3b0 + * Pseudocode, not original source. */ + +void FUN_14002a3b0(longlong *param_1) + +{ + if (*param_1 != 0) { + if (*(int *)((longlong)param_1 + 0xc) < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + *(undefined4 *)(param_1 + 1) = 0; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002a3e0.c b/decomp/AgentManager_Release_x64/full/functions/0x14002a3e0.c new file mode 100644 index 00000000..8ef830f7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002a3e0.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002a3e0 FUN_14002a3e0 + * Pseudocode, not original source. */ + +void FUN_14002a3e0(longlong *param_1) + +{ + FUN_14008a320(param_1); + if (param_1[1] != 0) { + if (*(int *)((longlong)param_1 + 0x14) < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + *(undefined4 *)(param_1 + 2) = 0; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002a420.c b/decomp/AgentManager_Release_x64/full/functions/0x14002a420.c new file mode 100644 index 00000000..be4e56a5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002a420.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002a420 FUN_14002a420 + * Pseudocode, not original source. */ + +void FUN_14002a420(longlong param_1) + +{ + FUN_14008a320((longlong *)(param_1 + 8)); + if (*(longlong *)(param_1 + 0x10) != 0) { + if (*(int *)(param_1 + 0x1c) < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + *(undefined4 *)(param_1 + 0x18) = 0; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002a470.c b/decomp/AgentManager_Release_x64/full/functions/0x14002a470.c new file mode 100644 index 00000000..c7a6abea --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002a470.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002a470 FUN_14002a470 + * Pseudocode, not original source. */ + +undefined8 FUN_14002a470(void) + +{ + return 0x86c4; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002a480.c b/decomp/AgentManager_Release_x64/full/functions/0x14002a480.c new file mode 100644 index 00000000..329187d2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002a480.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002a480 FUN_14002a480 + * Pseudocode, not original source. */ + +undefined8 FUN_14002a480(void) + +{ + return 0x86d3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002a490.c b/decomp/AgentManager_Release_x64/full/functions/0x14002a490.c new file mode 100644 index 00000000..afdb82c8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002a490.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002a490 FUN_14002a490 + * Pseudocode, not original source. */ + +undefined1 FUN_14002a490(longlong *param_1,undefined8 param_2,SIZE_T param_3,uint *param_4) + +{ + undefined1 uVar1; + SIZE_T SVar2; + uint *puVar3; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + puVar3 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,puVar3); + FUN_14002a2d0((longlong)local_30,0x86c5,SVar2,puVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_4,SVar2,puVar3); + uVar1 = (**(code **)(*param_1 + 0x18))(param_1,local_res10,1,param_3,local_30,L"RESP_AUTH",0x86c5) + ; + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002a570.c b/decomp/AgentManager_Release_x64/full/functions/0x14002a570.c new file mode 100644 index 00000000..88ce2c43 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002a570.c @@ -0,0 +1,35 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002a570 FUN_14002a570 + * Pseudocode, not original source. */ + +undefined1 +FUN_14002a570(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4, + uint *param_5) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0x86c5,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_5,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30,L"RESP_AUTH",0x86c5); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002a650.c b/decomp/AgentManager_Release_x64/full/functions/0x14002a650.c new file mode 100644 index 00000000..99f6ccee --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002a650.c @@ -0,0 +1,74 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002a650 FUN_14002a650 + * Pseudocode, not original source. */ + +undefined1 FUN_14002a650(longlong *param_1,undefined8 param_2,SIZE_T param_3,longlong *param_4) + +{ + undefined1 uVar1; + ulonglong *puVar2; + uint *puVar3; + ulonglong *puVar4; + SIZE_T SVar5; + longlong *plVar6; + undefined4 local_res10 [2]; + undefined4 local_50 [2]; + longlong local_48; + longlong local_40; + int local_34; + + local_res10[0] = (undefined4)param_2; + SVar5 = param_3; + plVar6 = param_4; + FUN_140074fb0(local_50); + FUN_140074a40((longlong)local_50,param_2,SVar5,plVar6); + FUN_14002a2d0((longlong)local_50,0x86c6,SVar5,plVar6); + FUN_140029e60((longlong)local_50,(param_4[1] - *param_4) / 0xa0,SVar5,plVar6); + puVar3 = (uint *)*param_4; + if (puVar3 != (uint *)param_4[1]) { + puVar4 = (ulonglong *)(puVar3 + 0x1a); + do { + FUN_140029e60((longlong)local_50,(ulonglong)*puVar3,SVar5,plVar6); + FUN_140029e60((longlong)local_50,(ulonglong)*(uint *)((longlong)puVar4 + -100),SVar5,plVar6); + FUN_140029e60((longlong)local_50,(ulonglong)(uint)puVar4[-0xc],SVar5,plVar6); + FUN_140029d80((longlong)local_50,(ulonglong)*(byte *)((longlong)puVar4 + -0x5c),SVar5,plVar6); + FUN_140029e60((longlong)local_50,(ulonglong)(uint)puVar4[-0xb],SVar5,plVar6); + FUN_140029e60((longlong)local_50,(ulonglong)*(uint *)((longlong)puVar4 + -0x54),SVar5,plVar6); + FUN_140029e60((longlong)local_50,(ulonglong)(uint)puVar4[-10],SVar5,plVar6); + FUN_140029e60((longlong)local_50,(ulonglong)*(uint *)((longlong)puVar4 + -0x4c),SVar5,plVar6); + FUN_140029d80((longlong)local_50,(ulonglong)(byte)puVar4[-9],SVar5,plVar6); + if (puVar4[-5] < 8) { + puVar2 = puVar4 + -8; + } + else { + puVar2 = (ulonglong *)puVar4[-8]; + } + FUN_1400767c0((longlong)local_50,(short *)puVar2); + if (*puVar4 < 8) { + puVar2 = puVar4 + -3; + } + else { + puVar2 = (ulonglong *)puVar4[-3]; + } + FUN_1400767c0((longlong)local_50,(short *)puVar2); + if (puVar4[5] < 8) { + puVar2 = puVar4 + 2; + } + else { + puVar2 = (ulonglong *)puVar4[2]; + } + FUN_1400767c0((longlong)local_50,(short *)puVar2); + puVar3 = puVar3 + 0x28; + puVar4 = puVar4 + 0x14; + } while (puVar3 != (uint *)param_4[1]); + } + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_50,L"RESP_SERVER_OPTION",0x86c6); + FUN_14008a320(&local_48); + if ((local_40 != 0) && (local_34 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002a830.c b/decomp/AgentManager_Release_x64/full/functions/0x14002a830.c new file mode 100644 index 00000000..325c72aa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002a830.c @@ -0,0 +1,79 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002a830 FUN_14002a830 + * Pseudocode, not original source. */ + +undefined1 +FUN_14002a830(longlong *param_1,undefined8 param_2,SIZE_T param_3,undefined8 param_4, + longlong *param_5) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong *puVar3; + uint *puVar4; + ulonglong *puVar5; + undefined8 uVar6; + ulonglong uVar7; + undefined4 local_40 [2]; + longlong local_38; + longlong local_30; + int local_24; + + uVar7 = param_3 & 0xffffffff; + uVar2 = param_2; + uVar6 = param_4; + FUN_140074fb0(local_40); + FUN_140074a40((longlong)local_40,uVar2,param_3,uVar6); + FUN_14002a2d0((longlong)local_40,0x86c6,param_3,uVar6); + FUN_140029e60((longlong)local_40,(param_5[1] - *param_5) / 0xa0,param_3,uVar6); + puVar4 = (uint *)*param_5; + if (puVar4 != (uint *)param_5[1]) { + puVar5 = (ulonglong *)(puVar4 + 0x1a); + do { + FUN_140029e60((longlong)local_40,(ulonglong)*puVar4,param_3,uVar6); + FUN_140029e60((longlong)local_40,(ulonglong)*(uint *)((longlong)puVar5 + -100),param_3,uVar6); + FUN_140029e60((longlong)local_40,(ulonglong)(uint)puVar5[-0xc],param_3,uVar6); + FUN_140029d80((longlong)local_40,(ulonglong)*(byte *)((longlong)puVar5 + -0x5c),param_3,uVar6) + ; + FUN_140029e60((longlong)local_40,(ulonglong)(uint)puVar5[-0xb],param_3,uVar6); + FUN_140029e60((longlong)local_40,(ulonglong)*(uint *)((longlong)puVar5 + -0x54),param_3,uVar6) + ; + FUN_140029e60((longlong)local_40,(ulonglong)(uint)puVar5[-10],param_3,uVar6); + FUN_140029e60((longlong)local_40,(ulonglong)*(uint *)((longlong)puVar5 + -0x4c),param_3,uVar6) + ; + FUN_140029d80((longlong)local_40,(ulonglong)(byte)puVar5[-9],param_3,uVar6); + if (puVar5[-5] < 8) { + puVar3 = puVar5 + -8; + } + else { + puVar3 = (ulonglong *)puVar5[-8]; + } + FUN_1400767c0((longlong)local_40,(short *)puVar3); + if (*puVar5 < 8) { + puVar3 = puVar5 + -3; + } + else { + puVar3 = (ulonglong *)puVar5[-3]; + } + FUN_1400767c0((longlong)local_40,(short *)puVar3); + if (puVar5[5] < 8) { + puVar3 = puVar5 + 2; + } + else { + puVar3 = (ulonglong *)puVar5[2]; + } + FUN_1400767c0((longlong)local_40,(short *)puVar3); + puVar4 = puVar4 + 0x28; + puVar5 = puVar5 + 0x14; + } while (puVar4 != (uint *)param_5[1]); + } + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,uVar7,param_4,local_40,L"RESP_SERVER_OPTION",0x86c6); + FUN_14008a320(&local_38); + if ((local_30 != 0) && (local_24 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002aa40.c b/decomp/AgentManager_Release_x64/full/functions/0x14002aa40.c new file mode 100644 index 00000000..d4345d7f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002aa40.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002aa40 FUN_14002aa40 + * Pseudocode, not original source. */ + +undefined1 +FUN_14002aa40(longlong *param_1,undefined8 param_2,SIZE_T param_3,uint *param_4,uint *param_5) + +{ + undefined1 uVar1; + SIZE_T SVar2; + uint *puVar3; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + puVar3 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,puVar3); + FUN_14002a2d0((longlong)local_30,0x86c7,SVar2,puVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_4,SVar2,puVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_5,SVar2,puVar3); + FUN_140029e60((longlong)local_30,(ulonglong)param_5[1],SVar2,puVar3); + FUN_140029e60((longlong)local_30,(ulonglong)param_5[2],SVar2,puVar3); + FUN_14002f5c0((longlong)local_30,*(undefined8 *)(param_5 + 4),SVar2,puVar3); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,L"RESP_SERVER_REGISTER",0x86c7); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002ab50.c b/decomp/AgentManager_Release_x64/full/functions/0x14002ab50.c new file mode 100644 index 00000000..5e74439f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002ab50.c @@ -0,0 +1,40 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002ab50 FUN_14002ab50 + * Pseudocode, not original source. */ + +undefined1 +FUN_14002ab50(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4, + uint *param_5,uint *param_6) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0x86c7,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_5,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_6,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)param_6[1],uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)param_6[2],uVar3,uVar4); + FUN_14002f5c0((longlong)local_30,*(undefined8 *)(param_6 + 4),uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30,L"RESP_SERVER_REGISTER", + 0x86c7); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002ac80.c b/decomp/AgentManager_Release_x64/full/functions/0x14002ac80.c new file mode 100644 index 00000000..055d67e6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002ac80.c @@ -0,0 +1,52 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002ac80 FUN_14002ac80 + * Pseudocode, not original source. */ + +undefined1 +FUN_14002ac80(longlong *param_1,undefined8 param_2,SIZE_T param_3,uint *param_4,uint *param_5, + longlong *param_6) + +{ + undefined1 uVar1; + uint *puVar2; + SIZE_T SVar3; + uint *puVar4; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar3 = param_3; + puVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar3,puVar4); + FUN_14002a2d0((longlong)local_30,0x86c8,SVar3,puVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_4,SVar3,puVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_5,SVar3,puVar4); + FUN_140029e60((longlong)local_30,(ulonglong)param_5[1],SVar3,puVar4); + FUN_140029e60((longlong)local_30,(ulonglong)param_5[2],SVar3,puVar4); + FUN_140029e60((longlong)local_30,(ulonglong)param_5[6],SVar3,puVar4); + FUN_140029e60((longlong)local_30,(ulonglong)param_5[3],SVar3,puVar4); + FUN_140029d80((longlong)local_30,(ulonglong)(byte)param_5[7],SVar3,puVar4); + FUN_140029d80((longlong)local_30,(ulonglong)*(byte *)((longlong)param_5 + 0x1d),SVar3,puVar4); + FUN_14002f5c0((longlong)local_30,*(undefined8 *)(param_5 + 4),SVar3,puVar4); + FUN_140029e60((longlong)local_30,param_6[1] - *param_6 >> 2,SVar3,puVar4); + puVar2 = (uint *)*param_6; + if (puVar2 != (uint *)param_6[1]) { + do { + FUN_140029e60((longlong)local_30,(ulonglong)*puVar2,SVar3,puVar4); + puVar2 = puVar2 + 1; + } while (puVar2 != (uint *)param_6[1]); + } + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,L"RESP_SERVER_INFORMATION",0x86c8); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002ae10.c b/decomp/AgentManager_Release_x64/full/functions/0x14002ae10.c new file mode 100644 index 00000000..064d498d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002ae10.c @@ -0,0 +1,52 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002ae10 FUN_14002ae10 + * Pseudocode, not original source. */ + +undefined1 +FUN_14002ae10(longlong *param_1,undefined8 param_2,SIZE_T param_3,undefined8 param_4,uint *param_5, + uint *param_6,longlong *param_7) + +{ + undefined1 uVar1; + undefined8 uVar2; + uint *puVar3; + undefined8 uVar4; + ulonglong uVar5; + undefined4 local_40 [2]; + longlong local_38; + longlong local_30; + int local_24; + + uVar5 = param_3 & 0xffffffff; + uVar2 = param_2; + uVar4 = param_4; + FUN_140074fb0(local_40); + FUN_140074a40((longlong)local_40,uVar2,param_3,uVar4); + FUN_14002a2d0((longlong)local_40,0x86c8,param_3,uVar4); + FUN_140029e60((longlong)local_40,(ulonglong)*param_5,param_3,uVar4); + FUN_140029e60((longlong)local_40,(ulonglong)*param_6,param_3,uVar4); + FUN_140029e60((longlong)local_40,(ulonglong)param_6[1],param_3,uVar4); + FUN_140029e60((longlong)local_40,(ulonglong)param_6[2],param_3,uVar4); + FUN_140029e60((longlong)local_40,(ulonglong)param_6[6],param_3,uVar4); + FUN_140029e60((longlong)local_40,(ulonglong)param_6[3],param_3,uVar4); + FUN_140029d80((longlong)local_40,(ulonglong)(byte)param_6[7],param_3,uVar4); + FUN_140029d80((longlong)local_40,(ulonglong)*(byte *)((longlong)param_6 + 0x1d),param_3,uVar4); + FUN_14002f5c0((longlong)local_40,*(undefined8 *)(param_6 + 4),param_3,uVar4); + FUN_140029e60((longlong)local_40,param_7[1] - *param_7 >> 2,param_3,uVar4); + puVar3 = (uint *)*param_7; + if (puVar3 != (uint *)param_7[1]) { + do { + FUN_140029e60((longlong)local_40,(ulonglong)*puVar3,param_3,uVar4); + puVar3 = puVar3 + 1; + } while (puVar3 != (uint *)param_7[1]); + } + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,uVar5,param_4,local_40,L"RESP_SERVER_INFORMATION",0x86c8); + FUN_14008a320(&local_38); + if ((local_30 != 0) && (local_24 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002afb0.c b/decomp/AgentManager_Release_x64/full/functions/0x14002afb0.c new file mode 100644 index 00000000..5442eee8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002afb0.c @@ -0,0 +1,37 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002afb0 FUN_14002afb0 + * Pseudocode, not original source. */ + +undefined1 +FUN_14002afb0(longlong *param_1,undefined8 param_2,SIZE_T param_3,byte *param_4,uint *param_5, + uint *param_6) + +{ + undefined1 uVar1; + SIZE_T SVar2; + byte *pbVar3; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + pbVar3 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,pbVar3); + FUN_14002a2d0((longlong)local_30,0x86c9,SVar2,pbVar3); + FUN_140029d80((longlong)local_30,(ulonglong)*param_4,SVar2,pbVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_5,SVar2,pbVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_6,SVar2,pbVar3); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,L"PT_SERVER_COMMAND_RESULT",0x86c9); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002b0b0.c b/decomp/AgentManager_Release_x64/full/functions/0x14002b0b0.c new file mode 100644 index 00000000..99ea8394 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002b0b0.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002b0b0 FUN_14002b0b0 + * Pseudocode, not original source. */ + +undefined1 +FUN_14002b0b0(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4, + byte *param_5,uint *param_6,uint *param_7) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0x86c9,uVar3,uVar4); + FUN_140029d80((longlong)local_30,(ulonglong)*param_5,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_6,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_7,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30, + L"PT_SERVER_COMMAND_RESULT",0x86c9); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002b1c0.c b/decomp/AgentManager_Release_x64/full/functions/0x14002b1c0.c new file mode 100644 index 00000000..417812fb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002b1c0.c @@ -0,0 +1,35 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002b1c0 FUN_14002b1c0 + * Pseudocode, not original source. */ + +undefined1 +FUN_14002b1c0(longlong *param_1,undefined8 param_2,SIZE_T param_3,longlong *param_4,byte *param_5) + +{ + undefined1 uVar1; + SIZE_T SVar2; + longlong *plVar3; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + plVar3 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,plVar3); + FUN_14002a2d0((longlong)local_30,0x86ca,SVar2,plVar3); + FUN_140076780((longlong)local_30,param_4,SVar2,plVar3); + FUN_140029d80((longlong)local_30,(ulonglong)*param_5,SVar2,plVar3); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,L"RESP_REGISTER_MASTER",0x86ca); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002b2b0.c b/decomp/AgentManager_Release_x64/full/functions/0x14002b2b0.c new file mode 100644 index 00000000..94b8bd75 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002b2b0.c @@ -0,0 +1,37 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002b2b0 FUN_14002b2b0 + * Pseudocode, not original source. */ + +undefined1 +FUN_14002b2b0(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4, + longlong *param_5,byte *param_6) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0x86ca,uVar3,uVar4); + FUN_140076780((longlong)local_30,param_5,uVar3,uVar4); + FUN_140029d80((longlong)local_30,(ulonglong)*param_6,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30,L"RESP_REGISTER_MASTER", + 0x86ca); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002b3a0.c b/decomp/AgentManager_Release_x64/full/functions/0x14002b3a0.c new file mode 100644 index 00000000..6767fdf1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002b3a0.c @@ -0,0 +1,37 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002b3a0 FUN_14002b3a0 + * Pseudocode, not original source. */ + +undefined1 +FUN_14002b3a0(longlong *param_1,undefined8 param_2,SIZE_T param_3,longlong *param_4,uint *param_5, + uint *param_6) + +{ + undefined1 uVar1; + SIZE_T SVar2; + longlong *plVar3; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + plVar3 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,plVar3); + FUN_14002a2d0((longlong)local_30,0x86cb,SVar2,plVar3); + FUN_140076780((longlong)local_30,param_4,SVar2,plVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_5,SVar2,plVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_6,SVar2,plVar3); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,L"RESP_MASTER_SERVER_COMMAND",0x86cb); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002b4a0.c b/decomp/AgentManager_Release_x64/full/functions/0x14002b4a0.c new file mode 100644 index 00000000..2766ed5a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002b4a0.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002b4a0 FUN_14002b4a0 + * Pseudocode, not original source. */ + +undefined1 +FUN_14002b4a0(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4, + longlong *param_5,uint *param_6,uint *param_7) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0x86cb,uVar3,uVar4); + FUN_140076780((longlong)local_30,param_5,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_6,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_7,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30, + L"RESP_MASTER_SERVER_COMMAND",0x86cb); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002b5b0.c b/decomp/AgentManager_Release_x64/full/functions/0x14002b5b0.c new file mode 100644 index 00000000..09a8ffed --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002b5b0.c @@ -0,0 +1,43 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002b5b0 FUN_14002b5b0 + * Pseudocode, not original source. */ + +undefined1 FUN_14002b5b0(longlong *param_1,undefined8 param_2,SIZE_T param_3,longlong *param_4) + +{ + undefined1 uVar1; + uint *puVar2; + SIZE_T SVar3; + longlong *plVar4; + undefined4 local_res10 [2]; + undefined4 local_40 [2]; + longlong local_38; + longlong local_30; + int local_24; + + local_res10[0] = (undefined4)param_2; + SVar3 = param_3; + plVar4 = param_4; + FUN_140074fb0(local_40); + FUN_140074a40((longlong)local_40,param_2,SVar3,plVar4); + FUN_14002a2d0((longlong)local_40,0x86cc,SVar3,plVar4); + FUN_140029e60((longlong)local_40,(param_4[1] - *param_4) / 0x108,SVar3,plVar4); + puVar2 = (uint *)*param_4; + if (puVar2 != (uint *)param_4[1]) { + do { + FUN_140029e60((longlong)local_40,(ulonglong)*puVar2,SVar3,plVar4); + FUN_140029e60((longlong)local_40,(ulonglong)puVar2[1],SVar3,plVar4); + FUN_1400767c0((longlong)local_40,(short *)(puVar2 + 2)); + puVar2 = puVar2 + 0x42; + } while (puVar2 != (uint *)param_4[1]); + } + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_40,L"RESP_REAL_TIME_EVENT",0x86cc); + FUN_14008a320(&local_38); + if ((local_30 != 0) && (local_24 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002b6e0.c b/decomp/AgentManager_Release_x64/full/functions/0x14002b6e0.c new file mode 100644 index 00000000..13b222da --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002b6e0.c @@ -0,0 +1,45 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002b6e0 FUN_14002b6e0 + * Pseudocode, not original source. */ + +undefined1 +FUN_14002b6e0(longlong *param_1,undefined8 param_2,SIZE_T param_3,undefined8 param_4, + longlong *param_5) + +{ + undefined1 uVar1; + undefined8 uVar2; + uint *puVar3; + undefined8 uVar4; + ulonglong uVar5; + undefined4 local_40 [2]; + longlong local_38; + longlong local_30; + int local_24; + + uVar5 = param_3 & 0xffffffff; + uVar2 = param_2; + uVar4 = param_4; + FUN_140074fb0(local_40); + FUN_140074a40((longlong)local_40,uVar2,param_3,uVar4); + FUN_14002a2d0((longlong)local_40,0x86cc,param_3,uVar4); + FUN_140029e60((longlong)local_40,(param_5[1] - *param_5) / 0x108,param_3,uVar4); + puVar3 = (uint *)*param_5; + if (puVar3 != (uint *)param_5[1]) { + do { + FUN_140029e60((longlong)local_40,(ulonglong)*puVar3,param_3,uVar4); + FUN_140029e60((longlong)local_40,(ulonglong)puVar3[1],param_3,uVar4); + FUN_1400767c0((longlong)local_40,(short *)(puVar3 + 2)); + puVar3 = puVar3 + 0x42; + } while (puVar3 != (uint *)param_5[1]); + } + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,uVar5,param_4,local_40,L"RESP_REAL_TIME_EVENT",0x86cc); + FUN_14008a320(&local_38); + if ((local_30 != 0) && (local_24 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002b830.c b/decomp/AgentManager_Release_x64/full/functions/0x14002b830.c new file mode 100644 index 00000000..ddb6168b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002b830.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002b830 FUN_14002b830 + * Pseudocode, not original source. */ + +undefined1 +FUN_14002b830(longlong *param_1,undefined8 param_2,SIZE_T param_3,uint *param_4,longlong *param_5, + undefined8 *param_6,uint *param_7) + +{ + undefined1 uVar1; + SIZE_T SVar2; + uint *puVar3; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + puVar3 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,puVar3); + FUN_14002a2d0((longlong)local_30,0x86cd,SVar2,puVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_4,SVar2,puVar3); + FUN_140076780((longlong)local_30,param_5,SVar2,puVar3); + FUN_1400924d0((longlong)local_30,param_6,SVar2,puVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_7,SVar2,puVar3); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,L"NOTIFY_STORAGE_ALARM",0x86cd); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002b940.c b/decomp/AgentManager_Release_x64/full/functions/0x14002b940.c new file mode 100644 index 00000000..73a6e2ce --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002b940.c @@ -0,0 +1,39 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002b940 FUN_14002b940 + * Pseudocode, not original source. */ + +undefined1 +FUN_14002b940(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4, + uint *param_5,longlong *param_6,undefined8 *param_7,uint *param_8) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0x86cd,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_5,uVar3,uVar4); + FUN_140076780((longlong)local_30,param_6,uVar3,uVar4); + FUN_1400924d0((longlong)local_30,param_7,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_8,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30,L"NOTIFY_STORAGE_ALARM", + 0x86cd); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002ba60.c b/decomp/AgentManager_Release_x64/full/functions/0x14002ba60.c new file mode 100644 index 00000000..e23caeb6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002ba60.c @@ -0,0 +1,39 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002ba60 FUN_14002ba60 + * Pseudocode, not original source. */ + +undefined1 +FUN_14002ba60(longlong *param_1,undefined8 param_2,SIZE_T param_3,uint *param_4,longlong *param_5, + longlong *param_6,undefined8 *param_7,uint *param_8) + +{ + undefined1 uVar1; + SIZE_T SVar2; + uint *puVar3; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + puVar3 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,puVar3); + FUN_14002a2d0((longlong)local_30,0x86ce,SVar2,puVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_4,SVar2,puVar3); + FUN_140076780((longlong)local_30,param_5,SVar2,puVar3); + FUN_140076780((longlong)local_30,param_6,SVar2,puVar3); + FUN_1400924d0((longlong)local_30,param_7,SVar2,puVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_8,SVar2,puVar3); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,L"NOTIFY_MAIL_ALARM",0x86ce); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002bb80.c b/decomp/AgentManager_Release_x64/full/functions/0x14002bb80.c new file mode 100644 index 00000000..8ec250ca --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002bb80.c @@ -0,0 +1,40 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002bb80 FUN_14002bb80 + * Pseudocode, not original source. */ + +undefined1 +FUN_14002bb80(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4, + uint *param_5,longlong *param_6,longlong *param_7,undefined8 *param_8,uint *param_9) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0x86ce,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_5,uVar3,uVar4); + FUN_140076780((longlong)local_30,param_6,uVar3,uVar4); + FUN_140076780((longlong)local_30,param_7,uVar3,uVar4); + FUN_1400924d0((longlong)local_30,param_8,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_9,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30,L"NOTIFY_MAIL_ALARM", + 0x86ce); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002bcb0.c b/decomp/AgentManager_Release_x64/full/functions/0x14002bcb0.c new file mode 100644 index 00000000..7c12fb6c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002bcb0.c @@ -0,0 +1,35 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002bcb0 FUN_14002bcb0 + * Pseudocode, not original source. */ + +undefined1 +FUN_14002bcb0(longlong *param_1,undefined8 param_2,SIZE_T param_3,uint *param_4,longlong *param_5) + +{ + undefined1 uVar1; + SIZE_T SVar2; + uint *puVar3; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + puVar3 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,puVar3); + FUN_14002a2d0((longlong)local_30,0x86cf,SVar2,puVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_4,SVar2,puVar3); + FUN_140076780((longlong)local_30,param_5,SVar2,puVar3); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,L"PT_MESSAGE",0x86cf); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002bda0.c b/decomp/AgentManager_Release_x64/full/functions/0x14002bda0.c new file mode 100644 index 00000000..d792021c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002bda0.c @@ -0,0 +1,36 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002bda0 FUN_14002bda0 + * Pseudocode, not original source. */ + +undefined1 +FUN_14002bda0(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4, + uint *param_5,longlong *param_6) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0x86cf,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_5,uVar3,uVar4); + FUN_140076780((longlong)local_30,param_6,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30,L"PT_MESSAGE",0x86cf); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002be90.c b/decomp/AgentManager_Release_x64/full/functions/0x14002be90.c new file mode 100644 index 00000000..26721395 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002be90.c @@ -0,0 +1,35 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002be90 FUN_14002be90 + * Pseudocode, not original source. */ + +undefined1 +FUN_14002be90(longlong *param_1,undefined8 param_2,SIZE_T param_3,longlong *param_4,uint *param_5) + +{ + undefined1 uVar1; + SIZE_T SVar2; + longlong *plVar3; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + plVar3 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,plVar3); + FUN_14002a2d0((longlong)local_30,0x86d0,SVar2,plVar3); + FUN_140076780((longlong)local_30,param_4,SVar2,plVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_5,SVar2,plVar3); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,L"PT_PATCH_SERVER",0x86d0); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002bf80.c b/decomp/AgentManager_Release_x64/full/functions/0x14002bf80.c new file mode 100644 index 00000000..25efb3b4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002bf80.c @@ -0,0 +1,37 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002bf80 FUN_14002bf80 + * Pseudocode, not original source. */ + +undefined1 +FUN_14002bf80(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4, + longlong *param_5,uint *param_6) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0x86d0,uVar3,uVar4); + FUN_140076780((longlong)local_30,param_5,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_6,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30,L"PT_PATCH_SERVER",0x86d0 + ); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002c070.c b/decomp/AgentManager_Release_x64/full/functions/0x14002c070.c new file mode 100644 index 00000000..4868d728 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002c070.c @@ -0,0 +1,34 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002c070 FUN_14002c070 + * Pseudocode, not original source. */ + +undefined1 FUN_14002c070(longlong *param_1,undefined8 param_2,SIZE_T param_3,uint *param_4) + +{ + undefined1 uVar1; + SIZE_T SVar2; + uint *puVar3; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + puVar3 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,puVar3); + FUN_14002a2d0((longlong)local_30,0x86d1,SVar2,puVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_4,SVar2,puVar3); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,L"PT_BACKUP_CHARACTER_TABLE_COUNT", + 0x86d1); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002c150.c b/decomp/AgentManager_Release_x64/full/functions/0x14002c150.c new file mode 100644 index 00000000..93cd14c1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002c150.c @@ -0,0 +1,36 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002c150 FUN_14002c150 + * Pseudocode, not original source. */ + +undefined1 +FUN_14002c150(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4, + uint *param_5) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0x86d1,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_5,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30, + L"PT_BACKUP_CHARACTER_TABLE_COUNT",0x86d1); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002c230.c b/decomp/AgentManager_Release_x64/full/functions/0x14002c230.c new file mode 100644 index 00000000..fb94d249 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002c230.c @@ -0,0 +1,31 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002c230 FUN_14002c230 + * Pseudocode, not original source. */ + +undefined1 FUN_14002c230(longlong *param_1,undefined8 param_2,SIZE_T param_3,undefined8 param_4) + +{ + undefined1 uVar1; + SIZE_T SVar2; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,param_4); + FUN_14002a2d0((longlong)local_30,0x86d2,SVar2,param_4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,L"PT_BACKUP_CHARACTER_TABLE_END",0x86d2) + ; + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002c2f0.c b/decomp/AgentManager_Release_x64/full/functions/0x14002c2f0.c new file mode 100644 index 00000000..29dd4910 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002c2f0.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002c2f0 FUN_14002c2f0 + * Pseudocode, not original source. */ + +undefined1 FUN_14002c2f0(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0x86d2,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30, + L"PT_BACKUP_CHARACTER_TABLE_END",0x86d2); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002c3c0.c b/decomp/AgentManager_Release_x64/full/functions/0x14002c3c0.c new file mode 100644 index 00000000..e52d36d3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002c3c0.c @@ -0,0 +1,1627 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002c3c0 FUN_14002c3c0 + * Pseudocode, not original source. */ + +ulonglong FUN_14002c3c0(longlong *****param_1,uint *param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong ********pppppppplVar1; + int *piVar2; + uint uVar3; + uint uVar4; + char cVar5; + int iVar6; + DWORD DVar7; + DWORD DVar8; + undefined8 uVar9; + undefined *puVar10; + longlong *********ppppppppplVar11; + longlong ********pppppppplVar12; + longlong *********ppppppppplVar13; + longlong *********ppppppppplVar14; + undefined8 uVar15; + longlong *plVar16; + longlong *plVar17; + longlong ********pppppppplVar18; + ulonglong uVar19; + undefined4 uVar20; + longlong *****ppppplVar21; + uint *puVar22; + undefined1 *puVar23; + longlong ****pppplVar24; + undefined1 uVar25; + IMAGE_DOS_HEADER *pIVar26; + undefined **ppuVar27; + wchar_t *pwVar28; + longlong ********local_res10 [2]; + longlong ********local_res20; + longlong ********local_258; + undefined1 local_250; + longlong ********local_248; + wchar_t *local_240; + uint local_238; + undefined8 local_230; + int local_228; + longlong ********local_220; + undefined1 local_218; + longlong ********local_210; + undefined1 local_208; + longlong ********local_200; + undefined1 local_1f8; + longlong ********local_1f0; + longlong ********local_1e8; + longlong ********local_1e0; + longlong ********local_1d8; + longlong ********local_1d0; + undefined1 local_1c8 [4]; + uint local_1c4; + undefined8 local_190; + longlong *******local_168; + longlong *******local_160; + undefined4 local_158; + longlong *******local_150; + undefined *local_148; + longlong *******local_140; + undefined *local_138; + longlong *******local_130; + longlong *******local_128; + undefined4 local_120; + undefined *local_118; + longlong *******local_110; + undefined *local_108; + uint local_100 [2]; + undefined *local_f8; + undefined4 local_f0; + undefined *local_e8; + undefined *local_e0; + undefined *local_d8; + undefined *local_d0; + undefined *local_c8; + longlong ********local_c0; + undefined1 local_b8; + longlong local_b0; + longlong local_a8; + longlong local_a0; + longlong local_98; + longlong local_90; + longlong local_88; + longlong local_80 [3]; + longlong local_68; + longlong local_60; + longlong local_58; + longlong local_50; + longlong local_48; + longlong local_40; + + local_80[1] = 0xfffffffffffffffe; + uVar3 = param_2[10]; + uVar15 = param_3; + if (uVar3 == 0) { + FUN_140079c10(); + } + uVar4 = *param_2; + uVar9 = FUN_140075890(param_2,local_100,uVar15,param_4); + if ((char)uVar9 == '\0') { +switchD_14002c453_default: + uVar19 = FUN_140074bb0((int *)param_2, + (ulonglong)(uint)((int)(((int)uVar4 >> 0x1f & 7U) + uVar4) >> 3),uVar15, + param_4); + uVar19 = uVar19 & 0xffffffffffffff00; + } + else { + pIVar26 = &IMAGE_DOS_HEADER_140000000; + local_190 = param_3; + switch(local_100[0]) { + case 0x8661: + puVar23 = local_1c8; + FUN_140049b40(puVar23); + local_1c4 = param_2[10]; + local_1c8[0] = (undefined1)param_2[0x10]; + FUN_14003e7c0(puVar23,pIVar26,uVar15,param_4); + local_258 = (longlong ********)PTR_DAT_14016f010; + ppppppppplVar13 = &local_258; + puVar22 = param_2; + thunk_FUN_140076020(param_2,(longlong *)ppppppppplVar13,uVar15,param_4); + FUN_14003e7c0(puVar22,ppppppppplVar13,uVar15,param_4); + local_res20 = (longlong ********)PTR_DAT_14016f010; + thunk_FUN_140076020(param_2,(longlong *)&local_res20,uVar15,param_4); + pppplVar24 = param_1[2]; + pwVar28 = L"REQ_AUTH"; + (*(code *)(*pppplVar24)[9])(); + DVar7 = 0; + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if (*(char *)(param_1 + 3) == '\0') { + (*(code *)(*param_1[2])[0xe])(param_1[2],uVar3,0x8661,L"REQ_AUTH",&DAT_140131724); + } + } + else if (*(char *)(param_1 + 3) == '\0') { + FUN_14003e7c0(pppplVar24,param_2,pwVar28,param_4); + local_res10[0] = (longlong ********)PTR_DAT_14016f010; + FUN_1400928b0((longlong *)local_res10,(longlong *)&local_258); + FUN_140029bf0((longlong *)local_res10,(short *)&DAT_140133350); + FUN_1400928b0((longlong *)local_res10,(longlong *)&local_res20); + FUN_140029bf0((longlong *)local_res10,(short *)&DAT_140133350); + DVar8 = DVar7; + if (((longlong *********)local_res10[0] != (longlong *********)0x0) && + (local_res10[0] != (longlong ********)PTR_DAT_14016f010)) { + DVar8 = *(DWORD *)(local_res10[0] + -1); + } + uVar19 = (ulonglong)(DVar8 - 2); + local_210 = (longlong ********) + FUN_140028f40((longlong *)local_res10,(longlong *)&local_c8,DVar8 - 2); + ppppppppplVar13 = (longlong *********)local_res10[0]; + if ((longlong *********)local_res10[0] == (longlong *********)0x0) { + ppppppppplVar13 = (longlong *********)PTR_DAT_14016f010; + } + local_res10[0] = (longlong ********)ppppppppplVar13; + if ((longlong *********)*local_210 != ppppppppplVar13) { + ppppppppplVar13 = + (longlong *********)FUN_14003e7c0(ppppppppplVar13,PTR_DAT_14016f010,uVar19,param_4); + local_220 = (longlong ********)ppppppppplVar13; + FUN_14003d040((int *)ppppppppplVar13); + pppppppplVar18 = local_res10[0]; + local_218 = 1; + if ((((longlong *********)local_res10[0] != (longlong *********)0x0) && + (local_res10[0] != (longlong ********)PTR_DAT_14016f010)) && + (ppppppppplVar11 = (longlong *********)(local_res10[0] + -1), + ppppppppplVar11 != (longlong *********)0x0)) { + ppppppppplVar14 = + (longlong *********)FUN_14003e7c0(local_res10[0],PTR_DAT_14016f010,uVar19,param_4); + local_200 = (longlong ********)ppppppppplVar14; + FUN_14003d040((int *)ppppppppplVar14); + local_1f8 = 1; + piVar2 = (int *)((longlong)pppppppplVar18 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(ppppppppplVar11); + } + FUN_14003d0d0((longlong)ppppppppplVar14); + } + local_res10[0] = (longlong ********)*local_210; + if (((local_res10[0] != (longlong ********)PTR_DAT_14016f010) && + ((longlong *********)local_res10[0] != (longlong *********)0x0)) && + ((longlong *********)local_res10[0] != (longlong *********)0x8)) { + *(int *)((longlong)local_res10[0] + -4) = *(int *)((longlong)local_res10[0] + -4) + 1; + } + FUN_14003d0d0((longlong)ppppppppplVar13); + } + if (((local_c8 != (undefined *)0x0) && (local_c8 != PTR_DAT_14016f010)) && + (local_c8 + -8 != (undefined *)0x0)) { + ppppppppplVar13 = + (longlong *********)FUN_14003e7c0(ppppppppplVar13,PTR_DAT_14016f010,uVar19,param_4); + local_210 = (longlong ********)ppppppppplVar13; + FUN_14003d040((int *)ppppppppplVar13); + local_208 = 1; + piVar2 = (int *)(local_c8 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(local_c8 + -8); + } + FUN_14003d0d0((longlong)ppppppppplVar13); + } + local_210 = (longlong ********)&local_1d8; + puVar10 = PTR_DAT_14016f010; + local_c8 = PTR_DAT_14016f010; + FUN_14003e7c0(ppppppppplVar13,PTR_DAT_14016f010,uVar19,param_4); + local_1d8 = (longlong ********)PTR_DAT_14016f010; + if (PTR_DAT_14016f010 == (undefined *)0x0) { + local_1d8 = (longlong ********)(longlong *********)0x0; + } + if (local_res10[0] != (longlong ********)PTR_DAT_14016f010) { + ppppppppplVar13 = + (longlong *********)FUN_14003e7c0(ppppppppplVar13,puVar10,uVar19,param_4); + local_220 = (longlong ********)ppppppppplVar13; + FUN_14003d040((int *)ppppppppplVar13); + local_218 = 1; + FUN_140002190((longlong *)&local_1d8,puVar10,uVar19,param_4); + local_1d8 = local_res10[0]; + if (((local_res10[0] != (longlong ********)PTR_DAT_14016f010) && + ((longlong *********)local_res10[0] != (longlong *********)0x0)) && + ((longlong *********)local_res10[0] != (longlong *********)0x8)) { + *(int *)((longlong)local_res10[0] + -4) = *(int *)((longlong)local_res10[0] + -4) + 1; + } + FUN_14003d0d0((longlong)ppppppppplVar13); + } + FUN_14003e7c0(ppppppppplVar13,puVar10,uVar19,param_4); + local_108 = PTR_DAT_14016f010; + iVar6 = FUN_14003e620(L"REQ_AUTH"); + puVar10 = FUN_140001ee0((longlong *)&local_108,iVar6); + FUN_14003e650(puVar10,L"REQ_AUTH",iVar6); + FUN_140001fc0((longlong *)&local_108); + (*(code *)(*param_1)[5])(param_1,0x8661,&local_108,&local_1d8); + pppplVar24 = param_1[2]; + pwVar28 = L"REQ_AUTH"; + uVar15 = 0x8661; + uVar19 = (ulonglong)uVar3; + (*(code *)(*pppplVar24)[0xe])(); + pppppppplVar18 = local_res10[0]; + if ((((longlong *********)local_res10[0] != (longlong *********)0x0) && + (local_res10[0] != (longlong ********)PTR_DAT_14016f010)) && + (ppppppppplVar13 = (longlong *********)(local_res10[0] + -1), + ppppppppplVar13 != (longlong *********)0x0)) { + ppppppppplVar11 = (longlong *********)FUN_14003e7c0(pppplVar24,uVar19,uVar15,pwVar28); + local_210 = (longlong ********)ppppppppplVar11; + FUN_14003d040((int *)ppppppppplVar11); + local_208 = 1; + piVar2 = (int *)((longlong)pppppppplVar18 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(ppppppppplVar13); + } + FUN_14003d0d0((longlong)ppppppppplVar11); + } + } + if ((*(char *)(param_1 + 3) == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x8661); + local_240 = L"REQ_AUTH"; + local_238 = uVar3; + local_230 = param_3; + (*(code *)(*param_1)[4])(param_1,&local_248); + DVar7 = GetTickCount(); + } + ppppppppplVar13 = &local_258; + puVar23 = local_1c8; + ppppppppplVar11 = (longlong *********)param_1; + cVar5 = (*(code *)(*param_1)[7])(param_1,uVar3,puVar23,ppppppppplVar13,&local_res20); + if (cVar5 == '\0') { + ppppppppplVar11 = (longlong *********)param_1[2]; + (*(code *)(*ppppppppplVar11)[8])(ppppppppplVar11,L"REQ_AUTH"); + } + if ((*(char *)(param_1 + 3) == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x8661); + local_240 = L"REQ_AUTH"; + local_238 = uVar3; + local_230 = param_3; + DVar8 = GetTickCount(); + local_228 = DVar8 - DVar7; + (*(code *)(*param_1)[3])(param_1,&local_248); + ppppppppplVar11 = (longlong *********)param_1; + } + pppppppplVar18 = local_res20; + if (((local_res20 != (longlong ********)0x0) && + (local_res20 != (longlong ********)PTR_DAT_14016f010)) && + (pppppppplVar1 = local_res20 + -1, pppppppplVar1 != (longlong ********)0x0)) { + ppppppppplVar11 = + (longlong *********) + FUN_14003e7c0(ppppppppplVar11,PTR_DAT_14016f010,puVar23,ppppppppplVar13); + local_210 = (longlong ********)ppppppppplVar11; + FUN_14003d040((int *)ppppppppplVar11); + local_208 = 1; + piVar2 = (int *)((longlong)pppppppplVar18 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(pppppppplVar1); + } + FUN_14003d0d0((longlong)ppppppppplVar11); + } + pppppppplVar18 = local_258; + if (((local_258 != (longlong ********)0x0) && + (local_258 != (longlong ********)PTR_DAT_14016f010)) && + (pppppppplVar1 = local_258 + -1, pppppppplVar1 != (longlong ********)0x0)) { + local_res20 = (longlong ********)PTR_DAT_14016f010; + pppppppplVar12 = + (longlong ********) + FUN_14003e7c0(ppppppppplVar11,PTR_DAT_14016f010,puVar23,ppppppppplVar13); + local_210 = pppppppplVar12; + FUN_14003d040((int *)pppppppplVar12); + local_208 = 1; + piVar2 = (int *)((longlong)pppppppplVar18 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(pppppppplVar1); + } + pppppppplVar18 = (longlong ********)FUN_14003d0d0((longlong)pppppppplVar12); + } + break; + case 0x8662: + FUN_140049b40(local_1c8); + local_1c4 = param_2[10]; + local_1c8[0] = (undefined1)param_2[0x10]; + pppplVar24 = param_1[2]; + pwVar28 = L"REQ_SERVER_INFORMATION"; + (*(code *)(*pppplVar24)[9])(); + DVar7 = 0; + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if (*(char *)(param_1 + 3) == '\0') { + (*(code *)(*param_1[2])[0xe]) + (param_1[2],uVar3,0x8662,L"REQ_SERVER_INFORMATION",&DAT_140131724); + } + } + else if (*(char *)(param_1 + 3) == '\0') { + FUN_14003e7c0(pppplVar24,param_2,pwVar28,param_4); + ppppppppplVar13 = (longlong *********)PTR_DAT_14016f010; + local_res10[0] = (longlong ********)PTR_DAT_14016f010; + uVar15 = 0xfffffffe; + ppuVar27 = &local_d8; + local_res20 = (longlong ********) + FUN_140028f40((longlong *)local_res10,(longlong *)ppuVar27,0xfffffffe); + if (ppppppppplVar13 == (longlong *********)0x0) { + ppppppppplVar13 = (longlong *********)PTR_DAT_14016f010; + } + local_res10[0] = (longlong ********)ppppppppplVar13; + if ((longlong *********)*local_res20 != ppppppppplVar13) { + ppppppppplVar14 = + (longlong *********)FUN_14003e7c0(PTR_DAT_14016f010,ppuVar27,uVar15,param_4); + ppppppppplVar11 = ppppppppplVar14; + local_258 = (longlong ********)ppppppppplVar14; + FUN_14003d040((int *)ppppppppplVar14); + local_250 = 1; + if (((ppppppppplVar13 != (longlong *********)0x0) && + (ppppppppplVar13 != (longlong *********)PTR_DAT_14016f010)) && + (ppppppppplVar13 + -1 != (longlong *********)0x0)) { + ppppppppplVar11 = + (longlong *********)FUN_14003e7c0(ppppppppplVar11,ppuVar27,uVar15,param_4); + local_210 = (longlong ********)ppppppppplVar11; + FUN_14003d040((int *)ppppppppplVar11); + local_208 = 1; + piVar2 = (int *)((longlong)ppppppppplVar13 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(ppppppppplVar13 + -1); + } + FUN_14003d0d0((longlong)ppppppppplVar11); + } + ppppppppplVar13 = (longlong *********)*local_res20; + if (((ppppppppplVar13 != (longlong *********)PTR_DAT_14016f010) && + (ppppppppplVar13 != (longlong *********)0x0)) && + (ppppppppplVar13 != (longlong *********)0x8)) { + *(int *)((longlong)ppppppppplVar13 + -4) = *(int *)((longlong)ppppppppplVar13 + -4) + 1; + } + local_res10[0] = (longlong ********)ppppppppplVar13; + FUN_14003d0d0((longlong)ppppppppplVar14); + } + if (((local_d8 != (undefined *)0x0) && (local_d8 != PTR_DAT_14016f010)) && + (local_d8 + -8 != (undefined *)0x0)) { + ppppppppplVar11 = + (longlong *********)FUN_14003e7c0(PTR_DAT_14016f010,ppuVar27,uVar15,param_4); + local_258 = (longlong ********)ppppppppplVar11; + FUN_14003d040((int *)ppppppppplVar11); + local_250 = 1; + piVar2 = (int *)(local_d8 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(local_d8 + -8); + } + FUN_14003d0d0((longlong)ppppppppplVar11); + } + local_res20 = (longlong ********)&local_1f0; + ppppppppplVar11 = (longlong *********)PTR_DAT_14016f010; + local_d8 = PTR_DAT_14016f010; + FUN_14003e7c0(PTR_DAT_14016f010,ppuVar27,uVar15,param_4); + local_1f0 = (longlong ********)PTR_DAT_14016f010; + if (PTR_DAT_14016f010 == (undefined *)0x0) { + local_1f0 = (longlong ********)(longlong *********)0x0; + } + if (ppppppppplVar13 != (longlong *********)PTR_DAT_14016f010) { + ppppppppplVar11 = + (longlong *********)FUN_14003e7c0(ppppppppplVar11,ppuVar27,uVar15,param_4); + local_258 = (longlong ********)ppppppppplVar11; + FUN_14003d040((int *)ppppppppplVar11); + local_250 = 1; + FUN_140002190((longlong *)&local_1f0,ppuVar27,uVar15,param_4); + if (((ppppppppplVar13 != (longlong *********)PTR_DAT_14016f010) && + (ppppppppplVar13 != (longlong *********)0x0)) && + (ppppppppplVar13 != (longlong *********)0x8)) { + *(int *)((longlong)ppppppppplVar13 + -4) = *(int *)((longlong)ppppppppplVar13 + -4) + 1; + } + local_1f0 = (longlong ********)ppppppppplVar13; + FUN_14003d0d0((longlong)ppppppppplVar11); + } + FUN_14003e7c0(ppppppppplVar11,ppuVar27,uVar15,param_4); + local_148 = PTR_DAT_14016f010; + iVar6 = FUN_14003e620(L"REQ_SERVER_INFORMATION"); + puVar10 = FUN_140001ee0((longlong *)&local_148,iVar6); + FUN_14003e650(puVar10,L"REQ_SERVER_INFORMATION",iVar6); + FUN_140001fc0((longlong *)&local_148); + (*(code *)(*param_1)[5])(param_1,0x8662,&local_148,&local_1f0); + pppplVar24 = param_1[2]; + pwVar28 = L"REQ_SERVER_INFORMATION"; + uVar15 = 0x8662; + uVar19 = (ulonglong)uVar3; + (*(code *)(*pppplVar24)[0xe])(); + if (((ppppppppplVar13 != (longlong *********)0x0) && + (ppppppppplVar13 != (longlong *********)PTR_DAT_14016f010)) && + (ppppppppplVar13 + -1 != (longlong *********)0x0)) { + ppppppppplVar11 = (longlong *********)FUN_14003e7c0(pppplVar24,uVar19,uVar15,pwVar28); + local_258 = (longlong ********)ppppppppplVar11; + FUN_14003d040((int *)ppppppppplVar11); + local_250 = 1; + piVar2 = (int *)((longlong)ppppppppplVar13 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(ppppppppplVar13 + -1); + } + FUN_14003d0d0((longlong)ppppppppplVar11); + } + } + if ((*(char *)(param_1 + 3) == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x8662); + local_240 = L"REQ_SERVER_INFORMATION"; + local_238 = uVar3; + local_230 = param_3; + (*(code *)(*param_1)[4])(param_1,&local_248); + DVar7 = GetTickCount(); + } + pppppppplVar18 = (longlong ********)(*(code *)(*param_1)[8])(param_1,uVar3,local_1c8); + if ((char)pppppppplVar18 == '\0') { + pppppppplVar18 = + (longlong ********)(*(code *)(*param_1[2])[8])(param_1[2],L"REQ_SERVER_INFORMATION"); + } + if ((*(char *)(param_1 + 3) == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x8662); + local_240 = L"REQ_SERVER_INFORMATION"; +LAB_14002eed4: + local_238 = uVar3; + local_230 = param_3; + DVar8 = GetTickCount(); + local_228 = DVar8 - DVar7; + pppppppplVar18 = (longlong ********)(*(code *)(*param_1)[3])(param_1,&local_248); + } + break; + case 0x8663: + FUN_140049b40(local_1c8); + local_1c4 = param_2[10]; + local_1c8[0] = (undefined1)param_2[0x10]; + uVar15 = FUN_140074ee0(param_2,&local_220,4); + uVar20 = (uint)local_res20; + if ((char)uVar15 != '\0') { + uVar20 = (uint)local_220; + } + local_res20 = (longlong ********)CONCAT44(local_res20._4_4_,uVar20); + uVar15 = FUN_140074ee0(param_2,&local_220,4); + uVar20 = (uint)local_res10[0]; + if ((char)uVar15 != '\0') { + uVar20 = (uint)local_220; + } + local_res10[0] = (longlong ********)CONCAT44(local_res10[0]._4_4_,uVar20); + pppplVar24 = param_1[2]; + pwVar28 = L"PT_SERVER_COMMAND"; + (*(code *)(*pppplVar24)[9])(); + DVar7 = 0; + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if (*(char *)(param_1 + 3) == '\0') { + (*(code *)(*param_1[2])[0xe])(param_1[2],uVar3,0x8663,L"PT_SERVER_COMMAND",&DAT_140131724) + ; + } + } + else if (*(char *)(param_1 + 3) == '\0') { + FUN_14003e7c0(pppplVar24,param_2,pwVar28,param_4); + local_258 = (longlong ********)PTR_DAT_14016f010; + FUN_1400926b0((longlong *)&local_258); + FUN_140029bf0((longlong *)&local_258,(short *)&DAT_140133350); + FUN_1400926b0((longlong *)&local_258); + FUN_140029bf0((longlong *)&local_258,(short *)&DAT_140133350); + iVar6 = 0; + if (((longlong *********)local_258 != (longlong *********)0x0) && + (local_258 != (longlong ********)PTR_DAT_14016f010)) { + iVar6 = *(int *)(local_258 + -1); + } + uVar19 = (ulonglong)(iVar6 - 2U); + local_210 = (longlong ********) + FUN_140028f40((longlong *)&local_258,(longlong *)&local_e0,iVar6 - 2U); + ppppppppplVar13 = (longlong *********)local_258; + if ((longlong *********)local_258 == (longlong *********)0x0) { + ppppppppplVar13 = (longlong *********)PTR_DAT_14016f010; + } + local_258 = (longlong ********)ppppppppplVar13; + if ((longlong *********)*local_210 != ppppppppplVar13) { + ppppppppplVar13 = + (longlong *********)FUN_14003e7c0(ppppppppplVar13,PTR_DAT_14016f010,uVar19,param_4); + local_220 = (longlong ********)ppppppppplVar13; + FUN_14003d040((int *)ppppppppplVar13); + pppppppplVar18 = local_258; + local_218 = 1; + if ((((longlong *********)local_258 != (longlong *********)0x0) && + (local_258 != (longlong ********)PTR_DAT_14016f010)) && + (ppppppppplVar11 = (longlong *********)(local_258 + -1), + ppppppppplVar11 != (longlong *********)0x0)) { + ppppppppplVar14 = + (longlong *********)FUN_14003e7c0(local_258,PTR_DAT_14016f010,uVar19,param_4); + local_200 = (longlong ********)ppppppppplVar14; + FUN_14003d040((int *)ppppppppplVar14); + local_1f8 = 1; + piVar2 = (int *)((longlong)pppppppplVar18 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(ppppppppplVar11); + } + FUN_14003d0d0((longlong)ppppppppplVar14); + } + local_258 = (longlong ********)*local_210; + if (((local_258 != (longlong ********)PTR_DAT_14016f010) && + ((longlong *********)local_258 != (longlong *********)0x0)) && + ((longlong *********)local_258 != (longlong *********)0x8)) { + *(int *)((longlong)local_258 + -4) = *(int *)((longlong)local_258 + -4) + 1; + } + FUN_14003d0d0((longlong)ppppppppplVar13); + } + if (((local_e0 != (undefined *)0x0) && (local_e0 != PTR_DAT_14016f010)) && + (local_e0 + -8 != (undefined *)0x0)) { + ppppppppplVar13 = + (longlong *********)FUN_14003e7c0(ppppppppplVar13,PTR_DAT_14016f010,uVar19,param_4); + local_210 = (longlong ********)ppppppppplVar13; + FUN_14003d040((int *)ppppppppplVar13); + local_208 = 1; + piVar2 = (int *)(local_e0 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(local_e0 + -8); + } + FUN_14003d0d0((longlong)ppppppppplVar13); + } + local_210 = (longlong ********)&local_1e0; + puVar10 = PTR_DAT_14016f010; + local_e0 = PTR_DAT_14016f010; + FUN_14003e7c0(ppppppppplVar13,PTR_DAT_14016f010,uVar19,param_4); + local_1e0 = (longlong ********)PTR_DAT_14016f010; + if (PTR_DAT_14016f010 == (undefined *)0x0) { + local_1e0 = (longlong ********)(longlong *********)0x0; + } + if (local_258 != (longlong ********)PTR_DAT_14016f010) { + ppppppppplVar13 = + (longlong *********)FUN_14003e7c0(ppppppppplVar13,puVar10,uVar19,param_4); + local_220 = (longlong ********)ppppppppplVar13; + FUN_14003d040((int *)ppppppppplVar13); + local_218 = 1; + FUN_140002190((longlong *)&local_1e0,puVar10,uVar19,param_4); + local_1e0 = local_258; + if (((local_258 != (longlong ********)PTR_DAT_14016f010) && + ((longlong *********)local_258 != (longlong *********)0x0)) && + ((longlong *********)local_258 != (longlong *********)0x8)) { + *(int *)((longlong)local_258 + -4) = *(int *)((longlong)local_258 + -4) + 1; + } + FUN_14003d0d0((longlong)ppppppppplVar13); + } + FUN_14003e7c0(ppppppppplVar13,puVar10,uVar19,param_4); + local_118 = PTR_DAT_14016f010; + iVar6 = FUN_14003e620(L"PT_SERVER_COMMAND"); + puVar10 = FUN_140001ee0((longlong *)&local_118,iVar6); + FUN_14003e650(puVar10,L"PT_SERVER_COMMAND",iVar6); + FUN_140001fc0((longlong *)&local_118); + (*(code *)(*param_1)[5])(param_1,0x8663,&local_118,&local_1e0); + pppplVar24 = param_1[2]; + pwVar28 = L"PT_SERVER_COMMAND"; + uVar15 = 0x8663; + uVar19 = (ulonglong)uVar3; + (*(code *)(*pppplVar24)[0xe])(); + pppppppplVar18 = local_258; + if ((((longlong *********)local_258 != (longlong *********)0x0) && + (local_258 != (longlong ********)PTR_DAT_14016f010)) && + (ppppppppplVar13 = (longlong *********)(local_258 + -1), + ppppppppplVar13 != (longlong *********)0x0)) { + ppppppppplVar11 = (longlong *********)FUN_14003e7c0(pppplVar24,uVar19,uVar15,pwVar28); + local_210 = (longlong ********)ppppppppplVar11; + FUN_14003d040((int *)ppppppppplVar11); + local_208 = 1; + piVar2 = (int *)((longlong)pppppppplVar18 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(ppppppppplVar13); + } + FUN_14003d0d0((longlong)ppppppppplVar11); + } + } + if ((*(char *)(param_1 + 3) == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x8663); + local_240 = L"PT_SERVER_COMMAND"; + local_238 = uVar3; + local_230 = param_3; + (*(code *)(*param_1)[4])(param_1,&local_248); + DVar7 = GetTickCount(); + } + pppppppplVar18 = + (longlong ********) + (*(code *)(*param_1)[9])(param_1,uVar3,local_1c8,&local_res20,local_res10); + if ((char)pppppppplVar18 == '\0') { + pppppppplVar18 = + (longlong ********)(*(code *)(*param_1[2])[8])(param_1[2],L"PT_SERVER_COMMAND"); + } + if ((*(char *)(param_1 + 3) == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x8663); + local_240 = L"PT_SERVER_COMMAND"; + goto LAB_14002eed4; + } + break; + case 0x8664: + FUN_140049b40(local_1c8); + local_1c4 = param_2[10]; + local_1c8[0] = (undefined1)param_2[0x10]; + uVar15 = FUN_140074ee0(param_2,&local_220,4); + uVar20 = local_200._0_4_; + if ((char)uVar15 != '\0') { + uVar20 = (uint)local_220; + } + local_200 = (longlong ********)CONCAT44(local_200._4_4_,uVar20); + uVar15 = FUN_140074ee0(param_2,&local_220,4); + uVar20 = (uint)local_res20; + if ((char)uVar15 != '\0') { + uVar20 = (uint)local_220; + } + local_res20 = (longlong ********)CONCAT44(local_res20._4_4_,uVar20); + uVar9 = 4; + ppppppppplVar13 = &local_220; + uVar15 = FUN_140074ee0(param_2,ppppppppplVar13,4); + uVar4 = (uint)local_res10[0]; + if ((char)uVar15 != '\0') { + uVar4 = (uint)local_220; + } + local_res10[0] = (longlong ********)CONCAT44(local_res10[0]._4_4_,uVar4); + FUN_14003e7c0((ulonglong)uVar4,ppppppppplVar13,uVar9,param_4); + local_210 = (longlong ********)PTR_DAT_14016f010; + thunk_FUN_140076020(param_2,(longlong *)&local_210,uVar9,param_4); + pppplVar24 = param_1[2]; + pwVar28 = L"PT_SERVER_NOTICE"; + (*(code *)(*pppplVar24)[9])(); + DVar7 = 0; + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if (*(char *)(param_1 + 3) == '\0') { + (*(code *)(*param_1[2])[0xe])(param_1[2],uVar3,0x8664,L"PT_SERVER_NOTICE",&DAT_140131724); + } + } + else if (*(char *)(param_1 + 3) == '\0') { + FUN_14003e7c0(pppplVar24,param_2,pwVar28,param_4); + local_258 = (longlong ********)PTR_DAT_14016f010; + FUN_1400926b0((longlong *)&local_258); + FUN_140029bf0((longlong *)&local_258,(short *)&DAT_140133350); + FUN_1400926b0((longlong *)&local_258); + FUN_140029bf0((longlong *)&local_258,(short *)&DAT_140133350); + FUN_1400926b0((longlong *)&local_258); + FUN_140029bf0((longlong *)&local_258,(short *)&DAT_140133350); + FUN_1400928b0((longlong *)&local_258,(longlong *)&local_210); + FUN_140029bf0((longlong *)&local_258,(short *)&DAT_140133350); + DVar8 = DVar7; + if (((longlong *********)local_258 != (longlong *********)0x0) && + (local_258 != (longlong ********)PTR_DAT_14016f010)) { + DVar8 = *(DWORD *)(local_258 + -1); + } + uVar19 = (ulonglong)(DVar8 - 2); + local_220 = (longlong ********) + FUN_140028f40((longlong *)&local_258,(longlong *)&local_d0,DVar8 - 2); + ppppppppplVar13 = (longlong *********)local_258; + if ((longlong *********)local_258 == (longlong *********)0x0) { + ppppppppplVar13 = (longlong *********)PTR_DAT_14016f010; + } + local_258 = (longlong ********)ppppppppplVar13; + if ((longlong *********)*local_220 != ppppppppplVar13) { + ppppppppplVar13 = + (longlong *********)FUN_14003e7c0(ppppppppplVar13,PTR_DAT_14016f010,uVar19,param_4); + local_c0 = (longlong ********)ppppppppplVar13; + FUN_14003d040((int *)ppppppppplVar13); + pppppppplVar18 = local_258; + local_b8 = 1; + if ((((longlong *********)local_258 != (longlong *********)0x0) && + (local_258 != (longlong ********)PTR_DAT_14016f010)) && + (ppppppppplVar11 = (longlong *********)(local_258 + -1), + ppppppppplVar11 != (longlong *********)0x0)) { + ppppppppplVar14 = + (longlong *********)FUN_14003e7c0(local_258,PTR_DAT_14016f010,uVar19,param_4); + local_248 = (longlong ********)ppppppppplVar14; + FUN_14003d040((int *)ppppppppplVar14); + local_240 = (wchar_t *)CONCAT71(local_240._1_7_,1); + piVar2 = (int *)((longlong)pppppppplVar18 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(ppppppppplVar11); + } + FUN_14003d0d0((longlong)ppppppppplVar14); + } + local_258 = (longlong ********)*local_220; + if (((local_258 != (longlong ********)PTR_DAT_14016f010) && + ((longlong *********)local_258 != (longlong *********)0x0)) && + ((longlong *********)local_258 != (longlong *********)0x8)) { + *(int *)((longlong)local_258 + -4) = *(int *)((longlong)local_258 + -4) + 1; + } + FUN_14003d0d0((longlong)ppppppppplVar13); + } + if (((local_d0 != (undefined *)0x0) && (local_d0 != PTR_DAT_14016f010)) && + (local_d0 + -8 != (undefined *)0x0)) { + ppppppppplVar13 = + (longlong *********)FUN_14003e7c0(ppppppppplVar13,PTR_DAT_14016f010,uVar19,param_4); + local_248 = (longlong ********)ppppppppplVar13; + FUN_14003d040((int *)ppppppppplVar13); + local_240 = (wchar_t *)CONCAT71(local_240._1_7_,1); + piVar2 = (int *)(local_d0 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(local_d0 + -8); + } + FUN_14003d0d0((longlong)ppppppppplVar13); + } + local_220 = (longlong ********)&local_1d0; + puVar10 = PTR_DAT_14016f010; + local_d0 = PTR_DAT_14016f010; + FUN_14003e7c0(ppppppppplVar13,PTR_DAT_14016f010,uVar19,param_4); + local_1d0 = (longlong ********)PTR_DAT_14016f010; + if (PTR_DAT_14016f010 == (undefined *)0x0) { + local_1d0 = (longlong ********)(longlong *********)0x0; + } + if (local_258 != (longlong ********)PTR_DAT_14016f010) { + ppppppppplVar13 = + (longlong *********)FUN_14003e7c0(ppppppppplVar13,puVar10,uVar19,param_4); + local_248 = (longlong ********)ppppppppplVar13; + FUN_14003d040((int *)ppppppppplVar13); + local_240 = (wchar_t *)CONCAT71(local_240._1_7_,1); + FUN_140002190((longlong *)&local_1d0,puVar10,uVar19,param_4); + local_1d0 = local_258; + if (((local_258 != (longlong ********)PTR_DAT_14016f010) && + ((longlong *********)local_258 != (longlong *********)0x0)) && + ((longlong *********)local_258 != (longlong *********)0x8)) { + *(int *)((longlong)local_258 + -4) = *(int *)((longlong)local_258 + -4) + 1; + } + FUN_14003d0d0((longlong)ppppppppplVar13); + } + FUN_14003e7c0(ppppppppplVar13,puVar10,uVar19,param_4); + local_138 = PTR_DAT_14016f010; + iVar6 = FUN_14003e620(L"PT_SERVER_NOTICE"); + puVar10 = FUN_140001ee0((longlong *)&local_138,iVar6); + FUN_14003e650(puVar10,L"PT_SERVER_NOTICE",iVar6); + FUN_140001fc0((longlong *)&local_138); + (*(code *)(*param_1)[5])(param_1,0x8664,&local_138,&local_1d0); + pppplVar24 = param_1[2]; + pwVar28 = L"PT_SERVER_NOTICE"; + uVar15 = 0x8664; + uVar19 = (ulonglong)uVar3; + (*(code *)(*pppplVar24)[0xe])(); + pppppppplVar18 = local_258; + if ((((longlong *********)local_258 != (longlong *********)0x0) && + (local_258 != (longlong ********)PTR_DAT_14016f010)) && + (ppppppppplVar13 = (longlong *********)(local_258 + -1), + ppppppppplVar13 != (longlong *********)0x0)) { + ppppppppplVar11 = (longlong *********)FUN_14003e7c0(pppplVar24,uVar19,uVar15,pwVar28); + local_248 = (longlong ********)ppppppppplVar11; + FUN_14003d040((int *)ppppppppplVar11); + local_240 = (wchar_t *)CONCAT71(local_240._1_7_,1); + piVar2 = (int *)((longlong)pppppppplVar18 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(ppppppppplVar13); + } + FUN_14003d0d0((longlong)ppppppppplVar11); + } + } + if ((*(char *)(param_1 + 3) == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x8664); + local_240 = L"PT_SERVER_NOTICE"; + local_238 = uVar3; + local_230 = param_3; + (*(code *)(*param_1)[4])(param_1,&local_248); + DVar7 = GetTickCount(); + } + ppppppppplVar13 = &local_200; + puVar23 = local_1c8; + pwVar28 = (wchar_t *)(ulonglong)uVar3; + ppppplVar21 = param_1; + cVar5 = (*(code *)(*param_1)[10])(); + if (cVar5 == '\0') { + ppppplVar21 = (longlong *****)param_1[2]; + pwVar28 = L"PT_SERVER_NOTICE"; + (*(code *)(*ppppplVar21)[8])(); + } + if ((*(char *)(param_1 + 3) == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x8664); + local_240 = L"PT_SERVER_NOTICE"; + local_238 = uVar3; + local_230 = param_3; + DVar8 = GetTickCount(); + local_228 = DVar8 - DVar7; + pwVar28 = (wchar_t *)&local_248; + (*(code *)(*param_1)[3])(); + ppppplVar21 = param_1; + } + pppppppplVar18 = local_210; + if (((local_210 != (longlong ********)0x0) && + (local_210 != (longlong ********)PTR_DAT_14016f010)) && + (pppppppplVar1 = local_210 + -1, pppppppplVar1 != (longlong ********)0x0)) { + pppppppplVar12 = + (longlong ********)FUN_14003e7c0(ppppplVar21,pwVar28,puVar23,ppppppppplVar13); + local_248 = pppppppplVar12; + FUN_14003d040((int *)pppppppplVar12); + local_240 = (wchar_t *)CONCAT71(local_240._1_7_,1); + piVar2 = (int *)((longlong)pppppppplVar18 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(pppppppplVar1); + } + pppppppplVar18 = (longlong ********)FUN_14003d0d0((longlong)pppppppplVar12); + } + break; + case 0x8665: + puVar23 = local_1c8; + FUN_140049b40(puVar23); + local_1c4 = param_2[10]; + local_1c8[0] = (undefined1)param_2[0x10]; + FUN_14003e7c0(puVar23,pIVar26,uVar15,param_4); + local_220 = (longlong ********)PTR_DAT_14016f010; + ppppppppplVar13 = &local_220; + puVar22 = param_2; + thunk_FUN_140076020(param_2,(longlong *)ppppppppplVar13,uVar15,param_4); + FUN_14003e7c0(puVar22,ppppppppplVar13,uVar15,param_4); + local_210 = (longlong ********)PTR_DAT_14016f010; + ppppppppplVar13 = &local_210; + puVar22 = param_2; + thunk_FUN_140076020(param_2,(longlong *)ppppppppplVar13,uVar15,param_4); + FUN_14003e7c0(puVar22,ppppppppplVar13,uVar15,param_4); + local_258 = (longlong ********)PTR_DAT_14016f010; + thunk_FUN_140076020(param_2,(longlong *)&local_258,uVar15,param_4); + uVar15 = FUN_140074ee0(param_2,&local_res20,1); + uVar25 = local_res10[0]._0_1_; + if ((char)uVar15 != '\0') { + uVar25 = local_res20._0_1_; + } + local_res10[0] = (longlong ********)CONCAT71(local_res10[0]._1_7_,uVar25); + pppplVar24 = param_1[2]; + pwVar28 = L"PT_IP_BLOCK"; + (*(code *)(*pppplVar24)[9])(); + DVar7 = 0; + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if (*(char *)(param_1 + 3) == '\0') { + (*(code *)(*param_1[2])[0xe])(param_1[2],uVar3,0x8665,L"PT_IP_BLOCK",&DAT_140131724); + } + } + else if (*(char *)(param_1 + 3) == '\0') { + FUN_14003e7c0(pppplVar24,param_2,pwVar28,param_4); + local_res20 = (longlong ********)PTR_DAT_14016f010; + FUN_1400928b0((longlong *)&local_res20,(longlong *)&local_220); + FUN_140029bf0((longlong *)&local_res20,(short *)&DAT_140133350); + FUN_1400928b0((longlong *)&local_res20,(longlong *)&local_210); + FUN_140029bf0((longlong *)&local_res20,(short *)&DAT_140133350); + FUN_1400928b0((longlong *)&local_res20,(longlong *)&local_258); + FUN_140029bf0((longlong *)&local_res20,(short *)&DAT_140133350); + FUN_1400925f0((longlong *)&local_res20); + FUN_140029bf0((longlong *)&local_res20,(short *)&DAT_140133350); + DVar8 = DVar7; + if (((longlong *********)local_res20 != (longlong *********)0x0) && + (local_res20 != (longlong ********)PTR_DAT_14016f010)) { + DVar8 = *(DWORD *)(local_res20 + -1); + } + uVar19 = (ulonglong)(DVar8 - 2); + local_200 = (longlong ********) + FUN_140028f40((longlong *)&local_res20,(longlong *)&local_e8,DVar8 - 2); + ppppppppplVar13 = (longlong *********)local_res20; + if ((longlong *********)local_res20 == (longlong *********)0x0) { + ppppppppplVar13 = (longlong *********)PTR_DAT_14016f010; + } + local_res20 = (longlong ********)ppppppppplVar13; + if ((longlong *********)*local_200 != ppppppppplVar13) { + ppppppppplVar13 = + (longlong *********)FUN_14003e7c0(ppppppppplVar13,PTR_DAT_14016f010,uVar19,param_4); + local_248 = (longlong ********)ppppppppplVar13; + FUN_14003d040((int *)ppppppppplVar13); + pppppppplVar18 = local_res20; + local_240 = (wchar_t *)CONCAT71(local_240._1_7_,1); + if ((((longlong *********)local_res20 != (longlong *********)0x0) && + (local_res20 != (longlong ********)PTR_DAT_14016f010)) && + (ppppppppplVar11 = (longlong *********)(local_res20 + -1), + ppppppppplVar11 != (longlong *********)0x0)) { + ppppppppplVar14 = + (longlong *********)FUN_14003e7c0(local_res20,PTR_DAT_14016f010,uVar19,param_4); + local_c0 = (longlong ********)ppppppppplVar14; + FUN_14003d040((int *)ppppppppplVar14); + local_b8 = 1; + piVar2 = (int *)((longlong)pppppppplVar18 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(ppppppppplVar11); + } + FUN_14003d0d0((longlong)ppppppppplVar14); + } + local_res20 = (longlong ********)*local_200; + if (((local_res20 != (longlong ********)PTR_DAT_14016f010) && + ((longlong *********)local_res20 != (longlong *********)0x0)) && + ((longlong *********)local_res20 != (longlong *********)0x8)) { + *(int *)((longlong)local_res20 + -4) = *(int *)((longlong)local_res20 + -4) + 1; + } + FUN_14003d0d0((longlong)ppppppppplVar13); + } + if (((local_e8 != (undefined *)0x0) && (local_e8 != PTR_DAT_14016f010)) && + (local_e8 + -8 != (undefined *)0x0)) { + ppppppppplVar13 = + (longlong *********)FUN_14003e7c0(ppppppppplVar13,PTR_DAT_14016f010,uVar19,param_4); + local_248 = (longlong ********)ppppppppplVar13; + FUN_14003d040((int *)ppppppppplVar13); + local_240 = (wchar_t *)CONCAT71(local_240._1_7_,1); + piVar2 = (int *)(local_e8 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(local_e8 + -8); + } + FUN_14003d0d0((longlong)ppppppppplVar13); + } + local_200 = (longlong ********)&local_1e8; + puVar10 = PTR_DAT_14016f010; + local_e8 = PTR_DAT_14016f010; + FUN_14003e7c0(ppppppppplVar13,PTR_DAT_14016f010,uVar19,param_4); + local_1e8 = (longlong ********)PTR_DAT_14016f010; + if (PTR_DAT_14016f010 == (undefined *)0x0) { + local_1e8 = (longlong ********)(longlong *********)0x0; + } + if (local_res20 != (longlong ********)PTR_DAT_14016f010) { + ppppppppplVar13 = + (longlong *********)FUN_14003e7c0(ppppppppplVar13,puVar10,uVar19,param_4); + local_248 = (longlong ********)ppppppppplVar13; + FUN_14003d040((int *)ppppppppplVar13); + local_240 = (wchar_t *)CONCAT71(local_240._1_7_,1); + FUN_140002190((longlong *)&local_1e8,puVar10,uVar19,param_4); + local_1e8 = local_res20; + if (((local_res20 != (longlong ********)PTR_DAT_14016f010) && + ((longlong *********)local_res20 != (longlong *********)0x0)) && + ((longlong *********)local_res20 != (longlong *********)0x8)) { + *(int *)((longlong)local_res20 + -4) = *(int *)((longlong)local_res20 + -4) + 1; + } + FUN_14003d0d0((longlong)ppppppppplVar13); + } + FUN_14003e7c0(ppppppppplVar13,puVar10,uVar19,param_4); + local_f8 = PTR_DAT_14016f010; + iVar6 = FUN_14003e620(L"PT_IP_BLOCK"); + puVar10 = FUN_140001ee0((longlong *)&local_f8,iVar6); + FUN_14003e650(puVar10,L"PT_IP_BLOCK",iVar6); + FUN_140001fc0((longlong *)&local_f8); + (*(code *)(*param_1)[5])(param_1,0x8665,&local_f8,&local_1e8); + pppplVar24 = param_1[2]; + pwVar28 = L"PT_IP_BLOCK"; + uVar15 = 0x8665; + uVar19 = (ulonglong)uVar3; + (*(code *)(*pppplVar24)[0xe])(); + pppppppplVar18 = local_res20; + if ((((longlong *********)local_res20 != (longlong *********)0x0) && + (local_res20 != (longlong ********)PTR_DAT_14016f010)) && + (ppppppppplVar13 = (longlong *********)(local_res20 + -1), + ppppppppplVar13 != (longlong *********)0x0)) { + ppppppppplVar11 = (longlong *********)FUN_14003e7c0(pppplVar24,uVar19,uVar15,pwVar28); + local_248 = (longlong ********)ppppppppplVar11; + FUN_14003d040((int *)ppppppppplVar11); + local_240 = (wchar_t *)CONCAT71(local_240._1_7_,1); + piVar2 = (int *)((longlong)pppppppplVar18 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(ppppppppplVar13); + } + FUN_14003d0d0((longlong)ppppppppplVar11); + } + } + if ((*(char *)(param_1 + 3) == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x8665); + local_240 = L"PT_IP_BLOCK"; + local_238 = uVar3; + local_230 = param_3; + (*(code *)(*param_1)[4])(param_1,&local_248); + DVar7 = GetTickCount(); + } + ppppppppplVar13 = &local_220; + puVar23 = local_1c8; + ppppppppplVar11 = (longlong *********)param_1; + cVar5 = (*(code *)(*param_1)[0xb]) + (param_1,uVar3,puVar23,ppppppppplVar13,&local_210,&local_258,local_res10); + if (cVar5 == '\0') { + ppppppppplVar11 = (longlong *********)param_1[2]; + (*(code *)(*ppppppppplVar11)[8])(ppppppppplVar11,L"PT_IP_BLOCK"); + } + if ((*(char *)(param_1 + 3) == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x8665); + local_240 = L"PT_IP_BLOCK"; + local_238 = uVar3; + local_230 = param_3; + DVar8 = GetTickCount(); + local_228 = DVar8 - DVar7; + (*(code *)(*param_1)[3])(param_1,&local_248); + ppppppppplVar11 = (longlong *********)param_1; + } + pppppppplVar18 = local_258; + if (((local_258 != (longlong ********)0x0) && + (local_258 != (longlong ********)PTR_DAT_14016f010)) && + (pppppppplVar1 = local_258 + -1, pppppppplVar1 != (longlong ********)0x0)) { + ppppppppplVar11 = + (longlong *********) + FUN_14003e7c0(ppppppppplVar11,PTR_DAT_14016f010,puVar23,ppppppppplVar13); + local_248 = (longlong ********)ppppppppplVar11; + FUN_14003d040((int *)ppppppppplVar11); + local_240 = (wchar_t *)CONCAT71(local_240._1_7_,1); + piVar2 = (int *)((longlong)pppppppplVar18 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(pppppppplVar1); + } + FUN_14003d0d0((longlong)ppppppppplVar11); + } + pppppppplVar18 = local_210; + local_258 = (longlong ********)PTR_DAT_14016f010; + if (((local_210 != (longlong ********)0x0) && + (local_210 != (longlong ********)PTR_DAT_14016f010)) && + (pppppppplVar1 = local_210 + -1, pppppppplVar1 != (longlong ********)0x0)) { + ppppppppplVar11 = + (longlong *********) + FUN_14003e7c0(ppppppppplVar11,PTR_DAT_14016f010,puVar23,ppppppppplVar13); + local_248 = (longlong ********)ppppppppplVar11; + FUN_14003d040((int *)ppppppppplVar11); + local_240 = (wchar_t *)CONCAT71(local_240._1_7_,1); + piVar2 = (int *)((longlong)pppppppplVar18 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(pppppppplVar1); + } + FUN_14003d0d0((longlong)ppppppppplVar11); + } + pppppppplVar18 = local_220; + if (((local_220 != (longlong ********)0x0) && + (local_220 != (longlong ********)PTR_DAT_14016f010)) && + (pppppppplVar1 = local_220 + -1, pppppppplVar1 != (longlong ********)0x0)) { + local_210 = (longlong ********)PTR_DAT_14016f010; + pppppppplVar12 = + (longlong ********) + FUN_14003e7c0(ppppppppplVar11,PTR_DAT_14016f010,puVar23,ppppppppplVar13); + local_248 = pppppppplVar12; + FUN_14003d040((int *)pppppppplVar12); + local_240 = (wchar_t *)CONCAT71(local_240._1_7_,1); + piVar2 = (int *)((longlong)pppppppplVar18 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(pppppppplVar1); + } + pppppppplVar18 = (longlong ********)FUN_14003d0d0((longlong)pppppppplVar12); + } + break; + case 0x8666: + FUN_140049b40(local_1c8); + local_1c4 = param_2[10]; + local_1c8[0] = (undefined1)param_2[0x10]; + uVar15 = FUN_140074ee0(param_2,&local_210,4); + uVar20 = (uint)local_220; + if ((char)uVar15 != '\0') { + uVar20 = local_210._0_4_; + } + local_220 = (longlong ********)CONCAT44(local_220._4_4_,uVar20); + uVar15 = FUN_140074ee0(param_2,&local_258,4); + uVar20 = local_200._0_4_; + if ((char)uVar15 != '\0') { + uVar20 = local_258._0_4_; + } + local_200 = (longlong ********)CONCAT44(local_200._4_4_,uVar20); + uVar15 = FUN_140074ee0(param_2,&local_res20,1); + uVar25 = local_res10[0]._0_1_; + if ((char)uVar15 != '\0') { + uVar25 = local_res20._0_1_; + } + local_res10[0] = (longlong ********)CONCAT71(local_res10[0]._1_7_,uVar25); + pppplVar24 = param_1[2]; + pwVar28 = L"PT_CHANNEL_STATUS_CHANGE"; + (*(code *)(*pppplVar24)[9])(); + DVar7 = 0; + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if (*(char *)(param_1 + 3) == '\0') { + (*(code *)(*param_1[2])[0xe]) + (param_1[2],uVar3,0x8666,L"PT_CHANNEL_STATUS_CHANGE",&DAT_140131724); + } + } + else if (*(char *)(param_1 + 3) == '\0') { + FUN_14003e7c0(pppplVar24,param_2,pwVar28,param_4); + local_res20 = (longlong ********)PTR_DAT_14016f010; + FUN_1400926b0((longlong *)&local_res20); + FUN_140029bf0((longlong *)&local_res20,(short *)&DAT_140133350); + FUN_1400926b0((longlong *)&local_res20); + FUN_140029bf0((longlong *)&local_res20,(short *)&DAT_140133350); + FUN_1400925f0((longlong *)&local_res20); + FUN_140029bf0((longlong *)&local_res20,(short *)&DAT_140133350); + iVar6 = 0; + if (((longlong *********)local_res20 != (longlong *********)0x0) && + (local_res20 != (longlong ********)PTR_DAT_14016f010)) { + iVar6 = *(int *)(local_res20 + -1); + } + uVar19 = (ulonglong)(iVar6 - 2U); + plVar17 = local_80; + local_258 = (longlong ********)FUN_140028f40((longlong *)&local_res20,plVar17,iVar6 - 2U); + if ((longlong *********)local_res20 == (longlong *********)0x0) { + local_res20 = (longlong ********)PTR_DAT_14016f010; + } + if ((longlong ********)*local_258 != local_res20) { + ppppppppplVar13 = (longlong *********)FUN_14003e7c0(local_res20,plVar17,uVar19,param_4); + local_248 = (longlong ********)ppppppppplVar13; + FUN_14003d040((int *)ppppppppplVar13); + pppppppplVar18 = local_res20; + local_240 = (wchar_t *)CONCAT71(local_240._1_7_,1); + if ((((longlong *********)local_res20 != (longlong *********)0x0) && + (local_res20 != (longlong ********)PTR_DAT_14016f010)) && + (ppppppppplVar11 = (longlong *********)(local_res20 + -1), + ppppppppplVar11 != (longlong *********)0x0)) { + ppppppppplVar14 = + (longlong *********)FUN_14003e7c0(local_res20,PTR_DAT_14016f010,uVar19,param_4); + local_c0 = (longlong ********)ppppppppplVar14; + FUN_14003d040((int *)ppppppppplVar14); + local_b8 = 1; + piVar2 = (int *)((longlong)pppppppplVar18 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(ppppppppplVar11); + } + FUN_14003d0d0((longlong)ppppppppplVar14); + } + plVar17 = (longlong *)PTR_DAT_14016f010; + local_res20 = (longlong ********)*local_258; + if (((local_res20 != (longlong ********)PTR_DAT_14016f010) && + ((longlong *********)local_res20 != (longlong *********)0x0)) && + ((longlong *********)local_res20 != (longlong *********)0x8)) { + *(int *)((longlong)local_res20 + -4) = *(int *)((longlong)local_res20 + -4) + 1; + } + FUN_14003d0d0((longlong)ppppppppplVar13); + } + plVar16 = local_80; + FUN_140002190(plVar16,plVar17,uVar19,param_4); + local_258 = &local_128; + FUN_14003e7c0(plVar16,plVar17,uVar19,param_4); + local_128 = (longlong *******)PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_128,(longlong *)&local_res20,uVar19,param_4); + plVar17 = FUN_140002040(&local_60,L"PT_CHANNEL_STATUS_CHANGE",0,param_4); + (*(code *)(*param_1)[5])(param_1,0x8666,plVar17,&local_128); + pwVar28 = L"PT_CHANNEL_STATUS_CHANGE"; + uVar15 = 0x8666; + uVar19 = (ulonglong)uVar3; + (*(code *)(*param_1[2])[0xe])(); + FUN_140002190((longlong *)&local_res20,uVar19,uVar15,pwVar28); + } + if ((*(char *)(param_1 + 3) == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x8666); + local_240 = L"PT_CHANNEL_STATUS_CHANGE"; + local_238 = uVar3; + local_230 = param_3; + (*(code *)(*param_1)[4])(param_1,&local_248); + DVar7 = GetTickCount(); + } + pppppppplVar18 = + (longlong ********) + (*(code *)(*param_1)[0xc])(param_1,uVar3,local_1c8,&local_220,&local_200,local_res10); + if ((char)pppppppplVar18 == '\0') { + pppppppplVar18 = + (longlong ********)(*(code *)(*param_1[2])[8])(param_1[2],L"PT_CHANNEL_STATUS_CHANGE"); + } + if ((*(char *)(param_1 + 3) == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x8666); + local_240 = L"PT_CHANNEL_STATUS_CHANGE"; + goto LAB_14002eed4; + } + break; + case 0x8667: + FUN_140049b40(local_1c8); + local_1c4 = param_2[10]; + local_1c8[0] = (undefined1)param_2[0x10]; + uVar9 = 4; + ppppppppplVar13 = &local_res20; + uVar15 = FUN_140074ee0(param_2,ppppppppplVar13,4); + uVar4 = (uint)local_res10[0]; + if ((char)uVar15 != '\0') { + uVar4 = (uint)local_res20; + } + local_res10[0] = (longlong ********)CONCAT44(local_res10[0]._4_4_,uVar4); + FUN_14003e7c0((ulonglong)uVar4,ppppppppplVar13,uVar9,param_4); + local_258 = (longlong ********)PTR_DAT_14016f010; + thunk_FUN_140076020(param_2,(longlong *)&local_258,uVar9,param_4); + pppplVar24 = param_1[2]; + pwVar28 = L"PT_USER_KICK"; + (*(code *)(*pppplVar24)[9])(); + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if (*(char *)(param_1 + 3) == '\0') { + (*(code *)(*param_1[2])[0xe])(param_1[2],uVar3,0x8667,L"PT_USER_KICK",&DAT_140131724); + } + } + else if (*(char *)(param_1 + 3) == '\0') { + FUN_14003e7c0(pppplVar24,param_2,pwVar28,param_4); + local_res20 = (longlong ********)PTR_DAT_14016f010; + FUN_1400926b0((longlong *)&local_res20); + FUN_140029bf0((longlong *)&local_res20,(short *)&DAT_140133350); + FUN_1400928b0((longlong *)&local_res20,(longlong *)&local_258); + FUN_140029bf0((longlong *)&local_res20,(short *)&DAT_140133350); + iVar6 = 0; + if (((longlong *********)local_res20 != (longlong *********)0x0) && + (local_res20 != (longlong ********)PTR_DAT_14016f010)) { + iVar6 = *(int *)(local_res20 + -1); + } + uVar19 = (ulonglong)(iVar6 - 2U); + plVar16 = FUN_140028f40((longlong *)&local_res20,&local_a0,iVar6 - 2U); + FUN_1400020c0((longlong *)&local_res20,plVar16,uVar19,param_4); + plVar17 = &local_a0; + FUN_140002190(plVar17,plVar16,uVar19,param_4); + local_210 = &local_160; + FUN_14003e7c0(plVar17,plVar16,uVar19,param_4); + local_160 = (longlong *******)PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_160,(longlong *)&local_res20,uVar19,param_4); + plVar17 = FUN_140002040(&local_50,L"PT_USER_KICK",0,param_4); + (*(code *)(*param_1)[5])(param_1,0x8667,plVar17,&local_160); + pwVar28 = L"PT_USER_KICK"; + uVar15 = 0x8667; + uVar19 = (ulonglong)uVar3; + (*(code *)(*param_1[2])[0xe])(); + FUN_140002190((longlong *)&local_res20,uVar19,uVar15,pwVar28); + } + DVar7 = 0; + if ((*(char *)(param_1 + 3) == '\0') && + (DVar7 = 0, *(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x8667); + local_240 = L"PT_USER_KICK"; + local_238 = uVar3; + local_230 = param_3; + (*(code *)(*param_1)[4])(param_1,&local_248); + DVar7 = GetTickCount(); + } + ppppppppplVar13 = local_res10; + puVar23 = local_1c8; + pwVar28 = (wchar_t *)(ulonglong)uVar3; + cVar5 = (*(code *)(*param_1)[0xd])(param_1); + if (cVar5 == '\0') { + pwVar28 = L"PT_USER_KICK"; + (*(code *)(*param_1[2])[8])(); + } + if ((*(char *)(param_1 + 3) == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x8667); + local_240 = L"PT_USER_KICK"; + local_238 = uVar3; + local_230 = param_3; + DVar8 = GetTickCount(); + local_228 = DVar8 - DVar7; + pwVar28 = (wchar_t *)&local_248; + (*(code *)(*param_1)[3])(param_1); + } + pppppppplVar18 = + (longlong ********)FUN_140002190((longlong *)&local_258,pwVar28,puVar23,ppppppppplVar13); + break; + case 0x8668: + puVar23 = local_1c8; + FUN_140049b40(puVar23); + local_1c4 = param_2[10]; + local_1c8[0] = (undefined1)param_2[0x10]; + FUN_14003e7c0(puVar23,pIVar26,uVar15,param_4); + local_res20 = (longlong ********)PTR_DAT_14016f010; + thunk_FUN_140076020(param_2,(longlong *)&local_res20,uVar15,param_4); + pppplVar24 = param_1[2]; + pwVar28 = L"PT_STRING_COMMAND"; + (*(code *)(*pppplVar24)[9])(); + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if (*(char *)(param_1 + 3) == '\0') { + (*(code *)(*param_1[2])[0xe])(param_1[2],uVar3,0x8668,L"PT_STRING_COMMAND",&DAT_140131724) + ; + } + } + else if (*(char *)(param_1 + 3) == '\0') { + FUN_14003e7c0(pppplVar24,param_2,pwVar28,param_4); + local_res10[0] = (longlong ********)PTR_DAT_14016f010; + FUN_1400928b0((longlong *)local_res10,(longlong *)&local_res20); + FUN_140029bf0((longlong *)local_res10,(short *)&DAT_140133350); + iVar6 = 0; + if (((longlong *********)local_res10[0] != (longlong *********)0x0) && + (local_res10[0] != (longlong ********)PTR_DAT_14016f010)) { + iVar6 = *(int *)(local_res10[0] + -1); + } + uVar19 = (ulonglong)(iVar6 - 2U); + plVar16 = FUN_140028f40((longlong *)local_res10,&local_90,iVar6 - 2U); + FUN_1400020c0((longlong *)local_res10,plVar16,uVar19,param_4); + plVar17 = &local_90; + FUN_140002190(plVar17,plVar16,uVar19,param_4); + local_258 = &local_150; + FUN_14003e7c0(plVar17,plVar16,uVar19,param_4); + local_150 = (longlong *******)PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_150,(longlong *)local_res10,uVar19,param_4); + plVar17 = FUN_140002040(&local_40,L"PT_STRING_COMMAND",0,param_4); + (*(code *)(*param_1)[5])(param_1,0x8668,plVar17,&local_150); + pwVar28 = L"PT_STRING_COMMAND"; + uVar15 = 0x8668; + uVar19 = (ulonglong)uVar3; + (*(code *)(*param_1[2])[0xe])(); + FUN_140002190((longlong *)local_res10,uVar19,uVar15,pwVar28); + } + DVar7 = 0; + if ((*(char *)(param_1 + 3) == '\0') && + (DVar7 = 0, *(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x8668); + local_240 = L"PT_STRING_COMMAND"; + local_238 = uVar3; + local_230 = param_3; + (*(code *)(*param_1)[4])(param_1,&local_248); + DVar7 = GetTickCount(); + } + ppppppppplVar13 = &local_res20; + puVar23 = local_1c8; + pwVar28 = (wchar_t *)(ulonglong)uVar3; + cVar5 = (*(code *)(*param_1)[0xe])(param_1); + if (cVar5 == '\0') { + pwVar28 = L"PT_STRING_COMMAND"; + (*(code *)(*param_1[2])[8])(); + } + if ((*(char *)(param_1 + 3) == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x8668); + local_240 = L"PT_STRING_COMMAND"; + local_238 = uVar3; + local_230 = param_3; + DVar8 = GetTickCount(); + local_228 = DVar8 - DVar7; + pwVar28 = (wchar_t *)&local_248; + (*(code *)(*param_1)[3])(param_1); + } + pppppppplVar18 = + (longlong ********) + FUN_140002190((longlong *)&local_res20,pwVar28,puVar23,ppppppppplVar13); + break; + case 0x8669: + FUN_140049b40(local_1c8); + local_1c4 = param_2[10]; + local_1c8[0] = (undefined1)param_2[0x10]; + uVar15 = FUN_140074ee0(param_2,&local_res20,1); + uVar25 = local_res10[0]._0_1_; + if ((char)uVar15 != '\0') { + uVar25 = local_res20._0_1_; + } + local_res10[0] = (longlong ********)CONCAT71(local_res10[0]._1_7_,uVar25); + uVar15 = FUN_140074ee0(param_2,&local_258,4); + uVar20 = local_200._0_4_; + if ((char)uVar15 != '\0') { + uVar20 = local_258._0_4_; + } + local_200 = (longlong ********)CONCAT44(local_200._4_4_,uVar20); + uVar15 = FUN_140074ee0(param_2,&local_210,4); + uVar20 = (uint)local_220; + if ((char)uVar15 != '\0') { + uVar20 = local_210._0_4_; + } + local_220 = (longlong ********)CONCAT44(local_220._4_4_,uVar20); + pppplVar24 = param_1[2]; + pwVar28 = L"PT_REAL_TIME_EVENT"; + (*(code *)(*pppplVar24)[9])(); + DVar7 = 0; + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if (*(char *)(param_1 + 3) == '\0') { + (*(code *)(*param_1[2])[0xe]) + (param_1[2],uVar3,0x8669,L"PT_REAL_TIME_EVENT",&DAT_140131724); + } + } + else if (*(char *)(param_1 + 3) == '\0') { + FUN_14003e7c0(pppplVar24,param_2,pwVar28,param_4); + local_res20 = (longlong ********)PTR_DAT_14016f010; + FUN_1400925d0((longlong *)&local_res20,(char *)local_res10); + FUN_140029bf0((longlong *)&local_res20,(short *)&DAT_140133350); + FUN_1400926b0((longlong *)&local_res20); + FUN_140029bf0((longlong *)&local_res20,(short *)&DAT_140133350); + FUN_1400926b0((longlong *)&local_res20); + FUN_140029bf0((longlong *)&local_res20,(short *)&DAT_140133350); + iVar6 = 0; + if (((longlong *********)local_res20 != (longlong *********)0x0) && + (local_res20 != (longlong ********)PTR_DAT_14016f010)) { + iVar6 = *(int *)(local_res20 + -1); + } + uVar19 = (ulonglong)(iVar6 - 2U); + plVar16 = FUN_140028f40((longlong *)&local_res20,&local_b0,iVar6 - 2U); + FUN_1400020c0((longlong *)&local_res20,plVar16,uVar19,param_4); + plVar17 = &local_b0; + FUN_140002190(plVar17,plVar16,uVar19,param_4); + local_258 = &local_140; + FUN_14003e7c0(plVar17,plVar16,uVar19,param_4); + local_140 = (longlong *******)PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_140,(longlong *)&local_res20,uVar19,param_4); + plVar17 = FUN_140002040(&local_68,L"PT_REAL_TIME_EVENT",0,param_4); + (*(code *)(*param_1)[5])(param_1,0x8669,plVar17,&local_140); + pwVar28 = L"PT_REAL_TIME_EVENT"; + uVar15 = 0x8669; + uVar19 = (ulonglong)uVar3; + (*(code *)(*param_1[2])[0xe])(); + FUN_140002190((longlong *)&local_res20,uVar19,uVar15,pwVar28); + } + if ((*(char *)(param_1 + 3) == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x8669); + local_240 = L"PT_REAL_TIME_EVENT"; + local_238 = uVar3; + local_230 = param_3; + (*(code *)(*param_1)[4])(param_1,&local_248); + DVar7 = GetTickCount(); + } + pppppppplVar18 = + (longlong ********) + (*(code *)(*param_1)[0xf])(param_1,uVar3,local_1c8,local_res10,&local_200,&local_220); + if ((char)pppppppplVar18 == '\0') { + pppppppplVar18 = + (longlong ********)(*(code *)(*param_1[2])[8])(param_1[2],L"PT_REAL_TIME_EVENT"); + } + if ((*(char *)(param_1 + 3) == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x8669); + local_240 = L"PT_REAL_TIME_EVENT"; + goto LAB_14002eed4; + } + break; + case 0x866a: + FUN_140049b40(local_1c8); + local_1c4 = param_2[10]; + local_1c8[0] = (undefined1)param_2[0x10]; + FUN_140075970(param_2,(undefined4 *)local_res10,uVar15,param_4); + pppplVar24 = param_1[2]; + pwVar28 = L"REQ_AGENT_UPDATE"; + (*(code *)(*pppplVar24)[9])(); + DVar7 = 0; + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if (*(char *)(param_1 + 3) == '\0') { + (*(code *)(*param_1[2])[0xe])(param_1[2],uVar3,0x866a,L"REQ_AGENT_UPDATE",&DAT_140131724); + } + } + else if (*(char *)(param_1 + 3) == '\0') { + FUN_14003e7c0(pppplVar24,param_2,pwVar28,param_4); + local_res20 = (longlong ********)PTR_DAT_14016f010; + local_120 = (uint)local_res10[0]; + FUN_1400926b0((longlong *)&local_res20); + FUN_140029bf0((longlong *)&local_res20,(short *)&DAT_140133350); + iVar6 = 0; + if (((longlong *********)local_res20 != (longlong *********)0x0) && + (local_res20 != (longlong ********)PTR_DAT_14016f010)) { + iVar6 = *(int *)(local_res20 + -1); + } + uVar19 = (ulonglong)(iVar6 - 2U); + plVar16 = FUN_140028f40((longlong *)&local_res20,&local_88,iVar6 - 2U); + FUN_1400020c0((longlong *)&local_res20,plVar16,uVar19,param_4); + plVar17 = &local_88; + FUN_140002190(plVar17,plVar16,uVar19,param_4); + local_258 = &local_130; + FUN_14003e7c0(plVar17,plVar16,uVar19,param_4); + local_130 = (longlong *******)PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_130,(longlong *)&local_res20,uVar19,param_4); + plVar17 = FUN_140002040(&local_48,L"REQ_AGENT_UPDATE",0,param_4); + (*(code *)(*param_1)[5])(param_1,0x866a,plVar17,&local_130); + pwVar28 = L"REQ_AGENT_UPDATE"; + uVar15 = 0x866a; + uVar19 = (ulonglong)uVar3; + (*(code *)(*param_1[2])[0xe])(); + FUN_140002190((longlong *)&local_res20,uVar19,uVar15,pwVar28); + } + if ((*(char *)(param_1 + 3) == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x866a); + local_240 = L"REQ_AGENT_UPDATE"; + local_238 = uVar3; + local_230 = param_3; + (*(code *)(*param_1)[4])(param_1,&local_248); + DVar7 = GetTickCount(); + } + pppppppplVar18 = + (longlong ********)(*(code *)(*param_1)[0x10])(param_1,uVar3,local_1c8,local_res10); + if ((char)pppppppplVar18 == '\0') { + pppppppplVar18 = + (longlong ********)(*(code *)(*param_1[2])[8])(param_1[2],L"REQ_AGENT_UPDATE"); + } + if ((*(char *)(param_1 + 3) == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x866a); + local_240 = L"REQ_AGENT_UPDATE"; + goto LAB_14002eed4; + } + break; + case 0x866b: + FUN_140049b40(local_1c8); + local_1c4 = param_2[10]; + local_1c8[0] = (undefined1)param_2[0x10]; + FUN_140075970(param_2,(undefined4 *)local_res10,uVar15,param_4); + pppplVar24 = param_1[2]; + pwVar28 = L"REQ_AGENT_SERVER_ON"; + (*(code *)(*pppplVar24)[9])(); + DVar7 = 0; + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if (*(char *)(param_1 + 3) == '\0') { + (*(code *)(*param_1[2])[0xe]) + (param_1[2],uVar3,0x866b,L"REQ_AGENT_SERVER_ON",&DAT_140131724); + } + } + else if (*(char *)(param_1 + 3) == '\0') { + FUN_14003e7c0(pppplVar24,param_2,pwVar28,param_4); + local_res20 = (longlong ********)PTR_DAT_14016f010; + local_f0 = (uint)local_res10[0]; + FUN_1400926b0((longlong *)&local_res20); + FUN_140029bf0((longlong *)&local_res20,(short *)&DAT_140133350); + iVar6 = 0; + if (((longlong *********)local_res20 != (longlong *********)0x0) && + (local_res20 != (longlong ********)PTR_DAT_14016f010)) { + iVar6 = *(int *)(local_res20 + -1); + } + uVar19 = (ulonglong)(iVar6 - 2U); + plVar16 = FUN_140028f40((longlong *)&local_res20,&local_98,iVar6 - 2U); + FUN_1400020c0((longlong *)&local_res20,plVar16,uVar19,param_4); + plVar17 = &local_98; + FUN_140002190(plVar17,plVar16,uVar19,param_4); + local_258 = &local_168; + FUN_14003e7c0(plVar17,plVar16,uVar19,param_4); + local_168 = (longlong *******)PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_168,(longlong *)&local_res20,uVar19,param_4); + plVar17 = FUN_140002040(&local_58,L"REQ_AGENT_SERVER_ON",0,param_4); + (*(code *)(*param_1)[5])(param_1,0x866b,plVar17,&local_168); + pwVar28 = L"REQ_AGENT_SERVER_ON"; + uVar15 = 0x866b; + uVar19 = (ulonglong)uVar3; + (*(code *)(*param_1[2])[0xe])(); + FUN_140002190((longlong *)&local_res20,uVar19,uVar15,pwVar28); + } + if ((*(char *)(param_1 + 3) == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x866b); + local_240 = L"REQ_AGENT_SERVER_ON"; + local_238 = uVar3; + local_230 = param_3; + (*(code *)(*param_1)[4])(param_1,&local_248); + DVar7 = GetTickCount(); + } + pppppppplVar18 = + (longlong ********)(*(code *)(*param_1)[0x11])(param_1,uVar3,local_1c8,local_res10); + if ((char)pppppppplVar18 == '\0') { + pppppppplVar18 = + (longlong ********)(*(code *)(*param_1[2])[8])(param_1[2],L"REQ_AGENT_SERVER_ON"); + } + if ((*(char *)(param_1 + 3) == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x866b); + local_240 = L"REQ_AGENT_SERVER_ON"; + goto LAB_14002eed4; + } + break; + case 0x866c: + FUN_140049b40(local_1c8); + local_1c4 = param_2[10]; + local_1c8[0] = (undefined1)param_2[0x10]; + FUN_140075970(param_2,(undefined4 *)&local_220,uVar15,param_4); + uVar15 = FUN_140074ee0(param_2,&local_res20,1); + uVar25 = local_res10[0]._0_1_; + if ((char)uVar15 != '\0') { + uVar25 = local_res20._0_1_; + } + local_res10[0] = (longlong ********)CONCAT71(local_res10[0]._1_7_,uVar25); + pppplVar24 = param_1[2]; + pwVar28 = L"REQ_AGENT_AUTO"; + (*(code *)(*pppplVar24)[9])(); + DVar7 = 0; + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if (*(char *)(param_1 + 3) == '\0') { + (*(code *)(*param_1[2])[0xe])(param_1[2],uVar3,0x866c,L"REQ_AGENT_AUTO",&DAT_140131724); + } + } + else if (*(char *)(param_1 + 3) == '\0') { + FUN_14003e7c0(pppplVar24,param_2,pwVar28,param_4); + local_res20 = (longlong ********)PTR_DAT_14016f010; + local_158 = (uint)local_220; + FUN_1400926b0((longlong *)&local_res20); + FUN_140029bf0((longlong *)&local_res20,(short *)&DAT_140133350); + FUN_1400925d0((longlong *)&local_res20,(char *)local_res10); + FUN_140029bf0((longlong *)&local_res20,(short *)&DAT_140133350); + iVar6 = 0; + if (((longlong *********)local_res20 != (longlong *********)0x0) && + (local_res20 != (longlong ********)PTR_DAT_14016f010)) { + iVar6 = *(int *)(local_res20 + -1); + } + uVar19 = (ulonglong)(iVar6 - 2U); + plVar16 = FUN_140028f40((longlong *)&local_res20,&local_a8,iVar6 - 2U); + FUN_1400020c0((longlong *)&local_res20,plVar16,uVar19,param_4); + plVar17 = &local_a8; + FUN_140002190(plVar17,plVar16,uVar19,param_4); + local_258 = &local_110; + FUN_14003e7c0(plVar17,plVar16,uVar19,param_4); + local_110 = (longlong *******)PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_110,(longlong *)&local_res20,uVar19,param_4); + plVar17 = FUN_140002040(local_80 + 2,L"REQ_AGENT_AUTO",0,param_4); + (*(code *)(*param_1)[5])(param_1,0x866c,plVar17,&local_110); + pwVar28 = L"REQ_AGENT_AUTO"; + uVar15 = 0x866c; + uVar19 = (ulonglong)uVar3; + (*(code *)(*param_1[2])[0xe])(); + FUN_140002190((longlong *)&local_res20,uVar19,uVar15,pwVar28); + } + if ((*(char *)(param_1 + 3) == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x866c); + local_240 = L"REQ_AGENT_AUTO"; + local_238 = uVar3; + local_230 = param_3; + (*(code *)(*param_1)[4])(param_1,&local_248); + DVar7 = GetTickCount(); + } + pppppppplVar18 = + (longlong ********) + (*(code *)(*param_1)[0x12])(param_1,uVar3,local_1c8,&local_220,local_res10); + if ((char)pppppppplVar18 == '\0') { + pppppppplVar18 = + (longlong ********)(*(code *)(*param_1[2])[8])(param_1[2],L"REQ_AGENT_AUTO"); + } + if ((*(char *)(param_1 + 3) == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_248 = (longlong ********)CONCAT44(local_248._4_4_,0x866c); + local_240 = L"REQ_AGENT_AUTO"; + goto LAB_14002eed4; + } + break; + default: + goto switchD_14002c453_default; + } + uVar19 = CONCAT71((int7)((ulonglong)pppppppplVar18 >> 8),1); + } + return uVar19; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002ef60.c b/decomp/AgentManager_Release_x64/full/functions/0x14002ef60.c new file mode 100644 index 00000000..892cec68 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002ef60.c @@ -0,0 +1,21 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002ef60 std::bad_alloc::`scalar_deleting_destructor' + * Pseudocode, not original source. */ + +/* Library Function - Single Match + public: virtual void * __ptr64 __cdecl std::bad_alloc::`scalar deleting destructor'(unsigned + int) __ptr64 + + Libraries: Visual Studio 2012 Release, Visual Studio 2015 Release */ + +void * __thiscall std::bad_alloc::_scalar_deleting_destructor_(bad_alloc *this,uint param_1) + +{ + *(undefined ***)this = RNP::AgentManager2AgentMonitorProxy::vftable; + FUN_1400768c0((undefined8 *)this); + if ((param_1 & 1) != 0) { + operator_delete(this); + } + return this; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002efa0.c b/decomp/AgentManager_Release_x64/full/functions/0x14002efa0.c new file mode 100644 index 00000000..f3e6b003 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002efa0.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002efa0 FUN_14002efa0 + * Pseudocode, not original source. */ + +void FUN_14002efa0(undefined8 *param_1) + +{ + *param_1 = RNP::AgentManager2AgentMonitorProxy::vftable; + FUN_1400768c0(param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002efb0.c b/decomp/AgentManager_Release_x64/full/functions/0x14002efb0.c new file mode 100644 index 00000000..d2298619 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002efb0.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002efb0 FUN_14002efb0 + * Pseudocode, not original source. */ + +void FUN_14002efb0(void) + +{ + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002efc0.c b/decomp/AgentManager_Release_x64/full/functions/0x14002efc0.c new file mode 100644 index 00000000..2084fa26 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002efc0.c @@ -0,0 +1,21 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002efc0 std::bad_alloc::`scalar_deleting_destructor' + * Pseudocode, not original source. */ + +/* Library Function - Single Match + public: virtual void * __ptr64 __cdecl std::bad_alloc::`scalar deleting destructor'(unsigned + int) __ptr64 + + Libraries: Visual Studio 2012 Release, Visual Studio 2015 Release */ + +void * __thiscall std::bad_alloc::_scalar_deleting_destructor_(bad_alloc *this,uint param_1) + +{ + *(undefined ***)this = RNP::AgentMonitor2AgentManagerStub::vftable; + FUN_140079b90((undefined8 *)this); + if ((param_1 & 1) != 0) { + operator_delete(this); + } + return this; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002f000.c b/decomp/AgentManager_Release_x64/full/functions/0x14002f000.c new file mode 100644 index 00000000..29b253b5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002f000.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002f000 FUN_14002f000 + * Pseudocode, not original source. */ + +void FUN_14002f000(undefined8 *param_1) + +{ + *param_1 = RNP::AgentMonitor2AgentManagerStub::vftable; + FUN_140079b90(param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002f010.c b/decomp/AgentManager_Release_x64/full/functions/0x14002f010.c new file mode 100644 index 00000000..3b1244c0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002f010.c @@ -0,0 +1,45 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002f010 FUN_14002f010 + * Pseudocode, not original source. */ + +void FUN_14002f010(longlong *param_1,ulonglong param_2) + +{ + void *pvVar1; + longlong lVar2; + code *pcVar3; + char *pcVar4; + char *local_res10; + undefined **local_20 [3]; + + if (0xf83e0f83e0f83e < param_2) { + std::_Xlength_error("vector too long"); + pcVar3 = (code *)swi(3); + (*pcVar3)(); + return; + } + if ((ulonglong)((param_1[2] - *param_1) / 0x108) < param_2) { + local_res10 = (char *)0x0; + if (param_2 != 0) { + local_res10 = operator_new(param_2 * 0x108); + if (local_res10 == (char *)0x0) { + std::exception::exception((exception *)local_20,&local_res10); + local_20[0] = std::bad_alloc::vftable; + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_20,(ThrowInfo *)&DAT_14016c158); + } + } + pcVar4 = local_res10; + FUN_14002f2a0((void *)*param_1,(void *)param_1[1],local_res10); + pvVar1 = (void *)*param_1; + lVar2 = param_1[1]; + if (pvVar1 != (void *)0x0) { + operator_delete(pvVar1); + } + param_1[2] = (longlong)(pcVar4 + param_2 * 0x108); + param_1[1] = (longlong)(pcVar4 + ((lVar2 - (longlong)pvVar1) / 0x108) * 0x108); + *param_1 = (longlong)pcVar4; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002f150.c b/decomp/AgentManager_Release_x64/full/functions/0x14002f150.c new file mode 100644 index 00000000..e9485968 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002f150.c @@ -0,0 +1,27 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002f150 FUN_14002f150 + * Pseudocode, not original source. */ + +void FUN_14002f150(ulonglong *param_1,void *param_2) + +{ + void *pvVar1; + void *pvVar2; + + pvVar1 = (void *)param_1[1]; + if ((param_2 < pvVar1) && (pvVar2 = (void *)*param_1, pvVar2 <= param_2)) { + if (pvVar1 == (void *)param_1[2]) { + FUN_14002f1f0((longlong *)param_1,1); + } + param_2 = (void *)((((longlong)param_2 - (longlong)pvVar2) / 0x108) * 0x108 + *param_1); + } + else if (pvVar1 == (void *)param_1[2]) { + FUN_14002f1f0((longlong *)param_1,1); + } + if ((void *)param_1[1] != (void *)0x0) { + memcpy((void *)param_1[1],param_2,0x108); + } + param_1[1] = param_1[1] + 0x108; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002f1f0.c b/decomp/AgentManager_Release_x64/full/functions/0x14002f1f0.c new file mode 100644 index 00000000..a4860c3d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002f1f0.c @@ -0,0 +1,35 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002f1f0 FUN_14002f1f0 + * Pseudocode, not original source. */ + +void FUN_14002f1f0(longlong *param_1,longlong param_2) + +{ + code *pcVar1; + ulonglong uVar2; + ulonglong uVar3; + + uVar3 = (param_1[1] - *param_1) / 0x108; + if (0xf83e0f83e0f83eU - param_2 < uVar3) { + std::_Xlength_error("vector too long"); + pcVar1 = (code *)swi(3); + (*pcVar1)(); + return; + } + uVar3 = uVar3 + param_2; + uVar2 = (param_1[2] - *param_1) / 0x108; + if (uVar2 < uVar3) { + if (0xf83e0f83e0f83e - (uVar2 >> 1) < uVar2) { + uVar2 = 0; + } + else { + uVar2 = uVar2 + (uVar2 >> 1); + } + if (uVar2 < uVar3) { + uVar2 = uVar3; + } + FUN_14002f010(param_1,uVar2); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002f2a0.c b/decomp/AgentManager_Release_x64/full/functions/0x14002f2a0.c new file mode 100644 index 00000000..0d813463 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002f2a0.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002f2a0 FUN_14002f2a0 + * Pseudocode, not original source. */ + +void * FUN_14002f2a0(void *param_1,void *param_2,void *param_3) + +{ + for (; param_1 != param_2; param_1 = (void *)((longlong)param_1 + 0x108)) { + if (param_3 != (void *)0x0) { + memcpy(param_3,param_1,0x108); + } + param_3 = (void *)((longlong)param_3 + 0x108); + } + return param_3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002f300.c b/decomp/AgentManager_Release_x64/full/functions/0x14002f300.c new file mode 100644 index 00000000..4ecb1750 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002f300.c @@ -0,0 +1,27 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002f300 FUN_14002f300 + * Pseudocode, not original source. */ + +uint * FUN_14002f300(uint *param_1,undefined4 *param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 uVar1; + undefined4 local_res8; + undefined4 uStackX_c; + + FUN_140075970(param_1,param_2,param_3,param_4); + uVar1 = FUN_140074ee0(param_1,(undefined8 *)&local_res8,4); + if ((char)uVar1 != '\0') { + param_2[1] = local_res8; + } + uVar1 = FUN_140074ee0(param_1,(undefined8 *)&local_res8,4); + if ((char)uVar1 != '\0') { + param_2[2] = local_res8; + } + uVar1 = FUN_140074ee0(param_1,(undefined8 *)&local_res8,8); + if ((char)uVar1 != '\0') { + *(ulonglong *)(param_2 + 4) = CONCAT44(uStackX_c,local_res8); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002f390.c b/decomp/AgentManager_Release_x64/full/functions/0x14002f390.c new file mode 100644 index 00000000..c3c2524b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002f390.c @@ -0,0 +1,46 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002f390 FUN_14002f390 + * Pseudocode, not original source. */ + +uint * FUN_14002f390(uint *param_1,undefined4 *param_2) + +{ + undefined8 uVar1; + undefined4 local_res8; + undefined4 uStackX_c; + + uVar1 = FUN_140074ee0(param_1,(undefined8 *)&local_res8,4); + if ((char)uVar1 != '\0') { + *param_2 = local_res8; + } + uVar1 = FUN_140074ee0(param_1,(undefined8 *)&local_res8,4); + if ((char)uVar1 != '\0') { + param_2[1] = local_res8; + } + uVar1 = FUN_140074ee0(param_1,(undefined8 *)&local_res8,4); + if ((char)uVar1 != '\0') { + param_2[2] = local_res8; + } + uVar1 = FUN_140074ee0(param_1,(undefined8 *)&local_res8,4); + if ((char)uVar1 != '\0') { + param_2[6] = local_res8; + } + uVar1 = FUN_140074ee0(param_1,(undefined8 *)&local_res8,4); + if ((char)uVar1 != '\0') { + param_2[3] = local_res8; + } + uVar1 = FUN_140074ee0(param_1,(undefined8 *)&local_res8,1); + if ((char)uVar1 != '\0') { + *(undefined1 *)(param_2 + 7) = (undefined1)local_res8; + } + uVar1 = FUN_140074ee0(param_1,(undefined8 *)&local_res8,1); + if ((char)uVar1 != '\0') { + *(undefined1 *)((longlong)param_2 + 0x1d) = (undefined1)local_res8; + } + uVar1 = FUN_140074ee0(param_1,(undefined8 *)&local_res8,8); + if ((char)uVar1 != '\0') { + *(ulonglong *)(param_2 + 4) = CONCAT44(uStackX_c,local_res8); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002f4a0.c b/decomp/AgentManager_Release_x64/full/functions/0x14002f4a0.c new file mode 100644 index 00000000..7491c55f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002f4a0.c @@ -0,0 +1,60 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002f4a0 FUN_14002f4a0 + * Pseudocode, not original source. */ + +void FUN_14002f4a0(longlong param_1,undefined4 param_2,SIZE_T param_3,undefined8 param_4) + +{ + int iVar1; + longlong lVar2; + int iVar3; + uint uVar4; + undefined8 in_RDX; + longlong lVar6; + exception local_58 [80]; + ulonglong uVar5; + + lVar6 = 0; + *(undefined4 *)(param_1 + 4) = 0; + lVar2 = *(longlong *)(param_1 + 8); + if (lVar2 == 0) { + if (*(longlong *)(param_1 + 0x10) == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(param_1,in_RDX,param_3,param_4); + } + } + else if (*(longlong *)(param_1 + 0x10) == 0) { + if (lVar2 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(param_1,in_RDX,param_3,param_4); + } + iVar1 = *(int *)(lVar2 + 0x18); + uVar4 = iVar1 + 4; + uVar5 = (ulonglong)uVar4; + FUN_14002a050(lVar2,uVar4,param_3); + if (*(int *)(lVar2 + 0x18) != 0) { + lVar6 = *(longlong *)(lVar2 + 0x10); + } + *(undefined4 *)(iVar1 + lVar6) = param_2; + goto LAB_14002f561; + } + uVar5 = *(ulonglong *)(param_1 + 0x10); + if (uVar5 == 0) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,param_3, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + iVar1 = *(int *)(param_1 + 0x18); + iVar3 = iVar1 + 4; + if ((iVar3 < 0) || (*(int *)(param_1 + 0x1c) < iVar3)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + *(int *)(param_1 + 0x18) = iVar3; + *(undefined4 *)((longlong)iVar1 + uVar5) = param_2; +LAB_14002f561: + FUN_14002a180(param_1,uVar5,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002f580.c b/decomp/AgentManager_Release_x64/full/functions/0x14002f580.c new file mode 100644 index 00000000..8bfaeea2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002f580.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002f580 FUN_14002f580 + * Pseudocode, not original source. */ + +undefined8 FUN_14002f580(uint *param_1,undefined2 *param_2) + +{ + undefined8 uVar1; + undefined2 local_res18 [8]; + + uVar1 = FUN_140074ee0(param_1,(undefined8 *)local_res18,2); + if ((char)uVar1 == '\0') { + return uVar1; + } + *param_2 = local_res18[0]; + return CONCAT71((uint7)(byte)((ushort)local_res18[0] >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002f5c0.c b/decomp/AgentManager_Release_x64/full/functions/0x14002f5c0.c new file mode 100644 index 00000000..b91ed532 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002f5c0.c @@ -0,0 +1,60 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002f5c0 FUN_14002f5c0 + * Pseudocode, not original source. */ + +void FUN_14002f5c0(longlong param_1,undefined8 param_2,SIZE_T param_3,undefined8 param_4) + +{ + int iVar1; + longlong lVar2; + int iVar3; + uint uVar4; + undefined8 in_RDX; + longlong lVar6; + exception local_58 [80]; + ulonglong uVar5; + + lVar6 = 0; + *(undefined4 *)(param_1 + 4) = 0; + lVar2 = *(longlong *)(param_1 + 8); + if (lVar2 == 0) { + if (*(longlong *)(param_1 + 0x10) == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(param_1,in_RDX,param_3,param_4); + } + } + else if (*(longlong *)(param_1 + 0x10) == 0) { + if (lVar2 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(param_1,in_RDX,param_3,param_4); + } + iVar1 = *(int *)(lVar2 + 0x18); + uVar4 = iVar1 + 8; + uVar5 = (ulonglong)uVar4; + FUN_14002a050(lVar2,uVar4,param_3); + if (*(int *)(lVar2 + 0x18) != 0) { + lVar6 = *(longlong *)(lVar2 + 0x10); + } + *(undefined8 *)(iVar1 + lVar6) = param_2; + goto LAB_14002f685; + } + uVar5 = *(ulonglong *)(param_1 + 0x10); + if (uVar5 == 0) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,param_3, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + iVar1 = *(int *)(param_1 + 0x18); + iVar3 = iVar1 + 8; + if ((iVar3 < 0) || (*(int *)(param_1 + 0x1c) < iVar3)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + *(int *)(param_1 + 0x18) = iVar3; + *(undefined8 *)((longlong)iVar1 + uVar5) = param_2; +LAB_14002f685: + FUN_14002a180(param_1,uVar5,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002f6b0.c b/decomp/AgentManager_Release_x64/full/functions/0x14002f6b0.c new file mode 100644 index 00000000..77cf71d1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002f6b0.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002f6b0 FUN_14002f6b0 + * Pseudocode, not original source. */ + +undefined8 FUN_14002f6b0(uint *param_1,undefined8 *param_2) + +{ + undefined8 uVar1; + undefined8 local_res18 [2]; + + uVar1 = FUN_140074ee0(param_1,local_res18,8); + if ((char)uVar1 == '\0') { + return uVar1; + } + *param_2 = local_res18[0]; + return CONCAT71((int7)((ulonglong)uVar1 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002f6f0.c b/decomp/AgentManager_Release_x64/full/functions/0x14002f6f0.c new file mode 100644 index 00000000..e3ea9146 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002f6f0.c @@ -0,0 +1,34 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002f6f0 FUN_14002f6f0 + * Pseudocode, not original source. */ + +void FUN_14002f6f0(longlong param_1) + +{ + longlong *plVar1; + char *_Str; + uint uVar2; + ulonglong uVar3; + ulonglong uVar4; + + if (param_1 != 0) { + plVar1 = *(longlong **)(param_1 + 0x18); + uVar3 = 0; + uVar4 = uVar3; + if (*plVar1 != 0) { + do { + _Str = (char *)Ordinal_12(*(undefined4 *)*plVar1); + puts(_Str); + uVar4 = uVar4 + 1; + plVar1 = (longlong *)(*(longlong *)(param_1 + 0x18) + uVar4 * 8); + uVar2 = (int)uVar3 + 1; + uVar3 = (ulonglong)uVar2; + } while (*plVar1 != 0); + if (1 < (int)uVar2) { + puts("!!! DNS to Multi !!!"); + } + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002f760.c b/decomp/AgentManager_Release_x64/full/functions/0x14002f760.c new file mode 100644 index 00000000..0f9febfa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002f760.c @@ -0,0 +1,137 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002f760 FUN_14002f760 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +undefined8 * +FUN_14002f760(undefined8 *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4) + +{ + short sVar1; + ulonglong uVar2; + LPCSTR pCVar3; + short *psVar4; + undefined1 auStack_1e8 [32]; + undefined **local_1c8; + longlong *local_1c0; + longlong *local_1b8; + undefined8 local_1b0; + undefined8 local_1a8; + undefined8 *local_1a0; + undefined8 local_198; + undefined2 local_190; + undefined6 uStack_18e; + undefined8 local_180; + ulonglong local_178; + undefined1 local_168; + undefined8 local_158; + undefined8 local_150; + short *local_138; + short local_130 [132]; + ulonglong local_28; + + local_198 = 0xfffffffffffffffe; + local_28 = DAT_14016f5a0 ^ (ulonglong)auStack_1e8; + *param_1 = MagiServerOption::vftable; + param_1[4] = 7; + param_1[3] = 0; + *(undefined2 *)(param_1 + 1) = 0; + param_1[9] = 7; + param_1[8] = 0; + *(undefined2 *)(param_1 + 6) = 0; + param_1[0xe] = 7; + param_1[0xd] = 0; + *(undefined2 *)(param_1 + 0xb) = 0; + param_1[0x10] = 0; + *(undefined4 *)(param_1 + 0x11) = 0; + *(undefined4 *)((longlong)param_1 + 0x8c) = 0x32; + param_1[0x15] = 0xf; + param_1[0x14] = 0; + *(undefined1 *)(param_1 + 0x12) = 0; + param_1[0x1a] = 0xf; + param_1[0x19] = 0; + *(undefined1 *)(param_1 + 0x17) = 0; + param_1[0x1f] = 0xf; + param_1[0x1e] = 0; + *(undefined1 *)(param_1 + 0x1c) = 0; + param_1[0x24] = 0xf; + param_1[0x23] = 0; + *(undefined1 *)(param_1 + 0x21) = 0; + param_1[0x26] = 0; + param_1[0x27] = 0; + *(undefined4 *)(param_1 + 0x28) = 1; + *(undefined4 *)((longlong)param_1 + 0x144) = 1; + param_1[0x29] = 1; + *(undefined2 *)(param_1 + 0x2a) = 0; + *(undefined1 *)((longlong)param_1 + 0x152) = 0; + *(undefined8 *)((longlong)param_1 + 0x154) = 0; + *(undefined8 *)((longlong)param_1 + 0x15c) = 1; + *(undefined2 *)((longlong)param_1 + 0x164) = 1; + *(undefined1 *)((longlong)param_1 + 0x166) = 1; + param_1[0x2d] = 0; + *(undefined2 *)(param_1 + 0x2e) = 0; + param_1[0x2f] = 0; + *(undefined1 *)(param_1 + 0x30) = 1; + param_1[0x31] = 0; + param_1[0x32] = 0; + param_1[0x33] = 0; + local_1a0 = param_1; + FUN_14000c1f0(param_1 + 0x35); + *(undefined1 *)(param_1 + 0x3d) = 0; + *(undefined4 *)((longlong)param_1 + 0x1ec) = 0; + param_1[0x3e] = 0; + local_1c8 = Proud::CFastArray,0>::vftable; + local_1c0 = (longlong *)0x0; + local_1b8 = (longlong *)0x0; + local_1b0 = 0; + local_1a8 = 0; + FUN_140042ca0((longlong)&local_1c8,param_2,param_3,param_4); + local_178 = 7; + local_180 = 0; + local_190 = 0; + local_150 = 0xf; + local_158 = 0; + local_168 = 0; + if (0 < (int)local_1b0) { + pCVar3 = (LPCSTR)*local_1b8; + if ((LPCSTR)*local_1b8 == (LPCSTR)0x0) { + pCVar3 = PTR_DAT_14016f008; + } + local_138 = local_130; + FUN_140005110((longlong *)&local_138,pCVar3,3); + uVar2 = 0xffffffffffffffff; + psVar4 = local_138; + do { + if (uVar2 == 0) break; + uVar2 = uVar2 - 1; + sVar1 = *psVar4; + psVar4 = psVar4 + 1; + } while (sVar1 != 0); + param_3 = ~uVar2 - 1; + FUN_140001710((ulonglong *)&local_190,local_138,param_3); + if (local_138 != local_130) { + free(local_138); + } + } + if (7 < local_178) { + operator_delete((void *)CONCAT62(uStack_18e,local_190)); + } + local_178 = 7; + local_180 = 0; + local_190 = 0; + local_1c8 = Proud::CFastArray,0>::vftable; + if (0 < (int)local_1b0) { + FUN_1400368b0(local_1b8,(longlong)(int)local_1b0,param_3,param_4); + } + if (local_1b8 != (longlong *)0x0) { + if (local_1c0 == (longlong *)0x0) { + FUN_14003e8b0(local_1b8); + } + else { + (**(code **)(*local_1c0 + 0x18))(local_1c0,local_1b8); + } + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002fa50.c b/decomp/AgentManager_Release_x64/full/functions/0x14002fa50.c new file mode 100644 index 00000000..1a8151ca --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002fa50.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002fa50 FUN_14002fa50 + * Pseudocode, not original source. */ + +undefined8 * FUN_14002fa50(undefined8 *param_1,uint param_2) + +{ + FUN_14002fa80(param_1); + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002fa80.c b/decomp/AgentManager_Release_x64/full/functions/0x14002fa80.c new file mode 100644 index 00000000..31565394 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002fa80.c @@ -0,0 +1,59 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002fa80 FUN_14002fa80 + * Pseudocode, not original source. */ + +void FUN_14002fa80(undefined8 *param_1) + +{ + *param_1 = MagiServerOption::vftable; + if (param_1[0x35] != 0) { + FUN_140036960(param_1 + 0x35); + } + FUN_140035ee0(param_1 + 0x31); + if (0xf < (ulonglong)param_1[0x24]) { + operator_delete((void *)param_1[0x21]); + } + param_1[0x24] = 0xf; + param_1[0x23] = 0; + *(undefined1 *)(param_1 + 0x21) = 0; + if (0xf < (ulonglong)param_1[0x1f]) { + operator_delete((void *)param_1[0x1c]); + } + param_1[0x1f] = 0xf; + param_1[0x1e] = 0; + *(undefined1 *)(param_1 + 0x1c) = 0; + if (0xf < (ulonglong)param_1[0x1a]) { + operator_delete((void *)param_1[0x17]); + } + param_1[0x1a] = 0xf; + param_1[0x19] = 0; + *(undefined1 *)(param_1 + 0x17) = 0; + if (0xf < (ulonglong)param_1[0x15]) { + operator_delete((void *)param_1[0x12]); + } + param_1[0x15] = 0xf; + param_1[0x14] = 0; + *(undefined1 *)(param_1 + 0x12) = 0; + if (7 < (ulonglong)param_1[0xe]) { + operator_delete((void *)param_1[0xb]); + } + param_1[0xe] = 7; + param_1[0xd] = 0; + *(undefined2 *)(param_1 + 0xb) = 0; + if (7 < (ulonglong)param_1[9]) { + operator_delete((void *)param_1[6]); + } + param_1[9] = 7; + param_1[8] = 0; + *(undefined2 *)(param_1 + 6) = 0; + if (7 < (ulonglong)param_1[4]) { + operator_delete((void *)param_1[1]); + } + param_1[4] = 7; + param_1[3] = 0; + *(undefined2 *)(param_1 + 1) = 0; + DAT_14017cf28 = 0; + *param_1 = MBISingleton::vftable; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002fc00.c b/decomp/AgentManager_Release_x64/full/functions/0x14002fc00.c new file mode 100644 index 00000000..ab03a8c9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002fc00.c @@ -0,0 +1,136 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002fc00 FUN_14002fc00 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +ulonglong FUN_14002fc00(longlong param_1,LPCWSTR param_2,undefined8 param_3,undefined8 param_4) + +{ + WCHAR WVar1; + ulonglong uVar2; + DWORD DVar3; + errno_t eVar4; + int iVar5; + ulonglong *puVar6; + ulonglong uVar7; + char *_Str; + LPCWSTR pWVar8; + ulonglong *puVar9; + undefined1 auStack_f8 [32]; + undefined8 local_d8; + undefined4 local_d0; + __time64_t local_c8 [2]; + short local_b8; + short local_b6; + undefined2 local_b4; + undefined2 local_b2; + undefined2 local_b0; + undefined2 local_ae; + undefined2 local_ac; + undefined2 local_aa; + tm local_a8; + undefined1 local_80; + undefined7 uStack_7f; + undefined8 local_70; + ulonglong local_68; + undefined8 local_58; + undefined8 local_50; + undefined1 local_48; + undefined7 uStack_47; + undefined8 local_38; + ulonglong local_30; + ulonglong local_20; + + local_c8[1] = 0xfffffffffffffffe; + local_20 = DAT_14016f5a0 ^ (ulonglong)auStack_f8; + DVar3 = GetCurrentProcessId(); + *(DWORD *)(param_1 + 0x1ec) = DVar3; + local_c8[0] = _time64((__time64_t *)0x0); + local_d8 = 0; + local_d0 = 0; + eVar4 = _localtime64_s(&local_a8,local_c8); + if (eVar4 == 0) { + local_b8 = (short)local_a8.tm_year + 0x76c; + local_b6 = (short)local_a8.tm_mon + 1; + local_b4 = (undefined2)local_a8.tm_wday; + local_b2 = (undefined2)local_a8.tm_mday; + local_b0 = (undefined2)local_a8.tm_hour; + local_ae = (undefined2)local_a8.tm_min; + local_ac = (undefined2)local_a8.tm_sec; + local_aa = 0; + iVar5 = Ordinal_184(&local_b8,&local_d8); + local_58 = 0; + local_50 = 0; + if (iVar5 != 0) { + Ordinal_185(local_d8,&local_58); + } + } + *(undefined8 *)(param_1 + 0x1f0) = local_d8; + if (((ushort)*param_2 < 0x30) || (0x39 < (ushort)*param_2)) { + uVar7 = FUN_140031000(param_1,param_2); + } + else { + wprintf(L"\t-AGNET MODE-\t \n"); + local_a8.tm_wday = 7; + local_a8.tm_yday = 0; + local_a8.tm_mon = 0; + local_a8.tm_year = 0; + local_a8.tm_sec._0_2_ = 0; + uVar7 = 0xffffffffffffffff; + pWVar8 = param_2; + do { + if (uVar7 == 0) break; + uVar7 = uVar7 - 1; + WVar1 = *pWVar8; + pWVar8 = pWVar8 + 1; + } while (WVar1 != L'\0'); + FUN_140001710((ulonglong *)&local_a8,param_2,~uVar7 - 1); + puVar6 = FUN_1400ed7b0((ulonglong *)&local_48,(LPCWSTR)&local_a8); + if (0xf < puVar6[3]) { + puVar6 = (ulonglong *)*puVar6; + } + local_68 = 0xf; + local_70 = 0; + local_80 = '\0'; + uVar7 = 0xffffffffffffffff; + puVar9 = puVar6; + do { + if (uVar7 == 0) break; + uVar7 = uVar7 - 1; + uVar2 = *puVar9; + puVar9 = (ulonglong *)((longlong)puVar9 + 1); + } while ((char)uVar2 != '\0'); + uVar7 = ~uVar7 - 1; + FUN_14000c9e0((ulonglong *)&local_80,puVar6,uVar7); + if (0xf < local_30) { + operator_delete((void *)CONCAT71(uStack_47,local_48)); + } + local_30 = 0xf; + local_38 = 0; + local_48 = 0; + if (7 < (ulonglong)local_a8._24_8_) { + operator_delete((void *)CONCAT26(local_a8.tm_min._2_2_, + CONCAT24((undefined2)local_a8.tm_min, + CONCAT22(local_a8.tm_sec._2_2_, + (undefined2)local_a8.tm_sec)))); + } + local_a8.tm_wday = 7; + local_a8.tm_yday = 0; + local_a8.tm_mon = 0; + local_a8.tm_year = 0; + local_a8.tm_sec._0_2_ = 0; + _Str = &local_80; + if (0xf < local_68) { + _Str = (char *)CONCAT71(uStack_7f,local_80); + } + iVar5 = atoi(_Str); + uVar7 = FUN_140030300(param_1,iVar5,uVar7,param_4); + if (0xf < local_68) { + operator_delete((void *)CONCAT71(uStack_7f,local_80)); + } + uVar7 = uVar7 & 0xff; + } + return uVar7; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14002fe40.c b/decomp/AgentManager_Release_x64/full/functions/0x14002fe40.c new file mode 100644 index 00000000..b96bb26a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14002fe40.c @@ -0,0 +1,238 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14002fe40 FUN_14002fe40 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* WARNING: Type propagation algorithm not settling */ + +undefined8 FUN_14002fe40(longlong param_1,undefined4 *param_2) + +{ + short sVar1; + char cVar2; + int iVar3; + undefined **ppuVar4; + undefined **extraout_RAX; + longlong lVar5; + undefined **extraout_RAX_00; + ulonglong uVar6; + longlong lVar7; + longlong lVar8; + short *psVar9; + char *******pppppppcVar10; + char *pcVar11; + longlong *plVar12; + short *psVar13; + char *pcVar14; + bool bVar15; + undefined1 auStack_128 [32]; + undefined **local_108 [5]; + longlong *local_e0; + undefined8 *local_d0; + void *local_c8; + uint local_ac; + undefined8 *local_a8; + void *local_a0; + undefined8 local_88; + char *******local_80 [3]; + ulonglong local_68; + WCHAR local_58; + undefined6 uStack_56; + undefined8 local_48; + ulonglong local_40; + ulonglong local_30; + + local_88 = 0xfffffffffffffffe; + local_30 = DAT_14016f5a0 ^ (ulonglong)auStack_128; + *(undefined4 *)(param_1 + 0x140) = *param_2; + *(undefined1 *)(param_1 + 0x1e8) = *(undefined1 *)(param_2 + 3); + FUN_140001630((longlong *)(param_1 + 8),(longlong *)(param_2 + 0x1e),0,0xffffffffffffffff); + FUN_140001630((longlong *)(param_1 + 0x30),(longlong *)(param_2 + 10),0,0xffffffffffffffff); + FUN_140001630((longlong *)(param_1 + 0x58),(longlong *)(param_2 + 0x14),0,0xffffffffffffffff); + *(undefined4 *)(param_1 + 0x80) = param_2[4]; + *(undefined4 *)(param_1 + 0x84) = param_2[5]; + *(undefined4 *)(param_1 + 0x88) = param_2[6]; + *(undefined4 *)(param_1 + 0x8c) = param_2[7]; + psVar9 = (short *)&DAT_1401750b0; + if (7 < DAT_1401750c8) { + psVar9 = DAT_1401750b0; + } + local_40 = 7; + lVar5 = 0; + local_48 = 0; + local_58 = L'\0'; + uVar6 = 0xffffffffffffffff; + psVar13 = psVar9; + do { + if (uVar6 == 0) break; + uVar6 = uVar6 - 1; + sVar1 = *psVar13; + psVar13 = psVar13 + 1; + } while (sVar1 != 0); + FUN_140001710((ulonglong *)&local_58,psVar9,~uVar6 - 1); + FUN_1400ed7b0((ulonglong *)local_80,&local_58); + if (7 < local_40) { + operator_delete((void *)CONCAT62(uStack_56,local_58)); + } + local_40 = 7; + local_48 = 0; + local_58 = L'\0'; + pppppppcVar10 = (char *******)local_80; + if (0xf < local_68) { + pppppppcVar10 = local_80[0]; + } + FUN_14001f6d0(local_108,(char *)pppppppcVar10); + DAT_140174c28 = 0; + uVar6 = FUN_14001f7a0((longlong *)local_108,(char *)(local_d0 + 2)); + plVar12 = local_e0; + if ((char)uVar6 == '\0') { + pppppppcVar10 = (char *******)local_80; + if (0xf < local_68) { + pppppppcVar10 = local_80[0]; + } + FUN_14001e070("Error File Name %s : %d - %s",pppppppcVar10,(ulonglong)local_ac,local_a8 + 2); + local_108[0] = TiXmlDocument::vftable; + if (local_a8 != &DAT_14017ce88) { + operator_delete__(local_a0); + } + local_108[0] = TiXmlNode::vftable; + while (local_e0 != (longlong *)0x0) { + plVar12 = (longlong *)local_e0[10]; + (**(code **)*local_e0)(local_e0,1); + local_e0 = plVar12; + } + if (local_d0 != &DAT_14017ce88) { + operator_delete__(local_c8); + } + ppuVar4 = TiXmlBase::vftable; + local_108[0] = TiXmlBase::vftable; + if (0xf < local_68) { + operator_delete(local_80[0]); + ppuVar4 = extraout_RAX; + } + return (ulonglong)ppuVar4 & 0xffffffffffffff00; + } + for (; plVar12 != (longlong *)0x0; plVar12 = (longlong *)plVar12[10]) { + bVar15 = (char *)(plVar12[7] + 0x10) == (char *)0x0; + lVar7 = 3; + pcVar11 = (char *)(plVar12[7] + 0x10); + pcVar14 = "db"; + do { + if (lVar7 == 0) break; + lVar7 = lVar7 + -1; + bVar15 = *pcVar11 == *pcVar14; + pcVar11 = pcVar11 + 1; + pcVar14 = pcVar14 + 1; + } while (bVar15); + if (bVar15) goto LAB_140030083; + } +LAB_1400300c0: + cVar2 = *(char *)(param_1 + 0x1e8); + if (cVar2 == '\x05') { + *(undefined4 *)(param_1 + 0x158) = 1; + } + else { + if (cVar2 == '\f') { + if (lVar5 == 0) goto LAB_140030257; + pcVar11 = "game"; + } + else if (cVar2 == '\x11') { + if (lVar5 == 0) goto LAB_140030257; + pcVar11 = "log"; + } + else if (cVar2 == '\x12') { + if (lVar5 == 0) goto LAB_140030257; + pcVar11 = "chat"; + } + else { + if ((cVar2 != '\x13') || (lVar5 == 0)) goto LAB_140030257; + pcVar11 = "emergency"; + } + lVar5 = FUN_14001ee20(lVar5,(longlong)pcVar11); + if (lVar5 != 0) { + lVar7 = FUN_14001ee20(lVar5,0x140133c50); + if (lVar7 != 0) { + FUN_140033470((ulonglong *)(param_1 + 0x90),(int *)(param_1 + 0x130),lVar7); + } + lVar7 = FUN_14001ee20(lVar5,0x140133c5c); + if (lVar7 != 0) { + FUN_140033470((ulonglong *)(param_1 + 0xb8),(int *)(param_1 + 0x134),lVar7); + } + lVar7 = FUN_14001ee20(lVar5,0x140133c68); + if (lVar7 != 0) { + FUN_140033470((ulonglong *)(param_1 + 0xe0),(int *)(param_1 + 0x138),lVar7); + } + lVar7 = FUN_14001ee20(lVar5,0x140133c70); + if (lVar7 != 0) { + FUN_140033470((ulonglong *)(param_1 + 0x108),(int *)(param_1 + 0x13c),lVar7); + } + lVar5 = FUN_14001ee20(lVar5,0x140133c78); + if (lVar5 != 0) { + for (lVar7 = *(longlong *)(lVar5 + 0xa0); lVar7 != lVar5 + 0x58; + lVar7 = *(longlong *)(lVar7 + 0x48)) { + pcVar11 = (char *)(*(longlong *)(lVar7 + 0x20) + 0x10); + bVar15 = pcVar11 == (char *)0x0; + lVar8 = 6; + pcVar14 = "count"; + do { + if (lVar8 == 0) break; + lVar8 = lVar8 + -1; + bVar15 = *pcVar11 == *pcVar14; + pcVar11 = pcVar11 + 1; + pcVar14 = pcVar14 + 1; + } while (bVar15); + if (bVar15) { + pcVar11 = (char *)(*(longlong *)(lVar7 + 0x30) + 0x10); + if (pcVar11 != (char *)0x0) { + iVar3 = atoi(pcVar11); + *(int *)(param_1 + 0x14c) = iVar3; + } + break; + } + } + } + } + } +LAB_140030257: + local_108[0] = TiXmlDocument::vftable; + if (local_a8 != &DAT_14017ce88) { + operator_delete__(local_a0); + } + local_108[0] = TiXmlNode::vftable; + while (local_e0 != (longlong *)0x0) { + plVar12 = (longlong *)local_e0[10]; + (**(code **)*local_e0)(local_e0,1); + local_e0 = plVar12; + } + if (local_d0 != &DAT_14017ce88) { + operator_delete__(local_c8); + } + ppuVar4 = TiXmlBase::vftable; + local_108[0] = TiXmlBase::vftable; + if (0xf < local_68) { + operator_delete(local_80[0]); + ppuVar4 = extraout_RAX_00; + } + return CONCAT71((int7)((ulonglong)ppuVar4 >> 8),1); +LAB_140030083: + while (lVar7 = (**(code **)(*plVar12 + 0x30))(plVar12), lVar7 == 0) { + do { + plVar12 = (longlong *)plVar12[10]; + if (plVar12 == (longlong *)0x0) goto LAB_1400300c0; + bVar15 = (char *)(plVar12[7] + 0x10) == (char *)0x0; + lVar7 = 3; + pcVar11 = (char *)(plVar12[7] + 0x10); + pcVar14 = "db"; + do { + if (lVar7 == 0) break; + lVar7 = lVar7 + -1; + bVar15 = *pcVar11 == *pcVar14; + pcVar11 = pcVar11 + 1; + pcVar14 = pcVar14 + 1; + } while (bVar15); + } while (!bVar15); + } + lVar5 = (**(code **)(*plVar12 + 0x30))(plVar12); + goto LAB_1400300c0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140030300.c b/decomp/AgentManager_Release_x64/full/functions/0x140030300.c new file mode 100644 index 00000000..f32cc864 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140030300.c @@ -0,0 +1,786 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140030300 FUN_140030300 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* WARNING: Type propagation algorithm not settling */ + +undefined8 FUN_140030300(longlong param_1,int param_2,undefined8 param_3,undefined8 param_4) + +{ + short sVar1; + int iVar2; + undefined **ppuVar3; + undefined **extraout_RAX; + longlong lVar4; + undefined **extraout_RAX_00; + ulonglong uVar5; + longlong lVar6; + longlong lVar7; + longlong lVar8; + short **ppsVar9; + char *******pppppppcVar10; + longlong *plVar11; + longlong *plVar12; + char *pcVar13; + char *pcVar14; + char *pcVar15; + char *pcVar16; + char *pcVar17; + char *pcVar18; + short **ppsVar19; + char *pcVar20; + char *_Str; + bool bVar21; + undefined1 auStack_278 [32]; + undefined4 local_258; + undefined **local_248 [5]; + longlong *local_220; + undefined8 *local_210; + void *local_208; + uint local_1ec; + undefined8 *local_1e8; + void *local_1e0; + undefined8 local_1c8; + undefined *local_1b8; + undefined **local_1b0 [14]; + undefined8 local_140; + undefined4 local_138; + basic_ios_> local_130 [104]; + WCHAR local_c8; + undefined6 uStack_c6; + undefined8 local_b8; + ulonglong local_b0; + void *local_a0 [2]; + undefined8 local_90; + ulonglong local_88; + char *******local_78 [3]; + ulonglong local_60; + ulonglong local_48; + + local_1c8 = 0xfffffffffffffffe; + local_48 = DAT_14016f5a0 ^ (ulonglong)auStack_278; + _Str = (char *)0x0; + local_258 = 0; + ppsVar9 = &DAT_1401750b0; + if (7 < DAT_1401750c8) { + ppsVar9 = (short **)DAT_1401750b0; + } + local_b0 = 7; + local_b8 = 0; + local_c8 = L'\0'; + uVar5 = 0xffffffffffffffff; + ppsVar19 = ppsVar9; + do { + if (uVar5 == 0) break; + uVar5 = uVar5 - 1; + sVar1 = *(short *)ppsVar19; + ppsVar19 = (short **)((longlong)ppsVar19 + 2); + } while (sVar1 != 0); + FUN_140001710((ulonglong *)&local_c8,ppsVar9,~uVar5 - 1); + FUN_1400ed7b0((ulonglong *)local_78,&local_c8); + if (7 < local_b0) { + operator_delete((void *)CONCAT62(uStack_c6,local_c8)); + } + local_b0 = 7; + local_b8 = 0; + local_c8 = L'\0'; + pppppppcVar10 = (char *******)local_78; + if (0xf < local_60) { + pppppppcVar10 = local_78[0]; + } + FUN_14001f6d0(local_248,(char *)pppppppcVar10); + DAT_140174c28 = 0; + uVar5 = FUN_14001f7a0((longlong *)local_248,(char *)(local_210 + 2)); + if ((char)uVar5 == '\0') { + FUN_14001e070("Error : %d - %s",(ulonglong)local_1ec,local_1e8 + 2,param_4); + local_248[0] = TiXmlDocument::vftable; + if (local_1e8 != &DAT_14017ce88) { + operator_delete__(local_1e0); + } + local_248[0] = TiXmlNode::vftable; + while (local_220 != (longlong *)0x0) { + plVar12 = (longlong *)local_220[10]; + (**(code **)*local_220)(local_220,1); + local_220 = plVar12; + } + if (local_210 != &DAT_14017ce88) { + operator_delete__(local_208); + } + ppuVar3 = TiXmlBase::vftable; + local_248[0] = TiXmlBase::vftable; + if (0xf < local_60) { + operator_delete(local_78[0]); + ppuVar3 = extraout_RAX; + } + return (ulonglong)ppuVar3 & 0xffffffffffffff00; + } + if ((*(byte *)(param_1 + 0x1e8) < 0xd) || + (plVar12 = local_220, (byte)(*(byte *)(param_1 + 0x1e8) - 0x11) < 3)) { + FUN_140033ff0(param_1); + plVar12 = local_220; + } + for (; plVar12 != (longlong *)0x0; plVar12 = (longlong *)plVar12[10]) { + bVar21 = (char *)(plVar12[7] + 0x10) == (char *)0x0; + lVar6 = 0xd; + pcVar13 = (char *)(plVar12[7] + 0x10); + pcVar14 = "agentmanager"; + do { + if (lVar6 == 0) break; + lVar6 = lVar6 + -1; + bVar21 = *pcVar13 == *pcVar14; + pcVar13 = pcVar13 + 1; + pcVar14 = pcVar14 + 1; + } while (bVar21); + if (bVar21) goto LAB_140030523; + } +LAB_140030584: + *(int *)(param_1 + 0x154) = param_2; + *(undefined1 *)(param_1 + 0x150) = 1; + local_1b8 = &DAT_1401345f0; + std::basic_ios_>::basic_ios_>(local_130); + local_258 = 1; + std::basic_ostream_>::basic_ostream_> + ((basic_ostream_> *)&local_1b8, + (basic_streambuf_> *)local_1b0,false); + *(undefined ***)((longlong)local_1b0 + (longlong)*(int *)(local_1b8 + 4) + -8) = + std::basic_ostringstream,std::allocator_>::vftable; + std::basic_streambuf_>::basic_streambuf_> + ((basic_streambuf_> *)local_1b0); + local_1b0[0] = std::basic_stringbuf,std::allocator_>::vftable; + local_140 = 0; + local_138 = 4; + std::basic_ostream_>::operator<< + ((basic_ostream_> *)&local_1b8,param_2); + FUN_140034d90((longlong)&local_1b8,local_a0); + for (plVar12 = local_220; plVar11 = local_220, plVar12 != (longlong *)0x0; + plVar12 = (longlong *)plVar12[10]) { + bVar21 = (char *)(plVar12[7] + 0x10) == (char *)0x0; + lVar6 = 0xc; + pcVar13 = (char *)(plVar12[7] + 0x10); + pcVar14 = "each_option"; + do { + if (lVar6 == 0) break; + lVar6 = lVar6 + -1; + bVar21 = *pcVar13 == *pcVar14; + pcVar13 = pcVar13 + 1; + pcVar14 = pcVar14 + 1; + } while (bVar21); + if (bVar21) goto LAB_140030656; + } +joined_r0x0001400307db: + do { + plVar12 = local_220; + if (plVar11 == (longlong *)0x0) goto joined_r0x0001400308a7; + bVar21 = (char *)(plVar11[7] + 0x10) == (char *)0x0; + lVar6 = 4; + pcVar13 = (char *)(plVar11[7] + 0x10); + pcVar14 = "dns"; + do { + if (lVar6 == 0) break; + lVar6 = lVar6 + -1; + bVar21 = *pcVar13 == *pcVar14; + pcVar13 = pcVar13 + 1; + pcVar14 = pcVar14 + 1; + } while (bVar21); + if (bVar21) goto LAB_140030807; + plVar11 = (longlong *)plVar11[10]; + } while( true ); +LAB_140030523: + while (lVar6 = (**(code **)(*plVar12 + 0x30))(plVar12), lVar6 == 0) { + do { + plVar12 = (longlong *)plVar12[10]; + if (plVar12 == (longlong *)0x0) goto LAB_140030584; + bVar21 = (char *)(plVar12[7] + 0x10) == (char *)0x0; + lVar6 = 0xd; + pcVar13 = (char *)(plVar12[7] + 0x10); + pcVar14 = "agentmanager"; + do { + if (lVar6 == 0) break; + lVar6 = lVar6 + -1; + bVar21 = *pcVar13 == *pcVar14; + pcVar13 = pcVar13 + 1; + pcVar14 = pcVar14 + 1; + } while (bVar21); + } while (!bVar21); + } + lVar6 = (**(code **)(*plVar12 + 0x30))(plVar12); + if ((lVar6 != 0) && (lVar6 = FUN_14001ee20(lVar6,0x140130780), lVar6 != 0)) { + FUN_140033550(param_1,lVar6,0x15); + } + goto LAB_140030584; +LAB_140030656: + while (lVar6 = (**(code **)(*plVar12 + 0x30))(plVar12), lVar6 == 0) { + do { + plVar12 = (longlong *)plVar12[10]; + plVar11 = local_220; + if (plVar12 == (longlong *)0x0) goto joined_r0x0001400307db; + bVar21 = (char *)(plVar12[7] + 0x10) == (char *)0x0; + lVar6 = 0xc; + pcVar13 = (char *)(plVar12[7] + 0x10); + pcVar14 = "each_option"; + do { + if (lVar6 == 0) break; + lVar6 = lVar6 + -1; + bVar21 = *pcVar13 == *pcVar14; + pcVar13 = pcVar13 + 1; + pcVar14 = pcVar14 + 1; + } while (bVar21); + } while (!bVar21); + } + lVar6 = (**(code **)(*plVar12 + 0x30))(plVar12); + plVar11 = local_220; + if (lVar6 != 0) { + for (plVar12 = *(longlong **)(lVar6 + 0x28); pcVar13 = _Str, plVar12 != (longlong *)0x0; + plVar12 = (longlong *)plVar12[10]) { + lVar6 = (**(code **)(*plVar12 + 0x30))(plVar12); + if (lVar6 != 0) { + pcVar13 = (char *)(**(code **)(*plVar12 + 0x30))(plVar12); + break; + } + } +joined_r0x0001400306d3: + plVar11 = local_220; + if (pcVar13 != (char *)0x0) { + pcVar14 = (char *)(*(longlong *)(pcVar13 + 0x38) + 0x10); + if (pcVar14 != (char *)0x0) { + for (pcVar15 = *(char **)(pcVar13 + 0xa0); pcVar15 != pcVar13 + 0x58; + pcVar15 = *(char **)(pcVar15 + 0x48)) { + bVar21 = (char *)(*(longlong *)(pcVar15 + 0x20) + 0x10) == (char *)0x0; + lVar6 = 5; + pcVar16 = (char *)(*(longlong *)(pcVar15 + 0x20) + 0x10); + pcVar17 = "code"; + do { + if (lVar6 == 0) break; + lVar6 = lVar6 + -1; + bVar21 = *pcVar16 == *pcVar17; + pcVar16 = pcVar16 + 1; + pcVar17 = pcVar17 + 1; + } while (bVar21); + if (bVar21) { + if ((char *)(*(longlong *)(pcVar15 + 0x30) + 0x10) != (char *)0x0) { + pcVar16 = (char *)local_a0; + if (0xf < local_88) { + pcVar16 = (char *)CONCAT71(local_a0[0]._1_7_,(char)local_a0[0]); + } + iVar2 = _stricmp(pcVar16,(char *)(*(longlong *)(pcVar15 + 0x30) + 0x10)); + if (iVar2 == 0) { + iVar2 = _stricmp(pcVar14,"guild"); + if (iVar2 == 0) { + *(undefined4 *)(param_1 + 0x158) = 1; + } + else { + iVar2 = _stricmp(pcVar14,"api"); + if (iVar2 == 0) { + FUN_140033550(param_1,(longlong)pcVar13,0x17); + } + } + } + } + break; + } + } + } + for (plVar12 = *(longlong **)(pcVar13 + 0x50); pcVar13 = _Str, plVar12 != (longlong *)0x0; + plVar12 = (longlong *)plVar12[10]) { + lVar6 = (**(code **)(*plVar12 + 0x30))(plVar12); + if (lVar6 != 0) { + pcVar13 = (char *)(**(code **)(*plVar12 + 0x30))(plVar12); + break; + } + } + goto joined_r0x0001400306d3; + } + } + goto joined_r0x0001400307db; +LAB_140030807: + while (lVar6 = (**(code **)(*plVar11 + 0x30))(plVar11), lVar6 == 0) { + do { + plVar11 = (longlong *)plVar11[10]; + plVar12 = local_220; + if (plVar11 == (longlong *)0x0) goto joined_r0x0001400308a7; + bVar21 = (char *)(plVar11[7] + 0x10) == (char *)0x0; + lVar6 = 4; + pcVar13 = (char *)(plVar11[7] + 0x10); + pcVar14 = "dns"; + do { + if (lVar6 == 0) break; + lVar6 = lVar6 + -1; + bVar21 = *pcVar13 == *pcVar14; + pcVar13 = pcVar13 + 1; + pcVar14 = pcVar14 + 1; + } while (bVar21); + } while (!bVar21); + } + lVar6 = (**(code **)(*plVar11 + 0x30))(plVar11); + plVar12 = local_220; + if (lVar6 != 0) { + for (lVar8 = *(longlong *)(lVar6 + 0xa0); lVar8 != lVar6 + 0x58; + lVar8 = *(longlong *)(lVar8 + 0x48)) { + pcVar13 = (char *)(*(longlong *)(lVar8 + 0x20) + 0x10); + bVar21 = pcVar13 == (char *)0x0; + lVar4 = 4; + pcVar14 = "dns"; + do { + if (lVar4 == 0) break; + lVar4 = lVar4 + -1; + bVar21 = *pcVar13 == *pcVar14; + pcVar13 = pcVar13 + 1; + pcVar14 = pcVar14 + 1; + } while (bVar21); + if (bVar21) { + pcVar13 = (char *)(*(longlong *)(lVar8 + 0x30) + 0x10); + if (pcVar13 != (char *)0x0) { + iVar2 = atoi(pcVar13); + *(bool *)(param_1 + 0x151) = 0 < iVar2; + plVar12 = local_220; + } + break; + } + } + } +joined_r0x0001400308a7: + do { + plVar11 = local_220; + if (plVar12 == (longlong *)0x0) goto joined_r0x000140030977; + bVar21 = (char *)(plVar12[7] + 0x10) == (char *)0x0; + lVar6 = 0xb; + pcVar13 = (char *)(plVar12[7] + 0x10); + pcVar14 = "code_start"; + do { + if (lVar6 == 0) break; + lVar6 = lVar6 + -1; + bVar21 = *pcVar13 == *pcVar14; + pcVar13 = pcVar13 + 1; + pcVar14 = pcVar14 + 1; + } while (bVar21); + if (bVar21) break; + plVar12 = (longlong *)plVar12[10]; + } while( true ); + while (lVar6 = (**(code **)(*plVar12 + 0x30))(plVar12), lVar6 == 0) { + do { + plVar12 = (longlong *)plVar12[10]; + plVar11 = local_220; + if (plVar12 == (longlong *)0x0) goto joined_r0x000140030977; + bVar21 = (char *)(plVar12[7] + 0x10) == (char *)0x0; + lVar6 = 0xb; + pcVar13 = (char *)(plVar12[7] + 0x10); + pcVar14 = "code_start"; + do { + if (lVar6 == 0) break; + lVar6 = lVar6 + -1; + bVar21 = *pcVar13 == *pcVar14; + pcVar13 = pcVar13 + 1; + pcVar14 = pcVar14 + 1; + } while (bVar21); + } while (!bVar21); + } + lVar6 = (**(code **)(*plVar12 + 0x30))(plVar12); + plVar11 = local_220; + if (lVar6 != 0) { + for (lVar8 = *(longlong *)(lVar6 + 0xa0); lVar8 != lVar6 + 0x58; + lVar8 = *(longlong *)(lVar8 + 0x48)) { + pcVar13 = (char *)(*(longlong *)(lVar8 + 0x20) + 0x10); + bVar21 = pcVar13 == (char *)0x0; + lVar4 = 0xb; + pcVar14 = "code_start"; + do { + if (lVar4 == 0) break; + lVar4 = lVar4 + -1; + bVar21 = *pcVar13 == *pcVar14; + pcVar13 = pcVar13 + 1; + pcVar14 = pcVar14 + 1; + } while (bVar21); + if (bVar21) { + pcVar13 = (char *)(*(longlong *)(lVar8 + 0x30) + 0x10); + if (pcVar13 != (char *)0x0) { + iVar2 = atoi(pcVar13); + *(bool *)(param_1 + 0x152) = 0 < iVar2; + plVar11 = local_220; + } + break; + } + } + } +joined_r0x000140030977: + do { + if (plVar11 == (longlong *)0x0) goto LAB_140030bbc; + bVar21 = (char *)(plVar11[7] + 0x10) == (char *)0x0; + lVar6 = 8; + pcVar13 = (char *)(plVar11[7] + 0x10); + pcVar14 = "setting"; + do { + if (lVar6 == 0) break; + lVar6 = lVar6 + -1; + bVar21 = *pcVar13 == *pcVar14; + pcVar13 = pcVar13 + 1; + pcVar14 = pcVar14 + 1; + } while (bVar21); + if (bVar21) break; + plVar11 = (longlong *)plVar11[10]; + } while( true ); + while (lVar6 = (**(code **)(*plVar11 + 0x30))(plVar11), lVar6 == 0) { + do { + plVar11 = (longlong *)plVar11[10]; + if (plVar11 == (longlong *)0x0) goto LAB_140030bbc; + bVar21 = (char *)(plVar11[7] + 0x10) == (char *)0x0; + lVar6 = 8; + pcVar13 = (char *)(plVar11[7] + 0x10); + pcVar14 = "setting"; + do { + if (lVar6 == 0) break; + lVar6 = lVar6 + -1; + bVar21 = *pcVar13 == *pcVar14; + pcVar13 = pcVar13 + 1; + pcVar14 = pcVar14 + 1; + } while (bVar21); + } while (!bVar21); + } + lVar6 = (**(code **)(*plVar11 + 0x30))(plVar11); + if (lVar6 != 0) { + lVar4 = lVar6 + 0x58; + for (lVar8 = *(longlong *)(lVar6 + 0xa0); pcVar13 = _Str, lVar8 != lVar4; + lVar8 = *(longlong *)(lVar8 + 0x48)) { + pcVar13 = (char *)(*(longlong *)(lVar8 + 0x20) + 0x10); + bVar21 = pcVar13 == (char *)0x0; + lVar7 = 6; + pcVar14 = "multi"; + do { + if (lVar7 == 0) break; + lVar7 = lVar7 + -1; + bVar21 = *pcVar13 == *pcVar14; + pcVar13 = pcVar13 + 1; + pcVar14 = pcVar14 + 1; + } while (bVar21); + if (bVar21) { + pcVar13 = (char *)(*(longlong *)(lVar8 + 0x30) + 0x10); + break; + } + } + for (lVar8 = *(longlong *)(lVar6 + 0xa0); pcVar14 = _Str, lVar8 != lVar4; + lVar8 = *(longlong *)(lVar8 + 0x48)) { + pcVar14 = (char *)(*(longlong *)(lVar8 + 0x20) + 0x10); + bVar21 = pcVar14 == (char *)0x0; + lVar7 = 5; + pcVar15 = "lock"; + do { + if (lVar7 == 0) break; + lVar7 = lVar7 + -1; + bVar21 = *pcVar14 == *pcVar15; + pcVar14 = pcVar14 + 1; + pcVar15 = pcVar15 + 1; + } while (bVar21); + if (bVar21) { + pcVar14 = (char *)(*(longlong *)(lVar8 + 0x30) + 0x10); + break; + } + } + for (lVar8 = *(longlong *)(lVar6 + 0xa0); pcVar15 = _Str, lVar8 != lVar4; + lVar8 = *(longlong *)(lVar8 + 0x48)) { + pcVar15 = (char *)(*(longlong *)(lVar8 + 0x20) + 0x10); + bVar21 = pcVar15 == (char *)0x0; + lVar7 = 0xd; + pcVar16 = "start_server"; + do { + if (lVar7 == 0) break; + lVar7 = lVar7 + -1; + bVar21 = *pcVar15 == *pcVar16; + pcVar15 = pcVar15 + 1; + pcVar16 = pcVar16 + 1; + } while (bVar21); + if (bVar21) { + pcVar15 = (char *)(*(longlong *)(lVar8 + 0x30) + 0x10); + break; + } + } + for (lVar8 = *(longlong *)(lVar6 + 0xa0); pcVar16 = _Str, lVar8 != lVar4; + lVar8 = *(longlong *)(lVar8 + 0x48)) { + pcVar16 = (char *)(*(longlong *)(lVar8 + 0x20) + 0x10); + bVar21 = pcVar16 == (char *)0x0; + lVar7 = 0xe; + pcVar17 = "revive_server"; + do { + if (lVar7 == 0) break; + lVar7 = lVar7 + -1; + bVar21 = *pcVar16 == *pcVar17; + pcVar16 = pcVar16 + 1; + pcVar17 = pcVar17 + 1; + } while (bVar21); + if (bVar21) { + pcVar16 = (char *)(*(longlong *)(lVar8 + 0x30) + 0x10); + break; + } + } + for (lVar6 = *(longlong *)(lVar6 + 0xa0); pcVar17 = _Str, lVar6 != lVar4; + lVar6 = *(longlong *)(lVar6 + 0x48)) { + pcVar17 = (char *)(*(longlong *)(lVar6 + 0x20) + 0x10); + bVar21 = pcVar17 == (char *)0x0; + lVar8 = 0xd; + pcVar18 = "open_channel"; + do { + if (lVar8 == 0) break; + lVar8 = lVar8 + -1; + bVar21 = *pcVar17 == *pcVar18; + pcVar17 = pcVar17 + 1; + pcVar18 = pcVar18 + 1; + } while (bVar21); + if (bVar21) { + pcVar17 = (char *)(*(longlong *)(lVar6 + 0x30) + 0x10); + break; + } + } + if (pcVar13 != (char *)0x0) { + iVar2 = atoi(pcVar13); + *(bool *)(param_1 + 0x166) = 0 < iVar2; + } + if (pcVar16 != (char *)0x0) { + iVar2 = atoi(pcVar16); + *(bool *)(param_1 + 0x171) = 0 < iVar2; + } + if (pcVar17 != (char *)0x0) { + iVar2 = atoi(pcVar17); + *(bool *)(param_1 + 0x170) = 0 < iVar2; + } + if (pcVar14 != (char *)0x0) { + iVar2 = atoi(pcVar14); + *(double *)(param_1 + 0x168) = (double)iVar2; + } + if (pcVar15 != (char *)0x0) { + iVar2 = atoi(pcVar15); + *(double *)(param_1 + 0x178) = (double)iVar2; + } + } +LAB_140030bbc: + DAT_14017c8ca = 0; + DAT_14017c8c9 = 0; + DAT_14017c8c8 = 0; + DAT_14017c8c7 = 0; + DAT_14017c8c6 = 0; + DAT_14017c8c5 = 1; + DAT_14017c8c4 = 1; + for (plVar12 = local_220; plVar12 != (longlong *)0x0; plVar12 = (longlong *)plVar12[10]) { + bVar21 = (char *)(plVar12[7] + 0x10) == (char *)0x0; + lVar6 = 8; + pcVar13 = (char *)(plVar12[7] + 0x10); + pcVar14 = "develop"; + do { + if (lVar6 == 0) break; + lVar6 = lVar6 + -1; + bVar21 = *pcVar13 == *pcVar14; + pcVar13 = pcVar13 + 1; + pcVar14 = pcVar14 + 1; + } while (bVar21); + if (bVar21) goto LAB_140030c26; + } + goto LAB_140030ed3; +LAB_140030c26: + while (lVar6 = (**(code **)(*plVar12 + 0x30))(plVar12), lVar6 == 0) { + do { + plVar12 = (longlong *)plVar12[10]; + if (plVar12 == (longlong *)0x0) goto LAB_140030ed3; + bVar21 = (char *)(plVar12[7] + 0x10) == (char *)0x0; + lVar6 = 8; + pcVar13 = (char *)(plVar12[7] + 0x10); + pcVar14 = "develop"; + do { + if (lVar6 == 0) break; + lVar6 = lVar6 + -1; + bVar21 = *pcVar13 == *pcVar14; + pcVar13 = pcVar13 + 1; + pcVar14 = pcVar14 + 1; + } while (bVar21); + } while (!bVar21); + } + lVar6 = (**(code **)(*plVar12 + 0x30))(plVar12); + if (lVar6 != 0) { + lVar4 = lVar6 + 0x58; + for (lVar8 = *(longlong *)(lVar6 + 0xa0); pcVar13 = _Str, lVar8 != lVar4; + lVar8 = *(longlong *)(lVar8 + 0x48)) { + pcVar13 = (char *)(*(longlong *)(lVar8 + 0x20) + 0x10); + bVar21 = pcVar13 == (char *)0x0; + lVar7 = 8; + pcVar14 = "preload"; + do { + if (lVar7 == 0) break; + lVar7 = lVar7 + -1; + bVar21 = *pcVar13 == *pcVar14; + pcVar13 = pcVar13 + 1; + pcVar14 = pcVar14 + 1; + } while (bVar21); + if (bVar21) { + pcVar13 = (char *)(*(longlong *)(lVar8 + 0x30) + 0x10); + break; + } + } + for (lVar8 = *(longlong *)(lVar6 + 0xa0); lVar8 != lVar4; lVar8 = *(longlong *)(lVar8 + 0x48)) { + pcVar14 = (char *)(*(longlong *)(lVar8 + 0x20) + 0x10); + bVar21 = pcVar14 == (char *)0x0; + lVar7 = 0xd; + pcVar15 = "preload_char"; + do { + if (lVar7 == 0) break; + lVar7 = lVar7 + -1; + bVar21 = *pcVar14 == *pcVar15; + pcVar14 = pcVar14 + 1; + pcVar15 = pcVar15 + 1; + } while (bVar21); + if (bVar21) { + _Str = (char *)(*(longlong *)(lVar8 + 0x30) + 0x10); + break; + } + } + for (lVar8 = *(longlong *)(lVar6 + 0xa0); lVar8 != lVar4; lVar8 = *(longlong *)(lVar8 + 0x48)) { + pcVar14 = (char *)(*(longlong *)(lVar8 + 0x20) + 0x10); + bVar21 = pcVar14 == (char *)0x0; + lVar7 = 0xc; + pcVar15 = "enemy_debug"; + do { + if (lVar7 == 0) break; + lVar7 = lVar7 + -1; + bVar21 = *pcVar14 == *pcVar15; + pcVar14 = pcVar14 + 1; + pcVar15 = pcVar15 + 1; + } while (bVar21); + if (bVar21) { + pcVar14 = (char *)(*(longlong *)(lVar8 + 0x30) + 0x10); + goto LAB_140030d30; + } + } + pcVar14 = (char *)0x0; +LAB_140030d30: + for (lVar8 = *(longlong *)(lVar6 + 0xa0); lVar8 != lVar4; lVar8 = *(longlong *)(lVar8 + 0x48)) { + pcVar15 = (char *)(*(longlong *)(lVar8 + 0x20) + 0x10); + bVar21 = pcVar15 == (char *)0x0; + lVar7 = 10; + pcVar16 = "enemy_one"; + do { + if (lVar7 == 0) break; + lVar7 = lVar7 + -1; + bVar21 = *pcVar15 == *pcVar16; + pcVar15 = pcVar15 + 1; + pcVar16 = pcVar16 + 1; + } while (bVar21); + if (bVar21) { + pcVar15 = (char *)(*(longlong *)(lVar8 + 0x30) + 0x10); + goto LAB_140030d70; + } + } + pcVar15 = (char *)0x0; +LAB_140030d70: + for (lVar8 = *(longlong *)(lVar6 + 0xa0); lVar8 != lVar4; lVar8 = *(longlong *)(lVar8 + 0x48)) { + pcVar16 = (char *)(*(longlong *)(lVar8 + 0x20) + 0x10); + bVar21 = pcVar16 == (char *)0x0; + lVar7 = 0xd; + pcVar17 = "player_debug"; + do { + if (lVar7 == 0) break; + lVar7 = lVar7 + -1; + bVar21 = *pcVar16 == *pcVar17; + pcVar16 = pcVar16 + 1; + pcVar17 = pcVar17 + 1; + } while (bVar21); + if (bVar21) { + pcVar16 = (char *)(*(longlong *)(lVar8 + 0x30) + 0x10); + goto LAB_140030db0; + } + } + pcVar16 = (char *)0x0; +LAB_140030db0: + for (lVar8 = *(longlong *)(lVar6 + 0xa0); lVar8 != lVar4; lVar8 = *(longlong *)(lVar8 + 0x48)) { + pcVar17 = (char *)(*(longlong *)(lVar8 + 0x20) + 0x10); + bVar21 = pcVar17 == (char *)0x0; + lVar7 = 9; + pcVar18 = "lua_text"; + do { + if (lVar7 == 0) break; + lVar7 = lVar7 + -1; + bVar21 = *pcVar17 == *pcVar18; + pcVar17 = pcVar17 + 1; + pcVar18 = pcVar18 + 1; + } while (bVar21); + if (bVar21) { + pcVar17 = (char *)(*(longlong *)(lVar8 + 0x30) + 0x10); + goto LAB_140030def; + } + } + pcVar17 = (char *)0x0; +LAB_140030def: + for (lVar6 = *(longlong *)(lVar6 + 0xa0); lVar6 != lVar4; lVar6 = *(longlong *)(lVar6 + 0x48)) { + pcVar18 = (char *)(*(longlong *)(lVar6 + 0x20) + 0x10); + bVar21 = pcVar18 == (char *)0x0; + lVar8 = 9; + pcVar20 = "lua_send"; + do { + if (lVar8 == 0) break; + lVar8 = lVar8 + -1; + bVar21 = *pcVar18 == *pcVar20; + pcVar18 = pcVar18 + 1; + pcVar20 = pcVar20 + 1; + } while (bVar21); + if (bVar21) { + pcVar18 = (char *)(*(longlong *)(lVar6 + 0x30) + 0x10); + goto LAB_140030e2f; + } + } + pcVar18 = (char *)0x0; +LAB_140030e2f: + if (pcVar13 != (char *)0x0) { + iVar2 = atoi(pcVar13); + DAT_14017c8c5 = 0 < iVar2; + } + if (_Str != (char *)0x0) { + iVar2 = atoi(_Str); + DAT_14017c8c4 = 0 < iVar2; + } + if (pcVar15 != (char *)0x0) { + iVar2 = atoi(pcVar15); + DAT_14017c8c9 = 0 < iVar2; + } + if (pcVar14 != (char *)0x0) { + iVar2 = atoi(pcVar14); + DAT_14017c8ca = 0 < iVar2; + } + if (pcVar16 != (char *)0x0) { + iVar2 = atoi(pcVar16); + DAT_14017c8c8 = 0 < iVar2; + } + if (pcVar17 != (char *)0x0) { + iVar2 = atoi(pcVar17); + DAT_14017c8c7 = 0 < iVar2; + } + if (pcVar18 != (char *)0x0) { + iVar2 = atoi(pcVar18); + DAT_14017c8c6 = 0 < iVar2; + } + } +LAB_140030ed3: + if (0xf < local_88) { + operator_delete((void *)CONCAT71(local_a0[0]._1_7_,(char)local_a0[0])); + } + local_88 = 0xf; + local_90 = 0; + local_a0[0]._0_1_ = '\0'; + FUN_140034ce0((longlong)local_130); + std::basic_ios_>::~basic_ios_>(local_130); + local_248[0] = TiXmlDocument::vftable; + if (local_1e8 != &DAT_14017ce88) { + operator_delete__(local_1e0); + } + local_248[0] = TiXmlNode::vftable; + while (local_220 != (longlong *)0x0) { + plVar12 = (longlong *)local_220[10]; + (**(code **)*local_220)(local_220,1); + local_220 = plVar12; + } + if (local_210 != &DAT_14017ce88) { + operator_delete__(local_208); + } + ppuVar3 = TiXmlBase::vftable; + local_248[0] = TiXmlBase::vftable; + if (0xf < local_60) { + operator_delete(local_78[0]); + ppuVar3 = extraout_RAX_00; + } + return CONCAT71((int7)((ulonglong)ppuVar3 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140030fd0.c b/decomp/AgentManager_Release_x64/full/functions/0x140030fd0.c new file mode 100644 index 00000000..4f96fb7f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140030fd0.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140030fd0 FUN_140030fd0 + * Pseudocode, not original source. */ + +void FUN_140030fd0(longlong param_1) + +{ + FUN_140034ce0(param_1 + 0x88); + /* WARNING: Could not recover jumptable at 0x000140030fed. Too many branches */ + /* WARNING: Treating indirect jump as call */ + std::basic_ios_>::~basic_ios_> + ((basic_ios_> *)(param_1 + 0x88)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140031000.c b/decomp/AgentManager_Release_x64/full/functions/0x140031000.c new file mode 100644 index 00000000..36ad1ad7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140031000.c @@ -0,0 +1,2101 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140031000 FUN_140031000 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* WARNING: Type propagation algorithm not settling */ + +ulonglong FUN_140031000(longlong param_1,LPCWSTR param_2) + +{ + char **ppcVar1; + char cVar2; + WCHAR WVar3; + int iVar4; + undefined **ppuVar5; + undefined **extraout_RAX; + ulonglong *puVar6; + char **ppcVar7; + char *pcVar8; + undefined8 uVar9; + ulonglong uVar10; + longlong lVar11; + longlong lVar12; + longlong lVar13; + longlong lVar14; + wchar_t *_Format; + longlong *plVar15; + longlong *plVar16; + char *pcVar17; + char *pcVar18; + char *pcVar19; + char *pcVar20; + char *pcVar21; + char *pcVar22; + char *pcVar23; + char *pcVar24; + LPCWSTR pWVar25; + char *pcVar26; + LPCSTR pCVar27; + WCHAR *pWVar28; + ulonglong uVar29; + LPCSTR pCVar30; + bool bVar31; + undefined1 auStackY_4e8 [32]; + char *local_4a0; + undefined **local_498; + undefined8 local_490; + undefined8 local_488; + undefined8 local_480; + undefined4 local_478; + longlong *local_470; + undefined8 local_468; + undefined8 *local_460; + void *local_458; + undefined8 local_450; + undefined8 local_448; + undefined1 local_440; + uint local_43c; + undefined8 *local_438; + void *local_430; + undefined4 local_428; + undefined8 local_424; + undefined1 local_41c; + char *local_418; + char *local_410; + char *local_408; + char *local_400; + char *local_3f8; + char *local_3f0; + undefined8 local_3e8; + undefined2 local_3d8; + undefined6 uStack_3d6; + undefined8 local_3c8; + ulonglong local_3c0; + undefined8 local_3b0; + undefined8 local_3a8; + undefined8 local_3a0; + ulonglong local_398 [2]; + undefined8 local_388; + ulonglong local_380; + CHAR local_368 [272]; + WCHAR local_258 [264]; + ulonglong local_48; + + local_3e8 = 0xfffffffffffffffe; + local_48 = DAT_14016f5a0 ^ (ulonglong)auStackY_4e8; + local_368[0] = '\0'; + memset(local_368 + 1,0,0x103); + uVar10 = 0xffffffffffffffff; + pWVar25 = param_2; + do { + if (uVar10 == 0) break; + uVar10 = uVar10 - 1; + WVar3 = *pWVar25; + pWVar25 = pWVar25 + 1; + } while (WVar3 != L'\0'); + pCVar30 = (LPCSTR)0x0; + uVar29 = ~uVar10 & 0xffffffff; + WideCharToMultiByte(0,0,param_2,(int)~uVar10,local_368,0x104,(LPCSTR)0x0,(LPBOOL)0x0); + local_490 = 0xffffffffffffffff; + local_488 = 0; + local_460 = &DAT_14017ce88; + local_480 = 0; + local_478 = 0; + local_470 = (longlong *)0x0; + local_468 = 0; + local_450 = 0; + local_448 = 0; + local_498 = TiXmlDocument::vftable; + local_438 = &DAT_14017ce88; + local_424 = 0xffffffffffffffff; + local_428 = 4; + local_41c = 0; + uVar10 = 0xffffffffffffffff; + pcVar8 = local_368; + do { + if (uVar10 == 0) break; + uVar10 = uVar10 - 1; + cVar2 = *pcVar8; + pcVar8 = pcVar8 + 1; + } while (cVar2 != '\0'); + FUN_14001e2c0((longlong *)&local_460,local_368,~uVar10 - 1); + local_440 = 0; + local_43c = 0; + FUN_14001e2c0((longlong *)&local_438,&DAT_140132660,0); + local_424 = 0; + DAT_140174c28 = 0; + uVar10 = FUN_14001f7a0((longlong *)&local_498,(char *)(local_460 + 2)); + if ((char)uVar10 == '\0') { + FUN_14001e070("Error : %d - %s",(ulonglong)local_43c,local_438 + 2,uVar29); + local_498 = TiXmlDocument::vftable; + if (local_438 != &DAT_14017ce88) { + operator_delete__(local_430); + } + ppuVar5 = TiXmlNode::vftable; + local_498 = TiXmlNode::vftable; + plVar15 = local_470; + while (plVar15 != (longlong *)0x0) { + plVar16 = (longlong *)plVar15[10]; + ppuVar5 = (undefined **)(**(code **)*plVar15)(plVar15,1); + plVar15 = plVar16; + } + if (local_460 != &DAT_14017ce88) { + operator_delete__(local_458); + ppuVar5 = extraout_RAX; + } + return (ulonglong)ppuVar5 & 0xffffffffffffff00; + } + memset(local_258,0,0x208); + for (plVar15 = local_470; plVar15 != (longlong *)0x0; plVar15 = (longlong *)plVar15[10]) { + bVar31 = (char *)(plVar15[7] + 0x10) == (char *)0x0; + lVar11 = 7; + pcVar8 = (char *)(plVar15[7] + 0x10); + pcVar18 = "server"; + do { + if (lVar11 == 0) break; + lVar11 = lVar11 + -1; + bVar31 = *pcVar8 == *pcVar18; + pcVar8 = pcVar8 + 1; + pcVar18 = pcVar18 + 1; + } while (bVar31); + if (bVar31) goto LAB_140031216; + } + goto LAB_1400319e6; +LAB_140031216: + while (lVar11 = (**(code **)(*plVar15 + 0x30))(plVar15), lVar11 == 0) { + do { + plVar15 = (longlong *)plVar15[10]; + if (plVar15 == (longlong *)0x0) goto LAB_1400319e6; + bVar31 = (char *)(plVar15[7] + 0x10) == (char *)0x0; + lVar11 = 7; + pcVar8 = (char *)(plVar15[7] + 0x10); + pcVar18 = "server"; + do { + if (lVar11 == 0) break; + lVar11 = lVar11 + -1; + bVar31 = *pcVar8 == *pcVar18; + pcVar8 = pcVar8 + 1; + pcVar18 = pcVar18 + 1; + } while (bVar31); + } while (!bVar31); + } + lVar11 = (**(code **)(*plVar15 + 0x30))(); + if (lVar11 != 0) { + lVar12 = lVar11 + 0x58; + for (lVar14 = *(longlong *)(lVar11 + 0xa0); lVar14 != lVar12; + lVar14 = *(longlong *)(lVar14 + 0x48)) { + pcVar8 = (char *)(*(longlong *)(lVar14 + 0x20) + 0x10); + bVar31 = pcVar8 == (char *)0x0; + lVar13 = 5; + pcVar18 = "name"; + do { + if (lVar13 == 0) break; + lVar13 = lVar13 + -1; + bVar31 = *pcVar8 == *pcVar18; + pcVar8 = pcVar8 + 1; + pcVar18 = pcVar18 + 1; + } while (bVar31); + if (bVar31) { + local_418 = (char *)(*(longlong *)(lVar14 + 0x30) + 0x10); + goto LAB_1400312a5; + } + } + local_418 = (char *)0x0; +LAB_1400312a5: + for (lVar14 = *(longlong *)(lVar11 + 0xa0); lVar14 != lVar12; + lVar14 = *(longlong *)(lVar14 + 0x48)) { + pcVar8 = (char *)(*(longlong *)(lVar14 + 0x20) + 0x10); + bVar31 = pcVar8 == (char *)0x0; + lVar13 = 5; + pcVar18 = "code"; + do { + if (lVar13 == 0) break; + lVar13 = lVar13 + -1; + bVar31 = *pcVar8 == *pcVar18; + pcVar8 = pcVar8 + 1; + pcVar18 = pcVar18 + 1; + } while (bVar31); + if (bVar31) { + local_400 = (char *)(*(longlong *)(lVar14 + 0x30) + 0x10); + goto LAB_1400312e5; + } + } + local_400 = (char *)0x0; +LAB_1400312e5: + for (lVar14 = *(longlong *)(lVar11 + 0xa0); lVar14 != lVar12; + lVar14 = *(longlong *)(lVar14 + 0x48)) { + pcVar8 = (char *)(*(longlong *)(lVar14 + 0x20) + 0x10); + bVar31 = pcVar8 == (char *)0x0; + lVar13 = 0xb; + pcVar18 = "private_ip"; + do { + if (lVar13 == 0) break; + lVar13 = lVar13 + -1; + bVar31 = *pcVar8 == *pcVar18; + pcVar8 = pcVar8 + 1; + pcVar18 = pcVar18 + 1; + } while (bVar31); + if (bVar31) { + local_4a0 = (char *)(*(longlong *)(lVar14 + 0x30) + 0x10); + goto LAB_140031327; + } + } + local_4a0 = (char *)0x0; +LAB_140031327: + for (lVar14 = *(longlong *)(lVar11 + 0xa0); lVar14 != lVar12; + lVar14 = *(longlong *)(lVar14 + 0x48)) { + pcVar8 = (char *)(*(longlong *)(lVar14 + 0x20) + 0x10); + bVar31 = pcVar8 == (char *)0x0; + lVar13 = 0xd; + pcVar18 = "private_port"; + do { + if (lVar13 == 0) break; + lVar13 = lVar13 + -1; + bVar31 = *pcVar8 == *pcVar18; + pcVar8 = pcVar8 + 1; + pcVar18 = pcVar18 + 1; + } while (bVar31); + if (bVar31) { + local_408 = (char *)(*(longlong *)(lVar14 + 0x30) + 0x10); + goto LAB_140031365; + } + } + local_408 = (char *)0x0; +LAB_140031365: + for (lVar14 = *(longlong *)(lVar11 + 0xa0); lVar14 != lVar12; + lVar14 = *(longlong *)(lVar14 + 0x48)) { + pcVar8 = (char *)(*(longlong *)(lVar14 + 0x20) + 0x10); + bVar31 = pcVar8 == (char *)0x0; + lVar13 = 10; + pcVar18 = "public_ip"; + do { + if (lVar13 == 0) break; + lVar13 = lVar13 + -1; + bVar31 = *pcVar8 == *pcVar18; + pcVar8 = pcVar8 + 1; + pcVar18 = pcVar18 + 1; + } while (bVar31); + if (bVar31) { + local_410 = (char *)(*(longlong *)(lVar14 + 0x30) + 0x10); + goto LAB_1400313a5; + } + } + local_410 = (char *)0x0; +LAB_1400313a5: + for (lVar14 = *(longlong *)(lVar11 + 0xa0); lVar14 != lVar12; + lVar14 = *(longlong *)(lVar14 + 0x48)) { + pcVar8 = (char *)(*(longlong *)(lVar14 + 0x20) + 0x10); + bVar31 = pcVar8 == (char *)0x0; + lVar13 = 0xc; + pcVar18 = "public_port"; + do { + if (lVar13 == 0) break; + lVar13 = lVar13 + -1; + bVar31 = *pcVar8 == *pcVar18; + pcVar8 = pcVar8 + 1; + pcVar18 = pcVar18 + 1; + } while (bVar31); + if (bVar31) { + local_3f0 = (char *)(*(longlong *)(lVar14 + 0x30) + 0x10); + goto LAB_1400313e5; + } + } + local_3f0 = (char *)0x0; +LAB_1400313e5: + for (lVar14 = *(longlong *)(lVar11 + 0xa0); lVar14 != lVar12; + lVar14 = *(longlong *)(lVar14 + 0x48)) { + pcVar8 = (char *)(*(longlong *)(lVar14 + 0x20) + 0x10); + bVar31 = pcVar8 == (char *)0x0; + lVar13 = 0xf; + pcVar18 = "public_udpport"; + do { + if (lVar13 == 0) break; + lVar13 = lVar13 + -1; + bVar31 = *pcVar8 == *pcVar18; + pcVar8 = pcVar8 + 1; + pcVar18 = pcVar18 + 1; + } while (bVar31); + if (bVar31) { + local_3f8 = (char *)(*(longlong *)(lVar14 + 0x30) + 0x10); + goto LAB_140031425; + } + } + local_3f8 = (char *)0x0; +LAB_140031425: + for (lVar14 = *(longlong *)(lVar11 + 0xa0); lVar14 != lVar12; + lVar14 = *(longlong *)(lVar14 + 0x48)) { + pcVar8 = (char *)(*(longlong *)(lVar14 + 0x20) + 0x10); + bVar31 = pcVar8 == (char *)0x0; + lVar13 = 0xb; + pcVar18 = "thread_num"; + do { + if (lVar13 == 0) break; + lVar13 = lVar13 + -1; + bVar31 = *pcVar8 == *pcVar18; + pcVar8 = pcVar8 + 1; + pcVar18 = pcVar18 + 1; + } while (bVar31); + if (bVar31) { + pCVar30 = (LPCSTR)(*(longlong *)(lVar14 + 0x30) + 0x10); + break; + } + } + for (lVar14 = *(longlong *)(lVar11 + 0xa0); lVar14 != lVar12; + lVar14 = *(longlong *)(lVar14 + 0x48)) { + pcVar8 = (char *)(*(longlong *)(lVar14 + 0x20) + 0x10); + bVar31 = pcVar8 == (char *)0x0; + lVar13 = 6; + pcVar18 = "agent"; + do { + if (lVar13 == 0) break; + lVar13 = lVar13 + -1; + bVar31 = *pcVar8 == *pcVar18; + pcVar8 = pcVar8 + 1; + pcVar18 = pcVar18 + 1; + } while (bVar31); + if (bVar31) { + pcVar8 = (char *)(*(longlong *)(lVar14 + 0x30) + 0x10); + goto LAB_1400314a6; + } + } + pcVar8 = (char *)0x0; +LAB_1400314a6: + pcVar18 = (char *)0x0; + for (lVar14 = *(longlong *)(lVar11 + 0xa0); pcVar21 = pcVar18, lVar14 != lVar12; + lVar14 = *(longlong *)(lVar14 + 0x48)) { + pcVar21 = (char *)(*(longlong *)(lVar14 + 0x20) + 0x10); + bVar31 = pcVar21 == (char *)0x0; + lVar13 = 6; + pcVar22 = "debug"; + do { + if (lVar13 == 0) break; + lVar13 = lVar13 + -1; + bVar31 = *pcVar21 == *pcVar22; + pcVar21 = pcVar21 + 1; + pcVar22 = pcVar22 + 1; + } while (bVar31); + if (bVar31) { + pcVar21 = (char *)(*(longlong *)(lVar14 + 0x30) + 0x10); + break; + } + } + for (lVar14 = *(longlong *)(lVar11 + 0xa0); pcVar22 = pcVar18, lVar14 != lVar12; + lVar14 = *(longlong *)(lVar14 + 0x48)) { + pcVar22 = (char *)(*(longlong *)(lVar14 + 0x20) + 0x10); + bVar31 = pcVar22 == (char *)0x0; + lVar13 = 6; + pcVar20 = "world"; + do { + if (lVar13 == 0) break; + lVar13 = lVar13 + -1; + bVar31 = *pcVar22 == *pcVar20; + pcVar22 = pcVar22 + 1; + pcVar20 = pcVar20 + 1; + } while (bVar31); + if (bVar31) { + pcVar22 = (char *)(*(longlong *)(lVar14 + 0x30) + 0x10); + break; + } + } + for (lVar14 = *(longlong *)(lVar11 + 0xa0); pcVar20 = pcVar18, lVar14 != lVar12; + lVar14 = *(longlong *)(lVar14 + 0x48)) { + pcVar20 = (char *)(*(longlong *)(lVar14 + 0x20) + 0x10); + bVar31 = pcVar20 == (char *)0x0; + lVar13 = 10; + pcVar23 = "udp_count"; + do { + if (lVar13 == 0) break; + lVar13 = lVar13 + -1; + bVar31 = *pcVar20 == *pcVar23; + pcVar20 = pcVar20 + 1; + pcVar23 = pcVar23 + 1; + } while (bVar31); + if (bVar31) { + pcVar20 = (char *)(*(longlong *)(lVar14 + 0x30) + 0x10); + break; + } + } + for (lVar14 = *(longlong *)(lVar11 + 0xa0); lVar14 != lVar12; + lVar14 = *(longlong *)(lVar14 + 0x48)) { + pcVar23 = (char *)(*(longlong *)(lVar14 + 0x20) + 0x10); + bVar31 = pcVar23 == (char *)0x0; + lVar13 = 0xc; + pcVar24 = "private_dns"; + do { + if (lVar13 == 0) break; + lVar13 = lVar13 + -1; + bVar31 = *pcVar23 == *pcVar24; + pcVar23 = pcVar23 + 1; + pcVar24 = pcVar24 + 1; + } while (bVar31); + if (bVar31) { + pcVar18 = (char *)(*(longlong *)(lVar14 + 0x30) + 0x10); + break; + } + } + for (lVar11 = *(longlong *)(lVar11 + 0xa0); lVar11 != lVar12; + lVar11 = *(longlong *)(lVar11 + 0x48)) { + pcVar23 = (char *)(*(longlong *)(lVar11 + 0x20) + 0x10); + bVar31 = pcVar23 == (char *)0x0; + lVar14 = 0xb; + pcVar24 = "public_dns"; + do { + if (lVar14 == 0) break; + lVar14 = lVar14 + -1; + bVar31 = *pcVar23 == *pcVar24; + pcVar23 = pcVar23 + 1; + pcVar24 = pcVar24 + 1; + } while (bVar31); + if (bVar31) { + pcVar23 = (char *)(*(longlong *)(lVar11 + 0x30) + 0x10); + goto LAB_1400315e3; + } + } + pcVar23 = (char *)0x0; +LAB_1400315e3: + if (pcVar18 != (char *)0x0) { + local_380 = 0xf; + local_388 = 0; + local_398[0]._0_1_ = '\0'; + uVar10 = 0xffffffffffffffff; + pcVar24 = pcVar18; + do { + if (uVar10 == 0) break; + uVar10 = uVar10 - 1; + cVar2 = *pcVar24; + pcVar24 = pcVar24 + 1; + } while (cVar2 != '\0'); + FUN_14000c9e0(local_398,pcVar18,~uVar10 - 1); + puVar6 = FUN_1400ed610((ulonglong *)&local_3d8,(LPCSTR)local_398); + FUN_14000a7a0((undefined8 *)(param_1 + 0x30),puVar6); + if (7 < local_3c0) { + operator_delete((void *)CONCAT62(uStack_3d6,local_3d8)); + } + local_3c0 = 7; + local_3c8 = 0; + local_3d8 = 0; + if (0xf < local_380) { + operator_delete((void *)CONCAT71(local_398[0]._1_7_,(CHAR)local_398[0])); + } + } + if (local_4a0 != (char *)0x0) { + local_380 = 0xf; + local_388 = 0; + local_398[0]._0_1_ = '\0'; + uVar10 = 0xffffffffffffffff; + pcVar18 = local_4a0; + do { + if (uVar10 == 0) break; + uVar10 = uVar10 - 1; + cVar2 = *pcVar18; + pcVar18 = pcVar18 + 1; + } while (cVar2 != '\0'); + FUN_14000c9e0(local_398,local_4a0,~uVar10 - 1); + puVar6 = FUN_1400ed610((ulonglong *)&local_3d8,(LPCSTR)local_398); + FUN_14000a7a0((undefined8 *)(param_1 + 0x30),puVar6); + if (7 < local_3c0) { + operator_delete((void *)CONCAT62(uStack_3d6,local_3d8)); + } + local_3c0 = 7; + local_3c8 = 0; + local_3d8 = 0; + if (0xf < local_380) { + operator_delete((void *)CONCAT71(local_398[0]._1_7_,(CHAR)local_398[0])); + } + } + if (pcVar23 != (char *)0x0) { + local_380 = 0xf; + local_388 = 0; + local_398[0]._0_1_ = '\0'; + uVar10 = 0xffffffffffffffff; + pcVar18 = pcVar23; + do { + if (uVar10 == 0) break; + uVar10 = uVar10 - 1; + cVar2 = *pcVar18; + pcVar18 = pcVar18 + 1; + } while (cVar2 != '\0'); + FUN_14000c9e0(local_398,pcVar23,~uVar10 - 1); + puVar6 = FUN_1400ed610((ulonglong *)&local_3d8,(LPCSTR)local_398); + FUN_14000a7a0((undefined8 *)(param_1 + 0x58),puVar6); + if (7 < local_3c0) { + operator_delete((void *)CONCAT62(uStack_3d6,local_3d8)); + } + local_3c0 = 7; + local_3c8 = 0; + local_3d8 = 0; + if (0xf < local_380) { + operator_delete((void *)CONCAT71(local_398[0]._1_7_,(CHAR)local_398[0])); + } + } + if (local_410 != (char *)0x0) { + local_380 = 0xf; + local_388 = 0; + local_398[0]._0_1_ = '\0'; + uVar10 = 0xffffffffffffffff; + pcVar18 = local_410; + do { + if (uVar10 == 0) break; + uVar10 = uVar10 - 1; + cVar2 = *pcVar18; + pcVar18 = pcVar18 + 1; + } while (cVar2 != '\0'); + FUN_14000c9e0(local_398,local_410,~uVar10 - 1); + puVar6 = FUN_1400ed610((ulonglong *)&local_3d8,(LPCSTR)local_398); + FUN_14000a7a0((undefined8 *)(param_1 + 0x58),puVar6); + if (7 < local_3c0) { + operator_delete((void *)CONCAT62(uStack_3d6,local_3d8)); + } + local_3c0 = 7; + local_3c8 = 0; + local_3d8 = 0; + if (0xf < local_380) { + operator_delete((void *)CONCAT71(local_398[0]._1_7_,(CHAR)local_398[0])); + } + } + if (local_408 != (char *)0x0) { + iVar4 = atoi(local_408); + *(int *)(param_1 + 0x80) = iVar4; + } + if (local_3f0 != (char *)0x0) { + iVar4 = atoi(local_3f0); + *(int *)(param_1 + 0x84) = iVar4; + } + if (local_3f8 != (char *)0x0) { + iVar4 = atoi(local_3f8); + *(int *)(param_1 + 0x88) = iVar4; + } + if (local_418 != (char *)0x0) { + local_380 = 0xf; + local_388 = 0; + local_398[0]._0_1_ = '\0'; + uVar10 = 0xffffffffffffffff; + pcVar18 = local_418; + do { + if (uVar10 == 0) break; + uVar10 = uVar10 - 1; + cVar2 = *pcVar18; + pcVar18 = pcVar18 + 1; + } while (cVar2 != '\0'); + FUN_14000c9e0(local_398,local_418,~uVar10 - 1); + puVar6 = FUN_1400ed610((ulonglong *)&local_3d8,(LPCSTR)local_398); + FUN_14000a7a0((undefined8 *)(param_1 + 8),puVar6); + if (7 < local_3c0) { + operator_delete((void *)CONCAT62(uStack_3d6,local_3d8)); + } + local_3c0 = 7; + local_3c8 = 0; + local_3d8 = 0; + if (0xf < local_380) { + operator_delete((void *)CONCAT71(local_398[0]._1_7_,(CHAR)local_398[0])); + } + } + if (pCVar30 == (LPCSTR)0x0) { + *(undefined4 *)(param_1 + 0x15c) = 1; + } + else { + memset(local_258,0,0x208); + MultiByteToWideChar(0,1,pCVar30,0x104,local_258,0x104); + ppcVar1 = (char **)(param_1 + 0x15c); + iVar4 = _wtoi(local_258); + *(int *)ppcVar1 = iVar4; + local_4a0 = (char *)CONCAT44(local_4a0._4_4_,1); + ppcVar7 = &local_4a0; + if (1 < *(int *)ppcVar1) { + ppcVar7 = ppcVar1; + } + *(int *)ppcVar1 = *(int *)ppcVar7; + } + if (local_400 != (char *)0x0) { + iVar4 = atoi(local_400); + *(int *)(param_1 + 0x154) = iVar4; + } + if (pcVar8 != (char *)0x0) { + iVar4 = atoi(pcVar8); + *(bool *)(param_1 + 0x150) = iVar4 == 1; + } + if (pcVar21 != (char *)0x0) { + iVar4 = atoi(pcVar21); + *(bool *)(param_1 + 0x165) = iVar4 == 1; + } + if (pcVar22 != (char *)0x0) { + iVar4 = atoi(pcVar22); + *(int *)(param_1 + 0x140) = iVar4; + } + if (pcVar20 != (char *)0x0) { + iVar4 = atoi(pcVar20); + *(int *)(param_1 + 0x8c) = iVar4; + } + } +LAB_1400319e6: + pcVar8 = (char *)0x0; + for (plVar15 = local_470; plVar16 = local_470, plVar15 != (longlong *)0x0; + plVar15 = (longlong *)plVar15[10]) { + bVar31 = (char *)(plVar15[7] + 0x10) == (char *)0x0; + lVar11 = 0xb; + pcVar18 = (char *)(plVar15[7] + 0x10); + pcVar21 = "db_account"; + do { + if (lVar11 == 0) break; + lVar11 = lVar11 + -1; + bVar31 = *pcVar18 == *pcVar21; + pcVar18 = pcVar18 + 1; + pcVar21 = pcVar21 + 1; + } while (bVar31); + if (bVar31) goto LAB_140031a23; + } +joined_r0x000140031a80: + do { + plVar15 = local_470; + if (plVar16 == (longlong *)0x0) goto joined_r0x000140031b10; + bVar31 = (char *)(plVar16[7] + 0x10) == (char *)0x0; + lVar11 = 7; + pcVar18 = (char *)(plVar16[7] + 0x10); + pcVar21 = "db_web"; + do { + if (lVar11 == 0) break; + lVar11 = lVar11 + -1; + bVar31 = *pcVar18 == *pcVar21; + pcVar18 = pcVar18 + 1; + pcVar21 = pcVar21 + 1; + } while (bVar31); + if (bVar31) goto LAB_140031ab3; + plVar16 = (longlong *)plVar16[10]; + } while( true ); +LAB_140031a23: + while (lVar11 = (**(code **)(*plVar15 + 0x30))(plVar15), lVar11 == 0) { + do { + plVar15 = (longlong *)plVar15[10]; + plVar16 = local_470; + if (plVar15 == (longlong *)0x0) goto joined_r0x000140031a80; + bVar31 = (char *)(plVar15[7] + 0x10) == (char *)0x0; + lVar11 = 0xb; + pcVar18 = (char *)(plVar15[7] + 0x10); + pcVar21 = "db_account"; + do { + if (lVar11 == 0) break; + lVar11 = lVar11 + -1; + bVar31 = *pcVar18 == *pcVar21; + pcVar18 = pcVar18 + 1; + pcVar21 = pcVar21 + 1; + } while (bVar31); + } while (!bVar31); + } + lVar11 = (**(code **)(*plVar15 + 0x30))(plVar15); + plVar16 = local_470; + if (lVar11 != 0) { + FUN_140033470((ulonglong *)(param_1 + 0x90),(int *)(param_1 + 0x130),lVar11); + plVar16 = local_470; + } + goto joined_r0x000140031a80; +LAB_140031ab3: + while (lVar11 = (**(code **)(*plVar16 + 0x30))(plVar16), lVar11 == 0) { + do { + plVar16 = (longlong *)plVar16[10]; + plVar15 = local_470; + if (plVar16 == (longlong *)0x0) goto joined_r0x000140031b10; + bVar31 = (char *)(plVar16[7] + 0x10) == (char *)0x0; + lVar11 = 7; + pcVar18 = (char *)(plVar16[7] + 0x10); + pcVar21 = "db_web"; + do { + if (lVar11 == 0) break; + lVar11 = lVar11 + -1; + bVar31 = *pcVar18 == *pcVar21; + pcVar18 = pcVar18 + 1; + pcVar21 = pcVar21 + 1; + } while (bVar31); + } while (!bVar31); + } + lVar11 = (**(code **)(*plVar16 + 0x30))(plVar16); + plVar15 = local_470; + if (lVar11 != 0) { + FUN_140033470((ulonglong *)(param_1 + 0xb8),(int *)(param_1 + 0x134),lVar11); + plVar15 = local_470; + } +joined_r0x000140031b10: + do { + plVar16 = local_470; + if (plVar15 == (longlong *)0x0) goto joined_r0x000140031ba0; + bVar31 = (char *)(plVar15[7] + 0x10) == (char *)0x0; + lVar11 = 8; + pcVar18 = (char *)(plVar15[7] + 0x10); + pcVar21 = "db_game"; + do { + if (lVar11 == 0) break; + lVar11 = lVar11 + -1; + bVar31 = *pcVar18 == *pcVar21; + pcVar18 = pcVar18 + 1; + pcVar21 = pcVar21 + 1; + } while (bVar31); + if (bVar31) break; + plVar15 = (longlong *)plVar15[10]; + } while( true ); + while (lVar11 = (**(code **)(*plVar15 + 0x30))(plVar15), lVar11 == 0) { + do { + plVar15 = (longlong *)plVar15[10]; + plVar16 = local_470; + if (plVar15 == (longlong *)0x0) goto joined_r0x000140031ba0; + bVar31 = (char *)(plVar15[7] + 0x10) == (char *)0x0; + lVar11 = 8; + pcVar18 = (char *)(plVar15[7] + 0x10); + pcVar21 = "db_game"; + do { + if (lVar11 == 0) break; + lVar11 = lVar11 + -1; + bVar31 = *pcVar18 == *pcVar21; + pcVar18 = pcVar18 + 1; + pcVar21 = pcVar21 + 1; + } while (bVar31); + } while (!bVar31); + } + lVar11 = (**(code **)(*plVar15 + 0x30))(plVar15); + plVar16 = local_470; + if (lVar11 != 0) { + FUN_140033470((ulonglong *)(param_1 + 0xe0),(int *)(param_1 + 0x138),lVar11); + plVar16 = local_470; + } +joined_r0x000140031ba0: + do { + plVar15 = local_470; + if (plVar16 == (longlong *)0x0) goto joined_r0x000140031c30; + bVar31 = (char *)(plVar16[7] + 0x10) == (char *)0x0; + lVar11 = 0xc; + pcVar18 = (char *)(plVar16[7] + 0x10); + pcVar21 = "db_game_log"; + do { + if (lVar11 == 0) break; + lVar11 = lVar11 + -1; + bVar31 = *pcVar18 == *pcVar21; + pcVar18 = pcVar18 + 1; + pcVar21 = pcVar21 + 1; + } while (bVar31); + if (bVar31) break; + plVar16 = (longlong *)plVar16[10]; + } while( true ); + while (lVar11 = (**(code **)(*plVar16 + 0x30))(plVar16), lVar11 == 0) { + do { + plVar16 = (longlong *)plVar16[10]; + plVar15 = local_470; + if (plVar16 == (longlong *)0x0) goto joined_r0x000140031c30; + bVar31 = (char *)(plVar16[7] + 0x10) == (char *)0x0; + lVar11 = 0xc; + pcVar18 = (char *)(plVar16[7] + 0x10); + pcVar21 = "db_game_log"; + do { + if (lVar11 == 0) break; + lVar11 = lVar11 + -1; + bVar31 = *pcVar18 == *pcVar21; + pcVar18 = pcVar18 + 1; + pcVar21 = pcVar21 + 1; + } while (bVar31); + } while (!bVar31); + } + lVar11 = (**(code **)(*plVar16 + 0x30))(plVar16); + plVar15 = local_470; + if (lVar11 != 0) { + FUN_140033470((ulonglong *)(param_1 + 0x108),(int *)(param_1 + 0x13c),lVar11); + plVar15 = local_470; + } +joined_r0x000140031c30: + do { + plVar16 = local_470; + if (plVar15 == (longlong *)0x0) goto joined_r0x000140031d02; + bVar31 = (char *)(plVar15[7] + 0x10) == (char *)0x0; + lVar11 = 4; + pcVar18 = (char *)(plVar15[7] + 0x10); + pcVar21 = "dbc"; + do { + if (lVar11 == 0) break; + lVar11 = lVar11 + -1; + bVar31 = *pcVar18 == *pcVar21; + pcVar18 = pcVar18 + 1; + pcVar21 = pcVar21 + 1; + } while (bVar31); + if (bVar31) break; + plVar15 = (longlong *)plVar15[10]; + } while( true ); + while (lVar11 = (**(code **)(*plVar15 + 0x30))(plVar15), lVar11 == 0) { + do { + plVar15 = (longlong *)plVar15[10]; + plVar16 = local_470; + if (plVar15 == (longlong *)0x0) goto joined_r0x000140031d02; + bVar31 = (char *)(plVar15[7] + 0x10) == (char *)0x0; + lVar11 = 4; + pcVar18 = (char *)(plVar15[7] + 0x10); + pcVar21 = "dbc"; + do { + if (lVar11 == 0) break; + lVar11 = lVar11 + -1; + bVar31 = *pcVar18 == *pcVar21; + pcVar18 = pcVar18 + 1; + pcVar21 = pcVar21 + 1; + } while (bVar31); + } while (!bVar31); + } + lVar11 = (**(code **)(*plVar15 + 0x30))(plVar15); + plVar16 = local_470; + if (lVar11 != 0) { + for (lVar14 = *(longlong *)(lVar11 + 0xa0); lVar14 != lVar11 + 0x58; + lVar14 = *(longlong *)(lVar14 + 0x48)) { + pcVar18 = (char *)(*(longlong *)(lVar14 + 0x20) + 0x10); + bVar31 = pcVar18 == (char *)0x0; + lVar12 = 0x13; + pcVar21 = "write_thread_count"; + do { + if (lVar12 == 0) break; + lVar12 = lVar12 + -1; + bVar31 = *pcVar18 == *pcVar21; + pcVar18 = pcVar18 + 1; + pcVar21 = pcVar21 + 1; + } while (bVar31); + if (bVar31) { + pcVar18 = (char *)(*(longlong *)(lVar14 + 0x30) + 0x10); + if (pcVar18 != (char *)0x0) { + iVar4 = atoi(pcVar18); + *(int *)(param_1 + 0x14c) = iVar4; + plVar16 = local_470; + } + break; + } + } + } +joined_r0x000140031d02: + do { + plVar15 = local_470; + if (plVar16 == (longlong *)0x0) goto joined_r0x000140031dd2; + bVar31 = (char *)(plVar16[7] + 0x10) == (char *)0x0; + lVar11 = 9; + pcVar18 = (char *)(plVar16[7] + 0x10); + pcVar21 = "db_cache"; + do { + if (lVar11 == 0) break; + lVar11 = lVar11 + -1; + bVar31 = *pcVar18 == *pcVar21; + pcVar18 = pcVar18 + 1; + pcVar21 = pcVar21 + 1; + } while (bVar31); + if (bVar31) break; + plVar16 = (longlong *)plVar16[10]; + } while( true ); + while (lVar11 = (**(code **)(*plVar16 + 0x30))(plVar16), lVar11 == 0) { + do { + plVar16 = (longlong *)plVar16[10]; + plVar15 = local_470; + if (plVar16 == (longlong *)0x0) goto joined_r0x000140031dd2; + bVar31 = (char *)(plVar16[7] + 0x10) == (char *)0x0; + lVar11 = 9; + pcVar18 = (char *)(plVar16[7] + 0x10); + pcVar21 = "db_cache"; + do { + if (lVar11 == 0) break; + lVar11 = lVar11 + -1; + bVar31 = *pcVar18 == *pcVar21; + pcVar18 = pcVar18 + 1; + pcVar21 = pcVar21 + 1; + } while (bVar31); + } while (!bVar31); + } + lVar11 = (**(code **)(*plVar16 + 0x30))(plVar16); + plVar15 = local_470; + if (lVar11 != 0) { + for (lVar14 = *(longlong *)(lVar11 + 0xa0); lVar14 != lVar11 + 0x58; + lVar14 = *(longlong *)(lVar14 + 0x48)) { + pcVar18 = (char *)(*(longlong *)(lVar14 + 0x20) + 0x10); + bVar31 = pcVar18 == (char *)0x0; + lVar12 = 0xe; + pcVar21 = "session_count"; + do { + if (lVar12 == 0) break; + lVar12 = lVar12 + -1; + bVar31 = *pcVar18 == *pcVar21; + pcVar18 = pcVar18 + 1; + pcVar21 = pcVar21 + 1; + } while (bVar31); + if (bVar31) { + pcVar18 = (char *)(*(longlong *)(lVar14 + 0x30) + 0x10); + if (pcVar18 != (char *)0x0) { + iVar4 = atoi(pcVar18); + *(int *)(param_1 + 0x144) = iVar4; + plVar15 = local_470; + } + break; + } + } + } +joined_r0x000140031dd2: + do { + if (plVar15 == (longlong *)0x0) goto LAB_140031e95; + bVar31 = (char *)(plVar15[7] + 0x10) == (char *)0x0; + lVar11 = 0xd; + pcVar18 = (char *)(plVar15[7] + 0x10); + pcVar21 = "db_log_cache"; + do { + if (lVar11 == 0) break; + lVar11 = lVar11 + -1; + bVar31 = *pcVar18 == *pcVar21; + pcVar18 = pcVar18 + 1; + pcVar21 = pcVar21 + 1; + } while (bVar31); + if (bVar31) break; + plVar15 = (longlong *)plVar15[10]; + } while( true ); + while (lVar11 = (**(code **)(*plVar15 + 0x30))(plVar15), lVar11 == 0) { + do { + plVar15 = (longlong *)plVar15[10]; + if (plVar15 == (longlong *)0x0) goto LAB_140031e95; + bVar31 = (char *)(plVar15[7] + 0x10) == (char *)0x0; + lVar11 = 0xd; + pcVar18 = (char *)(plVar15[7] + 0x10); + pcVar21 = "db_log_cache"; + do { + if (lVar11 == 0) break; + lVar11 = lVar11 + -1; + bVar31 = *pcVar18 == *pcVar21; + pcVar18 = pcVar18 + 1; + pcVar21 = pcVar21 + 1; + } while (bVar31); + } while (!bVar31); + } + lVar11 = (**(code **)(*plVar15 + 0x30))(plVar15); + if (lVar11 == 0) { +LAB_140031e95: + iVar4 = *(int *)(param_1 + 0x144); +LAB_140031e9c: + *(int *)(param_1 + 0x148) = iVar4; + plVar15 = local_470; + } + else { + for (lVar14 = *(longlong *)(lVar11 + 0xa0); plVar15 = local_470, lVar14 != lVar11 + 0x58; + lVar14 = *(longlong *)(lVar14 + 0x48)) { + pcVar18 = (char *)(*(longlong *)(lVar14 + 0x20) + 0x10); + bVar31 = pcVar18 == (char *)0x0; + lVar12 = 0xe; + pcVar21 = "session_count"; + do { + if (lVar12 == 0) break; + lVar12 = lVar12 + -1; + bVar31 = *pcVar18 == *pcVar21; + pcVar18 = pcVar18 + 1; + pcVar21 = pcVar21 + 1; + } while (bVar31); + if (bVar31) { + pcVar18 = (char *)(*(longlong *)(lVar14 + 0x30) + 0x10); + if (pcVar18 != (char *)0x0) { + iVar4 = atoi(pcVar18); + goto LAB_140031e9c; + } + break; + } + } + } + do { + plVar16 = local_470; + if (plVar15 == (longlong *)0x0) goto joined_r0x000140031f28; + bVar31 = (char *)(plVar15[7] + 0x10) == (char *)0x0; + lVar11 = 0xd; + pcVar18 = (char *)(plVar15[7] + 0x10); + pcVar21 = "agentmanager"; + do { + if (lVar11 == 0) break; + lVar11 = lVar11 + -1; + bVar31 = *pcVar18 == *pcVar21; + pcVar18 = pcVar18 + 1; + pcVar21 = pcVar21 + 1; + } while (bVar31); + if (bVar31) break; + plVar15 = (longlong *)plVar15[10]; + } while( true ); + while (lVar11 = (**(code **)(*plVar15 + 0x30))(plVar15), lVar11 == 0) { + do { + plVar15 = (longlong *)plVar15[10]; + plVar16 = local_470; + if (plVar15 == (longlong *)0x0) goto joined_r0x000140031f28; + bVar31 = (char *)(plVar15[7] + 0x10) == (char *)0x0; + lVar11 = 0xd; + pcVar18 = (char *)(plVar15[7] + 0x10); + pcVar21 = "agentmanager"; + do { + if (lVar11 == 0) break; + lVar11 = lVar11 + -1; + bVar31 = *pcVar18 == *pcVar21; + pcVar18 = pcVar18 + 1; + pcVar21 = pcVar21 + 1; + } while (bVar31); + } while (!bVar31); + } + lVar11 = (**(code **)(*plVar15 + 0x30))(plVar15); + plVar16 = local_470; + if (lVar11 != 0) { + FUN_140033550(param_1,lVar11,0x15); + plVar16 = local_470; + } +joined_r0x000140031f28: + do { + plVar15 = local_470; + if (plVar16 == (longlong *)0x0) goto joined_r0x000140031fa8; + bVar31 = (char *)(plVar16[7] + 0x10) == (char *)0x0; + lVar11 = 9; + pcVar18 = (char *)(plVar16[7] + 0x10); + pcVar21 = "db_cache"; + do { + if (lVar11 == 0) break; + lVar11 = lVar11 + -1; + bVar31 = *pcVar18 == *pcVar21; + pcVar18 = pcVar18 + 1; + pcVar21 = pcVar21 + 1; + } while (bVar31); + if (bVar31) break; + plVar16 = (longlong *)plVar16[10]; + } while( true ); + while (lVar11 = (**(code **)(*plVar16 + 0x30))(plVar16), lVar11 == 0) { + do { + plVar16 = (longlong *)plVar16[10]; + plVar15 = local_470; + if (plVar16 == (longlong *)0x0) goto joined_r0x000140031fa8; + bVar31 = (char *)(plVar16[7] + 0x10) == (char *)0x0; + lVar11 = 9; + pcVar18 = (char *)(plVar16[7] + 0x10); + pcVar21 = "db_cache"; + do { + if (lVar11 == 0) break; + lVar11 = lVar11 + -1; + bVar31 = *pcVar18 == *pcVar21; + pcVar18 = pcVar18 + 1; + pcVar21 = pcVar21 + 1; + } while (bVar31); + } while (!bVar31); + } + lVar11 = (**(code **)(*plVar16 + 0x30))(plVar16); + plVar15 = local_470; + if (lVar11 != 0) { + FUN_140033550(param_1,lVar11,0xc); + plVar15 = local_470; + } +joined_r0x000140031fa8: + do { + plVar16 = local_470; + if (plVar15 == (longlong *)0x0) goto joined_r0x000140032028; + bVar31 = (char *)(plVar15[7] + 0x10) == (char *)0x0; + lVar11 = 0xd; + pcVar18 = (char *)(plVar15[7] + 0x10); + pcVar21 = "db_log_cache"; + do { + if (lVar11 == 0) break; + lVar11 = lVar11 + -1; + bVar31 = *pcVar18 == *pcVar21; + pcVar18 = pcVar18 + 1; + pcVar21 = pcVar21 + 1; + } while (bVar31); + if (bVar31) break; + plVar15 = (longlong *)plVar15[10]; + } while( true ); + while (lVar11 = (**(code **)(*plVar15 + 0x30))(plVar15), lVar11 == 0) { + do { + plVar15 = (longlong *)plVar15[10]; + plVar16 = local_470; + if (plVar15 == (longlong *)0x0) goto joined_r0x000140032028; + bVar31 = (char *)(plVar15[7] + 0x10) == (char *)0x0; + lVar11 = 0xd; + pcVar18 = (char *)(plVar15[7] + 0x10); + pcVar21 = "db_log_cache"; + do { + if (lVar11 == 0) break; + lVar11 = lVar11 + -1; + bVar31 = *pcVar18 == *pcVar21; + pcVar18 = pcVar18 + 1; + pcVar21 = pcVar21 + 1; + } while (bVar31); + } while (!bVar31); + } + lVar11 = (**(code **)(*plVar15 + 0x30))(plVar15); + plVar16 = local_470; + if (lVar11 != 0) { + FUN_140033550(param_1,lVar11,0x11); + plVar16 = local_470; + } +joined_r0x000140032028: + do { + plVar15 = local_470; + if (plVar16 == (longlong *)0x0) goto joined_r0x0001400320a8; + bVar31 = (char *)(plVar16[7] + 0x10) == (char *)0x0; + lVar11 = 0xb; + pcVar18 = (char *)(plVar16[7] + 0x10); + pcVar21 = "msg_server"; + do { + if (lVar11 == 0) break; + lVar11 = lVar11 + -1; + bVar31 = *pcVar18 == *pcVar21; + pcVar18 = pcVar18 + 1; + pcVar21 = pcVar21 + 1; + } while (bVar31); + if (bVar31) break; + plVar16 = (longlong *)plVar16[10]; + } while( true ); + while (lVar11 = (**(code **)(*plVar16 + 0x30))(plVar16), lVar11 == 0) { + do { + plVar16 = (longlong *)plVar16[10]; + plVar15 = local_470; + if (plVar16 == (longlong *)0x0) goto joined_r0x0001400320a8; + bVar31 = (char *)(plVar16[7] + 0x10) == (char *)0x0; + lVar11 = 0xb; + pcVar18 = (char *)(plVar16[7] + 0x10); + pcVar21 = "msg_server"; + do { + if (lVar11 == 0) break; + lVar11 = lVar11 + -1; + bVar31 = *pcVar18 == *pcVar21; + pcVar18 = pcVar18 + 1; + pcVar21 = pcVar21 + 1; + } while (bVar31); + } while (!bVar31); + } + lVar11 = (**(code **)(*plVar16 + 0x30))(plVar16); + plVar15 = local_470; + if (lVar11 != 0) { + FUN_140033550(param_1,lVar11,6); + plVar15 = local_470; + } +joined_r0x0001400320a8: + do { + plVar16 = local_470; + if (plVar15 == (longlong *)0x0) goto joined_r0x000140032128; + bVar31 = (char *)(plVar15[7] + 0x10) == (char *)0x0; + lVar11 = 10; + pcVar18 = (char *)(plVar15[7] + 0x10); + pcVar21 = "gm_server"; + do { + if (lVar11 == 0) break; + lVar11 = lVar11 + -1; + bVar31 = *pcVar18 == *pcVar21; + pcVar18 = pcVar18 + 1; + pcVar21 = pcVar21 + 1; + } while (bVar31); + if (bVar31) break; + plVar15 = (longlong *)plVar15[10]; + } while( true ); + while (lVar11 = (**(code **)(*plVar15 + 0x30))(plVar15), lVar11 == 0) { + do { + plVar15 = (longlong *)plVar15[10]; + plVar16 = local_470; + if (plVar15 == (longlong *)0x0) goto joined_r0x000140032128; + bVar31 = (char *)(plVar15[7] + 0x10) == (char *)0x0; + lVar11 = 10; + pcVar18 = (char *)(plVar15[7] + 0x10); + pcVar21 = "gm_server"; + do { + if (lVar11 == 0) break; + lVar11 = lVar11 + -1; + bVar31 = *pcVar18 == *pcVar21; + pcVar18 = pcVar18 + 1; + pcVar21 = pcVar21 + 1; + } while (bVar31); + } while (!bVar31); + } + lVar11 = (**(code **)(*plVar15 + 0x30))(plVar15); + plVar16 = local_470; + if (lVar11 != 0) { + FUN_140033550(param_1,lVar11,7); + plVar16 = local_470; + } +joined_r0x000140032128: + do { + plVar15 = local_470; + if (plVar16 == (longlong *)0x0) goto joined_r0x0001400321a8; + bVar31 = (char *)(plVar16[7] + 0x10) == (char *)0x0; + lVar11 = 0xf; + pcVar18 = (char *)(plVar16[7] + 0x10); + pcVar21 = "auction_server"; + do { + if (lVar11 == 0) break; + lVar11 = lVar11 + -1; + bVar31 = *pcVar18 == *pcVar21; + pcVar18 = pcVar18 + 1; + pcVar21 = pcVar21 + 1; + } while (bVar31); + if (bVar31) break; + plVar16 = (longlong *)plVar16[10]; + } while( true ); + while (lVar11 = (**(code **)(*plVar16 + 0x30))(plVar16), lVar11 == 0) { + do { + plVar16 = (longlong *)plVar16[10]; + plVar15 = local_470; + if (plVar16 == (longlong *)0x0) goto joined_r0x0001400321a8; + bVar31 = (char *)(plVar16[7] + 0x10) == (char *)0x0; + lVar11 = 0xf; + pcVar18 = (char *)(plVar16[7] + 0x10); + pcVar21 = "auction_server"; + do { + if (lVar11 == 0) break; + lVar11 = lVar11 + -1; + bVar31 = *pcVar18 == *pcVar21; + pcVar18 = pcVar18 + 1; + pcVar21 = pcVar21 + 1; + } while (bVar31); + } while (!bVar31); + } + lVar11 = (**(code **)(*plVar16 + 0x30))(plVar16); + plVar15 = local_470; + if (lVar11 != 0) { + FUN_140033550(param_1,lVar11,10); + plVar15 = local_470; + } +joined_r0x0001400321a8: + do { + plVar16 = local_470; + if (plVar15 == (longlong *)0x0) goto joined_r0x000140032228; + bVar31 = (char *)(plVar15[7] + 0x10) == (char *)0x0; + lVar11 = 0xf; + pcVar18 = (char *)(plVar15[7] + 0x10); + pcVar21 = "manager_server"; + do { + if (lVar11 == 0) break; + lVar11 = lVar11 + -1; + bVar31 = *pcVar18 == *pcVar21; + pcVar18 = pcVar18 + 1; + pcVar21 = pcVar21 + 1; + } while (bVar31); + if (bVar31) break; + plVar15 = (longlong *)plVar15[10]; + } while( true ); + while (lVar11 = (**(code **)(*plVar15 + 0x30))(plVar15), lVar11 == 0) { + do { + plVar15 = (longlong *)plVar15[10]; + plVar16 = local_470; + if (plVar15 == (longlong *)0x0) goto joined_r0x000140032228; + bVar31 = (char *)(plVar15[7] + 0x10) == (char *)0x0; + lVar11 = 0xf; + pcVar18 = (char *)(plVar15[7] + 0x10); + pcVar21 = "manager_server"; + do { + if (lVar11 == 0) break; + lVar11 = lVar11 + -1; + bVar31 = *pcVar18 == *pcVar21; + pcVar18 = pcVar18 + 1; + pcVar21 = pcVar21 + 1; + } while (bVar31); + } while (!bVar31); + } + lVar11 = (**(code **)(*plVar15 + 0x30))(plVar15); + plVar16 = local_470; + if (lVar11 != 0) { + FUN_140033550(param_1,lVar11,9); + plVar16 = local_470; + } +joined_r0x000140032228: + do { + plVar15 = local_470; + if (plVar16 == (longlong *)0x0) goto joined_r0x0001400322a8; + bVar31 = (char *)(plVar16[7] + 0x10) == (char *)0x0; + lVar11 = 0xd; + pcVar18 = (char *)(plVar16[7] + 0x10); + pcVar21 = "match_server"; + do { + if (lVar11 == 0) break; + lVar11 = lVar11 + -1; + bVar31 = *pcVar18 == *pcVar21; + pcVar18 = pcVar18 + 1; + pcVar21 = pcVar21 + 1; + } while (bVar31); + if (bVar31) break; + plVar16 = (longlong *)plVar16[10]; + } while( true ); + while (lVar11 = (**(code **)(*plVar16 + 0x30))(plVar16), lVar11 == 0) { + do { + plVar16 = (longlong *)plVar16[10]; + plVar15 = local_470; + if (plVar16 == (longlong *)0x0) goto joined_r0x0001400322a8; + bVar31 = (char *)(plVar16[7] + 0x10) == (char *)0x0; + lVar11 = 0xd; + pcVar18 = (char *)(plVar16[7] + 0x10); + pcVar21 = "match_server"; + do { + if (lVar11 == 0) break; + lVar11 = lVar11 + -1; + bVar31 = *pcVar18 == *pcVar21; + pcVar18 = pcVar18 + 1; + pcVar21 = pcVar21 + 1; + } while (bVar31); + } while (!bVar31); + } + lVar11 = (**(code **)(*plVar16 + 0x30))(plVar16); + plVar15 = local_470; + if (lVar11 != 0) { + FUN_140033550(param_1,lVar11,0xb); + plVar15 = local_470; + } +joined_r0x0001400322a8: + do { + plVar16 = local_470; + if (plVar15 == (longlong *)0x0) goto joined_r0x000140032328; + bVar31 = (char *)(plVar15[7] + 0x10) == (char *)0x0; + lVar11 = 0xd; + pcVar18 = (char *)(plVar15[7] + 0x10); + pcVar21 = "agent_server"; + do { + if (lVar11 == 0) break; + lVar11 = lVar11 + -1; + bVar31 = *pcVar18 == *pcVar21; + pcVar18 = pcVar18 + 1; + pcVar21 = pcVar21 + 1; + } while (bVar31); + if (bVar31) break; + plVar15 = (longlong *)plVar15[10]; + } while( true ); + while (lVar11 = (**(code **)(*plVar15 + 0x30))(plVar15), lVar11 == 0) { + do { + plVar15 = (longlong *)plVar15[10]; + plVar16 = local_470; + if (plVar15 == (longlong *)0x0) goto joined_r0x000140032328; + bVar31 = (char *)(plVar15[7] + 0x10) == (char *)0x0; + lVar11 = 0xd; + pcVar18 = (char *)(plVar15[7] + 0x10); + pcVar21 = "agent_server"; + do { + if (lVar11 == 0) break; + lVar11 = lVar11 + -1; + bVar31 = *pcVar18 == *pcVar21; + pcVar18 = pcVar18 + 1; + pcVar21 = pcVar21 + 1; + } while (bVar31); + } while (!bVar31); + } + lVar11 = (**(code **)(*plVar15 + 0x30))(plVar15); + plVar16 = local_470; + if (lVar11 != 0) { + FUN_140033550(param_1,lVar11,0xd); + plVar16 = local_470; + } +joined_r0x000140032328: + do { + plVar15 = local_470; + if (plVar16 == (longlong *)0x0) goto joined_r0x0001400323a8; + bVar31 = (char *)(plVar16[7] + 0x10) == (char *)0x0; + lVar11 = 4; + pcVar18 = (char *)(plVar16[7] + 0x10); + pcVar21 = "api"; + do { + if (lVar11 == 0) break; + lVar11 = lVar11 + -1; + bVar31 = *pcVar18 == *pcVar21; + pcVar18 = pcVar18 + 1; + pcVar21 = pcVar21 + 1; + } while (bVar31); + if (bVar31) break; + plVar16 = (longlong *)plVar16[10]; + } while( true ); + while (lVar11 = (**(code **)(*plVar16 + 0x30))(plVar16), lVar11 == 0) { + do { + plVar16 = (longlong *)plVar16[10]; + plVar15 = local_470; + if (plVar16 == (longlong *)0x0) goto joined_r0x0001400323a8; + bVar31 = (char *)(plVar16[7] + 0x10) == (char *)0x0; + lVar11 = 4; + pcVar18 = (char *)(plVar16[7] + 0x10); + pcVar21 = "api"; + do { + if (lVar11 == 0) break; + lVar11 = lVar11 + -1; + bVar31 = *pcVar18 == *pcVar21; + pcVar18 = pcVar18 + 1; + pcVar21 = pcVar21 + 1; + } while (bVar31); + } while (!bVar31); + } + lVar11 = (**(code **)(*plVar16 + 0x30))(plVar16); + plVar15 = local_470; + if (lVar11 != 0) { + FUN_140033550(param_1,lVar11,0x17); + plVar15 = local_470; + } +joined_r0x0001400323a8: + do { + plVar16 = local_470; + if (plVar15 == (longlong *)0x0) goto joined_r0x000140032477; + bVar31 = (char *)(plVar15[7] + 0x10) == (char *)0x0; + lVar11 = 4; + pcVar18 = (char *)(plVar15[7] + 0x10); + pcVar21 = "dns"; + do { + if (lVar11 == 0) break; + lVar11 = lVar11 + -1; + bVar31 = *pcVar18 == *pcVar21; + pcVar18 = pcVar18 + 1; + pcVar21 = pcVar21 + 1; + } while (bVar31); + if (bVar31) break; + plVar15 = (longlong *)plVar15[10]; + } while( true ); + while (lVar11 = (**(code **)(*plVar15 + 0x30))(plVar15), lVar11 == 0) { + do { + plVar15 = (longlong *)plVar15[10]; + plVar16 = local_470; + if (plVar15 == (longlong *)0x0) goto joined_r0x000140032477; + bVar31 = (char *)(plVar15[7] + 0x10) == (char *)0x0; + lVar11 = 4; + pcVar18 = (char *)(plVar15[7] + 0x10); + pcVar21 = "dns"; + do { + if (lVar11 == 0) break; + lVar11 = lVar11 + -1; + bVar31 = *pcVar18 == *pcVar21; + pcVar18 = pcVar18 + 1; + pcVar21 = pcVar21 + 1; + } while (bVar31); + } while (!bVar31); + } + lVar11 = (**(code **)(*plVar15 + 0x30))(plVar15); + plVar16 = local_470; + if (lVar11 != 0) { + for (lVar14 = *(longlong *)(lVar11 + 0xa0); lVar14 != lVar11 + 0x58; + lVar14 = *(longlong *)(lVar14 + 0x48)) { + pcVar18 = (char *)(*(longlong *)(lVar14 + 0x20) + 0x10); + bVar31 = pcVar18 == (char *)0x0; + lVar12 = 4; + pcVar21 = "dns"; + do { + if (lVar12 == 0) break; + lVar12 = lVar12 + -1; + bVar31 = *pcVar18 == *pcVar21; + pcVar18 = pcVar18 + 1; + pcVar21 = pcVar21 + 1; + } while (bVar31); + if (bVar31) { + pcVar18 = (char *)(*(longlong *)(lVar14 + 0x30) + 0x10); + if (pcVar18 != (char *)0x0) { + iVar4 = atoi(pcVar18); + *(bool *)(param_1 + 0x151) = 0 < iVar4; + plVar16 = local_470; + } + break; + } + } + } +joined_r0x000140032477: + do { + plVar15 = local_470; + if (plVar16 == (longlong *)0x0) goto joined_r0x0001400325b1; + bVar31 = (char *)(plVar16[7] + 0x10) == (char *)0x0; + lVar11 = 8; + pcVar18 = (char *)(plVar16[7] + 0x10); + pcVar21 = "setting"; + do { + if (lVar11 == 0) break; + lVar11 = lVar11 + -1; + bVar31 = *pcVar18 == *pcVar21; + pcVar18 = pcVar18 + 1; + pcVar21 = pcVar21 + 1; + } while (bVar31); + if (bVar31) break; + plVar16 = (longlong *)plVar16[10]; + } while( true ); + while (lVar11 = (**(code **)(*plVar16 + 0x30))(plVar16), lVar11 == 0) { + do { + plVar16 = (longlong *)plVar16[10]; + plVar15 = local_470; + if (plVar16 == (longlong *)0x0) goto joined_r0x0001400325b1; + bVar31 = (char *)(plVar16[7] + 0x10) == (char *)0x0; + lVar11 = 8; + pcVar18 = (char *)(plVar16[7] + 0x10); + pcVar21 = "setting"; + do { + if (lVar11 == 0) break; + lVar11 = lVar11 + -1; + bVar31 = *pcVar18 == *pcVar21; + pcVar18 = pcVar18 + 1; + pcVar21 = pcVar21 + 1; + } while (bVar31); + } while (!bVar31); + } + lVar11 = (**(code **)(*plVar16 + 0x30))(plVar16); + plVar15 = local_470; + if (lVar11 != 0) { + for (lVar14 = *(longlong *)(lVar11 + 0xa0); pcVar18 = pcVar8, lVar14 != lVar11 + 0x58; + lVar14 = *(longlong *)(lVar14 + 0x48)) { + pcVar18 = (char *)(*(longlong *)(lVar14 + 0x20) + 0x10); + bVar31 = pcVar18 == (char *)0x0; + lVar12 = 6; + pcVar21 = "multi"; + do { + if (lVar12 == 0) break; + lVar12 = lVar12 + -1; + bVar31 = *pcVar18 == *pcVar21; + pcVar18 = pcVar18 + 1; + pcVar21 = pcVar21 + 1; + } while (bVar31); + if (bVar31) { + pcVar18 = (char *)(*(longlong *)(lVar14 + 0x30) + 0x10); + break; + } + } + for (lVar14 = *(longlong *)(lVar11 + 0xa0); pcVar21 = pcVar8, lVar14 != lVar11 + 0x58; + lVar14 = *(longlong *)(lVar14 + 0x48)) { + pcVar21 = (char *)(*(longlong *)(lVar14 + 0x20) + 0x10); + bVar31 = pcVar21 == (char *)0x0; + lVar12 = 5; + pcVar22 = "lock"; + do { + if (lVar12 == 0) break; + lVar12 = lVar12 + -1; + bVar31 = *pcVar21 == *pcVar22; + pcVar21 = pcVar21 + 1; + pcVar22 = pcVar22 + 1; + } while (bVar31); + if (bVar31) { + pcVar21 = (char *)(*(longlong *)(lVar14 + 0x30) + 0x10); + break; + } + } + if (pcVar18 != (char *)0x0) { + iVar4 = atoi(pcVar18); + *(bool *)(param_1 + 0x166) = 0 < iVar4; + } + plVar15 = local_470; + if (pcVar21 != (char *)0x0) { + iVar4 = atoi(pcVar21); + *(double *)(param_1 + 0x168) = (double)iVar4; + plVar15 = local_470; + } + } +joined_r0x0001400325b1: + do { + if (plVar15 == (longlong *)0x0) goto LAB_140032743; + bVar31 = (char *)(plVar15[7] + 0x10) == (char *)0x0; + lVar11 = 5; + pcVar18 = (char *)(plVar15[7] + 0x10); + pcVar21 = "auto"; + do { + if (lVar11 == 0) break; + lVar11 = lVar11 + -1; + bVar31 = *pcVar18 == *pcVar21; + pcVar18 = pcVar18 + 1; + pcVar21 = pcVar21 + 1; + } while (bVar31); + if (bVar31) goto LAB_1400325e6; + plVar15 = (longlong *)plVar15[10]; + } while( true ); +joined_r0x000140032a04: + if (pcVar8 == pcVar18) goto LAB_140032a49; + bVar31 = (char *)(*(longlong *)(pcVar8 + 0x20) + 0x10) == (char *)0x0; + lVar11 = 3; + pcVar22 = (char *)(*(longlong *)(pcVar8 + 0x20) + 0x10); + pcVar19 = "id"; + do { + if (lVar11 == 0) break; + lVar11 = lVar11 + -1; + bVar31 = *pcVar22 == *pcVar19; + pcVar22 = pcVar22 + 1; + pcVar19 = pcVar19 + 1; + } while (bVar31); + if (bVar31) { + pcVar20 = (char *)(*(longlong *)(pcVar8 + 0x30) + 0x10); + goto LAB_140032a49; + } + pcVar8 = *(char **)(pcVar8 + 0x48); + goto joined_r0x000140032a04; +LAB_1400325e6: + while (lVar11 = (**(code **)(*plVar15 + 0x30))(plVar15), lVar11 == 0) { + do { + plVar15 = (longlong *)plVar15[10]; + if (plVar15 == (longlong *)0x0) goto LAB_140032743; + bVar31 = (char *)(plVar15[7] + 0x10) == (char *)0x0; + lVar11 = 5; + pcVar18 = (char *)(plVar15[7] + 0x10); + pcVar21 = "auto"; + do { + if (lVar11 == 0) break; + lVar11 = lVar11 + -1; + bVar31 = *pcVar18 == *pcVar21; + pcVar18 = pcVar18 + 1; + pcVar21 = pcVar21 + 1; + } while (bVar31); + } while (!bVar31); + } + lVar11 = (**(code **)(*plVar15 + 0x30))(plVar15); + if (lVar11 != 0) { + lVar14 = lVar11 + 0x58; + for (lVar12 = *(longlong *)(lVar11 + 0xa0); pcVar18 = pcVar8, lVar12 != lVar14; + lVar12 = *(longlong *)(lVar12 + 0x48)) { + pcVar18 = (char *)(*(longlong *)(lVar12 + 0x20) + 0x10); + bVar31 = pcVar18 == (char *)0x0; + lVar13 = 0xd; + pcVar21 = "start_server"; + do { + if (lVar13 == 0) break; + lVar13 = lVar13 + -1; + bVar31 = *pcVar18 == *pcVar21; + pcVar18 = pcVar18 + 1; + pcVar21 = pcVar21 + 1; + } while (bVar31); + if (bVar31) { + pcVar18 = (char *)(*(longlong *)(lVar12 + 0x30) + 0x10); + break; + } + } + for (lVar12 = *(longlong *)(lVar11 + 0xa0); pcVar21 = pcVar8, lVar12 != lVar14; + lVar12 = *(longlong *)(lVar12 + 0x48)) { + pcVar21 = (char *)(*(longlong *)(lVar12 + 0x20) + 0x10); + bVar31 = pcVar21 == (char *)0x0; + lVar13 = 0xe; + pcVar22 = "revive_server"; + do { + if (lVar13 == 0) break; + lVar13 = lVar13 + -1; + bVar31 = *pcVar21 == *pcVar22; + pcVar21 = pcVar21 + 1; + pcVar22 = pcVar22 + 1; + } while (bVar31); + if (bVar31) { + pcVar21 = (char *)(*(longlong *)(lVar12 + 0x30) + 0x10); + break; + } + } + for (lVar11 = *(longlong *)(lVar11 + 0xa0); pcVar22 = pcVar8, lVar11 != lVar14; + lVar11 = *(longlong *)(lVar11 + 0x48)) { + pcVar22 = (char *)(*(longlong *)(lVar11 + 0x20) + 0x10); + bVar31 = pcVar22 == (char *)0x0; + lVar12 = 0xd; + pcVar20 = "open_channel"; + do { + if (lVar12 == 0) break; + lVar12 = lVar12 + -1; + bVar31 = *pcVar22 == *pcVar20; + pcVar22 = pcVar22 + 1; + pcVar20 = pcVar20 + 1; + } while (bVar31); + if (bVar31) { + pcVar22 = (char *)(*(longlong *)(lVar11 + 0x30) + 0x10); + break; + } + } + if (pcVar18 != (char *)0x0) { + iVar4 = atoi(pcVar18); + *(double *)(param_1 + 0x178) = (double)iVar4; + } + if (pcVar21 != (char *)0x0) { + iVar4 = atoi(pcVar21); + *(bool *)(param_1 + 0x171) = 0 < iVar4; + } + if (pcVar22 != (char *)0x0) { + iVar4 = atoi(pcVar22); + *(bool *)(param_1 + 0x170) = 0 < iVar4; + } + } +LAB_140032743: + lVar11 = FUN_14001ee20((longlong)&local_498,0x140133ee8); + if (lVar11 != 0) { + for (lVar14 = *(longlong *)(lVar11 + 0xa0); lVar14 != lVar11 + 0x58; + lVar14 = *(longlong *)(lVar14 + 0x48)) { + pcVar18 = (char *)(*(longlong *)(lVar14 + 0x20) + 0x10); + bVar31 = pcVar18 == (char *)0x0; + lVar12 = 6; + pcVar21 = "value"; + do { + if (lVar12 == 0) break; + lVar12 = lVar12 + -1; + bVar31 = *pcVar18 == *pcVar21; + pcVar18 = pcVar18 + 1; + pcVar21 = pcVar21 + 1; + } while (bVar31); + if (bVar31) { + pcVar18 = (char *)(*(longlong *)(lVar14 + 0x30) + 0x10); + if (pcVar18 != (char *)0x0) { + iVar4 = atoi(pcVar18); + *(uint *)(param_1 + 0x158) = (uint)(0 < iVar4); + } + break; + } + } + } + DAT_14017c8c6 = 0; + lVar11 = FUN_14001ee20((longlong)&local_498,0x140133d80); + if (lVar11 != 0) { + for (lVar14 = *(longlong *)(lVar11 + 0xa0); lVar14 != lVar11 + 0x58; + lVar14 = *(longlong *)(lVar14 + 0x48)) { + pcVar18 = (char *)(*(longlong *)(lVar14 + 0x20) + 0x10); + bVar31 = pcVar18 == (char *)0x0; + lVar12 = 5; + pcVar21 = "send"; + do { + if (lVar12 == 0) break; + lVar12 = lVar12 + -1; + bVar31 = *pcVar18 == *pcVar21; + pcVar18 = pcVar18 + 1; + pcVar21 = pcVar21 + 1; + } while (bVar31); + if (bVar31) { + pcVar8 = (char *)(*(longlong *)(lVar14 + 0x30) + 0x10); + break; + } + } + iVar4 = atoi(pcVar8); + DAT_14017c8c6 = 0 < iVar4; + } + if ((*(int *)(param_1 + 0x154) == 0) && + (lVar11 = FUN_14001ee20((longlong)&local_498,0x140133f04), lVar11 != 0)) { + lVar11 = FUN_14001ee20((longlong)&local_498,0x140133f04); + pcVar8 = (char *)FUN_14001ee20(lVar11,0x140130aa0); + local_4a0 = pcVar8; + while (pcVar8 != (char *)0x0) { + pCVar30 = (LPCSTR)0x0; + pcVar18 = (char *)((longlong)pcVar8 + 0x58); + for (pcVar21 = *(char **)((longlong)pcVar8 + 0xa0); pcVar21 != pcVar18; + pcVar21 = *(char **)(pcVar21 + 0x48)) { + bVar31 = (char *)(*(longlong *)(pcVar21 + 0x20) + 0x10) == (char *)0x0; + lVar11 = 5; + pcVar22 = (char *)(*(longlong *)(pcVar21 + 0x20) + 0x10); + pcVar20 = "name"; + do { + if (lVar11 == 0) break; + lVar11 = lVar11 + -1; + bVar31 = *pcVar22 == *pcVar20; + pcVar22 = pcVar22 + 1; + pcVar20 = pcVar20 + 1; + } while (bVar31); + if (bVar31) { + pCVar30 = (LPCSTR)(*(longlong *)(pcVar21 + 0x30) + 0x10); + break; + } + } + for (pcVar21 = *(char **)((longlong)pcVar8 + 0xa0); pcVar21 != pcVar18; + pcVar21 = *(char **)(pcVar21 + 0x48)) { + bVar31 = (char *)(*(longlong *)(pcVar21 + 0x20) + 0x10) == (char *)0x0; + lVar11 = 7; + pcVar22 = (char *)(*(longlong *)(pcVar21 + 0x20) + 0x10); + pcVar20 = "minlev"; + do { + if (lVar11 == 0) break; + lVar11 = lVar11 + -1; + bVar31 = *pcVar22 == *pcVar20; + pcVar22 = pcVar22 + 1; + pcVar20 = pcVar20 + 1; + } while (bVar31); + if (bVar31) { + pcVar21 = (char *)(*(longlong *)(pcVar21 + 0x30) + 0x10); + goto LAB_140032906; + } + } + pcVar21 = (char *)0x0; +LAB_140032906: + pcVar20 = (char *)0x0; + for (pcVar22 = *(char **)((longlong)pcVar8 + 0xa0); pcVar23 = pcVar20, pcVar22 != pcVar18; + pcVar22 = *(char **)(pcVar22 + 0x48)) { + bVar31 = (char *)(*(longlong *)(pcVar22 + 0x20) + 0x10) == (char *)0x0; + lVar11 = 7; + pcVar23 = (char *)(*(longlong *)(pcVar22 + 0x20) + 0x10); + pcVar24 = "maxlev"; + do { + if (lVar11 == 0) break; + lVar11 = lVar11 + -1; + bVar31 = *pcVar23 == *pcVar24; + pcVar23 = pcVar23 + 1; + pcVar24 = pcVar24 + 1; + } while (bVar31); + if (bVar31) { + pcVar23 = (char *)(*(longlong *)(pcVar22 + 0x30) + 0x10); + break; + } + } + for (pcVar22 = *(char **)((longlong)pcVar8 + 0xa0); pcVar24 = pcVar20, pcVar22 != pcVar18; + pcVar22 = *(char **)(pcVar22 + 0x48)) { + bVar31 = (char *)(*(longlong *)(pcVar22 + 0x20) + 0x10) == (char *)0x0; + lVar11 = 6; + pcVar24 = (char *)(*(longlong *)(pcVar22 + 0x20) + 0x10); + pcVar17 = "group"; + do { + if (lVar11 == 0) break; + lVar11 = lVar11 + -1; + bVar31 = *pcVar24 == *pcVar17; + pcVar24 = pcVar24 + 1; + pcVar17 = pcVar17 + 1; + } while (bVar31); + if (bVar31) { + pcVar24 = (char *)(*(longlong *)(pcVar22 + 0x30) + 0x10); + break; + } + } + for (pcVar22 = *(char **)((longlong)pcVar8 + 0xa0); pcVar17 = pcVar20, pcVar22 != pcVar18; + pcVar22 = *(char **)(pcVar22 + 0x48)) { + bVar31 = (char *)(*(longlong *)(pcVar22 + 0x20) + 0x10) == (char *)0x0; + lVar11 = 5; + pcVar17 = (char *)(*(longlong *)(pcVar22 + 0x20) + 0x10); + pcVar19 = "type"; + do { + if (lVar11 == 0) break; + lVar11 = lVar11 + -1; + bVar31 = *pcVar17 == *pcVar19; + pcVar17 = pcVar17 + 1; + pcVar19 = pcVar19 + 1; + } while (bVar31); + if (bVar31) { + pcVar17 = (char *)(*(longlong *)(pcVar22 + 0x30) + 0x10); + break; + } + } + for (pcVar22 = *(char **)((longlong)pcVar8 + 0xa0); pcVar22 != pcVar18; + pcVar22 = *(char **)(pcVar22 + 0x48)) { + bVar31 = (char *)(*(longlong *)(pcVar22 + 0x20) + 0x10) == (char *)0x0; + lVar11 = 3; + pcVar19 = (char *)(*(longlong *)(pcVar22 + 0x20) + 0x10); + pcVar26 = "id"; + do { + if (lVar11 == 0) break; + lVar11 = lVar11 + -1; + bVar31 = *pcVar19 == *pcVar26; + pcVar19 = pcVar19 + 1; + pcVar26 = pcVar26 + 1; + } while (bVar31); + if (bVar31) { + if (*(longlong *)(pcVar22 + 0x30) != -0x10) { + pcVar8 = *(char **)((longlong)pcVar8 + 0xa0); + goto joined_r0x000140032a04; + } + break; + } + } + pcVar20 = "1"; +LAB_140032a49: + memset(local_258,0,0x208); + lVar11 = -1; + pCVar27 = pCVar30; + do { + if (lVar11 == 0) break; + lVar11 = lVar11 + -1; + cVar2 = *pCVar27; + pCVar27 = pCVar27 + 1; + } while (cVar2 != '\0'); + MultiByteToWideChar(0,1,pCVar30,~(uint)lVar11,local_258,0x104); + local_3c0 = 7; + pcVar8 = (char *)0x0; + local_3c8 = 0; + local_3d8 = 0; + local_3b0 = 0; + local_3a8 = 0; + local_3a0 = 0; + uVar10 = 0xffffffffffffffff; + pWVar28 = local_258; + do { + if (uVar10 == 0) break; + uVar10 = uVar10 - 1; + WVar3 = *pWVar28; + pWVar28 = pWVar28 + 1; + } while (WVar3 != L'\0'); + FUN_140001710((ulonglong *)&local_3d8,local_258,~uVar10 - 1); + if (pcVar21 != (char *)0x0) { + iVar4 = atoi(pcVar21); + local_3b0 = CONCAT44(local_3b0._4_4_,iVar4); + } + if (pcVar23 != (char *)0x0) { + iVar4 = atoi(pcVar23); + local_3b0 = CONCAT44(iVar4,(undefined4)local_3b0); + } + if (pcVar24 != (char *)0x0) { + iVar4 = atoi(pcVar24); + local_3a8 = CONCAT44(local_3a8._4_4_,iVar4); + } + if (pcVar17 != (char *)0x0) { + iVar4 = atoi(pcVar17); + local_3a0 = CONCAT44(local_3a0._4_4_,iVar4); + } + if (pcVar20 != (char *)0x0) { + iVar4 = atoi(pcVar20); + local_3a8 = CONCAT44(iVar4,(undefined4)local_3a8); + } + FUN_140034be0((ulonglong *)(param_1 + 0x188),(longlong *)&local_3d8); + for (plVar15 = *(longlong **)(local_4a0 + 0x50); plVar15 != (longlong *)0x0; + plVar15 = (longlong *)plVar15[10]) { + lVar11 = (**(code **)(*plVar15 + 0x30))(plVar15); + if (lVar11 != 0) { + pcVar8 = (char *)(**(code **)(*plVar15 + 0x30))(plVar15); + break; + } + } + local_4a0 = pcVar8; + if (7 < local_3c0) { + operator_delete((void *)CONCAT62(uStack_3d6,local_3d8)); + } + } + if ((*(longlong *)(param_1 + 400) - *(longlong *)(param_1 + 0x188) & 0xffffffffffffffc0U) == 0) + { + local_3c0 = 7; + local_3c8 = 0; + local_3d8 = 0; + local_3b0 = 0; + local_3a8 = 0; + local_3a0 = 0; + FUN_140001710((ulonglong *)&local_3d8,&DAT_140133f30,3); + local_3b0 = 0x6400000001; + local_3a8 = 0x100000001; + local_3a0 = CONCAT44(local_3a0._4_4_,1); + FUN_140034be0((ulonglong *)(param_1 + 0x188),(longlong *)&local_3d8); + if (7 < local_3c0) { + operator_delete((void *)CONCAT62(uStack_3d6,local_3d8)); + } + } + } + pcVar8 = (char *)0x0; + DAT_14017c8ca = 0; + DAT_14017c8c9 = 0; + DAT_14017c8c8 = 0; + DAT_14017c8c7 = 0; + DAT_14017c8c5 = 1; + DAT_14017c8c4 = 1; + lVar11 = FUN_14001ee20((longlong)&local_498,0x140133d20); + if (lVar11 != 0) { + lVar12 = lVar11 + 0x58; + for (lVar14 = *(longlong *)(lVar11 + 0xa0); pcVar18 = pcVar8, lVar14 != lVar12; + lVar14 = *(longlong *)(lVar14 + 0x48)) { + pcVar18 = (char *)(*(longlong *)(lVar14 + 0x20) + 0x10); + bVar31 = pcVar18 == (char *)0x0; + lVar13 = 8; + pcVar21 = "preload"; + do { + if (lVar13 == 0) break; + lVar13 = lVar13 + -1; + bVar31 = *pcVar18 == *pcVar21; + pcVar18 = pcVar18 + 1; + pcVar21 = pcVar21 + 1; + } while (bVar31); + if (bVar31) { + pcVar18 = (char *)(*(longlong *)(lVar14 + 0x30) + 0x10); + break; + } + } + for (lVar14 = *(longlong *)(lVar11 + 0xa0); pcVar21 = pcVar8, lVar14 != lVar12; + lVar14 = *(longlong *)(lVar14 + 0x48)) { + pcVar21 = (char *)(*(longlong *)(lVar14 + 0x20) + 0x10); + bVar31 = pcVar21 == (char *)0x0; + lVar13 = 0xd; + pcVar22 = "preload_char"; + do { + if (lVar13 == 0) break; + lVar13 = lVar13 + -1; + bVar31 = *pcVar21 == *pcVar22; + pcVar21 = pcVar21 + 1; + pcVar22 = pcVar22 + 1; + } while (bVar31); + if (bVar31) { + pcVar21 = (char *)(*(longlong *)(lVar14 + 0x30) + 0x10); + break; + } + } + for (lVar14 = *(longlong *)(lVar11 + 0xa0); pcVar22 = pcVar8, lVar14 != lVar12; + lVar14 = *(longlong *)(lVar14 + 0x48)) { + pcVar22 = (char *)(*(longlong *)(lVar14 + 0x20) + 0x10); + bVar31 = pcVar22 == (char *)0x0; + lVar13 = 0xc; + pcVar20 = "enemy_debug"; + do { + if (lVar13 == 0) break; + lVar13 = lVar13 + -1; + bVar31 = *pcVar22 == *pcVar20; + pcVar22 = pcVar22 + 1; + pcVar20 = pcVar20 + 1; + } while (bVar31); + if (bVar31) { + pcVar22 = (char *)(*(longlong *)(lVar14 + 0x30) + 0x10); + break; + } + } + for (lVar14 = *(longlong *)(lVar11 + 0xa0); pcVar20 = pcVar8, lVar14 != lVar12; + lVar14 = *(longlong *)(lVar14 + 0x48)) { + pcVar20 = (char *)(*(longlong *)(lVar14 + 0x20) + 0x10); + bVar31 = pcVar20 == (char *)0x0; + lVar13 = 10; + pcVar23 = "enemy_one"; + do { + if (lVar13 == 0) break; + lVar13 = lVar13 + -1; + bVar31 = *pcVar20 == *pcVar23; + pcVar20 = pcVar20 + 1; + pcVar23 = pcVar23 + 1; + } while (bVar31); + if (bVar31) { + pcVar20 = (char *)(*(longlong *)(lVar14 + 0x30) + 0x10); + break; + } + } + for (lVar14 = *(longlong *)(lVar11 + 0xa0); pcVar23 = pcVar8, lVar14 != lVar12; + lVar14 = *(longlong *)(lVar14 + 0x48)) { + pcVar23 = (char *)(*(longlong *)(lVar14 + 0x20) + 0x10); + bVar31 = pcVar23 == (char *)0x0; + lVar13 = 0xd; + pcVar24 = "player_debug"; + do { + if (lVar13 == 0) break; + lVar13 = lVar13 + -1; + bVar31 = *pcVar23 == *pcVar24; + pcVar23 = pcVar23 + 1; + pcVar24 = pcVar24 + 1; + } while (bVar31); + if (bVar31) { + pcVar23 = (char *)(*(longlong *)(lVar14 + 0x30) + 0x10); + break; + } + } + for (lVar11 = *(longlong *)(lVar11 + 0xa0); lVar11 != lVar12; + lVar11 = *(longlong *)(lVar11 + 0x48)) { + pcVar24 = (char *)(*(longlong *)(lVar11 + 0x20) + 0x10); + bVar31 = pcVar24 == (char *)0x0; + lVar14 = 9; + pcVar17 = "lua_text"; + do { + if (lVar14 == 0) break; + lVar14 = lVar14 + -1; + bVar31 = *pcVar24 == *pcVar17; + pcVar24 = pcVar24 + 1; + pcVar17 = pcVar17 + 1; + } while (bVar31); + if (bVar31) { + pcVar8 = (char *)(*(longlong *)(lVar11 + 0x30) + 0x10); + break; + } + } + if (pcVar18 != (char *)0x0) { + iVar4 = atoi(pcVar18); + DAT_14017c8c5 = 0 < iVar4; + } + if (pcVar21 != (char *)0x0) { + iVar4 = atoi(pcVar21); + DAT_14017c8c4 = 0 < iVar4; + } + if (pcVar20 != (char *)0x0) { + iVar4 = atoi(pcVar20); + DAT_14017c8c9 = 0 < iVar4; + } + if (pcVar22 != (char *)0x0) { + iVar4 = atoi(pcVar22); + DAT_14017c8ca = 0 < iVar4; + } + if (pcVar23 != (char *)0x0) { + iVar4 = atoi(pcVar23); + DAT_14017c8c8 = 0 < iVar4; + } + if (pcVar8 != (char *)0x0) { + iVar4 = atoi(pcVar8); + DAT_14017c8c7 = 0 < iVar4; + } + } + _Format = L"=================DNS. ServerParseOption============== \n"; + if (*(char *)(param_1 + 0x151) == '\0') { + _Format = L"=================IP. ServerParseOption============== \n"; + } + wprintf(_Format); + wprintf(L"(PRIVATE)\t[ADDRESS:%s] [PORT:%d] \n"); + plVar15 = (longlong *)(param_1 + 0x58); + if (7 < *(ulonglong *)(param_1 + 0x70)) { + plVar15 = (longlong *)*plVar15; + } + uVar29 = (ulonglong)*(uint *)(param_1 + 0x88); + uVar10 = (ulonglong)*(uint *)(param_1 + 0x84); + wprintf(L"(PUBLIC)\t[ADDRESS:%s] [PORT:%d] [UDP:%d] [UDPCOUNT:%d] \n"); + wprintf(L"==================================================== \n"); + local_498 = TiXmlDocument::vftable; + if (local_438 != &DAT_14017ce88) { + operator_delete__(local_430); + } + uVar9 = FUN_14001ec20(&local_498,plVar15,uVar10,uVar29); + return CONCAT71((int7)((ulonglong)uVar9 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140032f70.c b/decomp/AgentManager_Release_x64/full/functions/0x140032f70.c new file mode 100644 index 00000000..360e8650 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140032f70.c @@ -0,0 +1,226 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140032f70 FUN_140032f70 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* WARNING: Type propagation algorithm not settling */ + +ulonglong FUN_140032f70(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + short sVar1; + longlong lVar2; + undefined **ppuVar3; + undefined **extraout_RAX; + undefined **extraout_RAX_00; + ulonglong uVar4; + longlong lVar5; + short *psVar6; + char *******pppppppcVar7; + longlong *plVar8; + char *pcVar9; + short *psVar10; + char *pcVar11; + bool bVar12; + undefined1 auStack_118 [32]; + undefined **local_f8 [5]; + longlong *local_d0; + undefined8 *local_c0; + void *local_b8; + uint local_9c; + undefined8 *local_98; + void *local_90; + undefined8 local_78; + char *******local_70 [3]; + ulonglong local_58; + WCHAR local_48; + undefined6 uStack_46; + undefined8 local_38; + ulonglong local_30; + ulonglong local_20; + + local_78 = 0xfffffffffffffffe; + local_20 = DAT_14016f5a0 ^ (ulonglong)auStack_118; + psVar6 = (short *)&DAT_1401750b0; + if (7 < DAT_1401750c8) { + psVar6 = DAT_1401750b0; + } + local_30 = 7; + local_38 = 0; + local_48 = L'\0'; + uVar4 = 0xffffffffffffffff; + psVar10 = psVar6; + do { + if (uVar4 == 0) break; + uVar4 = uVar4 - 1; + sVar1 = *psVar10; + psVar10 = psVar10 + 1; + } while (sVar1 != 0); + FUN_140001710((ulonglong *)&local_48,psVar6,~uVar4 - 1); + FUN_1400ed7b0((ulonglong *)local_70,&local_48); + if (7 < local_30) { + operator_delete((void *)CONCAT62(uStack_46,local_48)); + } + local_30 = 7; + local_38 = 0; + local_48 = L'\0'; + pppppppcVar7 = (char *******)local_70; + if (0xf < local_58) { + pppppppcVar7 = local_70[0]; + } + FUN_14001f6d0(local_f8,(char *)pppppppcVar7); + DAT_140174c28 = 0; + uVar4 = FUN_14001f7a0((longlong *)local_f8,(char *)(local_c0 + 2)); + plVar8 = local_d0; + if ((char)uVar4 == '\0') { + FUN_14001e070("Error : %d - %s",(ulonglong)local_9c,local_98 + 2,param_4); + local_f8[0] = TiXmlDocument::vftable; + if (local_98 != &DAT_14017ce88) { + operator_delete__(local_90); + } + local_f8[0] = TiXmlNode::vftable; + while (local_d0 != (longlong *)0x0) { + plVar8 = (longlong *)local_d0[10]; + (**(code **)*local_d0)(local_d0,1); + local_d0 = plVar8; + } + if (local_c0 != &DAT_14017ce88) { + operator_delete__(local_b8); + } + goto LAB_140033434; + } + for (; plVar8 != (longlong *)0x0; plVar8 = (longlong *)plVar8[10]) { + bVar12 = (char *)(plVar8[7] + 0x10) == (char *)0x0; + lVar5 = 3; + pcVar9 = (char *)(plVar8[7] + 0x10); + pcVar11 = "db"; + do { + if (lVar5 == 0) break; + lVar5 = lVar5 + -1; + bVar12 = *pcVar9 == *pcVar11; + pcVar9 = pcVar9 + 1; + pcVar11 = pcVar11 + 1; + } while (bVar12); + if (bVar12) goto LAB_140033126; + } +LAB_1400333c8: + local_f8[0] = TiXmlDocument::vftable; + if (local_98 != &DAT_14017ce88) { + operator_delete__(local_90); + } + local_f8[0] = TiXmlNode::vftable; + while (local_d0 != (longlong *)0x0) { + plVar8 = (longlong *)local_d0[10]; + (**(code **)*local_d0)(local_d0,1); + local_d0 = plVar8; + } + if (local_c0 != &DAT_14017ce88) { + operator_delete__(local_b8); + } +LAB_140033434: + local_f8[0] = TiXmlBase::vftable; + ppuVar3 = TiXmlBase::vftable; + if (0xf < local_58) { + operator_delete(local_70[0]); + ppuVar3 = extraout_RAX_00; + } + return (ulonglong)ppuVar3 & 0xffffffffffffff00; +LAB_140033126: + while (lVar5 = (**(code **)(*plVar8 + 0x30))(plVar8), lVar5 == 0) { + do { + plVar8 = (longlong *)plVar8[10]; + if (plVar8 == (longlong *)0x0) goto LAB_1400333c8; + bVar12 = (char *)(plVar8[7] + 0x10) == (char *)0x0; + lVar5 = 3; + pcVar9 = (char *)(plVar8[7] + 0x10); + pcVar11 = "db"; + do { + if (lVar5 == 0) break; + lVar5 = lVar5 + -1; + bVar12 = *pcVar9 == *pcVar11; + pcVar9 = pcVar9 + 1; + pcVar11 = pcVar11 + 1; + } while (bVar12); + } while (!bVar12); + } + lVar5 = (**(code **)(*plVar8 + 0x30))(plVar8); + if (lVar5 != 0) { + lVar5 = FUN_14001ee20(lVar5,0x140133c98); + if (lVar5 == 0) { + local_f8[0] = TiXmlDocument::vftable; + if (local_98 != &DAT_14017ce88) { + operator_delete__(local_90); + } + local_f8[0] = TiXmlNode::vftable; + while (local_d0 != (longlong *)0x0) { + plVar8 = (longlong *)local_d0[10]; + (**(code **)*local_d0)(local_d0,1); + local_d0 = plVar8; + } + if (local_c0 != &DAT_14017ce88) { + operator_delete__(local_b8); + } + } + else { + lVar2 = FUN_14001ee20(lVar5,0x140133c50); + if (lVar2 == 0) { + local_f8[0] = TiXmlDocument::vftable; + if (local_98 != &DAT_14017ce88) { + operator_delete__(local_90); + } + local_f8[0] = TiXmlNode::vftable; + while (local_d0 != (longlong *)0x0) { + plVar8 = (longlong *)local_d0[10]; + (**(code **)*local_d0)(local_d0,1); + local_d0 = plVar8; + } + if (local_c0 != &DAT_14017ce88) { + operator_delete__(local_b8); + } + } + else { + lVar5 = FUN_14001ee20(lVar5,0x140133e30); + if (lVar5 != 0) { + FUN_140033470((ulonglong *)(param_1 + 0x90),(int *)(param_1 + 0x130),lVar2); + FUN_140033470((ulonglong *)(param_1 + 0x108),(int *)(param_1 + 0x13c),lVar5); + local_f8[0] = TiXmlDocument::vftable; + if (local_98 != &DAT_14017ce88) { + operator_delete__(local_90); + } + local_f8[0] = TiXmlNode::vftable; + while (local_d0 != (longlong *)0x0) { + plVar8 = (longlong *)local_d0[10]; + (**(code **)*local_d0)(local_d0,1); + local_d0 = plVar8; + } + if (local_c0 != &DAT_14017ce88) { + operator_delete__(local_b8); + } + ppuVar3 = TiXmlBase::vftable; + local_f8[0] = TiXmlBase::vftable; + if (0xf < local_58) { + operator_delete(local_70[0]); + ppuVar3 = extraout_RAX; + } + return CONCAT71((int7)((ulonglong)ppuVar3 >> 8),1); + } + local_f8[0] = TiXmlDocument::vftable; + if (local_98 != &DAT_14017ce88) { + operator_delete__(local_90); + } + local_f8[0] = TiXmlNode::vftable; + while (local_d0 != (longlong *)0x0) { + plVar8 = (longlong *)local_d0[10]; + (**(code **)*local_d0)(local_d0,1); + local_d0 = plVar8; + } + if (local_c0 != &DAT_14017ce88) { + operator_delete__(local_b8); + } + } + } + goto LAB_140033434; + } + goto LAB_1400333c8; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140033470.c b/decomp/AgentManager_Release_x64/full/functions/0x140033470.c new file mode 100644 index 00000000..8c40d847 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140033470.c @@ -0,0 +1,75 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140033470 FUN_140033470 + * Pseudocode, not original source. */ + +void FUN_140033470(ulonglong *param_1,int *param_2,longlong param_3) + +{ + char cVar1; + longlong lVar2; + int iVar3; + longlong lVar4; + longlong lVar5; + ulonglong uVar6; + char *_Str; + char *pcVar7; + char *pcVar8; + char *pcVar9; + bool bVar10; + + _Str = (char *)0x0; + lVar2 = *(longlong *)(param_3 + 0xa0); + for (lVar5 = lVar2; pcVar7 = _Str, lVar5 != param_3 + 0x58; lVar5 = *(longlong *)(lVar5 + 0x48)) { + lVar4 = 7; + pcVar7 = (char *)(*(longlong *)(lVar5 + 0x20) + 0x10); + bVar10 = pcVar7 == (char *)0x0; + pcVar8 = "string"; + do { + if (lVar4 == 0) break; + lVar4 = lVar4 + -1; + bVar10 = *pcVar7 == *pcVar8; + pcVar7 = pcVar7 + 1; + pcVar8 = pcVar8 + 1; + } while (bVar10); + if (bVar10) { + pcVar7 = (char *)(*(longlong *)(lVar5 + 0x30) + 0x10); + break; + } + } + do { + if (lVar2 == param_3 + 0x58) break; + lVar5 = 8; + pcVar8 = (char *)(*(longlong *)(lVar2 + 0x20) + 0x10); + bVar10 = pcVar8 == (char *)0x0; + pcVar9 = "timeout"; + do { + if (lVar5 == 0) break; + lVar5 = lVar5 + -1; + bVar10 = *pcVar8 == *pcVar9; + pcVar8 = pcVar8 + 1; + pcVar9 = pcVar9 + 1; + } while (bVar10); + if (bVar10) { + _Str = (char *)(*(longlong *)(lVar2 + 0x30) + 0x10); + break; + } + lVar2 = *(longlong *)(lVar2 + 0x48); + } while( true ); + if (pcVar7 != (char *)0x0) { + uVar6 = 0xffffffffffffffff; + pcVar8 = pcVar7; + do { + if (uVar6 == 0) break; + uVar6 = uVar6 - 1; + cVar1 = *pcVar8; + pcVar8 = pcVar8 + 1; + } while (cVar1 != '\0'); + FUN_14000c9e0(param_1,pcVar7,~uVar6 - 1); + } + if (_Str != (char *)0x0) { + iVar3 = atoi(_Str); + *param_2 = iVar3; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140033550.c b/decomp/AgentManager_Release_x64/full/functions/0x140033550.c new file mode 100644 index 00000000..69568a53 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140033550.c @@ -0,0 +1,212 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140033550 FUN_140033550 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_140033550(longlong param_1,longlong param_2,byte param_3) + +{ + char cVar1; + longlong lVar2; + undefined8 *puVar3; + ulonglong *puVar4; + ulonglong *puVar5; + ulonglong *puVar6; + void **_Src; + longlong lVar7; + ulonglong uVar8; + char *pcVar9; + char *pcVar10; + char *pcVar11; + bool bVar12; + undefined1 auStack_178 [32]; + ulonglong *local_158; + ulonglong *local_150; + undefined8 local_148; + undefined4 *local_138; + undefined4 *local_130; + undefined8 local_128; + longlong local_120 [3]; + longlong local_108 [3]; + ulonglong local_f0; + ulonglong *local_e8; + ulonglong *local_e0; + ulonglong local_d8; + undefined8 local_c8; + undefined2 local_c0; + undefined6 uStack_be; + undefined8 local_b0; + ulonglong local_a8; + void *local_98 [2]; + void *local_88; + void *local_80; + undefined8 local_68; + ulonglong *local_60; + ulonglong *local_58; + ulonglong local_50; + ulonglong local_40; + + local_128 = 0xfffffffffffffffe; + local_40 = DAT_14016f5a0 ^ (ulonglong)auStack_178; + pcVar10 = (char *)0x0; + local_c8 = 0; + local_a8 = 7; + local_b0 = 0; + local_c0 = 0; + local_80 = (void *)0x7; + local_88 = (void *)0x0; + local_98[0] = (void *)((ulonglong)local_98[0] & 0xffffffffffff0000); + for (lVar2 = *(longlong *)(param_2 + 0xa0); lVar2 != param_2 + 0x58; + lVar2 = *(longlong *)(lVar2 + 0x48)) { + pcVar9 = (char *)(*(longlong *)(lVar2 + 0x20) + 0x10); + bVar12 = pcVar9 == (char *)0x0; + lVar7 = 3; + pcVar11 = "ip"; + do { + if (lVar7 == 0) break; + lVar7 = lVar7 + -1; + bVar12 = *pcVar9 == *pcVar11; + pcVar9 = pcVar9 + 1; + pcVar11 = pcVar11 + 1; + } while (bVar12); + if (bVar12) { + pcVar10 = (char *)(*(longlong *)(lVar2 + 0x30) + 0x10); + break; + } + } + local_d8 = 0xf; + local_e0 = (ulonglong *)0x0; + local_f0._0_1_ = 0; + uVar8 = 0xffffffffffffffff; + pcVar9 = pcVar10; + do { + if (uVar8 == 0) break; + uVar8 = uVar8 - 1; + cVar1 = *pcVar9; + pcVar9 = pcVar9 + 1; + } while (cVar1 != '\0'); + FUN_14000c9e0(&local_f0,pcVar10,~uVar8 - 1); + _Src = (void **)FUN_1400ed610(&local_68,(LPCSTR)&local_f0); + if (local_98 != _Src) { + if ((void *)0x7 < local_80) { + operator_delete(local_98[0]); + } + local_80 = (void *)0x7; + local_88 = (void *)0x0; + local_98[0] = (void *)((ulonglong)local_98[0] & 0xffffffffffff0000); + if (_Src[3] < (void *)0x8) { + memmove(local_98,_Src,((longlong)_Src[2] + 1U) * 2); + } + else { + local_98[0] = *_Src; + *_Src = (void *)0x0; + } + local_88 = _Src[2]; + local_80 = _Src[3]; + _Src[3] = (void *)0x7; + _Src[2] = (void *)0x0; + *(undefined2 *)_Src = 0; + } + if (7 < local_50) { + operator_delete((void *)CONCAT62(local_68._2_6_,CONCAT11(local_68._1_1_,(byte)local_68))); + } + local_50 = 7; + local_58 = (ulonglong *)0x0; + local_68._0_1_ = 0; + local_68._1_1_ = 0; + if (0xf < local_d8) { + operator_delete((void *)CONCAT71(local_f0._1_7_,(byte)local_f0)); + } + for (lVar2 = *(longlong *)(param_2 + 0xa0); lVar2 != param_2 + 0x58; + lVar2 = *(longlong *)(lVar2 + 0x48)) { + pcVar10 = (char *)(*(longlong *)(lVar2 + 0x20) + 0x10); + bVar12 = pcVar10 == (char *)0x0; + lVar7 = 5; + pcVar9 = "port"; + do { + if (lVar7 == 0) break; + lVar7 = lVar7 + -1; + bVar12 = *pcVar10 == *pcVar9; + pcVar10 = pcVar10 + 1; + pcVar9 = pcVar9 + 1; + } while (bVar12); + if (bVar12) { + sscanf_s((char *)(*(longlong *)(lVar2 + 0x30) + 0x10),"%d"); + break; + } + } + if (*(longlong *)(param_1 + 0x1c8) != 0) { + for (puVar3 = *(undefined8 **) + (*(longlong *)(param_1 + 0x1a8) + + ((ulonglong)param_3 % *(ulonglong *)(param_1 + 0x1b0)) * 8); + puVar3 != (undefined8 *)0x0; puVar3 = (undefined8 *)*puVar3) { + if (param_3 == *(byte *)(puVar3 + 1)) { + if (puVar3 != (undefined8 *)0x0) { + FUN_1400353b0(puVar3 + 2,(undefined4 *)&local_c8); + goto LAB_1400338a9; + } + break; + } + } + } + local_158 = (ulonglong *)0x0; + local_150 = (ulonglong *)0x0; + local_148 = 0; + FUN_1400361f0((longlong *)&local_158); + puVar5 = local_150; + local_138 = (undefined4 *)local_150; + local_130 = (undefined4 *)local_150; + if (local_150 != (ulonglong *)0x0) { + *(undefined4 *)local_150 = (undefined4)local_c8; + *(undefined4 *)((longlong)local_150 + 4) = local_c8._4_4_; + *(undefined8 *)((longlong)local_150 + 0x20) = 7; + *(undefined8 *)((longlong)local_150 + 0x18) = 0; + *(undefined2 *)((longlong)local_150 + 8) = 0; + FUN_140001630((longlong *)((longlong)local_150 + 8),(longlong *)&local_c0,0,0xffffffffffffffff); + *(undefined8 *)((longlong)puVar5 + 0x48) = 7; + *(undefined8 *)((longlong)puVar5 + 0x40) = 0; + *(undefined2 *)((longlong)puVar5 + 0x30) = 0; + FUN_140001630((longlong *)((longlong)puVar5 + 0x30),(longlong *)local_98,0,0xffffffffffffffff); + } + local_150 = (ulonglong *)((longlong)puVar5 + 0x58); + local_f0._0_1_ = param_3; + FUN_140036e80(&local_e8,(longlong *)&local_158); + puVar6 = local_e0; + puVar4 = local_e8; + local_68._0_1_ = (byte)local_f0; + local_60 = local_e8; + local_58 = local_e0; + local_50 = local_d8; + local_e8 = (ulonglong *)0x0; + local_e0 = (ulonglong *)0x0; + local_d8 = 0; + if (*(longlong *)(param_1 + 0x1c8) == 0) { + FUN_140036c10((longlong *)(param_1 + 0x1a8),local_120,(undefined1 *)&local_68); + } + else { + FUN_140036ab0((longlong *)(param_1 + 0x1a8),local_108,(byte *)&local_68,(undefined1 *)&local_68) + ; + } + if (puVar4 != (ulonglong *)0x0) { + FUN_140036cf0(puVar4,puVar6); + operator_delete(puVar4); + } + puVar4 = local_158; + if (local_158 != (ulonglong *)0x0) { + FUN_140036cf0(local_158,(ulonglong *)((longlong)puVar5 + 0x58)); + operator_delete(puVar4); + } +LAB_1400338a9: + if ((void *)0x7 < local_80) { + operator_delete(local_98[0]); + } + local_80 = (void *)0x7; + local_88 = (void *)0x0; + local_98[0] = (void *)((ulonglong)local_98[0] & 0xffffffffffff0000); + if (7 < local_a8) { + operator_delete((void *)CONCAT62(uStack_be,local_c0)); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140033900.c b/decomp/AgentManager_Release_x64/full/functions/0x140033900.c new file mode 100644 index 00000000..d57b4219 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140033900.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140033900 FUN_140033900 + * Pseudocode, not original source. */ + +void FUN_140033900(longlong param_1) + +{ + if (*(ulonglong **)(param_1 + 8) != (ulonglong *)0x0) { + FUN_140036cf0(*(ulonglong **)(param_1 + 8),*(ulonglong **)(param_1 + 0x10)); + operator_delete(*(void **)(param_1 + 8)); + } + *(undefined8 *)(param_1 + 8) = 0; + *(undefined8 *)(param_1 + 0x10) = 0; + *(undefined8 *)(param_1 + 0x18) = 0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140033940.c b/decomp/AgentManager_Release_x64/full/functions/0x140033940.c new file mode 100644 index 00000000..bc02e799 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140033940.c @@ -0,0 +1,106 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140033940 FUN_140033940 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +ulonglong * FUN_140033940(ulonglong *param_1,LPCWSTR param_2) + +{ + char cVar1; + WCHAR WVar2; + ulonglong uVar3; + char *pcVar4; + ulonglong *puVar5; + longlong lVar6; + ulonglong uVar7; + wchar_t *pwVar8; + LPCWSTR pWVar9; + char *pcVar10; + ulonglong *puVar11; + undefined1 auStackY_1d8 [32]; + ulonglong local_188 [2]; + undefined8 local_178; + ulonglong local_170; + undefined2 local_160; + undefined6 uStack_15e; + undefined8 local_150; + ulonglong local_148; + CHAR local_138; + undefined1 local_137 [271]; + ulonglong local_28; + + local_28 = DAT_14016f5a0 ^ (ulonglong)auStackY_1d8; + if (param_2 == (LPCWSTR)0x0) { + param_1[3] = 7; + param_1[2] = 0; + *(undefined2 *)param_1 = 0; + uVar7 = 10; + pwVar8 = L"Invalid-IP"; + } + else { + local_138 = '\0'; + memset(local_137,0,0x103); + lVar6 = -1; + pWVar9 = param_2; + do { + if (lVar6 == 0) break; + lVar6 = lVar6 + -1; + WVar2 = *pWVar9; + pWVar9 = pWVar9 + 1; + } while (WVar2 != L'\0'); + WideCharToMultiByte(0,0,param_2,~(uint)lVar6,&local_138,0x104,(LPCSTR)0x0,(LPBOOL)0x0); + lVar6 = Ordinal_52(&local_138); + if (lVar6 != 0) { + FUN_14002f6f0(lVar6); + pcVar4 = (char *)Ordinal_12(); + local_170 = 0xf; + local_178 = 0; + local_188[0]._0_1_ = 0; + uVar7 = 0xffffffffffffffff; + pcVar10 = pcVar4; + do { + if (uVar7 == 0) break; + uVar7 = uVar7 - 1; + cVar1 = *pcVar10; + pcVar10 = pcVar10 + 1; + } while (cVar1 != '\0'); + FUN_14000c9e0(local_188,pcVar4,~uVar7 - 1); + puVar5 = FUN_1400ed610((ulonglong *)&local_160,(LPCSTR)local_188); + if (7 < puVar5[3]) { + puVar5 = (ulonglong *)*puVar5; + } + param_1[3] = 7; + param_1[2] = 0; + *(undefined2 *)param_1 = 0; + uVar7 = 0xffffffffffffffff; + puVar11 = puVar5; + do { + if (uVar7 == 0) break; + uVar7 = uVar7 - 1; + uVar3 = *puVar11; + puVar11 = (ulonglong *)((longlong)puVar11 + 2); + } while ((short)uVar3 != 0); + FUN_140001710(param_1,puVar5,~uVar7 - 1); + if (7 < local_148) { + operator_delete((void *)CONCAT62(uStack_15e,local_160)); + } + local_148 = 7; + local_150 = 0; + local_160 = 0; + if (local_170 < 0x10) { + return param_1; + } + operator_delete((void *)CONCAT71(local_188[0]._1_7_,(undefined1)local_188[0])); + return param_1; + } + param_1[3] = 7; + param_1[2] = 0; + *(undefined2 *)param_1 = 0; + uVar7 = 7; + pwVar8 = L"None-IP"; + } + FUN_140001710(param_1,pwVar8,uVar7); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140033b40.c b/decomp/AgentManager_Release_x64/full/functions/0x140033b40.c new file mode 100644 index 00000000..c35326a5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140033b40.c @@ -0,0 +1,46 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140033b40 FUN_140033b40 + * Pseudocode, not original source. */ + +void FUN_140033b40(longlong param_1) + +{ + char *pcVar1; + + printf("//////////////////////////////////////////////////////////////////////////\n"); + pcVar1 = "Auto Revive : On \n"; + if (*(char *)(param_1 + 0x171) == '\0') { + pcVar1 = "Auto Revive : Off \n"; + } + printf(pcVar1); + pcVar1 = "Auto Channel : On \n"; + if (*(char *)(param_1 + 0x170) == '\0') { + pcVar1 = "Auto Channel : Off \n"; + } + printf(pcVar1); + pcVar1 = "Auto Start : Off \n"; + if (*(double *)(param_1 + 0x178) != 0.0) { + pcVar1 = "Auto Start : On \n"; + } + printf(pcVar1); + pcVar1 = "Lock Check : Off \n"; + if (*(double *)(param_1 + 0x168) != 0.0) { + pcVar1 = "Lock Check : On \n"; + } + printf(pcVar1); + pcVar1 = "Multi Server : On \n"; + if (*(char *)(param_1 + 0x166) == '\0') { + pcVar1 = "Multi Server : Off \n"; + } + printf(pcVar1); + pcVar1 = "Active : On \n"; + if (*(char *)(param_1 + 0x180) == '\0') { + pcVar1 = "Active : Off \n"; + } + printf(pcVar1); + /* WARNING: Could not recover jumptable at 0x000140033c26. Too many branches */ + /* WARNING: Treating indirect jump as call */ + printf("//////////////////////////////////////////////////////////////////////////\n"); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140033c30.c b/decomp/AgentManager_Release_x64/full/functions/0x140033c30.c new file mode 100644 index 00000000..56bc688b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140033c30.c @@ -0,0 +1,115 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140033c30 FUN_140033c30 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_140033c30(ulonglong *param_1,undefined1 param_2,int param_3) + +{ + void **ppvVar1; + undefined1 auStack_178 [32]; + undefined4 local_158; + undefined8 local_150; + undefined *local_148; + undefined **local_140 [14]; + undefined8 local_d0; + undefined4 local_c8; + basic_ios_> local_c0 [104]; + void *local_58 [3]; + ulonglong local_40; + ulonglong local_28; + + local_150 = 0xfffffffffffffffe; + local_28 = DAT_14016f5a0 ^ (ulonglong)auStack_178; + local_158 = 0; + switch(param_2) { + case 1: + FUN_140001710(param_1,L"LOBBY",5); + break; + case 2: + FUN_140001710(param_1,L"DUNGEON",7); + break; + case 3: + FUN_140001710(param_1,&DAT_14012e638,3); + break; + case 4: + FUN_140001710(param_1,&DAT_14012e640,3); + break; + case 5: + FUN_140001710(param_1,L"GUILD",5); + break; + case 6: + FUN_140001710(param_1,&DAT_140134360,3); + break; + case 7: + FUN_140001710(param_1,&DAT_14012e648,2); + break; + case 8: + FUN_140001710(param_1,L"GATE",4); + break; + case 9: + FUN_140001710(param_1,L"MANAGER",7); + break; + case 10: + FUN_140001710(param_1,L"AUCTION",7); + break; + case 0xb: + FUN_140001710(param_1,L"MATCH",5); + break; + case 0xc: + FUN_140001710(param_1,L"DBC_GAME",8); + break; + case 0xd: + FUN_140001710(param_1,L"AGENT",5); + break; + default: + wprintf(L"ServerNameByTypeAndCode ERROR - NOT TYPE : Type [ %d ] Code [ %d ]\n"); + break; + case 0x11: + FUN_140001710(param_1,L"DBC_LOG",7); + break; + case 0x12: + FUN_140001710(param_1,L"DBC_CHAT",8); + break; + case 0x13: + FUN_140001710(param_1,L"DBC_EMERGENCY",0xd); + break; + case 0x15: + FUN_140001710(param_1,L"AGENTMANAGER",0xc); + break; + case 0x18: + FUN_140001710(param_1,L"PATCH",5); + } + local_148 = &DAT_1401345f0; + std::basic_ios_>::basic_ios_> + (local_c0); + local_158 = 1; + std::basic_ostream_>:: + basic_ostream_> + ((basic_ostream_> *)&local_148, + (basic_streambuf_> *)local_140,false); + *(undefined ***)((longlong)local_140 + (longlong)*(int *)(local_148 + 4) + -8) = + std::basic_ostringstream,std::allocator_>::vftable + ; + std::basic_streambuf_>:: + basic_streambuf_> + ((basic_streambuf_> *)local_140); + local_140[0] = std::basic_stringbuf,std::allocator_>:: + vftable; + local_d0 = 0; + local_c8 = 4; + std::basic_ostream_>::operator<< + ((basic_ostream_> *)&local_148,param_3); + FUN_14001d120((longlong *)param_1); + ppvVar1 = FUN_140035520((longlong)&local_148,local_58); + FUN_140001c50((longlong *)param_1,ppvVar1); + if (7 < local_40) { + operator_delete(local_58[0]); + } + FUN_140035470((longlong)local_c0); + std::basic_ios_>::~basic_ios_> + (local_c0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140033fc0.c b/decomp/AgentManager_Release_x64/full/functions/0x140033fc0.c new file mode 100644 index 00000000..8fa6cec7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140033fc0.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140033fc0 FUN_140033fc0 + * Pseudocode, not original source. */ + +void FUN_140033fc0(longlong param_1) + +{ + FUN_140035470(param_1 + 0x88); + /* WARNING: Could not recover jumptable at 0x000140033fdd. Too many branches */ + /* WARNING: Treating indirect jump as call */ + std::basic_ios_>::~basic_ios_> + ((basic_ios_> *)(param_1 + 0x88)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140033ff0.c b/decomp/AgentManager_Release_x64/full/functions/0x140033ff0.c new file mode 100644 index 00000000..2acb92b3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140033ff0.c @@ -0,0 +1,108 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140033ff0 FUN_140033ff0 + * Pseudocode, not original source. */ + +undefined8 FUN_140033ff0(longlong param_1) + +{ + ulonglong uVar1; + undefined **ppuVar2; + undefined **extraout_RAX; + undefined **extraout_RAX_00; + longlong lVar3; + char *pcVar4; + longlong *plVar5; + char *pcVar6; + bool bVar7; + undefined **local_98 [5]; + longlong *local_70; + undefined8 *local_60; + void *local_58; + undefined8 *local_38; + void *local_30; + undefined8 local_18; + + local_18 = 0xfffffffffffffffe; + pcVar4 = (char *)&DAT_1401750d8; + if (0xf < DAT_1401750f0) { + pcVar4 = DAT_1401750d8; + } + FUN_14001f6d0(local_98,pcVar4); + DAT_140174c28 = 0; + uVar1 = FUN_14001f7a0((longlong *)local_98,(char *)(local_60 + 2)); + plVar5 = local_70; + if ((char)uVar1 == '\0') { + printf("%s Error Agent Parse !!! \n"); + local_98[0] = TiXmlDocument::vftable; + if (local_38 != &DAT_14017ce88) { + operator_delete__(local_30); + } + ppuVar2 = TiXmlNode::vftable; + local_98[0] = TiXmlNode::vftable; + while (local_70 != (longlong *)0x0) { + plVar5 = (longlong *)local_70[10]; + ppuVar2 = (undefined **)(**(code **)*local_70)(local_70,1); + local_70 = plVar5; + } + if (local_60 != &DAT_14017ce88) { + operator_delete__(local_58); + ppuVar2 = extraout_RAX; + } + return (ulonglong)ppuVar2 & 0xffffffffffffff00; + } + for (; plVar5 != (longlong *)0x0; plVar5 = (longlong *)plVar5[10]) { + bVar7 = (char *)(plVar5[7] + 0x10) == (char *)0x0; + lVar3 = 7; + pcVar4 = (char *)(plVar5[7] + 0x10); + pcVar6 = "server"; + do { + if (lVar3 == 0) break; + lVar3 = lVar3 + -1; + bVar7 = *pcVar4 == *pcVar6; + pcVar4 = pcVar4 + 1; + pcVar6 = pcVar6 + 1; + } while (bVar7); + if (bVar7) goto LAB_140034133; + } +LAB_140034185: + local_98[0] = TiXmlDocument::vftable; + if (local_38 != &DAT_14017ce88) { + operator_delete__(local_30); + } + ppuVar2 = TiXmlNode::vftable; + local_98[0] = TiXmlNode::vftable; + while (local_70 != (longlong *)0x0) { + plVar5 = (longlong *)local_70[10]; + ppuVar2 = (undefined **)(**(code **)*local_70)(local_70,1); + local_70 = plVar5; + } + if (local_60 != &DAT_14017ce88) { + operator_delete__(local_58); + ppuVar2 = extraout_RAX_00; + } + return CONCAT71((int7)((ulonglong)ppuVar2 >> 8),1); +LAB_140034133: + while (lVar3 = (**(code **)(*plVar5 + 0x30))(plVar5), lVar3 == 0) { + do { + plVar5 = (longlong *)plVar5[10]; + if (plVar5 == (longlong *)0x0) goto LAB_140034185; + bVar7 = (char *)(plVar5[7] + 0x10) == (char *)0x0; + lVar3 = 7; + pcVar4 = (char *)(plVar5[7] + 0x10); + pcVar6 = "server"; + do { + if (lVar3 == 0) break; + lVar3 = lVar3 + -1; + bVar7 = *pcVar4 == *pcVar6; + pcVar4 = pcVar4 + 1; + pcVar6 = pcVar6 + 1; + } while (bVar7); + } while (!bVar7); + } + lVar3 = (**(code **)(*plVar5 + 0x30))(plVar5); + if (lVar3 != 0) { + FUN_140033550(param_1,lVar3,0xd); + } + goto LAB_140034185; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140034220.c b/decomp/AgentManager_Release_x64/full/functions/0x140034220.c new file mode 100644 index 00000000..037c21d8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140034220.c @@ -0,0 +1,491 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140034220 FUN_140034220 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +undefined8 FUN_140034220(longlong param_1) + +{ + short sVar1; + undefined8 *puVar2; + undefined1 auVar3 [16]; + undefined1 auVar4 [16]; + FILE *_File; + errno_t eVar5; + ulonglong uVar6; + longlong *plVar7; + longlong *plVar8; + char *pcVar9; + ulonglong *puVar10; + char *******pppppppcVar11; + longlong *plVar12; + undefined **ppuVar13; + undefined **extraout_RAX; + longlong lVar14; + short *psVar15; + undefined2 *puVar16; + short *psVar17; + longlong *plVar18; + char *pcVar19; + uint uVar20; + bool bVar21; + undefined1 auStack_1c8 [32]; + FILE *local_1a8 [2]; + undefined **local_198 [5]; + longlong *local_170; + undefined8 *local_160; + void *local_158; + undefined8 *local_138; + void *local_130; + char local_11c; + undefined8 local_118; + undefined2 local_110; + undefined6 uStack_10e; + undefined8 local_100; + ulonglong local_f8; + char ******local_e8 [2]; + char *****local_d8; + char *****local_d0; + undefined1 local_b8; + undefined7 uStack_b7; + undefined8 local_a8; + ulonglong local_a0; + undefined2 local_78; + undefined6 uStack_76; + undefined8 local_68; + ulonglong local_60; + ulonglong local_38; + + local_118 = 0xfffffffffffffffe; + local_38 = DAT_14016f5a0 ^ (ulonglong)auStack_1c8; + pcVar9 = (char *)&DAT_140175100; + if (0xf < DAT_140175118) { + pcVar9 = DAT_140175100; + } + FUN_14001f6d0(local_198,pcVar9); + DAT_140174c28 = 0; + uVar6 = FUN_14001f7a0((longlong *)local_198,(char *)(local_160 + 2)); + plVar12 = (longlong *)0x0; + plVar7 = local_170; + if ((char)uVar6 == '\0') { + local_1a8[0] = operator_new(0x88); + plVar7 = plVar12; + if (local_1a8[0] != (FILE *)0x0) { + plVar7 = FUN_140020550(&local_1a8[0]->_ptr); + } + FUN_14001ed00((longlong *)local_198,plVar7); + plVar7 = local_170; + } + for (; plVar8 = plVar12, plVar7 != (longlong *)0x0; plVar7 = (longlong *)plVar7[10]) { + bVar21 = (char *)(plVar7[7] + 0x10) == (char *)0x0; + lVar14 = 7; + pcVar9 = (char *)(plVar7[7] + 0x10); + pcVar19 = "server"; + do { + if (lVar14 == 0) break; + lVar14 = lVar14 + -1; + bVar21 = *pcVar9 == *pcVar19; + pcVar9 = pcVar9 + 1; + pcVar19 = pcVar19 + 1; + } while (bVar21); + if (bVar21) goto LAB_140034303; + } +LAB_140034345: + if (plVar8 == (longlong *)0x0) { + local_1a8[0] = operator_new(0xa8); + plVar8 = plVar12; + if (local_1a8[0] != (FILE *)0x0) { + plVar8 = FUN_14001ef00(&local_1a8[0]->_ptr,"server"); + } + FUN_14001ed00((longlong *)local_198,plVar8); + } + for (pcVar9 = *(char **)(DAT_14017cf50 + 8); plVar7 = plVar12, + pcVar9 != *(char **)(DAT_14017cf50 + 0x10); pcVar9 = pcVar9 + 0x30) { + if (*pcVar9 == '\x18') { + plVar7 = (longlong *)(pcVar9 + 8); + if (7 < *(ulonglong *)(pcVar9 + 0x20)) { + plVar7 = *(longlong **)(pcVar9 + 8); + } + break; + } + } + local_f8 = 7; + local_100 = 0; + local_110._0_1_ = '\0'; + local_110._1_1_ = 0; + uVar6 = 0xffffffffffffffff; + plVar18 = plVar7; + do { + if (uVar6 == 0) break; + uVar6 = uVar6 - 1; + lVar14 = *plVar18; + plVar18 = (longlong *)((longlong)plVar18 + 2); + } while ((short)lVar14 != 0); + FUN_140001710((ulonglong *)&local_110,plVar7,~uVar6 - 1); + FUN_1400ed7b0((ulonglong *)&local_b8,&local_110); + if (7 < local_f8) { + operator_delete((void *)CONCAT62(uStack_10e,CONCAT11(local_110._1_1_,(char)local_110))); + } + local_f8 = 7; + local_100 = 0; + local_110._0_1_ = '\0'; + local_110._1_1_ = 0; + psVar15 = (short *)(param_1 + 0x30); + if (7 < *(ulonglong *)(param_1 + 0x48)) { + psVar15 = *(short **)psVar15; + } + local_d0 = (char *****)0x7; + local_d8 = (char *****)0x0; + local_e8[0] = (char ******)((ulonglong)local_e8[0] & 0xffffffffffff0000); + uVar6 = 0xffffffffffffffff; + psVar17 = psVar15; + do { + if (uVar6 == 0) break; + uVar6 = uVar6 - 1; + sVar1 = *psVar17; + psVar17 = psVar17 + 1; + } while (sVar1 != 0); + FUN_140001710((ulonglong *)local_e8,psVar15,~uVar6 - 1); + puVar10 = FUN_1400ed7b0((ulonglong *)&local_78,(LPCWSTR)local_e8); + if (0xf < puVar10[3]) { + puVar10 = (ulonglong *)*puVar10; + } + FUN_14001f130(plVar8,"ip",(char *)puVar10); + if (0xf < local_60) { + operator_delete((void *)CONCAT62(uStack_76,CONCAT11(local_78._1_1_,(char)local_78))); + } + local_60 = 0xf; + local_68 = 0; + local_78._0_1_ = '\0'; + if (7 < local_d0) { + operator_delete(local_e8[0]); + } + FUN_140020c20((char *)&local_78,0x40,"%d",0xc3b1); + FUN_14001f130(plVar8,"port",(char *)&local_78); + pcVar9 = &local_b8; + if (0xf < local_a0) { + pcVar9 = (char *)CONCAT71(uStack_b7,local_b8); + } + FUN_14001f130(plVar8,"file",pcVar9); + plVar7 = local_170; + if (0xf < local_a0) { + operator_delete((void *)CONCAT71(uStack_b7,local_b8)); + plVar7 = local_170; + } + for (; plVar8 = plVar12, plVar7 != (longlong *)0x0; plVar7 = (longlong *)plVar7[10]) { + bVar21 = (char *)(plVar7[7] + 0x10) == (char *)0x0; + lVar14 = 8; + pcVar9 = (char *)(plVar7[7] + 0x10); + pcVar19 = "connect"; + do { + if (lVar14 == 0) break; + lVar14 = lVar14 + -1; + bVar21 = *pcVar9 == *pcVar19; + pcVar9 = pcVar9 + 1; + pcVar19 = pcVar19 + 1; + } while (bVar21); + if (bVar21) goto LAB_140034543; + } +LAB_140034585: + if (plVar8 == (longlong *)0x0) { + local_1a8[0] = operator_new(0xa8); + plVar8 = plVar12; + if (local_1a8[0] != (FILE *)0x0) { + plVar8 = FUN_14001ef00(&local_1a8[0]->_ptr,"connect"); + } + FUN_14001ed00((longlong *)local_198,plVar8); + } + plVar7 = plVar12; + if (*(longlong *)(param_1 + 0x1c8) != 0) { + auVar3._8_8_ = 0; + auVar3._0_8_ = *(ulonglong *)(param_1 + 0x1b0); + for (puVar2 = *(undefined8 **) + (*(longlong *)(param_1 + 0x1a8) + + SUB168((ZEXT816(0) << 0x40 | ZEXT816(0x15)) % auVar3,0) * 8); + puVar2 != (undefined8 *)0x0; puVar2 = (undefined8 *)*puVar2) { + if (*(char *)(puVar2 + 1) == '\x15') { + if (((puVar2 != (undefined8 *)0x0) && (lVar14 = puVar2[2], lVar14 != puVar2[3])) && + (plVar7 = (longlong *)(lVar14 + 0x30), 7 < *(ulonglong *)(lVar14 + 0x48))) { + plVar7 = *(longlong **)(lVar14 + 0x30); + } + break; + } + } + } + local_f8 = 7; + local_100 = 0; + local_110._0_1_ = '\0'; + local_110._1_1_ = 0; + uVar6 = 0xffffffffffffffff; + plVar18 = plVar7; + do { + if (uVar6 == 0) break; + uVar6 = uVar6 - 1; + lVar14 = *plVar18; + plVar18 = (longlong *)((longlong)plVar18 + 2); + } while ((short)lVar14 != 0); + FUN_140001710((ulonglong *)&local_110,plVar7,~uVar6 - 1); + FUN_1400ed7b0((ulonglong *)&local_b8,&local_110); + if (7 < local_f8) { + operator_delete((void *)CONCAT62(uStack_10e,CONCAT11(local_110._1_1_,(char)local_110))); + } + local_f8 = 7; + local_100 = 0; + local_110._0_1_ = '\0'; + local_110._1_1_ = 0; + uVar20 = 0; + if (*(longlong *)(param_1 + 0x1c8) != 0) { + auVar4._8_8_ = 0; + auVar4._0_8_ = *(ulonglong *)(param_1 + 0x1b0); + for (puVar2 = *(undefined8 **) + (*(longlong *)(param_1 + 0x1a8) + + SUB168((ZEXT816(0) << 0x40 | ZEXT816(0x15)) % auVar4,0) * 8); + puVar2 != (undefined8 *)0x0; puVar2 = (undefined8 *)*puVar2) { + if (*(char *)(puVar2 + 1) == '\x15') { + if ((puVar2 != (undefined8 *)0x0) && (puVar2[2] != puVar2[3])) { + uVar20 = *(uint *)(puVar2[2] + 4); + } + break; + } + } + } + pcVar9 = &local_b8; + if (0xf < local_a0) { + pcVar9 = (char *)CONCAT71(uStack_b7,local_b8); + } + FUN_14001f130(plVar8,"ip",pcVar9); + FUN_140020c20((char *)&local_78,0x40,"%d",(ulonglong)uVar20); + FUN_14001f130(plVar8,"port",(char *)&local_78); + if (0xf < local_a0) { + operator_delete((void *)CONCAT71(uStack_b7,local_b8)); + } + local_f8 = 0xf; + local_100 = 0; + local_110._0_1_ = '\0'; + local_d0 = (char *****)0xf; + local_d8 = (char *****)0x0; + local_e8[0] = (char ******)((ulonglong)local_e8[0] & 0xffffffffffffff00); + if (*(char *)(param_1 + 0x1e8) == '\r') { + uVar6 = 5; + pcVar9 = "agent"; +LAB_140034791: + FUN_14000c9e0((ulonglong *)&local_110,pcVar9,uVar6); + puVar16 = (undefined2 *)CONCAT62(uStack_10e,CONCAT11(local_110._1_1_,(char)local_110)); + if (local_f8 < 0x10) goto LAB_1400347a5; + } + else { + if (*(char *)(param_1 + 0x1e8) == '\x15') { + uVar6 = 0xc; + pcVar9 = "agentmanager"; + goto LAB_140034791; + } +LAB_1400347a5: + puVar16 = &local_110; + } + plVar7 = (longlong *)FUN_14001ee20((longlong)local_198,(longlong)puVar16); + if (plVar7 == (longlong *)0x0) { + local_1a8[0] = operator_new(0xa8); + plVar7 = plVar12; + if (local_1a8[0] != (FILE *)0x0) { + pcVar9 = (char *)&local_110; + if (0xf < local_f8) { + pcVar9 = (char *)CONCAT62(uStack_10e,CONCAT11(local_110._1_1_,(char)local_110)); + } + plVar7 = FUN_14001ef00(&local_1a8[0]->_ptr,pcVar9); + } + FUN_14001ed00((longlong *)local_198,plVar7); + } + for (pcVar9 = *(char **)(DAT_14017cf50 + 8); plVar8 = plVar12, + pcVar9 != *(char **)(DAT_14017cf50 + 0x10); pcVar9 = pcVar9 + 0x30) { + if (*pcVar9 == *(char *)(param_1 + 0x1e8)) { + plVar8 = (longlong *)(pcVar9 + 8); + if (7 < *(ulonglong *)(pcVar9 + 0x20)) { + plVar8 = *(longlong **)(pcVar9 + 8); + } + break; + } + } + local_60 = 7; + local_68 = 0; + local_78._0_1_ = '\0'; + local_78._1_1_ = 0; + uVar6 = 0xffffffffffffffff; + plVar18 = plVar8; + do { + if (uVar6 == 0) break; + uVar6 = uVar6 - 1; + lVar14 = *plVar18; + plVar18 = (longlong *)((longlong)plVar18 + 2); + } while ((short)lVar14 != 0); + FUN_140001710((ulonglong *)&local_78,plVar8,~uVar6 - 1); + pppppppcVar11 = (char *******)FUN_1400ed7b0((ulonglong *)&local_b8,&local_78); + if (local_e8 != pppppppcVar11) { + if ((char ******)0xf < local_d0) { + operator_delete(local_e8[0]); + } + local_d0 = (char *****)0xf; + local_d8 = (char *****)0x0; + local_e8[0] = (char ******)((ulonglong)local_e8[0] & 0xffffffffffffff00); + if (pppppppcVar11[3] < (char ******)0x10) { + memmove(local_e8,pppppppcVar11,(longlong)pppppppcVar11[2] + 1); + } + else { + local_e8[0] = *pppppppcVar11; + *pppppppcVar11 = (char ******)0x0; + } + local_d8 = (char *****)pppppppcVar11[2]; + local_d0 = (char *****)pppppppcVar11[3]; + pppppppcVar11[3] = (char ******)0xf; + pppppppcVar11[2] = (char ******)0x0; + *(undefined1 *)pppppppcVar11 = 0; + } + if (0xf < local_a0) { + operator_delete((void *)CONCAT71(uStack_b7,local_b8)); + } + local_a0 = 0xf; + local_a8 = 0; + local_b8 = '\0'; + if (7 < local_60) { + operator_delete((void *)CONCAT62(uStack_76,CONCAT11(local_78._1_1_,(char)local_78))); + } + pppppppcVar11 = local_e8; + if ((char ******)0xf < local_d0) { + pppppppcVar11 = (char *******)local_e8[0]; + } + FUN_14001f130(plVar7,"file",(char *)pppppppcVar11); + FUN_140020c20(&local_b8,0x40,"%d",(ulonglong)*(uint *)(param_1 + 0x154)); + FUN_14001f130(plVar7,"code",&local_b8); + if ((char ******)0xf < local_d0) { + operator_delete(local_e8[0]); + } + local_d0 = (char *****)0xf; + local_d8 = (char *****)0x0; + local_e8[0] = (char ******)((ulonglong)local_e8[0] & 0xffffffffffffff00); + if (0xf < local_f8) { + operator_delete((void *)CONCAT62(uStack_10e,CONCAT11(local_110._1_1_,(char)local_110))); + } + plVar7 = local_170; + if (*(char *)(param_1 + 0x151) != '\0') { + for (; plVar8 = plVar12, plVar7 != (longlong *)0x0; plVar7 = (longlong *)plVar7[10]) { + bVar21 = (char *)(plVar7[7] + 0x10) == (char *)0x0; + lVar14 = 4; + pcVar9 = (char *)(plVar7[7] + 0x10); + pcVar19 = "dns"; + do { + if (lVar14 == 0) break; + lVar14 = lVar14 + -1; + bVar21 = *pcVar9 == *pcVar19; + pcVar9 = pcVar9 + 1; + pcVar19 = pcVar19 + 1; + } while (bVar21); + if (bVar21) goto LAB_1400349e3; + } +LAB_140034a25: + if (plVar8 == (longlong *)0x0) { + local_1a8[0] = operator_new(0xa8); + if (local_1a8[0] != (FILE *)0x0) { + plVar12 = FUN_14001ef00(&local_1a8[0]->_ptr,"dns"); + } + FUN_14001ed00((longlong *)local_198,plVar12); + plVar8 = plVar12; + } + FUN_140020c20(&local_b8,0x40,"%d",1); + FUN_14001f130(plVar8,"dns",&local_b8); + } + pcVar9 = (char *)&DAT_140175100; + if (0xf < DAT_140175118) { + pcVar9 = DAT_140175100; + } + local_1a8[0] = (FILE *)0x0; + eVar5 = fopen_s(local_1a8,pcVar9,"w"); + _File = local_1a8[0]; + if ((eVar5 == 0) && (local_1a8[0] != (FILE *)0x0)) { + if (local_11c != '\0') { + fputc(0xef,local_1a8[0]); + fputc(0xbb,_File); + fputc(0xbf,_File); + } + (*(code *)local_198[0][1])(local_198,_File,0); + ferror(_File); + fclose(_File); + } + printf("Create Patch Option File Succeed \n"); + local_198[0] = TiXmlDocument::vftable; + if (local_138 != &DAT_14017ce88) { + operator_delete__(local_130); + } + ppuVar13 = TiXmlNode::vftable; + local_198[0] = TiXmlNode::vftable; + while (local_170 != (longlong *)0x0) { + plVar7 = (longlong *)local_170[10]; + ppuVar13 = (undefined **)(**(code **)*local_170)(local_170,1); + local_170 = plVar7; + } + if (local_160 != &DAT_14017ce88) { + operator_delete__(local_158); + ppuVar13 = extraout_RAX; + } + return CONCAT71((int7)((ulonglong)ppuVar13 >> 8),1); +LAB_140034303: + while (lVar14 = (**(code **)(*plVar7 + 0x30))(plVar7), lVar14 == 0) { + do { + plVar7 = (longlong *)plVar7[10]; + if (plVar7 == (longlong *)0x0) goto LAB_140034345; + bVar21 = (char *)(plVar7[7] + 0x10) == (char *)0x0; + lVar14 = 7; + pcVar9 = (char *)(plVar7[7] + 0x10); + pcVar19 = "server"; + do { + if (lVar14 == 0) break; + lVar14 = lVar14 + -1; + bVar21 = *pcVar9 == *pcVar19; + pcVar9 = pcVar9 + 1; + pcVar19 = pcVar19 + 1; + } while (bVar21); + } while (!bVar21); + } + plVar8 = (longlong *)(**(code **)(*plVar7 + 0x30))(plVar7); + goto LAB_140034345; +LAB_140034543: + while (lVar14 = (**(code **)(*plVar7 + 0x30))(plVar7), lVar14 == 0) { + do { + plVar7 = (longlong *)plVar7[10]; + if (plVar7 == (longlong *)0x0) goto LAB_140034585; + bVar21 = (char *)(plVar7[7] + 0x10) == (char *)0x0; + lVar14 = 8; + pcVar9 = (char *)(plVar7[7] + 0x10); + pcVar19 = "connect"; + do { + if (lVar14 == 0) break; + lVar14 = lVar14 + -1; + bVar21 = *pcVar9 == *pcVar19; + pcVar9 = pcVar9 + 1; + pcVar19 = pcVar19 + 1; + } while (bVar21); + } while (!bVar21); + } + plVar8 = (longlong *)(**(code **)(*plVar7 + 0x30))(plVar7); + goto LAB_140034585; +LAB_1400349e3: + while (lVar14 = (**(code **)(*plVar7 + 0x30))(plVar7), lVar14 == 0) { + do { + plVar7 = (longlong *)plVar7[10]; + if (plVar7 == (longlong *)0x0) goto LAB_140034a25; + bVar21 = (char *)(plVar7[7] + 0x10) == (char *)0x0; + lVar14 = 4; + pcVar9 = (char *)(plVar7[7] + 0x10); + pcVar19 = "dns"; + do { + if (lVar14 == 0) break; + lVar14 = lVar14 + -1; + bVar21 = *pcVar9 == *pcVar19; + pcVar9 = pcVar9 + 1; + pcVar19 = pcVar19 + 1; + } while (bVar21); + } while (!bVar21); + } + plVar8 = (longlong *)(**(code **)(*plVar7 + 0x30))(plVar7); + goto LAB_140034a25; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140034be0.c b/decomp/AgentManager_Release_x64/full/functions/0x140034be0.c new file mode 100644 index 00000000..009dcdea --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140034be0.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140034be0 FUN_140034be0 + * Pseudocode, not original source. */ + +void FUN_140034be0(ulonglong *param_1,longlong *param_2) + +{ + longlong *plVar1; + longlong *plVar2; + + plVar1 = (longlong *)param_1[1]; + if ((param_2 < plVar1) && (plVar2 = (longlong *)*param_1, plVar2 <= param_2)) { + if (plVar1 == (longlong *)param_1[2]) { + FUN_140035e50((longlong *)param_1); + } + FUN_140036830((longlong *)param_1[1], + (longlong *) + (((longlong)param_2 - (longlong)plVar2 & 0xffffffffffffffc0U) + *param_1)); + param_1[1] = param_1[1] + 0x40; + return; + } + if (plVar1 == (longlong *)param_1[2]) { + FUN_140035e50((longlong *)param_1); + } + FUN_140036d70((longlong *)param_1[1],param_2); + param_1[1] = param_1[1] + 0x40; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140034c60.c b/decomp/AgentManager_Release_x64/full/functions/0x140034c60.c new file mode 100644 index 00000000..16c48064 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140034c60.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140034c60 FUN_140034c60 + * Pseudocode, not original source. */ + +void FUN_140034c60(longlong *param_1) + +{ + if (*param_1 != 0) { + FUN_140036960(param_1); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140034c80.c b/decomp/AgentManager_Release_x64/full/functions/0x140034c80.c new file mode 100644 index 00000000..294069f2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140034c80.c @@ -0,0 +1,28 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140034c80 FUN_140034c80 + * Pseudocode, not original source. */ + +void FUN_140034c80(undefined8 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + LPVOID pvVar1; + longlong *plVar2; + + *param_1 = Proud::CFastArray,0>::vftable; + if (0 < *(int *)(param_1 + 3)) { + FUN_1400368b0((longlong *)param_1[2],(longlong)*(int *)(param_1 + 3),param_3,param_4); + } + pvVar1 = (LPVOID)param_1[2]; + if (pvVar1 != (LPVOID)0x0) { + plVar2 = (longlong *)param_1[1]; + if (plVar2 != (longlong *)0x0) { + /* WARNING: Could not recover jumptable at 0x000140034cc7. Too many branches */ + /* WARNING: Treating indirect jump as call */ + (**(code **)(*plVar2 + 0x18))(plVar2,pvVar1); + return; + } + FUN_14003e8b0(pvVar1); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140034ce0.c b/decomp/AgentManager_Release_x64/full/functions/0x140034ce0.c new file mode 100644 index 00000000..22777827 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140034ce0.c @@ -0,0 +1,31 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140034ce0 FUN_140034ce0 + * Pseudocode, not original source. */ + +void FUN_140034ce0(longlong param_1) + +{ + basic_streambuf_> *this; + + *(undefined ***)((longlong)*(int *)(*(longlong *)(param_1 + -0x88) + 4) + -0x88 + param_1) = + std::basic_ostringstream,std::allocator_>::vftable; + this = (basic_streambuf_> *)(param_1 + -0x80); + *(undefined ***)this = + std::basic_stringbuf,std::allocator_>::vftable; + if ((*(byte *)(param_1 + -8) & 1) != 0) { + operator_delete((void *)**(undefined8 **)(param_1 + -0x60)); + } + **(undefined8 **)(param_1 + -0x60) = 0; + **(undefined8 **)(param_1 + -0x40) = 0; + **(undefined4 **)(param_1 + -0x28) = 0; + **(undefined8 **)(param_1 + -0x58) = 0; + **(undefined8 **)(param_1 + -0x38) = 0; + **(undefined4 **)(param_1 + -0x20) = 0; + *(undefined8 *)(param_1 + -0x10) = 0; + *(uint *)(param_1 + -8) = *(uint *)(param_1 + -8) & 0xfffffffe; + std::basic_streambuf_>::~basic_streambuf_> + (this); + *(code **)(this + (longlong)*(int *)(*(longlong *)(param_1 + -0x88) + 4) + -8) = _vftable__exref; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140034d90.c b/decomp/AgentManager_Release_x64/full/functions/0x140034d90.c new file mode 100644 index 00000000..96e6743e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140034d90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140034d90 FUN_140034d90 + * Pseudocode, not original source. */ + +void ** FUN_140034d90(longlong param_1,void **param_2) + +{ + FUN_140035f70(param_1 + 8,param_2); + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140034dc0.c b/decomp/AgentManager_Release_x64/full/functions/0x140034dc0.c new file mode 100644 index 00000000..446e40d7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140034dc0.c @@ -0,0 +1,110 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140034dc0 FUN_140034dc0 + * Pseudocode, not original source. */ + +int FUN_140034dc0(basic_streambuf_> *param_1,int param_2) + +{ + basic_streambuf_> bVar1; + void *_Src; + undefined8 uVar2; + char *pcVar3; + void *_Dst; + ulonglong uVar4; + longlong lVar5; + int iVar6; + ulonglong uVar7; + int iVar8; + + if (((byte)param_1[0x78] & 8) != 0) { + uVar7 = **(ulonglong **)(param_1 + 0x48); + if ((uVar7 != 0) && (uVar4 = *(ulonglong *)(param_1 + 0x70), uVar7 < uVar4)) { + iVar6 = **(int **)(param_1 + 0x60); + **(ulonglong **)(param_1 + 0x48) = uVar4; + **(int **)(param_1 + 0x60) = (iVar6 + (int)uVar7) - (int)uVar4; + } + } + if (param_2 == -1) { + return 0; + } + uVar7 = **(ulonglong **)(param_1 + 0x48); + if ((uVar7 != 0) && (uVar7 < (longlong)**(int **)(param_1 + 0x60) + uVar7)) { + pcVar3 = std::basic_streambuf_>::_Pninc(param_1); + *pcVar3 = (char)param_2; + return param_2; + } + if (((byte)param_1[0x78] & 2) != 0) { + return -1; + } + if (uVar7 == 0) { + uVar7 = 0; + } + else { + uVar7 = ((longlong)**(int **)(param_1 + 0x60) - **(longlong **)(param_1 + 0x20)) + uVar7; + } + uVar4 = uVar7 >> 1; + if (uVar4 < 0x20) { + uVar4 = 0x20; + } + else if (uVar4 == 0) { + return -1; + } + do { + if (uVar7 <= 0x7fffffff - uVar4) break; + uVar4 = uVar4 >> 1; + } while (uVar4 != 0); + if (uVar4 != 0) { + _Dst = FUN_14000c770(uVar4 + uVar7); + _Src = (void *)**(undefined8 **)(param_1 + 0x20); + iVar8 = (int)(uVar4 + uVar7); + iVar6 = (int)_Dst; + if ((uVar7 == 0) || (memcpy(_Dst,_Src,uVar7), uVar7 == 0)) { + *(void **)(param_1 + 0x70) = _Dst; + **(undefined8 **)(param_1 + 0x28) = _Dst; + **(undefined8 **)(param_1 + 0x48) = _Dst; + **(int **)(param_1 + 0x60) = iVar8; + bVar1 = param_1[0x78]; + **(undefined8 **)(param_1 + 0x20) = _Dst; + if (((byte)bVar1 & 4) == 0) { + **(undefined8 **)(param_1 + 0x40) = _Dst; + **(undefined4 **)(param_1 + 0x58) = 1; + } + else { + **(undefined8 **)(param_1 + 0x40) = 0; + **(int **)(param_1 + 0x58) = iVar6; + } + } + else { + *(longlong *)(param_1 + 0x70) = + (longlong)_Dst + (*(longlong *)(param_1 + 0x70) - (longlong)_Src); + lVar5 = **(longlong **)(param_1 + 0x48); + **(longlong **)(param_1 + 0x28) = + (longlong)_Dst + (**(longlong **)(param_1 + 0x28) - (longlong)_Src); + lVar5 = (lVar5 - (longlong)_Src) + (longlong)_Dst; + **(longlong **)(param_1 + 0x48) = lVar5; + **(int **)(param_1 + 0x60) = (iVar6 - (int)lVar5) + iVar8; + if (((byte)param_1[0x78] & 4) == 0) { + uVar2 = **(undefined8 **)(param_1 + 0x48); + lVar5 = **(longlong **)(param_1 + 0x40); + **(undefined8 **)(param_1 + 0x20) = _Dst; + lVar5 = (lVar5 - (longlong)_Src) + (longlong)_Dst; + **(longlong **)(param_1 + 0x40) = lVar5; + **(int **)(param_1 + 0x58) = ((int)uVar2 - (int)lVar5) + 1; + } + else { + **(undefined8 **)(param_1 + 0x20) = _Dst; + **(undefined8 **)(param_1 + 0x40) = 0; + **(int **)(param_1 + 0x58) = iVar6; + } + } + if (((byte)param_1[0x78] & 1) != 0) { + operator_delete(_Src); + } + *(uint *)(param_1 + 0x78) = *(uint *)(param_1 + 0x78) | 1; + pcVar3 = std::basic_streambuf_>::_Pninc(param_1); + *pcVar3 = (char)param_2; + return param_2; + } + return -1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140035000.c b/decomp/AgentManager_Release_x64/full/functions/0x140035000.c new file mode 100644 index 00000000..590350e4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140035000.c @@ -0,0 +1,24 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140035000 FUN_140035000 + * Pseudocode, not original source. */ + +int FUN_140035000(longlong param_1,int param_2) + +{ + ulonglong uVar1; + + uVar1 = **(ulonglong **)(param_1 + 0x40); + if (((uVar1 != 0) && (**(ulonglong **)(param_1 + 0x20) < uVar1)) && + ((param_2 == -1 || + (((char)param_2 == *(char *)(uVar1 - 1) || ((*(byte *)(param_1 + 0x78) & 2) == 0)))))) { + **(int **)(param_1 + 0x58) = **(int **)(param_1 + 0x58) + 1; + **(longlong **)(param_1 + 0x40) = **(longlong **)(param_1 + 0x40) + -1; + if (param_2 != -1) { + *(char *)**(undefined8 **)(param_1 + 0x40) = (char)param_2; + return param_2; + } + return 0; + } + return -1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140035050.c b/decomp/AgentManager_Release_x64/full/functions/0x140035050.c new file mode 100644 index 00000000..98caa50b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140035050.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140035050 FUN_140035050 + * Pseudocode, not original source. */ + +ulonglong FUN_140035050(longlong param_1) + +{ + byte *pbVar1; + byte *pbVar2; + + pbVar1 = *(byte **)*(int **)(param_1 + 0x40); + if (pbVar1 != (byte *)0x0) { + if (pbVar1 < pbVar1 + **(int **)(param_1 + 0x58)) { + return (ulonglong)*pbVar1; + } + if ((((*(byte *)(param_1 + 0x78) & 4) == 0) && + (pbVar2 = (byte *)**(undefined8 **)(param_1 + 0x48), pbVar2 != (byte *)0x0)) && + ((pbVar1 < pbVar2 || (pbVar1 < *(byte **)(param_1 + 0x70))))) { + if (*(byte **)(param_1 + 0x70) < pbVar2) { + *(byte **)(param_1 + 0x70) = pbVar2; + } + **(int **)(param_1 + 0x58) = (int)*(undefined8 *)(param_1 + 0x70) - **(int **)(param_1 + 0x40) + ; + return (ulonglong)*(byte *)**(undefined8 **)(param_1 + 0x40); + } + } + return 0xffffffff; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400350c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400350c0.c new file mode 100644 index 00000000..ccda4948 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400350c0.c @@ -0,0 +1,80 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400350c0 FUN_1400350c0 + * Pseudocode, not original source. */ + +longlong * +FUN_1400350c0(longlong param_1,longlong *param_2,longlong param_3,int param_4,uint param_5) + +{ + ulonglong uVar1; + longlong lVar2; + longlong lVar3; + int iVar4; + + uVar1 = **(ulonglong **)(param_1 + 0x48); + if ((uVar1 != 0) && (*(ulonglong *)(param_1 + 0x70) < uVar1)) { + *(ulonglong *)(param_1 + 0x70) = uVar1; + } + if (((param_5 & 1) == 0) || (lVar2 = **(longlong **)(param_1 + 0x40), lVar2 == 0)) { + if (((param_5 & 2) == 0) || (uVar1 = **(ulonglong **)(param_1 + 0x48), uVar1 == 0)) { + if (param_3 != 0) { + param_3 = *(longlong *)_BADOFF_exref; + } + goto LAB_14003523e; + } + if (param_4 == 2) { + param_3 = param_3 + (*(longlong *)(param_1 + 0x70) - **(longlong **)(param_1 + 0x20)); + } + else if (param_4 == 1) { + param_3 = param_3 + (uVar1 - **(longlong **)(param_1 + 0x20)); + } + else if (param_4 != 0) { + param_3 = *(longlong *)_BADOFF_exref; + } + if ((-1 < param_3) && + (param_3 <= *(longlong *)(param_1 + 0x70) - **(longlong **)(param_1 + 0x20))) { + iVar4 = ((int)**(longlong **)(param_1 + 0x20) - (int)uVar1) + (int)param_3; + **(int **)(param_1 + 0x60) = **(int **)(param_1 + 0x60) - iVar4; + **(longlong **)(param_1 + 0x48) = **(longlong **)(param_1 + 0x48) + (longlong)iVar4; + goto LAB_14003523e; + } + } + else { + if (param_4 == 2) { + param_3 = param_3 + (*(longlong *)(param_1 + 0x70) - **(longlong **)(param_1 + 0x20)); + } + else if (param_4 == 1) { + if ((param_5 & 2) == 0) { + param_3 = param_3 + (lVar2 - **(longlong **)(param_1 + 0x20)); + } + else { +LAB_140035140: + param_3 = *(longlong *)_BADOFF_exref; + } + } + else if (param_4 != 0) goto LAB_140035140; + if ((-1 < param_3) && + (param_3 <= *(longlong *)(param_1 + 0x70) - **(longlong **)(param_1 + 0x20))) { + iVar4 = ((int)**(longlong **)(param_1 + 0x20) - (int)lVar2) + (int)param_3; + **(int **)(param_1 + 0x58) = **(int **)(param_1 + 0x58) - iVar4; + **(longlong **)(param_1 + 0x40) = **(longlong **)(param_1 + 0x40) + (longlong)iVar4; + if ((param_5 & 2) != 0) { + lVar2 = **(longlong **)(param_1 + 0x48); + if (lVar2 != 0) { + iVar4 = **(int **)(param_1 + 0x60); + lVar3 = **(longlong **)(param_1 + 0x40); + **(longlong **)(param_1 + 0x48) = lVar3; + **(int **)(param_1 + 0x60) = (iVar4 + (int)lVar2) - (int)lVar3; + } + } + goto LAB_14003523e; + } + } + param_3 = *(longlong *)_BADOFF_exref; +LAB_14003523e: + *param_2 = param_3; + param_2[1] = 0; + *(undefined4 *)(param_2 + 2) = 0; + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140035260.c b/decomp/AgentManager_Release_x64/full/functions/0x140035260.c new file mode 100644 index 00000000..80d669e8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140035260.c @@ -0,0 +1,57 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140035260 FUN_140035260 + * Pseudocode, not original source. */ + +longlong * FUN_140035260(longlong param_1,longlong *param_2,longlong *param_3,uint param_4) + +{ + ulonglong uVar1; + longlong lVar2; + int iVar3; + longlong lVar4; + longlong lVar5; + + lVar4 = (longlong)(int)param_3[1] + *param_3; + uVar1 = **(ulonglong **)(param_1 + 0x48); + if ((uVar1 != 0) && (*(ulonglong *)(param_1 + 0x70) < uVar1)) { + *(ulonglong *)(param_1 + 0x70) = uVar1; + } + lVar2 = *(longlong *)_BADOFF_exref; + lVar5 = lVar4; + if (lVar4 != lVar2) { + lVar5 = lVar2; + if (((param_4 & 1) == 0) || (**(longlong **)(param_1 + 0x40) == 0)) { + if (((param_4 & 2) != 0) && + (((uVar1 = **(ulonglong **)(param_1 + 0x48), uVar1 != 0 && (-1 < lVar4)) && + (lVar4 <= *(longlong *)(param_1 + 0x70) - **(longlong **)(param_1 + 0x20))))) { + iVar3 = ((int)**(longlong **)(param_1 + 0x20) - (int)uVar1) + (int)lVar4; + **(int **)(param_1 + 0x60) = **(int **)(param_1 + 0x60) - iVar3; + **(longlong **)(param_1 + 0x48) = **(longlong **)(param_1 + 0x48) + (longlong)iVar3; + lVar5 = lVar4; + } + } + else if ((-1 < lVar4) && + (lVar4 <= *(longlong *)(param_1 + 0x70) - **(longlong **)(param_1 + 0x20))) { + iVar3 = ((int)**(longlong **)(param_1 + 0x20) - (int)**(longlong **)(param_1 + 0x40)) + + (int)lVar4; + **(int **)(param_1 + 0x58) = **(int **)(param_1 + 0x58) - iVar3; + **(longlong **)(param_1 + 0x40) = **(longlong **)(param_1 + 0x40) + (longlong)iVar3; + lVar5 = lVar4; + if ((param_4 & 2) != 0) { + lVar2 = **(longlong **)(param_1 + 0x48); + if (lVar2 != 0) { + iVar3 = **(int **)(param_1 + 0x60); + lVar5 = **(longlong **)(param_1 + 0x40); + **(longlong **)(param_1 + 0x48) = lVar5; + **(int **)(param_1 + 0x60) = (iVar3 + (int)lVar2) - (int)lVar5; + lVar5 = lVar4; + } + } + } + } + *param_2 = lVar5; + param_2[1] = 0; + *(undefined4 *)(param_2 + 2) = 0; + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140035370.c b/decomp/AgentManager_Release_x64/full/functions/0x140035370.c new file mode 100644 index 00000000..ddc53a73 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140035370.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140035370 FUN_140035370 + * Pseudocode, not original source. */ + +void FUN_140035370(undefined8 *param_1) + +{ + if ((ulonglong *)*param_1 != (ulonglong *)0x0) { + FUN_140036cf0((ulonglong *)*param_1,(ulonglong *)param_1[1]); + operator_delete((void *)*param_1); + } + *param_1 = 0; + param_1[1] = 0; + param_1[2] = 0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400353b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400353b0.c new file mode 100644 index 00000000..4af0fac9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400353b0.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400353b0 FUN_1400353b0 + * Pseudocode, not original source. */ + +void FUN_1400353b0(ulonglong *param_1,undefined4 *param_2) + +{ + undefined4 *puVar1; + undefined4 *puVar2; + + puVar1 = (undefined4 *)param_1[1]; + if ((param_2 < puVar1) && (puVar2 = (undefined4 *)*param_1, puVar2 <= param_2)) { + if (puVar1 == (undefined4 *)param_1[2]) { + FUN_1400361f0((longlong *)param_1); + } + if ((undefined4 *)param_1[1] != (undefined4 *)0x0) { + FUN_140036df0((undefined4 *)param_1[1], + (undefined4 *) + ((((longlong)param_2 - (longlong)puVar2) / 0x58) * 0x58 + *param_1)); + } + } + else { + if (puVar1 == (undefined4 *)param_1[2]) { + FUN_1400361f0((longlong *)param_1); + } + if ((undefined4 *)param_1[1] != (undefined4 *)0x0) { + FUN_140036df0((undefined4 *)param_1[1],param_2); + } + } + param_1[1] = param_1[1] + 0x58; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140035470.c b/decomp/AgentManager_Release_x64/full/functions/0x140035470.c new file mode 100644 index 00000000..6c86373e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140035470.c @@ -0,0 +1,32 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140035470 FUN_140035470 + * Pseudocode, not original source. */ + +void FUN_140035470(longlong param_1) + +{ + basic_streambuf_> *this; + + *(undefined ***)((longlong)*(int *)(*(longlong *)(param_1 + -0x88) + 4) + -0x88 + param_1) = + std::basic_ostringstream,std::allocator_>::vftable + ; + this = (basic_streambuf_> *)(param_1 + -0x80); + *(undefined ***)this = + std::basic_stringbuf,std::allocator_>::vftable; + if ((*(byte *)(param_1 + -8) & 1) != 0) { + operator_delete((void *)**(undefined8 **)(param_1 + -0x60)); + } + **(undefined8 **)(param_1 + -0x60) = 0; + **(undefined8 **)(param_1 + -0x40) = 0; + **(undefined4 **)(param_1 + -0x28) = 0; + **(undefined8 **)(param_1 + -0x58) = 0; + **(undefined8 **)(param_1 + -0x38) = 0; + **(undefined4 **)(param_1 + -0x20) = 0; + *(undefined8 *)(param_1 + -0x10) = 0; + *(uint *)(param_1 + -8) = *(uint *)(param_1 + -8) & 0xfffffffe; + std::basic_streambuf_>:: + ~basic_streambuf_>(this); + *(code **)(this + (longlong)*(int *)(*(longlong *)(param_1 + -0x88) + 4) + -8) = _vftable__exref; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140035520.c b/decomp/AgentManager_Release_x64/full/functions/0x140035520.c new file mode 100644 index 00000000..d4587fc9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140035520.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140035520 FUN_140035520 + * Pseudocode, not original source. */ + +void ** FUN_140035520(longlong param_1,void **param_2) + +{ + FUN_1400362b0(param_1 + 8,param_2); + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140035550.c b/decomp/AgentManager_Release_x64/full/functions/0x140035550.c new file mode 100644 index 00000000..6a53968e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140035550.c @@ -0,0 +1,113 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140035550 FUN_140035550 + * Pseudocode, not original source. */ + +wchar_t FUN_140035550(basic_streambuf_> *param_1,wchar_t param_2) + +{ + void *pvVar1; + basic_streambuf_> bVar2; + int iVar3; + void *_Src; + longlong lVar4; + longlong lVar5; + wchar_t *pwVar6; + ulonglong uVar7; + void *pvVar8; + undefined4 uVar9; + ulonglong uVar10; + + if (((byte)param_1[0x78] & 8) != 0) { + uVar7 = **(ulonglong **)(param_1 + 0x48); + if ((uVar7 != 0) && (uVar10 = *(ulonglong *)(param_1 + 0x70), uVar7 < uVar10)) { + iVar3 = **(int **)(param_1 + 0x60); + **(ulonglong **)(param_1 + 0x48) = uVar10; + **(undefined4 **)(param_1 + 0x60) = + (int)((longlong)((uVar7 + (longlong)iVar3 * 2) - uVar10) >> 1); + } + } + if (param_2 == L'\xffff') { + return L'\0'; + } + uVar7 = **(ulonglong **)(param_1 + 0x48); + if ((uVar7 != 0) && (uVar7 < uVar7 + (longlong)**(int **)(param_1 + 0x60) * 2)) { + pwVar6 = std::basic_streambuf_>::_Pninc(param_1); + *pwVar6 = param_2; + return param_2; + } + if (((byte)param_1[0x78] & 2) != 0) { + return L'\xffff'; + } + uVar10 = 0; + if (uVar7 != 0) { + uVar10 = (longlong) + (((longlong)**(int **)(param_1 + 0x60) * 2 - **(longlong **)(param_1 + 0x20)) + uVar7) + >> 1; + } + uVar7 = uVar10 >> 1; + if (uVar7 < 0x20) { + uVar7 = 0x20; + } + else if (uVar7 == 0) { + return L'\xffff'; + } + do { + if (uVar10 <= 0x7fffffff - uVar7) break; + uVar7 = uVar7 >> 1; + } while (uVar7 != 0); + if (uVar7 == 0) { + return L'\xffff'; + } + uVar7 = uVar7 + uVar10; + pvVar8 = FUN_140001a80(uVar7); + _Src = (void *)**(undefined8 **)(param_1 + 0x20); + uVar9 = (undefined4)((longlong)pvVar8 >> 1); + if ((uVar10 == 0) || (memcpy(pvVar8,_Src,uVar10 * 2), uVar10 == 0)) { + *(void **)(param_1 + 0x70) = pvVar8; + **(undefined8 **)(param_1 + 0x28) = pvVar8; + **(undefined8 **)(param_1 + 0x48) = pvVar8; + **(undefined4 **)(param_1 + 0x60) = (int)((longlong)(uVar7 * 2) >> 1); + bVar2 = param_1[0x78]; + **(undefined8 **)(param_1 + 0x20) = pvVar8; + if (((byte)bVar2 & 4) == 0) { + **(undefined8 **)(param_1 + 0x40) = pvVar8; + **(undefined4 **)(param_1 + 0x58) = 1; + } + else { + **(undefined8 **)(param_1 + 0x40) = 0; + **(undefined4 **)(param_1 + 0x58) = uVar9; + } + } + else { + *(void **)(param_1 + 0x70) = + (void *)((longlong)pvVar8 + (*(longlong *)(param_1 + 0x70) - (longlong)_Src >> 1) * 2); + pvVar1 = (void *)((longlong)pvVar8 + (**(longlong **)(param_1 + 0x48) - (longlong)_Src >> 1) * 2 + ); + **(longlong **)(param_1 + 0x28) = + (longlong)((longlong)pvVar8 + (**(longlong **)(param_1 + 0x28) - (longlong)_Src >> 1) * 2); + **(longlong **)(param_1 + 0x48) = (longlong)pvVar1; + **(undefined4 **)(param_1 + 0x60) = + (int)((longlong)((uVar7 * 2 - (longlong)pvVar1) + (longlong)pvVar8) >> 1); + if (((byte)param_1[0x78] & 4) == 0) { + lVar4 = **(longlong **)(param_1 + 0x48); + lVar5 = **(longlong **)(param_1 + 0x40); + **(undefined8 **)(param_1 + 0x20) = pvVar8; + pvVar8 = (void *)((longlong)pvVar8 + (lVar5 - (longlong)_Src >> 1) * 2); + **(longlong **)(param_1 + 0x40) = (longlong)pvVar8; + **(undefined4 **)(param_1 + 0x58) = (int)((lVar4 - (longlong)pvVar8) + 2 >> 1); + } + else { + **(undefined8 **)(param_1 + 0x20) = pvVar8; + **(undefined8 **)(param_1 + 0x40) = 0; + **(undefined4 **)(param_1 + 0x58) = uVar9; + } + } + if (((byte)param_1[0x78] & 1) != 0) { + operator_delete(_Src); + } + *(uint *)(param_1 + 0x78) = *(uint *)(param_1 + 0x78) | 1; + pwVar6 = std::basic_streambuf_>::_Pninc(param_1); + *pwVar6 = param_2; + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140035800.c b/decomp/AgentManager_Release_x64/full/functions/0x140035800.c new file mode 100644 index 00000000..071872cb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140035800.c @@ -0,0 +1,24 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140035800 FUN_140035800 + * Pseudocode, not original source. */ + +short FUN_140035800(longlong param_1,short param_2) + +{ + ulonglong uVar1; + + uVar1 = **(ulonglong **)(param_1 + 0x40); + if (((uVar1 != 0) && (**(ulonglong **)(param_1 + 0x20) < uVar1)) && + ((param_2 == -1 || + ((param_2 == *(short *)(uVar1 - 2) || ((*(byte *)(param_1 + 0x78) & 2) == 0)))))) { + **(int **)(param_1 + 0x58) = **(int **)(param_1 + 0x58) + 1; + **(longlong **)(param_1 + 0x40) = **(longlong **)(param_1 + 0x40) + -2; + if (param_2 != -1) { + *(short *)**(undefined8 **)(param_1 + 0x40) = param_2; + return param_2; + } + return 0; + } + return -1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140035860.c b/decomp/AgentManager_Release_x64/full/functions/0x140035860.c new file mode 100644 index 00000000..72e17498 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140035860.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140035860 FUN_140035860 + * Pseudocode, not original source. */ + +undefined2 FUN_140035860(longlong param_1) + +{ + undefined2 *puVar1; + undefined2 *puVar2; + + puVar1 = (undefined2 *)**(longlong **)(param_1 + 0x40); + if (puVar1 == (undefined2 *)0x0) { + return 0xffff; + } + if (puVar1 < puVar1 + **(int **)(param_1 + 0x58)) { + return *puVar1; + } + if ((((*(byte *)(param_1 + 0x78) & 4) == 0) && + (puVar2 = (undefined2 *)**(undefined8 **)(param_1 + 0x48), puVar2 != (undefined2 *)0x0)) && + ((puVar1 < puVar2 || (puVar1 < *(undefined2 **)(param_1 + 0x70))))) { + if (*(undefined2 **)(param_1 + 0x70) < puVar2) { + *(undefined2 **)(param_1 + 0x70) = puVar2; + } + **(int **)(param_1 + 0x58) = + (int)(*(longlong *)(param_1 + 0x70) - **(longlong **)(param_1 + 0x40) >> 1); + return *(undefined2 *)**(undefined8 **)(param_1 + 0x40); + } + return 0xffff; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140035900.c b/decomp/AgentManager_Release_x64/full/functions/0x140035900.c new file mode 100644 index 00000000..3a835e54 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140035900.c @@ -0,0 +1,80 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140035900 FUN_140035900 + * Pseudocode, not original source. */ + +longlong * +FUN_140035900(longlong param_1,longlong *param_2,longlong param_3,int param_4,uint param_5) + +{ + ulonglong uVar1; + longlong lVar2; + longlong lVar3; + int iVar4; + + uVar1 = **(ulonglong **)(param_1 + 0x48); + if ((uVar1 != 0) && (*(ulonglong *)(param_1 + 0x70) < uVar1)) { + *(ulonglong *)(param_1 + 0x70) = uVar1; + } + if (((param_5 & 1) == 0) || (lVar2 = **(longlong **)(param_1 + 0x40), lVar2 == 0)) { + if (((param_5 & 2) == 0) || (uVar1 = **(ulonglong **)(param_1 + 0x48), uVar1 == 0)) { + if (param_3 != 0) { + param_3 = *(longlong *)_BADOFF_exref; + } + goto LAB_140035aa7; + } + if (param_4 == 2) { + param_3 = param_3 + (*(longlong *)(param_1 + 0x70) - **(longlong **)(param_1 + 0x20) >> 1); + } + else if (param_4 == 1) { + param_3 = param_3 + ((longlong)(uVar1 - **(longlong **)(param_1 + 0x20)) >> 1); + } + else if (param_4 != 0) { + param_3 = *(longlong *)_BADOFF_exref; + } + if ((-1 < param_3) && + (param_3 <= *(longlong *)(param_1 + 0x70) - **(longlong **)(param_1 + 0x20) >> 1)) { + iVar4 = (int)((longlong)(**(longlong **)(param_1 + 0x20) - uVar1) >> 1) + (int)param_3; + **(int **)(param_1 + 0x60) = **(int **)(param_1 + 0x60) - iVar4; + **(longlong **)(param_1 + 0x48) = **(longlong **)(param_1 + 0x48) + (longlong)iVar4 * 2; + goto LAB_140035aa7; + } + } + else { + if (param_4 == 2) { + param_3 = param_3 + (*(longlong *)(param_1 + 0x70) - **(longlong **)(param_1 + 0x20) >> 1); + } + else if (param_4 == 1) { + if ((param_5 & 2) == 0) { + param_3 = param_3 + (lVar2 - **(longlong **)(param_1 + 0x20) >> 1); + } + else { +LAB_140035987: + param_3 = *(longlong *)_BADOFF_exref; + } + } + else if (param_4 != 0) goto LAB_140035987; + if ((-1 < param_3) && + (param_3 <= *(longlong *)(param_1 + 0x70) - **(longlong **)(param_1 + 0x20) >> 1)) { + iVar4 = (int)(**(longlong **)(param_1 + 0x20) - lVar2 >> 1) + (int)param_3; + **(int **)(param_1 + 0x58) = **(int **)(param_1 + 0x58) - iVar4; + **(longlong **)(param_1 + 0x40) = **(longlong **)(param_1 + 0x40) + (longlong)iVar4 * 2; + if ((param_5 & 2) != 0) { + lVar2 = **(longlong **)(param_1 + 0x48); + if (lVar2 != 0) { + iVar4 = **(int **)(param_1 + 0x60); + lVar3 = **(longlong **)(param_1 + 0x40); + **(longlong **)(param_1 + 0x48) = lVar3; + **(undefined4 **)(param_1 + 0x60) = (int)((lVar2 + (longlong)iVar4 * 2) - lVar3 >> 1); + } + } + goto LAB_140035aa7; + } + } + param_3 = *(longlong *)_BADOFF_exref; +LAB_140035aa7: + param_2[1] = 0; + *(undefined4 *)(param_2 + 2) = 0; + *param_2 = param_3; + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140035ad0.c b/decomp/AgentManager_Release_x64/full/functions/0x140035ad0.c new file mode 100644 index 00000000..d72cd171 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140035ad0.c @@ -0,0 +1,57 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140035ad0 FUN_140035ad0 + * Pseudocode, not original source. */ + +longlong * FUN_140035ad0(longlong param_1,longlong *param_2,longlong *param_3,uint param_4) + +{ + ulonglong uVar1; + longlong lVar2; + int iVar3; + longlong lVar4; + longlong lVar5; + + lVar4 = (longlong)(int)param_3[1] + *param_3; + uVar1 = **(ulonglong **)(param_1 + 0x48); + if ((uVar1 != 0) && (*(ulonglong *)(param_1 + 0x70) < uVar1)) { + *(ulonglong *)(param_1 + 0x70) = uVar1; + } + lVar2 = *(longlong *)_BADOFF_exref; + lVar5 = lVar4; + if (lVar4 != lVar2) { + lVar5 = lVar2; + if (((param_4 & 1) == 0) || (**(longlong **)(param_1 + 0x40) == 0)) { + if (((param_4 & 2) != 0) && + (((uVar1 = **(ulonglong **)(param_1 + 0x48), uVar1 != 0 && (-1 < lVar4)) && + (lVar4 <= *(longlong *)(param_1 + 0x70) - **(longlong **)(param_1 + 0x20) >> 1)))) { + iVar3 = (int)((longlong)(**(longlong **)(param_1 + 0x20) - uVar1) >> 1) + (int)lVar4; + **(int **)(param_1 + 0x60) = **(int **)(param_1 + 0x60) - iVar3; + **(longlong **)(param_1 + 0x48) = **(longlong **)(param_1 + 0x48) + (longlong)iVar3 * 2; + lVar5 = lVar4; + } + } + else if ((-1 < lVar4) && + (lVar4 <= *(longlong *)(param_1 + 0x70) - **(longlong **)(param_1 + 0x20) >> 1)) { + iVar3 = (int)(**(longlong **)(param_1 + 0x20) - **(longlong **)(param_1 + 0x40) >> 1) + + (int)lVar4; + **(int **)(param_1 + 0x58) = **(int **)(param_1 + 0x58) - iVar3; + **(longlong **)(param_1 + 0x40) = **(longlong **)(param_1 + 0x40) + (longlong)iVar3 * 2; + lVar5 = lVar4; + if ((param_4 & 2) != 0) { + lVar2 = **(longlong **)(param_1 + 0x48); + if (lVar2 != 0) { + iVar3 = **(int **)(param_1 + 0x60); + lVar5 = **(longlong **)(param_1 + 0x40); + **(longlong **)(param_1 + 0x48) = lVar5; + **(undefined4 **)(param_1 + 0x60) = (int)((lVar2 + (longlong)iVar3 * 2) - lVar5 >> 1); + lVar5 = lVar4; + } + } + } + } + *param_2 = lVar5; + param_2[1] = 0; + *(undefined4 *)(param_2 + 2) = 0; + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140035c00.c b/decomp/AgentManager_Release_x64/full/functions/0x140035c00.c new file mode 100644 index 00000000..0414e389 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140035c00.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140035c00 FUN_140035c00 + * Pseudocode, not original source. */ + +undefined8 * FUN_140035c00(undefined8 *param_1,uint param_2,undefined8 param_3,undefined8 param_4) + +{ + LPVOID pvVar1; + longlong *plVar2; + + *param_1 = Proud::CFastArray,0>::vftable; + if (0 < *(int *)(param_1 + 3)) { + FUN_1400368b0((longlong *)param_1[2],(longlong)*(int *)(param_1 + 3),param_3,param_4); + } + pvVar1 = (LPVOID)param_1[2]; + if (pvVar1 != (LPVOID)0x0) { + plVar2 = (longlong *)param_1[1]; + if (plVar2 == (longlong *)0x0) { + FUN_14003e8b0(pvVar1); + } + else { + (**(code **)(*plVar2 + 0x18))(plVar2,pvVar1); + } + } + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140035c70.c b/decomp/AgentManager_Release_x64/full/functions/0x140035c70.c new file mode 100644 index 00000000..df40d6a2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140035c70.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140035c70 FUN_140035c70 + * Pseudocode, not original source. */ + +basic_ios_> * +FUN_140035c70(basic_ios_> *param_1,uint param_2) + +{ + FUN_140034ce0((longlong)param_1); + std::basic_ios_>::~basic_ios_>(param_1); + if ((param_2 & 1) != 0) { + operator_delete(param_1 + -0x88); + } + return param_1 + -0x88; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140035cd0.c b/decomp/AgentManager_Release_x64/full/functions/0x140035cd0.c new file mode 100644 index 00000000..0a15135b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140035cd0.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140035cd0 FUN_140035cd0 + * Pseudocode, not original source. */ + +basic_streambuf_> * +FUN_140035cd0(basic_streambuf_> *param_1,uint param_2) + +{ + *(undefined ***)param_1 = + std::basic_stringbuf,std::allocator_>::vftable; + if (((byte)param_1[0x78] & 1) != 0) { + operator_delete((void *)**(undefined8 **)(param_1 + 0x20)); + } + **(undefined8 **)(param_1 + 0x20) = 0; + **(undefined8 **)(param_1 + 0x40) = 0; + **(undefined4 **)(param_1 + 0x58) = 0; + **(undefined8 **)(param_1 + 0x28) = 0; + **(undefined8 **)(param_1 + 0x48) = 0; + **(undefined4 **)(param_1 + 0x60) = 0; + *(uint *)(param_1 + 0x78) = *(uint *)(param_1 + 0x78) & 0xfffffffe; + *(undefined8 *)(param_1 + 0x70) = 0; + std::basic_streambuf_>::~basic_streambuf_> + (param_1); + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140035d60.c b/decomp/AgentManager_Release_x64/full/functions/0x140035d60.c new file mode 100644 index 00000000..d21f68a7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140035d60.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140035d60 FUN_140035d60 + * Pseudocode, not original source. */ + +basic_ios_> * +FUN_140035d60(basic_ios_> *param_1,uint param_2) + +{ + FUN_140035470((longlong)param_1); + std::basic_ios_>::~basic_ios_> + (param_1); + if ((param_2 & 1) != 0) { + operator_delete(param_1 + -0x88); + } + return param_1 + -0x88; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140035dc0.c b/decomp/AgentManager_Release_x64/full/functions/0x140035dc0.c new file mode 100644 index 00000000..90f1a9bd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140035dc0.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140035dc0 FUN_140035dc0 + * Pseudocode, not original source. */ + +basic_streambuf_> * +FUN_140035dc0(basic_streambuf_> *param_1,uint param_2) + +{ + *(undefined ***)param_1 = + std::basic_stringbuf,std::allocator_>::vftable; + if (((byte)param_1[0x78] & 1) != 0) { + operator_delete((void *)**(undefined8 **)(param_1 + 0x20)); + } + **(undefined8 **)(param_1 + 0x20) = 0; + **(undefined8 **)(param_1 + 0x40) = 0; + **(undefined4 **)(param_1 + 0x58) = 0; + **(undefined8 **)(param_1 + 0x28) = 0; + **(undefined8 **)(param_1 + 0x48) = 0; + **(undefined4 **)(param_1 + 0x60) = 0; + *(uint *)(param_1 + 0x78) = *(uint *)(param_1 + 0x78) & 0xfffffffe; + *(undefined8 *)(param_1 + 0x70) = 0; + std::basic_streambuf_>:: + ~basic_streambuf_>(param_1); + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140035e50.c b/decomp/AgentManager_Release_x64/full/functions/0x140035e50.c new file mode 100644 index 00000000..49ec1e6c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140035e50.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140035e50 FUN_140035e50 + * Pseudocode, not original source. */ + +void FUN_140035e50(longlong *param_1) + +{ + code *pcVar1; + ulonglong uVar2; + ulonglong uVar3; + + uVar3 = param_1[1] - *param_1 >> 6; + if (0x3fffffffffffffe < uVar3) { + std::_Xlength_error("vector too long"); + pcVar1 = (code *)swi(3); + (*pcVar1)(); + return; + } + uVar3 = uVar3 + 1; + uVar2 = param_1[2] - *param_1 >> 6; + if (uVar2 < uVar3) { + if (0x3ffffffffffffff - (uVar2 >> 1) < uVar2) { + uVar2 = 0; + if (uVar3 != 0) { + uVar2 = uVar3; + } + FUN_140036550(param_1,uVar2); + return; + } + uVar2 = uVar2 + (uVar2 >> 1); + if (uVar2 < uVar3) { + uVar2 = uVar3; + } + FUN_140036550(param_1,uVar2); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140035ee0.c b/decomp/AgentManager_Release_x64/full/functions/0x140035ee0.c new file mode 100644 index 00000000..4f16ef5a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140035ee0.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140035ee0 FUN_140035ee0 + * Pseudocode, not original source. */ + +void FUN_140035ee0(undefined8 *param_1) + +{ + undefined8 *puVar1; + undefined8 *puVar2; + + puVar2 = (undefined8 *)*param_1; + if (puVar2 != (undefined8 *)0x0) { + puVar1 = (undefined8 *)param_1[1]; + for (; puVar2 != puVar1; puVar2 = puVar2 + 8) { + if (7 < (ulonglong)puVar2[3]) { + operator_delete((void *)*puVar2); + } + puVar2[3] = 7; + puVar2[2] = 0; + *(undefined2 *)puVar2 = 0; + } + operator_delete((void *)*param_1); + } + *param_1 = 0; + param_1[1] = 0; + param_1[2] = 0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140035f70.c b/decomp/AgentManager_Release_x64/full/functions/0x140035f70.c new file mode 100644 index 00000000..3f0d6906 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140035f70.c @@ -0,0 +1,122 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140035f70 FUN_140035f70 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void ** FUN_140035f70(longlong param_1,void **param_2) + +{ + ulonglong uVar1; + ulonglong uVar2; + undefined1 auStack_78 [32]; + undefined4 local_58; + undefined8 local_50; + void *local_48 [2]; + void *local_38; + void *local_30; + ulonglong local_20; + + local_50 = 0xfffffffffffffffe; + local_20 = DAT_14016f5a0 ^ (ulonglong)auStack_78; + local_58 = 0; + if (((*(uint *)(param_1 + 0x78) & 2) == 0) && (**(ulonglong **)(param_1 + 0x48) != 0)) { + uVar1 = **(ulonglong **)(param_1 + 0x48); + uVar2 = *(ulonglong *)(param_1 + 0x70); + if (*(ulonglong *)(param_1 + 0x70) < uVar1) { + uVar2 = uVar1; + } + local_30 = (void *)0xf; + local_38 = (void *)0x0; + local_48[0] = (void *)((ulonglong)local_48[0]._1_7_ << 8); + FUN_14000c9e0((ulonglong *)local_48,(void *)**(undefined8 **)(param_1 + 0x28), + uVar2 - (longlong)**(undefined8 **)(param_1 + 0x28)); + param_2[3] = (void *)0xf; + param_2[2] = (void *)0x0; + *(undefined1 *)param_2 = 0; + if (param_2 != local_48) { + if ((void *)0xf < param_2[3]) { + operator_delete(*param_2); + } + param_2[3] = (void *)0xf; + param_2[2] = (void *)0x0; + *(undefined1 *)param_2 = 0; + if (local_30 < (void *)0x10) { + memmove(param_2,local_48,(longlong)local_38 + 1); + } + else { + *param_2 = local_48[0]; + local_48[0] = (void *)0x0; + } + param_2[2] = local_38; + param_2[3] = local_30; + local_30 = (void *)0xf; + local_38 = (void *)0x0; + local_48[0] = (void *)((ulonglong)local_48[0] & 0xffffffffffffff00); + } + } + else if (((*(uint *)(param_1 + 0x78) & 4) == 0) && (**(longlong **)(param_1 + 0x40) != 0)) { + local_30 = (void *)0xf; + local_38 = (void *)0x0; + local_48[0] = (void *)((ulonglong)local_48[0]._1_7_ << 8); + FUN_14000c9e0((ulonglong *)local_48,(void *)**(undefined8 **)(param_1 + 0x20), + ((longlong)**(int **)(param_1 + 0x58) + **(longlong **)(param_1 + 0x40)) - + (longlong)**(undefined8 **)(param_1 + 0x20)); + param_2[3] = (void *)0xf; + param_2[2] = (void *)0x0; + *(undefined1 *)param_2 = 0; + if (param_2 != local_48) { + if ((void *)0xf < param_2[3]) { + operator_delete(*param_2); + } + param_2[3] = (void *)0xf; + param_2[2] = (void *)0x0; + *(undefined1 *)param_2 = 0; + if (local_30 < (void *)0x10) { + memmove(param_2,local_48,(longlong)local_38 + 1); + } + else { + *param_2 = local_48[0]; + local_48[0] = (void *)0x0; + } + param_2[2] = local_38; + param_2[3] = local_30; + local_30 = (void *)0xf; + local_38 = (void *)0x0; + local_48[0] = (void *)((ulonglong)local_48[0] & 0xffffffffffffff00); + } + } + else { + local_30 = (void *)0xf; + local_38 = (void *)0x0; + local_48[0] = (void *)((ulonglong)local_48[0]._1_7_ << 8); + param_2[3] = (void *)0xf; + param_2[2] = (void *)0x0; + *(undefined1 *)param_2 = 0; + if (param_2 != local_48) { + if ((void *)0xf < param_2[3]) { + operator_delete(*param_2); + } + param_2[3] = (void *)0xf; + param_2[2] = (void *)0x0; + *(undefined1 *)param_2 = 0; + if (local_30 < (void *)0x10) { + memmove(param_2,local_48,(longlong)local_38 + 1); + } + else { + *param_2 = local_48[0]; + local_48[0] = (void *)0x0; + } + param_2[2] = local_38; + param_2[3] = local_30; + local_30 = (void *)0xf; + local_38 = (void *)0x0; + local_48[0] = (void *)((ulonglong)local_48[0] & 0xffffffffffffff00); + } + } + if ((void *)0xf < local_30) { + operator_delete(local_48[0]); + } + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400361f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400361f0.c new file mode 100644 index 00000000..ea2be71f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400361f0.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400361f0 FUN_1400361f0 + * Pseudocode, not original source. */ + +void FUN_1400361f0(longlong *param_1) + +{ + code *pcVar1; + ulonglong uVar2; + ulonglong uVar3; + + uVar3 = (param_1[1] - *param_1) / 0x58; + if (0x2e8ba2e8ba2e8b9 < uVar3) { + std::_Xlength_error("vector too long"); + pcVar1 = (code *)swi(3); + (*pcVar1)(); + return; + } + uVar3 = uVar3 + 1; + uVar2 = (param_1[2] - *param_1) / 0x58; + if (uVar2 < uVar3) { + if (0x2e8ba2e8ba2e8ba - (uVar2 >> 1) < uVar2) { + uVar2 = 0; + if (uVar3 != 0) { + uVar2 = uVar3; + } + FUN_1400366c0(param_1,uVar2); + return; + } + uVar2 = uVar2 + (uVar2 >> 1); + if (uVar2 < uVar3) { + uVar2 = uVar3; + } + FUN_1400366c0(param_1,uVar2); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400362b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400362b0.c new file mode 100644 index 00000000..55a9b2c7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400362b0.c @@ -0,0 +1,122 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400362b0 FUN_1400362b0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void ** FUN_1400362b0(longlong param_1,void **param_2) + +{ + ulonglong uVar1; + ulonglong uVar2; + undefined1 auStack_78 [32]; + undefined4 local_58; + undefined8 local_50; + void *local_48 [2]; + void *local_38; + void *local_30; + ulonglong local_20; + + local_50 = 0xfffffffffffffffe; + local_20 = DAT_14016f5a0 ^ (ulonglong)auStack_78; + local_58 = 0; + if (((*(uint *)(param_1 + 0x78) & 2) == 0) && (**(ulonglong **)(param_1 + 0x48) != 0)) { + uVar1 = **(ulonglong **)(param_1 + 0x48); + uVar2 = *(ulonglong *)(param_1 + 0x70); + if (*(ulonglong *)(param_1 + 0x70) < uVar1) { + uVar2 = uVar1; + } + local_30 = (void *)0x7; + local_38 = (void *)0x0; + local_48[0] = (void *)((ulonglong)local_48[0]._2_6_ << 0x10); + FUN_140001710((ulonglong *)local_48,(void *)**(undefined8 **)(param_1 + 0x28), + (longlong)(uVar2 - (longlong)**(undefined8 **)(param_1 + 0x28)) >> 1); + param_2[3] = (void *)0x7; + param_2[2] = (void *)0x0; + *(undefined2 *)param_2 = 0; + if (param_2 != local_48) { + if ((void *)0x7 < param_2[3]) { + operator_delete(*param_2); + } + param_2[3] = (void *)0x7; + param_2[2] = (void *)0x0; + *(undefined2 *)param_2 = 0; + if (local_30 < (void *)0x8) { + memmove(param_2,local_48,(longlong)local_38 * 2 + 2); + } + else { + *param_2 = local_48[0]; + local_48[0] = (void *)0x0; + } + param_2[2] = local_38; + param_2[3] = local_30; + local_30 = (void *)0x7; + local_38 = (void *)0x0; + local_48[0] = (void *)((ulonglong)local_48[0] & 0xffffffffffff0000); + } + } + else if (((*(uint *)(param_1 + 0x78) & 4) == 0) && (**(longlong **)(param_1 + 0x40) != 0)) { + local_30 = (void *)0x7; + local_38 = (void *)0x0; + local_48[0] = (void *)((ulonglong)local_48[0]._2_6_ << 0x10); + FUN_140001710((ulonglong *)local_48,(void *)**(undefined8 **)(param_1 + 0x20), + (**(longlong **)(param_1 + 0x40) + (longlong)**(int **)(param_1 + 0x58) * 2) - + (longlong)**(undefined8 **)(param_1 + 0x20) >> 1); + param_2[3] = (void *)0x7; + param_2[2] = (void *)0x0; + *(undefined2 *)param_2 = 0; + if (param_2 != local_48) { + if ((void *)0x7 < param_2[3]) { + operator_delete(*param_2); + } + param_2[3] = (void *)0x7; + param_2[2] = (void *)0x0; + *(undefined2 *)param_2 = 0; + if (local_30 < (void *)0x8) { + memmove(param_2,local_48,(longlong)local_38 * 2 + 2); + } + else { + *param_2 = local_48[0]; + local_48[0] = (void *)0x0; + } + param_2[2] = local_38; + param_2[3] = local_30; + local_30 = (void *)0x7; + local_38 = (void *)0x0; + local_48[0] = (void *)((ulonglong)local_48[0] & 0xffffffffffff0000); + } + } + else { + local_30 = (void *)0x7; + local_38 = (void *)0x0; + local_48[0] = (void *)((ulonglong)local_48[0]._2_6_ << 0x10); + param_2[3] = (void *)0x7; + param_2[2] = (void *)0x0; + *(undefined2 *)param_2 = 0; + if (param_2 != local_48) { + if ((void *)0x7 < param_2[3]) { + operator_delete(*param_2); + } + param_2[3] = (void *)0x7; + param_2[2] = (void *)0x0; + *(undefined2 *)param_2 = 0; + if (local_30 < (void *)0x8) { + memmove(param_2,local_48,(longlong)local_38 * 2 + 2); + } + else { + *param_2 = local_48[0]; + local_48[0] = (void *)0x0; + } + param_2[2] = local_38; + param_2[3] = local_30; + local_30 = (void *)0x7; + local_38 = (void *)0x0; + local_48[0] = (void *)((ulonglong)local_48[0] & 0xffffffffffff0000); + } + } + if ((void *)0x7 < local_30) { + operator_delete(local_48[0]); + } + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140036550.c b/decomp/AgentManager_Release_x64/full/functions/0x140036550.c new file mode 100644 index 00000000..4be8fc3d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140036550.c @@ -0,0 +1,46 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140036550 FUN_140036550 + * Pseudocode, not original source. */ + +void FUN_140036550(longlong *param_1,ulonglong param_2) + +{ + undefined8 *puVar1; + undefined8 *puVar2; + code *pcVar3; + longlong *plVar4; + longlong *local_res10; + undefined **local_20 [3]; + + if (0x3ffffffffffffff < param_2) { + std::_Xlength_error("vector too long"); + pcVar3 = (code *)swi(3); + (*pcVar3)(); + return; + } + if ((ulonglong)(param_1[2] - *param_1 >> 6) < param_2) { + local_res10 = (longlong *)0x0; + if (param_2 != 0) { + local_res10 = operator_new(param_2 << 6); + if (local_res10 == (longlong *)0x0) { + std::exception::exception((exception *)local_20,(char **)&local_res10); + local_20[0] = std::bad_alloc::vftable; + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_20,(ThrowInfo *)&DAT_14016c158); + } + } + plVar4 = local_res10; + FUN_1400370f0((longlong *)*param_1,(longlong *)param_1[1],local_res10); + puVar1 = (undefined8 *)param_1[1]; + puVar2 = (undefined8 *)*param_1; + if (puVar2 != (undefined8 *)0x0) { + FUN_140036660(puVar2,puVar1); + operator_delete((void *)*param_1); + } + param_1[2] = (longlong)(plVar4 + param_2 * 8); + param_1[1] = ((longlong)puVar1 - (longlong)puVar2 & 0xffffffffffffffc0U) + (longlong)plVar4; + *param_1 = (longlong)plVar4; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140036660.c b/decomp/AgentManager_Release_x64/full/functions/0x140036660.c new file mode 100644 index 00000000..7c775467 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140036660.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140036660 FUN_140036660 + * Pseudocode, not original source. */ + +void FUN_140036660(undefined8 *param_1,undefined8 *param_2) + +{ + for (; param_1 != param_2; param_1 = param_1 + 8) { + if (7 < (ulonglong)param_1[3]) { + operator_delete((void *)*param_1); + } + param_1[3] = 7; + param_1[2] = 0; + *(undefined2 *)param_1 = 0; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400366c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400366c0.c new file mode 100644 index 00000000..0017077b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400366c0.c @@ -0,0 +1,34 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400366c0 FUN_1400366c0 + * Pseudocode, not original source. */ + +void FUN_1400366c0(longlong *param_1,ulonglong param_2) + +{ + ulonglong *puVar1; + ulonglong *puVar2; + code *pcVar3; + undefined4 *puVar4; + + if (0x2e8ba2e8ba2e8ba < param_2) { + std::_Xlength_error("vector too long"); + pcVar3 = (code *)swi(3); + (*pcVar3)(); + return; + } + if ((ulonglong)((param_1[2] - *param_1) / 0x58) < param_2) { + puVar4 = FUN_1400367c0(param_2); + FUN_1400371a0((undefined4 *)*param_1,(undefined4 *)param_1[1],puVar4); + puVar1 = (ulonglong *)param_1[1]; + puVar2 = (ulonglong *)*param_1; + if (puVar2 != (ulonglong *)0x0) { + FUN_140036cf0(puVar2,puVar1); + operator_delete((void *)*param_1); + } + param_1[2] = (longlong)(puVar4 + param_2 * 0x16); + param_1[1] = (longlong)(puVar4 + (((longlong)puVar1 - (longlong)puVar2) / 0x58) * 0x16); + *param_1 = (longlong)puVar4; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400367c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400367c0.c new file mode 100644 index 00000000..2874982c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400367c0.c @@ -0,0 +1,25 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400367c0 FUN_1400367c0 + * Pseudocode, not original source. */ + +void * FUN_1400367c0(ulonglong param_1) + +{ + void *pvVar1; + char *local_res8 [4]; + undefined **local_28 [5]; + + if (param_1 == 0) { + return (void *)0x0; + } + if ((param_1 < 0x2e8ba2e8ba2e8bb) && + (pvVar1 = operator_new(param_1 * 0x58), pvVar1 != (void *)0x0)) { + return pvVar1; + } + local_res8[0] = (char *)0x0; + std::exception::exception((exception *)local_28,local_res8); + local_28[0] = std::bad_alloc::vftable; + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_28,(ThrowInfo *)&DAT_14016c158); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140036830.c b/decomp/AgentManager_Release_x64/full/functions/0x140036830.c new file mode 100644 index 00000000..c79e3afc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140036830.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140036830 FUN_140036830 + * Pseudocode, not original source. */ + +void FUN_140036830(longlong *param_1,longlong *param_2) + +{ + if (param_1 != (longlong *)0x0) { + param_1[3] = 7; + param_1[2] = 0; + *(undefined2 *)param_1 = 0; + FUN_140001630(param_1,param_2,0,0xffffffffffffffff); + *(int *)(param_1 + 5) = (int)param_2[5]; + *(undefined4 *)((longlong)param_1 + 0x2c) = *(undefined4 *)((longlong)param_2 + 0x2c); + *(int *)(param_1 + 6) = (int)param_2[6]; + *(undefined4 *)((longlong)param_1 + 0x34) = *(undefined4 *)((longlong)param_2 + 0x34); + *(int *)(param_1 + 7) = (int)param_2[7]; + *(undefined4 *)((longlong)param_1 + 0x3c) = *(undefined4 *)((longlong)param_2 + 0x3c); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400368b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400368b0.c new file mode 100644 index 00000000..edc52f83 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400368b0.c @@ -0,0 +1,42 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400368b0 FUN_1400368b0 + * Pseudocode, not original source. */ + +void FUN_1400368b0(longlong *param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + int *piVar1; + undefined *puVar2; + int *piVar3; + undefined *puVar4; + longlong lVar5; + int iVar6; + + if (0 < param_2) { + iVar6 = 0; + puVar4 = PTR_DAT_14016f008; + lVar5 = param_2; + do { + puVar2 = (undefined *)*param_1; + if (puVar2 == (undefined *)0x0) { + *param_1 = (longlong)puVar4; + } + else if ((puVar2 != puVar4) && (puVar2 + -8 != (undefined *)0x0)) { + piVar3 = (int *)FUN_14003e7c0(puVar4,lVar5,param_3,param_4); + FUN_14003d040(piVar3); + piVar1 = (int *)(puVar2 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(puVar2 + -8); + } + FUN_14003d0d0((longlong)piVar3); + puVar4 = PTR_DAT_14016f008; + } + iVar6 = iVar6 + 1; + *param_1 = (longlong)puVar4; + param_1 = param_1 + 1; + } while (iVar6 < param_2); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140036960.c b/decomp/AgentManager_Release_x64/full/functions/0x140036960.c new file mode 100644 index 00000000..04d07671 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140036960.c @@ -0,0 +1,58 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140036960 FUN_140036960 + * Pseudocode, not original source. */ + +void FUN_140036960(undefined8 *param_1) + +{ + undefined8 *puVar1; + undefined8 *puVar2; + undefined8 *puVar3; + longlong lVar4; + ulonglong *puVar5; + longlong lVar6; + undefined8 *puVar7; + + puVar7 = (undefined8 *)*param_1; + puVar1 = puVar7 + param_1[1]; + for (; puVar7 != puVar1; puVar7 = puVar7 + 1) { + puVar2 = (undefined8 *)*puVar7; + *puVar7 = 0; + while (puVar2 != (undefined8 *)0x0) { + puVar3 = (undefined8 *)*puVar2; + lVar6 = puVar2[2]; + if (lVar6 != 0) { + lVar4 = puVar2[3]; + if (lVar6 != lVar4) { + puVar5 = (ulonglong *)(lVar6 + 0x48); + do { + if (7 < *puVar5) { + operator_delete((void *)puVar5[-3]); + } + *puVar5 = 7; + puVar5[-1] = 0; + *(undefined2 *)(puVar5 + -3) = 0; + if (7 < puVar5[-5]) { + operator_delete((void *)puVar5[-8]); + } + puVar5[-5] = 7; + puVar5[-6] = 0; + lVar6 = lVar6 + 0x58; + *(undefined2 *)(puVar5 + -8) = 0; + puVar5 = puVar5 + 0xb; + } while (lVar6 != lVar4); + } + operator_delete((void *)puVar2[2]); + } + puVar2[2] = 0; + puVar2[3] = 0; + puVar2[4] = 0; + operator_delete(puVar2); + puVar2 = puVar3; + } + } + operator_delete((void *)*param_1); + *param_1 = 0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140036ab0.c b/decomp/AgentManager_Release_x64/full/functions/0x140036ab0.c new file mode 100644 index 00000000..1a2bbac2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140036ab0.c @@ -0,0 +1,78 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140036ab0 FUN_140036ab0 + * Pseudocode, not original source. */ + +longlong * FUN_140036ab0(longlong *param_1,longlong *param_2,byte *param_3,undefined1 *param_4) + +{ + byte bVar1; + undefined8 *puVar2; + ulonglong uVar3; + undefined *puVar4; + undefined8 *puVar5; + longlong **pplVar6; + undefined8 *puVar7; + longlong *local_res8; + longlong *local_res18 [2]; + longlong *local_40; + undefined8 *local_38; + undefined2 local_30; + + bVar1 = *param_3; + puVar7 = (undefined8 *)(*param_1 + ((ulonglong)bVar1 % (ulonglong)param_1[1]) * 8); + puVar2 = (undefined8 *)*puVar7; + do { + if (puVar2 == (undefined8 *)0x0) { +LAB_140036b15: + local_38 = (undefined8 *)0x0; + local_30 = 0; + local_40 = param_1; + FUN_140037500((longlong)&local_40); + puVar2 = local_38; + local_res8 = local_38 + 1; + if (local_res8 != (longlong *)0x0) { + *(undefined1 *)local_res8 = *param_4; + local_res18[0] = local_res8; + FUN_140036e80(local_38 + 2,(longlong *)(param_4 + 8)); + } + local_30 = CONCAT11(1,(undefined1)local_30); + uVar3 = param_1[4]; + local_res18[0] = (longlong *)(uVar3 + 1); + if ((longlong *)param_1[7] <= local_res18[0]) { + local_res8 = (longlong *)((uVar3 >> 1) + uVar3); + pplVar6 = &local_res8; + if (local_res8 <= local_res18[0]) { + pplVar6 = local_res18; + } + puVar4 = FUN_140037260((longlong)param_1,(longlong)*pplVar6); + if (puVar4 != (undefined *)param_1[1]) { + FUN_140037340(param_1,(ulonglong)puVar4); + puVar7 = (undefined8 *)(*param_1 + ((ulonglong)bVar1 % (ulonglong)param_1[1]) * 8); + } + } + *puVar2 = *puVar7; + *puVar7 = puVar2; + param_1[4] = param_1[4] + 1; + puVar5 = (undefined8 *)param_1[6]; + if (puVar7 < (undefined8 *)param_1[6]) { + puVar5 = puVar7; + } + param_1[6] = (longlong)puVar5; + *param_2 = (longlong)puVar7; + param_2[1] = (longlong)puVar2; + *(undefined1 *)(param_2 + 2) = 1; + return param_2; + } + if (bVar1 == *(byte *)(puVar2 + 1)) { + if (puVar2 != (undefined8 *)0x0) { + *param_2 = (longlong)puVar7; + param_2[1] = (longlong)puVar2; + *(undefined1 *)(param_2 + 2) = 0; + return param_2; + } + goto LAB_140036b15; + } + puVar2 = (undefined8 *)*puVar2; + } while( true ); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140036c10.c b/decomp/AgentManager_Release_x64/full/functions/0x140036c10.c new file mode 100644 index 00000000..263239c2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140036c10.c @@ -0,0 +1,44 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140036c10 FUN_140036c10 + * Pseudocode, not original source. */ + +longlong * FUN_140036c10(longlong *param_1,longlong *param_2,undefined1 *param_3) + +{ + void *pvVar1; + longlong *plVar2; + longlong local_40 [2]; + longlong *local_30; + void *local_28; + undefined2 local_20; + + local_28 = (void *)0x0; + local_20 = 0; + local_30 = param_1; + FUN_140037500((longlong)&local_30); + if ((undefined1 *)((longlong)local_28 + 8) != (undefined1 *)0x0) { + *(undefined1 *)((longlong)local_28 + 8) = *param_3; + FUN_140036e80((undefined8 *)((longlong)local_28 + 0x10),(longlong *)(param_3 + 8)); + } + local_20._1_1_ = '\x01'; + plVar2 = FUN_140036f40(param_1,local_40,(longlong)&local_30); + pvVar1 = local_28; + *param_2 = *plVar2; + param_2[1] = plVar2[1]; + *(undefined1 *)(param_2 + 2) = 1; + if (local_28 != (void *)0x0) { + if (local_20._1_1_ != '\0') { + if (*(ulonglong **)((longlong)local_28 + 0x10) != (ulonglong *)0x0) { + FUN_140036cf0(*(ulonglong **)((longlong)local_28 + 0x10), + *(ulonglong **)((longlong)local_28 + 0x18)); + operator_delete(*(void **)((longlong)pvVar1 + 0x10)); + } + *(undefined8 *)((longlong)pvVar1 + 0x10) = 0; + *(undefined8 *)((longlong)pvVar1 + 0x18) = 0; + *(undefined8 *)((longlong)pvVar1 + 0x20) = 0; + } + operator_delete(pvVar1); + } + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140036cf0.c b/decomp/AgentManager_Release_x64/full/functions/0x140036cf0.c new file mode 100644 index 00000000..d38d71ae --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140036cf0.c @@ -0,0 +1,32 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140036cf0 FUN_140036cf0 + * Pseudocode, not original source. */ + +void FUN_140036cf0(ulonglong *param_1,ulonglong *param_2) + +{ + ulonglong *puVar1; + ulonglong *puVar2; + + if (param_1 != param_2) { + puVar2 = param_1 + 9; + do { + if (7 < *puVar2) { + operator_delete((void *)puVar2[-3]); + } + *puVar2 = 7; + puVar2[-1] = 0; + *(undefined2 *)(puVar2 + -3) = 0; + if (7 < puVar2[-5]) { + operator_delete((void *)puVar2[-8]); + } + puVar2[-5] = 7; + puVar2[-6] = 0; + *(undefined2 *)(puVar2 + -8) = 0; + puVar1 = puVar2 + 2; + puVar2 = puVar2 + 0xb; + } while (puVar1 != param_2); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140036d70.c b/decomp/AgentManager_Release_x64/full/functions/0x140036d70.c new file mode 100644 index 00000000..80cc7d82 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140036d70.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140036d70 FUN_140036d70 + * Pseudocode, not original source. */ + +void FUN_140036d70(longlong *param_1,longlong *param_2) + +{ + if (param_1 != (longlong *)0x0) { + param_1[3] = 7; + param_1[2] = 0; + *(undefined2 *)param_1 = 0; + FUN_140001630(param_1,param_2,0,0xffffffffffffffff); + *(int *)(param_1 + 5) = (int)param_2[5]; + *(undefined4 *)((longlong)param_1 + 0x2c) = *(undefined4 *)((longlong)param_2 + 0x2c); + *(int *)(param_1 + 6) = (int)param_2[6]; + *(undefined4 *)((longlong)param_1 + 0x34) = *(undefined4 *)((longlong)param_2 + 0x34); + *(int *)(param_1 + 7) = (int)param_2[7]; + *(undefined4 *)((longlong)param_1 + 0x3c) = *(undefined4 *)((longlong)param_2 + 0x3c); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140036df0.c b/decomp/AgentManager_Release_x64/full/functions/0x140036df0.c new file mode 100644 index 00000000..6249e238 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140036df0.c @@ -0,0 +1,20 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140036df0 FUN_140036df0 + * Pseudocode, not original source. */ + +undefined4 * FUN_140036df0(undefined4 *param_1,undefined4 *param_2) + +{ + *param_1 = *param_2; + param_1[1] = param_2[1]; + *(undefined8 *)(param_1 + 8) = 7; + *(undefined8 *)(param_1 + 6) = 0; + *(undefined2 *)(param_1 + 2) = 0; + FUN_140001630((longlong *)(param_1 + 2),(longlong *)(param_2 + 2),0,0xffffffffffffffff); + *(undefined8 *)(param_1 + 0x12) = 7; + *(undefined8 *)(param_1 + 0x10) = 0; + *(undefined2 *)(param_1 + 0xc) = 0; + FUN_140001630((longlong *)(param_1 + 0xc),(longlong *)(param_2 + 0xc),0,0xffffffffffffffff); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140036e80.c b/decomp/AgentManager_Release_x64/full/functions/0x140036e80.c new file mode 100644 index 00000000..91d063d8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140036e80.c @@ -0,0 +1,36 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140036e80 FUN_140036e80 + * Pseudocode, not original source. */ + +undefined8 * FUN_140036e80(undefined8 *param_1,longlong *param_2) + +{ + code *pcVar1; + ulonglong uVar2; + undefined8 *puVar3; + undefined4 *puVar4; + + *param_1 = 0; + param_1[1] = 0; + param_1[2] = 0; + uVar2 = (param_2[1] - *param_2) / 0x58; + *param_1 = 0; + param_1[1] = 0; + param_1[2] = 0; + if (uVar2 != 0) { + if (0x2e8ba2e8ba2e8ba < uVar2) { + std::_Xlength_error("vector too long"); + pcVar1 = (code *)swi(3); + puVar3 = (undefined8 *)(*pcVar1)(); + return puVar3; + } + puVar4 = FUN_1400367c0(uVar2); + *param_1 = puVar4; + param_1[1] = puVar4; + param_1[2] = puVar4 + uVar2 * 0x16; + puVar4 = FUN_1400375e0((undefined4 *)*param_2,(undefined4 *)param_2[1],puVar4); + param_1[1] = puVar4; + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140036f40.c b/decomp/AgentManager_Release_x64/full/functions/0x140036f40.c new file mode 100644 index 00000000..3fd72097 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140036f40.c @@ -0,0 +1,72 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140036f40 FUN_140036f40 + * Pseudocode, not original source. */ + +longlong * FUN_140036f40(longlong *param_1,longlong *param_2,longlong param_3) + +{ + undefined8 *puVar1; + byte bVar2; + undefined8 *puVar3; + undefined8 uVar4; + undefined *puVar5; + undefined **ppuVar6; + longlong *plVar7; + longlong lVar8; + undefined **ppuVar9; + undefined *local_res8; + undefined *local_res10; + + bVar2 = *(byte *)(*(longlong *)(param_3 + 8) + 8); + if (*param_1 == 0) { + local_res8 = FUN_140037260((longlong)param_1,1); + ppuVar9 = (undefined **)(param_1 + 1); + ppuVar6 = &local_res8; + if (local_res8 <= *ppuVar9) { + ppuVar6 = ppuVar9; + } + *ppuVar9 = *ppuVar6; + FUN_14000c270(param_1); + if (param_1[4] == 0) { + param_1[6] = *param_1 + (longlong)*ppuVar9 * 8; + } + else { + plVar7 = (longlong *)*param_1; + param_1[6] = (longlong)plVar7; + lVar8 = *plVar7; + while (lVar8 == 0) { + plVar7 = plVar7 + 1; + param_1[6] = (longlong)plVar7; + lVar8 = *plVar7; + } + } + lVar8 = FUN_1400110c0((longlong)param_1); + param_1[7] = lVar8; + } + else { + local_res10 = (undefined *)0x1; + if ((ulonglong)param_1[7] < 2) { + local_res8 = (undefined *)(((ulonglong)param_1[4] >> 1) + param_1[4]); + ppuVar9 = &local_res8; + if (local_res8 < (undefined *)0x2) { + ppuVar9 = &local_res10; + } + puVar5 = FUN_140037260((longlong)param_1,(longlong)*ppuVar9); + if (puVar5 != (undefined *)param_1[1]) { + FUN_140037340(param_1,(ulonglong)puVar5); + } + } + } + puVar1 = (undefined8 *)(*param_1 + ((ulonglong)bVar2 % (ulonglong)param_1[1]) * 8); + puVar3 = *(undefined8 **)(param_3 + 8); + *(undefined8 *)(param_3 + 8) = 0; + uVar4 = *puVar1; + *param_2 = (longlong)puVar1; + param_2[1] = (longlong)puVar3; + *puVar3 = uVar4; + *puVar1 = puVar3; + param_1[4] = param_1[4] + 1; + param_1[6] = (longlong)puVar1; + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140037090.c b/decomp/AgentManager_Release_x64/full/functions/0x140037090.c new file mode 100644 index 00000000..006c8d59 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140037090.c @@ -0,0 +1,25 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140037090 FUN_140037090 + * Pseudocode, not original source. */ + +void FUN_140037090(longlong param_1) + +{ + longlong lVar1; + + lVar1 = *(longlong *)(param_1 + 8); + if (lVar1 != 0) { + if (*(char *)(param_1 + 0x11) != '\0') { + if (*(ulonglong **)(lVar1 + 0x10) != (ulonglong *)0x0) { + FUN_140036cf0(*(ulonglong **)(lVar1 + 0x10),*(ulonglong **)(lVar1 + 0x18)); + operator_delete(*(void **)(lVar1 + 0x10)); + } + *(undefined8 *)(lVar1 + 0x10) = 0; + *(undefined8 *)(lVar1 + 0x18) = 0; + *(undefined8 *)(lVar1 + 0x20) = 0; + } + operator_delete(*(void **)(param_1 + 8)); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400370f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400370f0.c new file mode 100644 index 00000000..959e64a6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400370f0.c @@ -0,0 +1,25 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400370f0 FUN_1400370f0 + * Pseudocode, not original source. */ + +longlong * FUN_1400370f0(longlong *param_1,longlong *param_2,longlong *param_3) + +{ + for (; param_1 != param_2; param_1 = param_1 + 8) { + if (param_3 != (longlong *)0x0) { + param_3[3] = 7; + param_3[2] = 0; + *(undefined2 *)param_3 = 0; + FUN_140001630(param_3,param_1,0,0xffffffffffffffff); + *(int *)(param_3 + 5) = (int)param_1[5]; + *(undefined4 *)((longlong)param_3 + 0x2c) = *(undefined4 *)((longlong)param_1 + 0x2c); + *(int *)(param_3 + 6) = (int)param_1[6]; + *(undefined4 *)((longlong)param_3 + 0x34) = *(undefined4 *)((longlong)param_1 + 0x34); + *(int *)(param_3 + 7) = (int)param_1[7]; + *(undefined4 *)((longlong)param_3 + 0x3c) = *(undefined4 *)((longlong)param_1 + 0x3c); + } + param_3 = param_3 + 8; + } + return param_3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400371a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400371a0.c new file mode 100644 index 00000000..03b1f05c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400371a0.c @@ -0,0 +1,25 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400371a0 FUN_1400371a0 + * Pseudocode, not original source. */ + +undefined4 * FUN_1400371a0(undefined4 *param_1,undefined4 *param_2,undefined4 *param_3) + +{ + for (; param_1 != param_2; param_1 = param_1 + 0x16) { + if (param_3 != (undefined4 *)0x0) { + *param_3 = *param_1; + param_3[1] = param_1[1]; + *(undefined8 *)(param_3 + 8) = 7; + *(undefined8 *)(param_3 + 6) = 0; + *(undefined2 *)(param_3 + 2) = 0; + FUN_140001630((longlong *)(param_3 + 2),(longlong *)(param_1 + 2),0,0xffffffffffffffff); + *(undefined8 *)(param_3 + 0x12) = 7; + *(undefined8 *)(param_3 + 0x10) = 0; + *(undefined2 *)(param_3 + 0xc) = 0; + FUN_140001630((longlong *)(param_3 + 0xc),(longlong *)(param_1 + 0xc),0,0xffffffffffffffff); + } + param_3 = param_3 + 0x16; + } + return param_3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140037260.c b/decomp/AgentManager_Release_x64/full/functions/0x140037260.c new file mode 100644 index 00000000..18044d91 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140037260.c @@ -0,0 +1,45 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140037260 FUN_140037260 + * Pseudocode, not original source. */ + +undefined * FUN_140037260(longlong param_1,longlong param_2) + +{ + longlong lVar1; + longlong lVar2; + longlong lVar3; + undefined **ppuVar4; + double dVar5; + + dVar5 = (double)param_2; + if (param_2 < 0) { + dVar5 = dVar5 + 1.8446744073709552e+19; + } + dVar5 = floor(dVar5 / (double)*(float *)(param_1 + 0x28)); + if (dVar5 < 1.8446744073709552e+19) { + lVar1 = 0; + if ((9.223372036854776e+18 < dVar5) && + (dVar5 = dVar5 - 9.223372036854776e+18, dVar5 < 9.223372036854776e+18)) { + lVar1 = -0x8000000000000000; + } + lVar1 = (longlong)dVar5 + lVar1; + } + else { + lVar1 = -1; + } + ppuVar4 = (undefined **)&DAT_1401303d0; + lVar3 = 0x28; + do { + lVar2 = lVar3 / 2; + if (ppuVar4[lVar2] < (undefined *)(lVar1 + 1U)) { + ppuVar4 = ppuVar4 + lVar2 + 1; + lVar2 = lVar3 + (-1 - lVar2); + } + lVar3 = lVar2; + } while (0 < lVar2); + if (ppuVar4 == &MBISingleton::vftable_meta_ptr) { + return (undefined *)0xfffffffb; + } + return *ppuVar4; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140037340.c b/decomp/AgentManager_Release_x64/full/functions/0x140037340.c new file mode 100644 index 00000000..50ccb060 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140037340.c @@ -0,0 +1,89 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140037340 FUN_140037340 + * Pseudocode, not original source. */ + +void FUN_140037340(longlong *param_1,ulonglong param_2) + +{ + byte bVar1; + longlong lVar2; + longlong lVar3; + undefined8 *puVar4; + longlong *plVar5; + longlong lVar6; + longlong lVar7; + undefined8 *puVar8; + double dVar9; + longlong local_40; + ulonglong local_38; + longlong local_28; + longlong local_20; + + lVar7 = param_1[4]; + lVar6 = param_1[1]; + lVar2 = *param_1; + local_40 = 0; + local_38 = param_2; + FUN_14000c270(&local_40); + local_20 = param_1[1]; + lVar3 = *param_1; + *param_1 = 0; + param_1[1] = local_20; + param_1[4] = 0; + for (puVar8 = (undefined8 *)param_1[6]; puVar8 != (undefined8 *)(lVar2 + lVar6 * 8); + puVar8 = puVar8 + 1) { + puVar4 = (undefined8 *)*puVar8; + while (puVar4 != (undefined8 *)0x0) { + bVar1 = *(byte *)(puVar4 + 1); + *puVar8 = *puVar4; + *puVar4 = *(undefined8 *)(local_40 + ((ulonglong)bVar1 % local_38) * 8); + *(undefined8 **)(local_40 + ((ulonglong)bVar1 % local_38) * 8) = puVar4; + puVar4 = (undefined8 *)*puVar8; + } + } + param_1[4] = lVar7; + lVar7 = *param_1; + *param_1 = local_40; + lVar6 = param_1[1]; + param_1[1] = local_38; + plVar5 = (longlong *)*param_1; + if (param_1[4] == 0) { + param_1[6] = (longlong)(plVar5 + local_38); + } + else { + param_1[6] = (longlong)plVar5; + lVar2 = *plVar5; + while (lVar2 == 0) { + plVar5 = plVar5 + 1; + param_1[6] = (longlong)plVar5; + lVar2 = *plVar5; + } + } + dVar9 = (double)param_1[1]; + if (param_1[1] < 0) { + dVar9 = dVar9 + 1.8446744073709552e+19; + } + local_40 = lVar7; + local_38 = lVar6; + local_28 = lVar3; + dVar9 = ceil((double)*(float *)(param_1 + 5) * dVar9); + lVar6 = -1; + if (dVar9 < 1.8446744073709552e+19) { + lVar6 = 0; + if ((9.223372036854776e+18 < dVar9) && + (dVar9 = dVar9 - 9.223372036854776e+18, dVar9 < 9.223372036854776e+18)) { + lVar6 = -0x8000000000000000; + } + lVar6 = (longlong)dVar9 + lVar6; + } + param_1[7] = lVar6; + if (lVar3 != 0) { + FUN_140036960(&local_28); + lVar7 = local_40; + } + if (lVar7 != 0) { + FUN_140036960(&local_40); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140037500.c b/decomp/AgentManager_Release_x64/full/functions/0x140037500.c new file mode 100644 index 00000000..d36a3fc2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140037500.c @@ -0,0 +1,49 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140037500 FUN_140037500 + * Pseudocode, not original source. */ + +void FUN_140037500(longlong param_1) + +{ + longlong lVar1; + undefined8 *puVar2; + char *local_res8; + undefined **local_38; + undefined8 local_30; + undefined8 local_28; + undefined8 local_20; + undefined8 local_18; + undefined8 local_10; + + lVar1 = *(longlong *)(param_1 + 8); + if (lVar1 != 0) { + if (*(ulonglong **)(lVar1 + 0x10) != (ulonglong *)0x0) { + FUN_140036cf0(*(ulonglong **)(lVar1 + 0x10),*(ulonglong **)(lVar1 + 0x18)); + operator_delete(*(void **)(lVar1 + 0x10)); + } + *(undefined8 *)(lVar1 + 0x10) = 0; + *(undefined8 *)(lVar1 + 0x18) = 0; + *(undefined8 *)(lVar1 + 0x20) = 0; + *(undefined1 *)(param_1 + 0x11) = 0; + return; + } + *(undefined2 *)(param_1 + 0x10) = 0; + puVar2 = operator_new(0x30); + if (puVar2 != (undefined8 *)0x0) { + *(undefined8 **)(param_1 + 8) = puVar2; + *puVar2 = 0; + puVar2[1] = local_30; + puVar2[2] = local_28; + puVar2[3] = local_20; + puVar2[4] = local_18; + puVar2[5] = local_10; + *(undefined1 *)(param_1 + 0x10) = 1; + return; + } + local_res8 = (char *)0x0; + std::exception::exception((exception *)&local_38,&local_res8); + local_38 = std::bad_alloc::vftable; + /* WARNING: Subroutine does not return */ + _CxxThrowException(&local_38,(ThrowInfo *)&DAT_14016c158); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400375e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400375e0.c new file mode 100644 index 00000000..84a420a3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400375e0.c @@ -0,0 +1,25 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400375e0 FUN_1400375e0 + * Pseudocode, not original source. */ + +undefined4 * FUN_1400375e0(undefined4 *param_1,undefined4 *param_2,undefined4 *param_3) + +{ + for (; param_1 != param_2; param_1 = param_1 + 0x16) { + if (param_3 != (undefined4 *)0x0) { + *param_3 = *param_1; + param_3[1] = param_1[1]; + *(undefined8 *)(param_3 + 8) = 7; + *(undefined8 *)(param_3 + 6) = 0; + *(undefined2 *)(param_3 + 2) = 0; + FUN_140001630((longlong *)(param_3 + 2),(longlong *)(param_1 + 2),0,0xffffffffffffffff); + *(undefined8 *)(param_3 + 0x12) = 7; + *(undefined8 *)(param_3 + 0x10) = 0; + *(undefined2 *)(param_3 + 0xc) = 0; + FUN_140001630((longlong *)(param_3 + 0xc),(longlong *)(param_1 + 0xc),0,0xffffffffffffffff); + } + param_3 = param_3 + 0x16; + } + return param_3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400376b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400376b0.c new file mode 100644 index 00000000..74bbdbbb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400376b0.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400376b0 FUN_1400376b0 + * Pseudocode, not original source. */ + +undefined8 * FUN_1400376b0(undefined8 *param_1,byte param_2) + +{ + DAT_14017cf28 = 0; + *param_1 = MBISingleton::vftable; + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400376f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400376f0.c new file mode 100644 index 00000000..5302c219 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400376f0.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400376f0 FUN_1400376f0 + * Pseudocode, not original source. */ + +void FUN_1400376f0(undefined8 *param_1) + +{ + DAT_14017cf28 = 0; + *param_1 = MBISingleton::vftable; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140037710.c b/decomp/AgentManager_Release_x64/full/functions/0x140037710.c new file mode 100644 index 00000000..80753063 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140037710.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140037710 FUN_140037710 + * Pseudocode, not original source. */ + +void FUN_140037710(longlong *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + if ((undefined8 *)*param_1 != (undefined8 *)0x0) { + param_2 = 1; + (*(code *)**(undefined8 **)*param_1)(); + } + *param_1 = 0; + FUN_140002190(param_1 + 1,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140037750.c b/decomp/AgentManager_Release_x64/full/functions/0x140037750.c new file mode 100644 index 00000000..206591e2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140037750.c @@ -0,0 +1,330 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140037750 FUN_140037750 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* WARNING: Removing unreachable block (ram,0x000140037b40) */ +/* WARNING: Removing unreachable block (ram,0x000140037b47) */ +/* WARNING: Removing unreachable block (ram,0x000140037b60) */ +/* WARNING: Removing unreachable block (ram,0x000140037b6c) */ +/* WARNING: Removing unreachable block (ram,0x000140037b64) */ +/* WARNING: Removing unreachable block (ram,0x000140037b72) */ +/* WARNING: Removing unreachable block (ram,0x000140037b84) */ +/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ + +void FUN_140037750(undefined8 *param_1,undefined8 param_2,longlong param_3,longlong param_4) + +{ + uint uVar1; + int *piVar2; + int *piVar3; + ulonglong *puVar4; + undefined *puVar5; + int *piVar6; + undefined4 *puVar7; + undefined4 *puVar8; + undefined4 **ppuVar9; + LPCWSTR pWVar10; + longlong lVar11; + int iVar12; + undefined4 *puVar13; + undefined *puVar14; + undefined4 *puVar15; + longlong lVar16; + longlong *plVar17; + int iVar18; + undefined1 auStack_178 [32]; + int *local_158; + int *local_150; + undefined1 local_148; + int *local_140; + undefined1 local_138; + undefined8 local_128; + undefined4 **local_120; + longlong *local_118; + undefined4 *local_110; + uint local_108; + undefined4 uStack_104; + undefined4 uStack_100; + undefined4 local_fc; + undefined *local_f8; + undefined4 *local_f0; + uint local_e8; + undefined **local_e0; + longlong *local_d8; + undefined4 *local_d0; + int local_c8; + undefined4 local_b8; + undefined4 local_b4; + undefined4 local_b0; + undefined4 local_ac; + undefined4 local_a8; + undefined8 local_a4; + undefined4 local_9c; + undefined1 local_91; + undefined1 local_80; + undefined **local_70; + longlong *local_68; + undefined4 *local_60; + ulonglong local_38; + + local_128 = 0xfffffffffffffffe; + local_38 = DAT_14016f5a0 ^ (ulonglong)auStack_178; + (**(code **)(*(longlong *)*param_1 + 0x178))((longlong *)*param_1,0x406e000000000000); + FUN_140049c40(&local_f8,param_2,param_3,param_4); + if (*(char *)(DAT_14017cf28 + 0x151) == '\0') { + if (local_f0 == (undefined4 *)0x0) { + local_f0 = (undefined4 *)PTR_DAT_14016f010; + } + if ((undefined4 *)param_1[1] != local_f0) { + puVar5 = PTR_DAT_14016f010; + piVar2 = (int *)FUN_14003e7c0(local_f0,PTR_DAT_14016f010,param_3,param_4); + piVar6 = piVar2; + local_150 = piVar2; + FUN_14003d040(piVar2); + puVar7 = local_f0; + local_148 = 1; + if (((local_f0 != (undefined4 *)0x0) && (local_f0 != (undefined4 *)PTR_DAT_14016f010)) && + (puVar13 = local_f0 + -2, puVar13 != (undefined4 *)0x0)) { + piVar3 = (int *)FUN_14003e7c0(piVar6,puVar5,param_3,param_4); + local_140 = piVar3; + FUN_14003d040(piVar3); + local_138 = 1; + piVar6 = puVar7 + -1; + *piVar6 = *piVar6 + -1; + if (*piVar6 == 0) { + FUN_14003e8b0(puVar13); + } + FUN_14003d0d0((longlong)piVar3); + } + local_f0 = (undefined4 *)param_1[1]; + if (((local_f0 != (undefined4 *)PTR_DAT_14016f010) && (local_f0 != (undefined4 *)0x0)) && + (local_f0 != (undefined4 *)0x8)) { + local_f0[-1] = local_f0[-1] + 1; + } + FUN_14003d0d0((longlong)piVar2); + } + puVar5 = PTR_DAT_14016f010; + puVar7 = (undefined4 *)param_1[1]; + if ((undefined4 *)param_1[1] == (undefined4 *)0x0) { + puVar7 = (undefined4 *)PTR_DAT_14016f010; + } + param_1[1] = puVar7; + if (local_f0 == puVar7) goto LAB_140037a5d; + piVar6 = (int *)FUN_14003e7c0(local_f0,puVar5,param_3,param_4); + local_150 = piVar6; + FUN_14003d040(piVar6); + local_148 = 1; + FUN_140002190(param_1 + 1,puVar5,param_3,param_4); + param_1[1] = local_f0; + if (((local_f0 != (undefined4 *)PTR_DAT_14016f010) && (local_f0 != (undefined4 *)0x0)) && + (local_f0 != (undefined4 *)0x8)) { + local_f0[-1] = local_f0[-1] + 1; + } + } + else { + if (local_f8 == (undefined *)0x0) { + local_f8 = PTR_DAT_14016f010; + } + if ((undefined *)param_1[1] != local_f8) { + piVar2 = (int *)FUN_14003e7c0(PTR_DAT_14016f010,param_2,param_3,param_4); + piVar6 = piVar2; + local_140 = piVar2; + FUN_14003d040(piVar2); + puVar5 = local_f8; + local_138 = 1; + if (((local_f8 != (undefined *)0x0) && (local_f8 != PTR_DAT_14016f010)) && + (puVar14 = local_f8 + -8, puVar14 != (undefined *)0x0)) { + piVar3 = (int *)FUN_14003e7c0(piVar6,param_2,param_3,param_4); + local_150 = piVar3; + FUN_14003d040(piVar3); + local_148 = 1; + piVar6 = (int *)(puVar5 + -4); + *piVar6 = *piVar6 + -1; + if (*piVar6 == 0) { + FUN_14003e8b0(puVar14); + } + FUN_14003d0d0((longlong)piVar3); + } + local_f8 = (undefined *)param_1[1]; + if (((local_f8 != PTR_DAT_14016f010) && (local_f8 != (undefined *)0x0)) && + (local_f8 != (undefined *)0x8)) { + *(int *)(local_f8 + -4) = *(int *)(local_f8 + -4) + 1; + } + FUN_14003d0d0((longlong)piVar2); + } + pWVar10 = (LPCWSTR)param_1[1]; + if ((LPCWSTR)param_1[1] == (LPCWSTR)0x0) { + pWVar10 = (LPCWSTR)PTR_DAT_14016f010; + } + puVar4 = FUN_140033940((ulonglong *)&local_120,pWVar10); + if (7 < puVar4[3]) { + puVar4 = (ulonglong *)*puVar4; + } + ppuVar9 = &local_f0; + FUN_140005dd0((longlong *)ppuVar9,(short *)puVar4,param_3,param_4); + if (7 < CONCAT44(uStack_104,local_108)) { + ppuVar9 = local_120; + operator_delete(local_120); + } + puVar5 = (undefined *)param_1[1]; + if ((undefined *)param_1[1] == (undefined *)0x0) { + puVar5 = PTR_DAT_14016f010; + } + param_1[1] = puVar5; + if (local_f8 == puVar5) goto LAB_140037a5d; + piVar6 = (int *)FUN_14003e7c0(ppuVar9,puVar4,param_3,param_4); + local_150 = piVar6; + FUN_14003d040(piVar6); + local_148 = 1; + FUN_140002190(param_1 + 1,puVar4,param_3,param_4); + param_1[1] = local_f8; + if (((local_f8 != PTR_DAT_14016f010) && (local_f8 != (undefined *)0x0)) && + (local_f8 != (undefined *)0x8)) { + *(int *)(local_f8 + -4) = *(int *)(local_f8 + -4) + 1; + } + } + FUN_14003d0d0((longlong)piVar6); +LAB_140037a5d: + local_e8 = *(uint *)(param_1 + 2); + local_b4 = DAT_14017cf00; + local_b0 = _DAT_14017cf04; + local_ac = _DAT_14017cf08; + local_a8 = _DAT_14017cf0c; + local_80 = 0; + local_9c = 0x80; + puVar7 = (undefined4 *)0x0; + local_a4 = 0; + local_91 = 1; + iVar18 = *(int *)((longlong)param_1 + 0x14); + if ((iVar18 < 1) || (*(int *)(param_1 + 3) < 1)) { + (**(code **)(*(longlong *)*param_1 + 0x180))((longlong *)*param_1,2); + } + else { + local_120 = (undefined4 **)Proud::CFastArray::vftable; + local_118 = (longlong *)0x0; + local_fc = 0; + local_110 = (undefined4 *)0x0; + local_108 = 0; + uStack_104 = 0; + uStack_100 = 0; + local_b8 = 1; + puVar13 = puVar7; + if (iVar18 < *(int *)(param_1 + 3) + iVar18) { + do { + iVar12 = (int)puVar13; + if (iVar12 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + FUN_140038010((longlong)&local_120,iVar12 + 1,param_3,param_4); + param_4 = (longlong)iVar12; + puVar13 = (undefined4 *)(ulonglong)local_108; + puVar8 = local_110; + if (local_108 == 0) { + puVar8 = puVar7; + } + puVar8[param_4] = iVar18; + iVar18 = iVar18 + 1; + } while (iVar18 < *(int *)(param_1 + 3) + *(int *)((longlong)param_1 + 0x14)); + if ((int)local_108 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + } + uVar1 = local_108; + puVar13 = local_110; + plVar17 = local_118; + FUN_140038010((longlong)&local_e0,local_108,param_3,param_4); + puVar8 = local_d0; + if (local_c8 == 0) { + puVar8 = puVar7; + } + puVar15 = puVar13; + if (uVar1 == 0) { + puVar15 = puVar7; + } + lVar11 = (longlong)(int)uVar1; + if (0 < (int)uVar1) { + lVar16 = (longlong)puVar15 - (longlong)puVar8; + do { + *puVar8 = *(undefined4 *)(lVar16 + (longlong)puVar8); + puVar8 = puVar8 + 1; + lVar11 = lVar11 + -1; + } while (lVar11 != 0); + } + if (puVar13 != (undefined4 *)0x0) { + if (plVar17 == (longlong *)0x0) { + FUN_14003e8b0(puVar13); + } + else { + (**(code **)(*plVar17 + 0x18))(plVar17,puVar13); + } + } + } + local_158 = (int *)0x0; + (**(code **)(*(longlong *)*param_1 + 0x138))((longlong *)*param_1,&local_f8,&local_158); + puVar7 = local_f0; + if (local_f0 == (undefined4 *)0x0) { + puVar7 = (undefined4 *)PTR_DAT_14016f010; + } + plVar17 = (longlong *)(ulonglong)local_e8; + FUN_14001df30(L"Server Start : ADDRESS[%s] PORT[%d]",puVar7,plVar17,param_4); + piVar6 = local_158; + if (local_158 != (int *)0x0) { + local_140 = local_158; + FUN_14003d040(local_158); + local_138 = 1; + *(longlong *)(local_158 + 0x10) = *(longlong *)(local_158 + 0x10) + -1; + if (*(longlong *)(local_158 + 0x10) == 0) { + FUN_14003d0d0((longlong)piVar6); + local_138 = 0; + FUN_140038210(local_158,puVar7,plVar17,param_4); + } + else { + FUN_14003d0d0((longlong)piVar6); + } + } + local_70 = Proud::CFastArray::vftable; + if (local_60 != (undefined4 *)0x0) { + if (local_68 == (longlong *)0x0) { + FUN_14003e8b0(local_60); + plVar17 = local_68; + } + else { + (**(code **)(*local_68 + 0x18))(local_68); + puVar7 = local_60; + plVar17 = local_68; + } + } + local_e0 = Proud::CFastArray::vftable; + if (local_d0 != (undefined4 *)0x0) { + if (local_d8 == (longlong *)0x0) { + FUN_14003e8b0(local_d0); + plVar17 = local_d8; + } + else { + (**(code **)(*local_d8 + 0x18))(local_d8); + puVar7 = local_d0; + plVar17 = local_d8; + } + } + ppuVar9 = &local_f0; + FUN_140002190((longlong *)ppuVar9,puVar7,plVar17,param_4); + puVar5 = local_f8; + if (((local_f8 != (undefined *)0x0) && (local_f8 != PTR_DAT_14016f010)) && + (puVar14 = local_f8 + -8, puVar14 != (undefined *)0x0)) { + piVar2 = (int *)FUN_14003e7c0(ppuVar9,puVar7,plVar17,param_4); + local_150 = piVar2; + FUN_14003d040(piVar2); + local_148 = 1; + piVar6 = (int *)(puVar5 + -4); + *piVar6 = *piVar6 + -1; + if (*piVar6 == 0) { + FUN_14003e8b0(puVar14); + } + FUN_14003d0d0((longlong)piVar2); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140037e00.c b/decomp/AgentManager_Release_x64/full/functions/0x140037e00.c new file mode 100644 index 00000000..1131974c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140037e00.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140037e00 FUN_140037e00 + * Pseudocode, not original source. */ + +void FUN_140037e00(longlong *param_1,LPVOID param_2,longlong *param_3,undefined8 param_4) + +{ + LPVOID pvVar1; + + param_1[0x11] = (longlong)Proud::CFastArray::vftable; + pvVar1 = (LPVOID)param_1[0x13]; + if (pvVar1 != (LPVOID)0x0) { + param_3 = (longlong *)param_1[0x12]; + if (param_3 == (longlong *)0x0) { + FUN_14003e8b0(pvVar1); + } + else { + (**(code **)(*param_3 + 0x18))(param_3); + param_2 = pvVar1; + } + } + param_1[3] = (longlong)Proud::CFastArray::vftable; + pvVar1 = (LPVOID)param_1[5]; + if (pvVar1 != (LPVOID)0x0) { + param_3 = (longlong *)param_1[4]; + if (param_3 == (longlong *)0x0) { + FUN_14003e8b0(pvVar1); + } + else { + (**(code **)(*param_3 + 0x18))(param_3); + param_2 = pvVar1; + } + } + FUN_140002190(param_1 + 1,param_2,param_3,param_4); + FUN_140002190(param_1,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140037ea0.c b/decomp/AgentManager_Release_x64/full/functions/0x140037ea0.c new file mode 100644 index 00000000..a5e3f047 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140037ea0.c @@ -0,0 +1,39 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140037ea0 FUN_140037ea0 + * Pseudocode, not original source. */ + +void FUN_140037ea0(longlong param_1,longlong param_2,undefined8 param_3,longlong param_4) + +{ + int iVar1; + undefined4 *puVar2; + undefined4 *puVar3; + longlong lVar4; + undefined4 *puVar5; + + iVar1 = *(int *)(param_1 + 0x18); + lVar4 = (longlong)iVar1; + if (-1 < iVar1) { + FUN_140038010(param_2,iVar1,param_3,param_4); + puVar5 = (undefined4 *)0x0; + puVar2 = puVar5; + if (*(int *)(param_2 + 0x18) != 0) { + puVar2 = *(undefined4 **)(param_2 + 0x10); + } + if (*(int *)(param_1 + 0x18) != 0) { + puVar5 = *(undefined4 **)(param_1 + 0x10); + } + if (0 < iVar1) { + puVar3 = puVar2; + do { + lVar4 = lVar4 + -1; + *puVar3 = *(undefined4 *)(((longlong)puVar5 - (longlong)puVar2) + (longlong)puVar3); + puVar3 = puVar3 + 1; + } while (lVar4 != 0); + } + return; + } + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140037f20.c b/decomp/AgentManager_Release_x64/full/functions/0x140037f20.c new file mode 100644 index 00000000..6253153b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140037f20.c @@ -0,0 +1,50 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140037f20 FUN_140037f20 + * Pseudocode, not original source. */ + +void FUN_140037f20(longlong param_1,int param_2,longlong param_3,longlong param_4) + +{ + undefined4 *puVar1; + longlong lVar2; + longlong lVar3; + int iVar4; + longlong lVar5; + int iVar6; + longlong lVar7; + longlong lVar8; + longlong lVar9; + + iVar6 = (int)param_4; + lVar9 = (longlong)iVar6; + lVar7 = (longlong)param_2; + if (((-1 < iVar6) && (-1 < param_2)) && (param_2 <= *(int *)(param_1 + 0x18))) { + iVar4 = *(int *)(param_1 + 0x18); + FUN_140038010(param_1,iVar4 + iVar6,param_3,param_4); + iVar4 = iVar4 - param_2; + if ((0 < iVar4) && (iVar4 = iVar4 + -1, lVar5 = (longlong)iVar4, -1 < iVar4)) { + lVar8 = (lVar9 + lVar7 + lVar5) * 4; + do { + lVar2 = FUN_140006d70(param_1); + lVar3 = FUN_140006d70(param_1); + *(undefined4 *)(lVar3 + lVar8) = *(undefined4 *)(lVar2 + lVar9 * -4 + lVar8); + lVar8 = lVar8 + -4; + lVar5 = lVar5 + -1; + } while (-1 < lVar5); + } + if (0 < iVar6) { + lVar5 = lVar7 * 4; + do { + lVar8 = FUN_140006d70(param_1); + puVar1 = (undefined4 *)(lVar5 + param_3 + lVar7 * -4); + lVar5 = lVar5 + 4; + lVar9 = lVar9 + -1; + *(undefined4 *)(lVar8 + -4 + lVar5) = *puVar1; + } while (lVar9 != 0); + } + return; + } + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140038010.c b/decomp/AgentManager_Release_x64/full/functions/0x140038010.c new file mode 100644 index 00000000..a6fbdc0f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140038010.c @@ -0,0 +1,78 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140038010 FUN_140038010 + * Pseudocode, not original source. */ + +void FUN_140038010(longlong param_1,int param_2,undefined8 param_3,longlong param_4) + +{ + longlong *plVar1; + LPVOID pvVar2; + int iVar3; + undefined8 uVar4; + undefined4 *puVar5; + undefined4 *puVar6; + int iVar7; + longlong lVar8; + exception local_58 [80]; + + if (param_2 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (param_2 != *(int *)(param_1 + 0x18)) { + if (*(int *)(param_1 + 0x1c) < param_2) { + iVar3 = FUN_140038160(param_1,param_2); + plVar1 = *(longlong **)(param_1 + 8); + lVar8 = (longlong)iVar3; + if (*(int *)(param_1 + 0x1c) == 0) { + if (plVar1 == (longlong *)0x0) { + uVar4 = FUN_14003e840(lVar8 << 2); + *(undefined8 *)(param_1 + 0x10) = uVar4; + } + else { + uVar4 = (**(code **)(*plVar1 + 8))(plVar1,lVar8 << 2); + *(undefined8 *)(param_1 + 0x10) = uVar4; + } + } + else { + pvVar2 = *(LPVOID *)(param_1 + 0x10); + if (plVar1 == (longlong *)0x0) { + puVar5 = (undefined4 *)FUN_14003e840(lVar8 << 2); + } + else { + puVar5 = (undefined4 *)(**(code **)(*plVar1 + 8))(); + } + lVar8 = (longlong)*(int *)(param_1 + 0x18); + iVar7 = 0; + if (0 < lVar8) { + param_4 = (longlong)pvVar2 - (longlong)puVar5; + puVar6 = puVar5; + do { + if (puVar6 != (undefined4 *)0x0) { + *puVar6 = *(undefined4 *)(param_4 + (longlong)puVar6); + } + iVar7 = iVar7 + 1; + puVar6 = puVar6 + 1; + } while (iVar7 < lVar8); + } + if (puVar5 == (undefined4 *)0x0) { + FUN_14003db10(local_58,L"Memory allocation failure!",lVar8,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + plVar1 = *(longlong **)(param_1 + 8); + if (plVar1 == (longlong *)0x0) { + FUN_14003e8b0(pvVar2); + } + else { + (**(code **)(*plVar1 + 0x18))(plVar1,pvVar2); + } + *(undefined4 **)(param_1 + 0x10) = puVar5; + } + *(int *)(param_1 + 0x1c) = iVar3; + } + *(int *)(param_1 + 0x18) = param_2; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140038160.c b/decomp/AgentManager_Release_x64/full/functions/0x140038160.c new file mode 100644 index 00000000..4d35632d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140038160.c @@ -0,0 +1,54 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140038160 FUN_140038160 + * Pseudocode, not original source. */ + +int FUN_140038160(longlong param_1,int param_2) + +{ + uint uVar1; + int iVar2; + uint uVar3; + int iVar4; + + iVar4 = *(int *)(param_1 + 0x24); + if (iVar4 == 0) { + iVar2 = (int)(*(int *)(param_1 + 0x18) + (*(int *)(param_1 + 0x18) >> 0x1f & 7U)) >> 3; + iVar4 = 0x400; + if (iVar2 < 0x400) { + iVar4 = iVar2; + } + iVar2 = 4; + if (4 < iVar4) { + iVar2 = iVar4; + } + iVar4 = iVar2 + param_2; + if (iVar2 + param_2 < *(int *)(param_1 + 0x20)) { + iVar4 = *(int *)(param_1 + 0x20); + } + return iVar4; + } + if (iVar4 != 1) { + if (iVar4 != 2) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (param_2 < *(int *)(param_1 + 0x20)) { + param_2 = *(int *)(param_1 + 0x20); + } + return param_2; + } + uVar1 = (int)(*(int *)(param_1 + 0x18) + (*(int *)(param_1 + 0x18) >> 0x1f & 7U)) >> 3; + uVar3 = 0x10; + if (0x10 < (int)uVar1) { + uVar3 = uVar1; + } + if (uVar3 < 0x11) { + uVar3 = 0x10; + } + iVar4 = uVar3 + param_2; + if ((int)(uVar3 + param_2) < *(int *)(param_1 + 0x20)) { + iVar4 = *(int *)(param_1 + 0x20); + } + return iVar4; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140038210.c b/decomp/AgentManager_Release_x64/full/functions/0x140038210.c new file mode 100644 index 00000000..7ceb309f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140038210.c @@ -0,0 +1,21 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140038210 FUN_140038210 + * Pseudocode, not original source. */ + +void FUN_140038210(undefined4 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + LPVOID pvVar1; + + pvVar1 = *(LPVOID *)(param_1 + 0xe); + if (pvVar1 != (LPVOID)0x0) { + FUN_140002190((longlong *)((longlong)pvVar1 + 0x58),param_2,param_3,param_4); + FUN_140049e40((undefined8 *)((longlong)pvVar1 + 0x28)); + FUN_140002190((longlong *)((longlong)pvVar1 + 0x10),param_2,param_3,param_4); + FUN_14003e8b0(pvVar1); + } + FUN_14003d110(param_1,param_2,param_3,param_4); + FUN_14003e8b0(param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140038280.c b/decomp/AgentManager_Release_x64/full/functions/0x140038280.c new file mode 100644 index 00000000..e74fe949 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140038280.c @@ -0,0 +1,24 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140038280 FUN_140038280 + * Pseudocode, not original source. */ + +void FUN_140038280(longlong *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + int *piVar1; + + piVar1 = (int *)*param_1; + if (piVar1 != (int *)0x0) { + FUN_14003d040(piVar1); + *(longlong *)(*param_1 + 0x40) = *(longlong *)(*param_1 + 0x40) + -1; + if (*(longlong *)(*param_1 + 0x40) == 0) { + FUN_14003d0d0((longlong)piVar1); + FUN_140038210((undefined4 *)*param_1,param_2,param_3,param_4); + } + else { + FUN_14003d0d0((longlong)piVar1); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140038300.c b/decomp/AgentManager_Release_x64/full/functions/0x140038300.c new file mode 100644 index 00000000..5c9bf412 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140038300.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140038300 FUN_140038300 + * Pseudocode, not original source. */ + +longlong * FUN_140038300(longlong *param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + int *piVar1; + ulonglong uVar2; + undefined7 uVar3; + + uVar3 = (undefined7)((ulonglong)param_3 >> 8); + if (param_2 == 0) { + *param_1 = 0; + } + else { + piVar1 = (int *)FUN_14003e840(0x48); + if (piVar1 != (int *)0x0) { + uVar2 = FUN_140094860(); + FUN_14003cf60(piVar1,uVar2 & 0xffffffff,CONCAT71(uVar3,1),param_4); + } + *param_1 = (longlong)piVar1; + FUN_14003d040(piVar1); + *(undefined8 *)(*param_1 + 0x40) = 1; + *(longlong *)(*param_1 + 0x38) = param_2; + FUN_14003d0d0((longlong)piVar1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400383a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400383a0.c new file mode 100644 index 00000000..1be13377 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400383a0.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400383a0 FUN_1400383a0 + * Pseudocode, not original source. */ + +undefined8 * FUN_1400383a0(undefined8 *param_1,uint param_2) + +{ + *param_1 = Proud::CFastArray::vftable; + if ((LPVOID)param_1[2] != (LPVOID)0x0) { + if ((longlong *)param_1[1] == (longlong *)0x0) { + FUN_14003e8b0((LPVOID)param_1[2]); + } + else { + (**(code **)(*(longlong *)param_1[1] + 0x18))(); + } + } + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140038400.c b/decomp/AgentManager_Release_x64/full/functions/0x140038400.c new file mode 100644 index 00000000..beaa886e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140038400.c @@ -0,0 +1,20 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140038400 FUN_140038400 + * Pseudocode, not original source. */ + +void FUN_140038400(undefined8 *param_1) + +{ + *param_1 = Proud::CFastArray::vftable; + if ((LPVOID)param_1[2] != (LPVOID)0x0) { + if ((longlong *)param_1[1] != (longlong *)0x0) { + /* WARNING: Could not recover jumptable at 0x000140038427. Too many branches */ + /* WARNING: Treating indirect jump as call */ + (**(code **)(*(longlong *)param_1[1] + 0x18))(); + return; + } + FUN_14003e8b0((LPVOID)param_1[2]); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140038440.c b/decomp/AgentManager_Release_x64/full/functions/0x140038440.c new file mode 100644 index 00000000..16484c4f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140038440.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140038440 FUN_140038440 + * Pseudocode, not original source. */ + +undefined8 * FUN_140038440(undefined8 *param_1) + +{ + *param_1 = MagiCustomOption::vftable; + *(undefined4 *)(param_1 + 1) = 0x1010101; + *(undefined4 *)((longlong)param_1 + 0xc) = 0x1010101; + *(undefined4 *)(param_1 + 2) = 0x1010101; + *(undefined4 *)((longlong)param_1 + 0x14) = 0x1010101; + param_1[6] = 0xf; + param_1[5] = 0; + *(undefined1 *)(param_1 + 3) = 0; + param_1[8] = 0; + *(undefined1 *)(param_1 + 9) = 0; + FUN_14000c9e0(param_1 + 3,"option\\customoption.xml",0x17); + FUN_140038530((longlong)param_1); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400384c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400384c0.c new file mode 100644 index 00000000..a0bd564f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400384c0.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400384c0 FUN_1400384c0 + * Pseudocode, not original source. */ + +undefined8 * FUN_1400384c0(undefined8 *param_1,uint param_2) + +{ + *param_1 = MagiCustomOption::vftable; + if (0xf < (ulonglong)param_1[6]) { + operator_delete((void *)param_1[3]); + } + param_1[6] = 0xf; + param_1[5] = 0; + *(undefined1 *)(param_1 + 3) = 0; + *param_1 = MBISingleton::vftable; + DAT_14017cf10 = 0; + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140038530.c b/decomp/AgentManager_Release_x64/full/functions/0x140038530.c new file mode 100644 index 00000000..4842b862 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140038530.c @@ -0,0 +1,492 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140038530 FUN_140038530 + * Pseudocode, not original source. */ + +void FUN_140038530(longlong param_1) + +{ + char cVar1; + int iVar2; + ulonglong uVar3; + longlong lVar4; + longlong lVar5; + longlong lVar6; + longlong *plVar7; + char *pcVar8; + longlong *plVar9; + char *pcVar10; + char *pcVar11; + bool bVar12; + undefined **local_98 [5]; + longlong *local_70; + undefined8 *local_60; + void *local_58; + undefined8 *local_38; + void *local_30; + undefined8 local_18; + + local_18 = 0xfffffffffffffffe; + pcVar8 = (char *)(param_1 + 0x18); + if (0xf < *(ulonglong *)(param_1 + 0x30)) { + pcVar8 = *(char **)pcVar8; + } + FUN_14001f6d0(local_98,pcVar8); + DAT_140174c28 = 0; + uVar3 = FUN_14001f7a0((longlong *)local_98,(char *)(local_60 + 2)); + if ((char)uVar3 == '\0') { + local_98[0] = TiXmlDocument::vftable; + if (local_38 != &DAT_14017ce88) { + operator_delete__(local_30); + } + local_98[0] = TiXmlNode::vftable; + while (local_70 != (longlong *)0x0) { + plVar9 = (longlong *)local_70[10]; + (**(code **)*local_70)(local_70,1); + local_70 = plVar9; + } + if (local_60 != &DAT_14017ce88) { + operator_delete__(local_58); + return; + } + return; + } + plVar9 = local_70; + if (local_70 != (longlong *)0x0) { + do { + bVar12 = (char *)(plVar9[7] + 0x10) == (char *)0x0; + lVar4 = 4; + pcVar8 = (char *)(plVar9[7] + 0x10); + pcVar10 = "log"; + do { + if (lVar4 == 0) break; + lVar4 = lVar4 + -1; + bVar12 = *pcVar8 == *pcVar10; + pcVar8 = pcVar8 + 1; + pcVar10 = pcVar10 + 1; + } while (bVar12); + if (bVar12) goto LAB_140038646; + plVar9 = (longlong *)plVar9[10]; + plVar7 = local_70; + } while (plVar9 != (longlong *)0x0); + goto joined_r0x000140038903; + } + goto LAB_140038d0b; +LAB_140038646: + while (lVar4 = (**(code **)(*plVar9 + 0x30))(plVar9), lVar4 == 0) { + do { + plVar9 = (longlong *)plVar9[10]; + plVar7 = local_70; + if (plVar9 == (longlong *)0x0) goto joined_r0x000140038903; + bVar12 = (char *)(plVar9[7] + 0x10) == (char *)0x0; + lVar4 = 4; + pcVar8 = (char *)(plVar9[7] + 0x10); + pcVar10 = "log"; + do { + if (lVar4 == 0) break; + lVar4 = lVar4 + -1; + bVar12 = *pcVar8 == *pcVar10; + pcVar8 = pcVar8 + 1; + pcVar10 = pcVar10 + 1; + } while (bVar12); + } while (!bVar12); + } + lVar4 = (**(code **)(*plVar9 + 0x30))(plVar9); + plVar7 = local_70; + if (lVar4 != 0) { + for (plVar9 = *(longlong **)(lVar4 + 0x28); plVar7 = local_70, plVar9 != (longlong *)0x0; + plVar9 = (longlong *)plVar9[10]) { + lVar4 = (**(code **)(*plVar9 + 0x30))(plVar9); + if (lVar4 != 0) { + lVar4 = (**(code **)(*plVar9 + 0x30))(plVar9); + goto joined_r0x0001400386cb; + } + } + } +joined_r0x000140038903: + do { + if (plVar7 == (longlong *)0x0) goto LAB_140038d0b; + bVar12 = (char *)(plVar7[7] + 0x10) == (char *)0x0; + lVar4 = 8; + pcVar8 = (char *)(plVar7[7] + 0x10); + pcVar10 = "connect"; + do { + if (lVar4 == 0) break; + lVar4 = lVar4 + -1; + bVar12 = *pcVar8 == *pcVar10; + pcVar8 = pcVar8 + 1; + pcVar10 = pcVar10 + 1; + } while (bVar12); + if (bVar12) goto LAB_140038936; + plVar7 = (longlong *)plVar7[10]; + } while( true ); +joined_r0x0001400386cb: + plVar7 = local_70; + if (lVar4 != 0) { + pcVar8 = (char *)(*(longlong *)(lVar4 + 0x38) + 0x10); + if (pcVar8 != (char *)0x0) { + for (lVar5 = *(longlong *)(lVar4 + 0xa0); lVar5 != lVar4 + 0x58; + lVar5 = *(longlong *)(lVar5 + 0x48)) { + pcVar10 = (char *)(*(longlong *)(lVar5 + 0x20) + 0x10); + bVar12 = pcVar10 == (char *)0x0; + lVar6 = 6; + pcVar11 = "print"; + do { + if (lVar6 == 0) break; + lVar6 = lVar6 + -1; + bVar12 = *pcVar10 == *pcVar11; + pcVar10 = pcVar10 + 1; + pcVar11 = pcVar11 + 1; + } while (bVar12); + if (bVar12) { + pcVar10 = (char *)(*(longlong *)(lVar5 + 0x30) + 0x10); + if (pcVar10 != (char *)0x0) { + lVar5 = -1; + pcVar11 = pcVar8; + goto code_r0x00014003872d; + } + break; + } + } + } + goto LAB_1400388c9; + } + goto joined_r0x000140038903; + while( true ) { + lVar5 = lVar5 + -1; + cVar1 = *pcVar11; + pcVar11 = pcVar11 + 1; + if (cVar1 == '\0') break; +code_r0x00014003872d: + if (lVar5 == 0) break; + } + if (lVar5 != -2) { + iVar2 = _stricmp(pcVar8,"log_account"); + if (iVar2 == 0) { + iVar2 = atoi(pcVar10); + *(bool *)(param_1 + 0x41) = iVar2 == 1; + } + else { + iVar2 = _stricmp(pcVar8,"log_item"); + if (iVar2 == 0) { + iVar2 = atoi(pcVar10); + *(bool *)(param_1 + 0x40) = iVar2 == 1; + } + else { + iVar2 = _stricmp(pcVar8,"log_pet"); + if (iVar2 == 0) { + iVar2 = atoi(pcVar10); + *(bool *)(param_1 + 0x42) = iVar2 == 1; + } + else { + iVar2 = _stricmp(pcVar8,"log_loginout"); + if (iVar2 == 0) { + iVar2 = atoi(pcVar10); + *(bool *)(param_1 + 0x43) = iVar2 == 1; + } + else { + iVar2 = _stricmp(pcVar8,"agentmanagers"); + if (iVar2 == 0) { + iVar2 = atoi(pcVar10); + *(bool *)(param_1 + 0x44) = iVar2 == 1; + } + else { + iVar2 = _stricmp(pcVar8,"agent"); + if (iVar2 == 0) { + iVar2 = atoi(pcVar10); + *(bool *)(param_1 + 0x45) = iVar2 == 1; + } + else { + iVar2 = _stricmp(pcVar8,"api"); + if (iVar2 == 0) { + iVar2 = atoi(pcVar10); + *(bool *)(param_1 + 0x46) = iVar2 == 1; + } + else { + iVar2 = _stricmp(pcVar8,"pvp"); + if (iVar2 == 0) { + iVar2 = atoi(pcVar10); + *(bool *)(param_1 + 0x47) = iVar2 == 1; + } + else { + iVar2 = _stricmp(pcVar8,"serveroption"); + if (iVar2 == 0) { + iVar2 = atoi(pcVar10); + *(bool *)(param_1 + 0x48) = iVar2 == 1; + } + } + } + } + } + } + } + } + } + } +LAB_1400388c9: + plVar9 = *(longlong **)(lVar4 + 0x50); + while( true ) { + plVar7 = local_70; + if (plVar9 == (longlong *)0x0) goto joined_r0x000140038903; + lVar4 = (**(code **)(*plVar9 + 0x30))(plVar9); + if (lVar4 != 0) break; + plVar9 = (longlong *)plVar9[10]; + } + lVar4 = (**(code **)(*plVar9 + 0x30))(plVar9); + goto joined_r0x0001400386cb; +LAB_140038936: + while (lVar4 = (**(code **)(*plVar7 + 0x30))(plVar7), lVar4 == 0) { + do { + plVar7 = (longlong *)plVar7[10]; + if (plVar7 == (longlong *)0x0) goto LAB_140038d0b; + bVar12 = (char *)(plVar7[7] + 0x10) == (char *)0x0; + lVar4 = 8; + pcVar8 = (char *)(plVar7[7] + 0x10); + pcVar10 = "connect"; + do { + if (lVar4 == 0) break; + lVar4 = lVar4 + -1; + bVar12 = *pcVar8 == *pcVar10; + pcVar8 = pcVar8 + 1; + pcVar10 = pcVar10 + 1; + } while (bVar12); + } while (!bVar12); + } + lVar4 = (**(code **)(*plVar7 + 0x30))(plVar7); + if (lVar4 != 0) { + for (plVar9 = *(longlong **)(lVar4 + 0x28); plVar9 != (longlong *)0x0; + plVar9 = (longlong *)plVar9[10]) { + lVar4 = (**(code **)(*plVar9 + 0x30))(plVar9); + if (lVar4 != 0) { + lVar4 = (**(code **)(*plVar9 + 0x30))(plVar9); + while (lVar4 != 0) { + pcVar8 = (char *)(*(longlong *)(lVar4 + 0x38) + 0x10); + if (pcVar8 != (char *)0x0) { + for (lVar5 = *(longlong *)(lVar4 + 0xa0); lVar5 != lVar4 + 0x58; + lVar5 = *(longlong *)(lVar5 + 0x48)) { + pcVar10 = (char *)(*(longlong *)(lVar5 + 0x20) + 0x10); + bVar12 = pcVar10 == (char *)0x0; + lVar6 = 8; + pcVar11 = "connect"; + do { + if (lVar6 == 0) break; + lVar6 = lVar6 + -1; + bVar12 = *pcVar10 == *pcVar11; + pcVar10 = pcVar10 + 1; + pcVar11 = pcVar11 + 1; + } while (bVar12); + if (bVar12) { + pcVar10 = (char *)(*(longlong *)(lVar5 + 0x30) + 0x10); + if (pcVar10 != (char *)0x0) { + iVar2 = _stricmp(pcVar8,"dbc_game"); + if (iVar2 == 0) { + iVar2 = atoi(pcVar10); + *(bool *)(param_1 + 8) = iVar2 == 1; + } + else { + iVar2 = _stricmp(pcVar8,"dbc_log"); + if (iVar2 == 0) { + iVar2 = atoi(pcVar10); + *(bool *)(param_1 + 9) = iVar2 == 1; + } + else { + iVar2 = _stricmp(pcVar8,"dbc_chat"); + if (iVar2 == 0) { + iVar2 = atoi(pcVar10); + *(bool *)(param_1 + 10) = iVar2 == 1; + } + else { + iVar2 = _stricmp(pcVar8,"dbc_emergency"); + if (iVar2 == 0) { + iVar2 = atoi(pcVar10); + *(bool *)(param_1 + 0xb) = iVar2 == 1; + } + else { + iVar2 = _stricmp(pcVar8,"auction"); + if (iVar2 == 0) { + iVar2 = atoi(pcVar10); + *(bool *)(param_1 + 0xc) = iVar2 == 1; + } + else { + iVar2 = _stricmp(pcVar8,"msg"); + if (iVar2 == 0) { + iVar2 = atoi(pcVar10); + *(bool *)(param_1 + 0xd) = iVar2 == 1; + } + else { + iVar2 = _stricmp(pcVar8,"manager"); + if (iVar2 == 0) { + iVar2 = atoi(pcVar10); + *(bool *)(param_1 + 0xe) = iVar2 == 1; + } + else { + iVar2 = _stricmp(pcVar8,"match"); + if (iVar2 == 0) { + iVar2 = atoi(pcVar10); + *(bool *)(param_1 + 0xf) = iVar2 == 1; + } + else { + iVar2 = _stricmp(pcVar8,"gm"); + if (iVar2 == 0) { + iVar2 = atoi(pcVar10); + *(bool *)(param_1 + 0x10) = iVar2 == 1; + } + else { + iVar2 = _stricmp(pcVar8,"gate"); + if (iVar2 == 0) { + iVar2 = atoi(pcVar10); + *(bool *)(param_1 + 0x11) = iVar2 == 1; + } + else { + iVar2 = _stricmp(pcVar8,"lobby"); + if (iVar2 == 0) { + iVar2 = atoi(pcVar10); + *(bool *)(param_1 + 0x12) = iVar2 == 1; + } + else { + iVar2 = _stricmp(pcVar8,"dungeon"); + if (iVar2 == 0) { + iVar2 = atoi(pcVar10); + *(bool *)(param_1 + 0x13) = iVar2 == 1; + } + else { + iVar2 = _stricmp(pcVar8,"pvp"); + if (iVar2 == 0) { + iVar2 = atoi(pcVar10); + *(bool *)(param_1 + 0x14) = iVar2 == 1; + } + else { + iVar2 = _stricmp(pcVar8,"guild"); + if (iVar2 == 0) { + iVar2 = atoi(pcVar10); + *(bool *)(param_1 + 0x15) = iVar2 == 1; + } + else { + iVar2 = _stricmp(pcVar8,"agent"); + if (iVar2 == 0) { + iVar2 = atoi(pcVar10); + *(bool *)(param_1 + 0x16) = iVar2 == 1; + } + else { + iVar2 = _stricmp(pcVar8,"agentmanager"); + if (iVar2 == 0) { + iVar2 = atoi(pcVar10); + *(bool *)(param_1 + 0x17) = iVar2 == 1; + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + break; + } + } + } + plVar9 = *(longlong **)(lVar4 + 0x50); + while( true ) { + if (plVar9 == (longlong *)0x0) goto LAB_140038d0b; + lVar4 = (**(code **)(*plVar9 + 0x30))(plVar9); + if (lVar4 != 0) break; + plVar9 = (longlong *)plVar9[10]; + } + lVar4 = (**(code **)(*plVar9 + 0x30))(plVar9); + } + break; + } + } + } +LAB_140038d0b: + printf("//////////////////////////////////////////////////////////////////////////\n"); + if (*(char *)(param_1 + 0x40) != '\0') { + printf("LOGVIEWER Option [%d] - LogItem View.\n"); + } + if (*(char *)(param_1 + 0x41) != '\0') { + printf("LOGVIEWER Option [%d] - LogAccount View.\n"); + } + if (*(char *)(param_1 + 0x44) != '\0') { + printf("LOGVIEWER Option [%d] - LogAgentManagers View.\n"); + } + if (*(char *)(param_1 + 0x45) != '\0') { + printf("LOGVIEWER Option [%d] - LogAgent View.\n"); + } + if (*(char *)(param_1 + 0x46) != '\0') { + printf("LOGVIEWER Option [%d] - LogApi View.\n"); + } + if (*(char *)(param_1 + 0x47) != '\0') { + printf("LOGVIEWER Option [%d] - LogPvp View.\n"); + } + if (*(char *)(param_1 + 0x48) != '\0') { + printf("LOGVIEWER Option [%d] - LogServerOption View.\n"); + } + if (*(char *)(param_1 + 0x42) != '\0') { + printf("LOGVIEWER Option [%d] - LogPet View.\n"); + } + if (*(char *)(param_1 + 8) != '\0') { + printf("Connect Option [%d] - DBC_GAME. \n"); + } + if (*(char *)(param_1 + 9) != '\0') { + printf("Connect Option [%d] - DBC_LOG. \n"); + } + if (*(char *)(param_1 + 0xc) != '\0') { + printf("Connect Option [%d] - Auction. \n"); + } + if (*(char *)(param_1 + 0xd) != '\0') { + printf("Connect Option [%d] - Msg. \n"); + } + if (*(char *)(param_1 + 0xe) != '\0') { + printf("Connect Option [%d] - Manager. \n"); + } + if (*(char *)(param_1 + 0xf) != '\0') { + printf("Connect Option [%d] - Match. \n"); + } + if (*(char *)(param_1 + 0x10) != '\0') { + printf("Connect Option [%d] - Gm. \n"); + } + if (*(char *)(param_1 + 0x11) != '\0') { + printf("Connect Option [%d] - Gate. \n"); + } + if (*(char *)(param_1 + 0x12) != '\0') { + printf("Connect Option [%d] - Lobby. \n"); + } + if (*(char *)(param_1 + 0x13) != '\0') { + printf("Connect Option [%d] - Dungeon. \n"); + } + if (*(char *)(param_1 + 0x14) != '\0') { + printf("Connect Option [%d] - Pvp. \n"); + } + if (*(char *)(param_1 + 0x15) != '\0') { + printf("Connect Option [%d] - Guild. \n"); + } + if (*(char *)(param_1 + 0x16) != '\0') { + printf("Connect Option [%d] - Agent. \n"); + } + if (*(char *)(param_1 + 0x17) != '\0') { + printf("Connect Option [%d] - AgentManager. \n"); + } + printf("//////////////////////////////////////////////////////////////////////////\n"); + local_98[0] = TiXmlDocument::vftable; + if (local_38 != &DAT_14017ce88) { + operator_delete__(local_30); + } + local_98[0] = TiXmlNode::vftable; + while (local_70 != (longlong *)0x0) { + plVar9 = (longlong *)local_70[10]; + (**(code **)*local_70)(local_70,1); + local_70 = plVar9; + } + if (local_60 != &DAT_14017ce88) { + operator_delete__(local_58); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140039000.c b/decomp/AgentManager_Release_x64/full/functions/0x140039000.c new file mode 100644 index 00000000..1d77b036 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140039000.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140039000 FUN_140039000 + * Pseudocode, not original source. */ + +undefined8 * FUN_140039000(undefined8 *param_1,byte param_2) + +{ + DAT_14017cf10 = 0; + *param_1 = MBISingleton::vftable; + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140039040.c b/decomp/AgentManager_Release_x64/full/functions/0x140039040.c new file mode 100644 index 00000000..60062298 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140039040.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140039040 FUN_140039040 + * Pseudocode, not original source. */ + +void FUN_140039040(undefined8 *param_1) + +{ + DAT_14017cf10 = 0; + *param_1 = MBISingleton::vftable; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140039060.c b/decomp/AgentManager_Release_x64/full/functions/0x140039060.c new file mode 100644 index 00000000..b6dfc15f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140039060.c @@ -0,0 +1,20 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140039060 FUN_140039060 + * Pseudocode, not original source. */ + +undefined8 * FUN_140039060(undefined8 *param_1,uint param_2) + +{ + *param_1 = MagiServerManager::vftable; + if (param_1[7] != 0) { + FUN_14003b510(param_1 + 7); + } + FUN_14003a9e0(param_1 + 1); + DAT_14017cf20 = 0; + *param_1 = MBISingleton::vftable; + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400390d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400390d0.c new file mode 100644 index 00000000..011269e9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400390d0.c @@ -0,0 +1,68 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400390d0 FUN_1400390d0 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x000140039186) */ + +void FUN_1400390d0(longlong param_1) + +{ + undefined8 *puVar1; + longlong lVar2; + longlong lVar3; + undefined8 *puVar4; + undefined8 *puVar5; + longlong lVar6; + undefined8 *puVar7; + undefined8 *local_28; + undefined8 *puStack_20; + + if (*(longlong *)(param_1 + 0x58) == 0) { + local_28 = (undefined8 *)0x0; + } + else { + local_28 = *(undefined8 **)(param_1 + 0x68); + if (local_28 != (undefined8 *)0x0) { + puStack_20 = (undefined8 *)*local_28; + goto joined_r0x000140039122; + } + } + puStack_20 = (undefined8 *)0x0; +joined_r0x000140039122: + while (puStack_20 != (undefined8 *)0x0) { + if (puStack_20[2] == 0) { + lVar3 = *(longlong *)(param_1 + 0x18); + lVar6 = *(longlong *)(param_1 + 0x10); + while ((lVar6 != 0 && ((lVar6 != 0 || (lVar3 == 0x10))))) { + lVar2 = lVar3 + -0x10; + lVar3 = *(longlong *)(lVar3 + -8 + lVar6); + lVar6 = *(longlong *)(lVar2 + lVar6); + } + } + for (puStack_20 = (undefined8 *)*puStack_20; puStack_20 == (undefined8 *)0x0; + puStack_20 = (undefined8 *)*puStack_20) { + puStack_20 = local_28 + 1; + local_28 = local_28 + 1; + } + if (local_28 == puStack_20) { + puStack_20 = (undefined8 *)0x0; + } + } + if (*(longlong *)(param_1 + 0x58) != 0) { + puVar7 = *(undefined8 **)(param_1 + 0x38); + puVar1 = puVar7 + *(longlong *)(param_1 + 0x40); + for (; puVar7 != puVar1; puVar7 = puVar7 + 1) { + puVar4 = (undefined8 *)*puVar7; + *puVar7 = 0; + while (puVar4 != (undefined8 *)0x0) { + puVar5 = (undefined8 *)*puVar4; + operator_delete(puVar4); + puVar4 = puVar5; + } + } + *(undefined8 **)(param_1 + 0x68) = puVar1; + *(undefined8 *)(param_1 + 0x58) = 0; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140039230.c b/decomp/AgentManager_Release_x64/full/functions/0x140039230.c new file mode 100644 index 00000000..f99a7ce2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140039230.c @@ -0,0 +1,118 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140039230 FUN_140039230 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_140039230(longlong param_1) + +{ + double _X; + longlong lVar1; + undefined8 *puVar2; + double dVar3; + errno_t eVar4; + int iVar5; + undefined8 *puVar6; + double dVar7; + undefined1 auStack_d8 [32]; + double local_b8; + undefined4 local_b0; + __time64_t local_a8; + undefined8 local_a0; + undefined8 local_98; + short local_90; + short local_8e; + undefined2 local_8c; + short local_8a; + short local_88; + short local_86; + ushort local_84; + undefined2 local_82; + tm local_80; + ulonglong local_58; + + local_58 = DAT_14016f5a0 ^ (ulonglong)auStack_d8; + local_a8 = _time64((__time64_t *)0x0); + local_b8 = 0.0; + local_b0 = 0; + eVar4 = _localtime64_s(&local_80,&local_a8); + if (eVar4 == 0) { + local_90 = (short)local_80.tm_year + 0x76c; + local_82 = 0; + local_8e = (short)local_80.tm_mon + 1; + local_8c = (undefined2)local_80.tm_wday; + local_8a = (short)local_80.tm_mday; + local_88 = (short)local_80.tm_hour; + local_86 = (short)local_80.tm_min; + local_84 = (ushort)local_80.tm_sec; + iVar5 = Ordinal_184(&local_90,&local_b8); + local_a0 = (undefined8 *)0x0; + local_98 = (undefined8 *)0x0; + if (((((iVar5 == 0) || (iVar5 = Ordinal_185(local_b8,&local_a0), iVar5 == 0)) || + (local_90 != (short)local_a0)) || + ((local_8e != local_a0._2_2_ || (local_8a != local_a0._6_2_)))) || + ((local_88 != (short)local_98 || (local_86 != local_98._2_2_)))) goto LAB_14003933f; + local_b0 = 0; + if (local_84 != local_98._4_2_) goto LAB_14003933f; + } + else { +LAB_14003933f: + local_b0 = 1; + } + if (*(longlong *)(param_1 + 0x58) == 0) { + local_a0 = (undefined8 *)0x0; + } + else { + local_a0 = *(undefined8 **)(param_1 + 0x68); + if (local_a0 != (undefined8 *)0x0) { + local_98 = (undefined8 *)*local_a0; + puVar6 = local_a0; + puVar2 = local_98; + goto joined_r0x000140039378; + } + } + local_98 = (undefined8 *)0x0; + puVar6 = local_a0; + puVar2 = local_98; +joined_r0x000140039378: + while (puVar2 != (undefined8 *)0x0) { + lVar1 = puVar2[2]; + if (((lVar1 != 0) && (*(int *)(lVar1 + 0xc4) != 0)) && (*(int *)(lVar1 + 0xc4) != 1)) { + _X = *(double *)(lVar1 + 200); + if (_X <= -5.787037037037037e-06) { + dVar7 = ceil(_X); + _X = dVar7 - (_X - dVar7); + } + dVar3 = local_b8; + dVar7 = local_b8; + if (local_b8 <= -5.787037037037037e-06) { + dVar7 = ceil(local_b8); + dVar7 = dVar7 - (dVar3 - dVar7); + } + iVar5 = Ordinal_185(_X - dVar7,&local_a0); + if ((iVar5 == 0) || (local_98._4_2_ < 0x1e)) { + *(undefined4 *)(lVar1 + 0xc4) = 3; + } + else { + iVar5 = Ordinal_185(_X - dVar7,&local_90); + if ((iVar5 == 0) || (local_84 < 0xb4)) { + *(undefined4 *)(lVar1 + 0xc4) = 2; + } + else { + *(undefined4 *)(lVar1 + 0xc4) = 0; + } + } + } + for (puVar2 = (undefined8 *)*puVar2; puVar2 == (undefined8 *)0x0; puVar2 = (undefined8 *)*puVar2 + ) { + puVar2 = puVar6 + 1; + puVar6 = puVar6 + 1; + } + if (puVar6 == puVar2) { + puVar2 = (undefined8 *)0x0; + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400394f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400394f0.c new file mode 100644 index 00000000..9952b5fd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400394f0.c @@ -0,0 +1,49 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400394f0 FUN_1400394f0 + * Pseudocode, not original source. */ + +void FUN_1400394f0(longlong param_1,undefined4 *param_2) + +{ + longlong *plVar1; + undefined8 *puVar2; + wchar_t *_Format; + int local_48 [2]; + undefined8 *local_40; + undefined8 local_38 [3]; + longlong local_20 [3]; + + plVar1 = (longlong *)(param_1 + 0x38); + if (*(longlong *)(param_1 + 0x58) != 0) { + for (puVar2 = *(undefined8 **) + (*plVar1 + + ((ulonglong)(longlong)(int)param_2[1] % *(ulonglong *)(param_1 + 0x40)) * 8); + puVar2 != (undefined8 *)0x0; puVar2 = (undefined8 *)*puVar2) { + if (param_2[1] == *(int *)(puVar2 + 1)) { + if ((puVar2 != (undefined8 *)0x0) && ((undefined4 *)puVar2[2] != (undefined4 *)0x0)) { + FUN_140029800((undefined4 *)puVar2[2],param_2); + _Format = L"INSERT SERVER OPTION MODIFY - Code : [ %d ], Name [ %s ]\n"; + goto LAB_1400395d6; + } + break; + } + } + } + puVar2 = FUN_14003a5a0((undefined8 *)(param_1 + 8)); + FUN_140029800((undefined4 *)puVar2,param_2); + local_48[0] = param_2[1]; + local_40 = puVar2; + if (*(longlong *)(param_1 + 0x58) == 0) { + FUN_14003c840(plVar1,local_20,local_48); + } + else { + FUN_14000e3f0(plVar1,local_38,local_48,local_48); + } + _Format = L"INSERT SERVER OPTION - Code : [ %d ], Name [ %s ]\n"; +LAB_1400395d6: + /* WARNING: Could not recover jumptable at 0x0001400395e3. Too many branches */ + /* WARNING: Treating indirect jump as call */ + wprintf(_Format); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400395f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400395f0.c new file mode 100644 index 00000000..5f9358cc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400395f0.c @@ -0,0 +1,39 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400395f0 FUN_1400395f0 + * Pseudocode, not original source. */ + +longlong FUN_1400395f0(longlong param_1,int param_2) + +{ + undefined8 *local_18; + undefined8 *local_10; + + if (*(longlong *)(param_1 + 0x58) == 0) { + local_18 = (undefined8 *)0x0; + } + else { + local_18 = *(undefined8 **)(param_1 + 0x68); + if (local_18 != (undefined8 *)0x0) { + local_10 = (undefined8 *)*local_18; + goto joined_r0x00014003962e; + } + } + local_10 = (undefined8 *)0x0; +joined_r0x00014003962e: + while( true ) { + if (local_10 == (undefined8 *)0x0) { + return 0; + } + if (*(int *)(local_10[2] + 0xa0) == param_2) break; + for (local_10 = (undefined8 *)*local_10; local_10 == (undefined8 *)0x0; + local_10 = (undefined8 *)*local_10) { + local_10 = local_18 + 1; + local_18 = local_18 + 1; + } + if (local_18 == local_10) { + local_10 = (undefined8 *)0x0; + } + } + return local_10[2]; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140039670.c b/decomp/AgentManager_Release_x64/full/functions/0x140039670.c new file mode 100644 index 00000000..668438e5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140039670.c @@ -0,0 +1,68 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140039670 FUN_140039670 + * Pseudocode, not original source. */ + +void FUN_140039670(longlong param_1,longlong param_2,undefined8 param_3,longlong param_4) + +{ + int iVar1; + int iVar2; + longlong lVar3; + longlong lVar4; + int iVar5; + longlong lVar6; + longlong lVar7; + undefined8 *local_38; + undefined8 *local_30; + + if (*(longlong *)(param_1 + 0x58) == 0) { + local_38 = (undefined8 *)0x0; + } + else { + local_38 = *(undefined8 **)(param_1 + 0x68); + if (local_38 != (undefined8 *)0x0) { + local_30 = (undefined8 *)*local_38; + goto joined_r0x0001400396b8; + } + } + local_30 = (undefined8 *)0x0; +joined_r0x0001400396b8: + do { + if (local_30 == (undefined8 *)0x0) { + return; + } + lVar6 = local_30[2]; + if (((lVar6 != 0) && (iVar1 = *(int *)(lVar6 + 0xa0), iVar1 != 0)) && + (*(char *)(lVar6 + 0xc) == '\r')) { + iVar2 = *(int *)(param_2 + 0x18); + if (iVar2 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + iVar5 = *(int *)(param_2 + 0x18); + FUN_140038010(param_2,iVar5 + 1,param_3,param_4); + iVar5 = iVar5 - iVar2; + if ((0 < iVar5) && (iVar5 = iVar5 + -1, lVar6 = (longlong)iVar5, -1 < iVar5)) { + lVar7 = (iVar2 + lVar6) * 4 + 4; + do { + lVar3 = FUN_140006d70(param_2); + lVar4 = FUN_140006d70(param_2); + *(undefined4 *)(lVar4 + lVar7) = *(undefined4 *)(lVar3 + -4 + lVar7); + lVar7 = lVar7 + -4; + lVar6 = lVar6 + -1; + } while (-1 < lVar6); + } + lVar6 = FUN_140006d70(param_2); + *(int *)(lVar6 + (longlong)iVar2 * 4) = iVar1; + } + for (local_30 = (undefined8 *)*local_30; local_30 == (undefined8 *)0x0; + local_30 = (undefined8 *)*local_30) { + local_30 = local_38 + 1; + local_38 = local_38 + 1; + } + if (local_38 == local_30) { + local_30 = (undefined8 *)0x0; + } + } while( true ); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400397d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400397d0.c new file mode 100644 index 00000000..5fbc36dc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400397d0.c @@ -0,0 +1,62 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400397d0 FUN_1400397d0 + * Pseudocode, not original source. */ + +void FUN_1400397d0(longlong param_1,ulonglong *param_2) + +{ + longlong lVar1; + longlong *plVar2; + longlong *plVar3; + longlong local_res8; + undefined8 *local_28; + undefined8 *local_20; + + if (*(longlong *)(param_1 + 0x58) == 0) { + local_28 = (undefined8 *)0x0; + } + else { + local_28 = *(undefined8 **)(param_1 + 0x68); + if (local_28 != (undefined8 *)0x0) { + local_20 = (undefined8 *)*local_28; + goto joined_r0x00014003981a; + } + } + local_20 = (undefined8 *)0x0; +joined_r0x00014003981a: + while (local_20 != (undefined8 *)0x0) { + lVar1 = local_20[2]; + if (lVar1 != 0) { + plVar2 = (longlong *)param_2[1]; + local_res8 = lVar1; + if ((&local_res8 < plVar2) && (plVar3 = (longlong *)*param_2, plVar3 <= &local_res8)) { + if (plVar2 == (longlong *)param_2[2]) { + FUN_140023650((longlong *)param_2); + } + if ((undefined8 *)param_2[1] != (undefined8 *)0x0) { + *(undefined8 *)param_2[1] = + *(undefined8 *)(*param_2 + ((longlong)&local_res8 - (longlong)plVar3 >> 3) * 8); + } + } + else { + if (plVar2 == (longlong *)param_2[2]) { + FUN_140023650((longlong *)param_2); + } + if ((longlong *)param_2[1] != (longlong *)0x0) { + *(longlong *)param_2[1] = lVar1; + } + } + param_2[1] = param_2[1] + 8; + } + for (local_20 = (undefined8 *)*local_20; local_20 == (undefined8 *)0x0; + local_20 = (undefined8 *)*local_20) { + local_20 = local_28 + 1; + local_28 = local_28 + 1; + } + if (local_28 == local_20) { + local_20 = (undefined8 *)0x0; + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400398e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400398e0.c new file mode 100644 index 00000000..7afb803e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400398e0.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400398e0 FUN_1400398e0 + * Pseudocode, not original source. */ + +void FUN_1400398e0(longlong param_1,ulonglong *param_2) + +{ + undefined8 *local_18; + undefined8 *local_10; + + if (*(longlong *)(param_1 + 0x58) == 0) { + local_18 = (undefined8 *)0x0; + } + else { + local_18 = *(undefined8 **)(param_1 + 0x68); + if (local_18 != (undefined8 *)0x0) { + local_10 = (undefined8 *)*local_18; + goto joined_r0x000140039930; + } + } + local_10 = (undefined8 *)0x0; +joined_r0x000140039930: + while (local_10 != (undefined8 *)0x0) { + if ((undefined4 *)local_10[2] != (undefined4 *)0x0) { + FUN_14003a710(param_2,(undefined4 *)local_10[2]); + } + for (local_10 = (undefined8 *)*local_10; local_10 == (undefined8 *)0x0; + local_10 = (undefined8 *)*local_10) { + local_10 = local_18 + 1; + local_18 = local_18 + 1; + } + if (local_18 == local_10) { + local_10 = (undefined8 *)0x0; + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140039980.c b/decomp/AgentManager_Release_x64/full/functions/0x140039980.c new file mode 100644 index 00000000..9bf0349d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140039980.c @@ -0,0 +1,40 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140039980 FUN_140039980 + * Pseudocode, not original source. */ + +void FUN_140039980(longlong param_1,ulonglong *param_2,char param_3) + +{ + undefined4 *puVar1; + undefined8 *local_18; + undefined8 *local_10; + + if (*(longlong *)(param_1 + 0x58) == 0) { + local_18 = (undefined8 *)0x0; + } + else { + local_18 = *(undefined8 **)(param_1 + 0x68); + if (local_18 != (undefined8 *)0x0) { + local_10 = (undefined8 *)*local_18; + goto joined_r0x0001400399da; + } + } + local_10 = (undefined8 *)0x0; +joined_r0x0001400399da: + while (local_10 != (undefined8 *)0x0) { + puVar1 = (undefined4 *)local_10[2]; + if ((puVar1 != (undefined4 *)0x0) && (*(char *)(puVar1 + 3) == param_3)) { + FUN_14003a710(param_2,puVar1); + } + for (local_10 = (undefined8 *)*local_10; local_10 == (undefined8 *)0x0; + local_10 = (undefined8 *)*local_10) { + local_10 = local_18 + 1; + local_18 = local_18 + 1; + } + if (local_18 == local_10) { + local_10 = (undefined8 *)0x0; + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140039a40.c b/decomp/AgentManager_Release_x64/full/functions/0x140039a40.c new file mode 100644 index 00000000..acb9d57f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140039a40.c @@ -0,0 +1,68 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140039a40 FUN_140039a40 + * Pseudocode, not original source. */ + +void FUN_140039a40(longlong param_1,longlong *param_2) + +{ + int iVar1; + int *piVar2; + int *piVar3; + int *piVar4; + int local_res8 [2]; + undefined8 *local_28; + undefined8 *local_20; + + if (*(longlong *)(param_1 + 0x58) == 0) { + local_28 = (undefined8 *)0x0; + } + else { + local_28 = *(undefined8 **)(param_1 + 0x68); + if (local_28 != (undefined8 *)0x0) { + local_20 = (undefined8 *)*local_28; + goto joined_r0x000140039a8a; + } + } + local_20 = (undefined8 *)0x0; +joined_r0x000140039a8a: + do { + if (local_20 == (undefined8 *)0x0) { + return; + } + piVar3 = (int *)param_2[1]; + iVar1 = *(int *)local_20[2]; + piVar2 = (int *)*param_2; + for (piVar4 = piVar2; piVar4 != piVar3; piVar4 = piVar4 + 1) { + if (*piVar4 == iVar1) goto LAB_140039b2f; + } + local_res8[0] = iVar1; + if ((local_res8 < piVar3) && (piVar2 <= local_res8)) { + if (piVar3 == (int *)param_2[2]) { + FUN_140019e80(param_2,1); + } + if ((undefined4 *)param_2[1] != (undefined4 *)0x0) { + *(undefined4 *)param_2[1] = + *(undefined4 *)(*param_2 + ((longlong)local_res8 - (longlong)piVar2 >> 2) * 4); + } + } + else { + if (piVar3 == (int *)param_2[2]) { + FUN_140019e80(param_2,1); + } + if ((int *)param_2[1] != (int *)0x0) { + *(int *)param_2[1] = iVar1; + } + } + param_2[1] = param_2[1] + 4; +LAB_140039b2f: + for (local_20 = (undefined8 *)*local_20; local_20 == (undefined8 *)0x0; + local_20 = (undefined8 *)*local_20) { + local_20 = local_28 + 1; + local_28 = local_28 + 1; + } + if (local_28 == local_20) { + local_20 = (undefined8 *)0x0; + } + } while( true ); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140039b70.c b/decomp/AgentManager_Release_x64/full/functions/0x140039b70.c new file mode 100644 index 00000000..505465b0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140039b70.c @@ -0,0 +1,77 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140039b70 FUN_140039b70 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_140039b70(longlong param_1,ulonglong *param_2) + +{ + undefined8 *puVar1; + undefined4 *puVar2; + undefined8 *puVar3; + undefined1 auStack_108 [32]; + undefined8 *local_e8; + undefined8 *local_e0; + undefined8 local_d8; + undefined4 local_c8 [10]; + void *local_a0; + ulonglong local_88; + undefined2 local_78; + undefined6 uStack_76; + undefined8 local_68; + ulonglong local_60; + undefined2 local_50; + undefined6 uStack_4e; + undefined8 local_40; + ulonglong local_38; + ulonglong local_28; + + local_d8 = 0xfffffffffffffffe; + local_28 = DAT_14016f5a0 ^ (ulonglong)auStack_108; + if (*(longlong *)(param_1 + 0x58) == 0) { + local_e8 = (undefined8 *)0x0; + } + else { + local_e8 = *(undefined8 **)(param_1 + 0x68); + if (local_e8 != (undefined8 *)0x0) { + local_e0 = (undefined8 *)*local_e8; + puVar3 = local_e8; + puVar1 = local_e0; + goto joined_r0x000140039bda; + } + } + local_e0 = (undefined8 *)0x0; + puVar3 = local_e8; + puVar1 = local_e0; +joined_r0x000140039bda: + while (puVar1 != (undefined8 *)0x0) { + puVar2 = FUN_14003ac80((undefined4 *)puVar1[2],local_c8); + FUN_1400294e0(param_2,puVar2); + if (7 < local_38) { + operator_delete((void *)CONCAT62(uStack_4e,local_50)); + } + local_38 = 7; + local_40 = 0; + local_50 = 0; + if (7 < local_60) { + operator_delete((void *)CONCAT62(uStack_76,local_78)); + } + local_60 = 7; + local_68 = 0; + local_78 = 0; + if (7 < local_88) { + operator_delete(local_a0); + } + puVar1 = (undefined8 *)*puVar1; + while (puVar1 == (undefined8 *)0x0) { + puVar3 = puVar3 + 1; + puVar1 = (undefined8 *)*puVar3; + } + if (puVar3 == puVar1) { + puVar1 = (undefined8 *)0x0; + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140039cd0.c b/decomp/AgentManager_Release_x64/full/functions/0x140039cd0.c new file mode 100644 index 00000000..7f5594ce --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140039cd0.c @@ -0,0 +1,133 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140039cd0 FUN_140039cd0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_140039cd0(longlong param_1,ulonglong *param_2,char param_3) + +{ + undefined8 *puVar1; + undefined4 *puVar2; + undefined4 *puVar3; + undefined8 *puVar4; + undefined1 auStack_128 [32]; + undefined8 *local_108; + undefined8 *local_100; + undefined8 local_f8; + undefined4 local_e8; + int local_e4; + undefined4 local_e0; + undefined1 local_dc; + undefined4 local_d8; + undefined4 local_d4; + undefined4 local_d0; + undefined4 local_cc; + undefined1 local_c8; + undefined2 local_c0; + undefined6 uStack_be; + undefined8 local_b0; + ulonglong local_a8; + undefined2 local_98; + undefined6 uStack_96; + undefined8 local_88; + ulonglong local_80; + undefined2 local_70; + undefined6 uStack_6e; + undefined8 local_60; + ulonglong local_58; + ulonglong local_48; + + local_f8 = 0xfffffffffffffffe; + local_48 = DAT_14016f5a0 ^ (ulonglong)auStack_128; + if (*(longlong *)(param_1 + 0x58) == 0) { + local_108 = (undefined8 *)0x0; + } + else { + local_108 = *(undefined8 **)(param_1 + 0x68); + if (local_108 != (undefined8 *)0x0) { + local_100 = (undefined8 *)*local_108; + puVar4 = local_108; + puVar1 = local_100; + goto joined_r0x000140039d49; + } + } + local_100 = (undefined8 *)0x0; + puVar4 = local_108; + puVar1 = local_100; +joined_r0x000140039d49: + do { + if (puVar1 == (undefined8 *)0x0) { + return; + } + if (*(char *)(puVar1[2] + 0xc) == param_3) { + puVar2 = (undefined4 *)param_2[1]; + for (puVar3 = (undefined4 *)*param_2; puVar3 != puVar2; puVar3 = puVar3 + 0x28) { + local_e8 = *puVar3; + local_e4 = puVar3[1]; + local_e0 = puVar3[2]; + local_dc = *(undefined1 *)(puVar3 + 3); + local_d8 = puVar3[4]; + local_d4 = puVar3[5]; + local_d0 = puVar3[6]; + local_cc = puVar3[7]; + local_c8 = *(undefined1 *)(puVar3 + 8); + local_a8 = 7; + local_b0 = 0; + local_c0 = 0; + FUN_140001630((longlong *)&local_c0,(longlong *)(puVar3 + 10),0,0xffffffffffffffff); + local_80 = 7; + local_88 = 0; + local_98 = 0; + FUN_140001630((longlong *)&local_98,(longlong *)(puVar3 + 0x14),0,0xffffffffffffffff); + local_58 = 7; + local_60 = 0; + local_70 = 0; + FUN_140001630((longlong *)&local_70,(longlong *)(puVar3 + 0x1e),0,0xffffffffffffffff); + if (local_e4 == *(int *)(puVar1[2] + 4)) goto LAB_140039ea6; + if (7 < local_58) { + operator_delete((void *)CONCAT62(uStack_6e,local_70)); + } + local_58 = 7; + local_60 = 0; + local_70 = 0; + if (7 < local_80) { + operator_delete((void *)CONCAT62(uStack_96,local_98)); + } + local_80 = 7; + local_88 = 0; + local_98 = 0; + if (7 < local_a8) { + operator_delete((void *)CONCAT62(uStack_be,local_c0)); + } + } + puVar2 = FUN_14003ac80((undefined4 *)puVar1[2],&local_e8); + FUN_1400294e0(param_2,puVar2); +LAB_140039ea6: + if (7 < local_58) { + operator_delete((void *)CONCAT62(uStack_6e,local_70)); + } + local_70 = 0; + local_60 = 0; + local_58 = 7; + if (7 < local_80) { + operator_delete((void *)CONCAT62(uStack_96,local_98)); + } + local_98 = 0; + local_88 = 0; + local_80 = 7; + if (7 < local_a8) { + operator_delete((void *)CONCAT62(uStack_be,local_c0)); + } + } + puVar1 = (undefined8 *)*puVar1; + while (puVar1 == (undefined8 *)0x0) { + puVar4 = puVar4 + 1; + puVar1 = (undefined8 *)*puVar4; + } + if (puVar4 == puVar1) { + puVar1 = (undefined8 *)0x0; + } + } while( true ); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140039f50.c b/decomp/AgentManager_Release_x64/full/functions/0x140039f50.c new file mode 100644 index 00000000..e7f43873 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140039f50.c @@ -0,0 +1,79 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140039f50 FUN_140039f50 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_140039f50(longlong param_1,ulonglong *param_2,int param_3) + +{ + undefined8 *puVar1; + undefined4 *puVar2; + undefined8 *puVar3; + undefined1 auStack_108 [32]; + undefined8 *local_e8; + undefined8 *local_e0; + undefined8 local_d8; + undefined4 local_c8 [10]; + void *local_a0; + ulonglong local_88; + undefined2 local_78; + undefined6 uStack_76; + undefined8 local_68; + ulonglong local_60; + undefined2 local_50; + undefined6 uStack_4e; + undefined8 local_40; + ulonglong local_38; + ulonglong local_28; + + local_d8 = 0xfffffffffffffffe; + local_28 = DAT_14016f5a0 ^ (ulonglong)auStack_108; + if (*(longlong *)(param_1 + 0x58) == 0) { + local_e8 = (undefined8 *)0x0; + } + else { + local_e8 = *(undefined8 **)(param_1 + 0x68); + if (local_e8 != (undefined8 *)0x0) { + local_e0 = (undefined8 *)*local_e8; + puVar3 = local_e8; + puVar1 = local_e0; + goto joined_r0x000140039fc0; + } + } + local_e0 = (undefined8 *)0x0; + puVar3 = local_e8; + puVar1 = local_e0; +joined_r0x000140039fc0: + while (puVar1 != (undefined8 *)0x0) { + if (*(int *)puVar1[2] == param_3) { + puVar2 = FUN_14003ac80((int *)puVar1[2],local_c8); + FUN_1400294e0(param_2,puVar2); + if (7 < local_38) { + operator_delete((void *)CONCAT62(uStack_4e,local_50)); + } + local_38 = 7; + local_40 = 0; + local_50 = 0; + if (7 < local_60) { + operator_delete((void *)CONCAT62(uStack_76,local_78)); + } + local_60 = 7; + local_68 = 0; + local_78 = 0; + if (7 < local_88) { + operator_delete(local_a0); + } + } + puVar1 = (undefined8 *)*puVar1; + while (puVar1 == (undefined8 *)0x0) { + puVar3 = puVar3 + 1; + puVar1 = (undefined8 *)*puVar3; + } + if (puVar3 == puVar1) { + puVar1 = (undefined8 *)0x0; + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003a0d0.c b/decomp/AgentManager_Release_x64/full/functions/0x14003a0d0.c new file mode 100644 index 00000000..74c8fdae --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003a0d0.c @@ -0,0 +1,79 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003a0d0 FUN_14003a0d0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_14003a0d0(longlong param_1,ulonglong *param_2,int param_3) + +{ + undefined8 *puVar1; + undefined4 *puVar2; + undefined8 *puVar3; + undefined1 auStack_108 [32]; + undefined8 *local_e8; + undefined8 *local_e0; + undefined8 local_d8; + undefined4 local_c8 [10]; + void *local_a0; + ulonglong local_88; + undefined2 local_78; + undefined6 uStack_76; + undefined8 local_68; + ulonglong local_60; + undefined2 local_50; + undefined6 uStack_4e; + undefined8 local_40; + ulonglong local_38; + ulonglong local_28; + + local_d8 = 0xfffffffffffffffe; + local_28 = DAT_14016f5a0 ^ (ulonglong)auStack_108; + if (*(longlong *)(param_1 + 0x58) == 0) { + local_e8 = (undefined8 *)0x0; + } + else { + local_e8 = *(undefined8 **)(param_1 + 0x68); + if (local_e8 != (undefined8 *)0x0) { + local_e0 = (undefined8 *)*local_e8; + puVar3 = local_e8; + puVar1 = local_e0; + goto joined_r0x00014003a140; + } + } + local_e0 = (undefined8 *)0x0; + puVar3 = local_e8; + puVar1 = local_e0; +joined_r0x00014003a140: + while (puVar1 != (undefined8 *)0x0) { + if (((undefined4 *)puVar1[2])[2] == param_3) { + puVar2 = FUN_14003ac80((undefined4 *)puVar1[2],local_c8); + FUN_1400294e0(param_2,puVar2); + if (7 < local_38) { + operator_delete((void *)CONCAT62(uStack_4e,local_50)); + } + local_38 = 7; + local_40 = 0; + local_50 = 0; + if (7 < local_60) { + operator_delete((void *)CONCAT62(uStack_76,local_78)); + } + local_60 = 7; + local_68 = 0; + local_78 = 0; + if (7 < local_88) { + operator_delete(local_a0); + } + } + puVar1 = (undefined8 *)*puVar1; + while (puVar1 == (undefined8 *)0x0) { + puVar3 = puVar3 + 1; + puVar1 = (undefined8 *)*puVar3; + } + if (puVar3 == puVar1) { + puVar1 = (undefined8 *)0x0; + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003a250.c b/decomp/AgentManager_Release_x64/full/functions/0x14003a250.c new file mode 100644 index 00000000..f3df68bb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003a250.c @@ -0,0 +1,57 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003a250 FUN_14003a250 + * Pseudocode, not original source. */ + +ulonglong FUN_14003a250(longlong param_1,wchar_t *param_2) + +{ + undefined8 *puVar1; + int iVar2; + undefined8 *in_RAX; + undefined4 extraout_var; + wchar_t *_Str1; + undefined8 *local_18; + undefined8 *local_10; + + if (*(longlong *)(param_1 + 0x58) == 0) { + local_18 = (undefined8 *)0x0; + } + else { + local_18 = *(undefined8 **)(param_1 + 0x68); + in_RAX = (undefined8 *)0x0; + if (local_18 != (undefined8 *)0x0) { + in_RAX = (undefined8 *)*local_18; + puVar1 = in_RAX; + goto joined_r0x00014003a2a0; + } + } + local_10 = (undefined8 *)0x0; + puVar1 = local_10; +joined_r0x00014003a2a0: + do { + if (puVar1 == (undefined8 *)0x0) { + return (ulonglong)in_RAX & 0xffffffffffffff00; + } + in_RAX = (undefined8 *)puVar1[2]; + if ((in_RAX != (undefined8 *)0x0) && (*(char *)((longlong)in_RAX + 0xc) == '\r')) { + _Str1 = (wchar_t *)((longlong)in_RAX + 0x28); + if (7 < *(ulonglong *)((longlong)in_RAX + 0x40)) { + _Str1 = *(wchar_t **)_Str1; + } + iVar2 = _wcsicmp(_Str1,param_2); + in_RAX = (undefined8 *)CONCAT44(extraout_var,iVar2); + if (iVar2 == 0) { + return CONCAT71((int7)((ulonglong)in_RAX >> 8),1); + } + } + for (puVar1 = (undefined8 *)*puVar1; puVar1 == (undefined8 *)0x0; puVar1 = (undefined8 *)*puVar1 + ) { + puVar1 = local_18 + 1; + local_18 = local_18 + 1; + } + if (local_18 == puVar1) { + puVar1 = (undefined8 *)0x0; + } + } while( true ); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003a320.c b/decomp/AgentManager_Release_x64/full/functions/0x14003a320.c new file mode 100644 index 00000000..87294d23 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003a320.c @@ -0,0 +1,140 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003a320 FUN_14003a320 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_14003a320(longlong param_1) + +{ + ulonglong *puVar1; + ulonglong *puVar2; + wchar_t *pwVar3; + wchar_t *pwVar4; + ulonglong uVar5; + wchar_t ******ppppppwVar6; + ulonglong *puVar7; + ulonglong uVar8; + int iVar9; + undefined1 auStack_128 [32]; + ulonglong *local_108; + ulonglong *local_100; + undefined8 local_f8; + undefined8 local_e8; + undefined4 local_d8; + int local_d4; + char local_cc; + undefined4 local_c8; + wchar_t *****local_b0 [3]; + ulonglong local_98; + undefined2 local_88; + undefined6 uStack_86; + undefined8 local_78; + ulonglong local_70; + wchar_t local_60; + undefined6 uStack_5e; + ulonglong local_50; + ulonglong local_48; + ulonglong local_38; + + local_e8 = 0xfffffffffffffffe; + local_38 = DAT_14016f5a0 ^ (ulonglong)auStack_128; + local_108 = (ulonglong *)0x0; + local_100 = (ulonglong *)0x0; + local_f8 = 0; + FUN_140039b70(param_1,(ulonglong *)&local_108); + puVar2 = local_100; + puVar1 = local_108; + iVar9 = 700; + puVar7 = local_108; + do { + if (puVar7 == puVar2) { +LAB_14003a552: + if (puVar1 != (ulonglong *)0x0) { + FUN_14000a5f0(puVar1,puVar2); + operator_delete(puVar1); + } + return; + } + FUN_140004f20(&local_d8,(undefined4 *)puVar7); + pwVar4 = (wchar_t *)CONCAT62(uStack_5e,local_60); + pwVar3 = &local_60; + if (7 < local_48) { + pwVar3 = pwVar4; + } + if (L"PATCH" < pwVar3) { +LAB_14003a432: + if (local_48 < 5) { + FUN_140001920((undefined8 *)&local_60,5,local_50); + pwVar4 = (wchar_t *)CONCAT62(uStack_5e,local_60); + } + pwVar3 = &local_60; + if (7 < local_48) { + pwVar3 = pwVar4; + } + builtin_wcsncpy(pwVar3,L"PATCH",5); + local_50 = 5; + pwVar4 = &local_60; + if (7 < local_48) { + pwVar4 = (wchar_t *)CONCAT62(uStack_5e,local_60); + } + pwVar4[5] = L'\0'; + } + else { + pwVar3 = &local_60; + if (7 < local_48) { + pwVar3 = pwVar4; + } + if (pwVar3 + local_50 < (wchar_t *)((longlong)L"PATCH" + 1)) goto LAB_14003a432; + pwVar3 = &local_60; + if (7 < local_48) { + pwVar3 = pwVar4; + } + uVar8 = (longlong)L"PATCH" - (longlong)pwVar3 >> 1; + if (local_50 < uVar8) { + std::_Xout_of_range("invalid string position"); + goto LAB_14003a552; + } + uVar5 = local_50 - uVar8; + if (5 < uVar5) { + uVar5 = 5; + } + FUN_140001800((undefined8 *)&local_60,uVar5 + uVar8,0xffffffffffffffff); + FUN_140001800((undefined8 *)&local_60,0,uVar8); + } + if (local_cc == '\r') { +LAB_14003a4b4: + local_cc = '\x18'; + local_c8 = 0xc3b1; + local_d4 = iVar9; + FUN_140033c30((ulonglong *)&local_60,0x18,iVar9); + FUN_1400394f0(param_1,&local_d8); + iVar9 = iVar9 + 1; + } + else if (local_cc == '\x15') { + ppppppwVar6 = local_b0; + if (7 < local_98) { + ppppppwVar6 = (wchar_t ******)local_b0[0]; + } + uVar8 = FUN_14003a250(param_1,(wchar_t *)ppppppwVar6); + if ((char)uVar8 == '\0') goto LAB_14003a4b4; + } + if (7 < local_48) { + operator_delete((void *)CONCAT62(uStack_5e,local_60)); + } + local_48 = 7; + local_50 = 0; + local_60 = L'\0'; + if (7 < local_70) { + operator_delete((void *)CONCAT62(uStack_86,local_88)); + } + local_70 = 7; + local_78 = 0; + local_88 = 0; + if (7 < local_98) { + operator_delete(local_b0[0]); + } + puVar7 = puVar7 + 0x14; + } while( true ); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003a5a0.c b/decomp/AgentManager_Release_x64/full/functions/0x14003a5a0.c new file mode 100644 index 00000000..d118f537 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003a5a0.c @@ -0,0 +1,50 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003a5a0 FUN_14003a5a0 + * Pseudocode, not original source. */ + +undefined8 * FUN_14003a5a0(undefined8 *param_1) + +{ + undefined8 *puVar1; + + puVar1 = (undefined8 *)*param_1; + if (puVar1 == (undefined8 *)0x0) { + puVar1 = (undefined8 *)FUN_14000e270(param_1); + } + else { + *param_1 = *puVar1; + } + if (puVar1 == (undefined8 *)0x0) { + puVar1 = (undefined8 *)0x0; + } + else { + *puVar1 = 0; + *(undefined4 *)(puVar1 + 1) = 0; + *(undefined1 *)((longlong)puVar1 + 0xc) = 0; + puVar1[2] = 0; + puVar1[3] = 0; + *(undefined1 *)(puVar1 + 4) = 0; + puVar1[8] = 7; + puVar1[7] = 0; + *(undefined2 *)(puVar1 + 5) = 0; + puVar1[0xd] = 7; + puVar1[0xc] = 0; + *(undefined2 *)(puVar1 + 10) = 0; + puVar1[0x12] = 7; + puVar1[0x11] = 0; + *(undefined2 *)(puVar1 + 0xf) = 0; + puVar1[0x14] = 0; + *(undefined4 *)(puVar1 + 0x15) = 0; + puVar1[0x16] = 0; + puVar1[0x17] = 0; + puVar1[0x18] = 0; + puVar1[0x19] = 0; + *(undefined4 *)(puVar1 + 0x1a) = 0; + *(undefined2 *)((longlong)puVar1 + 0xd4) = 0; + puVar1[0x1b] = 0; + puVar1[0x1c] = 0; + puVar1[0x1d] = 0; + } + return puVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003a680.c b/decomp/AgentManager_Release_x64/full/functions/0x14003a680.c new file mode 100644 index 00000000..f9d5b9ca --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003a680.c @@ -0,0 +1,32 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003a680 FUN_14003a680 + * Pseudocode, not original source. */ + +void FUN_14003a680(undefined8 *param_1,ulonglong *param_2) + +{ + ulonglong *puVar1; + ulonglong *puVar2; + + if ((void *)param_2[0x1b] != (void *)0x0) { + operator_delete((void *)param_2[0x1b]); + } + param_2[0x1b] = 0; + param_2[0x1c] = 0; + param_2[0x1d] = 0; + FUN_140004e90((longlong)param_2); + puVar1 = (ulonglong *)*param_1; + if ((puVar1 != (ulonglong *)0x0) && (puVar1 <= param_2)) { + for (puVar2 = (ulonglong *)*puVar1; (puVar2 != (ulonglong *)0x0 && (puVar2 <= param_2)); + puVar2 = (ulonglong *)*puVar2) { + puVar1 = puVar2; + } + *param_2 = *puVar1; + *puVar1 = (ulonglong)param_2; + return; + } + *param_2 = (ulonglong)puVar1; + *param_1 = param_2; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003a710.c b/decomp/AgentManager_Release_x64/full/functions/0x14003a710.c new file mode 100644 index 00000000..ad6b3153 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003a710.c @@ -0,0 +1,34 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003a710 FUN_14003a710 + * Pseudocode, not original source. */ + +void FUN_14003a710(ulonglong *param_1,undefined4 *param_2) + +{ + undefined4 *puVar1; + longlong lVar2; + + puVar1 = (undefined4 *)param_1[1]; + if ((param_2 < puVar1) && ((undefined4 *)*param_1 <= param_2)) { + lVar2 = (longlong)param_2 - (longlong)*param_1; + lVar2 = lVar2 + SUB168(SEXT816(-0x7bdef7bdef7bdef7) * SEXT816(lVar2),8); + if (puVar1 == (undefined4 *)param_1[2]) { + FUN_14003a7e0((longlong *)param_1); + } + if ((undefined4 *)param_1[1] != (undefined4 *)0x0) { + FUN_140003c50((undefined4 *)param_1[1], + (undefined4 *)(((lVar2 >> 7) - (lVar2 >> 0x3f)) * 0xf8 + *param_1)); + } + } + else { + if (puVar1 == (undefined4 *)param_1[2]) { + FUN_14003a7e0((longlong *)param_1); + } + if ((undefined4 *)param_1[1] != (undefined4 *)0x0) { + FUN_140003c50((undefined4 *)param_1[1],param_2); + } + } + param_1[1] = param_1[1] + 0xf8; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003a7e0.c b/decomp/AgentManager_Release_x64/full/functions/0x14003a7e0.c new file mode 100644 index 00000000..5a031f4b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003a7e0.c @@ -0,0 +1,40 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003a7e0 FUN_14003a7e0 + * Pseudocode, not original source. */ + +void FUN_14003a7e0(longlong *param_1) + +{ + code *pcVar1; + ulonglong uVar2; + longlong lVar3; + ulonglong uVar4; + + lVar3 = param_1[1] - *param_1; + lVar3 = lVar3 + SUB168(SEXT816(-0x7bdef7bdef7bdef7) * SEXT816(lVar3),8); + uVar4 = (lVar3 >> 7) - (lVar3 >> 0x3f); + if (0x108421084210841 < uVar4) { + std::_Xlength_error("vector too long"); + pcVar1 = (code *)swi(3); + (*pcVar1)(); + return; + } + uVar4 = uVar4 + 1; + lVar3 = param_1[2] - *param_1; + lVar3 = SUB168(SEXT816(-0x7bdef7bdef7bdef7) * SEXT816(lVar3),8) + lVar3; + uVar2 = (lVar3 >> 7) - (lVar3 >> 0x3f); + if (uVar2 < uVar4) { + if (0x108421084210842 - (uVar2 >> 1) < uVar2) { + uVar2 = 0; + } + else { + uVar2 = uVar2 + (uVar2 >> 1); + } + if (uVar2 < uVar4) { + uVar2 = uVar4; + } + FUN_14003a890(param_1,uVar2); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003a890.c b/decomp/AgentManager_Release_x64/full/functions/0x14003a890.c new file mode 100644 index 00000000..9737624d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003a890.c @@ -0,0 +1,49 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003a890 FUN_14003a890 + * Pseudocode, not original source. */ + +void FUN_14003a890(longlong *param_1,ulonglong param_2) + +{ + ulonglong *puVar1; + code *pcVar2; + char *pcVar3; + longlong lVar4; + char *local_res10; + undefined **local_20 [3]; + + if (0x108421084210842 < param_2) { + std::_Xlength_error("vector too long"); + pcVar2 = (code *)swi(3); + (*pcVar2)(); + return; + } + lVar4 = SUB168(SEXT816(-0x7bdef7bdef7bdef7) * SEXT816(param_1[2] - *param_1),8) + + (param_1[2] - *param_1); + if ((ulonglong)((lVar4 >> 7) - (lVar4 >> 0x3f)) < param_2) { + local_res10 = (char *)0x0; + if (param_2 != 0) { + local_res10 = operator_new(param_2 * 0xf8); + if (local_res10 == (char *)0x0) { + std::exception::exception((exception *)local_20,&local_res10); + local_20[0] = std::bad_alloc::vftable; + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_20,(ThrowInfo *)&DAT_14016c158); + } + } + pcVar3 = local_res10; + FUN_14003ac20((undefined4 *)*param_1,(undefined4 *)param_1[1],(undefined4 *)local_res10); + puVar1 = (ulonglong *)*param_1; + lVar4 = param_1[1] - (longlong)puVar1; + lVar4 = lVar4 + SUB168(SEXT816(-0x7bdef7bdef7bdef7) * SEXT816(lVar4),8); + if (puVar1 != (ulonglong *)0x0) { + FUN_140004ba0(puVar1,(ulonglong *)param_1[1]); + operator_delete((void *)*param_1); + } + param_1[2] = (longlong)(pcVar3 + param_2 * 0xf8); + param_1[1] = (longlong)(pcVar3 + ((lVar4 >> 7) - (lVar4 >> 0x3f)) * 0xf8); + *param_1 = (longlong)pcVar3; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003a9e0.c b/decomp/AgentManager_Release_x64/full/functions/0x14003a9e0.c new file mode 100644 index 00000000..419228a9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003a9e0.c @@ -0,0 +1,95 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003a9e0 FUN_14003a9e0 + * Pseudocode, not original source. */ + +void FUN_14003a9e0(undefined8 *param_1) + +{ + ulonglong *puVar1; + ulonglong uVar2; + ulonglong *puVar3; + longlong lVar4; + void *pvVar5; + ulonglong uVar6; + ulonglong uVar7; + ulonglong uVar8; + ulonglong *puVar9; + ulonglong *puVar10; + void *local_68; + longlong lStack_60; + ulonglong *local_58; + longlong lStack_50; + + if (param_1[1] != 0) { + uVar2 = param_1[3]; + puVar10 = (ulonglong *)*param_1; + uVar6 = uVar2; + uVar8 = 8; + do { + uVar7 = uVar8; + uVar8 = uVar6 % uVar7; + uVar6 = uVar7; + } while (uVar8 != 0); + local_58 = (ulonglong *)param_1[1]; + lStack_50 = param_1[2]; + do { + puVar3 = *(ulonglong **)(lStack_50 + -0x10 + (longlong)local_58); + lVar4 = *(longlong *)(lStack_50 + -8 + (longlong)local_58); + puVar1 = (ulonglong *)(lStack_50 + -0x10 + (longlong)local_58); + if (local_58 != puVar1) { + puVar9 = local_58 + 0x12; + do { + if (puVar9 + -0x12 == puVar10) { + puVar10 = (ulonglong *)*puVar10; + } + else { + if ((void *)puVar9[9] != (void *)0x0) { + operator_delete((void *)puVar9[9]); + } + puVar9[9] = 0; + puVar9[10] = 0; + puVar9[0xb] = 0; + if (7 < *puVar9) { + operator_delete((void *)puVar9[-3]); + } + *puVar9 = 7; + puVar9[-1] = 0; + *(undefined2 *)(puVar9 + -3) = 0; + if (7 < puVar9[-5]) { + operator_delete((void *)puVar9[-8]); + } + puVar9[-5] = 7; + puVar9[-6] = 0; + *(undefined2 *)(puVar9 + -8) = 0; + if (7 < puVar9[-10]) { + operator_delete((void *)puVar9[-0xd]); + } + puVar9[-10] = 7; + puVar9[-0xb] = 0; + *(undefined2 *)(puVar9 + -0xd) = 0; + } + puVar9 = puVar9 + uVar2 / uVar7; + } while (puVar9 + -0x12 != puVar1); + } + operator_delete__(local_58); + local_58 = puVar3; + lStack_50 = lVar4; + } while (puVar3 != (ulonglong *)0x0); + param_1[1] = 0; + } + lStack_60 = param_1[2]; + local_68 = (void *)param_1[1]; + if ((void *)param_1[1] != (void *)0x0) { + do { + pvVar5 = *(void **)(lStack_60 + -0x10 + (longlong)local_68); + lStack_60 = *(longlong *)(lStack_60 + -8 + (longlong)local_68); + operator_delete__(local_68); + local_68 = pvVar5; + } while (pvVar5 != (void *)0x0); + param_1[1] = 0; + *param_1 = 0; + param_1[4] = param_1[5]; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003ac00.c b/decomp/AgentManager_Release_x64/full/functions/0x14003ac00.c new file mode 100644 index 00000000..a032e62f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003ac00.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003ac00 FUN_14003ac00 + * Pseudocode, not original source. */ + +void FUN_14003ac00(longlong param_1) + +{ + if (*(void **)(param_1 + 8) != (void *)0x0) { + operator_delete(*(void **)(param_1 + 8)); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003ac20.c b/decomp/AgentManager_Release_x64/full/functions/0x14003ac20.c new file mode 100644 index 00000000..d498f473 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003ac20.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003ac20 FUN_14003ac20 + * Pseudocode, not original source. */ + +undefined4 * FUN_14003ac20(undefined4 *param_1,undefined4 *param_2,undefined4 *param_3) + +{ + for (; param_1 != param_2; param_1 = param_1 + 0x3e) { + if (param_3 != (undefined4 *)0x0) { + FUN_140003c50(param_3,param_1); + } + param_3 = param_3 + 0x3e; + } + return param_3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003ac80.c b/decomp/AgentManager_Release_x64/full/functions/0x14003ac80.c new file mode 100644 index 00000000..1f38b312 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003ac80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003ac80 FUN_14003ac80 + * Pseudocode, not original source. */ + +undefined4 * FUN_14003ac80(undefined4 *param_1,undefined4 *param_2) + +{ + FUN_140004f20(param_2,param_1); + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003acb0.c b/decomp/AgentManager_Release_x64/full/functions/0x14003acb0.c new file mode 100644 index 00000000..e7ceb3f8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003acb0.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003acb0 FUN_14003acb0 + * Pseudocode, not original source. */ + +undefined8 * FUN_14003acb0(undefined8 *param_1,byte param_2) + +{ + DAT_14017cf20 = 0; + *param_1 = MBISingleton::vftable; + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003acf0.c b/decomp/AgentManager_Release_x64/full/functions/0x14003acf0.c new file mode 100644 index 00000000..e37d0614 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003acf0.c @@ -0,0 +1,66 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003acf0 FUN_14003acf0 + * Pseudocode, not original source. */ + +undefined8 * +FUN_14003acf0(undefined8 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 *puVar1; + undefined8 *puVar2; + ulonglong uVar3; + undefined8 *puVar4; + undefined1 uVar5; + undefined7 uVar6; + + uVar5 = (undefined1)param_3; + uVar6 = (undefined7)((ulonglong)param_3 >> 8); + *param_1 = MagiAgentCommon::vftable; + puVar1 = operator_new(0x28); + puVar4 = (undefined8 *)0x0; + DAT_14017cf50 = puVar4; + if (puVar1 != (undefined8 *)0x0) { + *puVar1 = MagiServerFile::vftable; + puVar1[1] = 0; + puVar1[2] = 0; + puVar1[3] = 0; + DAT_14017cf50 = puVar1; + } + puVar2 = operator_new(0x1f8); + puVar1 = puVar4; + if (puVar2 != (undefined8 *)0x0) { + puVar1 = FUN_14002f760(puVar2,param_2,CONCAT71(uVar6,uVar5),param_4); + } + DAT_14017cf28 = puVar1; + puVar2 = operator_new(0x50); + puVar1 = puVar4; + if (puVar2 != (undefined8 *)0x0) { + puVar1 = FUN_140038440(puVar2); + } + DAT_14017cf10 = puVar1; + puVar2 = operator_new(0x80); + puVar1 = puVar4; + if (puVar2 != (undefined8 *)0x0) { + *puVar2 = MagiRealTimeEventData::vftable; + FUN_14000c1f0(puVar2 + 1); + uVar3 = FUN_140094860(); + FUN_14003cf60((undefined4 *)(puVar2 + 9),uVar3 & 0xffffffff,CONCAT71(uVar6,1),param_4); + puVar1 = puVar2; + } + DAT_14017cf58 = puVar1; + puVar1 = operator_new(0x78); + if (puVar1 != (undefined8 *)0x0) { + *puVar1 = MagiServerManager::vftable; + puVar1[1] = 0; + puVar1[2] = 0; + puVar1[3] = 0; + puVar1[4] = 0xf8; + puVar1[5] = 0x20; + puVar1[6] = 0x20; + FUN_14000c1f0(puVar1 + 7); + puVar4 = puVar1; + } + DAT_14017cf20 = puVar4; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003ae60.c b/decomp/AgentManager_Release_x64/full/functions/0x14003ae60.c new file mode 100644 index 00000000..c8ef1683 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003ae60.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003ae60 FUN_14003ae60 + * Pseudocode, not original source. */ + +undefined8 * +FUN_14003ae60(undefined8 *param_1,ulonglong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003ae90(param_1,param_2,param_3,param_4); + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003ae90.c b/decomp/AgentManager_Release_x64/full/functions/0x14003ae90.c new file mode 100644 index 00000000..3353edd8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003ae90.c @@ -0,0 +1,28 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003ae90 FUN_14003ae90 + * Pseudocode, not original source. */ + +void FUN_14003ae90(undefined8 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + *param_1 = MagiAgentCommon::vftable; + if (DAT_14017cf20 != (undefined8 *)0x0) { + (**(code **)*DAT_14017cf20)(DAT_14017cf20,1,param_3,param_4,0xfffffffffffffffe); + } + if (DAT_14017cf28 != (undefined8 *)0x0) { + (**(code **)*DAT_14017cf28)(DAT_14017cf28,1); + } + if (DAT_14017cf10 != (undefined8 *)0x0) { + (**(code **)*DAT_14017cf10)(DAT_14017cf10,1); + } + if (DAT_14017cf58 != (undefined8 *)0x0) { + (**(code **)*DAT_14017cf58)(DAT_14017cf58,1); + } + if (DAT_14017cf50 != (undefined8 *)0x0) { + (**(code **)*DAT_14017cf50)(DAT_14017cf50,1); + } + *param_1 = MBISingleton::vftable; + DAT_14017cf30 = 0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003af40.c b/decomp/AgentManager_Release_x64/full/functions/0x14003af40.c new file mode 100644 index 00000000..632d1168 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003af40.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003af40 FUN_14003af40 + * Pseudocode, not original source. */ + +undefined8 * FUN_14003af40(undefined8 *param_1,byte param_2) + +{ + DAT_14017cf30 = 0; + *param_1 = MBISingleton::vftable; + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003af80.c b/decomp/AgentManager_Release_x64/full/functions/0x14003af80.c new file mode 100644 index 00000000..cab19d2c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003af80.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003af80 FUN_14003af80 + * Pseudocode, not original source. */ + +void FUN_14003af80(undefined8 *param_1) + +{ + DAT_14017cf30 = 0; + *param_1 = MBISingleton::vftable; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003afa0.c b/decomp/AgentManager_Release_x64/full/functions/0x14003afa0.c new file mode 100644 index 00000000..e2eac7e0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003afa0.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003afa0 FUN_14003afa0 + * Pseudocode, not original source. */ + +undefined8 * FUN_14003afa0(undefined8 *param_1,uint param_2) + +{ + *param_1 = MagiServerFile::vftable; + FUN_14000a2d0(param_1 + 1); + DAT_14017cf50 = 0; + *param_1 = MBISingleton::vftable; + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003b000.c b/decomp/AgentManager_Release_x64/full/functions/0x14003b000.c new file mode 100644 index 00000000..30ed5890 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003b000.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003b000 FUN_14003b000 + * Pseudocode, not original source. */ + +undefined8 * FUN_14003b000(longlong param_1,undefined8 *param_2) + +{ + FUN_14003b030(param_2,(longlong *)(param_1 + 8)); + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003b030.c b/decomp/AgentManager_Release_x64/full/functions/0x14003b030.c new file mode 100644 index 00000000..f0c18083 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003b030.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003b030 FUN_14003b030 + * Pseudocode, not original source. */ + +undefined8 * FUN_14003b030(undefined8 *param_1,longlong *param_2) + +{ + code *pcVar1; + undefined8 *puVar2; + undefined1 *puVar3; + longlong lVar4; + ulonglong uVar5; + + *param_1 = 0; + param_1[1] = 0; + param_1[2] = 0; + lVar4 = (param_2[1] - *param_2) / 6 + (param_2[1] - *param_2 >> 0x3f); + uVar5 = (lVar4 >> 3) - (lVar4 >> 0x3f); + *param_1 = 0; + param_1[1] = 0; + param_1[2] = 0; + if (uVar5 != 0) { + if (0x555555555555555 < uVar5) { + std::_Xlength_error("vector too long"); + pcVar1 = (code *)swi(3); + puVar2 = (undefined8 *)(*pcVar1)(); + return puVar2; + } + puVar3 = FUN_140029660(uVar5); + *param_1 = puVar3; + param_1[1] = puVar3; + param_1[2] = puVar3 + uVar5 * 0x30; + puVar3 = FUN_14003b190((undefined1 *)*param_2,(undefined1 *)param_2[1],puVar3); + param_1[1] = puVar3; + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003b100.c b/decomp/AgentManager_Release_x64/full/functions/0x14003b100.c new file mode 100644 index 00000000..a6b22396 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003b100.c @@ -0,0 +1,35 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003b100 FUN_14003b100 + * Pseudocode, not original source. */ + +void FUN_14003b100(undefined8 *param_1) + +{ + ulonglong *puVar1; + undefined1 *puVar2; + ulonglong *puVar3; + ulonglong *puVar4; + ulonglong *puVar5; + + puVar2 = (undefined1 *)param_1[1]; + if ((undefined1 *)*param_1 != puVar2) { + puVar4 = (ulonglong *)FUN_140029780(puVar2,puVar2,(undefined1 *)*param_1); + puVar3 = (ulonglong *)param_1[1]; + if (puVar4 != puVar3) { + puVar5 = puVar4 + 4; + do { + if (7 < *puVar5) { + operator_delete((void *)puVar5[-3]); + } + *puVar5 = 7; + puVar5[-1] = 0; + *(undefined2 *)(puVar5 + -3) = 0; + puVar1 = puVar5 + 2; + puVar5 = puVar5 + 6; + } while (puVar1 != puVar3); + } + param_1[1] = puVar4; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003b190.c b/decomp/AgentManager_Release_x64/full/functions/0x14003b190.c new file mode 100644 index 00000000..6b647ff9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003b190.c @@ -0,0 +1,20 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003b190 FUN_14003b190 + * Pseudocode, not original source. */ + +undefined1 * FUN_14003b190(undefined1 *param_1,undefined1 *param_2,undefined1 *param_3) + +{ + for (; param_1 != param_2; param_1 = param_1 + 0x30) { + if (param_3 != (undefined1 *)0x0) { + *param_3 = *param_1; + *(undefined8 *)(param_3 + 0x20) = 7; + *(undefined8 *)(param_3 + 0x18) = 0; + *(undefined2 *)(param_3 + 8) = 0; + FUN_140001630((longlong *)(param_3 + 8),(longlong *)(param_1 + 8),0,0xffffffffffffffff); + } + param_3 = param_3 + 0x30; + } + return param_3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003b230.c b/decomp/AgentManager_Release_x64/full/functions/0x14003b230.c new file mode 100644 index 00000000..24c02dce --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003b230.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003b230 FUN_14003b230 + * Pseudocode, not original source. */ + +undefined8 * FUN_14003b230(undefined8 *param_1,byte param_2) + +{ + DAT_14017cf50 = 0; + *param_1 = MBISingleton::vftable; + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003b270.c b/decomp/AgentManager_Release_x64/full/functions/0x14003b270.c new file mode 100644 index 00000000..cb9d5661 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003b270.c @@ -0,0 +1,21 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003b270 FUN_14003b270 + * Pseudocode, not original source. */ + +undefined8 * +FUN_14003b270(undefined8 *param_1,ulonglong param_2,undefined8 param_3,undefined8 param_4) + +{ + *param_1 = MagiRealTimeEventData::vftable; + FUN_14003d110((undefined4 *)(param_1 + 9),param_2,param_3,param_4); + if (param_1[1] != 0) { + FUN_14003b510(param_1 + 1); + } + *param_1 = MBISingleton::vftable; + DAT_14017cf58 = 0; + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003b2f0.c b/decomp/AgentManager_Release_x64/full/functions/0x14003b2f0.c new file mode 100644 index 00000000..7187402a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003b2f0.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003b2f0 FUN_14003b2f0 + * Pseudocode, not original source. */ + +longlong FUN_14003b2f0(longlong param_1,int param_2) + +{ + int *piVar1; + undefined8 *puVar2; + + piVar1 = (int *)(param_1 + 0x48); + FUN_14003d040(piVar1); + if (*(longlong *)(param_1 + 0x28) != 0) { + for (puVar2 = *(undefined8 **) + (*(longlong *)(param_1 + 8) + + ((ulonglong)(longlong)param_2 % *(ulonglong *)(param_1 + 0x10)) * 8); + puVar2 != (undefined8 *)0x0; puVar2 = (undefined8 *)*puVar2) { + if (param_2 == *(int *)(puVar2 + 1)) { + if (puVar2 != (undefined8 *)0x0) { + FUN_14003d0d0((longlong)piVar1); + return (longlong)puVar2 + 0xc; + } + break; + } + } + } + FUN_14003d0d0((longlong)piVar1); + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003b390.c b/decomp/AgentManager_Release_x64/full/functions/0x14003b390.c new file mode 100644 index 00000000..ec689f15 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003b390.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003b390 FUN_14003b390 + * Pseudocode, not original source. */ + +void FUN_14003b390(longlong param_1,ulonglong *param_2) + +{ + undefined8 *local_30; + undefined8 *local_28; + + FUN_14003d040((int *)(param_1 + 0x48)); + if (*(longlong *)(param_1 + 0x28) == 0) { + local_30 = (undefined8 *)0x0; + } + else { + local_30 = *(undefined8 **)(param_1 + 0x38); + if (local_30 != (undefined8 *)0x0) { + local_28 = (undefined8 *)*local_30; + goto joined_r0x00014003b408; + } + } + local_28 = (undefined8 *)0x0; +joined_r0x00014003b408: + while (local_28 != (undefined8 *)0x0) { + FUN_14002f150(param_2,(void *)((longlong)local_28 + 0xc)); + local_28 = (undefined8 *)*local_28; + while (local_28 == (undefined8 *)0x0) { + local_30 = local_30 + 1; + local_28 = (undefined8 *)*local_30; + } + if (local_30 == local_28) { + local_28 = (undefined8 *)0x0; + } + } + FUN_14003d0d0(param_1 + 0x48); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003b460.c b/decomp/AgentManager_Release_x64/full/functions/0x14003b460.c new file mode 100644 index 00000000..2bf3bfd1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003b460.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003b460 FUN_14003b460 + * Pseudocode, not original source. */ + +void FUN_14003b460(undefined8 *param_1) + +{ + undefined8 *puVar1; + undefined8 *puVar2; + undefined8 *puVar3; + undefined8 *puVar4; + + if (param_1[4] != 0) { + puVar4 = (undefined8 *)*param_1; + puVar1 = puVar4 + param_1[1]; + for (; puVar4 != puVar1; puVar4 = puVar4 + 1) { + puVar2 = (undefined8 *)*puVar4; + *puVar4 = 0; + while (puVar2 != (undefined8 *)0x0) { + puVar3 = (undefined8 *)*puVar2; + operator_delete(puVar2); + puVar2 = puVar3; + } + } + param_1[4] = 0; + param_1[6] = puVar1; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003b4f0.c b/decomp/AgentManager_Release_x64/full/functions/0x14003b4f0.c new file mode 100644 index 00000000..cb530f37 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003b4f0.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003b4f0 FUN_14003b4f0 + * Pseudocode, not original source. */ + +void FUN_14003b4f0(longlong *param_1) + +{ + if (*param_1 != 0) { + FUN_14003b510(param_1); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003b510.c b/decomp/AgentManager_Release_x64/full/functions/0x14003b510.c new file mode 100644 index 00000000..476d7b6d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003b510.c @@ -0,0 +1,28 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003b510 FUN_14003b510 + * Pseudocode, not original source. */ + +void FUN_14003b510(undefined8 *param_1) + +{ + undefined8 *puVar1; + undefined8 *puVar2; + undefined8 *puVar3; + undefined8 *puVar4; + + puVar4 = (undefined8 *)*param_1; + puVar1 = puVar4 + param_1[1]; + for (; puVar4 != puVar1; puVar4 = puVar4 + 1) { + puVar2 = (undefined8 *)*puVar4; + *puVar4 = 0; + while (puVar2 != (undefined8 *)0x0) { + puVar3 = (undefined8 *)*puVar2; + operator_delete(puVar2); + puVar2 = puVar3; + } + } + operator_delete((void *)*param_1); + *param_1 = 0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003b5a0.c b/decomp/AgentManager_Release_x64/full/functions/0x14003b5a0.c new file mode 100644 index 00000000..67b3ec52 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003b5a0.c @@ -0,0 +1,82 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003b5a0 FUN_14003b5a0 + * Pseudocode, not original source. */ + +longlong * FUN_14003b5a0(longlong *param_1,longlong *param_2,int *param_3,undefined4 *param_4) + +{ + int iVar1; + ulonglong uVar2; + undefined8 *puVar3; + undefined *puVar4; + undefined8 *puVar5; + char **ppcVar6; + undefined8 *puVar7; + char *local_res8; + char *local_res18 [2]; + undefined **local_170 [3]; + undefined8 local_158; + undefined8 local_148 [36]; + + local_158 = 0xfffffffffffffffe; + iVar1 = *param_3; + puVar7 = (undefined8 *)(*param_1 + ((ulonglong)(longlong)iVar1 % (ulonglong)param_1[1]) * 8); + puVar3 = (undefined8 *)*puVar7; + do { + if (puVar3 == (undefined8 *)0x0) { +LAB_14003b60c: + puVar3 = operator_new(0x118); + if (puVar3 != (undefined8 *)0x0) { + local_148[0] = 0; + memcpy(puVar3,local_148,0x118); + if (puVar3 + 1 != (undefined8 *)0x0) { + *(undefined4 *)(puVar3 + 1) = *param_4; + memcpy((void *)((longlong)puVar3 + 0xc),param_4 + 1,0x108); + } + uVar2 = param_1[4]; + local_res18[0] = (char *)(uVar2 + 1); + if ((char *)param_1[7] <= local_res18[0]) { + local_res8 = (char *)((uVar2 >> 1) + uVar2); + ppcVar6 = &local_res8; + if (local_res8 <= local_res18[0]) { + ppcVar6 = local_res18; + } + puVar4 = FUN_140037260((longlong)param_1,(longlong)*ppcVar6); + if (puVar4 != (undefined *)param_1[1]) { + FUN_14003ba00(param_1,(ulonglong)puVar4); + puVar7 = (undefined8 *) + (*param_1 + ((ulonglong)(longlong)iVar1 % (ulonglong)param_1[1]) * 8); + } + } + *puVar3 = *puVar7; + *puVar7 = puVar3; + param_1[4] = param_1[4] + 1; + puVar5 = (undefined8 *)param_1[6]; + if (puVar7 < (undefined8 *)param_1[6]) { + puVar5 = puVar7; + } + param_1[6] = (longlong)puVar5; + *param_2 = (longlong)puVar7; + param_2[1] = (longlong)puVar3; + *(undefined1 *)(param_2 + 2) = 1; + return param_2; + } + local_res8 = (char *)0x0; + std::exception::exception((exception *)local_170,&local_res8); + local_170[0] = std::bad_alloc::vftable; + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_170,(ThrowInfo *)&DAT_14016c158); + } + if (iVar1 == *(int *)(puVar3 + 1)) { + if (puVar3 != (undefined8 *)0x0) { + *param_2 = (longlong)puVar7; + param_2[1] = (longlong)puVar3; + *(undefined1 *)(param_2 + 2) = 0; + return param_2; + } + goto LAB_14003b60c; + } + puVar3 = (undefined8 *)*puVar3; + } while( true ); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003b780.c b/decomp/AgentManager_Release_x64/full/functions/0x14003b780.c new file mode 100644 index 00000000..fce28b4a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003b780.c @@ -0,0 +1,48 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003b780 FUN_14003b780 + * Pseudocode, not original source. */ + +longlong * FUN_14003b780(longlong *param_1,longlong *param_2,undefined4 *param_3) + +{ + void *_Dst; + longlong *plVar1; + char *local_res8; + longlong *local_168; + void *local_160; + undefined2 local_158; + undefined **local_150 [3]; + undefined8 local_138; + undefined8 local_128 [36]; + + local_138 = 0xfffffffffffffffe; + local_160 = (void *)0x0; + local_158 = 0; + local_168 = param_1; + _Dst = operator_new(0x118); + if (_Dst != (void *)0x0) { + local_128[0] = 0; + local_160 = _Dst; + memcpy(_Dst,local_128,0x118); + local_158 = CONCAT11(local_158._1_1_,1); + if ((undefined4 *)((longlong)_Dst + 8) != (undefined4 *)0x0) { + *(undefined4 *)((longlong)_Dst + 8) = *param_3; + memcpy((void *)((longlong)_Dst + 0xc),param_3 + 1,0x108); + } + local_158 = CONCAT11(1,(undefined1)local_158); + plVar1 = FUN_14003b8b0(param_1,(longlong *)local_150,(longlong)&local_168); + *param_2 = *plVar1; + param_2[1] = plVar1[1]; + *(undefined1 *)(param_2 + 2) = 1; + if (local_160 != (void *)0x0) { + operator_delete(local_160); + } + return param_2; + } + local_res8 = (char *)0x0; + std::exception::exception((exception *)local_150,&local_res8); + local_150[0] = std::bad_alloc::vftable; + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_150,(ThrowInfo *)&DAT_14016c158); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003b8b0.c b/decomp/AgentManager_Release_x64/full/functions/0x14003b8b0.c new file mode 100644 index 00000000..90b575ef --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003b8b0.c @@ -0,0 +1,72 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003b8b0 FUN_14003b8b0 + * Pseudocode, not original source. */ + +longlong * FUN_14003b8b0(longlong *param_1,longlong *param_2,longlong param_3) + +{ + undefined8 *puVar1; + int iVar2; + undefined8 *puVar3; + undefined8 uVar4; + undefined *puVar5; + undefined **ppuVar6; + longlong *plVar7; + longlong lVar8; + undefined **ppuVar9; + undefined *local_res8; + undefined *local_res10; + + iVar2 = *(int *)(*(longlong *)(param_3 + 8) + 8); + if (*param_1 == 0) { + local_res8 = FUN_140037260((longlong)param_1,1); + ppuVar9 = (undefined **)(param_1 + 1); + ppuVar6 = &local_res8; + if (local_res8 <= *ppuVar9) { + ppuVar6 = ppuVar9; + } + *ppuVar9 = *ppuVar6; + FUN_14000c270(param_1); + if (param_1[4] == 0) { + param_1[6] = *param_1 + (longlong)*ppuVar9 * 8; + } + else { + plVar7 = (longlong *)*param_1; + param_1[6] = (longlong)plVar7; + lVar8 = *plVar7; + while (lVar8 == 0) { + plVar7 = plVar7 + 1; + param_1[6] = (longlong)plVar7; + lVar8 = *plVar7; + } + } + lVar8 = FUN_1400110c0((longlong)param_1); + param_1[7] = lVar8; + } + else { + local_res10 = (undefined *)0x1; + if ((ulonglong)param_1[7] < 2) { + local_res8 = (undefined *)(((ulonglong)param_1[4] >> 1) + param_1[4]); + ppuVar9 = &local_res8; + if (local_res8 < (undefined *)0x2) { + ppuVar9 = &local_res10; + } + puVar5 = FUN_140037260((longlong)param_1,(longlong)*ppuVar9); + if (puVar5 != (undefined *)param_1[1]) { + FUN_14003ba00(param_1,(ulonglong)puVar5); + } + } + } + puVar1 = (undefined8 *)(*param_1 + ((ulonglong)(longlong)iVar2 % (ulonglong)param_1[1]) * 8); + puVar3 = *(undefined8 **)(param_3 + 8); + *(undefined8 *)(param_3 + 8) = 0; + uVar4 = *puVar1; + *param_2 = (longlong)puVar1; + param_2[1] = (longlong)puVar3; + *puVar3 = uVar4; + *puVar1 = puVar3; + param_1[4] = param_1[4] + 1; + param_1[6] = (longlong)puVar1; + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003ba00.c b/decomp/AgentManager_Release_x64/full/functions/0x14003ba00.c new file mode 100644 index 00000000..8867fece --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003ba00.c @@ -0,0 +1,112 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003ba00 FUN_14003ba00 + * Pseudocode, not original source. */ + +void FUN_14003ba00(longlong *param_1,ulonglong param_2) + +{ + longlong lVar1; + longlong lVar2; + longlong lVar3; + undefined8 *puVar4; + undefined8 *puVar5; + undefined8 *puVar6; + longlong *plVar7; + longlong *plVar8; + longlong lVar9; + ulonglong uVar10; + undefined8 *puVar11; + longlong *plVar12; + double dVar13; + longlong *local_30; + ulonglong local_28; + + lVar9 = param_1[4]; + lVar1 = param_1[1]; + lVar2 = *param_1; + local_30 = (longlong *)0x0; + local_28 = param_2; + FUN_14000c270(&local_30); + lVar3 = param_1[1]; + puVar4 = (undefined8 *)*param_1; + *param_1 = 0; + param_1[1] = lVar3; + param_1[4] = 0; + for (plVar12 = (longlong *)param_1[6]; plVar12 != (longlong *)(lVar2 + lVar1 * 8); + plVar12 = plVar12 + 1) { + plVar8 = (longlong *)*plVar12; + while (plVar8 != (longlong *)0x0) { + uVar10 = (ulonglong)(longlong)(int)plVar8[1] % local_28; + *plVar12 = *plVar8; + *plVar8 = local_30[uVar10]; + local_30[uVar10] = (longlong)plVar8; + plVar8 = (longlong *)*plVar12; + } + } + param_1[4] = lVar9; + plVar12 = (longlong *)*param_1; + *param_1 = (longlong)local_30; + uVar10 = param_1[1]; + param_1[1] = local_28; + if (param_1[4] == 0) { + param_1[6] = *param_1 + local_28 * 8; + } + else { + plVar8 = (longlong *)*param_1; + param_1[6] = (longlong)plVar8; + lVar9 = *plVar8; + while (lVar9 == 0) { + plVar8 = plVar8 + 1; + param_1[6] = (longlong)plVar8; + lVar9 = *plVar8; + } + } + dVar13 = (double)param_1[1]; + if (param_1[1] < 0) { + dVar13 = dVar13 + 1.8446744073709552e+19; + } + local_30 = plVar12; + local_28 = uVar10; + dVar13 = ceil((double)*(float *)(param_1 + 5) * dVar13); + lVar9 = -1; + if (dVar13 < 1.8446744073709552e+19) { + lVar9 = 0; + if ((9.223372036854776e+18 < dVar13) && + (dVar13 = dVar13 - 9.223372036854776e+18, dVar13 < 9.223372036854776e+18)) { + lVar9 = -0x8000000000000000; + } + lVar9 = (longlong)dVar13 + lVar9; + } + param_1[7] = lVar9; + if (puVar4 != (undefined8 *)0x0) { + for (puVar11 = puVar4; puVar11 != puVar4 + lVar3; puVar11 = puVar11 + 1) { + puVar5 = (undefined8 *)*puVar11; + *puVar11 = 0; + while (puVar5 != (undefined8 *)0x0) { + puVar6 = (undefined8 *)*puVar5; + operator_delete(puVar5); + puVar5 = puVar6; + } + } + operator_delete(puVar4); + uVar10 = local_28; + plVar12 = local_30; + } + if (plVar12 != (longlong *)0x0) { + plVar8 = plVar12 + uVar10; + plVar7 = plVar12; + for (; plVar12 != plVar8; plVar12 = plVar12 + 1) { + puVar4 = (undefined8 *)*plVar12; + *plVar12 = 0; + while (puVar4 != (undefined8 *)0x0) { + puVar11 = (undefined8 *)*puVar4; + operator_delete(puVar4); + puVar4 = puVar11; + } + plVar7 = local_30; + } + operator_delete(plVar7); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003bc50.c b/decomp/AgentManager_Release_x64/full/functions/0x14003bc50.c new file mode 100644 index 00000000..629063db --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003bc50.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003bc50 FUN_14003bc50 + * Pseudocode, not original source. */ + +undefined8 * FUN_14003bc50(undefined8 *param_1,byte param_2) + +{ + DAT_14017cf58 = 0; + *param_1 = MBISingleton::vftable; + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003bc90.c b/decomp/AgentManager_Release_x64/full/functions/0x14003bc90.c new file mode 100644 index 00000000..bb5ffdff --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003bc90.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003bc90 FUN_14003bc90 + * Pseudocode, not original source. */ + +void FUN_14003bc90(undefined8 *param_1) + +{ + DAT_14017cf58 = 0; + *param_1 = MBISingleton::vftable; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003bcb0.c b/decomp/AgentManager_Release_x64/full/functions/0x14003bcb0.c new file mode 100644 index 00000000..418ca7cf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003bcb0.c @@ -0,0 +1,259 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003bcb0 FUN_14003bcb0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __chkstk replaced with injection: alloca_probe */ +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +ulonglong FUN_14003bcb0(void *param_1,LPCWSTR param_2,undefined8 param_3,undefined8 param_4) + +{ + char cVar1; + undefined2 uVar2; + int iVar3; + char *pcVar4; + void *pvVar5; + char *pcVar6; + ulonglong uVar7; + HANDLE pvVar8; + undefined8 uVar9; + undefined4 extraout_var; + undefined4 extraout_var_00; + undefined4 extraout_var_01; + longlong lVar10; + LPCWSTR pWVar11; + undefined1 *puVar12; + uint uVar13; + char *pcVar14; + undefined8 uStackY_2b0; + undefined1 auStackY_2a8 [32]; + undefined8 local_278 [2]; + undefined8 *local_268; + undefined8 local_260; + undefined8 local_258; + undefined8 uStack_250; + undefined4 local_248; + undefined4 uStack_244; + undefined4 uStack_240; + undefined4 uStack_23c; + undefined8 local_238; + _SYSTEM_INFO local_228; + undefined2 local_1f8; + undefined2 local_1f6; + undefined4 local_1f4; + undefined1 local_1e8 [416]; + ulonglong local_48; + + puVar12 = auStackY_2a8; + local_260 = 0xfffffffffffffffe; + local_48 = DAT_14016f5a0 ^ (ulonglong)&local_268; + uStackY_2b0 = 0x14003bcfc; + pWVar11 = param_2; + uVar9 = param_3; + local_268 = operator_new(0xb0); + pcVar14 = (char *)0x0; + pcVar4 = pcVar14; + if (local_268 != (undefined8 *)0x0) { + uStackY_2b0 = 0x14003bd10; + pcVar4 = (char *)FUN_14003c1f0(local_268,pWVar11,uVar9,param_4); + } + *(char **)((longlong)param_1 + 0x58) = pcVar4; + uStackY_2b0 = 0x14003bd23; + pvVar5 = operator_new(300000); + *(void **)((longlong)param_1 + 0x10) = pvVar5; + uStackY_2b0 = 0x14003bd32; + pcVar6 = operator_new(0x58); + pcVar4 = pcVar14; + if (pcVar6 != (char *)0x0) { + pcVar6[0] = '\0'; + pcVar6[1] = '\0'; + pcVar6[2] = '\0'; + pcVar6[3] = '\0'; + pcVar6[4] = '\0'; + pcVar6[5] = '\0'; + pcVar6[6] = '\0'; + pcVar6[7] = '\0'; + pcVar6[8] = '\0'; + pcVar6[9] = '\0'; + pcVar6[10] = '\0'; + pcVar6[0xb] = '\0'; + pcVar6[0xc] = '\0'; + pcVar6[0xd] = '\0'; + pcVar6[0xe] = '\0'; + pcVar6[0xf] = '\0'; + pcVar6[0x10] = '\0'; + pcVar6[0x11] = '\0'; + pcVar6[0x12] = '\0'; + pcVar6[0x13] = '\0'; + pcVar6[0x14] = '\0'; + pcVar6[0x15] = '\0'; + pcVar6[0x16] = '\0'; + pcVar6[0x17] = '\0'; + pcVar6[0x18] = '\0'; + pcVar6[0x19] = '\0'; + pcVar6[0x1a] = '\0'; + pcVar6[0x1b] = '\0'; + uStackY_2b0 = 0x14003bd53; + InitializeCriticalSection((LPCRITICAL_SECTION)(pcVar6 + 0x20)); + pcVar4 = pcVar6; + } + *(char **)((longlong)param_1 + 8) = pcVar4; + uStackY_2b0 = 0x14003bd66; + EnterCriticalSection((LPCRITICAL_SECTION)(pcVar4 + 0x20)); + if (*(void **)pcVar4 != (void *)0x0) { + uStackY_2b0 = 0x14003bd74; + operator_delete__(*(void **)pcVar4); + pcVar4[0] = '\0'; + pcVar4[1] = '\0'; + pcVar4[2] = '\0'; + pcVar4[3] = '\0'; + pcVar4[4] = '\0'; + pcVar4[5] = '\0'; + pcVar4[6] = '\0'; + pcVar4[7] = '\0'; + } + uStackY_2b0 = 0x14003bd81; + pvVar5 = operator_new(300000); + *(void **)pcVar4 = pvVar5; + pcVar4[8] = -0x20; + pcVar4[9] = -0x6d; + pcVar4[10] = '\x04'; + pcVar4[0xb] = '\0'; + pcVar4[0xc] = '\0'; + pcVar4[0xd] = '\0'; + pcVar4[0xe] = '\0'; + pcVar4[0xf] = '\0'; + pcVar4[0x10] = '\0'; + pcVar4[0x11] = '\0'; + pcVar4[0x12] = '\0'; + pcVar4[0x13] = '\0'; + pcVar4[0x14] = '\0'; + pcVar4[0x15] = '\0'; + pcVar4[0x16] = '\0'; + pcVar4[0x17] = '\0'; + pcVar4[0x18] = '\0'; + pcVar4[0x19] = '\0'; + pcVar4[0x1a] = '\0'; + pcVar4[0x1b] = '\0'; + uStackY_2b0 = 0x14003bd9e; + LeaveCriticalSection((LPCRITICAL_SECTION)(pcVar4 + 0x20)); + uStackY_2b0 = 0x14003bdb0; + uVar7 = Ordinal_115(0x202,local_1e8); + if ((int)uVar7 == 0) { + uStackY_2b0 = 0x14003bdca; + pvVar8 = CreateIoCompletionPort((HANDLE)0xffffffffffffffff,(HANDLE)0x0,0,0); + *(HANDLE *)((longlong)param_1 + 0x18) = pvVar8; + uStackY_2b0 = 0x14003bdd8; + GetSystemInfo(&local_228); + pcVar4 = pcVar14; + if (0 < (int)local_228.dwNumberOfProcessors) { + do { + uStackY_2b0 = 0x14003bdff; + _beginthreadex((void *)0x0,0,FUN_14003ca90,param_1,0,(uint *)0x0); + uVar13 = (int)pcVar4 + 1; + pcVar4 = (char *)(ulonglong)uVar13; + } while ((int)uVar13 < (int)local_228.dwNumberOfProcessors); + } + uStackY_2b0 = 0x14003be2c; + uVar9 = WSASocketW(2,1,0); + *(undefined8 *)((longlong)param_1 + 0x20) = uVar9; + puVar12 = auStackY_2a8; + pcVar4 = pcVar14; + if (param_2 != (LPCWSTR)0x0) { + uStackY_2b0 = 0x14003be3e; + iVar3 = lstrlenW(param_2); + iVar3 = iVar3 + 1; + puVar12 = auStackY_2a8; + if (iVar3 < 0x40000000) { + uVar7 = (longlong)iVar3 * 2 + 0xf; + if (uVar7 <= (ulonglong)((longlong)iVar3 * 2)) { + uVar7 = 0xffffffffffffff0; + } + uStackY_2b0 = 0x14003be6e; + lVar10 = -(uVar7 & 0xfffffffffffffff0); + pcVar6 = (char *)((longlong)&local_268 + lVar10); + puVar12 = auStackY_2a8 + lVar10; + if (pcVar6 != (char *)0x0) { + *pcVar6 = '\0'; + *(undefined8 *)((longlong)local_278 + lVar10 + 8) = 0; + *(undefined8 *)((longlong)local_278 + lVar10) = 0; + *(int *)(&stack0xfffffffffffffd80 + lVar10) = iVar3 * 2; + *(char **)(&stack0xfffffffffffffd78 + lVar10) = pcVar6; + *(undefined8 *)(auStackY_2a8 + lVar10 + -8) = 0x14003bea6; + iVar3 = WideCharToMultiByte(3,0,param_2,-1,*(LPSTR *)(&stack0xfffffffffffffd78 + lVar10), + *(int *)(&stack0xfffffffffffffd80 + lVar10), + *(LPCSTR *)((longlong)local_278 + lVar10), + *(LPBOOL *)((longlong)local_278 + lVar10 + 8)); + puVar12 = auStackY_2a8 + lVar10; + pcVar4 = pcVar6; + if (iVar3 == 0) { + puVar12 = auStackY_2a8 + lVar10; + pcVar4 = pcVar14; + } + } + } + } + uVar7 = 0xffffffffffffffff; + pcVar14 = pcVar4; + do { + if (uVar7 == 0) break; + uVar7 = uVar7 - 1; + cVar1 = *pcVar14; + pcVar14 = pcVar14 + 1; + } while (cVar1 != '\0'); + *(undefined8 *)(puVar12 + -8) = 0x14003becf; + FUN_14000c9e0((ulonglong *)((longlong)param_1 + 0x28),pcVar4,~uVar7 - 1); + *(int *)((longlong)param_1 + 0x50) = (int)param_3; + local_1f8 = 2; + if (*(ulonglong *)((longlong)param_1 + 0x40) < 0x10) { + lVar10 = (longlong)param_1 + 0x28; + } + else { + lVar10 = *(longlong *)((longlong)param_1 + 0x28); + } + *(undefined8 *)(puVar12 + -8) = 0x14003beef; + local_1f4 = Ordinal_11(lVar10); + uVar2 = *(undefined2 *)((longlong)param_1 + 0x50); + *(undefined8 *)(puVar12 + -8) = 0x14003befc; + local_1f6 = Ordinal_9(uVar2); + uVar9 = *(undefined8 *)((longlong)param_1 + 0x20); + *(undefined8 *)(puVar12 + -8) = 0x14003bf14; + iVar3 = Ordinal_2(uVar9,&local_1f8,0x10); + if (iVar3 != -1) { + uVar9 = *(undefined8 *)((longlong)param_1 + 0x20); + *(undefined8 *)(puVar12 + -8) = 0x14003bf39; + iVar3 = Ordinal_13(uVar9,0x7fffffff); + if (iVar3 == -1) { + *(undefined8 *)(puVar12 + -8) = 0x14003bf4b; + iVar3 = printf("Api Server Socket Listen Error !!! \n"); + uVar7 = CONCAT44(extraout_var_00,iVar3) & 0xffffffffffffff00; + } + else { + *(undefined8 *)(puVar12 + 0x28) = 0; + *(undefined4 *)(puVar12 + 0x20) = 0; + *(undefined8 *)(puVar12 + -8) = 0x14003bf6d; + _beginthreadex((void *)0x0,0,FUN_14003cdd0,param_1,*(uint *)(puVar12 + 0x20), + *(uint **)(puVar12 + 0x28)); + local_258 = *(undefined8 *)((longlong)param_1 + 0x28); + uStack_250 = *(undefined8 *)((longlong)param_1 + 0x30); + local_248 = *(undefined4 *)((longlong)param_1 + 0x38); + uStack_244 = *(undefined4 *)((longlong)param_1 + 0x3c); + uStack_240 = *(undefined4 *)((longlong)param_1 + 0x40); + uStack_23c = *(undefined4 *)((longlong)param_1 + 0x44); + local_238 = *(undefined8 *)((longlong)param_1 + 0x48); + *(undefined8 *)(puVar12 + -8) = 0x14003bf9c; + iVar3 = wprintf(L"API NETWORK INIT : ADDRESS[%s] PORT[%u] \n"); + uVar7 = CONCAT71((int7)(CONCAT44(extraout_var_01,iVar3) >> 8),1); + } + goto LAB_14003bf9e; + } + *(undefined8 *)(puVar12 + -8) = 0x14003bf26; + iVar3 = printf("Api Server Socket Bind Error !!! \n"); + uVar7 = CONCAT44(extraout_var,iVar3); + } + uVar7 = uVar7 & 0xffffffffffffff00; +LAB_14003bf9e: + *(undefined8 *)(puVar12 + -8) = 0x14003bfad; + return uVar7; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003bfd0.c b/decomp/AgentManager_Release_x64/full/functions/0x14003bfd0.c new file mode 100644 index 00000000..8eabc370 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003bfd0.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003bfd0 FUN_14003bfd0 + * Pseudocode, not original source. */ + +void FUN_14003bfd0(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 *puVar1; + + puVar1 = *(undefined8 **)(param_1 + 8); + if (puVar1 != (undefined8 *)0x0) { + EnterCriticalSection((LPCRITICAL_SECTION)(puVar1 + 4)); + if ((void *)*puVar1 != (void *)0x0) { + operator_delete__((void *)*puVar1); + *puVar1 = 0; + } + LeaveCriticalSection((LPCRITICAL_SECTION)(puVar1 + 4)); + DeleteCriticalSection((LPCRITICAL_SECTION)(puVar1 + 4)); + operator_delete(puVar1); + *(undefined8 *)(param_1 + 8) = 0; + } + if (*(void **)(param_1 + 0x10) != (void *)0x0) { + operator_delete__(*(void **)(param_1 + 0x10)); + *(undefined8 *)(param_1 + 0x10) = 0; + } + puVar1 = *(undefined8 **)(param_1 + 0x58); + if (puVar1 != (undefined8 *)0x0) { + FUN_14003d110((undefined4 *)(puVar1 + 0xe),param_2,param_3,param_4); + if (puVar1[6] != 0) { + FUN_14003b510(puVar1 + 6); + } + FUN_14003c6e0(puVar1); + operator_delete(puVar1); + *(undefined8 *)(param_1 + 0x58) = 0; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003c0a0.c b/decomp/AgentManager_Release_x64/full/functions/0x14003c0a0.c new file mode 100644 index 00000000..02d4bdaf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003c0a0.c @@ -0,0 +1,60 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003c0a0 FUN_14003c0a0 + * Pseudocode, not original source. */ + +void FUN_14003c0a0(undefined8 *param_1) + +{ + int iVar1; + undefined8 *puVar2; + void *_Dst; + undefined1 *puVar3; + int iVar4; + uint uVar5; + undefined2 local_res8; + + if ((param_1[1] != 0) && (0 < *(int *)(param_1[1] + 0x18))) { + while( true ) { + puVar2 = (undefined8 *)param_1[1]; + _Dst = (void *)param_1[2]; + EnterCriticalSection((LPCRITICAL_SECTION)(puVar2 + 4)); + if (*(int *)((longlong)puVar2 + 0x14) == 0) break; + iVar4 = *(int *)(puVar2 + 1); + iVar1 = *(int *)((longlong)puVar2 + 0xc); + puVar3 = (undefined1 *)*puVar2; + if (iVar1 == iVar4 + -1) { + local_res8 = CONCAT11(*puVar3,puVar3[iVar1]); + } + else { + local_res8 = *(ushort *)(puVar3 + iVar1); + } + iVar1 = *(int *)((longlong)puVar2 + 0xc); + uVar5 = (uint)local_res8; + if (iVar4 < (int)((uint)local_res8 + iVar1)) { + iVar4 = iVar4 - iVar1; + *(int *)((longlong)puVar2 + 0x4c) = iVar4; + *(uint *)(puVar2 + 10) = uVar5 - iVar4; + memcpy(_Dst,puVar3 + iVar1,(longlong)iVar4); + memcpy((void *)((longlong)*(int *)((longlong)puVar2 + 0x4c) + (longlong)_Dst), + (void *)*puVar2,(longlong)*(int *)(puVar2 + 10)); + *(undefined4 *)((longlong)puVar2 + 0xc) = *(undefined4 *)(puVar2 + 10); + } + else { + memcpy(_Dst,puVar3 + iVar1,(ulonglong)local_res8); + *(int *)((longlong)puVar2 + 0xc) = *(int *)((longlong)puVar2 + 0xc) + uVar5; + iVar4 = *(int *)((longlong)puVar2 + 0xc); + if (iVar4 == *(int *)(puVar2 + 1)) { + iVar4 = 0; + } + *(int *)((longlong)puVar2 + 0xc) = iVar4; + } + *(int *)((longlong)puVar2 + 0x14) = *(int *)((longlong)puVar2 + 0x14) - uVar5; + *(int *)(puVar2 + 3) = *(int *)(puVar2 + 3) + -1; + LeaveCriticalSection((LPCRITICAL_SECTION)(puVar2 + 4)); + (**(code **)*param_1)(param_1,param_1[2]); + } + LeaveCriticalSection((LPCRITICAL_SECTION)(puVar2 + 4)); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003c1f0.c b/decomp/AgentManager_Release_x64/full/functions/0x14003c1f0.c new file mode 100644 index 00000000..a6102357 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003c1f0.c @@ -0,0 +1,25 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003c1f0 FUN_14003c1f0 + * Pseudocode, not original source. */ + +undefined8 * +FUN_14003c1f0(undefined8 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + ulonglong uVar1; + undefined7 uVar2; + + uVar2 = (undefined7)((ulonglong)param_3 >> 8); + *param_1 = 0; + param_1[1] = 0; + param_1[2] = 0; + param_1[3] = 0x10; + param_1[4] = 0x20; + param_1[5] = 0x20; + FUN_14000c1f0(param_1 + 6); + uVar1 = FUN_140094860(); + FUN_14003cf60((undefined4 *)(param_1 + 0xe),uVar1 & 0xffffffff,CONCAT71(uVar2,1),param_4); + *(undefined4 *)(param_1 + 0x15) = 0; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003c270.c b/decomp/AgentManager_Release_x64/full/functions/0x14003c270.c new file mode 100644 index 00000000..ce84f4a8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003c270.c @@ -0,0 +1,94 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003c270 FUN_14003c270 + * Pseudocode, not original source. */ + +void FUN_14003c270(undefined8 *param_1,longlong param_2) + +{ + longlong *plVar1; + ulonglong *puVar2; + ulonglong uVar3; + ulonglong *puVar4; + longlong lVar5; + longlong *plVar6; + ulonglong *puVar7; + longlong *plVar8; + longlong *local_48; + longlong *plStack_40; + + FUN_14003d040((int *)(param_1 + 0xe)); + if (param_1[10] == 0) { + local_48 = (longlong *)0x0; + } + else { + local_48 = (longlong *)param_1[0xc]; + if (local_48 != (longlong *)0x0) { + plStack_40 = (longlong *)*local_48; + plVar8 = local_48; + goto joined_r0x00014003c2e1; + } + } + plStack_40 = (longlong *)0x0; + plVar8 = local_48; +joined_r0x00014003c2e1: + while ((plStack_40 != (longlong *)0x0 && (*(longlong *)(plStack_40[2] + 8) != param_2))) { + plStack_40 = (longlong *)*plStack_40; + while (plStack_40 == (longlong *)0x0) { + local_48 = local_48 + 1; + plVar8 = local_48; + plStack_40 = (longlong *)*local_48; + } + if (local_48 == plStack_40) { + plStack_40 = (longlong *)0x0; + } + } + printf("ApiSocket Leave [Now:%d] !!!\n"); + puVar2 = (ulonglong *)plStack_40[2]; + if (puVar2 != (ulonglong *)0x0) { + uVar3 = param_1[1]; + lVar5 = param_1[2]; + while (uVar3 != 0) { + if ((uVar3 <= puVar2) && (puVar2 < (uVar3 - 0x10) + lVar5)) { + if (uVar3 != 0) { + puVar4 = (ulonglong *)*param_1; + if ((puVar4 == (ulonglong *)0x0) || (puVar2 < puVar4)) { + *puVar2 = (ulonglong)puVar4; + *param_1 = puVar2; + } + else { + for (puVar7 = (ulonglong *)*puVar4; (puVar7 != (ulonglong *)0x0 && (puVar7 <= puVar2)); + puVar7 = (ulonglong *)*puVar7) { + puVar4 = puVar7; + } + *puVar2 = *puVar4; + *puVar4 = (ulonglong)puVar2; + } + } + break; + } + plVar1 = (longlong *)(lVar5 + -8 + uVar3); + uVar3 = *(ulonglong *)(lVar5 + -0x10 + uVar3); + lVar5 = *plVar1; + } + lVar5 = *plStack_40; + while (lVar5 == 0) { + plVar8 = plVar8 + 1; + lVar5 = *plVar8; + } + param_1[10] = param_1[10] + -1; + plVar1 = (longlong *)*local_48; + plVar6 = local_48; + while (plVar1 != plStack_40) { + plVar6 = (longlong *)*plVar6; + plVar1 = (longlong *)*plVar6; + } + *plVar6 = *plStack_40; + operator_delete(plStack_40); + if ((local_48 == (longlong *)param_1[0xc]) && (*local_48 == 0)) { + param_1[0xc] = plVar8; + } + } + FUN_14003d0d0((longlong)(param_1 + 0xe)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003c450.c b/decomp/AgentManager_Release_x64/full/functions/0x14003c450.c new file mode 100644 index 00000000..a60ff3e4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003c450.c @@ -0,0 +1,32 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003c450 FUN_14003c450 + * Pseudocode, not original source. */ + +undefined8 FUN_14003c450(longlong param_1,int param_2) + +{ + int *piVar1; + undefined8 *puVar2; + undefined8 uVar3; + + piVar1 = (int *)(param_1 + 0x70); + FUN_14003d040(piVar1); + if (*(longlong *)(param_1 + 0x50) != 0) { + for (puVar2 = *(undefined8 **) + (*(longlong *)(param_1 + 0x30) + + ((ulonglong)(longlong)param_2 % *(ulonglong *)(param_1 + 0x38)) * 8); + puVar2 != (undefined8 *)0x0; puVar2 = (undefined8 *)*puVar2) { + if (param_2 == *(int *)(puVar2 + 1)) { + if (puVar2 != (undefined8 *)0x0) { + uVar3 = puVar2[2]; + FUN_14003d0d0((longlong)piVar1); + return uVar3; + } + break; + } + } + } + FUN_14003d0d0((longlong)piVar1); + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003c4f0.c b/decomp/AgentManager_Release_x64/full/functions/0x14003c4f0.c new file mode 100644 index 00000000..c22bde08 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003c4f0.c @@ -0,0 +1,46 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003c4f0 FUN_14003c4f0 + * Pseudocode, not original source. */ + +ulonglong FUN_14003c4f0(longlong param_1,ulonglong param_2) + +{ + int *piVar1; + ulonglong uVar2; + undefined8 *local_30; + undefined8 *local_28; + + piVar1 = (int *)(param_1 + 0x70); + FUN_14003d040(piVar1); + if (*(longlong *)(param_1 + 0x50) == 0) { + local_30 = (undefined8 *)0x0; + } + else { + local_30 = *(undefined8 **)(param_1 + 0x60); + if (local_30 != (undefined8 *)0x0) { + local_28 = (undefined8 *)*local_30; + goto joined_r0x00014003c556; + } + } + local_28 = (undefined8 *)0x0; +joined_r0x00014003c556: + while( true ) { + if (local_28 == (undefined8 *)0x0) { + FUN_14003d0d0((longlong)piVar1); + return 0; + } + if (((ulonglong *)local_28[2])[1] == param_2) break; + local_28 = (undefined8 *)*local_28; + while (local_28 == (undefined8 *)0x0) { + local_30 = local_30 + 1; + local_28 = (undefined8 *)*local_30; + } + if (local_30 == local_28) { + local_28 = (undefined8 *)0x0; + } + } + uVar2 = *(ulonglong *)local_28[2]; + FUN_14003d0d0((longlong)piVar1); + return uVar2 & 0xffffffff; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003c5c0.c b/decomp/AgentManager_Release_x64/full/functions/0x14003c5c0.c new file mode 100644 index 00000000..749df2d2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003c5c0.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003c5c0 FUN_14003c5c0 + * Pseudocode, not original source. */ + +void FUN_14003c5c0(longlong param_1,undefined8 param_2) + +{ + undefined8 *local_18; + undefined8 *local_10; + + FUN_14003d040((int *)(param_1 + 0x70)); + if (*(longlong *)(param_1 + 0x50) == 0) { + local_18 = (undefined8 *)0x0; + } + else { + local_18 = *(undefined8 **)(param_1 + 0x60); + if (local_18 != (undefined8 *)0x0) { + local_10 = (undefined8 *)*local_18; + goto joined_r0x00014003c625; + } + } + local_10 = (undefined8 *)0x0; +joined_r0x00014003c625: + while (local_10 != (undefined8 *)0x0) { + Ordinal_19(*(undefined8 *)(local_10[2] + 8),param_2,0x208,0); + for (local_10 = (undefined8 *)*local_10; local_10 == (undefined8 *)0x0; + local_10 = (undefined8 *)*local_10) { + local_10 = local_18 + 1; + local_18 = local_18 + 1; + } + if (local_18 == local_10) { + local_10 = (undefined8 *)0x0; + } + } + FUN_14003d0d0(param_1 + 0x70); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003c690.c b/decomp/AgentManager_Release_x64/full/functions/0x14003c690.c new file mode 100644 index 00000000..76474cf1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003c690.c @@ -0,0 +1,25 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003c690 FUN_14003c690 + * Pseudocode, not original source. */ + +undefined8 * FUN_14003c690(undefined8 *param_1) + +{ + undefined8 *puVar1; + + puVar1 = (undefined8 *)*param_1; + if (puVar1 == (undefined8 *)0x0) { + puVar1 = (undefined8 *)FUN_14000e270(param_1); + } + else { + *param_1 = *puVar1; + } + if (puVar1 == (undefined8 *)0x0) { + puVar1 = (undefined8 *)0x0; + } + else { + *puVar1 = 0; + } + return puVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003c6e0.c b/decomp/AgentManager_Release_x64/full/functions/0x14003c6e0.c new file mode 100644 index 00000000..a402bfdf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003c6e0.c @@ -0,0 +1,64 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003c6e0 FUN_14003c6e0 + * Pseudocode, not original source. */ + +void FUN_14003c6e0(undefined8 *param_1) + +{ + ulonglong uVar1; + undefined8 *puVar2; + longlong lVar3; + void *pvVar4; + ulonglong uVar5; + ulonglong uVar6; + ulonglong uVar7; + undefined8 *puVar8; + undefined8 *puVar9; + void *local_48; + longlong lStack_40; + undefined8 *local_38; + longlong lStack_30; + + if (param_1[1] != 0) { + uVar1 = param_1[3]; + puVar9 = (undefined8 *)*param_1; + uVar5 = uVar1; + uVar7 = 8; + do { + uVar6 = uVar7; + uVar7 = uVar5 % uVar6; + uVar5 = uVar6; + } while (uVar7 != 0); + local_38 = (undefined8 *)param_1[1]; + lStack_30 = param_1[2]; + do { + puVar2 = *(undefined8 **)(lStack_30 + -0x10 + (longlong)local_38); + lVar3 = *(longlong *)(lStack_30 + -8 + (longlong)local_38); + for (puVar8 = local_38; puVar8 != (undefined8 *)(lStack_30 + -0x10 + (longlong)local_38); + puVar8 = puVar8 + uVar1 / uVar6) { + if (puVar8 == puVar9) { + puVar9 = (undefined8 *)*puVar9; + } + } + operator_delete__(local_38); + local_38 = puVar2; + lStack_30 = lVar3; + } while (puVar2 != (undefined8 *)0x0); + param_1[1] = 0; + } + lStack_40 = param_1[2]; + local_48 = (void *)param_1[1]; + if ((void *)param_1[1] != (void *)0x0) { + do { + pvVar4 = *(void **)(lStack_40 + -0x10 + (longlong)local_48); + lStack_40 = *(longlong *)(lStack_40 + -8 + (longlong)local_48); + operator_delete__(local_48); + local_48 = pvVar4; + } while (pvVar4 != (void *)0x0); + param_1[1] = 0; + *param_1 = 0; + param_1[4] = param_1[5]; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003c840.c b/decomp/AgentManager_Release_x64/full/functions/0x14003c840.c new file mode 100644 index 00000000..167f938e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003c840.c @@ -0,0 +1,49 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003c840 FUN_14003c840 + * Pseudocode, not original source. */ + +longlong * FUN_14003c840(longlong *param_1,longlong *param_2,undefined4 *param_3) + +{ + undefined8 *puVar1; + longlong *plVar2; + char *local_res8; + undefined **local_40 [3]; + longlong *local_28; + undefined8 *local_20; + undefined1 local_18; + undefined1 uStack_17; + undefined6 uStack_16; + + local_20 = (undefined8 *)0x0; + local_18 = 0; + uStack_17 = 0; + local_28 = param_1; + puVar1 = operator_new(0x18); + if (puVar1 != (undefined8 *)0x0) { + *puVar1 = 0; + puVar1[1] = puVar1; + puVar1[2] = CONCAT62(uStack_16,CONCAT11(uStack_17,local_18)); + local_18 = 1; + if (puVar1 + 1 != (undefined8 *)0x0) { + *(undefined4 *)(puVar1 + 1) = *param_3; + puVar1[2] = *(undefined8 *)(param_3 + 2); + } + uStack_17 = 1; + local_20 = puVar1; + plVar2 = FUN_14003b8b0(param_1,(longlong *)local_40,(longlong)&local_28); + *param_2 = *plVar2; + param_2[1] = plVar2[1]; + *(undefined1 *)(param_2 + 2) = 1; + if (local_20 != (undefined8 *)0x0) { + operator_delete(local_20); + } + return param_2; + } + local_res8 = (char *)0x0; + std::exception::exception((exception *)local_40,&local_res8); + local_40[0] = std::bad_alloc::vftable; + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_40,(ThrowInfo *)&DAT_14016c158); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003c950.c b/decomp/AgentManager_Release_x64/full/functions/0x14003c950.c new file mode 100644 index 00000000..cedf1a27 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003c950.c @@ -0,0 +1,68 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003c950 FUN_14003c950 + * Pseudocode, not original source. */ + +undefined8 FUN_14003c950(longlong *param_1,int *param_2) + +{ + ushort uVar1; + int iVar2; + undefined8 uVar3; + int iVar4; + int iVar5; + + EnterCriticalSection((LPCRITICAL_SECTION)(param_1 + 4)); + iVar5 = *param_2; + iVar4 = (int)param_1[1]; + uVar1 = *(ushort *)((longlong)param_2 + 2); + *(int *)(param_1 + 9) = iVar5; + if (iVar4 - *(int *)((longlong)param_1 + 0x14) < iVar5) { + LeaveCriticalSection((LPCRITICAL_SECTION)(param_1 + 4)); + uVar3 = 0; + } + else { + iVar2 = (int)param_1[2]; + if (iVar4 < iVar2 + iVar5) { + iVar4 = iVar4 - iVar2; + *(int *)((longlong)param_1 + 0x4c) = iVar4; + *(int *)(param_1 + 10) = iVar5 - iVar4; + memcpy((void *)((longlong)iVar2 + *param_1),param_2,(longlong)iVar4); + memcpy((void *)*param_1, + (void *)((longlong)*(int *)((longlong)param_1 + 0x4c) + (longlong)param_2), + (longlong)(int)param_1[10]); + *(int *)(param_1 + 2) = (int)param_1[10]; + } + else { + memcpy((void *)((longlong)iVar2 + *param_1),param_2,(longlong)iVar5); + *(int *)(param_1 + 2) = (int)param_1[2] + (int)param_1[9]; + iVar5 = (int)param_1[2]; + if (iVar5 == (int)param_1[1]) { + iVar5 = 0; + } + *(int *)(param_1 + 2) = iVar5; + } + *(int *)(param_1 + 3) = (int)param_1[3] + 1; + iVar5 = (int)param_1[3]; + *(int *)((longlong)param_1 + 0x14) = *(int *)((longlong)param_1 + 0x14) + (int)param_1[9]; + if (uVar1 < 0x2329) { + if (DAT_14017cea0 < iVar5) { + DAT_14017cea0 = iVar5; + } + if (DAT_14017cea8 < *(int *)((longlong)param_1 + 0x14)) { + DAT_14017cea8 = *(int *)((longlong)param_1 + 0x14); + } + } + else { + if (DAT_14017cea4 < iVar5) { + DAT_14017cea4 = iVar5; + } + if (DAT_14017ceac < *(int *)((longlong)param_1 + 0x14)) { + DAT_14017ceac = *(int *)((longlong)param_1 + 0x14); + } + } + LeaveCriticalSection((LPCRITICAL_SECTION)(param_1 + 4)); + uVar3 = 1; + } + return uVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003ca90.c b/decomp/AgentManager_Release_x64/full/functions/0x14003ca90.c new file mode 100644 index 00000000..eb07912c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003ca90.c @@ -0,0 +1,129 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003ca90 FUN_14003ca90 + * Pseudocode, not original source. */ + +void FUN_14003ca90(longlong param_1) + +{ + undefined3 *_Src; + int iVar1; + int iVar2; + ulonglong uVar3; + longlong lVar4; + ulonglong *puVar5; + char *pcVar6; + char *pcVar7; + undefined8 *puVar8; + bool bVar9; + undefined1 auStackY_4c8 [32]; + ulonglong *local_488; + undefined3 local_480; + undefined1 local_47d; + DWORD local_47c [3]; + LPOVERLAPPED local_470; + undefined1 local_468 [4]; + int iStack_464; + undefined1 local_460 [520]; + int local_258; + int local_254; + undefined1 local_250 [512]; + undefined4 local_50; + undefined4 local_48; + undefined1 uStack_44; + undefined1 local_43; + undefined4 local_40; + undefined1 uStack_3c; + undefined1 local_3b; + ulonglong local_38; + + local_38 = DAT_14016f5a0 ^ (ulonglong)auStackY_4c8; + puVar8 = (undefined8 *)0x0; + if (param_1 != 0) { + puVar8 = *(undefined8 **)(param_1 + 0x58); + } + local_47c[0] = 0; + local_488 = (ulonglong *)0x0; + local_47c[1] = 0; + local_470 = (LPOVERLAPPED)0x0; +LAB_14003caf0: + do { + do { + while (GetQueuedCompletionStatus + (*(HANDLE *)(param_1 + 0x18),local_47c,(PULONG_PTR)&local_488,&local_470, + 0xffffffff), puVar5 = local_488, local_47c[0] == 0) { + Ordinal_3(*local_488); + if (puVar8 != (undefined8 *)0x0) { + FUN_14003c270(puVar8,*local_488); + } + free(local_488); + } + } while ((LPOVERLAPPED)(local_488 + 7) != local_470); + memset(local_460,0,0x200); + bVar9 = true; + local_47d = 0; + _Src = (undefined3 *)puVar5[0x4d]; + lVar4 = 4; + local_480 = *_Src; + pcVar6 = (char *)&local_480; + pcVar7 = "PHP"; + do { + if (lVar4 == 0) break; + lVar4 = lVar4 + -1; + bVar9 = *pcVar6 == *pcVar7; + pcVar6 = pcVar6 + 1; + pcVar7 = pcVar7 + 1; + } while (bVar9); + if (!bVar9) { + memcpy(local_468,_Src,0x208); + iVar1 = iStack_464; + if (iStack_464 == 1) { + iStack_464 = 1; + memcpy(puVar5 + 0xb,local_468,0x208); + *(undefined4 *)(local_488 + 0x4c) = 0x208; + local_488[0x4d] = (ulonglong)(local_488 + 0xb); + WSASend(*local_488,local_488 + 0x4c,1,0); + puVar5 = local_488; + iVar1 = 1; + } + local_47c[1] = 0; +LAB_14003cce6: + puVar5[7] = 0; + puVar5[8] = 0; + puVar5[9] = 0; + puVar5[10] = 0; + *(undefined4 *)(local_488 + 0x4c) = 0x208; + local_488[0x4d] = (ulonglong)(local_488 + 0xb); + iVar2 = WSARecv(*local_488,local_488 + 0x4c,1); + if (iVar2 == -1) { + Ordinal_111(); + } + if ((iVar1 != 0) && (puVar8 != (undefined8 *)0x0)) { + memset(local_250,0,0x200); + local_258 = 0x20c; + uVar3 = FUN_14003c4f0((longlong)puVar8,*local_488); + local_50 = (undefined4)uVar3; + local_254 = iVar1; + memcpy(local_250,local_460,0x200); + FUN_14003c950(*(longlong **)(param_1 + 8),&local_258); + } + goto LAB_14003caf0; + } + local_3b = 0; + local_43 = 0; + local_40 = *(undefined4 *)((longlong)_Src + 3); + uStack_3c = *(undefined1 *)((longlong)_Src + 7); + local_48 = *(undefined4 *)(_Src + 2); + uStack_44 = *(undefined1 *)(_Src + 3); + iVar1 = atoi((char *)&local_40); + iVar2 = atoi((char *)&local_48); + puVar5 = local_488; + if (iVar2 < 0x401) { + iStack_464 = iVar1; + memcpy(local_460,(void *)(local_488[0x4d] + 0xd),(longlong)(iVar2 + -1)); + iVar1 = iStack_464; + goto LAB_14003cce6; + } + printf("API SERVER - RECEIVE PACKET ERROR (PACKET_SIZE > 1024)\n"); + } while( true ); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003cdd0.c b/decomp/AgentManager_Release_x64/full/functions/0x14003cdd0.c new file mode 100644 index 00000000..c0b92e7c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003cdd0.c @@ -0,0 +1,73 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003cdd0 FUN_14003cdd0 + * Pseudocode, not original source. */ + +/* WARNING: Type propagation algorithm not settling */ + +void FUN_14003cdd0(longlong param_1) + +{ + int *piVar1; + longlong lVar2; + HANDLE FileHandle; + longlong *plVar3; + undefined8 *puVar4; + undefined1 auStack_d8 [32]; + int *local_b8; + longlong *local_b0; + undefined8 local_a8; + int local_98 [4]; + longlong *local_88; + undefined8 local_78; + int *local_70; + undefined1 local_68; + longlong local_60 [3]; + undefined8 local_48 [3]; + undefined1 local_30 [16]; + ulonglong local_20; + + local_78 = 0xfffffffffffffffe; + local_20 = DAT_14016f5a0 ^ (ulonglong)auStack_d8; + puVar4 = (undefined8 *)0x0; + if (param_1 != 0) { + puVar4 = *(undefined8 **)(param_1 + 0x58); + } + do { + local_98[0] = 0x10; + FileHandle = (HANDLE)Ordinal_1(*(undefined8 *)(param_1 + 0x20),local_30,local_98); + plVar3 = malloc(0x270); + *plVar3 = (longlong)FileHandle; + memcpy(plVar3 + 1,local_30,(longlong)local_98[0]); + CreateIoCompletionPort(FileHandle,*(HANDLE *)(param_1 + 0x18),(ulonglong)plVar3 & 0xffffffff,0); + local_b0 = plVar3 + 7; + *local_b0 = 0; + plVar3[8] = 0; + plVar3[9] = 0; + plVar3[10] = 0; + *(undefined4 *)(plVar3 + 0x4c) = 0x208; + plVar3[0x4d] = (longlong)(plVar3 + 0xb); + local_98[1] = 0; + local_a8 = 0; + local_b8 = local_98 + 1; + WSARecv(*plVar3,plVar3 + 0x4c,1); + lVar2 = *plVar3; + piVar1 = (int *)(puVar4 + 0xe); + local_70 = piVar1; + FUN_14003d040(piVar1); + local_68 = 1; + *(int *)(puVar4 + 0x15) = *(int *)(puVar4 + 0x15) + 1; + local_88 = FUN_14003c690(puVar4); + *local_88 = (longlong)*(int *)(puVar4 + 0x15); + local_88[1] = lVar2; + local_98[2] = *(int *)(puVar4 + 0x15); + if (puVar4[10] == 0) { + FUN_14003c840(puVar4 + 6,local_60,local_98 + 2); + } + else { + FUN_14000e3f0(puVar4 + 6,local_48,local_98 + 2,local_98 + 2); + } + printf("ApiSocket Join [Now:%d] !!!\n"); + FUN_14003d0d0((longlong)piVar1); + } while( true ); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003cf60.c b/decomp/AgentManager_Release_x64/full/functions/0x14003cf60.c new file mode 100644 index 00000000..5f6420a8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003cf60.c @@ -0,0 +1,53 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003cf60 FUN_14003cf60 + * Pseudocode, not original source. */ + +undefined4 * +FUN_14003cf60(undefined4 *param_1,ulonglong param_2,undefined8 param_3,undefined8 param_4) + +{ + DWORD DVar1; + int iVar2; + BOOL BVar3; + undefined *puVar4; + ulonglong uVar5; + ulonglong uVar6; + char cVar7; + exception local_58 [80]; + + cVar7 = (char)param_3; + uVar6 = param_2 & 0xffffffff; + *(undefined1 *)(param_1 + 0xc) = 0; + *param_1 = 0x3faf713; + DVar1 = FUN_14003df50(); + uVar5 = 0; + if (DVar1 == 1) { + uVar6 = uVar5; + } + if ((cVar7 != '\0') && + (puVar4 = FUN_14003e0c0(0,param_2,param_3,param_4), *(longlong *)(puVar4 + 0x50) != 0)) { + puVar4 = FUN_14003e0c0(uVar5,param_2,param_3,param_4); + iVar2 = (**(code **)(puVar4 + 0x50))(param_1 + 2,uVar6,0x1000000); + if (iVar2 != 0) { + return param_1; + } + FUN_14003db10(local_58,L"InitializeCriticalSectionEx Failure!", + L"Proud::CriticalSection::CriticalSection",param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + if ((DWORD)uVar6 == 0) { + InitializeCriticalSection((LPCRITICAL_SECTION)(param_1 + 2)); + } + else { + BVar3 = InitializeCriticalSectionAndSpinCount((LPCRITICAL_SECTION)(param_1 + 2),(DWORD)uVar6); + if (BVar3 == 0) { + FUN_14003db10(local_58,L"InitializeCriticalSectionEx Failure!", + L"Proud::CriticalSection::CriticalSection",param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003d040.c b/decomp/AgentManager_Release_x64/full/functions/0x14003d040.c new file mode 100644 index 00000000..8782ee8b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003d040.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003d040 FUN_14003d040 + * Pseudocode, not original source. */ + +void FUN_14003d040(int *param_1) + +{ + if (*param_1 != 0x3faf713) { + FUN_14003e110( + L"Cannot enter critical section which has been already destroyed! NOTE: This may be solved by deleting CNetClient instance before your WinMain() finishes working." + ); + } + /* WARNING: Could not recover jumptable at 0x00014003d066. Too many branches */ + /* WARNING: Treating indirect jump as call */ + EnterCriticalSection((LPCRITICAL_SECTION)(param_1 + 2)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003d070.c b/decomp/AgentManager_Release_x64/full/functions/0x14003d070.c new file mode 100644 index 00000000..34a29d67 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003d070.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003d070 FUN_14003d070 + * Pseudocode, not original source. */ + +void FUN_14003d070(int *param_1) + +{ + if (*param_1 == 0x3faf713) { + EnterCriticalSection((LPCRITICAL_SECTION)(param_1 + 2)); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003d090.c b/decomp/AgentManager_Release_x64/full/functions/0x14003d090.c new file mode 100644 index 00000000..b47957ae --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003d090.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003d090 FUN_14003d090 + * Pseudocode, not original source. */ + +bool FUN_14003d090(int *param_1) + +{ + BOOL BVar1; + + if (*param_1 != 0x3faf713) { + FUN_14003e110( + L"Lock invalid critical section is prohibited! NOTE: This may be solved by manually destroying ProudNet related objects if they are defined as Global Objects." + ); + } + BVar1 = TryEnterCriticalSection((LPCRITICAL_SECTION)(param_1 + 2)); + return BVar1 != 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003d0d0.c b/decomp/AgentManager_Release_x64/full/functions/0x14003d0d0.c new file mode 100644 index 00000000..a502d3c2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003d0d0.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003d0d0 FUN_14003d0d0 + * Pseudocode, not original source. */ + +void FUN_14003d0d0(longlong param_1) + +{ + /* WARNING: Could not recover jumptable at 0x00014003d0d4. Too many branches */ + /* WARNING: Treating indirect jump as call */ + LeaveCriticalSection((LPCRITICAL_SECTION)(param_1 + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003d0e0.c b/decomp/AgentManager_Release_x64/full/functions/0x14003d0e0.c new file mode 100644 index 00000000..14b98932 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003d0e0.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003d0e0 FUN_14003d0e0 + * Pseudocode, not original source. */ + +bool FUN_14003d0e0(int *param_1) + +{ + return *param_1 == 0x3faf713; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003d0f0.c b/decomp/AgentManager_Release_x64/full/functions/0x14003d0f0.c new file mode 100644 index 00000000..e1e4ff02 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003d0f0.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003d0f0 FUN_14003d0f0 + * Pseudocode, not original source. */ + +bool FUN_14003d0f0(longlong param_1) + +{ + DWORD DVar1; + + DVar1 = GetCurrentThreadId(); + return *(ulonglong *)(param_1 + 0x10) == (ulonglong)DVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003d110.c b/decomp/AgentManager_Release_x64/full/functions/0x14003d110.c new file mode 100644 index 00000000..bf4a561d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003d110.c @@ -0,0 +1,27 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003d110 FUN_14003d110 + * Pseudocode, not original source. */ + +void FUN_14003d110(undefined4 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + exception local_58 [80]; + + if (*(char *)(param_1 + 0xc) == '\0') { + if ((*(longlong *)(param_1 + 6) != 0) && (*(longlong *)(param_1 + 6) != -1)) { + FUN_14003db10(local_58,L"Critical section is still in use! Destruction may cause problems!", + param_3,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + DeleteCriticalSection((LPCRITICAL_SECTION)(param_1 + 2)); + *param_1 = 0; + *(undefined8 *)(param_1 + 2) = 0; + *(undefined8 *)(param_1 + 4) = 0; + *(undefined8 *)(param_1 + 6) = 0; + *(undefined8 *)(param_1 + 8) = 0; + *(undefined8 *)(param_1 + 10) = 0; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003d190.c b/decomp/AgentManager_Release_x64/full/functions/0x14003d190.c new file mode 100644 index 00000000..910fbdc3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003d190.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003d190 FUN_14003d190 + * Pseudocode, not original source. */ + +bool FUN_14003d190(longlong param_1) + +{ + DWORD DVar1; + + DVar1 = GetCurrentThreadId(); + return *(ulonglong *)(param_1 + 0x18) == (ulonglong)DVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003d1b0.c b/decomp/AgentManager_Release_x64/full/functions/0x14003d1b0.c new file mode 100644 index 00000000..aa4dcbf0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003d1b0.c @@ -0,0 +1,50 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003d1b0 FUN_14003d1b0 + * Pseudocode, not original source. */ + +void FUN_14003d1b0(longlong *param_1,int param_2,void *param_3,int param_4) + +{ + void *pvVar1; + + if (param_1 == (longlong *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80070057); + } + if (param_2 < 0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80070057); + } + if (param_3 == (void *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80070057); + } + pvVar1 = (void *)*param_1; + if (pvVar1 == param_3) { + if (param_2 <= param_4) { + *param_1 = (longlong)param_3; + goto LAB_14003d241; + } + pvVar1 = calloc((longlong)param_2,1); + } + else { + if (param_2 <= param_4) { + free(pvVar1); + *param_1 = (longlong)param_3; + goto LAB_14003d241; + } + pvVar1 = _recalloc(pvVar1,(longlong)param_2,1); + if (pvVar1 == (void *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x8007000e); + } + } + *param_1 = (longlong)pvVar1; +LAB_14003d241: + if (*param_1 == 0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x8007000e); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003d260.c b/decomp/AgentManager_Release_x64/full/functions/0x14003d260.c new file mode 100644 index 00000000..d4d43269 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003d260.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003d260 FUN_14003d260 + * Pseudocode, not original source. */ + +void FUN_14003d260(undefined8 *param_1) + +{ + if ((undefined8 *)*param_1 != param_1 + 1) { + free((undefined8 *)*param_1); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003d280.c b/decomp/AgentManager_Release_x64/full/functions/0x14003d280.c new file mode 100644 index 00000000..a79a965e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003d280.c @@ -0,0 +1,42 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003d280 FUN_14003d280 + * Pseudocode, not original source. */ + +void FUN_14003d280(longlong *param_1,LPCWSTR param_2,UINT param_3) + +{ + code *pcVar1; + int iVar2; + int iVar3; + DWORD DVar4; + bool bVar5; + + if (param_2 == (LPCWSTR)0x0) { + *param_1 = 0; + return; + } + iVar2 = lstrlenW(param_2); + iVar2 = iVar2 + 1; + FUN_14003d1b0(param_1,iVar2 * 4,param_1 + 1,0x80); + iVar3 = WideCharToMultiByte(param_3,0,param_2,iVar2,(LPSTR)*param_1,iVar2 * 4,(LPCSTR)0x0, + (LPBOOL)0x0); + if (iVar3 == 0) { + DVar4 = GetLastError(); + bVar5 = true; + if (DVar4 == 0x7a) { + iVar3 = WideCharToMultiByte(param_3,0,param_2,iVar2,(LPSTR)0x0,0,(LPCSTR)0x0,(LPBOOL)0x0); + FUN_14003d1b0(param_1,iVar3,param_1 + 1,0x80); + iVar2 = WideCharToMultiByte(param_3,0,param_2,iVar2,(LPSTR)*param_1,iVar3,(LPCSTR)0x0, + (LPBOOL)0x0); + bVar5 = iVar2 == 0; + } + if (bVar5) { + FUN_1400050f0(); + pcVar1 = (code *)swi(3); + (*pcVar1)(); + return; + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003d3c0.c b/decomp/AgentManager_Release_x64/full/functions/0x14003d3c0.c new file mode 100644 index 00000000..ebd354dc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003d3c0.c @@ -0,0 +1,45 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003d3c0 FUN_14003d3c0 + * Pseudocode, not original source. */ + +void FUN_14003d3c0(longlong *param_1,int param_2) + +{ + int *piVar1; + undefined *puVar2; + int iVar3; + int iVar4; + + puVar2 = (undefined *)*param_1; + iVar4 = 0; + if (0 < param_2) { + iVar4 = param_2; + } + if (puVar2 == (undefined *)0x0) { + iVar3 = 0; + } + else if (puVar2 == PTR_DAT_14016f008) { + iVar3 = 0; + } + else { + iVar3 = *(int *)(puVar2 + -8); + } + if (iVar3 <= iVar4) { + if (puVar2 == (undefined *)0x0) { + iVar4 = 0; + } + else if (puVar2 == PTR_DAT_14016f008) { + iVar4 = 0; + } + else { + iVar4 = *(int *)(puVar2 + -8); + } + } + if (((puVar2 != PTR_DAT_14016f008) && (puVar2 != (undefined *)0x0)) && + (piVar1 = (int *)(puVar2 + -8), piVar1 != (int *)0x0)) { + *piVar1 = iVar4; + *(undefined1 *)((longlong)iVar4 + 8 + (longlong)piVar1) = 0; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003d430.c b/decomp/AgentManager_Release_x64/full/functions/0x14003d430.c new file mode 100644 index 00000000..008b0608 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003d430.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003d430 FUN_14003d430 + * Pseudocode, not original source. */ + +undefined * FUN_14003d430(longlong param_1) + +{ + undefined *puVar1; + + puVar1 = *(undefined **)(param_1 + 0x40); + if (*(undefined **)(param_1 + 0x40) == (undefined *)0x0) { + puVar1 = PTR_DAT_14016f008; + } + return puVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003d440.c b/decomp/AgentManager_Release_x64/full/functions/0x14003d440.c new file mode 100644 index 00000000..07c59039 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003d440.c @@ -0,0 +1,51 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003d440 FUN_14003d440 + * Pseudocode, not original source. */ + +void FUN_14003d440(longlong *param_1) + +{ + int *piVar1; + undefined *puVar2; + int iVar3; + int iVar4; + char *pcVar5; + + pcVar5 = (char *)*param_1; + if ((char *)*param_1 == (char *)0x0) { + pcVar5 = PTR_DAT_14016f008; + } + iVar3 = FUN_14003e6e0(pcVar5); + iVar4 = 0; + if (0 < iVar3) { + iVar4 = iVar3; + } + puVar2 = (undefined *)*param_1; + if (puVar2 == (undefined *)0x0) { + iVar3 = 0; + } + else if (puVar2 == PTR_DAT_14016f008) { + iVar3 = 0; + } + else { + iVar3 = *(int *)(puVar2 + -8); + } + if (iVar3 <= iVar4) { + if (puVar2 == (undefined *)0x0) { + iVar4 = 0; + } + else if (puVar2 == PTR_DAT_14016f008) { + iVar4 = 0; + } + else { + iVar4 = *(int *)(puVar2 + -8); + } + } + if (((puVar2 != PTR_DAT_14016f008) && (puVar2 != (undefined *)0x0)) && + (piVar1 = (int *)(puVar2 + -8), piVar1 != (int *)0x0)) { + *piVar1 = iVar4; + *(undefined1 *)((longlong)iVar4 + 8 + (longlong)piVar1) = 0; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003d4c0.c b/decomp/AgentManager_Release_x64/full/functions/0x14003d4c0.c new file mode 100644 index 00000000..b22c1ec7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003d4c0.c @@ -0,0 +1,71 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003d4c0 FUN_14003d4c0 + * Pseudocode, not original source. */ + +void FUN_14003d4c0(longlong *param_1) + +{ + undefined8 *puVar1; + int *piVar2; + int iVar3; + int iVar4; + undefined *puVar5; + undefined8 in_R8; + undefined8 in_R9; + exception local_58 [80]; + + puVar5 = (undefined *)*param_1; + if (puVar5 == (undefined *)0x0) { + *param_1 = (longlong)PTR_DAT_14016f008; + } + else if ((puVar5 != PTR_DAT_14016f008) && ((int *)(puVar5 + -8) != (int *)0x0)) { + if (*(int *)(puVar5 + -4) < 2) { + return; + } + iVar3 = *(int *)(puVar5 + -8); + if (iVar3 < 0) { + FUN_14003db10(local_58,L"An invalid argument is detected!",in_R8,in_R9); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + piVar2 = (int *)FUN_14003e840((longlong)iVar3 + 9); + iVar3 = 0; + if (piVar2 != (int *)0x0) { + *piVar2 = 0; + piVar2[1] = 1; + } + puVar5 = (undefined *)*param_1; + if (puVar5 == (undefined *)0x0) { + iVar4 = 0; + } + else { + iVar4 = iVar3; + if (puVar5 != PTR_DAT_14016f008) { + iVar4 = *(int *)(puVar5 + -8); + } + } + *piVar2 = iVar4; + puVar5 = (undefined *)*param_1; + if ((puVar5 != (undefined *)0x0) && (puVar5 != PTR_DAT_14016f008)) { + iVar3 = *(int *)(puVar5 + -8); + } + if (puVar5 == (undefined *)0x0) { + puVar5 = PTR_DAT_14016f008; + } + FUN_14003e710(piVar2 + 2,puVar5,iVar3); + FUN_140006e80(param_1); + *param_1 = (longlong)(piVar2 + 2); + return; + } + puVar1 = (undefined8 *)FUN_14003e840(9); + *puVar1 = 0; + *(undefined1 *)(puVar1 + 1) = 0; + if (puVar1 != (undefined8 *)0x0) { + *(undefined4 *)puVar1 = 0; + *(undefined4 *)((longlong)puVar1 + 4) = 1; + } + *(undefined1 *)(puVar1 + 1) = 0; + *param_1 = (longlong)(puVar1 + 1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003d5d0.c b/decomp/AgentManager_Release_x64/full/functions/0x14003d5d0.c new file mode 100644 index 00000000..460a655f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003d5d0.c @@ -0,0 +1,72 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003d5d0 FUN_14003d5d0 + * Pseudocode, not original source. */ + +void FUN_14003d5d0(longlong *param_1,int param_2) + +{ + undefined *puVar1; + int *piVar2; + int iVar3; + undefined8 in_R8; + undefined8 in_R9; + exception local_58 [80]; + + puVar1 = (undefined *)*param_1; + if ((undefined *)*param_1 == (undefined *)0x0) { + puVar1 = PTR_DAT_14016f008; + } + *param_1 = (longlong)puVar1; + if (param_2 < 0) { + FUN_14003db10(local_58,L"An invalid argument is detected!",in_R8,in_R9); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + if (param_2 == 0) { + FUN_140006e80(param_1); + return; + } + iVar3 = 0; + if (puVar1 != (undefined *)0x0) { + if (puVar1 == PTR_DAT_14016f008) { + iVar3 = 0; + } + else { + iVar3 = *(int *)(puVar1 + -8); + } + } + if (param_2 != iVar3) { + piVar2 = (int *)FUN_14003e840((longlong)param_2 + 9); + if (piVar2 != (int *)0x0) { + *piVar2 = 0; + piVar2[1] = 1; + } + *piVar2 = param_2; + puVar1 = (undefined *)*param_1; + if (puVar1 == (undefined *)0x0) { + iVar3 = 0; + } + else if (puVar1 == PTR_DAT_14016f008) { + iVar3 = 0; + } + else { + iVar3 = *(int *)(puVar1 + -8); + } + if (iVar3 <= param_2) { + if ((puVar1 == (undefined *)0x0) || (puVar1 == PTR_DAT_14016f008)) { + param_2 = 0; + } + else { + param_2 = *(int *)(puVar1 + -8); + } + } + if (puVar1 == (undefined *)0x0) { + puVar1 = PTR_DAT_14016f008; + } + FUN_14003e710(piVar2 + 2,puVar1,param_2); + FUN_140006e80(param_1); + *param_1 = (longlong)(piVar2 + 2); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003d6e0.c b/decomp/AgentManager_Release_x64/full/functions/0x14003d6e0.c new file mode 100644 index 00000000..ac4cf93c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003d6e0.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003d6e0 FUN_14003d6e0 + * Pseudocode, not original source. */ + +void FUN_14003d6e0(exception *param_1) + +{ + *(undefined ***)param_1 = Proud::Exception::vftable; + FUN_140006e80((longlong *)(param_1 + 0x40)); + /* WARNING: Could not recover jumptable at 0x00014003d712. Too many branches */ + /* WARNING: Treating indirect jump as call */ + std::exception::~exception(param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003d720.c b/decomp/AgentManager_Release_x64/full/functions/0x14003d720.c new file mode 100644 index 00000000..338f82a5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003d720.c @@ -0,0 +1,23 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003d720 FUN_14003d720 + * Pseudocode, not original source. */ + +exception * +FUN_14003d720(exception *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + exception *peVar1; + undefined8 uVar2; + + peVar1 = param_1; + uVar2 = param_2; + std::exception::exception(param_1); + *(undefined ***)param_1 = Proud::Exception::vftable; + FUN_14003e7c0(peVar1,uVar2,param_3,param_4); + *(undefined **)(param_1 + 0x40) = PTR_DAT_14016f008; + *(undefined8 *)(param_1 + 0x20) = param_2; + *(undefined4 *)(param_1 + 0x18) = 0; + *(undefined4 *)(param_1 + 0x38) = 4; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003d780.c b/decomp/AgentManager_Release_x64/full/functions/0x14003d780.c new file mode 100644 index 00000000..66b0c51c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003d780.c @@ -0,0 +1,39 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003d780 FUN_14003d780 + * Pseudocode, not original source. */ + +undefined * FUN_14003d780(longlong *param_1,int param_2) + +{ + int iVar1; + undefined *puVar2; + int iVar3; + + puVar2 = (undefined *)*param_1; + iVar3 = 0; + if ((puVar2 != (undefined *)0x0) && (puVar2 != PTR_DAT_14016f008)) { + iVar3 = *(int *)(puVar2 + -8); + } + if (((param_2 <= iVar3) && (param_2 = 0, puVar2 != (undefined *)0x0)) && + (puVar2 != PTR_DAT_14016f008)) { + param_2 = *(int *)(puVar2 + -8); + } + iVar3 = 1; + if (1 < param_2) { + iVar3 = param_2; + } + iVar1 = 0; + if ((puVar2 != (undefined *)0x0) && (iVar1 = 0, puVar2 != PTR_DAT_14016f008)) { + iVar1 = *(int *)(puVar2 + -8); + } + if (iVar1 < iVar3) { + FUN_14003d5d0(param_1,iVar3); + } + FUN_14003d4c0(param_1); + puVar2 = (undefined *)*param_1; + if ((undefined *)*param_1 == (undefined *)0x0) { + puVar2 = PTR_DAT_14016f008; + } + return puVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003d800.c b/decomp/AgentManager_Release_x64/full/functions/0x14003d800.c new file mode 100644 index 00000000..5e37bb1e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003d800.c @@ -0,0 +1,26 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003d800 FUN_14003d800 + * Pseudocode, not original source. */ + +longlong * FUN_14003d800(longlong *param_1,char *param_2,undefined8 param_3,undefined8 param_4) + +{ + int iVar1; + undefined *puVar2; + int iVar3; + int iVar4; + + FUN_14003e7c0(param_1,param_2,param_3,param_4); + *param_1 = (longlong)PTR_DAT_14016f008; + iVar1 = FUN_14003e6e0(param_2); + iVar3 = (int)param_3; + iVar4 = iVar1; + if ((0 < iVar3) && (iVar4 = iVar3, iVar1 < iVar3)) { + iVar4 = iVar1; + } + puVar2 = FUN_14003d780(param_1,iVar4); + FUN_14003e710(puVar2,param_2,iVar4); + FUN_14003d440(param_1); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003d880.c b/decomp/AgentManager_Release_x64/full/functions/0x14003d880.c new file mode 100644 index 00000000..6de3ead7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003d880.c @@ -0,0 +1,32 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003d880 FUN_14003d880 + * Pseudocode, not original source. */ + +undefined8 * +FUN_14003d880(longlong param_1,undefined8 *param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 uVar1; + undefined8 *puVar2; + undefined8 local_res8; + + local_res8 = 0; + if (*(longlong *)(param_1 + 0x10) != 0) { + (**(code **)(**(longlong **)(param_1 + 0x10) + 0x28)) + (*(longlong **)(param_1 + 0x10),&local_res8,param_3,param_4,0xfffffffffffffffe); + } + uVar1 = local_res8; + puVar2 = operator_new(0x18); + if (puVar2 != (undefined8 *)0x0) { + puVar2[1] = 0; + *(undefined4 *)(puVar2 + 2) = 1; + *puVar2 = uVar1; + } + *param_2 = puVar2; + if (puVar2 == (undefined8 *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_140048d70(0x8007000e); + } + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003d910.c b/decomp/AgentManager_Release_x64/full/functions/0x14003d910.c new file mode 100644 index 00000000..d43046f3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003d910.c @@ -0,0 +1,132 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003d910 FUN_14003d910 + * Pseudocode, not original source. */ + +longlong * FUN_14003d910(longlong *param_1,char *param_2) + +{ + char *pcVar1; + uint uVar2; + uint uVar3; + int iVar4; + char *pcVar5; + int *piVar6; + uint uVar7; + undefined *puVar8; + undefined8 in_R8; + int *piVar9; + undefined8 in_R9; + char *local_res8; + + FUN_14003e7c0(param_1,param_2,in_R8,in_R9); + puVar8 = PTR_DAT_14016f008; + local_res8 = PTR_DAT_14016f008; + uVar2 = FUN_14003e6e0(param_2); + if (puVar8 == (undefined *)0x0) { + iVar4 = 0; + } + else if (puVar8 == PTR_DAT_14016f008) { + iVar4 = 0; + } + else { + iVar4 = *(int *)(puVar8 + -8); + } + uVar3 = uVar2; + if ((int)uVar2 <= iVar4) { + if (puVar8 == (undefined *)0x0) { + uVar3 = 0; + } + else if (puVar8 == PTR_DAT_14016f008) { + uVar3 = 0; + } + else { + uVar3 = *(uint *)(puVar8 + -8); + } + } + uVar7 = 1; + if (1 < (int)uVar3) { + uVar7 = uVar3; + } + if (puVar8 == (undefined *)0x0) { + iVar4 = 0; + } + else if (puVar8 == PTR_DAT_14016f008) { + iVar4 = 0; + } + else { + iVar4 = *(int *)(puVar8 + -8); + } + if (iVar4 < (int)uVar7) { + FUN_14003d5d0((longlong *)&local_res8,uVar7); + } + FUN_14003d4c0((longlong *)&local_res8); + pcVar1 = local_res8; + pcVar5 = local_res8; + if (local_res8 == (char *)0x0) { + pcVar5 = PTR_DAT_14016f008; + } + piVar9 = (int *)(ulonglong)uVar2; + FUN_14003e710(pcVar5,param_2,uVar2); + pcVar5 = pcVar1; + if (pcVar1 == (char *)0x0) { + pcVar5 = PTR_DAT_14016f008; + } + uVar2 = FUN_14003e6e0(pcVar5); + piVar6 = (int *)0x0; + if (0 < (int)uVar2) { + piVar6 = (int *)(ulonglong)uVar2; + } + if (pcVar1 == (char *)0x0) { + iVar4 = 0; + } + else if (pcVar1 == PTR_DAT_14016f008) { + iVar4 = 0; + } + else { + iVar4 = *(int *)(pcVar1 + -8); + } + if (iVar4 <= (int)piVar6) { + if (pcVar1 == (char *)0x0) { + piVar6 = (int *)0x0; + } + else if (pcVar1 == PTR_DAT_14016f008) { + piVar6 = (int *)0x0; + } + else { + piVar6 = (int *)(ulonglong)*(uint *)(pcVar1 + -8); + } + } + if (((pcVar1 != PTR_DAT_14016f008) && (pcVar1 != (char *)0x0)) && + (piVar9 = (int *)(pcVar1 + -8), piVar9 != (int *)0x0)) { + *piVar9 = (int)piVar6; + *(undefined1 *)((longlong)(int)piVar6 + 8 + (longlong)piVar9) = 0; + } + puVar8 = PTR_DAT_14016f008; + pcVar5 = (char *)*param_1; + if ((char *)*param_1 == (char *)0x0) { + pcVar5 = PTR_DAT_14016f008; + } + *param_1 = (longlong)pcVar5; + if (pcVar1 != pcVar5) { + piVar6 = (int *)FUN_14003e7c0(piVar6,puVar8,piVar9,in_R9); + FUN_14003d040(piVar6); + FUN_140006e80(param_1); + *param_1 = (longlong)pcVar1; + if (((pcVar1 != PTR_DAT_14016f008) && (pcVar1 != (char *)0x0)) && (pcVar1 != (char *)0x8)) { + *(int *)(pcVar1 + -4) = *(int *)(pcVar1 + -4) + 1; + } + FUN_14003d0d0((longlong)piVar6); + } + if (((pcVar1 != (char *)0x0) && (pcVar1 != PTR_DAT_14016f008)) && (pcVar1 + -8 != (char *)0x0)) { + piVar6 = (int *)FUN_14003e7c0(piVar6,puVar8,piVar9,in_R9); + FUN_14003d040(piVar6); + piVar9 = (int *)(pcVar1 + -4); + *piVar9 = *piVar9 + -1; + if (*piVar9 == 0) { + FUN_14003e8b0(pcVar1 + -8); + } + FUN_14003d0d0((longlong)piVar6); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003db10.c b/decomp/AgentManager_Release_x64/full/functions/0x14003db10.c new file mode 100644 index 00000000..952534d2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003db10.c @@ -0,0 +1,141 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003db10 FUN_14003db10 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +exception * FUN_14003db10(exception *param_1,wchar_t *param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined *puVar1; + LPCWSTR pWVar2; + int iVar3; + int iVar4; + int iVar5; + LPCWSTR pWVar6; + exception *peVar7; + LPCWSTR pWVar8; + char *pcVar9; + wchar_t *pwVar10; + char *pcVar11; + undefined8 uVar12; + va_list _ArgList; + undefined8 local_res18; + undefined8 local_res20; + undefined1 auStack_928 [32]; + LPCWSTR local_908; + undefined1 local_900; + exception *local_8f8; + undefined8 local_8f0; + char *local_8e8; + char local_8e0 [136]; + wchar_t local_858 [1040]; + ulonglong local_38; + + local_8f0 = 0xfffffffffffffffe; + local_38 = DAT_14016f5a0 ^ (ulonglong)auStack_928; + peVar7 = param_1; + pwVar10 = param_2; + local_res18 = param_3; + local_res20 = param_4; + local_8f8 = param_1; + std::exception::exception(param_1); + *(undefined ***)param_1 = Proud::Exception::vftable; + FUN_14003e7c0(peVar7,pwVar10,param_3,param_4); + *(undefined **)(param_1 + 0x40) = PTR_DAT_14016f008; + FUN_14003e7c0(peVar7,pwVar10,param_3,param_4); + puVar1 = PTR_DAT_14016f010; + local_908 = (LPCWSTR)PTR_DAT_14016f010; + _ArgList = (va_list)&local_res18; + if (param_2 == (wchar_t *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80070057); + } + iVar3 = vswprintf_s(local_858,0x400,param_2,_ArgList); + iVar4 = 0; + if ((puVar1 != (undefined *)0x0) && (puVar1 != PTR_DAT_14016f010)) { + iVar4 = *(int *)(puVar1 + -8); + } + iVar5 = iVar3; + if (((iVar3 <= iVar4) && (iVar5 = 0, puVar1 != (undefined *)0x0)) && (puVar1 != PTR_DAT_14016f010) + ) { + iVar5 = *(int *)(puVar1 + -8); + } + iVar4 = 1; + if (1 < iVar5) { + iVar4 = iVar5; + } + iVar5 = 0; + if ((puVar1 != (undefined *)0x0) && (iVar5 = 0, puVar1 != PTR_DAT_14016f010)) { + iVar5 = *(int *)(puVar1 + -8); + } + if (iVar5 < iVar4) { + FUN_140001d10((longlong *)&local_908,iVar4); + } + FUN_140001df0((longlong *)&local_908); + pWVar2 = local_908; + pWVar8 = local_908; + if (local_908 == (LPCWSTR)0x0) { + pWVar8 = (LPCWSTR)PTR_DAT_14016f010; + } + FUN_14003e650(pWVar8,local_858,iVar3); + pWVar8 = pWVar2; + if (pWVar2 == (LPCWSTR)0x0) { + pWVar8 = (LPCWSTR)PTR_DAT_14016f010; + } + iVar3 = FUN_14003e620(pWVar8); + iVar4 = 0; + if (0 < iVar3) { + iVar4 = iVar3; + } + iVar3 = 0; + if ((pWVar2 != (LPCWSTR)0x0) && (iVar3 = 0, pWVar2 != (LPCWSTR)PTR_DAT_14016f010)) { + iVar3 = *(int *)(pWVar2 + -4); + } + if ((iVar4 < iVar3) || (iVar4 = 0, pWVar2 == (LPCWSTR)0x0)) { +LAB_14003dc82: + if (pWVar2 != (LPCWSTR)PTR_DAT_14016f010) { + pWVar8 = (LPCWSTR)PTR_DAT_14016f010; + if (pWVar2 == (LPCWSTR)0x0) goto LAB_14003dcb0; + if (pWVar2 + -4 != (LPCWSTR)0x0) { + *(int *)(pWVar2 + -4) = iVar4; + pWVar2[iVar4] = L'\0'; + } + } + } + else if (pWVar2 != (LPCWSTR)PTR_DAT_14016f010) { + iVar4 = *(int *)(pWVar2 + -4); + goto LAB_14003dc82; + } + pWVar8 = (LPCWSTR)PTR_DAT_14016f010; + if (pWVar2 != (LPCWSTR)0x0) { + pWVar8 = pWVar2; + } +LAB_14003dcb0: + local_8e8 = local_8e0; + uVar12 = 3; + FUN_14003d280((longlong *)&local_8e8,pWVar8,3); + pcVar11 = local_8e8; + FUN_14003d910((longlong *)(param_1 + 0x40),local_8e8); + pcVar9 = local_8e8; + if (local_8e8 != local_8e0) { + free(local_8e8); + } + *(undefined4 *)(param_1 + 0x18) = 0; + *(undefined4 *)(param_1 + 0x38) = 1; + if (((pWVar2 != (LPCWSTR)0x0) && (pWVar2 != (LPCWSTR)PTR_DAT_14016f010)) && + (pWVar2 + -4 != (LPCWSTR)0x0)) { + pWVar6 = (LPCWSTR)FUN_14003e7c0(pcVar9,pcVar11,uVar12,_ArgList); + local_908 = pWVar6; + FUN_14003d040((int *)pWVar6); + local_900 = 1; + pWVar8 = pWVar2 + -2; + *(int *)pWVar8 = *(int *)pWVar8 + -1; + if (*(int *)pWVar8 == 0) { + FUN_14003e8b0(pWVar2 + -4); + } + FUN_14003d0d0((longlong)pWVar6); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003dd60.c b/decomp/AgentManager_Release_x64/full/functions/0x14003dd60.c new file mode 100644 index 00000000..b445bf00 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003dd60.c @@ -0,0 +1,26 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003dd60 FUN_14003dd60 + * Pseudocode, not original source. */ + +exception * +FUN_14003dd60(exception *param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + char *pcVar1; + exception *peVar2; + longlong *plVar3; + + peVar2 = param_1; + plVar3 = param_2; + std::exception::exception(param_1); + *(undefined ***)param_1 = Proud::Exception::vftable; + FUN_14003e7c0(peVar2,plVar3,param_3,param_4); + *(undefined **)(param_1 + 0x40) = PTR_DAT_14016f008; + pcVar1 = (char *)(**(code **)(*param_2 + 8))(param_2); + FUN_14003d910((longlong *)(param_1 + 0x40),pcVar1); + *(longlong **)(param_1 + 0x28) = param_2; + *(undefined4 *)(param_1 + 0x18) = 0; + *(undefined4 *)(param_1 + 0x38) = 2; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003dde0.c b/decomp/AgentManager_Release_x64/full/functions/0x14003dde0.c new file mode 100644 index 00000000..0c48aba2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003dde0.c @@ -0,0 +1,56 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003dde0 FUN_14003dde0 + * Pseudocode, not original source. */ + +exception * FUN_14003dde0(exception *param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 *puVar1; + longlong *plVar2; + LPSTR pCVar3; + exception *peVar4; + longlong lVar5; + char *pcVar6; + longlong *local_res10; + + peVar4 = param_1; + lVar5 = param_2; + std::exception::exception(param_1); + *(undefined ***)param_1 = Proud::Exception::vftable; + FUN_14003e7c0(peVar4,lVar5,param_3,param_4); + *(undefined **)(param_1 + 0x40) = PTR_DAT_14016f008; + plVar2 = FUN_14003d880(param_2,&local_res10,param_3,param_4); + puVar1 = (undefined8 *)*plVar2; + if (puVar1 == (undefined8 *)0x0) { + pcVar6 = (char *)0x0; + } + else { + if (puVar1[1] == 0) { + pCVar3 = FUN_140048e20((LPCWSTR)*puVar1); + puVar1[1] = pCVar3; + } + pcVar6 = (char *)puVar1[1]; + } + FUN_14003d910((longlong *)(param_1 + 0x40),pcVar6); + if (local_res10 != (longlong *)0x0) { + LOCK(); + plVar2 = local_res10 + 2; + lVar5 = *plVar2; + *(int *)plVar2 = (int)*plVar2 + -1; + UNLOCK(); + if (((int)lVar5 == 1) && (local_res10 != (longlong *)0x0)) { + if (*local_res10 != 0) { + Ordinal_6(); + } + if ((void *)local_res10[1] != (void *)0x0) { + operator_delete__((void *)local_res10[1]); + } + operator_delete(local_res10); + } + } + *(longlong *)(param_1 + 0x30) = param_2; + *(undefined4 *)(param_1 + 0x18) = 0; + *(undefined4 *)(param_1 + 0x38) = 3; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003dec0.c b/decomp/AgentManager_Release_x64/full/functions/0x14003dec0.c new file mode 100644 index 00000000..85422898 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003dec0.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003dec0 FUN_14003dec0 + * Pseudocode, not original source. */ + +void FUN_14003dec0(void) + +{ + undefined8 in_R8; + undefined8 in_R9; + exception local_58 [88]; + + FUN_14003db10(local_58,L"An invalid argument is detected!",in_R8,in_R9); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003def0.c b/decomp/AgentManager_Release_x64/full/functions/0x14003def0.c new file mode 100644 index 00000000..ceaa862f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003def0.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003def0 FUN_14003def0 + * Pseudocode, not original source. */ + +void FUN_14003def0(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + exception local_58 [88]; + + FUN_14003db10(local_58,L"Array index out of range!",param_3,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003df20.c b/decomp/AgentManager_Release_x64/full/functions/0x14003df20.c new file mode 100644 index 00000000..d37dad0e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003df20.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003df20 FUN_14003df20 + * Pseudocode, not original source. */ + +void FUN_14003df20(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + exception local_58 [88]; + + FUN_14003db10(local_58,L"32bit integer out of range! %s",param_1,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003df50.c b/decomp/AgentManager_Release_x64/full/functions/0x14003df50.c new file mode 100644 index 00000000..92207c06 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003df50.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003df50 FUN_14003df50 + * Pseudocode, not original source. */ + +DWORD FUN_14003df50(void) + +{ + _SYSTEM_INFO local_38; + + GetSystemInfo(&local_38); + return local_38.dwNumberOfProcessors; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003df70.c b/decomp/AgentManager_Release_x64/full/functions/0x14003df70.c new file mode 100644 index 00000000..af30a381 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003df70.c @@ -0,0 +1,46 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003df70 FUN_14003df70 + * Pseudocode, not original source. */ + +undefined8 * +FUN_14003df70(undefined8 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + HMODULE hModule; + FARPROC pFVar1; + exception local_58 [80]; + + hModule = LoadLibraryA("kernel32.dll"); + param_1[0xc] = hModule; + if (hModule == (HMODULE)0x0) { + FUN_14003db10(local_58,L"Cannot find kernel32.dll handle!",param_3,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + pFVar1 = GetProcAddress(hModule,"CreateIoCompletionPort"); + *param_1 = pFVar1; + pFVar1 = GetProcAddress((HMODULE)param_1[0xc],"HeapSetInformation"); + param_1[1] = pFVar1; + pFVar1 = GetProcAddress((HMODULE)param_1[0xc],"QueueUserWorkItem"); + param_1[2] = pFVar1; + pFVar1 = GetProcAddress((HMODULE)param_1[0xc],"GetQueuedCompletionStatus"); + param_1[3] = pFVar1; + pFVar1 = GetProcAddress((HMODULE)param_1[0xc],"GetQueuedCompletionStatusEx"); + param_1[4] = pFVar1; + pFVar1 = GetProcAddress((HMODULE)param_1[0xc],"AddVectoredExceptionHandler"); + param_1[5] = pFVar1; + pFVar1 = GetProcAddress((HMODULE)param_1[0xc],"CreateTimerQueue"); + param_1[6] = pFVar1; + pFVar1 = GetProcAddress((HMODULE)param_1[0xc],"CreateTimerQueueTimer"); + param_1[7] = pFVar1; + pFVar1 = GetProcAddress((HMODULE)param_1[0xc],"DeleteTimerQueueTimer"); + param_1[8] = pFVar1; + pFVar1 = GetProcAddress((HMODULE)param_1[0xc],"DeleteTimerQueueEx"); + param_1[9] = pFVar1; + pFVar1 = GetProcAddress((HMODULE)param_1[0xc],"InitializeCriticalSectionEx"); + param_1[10] = pFVar1; + pFVar1 = GetProcAddress((HMODULE)param_1[0xc],"GetLogicalProcessorInformation"); + param_1[0xb] = pFVar1; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003e0c0.c b/decomp/AgentManager_Release_x64/full/functions/0x14003e0c0.c new file mode 100644 index 00000000..13fa6382 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003e0c0.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003e0c0 FUN_14003e0c0 + * Pseudocode, not original source. */ + +undefined * +FUN_14003e0c0(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + if ((DAT_140176068 & 1) == 0) { + DAT_140176068 = DAT_140176068 | 1; + FUN_14003df70((undefined8 *)&DAT_140176000,param_2,param_3,param_4); + } + return &DAT_140176000; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003e110.c b/decomp/AgentManager_Release_x64/full/functions/0x14003e110.c new file mode 100644 index 00000000..d30b57c0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003e110.c @@ -0,0 +1,26 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003e110 FUN_14003e110 + * Pseudocode, not original source. */ + +void FUN_14003e110(wchar_t *param_1) + +{ + if (DAT_140176148 == 0) { + OutputDebugStringW(param_1); + /* WARNING: Could not recover jumptable at 0x00014003e140. Too many branches */ + /* WARNING: Treating indirect jump as call */ + MessageBoxW((HWND)0x0,param_1,L"ProudNet",0x10); + return; + } + if (DAT_140176148 == 2) { + /* WARNING: Could not recover jumptable at 0x00014003e151. Too many branches */ + /* WARNING: Treating indirect jump as call */ + OutputDebugStringW(param_1); + return; + } + /* WARNING: Could not recover jumptable at 0x00014003e167. Too many branches */ + /* WARNING: Treating indirect jump as call */ + wcscpy_s((wchar_t *)0x0,1000,param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003e170.c b/decomp/AgentManager_Release_x64/full/functions/0x14003e170.c new file mode 100644 index 00000000..ba4ccfc0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003e170.c @@ -0,0 +1,44 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003e170 FUN_14003e170 + * Pseudocode, not original source. */ + +undefined8 +FUN_14003e170(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + HANDLE pvVar1; + ulonglong uVar2; + bool bVar3; + undefined4 local_res8 [8]; + undefined8 uVar4; + + uVar4 = 0xfffffffffffffffe; + LOCK(); + bVar3 = DAT_140176080 == 0; + if (bVar3) { + DAT_140176080 = 1; + } + UNLOCK(); + if (bVar3) { + local_res8[0] = 2; + if ((DAT_140176068 & 1) == 0) { + DAT_140176068 = DAT_140176068 | 1; + FUN_14003df70((undefined8 *)&DAT_140176000,param_2,param_3,param_4); + } + uVar2 = (ulonglong)DAT_140176068; + if (DAT_140176008 != (code *)0x0) { + if ((DAT_140176068 & 1) == 0) { + DAT_140176068 = DAT_140176068 | 1; + FUN_14003df70((undefined8 *)&DAT_140176000,param_2,param_3,param_4); + } + pvVar1 = GetProcessHeap(); + uVar2 = (*DAT_140176008)(pvVar1,0,local_res8,4,uVar4); + } + uVar4 = CONCAT71((int7)(uVar2 >> 8),1); + } + else { + uVar4 = 1; + } + return uVar4; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003e210.c b/decomp/AgentManager_Release_x64/full/functions/0x14003e210.c new file mode 100644 index 00000000..2ea24f33 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003e210.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003e210 FUN_14003e210 + * Pseudocode, not original source. */ + +bool FUN_14003e210(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + if ((DAT_140176068 & 1) == 0) { + DAT_140176068 = DAT_140176068 | 1; + FUN_14003df70((undefined8 *)&DAT_140176000,param_2,param_3,param_4); + } + return DAT_140176020 != 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003e250.c b/decomp/AgentManager_Release_x64/full/functions/0x14003e250.c new file mode 100644 index 00000000..332bf780 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003e250.c @@ -0,0 +1,46 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003e250 FUN_14003e250 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ + +undefined * FUN_14003e250(void) + +{ + bool bVar1; + int iVar2; + char cVar3; + undefined1 auStack_58 [32]; + undefined *local_38; + char local_30; + undefined8 local_28; + CHAR local_20 [8]; + ulonglong local_18; + + local_28 = 0xfffffffffffffffe; + local_18 = DAT_14016f5a0 ^ (ulonglong)auStack_58; + local_38 = &DAT_1401760c8; + local_30 = '\0'; + bVar1 = FUN_14003d0e0((int *)&DAT_1401760c8); + cVar3 = '\0'; + if ((bVar1) && (cVar3 = local_30, DAT_14016f000 != '\0')) { + local_30 = '\x01'; + FUN_14003d040((int *)&DAT_1401760c8); + cVar3 = '\x01'; + } + if ((DAT_140176088 & 1) == 0) { + DAT_140176088 = DAT_140176088 | 1; + _DAT_140176084 = 0; + iVar2 = GetLocaleInfoA(0x800,5,local_20,7); + if (iVar2 != 0) { + _DAT_140176084 = atoi(local_20); + } + } + DAT_14016f000 = 0; + if (cVar3 != '\0') { + FUN_14003d0d0(0x1401760c8); + } + return &DAT_140176084; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003e340.c b/decomp/AgentManager_Release_x64/full/functions/0x14003e340.c new file mode 100644 index 00000000..9da2e14e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003e340.c @@ -0,0 +1,50 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003e340 FUN_14003e340 + * Pseudocode, not original source. */ + +void FUN_14003e340(longlong *param_1,void *param_2,int param_3) + +{ + uint uVar1; + longlong lVar2; + void *_Dst; + rsize_t _DstSize; + rsize_t _MaxCount; + ulonglong uVar3; + + if (param_3 == 0) { + FUN_140011230(param_1); + return; + } + if (param_2 == (void *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80070057); + } + lVar2 = *param_1; + uVar1 = *(uint *)(lVar2 + -0x10); + uVar3 = (longlong)param_2 - lVar2 >> 1; + if (param_3 < 0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80070057); + } + if ((int)(1U - *(int *)(lVar2 + -8) | *(int *)(lVar2 + -0xc) - param_3) < 0) { + FUN_140011520(param_1,param_3); + } + _Dst = (void *)*param_1; + _DstSize = (longlong)*(int *)((longlong)_Dst + -0xc) * 2; + _MaxCount = (longlong)param_3 * 2; + if (uVar1 < uVar3) { + memcpy_s(_Dst,_DstSize,param_2,_MaxCount); + } + else { + memmove_s(_Dst,_DstSize,(void *)((longlong)_Dst + uVar3 * 2),_MaxCount); + } + if (param_3 <= *(int *)(*param_1 + -0xc)) { + *(int *)(*param_1 + -0x10) = param_3; + *(undefined2 *)(_MaxCount + *param_1) = 0; + return; + } + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80070057); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003e430.c b/decomp/AgentManager_Release_x64/full/functions/0x14003e430.c new file mode 100644 index 00000000..45445964 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003e430.c @@ -0,0 +1,32 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003e430 FUN_14003e430 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +longlong * FUN_14003e430(longlong *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + int iVar1; + undefined *puVar2; + undefined8 uVar3; + LPWSTR lpBuffer; + undefined1 auStack_258 [32]; + undefined4 local_238; + WCHAR local_228 [264]; + ulonglong local_18; + + local_18 = DAT_14016f5a0 ^ (ulonglong)auStack_258; + lpBuffer = local_228; + uVar3 = 0x104; + local_238 = 0; + GetCurrentDirectoryW(0x104,lpBuffer); + FUN_14003e7c0(uVar3,lpBuffer,param_3,param_4); + *param_1 = (longlong)PTR_DAT_14016f010; + iVar1 = FUN_14003e620(local_228); + puVar2 = FUN_140001ee0(param_1,iVar1); + FUN_14003e650(puVar2,local_228,iVar1); + FUN_140001fc0(param_1); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003e4d0.c b/decomp/AgentManager_Release_x64/full/functions/0x14003e4d0.c new file mode 100644 index 00000000..06983770 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003e4d0.c @@ -0,0 +1,34 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003e4d0 FUN_14003e4d0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +longlong * FUN_14003e4d0(longlong *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + int iVar1; + undefined *puVar2; + undefined8 uVar3; + LPWSTR lpFilename; + undefined8 uVar4; + undefined1 auStack_258 [32]; + undefined4 local_238; + WCHAR local_228 [264]; + ulonglong local_18; + + local_18 = DAT_14016f5a0 ^ (ulonglong)auStack_258; + lpFilename = local_228; + uVar4 = 0x104; + uVar3 = 0; + local_238 = 0; + GetModuleFileNameW((HMODULE)0x0,lpFilename,0x104); + FUN_14003e7c0(uVar3,lpFilename,uVar4,param_4); + *param_1 = (longlong)PTR_DAT_14016f010; + iVar1 = FUN_14003e620(local_228); + puVar2 = FUN_140001ee0(param_1,iVar1); + FUN_14003e650(puVar2,local_228,iVar1); + FUN_140001fc0(param_1); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003e570.c b/decomp/AgentManager_Release_x64/full/functions/0x14003e570.c new file mode 100644 index 00000000..ac8c572b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003e570.c @@ -0,0 +1,43 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003e570 FUN_14003e570 + * Pseudocode, not original source. */ + +longlong * FUN_14003e570(longlong *param_1,short *param_2) + +{ + short sVar1; + longlong lVar2; + HMODULE pHVar3; + uint uVar4; + int iVar5; + short *psVar6; + + lVar2 = (**(code **)(PTR_PTR_14016f508 + 0x18))(); + *param_1 = lVar2 + 0x18; + if (param_2 == (short *)0x0) { + iVar5 = 0; + } + else { + if (((ulonglong)param_2 & 0xffffffffffff0000) == 0) { + uVar4 = (uint)param_2 & 0xffff; + pHVar3 = FUN_1400112b0(uVar4,0); + if (pHVar3 == (HMODULE)0x0) { + return param_1; + } + FUN_140011650(param_1,pHVar3,uVar4); + return param_1; + } + lVar2 = -1; + psVar6 = param_2; + do { + if (lVar2 == 0) break; + lVar2 = lVar2 + -1; + sVar1 = *psVar6; + psVar6 = psVar6 + 1; + } while (sVar1 != 0); + iVar5 = ~(uint)lVar2 - 1; + } + FUN_14003e340(param_1,param_2,iVar5); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003e620.c b/decomp/AgentManager_Release_x64/full/functions/0x14003e620.c new file mode 100644 index 00000000..cefb9683 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003e620.c @@ -0,0 +1,23 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003e620 FUN_14003e620 + * Pseudocode, not original source. */ + +int FUN_14003e620(short *param_1) + +{ + short sVar1; + longlong lVar2; + + if (param_1 == (short *)0x0) { + return 0; + } + lVar2 = -1; + do { + if (lVar2 == 0) break; + lVar2 = lVar2 + -1; + sVar1 = *param_1; + param_1 = param_1 + 1; + } while (sVar1 != 0); + return ~(uint)lVar2 - 1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003e650.c b/decomp/AgentManager_Release_x64/full/functions/0x14003e650.c new file mode 100644 index 00000000..de478586 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003e650.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003e650 FUN_14003e650 + * Pseudocode, not original source. */ + +void FUN_14003e650(void *param_1,void *param_2,int param_3) + +{ + memcpy(param_1,param_2,(longlong)(param_3 + 1) * 2); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003e660.c b/decomp/AgentManager_Release_x64/full/functions/0x14003e660.c new file mode 100644 index 00000000..92c056e3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003e660.c @@ -0,0 +1,25 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003e660 FUN_14003e660 + * Pseudocode, not original source. */ + +int FUN_14003e660(ushort *param_1,longlong param_2) + +{ + ushort uVar1; + ushort uVar2; + uint uVar3; + longlong lVar4; + + lVar4 = param_2 - (longlong)param_1; + do { + uVar1 = *param_1; + uVar2 = *(ushort *)((longlong)param_1 + lVar4); + if (uVar1 != uVar2) { + uVar3 = (uint)(uVar1 < uVar2); + return (1 - uVar3) - (uint)(uVar3 != 0); + } + param_1 = param_1 + 1; + } while (uVar1 != 0); + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003e690.c b/decomp/AgentManager_Release_x64/full/functions/0x14003e690.c new file mode 100644 index 00000000..5ae4a747 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003e690.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003e690 FUN_14003e690 + * Pseudocode, not original source. */ + +wchar_t * FUN_14003e690(wchar_t *param_1,size_t param_2) + +{ + errno_t eVar1; + wchar_t *pwVar2; + + eVar1 = _wcsupr_s(param_1,param_2); + pwVar2 = (wchar_t *)0x0; + if (eVar1 == 0) { + pwVar2 = param_1; + } + return pwVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003e6c0.c b/decomp/AgentManager_Release_x64/full/functions/0x14003e6c0.c new file mode 100644 index 00000000..7ff94580 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003e6c0.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003e6c0 FUN_14003e6c0 + * Pseudocode, not original source. */ + +longlong FUN_14003e6c0(longlong param_1) + +{ + return param_1 + 2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003e6e0.c b/decomp/AgentManager_Release_x64/full/functions/0x14003e6e0.c new file mode 100644 index 00000000..aad00e05 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003e6e0.c @@ -0,0 +1,23 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003e6e0 FUN_14003e6e0 + * Pseudocode, not original source. */ + +int FUN_14003e6e0(char *param_1) + +{ + char cVar1; + longlong lVar2; + + if (param_1 == (char *)0x0) { + return 0; + } + lVar2 = -1; + do { + if (lVar2 == 0) break; + lVar2 = lVar2 + -1; + cVar1 = *param_1; + param_1 = param_1 + 1; + } while (cVar1 != '\0'); + return ~(uint)lVar2 - 1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003e710.c b/decomp/AgentManager_Release_x64/full/functions/0x14003e710.c new file mode 100644 index 00000000..0ebfa654 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003e710.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003e710 FUN_14003e710 + * Pseudocode, not original source. */ + +void FUN_14003e710(void *param_1,void *param_2,int param_3) + +{ + memcpy(param_1,param_2,(longlong)param_3); + *(undefined1 *)((longlong)param_3 + (longlong)param_1) = 0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003e740.c b/decomp/AgentManager_Release_x64/full/functions/0x14003e740.c new file mode 100644 index 00000000..956a277f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003e740.c @@ -0,0 +1,23 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003e740 FUN_14003e740 + * Pseudocode, not original source. */ + +int FUN_14003e740(byte *param_1,longlong param_2) + +{ + byte bVar1; + uint uVar2; + longlong lVar3; + + lVar3 = param_2 - (longlong)param_1; + do { + bVar1 = *param_1; + if (bVar1 != param_1[lVar3]) { + uVar2 = (uint)(bVar1 < param_1[lVar3]); + return (1 - uVar2) - (uint)(uVar2 != 0); + } + param_1 = param_1 + 1; + } while (bVar1 != 0); + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003e770.c b/decomp/AgentManager_Release_x64/full/functions/0x14003e770.c new file mode 100644 index 00000000..ec9d5c1e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003e770.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003e770 FUN_14003e770 + * Pseudocode, not original source. */ + +char * FUN_14003e770(char *param_1,size_t param_2) + +{ + errno_t eVar1; + char *pcVar2; + + eVar1 = _strupr_s(param_1,param_2); + pcVar2 = (char *)0x0; + if (eVar1 == 0) { + pcVar2 = param_1; + } + return pcVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003e7b0.c b/decomp/AgentManager_Release_x64/full/functions/0x14003e7b0.c new file mode 100644 index 00000000..8be555af --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003e7b0.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003e7b0 FUN_14003e7b0 + * Pseudocode, not original source. */ + +void FUN_14003e7b0(char param_1) + +{ + /* WARNING: Could not recover jumptable at 0x00014003e7b3. Too many branches */ + /* WARNING: Treating indirect jump as call */ + _ismbcspace((int)param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003e7c0.c b/decomp/AgentManager_Release_x64/full/functions/0x14003e7c0.c new file mode 100644 index 00000000..4ccd7a34 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003e7c0.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003e7c0 FUN_14003e7c0 + * Pseudocode, not original source. */ + +undefined * +FUN_14003e7c0(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + ulonglong uVar1; + undefined7 uVar2; + + uVar2 = (undefined7)((ulonglong)param_3 >> 8); + if ((DAT_140176138 & 1) == 0) { + DAT_140176138 = DAT_140176138 | 1; + uVar1 = FUN_140094860(); + FUN_14003cf60((undefined4 *)&DAT_140176100,uVar1 & 0xffffffff,CONCAT71(uVar2,1),param_4); + atexit((_func_5014 *)&LAB_140104490); + } + DAT_140176130 = 1; + return &DAT_140176100; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003e820.c b/decomp/AgentManager_Release_x64/full/functions/0x14003e820.c new file mode 100644 index 00000000..b813ef17 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003e820.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003e820 FUN_14003e820 + * Pseudocode, not original source. */ + +undefined8 * FUN_14003e820(undefined8 *param_1) + +{ + *param_1 = Proud::CFastHeap::vftable; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003e830.c b/decomp/AgentManager_Release_x64/full/functions/0x14003e830.c new file mode 100644 index 00000000..f9144776 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003e830.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003e830 FUN_14003e830 + * Pseudocode, not original source. */ + +void FUN_14003e830(undefined8 *param_1) + +{ + *param_1 = Proud::CFastHeap::vftable; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003e840.c b/decomp/AgentManager_Release_x64/full/functions/0x14003e840.c new file mode 100644 index 00000000..f4e3524d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003e840.c @@ -0,0 +1,21 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003e840 FUN_14003e840 + * Pseudocode, not original source. */ + +void FUN_14003e840(SIZE_T param_1) + +{ + HANDLE hHeap; + SIZE_T dwBytes; + + dwBytes = 1; + if (param_1 != 0) { + dwBytes = param_1; + } + hHeap = GetProcessHeap(); + /* WARNING: Could not recover jumptable at 0x00014003e865. Too many branches */ + /* WARNING: Treating indirect jump as call */ + HeapAlloc(hHeap,0,dwBytes); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003e870.c b/decomp/AgentManager_Release_x64/full/functions/0x14003e870.c new file mode 100644 index 00000000..f159218f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003e870.c @@ -0,0 +1,21 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003e870 FUN_14003e870 + * Pseudocode, not original source. */ + +void FUN_14003e870(undefined8 param_1,longlong param_2) + +{ + HANDLE pvVar1; + longlong lVar2; + + lVar2 = 1; + if (param_2 != 0) { + lVar2 = param_2; + } + pvVar1 = GetProcessHeap(); + /* WARNING: Could not recover jumptable at 0x00014003e8a4. Too many branches */ + /* WARNING: Treating indirect jump as call */ + HeapReAlloc(pvVar1,0,param_1,lVar2); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003e8b0.c b/decomp/AgentManager_Release_x64/full/functions/0x14003e8b0.c new file mode 100644 index 00000000..dafd60a1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003e8b0.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003e8b0 FUN_14003e8b0 + * Pseudocode, not original source. */ + +void FUN_14003e8b0(LPVOID param_1) + +{ + HANDLE hHeap; + + hHeap = GetProcessHeap(); + /* WARNING: Could not recover jumptable at 0x00014003e8cc. Too many branches */ + /* WARNING: Treating indirect jump as call */ + HeapFree(hHeap,0,param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003e8e0.c b/decomp/AgentManager_Release_x64/full/functions/0x14003e8e0.c new file mode 100644 index 00000000..4e1e7384 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003e8e0.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003e8e0 FUN_14003e8e0 + * Pseudocode, not original source. */ + +undefined8 * FUN_14003e8e0(undefined8 *param_1,byte param_2) + +{ + *param_1 = Proud::CFastHeap::vftable; + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003e910.c b/decomp/AgentManager_Release_x64/full/functions/0x14003e910.c new file mode 100644 index 00000000..510224df --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003e910.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003e910 FUN_14003e910 + * Pseudocode, not original source. */ + +undefined8 * +FUN_14003e910(ulonglong param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + HANDLE hHeap; + undefined8 *puVar1; + + hHeap = GetProcessHeap(); + puVar1 = HeapAlloc(hHeap,0,0x80); + if (puVar1 == (undefined8 *)0x0) { + puVar1 = (undefined8 *)0x0; + } + else { + puVar1 = FUN_14003f1c0(puVar1,param_1,param_2,param_4); + } + return puVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003e970.c b/decomp/AgentManager_Release_x64/full/functions/0x14003e970.c new file mode 100644 index 00000000..e71971fc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003e970.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003e970 FUN_14003e970 + * Pseudocode, not original source. */ + +double FUN_14003e970(void) + +{ + return (double)DAT_14016f098 * DAT_14016f090; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003e990.c b/decomp/AgentManager_Release_x64/full/functions/0x14003e990.c new file mode 100644 index 00000000..6d4915c9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003e990.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003e990 FUN_14003e990 + * Pseudocode, not original source. */ + +undefined * FUN_14003e990(void) + +{ + return &DAT_140176150; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003e9a0.c b/decomp/AgentManager_Release_x64/full/functions/0x14003e9a0.c new file mode 100644 index 00000000..a960f666 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003e9a0.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003e9a0 FUN_14003e9a0 + * Pseudocode, not original source. */ + +undefined8 * FUN_14003e9a0(undefined8 *param_1,byte param_2) + +{ + *param_1 = Proud::CMemoryHeap::vftable; + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003e9d0.c b/decomp/AgentManager_Release_x64/full/functions/0x14003e9d0.c new file mode 100644 index 00000000..01483cce --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003e9d0.c @@ -0,0 +1,25 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003e9d0 FUN_14003e9d0 + * Pseudocode, not original source. */ + +void FUN_14003e9d0(undefined8 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 *puVar1; + longlong lVar2; + + *param_1 = Proud::CFastHeapImpl::vftable; + lVar2 = 0; + do { + puVar1 = *(undefined8 **)(lVar2 + param_1[0xd]); + if (puVar1 != (undefined8 *)0x0) { + (**(code **)*puVar1)(puVar1,1); + } + lVar2 = lVar2 + 8; + } while (lVar2 < 0x400); + free((void *)param_1[0xd]); + *(undefined4 *)(param_1 + 8) = 3; + FUN_14003e830(param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003ea50.c b/decomp/AgentManager_Release_x64/full/functions/0x14003ea50.c new file mode 100644 index 00000000..81dfdd84 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003ea50.c @@ -0,0 +1,21 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003ea50 FUN_14003ea50 + * Pseudocode, not original source. */ + +void FUN_14003ea50(longlong param_1) + +{ + int iVar1; + longlong lVar2; + + lVar2 = 0; + do { + iVar1 = (**(code **)(**(longlong **)(lVar2 + *(longlong *)(param_1 + 0x68)) + 0x18))(); + if (iVar1 != -2) { + return; + } + lVar2 = lVar2 + 8; + } while (lVar2 < 0x400); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003ea90.c b/decomp/AgentManager_Release_x64/full/functions/0x14003ea90.c new file mode 100644 index 00000000..36a2a939 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003ea90.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003ea90 FUN_14003ea90 + * Pseudocode, not original source. */ + +void FUN_14003ea90(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + exception local_58 [88]; + + if (*(short *)(param_1 + -0x10) != 0x71a) { + FUN_14003db10(local_58,L"Not a fastheap allocated block!",param_3,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003ead0.c b/decomp/AgentManager_Release_x64/full/functions/0x14003ead0.c new file mode 100644 index 00000000..a2915ace --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003ead0.c @@ -0,0 +1,19 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003ead0 FUN_14003ead0 + * Pseudocode, not original source. */ + +void FUN_14003ead0(longlong param_1,SIZE_T param_2) + +{ + SIZE_T dwBytes; + + dwBytes = 1; + if (param_2 != 0) { + dwBytes = param_2; + } + /* WARNING: Could not recover jumptable at 0x00014003eae3. Too many branches */ + /* WARNING: Treating indirect jump as call */ + HeapAlloc(*(HANDLE *)(param_1 + 8),0,dwBytes); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003eaf0.c b/decomp/AgentManager_Release_x64/full/functions/0x14003eaf0.c new file mode 100644 index 00000000..0e39a9c4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003eaf0.c @@ -0,0 +1,19 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003eaf0 FUN_14003eaf0 + * Pseudocode, not original source. */ + +void FUN_14003eaf0(longlong param_1,undefined8 param_2,longlong param_3) + +{ + longlong lVar1; + + lVar1 = 1; + if (param_3 != 0) { + lVar1 = param_3; + } + /* WARNING: Could not recover jumptable at 0x00014003eb06. Too many branches */ + /* WARNING: Treating indirect jump as call */ + HeapReAlloc(*(undefined8 *)(param_1 + 8),0,param_2,lVar1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003eb10.c b/decomp/AgentManager_Release_x64/full/functions/0x14003eb10.c new file mode 100644 index 00000000..65ad5f6d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003eb10.c @@ -0,0 +1,19 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003eb10 FUN_14003eb10 + * Pseudocode, not original source. */ + +void FUN_14003eb10(longlong param_1,LPVOID param_2) + +{ + if (*(HANDLE *)(param_1 + 8) == (HANDLE)0x0) { + FUN_14003e110( + L"CMemoryHeap.Free(): Attempt Free after Heap destruction! Doing Free before WinMain returns in highly recommended. Refer the manual for the resolution." + ); + return; + } + /* WARNING: Could not recover jumptable at 0x00014003eb2a. Too many branches */ + /* WARNING: Treating indirect jump as call */ + HeapFree(*(HANDLE *)(param_1 + 8),0,param_2); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003eb40.c b/decomp/AgentManager_Release_x64/full/functions/0x14003eb40.c new file mode 100644 index 00000000..4e3b904f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003eb40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003eb40 FUN_14003eb40 + * Pseudocode, not original source. */ + +undefined8 FUN_14003eb40(longlong param_1) + +{ + HeapValidate(*(HANDLE *)(param_1 + 8),0,(LPCVOID)0x0); + return 0xfffffffe; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003eb60.c b/decomp/AgentManager_Release_x64/full/functions/0x14003eb60.c new file mode 100644 index 00000000..ee8ce2a2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003eb60.c @@ -0,0 +1,19 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003eb60 FUN_14003eb60 + * Pseudocode, not original source. */ + +undefined8 * FUN_14003eb60(undefined8 *param_1,uint param_2) + +{ + *param_1 = Proud::CMemoryHeapImpl::vftable; + if (*(char *)(param_1 + 2) != '\0') { + HeapDestroy((HANDLE)param_1[1]); + param_1[1] = 0; + } + *param_1 = Proud::CMemoryHeap::vftable; + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003ebc0.c b/decomp/AgentManager_Release_x64/full/functions/0x14003ebc0.c new file mode 100644 index 00000000..64bb27c8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003ebc0.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003ebc0 FUN_14003ebc0 + * Pseudocode, not original source. */ + +undefined8 * +FUN_14003ebc0(undefined8 *param_1,ulonglong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003e9d0(param_1,param_2,param_3,param_4); + if ((param_2 & 1) != 0) { + FUN_14003e8b0(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003ebf0.c b/decomp/AgentManager_Release_x64/full/functions/0x14003ebf0.c new file mode 100644 index 00000000..3ab6113a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003ebf0.c @@ -0,0 +1,32 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003ebf0 FUN_14003ebf0 + * Pseudocode, not original source. */ + +undefined8 FUN_14003ebf0(longlong param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined1 auVar1 [16]; + undefined1 auVar2 [16]; + ulonglong uVar3; + ulonglong uVar4; + + if (param_2 != 0) { + uVar4 = *(ulonglong *)(param_1 + 0x60) >> 7; + auVar1._8_8_ = 0; + auVar1._0_8_ = uVar4; + auVar2._8_8_ = 0; + auVar2._0_8_ = param_2 - 1U; + uVar3 = SUB168(auVar2 / auVar1,0); + if (0xffffffff < uVar3) { + /* WARNING: Subroutine does not return */ + FUN_14003df20(L"Proud::CFastHeapImpl::GetAllocByGroundSize",(param_2 - 1U) % uVar4,param_1, + param_4); + } + if (uVar3 < 0x80) { + return *(undefined8 *) + (*(longlong *)(param_1 + 0x68) + (longlong)SUB164(auVar2 / auVar1,0) * 8); + } + } + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003ec50.c b/decomp/AgentManager_Release_x64/full/functions/0x14003ec50.c new file mode 100644 index 00000000..e6aca001 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003ec50.c @@ -0,0 +1,60 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003ec50 FUN_14003ec50 + * Pseudocode, not original source. */ + +undefined2 * FUN_14003ec50(longlong param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong *plVar1; + undefined1 auVar2 [16]; + undefined1 auVar3 [16]; + ulonglong uVar4; + undefined2 *puVar5; + ulonglong uVar6; + longlong lVar7; + exception local_58 [80]; + + if (param_2 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (*(int *)(param_1 + 0x40) != 2) { + FUN_14003e110(L"CFastHeapImpl.Alloc() is called after the allocator is already disposed!"); + return (undefined2 *)0x0; + } + uVar6 = *(ulonglong *)(param_1 + 0x60) >> 7; + lVar7 = ((param_2 - 1U) / uVar6 + 1) * uVar6; + if (lVar7 != 0) { + auVar2._8_8_ = 0; + auVar2._0_8_ = uVar6; + auVar3._8_8_ = 0; + auVar3._0_8_ = lVar7 - 1U; + uVar4 = SUB168(auVar3 / auVar2,0); + if (0xffffffff < uVar4) { + /* WARNING: Subroutine does not return */ + FUN_14003df20(L"Proud::CFastHeapImpl::GetAllocByGroundSize",(lVar7 - 1U) % uVar6,param_1, + param_4); + } + if ((uVar4 < 0x80) && + (plVar1 = *(longlong **) + (*(longlong *)(param_1 + 0x68) + (longlong)SUB164(auVar3 / auVar2,0) * 8), + plVar1 != (longlong *)0x0)) { + puVar5 = (undefined2 *)(**(code **)(*plVar1 + 8))(plVar1,lVar7 + 0x10); + goto LAB_14003ece2; + } + } + puVar5 = (undefined2 *) + (**(code **)**(undefined8 **)(param_1 + 0x48)) + (*(undefined8 **)(param_1 + 0x48),lVar7 + 0x10); + if (puVar5 == (undefined2 *)0x0) { + FUN_14003db10(local_58,L"CRT malloc returned NULL at %s!",L"Proud::CFastHeapImpl::Alloc",param_4 + ); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } +LAB_14003ece2: + *(longlong *)(puVar5 + 4) = lVar7; + *puVar5 = 0x71a; + return puVar5 + 8; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003ed40.c b/decomp/AgentManager_Release_x64/full/functions/0x14003ed40.c new file mode 100644 index 00000000..7f676bcc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003ed40.c @@ -0,0 +1,102 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003ed40 FUN_14003ed40 + * Pseudocode, not original source. */ + +short * FUN_14003ed40(longlong *param_1,longlong param_2,ulonglong param_3,undefined8 param_4) + +{ + undefined1 auVar1 [16]; + undefined1 auVar2 [16]; + ulonglong uVar3; + ulonglong uVar4; + longlong *plVar5; + short *psVar6; + short *psVar7; + longlong lVar8; + ulonglong uVar9; + longlong *plVar10; + ulonglong uVar11; + exception local_68 [80]; + + if ((int)param_1[8] != 2) { + FUN_14003e110(L"CFastHeapImpl::Realloc() is called after the allocator is already disposed!"); + return (short *)0x0; + } + if (param_3 == 0) { + (**(code **)(*param_1 + 0x18))(); + return (short *)0x0; + } + if ((param_2 == 0) || (psVar6 = (short *)(param_2 + -0x10), *psVar6 != 0x71a)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + uVar9 = (ulonglong)param_1[0xc] >> 7; + uVar11 = ((param_3 - 1) / uVar9 + 1) * uVar9; + if (*(longlong *)(param_2 + -8) == 0) { +LAB_14003ee08: + plVar10 = (longlong *)0x0; + } + else { + uVar3 = *(longlong *)(param_2 + -8) - 1; + auVar1._8_8_ = 0; + auVar1._0_8_ = uVar9; + auVar2._8_8_ = 0; + auVar2._0_8_ = uVar3; + uVar4 = SUB168(auVar2 / auVar1,0); + if (0xffffffff < uVar4) { + /* WARNING: Subroutine does not return */ + FUN_14003df20(L"Proud::CFastHeapImpl::GetAllocByGroundSize",uVar3 % uVar9,param_3,param_4); + } + if (0x7f < uVar4) goto LAB_14003ee08; + plVar10 = *(longlong **)(param_1[0xd] + (longlong)SUB164(auVar2 / auVar1,0) * 8); + } + plVar5 = (longlong *)FUN_14003ebf0((longlong)param_1,uVar11,param_3,param_4); + if (plVar10 == (longlong *)0x0) { + if (plVar5 == (longlong *)0x0) { + psVar6 = (short *)(**(code **)(*(longlong *)param_1[9] + 8)) + ((longlong *)param_1[9],psVar6,param_3 + 0x10); + *(ulonglong *)(psVar6 + 4) = uVar11; + goto LAB_14003ef1d; + } + psVar7 = (short *)(**(code **)(*plVar5 + 8))(plVar5,uVar11 + 0x10); + uVar9 = uVar11; + if (*(ulonglong *)(param_2 + -8) < uVar11) { + uVar9 = *(ulonglong *)(param_2 + -8); + } + FUN_140006fb0((undefined8 *)psVar7,(undefined8 *)psVar6,uVar9 + 0x10); + *(ulonglong *)(psVar7 + 4) = uVar11; + plVar10 = (longlong *)param_1[9]; + lVar8 = *plVar10; + } + else { + if (plVar5 == (longlong *)0x0) { + psVar7 = (short *)(*(code *)**(undefined8 **)param_1[9]) + ((undefined8 *)param_1[9],param_3 + 0x10); + if (psVar7 == (short *)0x0) { + FUN_14003db10(local_68,L"CRT malloc returned NULL at %s!",L"Proud::CFastHeapImpl::Realloc", + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_68,(ThrowInfo *)&DAT_14016c210); + } + if (*(ulonglong *)(param_2 + -8) < param_3) { + param_3 = *(ulonglong *)(param_2 + -8); + } + } + else { + if (plVar10 == plVar5) goto LAB_14003ef1d; + psVar7 = (short *)(**(code **)(*plVar5 + 8))(plVar5,uVar11 + 0x10); + param_3 = uVar11; + if (*(ulonglong *)(param_2 + -8) < uVar11) { + param_3 = *(ulonglong *)(param_2 + -8); + } + } + FUN_140006fb0((undefined8 *)psVar7,(undefined8 *)psVar6,param_3 + 0x10); + *(ulonglong *)(psVar7 + 4) = uVar11; + lVar8 = *plVar10; + } + (**(code **)(lVar8 + 0x10))(plVar10,psVar6); + psVar6 = psVar7; +LAB_14003ef1d: + return psVar6 + 8; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003ef50.c b/decomp/AgentManager_Release_x64/full/functions/0x14003ef50.c new file mode 100644 index 00000000..df23378b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003ef50.c @@ -0,0 +1,54 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003ef50 FUN_14003ef50 + * Pseudocode, not original source. */ + +void FUN_14003ef50(longlong param_1,longlong param_2,short *param_3) + +{ + undefined1 auVar1 [16]; + undefined1 auVar2 [16]; + ulonglong uVar3; + ulonglong uVar4; + ulonglong uVar5; + longlong *plVar6; + exception local_58 [88]; + + if (*(int *)(param_1 + 0x40) != 2) { + FUN_14003e110( + L"CFastHeap.Free(): Attempt Free after Heap destruction! Doing Free before WinMain returns in highly recommended. Refer the manual for the resolution." + ); + return; + } + if ((param_2 == 0) || (param_3 = (short *)(param_2 + -0x10), *param_3 != 0x71a)) { + FUN_14003db10(local_58, + L"Not CFastHeap-allocated block! Refer to ProudNet help \'ProudNet Technical Note\' for more help." + ,param_3,param_1); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + *param_3 = 0xb0c; + if (*(longlong *)(param_2 + -8) != 0) { + uVar5 = *(ulonglong *)(param_1 + 0x60) >> 7; + uVar3 = *(longlong *)(param_2 + -8) - 1; + auVar1._8_8_ = 0; + auVar1._0_8_ = uVar5; + auVar2._8_8_ = 0; + auVar2._0_8_ = uVar3; + uVar4 = SUB168(auVar2 / auVar1,0); + if (0xffffffff < uVar4) { + /* WARNING: Subroutine does not return */ + FUN_14003df20(L"Proud::CFastHeapImpl::GetAllocByGroundSize",uVar3 % uVar5,param_3,param_1); + } + if ((uVar4 < 0x80) && + (plVar6 = *(longlong **) + (*(longlong *)(param_1 + 0x68) + (longlong)SUB164(auVar2 / auVar1,0) * 8), + plVar6 != (longlong *)0x0)) goto LAB_14003efd8; + } + plVar6 = *(longlong **)(param_1 + 0x48); +LAB_14003efd8: + /* WARNING: Could not recover jumptable at 0x00014003efe2. Too many branches */ + /* WARNING: Treating indirect jump as call */ + (**(code **)(*plVar6 + 0x10))(plVar6,param_3); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003f010.c b/decomp/AgentManager_Release_x64/full/functions/0x14003f010.c new file mode 100644 index 00000000..ebd3acd3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003f010.c @@ -0,0 +1,52 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003f010 FUN_14003f010 + * Pseudocode, not original source. */ + +undefined8 * +FUN_14003f010(undefined1 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + uint uVar1; + undefined8 *puVar2; + HANDLE pvVar3; + undefined *puVar4; + undefined **ppuVar5; + wchar_t *pwVar6; + ulonglong uVar7; + undefined4 local_res8 [2]; + undefined *local_res10; + + puVar2 = operator_new(0x18); + if (puVar2 == (undefined8 *)0x0) { + puVar2 = (undefined8 *)0x0; + } + else { + *puVar2 = Proud::CMemoryHeapImpl::vftable; + } + pwVar6 = (wchar_t *)0x0; + uVar7 = 0; + ppuVar5 = (undefined **)0x4; + pvVar3 = HeapCreate(4,0,0); + puVar2[1] = pvVar3; + if (pvVar3 == (HANDLE)0x0) { + FUN_14003e7c0(ppuVar5,pwVar6,uVar7,param_4); + local_res10 = PTR_DAT_14016f010; + uVar1 = FUN_14003e620(L"FATAL: HeapCreate failed!"); + puVar4 = FUN_140001ee0((longlong *)&local_res10,uVar1); + pwVar6 = L"FATAL: HeapCreate failed!"; + uVar7 = (ulonglong)uVar1; + FUN_14003e650(puVar4,L"FATAL: HeapCreate failed!",uVar1); + FUN_140001fc0((longlong *)&local_res10); + ppuVar5 = &local_res10; + FUN_1400416f0((longlong *)ppuVar5,pwVar6,uVar7,param_4); + } + local_res8[0] = 2; + puVar4 = FUN_14003e0c0(ppuVar5,pwVar6,uVar7,param_4); + if (*(longlong *)(puVar4 + 8) != 0) { + puVar4 = FUN_14003e0c0(ppuVar5,pwVar6,uVar7,param_4); + (**(code **)(puVar4 + 8))(puVar2[1],0,local_res8,4); + } + *(undefined1 *)(puVar2 + 2) = param_1; + return puVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003f0f0.c b/decomp/AgentManager_Release_x64/full/functions/0x14003f0f0.c new file mode 100644 index 00000000..dd5a42d9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003f0f0.c @@ -0,0 +1,34 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003f0f0 FUN_14003f0f0 + * Pseudocode, not original source. */ + +undefined8 * +FUN_14003f0f0(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + bool bVar1; + bool bVar2; + + bVar1 = false; + bVar2 = FUN_14003d0e0((int *)&DAT_1401761b0); + if (bVar2) { + if (DAT_14016f280 == '\0') { + bVar1 = false; + } + else { + bVar1 = true; + FUN_14003d040((int *)&DAT_1401761b0); + } + } + if ((DAT_1401761a8 & 1) == 0) { + DAT_1401761a8 = DAT_1401761a8 | 1; + DAT_1401761a0 = FUN_14003f010(1,param_2,param_3,param_4); + atexit(FUN_1401044b0); + } + DAT_14016f280 = 0; + if (bVar1) { + FUN_14003d0d0(0x1401761b0); + } + return &DAT_1401761a0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003f1a0.c b/decomp/AgentManager_Release_x64/full/functions/0x14003f1a0.c new file mode 100644 index 00000000..5ef7a0ab --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003f1a0.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003f1a0 FUN_14003f1a0 + * Pseudocode, not original source. */ + +undefined8 +FUN_14003f1a0(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 *puVar1; + + puVar1 = FUN_14003f0f0(param_1,param_2,param_3,param_4); + return *puVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003f1c0.c b/decomp/AgentManager_Release_x64/full/functions/0x14003f1c0.c new file mode 100644 index 00000000..5bfc1448 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003f1c0.c @@ -0,0 +1,50 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003f1c0 FUN_14003f1c0 + * Pseudocode, not original source. */ + +undefined8 * +FUN_14003f1c0(undefined8 *param_1,ulonglong param_2,longlong *param_3,undefined8 param_4) + +{ + undefined8 *puVar1; + void *pvVar2; + ulonglong uVar3; + longlong lVar4; + longlong *plVar5; + exception local_a0 [72]; + exception local_58 [80]; + + uVar3 = param_2; + plVar5 = param_3; + FUN_14003e820(param_1); + *param_1 = Proud::CFastHeapImpl::vftable; + puVar1 = param_1 + 9; + FUN_1400417c0(puVar1); + FUN_14003f0f0(puVar1,uVar3,plVar5,param_4); + if (param_2 < 0x80) { + FUN_14003db10(local_a0,L"bad AccelBlockSizeLimit value",plVar5,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_a0,(ThrowInfo *)&DAT_14016c210); + } + if (param_1[9] == 0) { + puVar1 = FUN_14003f0f0(puVar1,uVar3,plVar5,param_4); + param_1[9] = *puVar1; + } + param_1[0xc] = param_2; + pvVar2 = malloc(0x400); + param_1[0xd] = pvVar2; + if (pvVar2 == (void *)0x0) { + FUN_14003db10(local_58,L"Cannot allocate FastHeap buckets! FATAL!",plVar5,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + lVar4 = 0; + do { + puVar1 = FUN_140041730(param_3,uVar3,plVar5,param_4); + *(undefined8 **)(lVar4 + param_1[0xd]) = puVar1; + lVar4 = lVar4 + 8; + } while (lVar4 < 0x400); + *(undefined4 *)(param_1 + 8) = 2; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003f2d0.c b/decomp/AgentManager_Release_x64/full/functions/0x14003f2d0.c new file mode 100644 index 00000000..7ffa9dba --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003f2d0.c @@ -0,0 +1,27 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003f2d0 FUN_14003f2d0 + * Pseudocode, not original source. */ + +void FUN_14003f2d0(char *param_1,size_t param_2) + +{ + errno_t eVar1; + + eVar1 = _strlwr_s(param_1,param_2); + if (eVar1 != 0) { + if (eVar1 == 0xc) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x8007000e); + } + if ((eVar1 == 0x16) || (eVar1 == 0x22)) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80070057); + } + if (eVar1 != 0x50) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003f320.c b/decomp/AgentManager_Release_x64/full/functions/0x14003f320.c new file mode 100644 index 00000000..40c97962 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003f320.c @@ -0,0 +1,27 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003f320 FUN_14003f320 + * Pseudocode, not original source. */ + +void FUN_14003f320(ulong param_1,char *param_2,size_t param_3,int param_4) + +{ + errno_t eVar1; + + eVar1 = _ultoa_s(param_1,param_2,param_3,param_4); + if (eVar1 != 0) { + if (eVar1 == 0xc) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x8007000e); + } + if ((eVar1 == 0x16) || (eVar1 == 0x22)) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80070057); + } + if (eVar1 != 0x50) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003f370.c b/decomp/AgentManager_Release_x64/full/functions/0x14003f370.c new file mode 100644 index 00000000..3b4b881a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003f370.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003f370 FUN_14003f370 + * Pseudocode, not original source. */ + +void FUN_14003f370(undefined8 *param_1) + +{ + *param_1 = Proud::IFastSocketDelegate::vftable; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003f390.c b/decomp/AgentManager_Release_x64/full/functions/0x14003f390.c new file mode 100644 index 00000000..3723c195 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003f390.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003f390 FUN_14003f390 + * Pseudocode, not original source. */ + +void FUN_14003f390(LPCWSTR param_1,int param_2,LPSTR param_3,int param_4) + +{ + WideCharToMultiByte(0xfde9,0,param_1,param_2,param_3,param_4,(LPCSTR)0x0,(LPBOOL)0x0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003f3d0.c b/decomp/AgentManager_Release_x64/full/functions/0x14003f3d0.c new file mode 100644 index 00000000..9bb5989d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003f3d0.c @@ -0,0 +1,39 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003f3d0 FUN_14003f3d0 + * Pseudocode, not original source. */ + +undefined8 FUN_14003f3d0(byte param_1) + +{ + switch(param_1) { + case 0x20: + case 0x22: + case 0x23: + case 0x24: + case 0x25: + case 0x26: + case 0x2b: + case 0x2c: + case 0x3b: + case 0x3c: + case 0x3d: + case 0x3e: + case 0x3f: + case 0x40: + case 0x5b: + case 0x5c: + case 0x5d: + case 0x5e: + case 0x60: + case 0x7b: + case 0x7c: + case 0x7d: + break; + default: + if ((0x1f < param_1) && (param_1 < 0x7f)) { + return 0; + } + } + return 1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003f480.c b/decomp/AgentManager_Release_x64/full/functions/0x14003f480.c new file mode 100644 index 00000000..77e23e0f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003f480.c @@ -0,0 +1,81 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003f480 FUN_14003f480 + * Pseudocode, not original source. */ + +undefined8 +FUN_14003f480(longlong *param_1,char *param_2,uint param_3,undefined8 *param_4,uint *param_5, + uint param_6,int param_7) + +{ + char cVar1; + longlong lVar2; + uint uVar3; + char *pcVar4; + longlong lVar5; + uint uVar6; + uint uVar7; + char *pcVar8; + longlong lVar9; + undefined8 uVar10; + + if (param_1 == (longlong *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + if (param_2 == (char *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + if (param_4 == (undefined8 *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + if (param_5 == (uint *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + lVar9 = *param_1; + pcVar8 = (char *)*param_4; + uVar10 = 0; + if ((*param_2 != '/') && (*param_2 != '\\')) goto LAB_14003f589; + cVar1 = *pcVar8; + if ((cVar1 == '/') || (cVar1 == '\\')) { + pcVar4 = pcVar8 + 1; + } + else { + if ((cVar1 != '.') || + (((cVar1 = pcVar8[1], cVar1 != '/' && (cVar1 != '\\')) && (cVar1 != '\0')))) + goto LAB_14003f589; + lVar9 = lVar9 + -1; + uVar7 = 0; + lVar5 = lVar9; + uVar6 = param_3 - 1; + do { + uVar3 = uVar6; + lVar2 = lVar5; + if (uVar3 == 0) goto LAB_14003f570; + uVar7 = uVar3 - 1; + } while ((*(char *)(lVar2 + -1) != '/') && + (lVar5 = lVar2 + -1, uVar6 = uVar7, *(char *)(lVar2 + -1) != '\\')); + if (((-1 < (char)param_6) || (((param_6 >> 8 & 1) != 0 || (param_7 == 0)))) || + (param_7 + 1U < uVar7)) { + uVar10 = 1; + lVar9 = lVar2; + param_3 = uVar3; + } +LAB_14003f570: + pcVar4 = pcVar8 + 2; + if (param_3 != uVar7 + 1) { + lVar9 = lVar9 + 1; + goto LAB_14003f589; + } + } + pcVar8 = pcVar4; + uVar10 = 1; +LAB_14003f589: + *param_1 = lVar9; + *param_4 = pcVar8; + *param_5 = param_3; + return uVar10; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003f5b0.c b/decomp/AgentManager_Release_x64/full/functions/0x14003f5b0.c new file mode 100644 index 00000000..6d67ad89 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003f5b0.c @@ -0,0 +1,202 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003f5b0 FUN_14003f5b0 + * Pseudocode, not original source. */ + +int FUN_14003f5b0(byte *param_1,byte *param_2,int *param_3,uint param_4,uint param_5) + +{ + short sVar1; + int iVar2; + undefined8 uVar3; + byte *pbVar4; + byte bVar5; + short sVar6; + uint uVar7; + size_t _MaxCount; + uint uVar8; + size_t sVar9; + byte *pbVar10; + int iVar11; + size_t sVar12; + byte *local_res8; + byte *local_res10; + int *local_res18; + uint local_58; + uint local_54; + byte *local_50; + byte *local_48; + + local_res10 = param_2; + local_res18 = param_3; + if (param_1 == (byte *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + if (param_2 == (byte *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + if (param_1 == param_2) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + _MaxCount = 0; + bVar5 = *param_1; + local_50 = param_2 + param_4; + uVar7 = 0; + local_58 = 0; + iVar2 = 1; + iVar11 = 1; + local_54 = 0; + sVar9 = _MaxCount; + sVar12 = _MaxCount; + local_48 = param_2; + if (bVar5 != 0) { + do { + uVar8 = (uint)sVar9; + pbVar10 = param_1 + 1; + uVar7 = (uint)_MaxCount; + iVar2 = 0; + if (uVar7 == param_4) { + iVar11 = iVar2; + } + local_res8 = pbVar10; + if (bVar5 == 0x3a) { + if ((char)param_5 < '\0') { + if ((int)sVar12 == 0) { + if (iVar11 != 0) { + *param_2 = (byte)sVar12; + pbVar4 = param_2 + -_MaxCount; + if ((pbVar4 < local_48) || (local_50 < pbVar4)) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + FUN_14003f2d0((char *)pbVar4,(size_t)(local_50 + (1 - (longlong)pbVar4))); + uVar8 = local_54; + if (uVar7 == 4) { + iVar2 = strncmp("file",(char *)(param_2 + -4),_MaxCount); + sVar12 = 5; + uVar8 = local_54; + if (iVar2 == 0) { + uVar8 = 1; + local_54 = 1; + } + goto LAB_14003f7c9; + } + } + sVar12 = (size_t)(uVar7 + 1); + } + goto LAB_14003f7c9; + } +LAB_14003f855: + uVar3 = FUN_14003f3d0(bVar5); + if (((((int)uVar3 == 0) || ((param_5 & 2) != 0)) || + ((((param_5 & 0x10) != 0 && (bVar5 != 0x20)) || + (((param_5 & 8) != 0 && (bVar5 == 0x2e)))))) || + (((param_5 & 0x40) == 0 && (bVar5 == 0x25)))) { + if (iVar11 != 0) { + *param_2 = bVar5; + param_2 = param_2 + 1; + local_res10 = param_2; + } + } + else if (uVar7 < param_4 - 3) { + if (iVar11 != 0) { + *param_2 = 0x25; + pbVar4 = param_2 + 1; + if (bVar5 < 0x10) { + *pbVar4 = 0x30; + pbVar4 = param_2 + 2; + } + FUN_14003f320((uint)bVar5,(char *)pbVar4,(longlong)local_50 - (longlong)pbVar4,0x10); + param_2 = param_2 + 3; + local_res10 = param_2; + } + uVar7 = uVar7 + 2; + } + else { + iVar11 = 0; + uVar7 = uVar7 + 2; + } + local_58 = uVar7 + 1; + local_res8 = pbVar10; + } + else { + if (bVar5 == 0x25) { + if ((param_5 & 4) != 0) { + bVar5 = *pbVar10; + if (bVar5 == 0) goto LAB_14003f965; + param_3 = local_res18; + if ((byte)(bVar5 - 0x30) < 10) { + sVar6 = bVar5 - 0x30; + } + else if ((byte)(bVar5 + 0xbf) < 6) { + sVar6 = bVar5 - 0x37; + } + else { + if (5 < (byte)(bVar5 + 0x9f)) goto LAB_14003f924; + sVar6 = bVar5 - 0x57; + } + if (sVar6 < 0) goto LAB_14003f924; + bVar5 = param_1[2]; + if (bVar5 == 0) goto LAB_14003f965; + pbVar10 = param_1 + 3; + if ((byte)(bVar5 - 0x30) < 10) { + sVar1 = bVar5 - 0x30; + } + else if ((byte)(bVar5 + 0xbf) < 6) { + sVar1 = bVar5 - 0x37; + } + else { + if (5 < (byte)(bVar5 + 0x9f)) goto LAB_14003f924; + sVar1 = bVar5 - 0x57; + } + if (sVar1 < 0) goto LAB_14003f924; + bVar5 = (char)sVar6 * '\x10' + (char)sVar1; + local_res8 = pbVar10; + } + } + else if (((bVar5 == 0x3f) || (bVar5 == 0x23)) && ((param_5 & 0x20) != 0)) { + param_5 = param_5 | 2; + } +LAB_14003f7c9: + if ((-1 < (char)param_5) || ((param_5 & 2) != 0)) goto LAB_14003f855; + if (bVar5 == 0x5c) { + if ((((int)sVar12 != 0) || ((param_5 >> 8 & 1) != 0)) && + ((iVar11 != 0 && ((uVar8 == 0 || (uVar7 < 7)))))) { + bVar5 = 0x2f; + } + goto LAB_14003f855; + } + if ((((bVar5 != 0x2e) || (uVar7 == 0)) || ((param_5 & 8) != 0)) || + (uVar3 = FUN_14003f480((longlong *)&local_res10,(char *)(param_2 + -1),uVar7,&local_res8, + &local_58,param_5,(int)sVar12), param_2 = local_res10, + pbVar10 = local_res8, uVar7 = local_58, (int)uVar3 == 0)) goto LAB_14003f855; + } + _MaxCount = (size_t)local_58; + bVar5 = *local_res8; + uVar7 = local_58; + if (bVar5 == 0) goto LAB_14003f965; + sVar9 = (size_t)local_54; + param_1 = local_res8; + } while( true ); + } +LAB_14003f972: + if (uVar7 < param_4) { + *param_2 = 0; + } +LAB_14003f924: + if (param_3 != (int *)0x0) { + *param_3 = uVar7 + 1; + } + if (param_4 < uVar7 + 1) { + iVar2 = 0; + } + return iVar2; +LAB_14003f965: + iVar2 = iVar11; + param_3 = local_res18; + if (iVar2 == 0) goto LAB_14003f924; + goto LAB_14003f972; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003f980.c b/decomp/AgentManager_Release_x64/full/functions/0x14003f980.c new file mode 100644 index 00000000..2cf77e66 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003f980.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003f980 FUN_14003f980 + * Pseudocode, not original source. */ + +undefined8 FUN_14003f980(longlong param_1,wchar_t *param_2) + +{ + errno_t eVar1; + size_t sVar2; + + sVar2 = wcsnlen(param_2,0x801); + if (0x800 < (uint)sVar2) { + return 0; + } + eVar1 = wcsncpy_s((wchar_t *)(param_1 + 0x448),0x801,param_2,sVar2 & 0xffffffff); + if (eVar1 != 0) { + if (eVar1 == 0xc) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x8007000e); + } + if ((eVar1 == 0x16) || (eVar1 == 0x22)) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80070057); + } + if (eVar1 != 0x50) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + } + *(uint *)(param_1 + 0x2464) = (uint)sVar2; + return 1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003fa30.c b/decomp/AgentManager_Release_x64/full/functions/0x14003fa30.c new file mode 100644 index 00000000..70c56eb0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003fa30.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003fa30 FUN_14003fa30 + * Pseudocode, not original source. */ + +void FUN_14003fa30(undefined2 *param_1) + +{ + *(undefined4 *)(param_1 + 0x1228) = 0xffffffff; + param_1[0x1226] = 0; + *(undefined8 *)(param_1 + 0x122a) = 0; + *(undefined4 *)(param_1 + 0x122e) = 0; + *(undefined8 *)(param_1 + 0x1230) = 0; + *(undefined4 *)(param_1 + 0x1234) = 0; + *param_1 = 0; + param_1[0x21] = 0; + param_1[0x122] = 0; + param_1[0x1a3] = 0; + param_1[0x224] = 0; + param_1[0xa25] = 0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003fa90.c b/decomp/AgentManager_Release_x64/full/functions/0x14003fa90.c new file mode 100644 index 00000000..cc1dfff6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003fa90.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003fa90 FUN_14003fa90 + * Pseudocode, not original source. */ + +undefined8 * FUN_14003fa90(undefined8 *param_1,byte param_2) + +{ + *param_1 = Proud::IFastSocketDelegate::vftable; + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003fac0.c b/decomp/AgentManager_Release_x64/full/functions/0x14003fac0.c new file mode 100644 index 00000000..cb0fd48d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003fac0.c @@ -0,0 +1,47 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003fac0 FUN_14003fac0 + * Pseudocode, not original source. */ + +void FUN_14003fac0(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong *plVar1; + longlong lVar2; + undefined8 uVar3; + uint local_30 [2]; + undefined **local_28; + undefined4 local_20; + undefined2 local_1c; + undefined4 local_18; + + FUN_14003d040((int *)(param_1 + 0x30)); + *(undefined1 *)(param_1 + 0x80) = 1; + FUN_140045bb0((undefined8 *)(param_1 + 0x88)); + if ((*(undefined8 **)(param_1 + 0x10) != (undefined8 *)0x0) && + (plVar1 = (longlong *)**(undefined8 **)(param_1 + 0x10), plVar1 != (longlong *)0x0)) { + FUN_140043a50(plVar1,param_2,param_3,param_4); + while( true ) { + local_28 = Proud::AddrPort::vftable; + local_18 = 0; + local_30[0] = 0; + local_30[1] = 0; + local_20 = DAT_14016f3d0; + local_1c = DAT_14016f3d4; + lVar2 = 0; + if (*(longlong **)(param_1 + 0x10) != (longlong *)0x0) { + lVar2 = **(longlong **)(param_1 + 0x10); + } + if (*(char *)(lVar2 + 0x280) == '\0') break; + lVar2 = 0; + if (*(longlong **)(param_1 + 0x10) != (longlong *)0x0) { + lVar2 = **(longlong **)(param_1 + 0x10); + } + uVar3 = FUN_140043980(lVar2,0,local_30); + if (((char)uVar3 != '\0') || (DAT_140176450 != '\0')) break; + Sleep(10); + } + } + FUN_14003d0d0(param_1 + 0x30); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003fbd0.c b/decomp/AgentManager_Release_x64/full/functions/0x14003fbd0.c new file mode 100644 index 00000000..e7a0b92e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003fbd0.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003fbd0 FUN_14003fbd0 + * Pseudocode, not original source. */ + +void FUN_14003fbd0(undefined8 *param_1) + +{ + free((void *)*param_1); + *param_1 = 0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003fbf0.c b/decomp/AgentManager_Release_x64/full/functions/0x14003fbf0.c new file mode 100644 index 00000000..b323a426 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003fbf0.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003fbf0 FUN_14003fbf0 + * Pseudocode, not original source. */ + +wchar_t * FUN_14003fbf0(wchar_t *param_1) + +{ + errno_t eVar1; + + FUN_14003fa30(param_1); + param_1[0x1228] = L'\x02'; + param_1[0x1229] = L'\0'; + param_1[0x122a] = L'\x04'; + param_1[0x122b] = L'\0'; + param_1[0x1226] = L'P'; + eVar1 = wcsncpy_s(param_1,0x21,L"http",4); + if (eVar1 != 0) { + if (eVar1 == 0xc) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x8007000e); + } + if ((eVar1 == 0x16) || (eVar1 == 0x22)) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80070057); + } + if (eVar1 != 0x50) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003fc80.c b/decomp/AgentManager_Release_x64/full/functions/0x14003fc80.c new file mode 100644 index 00000000..d52d463f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003fc80.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003fc80 FUN_14003fc80 + * Pseudocode, not original source. */ + +void FUN_14003fc80(longlong param_1) + +{ + longlong lVar1; + undefined *puVar2; + int iVar3; + uint uVar4; + + puVar2 = *(undefined **)(param_1 + 0x20); + lVar1 = 0; + iVar3 = 0; + if ((puVar2 != (undefined *)0x0) && (iVar3 = 0, puVar2 != PTR_DAT_14016f008)) { + iVar3 = *(int *)(puVar2 + -8); + } + if (puVar2 == (undefined *)0x0) { + puVar2 = PTR_DAT_14016f008; + } + if (*(longlong **)(param_1 + 0x10) != (longlong *)0x0) { + lVar1 = **(longlong **)(param_1 + 0x10); + } + uVar4 = iVar3 - *(int *)(param_1 + 0x28); + FUN_140044bb0(lVar1,(undefined8 *)(puVar2 + *(int *)(param_1 + 0x28)), + (undefined **)(ulonglong)(uVar4 + 1),(ulonglong)uVar4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003fcd0.c b/decomp/AgentManager_Release_x64/full/functions/0x14003fcd0.c new file mode 100644 index 00000000..11f7fe85 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003fcd0.c @@ -0,0 +1,113 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003fcd0 FUN_14003fcd0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __chkstk replaced with injection: alloca_probe */ +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +int FUN_14003fcd0(LPCWSTR param_1,wchar_t *param_2,uint *param_3,uint param_4,uint param_5) + +{ + WCHAR WVar1; + byte *_Memory; + byte *_Memory_00; + int iVar2; + int iVar3; + byte *pbVar4; + byte *pbVar5; + ulonglong uVar6; + uint uVar7; + LPCWSTR pWVar8; + undefined1 auStackY_1218 [32]; + uint local_11e4; + byte *local_11e0; + byte *local_11d8; + uint *local_11d0; + undefined8 local_11c8; + wchar_t *local_11b8; + wchar_t local_11b0 [132]; + byte local_10a8 [2096]; + byte local_878 [2096]; + ulonglong local_48; + undefined8 uStack_40; + + uStack_40 = 0x14003fce6; + local_11c8 = 0xfffffffffffffffe; + local_48 = DAT_14016f5a0 ^ (ulonglong)auStackY_1218; + iVar3 = 0; + local_11d0 = param_3; + if (param_1 == (LPCWSTR)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + if (param_2 == (wchar_t *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + uVar6 = 0xffffffffffffffff; + pWVar8 = param_1; + do { + if (uVar6 == 0) break; + uVar6 = uVar6 - 1; + WVar1 = *pWVar8; + pWVar8 = pWVar8 + 1; + } while (WVar1 != L'\0'); + local_11e0 = (byte *)(~uVar6 - 1); + if ((int)local_11e0 == 0) { + if (param_3 != (uint *)0x0) { + *param_3 = 1; + } + *param_2 = L'\0'; + iVar3 = 1; + } + else { + iVar2 = FUN_14003f390(param_1,(int)local_11e0,(LPSTR)0x0,0); + if (iVar2 != 0) { + uVar7 = iVar2 + 1; + local_11d8 = (byte *)0x0; + pbVar4 = local_10a8; + if ((int)uVar7 < 1) { + free((void *)0x0); + iVar3 = 0; + } + else if ((uVar7 < 0x825) || + (pbVar4 = malloc((longlong)(int)uVar7), local_11d8 = pbVar4, pbVar4 != (byte *)0x0)) { + _Memory_00 = local_11d8; + iVar3 = FUN_14003f390(param_1,(int)local_11e0,(LPSTR)pbVar4,uVar7); + pbVar4[iVar3] = 0; + pbVar5 = local_878; + local_11e0 = (byte *)0x0; + if ((param_4 < 0x825) || + (pbVar5 = malloc((ulonglong)param_4), local_11e0 = pbVar5, pbVar5 != (byte *)0x0)) { + _Memory = local_11e0; + local_11e4 = 0; + iVar3 = FUN_14003f5b0(pbVar4,pbVar5,(int *)&local_11e4,param_4,param_5); + if (iVar3 != 0) { + local_11b8 = local_11b0; + FUN_140005110((longlong *)&local_11b8,(LPCSTR)pbVar5,3); + FUN_140011580(param_2,(ulonglong)param_4,local_11b8,(ulonglong)local_11e4); + if (local_11b8 != local_11b0) { + free(local_11b8); + } + } + if (param_3 != (uint *)0x0) { + *param_3 = local_11e4; + } + free(_Memory); + free(_Memory_00); + } + else { + free((void *)0x0); + free(_Memory_00); + iVar3 = 0; + } + } + else { + free((void *)0x0); + iVar3 = 0; + } + } + } + return iVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14003ff20.c b/decomp/AgentManager_Release_x64/full/functions/0x14003ff20.c new file mode 100644 index 00000000..44dd6d06 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14003ff20.c @@ -0,0 +1,132 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14003ff20 FUN_14003ff20 + * Pseudocode, not original source. */ + +/* WARNING: Function: __chkstk replaced with injection: alloca_probe */ +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_14003ff20(wchar_t *param_1,uint param_2) + +{ + wchar_t *_Src; + errno_t eVar1; + int iVar2; + undefined1 auStackY_1098 [32]; + wchar_t local_1068; + WCHAR local_1066 [2087]; + ulonglong local_18; + undefined8 uStack_10; + + uStack_10 = 0x14003ff30; + local_18 = DAT_14016f5a0 ^ (ulonglong)auStackY_1098; + eVar1 = _wcslwr_s(param_1,0x21); + if (eVar1 != 0) { + if (eVar1 == 0xc) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x8007000e); + } + if ((eVar1 == 0x16) || (eVar1 == 0x22)) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80070057); + } + if (eVar1 != 0x50) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + } + eVar1 = wcscpy_s(&local_1068,0x824,param_1 + 0x122); + if (eVar1 != 0) { + if (eVar1 == 0xc) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x8007000e); + } + if ((eVar1 == 0x16) || (eVar1 == 0x22)) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80070057); + } + if (eVar1 != 0x50) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + } + iVar2 = FUN_14003fcd0(&local_1068,param_1 + 0x122,(uint *)(param_1 + 0x122e),0x80,param_2); + if (iVar2 != 0) { + *(int *)(param_1 + 0x122e) = *(int *)(param_1 + 0x122e) + -1; + eVar1 = wcscpy_s(&local_1068,0x824,param_1 + 0x1a3); + if (eVar1 != 0) { + if (eVar1 == 0xc) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x8007000e); + } + if ((eVar1 == 0x16) || (eVar1 == 0x22)) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80070057); + } + if (eVar1 != 0x50) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + } + iVar2 = FUN_14003fcd0(&local_1068,param_1 + 0x1a3,(uint *)(param_1 + 0x1230),0x80,param_2); + if (iVar2 != 0) { + *(int *)(param_1 + 0x1230) = *(int *)(param_1 + 0x1230) + -1; + eVar1 = wcscpy_s(&local_1068,0x824,param_1 + 0x21); + if (eVar1 != 0) { + if (eVar1 == 0xc) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x8007000e); + } + if ((eVar1 == 0x16) || (eVar1 == 0x22)) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80070057); + } + if (eVar1 != 0x50) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + } + iVar2 = FUN_14003fcd0(&local_1068,param_1 + 0x21,(uint *)(param_1 + 0x122c),0x100,param_2); + if (iVar2 != 0) { + *(int *)(param_1 + 0x122c) = *(int *)(param_1 + 0x122c) + -1; + eVar1 = wcscpy_s(&local_1068,0x824,param_1 + 0x224); + if (eVar1 != 0) { + if (eVar1 == 0xc) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x8007000e); + } + if ((eVar1 == 0x16) || (eVar1 == 0x22)) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80070057); + } + if (eVar1 != 0x50) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + } + iVar2 = FUN_14003fcd0(&local_1068,param_1 + 0x224,(uint *)(param_1 + 0x1232),0x800,param_2); + if ((((iVar2 != 0) && + (*(int *)(param_1 + 0x1232) = *(int *)(param_1 + 0x1232) + -1, (param_2 & 0x20) == 0)) + && (_Src = param_1 + 0xa25, _Src != (wchar_t *)0x0)) && (*_Src != L'\0')) { + eVar1 = wcscpy_s(&local_1068,0x824,_Src); + if (eVar1 != 0) { + if (eVar1 == 0xc) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x8007000e); + } + if ((eVar1 == 0x16) || (eVar1 == 0x22)) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80070057); + } + if (eVar1 != 0x50) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + } + FUN_14003fcd0(local_1066,param_1 + 0xa26,(uint *)(param_1 + 0x1234),0x7ff,param_2); + } + } + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140040250.c b/decomp/AgentManager_Release_x64/full/functions/0x140040250.c new file mode 100644 index 00000000..ccac6c24 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140040250.c @@ -0,0 +1,27 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140040250 FUN_140040250 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_140040250(longlong *param_1,char *param_2,va_list param_3) + +{ + int iVar1; + undefined *puVar2; + undefined1 auStack_448 [32]; + char local_428 [1040]; + ulonglong local_18; + + local_18 = DAT_14016f5a0 ^ (ulonglong)auStack_448; + if (param_2 == (char *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80070057); + } + iVar1 = vsprintf_s(local_428,0x400,param_2,param_3); + puVar2 = FUN_14003d780(param_1,iVar1); + FUN_14003e710(puVar2,local_428,iVar1); + FUN_14003d440(param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400402e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400402e0.c new file mode 100644 index 00000000..88f8624d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400402e0.c @@ -0,0 +1,127 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400402e0 FUN_1400402e0 + * Pseudocode, not original source. */ + +void FUN_1400402e0(longlong *param_1,longlong *param_2) + +{ + int *piVar1; + int iVar2; + int iVar3; + undefined *puVar4; + int iVar5; + undefined *puVar6; + + puVar4 = (undefined *)*param_2; + if (((puVar4 != (undefined *)0x0) && (puVar4 != PTR_DAT_14016f008)) && (0 < *(int *)(puVar4 + -8)) + ) { + puVar6 = (undefined *)*param_1; + if (puVar6 == (undefined *)0x0) { + iVar5 = 0; + } + else if (puVar6 == PTR_DAT_14016f008) { + iVar5 = 0; + } + else { + iVar5 = *(int *)(puVar6 + -8); + } + iVar3 = *(int *)(puVar4 + -8) + iVar5; + if (puVar6 == (undefined *)0x0) { + iVar2 = 0; + } + else if (puVar6 == PTR_DAT_14016f008) { + iVar2 = 0; + } + else { + iVar2 = *(int *)(puVar6 + -8); + } + if (iVar3 <= iVar2) { + if (puVar6 == (undefined *)0x0) { + iVar3 = 0; + } + else if (puVar6 == PTR_DAT_14016f008) { + iVar3 = 0; + } + else { + iVar3 = *(int *)(puVar6 + -8); + } + } + iVar2 = 1; + if (1 < iVar3) { + iVar2 = iVar3; + } + if (puVar6 == (undefined *)0x0) { + iVar3 = 0; + } + else if (puVar6 == PTR_DAT_14016f008) { + iVar3 = 0; + } + else { + iVar3 = *(int *)(puVar6 + -8); + } + if (iVar3 < iVar2) { + FUN_14003d5d0(param_1,iVar2); + } + FUN_14003d4c0(param_1); + puVar4 = (undefined *)*param_2; + puVar6 = (undefined *)*param_1; + if ((undefined *)*param_1 == (undefined *)0x0) { + puVar6 = PTR_DAT_14016f008; + } + if (puVar4 == (undefined *)0x0) { + iVar3 = 0; + } + else if (puVar4 == PTR_DAT_14016f008) { + iVar3 = 0; + } + else { + iVar3 = *(int *)(puVar4 + -8); + } + if (puVar4 == (undefined *)0x0) { + puVar4 = PTR_DAT_14016f008; + } + FUN_14003e710(puVar6 + iVar5,puVar4,iVar3); + puVar4 = (undefined *)*param_2; + if (puVar4 == (undefined *)0x0) { + iVar3 = 0; + } + else if (puVar4 == PTR_DAT_14016f008) { + iVar3 = 0; + } + else { + iVar3 = *(int *)(puVar4 + -8); + } + iVar2 = 0; + if (0 < iVar3 + iVar5) { + iVar2 = iVar3 + iVar5; + } + puVar4 = (undefined *)*param_1; + if (puVar4 == (undefined *)0x0) { + iVar5 = 0; + } + else if (puVar4 == PTR_DAT_14016f008) { + iVar5 = 0; + } + else { + iVar5 = *(int *)(puVar4 + -8); + } + if (iVar5 <= iVar2) { + if (puVar4 == (undefined *)0x0) { + iVar2 = 0; + } + else if (puVar4 == PTR_DAT_14016f008) { + iVar2 = 0; + } + else { + iVar2 = *(int *)(puVar4 + -8); + } + } + if (((puVar4 != PTR_DAT_14016f008) && (puVar4 != (undefined *)0x0)) && + (piVar1 = (int *)(puVar4 + -8), piVar1 != (int *)0x0)) { + *piVar1 = iVar2; + *(undefined1 *)((longlong)iVar2 + 8 + (longlong)piVar1) = 0; + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140040470.c b/decomp/AgentManager_Release_x64/full/functions/0x140040470.c new file mode 100644 index 00000000..50f8759a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140040470.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140040470 FUN_140040470 + * Pseudocode, not original source. */ + +void FUN_140040470(longlong *param_1,char *param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 local_res18; + undefined8 local_res20; + + local_res18 = param_3; + local_res20 = param_4; + FUN_140040250(param_1,param_2,(va_list)&local_res18); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400404a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400404a0.c new file mode 100644 index 00000000..91f3c485 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400404a0.c @@ -0,0 +1,25 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400404a0 FUN_1400404a0 + * Pseudocode, not original source. */ + +void FUN_1400404a0(longlong *param_1,undefined8 param_2,longlong *param_3,undefined8 param_4) + +{ + undefined8 *puVar1; + longlong *plVar2; + + if (*param_1 != 0) { + *(longlong *)(*param_1 + 8) = *(longlong *)(*param_1 + 8) + -1; + if (*(longlong *)(*param_1 + 8) == 0) { + puVar1 = (undefined8 *)*param_1; + plVar2 = (longlong *)*puVar1; + if (plVar2 != (longlong *)0x0) { + FUN_140043e60(plVar2,0,param_3,param_4); + FUN_14003e8b0(plVar2); + } + FUN_14003e8b0(puVar1); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140040510.c b/decomp/AgentManager_Release_x64/full/functions/0x140040510.c new file mode 100644 index 00000000..ea732df8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140040510.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140040510 FUN_140040510 + * Pseudocode, not original source. */ + +void FUN_140040510(longlong *param_1,longlong *param_2) + +{ + longlong lVar1; + longlong *plVar2; + undefined8 *puVar3; + longlong *plVar4; + + lVar1 = *param_2; + if (lVar1 != *param_1) { + plVar4 = (longlong *)0x0; + if (lVar1 != 0) { + plVar4 = (longlong *)(*(longlong *)(lVar1 + 8) + 1); + *(longlong **)(*param_2 + 8) = plVar4; + } + puVar3 = (undefined8 *)0x0; + if ((*param_1 != 0) && + (*(longlong *)(*param_1 + 8) = *(longlong *)(*param_1 + 8) + -1, + *(longlong *)(*param_1 + 8) == 0)) { + puVar3 = (undefined8 *)*param_1; + } + *param_1 = *param_2; + if (puVar3 != (undefined8 *)0x0) { + plVar2 = (longlong *)*puVar3; + if (plVar2 != (longlong *)0x0) { + FUN_140043e60(plVar2,param_2,plVar4,param_1); + FUN_14003e8b0(plVar2); + } + FUN_14003e8b0(puVar3); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400405a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400405a0.c new file mode 100644 index 00000000..096bafa0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400405a0.c @@ -0,0 +1,35 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400405a0 FUN_1400405a0 + * Pseudocode, not original source. */ + +longlong FUN_1400405a0(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined *puVar1; + int iVar2; + uint uVar3; + undefined *puVar4; + undefined4 extraout_var; + uint7 uVar5; + longlong lVar6; + undefined *local_res8; + + puVar1 = PTR_u_www_nettention_co_kr_14016f288; + FUN_14003e7c0(param_1,param_2,param_3,param_4); + local_res8 = PTR_DAT_14016f010; + iVar2 = FUN_14003e620((short *)puVar1); + puVar4 = FUN_140001ee0((longlong *)&local_res8,iVar2); + FUN_14003e650(puVar4,puVar1,iVar2); + FUN_140001fc0((longlong *)&local_res8); + lVar6 = 0; + if (*(longlong **)(param_1 + 0x10) != (longlong *)0x0) { + lVar6 = **(longlong **)(param_1 + 0x10); + } + uVar3 = FUN_140044450(lVar6,(longlong *)&local_res8,(short)DAT_14016f290,param_4); + uVar5 = (uint7)(CONCAT44(extraout_var,uVar3) >> 8); + if ((uVar3 != 0) && (uVar3 != 0x2733)) { + return (ulonglong)uVar5 << 8; + } + return CONCAT71(uVar5,1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140040650.c b/decomp/AgentManager_Release_x64/full/functions/0x140040650.c new file mode 100644 index 00000000..acb8be8f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140040650.c @@ -0,0 +1,170 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140040650 FUN_140040650 + * Pseudocode, not original source. */ + +void FUN_140040650(int *param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + int *piVar1; + bool bVar2; + DWORD DVar3; + uint uVar4; + int iVar5; + uint uVar6; + uint *puVar7; + int *piVar8; + longlong *plVar9; + LPCWSTR pWVar10; + longlong *plVar11; + ulonglong uVar12; + undefined *puVar13; + LPCWSTR pWVar14; + uint uVar15; + LPCWSTR local_res8; + + piVar1 = param_1 + 0xc; + bVar2 = FUN_14003d0e0(piVar1); + if (!bVar2) { + return; + } + FUN_14003d040(piVar1); + puVar13 = *(undefined **)(param_1 + 2); + if ((((puVar13 != (undefined *)0x0) && (puVar13 != PTR_DAT_14016f010)) && + (*(int *)(puVar13 + -8) != 0)) || + ((*param_1 != 3 || (DVar3 = GetTickCount(), DVar3 - param_1[1] < 0x7531)))) goto LAB_140040911; + plVar9 = (longlong *)(param_1 + 2); + plVar11 = param_2; + FUN_1400020c0(plVar9,param_2,param_3,param_4); + *param_1 = 0; + DVar3 = GetTickCount(); + param_1[1] = DVar3; + FUN_14003e7c0(plVar9,plVar11,param_3,param_4); + pWVar14 = (LPCWSTR)PTR_DAT_14016f010; + local_res8 = (LPCWSTR)PTR_DAT_14016f010; + uVar4 = FUN_14003e620(L"**ErrorReport** "); + uVar12 = 0; + if ((pWVar14 != (LPCWSTR)0x0) && (pWVar14 != (LPCWSTR)PTR_DAT_14016f010)) { + uVar12 = (ulonglong)*(uint *)((longlong)pWVar14 + -8); + } + uVar6 = uVar4; + if ((((int)uVar4 <= (int)uVar12) && (uVar6 = 0, pWVar14 != (LPCWSTR)0x0)) && + (pWVar14 != (LPCWSTR)PTR_DAT_14016f010)) { + uVar6 = *(uint *)((longlong)pWVar14 + -8); + } + uVar15 = 1; + if (1 < (int)uVar6) { + uVar15 = uVar6; + } + iVar5 = 0; + if ((pWVar14 != (LPCWSTR)0x0) && (pWVar14 != (LPCWSTR)PTR_DAT_14016f010)) { + iVar5 = *(int *)((longlong)pWVar14 + -8); + } + if (iVar5 < (int)uVar15) { + if (pWVar14 == (LPCWSTR)0x0) { + pWVar14 = (LPCWSTR)PTR_DAT_14016f010; + } + local_res8 = pWVar14; + if ((int)uVar15 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar15 == 0) { + FUN_140002190((longlong *)&local_res8,uVar12,param_3,param_4); + } + else { + uVar6 = 0; + if ((pWVar14 != (LPCWSTR)0x0) && (uVar6 = 0, pWVar14 != (LPCWSTR)PTR_DAT_14016f010)) { + uVar6 = *(uint *)(pWVar14 + -4); + } + if (uVar15 != uVar6) { + puVar7 = (uint *)FUN_14003e840((longlong)(int)uVar15 * 2 + 10); + if (puVar7 != (uint *)0x0) { + *puVar7 = 0; + puVar7[1] = 1; + } + *puVar7 = uVar15; + uVar6 = 0; + if ((pWVar14 != (LPCWSTR)0x0) && (uVar6 = 0, pWVar14 != (LPCWSTR)PTR_DAT_14016f010)) { + uVar6 = *(uint *)(pWVar14 + -4); + } + pWVar10 = (LPCWSTR)PTR_DAT_14016f010; + if ((int)uVar15 < (int)uVar6) { +LAB_1400407e1: + if (pWVar14 != (LPCWSTR)0x0) { + pWVar10 = pWVar14; + } + } + else { + uVar15 = 0; + if (pWVar14 != (LPCWSTR)0x0) { + if (pWVar14 != (LPCWSTR)PTR_DAT_14016f010) { + uVar15 = *(uint *)(pWVar14 + -4); + } + goto LAB_1400407e1; + } + } + uVar12 = (ulonglong)uVar15; + FUN_14003e650(puVar7 + 2,pWVar10,uVar15); + FUN_140002190((longlong *)&local_res8,pWVar10,uVar12,param_4); + local_res8 = (LPCWSTR)(puVar7 + 2); + } + } + } + FUN_140001df0((longlong *)&local_res8); + pWVar14 = local_res8; + pWVar10 = local_res8; + if (local_res8 == (LPCWSTR)0x0) { + pWVar10 = (LPCWSTR)PTR_DAT_14016f010; + } + uVar12 = (ulonglong)uVar4; + FUN_14003e650(pWVar10,L"**ErrorReport** ",uVar4); + pWVar10 = pWVar14; + if (pWVar14 == (LPCWSTR)0x0) { + pWVar10 = (LPCWSTR)PTR_DAT_14016f010; + } + uVar6 = FUN_14003e620(pWVar10); + uVar4 = 0; + if (0 < (int)uVar6) { + uVar4 = uVar6; + } + uVar6 = 0; + if ((pWVar14 != (LPCWSTR)0x0) && (pWVar14 != (LPCWSTR)PTR_DAT_14016f010)) { + uVar6 = *(uint *)(pWVar14 + -4); + } + if (((int)uVar4 < (int)uVar6) || (uVar4 = 0, pWVar14 == (LPCWSTR)0x0)) { +LAB_140040879: + if (((pWVar14 != (LPCWSTR)PTR_DAT_14016f010) && (pWVar14 != (LPCWSTR)0x0)) && + (pWVar14 + -4 != (LPCWSTR)0x0)) { + *(uint *)(pWVar14 + -4) = uVar4; + pWVar14[(int)uVar4] = L'\0'; + } + } + else if (pWVar14 != (LPCWSTR)PTR_DAT_14016f010) { + uVar4 = *(uint *)(pWVar14 + -4); + goto LAB_140040879; + } + FUN_140029980((longlong *)&local_res8,param_2); + puVar13 = &DAT_140130d90; + FUN_140029bf0((longlong *)&local_res8,(short *)&DAT_140130d90); + pWVar14 = local_res8; + pWVar10 = local_res8; + if (local_res8 == (LPCWSTR)0x0) { + pWVar10 = (LPCWSTR)PTR_DAT_14016f010; + } + OutputDebugStringW(pWVar10); + if (((pWVar14 != (LPCWSTR)0x0) && (pWVar14 != (LPCWSTR)PTR_DAT_14016f010)) && + (pWVar14 + -4 != (LPCWSTR)0x0)) { + piVar8 = (int *)FUN_14003e7c0(pWVar10,puVar13,uVar12,param_4); + FUN_14003d040(piVar8); + pWVar10 = pWVar14 + -2; + *(uint *)pWVar10 = *(uint *)pWVar10 - 1; + if (*(uint *)pWVar10 == 0) { + FUN_14003e8b0(pWVar14 + -4); + } + FUN_14003d0d0((longlong)piVar8); + } +LAB_140040911: + FUN_14003d0d0((longlong)piVar1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140040940.c b/decomp/AgentManager_Release_x64/full/functions/0x140040940.c new file mode 100644 index 00000000..3a7bce26 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140040940.c @@ -0,0 +1,31 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140040940 FUN_140040940 + * Pseudocode, not original source. */ + +void FUN_140040940(longlong param_1,undefined8 param_2,longlong *param_3,undefined8 param_4) + +{ + undefined8 *puVar1; + longlong *plVar2; + + FUN_14003fac0(param_1,param_2,param_3,param_4); + FUN_140045c30((undefined8 *)(param_1 + 0x88)); + FUN_14003d110((undefined4 *)(param_1 + 0x30),param_2,param_3,param_4); + FUN_140006e80((longlong *)(param_1 + 0x20)); + *(undefined ***)(param_1 + 0x18) = Proud::IFastSocketDelegate::vftable; + if ((*(longlong *)(param_1 + 0x10) != 0) && + (*(longlong *)(*(longlong *)(param_1 + 0x10) + 8) = + *(longlong *)(*(longlong *)(param_1 + 0x10) + 8) + -1, + *(longlong *)(*(longlong *)(param_1 + 0x10) + 8) == 0)) { + puVar1 = *(undefined8 **)(param_1 + 0x10); + plVar2 = (longlong *)*puVar1; + if (plVar2 != (longlong *)0x0) { + FUN_140043e60(plVar2,param_2,param_3,param_4); + FUN_14003e8b0(plVar2); + } + FUN_14003e8b0(puVar1); + } + FUN_140002190((longlong *)(param_1 + 8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140040a00.c b/decomp/AgentManager_Release_x64/full/functions/0x140040a00.c new file mode 100644 index 00000000..84f70885 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140040a00.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140040a00 FUN_140040a00 + * Pseudocode, not original source. */ + +longlong * FUN_140040a00(longlong *param_1,longlong *param_2,longlong *param_3,undefined8 param_4) + +{ + longlong *plVar1; + + plVar1 = param_3; + FUN_14003e7c0(param_1,param_2,param_3,param_4); + *param_1 = (longlong)PTR_DAT_14016f008; + FUN_140006de0(param_1,param_2,plVar1,param_4); + FUN_1400402e0(param_1,param_3); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140040a70.c b/decomp/AgentManager_Release_x64/full/functions/0x140040a70.c new file mode 100644 index 00000000..9fee856c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140040a70.c @@ -0,0 +1,88 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140040a70 FUN_140040a70 + * Pseudocode, not original source. */ + +void FUN_140040a70(undefined4 *param_1,undefined8 param_2,longlong *param_3,undefined8 param_4) + +{ + undefined *puVar1; + longlong *plVar2; + undefined8 *puVar3; + undefined4 uVar4; + undefined8 *puVar5; + longlong lVar6; + undefined8 **ppuVar7; + undefined8 uVar8; + undefined8 *local_res8; + longlong local_res10 [2]; + + puVar1 = *(undefined **)(param_1 + 2); + if (((puVar1 != (undefined *)0x0) && (puVar1 != PTR_DAT_14016f010)) && + (*(int *)(puVar1 + -8) != 0)) { + local_res8 = (undefined8 *)FUN_14003e840(0x400); + if (local_res8 == (undefined8 *)0x0) { + puVar5 = (undefined8 *)0x0; + } + else { + param_3 = (longlong *)(param_1 + 6); + puVar5 = FUN_140043f50(local_res8,0,param_3,param_4); + } + if (puVar5 == (undefined8 *)0x0) { + local_res8 = (undefined8 *)0x0; + } + else { + local_res8 = (undefined8 *)FUN_14003e840(0x10); + local_res8[1] = 1; + *local_res8 = puVar5; + } + puVar5 = local_res8; + ppuVar7 = &local_res8; + FUN_140040510((longlong *)(param_1 + 4),(longlong *)ppuVar7); + puVar3 = local_res8; + if (puVar5 != (undefined8 *)0x0) { + plVar2 = puVar5 + 1; + *plVar2 = *plVar2 + -1; + if (*plVar2 == 0) { + plVar2 = (longlong *)*local_res8; + if (plVar2 != (longlong *)0x0) { + FUN_140043e60(plVar2,ppuVar7,param_3,param_4); + FUN_14003e8b0(plVar2); + } + FUN_14003e8b0(puVar3); + } + } + if (*(longlong **)(param_1 + 4) == (longlong *)0x0) { + lVar6 = 0; + } + else { + lVar6 = **(longlong **)(param_1 + 4); + } + uVar4 = FUN_140045ad0(lVar6,ppuVar7,param_3,param_4); + if ((char)uVar4 == '\0') { + local_res10[0] = 0; + FUN_140040510((longlong *)(param_1 + 4),local_res10); + *param_1 = 3; + } + else { + if (*(longlong **)(param_1 + 4) == (longlong *)0x0) { + lVar6 = 0; + } + else { + lVar6 = **(longlong **)(param_1 + 4); + } + uVar8 = 0; + FUN_140043230(lVar6,'\0'); + lVar6 = FUN_1400405a0((longlong)param_1,uVar8,param_3,param_4); + if ((char)lVar6 == '\0') { + local_res10[1] = 0; + FUN_140040510((longlong *)(param_1 + 4),local_res10 + 1); + *param_1 = 3; + } + else { + *param_1 = 1; + } + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140040be0.c b/decomp/AgentManager_Release_x64/full/functions/0x140040be0.c new file mode 100644 index 00000000..1ebe143e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140040be0.c @@ -0,0 +1,459 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140040be0 FUN_140040be0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __chkstk replaced with injection: alloca_probe */ +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_140040be0(undefined4 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong *plVar1; + undefined *puVar2; + undefined4 *puVar3; + undefined4 *puVar4; + errno_t eVar5; + uint uVar6; + uint uVar7; + uint uVar8; + uint uVar9; + undefined8 uVar10; + uint *puVar11; + uint *puVar12; + longlong *plVar13; + longlong *plVar14; + longlong *plVar15; + int *piVar16; + longlong lVar17; + char **ppcVar18; + char *pcVar19; + undefined *puVar20; + wchar_t *pwVar21; + undefined2 *puVar22; + LPCWSTR pWVar23; + uint *puVar24; + undefined8 *puVar25; + uint *puVar26; + uint uVar27; + uint uVar28; + wchar_t *pwVar29; + undefined8 uVar30; + ulonglong uVar31; + undefined **ppuVar32; + undefined1 auStack_2c58 [32]; + uint *local_2c38; + uint *local_2c30; + longlong *local_2c28; + undefined1 local_2c20; + undefined *local_2c18; + undefined *local_2c10; + int local_2c08 [2]; + undefined *local_2c00; + undefined4 *local_2bf8; + undefined8 local_2bf0; + char *local_2be8; + char local_2be0 [136]; + undefined1 *local_2b58; + undefined1 local_2b50 [136]; + undefined4 local_2ac8 [392]; + wchar_t local_24a8 [548]; + WCHAR local_2060 [4098]; + undefined2 local_5c; + undefined4 local_58; + undefined4 local_54; + ulonglong local_38; + undefined8 local_30; + + local_30 = 0x140040bfc; + local_2bf0 = 0xfffffffffffffffe; + local_38 = DAT_14016f5a0 ^ (ulonglong)auStack_2c58; + local_2bf8 = param_1; + FUN_1400432b0(local_2ac8); + plVar1 = (longlong *)(param_1 + 4); + plVar15 = (longlong *)0x0; + uVar28 = 0; + plVar13 = plVar15; + if ((undefined8 *)*plVar1 != (undefined8 *)0x0) { + plVar13 = *(longlong **)*plVar1; + } + FUN_1400432d0((longlong)local_2ac8,(longlong)plVar13); + plVar13 = plVar15; + if ((undefined8 *)*plVar1 != (undefined8 *)0x0) { + plVar13 = *(longlong **)*plVar1; + } + FUN_140043330((longlong)local_2ac8,(longlong)plVar13); + FUN_140043390((longlong)local_2ac8,0); + plVar13 = plVar15; + if ((undefined8 *)*plVar1 != (undefined8 *)0x0) { + plVar13 = *(longlong **)*plVar1; + } + piVar16 = local_2c08; + uVar10 = FUN_1400433f0((longlong)local_2ac8,(longlong)plVar13,piVar16); + if ((char)uVar10 == '\0') { + return; + } + uVar27 = 0; + if (local_2c08[0] != 0) { + lVar17 = FUN_1400405a0((longlong)param_1,plVar13,piVar16,param_4); + if ((char)lVar17 != '\0') { + return; + } + local_2c18 = (undefined *)0x0; + FUN_140040510(plVar1,(longlong *)&local_2c18); + *param_1 = 3; + return; + } + plVar13 = plVar15; + if ((undefined8 *)*plVar1 != (undefined8 *)0x0) { + plVar13 = *(longlong **)*plVar1; + } + FUN_140043230((longlong)plVar13,'\x01'); + param_1[10] = 0; + FUN_14003fa30(local_24a8); + local_58 = 2; + local_54 = 4; + local_5c = 0x50; + uVar10 = 4; + pwVar29 = L"http"; + eVar5 = wcsncpy_s(local_24a8,0x21,L"http",4); + if (eVar5 != 0) { + if (eVar5 == 0xc) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x8007000e); + } + if ((eVar5 == 0x16) || (eVar5 == 0x22)) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80070057); + } + if (eVar5 != 0x50) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + } + pwVar21 = *(wchar_t **)(param_1 + 2); + if (*(wchar_t **)(param_1 + 2) == (wchar_t *)0x0) { + pwVar21 = (wchar_t *)PTR_DAT_14016f010; + } + FUN_14003f980((longlong)local_24a8,pwVar21); + FUN_14003ff20(local_24a8,0); + puVar22 = &DAT_140131724; + plVar13 = (longlong *)(param_1 + 2); + FUN_140005dd0(plVar13,&DAT_140131724,pwVar29,uVar10); + puVar20 = PTR_s_GET__PNReport_ReportError_php_Te_14016f298; + FUN_14003e7c0(plVar13,puVar22,pwVar29,uVar10); + puVar26 = (uint *)PTR_DAT_14016f008; + local_2c30 = (uint *)PTR_DAT_14016f008; + uVar6 = FUN_14003e6e0(puVar20); + uVar9 = uVar27; + if ((puVar26 != (uint *)0x0) && (puVar26 != (uint *)PTR_DAT_14016f008)) { + uVar9 = *(uint *)((longlong)puVar26 + -8); + } + uVar7 = uVar6; + if ((((int)uVar6 <= (int)uVar9) && (uVar7 = uVar27, puVar26 != (uint *)0x0)) && + (puVar26 != (uint *)PTR_DAT_14016f008)) { + uVar7 = *(uint *)((longlong)puVar26 + -8); + } + uVar9 = 1; + if (1 < (int)uVar7) { + uVar9 = uVar7; + } + uVar7 = uVar27; + if ((puVar26 != (uint *)0x0) && (puVar26 != (uint *)PTR_DAT_14016f008)) { + uVar7 = *(uint *)((longlong)puVar26 + -8); + } + if ((int)uVar7 < (int)uVar9) { + if (puVar26 == (uint *)0x0) { + puVar26 = (uint *)PTR_DAT_14016f008; + } + local_2c30 = puVar26; + if ((int)uVar9 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar9 == 0) { + FUN_140006e80((longlong *)&local_2c30); + } + else { + uVar7 = uVar27; + if ((puVar26 != (uint *)0x0) && (puVar26 != (uint *)PTR_DAT_14016f008)) { + uVar7 = puVar26[-2]; + } + if (uVar9 != uVar7) { + puVar11 = (uint *)FUN_14003e840((longlong)(int)uVar9 + 9); + if (puVar11 != (uint *)0x0) { + *puVar11 = 0; + puVar11[1] = 1; + } + *puVar11 = uVar9; + uVar7 = uVar27; + if ((puVar26 != (uint *)0x0) && (puVar26 != (uint *)PTR_DAT_14016f008)) { + uVar7 = puVar26[-2]; + } + puVar12 = (uint *)PTR_DAT_14016f008; + if ((int)uVar9 < (int)uVar7) { +LAB_140040e80: + if (puVar26 != (uint *)0x0) { + puVar12 = puVar26; + } + } + else { + uVar9 = uVar27; + if (puVar26 != (uint *)0x0) { + if (puVar26 != (uint *)PTR_DAT_14016f008) { + uVar9 = puVar26[-2]; + } + goto LAB_140040e80; + } + } + FUN_14003e710(puVar11 + 2,puVar12,uVar9); + FUN_140006e80((longlong *)&local_2c30); + local_2c30 = puVar11 + 2; + } + } + } + FUN_14003d4c0((longlong *)&local_2c30); + puVar26 = local_2c30; + puVar11 = local_2c30; + if (local_2c30 == (uint *)0x0) { + puVar11 = (uint *)PTR_DAT_14016f008; + } + FUN_14003e710(puVar11,puVar20,uVar6); + puVar11 = puVar26; + if (puVar26 == (uint *)0x0) { + puVar11 = (uint *)PTR_DAT_14016f008; + } + uVar6 = FUN_14003e6e0((char *)puVar11); + uVar9 = uVar28; + if (0 < (int)uVar6) { + uVar9 = uVar6; + } + uVar7 = 0; + uVar6 = uVar7; + if ((puVar26 != (uint *)0x0) && (puVar26 != (uint *)PTR_DAT_14016f008)) { + uVar6 = puVar26[-2]; + } + if (((int)uVar9 < (int)uVar6) || (uVar9 = uVar7, puVar26 == (uint *)0x0)) { +LAB_140040f11: + if (((puVar26 != (uint *)PTR_DAT_14016f008) && (puVar26 != (uint *)0x0)) && + (puVar11 = puVar26 + -2, puVar11 != (uint *)0x0)) { + *puVar11 = uVar9; + *(undefined1 *)((longlong)(int)uVar9 + 8 + (longlong)puVar11) = 0; + } + } + else if (puVar26 != (uint *)PTR_DAT_14016f008) { + uVar9 = puVar26[-2]; + goto LAB_140040f11; + } + local_2be8 = local_2be0; + uVar30 = 3; + pWVar23 = local_2060; + ppcVar18 = &local_2be8; + FUN_14003d280((longlong *)ppcVar18,pWVar23,3); + pcVar19 = local_2be8; + FUN_14003e7c0(ppcVar18,pWVar23,uVar30,uVar10); + puVar11 = (uint *)PTR_DAT_14016f008; + local_2c38 = (uint *)PTR_DAT_14016f008; + uVar6 = FUN_14003e6e0(pcVar19); + uVar9 = uVar7; + if ((puVar11 != (uint *)0x0) && (puVar11 != (uint *)PTR_DAT_14016f008)) { + uVar9 = *(uint *)((longlong)puVar11 + -8); + } + uVar8 = uVar6; + if ((((int)uVar6 <= (int)uVar9) && (uVar8 = uVar27, puVar11 != (uint *)0x0)) && + (puVar11 != (uint *)PTR_DAT_14016f008)) { + uVar8 = *(uint *)((longlong)puVar11 + -8); + } + uVar9 = 1; + if (1 < (int)uVar8) { + uVar9 = uVar8; + } + uVar8 = uVar7; + if ((puVar11 != (uint *)0x0) && (puVar11 != (uint *)PTR_DAT_14016f008)) { + uVar8 = *(uint *)((longlong)puVar11 + -8); + } + if ((int)uVar8 < (int)uVar9) { + if (puVar11 == (uint *)0x0) { + puVar11 = (uint *)PTR_DAT_14016f008; + } + local_2c38 = puVar11; + if ((int)uVar9 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar9 == 0) { + FUN_140006e80((longlong *)&local_2c38); + } + else { + if ((puVar11 != (uint *)0x0) && (puVar11 != (uint *)PTR_DAT_14016f008)) { + uVar7 = puVar11[-2]; + } + if (uVar9 != uVar7) { + puVar12 = (uint *)FUN_14003e840((longlong)(int)uVar9 + 9); + if (puVar12 != (uint *)0x0) { + *puVar12 = 0; + puVar12[1] = 1; + } + *puVar12 = uVar9; + uVar7 = uVar28; + if ((puVar11 != (uint *)0x0) && (puVar11 != (uint *)PTR_DAT_14016f008)) { + uVar7 = puVar11[-2]; + } + puVar24 = (uint *)PTR_DAT_14016f008; + if ((int)uVar9 < (int)uVar7) { +LAB_140041044: + if (puVar11 != (uint *)0x0) { + puVar24 = puVar11; + } + } + else { + uVar9 = uVar27; + if (puVar11 != (uint *)0x0) { + if (puVar11 != (uint *)PTR_DAT_14016f008) { + uVar9 = puVar11[-2]; + } + goto LAB_140041044; + } + } + FUN_14003e710(puVar12 + 2,puVar24,uVar9); + FUN_140006e80((longlong *)&local_2c38); + local_2c38 = puVar12 + 2; + } + } + } + FUN_14003d4c0((longlong *)&local_2c38); + puVar11 = local_2c38; + puVar12 = local_2c38; + if (local_2c38 == (uint *)0x0) { + puVar12 = (uint *)PTR_DAT_14016f008; + } + uVar31 = (ulonglong)uVar6; + FUN_14003e710(puVar12,pcVar19,uVar6); + puVar12 = puVar11; + if (puVar11 == (uint *)0x0) { + puVar12 = (uint *)PTR_DAT_14016f008; + } + uVar9 = FUN_14003e6e0((char *)puVar12); + uVar27 = uVar28; + if (0 < (int)uVar9) { + uVar27 = uVar9; + } + uVar9 = uVar28; + if ((puVar11 != (uint *)0x0) && (puVar11 != (uint *)PTR_DAT_14016f008)) { + uVar9 = puVar11[-2]; + } + puVar12 = (uint *)PTR_DAT_14016f008; + if (((int)uVar9 <= (int)uVar27) && (uVar27 = uVar28, puVar11 != (uint *)0x0)) { + if (puVar11 == (uint *)PTR_DAT_14016f008) goto LAB_1400410f2; + uVar27 = puVar11[-2]; + } + if (((puVar11 != (uint *)PTR_DAT_14016f008) && (puVar11 != (uint *)0x0)) && + (puVar12 = puVar11 + -2, puVar12 != (uint *)0x0)) { + *puVar12 = uVar27; + *(undefined1 *)((longlong)(int)uVar27 + 8 + (longlong)puVar12) = 0; + } +LAB_1400410f2: + pcVar19 = local_2be8; + if (local_2be8 != local_2be0) { + free(local_2be8); + } + FUN_14003e7c0(pcVar19,puVar12,uVar31,uVar10); + local_2c10 = PTR_DAT_14016f008; + local_2b58 = local_2b50; + FUN_14003d280((longlong *)&local_2b58,(LPCWSTR)PTR_u_www_nettention_co_kr_14016f288,3); + FUN_140040470((longlong *)&local_2c10,PTR_s_HTTP_1_1_User_Agent__Mozilla_5_0_14016f2a0,local_2b58, + uVar10); + if (local_2b58 != local_2b50) { + free(local_2b58); + } + plVar13 = FUN_140040a00((longlong *)&local_2c18,(longlong *)&local_2c30,(longlong *)&local_2c38, + uVar10); + ppuVar32 = &local_2c10; + plVar14 = FUN_140040a00((longlong *)&local_2c00,plVar13,(longlong *)ppuVar32,uVar10); + puVar3 = local_2bf8; + plVar13 = (longlong *)(local_2bf8 + 8); + FUN_140006de0(plVar13,plVar14,ppuVar32,uVar10); + if (((local_2c00 != (undefined *)0x0) && (local_2c00 != PTR_DAT_14016f008)) && + (local_2c00 + -8 != (undefined *)0x0)) { + plVar13 = (longlong *)FUN_14003e7c0(plVar13,PTR_DAT_14016f008,ppuVar32,uVar10); + local_2c28 = plVar13; + FUN_14003d040((int *)plVar13); + local_2c20 = 1; + piVar16 = (int *)(local_2c00 + -4); + *piVar16 = *piVar16 + -1; + if (*piVar16 == 0) { + FUN_14003e8b0(local_2c00 + -8); + } + FUN_14003d0d0((longlong)plVar13); + } + local_2c00 = PTR_DAT_14016f008; + if (((local_2c18 != (undefined *)0x0) && (local_2c18 != PTR_DAT_14016f008)) && + (local_2c18 + -8 != (undefined *)0x0)) { + plVar13 = (longlong *)FUN_14003e7c0(plVar13,PTR_DAT_14016f008,ppuVar32,uVar10); + local_2c28 = plVar13; + FUN_14003d040((int *)plVar13); + local_2c20 = 1; + piVar16 = (int *)(local_2c18 + -4); + *piVar16 = *piVar16 + -1; + if (*piVar16 == 0) { + FUN_14003e8b0(local_2c18 + -8); + } + FUN_14003d0d0((longlong)plVar13); + } + puVar4 = local_2bf8; + puVar20 = *(undefined **)(puVar3 + 8); + if ((puVar20 != (undefined *)0x0) && (puVar20 != PTR_DAT_14016f008)) { + uVar28 = *(uint *)(puVar20 + -8); + } + if (puVar20 == (undefined *)0x0) { + puVar20 = PTR_DAT_14016f008; + } + if ((undefined8 *)*plVar1 != (undefined8 *)0x0) { + plVar15 = *(longlong **)*plVar1; + } + ppuVar32 = (undefined **)(ulonglong)((uVar28 - local_2bf8[10]) + 1); + puVar25 = (undefined8 *)(puVar20 + (int)local_2bf8[10]); + FUN_140044bb0((longlong)plVar15,puVar25,ppuVar32,uVar10); + puVar20 = local_2c10; + *puVar4 = 2; + if (((local_2c10 != (undefined *)0x0) && (local_2c10 != PTR_DAT_14016f008)) && + (puVar2 = local_2c10 + -8, puVar2 != (undefined *)0x0)) { + plVar15 = (longlong *)FUN_14003e7c0(plVar15,puVar25,ppuVar32,uVar10); + local_2c28 = plVar15; + FUN_14003d040((int *)plVar15); + local_2c20 = 1; + piVar16 = (int *)(puVar20 + -4); + *piVar16 = *piVar16 + -1; + if (*piVar16 == 0) { + FUN_14003e8b0(puVar2); + } + FUN_14003d0d0((longlong)plVar15); + } + if (((puVar11 != (uint *)0x0) && (puVar11 != (uint *)PTR_DAT_14016f008)) && + (puVar11 + -2 != (uint *)0x0)) { + plVar15 = (longlong *)FUN_14003e7c0(plVar15,puVar25,ppuVar32,uVar10); + local_2c28 = plVar15; + FUN_14003d040((int *)plVar15); + local_2c20 = 1; + puVar12 = puVar11 + -1; + *puVar12 = *puVar12 - 1; + if (*puVar12 == 0) { + FUN_14003e8b0(puVar11 + -2); + } + FUN_14003d0d0((longlong)plVar15); + } + if (((puVar26 != (uint *)0x0) && (puVar26 != (uint *)PTR_DAT_14016f008)) && + (puVar26 + -2 != (uint *)0x0)) { + piVar16 = (int *)FUN_14003e7c0(plVar15,puVar25,ppuVar32,uVar10); + local_2c28 = (longlong *)piVar16; + FUN_14003d040(piVar16); + local_2c20 = 1; + puVar11 = puVar26 + -1; + *puVar11 = *puVar11 - 1; + if (*puVar11 == 0) { + FUN_14003e8b0(puVar26 + -2); + } + FUN_14003d0d0((longlong)piVar16); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400413c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400413c0.c new file mode 100644 index 00000000..c3e0221b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400413c0.c @@ -0,0 +1,60 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400413c0 FUN_1400413c0 + * Pseudocode, not original source. */ + +void FUN_1400413c0(undefined4 *param_1) + +{ + undefined *puVar1; + undefined8 uVar2; + longlong lVar3; + int iVar4; + longlong local_res8; + uint local_30 [2]; + undefined **local_28; + undefined4 local_20; + undefined2 local_1c; + int local_18; + + local_28 = Proud::AddrPort::vftable; + lVar3 = 0; + iVar4 = 0; + local_18 = 0; + local_30[0] = 0; + local_30[1] = 0; + local_20 = DAT_14016f3d0; + local_1c = DAT_14016f3d4; + if (*(longlong **)(param_1 + 4) != (longlong *)0x0) { + lVar3 = **(longlong **)(param_1 + 4); + } + uVar2 = FUN_140043980(lVar3,0,local_30); + if ((char)uVar2 != '\0') { + if ((local_30[1] == 0) && (local_18 != 0)) { + param_1[10] = param_1[10] + local_18; + puVar1 = *(undefined **)(param_1 + 8); + if (puVar1 != (undefined *)0x0) { + if (puVar1 == PTR_DAT_14016f008) { + iVar4 = 0; + } + else { + iVar4 = *(int *)(puVar1 + -8); + } + } + if ((int)param_1[10] < iVar4 + 1) { + FUN_14003fc80((longlong)param_1); + } + else { + *param_1 = 3; + local_res8 = 0; + FUN_140040510((longlong *)(param_1 + 4),&local_res8); + } + } + else { + *param_1 = 3; + local_res8 = 0; + FUN_140040510((longlong *)(param_1 + 4),&local_res8); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400414b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400414b0.c new file mode 100644 index 00000000..a5a3db66 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400414b0.c @@ -0,0 +1,24 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400414b0 FUN_1400414b0 + * Pseudocode, not original source. */ + +void FUN_1400414b0(int *param_1,undefined8 param_2,longlong *param_3,undefined8 param_4) + +{ + int iVar1; + + FUN_14003d040(param_1 + 0xc); + iVar1 = *param_1; + if (iVar1 == 0) { + FUN_140040a70(param_1,param_2,param_3,param_4); + } + else if (iVar1 == 1) { + FUN_140040be0(param_1,param_2,param_3,param_4); + } + else if (iVar1 == 2) { + FUN_1400413c0(param_1); + } + FUN_14003d0d0((longlong)(param_1 + 0xc)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140041530.c b/decomp/AgentManager_Release_x64/full/functions/0x140041530.c new file mode 100644 index 00000000..135e93d0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140041530.c @@ -0,0 +1,23 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140041530 FUN_140041530 + * Pseudocode, not original source. */ + +void FUN_140041530(int *param_1,undefined8 param_2,longlong *param_3,undefined8 param_4) + +{ + char cVar1; + DWORD DVar2; + char *pcVar3; + + DVar2 = GetCurrentThreadId(); + pcVar3 = "ErrReporter"; + FUN_140046070(DVar2,"ErrReporter"); + cVar1 = (char)param_1[0x20]; + while (cVar1 == '\0') { + FUN_1400414b0(param_1,pcVar3,param_3,param_4); + Sleep(5); + cVar1 = (char)param_1[0x20]; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140041580.c b/decomp/AgentManager_Release_x64/full/functions/0x140041580.c new file mode 100644 index 00000000..e8c46caf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140041580.c @@ -0,0 +1,31 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140041580 FUN_140041580 + * Pseudocode, not original source. */ + +undefined8 * +FUN_140041580(undefined8 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + ulonglong uVar1; + undefined8 *puVar2; + code *pcVar3; + + puVar2 = param_1; + FUN_14003e7c0(param_1,param_2,param_3,param_4); + param_1[1] = PTR_DAT_14016f010; + param_1[2] = 0; + param_1[3] = Proud::CReportSocketDg::vftable; + FUN_14003e7c0(puVar2,param_2,param_3,param_4); + param_1[4] = PTR_DAT_14016f008; + uVar1 = FUN_140094860(); + FUN_14003cf60((undefined4 *)(param_1 + 6),uVar1 & 0xffffffff, + CONCAT71((int7)((ulonglong)param_3 >> 8),1),param_4); + pcVar3 = FUN_140041530; + puVar2 = param_1; + FUN_140045b20(param_1 + 0x11,FUN_140041530,param_1); + *param_1 = 3; + *(undefined1 *)(param_1 + 0x10) = 0; + FUN_140045d20(param_1 + 0x11,pcVar3,puVar2,param_4); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140041630.c b/decomp/AgentManager_Release_x64/full/functions/0x140041630.c new file mode 100644 index 00000000..22a33674 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140041630.c @@ -0,0 +1,34 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140041630 FUN_140041630 + * Pseudocode, not original source. */ + +undefined * +FUN_140041630(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + bool bVar1; + bool bVar2; + + bVar1 = false; + bVar2 = FUN_14003d0e0((int *)&DAT_1401762c8); + if (bVar2) { + if (DAT_14016f340 == '\0') { + bVar1 = false; + } + else { + bVar1 = true; + FUN_14003d040((int *)&DAT_1401762c8); + } + } + if ((DAT_1401762c0 & 1) == 0) { + DAT_1401762c0 = DAT_1401762c0 | 1; + FUN_140041580((undefined8 *)&DAT_140176200,param_2,param_3,param_4); + atexit((_func_5014 *)&LAB_140104500); + } + DAT_14016f340 = 0; + if (bVar1) { + FUN_14003d0d0(0x1401762c8); + } + return &DAT_140176200; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400416f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400416f0.c new file mode 100644 index 00000000..6e18d290 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400416f0.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400416f0 FUN_1400416f0 + * Pseudocode, not original source. */ + +void FUN_1400416f0(longlong *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + int *piVar1; + longlong *plVar2; + + piVar1 = (int *)FUN_140041630(param_1,param_2,param_3,param_4); + plVar2 = param_1; + FUN_140040650(piVar1,param_1,param_3,param_4); + FUN_140002190(param_1,plVar2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140041730.c b/decomp/AgentManager_Release_x64/full/functions/0x140041730.c new file mode 100644 index 00000000..b967bb4d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140041730.c @@ -0,0 +1,20 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140041730 FUN_140041730 + * Pseudocode, not original source. */ + +undefined8 * +FUN_140041730(longlong *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 *puVar1; + + puVar1 = (undefined8 *)FUN_14003e840(0x80); + if (puVar1 == (undefined8 *)0x0) { + puVar1 = (undefined8 *)0x0; + } + else { + puVar1 = FUN_140046620(puVar1,param_1,param_3,param_4); + } + return puVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140041770.c b/decomp/AgentManager_Release_x64/full/functions/0x140041770.c new file mode 100644 index 00000000..f6fba620 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140041770.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140041770 FUN_140041770 + * Pseudocode, not original source. */ + +void FUN_140041770(undefined8 *param_1) + +{ + *param_1 = Proud::CLookasideAllocator::vftable; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140041780.c b/decomp/AgentManager_Release_x64/full/functions/0x140041780.c new file mode 100644 index 00000000..1f177511 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140041780.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140041780 FUN_140041780 + * Pseudocode, not original source. */ + +undefined8 * FUN_140041780(undefined8 *param_1,byte param_2) + +{ + *param_1 = Proud::CLookasideAllocator::vftable; + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400417b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400417b0.c new file mode 100644 index 00000000..0e58b265 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400417b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400417b0 FUN_1400417b0 + * Pseudocode, not original source. */ + +undefined8 * FUN_1400417b0(undefined8 *param_1) + +{ + *param_1 = Proud::CLookasideAllocator::vftable; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400417c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400417c0.c new file mode 100644 index 00000000..e98757e7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400417c0.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400417c0 FUN_1400417c0 + * Pseudocode, not original source. */ + +undefined8 * FUN_1400417c0(undefined8 *param_1) + +{ + *(undefined1 *)(param_1 + 1) = 0; + *(undefined4 *)((longlong)param_1 + 0xc) = 1; + *param_1 = 0; + param_1[2] = 0; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400417e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400417e0.c new file mode 100644 index 00000000..83b42b63 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400417e0.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400417e0 FUN_1400417e0 + * Pseudocode, not original source. */ + +void FUN_1400417e0(longlong param_1,undefined2 *param_2) + +{ + undefined2 uVar1; + + uVar1 = Ordinal_9(*(undefined2 *)(param_1 + 0xc)); + param_2[1] = uVar1; + *(undefined4 *)(param_2 + 2) = *(undefined4 *)(param_1 + 8); + *param_2 = 2; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140041820.c b/decomp/AgentManager_Release_x64/full/functions/0x140041820.c new file mode 100644 index 00000000..62d8f322 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140041820.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140041820 FUN_140041820 + * Pseudocode, not original source. */ + +void FUN_140041820(longlong param_1,longlong param_2) + +{ + undefined2 uVar1; + + *(undefined4 *)(param_1 + 8) = *(undefined4 *)(param_2 + 4); + uVar1 = Ordinal_15(*(undefined2 *)(param_2 + 2)); + *(undefined2 *)(param_1 + 0xc) = uVar1; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140041850.c b/decomp/AgentManager_Release_x64/full/functions/0x140041850.c new file mode 100644 index 00000000..8e8b74c7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140041850.c @@ -0,0 +1,23 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140041850 FUN_140041850 + * Pseudocode, not original source. */ + +ulonglong FUN_140041850(longlong param_1) + +{ + ushort uVar1; + uint uVar2; + ulonglong uVar3; + + uVar1 = *(ushort *)(param_1 + 0xc); + uVar3 = (ulonglong)uVar1; + if ((uVar1 != 0) && (uVar1 != 0xffff)) { + uVar2 = *(uint *)(param_1 + 8); + uVar3 = (ulonglong)uVar2; + if ((uVar2 != 0) && (uVar2 != 0xffffffff)) { + return CONCAT71((uint7)(uint3)(uVar2 >> 8),1); + } + } + return uVar3 & 0xffffffffffffff00; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140041880.c b/decomp/AgentManager_Release_x64/full/functions/0x140041880.c new file mode 100644 index 00000000..5f51d338 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140041880.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140041880 FUN_140041880 + * Pseudocode, not original source. */ + +undefined * FUN_140041880(void) + +{ + bool bVar1; + bool bVar2; + + bVar1 = false; + bVar2 = FUN_14003d0e0((int *)&DAT_140176398); + if (bVar2) { + if (DAT_14016f380 == '\0') { + bVar1 = false; + } + else { + bVar1 = true; + FUN_14003d040((int *)&DAT_140176398); + } + } + if ((DAT_140176304 & 1) == 0) { + DAT_140176304 = DAT_140176304 | 1; + FUN_1400434c0(&DAT_140176300); + atexit((_func_5014 *)&LAB_140104510); + } + DAT_14016f380 = 0; + if (bVar1) { + FUN_14003d0d0(0x140176398); + } + return &DAT_140176300; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140041940.c b/decomp/AgentManager_Release_x64/full/functions/0x140041940.c new file mode 100644 index 00000000..20d30147 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140041940.c @@ -0,0 +1,27 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140041940 FUN_140041940 + * Pseudocode, not original source. */ + +void FUN_140041940(undefined8 *param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong lVar1; + undefined8 *puVar2; + int iVar3; + + if (0 < param_2) { + iVar3 = 0; + lVar1 = param_2; + puVar2 = param_1; + do { + if (puVar2 != (undefined8 *)0x0) { + FUN_14003e7c0(param_1,lVar1,param_3,param_4); + *puVar2 = PTR_DAT_14016f008; + } + iVar3 = iVar3 + 1; + puVar2 = puVar2 + 1; + } while (iVar3 < param_2); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400419a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400419a0.c new file mode 100644 index 00000000..9896c744 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400419a0.c @@ -0,0 +1,24 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400419a0 FUN_1400419a0 + * Pseudocode, not original source. */ + +undefined8 * FUN_1400419a0(undefined8 *param_1,longlong *param_2,undefined2 param_3) + +{ + undefined4 uVar1; + undefined *puVar2; + + *param_1 = Proud::AddrPort::vftable; + *(undefined4 *)(param_1 + 1) = 0; + *(undefined2 *)((longlong)param_1 + 0xc) = 0; + puVar2 = (undefined *)*param_2; + if ((undefined *)*param_2 == (undefined *)0x0) { + puVar2 = PTR_DAT_14016f008; + } + uVar1 = Ordinal_11(puVar2); + *(undefined2 *)((longlong)param_1 + 0xc) = param_3; + *(undefined4 *)(param_1 + 1) = uVar1; + FUN_140006e80(param_2); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140041a10.c b/decomp/AgentManager_Release_x64/full/functions/0x140041a10.c new file mode 100644 index 00000000..5e9e928e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140041a10.c @@ -0,0 +1,43 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140041a10 FUN_140041a10 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +undefined8 * +FUN_140041a10(undefined8 *param_1,longlong *param_2,undefined2 param_3,undefined8 param_4) + +{ + undefined4 uVar1; + LPCWSTR pWVar2; + undefined8 uVar3; + undefined1 auStack_d8 [32]; + longlong *local_b8; + undefined8 local_b0; + undefined1 *local_a8; + undefined1 local_a0 [136]; + ulonglong local_18; + + local_b0 = 0xfffffffffffffffe; + local_18 = DAT_14016f5a0 ^ (ulonglong)auStack_d8; + *param_1 = Proud::AddrPort::vftable; + *(undefined4 *)(param_1 + 1) = 0; + *(undefined2 *)((longlong)param_1 + 0xc) = 0; + pWVar2 = (LPCWSTR)*param_2; + if ((LPCWSTR)*param_2 == (LPCWSTR)0x0) { + pWVar2 = (LPCWSTR)PTR_DAT_14016f010; + } + local_a8 = local_a0; + uVar3 = 3; + local_b8 = param_2; + FUN_14003d280((longlong *)&local_a8,pWVar2,3); + uVar1 = Ordinal_11(local_a8); + *(undefined4 *)(param_1 + 1) = uVar1; + if (local_a8 != local_a0) { + free(local_a8); + } + *(undefined2 *)((longlong)param_1 + 0xc) = param_3; + FUN_140002190(param_2,pWVar2,uVar3,param_4); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140041af0.c b/decomp/AgentManager_Release_x64/full/functions/0x140041af0.c new file mode 100644 index 00000000..fb415b53 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140041af0.c @@ -0,0 +1,53 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140041af0 FUN_140041af0 + * Pseudocode, not original source. */ + +void FUN_140041af0(longlong *param_1,char *param_2) + +{ + int iVar1; + int iVar2; + int iVar3; + int iVar4; + int iVar5; + undefined *puVar6; + + if (param_2 != (char *)0x0) { + iVar2 = FUN_14003e6e0(param_2); + puVar6 = (undefined *)*param_1; + iVar4 = 0; + if ((puVar6 != (undefined *)0x0) && (iVar4 = 0, puVar6 != PTR_DAT_14016f008)) { + iVar4 = *(int *)(puVar6 + -8); + } + iVar1 = iVar4 + iVar2; + iVar3 = 0; + if ((puVar6 != (undefined *)0x0) && (iVar3 = 0, puVar6 != PTR_DAT_14016f008)) { + iVar3 = *(int *)(puVar6 + -8); + } + iVar5 = iVar1; + if (((iVar1 <= iVar3) && (iVar5 = 0, puVar6 != (undefined *)0x0)) && + (puVar6 != PTR_DAT_14016f008)) { + iVar5 = *(int *)(puVar6 + -8); + } + iVar3 = 1; + if (1 < iVar5) { + iVar3 = iVar5; + } + iVar5 = 0; + if ((puVar6 != (undefined *)0x0) && (iVar5 = 0, puVar6 != PTR_DAT_14016f008)) { + iVar5 = *(int *)(puVar6 + -8); + } + if (iVar5 < iVar3) { + FUN_14003d5d0(param_1,iVar3); + } + FUN_14003d4c0(param_1); + puVar6 = (undefined *)*param_1; + if ((undefined *)*param_1 == (undefined *)0x0) { + puVar6 = PTR_DAT_14016f008; + } + FUN_14003e710(puVar6 + iVar4,param_2,iVar2); + FUN_14003d3c0(param_1,iVar1); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140041be0.c b/decomp/AgentManager_Release_x64/full/functions/0x140041be0.c new file mode 100644 index 00000000..50fb2618 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140041be0.c @@ -0,0 +1,142 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140041be0 FUN_140041be0 + * Pseudocode, not original source. */ + +longlong * FUN_140041be0(longlong *param_1) + +{ + int *piVar1; + uchar *puVar2; + undefined *puVar3; + int iVar4; + int iVar5; + uchar *_Ptr; + uchar *puVar6; + int iVar7; + undefined *_Dst; + + _Ptr = (uchar *)*param_1; + if ((uchar *)*param_1 == (uchar *)0x0) { + _Ptr = PTR_DAT_14016f008; + } + iVar4 = FUN_14003e7b0(*_Ptr); + while (iVar4 != 0) { + _Ptr = _mbsinc(_Ptr); + iVar4 = FUN_14003e7b0(*_Ptr); + } + puVar2 = (uchar *)*param_1; + puVar6 = puVar2; + if (puVar2 == (uchar *)0x0) { + puVar6 = PTR_DAT_14016f008; + } + if (_Ptr != puVar6) { + iVar4 = (int)puVar2; + if (puVar2 == (uchar *)0x0) { + iVar4 = (int)PTR_DAT_14016f008; + } + iVar4 = (int)_Ptr - iVar4; + if (puVar2 == (uchar *)0x0) { + iVar5 = 0; + } + else if (puVar2 == PTR_DAT_14016f008) { + iVar5 = 0; + } + else { + iVar5 = *(int *)(puVar2 + -8); + } + if (puVar2 == (uchar *)0x0) { + iVar7 = 0; + } + else if (puVar2 == PTR_DAT_14016f008) { + iVar7 = 0; + } + else { + iVar7 = *(int *)(puVar2 + -8); + } + if (iVar5 <= iVar7) { + if (puVar2 == (uchar *)0x0) { + iVar5 = 0; + } + else if (puVar2 == PTR_DAT_14016f008) { + iVar5 = 0; + } + else { + iVar5 = *(int *)(puVar2 + -8); + } + } + iVar7 = 1; + if (1 < iVar5) { + iVar7 = iVar5; + } + if (puVar2 == (uchar *)0x0) { + iVar5 = 0; + } + else if (puVar2 == PTR_DAT_14016f008) { + iVar5 = 0; + } + else { + iVar5 = *(int *)(puVar2 + -8); + } + if (iVar5 < iVar7) { + FUN_14003d5d0(param_1,iVar7); + } + FUN_14003d4c0(param_1); + puVar3 = (undefined *)*param_1; + _Dst = puVar3; + if (puVar3 == (undefined *)0x0) { + _Dst = PTR_DAT_14016f008; + } + if (puVar3 == (undefined *)0x0) { + iVar5 = 0; + } + else if (puVar3 == PTR_DAT_14016f008) { + iVar5 = 0; + } + else { + iVar5 = *(int *)(puVar3 + -8); + } + iVar5 = iVar5 - iVar4; + if (puVar3 == (undefined *)0x0) { + iVar7 = 0; + } + else if (puVar3 == PTR_DAT_14016f008) { + iVar7 = 0; + } + else { + iVar7 = *(int *)(puVar3 + -8); + } + memmove_s(_Dst,(longlong)(iVar7 + 1),_Dst + iVar4,(longlong)(iVar5 + 1)); + puVar3 = (undefined *)*param_1; + iVar4 = 0; + if (0 < iVar5) { + iVar4 = iVar5; + } + if (puVar3 == (undefined *)0x0) { + iVar5 = 0; + } + else if (puVar3 == PTR_DAT_14016f008) { + iVar5 = 0; + } + else { + iVar5 = *(int *)(puVar3 + -8); + } + if (iVar5 <= iVar4) { + if (puVar3 == (undefined *)0x0) { + iVar4 = 0; + } + else if (puVar3 == PTR_DAT_14016f008) { + iVar4 = 0; + } + else { + iVar4 = *(int *)(puVar3 + -8); + } + } + if (((puVar3 != PTR_DAT_14016f008) && (puVar3 != (undefined *)0x0)) && + (piVar1 = (int *)(puVar3 + -8), piVar1 != (int *)0x0)) { + *piVar1 = iVar4; + *(undefined1 *)((longlong)iVar4 + 8 + (longlong)piVar1) = 0; + } + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140041da0.c b/decomp/AgentManager_Release_x64/full/functions/0x140041da0.c new file mode 100644 index 00000000..10350296 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140041da0.c @@ -0,0 +1,46 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140041da0 FUN_140041da0 + * Pseudocode, not original source. */ + +void FUN_140041da0(longlong *param_1,int param_2) + +{ + int *piVar1; + undefined *puVar2; + int iVar3; + int iVar4; + + FUN_14003d780(param_1,param_2); + puVar2 = (undefined *)*param_1; + iVar3 = 0; + if (0 < param_2) { + iVar3 = param_2; + } + if (puVar2 == (undefined *)0x0) { + iVar4 = 0; + } + else if (puVar2 == PTR_DAT_14016f008) { + iVar4 = 0; + } + else { + iVar4 = *(int *)(puVar2 + -8); + } + if (iVar4 <= iVar3) { + if (puVar2 == (undefined *)0x0) { + iVar3 = 0; + } + else if (puVar2 == PTR_DAT_14016f008) { + iVar3 = 0; + } + else { + iVar3 = *(int *)(puVar2 + -8); + } + } + if (((puVar2 != PTR_DAT_14016f008) && (puVar2 != (undefined *)0x0)) && + (piVar1 = (int *)(puVar2 + -8), piVar1 != (int *)0x0)) { + *piVar1 = iVar3; + *(undefined1 *)((longlong)iVar3 + 8 + (longlong)piVar1) = 0; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140041e20.c b/decomp/AgentManager_Release_x64/full/functions/0x140041e20.c new file mode 100644 index 00000000..4b5c4bca --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140041e20.c @@ -0,0 +1,24 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140041e20 FUN_140041e20 + * Pseudocode, not original source. */ + +void FUN_140041e20(longlong param_1,longlong param_2) + +{ + ulonglong uVar1; + uint uVar2; + ulonglong uVar3; + + if (0 < param_2) { + uVar1 = 0; + uVar3 = uVar1; + do { + FUN_140006e80((longlong *)(param_1 + uVar1 * 8)); + uVar2 = (int)uVar3 + 1; + uVar3 = (ulonglong)uVar2; + uVar1 = (ulonglong)(int)uVar2; + } while ((longlong)uVar1 < param_2); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140041e70.c b/decomp/AgentManager_Release_x64/full/functions/0x140041e70.c new file mode 100644 index 00000000..afcedf20 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140041e70.c @@ -0,0 +1,42 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140041e70 FUN_140041e70 + * Pseudocode, not original source. */ + +longlong * FUN_140041e70(longlong *param_1) + +{ + uchar uVar1; + int iVar2; + uchar *_Ptr; + undefined *puVar3; + uchar *puVar4; + + _Ptr = (uchar *)*param_1; + if ((uchar *)*param_1 == (uchar *)0x0) { + _Ptr = PTR_DAT_14016f008; + } + puVar4 = (uchar *)0x0; + uVar1 = *_Ptr; + if (uVar1 != '\0') { + do { + iVar2 = FUN_14003e7b0(uVar1); + if (iVar2 == 0) { + puVar4 = (uchar *)0x0; + } + else if (puVar4 == (uchar *)0x0) { + puVar4 = _Ptr; + } + _Ptr = _mbsinc(_Ptr); + uVar1 = *_Ptr; + } while (uVar1 != '\0'); + if (puVar4 != (uchar *)0x0) { + puVar3 = (undefined *)*param_1; + if ((undefined *)*param_1 == (undefined *)0x0) { + puVar3 = PTR_DAT_14016f008; + } + FUN_140041da0(param_1,(int)puVar4 - (int)puVar3); + } + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140041f00.c b/decomp/AgentManager_Release_x64/full/functions/0x140041f00.c new file mode 100644 index 00000000..2c0ad4e5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140041f00.c @@ -0,0 +1,104 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140041f00 FUN_140041f00 + * Pseudocode, not original source. */ + +void FUN_140041f00(longlong param_1,uint param_2,longlong param_3,undefined8 param_4) + +{ + uint uVar1; + int iVar2; + LPVOID pvVar3; + int iVar4; + undefined8 *puVar5; + longlong *plVar6; + longlong *plVar7; + longlong *plVar8; + int iVar9; + longlong lVar10; + longlong *plVar11; + exception local_88 [80]; + + if ((int)param_2 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + uVar1 = *(uint *)(param_1 + 0x18); + if (param_2 != uVar1) { + if (*(int *)(param_1 + 0x1c) < (int)param_2) { + plVar8 = (longlong *)(ulonglong)param_2; + iVar4 = FUN_14008c010(param_1,param_2); + lVar10 = (longlong)iVar4; + plVar7 = *(longlong **)(param_1 + 8); + if (*(int *)(param_1 + 0x1c) == 0) { + if (plVar7 == (longlong *)0x0) { + puVar5 = (undefined8 *)FUN_14003e840(lVar10 << 3); + } + else { + param_3 = *plVar7; + puVar5 = (undefined8 *)(**(code **)(param_3 + 8))(plVar7,lVar10 << 3); + } + *(undefined8 **)(param_1 + 0x10) = puVar5; + FUN_140041940(puVar5,(longlong)(int)param_2,param_3,param_4); + } + else { + pvVar3 = *(LPVOID *)(param_1 + 0x10); + if (plVar7 == (longlong *)0x0) { + plVar7 = (longlong *)(lVar10 << 3); + plVar6 = (longlong *)FUN_14003e840((SIZE_T)plVar7); + } + else { + plVar8 = (longlong *)(lVar10 << 3); + plVar6 = (longlong *)(**(code **)(*plVar7 + 8))(); + } + iVar2 = *(int *)(param_1 + 0x18); + iVar9 = 0; + if (0 < (longlong)iVar2) { + lVar10 = 0; + plVar11 = plVar6; + do { + if (plVar11 != (longlong *)0x0) { + FUN_14003e7c0(plVar7,plVar8,param_3,param_4); + *plVar11 = (longlong)PTR_DAT_14016f008; + plVar8 = (longlong *)((longlong)pvVar3 + lVar10 * 8); + plVar7 = plVar11; + FUN_140006de0(plVar11,plVar8,param_3,param_4); + } + iVar9 = iVar9 + 1; + plVar11 = plVar11 + 1; + lVar10 = (longlong)iVar9; + } while (lVar10 < iVar2); + } + FUN_140041940(plVar6 + *(int *)(param_1 + 0x18), + (longlong)(int)(param_2 - *(int *)(param_1 + 0x18)),param_3,param_4); + if (plVar6 == (longlong *)0x0) { + FUN_14003db10(local_88,L"Memory allocation failure!",param_3,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_88,(ThrowInfo *)&DAT_14016c210); + } + FUN_140041e20((longlong)pvVar3,(longlong)*(int *)(param_1 + 0x18)); + plVar8 = *(longlong **)(param_1 + 8); + if (plVar8 == (longlong *)0x0) { + FUN_14003e8b0(pvVar3); + } + else { + (**(code **)(*plVar8 + 0x18))(plVar8,pvVar3); + } + *(longlong **)(param_1 + 0x10) = plVar6; + } + *(int *)(param_1 + 0x1c) = iVar4; + } + else if ((int)(uVar1 - param_2) < 1) { + if (0 < (int)(param_2 - uVar1)) { + FUN_140041940((undefined8 *)(*(longlong *)(param_1 + 0x10) + (longlong)(int)uVar1 * 8), + (longlong)(int)(param_2 - uVar1),param_3,param_4); + } + } + else { + FUN_140041e20(*(longlong *)(param_1 + 0x10) + (longlong)(int)param_2 * 8, + (longlong)(int)(uVar1 - param_2)); + } + *(uint *)(param_1 + 0x18) = param_2; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400420f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400420f0.c new file mode 100644 index 00000000..c97d13ca --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400420f0.c @@ -0,0 +1,81 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400420f0 FUN_1400420f0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +longlong * FUN_1400420f0(longlong param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + ushort uVar1; + undefined4 uVar2; + int *piVar3; + uint uVar4; + undefined8 uVar5; + undefined *puVar6; + int *piVar7; + short **ppsVar8; + short *psVar9; + int *piVar10; + short *psVar11; + ulonglong uVar12; + ulonglong uVar13; + undefined1 auStack_188 [32]; + undefined4 local_168; + int *local_160; + undefined1 local_158; + undefined8 local_150; + longlong *local_148; + short *local_138; + short local_130 [132]; + ulonglong local_28; + + local_150 = 0xfffffffffffffffe; + local_28 = DAT_14016f5a0 ^ (ulonglong)auStack_188; + local_168 = 0; + uVar2 = *(undefined4 *)(param_1 + 8); + local_148 = param_2; + FUN_14003e7c0(param_1,param_2,param_3,param_4); + local_160 = (int *)PTR_DAT_14016f008; + uVar1 = *(ushort *)(param_1 + 0xc); + uVar5 = Ordinal_12(uVar2); + uVar13 = (ulonglong)uVar1; + FUN_140040470((longlong *)&local_160,"%s:%d",uVar5,uVar13); + piVar3 = local_160; + piVar10 = local_160; + if (local_160 == (int *)0x0) { + piVar10 = (int *)PTR_DAT_14016f008; + } + local_138 = local_130; + uVar5 = 3; + ppsVar8 = &local_138; + FUN_140005110((longlong *)ppsVar8,(LPCSTR)piVar10,3); + psVar11 = local_138; + FUN_14003e7c0(ppsVar8,piVar10,uVar5,uVar13); + *param_2 = (longlong)PTR_DAT_14016f010; + uVar4 = FUN_14003e620(psVar11); + puVar6 = FUN_140001ee0(param_2,uVar4); + uVar12 = (ulonglong)uVar4; + FUN_14003e650(puVar6,psVar11,uVar4); + FUN_140001fc0(param_2); + local_168 = 1; + psVar9 = local_138; + if (local_138 != local_130) { + free(local_138); + } + if (((piVar3 != (int *)0x0) && (piVar3 != (int *)PTR_DAT_14016f008)) && + (piVar3 + -2 != (int *)0x0)) { + piVar7 = (int *)FUN_14003e7c0(psVar9,psVar11,uVar12,uVar13); + local_160 = piVar7; + FUN_14003d040(piVar7); + local_158 = 1; + piVar10 = piVar3 + -1; + *piVar10 = *piVar10 + -1; + if (*piVar10 == 0) { + FUN_14003e8b0(piVar3 + -2); + } + FUN_14003d0d0((longlong)piVar7); + } + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140042260.c b/decomp/AgentManager_Release_x64/full/functions/0x140042260.c new file mode 100644 index 00000000..e1b9aa1d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140042260.c @@ -0,0 +1,78 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140042260 FUN_140042260 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +longlong * FUN_140042260(longlong param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined4 uVar1; + int *piVar2; + uint uVar3; + char *pcVar4; + undefined *puVar5; + int *piVar6; + short **ppsVar7; + short *psVar8; + int *piVar9; + short *psVar10; + undefined8 uVar11; + ulonglong uVar12; + undefined1 auStack_188 [32]; + undefined4 local_168; + int *local_160; + undefined1 local_158; + undefined8 local_150; + longlong *local_148; + short *local_138; + short local_130 [132]; + ulonglong local_28; + + local_150 = 0xfffffffffffffffe; + local_28 = DAT_14016f5a0 ^ (ulonglong)auStack_188; + local_168 = 0; + uVar1 = *(undefined4 *)(param_1 + 8); + local_148 = param_2; + FUN_14003e7c0(param_1,param_2,param_3,param_4); + local_160 = (int *)PTR_DAT_14016f008; + pcVar4 = (char *)Ordinal_12(uVar1); + FUN_14003d910((longlong *)&local_160,pcVar4); + piVar2 = local_160; + piVar9 = local_160; + if (local_160 == (int *)0x0) { + piVar9 = (int *)PTR_DAT_14016f008; + } + local_138 = local_130; + uVar11 = 3; + ppsVar7 = &local_138; + FUN_140005110((longlong *)ppsVar7,(LPCSTR)piVar9,3); + psVar10 = local_138; + FUN_14003e7c0(ppsVar7,piVar9,uVar11,param_4); + *param_2 = (longlong)PTR_DAT_14016f010; + uVar3 = FUN_14003e620(psVar10); + puVar5 = FUN_140001ee0(param_2,uVar3); + uVar12 = (ulonglong)uVar3; + FUN_14003e650(puVar5,psVar10,uVar3); + FUN_140001fc0(param_2); + local_168 = 1; + psVar8 = local_138; + if (local_138 != local_130) { + free(local_138); + } + if (((piVar2 != (int *)0x0) && (piVar2 != (int *)PTR_DAT_14016f008)) && + (piVar2 + -2 != (int *)0x0)) { + piVar6 = (int *)FUN_14003e7c0(psVar8,psVar10,uVar12,param_4); + local_160 = piVar6; + FUN_14003d040(piVar6); + local_158 = 1; + piVar9 = piVar2 + -1; + *piVar9 = *piVar9 + -1; + if (*piVar9 == 0) { + FUN_14003e8b0(piVar2 + -2); + } + FUN_14003d0d0((longlong)piVar6); + } + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400423c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400423c0.c new file mode 100644 index 00000000..083f0be7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400423c0.c @@ -0,0 +1,25 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400423c0 FUN_1400423c0 + * Pseudocode, not original source. */ + +longlong * FUN_1400423c0(longlong param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + int iVar1; + char *pcVar2; + undefined *puVar3; + ulonglong uVar4; + longlong *plVar5; + + uVar4 = (ulonglong)*(uint *)(param_1 + 8); + plVar5 = param_2; + pcVar2 = (char *)Ordinal_12(); + FUN_14003e7c0(uVar4,plVar5,param_3,param_4); + *param_2 = (longlong)PTR_DAT_14016f008; + iVar1 = FUN_14003e6e0(pcVar2); + puVar3 = FUN_14003d780(param_2,iVar1); + FUN_14003e710(puVar3,pcVar2,iVar1); + FUN_14003d440(param_2); + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140042440.c b/decomp/AgentManager_Release_x64/full/functions/0x140042440.c new file mode 100644 index 00000000..9b67aeb4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140042440.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140042440 FUN_140042440 + * Pseudocode, not original source. */ + +longlong * FUN_140042440(longlong *param_1,char *param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003e7c0(param_1,param_2,param_3,param_4); + *param_1 = (longlong)PTR_DAT_14016f008; + FUN_14003d910(param_1,param_2); + *(short *)(param_1 + 1) = (short)param_3; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400424b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400424b0.c new file mode 100644 index 00000000..b4748ea7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400424b0.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400424b0 FUN_1400424b0 + * Pseudocode, not original source. */ + +longlong * FUN_1400424b0(longlong *param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + int *piVar1; + longlong *plVar2; + int *piVar3; + longlong *plVar4; + undefined *local_res18; + + FUN_14003e7c0(param_1,param_2,param_3,param_4); + *param_1 = (longlong)PTR_DAT_14016f008; + plVar2 = FUN_1400423c0(param_2,(longlong *)&local_res18,param_3,param_4); + plVar4 = param_1; + FUN_140006de0(param_1,plVar2,param_3,param_4); + if (((local_res18 != (undefined *)0x0) && (local_res18 != PTR_DAT_14016f008)) && + (local_res18 + -8 != (undefined *)0x0)) { + piVar3 = (int *)FUN_14003e7c0(plVar4,plVar2,param_3,param_4); + FUN_14003d040(piVar3); + piVar1 = (int *)(local_res18 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(local_res18 + -8); + } + FUN_14003d0d0((longlong)piVar3); + } + *(undefined2 *)(param_1 + 1) = *(undefined2 *)(param_2 + 0xc); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140042570.c b/decomp/AgentManager_Release_x64/full/functions/0x140042570.c new file mode 100644 index 00000000..800e4414 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140042570.c @@ -0,0 +1,80 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140042570 FUN_140042570 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +longlong * FUN_140042570(longlong *param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + int *piVar1; + uint uVar2; + undefined *puVar3; + int *piVar4; + short **ppsVar5; + short *psVar6; + int *piVar7; + short *psVar8; + undefined8 uVar9; + ulonglong uVar10; + ulonglong uVar11; + undefined1 auStack_188 [32]; + undefined4 local_168; + int *local_160; + undefined1 local_158; + undefined8 local_150; + longlong *local_148; + short *local_138; + short local_130 [132]; + ulonglong local_28; + + local_150 = 0xfffffffffffffffe; + local_28 = DAT_14016f5a0 ^ (ulonglong)auStack_188; + local_168 = 0; + local_148 = param_2; + FUN_14003e7c0(param_1,param_2,param_3,param_4); + local_160 = (int *)PTR_DAT_14016f008; + puVar3 = (undefined *)*param_1; + if ((undefined *)*param_1 == (undefined *)0x0) { + puVar3 = PTR_DAT_14016f008; + } + uVar11 = (ulonglong)*(ushort *)(param_1 + 1); + FUN_140040470((longlong *)&local_160,"%s:%d",puVar3,uVar11); + piVar1 = local_160; + piVar7 = local_160; + if (local_160 == (int *)0x0) { + piVar7 = (int *)PTR_DAT_14016f008; + } + local_138 = local_130; + uVar9 = 3; + ppsVar5 = &local_138; + FUN_140005110((longlong *)ppsVar5,(LPCSTR)piVar7,3); + psVar8 = local_138; + FUN_14003e7c0(ppsVar5,piVar7,uVar9,uVar11); + *param_2 = (longlong)PTR_DAT_14016f010; + uVar2 = FUN_14003e620(psVar8); + puVar3 = FUN_140001ee0(param_2,uVar2); + uVar10 = (ulonglong)uVar2; + FUN_14003e650(puVar3,psVar8,uVar2); + FUN_140001fc0(param_2); + local_168 = 1; + psVar6 = local_138; + if (local_138 != local_130) { + free(local_138); + } + if (((piVar1 != (int *)0x0) && (piVar1 != (int *)PTR_DAT_14016f008)) && + (piVar1 + -2 != (int *)0x0)) { + piVar4 = (int *)FUN_14003e7c0(psVar6,psVar8,uVar10,uVar11); + local_160 = piVar4; + FUN_14003d040(piVar4); + local_158 = 1; + piVar7 = piVar1 + -1; + *piVar7 = *piVar7 + -1; + if (*piVar7 == 0) { + FUN_14003e8b0(piVar1 + -2); + } + FUN_14003d0d0((longlong)piVar4); + } + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400426e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400426e0.c new file mode 100644 index 00000000..2fa30b07 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400426e0.c @@ -0,0 +1,27 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400426e0 FUN_1400426e0 + * Pseudocode, not original source. */ + +void FUN_1400426e0(longlong *param_1,char *param_2) + +{ + char cVar1; + longlong lVar2; + char *pcVar3; + + if (param_2 != (char *)0x0) { + lVar2 = -1; + pcVar3 = param_2; + do { + if (lVar2 == 0) break; + lVar2 = lVar2 + -1; + cVar1 = *pcVar3; + pcVar3 = pcVar3 + 1; + } while (cVar1 != '\0'); + if (lVar2 != -2) { + FUN_14003d910(param_1,param_2); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140042720.c b/decomp/AgentManager_Release_x64/full/functions/0x140042720.c new file mode 100644 index 00000000..2c2a2149 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140042720.c @@ -0,0 +1,135 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140042720 FUN_140042720 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +longlong * FUN_140042720(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4) + +{ + undefined *puVar1; + int *piVar2; + LPCSTR pCVar3; + int iVar4; + longlong lVar5; + LPCSTR *ppCVar6; + undefined *puVar7; + int *piVar8; + short **ppsVar9; + short *psVar10; + undefined **ppuVar11; + LPCSTR pCVar12; + short *psVar13; + uint uVar14; + ulonglong uVar15; + ulonglong uVar16; + undefined8 uVar17; + undefined1 auStack_208 [32]; + undefined *local_1e8; + LPCSTR local_1e0; + LPCSTR *local_1d8; + undefined1 local_1d0; + undefined8 local_1c8; + short *local_1b8; + short local_1b0 [132]; + LPCSTR local_a8 [16]; + ulonglong local_28; + + local_1c8 = 0xfffffffffffffffe; + local_28 = DAT_14016f5a0 ^ (ulonglong)auStack_208; + uVar15 = 0; + local_1e8 = (undefined *)((ulonglong)local_1e8 & 0xffffffff00000000); + ppuVar11 = (undefined **)0x80; + ppCVar6 = local_a8; + iVar4 = Ordinal_57(); + if (iVar4 == 0) { + ppCVar6 = local_a8; + lVar5 = Ordinal_52(); + if ((lVar5 != 0) && (ppCVar6 = *(LPCSTR **)(lVar5 + 0x18), *ppCVar6 != (LPCSTR)0x0)) { + FUN_14003e7c0(ppCVar6,ppuVar11,param_3,param_4); + local_1e0 = PTR_DAT_14016f008; + uVar16 = uVar15; + if (0 < *(short *)(lVar5 + 0x12)) { + do { + FUN_14003e7c0(ppCVar6,ppuVar11,param_3,param_4); + local_1e8 = PTR_DAT_14016f008; + if (0 < (longlong)uVar16) { + FUN_140041af0((longlong *)&local_1e0,"."); + } + param_3 = (ulonglong)*(byte *)(**(longlong **)(lVar5 + 0x18) + uVar16); + FUN_140040470((longlong *)&local_1e8,"%u",param_3,param_4); + ppuVar11 = &local_1e8; + ppCVar6 = &local_1e0; + FUN_1400402e0((longlong *)ppCVar6,(longlong *)ppuVar11); + puVar7 = local_1e8; + if (((local_1e8 != (undefined *)0x0) && (local_1e8 != PTR_DAT_14016f008)) && + (puVar1 = local_1e8 + -8, puVar1 != (undefined *)0x0)) { + ppCVar6 = (LPCSTR *)FUN_14003e7c0(ppCVar6,ppuVar11,param_3,param_4); + local_1d8 = ppCVar6; + FUN_14003d040((int *)ppCVar6); + local_1d0 = 1; + piVar2 = (int *)(puVar7 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(puVar1); + } + FUN_14003d0d0((longlong)ppCVar6); + local_1d0 = 0; + } + uVar14 = (int)uVar15 + 1; + uVar15 = (ulonglong)uVar14; + uVar16 = uVar16 + 1; + } while ((int)uVar14 < (int)*(short *)(lVar5 + 0x12)); + } + pCVar3 = local_1e0; + pCVar12 = local_1e0; + if (local_1e0 == (LPCSTR)0x0) { + pCVar12 = PTR_DAT_14016f008; + } + local_1b8 = local_1b0; + uVar17 = 3; + ppsVar9 = &local_1b8; + FUN_140005110((longlong *)ppsVar9,pCVar12,3); + psVar13 = local_1b8; + FUN_14003e7c0(ppsVar9,pCVar12,uVar17,param_4); + *param_1 = (longlong)PTR_DAT_14016f010; + uVar14 = FUN_14003e620(psVar13); + puVar7 = FUN_140001ee0(param_1,uVar14); + uVar15 = (ulonglong)uVar14; + FUN_14003e650(puVar7,psVar13,uVar14); + FUN_140001fc0(param_1); + psVar10 = local_1b8; + if (local_1b8 != local_1b0) { + free(local_1b8); + } + if (pCVar3 == (LPCSTR)0x0) { + return param_1; + } + if (pCVar3 == PTR_DAT_14016f008) { + return param_1; + } + if (pCVar3 + -8 == (LPCSTR)0x0) { + return param_1; + } + piVar8 = (int *)FUN_14003e7c0(psVar10,psVar13,uVar15,param_4); + local_1d8 = (LPCSTR *)piVar8; + FUN_14003d040(piVar8); + local_1d0 = 1; + piVar2 = (int *)(pCVar3 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(pCVar3 + -8); + } + FUN_14003d0d0((longlong)piVar8); + return param_1; + } + } + FUN_14003e7c0(ppCVar6,ppuVar11,param_3,param_4); + *param_1 = (longlong)PTR_DAT_14016f010; + iVar4 = FUN_14003e620(&DAT_140131724); + puVar7 = FUN_140001ee0(param_1,iVar4); + FUN_14003e650(puVar7,&DAT_140131724,iVar4); + FUN_140001fc0(param_1); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400429c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400429c0.c new file mode 100644 index 00000000..bee21964 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400429c0.c @@ -0,0 +1,72 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400429c0 FUN_1400429c0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +undefined4 * +FUN_1400429c0(undefined4 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + LPCWSTR pWVar1; + undefined2 uVar2; + undefined4 uVar3; + ulonglong uVar4; + LPCWSTR pWVar5; + undefined8 uVar6; + LPCWSTR pWVar7; + ulonglong uVar8; + undefined8 uVar9; + undefined1 auStack_e8 [32]; + LPCWSTR local_c8; + undefined1 local_c0; + undefined8 local_b8; + undefined4 *local_b0; + undefined1 *local_a8; + undefined1 local_a0 [136]; + ulonglong local_18; + + local_b8 = 0xfffffffffffffffe; + local_18 = DAT_14016f5a0 ^ (ulonglong)auStack_e8; + local_b0 = param_1; + uVar4 = FUN_140094860(); + uVar4 = uVar4 & 0xffffffff; + uVar8 = CONCAT71((int7)((ulonglong)param_3 >> 8),1); + FUN_14003cf60(param_1,uVar4,uVar8,param_4); + *(undefined ***)(param_1 + 0xe) = Proud::AddrPort::vftable; + param_1[0x10] = 0; + *(undefined2 *)(param_1 + 0x11) = 0; + FUN_140041880(); + FUN_140042720((longlong *)&local_c8,uVar4,uVar8,param_4); + pWVar1 = local_c8; + pWVar5 = local_c8; + if (local_c8 == (LPCWSTR)0x0) { + pWVar5 = (LPCWSTR)PTR_DAT_14016f010; + } + local_a8 = local_a0; + uVar9 = 3; + FUN_14003d280((longlong *)&local_a8,pWVar5,3); + uVar3 = Ordinal_11(local_a8); + if (local_a8 != local_a0) { + free(local_a8); + } + param_1[0x10] = uVar3; + uVar6 = 0; + uVar2 = Ordinal_9(); + *(undefined2 *)(param_1 + 0x11) = uVar2; + if (((local_c8 != (LPCWSTR)0x0) && (local_c8 != (LPCWSTR)PTR_DAT_14016f010)) && + (pWVar7 = local_c8 + -4, pWVar7 != (LPCWSTR)0x0)) { + pWVar5 = (LPCWSTR)FUN_14003e7c0(uVar6,pWVar5,uVar9,param_4); + local_c8 = pWVar5; + FUN_14003d040((int *)pWVar5); + local_c0 = 1; + pWVar1 = pWVar1 + -2; + *(int *)pWVar1 = *(int *)pWVar1 + -1; + if (*(int *)pWVar1 == 0) { + FUN_14003e8b0(pWVar7); + } + FUN_14003d0d0((longlong)pWVar5); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140042b00.c b/decomp/AgentManager_Release_x64/full/functions/0x140042b00.c new file mode 100644 index 00000000..0f036aba --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140042b00.c @@ -0,0 +1,48 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140042b00 FUN_140042b00 + * Pseudocode, not original source. */ + +ulonglong FUN_140042b00(longlong *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + int iVar1; + longlong *plVar2; + ulonglong uVar3; + undefined4 extraout_var; + undefined4 extraout_var_00; + undefined4 extraout_var_01; + byte *pbVar4; + + plVar2 = FUN_140041e70(param_1); + plVar2 = FUN_140041be0(plVar2); + uVar3 = FUN_140006de0(param_1,plVar2,param_3,param_4); + if (((short)param_1[1] != 0) && (uVar3 = 0xffff, (short)param_1[1] != -1)) { + pbVar4 = (byte *)*param_1; + if ((byte *)*param_1 == (byte *)0x0) { + pbVar4 = PTR_DAT_14016f008; + } + iVar1 = FUN_14003e740(pbVar4,0x140132660); + uVar3 = CONCAT44(extraout_var,iVar1); + if (iVar1 != 0) { + pbVar4 = (byte *)*param_1; + if ((byte *)*param_1 == (byte *)0x0) { + pbVar4 = PTR_DAT_14016f008; + } + iVar1 = FUN_14003e740(pbVar4,0x1401076b0); + uVar3 = CONCAT44(extraout_var_00,iVar1); + if (iVar1 != 0) { + pbVar4 = (byte *)*param_1; + if ((byte *)*param_1 == (byte *)0x0) { + pbVar4 = PTR_DAT_14016f008; + } + iVar1 = FUN_14003e740(pbVar4,0x1401076a0); + uVar3 = CONCAT44(extraout_var_01,iVar1); + if (iVar1 != 0) { + return CONCAT71((int7)(uVar3 >> 8),1); + } + } + } + } + return uVar3 & 0xffffffffffffff00; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140042bb0.c b/decomp/AgentManager_Release_x64/full/functions/0x140042bb0.c new file mode 100644 index 00000000..d8c9a5de --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140042bb0.c @@ -0,0 +1,34 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140042bb0 FUN_140042bb0 + * Pseudocode, not original source. */ + +undefined * +FUN_140042bb0(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + bool bVar1; + bool bVar2; + + bVar1 = false; + bVar2 = FUN_14003d0e0((int *)&DAT_140176360); + if (bVar2) { + if (DAT_14016f3c0 == '\0') { + bVar1 = false; + } + else { + bVar1 = true; + FUN_14003d040((int *)&DAT_140176360); + } + } + if ((DAT_140176358 & 1) == 0) { + DAT_140176358 = DAT_140176358 | 1; + FUN_1400429c0((undefined4 *)&DAT_140176310,param_2,param_3,param_4); + atexit((_func_5014 *)&LAB_140104540); + } + DAT_14016f3c0 = 0; + if (bVar1) { + FUN_14003d0d0(0x140176360); + } + return &DAT_140176310; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140042c70.c b/decomp/AgentManager_Release_x64/full/functions/0x140042c70.c new file mode 100644 index 00000000..ffcb83ae --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140042c70.c @@ -0,0 +1,21 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140042c70 FUN_140042c70 + * Pseudocode, not original source. */ + +undefined8 * +FUN_140042c70(undefined8 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined2 uVar1; + undefined4 uVar2; + undefined *puVar3; + + puVar3 = FUN_140042bb0(param_1,param_2,param_3,param_4); + uVar2 = *(undefined4 *)(puVar3 + 0x40); + uVar1 = *(undefined2 *)(puVar3 + 0x44); + *param_1 = Proud::AddrPort::vftable; + *(undefined2 *)((longlong)param_1 + 0xc) = uVar1; + *(undefined4 *)(param_1 + 1) = uVar2; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140042ca0.c b/decomp/AgentManager_Release_x64/full/functions/0x140042ca0.c new file mode 100644 index 00000000..b42ace1e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140042ca0.c @@ -0,0 +1,138 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140042ca0 FUN_140042ca0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_140042ca0(longlong param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4) + +{ + undefined *puVar1; + int *piVar2; + undefined *puVar3; + int iVar4; + longlong lVar5; + undefined **ppuVar6; + longlong lVar7; + longlong lVar8; + int *piVar9; + longlong *plVar10; + undefined **ppuVar11; + uint uVar12; + int iVar14; + ulonglong uVar15; + longlong lVar16; + longlong lVar17; + longlong lVar18; + undefined1 auStack_128 [32]; + undefined *local_108; + undefined *local_100; + longlong local_f8; + longlong local_f0; + undefined **local_e8; + undefined1 local_e0; + int *local_d8; + undefined1 local_d0; + undefined8 local_c8; + undefined1 local_b8 [128]; + ulonglong local_38; + ulonglong uVar13; + + local_c8 = 0xfffffffffffffffe; + local_38 = DAT_14016f5a0 ^ (ulonglong)auStack_128; + local_f8 = param_1; + FUN_140041880(); + FUN_140041f00(param_1,0,param_3,param_4); + ppuVar11 = (undefined **)0x80; + iVar4 = Ordinal_57(local_b8); + if ((iVar4 == 0) && (lVar5 = Ordinal_52(local_b8), lVar5 != 0)) { + lVar18 = 0; + local_f0 = lVar5; + while( true ) { + uVar13 = 0; + ppuVar6 = *(undefined ***)(lVar5 + 0x18); + if (*(longlong *)(lVar18 + (longlong)ppuVar6) == 0) break; + FUN_14003e7c0(ppuVar6,ppuVar11,param_3,param_4); + local_108 = PTR_DAT_14016f008; + uVar15 = uVar13; + if (0 < *(short *)(lVar5 + 0x12)) { + do { + FUN_14003e7c0(ppuVar6,ppuVar11,param_3,param_4); + local_100 = PTR_DAT_14016f008; + if (0 < (longlong)uVar15) { + FUN_140041af0((longlong *)&local_108,"."); + } + param_3 = (ulonglong) + *(byte *)(*(longlong *)(lVar18 + *(longlong *)(lVar5 + 0x18)) + uVar15); + FUN_140040470((longlong *)&local_100,"%u",param_3,param_4); + ppuVar11 = &local_100; + ppuVar6 = &local_108; + FUN_1400402e0((longlong *)ppuVar6,(longlong *)ppuVar11); + puVar3 = local_100; + if (((local_100 != (undefined *)0x0) && (local_100 != PTR_DAT_14016f008)) && + (puVar1 = local_100 + -8, puVar1 != (undefined *)0x0)) { + ppuVar6 = (undefined **)FUN_14003e7c0(ppuVar6,ppuVar11,param_3,param_4); + local_e8 = ppuVar6; + FUN_14003d040((int *)ppuVar6); + local_e0 = 1; + piVar2 = (int *)(puVar3 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(puVar1); + } + FUN_14003d0d0((longlong)ppuVar6); + local_e0 = 0; + } + uVar12 = (int)uVar13 + 1; + uVar13 = (ulonglong)uVar12; + uVar15 = uVar15 + 1; + } while ((int)uVar12 < (int)*(short *)(lVar5 + 0x12)); + } + puVar3 = local_108; + iVar4 = *(int *)(param_1 + 0x18); + if (iVar4 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + iVar14 = *(int *)(param_1 + 0x18); + FUN_140041f00(param_1,iVar14 + 1,param_3,param_4); + lVar8 = local_f8; + iVar14 = iVar14 - iVar4; + if ((0 < iVar14) && (iVar14 = iVar14 + -1, -1 < iVar14)) { + lVar16 = (longlong)(iVar14 + iVar4 + 1) << 3; + lVar17 = (longlong)(iVar14 + iVar4) << 3; + do { + lVar5 = FUN_140074a30(lVar8); + lVar7 = FUN_140074a30(lVar8); + FUN_140006de0((longlong *)(lVar16 + lVar7),(longlong *)(lVar17 + lVar5),param_3,param_4); + lVar17 = lVar17 + -8; + lVar16 = lVar16 + -8; + iVar14 = iVar14 + -1; + param_1 = local_f8; + lVar5 = local_f0; + } while (-1 < iVar14); + } + lVar8 = FUN_140074a30(param_1); + plVar10 = (longlong *)(lVar8 + (longlong)iVar4 * 8); + ppuVar11 = &local_108; + FUN_140006de0(plVar10,(longlong *)ppuVar11,param_3,param_4); + if (((puVar3 != (undefined *)0x0) && (puVar3 != PTR_DAT_14016f008)) && + (puVar3 + -8 != (undefined *)0x0)) { + piVar9 = (int *)FUN_14003e7c0(plVar10,ppuVar11,param_3,param_4); + local_d8 = piVar9; + FUN_14003d040(piVar9); + local_d0 = 1; + piVar2 = (int *)(puVar3 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(puVar3 + -8); + } + FUN_14003d0d0((longlong)piVar9); + local_d0 = 0; + } + lVar18 = lVar18 + 8; + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140042f50.c b/decomp/AgentManager_Release_x64/full/functions/0x140042f50.c new file mode 100644 index 00000000..094b2334 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140042f50.c @@ -0,0 +1,25 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140042f50 FUN_140042f50 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +ulonglong FUN_140042f50(void) + +{ + ulonglong uVar1; + undefined1 auStack_1d8 [32]; + undefined1 local_1b8 [416]; + ulonglong local_18; + + local_18 = DAT_14016f5a0 ^ (ulonglong)auStack_1d8; + uVar1 = Ordinal_115(2,local_1b8); + if ((int)uVar1 == 0) { + if (((char)local_1b8._0_2_ == '\x02') && (SUB21(local_1b8._0_2_,1) == '\0')) { + return 1; + } + uVar1 = Ordinal_116(); + } + return uVar1 & 0xffffffffffffff00; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140042fd0.c b/decomp/AgentManager_Release_x64/full/functions/0x140042fd0.c new file mode 100644 index 00000000..e3b8ef69 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140042fd0.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140042fd0 FUN_140042fd0 + * Pseudocode, not original source. */ + +void FUN_140042fd0(longlong param_1,undefined8 *param_2,undefined1 param_3) + +{ + *(undefined1 *)(param_1 + 0x40) = param_3; + if (param_2 != (undefined8 *)0x0) { + *(undefined8 *)(param_1 + 0x18) = *param_2; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140042ff0.c b/decomp/AgentManager_Release_x64/full/functions/0x140042ff0.c new file mode 100644 index 00000000..8d7a87de --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140042ff0.c @@ -0,0 +1,35 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140042ff0 FUN_140042ff0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +undefined8 * FUN_140042ff0(longlong param_1,undefined8 *param_2) + +{ + undefined2 uVar1; + int iVar2; + undefined1 auStack_48 [32]; + undefined4 local_28 [2]; + undefined1 local_20 [2]; + undefined2 local_1e; + undefined4 local_1c; + ulonglong local_10; + + local_10 = DAT_14016f5a0 ^ (ulonglong)auStack_48; + local_28[0] = 0x10; + iVar2 = Ordinal_6(*(undefined8 *)(param_1 + 0x3d0),local_20,local_28); + if (iVar2 == 0) { + uVar1 = Ordinal_15(local_1e); + *(undefined4 *)(param_2 + 1) = local_1c; + *param_2 = Proud::AddrPort::vftable; + *(undefined2 *)((longlong)param_2 + 0xc) = uVar1; + } + else { + *param_2 = Proud::AddrPort::vftable; + *(undefined4 *)(param_2 + 1) = DAT_14016f3d0; + *(undefined2 *)((longlong)param_2 + 0xc) = DAT_14016f3d4; + } + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140043090.c b/decomp/AgentManager_Release_x64/full/functions/0x140043090.c new file mode 100644 index 00000000..ff243577 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140043090.c @@ -0,0 +1,35 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140043090 FUN_140043090 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +undefined8 * FUN_140043090(longlong param_1,undefined8 *param_2) + +{ + undefined2 uVar1; + int iVar2; + undefined1 auStack_48 [32]; + undefined4 local_28 [2]; + undefined1 local_20 [2]; + undefined2 local_1e; + undefined4 local_1c; + ulonglong local_10; + + local_10 = DAT_14016f5a0 ^ (ulonglong)auStack_48; + local_28[0] = 0x10; + iVar2 = Ordinal_5(*(undefined8 *)(param_1 + 0x3d0),local_20,local_28); + if (iVar2 == 0) { + uVar1 = Ordinal_15(local_1e); + *(undefined4 *)(param_2 + 1) = local_1c; + *param_2 = Proud::AddrPort::vftable; + *(undefined2 *)((longlong)param_2 + 0xc) = uVar1; + } + else { + *param_2 = Proud::AddrPort::vftable; + *(undefined4 *)(param_2 + 1) = DAT_14016f3d0; + *(undefined2 *)((longlong)param_2 + 0xc) = DAT_14016f3d4; + } + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140043130.c b/decomp/AgentManager_Release_x64/full/functions/0x140043130.c new file mode 100644 index 00000000..3c81b860 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140043130.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140043130 FUN_140043130 + * Pseudocode, not original source. */ + +undefined1 FUN_140043130(longlong param_1) + +{ + return *(undefined1 *)(param_1 + 0x21); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140043140.c b/decomp/AgentManager_Release_x64/full/functions/0x140043140.c new file mode 100644 index 00000000..fa9ca479 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140043140.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140043140 FUN_140043140 + * Pseudocode, not original source. */ + +void FUN_140043140(longlong param_1,undefined1 param_2) + +{ + *(undefined1 *)(param_1 + 0x21) = param_2; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140043150.c b/decomp/AgentManager_Release_x64/full/functions/0x140043150.c new file mode 100644 index 00000000..b0b92353 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140043150.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140043150 FUN_140043150 + * Pseudocode, not original source. */ + +void FUN_140043150(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + exception local_58 [88]; + + if (*(longlong *)(param_1 + 0x2e8) != 0) { + FUN_14003db10(local_58,L"이미 completion context가 세팅되어 있음!",param_3,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + *(undefined8 *)(param_1 + 0x2e8) = param_2; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140043190.c b/decomp/AgentManager_Release_x64/full/functions/0x140043190.c new file mode 100644 index 00000000..8d595f6d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140043190.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140043190 FUN_140043190 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_140043190(longlong param_1) + +{ + undefined1 auStack_78 [32]; + undefined8 *local_58; + undefined4 local_50; + undefined1 *local_48; + undefined8 local_40; + undefined8 local_38; + undefined1 local_28 [8]; + undefined4 local_20; + undefined2 local_1c; + undefined4 local_1a; + undefined4 local_16; + undefined2 local_12; + ulonglong local_10; + + local_10 = DAT_14016f5a0 ^ (ulonglong)auStack_78; + local_1c = 0xcbac; + local_38 = 0; + local_40 = 0; + local_48 = local_28; + local_50 = 8; + local_20 = 0xb5367df1; + local_1a = 0xca9511cf; + local_58 = &DAT_140176400; + local_16 = 0x485f8000; + local_12 = 0x92a1; + WSAIoctl(*(undefined8 *)(param_1 + 0x3d0),0xc8000006,&local_20,0x10); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140043230.c b/decomp/AgentManager_Release_x64/full/functions/0x140043230.c new file mode 100644 index 00000000..453c3d66 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140043230.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140043230 FUN_140043230 + * Pseudocode, not original source. */ + +void FUN_140043230(longlong param_1,char param_2) + +{ + uint local_res10 [6]; + + local_res10[0] = (uint)(param_2 == '\0'); + Ordinal_10(*(undefined8 *)(param_1 + 0x3d0),0x8004667e,local_res10); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140043260.c b/decomp/AgentManager_Release_x64/full/functions/0x140043260.c new file mode 100644 index 00000000..f14d6372 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140043260.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140043260 FUN_140043260 + * Pseudocode, not original source. */ + +void FUN_140043260(longlong param_1,char param_2) + +{ + int iVar1; + uint local_res10 [6]; + + local_res10[0] = (uint)(param_2 == '\0'); + iVar1 = Ordinal_21(*(undefined8 *)(param_1 + 0x3d0),6,1,local_res10,4); + if (iVar1 == -1) { + Ordinal_111(); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400432b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400432b0.c new file mode 100644 index 00000000..3977029d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400432b0.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400432b0 FUN_1400432b0 + * Pseudocode, not original source. */ + +undefined4 * FUN_1400432b0(undefined4 *param_1) + +{ + *param_1 = 0; + param_1[0x82] = 0; + param_1[0x104] = 0; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400432d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400432d0.c new file mode 100644 index 00000000..5a86438a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400432d0.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400432d0 FUN_1400432d0 + * Pseudocode, not original source. */ + +void FUN_1400432d0(longlong param_1,longlong param_2) + +{ + uint uVar1; + longlong *plVar2; + uint uVar3; + ulonglong uVar4; + + uVar1 = *(uint *)(param_1 + 0x208); + uVar4 = 0; + if (uVar1 != 0) { + plVar2 = (longlong *)(param_1 + 0x210); + do { + if (*plVar2 == *(longlong *)(param_2 + 0x3d0)) break; + uVar3 = (int)uVar4 + 1; + uVar4 = (ulonglong)uVar3; + plVar2 = plVar2 + 1; + } while (uVar3 < uVar1); + } + if (((uint)uVar4 == uVar1) && (uVar1 < 0x40)) { + *(undefined8 *)(param_1 + 0x210 + uVar4 * 8) = *(undefined8 *)(param_2 + 0x3d0); + *(int *)(param_1 + 0x208) = *(int *)(param_1 + 0x208) + 1; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140043330.c b/decomp/AgentManager_Release_x64/full/functions/0x140043330.c new file mode 100644 index 00000000..222eca92 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140043330.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140043330 FUN_140043330 + * Pseudocode, not original source. */ + +void FUN_140043330(longlong param_1,longlong param_2) + +{ + uint uVar1; + longlong *plVar2; + uint uVar3; + ulonglong uVar4; + + uVar1 = *(uint *)(param_1 + 0x410); + uVar4 = 0; + if (uVar1 != 0) { + plVar2 = (longlong *)(param_1 + 0x418); + do { + if (*plVar2 == *(longlong *)(param_2 + 0x3d0)) break; + uVar3 = (int)uVar4 + 1; + uVar4 = (ulonglong)uVar3; + plVar2 = plVar2 + 1; + } while (uVar3 < uVar1); + } + if (((uint)uVar4 == uVar1) && (uVar1 < 0x40)) { + *(undefined8 *)(param_1 + 0x418 + uVar4 * 8) = *(undefined8 *)(param_2 + 0x3d0); + *(int *)(param_1 + 0x410) = *(int *)(param_1 + 0x410) + 1; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140043390.c b/decomp/AgentManager_Release_x64/full/functions/0x140043390.c new file mode 100644 index 00000000..7eac34a2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140043390.c @@ -0,0 +1,21 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140043390 FUN_140043390 + * Pseudocode, not original source. */ + +void FUN_140043390(longlong param_1,uint param_2) + +{ + uint *puVar1; + uint local_res8; + int local_resc; + + puVar1 = (uint *)0x0; + if (param_2 != 0xffffffff) { + puVar1 = &local_res8; + local_res8 = param_2 / 1000; + local_resc = (param_2 % 1000) * 1000; + } + Ordinal_18(0,param_1,param_1 + 0x208,param_1 + 0x410,puVar1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400433f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400433f0.c new file mode 100644 index 00000000..3de823e6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400433f0.c @@ -0,0 +1,28 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400433f0 FUN_1400433f0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400433f0(longlong param_1,longlong param_2,undefined4 *param_3) + +{ + undefined8 uVar1; + ulonglong uVar2; + undefined4 local_res8 [2]; + undefined4 local_res10 [2]; + + uVar1 = Ordinal_151(*(undefined8 *)(param_2 + 0x3d0),param_1 + 0x208); + if ((int)uVar1 != 0) { + *param_3 = 0; + return CONCAT71((int7)((ulonglong)uVar1 >> 8),1); + } + uVar2 = Ordinal_151(*(undefined8 *)(param_2 + 0x3d0),param_1 + 0x410); + if ((int)uVar2 != 0) { + local_res8[0] = 0; + local_res10[0] = 4; + uVar1 = Ordinal_7(*(undefined8 *)(param_2 + 0x3d0),0xffff,0x1007,local_res8,local_res10); + *param_3 = local_res8[0]; + return CONCAT71((int7)((ulonglong)uVar1 >> 8),1); + } + return uVar2 & 0xffffffffffffff00; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400434c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400434c0.c new file mode 100644 index 00000000..62528df1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400434c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400434c0 FUN_1400434c0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400434c0(undefined8 param_1) + +{ + FUN_140042f50(); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400434f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400434f0.c new file mode 100644 index 00000000..c5f48779 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400434f0.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400434f0 FUN_1400434f0 + * Pseudocode, not original source. */ + +undefined8 * FUN_1400434f0(undefined8 *param_1) + +{ + *param_1 = Proud::IHasOverlappedIo::vftable; + *(undefined1 *)(param_1 + 8) = 0; + *(undefined1 *)(param_1 + 0x10) = 0; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140043510.c b/decomp/AgentManager_Release_x64/full/functions/0x140043510.c new file mode 100644 index 00000000..00df9027 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140043510.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140043510 FUN_140043510 + * Pseudocode, not original source. */ + +void FUN_140043510(undefined8 *param_1) + +{ + *param_1 = Proud::IHasOverlappedIo::vftable; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140043520.c b/decomp/AgentManager_Release_x64/full/functions/0x140043520.c new file mode 100644 index 00000000..6b262ee9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140043520.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140043520 FUN_140043520 + * Pseudocode, not original source. */ + +undefined8 * FUN_140043520(undefined8 *param_1,byte param_2) + +{ + *param_1 = Proud::IHasOverlappedIo::vftable; + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140043550.c b/decomp/AgentManager_Release_x64/full/functions/0x140043550.c new file mode 100644 index 00000000..d361d672 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140043550.c @@ -0,0 +1,50 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140043550 FUN_140043550 + * Pseudocode, not original source. */ + +void FUN_140043550(longlong *param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong *plVar1; + longlong lVar2; + exception local_58 [88]; + + if ((longlong *)param_2[2] != param_1) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_CListNode_reports_a_consistency_p_14016f4a0, + L"Proud::CListNode::CListOwner::Erase",param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + plVar1 = (longlong *)param_2[1]; + lVar2 = *param_2; + if (plVar1 != (longlong *)0x0) { + *plVar1 = lVar2; + } + if (lVar2 != 0) { + *(longlong **)(lVar2 + 8) = plVar1; + } + if (plVar1 == (longlong *)0x0) { + if ((longlong *)param_1[1] != param_2) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_CListNode_reports_a_consistency_p_14016f4a0, + L"Proud::CListNode::CListOwner::Erase",param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + param_1[1] = lVar2; + } + if (lVar2 == 0) { + if ((longlong *)*param_1 != param_2) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_CListNode_reports_a_consistency_p_14016f4a0, + L"Proud::CListNode::CListOwner::Erase",param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + *param_1 = (longlong)plVar1; + } + *param_2 = 0; + param_2[1] = 0; + param_2[2] = 0; + *(int *)(param_1 + 2) = (int)param_1[2] + -1; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140043630.c b/decomp/AgentManager_Release_x64/full/functions/0x140043630.c new file mode 100644 index 00000000..343b7895 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140043630.c @@ -0,0 +1,36 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140043630 FUN_140043630 + * Pseudocode, not original source. */ + +void FUN_140043630(longlong param_1,char param_2,undefined8 param_3,undefined8 param_4) + +{ + uint uVar1; + longlong lVar2; + exception local_50 [72]; + + FUN_14003d040((int *)(param_1 + 0x28)); + if (*(char *)(param_1 + 0x80) == '\0') { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (param_2 == '\0') { + param_4 = 0; + lVar2 = WSASocketW(2); + } + else { + lVar2 = Ordinal_23(2); + } + *(longlong *)(param_1 + 0x3d0) = lVar2; + if (lVar2 == -1) { + uVar1 = Ordinal_111(); + FUN_14003db10(local_50,L"Socket 생성 실패: %d",(ulonglong)uVar1,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_50,(ThrowInfo *)&DAT_14016c210); + } + *(undefined1 *)(param_1 + 0x80) = 0; + *(int *)(param_1 + 0x310) = *(int *)(param_1 + 0x310) + 1; + FUN_14003d0d0(param_1 + 0x28); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140043710.c b/decomp/AgentManager_Release_x64/full/functions/0x140043710.c new file mode 100644 index 00000000..7b6da90a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140043710.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140043710 FUN_140043710 + * Pseudocode, not original source. */ + +ulonglong FUN_140043710(longlong param_1,undefined1 param_2,undefined4 *param_3) + +{ + int iVar1; + undefined4 uVar2; + ulonglong in_RAX; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_res8 [2]; + undefined4 local_res20 [2]; + + if ((*(int *)(param_1 + 0x180) != 0x103) && (in_RAX = 0, *(char *)(param_1 + 0x1c0) != '\0')) { + iVar1 = WSAGetOverlappedResult + (*(undefined8 *)(param_1 + 0x3d0),(int *)(param_1 + 0x180),local_res20,param_2 + ,local_res8); + if (iVar1 == 0) { + uVar3 = Ordinal_111(); + if ((int)uVar3 == 0x3e4) { + return uVar3 & 0xffffffffffffff00; + } + } + *param_3 = local_res8[0]; + param_3[6] = local_res20[0]; + if (iVar1 == 0) { + uVar2 = Ordinal_111(); + param_3[1] = uVar2; + } + *(undefined1 *)(param_1 + 0x1c0) = 0; + uVar4 = FUN_140041820((longlong)(param_3 + 2),param_1 + 0x2f0); + return CONCAT71((int7)((ulonglong)uVar4 >> 8),1); + } + return in_RAX & 0xffffffffffffff00; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400437e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400437e0.c new file mode 100644 index 00000000..030b2039 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400437e0.c @@ -0,0 +1,37 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400437e0 FUN_1400437e0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400437e0(longlong param_1,undefined1 param_2,undefined4 *param_3) + +{ + int iVar1; + undefined4 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_res8 [2]; + undefined4 local_res20 [2]; + + if ((*(char *)(param_1 + 0x100) != '\0') && (*(int *)(param_1 + 0xc0) != 0x103)) { + iVar1 = WSAGetOverlappedResult + (*(undefined8 *)(param_1 + 0x3d0),(int *)(param_1 + 0xc0),local_res20,param_2, + local_res8); + if (iVar1 == 0) { + uVar3 = Ordinal_111(); + if ((int)uVar3 == 0x3e4) { + return uVar3 & 0xffffffffffffff00; + } + } + *param_3 = local_res8[0]; + param_3[6] = local_res20[0]; + if (iVar1 == 0) { + uVar2 = Ordinal_111(); + param_3[1] = uVar2; + } + *(undefined1 *)(param_1 + 0x100) = 0; + uVar4 = FUN_140041820((longlong)(param_3 + 2),param_1 + 0x2f0); + return CONCAT71((int7)((ulonglong)uVar4 >> 8),1); + } + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400438b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400438b0.c new file mode 100644 index 00000000..fec67e4a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400438b0.c @@ -0,0 +1,37 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400438b0 FUN_1400438b0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400438b0(longlong param_1,undefined1 param_2,undefined4 *param_3) + +{ + int iVar1; + undefined4 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_res8 [2]; + undefined4 local_res20 [2]; + + if ((*(char *)(param_1 + 0x380) != '\0') && (*(int *)(param_1 + 0x340) != 0x103)) { + iVar1 = WSAGetOverlappedResult + (*(undefined8 *)(param_1 + 0x3d0),(int *)(param_1 + 0x340),local_res20,param_2 + ,local_res8); + if (iVar1 == 0) { + uVar3 = Ordinal_111(); + if ((int)uVar3 == 0x3e4) { + return uVar3 & 0xffffffffffffff00; + } + } + *param_3 = local_res8[0]; + param_3[6] = local_res20[0]; + if (iVar1 == 0) { + uVar2 = Ordinal_111(); + param_3[1] = uVar2; + } + *(undefined1 *)(param_1 + 0x100) = 0; + uVar4 = FUN_140041820((longlong)(param_3 + 2),param_1 + 0x2f0); + return CONCAT71((int7)((ulonglong)uVar4 >> 8),1); + } + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140043980.c b/decomp/AgentManager_Release_x64/full/functions/0x140043980.c new file mode 100644 index 00000000..31626cf1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140043980.c @@ -0,0 +1,39 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140043980 FUN_140043980 + * Pseudocode, not original source. */ + +undefined8 FUN_140043980(longlong param_1,undefined1 param_2,uint *param_3) + +{ + int iVar1; + ulonglong in_RAX; + ulonglong uVar2; + uint local_res8 [2]; + uint local_res20 [2]; + + if ((*(int *)(param_1 + 0x240) == 0x103) || (in_RAX = 0, *(char *)(param_1 + 0x280) == '\0')) { + return in_RAX & 0xffffffffffffff00; + } + uVar2 = WSAGetOverlappedResult + (*(undefined8 *)(param_1 + 0x3d0),(int *)(param_1 + 0x240),local_res8,param_2, + local_res20); + iVar1 = (int)uVar2; + if (iVar1 == 0) { + uVar2 = Ordinal_111(); + if ((int)uVar2 == 0x3e4) { +LAB_140043a2f: + return uVar2 & 0xffffffffffffff00; + } + } + else if ((local_res8[0] == 0) && (local_res20[0] == 0)) goto LAB_140043a2f; + uVar2 = (ulonglong)local_res20[0]; + param_3[6] = local_res8[0]; + *param_3 = local_res20[0]; + if (iVar1 == 0) { + uVar2 = Ordinal_111(); + param_3[1] = (uint)uVar2; + } + *(undefined1 *)(param_1 + 0x280) = 0; + return CONCAT71((int7)(uVar2 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140043a50.c b/decomp/AgentManager_Release_x64/full/functions/0x140043a50.c new file mode 100644 index 00000000..a8b6ce2b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140043a50.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140043a50 FUN_140043a50 + * Pseudocode, not original source. */ + +void FUN_140043a50(longlong *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003d070((int *)(param_1 + 5)); + if ((char)param_1[0x10] == '\0') { + *(undefined1 *)(param_1 + 0x10) = 1; + FUN_140046bb0(param_1[0x7a]); + Ordinal_3(param_1[0x7a]); + if (param_1[0x79] != 0) { + if (*(longlong *)(param_1[0x79] + 0x28) == 0) { + if ((char)param_1[0x38] != '\0') { + param_1[0x30] = 0x80; + param_3 = 2; + FUN_140047ad0(param_1[0x79],param_1,2); + } + if ((char)param_1[0x50] != '\0') { + param_1[0x48] = 0x80; + param_3 = 1; + FUN_140047ad0(param_1[0x79],param_1,1); + } + } + FUN_140047ca0(param_1[0x79],param_1,param_3,param_4); + param_1[0x79] = 0; + } + } + FUN_14003d0d0((longlong)(param_1 + 5)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140043b40.c b/decomp/AgentManager_Release_x64/full/functions/0x140043b40.c new file mode 100644 index 00000000..ef7f9509 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140043b40.c @@ -0,0 +1,66 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140043b40 FUN_140043b40 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_140043b40(longlong param_1,longlong param_2,longlong param_3,longlong param_4) + +{ + undefined4 uVar1; + undefined2 uVar2; + int iVar3; + PVOID lpOutputBuffer; + undefined4 uVar4; + undefined1 auStackY_b8 [32]; + undefined4 local_78; + int local_74 [3]; + undefined1 local_68 [2]; + undefined2 local_66; + undefined4 local_64; + sockaddr *local_58 [2]; + sockaddr *local_48 [2]; + ulonglong local_38; + + local_38 = DAT_14016f5a0 ^ (ulonglong)auStackY_b8; + local_74[0] = 0x10; + local_74[1] = 0x10; + if (*(int *)(param_2 + 0x158) == 0) { + lpOutputBuffer = (PVOID)0x0; + } + else { + lpOutputBuffer = *(PVOID *)(param_2 + 0x150); + } + GetAcceptExSockaddrs(lpOutputBuffer,0,0x20,0x20,local_58,local_74,local_48,local_74 + 1); + FUN_140041820(param_3,(longlong)local_58); + FUN_140041820(param_4,(longlong)local_48); + iVar3 = Ordinal_21(*(undefined8 *)(param_1 + 0x3d0),0xffff,0x700b,param_2 + 0x3d0); + if (iVar3 == -1) { + Ordinal_111(); + } + local_78 = 0x10; + iVar3 = Ordinal_5(*(undefined8 *)(param_1 + 0x3d0),local_68,&local_78); + uVar1 = local_64; + uVar4 = DAT_14016f3d0; + uVar2 = DAT_14016f3d4; + if (iVar3 == 0) { + uVar2 = Ordinal_15(local_66); + uVar4 = uVar1; + } + *(undefined4 *)(param_4 + 8) = uVar4; + *(undefined2 *)(param_4 + 0xc) = uVar2; + local_78 = 0x10; + iVar3 = Ordinal_6(*(undefined8 *)(param_1 + 0x3d0),local_68,&local_78); + uVar2 = DAT_14016f3d4; + if (iVar3 == 0) { + uVar2 = Ordinal_15(local_66); + *(undefined4 *)(param_3 + 8) = local_64; + *(undefined2 *)(param_3 + 0xc) = uVar2; + } + else { + *(undefined4 *)(param_3 + 8) = DAT_14016f3d0; + *(undefined2 *)(param_3 + 0xc) = uVar2; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140043cd0.c b/decomp/AgentManager_Release_x64/full/functions/0x140043cd0.c new file mode 100644 index 00000000..071a08e0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140043cd0.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140043cd0 FUN_140043cd0 + * Pseudocode, not original source. */ + +undefined8 FUN_140043cd0(longlong param_1) + +{ + if (*(int *)(param_1 + 0x218) == 0) { + return 0; + } + return *(undefined8 *)(param_1 + 0x210); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140043cf0.c b/decomp/AgentManager_Release_x64/full/functions/0x140043cf0.c new file mode 100644 index 00000000..761f4c77 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140043cf0.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140043cf0 FUN_140043cf0 + * Pseudocode, not original source. */ + +undefined1 FUN_140043cf0(longlong param_1) + +{ + int *piVar1; + undefined1 uVar2; + bool bVar3; + + piVar1 = (int *)(param_1 + 0x28); + bVar3 = FUN_14003d0e0(piVar1); + if (!bVar3) { + return 1; + } + FUN_14003d040(piVar1); + uVar2 = *(undefined1 *)(param_1 + 0x80); + FUN_14003d0d0((longlong)piVar1); + return uVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140043d40.c b/decomp/AgentManager_Release_x64/full/functions/0x140043d40.c new file mode 100644 index 00000000..985c63b6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140043d40.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140043d40 FUN_140043d40 + * Pseudocode, not original source. */ + +void FUN_140043d40(longlong *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + if ((longlong *)param_1[2] != (longlong *)0x0) { + FUN_140043550((longlong *)param_1[2],param_1,param_3,param_4); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140043d60.c b/decomp/AgentManager_Release_x64/full/functions/0x140043d60.c new file mode 100644 index 00000000..dce13e7a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140043d60.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140043d60 FUN_140043d60 + * Pseudocode, not original source. */ + +undefined8 * FUN_140043d60(undefined8 *param_1,uint param_2) + +{ + *param_1 = Proud::CFastArray::vftable; + if ((LPVOID)param_1[2] != (LPVOID)0x0) { + if ((longlong *)param_1[1] == (longlong *)0x0) { + FUN_14003e8b0((LPVOID)param_1[2]); + } + else { + (**(code **)(*(longlong *)param_1[1] + 0x18))(); + } + } + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140043dc0.c b/decomp/AgentManager_Release_x64/full/functions/0x140043dc0.c new file mode 100644 index 00000000..becc2a31 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140043dc0.c @@ -0,0 +1,26 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140043dc0 FUN_140043dc0 + * Pseudocode, not original source. */ + +void FUN_140043dc0(longlong param_1) + +{ + FUN_140041880(); + *(undefined1 *)(param_1 + 0x314) = 0; + *(undefined4 *)(param_1 + 0x310) = 0; + *(undefined8 *)(param_1 + 0x3c8) = 0; + FUN_14003d040((int *)(param_1 + 0x28)); + *(undefined1 *)(param_1 + 0x80) = 0; + FUN_14003d0d0(param_1 + 0x28); + *(undefined1 *)(param_1 + 0x3c1) = 0; + *(undefined8 *)(param_1 + 0x2e8) = 0; + *(undefined1 *)(param_1 + 0x21) = 1; + *(undefined8 *)(param_1 + 0x2f0) = 0; + *(undefined8 *)(param_1 + 0x2f8) = 0; + *(undefined8 *)(param_1 + 0x300) = 0; + *(undefined4 *)(param_1 + 0x308) = 0xffffffff; + *(undefined1 *)(param_1 + 0x30c) = 0; + *(undefined1 *)(param_1 + 0x3c0) = 0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140043e60.c b/decomp/AgentManager_Release_x64/full/functions/0x140043e60.c new file mode 100644 index 00000000..e2847bb4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140043e60.c @@ -0,0 +1,52 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140043e60 FUN_140043e60 + * Pseudocode, not original source. */ + +void FUN_140043e60(longlong *param_1,undefined8 param_2,longlong *param_3,undefined8 param_4) + +{ + LPVOID pvVar1; + LPVOID pvVar2; + + FUN_140043a50(param_1,param_2,param_3,param_4); + param_1[0x58] = (longlong)Proud::CFastArray::vftable; + pvVar1 = (LPVOID)param_1[0x5a]; + if (pvVar1 != (LPVOID)0x0) { + if ((longlong *)param_1[0x59] == (longlong *)0x0) { + FUN_14003e8b0(pvVar1); + } + else { + (**(code **)(*(longlong *)param_1[0x59] + 0x18))(); + } + } + param_1[0x40] = (longlong)Proud::CFastArray::vftable; + pvVar2 = (LPVOID)param_1[0x42]; + if (pvVar2 != (LPVOID)0x0) { + param_3 = (longlong *)param_1[0x41]; + if (param_3 == (longlong *)0x0) { + FUN_14003e8b0(pvVar2); + } + else { + (**(code **)(*param_3 + 0x18))(param_3); + pvVar1 = pvVar2; + } + } + param_1[0x28] = (longlong)Proud::CFastArray::vftable; + pvVar2 = (LPVOID)param_1[0x2a]; + if (pvVar2 != (LPVOID)0x0) { + param_3 = (longlong *)param_1[0x29]; + if (param_3 == (longlong *)0x0) { + FUN_14003e8b0(pvVar2); + } + else { + (**(code **)(*param_3 + 0x18))(param_3); + pvVar1 = pvVar2; + } + } + FUN_14003d110((undefined4 *)(param_1 + 5),pvVar1,param_3,param_4); + if ((longlong *)param_1[2] != (longlong *)0x0) { + FUN_140043550((longlong *)param_1[2],param_1,param_3,param_4); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140043f50.c b/decomp/AgentManager_Release_x64/full/functions/0x140043f50.c new file mode 100644 index 00000000..2cb2159c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140043f50.c @@ -0,0 +1,88 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140043f50 FUN_140043f50 + * Pseudocode, not original source. */ + +undefined8 * FUN_140043f50(undefined8 *param_1,int param_2,undefined8 param_3,undefined8 param_4) + +{ + uint uVar1; + ulonglong uVar2; + undefined8 uVar3; + undefined8 uVar4; + exception local_50 [72]; + + uVar4 = 0xfffffffffffffffe; + *param_1 = 0; + param_1[1] = 0; + param_1[2] = 0; + uVar3 = param_3; + uVar2 = FUN_140094860(); + FUN_14003cf60((undefined4 *)(param_1 + 5),uVar2 & 0xffffffff, + CONCAT71((int7)((ulonglong)uVar3 >> 8),1),param_4); + param_1[0x18] = 0; + param_1[0x19] = 0; + param_1[0x1a] = 0; + param_1[0x1b] = 0; + *(undefined1 *)(param_1 + 0x20) = 0; + param_1[0x29] = 0; + param_1[0x2a] = 0; + param_1[0x2b] = 0; + *(undefined4 *)(param_1 + 0x2c) = 0; + param_1[0x28] = Proud::CSocketBuffer::vftable; + *(undefined4 *)((longlong)param_1 + 0x164) = 1; + param_1[0x30] = 0; + param_1[0x31] = 0; + param_1[0x32] = 0; + param_1[0x33] = 0; + *(undefined1 *)(param_1 + 0x38) = 0; + param_1[0x41] = 0; + param_1[0x42] = 0; + param_1[0x43] = 0; + *(undefined4 *)(param_1 + 0x44) = 0; + param_1[0x40] = Proud::CSocketBuffer::vftable; + *(undefined4 *)((longlong)param_1 + 0x224) = 1; + param_1[0x48] = 0; + param_1[0x49] = 0; + param_1[0x4a] = 0; + param_1[0x4b] = 0; + *(undefined1 *)(param_1 + 0x50) = 0; + param_1[0x59] = 0; + param_1[0x5a] = 0; + param_1[0x5b] = 0; + *(undefined4 *)(param_1 + 0x5c) = 0; + param_1[0x58] = Proud::CSocketBuffer::vftable; + *(undefined4 *)((longlong)param_1 + 0x2e4) = 1; + param_1[0x68] = 0; + param_1[0x69] = 0; + param_1[0x6a] = 0; + param_1[0x6b] = 0; + *(undefined1 *)(param_1 + 0x70) = 0; + *(undefined1 *)(param_1 + 4) = 0; + param_1[3] = param_3; + FUN_140043dc0((longlong)param_1); + if (param_2 == 0) { + uVar3 = 1; + } + else if (param_2 == 1) { + uVar3 = 2; + } + else { + if (param_2 != 2) { + FUN_14003e110(L"Invalid Parameter in Socket ctor!"); + goto LAB_140044114; + } + uVar3 = 3; + } + param_4 = 0; + uVar3 = WSASocketW(2,uVar3,0,0,0,1,uVar4); + param_1[0x7a] = uVar3; +LAB_140044114: + if (param_1[0x7a] != -1) { + return param_1; + } + uVar1 = Ordinal_111(); + FUN_14003db10(local_50,L"Socket 생성 실패: %d",(ulonglong)uVar1,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_50,(ThrowInfo *)&DAT_14016c210); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140044170.c b/decomp/AgentManager_Release_x64/full/functions/0x140044170.c new file mode 100644 index 00000000..85826543 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140044170.c @@ -0,0 +1,62 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140044170 FUN_140044170 + * Pseudocode, not original source. */ + +undefined8 * +FUN_140044170(undefined8 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + ulonglong uVar1; + undefined7 uVar2; + + uVar2 = (undefined7)((ulonglong)param_3 >> 8); + *param_1 = 0; + param_1[1] = 0; + param_1[2] = 0; + uVar1 = FUN_140094860(); + FUN_14003cf60((undefined4 *)(param_1 + 5),uVar1 & 0xffffffff,CONCAT71(uVar2,1),param_4); + param_1[0x18] = 0; + param_1[0x19] = 0; + param_1[0x1a] = 0; + param_1[0x1b] = 0; + *(undefined1 *)(param_1 + 0x20) = 0; + param_1[0x29] = 0; + param_1[0x2a] = 0; + param_1[0x2b] = 0; + *(undefined4 *)(param_1 + 0x2c) = 0; + param_1[0x28] = Proud::CSocketBuffer::vftable; + *(undefined4 *)((longlong)param_1 + 0x164) = 1; + param_1[0x30] = 0; + param_1[0x31] = 0; + param_1[0x32] = 0; + param_1[0x33] = 0; + *(undefined1 *)(param_1 + 0x38) = 0; + param_1[0x41] = 0; + param_1[0x42] = 0; + param_1[0x43] = 0; + *(undefined4 *)(param_1 + 0x44) = 0; + param_1[0x40] = Proud::CSocketBuffer::vftable; + *(undefined4 *)((longlong)param_1 + 0x224) = 1; + param_1[0x48] = 0; + param_1[0x49] = 0; + param_1[0x4a] = 0; + param_1[0x4b] = 0; + *(undefined1 *)(param_1 + 0x50) = 0; + param_1[0x59] = 0; + param_1[0x5a] = 0; + param_1[0x5b] = 0; + *(undefined4 *)(param_1 + 0x5c) = 0; + param_1[0x58] = Proud::CSocketBuffer::vftable; + *(undefined4 *)((longlong)param_1 + 0x2e4) = 1; + param_1[0x68] = 0; + param_1[0x69] = 0; + param_1[0x6a] = 0; + param_1[0x6b] = 0; + *(undefined1 *)(param_1 + 0x70) = 0; + *(undefined1 *)(param_1 + 4) = 0; + param_1[0x7a] = param_2; + param_1[3] = param_3; + FUN_140043dc0((longlong)param_1); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140044300.c b/decomp/AgentManager_Release_x64/full/functions/0x140044300.c new file mode 100644 index 00000000..1e0538e5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140044300.c @@ -0,0 +1,67 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140044300 FUN_140044300 + * Pseudocode, not original source. */ + +void FUN_140044300(longlong param_1,ulonglong param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined *puVar1; + int *piVar2; + int *piVar3; + undefined **ppuVar4; + longlong *plVar5; + undefined *puVar6; + ulonglong uVar7; + undefined *local_res20; + undefined *local_28; + undefined8 local_20; + int *local_18; + undefined1 local_10; + + if ((((int)param_2 != 0x2733) && (local_20 = 0xfffffffffffffffe, (int)param_2 != 0x3e5)) && + (*(char *)(param_1 + 0x21) == '\x01')) { + FUN_14003e7c0(param_1,param_2,param_3,param_4); + local_28 = PTR_DAT_14016f010; + uVar7 = param_2 & 0xffffffff; + puVar6 = &DAT_140107978; + ppuVar4 = &local_28; + FUN_140029b80((longlong *)ppuVar4,L"%s에서 실패: %d",param_3,uVar7); + FUN_14003e7c0(ppuVar4,puVar6,param_3,uVar7); + puVar1 = local_28; + local_res20 = PTR_DAT_14016f010; + if (PTR_DAT_14016f010 == (undefined *)0x0) { + local_res20 = (undefined *)0x0; + } + if (local_28 != PTR_DAT_14016f010) { + piVar2 = (int *)FUN_14003e7c0(0,puVar6,param_3,uVar7); + local_18 = piVar2; + FUN_14003d040(piVar2); + local_10 = 1; + FUN_140002190((longlong *)&local_res20,puVar6,param_3,uVar7); + local_res20 = puVar1; + if (((puVar1 != PTR_DAT_14016f010) && (puVar1 != (undefined *)0x0)) && + (puVar1 != (undefined *)0x8)) { + *(int *)(puVar1 + -4) = *(int *)(puVar1 + -4) + 1; + } + FUN_14003d0d0((longlong)piVar2); + } + plVar5 = *(longlong **)(param_1 + 0x18); + ppuVar4 = &local_res20; + (**(code **)(*plVar5 + 8))(); + if (((puVar1 != (undefined *)0x0) && (puVar1 != PTR_DAT_14016f010)) && + (puVar1 + -8 != (undefined *)0x0)) { + piVar3 = (int *)FUN_14003e7c0(plVar5,param_1,ppuVar4,uVar7); + local_18 = piVar3; + FUN_14003d040(piVar3); + local_10 = 1; + piVar2 = (int *)(puVar1 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(puVar1 + -8); + } + FUN_14003d0d0((longlong)piVar3); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140044450.c b/decomp/AgentManager_Release_x64/full/functions/0x140044450.c new file mode 100644 index 00000000..56599f88 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140044450.c @@ -0,0 +1,275 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140044450 FUN_140044450 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +uint FUN_140044450(longlong param_1,longlong *param_2,undefined2 param_3,undefined8 param_4) + +{ + char *pcVar1; + undefined2 uVar2; + int iVar3; + int iVar4; + int iVar5; + uint uVar6; + int *piVar7; + longlong lVar8; + int *piVar9; + char **ppcVar10; + LPCWSTR pWVar11; + ulonglong uVar12; + undefined8 *puVar13; + int *piVar14; + undefined8 uVar15; + undefined8 uVar16; + wchar_t *pwVar17; + undefined1 auStack_128 [32]; + int *local_108; + undefined1 local_100; + longlong *local_f8; + undefined8 local_f0; + undefined8 local_e8; + undefined8 local_e0; + char *local_d8; + char local_d0 [136]; + ulonglong local_48; + + local_f0 = 0xfffffffffffffffe; + local_48 = DAT_14016f5a0 ^ (ulonglong)auStack_128; + pWVar11 = (LPCWSTR)*param_2; + if ((LPCWSTR)*param_2 == (LPCWSTR)0x0) { + pWVar11 = (LPCWSTR)PTR_DAT_14016f010; + } + local_d8 = local_d0; + uVar15 = 3; + ppcVar10 = &local_d8; + local_f8 = param_2; + FUN_14003d280((longlong *)ppcVar10,pWVar11,3); + pcVar1 = local_d8; + FUN_14003e7c0(ppcVar10,pWVar11,uVar15,param_4); + piVar14 = (int *)PTR_DAT_14016f008; + local_108 = (int *)PTR_DAT_14016f008; + iVar3 = FUN_14003e6e0(pcVar1); + if (piVar14 == (int *)0x0) { + iVar5 = 0; + } + else if (piVar14 == (int *)PTR_DAT_14016f008) { + iVar5 = 0; + } + else { + iVar5 = *(int *)((longlong)piVar14 + -8); + } + iVar4 = iVar3; + if (iVar3 <= iVar5) { + if (piVar14 == (int *)0x0) { + iVar4 = 0; + } + else if (piVar14 == (int *)PTR_DAT_14016f008) { + iVar4 = 0; + } + else { + iVar4 = *(int *)((longlong)piVar14 + -8); + } + } + iVar5 = 1; + if (1 < iVar4) { + iVar5 = iVar4; + } + if (piVar14 == (int *)0x0) { + iVar4 = 0; + } + else if (piVar14 == (int *)PTR_DAT_14016f008) { + iVar4 = 0; + } + else { + iVar4 = *(int *)((longlong)piVar14 + -8); + } + if (iVar5 <= iVar4) goto LAB_1400445f1; + if (piVar14 == (int *)0x0) { + piVar14 = (int *)PTR_DAT_14016f008; + } + local_108 = piVar14; + if (iVar5 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (iVar5 == 0) { + FUN_140006e80((longlong *)&local_108); + goto LAB_1400445f1; + } + if (piVar14 == (int *)0x0) { + iVar4 = 0; + } + else if (piVar14 == (int *)PTR_DAT_14016f008) { + iVar4 = 0; + } + else { + iVar4 = piVar14[-2]; + } + if (iVar5 == iVar4) goto LAB_1400445f1; + piVar7 = (int *)FUN_14003e840((longlong)iVar5 + 9); + if (piVar7 != (int *)0x0) { + *piVar7 = 0; + piVar7[1] = 1; + } + *piVar7 = iVar5; + if (piVar14 == (int *)0x0) { + iVar4 = 0; + } + else if (piVar14 == (int *)PTR_DAT_14016f008) { + iVar4 = 0; + } + else { + iVar4 = piVar14[-2]; + } + piVar9 = (int *)PTR_DAT_14016f008; + if (iVar5 < iVar4) { +LAB_1400445cb: + if (piVar14 != (int *)0x0) { + piVar9 = piVar14; + } + } + else { + if (piVar14 != (int *)0x0) { + if (piVar14 == (int *)PTR_DAT_14016f008) { + iVar5 = 0; + } + else { + iVar5 = piVar14[-2]; + } + goto LAB_1400445cb; + } + iVar5 = 0; + } + FUN_14003e710(piVar7 + 2,piVar9,iVar5); + FUN_140006e80((longlong *)&local_108); + local_108 = piVar7 + 2; +LAB_1400445f1: + FUN_14003d4c0((longlong *)&local_108); + piVar14 = local_108; + piVar7 = local_108; + if (local_108 == (int *)0x0) { + piVar7 = (int *)PTR_DAT_14016f008; + } + FUN_14003e710(piVar7,pcVar1,iVar3); + piVar7 = piVar14; + if (piVar14 == (int *)0x0) { + piVar7 = (int *)PTR_DAT_14016f008; + } + iVar5 = FUN_14003e6e0((char *)piVar7); + iVar3 = 0; + if (0 < iVar5) { + iVar3 = iVar5; + } + if (piVar14 == (int *)0x0) { + iVar5 = 0; + } + else if (piVar14 == (int *)PTR_DAT_14016f008) { + iVar5 = 0; + } + else { + iVar5 = piVar14[-2]; + } + if (iVar5 <= iVar3) { + if (piVar14 == (int *)0x0) { + iVar3 = 0; + } + else if (piVar14 == (int *)PTR_DAT_14016f008) { + iVar3 = 0; + } + else { + iVar3 = piVar14[-2]; + } + } + if (((piVar14 != (int *)PTR_DAT_14016f008) && (piVar14 != (int *)0x0)) && + (piVar7 = piVar14 + -2, piVar7 != (int *)0x0)) { + *piVar7 = iVar3; + *(undefined1 *)((longlong)iVar3 + 8 + (longlong)piVar7) = 0; + } + if (local_d8 != local_d0) { + free(local_d8); + } + local_e0 = 0; + local_e8 = 2; + piVar7 = piVar14; + if (piVar14 == (int *)0x0) { + piVar7 = (int *)PTR_DAT_14016f008; + } + iVar3 = Ordinal_11(piVar7); + local_e8 = CONCAT44(iVar3,(undefined4)local_e8); + if (iVar3 == -1) { + piVar7 = piVar14; + if (piVar14 == (int *)0x0) { + piVar7 = (int *)PTR_DAT_14016f008; + } + lVar8 = Ordinal_52(piVar7); + if (lVar8 == 0) { + uVar6 = Ordinal_111(); + pwVar17 = L"Proud::CFastSocket::Connect"; + uVar12 = (ulonglong)uVar6; + FUN_140044300(param_1,uVar12,L"Proud::CFastSocket::Connect",param_4); + if (((piVar14 != (int *)0x0) && (piVar14 != (int *)PTR_DAT_14016f008)) && + (piVar14 + -2 != (int *)0x0)) { + piVar9 = (int *)FUN_14003e7c0(param_1,uVar12,pwVar17,param_4); + local_108 = piVar9; + FUN_14003d040(piVar9); + local_100 = 1; + piVar7 = piVar14 + -1; + *piVar7 = *piVar7 + -1; + if (*piVar7 == 0) { + FUN_14003e8b0(piVar14 + -2); + } + FUN_14003d0d0((longlong)piVar9); + } + FUN_140002190(param_2,uVar12,pwVar17,param_4); + return uVar6; + } + local_e8 = CONCAT44(*(undefined4 *)**(undefined8 **)(lVar8 + 0x18),(undefined4)local_e8); + } + uVar2 = Ordinal_9(param_3); + local_e8._0_4_ = CONCAT22(uVar2,(undefined2)local_e8); + uVar16 = 0x10; + puVar13 = &local_e8; + uVar15 = *(undefined8 *)(param_1 + 0x3d0); + iVar3 = Ordinal_4(); + if (iVar3 == -1) { + uVar6 = Ordinal_111(); + pwVar17 = L"Proud::CFastSocket::Connect"; + uVar12 = (ulonglong)uVar6; + FUN_140044300(param_1,uVar12,L"Proud::CFastSocket::Connect",param_4); + if (((piVar14 != (int *)0x0) && (piVar14 != (int *)PTR_DAT_14016f008)) && + (piVar14 + -2 != (int *)0x0)) { + piVar9 = (int *)FUN_14003e7c0(param_1,uVar12,pwVar17,param_4); + local_108 = piVar9; + FUN_14003d040(piVar9); + local_100 = 1; + piVar7 = piVar14 + -1; + *piVar7 = *piVar7 + -1; + if (*piVar7 == 0) { + FUN_14003e8b0(piVar14 + -2); + } + FUN_14003d0d0((longlong)piVar9); + } + FUN_140002190(param_2,uVar12,pwVar17,param_4); + } + else { + if (((piVar14 != (int *)0x0) && (piVar14 != (int *)PTR_DAT_14016f008)) && + (piVar14 + -2 != (int *)0x0)) { + piVar9 = (int *)FUN_14003e7c0(uVar15,puVar13,uVar16,param_4); + local_108 = piVar9; + FUN_14003d040(piVar9); + local_100 = 1; + piVar7 = piVar14 + -1; + *piVar7 = *piVar7 + -1; + if (*piVar7 == 0) { + FUN_14003e8b0(piVar14 + -2); + } + FUN_14003d0d0((longlong)piVar9); + } + FUN_140002190(param_2,puVar13,uVar16,param_4); + uVar6 = 0; + } + return uVar6; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140044880.c b/decomp/AgentManager_Release_x64/full/functions/0x140044880.c new file mode 100644 index 00000000..44655b0e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140044880.c @@ -0,0 +1,55 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140044880 FUN_140044880 + * Pseudocode, not original source. */ + +uint FUN_140044880(longlong param_1,undefined8 param_2,undefined **param_3,undefined8 param_4) + +{ + int iVar1; + uint uVar2; + undefined *puVar3; + undefined4 *puVar4; + undefined *local_res8; + undefined4 local_res10 [2]; + int local_18 [2]; + undefined8 local_10; + + if (*(char *)(param_1 + 0x1c0) != '\0') { + FUN_14003e7c0(param_1,param_2,param_3,param_4); + local_res8 = PTR_DAT_14016f010; + iVar1 = FUN_14003e620(L"WARNING: IssueRecv is duplicated!"); + puVar3 = FUN_140001ee0((longlong *)&local_res8,iVar1); + FUN_14003e650(puVar3,L"WARNING: IssueRecv is duplicated!",iVar1); + FUN_140001fc0((longlong *)&local_res8); + param_3 = &local_res8; + (**(code **)(**(longlong **)(param_1 + 0x18) + 8))(*(longlong **)(param_1 + 0x18),param_1); + } + iVar1 = (int)param_2; + if (iVar1 < 1) { + return 0x2726; + } + FUN_14002a050(param_1 + 0x200,iVar1,(SIZE_T)param_3); + local_10 = 0; + if (*(int *)(param_1 + 0x218) != 0) { + local_10 = *(undefined8 *)(param_1 + 0x210); + } + *(undefined4 *)(param_1 + 0x304) = 0; + local_res10[0] = 0; + *(undefined1 *)(param_1 + 0x1c0) = 0; + puVar4 = local_res10; + *(undefined1 *)(param_1 + 0x1c0) = 1; + local_18[0] = iVar1; + iVar1 = WSARecv(*(undefined8 *)(param_1 + 0x3d0),local_18,1,puVar4,(undefined4 *)(param_1 + 0x304) + ,param_1 + 0x180,0); + if (iVar1 != 0) { + iVar1 = Ordinal_111(); + if (iVar1 != 0x3e5) { + *(undefined1 *)(param_1 + 0x1c0) = 0; + uVar2 = Ordinal_111(); + FUN_140044300(param_1,(ulonglong)uVar2,L"Proud::CFastSocket::IssueRecv",puVar4); + return uVar2; + } + } + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400449f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400449f0.c new file mode 100644 index 00000000..12486457 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400449f0.c @@ -0,0 +1,55 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400449f0 FUN_1400449f0 + * Pseudocode, not original source. */ + +uint FUN_1400449f0(longlong param_1,undefined8 param_2,undefined **param_3,undefined8 param_4) + +{ + int iVar1; + uint uVar2; + undefined *puVar3; + undefined4 *puVar4; + undefined *local_res8; + undefined4 local_res10 [2]; + int local_38 [2]; + undefined8 local_30; + + if (*(char *)(param_1 + 0x1c0) != '\0') { + FUN_14003e7c0(param_1,param_2,param_3,param_4); + local_res8 = PTR_DAT_14016f010; + iVar1 = FUN_14003e620(L"WARNING: IssueRecvFrom is duplicated!"); + puVar3 = FUN_140001ee0((longlong *)&local_res8,iVar1); + FUN_14003e650(puVar3,L"WARNING: IssueRecvFrom is duplicated!",iVar1); + FUN_140001fc0((longlong *)&local_res8); + param_3 = &local_res8; + (**(code **)(**(longlong **)(param_1 + 0x18) + 8))(*(longlong **)(param_1 + 0x18),param_1); + } + iVar1 = (int)param_2; + if (0 < iVar1) { + FUN_14002a050(param_1 + 0x200,iVar1,(SIZE_T)param_3); + local_30 = 0; + if (*(int *)(param_1 + 0x218) != 0) { + local_30 = *(undefined8 *)(param_1 + 0x210); + } + local_res10[0] = 0; + *(undefined4 *)(param_1 + 0x304) = 0; + local_38[0] = iVar1; + do { + *(undefined4 *)(param_1 + 0x300) = 0x10; + *(undefined1 *)(param_1 + 0x1c0) = *(undefined1 *)(param_1 + 0x1c0); + puVar4 = local_res10; + *(undefined1 *)(param_1 + 0x1c0) = 1; + iVar1 = WSARecvFrom(*(undefined8 *)(param_1 + 0x3d0),local_38,1,puVar4, + (undefined4 *)(param_1 + 0x304),param_1 + 0x2f0, + (undefined4 *)(param_1 + 0x300),param_1 + 0x180,0); + if ((iVar1 == 0) || (uVar2 = Ordinal_111(), uVar2 == 0x3e5)) { + return 0; + } + } while (((uVar2 == 0x2738) || (uVar2 == 0x2744)) || (uVar2 == 0x2746)); + *(undefined1 *)(param_1 + 0x1c0) = 0; + FUN_140044300(param_1,(ulonglong)uVar2,L"Proud::CFastSocket::IssueRecvFrom",puVar4); + return uVar2; + } + return 0x2726; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140044bb0.c b/decomp/AgentManager_Release_x64/full/functions/0x140044bb0.c new file mode 100644 index 00000000..d33c7094 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140044bb0.c @@ -0,0 +1,88 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140044bb0 FUN_140044bb0 + * Pseudocode, not original source. */ + +uint FUN_140044bb0(longlong param_1,undefined8 *param_2,undefined **param_3,undefined8 param_4) + +{ + undefined1 uVar1; + undefined8 uVar2; + int iVar3; + int iVar4; + uint uVar5; + undefined *puVar6; + undefined8 *_Dst; + ulonglong uVar7; + ulonglong uVar8; + undefined8 *puVar9; + undefined4 *puVar10; + undefined *local_res8; + undefined4 local_res18 [4]; + uint local_28 [2]; + undefined8 local_20; + + uVar5 = (uint)param_3; + uVar8 = (ulonglong)(int)uVar5; + if (*(char *)(param_1 + 0x280) != '\0') { + FUN_14003e7c0(param_1,param_2,param_3,param_4); + local_res8 = PTR_DAT_14016f010; + iVar3 = FUN_14003e620(L"WARNING: IssueSend is duplicated!"); + puVar6 = FUN_140001ee0((longlong *)&local_res8,iVar3); + FUN_14003e650(puVar6,L"WARNING: IssueSend is duplicated!",iVar3); + FUN_140001fc0((longlong *)&local_res8); + param_3 = &local_res8; + (**(code **)(**(longlong **)(param_1 + 0x18) + 8))(*(longlong **)(param_1 + 0x18),param_1); + } + if ((int)uVar5 < 1) { + return 0x2726; + } + FUN_14002a050(param_1 + 0x2c0,uVar5,(SIZE_T)param_3); + if (*(int *)(param_1 + 0x2d8) == 0) { + _Dst = (undefined8 *)0x0; + } + else { + _Dst = *(undefined8 **)(param_1 + 0x2d0); + } + if (uVar8 < 0x21) { + uVar7 = (ulonglong)(uVar5 & 7); + for (uVar8 = uVar8 >> 3; uVar8 != 0; uVar8 = uVar8 - 1) { + uVar2 = *param_2; + param_2 = param_2 + 1; + *_Dst = uVar2; + _Dst = _Dst + 1; + } + if (uVar7 != 0) { + puVar9 = param_2; + do { + uVar1 = *(undefined1 *)puVar9; + puVar9 = (undefined8 *)((longlong)puVar9 + 1); + uVar7 = uVar7 - 1; + *(undefined1 *)((longlong)_Dst + (-1 - (longlong)param_2) + (longlong)puVar9) = uVar1; + } while (uVar7 != 0); + } + } + else { + memcpy(_Dst,param_2,uVar8); + } + if (*(int *)(param_1 + 0x2d8) == 0) { + local_20 = 0; + } + else { + local_20 = *(undefined8 *)(param_1 + 0x2d0); + } + local_res18[0] = 0; + *(undefined1 *)(param_1 + 0x280) = 0; + puVar10 = local_res18; + *(undefined1 *)(param_1 + 0x280) = 1; + local_28[0] = uVar5; + iVar3 = WSASend(*(undefined8 *)(param_1 + 0x3d0),local_28,1,puVar10,0,param_1 + 0x240,0); + if ((iVar3 < 0) && (iVar4 = Ordinal_111(), iVar4 != 0x3e5)) { + *(undefined1 *)(param_1 + 0x280) = 0; + uVar5 = Ordinal_111(); + FUN_140044300(param_1,(ulonglong)uVar5,L"Proud::CFastSocket::IssueSend",puVar10); + return uVar5; + } + *(bool *)(param_1 + 0x3c2) = iVar3 == 0; + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140044d90.c b/decomp/AgentManager_Release_x64/full/functions/0x140044d90.c new file mode 100644 index 00000000..70266554 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140044d90.c @@ -0,0 +1,81 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140044d90 FUN_140044d90 + * Pseudocode, not original source. */ + +uint FUN_140044d90(longlong param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong lVar1; + int iVar2; + int iVar3; + undefined *puVar4; + longlong *plVar5; + ulonglong uVar6; + uint uVar7; + ulonglong uVar8; + uint uVar9; + ulonglong uVar10; + undefined4 *puVar11; + undefined4 local_res8 [2]; + undefined *local_res10; + + if (*(char *)(param_1 + 0x280) != '\0') { + FUN_14003e7c0(param_1,param_2,param_3,param_4); + local_res10 = PTR_DAT_14016f010; + iVar2 = FUN_14003e620(L"WARNING: IssueSend is duplicated!"); + puVar4 = FUN_140001ee0((longlong *)&local_res10,iVar2); + FUN_14003e650(puVar4,L"WARNING: IssueSend is duplicated!",iVar2); + FUN_140001fc0((longlong *)&local_res10); + (**(code **)(**(longlong **)(param_1 + 0x18) + 8)) + (*(longlong **)(param_1 + 0x18),param_1,&local_res10); + } + lVar1 = param_2[1]; + uVar6 = 0; + uVar8 = uVar6; + uVar10 = uVar6; + if (0 < lVar1) { + do { + if (((longlong)uVar6 < 0) || (lVar1 <= (longlong)uVar6)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if ((ulonglong)param_2[2] < 0x65) { + plVar5 = param_2 + (uVar6 + 2) * 2; + } + else { + plVar5 = (longlong *)(uVar6 * 0x10 + *param_2); + } + uVar9 = (int)uVar10 + (int)*plVar5; + uVar7 = (int)uVar8 + 1; + uVar6 = (ulonglong)(int)uVar7; + uVar8 = (ulonglong)uVar7; + uVar10 = (ulonglong)uVar9; + } while ((longlong)uVar6 < lVar1); + if (0 < (int)uVar9) { + local_res8[0] = 0; + *(undefined1 *)(param_1 + 0x280) = 0; + *(undefined1 *)(param_1 + 0x280) = 1; + if (0xffffffff < param_2[1] + 0x80000000U) { + /* WARNING: Subroutine does not return */ + FUN_14003df20(L"Proud::CFastSocket::IssueSend_NoCopy",0xffffffff,(ulonglong)uVar9,0); + } + plVar5 = param_2 + 4; + if (100 < (ulonglong)param_2[2]) { + plVar5 = (longlong *)*param_2; + } + puVar11 = local_res8; + iVar2 = WSASend(*(undefined8 *)(param_1 + 0x3d0),plVar5,param_2[1] & 0xffffffff,puVar11,0, + param_1 + 0x240,0); + if ((iVar2 < 0) && (iVar3 = Ordinal_111(), iVar3 != 0x3e5)) { + *(undefined1 *)(param_1 + 0x280) = 0; + uVar7 = Ordinal_111(); + FUN_140044300(param_1,(ulonglong)uVar7,L"Proud::CFastSocket::IssueSend_NoCopy",puVar11); + return uVar7; + } + *(bool *)(param_1 + 0x3c2) = iVar2 == 0; + return 0; + } + } + return 0x2726; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140044f60.c b/decomp/AgentManager_Release_x64/full/functions/0x140044f60.c new file mode 100644 index 00000000..e4fb4e8a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140044f60.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140044f60 FUN_140044f60 + * Pseudocode, not original source. */ + +void FUN_140044f60(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + int iVar1; + uint uVar2; + + iVar1 = Ordinal_13(*(undefined8 *)(param_1 + 0x3d0),0x7fffffff); + if (iVar1 != 0) { + uVar2 = Ordinal_111(); + FUN_140044300(param_1,(ulonglong)uVar2,L"Proud::CFastSocket::Listen",param_4); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140044fa0.c b/decomp/AgentManager_Release_x64/full/functions/0x140044fa0.c new file mode 100644 index 00000000..3e2ce16b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140044fa0.c @@ -0,0 +1,23 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140044fa0 FUN_140044fa0 + * Pseudocode, not original source. */ + +ulonglong FUN_140044fa0(longlong param_1,undefined4 param_2) + +{ + uint uVar1; + ulonglong uVar2; + undefined4 *puVar3; + undefined4 local_res10 [6]; + + puVar3 = local_res10; + local_res10[0] = param_2; + uVar2 = Ordinal_21(*(undefined8 *)(param_1 + 0x3d0),0xffff,0x1001,puVar3,4); + if ((int)uVar2 != 0) { + uVar1 = Ordinal_111(); + FUN_140044300(param_1,(ulonglong)uVar1,L"Proud::CFastSocket::SetSendBufferSize",puVar3); + uVar2 = uVar2 & 0xffffffff; + } + return uVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140045000.c b/decomp/AgentManager_Release_x64/full/functions/0x140045000.c new file mode 100644 index 00000000..6b2bddc7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140045000.c @@ -0,0 +1,23 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140045000 FUN_140045000 + * Pseudocode, not original source. */ + +ulonglong FUN_140045000(longlong param_1,undefined4 param_2) + +{ + uint uVar1; + ulonglong uVar2; + undefined4 *puVar3; + undefined4 local_res10 [6]; + + puVar3 = local_res10; + local_res10[0] = param_2; + uVar2 = Ordinal_21(*(undefined8 *)(param_1 + 0x3d0),0xffff,0x1002,puVar3,4); + if ((int)uVar2 != 0) { + uVar1 = Ordinal_111(); + FUN_140044300(param_1,(ulonglong)uVar1,L"Proud::CFastSocket::SetRecvBufferSize",puVar3); + uVar2 = uVar2 & 0xffffffff; + } + return uVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140045060.c b/decomp/AgentManager_Release_x64/full/functions/0x140045060.c new file mode 100644 index 00000000..06abc0dc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140045060.c @@ -0,0 +1,51 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140045060 FUN_140045060 + * Pseudocode, not original source. */ + +uint FUN_140045060(longlong param_1,longlong param_2,undefined **param_3,undefined8 param_4) + +{ + int iVar1; + uint uVar2; + undefined *puVar3; + undefined8 uVar4; + undefined8 uVar5; + undefined *local_res8; + + if (*(char *)(param_1 + 0x100) != '\0') { + FUN_14003e7c0(param_1,param_2,param_3,param_4); + local_res8 = PTR_DAT_14016f010; + iVar1 = FUN_14003e620(L"WARNING: AcceptEx is duplicated!"); + puVar3 = FUN_140001ee0((longlong *)&local_res8,iVar1); + FUN_14003e650(puVar3,L"WARNING: AcceptEx is duplicated!",iVar1); + FUN_140001fc0((longlong *)&local_res8); + param_3 = &local_res8; + (**(code **)(**(longlong **)(param_1 + 0x18) + 8))(*(longlong **)(param_1 + 0x18),param_1); + } + if (DAT_140176400 == (code *)0x0) { + FUN_140043190(param_1); + } + *(undefined1 *)(param_1 + 0x100) = 0; + FUN_14002a050(param_1 + 0x140,0x40,(SIZE_T)param_3); + *(undefined1 *)(param_1 + 0x100) = 1; + if (*(int *)(param_1 + 0x158) == 0) { + uVar4 = 0; + } + else { + uVar4 = *(undefined8 *)(param_1 + 0x150); + } + uVar5 = 0; + iVar1 = (*DAT_140176400)(*(undefined8 *)(param_1 + 0x3d0),*(undefined8 *)(param_2 + 0x3d0),uVar4,0 + ,0x20,0x20,param_1 + 0x168,param_1 + 0xc0); + if (iVar1 == 0) { + uVar2 = Ordinal_111(); + if (((uVar2 != 0x2733) && (uVar2 != 0x3e5)) && + ((*(char *)(param_1 + 0x314) == '\0' || (uVar2 != 0x2736)))) { + *(undefined1 *)(param_1 + 0x100) = 0; + FUN_140044300(param_1,(ulonglong)uVar2,L"Proud::CFastSocket::AcceptEx",uVar5); + return uVar2; + } + } + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400451d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400451d0.c new file mode 100644 index 00000000..59a7149a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400451d0.c @@ -0,0 +1,24 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400451d0 FUN_1400451d0 + * Pseudocode, not original source. */ + +uint FUN_1400451d0(longlong param_1,char param_2) + +{ + int iVar1; + uint uVar2; + uint *puVar3; + uint local_res10 [6]; + + puVar3 = local_res10; + local_res10[0] = (uint)(param_2 != '\0'); + iVar1 = Ordinal_21(*(undefined8 *)(param_1 + 0x3d0),0xffff,0x20,puVar3,4); + if (iVar1 != 0) { + uVar2 = Ordinal_111(); + FUN_140044300(param_1,(ulonglong)uVar2,L"Proud::CFastSocket::EnableBroadcastOption",puVar3); + return uVar2; + } + *(char *)(param_1 + 0x20) = param_2; + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140045250.c b/decomp/AgentManager_Release_x64/full/functions/0x140045250.c new file mode 100644 index 00000000..e1cb6a6c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140045250.c @@ -0,0 +1,53 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140045250 FUN_140045250 + * Pseudocode, not original source. */ + +int FUN_140045250(longlong param_1,undefined4 param_2) + +{ + int iVar1; + int iVar2; + undefined *puVar3; + undefined8 uVar4; + undefined8 uVar5; + wchar_t *pwVar6; + undefined8 uVar7; + undefined4 *puVar8; + undefined4 local_res18 [2]; + undefined *local_res20; + + uVar5 = 0; + uVar4 = *(undefined8 *)(param_1 + 0x3d0); + puVar8 = local_res18; + uVar7 = 4; + iVar1 = Ordinal_7(); + if (iVar1 == 0) { + uVar4 = *(undefined8 *)(param_1 + 0x3d0); + uVar5 = 0; + uVar7 = 4; + puVar8 = local_res18; + local_res18[0] = param_2; + iVar1 = Ordinal_21(); + if (iVar1 == 0) { + return 0; + } + FUN_14003e7c0(uVar4,uVar5,uVar7,puVar8); + local_res20 = PTR_DAT_14016f010; + iVar2 = FUN_14003e620(L"Cannot change TTL!"); + puVar3 = FUN_140001ee0((longlong *)&local_res20,iVar2); + pwVar6 = L"Cannot change TTL!"; + } + else { + FUN_14003e7c0(uVar4,uVar5,uVar7,puVar8); + local_res20 = PTR_DAT_14016f010; + iVar2 = FUN_14003e620(L"This socket doesn\'t support TTL change!"); + puVar3 = FUN_140001ee0((longlong *)&local_res20,iVar2); + pwVar6 = L"This socket doesn\'t support TTL change!"; + } + FUN_14003e650(puVar3,pwVar6,iVar2); + FUN_140001fc0((longlong *)&local_res20); + (**(code **)(**(longlong **)(param_1 + 0x18) + 8)) + (*(longlong **)(param_1 + 0x18),param_1,&local_res20); + return iVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140045350.c b/decomp/AgentManager_Release_x64/full/functions/0x140045350.c new file mode 100644 index 00000000..b3e47ae8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140045350.c @@ -0,0 +1,49 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140045350 FUN_140045350 + * Pseudocode, not original source. */ + +ulonglong FUN_140045350(longlong param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + ushort uVar1; + int iVar2; + undefined *puVar3; + ulonglong uVar4; + wchar_t *pwVar5; + undefined *local_res10 [3]; + + iVar2 = *(int *)(param_2 + 8); + if (iVar2 == -1) { + FUN_14003e7c0(param_1,param_2,param_3,param_4); + local_res10[0] = PTR_DAT_14016f010; + iVar2 = FUN_14003e620(L"Sending to 255.255.255.255 is not permitted!"); + puVar3 = FUN_140001ee0((longlong *)local_res10,iVar2); + pwVar5 = L"Sending to 255.255.255.255 is not permitted!"; + } + else { + uVar1 = *(ushort *)(param_2 + 0xc); + if ((uVar1 == 0xffff) || (uVar1 == 0)) { + FUN_14003e7c0((ulonglong)uVar1,0xffff,param_3,param_4); + local_res10[0] = PTR_DAT_14016f010; + iVar2 = FUN_14003e620(L"Sending to prohibited port is not permitted!"); + puVar3 = FUN_140001ee0((longlong *)local_res10,iVar2); + pwVar5 = L"Sending to prohibited port is not permitted!"; + } + else { + if (iVar2 != 0) { + return CONCAT71((uint7)(uint3)((uint)iVar2 >> 8),1); + } + FUN_14003e7c0((ulonglong)uVar1,0xffff,param_3,param_4); + local_res10[0] = PTR_DAT_14016f010; + iVar2 = FUN_14003e620(L"Sending to 0.0.0.0 is not permitted!"); + puVar3 = FUN_140001ee0((longlong *)local_res10,iVar2); + pwVar5 = L"Sending to 0.0.0.0 is not permitted!"; + } + } + FUN_14003e650(puVar3,pwVar5,iVar2); + FUN_140001fc0((longlong *)local_res10); + uVar4 = (**(code **)(**(longlong **)(param_1 + 0x18) + 8)) + (*(longlong **)(param_1 + 0x18),param_1,local_res10); + return uVar4 & 0xffffffffffffff00; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140045460.c b/decomp/AgentManager_Release_x64/full/functions/0x140045460.c new file mode 100644 index 00000000..eb7fc733 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140045460.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140045460 FUN_140045460 + * Pseudocode, not original source. */ + +ulonglong FUN_140045460(longlong param_1,undefined8 param_2) + +{ + int iVar1; + ulonglong uVar2; + undefined *puVar3; + undefined8 uVar4; + undefined8 uVar5; + undefined8 uVar6; + undefined *local_res18; + + uVar5 = 0; + uVar4 = *(undefined8 *)(param_1 + 0x3d0); + uVar6 = 4; + uVar2 = Ordinal_7(); + if ((int)uVar2 != 0) { + FUN_14003e7c0(uVar4,uVar5,uVar6,param_2); + local_res18 = PTR_DAT_14016f010; + iVar1 = FUN_14003e620(L"This socket doesn\'t support TTL change!"); + puVar3 = FUN_140001ee0((longlong *)&local_res18,iVar1); + FUN_14003e650(puVar3,L"This socket doesn\'t support TTL change!",iVar1); + FUN_140001fc0((longlong *)&local_res18); + (**(code **)(**(longlong **)(param_1 + 0x18) + 8)) + (*(longlong **)(param_1 + 0x18),param_1,&local_res18); + uVar2 = uVar2 & 0xffffffff; + } + return uVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140045510.c b/decomp/AgentManager_Release_x64/full/functions/0x140045510.c new file mode 100644 index 00000000..e599e960 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140045510.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140045510 FUN_140045510 + * Pseudocode, not original source. */ + +void FUN_140045510(longlong param_1) + +{ + if (*(char *)(param_1 + 0x30c) != '\0') { + *(undefined1 *)(param_1 + 0x30c) = 0; + FUN_140045250(param_1,*(undefined4 *)(param_1 + 0x308)); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140045540.c b/decomp/AgentManager_Release_x64/full/functions/0x140045540.c new file mode 100644 index 00000000..78d7d700 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140045540.c @@ -0,0 +1,20 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140045540 FUN_140045540 + * Pseudocode, not original source. */ + +uint FUN_140045540(longlong param_1,undefined2 param_2,undefined8 param_3,undefined8 param_4) + +{ + bool bVar1; + undefined3 extraout_var; + uint uVar2; + + bVar1 = FUN_1400468f0(*(undefined8 *)(param_1 + 0x3d0),0,param_2); + if (!bVar1) { + uVar2 = Ordinal_111(); + uVar2 = FUN_140044300(param_1,(ulonglong)uVar2,L"Proud::CFastSocket::Bind",param_4); + return uVar2 & 0xffffff00; + } + return CONCAT31(extraout_var,1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140045590.c b/decomp/AgentManager_Release_x64/full/functions/0x140045590.c new file mode 100644 index 00000000..45a28b9f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140045590.c @@ -0,0 +1,37 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140045590 FUN_140045590 + * Pseudocode, not original source. */ + +ulonglong FUN_140045590(longlong param_1,char *param_2,undefined2 param_3,undefined8 param_4) + +{ + char cVar1; + bool bVar2; + uint uVar3; + undefined7 extraout_var; + ulonglong uVar4; + longlong lVar5; + char *pcVar6; + + if (param_2 != (char *)0x0) { + lVar5 = -1; + pcVar6 = param_2; + do { + if (lVar5 == 0) break; + lVar5 = lVar5 + -1; + cVar1 = *pcVar6; + pcVar6 = pcVar6 + 1; + } while (cVar1 != '\0'); + if (lVar5 != -2) goto LAB_1400455bd; + } + param_2 = (char *)0x0; +LAB_1400455bd: + bVar2 = FUN_1400468f0(*(undefined8 *)(param_1 + 0x3d0),(longlong)param_2,param_3); + if (!bVar2) { + uVar3 = Ordinal_111(); + uVar4 = FUN_140044300(param_1,(ulonglong)uVar3,L"Proud::CFastSocket::Bind",param_4); + return uVar4 & 0xffffffffffffff00; + } + return CONCAT71(extraout_var,1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140045600.c b/decomp/AgentManager_Release_x64/full/functions/0x140045600.c new file mode 100644 index 00000000..2d38a1b0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140045600.c @@ -0,0 +1,21 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140045600 FUN_140045600 + * Pseudocode, not original source. */ + +uint FUN_140045600(longlong param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + bool bVar1; + undefined3 extraout_var; + uint uVar2; + + bVar1 = FUN_140046880(*(undefined8 *)(param_1 + 0x3d0),*(undefined4 *)(param_2 + 8), + *(undefined2 *)(param_2 + 0xc)); + if (!bVar1) { + uVar2 = Ordinal_111(); + uVar2 = FUN_140044300(param_1,(ulonglong)uVar2,L"Proud::CFastSocket::Bind",param_4); + return uVar2 & 0xffffff00; + } + return CONCAT31(extraout_var,1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140045650.c b/decomp/AgentManager_Release_x64/full/functions/0x140045650.c new file mode 100644 index 00000000..581a3f93 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140045650.c @@ -0,0 +1,113 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140045650 FUN_140045650 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +uint FUN_140045650(longlong param_1,longlong *param_2,longlong param_3,undefined8 param_4) + +{ + longlong lVar1; + int iVar2; + undefined *puVar3; + longlong *plVar4; + ulonglong uVar5; + ulonglong uVar6; + uint uVar7; + uint uVar8; + undefined8 uVar10; + undefined4 *puVar11; + undefined1 auStack_b8 [32]; + undefined4 local_98; + undefined2 *local_90; + undefined4 local_88; + longlong local_80; + undefined8 local_78; + undefined *local_68; + undefined4 local_60; + undefined4 local_5c; + undefined **local_58; + undefined4 local_50; + undefined2 local_4c; + undefined2 local_48 [8]; + ulonglong local_38; + ulonglong uVar9; + + local_38 = DAT_14016f5a0 ^ (ulonglong)auStack_b8; + uVar10 = param_4; + if (*(char *)(param_1 + 0x280) != '\0') { + FUN_14003e7c0(param_1,param_2,param_3,param_4); + local_68 = PTR_DAT_14016f010; + iVar2 = FUN_14003e620(L"WARNING: IssueSendTo is duplicated!"); + puVar3 = FUN_140001ee0((longlong *)&local_68,iVar2); + FUN_14003e650(puVar3,L"WARNING: IssueSendTo is duplicated!",iVar2); + FUN_140001fc0((longlong *)&local_68); + (**(code **)(**(longlong **)(param_1 + 0x18) + 8)) + (*(longlong **)(param_1 + 0x18),param_1,&local_68); + } + lVar1 = param_2[1]; + uVar5 = 0; + uVar6 = uVar5; + uVar9 = uVar5; + if (0 < lVar1) { + do { + if (((longlong)uVar5 < 0) || (lVar1 <= (longlong)uVar5)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if ((ulonglong)param_2[2] < 0x65) { + plVar4 = param_2 + (uVar5 + 2) * 2; + } + else { + plVar4 = (longlong *)(uVar5 * 0x10 + *param_2); + } + uVar8 = (int)uVar9 + (int)*plVar4; + uVar9 = (ulonglong)uVar8; + uVar7 = (int)uVar6 + 1; + uVar5 = (ulonglong)(int)uVar7; + uVar6 = (ulonglong)uVar7; + } while ((longlong)uVar5 < lVar1); + if (0 < (int)uVar8) { + FUN_1400417e0(param_3,local_48); + local_58 = Proud::AddrPort::vftable; + local_50 = *(undefined4 *)(param_3 + 8); + local_4c = *(undefined2 *)(param_3 + 0xc); + local_5c = 0; + uVar6 = FUN_140045350(param_1,(longlong)&local_58,uVar9,uVar10); + if ((char)uVar6 == '\0') { + return 0x271d; + } + if (((-1 < (int)param_4) && (uVar6 = FUN_140045460(param_1,&local_60), (int)uVar6 == 0)) && + (iVar2 = FUN_140045250(param_1,(int)param_4), iVar2 == 0)) { + *(undefined1 *)(param_1 + 0x30c) = 1; + *(undefined4 *)(param_1 + 0x308) = local_60; + } + *(undefined1 *)(param_1 + 0x280) = 0; + *(undefined1 *)(param_1 + 0x280) = 1; + if (param_2[1] + 0x80000000U < 0x100000000) { + plVar4 = param_2 + 4; + if (100 < (ulonglong)param_2[2]) { + plVar4 = (longlong *)*param_2; + } + local_78 = 0; + local_80 = param_1 + 0x240; + local_90 = local_48; + local_88 = 0x10; + puVar11 = &local_5c; + local_98 = 0; + iVar2 = WSASendTo(*(undefined8 *)(param_1 + 0x3d0),plVar4,param_2[1] & 0xffffffff); + if ((iVar2 != 0) && (uVar7 = Ordinal_111(), uVar7 != 0x3e5)) { + *(undefined1 *)(param_1 + 0x280) = 0; + FUN_140044300(param_1,(ulonglong)uVar7,L"Proud::CFastSocket::IssueSendTo_NoCopy_TempTtl", + puVar11); + return uVar7; + } + return 0; + } + /* WARNING: Subroutine does not return */ + FUN_14003df20(L"Proud::CFastSocket::IssueSendTo_NoCopy_TempTtl",0xffffffff,uVar9,uVar10); + } + } + return 0x2726; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140045890.c b/decomp/AgentManager_Release_x64/full/functions/0x140045890.c new file mode 100644 index 00000000..638c1697 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140045890.c @@ -0,0 +1,121 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140045890 FUN_140045890 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +uint FUN_140045890(longlong param_1,undefined8 *param_2,undefined **param_3,longlong param_4) + +{ + undefined1 uVar1; + undefined8 uVar2; + int iVar3; + uint uVar4; + undefined *puVar5; + undefined8 *_Dst; + ulonglong uVar6; + ulonglong uVar7; + undefined8 *puVar8; + longlong lVar9; + undefined4 *puVar10; + undefined1 auStack_c8 [32]; + undefined4 local_a8; + undefined2 *local_a0; + undefined4 local_98; + longlong local_90; + undefined8 local_88; + undefined4 local_78 [2]; + undefined *local_70; + undefined **local_68; + undefined4 local_60; + undefined2 local_5c; + uint local_58 [2]; + undefined8 local_50; + undefined2 local_48 [8]; + ulonglong local_38; + + local_38 = DAT_14016f5a0 ^ (ulonglong)auStack_c8; + uVar4 = (uint)param_3; + uVar7 = (ulonglong)(int)uVar4; + lVar9 = param_4; + if (*(char *)(param_1 + 0x280) != '\0') { + FUN_14003e7c0(param_1,param_2,param_3,param_4); + local_70 = PTR_DAT_14016f010; + iVar3 = FUN_14003e620(L"WARNING: IssueSendTo is duplicated!"); + puVar5 = FUN_140001ee0((longlong *)&local_70,iVar3); + FUN_14003e650(puVar5,L"WARNING: IssueSendTo is duplicated!",iVar3); + FUN_140001fc0((longlong *)&local_70); + param_3 = &local_70; + (**(code **)(**(longlong **)(param_1 + 0x18) + 8))(*(longlong **)(param_1 + 0x18),param_1); + } + if ((int)uVar4 < 1) { + uVar4 = 0x2726; + } + else { + FUN_14002a050(param_1 + 0x2c0,uVar4,(SIZE_T)param_3); + if (*(int *)(param_1 + 0x2d8) == 0) { + _Dst = (undefined8 *)0x0; + } + else { + _Dst = *(undefined8 **)(param_1 + 0x2d0); + } + if (uVar7 < 0x21) { + uVar6 = (ulonglong)(uVar4 & 7); + for (uVar7 = uVar7 >> 3; uVar7 != 0; uVar7 = uVar7 - 1) { + uVar2 = *param_2; + param_2 = param_2 + 1; + *_Dst = uVar2; + _Dst = _Dst + 1; + } + uVar7 = 0; + if (uVar6 != 0) { + puVar8 = param_2; + do { + uVar1 = *(undefined1 *)puVar8; + puVar8 = (undefined8 *)((longlong)puVar8 + 1); + uVar6 = uVar6 - 1; + *(undefined1 *)((longlong)_Dst + (-1 - (longlong)param_2) + (longlong)puVar8) = uVar1; + } while (uVar6 != 0); + } + } + else { + memcpy(_Dst,param_2,uVar7); + } + if (*(int *)(param_1 + 0x2d8) == 0) { + local_50 = 0; + } + else { + local_50 = *(undefined8 *)(param_1 + 0x2d0); + } + local_58[0] = uVar4; + FUN_1400417e0(param_4,local_48); + local_68 = Proud::AddrPort::vftable; + local_60 = *(undefined4 *)(param_4 + 8); + local_5c = *(undefined2 *)(param_4 + 0xc); + local_78[0] = 0; + uVar7 = FUN_140045350(param_1,(longlong)&local_68,uVar7,lVar9); + if ((char)uVar7 == '\0') { + uVar4 = 0x271d; + } + else { + local_88 = 0; + *(undefined1 *)(param_1 + 0x280) = 0; + local_90 = param_1 + 0x240; + puVar10 = local_78; + local_a0 = local_48; + local_98 = 0x10; + *(undefined1 *)(param_1 + 0x280) = 1; + local_a8 = 0; + iVar3 = WSASendTo(*(undefined8 *)(param_1 + 0x3d0),local_58,1); + if ((iVar3 == 0) || (uVar4 = Ordinal_111(), uVar4 == 0x3e5)) { + uVar4 = 0; + } + else { + *(undefined1 *)(param_1 + 0x280) = 0; + FUN_140044300(param_1,(ulonglong)uVar4,L"Proud::CFastSocket::IssueSendTo",puVar10); + } + } + } + return uVar4; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140045ad0.c b/decomp/AgentManager_Release_x64/full/functions/0x140045ad0.c new file mode 100644 index 00000000..507084f6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140045ad0.c @@ -0,0 +1,20 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140045ad0 FUN_140045ad0 + * Pseudocode, not original source. */ + +uint FUN_140045ad0(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + bool bVar1; + undefined3 extraout_var; + uint uVar2; + + bVar1 = FUN_1400468f0(*(undefined8 *)(param_1 + 0x3d0),0,0); + if (!bVar1) { + uVar2 = Ordinal_111(); + uVar2 = FUN_140044300(param_1,(ulonglong)uVar2,L"Proud::CFastSocket::Bind",param_4); + return uVar2 & 0xffffff00; + } + return CONCAT31(extraout_var,1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140045b20.c b/decomp/AgentManager_Release_x64/full/functions/0x140045b20.c new file mode 100644 index 00000000..dca004f7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140045b20.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140045b20 FUN_140045b20 + * Pseudocode, not original source. */ + +undefined8 * FUN_140045b20(undefined8 *param_1,undefined8 param_2,undefined8 param_3) + +{ + FUN_140048730(param_1 + 4,1,1); + param_1[2] = param_2; + param_1[3] = param_3; + *param_1 = 0xffffffffffffffff; + *(undefined4 *)(param_1 + 1) = 0; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140045b80.c b/decomp/AgentManager_Release_x64/full/functions/0x140045b80.c new file mode 100644 index 00000000..352df8b9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140045b80.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140045b80 FUN_140045b80 + * Pseudocode, not original source. */ + +undefined8 FUN_140045b80(longlong param_1) + +{ + (**(code **)(param_1 + 0x10))(*(undefined8 *)(param_1 + 0x18)); + SetEvent(*(HANDLE *)(param_1 + 0x20)); + return 0x14d; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140045bb0.c b/decomp/AgentManager_Release_x64/full/functions/0x140045bb0.c new file mode 100644 index 00000000..7ffb3f31 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140045bb0.c @@ -0,0 +1,25 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140045bb0 FUN_140045bb0 + * Pseudocode, not original source. */ + +void FUN_140045bb0(undefined8 *param_1) + +{ + bool bVar1; + DWORD DVar2; + + if ((HANDLE)*param_1 != (HANDLE)0xffffffffffffffff) { + DVar2 = WaitForSingleObject((HANDLE)*param_1,1); + if (DVar2 == 0x102) { + bVar1 = FUN_140048620(param_1 + 4,0x32); + while ((!bVar1 && (DAT_140176450 == '\0'))) { + bVar1 = FUN_140048620(param_1 + 4,0x32); + } + } + CloseHandle((HANDLE)*param_1); + } + *(undefined4 *)(param_1 + 1) = 0; + *param_1 = 0xffffffffffffffff; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140045c30.c b/decomp/AgentManager_Release_x64/full/functions/0x140045c30.c new file mode 100644 index 00000000..493e8dbf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140045c30.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140045c30 FUN_140045c30 + * Pseudocode, not original source. */ + +void FUN_140045c30(undefined8 *param_1) + +{ + FUN_140045bb0(param_1); + FUN_1400486f0(param_1 + 4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140045c60.c b/decomp/AgentManager_Release_x64/full/functions/0x140045c60.c new file mode 100644 index 00000000..df522b69 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140045c60.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140045c60 FUN_140045c60 + * Pseudocode, not original source. */ + +MMRESULT * FUN_140045c60(MMRESULT *param_1,LPTIMECALLBACK param_2,UINT param_3) + +{ + MMRESULT MVar1; + + MVar1 = timeSetEvent(param_3,param_3 / 10,param_2,0,0x11); + *param_1 = MVar1; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140045ca0.c b/decomp/AgentManager_Release_x64/full/functions/0x140045ca0.c new file mode 100644 index 00000000..b0b60bde --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140045ca0.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140045ca0 FUN_140045ca0 + * Pseudocode, not original source. */ + +void FUN_140045ca0(UINT *param_1) + +{ + /* WARNING: Could not recover jumptable at 0x000140045ca2. Too many branches */ + /* WARNING: Treating indirect jump as call */ + timeKillEvent(*param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140045cc0.c b/decomp/AgentManager_Release_x64/full/functions/0x140045cc0.c new file mode 100644 index 00000000..9f517a85 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140045cc0.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140045cc0 FUN_140045cc0 + * Pseudocode, not original source. */ + +undefined8 * FUN_140045cc0(undefined8 *param_1) + +{ + RPC_STATUS RVar1; + UUID local_18; + + RVar1 = UuidCreate(&local_18); + if (RVar1 != 0) { + local_18.Data2 = 0; + local_18.Data3 = 0; + local_18.Data1 = 0; + local_18.Data4[0] = '\0'; + local_18.Data4[1] = '\0'; + local_18.Data4[2] = '\0'; + local_18.Data4[3] = '\0'; + local_18.Data4[4] = '\0'; + local_18.Data4[5] = '\0'; + local_18.Data4[6] = '\0'; + local_18.Data4[7] = '\0'; + } + *param_1 = CONCAT44(local_18._4_4_,local_18.Data1); + param_1[1] = CONCAT44(local_18.Data4._4_4_,local_18.Data4._0_4_); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140045d20.c b/decomp/AgentManager_Release_x64/full/functions/0x140045d20.c new file mode 100644 index 00000000..aa581821 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140045d20.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140045d20 FUN_140045d20 + * Pseudocode, not original source. */ + +void FUN_140045d20(longlong *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + HANDLE pvVar1; + exception local_58 [80]; + + if (*param_1 != -1) { + FUN_14003db10(local_58,L"Thread is already started!",param_3,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + ResetEvent((HANDLE)param_1[4]); + pvVar1 = CreateThread((LPSECURITY_ATTRIBUTES)0x0,0,FUN_140045b80,param_1,0,(LPDWORD)(param_1 + 1)) + ; + *param_1 = (longlong)pvVar1; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140045d90.c b/decomp/AgentManager_Release_x64/full/functions/0x140045d90.c new file mode 100644 index 00000000..2d9bf8bb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140045d90.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140045d90 FUN_140045d90 + * Pseudocode, not original source. */ + +undefined4 * FUN_140045d90(undefined4 *param_1) + +{ + FUN_14003d040((int *)&DAT_140176458); + FUN_1400487e0(0x140176490,param_1); + FUN_14003d0d0(0x140176458); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140045df0.c b/decomp/AgentManager_Release_x64/full/functions/0x140045df0.c new file mode 100644 index 00000000..018ec2d5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140045df0.c @@ -0,0 +1,46 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140045df0 FUN_140045df0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +ulonglong FUN_140045df0(ulong *param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + RPC_STATUS RVar1; + undefined4 extraout_var; + undefined4 extraout_var_00; + ulonglong uVar2; + undefined8 uVar3; + undefined1 auStack_168 [32]; + RPC_CSTR local_148; + undefined8 local_140; + UUID local_138; + short *local_128; + short local_120 [132]; + ulonglong local_18; + + local_140 = 0xfffffffffffffffe; + local_18 = DAT_14016f5a0 ^ (ulonglong)auStack_168; + local_138.Data1 = *param_1; + local_138._4_4_ = param_1[1]; + local_138.Data4._0_4_ = param_1[2]; + local_138.Data4._4_4_ = param_1[3]; + RVar1 = UuidToStringA(&local_138,&local_148); + if (RVar1 == 0) { + local_128 = local_120; + uVar3 = 3; + FUN_140005110((longlong *)&local_128,(LPCSTR)local_148,3); + FUN_140005dd0(param_2,local_128,uVar3,param_4); + if (local_128 != local_120) { + free(local_128); + } + RVar1 = RpcStringFreeA(&local_148); + uVar2 = CONCAT71((int7)(CONCAT44(extraout_var_00,RVar1) >> 8),1); + } + else { + uVar2 = CONCAT44(extraout_var,RVar1) & 0xffffffffffffff00; + } + return uVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140045ec0.c b/decomp/AgentManager_Release_x64/full/functions/0x140045ec0.c new file mode 100644 index 00000000..f55d961b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140045ec0.c @@ -0,0 +1,91 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140045ec0 FUN_140045ec0 + * Pseudocode, not original source. */ + +longlong * FUN_140045ec0(ulong *param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + int *piVar1; + undefined *puVar2; + uint uVar3; + ulonglong uVar4; + int *piVar5; + undefined *puVar6; + longlong *plVar7; + undefined **ppuVar8; + undefined *puVar9; + undefined *local_res20; + + FUN_14003e7c0(param_1,param_2,param_3,param_4); + local_res20 = PTR_DAT_14016f010; + ppuVar8 = &local_res20; + uVar4 = FUN_140045df0(param_1,(longlong *)ppuVar8,param_3,param_4); + if ((char)uVar4 == '\0') { + FUN_14003e7c0(param_1,ppuVar8,param_3,param_4); + *param_2 = (longlong)PTR_DAT_14016f010; + uVar3 = FUN_14003e620((short *)&DAT_140108158); + puVar6 = FUN_140001ee0(param_2,uVar3); + uVar4 = (ulonglong)uVar3; + puVar9 = &DAT_140108158; + FUN_14003e650(puVar6,&DAT_140108158,uVar3); + plVar7 = param_2; + FUN_140001fc0(param_2); + puVar6 = local_res20; + if (local_res20 == (undefined *)0x0) { + return param_2; + } + if (local_res20 == PTR_DAT_14016f010) { + return param_2; + } + puVar2 = local_res20 + -8; + if (puVar2 == (undefined *)0x0) { + return param_2; + } + piVar5 = (int *)FUN_14003e7c0(plVar7,puVar9,uVar4,param_4); + FUN_14003d040(piVar5); + piVar1 = (int *)(puVar6 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(puVar2); + } + } + else { + FUN_14003e7c0(param_1,ppuVar8,param_3,param_4); + puVar9 = local_res20; + puVar6 = PTR_DAT_14016f010; + *param_2 = (longlong)PTR_DAT_14016f010; + if (puVar6 == (undefined *)0x0) { + *param_2 = (longlong)PTR_DAT_14016f010; + } + if (local_res20 != (undefined *)*param_2) { + param_1 = (ulong *)FUN_14003e7c0(param_1,ppuVar8,param_3,param_4); + FUN_14003d040((int *)param_1); + FUN_140002190(param_2,ppuVar8,param_3,param_4); + *param_2 = (longlong)puVar9; + if (((puVar9 != PTR_DAT_14016f010) && (puVar9 != (undefined *)0x0)) && + (puVar9 != (undefined *)0x8)) { + *(int *)(puVar9 + -4) = *(int *)(puVar9 + -4) + 1; + } + FUN_14003d0d0((longlong)param_1); + } + if (puVar9 == (undefined *)0x0) { + return param_2; + } + if (puVar9 == PTR_DAT_14016f010) { + return param_2; + } + if (puVar9 + -8 == (undefined *)0x0) { + return param_2; + } + piVar5 = (int *)FUN_14003e7c0(param_1,ppuVar8,param_3,param_4); + FUN_14003d040(piVar5); + piVar1 = (int *)(puVar9 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(puVar9 + -8); + } + } + FUN_14003d0d0((longlong)piVar5); + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140046070.c b/decomp/AgentManager_Release_x64/full/functions/0x140046070.c new file mode 100644 index 00000000..8837dd8e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140046070.c @@ -0,0 +1,21 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140046070 FUN_140046070 + * Pseudocode, not original source. */ + +void FUN_140046070(undefined4 param_1,undefined8 param_2) + +{ + undefined4 local_28 [2]; + undefined8 local_20; + undefined4 local_18; + undefined4 local_14; + + Sleep(10); + local_28[0] = 0x1000; + local_14 = 0; + local_20 = param_2; + local_18 = param_1; + RaiseException(0x406d1388,0,3,(ULONG_PTR *)local_28); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400460d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400460d0.c new file mode 100644 index 00000000..64970b78 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400460d0.c @@ -0,0 +1,28 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400460d0 FUN_1400460d0 + * Pseudocode, not original source. */ + +undefined8 * +FUN_1400460d0(undefined8 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + ulonglong uVar1; + undefined1 uVar2; + undefined6 uVar3; + + uVar2 = (undefined1)((ulonglong)param_3 >> 8); + uVar3 = (undefined6)((ulonglong)param_3 >> 0x10); + uVar1 = FUN_140094860(); + FUN_14003cf60((undefined4 *)(param_1 + 0xe),uVar1 & 0xffffffff,CONCAT62(uVar3,CONCAT11(uVar2,1)), + param_4); + *param_1 = param_2; + param_1[0xd] = 0; + param_1[9] = 0; + param_1[10] = 0; + param_1[0xb] = 0; + *(undefined4 *)(param_1 + 8) = 2; + *(short *)(param_1 + 0xc) = (short)param_3; + *(undefined1 *)(param_1 + 0x15) = 0; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140046140.c b/decomp/AgentManager_Release_x64/full/functions/0x140046140.c new file mode 100644 index 00000000..1ba4e4e0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140046140.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140046140 FUN_140046140 + * Pseudocode, not original source. */ + +void FUN_140046140(longlong param_1) + +{ + /* WARNING: Could not recover jumptable at 0x000140046147. Too many branches */ + /* WARNING: Treating indirect jump as call */ + (**(code **)(**(longlong **)(param_1 + 8) + 0x18))(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140046150.c b/decomp/AgentManager_Release_x64/full/functions/0x140046150.c new file mode 100644 index 00000000..94079ad5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140046150.c @@ -0,0 +1,31 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140046150 FUN_140046150 + * Pseudocode, not original source. */ + +ulonglong FUN_140046150(longlong param_1) + +{ + int *piVar1; + int iVar2; + ulonglong uVar3; + int iVar4; + LPVOID pvVar5; + + if (*(int *)(param_1 + 0x14) == 0) { + return 0; + } + pvVar5 = TlsGetValue((DWORD)DAT_140176eb0); + iVar4 = DAT_140176ea8; + if (pvVar5 == (LPVOID)0x0) { + LOCK(); + piVar1 = (int *)(param_1 + 0x40); + iVar2 = *piVar1; + *piVar1 = *piVar1 + 1; + UNLOCK(); + uVar3 = (longlong)(iVar2 + 1) % (longlong)iVar4; + TlsSetValue((DWORD)DAT_140176eb0,(LPVOID)((longlong)(int)uVar3 + 1)); + return uVar3 & 0xffffffff; + } + return (longlong)pvVar5 - 1U & 0xffffffff; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400461d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400461d0.c new file mode 100644 index 00000000..ca5f81d9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400461d0.c @@ -0,0 +1,76 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400461d0 FUN_1400461d0 + * Pseudocode, not original source. */ + +undefined2 * FUN_1400461d0(longlong *param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong *plVar1; + longlong lVar2; + bool bVar3; + undefined2 *puVar4; + bool bVar5; + + if ((int)param_1[8] == 2) { + bVar5 = *(int *)(*param_1 + 0x14) != 0; + plVar1 = param_1 + 0xe; + if (bVar5) { + FUN_14003d040((int *)plVar1); + } + *(undefined1 *)(param_1 + 0x15) = 1; + if (((*(int *)(*param_1 + 0x14) == 0) && (lVar2 = *(longlong *)(*param_1 + 0x18), lVar2 != 0)) + && (bVar3 = FUN_14003d190(lVar2), !bVar3)) { + FUN_14003e110(L"Unsafe heap accessor with thread unsafety is detected!"); + } + if (param_2 != 0) { + if (param_1[0xd] == 0) { + param_1[0xd] = param_2; + } + else if (param_1[0xd] != param_2) { + *(undefined1 *)(param_1 + 0x15) = 0; + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + lVar2 = param_1[9]; + if (lVar2 == 0) { + puVar4 = (undefined2 *) + (**(code **)**(undefined8 **)(*param_1 + 8)) + (*(undefined8 **)(*param_1 + 8),param_2 + 0x20); + if (puVar4 != (undefined2 *)0x0) { + puVar4[0xc] = 0; + *(undefined8 *)(puVar4 + 8) = 0; + *puVar4 = 0x10e1; + } + *(longlong *)(puVar4 + 4) = param_1[0xd]; + puVar4[0xc] = (short)param_1[0xc]; + param_1[0xb] = param_1[0xb] + 1; + *(undefined1 *)(param_1 + 0x15) = 0; + if (!bVar5) { + return puVar4 + 0x10; + } + FUN_14003d0d0((longlong)plVar1); + return puVar4 + 0x10; + } + param_1[9] = *(longlong *)(lVar2 + 0x10); + *(undefined8 *)(lVar2 + 0x10) = 0; + *(short *)(lVar2 + 0x18) = (short)param_1[0xc]; + param_1[10] = param_1[10] + -1; + *(undefined1 *)(param_1 + 0x15) = 0; + if (!bVar5) { + return (undefined2 *)(lVar2 + 0x20); + } + FUN_14003d0d0((longlong)plVar1); + return (undefined2 *)(lVar2 + 0x20); + } + *(undefined1 *)(param_1 + 0x15) = 0; + if (bVar5) { + FUN_14003d0d0((longlong)plVar1); + } + } + else { + FUN_14003e110(L"CLookasideAllocator.Alloc() is called after the allocator is already disposed!") + ; + } + return (undefined2 *)0x0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140046360.c b/decomp/AgentManager_Release_x64/full/functions/0x140046360.c new file mode 100644 index 00000000..05ae3f2d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140046360.c @@ -0,0 +1,45 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140046360 FUN_140046360 + * Pseudocode, not original source. */ + +void FUN_140046360(longlong *param_1,longlong param_2) + +{ + longlong lVar1; + bool bVar2; + bool bVar3; + + if ((int)param_1[8] != 2) { + FUN_14003e110( + L"CLookasideAllocator.Free() is called after the allocator is already disposed! Doing Free before WinMain returns in highly recommended." + ); + } + bVar3 = *(int *)(*param_1 + 0x14) != 0; + if (bVar3) { + FUN_14003d040((int *)(param_1 + 0xe)); + } + *(undefined1 *)(param_1 + 0x15) = 1; + if ((*(int *)(*param_1 + 0x14) == 0) && (lVar1 = *(longlong *)(*param_1 + 0x18), lVar1 != 0)) { + bVar2 = FUN_14003d190(lVar1); + if (!bVar2) { + FUN_14003e110(L"Unsafe heap accessor with thread unsafety is detected!"); + } + } + if (*(longlong *)(param_2 + 0x10) == 0) { + *(longlong *)(param_2 + 0x10) = param_1[9]; + param_1[9] = param_2; + param_1[10] = param_1[10] + 1; + } + else { + FUN_14003e110( + L"Not a CLookasideAllocator or owner CFastHeap allocated block! Refer to technical notes for more help." + ); + *(undefined1 *)(param_1 + 0x15) = 0; + } + *(undefined1 *)(param_1 + 0x15) = 0; + if (bVar3) { + FUN_14003d0d0((longlong)(param_1 + 0xe)); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140046450.c b/decomp/AgentManager_Release_x64/full/functions/0x140046450.c new file mode 100644 index 00000000..dc2dd39c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140046450.c @@ -0,0 +1,26 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140046450 FUN_140046450 + * Pseudocode, not original source. */ + +void FUN_140046450(longlong *param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong *plVar1; + longlong lVar2; + + plVar1 = param_1 + 0xe; + FUN_14003d070((int *)plVar1); + *(undefined4 *)(param_1 + 8) = 3; + lVar2 = param_1[9]; + while (lVar2 != 0) { + param_2 = param_1[9]; + param_1[9] = *(longlong *)(param_2 + 0x10); + *(undefined8 *)(param_2 + 0x10) = 0; + (**(code **)(**(longlong **)(*param_1 + 8) + 0x10))(); + lVar2 = param_1[9]; + } + FUN_14003d0d0((longlong)plVar1); + FUN_14003d110((undefined4 *)plVar1,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400464f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400464f0.c new file mode 100644 index 00000000..7d4ef4a2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400464f0.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400464f0 FUN_1400464f0 + * Pseudocode, not original source. */ + +void FUN_1400464f0(longlong param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + ulonglong uVar1; + + uVar1 = FUN_140046150(param_1); + FUN_1400461d0(*(longlong **)(*(longlong *)(param_1 + 0x48) + (longlong)(int)uVar1 * 8),param_2, + (longlong)(int)uVar1,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140046530.c b/decomp/AgentManager_Release_x64/full/functions/0x140046530.c new file mode 100644 index 00000000..4ccb19a5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140046530.c @@ -0,0 +1,23 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140046530 FUN_140046530 + * Pseudocode, not original source. */ + +void FUN_140046530(longlong param_1,longlong param_2) + +{ + longlong *plVar1; + + if ((((param_2 != 0) && (*(short *)(param_2 + -0x20) == 0x10e1)) && + (plVar1 = *(longlong **) + (*(longlong *)(param_1 + 0x48) + (ulonglong)*(ushort *)(param_2 + -8) * 8), + *(ushort *)(param_2 + -8) < DAT_140176ea8)) && (plVar1[0xd] == *(longlong *)(param_2 + -0x18)) + ) { + FUN_140046360(plVar1,param_2 + -0x20); + return; + } + FUN_14003e110( + L"Not a CLookasideAllocator or owner CFastHeap allocated block! Refer to technical notes for more help." + ); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140046580.c b/decomp/AgentManager_Release_x64/full/functions/0x140046580.c new file mode 100644 index 00000000..799ee4c1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140046580.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140046580 FUN_140046580 + * Pseudocode, not original source. */ + +void FUN_140046580(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + DWORD DVar1; + ulonglong uVar2; + undefined7 uVar3; + + uVar3 = (undefined7)((ulonglong)param_3 >> 8); + if ((DAT_140176ef0 & 1) == 0) { + DAT_140176ef0 = DAT_140176ef0 | 1; + uVar2 = FUN_140094860(); + FUN_14003cf60((undefined4 *)&DAT_140176eb8,uVar2 & 0xffffffff,CONCAT71(uVar3,1),param_4); + atexit((_func_5014 *)&LAB_140104580); + } + FUN_14003d040((int *)&DAT_140176eb8); + if (DAT_140176ea8 == 0) { + DAT_140176ea8 = FUN_14003df50(); + } + if (DAT_140176eb0 == 0) { + DVar1 = TlsAlloc(); + DAT_140176eb0 = (ulonglong)DVar1; + } + FUN_14003d0d0(0x140176eb8); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140046620.c b/decomp/AgentManager_Release_x64/full/functions/0x140046620.c new file mode 100644 index 00000000..36fdd5c9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140046620.c @@ -0,0 +1,76 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140046620 FUN_140046620 + * Pseudocode, not original source. */ + +undefined8 * +FUN_140046620(undefined8 *param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong *plVar1; + longlong lVar2; + void *pvVar3; + undefined8 *puVar4; + undefined8 *puVar5; + undefined8 *puVar6; + ulonglong uVar7; + longlong *plVar8; + ushort uVar9; + + plVar8 = param_2; + FUN_1400417b0(param_1); + *param_1 = Proud::CLookasideAllocatorImpl::vftable; + plVar1 = param_1 + 1; + FUN_1400417c0(plVar1); + puVar4 = param_1; + FUN_140046580(param_1,plVar8,param_3,param_4); + puVar5 = (undefined8 *)0x0; + *(undefined4 *)(param_1 + 8) = 0; + *plVar1 = *param_2; + param_1[2] = param_2[1]; + param_1[3] = param_2[2]; + if (DAT_14017614d != '\0') { + *(undefined4 *)((longlong)param_1 + 0x14) = 1; + } + if (*plVar1 == 0) { + lVar2 = FUN_14003f1a0(puVar4,plVar8,param_3,param_4); + *plVar1 = lVar2; + } + if (*(int *)((longlong)param_1 + 0x14) == 0) { + pvVar3 = malloc(8); + param_1[9] = pvVar3; + puVar4 = operator_new(0xc0); + if (puVar4 != (undefined8 *)0x0) { + puVar5 = FUN_1400460d0(puVar4,param_1,0,param_4); + } + *(undefined8 **)param_1[9] = puVar5; + } + else { + pvVar3 = malloc((ulonglong)DAT_140176ea8 << 3); + param_1[9] = pvVar3; + uVar9 = 0; + if (DAT_140176ea8 != 0) { + do { + puVar6 = operator_new(0xc0); + puVar4 = puVar5; + if (puVar6 != (undefined8 *)0x0) { + uVar7 = FUN_140094860(); + param_3 = CONCAT71((int7)((ulonglong)param_3 >> 8),1); + FUN_14003cf60((undefined4 *)(puVar6 + 0xe),uVar7 & 0xffffffff,param_3,param_4); + *puVar6 = param_1; + puVar6[0xd] = 0; + *(undefined4 *)(puVar6 + 8) = 2; + puVar6[9] = 0; + puVar6[10] = 0; + puVar6[0xb] = 0; + *(ushort *)(puVar6 + 0xc) = uVar9; + *(undefined1 *)(puVar6 + 0x15) = 0; + puVar4 = puVar6; + } + *(undefined8 **)(param_1[9] + (ulonglong)uVar9 * 8) = puVar4; + uVar9 = uVar9 + 1; + } while (uVar9 < DAT_140176ea8); + } + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140046790.c b/decomp/AgentManager_Release_x64/full/functions/0x140046790.c new file mode 100644 index 00000000..0eda877a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140046790.c @@ -0,0 +1,39 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140046790 FUN_140046790 + * Pseudocode, not original source. */ + +void FUN_140046790(undefined8 *param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong *plVar1; + ulonglong uVar2; + ushort uVar3; + + *param_1 = Proud::CLookasideAllocatorImpl::vftable; + if (*(int *)((longlong)param_1 + 0x14) == 0) { + plVar1 = *(longlong **)param_1[9]; + if (plVar1 != (longlong *)0x0) { + FUN_140046450(plVar1,param_2,param_3,param_4); + operator_delete(plVar1); + } + } + else { + uVar3 = 0; + uVar2 = (ulonglong)DAT_140176ea8; + if (DAT_140176ea8 != 0) { + do { + plVar1 = *(longlong **)(param_1[9] + (ulonglong)uVar3 * 8); + if (plVar1 != (longlong *)0x0) { + FUN_140046450(plVar1,uVar2,param_3,param_4); + operator_delete(plVar1); + uVar2 = (ulonglong)DAT_140176ea8; + } + uVar3 = uVar3 + 1; + } while ((uint)uVar3 < (uint)uVar2); + } + } + free((void *)param_1[9]); + FUN_140041770(param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140046850.c b/decomp/AgentManager_Release_x64/full/functions/0x140046850.c new file mode 100644 index 00000000..a24f5add --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140046850.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140046850 FUN_140046850 + * Pseudocode, not original source. */ + +undefined8 * +FUN_140046850(undefined8 *param_1,ulonglong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140046790(param_1,param_2,param_3,param_4); + if ((param_2 & 1) != 0) { + FUN_14003e8b0(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140046880.c b/decomp/AgentManager_Release_x64/full/functions/0x140046880.c new file mode 100644 index 00000000..90ddf3c2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140046880.c @@ -0,0 +1,26 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140046880 FUN_140046880 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +bool FUN_140046880(undefined8 param_1,undefined4 param_2,undefined2 param_3) + +{ + undefined2 uVar1; + int iVar2; + undefined1 auStack_48 [32]; + undefined4 local_28; + undefined4 uStack_24; + undefined8 local_20; + ulonglong local_18; + + local_18 = DAT_14016f5a0 ^ (ulonglong)auStack_48; + local_20 = 0; + _local_28 = CONCAT44(param_2,2); + uVar1 = Ordinal_9(param_3); + local_28 = CONCAT22(uVar1,(undefined2)local_28); + iVar2 = Ordinal_2(param_1,&local_28,0x10); + return iVar2 != -1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400468f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400468f0.c new file mode 100644 index 00000000..70cc945b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400468f0.c @@ -0,0 +1,24 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400468f0 FUN_1400468f0 + * Pseudocode, not original source. */ + +bool FUN_1400468f0(undefined8 param_1,longlong param_2,undefined2 param_3) + +{ + bool bVar1; + int iVar2; + + if (param_2 == 0) { + iVar2 = 0; + } + else { + iVar2 = Ordinal_11(param_2); + if (iVar2 == -1) { + Ordinal_112(0x2726); + return false; + } + } + bVar1 = FUN_140046880(param_1,iVar2,param_3); + return bVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140046950.c b/decomp/AgentManager_Release_x64/full/functions/0x140046950.c new file mode 100644 index 00000000..6d668d0d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140046950.c @@ -0,0 +1,98 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140046950 FUN_140046950 + * Pseudocode, not original source. */ + +longlong * FUN_140046950(longlong *param_1,undefined **param_2,ulonglong param_3,undefined8 param_4) + +{ + undefined *puVar1; + int *piVar2; + int iVar3; + longlong lVar4; + int *piVar5; + undefined *puVar6; + undefined **ppuVar7; + ulonglong uVar8; + uint uVar9; + undefined *local_res18; + undefined *local_res20; + ulonglong uVar10; + + uVar8 = 0; + local_res18 = (undefined *)((ulonglong)local_res18 & 0xffffffff00000000); + ppuVar7 = param_2; + lVar4 = Ordinal_52(); + if ((lVar4 == 0) || (ppuVar7 = *(undefined ***)(lVar4 + 0x18), *ppuVar7 == (undefined *)0x0)) { + FUN_14003e7c0(param_2,ppuVar7,param_3,param_4); + *param_1 = (longlong)PTR_DAT_14016f008; + iVar3 = FUN_14003e6e0(&DAT_140132660); + puVar6 = FUN_14003d780(param_1,iVar3); + FUN_14003e710(puVar6,&DAT_140132660,iVar3); + FUN_14003d440(param_1); + } + else { + FUN_14003e7c0(param_2,ppuVar7,param_3,param_4); + local_res20 = PTR_DAT_14016f008; + uVar10 = uVar8; + if (0 < *(short *)(lVar4 + 0x12)) { + do { + FUN_14003e7c0(param_2,ppuVar7,param_3,param_4); + local_res18 = PTR_DAT_14016f008; + if (0 < (longlong)uVar8) { + FUN_140041af0((longlong *)&local_res20,"."); + } + param_3 = (ulonglong)*(byte *)(**(longlong **)(lVar4 + 0x18) + uVar8); + FUN_140040470((longlong *)&local_res18,"%u",param_3,param_4); + ppuVar7 = &local_res18; + param_2 = &local_res20; + FUN_1400402e0((longlong *)param_2,(longlong *)ppuVar7); + puVar6 = local_res18; + if (((local_res18 != (undefined *)0x0) && (local_res18 != PTR_DAT_14016f008)) && + (puVar1 = local_res18 + -8, puVar1 != (undefined *)0x0)) { + param_2 = (undefined **)FUN_14003e7c0(param_2,ppuVar7,param_3,param_4); + FUN_14003d040((int *)param_2); + piVar2 = (int *)(puVar6 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(puVar1); + } + FUN_14003d0d0((longlong)param_2); + } + uVar9 = (int)uVar10 + 1; + uVar10 = (ulonglong)uVar9; + uVar8 = uVar8 + 1; + } while ((int)uVar9 < (int)*(short *)(lVar4 + 0x12)); + } + puVar1 = local_res20; + FUN_14003e7c0(param_2,ppuVar7,param_3,param_4); + puVar6 = PTR_DAT_14016f008; + *param_1 = (longlong)PTR_DAT_14016f008; + if (puVar6 == (undefined *)0x0) { + *param_1 = (longlong)PTR_DAT_14016f008; + } + if (puVar1 != (undefined *)*param_1) { + param_2 = (undefined **)FUN_14003e7c0(param_2,ppuVar7,param_3,param_4); + FUN_14003d040((int *)param_2); + FUN_140006e80(param_1); + *param_1 = (longlong)puVar1; + if (((puVar1 != PTR_DAT_14016f008) && (puVar1 != (undefined *)0x0)) && + (puVar1 != (undefined *)0x8)) { + *(int *)(puVar1 + -4) = *(int *)(puVar1 + -4) + 1; + } + FUN_14003d0d0((longlong)param_2); + } + if (((puVar1 != (undefined *)0x0) && (puVar1 != PTR_DAT_14016f008)) && + (puVar1 + -8 != (undefined *)0x0)) { + piVar5 = (int *)FUN_14003e7c0(param_2,ppuVar7,param_3,param_4); + FUN_14003d040(piVar5); + piVar2 = (int *)(puVar1 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(puVar1 + -8); + } + FUN_14003d0d0((longlong)piVar5); + } + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140046bb0.c b/decomp/AgentManager_Release_x64/full/functions/0x140046bb0.c new file mode 100644 index 00000000..ed9683d2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140046bb0.c @@ -0,0 +1,43 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140046bb0 FUN_140046bb0 + * Pseudocode, not original source. */ + +void FUN_140046bb0(undefined8 param_1) + +{ + int iVar1; + uint uVar2; + undefined *puVar3; + undefined8 uVar4; + wchar_t *pwVar5; + undefined8 uVar6; + ulonglong uVar7; + short *psVar8; + short local_res10; + short local_res12; + undefined4 local_res18; + undefined *local_res20; + + psVar8 = &local_res10; + uVar4 = 0xffff; + uVar6 = 0x80; + local_res18 = 4; + iVar1 = Ordinal_7(); + if (((iVar1 == 0) && (local_res10 != 0)) && (local_res12 != 0)) { + FUN_14003e7c0(param_1,uVar4,uVar6,psVar8); + local_res20 = PTR_DAT_14016f010; + uVar2 = FUN_14003e620( + L"FATAL: Socket which has behavior of some waits in closesocket() has been detected!" + ); + puVar3 = FUN_140001ee0((longlong *)&local_res20,uVar2); + pwVar5 = L"FATAL: Socket which has behavior of some waits in closesocket() has been detected!"; + uVar7 = (ulonglong)uVar2; + FUN_14003e650(puVar3, + L"FATAL: Socket which has behavior of some waits in closesocket() has been detected!" + ,uVar2); + FUN_140001fc0((longlong *)&local_res20); + FUN_1400416f0((longlong *)&local_res20,pwVar5,uVar7,psVar8); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140046c50.c b/decomp/AgentManager_Release_x64/full/functions/0x140046c50.c new file mode 100644 index 00000000..9d01de2b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140046c50.c @@ -0,0 +1,57 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140046c50 FUN_140046c50 + * Pseudocode, not original source. */ + +void FUN_140046c50(longlong *param_1) + +{ + longlong lVar1; + longlong *plVar2; + longlong *plVar3; + exception local_58 [88]; + + lVar1 = *param_1; + while( true ) { + if (lVar1 == 0) { + return; + } + plVar2 = (longlong *)*param_1; + if ((longlong *)plVar2[2] != param_1) break; + plVar3 = (longlong *)plVar2[1]; + lVar1 = *plVar2; + if (plVar3 != (longlong *)0x0) { + *plVar3 = lVar1; + } + if (lVar1 != 0) { + *(longlong **)(lVar1 + 8) = plVar3; + } + if (plVar3 == (longlong *)0x0) { + if ((longlong *)param_1[1] != plVar2) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_CListNode_reports_a_consistency_p_14016f4a0, + L"Proud::CListNode::CListOwner::Erase",0); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + param_1[1] = lVar1; + } + if (lVar1 == 0) { + if ((longlong *)*param_1 != plVar2) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_CListNode_reports_a_consistency_p_14016f4a0, + L"Proud::CListNode::CListOwner::Erase",0); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + *param_1 = (longlong)plVar3; + } + *plVar2 = 0; + plVar2[1] = 0; + plVar2[2] = 0; + *(int *)(param_1 + 2) = (int)param_1[2] + -1; + lVar1 = *param_1; + } + FUN_14003db10(local_58,(wchar_t *)PTR_u_CListNode_reports_a_consistency_p_14016f4a0, + L"Proud::CListNode::CListOwner::Erase",0); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140046d50.c b/decomp/AgentManager_Release_x64/full/functions/0x140046d50.c new file mode 100644 index 00000000..3e56542a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140046d50.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140046d50 FUN_140046d50 + * Pseudocode, not original source. */ + +longlong * FUN_140046d50(longlong *param_1,longlong *param_2) + +{ + longlong *plVar1; + longlong lVar2; + longlong *plVar3; + + plVar1 = (longlong *)param_1[1]; + if (plVar1 == (longlong *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + *param_2 = plVar1[2]; + param_2[1] = plVar1[3]; + param_2[2] = plVar1[4]; + lVar2 = *plVar1; + param_1[1] = lVar2; + if (lVar2 == 0) { + param_1[2] = 0; + } + else { + *(undefined8 *)(lVar2 + 8) = 0; + } + plVar3 = (longlong *)*param_1; + if (plVar3 != (longlong *)0x0) { + (**(code **)(*plVar3 + 0x10))(plVar3,plVar1); + param_1[3] = param_1[3] + -1; + return param_2; + } + FUN_14003e8b0(plVar1); + param_1[3] = param_1[3] + -1; + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140046df0.c b/decomp/AgentManager_Release_x64/full/functions/0x140046df0.c new file mode 100644 index 00000000..bdee57de --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140046df0.c @@ -0,0 +1,36 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140046df0 FUN_140046df0 + * Pseudocode, not original source. */ + +longlong FUN_140046df0(longlong *param_1,longlong *param_2) + +{ + longlong lVar1; + + if (param_2 == (longlong *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + lVar1 = *param_2; + if (param_2 == (longlong *)param_1[1]) { + param_1[1] = lVar1; + } + else { + *(longlong *)param_2[1] = lVar1; + } + if (param_2 == (longlong *)param_1[2]) { + param_1[2] = param_2[1]; + } + else { + *(longlong *)(*param_2 + 8) = param_2[1]; + } + if ((longlong *)*param_1 != (longlong *)0x0) { + (**(code **)(*(longlong *)*param_1 + 0x10))(); + param_1[3] = param_1[3] + -1; + return lVar1; + } + FUN_14003e8b0(param_2); + param_1[3] = param_1[3] + -1; + return lVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140046e80.c b/decomp/AgentManager_Release_x64/full/functions/0x140046e80.c new file mode 100644 index 00000000..ccb46d7d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140046e80.c @@ -0,0 +1,216 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140046e80 FUN_140046e80 + * Pseudocode, not original source. */ + +undefined8 FUN_140046e80(char *param_1,longlong *param_2,ulonglong param_3,undefined8 param_4) + +{ + longlong *plVar1; + bool bVar2; + undefined4 uVar3; + ushort uVar4; + int iVar5; + DWORD DVar6; + undefined *puVar7; + undefined4 extraout_var; + undefined4 extraout_var_00; + undefined8 uVar8; + ulonglong uVar9; + longlong *plVar10; + int *piVar11; + longlong *plVar12; + int iVar13; + int iVar14; + double dVar15; + double dVar16; + int local_res8 [2]; + int *local_res20; + int *local_a8; + undefined1 local_a0; + undefined8 local_98; + longlong local_90; + longlong local_88; + undefined4 local_80; + undefined8 local_78; + undefined **local_70; + undefined4 local_68; + ushort local_64; + undefined4 local_60; + + local_98 = 0xfffffffffffffffe; + iVar14 = (int)param_3; + if (*(longlong *)(param_1 + 0x28) == 0) { + SetLastError(0); + dVar15 = FUN_140048960(param_1); + local_res20 = (int *)(param_1 + 0x50); + plVar12 = (longlong *)(param_1 + 0x38); + iVar13 = 0; + do { + local_a8 = (int *)(param_1 + 0x50); + FUN_14003d040(local_a8); + local_a0 = 1; + local_res8[0] = *(int *)(param_1 + 0x48) * 3 + 3; + plVar1 = (longlong *)*plVar12; + local_70 = Proud::AddrPort::vftable; + local_60 = 0; + local_78 = 0; + local_68 = DAT_14016f3d0; + local_64 = DAT_14016f3d4; + for (; plVar1 != (longlong *)0x0; plVar1 = (longlong *)plVar1[1]) { + uVar8 = FUN_140043980((longlong)plVar1,0,(uint *)&local_78); + if ((char)uVar8 != '\0') { + *(undefined4 *)(param_2 + 2) = 1; + plVar10 = plVar1 + 0x48; +LAB_1400471e9: + uVar8 = 0; + FUN_140042fd0((longlong)plVar10,(undefined8 *)0x0,0); + *param_2 = plVar1[0x5d]; + *(undefined4 *)((longlong)param_2 + 0xc) = local_78._4_4_; + *(undefined4 *)(param_2 + 1) = local_60; + if ((longlong *)plVar1[2] != (longlong *)0x0) { + FUN_140043550((longlong *)plVar1[2],plVar1,uVar8,param_4); + } + if (plVar1[2] != 0) { + FUN_140043550(plVar12,plVar1,uVar8,param_4); + } + if (*(longlong *)(param_1 + 0x40) == 0) { + *plVar12 = (longlong)plVar1; + } + else { + *(longlong **)(*(longlong *)(param_1 + 0x40) + 8) = plVar1; + *plVar1 = *(longlong *)(param_1 + 0x40); + } + *(longlong **)(param_1 + 0x40) = plVar1; + plVar1[2] = (longlong)plVar12; + *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + 1; + piVar11 = local_res20; + goto LAB_14004729a; + } + uVar8 = FUN_140043710((longlong)plVar1,0,(undefined4 *)&local_78); + if ((char)uVar8 != '\0') { + *(undefined4 *)(param_2 + 2) = 2; + *(undefined4 *)(param_2 + 4) = *(undefined4 *)((longlong)plVar1 + 0x304); + FUN_140041820((longlong)(param_2 + 5),(longlong)(plVar1 + 0x5e)); + plVar10 = plVar1 + 0x30; + goto LAB_1400471e9; + } + uVar8 = FUN_1400437e0((longlong)plVar1,0,(undefined4 *)&local_78); + if ((char)uVar8 != '\0') { + *(undefined4 *)(param_2 + 2) = 3; + plVar10 = plVar1 + 0x18; + goto LAB_1400471e9; + } + uVar8 = FUN_1400438b0((longlong)plVar1,0,(undefined4 *)&local_78); + if ((char)uVar8 != '\0') { + *(undefined4 *)(param_2 + 2) = 4; + plVar10 = plVar1 + 0x68; + goto LAB_1400471e9; + } + } + if (*(longlong *)(param_1 + 0xa0) != 0) { + FUN_140046d50((longlong *)(param_1 + 0x88),&local_90); + if (local_90 == 0) { + *param_2 = 0; + } + else { + *param_2 = *(longlong *)(local_90 + 0x2e8); + } + *(undefined4 *)(param_2 + 2) = local_80; + param_2[3] = local_88; + param_2[1] = 0; + piVar11 = (int *)(param_1 + 0x50); +LAB_14004729a: + uVar9 = FUN_14003d0d0((longlong)piVar11); + goto LAB_14004729f; + } + uVar9 = FUN_14003d0d0((longlong)(param_1 + 0x50)); + local_a0 = 0; + if ((iVar14 == 0) || + ((iVar14 != -1 && + (dVar16 = FUN_140048960(param_1), uVar9 = param_3 & 0xffffffff, + (double)(param_3 & 0xffffffff) < (dVar16 - dVar15) * 1000.0)))) { + return uVar9 & 0xffffffffffffff00; + } + bVar2 = local_res8[0] <= iVar13; + iVar5 = 0; + if (!bVar2) { + iVar5 = iVar13 + 1; + } + iVar13 = iVar5; + Sleep((uint)bVar2); + } while( true ); + } + local_res8[0] = 0; + local_a8 = (int *)0x0; + local_res20 = (int *)0x0; + uVar8 = 0; + plVar12 = param_2; + SetLastError(0); + uVar4 = DAT_14016f3d4; + uVar3 = DAT_14016f3d0; + *param_2 = 0; + param_2[1] = 0; + *(undefined4 *)(param_2 + 2) = 5; + param_2[3] = 0; + *(undefined4 *)(param_2 + 4) = 0; + *(undefined4 *)(param_2 + 6) = uVar3; + *(ushort *)((longlong)param_2 + 0x34) = uVar4; + puVar7 = FUN_14003e0c0(uVar8,plVar12,param_3,param_4); + (**(code **)(puVar7 + 0x18)) + (*(undefined8 *)(param_1 + 0x28),local_res8,&local_a8,&local_res20,iVar14); + if (local_res20 == (int *)0x0) { + DVar6 = GetLastError(); + *(DWORD *)((longlong)param_2 + 0xc) = DVar6; + return CONCAT44(extraout_var,DVar6) & 0xffffffffffffff00; + } + if (local_a8 == (int *)0x0) { + *param_2 = 0; + } + else { + *param_2 = *(longlong *)(local_a8 + 0xba); + } + if ((longlong)local_res20 < 0) { + *(int *)(param_2 + 1) = local_res8[0]; + param_2[3] = (longlong)local_res20; + *(undefined8 *)((longlong)param_2 + 0xc) = 0; + *(undefined4 *)(param_2 + 6) = DAT_14016f3d0; + uVar9 = (ulonglong)DAT_14016f3d4; + *(ushort *)((longlong)param_2 + 0x34) = DAT_14016f3d4; + *(undefined4 *)(param_2 + 4) = 0; + goto LAB_14004729f; + } + if (local_a8 == (int *)0x0) { +LAB_140047029: + *(undefined4 *)(param_2 + 2) = 0; + param_2[3] = (longlong)local_res20; + } + else { + piVar11 = local_a8 + 0x60; + if (local_res20 == piVar11) { + *(undefined4 *)(param_2 + 2) = 2; + *(int *)(param_2 + 4) = local_a8[0xc1]; + FUN_140041820((longlong)(param_2 + 5),(longlong)(local_a8 + 0xbc)); + FUN_140042fd0((longlong)piVar11,(undefined8 *)0x0,0); + } + else if (local_res20 == local_a8 + 0x90) { + *(undefined4 *)(param_2 + 2) = 1; + FUN_140042fd0((longlong)(local_a8 + 0x90),(undefined8 *)0x0,0); + } + else if (local_res20 == local_a8 + 0x30) { + *(undefined4 *)(param_2 + 2) = 3; + FUN_140042fd0((longlong)(local_a8 + 0x30),(undefined8 *)0x0,0); + } + else { + if (local_res20 != local_a8 + 0xd0) goto LAB_140047029; + *(undefined4 *)(param_2 + 2) = 4; + FUN_140042fd0((longlong)(local_a8 + 0xd0),(undefined8 *)0x0,0); + } + } + *(int *)(param_2 + 1) = local_res8[0]; + *(undefined4 *)((longlong)param_2 + 0xc) = 0; + DVar6 = GetLastError(); + uVar9 = CONCAT44(extraout_var_00,DVar6); +LAB_14004729f: + return CONCAT71((int7)(uVar9 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400472d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400472d0.c new file mode 100644 index 00000000..f3cd4337 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400472d0.c @@ -0,0 +1,409 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400472d0 FUN_1400472d0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +ulonglong FUN_1400472d0(char *param_1,longlong *param_2,uint *param_3,undefined8 param_4) + +{ + uint uVar1; + bool bVar2; + ushort uVar3; + int iVar4; + DWORD DVar5; + ulonglong uVar6; + undefined *puVar7; + undefined4 extraout_var; + undefined8 uVar8; + undefined8 *puVar9; + longlong lVar10; + longlong lVar11; + longlong *plVar12; + longlong *plVar13; + longlong lVar14; + longlong *plVar15; + longlong *plVar16; + uint uVar17; + ulonglong uVar18; + ulonglong uVar19; + uint *puVar20; + longlong *plVar21; + ulonglong uVar22; + double dVar23; + double dVar24; + undefined1 auStack_2a8 [32]; + uint local_288; + undefined4 local_280; + uint local_278 [2]; + undefined8 local_270; + undefined4 local_268; + undefined4 uStack_264; + uint local_260; + ushort local_25c; + ulonglong local_258; + undefined4 local_250; + undefined **local_248; + uint local_240; + ushort local_23c; + int local_238; + uint local_234; + char *local_230; + longlong local_228; + undefined8 local_220; + undefined4 local_218; + longlong local_210; + undefined4 local_208; + undefined **local_200; + uint local_1f8; + ushort local_1f4; + longlong *local_1f0; + uint *local_1e8; + longlong local_1e0; + int *local_1d8; + undefined1 local_1d0; + undefined8 local_1c8; + longlong local_1b8 [3]; + undefined4 auStack_1a0 [74]; + ulonglong local_78; + + local_1c8 = 0xfffffffffffffffe; + uVar6 = DAT_14016f5a0 ^ (ulonglong)auStack_2a8; + uVar17 = (uint)param_4; + if (9 < *(uint *)(param_2 + 3)) { + local_234 = uVar17; + local_1f0 = param_2; + local_1e8 = param_3; + local_78 = uVar6; + if (*(longlong *)(param_1 + 0x28) == 0) { + plVar15 = param_2; + SetLastError(0); + dVar23 = FUN_140048960(param_1); + local_278[0] = 0; + *param_3 = 0; + local_230 = param_1 + 0x50; + plVar13 = (longlong *)(param_1 + 0x38); + do { + local_1d8 = (int *)(param_1 + 0x50); + FUN_14003d040(local_1d8); + local_1d0 = 1; + local_238 = *(int *)(param_1 + 0x48) * 3 + 3; + plVar16 = (longlong *)*plVar13; + local_268 = 0x40107138; + uStack_264 = 1; + local_258 = local_258 & 0xffffffff00000000; + local_270 = 0; + plVar21 = plVar16; + local_260 = DAT_14016f3d0; + local_25c = DAT_14016f3d4; + do { + if (plVar21 == (longlong *)0x0) break; + local_200 = Proud::AddrPort::vftable; + local_228 = 0; + local_210 = 0; + local_220 = 0; + local_218 = 5; + local_208 = 0; + local_1f8 = DAT_14016f3d0; + local_1f4 = DAT_14016f3d4; + uVar8 = FUN_140043980((longlong)plVar21,0,(uint *)&local_270); + if ((char)uVar8 == '\0') { + uVar8 = FUN_140043710((longlong)plVar21,0,(undefined4 *)&local_270); + if ((char)uVar8 != '\0') { + local_218 = 2; + local_208 = *(undefined4 *)((longlong)plVar21 + 0x304); + FUN_140041820((longlong)&local_200,(longlong)(plVar21 + 0x5e)); + plVar12 = plVar21 + 0x30; + goto LAB_140047708; + } + uVar8 = FUN_1400437e0((longlong)plVar21,0,(undefined4 *)&local_270); + if ((char)uVar8 != '\0') { + local_218 = 3; + plVar12 = plVar21 + 0x18; + goto LAB_140047708; + } + plVar15 = (longlong *)0x0; + uVar8 = FUN_1400438b0((longlong)plVar21,0,(undefined4 *)&local_270); + if ((char)uVar8 != '\0') { + local_218 = 4; + plVar12 = plVar21 + 0x68; + goto LAB_140047708; + } + } + else { + local_218 = 1; + plVar12 = plVar21 + 0x48; +LAB_140047708: + uVar8 = 0; + plVar15 = (longlong *)0x0; + FUN_140042fd0((longlong)plVar12,(undefined8 *)0x0,0); + local_228 = plVar21[0x5d]; + local_220 = CONCAT44((int)((ulonglong)local_270 >> 0x20),(undefined4)local_258); + plVar12 = (longlong *)plVar21[2]; + if (plVar12 != (longlong *)0x0) { + plVar15 = plVar21; + FUN_140043550(plVar12,plVar21,uVar8,param_4); + } + if (plVar21[2] != 0) { + plVar12 = plVar13; + plVar15 = plVar21; + FUN_140043550(plVar13,plVar21,uVar8,param_4); + } + if (*(longlong *)(param_1 + 0x40) == 0) { + *plVar13 = (longlong)plVar21; + } + else { + *(longlong **)(*(longlong *)(param_1 + 0x40) + 8) = plVar21; + *plVar21 = *(longlong *)(param_1 + 0x40); + } + *(longlong **)(param_1 + 0x40) = plVar21; + plVar21[2] = (longlong)plVar13; + *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + 1; + uVar17 = *param_3; + if (((int)uVar17 < 0) || ((int)param_2[3] <= (int)uVar17)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(plVar12,plVar15,uVar8,param_4); + } + plVar12 = (longlong *)((longlong)(int)uVar17 * 0x38 + param_2[2]); + *plVar12 = local_228; + *(undefined4 *)(plVar12 + 1) = (undefined4)local_220; + *(undefined4 *)((longlong)plVar12 + 0xc) = local_220._4_4_; + *(undefined4 *)(plVar12 + 2) = local_218; + plVar12[3] = local_210; + *(undefined4 *)(plVar12 + 4) = local_208; + *(uint *)(plVar12 + 6) = local_1f8; + *(ushort *)((longlong)plVar12 + 0x34) = local_1f4; + *param_3 = *param_3 + 1; + if (9 < *param_3) goto LAB_140047983; + } + plVar21 = (longlong *)plVar21[1]; + } while (plVar21 != plVar16); + lVar10 = *(longlong *)(param_1 + 0xa0); + uVar17 = DAT_14016f3d0; + uVar3 = DAT_14016f3d4; + while (DAT_14016f3d0 = uVar17, DAT_14016f3d4 = uVar3, lVar10 != 0) { + plVar16 = *(longlong **)(param_1 + 0x90); + if (plVar16 == (longlong *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + lVar10 = plVar16[2]; + lVar14 = plVar16[3]; + local_1e0 = plVar16[4]; + lVar11 = *plVar16; + *(longlong *)(param_1 + 0x90) = lVar11; + if (lVar11 == 0) { + param_1[0x98] = '\0'; + param_1[0x99] = '\0'; + param_1[0x9a] = '\0'; + param_1[0x9b] = '\0'; + param_1[0x9c] = '\0'; + param_1[0x9d] = '\0'; + param_1[0x9e] = '\0'; + param_1[0x9f] = '\0'; + } + else { + *(undefined8 *)(lVar11 + 8) = 0; + } + plVar21 = *(longlong **)(param_1 + 0x88); + if (plVar21 == (longlong *)0x0) { + FUN_14003e8b0(plVar16); + } + else { + (**(code **)(*plVar21 + 0x10))(plVar21); + plVar15 = plVar16; + } + *(longlong *)(param_1 + 0xa0) = *(longlong *)(param_1 + 0xa0) + -1; + uVar8 = 0; + if (lVar10 != 0) { + uVar8 = *(undefined8 *)(lVar10 + 0x2e8); + } + uVar1 = *local_1e8; + if (((int)uVar1 < 0) || (plVar15 = local_1f0, (int)local_1f0[3] <= (int)uVar1)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(uVar8,plVar15,plVar21,param_4); + } + puVar9 = (undefined8 *)((longlong)(int)uVar1 * 0x38 + local_1f0[2]); + *puVar9 = uVar8; + puVar9[1] = 0; + *(int *)(puVar9 + 2) = (int)local_1e0; + puVar9[3] = lVar14; + *(undefined4 *)(puVar9 + 4) = 0; + *(uint *)(puVar9 + 6) = uVar17; + *(ushort *)((longlong)puVar9 + 0x34) = uVar3; + *local_1e8 = *local_1e8 + 1; + if (9 < *local_1e8) goto LAB_140047983; + param_3 = local_1e8; + param_2 = local_1f0; + uVar17 = DAT_14016f3d0; + uVar3 = DAT_14016f3d4; + lVar10 = *(longlong *)(param_1 + 0xa0); + } + if (*param_3 != 0) { +LAB_140047983: + uVar6 = FUN_14003d0d0((longlong)local_230); + goto LAB_14004798d; + } + uVar6 = FUN_14003d0d0((longlong)(param_1 + 0x50)); + uVar17 = local_234; + local_1d0 = 0; + uVar18 = (ulonglong)local_234; + if (local_234 == 0) { +LAB_14004797f: + return uVar6 & 0xffffffffffffff00; + } + if (local_234 != 0xffffffff) { + dVar24 = FUN_140048960(param_1); + uVar6 = (ulonglong)uVar17; + if ((double)uVar18 < (dVar24 - dVar23) * 1000.0) goto LAB_14004797f; + } + bVar2 = local_238 <= (int)local_278[0]; + if (bVar2) { + local_278[0] = 0; + } + else { + local_278[0] = local_278[0] + 1; + } + Sleep((uint)bVar2); + } while( true ); + } + uVar18 = 0; + local_278[0] = 0; + uVar8 = 0; + plVar13 = param_2; + puVar20 = param_3; + SetLastError(0); + puVar7 = FUN_14003e0c0(uVar8,plVar13,puVar20,param_4); + local_280 = 0; + lVar10 = *(longlong *)(param_1 + 0x28); + local_288 = uVar17; + iVar4 = (**(code **)(puVar7 + 0x20))(lVar10,local_1b8,10,local_278); + if (iVar4 == 0) { + DVar5 = GetLastError(); + uVar6 = CONCAT44(extraout_var,DVar5); + } + else { + uVar6 = (ulonglong)local_278[0]; + if (local_278[0] != 0) { + *param_3 = local_278[0]; + plVar13 = local_1b8 + 1; + uVar19 = uVar18; + do { + local_248 = Proud::AddrPort::vftable; + local_270 = 0; + local_258 = 0; + local_268 = 0; + uStack_264 = 0; + local_260 = 5; + local_250 = 0; + uVar6 = (ulonglong)DAT_14016f3d0; + local_240 = DAT_14016f3d0; + uVar22 = (ulonglong)DAT_14016f3d4; + local_23c = DAT_14016f3d4; + lVar14 = *plVar13; + iVar4 = (int)uVar19; + if (lVar14 == 0) { + uStack_264 = 0xffffffff; + if ((iVar4 < 0) || ((int)param_2[3] <= iVar4)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(lVar10,0,uVar6,uVar22); + } + lVar10 = param_2[2]; + *(undefined8 *)(uVar18 + lVar10) = 0; + } + else { + lVar10 = plVar13[-1]; + if (lVar10 == 0) { + local_270 = 0; + } + else { + local_270 = *(undefined8 *)(lVar10 + 0x2e8); + } + if (lVar14 < 0) { + local_268 = (undefined4)plVar13[2]; + uStack_264 = 0; + local_260 = 0; + local_250 = 0; + if ((iVar4 < 0) || (local_258 = lVar14, (int)param_2[3] <= iVar4)) { + local_258 = lVar14; + /* WARNING: Subroutine does not return */ + FUN_14003def0(lVar10,lVar14,uVar6,uVar22); + } + } + else { + lVar11 = lVar10; + if (lVar10 == 0) { +LAB_140047505: + local_260 = 0; + local_258 = lVar14; + } + else { + lVar11 = lVar10 + 0x180; + if (lVar14 == lVar11) { + local_260 = 2; + local_250 = *(undefined4 *)(lVar10 + 0x304); + FUN_140041820((longlong)&local_248,lVar10 + 0x2f0); + uVar6 = 0; + lVar14 = 0; + FUN_140042fd0(lVar11,(undefined8 *)0x0,0); + } + else { + lVar11 = lVar10 + 0x240; + if (lVar14 == lVar11) { + local_260 = 1; + uVar6 = 0; + lVar14 = 0; + FUN_140042fd0(lVar11,(undefined8 *)0x0,0); + } + else { + lVar11 = lVar10 + 0xc0; + if (lVar14 == lVar11) { + local_260 = 3; + uVar6 = 0; + lVar14 = 0; + FUN_140042fd0(lVar11,(undefined8 *)0x0,0); + } + else { + lVar11 = lVar10 + 0x340; + if (lVar14 != lVar11) goto LAB_140047505; + local_260 = 4; + uVar6 = 0; + lVar14 = 0; + FUN_140042fd0(lVar11,(undefined8 *)0x0,0); + } + } + } + } + local_268 = (undefined4)plVar13[2]; + uStack_264 = 0; + if ((iVar4 < 0) || ((int)param_2[3] <= iVar4)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(lVar11,lVar14,uVar6,uVar22); + } + } + uStack_264 = 0; + lVar10 = param_2[2]; + *(undefined8 *)(uVar18 + lVar10) = local_270; + } + *(undefined4 *)(uVar18 + 8 + lVar10) = local_268; + *(undefined4 *)(uVar18 + 0xc + lVar10) = uStack_264; + *(uint *)(uVar18 + 0x10 + lVar10) = local_260; + *(ulonglong *)(uVar18 + 0x18 + lVar10) = local_258; + *(undefined4 *)(uVar18 + 0x20 + lVar10) = local_250; + *(uint *)(uVar18 + 0x30 + lVar10) = local_240; + uVar6 = (ulonglong)local_23c; + *(ushort *)(uVar18 + 0x34 + lVar10) = local_23c; + uVar19 = (ulonglong)(iVar4 + 1U); + plVar13 = plVar13 + 4; + uVar18 = uVar18 + 0x38; + if (local_278[0] <= iVar4 + 1U) { +LAB_14004798d: + return CONCAT71((int7)(uVar6 >> 8),1); + } + } while( true ); + } + } + } + return uVar6 & 0xffffffffffffff00; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400479d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400479d0.c new file mode 100644 index 00000000..ff853ee6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400479d0.c @@ -0,0 +1,45 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400479d0 FUN_1400479d0 + * Pseudocode, not original source. */ + +void FUN_1400479d0(longlong param_1,ULONG_PTR param_2,LPOVERLAPPED param_3) + +{ + undefined8 uVar1; + longlong *plVar2; + undefined8 *puVar3; + uint uStack_c; + + if (*(HANDLE *)(param_1 + 0x28) == (HANDLE)0x0) { + FUN_14003d040((int *)(param_1 + 0x50)); + uVar1 = *(undefined8 *)(param_1 + 0x98); + plVar2 = *(longlong **)(param_1 + 0x88); + if (plVar2 == (longlong *)0x0) { + puVar3 = (undefined8 *)FUN_14003e840(0x28); + } + else { + puVar3 = (undefined8 *)(**(code **)(*plVar2 + 8))(plVar2,0x28); + } + if (puVar3 != (undefined8 *)0x0) { + puVar3[2] = param_2; + puVar3[3] = param_3; + puVar3[4] = (ulonglong)uStack_c << 0x20; + } + puVar3[1] = uVar1; + *puVar3 = 0; + *(longlong *)(param_1 + 0xa0) = *(longlong *)(param_1 + 0xa0) + 1; + if (*(undefined8 **)(param_1 + 0x98) == (undefined8 *)0x0) { + *(undefined8 **)(param_1 + 0x90) = puVar3; + } + else { + **(undefined8 **)(param_1 + 0x98) = puVar3; + } + *(undefined8 **)(param_1 + 0x98) = puVar3; + FUN_14003d0d0(param_1 + 0x50); + } + else { + PostQueuedCompletionStatus(*(HANDLE *)(param_1 + 0x28),0,param_2,param_3); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140047ad0.c b/decomp/AgentManager_Release_x64/full/functions/0x140047ad0.c new file mode 100644 index 00000000..9b3a58cf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140047ad0.c @@ -0,0 +1,42 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140047ad0 FUN_140047ad0 + * Pseudocode, not original source. */ + +void FUN_140047ad0(longlong param_1,undefined8 param_2,undefined4 param_3) + +{ + undefined8 uVar1; + longlong *plVar2; + undefined8 *puVar3; + undefined4 uStack_c; + + FUN_14003d040((int *)(param_1 + 0x50)); + if (*(longlong *)(param_1 + 0x28) == 0) { + uVar1 = *(undefined8 *)(param_1 + 0x98); + plVar2 = *(longlong **)(param_1 + 0x88); + if (plVar2 == (longlong *)0x0) { + puVar3 = (undefined8 *)FUN_14003e840(0x28); + } + else { + puVar3 = (undefined8 *)(**(code **)(*plVar2 + 8))(plVar2,0x28); + } + if (puVar3 != (undefined8 *)0x0) { + puVar3[2] = param_2; + puVar3[3] = 0; + puVar3[4] = CONCAT44(uStack_c,param_3); + } + puVar3[1] = uVar1; + *puVar3 = 0; + *(longlong *)(param_1 + 0xa0) = *(longlong *)(param_1 + 0xa0) + 1; + if (*(undefined8 **)(param_1 + 0x98) == (undefined8 *)0x0) { + *(undefined8 **)(param_1 + 0x90) = puVar3; + } + else { + **(undefined8 **)(param_1 + 0x98) = puVar3; + } + *(undefined8 **)(param_1 + 0x98) = puVar3; + } + FUN_14003d0d0(param_1 + 0x50); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140047bb0.c b/decomp/AgentManager_Release_x64/full/functions/0x140047bb0.c new file mode 100644 index 00000000..3e1debae --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140047bb0.c @@ -0,0 +1,104 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140047bb0 FUN_140047bb0 + * Pseudocode, not original source. */ + +char * FUN_140047bb0(char *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + ulonglong uVar1; + longlong *plVar2; + undefined8 *puVar3; + longlong lVar4; + char *pcVar5; + char cVar6; + undefined8 uVar7; + undefined8 uVar8; + exception local_50 [72]; + + cVar6 = (char)param_3; + FUN_140048880((undefined2 *)param_1); + param_1[0x38] = '\0'; + param_1[0x39] = '\0'; + param_1[0x3a] = '\0'; + param_1[0x3b] = '\0'; + param_1[0x3c] = '\0'; + param_1[0x3d] = '\0'; + param_1[0x3e] = '\0'; + param_1[0x3f] = '\0'; + param_1[0x40] = '\0'; + param_1[0x41] = '\0'; + param_1[0x42] = '\0'; + param_1[0x43] = '\0'; + param_1[0x44] = '\0'; + param_1[0x45] = '\0'; + param_1[0x46] = '\0'; + param_1[0x47] = '\0'; + param_1[0x48] = '\0'; + param_1[0x49] = '\0'; + param_1[0x4a] = '\0'; + param_1[0x4b] = '\0'; + uVar1 = FUN_140094860(); + uVar1 = uVar1 & 0xffffffff; + pcVar5 = param_1 + 0x50; + uVar7 = CONCAT71((int7)((ulonglong)param_3 >> 8),1); + FUN_14003cf60((undefined4 *)pcVar5,uVar1,uVar7,param_4); + param_1[0x88] = '\0'; + param_1[0x89] = '\0'; + param_1[0x8a] = '\0'; + param_1[0x8b] = '\0'; + param_1[0x8c] = '\0'; + param_1[0x8d] = '\0'; + param_1[0x8e] = '\0'; + param_1[0x8f] = '\0'; + param_1[0xa0] = '\0'; + param_1[0xa1] = '\0'; + param_1[0xa2] = '\0'; + param_1[0xa3] = '\0'; + param_1[0xa4] = '\0'; + param_1[0xa5] = '\0'; + param_1[0xa6] = '\0'; + param_1[0xa7] = '\0'; + param_1[0x90] = '\0'; + param_1[0x91] = '\0'; + param_1[0x92] = '\0'; + param_1[0x93] = '\0'; + param_1[0x94] = '\0'; + param_1[0x95] = '\0'; + param_1[0x96] = '\0'; + param_1[0x97] = '\0'; + param_1[0x98] = '\0'; + param_1[0x99] = '\0'; + param_1[0x9a] = '\0'; + param_1[0x9b] = '\0'; + param_1[0x9c] = '\0'; + param_1[0x9d] = '\0'; + param_1[0x9e] = '\0'; + param_1[0x9f] = '\0'; + *(undefined8 *)(param_1 + 0x30) = param_2; + param_1[0x28] = '\0'; + param_1[0x29] = '\0'; + param_1[0x2a] = '\0'; + param_1[0x2b] = '\0'; + param_1[0x2c] = '\0'; + param_1[0x2d] = '\0'; + param_1[0x2e] = '\0'; + param_1[0x2f] = '\0'; + if (cVar6 != '\0') { + plVar2 = (longlong *)FUN_14003e0c0(pcVar5,uVar1,uVar7,param_4); + if (*plVar2 != 0) { + puVar3 = (undefined8 *)FUN_14003e0c0(pcVar5,uVar1,uVar7,param_4); + uVar8 = 0; + uVar7 = 0; + lVar4 = (*(code *)*puVar3)(0xffffffffffffffff,0); + *(longlong *)(param_1 + 0x28) = lVar4; + if (lVar4 == 0) { + FUN_14003db10(local_50,L"Cannot create IOCP object!",uVar7,uVar8); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_50,(ThrowInfo *)&DAT_14016c210); + } + } + } + FUN_1400488d0(param_1); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140047ca0.c b/decomp/AgentManager_Release_x64/full/functions/0x140047ca0.c new file mode 100644 index 00000000..105db20a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140047ca0.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140047ca0 FUN_140047ca0 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x000140047d3a) */ +/* WARNING: Removing unreachable block (ram,0x000140047d45) */ + +void FUN_140047ca0(longlong param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong *plVar1; + longlong *plVar2; + + FUN_14003d040((int *)(param_1 + 0x50)); + plVar2 = *(longlong **)(param_1 + 0x90); + while (plVar2 != (longlong *)0x0) { + if ((longlong *)plVar2[2] == param_2) { + plVar1 = (longlong *)*plVar2; + FUN_140046df0((longlong *)(param_1 + 0x88),plVar2); + plVar2 = plVar1; + } + else { + plVar2 = (longlong *)*plVar2; + } + } + if ((longlong *)param_2[2] != (longlong *)0x0) { + FUN_140043550((longlong *)param_2[2],param_2,param_3,param_4); + } + param_2[0x79] = 0; + FUN_14003d0d0(param_1 + 0x50); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140047d90.c b/decomp/AgentManager_Release_x64/full/functions/0x140047d90.c new file mode 100644 index 00000000..34263241 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140047d90.c @@ -0,0 +1,49 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140047d90 FUN_140047d90 + * Pseudocode, not original source. */ + +void FUN_140047d90(longlong param_1,longlong *param_2,longlong *param_3,undefined8 param_4) + +{ + int iVar1; + longlong lVar2; + longlong *plVar3; + + if (*(HANDLE *)(param_1 + 0x28) != (HANDLE)0x0) { + CloseHandle(*(HANDLE *)(param_1 + 0x28)); + *(undefined8 *)(param_1 + 0x28) = 0; + } + lVar2 = *(longlong *)(param_1 + 0xa0); + while( true ) { + if (lVar2 == 0) { + *(undefined8 *)(param_1 + 0x90) = 0; + *(undefined8 *)(param_1 + 0x98) = 0; + iVar1 = *(int *)(param_1 + 0x48); + while (0 < iVar1) { + param_2 = *(longlong **)(param_1 + 0x38); + FUN_140047ca0(param_1,param_2,param_3,param_4); + iVar1 = *(int *)(param_1 + 0x48); + } + FUN_140093d10((longlong *)(param_1 + 0x88)); + FUN_14003d110((undefined4 *)(param_1 + 0x50),param_2,param_3,param_4); + FUN_140046c50((longlong *)(param_1 + 0x38)); + return; + } + plVar3 = *(longlong **)(param_1 + 0x90); + if (plVar3 == (longlong *)0x0) break; + *(longlong *)(param_1 + 0x90) = *plVar3; + param_3 = *(longlong **)(param_1 + 0x88); + if (param_3 == (longlong *)0x0) { + FUN_14003e8b0(plVar3); + } + else { + (**(code **)(*param_3 + 0x10))(param_3); + param_2 = plVar3; + } + *(longlong *)(param_1 + 0xa0) = *(longlong *)(param_1 + 0xa0) + -1; + lVar2 = *(longlong *)(param_1 + 0xa0); + } + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140047e90.c b/decomp/AgentManager_Release_x64/full/functions/0x140047e90.c new file mode 100644 index 00000000..57ee3ccf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140047e90.c @@ -0,0 +1,59 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140047e90 FUN_140047e90 + * Pseudocode, not original source. */ + +void FUN_140047e90(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined *puVar1; + DWORD DVar2; + int *piVar3; + int *piVar4; + undefined **ppuVar5; + longlong *plVar6; + undefined *puVar7; + ulonglong uVar8; + undefined *local_res8; + undefined *local_res18; + + FUN_14003e7c0(param_1,param_2,param_3,param_4); + local_res18 = PTR_DAT_14016f010; + DVar2 = GetLastError(); + uVar8 = (ulonglong)DVar2; + puVar7 = &DAT_140107978; + ppuVar5 = &local_res18; + FUN_140029b80((longlong *)ppuVar5,L"%s에서 실패: %d",param_2,uVar8); + FUN_14003e7c0(ppuVar5,puVar7,param_2,uVar8); + puVar1 = local_res18; + local_res8 = PTR_DAT_14016f010; + if (PTR_DAT_14016f010 == (undefined *)0x0) { + local_res8 = (undefined *)0x0; + } + if (local_res18 != PTR_DAT_14016f010) { + piVar3 = (int *)FUN_14003e7c0(0,puVar7,param_2,uVar8); + FUN_14003d040(piVar3); + FUN_140002190((longlong *)&local_res8,puVar7,param_2,uVar8); + local_res8 = puVar1; + if (((puVar1 != PTR_DAT_14016f010) && (puVar1 != (undefined *)0x0)) && + (puVar1 != (undefined *)0x8)) { + *(int *)(puVar1 + -4) = *(int *)(puVar1 + -4) + 1; + } + FUN_14003d0d0((longlong)piVar3); + } + plVar6 = *(longlong **)(param_1 + 0x30); + ppuVar5 = &local_res8; + (**(code **)(*plVar6 + 8))(); + if (((puVar1 != (undefined *)0x0) && (puVar1 != PTR_DAT_14016f010)) && + (puVar1 + -8 != (undefined *)0x0)) { + piVar4 = (int *)FUN_14003e7c0(plVar6,param_1,ppuVar5,uVar8); + FUN_14003d040(piVar4); + piVar3 = (int *)(puVar1 + -4); + *piVar3 = *piVar3 + -1; + if (*piVar3 == 0) { + FUN_14003e8b0(puVar1 + -8); + } + FUN_14003d0d0((longlong)piVar4); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140047fc0.c b/decomp/AgentManager_Release_x64/full/functions/0x140047fc0.c new file mode 100644 index 00000000..f8b2541b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140047fc0.c @@ -0,0 +1,54 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140047fc0 FUN_140047fc0 + * Pseudocode, not original source. */ + +void FUN_140047fc0(longlong param_1,longlong *param_2,longlong *param_3,undefined8 param_4) + +{ + longlong *plVar1; + undefined8 *puVar2; + longlong lVar3; + undefined8 uVar4; + exception local_50 [72]; + + uVar4 = 0xfffffffffffffffe; + if (param_2[0x5d] == 0) { + FUN_14003db10(local_50,L"먼저 socket의 completion context를 세팅해야 함!",param_3, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_50,(ThrowInfo *)&DAT_14016c210); + } + if (param_2[0x79] != 0) { + FUN_14003db10(local_50,L"이미 Associte되었음!",param_3,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_50,(ThrowInfo *)&DAT_14016c210); + } + if (*(longlong *)(param_1 + 0x28) != 0) { + puVar2 = (undefined8 *)FUN_14003e0c0(param_1,param_2,param_3,param_4); + param_4 = 0; + param_3 = param_2; + lVar3 = (*(code *)*puVar2)(param_2[0x7a],*(undefined8 *)(param_1 + 0x28),param_2,0,uVar4); + if (lVar3 == 0) { + FUN_140047e90(param_1,L"Proud::CompletionPort::AssociateSocket",param_3,param_4); + } + } + FUN_14003d040((int *)(param_1 + 0x50)); + plVar1 = (longlong *)(param_1 + 0x38); + if (param_2[2] != 0) { + FUN_140043550(plVar1,param_2,param_3,param_4); + } + if (*(longlong *)(param_1 + 0x40) == 0) { + *plVar1 = (longlong)param_2; + } + else { + *(longlong **)(*(longlong *)(param_1 + 0x40) + 8) = param_2; + *param_2 = *(longlong *)(param_1 + 0x40); + } + *(longlong **)(param_1 + 0x40) = param_2; + param_2[2] = (longlong)plVar1; + *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + 1; + param_2[0x79] = param_1; + FUN_14003d0d0(param_1 + 0x50); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400480f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400480f0.c new file mode 100644 index 00000000..cf41638b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400480f0.c @@ -0,0 +1,19 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400480f0 FUN_1400480f0 + * Pseudocode, not original source. */ + +undefined8 * +FUN_1400480f0(undefined8 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + ulonglong uVar1; + undefined7 uVar2; + + uVar2 = (undefined7)((ulonglong)param_3 >> 8); + *param_1 = Proud::CRandom::vftable; + uVar1 = FUN_140094860(); + FUN_14003cf60((undefined4 *)(param_1 + 0x13c),uVar1 & 0xffffffff,CONCAT71(uVar2,1),param_4); + *(undefined4 *)(param_1 + 0x13b) = 0xfffffffe; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140048130.c b/decomp/AgentManager_Release_x64/full/functions/0x140048130.c new file mode 100644 index 00000000..e55e565f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140048130.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140048130 FUN_140048130 + * Pseudocode, not original source. */ + +void FUN_140048130(undefined8 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + *param_1 = Proud::CRandom::vftable; + FUN_14003d110((undefined4 *)(param_1 + 0x13c),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140048150.c b/decomp/AgentManager_Release_x64/full/functions/0x140048150.c new file mode 100644 index 00000000..af2473f2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140048150.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140048150 FUN_140048150 + * Pseudocode, not original source. */ + +undefined8 * +FUN_140048150(undefined8 *param_1,ulonglong param_2,undefined8 param_3,undefined8 param_4) + +{ + *param_1 = Proud::CRandom::vftable; + FUN_14003d110((undefined4 *)(param_1 + 0x13c),param_2,param_3,param_4); + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400481a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400481a0.c new file mode 100644 index 00000000..539b7664 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400481a0.c @@ -0,0 +1,27 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400481a0 FUN_1400481a0 + * Pseudocode, not original source. */ + +void FUN_1400481a0(longlong param_1,uint param_2) + +{ + uint *puVar1; + int iVar2; + uint uVar3; + + FUN_14003d040((int *)(param_1 + 0x9e0)); + uVar3 = param_2 | 1; + *(undefined4 *)(param_1 + 0x9d8) = 0; + *(uint *)(param_1 + 8) = uVar3; + iVar2 = 0x26f; + puVar1 = (uint *)(param_1 + 0xc); + do { + uVar3 = uVar3 * 0x10dcd; + iVar2 = iVar2 + -1; + *puVar1 = uVar3; + puVar1 = puVar1 + 1; + } while (iVar2 != 0); + FUN_14003d0d0(param_1 + 0x9e0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140048210.c b/decomp/AgentManager_Release_x64/full/functions/0x140048210.c new file mode 100644 index 00000000..04473cf7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140048210.c @@ -0,0 +1,57 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140048210 FUN_140048210 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_140048210(longlong param_1) + +{ + int *piVar1; + DWORD DVar2; + BOOL BVar3; + DWORD DVar4; + ushort uVar5; + undefined1 auStackY_78 [32]; + DWORD local_48 [6]; + int *local_30; + undefined1 local_28; + _SYSTEMTIME local_20; + ulonglong local_10; + + local_48[4] = 0xfffffffe; + local_48[5] = 0xffffffff; + local_10 = DAT_14016f5a0 ^ (ulonglong)auStackY_78; + piVar1 = (int *)(param_1 + 0x9e0); + local_30 = piVar1; + FUN_14003d040(piVar1); + local_28 = 1; + local_48[1] = 0; + local_48[2] = 0; + local_48[0] = 0; + local_48[3] = 0; + DVar2 = GetTickCount(); + BVar3 = GetDiskFreeSpaceW((LPCWSTR)0x0,local_48 + 1,local_48 + 2,local_48,local_48 + 3); + if (BVar3 == 0) { + local_20.wYear = 0; + local_20.wMonth = 0; + local_20.wDayOfWeek = 0; + local_20.wDay = 0; + local_20.wHour = 0; + local_20.wMinute = 0; + local_20.wSecond = 0; + local_20.wMilliseconds = 0; + GetSystemTime(&local_20); + uVar5 = local_20.wMilliseconds << 8 | + (ushort)(byte)(local_20.wMilliseconds._1_1_ + (char)local_20.wSecond); + } + else { + uVar5 = (ushort)local_48[0]; + DVar4 = GetTickCount(); + uVar5 = uVar5 ^ (ushort)DVar4; + } + FUN_1400481a0(param_1,DVar2 << 0x10 | (uint)uVar5); + FUN_14003d0d0((longlong)piVar1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140048320.c b/decomp/AgentManager_Release_x64/full/functions/0x140048320.c new file mode 100644 index 00000000..59caf185 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140048320.c @@ -0,0 +1,63 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140048320 FUN_140048320 + * Pseudocode, not original source. */ + +uint FUN_140048320(longlong param_1) + +{ + uint uVar1; + uint uVar2; + uint *puVar3; + uint *puVar4; + uint *puVar5; + uint *puVar6; + uint uVar7; + int iVar8; + uint *puVar9; + + if (*(int *)(param_1 + 0x9d8) < -1) { + FUN_140048210(param_1); + } + *(undefined4 *)(param_1 + 0x9d8) = 0x26f; + *(longlong *)(param_1 + 0x9d0) = param_1 + 0xc; + iVar8 = 0xe3; + puVar3 = (uint *)(param_1 + 0x10); + puVar5 = (uint *)(param_1 + 8); + uVar1 = *(uint *)(param_1 + 0xc); + uVar2 = *(uint *)(param_1 + 8); + do { + uVar7 = uVar1; + puVar4 = puVar3 + 1; + puVar6 = puVar5 + 1; + iVar8 = iVar8 + -1; + *puVar5 = ((uVar7 ^ uVar2) & 0x7ffffffe ^ uVar2) >> 1 ^ -(uint)((uVar7 & 1) != 0) & 0x9908b0df ^ + *(uint *)((longlong)puVar3 + ((param_1 + 0x63c) - (param_1 + 0x10))); + uVar1 = *puVar3; + puVar3 = puVar4; + puVar5 = puVar6; + uVar2 = uVar7; + } while (iVar8 != 0); + iVar8 = 0x18c; + puVar3 = (uint *)(param_1 + 8); + do { + uVar2 = uVar1; + puVar5 = puVar6 + 1; + puVar9 = puVar3 + 1; + iVar8 = iVar8 + -1; + *puVar6 = ((uVar2 ^ uVar7) & 0x7ffffffe ^ uVar7) >> 1 ^ -(uint)((uVar2 & 1) != 0) & 0x9908b0df ^ + *puVar3; + uVar1 = *puVar4; + puVar4 = puVar4 + 1; + puVar6 = puVar5; + puVar3 = puVar9; + uVar7 = uVar2; + } while (iVar8 != 0); + uVar1 = *(uint *)(param_1 + 8); + uVar7 = uVar1 ^ uVar1 >> 0xb; + *puVar5 = ((uVar1 ^ uVar2) & 0x7ffffffe ^ uVar2) >> 1 ^ -(uint)((uVar1 & 1) != 0) & 0x9908b0df ^ + *puVar9; + uVar7 = uVar7 ^ (uVar7 & 0xff3a58ad) << 7; + uVar7 = uVar7 ^ (uVar7 & 0xffffdf8c) << 0xf; + return uVar7 >> 0x12 ^ uVar7; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140048490.c b/decomp/AgentManager_Release_x64/full/functions/0x140048490.c new file mode 100644 index 00000000..cc4d0a8f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140048490.c @@ -0,0 +1,28 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140048490 FUN_140048490 + * Pseudocode, not original source. */ + +uint FUN_140048490(longlong param_1) + +{ + int *piVar1; + uint uVar2; + + FUN_14003d040((int *)(param_1 + 0x9e0)); + piVar1 = (int *)(param_1 + 0x9d8); + *piVar1 = *piVar1 + -1; + if (*piVar1 < 0) { + uVar2 = FUN_140048320(param_1); + } + else { + uVar2 = **(uint **)(param_1 + 0x9d0); + *(uint **)(param_1 + 0x9d0) = *(uint **)(param_1 + 0x9d0) + 1; + uVar2 = uVar2 ^ uVar2 >> 0xb; + uVar2 = uVar2 ^ (uVar2 & 0xff3a58ad) << 7; + uVar2 = uVar2 ^ (uVar2 & 0xffffdf8c) << 0xf; + uVar2 = uVar2 >> 0x12 ^ uVar2; + } + FUN_14003d0d0(param_1 + 0x9e0); + return uVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140048530.c b/decomp/AgentManager_Release_x64/full/functions/0x140048530.c new file mode 100644 index 00000000..5a505c0b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140048530.c @@ -0,0 +1,42 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140048530 FUN_140048530 + * Pseudocode, not original source. */ + +/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ + +undefined * +FUN_140048530(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + bool bVar1; + bool bVar2; + ulonglong uVar3; + undefined7 uVar4; + + uVar4 = (undefined7)((ulonglong)param_3 >> 8); + bVar1 = false; + bVar2 = FUN_14003d0e0((int *)&DAT_140177920); + if (bVar2) { + if (DAT_14016f500 == '\0') { + bVar1 = false; + } + else { + bVar1 = true; + FUN_14003d040((int *)&DAT_140177920); + } + } + if ((DAT_140177918 & 1) == 0) { + DAT_140177918 = DAT_140177918 | 1; + _DAT_140176f00 = Proud::CRandom::vftable; + uVar3 = FUN_140094860(); + FUN_14003cf60((undefined4 *)&DAT_1401778e0,uVar3 & 0xffffffff,CONCAT71(uVar4,1),param_4); + _DAT_1401778d8 = 0xfffffffe; + atexit((_func_5014 *)&LAB_1401045a0); + } + DAT_14016f500 = 0; + if (bVar1) { + FUN_14003d0d0(0x140177920); + } + return &DAT_140176f00; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140048600.c b/decomp/AgentManager_Release_x64/full/functions/0x140048600.c new file mode 100644 index 00000000..ea10b20f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140048600.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140048600 FUN_140048600 + * Pseudocode, not original source. */ + +void FUN_140048600(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined *puVar1; + + puVar1 = FUN_140048530(param_1,param_2,param_3,param_4); + FUN_140048490((longlong)puVar1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140048620.c b/decomp/AgentManager_Release_x64/full/functions/0x140048620.c new file mode 100644 index 00000000..31a40f86 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140048620.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140048620 FUN_140048620 + * Pseudocode, not original source. */ + +bool FUN_140048620(undefined8 *param_1,DWORD param_2) + +{ + DWORD DVar1; + + DVar1 = WaitForSingleObject((HANDLE)*param_1,param_2); + return DVar1 == 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140048640.c b/decomp/AgentManager_Release_x64/full/functions/0x140048640.c new file mode 100644 index 00000000..5c84d2c8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140048640.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140048640 FUN_140048640 + * Pseudocode, not original source. */ + +bool FUN_140048640(undefined8 *param_1) + +{ + DWORD DVar1; + + DVar1 = WaitForSingleObject((HANDLE)*param_1,0xffffffff); + return DVar1 == 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140048660.c b/decomp/AgentManager_Release_x64/full/functions/0x140048660.c new file mode 100644 index 00000000..744218f9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140048660.c @@ -0,0 +1,36 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140048660 FUN_140048660 + * Pseudocode, not original source. */ + +DWORD FUN_140048660(longlong param_1,uint param_2,ulonglong param_3,BOOL param_4) + +{ + longlong lVar1; + DWORD DVar2; + DWORD DVar3; + longlong lVar4; + exception local_258 [72]; + HANDLE apvStack_210 [65]; + + if ((int)param_2 < 0x41) { + lVar4 = 0; + if (0 < (int)param_2) { + do { + lVar1 = lVar4 * 8; + lVar4 = lVar4 + 1; + apvStack_210[lVar4] = (HANDLE)**(undefined8 **)(param_1 + lVar1); + } while (lVar4 < (int)param_2); + } + DVar2 = WaitForMultipleObjects(param_2,apvStack_210 + 1,param_4,(DWORD)param_3); + DVar3 = 0xffffffff; + if (DVar2 < param_2) { + DVar3 = DVar2; + } + return DVar3; + } + FUN_14003db10(local_258,L"WaitForSignal에서 최대 가능한 갯수를 초과했음",param_3, + param_3 & 0xffffffff); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_258,(ThrowInfo *)&DAT_14016c210); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400486f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400486f0.c new file mode 100644 index 00000000..369b0aa1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400486f0.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400486f0 FUN_1400486f0 + * Pseudocode, not original source. */ + +void FUN_1400486f0(undefined8 *param_1) + +{ + /* WARNING: Could not recover jumptable at 0x0001400486f3. Too many branches */ + /* WARNING: Treating indirect jump as call */ + CloseHandle((HANDLE)*param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140048700.c b/decomp/AgentManager_Release_x64/full/functions/0x140048700.c new file mode 100644 index 00000000..9fa094a8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140048700.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140048700 FUN_140048700 + * Pseudocode, not original source. */ + +undefined8 * FUN_140048700(undefined8 *param_1) + +{ + HANDLE pvVar1; + + pvVar1 = CreateEventW((LPSECURITY_ATTRIBUTES)0x0,0,0,(LPCWSTR)0x0); + *param_1 = pvVar1; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140048730.c b/decomp/AgentManager_Release_x64/full/functions/0x140048730.c new file mode 100644 index 00000000..0bb4f3f5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140048730.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140048730 FUN_140048730 + * Pseudocode, not original source. */ + +undefined8 * FUN_140048730(undefined8 *param_1,byte param_2,byte param_3) + +{ + HANDLE pvVar1; + + pvVar1 = CreateEventW((LPSECURITY_ATTRIBUTES)0x0,(uint)param_2,(uint)param_3,(LPCWSTR)0x0); + *param_1 = pvVar1; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140048760.c b/decomp/AgentManager_Release_x64/full/functions/0x140048760.c new file mode 100644 index 00000000..e6ec2781 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140048760.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140048760 FUN_140048760 + * Pseudocode, not original source. */ + +void FUN_140048760(longlong param_1) + +{ + FUN_140048490(param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140048790.c b/decomp/AgentManager_Release_x64/full/functions/0x140048790.c new file mode 100644 index 00000000..dedde8fa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140048790.c @@ -0,0 +1,23 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140048790 FUN_140048790 + * Pseudocode, not original source. */ + +int FUN_140048790(longlong param_1,int param_2) + +{ + uint uVar1; + int iVar2; + double dVar3; + + uVar1 = FUN_140048490(param_1); + dVar3 = (double)uVar1 / 4294967295.0; + if (dVar3 <= 0.0) { + dVar3 = 0.0; + } + iVar2 = (int)((double)(param_2 + 1) * dVar3); + if (iVar2 < param_2) { + param_2 = iVar2; + } + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400487e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400487e0.c new file mode 100644 index 00000000..015bf2e6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400487e0.c @@ -0,0 +1,28 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400487e0 FUN_1400487e0 + * Pseudocode, not original source. */ + +undefined4 * FUN_1400487e0(longlong param_1,undefined4 *param_2) + +{ + uint uVar1; + longlong lVar2; + double dVar3; + + *param_2 = 0; + param_2[1] = 0; + param_2[2] = 0; + param_2[3] = 0; + lVar2 = 0; + do { + uVar1 = FUN_140048490(param_1); + dVar3 = (double)uVar1 / 4294967295.0; + if (dVar3 <= 0.0) { + dVar3 = 0.0; + } + *(double *)(param_2 + lVar2 * 2) = dVar3; + lVar2 = lVar2 + 1; + } while (lVar2 < 2); + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140048880.c b/decomp/AgentManager_Release_x64/full/functions/0x140048880.c new file mode 100644 index 00000000..6d046451 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140048880.c @@ -0,0 +1,21 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140048880 FUN_140048880 + * Pseudocode, not original source. */ + +undefined2 * FUN_140048880(undefined2 *param_1) + +{ + BOOL BVar1; + LARGE_INTEGER local_res8 [4]; + + *param_1 = 0x100; + *(undefined8 *)(param_1 + 4) = 0; + *(undefined8 *)(param_1 + 8) = 0; + *(undefined8 *)(param_1 + 0xc) = 0; + *(undefined8 *)(param_1 + 0x10) = 0; + BVar1 = QueryPerformanceFrequency(local_res8); + *(bool *)param_1 = BVar1 != 0; + *(LARGE_INTEGER *)(param_1 + 4) = local_res8[0]; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400488d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400488d0.c new file mode 100644 index 00000000..f2aef4e7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400488d0.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400488d0 FUN_1400488d0 + * Pseudocode, not original source. */ + +void FUN_1400488d0(char *param_1) + +{ + LARGE_INTEGER local_res8 [4]; + + if (*param_1 != '\0') { + QueryPerformanceCounter(local_res8); + if (param_1[1] != '\0') { + *(longlong *)(param_1 + 0x20) = + *(longlong *)(param_1 + 0x20) + (local_res8[0].QuadPart - *(longlong *)(param_1 + 0x10)); + } + param_1[0x10] = '\0'; + param_1[0x11] = '\0'; + param_1[0x12] = '\0'; + param_1[0x13] = '\0'; + param_1[0x14] = '\0'; + param_1[0x15] = '\0'; + param_1[0x16] = '\0'; + param_1[0x17] = '\0'; + ((LARGE_INTEGER *)(param_1 + 0x18))->QuadPart = (LONGLONG)local_res8[0]; + param_1[1] = '\0'; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140048920.c b/decomp/AgentManager_Release_x64/full/functions/0x140048920.c new file mode 100644 index 00000000..1781ca82 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140048920.c @@ -0,0 +1,23 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140048920 FUN_140048920 + * Pseudocode, not original source. */ + +void FUN_140048920(char *param_1) + +{ + LARGE_INTEGER LVar1; + LARGE_INTEGER local_res8 [4]; + + if ((*param_1 != '\0') && (param_1[1] == '\0')) { + LVar1.QuadPart = ((LARGE_INTEGER *)(param_1 + 0x10))->QuadPart; + if (((LARGE_INTEGER *)(param_1 + 0x10))->QuadPart == 0) { + QueryPerformanceCounter(local_res8); + LVar1 = local_res8[0]; + } + ((LARGE_INTEGER *)(param_1 + 0x10))->QuadPart = (LONGLONG)LVar1; + ((LARGE_INTEGER *)(param_1 + 0x18))->QuadPart = (LONGLONG)LVar1; + param_1[1] = '\x01'; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140048960.c b/decomp/AgentManager_Release_x64/full/functions/0x140048960.c new file mode 100644 index 00000000..0efb2dba --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140048960.c @@ -0,0 +1,21 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140048960 FUN_140048960 + * Pseudocode, not original source. */ + +double FUN_140048960(char *param_1) + +{ + LARGE_INTEGER LVar1; + LARGE_INTEGER local_res8 [4]; + + if (*param_1 == '\0') { + return -1.0; + } + LVar1.QuadPart = ((LARGE_INTEGER *)(param_1 + 0x10))->QuadPart; + if (((LARGE_INTEGER *)(param_1 + 0x10))->QuadPart == 0) { + QueryPerformanceCounter(local_res8); + LVar1 = local_res8[0]; + } + return (double)LVar1.QuadPart / (double)*(longlong *)(param_1 + 8); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400489c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400489c0.c new file mode 100644 index 00000000..e06af2ce --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400489c0.c @@ -0,0 +1,24 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400489c0 FUN_1400489c0 + * Pseudocode, not original source. */ + +double FUN_1400489c0(char *param_1) + +{ + longlong lVar1; + LARGE_INTEGER LVar2; + LARGE_INTEGER local_res8 [4]; + + if (*param_1 == '\0') { + return -1.0; + } + LVar2.QuadPart = ((LARGE_INTEGER *)(param_1 + 0x10))->QuadPart; + if (((LARGE_INTEGER *)(param_1 + 0x10))->QuadPart == 0) { + QueryPerformanceCounter(local_res8); + LVar2 = local_res8[0]; + } + lVar1 = *(longlong *)(param_1 + 0x18); + ((LARGE_INTEGER *)(param_1 + 0x18))->QuadPart = (LONGLONG)LVar2; + return (double)(LVar2.QuadPart - lVar1) / (double)*(longlong *)(param_1 + 8); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140048a20.c b/decomp/AgentManager_Release_x64/full/functions/0x140048a20.c new file mode 100644 index 00000000..0ec7653c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140048a20.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140048a20 FUN_140048a20 + * Pseudocode, not original source. */ + +undefined1 FUN_140048a20(longlong param_1) + +{ + return *(undefined1 *)(param_1 + 1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140048a34.c b/decomp/AgentManager_Release_x64/full/functions/0x140048a34.c new file mode 100644 index 00000000..b8037d69 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140048a34.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140048a34 ATL::CAtlBaseModule::~CAtlBaseModule + * Pseudocode, not original source. */ + +/* Library Function - Single Match + public: __cdecl ATL::CAtlBaseModule::~CAtlBaseModule(void) __ptr64 + + Library: Visual Studio */ + +void __thiscall ATL::CAtlBaseModule::~CAtlBaseModule(CAtlBaseModule *this) + +{ + DeleteCriticalSection((LPCRITICAL_SECTION)(this + 0x28)); + if (*(void **)(this + 0x50) != (void *)0x0) { + free(*(void **)(this + 0x50)); + *(undefined8 *)(this + 0x50) = 0; + } + *(undefined4 *)(this + 0x58) = 0; + *(undefined4 *)(this + 0x5c) = 0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140048a68.c b/decomp/AgentManager_Release_x64/full/functions/0x140048a68.c new file mode 100644 index 00000000..5915aab6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140048a68.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140048a68 ATL::CAtlBaseModule::GetHInstanceAt + * Pseudocode, not original source. */ + +/* Library Function - Single Match + public: struct HINSTANCE__ * __ptr64 __cdecl ATL::CAtlBaseModule::GetHInstanceAt(int) __ptr64 + + Libraries: Visual Studio 2008 Release, Visual Studio 2010 Release */ + +HINSTANCE__ * __thiscall ATL::CAtlBaseModule::GetHInstanceAt(CAtlBaseModule *this,int param_1) + +{ + code *pcVar1; + HINSTANCE__ *pHVar2; + + EnterCriticalSection((LPCRITICAL_SECTION)(this + 0x28)); + if ((*(int *)(this + 0x58) < param_1) || (param_1 < 0)) { + LeaveCriticalSection((LPCRITICAL_SECTION)(this + 0x28)); + pHVar2 = (HINSTANCE__ *)0x0; + } + else { + if (param_1 == *(int *)(this + 0x58)) { + pHVar2 = *(HINSTANCE__ **)(this + 0x10); + } + else { + if (*(int *)(this + 0x58) <= param_1) { + RaiseException(0xc000008c,1,0,(ULONG_PTR *)0x0); + pcVar1 = (code *)swi(3); + pHVar2 = (HINSTANCE__ *)(*pcVar1)(); + return pHVar2; + } + pHVar2 = *(HINSTANCE__ **)(*(longlong *)(this + 0x50) + (longlong)param_1 * 8); + } + LeaveCriticalSection((LPCRITICAL_SECTION)(this + 0x28)); + } + return pHVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140048ae8.c b/decomp/AgentManager_Release_x64/full/functions/0x140048ae8.c new file mode 100644 index 00000000..66721aa0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140048ae8.c @@ -0,0 +1,39 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140048ae8 ATL::CAtlBaseModule::CAtlBaseModule + * Pseudocode, not original source. */ + +/* Library Function - Single Match + public: __cdecl ATL::CAtlBaseModule::CAtlBaseModule(void) __ptr64 + + Library: Visual Studio 2010 Release */ + +CAtlBaseModule * __thiscall ATL::CAtlBaseModule::CAtlBaseModule(CAtlBaseModule *this) + +{ + DWORD DVar1; + BOOL BVar2; + DWORD DVar3; + + memset(this + 0x28,0,0x28); + *(undefined8 *)(this + 0x50) = 0; + *(undefined4 *)(this + 0x58) = 0; + *(undefined4 *)(this + 0x5c) = 0; + *(IMAGE_DOS_HEADER **)(this + 0x10) = &IMAGE_DOS_HEADER_140000000; + *(IMAGE_DOS_HEADER **)(this + 8) = &IMAGE_DOS_HEADER_140000000; + *(undefined4 *)this = 0x60; + *(undefined4 *)(this + 0x18) = 0xa00; + *(undefined **)(this + 0x20) = &DAT_140108a60; + BVar2 = InitializeCriticalSectionAndSpinCount((LPCRITICAL_SECTION)(this + 0x28),0); + if (BVar2 == 0) { + DVar3 = GetLastError(); + DVar1 = DVar3 & 0xffff | 0x80070000; + if ((int)DVar3 < 1) { + DVar1 = DVar3; + } + if ((int)DVar1 < 0) { + DAT_14017c8a4 = 1; + } + } + return this; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140048b90.c b/decomp/AgentManager_Release_x64/full/functions/0x140048b90.c new file mode 100644 index 00000000..d6f291d6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140048b90.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140048b90 FUN_140048b90 + * Pseudocode, not original source. */ + +void FUN_140048b90(longlong param_1,LPVOID param_2) + +{ + if (param_2 != (LPVOID)0x0) { + HeapFree(*(HANDLE *)(param_1 + 8),0,param_2); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140048bb0.c b/decomp/AgentManager_Release_x64/full/functions/0x140048bb0.c new file mode 100644 index 00000000..be5a6e38 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140048bb0.c @@ -0,0 +1,31 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140048bb0 ATL::CWin32Heap::Reallocate + * Pseudocode, not original source. */ + +/* Library Function - Single Match + public: virtual void * __ptr64 __cdecl ATL::CWin32Heap::Reallocate(void * __ptr64,unsigned + __int64) __ptr64 + + Libraries: Visual Studio 2010 Release, Visual Studio 2012 Release */ + +void * __thiscall ATL::CWin32Heap::Reallocate(CWin32Heap *this,void *param_1,__uint64 param_2) + +{ + void *pvVar1; + + if (param_1 == (void *)0x0) { + /* WARNING: Could not recover jumptable at 0x000140048bc3. Too many branches */ + /* WARNING: Treating indirect jump as call */ + pvVar1 = (void *)(*(code *)**(undefined8 **)this)(this,param_2); + return pvVar1; + } + if (param_2 == 0) { + (**(code **)(*(longlong *)this + 8))(); + return (void *)0x0; + } + /* WARNING: Could not recover jumptable at 0x000140048be8. Too many branches */ + /* WARNING: Treating indirect jump as call */ + pvVar1 = (void *)HeapReAlloc(*(undefined8 *)(this + 8),0,param_1,param_2); + return pvVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140048c00.c b/decomp/AgentManager_Release_x64/full/functions/0x140048c00.c new file mode 100644 index 00000000..ba5973f1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140048c00.c @@ -0,0 +1,23 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140048c00 ATL::CWin32Heap::`scalar_deleting_destructor' + * Pseudocode, not original source. */ + +/* Library Function - Single Match + public: virtual void * __ptr64 __cdecl ATL::CWin32Heap::`scalar deleting destructor'(unsigned + int) __ptr64 + + Libraries: Visual Studio 2008 Release, Visual Studio 2010 Release, Visual Studio 2012 Release */ + +void * __thiscall ATL::CWin32Heap::_scalar_deleting_destructor_(CWin32Heap *this,uint param_1) + +{ + *(undefined ***)this = &PTR_LAB_140108a70; + if ((this[0x10] != (CWin32Heap)0x0) && (*(HANDLE *)(this + 8) != (HANDLE)0x0)) { + HeapDestroy(*(HANDLE *)(this + 8)); + } + if ((param_1 & 1) != 0) { + operator_delete(this); + } + return this; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140048c58.c b/decomp/AgentManager_Release_x64/full/functions/0x140048c58.c new file mode 100644 index 00000000..589efc44 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140048c58.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140048c58 FUN_140048c58 + * Pseudocode, not original source. */ + +longlong FUN_140048c58(longlong param_1) + +{ + LOCK(); + *(int *)(param_1 + 0x20) = *(int *)(param_1 + 0x20) + 1; + UNLOCK(); + return param_1 + 0x10; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140048c64.c b/decomp/AgentManager_Release_x64/full/functions/0x140048c64.c new file mode 100644 index 00000000..9116b342 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140048c64.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140048c64 std::_Mutex::_Mutex + * Pseudocode, not original source. */ + +/* public: __cdecl std::_Mutex::_Mutex(enum std::_Uninitialized) __ptr64 */ + +_Mutex * __thiscall std::_Mutex::_Mutex(_Mutex *this,_Uninitialized param_1) + +{ + /* 0x48c64 1 ??0_Mutex@std@@QEAA@W4_Uninitialized@1@@Z + 0x48c64 2 ??4_Init_locks@std@@QEAAAEAV01@AEBV01@@Z */ + return this; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140048c68.c b/decomp/AgentManager_Release_x64/full/functions/0x140048c68.c new file mode 100644 index 00000000..a5e66f5f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140048c68.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140048c68 FUN_140048c68 + * Pseudocode, not original source. */ + +undefined8 * FUN_140048c68(undefined8 *param_1,byte param_2) + +{ + *param_1 = &PTR_Allocate_140108a98; + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140048c90.c b/decomp/AgentManager_Release_x64/full/functions/0x140048c90.c new file mode 100644 index 00000000..f22ac15f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140048c90.c @@ -0,0 +1,46 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140048c90 ATL::CAtlStringMgr::Allocate + * Pseudocode, not original source. */ + +/* Library Function - Single Match + public: virtual struct ATL::CStringData * __ptr64 __cdecl ATL::CAtlStringMgr::Allocate(int,int) + __ptr64 + + Libraries: Visual Studio 2008 Release, Visual Studio 2010 Release */ + +CStringData * __thiscall ATL::CAtlStringMgr::Allocate(CAtlStringMgr *this,int param_1,int param_2) + +{ + undefined1 auVar1 [16]; + CStringData *pCVar2; + uint uVar3; + ulonglong uVar4; + + uVar3 = param_1 + 8U & 0xfffffff8; + if (uVar3 == 0) { + uVar4 = 0; + } + else { + auVar1._8_8_ = 0; + auVar1._0_8_ = (longlong)(int)uVar3; + if (SUB168((ZEXT816(0) << 0x40 | ZEXT816(0xffffffffffffffff)) / auVar1,0) < + (ulonglong)(longlong)param_2) { + return (CStringData *)0x0; + } + uVar4 = (longlong)(int)uVar3 * (longlong)param_2; + if (0xffffffffffffffe7 < uVar4) { + return (CStringData *)0x0; + } + } + pCVar2 = (CStringData *) + (**(code **)**(undefined8 **)(this + 8))(*(undefined8 **)(this + 8),uVar4 + 0x18); + if (pCVar2 == (CStringData *)0x0) { + return (CStringData *)0x0; + } + *(undefined4 *)(pCVar2 + 8) = 0; + *(CAtlStringMgr **)pCVar2 = this; + *(undefined4 *)(pCVar2 + 0x10) = 1; + *(uint *)(pCVar2 + 0xc) = uVar3 - 1; + return pCVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140048d08.c b/decomp/AgentManager_Release_x64/full/functions/0x140048d08.c new file mode 100644 index 00000000..df7a13ce --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140048d08.c @@ -0,0 +1,32 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140048d08 ATL::CAtlStringMgr::Reallocate + * Pseudocode, not original source. */ + +/* Library Function - Single Match + public: virtual struct ATL::CStringData * __ptr64 __cdecl ATL::CAtlStringMgr::Reallocate(struct + ATL::CStringData * __ptr64,int,int) __ptr64 + + Libraries: Visual Studio 2008 Release, Visual Studio 2010 Release */ + +CStringData * __thiscall +ATL::CAtlStringMgr::Reallocate(CAtlStringMgr *this,CStringData *param_1,int param_2,int param_3) + +{ + CStringData *pCVar1; + uint uVar2; + uint uVar3; + ulonglong uVar4; + + uVar2 = param_2 + 8U & 0xfffffff8; + uVar4 = (ulonglong)uVar2 * (ulonglong)(uint)param_3; + if (((uVar4 < 0x100000000) && (uVar3 = (uint)uVar4, uVar3 < 0xffffffe8)) && + (pCVar1 = (CStringData *) + (**(code **)(**(longlong **)(this + 8) + 0x10)) + (*(longlong **)(this + 8),param_1,uVar3 + 0x18), + pCVar1 != (CStringData *)0x0)) { + *(uint *)(pCVar1 + 0xc) = uVar2 - 1; + return pCVar1; + } + return (CStringData *)0x0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140048d70.c b/decomp/AgentManager_Release_x64/full/functions/0x140048d70.c new file mode 100644 index 00000000..c833e9c2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140048d70.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140048d70 FUN_140048d70 + * Pseudocode, not original source. */ + +void FUN_140048d70(undefined8 param_1) + +{ + /* WARNING: Could not recover jumptable at 0x000140048d72. Too many branches */ + /* WARNING: Treating indirect jump as call */ + (*(code *)PTR_FUN_14016f538)(param_1,0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140048d80.c b/decomp/AgentManager_Release_x64/full/functions/0x140048d80.c new file mode 100644 index 00000000..2c732204 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140048d80.c @@ -0,0 +1,31 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140048d80 _com_issue_errorex + * Pseudocode, not original source. */ + +/* Library Function - Single Match + void __cdecl _com_issue_errorex(long,struct IUnknown * __ptr64,struct _GUID const & __ptr64) + + Libraries: Visual Studio 2008 Release, Visual Studio 2010 Release, Visual Studio 2012 Release */ + +void __cdecl _com_issue_errorex(long param_1,IUnknown *param_2,_GUID *param_3) + +{ + HRESULT HVar1; + int iVar2; + undefined8 local_res10; + longlong *local_res20; + + local_res10 = 0; + if ((param_2 != (IUnknown *)0x0) && + (HVar1 = (*param_2->lpVtbl->QueryInterface)(param_2,(IID *)&DAT_140108ac8,&local_res20), + -1 < HVar1)) { + iVar2 = (**(code **)(*local_res20 + 0x18))(local_res20,param_3); + (**(code **)(*local_res20 + 0x10))(); + if ((iVar2 == 0) && (iVar2 = Ordinal_200(0,&local_res10), iVar2 != 0)) { + local_res10 = 0; + } + } + (*(code *)PTR_FUN_14016f538)(param_1,local_res10); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140048e20.c b/decomp/AgentManager_Release_x64/full/functions/0x140048e20.c new file mode 100644 index 00000000..575d98af --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140048e20.c @@ -0,0 +1,53 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140048e20 FUN_140048e20 + * Pseudocode, not original source. */ + +LPSTR FUN_140048e20(LPCWSTR param_1) + +{ + WCHAR WVar1; + int iVar2; + uint uVar3; + LPSTR lpMultiByteStr; + longlong lVar4; + LPCWSTR pWVar5; + + lpMultiByteStr = (LPSTR)0x0; + if (param_1 != (LPCWSTR)0x0) { + lVar4 = -1; + pWVar5 = param_1; + do { + if (lVar4 == 0) break; + lVar4 = lVar4 + -1; + WVar1 = *pWVar5; + pWVar5 = pWVar5 + 1; + } while (WVar1 != L'\0'); + iVar2 = WideCharToMultiByte(0,0,param_1,~(uint)lVar4,(LPSTR)0x0,0,(LPCSTR)0x0,(LPBOOL)0x0); + if (iVar2 == 0) { + uVar3 = GetLastError(); + if (0 < (int)uVar3) { + uVar3 = uVar3 & 0xffff | 0x80070000; + } + /* WARNING: Subroutine does not return */ + FUN_140048d70((ulonglong)uVar3); + } + lpMultiByteStr = operator_new((longlong)iVar2); + if (lpMultiByteStr == (LPSTR)0x0) { + /* WARNING: Subroutine does not return */ + FUN_140048d70(0x8007000e); + } + iVar2 = WideCharToMultiByte(0,0,param_1,~(uint)lVar4,lpMultiByteStr,iVar2,(LPCSTR)0x0, + (LPBOOL)0x0); + if (iVar2 == 0) { + operator_delete(lpMultiByteStr); + uVar3 = GetLastError(); + if (0 < (int)uVar3) { + uVar3 = uVar3 & 0xffff | 0x80070000; + } + /* WARNING: Subroutine does not return */ + FUN_140048d70((ulonglong)uVar3); + } + } + return lpMultiByteStr; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140048f30.c b/decomp/AgentManager_Release_x64/full/functions/0x140048f30.c new file mode 100644 index 00000000..47078cd6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140048f30.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140048f30 _com_error::~_com_error + * Pseudocode, not original source. */ + +/* Library Function - Single Match + public: virtual __cdecl _com_error::~_com_error(void) __ptr64 + + Libraries: Visual Studio 2005 Release, Visual Studio 2010 Release, Visual Studio 2012 Release */ + +void __thiscall _com_error::~_com_error(_com_error *this) + +{ + *(undefined ***)this = vftable; + if (*(longlong **)(this + 0x10) != (longlong *)0x0) { + (**(code **)(**(longlong **)(this + 0x10) + 0x10))(); + } + if (*(HLOCAL *)(this + 0x18) != (HLOCAL)0x0) { + LocalFree(*(HLOCAL *)(this + 0x18)); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140048f70.c b/decomp/AgentManager_Release_x64/full/functions/0x140048f70.c new file mode 100644 index 00000000..587fc85a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140048f70.c @@ -0,0 +1,20 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140048f70 FUN_140048f70 + * Pseudocode, not original source. */ + +void FUN_140048f70(undefined4 param_1,undefined8 param_2) + +{ + undefined **local_28; + undefined4 local_20; + undefined8 local_18; + undefined8 local_10; + + local_10 = 0; + local_28 = _com_error::vftable; + local_20 = param_1; + local_18 = param_2; + /* WARNING: Subroutine does not return */ + _CxxThrowException(&local_28,(ThrowInfo *)&DAT_14016c000); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140048fb0.c b/decomp/AgentManager_Release_x64/full/functions/0x140048fb0.c new file mode 100644 index 00000000..6cdeb20b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140048fb0.c @@ -0,0 +1,25 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140048fb0 _com_error::_com_error + * Pseudocode, not original source. */ + +/* Library Function - Single Match + public: __cdecl _com_error::_com_error(class _com_error const & __ptr64) __ptr64 + + Libraries: Visual Studio 2008 Release, Visual Studio 2010 Release, Visual Studio 2012 Release */ + +_com_error * __thiscall _com_error::_com_error(_com_error *this,_com_error *param_1) + +{ + longlong *plVar1; + + *(undefined ***)this = vftable; + *(undefined4 *)(this + 8) = *(undefined4 *)(param_1 + 8); + plVar1 = *(longlong **)(param_1 + 0x10); + *(undefined8 *)(this + 0x18) = 0; + *(longlong **)(this + 0x10) = plVar1; + if (plVar1 != (longlong *)0x0) { + (**(code **)(*plVar1 + 8))(plVar1); + } + return this; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140048ff0.c b/decomp/AgentManager_Release_x64/full/functions/0x140048ff0.c new file mode 100644 index 00000000..00aed7e5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140048ff0.c @@ -0,0 +1,20 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140048ff0 FUN_140048ff0 + * Pseudocode, not original source. */ + +undefined8 * FUN_140048ff0(undefined8 *param_1,uint param_2) + +{ + *param_1 = _com_error::vftable; + if ((longlong *)param_1[2] != (longlong *)0x0) { + (**(code **)(*(longlong *)param_1[2] + 0x10))(); + } + if ((HLOCAL)param_1[3] != (HLOCAL)0x0) { + LocalFree((HLOCAL)param_1[3]); + } + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140049060.c b/decomp/AgentManager_Release_x64/full/functions/0x140049060.c new file mode 100644 index 00000000..d6b6b490 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140049060.c @@ -0,0 +1,21 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140049060 __security_check_cookie + * Pseudocode, not original source. */ + +/* WARNING: This is an inlined function */ +/* Library Function - Single Match + __security_check_cookie + + Libraries: Visual Studio 2005 Debug, Visual Studio 2005 Release, Visual Studio 2010 Debug, Visual + Studio 2010 Release */ + +void __cdecl __security_check_cookie(uintptr_t _StackCookie) + +{ + if ((_StackCookie == DAT_14016f5a0) && ((short)(_StackCookie >> 0x30) == 0)) { + return; + } + /* WARNING: Subroutine does not return */ + __report_gsfailure(_StackCookie); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140049094.c b/decomp/AgentManager_Release_x64/full/functions/0x140049094.c new file mode 100644 index 00000000..2b45ae84 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140049094.c @@ -0,0 +1,34 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140049094 _onexit + * Pseudocode, not original source. */ + +/* Library Function - Single Match + _onexit + + Libraries: Visual Studio 2008 Release, Visual Studio 2010 Release, Visual Studio 2012 Release */ + +_onexit_t __cdecl _onexit(_onexit_t _Func) + +{ + _onexit_t p_Var1; + PVOID pvVar2; + PVOID local_res10; + PVOID local_res18 [2]; + + local_res10 = DecodePointer(DAT_14017d628); + if (local_res10 == (PVOID)0xffffffffffffffff) { + p_Var1 = _onexit(_Func); + } + else { + _lock(8); + local_res10 = DecodePointer(DAT_14017d628); + local_res18[0] = DecodePointer(DAT_14017d620); + pvVar2 = EncodePointer(_Func); + p_Var1 = (_onexit_t)__dllonexit(pvVar2,&local_res10,local_res18); + DAT_14017d628 = EncodePointer(local_res10); + DAT_14017d620 = EncodePointer(local_res18[0]); + _unlock(8); + } + return p_Var1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140049144.c b/decomp/AgentManager_Release_x64/full/functions/0x140049144.c new file mode 100644 index 00000000..1bd1ce6f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140049144.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140049144 atexit + * Pseudocode, not original source. */ + +/* Library Function - Single Match + atexit + + Libraries: Visual Studio 2008 Release, Visual Studio 2010 Release, Visual Studio 2012 Release */ + +int __cdecl atexit(_func_5014 *param_1) + +{ + _onexit_t p_Var1; + + p_Var1 = _onexit((_onexit_t)param_1); + return (p_Var1 != (_onexit_t)0x0) - 1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004915c.c b/decomp/AgentManager_Release_x64/full/functions/0x14004915c.c new file mode 100644 index 00000000..5e3e70ac --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004915c.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004915c type_info::`vector_deleting_destructor' + * Pseudocode, not original source. */ + +/* Library Function - Single Match + public: virtual void * __ptr64 __cdecl type_info::`vector deleting destructor'(unsigned int) + __ptr64 + + Library: Visual Studio 2010 Release */ + +void * __thiscall type_info::_vector_deleting_destructor_(type_info *this,uint param_1) + +{ + if ((param_1 & 2) == 0) { + type_info::_type_info_dtor_internal_method(this); + if ((param_1 & 1) != 0) { + operator_delete(this); + } + } + else { + _eh_vector_destructor_iterator_ + (this,0x18,*(int *)(this + -8),type_info::_type_info_dtor_internal_method); + if ((param_1 & 1) != 0) { + operator_delete(this + -8); + } + this = this + -8; + } + return this; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400491cc.c b/decomp/AgentManager_Release_x64/full/functions/0x1400491cc.c new file mode 100644 index 00000000..dde70c4b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400491cc.c @@ -0,0 +1,19 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400491cc FUN_1400491cc + * Pseudocode, not original source. */ + +/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ + +void FUN_1400491cc(void) + +{ + atexit(FUN_1400498f4); + _DAT_1401779fc = DAT_140177f84; + _DAT_1401779f8 = + __wgetmainargs(&DAT_1401779e0,&DAT_1401779f0,&DAT_1401779e8,DAT_140177f80,&DAT_1401779fc); + if (_DAT_1401779f8 < 0) { + _amsg_exit(8); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140049234.c b/decomp/AgentManager_Release_x64/full/functions/0x140049234.c new file mode 100644 index 00000000..cd8c859a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140049234.c @@ -0,0 +1,81 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140049234 __tmainCRTStartup + * Pseudocode, not original source. */ + +/* Library Function - Single Match + __tmainCRTStartup + + Library: Visual Studio 2010 Release */ + +ulonglong __tmainCRTStartup(void) + +{ + void *pvVar1; + bool bVar2; + void *pvVar3; + int iVar4; + BOOL BVar5; + void *pvVar6; + ulonglong uVar7; + longlong **in_R9; + bool bVar8; + + pvVar1 = StackBase; + bVar2 = false; + while( true ) { + pvVar6 = (void *)0x0; + LOCK(); + bVar8 = DAT_14017d610 == (void *)0x0; + pvVar3 = pvVar1; + if (!bVar8) { + pvVar6 = DAT_14017d610; + pvVar3 = DAT_14017d610; + } + DAT_14017d610 = pvVar3; + UNLOCK(); + if (bVar8) goto LAB_14004927a; + if (pvVar6 == pvVar1) break; + Sleep(1000); + } + bVar2 = true; +LAB_14004927a: + if (DAT_14017d608 == 1) { + _amsg_exit(0x1f); + } + else if (DAT_14017d608 == 0) { + DAT_14017d608 = 1; + iVar4 = _initterm_e(&DAT_140105df0,&DAT_140105e08); + if (iVar4 != 0) { + return 0xff; + } + } + else { + DAT_140177a04 = 1; + } + if (DAT_14017d608 == 1) { + _initterm(&DAT_140105a70,&DAT_140105de8); + DAT_14017d608 = 2; + } + if (!bVar2) { + LOCK(); + DAT_14017d610 = (void *)0x0; + UNLOCK(); + } + if ((DAT_14017d618 != (code *)0x0) && + (BVar5 = _IsNonwritableInCurrentImage((PBYTE)&DAT_14017d618), BVar5 != 0)) { + (*DAT_14017d618)(0,2); + } + *(undefined8 *)__winitenv_exref = DAT_1401779e8; + uVar7 = FUN_140001390(DAT_1401779e0,DAT_1401779f0,DAT_1401779e8,in_R9); + DAT_140177a00 = (uint)uVar7; + if (DAT_1401779e4 != 0) { + if (DAT_140177a04 == 0) { + _cexit(); + uVar7 = (ulonglong)DAT_140177a00; + } + return uVar7; + } + /* WARNING: Subroutine does not return */ + exit(DAT_140177a00); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400493b4.c b/decomp/AgentManager_Release_x64/full/functions/0x1400493b4.c new file mode 100644 index 00000000..c0e91bc3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400493b4.c @@ -0,0 +1,26 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400493b4 FUN_1400493b4 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x0001400493c6) */ + +undefined8 FUN_1400493b4(void) + +{ + DAT_1401779e4 = 0; + __set_app_type(1); + DAT_14017d620 = EncodePointer((PVOID)0xffffffffffffffff); + DAT_14017d628 = DAT_14017d620; + *(undefined4 *)_fmode_exref = DAT_140177f8c; + *(undefined4 *)_commode_exref = DAT_140177f88; + FUN_1400498bc(); + FUN_140049a10(); + if (DAT_14016f5cc == 0) { + __setusermatherr(FUN_140049a10); + } + if (DAT_14016f5c8 == -1) { + _configthreadlocale(-1); + } + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140049484.c b/decomp/AgentManager_Release_x64/full/functions/0x140049484.c new file mode 100644 index 00000000..33cb100d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140049484.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140049484 entry + * Pseudocode, not original source. */ + +void entry(void) + +{ + __security_init_cookie(); + __tmainCRTStartup(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400494b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400494b0.c new file mode 100644 index 00000000..3f75fd68 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400494b0.c @@ -0,0 +1,25 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400494b0 __GSHandlerCheckCommon + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* Library Function - Single Match + __GSHandlerCheckCommon + + Libraries: Visual Studio 2008 Release, Visual Studio 2010 Release, Visual Studio 2012 Release, + Visual Studio 2019 Release */ + +longlong __GSHandlerCheckCommon(undefined8 param_1,longlong param_2) + +{ + longlong lVar1; + longlong lVar2; + + lVar1 = *(longlong *)(param_2 + 0x10); + lVar2 = (ulonglong)*(uint *)(lVar1 + 8) + *(longlong *)(param_2 + 8); + if ((*(byte *)(lVar2 + 3) & 0xf) != 0) { + lVar1 = (longlong)(int)(*(byte *)(lVar2 + 3) & 0xfffffff0); + } + return lVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140049514.c b/decomp/AgentManager_Release_x64/full/functions/0x140049514.c new file mode 100644 index 00000000..3127e4ce --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140049514.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140049514 __GSHandlerCheck + * Pseudocode, not original source. */ + +/* Library Function - Single Match + __GSHandlerCheck + + Libraries: Visual Studio 2008 Release, Visual Studio 2010 Release, Visual Studio 2012 Release, + Visual Studio 2019 Release */ + +undefined8 +__GSHandlerCheck(undefined8 param_1,undefined8 param_2,undefined8 param_3,longlong param_4) + +{ + __GSHandlerCheckCommon(param_2,param_4); + return 1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140049534.c b/decomp/AgentManager_Release_x64/full/functions/0x140049534.c new file mode 100644 index 00000000..1c47aea9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140049534.c @@ -0,0 +1,25 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140049534 FUN_140049534 + * Pseudocode, not original source. */ + +undefined8 FUN_140049534(longlong param_1,undefined8 param_2,undefined8 param_3,longlong param_4) + +{ + uint uVar1; + longlong lVar2; + uint uVar3; + + lVar2 = *(longlong *)(param_4 + 0x38); + __GSHandlerCheckCommon(param_2,param_4); + uVar1 = *(uint *)(lVar2 + 4); + uVar3 = uVar1 & 2; + if ((*(uint *)(param_1 + 4) & 0x66) == 0) { + uVar3 = uVar1 & 1; + } + if (uVar3 != 0) { + /* WARNING: Subroutine does not return */ + __CxxFrameHandler3(param_1,param_2,param_3,param_4); + } + return 1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400495d8.c b/decomp/AgentManager_Release_x64/full/functions/0x1400495d8.c new file mode 100644 index 00000000..554b9c76 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400495d8.c @@ -0,0 +1,21 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400495d8 __ArrayUnwind + * Pseudocode, not original source. */ + +/* Library Function - Single Match + void __cdecl __ArrayUnwind(void * __ptr64,unsigned __int64,int,void (__cdecl*)(void * __ptr64)) + + Library: Visual Studio 2010 Release */ + +void __cdecl __ArrayUnwind(void *param_1,__uint64 param_2,int param_3,_func_void_void_ptr *param_4) + +{ + while( true ) { + param_3 = param_3 + -1; + if (param_3 < 0) break; + param_1 = (void *)((longlong)param_1 - param_2); + (*param_4)(param_1); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140049624.c b/decomp/AgentManager_Release_x64/full/functions/0x140049624.c new file mode 100644 index 00000000..b2340d76 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140049624.c @@ -0,0 +1,31 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140049624 `eh_vector_destructor_iterator' + * Pseudocode, not original source. */ + +/* Library Function - Single Match + void __cdecl `eh vector destructor iterator'(void * __ptr64,unsigned __int64,int,void + (__cdecl*)(void * __ptr64)) + + Library: Visual Studio 2010 Release */ + +void __cdecl +_eh_vector_destructor_iterator_ + (void *param_1,__uint64 param_2,int param_3,_func_void_void_ptr *param_4) + +{ + void *pvVar1; + uint uVar2; + ulonglong uVar3; + + uVar3 = (ulonglong)param_3; + pvVar1 = (void *)(uVar3 * param_2 + (longlong)param_1); + while( true ) { + uVar2 = (int)uVar3 - 1; + uVar3 = (ulonglong)uVar2; + if ((int)uVar2 < 0) break; + pvVar1 = (void *)((longlong)pvVar1 - param_2); + (*param_4)(pvVar1); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400496a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400496a0.c new file mode 100644 index 00000000..5e49b7ba --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400496a0.c @@ -0,0 +1,32 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400496a0 __chkstk + * Pseudocode, not original source. */ + +/* WARNING: This is an inlined function */ +/* Library Function - Single Match + __chkstk + + Libraries: Visual Studio 2005, Visual Studio 2008, Visual Studio 2010, Visual Studio 2012 */ + +void __chkstk(void) + +{ + undefined1 *in_RAX; + undefined1 *puVar1; + undefined1 *puVar2; + undefined1 local_res8 [32]; + + puVar1 = local_res8 + -(longlong)in_RAX; + if (local_res8 < in_RAX) { + puVar1 = (undefined1 *)0x0; + } + if (puVar1 < StackLimit) { + puVar2 = StackLimit; + do { + puVar2 = puVar2 + -0x1000; + *puVar2 = 0; + } while ((undefined1 *)((ulonglong)puVar1 & 0xfffffffffffff000) != puVar2); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400496fc.c b/decomp/AgentManager_Release_x64/full/functions/0x1400496fc.c new file mode 100644 index 00000000..03a85567 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400496fc.c @@ -0,0 +1,55 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400496fc __report_gsfailure + * Pseudocode, not original source. */ + +/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ +/* Library Function - Single Match + __report_gsfailure + + Libraries: Visual Studio 2005 Debug, Visual Studio 2005 Release, Visual Studio 2010 Debug, Visual + Studio 2010 Release */ + +void __cdecl __report_gsfailure(uintptr_t _StackCookie) + +{ + HANDLE hProcess; + DWORD64 unaff_retaddr; + uintptr_t local_res8 [4]; + PVOID local_48; + ulonglong local_40; + PRUNTIME_FUNCTION local_38; + DWORD64 local_30; + DWORD64 local_28; + undefined8 local_20; + undefined8 local_18; + + local_res8[0] = _StackCookie; + RtlCaptureContext(&DAT_140177ab0); + local_30 = DAT_140177ba8; + local_38 = RtlLookupFunctionEntry(DAT_140177ba8,&local_28,(PUNWIND_HISTORY_TABLE)0x0); + if (local_38 == (PRUNTIME_FUNCTION)0x0) { + _DAT_140177b48 = local_res8; + DAT_140177ba8 = unaff_retaddr; + } + else { + RtlVirtualUnwind(0,local_28,local_30,local_38,(PCONTEXT)&DAT_140177ab0,&local_48,&local_40, + (PKNONVOLATILE_CONTEXT_POINTERS)0x0); + } + _DAT_140177a20 = DAT_140177ba8; + _DAT_140177b30 = local_res8[0]; + _DAT_140177a10 = 0xc0000409; + _DAT_140177a14 = 1; + local_20 = DAT_14016f5a0; + local_18 = DAT_14016f5a8; + DAT_140177aa8 = IsDebuggerPresent(); + __crt_debugger_hook(1); + SetUnhandledExceptionFilter((LPTOP_LEVEL_EXCEPTION_FILTER)0x0); + UnhandledExceptionFilter((_EXCEPTION_POINTERS *)&PTR_DAT_140108b10); + if (DAT_140177aa8 == 0) { + __crt_debugger_hook(1); + } + hProcess = GetCurrentProcess(); + TerminateProcess(hProcess,0xc0000409); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140049858.c b/decomp/AgentManager_Release_x64/full/functions/0x140049858.c new file mode 100644 index 00000000..a92cf2a0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140049858.c @@ -0,0 +1,20 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140049858 FUN_140049858 + * Pseudocode, not original source. */ + +undefined8 FUN_140049858(undefined8 *param_1) + +{ + int iVar1; + int *piVar2; + + piVar2 = (int *)*param_1; + if (((*piVar2 == -0x1f928c9d) && (piVar2[6] == 4)) && + ((iVar1 = piVar2[8], iVar1 == 0x19930520 || + (((iVar1 == 0x19930521 || (iVar1 == 0x19930522)) || (iVar1 == 0x1994000)))))) { + /* WARNING: Subroutine does not return */ + terminate(); + } + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004989c.c b/decomp/AgentManager_Release_x64/full/functions/0x14004989c.c new file mode 100644 index 00000000..cc38573e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004989c.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004989c FUN_14004989c + * Pseudocode, not original source. */ + +undefined8 FUN_14004989c(void) + +{ + SetUnhandledExceptionFilter(FUN_140049858); + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400498bc.c b/decomp/AgentManager_Release_x64/full/functions/0x1400498bc.c new file mode 100644 index 00000000..83388b8e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400498bc.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400498bc FUN_1400498bc + * Pseudocode, not original source. */ + +void FUN_1400498bc(void) + +{ + undefined8 *puVar1; + + for (puVar1 = &DAT_14013f9b8; puVar1 < &DAT_14013f9b8; puVar1 = puVar1 + 1) { + if ((code *)*puVar1 != (code *)0x0) { + (*(code *)*puVar1)(); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400498f4.c b/decomp/AgentManager_Release_x64/full/functions/0x1400498f4.c new file mode 100644 index 00000000..f94d87e0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400498f4.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400498f4 FUN_1400498f4 + * Pseudocode, not original source. */ + +void FUN_1400498f4(void) + +{ + undefined8 *puVar1; + + for (puVar1 = &DAT_14013f9c8; puVar1 < &DAT_14013f9c8; puVar1 = puVar1 + 1) { + if ((code *)*puVar1 != (code *)0x0) { + (*(code *)*puVar1)(); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140049940.c b/decomp/AgentManager_Release_x64/full/functions/0x140049940.c new file mode 100644 index 00000000..96c149de --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140049940.c @@ -0,0 +1,25 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140049940 _ValidateImageBase + * Pseudocode, not original source. */ + +/* Library Function - Single Match + _ValidateImageBase + + Libraries: Visual Studio 2008 Release, Visual Studio 2010 Release */ + +BOOL __cdecl _ValidateImageBase(PBYTE pImageBase) + +{ + uint uVar1; + + if (*(short *)pImageBase != 0x5a4d) { + return 0; + } + uVar1 = 0; + if (*(int *)(pImageBase + *(int *)(pImageBase + 0x3c)) == 0x4550) { + uVar1 = (uint)((short)*(int *)((longlong)(pImageBase + *(int *)(pImageBase + 0x3c)) + 0x18) == + 0x20b); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140049970.c b/decomp/AgentManager_Release_x64/full/functions/0x140049970.c new file mode 100644 index 00000000..3bffdbdf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140049970.c @@ -0,0 +1,34 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140049970 _FindPESection + * Pseudocode, not original source. */ + +/* Library Function - Single Match + _FindPESection + + Libraries: Visual Studio 2008 Release, Visual Studio 2010 Release, Visual Studio 2019 Release */ + +PIMAGE_SECTION_HEADER __cdecl _FindPESection(PBYTE pImageBase,DWORD_PTR rva) + +{ + int iVar1; + PIMAGE_SECTION_HEADER p_Var2; + uint uVar3; + + iVar1 = *(int *)(pImageBase + 0x3c); + uVar3 = 0; + p_Var2 = (PIMAGE_SECTION_HEADER) + (pImageBase + + (ulonglong)*(ushort *)(pImageBase + (longlong)iVar1 + 0x14) + 0x18 + (longlong)iVar1); + if (*(ushort *)(pImageBase + (longlong)iVar1 + 6) != 0) { + do { + if ((p_Var2->VirtualAddress <= rva) && + (rva < (p_Var2->Misc).PhysicalAddress + p_Var2->VirtualAddress)) { + return p_Var2; + } + uVar3 = uVar3 + 1; + p_Var2 = p_Var2 + 1; + } while (uVar3 < *(ushort *)(pImageBase + (longlong)iVar1 + 6)); + } + return (PIMAGE_SECTION_HEADER)0x0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400499c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400499c0.c new file mode 100644 index 00000000..f4e97a12 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400499c0.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400499c0 _IsNonwritableInCurrentImage + * Pseudocode, not original source. */ + +/* Library Function - Single Match + _IsNonwritableInCurrentImage + + Library: Visual Studio 2010 Release */ + +BOOL __cdecl _IsNonwritableInCurrentImage(PBYTE pTarget) + +{ + BOOL BVar1; + uint uVar2; + PIMAGE_SECTION_HEADER p_Var3; + IMAGE_DOS_HEADER *pImageBase; + + pImageBase = &IMAGE_DOS_HEADER_140000000; + BVar1 = _ValidateImageBase((PBYTE)&IMAGE_DOS_HEADER_140000000); + uVar2 = 0; + if (BVar1 != 0) { + p_Var3 = _FindPESection((PBYTE)pImageBase,(longlong)pTarget - (longlong)pImageBase); + uVar2 = 0; + if (p_Var3 != (PIMAGE_SECTION_HEADER)0x0) { + uVar2 = ~(p_Var3->Characteristics >> 0x1f) & 1; + } + } + return uVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140049a10.c b/decomp/AgentManager_Release_x64/full/functions/0x140049a10.c new file mode 100644 index 00000000..d710f57e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140049a10.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140049a10 FUN_140049a10 + * Pseudocode, not original source. */ + +undefined8 FUN_140049a10(void) + +{ + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140049a14.c b/decomp/AgentManager_Release_x64/full/functions/0x140049a14.c new file mode 100644 index 00000000..4f81dd5c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140049a14.c @@ -0,0 +1,40 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140049a14 __security_init_cookie + * Pseudocode, not original source. */ + +/* Library Function - Single Match + __security_init_cookie + + Libraries: Visual Studio 2008 Release, Visual Studio 2010 Release */ + +void __cdecl __security_init_cookie(void) + +{ + _FILETIME _Var1; + DWORD DVar2; + DWORD DVar3; + DWORD DVar4; + _FILETIME local_res8; + LARGE_INTEGER local_res10; + + local_res8.dwLowDateTime = 0; + local_res8.dwHighDateTime = 0; + if (DAT_14016f5a0 == 0x2b992ddfa232) { + GetSystemTimeAsFileTime(&local_res8); + _Var1 = local_res8; + DVar2 = GetCurrentProcessId(); + DVar3 = GetCurrentThreadId(); + DVar4 = GetTickCount(); + QueryPerformanceCounter(&local_res10); + DAT_14016f5a0 = + (local_res10.QuadPart ^ + (ulonglong)_Var1 ^ (ulonglong)DVar2 ^ (ulonglong)DVar3 ^ (ulonglong)DVar4) & 0xffffffffffff + ; + if (DAT_14016f5a0 == 0x2b992ddfa232) { + DAT_14016f5a0 = 0x2b992ddfa233; + } + } + DAT_14016f5a8 = ~DAT_14016f5a0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140049ad0.c b/decomp/AgentManager_Release_x64/full/functions/0x140049ad0.c new file mode 100644 index 00000000..b435fab0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140049ad0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140049ad0 FUN_140049ad0 + * Pseudocode, not original source. */ + +void FUN_140049ad0(__uint64 param_1) + +{ + operator_new(param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140049b00.c b/decomp/AgentManager_Release_x64/full/functions/0x140049b00.c new file mode 100644 index 00000000..6ddafdf5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140049b00.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140049b00 FUN_140049b00 + * Pseudocode, not original source. */ + +void FUN_140049b00(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + exception local_58 [88]; + + if ((*(int *)(param_1 + 0x2c) == 0) && + ((*(int *)(param_1 + 0x28) < 2 || (4 < *(int *)(param_1 + 0x28))))) { + FUN_14003db10(local_58,L"RMI messaging cannot have Engine level priority!",param_3,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140049b40.c b/decomp/AgentManager_Release_x64/full/functions/0x140049b40.c new file mode 100644 index 00000000..03dccf6c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140049b40.c @@ -0,0 +1,27 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140049b40 FUN_140049b40 + * Pseudocode, not original source. */ + +undefined1 * FUN_140049b40(undefined1 *param_1) + +{ + undefined4 uVar1; + + param_1[0x30] = 1; + param_1[0x40] = 1; + *param_1 = 0; + *(undefined4 *)(param_1 + 0x28) = 3; + *(undefined4 *)(param_1 + 0x2c) = 1; + *(undefined8 *)(param_1 + 4) = 0; + *(undefined8 *)(param_1 + 0x10) = DAT_14016f138; + uVar1 = DAT_14016f148; + *(undefined8 *)(param_1 + 0x20) = 0; + *(undefined4 *)(param_1 + 0x18) = uVar1; + *(undefined8 *)(param_1 + 0x38) = 0; + param_1[0x41] = 1; + *(undefined8 *)(param_1 + 0x48) = 0; + param_1[0x50] = 0; + *(undefined8 *)(param_1 + 0x54) = 0; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140049b90.c b/decomp/AgentManager_Release_x64/full/functions/0x140049b90.c new file mode 100644 index 00000000..9a6bcdc9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140049b90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140049b90 FUN_140049b90 + * Pseudocode, not original source. */ + +void FUN_140049b90(undefined8 *param_1) + +{ + *param_1 = Proud::INetCoreEvent::vftable; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140049ba0.c b/decomp/AgentManager_Release_x64/full/functions/0x140049ba0.c new file mode 100644 index 00000000..01ddb678 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140049ba0.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140049ba0 FUN_140049ba0 + * Pseudocode, not original source. */ + +undefined8 * +FUN_140049ba0(undefined8 *param_1,ulonglong param_2,undefined8 param_3,undefined8 param_4) + +{ + ulonglong uVar1; + + uVar1 = param_2; + FUN_140049e40(param_1); + if ((param_2 & 1) != 0) { + FUN_140049e20(param_1,uVar1,param_3,param_4); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140049bd0.c b/decomp/AgentManager_Release_x64/full/functions/0x140049bd0.c new file mode 100644 index 00000000..81e0a40a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140049bd0.c @@ -0,0 +1,24 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140049bd0 FUN_140049bd0 + * Pseudocode, not original source. */ + +undefined8 * +FUN_140049bd0(undefined8 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003e7c0(param_1,param_2,param_3,param_4); + *param_1 = PTR_DAT_14016f010; + *(undefined4 *)((longlong)param_1 + 0xc) = 0; + *(undefined4 *)(param_1 + 2) = 0; + *(undefined4 *)((longlong)param_1 + 0x14) = 0; + *(undefined4 *)(param_1 + 3) = 0; + param_1[5] = 0; + param_1[4] = Proud::ByteArray::vftable; + param_1[6] = 0; + param_1[7] = 0; + param_1[8] = 0; + param_1[9] = 0; + *(undefined2 *)(param_1 + 1) = 0; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140049c40.c b/decomp/AgentManager_Release_x64/full/functions/0x140049c40.c new file mode 100644 index 00000000..3ad48174 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140049c40.c @@ -0,0 +1,47 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140049c40 FUN_140049c40 + * Pseudocode, not original source. */ + +undefined8 * +FUN_140049c40(undefined8 *param_1,undefined8 param_2,undefined8 param_3,longlong param_4) + +{ + undefined8 *puVar1; + + puVar1 = param_1; + FUN_14003e7c0(param_1,param_2,param_3,param_4); + *param_1 = PTR_DAT_14016f010; + FUN_14003e7c0(puVar1,param_2,param_3,param_4); + param_1[1] = PTR_DAT_14016f010; + param_1[3] = Proud::CFastArray::vftable; + param_1[4] = 0; + param_1[5] = 0; + param_1[6] = 0; + param_1[7] = 0; + *(undefined4 *)((longlong)param_1 + 0x44) = 0; + *(undefined4 *)(param_1 + 9) = 0; + *(undefined4 *)((longlong)param_1 + 0x4c) = 0; + *(undefined4 *)(param_1 + 10) = 0; + param_1[0x11] = Proud::CFastArray::vftable; + param_1[0x12] = 0; + param_1[0x13] = 0; + param_1[0x14] = 0; + param_1[0x15] = 0; + *(undefined8 *)((longlong)param_1 + 0x5c) = 0x80; + *(undefined4 *)(param_1 + 2) = 0; + *(undefined4 *)(param_1 + 8) = 0; + *(undefined8 *)((longlong)param_1 + 0x54) = 0; + *(undefined2 *)((longlong)param_1 + 0x65) = 0x100; + *(undefined1 *)((longlong)param_1 + 100) = 0; + *(undefined1 *)((longlong)param_1 + 0x67) = DAT_14016f145; + *(undefined1 *)(param_1 + 0xd) = 0; + *(undefined4 *)((longlong)param_1 + 0x6c) = 0; + param_1[0xe] = 0; + *(undefined1 *)(param_1 + 0xf) = 1; + *(undefined8 *)((longlong)param_1 + 0x7c) = 0; + *(undefined2 *)((longlong)param_1 + 0x84) = 0; + param_1[0x16] = 0; + FUN_140038010((longlong)(param_1 + 0x11),0,0,param_4); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140049d30.c b/decomp/AgentManager_Release_x64/full/functions/0x140049d30.c new file mode 100644 index 00000000..ca37bf46 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140049d30.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140049d30 FUN_140049d30 + * Pseudocode, not original source. */ + +void FUN_140049d30(void) + +{ + HANDLE hProcess; + + MessageBoxW((HWND)0x0,L"Library and header files version mismatch!",L"ProudNet",0x10); + hProcess = GetCurrentProcess(); + /* WARNING: Could not recover jumptable at 0x000140049d62. Too many branches */ + /* WARNING: Treating indirect jump as call */ + TerminateProcess(hProcess,1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140049d70.c b/decomp/AgentManager_Release_x64/full/functions/0x140049d70.c new file mode 100644 index 00000000..00ba827c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140049d70.c @@ -0,0 +1,37 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140049d70 FUN_140049d70 + * Pseudocode, not original source. */ + +undefined8 * +FUN_140049d70(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + bool bVar1; + bool bVar2; + longlong *plVar3; + undefined8 local_20 [3]; + + bVar1 = false; + bVar2 = FUN_14003d0e0((int *)&DAT_140178120); + if (bVar2) { + if (DAT_14016f8c0 == '\0') { + bVar1 = false; + } + else { + bVar1 = true; + FUN_14003d040((int *)&DAT_140178120); + } + } + if ((DAT_140178118 & 1) == 0) { + DAT_140178118 = DAT_140178118 | 1; + plVar3 = FUN_1400417c0(local_20); + DAT_140178110 = FUN_140041730(plVar3,param_2,param_3,param_4); + atexit(FUN_140104620); + } + DAT_14016f8c0 = 0; + if (bVar1) { + FUN_14003d0d0(0x140178120); + } + return &DAT_140178110; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140049e20.c b/decomp/AgentManager_Release_x64/full/functions/0x140049e20.c new file mode 100644 index 00000000..99b85b9f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140049e20.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140049e20 FUN_140049e20 + * Pseudocode, not original source. */ + +void FUN_140049e20(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 *puVar1; + + puVar1 = FUN_140049d70(param_1,param_2,param_3,param_4); + /* WARNING: Could not recover jumptable at 0x000140049e3c. Too many branches */ + /* WARNING: Treating indirect jump as call */ + (**(code **)(*(longlong *)*puVar1 + 0x10))((longlong *)*puVar1,param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140049e40.c b/decomp/AgentManager_Release_x64/full/functions/0x140049e40.c new file mode 100644 index 00000000..ee1935b0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140049e40.c @@ -0,0 +1,20 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140049e40 FUN_140049e40 + * Pseudocode, not original source. */ + +void FUN_140049e40(undefined8 *param_1) + +{ + *param_1 = Proud::CFastArray::vftable; + if ((LPVOID)param_1[2] != (LPVOID)0x0) { + if ((longlong *)param_1[1] != (longlong *)0x0) { + /* WARNING: Could not recover jumptable at 0x000140049e67. Too many branches */ + /* WARNING: Treating indirect jump as call */ + (**(code **)(*(longlong *)param_1[1] + 0x18))(); + return; + } + FUN_14003e8b0((LPVOID)param_1[2]); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140049e80.c b/decomp/AgentManager_Release_x64/full/functions/0x140049e80.c new file mode 100644 index 00000000..a6510b3d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140049e80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140049e80 FUN_140049e80 + * Pseudocode, not original source. */ + +void FUN_140049e80(undefined8 *param_1) + +{ + *param_1 = Proud::IRmiHost::vftable; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140049e90.c b/decomp/AgentManager_Release_x64/full/functions/0x140049e90.c new file mode 100644 index 00000000..37f81609 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140049e90.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140049e90 FUN_140049e90 + * Pseudocode, not original source. */ + +undefined8 * FUN_140049e90(undefined8 *param_1,byte param_2) + +{ + *param_1 = Proud::IRmiHost::vftable; + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140049ec0.c b/decomp/AgentManager_Release_x64/full/functions/0x140049ec0.c new file mode 100644 index 00000000..47937967 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140049ec0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140049ec0 FUN_140049ec0 + * Pseudocode, not original source. */ + +void FUN_140049ec0(undefined8 *param_1) + +{ + *param_1 = Proud::ICompletionContext::vftable; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140049ed0.c b/decomp/AgentManager_Release_x64/full/functions/0x140049ed0.c new file mode 100644 index 00000000..ee96e23e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140049ed0.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140049ed0 FUN_140049ed0 + * Pseudocode, not original source. */ + +undefined8 * FUN_140049ed0(undefined8 *param_1,byte param_2) + +{ + *param_1 = Proud::ICompletionContext::vftable; + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140049f00.c b/decomp/AgentManager_Release_x64/full/functions/0x140049f00.c new file mode 100644 index 00000000..77ee6166 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140049f00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140049f00 FUN_140049f00 + * Pseudocode, not original source. */ + +void FUN_140049f00(undefined8 *param_1) + +{ + *param_1 = Proud::ICompletionPortEventSink::vftable; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140049f10.c b/decomp/AgentManager_Release_x64/full/functions/0x140049f10.c new file mode 100644 index 00000000..c408e910 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140049f10.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140049f10 FUN_140049f10 + * Pseudocode, not original source. */ + +undefined8 * FUN_140049f10(undefined8 *param_1,byte param_2) + +{ + *param_1 = Proud::ICompletionPortEventSink::vftable; + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140049f40.c b/decomp/AgentManager_Release_x64/full/functions/0x140049f40.c new file mode 100644 index 00000000..7b2e3547 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140049f40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140049f40 FUN_140049f40 + * Pseudocode, not original source. */ + +void FUN_140049f40(undefined8 *param_1) + +{ + *param_1 = Proud::ISendDest_S::vftable; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140049f50.c b/decomp/AgentManager_Release_x64/full/functions/0x140049f50.c new file mode 100644 index 00000000..1dcf274c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140049f50.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140049f50 FUN_140049f50 + * Pseudocode, not original source. */ + +undefined8 * FUN_140049f50(undefined8 *param_1,byte param_2) + +{ + *param_1 = Proud::ISendDest_S::vftable; + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140049f80.c b/decomp/AgentManager_Release_x64/full/functions/0x140049f80.c new file mode 100644 index 00000000..5f87805b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140049f80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140049f80 FUN_140049f80 + * Pseudocode, not original source. */ + +void FUN_140049f80(undefined8 *param_1) + +{ + *param_1 = Proud::IUserTaskQueueOwner::vftable; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140049f90.c b/decomp/AgentManager_Release_x64/full/functions/0x140049f90.c new file mode 100644 index 00000000..60b9a949 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140049f90.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140049f90 FUN_140049f90 + * Pseudocode, not original source. */ + +undefined8 * FUN_140049f90(undefined8 *param_1,byte param_2) + +{ + *param_1 = Proud::IUserTaskQueueOwner::vftable; + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140049fc0.c b/decomp/AgentManager_Release_x64/full/functions/0x140049fc0.c new file mode 100644 index 00000000..95f6304e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140049fc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140049fc0 FUN_140049fc0 + * Pseudocode, not original source. */ + +void FUN_140049fc0(undefined8 *param_1) + +{ + *param_1 = Proud::IVizAgentDg::vftable; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140049fd0.c b/decomp/AgentManager_Release_x64/full/functions/0x140049fd0.c new file mode 100644 index 00000000..47e5e9dc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140049fd0.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140049fd0 FUN_140049fd0 + * Pseudocode, not original source. */ + +undefined8 * FUN_140049fd0(undefined8 *param_1,byte param_2) + +{ + *param_1 = Proud::IVizAgentDg::vftable; + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004a000.c b/decomp/AgentManager_Release_x64/full/functions/0x14004a000.c new file mode 100644 index 00000000..b601fa27 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004a000.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004a000 FUN_14004a000 + * Pseudocode, not original source. */ + +undefined8 FUN_14004a000(void) + +{ + return 0xfbf4; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004a010.c b/decomp/AgentManager_Release_x64/full/functions/0x14004a010.c new file mode 100644 index 00000000..eaa5fc30 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004a010.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004a010 FUN_14004a010 + * Pseudocode, not original source. */ + +longlong FUN_14004a010(longlong param_1) + +{ + return param_1 + 0x128; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004a030.c b/decomp/AgentManager_Release_x64/full/functions/0x14004a030.c new file mode 100644 index 00000000..8b5a1eb4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004a030.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004a030 FUN_14004a030 + * Pseudocode, not original source. */ + +undefined8 FUN_14004a030(longlong param_1) + +{ + return *(undefined8 *)(param_1 + 0x758); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004a040.c b/decomp/AgentManager_Release_x64/full/functions/0x14004a040.c new file mode 100644 index 00000000..4dd27340 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004a040.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004a040 FUN_14004a040 + * Pseudocode, not original source. */ + +void FUN_14004a040(longlong param_1) + +{ + FUN_140049e40((undefined8 *)(param_1 + 0x3d0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004a050.c b/decomp/AgentManager_Release_x64/full/functions/0x14004a050.c new file mode 100644 index 00000000..94060fad --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004a050.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004a050 FUN_14004a050 + * Pseudocode, not original source. */ + +undefined8 FUN_14004a050(void) + +{ + return 64000; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004a060.c b/decomp/AgentManager_Release_x64/full/functions/0x14004a060.c new file mode 100644 index 00000000..44edb77a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004a060.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004a060 FUN_14004a060 + * Pseudocode, not original source. */ + +undefined8 FUN_14004a060(void) + +{ + return 0xfa14; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004a070.c b/decomp/AgentManager_Release_x64/full/functions/0x14004a070.c new file mode 100644 index 00000000..8d60fb75 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004a070.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004a070 FUN_14004a070 + * Pseudocode, not original source. */ + +undefined1 FUN_14004a070(longlong param_1) + +{ + return *(undefined1 *)(param_1 + 0x380); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004a080.c b/decomp/AgentManager_Release_x64/full/functions/0x14004a080.c new file mode 100644 index 00000000..930871a6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004a080.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004a080 FUN_14004a080 + * Pseudocode, not original source. */ + +void FUN_14004a080(longlong param_1,undefined1 param_2) + +{ + *(undefined1 *)(param_1 + 0x380) = param_2; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004a090.c b/decomp/AgentManager_Release_x64/full/functions/0x14004a090.c new file mode 100644 index 00000000..961af4f7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004a090.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004a090 FUN_14004a090 + * Pseudocode, not original source. */ + +void FUN_14004a090(longlong param_1) + +{ + FUN_140048960((char *)(param_1 + 0x6b8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004a0a0.c b/decomp/AgentManager_Release_x64/full/functions/0x14004a0a0.c new file mode 100644 index 00000000..f292b67d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004a0a0.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004a0a0 FUN_14004a0a0 + * Pseudocode, not original source. */ + +void FUN_14004a0a0(longlong param_1,int param_2,undefined8 param_3,undefined8 param_4) + +{ + exception local_58 [88]; + + if (param_2 == 3) { + FUN_14003db10(local_58,L"Not supported value yet!",param_3,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + *(int *)(param_1 + 0x180) = param_2; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004a0e0.c b/decomp/AgentManager_Release_x64/full/functions/0x14004a0e0.c new file mode 100644 index 00000000..cb18346f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004a0e0.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004a0e0 FUN_14004a0e0 + * Pseudocode, not original source. */ + +void FUN_14004a0e0(longlong param_1,double param_2) + +{ + if ((0.0 < param_2) && (param_2 < 1.0)) { + *(double *)(param_1 + 0x1750) = param_2; + return; + } + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004a110.c b/decomp/AgentManager_Release_x64/full/functions/0x14004a110.c new file mode 100644 index 00000000..e76c6f96 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004a110.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004a110 FUN_14004a110 + * Pseudocode, not original source. */ + +void FUN_14004a110(longlong *param_1,int param_2) + +{ + /* WARNING: Could not recover jumptable at 0x00014004a123. Too many branches */ + /* WARNING: Treating indirect jump as call */ + (**(code **)(*param_1 + 0x178))(param_1,(double)param_2 / 1000.0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004a130.c b/decomp/AgentManager_Release_x64/full/functions/0x14004a130.c new file mode 100644 index 00000000..052fddf8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004a130.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004a130 FUN_14004a130 + * Pseudocode, not original source. */ + +undefined4 FUN_14004a130(longlong param_1) + +{ + return *(undefined4 *)(param_1 + 0x178); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004a140.c b/decomp/AgentManager_Release_x64/full/functions/0x14004a140.c new file mode 100644 index 00000000..a6ca7eea --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004a140.c @@ -0,0 +1,21 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004a140 FUN_14004a140 + * Pseudocode, not original source. */ + +void FUN_14004a140(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + char cVar1; + exception local_58 [80]; + + cVar1 = (**(code **)(*(longlong *)(param_1 + -0xa8) + 0x90))(); + if (cVar1 != '\0') { + FUN_14003db10(local_58,(wchar_t *)PTR_u_Already_async_callback_may_occur_140170088,param_3, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + *(undefined8 *)(param_1 + 0x6b0) = param_2; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004a1a0.c b/decomp/AgentManager_Release_x64/full/functions/0x14004a1a0.c new file mode 100644 index 00000000..2dc2034f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004a1a0.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004a1a0 FUN_14004a1a0 + * Pseudocode, not original source. */ + +undefined4 FUN_14004a1a0(longlong param_1) + +{ + return *(undefined4 *)(param_1 + 0x22c); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004a1b0.c b/decomp/AgentManager_Release_x64/full/functions/0x14004a1b0.c new file mode 100644 index 00000000..e42be9b3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004a1b0.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004a1b0 FUN_14004a1b0 + * Pseudocode, not original source. */ + +undefined8 FUN_14004a1b0(void) + +{ + return 1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004a1c0.c b/decomp/AgentManager_Release_x64/full/functions/0x14004a1c0.c new file mode 100644 index 00000000..460c9324 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004a1c0.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004a1c0 FUN_14004a1c0 + * Pseudocode, not original source. */ + +void FUN_14004a1c0(longlong param_1,int param_2) + +{ + int iVar1; + int iVar2; + + iVar1 = DAT_14016f190; + if (param_2 < DAT_14016f190) { + iVar1 = param_2; + } + iVar2 = 0; + if (0 < iVar1) { + iVar2 = iVar1; + } + *(int *)(param_1 + 0x194) = iVar2; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004a1e0.c b/decomp/AgentManager_Release_x64/full/functions/0x14004a1e0.c new file mode 100644 index 00000000..3eefb962 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004a1e0.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004a1e0 FUN_14004a1e0 + * Pseudocode, not original source. */ + +undefined1 FUN_14004a1e0(longlong param_1) + +{ + return *(undefined1 *)(param_1 + 0x198); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004a1f0.c b/decomp/AgentManager_Release_x64/full/functions/0x14004a1f0.c new file mode 100644 index 00000000..30d696d2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004a1f0.c @@ -0,0 +1,24 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004a1f0 FUN_14004a1f0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_14004a1f0(undefined8 param_1,undefined8 param_2,longlong *param_3,undefined8 param_4) + +{ + undefined1 auStack_c8 [32]; + undefined8 local_a8; + undefined8 local_98 [15]; + undefined8 local_20; + ulonglong local_18; + + local_a8 = 0xfffffffffffffffe; + local_18 = DAT_14016f5a0 ^ (ulonglong)auStack_c8; + FUN_140079c20(local_98); + local_20 = param_1; + FUN_140079c10(); + FUN_140079c60(local_98,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004a260.c b/decomp/AgentManager_Release_x64/full/functions/0x14004a260.c new file mode 100644 index 00000000..2cfc9bac --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004a260.c @@ -0,0 +1,51 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004a260 FUN_14004a260 + * Pseudocode, not original source. */ + +void FUN_14004a260(longlong param_1,int param_2,longlong param_3,longlong param_4) + +{ + int *piVar1; + ulonglong uVar2; + longlong lVar3; + ulonglong uVar4; + ulonglong uVar5; + int *piVar6; + ulonglong uVar7; + + uVar2 = 0; + piVar6 = (int *)(param_1 + 0x10); + piVar1 = piVar6; + uVar5 = uVar2; + uVar7 = uVar2; + do { + if (*piVar1 == param_2) { + lVar3 = (longlong)(int)uVar5; + *(undefined4 *)(param_1 + 0x30 + lVar3 * 0x30) = *(undefined4 *)(param_3 + 8); + *(undefined2 *)(param_1 + 0x34 + lVar3 * 0x30) = *(undefined2 *)(param_3 + 0xc); + *(undefined4 *)(param_1 + 0x20 + lVar3 * 0x30) = *(undefined4 *)(param_4 + 8); + *(undefined2 *)(param_1 + 0x24 + lVar3 * 0x30) = *(undefined2 *)(param_4 + 0xc); + return; + } + uVar7 = uVar7 + 1; + uVar5 = (ulonglong)((int)uVar5 + 1); + piVar1 = piVar1 + 0xc; + uVar4 = uVar2; + } while ((longlong)uVar7 < 2); + do { + if (*piVar6 == 0) { + lVar3 = (longlong)(int)uVar4; + *(undefined4 *)(param_1 + 0x30 + lVar3 * 0x30) = *(undefined4 *)(param_3 + 8); + *(undefined2 *)(param_1 + 0x34 + lVar3 * 0x30) = *(undefined2 *)(param_3 + 0xc); + *(undefined4 *)(param_1 + 0x20 + lVar3 * 0x30) = *(undefined4 *)(param_4 + 8); + *(undefined2 *)(param_1 + 0x24 + lVar3 * 0x30) = *(undefined2 *)(param_4 + 0xc); + *(int *)(param_1 + 0x10 + lVar3 * 0x30) = param_2; + return; + } + uVar2 = uVar2 + 1; + piVar6 = piVar6 + 0xc; + uVar4 = (ulonglong)((int)uVar4 + 1); + } while ((longlong)uVar2 < 2); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004a340.c b/decomp/AgentManager_Release_x64/full/functions/0x14004a340.c new file mode 100644 index 00000000..0a24ff05 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004a340.c @@ -0,0 +1,34 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004a340 FUN_14004a340 + * Pseudocode, not original source. */ + +undefined8 * FUN_14004a340(longlong param_1,undefined8 *param_2,int param_3) + +{ + int *piVar1; + ulonglong uVar2; + int iVar3; + ulonglong uVar4; + + uVar2 = 0; + piVar1 = (int *)(param_1 + 0x10); + uVar4 = uVar2; + do { + iVar3 = (int)uVar4; + if (*piVar1 == param_3) { + *param_2 = Proud::AddrPort::vftable; + *(undefined4 *)(param_2 + 1) = *(undefined4 *)(param_1 + 0x30 + (longlong)iVar3 * 0x30); + *(undefined2 *)((longlong)param_2 + 0xc) = + *(undefined2 *)(param_1 + 0x34 + (longlong)iVar3 * 0x30); + return param_2; + } + uVar2 = uVar2 + 1; + uVar4 = (ulonglong)(iVar3 + 1); + piVar1 = piVar1 + 0xc; + } while ((longlong)uVar2 < 2); + *param_2 = Proud::AddrPort::vftable; + *(undefined4 *)(param_2 + 1) = DAT_14016f3d0; + *(undefined2 *)((longlong)param_2 + 0xc) = DAT_14016f3d4; + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004a3c0.c b/decomp/AgentManager_Release_x64/full/functions/0x14004a3c0.c new file mode 100644 index 00000000..ad9b6cb2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004a3c0.c @@ -0,0 +1,34 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004a3c0 FUN_14004a3c0 + * Pseudocode, not original source. */ + +undefined8 * FUN_14004a3c0(longlong param_1,undefined8 *param_2,int param_3) + +{ + int *piVar1; + ulonglong uVar2; + int iVar3; + ulonglong uVar4; + + uVar2 = 0; + piVar1 = (int *)(param_1 + 0x70); + uVar4 = uVar2; + do { + iVar3 = (int)uVar4; + if (*piVar1 == param_3) { + *param_2 = Proud::AddrPort::vftable; + *(undefined4 *)(param_2 + 1) = *(undefined4 *)(param_1 + 0x80 + (longlong)iVar3 * 0x48); + *(undefined2 *)((longlong)param_2 + 0xc) = + *(undefined2 *)(param_1 + 0x84 + (longlong)iVar3 * 0x48); + return param_2; + } + uVar2 = uVar2 + 1; + uVar4 = (ulonglong)(iVar3 + 1); + piVar1 = piVar1 + 0x12; + } while ((longlong)uVar2 < 2); + *param_2 = Proud::AddrPort::vftable; + *(undefined4 *)(param_2 + 1) = DAT_14016f3d0; + *(undefined2 *)((longlong)param_2 + 0xc) = DAT_14016f3d4; + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004a440.c b/decomp/AgentManager_Release_x64/full/functions/0x14004a440.c new file mode 100644 index 00000000..49609c2c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004a440.c @@ -0,0 +1,34 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004a440 FUN_14004a440 + * Pseudocode, not original source. */ + +undefined8 * FUN_14004a440(longlong param_1,undefined8 *param_2,int param_3) + +{ + int *piVar1; + ulonglong uVar2; + int iVar3; + ulonglong uVar4; + + uVar2 = 0; + piVar1 = (int *)(param_1 + 0x10); + uVar4 = uVar2; + do { + iVar3 = (int)uVar4; + if (*piVar1 == param_3) { + *param_2 = Proud::AddrPort::vftable; + *(undefined4 *)(param_2 + 1) = *(undefined4 *)(param_1 + 0x20 + (longlong)iVar3 * 0x30); + *(undefined2 *)((longlong)param_2 + 0xc) = + *(undefined2 *)(param_1 + 0x24 + (longlong)iVar3 * 0x30); + return param_2; + } + uVar2 = uVar2 + 1; + uVar4 = (ulonglong)(iVar3 + 1); + piVar1 = piVar1 + 0xc; + } while ((longlong)uVar2 < 2); + *param_2 = Proud::AddrPort::vftable; + *(undefined4 *)(param_2 + 1) = DAT_14016f3d0; + *(undefined2 *)((longlong)param_2 + 0xc) = DAT_14016f3d4; + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004a4c0.c b/decomp/AgentManager_Release_x64/full/functions/0x14004a4c0.c new file mode 100644 index 00000000..025f3cf3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004a4c0.c @@ -0,0 +1,24 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004a4c0 FUN_14004a4c0 + * Pseudocode, not original source. */ + +int FUN_14004a4c0(longlong param_1) + +{ + int iVar1; + short *psVar2; + longlong lVar3; + + iVar1 = 0; + lVar3 = 2; + psVar2 = (short *)(param_1 + 0x24); + do { + if ((*(int *)(psVar2 + -2) != DAT_14016f3d0) || (*psVar2 != DAT_14016f3d4)) { + iVar1 = iVar1 + 1; + } + psVar2 = psVar2 + 0x18; + lVar3 = lVar3 + -1; + } while (lVar3 != 0); + return iVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004a500.c b/decomp/AgentManager_Release_x64/full/functions/0x14004a500.c new file mode 100644 index 00000000..a87b5f67 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004a500.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004a500 FUN_14004a500 + * Pseudocode, not original source. */ + +void FUN_14004a500(longlong param_1) + +{ + FUN_140049e40((undefined8 *)(param_1 + 0x148)); + FUN_140049e40((undefined8 *)(param_1 + 0x120)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004a540.c b/decomp/AgentManager_Release_x64/full/functions/0x14004a540.c new file mode 100644 index 00000000..cec375cd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004a540.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004a540 FUN_14004a540 + * Pseudocode, not original source. */ + +undefined1 FUN_14004a540(longlong param_1) + +{ + return *(undefined1 *)(param_1 + 8); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004a550.c b/decomp/AgentManager_Release_x64/full/functions/0x14004a550.c new file mode 100644 index 00000000..4b7df9ab --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004a550.c @@ -0,0 +1,129 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004a550 FUN_14004a550 + * Pseudocode, not original source. */ + +void FUN_14004a550(longlong param_1,int param_2,longlong param_3,longlong param_4) + +{ + undefined4 uVar1; + ulonglong uVar2; + longlong lVar3; + int *piVar4; + ulonglong uVar5; + undefined2 uVar6; + ulonglong uVar7; + ulonglong uVar8; + longlong lVar9; + ulonglong uVar10; + int *piVar11; + + uVar5 = 0; + piVar11 = (int *)(param_1 + 0x70); + piVar4 = piVar11; + uVar7 = uVar5; + uVar10 = uVar5; + do { + if (*piVar4 == param_2) { + piVar11 = (int *)(param_1 + 0x10); + piVar4 = piVar11; + uVar7 = uVar5; + uVar2 = uVar5; + goto LAB_14004a6c0; + } + uVar7 = uVar7 + 1; + uVar10 = (ulonglong)((int)uVar10 + 1); + piVar4 = piVar4 + 0x12; + uVar2 = uVar5; + uVar8 = uVar5; + } while ((longlong)uVar7 < 2); + while (*piVar11 != 0) { + uVar2 = uVar2 + 1; + piVar11 = piVar11 + 0x12; + uVar8 = (ulonglong)((int)uVar8 + 1); + if (1 < (longlong)uVar2) { + return; + } + } + lVar3 = (longlong)(int)uVar8; + piVar11 = (int *)(param_1 + 0x10); + *(int *)(param_1 + 0x70 + lVar3 * 0x48) = param_2; + piVar4 = piVar11; + uVar7 = uVar5; + uVar10 = uVar5; + do { + if (*piVar4 == param_2) { + lVar9 = (longlong)(int)uVar10 * 0x30; + uVar1 = *(undefined4 *)(lVar9 + 0x30 + param_1); + uVar6 = *(undefined2 *)(lVar9 + 0x34 + param_1); + break; + } + uVar7 = uVar7 + 1; + uVar10 = (ulonglong)((int)uVar10 + 1); + piVar4 = piVar4 + 0xc; + uVar1 = DAT_14016f3d0; + uVar6 = DAT_14016f3d4; + } while ((longlong)uVar7 < 2); + *(undefined4 *)(param_1 + 0x80 + lVar3 * 0x48) = uVar1; + *(undefined2 *)(param_1 + 0x84 + lVar3 * 0x48) = uVar6; + uVar7 = uVar5; + do { + if (*piVar11 == param_2) { + lVar9 = (longlong)(int)uVar7 * 0x30; + uVar1 = *(undefined4 *)(lVar9 + 0x20 + param_1); + uVar6 = *(undefined2 *)(lVar9 + 0x24 + param_1); + break; + } + uVar5 = uVar5 + 1; + uVar7 = (ulonglong)((int)uVar7 + 1); + piVar11 = piVar11 + 0xc; + uVar1 = DAT_14016f3d0; + uVar6 = DAT_14016f3d4; + } while ((longlong)uVar5 < 2); + *(undefined4 *)(param_1 + 0x90 + lVar3 * 0x48) = uVar1; + *(undefined2 *)(param_1 + 0x94 + lVar3 * 0x48) = uVar6; + *(undefined4 *)(param_1 + 0xa0 + lVar3 * 0x48) = *(undefined4 *)(param_3 + 8); + *(undefined2 *)(param_1 + 0xa4 + lVar3 * 0x48) = *(undefined2 *)(param_3 + 0xc); + *(undefined4 *)(param_1 + 0xb0 + lVar3 * 0x48) = *(undefined4 *)(param_4 + 8); + *(undefined2 *)(param_1 + 0xb4 + lVar3 * 0x48) = *(undefined2 *)(param_4 + 0xc); + return; + while( true ) { + uVar7 = uVar7 + 1; + uVar2 = (ulonglong)((int)uVar2 + 1); + piVar4 = piVar4 + 0xc; + uVar1 = DAT_14016f3d0; + uVar6 = DAT_14016f3d4; + if (1 < (longlong)uVar7) break; +LAB_14004a6c0: + if (*piVar4 == param_2) { + lVar3 = (longlong)(int)uVar2 * 0x30; + uVar1 = *(undefined4 *)(lVar3 + 0x30 + param_1); + uVar6 = *(undefined2 *)(lVar3 + 0x34 + param_1); + break; + } + } + lVar3 = (longlong)(int)uVar10; + *(undefined4 *)(param_1 + 0x80 + lVar3 * 0x48) = uVar1; + *(undefined2 *)(param_1 + 0x84 + lVar3 * 0x48) = uVar6; + uVar7 = uVar5; + do { + if (*piVar11 == param_2) { + lVar9 = (longlong)(int)uVar7 * 0x30; + uVar1 = *(undefined4 *)(lVar9 + 0x20 + param_1); + uVar6 = *(undefined2 *)(lVar9 + 0x24 + param_1); + break; + } + uVar5 = uVar5 + 1; + uVar7 = (ulonglong)((int)uVar7 + 1); + piVar11 = piVar11 + 0xc; + uVar1 = DAT_14016f3d0; + uVar6 = DAT_14016f3d4; + } while ((longlong)uVar5 < 2); + *(undefined4 *)(param_1 + 0x90 + lVar3 * 0x48) = uVar1; + *(undefined2 *)(param_1 + 0x94 + lVar3 * 0x48) = uVar6; + *(undefined4 *)(param_1 + 0xa0 + lVar3 * 0x48) = *(undefined4 *)(param_3 + 8); + *(undefined2 *)(param_1 + 0xa4 + lVar3 * 0x48) = *(undefined2 *)(param_3 + 0xc); + *(undefined4 *)(param_1 + 0xb0 + lVar3 * 0x48) = *(undefined4 *)(param_4 + 8); + *(undefined2 *)(param_1 + 0xb4 + lVar3 * 0x48) = *(undefined2 *)(param_4 + 0xc); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004a7b0.c b/decomp/AgentManager_Release_x64/full/functions/0x14004a7b0.c new file mode 100644 index 00000000..383f0d7a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004a7b0.c @@ -0,0 +1,34 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004a7b0 FUN_14004a7b0 + * Pseudocode, not original source. */ + +undefined8 * FUN_14004a7b0(longlong param_1,undefined8 *param_2,int param_3) + +{ + int *piVar1; + ulonglong uVar2; + int iVar3; + ulonglong uVar4; + + uVar2 = 0; + piVar1 = (int *)(param_1 + 0x70); + uVar4 = uVar2; + do { + iVar3 = (int)uVar4; + if (*piVar1 == param_3) { + *param_2 = Proud::AddrPort::vftable; + *(undefined4 *)(param_2 + 1) = *(undefined4 *)(param_1 + 0xa0 + (longlong)iVar3 * 0x48); + *(undefined2 *)((longlong)param_2 + 0xc) = + *(undefined2 *)(param_1 + 0xa4 + (longlong)iVar3 * 0x48); + return param_2; + } + uVar2 = uVar2 + 1; + uVar4 = (ulonglong)(iVar3 + 1); + piVar1 = piVar1 + 0x12; + } while ((longlong)uVar2 < 2); + *param_2 = Proud::AddrPort::vftable; + *(undefined4 *)(param_2 + 1) = DAT_14016f3d0; + *(undefined2 *)((longlong)param_2 + 0xc) = DAT_14016f3d4; + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004a830.c b/decomp/AgentManager_Release_x64/full/functions/0x14004a830.c new file mode 100644 index 00000000..f21511c7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004a830.c @@ -0,0 +1,34 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004a830 FUN_14004a830 + * Pseudocode, not original source. */ + +undefined8 * FUN_14004a830(longlong param_1,undefined8 *param_2,int param_3) + +{ + int *piVar1; + ulonglong uVar2; + int iVar3; + ulonglong uVar4; + + uVar2 = 0; + piVar1 = (int *)(param_1 + 0x70); + uVar4 = uVar2; + do { + iVar3 = (int)uVar4; + if (*piVar1 == param_3) { + *param_2 = Proud::AddrPort::vftable; + *(undefined4 *)(param_2 + 1) = *(undefined4 *)(param_1 + 0xb0 + (longlong)iVar3 * 0x48); + *(undefined2 *)((longlong)param_2 + 0xc) = + *(undefined2 *)(param_1 + 0xb4 + (longlong)iVar3 * 0x48); + return param_2; + } + uVar2 = uVar2 + 1; + uVar4 = (ulonglong)(iVar3 + 1); + piVar1 = piVar1 + 0x12; + } while ((longlong)uVar2 < 2); + *param_2 = Proud::AddrPort::vftable; + *(undefined4 *)(param_2 + 1) = DAT_14016f3d0; + *(undefined2 *)((longlong)param_2 + 0xc) = DAT_14016f3d4; + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004a8b0.c b/decomp/AgentManager_Release_x64/full/functions/0x14004a8b0.c new file mode 100644 index 00000000..205511da --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004a8b0.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004a8b0 FUN_14004a8b0 + * Pseudocode, not original source. */ + +undefined8 * FUN_14004a8b0(undefined8 *param_1) + +{ + *param_1 = 0; + param_1[1] = 0; + param_1[2] = 0; + param_1[3] = 0; + param_1[4] = 0; + param_1[6] = 0; + param_1[5] = 0; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004a8e0.c b/decomp/AgentManager_Release_x64/full/functions/0x14004a8e0.c new file mode 100644 index 00000000..15c79d94 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004a8e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004a8e0 FUN_14004a8e0 + * Pseudocode, not original source. */ + +undefined1 * FUN_14004a8e0(undefined1 *param_1) + +{ + *param_1 = 1; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004a8f0.c b/decomp/AgentManager_Release_x64/full/functions/0x14004a8f0.c new file mode 100644 index 00000000..1ff8935d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004a8f0.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004a8f0 FUN_14004a8f0 + * Pseudocode, not original source. */ + +undefined8 FUN_14004a8f0(longlong *param_1) + +{ + if ((undefined8 *)*param_1 != (undefined8 *)0x0) { + return *(undefined8 *)*param_1; + } + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004a900.c b/decomp/AgentManager_Release_x64/full/functions/0x14004a900.c new file mode 100644 index 00000000..1a1abcf1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004a900.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004a900 FUN_14004a900 + * Pseudocode, not original source. */ + +void FUN_14004a900(longlong *param_1) + +{ + undefined8 *puVar1; + + puVar1 = (undefined8 *)*param_1; + if (puVar1 != (undefined8 *)0x0) { + (**(code **)*puVar1)(puVar1,1); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004a920.c b/decomp/AgentManager_Release_x64/full/functions/0x14004a920.c new file mode 100644 index 00000000..3025a3dd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004a920.c @@ -0,0 +1,54 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004a920 FUN_14004a920 + * Pseudocode, not original source. */ + +int FUN_14004a920(longlong param_1,int param_2) + +{ + uint uVar1; + int iVar2; + uint uVar3; + int iVar4; + + iVar4 = *(int *)(param_1 + 0x24); + if (iVar4 == 0) { + iVar2 = (int)(*(int *)(param_1 + 0x18) + (*(int *)(param_1 + 0x18) >> 0x1f & 7U)) >> 3; + iVar4 = 0x400; + if (iVar2 < 0x400) { + iVar4 = iVar2; + } + iVar2 = 4; + if (4 < iVar4) { + iVar2 = iVar4; + } + iVar4 = iVar2 + param_2; + if (iVar2 + param_2 < *(int *)(param_1 + 0x20)) { + iVar4 = *(int *)(param_1 + 0x20); + } + return iVar4; + } + if (iVar4 != 1) { + if (iVar4 != 2) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (param_2 < *(int *)(param_1 + 0x20)) { + param_2 = *(int *)(param_1 + 0x20); + } + return param_2; + } + uVar1 = (int)(*(int *)(param_1 + 0x18) + (*(int *)(param_1 + 0x18) >> 0x1f & 7U)) >> 3; + uVar3 = 0x10; + if (0x10 < (int)uVar1) { + uVar3 = uVar1; + } + if (uVar3 < 2) { + uVar3 = 1; + } + iVar4 = uVar3 + param_2; + if ((int)(uVar3 + param_2) < *(int *)(param_1 + 0x20)) { + iVar4 = *(int *)(param_1 + 0x20); + } + return iVar4; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004a9c0.c b/decomp/AgentManager_Release_x64/full/functions/0x14004a9c0.c new file mode 100644 index 00000000..4486ed4d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004a9c0.c @@ -0,0 +1,50 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004a9c0 FUN_14004a9c0 + * Pseudocode, not original source. */ + +void FUN_14004a9c0(longlong *param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong lVar1; + longlong lVar2; + exception local_58 [88]; + + if (*(longlong **)(param_2 + 0x120) != param_1) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_CListNode_reports_a_consistency_p_14016f4a0, + L"Proud::CListNode::CListOwner::Erase",param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + lVar1 = *(longlong *)(param_2 + 0x118); + lVar2 = *(longlong *)(param_2 + 0x110); + if (lVar1 != 0) { + *(longlong *)(lVar1 + 0x110) = lVar2; + } + if (lVar2 != 0) { + *(longlong *)(lVar2 + 0x118) = lVar1; + } + if (lVar1 == 0) { + if (param_1[1] != param_2) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_CListNode_reports_a_consistency_p_14016f4a0, + L"Proud::CListNode::CListOwner::Erase",param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + param_1[1] = lVar2; + } + if (lVar2 == 0) { + if (*param_1 != param_2) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_CListNode_reports_a_consistency_p_14016f4a0, + L"Proud::CListNode::CListOwner::Erase",param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + *param_1 = lVar1; + } + *(undefined8 *)(param_2 + 0x110) = 0; + *(undefined8 *)(param_2 + 0x118) = 0; + *(undefined8 *)(param_2 + 0x120) = 0; + *(int *)(param_1 + 2) = (int)param_1[2] + -1; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004aab0.c b/decomp/AgentManager_Release_x64/full/functions/0x14004aab0.c new file mode 100644 index 00000000..2c4c3624 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004aab0.c @@ -0,0 +1,54 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004aab0 FUN_14004aab0 + * Pseudocode, not original source. */ + +int FUN_14004aab0(longlong param_1,int param_2) + +{ + uint uVar1; + int iVar2; + uint uVar3; + int iVar4; + + iVar4 = *(int *)(param_1 + 0x24); + if (iVar4 == 0) { + iVar2 = (int)(*(int *)(param_1 + 0x18) + (*(int *)(param_1 + 0x18) >> 0x1f & 7U)) >> 3; + iVar4 = 0x400; + if (iVar2 < 0x400) { + iVar4 = iVar2; + } + iVar2 = 4; + if (4 < iVar4) { + iVar2 = iVar4; + } + iVar4 = iVar2 + param_2; + if (iVar2 + param_2 < *(int *)(param_1 + 0x20)) { + iVar4 = *(int *)(param_1 + 0x20); + } + return iVar4; + } + if (iVar4 != 1) { + if (iVar4 != 2) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (param_2 < *(int *)(param_1 + 0x20)) { + param_2 = *(int *)(param_1 + 0x20); + } + return param_2; + } + uVar1 = (int)(*(int *)(param_1 + 0x18) + (*(int *)(param_1 + 0x18) >> 0x1f & 7U)) >> 3; + uVar3 = 0x10; + if (0x10 < (int)uVar1) { + uVar3 = uVar1; + } + if (uVar3 < 0x11) { + uVar3 = 0x10; + } + iVar4 = uVar3 + param_2; + if ((int)(uVar3 + param_2) < *(int *)(param_1 + 0x20)) { + iVar4 = *(int *)(param_1 + 0x20); + } + return iVar4; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004ab50.c b/decomp/AgentManager_Release_x64/full/functions/0x14004ab50.c new file mode 100644 index 00000000..08fd6a6d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004ab50.c @@ -0,0 +1,54 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004ab50 FUN_14004ab50 + * Pseudocode, not original source. */ + +int FUN_14004ab50(longlong param_1,int param_2) + +{ + uint uVar1; + int iVar2; + uint uVar3; + int iVar4; + + iVar4 = *(int *)(param_1 + 0x24); + if (iVar4 == 0) { + iVar2 = (int)(*(int *)(param_1 + 0x18) + (*(int *)(param_1 + 0x18) >> 0x1f & 7U)) >> 3; + iVar4 = 0x400; + if (iVar2 < 0x400) { + iVar4 = iVar2; + } + iVar2 = 4; + if (4 < iVar4) { + iVar2 = iVar4; + } + iVar4 = iVar2 + param_2; + if (iVar2 + param_2 < *(int *)(param_1 + 0x20)) { + iVar4 = *(int *)(param_1 + 0x20); + } + return iVar4; + } + if (iVar4 != 1) { + if (iVar4 != 2) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (param_2 < *(int *)(param_1 + 0x20)) { + param_2 = *(int *)(param_1 + 0x20); + } + return param_2; + } + uVar1 = (int)(*(int *)(param_1 + 0x18) + (*(int *)(param_1 + 0x18) >> 0x1f & 7U)) >> 3; + uVar3 = 0x10; + if (0x10 < (int)uVar1) { + uVar3 = uVar1; + } + if (uVar3 < 3) { + uVar3 = 2; + } + iVar4 = uVar3 + param_2; + if ((int)(uVar3 + param_2) < *(int *)(param_1 + 0x20)) { + iVar4 = *(int *)(param_1 + 0x20); + } + return iVar4; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004abf0.c b/decomp/AgentManager_Release_x64/full/functions/0x14004abf0.c new file mode 100644 index 00000000..a83e5825 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004abf0.c @@ -0,0 +1,25 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004abf0 FUN_14004abf0 + * Pseudocode, not original source. */ + +void FUN_14004abf0(undefined8 *param_1,longlong param_2,longlong param_3) + +{ + undefined8 *puVar1; + longlong lVar2; + + if (0 < param_3) { + lVar2 = param_2 - (longlong)param_1; + do { + puVar1 = param_1 + 4; + param_3 = param_3 + -1; + *param_1 = *(undefined8 *)(lVar2 + (longlong)param_1); + param_1[1] = *(undefined8 *)(lVar2 + -0x18 + (longlong)puVar1); + param_1[2] = *(undefined8 *)(lVar2 + -0x10 + (longlong)puVar1); + param_1[3] = *(undefined8 *)(lVar2 + -8 + (longlong)puVar1); + param_1 = puVar1; + } while (param_3 != 0); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004ac30.c b/decomp/AgentManager_Release_x64/full/functions/0x14004ac30.c new file mode 100644 index 00000000..550f1a80 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004ac30.c @@ -0,0 +1,50 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004ac30 FUN_14004ac30 + * Pseudocode, not original source. */ + +void FUN_14004ac30(longlong *param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong lVar1; + longlong lVar2; + exception local_58 [88]; + + if (*(longlong **)(param_2 + 0xa0) != param_1) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_CListNode_reports_a_consistency_p_14016f4a0, + L"Proud::CListNode::CListOwner::Erase",param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + lVar1 = *(longlong *)(param_2 + 0x98); + lVar2 = *(longlong *)(param_2 + 0x90); + if (lVar1 != 0) { + *(longlong *)(lVar1 + 0x90) = lVar2; + } + if (lVar2 != 0) { + *(longlong *)(lVar2 + 0x98) = lVar1; + } + if (lVar1 == 0) { + if (param_1[1] != param_2) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_CListNode_reports_a_consistency_p_14016f4a0, + L"Proud::CListNode::CListOwner::Erase",param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + param_1[1] = lVar2; + } + if (lVar2 == 0) { + if (*param_1 != param_2) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_CListNode_reports_a_consistency_p_14016f4a0, + L"Proud::CListNode::CListOwner::Erase",param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + *param_1 = lVar1; + } + *(undefined8 *)(param_2 + 0x90) = 0; + *(undefined8 *)(param_2 + 0x98) = 0; + *(undefined8 *)(param_2 + 0xa0) = 0; + *(int *)(param_1 + 2) = (int)param_1[2] + -1; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004ad20.c b/decomp/AgentManager_Release_x64/full/functions/0x14004ad20.c new file mode 100644 index 00000000..7215ad4f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004ad20.c @@ -0,0 +1,54 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004ad20 FUN_14004ad20 + * Pseudocode, not original source. */ + +int FUN_14004ad20(longlong param_1,int param_2) + +{ + uint uVar1; + int iVar2; + int iVar3; + uint uVar4; + + iVar3 = *(int *)(param_1 + 0x24); + if (iVar3 == 0) { + iVar2 = (int)(*(int *)(param_1 + 0x18) + (*(int *)(param_1 + 0x18) >> 0x1f & 7U)) >> 3; + iVar3 = 0x400; + if (iVar2 < 0x400) { + iVar3 = iVar2; + } + iVar2 = 4; + if (4 < iVar3) { + iVar2 = iVar3; + } + iVar3 = iVar2 + param_2; + if (iVar2 + param_2 < *(int *)(param_1 + 0x20)) { + iVar3 = *(int *)(param_1 + 0x20); + } + return iVar3; + } + if (iVar3 != 1) { + if (iVar3 != 2) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (param_2 < *(int *)(param_1 + 0x20)) { + param_2 = *(int *)(param_1 + 0x20); + } + return param_2; + } + uVar1 = (int)(*(int *)(param_1 + 0x18) + (*(int *)(param_1 + 0x18) >> 0x1f & 7U)) >> 3; + uVar4 = 0x10; + if (0x10 < (int)uVar1) { + uVar4 = uVar1; + } + if (uVar4 < 5) { + uVar4 = 4; + } + iVar3 = uVar4 + param_2; + if ((int)(uVar4 + param_2) < *(int *)(param_1 + 0x20)) { + iVar3 = *(int *)(param_1 + 0x20); + } + return iVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004adc0.c b/decomp/AgentManager_Release_x64/full/functions/0x14004adc0.c new file mode 100644 index 00000000..6de6efcd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004adc0.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004adc0 FUN_14004adc0 + * Pseudocode, not original source. */ + +undefined8 FUN_14004adc0(uint *param_1,undefined4 *param_2) + +{ + undefined8 uVar1; + undefined4 local_res18 [4]; + + uVar1 = FUN_140074ee0(param_1,(undefined8 *)local_res18,4); + if ((char)uVar1 == '\0') { + return uVar1; + } + *param_2 = local_res18[0]; + return CONCAT71((uint7)(uint3)((uint)local_res18[0] >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004ae00.c b/decomp/AgentManager_Release_x64/full/functions/0x14004ae00.c new file mode 100644 index 00000000..5bac8fb4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004ae00.c @@ -0,0 +1,21 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004ae00 FUN_14004ae00 + * Pseudocode, not original source. */ + +uint * FUN_14004ae00(uint *param_1,longlong param_2) + +{ + undefined8 uVar1; + undefined4 local_res8 [2]; + + uVar1 = FUN_140074ee0(param_1,(undefined8 *)local_res8,4); + if ((char)uVar1 != '\0') { + *(undefined4 *)(param_2 + 8) = local_res8[0]; + } + uVar1 = FUN_140074ee0(param_1,(undefined8 *)local_res8,2); + if ((char)uVar1 != '\0') { + *(undefined2 *)(param_2 + 0xc) = (undefined2)local_res8[0]; + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004ae60.c b/decomp/AgentManager_Release_x64/full/functions/0x14004ae60.c new file mode 100644 index 00000000..a45114a6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004ae60.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004ae60 FUN_14004ae60 + * Pseudocode, not original source. */ + +undefined1 FUN_14004ae60(longlong param_1) + +{ + bool bVar1; + + bVar1 = FUN_140086080(param_1); + if ((bVar1) && ((*(char *)(param_1 + 0x3f8) != '\0' || (*(int *)(param_1 + 1000) != 0)))) { + return 1; + } + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004aea0.c b/decomp/AgentManager_Release_x64/full/functions/0x14004aea0.c new file mode 100644 index 00000000..45dfaeab --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004aea0.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004aea0 FUN_14004aea0 + * Pseudocode, not original source. */ + +undefined8 * FUN_14004aea0(undefined8 *param_1,uint param_2) + +{ + FUN_1400768c0(param_1); + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004aed0.c b/decomp/AgentManager_Release_x64/full/functions/0x14004aed0.c new file mode 100644 index 00000000..1085598a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004aed0.c @@ -0,0 +1,21 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004aed0 FUN_14004aed0 + * Pseudocode, not original source. */ + +ulonglong FUN_14004aed0(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + ulonglong uVar1; + int *piVar2; + + piVar2 = (int *)(**(code **)(*(longlong *)(param_1 + -0xa8) + 0x58))(param_1 + -0xa8); + FUN_14003d040(piVar2); + if (DAT_14017614f != '\0') { + (**(code **)(*(longlong *)(param_1 + -0xa8) + 200)) + (param_1 + -0xa8,L"Proud::CNetServerImpl::GetP2PGroupCount"); + } + uVar1 = *(ulonglong *)(param_1 + 0x378); + FUN_14003d0d0((longlong)piVar2); + return uVar1 & 0xffffffff; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004af60.c b/decomp/AgentManager_Release_x64/full/functions/0x14004af60.c new file mode 100644 index 00000000..8ec9ad74 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004af60.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004af60 FUN_14004af60 + * Pseudocode, not original source. */ + +ulonglong FUN_14004af60(longlong *param_1,longlong *param_2,int *param_3,uint *param_4,uint param_5) + +{ + ulonglong in_RAX; + ulonglong uVar1; + + if (param_1[0x7c] == 0) { + return in_RAX & 0xffffffffffffff00; + } + uVar1 = FUN_140079460(param_1,param_2,param_3,param_4,param_5); + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004afa0.c b/decomp/AgentManager_Release_x64/full/functions/0x14004afa0.c new file mode 100644 index 00000000..f0f10c8e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004afa0.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004afa0 FUN_14004afa0 + * Pseudocode, not original source. */ + +bool FUN_14004afa0(longlong param_1) + +{ + return *(longlong *)(param_1 + 0x3f8) == 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004afb0.c b/decomp/AgentManager_Release_x64/full/functions/0x14004afb0.c new file mode 100644 index 00000000..dc35c6f3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004afb0.c @@ -0,0 +1,21 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004afb0 FUN_14004afb0 + * Pseudocode, not original source. */ + +ulonglong FUN_14004afb0(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + ulonglong uVar1; + int *piVar2; + + piVar2 = (int *)(**(code **)(*(longlong *)(param_1 + -0xa8) + 0x58))(param_1 + -0xa8); + FUN_14003d040(piVar2); + if (DAT_14017614f != '\0') { + (**(code **)(*(longlong *)(param_1 + -0xa8) + 200)) + (param_1 + -0xa8,L"Proud::CNetServerImpl::GetClientCount"); + } + uVar1 = *(ulonglong *)(param_1 + 0xbf0); + FUN_14003d0d0((longlong)piVar2); + return uVar1 & 0xffffffff; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004b040.c b/decomp/AgentManager_Release_x64/full/functions/0x14004b040.c new file mode 100644 index 00000000..51de2323 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004b040.c @@ -0,0 +1,26 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004b040 FUN_14004b040 + * Pseudocode, not original source. */ + +void FUN_14004b040(longlong param_1,int param_2) + +{ + int iVar1; + int *piVar2; + + if (param_2 < 0x81) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + piVar2 = (int *)FUN_14003e990(); + FUN_14003d040(piVar2); + iVar1 = param_2; + if (param_2 < DAT_14016f140) { + iVar1 = DAT_14016f140; + } + DAT_14016f140 = iVar1; + FUN_14003d0d0((longlong)piVar2); + *(int *)(param_1 + 0x184) = param_2; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004b0b0.c b/decomp/AgentManager_Release_x64/full/functions/0x14004b0b0.c new file mode 100644 index 00000000..58c1042d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004b0b0.c @@ -0,0 +1,31 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004b0b0 FUN_14004b0b0 + * Pseudocode, not original source. */ + +void FUN_14004b0b0(longlong param_1,double param_2,longlong param_3,undefined8 param_4) + +{ + int *piVar1; + + if ((1.0 <= param_2) || (*(longlong *)(param_1 + 0x6b0) == 0)) { + if ((240.0 < param_2) && (*(longlong *)(param_1 + 0x6b0) != 0)) { + FUN_14003e110(L"Too long timeout value. It may take a lot of time to detect lost connection.") + ; + } + piVar1 = (int *)(**(code **)(*(longlong *)(param_1 + -0xa8) + 0x58))(param_1 + -0xa8); + FUN_14003d040(piVar1); + if (DAT_14017614f != '\0') { + param_3 = *(longlong *)(param_1 + -0xa8); + (**(code **)(param_3 + 200)) + (param_1 + -0xa8,L"Proud::CNetServerImpl::SetDefaultTimeoutTimeSec"); + } + FUN_140076d30(param_1 + -0xa8,param_2,param_3,param_4); + *(double *)(param_1 + 0x188) = param_2; + FUN_14003d0d0((longlong)piVar1); + } + else { + FUN_14003e110(L"Too short timeout value. It may cause unfair disconnection."); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004b1a0.c b/decomp/AgentManager_Release_x64/full/functions/0x14004b1a0.c new file mode 100644 index 00000000..72073bb1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004b1a0.c @@ -0,0 +1,25 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004b1a0 FUN_14004b1a0 + * Pseudocode, not original source. */ + +undefined8 FUN_14004b1a0(longlong param_1,int param_2,undefined8 param_3,undefined8 param_4) + +{ + int *piVar1; + undefined8 uVar2; + + piVar1 = (int *)(**(code **)(*(longlong *)(param_1 + -0xa8) + 0x58))(param_1 + -0xa8); + FUN_14003d040(piVar1); + if (DAT_14017614f != '\0') { + (**(code **)(*(longlong *)(param_1 + -0xa8) + 200)) + (param_1 + -0xa8,L"Proud::CNetServerImpl::SetDirectP2PStartCondition"); + } + if (1 < param_2) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + *(int *)(param_1 + 400) = param_2; + uVar2 = FUN_14003d0d0((longlong)piVar1); + return CONCAT71((int7)((ulonglong)uVar2 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004b240.c b/decomp/AgentManager_Release_x64/full/functions/0x14004b240.c new file mode 100644 index 00000000..11b796ae --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004b240.c @@ -0,0 +1,20 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004b240 FUN_14004b240 + * Pseudocode, not original source. */ + +undefined8 * FUN_14004b240(longlong param_1,undefined8 *param_2) + +{ + longlong lVar1; + + if ((*(longlong **)(param_1 + 0x6a0) != (longlong *)0x0) && + (lVar1 = **(longlong **)(param_1 + 0x6a0), lVar1 != 0)) { + FUN_140042ff0(lVar1,param_2); + return param_2; + } + *param_2 = Proud::AddrPort::vftable; + *(undefined4 *)(param_2 + 1) = DAT_14016f3d0; + *(undefined2 *)((longlong)param_2 + 0xc) = DAT_14016f3d4; + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004b2a0.c b/decomp/AgentManager_Release_x64/full/functions/0x14004b2a0.c new file mode 100644 index 00000000..c2d0e2f0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004b2a0.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004b2a0 FUN_14004b2a0 + * Pseudocode, not original source. */ + +undefined1 FUN_14004b2a0(longlong param_1,undefined4 param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined1 uVar1; + int *piVar2; + + piVar2 = (int *)(**(code **)(*(longlong *)(param_1 + -0xa8) + 0x58))(); + FUN_14003d040(piVar2); + uVar1 = (**(code **)(*(longlong *)(param_1 + 0x78) + 0x18))((longlong *)(param_1 + 0x78),param_2); + FUN_14003d0d0((longlong)piVar2); + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004b310.c b/decomp/AgentManager_Release_x64/full/functions/0x14004b310.c new file mode 100644 index 00000000..70826920 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004b310.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004b310 FUN_14004b310 + * Pseudocode, not original source. */ + +bool FUN_14004b310(longlong param_1) + +{ + return *(longlong *)(param_1 + 0x3e0) != 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004b320.c b/decomp/AgentManager_Release_x64/full/functions/0x14004b320.c new file mode 100644 index 00000000..093d7509 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004b320.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004b320 FUN_14004b320 + * Pseudocode, not original source. */ + +void FUN_14004b320(longlong param_1,undefined1 param_2,longlong param_3,undefined8 param_4) + +{ + char cVar1; + int *piVar2; + exception local_50 [72]; + + piVar2 = (int *)(**(code **)(*(longlong *)(param_1 + -0xa8) + 0x58))(param_1 + -0xa8); + FUN_14003d040(piVar2); + if (DAT_14017614f != '\0') { + param_3 = *(longlong *)(param_1 + -0xa8); + (**(code **)(param_3 + 200))(param_1 + -0xa8,L"Proud::CNetServerImpl::AllowEmptyP2PGroup"); + } + cVar1 = (**(code **)(*(longlong *)(param_1 + -0xa8) + 0x90))(param_1 + -0xa8); + if (cVar1 != '\0') { + FUN_14003db10(local_50,L"Cannot set AllowEmptyP2PGroup after the server has started.",param_3, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_50,(ThrowInfo *)&DAT_14016c210); + } + *(undefined1 *)(param_1 + 0x1758) = param_2; + FUN_14003d0d0((longlong)piVar2); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004b400.c b/decomp/AgentManager_Release_x64/full/functions/0x14004b400.c new file mode 100644 index 00000000..24c6840e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004b400.c @@ -0,0 +1,21 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004b400 FUN_14004b400 + * Pseudocode, not original source. */ + +void FUN_14004b400(longlong param_1,short *param_2,uint param_3,longlong *param_4) + +{ + undefined8 *puVar1; + undefined8 *puVar2; + + if (*(longlong *)(param_1 + 0x58) == 0) { + puVar1 = operator_new(0xd0); + puVar2 = (undefined8 *)0x0; + if (puVar1 != (undefined8 *)0x0) { + puVar2 = FUN_140089dc0(puVar1,param_1 + 0x118,param_2,(ulonglong)param_3,param_4); + } + *(undefined8 **)(param_1 + 0x58) = puVar2; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004b480.c b/decomp/AgentManager_Release_x64/full/functions/0x14004b480.c new file mode 100644 index 00000000..45f85e99 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004b480.c @@ -0,0 +1,27 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004b480 FUN_14004b480 + * Pseudocode, not original source. */ + +bool FUN_14004b480(longlong param_1,undefined4 param_2,undefined8 param_3,undefined8 param_4) + +{ + int *piVar1; + longlong lVar2; + + piVar1 = (int *)(**(code **)(*(longlong *)(param_1 + -0xa8) + 0x58))(param_1 + -0xa8); + FUN_14003d040(piVar1); + if (DAT_14017614f != '\0') { + (**(code **)(*(longlong *)(param_1 + -0xa8) + 200)) + (param_1 + -0xa8,L"Proud::CNetServerImpl::SetHostTag"); + } + lVar2 = (**(code **)(*(longlong *)(param_1 + 0x78) + 0x10))((longlong *)(param_1 + 0x78),param_2); + if (lVar2 != 0) { + *(undefined8 *)(lVar2 + 0x28) = param_3; + FUN_14003d0d0((longlong)piVar1); + } + else { + FUN_14003d0d0((longlong)piVar1); + } + return lVar2 != 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004b540.c b/decomp/AgentManager_Release_x64/full/functions/0x14004b540.c new file mode 100644 index 00000000..c4c58f9e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004b540.c @@ -0,0 +1,71 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004b540 FUN_14004b540 + * Pseudocode, not original source. */ + +ulonglong FUN_14004b540(longlong param_1,int param_2) + +{ + undefined2 uVar1; + undefined2 uVar2; + undefined4 uVar3; + undefined4 uVar4; + int *piVar5; + longlong lVar6; + int *piVar7; + ulonglong uVar8; + ulonglong uVar9; + ulonglong uVar10; + ulonglong uVar11; + + uVar8 = 0; + piVar5 = (int *)(param_1 + 0x70); + uVar9 = uVar8; + uVar10 = uVar8; + do { + if (*piVar5 == param_2) { + lVar6 = (longlong)(int)uVar10; + uVar3 = *(undefined4 *)(param_1 + 0x90 + lVar6 * 0x48); + uVar1 = *(undefined2 *)(param_1 + 0x94 + lVar6 * 0x48); + uVar4 = *(undefined4 *)(param_1 + 0x80 + lVar6 * 0x48); + uVar2 = *(undefined2 *)(param_1 + 0x84 + lVar6 * 0x48); + piVar5 = (int *)(param_1 + 0x10); + piVar7 = piVar5; + uVar9 = uVar8; + uVar10 = uVar8; + do { + if (*piVar7 == param_2) { + lVar6 = (longlong)(int)uVar10; + *(undefined4 *)(param_1 + 0x30 + lVar6 * 0x30) = uVar4; + *(undefined2 *)(param_1 + 0x34 + lVar6 * 0x30) = uVar2; + *(undefined2 *)(param_1 + 0x24 + lVar6 * 0x30) = uVar1; + *(undefined4 *)(param_1 + 0x20 + lVar6 * 0x30) = uVar3; + return CONCAT71((int7)(int3)(uVar10 >> 8),1); + } + uVar9 = uVar9 + 1; + uVar10 = (ulonglong)((int)uVar10 + 1); + piVar7 = piVar7 + 0xc; + uVar11 = uVar8; + } while ((longlong)uVar9 < 2); + do { + if (*piVar5 == 0) { + lVar6 = (longlong)(int)uVar11; + *(undefined4 *)(param_1 + 0x30 + lVar6 * 0x30) = uVar4; + *(undefined2 *)(param_1 + 0x34 + lVar6 * 0x30) = uVar2; + *(undefined2 *)(param_1 + 0x24 + lVar6 * 0x30) = uVar1; + *(undefined4 *)(param_1 + 0x20 + lVar6 * 0x30) = uVar3; + *(int *)(param_1 + 0x10 + lVar6 * 0x30) = param_2; + return CONCAT71((int7)(int3)(uVar11 >> 8),1); + } + uVar8 = uVar8 + 1; + piVar5 = piVar5 + 0xc; + uVar11 = (ulonglong)((int)uVar11 + 1); + } while ((longlong)uVar8 < 2); + return CONCAT71((int7)(uVar8 >> 8),1); + } + uVar9 = uVar9 + 1; + uVar10 = (ulonglong)((int)uVar10 + 1); + piVar5 = piVar5 + 0x12; + } while ((longlong)uVar9 < 2); + return (ulonglong)piVar5 & 0xffffffffffffff00; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004b660.c b/decomp/AgentManager_Release_x64/full/functions/0x14004b660.c new file mode 100644 index 00000000..d4da1f6b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004b660.c @@ -0,0 +1,20 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004b660 FUN_14004b660 + * Pseudocode, not original source. */ + +void FUN_14004b660(undefined8 *param_1) + +{ + *param_1 = Proud::CFastArray::vftable; + if ((LPVOID)param_1[2] != (LPVOID)0x0) { + if ((longlong *)param_1[1] != (longlong *)0x0) { + /* WARNING: Could not recover jumptable at 0x00014004b687. Too many branches */ + /* WARNING: Treating indirect jump as call */ + (**(code **)(*(longlong *)param_1[1] + 0x18))(); + return; + } + FUN_14003e8b0((LPVOID)param_1[2]); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004b6a0.c b/decomp/AgentManager_Release_x64/full/functions/0x14004b6a0.c new file mode 100644 index 00000000..bcf9506e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004b6a0.c @@ -0,0 +1,85 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004b6a0 FUN_14004b6a0 + * Pseudocode, not original source. */ + +void FUN_14004b6a0(longlong param_1,int param_2,longlong param_3) + +{ + longlong *plVar1; + LPVOID pvVar2; + int iVar3; + undefined8 uVar4; + undefined8 *puVar5; + undefined8 *puVar6; + int iVar7; + longlong lVar8; + exception local_58 [80]; + + if (param_2 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (param_2 != *(int *)(param_1 + 0x18)) { + if (*(int *)(param_1 + 0x1c) < param_2) { + iVar3 = FUN_14004a920(param_1,param_2); + plVar1 = *(longlong **)(param_1 + 8); + lVar8 = (longlong)iVar3; + if (*(int *)(param_1 + 0x1c) == 0) { + if (plVar1 == (longlong *)0x0) { + uVar4 = FUN_14003e840(lVar8 << 6); + *(undefined8 *)(param_1 + 0x10) = uVar4; + } + else { + uVar4 = (**(code **)(*plVar1 + 8))(plVar1,lVar8 << 6); + *(undefined8 *)(param_1 + 0x10) = uVar4; + } + } + else { + pvVar2 = *(LPVOID *)(param_1 + 0x10); + if (plVar1 == (longlong *)0x0) { + puVar5 = (undefined8 *)FUN_14003e840(lVar8 << 6); + } + else { + puVar5 = (undefined8 *)(**(code **)(*plVar1 + 8))(); + } + lVar8 = (longlong)*(int *)(param_1 + 0x18); + iVar7 = 0; + if (0 < lVar8) { + param_3 = (longlong)pvVar2 - (longlong)puVar5; + puVar6 = puVar5; + do { + if (puVar6 != (undefined8 *)0x0) { + *puVar6 = *(undefined8 *)(param_3 + (longlong)puVar6); + puVar6[1] = *(undefined8 *)(param_3 + 8 + (longlong)puVar6); + puVar6[2] = *(undefined8 *)(param_3 + 0x10 + (longlong)puVar6); + puVar6[3] = *(undefined8 *)(param_3 + 0x18 + (longlong)puVar6); + puVar6[4] = *(undefined8 *)(param_3 + 0x20 + (longlong)puVar6); + puVar6[5] = *(undefined8 *)(param_3 + 0x28 + (longlong)puVar6); + puVar6[6] = *(undefined8 *)(param_3 + 0x30 + (longlong)puVar6); + puVar6[7] = *(undefined8 *)(param_3 + 0x38 + (longlong)puVar6); + } + iVar7 = iVar7 + 1; + puVar6 = puVar6 + 8; + } while (iVar7 < lVar8); + } + if (puVar5 == (undefined8 *)0x0) { + FUN_14003db10(local_58,L"Memory allocation failure!",param_3,lVar8); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + plVar1 = *(longlong **)(param_1 + 8); + if (plVar1 == (longlong *)0x0) { + FUN_14003e8b0(pvVar2); + } + else { + (**(code **)(*plVar1 + 0x18))(plVar1,pvVar2); + } + *(undefined8 **)(param_1 + 0x10) = puVar5; + } + *(int *)(param_1 + 0x1c) = iVar3; + } + *(int *)(param_1 + 0x18) = param_2; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004b830.c b/decomp/AgentManager_Release_x64/full/functions/0x14004b830.c new file mode 100644 index 00000000..d5fd22cf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004b830.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004b830 FUN_14004b830 + * Pseudocode, not original source. */ + +void FUN_14004b830(undefined8 *param_1,longlong *param_2,longlong *param_3,undefined8 param_4) + +{ + void *pvVar1; + + pvVar1 = (void *)*param_1; + if (pvVar1 != (void *)0x0) { + FUN_140047d90((longlong)pvVar1,param_2,param_3,param_4); + operator_delete(pvVar1); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004b860.c b/decomp/AgentManager_Release_x64/full/functions/0x14004b860.c new file mode 100644 index 00000000..119eed0e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004b860.c @@ -0,0 +1,20 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004b860 FUN_14004b860 + * Pseudocode, not original source. */ + +void FUN_14004b860(undefined8 *param_1) + +{ + *param_1 = Proud::CFastArray::vftable; + if ((LPVOID)param_1[2] != (LPVOID)0x0) { + if ((longlong *)param_1[1] != (longlong *)0x0) { + /* WARNING: Could not recover jumptable at 0x00014004b887. Too many branches */ + /* WARNING: Treating indirect jump as call */ + (**(code **)(*(longlong *)param_1[1] + 0x18))(); + return; + } + FUN_14003e8b0((LPVOID)param_1[2]); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004b8a0.c b/decomp/AgentManager_Release_x64/full/functions/0x14004b8a0.c new file mode 100644 index 00000000..119a6ab7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004b8a0.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004b8a0 FUN_14004b8a0 + * Pseudocode, not original source. */ + +void FUN_14004b8a0(undefined8 *param_1,wchar_t *param_2,longlong *param_3,undefined8 param_4) + +{ + int *piVar1; + + piVar1 = (int *)*param_1; + if (piVar1 != (int *)0x0) { + FUN_14007f670(piVar1,param_2,param_3,param_4); + operator_delete(piVar1); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004b8d0.c b/decomp/AgentManager_Release_x64/full/functions/0x14004b8d0.c new file mode 100644 index 00000000..213abd48 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004b8d0.c @@ -0,0 +1,20 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004b8d0 FUN_14004b8d0 + * Pseudocode, not original source. */ + +void FUN_14004b8d0(undefined8 *param_1) + +{ + *param_1 = Proud::CFastArray::vftable; + if ((LPVOID)param_1[2] != (LPVOID)0x0) { + if ((longlong *)param_1[1] != (longlong *)0x0) { + /* WARNING: Could not recover jumptable at 0x00014004b8f7. Too many branches */ + /* WARNING: Treating indirect jump as call */ + (**(code **)(*(longlong *)param_1[1] + 0x18))(); + return; + } + FUN_14003e8b0((LPVOID)param_1[2]); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004b910.c b/decomp/AgentManager_Release_x64/full/functions/0x14004b910.c new file mode 100644 index 00000000..ba46b6f8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004b910.c @@ -0,0 +1,20 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004b910 FUN_14004b910 + * Pseudocode, not original source. */ + +void FUN_14004b910(undefined8 *param_1) + +{ + *param_1 = Proud::CFastArray::vftable; + if ((LPVOID)param_1[2] != (LPVOID)0x0) { + if ((longlong *)param_1[1] != (longlong *)0x0) { + /* WARNING: Could not recover jumptable at 0x00014004b937. Too many branches */ + /* WARNING: Treating indirect jump as call */ + (**(code **)(*(longlong *)param_1[1] + 0x18))(); + return; + } + FUN_14003e8b0((LPVOID)param_1[2]); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004b950.c b/decomp/AgentManager_Release_x64/full/functions/0x14004b950.c new file mode 100644 index 00000000..bd2d3d35 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004b950.c @@ -0,0 +1,55 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004b950 FUN_14004b950 + * Pseudocode, not original source. */ + +void FUN_14004b950(longlong param_1,int param_2,longlong param_3) + +{ + int iVar1; + longlong *plVar2; + int iVar3; + longlong lVar4; + int iVar5; + undefined8 uVar6; + exception local_58 [80]; + + iVar1 = *(int *)(param_1 + 0x1c); + iVar3 = iVar1; + if (iVar1 < param_2) { + iVar3 = param_2; + } + iVar5 = *(int *)(param_1 + 0x20); + if ((*(int *)(param_1 + 0x20) <= iVar3) && (iVar5 = param_2, param_2 <= iVar1)) { + iVar5 = iVar1; + } + if (iVar1 < iVar5) { + plVar2 = *(longlong **)(param_1 + 8); + if (iVar1 == 0) { + if (plVar2 == (longlong *)0x0) { + lVar4 = FUN_14003e840((longlong)iVar5 << 2); + } + else { + lVar4 = (**(code **)(*plVar2 + 8))(plVar2,(longlong)iVar5 << 2); + } + } + else { + uVar6 = *(undefined8 *)(param_1 + 0x10); + if (plVar2 == (longlong *)0x0) { + lVar4 = FUN_14003e870(uVar6,(longlong)iVar5 << 2); + } + else { + param_3 = (longlong)iVar5 << 2; + lVar4 = (**(code **)(*plVar2 + 0x10))(plVar2,uVar6); + } + if (lVar4 == 0) { + FUN_14003db10(local_58,L"Memory allocation failure!",param_3,uVar6); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + } + *(longlong *)(param_1 + 0x10) = lVar4; + *(int *)(param_1 + 0x1c) = iVar5; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004ba10.c b/decomp/AgentManager_Release_x64/full/functions/0x14004ba10.c new file mode 100644 index 00000000..a755fd99 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004ba10.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004ba10 FUN_14004ba10 + * Pseudocode, not original source. */ + +void FUN_14004ba10(undefined8 *param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 *puVar1; + + puVar1 = (undefined8 *)*param_1; + if (puVar1 != (undefined8 *)0x0) { + FUN_140085370(puVar1,param_2,param_3,param_4); + operator_delete(puVar1); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004ba40.c b/decomp/AgentManager_Release_x64/full/functions/0x14004ba40.c new file mode 100644 index 00000000..736775b1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004ba40.c @@ -0,0 +1,20 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004ba40 FUN_14004ba40 + * Pseudocode, not original source. */ + +void FUN_14004ba40(undefined8 *param_1) + +{ + *param_1 = Proud::CFastArray::vftable; + if ((LPVOID)param_1[2] != (LPVOID)0x0) { + if ((longlong *)param_1[1] != (longlong *)0x0) { + /* WARNING: Could not recover jumptable at 0x00014004ba67. Too many branches */ + /* WARNING: Treating indirect jump as call */ + (**(code **)(*(longlong *)param_1[1] + 0x18))(); + return; + } + FUN_14003e8b0((LPVOID)param_1[2]); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004ba80.c b/decomp/AgentManager_Release_x64/full/functions/0x14004ba80.c new file mode 100644 index 00000000..755e893e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004ba80.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004ba80 FUN_14004ba80 + * Pseudocode, not original source. */ + +undefined8 * FUN_14004ba80(undefined8 *param_1,uint param_2) + +{ + *param_1 = Proud::CFastArray::vftable; + if ((LPVOID)param_1[2] != (LPVOID)0x0) { + if ((longlong *)param_1[1] == (longlong *)0x0) { + FUN_14003e8b0((LPVOID)param_1[2]); + } + else { + (**(code **)(*(longlong *)param_1[1] + 0x18))(); + } + } + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004bae0.c b/decomp/AgentManager_Release_x64/full/functions/0x14004bae0.c new file mode 100644 index 00000000..b25445a9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004bae0.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004bae0 FUN_14004bae0 + * Pseudocode, not original source. */ + +undefined8 * FUN_14004bae0(undefined8 *param_1,uint param_2) + +{ + *param_1 = Proud::CFastArray::vftable; + if ((LPVOID)param_1[2] != (LPVOID)0x0) { + if ((longlong *)param_1[1] == (longlong *)0x0) { + FUN_14003e8b0((LPVOID)param_1[2]); + } + else { + (**(code **)(*(longlong *)param_1[1] + 0x18))(); + } + } + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004bb40.c b/decomp/AgentManager_Release_x64/full/functions/0x14004bb40.c new file mode 100644 index 00000000..a21b2bc9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004bb40.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004bb40 FUN_14004bb40 + * Pseudocode, not original source. */ + +undefined8 * FUN_14004bb40(undefined8 *param_1,uint param_2) + +{ + *param_1 = Proud::CFastArray::vftable; + if ((LPVOID)param_1[2] != (LPVOID)0x0) { + if ((longlong *)param_1[1] == (longlong *)0x0) { + FUN_14003e8b0((LPVOID)param_1[2]); + } + else { + (**(code **)(*(longlong *)param_1[1] + 0x18))(); + } + } + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004bba0.c b/decomp/AgentManager_Release_x64/full/functions/0x14004bba0.c new file mode 100644 index 00000000..b2d9ed60 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004bba0.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004bba0 FUN_14004bba0 + * Pseudocode, not original source. */ + +undefined8 * FUN_14004bba0(undefined8 *param_1,uint param_2) + +{ + *param_1 = Proud::CFastArray::vftable; + if ((LPVOID)param_1[2] != (LPVOID)0x0) { + if ((longlong *)param_1[1] == (longlong *)0x0) { + FUN_14003e8b0((LPVOID)param_1[2]); + } + else { + (**(code **)(*(longlong *)param_1[1] + 0x18))(); + } + } + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004bc00.c b/decomp/AgentManager_Release_x64/full/functions/0x14004bc00.c new file mode 100644 index 00000000..685d0df8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004bc00.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004bc00 FUN_14004bc00 + * Pseudocode, not original source. */ + +undefined8 * FUN_14004bc00(undefined8 *param_1,uint param_2) + +{ + *param_1 = Proud::CFastArray::vftable; + if ((LPVOID)param_1[2] != (LPVOID)0x0) { + if ((longlong *)param_1[1] == (longlong *)0x0) { + FUN_14003e8b0((LPVOID)param_1[2]); + } + else { + (**(code **)(*(longlong *)param_1[1] + 0x18))(); + } + } + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004bc60.c b/decomp/AgentManager_Release_x64/full/functions/0x14004bc60.c new file mode 100644 index 00000000..41c777d1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004bc60.c @@ -0,0 +1,43 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004bc60 FUN_14004bc60 + * Pseudocode, not original source. */ + +void FUN_14004bc60(longlong param_1,int param_2,undefined8 param_3,longlong param_4) + +{ + undefined8 *puVar1; + int iVar2; + longlong lVar3; + longlong lVar4; + longlong lVar5; + int iVar6; + longlong lVar7; + + iVar6 = (int)param_3; + if ((-1 < param_2) && (-1 < iVar6)) { + iVar2 = *(int *)(param_1 + 0x18) - param_2; + if (iVar2 <= iVar6) { + iVar6 = iVar2; + } + if (0 < iVar2 - iVar6) { + lVar7 = (longlong)(iVar2 - iVar6); + lVar5 = (longlong)param_2 * 0x18; + do { + lVar3 = FUN_140074a30(param_1); + lVar3 = lVar3 + (longlong)iVar6 * 0x18; + lVar4 = FUN_140074a30(param_1); + *(undefined8 *)(lVar4 + lVar5) = *(undefined8 *)(lVar3 + lVar5); + puVar1 = (undefined8 *)(lVar3 + 8 + lVar5); + lVar5 = lVar5 + 0x18; + lVar7 = lVar7 + -1; + *(undefined8 *)(lVar4 + -0x10 + lVar5) = *puVar1; + *(undefined8 *)(lVar4 + -8 + lVar5) = *(undefined8 *)(lVar3 + -8 + lVar5); + } while (lVar7 != 0); + } + FUN_14004c130(param_1,*(int *)(param_1 + 0x18) - iVar6,param_3,param_4); + return; + } + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004bd20.c b/decomp/AgentManager_Release_x64/full/functions/0x14004bd20.c new file mode 100644 index 00000000..f9b3a6eb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004bd20.c @@ -0,0 +1,108 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004bd20 FUN_14004bd20 + * Pseudocode, not original source. */ + +void FUN_14004bd20(undefined8 *param_1,longlong param_2,longlong param_3) + +{ + ulonglong uVar1; + undefined8 *puVar2; + longlong lVar3; + undefined8 *puVar4; + int iVar5; + undefined8 *puVar6; + longlong lVar7; + + if (param_2 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (-1 < param_3) { + param_1[3] = param_3; + } + if (param_2 == 0) { + if ((100 < (ulonglong)param_1[2]) && ((void *)*param_1 != (void *)0x0)) { + operator_delete__((void *)*param_1); + *param_1 = 0; + } + param_1[1] = 0; + param_1[2] = 100; + return; + } + uVar1 = param_1[2]; + if ((longlong)uVar1 < param_2) { + lVar3 = param_1[3]; + if (lVar3 == 0) { + lVar3 = (longlong)(param_1[1] + (ulonglong)((uint)((longlong)param_1[1] >> 0x3f) & 7)) >> 3; + if (lVar3 < 4) { + lVar3 = 4; + } + else if (0x400 < lVar3) { + lVar3 = 0x400; + } + } + lVar7 = param_2; + if (param_2 < (longlong)(lVar3 + uVar1)) { + lVar7 = lVar3 + uVar1; + } + if (lVar7 < (longlong)uVar1) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + puVar4 = operator_new(lVar7 << 5); + puVar2 = param_1 + 4; + if (100 < (ulonglong)param_1[2]) { + puVar2 = (undefined8 *)*param_1; + } + FUN_14004abf0(puVar4,(longlong)puVar2,param_1[1]); + memset(puVar4 + param_1[1] * 4,0,(param_2 - param_1[1]) * 0x20); + iVar5 = 0; + lVar3 = param_2 - param_1[1]; + if (0 < lVar3) { + puVar6 = puVar4 + param_1[1] * 4 + 3; + do { + if (puVar6 + -3 != (undefined8 *)0x0) { + *(undefined4 *)(puVar6 + -3) = 0; + puVar6[-2] = 0; + *puVar6 = 0; + puVar6[-1] = 0; + } + iVar5 = iVar5 + 1; + puVar6 = puVar6 + 4; + } while (iVar5 < lVar3); + } + if (100 < (ulonglong)param_1[2]) { + operator_delete__(puVar2); + } + *param_1 = puVar4; + param_1[2] = lVar7; + } + else { + puVar2 = param_1 + 4; + if (100 < uVar1) { + puVar2 = (undefined8 *)*param_1; + } + lVar3 = param_1[1]; + if (lVar3 < param_2) { + iVar5 = 0; + if (0 < param_2 - lVar3) { + puVar2 = puVar2 + lVar3 * 4 + 3; + do { + if (puVar2 + -3 != (undefined8 *)0x0) { + *(undefined4 *)(puVar2 + -3) = 0; + puVar2[-2] = 0; + *puVar2 = 0; + puVar2[-1] = 0; + } + iVar5 = iVar5 + 1; + puVar2 = puVar2 + 4; + } while ((longlong)iVar5 < param_2 - lVar3); + param_1[1] = param_2; + return; + } + } + } + param_1[1] = param_2; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004bf10.c b/decomp/AgentManager_Release_x64/full/functions/0x14004bf10.c new file mode 100644 index 00000000..81a4c65d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004bf10.c @@ -0,0 +1,57 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004bf10 FUN_14004bf10 + * Pseudocode, not original source. */ + +void FUN_14004bf10(longlong *param_1) + +{ + longlong lVar1; + longlong lVar2; + longlong lVar3; + exception local_58 [88]; + + lVar1 = *param_1; + while( true ) { + if (lVar1 == 0) { + return; + } + lVar1 = *param_1; + if (*(longlong **)(lVar1 + 0x120) != param_1) break; + lVar2 = *(longlong *)(lVar1 + 0x118); + lVar3 = *(longlong *)(lVar1 + 0x110); + if (lVar2 != 0) { + *(longlong *)(lVar2 + 0x110) = lVar3; + } + if (lVar3 != 0) { + *(longlong *)(lVar3 + 0x118) = lVar2; + } + if (lVar2 == 0) { + if (param_1[1] != lVar1) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_CListNode_reports_a_consistency_p_14016f4a0, + L"Proud::CListNode::CListOwner::Erase",0); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + param_1[1] = lVar3; + } + if (lVar3 == 0) { + if (*param_1 != lVar1) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_CListNode_reports_a_consistency_p_14016f4a0, + L"Proud::CListNode::CListOwner::Erase",0); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + *param_1 = lVar2; + } + *(undefined8 *)(lVar1 + 0x110) = 0; + *(undefined8 *)(lVar1 + 0x118) = 0; + *(undefined8 *)(lVar1 + 0x120) = 0; + *(int *)(param_1 + 2) = (int)param_1[2] + -1; + lVar1 = *param_1; + } + FUN_14003db10(local_58,(wchar_t *)PTR_u_CListNode_reports_a_consistency_p_14016f4a0, + L"Proud::CListNode::CListOwner::Erase",0); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004c020.c b/decomp/AgentManager_Release_x64/full/functions/0x14004c020.c new file mode 100644 index 00000000..ee9583b2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004c020.c @@ -0,0 +1,57 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004c020 FUN_14004c020 + * Pseudocode, not original source. */ + +void FUN_14004c020(longlong *param_1) + +{ + longlong lVar1; + longlong lVar2; + longlong lVar3; + exception local_58 [88]; + + lVar1 = *param_1; + while( true ) { + if (lVar1 == 0) { + return; + } + lVar1 = *param_1; + if (*(longlong **)(lVar1 + 0xa0) != param_1) break; + lVar2 = *(longlong *)(lVar1 + 0x98); + lVar3 = *(longlong *)(lVar1 + 0x90); + if (lVar2 != 0) { + *(longlong *)(lVar2 + 0x90) = lVar3; + } + if (lVar3 != 0) { + *(longlong *)(lVar3 + 0x98) = lVar2; + } + if (lVar2 == 0) { + if (param_1[1] != lVar1) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_CListNode_reports_a_consistency_p_14016f4a0, + L"Proud::CListNode::CListOwner::Erase",0); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + param_1[1] = lVar3; + } + if (lVar3 == 0) { + if (*param_1 != lVar1) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_CListNode_reports_a_consistency_p_14016f4a0, + L"Proud::CListNode::CListOwner::Erase",0); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + *param_1 = lVar2; + } + *(undefined8 *)(lVar1 + 0x90) = 0; + *(undefined8 *)(lVar1 + 0x98) = 0; + *(undefined8 *)(lVar1 + 0xa0) = 0; + *(int *)(param_1 + 2) = (int)param_1[2] + -1; + lVar1 = *param_1; + } + FUN_14003db10(local_58,(wchar_t *)PTR_u_CListNode_reports_a_consistency_p_14016f4a0, + L"Proud::CListNode::CListOwner::Erase",0); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004c130.c b/decomp/AgentManager_Release_x64/full/functions/0x14004c130.c new file mode 100644 index 00000000..99ef4de4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004c130.c @@ -0,0 +1,80 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004c130 FUN_14004c130 + * Pseudocode, not original source. */ + +void FUN_14004c130(longlong param_1,int param_2,undefined8 param_3,longlong param_4) + +{ + longlong *plVar1; + LPVOID pvVar2; + int iVar3; + undefined8 uVar4; + undefined8 *puVar5; + undefined8 *puVar6; + int iVar7; + longlong lVar8; + exception local_58 [80]; + + if (param_2 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (param_2 != *(int *)(param_1 + 0x18)) { + if (*(int *)(param_1 + 0x1c) < param_2) { + iVar3 = FUN_14004ab50(param_1,param_2); + plVar1 = *(longlong **)(param_1 + 8); + lVar8 = (longlong)iVar3; + if (*(int *)(param_1 + 0x1c) == 0) { + if (plVar1 == (longlong *)0x0) { + uVar4 = FUN_14003e840(lVar8 * 0x18); + *(undefined8 *)(param_1 + 0x10) = uVar4; + } + else { + uVar4 = (**(code **)(*plVar1 + 8))(plVar1,lVar8 * 0x18); + *(undefined8 *)(param_1 + 0x10) = uVar4; + } + } + else { + pvVar2 = *(LPVOID *)(param_1 + 0x10); + if (plVar1 == (longlong *)0x0) { + puVar5 = (undefined8 *)FUN_14003e840(lVar8 * 0x18); + } + else { + puVar5 = (undefined8 *)(**(code **)(*plVar1 + 8))(); + } + lVar8 = (longlong)*(int *)(param_1 + 0x18); + iVar7 = 0; + if (0 < lVar8) { + param_4 = (longlong)pvVar2 - (longlong)puVar5; + puVar6 = puVar5; + do { + if (puVar6 != (undefined8 *)0x0) { + *puVar6 = *(undefined8 *)(param_4 + (longlong)puVar6); + puVar6[1] = *(undefined8 *)(param_4 + 8 + (longlong)puVar6); + puVar6[2] = *(undefined8 *)(param_4 + 0x10 + (longlong)puVar6); + } + iVar7 = iVar7 + 1; + puVar6 = puVar6 + 3; + } while (iVar7 < lVar8); + } + if (puVar5 == (undefined8 *)0x0) { + FUN_14003db10(local_58,L"Memory allocation failure!",lVar8,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + plVar1 = *(longlong **)(param_1 + 8); + if (plVar1 == (longlong *)0x0) { + FUN_14003e8b0(pvVar2); + } + else { + (**(code **)(*plVar1 + 0x18))(plVar1,pvVar2); + } + *(undefined8 **)(param_1 + 0x10) = puVar5; + } + *(int *)(param_1 + 0x1c) = iVar3; + } + *(int *)(param_1 + 0x18) = param_2; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004c2a0.c b/decomp/AgentManager_Release_x64/full/functions/0x14004c2a0.c new file mode 100644 index 00000000..7e1c7101 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004c2a0.c @@ -0,0 +1,120 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004c2a0 FUN_14004c2a0 + * Pseudocode, not original source. */ + +void FUN_14004c2a0(longlong param_1,int param_2) + +{ + longlong *plVar1; + LPVOID pvVar2; + int iVar3; + undefined8 *puVar4; + undefined4 *puVar5; + longlong lVar6; + int iVar7; + int iVar8; + exception local_58 [80]; + + lVar6 = (longlong)param_2; + if (param_2 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + iVar7 = *(int *)(param_1 + 0x18); + if (param_2 != iVar7) { + if (*(int *)(param_1 + 0x1c) < param_2) { + iVar7 = FUN_14004ad20(param_1,param_2); + plVar1 = *(longlong **)(param_1 + 8); + if (*(int *)(param_1 + 0x1c) == 0) { + if (plVar1 == (longlong *)0x0) { + puVar4 = (undefined8 *)FUN_14003e840((longlong)iVar7 << 4); + } + else { + puVar4 = (undefined8 *)(**(code **)(*plVar1 + 8))(); + } + *(undefined8 **)(param_1 + 0x10) = puVar4; + if (0 < param_2) { + do { + if (puVar4 != (undefined8 *)0x0) { + *puVar4 = Proud::AddrPort::vftable; + *(undefined4 *)(puVar4 + 1) = 0; + *(undefined2 *)((longlong)puVar4 + 0xc) = 0; + } + puVar4 = puVar4 + 2; + lVar6 = lVar6 + -1; + } while (lVar6 != 0); + } + } + else { + pvVar2 = *(LPVOID *)(param_1 + 0x10); + if (plVar1 == (longlong *)0x0) { + lVar6 = FUN_14003e840((longlong)iVar7 << 4); + } + else { + lVar6 = (**(code **)(*plVar1 + 8))(); + } + iVar3 = *(int *)(param_1 + 0x18); + iVar8 = 0; + if (0 < iVar3) { + puVar5 = (undefined4 *)(lVar6 + 8); + do { + if ((undefined8 *)(puVar5 + -2) != (undefined8 *)0x0) { + *(undefined ***)(puVar5 + -2) = Proud::AddrPort::vftable; + *puVar5 = *(undefined4 *)(((longlong)pvVar2 - lVar6) + (longlong)puVar5); + *(undefined2 *)(puVar5 + 1) = + *(undefined2 *)(((longlong)pvVar2 - lVar6) + 4 + (longlong)puVar5); + } + iVar8 = iVar8 + 1; + puVar5 = puVar5 + 4; + } while (iVar8 < iVar3); + } + iVar3 = param_2 - *(int *)(param_1 + 0x18); + iVar8 = 0; + puVar4 = (undefined8 *)((longlong)*(int *)(param_1 + 0x18) * 0x10 + lVar6); + if (0 < iVar3) { + do { + if (puVar4 != (undefined8 *)0x0) { + *puVar4 = Proud::AddrPort::vftable; + *(undefined4 *)(puVar4 + 1) = 0; + *(undefined2 *)((longlong)puVar4 + 0xc) = 0; + } + iVar8 = iVar8 + 1; + puVar4 = puVar4 + 2; + } while (iVar8 < iVar3); + } + if (lVar6 == 0) { + FUN_14003db10(local_58,L"Memory allocation failure!",puVar4,Proud::AddrPort::vftable); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + plVar1 = *(longlong **)(param_1 + 8); + if (plVar1 == (longlong *)0x0) { + FUN_14003e8b0(pvVar2); + } + else { + (**(code **)(*plVar1 + 0x18))(plVar1,pvVar2); + } + *(longlong *)(param_1 + 0x10) = lVar6; + } + *(int *)(param_1 + 0x1c) = iVar7; + } + else if ((iVar7 - param_2 < 1) && (iVar3 = param_2 - iVar7, 0 < iVar3)) { + puVar4 = (undefined8 *)((longlong)iVar7 * 0x10 + *(longlong *)(param_1 + 0x10)); + iVar7 = 0; + if (0 < iVar3) { + do { + if (puVar4 != (undefined8 *)0x0) { + *puVar4 = Proud::AddrPort::vftable; + *(undefined4 *)(puVar4 + 1) = 0; + *(undefined2 *)((longlong)puVar4 + 0xc) = 0; + } + iVar7 = iVar7 + 1; + puVar4 = puVar4 + 2; + } while (iVar7 < iVar3); + } + } + *(int *)(param_1 + 0x18) = param_2; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004c4e0.c b/decomp/AgentManager_Release_x64/full/functions/0x14004c4e0.c new file mode 100644 index 00000000..faf2d229 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004c4e0.c @@ -0,0 +1,77 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004c4e0 FUN_14004c4e0 + * Pseudocode, not original source. */ + +void FUN_14004c4e0(undefined8 *param_1,longlong param_2,longlong param_3) + +{ + longlong lVar1; + undefined4 *puVar2; + undefined4 *puVar3; + longlong lVar4; + undefined8 *puVar5; + longlong lVar6; + + if (param_2 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (-1 < param_3) { + param_1[3] = param_3; + } + if (param_2 == 0) { + if ((100 < (ulonglong)param_1[2]) && ((void *)*param_1 != (void *)0x0)) { + operator_delete__((void *)*param_1); + *param_1 = 0; + } + param_1[2] = 100; + param_1[1] = 0; + return; + } + lVar4 = param_1[2]; + if (param_2 <= lVar4) { + param_1[1] = param_2; + return; + } + lVar1 = param_1[3]; + if (lVar1 == 0) { + lVar1 = (longlong)(param_1[1] + (ulonglong)((uint)((longlong)param_1[1] >> 0x3f) & 7)) >> 3; + if (lVar1 < 4) { + lVar1 = 4; + } + else if (0x400 < lVar1) { + lVar1 = 0x400; + } + } + lVar6 = param_2; + if (param_2 < lVar1 + lVar4) { + lVar6 = lVar1 + lVar4; + } + if (lVar6 < lVar4) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + puVar2 = operator_new(lVar6 * 4); + puVar5 = param_1 + 4; + if (100 < (ulonglong)param_1[2]) { + puVar5 = (undefined8 *)*param_1; + } + lVar4 = param_1[1]; + if (0 < lVar4) { + puVar3 = puVar2; + do { + lVar4 = lVar4 + -1; + *puVar3 = *(undefined4 *)(((longlong)puVar5 - (longlong)puVar2) + (longlong)puVar3); + puVar3 = puVar3 + 1; + } while (lVar4 != 0); + } + memset(puVar2 + param_1[1],0,(param_2 - param_1[1]) * 4); + if (100 < (ulonglong)param_1[2]) { + operator_delete__(puVar5); + } + *param_1 = puVar2; + param_1[2] = lVar6; + param_1[1] = param_2; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004c640.c b/decomp/AgentManager_Release_x64/full/functions/0x14004c640.c new file mode 100644 index 00000000..37caf6a0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004c640.c @@ -0,0 +1,49 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004c640 FUN_14004c640 + * Pseudocode, not original source. */ + +undefined8 FUN_14004c640(longlong param_1,uint param_2,char param_3) + +{ + void *_Dst; + ulonglong uVar1; + longlong lVar2; + longlong lVar3; + SIZE_T _Size; + float fVar4; + float fVar5; + + if (*(LPVOID *)(param_1 + 8) != (LPVOID)0x0) { + FUN_14003e8b0(*(LPVOID *)(param_1 + 8)); + *(undefined8 *)(param_1 + 8) = 0; + } + if (param_3 != '\0') { + _Size = (ulonglong)param_2 << 3; + _Dst = (void *)FUN_14003e840(_Size); + *(void **)(param_1 + 8) = _Dst; + if (_Dst == (void *)0x0) { + return 0; + } + memset(_Dst,0,_Size); + } + lVar2 = 0; + *(uint *)(param_1 + 0x28) = param_2; + fVar4 = (float)param_2; + fVar5 = fVar4 * *(float *)(param_1 + 0x34); + if ((9.223372e+18 < fVar5) && (fVar5 = fVar5 - 9.223372e+18, fVar5 < 9.223372e+18)) { + lVar2 = -0x8000000000000000; + } + fVar4 = fVar4 * *(float *)(param_1 + 0x30); + lVar3 = 0; + *(longlong *)(param_1 + 0x38) = (longlong)fVar5 + lVar2; + if ((9.223372e+18 < fVar4) && (fVar4 = fVar4 - 9.223372e+18, fVar4 < 9.223372e+18)) { + lVar3 = -0x8000000000000000; + } + uVar1 = (longlong)fVar4 + lVar3; + if ((ulonglong)((longlong)fVar4 + lVar3) < 0x11) { + uVar1 = 0; + } + *(ulonglong *)(param_1 + 0x40) = uVar1; + return CONCAT71((int7)(uVar1 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004c730.c b/decomp/AgentManager_Release_x64/full/functions/0x14004c730.c new file mode 100644 index 00000000..80854727 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004c730.c @@ -0,0 +1,53 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004c730 FUN_14004c730 + * Pseudocode, not original source. */ + +void FUN_14004c730(char *param_1) + +{ + longlong lVar1; + longlong lVar2; + longlong lVar3; + ulonglong uVar4; + exception local_58 [88]; + + if (*param_1 != '\0') { + uVar4 = 0; + if ((*(longlong *)(param_1 + 0x20) != 0) && (*(longlong *)(param_1 + 8) == 0)) { + FUN_14003db10(local_58,L"CFastMap consistency error #0!",param_1,0); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + lVar1 = *(longlong *)(param_1 + 0x10); + lVar3 = lVar1; + while (lVar3 != 0) { + lVar2 = *(longlong *)(lVar3 + 0x18); + if ((lVar2 != 0) && (*(longlong *)(lVar2 + 0x20) != lVar3)) { + FUN_14003db10(local_58,L"CFastMap consistency error #1!",param_1,uVar4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + if ((lVar3 == lVar1) && (*(longlong *)(lVar3 + 0x20) != 0)) { + FUN_14003db10(local_58,L"CFastMap consistency error #2!",param_1,uVar4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + if ((lVar3 == *(longlong *)(param_1 + 0x18)) && (lVar2 != 0)) { + FUN_14003db10(local_58,L"CFastMap consistency error #3!",param_1,uVar4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + uVar4 = (ulonglong)((int)uVar4 + 1); + lVar3 = lVar2; + } + if ((int)uVar4 != *(int *)(param_1 + 0x20)) { + for (; lVar1 != 0; lVar1 = *(longlong *)(lVar1 + 0x18)) { + } + FUN_14003db10(local_58,L"CFastMap consistency error #4!",param_1,uVar4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004c860.c b/decomp/AgentManager_Release_x64/full/functions/0x14004c860.c new file mode 100644 index 00000000..96ff6a21 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004c860.c @@ -0,0 +1,57 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004c860 FUN_14004c860 + * Pseudocode, not original source. */ + +void FUN_14004c860(longlong param_1,int param_2,longlong param_3,longlong param_4) + +{ + undefined8 *puVar1; + longlong lVar2; + longlong lVar3; + int iVar4; + longlong lVar5; + int iVar6; + longlong lVar7; + longlong lVar8; + longlong lVar9; + + iVar6 = (int)param_4; + lVar9 = (longlong)iVar6; + lVar7 = (longlong)param_2; + if (((-1 < iVar6) && (-1 < param_2)) && (param_2 <= *(int *)(param_1 + 0x18))) { + iVar4 = *(int *)(param_1 + 0x18); + FUN_14004c130(param_1,iVar4 + iVar6,param_3,param_4); + iVar4 = iVar4 - param_2; + if ((0 < iVar4) && (iVar4 = iVar4 + -1, lVar8 = (longlong)iVar4, -1 < iVar4)) { + lVar5 = (lVar9 + lVar7 + lVar8) * 0x18; + do { + lVar2 = FUN_140074a30(param_1); + lVar2 = lVar9 * -0x18 + lVar2; + lVar3 = FUN_140074a30(param_1); + *(undefined8 *)(lVar3 + lVar5) = *(undefined8 *)(lVar2 + lVar5); + puVar1 = (undefined8 *)(lVar2 + 8 + lVar5); + lVar5 = lVar5 + -0x18; + lVar8 = lVar8 + -1; + *(undefined8 *)(lVar3 + 0x20 + lVar5) = *puVar1; + *(undefined8 *)(lVar3 + 0x28 + lVar5) = *(undefined8 *)(lVar2 + 0x28 + lVar5); + } while (-1 < lVar8); + } + if (0 < iVar6) { + lVar8 = lVar7 * 0x18; + lVar7 = param_3 + lVar7 * -0x18; + do { + lVar5 = FUN_140074a30(param_1); + puVar1 = (undefined8 *)(lVar7 + lVar8); + lVar8 = lVar8 + 0x18; + lVar9 = lVar9 + -1; + *(undefined8 *)(lVar5 + -0x18 + lVar8) = *puVar1; + *(undefined8 *)(lVar5 + -0x10 + lVar8) = *(undefined8 *)(lVar7 + -0x10 + lVar8); + *(undefined8 *)(lVar5 + -8 + lVar8) = *(undefined8 *)(lVar7 + -8 + lVar8); + } while (lVar9 != 0); + } + return; + } + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004c980.c b/decomp/AgentManager_Release_x64/full/functions/0x14004c980.c new file mode 100644 index 00000000..94708690 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004c980.c @@ -0,0 +1,52 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004c980 FUN_14004c980 + * Pseudocode, not original source. */ + +void FUN_14004c980(longlong param_1,int param_2,longlong param_3,int param_4) + +{ + longlong lVar1; + longlong lVar2; + undefined2 *puVar3; + undefined2 *puVar4; + int iVar5; + longlong lVar6; + longlong lVar7; + longlong lVar8; + + lVar7 = (longlong)param_4; + if (((-1 < param_4) && (-1 < param_2)) && (param_2 <= *(int *)(param_1 + 0x18))) { + iVar5 = *(int *)(param_1 + 0x18); + FUN_14004c2a0(param_1,iVar5 + param_4); + iVar5 = iVar5 - param_2; + if ((0 < iVar5) && (iVar5 = iVar5 + -1, lVar8 = (longlong)iVar5, -1 < iVar5)) { + lVar6 = (lVar8 + param_2 + lVar7) * 0x10; + do { + lVar1 = FUN_140074a30(param_1); + lVar1 = lVar1 + lVar7 * -0x10; + lVar2 = FUN_140074a30(param_1); + *(undefined4 *)(lVar2 + 8 + lVar6) = *(undefined4 *)(lVar1 + 8 + lVar6); + puVar3 = (undefined2 *)(lVar1 + 0xc + lVar6); + lVar6 = lVar6 + -0x10; + lVar8 = lVar8 + -1; + *(undefined2 *)(lVar2 + 0x1c + lVar6) = *puVar3; + } while (-1 < lVar8); + } + if (0 < lVar7) { + puVar3 = (undefined2 *)(param_3 + 0xc); + do { + lVar8 = FUN_140074a30(param_1); + puVar4 = puVar3 + 8; + lVar8 = lVar8 + ((longlong)param_2 * 0x10 - param_3) + -0xc; + lVar7 = lVar7 + -1; + *(undefined4 *)(lVar8 + -8 + (longlong)puVar4) = *(undefined4 *)(puVar3 + -2); + *(undefined2 *)(lVar8 + -4 + (longlong)puVar4) = *puVar3; + puVar3 = puVar4; + } while (lVar7 != 0); + } + return; + } + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004ca90.c b/decomp/AgentManager_Release_x64/full/functions/0x14004ca90.c new file mode 100644 index 00000000..fe20c86f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004ca90.c @@ -0,0 +1,133 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004ca90 FUN_14004ca90 + * Pseudocode, not original source. */ + +void FUN_14004ca90(char *param_1,uint param_2) + +{ + ulonglong uVar1; + undefined8 uVar2; + ulonglong uVar3; + ulonglong uVar4; + void *_Dst; + longlong lVar5; + longlong lVar6; + ulonglong uVar7; + ulonglong uVar8; + int iVar9; + ulonglong uVar10; + ulonglong uVar11; + float fVar12; + float fVar13; + + if (param_2 == 0) { + param_2 = FUN_14009b970((longlong)param_1,*(longlong *)(param_1 + 0x20)); + } + if (param_2 != *(uint *)(param_1 + 0x28)) { + if (*(longlong *)(param_1 + 8) == 0) { + lVar5 = 0; + *(uint *)(param_1 + 0x28) = param_2; + fVar13 = (float)param_2 * *(float *)(param_1 + 0x34); + if ((9.223372e+18 < fVar13) && (fVar13 = fVar13 - 9.223372e+18, fVar13 < 9.223372e+18)) { + lVar5 = -0x8000000000000000; + } + fVar12 = (float)param_2 * *(float *)(param_1 + 0x30); + lVar6 = 0; + *(longlong *)(param_1 + 0x38) = (longlong)fVar13 + lVar5; + if ((9.223372e+18 < fVar12) && (fVar12 = fVar12 - 9.223372e+18, fVar12 < 9.223372e+18)) { + lVar6 = -0x8000000000000000; + } + *(longlong *)(param_1 + 0x40) = (longlong)fVar12 + lVar6; + if ((ulonglong)((longlong)fVar12 + lVar6) < 0x11) { + param_1[0x40] = '\0'; + param_1[0x41] = '\0'; + param_1[0x42] = '\0'; + param_1[0x43] = '\0'; + param_1[0x44] = '\0'; + param_1[0x45] = '\0'; + param_1[0x46] = '\0'; + param_1[0x47] = '\0'; + return; + } + } + else { + _Dst = (void *)FUN_14003e840((ulonglong)param_2 << 3); + if (_Dst == (void *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x8007000e); + } + memset(_Dst,0,(ulonglong)param_2 << 3); + uVar7 = 0; + uVar4 = *(ulonglong *)(param_1 + 0x10); + uVar10 = uVar7; + uVar11 = uVar7; + while (uVar4 != 0) { + uVar1 = *(ulonglong *)(uVar4 + 8); + uVar3 = (ulonglong)*(uint *)(uVar4 + 0x18) % (ulonglong)param_2; + lVar5 = *(longlong *)((longlong)_Dst + uVar3 * 8); + iVar9 = (int)uVar10; + if (iVar9 == 0) { + *(undefined8 *)(uVar4 + 0x10) = 0; + *(undefined8 *)(uVar4 + 8) = 0; + uVar10 = 1; + uVar7 = uVar4; + uVar11 = uVar4; + } + else if (lVar5 == 0) { + *(undefined8 *)(uVar4 + 0x10) = 0; + *(ulonglong *)(uVar4 + 8) = uVar7; + if (uVar7 != 0) { + *(ulonglong *)(uVar7 + 0x10) = uVar4; + } + uVar10 = (ulonglong)(iVar9 + 1); + uVar7 = uVar4; + } + else { + uVar8 = uVar4; + if (*(longlong *)(lVar5 + 0x10) != 0) { + *(ulonglong *)(*(longlong *)(lVar5 + 0x10) + 8) = uVar4; + uVar8 = uVar7; + } + uVar2 = *(undefined8 *)(lVar5 + 0x10); + *(longlong *)(uVar4 + 8) = lVar5; + uVar10 = (ulonglong)(iVar9 + 1); + *(undefined8 *)(uVar4 + 0x10) = uVar2; + *(ulonglong *)(lVar5 + 0x10) = uVar4; + uVar7 = uVar8; + } + *(ulonglong *)((longlong)_Dst + uVar3 * 8) = uVar4; + uVar4 = uVar1; + } + FUN_14003e8b0(*(LPVOID *)(param_1 + 8)); + *(void **)(param_1 + 8) = _Dst; + *(uint *)(param_1 + 0x28) = param_2; + *(ulonglong *)(param_1 + 0x10) = uVar7; + *(ulonglong *)(param_1 + 0x18) = uVar11; + FUN_140083c80(param_1); + lVar5 = 0; + fVar13 = (float)*(uint *)(param_1 + 0x28) * *(float *)(param_1 + 0x34); + if ((9.223372e+18 < fVar13) && (fVar13 = fVar13 - 9.223372e+18, fVar13 < 9.223372e+18)) { + lVar5 = -0x8000000000000000; + } + fVar12 = (float)*(uint *)(param_1 + 0x28) * *(float *)(param_1 + 0x30); + lVar6 = 0; + *(longlong *)(param_1 + 0x38) = (longlong)fVar13 + lVar5; + if ((9.223372e+18 < fVar12) && (fVar12 = fVar12 - 9.223372e+18, fVar12 < 9.223372e+18)) { + lVar6 = -0x8000000000000000; + } + *(longlong *)(param_1 + 0x40) = (longlong)fVar12 + lVar6; + if ((ulonglong)((longlong)fVar12 + lVar6) < 0x11) { + param_1[0x40] = '\0'; + param_1[0x41] = '\0'; + param_1[0x42] = '\0'; + param_1[0x43] = '\0'; + param_1[0x44] = '\0'; + param_1[0x45] = '\0'; + param_1[0x46] = '\0'; + param_1[0x47] = '\0'; + } + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004cce0.c b/decomp/AgentManager_Release_x64/full/functions/0x14004cce0.c new file mode 100644 index 00000000..8e7b0c59 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004cce0.c @@ -0,0 +1,53 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004cce0 FUN_14004cce0 + * Pseudocode, not original source. */ + +void FUN_14004cce0(longlong param_1,int param_2,longlong param_3) + +{ + longlong *plVar1; + int iVar2; + longlong lVar3; + undefined8 uVar4; + exception local_58 [80]; + + if (param_2 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (param_2 != *(int *)(param_1 + 0x18)) { + if (*(int *)(param_1 + 0x1c) < param_2) { + iVar2 = FUN_14004aab0(param_1,param_2); + plVar1 = *(longlong **)(param_1 + 8); + lVar3 = (longlong)iVar2; + if (*(int *)(param_1 + 0x1c) == 0) { + if (plVar1 == (longlong *)0x0) { + lVar3 = FUN_14003e840(lVar3 << 2); + } + else { + lVar3 = (**(code **)(*plVar1 + 8))(plVar1,lVar3 << 2); + } + } + else { + uVar4 = *(undefined8 *)(param_1 + 0x10); + if (plVar1 == (longlong *)0x0) { + lVar3 = FUN_14003e870(uVar4,lVar3 << 2); + } + else { + param_3 = lVar3 << 2; + lVar3 = (**(code **)(*plVar1 + 0x10))(plVar1,uVar4); + } + if (lVar3 == 0) { + FUN_14003db10(local_58,L"Memory allocation failure!",param_3,uVar4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + } + *(longlong *)(param_1 + 0x10) = lVar3; + *(int *)(param_1 + 0x1c) = iVar2; + } + *(int *)(param_1 + 0x18) = param_2; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004cdb0.c b/decomp/AgentManager_Release_x64/full/functions/0x14004cdb0.c new file mode 100644 index 00000000..2eb27714 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004cdb0.c @@ -0,0 +1,133 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004cdb0 FUN_14004cdb0 + * Pseudocode, not original source. */ + +void FUN_14004cdb0(char *param_1,uint param_2) + +{ + ulonglong uVar1; + undefined8 uVar2; + ulonglong uVar3; + ulonglong uVar4; + void *_Dst; + longlong lVar5; + longlong lVar6; + ulonglong uVar7; + ulonglong uVar8; + int iVar9; + ulonglong uVar10; + ulonglong uVar11; + float fVar12; + float fVar13; + + if (param_2 == 0) { + param_2 = FUN_14009b970((longlong)param_1,*(longlong *)(param_1 + 0x20)); + } + if (param_2 != *(uint *)(param_1 + 0x28)) { + if (*(longlong *)(param_1 + 8) == 0) { + lVar5 = 0; + *(uint *)(param_1 + 0x28) = param_2; + fVar13 = (float)param_2 * *(float *)(param_1 + 0x34); + if ((9.223372e+18 < fVar13) && (fVar13 = fVar13 - 9.223372e+18, fVar13 < 9.223372e+18)) { + lVar5 = -0x8000000000000000; + } + fVar12 = (float)param_2 * *(float *)(param_1 + 0x30); + lVar6 = 0; + *(longlong *)(param_1 + 0x38) = (longlong)fVar13 + lVar5; + if ((9.223372e+18 < fVar12) && (fVar12 = fVar12 - 9.223372e+18, fVar12 < 9.223372e+18)) { + lVar6 = -0x8000000000000000; + } + *(longlong *)(param_1 + 0x40) = (longlong)fVar12 + lVar6; + if ((ulonglong)((longlong)fVar12 + lVar6) < 0x11) { + param_1[0x40] = '\0'; + param_1[0x41] = '\0'; + param_1[0x42] = '\0'; + param_1[0x43] = '\0'; + param_1[0x44] = '\0'; + param_1[0x45] = '\0'; + param_1[0x46] = '\0'; + param_1[0x47] = '\0'; + return; + } + } + else { + _Dst = (void *)FUN_14003e840((ulonglong)param_2 << 3); + if (_Dst == (void *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x8007000e); + } + memset(_Dst,0,(ulonglong)param_2 << 3); + uVar7 = 0; + uVar4 = *(ulonglong *)(param_1 + 0x10); + uVar10 = uVar7; + uVar11 = uVar7; + while (uVar4 != 0) { + uVar1 = *(ulonglong *)(uVar4 + 0x18); + uVar3 = (ulonglong)*(uint *)(uVar4 + 0x28) % (ulonglong)param_2; + lVar5 = *(longlong *)((longlong)_Dst + uVar3 * 8); + iVar9 = (int)uVar10; + if (iVar9 == 0) { + *(undefined8 *)(uVar4 + 0x20) = 0; + *(undefined8 *)(uVar4 + 0x18) = 0; + uVar10 = 1; + uVar7 = uVar4; + uVar11 = uVar4; + } + else if (lVar5 == 0) { + *(undefined8 *)(uVar4 + 0x20) = 0; + *(ulonglong *)(uVar4 + 0x18) = uVar7; + if (uVar7 != 0) { + *(ulonglong *)(uVar7 + 0x20) = uVar4; + } + uVar10 = (ulonglong)(iVar9 + 1); + uVar7 = uVar4; + } + else { + uVar8 = uVar4; + if (*(longlong *)(lVar5 + 0x20) != 0) { + *(ulonglong *)(*(longlong *)(lVar5 + 0x20) + 0x18) = uVar4; + uVar8 = uVar7; + } + uVar2 = *(undefined8 *)(lVar5 + 0x20); + *(longlong *)(uVar4 + 0x18) = lVar5; + uVar10 = (ulonglong)(iVar9 + 1); + *(undefined8 *)(uVar4 + 0x20) = uVar2; + *(ulonglong *)(lVar5 + 0x20) = uVar4; + uVar7 = uVar8; + } + *(ulonglong *)((longlong)_Dst + uVar3 * 8) = uVar4; + uVar4 = uVar1; + } + FUN_14003e8b0(*(LPVOID *)(param_1 + 8)); + *(void **)(param_1 + 8) = _Dst; + *(uint *)(param_1 + 0x28) = param_2; + *(ulonglong *)(param_1 + 0x10) = uVar7; + *(ulonglong *)(param_1 + 0x18) = uVar11; + FUN_14004c730(param_1); + lVar5 = 0; + fVar13 = (float)*(uint *)(param_1 + 0x28) * *(float *)(param_1 + 0x34); + if ((9.223372e+18 < fVar13) && (fVar13 = fVar13 - 9.223372e+18, fVar13 < 9.223372e+18)) { + lVar5 = -0x8000000000000000; + } + fVar12 = (float)*(uint *)(param_1 + 0x28) * *(float *)(param_1 + 0x30); + lVar6 = 0; + *(longlong *)(param_1 + 0x38) = (longlong)fVar13 + lVar5; + if ((9.223372e+18 < fVar12) && (fVar12 = fVar12 - 9.223372e+18, fVar12 < 9.223372e+18)) { + lVar6 = -0x8000000000000000; + } + *(longlong *)(param_1 + 0x40) = (longlong)fVar12 + lVar6; + if ((ulonglong)((longlong)fVar12 + lVar6) < 0x11) { + param_1[0x40] = '\0'; + param_1[0x41] = '\0'; + param_1[0x42] = '\0'; + param_1[0x43] = '\0'; + param_1[0x44] = '\0'; + param_1[0x45] = '\0'; + param_1[0x46] = '\0'; + param_1[0x47] = '\0'; + } + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004d000.c b/decomp/AgentManager_Release_x64/full/functions/0x14004d000.c new file mode 100644 index 00000000..7487c4ef --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004d000.c @@ -0,0 +1,20 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004d000 FUN_14004d000 + * Pseudocode, not original source. */ + +void FUN_14004d000(undefined8 *param_1) + +{ + *param_1 = Proud::CFastArray::vftable; + if ((LPVOID)param_1[2] != (LPVOID)0x0) { + if ((longlong *)param_1[1] != (longlong *)0x0) { + /* WARNING: Could not recover jumptable at 0x00014004d027. Too many branches */ + /* WARNING: Treating indirect jump as call */ + (**(code **)(*(longlong *)param_1[1] + 0x18))(); + return; + } + FUN_14003e8b0((LPVOID)param_1[2]); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004d040.c b/decomp/AgentManager_Release_x64/full/functions/0x14004d040.c new file mode 100644 index 00000000..726d1097 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004d040.c @@ -0,0 +1,25 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004d040 FUN_14004d040 + * Pseudocode, not original source. */ + +void * FUN_14004d040(undefined8 param_1,ulonglong param_2) + +{ + void *pvVar1; + char *local_res10 [3]; + undefined **local_28 [5]; + + if (param_2 == 0) { + return (void *)0x0; + } + if ((param_2 < 0x2000000000000000) && (pvVar1 = operator_new(param_2 * 8), pvVar1 != (void *)0x0)) + { + return pvVar1; + } + local_res10[0] = (char *)0x0; + std::exception::exception((exception *)local_28,local_res10); + local_28[0] = std::bad_alloc::vftable; + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_28,(ThrowInfo *)&DAT_14016c158); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004d0b0.c b/decomp/AgentManager_Release_x64/full/functions/0x14004d0b0.c new file mode 100644 index 00000000..a7b6fe81 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004d0b0.c @@ -0,0 +1,70 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004d0b0 FUN_14004d0b0 + * Pseudocode, not original source. */ + +void FUN_14004d0b0(longlong param_1,ulonglong param_2,int param_3) + +{ + int iVar1; + undefined4 uVar2; + ulonglong uVar3; + int iVar5; + ulonglong uVar6; + uint uVar7; + ulonglong uVar9; + ulonglong uVar10; + longlong lVar11; + uint local_res10; + ulonglong local_res20; + ulonglong local_28; + ulonglong uVar4; + int iVar8; + + local_res10 = (uint)param_2; + uVar6 = (ulonglong)param_3; + local_res20 = (ulonglong)(int)local_res10; + local_28 = uVar6; + if (param_3 < (int)local_res10) { + do { + uVar9 = param_2 & 0xffffffff; + iVar5 = (int)uVar6; + lVar11 = (longlong)iVar5; + uVar3 = local_res20; + while( true ) { + iVar1 = *(int *)(param_1 + local_28 * 4); + iVar8 = *(int *)(param_1 + lVar11 * 4); + while ((iVar8 < iVar1 && (lVar11 < (longlong)uVar3))) { + lVar11 = lVar11 + 1; + iVar8 = *(int *)(param_1 + lVar11 * 4); + } + do { + uVar10 = uVar9; + uVar4 = uVar3; + uVar3 = uVar4 - 1; + iVar8 = (int)uVar10; + uVar7 = iVar8 - 1; + uVar9 = (ulonglong)uVar7; + } while (iVar1 < *(int *)(param_1 + uVar3 * 4)); + if ((longlong)uVar3 <= lVar11) break; + uVar2 = *(undefined4 *)(param_1 + lVar11 * 4); + *(undefined4 *)(param_1 + lVar11 * 4) = *(undefined4 *)(param_1 + uVar3 * 4); + *(undefined4 *)(param_1 + uVar3 * 4) = uVar2; + } + *(undefined4 *)(param_1 + local_28 * 4) = *(undefined4 *)(param_1 + uVar3 * 4); + *(int *)(param_1 + uVar3 * 4) = iVar1; + if ((int)(((int)param_2 - uVar7) + -1) < (int)(uVar7 - iVar5)) { + FUN_14004d0b0(param_1,(ulonglong)(iVar8 - 2),iVar5); + uVar6 = uVar10; + local_28 = uVar4; + } + else { + FUN_14004d0b0(param_1,param_2,iVar8); + local_res10 = iVar8 - 2; + local_res20 = uVar4 - 2; + } + param_2 = (ulonglong)local_res10; + } while ((int)uVar6 < (int)local_res10); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004d1c0.c b/decomp/AgentManager_Release_x64/full/functions/0x14004d1c0.c new file mode 100644 index 00000000..6c9eb758 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004d1c0.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004d1c0 FUN_14004d1c0 + * Pseudocode, not original source. */ + +undefined4 FUN_14004d1c0(longlong *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + if (*param_1 != 0) { + return *(undefined4 *)(*param_1 + 0x18); + } + if (param_1[1] != 0) { + return (int)param_1[2]; + } + /* WARNING: Subroutine does not return */ + FUN_14008a420(param_1,param_2,param_3,param_4); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004d1f0.c b/decomp/AgentManager_Release_x64/full/functions/0x14004d1f0.c new file mode 100644 index 00000000..f2e52905 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004d1f0.c @@ -0,0 +1,24 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004d1f0 FUN_14004d1f0 + * Pseudocode, not original source. */ + +longlong FUN_14004d1f0(longlong *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong lVar1; + + lVar1 = param_1[1]; + if (lVar1 == 0) { + lVar1 = *param_1; + if (lVar1 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(param_1,param_2,param_3,param_4); + } + if (*(int *)(lVar1 + 0x18) != 0) { + return *(longlong *)(lVar1 + 0x10); + } + lVar1 = 0; + } + return lVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004d230.c b/decomp/AgentManager_Release_x64/full/functions/0x14004d230.c new file mode 100644 index 00000000..2c17842f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004d230.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004d230 FUN_14004d230 + * Pseudocode, not original source. */ + +undefined4 FUN_14004d230(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + if (*(longlong *)(param_1 + 8) != 0) { + return *(undefined4 *)(*(longlong *)(param_1 + 8) + 0x18); + } + if (*(longlong *)(param_1 + 0x10) != 0) { + return *(undefined4 *)(param_1 + 0x18); + } + /* WARNING: Subroutine does not return */ + FUN_14008a420(param_1,param_2,param_3,param_4); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004d260.c b/decomp/AgentManager_Release_x64/full/functions/0x14004d260.c new file mode 100644 index 00000000..d3fc474d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004d260.c @@ -0,0 +1,25 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004d260 FUN_14004d260 + * Pseudocode, not original source. */ + +undefined8 FUN_14004d260(longlong param_1,longlong param_2) + +{ + ulonglong uVar1; + longlong lVar2; + + uVar1 = (ulonglong)((uint)*(ushort *)(param_2 + 0xc) ^ *(uint *)(param_2 + 8)) % + (ulonglong)*(uint *)(param_1 + 0x3b0); + if (*(longlong *)(param_1 + 0x390) != 0) { + for (lVar2 = *(longlong *)(*(longlong *)(param_1 + 0x390) + uVar1 * 8); + (lVar2 != 0 && ((uint)uVar1 == *(uint *)(lVar2 + 0x28) % *(uint *)(param_1 + 0x3b0))); + lVar2 = *(longlong *)(lVar2 + 0x18)) { + if ((*(uint *)(lVar2 + 8) == *(uint *)(param_2 + 8)) && + (*(ushort *)(lVar2 + 0xc) == *(ushort *)(param_2 + 0xc))) { + return *(undefined8 *)(lVar2 + 0x10); + } + } + } + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004d2c0.c b/decomp/AgentManager_Release_x64/full/functions/0x14004d2c0.c new file mode 100644 index 00000000..38a82b87 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004d2c0.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004d2c0 FUN_14004d2c0 + * Pseudocode, not original source. */ + +void FUN_14004d2c0(undefined8 *param_1) + +{ + if (100 < (ulonglong)param_1[2]) { + operator_delete__((void *)*param_1); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004d2e0.c b/decomp/AgentManager_Release_x64/full/functions/0x14004d2e0.c new file mode 100644 index 00000000..0159243e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004d2e0.c @@ -0,0 +1,28 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004d2e0 FUN_14004d2e0 + * Pseudocode, not original source. */ + +undefined8 FUN_14004d2e0(longlong param_1,longlong param_2) + +{ + ulonglong uVar1; + longlong lVar2; + + uVar1 = (ulonglong)((uint)*(ushort *)(param_2 + 0xc) ^ *(uint *)(param_2 + 8)) % + (ulonglong)*(uint *)(param_1 + 0x1710); + if (*(longlong *)(param_1 + 0x16f0) != 0) { + for (lVar2 = *(longlong *)(*(longlong *)(param_1 + 0x16f0) + uVar1 * 8); + (lVar2 != 0 && ((uint)uVar1 == *(uint *)(lVar2 + 0x28) % *(uint *)(param_1 + 0x1710))); + lVar2 = *(longlong *)(lVar2 + 0x18)) { + if ((*(uint *)(lVar2 + 8) == *(uint *)(param_2 + 8)) && + (*(ushort *)(lVar2 + 0xc) == *(ushort *)(param_2 + 0xc))) goto LAB_14004d338; + } + } + lVar2 = 0; +LAB_14004d338: + if (lVar2 != 0) { + return *(undefined8 *)(lVar2 + 0x10); + } + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004d350.c b/decomp/AgentManager_Release_x64/full/functions/0x14004d350.c new file mode 100644 index 00000000..d142f35b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004d350.c @@ -0,0 +1,91 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004d350 FUN_14004d350 + * Pseudocode, not original source. */ + +undefined8 * FUN_14004d350(undefined8 *param_1,undefined8 param_2,undefined1 param_3) + +{ + undefined2 *puVar1; + undefined8 *puVar2; + int iVar3; + + param_1[3] = Proud::AddrPort::vftable; + *(undefined4 *)(param_1 + 4) = 0; + *(undefined2 *)((longlong)param_1 + 0x24) = 0; + param_1[5] = Proud::AddrPort::vftable; + *(undefined4 *)(param_1 + 6) = 0; + *(undefined2 *)((longlong)param_1 + 0x34) = 0; + *(undefined4 *)(param_1 + 2) = 0; + *(undefined1 *)(param_1 + 7) = 0; + *(undefined4 *)(param_1 + 4) = DAT_14016f3d0; + puVar2 = param_1 + 0xe; + *(undefined2 *)((longlong)param_1 + 0x24) = DAT_14016f3d4; + *(undefined4 *)(param_1 + 6) = DAT_14016f3d0; + *(undefined2 *)((longlong)param_1 + 0x34) = DAT_14016f3d4; + param_1[9] = Proud::AddrPort::vftable; + *(undefined4 *)(param_1 + 10) = 0; + *(undefined2 *)((longlong)param_1 + 0x54) = 0; + param_1[0xb] = Proud::AddrPort::vftable; + *(undefined4 *)(param_1 + 0xc) = 0; + *(undefined2 *)((longlong)param_1 + 100) = 0; + *(undefined4 *)(param_1 + 8) = 0; + *(undefined1 *)(param_1 + 0xd) = 0; + iVar3 = 1; + *(undefined4 *)(param_1 + 10) = DAT_14016f3d0; + *(undefined2 *)((longlong)param_1 + 0x54) = DAT_14016f3d4; + *(undefined4 *)(param_1 + 0xc) = DAT_14016f3d0; + *(undefined2 *)((longlong)param_1 + 100) = DAT_14016f3d4; + puVar1 = (undefined2 *)((longlong)param_1 + 0x84); + do { + *(undefined ***)(puVar1 + -6) = Proud::AddrPort::vftable; + *(undefined4 *)(puVar1 + -2) = 0; + *puVar1 = 0; + *(undefined ***)(puVar1 + 2) = Proud::AddrPort::vftable; + *(undefined4 *)(puVar1 + 6) = 0; + puVar1[8] = 0; + *(undefined ***)(puVar1 + 10) = Proud::AddrPort::vftable; + *(undefined4 *)(puVar1 + 0xe) = 0; + puVar1[0x10] = 0; + *(undefined ***)(puVar1 + 0x12) = Proud::AddrPort::vftable; + *(undefined4 *)(puVar1 + 0x16) = 0; + puVar1[0x18] = 0; + *(undefined4 *)puVar2 = 0; + *(undefined4 *)(puVar1 + -2) = DAT_14016f3d0; + puVar2 = puVar2 + 9; + iVar3 = iVar3 + -1; + *puVar1 = DAT_14016f3d4; + *(undefined4 *)(puVar1 + 6) = DAT_14016f3d0; + puVar1[8] = DAT_14016f3d4; + *(undefined4 *)(puVar1 + 0xe) = DAT_14016f3d0; + puVar1[0x10] = DAT_14016f3d4; + *(undefined4 *)(puVar1 + 0x16) = DAT_14016f3d0; + puVar1[0x18] = DAT_14016f3d4; + puVar1 = puVar1 + 0x24; + } while (-1 < iVar3); + param_1[0x25] = 0; + param_1[0x26] = 0; + param_1[0x27] = 0; + param_1[0x28] = 0; + param_1[0x24] = Proud::ByteArray::vftable; + param_1[0x2a] = 0; + param_1[0x2b] = 0; + param_1[0x2c] = 0; + param_1[0x2d] = 0; + param_1[0x29] = Proud::ByteArray::vftable; + *(undefined4 *)((longlong)param_1 + 0x174) = 0; + *(undefined4 *)(param_1 + 0x2f) = 0; + *(undefined4 *)((longlong)param_1 + 0x17c) = 0; + *(undefined4 *)(param_1 + 0x30) = 0; + *(undefined1 *)(param_1 + 0x22) = 0; + *(undefined4 *)((longlong)param_1 + 0x114) = 0; + param_1[0x31] = 0; + param_1[0x32] = 0; + param_1[0x33] = 0; + *(undefined1 *)(param_1 + 0x34) = 0; + *(undefined8 *)((longlong)param_1 + 0x1a4) = 0; + *param_1 = param_2; + *(undefined1 *)(param_1 + 1) = 1; + *(undefined1 *)(param_1 + 0x23) = param_3; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004d560.c b/decomp/AgentManager_Release_x64/full/functions/0x14004d560.c new file mode 100644 index 00000000..6cc9ffa2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004d560.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004d560 FUN_14004d560 + * Pseudocode, not original source. */ + +void FUN_14004d560(longlong *param_1) + +{ + if (*param_1 != 0) { + if (*(int *)((longlong)param_1 + 0xc) < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + *(undefined4 *)(param_1 + 1) = 0; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004d5b0.c b/decomp/AgentManager_Release_x64/full/functions/0x14004d5b0.c new file mode 100644 index 00000000..06274f6e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004d5b0.c @@ -0,0 +1,31 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004d5b0 FUN_14004d5b0 + * Pseudocode, not original source. */ + +undefined4 * FUN_14004d5b0(longlong *param_1,longlong param_2,undefined4 param_3) + +{ + undefined4 *puVar1; + longlong lVar2; + + if (param_2 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (param_1[1] <= param_2) { + FUN_14004c4e0(param_1,param_2 + 1,-1); + } + if (param_2 < param_1[1]) { + if ((ulonglong)param_1[2] < 0x65) { + puVar1 = (undefined4 *)((longlong)param_1 + param_2 * 4 + 0x20); + *puVar1 = param_3; + return puVar1; + } + lVar2 = *param_1; + *(undefined4 *)(lVar2 + param_2 * 4) = param_3; + return (undefined4 *)(lVar2 + param_2 * 4); + } + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004d630.c b/decomp/AgentManager_Release_x64/full/functions/0x14004d630.c new file mode 100644 index 00000000..9f71c3f2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004d630.c @@ -0,0 +1,36 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004d630 FUN_14004d630 + * Pseudocode, not original source. */ + +void FUN_14004d630(longlong param_1,int param_2,undefined8 *param_3,int param_4) + +{ + longlong lVar1; + longlong lVar2; + longlong lVar3; + int iVar4; + + lVar2 = (longlong)param_2; + if (((-1 < param_4) && (-1 < param_2)) && (param_2 <= *(int *)(param_1 + 0x18))) { + iVar4 = *(int *)(param_1 + 0x18); + FUN_14004cce0(param_1,iVar4 + param_4,(longlong)param_3); + iVar4 = iVar4 - param_2; + lVar1 = 0; + if (0 < iVar4) { + lVar3 = lVar1; + if (*(int *)(param_1 + 0x18) != 0) { + lVar3 = *(longlong *)(param_1 + 0x10); + } + memmove((void *)(lVar3 + (lVar2 + param_4) * 4),(void *)(lVar3 + lVar2 * 4), + (longlong)iVar4 << 2); + } + if (*(int *)(param_1 + 0x18) != 0) { + lVar1 = *(longlong *)(param_1 + 0x10); + } + FUN_140006fb0((undefined8 *)(lVar1 + lVar2 * 4),param_3,(longlong)param_4 << 2); + return; + } + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004d6f0.c b/decomp/AgentManager_Release_x64/full/functions/0x14004d6f0.c new file mode 100644 index 00000000..7d3ef4ea --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004d6f0.c @@ -0,0 +1,28 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004d6f0 FUN_14004d6f0 + * Pseudocode, not original source. */ + +ulonglong FUN_14004d6f0(uint *param_1,longlong param_2,SIZE_T param_3,undefined8 param_4) + +{ + ulonglong uVar1; + int iVar2; + ulonglong local_res18 [2]; + + uVar1 = FUN_140075580(param_1,local_res18,param_3,param_4); + if ((char)uVar1 == '\0') { + return uVar1; + } + iVar2 = (int)local_res18[0]; + if ((-1 < iVar2) && (iVar2 <= DAT_14016f140)) { + FUN_14002a050(param_2,iVar2,param_3); + if (*(int *)(param_2 + 0x18) == 0) { + uVar1 = FUN_140074ee0(param_1,(undefined8 *)0x0,local_res18[0] & 0xffffffff); + return uVar1; + } + uVar1 = FUN_140074ee0(param_1,*(undefined8 **)(param_2 + 0x10),local_res18[0] & 0xffffffff); + return uVar1; + } + return uVar1 & 0xffffffffffffff00; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004d790.c b/decomp/AgentManager_Release_x64/full/functions/0x14004d790.c new file mode 100644 index 00000000..2deae178 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004d790.c @@ -0,0 +1,132 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004d790 FUN_14004d790 + * Pseudocode, not original source. */ + +/* WARNING: Function: __chkstk replaced with injection: alloca_probe */ +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_14004d790(longlong *param_1) + +{ + longlong lVar1; + undefined4 uVar2; + undefined4 *puVar3; + longlong *plVar4; + ulonglong uVar5; + ulonglong uVar6; + undefined4 *puVar7; + int *piVar8; + undefined1 *puVar9; + ulonglong uVar10; + ulonglong uVar11; + undefined4 *puVar12; + ulonglong uVar13; + undefined1 auStack_38 [32]; + ulonglong local_18 [2]; + + puVar9 = auStack_38; + local_18[0] = DAT_14016f5a0 ^ (ulonglong)local_18; + if ((ulonglong)param_1[2] < 0x65) { + plVar4 = param_1 + 4; + } + else { + plVar4 = (longlong *)*param_1; + } + FUN_14004d0b0((longlong)plVar4,(ulonglong)*(uint *)(param_1 + 1),0); + uVar5 = param_1[1] * 4 + 0x10; + if (uVar5 < 0x401) { + lVar1 = param_1[1] * 4; + uVar5 = lVar1 + 0x1f; + if (uVar5 <= lVar1 + 0x10U) { + uVar5 = 0xffffffffffffff0; + } + lVar1 = -(uVar5 & 0xfffffffffffffff0); + puVar9 = auStack_38 + lVar1; + puVar3 = (undefined4 *)((longlong)local_18 + lVar1); + puVar12 = (undefined4 *)0x0; + if (puVar3 == (undefined4 *)0x0) goto LAB_14004d840; + *puVar3 = 0xcccc; + puVar9 = auStack_38 + lVar1; + } + else { + puVar3 = malloc(uVar5); + puVar12 = (undefined4 *)0x0; + if (puVar3 == (undefined4 *)0x0) goto LAB_14004d840; + *puVar3 = 0xdddd; + puVar9 = auStack_38; + } + puVar12 = puVar3 + 4; +LAB_14004d840: + uVar5 = param_1[1]; + uVar13 = 0; + uVar6 = uVar13; + uVar10 = uVar13; + uVar11 = uVar13; + if (uVar5 != 0) { + do { + if (uVar10 == 0) { +LAB_14004d887: + if (((longlong)uVar6 < 0) || (param_1[1] <= (longlong)uVar6)) { + /* WARNING: Subroutine does not return */ + *(undefined **)(puVar9 + -8) = &UNK_14004d904; + FUN_14003dec0(); + } + if ((ulonglong)param_1[2] < 0x65) { + puVar3 = (undefined4 *)((longlong)param_1 + uVar6 * 4 + 0x20); + } + else { + puVar3 = (undefined4 *)(*param_1 + uVar6 * 4); + } + uVar11 = uVar10 + 1; + puVar12[uVar10] = *puVar3; + } + else { + if (((longlong)uVar6 < 0) || (param_1[1] <= (longlong)uVar6)) { + /* WARNING: Subroutine does not return */ + *(undefined **)(puVar9 + -8) = &UNK_14004d8fe; + FUN_14003dec0(); + } + if ((ulonglong)param_1[2] < 0x65) { + piVar8 = (int *)((longlong)param_1 + uVar6 * 4 + 0x20); + } + else { + piVar8 = (int *)(*param_1 + uVar6 * 4); + } + uVar11 = uVar10; + if (*piVar8 != puVar12[uVar10 - 1]) goto LAB_14004d887; + } + uVar6 = uVar6 + 1; + uVar10 = uVar11; + } while (uVar6 < uVar5); + } + *(undefined8 *)(puVar9 + -8) = 0x14004d8c7; + FUN_14004c4e0(param_1,uVar11,-1); + if (0 < (longlong)uVar11) { + puVar3 = puVar12; + do { + if (((longlong)uVar13 < 0) || (param_1[1] <= (longlong)uVar13)) { + /* WARNING: Subroutine does not return */ + *(undefined **)(puVar9 + -8) = &UNK_14004d95b; + FUN_14003dec0(); + } + if ((ulonglong)param_1[2] < 0x65) { + lVar1 = (longlong)param_1 + (0x20 - (longlong)puVar12); + } + else { + lVar1 = *param_1 - (longlong)puVar12; + } + puVar7 = (undefined4 *)(lVar1 + (longlong)puVar3); + uVar2 = *puVar3; + uVar13 = uVar13 + 1; + puVar3 = puVar3 + 1; + *puVar7 = uVar2; + } while ((longlong)uVar13 < (longlong)uVar11); + } + if ((puVar12 != (undefined4 *)0x0) && (puVar12[-4] == 0xdddd)) { + *(undefined8 *)(puVar9 + -8) = 0x14004d934; + free(puVar12 + -4); + } + *(undefined8 *)(puVar9 + -8) = 0x14004d940; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004d960.c b/decomp/AgentManager_Release_x64/full/functions/0x14004d960.c new file mode 100644 index 00000000..541da780 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004d960.c @@ -0,0 +1,91 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004d960 FUN_14004d960 + * Pseudocode, not original source. */ + +void FUN_14004d960(longlong param_1,uint param_2,uint param_3) + +{ + double dVar1; + undefined8 uVar2; + undefined8 uVar3; + undefined8 uVar4; + longlong *plVar5; + longlong lVar6; + ulonglong uVar7; + ulonglong uVar8; + uint uVar9; + ulonglong uVar11; + longlong lVar12; + uint local_res10; + uint local_res18; + ulonglong local_res20; + ulonglong local_28; + uint uVar10; + + uVar11 = (ulonglong)(int)param_3; + uVar8 = (ulonglong)(int)param_2; + local_res10 = param_2; + local_res18 = param_3; + local_res20 = uVar8; + local_28 = uVar11; + if ((int)param_3 < (int)param_2) { + do { + uVar8 = uVar8 & 0xffffffff; + lVar12 = (longlong)(int)uVar11; + uVar11 = local_res20; + while( true ) { + dVar1 = *(double *)(*(longlong *)(param_1 + local_28 * 0x18) + 0x188); + plVar5 = (longlong *)(param_1 + lVar12 * 0x18); + for (; (*(double *)(*plVar5 + 0x188) <= dVar1 && dVar1 != *(double *)(*plVar5 + 0x188) && + (lVar12 < (longlong)uVar11)); lVar12 = lVar12 + 1) { + plVar5 = plVar5 + 3; + } + lVar6 = param_1 + uVar11 * 0x18; + do { + uVar7 = uVar11; + plVar5 = (longlong *)(lVar6 + -0x18); + lVar6 = lVar6 + -0x18; + uVar10 = (uint)uVar8; + uVar9 = uVar10 - 1; + uVar8 = (ulonglong)uVar9; + uVar11 = uVar7 - 1; + } while (dVar1 < *(double *)(*plVar5 + 0x188)); + if ((longlong)uVar11 <= lVar12) break; + uVar2 = *(undefined8 *)(param_1 + lVar12 * 0x18); + uVar3 = *(undefined8 *)(param_1 + 8 + lVar12 * 0x18); + uVar4 = *(undefined8 *)(param_1 + 0x10 + lVar12 * 0x18); + *(undefined8 *)(param_1 + lVar12 * 0x18) = *(undefined8 *)(param_1 + uVar11 * 0x18); + *(undefined8 *)(param_1 + 8 + lVar12 * 0x18) = *(undefined8 *)(param_1 + 8 + uVar11 * 0x18); + *(undefined8 *)(param_1 + 0x10 + lVar12 * 0x18) = + *(undefined8 *)(param_1 + 0x10 + uVar11 * 0x18); + *(undefined8 *)(param_1 + uVar11 * 0x18) = uVar2; + *(undefined8 *)(param_1 + 8 + uVar11 * 0x18) = uVar3; + *(undefined8 *)(param_1 + 0x10 + uVar11 * 0x18) = uVar4; + } + uVar2 = *(undefined8 *)(param_1 + local_28 * 0x18); + uVar3 = *(undefined8 *)(param_1 + 8 + local_28 * 0x18); + uVar4 = *(undefined8 *)(param_1 + 0x10 + local_28 * 0x18); + *(undefined8 *)(param_1 + local_28 * 0x18) = *(undefined8 *)(param_1 + uVar11 * 0x18); + *(undefined8 *)(param_1 + 8 + local_28 * 0x18) = *(undefined8 *)(param_1 + 8 + uVar11 * 0x18); + *(undefined8 *)(param_1 + 0x10 + local_28 * 0x18) = + *(undefined8 *)(param_1 + 0x10 + uVar11 * 0x18); + *(undefined8 *)(param_1 + uVar11 * 0x18) = uVar2; + *(undefined8 *)(param_1 + 8 + uVar11 * 0x18) = uVar3; + *(undefined8 *)(param_1 + 0x10 + uVar11 * 0x18) = uVar4; + if ((int)((local_res10 - uVar9) + -1) < (int)(uVar9 - local_res18)) { + FUN_14004d960(param_1,uVar10 - 2,local_res18); + local_res18 = uVar10; + local_28 = uVar7; + } + else { + FUN_14004d960(param_1,local_res10,uVar10); + local_res10 = uVar10 - 2; + local_res20 = uVar7 - 2; + } + uVar11 = (ulonglong)local_res18; + uVar8 = (ulonglong)local_res10; + } while ((int)local_res18 < (int)local_res10); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004db20.c b/decomp/AgentManager_Release_x64/full/functions/0x14004db20.c new file mode 100644 index 00000000..becfe27a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004db20.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004db20 FUN_14004db20 + * Pseudocode, not original source. */ + +void FUN_14004db20(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + exception local_50 [80]; + + if (*(longlong *)(param_1 + 0xc80) == 0) { + FUN_14003db10(local_50,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,param_3, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_50,(ThrowInfo *)&DAT_14016c210); + } + if (*(int *)(param_1 + 0xc8c) < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + *(undefined4 *)(param_1 + 0xc88) = 0; + if (*(longlong *)(param_1 + 0xc80) != 0) { + if (*(int *)(param_1 + 0xc8c) < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + *(undefined4 *)(param_1 + 0xc88) = 0; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004dba0.c b/decomp/AgentManager_Release_x64/full/functions/0x14004dba0.c new file mode 100644 index 00000000..70c6c4a7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004dba0.c @@ -0,0 +1,35 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004dba0 FUN_14004dba0 + * Pseudocode, not original source. */ + +void FUN_14004dba0(longlong param_1,undefined8 param_2,undefined4 param_3) + +{ + int iVar1; + longlong lVar2; + int iVar3; + undefined4 uStack_5c; + exception local_58 [88]; + + lVar2 = *(longlong *)(param_1 + 0xc80); + if (lVar2 == 0) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,0,param_1); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + iVar1 = *(int *)(param_1 + 0xc88); + if (iVar1 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + iVar3 = iVar1 + 1; + if ((-1 < iVar3) && (iVar3 <= *(int *)(param_1 + 0xc8c))) { + *(int *)(param_1 + 0xc88) = iVar3; + *(undefined8 *)(lVar2 + (longlong)iVar1 * 0x10) = param_2; + *(ulonglong *)(lVar2 + 8 + (longlong)iVar1 * 0x10) = CONCAT44(uStack_5c,param_3); + return; + } + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004dc30.c b/decomp/AgentManager_Release_x64/full/functions/0x14004dc30.c new file mode 100644 index 00000000..45c71de9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004dc30.c @@ -0,0 +1,84 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004dc30 FUN_14004dc30 + * Pseudocode, not original source. */ + +void FUN_14004dc30(longlong param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong lVar1; + int iVar2; + int iVar3; + longlong lVar4; + int iVar5; + ulonglong uVar6; + ulonglong uVar7; + ulonglong uVar8; + ulonglong uVar9; + exception local_58 [80]; + + if (*(longlong *)(param_2 + 0xc80) == 0) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,param_3, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + iVar2 = *(int *)(param_2 + 0xc88); + if (*(longlong *)(param_1 + 0xc80) == 0) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,param_3, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + iVar3 = *(int *)(param_1 + 0xc88); + iVar5 = iVar3 + iVar2; + if (*(longlong *)(param_1 + 0xc80) == 0) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,param_3, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + if ((-1 < iVar5) && (iVar5 <= *(int *)(param_1 + 0xc8c))) { + *(int *)(param_1 + 0xc88) = iVar5; + if (*(longlong *)(param_1 + 0xc80) == 0) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,param_3, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + if (*(longlong *)(param_2 + 0xc80) == 0) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,param_3, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + uVar6 = 0; + if (0 < iVar2) { + lVar1 = *(longlong *)(param_1 + 0xc80) + (longlong)iVar3 * 0x10; + uVar7 = uVar6; + uVar8 = uVar6; + do { + lVar4 = *(longlong *)(param_2 + 0xc80); + if (lVar4 == 0) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,uVar6, + uVar7); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + if (((longlong)uVar7 < 0) || (*(int *)(param_2 + 0xc88) <= (int)uVar6)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + uVar7 = uVar7 + 1; + uVar9 = uVar8 + 0x10; + *(undefined8 *)(lVar1 + -0x10 + uVar9) = *(undefined8 *)(uVar8 + lVar4); + uVar6 = (ulonglong)((int)uVar6 + 1); + *(undefined8 *)(lVar1 + -8 + uVar9) = *(undefined8 *)(uVar8 + 8 + lVar4); + uVar8 = uVar9; + } while ((longlong)uVar7 < (longlong)iVar2); + } + return; + } + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004dde0.c b/decomp/AgentManager_Release_x64/full/functions/0x14004dde0.c new file mode 100644 index 00000000..72d0a34e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004dde0.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004dde0 FUN_14004dde0 + * Pseudocode, not original source. */ + +undefined8 * FUN_14004dde0(undefined8 *param_1,uint param_2) + +{ + *param_1 = Proud::CFastArray::vftable; + if ((LPVOID)param_1[2] != (LPVOID)0x0) { + if ((longlong *)param_1[1] == (longlong *)0x0) { + FUN_14003e8b0((LPVOID)param_1[2]); + } + else { + (**(code **)(*(longlong *)param_1[1] + 0x18))(); + } + } + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004de40.c b/decomp/AgentManager_Release_x64/full/functions/0x14004de40.c new file mode 100644 index 00000000..f982041b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004de40.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004de40 FUN_14004de40 + * Pseudocode, not original source. */ + +void FUN_14004de40(longlong param_1) + +{ + FUN_14008a320((longlong *)(param_1 + 8)); + if (*(longlong *)(param_1 + 0x10) != 0) { + if (*(int *)(param_1 + 0x1c) < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + *(undefined4 *)(param_1 + 0x18) = 0; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004de90.c b/decomp/AgentManager_Release_x64/full/functions/0x14004de90.c new file mode 100644 index 00000000..7b581a6a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004de90.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004de90 FUN_14004de90 + * Pseudocode, not original source. */ + +void FUN_14004de90(longlong param_1,undefined8 param_2,longlong *param_3,undefined8 param_4) + +{ + longlong *plVar1; + + plVar1 = param_3; + if (*(longlong *)(param_1 + 0x1790) != 0) { + plVar1 = (longlong *)*param_3; + if ((longlong *)*param_3 == (longlong *)0x0) { + plVar1 = (longlong *)PTR_DAT_14016f010; + } + param_2 = 0; + FUN_1400843d0(*(longlong *)(param_1 + 0x1790),0,(short *)plVar1,param_4); + } + FUN_140002190(param_3,param_2,plVar1,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004dee0.c b/decomp/AgentManager_Release_x64/full/functions/0x14004dee0.c new file mode 100644 index 00000000..a51a38fc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004dee0.c @@ -0,0 +1,43 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004dee0 FUN_14004dee0 + * Pseudocode, not original source. */ + +undefined4 FUN_14004dee0(longlong param_1,longlong param_2) + +{ + ushort uVar1; + uint uVar2; + longlong lVar3; + ulonglong uVar4; + + if ((*(int *)(param_2 + 8) == 0) || (uVar4 = FUN_140041850(param_2), (char)uVar4 != '\0')) { + uVar1 = *(ushort *)(param_2 + 0xc); + uVar2 = *(uint *)(param_2 + 8); + uVar4 = (ulonglong)(uVar1 ^ uVar2) % (ulonglong)*(uint *)(param_1 + 0x3b0); + if (*(longlong *)(param_1 + 0x390) != 0) { + lVar3 = *(longlong *)(*(longlong *)(param_1 + 0x390) + uVar4 * 8); + while( true ) { + if ((lVar3 == 0) || ((uint)uVar4 != *(uint *)(lVar3 + 0x28) % *(uint *)(param_1 + 0x3b0))) + goto LAB_14004df63; + if ((*(uint *)(lVar3 + 8) == uVar2) && (*(ushort *)(lVar3 + 0xc) == uVar1)) break; + lVar3 = *(longlong *)(lVar3 + 0x18); + } + if (*(longlong *)(lVar3 + 0x10) != 0) { + return *(undefined4 *)(*(longlong *)(lVar3 + 0x10) + 0x6f8); + } + } +LAB_14004df63: + uVar4 = (ulonglong)(uVar1 ^ uVar2) % (ulonglong)*(uint *)(param_1 + 0x718); + if (*(longlong *)(param_1 + 0x6f8) != 0) { + for (lVar3 = *(longlong *)(*(longlong *)(param_1 + 0x6f8) + uVar4 * 8); + (lVar3 != 0 && ((uint)uVar4 == *(uint *)(lVar3 + 0x28) % *(uint *)(param_1 + 0x718))); + lVar3 = *(longlong *)(lVar3 + 0x18)) { + if ((*(uint *)(lVar3 + 8) == uVar2) && (*(ushort *)(lVar3 + 0xc) == uVar1)) { + return 1; + } + } + } + } + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004dff0.c b/decomp/AgentManager_Release_x64/full/functions/0x14004dff0.c new file mode 100644 index 00000000..b2277c64 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004dff0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004dff0 FUN_14004dff0 + * Pseudocode, not original source. */ + +void FUN_14004dff0(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140002190((longlong *)(param_1 + 8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004e000.c b/decomp/AgentManager_Release_x64/full/functions/0x14004e000.c new file mode 100644 index 00000000..2d038b44 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004e000.c @@ -0,0 +1,40 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004e000 FUN_14004e000 + * Pseudocode, not original source. */ + +undefined8 * FUN_14004e000(undefined8 *param_1,longlong param_2,SIZE_T param_3) + +{ + undefined4 uVar1; + int iVar2; + undefined8 *puVar3; + undefined8 *puVar4; + + *param_1 = Proud::CFastArray::vftable; + if (DAT_14016f8a0 != 5) { + FUN_140049d30(); + } + puVar4 = (undefined8 *)0x0; + param_1[1] = *(undefined8 *)(param_2 + 8); + uVar1 = *(undefined4 *)(param_2 + 0x24); + param_1[2] = 0; + param_1[3] = 0; + *(undefined4 *)(param_1 + 4) = 0; + *(undefined4 *)((longlong)param_1 + 0x24) = uVar1; + iVar2 = *(int *)(param_2 + 0x18); + if (-1 < iVar2) { + FUN_14002a050((longlong)param_1,iVar2,param_3); + puVar3 = puVar4; + if (*(int *)(param_2 + 0x18) != 0) { + puVar3 = *(undefined8 **)(param_2 + 0x10); + } + if (*(int *)(param_1 + 3) != 0) { + puVar4 = (undefined8 *)param_1[2]; + } + FUN_140006fb0(puVar4,puVar3,(longlong)iVar2); + return param_1; + } + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004e0a0.c b/decomp/AgentManager_Release_x64/full/functions/0x14004e0a0.c new file mode 100644 index 00000000..7874f86d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004e0a0.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004e0a0 FUN_14004e0a0 + * Pseudocode, not original source. */ + +longlong * FUN_14004e0a0(longlong *param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + int *piVar1; + ulonglong uVar2; + undefined7 uVar3; + + uVar3 = (undefined7)((ulonglong)param_3 >> 8); + if (param_2 == 0) { + *param_1 = 0; + } + else { + piVar1 = (int *)FUN_14003e840(0x48); + if (piVar1 != (int *)0x0) { + uVar2 = FUN_140094860(); + FUN_14003cf60(piVar1,uVar2 & 0xffffffff,CONCAT71(uVar3,1),param_4); + } + *param_1 = (longlong)piVar1; + FUN_14003d040(piVar1); + *(undefined8 *)(*param_1 + 0x40) = 1; + *(longlong *)(*param_1 + 0x38) = param_2; + FUN_14003d0d0((longlong)piVar1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004e140.c b/decomp/AgentManager_Release_x64/full/functions/0x14004e140.c new file mode 100644 index 00000000..cba25208 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004e140.c @@ -0,0 +1,102 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004e140 FUN_14004e140 + * Pseudocode, not original source. */ + +void FUN_14004e140(char *param_1) + +{ + longlong *plVar1; + LPVOID pvVar2; + LPVOID pvVar3; + uint uVar4; + ulonglong uVar5; + longlong lVar6; + longlong lVar7; + float fVar8; + float fVar9; + + *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + 1; + FUN_1400c8cb0(param_1); + pvVar3 = *(LPVOID *)(param_1 + 0x10); + while (pvVar3 != (LPVOID)0x0) { + plVar1 = *(longlong **)(param_1 + 0x50); + pvVar2 = *(LPVOID *)((longlong)pvVar3 + 0x10); + if (plVar1 == (longlong *)0x0) { + FUN_14003e8b0(pvVar3); + } + else { + (**(code **)(*plVar1 + 0x18))(plVar1,pvVar3); + } + *(longlong *)(param_1 + 0x20) = *(longlong *)(param_1 + 0x20) + -1; + pvVar3 = pvVar2; + } + FUN_14003e8b0(*(LPVOID *)(param_1 + 8)); + param_1[8] = '\0'; + param_1[9] = '\0'; + param_1[10] = '\0'; + param_1[0xb] = '\0'; + param_1[0xc] = '\0'; + param_1[0xd] = '\0'; + param_1[0xe] = '\0'; + param_1[0xf] = '\0'; + param_1[0x20] = '\0'; + param_1[0x21] = '\0'; + param_1[0x22] = '\0'; + param_1[0x23] = '\0'; + param_1[0x24] = '\0'; + param_1[0x25] = '\0'; + param_1[0x26] = '\0'; + param_1[0x27] = '\0'; + param_1[0x10] = '\0'; + param_1[0x11] = '\0'; + param_1[0x12] = '\0'; + param_1[0x13] = '\0'; + param_1[0x14] = '\0'; + param_1[0x15] = '\0'; + param_1[0x16] = '\0'; + param_1[0x17] = '\0'; + param_1[0x18] = '\0'; + param_1[0x19] = '\0'; + param_1[0x1a] = '\0'; + param_1[0x1b] = '\0'; + param_1[0x1c] = '\0'; + param_1[0x1d] = '\0'; + param_1[0x1e] = '\0'; + param_1[0x1f] = '\0'; + FUN_1400c8cb0(param_1); + if (*(int *)(param_1 + 0x48) == 0) { + uVar4 = FUN_14009b970((longlong)param_1,*(longlong *)(param_1 + 0x20)); + if (*(LPVOID *)(param_1 + 8) != (LPVOID)0x0) { + FUN_14003e8b0(*(LPVOID *)(param_1 + 8)); + param_1[8] = '\0'; + param_1[9] = '\0'; + param_1[10] = '\0'; + param_1[0xb] = '\0'; + param_1[0xc] = '\0'; + param_1[0xd] = '\0'; + param_1[0xe] = '\0'; + param_1[0xf] = '\0'; + } + lVar6 = 0; + *(uint *)(param_1 + 0x28) = uVar4; + fVar9 = (float)uVar4 * *(float *)(param_1 + 0x34); + if ((9.223372e+18 < fVar9) && (fVar9 = fVar9 - 9.223372e+18, fVar9 < 9.223372e+18)) { + lVar6 = -0x8000000000000000; + } + fVar8 = (float)uVar4 * *(float *)(param_1 + 0x30); + lVar7 = 0; + *(longlong *)(param_1 + 0x38) = (longlong)fVar9 + lVar6; + if ((9.223372e+18 < fVar8) && (fVar8 = fVar8 - 9.223372e+18, fVar8 < 9.223372e+18)) { + lVar7 = -0x8000000000000000; + } + uVar5 = (longlong)fVar8 + lVar7; + if ((ulonglong)((longlong)fVar8 + lVar7) < 0x11) { + uVar5 = 0; + } + *(ulonglong *)(param_1 + 0x40) = uVar5; + } + FUN_1400c8cb0(param_1); + *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + -1; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004e270.c b/decomp/AgentManager_Release_x64/full/functions/0x14004e270.c new file mode 100644 index 00000000..07f9467c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004e270.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004e270 FUN_14004e270 + * Pseudocode, not original source. */ + +void FUN_14004e270(char *param_1) + +{ + FUN_14004e140(param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004e290.c b/decomp/AgentManager_Release_x64/full/functions/0x14004e290.c new file mode 100644 index 00000000..84e5f637 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004e290.c @@ -0,0 +1,42 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004e290 FUN_14004e290 + * Pseudocode, not original source. */ + +void FUN_14004e290(longlong *param_1,undefined4 *param_2,longlong param_3) + +{ + longlong lVar1; + undefined4 uVar2; + undefined4 *puVar3; + undefined4 *puVar4; + longlong lVar5; + + if (param_3 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + FUN_14004c4e0(param_1,param_3,-1); + lVar5 = 0; + if (0 < param_3) { + puVar4 = param_2; + do { + if ((lVar5 < 0) || (param_1[1] <= lVar5)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if ((ulonglong)param_1[2] < 0x65) { + lVar1 = (longlong)param_1 + (0x20 - (longlong)param_2); + } + else { + lVar1 = *param_1 - (longlong)param_2; + } + puVar3 = (undefined4 *)(lVar1 + (longlong)puVar4); + uVar2 = *puVar4; + lVar5 = lVar5 + 1; + puVar4 = puVar4 + 1; + *puVar3 = uVar2; + } while (lVar5 < param_3); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004e320.c b/decomp/AgentManager_Release_x64/full/functions/0x14004e320.c new file mode 100644 index 00000000..35fd5fc4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004e320.c @@ -0,0 +1,102 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004e320 FUN_14004e320 + * Pseudocode, not original source. */ + +void FUN_14004e320(char *param_1) + +{ + longlong *plVar1; + LPVOID pvVar2; + LPVOID pvVar3; + uint uVar4; + ulonglong uVar5; + longlong lVar6; + longlong lVar7; + float fVar8; + float fVar9; + + *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + 1; + FUN_14004c730(param_1); + pvVar3 = *(LPVOID *)(param_1 + 0x10); + while (pvVar3 != (LPVOID)0x0) { + plVar1 = *(longlong **)(param_1 + 0x50); + pvVar2 = *(LPVOID *)((longlong)pvVar3 + 0x18); + if (plVar1 == (longlong *)0x0) { + FUN_14003e8b0(pvVar3); + } + else { + (**(code **)(*plVar1 + 0x18))(plVar1,pvVar3); + } + *(longlong *)(param_1 + 0x20) = *(longlong *)(param_1 + 0x20) + -1; + pvVar3 = pvVar2; + } + FUN_14003e8b0(*(LPVOID *)(param_1 + 8)); + param_1[8] = '\0'; + param_1[9] = '\0'; + param_1[10] = '\0'; + param_1[0xb] = '\0'; + param_1[0xc] = '\0'; + param_1[0xd] = '\0'; + param_1[0xe] = '\0'; + param_1[0xf] = '\0'; + param_1[0x20] = '\0'; + param_1[0x21] = '\0'; + param_1[0x22] = '\0'; + param_1[0x23] = '\0'; + param_1[0x24] = '\0'; + param_1[0x25] = '\0'; + param_1[0x26] = '\0'; + param_1[0x27] = '\0'; + param_1[0x10] = '\0'; + param_1[0x11] = '\0'; + param_1[0x12] = '\0'; + param_1[0x13] = '\0'; + param_1[0x14] = '\0'; + param_1[0x15] = '\0'; + param_1[0x16] = '\0'; + param_1[0x17] = '\0'; + param_1[0x18] = '\0'; + param_1[0x19] = '\0'; + param_1[0x1a] = '\0'; + param_1[0x1b] = '\0'; + param_1[0x1c] = '\0'; + param_1[0x1d] = '\0'; + param_1[0x1e] = '\0'; + param_1[0x1f] = '\0'; + FUN_14004c730(param_1); + if (*(int *)(param_1 + 0x48) == 0) { + uVar4 = FUN_14009b970((longlong)param_1,*(longlong *)(param_1 + 0x20)); + if (*(LPVOID *)(param_1 + 8) != (LPVOID)0x0) { + FUN_14003e8b0(*(LPVOID *)(param_1 + 8)); + param_1[8] = '\0'; + param_1[9] = '\0'; + param_1[10] = '\0'; + param_1[0xb] = '\0'; + param_1[0xc] = '\0'; + param_1[0xd] = '\0'; + param_1[0xe] = '\0'; + param_1[0xf] = '\0'; + } + lVar6 = 0; + *(uint *)(param_1 + 0x28) = uVar4; + fVar9 = (float)uVar4 * *(float *)(param_1 + 0x34); + if ((9.223372e+18 < fVar9) && (fVar9 = fVar9 - 9.223372e+18, fVar9 < 9.223372e+18)) { + lVar6 = -0x8000000000000000; + } + fVar8 = (float)uVar4 * *(float *)(param_1 + 0x30); + lVar7 = 0; + *(longlong *)(param_1 + 0x38) = (longlong)fVar9 + lVar6; + if ((9.223372e+18 < fVar8) && (fVar8 = fVar8 - 9.223372e+18, fVar8 < 9.223372e+18)) { + lVar7 = -0x8000000000000000; + } + uVar5 = (longlong)fVar8 + lVar7; + if ((ulonglong)((longlong)fVar8 + lVar7) < 0x11) { + uVar5 = 0; + } + *(ulonglong *)(param_1 + 0x40) = uVar5; + } + FUN_14004c730(param_1); + *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + -1; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004e450.c b/decomp/AgentManager_Release_x64/full/functions/0x14004e450.c new file mode 100644 index 00000000..2ac92cc5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004e450.c @@ -0,0 +1,19 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004e450 FUN_14004e450 + * Pseudocode, not original source. */ + +void FUN_14004e450(undefined8 *param_1) + +{ + void *pvVar1; + + pvVar1 = (void *)*param_1; + if (pvVar1 != (void *)0x0) { + FUN_140049e40((undefined8 *)((longlong)pvVar1 + 0x148)); + FUN_140049e40((undefined8 *)((longlong)pvVar1 + 0x120)); + operator_delete(pvVar1); + } + FUN_14003e8b0(param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004e4b0.c b/decomp/AgentManager_Release_x64/full/functions/0x14004e4b0.c new file mode 100644 index 00000000..f34f3e52 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004e4b0.c @@ -0,0 +1,19 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004e4b0 FUN_14004e4b0 + * Pseudocode, not original source. */ + +void FUN_14004e4b0(undefined4 *param_1,undefined8 param_2,undefined8 param_3,longlong param_4) + +{ + undefined1 *puVar1; + + puVar1 = *(undefined1 **)(param_1 + 0xe); + if (puVar1 != (undefined1 *)0x0) { + FUN_140085890(puVar1,param_2,param_3,param_4); + operator_delete(puVar1); + } + FUN_14003d110(param_1,param_2,param_3,param_4); + FUN_14003e8b0(param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004e500.c b/decomp/AgentManager_Release_x64/full/functions/0x14004e500.c new file mode 100644 index 00000000..597135b7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004e500.c @@ -0,0 +1,72 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004e500 FUN_14004e500 + * Pseudocode, not original source. */ + +undefined4 * FUN_14004e500(char *param_1,undefined4 *param_2,uint param_3,undefined4 param_4) + +{ + undefined4 uVar1; + longlong *plVar2; + longlong lVar3; + undefined8 uVar4; + uint uVar5; + undefined4 *puVar6; + + plVar2 = *(longlong **)(param_1 + 0x50); + if (plVar2 == (longlong *)0x0) { + puVar6 = (undefined4 *)FUN_14003e840(0x20); + } + else { + puVar6 = (undefined4 *)(**(code **)(*plVar2 + 8))(plVar2,0x20); + } + if (puVar6 != (undefined4 *)0x0) { + uVar1 = *param_2; + puVar6[6] = param_4; + *puVar6 = uVar1; + } + lVar3 = *(longlong *)(*(longlong *)(param_1 + 8) + (ulonglong)param_3 * 8); + FUN_140083c80(param_1); + if (*(longlong *)(param_1 + 0x20) == 0) { + *(undefined4 **)(param_1 + 0x10) = puVar6; + *(undefined4 **)(param_1 + 0x18) = puVar6; + *(undefined8 *)(puVar6 + 4) = 0; + *(undefined8 *)(puVar6 + 2) = 0; + } + else { + FUN_140083c80(param_1); + FUN_140083c80(param_1); + if (lVar3 == 0) { + lVar3 = *(longlong *)(param_1 + 0x10); + *(undefined8 *)(puVar6 + 4) = 0; + *(longlong *)(puVar6 + 2) = lVar3; + if (lVar3 != 0) { + *(undefined4 **)(lVar3 + 0x10) = puVar6; + } + *(undefined4 **)(param_1 + 0x10) = puVar6; + } + else { + if (*(longlong *)(lVar3 + 0x10) == 0) { + *(undefined4 **)(param_1 + 0x10) = puVar6; + } + else { + *(undefined4 **)(*(longlong *)(lVar3 + 0x10) + 8) = puVar6; + } + uVar4 = *(undefined8 *)(lVar3 + 0x10); + *(longlong *)(puVar6 + 2) = lVar3; + *(undefined8 *)(puVar6 + 4) = uVar4; + *(undefined4 **)(lVar3 + 0x10) = puVar6; + } + } + *(undefined4 **)(*(longlong *)(param_1 + 8) + (ulonglong)param_3 * 8) = puVar6; + *(longlong *)(param_1 + 0x20) = *(longlong *)(param_1 + 0x20) + 1; + FUN_140083c80(param_1); + FUN_140083c80(param_1); + if ((*(ulonglong *)(param_1 + 0x38) < *(ulonglong *)(param_1 + 0x20)) && + (*(int *)(param_1 + 0x48) == 0)) { + uVar5 = FUN_14009b970((longlong)param_1,*(ulonglong *)(param_1 + 0x20)); + FUN_14004ca90(param_1,uVar5); + } + FUN_140083c80(param_1); + return puVar6; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004e640.c b/decomp/AgentManager_Release_x64/full/functions/0x14004e640.c new file mode 100644 index 00000000..b6152c7c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004e640.c @@ -0,0 +1,72 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004e640 FUN_14004e640 + * Pseudocode, not original source. */ + +undefined4 * FUN_14004e640(char *param_1,undefined4 *param_2,uint param_3,undefined4 param_4) + +{ + undefined4 uVar1; + longlong *plVar2; + longlong lVar3; + undefined8 uVar4; + uint uVar5; + undefined4 *puVar6; + + plVar2 = *(longlong **)(param_1 + 0x50); + if (plVar2 == (longlong *)0x0) { + puVar6 = (undefined4 *)FUN_14003e840(0x30); + } + else { + puVar6 = (undefined4 *)(**(code **)(*plVar2 + 8))(plVar2,0x30); + } + if (puVar6 != (undefined4 *)0x0) { + uVar1 = *param_2; + puVar6[10] = param_4; + *puVar6 = uVar1; + } + lVar3 = *(longlong *)(*(longlong *)(param_1 + 8) + (ulonglong)param_3 * 8); + FUN_14004c730(param_1); + if (*(longlong *)(param_1 + 0x20) == 0) { + *(undefined4 **)(param_1 + 0x10) = puVar6; + *(undefined4 **)(param_1 + 0x18) = puVar6; + *(undefined8 *)(puVar6 + 8) = 0; + *(undefined8 *)(puVar6 + 6) = 0; + } + else { + FUN_14004c730(param_1); + FUN_14004c730(param_1); + if (lVar3 == 0) { + lVar3 = *(longlong *)(param_1 + 0x10); + *(undefined8 *)(puVar6 + 8) = 0; + *(longlong *)(puVar6 + 6) = lVar3; + if (lVar3 != 0) { + *(undefined4 **)(lVar3 + 0x20) = puVar6; + } + *(undefined4 **)(param_1 + 0x10) = puVar6; + } + else { + if (*(longlong *)(lVar3 + 0x20) == 0) { + *(undefined4 **)(param_1 + 0x10) = puVar6; + } + else { + *(undefined4 **)(*(longlong *)(lVar3 + 0x20) + 0x18) = puVar6; + } + uVar4 = *(undefined8 *)(lVar3 + 0x20); + *(longlong *)(puVar6 + 6) = lVar3; + *(undefined8 *)(puVar6 + 8) = uVar4; + *(undefined4 **)(lVar3 + 0x20) = puVar6; + } + } + *(undefined4 **)(*(longlong *)(param_1 + 8) + (ulonglong)param_3 * 8) = puVar6; + *(longlong *)(param_1 + 0x20) = *(longlong *)(param_1 + 0x20) + 1; + FUN_14004c730(param_1); + FUN_14004c730(param_1); + if ((*(ulonglong *)(param_1 + 0x38) < *(ulonglong *)(param_1 + 0x20)) && + (*(int *)(param_1 + 0x48) == 0)) { + uVar5 = FUN_14009b970((longlong)param_1,*(ulonglong *)(param_1 + 0x20)); + FUN_14004cdb0(param_1,uVar5); + } + FUN_14004c730(param_1); + return puVar6; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004e780.c b/decomp/AgentManager_Release_x64/full/functions/0x14004e780.c new file mode 100644 index 00000000..0cdf2f8a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004e780.c @@ -0,0 +1,71 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004e780 FUN_14004e780 + * Pseudocode, not original source. */ + +undefined8 * FUN_14004e780(char *param_1,undefined8 *param_2,uint param_3,undefined4 param_4) + +{ + longlong *plVar1; + undefined8 uVar2; + longlong lVar3; + uint uVar4; + undefined8 *puVar5; + + plVar1 = *(longlong **)(param_1 + 0x50); + if (plVar1 == (longlong *)0x0) { + puVar5 = (undefined8 *)FUN_14003e840(0x28); + } + else { + puVar5 = (undefined8 *)(**(code **)(*plVar1 + 8))(plVar1,0x28); + } + if (puVar5 != (undefined8 *)0x0) { + uVar2 = *param_2; + *(undefined4 *)(puVar5 + 4) = param_4; + *puVar5 = uVar2; + } + lVar3 = *(longlong *)(*(longlong *)(param_1 + 8) + (ulonglong)param_3 * 8); + FUN_1400c8cb0(param_1); + if (*(longlong *)(param_1 + 0x20) == 0) { + *(undefined8 **)(param_1 + 0x10) = puVar5; + *(undefined8 **)(param_1 + 0x18) = puVar5; + puVar5[3] = 0; + puVar5[2] = 0; + } + else { + FUN_1400c8cb0(param_1); + FUN_1400c8cb0(param_1); + if (lVar3 == 0) { + lVar3 = *(longlong *)(param_1 + 0x10); + puVar5[3] = 0; + puVar5[2] = lVar3; + if (lVar3 != 0) { + *(undefined8 **)(lVar3 + 0x18) = puVar5; + } + *(undefined8 **)(param_1 + 0x10) = puVar5; + } + else { + if (*(longlong *)(lVar3 + 0x18) == 0) { + *(undefined8 **)(param_1 + 0x10) = puVar5; + } + else { + *(undefined8 **)(*(longlong *)(lVar3 + 0x18) + 0x10) = puVar5; + } + uVar2 = *(undefined8 *)(lVar3 + 0x18); + puVar5[2] = lVar3; + puVar5[3] = uVar2; + *(undefined8 **)(lVar3 + 0x18) = puVar5; + } + } + *(undefined8 **)(*(longlong *)(param_1 + 8) + (ulonglong)param_3 * 8) = puVar5; + *(longlong *)(param_1 + 0x20) = *(longlong *)(param_1 + 0x20) + 1; + FUN_1400c8cb0(param_1); + FUN_1400c8cb0(param_1); + if ((*(ulonglong *)(param_1 + 0x38) < *(ulonglong *)(param_1 + 0x20)) && + (*(int *)(param_1 + 0x48) == 0)) { + uVar4 = FUN_14009b970((longlong)param_1,*(ulonglong *)(param_1 + 0x20)); + FUN_1400c8de0(param_1,uVar4); + } + FUN_1400c8cb0(param_1); + return puVar5; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004e8c0.c b/decomp/AgentManager_Release_x64/full/functions/0x14004e8c0.c new file mode 100644 index 00000000..91fe4924 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004e8c0.c @@ -0,0 +1,72 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004e8c0 FUN_14004e8c0 + * Pseudocode, not original source. */ + +undefined4 * FUN_14004e8c0(char *param_1,undefined4 *param_2,uint param_3,undefined4 param_4) + +{ + undefined4 uVar1; + longlong *plVar2; + longlong lVar3; + undefined8 uVar4; + uint uVar5; + undefined4 *puVar6; + + plVar2 = *(longlong **)(param_1 + 0x50); + if (plVar2 == (longlong *)0x0) { + puVar6 = (undefined4 *)FUN_14003e840(0x28); + } + else { + puVar6 = (undefined4 *)(**(code **)(*plVar2 + 8))(plVar2,0x28); + } + if (puVar6 != (undefined4 *)0x0) { + uVar1 = *param_2; + puVar6[8] = param_4; + *puVar6 = uVar1; + } + lVar3 = *(longlong *)(*(longlong *)(param_1 + 8) + (ulonglong)param_3 * 8); + FUN_1400c8cb0(param_1); + if (*(longlong *)(param_1 + 0x20) == 0) { + *(undefined4 **)(param_1 + 0x10) = puVar6; + *(undefined4 **)(param_1 + 0x18) = puVar6; + *(undefined8 *)(puVar6 + 6) = 0; + *(undefined8 *)(puVar6 + 4) = 0; + } + else { + FUN_1400c8cb0(param_1); + FUN_1400c8cb0(param_1); + if (lVar3 == 0) { + lVar3 = *(longlong *)(param_1 + 0x10); + *(undefined8 *)(puVar6 + 6) = 0; + *(longlong *)(puVar6 + 4) = lVar3; + if (lVar3 != 0) { + *(undefined4 **)(lVar3 + 0x18) = puVar6; + } + *(undefined4 **)(param_1 + 0x10) = puVar6; + } + else { + if (*(longlong *)(lVar3 + 0x18) == 0) { + *(undefined4 **)(param_1 + 0x10) = puVar6; + } + else { + *(undefined4 **)(*(longlong *)(lVar3 + 0x18) + 0x10) = puVar6; + } + uVar4 = *(undefined8 *)(lVar3 + 0x18); + *(longlong *)(puVar6 + 4) = lVar3; + *(undefined8 *)(puVar6 + 6) = uVar4; + *(undefined4 **)(lVar3 + 0x18) = puVar6; + } + } + *(undefined4 **)(*(longlong *)(param_1 + 8) + (ulonglong)param_3 * 8) = puVar6; + *(longlong *)(param_1 + 0x20) = *(longlong *)(param_1 + 0x20) + 1; + FUN_1400c8cb0(param_1); + FUN_1400c8cb0(param_1); + if ((*(ulonglong *)(param_1 + 0x38) < *(ulonglong *)(param_1 + 0x20)) && + (*(int *)(param_1 + 0x48) == 0)) { + uVar5 = FUN_14009b970((longlong)param_1,*(ulonglong *)(param_1 + 0x20)); + FUN_1400c8de0(param_1,uVar5); + } + FUN_1400c8cb0(param_1); + return puVar6; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004ea00.c b/decomp/AgentManager_Release_x64/full/functions/0x14004ea00.c new file mode 100644 index 00000000..c582062b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004ea00.c @@ -0,0 +1,37 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004ea00 FUN_14004ea00 + * Pseudocode, not original source. */ + +void FUN_14004ea00(longlong param_1) + +{ + longlong lVar1; + longlong lVar2; + + lVar2 = *(longlong *)(param_1 + 0x20); + lVar1 = lVar2; + while (lVar1 != 0) { + if (lVar2 != 0) { + lVar2 = lVar2 + -1; + *(longlong *)(param_1 + 0x20) = lVar2; + if (lVar2 == 0) { + *(undefined8 *)(param_1 + 0x18) = 0; + } + } + lVar1 = *(longlong *)(param_1 + 0x20); + } + lVar2 = *(longlong *)(param_1 + 0x10); + while (lVar2 != 0) { + lVar2 = lVar2 + -1; + if (*(longlong *)(*(longlong *)(param_1 + 8) + lVar2 * 8) != 0) { + operator_delete(*(void **)(*(longlong *)(param_1 + 8) + lVar2 * 8)); + } + } + if (*(void **)(param_1 + 8) != (void *)0x0) { + operator_delete(*(void **)(param_1 + 8)); + } + *(undefined8 *)(param_1 + 8) = 0; + *(undefined8 *)(param_1 + 0x10) = 0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004ea90.c b/decomp/AgentManager_Release_x64/full/functions/0x14004ea90.c new file mode 100644 index 00000000..041d4da6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004ea90.c @@ -0,0 +1,20 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004ea90 FUN_14004ea90 + * Pseudocode, not original source. */ + +undefined8 * FUN_14004ea90(undefined8 *param_1,undefined8 *param_2) + +{ + undefined8 uVar1; + longlong lVar2; + longlong lVar3; + + uVar1 = *param_1; + lVar2 = param_1[4]; + param_2[1] = 0; + lVar3 = param_1[3]; + *param_2 = uVar1; + param_2[2] = lVar2 + lVar3; + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004eab0.c b/decomp/AgentManager_Release_x64/full/functions/0x14004eab0.c new file mode 100644 index 00000000..8646cf11 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004eab0.c @@ -0,0 +1,65 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004eab0 FUN_14004eab0 + * Pseudocode, not original source. */ + +void FUN_14004eab0(longlong param_1,ulonglong param_2) + +{ + longlong lVar1; + size_t sVar2; + code *pcVar3; + ulonglong uVar4; + void *_Dst; + void *pvVar5; + void *pvVar6; + ulonglong uVar7; + + uVar7 = *(ulonglong *)(param_1 + 0x10); + if (0xfffffffffffffff - uVar7 < param_2) { + std::_Xlength_error("deque too long"); + pcVar3 = (code *)swi(3); + (*pcVar3)(); + return; + } + uVar4 = uVar7 >> 1; + if (uVar4 < 8) { + uVar4 = 8; + } + if ((param_2 < uVar4) && (uVar7 <= 0xfffffffffffffff - uVar4)) { + param_2 = uVar4; + } + uVar4 = *(ulonglong *)(param_1 + 0x18) >> 2; + _Dst = FUN_14004d040(param_1 + 0x29,uVar7 + param_2); + lVar1 = uVar4 * 8; + pvVar5 = (void *)(lVar1 + *(longlong *)(param_1 + 8)); + uVar7 = (*(longlong *)(param_1 + 0x10) * 8 - (longlong)pvVar5) + *(longlong *)(param_1 + 8) & + 0xfffffffffffffff8; + pvVar5 = memmove((void *)(lVar1 + (longlong)_Dst),pvVar5,uVar7); + pvVar5 = (void *)((longlong)pvVar5 + uVar7); + if (param_2 < uVar4) { + memmove(pvVar5,*(void **)(param_1 + 8),param_2 * 8); + pvVar5 = (void *)(param_2 * 8 + *(longlong *)(param_1 + 8)); + sVar2 = ((lVar1 - (longlong)pvVar5) + *(longlong *)(param_1 + 8) >> 3) * 8; + pvVar5 = memmove(_Dst,pvVar5,sVar2); + pvVar5 = (void *)((longlong)pvVar5 + sVar2); + uVar4 = param_2; + } + else { + sVar2 = (lVar1 >> 3) * 8; + pvVar6 = memmove(pvVar5,*(void **)(param_1 + 8),sVar2); + pvVar5 = _Dst; + if (param_2 - uVar4 != 0) { + memset((void *)((longlong)pvVar6 + sVar2),0,(param_2 - uVar4) * 8); + } + } + if (uVar4 != 0) { + memset(pvVar5,0,uVar4 << 3); + } + if (*(void **)(param_1 + 8) != (void *)0x0) { + operator_delete(*(void **)(param_1 + 8)); + } + *(longlong *)(param_1 + 0x10) = *(longlong *)(param_1 + 0x10) + param_2; + *(void **)(param_1 + 8) = _Dst; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004ec50.c b/decomp/AgentManager_Release_x64/full/functions/0x14004ec50.c new file mode 100644 index 00000000..28e758c8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004ec50.c @@ -0,0 +1,49 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004ec50 FUN_14004ec50 + * Pseudocode, not original source. */ + +longlong FUN_14004ec50(longlong param_1,longlong param_2,undefined8 param_3) + +{ + uint uVar1; + longlong lVar2; + longlong lVar3; + exception local_58 [80]; + + *(undefined4 *)(param_1 + 0xc8c) = 200; + lVar3 = 0; + *(undefined4 *)(param_1 + 0xc88) = 0; + *(longlong *)(param_1 + 0xc80) = param_1; + lVar2 = *(longlong *)(param_2 + 8); + if (lVar2 == 0) { + if (*(longlong *)(param_2 + 0x10) == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(param_1,param_2,param_3,0); + } + uVar1 = *(uint *)(param_2 + 0x18); + } + else { + uVar1 = *(uint *)(lVar2 + 0x18); + } + if (*(longlong *)(param_2 + 0x10) == 0) { + if (lVar2 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(param_1,param_2,(ulonglong)uVar1,0); + } + if (*(int *)(lVar2 + 0x18) != 0) { + lVar3 = *(longlong *)(lVar2 + 0x10); + } + } + else { + lVar3 = *(longlong *)(param_2 + 0x10); + if (lVar3 == 0) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368, + (ulonglong)uVar1,0); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + } + FUN_14004dba0(param_1,lVar3,uVar1); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004ed10.c b/decomp/AgentManager_Release_x64/full/functions/0x14004ed10.c new file mode 100644 index 00000000..9b9e9873 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004ed10.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004ed10 FUN_14004ed10 + * Pseudocode, not original source. */ + +longlong FUN_14004ed10(longlong param_1,longlong param_2,SIZE_T param_3) + +{ + int iVar1; + undefined8 *puVar2; + undefined8 *puVar3; + + iVar1 = *(int *)(param_2 + 0x18); + if (-1 < iVar1) { + FUN_14002a050(param_1,iVar1,param_3); + puVar2 = (undefined8 *)0x0; + puVar3 = puVar2; + if (*(int *)(param_2 + 0x18) != 0) { + puVar3 = *(undefined8 **)(param_2 + 0x10); + } + if (*(int *)(param_1 + 0x18) != 0) { + puVar2 = *(undefined8 **)(param_1 + 0x10); + } + FUN_140006fb0(puVar2,puVar3,(longlong)iVar1); + return param_1; + } + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004ed70.c b/decomp/AgentManager_Release_x64/full/functions/0x14004ed70.c new file mode 100644 index 00000000..6acd0664 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004ed70.c @@ -0,0 +1,79 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004ed70 FUN_14004ed70 + * Pseudocode, not original source. */ + +ulonglong FUN_14004ed70(longlong param_1,uint param_2,longlong param_3) + +{ + undefined4 uVar1; + int iVar2; + uint *puVar3; + int *piVar4; + undefined8 uVar5; + ulonglong uVar6; + longlong lVar7; + longlong lVar8; + int iVar9; + longlong lVar10; + undefined4 *puVar11; + + FUN_14004cce0(param_3,0,param_3); + piVar4 = (int *)(**(code **)(*(longlong *)(param_1 + -0xa8) + 0x58))(param_1 + -0xa8); + FUN_14003d040(piVar4); + if (DAT_14017614f != '\0') { + (**(code **)(*(longlong *)(param_1 + -0xa8) + 200))(param_1 + -0xa8); + } + uVar6 = (ulonglong)param_2 % (ulonglong)*(uint *)(param_1 + 0xbf8); + if (*(longlong *)(param_1 + 0xbd8) != 0) { + for (puVar3 = *(uint **)(*(longlong *)(param_1 + 0xbd8) + uVar6 * 8); + (puVar3 != (uint *)0x0 && ((uint)uVar6 == puVar3[8] % *(uint *)(param_1 + 0xbf8))); + puVar3 = *(uint **)(puVar3 + 4)) { + if (*puVar3 == param_2) { + if (*(longlong *)(*(longlong *)(puVar3 + 2) + 0x68) == 0) { + puVar11 = (undefined4 *)0x0; + } + else { + puVar11 = *(undefined4 **)(*(longlong *)(puVar3 + 2) + 0x58); + } + while( true ) { + if (puVar11 == (undefined4 *)0x0) { + uVar5 = FUN_14003d0d0((longlong)piVar4); + return CONCAT71((int7)((ulonglong)uVar5 >> 8),1); + } + uVar1 = *puVar11; + iVar2 = *(int *)(param_3 + 0x18); + lVar10 = (longlong)iVar2; + if (iVar2 < 0) break; + iVar9 = *(int *)(param_3 + 0x18); + FUN_14004cce0(param_3,iVar9 + 1,uVar6); + iVar9 = iVar9 - iVar2; + if (0 < iVar9) { + if (*(int *)(param_3 + 0x18) == 0) { + lVar8 = 0; + lVar7 = 0; + } + else { + lVar8 = *(longlong *)(param_3 + 0x10); + lVar7 = *(longlong *)(param_3 + 0x10); + } + uVar6 = (longlong)iVar9 << 2; + memmove((void *)(lVar7 + 4 + lVar10 * 4),(void *)(lVar8 + lVar10 * 4),uVar6); + } + if (*(int *)(param_3 + 0x18) == 0) { + lVar8 = 0; + } + else { + lVar8 = *(longlong *)(param_3 + 0x10); + } + *(undefined4 *)(lVar8 + lVar10 * 4) = uVar1; + puVar11 = *(undefined4 **)(puVar11 + 4); + } + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + } + } + uVar6 = FUN_14003d0d0((longlong)piVar4); + return uVar6 & 0xffffffffffffff00; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004ef00.c b/decomp/AgentManager_Release_x64/full/functions/0x14004ef00.c new file mode 100644 index 00000000..71266d4d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004ef00.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004ef00 FUN_14004ef00 + * Pseudocode, not original source. */ + +void FUN_14004ef00(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong *plVar1; + longlong lVar2; + int *piVar3; + longlong lVar4; + undefined8 uVar5; + + plVar1 = (longlong *)(param_1 + -0xa8); + piVar3 = (int *)(**(code **)(*plVar1 + 0x58))(plVar1); + FUN_14003d040(piVar3); + if (DAT_14017614f != '\0') { + (**(code **)(*plVar1 + 200))(plVar1,L"Proud::CNetServerImpl::CloseEveryConnection"); + } + if (*(longlong *)(param_1 + 0xbf0) == 0) { + lVar4 = 0; + } + else { + lVar4 = *(longlong *)(param_1 + 0xbe0); + } + for (; lVar4 != 0; lVar4 = *(longlong *)(lVar4 + 0x10)) { + lVar2 = *(longlong *)(lVar4 + 8); + if ((*(longlong *)(lVar2 + 0x228) == 0) && (*(double *)(lVar2 + 0x758) == 0.0)) { + uVar5 = (**(code **)(*(longlong *)(param_1 + 0x70) + 8))(); + *(undefined8 *)(lVar2 + 0x758) = uVar5; + (**(code **)(*(longlong *)(param_1 + 0x400) + 0x100)) + ((longlong *)(param_1 + 0x400),*(undefined4 *)(lVar2 + 0x6f8),&DAT_140177f90); + } + } + FUN_14003d0d0((longlong)piVar3); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004f000.c b/decomp/AgentManager_Release_x64/full/functions/0x14004f000.c new file mode 100644 index 00000000..fe0e4fb9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004f000.c @@ -0,0 +1,34 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004f000 FUN_14004f000 + * Pseudocode, not original source. */ + +longlong FUN_14004f000(longlong param_1,uint param_2) + +{ + longlong lVar1; + ulonglong uVar2; + uint *puVar3; + + uVar2 = (ulonglong)param_2 % (ulonglong)*(uint *)(param_1 + 0xca0); + if ((*(longlong *)(param_1 + 0xc80) != 0) && + (puVar3 = *(uint **)(*(longlong *)(param_1 + 0xc80) + uVar2 * 8), puVar3 != (uint *)0x0)) { + while ((uint)uVar2 == puVar3[8] % *(uint *)(param_1 + 0xca0)) { + if (*puVar3 == param_2) { + lVar1 = *(longlong *)(puVar3 + 2); + if (lVar1 == 0) { + return 0; + } + if (*(longlong *)(lVar1 + 0x228) != 0) { + return 0; + } + return lVar1; + } + puVar3 = *(uint **)(puVar3 + 4); + if (puVar3 == (uint *)0x0) { + return 0; + } + } + } + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004f070.c b/decomp/AgentManager_Release_x64/full/functions/0x14004f070.c new file mode 100644 index 00000000..312bbedd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004f070.c @@ -0,0 +1,39 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004f070 FUN_14004f070 + * Pseudocode, not original source. */ + +undefined8 FUN_14004f070(longlong param_1,uint param_2) + +{ + undefined8 uVar1; + longlong lVar2; + ulonglong uVar3; + int *piVar4; + uint *puVar5; + + piVar4 = (int *)(**(code **)(*(longlong *)(param_1 + -0xa8) + 0x58))(param_1 + -0xa8); + FUN_14003d040(piVar4); + if (DAT_14017614f != '\0') { + (**(code **)(*(longlong *)(param_1 + -0xa8) + 200))(param_1 + -0xa8); + } + uVar3 = (ulonglong)param_2 % (ulonglong)*(uint *)(param_1 + 0xbf8); + if ((*(longlong *)(param_1 + 0xbd8) != 0) && + (puVar5 = *(uint **)(*(longlong *)(param_1 + 0xbd8) + uVar3 * 8), puVar5 != (uint *)0x0)) { + while ((uint)uVar3 == puVar5[8] % *(uint *)(param_1 + 0xbf8)) { + if (*puVar5 == param_2) { + lVar2 = *(longlong *)(puVar5 + 2); + if ((lVar2 != 0) && (*(longlong *)(lVar2 + 0x228) == 0)) { + uVar1 = *(undefined8 *)(lVar2 + 0x1c0); + FUN_14003d0d0((longlong)piVar4); + return uVar1; + } + break; + } + puVar5 = *(uint **)(puVar5 + 4); + if (puVar5 == (uint *)0x0) break; + } + } + FUN_14003d0d0((longlong)piVar4); + return 0xbff0000000000000; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004f180.c b/decomp/AgentManager_Release_x64/full/functions/0x14004f180.c new file mode 100644 index 00000000..b3ca50b5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004f180.c @@ -0,0 +1,39 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004f180 FUN_14004f180 + * Pseudocode, not original source. */ + +undefined8 FUN_14004f180(longlong param_1,uint param_2) + +{ + undefined8 uVar1; + longlong lVar2; + ulonglong uVar3; + int *piVar4; + uint *puVar5; + + piVar4 = (int *)(**(code **)(*(longlong *)(param_1 + -0xa8) + 0x58))(param_1 + -0xa8); + FUN_14003d040(piVar4); + if (DAT_14017614f != '\0') { + (**(code **)(*(longlong *)(param_1 + -0xa8) + 200))(param_1 + -0xa8); + } + uVar3 = (ulonglong)param_2 % (ulonglong)*(uint *)(param_1 + 0xbf8); + if ((*(longlong *)(param_1 + 0xbd8) != 0) && + (puVar5 = *(uint **)(*(longlong *)(param_1 + 0xbd8) + uVar3 * 8), puVar5 != (uint *)0x0)) { + while ((uint)uVar3 == puVar5[8] % *(uint *)(param_1 + 0xbf8)) { + if (*puVar5 == param_2) { + lVar2 = *(longlong *)(puVar5 + 2); + if ((lVar2 != 0) && (*(longlong *)(lVar2 + 0x228) == 0)) { + uVar1 = *(undefined8 *)(lVar2 + 0x1c8); + FUN_14003d0d0((longlong)piVar4); + return uVar1; + } + break; + } + puVar5 = *(uint **)(puVar5 + 4); + if (puVar5 == (uint *)0x0) break; + } + } + FUN_14003d0d0((longlong)piVar4); + return 0xbff0000000000000; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004f290.c b/decomp/AgentManager_Release_x64/full/functions/0x14004f290.c new file mode 100644 index 00000000..1dd7583a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004f290.c @@ -0,0 +1,44 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004f290 FUN_14004f290 + * Pseudocode, not original source. */ + +int FUN_14004f290(longlong param_1,longlong param_2,int param_3) + +{ + int *piVar1; + longlong lVar2; + int iVar3; + longlong lVar4; + + piVar1 = (int *)(**(code **)(*(longlong *)(param_1 + -0xa8) + 0x58))(param_1 + -0xa8); + FUN_14003d040(piVar1); + if (DAT_14017614f != '\0') { + (**(code **)(*(longlong *)(param_1 + -0xa8) + 200))(param_1 + -0xa8); + } + iVar3 = 0; + if (*(longlong *)(param_1 + 0xbf0) == 0) { + lVar2 = 0; + } + else { + lVar2 = *(longlong *)(param_1 + 0xbe0); + } + lVar4 = 0; + if (0 < param_3) { + do { + if (lVar2 == 0) break; + if (lVar2 == 0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + *(undefined4 *)(param_2 + lVar4 * 4) = *(undefined4 *)(*(longlong *)(lVar2 + 8) + 0x6f8); + iVar3 = iVar3 + 1; + lVar4 = lVar4 + 1; + if (lVar2 != 0) { + lVar2 = *(longlong *)(lVar2 + 0x10); + } + } while (lVar4 < param_3); + } + FUN_14003d0d0((longlong)piVar1); + return iVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004f390.c b/decomp/AgentManager_Release_x64/full/functions/0x14004f390.c new file mode 100644 index 00000000..4cae275c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004f390.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004f390 FUN_14004f390 + * Pseudocode, not original source. */ + +ulonglong FUN_14004f390(longlong param_1,uint param_2,uint *param_3) + +{ + uint uVar1; + uint *puVar2; + int *piVar3; + undefined8 uVar4; + ulonglong uVar5; + + piVar3 = (int *)(**(code **)(*(longlong *)(param_1 + -0xa8) + 0x58))(param_1 + -0xa8); + FUN_14003d040(piVar3); + if (DAT_14017614f != '\0') { + (**(code **)(*(longlong *)(param_1 + -0xa8) + 200))(param_1 + -0xa8); + } + uVar1 = *(uint *)(param_1 + 0xbf8); + uVar5 = (ulonglong)param_2 % (ulonglong)uVar1; + if (*(longlong *)(param_1 + 0xbd8) != 0) { + puVar2 = *(uint **)(*(longlong *)(param_1 + 0xbd8) + uVar5 * 8); + while( true ) { + if ((puVar2 == (uint *)0x0) || ((uint)uVar5 != puVar2[8] % uVar1)) goto LAB_14004f46a; + if (*puVar2 == param_2) break; + puVar2 = *(uint **)(puVar2 + 4); + } + if (*(uint **)(puVar2 + 2) != (uint *)0x0) { + FUN_14008ab60(*(uint **)(puVar2 + 2),param_3,uVar5,(ulonglong)uVar1); + uVar4 = FUN_14003d0d0((longlong)piVar3); + return CONCAT71((int7)((ulonglong)uVar4 >> 8),1); + } + } +LAB_14004f46a: + uVar5 = FUN_14003d0d0((longlong)piVar3); + return uVar5 & 0xffffffffffffff00; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004f490.c b/decomp/AgentManager_Release_x64/full/functions/0x14004f490.c new file mode 100644 index 00000000..44677985 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004f490.c @@ -0,0 +1,387 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004f490 FUN_14004f490 + * Pseudocode, not original source. */ + +/* WARNING: Function: __chkstk replaced with injection: alloca_probe */ +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* WARNING: Removing unreachable block (ram,0x00014004f97b) */ +/* WARNING: Removing unreachable block (ram,0x00014004f81f) */ +/* WARNING: Removing unreachable block (ram,0x00014004fadb) */ + +void FUN_14004f490(SIZE_T *param_1,wchar_t *param_2,SIZE_T param_3,undefined *param_4) + +{ + code *pcVar1; + longlong lVar2; + int *piVar3; + longlong lVar4; + ulonglong uVar5; + undefined4 *puVar6; + longlong *plVar7; + ulonglong uVar8; + longlong lVar9; + undefined1 *puVar10; + undefined1 *puVar11; + undefined1 *puVar12; + undefined1 *puVar13; + int iVar14; + longlong lVar15; + SIZE_T SVar16; + undefined8 *puVar17; + longlong *plVar18; + double dVar19; + undefined1 auStack_a8 [32]; + int *local_88; + bool local_80; + longlong *local_78; + int *local_70; + undefined1 local_68; + SIZE_T local_60; + SIZE_T local_58; + undefined8 local_50; + ulonglong local_48; + + puVar10 = auStack_a8; + puVar13 = auStack_a8; + local_50 = 0xfffffffffffffffe; + local_48 = DAT_14016f5a0 ^ (ulonglong)&local_88; + piVar3 = (int *)(**(code **)(*param_1 + 0x58))(); + local_70 = piVar3; + FUN_14003d040(piVar3); + local_68 = 1; + if (DAT_14017614f != '\0') { + param_3 = *param_1; + param_2 = L"Proud::CNetServerImpl::TcpAndUdp_DoForLongInterval"; + (**(code **)(param_3 + 200))(param_1); + } + lVar4 = (longlong)(int)param_1[0xdc]; + puVar17 = (undefined8 *)0x0; + if (0 < (int)param_1[0xdc]) { + uVar8 = lVar4 * 8 + 0x10; + if (uVar8 < 0x401) { + uVar5 = lVar4 * 8 + 0x1f; + if (uVar5 <= uVar8) { + uVar5 = 0xffffffffffffff0; + } + lVar9 = -(uVar5 & 0xfffffffffffffff0); + puVar10 = auStack_a8 + lVar9; + puVar6 = (undefined4 *)((longlong)&local_88 + lVar9); + puVar17 = (undefined8 *)0x0; + puVar13 = auStack_a8 + lVar9; + if (puVar6 != (undefined4 *)0x0) { + *puVar6 = 0xcccc; +LAB_14004f57e: + puVar17 = (undefined8 *)(puVar6 + 4); + puVar13 = puVar10; + } + } + else { + puVar6 = malloc(uVar8); + puVar17 = (undefined8 *)0x0; + puVar13 = auStack_a8; + if (puVar6 != (undefined4 *)0x0) { + *puVar6 = 0xdddd; + goto LAB_14004f57e; + } + } + iVar14 = 0; + lVar9 = 0; + piVar3 = local_70; + if (0 < lVar4) { + do { + if ((lVar9 < 0) || ((int)param_1[0xdc] <= iVar14)) { + /* WARNING: Subroutine does not return */ + *(undefined **)(puVar13 + -8) = &UNK_14004f5cf; + FUN_14003def0(uVar8,param_2,param_3,param_4); + } + plVar18 = *(longlong **)(param_1[0xdb] + lVar9 * 8); + lVar15 = 0; + if (plVar18 != (longlong *)0x0) { + lVar15 = *plVar18; + } + uVar8 = lVar15 + 0x40; + *(undefined8 *)(puVar13 + -8) = 0x14004f5ba; + FUN_140091240(uVar8); + puVar17[lVar9] = lVar15; + iVar14 = iVar14 + 1; + lVar9 = lVar9 + 1; + piVar3 = local_70; + } while (lVar9 < lVar4); + } + } + local_58 = param_1[0x193]; + plVar18 = (longlong *)0x0; + if (0 < (int)local_58) { + lVar9 = (longlong)(int)local_58 * 8; + uVar8 = lVar9 + 0x10; + if (uVar8 < 0x401) { + uVar5 = lVar9 + 0x1f; + if (uVar5 <= uVar8) { + uVar5 = 0xffffffffffffff0; + } + *(undefined8 *)(puVar13 + -8) = 0x14004f61c; + lVar9 = -(uVar5 & 0xfffffffffffffff0); + puVar11 = puVar13 + lVar9; + puVar6 = (undefined4 *)(puVar13 + lVar9 + 0x20); + plVar18 = (longlong *)0x0; + puVar13 = puVar13 + lVar9; + if (puVar6 != (undefined4 *)0x0) { + *puVar6 = 0xcccc; + puVar13 = puVar11; +LAB_14004f646: + plVar18 = (longlong *)(puVar6 + 4); + } + } + else { + *(undefined8 *)(puVar13 + -8) = 0x14004f638; + puVar6 = malloc(uVar8); + plVar18 = (longlong *)0x0; + if (puVar6 != (undefined4 *)0x0) { + *puVar6 = 0xdddd; + goto LAB_14004f646; + } + } + plVar7 = plVar18; + if (param_1[0x193] == 0) { + SVar16 = 0; + } + else { + SVar16 = param_1[0x191]; + } + for (; piVar3 = local_70, SVar16 != 0; SVar16 = *(SIZE_T *)(SVar16 + 0x10)) { + lVar9 = *(longlong *)(SVar16 + 8); + *(undefined8 *)(puVar13 + -8) = 0x14004f677; + FUN_140091240(lVar9 + 0xc0); + *plVar7 = lVar9; + plVar7 = plVar7 + 1; + } + } + local_60 = param_1[0x2e1]; + local_78 = (longlong *)0x0; + if ((int)local_60 < 1) goto LAB_14004f746; + lVar9 = (longlong)(int)local_60 * 8; + uVar8 = lVar9 + 0x10; + if (uVar8 < 0x401) { + uVar5 = lVar9 + 0x1f; + if (uVar5 <= uVar8) { + uVar5 = 0xffffffffffffff0; + } + *(undefined8 *)(puVar13 + -8) = 0x14004f6d1; + lVar9 = -(uVar5 & 0xfffffffffffffff0); + puVar12 = puVar13 + lVar9; + plVar7 = (longlong *)(puVar13 + lVar9 + 0x20); + puVar13 = puVar13 + lVar9; + local_78 = plVar7; + if (plVar7 != (longlong *)0x0) { + *(undefined4 *)plVar7 = 0xcccc; + puVar13 = puVar12; +LAB_14004f6ff: + local_78 = plVar7 + 2; + } + } + else { + *(undefined8 *)(puVar13 + -8) = 0x14004f6f0; + plVar7 = malloc(uVar8); + local_78 = plVar7; + if (plVar7 != (longlong *)0x0) { + *(undefined4 *)plVar7 = 0xdddd; + goto LAB_14004f6ff; + } + } + plVar7 = local_78; + if (param_1[0x2e1] == 0) { + SVar16 = 0; + } + else { + SVar16 = param_1[0x2df]; + } + for (; piVar3 = local_70, SVar16 != 0; SVar16 = *(SIZE_T *)(SVar16 + 0x18)) { + lVar9 = *(longlong *)(SVar16 + 0x10); + *(undefined8 *)(puVar13 + -8) = 0x14004f735; + FUN_140091240(lVar9 + 0xc0); + *plVar7 = lVar9; + plVar7 = plVar7 + 1; + } +LAB_14004f746: + pcVar1 = *(code **)(param_1[0x23] + 8); + *(undefined8 *)(puVar13 + -8) = 0x14004f753; + dVar19 = (double)(*pcVar1)(); + *(undefined8 *)(puVar13 + -8) = 0x14004f75f; + FUN_14003d0d0((longlong)piVar3); + local_68 = 0; + if (puVar17 != (undefined8 *)0x0) { + while ((0 < lVar4 && (lVar9 = 0, 0 < lVar4))) { + do { + lVar15 = puVar17[lVar9]; + pcVar1 = *(code **)(*(longlong *)(lVar15 + 0x88) + 0x10); + *(undefined8 *)(puVar13 + -8) = 0x14004f791; + piVar3 = (int *)(*pcVar1)(); + local_80 = false; + local_88 = piVar3; + if (lVar9 == 0) { + local_80 = true; + *(undefined8 *)(puVar13 + -8) = 0x14004f7eb; + FUN_14003d040(piVar3); + *(undefined8 *)(puVar13 + -8) = 0x14004f7f7; + FUN_1400915d0(lVar15,param_2,param_3,param_4); + *(undefined8 *)(puVar13 + -8) = 0x14004f7ff; + FUN_14003d0d0((longlong)piVar3); + local_80 = false; + *(undefined8 *)(puVar13 + -8) = 0x14004f80f; + FUN_140091250(lVar15 + 0x40); + *puVar17 = puVar17[lVar4 + -1]; +LAB_14004f817: + lVar4 = lVar4 + -1; + } + else { + *(undefined8 *)(puVar13 + -8) = 0x14004f7a9; + local_80 = FUN_14003d090(piVar3); + if (local_80) { + *(undefined8 *)(puVar13 + -8) = 0x14004f7bf; + FUN_1400915d0(lVar15,param_2,param_3,param_4); + *(undefined8 *)(puVar13 + -8) = 0x14004f7c7; + FUN_14003d0d0((longlong)piVar3); + local_80 = false; + *(undefined8 *)(puVar13 + -8) = 0x14004f7d7; + FUN_140091250(lVar15 + 0x40); + puVar17[lVar9] = puVar17[lVar4 + -1]; + goto LAB_14004f817; + } + } + lVar9 = lVar9 + 1; + } while (lVar9 < lVar4); + } + if (*(int *)(puVar17 + -2) == 0xdddd) { + *(undefined8 *)(puVar13 + -8) = 0x14004f852; + free(puVar17 + -2); + } + } + if (plVar18 != (longlong *)0x0) { + lVar4 = (longlong)(int)local_58; + while ((0 < lVar4 && (lVar9 = 0, 0 < lVar4))) { + do { + lVar15 = plVar18[lVar9]; + pcVar1 = *(code **)(*(longlong *)(lVar15 + 0x108) + 0x10); + *(undefined8 *)(puVar13 + -8) = 0x14004f892; + piVar3 = (int *)(*pcVar1)(); + local_80 = false; + local_88 = piVar3; + if (lVar9 == 0) { + local_80 = true; + *(undefined8 *)(puVar13 + -8) = 0x14004f91c; + FUN_14003d040(piVar3); + lVar2 = *(longlong *)(lVar15 + 0x748); + *(undefined8 *)(puVar13 + -8) = 0x14004f92d; + FUN_140090cc0(lVar2,dVar19); + if ((*(longlong **)(lVar15 + 0x760) != (longlong *)0x0) && + (lVar2 = **(longlong **)(lVar15 + 0x760), lVar2 != 0)) { + lVar2 = *(longlong *)(lVar2 + 0x168); + *(undefined8 *)(puVar13 + -8) = 0x14004f952; + FUN_14008e5f0(lVar2,dVar19,param_3,param_4); + } + *(undefined8 *)(puVar13 + -8) = 0x14004f95a; + FUN_14003d0d0((longlong)piVar3); + local_80 = false; + *(undefined8 *)(puVar13 + -8) = 0x14004f96c; + FUN_140091250(lVar15 + 0xc0); + *plVar18 = plVar18[lVar4 + -1]; +LAB_14004f974: + lVar4 = lVar4 + -1; + } + else { + *(undefined8 *)(puVar13 + -8) = 0x14004f8aa; + local_80 = FUN_14003d090(piVar3); + if (local_80) { + lVar2 = *(longlong *)(lVar15 + 0x748); + *(undefined8 *)(puVar13 + -8) = 0x14004f8c9; + FUN_140090cc0(lVar2,dVar19); + if ((*(longlong **)(lVar15 + 0x760) != (longlong *)0x0) && + (lVar2 = **(longlong **)(lVar15 + 0x760), lVar2 != 0)) { + lVar2 = *(longlong *)(lVar2 + 0x168); + *(undefined8 *)(puVar13 + -8) = 0x14004f8ee; + FUN_14008e5f0(lVar2,dVar19,param_3,param_4); + } + *(undefined8 *)(puVar13 + -8) = 0x14004f8f6; + FUN_14003d0d0((longlong)piVar3); + local_80 = false; + *(undefined8 *)(puVar13 + -8) = 0x14004f908; + FUN_140091250(lVar15 + 0xc0); + plVar18[lVar9] = plVar18[lVar4 + -1]; + goto LAB_14004f974; + } + } + lVar9 = lVar9 + 1; + } while (lVar9 < lVar4); + } + if ((int)plVar18[-2] == 0xdddd) { + *(undefined8 *)(puVar13 + -8) = 0x14004f9ae; + free(plVar18 + -2); + } + } + plVar18 = local_78; + if (local_78 != (longlong *)0x0) { + lVar4 = (longlong)(int)local_60; + while ((0 < lVar4 && (lVar9 = 0, 0 < lVar4))) { + do { + lVar15 = plVar18[lVar9]; + pcVar1 = *(code **)(*(longlong *)(lVar15 + 0x108) + 0x10); + *(undefined8 *)(puVar13 + -8) = 0x14004f9f2; + piVar3 = (int *)(*pcVar1)(); + local_80 = false; + local_88 = piVar3; + if (lVar9 == 0) { + local_80 = true; + *(undefined8 *)(puVar13 + -8) = 0x14004fa7c; + FUN_14003d040(piVar3); + lVar2 = *(longlong *)(lVar15 + 0x748); + *(undefined8 *)(puVar13 + -8) = 0x14004fa8d; + FUN_140090cc0(lVar2,dVar19); + if ((*(longlong **)(lVar15 + 0x760) != (longlong *)0x0) && + (lVar2 = **(longlong **)(lVar15 + 0x760), lVar2 != 0)) { + lVar2 = *(longlong *)(lVar2 + 0x168); + *(undefined8 *)(puVar13 + -8) = 0x14004fab2; + FUN_14008e5f0(lVar2,dVar19,param_3,param_4); + } + *(undefined8 *)(puVar13 + -8) = 0x14004faba; + FUN_14003d0d0((longlong)piVar3); + local_80 = false; + *(undefined8 *)(puVar13 + -8) = 0x14004facc; + FUN_140091250(lVar15 + 0xc0); + *plVar18 = plVar18[lVar4 + -1]; +LAB_14004fad4: + lVar4 = lVar4 + -1; + } + else { + *(undefined8 *)(puVar13 + -8) = 0x14004fa0a; + local_80 = FUN_14003d090(piVar3); + if (local_80) { + lVar2 = *(longlong *)(lVar15 + 0x748); + *(undefined8 *)(puVar13 + -8) = 0x14004fa29; + FUN_140090cc0(lVar2,dVar19); + if ((*(longlong **)(lVar15 + 0x760) != (longlong *)0x0) && + (lVar2 = **(longlong **)(lVar15 + 0x760), lVar2 != 0)) { + lVar2 = *(longlong *)(lVar2 + 0x168); + *(undefined8 *)(puVar13 + -8) = 0x14004fa4e; + FUN_14008e5f0(lVar2,dVar19,param_3,param_4); + } + *(undefined8 *)(puVar13 + -8) = 0x14004fa56; + FUN_14003d0d0((longlong)piVar3); + local_80 = false; + *(undefined8 *)(puVar13 + -8) = 0x14004fa68; + FUN_140091250(lVar15 + 0xc0); + plVar18[lVar9] = plVar18[lVar4 + -1]; + goto LAB_14004fad4; + } + } + lVar9 = lVar9 + 1; + } while (lVar9 < lVar4); + } + if ((int)plVar18[-2] == 0xdddd) { + *(undefined8 *)(puVar13 + -8) = 0x14004fb0e; + free(plVar18 + -2); + } + } + *(undefined8 *)(puVar13 + -8) = 0x14004fb1b; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004fb50.c b/decomp/AgentManager_Release_x64/full/functions/0x14004fb50.c new file mode 100644 index 00000000..60c5b261 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004fb50.c @@ -0,0 +1,198 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004fb50 FUN_14004fb50 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* WARNING: Removing unreachable block (ram,0x00014004fcf2) */ +/* WARNING: Removing unreachable block (ram,0x00014004fcf9) */ +/* WARNING: Removing unreachable block (ram,0x00014004fd05) */ +/* WARNING: Removing unreachable block (ram,0x00014004fd12) */ +/* WARNING: Removing unreachable block (ram,0x00014004fd0a) */ +/* WARNING: Removing unreachable block (ram,0x00014004fd19) */ +/* WARNING: Removing unreachable block (ram,0x00014004fd2a) */ + +undefined1 +FUN_14004fb50(longlong *param_1,longlong *param_2,LPVOID param_3,longlong param_4,int param_5, + undefined4 *param_6,undefined4 param_7,longlong *param_8) + +{ + undefined *puVar1; + undefined1 uVar2; + int *piVar3; + int *piVar4; + LPVOID pvVar5; + undefined **ppuVar6; + int *piVar7; + LPVOID pvVar8; + longlong *plVar9; + longlong *plVar10; + longlong lVar11; + undefined *puVar12; + longlong lVar13; + uint uVar14; + longlong lVar16; + longlong lVar17; + undefined1 auStack_178 [32]; + longlong *local_158; + int *local_150; + undefined1 local_148; + longlong *local_140; + longlong *local_138; + undefined8 local_130; + int *local_128; + undefined1 local_120; + undefined *local_118; + longlong local_110; + undefined4 local_108; + undefined **local_100; + longlong *local_f8; + LPVOID local_f0; + int local_e8; + undefined4 local_d4; + undefined4 local_d0; + undefined4 local_cc; + undefined4 local_c8; + undefined4 local_c4; + undefined **local_90; + longlong *local_88; + LPVOID local_80; + ulonglong local_58; + LPVOID pvVar15; + + local_130 = 0xfffffffffffffffe; + local_58 = DAT_14016f5a0 ^ (ulonglong)auStack_178; + local_158 = param_8; + ppuVar6 = &local_118; + plVar10 = param_2; + pvVar8 = param_3; + lVar17 = param_4; + local_140 = param_1; + local_138 = param_2; + FUN_140049c40(ppuVar6,param_2,param_3,param_4); + if (local_118 == (undefined *)0x0) { + local_118 = PTR_DAT_14016f010; + } + if ((undefined *)*param_2 != local_118) { + piVar3 = (int *)FUN_14003e7c0(ppuVar6,plVar10,pvVar8,lVar17); + piVar7 = piVar3; + local_128 = piVar3; + FUN_14003d040(piVar3); + puVar1 = local_118; + local_120 = 1; + if (((local_118 != (undefined *)0x0) && (local_118 != PTR_DAT_14016f010)) && + (puVar12 = local_118 + -8, puVar12 != (undefined *)0x0)) { + piVar4 = (int *)FUN_14003e7c0(piVar7,plVar10,pvVar8,lVar17); + local_150 = piVar4; + FUN_14003d040(piVar4); + local_148 = 1; + piVar7 = (int *)(puVar1 + -4); + *piVar7 = *piVar7 + -1; + if (*piVar7 == 0) { + FUN_14003e8b0(puVar12); + } + FUN_14003d0d0((longlong)piVar4); + } + local_118 = (undefined *)*param_2; + if (((local_118 != PTR_DAT_14016f010) && (local_118 != (undefined *)0x0)) && + (local_118 != (undefined *)0x8)) { + *(int *)(local_118 + -4) = *(int *)(local_118 + -4) + 1; + } + FUN_14003d0d0((longlong)piVar3); + } + local_108 = SUB84(param_3,0); + if (param_4 == 0) { + pvVar15 = (LPVOID)0x0; + if (0 < param_5) { + do { + lVar16 = (longlong)local_e8; + if (local_e8 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + FUN_140038010((longlong)&local_100,local_e8 + 1,pvVar8,lVar17); + pvVar5 = local_f0; + if (local_e8 == 0) { + pvVar5 = (LPVOID)0x0; + } + *(undefined4 *)((longlong)pvVar5 + lVar16 * 4) = 0; + uVar14 = (int)pvVar15 + 1; + pvVar15 = (LPVOID)(ulonglong)uVar14; + } while ((int)uVar14 < param_5); + } + } + else { + lVar16 = (longlong)param_5; + if (param_5 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (param_5 != 0) { + lVar13 = (longlong)local_e8; + FUN_140038010((longlong)&local_100,local_e8 + param_5,pvVar8,lVar17); + if (0 < param_5) { + lVar11 = lVar13 * 4; + do { + pvVar8 = local_f0; + if (local_e8 == 0) { + pvVar8 = (LPVOID)0x0; + } + *(undefined4 *)(lVar11 + (longlong)pvVar8) = + *(undefined4 *)(param_4 + lVar13 * -4 + lVar11); + lVar11 = lVar11 + 4; + lVar16 = lVar16 + -1; + } while (lVar16 != 0); + } + } + } + local_d4 = *param_6; + local_d0 = param_6[1]; + local_cc = param_6[2]; + local_c8 = param_6[3]; + local_c4 = param_7; + plVar10 = local_158; + uVar2 = (**(code **)(*local_140 + 0x138))(local_140,&local_118); + local_90 = Proud::CFastArray::vftable; + pvVar8 = local_80; + if (local_80 != (LPVOID)0x0) { + if (local_88 == (longlong *)0x0) { + FUN_14003e8b0(local_80); + pvVar8 = local_80; + } + else { + (**(code **)(*local_88 + 0x18))(); + pvVar8 = local_80; + } + } + local_100 = Proud::CFastArray::vftable; + if (local_f0 != (LPVOID)0x0) { + if (local_f8 == (longlong *)0x0) { + FUN_14003e8b0(local_f0); + plVar10 = local_f8; + } + else { + (**(code **)(*local_f8 + 0x18))(local_f8); + pvVar8 = local_f0; + plVar10 = local_f8; + } + } + plVar9 = &local_110; + FUN_140002190(plVar9,pvVar8,plVar10,lVar17); + puVar1 = local_118; + if (((local_118 != (undefined *)0x0) && (local_118 != PTR_DAT_14016f010)) && + (puVar12 = local_118 + -8, puVar12 != (undefined *)0x0)) { + piVar3 = (int *)FUN_14003e7c0(plVar9,pvVar8,plVar10,lVar17); + local_150 = piVar3; + FUN_14003d040(piVar3); + local_148 = 1; + piVar7 = (int *)(puVar1 + -4); + *piVar7 = *piVar7 + -1; + if (*piVar7 == 0) { + FUN_14003e8b0(puVar12); + } + FUN_14003d0d0((longlong)piVar3); + } + local_118 = PTR_DAT_14016f010; + FUN_140002190(param_2,pvVar8,plVar10,lVar17); + return uVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004fe80.c b/decomp/AgentManager_Release_x64/full/functions/0x14004fe80.c new file mode 100644 index 00000000..63b565be --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004fe80.c @@ -0,0 +1,37 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004fe80 FUN_14004fe80 + * Pseudocode, not original source. */ + +void FUN_14004fe80(longlong param_1,LPCWSTR param_2,undefined8 param_3,undefined8 param_4) + +{ + int *piVar1; + undefined8 *puVar2; + undefined4 *puVar3; + + piVar1 = (int *)(**(code **)(*(longlong *)(param_1 + -0xa8) + 0x58))(param_1 + -0xa8); + FUN_14003d040(piVar1); + if (DAT_14017614f != '\0') { + (**(code **)(*(longlong *)(param_1 + -0xa8) + 200)) + (param_1 + -0xa8,L"Proud::CNetServerImpl::EnableLog"); + } + if (*(longlong *)(param_1 + 0x1748) == 0) { + puVar2 = FUN_1400854c0(param_2); + *(undefined8 **)(param_1 + 0x1748) = puVar2; + if (*(longlong *)(param_1 + 0xbf0) == 0) { + puVar3 = (undefined4 *)0x0; + } + else { + puVar3 = *(undefined4 **)(param_1 + 0xbe0); + } + for (; puVar3 != (undefined4 *)0x0; puVar3 = *(undefined4 **)(puVar3 + 4)) { + if (*(longlong *)(*(longlong *)(puVar3 + 2) + 0x228) == 0) { + (**(code **)(*(longlong *)(param_1 + 0x400) + 0xb0)) + ((longlong *)(param_1 + 0x400),*puVar3,&DAT_140177f90); + } + } + } + FUN_14003d0d0((longlong)piVar1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14004ff70.c b/decomp/AgentManager_Release_x64/full/functions/0x14004ff70.c new file mode 100644 index 00000000..cafed0a9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14004ff70.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14004ff70 FUN_14004ff70 + * Pseudocode, not original source. */ + +void FUN_14004ff70(longlong param_1,wchar_t *param_2,longlong param_3,undefined8 param_4) + +{ + undefined8 *puVar1; + int *piVar2; + undefined4 *puVar3; + + piVar2 = (int *)(**(code **)(*(longlong *)(param_1 + -0xa8) + 0x58))(param_1 + -0xa8); + FUN_14003d040(piVar2); + if (DAT_14017614f != '\0') { + param_3 = *(longlong *)(param_1 + -0xa8); + param_2 = L"Proud::CNetServerImpl::DisableLog"; + (**(code **)(param_3 + 200))(param_1 + -0xa8); + } + puVar1 = *(undefined8 **)(param_1 + 0x1748); + if (puVar1 != (undefined8 *)0x0) { + FUN_140085370(puVar1,(longlong *)param_2,param_3,param_4); + operator_delete(puVar1); + } + puVar3 = (undefined4 *)0x0; + *(undefined8 *)(param_1 + 0x1748) = 0; + if (*(longlong *)(param_1 + 0xbf0) != 0) { + puVar3 = *(undefined4 **)(param_1 + 0xbe0); + } + for (; puVar3 != (undefined4 *)0x0; puVar3 = *(undefined4 **)(puVar3 + 4)) { + if (*(longlong *)(*(longlong *)(puVar3 + 2) + 0x228) == 0) { + (**(code **)(*(longlong *)(param_1 + 0x400) + 0xc0)) + ((longlong *)(param_1 + 0x400),*puVar3,&DAT_140177f90); + } + } + FUN_14003d0d0((longlong)piVar2); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140050060.c b/decomp/AgentManager_Release_x64/full/functions/0x140050060.c new file mode 100644 index 00000000..2f684a54 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140050060.c @@ -0,0 +1,80 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140050060 FUN_140050060 + * Pseudocode, not original source. */ + +void FUN_140050060(longlong param_1,undefined8 *param_2) + +{ + int *piVar1; + longlong lVar2; + longlong lVar3; + longlong lVar4; + undefined8 local_60; + undefined8 local_58; + undefined8 local_50; + undefined8 local_48; + undefined8 local_40; + undefined8 local_38; + undefined8 local_30; + undefined8 local_28; + undefined8 local_20; + undefined8 local_18; + undefined4 local_10; + + piVar1 = (int *)(**(code **)(*(longlong *)(param_1 + -0xa8) + 0x58))(param_1 + -0xa8); + FUN_14003d040(piVar1); + if (DAT_14017614f != '\0') { + (**(code **)(*(longlong *)(param_1 + -0xa8) + 200)) + (param_1 + -0xa8,L"Proud::CNetServerImpl::GetStats"); + } + lVar4 = 0; + local_20 = 0; + local_58 = 0; + local_60 = 0; + local_48 = 0; + local_50 = 0; + local_28 = 0; + local_30 = 0; + local_38 = 0; + local_40 = 0; + local_18 = 0; + local_10 = 0; + memcpy(param_2,&local_60,0x58); + *param_2 = *(undefined8 *)(param_1 + 0x458); + param_2[1] = *(undefined8 *)(param_1 + 0x498); + param_2[2] = *(undefined8 *)(param_1 + 0x4d8); + param_2[3] = *(undefined8 *)(param_1 + 0x518); + param_2[6] = *(undefined8 *)(param_1 + 0x558); + param_2[7] = *(undefined8 *)(param_1 + 0x598); + param_2[4] = *(undefined8 *)(param_1 + 0x618); + param_2[5] = *(undefined8 *)(param_1 + 0x5d8); + *(int *)(param_2 + 9) = (int)*(undefined8 *)(param_1 + 0xbf0); + *(undefined4 *)((longlong)param_2 + 0x4c) = 0; + *(undefined4 *)(param_2 + 10) = *(undefined4 *)(param_1 + 0x638); + lVar2 = lVar4; + if (*(longlong *)(param_1 + 0xbf0) != 0) { + lVar2 = *(longlong *)(param_1 + 0xbe0); + } + for (; lVar2 != 0; lVar2 = *(longlong *)(lVar2 + 0x10)) { + if (*(char *)(*(longlong *)(lVar2 + 8) + 0x700) != '\0') { + *(int *)((longlong)param_2 + 0x4c) = *(int *)((longlong)param_2 + 0x4c) + 1; + } + } + lVar2 = lVar4; + if (*(longlong *)(param_1 + 0x250) != 0) { + lVar2 = *(longlong *)(param_1 + 0x240); + } + for (; lVar2 != 0; lVar2 = *(longlong *)(lVar2 + 0x10)) { + lVar3 = lVar4; + if (*(longlong **)(lVar2 + 8) != (longlong *)0x0) { + lVar3 = **(longlong **)(lVar2 + 8); + } + if ((*(char *)(lVar3 + 0x110) != '\0') && + (*(int *)(param_2 + 8) = *(int *)(param_2 + 8) + 1, *(char *)(lVar3 + 8) == '\0')) { + *(int *)((longlong)param_2 + 0x44) = *(int *)((longlong)param_2 + 0x44) + 1; + } + } + FUN_14003d0d0((longlong)piVar1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140050220.c b/decomp/AgentManager_Release_x64/full/functions/0x140050220.c new file mode 100644 index 00000000..b58e7174 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140050220.c @@ -0,0 +1,79 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140050220 FUN_140050220 + * Pseudocode, not original source. */ + +void FUN_140050220(longlong param_1,longlong *param_2,undefined8 *param_3,undefined8 param_4) + +{ + uint uVar1; + int *piVar2; + longlong lVar3; + longlong *plVar4; + longlong lVar5; + ulonglong uVar6; + int iVar7; + longlong lVar8; + undefined8 local_60 [2]; + exception local_50 [72]; + + piVar2 = (int *)(**(code **)(*(longlong *)(param_1 + -0xa8) + 0x58))(param_1 + -0xa8); + FUN_14003d040(piVar2); + if (DAT_14017614f != '\0') { + param_3 = *(undefined8 **)(param_1 + -0xa8); + (*(code *)param_3[0x19])(param_1 + -0xa8); + } + if (*(int *)(param_1 + 0x179c) != 1) { + FUN_14003db10(local_50, + L"Cannot call GetUdpListenerLocalAddrs unless ServerUdpAssignMode_Static is used!" + ,param_3,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_50,(ThrowInfo *)&DAT_14016c210); + } + uVar6 = 0; + plVar4 = param_2; + FUN_14004c2a0((longlong)param_2,0); + iVar7 = 0; + lVar8 = 0; + if (0 < *(int *)(param_1 + 0x638)) { + do { + if (lVar8 < 0) { +LAB_14005036f: + /* WARNING: Subroutine does not return */ + FUN_14003def0(plVar4,uVar6,param_3,param_4); + } + uVar1 = *(uint *)(param_1 + 0x638); + uVar6 = (ulonglong)uVar1; + if ((int)uVar1 <= iVar7) goto LAB_14005036f; + param_3 = *(undefined8 **)(param_1 + 0x630); + lVar3 = 0; + if ((longlong *)param_3[lVar8] != (longlong *)0x0) { + lVar3 = *(longlong *)param_3[lVar8]; + } + plVar4 = *(longlong **)(lVar3 + 0x150); + if ((plVar4 != (longlong *)0x0) && (*plVar4 != 0)) { + if ((int)uVar1 <= iVar7) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(plVar4,uVar6,param_3,param_4); + } + lVar3 = 0; + if ((longlong *)param_3[lVar8] != (longlong *)0x0) { + lVar3 = *(longlong *)param_3[lVar8]; + } + lVar5 = 0; + if (*(longlong **)(lVar3 + 0x150) != (longlong *)0x0) { + lVar5 = **(longlong **)(lVar3 + 0x150); + } + param_3 = FUN_140042ff0(lVar5,local_60); + param_4 = 1; + uVar6 = (ulonglong)*(uint *)(param_2 + 3); + plVar4 = param_2; + FUN_14004c980((longlong)param_2,*(uint *)(param_2 + 3),(longlong)param_3,1); + } + iVar7 = iVar7 + 1; + lVar8 = lVar8 + 1; + } while (iVar7 < *(int *)(param_1 + 0x638)); + } + FUN_14003d0d0((longlong)piVar2); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400503a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400503a0.c new file mode 100644 index 00000000..14ceb7da --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400503a0.c @@ -0,0 +1,105 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400503a0 FUN_1400503a0 + * Pseudocode, not original source. */ + +void FUN_1400503a0(longlong param_1,longlong *param_2,longlong *param_3) + +{ + uint uVar1; + longlong *plVar2; + ulonglong uVar3; + longlong lVar4; + uint *puVar5; + undefined **ppuVar6; + undefined4 *puVar7; + longlong lVar8; + longlong lVar9; + + FUN_14004bd20(param_2,param_3[1],-1); + lVar4 = param_3[1]; + lVar9 = 0; + if (0 < lVar4) { + lVar8 = 0; + do { + if ((lVar9 < 0) || (lVar4 <= lVar9)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if ((ulonglong)param_3[2] < 0x65) { + puVar7 = (undefined4 *)((longlong)param_3 + lVar9 * 4 + 0x20); + } + else { + puVar7 = (undefined4 *)(*param_3 + lVar9 * 4); + } + if (param_2[1] <= lVar9) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if ((ulonglong)param_2[2] < 0x65) { + plVar2 = param_2 + 4; + } + else { + plVar2 = (longlong *)*param_2; + } + *(undefined4 *)((longlong)plVar2 + lVar8) = *puVar7; + if (param_3[1] <= lVar9) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if ((ulonglong)param_3[2] < 0x65) { + puVar5 = (uint *)((longlong)param_3 + lVar9 * 4 + 0x20); + } + else { + puVar5 = (uint *)(*param_3 + lVar9 * 4); + } + uVar1 = *puVar5; + if (uVar1 == 1) { + if (param_1 == 0) { +LAB_1400504d0: + ppuVar6 = (undefined **)0x0; + } + else { + ppuVar6 = (undefined **)(param_1 + 0x70); + } + } + else { + if (uVar1 != 0) { + uVar3 = (ulonglong)uVar1 % (ulonglong)*(uint *)(param_1 + 0xca0); + if ((*(longlong *)(param_1 + 0xc80) != 0) && + (puVar5 = *(uint **)(*(longlong *)(param_1 + 0xc80) + uVar3 * 8), puVar5 != (uint *)0x0 + )) { + while ((uint)uVar3 == puVar5[8] % *(uint *)(param_1 + 0xca0)) { + if (*puVar5 == uVar1) { + ppuVar6 = *(undefined ***)(puVar5 + 2); + if ((ppuVar6 != (undefined **)0x0) && (ppuVar6[0x45] == (undefined *)0x0)) + goto LAB_1400504d2; + break; + } + puVar5 = *(uint **)(puVar5 + 4); + if (puVar5 == (uint *)0x0) break; + } + } + goto LAB_1400504d0; + } + ppuVar6 = &PTR_vftable_140170640; + } +LAB_1400504d2: + if (param_2[1] <= lVar9) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if ((ulonglong)param_2[2] < 0x65) { + plVar2 = param_2 + 4; + } + else { + plVar2 = (longlong *)*param_2; + } + *(undefined ***)((longlong)plVar2 + lVar8 + 8) = ppuVar6; + lVar4 = param_3[1]; + lVar9 = lVar9 + 1; + lVar8 = lVar8 + 0x20; + } while (lVar9 < lVar4); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140050540.c b/decomp/AgentManager_Release_x64/full/functions/0x140050540.c new file mode 100644 index 00000000..fbe186c1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140050540.c @@ -0,0 +1,46 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140050540 FUN_140050540 + * Pseudocode, not original source. */ + +bool FUN_140050540(longlong *param_1,uint param_2,undefined2 *param_3) + +{ + longlong lVar1; + ulonglong uVar2; + int *piVar3; + uint *puVar4; + + piVar3 = (int *)(**(code **)(*param_1 + 0x58))(); + FUN_14003d040(piVar3); + if (DAT_14017614f != '\0') { + (**(code **)(*param_1 + 200))(param_1); + } + uVar2 = (ulonglong)param_2 % (ulonglong)*(uint *)(param_1 + 0x194); + if ((param_1[400] != 0) && (puVar4 = *(uint **)(param_1[400] + uVar2 * 8), puVar4 != (uint *)0x0)) + { + while ((uint)uVar2 == puVar4[8] % *(uint *)(param_1 + 0x194)) { + if (*puVar4 == param_2) { + lVar1 = *(longlong *)(puVar4 + 2); + if ((lVar1 != 0) && (*(longlong *)(lVar1 + 0x228) == 0)) { + *param_3 = *(undefined2 *)(lVar1 + 0x68a); + *(short *)(lVar1 + 0x68a) = *(short *)(lVar1 + 0x68a) + 1; + FUN_14003d0d0((longlong)piVar3); + return true; + } + break; + } + puVar4 = *(uint **)(puVar4 + 4); + if (puVar4 == (uint *)0x0) break; + } + } + if (param_2 != 1) { + FUN_14003d0d0((longlong)piVar3); + } + else { + *param_3 = (short)param_1[0x188]; + *(short *)(param_1 + 0x188) = (short)param_1[0x188] + 1; + FUN_14003d0d0((longlong)piVar3); + } + return param_2 == 1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140050660.c b/decomp/AgentManager_Release_x64/full/functions/0x140050660.c new file mode 100644 index 00000000..c30db00a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140050660.c @@ -0,0 +1,41 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140050660 FUN_140050660 + * Pseudocode, not original source. */ + +void FUN_140050660(longlong *param_1,uint param_2) + +{ + longlong lVar1; + ulonglong uVar2; + int *piVar3; + uint *puVar4; + + piVar3 = (int *)(**(code **)(*param_1 + 0x58))(); + FUN_14003d040(piVar3); + if (DAT_14017614f != '\0') { + (**(code **)(*param_1 + 200))(param_1); + } + uVar2 = (ulonglong)param_2 % (ulonglong)*(uint *)(param_1 + 0x194); + if ((param_1[400] != 0) && (puVar4 = *(uint **)(param_1[400] + uVar2 * 8), puVar4 != (uint *)0x0)) + { + while ((uint)uVar2 == puVar4[8] % *(uint *)(param_1 + 0x194)) { + if (*puVar4 == param_2) { + lVar1 = *(longlong *)(puVar4 + 2); + if ((lVar1 != 0) && (*(longlong *)(lVar1 + 0x228) == 0)) { + *(short *)(lVar1 + 0x68a) = *(short *)(lVar1 + 0x68a) + -1; + goto LAB_14005072e; + } + break; + } + puVar4 = *(uint **)(puVar4 + 4); + if (puVar4 == (uint *)0x0) break; + } + } + if (param_2 == 1) { + *(short *)(param_1 + 0x188) = (short)param_1[0x188] + -1; + } +LAB_14005072e: + FUN_14003d0d0((longlong)piVar3); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140050750.c b/decomp/AgentManager_Release_x64/full/functions/0x140050750.c new file mode 100644 index 00000000..b0686029 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140050750.c @@ -0,0 +1,44 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140050750 FUN_140050750 + * Pseudocode, not original source. */ + +bool FUN_140050750(longlong *param_1,uint param_2,undefined2 *param_3) + +{ + longlong lVar1; + ulonglong uVar2; + int *piVar3; + uint *puVar4; + + piVar3 = (int *)(**(code **)(*param_1 + 0x58))(); + FUN_14003d040(piVar3); + if (DAT_14017614f != '\0') { + (**(code **)(*param_1 + 200))(param_1); + } + uVar2 = (ulonglong)param_2 % (ulonglong)*(uint *)(param_1 + 0x194); + if ((param_1[400] != 0) && (puVar4 = *(uint **)(param_1[400] + uVar2 * 8), puVar4 != (uint *)0x0)) + { + while ((uint)uVar2 == puVar4[8] % *(uint *)(param_1 + 0x194)) { + if (*puVar4 == param_2) { + lVar1 = *(longlong *)(puVar4 + 2); + if ((lVar1 != 0) && (*(longlong *)(lVar1 + 0x228) == 0)) { + *param_3 = *(undefined2 *)(lVar1 + 0x68c); + FUN_14003d0d0((longlong)piVar3); + return true; + } + break; + } + puVar4 = *(uint **)(puVar4 + 4); + if (puVar4 == (uint *)0x0) break; + } + } + if (param_2 != 1) { + FUN_14003d0d0((longlong)piVar3); + } + else { + *param_3 = *(undefined2 *)((longlong)param_1 + 0xc42); + FUN_14003d0d0((longlong)piVar3); + } + return param_2 == 1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140050870.c b/decomp/AgentManager_Release_x64/full/functions/0x140050870.c new file mode 100644 index 00000000..56ea5de6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140050870.c @@ -0,0 +1,44 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140050870 FUN_140050870 + * Pseudocode, not original source. */ + +bool FUN_140050870(longlong *param_1,uint param_2) + +{ + longlong lVar1; + ulonglong uVar2; + int *piVar3; + uint *puVar4; + + piVar3 = (int *)(**(code **)(*param_1 + 0x58))(); + FUN_14003d040(piVar3); + if (DAT_14017614f != '\0') { + (**(code **)(*param_1 + 200))(param_1); + } + uVar2 = (ulonglong)param_2 % (ulonglong)*(uint *)(param_1 + 0x194); + if ((param_1[400] != 0) && (puVar4 = *(uint **)(param_1[400] + uVar2 * 8), puVar4 != (uint *)0x0)) + { + while ((uint)uVar2 == puVar4[8] % *(uint *)(param_1 + 0x194)) { + if (*puVar4 == param_2) { + lVar1 = *(longlong *)(puVar4 + 2); + if ((lVar1 != 0) && (*(longlong *)(lVar1 + 0x228) == 0)) { + *(short *)(lVar1 + 0x68c) = *(short *)(lVar1 + 0x68c) + 1; + FUN_14003d0d0((longlong)piVar3); + return true; + } + break; + } + puVar4 = *(uint **)(puVar4 + 4); + if (puVar4 == (uint *)0x0) break; + } + } + if (param_2 != 1) { + FUN_14003d0d0((longlong)piVar3); + } + else { + *(short *)((longlong)param_1 + 0xc42) = *(short *)((longlong)param_1 + 0xc42) + 1; + FUN_14003d0d0((longlong)piVar3); + } + return param_2 == 1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140050970.c b/decomp/AgentManager_Release_x64/full/functions/0x140050970.c new file mode 100644 index 00000000..1d78961a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140050970.c @@ -0,0 +1,37 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140050970 FUN_140050970 + * Pseudocode, not original source. */ + +ulonglong FUN_140050970(longlong param_1,uint param_2) + +{ + int *piVar1; + undefined8 uVar2; + ulonglong uVar3; + uint *puVar4; + + piVar1 = (int *)(**(code **)(*(longlong *)(param_1 + -0xa8) + 0x58))(param_1 + -0xa8); + FUN_14003d040(piVar1); + if (DAT_14017614f != '\0') { + (**(code **)(*(longlong *)(param_1 + -0xa8) + 200))(param_1 + -0xa8); + } + uVar3 = (ulonglong)param_2 % (ulonglong)*(uint *)(param_1 + 0xbf8); + if ((*(longlong *)(param_1 + 0xbd8) != 0) && + (puVar4 = *(uint **)(*(longlong *)(param_1 + 0xbd8) + uVar3 * 8), puVar4 != (uint *)0x0)) { + while ((uint)uVar3 == puVar4[8] % *(uint *)(param_1 + 0xbf8)) { + if (*puVar4 == param_2) { + if ((*(longlong *)(puVar4 + 2) != 0) && + (*(longlong *)(*(longlong *)(puVar4 + 2) + 0x228) == 0)) { + uVar2 = FUN_14003d0d0((longlong)piVar1); + return CONCAT71((int7)((ulonglong)uVar2 >> 8),1); + } + break; + } + puVar4 = *(uint **)(puVar4 + 4); + if (puVar4 == (uint *)0x0) break; + } + } + uVar3 = FUN_14003d0d0((longlong)piVar1); + return uVar3 & 0xffffffffffffff00; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140050a70.c b/decomp/AgentManager_Release_x64/full/functions/0x140050a70.c new file mode 100644 index 00000000..83d893c0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140050a70.c @@ -0,0 +1,69 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140050a70 FUN_140050a70 + * Pseudocode, not original source. */ + +ulonglong FUN_140050a70(longlong param_1,uint param_2,char param_3) + +{ + longlong lVar1; + int *piVar2; + undefined1 *puVar3; + ulonglong uVar4; + uint *puVar5; + undefined1 local_res10 [8]; + undefined8 uVar6; + int *piVar7; + undefined1 uVar8; + + uVar6 = 0xfffffffffffffffe; + piVar2 = (int *)(**(code **)(*(longlong *)(param_1 + -0xa8) + 0x58))(param_1 + -0xa8); + piVar7 = piVar2; + FUN_14003d040(piVar2); + uVar8 = 1; + if (DAT_14017614f != '\0') { + (**(code **)(*(longlong *)(param_1 + -0xa8) + 200))(param_1 + -0xa8); + } + uVar4 = (ulonglong)param_2 % (ulonglong)*(uint *)(param_1 + 0xbf8); + if ((*(longlong *)(param_1 + 0xbd8) != 0) && + (puVar5 = *(uint **)(*(longlong *)(param_1 + 0xbd8) + uVar4 * 8), puVar5 != (uint *)0x0)) { + while ((uint)uVar4 == puVar5[8] % *(uint *)(param_1 + 0xbf8)) { + if (*puVar5 == param_2) { + lVar1 = *(longlong *)(puVar5 + 2); + if ((lVar1 != 0) && (*(longlong *)(lVar1 + 0x228) == 0)) { + if (param_3 == '\0') { + if (*(longlong *)(lVar1 + 0x750) == 0) goto LAB_140050bee; + if (*(void **)(lVar1 + 0x750) != (void *)0x0) { + operator_delete(*(void **)(lVar1 + 0x750)); + } + *(undefined8 *)(lVar1 + 0x750) = 0; + local_res10[0] = 0; + } + else { + if (*(longlong *)(lVar1 + 0x750) != 0) goto LAB_140050bee; + puVar3 = operator_new(0x20); + if (puVar3 != (undefined1 *)0x0) { + *(undefined8 *)(puVar3 + 0x18) = 0x3fe2e147ae147ae1; + *(undefined8 *)(puVar3 + 0x10) = 0; + *(undefined8 *)(puVar3 + 8) = 0; + *puVar3 = 0; + } + *(undefined1 **)(lVar1 + 0x750) = puVar3; + local_res10[0] = 1; + } + (**(code **)(*(longlong *)(param_1 + 0x400) + 0xe0)) + ((longlong *)(param_1 + 0x400),param_2,&DAT_140177f90,local_res10,uVar6,piVar7, + uVar8); +LAB_140050bee: + uVar6 = FUN_14003d0d0((longlong)piVar2); + return CONCAT71((int7)((ulonglong)uVar6 >> 8),1); + } + break; + } + puVar5 = *(uint **)(puVar5 + 4); + if (puVar5 == (uint *)0x0) break; + } + } + uVar4 = FUN_14003d0d0((longlong)piVar2); + return uVar4 & 0xffffffffffffff00; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140050c20.c b/decomp/AgentManager_Release_x64/full/functions/0x140050c20.c new file mode 100644 index 00000000..0db76cf0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140050c20.c @@ -0,0 +1,41 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140050c20 FUN_140050c20 + * Pseudocode, not original source. */ + +void FUN_140050c20(longlong param_1,uint param_2,int param_3) + +{ + longlong lVar1; + ulonglong uVar2; + int iVar3; + int *piVar4; + uint *puVar5; + + piVar4 = (int *)(**(code **)(*(longlong *)(param_1 + -0xa8) + 0x58))(param_1 + -0xa8); + FUN_14003d040(piVar4); + if (DAT_14017614f != '\0') { + (**(code **)(*(longlong *)(param_1 + -0xa8) + 200))(param_1 + -0xa8); + } + uVar2 = (ulonglong)param_2 % (ulonglong)*(uint *)(param_1 + 0xbf8); + if ((*(longlong *)(param_1 + 0xbd8) != 0) && + (puVar5 = *(uint **)(*(longlong *)(param_1 + 0xbd8) + uVar2 * 8), puVar5 != (uint *)0x0)) { + while ((uint)uVar2 == puVar5[8] % *(uint *)(param_1 + 0xbf8)) { + if (*puVar5 == param_2) { + lVar1 = *(longlong *)(puVar5 + 2); + if ((lVar1 != 0) && (*(longlong *)(lVar1 + 0x228) == 0)) { + iVar3 = 0; + if (0 < param_3) { + iVar3 = param_3; + } + *(double *)(lVar1 + 0x1a8) = (double)iVar3; + } + break; + } + puVar5 = *(uint **)(puVar5 + 4); + if (puVar5 == (uint *)0x0) break; + } + } + FUN_14003d0d0((longlong)piVar4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140050d30.c b/decomp/AgentManager_Release_x64/full/functions/0x140050d30.c new file mode 100644 index 00000000..461293b0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140050d30.c @@ -0,0 +1,43 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140050d30 FUN_140050d30 + * Pseudocode, not original source. */ + +undefined4 FUN_140050d30(longlong *param_1,undefined4 param_2,undefined8 param_3,longlong param_4) + +{ + undefined4 uVar1; + int *piVar2; + undefined8 uVar3; + undefined **local_40; + longlong *local_38; + int *local_30; + undefined8 local_28; + undefined8 local_20; + + uVar3 = 0xfffffffffffffffe; + local_40 = Proud::CFastArray::vftable; + local_38 = (longlong *)0x0; + local_30 = (int *)0x0; + local_28 = 0; + local_20 = 0; + if ((int)param_4 != 0) { + FUN_140038010((longlong)&local_40,1,param_3,param_4); + piVar2 = local_30; + if ((int)local_28 == 0) { + piVar2 = (int *)0x0; + } + *piVar2 = (int)param_4; + } + uVar1 = (**(code **)(*param_1 + 0x1d0))(param_1,param_2,param_3,&local_40,uVar3); + local_40 = Proud::CFastArray::vftable; + if (local_30 != (int *)0x0) { + if (local_38 == (longlong *)0x0) { + FUN_14003e8b0(local_30); + } + else { + (**(code **)(*local_38 + 0x18))(local_38,local_30); + } + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140050e10.c b/decomp/AgentManager_Release_x64/full/functions/0x140050e10.c new file mode 100644 index 00000000..f1ecaf8e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140050e10.c @@ -0,0 +1,63 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140050e10 FUN_140050e10 + * Pseudocode, not original source. */ + +void FUN_140050e10(longlong param_1,longlong param_2,undefined8 *param_3,undefined8 param_4) + +{ + longlong *plVar1; + int *piVar2; + longlong lVar3; + longlong lVar4; + ulonglong uVar5; + int iVar6; + longlong lVar7; + undefined8 local_60 [2]; + exception local_50 [72]; + + piVar2 = (int *)(**(code **)(*(longlong *)(param_1 + -0xa8) + 0x58))(param_1 + -0xa8); + FUN_14003d040(piVar2); + if (DAT_14017614f != '\0') { + param_3 = *(undefined8 **)(param_1 + -0xa8); + (*(code *)param_3[0x19])(param_1 + -0xa8); + } + if (*(int *)(param_1 + 0x179c) == 1) { + uVar5 = 0; + lVar3 = param_2; + FUN_14004c2a0(param_2,0); + iVar6 = 0; + lVar7 = 0; + if (0 < *(int *)(param_1 + 0x638)) { + do { + if ((lVar7 < 0) || (*(int *)(param_1 + 0x638) <= iVar6)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(lVar3,uVar5,param_3,param_4); + } + plVar1 = *(longlong **)(*(longlong *)(param_1 + 0x630) + lVar7 * 8); + lVar3 = 0; + if (plVar1 != (longlong *)0x0) { + lVar3 = *plVar1; + } + lVar4 = 0; + if (*(longlong **)(lVar3 + 0x150) != (longlong *)0x0) { + lVar4 = **(longlong **)(lVar3 + 0x150); + } + param_3 = FUN_140042ff0(lVar4,local_60); + param_4 = 1; + uVar5 = (ulonglong)*(uint *)(param_2 + 0x18); + lVar3 = param_2; + FUN_14004c980(param_2,*(uint *)(param_2 + 0x18),(longlong)param_3,1); + iVar6 = iVar6 + 1; + lVar7 = lVar7 + 1; + } while (iVar6 < *(int *)(param_1 + 0x638)); + } + FUN_14003d0d0((longlong)piVar2); + return; + } + FUN_14003db10(local_50, + L"Cannot call GetUdpSocketAddrList unless ServerUdpAssignMode_Static is used!", + param_3,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_50,(ThrowInfo *)&DAT_14016c210); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140050f60.c b/decomp/AgentManager_Release_x64/full/functions/0x140050f60.c new file mode 100644 index 00000000..7822fbaa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140050f60.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140050f60 FUN_140050f60 + * Pseudocode, not original source. */ + +ulonglong FUN_140050f60(longlong param_1,ulonglong param_2) + +{ + uint uVar1; + ulonglong *puVar2; + ulonglong uVar3; + ulonglong uVar4; + + uVar1 = *(uint *)(param_1 + 0x2a8); + uVar4 = (param_2 & 0xffffffff) / (ulonglong)uVar1; + uVar3 = (param_2 & 0xffffffff) % (ulonglong)uVar1; + if (*(longlong *)(param_1 + 0x288) != 0) { + puVar2 = *(ulonglong **)(*(longlong *)(param_1 + 0x288) + uVar3 * 8); + uVar4 = uVar3; + while ((puVar2 != (ulonglong *)0x0 && + (uVar4 = (ulonglong)(uint)puVar2[4] / (ulonglong)uVar1, + (uint)uVar3 == (uint)puVar2[4] % uVar1))) { + if (*puVar2 == param_2) { + return CONCAT71((int7)(uVar4 >> 8),1); + } + puVar2 = (ulonglong *)puVar2[2]; + } + } + return uVar4 & 0xffffffffffffff00; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140050fc0.c b/decomp/AgentManager_Release_x64/full/functions/0x140050fc0.c new file mode 100644 index 00000000..17634bc6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140050fc0.c @@ -0,0 +1,42 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140050fc0 FUN_140050fc0 + * Pseudocode, not original source. */ + +longlong FUN_140050fc0(longlong param_1,uint param_2) + +{ + longlong *plVar1; + uint *puVar2; + ulonglong uVar3; + + plVar1 = (longlong *)(param_1 + -0x120); + if (DAT_14017614f != '\0') { + (**(code **)(*plVar1 + 200))(plVar1); + } + if (param_2 == 1) { + if (plVar1 != (longlong *)0x0) { + return param_1 + -0xa8; + } + } + else { + uVar3 = (ulonglong)param_2 % (ulonglong)*(uint *)(param_1 + 0xb80); + if (*(longlong *)(param_1 + 0xb60) != 0) { + puVar2 = *(uint **)(*(longlong *)(param_1 + 0xb60) + uVar3 * 8); + while( true ) { + if (puVar2 == (uint *)0x0) { + return 0; + } + if ((uint)uVar3 != puVar2[8] % *(uint *)(param_1 + 0xb80)) { + return 0; + } + if (*puVar2 == param_2) break; + puVar2 = *(uint **)(puVar2 + 4); + } + if (*(longlong *)(puVar2 + 2) != 0) { + return *(longlong *)(puVar2 + 2) + 8; + } + } + } + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140051090.c b/decomp/AgentManager_Release_x64/full/functions/0x140051090.c new file mode 100644 index 00000000..c1dc3504 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140051090.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140051090 FUN_140051090 + * Pseudocode, not original source. */ + +void FUN_140051090(char *param_1) + +{ + FUN_140083de0(param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400510b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400510b0.c new file mode 100644 index 00000000..2ed9b415 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400510b0.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400510b0 FUN_1400510b0 + * Pseudocode, not original source. */ + +void FUN_1400510b0(longlong *param_1) + +{ + if ((*param_1 != 0) && + (*(longlong *)(*param_1 + 8) = *(longlong *)(*param_1 + 8) + -1, + *(longlong *)(*param_1 + 8) == 0)) { + FUN_14004e450((undefined8 *)*param_1); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400510f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400510f0.c new file mode 100644 index 00000000..37288860 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400510f0.c @@ -0,0 +1,23 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400510f0 FUN_1400510f0 + * Pseudocode, not original source. */ + +longlong * FUN_1400510f0(longlong *param_1,longlong *param_2,longlong param_3,undefined8 param_4) + +{ + longlong lVar1; + + if (param_3 != 0) { + FUN_14003ea90(param_3,param_2,param_3,param_4); + param_1[1] = (longlong)param_2; + lVar1 = (**(code **)(*param_2 + 8))(param_2,0x10); + *param_1 = lVar1; + *(undefined8 *)(lVar1 + 8) = 1; + *(longlong *)*param_1 = param_3; + return param_1; + } + param_1[1] = (longlong)param_2; + *param_1 = 0; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140051170.c b/decomp/AgentManager_Release_x64/full/functions/0x140051170.c new file mode 100644 index 00000000..206b0622 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140051170.c @@ -0,0 +1,24 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140051170 FUN_140051170 + * Pseudocode, not original source. */ + +void FUN_140051170(longlong *param_1,undefined8 param_2,undefined8 param_3,longlong param_4) + +{ + int *piVar1; + + piVar1 = (int *)*param_1; + if (piVar1 != (int *)0x0) { + FUN_14003d040(piVar1); + *(longlong *)(*param_1 + 0x40) = *(longlong *)(*param_1 + 0x40) + -1; + if (*(longlong *)(*param_1 + 0x40) == 0) { + FUN_14003d0d0((longlong)piVar1); + FUN_14004e4b0((undefined4 *)*param_1,param_2,param_3,param_4); + } + else { + FUN_14003d0d0((longlong)piVar1); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400511f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400511f0.c new file mode 100644 index 00000000..9147c43a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400511f0.c @@ -0,0 +1,34 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400511f0 FUN_1400511f0 + * Pseudocode, not original source. */ + +ulonglong FUN_1400511f0(char *param_1,longlong param_2,char param_3) + +{ + uint uVar1; + LPVOID pvVar2; + ulonglong uVar3; + ulonglong uVar4; + undefined8 uVar5; + + uVar1 = *(uint *)(param_1 + 0x28); + uVar3 = (ulonglong)((uint)*(ushort *)(param_2 + 0xc) ^ *(uint *)(param_2 + 8)); + uVar4 = uVar3 / uVar1; + uVar3 = uVar3 % (ulonglong)uVar1; + if (*(longlong *)(param_1 + 8) != 0) { + uVar4 = uVar3; + for (pvVar2 = *(LPVOID *)(*(longlong *)(param_1 + 8) + uVar3 * 8); + (pvVar2 != (LPVOID)0x0 && + (uVar4 = (ulonglong)*(uint *)((longlong)pvVar2 + 0x28) / (ulonglong)uVar1, + (uint)uVar3 == *(uint *)((longlong)pvVar2 + 0x28) % uVar1)); + pvVar2 = *(LPVOID *)((longlong)pvVar2 + 0x18)) { + if ((*(uint *)((longlong)pvVar2 + 8) == *(uint *)(param_2 + 8)) && + (*(ushort *)((longlong)pvVar2 + 0xc) == *(ushort *)(param_2 + 0xc))) { + uVar5 = FUN_14008cf20(param_1,pvVar2,param_3); + return CONCAT71((int7)((ulonglong)uVar5 >> 8),1); + } + } + } + return uVar4 & 0xffffffffffffff00; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140051280.c b/decomp/AgentManager_Release_x64/full/functions/0x140051280.c new file mode 100644 index 00000000..0ee51963 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140051280.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140051280 FUN_140051280 + * Pseudocode, not original source. */ + +void FUN_140051280(char *param_1) + +{ + FUN_14004e320(param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400512a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400512a0.c new file mode 100644 index 00000000..d901c505 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400512a0.c @@ -0,0 +1,28 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400512a0 FUN_1400512a0 + * Pseudocode, not original source. */ + +void FUN_1400512a0(longlong param_1,longlong *param_2) + +{ + undefined8 *puVar1; + longlong *plVar2; + + puVar1 = (undefined8 *)*param_2; + plVar2 = *(longlong **)(param_1 + 8); + *puVar1 = Proud::CFastArray::vftable; + if ((LPVOID)puVar1[2] != (LPVOID)0x0) { + if ((longlong *)puVar1[1] == (longlong *)0x0) { + FUN_14003e8b0((LPVOID)puVar1[2]); + } + else { + (**(code **)(*(longlong *)puVar1[1] + 0x18))(); + } + } + (**(code **)(*plVar2 + 0x18))(plVar2,puVar1); + /* WARNING: Could not recover jumptable at 0x000140051318. Too many branches */ + /* WARNING: Treating indirect jump as call */ + (**(code **)(**(longlong **)(param_1 + 8) + 0x18))(*(longlong **)(param_1 + 8),param_2); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140051320.c b/decomp/AgentManager_Release_x64/full/functions/0x140051320.c new file mode 100644 index 00000000..27ce62f4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140051320.c @@ -0,0 +1,58 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140051320 FUN_140051320 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x000140051416) */ +/* WARNING: Removing unreachable block (ram,0x000140051424) */ + +void FUN_140051320(ulonglong *param_1,ulonglong *param_2,undefined8 param_3,longlong param_4) + +{ + longlong *plVar1; + int *piVar2; + ulonglong *puVar3; + int *piVar4; + int *piVar5; + undefined4 *puVar6; + + piVar5 = (int *)*param_2; + piVar2 = (int *)*param_1; + if (piVar2 != piVar5) { + piVar4 = piVar2; + if (piVar5 < piVar2) { + piVar4 = piVar5; + piVar5 = piVar2; + } + puVar3 = param_2; + if (piVar4 != (int *)0x0) { + FUN_14003d040(piVar4); + } + if (piVar5 != (int *)0x0) { + FUN_14003d040(piVar5); + } + if (*param_2 != 0) { + plVar1 = (longlong *)(*param_2 + 0x40); + *plVar1 = *plVar1 + 1; + } + puVar6 = (undefined4 *)0x0; + if (*param_1 != 0) { + plVar1 = (longlong *)(*param_1 + 0x40); + *plVar1 = *plVar1 + -1; + if (*(longlong *)((undefined4 *)*param_1 + 0x10) == 0) { + puVar6 = (undefined4 *)*param_1; + } + } + *param_1 = *param_2; + if (piVar4 != (int *)0x0) { + FUN_14003d0d0((longlong)piVar4); + } + if (piVar5 != (int *)0x0) { + FUN_14003d0d0((longlong)piVar5); + } + if (puVar6 != (undefined4 *)0x0) { + FUN_14004e4b0(puVar6,puVar3,param_3,param_4); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140051450.c b/decomp/AgentManager_Release_x64/full/functions/0x140051450.c new file mode 100644 index 00000000..1659d81d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140051450.c @@ -0,0 +1,23 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140051450 FUN_140051450 + * Pseudocode, not original source. */ + +undefined4 * FUN_140051450(char *param_1,undefined4 *param_2,uint param_3,undefined4 param_4) + +{ + undefined8 uVar1; + undefined4 *puVar2; + + if (*(longlong *)(param_1 + 8) == 0) { + uVar1 = FUN_14004c640((longlong)param_1,*(uint *)(param_1 + 0x28),'\x01'); + if ((char)uVar1 == '\0') { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x8007000e); + } + } + FUN_140083c80(param_1); + puVar2 = FUN_14004e500(param_1,param_2,param_3,param_4); + FUN_140083c80(param_1); + return puVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400514d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400514d0.c new file mode 100644 index 00000000..1caf135e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400514d0.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400514d0 FUN_1400514d0 + * Pseudocode, not original source. */ + +longlong * FUN_1400514d0(longlong *param_1,longlong *param_2,longlong *param_3,undefined8 param_4) + +{ + longlong *plVar1; + + plVar1 = param_3; + FUN_14003e7c0(param_1,param_2,param_3,param_4); + *param_1 = (longlong)PTR_DAT_14016f010; + FUN_1400020c0(param_1,param_2,plVar1,param_4); + FUN_140029980(param_1,param_3); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140051540.c b/decomp/AgentManager_Release_x64/full/functions/0x140051540.c new file mode 100644 index 00000000..74c1abed --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140051540.c @@ -0,0 +1,124 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140051540 FUN_140051540 + * Pseudocode, not original source. */ + +void FUN_140051540(longlong param_1,uint param_2,uint param_3) + +{ + longlong lVar1; + longlong lVar2; + longlong lVar3; + undefined8 uVar4; + undefined8 uVar5; + undefined8 uVar6; + ulonglong uVar7; + ulonglong uVar8; + uint uVar9; + longlong *plVar11; + longlong lVar12; + double dVar13; + double dVar14; + uint local_res10; + uint local_res18; + ulonglong local_res20; + ulonglong local_28; + uint uVar10; + + uVar7 = (ulonglong)(int)param_3; + local_28 = (ulonglong)(int)param_2; + local_res10 = param_2; + local_res18 = param_3; + local_res20 = uVar7; + if ((int)param_3 < (int)param_2) { + do { + lVar12 = (longlong)(int)uVar7; + uVar7 = local_28; + uVar9 = local_res10; + while( true ) { + plVar11 = (longlong *)(param_1 + 8 + lVar12 * 0x18); + while( true ) { + lVar1 = *plVar11; + lVar2 = plVar11[-1]; + if ((*(int *)(lVar1 + 0x78) < 1) || (**(int **)(lVar1 + 0x70) != *(int *)(lVar2 + 0x6f8))) + { + dVar14 = *(double *)(lVar2 + 0x1b0); + } + else { + dVar14 = DAT_14016f198 + *(double *)(lVar2 + 0x1b0); + } + lVar2 = *(longlong *)(param_1 + local_res20 * 0x18); + if ((*(int *)(lVar1 + 0x78) < 1) || (**(int **)(lVar1 + 0x70) != *(int *)(lVar2 + 0x6f8))) + { + dVar13 = *(double *)(lVar2 + 0x1b0); + } + else { + dVar13 = DAT_14016f198 + *(double *)(lVar2 + 0x1b0); + } + if ((dVar14 <= dVar13) || ((longlong)uVar7 <= lVar12)) break; + lVar12 = lVar12 + 1; + plVar11 = plVar11 + 3; + } + lVar1 = *(longlong *)(param_1 + local_res20 * 0x18); + lVar2 = *(longlong *)(param_1 + 8 + local_res20 * 0x18); + plVar11 = (longlong *)(param_1 + uVar7 * 0x18); + do { + uVar10 = uVar9; + uVar8 = uVar7; + uVar9 = uVar10 - 1; + uVar7 = uVar8 - 1; + plVar11 = plVar11 + -3; + if ((*(int *)(lVar2 + 0x78) < 1) || (**(int **)(lVar2 + 0x70) != *(int *)(lVar1 + 0x6f8))) + { + dVar14 = *(double *)(lVar1 + 0x1b0); + } + else { + dVar14 = DAT_14016f198 + *(double *)(lVar1 + 0x1b0); + } + lVar3 = *plVar11; + if ((*(int *)(lVar2 + 0x78) < 1) || (**(int **)(lVar2 + 0x70) != *(int *)(lVar3 + 0x6f8))) + { + dVar13 = *(double *)(lVar3 + 0x1b0); + } + else { + dVar13 = DAT_14016f198 + *(double *)(lVar3 + 0x1b0); + } + } while (dVar13 < dVar14); + if ((longlong)uVar7 <= lVar12) break; + uVar4 = *(undefined8 *)(param_1 + lVar12 * 0x18); + uVar5 = *(undefined8 *)(param_1 + 8 + lVar12 * 0x18); + uVar6 = *(undefined8 *)(param_1 + 0x10 + lVar12 * 0x18); + *(undefined8 *)(param_1 + lVar12 * 0x18) = *(undefined8 *)(param_1 + uVar7 * 0x18); + *(undefined8 *)(param_1 + 8 + lVar12 * 0x18) = *(undefined8 *)(param_1 + 8 + uVar7 * 0x18); + *(undefined8 *)(param_1 + 0x10 + lVar12 * 0x18) = + *(undefined8 *)(param_1 + 0x10 + uVar7 * 0x18); + *(undefined8 *)(param_1 + uVar7 * 0x18) = uVar4; + *(undefined8 *)(param_1 + 8 + uVar7 * 0x18) = uVar5; + *(undefined8 *)(param_1 + 0x10 + uVar7 * 0x18) = uVar6; + } + uVar4 = *(undefined8 *)(param_1 + local_res20 * 0x18); + uVar5 = *(undefined8 *)(param_1 + 8 + local_res20 * 0x18); + uVar6 = *(undefined8 *)(param_1 + 0x10 + local_res20 * 0x18); + *(undefined8 *)(param_1 + local_res20 * 0x18) = *(undefined8 *)(param_1 + uVar7 * 0x18); + *(undefined8 *)(param_1 + 8 + local_res20 * 0x18) = + *(undefined8 *)(param_1 + 8 + uVar7 * 0x18); + *(undefined8 *)(param_1 + 0x10 + local_res20 * 0x18) = + *(undefined8 *)(param_1 + 0x10 + uVar7 * 0x18); + *(undefined8 *)(param_1 + uVar7 * 0x18) = uVar4; + *(undefined8 *)(param_1 + 8 + uVar7 * 0x18) = uVar5; + *(undefined8 *)(param_1 + 0x10 + uVar7 * 0x18) = uVar6; + if ((int)((local_res10 - uVar9) + -1) < (int)(uVar9 - local_res18)) { + FUN_140051540(param_1,uVar10 - 2,local_res18); + local_res18 = uVar10; + local_res20 = uVar8; + } + else { + FUN_140051540(param_1,local_res10,uVar10); + local_res10 = uVar10 - 2; + local_28 = uVar8 - 2; + } + uVar7 = (ulonglong)local_res18; + } while ((int)local_res18 < (int)local_res10); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400517d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400517d0.c new file mode 100644 index 00000000..a97b3b31 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400517d0.c @@ -0,0 +1,31 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400517d0 FUN_1400517d0 + * Pseudocode, not original source. */ + +void FUN_1400517d0(longlong *param_1,longlong param_2) + +{ + longlong *plVar1; + undefined8 *puVar2; + int iVar3; + + if (0 < param_2) { + iVar3 = 0; + do { + if ((*param_1 != 0) && + (*(longlong *)(*param_1 + 8) = *(longlong *)(*param_1 + 8) + -1, + *(longlong *)(*param_1 + 8) == 0)) { + plVar1 = (longlong *)*param_1; + puVar2 = (undefined8 *)*plVar1; + if (puVar2 != (undefined8 *)0x0) { + (**(code **)*puVar2)(puVar2,1); + } + FUN_14003e8b0(plVar1); + } + iVar3 = iVar3 + 1; + param_1 = param_1 + 1; + } while (iVar3 < param_2); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140051860.c b/decomp/AgentManager_Release_x64/full/functions/0x140051860.c new file mode 100644 index 00000000..026dd682 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140051860.c @@ -0,0 +1,48 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140051860 FUN_140051860 + * Pseudocode, not original source. */ + +void FUN_140051860(longlong *param_1,longlong param_2,longlong param_3) + +{ + undefined8 *puVar1; + longlong lVar2; + uint uVar3; + longlong *plVar5; + longlong *plVar6; + longlong *plVar4; + + if (0 < param_3) { + plVar6 = (longlong *)0x0; + lVar2 = param_2 - (longlong)param_1; + plVar4 = plVar6; + do { + if (param_1 != (longlong *)0x0) { + *param_1 = 0; + if (*(longlong *)((longlong)param_1 + lVar2) != 0) { + *(longlong *)(*(longlong *)((longlong)param_1 + lVar2) + 8) = + *(longlong *)(*(longlong *)((longlong)param_1 + lVar2) + 8) + 1; + plVar5 = plVar6; + if ((*param_1 != 0) && + (*(longlong *)(*param_1 + 8) = *(longlong *)(*param_1 + 8) + -1, + *(longlong *)(*param_1 + 8) == 0)) { + plVar5 = (longlong *)*param_1; + } + *param_1 = *(longlong *)((longlong)param_1 + lVar2); + if (plVar5 != (longlong *)0x0) { + puVar1 = (undefined8 *)*plVar5; + if (puVar1 != (undefined8 *)0x0) { + (**(code **)*puVar1)(puVar1,1); + } + FUN_14003e8b0(plVar5); + } + } + } + uVar3 = (int)plVar4 + 1; + plVar4 = (longlong *)(ulonglong)uVar3; + param_1 = param_1 + 1; + } while ((int)uVar3 < param_3); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140051940.c b/decomp/AgentManager_Release_x64/full/functions/0x140051940.c new file mode 100644 index 00000000..57fbc77e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140051940.c @@ -0,0 +1,24 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140051940 FUN_140051940 + * Pseudocode, not original source. */ + +void FUN_140051940(longlong *param_1) + +{ + undefined8 *puVar1; + undefined8 *puVar2; + + if ((*param_1 != 0) && + (*(longlong *)(*param_1 + 8) = *(longlong *)(*param_1 + 8) + -1, + *(longlong *)(*param_1 + 8) == 0)) { + puVar1 = (undefined8 *)*param_1; + puVar2 = (undefined8 *)*puVar1; + if (puVar2 != (undefined8 *)0x0) { + FUN_140045c30(puVar2); + operator_delete(puVar2); + } + FUN_14003e8b0(puVar1); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400519b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400519b0.c new file mode 100644 index 00000000..7d08ac0b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400519b0.c @@ -0,0 +1,37 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400519b0 FUN_1400519b0 + * Pseudocode, not original source. */ + +void FUN_1400519b0(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + LPVOID pvVar1; + longlong *plVar2; + + *(undefined ***)(param_1 + 200) = + Proud::CFastArray::vftable; + pvVar1 = *(LPVOID *)(param_1 + 0xd8); + if (pvVar1 != (LPVOID)0x0) { + plVar2 = *(longlong **)(param_1 + 0xd0); + if (plVar2 == (longlong *)0x0) { + FUN_14003e8b0(pvVar1); + } + else { + (**(code **)(*plVar2 + 0x18))(plVar2,pvVar1,plVar2,param_4,0xfffffffffffffffe); + } + } + *(undefined ***)(param_1 + 0x60) = Proud::CFastArray::vftable; + pvVar1 = *(LPVOID *)(param_1 + 0x70); + if (pvVar1 != (LPVOID)0x0) { + plVar2 = *(longlong **)(param_1 + 0x68); + if (plVar2 == (longlong *)0x0) { + FUN_14003e8b0(pvVar1); + } + else { + (**(code **)(*plVar2 + 0x18))(plVar2,pvVar1); + } + } + FUN_140051280((char *)(param_1 + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140051a40.c b/decomp/AgentManager_Release_x64/full/functions/0x140051a40.c new file mode 100644 index 00000000..1f16bfea --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140051a40.c @@ -0,0 +1,47 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140051a40 FUN_140051a40 + * Pseudocode, not original source. */ + +void FUN_140051a40(_Container_base12 *param_1,undefined4 *param_2) + +{ + undefined4 *puVar1; + longlong lVar2; + longlong lVar3; + void *pvVar4; + ulonglong uVar5; + char *local_res8; + undefined **local_28 [4]; + + std::_Container_base12::_Orphan_all(param_1); + if ((((char)*(longlong *)(param_1 + 0x20) + (char)param_1[0x18] & 3U) == 0) && + (*(ulonglong *)(param_1 + 0x10) <= *(longlong *)(param_1 + 0x20) + 4U >> 2)) { + FUN_14004eab0((longlong)param_1,1); + } + lVar2 = *(longlong *)(param_1 + 0x18); + lVar3 = *(longlong *)(param_1 + 0x20); + uVar5 = (ulonglong)(lVar2 + lVar3) >> 2; + if (*(ulonglong *)(param_1 + 0x10) <= uVar5) { + uVar5 = uVar5 - *(ulonglong *)(param_1 + 0x10); + } + if (*(longlong *)(*(longlong *)(param_1 + 8) + uVar5 * 8) == 0) { + pvVar4 = operator_new(0x10); + if (pvVar4 == (void *)0x0) { + local_res8 = (char *)0x0; + std::exception::exception((exception *)local_28,&local_res8); + local_28[0] = std::bad_alloc::vftable; + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_28,(ThrowInfo *)&DAT_14016c158); + } + *(void **)(*(longlong *)(param_1 + 8) + uVar5 * 8) = pvVar4; + } + puVar1 = (undefined4 *) + (*(longlong *)(*(longlong *)(param_1 + 8) + uVar5 * 8) + + (ulonglong)((uint)(lVar2 + lVar3) & 3) * 4); + if (puVar1 != (undefined4 *)0x0) { + *puVar1 = *param_2; + } + *(longlong *)(param_1 + 0x20) = *(longlong *)(param_1 + 0x20) + 1; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140051b30.c b/decomp/AgentManager_Release_x64/full/functions/0x140051b30.c new file mode 100644 index 00000000..68c11d34 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140051b30.c @@ -0,0 +1,26 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140051b30 FUN_140051b30 + * Pseudocode, not original source. */ + +undefined8 * FUN_140051b30(longlong *param_1,undefined8 *param_2,longlong param_3) + +{ + undefined8 *puVar1; + longlong lVar2; + longlong *plVar3; + + plVar3 = (longlong *)0x0; + if (((longlong *)*param_1 != (longlong *)0x0) && + (puVar1 = *(undefined8 **)*param_1, plVar3 = (longlong *)0x0, puVar1 != (undefined8 *)0x0)) { + plVar3 = (longlong *)*puVar1; + } + lVar2 = param_1[2]; + *param_2 = 0; + param_2[1] = 0; + param_2[2] = lVar2 - param_3; + if ((plVar3 != (longlong *)0x0) && ((undefined8 *)*plVar3 != (undefined8 *)0x0)) { + *param_2 = *(undefined8 *)*plVar3; + } + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140051b80.c b/decomp/AgentManager_Release_x64/full/functions/0x140051b80.c new file mode 100644 index 00000000..435167ab --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140051b80.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140051b80 FUN_140051b80 + * Pseudocode, not original source. */ + +void FUN_140051b80(longlong *param_1,undefined8 *param_2,undefined8 param_3,undefined8 param_4) + +{ + int *piVar1; + longlong *plVar2; + int *piVar3; + undefined *local_res10 [3]; + + plVar2 = (longlong *)(**(code **)*param_2)(param_2,local_res10,param_2,param_4,0xfffffffffffffffe) + ; + FUN_140029980(param_1,plVar2); + if (((local_res10[0] != (undefined *)0x0) && (local_res10[0] != PTR_DAT_14016f010)) && + (local_res10[0] + -8 != (undefined *)0x0)) { + piVar3 = (int *)FUN_14003e7c0(param_1,plVar2,param_2,param_4); + FUN_14003d040(piVar3); + piVar1 = (int *)(local_res10[0] + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(local_res10[0] + -8); + } + FUN_14003d0d0((longlong)piVar3); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140051c10.c b/decomp/AgentManager_Release_x64/full/functions/0x140051c10.c new file mode 100644 index 00000000..6c353814 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140051c10.c @@ -0,0 +1,57 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140051c10 FUN_140051c10 + * Pseudocode, not original source. */ + +void FUN_140051c10(longlong param_1,undefined8 param_2,SIZE_T param_3,undefined8 param_4) + +{ + longlong lVar1; + int iVar2; + uint uVar3; + ulonglong uVar4; + longlong lVar5; + exception local_58 [80]; + + lVar5 = 0; + *(undefined4 *)(param_1 + 4) = 0; + lVar1 = *(longlong *)(param_1 + 8); + if (lVar1 == 0) { + if (*(longlong *)(param_1 + 0x10) == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(param_1,param_2,param_3,param_4); + } + } + else if (*(longlong *)(param_1 + 0x10) == 0) { + if (lVar1 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(param_1,param_2,param_3,param_4); + } + iVar2 = *(int *)(lVar1 + 0x18); + uVar3 = iVar2 + 4; + uVar4 = (ulonglong)uVar3; + FUN_14002a050(lVar1,uVar3,param_3); + if (*(int *)(lVar1 + 0x18) != 0) { + lVar5 = *(longlong *)(lVar1 + 0x10); + } + *(int *)(iVar2 + lVar5) = (int)param_2; + goto LAB_140051cc8; + } + if (*(longlong *)(param_1 + 0x10) == 0) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,param_3, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + uVar4 = (ulonglong)*(int *)(param_1 + 0x18); + iVar2 = *(int *)(param_1 + 0x18) + 4; + if ((iVar2 < 0) || (*(int *)(param_1 + 0x1c) < iVar2)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + *(int *)(param_1 + 0x18) = iVar2; + *(int *)(uVar4 + *(longlong *)(param_1 + 0x10)) = (int)param_2; +LAB_140051cc8: + FUN_14002a180(param_1,uVar4,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140051cf0.c b/decomp/AgentManager_Release_x64/full/functions/0x140051cf0.c new file mode 100644 index 00000000..07cf99a2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140051cf0.c @@ -0,0 +1,57 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140051cf0 FUN_140051cf0 + * Pseudocode, not original source. */ + +void FUN_140051cf0(longlong param_1,undefined8 *param_2,SIZE_T param_3,undefined8 param_4) + +{ + int iVar1; + longlong lVar2; + int iVar3; + longlong lVar4; + SIZE_T SVar5; + exception local_68 [80]; + + lVar4 = 0; + *(undefined4 *)(param_1 + 4) = 0; + lVar2 = *(longlong *)(param_1 + 8); + if (lVar2 == 0) { + if (*(longlong *)(param_1 + 0x10) == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(param_1,param_2,param_3,param_4); + } + } + else if (*(longlong *)(param_1 + 0x10) == 0) { + if (lVar2 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(param_1,param_2,param_3,param_4); + } + iVar1 = *(int *)(lVar2 + 0x18); + FUN_14002a050(lVar2,iVar1 + 0x10,param_3); + if (*(int *)(lVar2 + 0x18) != 0) { + lVar4 = *(longlong *)(lVar2 + 0x10); + } + SVar5 = 0x10; + FUN_140006fb0((undefined8 *)(lVar4 + iVar1),param_2,0x10); + goto LAB_140051dba; + } + if (*(longlong *)(param_1 + 0x10) == 0) { + FUN_14003db10(local_68,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,param_3, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_68,(ThrowInfo *)&DAT_14016c210); + } + iVar1 = *(int *)(param_1 + 0x18); + iVar3 = iVar1 + 0x10; + if ((iVar3 < 0) || (*(int *)(param_1 + 0x1c) < iVar3)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + SVar5 = 0x10; + *(int *)(param_1 + 0x18) = iVar3; + FUN_140006fb0((undefined8 *)((longlong)iVar1 + *(longlong *)(param_1 + 0x10)),param_2,0x10); +LAB_140051dba: + FUN_14002a180(param_1,param_2,SVar5,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140051de0.c b/decomp/AgentManager_Release_x64/full/functions/0x140051de0.c new file mode 100644 index 00000000..6899aad3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140051de0.c @@ -0,0 +1,1912 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140051de0 FUN_140051de0 + * Pseudocode, not original source. */ + +ulonglong FUN_140051de0(longlong *param_1,uint *param_2,SIZE_T param_3,undefined8 param_4) + +{ + int *piVar1; + uint uVar2; + uint uVar3; + longlong ****pppplVar4; + char cVar5; + int iVar6; + DWORD DVar7; + DWORD DVar8; + undefined8 uVar9; + short *psVar10; + longlong *****ppppplVar11; + undefined **ppuVar12; + undefined *puVar13; + longlong *****ppppplVar14; + undefined **ppuVar15; + undefined *puVar16; + longlong *****ppppplVar17; + int *piVar18; + wchar_t *pwVar19; + longlong *plVar20; + longlong *plVar21; + ulonglong uVar22; + undefined4 uVar23; + undefined1 *puVar24; + undefined1 uVar25; + IMAGE_DOS_HEADER *pIVar26; + undefined ***pppuVar27; + SIZE_T SVar28; + undefined8 uVar29; + longlong ****local_res10 [2]; + longlong ****local_res20; + longlong ****local_358; + longlong ****local_350; + undefined **local_348; + undefined *local_340; + undefined8 local_338; + SIZE_T local_330; + undefined8 local_328; + int *local_320; + undefined *local_318; + uint local_310; + SIZE_T local_308; + int local_300; + longlong ****local_2f8; + undefined4 local_2f0; + undefined2 local_2ec; + undefined **local_2e8; + undefined4 local_2e0; + undefined2 local_2dc; + undefined4 local_2d8 [2]; + undefined **local_2d0; + undefined4 local_2c8; + undefined2 local_2c4; + undefined1 local_2b8 [4]; + uint local_2b4; + SIZE_T local_280; + longlong ****local_258; + longlong ****local_250; + longlong ****local_248; + undefined **local_240; + undefined4 local_238; + undefined2 local_234; + longlong ****local_230; + longlong ***local_228; + longlong ***local_220; + longlong ***local_218; + undefined4 local_210; + longlong ***local_208; + undefined *local_200; + longlong ***local_1f8; + undefined *local_1f0; + longlong ***local_1e8; + longlong ***local_1e0; + longlong ***local_1d8; + longlong ***local_1d0; + longlong ***local_1c8; + longlong ***local_1c0; + longlong ***local_1b8; + undefined4 local_1b0; + undefined4 local_1ac; + undefined *local_1a8; + undefined4 local_1a0; + longlong ***local_198; + undefined4 local_190; + longlong ***local_188; + undefined4 local_180; + undefined4 local_17c; + undefined4 local_178; + undefined *local_170; + uint local_168 [2]; + longlong ***local_160; + undefined4 local_158; + undefined *local_150; + undefined *local_148; + undefined *local_140; + undefined *local_138; + longlong local_130; + longlong local_128; + longlong local_120; + longlong local_118; + longlong local_110; + longlong local_108; + longlong local_100; + longlong local_f8; + longlong local_f0; + longlong local_e8; + longlong local_e0; + longlong local_d8; + longlong local_d0; + longlong local_c8; + longlong local_c0; + longlong local_b8; + longlong local_b0; + longlong local_a8; + longlong local_a0; + longlong local_98; + longlong local_90; + longlong local_88; + longlong local_80; + longlong local_78; + longlong local_70; + longlong local_68 [3]; + longlong local_50; + longlong local_48; + longlong local_40; + + local_68[1] = 0xfffffffffffffffe; + uVar2 = param_2[10]; + SVar28 = param_3; + if (uVar2 == 0) { + FUN_140079c10(); + } + uVar3 = *param_2; + uVar9 = FUN_140075890(param_2,local_168,SVar28,param_4); + if ((char)uVar9 == '\0') { +switchD_140051e73_default: + uVar22 = FUN_140074bb0((int *)param_2, + (ulonglong)(uint)((int)(((int)uVar3 >> 0x1f & 7U) + uVar3) >> 3),SVar28, + param_4); + uVar22 = uVar22 & 0xffffffffffffff00; + } + else { + pIVar26 = &IMAGE_DOS_HEADER_140000000; + local_280 = param_3; + switch(local_168[0]) { + case 0xfa01: + FUN_140049b40(local_2b8); + local_2b4 = param_2[10]; + local_2b8[0] = (undefined1)param_2[0x10]; + uVar9 = FUN_140074ee0(param_2,&local_res20,4); + if ((char)uVar9 != '\0') { + local_res10[0] = (longlong ****)CONCAT44(local_res10[0]._4_4_,(uint)local_res20); + } + plVar21 = (longlong *)param_1[2]; + puVar16 = PTR_DAT_14016f8c8; + (**(code **)(*plVar21 + 0x48))(); + DVar7 = 0; + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar2,0xfa01,PTR_DAT_14016f8c8,&DAT_140131724); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar21,param_2,puVar16,param_4); + local_res20 = (longlong ****)PTR_DAT_14016f010; + FUN_1400927d0((longlong *)&local_res20); + FUN_140029bf0((longlong *)&local_res20,(short *)&DAT_140133350); + iVar6 = 0; + if (((longlong *****)local_res20 != (longlong *****)0x0) && + (local_res20 != (longlong ****)PTR_DAT_14016f010)) { + iVar6 = *(int *)(local_res20 + -1); + } + uVar22 = (ulonglong)(iVar6 - 2U); + local_358 = (longlong ****) + FUN_140028f40((longlong *)&local_res20,(longlong *)&local_148,iVar6 - 2U); + ppppplVar14 = (longlong *****)local_res20; + if ((longlong *****)local_res20 == (longlong *****)0x0) { + ppppplVar14 = (longlong *****)PTR_DAT_14016f010; + } + local_res20 = (longlong ****)ppppplVar14; + if ((longlong *****)*local_358 != ppppplVar14) { + ppppplVar14 = (longlong *****)FUN_14003e7c0(ppppplVar14,PTR_DAT_14016f010,uVar22,param_4); + local_2f8 = (longlong ****)ppppplVar14; + FUN_14003d040((int *)ppppplVar14); + pppplVar4 = local_res20; + local_2f0 = CONCAT31(local_2f0._1_3_,1); + if ((((longlong *****)local_res20 != (longlong *****)0x0) && + (local_res20 != (longlong ****)PTR_DAT_14016f010)) && + (ppppplVar17 = (longlong *****)(local_res20 + -1), ppppplVar17 != (longlong *****)0x0)) + { + ppuVar15 = (undefined **)FUN_14003e7c0(local_res20,PTR_DAT_14016f010,uVar22,param_4); + local_2d0 = ppuVar15; + FUN_14003d040((int *)ppuVar15); + local_2c8 = CONCAT31(local_2c8._1_3_,1); + piVar1 = (int *)((longlong)pppplVar4 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(ppppplVar17); + } + FUN_14003d0d0((longlong)ppuVar15); + } + local_res20 = (longlong ****)*local_358; + if (((local_res20 != (longlong ****)PTR_DAT_14016f010) && + ((longlong *****)local_res20 != (longlong *****)0x0)) && + ((longlong *****)local_res20 != (longlong *****)0x8)) { + *(int *)((longlong)local_res20 + -4) = *(int *)((longlong)local_res20 + -4) + 1; + } + FUN_14003d0d0((longlong)ppppplVar14); + } + if (((local_148 != (undefined *)0x0) && (local_148 != PTR_DAT_14016f010)) && + (local_148 + -8 != (undefined *)0x0)) { + ppppplVar14 = (longlong *****)FUN_14003e7c0(ppppplVar14,PTR_DAT_14016f010,uVar22,param_4); + local_2f8 = (longlong ****)ppppplVar14; + FUN_14003d040((int *)ppppplVar14); + local_2f0 = CONCAT31(local_2f0._1_3_,1); + piVar1 = (int *)(local_148 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(local_148 + -8); + } + FUN_14003d0d0((longlong)ppppplVar14); + } + local_350 = (longlong ****)&local_230; + puVar16 = PTR_DAT_14016f010; + local_148 = PTR_DAT_14016f010; + FUN_14003e7c0(ppppplVar14,PTR_DAT_14016f010,uVar22,param_4); + local_230 = (longlong ****)PTR_DAT_14016f010; + if (PTR_DAT_14016f010 == (undefined *)0x0) { + local_230 = (longlong ****)(longlong *****)0x0; + } + if (local_res20 != (longlong ****)PTR_DAT_14016f010) { + ppppplVar14 = (longlong *****)FUN_14003e7c0(ppppplVar14,puVar16,uVar22,param_4); + local_2f8 = (longlong ****)ppppplVar14; + FUN_14003d040((int *)ppppplVar14); + local_2f0 = CONCAT31(local_2f0._1_3_,1); + FUN_140002190((longlong *)&local_230,puVar16,uVar22,param_4); + local_230 = local_res20; + if (((local_res20 != (longlong ****)PTR_DAT_14016f010) && + ((longlong *****)local_res20 != (longlong *****)0x0)) && + ((longlong *****)local_res20 != (longlong *****)0x8)) { + *(int *)((longlong)local_res20 + -4) = *(int *)((longlong)local_res20 + -4) + 1; + } + FUN_14003d0d0((longlong)ppppplVar14); + } + puVar13 = PTR_DAT_14016f8c8; + FUN_14003e7c0(ppppplVar14,puVar16,uVar22,param_4); + local_170 = PTR_DAT_14016f010; + iVar6 = FUN_14003e620((short *)puVar13); + puVar16 = FUN_140001ee0((longlong *)&local_170,iVar6); + FUN_14003e650(puVar16,puVar13,iVar6); + FUN_140001fc0((longlong *)&local_170); + (**(code **)(*param_1 + 0x28))(param_1,0xfa01,&local_170,&local_230); + plVar21 = (longlong *)param_1[2]; + uVar9 = 0xfa01; + uVar22 = (ulonglong)uVar2; + puVar16 = PTR_DAT_14016f8c8; + (**(code **)(*plVar21 + 0x70))(); + pppplVar4 = local_res20; + if ((((longlong *****)local_res20 != (longlong *****)0x0) && + (local_res20 != (longlong ****)PTR_DAT_14016f010)) && + (ppppplVar14 = (longlong *****)(local_res20 + -1), ppppplVar14 != (longlong *****)0x0)) { + ppppplVar17 = (longlong *****)FUN_14003e7c0(plVar21,uVar22,uVar9,puVar16); + local_2f8 = (longlong ****)ppppplVar17; + FUN_14003d040((int *)ppppplVar17); + local_2f0 = CONCAT31(local_2f0._1_3_,1); + piVar1 = (int *)((longlong)pppplVar4 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(ppppplVar14); + } + FUN_14003d0d0((longlong)ppppplVar17); + } + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_320 = (int *)CONCAT44(local_320._4_4_,0xfa01); + local_318 = PTR_DAT_14016f8c8; + local_310 = uVar2; + local_308 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_320); + DVar7 = GetTickCount(); + } + uVar9 = (**(code **)(*param_1 + 0x38))(param_1,uVar2,local_2b8,local_res10); + if ((char)uVar9 == '\0') { + uVar9 = (**(code **)(*(longlong *)param_1[2] + 0x40)) + ((longlong *)param_1[2],PTR_DAT_14016f8c8); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_348 = (undefined **)CONCAT44(local_348._4_4_,0xfa01); + local_340 = PTR_DAT_14016f8c8; +LAB_1400558b5: + local_338 = CONCAT44(local_338._4_4_,uVar2); + local_330 = param_3; + DVar8 = GetTickCount(); + local_328 = CONCAT44(local_328._4_4_,DVar8 - DVar7); + uVar9 = (**(code **)(*param_1 + 0x18))(param_1,&local_348); + } + break; + case 0xfa02: + FUN_140049b40(local_2b8); + local_2b4 = param_2[10]; + local_2b8[0] = (undefined1)param_2[0x10]; + FUN_140075970(param_2,(undefined4 *)&local_res20,SVar28,param_4); + uVar9 = FUN_140074ee0(param_2,&local_358,4); + uVar23 = (uint)local_res10[0]; + if ((char)uVar9 != '\0') { + uVar23 = local_358._0_4_; + } + local_res10[0] = (longlong ****)CONCAT44(local_res10[0]._4_4_,uVar23); + plVar21 = (longlong *)param_1[2]; + puVar16 = PTR_DAT_14016f8d0; + (**(code **)(*plVar21 + 0x48))(); + DVar7 = 0; + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar2,0xfa02,PTR_DAT_14016f8d0,&DAT_140131724); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar21,param_2,puVar16,param_4); + local_358 = (longlong ****)PTR_DAT_14016f010; + local_158 = (uint)local_res20; + FUN_1400926b0((longlong *)&local_358); + FUN_140029bf0((longlong *)&local_358,(short *)&DAT_140133350); + psVar10 = (short *)FUN_140071b40((uint)local_res10[0]); + FUN_140029bf0((longlong *)&local_358,psVar10); + FUN_140029bf0((longlong *)&local_358,(short *)&DAT_140133350); + iVar6 = 0; + if (((longlong *****)local_358 != (longlong *****)0x0) && + (local_358 != (longlong ****)PTR_DAT_14016f010)) { + iVar6 = *(int *)(local_358 + -1); + } + uVar22 = (ulonglong)(iVar6 - 2U); + local_2e8 = (undefined **) + FUN_140028f40((longlong *)&local_358,(longlong *)&local_140,iVar6 - 2U); + ppppplVar14 = (longlong *****)local_358; + if ((longlong *****)local_358 == (longlong *****)0x0) { + ppppplVar14 = (longlong *****)PTR_DAT_14016f010; + } + local_358 = (longlong ****)ppppplVar14; + if ((longlong *****)*local_2e8 != ppppplVar14) { + ppppplVar14 = (longlong *****)FUN_14003e7c0(ppppplVar14,PTR_DAT_14016f010,uVar22,param_4); + local_2f8 = (longlong ****)ppppplVar14; + FUN_14003d040((int *)ppppplVar14); + pppplVar4 = local_358; + local_2f0 = CONCAT31(local_2f0._1_3_,1); + if ((((longlong *****)local_358 != (longlong *****)0x0) && + (local_358 != (longlong ****)PTR_DAT_14016f010)) && + (ppppplVar17 = (longlong *****)(local_358 + -1), ppppplVar17 != (longlong *****)0x0)) { + ppuVar15 = (undefined **)FUN_14003e7c0(local_358,PTR_DAT_14016f010,uVar22,param_4); + local_2d0 = ppuVar15; + FUN_14003d040((int *)ppuVar15); + local_2c8 = CONCAT31(local_2c8._1_3_,1); + piVar1 = (int *)((longlong)pppplVar4 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(ppppplVar17); + } + FUN_14003d0d0((longlong)ppuVar15); + } + local_358 = (longlong ****)*local_2e8; + if (((local_358 != (longlong ****)PTR_DAT_14016f010) && + ((longlong *****)local_358 != (longlong *****)0x0)) && + ((longlong *****)local_358 != (longlong *****)0x8)) { + *(int *)((longlong)local_358 + -4) = *(int *)((longlong)local_358 + -4) + 1; + } + FUN_14003d0d0((longlong)ppppplVar14); + } + if (((local_140 != (undefined *)0x0) && (local_140 != PTR_DAT_14016f010)) && + (local_140 + -8 != (undefined *)0x0)) { + ppppplVar14 = (longlong *****)FUN_14003e7c0(ppppplVar14,PTR_DAT_14016f010,uVar22,param_4); + local_2f8 = (longlong ****)ppppplVar14; + FUN_14003d040((int *)ppppplVar14); + local_2f0 = CONCAT31(local_2f0._1_3_,1); + piVar1 = (int *)(local_140 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(local_140 + -8); + } + FUN_14003d0d0((longlong)ppppplVar14); + } + local_350 = (longlong ****)&local_250; + puVar16 = PTR_DAT_14016f010; + local_140 = PTR_DAT_14016f010; + FUN_14003e7c0(ppppplVar14,PTR_DAT_14016f010,uVar22,param_4); + local_250 = (longlong ****)PTR_DAT_14016f010; + if (PTR_DAT_14016f010 == (undefined *)0x0) { + local_250 = (longlong ****)(longlong *****)0x0; + } + if (local_358 != (longlong ****)PTR_DAT_14016f010) { + ppppplVar14 = (longlong *****)FUN_14003e7c0(ppppplVar14,puVar16,uVar22,param_4); + local_2f8 = (longlong ****)ppppplVar14; + FUN_14003d040((int *)ppppplVar14); + local_2f0 = CONCAT31(local_2f0._1_3_,1); + FUN_140002190((longlong *)&local_250,puVar16,uVar22,param_4); + local_250 = local_358; + if (((local_358 != (longlong ****)PTR_DAT_14016f010) && + ((longlong *****)local_358 != (longlong *****)0x0)) && + ((longlong *****)local_358 != (longlong *****)0x8)) { + *(int *)((longlong)local_358 + -4) = *(int *)((longlong)local_358 + -4) + 1; + } + FUN_14003d0d0((longlong)ppppplVar14); + } + puVar13 = PTR_DAT_14016f8d0; + FUN_14003e7c0(ppppplVar14,puVar16,uVar22,param_4); + local_200 = PTR_DAT_14016f010; + iVar6 = FUN_14003e620((short *)puVar13); + puVar16 = FUN_140001ee0((longlong *)&local_200,iVar6); + FUN_14003e650(puVar16,puVar13,iVar6); + FUN_140001fc0((longlong *)&local_200); + (**(code **)(*param_1 + 0x28))(param_1,0xfa02,&local_200,&local_250); + plVar21 = (longlong *)param_1[2]; + uVar9 = 0xfa02; + uVar22 = (ulonglong)uVar2; + puVar16 = PTR_DAT_14016f8d0; + (**(code **)(*plVar21 + 0x70))(); + pppplVar4 = local_358; + if ((((longlong *****)local_358 != (longlong *****)0x0) && + (local_358 != (longlong ****)PTR_DAT_14016f010)) && + (ppppplVar14 = (longlong *****)(local_358 + -1), ppppplVar14 != (longlong *****)0x0)) { + ppppplVar17 = (longlong *****)FUN_14003e7c0(plVar21,uVar22,uVar9,puVar16); + local_2f8 = (longlong ****)ppppplVar17; + FUN_14003d040((int *)ppppplVar17); + local_2f0 = CONCAT31(local_2f0._1_3_,1); + piVar1 = (int *)((longlong)pppplVar4 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(ppppplVar14); + } + FUN_14003d0d0((longlong)ppppplVar17); + } + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_320 = (int *)CONCAT44(local_320._4_4_,0xfa02); + local_318 = PTR_DAT_14016f8d0; + local_310 = uVar2; + local_308 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_320); + DVar7 = GetTickCount(); + } + uVar9 = (**(code **)(*param_1 + 0x40))(param_1,uVar2,local_2b8,&local_res20,local_res10); + if ((char)uVar9 == '\0') { + uVar9 = (**(code **)(*(longlong *)param_1[2] + 0x40)) + ((longlong *)param_1[2],PTR_DAT_14016f8d0); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_348 = (undefined **)CONCAT44(local_348._4_4_,0xfa02); + local_340 = PTR_DAT_14016f8d0; + goto LAB_1400558b5; + } + break; + case 0xfa03: + FUN_140049b40(local_2b8); + local_2b4 = param_2[10]; + local_2b8[0] = (undefined1)param_2[0x10]; + plVar21 = (longlong *)param_1[2]; + puVar16 = PTR_DAT_14016f8d8; + (**(code **)(*plVar21 + 0x48))(); + DVar7 = 0; + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar2,0xfa03,PTR_DAT_14016f8d8,&DAT_140131724); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar21,param_2,puVar16,param_4); + ppppplVar14 = (longlong *****)PTR_DAT_14016f010; + local_res10[0] = (longlong ****)PTR_DAT_14016f010; + uVar9 = 0xfffffffe; + ppuVar15 = &local_150; + local_res20 = (longlong ****) + FUN_140028f40((longlong *)local_res10,(longlong *)ppuVar15,0xfffffffe); + if (ppppplVar14 == (longlong *****)0x0) { + ppppplVar14 = (longlong *****)PTR_DAT_14016f010; + } + local_res10[0] = (longlong ****)ppppplVar14; + if ((longlong *****)*local_res20 != ppppplVar14) { + ppppplVar11 = (longlong *****)FUN_14003e7c0(PTR_DAT_14016f010,ppuVar15,uVar9,param_4); + ppppplVar17 = ppppplVar11; + local_2f8 = (longlong ****)ppppplVar11; + FUN_14003d040((int *)ppppplVar11); + local_2f0 = CONCAT31(local_2f0._1_3_,1); + if (((ppppplVar14 != (longlong *****)0x0) && + (ppppplVar14 != (longlong *****)PTR_DAT_14016f010)) && + (ppppplVar14 + -1 != (longlong *****)0x0)) { + ppuVar12 = (undefined **)FUN_14003e7c0(ppppplVar17,ppuVar15,uVar9,param_4); + local_2d0 = ppuVar12; + FUN_14003d040((int *)ppuVar12); + local_2c8 = CONCAT31(local_2c8._1_3_,1); + piVar1 = (int *)((longlong)ppppplVar14 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(ppppplVar14 + -1); + } + FUN_14003d0d0((longlong)ppuVar12); + } + ppppplVar14 = (longlong *****)*local_res20; + if (((ppppplVar14 != (longlong *****)PTR_DAT_14016f010) && + (ppppplVar14 != (longlong *****)0x0)) && (ppppplVar14 != (longlong *****)0x8)) { + *(int *)((longlong)ppppplVar14 + -4) = *(int *)((longlong)ppppplVar14 + -4) + 1; + } + local_res10[0] = (longlong ****)ppppplVar14; + FUN_14003d0d0((longlong)ppppplVar11); + } + if (((local_150 != (undefined *)0x0) && (local_150 != PTR_DAT_14016f010)) && + (local_150 + -8 != (undefined *)0x0)) { + ppppplVar17 = (longlong *****)FUN_14003e7c0(PTR_DAT_14016f010,ppuVar15,uVar9,param_4); + local_2f8 = (longlong ****)ppppplVar17; + FUN_14003d040((int *)ppppplVar17); + local_2f0 = CONCAT31(local_2f0._1_3_,1); + piVar1 = (int *)(local_150 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(local_150 + -8); + } + FUN_14003d0d0((longlong)ppppplVar17); + } + local_res20 = (longlong ****)&local_248; + ppppplVar17 = (longlong *****)PTR_DAT_14016f010; + local_150 = PTR_DAT_14016f010; + FUN_14003e7c0(PTR_DAT_14016f010,ppuVar15,uVar9,param_4); + local_248 = (longlong ****)PTR_DAT_14016f010; + if (PTR_DAT_14016f010 == (undefined *)0x0) { + local_248 = (longlong ****)(longlong *****)0x0; + } + if (ppppplVar14 != (longlong *****)PTR_DAT_14016f010) { + ppppplVar17 = (longlong *****)FUN_14003e7c0(ppppplVar17,ppuVar15,uVar9,param_4); + local_2f8 = (longlong ****)ppppplVar17; + FUN_14003d040((int *)ppppplVar17); + local_2f0 = CONCAT31(local_2f0._1_3_,1); + FUN_140002190((longlong *)&local_248,ppuVar15,uVar9,param_4); + if (((ppppplVar14 != (longlong *****)PTR_DAT_14016f010) && + (ppppplVar14 != (longlong *****)0x0)) && (ppppplVar14 != (longlong *****)0x8)) { + *(int *)((longlong)ppppplVar14 + -4) = *(int *)((longlong)ppppplVar14 + -4) + 1; + } + local_248 = (longlong ****)ppppplVar14; + FUN_14003d0d0((longlong)ppppplVar17); + } + puVar16 = PTR_DAT_14016f8d8; + FUN_14003e7c0(ppppplVar17,ppuVar15,uVar9,param_4); + local_1a8 = PTR_DAT_14016f010; + iVar6 = FUN_14003e620((short *)puVar16); + puVar13 = FUN_140001ee0((longlong *)&local_1a8,iVar6); + FUN_14003e650(puVar13,puVar16,iVar6); + FUN_140001fc0((longlong *)&local_1a8); + (**(code **)(*param_1 + 0x28))(param_1,0xfa03,&local_1a8,&local_248); + plVar21 = (longlong *)param_1[2]; + uVar9 = 0xfa03; + uVar22 = (ulonglong)uVar2; + puVar16 = PTR_DAT_14016f8d8; + (**(code **)(*plVar21 + 0x70))(); + if (((ppppplVar14 != (longlong *****)0x0) && + (ppppplVar14 != (longlong *****)PTR_DAT_14016f010)) && + (ppppplVar14 + -1 != (longlong *****)0x0)) { + ppppplVar17 = (longlong *****)FUN_14003e7c0(plVar21,uVar22,uVar9,puVar16); + local_2f8 = (longlong ****)ppppplVar17; + FUN_14003d040((int *)ppppplVar17); + local_2f0 = CONCAT31(local_2f0._1_3_,1); + piVar1 = (int *)((longlong)ppppplVar14 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(ppppplVar14 + -1); + } + FUN_14003d0d0((longlong)ppppplVar17); + } + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_320 = (int *)CONCAT44(local_320._4_4_,0xfa03); + local_318 = PTR_DAT_14016f8d8; + local_310 = uVar2; + local_308 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_320); + DVar7 = GetTickCount(); + } + uVar9 = (**(code **)(*param_1 + 0x48))(param_1,uVar2,local_2b8); + if ((char)uVar9 == '\0') { + uVar9 = (**(code **)(*(longlong *)param_1[2] + 0x40)) + ((longlong *)param_1[2],PTR_DAT_14016f8d8); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_348 = (undefined **)CONCAT44(local_348._4_4_,0xfa03); + local_340 = PTR_DAT_14016f8d8; + goto LAB_1400558b5; + } + break; + case 0xfa04: + FUN_140049b40(local_2b8); + local_2b4 = param_2[10]; + local_2b8[0] = (undefined1)param_2[0x10]; + FUN_140075970(param_2,(undefined4 *)&local_358,SVar28,param_4); + FUN_140075970(param_2,(undefined4 *)&local_2e8,SVar28,param_4); + uVar9 = FUN_140074ee0(param_2,&local_res20,4); + if ((char)uVar9 != '\0') { + local_2d8[0] = (uint)local_res20; + } + uVar9 = FUN_140074ee0(param_2,&local_res20,1); + uVar25 = (byte)local_res10[0]; + if ((char)uVar9 != '\0') { + uVar25 = local_res20._0_1_; + } + local_res10[0] = (longlong ****)CONCAT71(local_res10[0]._1_7_,uVar25); + plVar21 = (longlong *)param_1[2]; + puVar16 = PTR_DAT_14016f8e0; + (**(code **)(*plVar21 + 0x48))(); + DVar7 = 0; + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar2,0xfa04,PTR_DAT_14016f8e0,&DAT_140131724); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar21,param_2,puVar16,param_4); + local_res20 = (longlong ****)PTR_DAT_14016f010; + local_1b0 = local_358._0_4_; + FUN_1400926b0((longlong *)&local_res20); + FUN_140029bf0((longlong *)&local_res20,(short *)&DAT_140133350); + local_210 = local_2e8._0_4_; + FUN_1400926b0((longlong *)&local_res20); + FUN_140029bf0((longlong *)&local_res20,(short *)&DAT_140133350); + FUN_140092710((longlong *)&local_res20); + FUN_140029bf0((longlong *)&local_res20,(short *)&DAT_140133350); + FUN_1400925d0((longlong *)&local_res20,(char *)local_res10); + FUN_140029bf0((longlong *)&local_res20,(short *)&DAT_140133350); + iVar6 = 0; + if (((longlong *****)local_res20 != (longlong *****)0x0) && + (local_res20 != (longlong ****)PTR_DAT_14016f010)) { + iVar6 = *(int *)(local_res20 + -1); + } + uVar22 = (ulonglong)(iVar6 - 2U); + local_350 = (longlong ****) + FUN_140028f40((longlong *)&local_res20,(longlong *)&local_138,iVar6 - 2U); + ppppplVar14 = (longlong *****)local_res20; + if ((longlong *****)local_res20 == (longlong *****)0x0) { + ppppplVar14 = (longlong *****)PTR_DAT_14016f010; + } + local_res20 = (longlong ****)ppppplVar14; + if ((longlong *****)*local_350 != ppppplVar14) { + ppppplVar14 = (longlong *****)FUN_14003e7c0(ppppplVar14,PTR_DAT_14016f010,uVar22,param_4); + local_2f8 = (longlong ****)ppppplVar14; + FUN_14003d040((int *)ppppplVar14); + pppplVar4 = local_res20; + local_2f0 = CONCAT31(local_2f0._1_3_,1); + if ((((longlong *****)local_res20 != (longlong *****)0x0) && + (local_res20 != (longlong ****)PTR_DAT_14016f010)) && + (ppppplVar17 = (longlong *****)(local_res20 + -1), ppppplVar17 != (longlong *****)0x0)) + { + ppuVar15 = (undefined **)FUN_14003e7c0(local_res20,PTR_DAT_14016f010,uVar22,param_4); + local_2d0 = ppuVar15; + FUN_14003d040((int *)ppuVar15); + local_2c8 = CONCAT31(local_2c8._1_3_,1); + piVar1 = (int *)((longlong)pppplVar4 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(ppppplVar17); + } + FUN_14003d0d0((longlong)ppuVar15); + } + local_res20 = (longlong ****)*local_350; + if (((local_res20 != (longlong ****)PTR_DAT_14016f010) && + ((longlong *****)local_res20 != (longlong *****)0x0)) && + ((longlong *****)local_res20 != (longlong *****)0x8)) { + *(int *)((longlong)local_res20 + -4) = *(int *)((longlong)local_res20 + -4) + 1; + } + FUN_14003d0d0((longlong)ppppplVar14); + } + if (((local_138 != (undefined *)0x0) && (local_138 != PTR_DAT_14016f010)) && + (local_138 + -8 != (undefined *)0x0)) { + ppppplVar14 = (longlong *****)FUN_14003e7c0(ppppplVar14,PTR_DAT_14016f010,uVar22,param_4); + local_2f8 = (longlong ****)ppppplVar14; + FUN_14003d040((int *)ppppplVar14); + local_2f0 = CONCAT31(local_2f0._1_3_,1); + piVar1 = (int *)(local_138 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(local_138 + -8); + } + FUN_14003d0d0((longlong)ppppplVar14); + } + local_350 = (longlong ****)&local_258; + puVar16 = PTR_DAT_14016f010; + local_138 = PTR_DAT_14016f010; + FUN_14003e7c0(ppppplVar14,PTR_DAT_14016f010,uVar22,param_4); + local_258 = (longlong ****)PTR_DAT_14016f010; + if (PTR_DAT_14016f010 == (undefined *)0x0) { + local_258 = (longlong ****)(longlong *****)0x0; + } + if (local_res20 != (longlong ****)PTR_DAT_14016f010) { + ppppplVar14 = (longlong *****)FUN_14003e7c0(ppppplVar14,puVar16,uVar22,param_4); + local_2f8 = (longlong ****)ppppplVar14; + FUN_14003d040((int *)ppppplVar14); + local_2f0 = CONCAT31(local_2f0._1_3_,1); + FUN_140002190((longlong *)&local_258,puVar16,uVar22,param_4); + local_258 = local_res20; + if (((local_res20 != (longlong ****)PTR_DAT_14016f010) && + ((longlong *****)local_res20 != (longlong *****)0x0)) && + ((longlong *****)local_res20 != (longlong *****)0x8)) { + *(int *)((longlong)local_res20 + -4) = *(int *)((longlong)local_res20 + -4) + 1; + } + FUN_14003d0d0((longlong)ppppplVar14); + } + puVar13 = PTR_DAT_14016f8e0; + FUN_14003e7c0(ppppplVar14,puVar16,uVar22,param_4); + local_1f0 = PTR_DAT_14016f010; + iVar6 = FUN_14003e620((short *)puVar13); + puVar16 = FUN_140001ee0((longlong *)&local_1f0,iVar6); + FUN_14003e650(puVar16,puVar13,iVar6); + FUN_140001fc0((longlong *)&local_1f0); + (**(code **)(*param_1 + 0x28))(param_1,0xfa04,&local_1f0,&local_258); + plVar21 = (longlong *)param_1[2]; + uVar9 = 0xfa04; + uVar22 = (ulonglong)uVar2; + puVar16 = PTR_DAT_14016f8e0; + (**(code **)(*plVar21 + 0x70))(); + pppplVar4 = local_res20; + if ((((longlong *****)local_res20 != (longlong *****)0x0) && + (local_res20 != (longlong ****)PTR_DAT_14016f010)) && + (ppppplVar14 = (longlong *****)(local_res20 + -1), ppppplVar14 != (longlong *****)0x0)) { + ppppplVar17 = (longlong *****)FUN_14003e7c0(plVar21,uVar22,uVar9,puVar16); + local_2f8 = (longlong ****)ppppplVar17; + FUN_14003d040((int *)ppppplVar17); + local_2f0 = CONCAT31(local_2f0._1_3_,1); + piVar1 = (int *)((longlong)pppplVar4 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(ppppplVar14); + } + FUN_14003d0d0((longlong)ppppplVar17); + } + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_320 = (int *)CONCAT44(local_320._4_4_,0xfa04); + local_318 = PTR_DAT_14016f8e0; + local_310 = uVar2; + local_308 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_320); + DVar7 = GetTickCount(); + } + uVar9 = (**(code **)(*param_1 + 0x50)) + (param_1,uVar2,local_2b8,&local_358,&local_2e8,local_2d8,local_res10); + if ((char)uVar9 == '\0') { + uVar9 = (**(code **)(*(longlong *)param_1[2] + 0x40)) + ((longlong *)param_1[2],PTR_DAT_14016f8e0); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_348 = (undefined **)CONCAT44(local_348._4_4_,0xfa04); + local_340 = PTR_DAT_14016f8e0; + goto LAB_1400558b5; + } + break; + case 0xfa05: + FUN_140049b40(local_2b8); + local_2b4 = param_2[10]; + local_2b8[0] = (undefined1)param_2[0x10]; + FUN_140075970(param_2,(undefined4 *)&local_358,SVar28,param_4); + FUN_140075970(param_2,(undefined4 *)&local_res20,SVar28,param_4); + local_2f8 = (longlong ****)Proud::AddrPort::vftable; + DVar7 = 0; + local_2f0 = 0; + local_2ec = 0; + uVar9 = FUN_140074ee0(param_2,local_res10,4); + if ((char)uVar9 != '\0') { + local_2f0 = (uint)local_res10[0]; + } + uVar9 = FUN_140074ee0(param_2,local_res10,2); + if ((char)uVar9 != '\0') { + local_2ec = local_res10[0]._0_2_; + } + local_2d0 = Proud::AddrPort::vftable; + local_2c8 = 0; + local_2c4 = 0; + uVar9 = FUN_140074ee0(param_2,local_res10,4); + if ((char)uVar9 != '\0') { + local_2c8 = (uint)local_res10[0]; + } + uVar9 = FUN_140074ee0(param_2,local_res10,2); + if ((char)uVar9 != '\0') { + local_2c4 = local_res10[0]._0_2_; + } + local_240 = Proud::AddrPort::vftable; + local_238 = 0; + local_234 = 0; + uVar9 = FUN_140074ee0(param_2,local_res10,4); + if ((char)uVar9 != '\0') { + local_238 = (uint)local_res10[0]; + } + uVar9 = FUN_140074ee0(param_2,local_res10,2); + if ((char)uVar9 != '\0') { + local_234 = local_res10[0]._0_2_; + } + local_2e8 = Proud::AddrPort::vftable; + local_2e0 = 0; + local_2dc = 0; + uVar9 = FUN_140074ee0(param_2,local_res10,4); + if ((char)uVar9 != '\0') { + local_2e0 = (uint)local_res10[0]; + } + uVar9 = FUN_140074ee0(param_2,local_res10,2); + if ((char)uVar9 != '\0') { + local_2dc = local_res10[0]._0_2_; + } + plVar21 = (longlong *)param_1[2]; + puVar16 = PTR_DAT_14016f8e8; + (**(code **)(*plVar21 + 0x48))(); + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar2,0xfa05,PTR_DAT_14016f8e8,&DAT_140131724); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar21,param_2,puVar16,param_4); + local_res10[0] = (longlong ****)PTR_DAT_14016f010; + local_17c = local_358._0_4_; + FUN_1400926b0((longlong *)local_res10); + FUN_140029bf0((longlong *)local_res10,(short *)&DAT_140133350); + local_1ac = (uint)local_res20; + FUN_1400926b0((longlong *)local_res10); + FUN_140029bf0((longlong *)local_res10,(short *)&DAT_140133350); + plVar21 = (longlong *)(*(code *)*local_2f8)(&local_2f8,&local_350); + ppppplVar14 = local_res10; + FUN_140029980((longlong *)ppppplVar14,plVar21); + pppplVar4 = local_350; + if ((((longlong *****)local_350 != (longlong *****)0x0) && + (local_350 != (longlong ****)PTR_DAT_14016f010)) && + (ppppplVar17 = (longlong *****)(local_350 + -1), ppppplVar17 != (longlong *****)0x0)) { + piVar18 = (int *)FUN_14003e7c0(ppppplVar14,plVar21,puVar16,param_4); + local_320 = piVar18; + FUN_14003d040(piVar18); + local_318 = (undefined *)CONCAT71(local_318._1_7_,1); + piVar1 = (int *)((longlong)pppplVar4 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(ppppplVar17); + } + FUN_14003d0d0((longlong)piVar18); + } + FUN_140029bf0((longlong *)local_res10,(short *)&DAT_140133350); + plVar21 = (longlong *)(*(code *)*local_2d0)(&local_2d0,&local_350); + ppppplVar14 = local_res10; + FUN_140029980((longlong *)ppppplVar14,plVar21); + pppplVar4 = local_350; + if ((((longlong *****)local_350 != (longlong *****)0x0) && + (local_350 != (longlong ****)PTR_DAT_14016f010)) && + (ppppplVar17 = (longlong *****)(local_350 + -1), ppppplVar17 != (longlong *****)0x0)) { + piVar18 = (int *)FUN_14003e7c0(ppppplVar14,plVar21,puVar16,param_4); + local_320 = piVar18; + FUN_14003d040(piVar18); + local_318 = (undefined *)CONCAT71(local_318._1_7_,1); + piVar1 = (int *)((longlong)pppplVar4 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(ppppplVar17); + } + FUN_14003d0d0((longlong)piVar18); + } + FUN_140029bf0((longlong *)local_res10,(short *)&DAT_140133350); + plVar21 = (longlong *)(*(code *)*local_240)(&local_240,&local_350); + ppppplVar14 = local_res10; + FUN_140029980((longlong *)ppppplVar14,plVar21); + pppplVar4 = local_350; + if ((((longlong *****)local_350 != (longlong *****)0x0) && + (local_350 != (longlong ****)PTR_DAT_14016f010)) && + (ppppplVar17 = (longlong *****)(local_350 + -1), ppppplVar17 != (longlong *****)0x0)) { + piVar18 = (int *)FUN_14003e7c0(ppppplVar14,plVar21,puVar16,param_4); + local_320 = piVar18; + FUN_14003d040(piVar18); + local_318 = (undefined *)CONCAT71(local_318._1_7_,1); + piVar1 = (int *)((longlong)pppplVar4 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(ppppplVar17); + } + FUN_14003d0d0((longlong)piVar18); + } + FUN_140029bf0((longlong *)local_res10,(short *)&DAT_140133350); + plVar21 = (longlong *)(*(code *)*local_2e8)(&local_2e8,&local_350); + ppppplVar14 = local_res10; + FUN_140029980((longlong *)ppppplVar14,plVar21); + if ((((longlong *****)local_350 != (longlong *****)0x0) && + (local_350 != (longlong ****)PTR_DAT_14016f010)) && + ((longlong *****)(local_350 + -1) != (longlong *****)0x0)) { + piVar18 = (int *)FUN_14003e7c0(ppppplVar14,plVar21,puVar16,param_4); + local_320 = piVar18; + FUN_14003d040(piVar18); + local_318 = (undefined *)CONCAT71(local_318._1_7_,1); + piVar1 = (int *)((longlong)local_350 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(local_350 + -1); + } + FUN_14003d0d0((longlong)piVar18); + } + FUN_140029bf0((longlong *)local_res10,(short *)&DAT_140133350); + iVar6 = 0; + if (((longlong *****)local_res10[0] != (longlong *****)0x0) && + (local_res10[0] != (longlong ****)PTR_DAT_14016f010)) { + iVar6 = *(int *)(local_res10[0] + -1); + } + uVar22 = (ulonglong)(iVar6 - 2U); + plVar20 = FUN_140028f40((longlong *)local_res10,&local_d0,iVar6 - 2U); + FUN_1400020c0((longlong *)local_res10,plVar20,uVar22,param_4); + plVar21 = &local_d0; + FUN_140002190(plVar21,plVar20,uVar22,param_4); + local_350 = &local_228; + FUN_14003e7c0(plVar21,plVar20,uVar22,param_4); + local_228 = (longlong ***)PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_228,(longlong *)local_res10,uVar22,param_4); + plVar21 = FUN_140002040(&local_90,(short *)PTR_DAT_14016f8e8,0,param_4); + (**(code **)(*param_1 + 0x28))(param_1,0xfa05,plVar21,&local_228); + uVar9 = 0xfa05; + uVar22 = (ulonglong)uVar2; + puVar16 = PTR_DAT_14016f8e8; + (**(code **)(*(longlong *)param_1[2] + 0x70))(); + FUN_140002190((longlong *)local_res10,uVar22,uVar9,puVar16); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_320 = (int *)CONCAT44(local_320._4_4_,0xfa05); + local_318 = PTR_DAT_14016f8e8; + local_310 = uVar2; + local_308 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_320); + DVar7 = GetTickCount(); + } + uVar9 = (**(code **)(*param_1 + 0x58)) + (param_1,uVar2,local_2b8,&local_358,&local_res20,&local_2f8,&local_2d0, + &local_240,&local_2e8); + if ((char)uVar9 == '\0') { + uVar9 = (**(code **)(*(longlong *)param_1[2] + 0x40)) + ((longlong *)param_1[2],PTR_DAT_14016f8e8); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_348 = (undefined **)CONCAT44(local_348._4_4_,0xfa05); + local_340 = PTR_DAT_14016f8e8; + goto LAB_1400558b5; + } + break; + case 0xfa06: + FUN_140049b40(local_2b8); + local_2b4 = param_2[10]; + local_2b8[0] = (undefined1)param_2[0x10]; + DVar8 = 0; + DVar7 = 0; + local_340 = (undefined *)0x0; + local_338 = 0; + local_330 = 0; + local_328 = 0; + local_348 = Proud::ByteArray::vftable; + FUN_14004d6f0(param_2,(longlong)&local_348,SVar28,param_4); + plVar21 = (longlong *)param_1[2]; + puVar16 = PTR_DAT_14016f8f0; + (**(code **)(*plVar21 + 0x48))(); + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar2,0xfa06,PTR_DAT_14016f8f0,&DAT_140131724); + goto LAB_140053787; + } + } + else { + DVar7 = DVar8; + if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar21,param_2,puVar16,param_4); + local_res10[0] = (longlong ****)PTR_DAT_14016f010; + FUN_1400928f0((longlong *)local_res10); + FUN_140029bf0((longlong *)local_res10,(short *)&DAT_140133350); + iVar6 = 0; + if (((longlong *****)local_res10[0] != (longlong *****)0x0) && + (local_res10[0] != (longlong ****)PTR_DAT_14016f010)) { + iVar6 = *(int *)(local_res10[0] + -1); + } + uVar22 = (ulonglong)(iVar6 - 2U); + plVar20 = FUN_140028f40((longlong *)local_res10,&local_c0,iVar6 - 2U); + FUN_1400020c0((longlong *)local_res10,plVar20,uVar22,param_4); + plVar21 = &local_c0; + FUN_140002190(plVar21,plVar20,uVar22,param_4); + local_res20 = &local_1e0; + FUN_14003e7c0(plVar21,plVar20,uVar22,param_4); + local_1e0 = (longlong ***)PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_1e0,(longlong *)local_res10,uVar22,param_4); + plVar21 = FUN_140002040(&local_80,(short *)PTR_DAT_14016f8f0,0,param_4); + (**(code **)(*param_1 + 0x28))(param_1,0xfa06,plVar21,&local_1e0); + uVar9 = 0xfa06; + uVar22 = (ulonglong)uVar2; + puVar16 = PTR_DAT_14016f8f0; + (**(code **)(*(longlong *)param_1[2] + 0x70))(); + FUN_140002190((longlong *)local_res10,uVar22,uVar9,puVar16); +LAB_140053787: + DVar7 = DVar8; + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_320 = (int *)CONCAT44(local_320._4_4_,0xfa06); + local_318 = PTR_DAT_14016f8f0; + local_310 = uVar2; + local_308 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_320); + DVar7 = GetTickCount(); + } + } + } + cVar5 = (**(code **)(*param_1 + 0x60))(param_1,uVar2,local_2b8,&local_348); + if (cVar5 == '\0') { + (**(code **)(*(longlong *)param_1[2] + 0x40))((longlong *)param_1[2],PTR_DAT_14016f8f0); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_320 = (int *)CONCAT44(local_320._4_4_,0xfa06); + local_318 = PTR_DAT_14016f8f0; + local_310 = uVar2; + local_308 = param_3; + DVar8 = GetTickCount(); + local_300 = DVar8 - DVar7; + (**(code **)(*param_1 + 0x18))(param_1,&local_320); + } + uVar9 = FUN_140049e40(&local_348); + break; + case 0xfa07: + FUN_140049b40(local_2b8); + local_2b4 = param_2[10]; + local_2b8[0] = (undefined1)param_2[0x10]; + plVar21 = (longlong *)param_1[2]; + puVar16 = PTR_DAT_14016f8f8; + (**(code **)(*plVar21 + 0x48))(); + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar2,0xfa07,PTR_DAT_14016f8f8,&DAT_140131724); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar21,param_2,puVar16,param_4); + local_res10[0] = (longlong ****)PTR_DAT_14016f010; + uVar9 = 0xfffffffe; + plVar20 = FUN_140028f40((longlong *)local_res10,&local_c8,0xfffffffe); + FUN_1400020c0((longlong *)local_res10,plVar20,uVar9,param_4); + plVar21 = &local_c8; + FUN_140002190(plVar21,plVar20,uVar9,param_4); + local_res20 = &local_198; + FUN_14003e7c0(plVar21,plVar20,uVar9,param_4); + local_198 = (longlong ***)PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_198,(longlong *)local_res10,uVar9,param_4); + plVar21 = FUN_140002040(&local_70,(short *)PTR_DAT_14016f8f8,0,param_4); + (**(code **)(*param_1 + 0x28))(param_1,0xfa07,plVar21,&local_198); + uVar9 = 0xfa07; + uVar22 = (ulonglong)uVar2; + puVar16 = PTR_DAT_14016f8f8; + (**(code **)(*(longlong *)param_1[2] + 0x70))(); + FUN_140002190((longlong *)local_res10,uVar22,uVar9,puVar16); + } + DVar7 = 0; + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_320 = (int *)CONCAT44(local_320._4_4_,0xfa07); + local_318 = PTR_DAT_14016f8f8; + local_310 = uVar2; + local_308 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_320); + DVar7 = GetTickCount(); + } + uVar9 = (**(code **)(*param_1 + 0x68))(param_1,uVar2,local_2b8); + if ((char)uVar9 == '\0') { + uVar9 = (**(code **)(*(longlong *)param_1[2] + 0x40)) + ((longlong *)param_1[2],PTR_DAT_14016f8f8); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_348 = (undefined **)CONCAT44(local_348._4_4_,0xfa07); + local_340 = PTR_DAT_14016f8f8; + goto LAB_1400558b5; + } + break; + case 0xfa08: + FUN_140049b40(local_2b8); + local_2b4 = param_2[10]; + local_2b8[0] = (undefined1)param_2[0x10]; + uVar9 = 1; + FUN_140074ee0(param_2,local_res10,1); + local_res20 = (longlong ****)CONCAT44(local_res20._4_4_,(uint)(byte)local_res10[0]); + FUN_14003e7c0((ulonglong)local_res10[0] & 0xff,(ulonglong)local_res10[0] & 0xff,uVar9,param_4) + ; + local_358 = (longlong ****)PTR_DAT_14016f010; + thunk_FUN_140076020(param_2,(longlong *)&local_358,uVar9,param_4); + plVar21 = (longlong *)param_1[2]; + puVar16 = PTR_DAT_14016f900; + (**(code **)(*plVar21 + 0x48))(); + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar2,0xfa08,PTR_DAT_14016f900,&DAT_140131724); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar21,param_2,puVar16,param_4); + local_res10[0] = (longlong ****)PTR_DAT_14016f010; + pwVar19 = FUN_140092390((uint)local_res20); + FUN_140029bf0((longlong *)local_res10,pwVar19); + FUN_140029bf0((longlong *)local_res10,(short *)&DAT_140133350); + FUN_1400928b0((longlong *)local_res10,(longlong *)&local_358); + FUN_140029bf0((longlong *)local_res10,(short *)&DAT_140133350); + iVar6 = 0; + if (((longlong *****)local_res10[0] != (longlong *****)0x0) && + (local_res10[0] != (longlong ****)PTR_DAT_14016f010)) { + iVar6 = *(int *)(local_res10[0] + -1); + } + uVar22 = (ulonglong)(iVar6 - 2U); + plVar20 = FUN_140028f40((longlong *)local_res10,&local_110,iVar6 - 2U); + FUN_1400020c0((longlong *)local_res10,plVar20,uVar22,param_4); + plVar21 = &local_110; + FUN_140002190(plVar21,plVar20,uVar22,param_4); + local_350 = &local_1d0; + FUN_14003e7c0(plVar21,plVar20,uVar22,param_4); + local_1d0 = (longlong ***)PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_1d0,(longlong *)local_res10,uVar22,param_4); + plVar21 = FUN_140002040(&local_b8,(short *)PTR_DAT_14016f900,0,param_4); + (**(code **)(*param_1 + 0x28))(param_1,0xfa08,plVar21,&local_1d0); + uVar9 = 0xfa08; + uVar22 = (ulonglong)uVar2; + puVar16 = PTR_DAT_14016f900; + (**(code **)(*(longlong *)param_1[2] + 0x70))(); + FUN_140002190((longlong *)local_res10,uVar22,uVar9,puVar16); + } + DVar7 = 0; + if (((char)param_1[3] == '\0') && (DVar7 = 0, *(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_320 = (int *)CONCAT44(local_320._4_4_,0xfa08); + local_318 = PTR_DAT_14016f900; + local_310 = uVar2; + local_308 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_320); + DVar7 = GetTickCount(); + } + ppppplVar14 = &local_res20; + puVar24 = local_2b8; + pppuVar27 = (undefined ***)(ulonglong)uVar2; + cVar5 = (**(code **)(*param_1 + 0x70))(param_1); + if (cVar5 == '\0') { + pppuVar27 = (undefined ***)PTR_DAT_14016f900; + (**(code **)(*(longlong *)param_1[2] + 0x40))(); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_348 = (undefined **)CONCAT44(local_348._4_4_,0xfa08); + local_340 = PTR_DAT_14016f900; + local_338 = CONCAT44(local_338._4_4_,uVar2); + local_330 = param_3; + DVar8 = GetTickCount(); + local_328 = CONCAT44(local_328._4_4_,DVar8 - DVar7); + pppuVar27 = &local_348; + (**(code **)(*param_1 + 0x18))(param_1); + } + uVar9 = FUN_140002190((longlong *)&local_358,pppuVar27,puVar24,ppppplVar14); + break; + case 0xfa09: + FUN_140049b40(local_2b8); + local_2b4 = param_2[10]; + local_2b8[0] = (undefined1)param_2[0x10]; + uVar29 = 4; + ppppplVar14 = &local_res20; + uVar9 = FUN_140074ee0(param_2,ppppplVar14,4); + uVar3 = (uint)local_res10[0]; + if ((char)uVar9 != '\0') { + uVar3 = (uint)local_res20; + } + local_res10[0] = (longlong ****)CONCAT44(local_res10[0]._4_4_,uVar3); + FUN_14003e7c0((ulonglong)uVar3,ppppplVar14,uVar29,param_4); + local_358 = (longlong ****)PTR_DAT_14016f010; + thunk_FUN_140076020(param_2,(longlong *)&local_358,uVar29,param_4); + plVar21 = (longlong *)param_1[2]; + puVar16 = PTR_DAT_14016f908; + (**(code **)(*plVar21 + 0x48))(); + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar2,0xfa09,PTR_DAT_14016f908,&DAT_140131724); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar21,param_2,puVar16,param_4); + local_res20 = (longlong ****)PTR_DAT_14016f010; + FUN_1400926b0((longlong *)&local_res20); + FUN_140029bf0((longlong *)&local_res20,(short *)&DAT_140133350); + FUN_1400928b0((longlong *)&local_res20,(longlong *)&local_358); + FUN_140029bf0((longlong *)&local_res20,(short *)&DAT_140133350); + iVar6 = 0; + if (((longlong *****)local_res20 != (longlong *****)0x0) && + (local_res20 != (longlong ****)PTR_DAT_14016f010)) { + iVar6 = *(int *)(local_res20 + -1); + } + uVar22 = (ulonglong)(iVar6 - 2U); + plVar20 = FUN_140028f40((longlong *)&local_res20,&local_100,iVar6 - 2U); + FUN_1400020c0((longlong *)&local_res20,plVar20,uVar22,param_4); + plVar21 = &local_100; + FUN_140002190(plVar21,plVar20,uVar22,param_4); + local_350 = &local_160; + FUN_14003e7c0(plVar21,plVar20,uVar22,param_4); + local_160 = (longlong ***)PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_160,(longlong *)&local_res20,uVar22,param_4); + plVar21 = FUN_140002040(&local_50,(short *)PTR_DAT_14016f908,0,param_4); + (**(code **)(*param_1 + 0x28))(param_1,0xfa09,plVar21,&local_160); + uVar9 = 0xfa09; + uVar22 = (ulonglong)uVar2; + puVar16 = PTR_DAT_14016f908; + (**(code **)(*(longlong *)param_1[2] + 0x70))(); + FUN_140002190((longlong *)&local_res20,uVar22,uVar9,puVar16); + } + DVar7 = 0; + if (((char)param_1[3] == '\0') && (DVar7 = 0, *(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_320 = (int *)CONCAT44(local_320._4_4_,0xfa09); + local_318 = PTR_DAT_14016f908; + local_310 = uVar2; + local_308 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_320); + DVar7 = GetTickCount(); + } + ppppplVar14 = local_res10; + puVar24 = local_2b8; + pppuVar27 = (undefined ***)(ulonglong)uVar2; + cVar5 = (**(code **)(*param_1 + 0x78))(param_1); + if (cVar5 == '\0') { + pppuVar27 = (undefined ***)PTR_DAT_14016f908; + (**(code **)(*(longlong *)param_1[2] + 0x40))(); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_348 = (undefined **)CONCAT44(local_348._4_4_,0xfa09); + local_340 = PTR_DAT_14016f908; + local_338 = CONCAT44(local_338._4_4_,uVar2); + local_330 = param_3; + DVar8 = GetTickCount(); + local_328 = CONCAT44(local_328._4_4_,DVar8 - DVar7); + pppuVar27 = &local_348; + (**(code **)(*param_1 + 0x18))(param_1); + } + uVar9 = FUN_140002190((longlong *)&local_358,pppuVar27,puVar24,ppppplVar14); + break; + case 0xfa0a: + puVar24 = local_2b8; + FUN_140049b40(puVar24); + local_2b4 = param_2[10]; + local_2b8[0] = (undefined1)param_2[0x10]; + FUN_14003e7c0(puVar24,pIVar26,SVar28,param_4); + local_res20 = (longlong ****)PTR_DAT_14016f010; + thunk_FUN_140076020(param_2,(longlong *)&local_res20,SVar28,param_4); + plVar21 = (longlong *)param_1[2]; + puVar16 = PTR_DAT_14016f910; + (**(code **)(*plVar21 + 0x48))(); + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar2,0xfa0a,PTR_DAT_14016f910,&DAT_140131724); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar21,param_2,puVar16,param_4); + local_res10[0] = (longlong ****)PTR_DAT_14016f010; + FUN_1400928b0((longlong *)local_res10,(longlong *)&local_res20); + FUN_140029bf0((longlong *)local_res10,(short *)&DAT_140133350); + iVar6 = 0; + if (((longlong *****)local_res10[0] != (longlong *****)0x0) && + (local_res10[0] != (longlong ****)PTR_DAT_14016f010)) { + iVar6 = *(int *)(local_res10[0] + -1); + } + uVar22 = (ulonglong)(iVar6 - 2U); + plVar20 = FUN_140028f40((longlong *)local_res10,&local_f0,iVar6 - 2U); + FUN_1400020c0((longlong *)local_res10,plVar20,uVar22,param_4); + plVar21 = &local_f0; + FUN_140002190(plVar21,plVar20,uVar22,param_4); + local_350 = &local_1c0; + FUN_14003e7c0(plVar21,plVar20,uVar22,param_4); + local_1c0 = (longlong ***)PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_1c0,(longlong *)local_res10,uVar22,param_4); + plVar21 = FUN_140002040(&local_40,(short *)PTR_DAT_14016f910,0,param_4); + (**(code **)(*param_1 + 0x28))(param_1,0xfa0a,plVar21,&local_1c0); + uVar9 = 0xfa0a; + uVar22 = (ulonglong)uVar2; + puVar16 = PTR_DAT_14016f910; + (**(code **)(*(longlong *)param_1[2] + 0x70))(); + FUN_140002190((longlong *)local_res10,uVar22,uVar9,puVar16); + } + DVar7 = 0; + if (((char)param_1[3] == '\0') && (DVar7 = 0, *(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_320 = (int *)CONCAT44(local_320._4_4_,0xfa0a); + local_318 = PTR_DAT_14016f910; + local_310 = uVar2; + local_308 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_320); + DVar7 = GetTickCount(); + } + ppppplVar14 = &local_res20; + puVar24 = local_2b8; + pppuVar27 = (undefined ***)(ulonglong)uVar2; + cVar5 = (**(code **)(*param_1 + 0x80))(param_1); + if (cVar5 == '\0') { + pppuVar27 = (undefined ***)PTR_DAT_14016f910; + (**(code **)(*(longlong *)param_1[2] + 0x40))(); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_348 = (undefined **)CONCAT44(local_348._4_4_,0xfa0a); + local_340 = PTR_DAT_14016f910; + local_338 = CONCAT44(local_338._4_4_,uVar2); + local_330 = param_3; + DVar8 = GetTickCount(); + local_328 = CONCAT44(local_328._4_4_,DVar8 - DVar7); + pppuVar27 = &local_348; + (**(code **)(*param_1 + 0x18))(param_1); + } + uVar9 = FUN_140002190((longlong *)&local_res20,pppuVar27,puVar24,ppppplVar14); + break; + case 0xfa0b: + FUN_140049b40(local_2b8); + local_2b4 = param_2[10]; + local_2b8[0] = (undefined1)param_2[0x10]; + FUN_140075970(param_2,(undefined4 *)local_res10,SVar28,param_4); + plVar21 = (longlong *)param_1[2]; + puVar16 = PTR_DAT_14016f918; + (**(code **)(*plVar21 + 0x48))(); + DVar7 = 0; + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar2,0xfa0b,PTR_DAT_14016f918,&DAT_140131724); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar21,param_2,puVar16,param_4); + local_res20 = (longlong ****)PTR_DAT_14016f010; + local_1a0 = (uint)local_res10[0]; + FUN_1400926b0((longlong *)&local_res20); + FUN_140029bf0((longlong *)&local_res20,(short *)&DAT_140133350); + iVar6 = 0; + if (((longlong *****)local_res20 != (longlong *****)0x0) && + (local_res20 != (longlong ****)PTR_DAT_14016f010)) { + iVar6 = *(int *)(local_res20 + -1); + } + uVar22 = (ulonglong)(iVar6 - 2U); + plVar20 = FUN_140028f40((longlong *)&local_res20,&local_e0,iVar6 - 2U); + FUN_1400020c0((longlong *)&local_res20,plVar20,uVar22,param_4); + plVar21 = &local_e0; + FUN_140002190(plVar21,plVar20,uVar22,param_4); + local_350 = &local_188; + FUN_14003e7c0(plVar21,plVar20,uVar22,param_4); + local_188 = (longlong ***)PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_188,(longlong *)&local_res20,uVar22,param_4); + plVar21 = FUN_140002040(&local_a8,(short *)PTR_DAT_14016f918,0,param_4); + (**(code **)(*param_1 + 0x28))(param_1,0xfa0b,plVar21,&local_188); + uVar9 = 0xfa0b; + uVar22 = (ulonglong)uVar2; + puVar16 = PTR_DAT_14016f918; + (**(code **)(*(longlong *)param_1[2] + 0x70))(); + FUN_140002190((longlong *)&local_res20,uVar22,uVar9,puVar16); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_320 = (int *)CONCAT44(local_320._4_4_,0xfa0b); + local_318 = PTR_DAT_14016f918; + local_310 = uVar2; + local_308 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_320); + DVar7 = GetTickCount(); + } + uVar9 = (**(code **)(*param_1 + 0x88))(param_1,uVar2,local_2b8,local_res10); + if ((char)uVar9 == '\0') { + uVar9 = (**(code **)(*(longlong *)param_1[2] + 0x40)) + ((longlong *)param_1[2],PTR_DAT_14016f918); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_348 = (undefined **)CONCAT44(local_348._4_4_,0xfa0b); + local_340 = PTR_DAT_14016f918; + goto LAB_1400558b5; + } + break; + case 0xfa0c: + FUN_140049b40(local_2b8); + local_2b4 = param_2[10]; + local_2b8[0] = (undefined1)param_2[0x10]; + FUN_140075970(param_2,(undefined4 *)local_res10,SVar28,param_4); + plVar21 = (longlong *)param_1[2]; + puVar16 = PTR_DAT_14016f920; + (**(code **)(*plVar21 + 0x48))(); + DVar7 = 0; + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar2,0xfa0c,PTR_DAT_14016f920,&DAT_140131724); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar21,param_2,puVar16,param_4); + local_res20 = (longlong ****)PTR_DAT_14016f010; + local_190 = (uint)local_res10[0]; + FUN_1400926b0((longlong *)&local_res20); + FUN_140029bf0((longlong *)&local_res20,(short *)&DAT_140133350); + iVar6 = 0; + if (((longlong *****)local_res20 != (longlong *****)0x0) && + (local_res20 != (longlong ****)PTR_DAT_14016f010)) { + iVar6 = *(int *)(local_res20 + -1); + } + uVar22 = (ulonglong)(iVar6 - 2U); + plVar20 = FUN_140028f40((longlong *)&local_res20,&local_d8,iVar6 - 2U); + FUN_1400020c0((longlong *)&local_res20,plVar20,uVar22,param_4); + plVar21 = &local_d8; + FUN_140002190(plVar21,plVar20,uVar22,param_4); + local_350 = &local_220; + FUN_14003e7c0(plVar21,plVar20,uVar22,param_4); + local_220 = (longlong ***)PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_220,(longlong *)&local_res20,uVar22,param_4); + plVar21 = FUN_140002040(local_68 + 2,(short *)PTR_DAT_14016f920,0,param_4); + (**(code **)(*param_1 + 0x28))(param_1,0xfa0c,plVar21,&local_220); + uVar9 = 0xfa0c; + uVar22 = (ulonglong)uVar2; + puVar16 = PTR_DAT_14016f920; + (**(code **)(*(longlong *)param_1[2] + 0x70))(); + FUN_140002190((longlong *)&local_res20,uVar22,uVar9,puVar16); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_320 = (int *)CONCAT44(local_320._4_4_,0xfa0c); + local_318 = PTR_DAT_14016f920; + local_310 = uVar2; + local_308 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_320); + DVar7 = GetTickCount(); + } + uVar9 = (**(code **)(*param_1 + 0x90))(param_1,uVar2,local_2b8,local_res10); + if ((char)uVar9 == '\0') { + uVar9 = (**(code **)(*(longlong *)param_1[2] + 0x40)) + ((longlong *)param_1[2],PTR_DAT_14016f920); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_348 = (undefined **)CONCAT44(local_348._4_4_,0xfa0c); + local_340 = PTR_DAT_14016f920; + goto LAB_1400558b5; + } + break; + case 0xfa0d: + puVar24 = local_2b8; + FUN_140049b40(puVar24); + local_2b4 = param_2[10]; + local_2b8[0] = (undefined1)param_2[0x10]; + FUN_14003e7c0(puVar24,pIVar26,SVar28,param_4); + local_res20 = (longlong ****)PTR_DAT_14016f010; + thunk_FUN_140076020(param_2,(longlong *)&local_res20,SVar28,param_4); + plVar21 = (longlong *)param_1[2]; + puVar16 = PTR_DAT_14016f928; + (**(code **)(*plVar21 + 0x48))(); + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar2,0xfa0d,PTR_DAT_14016f928,&DAT_140131724); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar21,param_2,puVar16,param_4); + local_res10[0] = (longlong ****)PTR_DAT_14016f010; + FUN_1400928b0((longlong *)local_res10,(longlong *)&local_res20); + FUN_140029bf0((longlong *)local_res10,(short *)&DAT_140133350); + iVar6 = 0; + if (((longlong *****)local_res10[0] != (longlong *****)0x0) && + (local_res10[0] != (longlong ****)PTR_DAT_14016f010)) { + iVar6 = *(int *)(local_res10[0] + -1); + } + uVar22 = (ulonglong)(iVar6 - 2U); + plVar20 = FUN_140028f40((longlong *)local_res10,&local_118,iVar6 - 2U); + FUN_1400020c0((longlong *)local_res10,plVar20,uVar22,param_4); + plVar21 = &local_118; + FUN_140002190(plVar21,plVar20,uVar22,param_4); + local_350 = &local_218; + FUN_14003e7c0(plVar21,plVar20,uVar22,param_4); + local_218 = (longlong ***)PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_218,(longlong *)local_res10,uVar22,param_4); + plVar21 = FUN_140002040(&local_98,(short *)PTR_DAT_14016f928,0,param_4); + (**(code **)(*param_1 + 0x28))(param_1,0xfa0d,plVar21,&local_218); + uVar9 = 0xfa0d; + uVar22 = (ulonglong)uVar2; + puVar16 = PTR_DAT_14016f928; + (**(code **)(*(longlong *)param_1[2] + 0x70))(); + FUN_140002190((longlong *)local_res10,uVar22,uVar9,puVar16); + } + DVar7 = 0; + if (((char)param_1[3] == '\0') && (DVar7 = 0, *(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_320 = (int *)CONCAT44(local_320._4_4_,0xfa0d); + local_318 = PTR_DAT_14016f928; + local_310 = uVar2; + local_308 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_320); + DVar7 = GetTickCount(); + } + ppppplVar14 = &local_res20; + puVar24 = local_2b8; + pppuVar27 = (undefined ***)(ulonglong)uVar2; + cVar5 = (**(code **)(*param_1 + 0x98))(param_1); + if (cVar5 == '\0') { + pppuVar27 = (undefined ***)PTR_DAT_14016f928; + (**(code **)(*(longlong *)param_1[2] + 0x40))(); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_348 = (undefined **)CONCAT44(local_348._4_4_,0xfa0d); + local_340 = PTR_DAT_14016f928; + local_338 = CONCAT44(local_338._4_4_,uVar2); + local_330 = param_3; + DVar8 = GetTickCount(); + local_328 = CONCAT44(local_328._4_4_,DVar8 - DVar7); + pppuVar27 = &local_348; + (**(code **)(*param_1 + 0x18))(param_1); + } + uVar9 = FUN_140002190((longlong *)&local_res20,pppuVar27,puVar24,ppppplVar14); + break; + case 0xfa0e: + FUN_140049b40(local_2b8); + local_2b4 = param_2[10]; + local_2b8[0] = (undefined1)param_2[0x10]; + uVar9 = FUN_140074ee0(param_2,local_res10,8); + if ((char)uVar9 != '\0') { + local_res20 = local_res10[0]; + } + plVar21 = (longlong *)param_1[2]; + puVar16 = PTR_DAT_14016f930; + (**(code **)(*plVar21 + 0x48))(); + DVar7 = 0; + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar2,0xfa0e,PTR_DAT_14016f930,&DAT_140131724); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar21,param_2,puVar16,param_4); + local_res10[0] = (longlong ****)PTR_DAT_14016f010; + FUN_140092840((longlong *)local_res10); + FUN_140029bf0((longlong *)local_res10,(short *)&DAT_140133350); + iVar6 = 0; + if (((longlong *****)local_res10[0] != (longlong *****)0x0) && + (local_res10[0] != (longlong ****)PTR_DAT_14016f010)) { + iVar6 = *(int *)(local_res10[0] + -1); + } + uVar22 = (ulonglong)(iVar6 - 2U); + plVar20 = FUN_140028f40((longlong *)local_res10,&local_e8,iVar6 - 2U); + FUN_1400020c0((longlong *)local_res10,plVar20,uVar22,param_4); + plVar21 = &local_e8; + FUN_140002190(plVar21,plVar20,uVar22,param_4); + local_350 = &local_208; + FUN_14003e7c0(plVar21,plVar20,uVar22,param_4); + local_208 = (longlong ***)PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_208,(longlong *)local_res10,uVar22,param_4); + plVar21 = FUN_140002040(local_68,(short *)PTR_DAT_14016f930,0,param_4); + (**(code **)(*param_1 + 0x28))(param_1,0xfa0e,plVar21,&local_208); + uVar9 = 0xfa0e; + uVar22 = (ulonglong)uVar2; + puVar16 = PTR_DAT_14016f930; + (**(code **)(*(longlong *)param_1[2] + 0x70))(); + FUN_140002190((longlong *)local_res10,uVar22,uVar9,puVar16); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_320 = (int *)CONCAT44(local_320._4_4_,0xfa0e); + local_318 = PTR_DAT_14016f930; + local_310 = uVar2; + local_308 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_320); + DVar7 = GetTickCount(); + } + uVar9 = (**(code **)(*param_1 + 0xa0))(param_1,uVar2,local_2b8,&local_res20); + if ((char)uVar9 == '\0') { + uVar9 = (**(code **)(*(longlong *)param_1[2] + 0x40)) + ((longlong *)param_1[2],PTR_DAT_14016f930); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_348 = (undefined **)CONCAT44(local_348._4_4_,0xfa0e); + local_340 = PTR_DAT_14016f930; + goto LAB_1400558b5; + } + break; + case 0xfa0f: + FUN_140049b40(local_2b8); + local_2b4 = param_2[10]; + local_2b8[0] = (undefined1)param_2[0x10]; + FUN_140075970(param_2,(undefined4 *)&local_res20,SVar28,param_4); + uVar9 = FUN_140074ee0(param_2,&local_358,4); + uVar23 = (uint)local_res10[0]; + if ((char)uVar9 != '\0') { + uVar23 = local_358._0_4_; + } + local_res10[0] = (longlong ****)CONCAT44(local_res10[0]._4_4_,uVar23); + plVar21 = (longlong *)param_1[2]; + puVar16 = PTR_DAT_14016f938; + (**(code **)(*plVar21 + 0x48))(); + DVar7 = 0; + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar2,0xfa0f,PTR_DAT_14016f938,&DAT_140131724); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar21,param_2,puVar16,param_4); + local_358 = (longlong ****)PTR_DAT_14016f010; + local_180 = (uint)local_res20; + FUN_1400926b0((longlong *)&local_358); + FUN_140029bf0((longlong *)&local_358,(short *)&DAT_140133350); + FUN_140092710((longlong *)&local_358); + FUN_140029bf0((longlong *)&local_358,(short *)&DAT_140133350); + iVar6 = 0; + if (((longlong *****)local_358 != (longlong *****)0x0) && + (local_358 != (longlong ****)PTR_DAT_14016f010)) { + iVar6 = *(int *)(local_358 + -1); + } + uVar22 = (ulonglong)(iVar6 - 2U); + plVar20 = FUN_140028f40((longlong *)&local_358,&local_108,iVar6 - 2U); + FUN_1400020c0((longlong *)&local_358,plVar20,uVar22,param_4); + plVar21 = &local_108; + FUN_140002190(plVar21,plVar20,uVar22,param_4); + local_350 = &local_1f8; + FUN_14003e7c0(plVar21,plVar20,uVar22,param_4); + local_1f8 = (longlong ***)PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_1f8,(longlong *)&local_358,uVar22,param_4); + plVar21 = FUN_140002040(&local_88,(short *)PTR_DAT_14016f938,0,param_4); + (**(code **)(*param_1 + 0x28))(param_1,0xfa0f,plVar21,&local_1f8); + uVar9 = 0xfa0f; + uVar22 = (ulonglong)uVar2; + puVar16 = PTR_DAT_14016f938; + (**(code **)(*(longlong *)param_1[2] + 0x70))(); + FUN_140002190((longlong *)&local_358,uVar22,uVar9,puVar16); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_320 = (int *)CONCAT44(local_320._4_4_,0xfa0f); + local_318 = PTR_DAT_14016f938; + local_310 = uVar2; + local_308 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_320); + DVar7 = GetTickCount(); + } + uVar9 = (**(code **)(*param_1 + 0xa8))(param_1,uVar2,local_2b8,&local_res20,local_res10); + if ((char)uVar9 == '\0') { + uVar9 = (**(code **)(*(longlong *)param_1[2] + 0x40)) + ((longlong *)param_1[2],PTR_DAT_14016f938); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_348 = (undefined **)CONCAT44(local_348._4_4_,0xfa0f); + local_340 = PTR_DAT_14016f938; + goto LAB_1400558b5; + } + break; + case 0xfa10: + FUN_140049b40(local_2b8); + local_2b4 = param_2[10]; + local_2b8[0] = (undefined1)param_2[0x10]; + plVar21 = (longlong *)param_1[2]; + puVar16 = PTR_DAT_14016f940; + (**(code **)(*plVar21 + 0x48))(); + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar2,0xfa10,PTR_DAT_14016f940,&DAT_140131724); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar21,param_2,puVar16,param_4); + local_res10[0] = (longlong ****)PTR_DAT_14016f010; + uVar9 = 0xfffffffe; + plVar20 = FUN_140028f40((longlong *)local_res10,&local_130,0xfffffffe); + FUN_1400020c0((longlong *)local_res10,plVar20,uVar9,param_4); + plVar21 = &local_130; + FUN_140002190(plVar21,plVar20,uVar9,param_4); + local_res20 = &local_1e8; + FUN_14003e7c0(plVar21,plVar20,uVar9,param_4); + local_1e8 = (longlong ***)PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_1e8,(longlong *)local_res10,uVar9,param_4); + plVar21 = FUN_140002040(&local_48,(short *)PTR_DAT_14016f940,0,param_4); + (**(code **)(*param_1 + 0x28))(param_1,0xfa10,plVar21,&local_1e8); + uVar9 = 0xfa10; + uVar22 = (ulonglong)uVar2; + puVar16 = PTR_DAT_14016f940; + (**(code **)(*(longlong *)param_1[2] + 0x70))(); + FUN_140002190((longlong *)local_res10,uVar22,uVar9,puVar16); + } + DVar7 = 0; + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_320 = (int *)CONCAT44(local_320._4_4_,0xfa10); + local_318 = PTR_DAT_14016f940; + local_310 = uVar2; + local_308 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_320); + DVar7 = GetTickCount(); + } + uVar9 = (**(code **)(*param_1 + 0xb0))(param_1,uVar2,local_2b8); + if ((char)uVar9 == '\0') { + uVar9 = (**(code **)(*(longlong *)param_1[2] + 0x40)) + ((longlong *)param_1[2],PTR_DAT_14016f940); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_348 = (undefined **)CONCAT44(local_348._4_4_,0xfa10); + local_340 = PTR_DAT_14016f940; + goto LAB_1400558b5; + } + break; + case 0xfa11: + FUN_140049b40(local_2b8); + local_2b4 = param_2[10]; + local_2b8[0] = (undefined1)param_2[0x10]; + uVar9 = FUN_140074ee0(param_2,&local_res20,1); + uVar25 = (byte)local_res10[0]; + if ((char)uVar9 != '\0') { + uVar25 = local_res20._0_1_; + } + local_res10[0] = (longlong ****)CONCAT71(local_res10[0]._1_7_,uVar25); + plVar21 = (longlong *)param_1[2]; + puVar16 = PTR_DAT_14016f948; + (**(code **)(*plVar21 + 0x48))(); + DVar7 = 0; + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar2,0xfa11,PTR_DAT_14016f948,&DAT_140131724); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar21,param_2,puVar16,param_4); + local_res20 = (longlong ****)PTR_DAT_14016f010; + FUN_1400925d0((longlong *)&local_res20,(char *)local_res10); + FUN_140029bf0((longlong *)&local_res20,(short *)&DAT_140133350); + iVar6 = 0; + if (((longlong *****)local_res20 != (longlong *****)0x0) && + (local_res20 != (longlong ****)PTR_DAT_14016f010)) { + iVar6 = *(int *)(local_res20 + -1); + } + uVar22 = (ulonglong)(iVar6 - 2U); + plVar20 = FUN_140028f40((longlong *)&local_res20,&local_f8,iVar6 - 2U); + FUN_1400020c0((longlong *)&local_res20,plVar20,uVar22,param_4); + plVar21 = &local_f8; + FUN_140002190(plVar21,plVar20,uVar22,param_4); + local_350 = &local_1d8; + FUN_14003e7c0(plVar21,plVar20,uVar22,param_4); + local_1d8 = (longlong ***)PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_1d8,(longlong *)&local_res20,uVar22,param_4); + plVar21 = FUN_140002040(&local_78,(short *)PTR_DAT_14016f948,0,param_4); + (**(code **)(*param_1 + 0x28))(param_1,0xfa11,plVar21,&local_1d8); + uVar9 = 0xfa11; + uVar22 = (ulonglong)uVar2; + puVar16 = PTR_DAT_14016f948; + (**(code **)(*(longlong *)param_1[2] + 0x70))(); + FUN_140002190((longlong *)&local_res20,uVar22,uVar9,puVar16); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_320 = (int *)CONCAT44(local_320._4_4_,0xfa11); + local_318 = PTR_DAT_14016f948; + local_310 = uVar2; + local_308 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_320); + DVar7 = GetTickCount(); + } + uVar9 = (**(code **)(*param_1 + 0xb8))(param_1,uVar2,local_2b8,local_res10); + if ((char)uVar9 == '\0') { + uVar9 = (**(code **)(*(longlong *)param_1[2] + 0x40)) + ((longlong *)param_1[2],PTR_DAT_14016f948); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_348 = (undefined **)CONCAT44(local_348._4_4_,0xfa11); + local_340 = PTR_DAT_14016f948; + goto LAB_1400558b5; + } + break; + case 0xfa12: + FUN_140049b40(local_2b8); + local_2b4 = param_2[10]; + local_2b8[0] = (undefined1)param_2[0x10]; + FUN_140075970(param_2,(undefined4 *)&local_358,SVar28,param_4); + uVar9 = FUN_140074ee0(param_2,&local_2e8,4); + uVar23 = (uint)local_res20; + if ((char)uVar9 != '\0') { + uVar23 = local_2e8._0_4_; + } + local_res20 = (longlong ****)CONCAT44(local_res20._4_4_,uVar23); + uVar9 = FUN_140074ee0(param_2,(undefined8 *)local_2d8,4); + uVar23 = (uint)local_res10[0]; + if ((char)uVar9 != '\0') { + uVar23 = local_2d8[0]; + } + local_res10[0] = (longlong ****)CONCAT44(local_res10[0]._4_4_,uVar23); + plVar21 = (longlong *)param_1[2]; + puVar16 = PTR_DAT_14016f950; + (**(code **)(*plVar21 + 0x48))(); + DVar7 = 0; + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar2,0xfa12,PTR_DAT_14016f950,&DAT_140131724); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar21,param_2,puVar16,param_4); + local_2e8 = (undefined **)PTR_DAT_14016f010; + local_178 = local_358._0_4_; + FUN_1400926b0((longlong *)&local_2e8); + FUN_140029bf0((longlong *)&local_2e8,(short *)&DAT_140133350); + FUN_140092710((longlong *)&local_2e8); + FUN_140029bf0((longlong *)&local_2e8,(short *)&DAT_140133350); + FUN_140092710((longlong *)&local_2e8); + FUN_140029bf0((longlong *)&local_2e8,(short *)&DAT_140133350); + iVar6 = 0; + if ((local_2e8 != (undefined **)0x0) && (local_2e8 != (undefined **)PTR_DAT_14016f010)) { + iVar6 = *(int *)(local_2e8 + -1); + } + uVar22 = (ulonglong)(iVar6 - 2U); + plVar20 = FUN_140028f40((longlong *)&local_2e8,&local_128,iVar6 - 2U); + FUN_1400020c0((longlong *)&local_2e8,plVar20,uVar22,param_4); + plVar21 = &local_128; + FUN_140002190(plVar21,plVar20,uVar22,param_4); + local_350 = &local_1c8; + FUN_14003e7c0(plVar21,plVar20,uVar22,param_4); + local_1c8 = (longlong ***)PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_1c8,(longlong *)&local_2e8,uVar22,param_4); + plVar21 = FUN_140002040(&local_b0,(short *)PTR_DAT_14016f950,0,param_4); + (**(code **)(*param_1 + 0x28))(param_1,0xfa12,plVar21,&local_1c8); + uVar9 = 0xfa12; + uVar22 = (ulonglong)uVar2; + puVar16 = PTR_DAT_14016f950; + (**(code **)(*(longlong *)param_1[2] + 0x70))(); + FUN_140002190((longlong *)&local_2e8,uVar22,uVar9,puVar16); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_320 = (int *)CONCAT44(local_320._4_4_,0xfa12); + local_318 = PTR_DAT_14016f950; + local_310 = uVar2; + local_308 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_320); + DVar7 = GetTickCount(); + } + uVar9 = (**(code **)(*param_1 + 0xc0)) + (param_1,uVar2,local_2b8,&local_358,&local_res20,local_res10); + if ((char)uVar9 == '\0') { + uVar9 = (**(code **)(*(longlong *)param_1[2] + 0x40)) + ((longlong *)param_1[2],PTR_DAT_14016f950); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_348 = (undefined **)CONCAT44(local_348._4_4_,0xfa12); + local_340 = PTR_DAT_14016f950; + goto LAB_1400558b5; + } + break; + case 0xfa13: + FUN_140049b40(local_2b8); + local_2b4 = param_2[10]; + local_2b8[0] = (undefined1)param_2[0x10]; + uVar9 = FUN_140074ee0(param_2,&local_res20,4); + uVar23 = (uint)local_res10[0]; + if ((char)uVar9 != '\0') { + uVar23 = (uint)local_res20; + } + local_res10[0] = (longlong ****)CONCAT44(local_res10[0]._4_4_,uVar23); + plVar21 = (longlong *)param_1[2]; + puVar16 = PTR_DAT_14016f958; + (**(code **)(*plVar21 + 0x48))(); + DVar7 = 0; + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar2,0xfa13,PTR_DAT_14016f958,&DAT_140131724); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar21,param_2,puVar16,param_4); + local_res20 = (longlong ****)PTR_DAT_14016f010; + FUN_140092710((longlong *)&local_res20); + FUN_140029bf0((longlong *)&local_res20,(short *)&DAT_140133350); + iVar6 = 0; + if (((longlong *****)local_res20 != (longlong *****)0x0) && + (local_res20 != (longlong ****)PTR_DAT_14016f010)) { + iVar6 = *(int *)(local_res20 + -1); + } + uVar22 = (ulonglong)(iVar6 - 2U); + plVar20 = FUN_140028f40((longlong *)&local_res20,&local_120,iVar6 - 2U); + FUN_1400020c0((longlong *)&local_res20,plVar20,uVar22,param_4); + plVar21 = &local_120; + FUN_140002190(plVar21,plVar20,uVar22,param_4); + local_350 = &local_1b8; + FUN_14003e7c0(plVar21,plVar20,uVar22,param_4); + local_1b8 = (longlong ***)PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_1b8,(longlong *)&local_res20,uVar22,param_4); + plVar21 = FUN_140002040(&local_a0,(short *)PTR_DAT_14016f958,0,param_4); + (**(code **)(*param_1 + 0x28))(param_1,0xfa13,plVar21,&local_1b8); + uVar9 = 0xfa13; + uVar22 = (ulonglong)uVar2; + puVar16 = PTR_DAT_14016f958; + (**(code **)(*(longlong *)param_1[2] + 0x70))(); + FUN_140002190((longlong *)&local_res20,uVar22,uVar9,puVar16); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_320 = (int *)CONCAT44(local_320._4_4_,0xfa13); + local_318 = PTR_DAT_14016f958; + local_310 = uVar2; + local_308 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_320); + DVar7 = GetTickCount(); + } + uVar9 = (**(code **)(*param_1 + 200))(param_1,uVar2,local_2b8,local_res10); + if ((char)uVar9 == '\0') { + uVar9 = (**(code **)(*(longlong *)param_1[2] + 0x40)) + ((longlong *)param_1[2],PTR_DAT_14016f958); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_348 = (undefined **)CONCAT44(local_348._4_4_,0xfa13); + local_340 = PTR_DAT_14016f958; + goto LAB_1400558b5; + } + break; + default: + goto switchD_140051e73_default; + } + uVar22 = CONCAT71((int7)((ulonglong)uVar9 >> 8),1); + } + return uVar22; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140055960.c b/decomp/AgentManager_Release_x64/full/functions/0x140055960.c new file mode 100644 index 00000000..bee863c8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140055960.c @@ -0,0 +1,49 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140055960 FUN_140055960 + * Pseudocode, not original source. */ + +undefined1 +FUN_140055960(longlong *param_1,undefined8 param_2,SIZE_T param_3,uint *param_4,byte *param_5, + longlong param_6,longlong param_7,longlong param_8,longlong param_9) + +{ + ushort uVar1; + undefined1 uVar2; + SIZE_T SVar3; + uint *puVar4; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar3 = param_3; + puVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar3,puVar4); + FUN_14002a2d0((longlong)local_30,0xfbf7,SVar3,puVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_4,SVar3,puVar4); + FUN_140029d80((longlong)local_30,(ulonglong)*param_5,SVar3,puVar4); + uVar1 = *(ushort *)(param_6 + 0xc); + FUN_140051c10((longlong)local_30,(ulonglong)*(uint *)(param_6 + 8),SVar3,puVar4); + FUN_14002a2d0((longlong)local_30,(ulonglong)uVar1,SVar3,puVar4); + uVar1 = *(ushort *)(param_7 + 0xc); + FUN_140051c10((longlong)local_30,(ulonglong)*(uint *)(param_7 + 8),SVar3,puVar4); + FUN_14002a2d0((longlong)local_30,(ulonglong)uVar1,SVar3,puVar4); + uVar1 = *(ushort *)(param_8 + 0xc); + FUN_140051c10((longlong)local_30,(ulonglong)*(uint *)(param_8 + 8),SVar3,puVar4); + FUN_14002a2d0((longlong)local_30,(ulonglong)uVar1,SVar3,puVar4); + uVar1 = *(ushort *)(param_9 + 0xc); + FUN_140051c10((longlong)local_30,(ulonglong)*(uint *)(param_9 + 8),SVar3,puVar4); + FUN_14002a2d0((longlong)local_30,(ulonglong)uVar1,SVar3,puVar4); + uVar2 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,PTR_DAT_14016f970,0xfbf7); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140055af0.c b/decomp/AgentManager_Release_x64/full/functions/0x140055af0.c new file mode 100644 index 00000000..e69557e9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140055af0.c @@ -0,0 +1,51 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140055af0 FUN_140055af0 + * Pseudocode, not original source. */ + +undefined1 +FUN_140055af0(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4, + uint *param_5,byte *param_6,longlong param_7,longlong param_8,longlong param_9, + longlong param_10) + +{ + ushort uVar1; + undefined1 uVar2; + undefined8 uVar3; + ulonglong uVar4; + undefined8 uVar5; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar3 = param_2; + uVar4 = param_3; + uVar5 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar3,uVar4,uVar5); + FUN_14002a2d0((longlong)local_30,0xfbf7,uVar4,uVar5); + FUN_140029e60((longlong)local_30,(ulonglong)*param_5,uVar4,uVar5); + FUN_140029d80((longlong)local_30,(ulonglong)*param_6,uVar4,uVar5); + uVar1 = *(ushort *)(param_7 + 0xc); + FUN_140051c10((longlong)local_30,(ulonglong)*(uint *)(param_7 + 8),uVar4,uVar5); + FUN_14002a2d0((longlong)local_30,(ulonglong)uVar1,uVar4,uVar5); + uVar1 = *(ushort *)(param_8 + 0xc); + FUN_140051c10((longlong)local_30,(ulonglong)*(uint *)(param_8 + 8),uVar4,uVar5); + FUN_14002a2d0((longlong)local_30,(ulonglong)uVar1,uVar4,uVar5); + uVar1 = *(ushort *)(param_9 + 0xc); + FUN_140051c10((longlong)local_30,(ulonglong)*(uint *)(param_9 + 8),uVar4,uVar5); + FUN_14002a2d0((longlong)local_30,(ulonglong)uVar1,uVar4,uVar5); + uVar1 = *(ushort *)(param_10 + 0xc); + FUN_140051c10((longlong)local_30,(ulonglong)*(uint *)(param_10 + 8),uVar4,uVar5); + FUN_14002a2d0((longlong)local_30,(ulonglong)uVar1,uVar4,uVar5); + uVar2 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30,PTR_DAT_14016f970,0xfbf7) + ; + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140055c90.c b/decomp/AgentManager_Release_x64/full/functions/0x140055c90.c new file mode 100644 index 00000000..dc7e6089 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140055c90.c @@ -0,0 +1,42 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140055c90 FUN_140055c90 + * Pseudocode, not original source. */ + +undefined1 +FUN_140055c90(longlong *param_1,undefined8 param_2,SIZE_T param_3,uint *param_4,longlong param_5, + longlong param_6) + +{ + ushort uVar1; + undefined1 uVar2; + SIZE_T SVar3; + uint *puVar4; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar3 = param_3; + puVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar3,puVar4); + FUN_14002a2d0((longlong)local_30,0xfbf8,SVar3,puVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_4,SVar3,puVar4); + uVar1 = *(ushort *)(param_5 + 0xc); + FUN_140051c10((longlong)local_30,(ulonglong)*(uint *)(param_5 + 8),SVar3,puVar4); + FUN_14002a2d0((longlong)local_30,(ulonglong)uVar1,SVar3,puVar4); + uVar1 = *(ushort *)(param_6 + 0xc); + FUN_140051c10((longlong)local_30,(ulonglong)*(uint *)(param_6 + 8),SVar3,puVar4); + FUN_14002a2d0((longlong)local_30,(ulonglong)uVar1,SVar3,puVar4); + uVar2 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,PTR_DAT_14016f978,0xfbf8); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140055dc0.c b/decomp/AgentManager_Release_x64/full/functions/0x140055dc0.c new file mode 100644 index 00000000..f916440d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140055dc0.c @@ -0,0 +1,43 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140055dc0 FUN_140055dc0 + * Pseudocode, not original source. */ + +undefined1 +FUN_140055dc0(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4, + uint *param_5,longlong param_6,longlong param_7) + +{ + ushort uVar1; + undefined1 uVar2; + undefined8 uVar3; + ulonglong uVar4; + undefined8 uVar5; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar3 = param_2; + uVar4 = param_3; + uVar5 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar3,uVar4,uVar5); + FUN_14002a2d0((longlong)local_30,0xfbf8,uVar4,uVar5); + FUN_140029e60((longlong)local_30,(ulonglong)*param_5,uVar4,uVar5); + uVar1 = *(ushort *)(param_6 + 0xc); + FUN_140051c10((longlong)local_30,(ulonglong)*(uint *)(param_6 + 8),uVar4,uVar5); + FUN_14002a2d0((longlong)local_30,(ulonglong)uVar1,uVar4,uVar5); + uVar1 = *(ushort *)(param_7 + 0xc); + FUN_140051c10((longlong)local_30,(ulonglong)*(uint *)(param_7 + 8),uVar4,uVar5); + FUN_14002a2d0((longlong)local_30,(ulonglong)uVar1,uVar4,uVar5); + uVar2 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30,PTR_DAT_14016f978,0xfbf8) + ; + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140055f00.c b/decomp/AgentManager_Release_x64/full/functions/0x140055f00.c new file mode 100644 index 00000000..6e6079cb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140055f00.c @@ -0,0 +1,35 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140055f00 FUN_140055f00 + * Pseudocode, not original source. */ + +undefined1 +FUN_140055f00(longlong *param_1,undefined8 param_2,SIZE_T param_3,uint *param_4,uint *param_5) + +{ + undefined1 uVar1; + SIZE_T SVar2; + uint *puVar3; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + puVar3 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,puVar3); + FUN_14002a2d0((longlong)local_30,0xfbf9,SVar2,puVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_4,SVar2,puVar3); + FUN_140051c10((longlong)local_30,(ulonglong)*param_5,SVar2,puVar3); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,PTR_DAT_14016f980,0xfbf9); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140055ff0.c b/decomp/AgentManager_Release_x64/full/functions/0x140055ff0.c new file mode 100644 index 00000000..a367284d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140055ff0.c @@ -0,0 +1,37 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140055ff0 FUN_140055ff0 + * Pseudocode, not original source. */ + +undefined1 +FUN_140055ff0(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4, + uint *param_5,uint *param_6) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0xfbf9,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_5,uVar3,uVar4); + FUN_140051c10((longlong)local_30,(ulonglong)*param_6,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30,PTR_DAT_14016f980,0xfbf9) + ; + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400560f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400560f0.c new file mode 100644 index 00000000..c58e93d0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400560f0.c @@ -0,0 +1,35 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400560f0 FUN_1400560f0 + * Pseudocode, not original source. */ + +undefined1 +FUN_1400560f0(longlong *param_1,undefined8 param_2,SIZE_T param_3,uint *param_4,uint *param_5) + +{ + undefined1 uVar1; + SIZE_T SVar2; + uint *puVar3; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + puVar3 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,puVar3); + FUN_14002a2d0((longlong)local_30,0xfbfa,SVar2,puVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_4,SVar2,puVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_5,SVar2,puVar3); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,PTR_DAT_14016f988,0xfbfa); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400561e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400561e0.c new file mode 100644 index 00000000..886b3df4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400561e0.c @@ -0,0 +1,37 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400561e0 FUN_1400561e0 + * Pseudocode, not original source. */ + +undefined1 +FUN_1400561e0(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4, + uint *param_5,uint *param_6) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0xfbfa,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_5,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_6,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30,PTR_DAT_14016f988,0xfbfa) + ; + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400562e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400562e0.c new file mode 100644 index 00000000..edc948be --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400562e0.c @@ -0,0 +1,49 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400562e0 FUN_1400562e0 + * Pseudocode, not original source. */ + +undefined1 +FUN_1400562e0(longlong *param_1,undefined8 param_2,SIZE_T param_3,uint *param_4,uint *param_5, + longlong param_6,longlong param_7,longlong param_8,longlong param_9) + +{ + ushort uVar1; + undefined1 uVar2; + SIZE_T SVar3; + uint *puVar4; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar3 = param_3; + puVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar3,puVar4); + FUN_14002a2d0((longlong)local_30,0xfbfb,SVar3,puVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_4,SVar3,puVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_5,SVar3,puVar4); + uVar1 = *(ushort *)(param_6 + 0xc); + FUN_140051c10((longlong)local_30,(ulonglong)*(uint *)(param_6 + 8),SVar3,puVar4); + FUN_14002a2d0((longlong)local_30,(ulonglong)uVar1,SVar3,puVar4); + uVar1 = *(ushort *)(param_7 + 0xc); + FUN_140051c10((longlong)local_30,(ulonglong)*(uint *)(param_7 + 8),SVar3,puVar4); + FUN_14002a2d0((longlong)local_30,(ulonglong)uVar1,SVar3,puVar4); + uVar1 = *(ushort *)(param_8 + 0xc); + FUN_140051c10((longlong)local_30,(ulonglong)*(uint *)(param_8 + 8),SVar3,puVar4); + FUN_14002a2d0((longlong)local_30,(ulonglong)uVar1,SVar3,puVar4); + uVar1 = *(ushort *)(param_9 + 0xc); + FUN_140051c10((longlong)local_30,(ulonglong)*(uint *)(param_9 + 8),SVar3,puVar4); + FUN_14002a2d0((longlong)local_30,(ulonglong)uVar1,SVar3,puVar4); + uVar2 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,PTR_DAT_14016f990,0xfbfb); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140056470.c b/decomp/AgentManager_Release_x64/full/functions/0x140056470.c new file mode 100644 index 00000000..1fde8877 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140056470.c @@ -0,0 +1,51 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140056470 FUN_140056470 + * Pseudocode, not original source. */ + +undefined1 +FUN_140056470(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4, + uint *param_5,uint *param_6,longlong param_7,longlong param_8,longlong param_9, + longlong param_10) + +{ + ushort uVar1; + undefined1 uVar2; + undefined8 uVar3; + ulonglong uVar4; + undefined8 uVar5; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar3 = param_2; + uVar4 = param_3; + uVar5 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar3,uVar4,uVar5); + FUN_14002a2d0((longlong)local_30,0xfbfb,uVar4,uVar5); + FUN_140029e60((longlong)local_30,(ulonglong)*param_5,uVar4,uVar5); + FUN_140029e60((longlong)local_30,(ulonglong)*param_6,uVar4,uVar5); + uVar1 = *(ushort *)(param_7 + 0xc); + FUN_140051c10((longlong)local_30,(ulonglong)*(uint *)(param_7 + 8),uVar4,uVar5); + FUN_14002a2d0((longlong)local_30,(ulonglong)uVar1,uVar4,uVar5); + uVar1 = *(ushort *)(param_8 + 0xc); + FUN_140051c10((longlong)local_30,(ulonglong)*(uint *)(param_8 + 8),uVar4,uVar5); + FUN_14002a2d0((longlong)local_30,(ulonglong)uVar1,uVar4,uVar5); + uVar1 = *(ushort *)(param_9 + 0xc); + FUN_140051c10((longlong)local_30,(ulonglong)*(uint *)(param_9 + 8),uVar4,uVar5); + FUN_14002a2d0((longlong)local_30,(ulonglong)uVar1,uVar4,uVar5); + uVar1 = *(ushort *)(param_10 + 0xc); + FUN_140051c10((longlong)local_30,(ulonglong)*(uint *)(param_10 + 8),uVar4,uVar5); + FUN_14002a2d0((longlong)local_30,(ulonglong)uVar1,uVar4,uVar5); + uVar2 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30,PTR_DAT_14016f990,0xfbfb) + ; + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140056610.c b/decomp/AgentManager_Release_x64/full/functions/0x140056610.c new file mode 100644 index 00000000..81110779 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140056610.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140056610 FUN_140056610 + * Pseudocode, not original source. */ + +undefined1 FUN_140056610(longlong *param_1,undefined8 param_2,SIZE_T param_3,undefined8 param_4) + +{ + undefined1 uVar1; + SIZE_T SVar2; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,param_4); + FUN_14002a2d0((longlong)local_30,0xfbfc,SVar2,param_4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,PTR_DAT_14016f998,0xfbfc); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400566d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400566d0.c new file mode 100644 index 00000000..581cf7f9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400566d0.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400566d0 FUN_1400566d0 + * Pseudocode, not original source. */ + +undefined1 FUN_1400566d0(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0xfbfc,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30,PTR_DAT_14016f998,0xfbfc) + ; + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400567a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400567a0.c new file mode 100644 index 00000000..05c8529a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400567a0.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400567a0 FUN_1400567a0 + * Pseudocode, not original source. */ + +undefined1 FUN_1400567a0(longlong *param_1,undefined8 param_2,SIZE_T param_3,undefined8 param_4) + +{ + undefined1 uVar1; + SIZE_T SVar2; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,param_4); + FUN_14002a2d0((longlong)local_30,0xfbfd,SVar2,param_4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,PTR_DAT_14016f9a0,0xfbfd); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140056860.c b/decomp/AgentManager_Release_x64/full/functions/0x140056860.c new file mode 100644 index 00000000..1600f51e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140056860.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140056860 FUN_140056860 + * Pseudocode, not original source. */ + +undefined1 FUN_140056860(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0xfbfd,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30,PTR_DAT_14016f9a0,0xfbfd) + ; + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140056930.c b/decomp/AgentManager_Release_x64/full/functions/0x140056930.c new file mode 100644 index 00000000..e2ab7e74 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140056930.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140056930 FUN_140056930 + * Pseudocode, not original source. */ + +undefined1 FUN_140056930(longlong *param_1,undefined8 param_2,SIZE_T param_3,undefined8 param_4) + +{ + undefined1 uVar1; + SIZE_T SVar2; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,param_4); + FUN_14002a2d0((longlong)local_30,0xfbfe,SVar2,param_4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,PTR_DAT_14016f9a8,0xfbfe); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400569f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400569f0.c new file mode 100644 index 00000000..a8c84010 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400569f0.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400569f0 FUN_1400569f0 + * Pseudocode, not original source. */ + +undefined1 FUN_1400569f0(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0xfbfe,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30,PTR_DAT_14016f9a8,0xfbfe) + ; + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140056ac0.c b/decomp/AgentManager_Release_x64/full/functions/0x140056ac0.c new file mode 100644 index 00000000..cf48ff0f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140056ac0.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140056ac0 FUN_140056ac0 + * Pseudocode, not original source. */ + +undefined1 FUN_140056ac0(longlong *param_1,undefined8 param_2,SIZE_T param_3,undefined8 param_4) + +{ + undefined1 uVar1; + SIZE_T SVar2; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,param_4); + FUN_14002a2d0((longlong)local_30,0xfbff,SVar2,param_4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,PTR_DAT_14016f9b0,0xfbff); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140056b80.c b/decomp/AgentManager_Release_x64/full/functions/0x140056b80.c new file mode 100644 index 00000000..2d96ecfe --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140056b80.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140056b80 FUN_140056b80 + * Pseudocode, not original source. */ + +undefined1 FUN_140056b80(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0xfbff,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30,PTR_DAT_14016f9b0,0xfbff) + ; + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140056c50.c b/decomp/AgentManager_Release_x64/full/functions/0x140056c50.c new file mode 100644 index 00000000..4657fdad --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140056c50.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140056c50 FUN_140056c50 + * Pseudocode, not original source. */ + +undefined1 FUN_140056c50(longlong *param_1,undefined8 param_2,SIZE_T param_3,byte *param_4) + +{ + undefined1 uVar1; + SIZE_T SVar2; + byte *pbVar3; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + pbVar3 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,pbVar3); + FUN_14002a2d0((longlong)local_30,0xfc00,SVar2,pbVar3); + FUN_140029d80((longlong)local_30,(ulonglong)*param_4,SVar2,pbVar3); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,PTR_DAT_14016f9b8,0xfc00); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140056d30.c b/decomp/AgentManager_Release_x64/full/functions/0x140056d30.c new file mode 100644 index 00000000..08953deb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140056d30.c @@ -0,0 +1,36 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140056d30 FUN_140056d30 + * Pseudocode, not original source. */ + +undefined1 +FUN_140056d30(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4, + byte *param_5) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0xfc00,uVar3,uVar4); + FUN_140029d80((longlong)local_30,(ulonglong)*param_5,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30,PTR_DAT_14016f9b8,0xfc00) + ; + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140056e10.c b/decomp/AgentManager_Release_x64/full/functions/0x140056e10.c new file mode 100644 index 00000000..220f3dd7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140056e10.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140056e10 FUN_140056e10 + * Pseudocode, not original source. */ + +undefined1 FUN_140056e10(longlong *param_1,undefined8 param_2,SIZE_T param_3,undefined8 param_4) + +{ + undefined1 uVar1; + SIZE_T SVar2; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,param_4); + FUN_14002a2d0((longlong)local_30,0xfc01,SVar2,param_4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,PTR_DAT_14016f9c0,0xfc01); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140056ed0.c b/decomp/AgentManager_Release_x64/full/functions/0x140056ed0.c new file mode 100644 index 00000000..0dd0e7e4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140056ed0.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140056ed0 FUN_140056ed0 + * Pseudocode, not original source. */ + +undefined1 FUN_140056ed0(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0xfc01,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30,PTR_DAT_14016f9c0,0xfc01) + ; + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140056fa0.c b/decomp/AgentManager_Release_x64/full/functions/0x140056fa0.c new file mode 100644 index 00000000..0161e7d6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140056fa0.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140056fa0 FUN_140056fa0 + * Pseudocode, not original source. */ + +undefined1 FUN_140056fa0(longlong *param_1,undefined8 param_2,SIZE_T param_3,undefined8 param_4) + +{ + undefined1 uVar1; + SIZE_T SVar2; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,param_4); + FUN_14002a2d0((longlong)local_30,0xfc02,SVar2,param_4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,PTR_DAT_14016f9c8,0xfc02); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140057060.c b/decomp/AgentManager_Release_x64/full/functions/0x140057060.c new file mode 100644 index 00000000..039c2956 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140057060.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140057060 FUN_140057060 + * Pseudocode, not original source. */ + +undefined1 FUN_140057060(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0xfc02,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30,PTR_DAT_14016f9c8,0xfc02) + ; + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140057130.c b/decomp/AgentManager_Release_x64/full/functions/0x140057130.c new file mode 100644 index 00000000..d222ba0e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140057130.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140057130 FUN_140057130 + * Pseudocode, not original source. */ + +undefined1 FUN_140057130(longlong *param_1,undefined8 param_2,SIZE_T param_3,uint *param_4) + +{ + undefined1 uVar1; + SIZE_T SVar2; + uint *puVar3; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + puVar3 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,puVar3); + FUN_14002a2d0((longlong)local_30,0xfc03,SVar2,puVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_4,SVar2,puVar3); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,PTR_DAT_14016f9d0,0xfc03); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140057210.c b/decomp/AgentManager_Release_x64/full/functions/0x140057210.c new file mode 100644 index 00000000..0c3f4414 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140057210.c @@ -0,0 +1,36 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140057210 FUN_140057210 + * Pseudocode, not original source. */ + +undefined1 +FUN_140057210(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4, + uint *param_5) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0xfc03,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_5,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30,PTR_DAT_14016f9d0,0xfc03) + ; + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400572f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400572f0.c new file mode 100644 index 00000000..9dfc9fdc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400572f0.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400572f0 FUN_1400572f0 + * Pseudocode, not original source. */ + +undefined1 FUN_1400572f0(longlong *param_1,undefined8 param_2,SIZE_T param_3,uint *param_4) + +{ + undefined1 uVar1; + SIZE_T SVar2; + uint *puVar3; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + puVar3 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,puVar3); + FUN_14002a2d0((longlong)local_30,0xfc04,SVar2,puVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_4,SVar2,puVar3); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,PTR_DAT_14016f9d8,0xfc04); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400573d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400573d0.c new file mode 100644 index 00000000..806ee983 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400573d0.c @@ -0,0 +1,36 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400573d0 FUN_1400573d0 + * Pseudocode, not original source. */ + +undefined1 +FUN_1400573d0(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4, + uint *param_5) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0xfc04,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_5,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30,PTR_DAT_14016f9d8,0xfc04) + ; + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400574b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400574b0.c new file mode 100644 index 00000000..7114ce37 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400574b0.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400574b0 FUN_1400574b0 + * Pseudocode, not original source. */ + +undefined1 FUN_1400574b0(longlong *param_1,undefined8 param_2,SIZE_T param_3,byte *param_4) + +{ + undefined1 uVar1; + SIZE_T SVar2; + byte *pbVar3; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + pbVar3 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,pbVar3); + FUN_14002a2d0((longlong)local_30,0xfc05,SVar2,pbVar3); + FUN_140029d80((longlong)local_30,(ulonglong)*param_4,SVar2,pbVar3); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,PTR_DAT_14016f9e0,0xfc05); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140057590.c b/decomp/AgentManager_Release_x64/full/functions/0x140057590.c new file mode 100644 index 00000000..bf4cd5e3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140057590.c @@ -0,0 +1,36 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140057590 FUN_140057590 + * Pseudocode, not original source. */ + +undefined1 +FUN_140057590(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4, + byte *param_5) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0xfc05,uVar3,uVar4); + FUN_140029d80((longlong)local_30,(ulonglong)*param_5,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30,PTR_DAT_14016f9e0,0xfc05) + ; + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140057670.c b/decomp/AgentManager_Release_x64/full/functions/0x140057670.c new file mode 100644 index 00000000..4cbdfaa1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140057670.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140057670 FUN_140057670 + * Pseudocode, not original source. */ + +undefined1 FUN_140057670(longlong *param_1,undefined8 param_2,SIZE_T param_3,longlong *param_4) + +{ + undefined1 uVar1; + SIZE_T SVar2; + longlong *plVar3; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + plVar3 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,plVar3); + FUN_14002a2d0((longlong)local_30,0xfc06,SVar2,plVar3); + FUN_140092470((longlong)local_30,param_4,SVar2,plVar3); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,PTR_DAT_14016f9e8,0xfc06); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140057750.c b/decomp/AgentManager_Release_x64/full/functions/0x140057750.c new file mode 100644 index 00000000..b4224c39 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140057750.c @@ -0,0 +1,36 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140057750 FUN_140057750 + * Pseudocode, not original source. */ + +undefined1 +FUN_140057750(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4, + longlong *param_5) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0xfc06,uVar3,uVar4); + FUN_140092470((longlong)local_30,param_5,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30,PTR_DAT_14016f9e8,0xfc06) + ; + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140057830.c b/decomp/AgentManager_Release_x64/full/functions/0x140057830.c new file mode 100644 index 00000000..748ed21c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140057830.c @@ -0,0 +1,35 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140057830 FUN_140057830 + * Pseudocode, not original source. */ + +undefined1 +FUN_140057830(longlong *param_1,undefined8 param_2,SIZE_T param_3,byte *param_4,longlong *param_5) + +{ + undefined1 uVar1; + SIZE_T SVar2; + byte *pbVar3; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + pbVar3 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,pbVar3); + FUN_14002a2d0((longlong)local_30,0xfc07,SVar2,pbVar3); + FUN_140029d80((longlong)local_30,(ulonglong)*param_4,SVar2,pbVar3); + FUN_140092470((longlong)local_30,param_5,SVar2,pbVar3); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,PTR_DAT_14016f9f0,0xfc07); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140057920.c b/decomp/AgentManager_Release_x64/full/functions/0x140057920.c new file mode 100644 index 00000000..98b7b68a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140057920.c @@ -0,0 +1,37 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140057920 FUN_140057920 + * Pseudocode, not original source. */ + +undefined1 +FUN_140057920(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4, + byte *param_5,longlong *param_6) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0xfc07,uVar3,uVar4); + FUN_140029d80((longlong)local_30,(ulonglong)*param_5,uVar3,uVar4); + FUN_140092470((longlong)local_30,param_6,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30,PTR_DAT_14016f9f0,0xfc07) + ; + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140057a10.c b/decomp/AgentManager_Release_x64/full/functions/0x140057a10.c new file mode 100644 index 00000000..705e28ab --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140057a10.c @@ -0,0 +1,39 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140057a10 FUN_140057a10 + * Pseudocode, not original source. */ + +undefined8 FUN_140057a10(longlong param_1,uint param_2,undefined8 param_3,longlong *param_4) + +{ + uint uVar1; + longlong lVar2; + ulonglong uVar3; + int *piVar4; + undefined8 uVar5; + uint *puVar6; + + piVar4 = (int *)(**(code **)(**(longlong **)(param_1 + 0x20) + 0x58))(); + FUN_14003d040(piVar4); + if (DAT_14017614f != '\0') { + (**(code **)(**(longlong **)(param_1 + 0x20) + 200))(); + } + uVar1 = *(uint *)(*(longlong *)(param_1 + 0x20) + 0xca0); + uVar3 = (ulonglong)param_2 % (ulonglong)uVar1; + lVar2 = *(longlong *)(*(longlong *)(param_1 + 0x20) + 0xc80); + if ((lVar2 != 0) && (puVar6 = *(uint **)(lVar2 + uVar3 * 8), puVar6 != (uint *)0x0)) { + while ((uint)uVar3 == puVar6[8] % uVar1) { + if (*puVar6 == param_2) { + lVar2 = *(longlong *)(puVar6 + 2); + if ((lVar2 != 0) && (*(longlong *)(lVar2 + 0x228) == 0)) { + FUN_1400020c0((longlong *)(lVar2 + 0x1f0),param_4,uVar3,(ulonglong)uVar1); + } + break; + } + puVar6 = *(uint **)(puVar6 + 4); + if (puVar6 == (uint *)0x0) break; + } + } + uVar5 = FUN_14003d0d0((longlong)piVar4); + return CONCAT71((int7)((ulonglong)uVar5 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140057b00.c b/decomp/AgentManager_Release_x64/full/functions/0x140057b00.c new file mode 100644 index 00000000..94867000 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140057b00.c @@ -0,0 +1,39 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140057b00 FUN_140057b00 + * Pseudocode, not original source. */ + +undefined8 FUN_140057b00(longlong param_1,uint param_2,undefined8 param_3,undefined8 *param_4) + +{ + uint uVar1; + longlong lVar2; + ulonglong uVar3; + int *piVar4; + undefined8 uVar5; + uint *puVar6; + + piVar4 = (int *)(**(code **)(**(longlong **)(param_1 + 0x20) + 0x58))(); + FUN_14003d040(piVar4); + if (DAT_14017614f != '\0') { + (**(code **)(**(longlong **)(param_1 + 0x20) + 200))(); + } + uVar1 = *(uint *)(*(longlong *)(param_1 + 0x20) + 0xca0); + uVar3 = (ulonglong)param_2 % (ulonglong)uVar1; + lVar2 = *(longlong *)(*(longlong *)(param_1 + 0x20) + 0xc80); + if ((lVar2 != 0) && (puVar6 = *(uint **)(lVar2 + uVar3 * 8), puVar6 != (uint *)0x0)) { + while ((uint)uVar3 == puVar6[8] % uVar1) { + if (*puVar6 == param_2) { + lVar2 = *(longlong *)(puVar6 + 2); + if ((lVar2 != 0) && (*(longlong *)(lVar2 + 0x228) == 0)) { + *(undefined8 *)(lVar2 + 400) = *param_4; + } + break; + } + puVar6 = *(uint **)(puVar6 + 4); + if (puVar6 == (uint *)0x0) break; + } + } + uVar5 = FUN_14003d0d0((longlong)piVar4); + return CONCAT71((int7)((ulonglong)uVar5 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140057bf0.c b/decomp/AgentManager_Release_x64/full/functions/0x140057bf0.c new file mode 100644 index 00000000..58e7fe24 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140057bf0.c @@ -0,0 +1,65 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140057bf0 FUN_140057bf0 + * Pseudocode, not original source. */ + +undefined8 +FUN_140057bf0(longlong param_1,wchar_t *param_2,longlong param_3,uint *param_4,longlong *param_5) + +{ + int *piVar1; + short *psVar2; + int *piVar3; + int *piVar4; + undefined8 uVar5; + longlong *plVar6; + longlong lVar7; + wchar_t *pwVar8; + ulonglong uVar9; + short *psVar10; + uint *puVar11; + undefined *puVar12; + short *local_res8; + + pwVar8 = param_2; + puVar11 = param_4; + piVar3 = (int *)(**(code **)(**(longlong **)(param_1 + 0x20) + 0x58))(); + FUN_14003d040(piVar3); + plVar6 = *(longlong **)(param_1 + 0x20); + if (DAT_14017614f != '\0') { + param_3 = *plVar6; + pwVar8 = L"Proud::CNetServerImpl::C2SStub::NotifyLog"; + (**(code **)(param_3 + 200))(); + } + if (*(longlong *)(*(longlong *)(param_1 + 0x20) + 0x17f0) != 0) { + FUN_14003e7c0(plVar6,pwVar8,param_3,puVar11); + local_res8 = (short *)PTR_DAT_14016f010; + puVar12 = (undefined *)*param_5; + if ((undefined *)*param_5 == (undefined *)0x0) { + puVar12 = PTR_DAT_14016f010; + } + FUN_140029b80((longlong *)&local_res8,L"[Client %d] %s",(ulonglong)param_2 & 0xffffffff,puVar12) + ; + psVar2 = local_res8; + psVar10 = local_res8; + if (local_res8 == (short *)0x0) { + psVar10 = (short *)PTR_DAT_14016f010; + } + uVar9 = (ulonglong)*param_4; + lVar7 = *(longlong *)(*(longlong *)(param_1 + 0x20) + 0x17f0); + FUN_1400843d0(lVar7,uVar9,psVar10,puVar12); + if (((psVar2 != (short *)0x0) && (psVar2 != (short *)PTR_DAT_14016f010)) && + (psVar2 + -4 != (short *)0x0)) { + piVar4 = (int *)FUN_14003e7c0(lVar7,uVar9,psVar10,puVar12); + FUN_14003d040(piVar4); + piVar1 = (int *)(psVar2 + -2); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(psVar2 + -4); + } + FUN_14003d0d0((longlong)piVar4); + } + } + uVar5 = FUN_14003d0d0((longlong)piVar3); + return CONCAT71((int7)((ulonglong)uVar5 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140057d30.c b/decomp/AgentManager_Release_x64/full/functions/0x140057d30.c new file mode 100644 index 00000000..69cba668 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140057d30.c @@ -0,0 +1,195 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140057d30 FUN_140057d30 + * Pseudocode, not original source. */ + +undefined8 +FUN_140057d30(longlong param_1,uint param_2,short *param_3,int *param_4,longlong *param_5) + +{ + undefined *puVar1; + undefined *puVar2; + int *piVar3; + int *piVar4; + int *piVar5; + longlong lVar6; + longlong *plVar7; + longlong lVar8; + undefined8 *puVar9; + undefined **ppuVar10; + longlong *plVar11; + undefined8 uVar12; + ulonglong uVar13; + wchar_t *pwVar14; + int *piVar15; + undefined *puVar16; + undefined *local_res8; + undefined *local_res20; + undefined *local_118; + undefined *local_110; + undefined *local_108; + int *local_100; + undefined1 local_f8; + undefined8 local_e8; + undefined8 local_e0; + undefined8 local_d8; + undefined8 local_d0; + undefined8 local_c8; + undefined8 local_c0; + undefined8 local_b8; + undefined8 local_b0; + ulonglong local_a8; + undefined8 local_a0; + undefined4 local_98; + int *local_88; + undefined1 local_80; + int *local_78; + undefined1 local_70; + int *local_68; + undefined1 local_60; + int *local_58; + undefined1 local_50; + int *local_48; + undefined1 local_40; + undefined8 local_38; + + local_38 = 0xfffffffffffffffe; + piVar15 = param_4; + piVar3 = (int *)(**(code **)(**(longlong **)(param_1 + 0x20) + 0x58))(); + local_100 = piVar3; + FUN_14003d040(piVar3); + local_f8 = 1; + if (DAT_14017614f != '\0') { + param_3 = (short *)**(longlong **)(param_1 + 0x20); + (**(code **)(param_3 + 100)) + (*(longlong **)(param_1 + 0x20), + L"Proud::CNetServerImpl::C2SStub::NotifyLogHolepunchFreqFail"); + } + local_a8 = 0; + local_e0 = 0; + local_e8 = 0; + local_d0 = 0; + local_d8 = 0; + local_b0 = 0; + local_b8 = 0; + local_c0 = 0; + local_c8 = 0; + local_a0 = 0; + local_98 = 0; + plVar7 = (longlong *)(*(longlong *)(param_1 + 0x20) + 0xa8); + puVar9 = &local_e8; + (**(code **)(*plVar7 + 0xb0))(); + if (*(longlong *)(*(longlong *)(param_1 + 0x20) + 0x17f0) != 0) { + FUN_14003e7c0(plVar7,puVar9,param_3,piVar15); + local_res8 = PTR_DAT_14016f010; + piVar15 = (int *)(local_a8 >> 0x20); + FUN_140029b80((longlong *)&local_res8,L"[Client %d] Pair=%d/%d##CCU=%d##",(ulonglong)param_2, + piVar15); + plVar7 = FUN_1400514d0((longlong *)&local_108,(longlong *)&local_res8,param_5,piVar15); + param_3 = (short *)*plVar7; + if ((short *)*plVar7 == (short *)0x0) { + param_3 = (short *)PTR_DAT_14016f010; + } + uVar12 = 2; + piVar4 = *(int **)(*(longlong *)(param_1 + 0x20) + 0x17f0); + FUN_1400843d0((longlong)piVar4,2,param_3,piVar15); + if (((local_108 != (undefined *)0x0) && (local_108 != PTR_DAT_14016f010)) && + (local_108 + -8 != (undefined *)0x0)) { + piVar4 = (int *)FUN_14003e7c0(piVar4,uVar12,param_3,piVar15); + local_88 = piVar4; + FUN_14003d040(piVar4); + local_80 = 1; + piVar5 = (int *)(local_108 + -4); + *piVar5 = *piVar5 + -1; + if (*piVar5 == 0) { + FUN_14003e8b0(local_108 + -8); + } + FUN_14003d0d0((longlong)piVar4); + } + puVar16 = local_res8; + if (((local_res8 != (undefined *)0x0) && (local_res8 != PTR_DAT_14016f010)) && + (puVar1 = local_res8 + -8, puVar1 != (undefined *)0x0)) { + piVar5 = (int *)FUN_14003e7c0(piVar4,uVar12,param_3,piVar15); + local_68 = piVar5; + FUN_14003d040(piVar5); + local_60 = 1; + piVar4 = (int *)(puVar16 + -4); + *piVar4 = *piVar4 + -1; + if (*piVar4 == 0) { + FUN_14003e8b0(puVar1); + } + FUN_14003d0d0((longlong)piVar5); + } + } + lVar8 = *(longlong *)(param_1 + 0x20); + if (*(int *)(lVar8 + 0x1804) < *param_4) { + uVar13 = (ulonglong)param_2; + lVar6 = FUN_14004f000(lVar8,param_2); + if (lVar6 != 0) { + FUN_14003e7c0(lVar8,uVar13,param_3,piVar15); + local_res20 = PTR_DAT_14016f010; + puVar9 = (undefined8 *)(*(longlong *)(lVar6 + 0x748) + 0x128); + plVar7 = (longlong *)(**(code **)*puVar9)(puVar9,&local_110); + puVar16 = (undefined *)*plVar7; + if ((undefined *)*plVar7 == (undefined *)0x0) { + puVar16 = PTR_DAT_14016f010; + } + uVar13 = (ulonglong)param_2; + pwVar14 = L"[Client %d %s] Pair=%d/%d##CCU=%d"; + ppuVar10 = &local_res20; + FUN_140029b80((longlong *)ppuVar10,L"[Client %d %s] Pair=%d/%d##CCU=%d",uVar13,puVar16); + if (((local_110 != (undefined *)0x0) && (local_110 != PTR_DAT_14016f010)) && + (local_110 + -8 != (undefined *)0x0)) { + piVar3 = (int *)FUN_14003e7c0(ppuVar10,pwVar14,uVar13,puVar16); + local_48 = piVar3; + FUN_14003d040(piVar3); + local_40 = 1; + piVar15 = (int *)(local_110 + -4); + *piVar15 = *piVar15 + -1; + if (*piVar15 == 0) { + FUN_14003e8b0(local_110 + -8); + } + FUN_14003d0d0((longlong)piVar3); + } + *(int *)(*(longlong *)(param_1 + 0x20) + 0x1804) = *param_4; + plVar7 = FUN_1400514d0((longlong *)&local_118,(longlong *)&local_res20,param_5,puVar16); + plVar11 = (longlong *)(*(longlong *)(param_1 + 0x20) + 0x1808); + FUN_1400020c0(plVar11,plVar7,param_5,puVar16); + if (((local_118 != (undefined *)0x0) && (local_118 != PTR_DAT_14016f010)) && + (local_118 + -8 != (undefined *)0x0)) { + piVar3 = (int *)FUN_14003e7c0(plVar11,plVar7,param_5,puVar16); + local_78 = piVar3; + FUN_14003d040(piVar3); + local_70 = 1; + piVar15 = (int *)(local_118 + -4); + *piVar15 = *piVar15 + -1; + if (*piVar15 == 0) { + FUN_14003e8b0(local_118 + -8); + } + FUN_14003d0d0((longlong)piVar3); + } + puVar1 = local_res20; + lVar8 = *(longlong *)(param_1 + 0x20); + LOCK(); + *(undefined4 *)(lVar8 + 0x1840) = 1; + UNLOCK(); + piVar3 = local_100; + if (((local_res20 != (undefined *)0x0) && (local_res20 != PTR_DAT_14016f010)) && + (puVar2 = local_res20 + -8, puVar2 != (undefined *)0x0)) { + piVar3 = (int *)FUN_14003e7c0(lVar8,plVar7,param_5,puVar16); + local_58 = piVar3; + FUN_14003d040(piVar3); + local_50 = 1; + piVar15 = (int *)(puVar1 + -4); + *piVar15 = *piVar15 + -1; + if (*piVar15 == 0) { + FUN_14003e8b0(puVar2); + } + FUN_14003d0d0((longlong)piVar3); + piVar3 = local_100; + } + } + } + uVar12 = FUN_14003d0d0((longlong)piVar3); + return CONCAT71((int7)((ulonglong)uVar12 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400580d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400580d0.c new file mode 100644 index 00000000..6f851383 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400580d0.c @@ -0,0 +1,46 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400580d0 FUN_1400580d0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400580d0(longlong param_1,ulonglong param_2,undefined8 param_3,float *param_4) + +{ + uint uVar1; + longlong lVar2; + ulonglong uVar3; + int *piVar4; + undefined8 uVar5; + int *piVar6; + longlong *plVar7; + + piVar4 = (int *)(**(code **)(**(longlong **)(param_1 + 0x20) + 0x58)) + (*(longlong **)(param_1 + 0x20),param_2,param_3,param_4, + 0xfffffffffffffffe); + FUN_14003d040(piVar4); + if (DAT_14017614f != '\0') { + (**(code **)(**(longlong **)(param_1 + 0x20) + 200))(); + } + uVar1 = *(uint *)(*(longlong *)(param_1 + 0x20) + 0xca0); + uVar3 = (param_2 & 0xffffffff) % (ulonglong)uVar1; + lVar2 = *(longlong *)(*(longlong *)(param_1 + 0x20) + 0xc80); + if ((lVar2 != 0) && (piVar6 = *(int **)(lVar2 + uVar3 * 8), piVar6 != (int *)0x0)) { + while ((uint)uVar3 == (uint)piVar6[8] % uVar1) { + if (*piVar6 == (int)param_2) { + lVar2 = *(longlong *)(piVar6 + 2); + if ((lVar2 != 0) && (*(longlong *)(lVar2 + 0x228) == 0)) { + uVar5 = (**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x20) + 0x118) + 8))(); + *(undefined8 *)(lVar2 + 0x180) = uVar5; + *(double *)(lVar2 + 0x1e0) = (double)*param_4; + plVar7 = (longlong *)(*(longlong *)(param_1 + 0x20) + 0x4a8); + (**(code **)(*plVar7 + 0xa0))(plVar7,param_2 & 0xffffffff,&DAT_140177f90); + } + break; + } + piVar6 = *(int **)(piVar6 + 4); + if (piVar6 == (int *)0x0) break; + } + } + uVar5 = FUN_14003d0d0((longlong)piVar4); + return CONCAT71((int7)((ulonglong)uVar5 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140058210.c b/decomp/AgentManager_Release_x64/full/functions/0x140058210.c new file mode 100644 index 00000000..b33eee85 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140058210.c @@ -0,0 +1,59 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140058210 FUN_140058210 + * Pseudocode, not original source. */ + +undefined8 FUN_140058210(longlong param_1,uint param_2,undefined8 param_3,longlong param_4) + +{ + uint uVar1; + int iVar2; + longlong lVar3; + ulonglong uVar4; + int *piVar5; + undefined8 uVar6; + uint *puVar7; + undefined8 *puVar8; + longlong *plVar9; + undefined8 *puVar10; + + piVar5 = (int *)(**(code **)(**(longlong **)(param_1 + 0x20) + 0x58))(); + FUN_14003d040(piVar5); + if (DAT_14017614f != '\0') { + (**(code **)(**(longlong **)(param_1 + 0x20) + 200))(); + } + uVar1 = *(uint *)(*(longlong *)(param_1 + 0x20) + 0xca0); + uVar4 = (ulonglong)param_2 % (ulonglong)uVar1; + lVar3 = *(longlong *)(*(longlong *)(param_1 + 0x20) + 0xc80); + if ((lVar3 != 0) && (puVar7 = *(uint **)(lVar3 + uVar4 * 8), puVar7 != (uint *)0x0)) { + while ((uint)uVar4 == puVar7[8] % uVar1) { + if (*puVar7 == param_2) { + lVar3 = *(longlong *)(puVar7 + 2); + if ((lVar3 != 0) && (*(longlong *)(lVar3 + 0x228) == 0)) { + iVar2 = *(int *)(param_4 + 0x18); + if (iVar2 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + FUN_14002a050(lVar3 + 0x1f8,iVar2,uVar4); + puVar8 = (undefined8 *)0x0; + puVar10 = puVar8; + if (*(int *)(param_4 + 0x18) != 0) { + puVar10 = *(undefined8 **)(param_4 + 0x10); + } + if (*(int *)(lVar3 + 0x210) != 0) { + puVar8 = *(undefined8 **)(lVar3 + 0x208); + } + FUN_140006fb0(puVar8,puVar10,(longlong)iVar2); + plVar9 = (longlong *)(*(longlong *)(param_1 + 0x20) + 0x4a8); + (**(code **)(*plVar9 + 0xf0))(plVar9,param_2,&DAT_140177f90); + } + break; + } + puVar7 = *(uint **)(puVar7 + 4); + if (puVar7 == (uint *)0x0) break; + } + } + uVar6 = FUN_14003d0d0((longlong)piVar5); + return CONCAT71((int7)((ulonglong)uVar6 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140058370.c b/decomp/AgentManager_Release_x64/full/functions/0x140058370.c new file mode 100644 index 00000000..1145edc5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140058370.c @@ -0,0 +1,39 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140058370 FUN_140058370 + * Pseudocode, not original source. */ + +undefined8 FUN_140058370(longlong param_1,uint param_2,undefined8 param_3,longlong *param_4) + +{ + uint uVar1; + longlong lVar2; + ulonglong uVar3; + int *piVar4; + undefined8 uVar5; + uint *puVar6; + + piVar4 = (int *)(**(code **)(**(longlong **)(param_1 + 0x20) + 0x58))(); + FUN_14003d040(piVar4); + if (DAT_14017614f != '\0') { + (**(code **)(**(longlong **)(param_1 + 0x20) + 200))(); + } + uVar1 = *(uint *)(*(longlong *)(param_1 + 0x20) + 0xca0); + uVar3 = (ulonglong)param_2 % (ulonglong)uVar1; + lVar2 = *(longlong *)(*(longlong *)(param_1 + 0x20) + 0xc80); + if ((lVar2 != 0) && (puVar6 = *(uint **)(lVar2 + uVar3 * 8), puVar6 != (uint *)0x0)) { + while ((uint)uVar3 == puVar6[8] % uVar1) { + if (*puVar6 == param_2) { + lVar2 = *(longlong *)(puVar6 + 2); + if ((lVar2 != 0) && (*(longlong *)(lVar2 + 0x228) == 0)) { + FUN_1400020c0((longlong *)(lVar2 + 0x1f0),param_4,uVar3,(ulonglong)uVar1); + } + break; + } + puVar6 = *(uint **)(puVar6 + 4); + if (puVar6 == (uint *)0x0) break; + } + } + uVar5 = FUN_14003d0d0((longlong)piVar4); + return CONCAT71((int7)((ulonglong)uVar5 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140058460.c b/decomp/AgentManager_Release_x64/full/functions/0x140058460.c new file mode 100644 index 00000000..ec5c1ffd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140058460.c @@ -0,0 +1,56 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140058460 FUN_140058460 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x00014005856f) */ + +undefined8 +FUN_140058460(longlong param_1,undefined8 param_2,undefined8 param_3,int *param_4,uint *param_5) + +{ + int *piVar1; + longlong lVar2; + longlong *plVar3; + int *piVar4; + undefined8 uVar5; + longlong lVar6; + + piVar1 = (int *)(**(code **)(**(longlong **)(param_1 + 0x20) + 0x58)) + (*(longlong **)(param_1 + 0x20),param_2,param_3,param_4, + 0xfffffffffffffffe); + FUN_14003d040(piVar1); + if (DAT_14017614f != '\0') { + (**(code **)(**(longlong **)(param_1 + 0x20) + 200)) + (*(longlong **)(param_1 + 0x20),L"Proud::CNetServerImpl::C2SStub::ReportP2PPeerPing"); + } + lVar2 = FUN_14004f000(*(longlong *)(param_1 + 0x20),(uint)param_2); + if (lVar2 != 0) { + if (*(longlong *)(lVar2 + 0x6c0) == 0) { + plVar3 = (longlong *)0x0; + } + else { + plVar3 = *(longlong **)(lVar2 + 0x6b0); + } + for (; plVar3 != (longlong *)0x0; plVar3 = (longlong *)plVar3[2]) { + if ((longlong *)*plVar3 == (longlong *)0x0) { + lVar2 = 0; + } + else { + lVar2 = *(longlong *)*plVar3; + } + lVar6 = 0; + piVar4 = (int *)(lVar2 + 0x10); + do { + if (*piVar4 == *param_4) { + *(double *)(lVar2 + 0x188) = (double)*param_5 / 1000.0; + break; + } + lVar6 = lVar6 + 1; + piVar4 = piVar4 + 0xc; + } while (lVar6 < 2); + } + } + uVar5 = FUN_14003d0d0((longlong)piVar1); + return CONCAT71((int7)((ulonglong)uVar5 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400585a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400585a0.c new file mode 100644 index 00000000..ebdf24b6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400585a0.c @@ -0,0 +1,72 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400585a0 FUN_1400585a0 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x000140058722) */ + +undefined8 +FUN_1400585a0(longlong param_1,uint param_2,undefined8 param_3,int *param_4,int *param_5, + int *param_6) + +{ + uint uVar1; + ulonglong uVar2; + int *piVar3; + longlong *plVar4; + int *piVar5; + undefined8 uVar6; + uint *puVar7; + longlong lVar8; + longlong lVar9; + + piVar3 = (int *)(**(code **)(**(longlong **)(param_1 + 0x20) + 0x58))(); + FUN_14003d040(piVar3); + if (DAT_14017614f != '\0') { + (**(code **)(**(longlong **)(param_1 + 0x20) + 200))(); + } + uVar1 = *(uint *)(*(longlong *)(param_1 + 0x20) + 0xca0); + uVar2 = (ulonglong)param_2 % (ulonglong)uVar1; + lVar9 = *(longlong *)(*(longlong *)(param_1 + 0x20) + 0xc80); + if ((lVar9 != 0) && (puVar7 = *(uint **)(lVar9 + uVar2 * 8), puVar7 != (uint *)0x0)) { + while ((uint)uVar2 == puVar7[8] % uVar1) { + if (*puVar7 == param_2) { + lVar9 = *(longlong *)(puVar7 + 2); + if (((lVar9 != 0) && (*(longlong *)(lVar9 + 0x228) == 0)) && (*param_4 != 0)) { + *(int *)(lVar9 + 0x1d4) = *(int *)(lVar9 + 0x1d4) + *param_5; + *(int *)(lVar9 + 0x1d0) = *(int *)(lVar9 + 0x1d0) + *param_6; + if (*(longlong *)(lVar9 + 0x6c0) == 0) { + plVar4 = (longlong *)0x0; + } + else { + plVar4 = *(longlong **)(lVar9 + 0x6b0); + } + for (; plVar4 != (longlong *)0x0; plVar4 = (longlong *)plVar4[2]) { + if ((longlong *)*plVar4 == (longlong *)0x0) { + lVar9 = 0; + } + else { + lVar9 = *(longlong *)*plVar4; + } + lVar8 = 0; + piVar5 = (int *)(lVar9 + 0x10); + do { + if (*piVar5 == *param_4) { + *(int *)(lVar9 + 0x1a8) = *param_5; + *(int *)(lVar9 + 0x1a4) = *param_6; + break; + } + lVar8 = lVar8 + 1; + piVar5 = piVar5 + 0xc; + } while (lVar8 < 2); + } + } + break; + } + puVar7 = *(uint **)(puVar7 + 4); + if (puVar7 == (uint *)0x0) break; + } + } + uVar6 = FUN_14003d0d0((longlong)piVar3); + return CONCAT71((int7)((ulonglong)uVar6 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140058750.c b/decomp/AgentManager_Release_x64/full/functions/0x140058750.c new file mode 100644 index 00000000..fcba6a61 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140058750.c @@ -0,0 +1,39 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140058750 FUN_140058750 + * Pseudocode, not original source. */ + +undefined8 FUN_140058750(longlong param_1,uint param_2,undefined8 param_3,undefined4 *param_4) + +{ + uint uVar1; + longlong lVar2; + ulonglong uVar3; + int *piVar4; + undefined8 uVar5; + uint *puVar6; + + piVar4 = (int *)(**(code **)(**(longlong **)(param_1 + 0x20) + 0x58))(); + FUN_14003d040(piVar4); + if (DAT_14017614f != '\0') { + (**(code **)(**(longlong **)(param_1 + 0x20) + 200))(); + } + uVar1 = *(uint *)(*(longlong *)(param_1 + 0x20) + 0xca0); + uVar3 = (ulonglong)param_2 % (ulonglong)uVar1; + lVar2 = *(longlong *)(*(longlong *)(param_1 + 0x20) + 0xc80); + if ((lVar2 != 0) && (puVar6 = *(uint **)(lVar2 + uVar3 * 8), puVar6 != (uint *)0x0)) { + while ((uint)uVar3 == puVar6[8] % uVar1) { + if (*puVar6 == param_2) { + lVar2 = *(longlong *)(puVar6 + 2); + if ((lVar2 != 0) && (*(longlong *)(lVar2 + 0x228) == 0)) { + *(undefined4 *)(lVar2 + 0x1d8) = *param_4; + } + break; + } + puVar6 = *(uint **)(puVar6 + 4); + if (puVar6 == (uint *)0x0) break; + } + } + uVar5 = FUN_14003d0d0((longlong)piVar4); + return CONCAT71((int7)((ulonglong)uVar5 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140058840.c b/decomp/AgentManager_Release_x64/full/functions/0x140058840.c new file mode 100644 index 00000000..1d88c42c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140058840.c @@ -0,0 +1,311 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140058840 FUN_140058840 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* WARNING: Function: __chkstk replaced with injection: alloca_probe */ +/* WARNING: Removing unreachable block (ram,0x000140058ca0) */ + +void FUN_140058840(longlong *param_1,wchar_t *param_2,SIZE_T *param_3,undefined8 param_4) + +{ + ulonglong _Size; + uint uVar1; + longlong lVar2; + code *pcVar3; + char *pcVar4; + double dVar5; + int *piVar6; + ulonglong uVar7; + undefined4 *puVar8; + longlong lVar9; + undefined8 uVar10; + undefined1 *puVar11; + undefined1 *puVar12; + longlong lVar13; + longlong lVar14; + undefined8 *puVar15; + undefined1 auStack_dd8 [32]; + int local_db8 [2]; + longlong local_db0; + longlong local_da8; + uint local_da0; + int local_d9c; + int *local_d90; + bool local_d88; + longlong *local_d80; + SIZE_T local_d78; + undefined1 local_d70; + SIZE_T local_d68; + undefined1 local_d60; + longlong local_d58; + uint uStack_d50; + undefined4 uStack_d4c; + int *local_d48; + undefined1 local_d40; + longlong local_d38; + uint uStack_d30; + undefined4 uStack_d2c; + undefined8 local_d28; + exception local_d20 [72]; + longlong local_cd8; + undefined8 uStack_cd0; + longlong *local_58; + undefined4 local_50; + int local_4c; + ulonglong local_48; + + puVar11 = auStack_dd8; + puVar12 = auStack_dd8; + local_d28 = 0xfffffffffffffffe; + local_48 = DAT_14016f5a0 ^ (ulonglong)local_db8; + piVar6 = (int *)(**(code **)(*param_1 + 0x58))(); + local_d48 = piVar6; + FUN_14003d040(piVar6); + local_d40 = 1; + if (DAT_14017614f != '\0') { + param_3 = (SIZE_T *)*param_1; + param_2 = L"Proud::CNetServerImpl::PurgeTooOldUnmatureClient"; + (*(code *)param_3[0x19])(param_1); + } + if ((int)param_1[0x2e1] < 1) { + FUN_14003d0d0((longlong)piVar6); + goto LAB_140058d58; + } + lVar14 = (longlong)(int)param_1[0x2e1] * 8; + _Size = lVar14 + 0x10; + if (_Size < 0x401) { + uVar7 = lVar14 + 0x1f; + if (uVar7 <= _Size) { + uVar7 = 0xffffffffffffff0; + } + lVar14 = -(uVar7 & 0xfffffffffffffff0); + puVar11 = auStack_dd8 + lVar14; + puVar8 = (undefined4 *)((longlong)local_db8 + lVar14); + puVar15 = (undefined8 *)0x0; + puVar12 = auStack_dd8 + lVar14; + if (puVar8 != (undefined4 *)0x0) { + *puVar8 = 0xcccc; +LAB_140058938: + puVar15 = (undefined8 *)(puVar8 + 4); + puVar12 = puVar11; + } + } + else { + puVar8 = malloc(_Size); + puVar15 = (undefined8 *)0x0; + puVar12 = auStack_dd8; + if (puVar8 != (undefined4 *)0x0) { + *puVar8 = 0xdddd; + goto LAB_140058938; + } + } + *(undefined8 *)(puVar12 + -8) = 0x140058948; + dVar5 = FUN_140048960((char *)(param_1 + 0xec)); + lVar13 = 0; + lVar14 = lVar13; + if (param_1[0x2e1] != 0) { + lVar14 = param_1[0x2df]; + } + for (; lVar14 != 0; lVar14 = *(longlong *)(lVar14 + 0x18)) { + lVar2 = *(longlong *)(lVar14 + 0x10); + if ((DAT_140176188 < dVar5 - *(double *)(lVar2 + 0x690)) && (*(char *)(lVar2 + 0x698) == '\0')) + { + *(undefined8 *)(puVar12 + -8) = 0x14005899c; + FUN_140091240(lVar2 + 0xc0); + puVar15[lVar13] = lVar2; + lVar13 = lVar13 + 1; + } + } + *(undefined8 *)(puVar12 + -8) = 0x1400589b4; + FUN_14003d0d0((longlong)piVar6); + local_d40 = 0; + while ((0 < lVar13 && (lVar14 = 0, 0 < lVar13))) { + do { + lVar2 = puVar15[lVar14]; + pcVar3 = *(code **)(*(longlong *)(lVar2 + 0x108) + 0x10); + *(undefined8 *)(puVar12 + -8) = 0x1400589e2; + piVar6 = (int *)(*pcVar3)(); + local_d88 = false; + local_d90 = piVar6; + if (lVar14 == 0) { + local_d88 = true; + *(undefined8 *)(puVar12 + -8) = 0x140058b5d; + FUN_14003d040(piVar6); + *(undefined8 *)(puVar12 + -8) = 0x140058b66; + FUN_140074fb0(local_db8); + *(undefined8 *)(puVar12 + -8) = 0x140058b70; + FUN_140074a40((longlong)local_db8,param_2,(SIZE_T)param_3,param_4); + *(undefined8 *)(puVar12 + -8) = 0x140058b7e; + FUN_140075110(local_db8,0x800,(SIZE_T)param_3,param_4); + uVar10 = 0; + *(undefined8 *)(puVar12 + -8) = 0x140058b89; + FUN_140075110(local_db8,0,(SIZE_T)param_3,param_4); + uVar10 = CONCAT71((int7)((ulonglong)uVar10 >> 8),3); + *(undefined8 *)(puVar12 + -8) = 0x140058b95; + FUN_140029d80((longlong)local_db8,uVar10,(SIZE_T)param_3,param_4); + local_4c = 200; + local_50 = 0; + local_58 = &local_cd8; + if (local_db0 == 0) { + uVar1 = local_da0; + if (local_da8 == 0) { + /* WARNING: Subroutine does not return */ + *(undefined8 *)(puVar12 + -8) = 0x140058d3f; + FUN_14008a420(0,uVar10,param_3,param_4); + } + } + else { + uVar1 = *(uint *)(local_db0 + 0x18); + } + lVar9 = local_da8; + if (local_da8 == 0) { + if (local_db0 == 0) { + /* WARNING: Subroutine does not return */ + *(undefined **)(puVar12 + -8) = &UNK_140058d39; + FUN_14008a420(0,(ulonglong)uVar1,param_3,param_4); + } + lVar9 = 0; + if (*(int *)(local_db0 + 0x18) != 0) { + lVar9 = *(longlong *)(local_db0 + 0x10); + } + } + local_50 = 1; + uStack_cd0 = CONCAT44(uStack_d2c,uVar1); + local_d68 = 0; + local_d60 = 1; + param_3 = &local_d68; + param_2 = (wchar_t *)&local_cd8; + pcVar4 = *(char **)(lVar2 + 0x748); + local_d38 = lVar9; + uStack_d30 = uVar1; + local_cd8 = lVar9; + *(undefined8 *)(puVar12 + -8) = 0x140058c30; + FUN_140091090(pcVar4,(longlong)param_2,param_3,param_4); + if (local_58 == (longlong *)0x0) { + *(undefined8 *)(puVar12 + -8) = 0x140058d20; + FUN_14003db10(local_d20,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368, + param_3,param_4); + /* WARNING: Subroutine does not return */ + *(undefined **)(puVar12 + -8) = &UNK_140058d33; + _CxxThrowException(local_d20,(ThrowInfo *)&DAT_14016c210); + } + if (local_4c < 0) { + /* WARNING: Subroutine does not return */ + *(undefined **)(puVar12 + -8) = &UNK_140058d0c; + FUN_14003dec0(); + } + *(undefined1 *)(lVar2 + 0x698) = 1; + *(undefined8 *)(puVar12 + -8) = 0x140058c5d; + FUN_14003d0d0((longlong)piVar6); + local_d88 = false; + *(undefined8 *)(puVar12 + -8) = 0x140058c6f; + FUN_140091250(lVar2 + 0xc0); + *puVar15 = puVar15[lVar13 + -1]; + lVar13 = lVar13 + -1; + local_d80 = &local_db0; + *(undefined8 *)(puVar12 + -8) = 0x140058c8e; + FUN_14008a320(&local_db0); + if ((local_da8 != 0) && (local_d9c < 0)) { + /* WARNING: Subroutine does not return */ + *(undefined8 *)(puVar12 + -8) = 0x140058d06; + FUN_14003dec0(); + } + } + else { + *(undefined8 *)(puVar12 + -8) = 0x1400589fe; + local_d88 = FUN_14003d090(piVar6); + if (local_d88) { + *(undefined8 *)(puVar12 + -8) = 0x140058a15; + FUN_140074fb0(local_db8); + *(undefined8 *)(puVar12 + -8) = 0x140058a1f; + FUN_140074a40((longlong)local_db8,param_2,(SIZE_T)param_3,param_4); + *(undefined8 *)(puVar12 + -8) = 0x140058a2d; + FUN_140075110(local_db8,0x800,(SIZE_T)param_3,param_4); + uVar10 = 0; + *(undefined8 *)(puVar12 + -8) = 0x140058a38; + FUN_140075110(local_db8,0,(SIZE_T)param_3,param_4); + uVar10 = CONCAT71((int7)((ulonglong)uVar10 >> 8),3); + *(undefined8 *)(puVar12 + -8) = 0x140058a44; + FUN_140029d80((longlong)local_db8,uVar10,(SIZE_T)param_3,param_4); + local_4c = 200; + local_50 = 0; + local_58 = &local_cd8; + if (local_db0 == 0) { + uVar1 = local_da0; + if (local_da8 == 0) { + /* WARNING: Subroutine does not return */ + *(undefined8 *)(puVar12 + -8) = 0x140058d00; + FUN_14008a420(0,uVar10,0,param_4); + } + } + else { + uVar1 = *(uint *)(local_db0 + 0x18); + } + lVar9 = local_da8; + if (local_da8 == 0) { + if (local_db0 == 0) { + /* WARNING: Subroutine does not return */ + *(undefined **)(puVar12 + -8) = &UNK_140058cfa; + FUN_14008a420(0,(ulonglong)uVar1,0,param_4); + } + lVar9 = 0; + if (*(int *)(local_db0 + 0x18) != 0) { + lVar9 = *(longlong *)(local_db0 + 0x10); + } + } + local_50 = 1; + uStack_cd0 = CONCAT44(uStack_d4c,uVar1); + local_d78 = 0; + local_d70 = 1; + param_3 = &local_d78; + param_2 = (wchar_t *)&local_cd8; + pcVar4 = *(char **)(lVar2 + 0x748); + local_d58 = lVar9; + uStack_d50 = uVar1; + local_cd8 = lVar9; + *(undefined8 *)(puVar12 + -8) = 0x140058ada; + FUN_140091090(pcVar4,(longlong)param_2,param_3,param_4); + if (local_58 == (longlong *)0x0) { + *(undefined8 *)(puVar12 + -8) = 0x140058ce1; + FUN_14003db10(local_d20,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368, + param_3,param_4); + /* WARNING: Subroutine does not return */ + *(undefined **)(puVar12 + -8) = &UNK_140058cf4; + _CxxThrowException(local_d20,(ThrowInfo *)&DAT_14016c210); + } + if (local_4c < 0) { + /* WARNING: Subroutine does not return */ + *(undefined **)(puVar12 + -8) = &UNK_140058ccd; + FUN_14003dec0(); + } + *(undefined1 *)(lVar2 + 0x698) = 1; + *(undefined8 *)(puVar12 + -8) = 0x140058b07; + FUN_14003d0d0((longlong)piVar6); + local_d88 = false; + *(undefined8 *)(puVar12 + -8) = 0x140058b19; + FUN_140091250(lVar2 + 0xc0); + puVar15[lVar14] = puVar15[lVar13 + -1]; + lVar13 = lVar13 + -1; + local_d80 = &local_db0; + *(undefined8 *)(puVar12 + -8) = 0x140058b39; + FUN_14008a320(&local_db0); + if ((local_da8 != 0) && (local_d9c < 0)) { + /* WARNING: Subroutine does not return */ + *(undefined8 *)(puVar12 + -8) = 0x140058cc7; + FUN_14003dec0(); + } + } + } + lVar14 = lVar14 + 1; + } while (lVar14 < lVar13); + } + if ((puVar15 != (undefined8 *)0x0) && (*(int *)(puVar15 + -2) == 0xdddd)) { + *(undefined8 *)(puVar12 + -8) = 0x140058d57; + free(puVar15 + -2); + } +LAB_140058d58: + *(undefined8 *)(puVar12 + -8) = 0x140058d67; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140058da0.c b/decomp/AgentManager_Release_x64/full/functions/0x140058da0.c new file mode 100644 index 00000000..95d029b3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140058da0.c @@ -0,0 +1,67 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140058da0 FUN_140058da0 + * Pseudocode, not original source. */ + +longlong * FUN_140058da0(longlong *param_1,uint param_2,longlong *param_3) + +{ + bool bVar1; + int *piVar2; + longlong *plVar3; + uint *puVar4; + longlong *plVar5; + ulonglong uVar6; + ulonglong uVar7; + wchar_t *pwVar8; + + piVar2 = (int *)(**(code **)(*param_1 + 0x58))(); + FUN_14003d040(piVar2); + if (DAT_14017614f != '\0') { + (**(code **)(*param_1 + 200))(param_1); + } + uVar7 = (ulonglong)*(uint *)(param_1 + 0x194); + uVar6 = (ulonglong)param_2 % uVar7; + plVar5 = (longlong *)0x0; + if ((param_1[400] != 0) && (puVar4 = *(uint **)(param_1[400] + uVar6 * 8), puVar4 != (uint *)0x0)) + { + while ((uint)uVar6 == puVar4[8] % *(uint *)(param_1 + 0x194)) { + if (*puVar4 == param_2) { + plVar3 = *(longlong **)(puVar4 + 2); + if ((plVar3 != (longlong *)0x0) && (plVar3[0x45] == 0)) goto LAB_140058e61; + break; + } + puVar4 = *(uint **)(puVar4 + 4); + if (puVar4 == (uint *)0x0) break; + } + } + plVar3 = plVar5; +LAB_140058e61: + if (plVar3 == (longlong *)0x0) { + if (param_2 == 1) { + plVar5 = param_1 + 0x108; + goto LAB_140058e7b; + } + } + else { + plVar5 = plVar3 + 0x51; +LAB_140058e7b: + if (plVar5 != (longlong *)0x0) { + bVar1 = FUN_140086080((longlong)plVar5); + if ((!bVar1) || (((char)plVar5[0x7f] == '\0' && ((int)plVar5[0x7d] == 0)))) { + FUN_140029b80(param_3,L"key not exists",uVar6,uVar7); + FUN_14003d0d0((longlong)piVar2); + return (longlong *)0x0; + } + goto LAB_140058ee2; + } + } + pwVar8 = L"not NULL"; + if (plVar3 == (longlong *)0x0) { + pwVar8 = L"NULL"; + } + FUN_140029b80(param_3,L"%d remote rc is %s in netserver!",(ulonglong)param_2,pwVar8); +LAB_140058ee2: + FUN_14003d0d0((longlong)piVar2); + return plVar5; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140058f10.c b/decomp/AgentManager_Release_x64/full/functions/0x140058f10.c new file mode 100644 index 00000000..53342fe6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140058f10.c @@ -0,0 +1,80 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140058f10 FUN_140058f10 + * Pseudocode, not original source. */ + +ulonglong FUN_140058f10(longlong param_1,uint param_2) + +{ + int *piVar1; + longlong *plVar2; + longlong lVar3; + short *psVar4; + int *piVar5; + int *piVar6; + ulonglong uVar7; + uint *puVar8; + longlong lVar9; + short *psVar10; + ulonglong uVar11; + undefined8 uVar12; + short *local_res8; + + plVar2 = (longlong *)(param_1 + -0xa8); + piVar5 = (int *)(**(code **)(*plVar2 + 0x58))(plVar2); + FUN_14003d040(piVar5); + if (DAT_14017614f != '\0') { + (**(code **)(*plVar2 + 200))(plVar2); + } + uVar11 = (ulonglong)*(uint *)(param_1 + 0xbf8); + uVar7 = (ulonglong)param_2 % uVar11; + if ((*(longlong *)(param_1 + 0xbd8) != 0) && + (puVar8 = *(uint **)(*(longlong *)(param_1 + 0xbd8) + uVar7 * 8), puVar8 != (uint *)0x0)) { + while ((int)uVar7 == (int)((ulonglong)puVar8[8] % uVar11)) { + if (*puVar8 == param_2) { + lVar3 = *(longlong *)(puVar8 + 2); + if ((lVar3 != 0) && (*(longlong *)(lVar3 + 0x228) == 0)) { + if (*(longlong *)(param_1 + 0x1748) != 0) { + FUN_14003e7c0(puVar8,(ulonglong)puVar8[8] % uVar11,uVar7,uVar11); + local_res8 = (short *)PTR_DAT_14016f010; + FUN_140029b80((longlong *)&local_res8, + L"CNetServer.CloseConnection(%d)를 콜 하였습니다.", + (ulonglong)param_2,uVar11); + psVar4 = local_res8; + psVar10 = local_res8; + if (local_res8 == (short *)0x0) { + psVar10 = (short *)PTR_DAT_14016f010; + } + uVar12 = 0; + lVar9 = *(longlong *)(param_1 + 0x1748); + FUN_1400843d0(lVar9,0,psVar10,uVar11); + if (((psVar4 != (short *)0x0) && (psVar4 != (short *)PTR_DAT_14016f010)) && + (psVar4 + -4 != (short *)0x0)) { + piVar6 = (int *)FUN_14003e7c0(lVar9,uVar12,psVar10,uVar11); + FUN_14003d040(piVar6); + piVar1 = (int *)(psVar4 + -2); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(psVar4 + -4); + } + FUN_14003d0d0((longlong)piVar6); + } + } + if (*(double *)(lVar3 + 0x758) == 0.0) { + uVar12 = (**(code **)(*(longlong *)(param_1 + 0x70) + 8))(); + *(undefined8 *)(lVar3 + 0x758) = uVar12; + (**(code **)(*(longlong *)(param_1 + 0x400) + 0x100)) + ((longlong *)(param_1 + 0x400),*(undefined4 *)(lVar3 + 0x6f8),&DAT_140177f90); + } + uVar12 = FUN_14003d0d0((longlong)piVar5); + return CONCAT71((int7)((ulonglong)uVar12 >> 8),1); + } + break; + } + puVar8 = *(uint **)(puVar8 + 4); + if (puVar8 == (uint *)0x0) break; + } + } + uVar7 = FUN_14003d0d0((longlong)piVar5); + return uVar7 & 0xffffffffffffff00; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140059100.c b/decomp/AgentManager_Release_x64/full/functions/0x140059100.c new file mode 100644 index 00000000..2858c64a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140059100.c @@ -0,0 +1,80 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140059100 FUN_140059100 + * Pseudocode, not original source. */ + +double FUN_140059100(longlong param_1,uint param_2,int param_3) + +{ + double dVar1; + double dVar2; + longlong lVar3; + ulonglong uVar4; + int *piVar5; + longlong *plVar6; + int *piVar7; + uint *puVar8; + longlong lVar9; + longlong lVar10; + + piVar5 = (int *)(**(code **)(*(longlong *)(param_1 + -0xa8) + 0x58))(param_1 + -0xa8); + FUN_14003d040(piVar5); + if (DAT_14017614f != '\0') { + (**(code **)(*(longlong *)(param_1 + -0xa8) + 200))(param_1 + -0xa8); + } + uVar4 = (ulonglong)param_2 % (ulonglong)*(uint *)(param_1 + 0xbf8); + if ((*(longlong *)(param_1 + 0xbd8) != 0) && + (puVar8 = *(uint **)(*(longlong *)(param_1 + 0xbd8) + uVar4 * 8), puVar8 != (uint *)0x0)) { + while ((uint)uVar4 == puVar8[8] % *(uint *)(param_1 + 0xbf8)) { + if (*puVar8 == param_2) { + lVar3 = *(longlong *)(puVar8 + 2); + if ((lVar3 != 0) && (*(longlong *)(lVar3 + 0x228) == 0)) { + if (*(longlong *)(lVar3 + 0x6c0) == 0) { + plVar6 = (longlong *)0x0; + } + else { + plVar6 = *(longlong **)(lVar3 + 0x6b0); + } + for (; plVar6 != (longlong *)0x0; plVar6 = (longlong *)plVar6[2]) { + if (plVar6 == (longlong *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + if ((longlong *)*plVar6 == (longlong *)0x0) { + lVar10 = 0; + } + else { + lVar10 = *(longlong *)*plVar6; + } + lVar9 = 0; + piVar7 = (int *)(lVar10 + 0x10); + do { + if (*piVar7 == param_3) { + if (*(char *)(lVar10 + 8) != '\0') { + lVar9 = *(longlong *)(lVar10 + 0x100); + if (lVar9 == lVar3) { + lVar9 = *(longlong *)(lVar10 + 0x108); + } + dVar1 = *(double *)(lVar3 + 0x1c8); + dVar2 = *(double *)(lVar9 + 0x1c8); + FUN_14003d0d0((longlong)piVar5); + return dVar1 + dVar2; + } + dVar1 = *(double *)(lVar10 + 0x188); + FUN_14003d0d0((longlong)piVar5); + return dVar1; + } + lVar9 = lVar9 + 1; + piVar7 = piVar7 + 0xc; + } while (lVar9 < 2); + } + } + break; + } + puVar8 = *(uint **)(puVar8 + 4); + if (puVar8 == (uint *)0x0) break; + } + } + FUN_14003d0d0((longlong)piVar5); + return 0.0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140059300.c b/decomp/AgentManager_Release_x64/full/functions/0x140059300.c new file mode 100644 index 00000000..7a9238aa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140059300.c @@ -0,0 +1,26 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140059300 FUN_140059300 + * Pseudocode, not original source. */ + +longlong * FUN_140059300(longlong param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + int iVar1; + longlong lVar2; + uint uVar3; + ulonglong uVar4; + + lVar2 = param_1 + 0xcd0; + uVar3 = *(int *)(param_1 + 0x6e0) - 1; + uVar4 = (ulonglong)uVar3; + iVar1 = FUN_140048790(lVar2,uVar3); + if ((-1 < iVar1) && (iVar1 < *(int *)(param_1 + 0x6e0))) { + lVar2 = *(longlong *)(param_1 + 0x6d8); + *param_2 = 0; + FUN_14009d860(param_2,(longlong *)(lVar2 + (longlong)iVar1 * 8)); + return param_2; + } + /* WARNING: Subroutine does not return */ + FUN_14003def0(lVar2,uVar4,param_3,param_4); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140059380.c b/decomp/AgentManager_Release_x64/full/functions/0x140059380.c new file mode 100644 index 00000000..11902486 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140059380.c @@ -0,0 +1,28 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140059380 FUN_140059380 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x0001400593db) */ +/* WARNING: Removing unreachable block (ram,0x0001400593e4) */ +/* WARNING: Removing unreachable block (ram,0x000140059402) */ +/* WARNING: Removing unreachable block (ram,0x00014005940b) */ + +undefined1 * FUN_140059380(undefined1 *param_1) + +{ + *param_1 = 0; + *(undefined4 *)(param_1 + 0x28) = 0x11; + *(undefined8 *)(param_1 + 0x50) = 0; + *(undefined8 *)(param_1 + 8) = 0; + *(undefined8 *)(param_1 + 0x10) = 0; + *(undefined8 *)(param_1 + 0x18) = 0; + *(undefined8 *)(param_1 + 0x20) = 0; + *(undefined4 *)(param_1 + 0x48) = 0; + *(undefined4 *)(param_1 + 0x2c) = 0x3f400000; + *(undefined4 *)(param_1 + 0x30) = 0x3e800000; + *(undefined4 *)(param_1 + 0x34) = 0x40100000; + *(undefined8 *)(param_1 + 0x38) = 0x26; + *(undefined8 *)(param_1 + 0x40) = 0; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140059440.c b/decomp/AgentManager_Release_x64/full/functions/0x140059440.c new file mode 100644 index 00000000..ca061166 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140059440.c @@ -0,0 +1,117 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140059440 FUN_140059440 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x00014005969d) */ +/* WARNING: Removing unreachable block (ram,0x00014005960a) */ + +ulonglong FUN_140059440(longlong param_1,uint param_2,uint param_3,undefined8 *param_4) + +{ + uint uVar1; + longlong lVar2; + int *piVar3; + longlong *plVar4; + undefined8 uVar5; + ulonglong uVar6; + uint *puVar7; + longlong *plVar8; + longlong *plVar9; + longlong *plVar10; + longlong *plVar11; + longlong *plVar12; + longlong *plVar13; + + piVar3 = (int *)(**(code **)(*(longlong *)(param_1 + -0xa8) + 0x58))(param_1 + -0xa8); + FUN_14003d040(piVar3); + if (DAT_14017614f != '\0') { + (**(code **)(*(longlong *)(param_1 + -0xa8) + 200))(param_1 + -0xa8); + } + plVar13 = (longlong *)0x0; + param_4[1] = 0; + *param_4 = 0; + uVar1 = *(uint *)(param_1 + 0xbf8); + lVar2 = *(longlong *)(param_1 + 0xbd8); + if ((lVar2 != 0) && + (puVar7 = *(uint **)(lVar2 + ((ulonglong)param_2 % (ulonglong)uVar1) * 8), + puVar7 != (uint *)0x0)) { + while ((uint)((ulonglong)param_2 % (ulonglong)uVar1) == puVar7[8] % uVar1) { + if (*puVar7 == param_2) { + plVar11 = *(longlong **)(puVar7 + 2); + if ((plVar11 != (longlong *)0x0) && (plVar11[0x45] == 0)) goto LAB_140059521; + break; + } + puVar7 = *(uint **)(puVar7 + 4); + if (puVar7 == (uint *)0x0) break; + } + } + plVar11 = plVar13; +LAB_140059521: + if ((lVar2 != 0) && + (puVar7 = *(uint **)(lVar2 + ((ulonglong)param_3 % (ulonglong)uVar1) * 8), + puVar7 != (uint *)0x0)) { + while ((uint)((ulonglong)param_3 % (ulonglong)uVar1) == puVar7[8] % uVar1) { + if (*puVar7 == param_3) { + plVar10 = *(longlong **)(puVar7 + 2); + if ((plVar10 != (longlong *)0x0) && (plVar10[0x45] == 0)) goto LAB_140059571; + break; + } + puVar7 = *(uint **)(puVar7 + 4); + if (puVar7 == (uint *)0x0) break; + } + } + plVar10 = plVar13; +LAB_140059571: + if ((plVar11 == (longlong *)0x0) || (plVar10 == (longlong *)0x0)) { + uVar6 = FUN_14003d0d0((longlong)piVar3); + uVar6 = uVar6 & 0xffffffffffffff00; + } + else { + plVar12 = plVar13; + if (plVar11[0xd8] != 0) { + plVar12 = (longlong *)plVar11[0xd6]; + } + for (; plVar12 != (longlong *)0x0; plVar12 = (longlong *)plVar12[2]) { + plVar4 = plVar13; + if ((undefined8 *)*plVar12 != (undefined8 *)0x0) { + plVar4 = *(longlong **)*plVar12; + } + plVar9 = plVar4 + 2; + plVar8 = plVar13; + do { + if ((int)*plVar9 == (int)plVar10[0xdf]) { + *(undefined4 *)((longlong)param_4 + 4) = *(undefined4 *)((longlong)plVar4 + 0x1a4); + *(int *)param_4 = (int)plVar4[0x35]; + break; + } + plVar8 = (longlong *)((longlong)plVar8 + 1); + plVar9 = plVar9 + 6; + } while ((longlong)plVar8 < 2); + } + plVar12 = plVar13; + if (plVar10[0xd8] != 0) { + plVar12 = (longlong *)plVar10[0xd6]; + } + for (; plVar12 != (longlong *)0x0; plVar12 = (longlong *)plVar12[2]) { + plVar10 = plVar13; + if ((undefined8 *)*plVar12 != (undefined8 *)0x0) { + plVar10 = *(longlong **)*plVar12; + } + plVar4 = plVar10 + 2; + plVar9 = plVar13; + do { + if ((int)*plVar4 == (int)plVar11[0xdf]) { + *(undefined4 *)((longlong)param_4 + 0xc) = *(undefined4 *)((longlong)plVar10 + 0x1a4); + *(int *)(param_4 + 1) = (int)plVar10[0x35]; + break; + } + plVar9 = (longlong *)((longlong)plVar9 + 1); + plVar4 = plVar4 + 6; + } while ((longlong)plVar9 < 2); + } + uVar5 = FUN_14003d0d0((longlong)piVar3); + uVar6 = CONCAT71((int7)((ulonglong)uVar5 >> 8),1); + } + return uVar6; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400596e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400596e0.c new file mode 100644 index 00000000..a28edbcb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400596e0.c @@ -0,0 +1,147 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400596e0 FUN_1400596e0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +longlong * FUN_1400596e0(longlong param_1,longlong *param_2,ulonglong param_3,undefined8 param_4) + +{ + int *piVar1; + undefined *puVar2; + undefined8 *puVar3; + longlong *plVar4; + undefined **ppuVar5; + ulonglong uVar6; + undefined **ppuVar7; + int *piVar8; + char *pcVar9; + LPCWSTR pWVar10; + undefined1 auStack_128 [32]; + undefined4 local_108; + undefined4 uStack_104; + undefined *local_100; + undefined2 local_f8; + undefined **local_f0; + undefined1 local_e8; + undefined8 local_e0; + undefined8 local_d8 [2]; + undefined8 local_c8 [2]; + undefined **local_b8; + undefined *local_b0 [17]; + ulonglong local_28; + + local_e0 = 0xfffffffffffffffe; + local_28 = DAT_14016f5a0 ^ (ulonglong)auStack_128; + local_108 = 0; + plVar4 = *(longlong **)(param_1 + 0x6a0); + if ((plVar4 == (longlong *)0x0) || (*plVar4 == 0)) { + FUN_14003e7c0(plVar4,param_2,param_3,param_4); + *param_2 = (longlong)PTR_DAT_14016f008; + FUN_140006de0(param_2,(longlong *)&DAT_1401763d0,param_3,param_4); + *(undefined2 *)(param_2 + 1) = DAT_1401763d8; + } + else { + puVar3 = FUN_140042ff0(*plVar4,local_d8); + FUN_1400424b0((longlong *)&local_100,(longlong)puVar3,param_3,param_4); + puVar3 = FUN_140042c70(local_c8,puVar3,param_3,param_4); + plVar4 = FUN_1400423c0((longlong)puVar3,(longlong *)&local_108,param_3,param_4); + pcVar9 = (char *)*plVar4; + if ((char *)*plVar4 == (char *)0x0) { + pcVar9 = PTR_DAT_14016f008; + } + ppuVar5 = &local_100; + FUN_1400426e0((longlong *)ppuVar5,pcVar9); + puVar2 = (undefined *)CONCAT44(uStack_104,local_108); + if (((puVar2 != (undefined *)0x0) && (puVar2 != PTR_DAT_14016f008)) && + (puVar2 + -8 != (undefined *)0x0)) { + ppuVar5 = (undefined **)FUN_14003e7c0(ppuVar5,pcVar9,param_3,param_4); + local_f0 = ppuVar5; + FUN_14003d040((int *)ppuVar5); + local_e8 = 1; + piVar1 = (int *)(puVar2 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(puVar2 + -8); + } + FUN_14003d0d0((longlong)ppuVar5); + } + pcVar9 = *(char **)(param_1 + 0x170); + if (*(char **)(param_1 + 0x170) == (char *)0x0) { + pcVar9 = PTR_DAT_14016f008; + } + FUN_1400426e0((longlong *)&local_100,pcVar9); + ppuVar5 = *(undefined ***)(param_1 + 0x168); + if (*(undefined ***)(param_1 + 0x168) == (undefined **)0x0) { + ppuVar5 = (undefined **)PTR_DAT_14016f008; + } + FUN_1400426e0((longlong *)&local_100,(char *)ppuVar5); + ppuVar7 = &local_100; + uVar6 = FUN_140042b00((longlong *)ppuVar7,ppuVar5,param_3,param_4); + if ((char)uVar6 == '\0') { + plVar4 = FUN_140042720((longlong *)&local_108,ppuVar5,param_3,param_4); + pWVar10 = (LPCWSTR)*plVar4; + if ((LPCWSTR)*plVar4 == (LPCWSTR)0x0) { + pWVar10 = (LPCWSTR)PTR_DAT_14016f010; + } + local_b8 = local_b0; + param_3 = 3; + FUN_14003d280((longlong *)&local_b8,pWVar10,3); + ppuVar5 = local_b8; + FUN_14003d910((longlong *)&local_100,(char *)local_b8); + ppuVar7 = local_b8; + if (local_b8 != local_b0) { + free(local_b8); + } + puVar2 = (undefined *)CONCAT44(uStack_104,local_108); + if (((puVar2 != (undefined *)0x0) && (puVar2 != PTR_DAT_14016f010)) && + (puVar2 + -8 != (undefined *)0x0)) { + ppuVar7 = (undefined **)FUN_14003e7c0(ppuVar7,ppuVar5,param_3,param_4); + local_f0 = ppuVar7; + FUN_14003d040((int *)ppuVar7); + local_e8 = 1; + piVar1 = (int *)(puVar2 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(puVar2 + -8); + } + FUN_14003d0d0((longlong)ppuVar7); + } + } + FUN_14003e7c0(ppuVar7,ppuVar5,param_3,param_4); + puVar2 = PTR_DAT_14016f008; + *param_2 = (longlong)PTR_DAT_14016f008; + if (puVar2 == (undefined *)0x0) { + *param_2 = (longlong)PTR_DAT_14016f008; + } + if (local_100 != (undefined *)*param_2) { + ppuVar7 = (undefined **)FUN_14003e7c0(local_100,ppuVar5,param_3,param_4); + local_f0 = ppuVar7; + FUN_14003d040((int *)ppuVar7); + local_e8 = 1; + FUN_140006e80(param_2); + *param_2 = (longlong)local_100; + if (((local_100 != PTR_DAT_14016f008) && (local_100 != (undefined *)0x0)) && + (local_100 != (undefined *)0x8)) { + *(int *)(local_100 + -4) = *(int *)(local_100 + -4) + 1; + } + FUN_14003d0d0((longlong)ppuVar7); + } + *(undefined2 *)(param_2 + 1) = local_f8; + if (((local_100 != (undefined *)0x0) && (local_100 != PTR_DAT_14016f008)) && + (local_100 + -8 != (undefined *)0x0)) { + piVar8 = (int *)FUN_14003e7c0(local_100,ppuVar5,param_3,param_4); + local_f0 = (undefined **)piVar8; + FUN_14003d040(piVar8); + local_e8 = 1; + piVar1 = (int *)(local_100 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(local_100 + -8); + } + FUN_14003d0d0((longlong)piVar8); + } + } + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400599e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400599e0.c new file mode 100644 index 00000000..5e233eb0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400599e0.c @@ -0,0 +1,118 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400599e0 FUN_1400599e0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_1400599e0(undefined8 param_1,longlong *param_2,double param_3,undefined8 param_4) + +{ + uint uVar1; + int *piVar2; + longlong lVar3; + longlong *plVar4; + undefined8 uVar5; + SIZE_T in_R8; + uint *puVar6; + uint *puVar7; + undefined1 auStack_d78 [32]; + undefined8 local_d58; + undefined8 uStack_d50; + undefined1 local_d48; + undefined4 local_d44; + undefined1 local_d40; + undefined1 local_d3f; + undefined4 local_d38 [2]; + longlong local_d30; + longlong local_d28; + uint local_d20; + int local_d1c; + int *local_d10; + undefined1 local_d08; + undefined8 local_d00; + exception local_cf8 [80]; + uint local_ca8; + uint uStack_ca4; + uint uStack_ca0; + undefined4 uStack_c9c; + uint *local_28; + undefined4 local_20; + int local_1c; + ulonglong local_18; + + local_d00 = 0xfffffffffffffffe; + local_18 = DAT_14016f5a0 ^ (ulonglong)auStack_d78; + if (((DAT_14016f0f8 * 1.5 < param_3 - (double)param_2[0x37]) && + (param_3 - (double)param_2[0x33] < DAT_14016f0f8)) && + (DAT_14016f0f8 < param_3 - (double)param_2[0x34])) { + param_2[0x34] = (longlong)param_3; + plVar4 = param_2; + FUN_140074fb0(local_d38); + FUN_140074a40((longlong)local_d38,plVar4,in_R8,param_4); + uVar5 = CONCAT71((int7)((ulonglong)plVar4 >> 8),0x1d); + FUN_140029d80((longlong)local_d38,uVar5,in_R8,param_4); + piVar2 = (int *)(**(code **)(param_2[0x21] + 0x10))(); + local_d10 = piVar2; + FUN_14003d040(piVar2); + local_d08 = 1; + local_1c = 200; + local_20 = 0; + local_28 = &local_ca8; + if (local_d30 == 0) { + if (local_d28 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,uVar5,0,param_4); + } + } + else { + local_d20 = *(uint *)(local_d30 + 0x18); + } + lVar3 = local_d28; + if (local_d28 == 0) { + if (local_d30 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,(ulonglong)local_d20,0,param_4); + } + lVar3 = 0; + if (*(int *)(local_d30 + 0x18) != 0) { + lVar3 = *(longlong *)(local_d30 + 0x10); + } + } + local_20 = 1; + local_d58._0_4_ = (uint)lVar3; + local_d58._4_4_ = (uint)((ulonglong)lVar3 >> 0x20); + local_ca8 = (uint)local_d58; + uStack_ca4 = local_d58._4_4_; + uStack_c9c = uStack_d50._4_4_; + local_d58 = (longlong *)((ulonglong)local_d58._4_4_ << 0x20); + uStack_d50 = 0; + local_d48 = 1; + local_d44 = 0xffffffff; + local_d40 = 1; + local_d3f = DAT_14016f1cc; + uStack_ca0 = local_d20; + uVar1 = (**(code **)(*param_2 + 0x10))(param_2); + puVar7 = (uint *)&local_d58; + puVar6 = &local_ca8; + FUN_140092950((char *)(param_2 + 0xe0),uVar1,(longlong)puVar6,puVar7); + if (local_28 == (uint *)0x0) { + FUN_14003db10(local_cf8,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,puVar6, + puVar7); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_cf8,(ThrowInfo *)&DAT_14016c210); + } + if (local_1c < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + FUN_14003d0d0((longlong)piVar2); + local_d58 = &local_d30; + FUN_14008a320(&local_d30); + if ((local_d28 != 0) && (local_d1c < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140059c20.c b/decomp/AgentManager_Release_x64/full/functions/0x140059c20.c new file mode 100644 index 00000000..93f5cf0d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140059c20.c @@ -0,0 +1,269 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140059c20 FUN_140059c20 + * Pseudocode, not original source. */ + +/* WARNING: Function: __chkstk replaced with injection: alloca_probe */ +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_140059c20(longlong param_1,uint *param_2,longlong param_3,TypeDescriptor *param_4) + +{ + bool bVar1; + undefined4 *puVar2; + ulonglong uVar3; + longlong lVar4; + longlong lVar5; + ulonglong uVar6; + ulonglong uVar7; + undefined1 *puVar8; + undefined1 *puVar9; + int iVar10; + ulonglong uVar11; + longlong *plVar12; + longlong lVar13; + TypeDescriptor *pTVar14; + uint uVar15; + longlong *plVar16; + double dVar17; + undefined8 uVar18; + double dVar19; + undefined1 auStack_d8 [32]; + undefined4 local_b8; + longlong local_a8; + longlong local_a0; + double local_98; + ulonglong local_90; + uint *local_88; + longlong *local_80; + undefined8 local_60; + ulonglong local_58; + + puVar9 = auStack_d8; + puVar8 = auStack_d8; + local_60 = 0xfffffffffffffffe; + local_58 = DAT_14016f5a0 ^ (ulonglong)&local_a8; + dVar17 = (double)(**(code **)(*(longlong *)(param_1 + 0x118) + 8))(); + local_98 = dVar17; + if ((*(longlong *)(param_2 + 10) == 0) || ((char)param_2[0x22] == '\0')) { + FUN_14004b6a0((longlong)(param_2 + 0x18),0,param_3); + goto LAB_14005a1de; + } + local_88 = param_2 + 2; + uVar11 = 0; + uVar3 = uVar11; + if (*(longlong *)(param_2 + 10) != 0) { + uVar3 = *(ulonglong *)(param_2 + 6); + } + while (uVar6 = uVar3, local_90 = uVar6, uVar6 != 0) { + if (uVar6 == 0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + local_80 = *(longlong **)(uVar6 + 8); + local_a0 = 0; + local_b8 = 0; + param_4 = &Proud::CRemoteClient_S::RTTI_Type_Descriptor; + pTVar14 = &Proud::CP2PGroupMemberBase_S::RTTI_Type_Descriptor; + lVar4 = __RTDynamicCast(*(undefined8 *)(uVar6 + 0x10),0); + local_a0 = lVar4; + if ((lVar4 != 0) && + ((((*(double *)(lVar4 + 0x1b0) == 0.0 || ((int)param_2[0x1e] < 1)) || + (**(int **)(param_2 + 0x1c) != *(int *)(lVar4 + 0x6f8))) || + (*(char *)(lVar4 + 0x700) == '\0')))) { + *(undefined8 *)(lVar4 + 0x1b0) = 0; + if (*(char *)(lVar4 + 0x700) != '\0') { + *(double *)(lVar4 + 0x1b0) = *(double *)(param_2 + 0x24) + 0.0; + } + bVar1 = FUN_14008a4d0(lVar4); + if (!bVar1) { + *(double *)(lVar4 + 0x1b0) = *(double *)(param_2 + 0x26) + *(double *)(lVar4 + 0x1b0); + } + dVar19 = *(double *)(lVar4 + 0x1b0) - *(double *)(lVar4 + 0x1c8) * *(double *)(param_2 + 0x28) + ; + *(double *)(lVar4 + 0x1b0) = dVar19; + *(double *)(lVar4 + 0x1b0) = *(double *)(lVar4 + 0x1e0) * *(double *)(param_2 + 0x2e) + dVar19 + ; + dVar19 = (double)FUN_14008b230(lVar4,*param_2,pTVar14,param_4); + if (0.0 <= dVar19) { + dVar19 = (double)FUN_14008b230(lVar4,*param_2,pTVar14,param_4); + } + else { + dVar19 = 0.0; + } + dVar19 = *(double *)(lVar4 + 0x1b0) - dVar19 * *(double *)(param_2 + 0x2a); + *(double *)(lVar4 + 0x1b0) = dVar19; + *(double *)(lVar4 + 0x1b0) = + *(double *)(lVar4 + 400) * *(double *)(param_2 + 0x2c) * 10485760.0 + dVar19; + if ((0.0 < *(double *)(param_2 + 0x30)) && + (dVar17 - (double)local_80 < *(double *)(param_2 + 0x30))) { + *(undefined8 *)(lVar4 + 0x1b0) = 0xc65c662460d49e87; + } + } + uVar3 = uVar11; + if (uVar6 != 0) { + uVar3 = *(ulonglong *)(uVar6 + 0x18); + } + } + lVar4 = *(longlong *)(param_2 + 10); + if (lVar4 * 0x18 + 0x10U < 0x401) { + uVar3 = lVar4 * 0x18 + 0x1f; + if (uVar3 <= lVar4 * 0x18 + 0x10U) { + uVar3 = 0xffffffffffffff0; + } + lVar4 = -(uVar3 & 0xfffffffffffffff0); + puVar8 = auStack_d8 + lVar4; + puVar2 = (undefined4 *)((longlong)&local_a8 + lVar4); + plVar12 = (longlong *)0x0; + puVar9 = auStack_d8 + lVar4; + if (puVar2 != (undefined4 *)0x0) { + *puVar2 = 0xcccc; +LAB_140059d57: + plVar12 = (longlong *)(puVar2 + 4); + puVar9 = puVar8; + } + } + else { + puVar2 = malloc(lVar4 * 0x18 + 0x10); + plVar12 = (longlong *)0x0; + puVar9 = auStack_d8; + if (puVar2 != (undefined4 *)0x0) { + *puVar2 = 0xdddd; + goto LAB_140059d57; + } + } + local_a8._0_4_ = 0; + local_88 = param_2 + 2; + uVar3 = uVar11; + uVar6 = uVar11; + local_80 = plVar12; + if (*(longlong *)(param_2 + 10) != 0) { + uVar3 = *(ulonglong *)(param_2 + 6); + } + while (uVar7 = uVar3, uVar15 = (uint)uVar6, local_90 = uVar7, uVar7 != 0) { + local_a0 = 0; + if (uVar7 == 0) { + /* WARNING: Subroutine does not return */ + *(undefined8 *)(puVar9 + -8) = 0x140059f61; + FUN_1400050d0(0x80004005); + } + *(undefined4 *)(puVar9 + 0x20) = 0; + param_4 = &Proud::CRemoteClient_S::RTTI_Type_Descriptor; + uVar18 = *(undefined8 *)(uVar7 + 0x10); + *(undefined8 *)(puVar9 + -8) = 0x140059f7e; + local_a0 = __RTDynamicCast(uVar18,0); + if (local_a0 != 0) { + lVar4 = (longlong)(int)uVar15; + plVar12[lVar4 * 3] = local_a0; + plVar12[lVar4 * 3 + 1] = (longlong)param_2; + if (uVar7 == 0) { + /* WARNING: Subroutine does not return */ + *(undefined **)(puVar9 + -8) = &UNK_140059fcd; + FUN_1400050d0(0x80004005); + } + plVar12[lVar4 * 3 + 2] = (longlong)(dVar17 - *(double *)(uVar7 + 8)); + local_a8._0_4_ = uVar15 + 1; + uVar6 = (ulonglong)(uint)local_a8; + } + uVar3 = uVar11; + if (uVar7 != 0) { + uVar3 = *(ulonglong *)(uVar7 + 0x18); + } + } + lVar13 = 0; + *(undefined8 *)(puVar9 + -8) = 0x140059da5; + FUN_140051540((longlong)plVar12,uVar15,0); + *(undefined8 *)(puVar9 + -8) = 0x140059db1; + FUN_14004b6a0((longlong)(param_2 + 0x18),uVar15,lVar13); + local_a8 = 0; + lVar4 = (longlong)(int)uVar15; + local_98 = (double)lVar4; + uVar3 = uVar11; + plVar16 = plVar12; + if (0 < (int)uVar15) { + do { + if ((local_a8 < 0) || (iVar10 = (int)uVar11, (int)param_2[0x1e] <= iVar10)) { + /* WARNING: Subroutine does not return */ + *(undefined **)(puVar9 + -8) = &UNK_140059f22; + FUN_14003def0(lVar4,uVar6,lVar13,param_4); + } + lVar4 = *(longlong *)(param_2 + 0x1c); + *(undefined4 *)(uVar3 + lVar4) = *(undefined4 *)(*plVar16 + 0x6f8); + if ((int)param_2[0x1e] <= iVar10) { + /* WARNING: Subroutine does not return */ + *(undefined **)(puVar9 + -8) = &UNK_140059f1c; + FUN_14003def0(lVar4,uVar6,lVar13,param_4); + } + lVar4 = *(longlong *)(param_2 + 0x1c); + *(undefined8 *)(lVar4 + 8 + uVar3) = *(undefined8 *)(*plVar16 + 0x1b0); + if ((int)param_2[0x1e] <= iVar10) { + /* WARNING: Subroutine does not return */ + *(undefined **)(puVar9 + -8) = &UNK_140059f16; + FUN_14003def0(lVar4,uVar6,lVar13,param_4); + } + lVar4 = *(longlong *)(param_2 + 0x1c); + *(undefined1 *)(lVar4 + 0x10 + uVar3) = *(undefined1 *)(*plVar16 + 0x700); + if ((int)param_2[0x1e] <= iVar10) { + /* WARNING: Subroutine does not return */ + *(undefined **)(puVar9 + -8) = &UNK_140059f10; + FUN_14003def0(lVar4,uVar6,lVar13,param_4); + } + lVar4 = *(longlong *)(param_2 + 0x1c); + lVar5 = *plVar16; + *(undefined8 *)(puVar9 + -8) = 0x140059e44; + bVar1 = FUN_14008a4d0(lVar5); + *(bool *)(uVar3 + 0x11 + lVar4) = bVar1; + if ((int)param_2[0x1e] <= iVar10) { + /* WARNING: Subroutine does not return */ + *(undefined **)(puVar9 + -8) = &UNK_140059f0a; + FUN_14003def0(lVar5,uVar6,lVar13,param_4); + } + lVar4 = *(longlong *)(param_2 + 0x1c); + *(undefined8 *)(lVar4 + 0x18 + uVar3) = *(undefined8 *)(*plVar16 + 0x1c8); + if ((int)param_2[0x1e] <= iVar10) { + /* WARNING: Subroutine does not return */ + *(undefined **)(puVar9 + -8) = &UNK_140059f04; + FUN_14003def0(lVar4,uVar6,lVar13,param_4); + } + lVar4 = *(longlong *)(param_2 + 0x1c); + uVar15 = *param_2; + uVar6 = (ulonglong)uVar15; + lVar5 = *plVar16; + *(undefined8 *)(puVar9 + -8) = 0x140059e80; + uVar18 = FUN_14008b230(lVar5,uVar15,lVar13,param_4); + *(undefined8 *)(uVar3 + 0x20 + lVar4) = uVar18; + if ((int)param_2[0x1e] <= iVar10) { + /* WARNING: Subroutine does not return */ + *(undefined **)(puVar9 + -8) = &UNK_140059efe; + FUN_14003def0(lVar5,uVar6,lVar13,param_4); + } + lVar4 = *(longlong *)(param_2 + 0x1c); + *(undefined8 *)(lVar4 + 0x28 + uVar3) = *(undefined8 *)(*plVar16 + 400); + if ((int)param_2[0x1e] <= iVar10) { + /* WARNING: Subroutine does not return */ + *(undefined **)(puVar9 + -8) = &UNK_140059ef8; + FUN_14003def0(lVar4,uVar6,lVar13,param_4); + } + lVar4 = *(longlong *)(param_2 + 0x1c); + *(longlong *)(lVar4 + 0x30 + uVar3) = plVar16[2]; + if ((int)param_2[0x1e] <= iVar10) { + /* WARNING: Subroutine does not return */ + *(undefined **)(puVar9 + -8) = &UNK_140059ef2; + FUN_14003def0(lVar4,uVar6,lVar13,param_4); + } + lVar4 = *(longlong *)(param_2 + 0x1c); + *(undefined8 *)(lVar4 + 0x38 + uVar3) = *(undefined8 *)(*plVar16 + 0x1e0); + uVar11 = (ulonglong)(iVar10 + 1); + local_a8 = local_a8 + 1; + uVar3 = uVar3 + 0x40; + plVar16 = plVar16 + 3; + } while (local_a8 < (longlong)local_98); + } + if ((plVar12 != (longlong *)0x0) && ((int)plVar12[-2] == 0xdddd)) { + *(undefined8 *)(puVar9 + -8) = 0x140059f42; + free(plVar12 + -2); + } +LAB_14005a1de: + *(undefined8 *)(puVar9 + -8) = 0x14005a1ea; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14005a220.c b/decomp/AgentManager_Release_x64/full/functions/0x14005a220.c new file mode 100644 index 00000000..c0c02c9f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14005a220.c @@ -0,0 +1,28 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14005a220 FUN_14005a220 + * Pseudocode, not original source. */ + +void FUN_14005a220(longlong param_1,longlong param_2,longlong param_3,TypeDescriptor *param_4) + +{ + longlong lVar1; + + if (*(longlong *)(param_2 + 0x68) == 0) { + lVar1 = 0; + } + else { + lVar1 = *(longlong *)(param_2 + 0x58); + } + while (lVar1 != 0) { + if (*(undefined8 **)(lVar1 + 8) == (undefined8 *)0x0) { + FUN_140059c20(param_1,(uint *)0x0,param_3,param_4); + lVar1 = *(longlong *)(lVar1 + 0x10); + } + else { + FUN_140059c20(param_1,(uint *)**(undefined8 **)(lVar1 + 8),param_3,param_4); + lVar1 = *(longlong *)(lVar1 + 0x10); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14005a280.c b/decomp/AgentManager_Release_x64/full/functions/0x14005a280.c new file mode 100644 index 00000000..29677c6e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14005a280.c @@ -0,0 +1,36 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14005a280 FUN_14005a280 + * Pseudocode, not original source. */ + +void FUN_14005a280(longlong *param_1,undefined8 param_2,longlong param_3,TypeDescriptor *param_4) + +{ + int *piVar1; + uint *puVar2; + longlong lVar3; + + piVar1 = (int *)(**(code **)(*param_1 + 0x58))(); + FUN_14003d040(piVar1); + if (DAT_14017614f != '\0') { + param_3 = *param_1; + (**(code **)(param_3 + 200))(param_1); + } + if (param_1[0x84] == 0) { + lVar3 = 0; + } + else { + lVar3 = param_1[0x82]; + } + for (; lVar3 != 0; lVar3 = *(longlong *)(lVar3 + 0x10)) { + if (*(undefined8 **)(lVar3 + 8) == (undefined8 *)0x0) { + puVar2 = (uint *)0x0; + } + else { + puVar2 = (uint *)**(undefined8 **)(lVar3 + 8); + } + FUN_140059c20((longlong)param_1,puVar2,param_3,param_4); + } + FUN_14003d0d0((longlong)piVar1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14005a330.c b/decomp/AgentManager_Release_x64/full/functions/0x14005a330.c new file mode 100644 index 00000000..9c88419c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14005a330.c @@ -0,0 +1,31 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14005a330 FUN_14005a330 + * Pseudocode, not original source. */ + +void FUN_14005a330(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined *puVar1; + longlong *plVar2; + undefined8 uVar3; + undefined *local_res8; + + puVar1 = *(undefined **)(param_1 + 0x1808); + if (((puVar1 != (undefined *)0x0) && (puVar1 != PTR_DAT_14016f010)) && + (*(int *)(puVar1 + -8) != 0)) { + FUN_14003e7c0(param_1,param_2,param_3,param_4); + plVar2 = (longlong *)(param_1 + 0x1808); + local_res8 = PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_res8,plVar2,param_3,param_4); + FUN_1400416f0((longlong *)&local_res8,plVar2,param_3,param_4); + } + uVar3 = (**(code **)(*(longlong *)(param_1 + 0x118) + 8))(); + *(undefined4 *)(param_1 + 0x1804) = 0; + *(undefined8 *)(param_1 + 0x1810) = uVar3; + FUN_140005dd0((longlong *)(param_1 + 0x1808),&DAT_140131724,param_3,param_4); + LOCK(); + *(undefined4 *)(param_1 + 0x1840) = 0; + UNLOCK(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14005a3d0.c b/decomp/AgentManager_Release_x64/full/functions/0x14005a3d0.c new file mode 100644 index 00000000..65d5ba76 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14005a3d0.c @@ -0,0 +1,65 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14005a3d0 FUN_14005a3d0 + * Pseudocode, not original source. */ + +/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ + +void FUN_14005a3d0(longlong param_1,uint *param_2,TypeDescriptor *param_3,TypeDescriptor *param_4) + +{ + longlong lVar1; + longlong lVar2; + TypeDescriptor *pTVar3; + double dVar4; + void *local_res20; + + pTVar3 = param_3; + dVar4 = (double)(**(code **)(*(longlong *)(param_1 + 0x118) + 8))(); + lVar1 = 0; + if (*(longlong *)(param_2 + 10) != 0) { + lVar1 = *(longlong *)(param_2 + 6); + } + while( true ) { + lVar2 = lVar1; + if (lVar2 == 0) { + *(void **)(param_2 + 0x24) = param_3->pVFTable; + *(void **)(param_2 + 0x26) = param_3->spare; + *(void **)(param_2 + 0x28) = param_3[1].pVFTable; + *(void **)(param_2 + 0x2a) = param_3[1].spare; + *(void **)(param_2 + 0x2c) = param_3[2].pVFTable; + *(void **)(param_2 + 0x2e) = param_3[2].spare; + *(void **)(param_2 + 0x30) = param_3[3].pVFTable; + *(undefined1 *)(param_2 + 0x22) = 1; + if ((param_2[0x1e] == 0) && (*(longlong *)(param_2 + 10) != 0)) { + FUN_140059c20(param_1,param_2,(longlong)pTVar3,param_4); + } + return; + } + local_res20 = (void *)0x0; + if (lVar2 == 0) break; + param_4 = &Proud::CRemoteClient_S::RTTI_Type_Descriptor; + pTVar3 = &Proud::CP2PGroupMemberBase_S::RTTI_Type_Descriptor; + local_res20 = (void *)__RTDynamicCast(*(undefined8 *)(lVar2 + 0x10),0, + &Proud::CP2PGroupMemberBase_S::RTTI_Type_Descriptor, + &Proud::CRemoteClient_S::RTTI_Type_Descriptor,0); + if (((local_res20 != (void *)0x0) && (*(double *)((longlong)local_res20 + 0x188) == 0.0)) || + (_DAT_14016f158 < dVar4 - *(double *)((longlong)local_res20 + 0x188))) { + *(double *)((longlong)local_res20 + 0x188) = dVar4; + local_res20._1_7_ = (uint7)((ulonglong)local_res20 >> 8); + local_res20 = (void *)CONCAT71(local_res20._1_7_,1); + if ((double)param_3[2].pVFTable <= 0.0) { + local_res20 = (void *)((ulonglong)local_res20._1_7_ << 8); + } + param_4 = (TypeDescriptor *)&local_res20; + pTVar3 = (TypeDescriptor *)&DAT_140177f90; + (**(code **)(*(longlong *)(param_1 + 0x4a8) + 0x130))(); + } + lVar1 = 0; + if (lVar2 != 0) { + lVar1 = *(longlong *)(lVar2 + 0x18); + } + } + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14005a600.c b/decomp/AgentManager_Release_x64/full/functions/0x14005a600.c new file mode 100644 index 00000000..37287210 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14005a600.c @@ -0,0 +1,98 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14005a600 FUN_14005a600 + * Pseudocode, not original source. */ + +void FUN_14005a600(longlong param_1,wchar_t *param_2,longlong param_3,longlong param_4) + +{ + uint uVar1; + undefined4 uVar2; + int iVar3; + longlong lVar4; + undefined8 *puVar5; + undefined8 uVar6; + longlong *plVar7; + int *piVar8; + undefined8 *puVar9; + longlong lVar10; + longlong lVar11; + wchar_t *pwVar12; + longlong lVar13; + longlong lVar14; + longlong lVar15; + int iVar16; + longlong lVar17; + int iVar18; + undefined4 uStack_3c; + + pwVar12 = param_2; + piVar8 = (int *)(**(code **)(*(longlong *)(param_1 + -0xa8) + 0x58))(param_1 + -0xa8); + FUN_14003d040(piVar8); + if (DAT_14017614f != '\0') { + param_3 = *(longlong *)(param_1 + -0xa8); + pwVar12 = L"Proud::CNetServerImpl::GetUserWorkerThreadInfo"; + (**(code **)(param_3 + 200))(param_1 + -0xa8); + } + lVar4 = *(longlong *)(param_1 + 0x338); + iVar18 = 0; + uVar1 = *(uint *)(lVar4 + 0x78); + lVar14 = 0; + if (0 < (int)uVar1) { + do { + if ((lVar14 < 0) || ((int)uVar1 <= iVar18)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0((ulonglong)uVar1,pwVar12,param_3,param_4); + } + lVar13 = *(longlong *)(lVar4 + 0x70); + puVar5 = *(undefined8 **)(lVar13 + lVar14 * 8); + puVar9 = (undefined8 *)0x0; + if (puVar5 != (undefined8 *)0x0) { + puVar9 = (undefined8 *)*puVar5; + } + uVar6 = *puVar9; + if ((int)uVar1 <= iVar18) { + /* WARNING: Subroutine does not return */ + FUN_14003def0((ulonglong)uVar1,lVar13,param_3,param_4); + } + plVar7 = *(longlong **)(lVar13 + lVar14 * 8); + if (plVar7 == (longlong *)0x0) { + lVar13 = 0; + } + else { + lVar13 = *plVar7; + } + uVar2 = *(undefined4 *)(lVar13 + 8); + iVar3 = *(int *)(param_2 + 0xc); + lVar13 = (longlong)iVar3; + if (iVar3 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + iVar16 = *(int *)(param_2 + 0xc); + uVar1 = iVar16 + 1; + pwVar12 = (wchar_t *)(ulonglong)uVar1; + FUN_14009cb60((longlong)param_2,uVar1,param_3,param_4); + iVar16 = iVar16 - iVar3; + if ((0 < iVar16) && (iVar16 = iVar16 + -1, lVar15 = (longlong)iVar16, -1 < iVar16)) { + lVar17 = (lVar15 + 1 + lVar13) * 0x10; + do { + lVar10 = FUN_140074a30((longlong)param_2); + lVar11 = FUN_140074a30((longlong)param_2); + *(undefined8 *)(lVar11 + lVar17) = *(undefined8 *)(lVar10 + -0x10 + lVar17); + *(undefined8 *)(lVar11 + 8 + lVar17) = *(undefined8 *)(lVar10 + -8 + lVar17); + lVar17 = lVar17 + -0x10; + lVar15 = lVar15 + -1; + } while (-1 < lVar15); + } + lVar15 = FUN_140074a30((longlong)param_2); + *(ulonglong *)(lVar15 + lVar13 * 0x10) = CONCAT44(uStack_3c,uVar2); + *(undefined8 *)(lVar15 + 8 + lVar13 * 0x10) = uVar6; + iVar18 = iVar18 + 1; + lVar14 = lVar14 + 1; + uVar1 = *(uint *)(lVar4 + 0x78); + } while (iVar18 < (int)uVar1); + } + FUN_14003d0d0((longlong)piVar8); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14005a7c0.c b/decomp/AgentManager_Release_x64/full/functions/0x14005a7c0.c new file mode 100644 index 00000000..b36964ab --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14005a7c0.c @@ -0,0 +1,98 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14005a7c0 FUN_14005a7c0 + * Pseudocode, not original source. */ + +void FUN_14005a7c0(longlong param_1,wchar_t *param_2,longlong param_3,longlong param_4) + +{ + uint uVar1; + undefined4 uVar2; + int iVar3; + longlong lVar4; + undefined8 *puVar5; + undefined8 uVar6; + longlong *plVar7; + int *piVar8; + undefined8 *puVar9; + longlong lVar10; + longlong lVar11; + wchar_t *pwVar12; + longlong lVar13; + longlong lVar14; + longlong lVar15; + int iVar16; + longlong lVar17; + int iVar18; + undefined4 uStack_3c; + + pwVar12 = param_2; + piVar8 = (int *)(**(code **)(*(longlong *)(param_1 + -0xa8) + 0x58))(param_1 + -0xa8); + FUN_14003d040(piVar8); + if (DAT_14017614f != '\0') { + param_3 = *(longlong *)(param_1 + -0xa8); + pwVar12 = L"Proud::CNetServerImpl::GetNetWorkerThreadInfo"; + (**(code **)(param_3 + 200))(param_1 + -0xa8); + } + lVar4 = *(longlong *)(param_1 + 0x338); + iVar18 = 0; + uVar1 = *(uint *)(lVar4 + 0x50); + lVar14 = 0; + if (0 < (int)uVar1) { + do { + if ((lVar14 < 0) || ((int)uVar1 <= iVar18)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0((ulonglong)uVar1,pwVar12,param_3,param_4); + } + lVar13 = *(longlong *)(lVar4 + 0x48); + puVar5 = *(undefined8 **)(lVar13 + lVar14 * 8); + puVar9 = (undefined8 *)0x0; + if (puVar5 != (undefined8 *)0x0) { + puVar9 = (undefined8 *)*puVar5; + } + uVar6 = *puVar9; + if ((int)uVar1 <= iVar18) { + /* WARNING: Subroutine does not return */ + FUN_14003def0((ulonglong)uVar1,lVar13,param_3,param_4); + } + plVar7 = *(longlong **)(lVar13 + lVar14 * 8); + if (plVar7 == (longlong *)0x0) { + lVar13 = 0; + } + else { + lVar13 = *plVar7; + } + uVar2 = *(undefined4 *)(lVar13 + 8); + iVar3 = *(int *)(param_2 + 0xc); + lVar13 = (longlong)iVar3; + if (iVar3 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + iVar16 = *(int *)(param_2 + 0xc); + uVar1 = iVar16 + 1; + pwVar12 = (wchar_t *)(ulonglong)uVar1; + FUN_14009cb60((longlong)param_2,uVar1,param_3,param_4); + iVar16 = iVar16 - iVar3; + if ((0 < iVar16) && (iVar16 = iVar16 + -1, lVar15 = (longlong)iVar16, -1 < iVar16)) { + lVar17 = (lVar15 + 1 + lVar13) * 0x10; + do { + lVar10 = FUN_140074a30((longlong)param_2); + lVar11 = FUN_140074a30((longlong)param_2); + *(undefined8 *)(lVar11 + lVar17) = *(undefined8 *)(lVar10 + -0x10 + lVar17); + *(undefined8 *)(lVar11 + 8 + lVar17) = *(undefined8 *)(lVar10 + -8 + lVar17); + lVar17 = lVar17 + -0x10; + lVar15 = lVar15 + -1; + } while (-1 < lVar15); + } + lVar15 = FUN_140074a30((longlong)param_2); + *(ulonglong *)(lVar15 + lVar13 * 0x10) = CONCAT44(uStack_3c,uVar2); + *(undefined8 *)(lVar15 + 8 + lVar13 * 0x10) = uVar6; + iVar18 = iVar18 + 1; + lVar14 = lVar14 + 1; + uVar1 = *(uint *)(lVar4 + 0x50); + } while (iVar18 < (int)uVar1); + } + FUN_14003d0d0((longlong)piVar8); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14005a980.c b/decomp/AgentManager_Release_x64/full/functions/0x14005a980.c new file mode 100644 index 00000000..ae57cf17 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14005a980.c @@ -0,0 +1,114 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14005a980 FUN_14005a980 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_14005a980(undefined8 param_1,longlong param_2,SIZE_T param_3,undefined8 param_4) + +{ + bool bVar1; + undefined4 *puVar2; + int *piVar3; + longlong lVar4; + undefined8 uVar5; + longlong **pplVar6; + undefined1 auStack_d68 [32]; + int local_d48 [2]; + longlong local_d40; + longlong local_d38; + undefined4 local_d30; + int local_d2c; + undefined8 local_d20; + exception local_d18 [80]; + longlong *local_cc8; + undefined8 uStack_cc0; + int *local_cb8; + undefined1 local_cb0; + longlong local_ca8; + undefined8 uStack_ca0; + longlong *local_28; + undefined4 local_20; + int local_1c; + ulonglong local_18; + + local_d20 = 0xfffffffffffffffe; + local_18 = DAT_14016f5a0 ^ (ulonglong)auStack_d68; + local_cc8 = (longlong *)0x0; + uStack_cc0 = 0; + lVar4 = *(longlong *)(param_2 + 0x728); + if ((lVar4 == 0) && (lVar4 = *(longlong *)(param_2 + 0x730), lVar4 == 0)) { + bVar1 = false; + } + else { + bVar1 = true; + } + if (!bVar1) { + puVar2 = FUN_140045d90((undefined4 *)&local_cb8); + *(undefined4 *)(param_2 + 0x728) = *puVar2; + *(undefined4 *)(param_2 + 0x72c) = puVar2[1]; + *(undefined4 *)(param_2 + 0x730) = puVar2[2]; + *(undefined4 *)(param_2 + 0x734) = puVar2[3]; + FUN_140074fb0(local_d48); + FUN_140074a40((longlong)local_d48,lVar4,param_3,param_4); + FUN_140075110(local_d48,0x800,param_3,param_4); + uVar5 = 0; + FUN_140075110(local_d48,0,param_3,param_4); + FUN_140029d80((longlong)local_d48,CONCAT71((int7)((ulonglong)uVar5 >> 8),0xb),param_3,param_4); + local_cc8 = *(longlong **)(param_2 + 0x728); + uStack_cc0 = *(undefined8 *)(param_2 + 0x730); + FUN_140051cf0((longlong)local_d48,&local_cc8,param_3,param_4); + piVar3 = (int *)(**(code **)(*(longlong *)(param_2 + 0x108) + 0x10))(); + local_cb8 = piVar3; + FUN_14003d040(piVar3); + local_cb0 = 1; + local_1c = 200; + local_20 = 0; + local_28 = &local_ca8; + if (local_d40 == 0) { + if (local_d38 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,0,param_3,param_4); + } + } + else { + local_d30 = *(undefined4 *)(local_d40 + 0x18); + } + local_ca8 = local_d38; + if (local_d38 == 0) { + if (local_d40 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,0,param_3,param_4); + } + if (*(int *)(local_d40 + 0x18) != 0) { + local_ca8 = *(longlong *)(local_d40 + 0x10); + } + } + uStack_cc0 = CONCAT44(uStack_cc0._4_4_,local_d30); + local_20 = 1; + uStack_ca0 = uStack_cc0; + local_cc8 = (longlong *)0x0; + uStack_cc0 = CONCAT71(uStack_cc0._1_7_,1); + pplVar6 = &local_cc8; + FUN_140091090(*(char **)(param_2 + 0x748),(longlong)&local_ca8,(SIZE_T *)pplVar6,param_4); + if (local_28 == (longlong *)0x0) { + FUN_14003db10(local_d18,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,pplVar6, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_d18,(ThrowInfo *)&DAT_14016c210); + } + if (local_1c < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + FUN_14003d0d0((longlong)piVar3); + local_cc8 = &local_d40; + FUN_14008a320(&local_d40); + if ((local_d38 != 0) && (local_d2c < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14005abe0.c b/decomp/AgentManager_Release_x64/full/functions/0x14005abe0.c new file mode 100644 index 00000000..ab614016 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14005abe0.c @@ -0,0 +1,209 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14005abe0 FUN_14005abe0 + * Pseudocode, not original source. */ + +void FUN_14005abe0(wchar_t *param_1,wchar_t *param_2,wchar_t *param_3,undefined8 param_4) + +{ + int iVar1; + longlong *plVar2; + bool bVar3; + longlong *plVar4; + wchar_t *pwVar5; + int *piVar6; + longlong lVar7; + wchar_t *pwVar8; + wchar_t *pwVar9; + wchar_t *pwVar10; + longlong lVar11; + int iVar12; + wchar_t *local_res8; + wchar_t *local_res10; + + pwVar5 = param_1; + local_res10 = param_2; + if (*(longlong *)(param_1 + 0xbb0) == 0) { + plVar4 = (longlong *)0x0; + } + else { + plVar4 = *(longlong **)(param_1 + 0xba8); + } + for (; pwVar9 = local_res10, plVar4 != (longlong *)0x0; plVar4 = (longlong *)plVar4[2]) { + if (plVar4 == (longlong *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + lVar11 = *plVar4; + pwVar5 = (wchar_t *)(**(code **)(*(longlong *)(lVar11 + 0x108) + 0x10))(); + bVar3 = FUN_14003d190((longlong)pwVar5); + pwVar8 = pwVar9; + if (bVar3) { + FUN_14003e7c0(pwVar5,param_2,param_3,param_4); + local_res8 = (wchar_t *)PTR_DAT_14016f010; + param_2 = L"RemoteClient DeadLock - %s"; + FUN_140029b80((longlong *)&local_res8,L"RemoteClient DeadLock - %s",pwVar9,param_4); + pwVar10 = local_res8; + pwVar5 = local_res8; + if (local_res8 == (wchar_t *)0x0) { + pwVar5 = (wchar_t *)PTR_DAT_14016f010; + } + FUN_14003e110(pwVar5); + pwVar8 = local_res10; + param_3 = pwVar9; + if (((pwVar10 != (wchar_t *)0x0) && (pwVar10 != (wchar_t *)PTR_DAT_14016f010)) && + (pwVar10 + -4 != (wchar_t *)0x0)) { + pwVar5 = (wchar_t *)FUN_14003e7c0(pwVar5,param_2,pwVar9,param_4); + FUN_14003d040((int *)pwVar5); + pwVar8 = pwVar10 + -2; + *(int *)pwVar8 = *(int *)pwVar8 + -1; + if (*(int *)pwVar8 == 0) { + FUN_14003e8b0(pwVar10 + -4); + } + FUN_14003d0d0((longlong)pwVar5); + pwVar8 = local_res10; + param_3 = pwVar9; + } + } + if ((*(int *)(param_1 + 0xc22) == 0) && + (plVar2 = *(longlong **)(lVar11 + 0x760), plVar2 != (longlong *)0x0)) { + lVar11 = *plVar2; + pwVar5 = (wchar_t *)0x0; + if (lVar11 != 0) { + pwVar5 = (wchar_t *)(**(code **)(*(longlong *)(lVar11 + 0x88) + 0x10))(); + bVar3 = FUN_14003d190((longlong)pwVar5); + if (bVar3) { + FUN_14003e7c0(pwVar5,param_2,param_3,param_4); + local_res8 = (wchar_t *)PTR_DAT_14016f010; + param_2 = L"UDPSocket DeadLock - %s"; + FUN_140029b80((longlong *)&local_res8,L"UDPSocket DeadLock - %s",pwVar8,param_4); + pwVar9 = local_res8; + pwVar5 = local_res8; + if (local_res8 == (wchar_t *)0x0) { + pwVar5 = (wchar_t *)PTR_DAT_14016f010; + } + FUN_14003e110(pwVar5); + param_3 = pwVar8; + if (((pwVar9 != (wchar_t *)0x0) && (pwVar9 != (wchar_t *)PTR_DAT_14016f010)) && + (pwVar9 + -4 != (wchar_t *)0x0)) { + pwVar5 = (wchar_t *)FUN_14003e7c0(pwVar5,param_2,pwVar8,param_4); + FUN_14003d040((int *)pwVar5); + pwVar10 = pwVar9 + -2; + *(int *)pwVar10 = *(int *)pwVar10 + -1; + param_3 = pwVar8; + if (*(int *)pwVar10 == 0) { + FUN_14003e8b0(pwVar9 + -4); + param_3 = pwVar8; + } + FUN_14003d0d0((longlong)pwVar5); + } + } + } + } + } + if (*(int *)(param_1 + 0xc22) == 1) { + iVar12 = 0; + lVar11 = 0; + iVar1 = *(int *)(param_1 + 0x370); + if (0 < (longlong)iVar1) { + do { + if ((lVar11 < 0) || (*(int *)(param_1 + 0x370) <= iVar12)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(pwVar5,param_2,param_3,param_4); + } + plVar4 = *(longlong **)(*(longlong *)(param_1 + 0x36c) + lVar11 * 8); + lVar7 = 0; + if (plVar4 != (longlong *)0x0) { + lVar7 = *plVar4; + } + pwVar5 = (wchar_t *)(**(code **)(*(longlong *)(lVar7 + 0x88) + 0x10))(); + bVar3 = FUN_14003d190((longlong)pwVar5); + if (bVar3) { + FUN_14003e7c0(pwVar5,param_2,param_3,param_4); + local_res8 = (wchar_t *)PTR_DAT_14016f010; + param_2 = L"UDPSocket DeadLock - %s"; + FUN_140029b80((longlong *)&local_res8,L"UDPSocket DeadLock - %s",pwVar9,param_4); + pwVar8 = local_res8; + pwVar5 = local_res8; + if (local_res8 == (wchar_t *)0x0) { + pwVar5 = (wchar_t *)PTR_DAT_14016f010; + } + param_3 = pwVar9; + FUN_14003e110(pwVar5); + pwVar9 = local_res10; + if (((pwVar8 != (wchar_t *)0x0) && (pwVar8 != (wchar_t *)PTR_DAT_14016f010)) && + (pwVar8 + -4 != (wchar_t *)0x0)) { + pwVar5 = (wchar_t *)FUN_14003e7c0(pwVar5,param_2,param_3,param_4); + FUN_14003d040((int *)pwVar5); + pwVar9 = pwVar8 + -2; + *(int *)pwVar9 = *(int *)pwVar9 + -1; + if (*(int *)pwVar9 == 0) { + FUN_14003e8b0(pwVar8 + -4); + } + FUN_14003d0d0((longlong)pwVar5); + pwVar9 = local_res10; + } + } + iVar12 = iVar12 + 1; + lVar11 = lVar11 + 1; + } while (lVar11 < iVar1); + } + } + pwVar5 = param_1 + 0x3cc; + bVar3 = FUN_14003d190((longlong)pwVar5); + if (bVar3) { + FUN_14003e7c0(pwVar5,param_2,param_3,param_4); + local_res8 = (wchar_t *)PTR_DAT_14016f010; + param_2 = L"NetServer tcpIssueQueueCS DeadLock!! - %s"; + FUN_140029b80((longlong *)&local_res8,L"NetServer tcpIssueQueueCS DeadLock!! - %s",pwVar9, + param_4); + pwVar5 = local_res8; + pwVar8 = local_res8; + if (local_res8 == (wchar_t *)0x0) { + pwVar8 = (wchar_t *)PTR_DAT_14016f010; + } + FUN_14003e110(pwVar8); + param_3 = pwVar9; + if (((pwVar5 != (wchar_t *)0x0) && (pwVar5 != (wchar_t *)PTR_DAT_14016f010)) && + (pwVar5 + -4 != (wchar_t *)0x0)) { + piVar6 = (int *)FUN_14003e7c0(pwVar8,param_2,pwVar9,param_4); + FUN_14003d040(piVar6); + pwVar8 = pwVar5 + -2; + *(int *)pwVar8 = *(int *)pwVar8 + -1; + param_3 = pwVar9; + if (*(int *)pwVar8 == 0) { + FUN_14003e8b0(pwVar5 + -4); + param_3 = pwVar9; + } + FUN_14003d0d0((longlong)piVar6); + } + } + pwVar5 = param_1 + 1000; + bVar3 = FUN_14003d190((longlong)pwVar5); + if (bVar3) { + FUN_14003e7c0(pwVar5,param_2,param_3,param_4); + local_res8 = (wchar_t *)PTR_DAT_14016f010; + pwVar10 = L"NetServer udpIssueQueueCS DeadLock!! - %s"; + pwVar8 = local_res10; + FUN_140029b80((longlong *)&local_res8,L"NetServer udpIssueQueueCS DeadLock!! - %s",local_res10, + param_4); + pwVar5 = local_res8; + pwVar9 = local_res8; + if (local_res8 == (wchar_t *)0x0) { + pwVar9 = (wchar_t *)PTR_DAT_14016f010; + } + FUN_14003e110(pwVar9); + if (((pwVar5 != (wchar_t *)0x0) && (pwVar5 != (wchar_t *)PTR_DAT_14016f010)) && + (pwVar5 + -4 != (wchar_t *)0x0)) { + piVar6 = (int *)FUN_14003e7c0(pwVar9,pwVar10,pwVar8,param_4); + FUN_14003d040(piVar6); + pwVar9 = pwVar5 + -2; + *(int *)pwVar9 = *(int *)pwVar9 + -1; + if (*(int *)pwVar9 == 0) { + FUN_14003e8b0(pwVar5 + -4); + } + FUN_14003d0d0((longlong)piVar6); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14005b030.c b/decomp/AgentManager_Release_x64/full/functions/0x14005b030.c new file mode 100644 index 00000000..8863c711 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14005b030.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14005b030 FUN_14005b030 + * Pseudocode, not original source. */ + +longlong * FUN_14005b030(longlong *param_1,longlong *param_2) + +{ + longlong lVar1; + undefined8 *puVar2; + + lVar1 = *param_2; + if (lVar1 != *param_1) { + if (lVar1 != 0) { + *(longlong *)(*param_2 + 8) = *(longlong *)(lVar1 + 8) + 1; + } + puVar2 = (undefined8 *)0x0; + if ((*param_1 != 0) && + (*(longlong *)(*param_1 + 8) = *(longlong *)(*param_1 + 8) + -1, + *(longlong *)(*param_1 + 8) == 0)) { + puVar2 = (undefined8 *)*param_1; + } + *param_1 = *param_2; + if (puVar2 != (undefined8 *)0x0) { + FUN_14004e450(puVar2); + } + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14005b0a0.c b/decomp/AgentManager_Release_x64/full/functions/0x14005b0a0.c new file mode 100644 index 00000000..fcd8f9b4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14005b0a0.c @@ -0,0 +1,19 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14005b0a0 FUN_14005b0a0 + * Pseudocode, not original source. */ + +void FUN_14005b0a0(longlong *param_1) + +{ + longlong *plVar1; + + if (*param_1 != 0) { + plVar1 = (longlong *)(*param_1 + 8); + *plVar1 = *plVar1 + -1; + if (*plVar1 == 0) { + FUN_1400512a0((longlong)param_1,(longlong *)*param_1); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14005b0c0.c b/decomp/AgentManager_Release_x64/full/functions/0x14005b0c0.c new file mode 100644 index 00000000..07243066 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14005b0c0.c @@ -0,0 +1,28 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14005b0c0 FUN_14005b0c0 + * Pseudocode, not original source. */ + +void FUN_14005b0c0(undefined8 *param_1) + +{ + LPVOID pvVar1; + longlong *plVar2; + + *param_1 = Proud::CFastArray,0>::vftable; + if (0 < *(int *)(param_1 + 3)) { + FUN_1400517d0((longlong *)param_1[2],(longlong)*(int *)(param_1 + 3)); + } + pvVar1 = (LPVOID)param_1[2]; + if (pvVar1 != (LPVOID)0x0) { + plVar2 = (longlong *)param_1[1]; + if (plVar2 != (longlong *)0x0) { + /* WARNING: Could not recover jumptable at 0x00014005b107. Too many branches */ + /* WARNING: Treating indirect jump as call */ + (**(code **)(*plVar2 + 0x18))(plVar2,pvVar1); + return; + } + FUN_14003e8b0(pvVar1); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14005b120.c b/decomp/AgentManager_Release_x64/full/functions/0x14005b120.c new file mode 100644 index 00000000..4e1e2996 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14005b120.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14005b120 FUN_14005b120 + * Pseudocode, not original source. */ + +undefined8 * FUN_14005b120(undefined8 *param_1,uint param_2) + +{ + LPVOID pvVar1; + longlong *plVar2; + + *param_1 = Proud::CFastArray,0>::vftable; + if (0 < *(int *)(param_1 + 3)) { + FUN_1400517d0((longlong *)param_1[2],(longlong)*(int *)(param_1 + 3)); + } + pvVar1 = (LPVOID)param_1[2]; + if (pvVar1 != (LPVOID)0x0) { + plVar2 = (longlong *)param_1[1]; + if (plVar2 == (longlong *)0x0) { + FUN_14003e8b0(pvVar1); + } + else { + (**(code **)(*plVar2 + 0x18))(plVar2,pvVar1); + } + } + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14005b190.c b/decomp/AgentManager_Release_x64/full/functions/0x14005b190.c new file mode 100644 index 00000000..34a6b563 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14005b190.c @@ -0,0 +1,110 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14005b190 FUN_14005b190 + * Pseudocode, not original source. */ + +void FUN_14005b190(longlong param_1,int param_2) + +{ + longlong *plVar1; + undefined8 *puVar2; + longlong *plVar3; + int iVar4; + int iVar5; + longlong *plVar6; + int iVar7; + longlong lVar8; + longlong lVar9; + exception local_a0 [152]; + + lVar8 = (longlong)param_2; + if (param_2 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + iVar5 = *(int *)(param_1 + 0x18); + if (param_2 != iVar5) { + if (*(int *)(param_1 + 0x1c) < param_2) { + iVar5 = FUN_14008c010(param_1,param_2); + lVar9 = (longlong)iVar5; + plVar3 = *(longlong **)(param_1 + 8); + if (*(int *)(param_1 + 0x1c) == 0) { + if (plVar3 == (longlong *)0x0) { + puVar2 = (undefined8 *)FUN_14003e840(lVar9 << 3); + } + else { + puVar2 = (undefined8 *)(**(code **)(*plVar3 + 8))(plVar3,lVar9 << 3); + } + *(undefined8 **)(param_1 + 0x10) = puVar2; + if (0 < param_2) { + do { + if (puVar2 != (undefined8 *)0x0) { + *puVar2 = 0; + } + puVar2 = puVar2 + 1; + lVar8 = lVar8 + -1; + } while (lVar8 != 0); + } + } + else { + plVar1 = *(longlong **)(param_1 + 0x10); + if (plVar3 == (longlong *)0x0) { + plVar3 = (longlong *)FUN_14003e840(lVar9 << 3); + } + else { + plVar3 = (longlong *)(**(code **)(*plVar3 + 8))(plVar3,lVar9 << 3); + } + FUN_140051860(plVar3,(longlong)plVar1,(longlong)*(int *)(param_1 + 0x18)); + iVar4 = param_2 - *(int *)(param_1 + 0x18); + plVar6 = plVar3 + *(int *)(param_1 + 0x18); + iVar7 = 0; + if (0 < iVar4) { + do { + if (plVar6 != (longlong *)0x0) { + *plVar6 = 0; + } + iVar7 = iVar7 + 1; + plVar6 = plVar6 + 1; + } while ((longlong)iVar7 < (longlong)iVar4); + } + if (plVar3 == (longlong *)0x0) { + FUN_14003db10(local_a0,L"Memory allocation failure!",0,(longlong)iVar4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_a0,(ThrowInfo *)&DAT_14016c210); + } + FUN_1400517d0(plVar1,(longlong)*(int *)(param_1 + 0x18)); + plVar6 = *(longlong **)(param_1 + 8); + if (plVar6 == (longlong *)0x0) { + FUN_14003e8b0(plVar1); + } + else { + (**(code **)(*plVar6 + 0x18))(plVar6,plVar1); + } + *(longlong **)(param_1 + 0x10) = plVar3; + } + *(int *)(param_1 + 0x1c) = iVar5; + } + else if (iVar5 - param_2 < 1) { + iVar4 = param_2 - iVar5; + if (0 < iVar4) { + puVar2 = (undefined8 *)(*(longlong *)(param_1 + 0x10) + (longlong)iVar5 * 8); + iVar5 = 0; + if (0 < iVar4) { + do { + if (puVar2 != (undefined8 *)0x0) { + *puVar2 = 0; + } + iVar5 = iVar5 + 1; + puVar2 = puVar2 + 1; + } while (iVar5 < iVar4); + } + } + } + else { + FUN_1400517d0((longlong *)(*(longlong *)(param_1 + 0x10) + lVar8 * 8), + (longlong)(iVar5 - param_2)); + } + *(int *)(param_1 + 0x18) = param_2; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14005b380.c b/decomp/AgentManager_Release_x64/full/functions/0x14005b380.c new file mode 100644 index 00000000..8172a87b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14005b380.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14005b380 FUN_14005b380 + * Pseudocode, not original source. */ + +void FUN_14005b380(_Container_base12 *param_1) + +{ + FUN_14004ea00((longlong)param_1); + std::_Container_base12::_Orphan_all(param_1); + operator_delete(*(void **)param_1); + *(undefined8 *)param_1 = 0; + /* WARNING: Could not recover jumptable at 0x00014005b3bc. Too many branches */ + /* WARNING: Treating indirect jump as call */ + std::_Container_base12::~_Container_base12(param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14005b3e0.c b/decomp/AgentManager_Release_x64/full/functions/0x14005b3e0.c new file mode 100644 index 00000000..d3ed3bcd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14005b3e0.c @@ -0,0 +1,42 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14005b3e0 FUN_14005b3e0 + * Pseudocode, not original source. */ + +longlong * FUN_14005b3e0(longlong *param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 *puVar1; + longlong lVar2; + longlong lVar3; + exception local_50 [72]; + + lVar3 = 0; + puVar1 = (undefined8 *) + (**(code **)(*param_2 + 8))(param_2,0x30,param_3,param_4,0xfffffffffffffffe); + if (puVar1 != (undefined8 *)0x0) { + *puVar1 = Proud::CFastArray::vftable; + puVar1[1] = 0; + puVar1[2] = 0; + puVar1[3] = 0; + *(undefined4 *)(puVar1 + 4) = 0; + *(undefined4 *)((longlong)puVar1 + 0x24) = 1; + } + FUN_1400510f0(param_1,param_2,(longlong)puVar1,param_4); + lVar2 = lVar3; + if ((longlong *)*param_1 != (longlong *)0x0) { + lVar2 = *(longlong *)*param_1; + } + *(longlong **)(lVar2 + 0x28) = param_2; + if ((longlong *)*param_1 != (longlong *)0x0) { + lVar3 = *(longlong *)*param_1; + } + if (*(int *)(lVar3 + 0x1c) < 1) { + *(longlong **)(lVar3 + 8) = param_2; + return param_1; + } + FUN_14003db10(local_50,(wchar_t *)PTR_u_Collection_object_can_use_fast_h_14016f1d0,puVar1,param_4) + ; + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_50,(ThrowInfo *)&DAT_14016c210); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14005b4c0.c b/decomp/AgentManager_Release_x64/full/functions/0x14005b4c0.c new file mode 100644 index 00000000..5bec0d5e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14005b4c0.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14005b4c0 FUN_14005b4c0 + * Pseudocode, not original source. */ + +void FUN_14005b4c0(longlong param_1) + +{ + longlong *plVar1; + longlong *plVar2; + + plVar2 = (longlong *)(param_1 + 0x20); + if (*plVar2 != 0) { + plVar1 = (longlong *)(*plVar2 + 8); + *plVar1 = *plVar1 + -1; + if (*plVar1 == 0) { + FUN_1400512a0((longlong)plVar2,(longlong *)*plVar2); + } + } + FUN_14008a320((longlong *)(param_1 + 8)); + if (*(longlong *)(param_1 + 0x10) != 0) { + if (*(int *)(param_1 + 0x1c) < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + *(undefined4 *)(param_1 + 0x18) = 0; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14005b530.c b/decomp/AgentManager_Release_x64/full/functions/0x14005b530.c new file mode 100644 index 00000000..96f3e631 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14005b530.c @@ -0,0 +1,172 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14005b530 FUN_14005b530 + * Pseudocode, not original source. */ + +undefined1 +FUN_14005b530(longlong *param_1,undefined8 param_2,SIZE_T param_3,uint *param_4,uint *param_5, + longlong param_6,uint *param_7,longlong param_8,longlong param_9,uint *param_10, + undefined8 *param_11,byte *param_12,ushort *param_13) + +{ + uint uVar1; + int iVar2; + undefined1 uVar3; + undefined4 *puVar4; + undefined8 *puVar5; + ulonglong uVar6; + longlong lVar7; + undefined8 *puVar8; + SIZE_T SVar9; + uint *puVar10; + undefined4 local_res10 [2]; + undefined8 local_58; + undefined8 uStack_50; + undefined4 local_48; + undefined4 local_44; + longlong local_40; + longlong local_38; + int local_30; + int local_2c; + + local_res10[0] = (undefined4)param_2; + SVar9 = param_3; + puVar10 = param_4; + FUN_140074fb0(&local_48); + FUN_140074a40((longlong)&local_48,param_2,SVar9,puVar10); + FUN_14002a2d0((longlong)&local_48,0xfbf5,SVar9,puVar10); + FUN_140029e60((longlong)&local_48,(ulonglong)*param_4,SVar9,puVar10); + FUN_140029e60((longlong)&local_48,(ulonglong)*param_5,SVar9,puVar10); + uVar1 = *(uint *)(param_6 + 0x18); + FUN_140076380((longlong)&local_48,(longlong)(int)uVar1,SVar9,puVar10); + puVar8 = (undefined8 *)0x0; + puVar5 = puVar8; + if (*(int *)(param_6 + 0x18) != 0) { + puVar5 = *(undefined8 **)(param_6 + 0x10); + } + if (uVar1 != 0) { + local_44 = 0; + if (local_40 == 0) { + if (local_38 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,puVar5,SVar9,puVar10); + } +LAB_14005b5e2: + SVar9 = (SIZE_T)uVar1; + FUN_140029f40(&local_38,puVar5,SVar9,puVar10); + } + else { + if (local_38 != 0) goto LAB_14005b5e2; + if (local_40 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,puVar5,SVar9,puVar10); + } + SVar9 = (SIZE_T)uVar1; + FUN_14002a110(local_40,puVar5,SVar9); + } + FUN_14002a180((longlong)&local_48,puVar5,SVar9,puVar10); + } + FUN_140051c10((longlong)&local_48,(ulonglong)*param_7,SVar9,puVar10); + uVar1 = *(uint *)(param_8 + 0x18); + FUN_140076380((longlong)&local_48,(longlong)(int)uVar1,SVar9,puVar10); + puVar5 = puVar8; + if (*(int *)(param_8 + 0x18) != 0) { + puVar5 = *(undefined8 **)(param_8 + 0x10); + } + if (uVar1 != 0) { + local_44 = 0; + if (local_40 == 0) { + if (local_38 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,puVar5,SVar9,puVar10); + } +LAB_14005b65f: + SVar9 = (SIZE_T)uVar1; + FUN_140029f40(&local_38,puVar5,SVar9,puVar10); + } + else { + if (local_38 != 0) goto LAB_14005b65f; + if (local_40 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,puVar5,SVar9,puVar10); + } + SVar9 = (SIZE_T)uVar1; + FUN_14002a110(local_40,puVar5,SVar9); + } + FUN_14002a180((longlong)&local_48,puVar5,SVar9,puVar10); + } + uVar1 = *(uint *)(param_9 + 0x18); + FUN_140076380((longlong)&local_48,(longlong)(int)uVar1,SVar9,puVar10); + puVar5 = puVar8; + if (*(int *)(param_9 + 0x18) != 0) { + puVar5 = *(undefined8 **)(param_9 + 0x10); + } + if (uVar1 != 0) { + local_44 = 0; + if (local_40 == 0) { + if (local_38 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,puVar5,SVar9,puVar10); + } +LAB_14005b6cd: + SVar9 = (SIZE_T)uVar1; + FUN_140029f40(&local_38,puVar5,SVar9,puVar10); + } + else { + if (local_38 != 0) goto LAB_14005b6cd; + if (local_40 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,puVar5,SVar9,puVar10); + } + SVar9 = (SIZE_T)uVar1; + FUN_14002a110(local_40,puVar5,SVar9); + } + FUN_14002a180((longlong)&local_48,puVar5,SVar9,puVar10); + } + uVar6 = (ulonglong)*param_10; + puVar4 = &local_48; + FUN_140029e60((longlong)puVar4,uVar6,SVar9,puVar10); + local_58 = *param_11; + uStack_50 = param_11[1]; + local_44 = 0; + if (local_40 == 0) { + if (local_38 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(puVar4,uVar6,SVar9,puVar10); + } + } + else if (local_38 == 0) { + if (local_40 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(puVar4,uVar6,SVar9,puVar10); + } + iVar2 = *(int *)(local_40 + 0x18); + FUN_14002a050(local_40,iVar2 + 0x10,SVar9); + if (*(int *)(local_40 + 0x18) != 0) { + puVar8 = *(undefined8 **)(local_40 + 0x10); + } + *(undefined8 *)((longlong)iVar2 + (longlong)puVar8) = local_58; + *(undefined8 *)((longlong)iVar2 + 8 + (longlong)puVar8) = uStack_50; + goto LAB_14005b799; + } + lVar7 = (longlong)local_30; + local_30 = local_30 + 0x10; + if ((local_30 < 0) || (local_2c < local_30)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + *(undefined8 *)(local_38 + lVar7) = local_58; + ((undefined8 *)(local_38 + lVar7))[1] = uStack_50; +LAB_14005b799: + FUN_14002a180((longlong)&local_48,&local_58,SVar9,puVar10); + FUN_140029d80((longlong)&local_48,(ulonglong)*param_12,SVar9,puVar10); + FUN_14002a2d0((longlong)&local_48,(ulonglong)*param_13,SVar9,puVar10); + uVar3 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,&local_48,PTR_DAT_14016f960,0xfbf5); + FUN_14008a320(&local_40); + if ((local_38 != 0) && (local_2c < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14005b850.c b/decomp/AgentManager_Release_x64/full/functions/0x14005b850.c new file mode 100644 index 00000000..58d3a0ce --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14005b850.c @@ -0,0 +1,172 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14005b850 FUN_14005b850 + * Pseudocode, not original source. */ + +undefined1 +FUN_14005b850(longlong *param_1,undefined8 param_2,SIZE_T param_3,undefined8 param_4,uint *param_5, + uint *param_6,longlong param_7,uint *param_8,longlong param_9,longlong param_10, + uint *param_11,undefined8 *param_12,byte *param_13,ushort *param_14) + +{ + uint uVar1; + int iVar2; + undefined1 uVar3; + undefined4 *puVar4; + undefined8 uVar5; + undefined8 *puVar6; + ulonglong uVar7; + longlong lVar8; + undefined8 *puVar9; + undefined8 uVar10; + ulonglong uVar11; + undefined8 local_68; + undefined8 uStack_60; + undefined4 local_58; + undefined4 local_54; + longlong local_50; + longlong local_48; + int local_40; + int local_3c; + + uVar11 = param_3 & 0xffffffff; + uVar5 = param_2; + uVar10 = param_4; + FUN_140074fb0(&local_58); + FUN_140074a40((longlong)&local_58,uVar5,param_3,uVar10); + FUN_14002a2d0((longlong)&local_58,0xfbf5,param_3,uVar10); + FUN_140029e60((longlong)&local_58,(ulonglong)*param_5,param_3,uVar10); + FUN_140029e60((longlong)&local_58,(ulonglong)*param_6,param_3,uVar10); + uVar1 = *(uint *)(param_7 + 0x18); + FUN_140076380((longlong)&local_58,(longlong)(int)uVar1,param_3,uVar10); + puVar9 = (undefined8 *)0x0; + puVar6 = puVar9; + if (*(int *)(param_7 + 0x18) != 0) { + puVar6 = *(undefined8 **)(param_7 + 0x10); + } + if (uVar1 != 0) { + local_54 = 0; + if (local_50 == 0) { + if (local_48 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,puVar6,param_3,uVar10); + } +LAB_14005b90b: + param_3 = (SIZE_T)uVar1; + FUN_140029f40(&local_48,puVar6,param_3,uVar10); + } + else { + if (local_48 != 0) goto LAB_14005b90b; + if (local_50 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,puVar6,param_3,uVar10); + } + param_3 = (SIZE_T)uVar1; + FUN_14002a110(local_50,puVar6,param_3); + } + FUN_14002a180((longlong)&local_58,puVar6,param_3,uVar10); + } + FUN_140051c10((longlong)&local_58,(ulonglong)*param_8,param_3,uVar10); + uVar1 = *(uint *)(param_9 + 0x18); + FUN_140076380((longlong)&local_58,(longlong)(int)uVar1,param_3,uVar10); + puVar6 = puVar9; + if (*(int *)(param_9 + 0x18) != 0) { + puVar6 = *(undefined8 **)(param_9 + 0x10); + } + if (uVar1 != 0) { + local_54 = 0; + if (local_50 == 0) { + if (local_48 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,puVar6,param_3,uVar10); + } +LAB_14005b988: + param_3 = (SIZE_T)uVar1; + FUN_140029f40(&local_48,puVar6,param_3,uVar10); + } + else { + if (local_48 != 0) goto LAB_14005b988; + if (local_50 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,puVar6,param_3,uVar10); + } + param_3 = (SIZE_T)uVar1; + FUN_14002a110(local_50,puVar6,param_3); + } + FUN_14002a180((longlong)&local_58,puVar6,param_3,uVar10); + } + uVar1 = *(uint *)(param_10 + 0x18); + FUN_140076380((longlong)&local_58,(longlong)(int)uVar1,param_3,uVar10); + puVar6 = puVar9; + if (*(int *)(param_10 + 0x18) != 0) { + puVar6 = *(undefined8 **)(param_10 + 0x10); + } + if (uVar1 != 0) { + local_54 = 0; + if (local_50 == 0) { + if (local_48 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,puVar6,param_3,uVar10); + } +LAB_14005b9f6: + param_3 = (SIZE_T)uVar1; + FUN_140029f40(&local_48,puVar6,param_3,uVar10); + } + else { + if (local_48 != 0) goto LAB_14005b9f6; + if (local_50 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,puVar6,param_3,uVar10); + } + param_3 = (SIZE_T)uVar1; + FUN_14002a110(local_50,puVar6,param_3); + } + FUN_14002a180((longlong)&local_58,puVar6,param_3,uVar10); + } + uVar7 = (ulonglong)*param_11; + puVar4 = &local_58; + FUN_140029e60((longlong)puVar4,uVar7,param_3,uVar10); + local_68 = *param_12; + uStack_60 = param_12[1]; + local_54 = 0; + if (local_50 == 0) { + if (local_48 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(puVar4,uVar7,param_3,uVar10); + } + } + else if (local_48 == 0) { + if (local_50 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(puVar4,uVar7,param_3,uVar10); + } + iVar2 = *(int *)(local_50 + 0x18); + FUN_14002a050(local_50,iVar2 + 0x10,param_3); + if (*(int *)(local_50 + 0x18) != 0) { + puVar9 = *(undefined8 **)(local_50 + 0x10); + } + *(undefined8 *)((longlong)iVar2 + (longlong)puVar9) = local_68; + *(undefined8 *)((longlong)iVar2 + 8 + (longlong)puVar9) = uStack_60; + goto LAB_14005bac8; + } + lVar8 = (longlong)local_40; + local_40 = local_40 + 0x10; + if ((local_40 < 0) || (local_3c < local_40)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + *(undefined8 *)(local_48 + lVar8) = local_68; + ((undefined8 *)(local_48 + lVar8))[1] = uStack_60; +LAB_14005bac8: + FUN_14002a180((longlong)&local_58,&local_68,param_3,uVar10); + FUN_140029d80((longlong)&local_58,(ulonglong)*param_13,param_3,uVar10); + FUN_14002a2d0((longlong)&local_58,(ulonglong)*param_14,param_3,uVar10); + uVar3 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,uVar11,param_4,&local_58,PTR_DAT_14016f960,0xfbf5); + FUN_14008a320(&local_50); + if ((local_48 != 0) && (local_3c < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14005bb80.c b/decomp/AgentManager_Release_x64/full/functions/0x14005bb80.c new file mode 100644 index 00000000..633006f6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14005bb80.c @@ -0,0 +1,116 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14005bb80 FUN_14005bb80 + * Pseudocode, not original source. */ + +undefined1 +FUN_14005bb80(longlong *param_1,undefined8 param_2,SIZE_T param_3,uint *param_4,uint *param_5, + longlong param_6,uint *param_7,uint *param_8,undefined8 *param_9,byte *param_10, + ushort *param_11) + +{ + uint uVar1; + int iVar2; + undefined1 uVar3; + undefined4 *puVar4; + undefined8 *puVar5; + ulonglong uVar6; + longlong lVar7; + undefined8 *puVar8; + SIZE_T SVar9; + uint *puVar10; + undefined4 local_res10 [2]; + undefined8 local_58; + undefined8 uStack_50; + undefined4 local_48; + undefined4 local_44; + longlong local_40; + longlong local_38; + int local_30; + int local_2c; + + local_res10[0] = (undefined4)param_2; + SVar9 = param_3; + puVar10 = param_4; + FUN_140074fb0(&local_48); + FUN_140074a40((longlong)&local_48,param_2,SVar9,puVar10); + FUN_14002a2d0((longlong)&local_48,0xfbf6,SVar9,puVar10); + FUN_140029e60((longlong)&local_48,(ulonglong)*param_4,SVar9,puVar10); + FUN_140029e60((longlong)&local_48,(ulonglong)*param_5,SVar9,puVar10); + uVar1 = *(uint *)(param_6 + 0x18); + FUN_140076380((longlong)&local_48,(longlong)(int)uVar1,SVar9,puVar10); + puVar8 = (undefined8 *)0x0; + puVar5 = puVar8; + if (*(int *)(param_6 + 0x18) != 0) { + puVar5 = *(undefined8 **)(param_6 + 0x10); + } + if (uVar1 != 0) { + local_44 = 0; + if (local_40 == 0) { + if (local_38 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,puVar5,SVar9,puVar10); + } +LAB_14005bc32: + SVar9 = (SIZE_T)uVar1; + FUN_140029f40(&local_38,puVar5,SVar9,puVar10); + } + else { + if (local_38 != 0) goto LAB_14005bc32; + if (local_40 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,puVar5,SVar9,puVar10); + } + SVar9 = (SIZE_T)uVar1; + FUN_14002a110(local_40,puVar5,SVar9); + } + FUN_14002a180((longlong)&local_48,puVar5,SVar9,puVar10); + } + FUN_140051c10((longlong)&local_48,(ulonglong)*param_7,SVar9,puVar10); + uVar6 = (ulonglong)*param_8; + puVar4 = &local_48; + FUN_140029e60((longlong)puVar4,uVar6,SVar9,puVar10); + local_58 = *param_9; + uStack_50 = param_9[1]; + local_44 = 0; + if (local_40 == 0) { + if (local_38 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(puVar4,uVar6,SVar9,puVar10); + } + } + else if (local_38 == 0) { + if (local_40 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(puVar4,uVar6,SVar9,puVar10); + } + iVar2 = *(int *)(local_40 + 0x18); + FUN_14002a050(local_40,iVar2 + 0x10,SVar9); + if (*(int *)(local_40 + 0x18) != 0) { + puVar8 = *(undefined8 **)(local_40 + 0x10); + } + *(undefined8 *)((longlong)iVar2 + (longlong)puVar8) = local_58; + *(undefined8 *)((longlong)iVar2 + 8 + (longlong)puVar8) = uStack_50; + goto LAB_14005bd0e; + } + lVar7 = (longlong)local_30; + local_30 = local_30 + 0x10; + if ((local_30 < 0) || (local_2c < local_30)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + *(undefined8 *)(local_38 + lVar7) = local_58; + ((undefined8 *)(local_38 + lVar7))[1] = uStack_50; +LAB_14005bd0e: + FUN_14002a180((longlong)&local_48,&local_58,SVar9,puVar10); + FUN_140029d80((longlong)&local_48,(ulonglong)*param_10,SVar9,puVar10); + FUN_14002a2d0((longlong)&local_48,(ulonglong)*param_11,SVar9,puVar10); + uVar3 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,&local_48,PTR_DAT_14016f968,0xfbf6); + FUN_14008a320(&local_40); + if ((local_38 != 0) && (local_2c < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14005bdc0.c b/decomp/AgentManager_Release_x64/full/functions/0x14005bdc0.c new file mode 100644 index 00000000..a9ccd5fa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14005bdc0.c @@ -0,0 +1,116 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14005bdc0 FUN_14005bdc0 + * Pseudocode, not original source. */ + +undefined1 +FUN_14005bdc0(longlong *param_1,undefined8 param_2,SIZE_T param_3,undefined8 param_4,uint *param_5, + uint *param_6,longlong param_7,uint *param_8,uint *param_9,undefined8 *param_10, + byte *param_11,ushort *param_12) + +{ + uint uVar1; + int iVar2; + undefined1 uVar3; + undefined4 *puVar4; + undefined8 uVar5; + undefined8 *puVar6; + ulonglong uVar7; + longlong lVar8; + undefined8 *puVar9; + undefined8 uVar10; + ulonglong uVar11; + undefined8 local_68; + undefined8 uStack_60; + undefined4 local_58; + undefined4 local_54; + longlong local_50; + longlong local_48; + int local_40; + int local_3c; + + uVar11 = param_3 & 0xffffffff; + uVar5 = param_2; + uVar10 = param_4; + FUN_140074fb0(&local_58); + FUN_140074a40((longlong)&local_58,uVar5,param_3,uVar10); + FUN_14002a2d0((longlong)&local_58,0xfbf6,param_3,uVar10); + FUN_140029e60((longlong)&local_58,(ulonglong)*param_5,param_3,uVar10); + FUN_140029e60((longlong)&local_58,(ulonglong)*param_6,param_3,uVar10); + uVar1 = *(uint *)(param_7 + 0x18); + FUN_140076380((longlong)&local_58,(longlong)(int)uVar1,param_3,uVar10); + puVar9 = (undefined8 *)0x0; + puVar6 = puVar9; + if (*(int *)(param_7 + 0x18) != 0) { + puVar6 = *(undefined8 **)(param_7 + 0x10); + } + if (uVar1 != 0) { + local_54 = 0; + if (local_50 == 0) { + if (local_48 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,puVar6,param_3,uVar10); + } +LAB_14005be7b: + param_3 = (SIZE_T)uVar1; + FUN_140029f40(&local_48,puVar6,param_3,uVar10); + } + else { + if (local_48 != 0) goto LAB_14005be7b; + if (local_50 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,puVar6,param_3,uVar10); + } + param_3 = (SIZE_T)uVar1; + FUN_14002a110(local_50,puVar6,param_3); + } + FUN_14002a180((longlong)&local_58,puVar6,param_3,uVar10); + } + FUN_140051c10((longlong)&local_58,(ulonglong)*param_8,param_3,uVar10); + uVar7 = (ulonglong)*param_9; + puVar4 = &local_58; + FUN_140029e60((longlong)puVar4,uVar7,param_3,uVar10); + local_68 = *param_10; + uStack_60 = param_10[1]; + local_54 = 0; + if (local_50 == 0) { + if (local_48 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(puVar4,uVar7,param_3,uVar10); + } + } + else if (local_48 == 0) { + if (local_50 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(puVar4,uVar7,param_3,uVar10); + } + iVar2 = *(int *)(local_50 + 0x18); + FUN_14002a050(local_50,iVar2 + 0x10,param_3); + if (*(int *)(local_50 + 0x18) != 0) { + puVar9 = *(undefined8 **)(local_50 + 0x10); + } + *(undefined8 *)((longlong)iVar2 + (longlong)puVar9) = local_68; + *(undefined8 *)((longlong)iVar2 + 8 + (longlong)puVar9) = uStack_60; + goto LAB_14005bf57; + } + lVar8 = (longlong)local_40; + local_40 = local_40 + 0x10; + if ((local_40 < 0) || (local_3c < local_40)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + *(undefined8 *)(local_48 + lVar8) = local_68; + ((undefined8 *)(local_48 + lVar8))[1] = uStack_60; +LAB_14005bf57: + FUN_14002a180((longlong)&local_58,&local_68,param_3,uVar10); + FUN_140029d80((longlong)&local_58,(ulonglong)*param_11,param_3,uVar10); + FUN_14002a2d0((longlong)&local_58,(ulonglong)*param_12,param_3,uVar10); + uVar3 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,uVar11,param_4,&local_58,PTR_DAT_14016f968,0xfbf6); + FUN_14008a320(&local_50); + if ((local_48 != 0) && (local_3c < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14005c010.c b/decomp/AgentManager_Release_x64/full/functions/0x14005c010.c new file mode 100644 index 00000000..a053506f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14005c010.c @@ -0,0 +1,97 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14005c010 FUN_14005c010 + * Pseudocode, not original source. */ + +undefined8 FUN_14005c010(longlong param_1,uint param_2,undefined8 param_3,char *param_4) + +{ + int *piVar1; + uint uVar2; + longlong lVar3; + short *psVar4; + int *piVar5; + ulonglong uVar6; + int *piVar7; + undefined8 uVar8; + uint *puVar9; + longlong lVar10; + short *psVar11; + ulonglong uVar12; + short *local_res8; + longlong local_48 [2]; + int *local_38; + undefined1 local_30; + int *local_28; + undefined1 local_20; + + local_48[1] = 0xfffffffffffffffe; + piVar5 = (int *)(**(code **)(**(longlong **)(param_1 + 0x20) + 0x58))(); + local_38 = piVar5; + FUN_14003d040(piVar5); + local_30 = 1; + if (DAT_14017614f != '\0') { + (**(code **)(**(longlong **)(param_1 + 0x20) + 200))(); + } + uVar12 = (ulonglong)*(uint *)(*(longlong *)(param_1 + 0x20) + 0xca0); + uVar6 = (ulonglong)param_2 % uVar12; + lVar3 = *(longlong *)(*(longlong *)(param_1 + 0x20) + 0xc80); + if ((lVar3 != 0) && (puVar9 = *(uint **)(lVar3 + uVar6 * 8), puVar9 != (uint *)0x0)) { + while (uVar2 = puVar9[8], (int)uVar6 == (int)((ulonglong)uVar2 % uVar12)) { + if (*puVar9 == param_2) { + lVar3 = *(longlong *)(puVar9 + 2); + if ((lVar3 != 0) && (*(longlong *)(lVar3 + 0x228) == 0)) { + *(undefined1 *)(lVar3 + 0x701) = 0; + if (*param_4 == '\0') { + if (*(longlong *)(*(longlong *)(param_1 + 0x20) + 0x17f0) != 0) { + FUN_14003e7c0(puVar9,(ulonglong)uVar2 % uVar12,uVar6,uVar12); + local_res8 = (short *)PTR_DAT_14016f010; + uVar6 = 0; + if (*(longlong *)(lVar3 + 0x740) != 0) { + uVar6 = *(ulonglong *)(*(longlong *)(lVar3 + 0x740) + 8); + piVar5 = local_38; + } + uVar6 = uVar6 & 0xffffffff; + FUN_140029b80((longlong *)&local_res8, + L"클라이언트의 udp socket 생성실패. HostID=%d, udpSocketRefCount=%d" + ,(ulonglong)*(uint *)(lVar3 + 0x6f8),uVar6); + psVar4 = local_res8; + psVar11 = local_res8; + if (local_res8 == (short *)0x0) { + psVar11 = (short *)PTR_DAT_14016f010; + } + uVar8 = 0; + lVar10 = *(longlong *)(*(longlong *)(param_1 + 0x20) + 0x17f0); + FUN_1400843d0(lVar10,0,psVar11,uVar6); + if (((psVar4 != (short *)0x0) && (psVar4 != (short *)PTR_DAT_14016f010)) && + (psVar4 + -4 != (short *)0x0)) { + piVar7 = (int *)FUN_14003e7c0(lVar10,uVar8,psVar11,uVar6); + local_28 = piVar7; + FUN_14003d040(piVar7); + local_20 = 1; + piVar1 = (int *)(psVar4 + -2); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(psVar4 + -4); + } + FUN_14003d0d0((longlong)piVar7); + } + } + *(undefined1 *)(lVar3 + 0x700) = 0; + *(undefined1 *)(lVar3 + 0x702) = 1; + local_48[0] = 0; + FUN_14009d860((longlong *)(lVar3 + 0x740),local_48); + } + else { + FUN_14005a980(*(undefined8 *)(param_1 + 0x20),lVar3,uVar6,uVar12); + } + } + break; + } + puVar9 = *(uint **)(puVar9 + 4); + if (puVar9 == (uint *)0x0) break; + } + } + uVar8 = FUN_14003d0d0((longlong)piVar5); + return CONCAT71((int7)((ulonglong)uVar8 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14005c220.c b/decomp/AgentManager_Release_x64/full/functions/0x14005c220.c new file mode 100644 index 00000000..4f5ef96b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14005c220.c @@ -0,0 +1,74 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14005c220 FUN_14005c220 + * Pseudocode, not original source. */ + +void FUN_14005c220(longlong param_1,LPVOID param_2) + +{ + ushort uVar1; + uint uVar2; + longlong *plVar3; + uint *puVar4; + longlong lVar5; + LPVOID pvVar6; + LPVOID pvVar7; + LPVOID pvVar8; + ulonglong uVar9; + ulonglong uVar10; + undefined8 uVar11; + + uVar1 = *(ushort *)((longlong)param_2 + 0x714); + uVar10 = (ulonglong)uVar1; + uVar2 = *(uint *)((longlong)param_2 + 0x710); + uVar9 = (ulonglong)uVar2; + pvVar6 = (LPVOID)((ulonglong)(uVar1 ^ uVar2) % (ulonglong)*(uint *)(param_1 + 0x3b0)); + pvVar8 = pvVar6; + if (*(longlong *)(param_1 + 0x390) != 0) { + pvVar7 = *(LPVOID *)(*(longlong *)(param_1 + 0x390) + (longlong)pvVar6 * 8); + while( true ) { + if ((pvVar7 == (LPVOID)0x0) || + (pvVar8 = (LPVOID)((ulonglong)*(uint *)((longlong)pvVar7 + 0x28) % + (ulonglong)*(uint *)(param_1 + 0x3b0)), (int)pvVar6 != (int)pvVar8)) + goto LAB_14005c2b8; + if ((*(uint *)((longlong)pvVar7 + 8) == uVar2) && + (*(ushort *)((longlong)pvVar7 + 0xc) == uVar1)) break; + pvVar7 = *(LPVOID *)((longlong)pvVar7 + 0x18); + } + uVar9 = 0; + FUN_14008cf20((char *)(param_1 + 0x388),pvVar7,'\0'); + pvVar8 = pvVar7; + } +LAB_14005c2b8: + if (*(longlong **)((longlong)param_2 + 0x120) != (longlong *)0x0) { + pvVar8 = param_2; + FUN_14004a9c0(*(longlong **)((longlong)param_2 + 0x120),(longlong)param_2,uVar9,uVar10); + } + plVar3 = *(longlong **)(*(longlong *)((longlong)param_2 + 0x748) + 0x110); + if (plVar3 != (longlong *)0x0) { + FUN_140043a50(plVar3,pvVar8,uVar9,uVar10); + } + if ((*(longlong **)((longlong)param_2 + 0x740) != (longlong *)0x0) && + (**(longlong **)((longlong)param_2 + 0x740) != 0)) { + FUN_140092a20((longlong)param_2 + 0x700); + } + FUN_1400511f0((char *)(param_1 + 0x16e8),*(longlong *)((longlong)param_2 + 0x748) + 0x128,'\0'); + uVar9 = (ulonglong)*(uint *)((longlong)param_2 + 0x6f8) % (ulonglong)*(uint *)(param_1 + 0xca0); + if (*(longlong *)(param_1 + 0xc80) != 0) { + puVar4 = *(uint **)(*(longlong *)(param_1 + 0xc80) + uVar9 * 8); + while( true ) { + if ((puVar4 == (uint *)0x0) || ((uint)uVar9 != puVar4[8] % *(uint *)(param_1 + 0xca0))) + goto LAB_14005c380; + if (*puVar4 == *(uint *)((longlong)param_2 + 0x6f8)) break; + puVar4 = *(uint **)(puVar4 + 4); + } + FUN_14009d050((char *)(param_1 + 0xc78),puVar4,'\0'); + } +LAB_14005c380: + plVar3 = *(longlong **)(param_1 + 0x478); + lVar5 = *plVar3; + uVar11 = (**(code **)(*(longlong *)(param_1 + 0x118) + 8))(); + (**(code **)(lVar5 + 0x10))(plVar3,uVar11); + FUN_1400511f0((char *)(param_1 + 0x388),(longlong)param_2 + 0x708,'\0'); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14005c3e0.c b/decomp/AgentManager_Release_x64/full/functions/0x14005c3e0.c new file mode 100644 index 00000000..9f9711d4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14005c3e0.c @@ -0,0 +1,94 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14005c3e0 FUN_14005c3e0 + * Pseudocode, not original source. */ + +void FUN_14005c3e0(longlong param_1,uint *param_2,longlong param_3,TypeDescriptor *param_4) + +{ + int *piVar1; + short *psVar2; + longlong *plVar3; + int *piVar4; + short **ppsVar5; + longlong lVar6; + uint *puVar7; + undefined *puVar8; + undefined8 uVar9; + longlong lVar10; + ulonglong uVar11; + short *psVar12; + undefined *puVar13; + short *local_res10; + undefined *local_res18; + + if ((char)param_2[0x1c0] != '\0') { + *(undefined1 *)(param_2 + 0x1c0) = 0; + lVar6 = param_1; + puVar7 = param_2; + if (*(longlong *)(param_2 + 0x1a) == 0) { + lVar10 = 0; + } + else { + lVar10 = *(longlong *)(param_2 + 0x16); + } + for (; lVar10 != 0; lVar10 = *(longlong *)(lVar10 + 0x10)) { + if (*(undefined8 **)(lVar10 + 8) == (undefined8 *)0x0) { + puVar7 = (uint *)0x0; + } + else { + puVar7 = (uint *)**(undefined8 **)(lVar10 + 8); + } + lVar6 = param_1; + FUN_140059c20(param_1,puVar7,param_3,param_4); + } + if (*(longlong *)(param_1 + 0x17f0) != 0) { + FUN_14003e7c0(lVar6,puVar7,param_3,param_4); + local_res10 = (short *)PTR_DAT_14016f010; + plVar3 = (longlong *) + (*(code *)**(undefined8 **)(*(longlong *)(param_2 + 0x1d2) + 0x128)) + ((undefined8 *)(*(longlong *)(param_2 + 0x1d2) + 0x128),&local_res18); + puVar13 = (undefined *)*plVar3; + if ((undefined *)*plVar3 == (undefined *)0x0) { + puVar13 = PTR_DAT_14016f010; + } + uVar11 = (ulonglong)param_2[0x1be]; + puVar8 = &DAT_14010c370; + ppsVar5 = &local_res10; + FUN_140029b80((longlong *)ppsVar5, + L"Client %d가 서버와의 UDP 홀펀칭 중도 해제: Client local Addr=%s", + uVar11,puVar13); + if (((local_res18 != (undefined *)0x0) && (local_res18 != PTR_DAT_14016f010)) && + (local_res18 + -8 != (undefined *)0x0)) { + piVar4 = (int *)FUN_14003e7c0(ppsVar5,puVar8,uVar11,puVar13); + FUN_14003d040(piVar4); + piVar1 = (int *)(local_res18 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(local_res18 + -8); + } + FUN_14003d0d0((longlong)piVar4); + } + psVar2 = local_res10; + psVar12 = local_res10; + if (local_res10 == (short *)0x0) { + psVar12 = (short *)PTR_DAT_14016f010; + } + uVar9 = 1; + lVar6 = *(longlong *)(param_1 + 0x17f0); + FUN_1400843d0(lVar6,1,psVar12,puVar13); + if (((psVar2 != (short *)0x0) && (psVar2 != (short *)PTR_DAT_14016f010)) && + (psVar2 + -4 != (short *)0x0)) { + piVar4 = (int *)FUN_14003e7c0(lVar6,uVar9,psVar12,puVar13); + FUN_14003d040(piVar4); + piVar1 = (int *)(psVar2 + -2); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(psVar2 + -4); + } + FUN_14003d0d0((longlong)piVar4); + } + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14005c570.c b/decomp/AgentManager_Release_x64/full/functions/0x14005c570.c new file mode 100644 index 00000000..93f3f0cb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14005c570.c @@ -0,0 +1,129 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14005c570 FUN_14005c570 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_14005c570(undefined8 param_1,longlong param_2,SIZE_T param_3,undefined8 param_4) + +{ + uint uVar1; + int *piVar2; + longlong lVar3; + undefined8 uVar4; + undefined8 *puVar5; + SIZE_T SVar6; + longlong **pplVar7; + undefined1 auStack_d78 [32]; + int local_d58 [2]; + longlong local_d50; + longlong local_d48; + undefined4 local_d40; + int local_d3c; + longlong *local_d30; + undefined1 uStack_d28; + undefined3 uStack_d27; + undefined4 uStack_d24; + int *local_d20; + undefined1 local_d18; + undefined8 local_d10; + exception local_d08 [80]; + longlong local_cb8; + undefined8 uStack_cb0; + longlong *local_38; + undefined4 local_30; + int local_2c; + ulonglong local_28; + + local_d10 = 0xfffffffffffffffe; + local_28 = DAT_14016f5a0 ^ (ulonglong)auStack_d78; + lVar3 = param_2; + SVar6 = param_3; + FUN_140074fb0(local_d58); + FUN_140074a40((longlong)local_d58,lVar3,SVar6,param_4); + FUN_140075110(local_d58,0x800,SVar6,param_4); + uVar4 = 0; + FUN_140075110(local_d58,0,SVar6,param_4); + FUN_140029d80((longlong)local_d58,CONCAT71((int7)((ulonglong)uVar4 >> 8),9),SVar6,param_4); + uVar1 = *(uint *)(param_3 + 0x18); + FUN_140076380((longlong)local_d58,(longlong)(int)uVar1,SVar6,param_4); + if (*(int *)(param_3 + 0x18) == 0) { + puVar5 = (undefined8 *)0x0; + } + else { + puVar5 = *(undefined8 **)(param_3 + 0x10); + } + if (uVar1 == 0) goto LAB_14005c660; + local_d58[1] = 0; + if (local_d50 == 0) { + if (local_d48 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,puVar5,SVar6,param_4); + } +LAB_14005c632: + SVar6 = (SIZE_T)uVar1; + FUN_140029f40(&local_d48,puVar5,SVar6,param_4); + } + else { + if (local_d48 != 0) goto LAB_14005c632; + if (local_d50 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,puVar5,SVar6,param_4); + } + SVar6 = (SIZE_T)uVar1; + FUN_14002a110(local_d50,puVar5,SVar6); + } + FUN_14002a180((longlong)local_d58,puVar5,SVar6,param_4); +LAB_14005c660: + piVar2 = (int *)(**(code **)(*(longlong *)(param_2 + 0x108) + 0x10))(); + local_d20 = piVar2; + FUN_14003d040(piVar2); + local_d18 = 1; + local_2c = 200; + local_30 = 0; + local_38 = &local_cb8; + if (local_d50 == 0) { + if (local_d48 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,0,SVar6,param_4); + } + } + else { + local_d40 = *(undefined4 *)(local_d50 + 0x18); + } + local_cb8 = local_d48; + if (local_d48 == 0) { + if (local_d50 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,0,SVar6,param_4); + } + if (*(int *)(local_d50 + 0x18) != 0) { + local_cb8 = *(longlong *)(local_d50 + 0x10); + } + } + local_30 = 1; + uStack_cb0 = CONCAT44(uStack_d24,local_d40); + local_d30 = (longlong *)0x0; + _uStack_d28 = CONCAT31((int3)((uint)local_d40 >> 8),1); + pplVar7 = &local_d30; + FUN_140091090(*(char **)(param_2 + 0x748),(longlong)&local_cb8,(SIZE_T *)pplVar7,param_4); + if (local_38 == (longlong *)0x0) { + FUN_14003db10(local_d08,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,pplVar7, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_d08,(ThrowInfo *)&DAT_14016c210); + } + if (local_2c < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + FUN_14003d0d0((longlong)piVar2); + local_d30 = &local_d50; + FUN_14008a320(&local_d50); + if ((local_d48 != 0) && (local_d3c < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14005c7c0.c b/decomp/AgentManager_Release_x64/full/functions/0x14005c7c0.c new file mode 100644 index 00000000..540614bc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14005c7c0.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14005c7c0 FUN_14005c7c0 + * Pseudocode, not original source. */ + +void FUN_14005c7c0(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + double dVar1; + + if (0 < *(int *)(param_1 + 0x1840)) { + dVar1 = (double)(**(code **)(*(longlong *)(param_1 + 0x118) + 8))(); + if (30.0 < dVar1 - *(double *)(param_1 + 0x1810)) { + FUN_14005a330(param_1,param_2,param_3,param_4); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14005c800.c b/decomp/AgentManager_Release_x64/full/functions/0x14005c800.c new file mode 100644 index 00000000..00e5eee9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14005c800.c @@ -0,0 +1,95 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14005c800 FUN_14005c800 + * Pseudocode, not original source. */ + +ulonglong * FUN_14005c800(ulonglong *param_1,undefined8 param_2,undefined8 param_3,longlong param_4) + +{ + longlong *plVar1; + int iVar2; + undefined1 *puVar3; + int *piVar4; + ulonglong uVar5; + int **ppiVar6; + undefined1 uVar7; + undefined7 uVar8; + bool bVar9; + int *local_res10; + + uVar7 = (undefined1)param_3; + uVar8 = (undefined7)((ulonglong)param_3 >> 8); + LOCK(); + bVar9 = DAT_140178180 == 0; + if (bVar9) { + DAT_140178180 = 1; + } + UNLOCK(); + if (bVar9) { + puVar3 = operator_new(0xc0); + if (puVar3 == (undefined1 *)0x0) { + puVar3 = (undefined1 *)0x0; + } + else { + puVar3 = FUN_140085b30(puVar3,param_2,CONCAT71(uVar8,uVar7),param_4); + } + if (puVar3 == (undefined1 *)0x0) { + piVar4 = (int *)0x0; + local_res10 = (int *)0x0; + } + else { + piVar4 = (int *)FUN_14003e840(0x48); + if (piVar4 != (int *)0x0) { + local_res10 = piVar4; + uVar5 = FUN_140094860(); + uVar7 = 1; + FUN_14003cf60(piVar4,uVar5 & 0xffffffff,CONCAT71(uVar8,1),param_4); + } + local_res10 = piVar4; + FUN_14003d040(piVar4); + piVar4[0x10] = 1; + piVar4[0x11] = 0; + *(undefined1 **)(piVar4 + 0xe) = puVar3; + FUN_14003d0d0((longlong)piVar4); + } + ppiVar6 = &local_res10; + FUN_140051320(&DAT_140178188,(ulonglong *)ppiVar6,CONCAT71(uVar8,uVar7),param_4); + if (piVar4 != (int *)0x0) { + FUN_14003d040(piVar4); + plVar1 = (longlong *)(piVar4 + 0x10); + *plVar1 = *plVar1 + -1; + if (*plVar1 == 0) { + FUN_14003d0d0((longlong)piVar4); + FUN_14004e4b0(piVar4,ppiVar6,CONCAT71(uVar8,uVar7),param_4); + } + else { + FUN_14003d0d0((longlong)piVar4); + } + } + LOCK(); + UNLOCK(); + DAT_140178180 = 2; + } + else { + LOCK(); + iVar2 = DAT_140178180; + if (DAT_140178180 == 9999) { + DAT_140178180 = 999; + iVar2 = 9999; + } + UNLOCK(); + while (iVar2 != 2) { + Sleep(5); + LOCK(); + iVar2 = DAT_140178180; + if (DAT_140178180 == 9999) { + DAT_140178180 = 999; + iVar2 = 9999; + } + UNLOCK(); + } + } + *param_1 = 0; + FUN_140051320(param_1,&DAT_140178188,CONCAT71(uVar8,uVar7),param_4); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14005c990.c b/decomp/AgentManager_Release_x64/full/functions/0x14005c990.c new file mode 100644 index 00000000..b5c4fa35 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14005c990.c @@ -0,0 +1,42 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14005c990 FUN_14005c990 + * Pseudocode, not original source. */ + +void FUN_14005c990(char *param_1,LPVOID param_2,char param_3) + +{ + longlong *plVar1; + undefined8 *puVar2; + uint uVar3; + + if (param_2 == (LPVOID)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + if ((*(longlong *)((longlong)param_2 + 0x10) != 0) && + (*(longlong *)(*(longlong *)((longlong)param_2 + 0x10) + 8) = + *(longlong *)(*(longlong *)((longlong)param_2 + 0x10) + 8) + -1, + *(longlong *)(*(longlong *)((longlong)param_2 + 0x10) + 8) == 0)) { + plVar1 = *(longlong **)((longlong)param_2 + 0x10); + puVar2 = (undefined8 *)*plVar1; + if (puVar2 != (undefined8 *)0x0) { + (**(code **)*puVar2)(puVar2,1); + } + FUN_14003e8b0(plVar1); + } + plVar1 = *(longlong **)(param_1 + 0x50); + if (plVar1 == (longlong *)0x0) { + FUN_14003e8b0(param_2); + } + else { + (**(code **)(*plVar1 + 0x18))(plVar1,param_2); + } + *(longlong *)(param_1 + 0x20) = *(longlong *)(param_1 + 0x20) + -1; + if (((param_3 != '\0') && (*(ulonglong *)(param_1 + 0x20) < *(ulonglong *)(param_1 + 0x40))) && + (*(int *)(param_1 + 0x48) == 0)) { + uVar3 = FUN_14009b970((longlong)param_1,*(ulonglong *)(param_1 + 0x20)); + FUN_14004cdb0(param_1,uVar3); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14005ca60.c b/decomp/AgentManager_Release_x64/full/functions/0x14005ca60.c new file mode 100644 index 00000000..83d0c161 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14005ca60.c @@ -0,0 +1,72 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14005ca60 FUN_14005ca60 + * Pseudocode, not original source. */ + +undefined8 * FUN_14005ca60(char *param_1,longlong param_2,uint param_3,undefined4 param_4) + +{ + longlong *plVar1; + longlong lVar2; + uint uVar3; + undefined8 *puVar4; + + plVar1 = *(longlong **)(param_1 + 0x50); + if (plVar1 == (longlong *)0x0) { + puVar4 = (undefined8 *)FUN_14003e840(0x30); + } + else { + puVar4 = (undefined8 *) + (**(code **)(*plVar1 + 8))(plVar1,0x30,param_3,param_4,0xfffffffffffffffe); + } + if (puVar4 != (undefined8 *)0x0) { + *puVar4 = Proud::AddrPort::vftable; + *(undefined4 *)(puVar4 + 1) = *(undefined4 *)(param_2 + 8); + *(undefined2 *)((longlong)puVar4 + 0xc) = *(undefined2 *)(param_2 + 0xc); + puVar4[2] = 0; + *(undefined4 *)(puVar4 + 5) = param_4; + } + lVar2 = *(longlong *)(*(longlong *)(param_1 + 8) + (ulonglong)param_3 * 8); + FUN_14004c730(param_1); + if (*(longlong *)(param_1 + 0x20) == 0) { + *(undefined8 **)(param_1 + 0x10) = puVar4; + *(undefined8 **)(param_1 + 0x18) = puVar4; + puVar4[4] = 0; + puVar4[3] = 0; + } + else { + FUN_14004c730(param_1); + FUN_14004c730(param_1); + if (lVar2 == 0) { + lVar2 = *(longlong *)(param_1 + 0x10); + puVar4[4] = 0; + puVar4[3] = lVar2; + if (lVar2 != 0) { + *(undefined8 **)(lVar2 + 0x20) = puVar4; + } + *(undefined8 **)(param_1 + 0x10) = puVar4; + } + else { + if (*(longlong *)(lVar2 + 0x20) == 0) { + *(undefined8 **)(param_1 + 0x10) = puVar4; + } + else { + *(undefined8 **)(*(longlong *)(lVar2 + 0x20) + 0x18) = puVar4; + } + puVar4[4] = *(undefined8 *)(lVar2 + 0x20); + puVar4[3] = lVar2; + *(undefined8 **)(lVar2 + 0x20) = puVar4; + } + } + *(undefined8 **)(*(longlong *)(param_1 + 8) + (ulonglong)param_3 * 8) = puVar4; + *(longlong *)(param_1 + 0x20) = *(longlong *)(param_1 + 0x20) + 1; + FUN_14004c730(param_1); + FUN_14004c730(param_1); + if ((*(ulonglong *)(param_1 + 0x38) < *(ulonglong *)(param_1 + 0x20)) && + (*(int *)(param_1 + 0x48) == 0)) { + uVar3 = FUN_14009b970((longlong)param_1,*(ulonglong *)(param_1 + 0x20)); + FUN_14004cdb0(param_1,uVar3); + } + FUN_14004c730(param_1); + return puVar4; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14005cbc0.c b/decomp/AgentManager_Release_x64/full/functions/0x14005cbc0.c new file mode 100644 index 00000000..a7f14ce4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14005cbc0.c @@ -0,0 +1,32 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14005cbc0 FUN_14005cbc0 + * Pseudocode, not original source. */ + +void FUN_14005cbc0(longlong *param_1,longlong param_2) + +{ + undefined8 *puVar1; + undefined8 *puVar2; + int iVar3; + + if (0 < param_2) { + iVar3 = 0; + do { + if ((*param_1 != 0) && + (*(longlong *)(*param_1 + 8) = *(longlong *)(*param_1 + 8) + -1, + *(longlong *)(*param_1 + 8) == 0)) { + puVar1 = (undefined8 *)*param_1; + puVar2 = (undefined8 *)*puVar1; + if (puVar2 != (undefined8 *)0x0) { + FUN_140045c30(puVar2); + operator_delete(puVar2); + } + FUN_14003e8b0(puVar1); + } + iVar3 = iVar3 + 1; + param_1 = param_1 + 1; + } while (iVar3 < param_2); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14005cc60.c b/decomp/AgentManager_Release_x64/full/functions/0x14005cc60.c new file mode 100644 index 00000000..e874cbe7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14005cc60.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14005cc60 FUN_14005cc60 + * Pseudocode, not original source. */ + +longlong * FUN_14005cc60(longlong *param_1,longlong *param_2,undefined4 param_3) + +{ + undefined8 *puVar1; + + puVar1 = (undefined8 *)0x0; + *param_1 = 0; + if (*param_2 != 0) { + *(longlong *)(*param_2 + 8) = *(longlong *)(*param_2 + 8) + 1; + if ((*param_1 != 0) && + (*(longlong *)(*param_1 + 8) = *(longlong *)(*param_1 + 8) + -1, + *(longlong *)(*param_1 + 8) == 0)) { + puVar1 = (undefined8 *)*param_1; + } + *param_1 = *param_2; + if (puVar1 != (undefined8 *)0x0) { + FUN_14004e450(puVar1); + } + *(undefined4 *)(param_1 + 4) = param_3; + return param_1; + } + *(undefined4 *)(param_1 + 4) = param_3; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14005ccf0.c b/decomp/AgentManager_Release_x64/full/functions/0x14005ccf0.c new file mode 100644 index 00000000..80363aa9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14005ccf0.c @@ -0,0 +1,298 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14005ccf0 FUN_14005ccf0 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x00014005d387) */ +/* WARNING: Removing unreachable block (ram,0x00014005d38f) */ +/* WARNING: Removing unreachable block (ram,0x00014005d393) */ +/* WARNING: Removing unreachable block (ram,0x00014005d39d) */ + +void FUN_14005ccf0(longlong param_1,int param_2,int param_3) + +{ + double *pdVar1; + int *piVar2; + double dVar3; + int iVar4; + undefined8 uVar5; + undefined8 uVar6; + undefined8 uVar7; + longlong *plVar8; + longlong lVar9; + void *pvVar10; + ulonglong uVar11; + int iVar12; + longlong lVar13; + ulonglong uVar14; + int iVar15; + longlong lVar16; + longlong lVar17; + int local_res10 [2]; + int local_res18 [2]; + char *local_res20; + longlong *local_138; + void *local_130; + ulonglong local_128; + longlong local_120; + longlong local_118; + longlong *local_108; + undefined **local_100 [3]; + undefined **local_e8 [3]; + undefined8 local_d0; + undefined8 local_c8; + undefined8 local_c0; + undefined **local_b8 [3]; + undefined8 local_a0; + undefined **local_98 [3]; + undefined **local_80 [3]; + undefined8 local_68 [3]; + undefined8 local_50 [3]; + + local_a0 = 0xfffffffffffffffe; + if (1 < param_2 - param_3) { + std::_Container_base12::_Container_base12((_Container_base12 *)&local_138); + local_138 = operator_new(0x10); + if (local_138 == (longlong *)0x0) { + local_108 = local_138; + std::exception::exception((exception *)local_e8,(char **)&local_108); + local_e8[0] = std::bad_alloc::vftable; + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_e8,(ThrowInfo *)&DAT_14016c158); + } + *local_138 = 0; + local_138[1] = 0; + *local_138 = (longlong)&local_138; + local_130 = (void *)0x0; + local_128 = 0; + local_120 = 0; + local_118 = 0; + local_res18[0] = param_2 + -1; + local_res10[0] = param_3; + FUN_140051a40((_Container_base12 *)&local_138,local_res10); + FUN_140051a40((_Container_base12 *)&local_138,local_res18); + lVar13 = local_118; + while (lVar16 = 0, uVar11 = local_128, lVar13 != 0) { + plVar8 = FUN_14004ea90(&local_138,&local_d0); + plVar8 = FUN_140051b30(plVar8,local_68,1); + lVar17 = lVar16; + if ((longlong *)*plVar8 != (longlong *)0x0) { + lVar17 = *(longlong *)*plVar8; + } + uVar11 = (ulonglong)plVar8[2] >> 2; + if (*(ulonglong *)(lVar17 + 0x10) <= uVar11) { + uVar11 = uVar11 - *(ulonglong *)(lVar17 + 0x10); + } + local_res10[0] = + *(int *)(*(longlong *)(*(longlong *)(lVar17 + 8) + uVar11 * 8) + + (ulonglong)((uint)plVar8[2] & 3) * 4); + if ((lVar13 != 0) && (lVar13 = lVar13 + -1, local_118 = lVar13, lVar13 == 0)) { + local_120 = lVar16; + } + plVar8 = FUN_14004ea90(&local_138,local_68); + plVar8 = FUN_140051b30(plVar8,local_50,1); + lVar17 = lVar16; + if ((longlong *)*plVar8 != (longlong *)0x0) { + lVar17 = *(longlong *)*plVar8; + } + uVar11 = (ulonglong)plVar8[2] >> 2; + if (*(ulonglong *)(lVar17 + 0x10) <= uVar11) { + uVar11 = uVar11 - *(ulonglong *)(lVar17 + 0x10); + } + iVar4 = *(int *)(*(longlong *)(*(longlong *)(lVar17 + 8) + uVar11 * 8) + + (ulonglong)((uint)plVar8[2] & 3) * 4); + lVar17 = (longlong)iVar4; + if ((lVar13 != 0) && (lVar13 = lVar13 + -1, local_118 = lVar13, lVar13 == 0)) { + local_120 = lVar16; + } + iVar15 = iVar4 + 1; + lVar16 = *(longlong *)(param_1 + lVar17 * 0x18); + local_c8 = *(undefined8 *)(param_1 + 8 + lVar17 * 0x18); + local_c0 = *(undefined8 *)(param_1 + 0x10 + lVar17 * 0x18); + if (iVar15 <= local_res10[0]) { + iVar12 = local_res10[0]; + if ((iVar15 < local_res10[0]) && (lVar13 = local_118, iVar15 <= local_res10[0])) { + do { + dVar3 = *(double *)(lVar16 + 0x188); + while (*(double *)(*(longlong *)(param_1 + (longlong)iVar15 * 0x18) + 0x188) <= dVar3) { + iVar15 = iVar15 + 1; + lVar13 = local_118; + if (iVar12 < iVar15) goto LAB_14005cf78; + } + while( true ) { + lVar13 = local_118; + if (iVar12 < iVar15) goto LAB_14005cf78; + if (*(double *)(*(longlong *)(param_1 + (longlong)iVar12 * 0x18) + 0x188) < dVar3) + break; + iVar12 = iVar12 + -1; + } + if (iVar12 < iVar15) break; + lVar13 = (longlong)iVar12; + lVar9 = (longlong)iVar15; + uVar6 = *(undefined8 *)(param_1 + lVar9 * 0x18); + uVar7 = *(undefined8 *)(param_1 + 8 + lVar9 * 0x18); + uVar5 = *(undefined8 *)(param_1 + 0x10 + lVar9 * 0x18); + *(undefined8 *)(param_1 + lVar9 * 0x18) = *(undefined8 *)(param_1 + lVar13 * 0x18); + *(undefined8 *)(param_1 + 8 + lVar9 * 0x18) = + *(undefined8 *)(param_1 + 8 + lVar13 * 0x18); + *(undefined8 *)(param_1 + 0x10 + lVar9 * 0x18) = + *(undefined8 *)(param_1 + 0x10 + lVar13 * 0x18); + *(undefined8 *)(param_1 + lVar13 * 0x18) = uVar6; + *(undefined8 *)(param_1 + 8 + lVar13 * 0x18) = uVar7; + *(undefined8 *)(param_1 + 0x10 + lVar13 * 0x18) = uVar5; + lVar13 = local_118; + } while (iVar15 < iVar12); + } +LAB_14005cf78: + if (iVar4 <= iVar12) { + lVar9 = (longlong)iVar12; + lVar16 = *(longlong *)(param_1 + lVar17 * 0x18); + dVar3 = *(double *)(lVar16 + 0x188); + pdVar1 = (double *)(*(longlong *)(param_1 + lVar9 * 0x18) + 0x188); + if (*pdVar1 <= dVar3 && dVar3 != *pdVar1) { + uVar6 = *(undefined8 *)(param_1 + 8 + lVar17 * 0x18); + uVar7 = *(undefined8 *)(param_1 + 0x10 + lVar17 * 0x18); + *(undefined8 *)(param_1 + lVar17 * 0x18) = *(undefined8 *)(param_1 + lVar9 * 0x18); + *(undefined8 *)(param_1 + 8 + lVar17 * 0x18) = + *(undefined8 *)(param_1 + 8 + lVar9 * 0x18); + *(undefined8 *)(param_1 + 0x10 + lVar17 * 0x18) = + *(undefined8 *)(param_1 + 0x10 + lVar9 * 0x18); + *(longlong *)(param_1 + lVar9 * 0x18) = lVar16; + *(undefined8 *)(param_1 + 8 + lVar9 * 0x18) = uVar6; + *(undefined8 *)(param_1 + 0x10 + lVar9 * 0x18) = uVar7; + lVar13 = local_118; + } + if (iVar4 < iVar12) { + std::_Container_base12::_Orphan_all((_Container_base12 *)&local_138); + if ((((int)local_120 + (int)local_118 & 3U) == 0) && (local_128 <= local_118 + 4U >> 2)) + { + FUN_14004eab0((longlong)&local_138,1); + } + uVar11 = local_118 + local_120; + uVar14 = uVar11 >> 2; + if (local_128 <= uVar14) { + uVar14 = uVar14 - local_128; + } + if (*(longlong *)((longlong)local_130 + uVar14 * 8) == 0) { + pvVar10 = operator_new(0x10); + if (pvVar10 == (void *)0x0) { + local_res20 = (char *)0x0; + std::exception::exception((exception *)local_98,&local_res20); + local_98[0] = std::bad_alloc::vftable; + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_98,(ThrowInfo *)&DAT_14016c158); + } + *(void **)((longlong)local_130 + uVar14 * 8) = pvVar10; + } + piVar2 = (int *)(*(longlong *)((longlong)local_130 + uVar14 * 8) + + (ulonglong)((uint)uVar11 & 3) * 4); + if (piVar2 != (int *)0x0) { + *piVar2 = iVar4; + } + local_118 = local_118 + 1; + std::_Container_base12::_Orphan_all((_Container_base12 *)&local_138); + if ((((char)local_118 + (char)local_120 & 3U) == 0) && + (local_128 <= local_118 + 4U >> 2)) { + FUN_14004eab0((longlong)&local_138,1); + } + uVar11 = local_118 + local_120; + uVar14 = uVar11 >> 2; + if (local_128 <= uVar14) { + uVar14 = uVar14 - local_128; + } + if (*(longlong *)((longlong)local_130 + uVar14 * 8) == 0) { + local_res20 = operator_new(0x10); + if (local_res20 == (char *)0x0) { + std::exception::exception((exception *)local_80,&local_res20); + local_80[0] = std::bad_alloc::vftable; + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_80,(ThrowInfo *)&DAT_14016c158); + } + *(char **)((longlong)local_130 + uVar14 * 8) = local_res20; + } + piVar2 = (int *)(*(longlong *)((longlong)local_130 + uVar14 * 8) + + (ulonglong)((uint)uVar11 & 3) * 4); + if (piVar2 != (int *)0x0) { + *piVar2 = iVar12 + -1; + } + lVar13 = local_118 + 1; + local_118 = lVar13; + } + } + iVar4 = local_res10[0]; + if (iVar12 < local_res10[0]) { + std::_Container_base12::_Orphan_all((_Container_base12 *)&local_138); + if ((((int)local_120 + (int)local_118 & 3U) == 0) && (local_128 <= local_118 + 4U >> 2)) { + FUN_14004eab0((longlong)&local_138,1); + } + uVar11 = local_118 + local_120; + uVar14 = uVar11 >> 2; + if (local_128 <= uVar14) { + uVar14 = uVar14 - local_128; + } + if (*(longlong *)((longlong)local_130 + uVar14 * 8) == 0) { + pvVar10 = operator_new(0x10); + if (pvVar10 == (void *)0x0) { + local_res20 = (char *)0x0; + std::exception::exception((exception *)local_b8,&local_res20); + local_b8[0] = std::bad_alloc::vftable; + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_b8,(ThrowInfo *)&DAT_14016c158); + } + *(void **)((longlong)local_130 + uVar14 * 8) = pvVar10; + } + piVar2 = (int *)(*(longlong *)((longlong)local_130 + uVar14 * 8) + + (ulonglong)((uint)uVar11 & 3) * 4); + if (piVar2 != (int *)0x0) { + *piVar2 = iVar12 + 1; + } + local_118 = local_118 + 1; + std::_Container_base12::_Orphan_all((_Container_base12 *)&local_138); + if ((((char)local_118 + (char)local_120 & 3U) == 0) && (local_128 <= local_118 + 4U >> 2)) + { + FUN_14004eab0((longlong)&local_138,1); + } + uVar11 = local_118 + local_120; + uVar14 = uVar11 >> 2; + if (local_128 <= uVar14) { + uVar14 = uVar14 - local_128; + } + if (*(longlong *)((longlong)local_130 + uVar14 * 8) == 0) { + pvVar10 = operator_new(0x10); + if (pvVar10 == (void *)0x0) { + local_res20 = (char *)0x0; + std::exception::exception((exception *)local_100,&local_res20); + local_100[0] = std::bad_alloc::vftable; + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_100,(ThrowInfo *)&DAT_14016c158); + } + *(void **)((longlong)local_130 + uVar14 * 8) = pvVar10; + } + piVar2 = (int *)(*(longlong *)((longlong)local_130 + uVar14 * 8) + + (ulonglong)((uint)uVar11 & 3) * 4); + if (piVar2 != (int *)0x0) { + *piVar2 = iVar4; + } + lVar13 = local_118 + 1; + local_118 = lVar13; + } + } + } + while (uVar11 != 0) { + uVar11 = uVar11 - 1; + if (*(longlong *)((longlong)local_130 + uVar11 * 8) != 0) { + operator_delete(*(void **)((longlong)local_130 + uVar11 * 8)); + } + } + if (local_130 != (void *)0x0) { + operator_delete(local_130); + } + local_128 = 0; + local_130 = (void *)0x0; + std::_Container_base12::_Orphan_all((_Container_base12 *)&local_138); + operator_delete(local_138); + local_138 = (longlong *)0x0; + std::_Container_base12::~_Container_base12((_Container_base12 *)&local_138); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14005d460.c b/decomp/AgentManager_Release_x64/full/functions/0x14005d460.c new file mode 100644 index 00000000..bc6dc6b4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14005d460.c @@ -0,0 +1,40 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14005d460 FUN_14005d460 + * Pseudocode, not original source. */ + +undefined8 FUN_14005d460(longlong param_1,uint param_2) + +{ + uint uVar1; + longlong lVar2; + ulonglong uVar3; + int *piVar4; + undefined8 uVar5; + uint *puVar6; + + piVar4 = (int *)(**(code **)(**(longlong **)(param_1 + 0x20) + 0x58))(); + FUN_14003d040(piVar4); + if (DAT_14017614f != '\0') { + (**(code **)(**(longlong **)(param_1 + 0x20) + 200))(); + } + lVar2 = *(longlong *)(param_1 + 0x20); + uVar1 = *(uint *)(lVar2 + 0xca0); + uVar3 = (ulonglong)param_2 % (ulonglong)uVar1; + if ((*(longlong *)(lVar2 + 0xc80) != 0) && + (puVar6 = *(uint **)(*(longlong *)(lVar2 + 0xc80) + uVar3 * 8), puVar6 != (uint *)0x0)) { + while ((uint)uVar3 == puVar6[8] % uVar1) { + if (*puVar6 == param_2) { + puVar6 = *(uint **)(puVar6 + 2); + if ((puVar6 != (uint *)0x0) && (*(longlong *)(puVar6 + 0x8a) == 0)) { + FUN_14005c3e0(lVar2,puVar6,uVar3,(TypeDescriptor *)(ulonglong)uVar1); + } + break; + } + puVar6 = *(uint **)(puVar6 + 4); + if (puVar6 == (uint *)0x0) break; + } + } + uVar5 = FUN_14003d0d0((longlong)piVar4); + return CONCAT71((int7)((ulonglong)uVar5 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14005d550.c b/decomp/AgentManager_Release_x64/full/functions/0x14005d550.c new file mode 100644 index 00000000..eef67a81 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14005d550.c @@ -0,0 +1,68 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14005d550 FUN_14005d550 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x00014005d5ee) */ + +longlong * FUN_14005d550(longlong param_1,longlong *param_2,uint param_3,uint param_4) + +{ + longlong *plVar1; + ulonglong uVar2; + uint *puVar3; + undefined8 *puVar4; + uint uVar5; + undefined8 *local_res8; + + puVar4 = (undefined8 *)0x0; + local_res8 = (undefined8 *)0x0; + uVar5 = param_3; + if ((int)param_4 < (int)param_3) { + uVar5 = param_4; + param_4 = param_3; + } + uVar2 = (ulonglong)(uVar5 << 0x10 ^ param_4) % (ulonglong)*(uint *)(param_1 + 0x28); + if (*(longlong *)(param_1 + 8) != 0) { + puVar3 = *(uint **)(*(longlong *)(param_1 + 8) + uVar2 * 8); + while( true ) { + if ((puVar3 == (uint *)0x0) || ((uint)uVar2 != puVar3[8] % *(uint *)(param_1 + 0x28))) + goto LAB_14005d683; + if ((*puVar3 == uVar5) && (puVar3[1] == param_4)) break; + puVar3 = *(uint **)(puVar3 + 4); + } + if (puVar3 != (uint *)0x0) { + if (*(longlong *)(puVar3 + 2) != 0) { + *(longlong *)(*(longlong *)(puVar3 + 2) + 8) = + *(longlong *)(*(longlong *)(puVar3 + 2) + 8) + 1; + local_res8 = *(undefined8 **)(puVar3 + 2); + } + *param_2 = 0; + if (local_res8 != (undefined8 *)0x0) { + local_res8[1] = local_res8[1] + 1; + if ((*param_2 != 0) && + (*(longlong *)(*param_2 + 8) = *(longlong *)(*param_2 + 8) + -1, + *(longlong *)(*param_2 + 8) == 0)) { + puVar4 = (undefined8 *)*param_2; + } + *param_2 = (longlong)local_res8; + if (puVar4 != (undefined8 *)0x0) { + FUN_14004e450(puVar4); + } + } + if (local_res8 == (undefined8 *)0x0) { + return param_2; + } + plVar1 = local_res8 + 1; + *plVar1 = *plVar1 + -1; + if (*plVar1 != 0) { + return param_2; + } + FUN_14004e450(local_res8); + return param_2; + } + } +LAB_14005d683: + *param_2 = 0; + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14005d6a0.c b/decomp/AgentManager_Release_x64/full/functions/0x14005d6a0.c new file mode 100644 index 00000000..f51b3b75 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14005d6a0.c @@ -0,0 +1,28 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14005d6a0 FUN_14005d6a0 + * Pseudocode, not original source. */ + +void FUN_14005d6a0(undefined8 *param_1) + +{ + LPVOID pvVar1; + longlong *plVar2; + + *param_1 = Proud::CFastArray,0>::vftable; + if (0 < *(int *)(param_1 + 3)) { + FUN_14005cbc0((longlong *)param_1[2],(longlong)*(int *)(param_1 + 3)); + } + pvVar1 = (LPVOID)param_1[2]; + if (pvVar1 != (LPVOID)0x0) { + plVar2 = (longlong *)param_1[1]; + if (plVar2 != (longlong *)0x0) { + /* WARNING: Could not recover jumptable at 0x00014005d6e7. Too many branches */ + /* WARNING: Treating indirect jump as call */ + (**(code **)(*plVar2 + 0x18))(plVar2,pvVar1); + return; + } + FUN_14003e8b0(pvVar1); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14005d700.c b/decomp/AgentManager_Release_x64/full/functions/0x14005d700.c new file mode 100644 index 00000000..2bbbcdb3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14005d700.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14005d700 FUN_14005d700 + * Pseudocode, not original source. */ + +undefined8 * FUN_14005d700(undefined8 *param_1,uint param_2) + +{ + LPVOID pvVar1; + longlong *plVar2; + + *param_1 = Proud::CFastArray,0>::vftable; + if (0 < *(int *)(param_1 + 3)) { + FUN_14005cbc0((longlong *)param_1[2],(longlong)*(int *)(param_1 + 3)); + } + pvVar1 = (LPVOID)param_1[2]; + if (pvVar1 != (LPVOID)0x0) { + plVar2 = (longlong *)param_1[1]; + if (plVar2 == (longlong *)0x0) { + FUN_14003e8b0(pvVar1); + } + else { + (**(code **)(*plVar2 + 0x18))(plVar2,pvVar1); + } + } + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14005d770.c b/decomp/AgentManager_Release_x64/full/functions/0x14005d770.c new file mode 100644 index 00000000..0f6d2759 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14005d770.c @@ -0,0 +1,58 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14005d770 FUN_14005d770 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x00014005d866) */ +/* WARNING: Removing unreachable block (ram,0x00014005d874) */ + +void FUN_14005d770(ulonglong *param_1,ulonglong *param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong *plVar1; + int *piVar2; + ulonglong *puVar3; + int *piVar4; + int *piVar5; + undefined4 *puVar6; + + piVar5 = (int *)*param_2; + piVar2 = (int *)*param_1; + if (piVar2 != piVar5) { + piVar4 = piVar2; + if (piVar5 < piVar2) { + piVar4 = piVar5; + piVar5 = piVar2; + } + puVar3 = param_2; + if (piVar4 != (int *)0x0) { + FUN_14003d040(piVar4); + } + if (piVar5 != (int *)0x0) { + FUN_14003d040(piVar5); + } + if (*param_2 != 0) { + plVar1 = (longlong *)(*param_2 + 0x40); + *plVar1 = *plVar1 + 1; + } + puVar6 = (undefined4 *)0x0; + if (*param_1 != 0) { + plVar1 = (longlong *)(*param_1 + 0x40); + *plVar1 = *plVar1 + -1; + if (*(longlong *)((undefined4 *)*param_1 + 0x10) == 0) { + puVar6 = (undefined4 *)*param_1; + } + } + *param_1 = *param_2; + if (piVar4 != (int *)0x0) { + FUN_14003d0d0((longlong)piVar4); + } + if (piVar5 != (int *)0x0) { + FUN_14003d0d0((longlong)piVar5); + } + if (puVar6 != (undefined4 *)0x0) { + FUN_140038210(puVar6,puVar3,param_3,param_4); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14005d8a0.c b/decomp/AgentManager_Release_x64/full/functions/0x14005d8a0.c new file mode 100644 index 00000000..5109d42e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14005d8a0.c @@ -0,0 +1,114 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14005d8a0 FUN_14005d8a0 + * Pseudocode, not original source. */ + +void FUN_14005d8a0(char *param_1) + +{ + LPVOID pvVar1; + longlong *plVar2; + undefined8 *puVar3; + LPVOID pvVar4; + uint uVar5; + ulonglong uVar6; + longlong lVar7; + longlong lVar8; + float fVar9; + float fVar10; + + *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + 1; + FUN_14004c730(param_1); + pvVar4 = *(LPVOID *)(param_1 + 0x10); + while (pvVar4 != (LPVOID)0x0) { + pvVar1 = *(LPVOID *)((longlong)pvVar4 + 0x18); + if ((*(longlong *)((longlong)pvVar4 + 0x10) != 0) && + (*(longlong *)(*(longlong *)((longlong)pvVar4 + 0x10) + 8) = + *(longlong *)(*(longlong *)((longlong)pvVar4 + 0x10) + 8) + -1, + *(longlong *)(*(longlong *)((longlong)pvVar4 + 0x10) + 8) == 0)) { + plVar2 = *(longlong **)((longlong)pvVar4 + 0x10); + puVar3 = (undefined8 *)*plVar2; + if (puVar3 != (undefined8 *)0x0) { + (**(code **)*puVar3)(puVar3,1); + } + FUN_14003e8b0(plVar2); + } + plVar2 = *(longlong **)(param_1 + 0x50); + if (plVar2 == (longlong *)0x0) { + FUN_14003e8b0(pvVar4); + } + else { + (**(code **)(*plVar2 + 0x18))(plVar2,pvVar4); + } + *(longlong *)(param_1 + 0x20) = *(longlong *)(param_1 + 0x20) + -1; + pvVar4 = pvVar1; + } + FUN_14003e8b0(*(LPVOID *)(param_1 + 8)); + param_1[8] = '\0'; + param_1[9] = '\0'; + param_1[10] = '\0'; + param_1[0xb] = '\0'; + param_1[0xc] = '\0'; + param_1[0xd] = '\0'; + param_1[0xe] = '\0'; + param_1[0xf] = '\0'; + param_1[0x20] = '\0'; + param_1[0x21] = '\0'; + param_1[0x22] = '\0'; + param_1[0x23] = '\0'; + param_1[0x24] = '\0'; + param_1[0x25] = '\0'; + param_1[0x26] = '\0'; + param_1[0x27] = '\0'; + param_1[0x10] = '\0'; + param_1[0x11] = '\0'; + param_1[0x12] = '\0'; + param_1[0x13] = '\0'; + param_1[0x14] = '\0'; + param_1[0x15] = '\0'; + param_1[0x16] = '\0'; + param_1[0x17] = '\0'; + param_1[0x18] = '\0'; + param_1[0x19] = '\0'; + param_1[0x1a] = '\0'; + param_1[0x1b] = '\0'; + param_1[0x1c] = '\0'; + param_1[0x1d] = '\0'; + param_1[0x1e] = '\0'; + param_1[0x1f] = '\0'; + FUN_14004c730(param_1); + if (*(int *)(param_1 + 0x48) == 0) { + uVar5 = FUN_14009b970((longlong)param_1,*(longlong *)(param_1 + 0x20)); + if (*(LPVOID *)(param_1 + 8) != (LPVOID)0x0) { + FUN_14003e8b0(*(LPVOID *)(param_1 + 8)); + param_1[8] = '\0'; + param_1[9] = '\0'; + param_1[10] = '\0'; + param_1[0xb] = '\0'; + param_1[0xc] = '\0'; + param_1[0xd] = '\0'; + param_1[0xe] = '\0'; + param_1[0xf] = '\0'; + } + lVar7 = 0; + *(uint *)(param_1 + 0x28) = uVar5; + fVar10 = (float)uVar5 * *(float *)(param_1 + 0x34); + if ((9.223372e+18 < fVar10) && (fVar10 = fVar10 - 9.223372e+18, fVar10 < 9.223372e+18)) { + lVar7 = -0x8000000000000000; + } + fVar9 = (float)uVar5 * *(float *)(param_1 + 0x30); + lVar8 = 0; + *(longlong *)(param_1 + 0x38) = (longlong)fVar10 + lVar7; + if ((9.223372e+18 < fVar9) && (fVar9 = fVar9 - 9.223372e+18, fVar9 < 9.223372e+18)) { + lVar8 = -0x8000000000000000; + } + uVar6 = (longlong)fVar9 + lVar8; + if ((ulonglong)((longlong)fVar9 + lVar8) < 0x11) { + uVar6 = 0; + } + *(ulonglong *)(param_1 + 0x40) = uVar6; + } + FUN_14004c730(param_1); + *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + -1; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14005da20.c b/decomp/AgentManager_Release_x64/full/functions/0x14005da20.c new file mode 100644 index 00000000..d22f7c33 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14005da20.c @@ -0,0 +1,36 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14005da20 FUN_14005da20 + * Pseudocode, not original source. */ + +void FUN_14005da20(char *param_1,LPVOID param_2,char param_3) + +{ + longlong *plVar1; + uint uVar2; + + if (param_2 == (LPVOID)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + if ((*(longlong *)((longlong)param_2 + 8) != 0) && + (*(longlong *)(*(longlong *)((longlong)param_2 + 8) + 8) = + *(longlong *)(*(longlong *)((longlong)param_2 + 8) + 8) + -1, + *(longlong *)(*(longlong *)((longlong)param_2 + 8) + 8) == 0)) { + FUN_14004e450(*(undefined8 **)((longlong)param_2 + 8)); + } + plVar1 = *(longlong **)(param_1 + 0x50); + if (plVar1 == (longlong *)0x0) { + FUN_14003e8b0(param_2); + } + else { + (**(code **)(*plVar1 + 0x18))(plVar1,param_2); + } + *(longlong *)(param_1 + 0x20) = *(longlong *)(param_1 + 0x20) + -1; + if (((param_3 != '\0') && (*(ulonglong *)(param_1 + 0x20) < *(ulonglong *)(param_1 + 0x40))) && + (*(int *)(param_1 + 0x48) == 0)) { + uVar2 = FUN_14009b970((longlong)param_1,*(ulonglong *)(param_1 + 0x20)); + FUN_1400c8de0(param_1,uVar2); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14005dad0.c b/decomp/AgentManager_Release_x64/full/functions/0x14005dad0.c new file mode 100644 index 00000000..a98e2e7b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14005dad0.c @@ -0,0 +1,70 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14005dad0 FUN_14005dad0 + * Pseudocode, not original source. */ + +void FUN_14005dad0(char *param_1,LPVOID param_2,char param_3) + +{ + uint uVar1; + ulonglong uVar2; + uint uVar3; + + if (param_2 == (LPVOID)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + uVar1 = *(uint *)(param_1 + 0x28); + uVar2 = (ulonglong)*(uint *)((longlong)param_2 + 0x20) % (ulonglong)uVar1; + if (*(longlong *)(param_1 + 0x20) == 1) { + *(undefined8 *)(*(longlong *)(param_1 + 8) + uVar2 * 8) = 0; + param_1[0x10] = '\0'; + param_1[0x11] = '\0'; + param_1[0x12] = '\0'; + param_1[0x13] = '\0'; + param_1[0x14] = '\0'; + param_1[0x15] = '\0'; + param_1[0x16] = '\0'; + param_1[0x17] = '\0'; + param_1[0x18] = '\0'; + param_1[0x19] = '\0'; + param_1[0x1a] = '\0'; + param_1[0x1b] = '\0'; + param_1[0x1c] = '\0'; + param_1[0x1d] = '\0'; + param_1[0x1e] = '\0'; + param_1[0x1f] = '\0'; + } + else { + uVar3 = (uint)uVar2; + if (((*(longlong *)((longlong)param_2 + 0x18) == 0) || + (*(uint *)(*(longlong *)((longlong)param_2 + 0x18) + 0x20) % uVar1 != uVar3)) && + ((*(longlong *)((longlong)param_2 + 0x10) == 0 || + (*(uint *)(*(longlong *)((longlong)param_2 + 0x10) + 0x20) % uVar1 != uVar3)))) { + *(undefined8 *)(*(longlong *)(param_1 + 8) + uVar2 * 8) = 0; + } + else if (param_2 == *(LPVOID *)(*(longlong *)(param_1 + 8) + (longlong)(int)uVar3 * 8)) { + *(undefined8 *)(*(longlong *)(param_1 + 8) + uVar2 * 8) = + *(undefined8 *)((longlong)param_2 + 0x10); + } + if (param_2 == *(LPVOID *)(param_1 + 0x10)) { + *(undefined8 *)(param_1 + 0x10) = *(undefined8 *)((longlong)param_2 + 0x10); + *(undefined8 *)((longlong)param_2 + 0x18) = 0; + } + if (param_2 == *(LPVOID *)(param_1 + 0x18)) { + *(undefined8 *)(param_1 + 0x18) = *(undefined8 *)((longlong)param_2 + 0x18); + *(undefined8 *)((longlong)param_2 + 0x10) = 0; + } + if (*(longlong *)((longlong)param_2 + 0x18) != 0) { + *(undefined8 *)(*(longlong *)((longlong)param_2 + 0x18) + 0x10) = + *(undefined8 *)((longlong)param_2 + 0x10); + } + if (*(longlong *)((longlong)param_2 + 0x10) != 0) { + *(undefined8 *)(*(longlong *)((longlong)param_2 + 0x10) + 0x18) = + *(undefined8 *)((longlong)param_2 + 0x18); + } + } + FUN_14005da20(param_1,param_2,param_3); + FUN_1400c8cb0(param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14005dbd0.c b/decomp/AgentManager_Release_x64/full/functions/0x14005dbd0.c new file mode 100644 index 00000000..c5878d37 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14005dbd0.c @@ -0,0 +1,23 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14005dbd0 FUN_14005dbd0 + * Pseudocode, not original source. */ + +undefined8 * FUN_14005dbd0(char *param_1,longlong param_2,uint param_3,undefined4 param_4) + +{ + undefined8 uVar1; + undefined8 *puVar2; + + if (*(longlong *)(param_1 + 8) == 0) { + uVar1 = FUN_14004c640((longlong)param_1,*(uint *)(param_1 + 0x28),'\x01'); + if ((char)uVar1 == '\0') { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x8007000e); + } + } + FUN_14004c730(param_1); + puVar2 = FUN_14005ca60(param_1,param_2,param_3,param_4); + FUN_14004c730(param_1); + return puVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14005dc50.c b/decomp/AgentManager_Release_x64/full/functions/0x14005dc50.c new file mode 100644 index 00000000..da045bfb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14005dc50.c @@ -0,0 +1,70 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14005dc50 FUN_14005dc50 + * Pseudocode, not original source. */ + +undefined8 * FUN_14005dc50(char *param_1,undefined8 *param_2,uint param_3,undefined4 param_4) + +{ + longlong *plVar1; + longlong lVar2; + uint uVar3; + undefined8 *puVar4; + + plVar1 = *(longlong **)(param_1 + 0x50); + if (plVar1 == (longlong *)0x0) { + puVar4 = (undefined8 *)FUN_14003e840(0x28); + } + else { + puVar4 = (undefined8 *) + (**(code **)(*plVar1 + 8))(plVar1,0x28,param_3,param_4,0xfffffffffffffffe); + } + if (puVar4 != (undefined8 *)0x0) { + *puVar4 = *param_2; + puVar4[1] = 0; + *(undefined4 *)(puVar4 + 4) = param_4; + } + lVar2 = *(longlong *)(*(longlong *)(param_1 + 8) + (ulonglong)param_3 * 8); + FUN_1400c8cb0(param_1); + if (*(longlong *)(param_1 + 0x20) == 0) { + *(undefined8 **)(param_1 + 0x10) = puVar4; + *(undefined8 **)(param_1 + 0x18) = puVar4; + puVar4[3] = 0; + puVar4[2] = 0; + } + else { + FUN_1400c8cb0(param_1); + FUN_1400c8cb0(param_1); + if (lVar2 == 0) { + lVar2 = *(longlong *)(param_1 + 0x10); + puVar4[3] = 0; + puVar4[2] = lVar2; + if (lVar2 != 0) { + *(undefined8 **)(lVar2 + 0x18) = puVar4; + } + *(undefined8 **)(param_1 + 0x10) = puVar4; + } + else { + if (*(longlong *)(lVar2 + 0x18) == 0) { + *(undefined8 **)(param_1 + 0x10) = puVar4; + } + else { + *(undefined8 **)(*(longlong *)(lVar2 + 0x18) + 0x10) = puVar4; + } + puVar4[3] = *(undefined8 *)(lVar2 + 0x18); + puVar4[2] = lVar2; + *(undefined8 **)(lVar2 + 0x18) = puVar4; + } + } + *(undefined8 **)(*(longlong *)(param_1 + 8) + (ulonglong)param_3 * 8) = puVar4; + *(longlong *)(param_1 + 0x20) = *(longlong *)(param_1 + 0x20) + 1; + FUN_1400c8cb0(param_1); + FUN_1400c8cb0(param_1); + if ((*(ulonglong *)(param_1 + 0x38) < *(ulonglong *)(param_1 + 0x20)) && + (*(int *)(param_1 + 0x48) == 0)) { + uVar3 = FUN_14009b970((longlong)param_1,*(ulonglong *)(param_1 + 0x20)); + FUN_1400c8de0(param_1,uVar3); + } + FUN_1400c8cb0(param_1); + return puVar4; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14005dda0.c b/decomp/AgentManager_Release_x64/full/functions/0x14005dda0.c new file mode 100644 index 00000000..bdac944d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14005dda0.c @@ -0,0 +1,35 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14005dda0 FUN_14005dda0 + * Pseudocode, not original source. */ + +void FUN_14005dda0(char *param_1,longlong *param_2,char param_3) + +{ + longlong *plVar1; + uint uVar2; + + if (param_2 == (longlong *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + if ((*param_2 != 0) && + (*(longlong *)(*param_2 + 8) = *(longlong *)(*param_2 + 8) + -1, + *(longlong *)(*param_2 + 8) == 0)) { + FUN_14004e450((undefined8 *)*param_2); + } + plVar1 = *(longlong **)(param_1 + 0x50); + if (plVar1 == (longlong *)0x0) { + FUN_14003e8b0(param_2); + } + else { + (**(code **)(*plVar1 + 0x18))(plVar1,param_2); + } + *(longlong *)(param_1 + 0x20) = *(longlong *)(param_1 + 0x20) + -1; + if (((param_3 != '\0') && (*(ulonglong *)(param_1 + 0x20) < *(ulonglong *)(param_1 + 0x40))) && + (*(int *)(param_1 + 0x48) == 0)) { + uVar2 = FUN_14009b970((longlong)param_1,*(ulonglong *)(param_1 + 0x20)); + FUN_1400c8de0(param_1,uVar2); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14005de50.c b/decomp/AgentManager_Release_x64/full/functions/0x14005de50.c new file mode 100644 index 00000000..88f9a271 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14005de50.c @@ -0,0 +1,271 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14005de50 FUN_14005de50 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x00014005e433) */ +/* WARNING: Removing unreachable block (ram,0x00014005e43b) */ +/* WARNING: Removing unreachable block (ram,0x00014005e43f) */ +/* WARNING: Removing unreachable block (ram,0x00014005e449) */ + +void FUN_14005de50(longlong param_1,int param_2,int param_3) + +{ + int *piVar1; + int iVar2; + int iVar3; + undefined4 uVar4; + longlong *plVar5; + void *pvVar6; + ulonglong uVar7; + int iVar8; + longlong lVar9; + ulonglong uVar10; + int iVar11; + longlong lVar12; + longlong lVar13; + int iVar14; + int local_res10 [2]; + int local_res18 [2]; + char *local_res20; + longlong *local_128; + void *local_120; + ulonglong local_118; + longlong local_110; + longlong local_108; + longlong *local_f8; + undefined **local_f0 [3]; + undefined **local_d8 [3]; + undefined **local_c0 [3]; + undefined8 local_a8; + undefined **local_a0 [3]; + undefined **local_88 [3]; + undefined8 local_70 [3]; + undefined8 local_58 [4]; + + local_a8 = 0xfffffffffffffffe; + if (1 < param_2 - param_3) { + std::_Container_base12::_Container_base12((_Container_base12 *)&local_128); + local_128 = operator_new(0x10); + if (local_128 == (longlong *)0x0) { + local_f8 = local_128; + std::exception::exception((exception *)local_d8,(char **)&local_f8); + local_d8[0] = std::bad_alloc::vftable; + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_d8,(ThrowInfo *)&DAT_14016c158); + } + *local_128 = 0; + local_128[1] = 0; + *local_128 = (longlong)&local_128; + local_120 = (void *)0x0; + local_118 = 0; + local_110 = 0; + local_108 = 0; + local_res18[0] = param_2 + -1; + local_res10[0] = param_3; + FUN_140051a40((_Container_base12 *)&local_128,local_res10); + FUN_140051a40((_Container_base12 *)&local_128,local_res18); + lVar9 = local_108; + while (lVar13 = 0, uVar7 = local_118, lVar9 != 0) { + plVar5 = FUN_14004ea90(&local_128,local_70); + plVar5 = FUN_140051b30(plVar5,local_58,1); + lVar12 = lVar13; + if ((longlong *)*plVar5 != (longlong *)0x0) { + lVar12 = *(longlong *)*plVar5; + } + uVar7 = (ulonglong)plVar5[2] >> 2; + if (*(ulonglong *)(lVar12 + 0x10) <= uVar7) { + uVar7 = uVar7 - *(ulonglong *)(lVar12 + 0x10); + } + iVar14 = *(int *)(*(longlong *)(*(longlong *)(lVar12 + 8) + uVar7 * 8) + + (ulonglong)((uint)plVar5[2] & 3) * 4); + if ((lVar9 != 0) && (lVar9 = lVar9 + -1, local_108 = lVar9, lVar9 == 0)) { + local_110 = lVar13; + } + local_res10[0] = iVar14; + plVar5 = FUN_14004ea90(&local_128,local_58); + plVar5 = FUN_140051b30(plVar5,local_70,1); + lVar12 = lVar13; + if ((longlong *)*plVar5 != (longlong *)0x0) { + lVar12 = *(longlong *)*plVar5; + } + uVar7 = (ulonglong)plVar5[2] >> 2; + if (*(ulonglong *)(lVar12 + 0x10) <= uVar7) { + uVar7 = uVar7 - *(ulonglong *)(lVar12 + 0x10); + } + iVar2 = *(int *)(*(longlong *)(*(longlong *)(lVar12 + 8) + uVar7 * 8) + + (ulonglong)((uint)plVar5[2] & 3) * 4); + lVar12 = (longlong)iVar2; + if ((lVar9 != 0) && (lVar9 = lVar9 + -1, local_108 = lVar9, lVar9 == 0)) { + local_110 = lVar13; + } + iVar11 = iVar2 + 1; + iVar3 = *(int *)(param_1 + lVar12 * 4); + if (iVar11 <= iVar14) { + iVar8 = iVar14; + if ((iVar11 < iVar14) && (lVar9 = local_108, iVar11 <= iVar14)) { +LAB_14005e017: + do { + if (iVar3 < *(int *)(param_1 + (longlong)iVar11 * 4)) { + if (iVar8 < iVar11) break; + do { + if (*(int *)(param_1 + (longlong)iVar8 * 4) < iVar3) { + if (iVar8 < iVar11) goto LAB_14005e065; + uVar4 = *(undefined4 *)(param_1 + (longlong)iVar11 * 4); + *(undefined4 *)(param_1 + (longlong)iVar11 * 4) = + *(undefined4 *)(param_1 + (longlong)iVar8 * 4); + *(undefined4 *)(param_1 + (longlong)iVar8 * 4) = uVar4; + break; + } + iVar8 = iVar8 + -1; + } while (iVar11 <= iVar8); + } + else { + iVar11 = iVar11 + 1; + if (iVar11 <= iVar8) goto LAB_14005e017; + } + } while (iVar11 < iVar8); + } +LAB_14005e065: + if (iVar2 <= iVar8) { + iVar3 = *(int *)(param_1 + (longlong)iVar8 * 4); + if (iVar3 < *(int *)(param_1 + lVar12 * 4)) { + uVar4 = *(undefined4 *)(param_1 + lVar12 * 4); + *(int *)(param_1 + lVar12 * 4) = iVar3; + *(undefined4 *)(param_1 + (longlong)iVar8 * 4) = uVar4; + lVar9 = local_108; + } + if (iVar2 < iVar8) { + std::_Container_base12::_Orphan_all((_Container_base12 *)&local_128); + if ((((int)local_110 + (int)local_108 & 3U) == 0) && (local_118 <= local_108 + 4U >> 2)) + { + FUN_14004eab0((longlong)&local_128,1); + } + uVar7 = local_108 + local_110; + uVar10 = uVar7 >> 2; + if (local_118 <= uVar10) { + uVar10 = uVar10 - local_118; + } + if (*(longlong *)((longlong)local_120 + uVar10 * 8) == 0) { + pvVar6 = operator_new(0x10); + if (pvVar6 == (void *)0x0) { + local_res20 = (char *)0x0; + std::exception::exception((exception *)local_a0,&local_res20); + local_a0[0] = std::bad_alloc::vftable; + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_a0,(ThrowInfo *)&DAT_14016c158); + } + *(void **)((longlong)local_120 + uVar10 * 8) = pvVar6; + } + piVar1 = (int *)(*(longlong *)((longlong)local_120 + uVar10 * 8) + + (ulonglong)((uint)uVar7 & 3) * 4); + if (piVar1 != (int *)0x0) { + *piVar1 = iVar2; + } + local_108 = local_108 + 1; + std::_Container_base12::_Orphan_all((_Container_base12 *)&local_128); + if ((((char)local_108 + (char)local_110 & 3U) == 0) && + (local_118 <= local_108 + 4U >> 2)) { + FUN_14004eab0((longlong)&local_128,1); + } + uVar7 = local_108 + local_110; + uVar10 = uVar7 >> 2; + if (local_118 <= uVar10) { + uVar10 = uVar10 - local_118; + } + if (*(longlong *)((longlong)local_120 + uVar10 * 8) == 0) { + local_res20 = operator_new(0x10); + if (local_res20 == (char *)0x0) { + std::exception::exception((exception *)local_c0,&local_res20); + local_c0[0] = std::bad_alloc::vftable; + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_c0,(ThrowInfo *)&DAT_14016c158); + } + *(char **)((longlong)local_120 + uVar10 * 8) = local_res20; + } + piVar1 = (int *)(*(longlong *)((longlong)local_120 + uVar10 * 8) + + (ulonglong)((uint)uVar7 & 3) * 4); + if (piVar1 != (int *)0x0) { + *piVar1 = iVar8 + -1; + } + lVar9 = local_108 + 1; + iVar14 = local_res10[0]; + local_108 = lVar9; + } + } + if (iVar8 < iVar14) { + std::_Container_base12::_Orphan_all((_Container_base12 *)&local_128); + if ((((int)local_110 + (int)local_108 & 3U) == 0) && (local_118 <= local_108 + 4U >> 2)) { + FUN_14004eab0((longlong)&local_128,1); + } + uVar7 = local_108 + local_110; + uVar10 = uVar7 >> 2; + if (local_118 <= uVar10) { + uVar10 = uVar10 - local_118; + } + if (*(longlong *)((longlong)local_120 + uVar10 * 8) == 0) { + pvVar6 = operator_new(0x10); + if (pvVar6 == (void *)0x0) { + local_res20 = (char *)0x0; + std::exception::exception((exception *)local_f0,&local_res20); + local_f0[0] = std::bad_alloc::vftable; + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_f0,(ThrowInfo *)&DAT_14016c158); + } + *(void **)((longlong)local_120 + uVar10 * 8) = pvVar6; + } + piVar1 = (int *)(*(longlong *)((longlong)local_120 + uVar10 * 8) + + (ulonglong)((uint)uVar7 & 3) * 4); + if (piVar1 != (int *)0x0) { + *piVar1 = iVar8 + 1; + } + local_108 = local_108 + 1; + std::_Container_base12::_Orphan_all((_Container_base12 *)&local_128); + if ((((char)local_108 + (char)local_110 & 3U) == 0) && (local_118 <= local_108 + 4U >> 2)) + { + FUN_14004eab0((longlong)&local_128,1); + } + uVar7 = local_108 + local_110; + uVar10 = uVar7 >> 2; + if (local_118 <= uVar10) { + uVar10 = uVar10 - local_118; + } + if (*(longlong *)((longlong)local_120 + uVar10 * 8) == 0) { + pvVar6 = operator_new(0x10); + if (pvVar6 == (void *)0x0) { + local_res20 = (char *)0x0; + std::exception::exception((exception *)local_88,&local_res20); + local_88[0] = std::bad_alloc::vftable; + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_88,(ThrowInfo *)&DAT_14016c158); + } + *(void **)((longlong)local_120 + uVar10 * 8) = pvVar6; + } + piVar1 = (int *)(*(longlong *)((longlong)local_120 + uVar10 * 8) + + (ulonglong)((uint)uVar7 & 3) * 4); + if (piVar1 != (int *)0x0) { + *piVar1 = iVar14; + } + lVar9 = local_108 + 1; + local_108 = lVar9; + } + } + } + while (uVar7 != 0) { + uVar7 = uVar7 - 1; + if (*(longlong *)((longlong)local_120 + uVar7 * 8) != 0) { + operator_delete(*(void **)((longlong)local_120 + uVar7 * 8)); + } + } + if (local_120 != (void *)0x0) { + operator_delete(local_120); + } + local_118 = 0; + local_120 = (void *)0x0; + std::_Container_base12::_Orphan_all((_Container_base12 *)&local_128); + operator_delete(local_128); + local_128 = (longlong *)0x0; + std::_Container_base12::~_Container_base12((_Container_base12 *)&local_128); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14005e510.c b/decomp/AgentManager_Release_x64/full/functions/0x14005e510.c new file mode 100644 index 00000000..849e9ab6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14005e510.c @@ -0,0 +1,212 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14005e510 FUN_14005e510 + * Pseudocode, not original source. */ + +undefined8 +FUN_14005e510(longlong param_1,undefined8 param_2,undefined8 param_3,uint *param_4,uint *param_5, + undefined8 *param_6,undefined8 *param_7,undefined8 *param_8,undefined8 *param_9) + +{ + int *piVar1; + short *psVar2; + longlong *plVar3; + short **ppsVar4; + int *piVar5; + longlong lVar6; + ulonglong uVar7; + undefined *puVar8; + short *psVar9; + uint *puVar10; + ulonglong uVar11; + undefined8 uVar12; + longlong *local_res8; + undefined8 *local_108; + short *local_100; + undefined *local_f8; + undefined *local_f0; + undefined *local_e8; + undefined *local_e0; + undefined **local_d8; + undefined4 local_d0; + undefined2 local_cc; + undefined **local_c8; + undefined4 local_c0; + undefined2 local_bc; + undefined **local_b8; + undefined4 local_b0; + undefined2 local_ac; + undefined **local_a8; + undefined4 local_a0; + undefined2 local_9c; + short **local_98; + undefined1 local_90; + short **local_88; + undefined1 local_80; + int *local_78; + undefined1 local_70; + short **local_68; + undefined1 local_60; + int *local_58; + undefined1 local_50; + int *local_48; + undefined1 local_40; + undefined8 local_38; + + local_38 = 0xfffffffffffffffe; + local_48 = (int *)(**(code **)(**(longlong **)(param_1 + 0x20) + 0x58))(); + FUN_14003d040(local_48); + local_40 = 1; + if (DAT_14017614f != '\0') { + (**(code **)(**(longlong **)(param_1 + 0x20) + 200)) + (*(longlong **)(param_1 + 0x20), + L"Proud::CNetServerImpl::C2SStub::NotifyP2PHolepunchSuccess"); + } + local_res8 = (longlong *)0x0; + plVar3 = FUN_14005d550(*(longlong *)(param_1 + 0x20) + 0x2d8,(longlong *)&local_108,*param_4, + *param_5); + if (*plVar3 != 0) { + *(longlong *)(*plVar3 + 8) = *(longlong *)(*plVar3 + 8) + 1; + local_res8 = (longlong *)*plVar3; + } + if ((local_108 != (undefined8 *)0x0) && (local_108[1] = local_108[1] + -1, local_108[1] == 0)) { + FUN_14004e450(local_108); + } + if (((local_res8 != (longlong *)0x0) && (lVar6 = *local_res8, lVar6 != 0)) && + (*(char *)(lVar6 + 8) == '\x01')) { + if (*(char *)(lVar6 + 8) != '\0') { + *(undefined1 *)(lVar6 + 8) = 0; + } + lVar6 = *local_res8; + uVar12 = (**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x20) + 0x118) + 8))(); + *(undefined8 *)(lVar6 + 0x198) = uVar12; + local_b8 = Proud::AddrPort::vftable; + local_b0 = *(undefined4 *)(param_9 + 1); + local_ac = *(undefined2 *)((longlong)param_9 + 0xc); + local_d8 = Proud::AddrPort::vftable; + local_d0 = *(undefined4 *)(param_6 + 1); + local_cc = *(undefined2 *)((longlong)param_6 + 0xc); + FUN_14004a550(*local_res8,*param_4,(longlong)&local_d8,(longlong)&local_b8); + local_c8 = Proud::AddrPort::vftable; + local_c0 = *(undefined4 *)(param_7 + 1); + local_bc = *(undefined2 *)((longlong)param_7 + 0xc); + local_a8 = Proud::AddrPort::vftable; + local_a0 = *(undefined4 *)(param_8 + 1); + local_9c = *(undefined2 *)((longlong)param_8 + 0xc); + FUN_14004a550(*local_res8,*param_5,(longlong)&local_a8,(longlong)&local_c8); + plVar3 = (longlong *)(*(longlong *)(param_1 + 0x20) + 0x4a8); + (**(code **)(*plVar3 + 0x90)) + (plVar3,*param_4,&DAT_140177f90,param_4,param_5,param_6,param_7,param_8,param_9); + plVar3 = (longlong *)(*(longlong *)(param_1 + 0x20) + 0x4a8); + puVar8 = &DAT_140177f90; + uVar7 = (ulonglong)*param_5; + puVar10 = param_4; + (**(code **)(*plVar3 + 0x90))(); + if (*(longlong *)(*(longlong *)(param_1 + 0x20) + 0x17f0) != 0) { + FUN_14003e7c0(plVar3,uVar7,puVar8,puVar10); + local_100 = (short *)PTR_DAT_14016f010; + (**(code **)*param_9)(param_9,&local_e0); + (**(code **)*param_8)(param_8,&local_f0); + (**(code **)*param_7)(param_7,&local_e8); + (**(code **)*param_6)(param_6,&local_f8); + uVar11 = (ulonglong)*param_5; + uVar7 = (ulonglong)*param_4; + ppsVar4 = &local_100; + FUN_140029b80((longlong *)ppsVar4, + L"Client %d-Client %d간 P2P UDP 홀펀칭 최종 단계 성공: ABSendAddr=%s ABRecvAddr=%s BASendAddr=%s BARecvAddr=%s" + ,uVar7,uVar11); + if (((local_f8 != (undefined *)0x0) && (local_f8 != PTR_DAT_14016f010)) && + (local_f8 + -8 != (undefined *)0x0)) { + ppsVar4 = (short **)FUN_14003e7c0(ppsVar4,PTR_DAT_14016f010,uVar7,uVar11); + local_98 = ppsVar4; + FUN_14003d040((int *)ppsVar4); + local_90 = 1; + piVar1 = (int *)(local_f8 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(local_f8 + -8); + } + FUN_14003d0d0((longlong)ppsVar4); + local_90 = 0; + } + local_f8 = PTR_DAT_14016f010; + if (((local_e8 != (undefined *)0x0) && (local_e8 != PTR_DAT_14016f010)) && + (local_e8 + -8 != (undefined *)0x0)) { + ppsVar4 = (short **)FUN_14003e7c0(ppsVar4,PTR_DAT_14016f010,uVar7,uVar11); + local_68 = ppsVar4; + FUN_14003d040((int *)ppsVar4); + local_60 = 1; + piVar1 = (int *)(local_e8 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(local_e8 + -8); + } + FUN_14003d0d0((longlong)ppsVar4); + local_60 = 0; + } + local_e8 = PTR_DAT_14016f010; + if (((local_f0 != (undefined *)0x0) && (local_f0 != PTR_DAT_14016f010)) && + (local_f0 + -8 != (undefined *)0x0)) { + ppsVar4 = (short **)FUN_14003e7c0(ppsVar4,PTR_DAT_14016f010,uVar7,uVar11); + local_88 = ppsVar4; + FUN_14003d040((int *)ppsVar4); + local_80 = 1; + piVar1 = (int *)(local_f0 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(local_f0 + -8); + } + FUN_14003d0d0((longlong)ppsVar4); + local_80 = 0; + } + local_f0 = PTR_DAT_14016f010; + if (((local_e0 != (undefined *)0x0) && (local_e0 != PTR_DAT_14016f010)) && + (local_e0 + -8 != (undefined *)0x0)) { + piVar5 = (int *)FUN_14003e7c0(ppsVar4,PTR_DAT_14016f010,uVar7,uVar11); + local_78 = piVar5; + FUN_14003d040(piVar5); + local_70 = 1; + piVar1 = (int *)(local_e0 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(local_e0 + -8); + } + FUN_14003d0d0((longlong)piVar5); + local_70 = 0; + } + psVar2 = local_100; + psVar9 = local_100; + if (local_100 == (short *)0x0) { + psVar9 = (short *)PTR_DAT_14016f010; + } + uVar12 = 1; + lVar6 = *(longlong *)(*(longlong *)(param_1 + 0x20) + 0x17f0); + local_e0 = PTR_DAT_14016f010; + FUN_1400843d0(lVar6,1,psVar9,uVar11); + if (((psVar2 != (short *)0x0) && (psVar2 != (short *)PTR_DAT_14016f010)) && + (psVar2 + -4 != (short *)0x0)) { + piVar5 = (int *)FUN_14003e7c0(lVar6,uVar12,psVar9,uVar11); + local_58 = piVar5; + FUN_14003d040(piVar5); + local_50 = 1; + piVar1 = (int *)(psVar2 + -2); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(psVar2 + -4); + } + FUN_14003d0d0((longlong)piVar5); + local_50 = 0; + } + local_100 = (short *)PTR_DAT_14016f010; + } + } + if (local_res8 != (longlong *)0x0) { + plVar3 = local_res8 + 1; + *plVar3 = *plVar3 + -1; + if (*plVar3 == 0) { + FUN_14004e450(local_res8); + } + } + uVar12 = FUN_14003d0d0((longlong)local_48); + return CONCAT71((int7)((ulonglong)uVar12 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14005ea40.c b/decomp/AgentManager_Release_x64/full/functions/0x14005ea40.c new file mode 100644 index 00000000..e909591c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14005ea40.c @@ -0,0 +1,120 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14005ea40 FUN_14005ea40 + * Pseudocode, not original source. */ + +undefined8 +FUN_14005ea40(longlong param_1,uint param_2,undefined8 param_3,uint *param_4,int *param_5) + +{ + int *piVar1; + uint uVar2; + undefined4 uVar3; + undefined2 uVar4; + short *psVar5; + int *piVar6; + int *piVar7; + undefined8 uVar8; + uint *puVar9; + longlong *plVar10; + longlong lVar11; + longlong lVar12; + ulonglong uVar13; + undefined *puVar14; + short *psVar15; + longlong *local_res8; + uint local_res10 [2]; + short *local_res20; + + local_res10[0] = param_2; + piVar6 = (int *)(**(code **)(**(longlong **)(param_1 + 0x20) + 0x58))(); + FUN_14003d040(piVar6); + if (DAT_14017614f != '\0') { + (**(code **)(**(longlong **)(param_1 + 0x20) + 200))(); + } + uVar2 = *param_4; + lVar11 = *(longlong *)(param_1 + 0x20); + uVar13 = (ulonglong)uVar2 % (ulonglong)*(uint *)(lVar11 + 0xca0); + if ((*(longlong *)(lVar11 + 0xc80) != 0) && + (puVar9 = *(uint **)(*(longlong *)(lVar11 + 0xc80) + uVar13 * 8), puVar9 != (uint *)0x0)) { + while ((uint)uVar13 == puVar9[8] % *(uint *)(lVar11 + 0xca0)) { + if (*puVar9 == uVar2) { + if ((*(longlong *)(puVar9 + 2) != 0) && + (*(longlong *)(*(longlong *)(puVar9 + 2) + 0x228) == 0)) { + FUN_14005d550(lVar11 + 0x2d8,(longlong *)&local_res8,local_res10[0],uVar2); + if ((local_res8 != (longlong *)0x0) && + ((lVar11 = *local_res8, lVar11 != 0 && (*(char *)(lVar11 + 8) == '\0')))) { + lVar12 = 0; + if (*param_5 != 0x1d) { + *(undefined8 *)(lVar11 + 0x198) = 0; + } + uVar4 = DAT_14016f3d4; + uVar3 = DAT_14016f3d0; + if (local_res8 != (longlong *)0x0) { + lVar12 = *local_res8; + } + if (*(char *)(lVar12 + 8) != '\x01') { + *(undefined4 *)(lVar12 + 0x10) = 0; + *(undefined4 *)(lVar12 + 0x20) = uVar3; + *(undefined2 *)(lVar12 + 0x24) = uVar4; + *(undefined4 *)(lVar12 + 0x30) = uVar3; + *(undefined2 *)(lVar12 + 0x34) = uVar4; + *(undefined1 *)(lVar12 + 0x38) = 0; + uVar4 = DAT_14016f3d4; + uVar3 = DAT_14016f3d0; + *(undefined4 *)(lVar12 + 0x40) = 0; + *(undefined4 *)(lVar12 + 0x50) = uVar3; + *(undefined2 *)(lVar12 + 0x54) = uVar4; + *(undefined4 *)(lVar12 + 0x60) = uVar3; + *(undefined2 *)(lVar12 + 100) = uVar4; + *(undefined1 *)(lVar12 + 0x68) = 0; + *(undefined1 *)(lVar12 + 8) = 1; + } + plVar10 = (longlong *)(*(longlong *)(param_1 + 0x20) + 0x4a8); + puVar9 = local_res10; + puVar14 = &DAT_140177f90; + uVar13 = (ulonglong)*param_4; + (**(code **)(*plVar10 + 0x70))(); + if (*(longlong *)(*(longlong *)(param_1 + 0x20) + 0x17f0) != 0) { + FUN_14003e7c0(plVar10,uVar13,puVar14,puVar9); + local_res20 = (short *)PTR_DAT_14016f010; + uVar13 = (ulonglong)*param_4; + FUN_140029b80((longlong *)&local_res20, + L"Client %d-Client %d간 P2P UDP 홀펀칭 중도 해제", + (ulonglong)local_res10[0],uVar13); + psVar5 = local_res20; + psVar15 = local_res20; + if (local_res20 == (short *)0x0) { + psVar15 = (short *)PTR_DAT_14016f010; + } + uVar8 = 1; + lVar11 = *(longlong *)(*(longlong *)(param_1 + 0x20) + 0x17f0); + FUN_1400843d0(lVar11,1,psVar15,uVar13); + if (((psVar5 != (short *)0x0) && (psVar5 != (short *)PTR_DAT_14016f010)) && + (psVar5 + -4 != (short *)0x0)) { + piVar7 = (int *)FUN_14003e7c0(lVar11,uVar8,psVar15,uVar13); + FUN_14003d040(piVar7); + piVar1 = (int *)(psVar5 + -2); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(psVar5 + -4); + } + FUN_14003d0d0((longlong)piVar7); + } + local_res20 = (short *)PTR_DAT_14016f010; + } + } + if ((local_res8 != (longlong *)0x0) && + (local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) { + FUN_14004e450(local_res8); + } + } + break; + } + puVar9 = *(uint **)(puVar9 + 4); + if (puVar9 == (uint *)0x0) break; + } + } + uVar8 = FUN_14003d0d0((longlong)piVar6); + return CONCAT71((int7)((ulonglong)uVar8 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14005ed10.c b/decomp/AgentManager_Release_x64/full/functions/0x14005ed10.c new file mode 100644 index 00000000..9323d6dd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14005ed10.c @@ -0,0 +1,118 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14005ed10 FUN_14005ed10 + * Pseudocode, not original source. */ + +undefined8 FUN_14005ed10(longlong param_1,uint param_2,undefined8 param_3,uint *param_4) + +{ + int *piVar1; + uint uVar2; + undefined4 uVar3; + undefined2 uVar4; + short *psVar5; + int *piVar6; + int *piVar7; + uint *puVar8; + longlong *plVar9; + longlong lVar10; + ulonglong uVar11; + undefined *puVar12; + short *psVar13; + longlong *local_res8; + uint local_res10 [2]; + short *local_res20; + undefined8 uVar14; + int *piVar15; + undefined1 uVar16; + + uVar14 = 0xfffffffffffffffe; + local_res10[0] = param_2; + piVar6 = (int *)(**(code **)(**(longlong **)(param_1 + 0x20) + 0x58))(); + piVar15 = piVar6; + FUN_14003d040(piVar6); + uVar16 = 1; + if (DAT_14017614f != '\0') { + (**(code **)(**(longlong **)(param_1 + 0x20) + 200))(); + } + uVar2 = *param_4; + lVar10 = *(longlong *)(param_1 + 0x20); + uVar11 = (ulonglong)uVar2 % (ulonglong)*(uint *)(lVar10 + 0xca0); + if ((*(longlong *)(lVar10 + 0xc80) != 0) && + (puVar8 = *(uint **)(*(longlong *)(lVar10 + 0xc80) + uVar11 * 8), puVar8 != (uint *)0x0)) { + while ((uint)uVar11 == puVar8[8] % *(uint *)(lVar10 + 0xca0)) { + if (*puVar8 == uVar2) { + if ((*(longlong *)(puVar8 + 2) != 0) && + (*(longlong *)(*(longlong *)(puVar8 + 2) + 0x228) == 0)) { + FUN_14005d550(lVar10 + 0x2d8,(longlong *)&local_res8,local_res10[0],uVar2); + uVar4 = DAT_14016f3d4; + uVar3 = DAT_14016f3d0; + if ((local_res8 != (longlong *)0x0) && (lVar10 = *local_res8, lVar10 != 0)) { + if (*(char *)(lVar10 + 8) != '\x01') { + *(undefined4 *)(lVar10 + 0x10) = 0; + *(undefined4 *)(lVar10 + 0x20) = uVar3; + *(undefined2 *)(lVar10 + 0x24) = uVar4; + *(undefined4 *)(lVar10 + 0x30) = uVar3; + *(undefined2 *)(lVar10 + 0x34) = uVar4; + *(undefined1 *)(lVar10 + 0x38) = 0; + uVar4 = DAT_14016f3d4; + uVar3 = DAT_14016f3d0; + *(undefined4 *)(lVar10 + 0x40) = 0; + *(undefined4 *)(lVar10 + 0x50) = uVar3; + *(undefined2 *)(lVar10 + 0x54) = uVar4; + *(undefined4 *)(lVar10 + 0x60) = uVar3; + *(undefined2 *)(lVar10 + 100) = uVar4; + *(undefined1 *)(lVar10 + 0x68) = 0; + *(undefined1 *)(lVar10 + 8) = 1; + } + plVar9 = (longlong *)(*(longlong *)(param_1 + 0x20) + 0x4a8); + (**(code **)(*plVar9 + 0x110)) + (plVar9,*param_4,&DAT_140177f90,local_res10,uVar14,piVar15,uVar16); + plVar9 = (longlong *)(*(longlong *)(param_1 + 0x20) + 0x4a8); + puVar12 = &DAT_140177f90; + uVar11 = (ulonglong)local_res10[0]; + puVar8 = param_4; + (**(code **)(*plVar9 + 0x110))(); + if (*(longlong *)(*(longlong *)(param_1 + 0x20) + 0x17f0) != 0) { + FUN_14003e7c0(plVar9,uVar11,puVar12,puVar8); + local_res20 = (short *)PTR_DAT_14016f010; + uVar11 = (ulonglong)*param_4; + FUN_140029b80((longlong *)&local_res20, + L"Client %d-Client %d간 P2P UDP 홀펀칭을 완전히 처음부터 다시 시작합니다. 한쪽 UDP 소켓이 Restore이니까." + ,(ulonglong)local_res10[0],uVar11); + psVar5 = local_res20; + psVar13 = local_res20; + if (local_res20 == (short *)0x0) { + psVar13 = (short *)PTR_DAT_14016f010; + } + uVar14 = 1; + lVar10 = *(longlong *)(*(longlong *)(param_1 + 0x20) + 0x17f0); + FUN_1400843d0(lVar10,1,psVar13,uVar11); + if (((psVar5 != (short *)0x0) && (psVar5 != (short *)PTR_DAT_14016f010)) && + (psVar5 + -4 != (short *)0x0)) { + piVar7 = (int *)FUN_14003e7c0(lVar10,uVar14,psVar13,uVar11); + FUN_14003d040(piVar7); + piVar1 = (int *)(psVar5 + -2); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(psVar5 + -4); + } + FUN_14003d0d0((longlong)piVar7); + } + local_res20 = (short *)PTR_DAT_14016f010; + } + } + if ((local_res8 != (longlong *)0x0) && + (local_res8[1] = local_res8[1] + -1, piVar6 = piVar15, local_res8[1] == 0)) { + FUN_14004e450(local_res8); + } + } + break; + } + puVar8 = *(uint **)(puVar8 + 4); + if (puVar8 == (uint *)0x0) break; + } + } + uVar14 = FUN_14003d0d0((longlong)piVar6); + return CONCAT71((int7)((ulonglong)uVar14 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14005efd0.c b/decomp/AgentManager_Release_x64/full/functions/0x14005efd0.c new file mode 100644 index 00000000..a2e689b4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14005efd0.c @@ -0,0 +1,453 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14005efd0 FUN_14005efd0 + * Pseudocode, not original source. */ + +void FUN_14005efd0(longlong *param_1,longlong *param_2,undefined8 param_3,double param_4) + +{ + int *piVar1; + uint uVar2; + int iVar3; + void *pvVar4; + undefined8 uVar5; + longlong *plVar6; + uint uVar7; + undefined8 *puVar8; + uint uVar9; + uint uVar10; + longlong lVar11; + uint *puVar12; + longlong *plVar13; + ulonglong uVar14; + longlong lVar15; + longlong *plVar16; + longlong lVar17; + uint *puVar18; + int iVar19; + longlong lVar20; + ulonglong uVar21; + ulonglong uVar22; + ulonglong in_R9; + int iVar23; + int iVar24; + longlong lVar25; + bool bVar26; + bool bVar27; + undefined8 *local_e0; + longlong local_d8; + longlong local_d0; + undefined8 local_c8; + undefined8 local_c0; + undefined8 local_b8; + undefined8 local_b0; + undefined8 local_a8; + undefined8 local_a0; + void *local_98; + exception local_90 [88]; + + if ((int)param_3 == 0) { + return; + } + local_a0 = 0xfffffffffffffffe; + bVar26 = false; + plVar6 = param_1 + 0x2f4; + FUN_14004c130((longlong)plVar6,0,param_3,in_R9); + lVar25 = param_2[1]; + iVar24 = 0; + lVar11 = lVar25; + local_d8 = lVar25; + if (0 < (int)lVar25) { + do { + if ((iVar24 < 0) || (param_2[1] <= (longlong)iVar24)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + iVar19 = iVar24; + if (iVar24 < (int)lVar25) { + do { + lVar15 = (longlong)iVar24; + if (iVar24 == iVar19) { +LAB_14005f108: + bVar27 = false; + } + else { + lVar11 = (longlong)iVar19; + if ((iVar19 < 0) || (param_2[1] <= lVar11)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if ((ulonglong)param_2[2] < 0x65) { + puVar12 = (uint *)(param_2 + (lVar11 + 1) * 4); + } + else { + puVar12 = (uint *)(lVar11 * 0x20 + *param_2); + } + if (param_2[1] <= lVar15) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if ((ulonglong)param_2[2] < 0x65) { + puVar18 = (uint *)(param_2 + (lVar15 + 1) * 4); + } + else { + puVar18 = (uint *)(lVar15 * 0x20 + *param_2); + } + in_R9 = (ulonglong)*puVar12; + plVar13 = FUN_14005d550((longlong)(param_1 + 0x5b),(longlong *)&local_e0,*puVar18, + *puVar12); + bVar26 = true; + if ((longlong *)*plVar13 == (longlong *)0x0) { + lVar11 = 0; + goto LAB_14005f108; + } + lVar11 = *(longlong *)*plVar13; + if (lVar11 == 0) goto LAB_14005f108; + bVar27 = true; + } + puVar8 = local_e0; + if (((bVar26) && (bVar26 = false, local_e0 != (undefined8 *)0x0)) && + (local_e0[1] = local_e0[1] + -1, local_e0[1] == 0)) { + pvVar4 = (void *)*local_e0; + local_98 = pvVar4; + if (pvVar4 != (void *)0x0) { + FUN_140049e40((undefined8 *)((longlong)pvVar4 + 0x148)); + FUN_140049e40((undefined8 *)((longlong)pvVar4 + 0x120)); + operator_delete(pvVar4); + } + FUN_14003e8b0(puVar8); + bVar26 = false; + lVar25 = local_d8; + } + if (((bVar27) && (*(char *)(lVar11 + 8) == '\0')) && + (*(double *)(lVar11 + 0x188) <= param_4 && param_4 != *(double *)(lVar11 + 0x188))) { + local_c8 = CONCAT44(iVar19,iVar24); + plVar13 = plVar6; + local_d0 = lVar11; + FUN_14004c860((longlong)plVar6,(int)param_1[0x2f7],(longlong)&local_d0,1); + uVar14 = 0; + in_R9 = (ulonglong)(int)param_1[0x2f7]; + uVar22 = uVar14; + uVar21 = uVar14; + if (0 < (longlong)in_R9) { + do { + if (((longlong)uVar21 < 0) || (iVar23 = (int)uVar22, (int)param_1[0x2f7] <= iVar23)) + { + /* WARNING: Subroutine does not return */ + FUN_14003def0(plVar13,uVar22,uVar21,in_R9); + } + lVar15 = param_1[0x2f6]; + if (*(int *)(uVar14 + 8 + lVar15) == iVar24) { + piVar1 = (int *)(uVar14 + 0x10 + lVar15); + *piVar1 = *piVar1 + 1; + } + else if (*(int *)(uVar14 + 0xc + lVar15) == iVar24) { + piVar1 = (int *)(uVar14 + 0x14 + lVar15); + *piVar1 = *piVar1 + 1; + } + if ((int)param_1[0x2f7] <= iVar23) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(lVar15,uVar22,uVar21,in_R9); + } + plVar13 = (longlong *)param_1[0x2f6]; + if (*(int *)(uVar14 + 8 + (longlong)plVar13) == iVar19) { + piVar1 = (int *)(uVar14 + 0x10 + (longlong)plVar13); + *piVar1 = *piVar1 + 1; + } + else if (*(int *)(uVar14 + 0xc + (longlong)plVar13) == iVar19) { + piVar1 = (int *)(uVar14 + 0x14 + (longlong)plVar13); + *piVar1 = *piVar1 + 1; + } + uVar21 = uVar21 + 1; + uVar14 = uVar14 + 0x18; + uVar22 = (ulonglong)(iVar23 + 1); + } while ((longlong)uVar21 < (longlong)in_R9); + } + local_d0 = 0; + local_c8 = 0; + local_c0 = 0; + } + iVar19 = iVar19 + 1; + } while (iVar19 < (int)lVar25); + } + iVar24 = iVar24 + 1; + } while (iVar24 < (int)lVar25); + } + lVar25 = 0; + uVar2 = *(uint *)(param_1 + 0x2f7); + if ((int)param_1[0x2f7] != 0) { + lVar25 = param_1[0x2f6]; + } + uVar22 = 0; + if ((int)uVar2 < 0x65) { + FUN_14004d960(lVar25,uVar2,0); + } + else { + FUN_14005ccf0(lVar25,uVar2,0); + } + plVar16 = param_1 + 0x2f9; + plVar13 = (longlong *)0x0; + FUN_14004cce0((longlong)plVar16,0,uVar22); + iVar24 = 0; + lVar25 = 0; + if (0 < (int)param_1[0x2f7]) { + lVar11 = 0; + do { + if ((lVar25 < 0) || ((int)param_1[0x2f7] <= iVar24)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(param_1,plVar13,uVar22,in_R9); + } + lVar15 = param_1[0x2f6]; + local_b8 = *(undefined8 *)(lVar11 + lVar15); + in_R9 = *(ulonglong *)(lVar11 + 8 + lVar15); + uVar5 = *(undefined8 *)(lVar11 + 0x10 + lVar15); + iVar19 = (int)param_1[0x2fc]; + lVar20 = (longlong)iVar19; + local_b0._4_4_ = (uint)(in_R9 >> 0x20); + uVar2 = local_b0._4_4_; + plVar13 = (longlong *)0x0; + while (iVar23 = (int)plVar13, local_b0 = in_R9, local_a8 = uVar5, iVar23 != iVar19) { + if ((iVar23 < 0) || ((int)param_1[0x2fc] <= iVar23)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(lVar15,plVar13,uVar22,in_R9); + } + lVar15 = (longlong)iVar23; + uVar9 = *(uint *)(param_1[0x2fb] + lVar15 * 4); + uVar22 = (ulonglong)uVar9; + uVar21 = in_R9; + if ((uVar9 == (uint)in_R9) || (uVar21 = in_R9, uVar9 == local_b0._4_4_)) goto LAB_14005f42f; + plVar13 = (longlong *)(ulonglong)(iVar23 + 1); + } + local_a8._4_4_ = (int)((ulonglong)uVar5 >> 0x20); + if ((int)uVar5 < local_a8._4_4_) { + if (iVar19 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + lVar15 = param_1[0x2fc]; + uVar9 = (int)lVar15 + 1; + plVar13 = (longlong *)(ulonglong)uVar9; + FUN_14004cce0((longlong)plVar16,uVar9,uVar22); + iVar19 = (int)lVar15 - iVar19; + if (0 < iVar19) { + if ((int)param_1[0x2fc] == 0) { + lVar15 = 0; + lVar17 = 0; + } + else { + lVar15 = param_1[0x2fb]; + lVar17 = param_1[0x2fb]; + } + uVar22 = (longlong)iVar19 << 2; + plVar13 = (longlong *)(lVar15 + lVar20 * 4); + memmove((void *)(lVar17 + 4 + lVar20 * 4),plVar13,uVar22); + } + if ((int)param_1[0x2fc] == 0) { + lVar15 = 0; + } + else { + lVar15 = param_1[0x2fb]; + } + *(uint *)(lVar15 + lVar20 * 4) = uVar2; + uVar21 = local_b0; + } + else { + if (iVar19 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + lVar15 = param_1[0x2fc]; + FUN_14004cce0((longlong)plVar16,(int)lVar15 + 1,uVar22); + iVar19 = (int)lVar15 - iVar19; + if (0 < iVar19) { + if ((int)param_1[0x2fc] == 0) { + lVar15 = 0; + lVar17 = 0; + } + else { + lVar15 = param_1[0x2fb]; + lVar17 = param_1[0x2fb]; + } + uVar22 = (longlong)iVar19 << 2; + memmove((void *)(lVar17 + 4 + lVar20 * 4),(void *)(lVar15 + lVar20 * 4),uVar22); + } + if ((int)param_1[0x2fc] == 0) { + plVar13 = (longlong *)0x0; + } + else { + plVar13 = (longlong *)param_1[0x2fb]; + } + *(undefined4 *)((longlong)plVar13 + lVar20 * 4) = (undefined4)local_b0; + uVar21 = local_b0; + } +LAB_14005f42f: + local_b0 = uVar21; + iVar24 = iVar24 + 1; + lVar25 = lVar25 + 1; + lVar11 = lVar11 + 0x18; + } while (iVar24 < (int)param_1[0x2f7]); + } + iVar24 = 0; + lVar11 = 0; + lVar25 = param_1[0x2fc]; + if (0 < (longlong)(int)lVar25) { + do { + if ((lVar11 < 0) || ((int)param_1[0x2fc] <= iVar24)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(param_1,plVar13,uVar22,in_R9); + } + iVar19 = *(int *)(param_1[0x2fb] + lVar11 * 4); + lVar15 = (longlong)iVar19; + if ((iVar19 < 0) || (param_2[1] <= lVar15)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if ((ulonglong)param_2[2] < 0x65) { + plVar13 = param_2 + (lVar15 + 1) * 4; + } + else { + plVar13 = (longlong *)(lVar15 * 0x20 + *param_2); + } + if ((plVar13[2] == 0) && (plVar13[3] == 0)) { + lVar20 = 0; + iVar23 = 0; + in_R9 = 0; + lVar15 = param_1[0x2f7]; + if (0 < (longlong)(int)lVar15) { + uVar22 = 0; + plVar16 = param_1; + do { + if ((int)param_3 <= lVar20) break; + if (((longlong)in_R9 < 0) || ((int)param_1[0x2f7] <= iVar23)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(plVar16,plVar13,uVar22,in_R9); + } + lVar17 = param_1[0x2f6]; + iVar3 = *(int *)(lVar17 + 8 + uVar22); + plVar16 = (longlong *)(longlong)iVar3; + if (iVar19 == iVar3) { + lVar17 = (longlong)*(int *)(lVar17 + 0xc + uVar22); + if ((lVar17 < 0) || (param_2[1] <= lVar17)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if ((ulonglong)param_2[2] < 0x65) { + plVar16 = param_2 + (lVar17 + 1) * 4; + } + else { + plVar16 = (longlong *)(lVar17 * 0x20 + *param_2); + } + if ((plVar16[2] == 0) && (plVar16[3] == 0)) { +LAB_14005f5cd: + plVar13[3] = (longlong)plVar16; + plVar16[2] = (longlong)plVar13; + lVar20 = lVar20 + 1; + plVar13 = (longlong *)plVar13[3]; + } + } + else if (iVar19 == *(int *)(lVar17 + 0xc + uVar22)) { + if (((longlong)plVar16 < 0) || (param_2[1] <= (longlong)plVar16)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if ((ulonglong)param_2[2] < 0x65) { + plVar16 = param_2 + ((longlong)plVar16 + 1) * 4; + } + else { + plVar16 = (longlong *)((longlong)plVar16 * 0x20 + *param_2); + } + if ((plVar16[2] == 0) && (plVar16[3] == 0)) { + plVar13[2] = 0; + goto LAB_14005f5cd; + } + } + iVar23 = iVar23 + 1; + in_R9 = in_R9 + 1; + uVar22 = uVar22 + 0x18; + } while ((longlong)in_R9 < (longlong)(int)lVar15); + } + } + iVar24 = iVar24 + 1; + lVar11 = lVar11 + 1; + } while (lVar11 < (int)lVar25); + } + FUN_14004c130((longlong)plVar6,0,uVar22,in_R9); + iVar24 = (int)param_1[0x2fc]; + if (iVar24 == 0) { + return; + } + uVar2 = *(uint *)((longlong)param_1 + 0x17e4); + uVar22 = (ulonglong)uVar2; + if (-1 < (int)uVar2) goto LAB_14005f731; + iVar19 = *(int *)((longlong)param_1 + 0x17ec); + if (iVar19 == 0) { + uVar10 = (int)(iVar24 + (iVar24 >> 0x1f & 7U)) >> 3; + uVar9 = 0x400; + if ((int)uVar10 < 0x400) { + uVar9 = uVar10; + } + uVar10 = 4; + if (4 < (int)uVar9) { + uVar10 = uVar9; + } +LAB_14005f6a5: + uVar9 = *(uint *)(param_1 + 0x2fd); + bVar27 = SBORROW4(uVar9,uVar10); + uVar7 = uVar9 - uVar10; + bVar26 = uVar9 == uVar10; + } + else { + if (iVar19 == 1) { + uVar9 = (int)(iVar24 + (iVar24 >> 0x1f & 7U)) >> 3; + uVar10 = 0x10; + if (0x10 < (int)uVar9) { + uVar10 = uVar9; + } + if (uVar10 < 0x11) { + uVar10 = 0x10; + } + goto LAB_14005f6a5; + } + if (iVar19 != 2) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + uVar9 = *(uint *)(param_1 + 0x2fd); + uVar10 = 0; + bVar27 = false; + bVar26 = uVar9 == 0; + uVar7 = uVar9; + } + if (!bVar26 && bVar27 == (int)uVar7 < 0) { + uVar10 = uVar9; + } + plVar6 = (longlong *)param_1[0x2fa]; + if (uVar2 == 0) { + if (plVar6 == (longlong *)0x0) { + lVar11 = FUN_14003e840((longlong)(int)uVar10 << 2); + } + else { + lVar11 = (**(code **)(*plVar6 + 8))(plVar6,(longlong)(int)uVar10 << 2); + } + } + else { + lVar25 = param_1[0x2fb]; + if (plVar6 == (longlong *)0x0) { + lVar11 = FUN_14003e870(lVar25,(longlong)(int)uVar10 << 2); + } + else { + uVar22 = (longlong)(int)uVar10 << 2; + lVar11 = (**(code **)(*plVar6 + 0x10))(plVar6,lVar25); + } + if (lVar11 == 0) { + FUN_14003db10(local_90,L"Memory allocation failure!",uVar22,lVar25); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_90,(ThrowInfo *)&DAT_14016c210); + } + } + param_1[0x2fb] = lVar11; + *(uint *)((longlong)param_1 + 0x17e4) = uVar10; +LAB_14005f731: + *(undefined4 *)(param_1 + 0x2fc) = 0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14005f760.c b/decomp/AgentManager_Release_x64/full/functions/0x14005f760.c new file mode 100644 index 00000000..b1826fa8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14005f760.c @@ -0,0 +1,77 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14005f760 FUN_14005f760 + * Pseudocode, not original source. */ + +void FUN_14005f760(longlong param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + int *piVar1; + short *psVar2; + longlong *plVar3; + int *piVar4; + short **ppsVar5; + wchar_t *pwVar6; + short *psVar7; + short *local_res8; + longlong *local_res10; + undefined *local_res18 [2]; + + local_res10 = param_2; + FUN_14003e7c0(param_1,param_2,param_3,param_4); + local_res8 = (short *)PTR_DAT_14016f010; + pwVar6 = (wchar_t *)0x0; + if (*param_2 != 0) { + pwVar6 = *(wchar_t **)(*param_2 + 0x38); + } + plVar3 = FUN_140071d40((int *)pwVar6,(longlong *)local_res18,param_3,param_4); + psVar7 = (short *)*plVar3; + if ((short *)*plVar3 == (short *)0x0) { + psVar7 = (short *)PTR_DAT_14016f010; + } + pwVar6 = L"WARNING: %s"; + ppsVar5 = &local_res8; + FUN_140029b80((longlong *)ppsVar5,L"WARNING: %s",psVar7,param_4); + if (((local_res18[0] != (undefined *)0x0) && (local_res18[0] != PTR_DAT_14016f010)) && + (local_res18[0] + -8 != (undefined *)0x0)) { + piVar4 = (int *)FUN_14003e7c0(ppsVar5,pwVar6,psVar7,param_4); + FUN_14003d040(piVar4); + piVar1 = (int *)(local_res18[0] + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(local_res18[0] + -8); + } + FUN_14003d0d0((longlong)piVar4); + } + psVar2 = local_res8; + plVar3 = *(longlong **)(param_1 + 0x17f0); + if (plVar3 != (longlong *)0x0) { + psVar7 = local_res8; + if (local_res8 == (short *)0x0) { + psVar7 = (short *)PTR_DAT_14016f010; + } + pwVar6 = (wchar_t *)0x0; + FUN_1400843d0((longlong)plVar3,0,psVar7,param_4); + } + if (*(longlong *)(param_1 + 0x758) != 0) { + pwVar6 = (wchar_t *)0x0; + if (*param_2 != 0) { + pwVar6 = *(wchar_t **)(*param_2 + 0x38); + } + plVar3 = *(longlong **)(param_1 + 0x758); + (**(code **)(*plVar3 + 0x10))(); + } + if (((psVar2 != (short *)0x0) && (psVar2 != (short *)PTR_DAT_14016f010)) && + (psVar2 + -4 != (short *)0x0)) { + piVar4 = (int *)FUN_14003e7c0(plVar3,pwVar6,psVar7,param_4); + FUN_14003d040(piVar4); + piVar1 = (int *)(psVar2 + -2); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(psVar2 + -4); + } + FUN_14003d0d0((longlong)piVar4); + } + FUN_140038280(param_2,pwVar6,psVar7,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14005f8d0.c b/decomp/AgentManager_Release_x64/full/functions/0x14005f8d0.c new file mode 100644 index 00000000..ad72ad43 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14005f8d0.c @@ -0,0 +1,28 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14005f8d0 FUN_14005f8d0 + * Pseudocode, not original source. */ + +void FUN_14005f8d0(undefined8 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + LPVOID pvVar1; + longlong *plVar2; + + FUN_140092d10((undefined4 *)(param_1 + 5),param_2,param_3,param_4); + *param_1 = Proud::CFastArray,0>::vftable; + if (0 < *(int *)(param_1 + 3)) { + FUN_14005cbc0((longlong *)param_1[2],(longlong)*(int *)(param_1 + 3)); + } + pvVar1 = (LPVOID)param_1[2]; + if (pvVar1 != (LPVOID)0x0) { + plVar2 = (longlong *)param_1[1]; + if (plVar2 == (longlong *)0x0) { + FUN_14003e8b0(pvVar1); + } + else { + (**(code **)(*plVar2 + 0x18))(plVar2,pvVar1); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14005f940.c b/decomp/AgentManager_Release_x64/full/functions/0x14005f940.c new file mode 100644 index 00000000..c414dc72 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14005f940.c @@ -0,0 +1,190 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14005f940 FUN_14005f940 + * Pseudocode, not original source. */ + +void FUN_14005f940(longlong *param_1,longlong param_2,short *param_3) + +{ + ushort uVar1; + uint uVar2; + uint uVar3; + int *piVar4; + uint *puVar5; + longlong *plVar6; + int *piVar7; + longlong lVar8; + ulonglong uVar9; + undefined ***pppuVar10; + uint *puVar11; + uint uVar12; + ulonglong uVar13; + ulonglong uVar14; + uint uVar15; + ulonglong uVar16; + uint **ppuVar17; + ulonglong uVar18; + uint *local_res8; + longlong local_res10; + undefined **local_60; + undefined8 local_58; + undefined8 local_50; + undefined8 local_48; + undefined8 local_40; + + piVar4 = (int *)(**(code **)(*param_1 + 0x58))(); + FUN_14003d040(piVar4); + if (DAT_14017614f != '\0') { + (**(code **)(*param_1 + 200))(param_1); + } + uVar2 = *(uint *)(param_2 + 8); + uVar1 = *(ushort *)(param_2 + 0xc); + uVar16 = (ulonglong)uVar1; + uVar14 = (ulonglong)(uVar1 ^ uVar2) % (ulonglong)*(uint *)(param_1 + 0x76); + uVar13 = 0; + lVar8 = 0; + uVar9 = uVar14; + uVar18 = uVar13; + if (param_1[0x72] != 0) { + lVar8 = *(longlong *)(param_1[0x72] + uVar14 * 8); + while( true ) { + if ((lVar8 == 0) || + (uVar9 = (ulonglong)*(uint *)(lVar8 + 0x28) % (ulonglong)*(uint *)(param_1 + 0x76), + (int)uVar14 != (int)uVar9)) goto LAB_14005fa03; + if ((*(uint *)(lVar8 + 8) == uVar2) && (*(ushort *)(lVar8 + 0xc) == uVar1)) break; + lVar8 = *(longlong *)(lVar8 + 0x18); + } + uVar18 = *(ulonglong *)(lVar8 + 0x10); + } +LAB_14005fa03: + FUN_14003e7c0(lVar8,uVar9,(ulonglong)uVar2,uVar16); + local_res8 = (uint *)PTR_DAT_14016f010; + uVar2 = FUN_14003e620(param_3); + uVar12 = 0; + if ((local_res8 != (uint *)0x0) && (uVar13 = 0, local_res8 != (uint *)PTR_DAT_14016f010)) { + uVar13 = (ulonglong)local_res8[-2]; + } + uVar3 = uVar2; + if ((((int)uVar2 <= (int)uVar13) && (uVar3 = uVar12, local_res8 != (uint *)0x0)) && + (local_res8 != (uint *)PTR_DAT_14016f010)) { + uVar3 = local_res8[-2]; + } + uVar15 = 1; + if (1 < (int)uVar3) { + uVar15 = uVar3; + } + uVar3 = uVar12; + if ((local_res8 != (uint *)0x0) && (local_res8 != (uint *)PTR_DAT_14016f010)) { + uVar3 = local_res8[-2]; + } + if ((int)uVar3 < (int)uVar15) { + if (local_res8 == (uint *)0x0) { + local_res8 = (uint *)PTR_DAT_14016f010; + } + if ((int)uVar15 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar15 == 0) { + FUN_140002190((longlong *)&local_res8,PTR_DAT_14016f010,uVar13,uVar16); + } + else { + uVar3 = uVar12; + if ((local_res8 != (uint *)0x0) && (local_res8 != (uint *)PTR_DAT_14016f010)) { + uVar3 = local_res8[-2]; + } + if (uVar15 != uVar3) { + puVar5 = (uint *)FUN_14003e840((longlong)(int)uVar15 * 2 + 10); + if (puVar5 != (uint *)0x0) { + *puVar5 = 0; + puVar5[1] = 1; + } + *puVar5 = uVar15; + uVar3 = 0; + if ((local_res8 != (uint *)0x0) && (local_res8 != (uint *)PTR_DAT_14016f010)) { + uVar3 = local_res8[-2]; + } + puVar11 = (uint *)PTR_DAT_14016f010; + if ((int)uVar15 < (int)uVar3) { +LAB_14005faf4: + if (local_res8 != (uint *)0x0) { + puVar11 = local_res8; + } + } + else { + uVar15 = uVar12; + if (local_res8 != (uint *)0x0) { + if (local_res8 != (uint *)PTR_DAT_14016f010) { + uVar15 = local_res8[-2]; + } + goto LAB_14005faf4; + } + } + uVar14 = (ulonglong)uVar15; + FUN_14003e650(puVar5 + 2,puVar11,uVar15); + FUN_140002190((longlong *)&local_res8,puVar11,uVar14,uVar16); + local_res8 = puVar5 + 2; + } + } + } + uVar14 = 0; + FUN_140001df0((longlong *)&local_res8); + puVar5 = local_res8; + if (local_res8 == (uint *)0x0) { + puVar5 = (uint *)PTR_DAT_14016f010; + } + FUN_14003e650(puVar5,param_3,uVar2); + puVar5 = local_res8; + if (local_res8 == (uint *)0x0) { + puVar5 = (uint *)PTR_DAT_14016f010; + } + uVar2 = FUN_14003e620((short *)puVar5); + uVar12 = 0; + uVar9 = uVar14; + if (0 < (int)uVar2) { + uVar9 = (ulonglong)uVar2; + } + uVar2 = uVar12; + if ((local_res8 != (uint *)0x0) && (local_res8 != (uint *)PTR_DAT_14016f010)) { + uVar2 = local_res8[-2]; + } + uVar3 = (uint)uVar9; + if (((int)uVar2 <= (int)(uint)uVar9) && (uVar3 = uVar12, local_res8 != (uint *)0x0)) { + if (local_res8 == (uint *)PTR_DAT_14016f010) goto LAB_14005fba2; + uVar3 = local_res8[-2]; + } + if (((local_res8 != (uint *)PTR_DAT_14016f010) && (local_res8 != (uint *)0x0)) && + (local_res8 + -2 != (uint *)0x0)) { + local_res8[-2] = uVar3; + *(undefined2 *)((longlong)local_res8 + (longlong)(int)uVar3 * 2) = 0; + } +LAB_14005fba2: + if (uVar18 != 0) { + uVar14 = (ulonglong)*(uint *)(uVar18 + 0x6f8); + } + local_58 = 0; + local_50 = 0; + local_48 = 0; + local_40 = 0; + local_60 = Proud::ByteArray::vftable; + ppuVar17 = &local_res8; + plVar6 = FUN_140071c20(&local_res10,0x1f,uVar14,(longlong *)ppuVar17,(longlong)&local_60); + lVar8 = *param_1; + (**(code **)(lVar8 + 0x88))(param_1); + pppuVar10 = &local_60; + FUN_140049e40(pppuVar10); + puVar5 = local_res8; + if (((local_res8 != (uint *)0x0) && (local_res8 != (uint *)PTR_DAT_14016f010)) && + (puVar11 = local_res8 + -2, puVar11 != (uint *)0x0)) { + piVar7 = (int *)FUN_14003e7c0(pppuVar10,plVar6,lVar8,ppuVar17); + FUN_14003d040(piVar7); + puVar5 = puVar5 + -1; + *puVar5 = *puVar5 - 1; + if (*puVar5 == 0) { + FUN_14003e8b0(puVar11); + } + FUN_14003d0d0((longlong)piVar7); + } + FUN_14003d0d0((longlong)piVar4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14005fc80.c b/decomp/AgentManager_Release_x64/full/functions/0x14005fc80.c new file mode 100644 index 00000000..ebbc4a33 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14005fc80.c @@ -0,0 +1,37 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14005fc80 FUN_14005fc80 + * Pseudocode, not original source. */ + +undefined8 * FUN_14005fc80(longlong param_1,uint param_2,uint param_3,undefined8 param_4) + +{ + longlong *plVar1; + longlong *local_res8; + undefined8 *local_28; + undefined8 local_20; + + local_20 = 0xfffffffffffffffe; + local_res8 = (longlong *)0x0; + plVar1 = FUN_14005d550(param_1 + 0x230,(longlong *)&local_28,param_2,param_3); + if (*plVar1 != 0) { + *(longlong *)(*plVar1 + 8) = *(longlong *)(*plVar1 + 8) + 1; + local_res8 = (longlong *)*plVar1; + } + if ((local_28 != (undefined8 *)0x0) && (local_28[1] = local_28[1] + -1, local_28[1] == 0)) { + local_28 = (undefined8 *)FUN_14004e450(local_28); + } + if ((local_res8 != (longlong *)0x0) && + (local_28 = (undefined8 *)*local_res8, local_28 != (undefined8 *)0x0)) { + local_28[0x31] = param_4; + } + if (local_res8 != (longlong *)0x0) { + plVar1 = local_res8 + 1; + *plVar1 = *plVar1 + -1; + local_28 = (undefined8 *)local_res8[1]; + if (*plVar1 == 0) { + local_28 = (undefined8 *)FUN_14004e450(local_res8); + } + } + return local_28; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14005fd40.c b/decomp/AgentManager_Release_x64/full/functions/0x14005fd40.c new file mode 100644 index 00000000..6d69548d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14005fd40.c @@ -0,0 +1,94 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14005fd40 FUN_14005fd40 + * Pseudocode, not original source. */ + +/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ + +void FUN_14005fd40(longlong *param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined *puVar1; + int *piVar2; + int iVar3; + undefined *puVar4; + uint uVar5; + longlong *plVar6; + undefined **ppuVar7; + undefined ***pppuVar8; + ulonglong uVar9; + longlong lVar10; + double dVar11; + undefined *local_res8; + longlong local_res10; + undefined **local_60; + undefined4 local_58; + undefined2 local_54; + undefined **local_50; + undefined8 local_48; + undefined8 local_40; + undefined8 local_38; + undefined8 local_30; + + iVar3 = *(int *)(param_2[0xe9] + 0x7c); + pppuVar8 = (undefined ***)param_2[0xe8]; + uVar9 = 0; + if (((pppuVar8 != (undefined ***)0x0) && (uVar9 = 0, *pppuVar8 != (undefined **)0x0)) && + ((char)param_2[0xe0] != '\0')) { + local_60 = Proud::AddrPort::vftable; + local_58 = (undefined4)param_2[0xe2]; + local_54 = *(undefined2 *)((longlong)param_2 + 0x714); + ppuVar7 = *pppuVar8; + pppuVar8 = &local_60; + uVar5 = FUN_14008caf0((longlong)ppuVar7[0x2d],(longlong)pppuVar8); + uVar9 = (ulonglong)uVar5; + } + *(int *)(param_2 + 0x3d) = (int)uVar9 + iVar3; + plVar6 = param_1 + 0x23; + dVar11 = (double)(**(code **)(*plVar6 + 8))(); + if ((double)param_2[0x44] == 0.0) { + if (DAT_14016f194 < (int)param_2[0x3d]) { + param_2[0x44] = (longlong)dVar11; + } + } + else if (DAT_14016f194 < (int)param_2[0x3d]) { + if (_DAT_14016f1b0 < dVar11 - (double)param_2[0x44]) { + FUN_14003e7c0(plVar6,pppuVar8,uVar9,param_4); + local_res8 = PTR_DAT_14016f010; + FUN_140029b80((longlong *)&local_res8,L"sendQueue %dBytes", + (ulonglong)*(uint *)(param_2 + 0x3d),param_4); + local_48 = 0; + local_40 = 0; + local_38 = 0; + local_30 = 0; + local_50 = Proud::ByteArray::vftable; + uVar5 = (**(code **)(*param_2 + 0x10))(param_2); + ppuVar7 = &local_res8; + plVar6 = FUN_140071c20(&local_res10,0x25,(ulonglong)uVar5,(longlong *)ppuVar7, + (longlong)&local_50); + lVar10 = *param_1; + (**(code **)(lVar10 + 0x88))(param_1); + pppuVar8 = &local_50; + FUN_140049e40(pppuVar8); + puVar4 = local_res8; + param_2[0x44] = (longlong)dVar11; + if (((local_res8 != (undefined *)0x0) && (local_res8 != PTR_DAT_14016f010)) && + (puVar1 = local_res8 + -8, puVar1 != (undefined *)0x0)) { + ppuVar7 = (undefined **)FUN_14003e7c0(pppuVar8,plVar6,lVar10,ppuVar7); + local_60 = ppuVar7; + FUN_14003d040((int *)ppuVar7); + local_58 = CONCAT31(local_58._1_3_,1); + piVar2 = (int *)(puVar4 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(puVar1); + } + FUN_14003d0d0((longlong)ppuVar7); + } + } + } + else { + param_2[0x44] = 0; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14005ff50.c b/decomp/AgentManager_Release_x64/full/functions/0x14005ff50.c new file mode 100644 index 00000000..afa87700 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14005ff50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14005ff50 FUN_14005ff50 + * Pseudocode, not original source. */ + +void FUN_14005ff50(char *param_1) + +{ + FUN_14005d8a0(param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14005ff70.c b/decomp/AgentManager_Release_x64/full/functions/0x14005ff70.c new file mode 100644 index 00000000..61e9440f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14005ff70.c @@ -0,0 +1,115 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14005ff70 FUN_14005ff70 + * Pseudocode, not original source. */ + +void FUN_14005ff70(char *param_1) + +{ + LPVOID pvVar1; + undefined8 *puVar2; + void *pvVar3; + longlong *plVar4; + LPVOID pvVar5; + uint uVar6; + ulonglong uVar7; + longlong lVar8; + float fVar9; + + *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + 1; + FUN_1400c8cb0(param_1); + pvVar5 = *(LPVOID *)(param_1 + 0x10); + while (pvVar5 != (LPVOID)0x0) { + pvVar1 = *(LPVOID *)((longlong)pvVar5 + 0x10); + if ((*(longlong *)((longlong)pvVar5 + 8) != 0) && + (*(longlong *)(*(longlong *)((longlong)pvVar5 + 8) + 8) = + *(longlong *)(*(longlong *)((longlong)pvVar5 + 8) + 8) + -1, + *(longlong *)(*(longlong *)((longlong)pvVar5 + 8) + 8) == 0)) { + puVar2 = *(undefined8 **)((longlong)pvVar5 + 8); + pvVar3 = (void *)*puVar2; + if (pvVar3 != (void *)0x0) { + FUN_140049e40((undefined8 *)((longlong)pvVar3 + 0x148)); + FUN_140049e40((undefined8 *)((longlong)pvVar3 + 0x120)); + operator_delete(pvVar3); + } + FUN_14003e8b0(puVar2); + } + plVar4 = *(longlong **)(param_1 + 0x50); + if (plVar4 == (longlong *)0x0) { + FUN_14003e8b0(pvVar5); + } + else { + (**(code **)(*plVar4 + 0x18))(plVar4,pvVar5); + } + *(longlong *)(param_1 + 0x20) = *(longlong *)(param_1 + 0x20) + -1; + pvVar5 = pvVar1; + } + FUN_14003e8b0(*(LPVOID *)(param_1 + 8)); + param_1[8] = '\0'; + param_1[9] = '\0'; + param_1[10] = '\0'; + param_1[0xb] = '\0'; + param_1[0xc] = '\0'; + param_1[0xd] = '\0'; + param_1[0xe] = '\0'; + param_1[0xf] = '\0'; + param_1[0x20] = '\0'; + param_1[0x21] = '\0'; + param_1[0x22] = '\0'; + param_1[0x23] = '\0'; + param_1[0x24] = '\0'; + param_1[0x25] = '\0'; + param_1[0x26] = '\0'; + param_1[0x27] = '\0'; + param_1[0x10] = '\0'; + param_1[0x11] = '\0'; + param_1[0x12] = '\0'; + param_1[0x13] = '\0'; + param_1[0x14] = '\0'; + param_1[0x15] = '\0'; + param_1[0x16] = '\0'; + param_1[0x17] = '\0'; + param_1[0x18] = '\0'; + param_1[0x19] = '\0'; + param_1[0x1a] = '\0'; + param_1[0x1b] = '\0'; + param_1[0x1c] = '\0'; + param_1[0x1d] = '\0'; + param_1[0x1e] = '\0'; + param_1[0x1f] = '\0'; + FUN_1400c8cb0(param_1); + if (*(int *)(param_1 + 0x48) == 0) { + uVar6 = FUN_14009b970((longlong)param_1,*(longlong *)(param_1 + 0x20)); + if (*(LPVOID *)(param_1 + 8) != (LPVOID)0x0) { + FUN_14003e8b0(*(LPVOID *)(param_1 + 8)); + param_1[8] = '\0'; + param_1[9] = '\0'; + param_1[10] = '\0'; + param_1[0xb] = '\0'; + param_1[0xc] = '\0'; + param_1[0xd] = '\0'; + param_1[0xe] = '\0'; + param_1[0xf] = '\0'; + } + *(uint *)(param_1 + 0x28) = uVar6; + fVar9 = (float)uVar6 * *(float *)(param_1 + 0x34); + lVar8 = 0; + if ((9.223372e+18 < fVar9) && (fVar9 = fVar9 - 9.223372e+18, fVar9 < 9.223372e+18)) { + lVar8 = -0x8000000000000000; + } + *(longlong *)(param_1 + 0x38) = (longlong)fVar9 + lVar8; + fVar9 = (float)uVar6 * *(float *)(param_1 + 0x30); + lVar8 = 0; + if ((9.223372e+18 < fVar9) && (fVar9 = fVar9 - 9.223372e+18, fVar9 < 9.223372e+18)) { + lVar8 = -0x8000000000000000; + } + uVar7 = (longlong)fVar9 + lVar8; + if ((ulonglong)((longlong)fVar9 + lVar8) < 0x11) { + uVar7 = 0; + } + *(ulonglong *)(param_1 + 0x40) = uVar7; + } + FUN_1400c8cb0(param_1); + *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + -1; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140060120.c b/decomp/AgentManager_Release_x64/full/functions/0x140060120.c new file mode 100644 index 00000000..0373fb4e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140060120.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140060120 FUN_140060120 + * Pseudocode, not original source. */ + +undefined8 * FUN_140060120(char *param_1,longlong param_2) + +{ + longlong lVar1; + ulonglong uVar2; + undefined8 *puVar3; + uint uVar4; + uint uVar5; + + uVar4 = (uint)*(ushort *)(param_2 + 0xc) ^ *(uint *)(param_2 + 8); + uVar2 = (ulonglong)uVar4 % (ulonglong)*(uint *)(param_1 + 0x28); + uVar5 = (uint)uVar2; + if (*(longlong *)(param_1 + 8) != 0) { + for (lVar1 = *(longlong *)(*(longlong *)(param_1 + 8) + uVar2 * 8); + (lVar1 != 0 && (uVar5 == *(uint *)(lVar1 + 0x28) % *(uint *)(param_1 + 0x28))); + lVar1 = *(longlong *)(lVar1 + 0x18)) { + if ((*(uint *)(lVar1 + 8) == *(uint *)(param_2 + 8)) && + (*(ushort *)(lVar1 + 0xc) == *(ushort *)(param_2 + 0xc))) { + return (undefined8 *)(lVar1 + 0x10); + } + } + } + puVar3 = FUN_14005dbd0(param_1,param_2,uVar5,uVar4); + return puVar3 + 2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400601d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400601d0.c new file mode 100644 index 00000000..659422a5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400601d0.c @@ -0,0 +1,23 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400601d0 FUN_1400601d0 + * Pseudocode, not original source. */ + +undefined8 * FUN_1400601d0(char *param_1,undefined8 *param_2,uint param_3,undefined4 param_4) + +{ + undefined8 uVar1; + undefined8 *puVar2; + + if (*(longlong *)(param_1 + 8) == 0) { + uVar1 = FUN_14004c640((longlong)param_1,*(uint *)(param_1 + 0x28),'\x01'); + if ((char)uVar1 == '\0') { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x8007000e); + } + } + FUN_1400c8cb0(param_1); + puVar2 = FUN_14005dc50(param_1,param_2,param_3,param_4); + FUN_1400c8cb0(param_1); + return puVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140060250.c b/decomp/AgentManager_Release_x64/full/functions/0x140060250.c new file mode 100644 index 00000000..3917a5eb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140060250.c @@ -0,0 +1,66 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140060250 FUN_140060250 + * Pseudocode, not original source. */ + +longlong * FUN_140060250(char *param_1,longlong *param_2,ulonglong param_3,undefined4 param_4) + +{ + longlong lVar1; + uint uVar2; + longlong *plVar3; + + plVar3 = *(longlong **)(param_1 + 0x50); + if (plVar3 == (longlong *)0x0) { + plVar3 = (longlong *)FUN_14003e840(0x28); + } + else { + plVar3 = (longlong *)(**(code **)(*plVar3 + 8))(plVar3,0x28,param_3,param_4,0xfffffffffffffffe); + } + if (plVar3 != (longlong *)0x0) { + FUN_14005cc60(plVar3,param_2,param_4); + } + lVar1 = *(longlong *)(*(longlong *)(param_1 + 8) + (param_3 & 0xffffffff) * 8); + FUN_1400c8cb0(param_1); + if (*(longlong *)(param_1 + 0x20) == 0) { + *(longlong **)(param_1 + 0x10) = plVar3; + *(longlong **)(param_1 + 0x18) = plVar3; + plVar3[3] = 0; + plVar3[2] = 0; + } + else { + FUN_1400c8cb0(param_1); + FUN_1400c8cb0(param_1); + if (lVar1 == 0) { + lVar1 = *(longlong *)(param_1 + 0x10); + plVar3[3] = 0; + plVar3[2] = lVar1; + if (lVar1 != 0) { + *(longlong **)(lVar1 + 0x18) = plVar3; + } + *(longlong **)(param_1 + 0x10) = plVar3; + } + else { + if (*(longlong *)(lVar1 + 0x18) == 0) { + *(longlong **)(param_1 + 0x10) = plVar3; + } + else { + *(longlong **)(*(longlong *)(lVar1 + 0x18) + 0x10) = plVar3; + } + plVar3[3] = *(longlong *)(lVar1 + 0x18); + plVar3[2] = lVar1; + *(longlong **)(lVar1 + 0x18) = plVar3; + } + } + *(longlong **)(*(longlong *)(param_1 + 8) + (param_3 & 0xffffffff) * 8) = plVar3; + *(longlong *)(param_1 + 0x20) = *(longlong *)(param_1 + 0x20) + 1; + FUN_1400c8cb0(param_1); + FUN_1400c8cb0(param_1); + if ((*(ulonglong *)(param_1 + 0x38) < *(ulonglong *)(param_1 + 0x20)) && + (*(int *)(param_1 + 0x48) == 0)) { + uVar2 = FUN_14009b970((longlong)param_1,*(ulonglong *)(param_1 + 0x20)); + FUN_1400c8de0(param_1,uVar2); + } + FUN_1400c8cb0(param_1); + return plVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400603a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400603a0.c new file mode 100644 index 00000000..7b6ffb56 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400603a0.c @@ -0,0 +1,65 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400603a0 FUN_1400603a0 + * Pseudocode, not original source. */ + +void FUN_1400603a0(char *param_1,longlong *param_2,char param_3) + +{ + uint uVar1; + ulonglong uVar2; + uint uVar3; + + if (param_2 == (longlong *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + uVar1 = *(uint *)(param_1 + 0x28); + uVar2 = (ulonglong)*(uint *)(param_2 + 4) % (ulonglong)uVar1; + if (*(longlong *)(param_1 + 0x20) == 1) { + *(undefined8 *)(*(longlong *)(param_1 + 8) + uVar2 * 8) = 0; + param_1[0x10] = '\0'; + param_1[0x11] = '\0'; + param_1[0x12] = '\0'; + param_1[0x13] = '\0'; + param_1[0x14] = '\0'; + param_1[0x15] = '\0'; + param_1[0x16] = '\0'; + param_1[0x17] = '\0'; + param_1[0x18] = '\0'; + param_1[0x19] = '\0'; + param_1[0x1a] = '\0'; + param_1[0x1b] = '\0'; + param_1[0x1c] = '\0'; + param_1[0x1d] = '\0'; + param_1[0x1e] = '\0'; + param_1[0x1f] = '\0'; + } + else { + uVar3 = (uint)uVar2; + if (((param_2[3] == 0) || (*(uint *)(param_2[3] + 0x20) % uVar1 != uVar3)) && + ((param_2[2] == 0 || (*(uint *)(param_2[2] + 0x20) % uVar1 != uVar3)))) { + *(undefined8 *)(*(longlong *)(param_1 + 8) + uVar2 * 8) = 0; + } + else if (param_2 == *(longlong **)(*(longlong *)(param_1 + 8) + (longlong)(int)uVar3 * 8)) { + *(longlong *)(*(longlong *)(param_1 + 8) + uVar2 * 8) = param_2[2]; + } + if (param_2 == *(longlong **)(param_1 + 0x10)) { + *(longlong *)(param_1 + 0x10) = param_2[2]; + param_2[3] = 0; + } + if (param_2 == *(longlong **)(param_1 + 0x18)) { + *(longlong *)(param_1 + 0x18) = param_2[3]; + param_2[2] = 0; + } + if (param_2[3] != 0) { + *(longlong *)(param_2[3] + 0x10) = param_2[2]; + } + if (param_2[2] != 0) { + *(longlong *)(param_2[2] + 0x18) = param_2[3]; + } + } + FUN_14005dda0(param_1,param_2,param_3); + FUN_1400c8cb0(param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400604a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400604a0.c new file mode 100644 index 00000000..e404993f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400604a0.c @@ -0,0 +1,255 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400604a0 FUN_1400604a0 + * Pseudocode, not original source. */ + +ulonglong FUN_1400604a0(longlong param_1,ulonglong param_2,ulonglong *param_3,undefined8 param_4) + +{ + longlong *plVar1; + undefined8 *puVar2; + undefined8 *puVar3; + uint uVar4; + uint uVar5; + ulonglong *puVar6; + undefined8 uVar7; + uint *puVar8; + ulonglong *puVar9; + int *piVar10; + undefined ***pppuVar11; + undefined8 **ppuVar12; + char *pcVar13; + uint *puVar14; + uint uVar15; + uint uVar16; + uint uVar17; + ulonglong *puVar18; + longlong *plVar19; + ulonglong uVar20; + uint **ppuVar21; + uint *local_res8; + int *local_res20; + undefined8 *local_98; + undefined8 local_90; + int *local_88; + undefined1 local_80; + int *local_78; + undefined1 local_70; + undefined **local_68; + undefined8 local_60; + undefined8 local_58; + undefined8 local_50; + undefined8 local_48; + + local_90 = 0xfffffffffffffffe; + plVar19 = (longlong *)(param_2 & 0xffffffff); + puVar18 = param_3; + local_res8 = (uint *)FUN_14003e840(0x400); + puVar9 = (ulonglong *)0x0; + uVar16 = 0; + uVar17 = 0; + puVar6 = puVar9; + if (local_res8 != (uint *)0x0) { + puVar18 = (ulonglong *)(param_1 + 0x60); + if (param_1 == 0) { + puVar18 = puVar9; + } + puVar6 = FUN_140043f50((undefined8 *)local_res8,0,puVar18,param_4); + } + if (puVar6 == (ulonglong *)0x0) { + local_98 = (undefined8 *)0x0; + } + else { + local_98 = (undefined8 *)FUN_14003e840(0x10); + local_98[1] = 1; + *local_98 = puVar6; + } + puVar2 = local_98; + ppuVar12 = &local_98; + FUN_140040510((longlong *)(param_1 + 0x748),(longlong *)ppuVar12); + puVar3 = local_98; + if (puVar2 != (undefined8 *)0x0) { + plVar1 = puVar2 + 1; + *plVar1 = *plVar1 + -1; + if (*plVar1 == 0) { + plVar1 = (longlong *)*local_98; + if (plVar1 != (longlong *)0x0) { + FUN_140043e60(plVar1,ppuVar12,(longlong *)puVar18,param_4); + FUN_14003e8b0(plVar1); + } + FUN_14003e8b0(puVar3); + } + } + puVar6 = puVar9; + if (*(undefined8 **)(param_1 + 0x748) != (undefined8 *)0x0) { + puVar6 = (ulonglong *)**(undefined8 **)(param_1 + 0x748); + } + *(undefined1 *)((longlong)puVar6 + 0x314) = 1; + pcVar13 = *(char **)(param_1 + 0x218); + if (*(char **)(param_1 + 0x218) == (char *)0x0) { + pcVar13 = PTR_DAT_14016f008; + } + puVar6 = puVar9; + if (*(undefined8 **)(param_1 + 0x748) != (undefined8 *)0x0) { + puVar6 = (ulonglong *)**(undefined8 **)(param_1 + 0x748); + } + uVar7 = FUN_140045590((longlong)puVar6,pcVar13,(short)plVar19,param_4); + if ((char)uVar7 != '\0') { + puVar6 = puVar9; + if (*(undefined8 **)(param_1 + 0x748) != (undefined8 *)0x0) { + puVar6 = (ulonglong *)**(undefined8 **)(param_1 + 0x748); + } + FUN_140044f60((longlong)puVar6,pcVar13,plVar19,param_4); + puVar6 = puVar9; + if (*(undefined8 **)(param_1 + 0x748) != (undefined8 *)0x0) { + puVar6 = (ulonglong *)**(undefined8 **)(param_1 + 0x748); + } + FUN_140043150((longlong)puVar6,param_1 + 0xb0,plVar19,param_4); + if (*(undefined8 **)(param_1 + 0x748) != (undefined8 *)0x0) { + puVar9 = (ulonglong *)**(undefined8 **)(param_1 + 0x748); + } + uVar7 = FUN_140047fc0(*(longlong *)(param_1 + 0x790),(longlong *)puVar9,plVar19,param_4); + return CONCAT71((int7)((ulonglong)uVar7 >> 8),1); + } + FUN_14003e7c0(puVar6,pcVar13,plVar19,param_4); + local_res8 = (uint *)PTR_DAT_14016f010; + uVar4 = FUN_14003e620(&DAT_140131724); + if ((local_res8 != (uint *)0x0) && + (puVar9 = (ulonglong *)0x0, local_res8 != (uint *)PTR_DAT_14016f010)) { + puVar9 = (ulonglong *)(ulonglong)local_res8[-2]; + } + uVar5 = uVar4; + if ((((int)uVar4 <= (int)puVar9) && (uVar5 = uVar17, local_res8 != (uint *)0x0)) && + (local_res8 != (uint *)PTR_DAT_14016f010)) { + uVar5 = local_res8[-2]; + } + uVar15 = 1; + if (1 < (int)uVar5) { + uVar15 = uVar5; + } + uVar5 = uVar17; + if ((local_res8 != (uint *)0x0) && (local_res8 != (uint *)PTR_DAT_14016f010)) { + uVar5 = local_res8[-2]; + } + if ((int)uVar5 < (int)uVar15) { + if (local_res8 == (uint *)0x0) { + local_res8 = (uint *)PTR_DAT_14016f010; + } + if ((int)uVar15 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar15 == 0) { + FUN_140002190((longlong *)&local_res8,PTR_DAT_14016f010,puVar9,param_4); + } + else { + uVar5 = uVar17; + if ((local_res8 != (uint *)0x0) && (local_res8 != (uint *)PTR_DAT_14016f010)) { + uVar5 = local_res8[-2]; + } + if (uVar15 != uVar5) { + puVar8 = (uint *)FUN_14003e840((longlong)(int)uVar15 * 2 + 10); + if (puVar8 != (uint *)0x0) { + *puVar8 = 0; + puVar8[1] = 1; + } + *puVar8 = uVar15; + uVar5 = uVar17; + if ((local_res8 != (uint *)0x0) && (local_res8 != (uint *)PTR_DAT_14016f010)) { + uVar5 = local_res8[-2]; + } + puVar14 = (uint *)PTR_DAT_14016f010; + if ((int)uVar15 < (int)uVar5) { +LAB_1400606bd: + if (local_res8 != (uint *)0x0) { + puVar14 = local_res8; + } + } + else { + uVar15 = uVar17; + if (local_res8 != (uint *)0x0) { + if (local_res8 != (uint *)PTR_DAT_14016f010) { + uVar15 = local_res8[-2]; + } + goto LAB_1400606bd; + } + } + uVar20 = (ulonglong)uVar15; + FUN_14003e650(puVar8 + 2,puVar14,uVar15); + FUN_140002190((longlong *)&local_res8,puVar14,uVar20,param_4); + local_res8 = puVar8 + 2; + } + } + } + FUN_140001df0((longlong *)&local_res8); + puVar8 = local_res8; + if (local_res8 == (uint *)0x0) { + puVar8 = (uint *)PTR_DAT_14016f010; + } + FUN_14003e650(puVar8,&DAT_140131724,uVar4); + puVar8 = local_res8; + if (local_res8 == (uint *)0x0) { + puVar8 = (uint *)PTR_DAT_14016f010; + } + uVar4 = FUN_14003e620((short *)puVar8); + uVar17 = uVar16; + if (0 < (int)uVar4) { + uVar17 = uVar4; + } + uVar4 = uVar16; + if ((local_res8 != (uint *)0x0) && (local_res8 != (uint *)PTR_DAT_14016f010)) { + uVar4 = local_res8[-2]; + } + if (((int)uVar4 <= (int)uVar17) && (uVar17 = uVar16, local_res8 != (uint *)0x0)) { + if (local_res8 == (uint *)PTR_DAT_14016f010) goto LAB_14006076d; + uVar17 = local_res8[-2]; + } + if (((local_res8 != (uint *)PTR_DAT_14016f010) && (local_res8 != (uint *)0x0)) && + (local_res8 + -2 != (uint *)0x0)) { + local_res8[-2] = uVar17; + *(undefined2 *)((longlong)local_res8 + (longlong)(int)uVar17 * 2) = 0; + } +LAB_14006076d: + local_60 = 0; + local_58 = 0; + local_50 = 0; + local_48 = 0; + local_68 = Proud::ByteArray::vftable; + ppuVar21 = &local_res8; + uVar7 = 1; + puVar9 = (ulonglong *) + FUN_140071c20((longlong *)&local_res20,0x10,1,(longlong *)ppuVar21,(longlong)&local_68); + FUN_14005d770(param_3,puVar9,uVar7,ppuVar21); + piVar10 = local_res20; + if (local_res20 != (int *)0x0) { + local_88 = local_res20; + FUN_14003d040(local_res20); + local_80 = 1; + *(longlong *)(local_res20 + 0x10) = *(longlong *)(local_res20 + 0x10) + -1; + if (*(longlong *)(local_res20 + 0x10) == 0) { + FUN_14003d0d0((longlong)piVar10); + local_80 = 0; + FUN_140038210(local_res20,puVar9,uVar7,ppuVar21); + } + else { + FUN_14003d0d0((longlong)piVar10); + } + } + pppuVar11 = &local_68; + FUN_140049e40(pppuVar11); + puVar8 = local_res8; + if (((local_res8 != (uint *)0x0) && (local_res8 != (uint *)PTR_DAT_14016f010)) && + (puVar14 = local_res8 + -2, puVar14 != (uint *)0x0)) { + piVar10 = (int *)FUN_14003e7c0(pppuVar11,puVar9,uVar7,ppuVar21); + local_78 = piVar10; + FUN_14003d040(piVar10); + local_70 = 1; + puVar8 = puVar8 + -1; + *puVar8 = *puVar8 - 1; + if (*puVar8 == 0) { + FUN_14003e8b0(puVar14); + } + local_res8 = (uint *)FUN_14003d0d0((longlong)piVar10); + } + return (ulonglong)local_res8 & 0xffffffffffffff00; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400608f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400608f0.c new file mode 100644 index 00000000..5250c6b2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400608f0.c @@ -0,0 +1,52 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400608f0 FUN_1400608f0 + * Pseudocode, not original source. */ + +void FUN_1400608f0(longlong *param_1,ulonglong *param_2,short *param_3,undefined8 param_4) + +{ + longlong *plVar1; + int *piVar2; + int *piVar3; + longlong lVar4; + undefined8 uVar5; + undefined **ppuVar6; + undefined *local_res8; + ulonglong *local_res10; + + local_res10 = param_2; + if (param_1[0x2fe] != 0) { + if (*param_2 == 0) { + piVar3 = (int *)0x0; + } + else { + piVar3 = *(int **)(*param_2 + 0x38); + } + plVar1 = FUN_140071d40(piVar3,(longlong *)&local_res8,param_3,param_4); + param_3 = (short *)*plVar1; + if (param_3 == (short *)0x0) { + param_3 = (short *)PTR_DAT_14016f010; + } + uVar5 = 0; + lVar4 = param_1[0x2fe]; + FUN_1400843d0(lVar4,0,param_3,param_4); + if (((local_res8 != (undefined *)0x0) && (local_res8 != PTR_DAT_14016f010)) && + (local_res8 + -8 != (undefined *)0x0)) { + piVar2 = (int *)FUN_14003e7c0(lVar4,uVar5,param_3,param_4); + FUN_14003d040(piVar2); + piVar3 = (int *)(local_res8 + -4); + *piVar3 = *piVar3 + -1; + if (*piVar3 == 0) { + FUN_14003e8b0(local_res8 + -8); + } + FUN_14003d0d0((longlong)piVar2); + } + } + local_res8 = (undefined *)0x0; + FUN_14005d770((ulonglong *)&local_res8,param_2,param_3,param_4); + ppuVar6 = &local_res8; + FUN_140077c70(param_1,(longlong *)ppuVar6,param_3,param_4); + FUN_140038280((longlong *)param_2,ppuVar6,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400609e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400609e0.c new file mode 100644 index 00000000..f6becf0c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400609e0.c @@ -0,0 +1,41 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400609e0 FUN_1400609e0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __chkstk replaced with injection: alloca_probe */ +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_1400609e0(undefined8 param_1,undefined8 param_2,undefined *param_3,undefined8 param_4) + +{ + undefined1 auStack_1138 [56]; + undefined **local_1100; + longlong *local_10f8; + longlong *local_10f0; + int local_10e8; + undefined4 local_10d8 [1048]; + undefined8 local_78; + ulonglong local_40; + undefined8 local_10; + + local_10 = 0xfffffffffffffffe; + local_40 = DAT_14016f5a0 ^ (ulonglong)auStack_1138; + FUN_140093320(&local_1100,param_2,param_3,param_4); + local_78 = param_1; + FUN_140093390((undefined *)&local_1100,param_2,param_3,param_4); + FUN_140092d10(local_10d8,param_2,param_3,param_4); + local_1100 = Proud::CFastArray,0>::vftable; + if (0 < local_10e8) { + FUN_14005cbc0(local_10f0,(longlong)local_10e8); + } + if (local_10f0 != (longlong *)0x0) { + if (local_10f8 == (longlong *)0x0) { + FUN_14003e8b0(local_10f0); + } + else { + (**(code **)(*local_10f8 + 0x18))(local_10f8,local_10f0); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140060ab0.c b/decomp/AgentManager_Release_x64/full/functions/0x140060ab0.c new file mode 100644 index 00000000..0e1f8cb2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140060ab0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140060ab0 FUN_140060ab0 + * Pseudocode, not original source. */ + +void FUN_140060ab0(char *param_1) + +{ + FUN_14005ff70(param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140060ad0.c b/decomp/AgentManager_Release_x64/full/functions/0x140060ad0.c new file mode 100644 index 00000000..316e5998 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140060ad0.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140060ad0 FUN_140060ad0 + * Pseudocode, not original source. */ + +undefined8 FUN_140060ad0(char *param_1,longlong param_2,longlong *param_3) + +{ + uint uVar1; + longlong lVar2; + ulonglong uVar3; + longlong *plVar4; + undefined8 uVar5; + + uVar1 = *(uint *)(param_1 + 0x28); + uVar3 = (ulonglong)((uint)*(ushort *)(param_2 + 0xc) ^ *(uint *)(param_2 + 8)) % (ulonglong)uVar1; + if (*(longlong *)(param_1 + 8) != 0) { + for (lVar2 = *(longlong *)(*(longlong *)(param_1 + 8) + uVar3 * 8); + (lVar2 != 0 && ((uint)uVar3 == *(uint *)(lVar2 + 0x28) % uVar1)); + lVar2 = *(longlong *)(lVar2 + 0x18)) { + if ((*(uint *)(lVar2 + 8) == *(uint *)(param_2 + 8)) && + (*(ushort *)(lVar2 + 0xc) == *(ushort *)(param_2 + 0xc))) { + return (ulonglong)*(uint *)(lVar2 + 0x28) / (ulonglong)uVar1 & 0xffffff00; + } + } + } + plVar4 = FUN_140060120(param_1,param_2); + uVar5 = FUN_14009d860(plVar4,param_3); + return CONCAT71((int7)((ulonglong)uVar5 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140060b80.c b/decomp/AgentManager_Release_x64/full/functions/0x140060b80.c new file mode 100644 index 00000000..d87b87fb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140060b80.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140060b80 FUN_140060b80 + * Pseudocode, not original source. */ + +void FUN_140060b80(longlong *param_1,longlong *param_2) + +{ + longlong lVar1; + LPVOID pvVar2; + undefined8 *puVar3; + longlong lVar4; + + lVar1 = *param_2; + if (lVar1 != *param_1) { + lVar4 = 0; + if (lVar1 != 0) { + lVar4 = *(longlong *)(lVar1 + 8) + 1; + *(longlong *)(*param_2 + 8) = lVar4; + } + puVar3 = (undefined8 *)0x0; + if ((*param_1 != 0) && + (*(longlong *)(*param_1 + 8) = *(longlong *)(*param_1 + 8) + -1, + *(longlong *)(*param_1 + 8) == 0)) { + puVar3 = (undefined8 *)*param_1; + } + *param_1 = *param_2; + if (puVar3 != (undefined8 *)0x0) { + pvVar2 = (LPVOID)*puVar3; + if (pvVar2 != (LPVOID)0x0) { + FUN_1400519b0((longlong)pvVar2,param_2,lVar4,param_1); + FUN_14003e8b0(pvVar2); + } + FUN_14003e8b0(puVar3); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140060c10.c b/decomp/AgentManager_Release_x64/full/functions/0x140060c10.c new file mode 100644 index 00000000..fb3f813e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140060c10.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140060c10 FUN_140060c10 + * Pseudocode, not original source. */ + +int * FUN_140060c10(char *param_1,int *param_2) + +{ + int *piVar1; + ulonglong uVar2; + undefined8 *puVar3; + uint uVar4; + uint uVar5; + + uVar4 = *param_2 << 0x10 ^ param_2[1]; + uVar2 = (ulonglong)uVar4 % (ulonglong)*(uint *)(param_1 + 0x28); + uVar5 = (uint)uVar2; + if (*(longlong *)(param_1 + 8) != 0) { + for (piVar1 = *(int **)(*(longlong *)(param_1 + 8) + uVar2 * 8); + (piVar1 != (int *)0x0 && (uVar5 == (uint)piVar1[8] % *(uint *)(param_1 + 0x28))); + piVar1 = *(int **)(piVar1 + 4)) { + if ((*piVar1 == *param_2) && (piVar1[1] == param_2[1])) { + return piVar1 + 2; + } + } + } + puVar3 = FUN_1400601d0(param_1,(undefined8 *)param_2,uVar5,uVar4); + return (int *)(puVar3 + 1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140060cc0.c b/decomp/AgentManager_Release_x64/full/functions/0x140060cc0.c new file mode 100644 index 00000000..ee763f5b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140060cc0.c @@ -0,0 +1,23 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140060cc0 FUN_140060cc0 + * Pseudocode, not original source. */ + +longlong * FUN_140060cc0(char *param_1,longlong *param_2,uint param_3,undefined4 param_4) + +{ + undefined8 uVar1; + longlong *plVar2; + + if (*(longlong *)(param_1 + 8) == 0) { + uVar1 = FUN_14004c640((longlong)param_1,*(uint *)(param_1 + 0x28),'\x01'); + if ((char)uVar1 == '\0') { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x8007000e); + } + } + FUN_1400c8cb0(param_1); + plVar2 = FUN_140060250(param_1,param_2,(ulonglong)param_3,param_4); + FUN_1400c8cb0(param_1); + return plVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140060d40.c b/decomp/AgentManager_Release_x64/full/functions/0x140060d40.c new file mode 100644 index 00000000..0820da1a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140060d40.c @@ -0,0 +1,26 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140060d40 FUN_140060d40 + * Pseudocode, not original source. */ + +void FUN_140060d40(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 *puVar1; + LPVOID pvVar2; + + if (*(longlong *)(param_1 + 8) != 0) { + *(longlong *)(*(longlong *)(param_1 + 8) + 8) = + *(longlong *)(*(longlong *)(param_1 + 8) + 8) + -1; + if (*(longlong *)(*(longlong *)(param_1 + 8) + 8) == 0) { + puVar1 = *(undefined8 **)(param_1 + 8); + pvVar2 = (LPVOID)*puVar1; + if (pvVar2 != (LPVOID)0x0) { + FUN_1400519b0((longlong)pvVar2,0,param_3,param_4); + FUN_14003e8b0(pvVar2); + } + FUN_14003e8b0(puVar1); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140060db0.c b/decomp/AgentManager_Release_x64/full/functions/0x140060db0.c new file mode 100644 index 00000000..debed008 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140060db0.c @@ -0,0 +1,515 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140060db0 FUN_140060db0 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x000140060e73) */ +/* WARNING: Removing unreachable block (ram,0x000140060e7a) */ +/* WARNING: Removing unreachable block (ram,0x000140060e86) */ +/* WARNING: Removing unreachable block (ram,0x000140060eb0) */ +/* WARNING: Removing unreachable block (ram,0x000140060ed0) */ + +undefined8 +FUN_140060db0(longlong *param_1,int param_2,longlong **param_3,longlong param_4,ulonglong *param_5) + +{ + int iVar1; + char cVar2; + undefined4 uVar3; + uint uVar4; + uint uVar5; + int *piVar6; + undefined4 *puVar7; + longlong *plVar8; + undefined8 *puVar9; + longlong lVar11; + longlong lVar12; + uint *puVar13; + ulonglong *puVar14; + undefined **ppuVar15; + longlong *plVar16; + longlong *plVar17; + undefined ***pppuVar18; + char *pcVar19; + longlong *plVar20; + uint *puVar21; + int iVar22; + uint uVar23; + longlong lVar24; + longlong **pplVar25; + ulonglong uVar26; + uint uVar27; + longlong lVar28; + uint **ppuVar29; + longlong lVar30; + int local_res10; + uint *local_158; + longlong *local_150; + longlong local_148; + int *local_140; + longlong *local_138; + longlong *local_130; + longlong local_128; + int *local_120; + undefined1 local_118; + int *local_110; + undefined1 local_108; + uint local_100; + int local_fc; + undefined **local_f8; + undefined8 local_f0; + undefined8 local_e8; + undefined8 local_e0; + undefined8 local_d8; + longlong *local_d0; + undefined1 local_c8; + int *local_c0; + undefined1 local_b8; + undefined8 local_b0; + undefined8 local_a8 [2]; + exception local_98 [88]; + undefined8 uVar10; + + local_b0 = 0xfffffffffffffffe; + pplVar25 = param_3; + lVar28 = param_4; + piVar6 = (int *)(**(code **)(*param_1 + 0x58))(); + local_120 = piVar6; + FUN_14003d040(piVar6); + local_118 = 1; + if (DAT_14017614f != '\0') { + pplVar25 = (longlong **)*param_1; + (*(code *)pplVar25[0x19])(param_1); + } + if (param_2 == 0) { + FUN_140037ea0((longlong)param_3,(longlong)(param_1 + 0x309),pplVar25,lVar28); + FUN_14003d0d0((longlong)piVar6); + } + else { + if (*(int *)(param_3 + 3) == 0) { + local_fc = *(int *)(param_3 + 3); + FUN_140038010((longlong)param_3,1,pplVar25,lVar28); + puVar7 = (undefined4 *)FUN_140006d70((longlong)param_3); + *puVar7 = 0; + } + local_138 = param_1 + 0xd9; + plVar20 = (longlong *)0x0; + FUN_14005b190((longlong)local_138,0); + local_130 = param_1 + 0xde; + FUN_14005d8a0((char *)local_130); + local_res10 = 0; + local_148 = 0; + if (0 < *(int *)(param_3 + 3)) { + do { + lVar11 = local_148; + plVar16 = (longlong *)0x180; + plVar8 = (longlong *)FUN_14003e840(0x180); + local_150 = plVar8; + if (plVar8 == (longlong *)0x0) { + puVar9 = (undefined8 *)0x0; + } + else { + plVar20 = param_1; + puVar9 = FUN_140092050(plVar8,(longlong)param_1,pplVar25,lVar28); + plVar16 = plVar8; + } + if (puVar9 == (undefined8 *)0x0) { + plVar8 = (longlong *)0x0; + } + else { + plVar16 = (longlong *)0x10; + plVar8 = (longlong *)FUN_14003e840(0x10); + plVar8[1] = 1; + *plVar8 = (longlong)puVar9; + } + lVar24 = 0; + local_150 = plVar8; + if ((lVar11 < 0) || (*(int *)(param_3 + 3) <= local_res10)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(plVar16,plVar20,pplVar25,lVar28); + } + uVar4 = *(uint *)((longlong)param_3[2] + lVar11 * 4); + pcVar19 = (char *)param_1[0x43]; + lVar30 = lVar24; + local_100 = uVar4; + if (((pcVar19 == (char *)0x0) || (pcVar19 == PTR_DAT_14016f008)) || + (*(int *)(pcVar19 + -8) == 0)) { + lVar12 = lVar24; + if (plVar8 != (longlong *)0x0) { + lVar12 = *plVar8; + } + if (*(longlong **)(lVar12 + 0x150) != (longlong *)0x0) { + lVar30 = **(longlong **)(lVar12 + 0x150); + } + pcVar19 = (char *)(ulonglong)uVar4; + uVar3 = FUN_140045540(lVar30,(short)uVar4,pplVar25,lVar28); + cVar2 = (char)uVar3; + } + else { + lVar12 = lVar24; + if (plVar8 != (longlong *)0x0) { + lVar12 = *plVar8; + } + if (*(longlong **)(lVar12 + 0x150) != (longlong *)0x0) { + lVar30 = **(longlong **)(lVar12 + 0x150); + } + pplVar25 = (longlong **)(ulonglong)uVar4; + uVar10 = FUN_140045590(lVar30,pcVar19,(short)uVar4,lVar28); + cVar2 = (char)uVar10; + } + if (cVar2 == '\0') { + if (*(char *)((longlong)param_1 + 0x255) == '\0') { + FUN_14003e7c0(lVar30,pcVar19,pplVar25,lVar28); + local_158 = (uint *)PTR_DAT_14016f010; + uVar4 = FUN_14003e620(&DAT_140131724); + uVar5 = 0; + uVar26 = 0; + if ((local_158 != (uint *)0x0) && (local_158 != (uint *)PTR_DAT_14016f010)) { + uVar26 = (ulonglong)local_158[-2]; + } + uVar27 = uVar4; + if ((((int)uVar4 <= (int)uVar26) && (uVar27 = uVar5, local_158 != (uint *)0x0)) && + (local_158 != (uint *)PTR_DAT_14016f010)) { + uVar27 = local_158[-2]; + } + uVar23 = 1; + if (1 < (int)uVar27) { + uVar23 = uVar27; + } + uVar27 = uVar5; + if ((local_158 != (uint *)0x0) && (local_158 != (uint *)PTR_DAT_14016f010)) { + uVar27 = local_158[-2]; + } + if ((int)uVar27 < (int)uVar23) { + if (local_158 == (uint *)0x0) { + local_158 = (uint *)PTR_DAT_14016f010; + } + if ((int)uVar23 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar23 == 0) { + FUN_140002190((longlong *)&local_158,PTR_DAT_14016f010,uVar26,lVar28); + } + else { + uVar27 = uVar5; + if ((local_158 != (uint *)0x0) && (local_158 != (uint *)PTR_DAT_14016f010)) { + uVar27 = local_158[-2]; + } + if (uVar23 != uVar27) { + puVar13 = (uint *)FUN_14003e840((longlong)(int)uVar23 * 2 + 10); + if (puVar13 != (uint *)0x0) { + *puVar13 = 0; + puVar13[1] = 1; + } + *puVar13 = uVar23; + uVar27 = uVar5; + if ((local_158 != (uint *)0x0) && (local_158 != (uint *)PTR_DAT_14016f010)) { + uVar27 = local_158[-2]; + } + puVar21 = (uint *)PTR_DAT_14016f010; + if ((int)uVar23 < (int)uVar27) { +LAB_140061473: + if (local_158 != (uint *)0x0) { + puVar21 = local_158; + } + } + else { + uVar23 = uVar5; + if (local_158 != (uint *)0x0) { + if (local_158 != (uint *)PTR_DAT_14016f010) { + uVar23 = local_158[-2]; + } + goto LAB_140061473; + } + } + uVar26 = (ulonglong)uVar23; + FUN_14003e650(puVar13 + 2,puVar21,uVar23); + FUN_140002190((longlong *)&local_158,puVar21,uVar26,lVar28); + local_158 = puVar13 + 2; + } + } + } + FUN_140001df0((longlong *)&local_158); + puVar13 = local_158; + if (local_158 == (uint *)0x0) { + puVar13 = (uint *)PTR_DAT_14016f010; + } + FUN_14003e650(puVar13,&DAT_140131724,uVar4); + puVar13 = local_158; + if (local_158 == (uint *)0x0) { + puVar13 = (uint *)PTR_DAT_14016f010; + } + uVar5 = FUN_14003e620((short *)puVar13); + uVar27 = 0; + uVar4 = 0; + if (0 < (int)uVar5) { + uVar4 = uVar5; + } + uVar5 = uVar27; + if ((local_158 != (uint *)0x0) && (local_158 != (uint *)PTR_DAT_14016f010)) { + uVar5 = local_158[-2]; + } + if (((int)uVar5 <= (int)uVar4) && (uVar4 = uVar27, local_158 != (uint *)0x0)) { + if (local_158 == (uint *)PTR_DAT_14016f010) goto LAB_140061530; + uVar4 = local_158[-2]; + } + if (((local_158 != (uint *)PTR_DAT_14016f010) && (local_158 != (uint *)0x0)) && + (local_158 + -2 != (uint *)0x0)) { + local_158[-2] = uVar4; + *(undefined2 *)((longlong)local_158 + (longlong)(int)uVar4 * 2) = 0; + } +LAB_140061530: + local_f0 = 0; + local_e8 = 0; + local_e0 = 0; + local_d8 = 0; + local_f8 = Proud::ByteArray::vftable; + ppuVar29 = &local_158; + uVar10 = 1; + puVar14 = (ulonglong *) + FUN_140071c20((longlong *)&local_140,0x10,1,(longlong *)ppuVar29, + (longlong)&local_f8); + FUN_14005d770(param_5,puVar14,uVar10,ppuVar29); + piVar6 = local_140; + if (local_140 != (int *)0x0) { + local_110 = local_140; + FUN_14003d040(local_140); + local_108 = 1; + *(longlong *)(local_140 + 0x10) = *(longlong *)(local_140 + 0x10) + -1; + if (*(longlong *)(local_140 + 0x10) == 0) { + FUN_14003d0d0((longlong)piVar6); + local_108 = 0; + FUN_140038210(local_140,puVar14,uVar10,ppuVar29); + } + else { + FUN_14003d0d0((longlong)piVar6); + local_108 = 0; + } + } + pppuVar18 = &local_f8; + FUN_140049e40(pppuVar18); + puVar13 = local_158; + if (((local_158 != (uint *)0x0) && (local_158 != (uint *)PTR_DAT_14016f010)) && + (puVar21 = local_158 + -2, puVar21 != (uint *)0x0)) { + piVar6 = (int *)FUN_14003e7c0(pppuVar18,puVar14,uVar10,ppuVar29); + local_c0 = piVar6; + FUN_14003d040(piVar6); + local_b8 = 1; + puVar13 = puVar13 + -1; + *puVar13 = *puVar13 - 1; + if (*puVar13 == 0) { + FUN_14003e8b0(puVar21); + } + FUN_14003d0d0((longlong)piVar6); + local_b8 = 0; + } + local_158 = (uint *)PTR_DAT_14016f010; + FUN_14005b190((longlong)local_138,0); + FUN_14005d8a0((char *)local_130); + plVar20 = local_150; + if (plVar8 != (longlong *)0x0) { + plVar8 = plVar8 + 1; + *plVar8 = *plVar8 + -1; + if (*plVar8 == 0) { + puVar9 = (undefined8 *)*local_150; + if (puVar9 != (undefined8 *)0x0) { + (**(code **)*puVar9)(puVar9,1); + } + FUN_14003e8b0(plVar20); + } + } + FUN_14003d0d0((longlong)local_120); + ppuVar15 = Proud::CFastArray::vftable; + *param_3 = (longlong *)Proud::CFastArray::vftable; + if (param_3[2] != (longlong *)0x0) { + if (param_3[1] == (longlong *)0x0) { + ppuVar15 = (undefined **)FUN_14003e8b0(param_3[2]); + } + else { + ppuVar15 = (undefined **)(**(code **)(*param_3[1] + 0x18))(); + } + } + return (ulonglong)ppuVar15 & 0xffffffffffffff00; + } + iVar1 = *(int *)(param_4 + 0x18); + if (iVar1 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + iVar22 = *(int *)(param_4 + 0x18); + uVar5 = iVar22 + 1; + plVar20 = (longlong *)(ulonglong)uVar5; + FUN_140038010(param_4,uVar5,pplVar25,lVar28); + iVar22 = iVar22 - iVar1; + if ((0 < iVar22) && (iVar22 = iVar22 + -1, lVar24 = (longlong)iVar22, -1 < iVar22)) { + lVar30 = (iVar1 + lVar24) * 4 + 4; + do { + lVar11 = FUN_140006d70(param_4); + lVar12 = FUN_140006d70(param_4); + *(undefined4 *)(lVar12 + lVar30) = *(undefined4 *)(lVar11 + -4 + lVar30); + lVar30 = lVar30 + -4; + lVar24 = lVar24 + -1; + lVar11 = local_148; + } while (-1 < lVar24); + } + lVar24 = FUN_140006d70(param_4); + plVar16 = local_150; + *(uint *)(lVar24 + (longlong)iVar1 * 4) = uVar4; + if (plVar8 != (longlong *)0x0) { + plVar8 = plVar8 + 1; + *plVar8 = *plVar8 + -1; + if (*plVar8 == 0) { + if ((undefined8 *)*local_150 != (undefined8 *)0x0) { + plVar20 = (longlong *)0x1; + (*(code *)**(undefined8 **)*local_150)(); + } + FUN_14003e8b0(plVar16); + } + } + } + else { + lVar11 = lVar24; + if (plVar8 != (longlong *)0x0) { + lVar11 = *plVar8; + } + lVar30 = lVar24; + if (*(longlong **)(lVar11 + 0x150) != (longlong *)0x0) { + lVar30 = **(longlong **)(lVar11 + 0x150); + } + if (plVar8 != (longlong *)0x0) { + lVar24 = *plVar8; + } + puVar9 = FUN_140042ff0(lVar30,local_a8); + *(undefined4 *)(lVar24 + 0x160) = *(undefined4 *)(puVar9 + 1); + *(undefined2 *)(lVar24 + 0x164) = *(undefined2 *)((longlong)puVar9 + 0xc); + if (plVar8 == (longlong *)0x0) { + lVar11 = 0; + } + else { + lVar11 = *plVar8; + } + if (*(short *)(lVar11 + 0x164) == 0) { +LAB_1400616cd: + FUN_14003db10(local_98,L"m_cachedLocalAddr has an unexpected value!",pplVar25,lVar28); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_98,(ThrowInfo *)&DAT_14016c210); + } + if (plVar8 == (longlong *)0x0) { + lVar11 = 0; + } + else { + lVar11 = *plVar8; + } + if (*(short *)(lVar11 + 0x164) == -1) goto LAB_1400616cd; + iVar1 = (int)local_138[3]; + if (iVar1 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + lVar11 = local_138[3]; + FUN_14005b190((longlong)local_138,(int)lVar11 + 1); + plVar20 = local_138; + iVar22 = (int)lVar11 - iVar1; + if ((0 < iVar22) && (iVar22 = iVar22 + -1, -1 < iVar22)) { + lVar11 = (longlong)(iVar22 + iVar1 + 1) << 3; + lVar24 = (longlong)(iVar22 + iVar1) << 3; + do { + lVar30 = FUN_140074a30((longlong)plVar20); + lVar12 = FUN_140074a30((longlong)plVar20); + FUN_14009d860((longlong *)(lVar11 + lVar12),(longlong *)(lVar24 + lVar30)); + lVar24 = lVar24 + -8; + lVar11 = lVar11 + -8; + iVar22 = iVar22 + -1; + } while (-1 < iVar22); + } + lVar11 = FUN_140074a30((longlong)local_138); + FUN_14009d860((longlong *)(lVar11 + (longlong)iVar1 * 8),(longlong *)&local_150); + plVar16 = (longlong *)0x0; + plVar20 = plVar16; + if (plVar8 != (longlong *)0x0) { + plVar20 = (longlong *)*plVar8; + } + pplVar25 = &local_150; + FUN_140060ad0((char *)local_130,(longlong)(plVar20 + 0x2b),(longlong *)pplVar25); + plVar20 = plVar16; + if (plVar8 != (longlong *)0x0) { + plVar20 = (longlong *)*plVar8; + } + plVar17 = plVar16; + if ((undefined8 *)plVar20[0x2a] != (undefined8 *)0x0) { + plVar17 = *(longlong **)plVar20[0x2a]; + } + FUN_140043150((longlong)plVar17,plVar20,pplVar25,lVar28); + plVar20 = plVar16; + if (plVar8 != (longlong *)0x0) { + plVar20 = (longlong *)*plVar8; + } + plVar17 = plVar16; + if ((undefined8 *)plVar20[0x2a] != (undefined8 *)0x0) { + plVar17 = *(longlong **)plVar20[0x2a]; + } + FUN_140047fc0(param_1[0xf1],plVar17,(longlong *)pplVar25,lVar28); + plVar20 = plVar16; + if (plVar8 != (longlong *)0x0) { + plVar20 = (longlong *)*plVar8; + } + plVar17 = plVar16; + if ((undefined8 *)plVar20[0x2a] != (undefined8 *)0x0) { + plVar17 = *(longlong **)plVar20[0x2a]; + } + FUN_1400937f0((longlong)plVar17); + if ((plVar8 == (longlong *)0x0) || (plVar20 = (longlong *)(*plVar8 + 0x40), *plVar8 == 0)) + { + plVar20 = plVar16; + } + FUN_140091260(&local_128,(longlong)plVar20); + plVar17 = plVar16; + if (plVar8 != (longlong *)0x0) { + plVar17 = (longlong *)*plVar8; + } + plVar17 = plVar17 + 0x15; + local_d0 = plVar17; + FUN_14003d040((int *)plVar17); + local_c8 = 1; + if (plVar8 != (longlong *)0x0) { + plVar16 = (longlong *)*plVar8; + } + FUN_140091560((longlong)plVar16,plVar20,(undefined **)pplVar25,lVar28); + FUN_14003d0d0((longlong)plVar17); + local_c8 = 0; + FUN_140091270(&local_128); + plVar16 = local_150; + lVar11 = local_148; + if (plVar8 != (longlong *)0x0) { + plVar8 = plVar8 + 1; + *plVar8 = *plVar8 + -1; + if (*plVar8 == 0) { + if ((undefined8 *)*local_150 != (undefined8 *)0x0) { + plVar20 = (longlong *)0x1; + (*(code *)**(undefined8 **)*local_150)(); + } + FUN_14003e8b0(plVar16); + lVar11 = local_148; + } + } + } + local_res10 = local_res10 + 1; + local_148 = lVar11 + 1; + piVar6 = local_120; + } while (local_res10 < *(int *)(param_3 + 3)); + } + FUN_14003d0d0((longlong)piVar6); + } + ppuVar15 = Proud::CFastArray::vftable; + *param_3 = (longlong *)Proud::CFastArray::vftable; + if (param_3[2] != (longlong *)0x0) { + if (param_3[1] == (longlong *)0x0) { + ppuVar15 = (undefined **)FUN_14003e8b0(param_3[2]); + } + else { + ppuVar15 = (undefined **)(**(code **)(*param_3[1] + 0x18))(); + } + } + return CONCAT71((int7)((ulonglong)ppuVar15 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140061740.c b/decomp/AgentManager_Release_x64/full/functions/0x140061740.c new file mode 100644 index 00000000..b84ebee0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140061740.c @@ -0,0 +1,25 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140061740 FUN_140061740 + * Pseudocode, not original source. */ + +void FUN_140061740(longlong *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 *puVar1; + LPVOID pvVar2; + + if (*param_1 != 0) { + *(longlong *)(*param_1 + 8) = *(longlong *)(*param_1 + 8) + -1; + if (*(longlong *)(*param_1 + 8) == 0) { + puVar1 = (undefined8 *)*param_1; + pvVar2 = (LPVOID)*puVar1; + if (pvVar2 != (LPVOID)0x0) { + FUN_1400519b0((longlong)pvVar2,0,param_3,param_4); + FUN_14003e8b0(pvVar2); + } + FUN_14003e8b0(puVar1); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400617b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400617b0.c new file mode 100644 index 00000000..1c0f7b97 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400617b0.c @@ -0,0 +1,41 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400617b0 FUN_1400617b0 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x00014006181a) */ +/* WARNING: Removing unreachable block (ram,0x000140061823) */ +/* WARNING: Removing unreachable block (ram,0x000140061841) */ +/* WARNING: Removing unreachable block (ram,0x00014006184a) */ + +undefined1 * FUN_1400617b0(undefined1 *param_1) + +{ + *param_1 = 0; + *(undefined8 *)(param_1 + 0x50) = 0; + *(undefined8 *)(param_1 + 8) = 0; + *(undefined8 *)(param_1 + 0x10) = 0; + *(undefined8 *)(param_1 + 0x18) = 0; + *(undefined4 *)(param_1 + 0x28) = 0x11; + *(undefined8 *)(param_1 + 0x20) = 0; + *(undefined4 *)(param_1 + 0x48) = 0; + *(undefined4 *)(param_1 + 0x2c) = 0x3f400000; + *(undefined4 *)(param_1 + 0x30) = 0x3e800000; + *(undefined4 *)(param_1 + 0x34) = 0x40100000; + *(undefined8 *)(param_1 + 0x38) = 0x26; + *(undefined8 *)(param_1 + 0x40) = 0; + param_1[0x58] = 0; + *(undefined8 *)(param_1 + 0xa8) = 0; + *(undefined8 *)(param_1 + 0x60) = 0; + *(undefined8 *)(param_1 + 0x68) = 0; + *(undefined8 *)(param_1 + 0x70) = 0; + *(undefined4 *)(param_1 + 0x80) = 0x11; + *(undefined8 *)(param_1 + 0x78) = 0; + *(undefined4 *)(param_1 + 0xa0) = 0; + *(undefined4 *)(param_1 + 0x84) = 0x3f400000; + *(undefined4 *)(param_1 + 0x88) = 0x3e800000; + *(undefined4 *)(param_1 + 0x8c) = 0x40100000; + *(undefined8 *)(param_1 + 0x90) = 0x26; + *(undefined8 *)(param_1 + 0x98) = 0; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400618d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400618d0.c new file mode 100644 index 00000000..5f42ff01 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400618d0.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400618d0 FUN_1400618d0 + * Pseudocode, not original source. */ + +void FUN_1400618d0(char *param_1) + +{ + FUN_140060ab0(param_1 + 0x58); + FUN_140060ab0(param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140061900.c b/decomp/AgentManager_Release_x64/full/functions/0x140061900.c new file mode 100644 index 00000000..110bdf00 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140061900.c @@ -0,0 +1,606 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140061900 FUN_140061900 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +undefined8 FUN_140061900(longlong *param_1,longlong *param_2,longlong **param_3,uint **param_4) + +{ + int iVar1; + ushort uVar2; + uint uVar3; + uint uVar4; + undefined4 uVar5; + uint uVar6; + longlong *plVar7; + undefined4 extraout_var; + uint *puVar8; + int *piVar9; + longlong lVar10; + longlong lVar11; + longlong lVar12; + undefined4 extraout_var_00; + undefined8 *puVar13; + longlong *plVar14; + longlong *plVar15; + undefined ***pppuVar16; + longlong *plVar17; + longlong *plVar18; + uint uVar19; + char *pcVar20; + uint *puVar21; + ulonglong uVar22; + uint *puVar23; + uint uVar24; + int iVar25; + longlong lVar26; + longlong lVar27; + undefined1 auStackY_e68 [32]; + longlong *local_e38; + uint *local_e30; + uint local_e28; + uint local_e24; + longlong *local_e18; + longlong *local_e10; + longlong *local_e08; + uint uStack_e00; + undefined4 uStack_dfc; + undefined8 *local_df8; + undefined4 local_df0 [2]; + longlong local_de8; + longlong *local_de0; + uint local_dd8; + int local_dd4; + undefined **local_dc8; + undefined4 local_dc0; + undefined2 local_dbc; + longlong local_db8; + undefined **local_db0; + undefined8 local_da8; + undefined8 local_da0; + undefined8 local_d98; + undefined8 local_d90; + uint local_d88 [2]; + undefined8 local_d80; + undefined1 local_d78; + undefined4 local_d74; + undefined1 local_d70; + undefined1 local_d6f; + longlong *local_d68; + undefined1 local_d60; + int *local_d58; + undefined1 local_d50; + undefined8 local_d48; + longlong local_d40; + undefined8 local_d38 [2]; + exception local_d28 [80]; + longlong *local_cd8; + undefined8 uStack_cd0; + longlong **local_58; + undefined4 local_50; + int local_4c; + ulonglong local_48; + + local_d48 = 0xfffffffffffffffe; + local_48 = DAT_14016f5a0 ^ (ulonglong)auStackY_e68; + plVar7 = (longlong *)param_2[0xe8]; + if ((plVar7 != (longlong *)0x0) && (*plVar7 != 0)) goto LAB_14006239b; + if (*(char *)((longlong)param_2 + 0x702) != '\0') goto LAB_140061f9d; + plVar17 = (longlong *)0x0; + uVar6 = 0; + local_e38 = (longlong *)0x0; + local_e08 = param_1; + if (*(int *)((longlong)param_1 + 0x1844) == 0) { + local_df8 = (undefined8 *)FUN_14003e840(0x180); + plVar7 = plVar17; + if (local_df8 != (undefined8 *)0x0) { + plVar7 = FUN_140092050(local_df8,(longlong)param_1,param_3,param_4); + } + if (plVar7 == (longlong *)0x0) { + local_e18 = (longlong *)0x0; + } + else { + local_e18 = (longlong *)FUN_14003e840(0x10); + local_e18[1] = 1; + *local_e18 = (longlong)plVar7; + } + plVar7 = local_e18; + plVar15 = plVar17; + if (local_e18 != (longlong *)0x0) { + local_e18[1] = local_e18[1] + 1; + local_e38 = local_e18; + plVar14 = local_e18 + 1; + *plVar14 = *plVar14 + -1; + plVar15 = local_e18; + if (*plVar14 == 0) { + puVar13 = (undefined8 *)*local_e18; + if (puVar13 != (undefined8 *)0x0) { + (**(code **)*puVar13)(puVar13,1); + } + FUN_14003e8b0(plVar7); + plVar15 = local_e38; + } + } + if ((int)param_1[0x30c] < 1) { + local_e28 = 0; + local_e24 = 0; + } + else { + iVar1 = (int)param_1[0x30c]; + if (iVar1 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + param_3 = (longlong **)param_1[0x30b]; + uVar3 = *(uint *)((longlong)param_3 + (longlong)iVar1 * 4 + -4); + local_e28 = uVar3; + FUN_140038010((longlong)(param_1 + 0x309),iVar1 + -1,param_3,(longlong)param_4); + local_e24 = uVar3; + } + uVar3 = local_e24; + pcVar20 = (char *)param_1[0x43]; + plVar14 = plVar17; + if (((pcVar20 == (char *)0x0) || (pcVar20 == PTR_DAT_14016f008)) || + (*(int *)(pcVar20 + -8) == 0)) { + plVar7 = plVar17; + if (plVar15 != (longlong *)0x0) { + plVar7 = (longlong *)*plVar15; + } + if ((undefined8 *)plVar7[0x2a] != (undefined8 *)0x0) { + plVar14 = *(longlong **)plVar7[0x2a]; + } + pcVar20 = (char *)(ulonglong)local_e24; + uVar5 = FUN_140045540((longlong)plVar14,(short)local_e24,param_3,param_4); + plVar7 = (longlong *)CONCAT44(extraout_var,uVar5); + } + else { + plVar7 = plVar17; + if (plVar15 != (longlong *)0x0) { + plVar7 = (longlong *)*plVar15; + } + if ((undefined8 *)plVar7[0x2a] != (undefined8 *)0x0) { + plVar14 = *(longlong **)plVar7[0x2a]; + } + param_3 = (longlong **)(ulonglong)local_e24; + plVar7 = (longlong *)FUN_140045590((longlong)plVar14,pcVar20,(short)local_e24,param_4); + } + if ((char)plVar7 == '\0') { + if (0 < (int)uVar3) { + FUN_14003e7c0(plVar14,pcVar20,param_3,param_4); + local_e30 = (uint *)PTR_DAT_14016f010; + uVar3 = FUN_14003e620( + L"All UDP port numbers specified at Server Start are deleted! An arbitary port number is assigned instead." + ); + if ((local_e30 != (uint *)0x0) && + (plVar17 = (longlong *)0x0, local_e30 != (uint *)PTR_DAT_14016f010)) { + plVar17 = (longlong *)(ulonglong)local_e30[-2]; + } + uVar4 = uVar3; + if ((((int)uVar3 <= (int)plVar17) && (uVar4 = uVar6, local_e30 != (uint *)0x0)) && + (local_e30 != (uint *)PTR_DAT_14016f010)) { + uVar4 = local_e30[-2]; + } + uVar24 = 1; + if (1 < (int)uVar4) { + uVar24 = uVar4; + } + uVar4 = uVar6; + if ((local_e30 != (uint *)0x0) && (local_e30 != (uint *)PTR_DAT_14016f010)) { + uVar4 = local_e30[-2]; + } + uVar19 = 0; + if ((int)uVar4 < (int)uVar24) { + if (local_e30 == (uint *)0x0) { + local_e30 = (uint *)PTR_DAT_14016f010; + } + if ((int)uVar24 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar24 == 0) { + FUN_140002190((longlong *)&local_e30,PTR_DAT_14016f010,plVar17,param_4); + } + else { + uVar4 = uVar6; + if ((local_e30 != (uint *)0x0) && (local_e30 != (uint *)PTR_DAT_14016f010)) { + uVar4 = local_e30[-2]; + } + if (uVar24 != uVar4) { + puVar8 = (uint *)FUN_14003e840((longlong)(int)uVar24 * 2 + 10); + if (puVar8 != (uint *)0x0) { + *puVar8 = 0; + puVar8[1] = 1; + } + *puVar8 = uVar24; + uVar4 = uVar19; + if ((local_e30 != (uint *)0x0) && (local_e30 != (uint *)PTR_DAT_14016f010)) { + uVar4 = local_e30[-2]; + } + puVar21 = (uint *)PTR_DAT_14016f010; + if ((int)uVar24 < (int)uVar4) { +LAB_140061bf4: + if (local_e30 != (uint *)0x0) { + puVar21 = local_e30; + } + } + else { + uVar24 = uVar6; + if (local_e30 != (uint *)0x0) { + if (local_e30 != (uint *)PTR_DAT_14016f010) { + uVar24 = local_e30[-2]; + } + goto LAB_140061bf4; + } + } + uVar22 = (ulonglong)uVar24; + puVar23 = puVar21; + FUN_14003e650(puVar8 + 2,puVar21,uVar24); + FUN_140002190((longlong *)&local_e30,puVar21,uVar22,puVar23); + local_e30 = puVar8 + 2; + } + } + } + FUN_140001df0((longlong *)&local_e30); + puVar8 = local_e30; + if (local_e30 == (uint *)0x0) { + puVar8 = (uint *)PTR_DAT_14016f010; + } + FUN_14003e650(puVar8, + L"All UDP port numbers specified at Server Start are deleted! An arbitary port number is assigned instead." + ,uVar3); + puVar8 = local_e30; + if (local_e30 == (uint *)0x0) { + puVar8 = (uint *)PTR_DAT_14016f010; + } + uVar3 = FUN_14003e620((short *)puVar8); + uVar6 = 0; + if (0 < (int)uVar3) { + uVar6 = uVar3; + } + uVar3 = uVar19; + if ((local_e30 != (uint *)0x0) && (local_e30 != (uint *)PTR_DAT_14016f010)) { + uVar3 = local_e30[-2]; + } + if (((int)uVar6 < (int)uVar3) || (uVar6 = uVar19, local_e30 == (uint *)0x0)) { +LAB_140061c93: + if (((local_e30 != (uint *)PTR_DAT_14016f010) && (local_e30 != (uint *)0x0)) && + (local_e30 + -2 != (uint *)0x0)) { + local_e30[-2] = uVar6; + *(undefined2 *)((longlong)local_e30 + (longlong)(int)uVar6 * 2) = 0; + } + } + else if (local_e30 != (uint *)PTR_DAT_14016f010) { + uVar6 = local_e30[-2]; + goto LAB_140061c93; + } + local_da8 = 0; + local_da0 = 0; + local_d98 = 0; + local_d90 = 0; + local_db0 = Proud::ByteArray::vftable; + param_4 = &local_e30; + plVar7 = FUN_140071c20(&local_d40,0x11,(ulonglong)*(uint *)(param_2 + 0xdf), + (longlong *)param_4,(longlong)&local_db0); + lVar12 = *param_1; + (**(code **)(lVar12 + 0x88))(param_1); + pppuVar16 = &local_db0; + FUN_140049e40(pppuVar16); + puVar8 = local_e30; + if (((local_e30 != (uint *)0x0) && (local_e30 != (uint *)PTR_DAT_14016f010)) && + (puVar21 = local_e30 + -2, puVar21 != (uint *)0x0)) { + piVar9 = (int *)FUN_14003e7c0(pppuVar16,plVar7,lVar12,param_4); + local_d58 = piVar9; + FUN_14003d040(piVar9); + local_d50 = 1; + puVar8 = puVar8 + -1; + *puVar8 = *puVar8 - 1; + if (*puVar8 == 0) { + FUN_14003e8b0(puVar21); + } + FUN_14003d0d0((longlong)piVar9); + local_d50 = 0; + } + local_e30 = (uint *)PTR_DAT_14016f010; + plVar7 = param_1 + 0x309; + iVar1 = (int)param_1[0x30c]; + if (iVar1 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + lVar27 = param_1[0x30c]; + FUN_140038010((longlong)plVar7,(int)lVar27 + 1,lVar12,(longlong)param_4); + iVar25 = (int)lVar27 - iVar1; + if ((0 < iVar25) && (iVar25 = iVar25 + -1, lVar27 = (longlong)iVar25, -1 < iVar25)) { + lVar26 = (iVar1 + lVar27) * 4 + 4; + do { + lVar10 = FUN_140006d70((longlong)plVar7); + lVar11 = FUN_140006d70((longlong)plVar7); + *(undefined4 *)(lVar11 + lVar26) = *(undefined4 *)(lVar10 + -4 + lVar26); + lVar26 = lVar26 + -4; + lVar27 = lVar27 + -1; + } while (-1 < lVar27); + } + lVar27 = FUN_140006d70((longlong)plVar7); + param_1 = local_e08; + *(uint *)(lVar27 + (longlong)iVar1 * 4) = local_e28; + lVar27 = 0; + local_e24 = 0; + pcVar20 = (char *)local_e08[0x43]; + if (((pcVar20 == (char *)0x0) || (pcVar20 == PTR_DAT_14016f008)) || + (*(int *)(pcVar20 + -8) == 0)) { + lVar26 = lVar27; + if (plVar15 != (longlong *)0x0) { + lVar26 = *plVar15; + } + if (*(longlong **)(lVar26 + 0x150) != (longlong *)0x0) { + lVar27 = **(longlong **)(lVar26 + 0x150); + } + uVar5 = FUN_140045540(lVar27,0,lVar12,param_4); + plVar7 = (longlong *)CONCAT44(extraout_var_00,uVar5); + } + else { + lVar12 = lVar27; + if (plVar15 != (longlong *)0x0) { + lVar12 = *plVar15; + } + if (*(longlong **)(lVar12 + 0x150) != (longlong *)0x0) { + lVar27 = **(longlong **)(lVar12 + 0x150); + } + plVar7 = (longlong *)FUN_140045590(lVar27,pcVar20,0,param_4); + } + if ((char)plVar7 != '\0') { + uVar6 = 0; + goto LAB_140061e6e; + } + } + plVar17 = local_e38; + *(undefined1 *)((longlong)param_2 + 0x702) = 1; + if (plVar15 != (longlong *)0x0) { + plVar14 = plVar15 + 1; + *plVar14 = *plVar14 + -1; + plVar7 = (longlong *)plVar15[1]; + if (*plVar14 == 0) { + puVar13 = (undefined8 *)*local_e38; + if (puVar13 != (undefined8 *)0x0) { + (**(code **)*puVar13)(puVar13,1); + } + plVar7 = (longlong *)FUN_14003e8b0(plVar17); + } + } +LAB_140061f9d: + return (ulonglong)plVar7 & 0xffffffffffffff00; + } + uVar6 = 0; + if (0 < (int)uVar3) { + uVar6 = uVar3; + } +LAB_140061e6e: + plVar17 = (longlong *)0x0; + plVar7 = plVar17; + if (plVar15 != (longlong *)0x0) { + plVar7 = (longlong *)*plVar15; + } + plVar14 = plVar17; + if ((longlong *)plVar7[0x2a] != (longlong *)0x0) { + plVar14 = *(longlong **)plVar7[0x2a]; + } + plVar7 = plVar17; + if (plVar15 != (longlong *)0x0) { + plVar7 = (longlong *)*plVar15; + } + puVar13 = FUN_140042ff0((longlong)plVar14,local_d38); + *(undefined4 *)(plVar7 + 0x2c) = *(undefined4 *)(puVar13 + 1); + *(undefined2 *)((longlong)plVar7 + 0x164) = *(undefined2 *)((longlong)puVar13 + 0xc); + plVar7 = plVar17; + if (plVar15 != (longlong *)0x0) { + plVar7 = (longlong *)*plVar15; + } + param_3 = &local_e38; + FUN_140060ad0((char *)(param_1 + 0xde),(longlong)(plVar7 + 0x2b),(longlong *)param_3); + plVar7 = plVar17; + if (plVar15 != (longlong *)0x0) { + plVar7 = (longlong *)*plVar15; + } + plVar14 = plVar17; + if ((longlong *)plVar7[0x2a] != (longlong *)0x0) { + plVar14 = *(longlong **)plVar7[0x2a]; + } + FUN_140043150((longlong)plVar14,plVar7,param_3,param_4); + plVar14 = plVar17; + if (plVar15 != (longlong *)0x0) { + plVar14 = (longlong *)*plVar15; + } + plVar7 = plVar17; + if ((undefined8 *)plVar14[0x2a] != (undefined8 *)0x0) { + plVar7 = *(longlong **)plVar14[0x2a]; + } + FUN_140047fc0(param_1[0xf1],plVar7,(longlong *)param_3,param_4); + plVar14 = plVar17; + if (plVar15 != (longlong *)0x0) { + plVar14 = (longlong *)*plVar15; + } + if ((longlong *)plVar14[0x2a] != (longlong *)0x0) { + plVar17 = *(longlong **)plVar14[0x2a]; + } + FUN_1400937f0((longlong)plVar17); + plVar17 = plVar15; + } + else { + plVar15 = FUN_140059300((longlong)param_1,(longlong *)&local_e10,param_3,param_4); + plVar7 = (longlong *)0x0; + if (*plVar15 != 0) { + plVar7 = (longlong *)(*(longlong *)(*plVar15 + 8) + 1); + *(longlong **)(*plVar15 + 8) = plVar7; + plVar17 = (longlong *)*plVar15; + local_e38 = plVar17; + } + if ((local_e10 != (longlong *)0x0) && + (local_e10[1] = local_e10[1] + -1, plVar17 = local_e38, local_e10[1] == 0)) { + if ((undefined8 *)*local_e10 != (undefined8 *)0x0) { + plVar7 = (longlong *)0x1; + (*(code *)**(undefined8 **)*local_e10)(); + } + FUN_14003e8b0(local_e10); + plVar17 = local_e38; + } + } + plVar15 = (longlong *)0x0; + if (plVar17 != (longlong *)param_2[0xe8]) { + if (plVar17 != (longlong *)0x0) { + plVar17[1] = plVar17[1] + 1; + plVar17 = local_e38; + } + plVar14 = plVar15; + if ((param_2[0xe8] != 0) && + (*(longlong *)(param_2[0xe8] + 8) = *(longlong *)(param_2[0xe8] + 8) + -1, + plVar17 = local_e38, *(longlong *)(param_2[0xe8] + 8) == 0)) { + plVar14 = (longlong *)param_2[0xe8]; + } + param_2[0xe8] = (longlong)plVar17; + if (plVar14 != (longlong *)0x0) { + if ((undefined8 *)*plVar14 != (undefined8 *)0x0) { + plVar7 = (longlong *)0x1; + (*(code *)**(undefined8 **)*plVar14)(); + } + FUN_14003e8b0(plVar14); + } + } + if (*(int *)((longlong)param_1 + 0x1844) == 0) { + if (plVar17 != (longlong *)param_2[0xec]) { + if (plVar17 != (longlong *)0x0) { + plVar17[1] = plVar17[1] + 1; + plVar17 = local_e38; + } + plVar7 = plVar15; + if ((param_2[0xec] != 0) && + (*(longlong *)(param_2[0xec] + 8) = *(longlong *)(param_2[0xec] + 8) + -1, + plVar17 = local_e38, *(longlong *)(param_2[0xec] + 8) == 0)) { + plVar7 = (longlong *)param_2[0xec]; + } + param_2[0xec] = (longlong)plVar17; + if (plVar7 != (longlong *)0x0) { + puVar13 = (undefined8 *)*plVar7; + if (puVar13 != (undefined8 *)0x0) { + (**(code **)*puVar13)(puVar13,1); + } + FUN_14003e8b0(plVar7); + } + } + *(uint *)(param_2 + 0xed) = uVar6; + if (((longlong *)param_2[0xec] == (longlong *)0x0) || + (lVar12 = *(longlong *)param_2[0xec], plVar7 = (longlong *)(lVar12 + 0x40), lVar12 == 0)) { + plVar7 = plVar15; + } + FUN_140091260((longlong *)&local_df8,(longlong)plVar7); + plVar14 = plVar15; + if ((undefined8 *)param_2[0xec] != (undefined8 *)0x0) { + plVar14 = *(longlong **)param_2[0xec]; + } + plVar14 = plVar14 + 0x15; + local_d68 = plVar14; + FUN_14003d040((int *)plVar14); + local_d60 = 1; + plVar18 = plVar15; + if ((undefined8 *)param_2[0xec] != (undefined8 *)0x0) { + plVar18 = *(longlong **)param_2[0xec]; + } + FUN_140091560((longlong)plVar18,plVar7,(undefined **)param_3,param_4); + FUN_14003d0d0((longlong)plVar14); + local_d60 = 0; + FUN_140091270((longlong *)&local_df8); + } + local_d70 = 0; + local_d6f = DAT_14016f1cc; + local_d78 = 0; + local_d88[0] = 0; + local_d80 = 0; + local_d74 = 0xffffffff; + if ((char)param_1[0x4d] == '\0') { + local_d74 = 0; + } + FUN_140074fb0(local_df0); + FUN_140074a40((longlong)local_df0,plVar7,(SIZE_T)param_3,param_4); + FUN_140029d80((longlong)local_df0,CONCAT71((int7)((ulonglong)plVar7 >> 8),0x2d),(SIZE_T)param_3, + param_4); + if (((longlong *)param_2[0xe8] == (longlong *)0x0) || + (lVar12 = *(longlong *)param_2[0xe8], plVar7 = (longlong *)(lVar12 + 0x40), lVar12 == 0)) { + plVar7 = plVar15; + } + FUN_140091260(&local_db8,(longlong)plVar7); + local_4c = 200; + local_50 = 0; + local_58 = &local_cd8; + if (local_de8 == 0) { + uStack_e00 = local_dd8; + if (local_de0 == (longlong *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,plVar7,param_3,param_4); + } + } + else { + uStack_e00 = *(uint *)(local_de8 + 0x18); + } + local_cd8 = local_de0; + if (local_de0 == (longlong *)0x0) { + if (local_de8 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,(ulonglong)uStack_e00,param_3,param_4); + } + local_cd8 = plVar15; + if (*(int *)(local_de8 + 0x18) != 0) { + local_cd8 = *(longlong **)(local_de8 + 0x10); + } + } + local_50 = 1; + uStack_cd0 = CONCAT44(uStack_dfc,uStack_e00); + local_dc8 = Proud::AddrPort::vftable; + local_dc0 = *(undefined4 *)(param_2[0xe9] + 0x130); + local_dbc = *(undefined2 *)(param_2[0xe9] + 0x134); + if ((undefined8 *)param_2[0xe8] != (undefined8 *)0x0) { + plVar15 = *(longlong **)param_2[0xe8]; + } + local_e08 = local_cd8; + uVar2 = FUN_14008be40(1,0); + uVar6 = (**(code **)(*param_2 + 0x10))(param_2); + pppuVar16 = &local_dc8; + uVar22 = (ulonglong)uVar2; + FUN_140091760((longlong)plVar15,uVar6,uVar2,(longlong)pppuVar16,(longlong)&local_cd8,local_d88); + if (local_58 == (longlong **)0x0) { + FUN_14003db10(local_d28,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,uVar22, + pppuVar16); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_d28,(ThrowInfo *)&DAT_14016c210); + } + if (local_4c < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_50 = 0; + FUN_140091270(&local_db8); + local_e08 = &local_de8; + plVar7 = (longlong *)FUN_14008a320(&local_de8); + plVar15 = local_e38; + if (local_de0 != (longlong *)0x0) { + if (local_dd4 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_dd8 = 0; + } + if (plVar17 != (longlong *)0x0) { + plVar14 = plVar17 + 1; + *plVar14 = *plVar14 + -1; + plVar7 = (longlong *)plVar17[1]; + if (*plVar14 == 0) { + puVar13 = (undefined8 *)*local_e38; + if (puVar13 != (undefined8 *)0x0) { + (**(code **)*puVar13)(puVar13,1); + } + plVar7 = (longlong *)FUN_14003e8b0(plVar15); + } + } +LAB_14006239b: + return CONCAT71((int7)((ulonglong)plVar7 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400623e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400623e0.c new file mode 100644 index 00000000..deb0fa98 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400623e0.c @@ -0,0 +1,54 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400623e0 FUN_1400623e0 + * Pseudocode, not original source. */ + +void FUN_1400623e0(longlong *param_1,longlong *param_2,longlong **param_3,uint **param_4) + +{ + int *piVar1; + undefined8 uVar2; + int *piVar3; + longlong lVar4; + longlong *plVar5; + ulonglong uVar6; + undefined *puVar7; + undefined **ppuVar8; + undefined *local_30 [2]; + int *local_20; + undefined1 local_18; + + if (((((longlong *)param_2[0xe8] == (longlong *)0x0) || (*(longlong *)param_2[0xe8] == 0)) && + (*(char *)((longlong)param_2 + 0x701) == '\0')) && ((int)param_1[0x45] == 0)) { + uVar2 = FUN_140061900(param_1,param_2,param_3,param_4); + if ((char)uVar2 != '\0') { + if ((longlong *)param_2[0xe8] == (longlong *)0x0) { + lVar4 = 0; + } + else { + lVar4 = *(longlong *)param_2[0xe8]; + } + FUN_140091980(lVar4,(longlong *)local_30,(ulonglong)param_2,param_4); + plVar5 = param_1 + 0x95; + ppuVar8 = local_30; + puVar7 = &DAT_140177f90; + uVar6 = (ulonglong)*(uint *)(param_2 + 0xdf); + (**(code **)(*plVar5 + 0x140))(); + *(undefined1 *)((longlong)param_2 + 0x701) = 1; + if (((local_30[0] != (undefined *)0x0) && (local_30[0] != PTR_DAT_14016f008)) && + (local_30[0] + -8 != (undefined *)0x0)) { + piVar3 = (int *)FUN_14003e7c0(plVar5,uVar6,puVar7,ppuVar8); + local_20 = piVar3; + FUN_14003d040(piVar3); + local_18 = 1; + piVar1 = (int *)(local_30[0] + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(local_30[0] + -8); + } + FUN_14003d0d0((longlong)piVar3); + } + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400624e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400624e0.c new file mode 100644 index 00000000..bb7619db --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400624e0.c @@ -0,0 +1,72 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400624e0 FUN_1400624e0 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x00014006265d) */ +/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ + +void FUN_1400624e0(longlong param_1,double param_2) + +{ + longlong *plVar1; + LPVOID pvVar2; + void *pvVar3; + longlong lVar4; + LPVOID pvVar5; + longlong *local_res8; + + if (*(longlong *)(param_1 + 0x78) == 0) { + pvVar5 = (LPVOID)0x0; + } + else { + pvVar5 = *(LPVOID *)(param_1 + 0x68); + } + while( true ) { + if (pvVar5 == (LPVOID)0x0) { + return; + } + if (pvVar5 == (LPVOID)0x0) break; + local_res8 = (longlong *)0x0; + if (*(longlong *)((longlong)pvVar5 + 8) != 0) { + *(longlong *)(*(longlong *)((longlong)pvVar5 + 8) + 8) = + *(longlong *)(*(longlong *)((longlong)pvVar5 + 8) + 8) + 1; + local_res8 = *(longlong **)((longlong)pvVar5 + 8); + } + if (local_res8 == (longlong *)0x0) { + lVar4 = 0; + } + else { + lVar4 = *local_res8; + } + if (param_2 - *(double *)(lVar4 + 400) <= _DAT_14016f0d0) { + if (pvVar5 != (LPVOID)0x0) { + pvVar5 = *(LPVOID *)((longlong)pvVar5 + 0x10); + } + } + else { + if (pvVar5 == (LPVOID)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + pvVar2 = *(LPVOID *)((longlong)pvVar5 + 0x10); + FUN_14005dad0((char *)(param_1 + 0x58),pvVar5,'\0'); + pvVar5 = pvVar2; + } + if (local_res8 != (longlong *)0x0) { + plVar1 = local_res8 + 1; + *plVar1 = *plVar1 + -1; + if (*plVar1 == 0) { + pvVar3 = (void *)*local_res8; + if (pvVar3 != (void *)0x0) { + FUN_140049e40((undefined8 *)((longlong)pvVar3 + 0x148)); + FUN_140049e40((undefined8 *)((longlong)pvVar3 + 0x120)); + operator_delete(pvVar3); + } + FUN_14003e8b0(local_res8); + } + } + } + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140062690.c b/decomp/AgentManager_Release_x64/full/functions/0x140062690.c new file mode 100644 index 00000000..63556e33 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140062690.c @@ -0,0 +1,70 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140062690 FUN_140062690 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x00014006276d) */ +/* WARNING: Removing unreachable block (ram,0x000140062736) */ + +longlong * FUN_140062690(longlong param_1,longlong *param_2,uint param_3,uint param_4,char param_5) + +{ + longlong *plVar1; + ulonglong uVar2; + uint *puVar3; + uint *puVar4; + uint *puVar5; + uint uVar6; + undefined8 *local_res8; + + puVar3 = (uint *)0x0; + local_res8 = (undefined8 *)0x0; + uVar6 = param_4; + if ((int)param_4 < (int)param_3) { + uVar6 = param_3; + param_3 = param_4; + } + uVar2 = (ulonglong)(param_3 << 0x10 ^ uVar6) % (ulonglong)*(uint *)(param_1 + 0x80); + puVar5 = puVar3; + if ((*(longlong *)(param_1 + 0x60) != 0) && + (puVar4 = *(uint **)(*(longlong *)(param_1 + 0x60) + uVar2 * 8), puVar4 != (uint *)0x0)) { + while (puVar5 = puVar3, (uint)uVar2 == puVar4[8] % *(uint *)(param_1 + 0x80)) { + if (((*puVar4 == param_3) && (puVar5 = puVar4, puVar4[1] == uVar6)) || + (puVar4 = *(uint **)(puVar4 + 4), puVar5 = puVar3, puVar4 == (uint *)0x0)) break; + } + } + if (puVar5 == (uint *)0x0) { + *param_2 = 0; + } + else { + if (*(longlong *)(puVar5 + 2) != 0) { + *(longlong *)(*(longlong *)(puVar5 + 2) + 8) = + *(longlong *)(*(longlong *)(puVar5 + 2) + 8) + 1; + local_res8 = *(undefined8 **)(puVar5 + 2); + } + if (param_5 != '\0') { + FUN_14005dad0((char *)(param_1 + 0x58),puVar5,'\0'); + } + *param_2 = 0; + if (local_res8 != (undefined8 *)0x0) { + local_res8[1] = local_res8[1] + 1; + if ((*param_2 != 0) && + (*(longlong *)(*param_2 + 8) = *(longlong *)(*param_2 + 8) + -1, + *(longlong *)(*param_2 + 8) == 0)) { + puVar3 = (uint *)*param_2; + } + *param_2 = (longlong)local_res8; + if (puVar3 != (uint *)0x0) { + FUN_14004e450((undefined8 *)puVar3); + } + } + if (local_res8 != (undefined8 *)0x0) { + plVar1 = local_res8 + 1; + *plVar1 = *plVar1 + -1; + if (*plVar1 == 0) { + FUN_14004e450(local_res8); + } + } + } + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140062810.c b/decomp/AgentManager_Release_x64/full/functions/0x140062810.c new file mode 100644 index 00000000..d7939a5f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140062810.c @@ -0,0 +1,28 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140062810 FUN_140062810 + * Pseudocode, not original source. */ + +undefined8 FUN_140062810(char *param_1,int *param_2,longlong *param_3) + +{ + uint uVar1; + int *piVar2; + ulonglong uVar3; + longlong *plVar4; + + uVar1 = *(uint *)(param_1 + 0x28); + uVar3 = (ulonglong)(uint)(*param_2 << 0x10 ^ param_2[1]) % (ulonglong)uVar1; + if (*(longlong *)(param_1 + 8) != 0) { + for (piVar2 = *(int **)(*(longlong *)(param_1 + 8) + uVar3 * 8); + (piVar2 != (int *)0x0 && ((uint)uVar3 == (uint)piVar2[8] % uVar1)); + piVar2 = *(int **)(piVar2 + 4)) { + if ((*piVar2 == *param_2) && (piVar2[1] == param_2[1])) { + return (ulonglong)(uint)piVar2[8] / (ulonglong)uVar1 & 0xffffff00; + } + } + } + plVar4 = (longlong *)FUN_140060c10(param_1,param_2); + plVar4 = FUN_14005b030(plVar4,param_3); + return CONCAT71((int7)((ulonglong)plVar4 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400628c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400628c0.c new file mode 100644 index 00000000..3a85ee3b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400628c0.c @@ -0,0 +1,48 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400628c0 FUN_1400628c0 + * Pseudocode, not original source. */ + +longlong * FUN_1400628c0(char *param_1,longlong *param_2) + +{ + ulonglong *puVar1; + ulonglong uVar2; + longlong *plVar3; + ulonglong uVar4; + ulonglong uVar5; + uint uVar6; + + puVar1 = (ulonglong *)*param_2; + if (puVar1 == (ulonglong *)0x0) { + uVar5 = 0; + } + else { + uVar5 = *puVar1; + } + uVar4 = (uVar5 & 0xffffffff) % (ulonglong)*(uint *)(param_1 + 0x28); + uVar6 = (uint)uVar4; + if (*(longlong *)(param_1 + 8) != 0) { + for (plVar3 = *(longlong **)(*(longlong *)(param_1 + 8) + uVar4 * 8); + (plVar3 != (longlong *)0x0 && (uVar6 == *(uint *)(plVar3 + 4) % *(uint *)(param_1 + 0x28))); + plVar3 = (longlong *)plVar3[2]) { + if ((ulonglong *)*plVar3 == (ulonglong *)0x0) { + uVar4 = 0; + } + else { + uVar4 = *(ulonglong *)*plVar3; + } + if (puVar1 == (ulonglong *)0x0) { + uVar2 = 0; + } + else { + uVar2 = *puVar1; + } + if (uVar4 == uVar2) { + return plVar3 + 1; + } + } + } + plVar3 = FUN_140060cc0(param_1,param_2,uVar6,(int)uVar5); + return plVar3 + 1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140062970.c b/decomp/AgentManager_Release_x64/full/functions/0x140062970.c new file mode 100644 index 00000000..7941532c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140062970.c @@ -0,0 +1,20 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140062970 FUN_140062970 + * Pseudocode, not original source. */ + +void FUN_140062970(undefined4 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + LPVOID pvVar1; + + pvVar1 = *(LPVOID *)(param_1 + 0xe); + if (pvVar1 != (LPVOID)0x0) { + FUN_140002190((longlong *)((longlong)pvVar1 + 0x98),param_2,param_3,param_4); + FUN_140051090((char *)((longlong)pvVar1 + 0x38)); + FUN_14003e8b0(pvVar1); + } + FUN_14003d110(param_1,param_2,param_3,param_4); + FUN_14003e8b0(param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400629e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400629e0.c new file mode 100644 index 00000000..d5353e96 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400629e0.c @@ -0,0 +1,19 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400629e0 FUN_1400629e0 + * Pseudocode, not original source. */ + +void FUN_1400629e0(undefined4 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + LPVOID pvVar1; + + pvVar1 = *(LPVOID *)(param_1 + 0xe); + if (pvVar1 != (LPVOID)0x0) { + FUN_140051090((char *)((longlong)pvVar1 + 0x28)); + FUN_14003e8b0(pvVar1); + } + FUN_14003d110(param_1,param_2,param_3,param_4); + FUN_14003e8b0(param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140062a30.c b/decomp/AgentManager_Release_x64/full/functions/0x140062a30.c new file mode 100644 index 00000000..5dd6b173 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140062a30.c @@ -0,0 +1,19 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140062a30 FUN_140062a30 + * Pseudocode, not original source. */ + +void FUN_140062a30(undefined4 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + LPVOID pvVar1; + + pvVar1 = *(LPVOID *)(param_1 + 0xe); + if (pvVar1 != (LPVOID)0x0) { + FUN_140051090((char *)((longlong)pvVar1 + 8)); + FUN_14003e8b0(pvVar1); + } + FUN_14003d110(param_1,param_2,param_3,param_4); + FUN_14003e8b0(param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140062a80.c b/decomp/AgentManager_Release_x64/full/functions/0x140062a80.c new file mode 100644 index 00000000..567ba073 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140062a80.c @@ -0,0 +1,58 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140062a80 FUN_140062a80 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x000140062b76) */ +/* WARNING: Removing unreachable block (ram,0x000140062b84) */ + +void FUN_140062a80(ulonglong *param_1,ulonglong *param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong *plVar1; + int *piVar2; + ulonglong *puVar3; + int *piVar4; + int *piVar5; + undefined4 *puVar6; + + piVar5 = (int *)*param_2; + piVar2 = (int *)*param_1; + if (piVar2 != piVar5) { + piVar4 = piVar2; + if (piVar5 < piVar2) { + piVar4 = piVar5; + piVar5 = piVar2; + } + puVar3 = param_2; + if (piVar4 != (int *)0x0) { + FUN_14003d040(piVar4); + } + if (piVar5 != (int *)0x0) { + FUN_14003d040(piVar5); + } + if (*param_2 != 0) { + plVar1 = (longlong *)(*param_2 + 0x40); + *plVar1 = *plVar1 + 1; + } + puVar6 = (undefined4 *)0x0; + if (*param_1 != 0) { + plVar1 = (longlong *)(*param_1 + 0x40); + *plVar1 = *plVar1 + -1; + if (*(longlong *)((undefined4 *)*param_1 + 0x10) == 0) { + puVar6 = (undefined4 *)*param_1; + } + } + *param_1 = *param_2; + if (piVar4 != (int *)0x0) { + FUN_14003d0d0((longlong)piVar4); + } + if (piVar5 != (int *)0x0) { + FUN_14003d0d0((longlong)piVar5); + } + if (puVar6 != (undefined4 *)0x0) { + FUN_140062a30(puVar6,puVar3,param_3,param_4); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140062bb0.c b/decomp/AgentManager_Release_x64/full/functions/0x140062bb0.c new file mode 100644 index 00000000..f91e9c62 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140062bb0.c @@ -0,0 +1,120 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140062bb0 FUN_140062bb0 + * Pseudocode, not original source. */ + +undefined8 FUN_140062bb0(longlong param_1,undefined8 param_2,undefined8 param_3,uint *param_4) + +{ + int *piVar1; + uint uVar2; + longlong lVar3; + short *psVar4; + int *piVar5; + longlong *plVar6; + int *piVar7; + undefined8 uVar8; + uint *puVar9; + longlong lVar10; + ulonglong uVar11; + longlong **pplVar12; + undefined *puVar13; + short *psVar14; + uint **ppuVar15; + double dVar16; + undefined8 *local_res8; + uint local_res10 [2]; + short *local_res20; + + local_res10[0] = (uint)param_2; + piVar5 = (int *)(**(code **)(**(longlong **)(param_1 + 0x20) + 0x58)) + (*(longlong **)(param_1 + 0x20),param_2,param_3,param_4, + 0xfffffffffffffffe); + FUN_14003d040(piVar5); + if (DAT_14017614f != '\0') { + (**(code **)(**(longlong **)(param_1 + 0x20) + 200))(); + } + uVar2 = *param_4; + ppuVar15 = (uint **)(ulonglong)uVar2; + lVar10 = *(longlong *)(param_1 + 0x20); + uVar11 = (ulonglong)ppuVar15 % (ulonglong)*(uint *)(lVar10 + 0xca0); + if ((*(longlong *)(lVar10 + 0xc80) != 0) && + (puVar9 = *(uint **)(*(longlong *)(lVar10 + 0xc80) + uVar11 * 8), puVar9 != (uint *)0x0)) { + while ((uint)uVar11 == puVar9[8] % *(uint *)(lVar10 + 0xca0)) { + if (*puVar9 == uVar2) { + if ((*(longlong *)(puVar9 + 2) != 0) && + (*(longlong *)(*(longlong *)(puVar9 + 2) + 0x228) == 0)) { + pplVar12 = (longlong **)(ulonglong)local_res10[0]; + plVar6 = FUN_14005d550(lVar10 + 0x2d8,(longlong *)&local_res8,local_res10[0],uVar2); + lVar10 = 0; + if ((longlong *)*plVar6 != (longlong *)0x0) { + lVar10 = *(longlong *)*plVar6; + } + if ((local_res8 != (undefined8 *)0x0) && + (local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) { + FUN_14004e450(local_res8); + } + if (lVar10 != 0) { + plVar6 = *(longlong **)(lVar10 + 0x100); + dVar16 = (double)plVar6[0xd8]; + if (plVar6[0xd8] < 0) { + dVar16 = dVar16 + 1.8446744073709552e+19; + } + if (dVar16 < (double)plVar6[0x35]) { + lVar3 = *(longlong *)(*(longlong *)(lVar10 + 0x108) + 0x6c0); + dVar16 = (double)lVar3; + if (lVar3 < 0) { + dVar16 = dVar16 + 1.8446744073709552e+19; + } + if (dVar16 < *(double *)(*(longlong *)(lVar10 + 0x108) + 0x1a8)) { + FUN_1400623e0(*(longlong **)(param_1 + 0x20),plVar6,pplVar12,ppuVar15); + FUN_1400623e0(*(longlong **)(param_1 + 0x20),*(longlong **)(lVar10 + 0x108),pplVar12 + ,ppuVar15); + plVar6 = (longlong *)(*(longlong *)(param_1 + 0x20) + 0x4a8); + (**(code **)(*plVar6 + 0x120))(plVar6,*param_4,&DAT_140177f90,local_res10); + plVar6 = (longlong *)(*(longlong *)(param_1 + 0x20) + 0x4a8); + puVar13 = &DAT_140177f90; + uVar11 = (ulonglong)local_res10[0]; + puVar9 = param_4; + (**(code **)(*plVar6 + 0x120))(); + *(undefined1 *)(lVar10 + 0x110) = 1; + if (*(longlong *)(*(longlong *)(param_1 + 0x20) + 0x17f0) != 0) { + FUN_14003e7c0(plVar6,uVar11,puVar13,puVar9); + local_res20 = (short *)PTR_DAT_14016f010; + uVar11 = (ulonglong)*param_4; + FUN_140029b80((longlong *)&local_res20, + L"Client %d-Client %d간 P2P UDP 홀펀칭 시작 조건이 성립되었습니다. 이제 두 피어간의 홀펀칭 시작을 지시합니다." + ,(ulonglong)local_res10[0],uVar11); + psVar4 = local_res20; + psVar14 = local_res20; + if (local_res20 == (short *)0x0) { + psVar14 = (short *)PTR_DAT_14016f010; + } + uVar8 = 1; + lVar10 = *(longlong *)(*(longlong *)(param_1 + 0x20) + 0x17f0); + FUN_1400843d0(lVar10,1,psVar14,uVar11); + if (((psVar4 != (short *)0x0) && (psVar4 != (short *)PTR_DAT_14016f010)) && + (psVar4 + -4 != (short *)0x0)) { + piVar7 = (int *)FUN_14003e7c0(lVar10,uVar8,psVar14,uVar11); + FUN_14003d040(piVar7); + piVar1 = (int *)(psVar4 + -2); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(psVar4 + -4); + } + FUN_14003d0d0((longlong)piVar7); + } + } + } + } + } + } + break; + } + puVar9 = *(uint **)(puVar9 + 4); + if (puVar9 == (uint *)0x0) break; + } + } + uVar8 = FUN_14003d0d0((longlong)piVar5); + return CONCAT71((int7)((ulonglong)uVar8 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140062e90.c b/decomp/AgentManager_Release_x64/full/functions/0x140062e90.c new file mode 100644 index 00000000..9cfe9612 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140062e90.c @@ -0,0 +1,127 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140062e90 FUN_140062e90 + * Pseudocode, not original source. */ + +undefined8 FUN_140062e90(longlong param_1,uint param_2) + +{ + int *piVar1; + longlong *plVar2; + int *piVar3; + int *piVar4; + int *piVar5; + undefined8 uVar6; + uint *puVar7; + longlong lVar8; + longlong *plVar9; + longlong *plVar10; + longlong **pplVar11; + undefined *puVar12; + uint **ppuVar13; + char *pcVar14; + char local_res10 [8]; + int *local_80; + int *local_40; + undefined1 local_38; + + piVar1 = (int *)(**(code **)(**(longlong **)(param_1 + 0x20) + 0x58))(); + FUN_14003d040(piVar1); + if (DAT_14017614f != '\0') { + (**(code **)(**(longlong **)(param_1 + 0x20) + 200))(); + } + plVar9 = *(longlong **)(param_1 + 0x20); + ppuVar13 = (uint **)(ulonglong)*(uint *)(plVar9 + 0x194); + pplVar11 = (longlong **)((ulonglong)param_2 % (ulonglong)ppuVar13); + if ((plVar9[400] != 0) && + (puVar7 = *(uint **)(plVar9[400] + (longlong)pplVar11 * 8), puVar7 != (uint *)0x0)) { + while ((uint)pplVar11 == puVar7[8] % *(uint *)(plVar9 + 0x194)) { + if (*puVar7 == param_2) { + plVar10 = *(longlong **)(puVar7 + 2); + if ((plVar10 != (longlong *)0x0) && (plVar10[0x45] == 0)) { + plVar2 = plVar10; + uVar6 = FUN_140061900(plVar9,plVar10,pplVar11,ppuVar13); + local_res10[0] = (char)uVar6; + FUN_14003e7c0(plVar9,plVar2,pplVar11,ppuVar13); + local_80 = (int *)PTR_DAT_14016f008; + if (local_res10[0] != '\0') { + if ((longlong *)plVar10[0xe8] == (longlong *)0x0) { + lVar8 = 0; + } + else { + lVar8 = *(longlong *)plVar10[0xe8]; + } + plVar9 = plVar10; + plVar2 = FUN_140091980(lVar8,(longlong *)&local_40,(ulonglong)plVar10,ppuVar13); + if (local_80 == (int *)0x0) { + local_80 = (int *)PTR_DAT_14016f008; + } + piVar3 = local_80; + if ((int *)*plVar2 != local_80) { + piVar3 = (int *)FUN_14003e7c0(local_80,PTR_DAT_14016f008,plVar9,ppuVar13); + piVar5 = piVar3; + FUN_14003d040(piVar3); + if (((local_80 != (int *)0x0) && (local_80 != (int *)PTR_DAT_14016f008)) && + (local_80 + -2 != (int *)0x0)) { + piVar4 = (int *)FUN_14003e7c0(piVar5,PTR_DAT_14016f008,plVar9,ppuVar13); + FUN_14003d040(piVar4); + piVar5 = local_80 + -1; + *piVar5 = *piVar5 + -1; + if (*piVar5 == 0) { + FUN_14003e8b0(local_80 + -2); + } + FUN_14003d0d0((longlong)piVar4); + } + local_80 = (int *)*plVar2; + if (((local_80 != (int *)PTR_DAT_14016f008) && (local_80 != (int *)0x0)) && + (local_80 != (int *)0x8)) { + local_80[-1] = local_80[-1] + 1; + } + FUN_14003d0d0((longlong)piVar3); + } + piVar5 = local_40; + if (((local_40 != (int *)0x0) && (local_40 != (int *)PTR_DAT_14016f008)) && + (piVar4 = local_40 + -2, piVar4 != (int *)0x0)) { + piVar3 = (int *)FUN_14003e7c0(piVar3,PTR_DAT_14016f008,plVar9,ppuVar13); + FUN_14003d040(piVar3); + piVar5 = piVar5 + -1; + *piVar5 = *piVar5 + -1; + if (*piVar5 == 0) { + FUN_14003e8b0(piVar4); + } + FUN_14003d0d0((longlong)piVar3); + } + } + plVar9 = (longlong *)(*(longlong *)(param_1 + 0x20) + 0x4a8); + pcVar14 = local_res10; + puVar12 = &DAT_140177f90; + plVar2 = (longlong *)(ulonglong)param_2; + (**(code **)(*plVar9 + 0x150))(); + if (local_res10[0] != '\0') { + plVar9 = *(longlong **)(param_1 + 0x20); + FUN_14005a980(plVar9,(longlong)plVar10,(SIZE_T)puVar12,pcVar14); + plVar2 = plVar10; + } + if (((local_80 != (int *)0x0) && (local_80 != (int *)PTR_DAT_14016f008)) && + (local_80 + -2 != (int *)0x0)) { + piVar5 = (int *)FUN_14003e7c0(plVar9,plVar2,puVar12,pcVar14); + local_40 = piVar5; + FUN_14003d040(piVar5); + local_38 = 1; + piVar3 = local_80 + -1; + *piVar3 = *piVar3 + -1; + if (*piVar3 == 0) { + FUN_14003e8b0(local_80 + -2); + } + FUN_14003d0d0((longlong)piVar5); + } + } + break; + } + puVar7 = *(uint **)(puVar7 + 4); + if (puVar7 == (uint *)0x0) break; + } + } + uVar6 = FUN_14003d0d0((longlong)piVar1); + return CONCAT71((int7)((ulonglong)uVar6 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140063170.c b/decomp/AgentManager_Release_x64/full/functions/0x140063170.c new file mode 100644 index 00000000..b40156d5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140063170.c @@ -0,0 +1,724 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140063170 FUN_140063170 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +ulonglong FUN_140063170(longlong param_1,longlong *param_2,undefined ***param_3,ulonglong param_4) + +{ + int iVar1; + undefined *puVar2; + void *pvVar3; + int iVar4; + DWORD DVar5; + DWORD DVar6; + DWORD DVar7; + byte *pbVar8; + uint *puVar9; + longlong *plVar10; + undefined ***pppuVar11; + byte **ppbVar12; + int *piVar13; + undefined8 *puVar14; + byte *pbVar15; + ulonglong uVar16; + byte *pbVar17; + byte *pbVar18; + uint uVar19; + byte *pbVar20; + uint *puVar21; + wchar_t *pwVar22; + LPCWSTR pWVar23; + longlong *plVar24; + uint uVar25; + longlong lVar26; + undefined *puVar27; + SIZE_T SVar28; + undefined8 uVar29; + undefined ***pppuVar30; + uint **ppuVar31; + uint *puVar32; + uint uVar33; + uint uVar35; + longlong lVar36; + double dVar37; + undefined1 auStackY_488 [32]; + uint *local_458; + undefined ***local_450; + byte *local_448; + char *local_440; + byte *local_438; + undefined **local_430; + longlong *local_428; + longlong *local_420; + ulonglong local_418; + undefined8 local_410; + undefined *local_408; + undefined **local_400; + undefined8 local_3f8; + byte *local_3f0; + undefined8 local_3e8; + undefined8 local_3e0; + undefined **local_3d8; + longlong *local_3d0; + byte *local_3c8; + ulonglong local_3c0; + undefined4 local_3b8; + undefined4 local_3b4; + undefined **local_3b0; + undefined8 local_3a8; + byte *local_3a0; + undefined8 local_398; + undefined8 local_390; + undefined **local_388; + longlong local_380; + byte *local_378; + undefined8 local_370; + undefined4 local_368; + undefined4 local_364; + undefined4 *local_360; + char *local_358; + undefined **local_350; + undefined8 local_348; + undefined8 local_340; + undefined8 local_338; + undefined8 local_330; + int *local_328; + undefined1 local_320; + byte **local_318; + undefined1 local_310; + int *local_308; + undefined1 local_300; + undefined ***local_2f8; + undefined1 local_2f0; + undefined8 local_2e8; + int *local_2e0; + undefined1 local_2d8; + exception local_2d0 [24]; + exception local_2b8 [24]; + exception local_2a0 [72]; + exception local_258 [72]; + exception local_210 [72]; + exception local_1c8 [72]; + undefined8 local_180 [3]; + char *local_168; + char local_160 [136]; + char *local_d8; + char local_d0 [136]; + ulonglong local_48; + byte *pbVar34; + + pppuVar30 = &local_388; + local_2e8 = 0xfffffffffffffffe; + local_48 = DAT_14016f5a0 ^ (ulonglong)auStackY_488; + local_2e0 = (int *)(param_1 + 0xb8); + local_450 = param_3; + FUN_14003d040(local_2e0); + local_2d8 = 1; + if ((*(longlong **)(param_1 + 0x6a0) != (longlong *)0x0) && + (**(longlong **)(param_1 + 0x6a0) != 0)) goto LAB_140063fa1; + DVar5 = *(DWORD *)((longlong)param_2 + 0x54); + if (DVar5 == 0) { + DVar5 = FUN_14003df50(); + *(DWORD *)((longlong)param_2 + 0x54) = DVar5; + } + if ((int)DVar5 < 0) { + FUN_14003db10(local_210,L"Invalid thread count",param_3,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_210,(ThrowInfo *)&DAT_14016c210); + } + uVar16 = (ulonglong)param_3 & 0xffffffffffffff00; + ppuVar31 = (uint **)(param_4 & 0xffffffffffffff00); + pbVar15 = (byte *)0x0; + uVar25 = 0; + pbVar17 = pbVar15; + pbVar18 = pbVar15; + if (0 < (int)param_2[6]) { + do { + if (((longlong)pbVar17 < 0) || ((int)param_2[6] <= (int)pbVar18)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(pbVar17,pbVar18,uVar16,ppuVar31); + } + if (*(int *)(param_2[5] + (longlong)pbVar17 * 4) == 0) { + ppuVar31 = (uint **)CONCAT71((int7)((ulonglong)ppuVar31 >> 8),1); + } + else { + uVar16 = CONCAT71((int7)(uVar16 >> 8),1); + } + uVar19 = (int)pbVar18 + 1; + pbVar18 = (byte *)(ulonglong)uVar19; + pbVar17 = pbVar17 + 1; + } while ((int)uVar19 < (int)param_2[6]); + if (((char)ppuVar31 != '\0') && ((char)uVar16 != '\0')) { + FUN_14003db10(local_258, + L"Cannot assign non-zero UDP port number with zero UDP port number! All non-zero or all zero must be guaranteed!" + ,uVar16,ppuVar31); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_258,(ThrowInfo *)&DAT_14016c210); + } + } + iVar1 = *(int *)((longlong)param_2 + 0x5c); + if (((iVar1 != 0x80) && (iVar1 != 0xc0)) && (iVar1 != 0x100)) { + FUN_14003db10(local_1c8,L"Invalid key length!",uVar16,ppuVar31); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_1c8,(ThrowInfo *)&DAT_14016c210); + } + local_3d8 = Proud::CFastArray::vftable; + if (DAT_14016f8a0 != 5) { + FUN_140049d30(); + } + local_3d0 = (longlong *)param_2[4]; + local_3b4 = *(undefined4 *)((longlong)param_2 + 0x3c); + local_3c8 = (byte *)0x0; + local_3c0 = 0; + local_3b8 = 0; + iVar1 = (int)param_2[6]; + lVar36 = (longlong)iVar1; + if (iVar1 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + FUN_140038010((longlong)&local_3d8,iVar1,uVar16,(longlong)ppuVar31); + pbVar17 = local_3c8; + iVar4 = (int)local_3c0; + pbVar18 = local_3c8; + if ((int)local_3c0 == 0) { + pbVar18 = pbVar15; + } + pbVar20 = pbVar15; + if ((int)param_2[6] != 0) { + pbVar20 = (byte *)param_2[5]; + } + if (0 < iVar1) { + lVar26 = (longlong)pbVar20 - (longlong)pbVar18; + do { + *(undefined4 *)pbVar18 = *(undefined4 *)(pbVar18 + lVar26); + pbVar18 = pbVar18 + 4; + lVar36 = lVar36 + -1; + } while (lVar36 != 0); + } + pbVar18 = local_3c8; + if ((int)local_3c0 == 0) { + pbVar18 = pbVar15; + } + pbVar20 = (byte *)(local_3c0 & 0xffffffff); + FUN_14005de50((longlong)pbVar18,(int)local_3c0,0); + uVar19 = iVar4 - 1; + puVar27 = (undefined *)(ulonglong)uVar19; + pbVar8 = pbVar15; + pbVar34 = pbVar15; + if (0 < (int)uVar19) { + do { + if (((longlong)pbVar8 < 0) || (iVar4 <= (int)pbVar34)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(pbVar18,pbVar20,puVar27,ppuVar31); + } + pbVar20 = pbVar8 + 1; + if ((longlong)pbVar20 < 0) { +LAB_1400633ec: + /* WARNING: Subroutine does not return */ + FUN_14003def0(pbVar18,pbVar20,puVar27,ppuVar31); + } + uVar33 = (int)pbVar34 + 1; + pbVar34 = (byte *)(ulonglong)uVar33; + if (iVar4 <= (int)uVar33) goto LAB_1400633ec; + uVar35 = *(uint *)(pbVar17 + (longlong)pbVar8 * 4); + pbVar18 = (byte *)(ulonglong)uVar35; + if ((uVar35 == *(uint *)(pbVar17 + (longlong)pbVar8 * 4 + 4)) && (uVar35 != 0)) { + FUN_14003db10(local_2a0,L"Cannot add duplicated UDP port number!",puVar27,ppuVar31); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_2a0,(ThrowInfo *)&DAT_14016c210); + } + pbVar8 = pbVar20; + } while ((int)uVar33 < (int)uVar19); + } + local_430 = Proud::CFastArray,0>::vftable; + local_428 = (longlong *)0x0; + local_420 = (longlong *)0x0; + local_418 = 0; + local_410 = 0; + pppuVar11 = &local_430; + FUN_140042ca0((longlong)pppuVar11,pbVar20,(ulonglong)puVar27,ppuVar31); + DVar5 = 0; + if ((1 < (int)local_418) && + (((puVar2 = (undefined *)param_2[1], puVar2 == (undefined *)0x0 || + (puVar2 == PTR_DAT_14016f010)) || (*(int *)(puVar2 + -8) == 0)))) { + FUN_14003e7c0(pppuVar11,pbVar20,puVar27,ppuVar31); + local_458 = (uint *)PTR_DAT_14016f010; + uVar19 = FUN_14003e620( + L"Server has multiple network devices, however, no device is specified for listening. Is it your intention?" + ); + pbVar18 = pbVar15; + if ((local_458 != (uint *)0x0) && + (pbVar18 = (byte *)0x0, local_458 != (uint *)PTR_DAT_14016f010)) { + pbVar18 = (byte *)(ulonglong)local_458[-2]; + } + uVar33 = uVar19; + if ((((int)uVar19 <= (int)pbVar18) && (uVar33 = uVar25, local_458 != (uint *)0x0)) && + (local_458 != (uint *)PTR_DAT_14016f010)) { + uVar33 = local_458[-2]; + } + uVar35 = 1; + if (1 < (int)uVar33) { + uVar35 = uVar33; + } + uVar33 = uVar25; + if ((local_458 != (uint *)0x0) && (local_458 != (uint *)PTR_DAT_14016f010)) { + uVar33 = local_458[-2]; + } + if ((int)uVar33 < (int)uVar35) { + if (local_458 == (uint *)0x0) { + local_458 = (uint *)PTR_DAT_14016f010; + } + if ((int)uVar35 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar35 == 0) { + FUN_140002190((longlong *)&local_458,PTR_DAT_14016f010,pbVar18,ppuVar31); + } + else { + uVar33 = uVar25; + if ((local_458 != (uint *)0x0) && (local_458 != (uint *)PTR_DAT_14016f010)) { + uVar33 = local_458[-2]; + } + if (uVar35 != uVar33) { + puVar9 = (uint *)FUN_14003e840((longlong)(int)uVar35 * 2 + 10); + if (puVar9 != (uint *)0x0) { + *puVar9 = 0; + puVar9[1] = 1; + } + *puVar9 = uVar35; + DVar7 = DVar5; + if ((local_458 != (uint *)0x0) && (local_458 != (uint *)PTR_DAT_14016f010)) { + DVar7 = local_458[-2]; + } + puVar21 = (uint *)PTR_DAT_14016f010; + if ((int)uVar35 < (int)DVar7) { +LAB_140063551: + if (local_458 != (uint *)0x0) { + puVar21 = local_458; + } + } + else { + uVar35 = uVar25; + if (local_458 != (uint *)0x0) { + if (local_458 != (uint *)PTR_DAT_14016f010) { + uVar35 = local_458[-2]; + } + goto LAB_140063551; + } + } + uVar16 = (ulonglong)uVar35; + puVar32 = puVar21; + FUN_14003e650(puVar9 + 2,puVar21,uVar35); + FUN_140002190((longlong *)&local_458,puVar21,uVar16,puVar32); + local_458 = puVar9 + 2; + } + } + } + FUN_140001df0((longlong *)&local_458); + puVar9 = local_458; + if (local_458 == (uint *)0x0) { + puVar9 = (uint *)PTR_DAT_14016f010; + } + FUN_14003e650(puVar9, + L"Server has multiple network devices, however, no device is specified for listening. Is it your intention?" + ,uVar19); + puVar9 = local_458; + if (local_458 == (uint *)0x0) { + puVar9 = (uint *)PTR_DAT_14016f010; + } + DVar6 = FUN_14003e620((short *)puVar9); + DVar7 = 0; + if (0 < (int)DVar6) { + DVar7 = DVar6; + } + DVar6 = DVar5; + if ((local_458 != (uint *)0x0) && (local_458 != (uint *)PTR_DAT_14016f010)) { + DVar6 = local_458[-2]; + } + if (((int)DVar7 < (int)DVar6) || (DVar7 = DVar5, local_458 == (uint *)0x0)) { +LAB_1400635f4: + if (((local_458 != (uint *)PTR_DAT_14016f010) && (local_458 != (uint *)0x0)) && + (local_458 + -2 != (DWORD *)0x0)) { + local_458[-2] = DVar7; + *(undefined2 *)((longlong)local_458 + (longlong)(int)DVar7 * 2) = 0; + } + } + else if (local_458 != (uint *)PTR_DAT_14016f010) { + DVar7 = local_458[-2]; + goto LAB_1400635f4; + } + local_348 = 0; + local_340 = 0; + local_338 = 0; + local_330 = 0; + local_350 = Proud::ByteArray::vftable; + ppuVar31 = &local_458; + uVar29 = 0; + plVar10 = FUN_140071c20((longlong *)&local_360,1,0,(longlong *)ppuVar31,(longlong)&local_350); + FUN_14005f760(param_1 + -0xa8,plVar10,uVar29,ppuVar31); + pppuVar11 = &local_350; + FUN_140049e40(pppuVar11); + puVar9 = local_458; + if (((local_458 != (uint *)0x0) && (local_458 != (uint *)PTR_DAT_14016f010)) && + (puVar21 = local_458 + -2, puVar21 != (uint *)0x0)) { + pppuVar11 = (undefined ***)FUN_14003e7c0(pppuVar11,plVar10,uVar29,ppuVar31); + local_2f8 = pppuVar11; + FUN_14003d040((int *)pppuVar11); + local_2f0 = 1; + puVar9 = puVar9 + -1; + *puVar9 = *puVar9 - 1; + if (*puVar9 == 0) { + FUN_14003e8b0(puVar21); + } + FUN_14003d0d0((longlong)pppuVar11); + local_2f0 = 0; + } + local_458 = (uint *)PTR_DAT_14016f010; + FUN_14003e7c0(pppuVar11,plVar10,uVar29,ppuVar31); + local_438 = PTR_DAT_14016f010; + plVar10 = FUN_14003e4d0((longlong *)&local_408,plVar10,uVar29,ppuVar31); + puVar27 = (undefined *)*plVar10; + if ((undefined *)*plVar10 == (undefined *)0x0) { + puVar27 = PTR_DAT_14016f010; + } + pwVar22 = L"No NIC binding though multiple NIC detected##Process=%s"; + ppbVar12 = &local_438; + FUN_140029b80((longlong *)ppbVar12,L"No NIC binding though multiple NIC detected##Process=%s", + puVar27,ppuVar31); + if (((local_408 != (undefined *)0x0) && (local_408 != PTR_DAT_14016f010)) && + (local_408 + -8 != (undefined *)0x0)) { + ppbVar12 = (byte **)FUN_14003e7c0(ppbVar12,pwVar22,puVar27,ppuVar31); + local_318 = ppbVar12; + FUN_14003d040((int *)ppbVar12); + local_310 = 1; + piVar13 = (int *)(local_408 + -4); + *piVar13 = *piVar13 + -1; + if (*piVar13 == 0) { + FUN_14003e8b0(local_408 + -8); + } + FUN_14003d0d0((longlong)ppbVar12); + local_310 = 0; + } + local_408 = PTR_DAT_14016f010; + FUN_14003e7c0(ppbVar12,pwVar22,puVar27,ppuVar31); + pbVar18 = local_438; + local_448 = PTR_DAT_14016f010; + if (PTR_DAT_14016f010 == (undefined *)0x0) { + local_448 = pbVar15; + } + if (local_438 != PTR_DAT_14016f010) { + piVar13 = (int *)FUN_14003e7c0(ppbVar12,pwVar22,puVar27,ppuVar31); + local_308 = piVar13; + FUN_14003d040(piVar13); + local_300 = 1; + FUN_140002190((longlong *)&local_448,pwVar22,puVar27,ppuVar31); + local_448 = pbVar18; + if (((pbVar18 != PTR_DAT_14016f010) && (pbVar18 != (byte *)0x0)) && (pbVar18 != (byte *)0x8)) + { + *(int *)(pbVar18 + -4) = *(int *)(pbVar18 + -4) + 1; + } + FUN_14003d0d0((longlong)piVar13); + local_300 = 0; + } + ppbVar12 = &local_448; + FUN_1400416f0((longlong *)ppbVar12,pwVar22,puVar27,ppuVar31); + if (((pbVar18 != (byte *)0x0) && (pbVar18 != PTR_DAT_14016f010)) && + (pbVar18 + -8 != (byte *)0x0)) { + piVar13 = (int *)FUN_14003e7c0(ppbVar12,pwVar22,puVar27,ppuVar31); + local_328 = piVar13; + FUN_14003d040(piVar13); + local_320 = 1; + pbVar20 = pbVar18 + -4; + *(int *)pbVar20 = *(int *)pbVar20 + -1; + if (*(int *)pbVar20 == 0) { + FUN_14003e8b0(pbVar18 + -8); + } + FUN_14003d0d0((longlong)piVar13); + local_320 = 0; + } + local_438 = PTR_DAT_14016f010; + } + dVar37 = (double)param_2[0x16]; + if ((double)param_2[0x16] <= 0.0) { + dVar37 = DAT_14016f1a0; + } + *(double *)(param_1 + 0x778) = dVar37; + *(undefined1 *)(param_1 + 0x1a4) = *(undefined1 *)((longlong)param_2 + 0x65); + *(undefined1 *)(param_1 + 0x1a5) = *(undefined1 *)((longlong)param_2 + 100); + *(undefined1 *)(param_1 + 0x1a6) = *(undefined1 *)((longlong)param_2 + 0x67); + *(char *)(param_1 + 0x198) = (char)param_2[0xf]; + *(char *)(param_1 + 0x1c0) = (char)param_2[0xd]; + iVar1 = *(int *)((longlong)param_2 + 0x5c); + *(int *)(param_1 + 0x19c) = iVar1; + if (((iVar1 != 0x80) && (iVar1 != 0xc0)) && (iVar1 != 0x100)) { + local_358 = + "CStartServerParameter::m_encryptedMessageKeyLength Incorrect key length, only 128,192,256"; + std::exception::exception(local_2d0,&local_358); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_2d0,(ThrowInfo *)&DAT_14016c058); + } + iVar1 = (int)param_2[0xc]; + *(int *)(param_1 + 0x1a0) = iVar1; + if ((((iVar1 != 0) && (iVar1 != 0x200)) && (iVar1 != 0x400)) && (iVar1 != 0x800)) { + local_440 = + "CStartServerParameter::m_fastEncryptedMessageKeyLength Incorrect key lengt, MaxSize is 2048, MinSize is 8" + ; + std::exception::exception(local_2b8,&local_440); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_2b8,(ThrowInfo *)&DAT_14016c058); + } + *(int *)(param_1 + 0x1a8) = (int)param_2[0x10]; + *(undefined1 *)(param_1 + 0x1ac) = *(undefined1 *)((longlong)param_2 + 0x84); + *(undefined1 *)(param_1 + 0x1ad) = *(undefined1 *)((longlong)param_2 + 0x85); + FUN_140095df0((undefined8 *)(param_1 + 0xba0),param_1 + 0xba8,puVar27,ppuVar31); + local_3a8 = 0; + local_3a0 = (byte *)0x0; + local_398 = 0; + local_390 = 0; + local_3b0 = Proud::ByteArray::vftable; + FUN_140095cc0((longlong)&local_3b0,*(int *)(param_1 + 0x19c),(SIZE_T)puVar27,ppuVar31); + pbVar18 = local_3a0; + if ((int)local_398 == 0) { + pbVar18 = pbVar15; + } + SVar28 = (SIZE_T)(*(uint *)(param_1 + 0x19c) >> 3); + lVar36 = 0x10; + FUN_140085bb0((void *)(param_1 + 0x798),pbVar18,SVar28,0x10); + local_3f8 = 0; + local_3f0 = (byte *)0x0; + local_3e8 = 0; + local_3e0 = 0; + local_400 = Proud::ByteArray::vftable; + FUN_140095cc0((longlong)&local_400,*(int *)(param_1 + 0x1a0),SVar28,lVar36); + pbVar18 = local_3f0; + if ((int)local_3e8 == 0) { + pbVar18 = pbVar15; + } + uVar16 = (ulonglong)(*(uint *)(param_1 + 0x1a0) >> 3); + FUN_1400953b0(param_1 + 0xb68,(longlong)pbVar18,uVar16,lVar36); + *(undefined4 *)(param_1 + 0xb98) = 0; + local_440 = operator_new(0xa8); + pbVar18 = pbVar15; + if (local_440 != (char *)0x0) { + pbVar18 = (byte *)(param_1 + -0x40); + if (param_1 == 0xa8) { + pbVar18 = pbVar15; + } + uVar16 = CONCAT71((int7)(uVar16 >> 8),1); + pbVar18 = (byte *)FUN_140047bb0(local_440,pbVar18,uVar16,lVar36); + } + *(byte **)(param_1 + 0x6e0) = pbVar18; + local_440 = operator_new(0xa8); + pbVar18 = pbVar15; + if (local_440 != (char *)0x0) { + pbVar18 = (byte *)(param_1 + -0x40); + if (param_1 == 0xa8) { + pbVar18 = pbVar15; + } + pbVar18 = (byte *)FUN_140047bb0(local_440,pbVar18,CONCAT71((int7)(uVar16 >> 8),1),lVar36); + } + *(byte **)(param_1 + 0x6e8) = pbVar18; + FUN_1400488d0((char *)(param_1 + 0x6b8)); + dVar37 = FUN_140048960((char *)(param_1 + 0x6b8)); + *(double *)(param_1 + 0x158) = dVar37; + *(undefined8 *)(param_1 + 0x118) = 0; + puVar14 = FUN_140045cc0(local_180); + *(undefined4 *)(param_1 + 0x1c4) = *(undefined4 *)puVar14; + *(undefined4 *)(param_1 + 0x1c8) = *(undefined4 *)((longlong)puVar14 + 4); + *(undefined4 *)(param_1 + 0x1cc) = *(undefined4 *)(puVar14 + 1); + *(undefined4 *)(param_1 + 0x1d0) = *(undefined4 *)((longlong)puVar14 + 0xc); + *(int *)(param_1 + 0x179c) = (int)param_2[8]; + *(undefined4 *)(param_1 + 0x340) = *(undefined4 *)((longlong)param_2 + 0x44); + *(int *)(param_1 + 0x344) = (int)param_2[9]; + *(undefined4 *)(param_1 + 0x348) = *(undefined4 *)((longlong)param_2 + 0x4c); + *(int *)(param_1 + 0x34c) = (int)param_2[10]; + pWVar23 = (LPCWSTR)*param_2; + if ((LPCWSTR)*param_2 == (LPCWSTR)0x0) { + pWVar23 = (LPCWSTR)PTR_DAT_14016f010; + } + local_168 = local_160; + FUN_14003d280((longlong *)&local_168,pWVar23,3); + FUN_14003d910((longlong *)(param_1 + 0x168),local_168); + if (local_168 != local_160) { + free(local_168); + } + pWVar23 = (LPCWSTR)param_2[1]; + if ((LPCWSTR)param_2[1] == (LPCWSTR)0x0) { + pWVar23 = (LPCWSTR)PTR_DAT_14016f010; + } + local_d8 = local_d0; + uVar29 = 3; + FUN_14003d280((longlong *)&local_d8,pWVar23,3); + FUN_14003d910((longlong *)(param_1 + 0x170),local_d8); + if (local_d8 != local_d0) { + free(local_d8); + } + *(undefined4 *)(param_1 + 0x1b0) = *(undefined4 *)((longlong)param_2 + 0x6c); + *(longlong *)(param_1 + 0x1b8) = param_2[0xe]; + local_388 = Proud::CFastArray::vftable; + if (DAT_14016f8a0 != 5) { + FUN_140049d30(); + } + local_380 = param_2[4]; + local_364 = *(undefined4 *)((longlong)param_2 + 0x3c); + local_378 = (byte *)0x0; + local_370 = 0; + local_368 = 0; + iVar1 = (int)param_2[6]; + lVar26 = (longlong)iVar1; + if (iVar1 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + FUN_140038010((longlong)pppuVar30,iVar1,uVar29,lVar36); + pppuVar11 = local_450; + pbVar18 = local_378; + if ((int)local_370 == 0) { + pbVar18 = pbVar15; + } + pbVar20 = pbVar15; + if ((int)param_2[6] != 0) { + pbVar20 = (byte *)param_2[5]; + } + if (0 < iVar1) { + lVar36 = (longlong)pbVar20 - (longlong)pbVar18; + do { + *(undefined4 *)pbVar18 = *(undefined4 *)(pbVar18 + lVar36); + pbVar18 = pbVar18 + 4; + lVar26 = lVar26 + -1; + } while (lVar26 != 0); + } + plVar10 = param_2 + 0x11; + plVar24 = (longlong *)(ulonglong)*(uint *)(param_2 + 8); + uVar29 = FUN_140060db0((longlong *)(param_1 + -0xa8),*(uint *)(param_2 + 8),(longlong **)pppuVar30 + ,(longlong)plVar10,(ulonglong *)local_450); + if ((char)uVar29 != '\0') { + plVar24 = (longlong *)(ulonglong)*(uint *)(param_2 + 2); + uVar29 = FUN_1400604a0(param_1 + -0xa8,(ulonglong)plVar24,(ulonglong *)pppuVar11,plVar10); + pppuVar30 = pppuVar11; + if ((char)uVar29 != '\0') { + pbVar18 = pbVar15; + if (*(int *)((longlong)param_2 + 0x7c) == 0) { + local_450 = operator_new(0x10); + if (local_450 != (undefined ***)0x0) { + pbVar18 = (byte *)FUN_140094820(local_450); + } + } + else { + local_450 = operator_new(0x90); + if (local_450 != (undefined ***)0x0) { + pbVar18 = (byte *)FUN_140094c40(local_450,DAT_14016f1a8); + } + } + *(byte **)(param_1 + 0x3d0) = pbVar18; + *(undefined4 *)(param_1 + 0x175c) = 0; + FUN_140005dd0((longlong *)(param_1 + 0x1760),&DAT_140131724,pppuVar11,plVar10); + *(undefined8 *)(param_1 + 0x1768) = 0; + *(undefined4 *)(param_1 + 0x1798) = 0; + DVar7 = *(DWORD *)(param_2 + 0xb); + DVar6 = FUN_14003df50(); + if ((int)DVar6 <= (int)DVar7) { + DVar7 = FUN_14003df50(); + } + if (0 < (int)DVar7) { + DVar5 = DVar7; + } + *(DWORD *)(param_2 + 0xb) = DVar5; + if (DVar5 == 0) { + DVar5 = FUN_14003df50(); + *(DWORD *)(param_2 + 0xb) = DVar5; + } + local_360 = operator_new(0x280); + if (local_360 != (undefined4 *)0x0) { + pbVar15 = (byte *)FUN_14007f4d0(local_360,param_1 + -0xa8,pppuVar11,plVar10); + } + *(byte **)(param_1 + 0x338) = pbVar15; + FUN_140083590((int *)pbVar15,*(int *)((longlong)param_2 + 0x54), + (int *)(ulonglong)*(uint *)(param_2 + 0xb)); + Sleep(100); + FUN_140049e40(&local_400); + FUN_140049e40(&local_3b0); + local_430 = Proud::CFastArray,0>::vftable; + if (0 < (int)local_418) { + uVar16 = local_418 & 0xffffffff; + plVar10 = local_420; + do { + FUN_140006e80(plVar10); + plVar10 = plVar10 + 1; + uVar16 = uVar16 - 1; + } while (uVar16 != 0); + } + if (local_420 != (longlong *)0x0) { + if (local_428 == (longlong *)0x0) { + FUN_14003e8b0(local_420); + } + else { + (**(code **)(*local_428 + 0x18))(local_428,local_420); + } + } + if (pbVar17 != (byte *)0x0) { + if (local_3d0 == (longlong *)0x0) { + FUN_14003e8b0(pbVar17); + } + else { + (**(code **)(*local_3d0 + 0x18))(local_3d0,pbVar17); + } + } + uVar29 = FUN_14003d0d0(param_1 + 0xb8); + return CONCAT71((int7)((ulonglong)uVar29 >> 8),1); + } + } + FUN_140048920((char *)(param_1 + 0x6b8)); + pvVar3 = *(void **)(param_1 + 0x6e0); + if (pvVar3 != (void *)0x0) { + FUN_140047d90((longlong)pvVar3,plVar24,(longlong *)pppuVar30,plVar10); + operator_delete(pvVar3); + } + *(undefined8 *)(param_1 + 0x6e0) = 0; + pvVar3 = *(void **)(param_1 + 0x6e8); + if (pvVar3 != (void *)0x0) { + FUN_140047d90((longlong)pvVar3,plVar24,(longlong *)pppuVar30,plVar10); + operator_delete(pvVar3); + } + *(undefined8 *)(param_1 + 0x6e8) = 0; + *(undefined4 *)(param_1 + 0x1c4) = 0; + *(undefined4 *)(param_1 + 0x1c8) = 0; + *(undefined4 *)(param_1 + 0x1cc) = 0; + *(undefined4 *)(param_1 + 0x1d0) = 0; + FUN_140049e40(&local_400); + FUN_140049e40(&local_3b0); + local_430 = Proud::CFastArray,0>::vftable; + if (0 < (int)local_418) { + uVar16 = local_418 & 0xffffffff; + plVar10 = local_420; + do { + FUN_140006e80(plVar10); + plVar10 = plVar10 + 1; + uVar16 = uVar16 - 1; + } while (uVar16 != 0); + } + if (local_420 != (longlong *)0x0) { + if (local_428 == (longlong *)0x0) { + FUN_14003e8b0(local_420); + } + else { + (**(code **)(*local_428 + 0x18))(local_428,local_420); + } + } + if (pbVar17 != (byte *)0x0) { + if (local_3d0 == (longlong *)0x0) { + FUN_14003e8b0(pbVar17); + } + else { + (**(code **)(*local_3d0 + 0x18))(local_3d0,pbVar17); + } + } +LAB_140063fa1: + uVar16 = FUN_14003d0d0(param_1 + 0xb8); + return uVar16 & 0xffffffffffffff00; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140063fe0.c b/decomp/AgentManager_Release_x64/full/functions/0x140063fe0.c new file mode 100644 index 00000000..6174e27e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140063fe0.c @@ -0,0 +1,45 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140063fe0 FUN_140063fe0 + * Pseudocode, not original source. */ + +void FUN_140063fe0(char *param_1,longlong param_2,longlong param_3,longlong *param_4) + +{ + int iVar1; + longlong lVar2; + longlong lVar3; + longlong lVar4; + int local_res10; + int local_res14; + longlong *local_res20; + + iVar1 = *(int *)(param_2 + 0x6f8); + local_res14 = *(int *)(param_3 + 0x6f8); + lVar4 = param_2; + local_res10 = iVar1; + if (local_res14 < iVar1) { + lVar4 = param_3; + param_3 = param_2; + local_res10 = local_res14; + local_res14 = iVar1; + } + lVar2 = 0; + lVar3 = lVar2; + if ((longlong *)*param_4 != (longlong *)0x0) { + lVar3 = *(longlong *)*param_4; + } + *(longlong *)(lVar3 + 0x100) = lVar4; + if ((longlong *)*param_4 != (longlong *)0x0) { + lVar2 = *(longlong *)*param_4; + } + *(longlong *)(lVar2 + 0x108) = param_3; + local_res20 = param_4; + FUN_140062810(param_1,&local_res10,param_4); + if ((*param_4 != 0) && + (*(longlong *)(*param_4 + 8) = *(longlong *)(*param_4 + 8) + -1, + *(longlong *)(*param_4 + 8) == 0)) { + FUN_14004e450((undefined8 *)*param_4); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400640a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400640a0.c new file mode 100644 index 00000000..95b6e025 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400640a0.c @@ -0,0 +1,45 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400640a0 FUN_1400640a0 + * Pseudocode, not original source. */ + +void FUN_1400640a0(longlong param_1,longlong param_2,longlong param_3,longlong *param_4) + +{ + int iVar1; + longlong lVar2; + longlong lVar3; + longlong lVar4; + int local_res8; + int local_resc; + longlong *local_res20; + + iVar1 = *(int *)(param_2 + 0x6f8); + local_resc = *(int *)(param_3 + 0x6f8); + lVar4 = param_2; + local_res8 = iVar1; + if (local_resc < iVar1) { + lVar4 = param_3; + param_3 = param_2; + local_res8 = local_resc; + local_resc = iVar1; + } + lVar2 = 0; + lVar3 = lVar2; + if ((longlong *)*param_4 != (longlong *)0x0) { + lVar3 = *(longlong *)*param_4; + } + *(longlong *)(lVar3 + 0x100) = lVar4; + if ((longlong *)*param_4 != (longlong *)0x0) { + lVar2 = *(longlong *)*param_4; + } + *(longlong *)(lVar2 + 0x108) = param_3; + local_res20 = param_4; + FUN_140062810((char *)(param_1 + 0x58),&local_res8,param_4); + if ((*param_4 != 0) && + (*(longlong *)(*param_4 + 8) = *(longlong *)(*param_4 + 8) + -1, + *(longlong *)(*param_4 + 8) == 0)) { + FUN_14004e450((undefined8 *)*param_4); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140064160.c b/decomp/AgentManager_Release_x64/full/functions/0x140064160.c new file mode 100644 index 00000000..ad41fc09 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140064160.c @@ -0,0 +1,24 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140064160 FUN_140064160 + * Pseudocode, not original source. */ + +void FUN_140064160(longlong *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + int *piVar1; + + piVar1 = (int *)*param_1; + if (piVar1 != (int *)0x0) { + FUN_14003d040(piVar1); + *(longlong *)(*param_1 + 0x40) = *(longlong *)(*param_1 + 0x40) + -1; + if (*(longlong *)(*param_1 + 0x40) == 0) { + FUN_14003d0d0((longlong)piVar1); + FUN_140062970((undefined4 *)*param_1,param_2,param_3,param_4); + } + else { + FUN_14003d0d0((longlong)piVar1); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400641e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400641e0.c new file mode 100644 index 00000000..8c101ca8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400641e0.c @@ -0,0 +1,24 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400641e0 FUN_1400641e0 + * Pseudocode, not original source. */ + +void FUN_1400641e0(longlong *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + int *piVar1; + + piVar1 = (int *)*param_1; + if (piVar1 != (int *)0x0) { + FUN_14003d040(piVar1); + *(longlong *)(*param_1 + 0x40) = *(longlong *)(*param_1 + 0x40) + -1; + if (*(longlong *)(*param_1 + 0x40) == 0) { + FUN_14003d0d0((longlong)piVar1); + FUN_1400629e0((undefined4 *)*param_1,param_2,param_3,param_4); + } + else { + FUN_14003d0d0((longlong)piVar1); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140064260.c b/decomp/AgentManager_Release_x64/full/functions/0x140064260.c new file mode 100644 index 00000000..0aa802e2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140064260.c @@ -0,0 +1,24 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140064260 FUN_140064260 + * Pseudocode, not original source. */ + +void FUN_140064260(longlong *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + int *piVar1; + + piVar1 = (int *)*param_1; + if (piVar1 != (int *)0x0) { + FUN_14003d040(piVar1); + *(longlong *)(*param_1 + 0x40) = *(longlong *)(*param_1 + 0x40) + -1; + if (*(longlong *)(*param_1 + 0x40) == 0) { + FUN_14003d0d0((longlong)piVar1); + FUN_140062a30((undefined4 *)*param_1,param_2,param_3,param_4); + } + else { + FUN_14003d0d0((longlong)piVar1); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400642e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400642e0.c new file mode 100644 index 00000000..bc88e767 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400642e0.c @@ -0,0 +1,58 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400642e0 FUN_1400642e0 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x0001400643d6) */ +/* WARNING: Removing unreachable block (ram,0x0001400643e4) */ + +void FUN_1400642e0(ulonglong *param_1,ulonglong *param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong *plVar1; + int *piVar2; + ulonglong *puVar3; + int *piVar4; + int *piVar5; + undefined4 *puVar6; + + piVar5 = (int *)*param_2; + piVar2 = (int *)*param_1; + if (piVar2 != piVar5) { + piVar4 = piVar2; + if (piVar5 < piVar2) { + piVar4 = piVar5; + piVar5 = piVar2; + } + puVar3 = param_2; + if (piVar4 != (int *)0x0) { + FUN_14003d040(piVar4); + } + if (piVar5 != (int *)0x0) { + FUN_14003d040(piVar5); + } + if (*param_2 != 0) { + plVar1 = (longlong *)(*param_2 + 0x40); + *plVar1 = *plVar1 + 1; + } + puVar6 = (undefined4 *)0x0; + if (*param_1 != 0) { + plVar1 = (longlong *)(*param_1 + 0x40); + *plVar1 = *plVar1 + -1; + if (*(longlong *)((undefined4 *)*param_1 + 0x10) == 0) { + puVar6 = (undefined4 *)*param_1; + } + } + *param_1 = *param_2; + if (piVar4 != (int *)0x0) { + FUN_14003d0d0((longlong)piVar4); + } + if (piVar5 != (int *)0x0) { + FUN_14003d0d0((longlong)piVar5); + } + if (puVar6 != (undefined4 *)0x0) { + FUN_140062970(puVar6,puVar3,param_3,param_4); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140064410.c b/decomp/AgentManager_Release_x64/full/functions/0x140064410.c new file mode 100644 index 00000000..634d4edb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140064410.c @@ -0,0 +1,58 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140064410 FUN_140064410 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x000140064506) */ +/* WARNING: Removing unreachable block (ram,0x000140064514) */ + +void FUN_140064410(ulonglong *param_1,ulonglong *param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong *plVar1; + int *piVar2; + ulonglong *puVar3; + int *piVar4; + int *piVar5; + undefined4 *puVar6; + + piVar5 = (int *)*param_2; + piVar2 = (int *)*param_1; + if (piVar2 != piVar5) { + piVar4 = piVar2; + if (piVar5 < piVar2) { + piVar4 = piVar5; + piVar5 = piVar2; + } + puVar3 = param_2; + if (piVar4 != (int *)0x0) { + FUN_14003d040(piVar4); + } + if (piVar5 != (int *)0x0) { + FUN_14003d040(piVar5); + } + if (*param_2 != 0) { + plVar1 = (longlong *)(*param_2 + 0x40); + *plVar1 = *plVar1 + 1; + } + puVar6 = (undefined4 *)0x0; + if (*param_1 != 0) { + plVar1 = (longlong *)(*param_1 + 0x40); + *plVar1 = *plVar1 + -1; + if (*(longlong *)((undefined4 *)*param_1 + 0x10) == 0) { + puVar6 = (undefined4 *)*param_1; + } + } + *param_1 = *param_2; + if (piVar4 != (int *)0x0) { + FUN_14003d0d0((longlong)piVar4); + } + if (piVar5 != (int *)0x0) { + FUN_14003d0d0((longlong)piVar5); + } + if (puVar6 != (undefined4 *)0x0) { + FUN_1400629e0(puVar6,puVar3,param_3,param_4); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140064540.c b/decomp/AgentManager_Release_x64/full/functions/0x140064540.c new file mode 100644 index 00000000..945684bb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140064540.c @@ -0,0 +1,34 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140064540 FUN_140064540 + * Pseudocode, not original source. */ + +longlong FUN_140064540(longlong param_1) + +{ + *(undefined8 *)(param_1 + 8) = 0; + *(undefined8 *)(param_1 + 0x18) = 0; + *(undefined8 *)(param_1 + 0x20) = 0; + *(undefined8 *)(param_1 + 0x30) = 0; + *(undefined8 *)(param_1 + 0x38) = 0; + *(undefined8 *)(param_1 + 0x40) = 0; + *(undefined8 *)(param_1 + 0x48) = 0; + *(undefined ***)(param_1 + 0x28) = Proud::ByteArray::vftable; + *(undefined8 *)(param_1 + 0x60) = 0; + *(undefined8 *)(param_1 + 0x58) = 0; + *(undefined8 *)(param_1 + 0x50) = 0; + *(undefined8 *)(param_1 + 0x80) = 0; + *(undefined8 *)(param_1 + 0x88) = 0; + *(undefined8 *)(param_1 + 0x90) = 0; + *(undefined8 *)(param_1 + 0x98) = 0; + *(undefined ***)(param_1 + 0x78) = Proud::ByteArray::vftable; + *(undefined ***)(param_1 + 0xa8) = Proud::AddrPort::vftable; + *(undefined4 *)(param_1 + 0xb0) = 0; + *(undefined2 *)(param_1 + 0xb4) = 0; + *(undefined8 *)(param_1 + 200) = 0; + *(undefined8 *)(param_1 + 0xd0) = 0; + *(undefined8 *)(param_1 + 0xd8) = 0; + *(undefined8 *)(param_1 + 0xe0) = 0; + *(undefined ***)(param_1 + 0xc0) = Proud::ByteArray::vftable; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400645f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400645f0.c new file mode 100644 index 00000000..41544252 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400645f0.c @@ -0,0 +1,24 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400645f0 FUN_1400645f0 + * Pseudocode, not original source. */ + +void FUN_1400645f0(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140049e40((undefined8 *)(param_1 + 0xc0)); + FUN_140049e40((undefined8 *)(param_1 + 0x78)); + FUN_14008a320((longlong *)(param_1 + 0x50)); + if (*(longlong *)(param_1 + 0x58) != 0) { + if (*(int *)(param_1 + 100) < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + *(undefined4 *)(param_1 + 0x60) = 0; + } + FUN_140049e40((undefined8 *)(param_1 + 0x28)); + FUN_1400641e0((longlong *)(param_1 + 0x20),param_2,param_3,param_4); + FUN_140064160((longlong *)(param_1 + 0x18),param_2,param_3,param_4); + FUN_140038280((longlong *)(param_1 + 8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140064680.c b/decomp/AgentManager_Release_x64/full/functions/0x140064680.c new file mode 100644 index 00000000..1438353e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140064680.c @@ -0,0 +1,90 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140064680 FUN_140064680 + * Pseudocode, not original source. */ + +undefined4 * +FUN_140064680(undefined4 *param_1,undefined4 *param_2,SIZE_T param_3,undefined8 param_4) + +{ + longlong lVar1; + int iVar2; + int iVar3; + undefined4 *puVar4; + void *pvVar5; + size_t _Size; + SIZE_T _Size_00; + char cVar6; + exception local_50 [72]; + + cVar6 = (char)param_4; + _Size_00 = param_3; + FUN_140074fe0(param_1 + 2,param_2); + puVar4 = param_1 + 0xc; + FUN_140064540((longlong)puVar4); + if (cVar6 != '\0') { + if (*(longlong *)(param_1 + 4) == 0) { + if (*(longlong *)(param_1 + 6) == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(puVar4,param_2,_Size_00,param_4); + } + iVar2 = param_1[8]; + } + else { + iVar2 = *(int *)(*(longlong *)(param_1 + 4) + 0x18); + } + if (1 < iVar2) { + if (*(longlong *)(param_1 + 6) == 0) { + lVar1 = *(longlong *)(param_1 + 4); + if (lVar1 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(puVar4,param_2,_Size_00,param_4); + } + iVar2 = *(int *)(lVar1 + 0x18); + iVar3 = 1; + if (iVar2 < 2) { + iVar3 = iVar2; + } + if (0 < iVar2 - iVar3) { + pvVar5 = (void *)0x0; + if (iVar2 != 0) { + pvVar5 = *(void **)(lVar1 + 0x10); + } + _Size_00 = (SIZE_T)(iVar2 - iVar3); + memmove(pvVar5,(void *)((longlong)iVar3 + (longlong)pvVar5),_Size_00); + } + FUN_14002a050(lVar1,*(int *)(lVar1 + 0x18) - iVar3,_Size_00); + } + else { + pvVar5 = *(void **)(param_1 + 6); + if (pvVar5 == (void *)0x0) { + FUN_14003db10(local_50,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368, + _Size_00,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_50,(ThrowInfo *)&DAT_14016c210); + } + iVar2 = param_1[8]; + iVar3 = 1; + if (iVar2 < 2) { + iVar3 = iVar2; + } + _Size = (size_t)(iVar2 - iVar3); + memmove(pvVar5,(void *)((longlong)iVar3 + (longlong)pvVar5),_Size); + if (*(longlong *)(param_1 + 6) == 0) { + FUN_14003db10(local_50,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,_Size, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_50,(ThrowInfo *)&DAT_14016c210); + } + iVar3 = param_1[8] - iVar3; + if ((iVar3 < 0) || ((int)param_1[9] < iVar3)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + param_1[8] = iVar3; + } + } + } + *param_1 = (int)param_3; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140064800.c b/decomp/AgentManager_Release_x64/full/functions/0x140064800.c new file mode 100644 index 00000000..27318336 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140064800.c @@ -0,0 +1,19 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140064800 FUN_140064800 + * Pseudocode, not original source. */ + +void FUN_140064800(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400645f0(param_1 + 0x30,param_2,param_3,param_4); + FUN_14008a320((longlong *)(param_1 + 0x10)); + if (*(longlong *)(param_1 + 0x18) != 0) { + if (*(int *)(param_1 + 0x24) < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + *(undefined4 *)(param_1 + 0x20) = 0; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140064860.c b/decomp/AgentManager_Release_x64/full/functions/0x140064860.c new file mode 100644 index 00000000..76aae3f4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140064860.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140064860 FUN_140064860 + * Pseudocode, not original source. */ + +longlong * FUN_140064860(longlong param_1,longlong *param_2,uint param_3) + +{ + uint *puVar1; + ulonglong uVar2; + + *param_2 = 0; + uVar2 = (ulonglong)param_3 % (ulonglong)*(uint *)(param_1 + 0x428); + if (*(longlong *)(param_1 + 0x408) != 0) { + puVar1 = *(uint **)(*(longlong *)(param_1 + 0x408) + uVar2 * 8); + while( true ) { + if (puVar1 == (uint *)0x0) { + return param_2; + } + if ((uint)uVar2 != puVar1[8] % *(uint *)(param_1 + 0x428)) { + return param_2; + } + if (*puVar1 == param_3) break; + puVar1 = *(uint **)(puVar1 + 4); + } + FUN_140060b80(param_2,(longlong *)(puVar1 + 2)); + } + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400648f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400648f0.c new file mode 100644 index 00000000..143930be --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400648f0.c @@ -0,0 +1,54 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400648f0 FUN_1400648f0 + * Pseudocode, not original source. */ + +ulonglong FUN_1400648f0(longlong param_1,uint param_2,undefined4 *param_3,undefined8 param_4) + +{ + longlong *plVar1; + LPVOID pvVar2; + int *piVar3; + undefined8 uVar4; + ulonglong uVar5; + undefined8 **ppuVar6; + undefined8 *local_res8; + + plVar1 = (longlong *)(param_1 + -0xa8); + piVar3 = (int *)(**(code **)(*plVar1 + 0x58))(plVar1); + FUN_14003d040(piVar3); + if (DAT_14017614f != '\0') { + (**(code **)(*plVar1 + 200))(plVar1,L"Proud::CNetServerImpl::GetP2PGroupInfo"); + } + uVar5 = (ulonglong)param_2; + ppuVar6 = &local_res8; + FUN_140064860((longlong)plVar1,(longlong *)ppuVar6,param_2); + if ((local_res8 == (undefined8 *)0x0) || ((undefined4 *)*local_res8 == (undefined4 *)0x0)) { + if ((local_res8 != (undefined8 *)0x0) && + (local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) { + pvVar2 = (LPVOID)*local_res8; + if (pvVar2 != (LPVOID)0x0) { + FUN_1400519b0((longlong)pvVar2,ppuVar6,uVar5,param_4); + FUN_14003e8b0(pvVar2); + } + FUN_14003e8b0(local_res8); + } + uVar5 = FUN_14003d0d0((longlong)piVar3); + uVar5 = uVar5 & 0xffffffffffffff00; + } + else { + FUN_1400967f0((undefined4 *)*local_res8,param_3); + if ((local_res8 != (undefined8 *)0x0) && + (local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) { + pvVar2 = (LPVOID)*local_res8; + if (pvVar2 != (LPVOID)0x0) { + FUN_1400519b0((longlong)pvVar2,param_3,uVar5,param_4); + FUN_14003e8b0(pvVar2); + } + FUN_14003e8b0(local_res8); + } + uVar4 = FUN_14003d0d0((longlong)piVar3); + uVar5 = CONCAT71((int7)((ulonglong)uVar4 >> 8),1); + } + return uVar5; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140064a30.c b/decomp/AgentManager_Release_x64/full/functions/0x140064a30.c new file mode 100644 index 00000000..2ea4e184 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140064a30.c @@ -0,0 +1,73 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140064a30 FUN_140064a30 + * Pseudocode, not original source. */ + +undefined8 * FUN_140064a30(longlong param_1,uint param_2,longlong *param_3,undefined8 param_4) + +{ + undefined4 uVar1; + LPVOID pvVar2; + longlong lVar3; + longlong *plVar4; + longlong lVar5; + undefined8 **ppuVar6; + undefined4 *puVar7; + undefined4 *puVar8; + ulonglong uVar9; + undefined8 *local_res20; + + uVar9 = (ulonglong)param_2; + ppuVar6 = &local_res20; + plVar4 = FUN_140064860(param_1,(longlong *)ppuVar6,param_2); + puVar7 = (undefined4 *)0x0; + puVar8 = puVar7; + if ((undefined8 *)*plVar4 != (undefined8 *)0x0) { + puVar8 = *(undefined4 **)*plVar4; + } + if ((local_res20 != (undefined8 *)0x0) && + (local_res20[1] = local_res20[1] + -1, local_res20[1] == 0)) { + pvVar2 = (LPVOID)*local_res20; + if (pvVar2 != (LPVOID)0x0) { + FUN_1400519b0((longlong)pvVar2,ppuVar6,uVar9,param_4); + FUN_14003e8b0(pvVar2); + } + local_res20 = (undefined8 *)FUN_14003e8b0(local_res20); + } + if (puVar8 == (undefined4 *)0x0) { + if ((param_2 != 1) && (lVar5 = FUN_14004f000(param_1,param_2), lVar5 == 0)) { + return (undefined8 *)0x0; + } + local_res20 = (undefined8 *)FUN_14004d5b0(param_3,param_3[1],param_2); + } + else { + if (*(longlong *)(puVar8 + 10) != 0) { + puVar7 = *(undefined4 **)(puVar8 + 6); + } + while (puVar7 != (undefined4 *)0x0) { + lVar5 = param_3[1]; + uVar1 = *puVar7; + if (lVar5 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + FUN_14004c4e0(param_3,lVar5 + 1,-1); + if (param_3[1] <= lVar5) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if ((ulonglong)param_3[2] < 0x65) { + local_res20 = (undefined8 *)((longlong)param_3 + lVar5 * 4 + 0x20); + *(undefined4 *)local_res20 = uVar1; + puVar7 = *(undefined4 **)(puVar7 + 6); + } + else { + lVar3 = *param_3; + *(undefined4 *)(lVar3 + lVar5 * 4) = uVar1; + puVar7 = *(undefined4 **)(puVar7 + 6); + local_res20 = (undefined8 *)(lVar3 + lVar5 * 4); + } + } + } + return local_res20; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140064b50.c b/decomp/AgentManager_Release_x64/full/functions/0x140064b50.c new file mode 100644 index 00000000..6bf6b40d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140064b50.c @@ -0,0 +1,309 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140064b50 FUN_140064b50 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x00014006502b) */ +/* WARNING: Removing unreachable block (ram,0x000140065032) */ +/* WARNING: Removing unreachable block (ram,0x000140065040) */ +/* WARNING: Removing unreachable block (ram,0x00014006504d) */ +/* WARNING: Removing unreachable block (ram,0x000140065045) */ +/* WARNING: Removing unreachable block (ram,0x000140065053) */ +/* WARNING: Removing unreachable block (ram,0x000140065065) */ +/* WARNING: Removing unreachable block (ram,0x000140064cca) */ + +ulonglong FUN_140064b50(longlong param_1,uint param_2,int *param_3) + +{ + LPVOID pvVar1; + longlong lVar2; + undefined8 *puVar3; + uint uVar4; + int iVar5; + int *piVar6; + longlong *plVar7; + longlong *plVar8; + undefined8 *puVar9; + longlong *plVar10; + longlong *plVar11; + undefined8 uVar12; + ulonglong uVar13; + uint uVar14; + longlong lVar15; + uint *puVar16; + longlong *plVar17; + undefined8 **ppuVar18; + longlong *plVar19; + longlong *plVar20; + ulonglong uVar21; + longlong *plVar22; + double dVar23; + double dVar24; + double dVar25; + undefined8 *local_res8; + undefined **local_90; + longlong *local_88; + longlong *local_80; + ulonglong local_78; + int local_70; + undefined4 local_6c; + longlong *local_68; + longlong lStack_60; + longlong *local_58; + longlong lStack_50; + undefined8 local_48; + + local_48 = 0xfffffffffffffffe; + piVar6 = (int *)(**(code **)(*(longlong *)(param_1 + -0xa8) + 0x58))(param_1 + -0xa8); + FUN_14003d040(piVar6); + if (DAT_14017614f != '\0') { + (**(code **)(*(longlong *)(param_1 + -0xa8) + 200))(param_1 + -0xa8); + } + uVar13 = (ulonglong)*(uint *)(param_1 + 0xbf8); + if ((*(longlong *)(param_1 + 0xbd8) != 0) && + (puVar16 = *(uint **)(*(longlong *)(param_1 + 0xbd8) + ((ulonglong)param_2 % uVar13) * 8), + puVar16 != (uint *)0x0)) { + while ((uint)((ulonglong)param_2 % uVar13) == puVar16[8] % *(uint *)(param_1 + 0xbf8)) { + if (*puVar16 == param_2) { + lVar2 = *(longlong *)(puVar16 + 2); + if ((lVar2 != 0) && (*(longlong *)(lVar2 + 0x228) == 0)) { + plVar8 = (longlong *)0x0; + param_3[0] = 0; + param_3[1] = 0; + param_3[3] = *(int *)(lVar2 + 0x1d0); + param_3[2] = *(int *)(lVar2 + 0x1d4); + plVar7 = plVar8; + if (*(longlong *)(lVar2 + 0x6c0) != 0) { + plVar7 = *(longlong **)(lVar2 + 0x6b0); + } + for (; plVar7 != (longlong *)0x0; plVar7 = (longlong *)plVar7[2]) { + plVar17 = plVar8; + if ((undefined8 *)*plVar7 != (undefined8 *)0x0) { + plVar17 = *(longlong **)*plVar7; + } + if ((char)plVar17[0x22] != '\0') { + *param_3 = *param_3 + 1; + plVar17 = plVar8; + if ((undefined8 *)*plVar7 != (undefined8 *)0x0) { + plVar17 = *(longlong **)*plVar7; + } + if ((char)plVar17[1] == '\0') { + param_3[1] = param_3[1] + 1; + } + } + } + uVar12 = FUN_14003d0d0((longlong)piVar6); + return CONCAT71((int7)((ulonglong)uVar12 >> 8),1); + } + break; + } + puVar16 = *(uint **)(puVar16 + 4); + if (puVar16 == (uint *)0x0) break; + } + } + uVar21 = (ulonglong)param_2; + ppuVar18 = &local_res8; + plVar8 = FUN_140064860(param_1 + -0xa8,(longlong *)ppuVar18,param_2); + plVar17 = (longlong *)0x0; + plVar7 = plVar17; + if ((undefined8 *)*plVar8 != (undefined8 *)0x0) { + plVar7 = *(longlong **)*plVar8; + } + if ((local_res8 != (undefined8 *)0x0) && (local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) + { + pvVar1 = (LPVOID)*local_res8; + if (pvVar1 != (LPVOID)0x0) { + FUN_1400519b0((longlong)pvVar1,ppuVar18,uVar21,uVar13); + FUN_14003e8b0(pvVar1); + } + FUN_14003e8b0(local_res8); + } + if (plVar7 == (longlong *)0x0) { + uVar13 = FUN_14003d0d0((longlong)piVar6); + uVar13 = uVar13 & 0xffffffffffffff00; + } + else { + param_3[0] = 0; + param_3[1] = 0; + param_3[2] = 0; + param_3[3] = 0; + local_90 = Proud::CFastArray::vftable; + local_88 = (longlong *)0x0; + local_6c = 0; + local_80 = (longlong *)0x0; + local_78 = 0; + lVar2 = plVar7[5]; + dVar23 = (double)lVar2; + if (lVar2 < 0) { + dVar23 = dVar23 + 1.8446744073709552e+19; + } + uVar4 = 2; + uVar14 = 2; + dVar24 = 1.0; + dVar25 = 1.0; + while( true ) { + if ((uVar14 & 1) != 0) { + dVar25 = dVar25 * dVar23; + } + uVar14 = uVar14 >> 1; + if (uVar14 == 0) break; + dVar23 = dVar23 * dVar23; + } + if (1.0 < dVar25 * 0.5) { + dVar23 = (double)lVar2; + if (lVar2 < 0) { + dVar23 = dVar23 + 1.8446744073709552e+19; + } + while( true ) { + if ((uVar4 & 1) != 0) { + dVar24 = dVar24 * dVar23; + } + uVar4 = uVar4 >> 1; + if (uVar4 == 0) break; + dVar23 = dVar23 * dVar23; + } + dVar24 = dVar24 * 0.5; + } + local_70 = 0; + if (0 < (int)dVar24) { + local_70 = (int)dVar24; + } + plVar8 = plVar17; + plVar10 = plVar17; + plVar20 = plVar17; + if (lVar2 != 0) { + plVar8 = (longlong *)plVar7[3]; + plVar10 = (longlong *)0x0; + } + for (; plVar8 != (longlong *)0x0; plVar8 = (longlong *)plVar8[3]) { + iVar5 = (*(code *)**(undefined8 **)plVar8[2])(); + if (((iVar5 != 1) && (lVar2 = plVar8[2], lVar2 != 0)) && (lVar2 != 0x40)) { + param_3[3] = param_3[3] + *(int *)(lVar2 + 400); + param_3[2] = param_3[2] + *(int *)(lVar2 + 0x194); + lVar15 = lVar2 + 0x660; + plVar22 = plVar17; + local_68 = plVar17; + lStack_60 = lVar15; + local_58 = plVar17; + lStack_50 = lVar15; + if (*(longlong *)(lVar2 + 0x680) != 0) { + plVar22 = *(longlong **)(lVar2 + 0x670); + local_68 = plVar22; + local_58 = plVar22; + } +LAB_140064ea0: + if (plVar22 != (longlong *)0x0) { + puVar3 = (undefined8 *)*plVar22; + plVar11 = plVar17; + if (puVar3 != (undefined8 *)0x0) { + plVar11 = (longlong *)*puVar3; + } + uVar14 = *(uint *)(plVar7 + 6); + uVar13 = (ulonglong)*(uint *)(plVar11[0x20] + 0x6f8) % (ulonglong)uVar14; + lVar2 = plVar7[2]; + if ((lVar2 != 0) && (puVar16 = *(uint **)(lVar2 + uVar13 * 8), puVar16 != (uint *)0x0)) { + while ((uint)uVar13 == puVar16[10] % uVar14) { + if (*puVar16 == *(uint *)(plVar11[0x20] + 0x6f8)) { + if (puVar16 != (uint *)0x0) { + plVar11 = plVar17; + if (puVar3 != (undefined8 *)0x0) { + plVar11 = (longlong *)*puVar3; + } + uVar21 = (ulonglong)*(uint *)(plVar11[0x21] + 0x6f8); + uVar13 = uVar21 % (ulonglong)uVar14; + puVar16 = *(uint **)(lVar2 + uVar13 * 8); + if (puVar16 != (uint *)0x0) goto LAB_140064f54; + } + break; + } + puVar16 = *(uint **)(puVar16 + 6); + if (puVar16 == (uint *)0x0) break; + } + } + goto LAB_140065084; + } + if (lStack_50 != lVar15) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + } + } + if (plVar20 != (longlong *)0x0) { + if (local_88 == (longlong *)0x0) { + FUN_14003e8b0(plVar20); + } + else { + (**(code **)(*local_88 + 0x18))(local_88,plVar20); + } + } + uVar12 = FUN_14003d0d0((longlong)piVar6); + uVar13 = CONCAT71((int7)((ulonglong)uVar12 >> 8),1); + } + return uVar13; + while( true ) { + if (*puVar16 == *(uint *)(plVar11[0x21] + 0x6f8)) { + if (puVar16 != (uint *)0x0) { + plVar11 = plVar17; + if (puVar3 != (undefined8 *)0x0) { + plVar11 = (longlong *)*puVar3; + } + iVar5 = (int)plVar10; + if (iVar5 < 1) goto LAB_140064fbb; + puVar9 = (undefined8 *)FUN_140074a30((longlong)&local_90); + plVar19 = plVar17; + goto LAB_140064fa0; + } + break; + } + puVar16 = *(uint **)(puVar16 + 6); + if (puVar16 == (uint *)0x0) break; +LAB_140064f54: + if ((uint)uVar13 != puVar16[10] % uVar14) break; + } + goto LAB_140065084; + while( true ) { + uVar14 = (int)plVar19 + 1; + plVar19 = (longlong *)(ulonglong)uVar14; + puVar9 = puVar9 + 1; + if (iVar5 <= (int)uVar14) break; +LAB_140064fa0: + if (plVar11 == (longlong *)*puVar9) { + if ((int)plVar19 != -1) goto LAB_140065084; + break; + } + } +LAB_140064fbb: + plVar10 = plVar17; + if (puVar3 != (undefined8 *)0x0) { + plVar10 = (longlong *)*puVar3; + } + if ((char)plVar10[0x22] != '\0') { + *param_3 = *param_3 + 1; + plVar10 = plVar17; + if ((undefined8 *)*plVar22 != (undefined8 *)0x0) { + plVar10 = *(longlong **)*plVar22; + } + if ((char)plVar10[1] == '\0') { + param_3[1] = param_3[1] + 1; + } + } + plVar20 = plVar17; + if ((longlong *)*plVar22 != (longlong *)0x0) { + plVar20 = *(longlong **)*plVar22; + } + if (iVar5 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + FUN_14007a530((longlong)&local_90,iVar5 + 1,uVar21,uVar13); + plVar10 = (longlong *)(local_78 & 0xffffffff); + plVar11 = local_80; + if ((int)local_78 == 0) { + plVar11 = plVar17; + } + plVar11[iVar5] = (longlong)plVar20; + plVar20 = local_80; +LAB_140065084: + plVar22 = (longlong *)plVar22[2]; + goto LAB_140064ea0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140065110.c b/decomp/AgentManager_Release_x64/full/functions/0x140065110.c new file mode 100644 index 00000000..b1d40079 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140065110.c @@ -0,0 +1,25 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140065110 FUN_140065110 + * Pseudocode, not original source. */ + +void FUN_140065110(longlong param_1,uint param_2,uint *param_3,longlong *param_4) + +{ + ulonglong uVar1; + longlong *plVar2; + + if (0 < (int)param_2) { + uVar1 = (ulonglong)param_2; + plVar2 = param_4; + do { + if (*param_3 != 0) { + FUN_140064a30(param_1,*param_3,param_4,plVar2); + } + param_3 = param_3 + 1; + uVar1 = uVar1 - 1; + } while (uVar1 != 0); + } + FUN_14004d790(param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140065170.c b/decomp/AgentManager_Release_x64/full/functions/0x140065170.c new file mode 100644 index 00000000..8af6f63c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140065170.c @@ -0,0 +1,101 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140065170 FUN_140065170 + * Pseudocode, not original source. */ + +undefined4 +FUN_140065170(longlong param_1,uint param_2,TypeDescriptor *param_3,TypeDescriptor *param_4) + +{ + uint uVar1; + uint uVar2; + undefined4 uVar3; + LPVOID pvVar4; + int *piVar5; + longlong *plVar6; + longlong *plVar7; + undefined8 **ppuVar8; + uint *puVar9; + longlong lVar10; + uint uVar11; + ulonglong uVar12; + TypeDescriptor *pTVar13; + longlong lVar14; + int iVar15; + uint *puVar16; + undefined8 *local_res8; + + plVar7 = (longlong *)(param_1 + -0xa8); + pTVar13 = param_4; + piVar5 = (int *)(**(code **)(*plVar7 + 0x58))(plVar7); + FUN_14003d040(piVar5); + if (DAT_14017614f != '\0') { + (**(code **)(*plVar7 + 200))(plVar7,L"Proud::CNetServerImpl::GetMostSuitableSuperPeerInGroup"); + } + uVar12 = (ulonglong)param_2; + ppuVar8 = &local_res8; + plVar6 = FUN_140064860((longlong)plVar7,(longlong *)ppuVar8,param_2); + if ((undefined8 *)*plVar6 == (undefined8 *)0x0) { + puVar16 = (uint *)0x0; + } + else { + puVar16 = *(uint **)*plVar6; + } + if ((local_res8 != (undefined8 *)0x0) && (local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) + { + pvVar4 = (LPVOID)*local_res8; + if (pvVar4 != (LPVOID)0x0) { + FUN_1400519b0((longlong)pvVar4,ppuVar8,uVar12,pTVar13); + FUN_14003e8b0(pvVar4); + } + FUN_14003e8b0(local_res8); + } + if (puVar16 != (uint *)0x0) { + puVar9 = puVar16; + FUN_14005a3d0((longlong)plVar7,puVar16,param_3,pTVar13); + iVar15 = 0; + uVar1 = puVar16[0x1e]; + lVar10 = 0; + if (0 < (int)uVar1) { + lVar14 = 0; + do { + if ((lVar10 < 0) || ((int)uVar1 <= iVar15)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(plVar7,puVar9,param_3,pTVar13); + } + param_3 = (TypeDescriptor *)0x0; + puVar9 = (uint *)0x0; + uVar2 = *(uint *)¶m_4[1].spare; + pTVar13 = (TypeDescriptor *)(ulonglong)uVar2; + if ((int)uVar2 < 1) { +LAB_1400652cb: + if ((-1 < iVar15) && (iVar15 < (int)uVar1)) { + uVar3 = *(undefined4 *)((longlong)iVar15 * 0x40 + *(longlong *)(puVar16 + 0x1c)); + FUN_14003d0d0((longlong)piVar5); + return uVar3; + } + /* WARNING: Subroutine does not return */ + FUN_14003def0(plVar7,puVar9,param_3,pTVar13); + } + while( true ) { + if (((longlong)puVar9 < 0) || ((int)uVar2 <= (int)param_3)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(plVar7,puVar9,param_3,pTVar13); + } + plVar7 = param_4[1].pVFTable; + if (*(int *)((longlong)plVar7 + (longlong)puVar9 * 4) == + *(int *)(lVar14 + *(longlong *)(puVar16 + 0x1c))) break; + uVar11 = (int)param_3 + 1; + param_3 = (TypeDescriptor *)(ulonglong)uVar11; + puVar9 = (uint *)((longlong)puVar9 + 1); + if ((int)uVar2 <= (int)uVar11) goto LAB_1400652cb; + } + iVar15 = iVar15 + 1; + lVar10 = lVar10 + 1; + lVar14 = lVar14 + 0x40; + } while (iVar15 < (int)uVar1); + } + } + FUN_14003d0d0((longlong)piVar5); + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140065320.c b/decomp/AgentManager_Release_x64/full/functions/0x140065320.c new file mode 100644 index 00000000..1cd6639c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140065320.c @@ -0,0 +1,56 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140065320 FUN_140065320 + * Pseudocode, not original source. */ + +bool FUN_140065320(longlong param_1,uint param_2) + +{ + uint *puVar1; + LPVOID pvVar2; + longlong *plVar3; + undefined8 **ppuVar4; + longlong lVar5; + ulonglong uVar6; + ulonglong uVar7; + undefined8 *local_res8; + + if (DAT_14017614f != '\0') { + (**(code **)(*(longlong *)(param_1 + -0x120) + 200))(param_1 + -0x120); + } + if (param_2 == 1) { + return true; + } + uVar7 = (ulonglong)*(uint *)(param_1 + 0xb80); + if (*(longlong *)(param_1 + 0xb60) != 0) { + puVar1 = *(uint **)(*(longlong *)(param_1 + 0xb60) + ((ulonglong)param_2 % uVar7) * 8); + while( true ) { + if ((puVar1 == (uint *)0x0) || + ((uint)((ulonglong)param_2 % uVar7) != puVar1[8] % *(uint *)(param_1 + 0xb80))) + goto LAB_1400653c3; + if (*puVar1 == param_2) break; + puVar1 = *(uint **)(puVar1 + 4); + } + if (*(longlong *)(puVar1 + 2) != 0) { + return true; + } + } +LAB_1400653c3: + ppuVar4 = &local_res8; + uVar6 = (ulonglong)param_2; + plVar3 = FUN_140064860(param_1 + -0x120,(longlong *)ppuVar4,param_2); + lVar5 = 0; + if ((longlong *)*plVar3 != (longlong *)0x0) { + lVar5 = *(longlong *)*plVar3; + } + if ((local_res8 != (undefined8 *)0x0) && (local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) + { + pvVar2 = (LPVOID)*local_res8; + if (pvVar2 != (LPVOID)0x0) { + FUN_1400519b0((longlong)pvVar2,ppuVar4,uVar6,uVar7); + FUN_14003e8b0(pvVar2); + } + FUN_14003e8b0(local_res8); + } + return lVar5 != 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140065440.c b/decomp/AgentManager_Release_x64/full/functions/0x140065440.c new file mode 100644 index 00000000..1005ec95 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140065440.c @@ -0,0 +1,133 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140065440 FUN_140065440 + * Pseudocode, not original source. */ + +uint FUN_140065440(longlong param_1,uint param_2,uint *param_3,TypeDescriptor *param_4, + TypeDescriptor *param_5,longlong param_6) + +{ + longlong *plVar1; + uint uVar2; + LPVOID pvVar3; + longlong lVar4; + int *piVar5; + longlong *plVar6; + ulonglong uVar7; + undefined8 **ppuVar8; + uint *puVar9; + longlong lVar10; + uint uVar11; + int iVar12; + longlong lVar13; + int iVar14; + uint *puVar15; + longlong lVar16; + uint local_res8; + uint *local_res18; + undefined8 *local_58; + undefined8 local_50; + int *local_48; + undefined1 local_40; + + local_50 = 0xfffffffffffffffe; + iVar12 = (int)param_4; + plVar1 = (longlong *)(param_1 + -0xa8); + piVar5 = (int *)(**(code **)(*plVar1 + 0x58))(plVar1); + local_48 = piVar5; + FUN_14003d040(piVar5); + local_40 = 1; + if (DAT_14017614f != '\0') { + (**(code **)(*plVar1 + 200)) + (plVar1,L"Proud::CNetServerImpl::GetSuitableSuperPeerRankListInGroup"); + } + uVar7 = (ulonglong)param_2; + ppuVar8 = &local_58; + plVar6 = FUN_140064860((longlong)plVar1,(longlong *)ppuVar8,param_2); + if ((undefined8 *)*plVar6 == (undefined8 *)0x0) { + puVar15 = (uint *)0x0; + } + else { + puVar15 = *(uint **)*plVar6; + } + if ((local_58 != (undefined8 *)0x0) && + (local_58[1] = local_58[1] + -1, piVar5 = local_48, local_58[1] == 0)) { + pvVar3 = (LPVOID)*local_58; + if (pvVar3 != (LPVOID)0x0) { + FUN_1400519b0((longlong)pvVar3,ppuVar8,uVar7,param_4); + FUN_14003e8b0(pvVar3); + } + FUN_14003e8b0(local_58); + piVar5 = local_48; + } + if (puVar15 == (uint *)0x0) { + FUN_14003d0d0((longlong)piVar5); + local_res8 = 0; + } + else { + puVar9 = puVar15; + FUN_14005a3d0((longlong)plVar1,puVar15,param_5,param_4); + uVar7 = 0; + local_res8 = 0; + iVar14 = 0; + lVar10 = 0; + lVar16 = 0; + if (0 < (int)puVar15[0x1e]) { + lVar13 = 0; + local_res18 = param_3; + do { + if (lVar16 < iVar12) { + if ((lVar10 < 0) || ((int)puVar15[0x1e] <= iVar14)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(uVar7,puVar9,param_5,param_4); + } + lVar4 = *(longlong *)(puVar15 + 0x1c); + param_5 = (TypeDescriptor *)0x0; + puVar9 = (uint *)0x0; + uVar2 = *(uint *)(param_6 + 0x18); + param_4 = (TypeDescriptor *)(ulonglong)uVar2; + if (0 < (int)uVar2) { + do { + if (((longlong)puVar9 < 0) || ((int)uVar2 <= (int)param_5)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(uVar7,puVar9,param_5,param_4); + } + uVar7 = *(ulonglong *)(param_6 + 0x10); + if (*(int *)(uVar7 + (longlong)puVar9 * 4) == *(int *)(lVar4 + lVar13)) { + uVar7 = (ulonglong)local_res8; + goto LAB_140065640; + } + uVar11 = (int)param_5 + 1; + param_5 = (TypeDescriptor *)(ulonglong)uVar11; + puVar9 = (uint *)((longlong)puVar9 + 1); + } while ((int)uVar11 < (int)uVar2); + uVar7 = (ulonglong)local_res8; + } + if ((int)puVar15[0x1e] <= iVar14) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(uVar7,puVar9,param_5,param_4); + } + *(undefined8 *)local_res18 = *(undefined8 *)(lVar4 + lVar13); + *(undefined8 *)(local_res18 + 2) = *(undefined8 *)(lVar4 + 8 + lVar13); + *(undefined8 *)(local_res18 + 4) = *(undefined8 *)(lVar4 + 0x10 + lVar13); + *(undefined8 *)(local_res18 + 6) = *(undefined8 *)(lVar4 + 0x18 + lVar13); + *(undefined8 *)(local_res18 + 8) = *(undefined8 *)(lVar4 + 0x20 + lVar13); + *(undefined8 *)(local_res18 + 10) = *(undefined8 *)(lVar4 + 0x28 + lVar13); + *(undefined8 *)(local_res18 + 0xc) = *(undefined8 *)(lVar4 + 0x30 + lVar13); + *(undefined8 *)(local_res18 + 0xe) = *(undefined8 *)(lVar4 + 0x38 + lVar13); + local_res8 = (int)uVar7 + 1; + uVar7 = (ulonglong)local_res8; + lVar16 = lVar16 + 1; + puVar9 = local_res18 + 0x10; + local_res18 = puVar9; + } +LAB_140065640: + iVar14 = iVar14 + 1; + lVar10 = lVar10 + 1; + lVar13 = lVar13 + 0x40; + } while (iVar14 < (int)puVar15[0x1e]); + } + FUN_14003d0d0((longlong)piVar5); + } + return local_res8; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400656a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400656a0.c new file mode 100644 index 00000000..88899cfc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400656a0.c @@ -0,0 +1,220 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400656a0 FUN_1400656a0 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x000140065a73) */ +/* WARNING: Removing unreachable block (ram,0x000140065a8f) */ + +void FUN_1400656a0(char *param_1,longlong param_2) + +{ + ulonglong *puVar1; + longlong *plVar2; + LPVOID pvVar3; + void *pvVar4; + ulonglong uVar5; + ulonglong uVar6; + longlong lVar7; + ulonglong uVar8; + LPVOID pvVar9; + ulonglong *local_res8; + longlong *local_res18; + + if (*(longlong *)(param_1 + 0x20) == 0) { + pvVar9 = (LPVOID)0x0; + } + else { + pvVar9 = *(LPVOID *)(param_1 + 0x10); + } + while (pvVar9 != (LPVOID)0x0) { + if (pvVar9 == (LPVOID)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + local_res8 = (ulonglong *)0x0; + if (*(longlong *)((longlong)pvVar9 + 8) != 0) { + *(longlong *)(*(longlong *)((longlong)pvVar9 + 8) + 8) = + *(longlong *)(*(longlong *)((longlong)pvVar9 + 8) + 8) + 1; + local_res8 = *(ulonglong **)((longlong)pvVar9 + 8); + } + if (local_res8 == (ulonglong *)0x0) { + uVar5 = 0; + } + else { + uVar5 = *local_res8; + } + if (*(longlong *)(uVar5 + 0x100) == param_2) { +LAB_140065761: + if (local_res8 == (ulonglong *)0x0) { + uVar5 = 0; + } + else { + uVar5 = *local_res8; + } + lVar7 = *(longlong *)(uVar5 + 0x100); + if (local_res8 == (ulonglong *)0x0) { + uVar5 = 0; + } + else { + uVar5 = *local_res8; + } + uVar5 = (uVar5 & 0xffffffff) % (ulonglong)*(uint *)(lVar7 + 0x6c8); + if (*(longlong *)(lVar7 + 0x6a8) != 0) { + plVar2 = *(longlong **)(*(longlong *)(lVar7 + 0x6a8) + uVar5 * 8); + while( true ) { + if ((plVar2 == (longlong *)0x0) || + ((uint)uVar5 != *(uint *)(plVar2 + 4) % *(uint *)(lVar7 + 0x6c8))) goto LAB_1400657fa; + if ((ulonglong *)*plVar2 == (ulonglong *)0x0) { + uVar8 = 0; + } + else { + uVar8 = *(ulonglong *)*plVar2; + } + if (local_res8 == (ulonglong *)0x0) { + uVar6 = 0; + } + else { + uVar6 = *local_res8; + } + if (uVar8 == uVar6) break; + plVar2 = (longlong *)plVar2[2]; + } + FUN_1400603a0((char *)(lVar7 + 0x6a0),plVar2,'\0'); + } +LAB_1400657fa: + if (local_res8 == (ulonglong *)0x0) { + uVar5 = 0; + } + else { + uVar5 = *local_res8; + } + lVar7 = *(longlong *)(uVar5 + 0x108); + if (local_res8 == (ulonglong *)0x0) { + uVar5 = 0; + } + else { + uVar5 = *local_res8; + } + uVar5 = (uVar5 & 0xffffffff) % (ulonglong)*(uint *)(lVar7 + 0x6c8); + if (*(longlong *)(lVar7 + 0x6a8) != 0) { + plVar2 = *(longlong **)(*(longlong *)(lVar7 + 0x6a8) + uVar5 * 8); + while( true ) { + if ((plVar2 == (longlong *)0x0) || + ((uint)uVar5 != *(uint *)(plVar2 + 4) % *(uint *)(lVar7 + 0x6c8))) + goto code_r0x000140065893; + if ((ulonglong *)*plVar2 == (ulonglong *)0x0) { + uVar8 = 0; + } + else { + uVar8 = *(ulonglong *)*plVar2; + } + if (local_res8 == (ulonglong *)0x0) { + uVar6 = 0; + } + else { + uVar6 = *local_res8; + } + if (uVar8 == uVar6) break; + plVar2 = (longlong *)plVar2[2]; + } + FUN_1400603a0((char *)(lVar7 + 0x6a0),plVar2,'\0'); + } +code_r0x000140065893: + if (pvVar9 == (LPVOID)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + pvVar3 = *(LPVOID *)((longlong)pvVar9 + 0x10); + FUN_14005dad0(param_1,pvVar9,'\0'); + pvVar9 = pvVar3; + } + else { + if (local_res8 == (ulonglong *)0x0) { + uVar5 = 0; + } + else { + uVar5 = *local_res8; + } + if (*(longlong *)(uVar5 + 0x108) == param_2) goto LAB_140065761; + if (pvVar9 != (LPVOID)0x0) { + pvVar9 = *(LPVOID *)((longlong)pvVar9 + 0x10); + } + } + if (local_res8 != (ulonglong *)0x0) { + puVar1 = local_res8 + 1; + *puVar1 = *puVar1 - 1; + if (*puVar1 == 0) { + pvVar4 = (void *)*local_res8; + if (pvVar4 != (void *)0x0) { + FUN_140049e40((undefined8 *)((longlong)pvVar4 + 0x148)); + FUN_140049e40((undefined8 *)((longlong)pvVar4 + 0x120)); + operator_delete(pvVar4); + } + FUN_14003e8b0(local_res8); + } + } + } + if (*(longlong *)(param_1 + 0x78) == 0) { + pvVar9 = (LPVOID)0x0; + } + else { + pvVar9 = *(LPVOID *)(param_1 + 0x68); + } + do { + if (pvVar9 == (LPVOID)0x0) { + return; + } + if (pvVar9 == (LPVOID)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + local_res18 = (longlong *)0x0; + if (*(longlong *)((longlong)pvVar9 + 8) != 0) { + *(longlong *)(*(longlong *)((longlong)pvVar9 + 8) + 8) = + *(longlong *)(*(longlong *)((longlong)pvVar9 + 8) + 8) + 1; + local_res18 = *(longlong **)((longlong)pvVar9 + 8); + } + if (local_res18 == (longlong *)0x0) { + lVar7 = 0; + } + else { + lVar7 = *local_res18; + } + if (*(longlong *)(lVar7 + 0x100) == param_2) { +code_r0x0001400659d6: + if (pvVar9 == (LPVOID)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + pvVar3 = *(LPVOID *)((longlong)pvVar9 + 0x10); + FUN_14005dad0(param_1 + 0x58,pvVar9,'\0'); + pvVar9 = pvVar3; + } + else { + if (local_res18 == (longlong *)0x0) { + lVar7 = 0; + } + else { + lVar7 = *local_res18; + } + if (*(longlong *)(lVar7 + 0x108) == param_2) goto code_r0x0001400659d6; + if (pvVar9 != (LPVOID)0x0) { + pvVar9 = *(LPVOID *)((longlong)pvVar9 + 0x10); + } + } + if (local_res18 != (longlong *)0x0) { + plVar2 = local_res18 + 1; + *plVar2 = *plVar2 + -1; + if (*plVar2 == 0) { + pvVar4 = (void *)*local_res18; + if (pvVar4 != (void *)0x0) { + FUN_140049e40((undefined8 *)((longlong)pvVar4 + 0x148)); + FUN_140049e40((undefined8 *)((longlong)pvVar4 + 0x120)); + operator_delete(pvVar4); + } + FUN_14003e8b0(local_res18); + } + } + } while( true ); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140065ab0.c b/decomp/AgentManager_Release_x64/full/functions/0x140065ab0.c new file mode 100644 index 00000000..b24ba74a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140065ab0.c @@ -0,0 +1,228 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140065ab0 FUN_140065ab0 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x000140065e10) */ +/* WARNING: Removing unreachable block (ram,0x000140065def) */ +/* WARNING: Removing unreachable block (ram,0x000140065dfe) */ +/* WARNING: Removing unreachable block (ram,0x000140065b68) */ + +undefined * FUN_140065ab0(char *param_1,longlong param_2,longlong param_3,longlong param_4) + +{ + int *piVar1; + ulonglong *puVar2; + uint uVar3; + longlong *plVar4; + undefined4 uVar5; + undefined2 uVar6; + short *psVar7; + undefined *puVar8; + undefined *puVar9; + int *piVar10; + longlong lVar11; + uint *puVar12; + undefined *puVar13; + short *psVar14; + ulonglong **ppuVar15; + ulonglong uVar16; + uint uVar17; + uint uVar18; + undefined8 uVar19; + ulonglong *local_res8; + short *local_res20; + ulonglong *local_88; + + puVar13 = (undefined *)0x0; + local_88 = (ulonglong *)0x0; + uVar3 = *(uint *)(param_4 + 0x6f8); + uVar18 = *(uint *)(param_3 + 0x6f8); + uVar17 = uVar3; + if ((int)uVar3 < (int)uVar18) { + uVar17 = uVar18; + uVar18 = uVar3; + } + uVar3 = *(uint *)(param_1 + 0x28); + uVar16 = (ulonglong)(uVar18 << 0x10 ^ uVar17); + puVar9 = (undefined *)(uVar16 / uVar3); + uVar16 = uVar16 % (ulonglong)uVar3; + if (*(longlong *)(param_1 + 8) != 0) { + puVar12 = *(uint **)(*(longlong *)(param_1 + 8) + uVar16 * 8); + while( true ) { + if ((puVar12 == (uint *)0x0) || + (puVar9 = (undefined *)((ulonglong)puVar12[8] / (ulonglong)uVar3), + (uint)uVar16 != puVar12[8] % uVar3)) goto LAB_140065f17; + if ((*puVar12 == uVar18) && (puVar12[1] == uVar17)) break; + puVar12 = *(uint **)(puVar12 + 4); + } + if (puVar12 != (uint *)0x0) { + puVar9 = puVar13; + if (*(longlong *)(puVar12 + 2) != 0) { + *(longlong *)(*(longlong *)(puVar12 + 2) + 8) = + *(longlong *)(*(longlong *)(puVar12 + 2) + 8) + 1; + local_88 = *(ulonglong **)(puVar12 + 2); + if (local_88 != (ulonglong *)0x0) { + puVar9 = (undefined *)*local_88; + } + } + *(int *)(puVar9 + 0x114) = *(int *)(puVar9 + 0x114) + -1; + puVar9 = puVar13; + if (local_88 != (ulonglong *)0x0) { + puVar9 = (undefined *)*local_88; + } + if (*(int *)(puVar9 + 0x114) == 0) { + puVar9 = puVar13; + if (local_88 != (ulonglong *)0x0) { + puVar9 = (undefined *)*local_88; + } + lVar11 = *(longlong *)(puVar9 + 0x100); + puVar9 = puVar13; + if (local_88 != (ulonglong *)0x0) { + puVar9 = (undefined *)*local_88; + } + uVar16 = ((ulonglong)puVar9 & 0xffffffff) % (ulonglong)*(uint *)(lVar11 + 0x6c8); + if (*(longlong *)(lVar11 + 0x6a8) == 0) goto LAB_140065c5c; + plVar4 = *(longlong **)(*(longlong *)(lVar11 + 0x6a8) + uVar16 * 8); + goto joined_r0x000140065c03; + } + } + } + goto LAB_140065f17; +joined_r0x000140065c03: + if ((plVar4 == (longlong *)0x0) || + ((uint)uVar16 != *(uint *)(plVar4 + 4) % *(uint *)(lVar11 + 0x6c8))) goto LAB_140065c5c; + puVar9 = puVar13; + if ((ulonglong *)*plVar4 != (ulonglong *)0x0) { + puVar9 = *(undefined **)*plVar4; + } + puVar8 = puVar13; + if (local_88 != (ulonglong *)0x0) { + puVar8 = (undefined *)*local_88; + } + if (puVar9 != puVar8) { + plVar4 = (longlong *)plVar4[2]; + goto joined_r0x000140065c03; + } + FUN_1400603a0((char *)(lVar11 + 0x6a0),plVar4,'\0'); +LAB_140065c5c: + puVar9 = puVar13; + if (local_88 != (ulonglong *)0x0) { + puVar9 = (undefined *)*local_88; + } + ppuVar15 = *(ulonglong ***)(puVar9 + 0x108); + puVar9 = puVar13; + if (local_88 != (ulonglong *)0x0) { + puVar9 = (undefined *)*local_88; + } + uVar16 = ((ulonglong)puVar9 & 0xffffffff) % (ulonglong)*(uint *)(ppuVar15 + 0xd9); + if (ppuVar15[0xd5] != (ulonglong *)0x0) { + plVar4 = (longlong *)ppuVar15[0xd5][uVar16]; + while( true ) { + if ((plVar4 == (longlong *)0x0) || + ((uint)uVar16 != *(uint *)(plVar4 + 4) % *(uint *)(ppuVar15 + 0xd9))) goto LAB_140065ced; + puVar9 = puVar13; + if ((ulonglong *)*plVar4 != (ulonglong *)0x0) { + puVar9 = *(undefined **)*plVar4; + } + puVar8 = puVar13; + if (local_88 != (ulonglong *)0x0) { + puVar8 = (undefined *)*local_88; + } + if (puVar9 == puVar8) break; + plVar4 = (longlong *)plVar4[2]; + } + FUN_1400603a0((char *)(ppuVar15 + 0xd4),plVar4,'\0'); + } +LAB_140065ced: + puVar9 = puVar13; + if (local_88 != (ulonglong *)0x0) { + puVar9 = (undefined *)*local_88; + } + if ((((*(double *)(puVar9 + 0x198) != 0.0) && (*(int *)(puVar9 + 0x70) != 0)) && + (*(int *)(puVar9 + 0xb8) != 0)) && (*(int *)(puVar9 + 0x70) != *(int *)(puVar9 + 0xb8))) { + puVar9 = puVar13; + if (local_88 != (ulonglong *)0x0) { + puVar9 = (undefined *)*local_88; + } + uVar19 = (**(code **)(*(longlong *)(param_2 + 0x118) + 8))(); + *(undefined8 *)(puVar9 + 400) = uVar19; + uVar6 = DAT_14016f3d4; + uVar5 = DAT_14016f3d0; + puVar9 = puVar13; + if (local_88 != (ulonglong *)0x0) { + puVar9 = (undefined *)*local_88; + } + if (puVar9[8] != '\x01') { + *(undefined4 *)(puVar9 + 0x10) = 0; + *(undefined4 *)(puVar9 + 0x20) = uVar5; + *(undefined2 *)(puVar9 + 0x24) = uVar6; + *(undefined4 *)(puVar9 + 0x30) = uVar5; + *(undefined2 *)(puVar9 + 0x34) = uVar6; + puVar9[0x38] = 0; + uVar6 = DAT_14016f3d4; + uVar5 = DAT_14016f3d0; + *(undefined4 *)(puVar9 + 0x40) = 0; + *(undefined4 *)(puVar9 + 0x50) = uVar5; + *(undefined2 *)(puVar9 + 0x54) = uVar6; + *(undefined4 *)(puVar9 + 0x60) = uVar5; + *(undefined2 *)(puVar9 + 100) = uVar6; + puVar9[0x68] = 0; + puVar9[8] = 1; + } + local_res8 = (ulonglong *)0x0; + if (local_88 != (ulonglong *)0x0) { + local_88[1] = local_88[1] + 1; + local_res8 = local_88; + puVar13 = (undefined *)*local_88; + } + ppuVar15 = &local_res8; + FUN_1400640a0((longlong)param_1,*(longlong *)(puVar13 + 0x100),*(longlong *)(puVar13 + 0x108), + (longlong *)ppuVar15); + } + if (puVar12 == (uint *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + uVar19 = 0; + puVar9 = (undefined *)FUN_14005dad0(param_1,puVar12,'\0'); + if (*(longlong *)(param_2 + 0x17f0) != 0) { + FUN_14003e7c0(param_1,puVar12,uVar19,ppuVar15); + local_res20 = (short *)PTR_DAT_14016f010; + uVar16 = (ulonglong)*(uint *)(param_4 + 0x6f8); + FUN_140029b80((longlong *)&local_res20, + L"[서버] Client %d-Client %d간의 P2P 연결 쌍 제거", + (ulonglong)*(uint *)(param_3 + 0x6f8),uVar16); + psVar7 = local_res20; + psVar14 = local_res20; + if (local_res20 == (short *)0x0) { + psVar14 = (short *)PTR_DAT_14016f010; + } + uVar19 = 1; + lVar11 = *(longlong *)(param_2 + 0x17f0); + FUN_1400843d0(lVar11,1,psVar14,uVar16); + if (((psVar7 != (short *)0x0) && (psVar7 != (short *)PTR_DAT_14016f010)) && + (psVar7 + -4 != (short *)0x0)) { + piVar10 = (int *)FUN_14003e7c0(lVar11,uVar19,psVar14,uVar16); + FUN_14003d040(piVar10); + piVar1 = (int *)(psVar7 + -2); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(psVar7 + -4); + } + FUN_14003d0d0((longlong)piVar10); + } + local_res20 = (short *)PTR_DAT_14016f010; + puVar9 = PTR_DAT_14016f010; + } +LAB_140065f17: + if (local_88 != (ulonglong *)0x0) { + puVar2 = local_88 + 1; + *puVar2 = *puVar2 - 1; + puVar9 = (undefined *)local_88[1]; + if (*puVar2 == 0) { + puVar9 = (undefined *)FUN_14004e450(local_88); + } + } + return puVar9; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140065f50.c b/decomp/AgentManager_Release_x64/full/functions/0x140065f50.c new file mode 100644 index 00000000..1eda4366 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140065f50.c @@ -0,0 +1,31 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140065f50 FUN_140065f50 + * Pseudocode, not original source. */ + +void FUN_140065f50(char *param_1,LPVOID param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong *plVar1; + uint uVar2; + + if (param_2 == (LPVOID)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + FUN_140060d40((longlong)param_2,param_2,param_3,param_4); + plVar1 = *(longlong **)(param_1 + 0x50); + if (plVar1 == (longlong *)0x0) { + FUN_14003e8b0(param_2); + } + else { + (**(code **)(*plVar1 + 0x18))(plVar1,param_2); + } + *(longlong *)(param_1 + 0x20) = *(longlong *)(param_1 + 0x20) + -1; + if ((((char)param_3 != '\0') && (*(ulonglong *)(param_1 + 0x20) < *(ulonglong *)(param_1 + 0x40))) + && (*(int *)(param_1 + 0x48) == 0)) { + uVar2 = FUN_14009b970((longlong)param_1,*(ulonglong *)(param_1 + 0x20)); + FUN_1400c8de0(param_1,uVar2); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140065fe0.c b/decomp/AgentManager_Release_x64/full/functions/0x140065fe0.c new file mode 100644 index 00000000..41a86be9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140065fe0.c @@ -0,0 +1,70 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140065fe0 FUN_140065fe0 + * Pseudocode, not original source. */ + +void FUN_140065fe0(char *param_1,LPVOID param_2,ulonglong param_3) + +{ + uint uVar1; + ulonglong uVar2; + uint uVar3; + + if (param_2 == (LPVOID)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + uVar1 = *(uint *)(param_1 + 0x28); + uVar2 = (ulonglong)*(uint *)((longlong)param_2 + 0x20) % (ulonglong)uVar1; + if (*(longlong *)(param_1 + 0x20) == 1) { + *(undefined8 *)(*(longlong *)(param_1 + 8) + uVar2 * 8) = 0; + param_1[0x10] = '\0'; + param_1[0x11] = '\0'; + param_1[0x12] = '\0'; + param_1[0x13] = '\0'; + param_1[0x14] = '\0'; + param_1[0x15] = '\0'; + param_1[0x16] = '\0'; + param_1[0x17] = '\0'; + param_1[0x18] = '\0'; + param_1[0x19] = '\0'; + param_1[0x1a] = '\0'; + param_1[0x1b] = '\0'; + param_1[0x1c] = '\0'; + param_1[0x1d] = '\0'; + param_1[0x1e] = '\0'; + param_1[0x1f] = '\0'; + } + else { + uVar3 = (uint)uVar2; + if (((*(longlong *)((longlong)param_2 + 0x18) == 0) || + (*(uint *)(*(longlong *)((longlong)param_2 + 0x18) + 0x20) % uVar1 != uVar3)) && + ((*(longlong *)((longlong)param_2 + 0x10) == 0 || + (*(uint *)(*(longlong *)((longlong)param_2 + 0x10) + 0x20) % uVar1 != uVar3)))) { + *(undefined8 *)(*(longlong *)(param_1 + 8) + uVar2 * 8) = 0; + } + else if (param_2 == *(LPVOID *)(*(longlong *)(param_1 + 8) + (longlong)(int)uVar3 * 8)) { + *(undefined8 *)(*(longlong *)(param_1 + 8) + uVar2 * 8) = + *(undefined8 *)((longlong)param_2 + 0x10); + } + if (param_2 == *(LPVOID *)(param_1 + 0x10)) { + *(undefined8 *)(param_1 + 0x10) = *(undefined8 *)((longlong)param_2 + 0x10); + *(undefined8 *)((longlong)param_2 + 0x18) = 0; + } + if (param_2 == *(LPVOID *)(param_1 + 0x18)) { + *(undefined8 *)(param_1 + 0x18) = *(undefined8 *)((longlong)param_2 + 0x18); + *(undefined8 *)((longlong)param_2 + 0x10) = 0; + } + if (*(longlong *)((longlong)param_2 + 0x18) != 0) { + *(undefined8 *)(*(longlong *)((longlong)param_2 + 0x18) + 0x10) = + *(undefined8 *)((longlong)param_2 + 0x10); + } + if (*(longlong *)((longlong)param_2 + 0x10) != 0) { + *(undefined8 *)(*(longlong *)((longlong)param_2 + 0x10) + 0x18) = + *(undefined8 *)((longlong)param_2 + 0x18); + } + } + FUN_140065f50(param_1,param_2,param_3 & 0xff,param_2); + FUN_1400c8cb0(param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400660e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400660e0.c new file mode 100644 index 00000000..29af4d70 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400660e0.c @@ -0,0 +1,48 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400660e0 FUN_1400660e0 + * Pseudocode, not original source. */ + +undefined4 * +FUN_1400660e0(undefined4 *param_1,undefined4 *param_2,SIZE_T param_3,undefined8 param_4) + +{ + longlong *plVar1; + + *param_1 = *param_2; + *(ulonglong *)(param_1 + 2) = 0; + FUN_14005d770((ulonglong *)(param_1 + 2),(ulonglong *)(param_2 + 2),param_3,param_4); + param_1[4] = param_2[4]; + *(ulonglong *)(param_1 + 6) = 0; + FUN_1400642e0((ulonglong *)(param_1 + 6),(ulonglong *)(param_2 + 6),param_3,param_4); + *(ulonglong *)(param_1 + 8) = 0; + FUN_140064410((ulonglong *)(param_1 + 8),(ulonglong *)(param_2 + 8),param_3,param_4); + FUN_14004e000((undefined8 *)(param_1 + 10),(longlong)(param_2 + 10),param_3); + *(undefined ***)(param_1 + 10) = Proud::ByteArray::vftable; + *(undefined8 *)(param_1 + 0x18) = 0; + *(undefined8 *)(param_1 + 0x16) = 0; + if (*(longlong *)(param_2 + 0x14) == 0) { + *(undefined8 *)(param_1 + 0x14) = 0; + param_1[0x19] = param_2[0x19]; + *(undefined8 *)(param_1 + 0x16) = *(undefined8 *)(param_2 + 0x16); + param_1[0x18] = param_2[0x18]; + } + else { + plVar1 = (longlong *)(*(longlong *)(param_2 + 0x14) + 0x28); + *plVar1 = *plVar1 + 1; + *(undefined8 *)(param_1 + 0x14) = *(undefined8 *)(param_2 + 0x14); + } + param_1[0x1a] = param_2[0x1a]; + param_1[0x1b] = param_2[0x1b]; + param_1[0x1c] = param_2[0x1c]; + FUN_14004e000((undefined8 *)(param_1 + 0x1e),(longlong)(param_2 + 0x1e),param_3); + *(undefined ***)(param_1 + 0x1e) = Proud::ByteArray::vftable; + param_1[0x28] = param_2[0x28]; + *(undefined ***)(param_1 + 0x2a) = Proud::AddrPort::vftable; + param_1[0x2c] = param_2[0x2c]; + *(undefined2 *)(param_1 + 0x2d) = *(undefined2 *)(param_2 + 0x2d); + param_1[0x2e] = param_2[0x2e]; + FUN_14004e000((undefined8 *)(param_1 + 0x30),(longlong)(param_2 + 0x30),param_3); + *(undefined ***)(param_1 + 0x30) = Proud::ByteArray::vftable; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140066230.c b/decomp/AgentManager_Release_x64/full/functions/0x140066230.c new file mode 100644 index 00000000..3519d9b2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140066230.c @@ -0,0 +1,173 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140066230 FUN_140066230 + * Pseudocode, not original source. */ + +void FUN_140066230(longlong param_1,uint *param_2,SIZE_T param_3,ulonglong param_4,longlong param_5) + +{ + int iVar1; + int *piVar2; + int *piVar3; + ulonglong uVar4; + ulonglong *puVar5; + longlong *plVar6; + uint *puVar7; + int **ppiVar8; + undefined4 *puVar9; + size_t sVar10; + int *piVar11; + SIZE_T SVar12; + ulonglong uVar13; + int *local_res8; + undefined4 local_128 [2]; + ulonglong local_120 [2]; + ulonglong local_110 [2]; + undefined **local_100; + undefined8 local_f8; + int *local_f0; + undefined8 local_e8; + undefined8 local_e0; + undefined8 local_d8; + undefined8 local_d0; + undefined8 local_c8; + uint local_b8; + undefined **local_b0; + undefined8 local_a8; + undefined8 local_a0; + undefined8 local_98; + undefined8 local_90; + undefined **local_80; + undefined4 local_78; + undefined2 local_74; + undefined **local_68; + undefined8 local_60; + undefined8 local_58; + undefined8 local_50; + undefined8 local_48; + undefined8 local_38; + + local_38 = 0xfffffffffffffffe; + if ((*(longlong *)(param_1 + 0x758) != 0) && (param_2[0x1be] != 0)) { + piVar11 = (int *)0x0; + local_120[0] = 0; + local_110[0] = 0; + local_110[1] = 0; + local_f8 = 0; + local_f0 = (int *)0x0; + local_e8 = 0; + local_e0 = 0; + local_100 = Proud::ByteArray::vftable; + local_c8 = 0; + local_d0 = 0; + local_d8 = 0; + local_a8 = 0; + local_a0 = 0; + local_98 = 0; + local_90 = 0; + local_b0 = Proud::ByteArray::vftable; + local_80 = Proud::AddrPort::vftable; + local_78 = 0; + local_74 = 0; + local_60 = 0; + local_58 = 0; + local_50 = 0; + local_48 = 0; + local_68 = Proud::ByteArray::vftable; + puVar7 = param_2; + SVar12 = param_3; + uVar13 = param_4; + local_res8 = (int *)FUN_14003e840(0x60); + piVar2 = piVar11; + if (local_res8 != (int *)0x0) { + piVar2 = (int *)FUN_140071b80((undefined8 *)local_res8,puVar7,SVar12,uVar13); + } + if (piVar2 == (int *)0x0) { + local_res8 = (int *)0x0; + piVar3 = piVar11; + } + else { + piVar3 = (int *)FUN_14003e840(0x48); + if (piVar3 != (int *)0x0) { + local_res8 = piVar3; + uVar4 = FUN_140094860(); + SVar12 = CONCAT71((int7)(SVar12 >> 8),1); + FUN_14003cf60(piVar3,uVar4 & 0xffffffff,SVar12,uVar13); + } + local_res8 = piVar3; + FUN_14003d040(piVar3); + piVar3[0x10] = 1; + piVar3[0x11] = 0; + *(int **)(piVar3 + 0xe) = piVar2; + FUN_14003d0d0((longlong)piVar3); + } + ppiVar8 = &local_res8; + FUN_14005d770(local_120,(ulonglong *)ppiVar8,SVar12,uVar13); + if (piVar3 != (int *)0x0) { + FUN_14003d040(piVar3); + plVar6 = (longlong *)(piVar3 + 0x10); + *plVar6 = *plVar6 + -1; + if (*plVar6 == 0) { + FUN_14003d0d0((longlong)piVar3); + FUN_140038210(piVar3,ppiVar8,SVar12,uVar13); + } + else { + FUN_14003d0d0((longlong)piVar3); + } + } + piVar2 = piVar11; + if (local_120[0] != 0) { + piVar2 = *(int **)(local_120[0] + 0x38); + } + *piVar2 = (int)param_3; + piVar2 = piVar11; + if (local_120[0] != 0) { + piVar2 = *(int **)(local_120[0] + 0x38); + } + piVar2[1] = (int)param_4; + puVar5 = (ulonglong *)FUN_14008b470(param_2,(longlong *)&local_res8,SVar12,uVar13); + FUN_1400642e0(local_110,puVar5,SVar12,uVar13); + piVar2 = local_res8; + if (local_res8 != (int *)0x0) { + FUN_14003d040(local_res8); + *(longlong *)(local_res8 + 0x10) = *(longlong *)(local_res8 + 0x10) + -1; + if (*(longlong *)(local_res8 + 0x10) == 0) { + FUN_14003d0d0((longlong)piVar2); + FUN_140062970(local_res8,puVar5,SVar12,uVar13); + } + else { + FUN_14003d0d0((longlong)piVar2); + } + } + local_128[0] = 6; + iVar1 = *(int *)(param_5 + 0x18); + sVar10 = (size_t)iVar1; + if (iVar1 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + FUN_14002a050((longlong)&local_100,iVar1,SVar12); + piVar2 = piVar11; + if (*(int *)(param_5 + 0x18) != 0) { + piVar2 = *(int **)(param_5 + 0x10); + } + piVar3 = local_f0; + if ((int)local_e8 == 0) { + piVar3 = piVar11; + } + FUN_140006fb0((undefined8 *)piVar3,(undefined8 *)piVar2,sVar10); + local_b8 = param_2[0x1be]; + puVar9 = local_128; + FUN_14008bca0((longlong)param_2,puVar9,sVar10,uVar13); + FUN_1400645f0((longlong)local_128,puVar9,sVar10,uVar13); + } + if (*(longlong *)(param_1 + 0x58) != 0) { + piVar11 = (int *)(*(longlong *)(param_1 + 0x58) + 0x98); + piVar2 = piVar11; + FUN_14003d040(piVar11); + plVar6 = (longlong *)(*(longlong *)(param_1 + 0x58) + 0x68); + (**(code **)(*plVar6 + 0xb0))(plVar6,1,&DAT_140177f90,param_2 + 0x1be,piVar2,1); + FUN_14003d0d0((longlong)piVar11); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140066550.c b/decomp/AgentManager_Release_x64/full/functions/0x140066550.c new file mode 100644 index 00000000..4bcf2caa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140066550.c @@ -0,0 +1,282 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140066550 FUN_140066550 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_140066550(longlong param_1,uint *param_2,longlong param_3,undefined8 param_4) + +{ + longlong lVar1; + uint uVar2; + undefined8 uVar3; + uint *puVar4; + longlong *plVar5; + ulonglong *puVar6; + longlong **pplVar7; + undefined8 *puVar8; + undefined4 *puVar9; + longlong *plVar10; + uint uVar11; + ulonglong uVar12; + ulonglong uVar13; + ulonglong uVar14; + undefined1 auStack_ea8 [32]; + longlong *local_e88; + undefined1 uStack_e80; + undefined3 uStack_e7f; + undefined4 uStack_e7c; + longlong *local_e78; + undefined8 uStack_e70; + exception local_e68 [4]; + undefined4 local_e64; + longlong local_e60; + undefined8 *local_e58; + undefined4 local_e50; + int local_e4c; + undefined4 local_e18 [2]; + longlong local_e10 [2]; + ulonglong local_e00 [2]; + undefined **local_df0; + undefined8 local_de8; + undefined8 local_de0; + undefined8 local_dd8; + undefined8 local_dd0; + longlong local_dc8; + longlong local_dc0; + ulonglong local_db8; + uint local_da8; + undefined **local_da0; + undefined8 local_d98; + undefined8 local_d90; + undefined8 local_d88; + undefined8 local_d80; + undefined **local_d70; + undefined4 local_d68; + undefined2 local_d64; + undefined **local_d58; + undefined8 local_d50; + undefined8 local_d48; + undefined8 local_d40; + undefined8 local_d38; + undefined8 local_d28; + exception local_d20 [72]; + undefined8 *local_cd8; + undefined8 uStack_cd0; + undefined8 **local_58; + undefined4 local_50; + int local_4c; + ulonglong local_48; + + local_d28 = 0xfffffffffffffffe; + local_48 = DAT_14016f5a0 ^ (ulonglong)auStack_ea8; + if (param_2 == (uint *)0x0) { + FUN_14003db10(local_e68,L"Unexpected at candidate remote client removal!",param_3,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_e68,(ThrowInfo *)&DAT_14016c210); + } + plVar5 = *(longlong **)(param_1 + 0x478); + lVar1 = *plVar5; + uVar3 = (**(code **)(*(longlong *)(param_1 + 0x118) + 8))(); + uVar2 = (**(code **)(lVar1 + 8))(plVar5,uVar3); + local_e88 = (longlong *)CONCAT44(local_e88._4_4_,uVar2); + param_2[0x1be] = uVar2; + FUN_1400511f0((char *)(param_1 + 0x16e8),*(longlong *)(param_2 + 0x1d2) + 0x128,'\0'); + uVar14 = (ulonglong)*(uint *)(param_1 + 0xca0); + uVar12 = (ulonglong)uVar2 % uVar14; + uVar13 = *(ulonglong *)(param_1 + 0xc80); + uVar11 = (uint)uVar12; + if (uVar13 == 0) { +LAB_14006667e: + uVar3 = FUN_14004c640(param_1 + 0xc78,*(uint *)(param_1 + 0xca0),'\x01'); + if ((char)uVar3 == '\0') { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x8007000e); + } + } + else { + puVar4 = *(uint **)(uVar13 + uVar12 * 8); + while ((puVar4 != (uint *)0x0 && + (pplVar7 = (longlong **)((ulonglong)puVar4[8] % uVar14), uVar11 == (uint)pplVar7))) { + if (*puVar4 == uVar2) goto LAB_1400666d5; + puVar4 = *(uint **)(puVar4 + 4); + } + if (uVar13 == 0) goto LAB_14006667e; + puVar4 = *(uint **)(uVar13 + uVar12 * 8); + while ((puVar4 != (uint *)0x0 && + (pplVar7 = (longlong **)((ulonglong)puVar4[8] % uVar14), uVar11 == (uint)pplVar7))) { + if (*puVar4 == uVar2) goto LAB_1400666d1; + puVar4 = *(uint **)(puVar4 + 4); + } + if (uVar13 == 0) goto LAB_14006667e; + } + FUN_1400c8cb0((char *)(param_1 + 0xc78)); + uVar14 = (ulonglong)uVar2; + pplVar7 = &local_e88; + puVar4 = FUN_14004e8c0((char *)(param_1 + 0xc78),(undefined4 *)pplVar7,uVar11,uVar2); + FUN_1400c8cb0((char *)(param_1 + 0xc78)); + uVar13 = uVar12; +LAB_1400666d1: + *(uint **)(puVar4 + 2) = param_2; +LAB_1400666d5: + FUN_140074fb0((undefined4 *)local_e68); + FUN_140074a40((longlong)local_e68,pplVar7,uVar13,uVar14); + FUN_140075110((int *)local_e68,0x800,uVar13,uVar14); + uVar3 = 0; + FUN_140075110((int *)local_e68,0,uVar13,uVar14); + FUN_140029d80((longlong)local_e68,CONCAT71((int7)((ulonglong)uVar3 >> 8),10),uVar13,uVar14); + FUN_140029e60((longlong)local_e68,(ulonglong)uVar2,uVar13,uVar14); + local_e78 = *(longlong **)(param_1 + 0x26c); + uStack_e70 = *(undefined8 *)(param_1 + 0x274); + FUN_140051cf0((longlong)local_e68,&local_e78,uVar13,uVar14); + uVar2 = *(uint *)(param_3 + 0x18); + FUN_140076380((longlong)local_e68,(longlong)(int)uVar2,uVar13,uVar14); + puVar8 = (undefined8 *)0x0; + if (*(int *)(param_3 + 0x18) != 0) { + puVar8 = *(undefined8 **)(param_3 + 0x10); + } + if (uVar2 == 0) goto LAB_1400667ad; + local_e64 = 0; + if (local_e60 == 0) { + if (local_e58 == (undefined8 *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,puVar8,uVar13,uVar14); + } +LAB_14006677f: + uVar13 = (ulonglong)uVar2; + FUN_140029f40((longlong *)&local_e58,puVar8,uVar13,uVar14); + } + else { + if (local_e58 != (undefined8 *)0x0) goto LAB_14006677f; + if (local_e60 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,puVar8,uVar13,uVar14); + } + uVar13 = (ulonglong)uVar2; + FUN_14002a110(local_e60,puVar8,uVar13); + } + FUN_14002a180((longlong)local_e68,puVar8,uVar13,uVar14); +LAB_1400667ad: + FUN_140075bb0((longlong)local_e68,*(longlong *)(param_2 + 0x1d2) + 0x128,uVar13,uVar14); + plVar5 = (longlong *)(**(code **)(*(longlong *)(param_2 + 0x42) + 0x10))(); + local_e78 = plVar5; + FUN_14003d040((int *)plVar5); + uStack_e70._0_1_ = 1; + local_4c = 200; + local_50 = 0; + local_58 = &local_cd8; + if (local_e60 == 0) { + if (local_e58 == (undefined8 *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,0,uVar13,uVar14); + } + } + else { + local_e50 = *(undefined4 *)(local_e60 + 0x18); + } + local_cd8 = local_e58; + if (local_e58 == (undefined8 *)0x0) { + if (local_e60 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,0,uVar13,uVar14); + } + local_cd8 = (undefined8 *)0x0; + if (*(int *)(local_e60 + 0x18) != 0) { + local_cd8 = *(undefined8 **)(local_e60 + 0x10); + } + } + local_50 = 1; + uStack_cd0 = CONCAT44(uStack_e7c,local_e50); + local_e88 = (longlong *)0x0; + _uStack_e80 = CONCAT31((int3)((uint)local_e50 >> 8),1); + pplVar7 = &local_e88; + FUN_140091090(*(char **)(param_2 + 0x1d2),(longlong)&local_cd8,(SIZE_T *)pplVar7,uVar14); + if (local_58 == (undefined8 **)0x0) { + FUN_14003db10(local_d20,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,pplVar7, + uVar14); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_d20,(ThrowInfo *)&DAT_14016c210); + } + if (local_4c < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + FUN_14003d0d0((longlong)plVar5); + local_e88 = &local_e60; + FUN_14008a320(&local_e60); + if ((local_e58 != (undefined8 *)0x0) && (local_e4c < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_e10[0] = 0; + local_e00[0] = 0; + local_e00[1] = 0; + local_de8 = 0; + local_de0 = 0; + local_dd8 = 0; + local_dd0 = 0; + local_df0 = Proud::ByteArray::vftable; + local_db8 = 0; + local_dc0 = 0; + local_dc8 = 0; + local_d98 = 0; + local_d90 = 0; + local_d88 = 0; + local_d80 = 0; + local_da0 = Proud::ByteArray::vftable; + local_d70 = Proud::AddrPort::vftable; + local_d68 = 0; + local_d64 = 0; + local_d50 = 0; + local_d48 = 0; + local_d40 = 0; + local_d38 = 0; + local_d58 = Proud::ByteArray::vftable; + local_e18[0] = 5; + puVar6 = (ulonglong *)FUN_14008b470(param_2,(longlong *)&local_e88,pplVar7,uVar14); + FUN_1400642e0(local_e00,puVar6,pplVar7,uVar14); + plVar5 = local_e88; + if (local_e88 != (longlong *)0x0) { + local_e78 = local_e88; + FUN_14003d040((int *)local_e88); + uStack_e70._0_1_ = 1; + local_e88[8] = local_e88[8] + -1; + if (local_e88[8] == 0) { + FUN_14003d0d0((longlong)plVar5); + uStack_e70._0_1_ = 0; + FUN_140062970((undefined4 *)local_e88,puVar6,pplVar7,uVar14); + } + else { + FUN_14003d0d0((longlong)plVar5); + } + } + local_da8 = param_2[0x1be]; + puVar9 = local_e18; + FUN_14008bca0((longlong)param_2,puVar9,(SIZE_T)pplVar7,uVar14); + FUN_140049e40(&local_d58); + FUN_140049e40(&local_da0); + local_e88 = &local_dc8; + FUN_14008a320(&local_dc8); + if (local_dc0 != 0) { + if ((longlong)local_db8 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_db8 = local_db8 & 0xffffffff00000000; + } + FUN_140049e40(&local_df0); + FUN_1400641e0((longlong *)(local_e00 + 1),puVar9,pplVar7,uVar14); + FUN_140064160((longlong *)local_e00,puVar9,pplVar7,uVar14); + FUN_140038280(local_e10,puVar9,pplVar7,uVar14); + if (*(longlong *)(param_1 + 0x58) != 0) { + plVar10 = (longlong *)(*(longlong *)(param_1 + 0x58) + 0x98); + local_e78 = plVar10; + FUN_14003d040((int *)plVar10); + uStack_e70 = CONCAT71(uStack_e70._1_7_,1); + plVar5 = (longlong *)(*(longlong *)(param_1 + 0x58) + 0x68); + (**(code **)(*plVar5 + 0xa0))(plVar5,1,&DAT_140177f90,param_2 + 0x1be); + FUN_14003d0d0((longlong)plVar10); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140066af0.c b/decomp/AgentManager_Release_x64/full/functions/0x140066af0.c new file mode 100644 index 00000000..f47720a4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140066af0.c @@ -0,0 +1,223 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140066af0 FUN_140066af0 + * Pseudocode, not original source. */ + +void FUN_140066af0(longlong *param_1,int *param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined *puVar1; + undefined *puVar2; + char cVar3; + uint uVar4; + undefined **ppuVar5; + longlong *plVar6; + int *piVar7; + uint *puVar8; + undefined8 uVar9; + undefined4 *puVar10; + longlong lVar11; + undefined8 uVar12; + ulonglong uVar13; + uint *puVar14; + undefined ***pppuVar15; + undefined *local_res18; + longlong local_res20; + undefined **local_188; + uint local_180; + undefined2 local_17c; + undefined **local_178; + undefined8 local_170; + undefined8 local_168; + undefined8 local_160; + undefined8 local_158; + undefined **local_128; + undefined8 local_120; + undefined8 local_118; + undefined8 local_110; + undefined8 local_108; + undefined **local_100; + int local_f8; + undefined2 local_f4; + undefined **local_f0; + undefined8 local_e8; + undefined8 local_e0; + undefined8 local_d8; + undefined8 local_d0; + undefined **local_c8; + undefined8 local_c0; + undefined8 local_b8; + undefined8 local_b0; + undefined8 local_a8; + undefined **local_a0; + undefined8 local_98; + undefined8 local_90; + undefined8 local_88; + undefined8 local_80; + int *local_78; + undefined1 local_70; + longlong local_60 [2]; + longlong local_50 [3]; + longlong local_38 [2]; + + local_50[1] = 0xfffffffffffffffe; + if (param_1[0xeb] != 0) { + uVar4 = *param_2 - 4; + if (uVar4 < 0x12) { + switch(*param_2) { + case 4: + local_120 = 0; + local_118 = 0; + local_110 = 0; + local_108 = 0; + local_128 = Proud::ByteArray::vftable; + local_100 = Proud::AddrPort::vftable; + local_f8 = param_2[0x2c]; + local_f4 = (undefined2)param_2[0x2d]; + pppuVar15 = &local_128; + cVar3 = (**(code **)(*(longlong *)param_1[0xeb] + 0x48)) + ((longlong *)param_1[0xeb],&local_100,param_2 + 0x30); + piVar7 = (int *)(**(code **)(*param_1 + 0x58))(param_1); + local_70 = 0; + local_78 = piVar7; + FUN_14003d040(piVar7); + local_70 = 1; + if (DAT_14017614f != '\0') { + (**(code **)(*param_1 + 200))(param_1,L"Proud::CNetServerImpl::ProcessOneLocalEvent"); + } + local_188 = Proud::AddrPort::vftable; + local_180 = param_2[0x2c]; + local_17c = (undefined2)param_2[0x2d]; + puVar8 = (uint *)FUN_14004d2e0((longlong)param_1,(longlong)&local_188); + if (puVar8 != (uint *)0x0) { + if (cVar3 == '\0') { + FUN_14005c570(param_1,(longlong)puVar8,(SIZE_T)&local_128,pppuVar15); + } + else { + FUN_140066550((longlong)param_1,puVar8,(longlong)&local_128,pppuVar15); + } + } + FUN_14003d0d0((longlong)piVar7); + FUN_140049e40(&local_128); + break; + case 5: + uVar9 = 0; + if (*(longlong *)(param_2 + 6) != 0) { + uVar9 = *(undefined8 *)(*(longlong *)(param_2 + 6) + 0x38); + } + (**(code **)(*(longlong *)param_1[0xeb] + 0x38))((longlong *)param_1[0xeb],uVar9); + break; + case 6: + uVar9 = 0; + uVar12 = uVar9; + if (*(longlong *)(param_2 + 2) != 0) { + uVar12 = *(undefined8 *)(*(longlong *)(param_2 + 2) + 0x38); + } + if (*(longlong *)(param_2 + 6) != 0) { + uVar9 = *(undefined8 *)(*(longlong *)(param_2 + 6) + 0x38); + } + (**(code **)(*(longlong *)param_1[0xeb] + 0x40)) + ((longlong *)param_1[0xeb],uVar9,uVar12,param_2 + 10); + break; + case 7: + puVar10 = (undefined4 *)0x0; + if (*(longlong *)(param_2 + 2) != 0) { + puVar10 = *(undefined4 **)(*(longlong *)(param_2 + 2) + 0x38); + } + (**(code **)(*(longlong *)param_1[0xeb] + 0x50)) + ((longlong *)param_1[0xeb],param_2[0x1a],param_2[0x1b],*puVar10); + break; + case 0xf: + (**(code **)(*(longlong *)param_1[0xeb] + 0x68)) + ((longlong *)param_1[0xeb],param_2[0x1c],param_2[4]); + break; + case 0x10: + local_e8 = 0; + local_e0 = 0; + local_d8 = 0; + local_d0 = 0; + local_f0 = Proud::ByteArray::vftable; + FUN_14003e7c0(IMAGE_DOS_HEADER_140000000.e_magic + + (&switchD_140066b49::switchdataD_140066fbc)[(int)uVar4],0,param_3,param_4); + local_res18 = PTR_DAT_14016f010; + ppuVar5 = &local_res18; + plVar6 = FUN_140071c20(&local_res20,0x10,1,(longlong *)ppuVar5,(longlong)&local_f0); + lVar11 = *param_1; + (**(code **)(lVar11 + 0x38))(param_1); + puVar2 = local_res18; + if (((local_res18 != (undefined *)0x0) && (local_res18 != PTR_DAT_14016f010)) && + (puVar1 = local_res18 + -8, puVar1 != (undefined *)0x0)) { + ppuVar5 = (undefined **)FUN_14003e7c0(PTR_DAT_14016f010,plVar6,lVar11,ppuVar5); + local_180 = local_180 & 0xffffff00; + local_188 = ppuVar5; + FUN_14003d040((int *)ppuVar5); + local_180 = CONCAT31(local_180._1_3_,1); + piVar7 = (int *)(puVar2 + -4); + *piVar7 = *piVar7 + -1; + if (*piVar7 == 0) { + FUN_14003e8b0(puVar1); + } + FUN_14003d0d0((longlong)ppuVar5); + } + local_res18 = PTR_DAT_14016f010; + FUN_140049e40(&local_f0); + break; + case 0x11: + (**(code **)(*(longlong *)param_1[0xeb] + 0x70))((longlong *)param_1[0xeb],param_2[0x1c]); + break; + case 0x13: + lVar11 = 0; + local_98 = 0; + local_90 = 0; + local_88 = 0; + local_80 = 0; + local_a0 = Proud::ByteArray::vftable; + if (*(longlong *)(param_2 + 2) != 0) { + lVar11 = *(longlong *)(*(longlong *)(param_2 + 2) + 0x38); + } + plVar6 = FUN_140071c20(local_60,0x19,1,(longlong *)(lVar11 + 0x10),(longlong)&local_a0); + (**(code **)(*param_1 + 0x38))(param_1,plVar6); + FUN_140049e40(&local_a0); + break; + case 0x14: + puVar8 = (uint *)0x0; + local_c0 = 0; + local_b8 = 0; + local_b0 = 0; + local_a8 = 0; + local_c8 = Proud::ByteArray::vftable; + lVar11 = *(longlong *)(param_2 + 2); + puVar14 = puVar8; + if (lVar11 != 0) { + puVar8 = *(uint **)(lVar11 + 0x38); + puVar14 = *(uint **)(lVar11 + 0x38); + } + plVar6 = FUN_140071c20(local_50,(ulonglong)*puVar8,(ulonglong)(uint)param_2[0x1c], + (longlong *)(puVar14 + 4),(longlong)&local_c8); + (**(code **)(*param_1 + 0x38))(param_1,plVar6); + FUN_140049e40(&local_c8); + break; + case 0x15: + puVar8 = (uint *)0x0; + local_170 = 0; + local_168 = 0; + local_160 = 0; + local_158 = 0; + local_178 = Proud::ByteArray::vftable; + lVar11 = *(longlong *)(param_2 + 2); + puVar14 = puVar8; + if (lVar11 != 0) { + puVar8 = *(uint **)(lVar11 + 0x38); + puVar14 = *(uint **)(lVar11 + 0x38); + } + puVar14 = puVar14 + 4; + uVar13 = (ulonglong)(uint)param_2[0x1c]; + plVar6 = FUN_140071c20(local_38,(ulonglong)*puVar8,uVar13,(longlong *)puVar14, + (longlong)&local_178); + FUN_14005f760((longlong)param_1,plVar6,uVar13,puVar14); + FUN_140049e40(&local_178); + } + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140067010.c b/decomp/AgentManager_Release_x64/full/functions/0x140067010.c new file mode 100644 index 00000000..77cf4e6c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140067010.c @@ -0,0 +1,23 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140067010 FUN_140067010 + * Pseudocode, not original source. */ + +undefined4 * FUN_140067010(char *param_1,undefined4 *param_2,uint param_3,undefined4 param_4) + +{ + undefined8 uVar1; + undefined4 *puVar2; + + if (*(longlong *)(param_1 + 8) == 0) { + uVar1 = FUN_14004c640((longlong)param_1,*(uint *)(param_1 + 0x28),'\x01'); + if ((char)uVar1 == '\0') { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x8007000e); + } + } + FUN_1400c8cb0(param_1); + puVar2 = FUN_140067090(param_1,param_2,param_3,param_4); + FUN_1400c8cb0(param_1); + return puVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140067090.c b/decomp/AgentManager_Release_x64/full/functions/0x140067090.c new file mode 100644 index 00000000..1a75b07a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140067090.c @@ -0,0 +1,70 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140067090 FUN_140067090 + * Pseudocode, not original source. */ + +undefined4 * FUN_140067090(char *param_1,undefined4 *param_2,uint param_3,undefined4 param_4) + +{ + longlong *plVar1; + longlong lVar2; + uint uVar3; + undefined4 *puVar4; + + plVar1 = *(longlong **)(param_1 + 0x50); + if (plVar1 == (longlong *)0x0) { + puVar4 = (undefined4 *)FUN_14003e840(0x28); + } + else { + puVar4 = (undefined4 *) + (**(code **)(*plVar1 + 8))(plVar1,0x28,param_3,param_4,0xfffffffffffffffe); + } + if (puVar4 != (undefined4 *)0x0) { + *puVar4 = *param_2; + *(undefined8 *)(puVar4 + 2) = 0; + puVar4[8] = param_4; + } + lVar2 = *(longlong *)(*(longlong *)(param_1 + 8) + (ulonglong)param_3 * 8); + FUN_1400c8cb0(param_1); + if (*(longlong *)(param_1 + 0x20) == 0) { + *(undefined4 **)(param_1 + 0x10) = puVar4; + *(undefined4 **)(param_1 + 0x18) = puVar4; + *(undefined8 *)(puVar4 + 6) = 0; + *(undefined8 *)(puVar4 + 4) = 0; + } + else { + FUN_1400c8cb0(param_1); + FUN_1400c8cb0(param_1); + if (lVar2 == 0) { + lVar2 = *(longlong *)(param_1 + 0x10); + *(undefined8 *)(puVar4 + 6) = 0; + *(longlong *)(puVar4 + 4) = lVar2; + if (lVar2 != 0) { + *(undefined4 **)(lVar2 + 0x18) = puVar4; + } + *(undefined4 **)(param_1 + 0x10) = puVar4; + } + else { + if (*(longlong *)(lVar2 + 0x18) == 0) { + *(undefined4 **)(param_1 + 0x10) = puVar4; + } + else { + *(undefined4 **)(*(longlong *)(lVar2 + 0x18) + 0x10) = puVar4; + } + *(undefined8 *)(puVar4 + 6) = *(undefined8 *)(lVar2 + 0x18); + *(longlong *)(puVar4 + 4) = lVar2; + *(undefined4 **)(lVar2 + 0x18) = puVar4; + } + } + *(undefined4 **)(*(longlong *)(param_1 + 8) + (ulonglong)param_3 * 8) = puVar4; + *(longlong *)(param_1 + 0x20) = *(longlong *)(param_1 + 0x20) + 1; + FUN_1400c8cb0(param_1); + FUN_1400c8cb0(param_1); + if ((*(ulonglong *)(param_1 + 0x38) < *(ulonglong *)(param_1 + 0x20)) && + (*(int *)(param_1 + 0x48) == 0)) { + uVar3 = FUN_14009b970((longlong)param_1,*(ulonglong *)(param_1 + 0x20)); + FUN_1400c8de0(param_1,uVar3); + } + FUN_1400c8cb0(param_1); + return puVar4; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400671e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400671e0.c new file mode 100644 index 00000000..49a47f0d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400671e0.c @@ -0,0 +1,115 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400671e0 FUN_1400671e0 + * Pseudocode, not original source. */ + +void FUN_1400671e0(char *param_1,LPVOID param_2,undefined8 param_3,undefined8 param_4) + +{ + LPVOID pvVar1; + undefined8 *puVar2; + LPVOID pvVar3; + uint uVar4; + ulonglong uVar5; + longlong lVar6; + longlong lVar7; + LPVOID pvVar8; + float fVar9; + float fVar10; + + *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + 1; + FUN_1400c8cb0(param_1); + pvVar8 = *(LPVOID *)(param_1 + 0x10); + while (pvVar8 != (LPVOID)0x0) { + pvVar1 = *(LPVOID *)((longlong)pvVar8 + 0x10); + if ((*(longlong *)((longlong)pvVar8 + 8) != 0) && + (*(longlong *)(*(longlong *)((longlong)pvVar8 + 8) + 8) = + *(longlong *)(*(longlong *)((longlong)pvVar8 + 8) + 8) + -1, + *(longlong *)(*(longlong *)((longlong)pvVar8 + 8) + 8) == 0)) { + puVar2 = *(undefined8 **)((longlong)pvVar8 + 8); + pvVar3 = (LPVOID)*puVar2; + if (pvVar3 != (LPVOID)0x0) { + FUN_1400519b0((longlong)pvVar3,param_2,param_3,param_4); + FUN_14003e8b0(pvVar3); + } + FUN_14003e8b0(puVar2); + } + if (*(longlong **)(param_1 + 0x50) == (longlong *)0x0) { + FUN_14003e8b0(pvVar8); + } + else { + (**(code **)(**(longlong **)(param_1 + 0x50) + 0x18))(); + param_2 = pvVar8; + } + *(longlong *)(param_1 + 0x20) = *(longlong *)(param_1 + 0x20) + -1; + pvVar8 = pvVar1; + } + FUN_14003e8b0(*(LPVOID *)(param_1 + 8)); + param_1[8] = '\0'; + param_1[9] = '\0'; + param_1[10] = '\0'; + param_1[0xb] = '\0'; + param_1[0xc] = '\0'; + param_1[0xd] = '\0'; + param_1[0xe] = '\0'; + param_1[0xf] = '\0'; + param_1[0x20] = '\0'; + param_1[0x21] = '\0'; + param_1[0x22] = '\0'; + param_1[0x23] = '\0'; + param_1[0x24] = '\0'; + param_1[0x25] = '\0'; + param_1[0x26] = '\0'; + param_1[0x27] = '\0'; + param_1[0x10] = '\0'; + param_1[0x11] = '\0'; + param_1[0x12] = '\0'; + param_1[0x13] = '\0'; + param_1[0x14] = '\0'; + param_1[0x15] = '\0'; + param_1[0x16] = '\0'; + param_1[0x17] = '\0'; + param_1[0x18] = '\0'; + param_1[0x19] = '\0'; + param_1[0x1a] = '\0'; + param_1[0x1b] = '\0'; + param_1[0x1c] = '\0'; + param_1[0x1d] = '\0'; + param_1[0x1e] = '\0'; + param_1[0x1f] = '\0'; + FUN_1400c8cb0(param_1); + if (*(int *)(param_1 + 0x48) == 0) { + uVar4 = FUN_14009b970((longlong)param_1,*(longlong *)(param_1 + 0x20)); + if (*(LPVOID *)(param_1 + 8) != (LPVOID)0x0) { + FUN_14003e8b0(*(LPVOID *)(param_1 + 8)); + param_1[8] = '\0'; + param_1[9] = '\0'; + param_1[10] = '\0'; + param_1[0xb] = '\0'; + param_1[0xc] = '\0'; + param_1[0xd] = '\0'; + param_1[0xe] = '\0'; + param_1[0xf] = '\0'; + } + lVar6 = 0; + *(uint *)(param_1 + 0x28) = uVar4; + fVar10 = (float)uVar4 * *(float *)(param_1 + 0x34); + if ((9.223372e+18 < fVar10) && (fVar10 = fVar10 - 9.223372e+18, fVar10 < 9.223372e+18)) { + lVar6 = -0x8000000000000000; + } + fVar9 = (float)uVar4 * *(float *)(param_1 + 0x30); + lVar7 = 0; + *(longlong *)(param_1 + 0x38) = (longlong)fVar10 + lVar6; + if ((9.223372e+18 < fVar9) && (fVar9 = fVar9 - 9.223372e+18, fVar9 < 9.223372e+18)) { + lVar7 = -0x8000000000000000; + } + uVar5 = (longlong)fVar9 + lVar7; + if ((ulonglong)((longlong)fVar9 + lVar7) < 0x11) { + uVar5 = 0; + } + *(ulonglong *)(param_1 + 0x40) = uVar5; + } + FUN_1400c8cb0(param_1); + *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + -1; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140067370.c b/decomp/AgentManager_Release_x64/full/functions/0x140067370.c new file mode 100644 index 00000000..6ec9c1ad --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140067370.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140067370 FUN_140067370 + * Pseudocode, not original source. */ + +void FUN_140067370(longlong *param_1,LPVOID param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong *plVar1; + + FUN_1400645f0((longlong)param_2 + 0x40,param_2,param_3,param_4); + FUN_14008a320((longlong *)((longlong)param_2 + 0x20)); + if (*(longlong *)((longlong)param_2 + 0x28) != 0) { + if (*(int *)((longlong)param_2 + 0x34) < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + *(undefined4 *)((longlong)param_2 + 0x30) = 0; + } + plVar1 = (longlong *)*param_1; + if (plVar1 == (longlong *)0x0) { + FUN_14003e8b0(param_2); + } + else { + (**(code **)(*plVar1 + 0x10))(plVar1,param_2); + } + param_1[3] = param_1[3] + -1; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400673e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400673e0.c new file mode 100644 index 00000000..cbcd1195 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400673e0.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400673e0 FUN_1400673e0 + * Pseudocode, not original source. */ + +uint * FUN_1400673e0(char *param_1,uint *param_2) + +{ + uint uVar1; + uint *puVar2; + ulonglong uVar3; + undefined4 *puVar4; + uint uVar5; + + uVar1 = *param_2; + uVar3 = (ulonglong)uVar1 % (ulonglong)*(uint *)(param_1 + 0x28); + uVar5 = (uint)uVar3; + if (*(longlong *)(param_1 + 8) != 0) { + for (puVar2 = *(uint **)(*(longlong *)(param_1 + 8) + uVar3 * 8); + (puVar2 != (uint *)0x0 && (uVar5 == puVar2[8] % *(uint *)(param_1 + 0x28))); + puVar2 = *(uint **)(puVar2 + 4)) { + if (*puVar2 == uVar1) { + return puVar2 + 2; + } + } + } + puVar4 = FUN_140067010(param_1,param_2,uVar5,uVar1); + return puVar4 + 2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140067450.c b/decomp/AgentManager_Release_x64/full/functions/0x140067450.c new file mode 100644 index 00000000..b8fe6366 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140067450.c @@ -0,0 +1,70 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140067450 FUN_140067450 + * Pseudocode, not original source. */ + +undefined4 * FUN_140067450(char *param_1,undefined4 *param_2,uint param_3,undefined4 param_4) + +{ + longlong *plVar1; + longlong lVar2; + uint uVar3; + undefined4 *puVar4; + + plVar1 = *(longlong **)(param_1 + 0x50); + if (plVar1 == (longlong *)0x0) { + puVar4 = (undefined4 *)FUN_14003e840(0x28); + } + else { + puVar4 = (undefined4 *) + (**(code **)(*plVar1 + 8))(plVar1,0x28,param_3,param_4,0xfffffffffffffffe); + } + if (puVar4 != (undefined4 *)0x0) { + *puVar4 = *param_2; + *(undefined8 *)(puVar4 + 2) = 0; + puVar4[8] = param_4; + } + lVar2 = *(longlong *)(*(longlong *)(param_1 + 8) + (ulonglong)param_3 * 8); + FUN_1400c8cb0(param_1); + if (*(longlong *)(param_1 + 0x20) == 0) { + *(undefined4 **)(param_1 + 0x10) = puVar4; + *(undefined4 **)(param_1 + 0x18) = puVar4; + *(undefined8 *)(puVar4 + 6) = 0; + *(undefined8 *)(puVar4 + 4) = 0; + } + else { + FUN_1400c8cb0(param_1); + FUN_1400c8cb0(param_1); + if (lVar2 == 0) { + lVar2 = *(longlong *)(param_1 + 0x10); + *(undefined8 *)(puVar4 + 6) = 0; + *(longlong *)(puVar4 + 4) = lVar2; + if (lVar2 != 0) { + *(undefined4 **)(lVar2 + 0x18) = puVar4; + } + *(undefined4 **)(param_1 + 0x10) = puVar4; + } + else { + if (*(longlong *)(lVar2 + 0x18) == 0) { + *(undefined4 **)(param_1 + 0x10) = puVar4; + } + else { + *(undefined4 **)(*(longlong *)(lVar2 + 0x18) + 0x10) = puVar4; + } + *(undefined8 *)(puVar4 + 6) = *(undefined8 *)(lVar2 + 0x18); + *(longlong *)(puVar4 + 4) = lVar2; + *(undefined4 **)(lVar2 + 0x18) = puVar4; + } + } + *(undefined4 **)(*(longlong *)(param_1 + 8) + (ulonglong)param_3 * 8) = puVar4; + *(longlong *)(param_1 + 0x20) = *(longlong *)(param_1 + 0x20) + 1; + FUN_1400c8cb0(param_1); + FUN_1400c8cb0(param_1); + if ((*(ulonglong *)(param_1 + 0x38) < *(ulonglong *)(param_1 + 0x20)) && + (*(int *)(param_1 + 0x48) == 0)) { + uVar3 = FUN_14009b970((longlong)param_1,*(ulonglong *)(param_1 + 0x20)); + FUN_1400c8de0(param_1,uVar3); + } + FUN_1400c8cb0(param_1); + return puVar4; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400675a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400675a0.c new file mode 100644 index 00000000..1d2d2675 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400675a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400675a0 FUN_1400675a0 + * Pseudocode, not original source. */ + +void FUN_1400675a0(char *param_1,LPVOID param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400671e0(param_1,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400675c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400675c0.c new file mode 100644 index 00000000..2c5d5b5c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400675c0.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400675c0 FUN_1400675c0 + * Pseudocode, not original source. */ + +undefined4 * FUN_1400675c0(longlong *param_1,undefined4 *param_2,SIZE_T param_3,undefined8 param_4) + +{ + longlong *plVar1; + longlong lVar2; + + plVar1 = (longlong *)param_1[1]; + if (plVar1 == (longlong *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + *param_2 = (int)plVar1[2]; + FUN_140074fe0(param_2 + 2,(undefined4 *)(plVar1 + 3)); + FUN_1400660e0(param_2 + 0xc,(undefined4 *)(plVar1 + 8),param_3,param_4); + lVar2 = *plVar1; + param_1[1] = lVar2; + if (lVar2 == 0) { + param_1[2] = 0; + } + else { + *(undefined8 *)(lVar2 + 8) = 0; + } + FUN_140067370(param_1,plVar1,param_3,param_4); + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140067670.c b/decomp/AgentManager_Release_x64/full/functions/0x140067670.c new file mode 100644 index 00000000..35920c6b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140067670.c @@ -0,0 +1,126 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140067670 FUN_140067670 + * Pseudocode, not original source. */ + +void FUN_140067670(char *param_1,LPVOID param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong *plVar1; + LPVOID pvVar2; + int *piVar3; + undefined4 *puVar4; + LPVOID pvVar5; + bool bVar6; + uint uVar7; + ulonglong uVar8; + longlong lVar9; + LPVOID pvVar10; + float fVar11; + + *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + 1; + FUN_1400c8cb0(param_1); + pvVar10 = *(LPVOID *)(param_1 + 0x10); + while (pvVar10 != (LPVOID)0x0) { + pvVar2 = *(LPVOID *)((longlong)pvVar10 + 0x10); + piVar3 = *(int **)((longlong)pvVar10 + 8); + if (piVar3 != (int *)0x0) { + FUN_14003d040(piVar3); + bVar6 = true; + plVar1 = (longlong *)(*(longlong *)((longlong)pvVar10 + 8) + 0x40); + *plVar1 = *plVar1 + -1; + if (*(longlong *)(*(longlong *)((longlong)pvVar10 + 8) + 0x40) == 0) { + FUN_14003d0d0((longlong)piVar3); + bVar6 = false; + puVar4 = *(undefined4 **)((longlong)pvVar10 + 8); + pvVar5 = *(LPVOID *)(puVar4 + 0xe); + if (pvVar5 != (LPVOID)0x0) { + FUN_140051090((char *)((longlong)pvVar5 + 8)); + FUN_14003e8b0(pvVar5); + } + FUN_14003d110(puVar4,param_2,param_3,param_4); + FUN_14003e8b0(puVar4); + } + if (bVar6) { + FUN_14003d0d0((longlong)piVar3); + } + } + if (*(longlong **)(param_1 + 0x50) == (longlong *)0x0) { + FUN_14003e8b0(pvVar10); + } + else { + (**(code **)(**(longlong **)(param_1 + 0x50) + 0x18))(); + param_2 = pvVar10; + } + *(longlong *)(param_1 + 0x20) = *(longlong *)(param_1 + 0x20) + -1; + pvVar10 = pvVar2; + } + FUN_14003e8b0(*(LPVOID *)(param_1 + 8)); + param_1[8] = '\0'; + param_1[9] = '\0'; + param_1[10] = '\0'; + param_1[0xb] = '\0'; + param_1[0xc] = '\0'; + param_1[0xd] = '\0'; + param_1[0xe] = '\0'; + param_1[0xf] = '\0'; + param_1[0x20] = '\0'; + param_1[0x21] = '\0'; + param_1[0x22] = '\0'; + param_1[0x23] = '\0'; + param_1[0x24] = '\0'; + param_1[0x25] = '\0'; + param_1[0x26] = '\0'; + param_1[0x27] = '\0'; + param_1[0x10] = '\0'; + param_1[0x11] = '\0'; + param_1[0x12] = '\0'; + param_1[0x13] = '\0'; + param_1[0x14] = '\0'; + param_1[0x15] = '\0'; + param_1[0x16] = '\0'; + param_1[0x17] = '\0'; + param_1[0x18] = '\0'; + param_1[0x19] = '\0'; + param_1[0x1a] = '\0'; + param_1[0x1b] = '\0'; + param_1[0x1c] = '\0'; + param_1[0x1d] = '\0'; + param_1[0x1e] = '\0'; + param_1[0x1f] = '\0'; + FUN_1400c8cb0(param_1); + if (*(int *)(param_1 + 0x48) == 0) { + uVar7 = FUN_14009b970((longlong)param_1,*(longlong *)(param_1 + 0x20)); + if (*(LPVOID *)(param_1 + 8) != (LPVOID)0x0) { + FUN_14003e8b0(*(LPVOID *)(param_1 + 8)); + param_1[8] = '\0'; + param_1[9] = '\0'; + param_1[10] = '\0'; + param_1[0xb] = '\0'; + param_1[0xc] = '\0'; + param_1[0xd] = '\0'; + param_1[0xe] = '\0'; + param_1[0xf] = '\0'; + } + *(uint *)(param_1 + 0x28) = uVar7; + fVar11 = (float)uVar7 * *(float *)(param_1 + 0x34); + lVar9 = 0; + if ((9.223372e+18 < fVar11) && (fVar11 = fVar11 - 9.223372e+18, fVar11 < 9.223372e+18)) { + lVar9 = -0x8000000000000000; + } + *(longlong *)(param_1 + 0x38) = (longlong)fVar11 + lVar9; + fVar11 = (float)uVar7 * *(float *)(param_1 + 0x30); + lVar9 = 0; + if ((9.223372e+18 < fVar11) && (fVar11 = fVar11 - 9.223372e+18, fVar11 < 9.223372e+18)) { + lVar9 = -0x8000000000000000; + } + uVar8 = (longlong)fVar11 + lVar9; + if ((ulonglong)((longlong)fVar11 + lVar9) < 0x11) { + uVar8 = 0; + } + *(ulonglong *)(param_1 + 0x40) = uVar8; + } + FUN_1400c8cb0(param_1); + *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + -1; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140067850.c b/decomp/AgentManager_Release_x64/full/functions/0x140067850.c new file mode 100644 index 00000000..15986a6c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140067850.c @@ -0,0 +1,43 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140067850 FUN_140067850 + * Pseudocode, not original source. */ + +void FUN_140067850(longlong *param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong lVar1; + longlong *plVar2; + + lVar1 = param_1[3]; + while( true ) { + if (lVar1 == 0) { + param_1[1] = 0; + param_1[2] = 0; + return; + } + plVar2 = (longlong *)param_1[1]; + if (plVar2 == (longlong *)0x0) break; + param_1[1] = *plVar2; + FUN_1400645f0((longlong)(plVar2 + 8),param_2,param_3,param_4); + FUN_14008a320(plVar2 + 4); + if (plVar2[5] != 0) { + if (*(int *)((longlong)plVar2 + 0x34) < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + *(undefined4 *)(plVar2 + 6) = 0; + } + if ((longlong *)*param_1 == (longlong *)0x0) { + FUN_14003e8b0(plVar2); + } + else { + (**(code **)(*(longlong *)*param_1 + 0x10))(); + param_2 = plVar2; + } + param_1[3] = param_1[3] + -1; + lVar1 = param_1[3]; + } + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140067900.c b/decomp/AgentManager_Release_x64/full/functions/0x140067900.c new file mode 100644 index 00000000..5abbbeb0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140067900.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140067900 FUN_140067900 + * Pseudocode, not original source. */ + +undefined8 * FUN_140067900(longlong *param_1,undefined4 *param_2,SIZE_T param_3,undefined8 param_4) + +{ + longlong *plVar1; + undefined8 *puVar2; + SIZE_T SVar3; + undefined8 uVar4; + + plVar1 = (longlong *)*param_1; + SVar3 = param_3; + uVar4 = param_4; + if (plVar1 == (longlong *)0x0) { + puVar2 = (undefined8 *)FUN_14003e840(0x128); + } + else { + puVar2 = (undefined8 *) + (**(code **)(*plVar1 + 8))(plVar1,0x128,param_3,param_4,0xfffffffffffffffe); + } + if (puVar2 != (undefined8 *)0x0) { + *(undefined4 *)(puVar2 + 2) = *param_2; + FUN_140074fe0((undefined4 *)(puVar2 + 3),param_2 + 2); + FUN_1400660e0((undefined4 *)(puVar2 + 8),param_2 + 0xc,SVar3,uVar4); + } + puVar2[1] = param_3; + *puVar2 = param_4; + param_1[3] = param_1[3] + 1; + return puVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400679b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400679b0.c new file mode 100644 index 00000000..3e568d30 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400679b0.c @@ -0,0 +1,23 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400679b0 FUN_1400679b0 + * Pseudocode, not original source. */ + +undefined4 * FUN_1400679b0(char *param_1,undefined4 *param_2,uint param_3,undefined4 param_4) + +{ + undefined8 uVar1; + undefined4 *puVar2; + + if (*(longlong *)(param_1 + 8) == 0) { + uVar1 = FUN_14004c640((longlong)param_1,*(uint *)(param_1 + 0x28),'\x01'); + if ((char)uVar1 == '\0') { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x8007000e); + } + } + FUN_1400c8cb0(param_1); + puVar2 = FUN_140067450(param_1,param_2,param_3,param_4); + FUN_1400c8cb0(param_1); + return puVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140067a30.c b/decomp/AgentManager_Release_x64/full/functions/0x140067a30.c new file mode 100644 index 00000000..ea3db934 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140067a30.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140067a30 FUN_140067a30 + * Pseudocode, not original source. */ + +void FUN_140067a30(undefined8 *param_1,LPVOID param_2,undefined8 param_3,undefined8 param_4) + +{ + *param_1 = Proud::CP2PGroupMemberBase_S::vftable; + FUN_1400675a0((char *)(param_1 + 1),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140067a50.c b/decomp/AgentManager_Release_x64/full/functions/0x140067a50.c new file mode 100644 index 00000000..07b21b5d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140067a50.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140067a50 FUN_140067a50 + * Pseudocode, not original source. */ + +undefined8 * FUN_140067a50(undefined8 *param_1,LPVOID param_2,undefined8 param_3,undefined8 param_4) + +{ + *param_1 = Proud::CP2PGroupMemberBase_S::vftable; + FUN_1400675a0((char *)(param_1 + 1),param_2,param_3,param_4); + if (((ulonglong)param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140067a90.c b/decomp/AgentManager_Release_x64/full/functions/0x140067a90.c new file mode 100644 index 00000000..ff1ab622 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140067a90.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140067a90 FUN_140067a90 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x000140067af6) */ +/* WARNING: Removing unreachable block (ram,0x000140067aff) */ +/* WARNING: Removing unreachable block (ram,0x000140067b1d) */ +/* WARNING: Removing unreachable block (ram,0x000140067b26) */ + +undefined8 * FUN_140067a90(undefined8 *param_1) + +{ + *param_1 = Proud::CP2PGroupMemberBase_S::vftable; + *(undefined1 *)(param_1 + 1) = 0; + param_1[0xb] = 0; + param_1[2] = 0; + param_1[3] = 0; + param_1[4] = 0; + *(undefined4 *)(param_1 + 6) = 0x11; + param_1[5] = 0; + *(undefined4 *)(param_1 + 10) = 0; + *(undefined4 *)((longlong)param_1 + 0x34) = 0x3f400000; + *(undefined4 *)(param_1 + 7) = 0x3e800000; + *(undefined4 *)((longlong)param_1 + 0x3c) = 0x40100000; + param_1[8] = 0x26; + param_1[9] = 0; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140067b50.c b/decomp/AgentManager_Release_x64/full/functions/0x140067b50.c new file mode 100644 index 00000000..182a9340 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140067b50.c @@ -0,0 +1,35 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140067b50 FUN_140067b50 + * Pseudocode, not original source. */ + +ulonglong FUN_140067b50(longlong param_1,int *param_2,SIZE_T param_3,undefined8 param_4) + +{ + ulonglong in_RAX; + ulonglong uVar1; + int *piVar2; + undefined8 uVar3; + undefined4 local_120 [4]; + longlong local_110; + longlong local_108; + int local_fc; + undefined1 local_f0 [232]; + + if (*(longlong *)(param_1 + 0x3f8) == 0) { + uVar1 = in_RAX & 0xffffffffffffff00; + } + else { + piVar2 = FUN_1400675c0((longlong *)(param_1 + 0x3e0),local_120,param_3,param_4); + uVar3 = 1; + FUN_140096df0(param_2,piVar2,1,param_4); + FUN_1400645f0((longlong)local_f0,piVar2,uVar3,param_4); + uVar3 = FUN_14008a320(&local_110); + if ((local_108 != 0) && (local_fc < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + uVar1 = CONCAT71((int7)((ulonglong)uVar3 >> 8),1); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140067be0.c b/decomp/AgentManager_Release_x64/full/functions/0x140067be0.c new file mode 100644 index 00000000..216a28d4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140067be0.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140067be0 FUN_140067be0 + * Pseudocode, not original source. */ + +void FUN_140067be0(longlong *param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 *puVar1; + + FUN_140067850(param_1,param_2,param_3,param_4); + puVar1 = (undefined8 *)*param_1; + if (puVar1 != (undefined8 *)0x0) { + (**(code **)*puVar1)(puVar1,1); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140067c10.c b/decomp/AgentManager_Release_x64/full/functions/0x140067c10.c new file mode 100644 index 00000000..612fbd11 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140067c10.c @@ -0,0 +1,648 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140067c10 FUN_140067c10 + * Pseudocode, not original source. */ + +/* WARNING: Function: __chkstk replaced with injection: alloca_probe */ +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +undefined8 +FUN_140067c10(longlong *param_1,ulonglong **param_2,ulonglong *param_3,undefined8 param_4, + undefined4 param_5) + +{ + longlong lVar1; + longlong *_Memory; + double dVar2; + undefined1 **ppuVar3; + code *pcVar4; + char *pcVar5; + undefined1 *puVar6; + ulonglong **ppuVar7; + void *pvVar8; + int iVar9; + ulonglong uVar10; + longlong *plVar11; + ulonglong uVar12; + undefined4 *puVar13; + undefined8 *puVar14; + undefined8 *puVar15; + ulonglong *puVar16; + uint *puVar17; + uint *puVar18; + int *piVar19; + longlong *extraout_RAX; + longlong *extraout_RAX_00; + longlong *extraout_RAX_01; + longlong lVar20; + undefined1 **ppuVar21; + uint uVar22; + undefined1 *puVar23; + undefined1 *puVar24; + longlong lVar25; + int iVar26; + int iVar27; + ulonglong **ppuVar28; + SIZE_T SVar29; + ulonglong **ppuVar30; + uint uVar31; + int iVar32; + undefined4 uVar33; + undefined4 uVar34; + undefined1 auStack_2aa8 [32]; + int local_2a88 [2]; + undefined8 *local_2a80; + int local_2a78 [2]; + ulonglong local_2a70; + ulonglong *local_2a68; + uint local_2a60; + int local_2a5c; + ulonglong **local_2a50; + ulonglong *local_2a48; + uint uStack_2a40; + undefined4 uStack_2a3c; + longlong *local_2a38; + ulonglong *local_2a30; + ulonglong local_2a28; + undefined1 local_2a20; + int local_2a1c; + undefined1 local_2a18; + undefined1 local_2a17; + uint local_2a10; + int *local_2a08; + undefined1 local_2a00; + int *local_29f8; + undefined1 local_29f0; + int *local_29e8; + undefined1 local_29e0; + undefined8 local_29d8; + exception local_29d0 [72]; + void *local_2988; + longlong local_2980; + ulonglong local_2978; + longlong local_2970; + uint local_2968 [4]; + undefined1 local_2958 [384]; + ulonglong *local_27d8; + undefined8 local_27d0; + ulonglong local_27c8; + undefined8 local_27c0; + undefined1 *local_2628; + longlong local_2620; + ulonglong local_2618; + undefined8 local_2610; + undefined1 local_2608 [3200]; + ulonglong *local_1988 [400]; + ulonglong **local_d08; + undefined4 local_d00; + int local_cfc; + ulonglong *local_cf8; + undefined8 uStack_cf0; + ulonglong **local_78; + undefined4 local_70; + int local_6c; + ulonglong local_68; + undefined8 uStack_48; + + uStack_48 = 0x140067c27; + puVar24 = auStack_2aa8; + local_29d8 = 0xfffffffffffffffe; + local_68 = DAT_14016f5a0 ^ (ulonglong)local_2a88; + local_2a50 = param_2; + local_2a48 = param_3; + local_2a08 = (int *)(**(code **)(*param_1 + 0x58))(); + FUN_14003d040(local_2a08); + local_2a00 = 1; + if (DAT_14017614f != '\0') { + (**(code **)(*param_1 + 200))(param_1,L"Proud::CNetServerImpl::Send_BroadcastLayer"); + } + uVar31 = 0; + uVar22 = 0; + if (0 < (int)*(uint *)((longlong)param_3 + 4)) { + uVar22 = *(uint *)((longlong)param_3 + 4); + } + dVar2 = (double)param_3[1]; + uVar33 = SUB84(dVar2,0); + uVar34 = (int)((ulonglong)dVar2 >> 0x20); + if (dVar2 <= 0.0) { + uVar33 = 0; + uVar34 = 0; + } + local_27d8 = (ulonglong *)0x0; + local_27c0 = 0; + local_27d0 = 0; + local_27c8 = 100; + ppuVar30 = &local_27d8; + (**(code **)(*param_1 + 0x50))(param_1,param_5,param_4); + local_2628 = (undefined1 *)0x0; + local_2610 = 0; + local_2620 = 0; + local_2618 = 100; + ppuVar28 = &local_27d8; + ppuVar21 = &local_2628; + FUN_1400503a0((longlong)param_1,(longlong *)ppuVar21,(longlong *)ppuVar28); + iVar9 = (int)local_2620; + lVar25 = (longlong)iVar9 * 8; + uVar12 = lVar25 + 0x10; + if (uVar12 < 0x401) { + uVar10 = lVar25 + 0x1f; + if (uVar10 <= uVar12) { + uVar10 = 0xffffffffffffff0; + } + lVar25 = -(uVar10 & 0xfffffffffffffff0); + puVar24 = auStack_2aa8 + lVar25; + local_2a80 = (undefined8 *)((longlong)local_2a88 + lVar25); + if (local_2a80 != (undefined8 *)0x0) { + *(undefined4 *)local_2a80 = 0xcccc; + puVar24 = auStack_2aa8 + lVar25; +LAB_140067d98: + local_2a80 = local_2a80 + 2; + } + } + else { + local_2a80 = malloc(uVar12); + if (local_2a80 != (undefined8 *)0x0) { + *(undefined4 *)local_2a80 = 0xdddd; + puVar24 = auStack_2aa8; + goto LAB_140067d98; + } + } + lVar25 = (longlong)iVar9 * 8; + uVar12 = lVar25 + 0x10; + if (uVar12 < 0x401) { + uVar10 = lVar25 + 0x1f; + if (uVar10 <= uVar12) { + uVar10 = 0xffffffffffffff0; + } + *(undefined8 *)(puVar24 + -8) = 0x140067dc6; + lVar25 = -(uVar10 & 0xfffffffffffffff0); + puVar23 = puVar24 + lVar25; + plVar11 = (longlong *)(puVar24 + lVar25 + 0x20); + puVar24 = puVar24 + lVar25; + local_2a38 = plVar11; + if (plVar11 == (longlong *)0x0) goto LAB_140067dff; + *(undefined4 *)plVar11 = 0xcccc; + puVar24 = puVar23; + } + else { + *(undefined8 *)(puVar24 + -8) = 0x140067de5; + plVar11 = malloc(uVar12); + local_2a38 = plVar11; + if (plVar11 == (longlong *)0x0) goto LAB_140067dff; + *(undefined4 *)plVar11 = 0xdddd; + } + local_2a38 = plVar11 + 2; +LAB_140067dff: + plVar11 = local_2a38; + local_2a10 = 0; + iVar26 = 0; + local_2a88[0] = 0; + if ((int)*param_3 == 1) { + puVar15 = local_2a80; + if (iVar9 < 1) { + iVar27 = 0; + uVar31 = 0; + } + else { + do { + if ((iVar26 < 0) || (local_2620 <= iVar26)) { + /* WARNING: Subroutine does not return */ + *(undefined **)(puVar24 + -8) = &UNK_140067fa9; + FUN_14003dec0(); + } + puVar6 = local_2628; + if (local_2618 < 0x65) { + puVar6 = local_2608; + } + plVar11 = *(longlong **)(puVar6 + (longlong)iVar26 * 0x20 + 8); + if ((plVar11 == param_1 + 0xe) && (*(char *)((longlong)param_3 + 0x2d) != '\0')) { + *(undefined8 *)(puVar24 + -8) = 0x140067e7e; + FUN_140074fb0(local_2a78); + ppuVar7 = local_2a50; + piVar19 = local_2a78; + *(undefined8 *)(puVar24 + -8) = 0x140067e8c; + FUN_140097200((longlong)ppuVar7,piVar19,(SIZE_T)ppuVar28,ppuVar30); + *(undefined8 *)(puVar24 + -8) = 0x140067e95; + uVar12 = FUN_1400969c0((longlong)local_2a78,piVar19,ppuVar28,ppuVar30); + *(undefined8 *)(puVar24 + -8) = 0x140067eab; + puVar13 = FUN_140064680((undefined4 *)&local_2988,local_2a78,uVar12 & 0xffffffff, + CONCAT71((int7)((ulonglong)ppuVar30 >> 8),1)); + ppuVar30 = (ulonglong **)0x0; + ppuVar28 = (ulonglong **)param_1[0x8d]; + *(undefined8 *)(puVar24 + -8) = 0x140067ec7; + puVar14 = FUN_140067900(param_1 + 0x8b,puVar13,(SIZE_T)ppuVar28,0); + if ((undefined8 *)param_1[0x8d] == (undefined8 *)0x0) { + param_1[0x8c] = (longlong)puVar14; + } + else { + *(undefined8 *)param_1[0x8d] = puVar14; + } + param_1[0x8d] = (longlong)puVar14; + *(undefined8 *)(puVar24 + -8) = 0x140067ef5; + FUN_1400645f0((longlong)local_2958,puVar13,ppuVar28,ppuVar30); + local_2a48 = &local_2978; + *(undefined8 *)(puVar24 + -8) = 0x140067f0d; + FUN_14008a320((longlong *)&local_2978); + if ((local_2970 != 0) && ((int)local_2968[1] < 0)) { + /* WARNING: Subroutine does not return */ + *(undefined8 *)(puVar24 + -8) = 0x140067f95; + FUN_14003dec0(); + } + ppuVar21 = (undefined1 **)(param_1 + 0xf); + lVar25 = param_1[0x7c]; + *(undefined8 *)(puVar24 + -8) = 0x140067f3a; + FUN_140097680(lVar25 + 0x160,(longlong)ppuVar21,ppuVar28,ppuVar30); + local_2a48 = &local_2a70; + *(undefined8 *)(puVar24 + -8) = 0x140067f4c; + FUN_14008a320((longlong *)&local_2a70); + if ((local_2a68 != (ulonglong *)0x0) && (local_2a5c < 0)) { + /* WARNING: Subroutine does not return */ + *(undefined **)(puVar24 + -8) = &UNK_140067f9b; + FUN_14003dec0(); + } + } + else if (plVar11 != (longlong *)0x0) { + *(undefined8 *)(puVar24 + -8) = 0x140067f69; + puVar14 = FUN_140097610(plVar11); + if (puVar14 != (undefined8 *)0x0) { + *(undefined8 *)(puVar24 + -8) = 0x140067f7a; + FUN_140091240((longlong)(plVar11 + 0x18)); + *puVar15 = plVar11; + uVar31 = uVar31 + 1; + puVar15 = puVar15 + 1; + } + } + iVar26 = iVar26 + 1; + iVar27 = local_2a88[0]; + } while (iVar26 < iVar9); + } + } + else { + ppuVar28 = (ulonglong **)(ulonglong)uVar22; + ppuVar21 = &local_2628; + *(undefined8 *)(puVar24 + -8) = 0x140067fc0; + FUN_14005efd0(param_1,(longlong *)ppuVar21,ppuVar28,(double)CONCAT44(uVar34,uVar33)); + iVar9 = 0; + iVar32 = (int)local_2620; + param_3 = local_2a48; + iVar27 = iVar26; + if (0 < iVar32) { + do { + lVar25 = (longlong)iVar9; + if ((iVar9 < 0) || (local_2620 <= lVar25)) { + /* WARNING: Subroutine does not return */ + *(undefined **)(puVar24 + -8) = &UNK_1400681bc; + FUN_14003dec0(); + } + puVar6 = local_2628; + if (local_2618 < 0x65) { + puVar6 = local_2608; + } + ppuVar3 = *(undefined1 ***)(puVar6 + lVar25 * 0x20 + 8); + if ((ppuVar3 == (undefined1 **)(param_1 + 0xe)) && + (*(char *)((longlong)local_2a48 + 0x2d) != '\0')) { + *(undefined8 *)(puVar24 + -8) = 0x140068048; + FUN_140074fb0(local_2a78); + ppuVar7 = local_2a50; + piVar19 = local_2a78; + *(undefined8 *)(puVar24 + -8) = 0x140068056; + FUN_140097200((longlong)ppuVar7,piVar19,(SIZE_T)ppuVar28,ppuVar30); + *(undefined8 *)(puVar24 + -8) = 0x14006805f; + uVar12 = FUN_1400969c0((longlong)local_2a78,piVar19,ppuVar28,ppuVar30); + *(undefined8 *)(puVar24 + -8) = 0x140068075; + puVar13 = FUN_140064680((undefined4 *)&local_2988,local_2a78,uVar12 & 0xffffffff, + CONCAT71((int7)((ulonglong)ppuVar30 >> 8),1)); + ppuVar30 = (ulonglong **)0x0; + ppuVar28 = (ulonglong **)param_1[0x8d]; + *(undefined8 *)(puVar24 + -8) = 0x140068091; + puVar15 = FUN_140067900(param_1 + 0x8b,puVar13,(SIZE_T)ppuVar28,0); + if ((undefined8 *)param_1[0x8d] == (undefined8 *)0x0) { + param_1[0x8c] = (longlong)puVar15; + } + else { + *(undefined8 *)param_1[0x8d] = puVar15; + } + param_1[0x8d] = (longlong)puVar15; + *(undefined8 *)(puVar24 + -8) = 0x1400680bf; + FUN_1400645f0((longlong)local_2958,puVar13,ppuVar28,ppuVar30); + local_2a30 = &local_2978; + *(undefined8 *)(puVar24 + -8) = 0x1400680d7; + FUN_14008a320((longlong *)&local_2978); + if ((local_2970 != 0) && ((int)local_2968[1] < 0)) { + /* WARNING: Subroutine does not return */ + *(undefined8 *)(puVar24 + -8) = 0x1400681a4; + FUN_14003dec0(); + } + ppuVar21 = (undefined1 **)(param_1 + 0xf); + lVar25 = param_1[0x7c]; + *(undefined8 *)(puVar24 + -8) = 0x140068108; + FUN_140097680(lVar25 + 0x160,(longlong)ppuVar21,ppuVar28,ppuVar30); + local_2a30 = &local_2a70; + *(undefined8 *)(puVar24 + -8) = 0x14006811a; + FUN_14008a320((longlong *)&local_2a70); + if ((local_2a68 != (ulonglong *)0x0) && (local_2a5c < 0)) { + /* WARNING: Subroutine does not return */ + *(undefined **)(puVar24 + -8) = &UNK_1400681aa; + FUN_14003dec0(); + } + } + else if (ppuVar3 != (undefined1 **)0x0) { + *(undefined8 *)(puVar24 + -8) = 0x14006813b; + puVar15 = FUN_140097610(ppuVar3); + if (puVar15 != (undefined8 *)0x0) { + *(undefined8 *)(puVar24 + -8) = 0x14006814b; + ppuVar21 = ppuVar3; + FUN_1400623e0(param_1,(longlong *)ppuVar3,(longlong **)ppuVar28,(uint **)ppuVar30); + *(undefined8 *)(puVar24 + -8) = 0x140068157; + FUN_140091240((longlong)(ppuVar3 + 0x18)); + if (local_2620 <= lVar25) { + /* WARNING: Subroutine does not return */ + *(undefined **)(puVar24 + -8) = &UNK_1400681b0; + FUN_14003dec0(); + } + puVar6 = local_2628; + if (local_2618 < 0x65) { + puVar6 = local_2608; + } + *plVar11 = (longlong)(puVar6 + lVar25 * 0x20); + local_2a88[0] = local_2a88[0] + 1; + plVar11 = plVar11 + 1; + } + } + iVar9 = iVar9 + 1; + param_3 = local_2a48; + iVar27 = local_2a88[0]; + uVar31 = local_2a10; + } while (iVar9 < iVar32); + } + } + piVar19 = local_2a08; + lVar25 = 0; + *(undefined8 *)(puVar24 + -8) = 0x1400681d3; + FUN_14003d0d0((longlong)piVar19); + local_2a00 = 0; + if ((int)*param_3 == 1) { + if (0 < (int)uVar31) { + do { + lVar20 = local_2a80[lVar25]; + pcVar4 = *(code **)(*(longlong *)(lVar20 + 0x108) + 0x10); + *(undefined8 *)(puVar24 + -8) = 0x140068205; + puVar16 = (ulonglong *)(*pcVar4)(); + local_2a48 = puVar16; + *(undefined8 *)(puVar24 + -8) = 0x140068214; + FUN_14003d040((int *)puVar16); + ppuVar28 = local_2a50; + uStack_2a40._0_1_ = 1; + local_2a30 = (ulonglong *)0x0; + local_2a28 = CONCAT71(local_2a28._1_7_,1); + pcVar5 = *(char **)(lVar20 + 0x748); + *(undefined8 *)(puVar24 + -8) = 0x140068238; + FUN_140091090(pcVar5,(longlong)ppuVar28,(SIZE_T *)&local_2a30,ppuVar30); + *(undefined8 *)(puVar24 + -8) = 0x140068240; + FUN_14003d0d0((longlong)puVar16); + uStack_2a40 = (uint)uStack_2a40._1_3_ << 8; + *(undefined8 *)(puVar24 + -8) = 0x140068250; + FUN_140091250(lVar20 + 0xc0); + lVar25 = lVar25 + 1; + } while (lVar25 < (int)uVar31); + } + } + else if (0 < iVar27) { + do { + puVar18 = (uint *)local_2a38[lVar25]; + plVar11 = *(longlong **)(puVar18 + 2); + if (*(longlong *)(puVar18 + 4) == 0) { + if (*(longlong *)(puVar18 + 6) == 0) { + pcVar4 = *(code **)(plVar11[0x21] + 0x10); + *(undefined8 *)(puVar24 + -8) = 0x140068591; + piVar19 = (int *)(*pcVar4)(); + local_29f8 = piVar19; + *(undefined8 *)(puVar24 + -8) = 0x1400685a3; + FUN_14003d040(piVar19); + local_29f0 = 1; + local_2a30 = (ulonglong *)CONCAT44(local_2a30._4_4_,(int)param_3[4]); + local_2a28 = param_3[3]; + local_2a20 = *(undefined1 *)((longlong)param_3 + 0x2d); + local_2a1c = (int)param_3[6]; + local_2a18 = *(undefined1 *)((longlong)param_3 + 0x41); + local_2a17 = (undefined1)param_3[8]; + pcVar4 = *(code **)(*plVar11 + 0x10); + *(undefined8 *)(puVar24 + -8) = 0x1400685e2; + uVar22 = (*pcVar4)(plVar11); + ppuVar28 = local_2a50; + ppuVar21 = (undefined1 **)(ulonglong)uVar22; + ppuVar30 = &local_2a30; + *(undefined8 *)(puVar24 + -8) = 0x1400685f8; + FUN_140092950((char *)(plVar11 + 0xe0),uVar22,(longlong)ppuVar28,(uint *)ppuVar30); + *(undefined8 *)(puVar24 + -8) = 0x140068600; + FUN_14003d0d0((longlong)piVar19); + local_29f0 = 0; + } + else { + *(undefined8 *)(puVar24 + -8) = 0x14006829b; + FUN_140074fb0(local_2a78); + *(undefined8 *)(puVar24 + -8) = 0x1400682a5; + FUN_140074a40((longlong)local_2a78,ppuVar21,(SIZE_T)ppuVar28,ppuVar30); + *(undefined8 *)(puVar24 + -8) = 0x1400682b0; + FUN_140029d80((longlong)local_2a78,CONCAT71((int7)((ulonglong)ppuVar21 >> 8),0x22), + (SIZE_T)ppuVar28,ppuVar30); + uVar12 = param_3[4]; + *(undefined8 *)(puVar24 + -8) = 0x1400682be; + FUN_140029d80((longlong)local_2a78,(ulonglong)(byte)uVar12,(SIZE_T)ppuVar28,ppuVar30); + uVar12 = param_3[3]; + *(undefined8 *)(puVar24 + -8) = 0x1400682cb; + FUN_140076380((longlong)local_2a78,uVar12,(SIZE_T)ppuVar28,ppuVar30); + local_2988 = (void *)0x0; + local_2970 = 0; + local_2980 = 0; + local_2978 = 100; + do { + lVar20 = local_2980; + uVar22 = *puVar18; + if (local_2980 < 0) { + /* WARNING: Subroutine does not return */ + *(undefined8 *)(puVar24 + -8) = 0x1400686a1; + FUN_14003dec0(); + } + lVar1 = local_2980 + 1; + SVar29 = 0xffffffffffffffff; + *(undefined8 *)(puVar24 + -8) = 0x14006830f; + FUN_14004c4e0(&local_2988,lVar1,-1); + if (local_2980 <= lVar20) { + /* WARNING: Subroutine does not return */ + *(undefined **)(puVar24 + -8) = &UNK_14006869b; + FUN_14003dec0(); + } + if (local_2978 < 0x65) { + puVar17 = local_2968 + lVar20; + } + else { + puVar17 = (uint *)((longlong)local_2988 + lVar20 * 4); + } + *puVar17 = uVar22; + puVar18 = *(uint **)(puVar18 + 6); + } while (puVar18 != (uint *)0x0); + uVar12 = (ulonglong)(int)local_2980; + *(undefined8 *)(puVar24 + -8) = 0x14006835f; + FUN_140076380((longlong)local_2a78,uVar12,SVar29,ppuVar30); + if (0 < local_2980) { + lVar20 = 0; + puVar16 = (ulonglong *)0x0; + do { + if ((lVar20 < 0) || (local_2980 <= lVar20)) { + /* WARNING: Subroutine does not return */ + *(undefined8 *)(puVar24 + -8) = 0x140068629; + FUN_14003dec0(); + } + if (local_2978 < 0x65) { + puVar18 = local_2968 + lVar20; + } + else { + puVar18 = (uint *)((longlong)local_2988 + lVar20 * 4); + } + uVar12 = (ulonglong)*puVar18; + *(undefined8 *)(puVar24 + -8) = 0x1400683ad; + FUN_140029e60((longlong)local_2a78,uVar12,SVar29,ppuVar30); + uVar22 = (int)puVar16 + 1; + puVar16 = (ulonglong *)(ulonglong)uVar22; + lVar20 = (longlong)(int)uVar22; + } while (lVar20 < local_2980); + } + ppuVar28 = local_2a50; + *(undefined8 *)(puVar24 + -8) = 0x1400683ca; + iVar9 = FUN_140096ef0((longlong)ppuVar28,uVar12,SVar29,ppuVar30); + lVar20 = (longlong)iVar9; + *(undefined8 *)(puVar24 + -8) = 0x1400683d6; + FUN_140076380((longlong)local_2a78,lVar20,SVar29,ppuVar30); + local_cfc = 200; + local_d00 = 0; + local_d08 = local_1988; + local_6c = 200; + local_70 = 0; + local_78 = &local_cf8; + if (local_2a70 == 0) { + uVar22 = local_2a60; + if (local_2a68 == (ulonglong *)0x0) { + /* WARNING: Subroutine does not return */ + *(undefined8 *)(puVar24 + -8) = 0x140068695; + FUN_14008a420(0,lVar20,SVar29,ppuVar30); + } + } + else { + uVar22 = *(uint *)(local_2a70 + 0x18); + } + puVar16 = local_2a68; + if (local_2a68 == (ulonglong *)0x0) { + if (local_2a70 == 0) { + /* WARNING: Subroutine does not return */ + *(undefined **)(puVar24 + -8) = &UNK_14006868f; + FUN_14008a420(0,(ulonglong)uVar22,SVar29,ppuVar30); + } + puVar16 = (ulonglong *)0x0; + if (*(int *)(local_2a70 + 0x18) != 0) { + puVar16 = *(ulonglong **)(local_2a70 + 0x10); + } + } + local_70 = 1; + uStack_cf0 = CONCAT44(uStack_2a3c,uVar22); + local_2a48 = puVar16; + uStack_2a40 = uVar22; + *(undefined8 *)(puVar24 + -8) = 0x140068479; + local_cf8 = puVar16; + FUN_14004dc30((longlong)local_1988,(longlong)&local_cf8,SVar29,ppuVar30); + if (local_78 == (ulonglong **)0x0) { + *(undefined8 *)(puVar24 + -8) = 0x140068676; + FUN_14003db10(local_29d0,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368, + SVar29,ppuVar30); + /* WARNING: Subroutine does not return */ + *(undefined **)(puVar24 + -8) = &UNK_140068689; + _CxxThrowException(local_29d0,(ThrowInfo *)&DAT_14016c210); + } + if (local_6c < 0) { + /* WARNING: Subroutine does not return */ + *(undefined **)(puVar24 + -8) = &UNK_140068662; + FUN_14003dec0(); + } + *(undefined8 *)(puVar24 + -8) = 0x1400684a4; + FUN_14004dc30((longlong)local_1988,(longlong)ppuVar28,SVar29,ppuVar30); + pcVar4 = *(code **)(plVar11[0x21] + 0x10); + *(undefined8 *)(puVar24 + -8) = 0x1400684b1; + piVar19 = (int *)(*pcVar4)(); + local_29e8 = piVar19; + *(undefined8 *)(puVar24 + -8) = 0x1400684c3; + FUN_14003d040(piVar19); + local_29e0 = 1; + local_2a30 = (ulonglong *)CONCAT44(local_2a30._4_4_,(int)param_3[4]); + local_2a28 = param_3[3]; + local_2a20 = *(undefined1 *)((longlong)param_3 + 0x2d); + local_2a1c = (int)param_3[6]; + local_2a18 = *(undefined1 *)((longlong)param_3 + 0x41); + local_2a17 = (undefined1)param_3[8]; + ppuVar30 = &local_2a30; + ppuVar28 = local_1988; + ppuVar21 = (undefined1 **)0x0; + *(undefined8 *)(puVar24 + -8) = 0x140068511; + FUN_140092950((char *)(plVar11 + 0xe0),0,(longlong)ppuVar28,(uint *)ppuVar30); + *(undefined8 *)(puVar24 + -8) = 0x140068519; + FUN_14003d0d0((longlong)piVar19); + pvVar8 = local_2988; + local_29e0 = 0; + if (local_d08 == (ulonglong **)0x0) { + *(undefined8 *)(puVar24 + -8) = 0x140068649; + FUN_14003db10(local_29d0,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368, + ppuVar28,ppuVar30); + /* WARNING: Subroutine does not return */ + *(undefined **)(puVar24 + -8) = &UNK_14006865c; + _CxxThrowException(local_29d0,(ThrowInfo *)&DAT_14016c210); + } + if (local_cfc < 0) { + /* WARNING: Subroutine does not return */ + *(undefined **)(puVar24 + -8) = &UNK_140068635; + FUN_14003dec0(); + } + local_d00 = 0; + if (100 < local_2978) { + *(undefined8 *)(puVar24 + -8) = 0x140068557; + operator_delete__(pvVar8); + } + local_2a30 = &local_2a70; + *(undefined8 *)(puVar24 + -8) = 0x140068569; + FUN_14008a320((longlong *)&local_2a70); + if ((local_2a68 != (ulonglong *)0x0) && (local_2a5c < 0)) { + /* WARNING: Subroutine does not return */ + *(undefined8 *)(puVar24 + -8) = 0x14006862f; + FUN_14003dec0(); + } + } + } + *(undefined8 *)(puVar24 + -8) = 0x140068613; + FUN_140091250((longlong)(plVar11 + 0x18)); + lVar25 = lVar25 + 1; + } while (lVar25 < iVar27); + } + if ((local_2a80 != (undefined8 *)0x0) && (piVar19 = (int *)(local_2a80 + -2), *piVar19 == 0xdddd)) + { + *(undefined8 *)(puVar24 + -8) = 0x1400686bd; + free(piVar19); + } + plVar11 = local_2a38; + if ((local_2a38 != (longlong *)0x0) && (_Memory = local_2a38 + -2, (int)*_Memory == 0xdddd)) { + *(undefined8 *)(puVar24 + -8) = 0x1400686d8; + free(_Memory); + plVar11 = extraout_RAX; + } + puVar6 = local_2628; + if (100 < local_2618) { + *(undefined8 *)(puVar24 + -8) = 0x1400686ef; + operator_delete__(puVar6); + plVar11 = extraout_RAX_00; + } + puVar16 = local_27d8; + if (100 < local_27c8) { + *(undefined8 *)(puVar24 + -8) = 0x140068706; + operator_delete__(puVar16); + plVar11 = extraout_RAX_01; + } + *(undefined8 *)(puVar24 + -8) = 0x140068718; + return CONCAT71((int7)((ulonglong)plVar11 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140068740.c b/decomp/AgentManager_Release_x64/full/functions/0x140068740.c new file mode 100644 index 00000000..2b2db3df --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140068740.c @@ -0,0 +1,241 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140068740 FUN_140068740 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x000140068952) */ +/* WARNING: Removing unreachable block (ram,0x00014006895b) */ +/* WARNING: Removing unreachable block (ram,0x00014006897c) */ +/* WARNING: Removing unreachable block (ram,0x000140068985) */ + +longlong * FUN_140068740(longlong *param_1,undefined8 param_2,undefined8 param_3,longlong param_4) + +{ + ulonglong *puVar1; + ulonglong uVar2; + ulonglong *puVar3; + longlong *plVar4; + ulonglong *puVar5; + ulonglong *puVar6; + undefined1 uVar7; + undefined7 uVar8; + ulonglong *local_res10; + + uVar8 = (undefined7)((ulonglong)param_3 >> 8); + FUN_1400770f0(param_1); + param_1[0xc] = (longlong)Proud::IFastSocketDelegate::vftable; + param_1[0xd] = (longlong)Proud::ICompletionPortEventSink::vftable; + param_1[0xe] = (longlong)Proud::ISendDest_S::vftable; + FUN_140097920(param_1 + 0xf); + param_1[0x15] = (longlong)Proud::CNetServer::vftable; + param_1[0x16] = (longlong)Proud::ICompletionContext::vftable; + FUN_140067a90(param_1 + 0x17); + *param_1 = (longlong)Proud::CNetServerImpl::vftable; + param_1[0xc] = (longlong)Proud::CNetServerImpl::vftable; + param_1[0xd] = (longlong)Proud::CNetServerImpl::vftable; + param_1[0xe] = (longlong)Proud::CNetServerImpl::vftable; + param_1[0xf] = (longlong)Proud::CNetServerImpl::vftable; + param_1[0x15] = (longlong)Proud::CNetServerImpl::vftable; + param_1[0x16] = (longlong)Proud::CNetServerImpl::vftable; + param_1[0x17] = (longlong)Proud::CNetServerImpl::vftable; + param_1[0x23] = (longlong)Proud::CNetServerImpl::vftable; + param_1[0x24] = (longlong)Proud::CNetServerImpl::vftable; + uVar2 = FUN_140094860(); + FUN_14003cf60((undefined4 *)(param_1 + 0x25),uVar2 & 0xffffffff,CONCAT71(uVar8,1),param_4); + uVar2 = FUN_140094860(); + uVar2 = uVar2 & 0xffffffff; + plVar4 = param_1 + 0x2c; + uVar7 = 1; + FUN_14003cf60((undefined4 *)plVar4,uVar2,CONCAT71(uVar8,1),param_4); + param_1[0x41] = 0; + FUN_14003e7c0(plVar4,uVar2,CONCAT71(uVar8,uVar7),param_4); + param_1[0x42] = (longlong)PTR_DAT_14016f008; + FUN_14003e7c0(plVar4,uVar2,CONCAT71(uVar8,uVar7),param_4); + param_1[0x43] = (longlong)PTR_DAT_14016f008; + FUN_1400979a0((undefined4 *)(param_1 + 0x45)); + *(undefined4 *)((longlong)param_1 + 0x26c) = 0; + *(undefined4 *)(param_1 + 0x4e) = 0; + *(undefined4 *)((longlong)param_1 + 0x274) = 0; + *(undefined4 *)(param_1 + 0x4f) = 0; + *(undefined1 *)(param_1 + 0x50) = 0; + param_1[0x5a] = 0; + param_1[0x51] = 0; + param_1[0x52] = 0; + param_1[0x53] = 0; + *(undefined4 *)(param_1 + 0x55) = 0x11; + param_1[0x54] = 0; + *(undefined4 *)(param_1 + 0x59) = 0; + *(undefined4 *)((longlong)param_1 + 0x2ac) = 0x3f400000; + *(undefined4 *)(param_1 + 0x56) = 0x3e800000; + *(undefined4 *)((longlong)param_1 + 0x2b4) = 0x40100000; + param_1[0x57] = 0x26; + param_1[0x58] = 4; + param_1[0x58] = 0; + FUN_1400617b0((undefined1 *)(param_1 + 0x5b)); + FUN_140059380((undefined1 *)(param_1 + 0x71)); + param_1[0x7c] = 0; + *(undefined4 *)(param_1 + 0x7d) = 0; + *(undefined4 *)((longlong)param_1 + 0x3ec) = 0; + *(undefined4 *)(param_1 + 0x7e) = 0; + *(undefined4 *)((longlong)param_1 + 0x3f4) = 0; + *(undefined1 *)(param_1 + 0x80) = 0; + param_1[0x8a] = 0; + param_1[0x81] = 0; + param_1[0x82] = 0; + param_1[0x83] = 0; + *(undefined4 *)(param_1 + 0x85) = 0x11; + param_1[0x84] = 0; + *(undefined4 *)(param_1 + 0x89) = 0; + *(undefined4 *)((longlong)param_1 + 0x42c) = 0x3f400000; + *(undefined4 *)(param_1 + 0x86) = 0x3e800000; + *(undefined4 *)((longlong)param_1 + 0x434) = 0x40100000; + param_1[0x87] = 0x26; + param_1[0x88] = 4; + param_1[0x88] = 0; + param_1[0x8b] = 0; + param_1[0x8e] = 0; + param_1[0x8c] = 0; + param_1[0x8d] = 0; + param_1[0x8f] = 0; + FUN_140079b60(param_1 + 0x90); + param_1[0x90] = (longlong)Proud::CNetServerImpl::C2SStub::vftable; + puVar1 = (ulonglong *)(param_1 + 0x95); + local_res10 = puVar1; + FUN_140076890(puVar1); + *puVar1 = (ulonglong)ProudS2C::Proxy::vftable; + if (*(int *)((longlong)param_1 + 0x4bc) != 1) { + FUN_14003e110((wchar_t *)PTR_u_PIDL_compiler_is_incompatible_to_140170070); + } + *puVar1 = (ulonglong)Proud::CNetServerImpl::Proxy::vftable; + param_1[0xd9] = (longlong)Proud::CFastArray,0>::vftable; + param_1[0xda] = 0; + param_1[0xdb] = 0; + param_1[0xdc] = 0; + param_1[0xdd] = 0; + *(undefined1 *)(param_1 + 0xde) = 0; + param_1[0xe8] = 0; + param_1[0xdf] = 0; + param_1[0xe0] = 0; + param_1[0xe1] = 0; + *(undefined4 *)(param_1 + 0xe3) = 0x11; + param_1[0xe2] = 0; + *(undefined4 *)(param_1 + 0xe7) = 0; + *(undefined4 *)((longlong)param_1 + 0x71c) = 0x3f400000; + *(undefined4 *)(param_1 + 0xe4) = 0x3e800000; + *(undefined4 *)((longlong)param_1 + 0x724) = 0x40100000; + param_1[0xe5] = 0x26; + param_1[0xe6] = 0; + param_1[0xe9] = 0; + puVar5 = (ulonglong *)(param_1 + 0xea); + *puVar5 = 0; + FUN_140048880((undefined2 *)(param_1 + 0xec)); + param_1[0xf1] = 0; + param_1[0xf2] = 0; + uVar2 = FUN_140094860(); + FUN_14003cf60((undefined4 *)(param_1 + 0xf3),uVar2 & 0xffffffff,CONCAT71(uVar8,1),param_4); + uVar2 = FUN_140094860(); + uVar2 = uVar2 & 0xffffffff; + uVar7 = 1; + FUN_14003cf60((undefined4 *)(param_1 + 0xfa),uVar2,CONCAT71(uVar8,1),param_4); + param_1[0x101] = 0; + param_1[0x102] = 0; + *(undefined4 *)(param_1 + 0x103) = 0; + param_1[0x105] = 0; + param_1[0x106] = 0; + *(undefined4 *)(param_1 + 0x107) = 0; + *(undefined4 *)(param_1 + 0x180) = 0; + param_1[0x183] = 0; + param_1[0x184] = 0; + param_1[0x185] = 0; + param_1[0x186] = 0; + param_1[0x182] = (longlong)Proud::ByteArray::vftable; + *(undefined1 *)(param_1 + 0x187) = 0; + FUN_140095b80(param_1 + 0x189); + param_1[0x18b] = 0; + param_1[0x18c] = 0; + param_1[0x18d] = 0; + param_1[0x18e] = 0; + param_1[0x18a] = (longlong)Proud::ByteArray::vftable; + *(undefined1 *)(param_1 + 399) = 0; + param_1[0x199] = 0; + param_1[400] = 0; + param_1[0x191] = 0; + param_1[0x192] = 0; + *(undefined4 *)(param_1 + 0x194) = 0x11; + param_1[0x193] = 0; + *(undefined4 *)(param_1 + 0x198) = 0; + *(undefined4 *)((longlong)param_1 + 0xca4) = 0x3f400000; + *(undefined4 *)(param_1 + 0x195) = 0x3e800000; + *(undefined4 *)((longlong)param_1 + 0xcac) = 0x40100000; + param_1[0x196] = 0x26; + param_1[0x197] = 4; + param_1[0x197] = 0; + puVar6 = (ulonglong *)(param_1 + 0x19a); + local_res10 = puVar6; + FUN_1400480f0(puVar6,uVar2,CONCAT71(uVar8,uVar7),param_4); + FUN_140048210((longlong)puVar6); + FUN_140059380((undefined1 *)(param_1 + 0x2dd)); + plVar4 = param_1 + 0x2e8; + FUN_140059380((undefined1 *)plVar4); + param_1[0x2f4] = (longlong)Proud::CFastArray::vftable; + param_1[0x2f5] = 0; + param_1[0x2f6] = 0; + param_1[0x2f7] = 0; + param_1[0x2f8] = 0; + param_1[0x2f9] = (longlong)Proud::CFastArray::vftable; + param_1[0x2fa] = 0; + param_1[0x2fb] = 0; + param_1[0x2fc] = 0; + param_1[0x2fd] = 0; + param_1[0x2fe] = 0; + FUN_14003e7c0(plVar4,uVar2,CONCAT71(uVar8,uVar7),param_4); + param_1[0x301] = (longlong)PTR_DAT_14016f010; + param_1[0x309] = (longlong)Proud::CFastArray::vftable; + param_1[0x30a] = 0; + param_1[0x30b] = 0; + param_1[0x30c] = 0; + param_1[0x30d] = 0; + puVar3 = FUN_14005c800((ulonglong *)&local_res10,uVar2,CONCAT71(uVar8,uVar7),param_4); + FUN_140051320(puVar5,puVar3,CONCAT71(uVar8,uVar7),param_4); + puVar6 = local_res10; + if (local_res10 != (ulonglong *)0x0) { + FUN_14003d040((int *)local_res10); + local_res10[8] = local_res10[8] - 1; + if (local_res10[8] == 0) { + FUN_14003d0d0((longlong)puVar6); + puVar5 = local_res10; + FUN_14004e4b0((undefined4 *)local_res10,puVar3,CONCAT71(uVar8,uVar7),param_4); + } + else { + FUN_14003d0d0((longlong)puVar6); + puVar5 = puVar6; + } + } + *(undefined4 *)(param_1 + 0x44) = DAT_14016f110; + FUN_14003e170(puVar5,puVar3,CONCAT71(uVar8,uVar7),param_4); + param_1[0xeb] = 0; + FUN_1400488d0((char *)(param_1 + 0xec)); + FUN_140077540(param_1,(longlong *)puVar1,CONCAT71(uVar8,uVar7),param_4); + plVar4 = param_1 + 0x90; + FUN_140077740(param_1,plVar4,CONCAT71(uVar8,uVar7),param_4); + param_1[0x94] = (longlong)param_1; + *(undefined1 *)(param_1 + 0x7f) = 0; + param_1[0x2ff] = 0x3ff0000000000000; + FUN_1400dc820(param_1 + 0x8b,plVar4,CONCAT71(uVar8,uVar7),param_4); + *(undefined1 *)(param_1 + 0x300) = 1; + *(undefined1 *)(param_1 + 0x97) = 1; + *(undefined1 *)(param_1 + 0x93) = 1; + FUN_14004b950((longlong)(param_1 + 0x2f9),100,CONCAT71(uVar8,uVar7)); + *(undefined4 *)(param_1 + 0x2f3) = 0; + *(undefined4 *)(param_1 + 0x4b) = 0; + param_1[0x4c] = 0; + param_1[0xa0] = 0; + param_1[0xa8] = 0; + param_1[0xb0] = 0; + param_1[0xb8] = 0; + param_1[0xc0] = 0; + param_1[200] = 0; + param_1[0xd0] = 0; + param_1[0xd8] = 0; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140068f60.c b/decomp/AgentManager_Release_x64/full/functions/0x140068f60.c new file mode 100644 index 00000000..1ec23a02 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140068f60.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140068f60 FUN_140068f60 + * Pseudocode, not original source. */ + +undefined8 FUN_140068f60(longlong param_1) + +{ + double dVar1; + + if (*(double *)(param_1 + 0xe8) != 0.0) { + return *(undefined8 *)(param_1 + 0xe8); + } + dVar1 = FUN_140048960((char *)(param_1 + 0x648)); + *(double *)(param_1 + 0xe8) = dVar1; + return *(undefined8 *)(param_1 + 0xe8); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140068fe0.c b/decomp/AgentManager_Release_x64/full/functions/0x140068fe0.c new file mode 100644 index 00000000..264e26f4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140068fe0.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140068fe0 FUN_140068fe0 + * Pseudocode, not original source. */ + +void FUN_140068fe0(longlong param_1,undefined8 param_2,ulonglong param_3,longlong param_4, + undefined8 param_5,int param_6) + +{ + FUN_140077900((longlong *)(param_1 + -0xa8),param_2,param_3,param_4,param_5,param_6); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140069010.c b/decomp/AgentManager_Release_x64/full/functions/0x140069010.c new file mode 100644 index 00000000..aaf0edd9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140069010.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140069010 FUN_140069010 + * Pseudocode, not original source. */ + +longlong FUN_140069010(longlong param_1) + +{ + return param_1 + -0x118; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140069020.c b/decomp/AgentManager_Release_x64/full/functions/0x140069020.c new file mode 100644 index 00000000..102acb54 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140069020.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140069020 FUN_140069020 + * Pseudocode, not original source. */ + +void FUN_140069020(longlong param_1,longlong param_2) + +{ + thunk_FUN_140077350(param_1 + -0xa8,param_2); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140069030.c b/decomp/AgentManager_Release_x64/full/functions/0x140069030.c new file mode 100644 index 00000000..33ef6032 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140069030.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140069030 FUN_140069030 + * Pseudocode, not original source. */ + +void FUN_140069030(longlong param_1,wchar_t *param_2,longlong *param_3,longlong param_4) + +{ + FUN_140071510((longlong *)(param_1 + -0x120),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140069040.c b/decomp/AgentManager_Release_x64/full/functions/0x140069040.c new file mode 100644 index 00000000..8d8b8a3b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140069040.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140069040 FUN_140069040 + * Pseudocode, not original source. */ + +void FUN_140069040(void) + +{ + thunk_FUN_140079c10(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140069050.c b/decomp/AgentManager_Release_x64/full/functions/0x140069050.c new file mode 100644 index 00000000..e03b7d93 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140069050.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140069050 FUN_140069050 + * Pseudocode, not original source. */ + +void FUN_140069050(longlong param_1,wchar_t *param_2,longlong *param_3,longlong param_4) + +{ + FUN_140071510((longlong *)(param_1 + -0x68),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140069060.c b/decomp/AgentManager_Release_x64/full/functions/0x140069060.c new file mode 100644 index 00000000..d9557b03 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140069060.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140069060 FUN_140069060 + * Pseudocode, not original source. */ + +void FUN_140069060(void) + +{ + FUN_14004a1b0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140069070.c b/decomp/AgentManager_Release_x64/full/functions/0x140069070.c new file mode 100644 index 00000000..f631eff9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140069070.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140069070 FUN_140069070 + * Pseudocode, not original source. */ + +void FUN_140069070(longlong param_1,wchar_t *param_2,longlong *param_3,longlong param_4) + +{ + FUN_140071510((longlong *)(param_1 + -0xa8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140069080.c b/decomp/AgentManager_Release_x64/full/functions/0x140069080.c new file mode 100644 index 00000000..450c1cc6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140069080.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140069080 FUN_140069080 + * Pseudocode, not original source. */ + +void FUN_140069080(longlong param_1,longlong *param_2,undefined8 param_3,longlong param_4) + +{ + thunk_FUN_140077740((longlong *)(param_1 + -0xa8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140069090.c b/decomp/AgentManager_Release_x64/full/functions/0x140069090.c new file mode 100644 index 00000000..8fabb0ed --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140069090.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140069090 FUN_140069090 + * Pseudocode, not original source. */ + +void FUN_140069090(longlong param_1,wchar_t *param_2,longlong *param_3,longlong param_4) + +{ + FUN_140071510((longlong *)(param_1 + -0x70),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400690a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400690a0.c new file mode 100644 index 00000000..837e5ba3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400690a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400690a0 FUN_1400690a0 + * Pseudocode, not original source. */ + +void FUN_1400690a0(void) + +{ + FUN_14004a1b0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400690b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400690b0.c new file mode 100644 index 00000000..49756f85 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400690b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400690b0 FUN_1400690b0 + * Pseudocode, not original source. */ + +void FUN_1400690b0(longlong param_1,wchar_t *param_2,longlong *param_3,longlong param_4) + +{ + FUN_140071510((longlong *)(param_1 + -0xb0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400690c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400690c0.c new file mode 100644 index 00000000..e04644f9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400690c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400690c0 FUN_1400690c0 + * Pseudocode, not original source. */ + +void FUN_1400690c0(longlong param_1) + +{ + FUN_14004a010(param_1 + -0x120); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400690d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400690d0.c new file mode 100644 index 00000000..7259a84d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400690d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400690d0 FUN_1400690d0 + * Pseudocode, not original source. */ + +void FUN_1400690d0(longlong param_1) + +{ + FUN_14004a010(param_1 + -0xa8); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400690e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400690e0.c new file mode 100644 index 00000000..30e5c14c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400690e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400690e0 FUN_1400690e0 + * Pseudocode, not original source. */ + +void FUN_1400690e0(longlong param_1,longlong param_2,undefined8 param_3,longlong param_4) + +{ + thunk_FUN_1400771f0((longlong *)(param_1 + -0xa8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400690f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400690f0.c new file mode 100644 index 00000000..aab840bc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400690f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400690f0 FUN_1400690f0 + * Pseudocode, not original source. */ + +void FUN_1400690f0(longlong param_1,wchar_t *param_2,longlong *param_3,longlong param_4) + +{ + FUN_140071510((longlong *)(param_1 + -0x78),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140069100.c b/decomp/AgentManager_Release_x64/full/functions/0x140069100.c new file mode 100644 index 00000000..ad6503e3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140069100.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140069100 FUN_140069100 + * Pseudocode, not original source. */ + +void FUN_140069100(longlong param_1,wchar_t *param_2,longlong *param_3,longlong param_4) + +{ + FUN_140071510((longlong *)(param_1 + -0xb8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140069110.c b/decomp/AgentManager_Release_x64/full/functions/0x140069110.c new file mode 100644 index 00000000..e9bba07b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140069110.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140069110 FUN_140069110 + * Pseudocode, not original source. */ + +void FUN_140069110(longlong param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140076fb0(param_1 + -0xa8,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140069120.c b/decomp/AgentManager_Release_x64/full/functions/0x140069120.c new file mode 100644 index 00000000..12c7505f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140069120.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140069120 FUN_140069120 + * Pseudocode, not original source. */ + +void FUN_140069120(longlong param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140077540((longlong *)(param_1 + -0xa8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140069130.c b/decomp/AgentManager_Release_x64/full/functions/0x140069130.c new file mode 100644 index 00000000..05498814 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140069130.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140069130 FUN_140069130 + * Pseudocode, not original source. */ + +void FUN_140069130(longlong param_1,wchar_t *param_2,longlong *param_3,longlong param_4) + +{ + FUN_140071510((longlong *)(param_1 + -0x118),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140069140.c b/decomp/AgentManager_Release_x64/full/functions/0x140069140.c new file mode 100644 index 00000000..36e7beb9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140069140.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140069140 FUN_140069140 + * Pseudocode, not original source. */ + +void FUN_140069140(longlong param_1,wchar_t *param_2,longlong *param_3,longlong param_4) + +{ + FUN_140071510((longlong *)(param_1 + -0x60),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140069150.c b/decomp/AgentManager_Release_x64/full/functions/0x140069150.c new file mode 100644 index 00000000..6e453547 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140069150.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140069150 FUN_140069150 + * Pseudocode, not original source. */ + +void FUN_140069150(longlong param_1,longlong *param_2,int *param_3,uint *param_4,uint param_5) + +{ + FUN_14004af60((longlong *)(param_1 + -0xa8),param_2,param_3,param_4,param_5); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140069160.c b/decomp/AgentManager_Release_x64/full/functions/0x140069160.c new file mode 100644 index 00000000..327ee387 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140069160.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140069160 FUN_140069160 + * Pseudocode, not original source. */ + +void FUN_140069160(longlong param_1,short *param_2,uint param_3,longlong *param_4) + +{ + FUN_14004b400(param_1 + -0xa8,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140069170.c b/decomp/AgentManager_Release_x64/full/functions/0x140069170.c new file mode 100644 index 00000000..9f70f9ed --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140069170.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140069170 FUN_140069170 + * Pseudocode, not original source. */ + +void FUN_140069170(longlong param_1,undefined8 param_2,undefined8 param_3,short *param_4) + +{ + FUN_1400a6d80(param_1 + -0xa8,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140069180.c b/decomp/AgentManager_Release_x64/full/functions/0x140069180.c new file mode 100644 index 00000000..772ab8f3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140069180.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140069180 FUN_140069180 + * Pseudocode, not original source. */ + +void FUN_140069180(longlong param_1,undefined8 *param_2,undefined8 param_3,longlong param_4) + +{ + FUN_1400a6c00(param_1 + -0xa8,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140069190.c b/decomp/AgentManager_Release_x64/full/functions/0x140069190.c new file mode 100644 index 00000000..53c8385b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140069190.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140069190 FUN_140069190 + * Pseudocode, not original source. */ + +void FUN_140069190(longlong param_1,ulonglong *param_2,short *param_3,undefined8 param_4) + +{ + FUN_1400608f0((longlong *)(param_1 + -0xa8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400691a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400691a0.c new file mode 100644 index 00000000..125c04d5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400691a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400691a0 FUN_1400691a0 + * Pseudocode, not original source. */ + +void FUN_1400691a0(longlong param_1,uint param_2,uint *param_3,longlong *param_4) + +{ + FUN_140065110(param_1 + -0xa8,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400691b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400691b0.c new file mode 100644 index 00000000..c86f76f1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400691b0.c @@ -0,0 +1,53 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400691b0 FUN_1400691b0 + * Pseudocode, not original source. */ + +void FUN_1400691b0(longlong param_1,undefined4 *param_2,SIZE_T param_3,undefined8 param_4) + +{ + undefined8 uVar1; + undefined8 *puVar2; + undefined4 local_128 [2]; + longlong local_120; + longlong local_118; + int local_10c; + undefined4 local_100 [58]; + + if (*(longlong *)(param_1 + 0x3e0) != 0) { + FUN_140074fb0(local_128); + FUN_1400660e0(local_100,param_2,param_3,param_4); + uVar1 = *(undefined8 *)(param_1 + 0x468); + if (*(longlong **)(param_1 + 0x458) == (longlong *)0x0) { + puVar2 = (undefined8 *)FUN_14003e840(0x128); + } + else { + param_2 = (undefined4 *)0x128; + puVar2 = (undefined8 *)(**(code **)(**(longlong **)(param_1 + 0x458) + 8))(); + } + if (puVar2 != (undefined8 *)0x0) { + *(undefined4 *)(puVar2 + 2) = 0; + FUN_140074fe0((undefined4 *)(puVar2 + 3),local_128); + param_2 = local_100; + FUN_1400660e0((undefined4 *)(puVar2 + 8),param_2,param_3,param_4); + } + puVar2[1] = uVar1; + *puVar2 = 0; + *(longlong *)(param_1 + 0x470) = *(longlong *)(param_1 + 0x470) + 1; + if (*(undefined8 **)(param_1 + 0x468) == (undefined8 *)0x0) { + *(undefined8 **)(param_1 + 0x460) = puVar2; + } + else { + **(undefined8 **)(param_1 + 0x468) = puVar2; + } + *(undefined8 **)(param_1 + 0x468) = puVar2; + FUN_1400645f0((longlong)local_100,param_2,param_3,param_4); + FUN_14008a320(&local_120); + if ((local_118 != 0) && (local_10c < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + FUN_140097680(*(longlong *)(param_1 + 0x3e0) + 0x160,param_1 + 0x78,param_3,param_4); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140069310.c b/decomp/AgentManager_Release_x64/full/functions/0x140069310.c new file mode 100644 index 00000000..22dd7662 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140069310.c @@ -0,0 +1,150 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140069310 FUN_140069310 + * Pseudocode, not original source. */ + +void FUN_140069310(longlong param_1,undefined8 param_2,undefined8 param_3,ulonglong param_4) + +{ + longlong *plVar1; + int *piVar2; + longlong *plVar3; + ulonglong *puVar4; + ulonglong *puVar5; + ulonglong *puVar6; + undefined4 *puVar7; + SIZE_T SVar8; + longlong **pplVar9; + ulonglong *local_158; + longlong *local_150; + ulonglong *local_148; + undefined1 local_140; + undefined **local_138; + undefined8 local_130; + undefined8 local_128; + undefined8 local_120; + undefined8 local_118; + undefined4 local_108 [2]; + ulonglong local_100 [2]; + longlong local_f0 [2]; + undefined **local_e0; + undefined8 local_d8; + undefined8 local_d0; + undefined8 local_c8; + undefined8 local_c0; + longlong local_b8; + longlong local_b0; + ulonglong local_a8; + undefined4 local_a0; + undefined4 local_9c; + undefined4 local_98; + undefined **local_90; + undefined8 local_88; + undefined8 local_80; + undefined8 local_78; + undefined8 local_70; + undefined **local_60; + undefined4 local_58; + undefined2 local_54; + undefined **local_48; + undefined8 local_40; + undefined8 local_38; + undefined8 local_30; + undefined8 local_28; + undefined8 local_18; + + local_18 = 0xfffffffffffffffe; + local_100[0] = 0; + local_f0[0] = 0; + local_f0[1] = 0; + local_d8 = 0; + local_d0 = 0; + local_c8 = 0; + local_c0 = 0; + local_e0 = Proud::ByteArray::vftable; + local_a8 = 0; + local_b0 = 0; + local_b8 = 0; + local_88 = 0; + local_80 = 0; + local_78 = 0; + local_70 = 0; + local_90 = Proud::ByteArray::vftable; + local_60 = Proud::AddrPort::vftable; + local_58 = 0; + local_54 = 0; + local_40 = 0; + local_38 = 0; + local_30 = 0; + local_28 = 0; + local_48 = Proud::ByteArray::vftable; + local_108[0] = 7; + local_a0 = (undefined4)param_2; + local_9c = (undefined4)param_3; + local_130 = 0; + local_128 = 0; + local_120 = 0; + local_118 = 0; + local_138 = Proud::ByteArray::vftable; + local_98 = local_9c; + FUN_14003e7c0(Proud::ByteArray::vftable,param_2,param_3,param_4); + local_150 = (longlong *)PTR_DAT_14016f010; + pplVar9 = &local_150; + SVar8 = 0; + puVar4 = (ulonglong *) + FUN_140071c20((longlong *)&local_158,param_4 & 0xffffffff,0,(longlong *)pplVar9, + (longlong)&local_138); + puVar5 = local_100; + FUN_14005d770(puVar5,puVar4,SVar8,pplVar9); + puVar6 = local_158; + if (local_158 != (ulonglong *)0x0) { + local_148 = local_158; + FUN_14003d040((int *)local_158); + local_140 = 1; + local_158[8] = local_158[8] - 1; + if (local_158[8] == 0) { + FUN_14003d0d0((longlong)puVar6); + local_140 = 0; + FUN_140038210((undefined4 *)local_158,puVar4,SVar8,pplVar9); + puVar5 = local_158; + } + else { + FUN_14003d0d0((longlong)puVar6); + puVar5 = puVar6; + } + } + plVar3 = local_150; + if (((local_150 != (longlong *)0x0) && (local_150 != (longlong *)PTR_DAT_14016f010)) && + (plVar1 = local_150 + -1, plVar1 != (longlong *)0x0)) { + puVar5 = (ulonglong *)FUN_14003e7c0(puVar5,puVar4,SVar8,pplVar9); + local_148 = puVar5; + FUN_14003d040((int *)puVar5); + local_140 = 1; + piVar2 = (int *)((longlong)plVar3 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(plVar1); + } + FUN_14003d0d0((longlong)puVar5); + } + local_150 = (longlong *)PTR_DAT_14016f010; + FUN_140049e40(&local_138); + puVar7 = local_108; + FUN_1400691b0(param_1,puVar7,SVar8,pplVar9); + FUN_140049e40(&local_48); + FUN_140049e40(&local_90); + local_150 = &local_b8; + FUN_14008a320(&local_b8); + if (local_b0 != 0) { + if ((longlong)local_a8 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_a8 = local_a8 & 0xffffffff00000000; + } + FUN_140049e40(&local_e0); + FUN_1400641e0(local_f0 + 1,puVar7,SVar8,pplVar9); + FUN_140064160(local_f0,puVar7,SVar8,pplVar9); + FUN_140038280((longlong *)local_100,puVar7,SVar8,pplVar9); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140069560.c b/decomp/AgentManager_Release_x64/full/functions/0x140069560.c new file mode 100644 index 00000000..89d4bd0a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140069560.c @@ -0,0 +1,218 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140069560 FUN_140069560 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x000140069628) */ +/* WARNING: Removing unreachable block (ram,0x000140069631) */ +/* WARNING: Removing unreachable block (ram,0x00014006964f) */ +/* WARNING: Removing unreachable block (ram,0x000140069658) */ +/* WARNING: Removing unreachable block (ram,0x0001400696e5) */ +/* WARNING: Removing unreachable block (ram,0x0001400696ec) */ +/* WARNING: Removing unreachable block (ram,0x0001400696f4) */ +/* WARNING: Removing unreachable block (ram,0x000140069701) */ +/* WARNING: Removing unreachable block (ram,0x0001400696f9) */ +/* WARNING: Removing unreachable block (ram,0x000140069707) */ +/* WARNING: Removing unreachable block (ram,0x000140069718) */ +/* WARNING: Removing unreachable block (ram,0x00014006991a) */ + +void FUN_140069560(longlong param_1,uint *param_2,ulonglong param_3,ulonglong param_4) + +{ + int iVar1; + longlong *plVar2; + LPVOID pvVar3; + undefined8 uVar4; + uint *puVar5; + longlong lVar6; + ulonglong uVar7; + undefined ***pppuVar8; + uint *puVar9; + uint *puVar10; + longlong lVar11; + int iVar12; + LPVOID pvVar13; + ulonglong uVar14; + uint uVar15; + uint uVar16; + ulonglong uVar17; + ulonglong uVar18; + uint uVar19; + LPVOID pvVar20; + undefined **local_e8; + longlong *local_e0; + LPVOID local_d8; + ulonglong local_d0; + undefined8 local_c8; + undefined **local_b8; + longlong local_b0; + uint *local_a8; + undefined8 local_a0; + longlong local_98; + uint local_90; + undefined4 local_8c; + undefined4 local_88; + undefined4 local_84; + undefined8 local_80; + undefined8 local_78; + undefined4 local_70; + undefined8 local_68; + undefined8 local_58; + + local_58 = 0xfffffffffffffffe; + local_e8 = Proud::CFastArray::vftable; + pvVar13 = (LPVOID)0x0; + iVar12 = 0; + local_e0 = (longlong *)0x0; + local_d8 = (LPVOID)0x0; + local_d0 = 0; + local_c8 = 0; + local_b8._0_1_ = 0; + local_68 = 0; + local_b0 = 0; + local_a8 = (uint *)0x0; + local_a0 = 0; + local_90 = 0x11; + local_98 = 0; + local_70 = 0; + local_8c = 0x3f400000; + local_88 = 0x3e800000; + local_84 = 0x40100000; + puVar9 = (uint *)0x8000000000000000; + local_80 = 0x26; + pppuVar8 = (undefined ***)0x0; + local_78 = 0; + uVar16 = param_2[0x38]; + uVar18 = param_3; + uVar7 = param_4; + pvVar20 = pvVar13; + plVar2 = local_e0; + do { + uVar16 = uVar16 - 1; + local_e0 = plVar2; + if ((int)uVar16 < 0) { + uVar14 = 0; + puVar10 = (uint *)0x0; + uVar17 = uVar14; + if (0 < iVar12) { + do { + if (((longlong)uVar14 < 0) || (iVar12 <= (int)uVar17)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(pppuVar8,puVar9,uVar18,uVar7); + } + iVar1 = *(int *)((longlong)pvVar20 + uVar14 * 4); + lVar11 = (longlong)iVar1; + pppuVar8 = (undefined ***)(param_2 + 0x32); + uVar16 = param_2[0x38]; + lVar6 = (longlong)(int)uVar16; + if ((iVar1 < 0) || ((int)uVar16 <= iVar1)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + uVar19 = uVar16 - 1; + if (iVar1 < (int)uVar19) { + puVar9 = puVar10; + puVar5 = puVar10; + if (uVar16 != 0) { + puVar9 = *(uint **)(param_2 + 0x36); + puVar5 = *(uint **)(param_2 + 0x36); + } + uVar7 = lVar6 * 3; + uVar18 = lVar11 * 3; + *(undefined8 *)(puVar5 + lVar11 * 6) = *(undefined8 *)(puVar9 + lVar6 * 6 + -6); + *(undefined8 *)(puVar5 + lVar11 * 6 + 2) = *(undefined8 *)(puVar9 + lVar6 * 6 + -4); + *(undefined8 *)(puVar5 + lVar11 * 6 + 4) = *(undefined8 *)(puVar9 + lVar6 * 6 + -2); + } + puVar9 = (uint *)(ulonglong)uVar19; + FUN_14004c130((longlong)pppuVar8,uVar19,uVar18,uVar7); + uVar16 = (int)uVar17 + 1; + uVar14 = uVar14 + 1; + uVar17 = (ulonglong)uVar16; + } while ((int)uVar16 < iVar12); + } + puVar9 = local_a8; + if (local_98 == 0) { + puVar9 = puVar10; + } + for (; puVar9 != (uint *)0x0; puVar9 = *(uint **)(puVar9 + 2)) { + uVar16 = *puVar9; + uVar7 = FUN_140096560((longlong)(param_2 + 0x32),uVar16); + if ((char)uVar7 == '\0') { + FUN_140069310(param_1,(ulonglong)*param_2,(ulonglong)uVar16,param_4 & 0xffffffff); + } + } + FUN_140051090((char *)&local_b8); + if (pvVar20 != (LPVOID)0x0) { + if (plVar2 == (longlong *)0x0) { + FUN_14003e8b0(pvVar20); + } + else { + (**(code **)(*plVar2 + 0x18))(plVar2,pvVar20); + } + } + return; + } + if (((int)uVar16 < 0) || ((int)param_2[0x38] <= (int)uVar16)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(pppuVar8,puVar9,uVar18,uVar7); + } + pppuVar8 = (undefined ***)((longlong)(int)uVar16 * 3); + puVar10 = (uint *)(*(longlong *)(param_2 + 0x36) + (longlong)(int)uVar16 * 0x18); + if ((*puVar10 == (uint)uVar18) || (puVar10[1] == (uint)uVar18)) { + iVar12 = (int)pvVar13; + if (iVar12 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + pppuVar8 = &local_e8; + FUN_140038010((longlong)pppuVar8,iVar12 + 1,uVar18,uVar7); + pvVar20 = local_d8; + pvVar13 = (LPVOID)(local_d0 & 0xffffffff); + pvVar3 = local_d8; + if ((int)local_d0 == 0) { + pvVar3 = (LPVOID)0x0; + } + *(uint *)((longlong)pvVar3 + (longlong)iVar12 * 4) = uVar16; + uVar19 = *puVar10; + uVar7 = (ulonglong)local_90; + if (local_b0 != 0) { + pppuVar8 = *(undefined ****)(local_b0 + ((ulonglong)uVar19 % uVar7) * 8); + while ((pppuVar8 != (undefined ***)0x0 && + (puVar9 = (uint *)((ulonglong)*(uint *)(pppuVar8 + 3) % uVar7), + (int)((ulonglong)uVar19 % uVar7) == (int)puVar9))) { + if (*(uint *)pppuVar8 == uVar19) goto LAB_1400697e0; + pppuVar8 = (undefined ***)pppuVar8[1]; + } + } + uVar15 = (uint)((ulonglong)uVar19 % uVar7); + if (local_b0 == 0) { + uVar4 = FUN_14004c640((longlong)&local_b8,local_90,'\x01'); + if ((char)uVar4 == '\0') { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x8007000e); + } + } + else { + puVar5 = *(uint **)(local_b0 + ((ulonglong)uVar19 % uVar7) * 8); + while ((puVar5 != (uint *)0x0 && (uVar15 == (uint)(uint *)((ulonglong)puVar5[6] % uVar7)))) + { + puVar9 = (uint *)((ulonglong)puVar5[6] % uVar7); + if (*puVar5 == uVar19) goto LAB_1400697d8; + puVar5 = *(uint **)(puVar5 + 2); + } + } + FUN_140083c80((char *)&local_b8); + uVar7 = (ulonglong)uVar19; + puVar5 = FUN_14004e500((char *)&local_b8,puVar10,uVar15,uVar19); + pppuVar8 = &local_b8; + FUN_140083c80((char *)pppuVar8); + puVar9 = puVar10; +LAB_1400697d8: + *(undefined1 *)(puVar5 + 1) = 0; +LAB_1400697e0: + uVar18 = param_3 & 0xffffffff; + } + iVar12 = (int)pvVar13; + plVar2 = local_e0; + } while( true ); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140069970.c b/decomp/AgentManager_Release_x64/full/functions/0x140069970.c new file mode 100644 index 00000000..eb0ffc1a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140069970.c @@ -0,0 +1,21 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140069970 FUN_140069970 + * Pseudocode, not original source. */ + +longlong * FUN_140069970(undefined8 param_1,undefined8 param_2,undefined8 param_3,longlong param_4) + +{ + longlong *plVar1; + longlong *plVar2; + + plVar1 = operator_new(0x1880); + plVar2 = (longlong *)0x0; + if (plVar1 != (longlong *)0x0) { + plVar2 = FUN_140068740(plVar1,param_2,param_3,param_4); + } + if (plVar2 != (longlong *)0x0) { + plVar2 = plVar2 + 0x15; + } + return plVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400699b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400699b0.c new file mode 100644 index 00000000..5744a491 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400699b0.c @@ -0,0 +1,345 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400699b0 FUN_1400699b0 + * Pseudocode, not original source. */ + +undefined8 +FUN_1400699b0(ulonglong param_1,uint param_2,undefined8 param_3,uint *param_4,uint *param_5, + uint *param_6,char *param_7) + +{ + longlong lVar1; + LPVOID pvVar2; + undefined4 uVar3; + undefined2 uVar4; + longlong lVar5; + int iVar6; + undefined8 uVar7; + ulonglong uVar8; + undefined **ppuVar9; + undefined8 *puVar10; + undefined8 *puVar11; + undefined8 *puVar12; + undefined8 *puVar13; + longlong **pplVar14; + longlong **pplVar15; + longlong *plVar16; + longlong lVar17; + uint uVar18; + uint uVar19; + undefined **ppuVar20; + uint *puVar21; + longlong **pplVar22; + double dVar23; + ulonglong local_res8; + uint local_res10 [2]; + longlong *local_188; + undefined1 local_180; + undefined1 local_17f; + undefined1 local_17e [6]; + longlong *local_178; + longlong local_170; + longlong local_168 [2]; + int *local_158; + undefined1 local_150; + longlong local_148 [2]; + undefined4 local_138; + undefined **local_130; + undefined4 local_128; + undefined2 local_124; + undefined **local_120; + undefined4 local_118; + undefined2 local_114; + undefined1 local_110; + undefined4 local_108; + undefined **local_100; + undefined4 local_f8; + undefined2 local_f4; + undefined **local_f0; + undefined4 local_e8; + undefined2 local_e4; + undefined1 local_e0; + undefined4 local_d8; + undefined **local_d0; + undefined4 local_c8; + undefined2 local_c4; + undefined **local_c0; + undefined4 local_b8; + undefined2 local_b4; + undefined1 local_b0; + undefined8 local_a8; + undefined8 local_a0 [2]; + undefined8 local_90 [2]; + undefined8 local_80 [2]; + undefined8 local_70 [2]; + undefined8 local_60 [2]; + undefined8 local_50 [3]; + + local_a8 = 0xfffffffffffffffe; + local_res8 = param_1; + local_res10[0] = param_2; + local_158 = (int *)(**(code **)(**(longlong **)(param_1 + 0x20) + 0x58))(); + FUN_14003d040(local_158); + local_150 = 1; + if (DAT_14017614f != '\0') { + (**(code **)(**(longlong **)(param_1 + 0x20) + 200)) + (*(longlong **)(param_1 + 0x20), + L"Proud::CNetServerImpl::C2SStub::P2PGroup_MemberJoin_Ack"); + } + FUN_140064860(*(longlong *)(param_1 + 0x20),(longlong *)&local_178,*param_4); + pplVar22 = (longlong **)0x0; + if (((local_178 != (longlong *)0x0) && (*local_178 != 0)) && + (uVar7 = FUN_1400965d0(*local_178 + 200,local_res10[0],(ulonglong)*param_5,*param_6), + (char)uVar7 == '\x01')) { + pplVar15 = pplVar22; + if (local_178 != (longlong *)0x0) { + pplVar15 = (longlong **)*local_178; + } + uVar8 = FUN_1400964e0((longlong)(pplVar15 + 0x19),*param_5,(ulonglong)*param_6); + if ((char)uVar8 == '\0') { + FUN_140069310(*(longlong *)(param_1 + 0x20),(ulonglong)*param_4,(ulonglong)*param_5,0); + } + } + puVar21 = (uint *)(ulonglong)*param_5; + uVar8 = (ulonglong)local_res10[0]; + pplVar15 = &local_188; + FUN_14005d550(*(longlong *)(param_1 + 0x20) + 0x2d8,(longlong *)pplVar15,local_res10[0],*param_5); + if (local_188 != (longlong *)0x0) { + ppuVar20 = (undefined **)*local_188; + uVar8 = 0; + if (ppuVar20 != (undefined **)0x0) { + if (*(char *)(ppuVar20 + 0x34) != '\0') { + ppuVar9 = ppuVar20 + 2; + pplVar15 = pplVar22; + pplVar14 = pplVar22; + do { + if (*(uint *)ppuVar9 == local_res10[0]) { + *(undefined1 *)(ppuVar20 + (longlong)(int)pplVar14 * 6 + 7) = 1; + break; + } + pplVar14 = (longlong **)(ulonglong)((int)pplVar14 + 1); + pplVar15 = (longlong **)((longlong)pplVar15 + 1); + ppuVar9 = ppuVar9 + 6; + } while ((longlong)pplVar15 < 2); + uVar8 = (ulonglong)local_res10[0]; + pplVar15 = pplVar22; + if (local_188 != (longlong *)0x0) { + pplVar15 = (longlong **)*local_188; + } + dVar23 = 0.0; + if (((double)pplVar15[0x32] != 0.0) && (*param_7 != '\0')) { + pplVar15 = pplVar22; + if (local_188 != (longlong *)0x0) { + pplVar15 = (longlong **)*local_188; + } + FUN_14004b540((longlong)pplVar15,local_res10[0]); + uVar8 = (ulonglong)local_res10[0]; + } + pplVar15 = pplVar22; + if (local_188 != (longlong *)0x0) { + pplVar15 = (longlong **)*local_188; + } + pplVar15 = pplVar15 + 7; + lVar17 = 2; + pplVar14 = pplVar22; + do { + if (*(char *)pplVar15 != '\0') { + pplVar14 = (longlong **)(ulonglong)((int)pplVar14 + 1); + } + pplVar15 = pplVar15 + 6; + lVar17 = lVar17 + -1; + } while (lVar17 != 0); + pplVar15 = (longlong **)0x0; + if ((int)pplVar14 == 2) { + pplVar15 = pplVar22; + if (local_188 != (longlong *)0x0) { + pplVar15 = (longlong **)*local_188; + } + if ((double)pplVar15[0x32] == dVar23) { +LAB_140069da5: + local_res8 = local_res8 & 0xffffffffffffff00; + plVar16 = (longlong *)(*(longlong *)(param_1 + 0x20) + 0x4a8); + (**(code **)(*plVar16 + 0x50)) + (plVar16,uVar8 & 0xffffffff,&DAT_140177f90,param_5,&local_res8, + &PTR_vftable_14016f3c8,&PTR_vftable_14016f3c8,&PTR_vftable_14016f3c8, + &PTR_vftable_14016f3c8); + local_17f = 0; + plVar16 = (longlong *)(*(longlong *)(param_1 + 0x20) + 0x4a8); + puVar21 = local_res10; + (**(code **)(*plVar16 + 0x50)) + (plVar16,*param_5,&DAT_140177f90,puVar21,&local_17f,&PTR_vftable_14016f3c8, + &PTR_vftable_14016f3c8,&PTR_vftable_14016f3c8,&PTR_vftable_14016f3c8); + uVar4 = DAT_14016f3d4; + uVar3 = DAT_14016f3d0; + pplVar15 = pplVar22; + if (local_188 != (longlong *)0x0) { + pplVar15 = (longlong **)*local_188; + } + ppuVar20 = Proud::AddrPort::vftable; + if (*(char *)(pplVar15 + 1) != '\x01') { + *(undefined4 *)(pplVar15 + 2) = 0; + *(undefined4 *)(pplVar15 + 4) = uVar3; + *(undefined2 *)((longlong)pplVar15 + 0x24) = uVar4; + *(undefined4 *)(pplVar15 + 6) = uVar3; + *(undefined2 *)((longlong)pplVar15 + 0x34) = uVar4; + *(undefined1 *)(pplVar15 + 7) = 0; + uVar4 = DAT_14016f3d4; + uVar3 = DAT_14016f3d0; + local_d0 = Proud::AddrPort::vftable; + local_c0 = Proud::AddrPort::vftable; + local_d8 = 0; + local_b0 = 0; + local_c8 = DAT_14016f3d0; + local_c4 = DAT_14016f3d4; + local_b8 = DAT_14016f3d0; + local_b4 = DAT_14016f3d4; + *(undefined4 *)(pplVar15 + 8) = 0; + *(undefined4 *)(pplVar15 + 10) = uVar3; + *(undefined2 *)((longlong)pplVar15 + 0x54) = uVar4; + *(undefined4 *)(pplVar15 + 0xc) = uVar3; + *(undefined2 *)((longlong)pplVar15 + 100) = uVar4; + *(undefined1 *)(pplVar15 + 0xd) = 0; + *(undefined1 *)(pplVar15 + 1) = 1; + } + uVar4 = DAT_14016f3d4; + uVar3 = DAT_14016f3d0; + pplVar15 = pplVar22; + if (local_188 != (longlong *)0x0) { + pplVar15 = (longlong **)*local_188; + } + local_100 = Proud::AddrPort::vftable; + local_f0 = Proud::AddrPort::vftable; + local_108 = 0; + local_e0 = 0; + local_f8 = DAT_14016f3d0; + local_f4 = DAT_14016f3d4; + local_e8 = DAT_14016f3d0; + local_e4 = DAT_14016f3d4; + *(undefined4 *)(pplVar15 + 2) = 0; + *(undefined4 *)(pplVar15 + 4) = uVar3; + *(undefined2 *)((longlong)pplVar15 + 0x24) = uVar4; + *(undefined4 *)(pplVar15 + 6) = uVar3; + *(undefined2 *)((longlong)pplVar15 + 0x34) = uVar4; + *(undefined1 *)(pplVar15 + 7) = 0; + uVar4 = DAT_14016f3d4; + uVar3 = DAT_14016f3d0; + local_130 = Proud::AddrPort::vftable; + local_120 = Proud::AddrPort::vftable; + local_138 = 0; + local_110 = 0; + local_128 = DAT_14016f3d0; + local_124 = DAT_14016f3d4; + local_118 = DAT_14016f3d0; + local_114 = DAT_14016f3d4; + *(undefined4 *)(pplVar15 + 8) = 0; + *(undefined4 *)(pplVar15 + 10) = uVar3; + *(undefined2 *)((longlong)pplVar15 + 0x54) = uVar4; + *(undefined4 *)(pplVar15 + 0xc) = uVar3; + *(undefined2 *)((longlong)pplVar15 + 100) = uVar4; + *(undefined1 *)(pplVar15 + 0xd) = 0; + pplVar14 = pplVar22; + if (local_188 != (longlong *)0x0) { + pplVar14 = (longlong **)*local_188; + } + pplVar14[0x33] = (longlong *)0x0; + } + else { + pplVar15 = pplVar22; + if (local_188 != (longlong *)0x0) { + pplVar15 = (longlong **)*local_188; + } + plVar16 = local_188; + iVar6 = FUN_14004a4c0((longlong)pplVar15); + if (iVar6 != 2) goto LAB_140069da5; + local_180 = 1; + if (plVar16 == (longlong *)0x0) { + local_148[0] = 0; + } + else { + local_148[0] = *plVar16; + } + uVar19 = *param_5; + lVar17 = *(longlong *)(param_1 + 0x20); + lVar1 = *(longlong *)(lVar17 + 0x4a8); + uVar18 = local_res10[0]; + local_170 = local_148[0]; + local_168[0] = local_148[0]; + puVar10 = FUN_14004a830(local_148[0],local_50,local_res10[0]); + puVar11 = FUN_14004a7b0(local_148[0],local_90,uVar18); + puVar12 = FUN_14004a440(local_170,local_148,uVar19); + puVar13 = FUN_14004a340(local_168[0],local_70,uVar19); + (**(code **)(lVar1 + 0x50)) + (lVar17 + 0x4a8,local_res10[0],&DAT_140177f90,param_5,&local_180,puVar13, + puVar12,puVar11,puVar10); + local_17e[0] = 1; + if (local_188 == (longlong *)0x0) { + local_168[0] = 0; + } + else { + local_168[0] = *local_188; + } + lVar5 = local_168[0]; + uVar19 = *param_5; + lVar17 = *(longlong *)(local_res8 + 0x20); + lVar1 = *(longlong *)(lVar17 + 0x4a8); + uVar18 = uVar19; + local_170 = local_168[0]; + puVar10 = FUN_14004a830(local_168[0],local_a0,uVar19); + puVar11 = FUN_14004a7b0(lVar5,local_80,uVar18); + uVar18 = local_res10[0]; + puVar12 = FUN_14004a440(local_168[0],local_60,local_res10[0]); + puVar13 = FUN_14004a340(local_170,local_168,uVar18); + puVar21 = local_res10; + ppuVar20 = (undefined **)&DAT_140177f90; + pplVar15 = (longlong **)(ulonglong)uVar19; + (**(code **)(lVar1 + 0x50)) + (lVar17 + 0x4a8,pplVar15,&DAT_140177f90,puVar21,local_17e,puVar13,puVar12, + puVar11,puVar10); + pplVar14 = pplVar22; + if (local_188 != (longlong *)0x0) { + pplVar14 = (longlong **)*local_188; + } + if (*(char *)(pplVar14 + 1) != '\0') { + *(undefined1 *)(pplVar14 + 1) = 0; + } + } + pplVar14 = pplVar22; + if (local_188 != (longlong *)0x0) { + pplVar14 = (longlong **)*local_188; + } + pplVar14[0x32] = (longlong *)0x0; + if (local_188 != (longlong *)0x0) { + pplVar22 = (longlong **)*local_188; + } + *(undefined1 *)(pplVar22 + 0x34) = 0; + } + } + if ((local_188 != (longlong *)0x0) && (local_188[1] = local_188[1] + -1, local_188[1] == 0)) { + FUN_14004e450(local_188); + } + if ((local_178 != (longlong *)0x0) && (local_178[1] = local_178[1] + -1, local_178[1] == 0)) { + pvVar2 = (LPVOID)*local_178; + if (pvVar2 != (LPVOID)0x0) { + FUN_1400519b0((longlong)pvVar2,pplVar15,ppuVar20,puVar21); + FUN_14003e8b0(pvVar2); + } + FUN_14003e8b0(local_178); + } + goto LAB_14006a066; + } + } + if ((local_188 != (longlong *)0x0) && (local_188[1] = local_188[1] + -1, local_188[1] == 0)) { + FUN_14004e450(local_188); + } + if ((local_178 != (longlong *)0x0) && (local_178[1] = local_178[1] + -1, local_178[1] == 0)) { + pvVar2 = (LPVOID)*local_178; + if (pvVar2 != (LPVOID)0x0) { + FUN_1400519b0((longlong)pvVar2,pplVar15,uVar8,puVar21); + FUN_14003e8b0(pvVar2); + } + FUN_14003e8b0(local_178); + } +LAB_14006a066: + uVar7 = FUN_14003d0d0((longlong)local_158); + return CONCAT71((int7)((ulonglong)uVar7 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14006a090.c b/decomp/AgentManager_Release_x64/full/functions/0x14006a090.c new file mode 100644 index 00000000..e7a34b02 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14006a090.c @@ -0,0 +1,137 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14006a090 FUN_14006a090 + * Pseudocode, not original source. */ + +void FUN_14006a090(longlong param_1,char *param_2,ulonglong param_3,ulonglong param_4) + +{ + longlong *plVar1; + uint uVar2; + uint uVar3; + longlong lVar4; + LPVOID pvVar5; + bool bVar6; + int *piVar7; + int *piVar8; + undefined8 *puVar9; + undefined8 *puVar10; + int *piVar11; + uint *puVar12; + undefined4 *puVar13; + int **ppiVar14; + uint *puVar15; + longlong lVar16; + int *local_res8 [2]; + undefined8 *local_res18; + int *local_res20; + + FUN_140067670(param_2,param_2,param_3,param_4); + piVar11 = (int *)(**(code **)(*(longlong *)(param_1 + -0xa8) + 0x58))(param_1 + -0xa8); + FUN_14003d040(piVar11); + if (DAT_14017614f != '\0') { + (**(code **)(*(longlong *)(param_1 + -0xa8) + 200)) + (param_1 + -0xa8,L"Proud::CNetServerImpl::GetP2PGroups"); + } + if (*(longlong *)(param_1 + 0x378) == 0) { + lVar16 = 0; + } + else { + lVar16 = *(longlong *)(param_1 + 0x368); + } + do { + if (lVar16 == 0) { + FUN_14003d0d0((longlong)piVar11); + return; + } + if (lVar16 == 0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + local_res18 = (undefined8 *)0x0; + if (*(longlong *)(lVar16 + 8) != 0) { + *(longlong *)(*(longlong *)(lVar16 + 8) + 8) = + *(longlong *)(*(longlong *)(lVar16 + 8) + 8) + 1; + local_res18 = *(undefined8 **)(lVar16 + 8); + } + puVar9 = local_res18; + if (local_res18 == (undefined8 *)0x0) { + puVar13 = (undefined4 *)0x0; + } + else { + puVar13 = (undefined4 *)*local_res18; + } + FUN_140096940(puVar13,(longlong *)local_res8,param_3,param_4); + if (local_res8[0] == (int *)0x0) { + puVar15 = (uint *)0x0; + } + else { + puVar15 = *(uint **)(local_res8[0] + 0xe); + } + uVar2 = *puVar15; + param_4 = (ulonglong)uVar2; + uVar3 = *(uint *)(param_2 + 0x28); + param_3 = param_4 % (ulonglong)uVar3; + lVar4 = *(longlong *)(param_2 + 8); + if (lVar4 != 0) { + puVar12 = *(uint **)(lVar4 + param_3 * 8); + while ((puVar12 != (uint *)0x0 && + (ppiVar14 = (int **)((ulonglong)puVar12[8] % (ulonglong)uVar3), + (int)param_3 == (int)ppiVar14))) { + if (*puVar12 == uVar2) goto LAB_14006a232; + puVar12 = *(uint **)(puVar12 + 4); + } + } + param_3 = param_4 % (ulonglong)uVar3; + if (lVar4 != 0) { + for (puVar12 = *(uint **)(lVar4 + param_3 * 8); + (puVar12 != (uint *)0x0 && ((uint)param_3 == puVar12[8] % uVar3)); + puVar12 = *(uint **)(puVar12 + 4)) { + if (*puVar12 == uVar2) goto LAB_14006a219; + } + } + puVar12 = FUN_1400679b0(param_2,puVar15,(uint)param_3,uVar2); +LAB_14006a219: + ppiVar14 = local_res8; + FUN_140062a80((ulonglong *)(puVar12 + 2),(ulonglong *)ppiVar14,param_3,param_4); +LAB_14006a232: + piVar7 = local_res8[0]; + if (local_res8[0] != (int *)0x0) { + FUN_14003d040(local_res8[0]); + bVar6 = true; + *(longlong *)(local_res8[0] + 0x10) = *(longlong *)(local_res8[0] + 0x10) + -1; + if (*(longlong *)(local_res8[0] + 0x10) == 0) { + FUN_14003d0d0((longlong)piVar7); + piVar8 = local_res8[0]; + bVar6 = false; + local_res20 = local_res8[0]; + pvVar5 = *(LPVOID *)(local_res8[0] + 0xe); + if (pvVar5 != (LPVOID)0x0) { + FUN_140051090((char *)((longlong)pvVar5 + 8)); + FUN_14003e8b0(pvVar5); + } + FUN_14003d110(piVar8,ppiVar14,param_3,param_4); + FUN_14003e8b0(piVar8); + } + if (bVar6) { + FUN_14003d0d0((longlong)piVar7); + } + } + puVar10 = local_res18; + if (puVar9 != (undefined8 *)0x0) { + plVar1 = puVar9 + 1; + *plVar1 = *plVar1 + -1; + if (*plVar1 == 0) { + pvVar5 = (LPVOID)*local_res18; + if (pvVar5 != (LPVOID)0x0) { + FUN_1400519b0((longlong)pvVar5,ppiVar14,param_3,param_4); + FUN_14003e8b0(pvVar5); + } + FUN_14003e8b0(puVar10); + } + } + if (lVar16 != 0) { + lVar16 = *(longlong *)(lVar16 + 0x10); + } + } while( true ); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14006a340.c b/decomp/AgentManager_Release_x64/full/functions/0x14006a340.c new file mode 100644 index 00000000..d5c52d73 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14006a340.c @@ -0,0 +1,161 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14006a340 FUN_14006a340 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x00014006a5fd) */ + +void FUN_14006a340(longlong *param_1,undefined8 param_2,undefined8 param_3,longlong param_4) + +{ + longlong *plVar1; + uint uVar2; + LPVOID pvVar3; + int *piVar4; + uint *puVar5; + longlong lVar6; + longlong lVar7; + ulonglong uVar8; + int iVar9; + uint *puVar10; + uint *puVar11; + ulonglong uVar12; + int iVar13; + uint *puVar14; + uint *puVar15; + uint uVar16; + uint *puVar17; + longlong lVar19; + longlong lVar20; + double dVar21; + undefined8 *local_res18; + ulonglong uVar18; + + piVar4 = (int *)(**(code **)(*param_1 + 0x58))(); + FUN_14003d040(piVar4); + if (DAT_14017614f != '\0') { + (**(code **)(*param_1 + 200))(param_1,L"Proud::CNetServerImpl::PurgeTooOldAddMemberAckItem"); + } + dVar21 = FUN_140048960((char *)(param_1 + 0xec)); + puVar14 = (uint *)0x0; + puVar15 = puVar14; + if (param_1[0x84] != 0) { + puVar15 = (uint *)param_1[0x82]; + } + do { + if (puVar15 == (uint *)0x0) { +LAB_14006a608: + FUN_14003d0d0((longlong)piVar4); + return; + } + local_res18 = (undefined8 *)0x0; + puVar10 = puVar14; + puVar11 = puVar14; + puVar17 = puVar14; + if (*(longlong *)(puVar15 + 2) != 0) { + *(longlong *)(*(longlong *)(puVar15 + 2) + 8) = + *(longlong *)(*(longlong *)(puVar15 + 2) + 8) + 1; + local_res18 = *(undefined8 **)(puVar15 + 2); + } + while( true ) { + puVar5 = puVar14; + if (local_res18 != (undefined8 *)0x0) { + puVar5 = (uint *)*local_res18; + } + iVar9 = (int)puVar10; + if ((int)puVar5[0x38] <= iVar9) break; + puVar5 = puVar14; + if (local_res18 != (undefined8 *)0x0) { + puVar5 = (uint *)*local_res18; + } + if (((longlong)puVar11 < 0) || ((int)puVar5[0x38] <= iVar9)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(puVar10,puVar11,puVar17,param_4); + } + param_4 = *(longlong *)(puVar5 + 0x36); + if (DAT_14016f0a8 < dVar21 - *(double *)((longlong)puVar17 + param_4 + 0x10)) { + uVar2 = *(uint *)((longlong)puVar17 + param_4); + puVar15 = puVar14; + if (local_res18 != (undefined8 *)0x0) { + puVar15 = (uint *)*local_res18; + } + puVar10 = puVar15 + 0x32; + iVar13 = 1; + if (iVar9 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + uVar16 = puVar15[0x38]; + if ((int)(uVar16 - iVar9) < 2) { + iVar13 = uVar16 - iVar9; + } + uVar16 = (uVar16 - iVar13) - iVar9; + uVar18 = (ulonglong)uVar16; + if (0 < (int)uVar16) { + lVar20 = (longlong)(int)uVar16; + lVar19 = (longlong)puVar11 * 0x18; + do { + lVar6 = FUN_140074a30((longlong)puVar10); + lVar6 = lVar6 + (longlong)iVar13 * 0x18; + lVar7 = FUN_140074a30((longlong)puVar10); + *(undefined8 *)(lVar7 + lVar19) = *(undefined8 *)(lVar6 + lVar19); + *(undefined8 *)(lVar7 + 8 + lVar19) = *(undefined8 *)(lVar6 + 8 + lVar19); + *(undefined8 *)(lVar7 + 0x10 + lVar19) = *(undefined8 *)(lVar6 + 0x10 + lVar19); + lVar19 = lVar19 + 0x18; + lVar20 = lVar20 + -1; + } while (lVar20 != 0); + } + FUN_14004c130((longlong)puVar10,puVar15[0x38] - iVar13,uVar18,param_4); + puVar15 = puVar14; + if (local_res18 != (undefined8 *)0x0) { + puVar15 = (uint *)*local_res18; + } + uVar12 = (ulonglong)uVar2; + uVar8 = FUN_140096560((longlong)(puVar15 + 0x32),uVar2); + if ((char)uVar8 == '\0') { + if (local_res18 != (undefined8 *)0x0) { + puVar14 = (uint *)*local_res18; + } + param_4 = 7; + uVar18 = (ulonglong)uVar2; + uVar12 = (ulonglong)*puVar14; + FUN_140069310((longlong)param_1,uVar12,uVar18,7); + } + if (local_res18 != (undefined8 *)0x0) { + plVar1 = local_res18 + 1; + *plVar1 = *plVar1 + -1; + if (*plVar1 == 0) { + pvVar3 = (LPVOID)*local_res18; + if (pvVar3 != (LPVOID)0x0) { + FUN_1400519b0((longlong)pvVar3,uVar12,uVar18,param_4); + FUN_14003e8b0(pvVar3); + } + FUN_14003e8b0(local_res18); + } + } + goto LAB_14006a608; + } + puVar10 = (uint *)(ulonglong)(iVar9 + 1); + puVar11 = (uint *)((longlong)puVar11 + 1); + puVar17 = puVar17 + 6; + } + if (local_res18 != (undefined8 *)0x0) { + plVar1 = local_res18 + 1; + *plVar1 = *plVar1 + -1; + if (*plVar1 == 0) { + pvVar3 = (LPVOID)*local_res18; + if (pvVar3 != (LPVOID)0x0) { + FUN_1400519b0((longlong)pvVar3,puVar11,puVar17,param_4); + FUN_14003e8b0(pvVar3); + } + FUN_14003e8b0(local_res18); + } + } + if (puVar15 == (uint *)0x0) { + puVar15 = (uint *)0x0; + } + else { + puVar15 = *(uint **)(puVar15 + 4); + } + } while( true ); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14006a630.c b/decomp/AgentManager_Release_x64/full/functions/0x14006a630.c new file mode 100644 index 00000000..97e82a99 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14006a630.c @@ -0,0 +1,1332 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14006a630 FUN_14006a630 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* WARNING: Removing unreachable block (ram,0x00014006b2b1) */ +/* WARNING: Removing unreachable block (ram,0x00014006b2c4) */ +/* WARNING: Removing unreachable block (ram,0x00014006b2e2) */ +/* WARNING: Removing unreachable block (ram,0x00014006bf3d) */ + +undefined8 +FUN_14006a630(longlong param_1,uint param_2,undefined8 param_3,undefined8 *param_4, + undefined4 param_5) + +{ + uint *puVar1; + undefined *puVar2; + int *piVar3; + undefined4 uVar4; + undefined4 uVar5; + void *pvVar6; + undefined **ppuVar7; + LPVOID pvVar8; + bool bVar9; + bool bVar10; + bool bVar11; + bool bVar12; + bool bVar13; + bool bVar14; + bool bVar15; + bool bVar16; + bool bVar17; + bool bVar18; + bool bVar19; + bool bVar20; + bool bVar21; + bool bVar22; + bool bVar23; + bool bVar24; + bool bVar25; + undefined4 uVar26; + undefined2 uVar27; + undefined ***pppuVar28; + short *psVar29; + undefined *puVar30; + int iVar31; + uint uVar32; + uint uVar33; + ulonglong uVar34; + ulonglong uVar35; + undefined8 uVar36; + uint *puVar37; + longlong *plVar38; + undefined8 *puVar39; + undefined4 *puVar40; + TypeDescriptor *pTVar41; + int *piVar42; + ulonglong uVar43; + TypeDescriptor *pTVar44; + undefined ***pppuVar45; + short **ppsVar46; + longlong lVar47; + uint **ppuVar48; + ulonglong uVar49; + void **ppvVar50; + TypeDescriptor *pTVar51; + TypeDescriptor *pTVar52; + undefined ***pppuVar53; + uint uVar54; + undefined ***pppuVar55; + ulonglong uVar56; + SIZE_T SVar57; + uint *puVar58; + undefined *puVar59; + short *psVar60; + TypeDescriptor *pTVar61; + undefined ***pppuVar62; + int *piVar63; + undefined1 auStack_708 [32]; + uint local_68c; + uint *local_688; + TypeDescriptor local_680; + undefined4 local_670; + longlong local_668; + undefined ***local_660; + undefined ***local_658; + undefined ***local_650; + undefined8 *local_648; + TypeDescriptor *local_640; + undefined4 local_638; + uint *local_630; + undefined4 local_628; + TypeDescriptor *local_620; + undefined4 local_618; + undefined4 local_614; + TypeDescriptor *local_610; + undefined ***local_608; + uint *local_5f8; + short *local_5f0; + undefined4 local_5e8; + undefined ***local_5e0; + undefined8 *local_5d8; + undefined4 local_5d0; + undefined *local_5c8; + undefined4 *local_5c0; + longlong local_5b8; + TypeDescriptor *local_5b0; + undefined **local_5a8; + undefined8 local_5a0; + TypeDescriptor *local_598; + undefined8 local_590; + undefined4 local_588; + undefined4 local_584; + undefined **local_580; + undefined8 local_578; + TypeDescriptor *local_570; + undefined8 local_568; + undefined4 local_560; + undefined4 local_55c; + undefined **local_558; + undefined8 local_550; + TypeDescriptor *local_548; + undefined8 local_540; + undefined4 local_538; + undefined4 local_534; + undefined **local_530; + undefined8 local_528; + TypeDescriptor *local_520; + undefined8 local_518; + undefined4 local_510; + undefined4 local_50c; + int *local_508; + undefined1 local_500; + TypeDescriptor *local_4f8; + void **local_4f0; + int *local_4e8; + undefined8 *local_4e0; + undefined **local_4d8; + undefined8 local_4d0; + undefined8 local_4c8; + undefined8 local_4c0; + undefined8 local_4b8; + undefined **local_4b0; + undefined8 local_4a8; + undefined8 local_4a0; + undefined8 local_498; + undefined8 local_490; + undefined **local_488; + undefined8 local_480; + undefined8 local_478; + undefined8 local_470; + undefined8 local_468; + undefined **local_460; + undefined8 local_458; + undefined8 local_450; + undefined8 local_448; + undefined8 local_440; + undefined **local_438; + undefined8 local_430; + undefined8 local_428; + undefined8 local_420; + undefined8 local_418; + undefined **local_410; + undefined8 local_408; + undefined8 local_400; + undefined8 local_3f8; + undefined8 local_3f0; + undefined ***local_3e8; + undefined1 local_3e0; + int *local_3d8; + undefined1 local_3d0; + undefined4 local_3b8; + undefined **local_3b0; + undefined4 local_3a8; + undefined2 local_3a4; + undefined **local_3a0; + undefined4 local_398; + undefined2 local_394; + undefined1 local_390; + undefined4 local_388; + undefined **local_380; + undefined4 local_378; + undefined2 local_374; + undefined **local_370; + undefined4 local_368; + undefined2 local_364; + undefined1 local_360; + undefined4 local_358; + undefined **local_350; + undefined4 local_348; + undefined2 local_344; + undefined **local_340; + undefined4 local_338; + undefined2 local_334; + undefined1 local_330; + undefined8 local_320; + undefined8 local_318 [2]; + undefined8 local_308 [36]; + undefined4 local_1e8; + undefined4 local_1e4; + undefined4 local_1e0; + undefined4 local_1dc; + undefined4 local_1d8; + undefined4 local_1d4; + undefined4 local_1d0; + undefined4 local_1cc; + undefined4 local_1c8; + undefined4 local_1c4; + undefined4 local_1c0; + undefined4 local_1bc; + undefined4 local_1b8; + undefined4 local_1b4; + undefined4 local_1b0; + undefined4 local_1ac; + uint local_1a8; + uint local_1a4; + undefined4 local_1a0; + int *local_198; + uint local_190; + undefined4 local_18c; + undefined4 local_188; + int *local_180; + undefined4 local_178 [72]; + ulonglong local_58; + + local_320 = 0xfffffffffffffffe; + local_58 = DAT_14016f5a0 ^ (ulonglong)auStack_708; + local_680.spare._0_4_ = (uint)param_3; + pTVar51 = (TypeDescriptor *)0x0; + bVar24 = false; + bVar22 = false; + bVar20 = false; + bVar19 = false; + bVar17 = false; + bVar15 = false; + bVar13 = false; + ppuVar48 = &local_688; + puVar39 = param_4; + local_68c = param_2; + local_668 = param_1; + local_648 = param_4; + local_5b8 = param_1; + local_4e0 = param_4; + FUN_140064860(param_1,(longlong *)ppuVar48,(uint)local_680.spare); + if ((local_688 == (uint *)0x0) || (*(longlong *)local_688 == 0)) { + if ((local_688 != (uint *)0x0) && + (*(longlong *)(local_688 + 2) = *(longlong *)(local_688 + 2) + -1, + *(longlong *)(local_688 + 2) == 0)) { + pvVar8 = *(LPVOID *)local_688; + if (pvVar8 != (LPVOID)0x0) { + FUN_1400519b0((longlong)pvVar8,ppuVar48,param_3,puVar39); + FUN_14003e8b0(pvVar8); + } + FUN_14003e8b0(local_688); + } +LAB_14006c2fb: + uVar43 = FUN_140049e40(param_4); + return uVar43 & 0xffffffffffffff00; + } + local_670 = param_5; + uVar33 = *(uint *)(*(longlong *)local_688 + 0x30); + uVar56 = (ulonglong)local_68c; + uVar43 = uVar56 % (ulonglong)uVar33; + lVar47 = *(longlong *)(*(longlong *)local_688 + 0x10); + if (lVar47 != 0) { + for (puVar37 = *(uint **)(lVar47 + uVar43 * 8); + (puVar37 != (uint *)0x0 && ((uint)uVar43 == puVar37[10] % uVar33)); + puVar37 = *(uint **)(puVar37 + 6)) { + if (*puVar37 == local_68c) { + uVar36 = 0x11; + uVar43 = (ulonglong)(uint)local_680.spare; + FUN_140069310(param_1,uVar43,uVar56,0x11); + if ((local_688 != (uint *)0x0) && + (*(longlong *)(local_688 + 2) = *(longlong *)(local_688 + 2) + -1, + *(longlong *)(local_688 + 2) == 0)) { + pvVar8 = *(LPVOID *)local_688; + if (pvVar8 != (LPVOID)0x0) { + FUN_1400519b0((longlong)pvVar8,uVar43,uVar56,uVar36); + FUN_14003e8b0(pvVar8); + } + FUN_14003e8b0(local_688); + } + uVar36 = FUN_140049e40(param_4); + return CONCAT71((int7)((ulonglong)uVar36 >> 8),1); + } + } + } + if ((*(char *)(param_1 + 0x24c) == '\0') || (local_68c != 1)) { + uVar49 = (ulonglong)local_68c; + puVar37 = local_688; + uVar34 = FUN_14004f000(param_1,local_68c); + if ((uVar34 == 0) || + ((pppuVar53 = (undefined ***)(uVar34 + 0x40), local_658 = pppuVar53, + pppuVar53 == (undefined ***)0x0 || + (uVar35 = FUN_140050f60(param_1,uVar34), uVar49 = uVar34, (char)uVar35 != '\0')))) { + *(longlong *)(puVar37 + 2) = *(longlong *)(puVar37 + 2) + -1; + if (*(longlong *)(local_688 + 2) == 0) { + pvVar8 = *(LPVOID *)local_688; + if (pvVar8 != (LPVOID)0x0) { + FUN_1400519b0((longlong)pvVar8,uVar49,uVar56,uVar43); + FUN_14003e8b0(pvVar8); + } + FUN_14003e8b0(local_688); + } + goto LAB_14006c2fb; + } + } + else { + pppuVar53 = (undefined ***)(param_1 + 0xb8); + local_658 = pppuVar53; + } + piVar63 = (int *)FUN_140048960((char *)(param_1 + 0x760)); + uVar33 = local_68c; + bVar9 = false; + pTVar61 = pTVar51; + if (local_688 != (uint *)0x0) { + pTVar61 = *(TypeDescriptor **)local_688; + } + ppvVar50 = &pTVar61->spare; + uVar32 = *(uint *)&pTVar61[3].pVFTable; + uVar43 = (ulonglong)local_68c % (ulonglong)uVar32; + pvVar6 = pTVar61[1].pVFTable; + uVar54 = (uint)uVar43; + local_508 = piVar63; + local_4e8 = piVar63; + if (pvVar6 != (void *)0x0) { + for (puVar37 = *(uint **)((longlong)pvVar6 + uVar43 * 8); + (puVar37 != (uint *)0x0 && (uVar54 == puVar37[10] % uVar32)); + puVar37 = *(uint **)(puVar37 + 6)) { + if (*puVar37 == local_68c) goto LAB_14006a913; + } + if (pvVar6 != (void *)0x0) { + for (puVar37 = *(uint **)((longlong)pvVar6 + uVar43 * 8); + (puVar37 != (uint *)0x0 && (uVar54 == puVar37[10] % uVar32)); + puVar37 = *(uint **)(puVar37 + 6)) { + if (*puVar37 == local_68c) goto LAB_14006a8fb; + } + } + } + if ((pvVar6 == (void *)0x0) && + (uVar36 = FUN_14004c640((longlong)ppvVar50,uVar32,'\x01'), (char)uVar36 == '\0')) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x8007000e); + } + FUN_14004c730((char *)ppvVar50); + puVar37 = FUN_14004e640((char *)ppvVar50,&local_68c,uVar54,uVar33); + FUN_14004c730((char *)ppvVar50); +LAB_14006a8fb: + *(int **)(puVar37 + 2) = local_508; + *(undefined ****)(puVar37 + 4) = pppuVar53; +LAB_14006a913: + local_630 = (uint *)0x0; + if (local_688 != (uint *)0x0) { + *(longlong *)(local_688 + 2) = *(longlong *)(local_688 + 2) + 1; + local_630 = local_688; + } + uVar33 = *(uint *)(pppuVar53 + 6); + pTVar61 = (TypeDescriptor *)(ulonglong)uVar33; + uVar43 = (ulonglong)(uint)local_680.spare % (ulonglong)pTVar61; + ppuVar7 = pppuVar53[2]; + uVar32 = (uint)uVar43; + if (ppuVar7 != (undefined **)0x0) { + for (puVar37 = (uint *)ppuVar7[uVar43]; + (puVar37 != (uint *)0x0 && (uVar32 == puVar37[8] % uVar33)); + puVar37 = *(uint **)(puVar37 + 4)) { + if (*puVar37 == (uint)local_680.spare) goto LAB_14006aa94; + } + if (ppuVar7 != (undefined **)0x0) { + puVar37 = (uint *)ppuVar7[uVar43]; + while ((puVar37 != (uint *)0x0 && + (ppvVar50 = (void **)((ulonglong)puVar37[8] % (ulonglong)pTVar61), + uVar32 == (uint)ppvVar50))) { + if (*puVar37 == (uint)local_680.spare) goto LAB_14006aa0e; + puVar37 = *(uint **)(puVar37 + 4); + } + if (ppuVar7 != (undefined **)0x0) goto LAB_14006a9d5; + } + } + uVar36 = FUN_14004c640((longlong)(pppuVar53 + 1),uVar33,'\x01'); + if ((char)uVar36 == '\0') { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x8007000e); + } +LAB_14006a9d5: + FUN_1400c8cb0((char *)(pppuVar53 + 1)); + pTVar61 = (TypeDescriptor *)(ulonglong)(uint)local_680.spare; + ppvVar50 = &local_680.spare; + puVar37 = FUN_140067090((char *)(pppuVar53 + 1),(undefined4 *)ppvVar50,uVar32, + (uint)local_680.spare); + FUN_1400c8cb0((char *)(pppuVar53 + 1)); +LAB_14006aa0e: + if (local_630 != *(uint **)(puVar37 + 2)) { + if (local_630 != (uint *)0x0) { + *(longlong *)(local_630 + 2) = *(longlong *)(local_630 + 2) + 1; + } + pTVar52 = pTVar51; + if ((*(longlong *)(puVar37 + 2) != 0) && + (*(longlong *)(*(longlong *)(puVar37 + 2) + 8) = + *(longlong *)(*(longlong *)(puVar37 + 2) + 8) + -1, + *(longlong *)(*(longlong *)(puVar37 + 2) + 8) == 0)) { + pTVar52 = *(TypeDescriptor **)(puVar37 + 2); + } + *(uint **)(puVar37 + 2) = local_630; + if (pTVar52 != (TypeDescriptor *)0x0) { + pvVar8 = pTVar52->pVFTable; + if (pvVar8 != (LPVOID)0x0) { + FUN_1400519b0((longlong)pvVar8,ppvVar50,local_688,pTVar61); + FUN_14003e8b0(pvVar8); + } + FUN_14003e8b0(pTVar52); + } + } +LAB_14006aa94: + bVar25 = false; + bVar23 = false; + bVar21 = false; + bVar18 = false; + bVar16 = false; + bVar14 = false; + bVar12 = false; + pTVar52 = pTVar51; + if (local_688 != (uint *)0x0) { + pTVar52 = *(TypeDescriptor **)local_688; + } + local_5b0 = (TypeDescriptor *)&pTVar52->spare; + local_4f8 = pTVar51; + local_4f0 = (void **)local_5b0; + if (pTVar52[2].spare != (void *)0x0) { + local_4f8 = pTVar52[1].spare; + } + do { + pTVar52 = pTVar51; + if (local_688 != (uint *)0x0) { + pTVar52 = *(TypeDescriptor **)local_688; + } + local_620 = local_4f8; + if ((local_4f8 == (TypeDescriptor *)0x0) && (local_5b0 == (TypeDescriptor *)&pTVar52->spare)) { + if (local_688 != (uint *)0x0) { + pTVar51 = *(TypeDescriptor **)local_688; + } + puVar37 = local_688; + FUN_140059c20(param_1,(uint *)pTVar51,(longlong)local_688,pTVar61); + if (!bVar9) { + pTVar61 = (TypeDescriptor *)0x0; + puVar37 = (uint *)0x1; + pTVar51 = (TypeDescriptor *)(ulonglong)(uint)local_680.spare; + FUN_140069310(param_1,pTVar51,1,0); + } + puVar58 = local_630; + if (local_630 != (uint *)0x0) { + puVar1 = local_630 + 2; + *(longlong *)puVar1 = *(longlong *)puVar1 + -1; + if (*(longlong *)puVar1 == 0) { + pvVar8 = *(LPVOID *)local_630; + if (pvVar8 != (LPVOID)0x0) { + FUN_1400519b0((longlong)pvVar8,pTVar51,puVar37,pTVar61); + FUN_14003e8b0(pvVar8); + } + FUN_14003e8b0(puVar58); + } + } + if ((local_688 != (uint *)0x0) && + (*(longlong *)(local_688 + 2) = *(longlong *)(local_688 + 2) + -1, + *(longlong *)(local_688 + 2) == 0)) { + pvVar8 = *(LPVOID *)local_688; + if (pvVar8 != (LPVOID)0x0) { + FUN_1400519b0((longlong)pvVar8,pTVar51,puVar37,pTVar61); + FUN_14003e8b0(pvVar8); + } + FUN_14003e8b0(local_688); + } + uVar36 = FUN_140049e40(local_648); + return CONCAT71((int7)((ulonglong)uVar36 >> 8),1); + } + if (local_4f8 == (TypeDescriptor *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + pppuVar53 = local_4f8[1].pVFTable; + pTVar52 = local_5b0; + puVar37 = local_688; + local_660 = pppuVar53; + if (pppuVar53 != (undefined ***)(param_1 + 0xb8)) { + local_190 = local_68c; + local_18c = (*(code *)**pppuVar53)(pppuVar53); + local_188 = local_670; + pTVar44 = pTVar51; + if (local_688 != (uint *)0x0) { + pTVar44 = *(TypeDescriptor **)local_688; + } + pTVar61 = (TypeDescriptor *)0x1; + puVar37 = &local_190; + pTVar52 = (TypeDescriptor *)(ulonglong)*(uint *)&pTVar44[0xe].pVFTable; + local_180 = piVar63; + FUN_14004c860((longlong)&pTVar44[0xc].spare,*(uint *)&pTVar44[0xe].pVFTable,(longlong)puVar37, + 1); + bVar9 = true; + } + if ((local_658 != (undefined ***)(param_1 + 0xb8)) && (local_658 != pppuVar53)) { + local_1a8 = (*(code *)**pppuVar53)(pppuVar53); + local_1a4 = local_68c; + local_1a0 = local_670; + pTVar44 = pTVar51; + if (local_688 != (uint *)0x0) { + pTVar44 = *(TypeDescriptor **)local_688; + } + pTVar61 = (TypeDescriptor *)0x1; + puVar37 = &local_1a8; + pTVar52 = (TypeDescriptor *)(ulonglong)*(uint *)&pTVar44[0xe].pVFTable; + local_198 = piVar63; + FUN_14004c860((longlong)&pTVar44[0xc].spare,*(uint *)&pTVar44[0xe].pVFTable,(longlong)puVar37, + 1); + bVar9 = true; + } + bVar11 = false; + local_680.pVFTable = (TypeDescriptor *)0x0; + pppuVar45 = pppuVar53; + iVar31 = (*(code *)**pppuVar53)(); + pTVar44 = pTVar51; + bVar10 = false; + if ((iVar31 != 1) && + (pppuVar45 = local_658, iVar31 = (*(code *)**local_658)(), pppuVar28 = local_658, iVar31 != 1 + )) { + pppuVar62 = local_658 + -8; + pppuVar55 = (undefined ***)(local_668 + 0x2d8); + pTVar61 = (TypeDescriptor *)(ulonglong)*(uint *)(local_658 + 0xd7); + puVar37 = (uint *)(ulonglong)*(uint *)(pppuVar53 + 0xd7); + pppuVar45 = pppuVar55; + local_650 = pppuVar53 + -8; + local_608 = pppuVar62; + plVar38 = FUN_14005d550((longlong)pppuVar55,(longlong *)&local_5e0,*(uint *)(pppuVar53 + 0xd7) + ,*(uint *)(local_658 + 0xd7)); + pTVar52 = (TypeDescriptor *)0x0; + if (*plVar38 != 0) { + pTVar52 = (TypeDescriptor *)(*(longlong *)(*plVar38 + 8) + 1); + pppuVar45 = (undefined ***)*plVar38; + pppuVar45[1] = (undefined **)pTVar52; + pTVar44 = (TypeDescriptor *)*plVar38; + local_680.pVFTable = pTVar44; + bVar12 = bVar13; + bVar14 = bVar15; + bVar16 = bVar17; + bVar18 = bVar19; + bVar21 = bVar20; + bVar23 = bVar22; + bVar25 = bVar24; + } + if (local_5e0 != (undefined ***)0x0) { + local_5e0[1] = (undefined **)((longlong)local_5e0[1] + -1); + pppuVar45 = (undefined ***)local_5e0[1]; + pTVar44 = local_680.pVFTable; + bVar12 = bVar13; + bVar14 = bVar15; + bVar16 = bVar17; + bVar18 = bVar19; + bVar21 = bVar20; + bVar23 = bVar22; + bVar25 = bVar24; + if (pppuVar45 == (undefined ***)0x0) { + pppuVar45 = local_5e0; + FUN_14004e450(local_5e0); + pTVar44 = local_680.pVFTable; + } + } + if ((pTVar44 == (TypeDescriptor *)0x0) || (pTVar44->pVFTable == (void *)0x0)) { + uVar43 = (ulonglong)*(uint *)(pppuVar28 + 0xd7); + SVar57 = (SIZE_T)*(uint *)(pppuVar53 + 0xd7); + plVar38 = FUN_140062690((longlong)pppuVar55,(longlong *)&local_5d8, + *(uint *)(pppuVar53 + 0xd7),*(uint *)(pppuVar28 + 0xd7),'\x01'); + pTVar61 = (TypeDescriptor *)*plVar38; + if (pTVar61 != pTVar44) { + if (pTVar61 != (TypeDescriptor *)0x0) { + *(longlong *)(*plVar38 + 8) = (longlong)pTVar61->spare + 1; + pTVar44 = local_680.pVFTable; + bVar12 = bVar13; + bVar14 = bVar15; + bVar16 = bVar17; + bVar18 = bVar19; + bVar21 = bVar20; + bVar23 = bVar22; + bVar25 = bVar24; + } + pTVar61 = pTVar51; + if (pTVar44 != (TypeDescriptor *)0x0) { + ppvVar50 = &pTVar44->spare; + *ppvVar50 = (void *)((longlong)*ppvVar50 + -1); + bVar12 = bVar13; + bVar14 = bVar15; + bVar16 = bVar17; + bVar18 = bVar19; + bVar21 = bVar20; + bVar23 = bVar22; + bVar25 = bVar24; + if (*ppvVar50 == (void *)0x0) { + pTVar61 = local_680.pVFTable; + } + } + pTVar44 = (TypeDescriptor *)*plVar38; + local_680.pVFTable = pTVar44; + if (pTVar61 != (TypeDescriptor *)0x0) { + FUN_14004e450(&pTVar61->pVFTable); + } + } + if ((local_5d8 != (undefined8 *)0x0) && + (local_5d8[1] = local_5d8[1] + -1, pTVar44 = local_680.pVFTable, bVar12 = bVar13, + bVar14 = bVar15, bVar16 = bVar17, bVar18 = bVar19, bVar21 = bVar20, bVar23 = bVar22, + bVar25 = bVar24, local_5d8[1] == 0)) { + FUN_14004e450(local_5d8); + pTVar44 = local_680.pVFTable; + } + if (((pTVar44 == (TypeDescriptor *)0x0) || (pTVar44->pVFTable == (void *)0x0)) || + (DAT_14016f0e0 < (double)piVar63 - *(double *)((longlong)pTVar44->pVFTable + 400))) { + puVar39 = operator_new(0x1b0); + if (puVar39 == (undefined8 *)0x0) { +LAB_14006af3c: + local_610 = (TypeDescriptor *)0x0; + } + else { + SVar57 = CONCAT71((int7)(SVar57 >> 8), + *(int *)(pppuVar53 + 0xd7) == *(int *)(pppuVar28 + 0xd7)); + puVar39 = FUN_14004d350(puVar39,local_668, + *(int *)(pppuVar53 + 0xd7) == *(int *)(pppuVar28 + 0xd7)); + if (puVar39 == (undefined8 *)0x0) goto LAB_14006af3c; + local_610 = (TypeDescriptor *)FUN_14003e840(0x10); + local_610->spare = (void *)0x1; + local_610->pVFTable = puVar39; + } + pTVar61 = local_610; + if (local_610 != pTVar44) { + if (local_610 != (TypeDescriptor *)0x0) { + local_610->spare = (void *)((longlong)local_610->spare + 1); + pTVar44 = local_680.pVFTable; + bVar12 = bVar13; + bVar14 = bVar15; + bVar16 = bVar17; + bVar18 = bVar19; + bVar21 = bVar20; + bVar23 = bVar22; + bVar25 = bVar24; + } + pTVar52 = pTVar51; + if (pTVar44 != (TypeDescriptor *)0x0) { + ppvVar50 = &pTVar44->spare; + *ppvVar50 = (void *)((longlong)*ppvVar50 + -1); + bVar12 = bVar13; + bVar14 = bVar15; + bVar16 = bVar17; + bVar18 = bVar19; + bVar21 = bVar20; + bVar23 = bVar22; + bVar25 = bVar24; + if (*ppvVar50 == (void *)0x0) { + pTVar52 = local_680.pVFTable; + } + } + pTVar44 = pTVar61; + local_680.pVFTable = local_610; + if (pTVar52 != (TypeDescriptor *)0x0) { + FUN_14004e450(&pTVar52->pVFTable); + } + } + if (pTVar61 != (TypeDescriptor *)0x0) { + ppvVar50 = &pTVar61->spare; + *ppvVar50 = (void *)((longlong)*ppvVar50 + -1); + pTVar44 = local_680.pVFTable; + bVar12 = bVar13; + bVar14 = bVar15; + bVar16 = bVar17; + bVar18 = bVar19; + bVar21 = bVar20; + bVar23 = bVar22; + bVar25 = bVar24; + if (*ppvVar50 == (void *)0x0) { + FUN_14004e450(&local_610->pVFTable); + pTVar44 = local_680.pVFTable; + } + } + lVar47 = local_668; + uVar27 = DAT_14016f3d4; + uVar26 = DAT_14016f3d0; + pTVar61 = pTVar51; + if (pTVar44 != (TypeDescriptor *)0x0) { + pTVar61 = pTVar44->pVFTable; + } + if (*(char *)&pTVar61->spare != '\x01') { + *(undefined4 *)&pTVar61[1].pVFTable = 0; + *(undefined4 *)&pTVar61[2].pVFTable = uVar26; + *(undefined2 *)((longlong)&pTVar61[2].pVFTable + 4) = uVar27; + *(undefined4 *)&pTVar61[3].pVFTable = uVar26; + *(undefined2 *)((longlong)&pTVar61[3].pVFTable + 4) = uVar27; + *(undefined1 *)&pTVar61[3].spare = 0; + uVar27 = DAT_14016f3d4; + uVar26 = DAT_14016f3d0; + local_350 = Proud::AddrPort::vftable; + local_340 = Proud::AddrPort::vftable; + local_358 = 0; + local_330 = 0; + local_348 = DAT_14016f3d0; + local_344 = DAT_14016f3d4; + local_338 = DAT_14016f3d0; + local_334 = DAT_14016f3d4; + *(undefined4 *)&pTVar61[4].pVFTable = 0; + *(undefined4 *)&pTVar61[5].pVFTable = uVar26; + *(undefined2 *)((longlong)&pTVar61[5].pVFTable + 4) = uVar27; + *(undefined4 *)&pTVar61[6].pVFTable = uVar26; + *(undefined2 *)((longlong)&pTVar61[6].pVFTable + 4) = uVar27; + *(undefined1 *)&pTVar61[6].spare = 0; + *(undefined1 *)&pTVar61->spare = 1; + } + if (*(char *)(local_668 + 0x24d) == '\0') { + local_4a8 = 0; + local_4a0 = 0; + local_498 = 0; + local_490 = 0; + local_4b0 = Proud::ByteArray::vftable; + pTVar61 = pTVar51; + if (pTVar44 != (TypeDescriptor *)0x0) { + pTVar61 = pTVar44->pVFTable; + } + FUN_14004ed10((longlong)(pTVar61 + 0x12),(longlong)&local_4b0,SVar57); + FUN_140049e40(&local_4b0); + local_480 = 0; + local_478 = 0; + local_470 = 0; + local_468 = 0; + local_488 = Proud::ByteArray::vftable; + pTVar61 = pTVar51; + if (pTVar44 != (TypeDescriptor *)0x0) { + pTVar61 = pTVar44->pVFTable; + } + FUN_14004ed10((longlong)&pTVar61[0x14].spare,(longlong)&local_488,SVar57); + FUN_140049e40(&local_488); + } + else { + pTVar61 = pTVar51; + if (pTVar44 != (TypeDescriptor *)0x0) { + pTVar61 = pTVar44->pVFTable; + } + FUN_140095cc0((longlong)(pTVar61 + 0x12),*(int *)(local_668 + 0x244),SVar57,uVar43); + pTVar61 = pTVar51; + if (pTVar44 != (TypeDescriptor *)0x0) { + pTVar61 = pTVar44->pVFTable; + } + FUN_140095cc0((longlong)&pTVar61[0x14].spare,*(int *)(lVar47 + 0x248),SVar57,uVar43); + } + pTVar61 = pTVar51; + if (pTVar44 != (TypeDescriptor *)0x0) { + pTVar61 = pTVar44->pVFTable; + } + iVar31 = FUN_140097a10(lVar47 + 0xcd0); + *(int *)&pTVar61[0x17].pVFTable = iVar31; + pTVar61 = pTVar51; + if (pTVar44 != (TypeDescriptor *)0x0) { + pTVar61 = pTVar44->pVFTable; + } + puVar40 = FUN_1400487e0(lVar47 + 0xcd0,local_178); + *(undefined4 *)((longlong)&pTVar61[0x17].pVFTable + 4) = *puVar40; + *(undefined4 *)&pTVar61[0x17].spare = puVar40[1]; + *(undefined4 *)((longlong)&pTVar61[0x17].spare + 4) = puVar40[2]; + *(undefined4 *)&pTVar61[0x18].pVFTable = puVar40[3]; + bVar10 = false; + pppuVar55 = local_660; + } + else { + bVar10 = true; + bVar11 = true; + pppuVar55 = pppuVar53; + } + pTVar61 = pTVar51; + if (pTVar44 != (TypeDescriptor *)0x0) { + pTVar61 = pTVar44->pVFTable; + } + *(undefined4 *)((longlong)&pTVar61[0x11].pVFTable + 4) = 1; + local_640 = (TypeDescriptor *)0x0; + if (pTVar44 != (TypeDescriptor *)0x0) { + pTVar44->spare = (void *)((longlong)pTVar44->spare + 1); + local_640 = local_680.pVFTable; + bVar12 = bVar13; + bVar14 = bVar15; + bVar16 = bVar17; + bVar18 = bVar19; + bVar21 = bVar20; + bVar23 = bVar22; + bVar25 = bVar24; + } + pTVar44 = local_640; + FUN_140063fe0((char *)(local_668 + 0x2d8),(longlong)(pppuVar53 + -8),(longlong)pppuVar62, + (longlong *)&local_640); + uVar27 = DAT_14016f3d4; + uVar26 = DAT_14016f3d0; + pTVar61 = pTVar51; + if (pTVar44 != (TypeDescriptor *)0x0) { + pTVar61 = pTVar44->pVFTable; + } + uVar4 = *(undefined4 *)(pppuVar28 + 0xd7); + uVar5 = *(undefined4 *)(pppuVar53 + 0xd7); + local_380 = Proud::AddrPort::vftable; + local_370 = Proud::AddrPort::vftable; + local_388 = 0; + local_360 = 0; + local_378 = DAT_14016f3d0; + local_374 = DAT_14016f3d4; + local_368 = DAT_14016f3d0; + local_364 = DAT_14016f3d4; + *(undefined4 *)&pTVar61[2].pVFTable = DAT_14016f3d0; + *(undefined2 *)((longlong)&pTVar61[2].pVFTable + 4) = uVar27; + *(undefined4 *)&pTVar61[3].pVFTable = uVar26; + *(undefined2 *)((longlong)&pTVar61[3].pVFTable + 4) = uVar27; + *(undefined1 *)&pTVar61[3].spare = 0; + *(undefined1 *)&pTVar61[3].spare = 0; + *(undefined4 *)&pTVar61[1].pVFTable = uVar5; + uVar27 = DAT_14016f3d4; + uVar26 = DAT_14016f3d0; + local_3b0 = Proud::AddrPort::vftable; + local_3a0 = Proud::AddrPort::vftable; + local_3b8 = 0; + local_390 = 0; + local_3a8 = DAT_14016f3d0; + local_3a4 = DAT_14016f3d4; + local_398 = DAT_14016f3d0; + local_394 = DAT_14016f3d4; + *(undefined4 *)&pTVar61[5].pVFTable = DAT_14016f3d0; + *(undefined2 *)((longlong)&pTVar61[5].pVFTable + 4) = uVar27; + *(undefined4 *)&pTVar61[6].pVFTable = uVar26; + *(undefined2 *)((longlong)&pTVar61[6].pVFTable + 4) = uVar27; + *(undefined1 *)&pTVar61[6].spare = 0; + *(undefined1 *)&pTVar61[6].spare = 0; + *(undefined4 *)&pTVar61[4].pVFTable = uVar4; + *(undefined1 *)&pTVar61[0x1a].pVFTable = 1; + pTVar61 = pTVar51; + if (pTVar44 != (TypeDescriptor *)0x0) { + pTVar61 = pTVar44->pVFTable; + } + uVar43 = ((ulonglong)pTVar61 & 0xffffffff) % (ulonglong)*(uint *)(pppuVar53 + 0xd1); + if (pppuVar53[0xcd] != (undefined **)0x0) { + for (puVar39 = (undefined8 *)pppuVar53[0xcd][uVar43]; + (puVar39 != (undefined8 *)0x0 && + ((uint)uVar43 == *(uint *)(puVar39 + 4) % *(uint *)(pppuVar53 + 0xd1))); + puVar39 = (undefined8 *)puVar39[2]) { + pTVar61 = pTVar51; + if ((undefined8 *)*puVar39 != (undefined8 *)0x0) { + pTVar61 = *(TypeDescriptor **)*puVar39; + } + pTVar52 = pTVar51; + if (pTVar44 != (TypeDescriptor *)0x0) { + pTVar52 = pTVar44->pVFTable; + } + if (pTVar61 == pTVar52) goto LAB_14006b492; + } + } + plVar38 = FUN_1400628c0((char *)(pppuVar53 + 0xcc),(longlong *)&local_680); + *(undefined1 *)plVar38 = 0; +LAB_14006b492: + pTVar52 = pTVar51; + if (pTVar44 != (TypeDescriptor *)0x0) { + pTVar52 = pTVar44->pVFTable; + } + pTVar61 = (TypeDescriptor *)(ulonglong)*(uint *)(pppuVar28 + 0xd1); + puVar37 = (uint *)(((ulonglong)pTVar52 & 0xffffffff) % (ulonglong)pTVar61); + if (pppuVar28[0xcd] != (undefined **)0x0) { + for (pppuVar45 = (undefined ***)pppuVar28[0xcd][(longlong)puVar37]; + (pppuVar45 != (undefined ***)0x0 && + ((uint)puVar37 == *(uint *)(pppuVar45 + 4) % *(uint *)(pppuVar28 + 0xd1))); + pppuVar45 = (undefined ***)pppuVar45[2]) { + pTVar52 = pTVar51; + if (*pppuVar45 != (undefined **)0x0) { + pTVar52 = (TypeDescriptor *)**pppuVar45; + } + pTVar41 = pTVar51; + if (pTVar44 != (TypeDescriptor *)0x0) { + pTVar41 = pTVar44->pVFTable; + } + if (pTVar52 == pTVar41) goto LAB_14006b512; + } + } + pTVar52 = &local_680; + pppuVar45 = pppuVar28 + 0xcc; + plVar38 = FUN_1400628c0((char *)pppuVar45,(longlong *)pTVar52); + *(undefined1 *)plVar38 = 0; +LAB_14006b512: + param_1 = local_668; + pppuVar53 = pppuVar55; + if (*(longlong *)(local_668 + 0x17f0) != 0) { + FUN_14003e7c0(pppuVar45,pTVar52,puVar37,pTVar61); + local_5f8 = (uint *)PTR_DAT_14016f010; + uVar33 = (*(code *)**local_658)(); + uVar32 = (*(code *)**pppuVar55)(pppuVar55); + pTVar61 = (TypeDescriptor *)(ulonglong)uVar33; + FUN_140029b80((longlong *)&local_5f8,L"%d와 %d간의 P2P 쌍 준비",(ulonglong)uVar32, + pTVar61); + puVar58 = local_5f8; + puVar37 = local_5f8; + if (local_5f8 == (uint *)0x0) { + puVar37 = (uint *)PTR_DAT_14016f010; + } + pTVar52 = (TypeDescriptor *)0x1; + pppuVar45 = *(undefined ****)(param_1 + 0x17f0); + FUN_1400843d0((longlong)pppuVar45,1,(short *)puVar37,pTVar61); + if (((puVar58 != (uint *)0x0) && (puVar58 != (uint *)PTR_DAT_14016f010)) && + (puVar58 + -2 != (uint *)0x0)) { + pppuVar45 = (undefined ***)FUN_14003e7c0(pppuVar45,pTVar52,puVar37,pTVar61); + local_3e8 = pppuVar45; + FUN_14003d040((int *)pppuVar45); + local_3e0 = 1; + puVar1 = puVar58 + -1; + *puVar1 = *puVar1 - 1; + if (*puVar1 == 0) { + FUN_14003e8b0(puVar58 + -2); + } + FUN_14003d0d0((longlong)pppuVar45); + local_3e0 = 0; + pppuVar53 = local_660; + } + local_5f8 = (uint *)PTR_DAT_14016f010; + bVar10 = bVar11; + } + } + else { + piVar3 = (int *)((longlong)pTVar44->pVFTable + 0x114); + *piVar3 = *piVar3 + 1; + param_1 = local_668; + bVar10 = bVar11; + } + } + if (pppuVar53 != (undefined ***)(param_1 + 0xb8)) { + if (((bVar10) && (pTVar44 != (TypeDescriptor *)0x0)) && (pTVar44->pVFTable != (void *)0x0)) { + pvVar6 = pTVar44->pVFTable; + uVar33 = (*(code *)**pppuVar53)(pppuVar53); + puVar37 = (uint *)(ulonglong)uVar33; + FUN_14004a3c0((longlong)pvVar6,local_318,uVar33); + } + if (*(char *)(param_1 + 0x24d) == '\0') { + if ((pTVar44 == (TypeDescriptor *)0x0) || (pTVar44->pVFTable == (void *)0x0)) { + local_1c8 = 0; + local_1c4 = 0; + local_1c0 = 0; + local_1bc = 0; + local_650 = (undefined ***)&local_1c8; + } + else { + local_650 = (undefined ***)((longlong)pTVar44->pVFTable + 0x174); + } + if ((pTVar44 == (TypeDescriptor *)0x0) || (pTVar44->pVFTable == (void *)0x0)) { + local_618 = 0; + } + else { + local_618 = *(undefined4 *)((longlong)pTVar44->pVFTable + 0x170); + } + pTVar61 = pTVar51; + if (local_688 != (uint *)0x0) { + pTVar61 = *(TypeDescriptor **)local_688; + } + pppuVar45 = (undefined ***)(param_1 + 0x4a8); + ppuVar7 = *pppuVar45; + uVar33 = (*(code *)**local_660)(); + pTVar52 = (TypeDescriptor *)(ulonglong)uVar33; + puVar37 = (uint *)&DAT_140177f90; + (*(code *)ppuVar7[8])(); + pppuVar53 = local_660; + param_1 = local_668; + } + else { + if ((pTVar44 == (TypeDescriptor *)0x0) || (pTVar44->pVFTable == (void *)0x0)) { + local_1d8 = 0; + local_1d4 = 0; + local_1d0 = 0; + local_1cc = 0; + local_5c0 = &local_1d8; + } + else { + local_5c0 = (undefined4 *)((longlong)pTVar44->pVFTable + 0x174); + } + if ((pTVar44 == (TypeDescriptor *)0x0) || (pTVar44->pVFTable == (void *)0x0)) { + local_638 = 0; + } + else { + local_638 = *(undefined4 *)((longlong)pTVar44->pVFTable + 0x170); + } + if ((pTVar44 == (TypeDescriptor *)0x0) || + (pvVar6 = pTVar44->pVFTable, pvVar6 == (void *)0x0)) { + local_408 = 0; + local_400 = 0; + local_3f8 = 0; + local_3f0 = 0; + local_410 = Proud::ByteArray::vftable; + local_608 = &local_410; + bVar18 = true; + } + else { + local_530 = Proud::CFastArray::vftable; + puVar58 = puVar37; + if (DAT_14016f8a0 != 5) { + FUN_140049d30(); + puVar58 = puVar37; + } + local_528 = *(undefined8 *)((longlong)pvVar6 + 0x150); + local_50c = *(undefined4 *)((longlong)pvVar6 + 0x16c); + local_520 = (TypeDescriptor *)0x0; + local_518 = 0; + local_510 = 0; + iVar31 = *(int *)((longlong)pvVar6 + 0x160); + puVar37 = (uint *)(longlong)iVar31; + if (iVar31 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + FUN_14002a050((longlong)&local_530,iVar31,(SIZE_T)puVar58); + pTVar61 = pTVar51; + if (*(int *)((longlong)pvVar6 + 0x160) != 0) { + pTVar61 = *(TypeDescriptor **)((longlong)pvVar6 + 0x158); + } + pTVar52 = local_520; + if ((int)local_518 == 0) { + pTVar52 = pTVar51; + } + FUN_140006fb0(&pTVar52->pVFTable,&pTVar61->pVFTable,(size_t)puVar37); + local_530 = Proud::ByteArray::vftable; + local_608 = &local_530; + bVar12 = true; + } + if ((pTVar44 == (TypeDescriptor *)0x0) || + (pvVar6 = pTVar44->pVFTable, pvVar6 == (void *)0x0)) { + local_458 = 0; + local_450 = 0; + local_448 = 0; + local_440 = 0; + local_460 = Proud::ByteArray::vftable; + local_650 = &local_460; + bVar14 = true; + } + else { + local_580 = Proud::CFastArray::vftable; + if (DAT_14016f8a0 != 5) { + FUN_140049d30(); + } + local_578 = *(undefined8 *)((longlong)pvVar6 + 0x128); + local_55c = *(undefined4 *)((longlong)pvVar6 + 0x144); + local_570 = (TypeDescriptor *)0x0; + local_568 = 0; + local_560 = 0; + iVar31 = *(int *)((longlong)pvVar6 + 0x138); + if (iVar31 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + FUN_14002a050((longlong)&local_580,iVar31,(SIZE_T)puVar37); + pTVar61 = pTVar51; + if (*(int *)((longlong)pvVar6 + 0x138) != 0) { + pTVar61 = *(TypeDescriptor **)((longlong)pvVar6 + 0x130); + } + pTVar52 = local_570; + if ((int)local_568 == 0) { + pTVar52 = pTVar51; + } + FUN_140006fb0(&pTVar52->pVFTable,&pTVar61->pVFTable,(longlong)iVar31); + local_580 = Proud::ByteArray::vftable; + local_650 = &local_580; + bVar16 = true; + } + pTVar61 = pTVar51; + if (local_688 != (uint *)0x0) { + pTVar61 = *(TypeDescriptor **)local_688; + } + pppuVar45 = (undefined ***)(param_1 + 0x4a8); + ppuVar7 = *pppuVar45; + uVar33 = (*(code *)**local_660)(); + pTVar52 = (TypeDescriptor *)(ulonglong)uVar33; + puVar37 = (uint *)&DAT_140178050; + (*(code *)ppuVar7[6])(); + if (bVar14) { + bVar14 = false; + pppuVar45 = &local_460; + FUN_140049e40(pppuVar45); + } + if (bVar16) { + bVar16 = false; + pppuVar45 = &local_580; + FUN_140049e40(pppuVar45); + } + if (bVar18) { + bVar18 = false; + pppuVar45 = &local_410; + FUN_140049e40(pppuVar45); + } + pppuVar53 = local_660; + param_1 = local_668; + bVar13 = bVar12; + bVar15 = bVar14; + bVar17 = bVar16; + bVar19 = bVar18; + bVar20 = bVar21; + bVar22 = bVar23; + bVar24 = bVar25; + if (bVar12) { + bVar12 = false; + pppuVar45 = &local_530; + FUN_140049e40(pppuVar45); + pppuVar53 = local_660; + param_1 = local_668; + bVar13 = bVar12; + } + } + } + if ((pppuVar53 != local_658) && (puVar37 = (uint *)(ulonglong)local_68c, local_68c != 1)) { + if ((bVar11) && ((pTVar44 != (TypeDescriptor *)0x0 && (pTVar44->pVFTable != (void *)0x0)))) { + FUN_14004a3c0((longlong)pTVar44->pVFTable,local_308,local_68c); + } + if (*(char *)(param_1 + 0x24d) == '\0') { + if ((pTVar44 == (TypeDescriptor *)0x0) || (pTVar44->pVFTable == (void *)0x0)) { + local_1e8 = 0; + local_1e4 = 0; + local_1e0 = 0; + local_1dc = 0; + } + if ((pTVar44 == (TypeDescriptor *)0x0) || (pTVar44->pVFTable == (void *)0x0)) { + local_628 = 0; + } + else { + local_628 = *(undefined4 *)((longlong)pTVar44->pVFTable + 0x170); + } + local_5e8 = (*(code *)**pppuVar53)(pppuVar53); + pTVar61 = pTVar51; + if (local_688 != (uint *)0x0) { + pTVar61 = *(TypeDescriptor **)local_688; + } + pppuVar45 = (undefined ***)(param_1 + 0x4a8); + puVar37 = (uint *)&DAT_140177f90; + pTVar52 = (TypeDescriptor *)(ulonglong)local_68c; + (*(code *)(*pppuVar45)[8])(); + } + else { + if ((pTVar44 == (TypeDescriptor *)0x0) || (pTVar44->pVFTable == (void *)0x0)) { + local_1b8 = 0; + local_1b4 = 0; + local_1b0 = 0; + local_1ac = 0; + } + if ((pTVar44 == (TypeDescriptor *)0x0) || (pTVar44->pVFTable == (void *)0x0)) { + local_614 = 0; + } + else { + local_614 = *(undefined4 *)((longlong)pTVar44->pVFTable + 0x170); + } + if ((pTVar44 == (TypeDescriptor *)0x0) || + (pvVar6 = pTVar44->pVFTable, pvVar6 == (void *)0x0)) { + local_4d0 = 0; + local_4c8 = 0; + local_4c0 = 0; + local_4b8 = 0; + local_4d8 = Proud::ByteArray::vftable; + bVar22 = true; + bVar24 = bVar25; + } + else { + local_558 = Proud::CFastArray::vftable; + puVar58 = puVar37; + if (DAT_14016f8a0 != 5) { + FUN_140049d30(); + puVar58 = puVar37; + } + local_550 = *(undefined8 *)((longlong)pvVar6 + 0x150); + local_534 = *(undefined4 *)((longlong)pvVar6 + 0x16c); + local_548 = (TypeDescriptor *)0x0; + local_540 = 0; + local_538 = 0; + iVar31 = *(int *)((longlong)pvVar6 + 0x160); + puVar37 = (uint *)(longlong)iVar31; + if (iVar31 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + FUN_14002a050((longlong)&local_558,iVar31,(SIZE_T)puVar58); + pTVar61 = pTVar51; + if (*(int *)((longlong)pvVar6 + 0x160) != 0) { + pTVar61 = *(TypeDescriptor **)((longlong)pvVar6 + 0x158); + } + pTVar52 = local_548; + if ((int)local_540 == 0) { + pTVar52 = pTVar51; + } + FUN_140006fb0(&pTVar52->pVFTable,&pTVar61->pVFTable,(size_t)puVar37); + local_558 = Proud::ByteArray::vftable; + bVar22 = bVar23; + bVar24 = true; + } + if ((pTVar44 == (TypeDescriptor *)0x0) || + (pvVar6 = pTVar44->pVFTable, pvVar6 == (void *)0x0)) { + local_430 = 0; + local_428 = 0; + local_420 = 0; + local_418 = 0; + local_438 = Proud::ByteArray::vftable; + bVar20 = bVar21; + } + else { + local_5a8 = Proud::CFastArray::vftable; + if (DAT_14016f8a0 != 5) { + FUN_140049d30(); + } + local_5a0 = *(undefined8 *)((longlong)pvVar6 + 0x128); + local_584 = *(undefined4 *)((longlong)pvVar6 + 0x144); + local_598 = (TypeDescriptor *)0x0; + local_590 = 0; + local_588 = 0; + iVar31 = *(int *)((longlong)pvVar6 + 0x138); + if (iVar31 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + FUN_14002a050((longlong)&local_5a8,iVar31,(SIZE_T)puVar37); + pTVar61 = pTVar51; + if (*(int *)((longlong)pvVar6 + 0x138) != 0) { + pTVar61 = *(TypeDescriptor **)((longlong)pvVar6 + 0x130); + } + pTVar52 = local_598; + if ((int)local_590 == 0) { + pTVar52 = pTVar51; + } + FUN_140006fb0(&pTVar52->pVFTable,&pTVar61->pVFTable,(longlong)iVar31); + local_5a8 = Proud::ByteArray::vftable; + bVar20 = true; + } + local_5d0 = (*(code *)**local_660)(); + pTVar61 = pTVar51; + if (local_688 != (uint *)0x0) { + pTVar61 = *(TypeDescriptor **)local_688; + } + pppuVar45 = (undefined ***)(local_668 + 0x4a8); + puVar37 = (uint *)&DAT_140178050; + pTVar52 = (TypeDescriptor *)(ulonglong)local_68c; + (*(code *)(*pppuVar45)[6])(); + if (bVar20) { + bVar20 = false; + pppuVar45 = &local_5a8; + FUN_140049e40(pppuVar45); + } + if (bVar22) { + bVar22 = false; + pppuVar45 = &local_4d8; + FUN_140049e40(pppuVar45); + } + param_1 = local_668; + bVar13 = bVar12; + bVar15 = bVar14; + bVar17 = bVar16; + bVar19 = bVar18; + bVar21 = bVar20; + bVar23 = bVar22; + bVar25 = bVar24; + if (bVar24) { + bVar24 = false; + pppuVar45 = &local_558; + FUN_140049e40(pppuVar45); + param_1 = local_668; + bVar25 = bVar24; + } + } + } + if (((*(longlong *)(param_1 + 0x17f0) != 0) && (pTVar44 != (TypeDescriptor *)0x0)) && + (pTVar44->pVFTable != (void *)0x0)) { + FUN_14003e7c0(pppuVar45,pTVar52,puVar37,pTVar61); + local_5f0 = (short *)PTR_DAT_14016f010; + plVar38 = FUN_140045ec0((ulong *)((longlong)pTVar44->pVFTable + 0x174),(longlong *)&local_5c8, + puVar37,pTVar61); + puVar59 = (undefined *)*plVar38; + if ((undefined *)*plVar38 == (undefined *)0x0) { + puVar59 = PTR_DAT_14016f010; + } + ppsVar46 = &local_5f0; + FUN_140029b80((longlong *)ppsVar46,L"서버에서 발급한 magic number=%s\n",puVar59,pTVar61 + ); + puVar30 = local_5c8; + if (((local_5c8 != (undefined *)0x0) && (local_5c8 != PTR_DAT_14016f010)) && + (puVar2 = local_5c8 + -8, puVar2 != (undefined *)0x0)) { + piVar42 = (int *)FUN_14003e7c0(ppsVar46,PTR_DAT_14016f010,puVar59,pTVar61); + local_3d8 = piVar42; + FUN_14003d040(piVar42); + local_3d0 = 1; + piVar3 = (int *)(puVar30 + -4); + *piVar3 = *piVar3 + -1; + if (*piVar3 == 0) { + FUN_14003e8b0(puVar2); + } + FUN_14003d0d0((longlong)piVar42); + local_3d0 = 0; + } + psVar29 = local_5f0; + psVar60 = local_5f0; + if (local_5f0 == (short *)0x0) { + psVar60 = (short *)PTR_DAT_14016f010; + } + uVar36 = 1; + lVar47 = *(longlong *)(param_1 + 0x17f0); + local_5c8 = PTR_DAT_14016f010; + FUN_1400843d0(lVar47,1,psVar60,pTVar61); + if (((psVar29 != (short *)0x0) && (psVar29 != (short *)PTR_DAT_14016f010)) && + (psVar29 + -4 != (short *)0x0)) { + piVar42 = (int *)FUN_14003e7c0(lVar47,uVar36,psVar60,pTVar61); + local_508 = piVar42; + FUN_14003d040(piVar42); + local_500 = 1; + piVar3 = (int *)(psVar29 + -2); + *piVar3 = *piVar3 + -1; + if (*piVar3 == 0) { + FUN_14003e8b0(psVar29 + -4); + } + FUN_14003d0d0((longlong)piVar42); + local_500 = 0; + } + local_5f0 = (short *)PTR_DAT_14016f010; + } + if (pTVar44 != (TypeDescriptor *)0x0) { + ppvVar50 = &pTVar44->spare; + *ppvVar50 = (void *)((longlong)*ppvVar50 + -1); + bVar12 = bVar13; + bVar14 = bVar15; + bVar16 = bVar17; + bVar18 = bVar19; + bVar21 = bVar20; + bVar23 = bVar22; + bVar25 = bVar24; + if (*ppvVar50 == (void *)0x0) { + FUN_14004e450(local_680.pVFTable); + } + } + local_4f8 = pTVar51; + if (local_620 != (TypeDescriptor *)0x0) { + local_4f8 = local_620[1].spare; + } + } while( true ); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14006c330.c b/decomp/AgentManager_Release_x64/full/functions/0x14006c330.c new file mode 100644 index 00000000..38260e13 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14006c330.c @@ -0,0 +1,31 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14006c330 FUN_14006c330 + * Pseudocode, not original source. */ + +ulonglong FUN_14006c330(longlong param_1,uint param_2,SIZE_T param_3,undefined8 *param_4) + +{ + SIZE_T *pSVar1; + undefined4 uVar2; + int *piVar3; + ulonglong uVar4; + undefined **local_40 [5]; + + uVar4 = param_3 & 0xffffffff; + pSVar1 = (SIZE_T *)(param_1 + -0xa8); + piVar3 = (int *)(**(code **)(*pSVar1 + 0x58))(pSVar1); + FUN_14003d040(piVar3); + if (DAT_14017614f != '\0') { + param_3 = *pSVar1; + (**(code **)(param_3 + 200))(pSVar1,L"Proud::CNetServerImpl::JoinP2PGroup"); + } + *(int *)(param_1 + 0x16f0) = *(int *)(param_1 + 0x16f0) + 1; + uVar2 = *(undefined4 *)(param_1 + 0x16f0); + FUN_14004e000(local_40,(longlong)param_4,param_3); + local_40[0] = Proud::ByteArray::vftable; + uVar4 = FUN_14006a630((longlong)pSVar1,param_2,uVar4,local_40,uVar2); + FUN_14003d0d0((longlong)piVar3); + FUN_140049e40(param_4); + return uVar4 & 0xff; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14006c410.c b/decomp/AgentManager_Release_x64/full/functions/0x14006c410.c new file mode 100644 index 00000000..3308a553 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14006c410.c @@ -0,0 +1,178 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14006c410 FUN_14006c410 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_14006c410(longlong *param_1,wchar_t *param_2,LPCSTR param_3,undefined8 param_4) + +{ + int *piVar1; + longlong *plVar2; + longlong *plVar3; + ulonglong uVar4; + longlong lVar5; + wchar_t *pwVar6; + longlong **pplVar7; + undefined4 *puVar8; + LPCSTR pCVar9; + SIZE_T SVar10; + undefined4 uVar11; + undefined1 auStack_2b8 [32]; + longlong *local_298; + longlong *local_290; + undefined1 local_288; + undefined4 local_278 [2]; + ulonglong local_270; + undefined4 local_268; + longlong local_260 [2]; + undefined **local_250; + undefined8 local_248; + undefined8 local_240; + undefined8 local_238; + undefined8 local_230; + longlong local_228; + longlong local_220; + ulonglong local_218; + undefined4 local_208; + undefined **local_200; + undefined8 local_1f8; + undefined8 local_1f0; + undefined8 local_1e8; + undefined8 local_1e0; + undefined **local_1d0; + undefined4 local_1c8; + undefined2 local_1c4; + undefined **local_1b8; + undefined8 local_1b0; + undefined8 local_1a8; + undefined8 local_1a0; + undefined8 local_198; + int *local_188; + undefined1 local_180; + undefined8 local_178; + short *local_168; + short local_160 [132]; + ulonglong local_58; + + uVar11 = (undefined4)param_4; + local_178 = 0xfffffffffffffffe; + local_58 = DAT_14016f5a0 ^ (ulonglong)auStack_2b8; + pwVar6 = param_2; + pCVar9 = param_3; + piVar1 = (int *)(**(code **)(*param_1 + 0x58))(); + local_188 = piVar1; + FUN_14003d040(piVar1); + local_180 = 1; + if (DAT_14017614f != '\0') { + pCVar9 = (LPCSTR)*param_1; + pwVar6 = L"Proud::CNetServerImpl::EnqueueHackSuspectEvent"; + (**(code **)(pCVar9 + 200))(param_1); + } + if (param_1[0xeb] != 0) { + plVar3 = (longlong *)0x0; + local_270 = 0; + local_260[0] = 0; + local_260[1] = 0; + local_248 = 0; + local_240 = 0; + local_238 = 0; + local_230 = 0; + local_250 = Proud::ByteArray::vftable; + local_218 = 0; + local_220 = 0; + local_228 = 0; + local_1f8 = 0; + local_1f0 = 0; + local_1e8 = 0; + local_1e0 = 0; + local_200 = Proud::ByteArray::vftable; + local_1d0 = Proud::AddrPort::vftable; + local_1c8 = 0; + local_1c4 = 0; + local_1b0 = 0; + local_1a8 = 0; + local_1a0 = 0; + local_198 = 0; + local_1b8 = Proud::ByteArray::vftable; + local_298 = (longlong *)FUN_14003e840(0x60); + plVar2 = plVar3; + if (local_298 != (longlong *)0x0) { + plVar2 = FUN_140071b80(local_298,pwVar6,pCVar9,param_4); + } + if (plVar2 == (longlong *)0x0) { + local_298 = (longlong *)0x0; + } + else { + plVar3 = (longlong *)FUN_14003e840(0x48); + local_290 = plVar3; + if (plVar3 != (longlong *)0x0) { + local_298 = plVar3; + uVar4 = FUN_140094860(); + pCVar9 = (LPCSTR)CONCAT71((int7)((ulonglong)pCVar9 >> 8),1); + FUN_14003cf60((undefined4 *)plVar3,uVar4 & 0xffffffff,pCVar9,param_4); + } + local_298 = plVar3; + FUN_14003d040((int *)plVar3); + plVar3[8] = 1; + plVar3[7] = (longlong)plVar2; + FUN_14003d0d0((longlong)plVar3); + } + pplVar7 = &local_298; + FUN_14005d770(&local_270,(ulonglong *)pplVar7,pCVar9,param_4); + if (plVar3 != (longlong *)0x0) { + local_290 = plVar3; + FUN_14003d040((int *)plVar3); + local_288 = 1; + plVar2 = plVar3 + 8; + *plVar2 = *plVar2 + -1; + if (*plVar2 == 0) { + FUN_14003d0d0((longlong)plVar3); + local_288 = 0; + FUN_140038210((undefined4 *)plVar3,pplVar7,pCVar9,param_4); + } + else { + FUN_14003d0d0((longlong)plVar3); + } + } + if (param_2 == (wchar_t *)0x0) { + local_208 = 0; + } + else { + local_208 = *(undefined4 *)(param_2 + 0x37c); + } + local_278[0] = 0xf; + local_168 = local_160; + SVar10 = 3; + local_268 = uVar11; + FUN_140005110((longlong *)&local_168,param_3,3); + lVar5 = 0; + if (local_270 != 0) { + lVar5 = *(longlong *)(local_270 + 0x38); + } + FUN_140005dd0((longlong *)(lVar5 + 0x10),local_168,SVar10,param_4); + if (local_168 != local_160) { + free(local_168); + } + puVar8 = local_278; + FUN_1400691b0((longlong)param_1,puVar8,SVar10,param_4); + FUN_140049e40(&local_1b8); + FUN_140049e40(&local_200); + local_290 = &local_228; + FUN_14008a320(&local_228); + if (local_220 != 0) { + if ((longlong)local_218 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_218 = local_218 & 0xffffffff00000000; + } + FUN_140049e40(&local_250); + FUN_1400641e0(local_260 + 1,puVar8,SVar10,param_4); + FUN_140064160(local_260,puVar8,SVar10,param_4); + FUN_140038280((longlong *)&local_270,puVar8,SVar10,param_4); + } + FUN_14003d0d0((longlong)piVar1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14006c700.c b/decomp/AgentManager_Release_x64/full/functions/0x14006c700.c new file mode 100644 index 00000000..261e49dd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14006c700.c @@ -0,0 +1,95 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14006c700 FUN_14006c700 + * Pseudocode, not original source. */ + +void FUN_14006c700(SIZE_T *param_1,undefined4 param_2,SIZE_T param_3,undefined8 param_4) + +{ + int *piVar1; + undefined4 *puVar2; + undefined4 local_128 [2]; + longlong local_120 [2]; + longlong local_110 [2]; + undefined **local_100; + undefined8 local_f8; + undefined8 local_f0; + undefined8 local_e8; + undefined8 local_e0; + longlong local_d8; + longlong local_d0; + ulonglong local_c8; + undefined4 local_b8; + undefined **local_b0; + undefined8 local_a8; + undefined8 local_a0; + undefined8 local_98; + undefined8 local_90; + undefined **local_80; + undefined4 local_78; + undefined2 local_74; + undefined **local_68; + undefined8 local_60; + undefined8 local_58; + undefined8 local_50; + undefined8 local_48; + int *local_38; + undefined1 local_30; + undefined8 local_28; + + local_28 = 0xfffffffffffffffe; + piVar1 = (int *)(**(code **)(*param_1 + 0x58))(); + local_38 = piVar1; + FUN_14003d040(piVar1); + local_30 = 1; + if (DAT_14017614f != '\0') { + param_3 = *param_1; + (**(code **)(param_3 + 200))(param_1,L"Proud::CNetServerImpl::EnqueueP2PGroupRemoveEvent"); + } + if (param_1[0xeb] != 0) { + local_120[0] = 0; + local_110[0] = 0; + local_110[1] = 0; + local_f8 = 0; + local_f0 = 0; + local_e8 = 0; + local_e0 = 0; + local_100 = Proud::ByteArray::vftable; + local_c8 = 0; + local_d0 = 0; + local_d8 = 0; + local_a8 = 0; + local_a0 = 0; + local_98 = 0; + local_90 = 0; + local_b0 = Proud::ByteArray::vftable; + local_80 = Proud::AddrPort::vftable; + local_78 = 0; + local_74 = 0; + local_60 = 0; + local_58 = 0; + local_50 = 0; + local_48 = 0; + local_68 = Proud::ByteArray::vftable; + local_128[0] = 0x11; + puVar2 = local_128; + local_b8 = param_2; + FUN_1400691b0((longlong)param_1,puVar2,param_3,param_4); + FUN_140049e40(&local_68); + FUN_140049e40(&local_b0); + FUN_14008a320(&local_d8); + if (local_d0 != 0) { + if ((longlong)local_c8 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_c8 = local_c8 & 0xffffffff00000000; + } + FUN_140049e40(&local_100); + FUN_1400641e0(local_110 + 1,puVar2,param_3,param_4); + FUN_140064160(local_110,puVar2,param_3,param_4); + FUN_140038280(local_120,puVar2,param_3,param_4); + } + FUN_14003d0d0((longlong)piVar1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14006c890.c b/decomp/AgentManager_Release_x64/full/functions/0x14006c890.c new file mode 100644 index 00000000..1f099422 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14006c890.c @@ -0,0 +1,155 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14006c890 FUN_14006c890 + * Pseudocode, not original source. */ + +void FUN_14006c890(SIZE_T *param_1,wchar_t *param_2,SIZE_T param_3,undefined8 param_4) + +{ + int *piVar1; + longlong *plVar2; + longlong *plVar3; + ulonglong uVar4; + longlong *plVar5; + wchar_t *pwVar6; + longlong **pplVar7; + longlong *local_res8; + wchar_t *local_res10; + longlong *local_res18; + wchar_t local_158 [4]; + ulonglong local_150 [2]; + longlong local_140 [2]; + undefined **local_130; + undefined8 local_128; + undefined8 local_120; + undefined8 local_118; + undefined8 local_110; + longlong local_108; + longlong local_100; + ulonglong local_f8; + undefined **local_e0; + undefined8 local_d8; + undefined8 local_d0; + undefined8 local_c8; + undefined8 local_c0; + undefined **local_b0; + undefined4 local_a8; + undefined2 local_a4; + undefined **local_98; + undefined8 local_90; + undefined8 local_88; + undefined8 local_80; + undefined8 local_78; + longlong *local_68; + undefined1 local_60; + int *local_58; + undefined1 local_50; + undefined8 local_48; + + local_48 = 0xfffffffffffffffe; + pwVar6 = param_2; + local_res10 = param_2; + piVar1 = (int *)(**(code **)(*param_1 + 0x58))(); + local_58 = piVar1; + FUN_14003d040(piVar1); + local_50 = 1; + if (DAT_14017614f != '\0') { + param_3 = *param_1; + pwVar6 = L"Proud::CNetServerImpl::EnqueueUnitTestFailEvent"; + (**(code **)(param_3 + 200))(param_1); + } + if (param_1[0xeb] != 0) { + plVar5 = (longlong *)0x0; + local_150[0] = 0; + local_140[0] = 0; + local_140[1] = 0; + local_128 = 0; + local_120 = 0; + local_118 = 0; + local_110 = 0; + local_130 = Proud::ByteArray::vftable; + local_f8 = 0; + local_100 = 0; + local_108 = 0; + local_d8 = 0; + local_d0 = 0; + local_c8 = 0; + local_c0 = 0; + local_e0 = Proud::ByteArray::vftable; + local_b0 = Proud::AddrPort::vftable; + local_a8 = 0; + local_a4 = 0; + local_90 = 0; + local_88 = 0; + local_80 = 0; + local_78 = 0; + local_98 = Proud::ByteArray::vftable; + local_res8 = (longlong *)FUN_14003e840(0x60); + plVar2 = plVar5; + if (local_res8 != (longlong *)0x0) { + plVar2 = FUN_140071b80(local_res8,pwVar6,param_3,param_4); + } + if (plVar2 == (longlong *)0x0) { + local_res8 = (longlong *)0x0; + plVar3 = plVar5; + } + else { + plVar3 = (longlong *)FUN_14003e840(0x48); + local_res18 = plVar3; + if (plVar3 != (longlong *)0x0) { + local_res8 = plVar3; + uVar4 = FUN_140094860(); + param_3 = CONCAT71((int7)(param_3 >> 8),1); + FUN_14003cf60((undefined4 *)plVar3,uVar4 & 0xffffffff,param_3,param_4); + } + local_res8 = plVar3; + FUN_14003d040((int *)plVar3); + plVar3[8] = 1; + plVar3[7] = (longlong)plVar2; + FUN_14003d0d0((longlong)plVar3); + } + pplVar7 = &local_res8; + FUN_14005d770(local_150,(ulonglong *)pplVar7,param_3,param_4); + if (plVar3 != (longlong *)0x0) { + local_68 = plVar3; + FUN_14003d040((int *)plVar3); + local_60 = 1; + plVar2 = plVar3 + 8; + *plVar2 = *plVar2 + -1; + if (*plVar2 == 0) { + FUN_14003d0d0((longlong)plVar3); + local_60 = 0; + FUN_140038210((undefined4 *)plVar3,pplVar7,param_3,param_4); + } + else { + FUN_14003d0d0((longlong)plVar3); + } + } + local_158[0] = L'\x13'; + local_158[1] = L'\0'; + if (local_150[0] != 0) { + plVar5 = *(longlong **)(local_150[0] + 0x38); + } + FUN_1400020c0(plVar5 + 2,(longlong *)param_2,param_3,param_4); + pwVar6 = local_158; + FUN_1400691b0((longlong)param_1,(undefined4 *)pwVar6,param_3,param_4); + FUN_140049e40(&local_98); + FUN_140049e40(&local_e0); + local_res8 = &local_108; + FUN_14008a320(&local_108); + if (local_100 != 0) { + if ((longlong)local_f8 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_f8 = local_f8 & 0xffffffff00000000; + } + FUN_140049e40(&local_130); + FUN_1400641e0(local_140 + 1,pwVar6,param_3,param_4); + FUN_140064160(local_140,pwVar6,param_3,param_4); + FUN_140038280((longlong *)local_150,pwVar6,param_3,param_4); + } + FUN_14003d0d0((longlong)piVar1); + FUN_140002190((longlong *)param_2,pwVar6,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14006cb20.c b/decomp/AgentManager_Release_x64/full/functions/0x14006cb20.c new file mode 100644 index 00000000..5b60558d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14006cb20.c @@ -0,0 +1,247 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14006cb20 FUN_14006cb20 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x00014006cc97) */ +/* WARNING: Removing unreachable block (ram,0x00014006cca3) */ +/* WARNING: Removing unreachable block (ram,0x00014006ccb0) */ +/* WARNING: Removing unreachable block (ram,0x00014006cca8) */ +/* WARNING: Removing unreachable block (ram,0x00014006ccb6) */ +/* WARNING: Removing unreachable block (ram,0x00014006ccc7) */ +/* WARNING: Removing unreachable block (ram,0x00014006cc26) */ +/* WARNING: Removing unreachable block (ram,0x00014006cc32) */ +/* WARNING: Removing unreachable block (ram,0x00014006cc3e) */ +/* WARNING: Removing unreachable block (ram,0x00014006cc36) */ +/* WARNING: Removing unreachable block (ram,0x00014006cc44) */ +/* WARNING: Removing unreachable block (ram,0x00014006cc55) */ +/* WARNING: Removing unreachable block (ram,0x00014006cbbb) */ +/* WARNING: Removing unreachable block (ram,0x00014006cbc7) */ +/* WARNING: Removing unreachable block (ram,0x00014006cbd3) */ +/* WARNING: Removing unreachable block (ram,0x00014006cbcb) */ +/* WARNING: Removing unreachable block (ram,0x00014006cbd9) */ +/* WARNING: Removing unreachable block (ram,0x00014006cbea) */ +/* WARNING: Removing unreachable block (ram,0x00014006cbb4) */ +/* WARNING: Removing unreachable block (ram,0x00014006cc1f) */ +/* WARNING: Removing unreachable block (ram,0x00014006cc90) */ +/* WARNING: Removing unreachable block (ram,0x00014006cd49) */ +/* WARNING: Removing unreachable block (ram,0x00014006cd50) */ +/* WARNING: Removing unreachable block (ram,0x00014006cd60) */ +/* WARNING: Removing unreachable block (ram,0x00014006cd6c) */ +/* WARNING: Removing unreachable block (ram,0x00014006cd64) */ +/* WARNING: Removing unreachable block (ram,0x00014006cd72) */ +/* WARNING: Removing unreachable block (ram,0x00014006cd83) */ + +void FUN_14006cb20(SIZE_T *param_1,undefined8 param_2,undefined ***param_3,longlong param_4) + +{ + undefined *puVar1; + undefined ***pppuVar2; + int iVar3; + int iVar4; + undefined ***pppuVar5; + LPVOID pvVar6; + undefined ***pppuVar7; + short *psVar8; + uint uVar9; + int iVar10; + ulonglong uVar11; + longlong lVar12; + longlong lVar13; + undefined ***pppuVar14; + LPVOID pvVar15; + undefined ***pppuVar16; + int iVar17; + short *local_res10; + undefined **local_90; + longlong *local_88; + undefined ***local_80; + undefined8 local_78; + undefined8 local_70; + undefined **local_68; + longlong *local_60; + LPVOID local_58; + uint local_50; + undefined8 local_4c; + undefined4 local_44; + + local_90 = Proud::CFastArray::vftable; + pppuVar14 = (undefined ***)0x0; + local_88 = (longlong *)0x0; + local_80 = (undefined ***)0x0; + local_78 = 0; + local_70 = 0; + FUN_140038010((longlong)&local_90,1,param_3,param_4); + lVar12 = (longlong)(int)local_78; + pppuVar16 = local_80; + if ((int)local_78 == 0) { + pppuVar16 = pppuVar14; + } + *(int *)pppuVar16 = 5; + if ((int)local_78 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + FUN_140038010((longlong)&local_90,(int)local_78 + 1,param_3,param_4); + lVar13 = (longlong)(int)local_78; + pppuVar16 = local_80; + if ((int)local_78 == 0) { + pppuVar16 = pppuVar14; + } + *(int *)((longlong)pppuVar16 + lVar12 * 4) = 1; + if ((int)local_78 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + FUN_140038010((longlong)&local_90,(int)local_78 + 1,param_3,(longlong)pppuVar16); + lVar12 = (longlong)(int)local_78; + pppuVar16 = local_80; + if ((int)local_78 == 0) { + pppuVar16 = pppuVar14; + } + *(int *)((longlong)pppuVar16 + lVar13 * 4) = 2; + if ((int)local_78 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + uVar11 = (ulonglong)((int)local_78 + 1U); + pppuVar7 = &local_90; + FUN_140038010((longlong)pppuVar7,(int)local_78 + 1U,param_3,(longlong)pppuVar16); + pppuVar2 = local_80; + iVar10 = (int)local_78; + pppuVar5 = local_80; + if ((int)local_78 == 0) { + pppuVar5 = pppuVar14; + } + *(int *)((longlong)pppuVar5 + lVar12 * 4) = 4; + local_68 = Proud::CFastArray::vftable; + local_60 = (longlong *)0x0; + local_44 = 0; + local_58 = (LPVOID)0x0; + local_50 = 0; + local_4c = 0; + pppuVar5 = pppuVar14; + while( true ) { + pvVar6 = local_58; + iVar3 = (int)pppuVar5; + iVar17 = (int)pppuVar14; + if (iVar3 == iVar10) break; + if ((iVar3 < 0) || (iVar10 <= iVar3)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(pppuVar7,uVar11,param_3,pppuVar16); + } + iVar4 = *(int *)((longlong)pppuVar2 + (longlong)iVar3 * 4); + if (iVar17 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + uVar11 = (ulonglong)(iVar17 + 1U); + FUN_140038010((longlong)&local_68,iVar17 + 1U,param_3,(longlong)pppuVar16); + pppuVar16 = (undefined ***)(longlong)iVar17; + pppuVar14 = (undefined ***)(ulonglong)local_50; + pppuVar7 = (undefined ***)0x0; + pvVar6 = local_58; + if (local_50 == 0) { + pvVar6 = (LPVOID)0x0; + } + *(int *)((longlong)pvVar6 + (longlong)pppuVar16 * 4) = iVar4; + pppuVar5 = (undefined ***)(ulonglong)(iVar3 + 1); + } + if (iVar10 == iVar17) { + pppuVar7 = pppuVar2; + if (iVar10 == 0) { + pppuVar7 = (undefined ***)0x0; + } + pvVar15 = local_58; + if (iVar17 == 0) { + pvVar15 = (LPVOID)0x0; + } + uVar11 = 0; + if (0 < iVar17) { + param_3 = (undefined ***)((longlong)pvVar15 - (longlong)pppuVar7); + do { + if (*(int *)pppuVar7 != *(int *)((longlong)param_3 + (longlong)pppuVar7)) + goto LAB_14006cdfa; + uVar9 = (int)uVar11 + 1; + uVar11 = (ulonglong)uVar9; + pppuVar7 = (undefined ***)((longlong)pppuVar7 + 4); + } while ((int)uVar9 < iVar17); + } + goto LAB_14006cf0d; + } +LAB_14006cdfa: + FUN_14003e7c0(pppuVar7,uVar11,param_3,pppuVar16); + local_res10 = (short *)PTR_DAT_14016f010; + iVar3 = FUN_14003e620(L"CFastArray iterator failed!"); + iVar17 = 0; + iVar10 = iVar17; + if ((local_res10 != (short *)0x0) && (local_res10 != (short *)PTR_DAT_14016f010)) { + iVar10 = *(int *)(local_res10 + -4); + } + iVar4 = iVar3; + if (((iVar3 <= iVar10) && (iVar4 = iVar17, local_res10 != (short *)0x0)) && + (local_res10 != (short *)PTR_DAT_14016f010)) { + iVar4 = *(int *)(local_res10 + -4); + } + iVar10 = 1; + if (1 < iVar4) { + iVar10 = iVar4; + } + iVar4 = iVar17; + if ((local_res10 != (short *)0x0) && (local_res10 != (short *)PTR_DAT_14016f010)) { + iVar4 = *(int *)(local_res10 + -4); + } + if (iVar4 < iVar10) { + FUN_140001d10((longlong *)&local_res10,iVar10); + } + FUN_140001df0((longlong *)&local_res10); + psVar8 = local_res10; + if (local_res10 == (short *)0x0) { + psVar8 = (short *)PTR_DAT_14016f010; + } + FUN_14003e650(psVar8,L"CFastArray iterator failed!",iVar3); + psVar8 = local_res10; + if (local_res10 == (short *)0x0) { + psVar8 = (short *)PTR_DAT_14016f010; + } + iVar3 = FUN_14003e620(psVar8); + puVar1 = PTR_DAT_14016f010; + iVar10 = 0; + if (0 < iVar3) { + iVar10 = iVar3; + } + if ((local_res10 != (short *)0x0) && (local_res10 != (short *)PTR_DAT_14016f010)) { + iVar17 = *(int *)(local_res10 + -4); + } + if ((iVar10 < iVar17) || (iVar10 = 0, local_res10 == (short *)0x0)) { +LAB_14006cee1: + if (((local_res10 != (short *)PTR_DAT_14016f010) && (local_res10 != (short *)0x0)) && + ((int *)(local_res10 + -4) != (int *)0x0)) { + *(int *)(local_res10 + -4) = iVar10; + local_res10[iVar10] = 0; + } + } + else if (local_res10 != (short *)PTR_DAT_14016f010) { + iVar10 = *(int *)(local_res10 + -4); + goto LAB_14006cee1; + } + FUN_14006c890(param_1,(wchar_t *)&local_res10,(SIZE_T)puVar1,pppuVar16); +LAB_14006cf0d: + if (pvVar6 != (LPVOID)0x0) { + if (local_60 == (longlong *)0x0) { + FUN_14003e8b0(pvVar6); + } + else { + (**(code **)(*local_60 + 0x18))(local_60,pvVar6); + } + } + if (pppuVar2 != (undefined ***)0x0) { + if (local_88 == (longlong *)0x0) { + FUN_14003e8b0(pppuVar2); + } + else { + (**(code **)(*local_88 + 0x18))(local_88,pppuVar2); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14006cf80.c b/decomp/AgentManager_Release_x64/full/functions/0x14006cf80.c new file mode 100644 index 00000000..9faf9700 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14006cf80.c @@ -0,0 +1,236 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14006cf80 FUN_14006cf80 + * Pseudocode, not original source. */ + +void FUN_14006cf80(SIZE_T *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + int iVar1; + int iVar2; + uint uVar3; + byte *pbVar4; + undefined *puVar5; + longlong *plVar6; + int *piVar7; + ulonglong uVar8; + byte *pbVar9; + int iVar10; + undefined *puVar11; + byte *local_res10; + byte *local_res18; + longlong *local_res20; + uint local_50 [2]; + longlong local_48; + longlong local_40; + undefined4 local_38; + int local_34; + + FUN_14003e7c0(param_1,param_2,param_3,param_4); + local_res10 = PTR_DAT_14016f008; + iVar1 = FUN_14003e6e0(&DAT_14010ea38); + if (local_res10 == (byte *)0x0) { + iVar10 = 0; + } + else if (local_res10 == PTR_DAT_14016f008) { + iVar10 = 0; + } + else { + iVar10 = *(int *)(local_res10 + -8); + } + iVar2 = iVar1; + if (iVar1 <= iVar10) { + if (local_res10 == (byte *)0x0) { + iVar2 = 0; + } + else if (local_res10 == PTR_DAT_14016f008) { + iVar2 = 0; + } + else { + iVar2 = *(int *)(local_res10 + -8); + } + } + iVar10 = 1; + if (1 < iVar2) { + iVar10 = iVar2; + } + if (local_res10 == (byte *)0x0) { + iVar2 = 0; + } + else if (local_res10 == PTR_DAT_14016f008) { + iVar2 = 0; + } + else { + iVar2 = *(int *)(local_res10 + -8); + } + if (iVar10 <= iVar2) goto LAB_14006d0da; + if (local_res10 == (byte *)0x0) { + local_res10 = PTR_DAT_14016f008; + } + if (iVar10 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (iVar10 == 0) { + FUN_140006e80((longlong *)&local_res10); + goto LAB_14006d0da; + } + if (local_res10 == (byte *)0x0) { + iVar2 = 0; + } + else if (local_res10 == PTR_DAT_14016f008) { + iVar2 = 0; + } + else { + iVar2 = *(int *)(local_res10 + -8); + } + if (iVar10 == iVar2) goto LAB_14006d0da; + piVar7 = (int *)FUN_14003e840((longlong)iVar10 + 9); + if (piVar7 != (int *)0x0) { + *piVar7 = 0; + piVar7[1] = 1; + } + *piVar7 = iVar10; + if (local_res10 == (byte *)0x0) { + iVar2 = 0; + } + else if (local_res10 == PTR_DAT_14016f008) { + iVar2 = 0; + } + else { + iVar2 = *(int *)(local_res10 + -8); + } + pbVar4 = PTR_DAT_14016f008; + if (iVar10 < iVar2) { +LAB_14006d0b6: + if (local_res10 != (byte *)0x0) { + pbVar4 = local_res10; + } + } + else { + if (local_res10 != (byte *)0x0) { + if (local_res10 == PTR_DAT_14016f008) { + iVar10 = 0; + } + else { + iVar10 = *(int *)(local_res10 + -8); + } + goto LAB_14006d0b6; + } + iVar10 = 0; + } + FUN_14003e710(piVar7 + 2,pbVar4,iVar10); + FUN_140006e80((longlong *)&local_res10); + local_res10 = (byte *)(piVar7 + 2); +LAB_14006d0da: + FUN_14003d4c0((longlong *)&local_res10); + pbVar4 = local_res10; + if (local_res10 == (byte *)0x0) { + pbVar4 = PTR_DAT_14016f008; + } + FUN_14003e710(pbVar4,&DAT_14010ea38,iVar1); + pbVar4 = local_res10; + if (local_res10 == (byte *)0x0) { + pbVar4 = PTR_DAT_14016f008; + } + uVar3 = FUN_14003e6e0((char *)pbVar4); + puVar11 = PTR_DAT_14016f008; + uVar8 = 0; + if (0 < (int)uVar3) { + uVar8 = (ulonglong)uVar3; + } + if (local_res10 == (byte *)0x0) { + pbVar4 = (byte *)0x0; + } + else if (local_res10 == PTR_DAT_14016f008) { + pbVar4 = (byte *)0x0; + } + else { + pbVar4 = (byte *)(ulonglong)*(uint *)(local_res10 + -8); + } + if ((int)pbVar4 <= (int)uVar8) { + if (local_res10 == (byte *)0x0) { + uVar8 = 0; + } + else if (local_res10 == PTR_DAT_14016f008) { + uVar8 = 0; + } + else { + uVar8 = (ulonglong)*(uint *)(local_res10 + -8); + } + } + if (((local_res10 != PTR_DAT_14016f008) && (local_res10 != (byte *)0x0)) && + (pbVar4 = local_res10 + -8, pbVar4 != (byte *)0x0)) { + *(int *)pbVar4 = (int)uVar8; + pbVar4[(longlong)(int)uVar8 + 8] = 0; + } + FUN_14003e7c0(uVar8,pbVar4,puVar11,param_4); + local_res18 = PTR_DAT_14016f008; + FUN_140074fb0(local_50); + FUN_140074a40((longlong)local_50,pbVar4,(SIZE_T)puVar11,param_4); + FUN_140076740((longlong)local_50,(longlong *)&local_res10,puVar11,param_4); + FUN_140074bb0((int *)local_50,0,puVar11,param_4); + thunk_FUN_140075cc0(local_50,(LPCWSTR)&local_res18,puVar11,param_4); + pbVar4 = local_res10; + if (local_res10 == (byte *)0x0) { + pbVar4 = PTR_DAT_14016f008; + } + puVar11 = PTR_DAT_14016f008; + if (pbVar4 != local_res18) { + pbVar4 = local_res18; + if (local_res18 == (byte *)0x0) { + pbVar4 = PTR_DAT_14016f008; + } + pbVar9 = local_res10; + if (local_res10 == (byte *)0x0) { + pbVar9 = PTR_DAT_14016f008; + } + iVar1 = FUN_14003e740(pbVar9,(longlong)pbVar4); + if (iVar1 != 0) { + FUN_14003e7c0(pbVar9,pbVar4,puVar11,param_4); + local_res20 = (longlong *)PTR_DAT_14016f010; + uVar3 = FUN_14003e620(L"Proud.StringA serialization failed!"); + puVar5 = FUN_140001ee0((longlong *)&local_res20,uVar3); + puVar11 = (undefined *)(ulonglong)uVar3; + FUN_14003e650(puVar5,L"Proud.StringA serialization failed!",uVar3); + FUN_140001fc0((longlong *)&local_res20); + FUN_14006c890(param_1,(wchar_t *)&local_res20,(SIZE_T)puVar11,param_4); + } + } + local_res20 = &local_48; + plVar6 = &local_48; + FUN_14008a320(plVar6); + pbVar4 = local_res18; + if (local_40 != 0) { + if (local_34 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_38 = 0; + } + if (((local_res18 != (byte *)0x0) && (local_res18 != PTR_DAT_14016f008)) && + (pbVar9 = local_res18 + -8, pbVar9 != (byte *)0x0)) { + plVar6 = (longlong *)FUN_14003e7c0(plVar6,PTR_DAT_14016f008,puVar11,param_4); + FUN_14003d040((int *)plVar6); + pbVar4 = pbVar4 + -4; + *(int *)pbVar4 = *(int *)pbVar4 + -1; + if (*(int *)pbVar4 == 0) { + FUN_14003e8b0(pbVar9); + } + FUN_14003d0d0((longlong)plVar6); + } + pbVar4 = local_res10; + if (((local_res10 != (byte *)0x0) && (local_res10 != PTR_DAT_14016f008)) && + (pbVar9 = local_res10 + -8, pbVar9 != (byte *)0x0)) { + local_res18 = PTR_DAT_14016f008; + piVar7 = (int *)FUN_14003e7c0(plVar6,PTR_DAT_14016f008,puVar11,param_4); + FUN_14003d040(piVar7); + pbVar4 = pbVar4 + -4; + *(int *)pbVar4 = *(int *)pbVar4 + -1; + if (*(int *)pbVar4 == 0) { + FUN_14003e8b0(pbVar9); + } + FUN_14003d0d0((longlong)piVar7); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14006d320.c b/decomp/AgentManager_Release_x64/full/functions/0x14006d320.c new file mode 100644 index 00000000..2746109d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14006d320.c @@ -0,0 +1,236 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14006d320 FUN_14006d320 + * Pseudocode, not original source. */ + +void FUN_14006d320(SIZE_T *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + int iVar1; + int iVar2; + uint uVar3; + byte *pbVar4; + undefined *puVar5; + longlong *plVar6; + int *piVar7; + ulonglong uVar8; + byte *pbVar9; + int iVar10; + undefined *puVar11; + byte *local_res10; + byte *local_res18; + longlong *local_res20; + uint local_50 [2]; + longlong local_48; + longlong local_40; + undefined4 local_38; + int local_34; + + FUN_14003e7c0(param_1,param_2,param_3,param_4); + local_res10 = PTR_DAT_14016f008; + iVar1 = FUN_14003e6e0(&DAT_14010ea38); + if (local_res10 == (byte *)0x0) { + iVar10 = 0; + } + else if (local_res10 == PTR_DAT_14016f008) { + iVar10 = 0; + } + else { + iVar10 = *(int *)(local_res10 + -8); + } + iVar2 = iVar1; + if (iVar1 <= iVar10) { + if (local_res10 == (byte *)0x0) { + iVar2 = 0; + } + else if (local_res10 == PTR_DAT_14016f008) { + iVar2 = 0; + } + else { + iVar2 = *(int *)(local_res10 + -8); + } + } + iVar10 = 1; + if (1 < iVar2) { + iVar10 = iVar2; + } + if (local_res10 == (byte *)0x0) { + iVar2 = 0; + } + else if (local_res10 == PTR_DAT_14016f008) { + iVar2 = 0; + } + else { + iVar2 = *(int *)(local_res10 + -8); + } + if (iVar10 <= iVar2) goto LAB_14006d47a; + if (local_res10 == (byte *)0x0) { + local_res10 = PTR_DAT_14016f008; + } + if (iVar10 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (iVar10 == 0) { + FUN_140006e80((longlong *)&local_res10); + goto LAB_14006d47a; + } + if (local_res10 == (byte *)0x0) { + iVar2 = 0; + } + else if (local_res10 == PTR_DAT_14016f008) { + iVar2 = 0; + } + else { + iVar2 = *(int *)(local_res10 + -8); + } + if (iVar10 == iVar2) goto LAB_14006d47a; + piVar7 = (int *)FUN_14003e840((longlong)iVar10 + 9); + if (piVar7 != (int *)0x0) { + *piVar7 = 0; + piVar7[1] = 1; + } + *piVar7 = iVar10; + if (local_res10 == (byte *)0x0) { + iVar2 = 0; + } + else if (local_res10 == PTR_DAT_14016f008) { + iVar2 = 0; + } + else { + iVar2 = *(int *)(local_res10 + -8); + } + pbVar4 = PTR_DAT_14016f008; + if (iVar10 < iVar2) { +LAB_14006d456: + if (local_res10 != (byte *)0x0) { + pbVar4 = local_res10; + } + } + else { + if (local_res10 != (byte *)0x0) { + if (local_res10 == PTR_DAT_14016f008) { + iVar10 = 0; + } + else { + iVar10 = *(int *)(local_res10 + -8); + } + goto LAB_14006d456; + } + iVar10 = 0; + } + FUN_14003e710(piVar7 + 2,pbVar4,iVar10); + FUN_140006e80((longlong *)&local_res10); + local_res10 = (byte *)(piVar7 + 2); +LAB_14006d47a: + FUN_14003d4c0((longlong *)&local_res10); + pbVar4 = local_res10; + if (local_res10 == (byte *)0x0) { + pbVar4 = PTR_DAT_14016f008; + } + FUN_14003e710(pbVar4,&DAT_14010ea38,iVar1); + pbVar4 = local_res10; + if (local_res10 == (byte *)0x0) { + pbVar4 = PTR_DAT_14016f008; + } + uVar3 = FUN_14003e6e0((char *)pbVar4); + puVar11 = PTR_DAT_14016f008; + uVar8 = 0; + if (0 < (int)uVar3) { + uVar8 = (ulonglong)uVar3; + } + if (local_res10 == (byte *)0x0) { + pbVar4 = (byte *)0x0; + } + else if (local_res10 == PTR_DAT_14016f008) { + pbVar4 = (byte *)0x0; + } + else { + pbVar4 = (byte *)(ulonglong)*(uint *)(local_res10 + -8); + } + if ((int)pbVar4 <= (int)uVar8) { + if (local_res10 == (byte *)0x0) { + uVar8 = 0; + } + else if (local_res10 == PTR_DAT_14016f008) { + uVar8 = 0; + } + else { + uVar8 = (ulonglong)*(uint *)(local_res10 + -8); + } + } + if (((local_res10 != PTR_DAT_14016f008) && (local_res10 != (byte *)0x0)) && + (pbVar4 = local_res10 + -8, pbVar4 != (byte *)0x0)) { + *(int *)pbVar4 = (int)uVar8; + pbVar4[(longlong)(int)uVar8 + 8] = 0; + } + FUN_14003e7c0(uVar8,pbVar4,puVar11,param_4); + local_res18 = PTR_DAT_14016f008; + FUN_140074fb0(local_50); + FUN_140074a40((longlong)local_50,pbVar4,(SIZE_T)puVar11,param_4); + FUN_140076740((longlong)local_50,(longlong *)&local_res10,puVar11,param_4); + FUN_140074bb0((int *)local_50,0,puVar11,param_4); + thunk_FUN_140075cc0(local_50,(LPCWSTR)&local_res18,puVar11,param_4); + pbVar4 = local_res10; + if (local_res10 == (byte *)0x0) { + pbVar4 = PTR_DAT_14016f008; + } + puVar11 = PTR_DAT_14016f008; + if (pbVar4 != local_res18) { + pbVar4 = local_res18; + if (local_res18 == (byte *)0x0) { + pbVar4 = PTR_DAT_14016f008; + } + pbVar9 = local_res10; + if (local_res10 == (byte *)0x0) { + pbVar9 = PTR_DAT_14016f008; + } + iVar1 = FUN_14003e740(pbVar9,(longlong)pbVar4); + if (iVar1 != 0) { + FUN_14003e7c0(pbVar9,pbVar4,puVar11,param_4); + local_res20 = (longlong *)PTR_DAT_14016f010; + uVar3 = FUN_14003e620(L"Proud.String serialization failed!"); + puVar5 = FUN_140001ee0((longlong *)&local_res20,uVar3); + puVar11 = (undefined *)(ulonglong)uVar3; + FUN_14003e650(puVar5,L"Proud.String serialization failed!",uVar3); + FUN_140001fc0((longlong *)&local_res20); + FUN_14006c890(param_1,(wchar_t *)&local_res20,(SIZE_T)puVar11,param_4); + } + } + local_res20 = &local_48; + plVar6 = &local_48; + FUN_14008a320(plVar6); + pbVar4 = local_res18; + if (local_40 != 0) { + if (local_34 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_38 = 0; + } + if (((local_res18 != (byte *)0x0) && (local_res18 != PTR_DAT_14016f008)) && + (pbVar9 = local_res18 + -8, pbVar9 != (byte *)0x0)) { + plVar6 = (longlong *)FUN_14003e7c0(plVar6,PTR_DAT_14016f008,puVar11,param_4); + FUN_14003d040((int *)plVar6); + pbVar4 = pbVar4 + -4; + *(int *)pbVar4 = *(int *)pbVar4 + -1; + if (*(int *)pbVar4 == 0) { + FUN_14003e8b0(pbVar9); + } + FUN_14003d0d0((longlong)plVar6); + } + pbVar4 = local_res10; + if (((local_res10 != (byte *)0x0) && (local_res10 != PTR_DAT_14016f008)) && + (pbVar9 = local_res10 + -8, pbVar9 != (byte *)0x0)) { + local_res18 = PTR_DAT_14016f008; + piVar7 = (int *)FUN_14003e7c0(plVar6,PTR_DAT_14016f008,puVar11,param_4); + FUN_14003d040(piVar7); + pbVar4 = pbVar4 + -4; + *(int *)pbVar4 = *(int *)pbVar4 + -1; + if (*(int *)pbVar4 == 0) { + FUN_14003e8b0(pbVar9); + } + FUN_14003d0d0((longlong)piVar7); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14006d6c0.c b/decomp/AgentManager_Release_x64/full/functions/0x14006d6c0.c new file mode 100644 index 00000000..53990efa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14006d6c0.c @@ -0,0 +1,85 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14006d6c0 FUN_14006d6c0 + * Pseudocode, not original source. */ + +void FUN_14006d6c0(SIZE_T *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + int iVar1; + uint uVar2; + undefined *puVar3; + undefined8 *puVar4; + undefined **ppuVar5; + ulonglong uVar6; + undefined8 uVar7; + SIZE_T SVar8; + undefined *local_res10; + undefined8 local_38; + byte local_30; + char local_2f; + byte local_2e; + undefined8 local_28; + byte local_20; + char local_1f; + byte local_1e; + undefined8 local_18; + char local_10; + char local_f; + char local_e; + + FUN_14003e7c0(param_1,param_2,param_3,param_4); + local_res10 = PTR_DAT_14016f008; + iVar1 = FUN_14003e6e0("1.2.3.4"); + puVar3 = FUN_14003d780((longlong *)&local_res10,iVar1); + FUN_14003e710(puVar3,"1.2.3.4",iVar1); + FUN_14003d440((longlong *)&local_res10); + ppuVar5 = &local_res10; + puVar4 = &local_28; + uVar7 = 1; + FUN_1400419a0(puVar4,(longlong *)ppuVar5,1); + FUN_14003e7c0(puVar4,ppuVar5,uVar7,param_4); + local_res10 = PTR_DAT_14016f008; + iVar1 = FUN_14003e6e0("1.2.3.5"); + puVar3 = FUN_14003d780((longlong *)&local_res10,iVar1); + FUN_14003e710(puVar3,"1.2.3.5",iVar1); + FUN_14003d440((longlong *)&local_res10); + ppuVar5 = &local_res10; + puVar4 = &local_38; + uVar7 = 1; + FUN_1400419a0(puVar4,(longlong *)ppuVar5,1); + FUN_14003e7c0(puVar4,ppuVar5,uVar7,param_4); + local_res10 = PTR_DAT_14016f008; + iVar1 = FUN_14003e6e0("5.6.7.8"); + puVar3 = FUN_14003d780((longlong *)&local_res10,iVar1); + FUN_14003e710(puVar3,"5.6.7.8",iVar1); + FUN_14003d440((longlong *)&local_res10); + puVar4 = &local_18; + SVar8 = 1; + FUN_1400419a0(puVar4,(longlong *)&local_res10,1); + uVar6 = (ulonglong)local_30; + if (((local_30 != local_20) || (local_2f != local_1f)) || + (puVar4 = (undefined8 *)(ulonglong)local_2e, local_2e != local_1e)) { + FUN_14003e7c0(puVar4,uVar6,SVar8,param_4); + local_res10 = PTR_DAT_14016f010; + uVar2 = FUN_14003e620(L"AddrPort.IsSameLan fail!"); + puVar3 = FUN_140001ee0((longlong *)&local_res10,uVar2); + SVar8 = (SIZE_T)uVar2; + FUN_14003e650(puVar3,L"AddrPort.IsSameLan fail!",uVar2); + FUN_140001fc0((longlong *)&local_res10); + FUN_14006c890(param_1,(wchar_t *)&local_res10,SVar8,param_4); + puVar4 = (undefined8 *)(ulonglong)local_2e; + uVar6 = (ulonglong)local_30; + } + if (((local_10 == (char)uVar6) && (local_f == local_2f)) && (local_e == (char)puVar4)) { + FUN_14003e7c0(puVar4,uVar6,SVar8,param_4); + local_res10 = PTR_DAT_14016f010; + uVar2 = FUN_14003e620(L"AddrPort.IsSameLan fail!"); + puVar3 = FUN_140001ee0((longlong *)&local_res10,uVar2); + SVar8 = (SIZE_T)uVar2; + FUN_14003e650(puVar3,L"AddrPort.IsSameLan fail!",uVar2); + FUN_140001fc0((longlong *)&local_res10); + FUN_14006c890(param_1,(wchar_t *)&local_res10,SVar8,param_4); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14006d8c0.c b/decomp/AgentManager_Release_x64/full/functions/0x14006d8c0.c new file mode 100644 index 00000000..aca33129 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14006d8c0.c @@ -0,0 +1,182 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14006d8c0 FUN_14006d8c0 + * Pseudocode, not original source. */ + +void FUN_14006d8c0(SIZE_T *param_1,wchar_t *param_2,SIZE_T param_3,undefined8 param_4) + +{ + longlong lVar1; + int *piVar2; + longlong *plVar3; + longlong *plVar4; + ulonglong uVar5; + longlong *plVar6; + wchar_t *pwVar7; + longlong **pplVar8; + longlong *local_res8; + wchar_t *local_res10; + longlong *local_res18; + wchar_t local_158 [4]; + ulonglong local_150 [2]; + longlong local_140 [2]; + undefined **local_130; + undefined8 local_128; + undefined8 local_120; + undefined8 local_118; + undefined8 local_110; + longlong local_108; + longlong local_100; + ulonglong local_f8; + int local_e8; + undefined **local_e0; + undefined8 local_d8; + undefined8 local_d0; + undefined8 local_c8; + undefined8 local_c0; + undefined **local_b0; + int local_a8; + undefined2 local_a4; + undefined **local_98; + undefined8 local_90; + undefined8 local_88; + undefined8 local_80; + undefined8 local_78; + longlong *local_68; + undefined1 local_60; + int *local_58; + undefined1 local_50; + undefined8 local_48; + + local_48 = 0xfffffffffffffffe; + pwVar7 = param_2; + local_res10 = param_2; + piVar2 = (int *)(**(code **)(*param_1 + 0x58))(); + local_58 = piVar2; + FUN_14003d040(piVar2); + local_50 = 1; + if (DAT_14017614f != '\0') { + param_3 = *param_1; + pwVar7 = L"Proud::CNetServerImpl::EnqueError"; + (**(code **)(param_3 + 200))(param_1); + } + if (param_1[0xeb] != 0) { + plVar6 = (longlong *)0x0; + local_150[0] = 0; + local_140[0] = 0; + local_140[1] = 0; + local_128 = 0; + local_120 = 0; + local_118 = 0; + local_110 = 0; + local_130 = Proud::ByteArray::vftable; + local_f8 = 0; + local_100 = 0; + local_108 = 0; + local_d8 = 0; + local_d0 = 0; + local_c8 = 0; + local_c0 = 0; + local_e0 = Proud::ByteArray::vftable; + local_b0 = Proud::AddrPort::vftable; + local_a8 = 0; + local_a4 = 0; + local_90 = 0; + local_88 = 0; + local_80 = 0; + local_78 = 0; + local_98 = Proud::ByteArray::vftable; + local_res8 = (longlong *)FUN_14003e840(0x60); + plVar3 = plVar6; + if (local_res8 != (longlong *)0x0) { + plVar3 = FUN_140071b80(local_res8,pwVar7,param_3,param_4); + } + if (plVar3 == (longlong *)0x0) { + local_res8 = (longlong *)0x0; + plVar4 = plVar6; + } + else { + plVar4 = (longlong *)FUN_14003e840(0x48); + local_res18 = plVar4; + if (plVar4 != (longlong *)0x0) { + local_res8 = plVar4; + uVar5 = FUN_140094860(); + param_3 = CONCAT71((int7)(param_3 >> 8),1); + FUN_14003cf60((undefined4 *)plVar4,uVar5 & 0xffffffff,param_3,param_4); + } + local_res8 = plVar4; + FUN_14003d040((int *)plVar4); + plVar4[8] = 1; + plVar4[7] = (longlong)plVar3; + FUN_14003d0d0((longlong)plVar4); + } + pplVar8 = &local_res8; + FUN_14005d770(local_150,(ulonglong *)pplVar8,param_3,param_4); + if (plVar4 != (longlong *)0x0) { + local_68 = plVar4; + FUN_14003d040((int *)plVar4); + local_60 = 1; + plVar3 = plVar4 + 8; + *plVar3 = *plVar3 + -1; + if (*plVar3 == 0) { + FUN_14003d0d0((longlong)plVar4); + local_60 = 0; + FUN_140038210((undefined4 *)plVar4,pplVar8,param_3,param_4); + } + else { + FUN_14003d0d0((longlong)plVar4); + } + } + local_158[0] = L'\x14'; + local_158[1] = L'\0'; + plVar3 = plVar6; + if (*(longlong *)param_2 != 0) { + plVar3 = *(longlong **)(*(longlong *)param_2 + 0x38); + } + plVar4 = plVar6; + if (local_150[0] != 0) { + plVar4 = *(longlong **)(local_150[0] + 0x38); + } + *(int *)plVar4 = (int)*plVar3; + plVar3 = plVar6; + if (*(longlong *)param_2 != 0) { + plVar3 = *(longlong **)(*(longlong *)param_2 + 0x38); + } + plVar4 = plVar6; + if (local_150[0] != 0) { + plVar4 = *(longlong **)(local_150[0] + 0x38); + } + FUN_1400020c0(plVar4 + 2,plVar3 + 2,param_3,param_4); + lVar1 = *(longlong *)param_2; + plVar3 = plVar6; + if (lVar1 != 0) { + plVar3 = *(longlong **)(lVar1 + 0x38); + } + local_e8 = *(int *)((longlong)plVar3 + 0xc); + if (lVar1 != 0) { + plVar6 = *(longlong **)(lVar1 + 0x38); + } + local_a8 = (int)plVar6[4]; + local_a4 = *(undefined2 *)((longlong)plVar6 + 0x24); + pwVar7 = local_158; + FUN_1400691b0((longlong)param_1,(undefined4 *)pwVar7,param_3,param_4); + FUN_140049e40(&local_98); + FUN_140049e40(&local_e0); + local_res8 = &local_108; + FUN_14008a320(&local_108); + if (local_100 != 0) { + if ((longlong)local_f8 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_f8 = local_f8 & 0xffffffff00000000; + } + FUN_140049e40(&local_130); + FUN_1400641e0(local_140 + 1,pwVar7,param_3,param_4); + FUN_140064160(local_140,pwVar7,param_3,param_4); + FUN_140038280((longlong *)local_150,pwVar7,param_3,param_4); + } + FUN_14003d0d0((longlong)piVar2); + FUN_140038280((longlong *)param_2,pwVar7,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14006dbc0.c b/decomp/AgentManager_Release_x64/full/functions/0x14006dbc0.c new file mode 100644 index 00000000..c655ddc4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14006dbc0.c @@ -0,0 +1,182 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14006dbc0 FUN_14006dbc0 + * Pseudocode, not original source. */ + +void FUN_14006dbc0(SIZE_T *param_1,wchar_t *param_2,SIZE_T param_3,undefined8 param_4) + +{ + longlong lVar1; + int *piVar2; + longlong *plVar3; + longlong *plVar4; + ulonglong uVar5; + longlong *plVar6; + wchar_t *pwVar7; + longlong **pplVar8; + longlong *local_res8; + wchar_t *local_res10; + longlong *local_res18; + wchar_t local_158 [4]; + ulonglong local_150 [2]; + longlong local_140 [2]; + undefined **local_130; + undefined8 local_128; + undefined8 local_120; + undefined8 local_118; + undefined8 local_110; + longlong local_108; + longlong local_100; + ulonglong local_f8; + int local_e8; + undefined **local_e0; + undefined8 local_d8; + undefined8 local_d0; + undefined8 local_c8; + undefined8 local_c0; + undefined **local_b0; + int local_a8; + undefined2 local_a4; + undefined **local_98; + undefined8 local_90; + undefined8 local_88; + undefined8 local_80; + undefined8 local_78; + longlong *local_68; + undefined1 local_60; + int *local_58; + undefined1 local_50; + undefined8 local_48; + + local_48 = 0xfffffffffffffffe; + pwVar7 = param_2; + local_res10 = param_2; + piVar2 = (int *)(**(code **)(*param_1 + 0x58))(); + local_58 = piVar2; + FUN_14003d040(piVar2); + local_50 = 1; + if (DAT_14017614f != '\0') { + param_3 = *param_1; + pwVar7 = L"Proud::CNetServerImpl::EnqueWarning"; + (**(code **)(param_3 + 200))(param_1); + } + if (param_1[0xeb] != 0) { + plVar6 = (longlong *)0x0; + local_150[0] = 0; + local_140[0] = 0; + local_140[1] = 0; + local_128 = 0; + local_120 = 0; + local_118 = 0; + local_110 = 0; + local_130 = Proud::ByteArray::vftable; + local_f8 = 0; + local_100 = 0; + local_108 = 0; + local_d8 = 0; + local_d0 = 0; + local_c8 = 0; + local_c0 = 0; + local_e0 = Proud::ByteArray::vftable; + local_b0 = Proud::AddrPort::vftable; + local_a8 = 0; + local_a4 = 0; + local_90 = 0; + local_88 = 0; + local_80 = 0; + local_78 = 0; + local_98 = Proud::ByteArray::vftable; + local_res8 = (longlong *)FUN_14003e840(0x60); + plVar3 = plVar6; + if (local_res8 != (longlong *)0x0) { + plVar3 = FUN_140071b80(local_res8,pwVar7,param_3,param_4); + } + if (plVar3 == (longlong *)0x0) { + local_res8 = (longlong *)0x0; + plVar4 = plVar6; + } + else { + plVar4 = (longlong *)FUN_14003e840(0x48); + local_res18 = plVar4; + if (plVar4 != (longlong *)0x0) { + local_res8 = plVar4; + uVar5 = FUN_140094860(); + param_3 = CONCAT71((int7)(param_3 >> 8),1); + FUN_14003cf60((undefined4 *)plVar4,uVar5 & 0xffffffff,param_3,param_4); + } + local_res8 = plVar4; + FUN_14003d040((int *)plVar4); + plVar4[8] = 1; + plVar4[7] = (longlong)plVar3; + FUN_14003d0d0((longlong)plVar4); + } + pplVar8 = &local_res8; + FUN_14005d770(local_150,(ulonglong *)pplVar8,param_3,param_4); + if (plVar4 != (longlong *)0x0) { + local_68 = plVar4; + FUN_14003d040((int *)plVar4); + local_60 = 1; + plVar3 = plVar4 + 8; + *plVar3 = *plVar3 + -1; + if (*plVar3 == 0) { + FUN_14003d0d0((longlong)plVar4); + local_60 = 0; + FUN_140038210((undefined4 *)plVar4,pplVar8,param_3,param_4); + } + else { + FUN_14003d0d0((longlong)plVar4); + } + } + local_158[0] = L'\x15'; + local_158[1] = L'\0'; + plVar3 = plVar6; + if (*(longlong *)param_2 != 0) { + plVar3 = *(longlong **)(*(longlong *)param_2 + 0x38); + } + plVar4 = plVar6; + if (local_150[0] != 0) { + plVar4 = *(longlong **)(local_150[0] + 0x38); + } + *(int *)plVar4 = (int)*plVar3; + plVar3 = plVar6; + if (*(longlong *)param_2 != 0) { + plVar3 = *(longlong **)(*(longlong *)param_2 + 0x38); + } + plVar4 = plVar6; + if (local_150[0] != 0) { + plVar4 = *(longlong **)(local_150[0] + 0x38); + } + FUN_1400020c0(plVar4 + 2,plVar3 + 2,param_3,param_4); + lVar1 = *(longlong *)param_2; + plVar3 = plVar6; + if (lVar1 != 0) { + plVar3 = *(longlong **)(lVar1 + 0x38); + } + local_e8 = *(int *)((longlong)plVar3 + 0xc); + if (lVar1 != 0) { + plVar6 = *(longlong **)(lVar1 + 0x38); + } + local_a8 = (int)plVar6[4]; + local_a4 = *(undefined2 *)((longlong)plVar6 + 0x24); + pwVar7 = local_158; + FUN_1400691b0((longlong)param_1,(undefined4 *)pwVar7,param_3,param_4); + FUN_140049e40(&local_98); + FUN_140049e40(&local_e0); + local_res8 = &local_108; + FUN_14008a320(&local_108); + if (local_100 != 0) { + if ((longlong)local_f8 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_f8 = local_f8 & 0xffffffff00000000; + } + FUN_140049e40(&local_130); + FUN_1400641e0(local_140 + 1,pwVar7,param_3,param_4); + FUN_140064160(local_140,pwVar7,param_3,param_4); + FUN_140038280((longlong *)local_150,pwVar7,param_3,param_4); + } + FUN_14003d0d0((longlong)piVar2); + FUN_140038280((longlong *)param_2,pwVar7,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14006dec0.c b/decomp/AgentManager_Release_x64/full/functions/0x14006dec0.c new file mode 100644 index 00000000..2188868c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14006dec0.c @@ -0,0 +1,101 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14006dec0 FUN_14006dec0 + * Pseudocode, not original source. */ + +void FUN_14006dec0(longlong param_1,longlong param_2,SIZE_T param_3,undefined8 param_4) + +{ + int iVar1; + undefined8 *puVar2; + undefined8 *puVar3; + undefined4 *puVar4; + size_t sVar5; + undefined4 local_118 [2]; + longlong local_110 [2]; + longlong local_100 [2]; + undefined **local_f0; + undefined8 local_e8; + undefined8 local_e0; + undefined8 local_d8; + undefined8 local_d0; + longlong local_c8; + longlong local_c0; + ulonglong local_b8; + undefined **local_a0; + undefined8 local_98; + undefined8 local_90; + undefined8 local_88; + undefined8 local_80; + undefined **local_70; + undefined4 local_68; + undefined2 local_64; + undefined **local_58; + undefined8 local_50; + undefined8 *local_48; + undefined8 local_40; + undefined8 local_38; + undefined8 local_28; + + local_28 = 0xfffffffffffffffe; + if (*(longlong *)(param_1 + 0x758) != 0) { + local_110[0] = 0; + local_100[0] = 0; + local_100[1] = 0; + local_e8 = 0; + local_e0 = 0; + local_d8 = 0; + local_d0 = 0; + local_f0 = Proud::ByteArray::vftable; + local_b8 = 0; + local_c0 = 0; + local_c8 = 0; + local_98 = 0; + local_90 = 0; + local_88 = 0; + local_80 = 0; + local_a0 = Proud::ByteArray::vftable; + local_70 = Proud::AddrPort::vftable; + local_50 = 0; + local_48 = (undefined8 *)0x0; + local_40 = 0; + local_38 = 0; + local_58 = Proud::ByteArray::vftable; + local_118[0] = 4; + local_68 = *(undefined4 *)(param_2 + 8); + local_64 = *(undefined2 *)(param_2 + 0xc); + iVar1 = *(int *)(param_3 + 0x18); + sVar5 = (size_t)iVar1; + if (iVar1 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + FUN_14002a050((longlong)&local_58,iVar1,param_3); + puVar3 = (undefined8 *)0x0; + if (*(int *)(param_3 + 0x18) != 0) { + puVar3 = *(undefined8 **)(param_3 + 0x10); + } + puVar2 = local_48; + if ((int)local_40 == 0) { + puVar2 = (undefined8 *)0x0; + } + FUN_140006fb0(puVar2,puVar3,sVar5); + puVar4 = local_118; + FUN_1400691b0(param_1,puVar4,sVar5,param_4); + FUN_140049e40(&local_58); + FUN_140049e40(&local_a0); + FUN_14008a320(&local_c8); + if (local_c0 != 0) { + if ((longlong)local_b8 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_b8 = local_b8 & 0xffffffff00000000; + } + FUN_140049e40(&local_f0); + FUN_1400641e0(local_100 + 1,puVar4,sVar5,param_4); + FUN_140064160(local_100,puVar4,sVar5,param_4); + FUN_140038280(local_110,puVar4,sVar5,param_4); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14006e060.c b/decomp/AgentManager_Release_x64/full/functions/0x14006e060.c new file mode 100644 index 00000000..5d88f1e4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14006e060.c @@ -0,0 +1,102 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14006e060 FUN_14006e060 + * Pseudocode, not original source. */ + +ulonglong FUN_14006e060(longlong *param_1,ulonglong param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong *plVar1; + LPVOID pvVar2; + int *piVar3; + longlong lVar4; + undefined8 uVar5; + ulonglong uVar6; + longlong **pplVar7; + undefined4 *puVar8; + ulonglong uVar9; + uint uVar10; + uint *puVar11; + longlong *local_res8; + + piVar3 = (int *)(**(code **)(param_1[-0x15] + 0x58)) + (param_1 + -0x15,param_2,param_3,param_4,0xfffffffffffffffe); + FUN_14003d040(piVar3); + if (DAT_14017614f != '\0') { + (**(code **)(param_1[-0x15] + 200))(param_1 + -0x15,L"Proud::CNetServerImpl::DestroyP2PGroup"); + } + uVar10 = (uint)param_2; + uVar6 = param_2 & 0xffffffff; + pplVar7 = &local_res8; + FUN_140064860((longlong)(param_1 + -0x15),(longlong *)pplVar7,uVar10); + if ((local_res8 == (longlong *)0x0) || (*local_res8 == 0)) { + if ((local_res8 != (longlong *)0x0) && (local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) + { + pvVar2 = (LPVOID)*local_res8; + if (pvVar2 != (LPVOID)0x0) { + FUN_1400519b0((longlong)pvVar2,pplVar7,uVar6,param_4); + FUN_14003e8b0(pvVar2); + } + FUN_14003e8b0(local_res8); + } + uVar6 = FUN_14003d0d0((longlong)piVar3); + uVar6 = uVar6 & 0xffffffffffffff00; + } + else { + while( true ) { + if (local_res8 == (longlong *)0x0) { + lVar4 = 0; + } + else { + lVar4 = *local_res8; + } + if (*(longlong *)(lVar4 + 0x28) == 0) break; + if (local_res8 == (longlong *)0x0) { + puVar8 = (undefined4 *)0x0; + } + else { + puVar8 = (undefined4 *)*local_res8; + } + if ((*(longlong *)(puVar8 + 10) == 0) || (*(undefined4 **)(puVar8 + 6) == (undefined4 *)0x0)) + { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + (**(code **)(*param_1 + 0x128))(param_1,**(undefined4 **)(puVar8 + 6),*puVar8); + } + uVar6 = (param_2 & 0xffffffff) % (ulonglong)*(uint *)(param_1 + 0x70); + puVar11 = (uint *)0x0; + uVar9 = uVar6; + if (param_1[0x6c] != 0) { + puVar11 = *(uint **)(param_1[0x6c] + uVar6 * 8); + while( true ) { + if ((puVar11 == (uint *)0x0) || + (uVar9 = (ulonglong)puVar11[8] % (ulonglong)*(uint *)(param_1 + 0x70), + (int)uVar6 != (int)uVar9)) goto LAB_14006e1e4; + if (*puVar11 == uVar10) break; + puVar11 = *(uint **)(puVar11 + 4); + } + FUN_140065fe0((char *)(param_1 + 0x6b),puVar11,0); + plVar1 = (longlong *)param_1[0x7a]; + lVar4 = *plVar1; + uVar5 = (**(code **)(param_1[0xe] + 8))(); + uVar6 = param_2 & 0xffffffff; + (**(code **)(lVar4 + 0x10))(plVar1,uVar5); + uVar9 = param_2 & 0xffffffff; + FUN_14006c700((SIZE_T *)(param_1 + -0x15),uVar10,uVar6,puVar11); + } +LAB_14006e1e4: + if ((local_res8 != (longlong *)0x0) && (local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) + { + pvVar2 = (LPVOID)*local_res8; + if (pvVar2 != (LPVOID)0x0) { + FUN_1400519b0((longlong)pvVar2,uVar9,uVar6,puVar11); + FUN_14003e8b0(pvVar2); + } + FUN_14003e8b0(local_res8); + } + uVar5 = FUN_14003d0d0((longlong)piVar3); + uVar6 = CONCAT71((int7)((ulonglong)uVar5 >> 8),1); + } + return uVar6; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14006e290.c b/decomp/AgentManager_Release_x64/full/functions/0x14006e290.c new file mode 100644 index 00000000..1ea79e86 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14006e290.c @@ -0,0 +1,259 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14006e290 FUN_14006e290 + * Pseudocode, not original source. */ + +ulonglong FUN_14006e290(longlong param_1,uint param_2,uint param_3,undefined8 param_4) + +{ + SIZE_T *pSVar1; + longlong lVar2; + LPVOID pvVar3; + int iVar4; + int *piVar5; + longlong lVar6; + uint *puVar7; + uint *puVar8; + uint *puVar9; + uint *puVar10; + undefined8 uVar11; + ulonglong uVar12; + uint *puVar13; + longlong **pplVar14; + ulonglong uVar15; + uint uVar16; + uint uVar17; + ulonglong uVar18; + TypeDescriptor *pTVar19; + longlong *plVar20; + longlong *local_res8; + uint local_res10 [2]; + uint local_res18 [2]; + + pSVar1 = (SIZE_T *)(param_1 + -0xa8); + local_res10[0] = param_2; + local_res18[0] = param_3; + piVar5 = (int *)(**(code **)(*pSVar1 + 0x58))(pSVar1); + FUN_14003d040(piVar5); + if (DAT_14017614f != '\0') { + (**(code **)(*pSVar1 + 200))(pSVar1,L"Proud::CNetServerImpl::LeaveP2PGroup"); + } + uVar12 = (ulonglong)local_res18[0]; + pplVar14 = &local_res8; + FUN_140064860((longlong)pSVar1,(longlong *)pplVar14,local_res18[0]); + uVar16 = local_res10[0]; + if ((local_res8 == (longlong *)0x0) || (lVar2 = *local_res8, lVar2 == 0)) { + if ((local_res8 != (longlong *)0x0) && (local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) + { + pvVar3 = (LPVOID)*local_res8; + if (pvVar3 != (LPVOID)0x0) { + FUN_1400519b0((longlong)pvVar3,pplVar14,uVar12,param_4); + FUN_14003e8b0(pvVar3); + } + FUN_14003e8b0(local_res8); + } + } + else { + uVar18 = (ulonglong)*(uint *)(lVar2 + 0x30); + uVar12 = (ulonglong)local_res10[0] % uVar18; + uVar15 = uVar12; + if ((*(longlong *)(lVar2 + 0x10) != 0) && + (puVar13 = *(uint **)(*(longlong *)(lVar2 + 0x10) + uVar12 * 8), puVar13 != (uint *)0x0)) { + while( true ) { + uVar15 = (ulonglong)puVar13[10] % uVar18; + if ((int)uVar12 != (int)uVar15) goto LAB_14006e736; + if (*puVar13 == local_res10[0]) break; + puVar13 = *(uint **)(puVar13 + 6); + if (puVar13 == (uint *)0x0) goto LAB_14006e736; + } + puVar13 = (uint *)0x0; + plVar20 = local_res8; + if (local_res10[0] == 1) { + puVar10 = puVar13; + if (pSVar1 != (SIZE_T *)0x0) { + puVar10 = (uint *)(param_1 + 0x10); + } + } + else { + uVar15 = (ulonglong)local_res10[0]; + lVar6 = FUN_14004f000((longlong)pSVar1,local_res10[0]); + if ((lVar6 == 0) || + (puVar10 = (uint *)(lVar6 + 0x40), (uint *)(lVar6 + 0x40) == (uint *)0x0)) { + plVar20[1] = plVar20[1] + -1; + if (local_res8[1] == 0) { + pvVar3 = (LPVOID)*local_res8; + if (pvVar3 != (LPVOID)0x0) { + FUN_1400519b0((longlong)pvVar3,uVar15,uVar12,uVar18); + FUN_14003e8b0(pvVar3); + } + FUN_14003e8b0(local_res8); + } + goto LAB_14006e7a9; + } + } + puVar9 = puVar13; + if (*(longlong *)(lVar2 + 0x28) != 0) { + puVar9 = *(uint **)(lVar2 + 0x18); + } + while( true ) { + puVar7 = puVar13; + if (plVar20 != (longlong *)0x0) { + puVar7 = (uint *)*plVar20; + } + if (puVar9 == (uint *)0x0) break; + if (*puVar9 != 1) { + (**(code **)(*(longlong *)(param_1 + 0x400) + 0x80)) + ((longlong *)(param_1 + 0x400),*puVar9,&DAT_140177f90,local_res10,local_res18); + plVar20 = local_res8; + uVar16 = local_res10[0]; + } + if ((uVar16 != 1) && (uVar16 != *puVar9)) { + (**(code **)(*(longlong *)(param_1 + 0x400) + 0x80)) + ((longlong *)(param_1 + 0x400),uVar16,&DAT_140177f90,puVar9,local_res18); + plVar20 = local_res8; + uVar16 = local_res10[0]; + } + puVar9 = *(uint **)(puVar9 + 6); + } + if ((uint *)(lVar2 + 8) != puVar7 + 2) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + uVar17 = 1; + if (uVar16 != 1) { + puVar9 = puVar13; + if (plVar20 != (longlong *)0x0) { + puVar9 = (uint *)*plVar20; + } + puVar7 = puVar13; + if (*(longlong *)(puVar9 + 10) != 0) { + puVar7 = *(uint **)(puVar9 + 6); + } + while( true ) { + puVar8 = puVar13; + if (plVar20 != (longlong *)0x0) { + puVar8 = (uint *)*plVar20; + } + if (puVar7 == (uint *)0x0) break; + iVar4 = (**(code **)**(undefined8 **)(puVar7 + 4))(); + if ((iVar4 != 1) && (iVar4 = (*(code *)**(undefined8 **)puVar10)(puVar10), iVar4 != 1)) { + puVar8 = (uint *)(*(longlong *)(puVar7 + 4) + -0x40); + if (*(longlong *)(puVar7 + 4) == 0) { + puVar8 = puVar13; + } + FUN_140065ab0((char *)(param_1 + 0x230),(longlong)pSVar1,(longlong)(puVar10 + -0x10), + (longlong)puVar8); + } + puVar7 = *(uint **)(puVar7 + 6); + plVar20 = local_res8; + } + uVar17 = local_res10[0]; + if (puVar9 + 2 != puVar8 + 2) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + } + puVar9 = puVar13; + if (plVar20 != (longlong *)0x0) { + puVar9 = (uint *)*plVar20; + } + uVar12 = (ulonglong)uVar17 % (ulonglong)puVar9[0xc]; + if (*(longlong *)(puVar9 + 4) != 0) { + puVar7 = *(uint **)(*(longlong *)(puVar9 + 4) + uVar12 * 8); + while( true ) { + if ((puVar7 == (uint *)0x0) || ((uint)uVar12 != puVar7[10] % puVar9[0xc])) + goto LAB_14006e561; + if (*puVar7 == uVar17) break; + puVar7 = *(uint **)(puVar7 + 6); + } + FUN_14008cf20((char *)(puVar9 + 2),puVar7,'\0'); + plVar20 = local_res8; + uVar17 = local_res10[0]; + } +LAB_14006e561: + uVar12 = (ulonglong)local_res18[0] % (ulonglong)puVar10[0xc]; + if (*(longlong *)(puVar10 + 4) != 0) { + puVar9 = *(uint **)(*(longlong *)(puVar10 + 4) + uVar12 * 8); + while( true ) { + if ((puVar9 == (uint *)0x0) || ((uint)uVar12 != puVar9[8] % puVar10[0xc])) + goto LAB_14006e5c4; + if (*puVar9 == local_res18[0]) break; + puVar9 = *(uint **)(puVar9 + 4); + } + FUN_140065fe0((char *)(puVar10 + 2),puVar9,0); + plVar20 = local_res8; + uVar17 = local_res10[0]; + } +LAB_14006e5c4: + puVar10 = puVar13; + if (plVar20 != (longlong *)0x0) { + puVar10 = (uint *)*plVar20; + } + pTVar19 = (TypeDescriptor *)0x1e; + puVar9 = (uint *)(ulonglong)uVar17; + FUN_140069560((longlong)pSVar1,puVar10,(ulonglong)puVar9,0x1e); + puVar10 = puVar13; + if (local_res8 != (longlong *)0x0) { + puVar10 = (uint *)*local_res8; + } + if ((*(longlong *)(puVar10 + 10) == 0) && (*(char *)(param_1 + 0x1758) == '\0')) { + if (local_res8 != (longlong *)0x0) { + puVar13 = (uint *)*local_res8; + } + uVar16 = *puVar13; + pTVar19 = (TypeDescriptor *)(ulonglong)*(uint *)(param_1 + 0x380); + puVar9 = (uint *)((ulonglong)uVar16 % (ulonglong)pTVar19); + puVar13 = puVar9; + if (*(longlong *)(param_1 + 0x360) != 0) { + puVar10 = *(uint **)(*(longlong *)(param_1 + 0x360) + (longlong)puVar9 * 8); + while( true ) { + if ((puVar10 == (uint *)0x0) || + (puVar13 = (uint *)((ulonglong)puVar10[8] % (ulonglong)pTVar19), + (int)puVar9 != (int)puVar13)) goto LAB_14006e6b3; + if (*puVar10 == uVar16) break; + puVar10 = *(uint **)(puVar10 + 4); + } + FUN_140065fe0((char *)(param_1 + 0x358),puVar10,0); + plVar20 = *(longlong **)(param_1 + 0x3d0); + lVar2 = *plVar20; + uVar11 = (**(code **)(*(longlong *)(param_1 + 0x70) + 8))(); + puVar9 = (uint *)(ulonglong)uVar16; + (**(code **)(lVar2 + 0x10))(plVar20,uVar11); + puVar13 = (uint *)(ulonglong)uVar16; + FUN_14006c700(pSVar1,uVar16,(SIZE_T)puVar9,pTVar19); + } + } + else { + if (local_res8 != (longlong *)0x0) { + puVar13 = (uint *)*local_res8; + } + FUN_140059c20((longlong)pSVar1,puVar13,(longlong)puVar9,pTVar19); + } +LAB_14006e6b3: + if ((local_res8 != (longlong *)0x0) && + (local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) { + pvVar3 = (LPVOID)*local_res8; + if (pvVar3 != (LPVOID)0x0) { + FUN_1400519b0((longlong)pvVar3,puVar13,puVar9,pTVar19); + FUN_14003e8b0(pvVar3); + } + FUN_14003e8b0(local_res8); + } + uVar11 = FUN_14003d0d0((longlong)piVar5); + return CONCAT71((int7)((ulonglong)uVar11 >> 8),1); + } +LAB_14006e736: + local_res8[1] = local_res8[1] + -1; + if (local_res8[1] == 0) { + pvVar3 = (LPVOID)*local_res8; + if (pvVar3 != (LPVOID)0x0) { + FUN_1400519b0((longlong)pvVar3,uVar15,uVar12,uVar18); + FUN_14003e8b0(pvVar3); + } + FUN_14003e8b0(local_res8); + } + } +LAB_14006e7a9: + uVar12 = FUN_14003d0d0((longlong)piVar5); + return uVar12 & 0xffffffffffffff00; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14006e7d0.c b/decomp/AgentManager_Release_x64/full/functions/0x14006e7d0.c new file mode 100644 index 00000000..4f6d5fe8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14006e7d0.c @@ -0,0 +1,407 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14006e7d0 FUN_14006e7d0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +uint FUN_14006e7d0(longlong param_1,undefined4 *param_2,int param_3,uint **param_4, + undefined1 *param_5) + +{ + longlong *plVar1; + LPVOID pvVar2; + undefined8 *puVar3; + bool bVar4; + uint uVar5; + uint uVar6; + uint uVar7; + undefined ***pppuVar8; + longlong lVar9; + longlong *plVar10; + int *piVar11; + uint *puVar12; + uint *puVar13; + longlong lVar14; + ulonglong uVar15; + uint *puVar16; + void *pvVar17; + undefined8 *puVar18; + uint uVar19; + uint *puVar20; + uint uVar21; + int iVar22; + uint *puVar23; + ulonglong uVar24; + uint **ppuVar25; + undefined ***pppuVar26; + longlong lVar27; + undefined8 uVar28; + undefined1 auStackY_2e8 [32]; + uint *local_2b8; + undefined8 *local_2b0; + undefined ***local_2a8; + longlong local_2a0; + uint **local_298; + undefined ***local_290; + undefined1 local_288; + undefined **local_280; + undefined8 local_278; + undefined8 local_270; + undefined8 local_268; + undefined8 local_260; + int *local_258; + undefined1 local_250; + uint **local_248; + undefined8 local_240; + longlong local_238; + undefined **local_230 [5]; + void *local_208; + longlong local_200; + ulonglong local_1f8; + undefined8 local_1f0; + uint local_1e8 [100]; + ulonglong local_58; + + local_240 = 0xfffffffffffffffe; + local_58 = DAT_14016f5a0 ^ (ulonglong)auStackY_2e8; + lVar27 = (longlong)param_3; + plVar1 = (longlong *)(param_1 + -0xa8); + ppuVar25 = param_4; + local_2a0 = param_1; + local_298 = param_4; + local_248 = param_4; + pppuVar8 = (undefined ***)(**(code **)(*plVar1 + 0x58))(plVar1); + local_2a8 = pppuVar8; + local_290 = pppuVar8; + FUN_14003d040((int *)pppuVar8); + local_288 = 1; + if (DAT_14017614f != '\0') { + (**(code **)(*plVar1 + 200))(plVar1); + } + if ((param_3 < 0) || (*(longlong *)(param_1 + 0x3d0) == 0)) { + FUN_14003d0d0((longlong)pppuVar8); + } + else { + if ((*(char *)(param_1 + 0x1758) != '\0') || (param_3 != 0)) { + puVar20 = (uint *)0x0; + uVar7 = 0; + local_208 = (void *)0x0; + local_1f0 = 0; + local_200 = 0; + local_1f8 = 100; + uVar19 = 0; + if (0 < param_3) { + FUN_14004e290((longlong *)&local_208,param_2,lVar27); + FUN_14004d790((longlong *)&local_208); + local_2b0 = (undefined8 *)local_200; + pvVar17 = local_208; + uVar24 = local_1f8; + puVar12 = puVar20; + if (0 < (int)local_200) { + do { + iVar22 = (int)puVar12; + lVar9 = (longlong)iVar22; + if ((iVar22 < 0) || (local_200 <= lVar9)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + puVar12 = local_1e8 + lVar9; + if (100 < uVar24) { + puVar12 = (uint *)((longlong)pvVar17 + lVar9 * 4); + } + if (*puVar12 != 1) { + puVar12 = local_1e8 + lVar9; + if (100 < uVar24) { + puVar12 = (uint *)((longlong)pvVar17 + lVar9 * 4); + } + uVar15 = (ulonglong)*puVar12; + lVar9 = FUN_14004f000((longlong)plVar1,*puVar12); + if (lVar9 == 0) { + if (100 < uVar24) { + operator_delete__(pvVar17); + } + FUN_14003d0d0((longlong)local_2a8); + param_4 = local_298; + goto LAB_14006eecd; + } + lVar14 = lVar9 + 0x288; + bVar4 = FUN_140086080(lVar14); + if ((bVar4) && + ((pvVar17 = local_208, uVar24 = local_1f8, *(char *)(lVar9 + 0x680) != '\0' || + (*(int *)(lVar9 + 0x670) != 0)))) goto LAB_14006ebdd; + FUN_14003e7c0(lVar14,uVar15,lVar27,ppuVar25); + local_2b8 = (uint *)PTR_DAT_14016f010; + uVar5 = FUN_14003e620((short *)&DAT_14010ed80); + puVar12 = puVar20; + if ((local_2b8 != (uint *)0x0) && + (puVar12 = (uint *)0x0, local_2b8 != (uint *)PTR_DAT_14016f010)) { + puVar12 = (uint *)(ulonglong)local_2b8[-2]; + } + uVar6 = uVar5; + if ((((int)uVar5 <= (int)puVar12) && (uVar6 = uVar19, local_2b8 != (uint *)0x0)) && + (local_2b8 != (uint *)PTR_DAT_14016f010)) { + uVar6 = local_2b8[-2]; + } + uVar21 = 1; + if (1 < (int)uVar6) { + uVar21 = uVar6; + } + uVar6 = uVar19; + if ((local_2b8 != (uint *)0x0) && (local_2b8 != (uint *)PTR_DAT_14016f010)) { + uVar6 = local_2b8[-2]; + } + if ((int)uVar6 < (int)uVar21) { + if (local_2b8 == (uint *)0x0) { + local_2b8 = (uint *)PTR_DAT_14016f010; + } + if ((int)uVar21 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar21 == 0) { + FUN_140002190((longlong *)&local_2b8,PTR_DAT_14016f010,puVar12,ppuVar25); + } + else { + uVar6 = uVar19; + if ((local_2b8 != (uint *)0x0) && (local_2b8 != (uint *)PTR_DAT_14016f010)) { + uVar6 = local_2b8[-2]; + } + if (uVar21 != uVar6) { + puVar12 = (uint *)FUN_14003e840((longlong)(int)uVar21 * 2 + 10); + if (puVar12 != (uint *)0x0) { + *puVar12 = 0; + puVar12[1] = 1; + } + *puVar12 = uVar21; + uVar6 = uVar19; + if ((local_2b8 != (uint *)0x0) && (local_2b8 != (uint *)PTR_DAT_14016f010)) { + uVar6 = local_2b8[-2]; + } + puVar16 = (uint *)PTR_DAT_14016f010; + if ((int)uVar21 < (int)uVar6) { +LAB_14006ea64: + if (local_2b8 != (uint *)0x0) { + puVar16 = local_2b8; + } + } + else { + uVar21 = uVar19; + if (local_2b8 != (uint *)0x0) { + if (local_2b8 != (uint *)PTR_DAT_14016f010) { + uVar21 = local_2b8[-2]; + } + goto LAB_14006ea64; + } + } + uVar24 = (ulonglong)uVar21; + puVar13 = puVar16; + FUN_14003e650(puVar12 + 2,puVar16,uVar21); + FUN_140002190((longlong *)&local_2b8,puVar16,uVar24,puVar13); + local_2b8 = puVar12 + 2; + } + } + } + FUN_140001df0((longlong *)&local_2b8); + puVar12 = local_2b8; + if (local_2b8 == (uint *)0x0) { + puVar12 = (uint *)PTR_DAT_14016f010; + } + FUN_14003e650(puVar12,&DAT_14010ed80,uVar5); + puVar12 = local_2b8; + if (local_2b8 == (uint *)0x0) { + puVar12 = (uint *)PTR_DAT_14016f010; + } + uVar6 = FUN_14003e620((short *)puVar12); + uVar5 = uVar7; + if (0 < (int)uVar6) { + uVar5 = uVar6; + } + uVar6 = uVar7; + if ((local_2b8 != (uint *)0x0) && (local_2b8 != (uint *)PTR_DAT_14016f010)) { + uVar6 = local_2b8[-2]; + } + if (((int)uVar5 < (int)uVar6) || (uVar5 = uVar7, local_2b8 == (uint *)0x0)) { +LAB_14006eb00: + if (((local_2b8 != (uint *)PTR_DAT_14016f010) && (local_2b8 != (uint *)0x0)) && + (local_2b8 + -2 != (uint *)0x0)) { + local_2b8[-2] = uVar5; + *(undefined2 *)((longlong)local_2b8 + (longlong)(int)uVar5 * 2) = 0; + } + } + else if (local_2b8 != (uint *)PTR_DAT_14016f010) { + uVar5 = local_2b8[-2]; + goto LAB_14006eb00; + } + local_278 = 0; + local_270 = 0; + local_268 = 0; + local_260 = 0; + local_280 = Proud::ByteArray::vftable; + ppuVar25 = &local_2b8; + plVar10 = FUN_140071c20(&local_238,1,(ulonglong)*(uint *)(lVar9 + 0x6f8), + (longlong *)ppuVar25,(longlong)&local_280); + lVar27 = *plVar1; + (**(code **)(lVar27 + 0x80))(plVar1); + pppuVar8 = &local_280; + FUN_140049e40(pppuVar8); + puVar12 = local_2b8; + if (((local_2b8 != (uint *)0x0) && (local_2b8 != (uint *)PTR_DAT_14016f010)) && + (puVar16 = local_2b8 + -2, puVar16 != (uint *)0x0)) { + piVar11 = (int *)FUN_14003e7c0(pppuVar8,plVar10,lVar27,ppuVar25); + local_258 = piVar11; + FUN_14003d040(piVar11); + local_250 = 1; + puVar12 = puVar12 + -1; + *puVar12 = *puVar12 - 1; + if (*puVar12 == 0) { + FUN_14003e8b0(puVar16); + } + FUN_14003d0d0((longlong)piVar11); + local_250 = 0; + } + local_2b8 = (uint *)PTR_DAT_14016f010; + pvVar17 = local_208; + uVar24 = local_1f8; + } +LAB_14006ebdd: + puVar12 = (uint *)(ulonglong)(iVar22 + 1U); + param_1 = local_2a0; + } while ((int)(iVar22 + 1U) < (int)local_2b0); + } + param_3 = (int)local_2b0; + } + local_2b0 = (undefined8 *)FUN_14003e840(0xf8); + puVar12 = puVar20; + if (local_2b0 != (undefined8 *)0x0) { + puVar12 = FUN_140096650((undefined4 *)local_2b0); + } + if (puVar12 == (uint *)0x0) { + local_2b0 = (undefined8 *)0x0; + } + else { + local_2b0 = (undefined8 *)FUN_14003e840(0x10); + local_2b0[1] = 1; + *local_2b0 = puVar12; + } + puVar18 = local_2b0; + plVar10 = *(longlong **)(param_1 + 0x3d0); + puVar12 = puVar20; + if (local_2b0 != (undefined8 *)0x0) { + puVar12 = (uint *)*local_2b0; + } + lVar27 = *plVar10; + uVar28 = (**(code **)(*(longlong *)(local_2a0 + 0x70) + 8))(); + uVar7 = (**(code **)(lVar27 + 8))(plVar10,uVar28); + lVar27 = local_2a0; + *puVar12 = uVar7; + puVar12 = puVar20; + if (puVar18 != (undefined8 *)0x0) { + puVar12 = (uint *)*puVar18; + } + pppuVar8 = (undefined ***)(ulonglong)*puVar12; + uVar24 = (ulonglong)pppuVar8 % (ulonglong)*(uint *)(local_2a0 + 0x380); + puVar16 = (uint *)0x0; + if (*(longlong *)(local_2a0 + 0x360) != 0) { + for (puVar16 = *(uint **)(*(longlong *)(local_2a0 + 0x360) + uVar24 * 8); + (puVar16 != (uint *)0x0 && ((uint)uVar24 == puVar16[8] % *(uint *)(local_2a0 + 0x380))); + puVar16 = *(uint **)(puVar16 + 4)) { + pppuVar26 = local_2a8; + if (*puVar16 == *puVar12) goto LAB_14006eda8; + } + } + puVar13 = FUN_1400673e0((char *)(local_2a0 + 0x358),puVar12); + pppuVar26 = local_2a8; + if (puVar18 != *(undefined8 **)puVar13) { + if (puVar18 != (undefined8 *)0x0) { + puVar18[1] = puVar18[1] + 1; + puVar18 = local_2b0; + pppuVar26 = local_290; + } + puVar23 = puVar20; + if ((*(longlong *)puVar13 != 0) && + (*(longlong *)(*(longlong *)puVar13 + 8) = *(longlong *)(*(longlong *)puVar13 + 8) + -1, + puVar18 = local_2b0, pppuVar26 = local_290, *(longlong *)(*(longlong *)puVar13 + 8) == 0) + ) { + puVar23 = *(uint **)puVar13; + } + *(undefined8 **)puVar13 = puVar18; + if (puVar23 != (uint *)0x0) { + pvVar2 = *(LPVOID *)puVar23; + if (pvVar2 != (LPVOID)0x0) { + FUN_1400519b0((longlong)pvVar2,puVar12,puVar16,pppuVar8); + FUN_14003e8b0(pvVar2); + } + FUN_14003e8b0(puVar23); + lVar27 = local_2a0; + } + } +LAB_14006eda8: + puVar12 = puVar20; + if (puVar18 != (undefined8 *)0x0) { + puVar12 = (uint *)*puVar18; + } + *(undefined1 *)(puVar12 + 0x3c) = *param_5; + *(int *)(lVar27 + 0x16f0) = *(int *)(lVar27 + 0x16f0) + 1; + if (0 < param_3) { + local_2a8 = local_230; + puVar13 = puVar20; + do { + FUN_14004e000(local_230,(longlong)local_298,(SIZE_T)puVar16); + local_230[0] = Proud::ByteArray::vftable; + puVar12 = puVar20; + if (puVar18 != (undefined8 *)0x0) { + puVar12 = (uint *)*puVar18; + } + iVar22 = (int)puVar13; + lVar9 = (longlong)iVar22; + if ((iVar22 < 0) || (local_200 <= lVar9)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (local_1f8 < 0x65) { + puVar13 = local_1e8 + lVar9; + } + else { + puVar13 = (uint *)((longlong)local_208 + lVar9 * 4); + } + pppuVar8 = local_230; + puVar16 = (uint *)(ulonglong)*puVar12; + puVar12 = (uint *)(ulonglong)*puVar13; + FUN_14006a630((longlong)plVar1,*puVar13,puVar16,pppuVar8,*(undefined4 *)(lVar27 + 0x16f0)) + ; + puVar13 = (uint *)(ulonglong)(iVar22 + 1U); + } while ((int)(iVar22 + 1U) < param_3); + } + puVar3 = local_2b0; + if (puVar18 != (undefined8 *)0x0) { + puVar20 = (uint *)*puVar18; + } + uVar7 = *puVar20; + if (puVar18 != (undefined8 *)0x0) { + plVar1 = puVar18 + 1; + *plVar1 = *plVar1 + -1; + pppuVar26 = local_290; + if (*plVar1 == 0) { + pvVar2 = (LPVOID)*local_2b0; + if (pvVar2 != (LPVOID)0x0) { + FUN_1400519b0((longlong)pvVar2,puVar12,puVar16,pppuVar8); + FUN_14003e8b0(pvVar2); + } + FUN_14003e8b0(puVar3); + pppuVar26 = local_290; + } + } + if (100 < local_1f8) { + operator_delete__(local_208); + } + FUN_14003d0d0((longlong)pppuVar26); + FUN_140049e40(local_298); + return uVar7; + } + FUN_14003d0d0((longlong)pppuVar8); + } +LAB_14006eecd: + FUN_140049e40(param_4); + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14006ef00.c b/decomp/AgentManager_Release_x64/full/functions/0x14006ef00.c new file mode 100644 index 00000000..980c4c63 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14006ef00.c @@ -0,0 +1,317 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14006ef00 FUN_14006ef00 + * Pseudocode, not original source. */ + +ulonglong FUN_14006ef00(SIZE_T *param_1,uint *param_2,SIZE_T param_3,undefined4 param_4, + longlong param_5,LPVOID param_6,undefined4 param_7) + +{ + ulonglong *puVar1; + int iVar2; + void *pvVar3; + uint *puVar4; + LPVOID pvVar5; + longlong *plVar6; + undefined8 uVar7; + longlong *plVar8; + ulonglong uVar9; + uint *puVar10; + ulonglong uVar11; + uint **ppuVar12; + uint uVar13; + int *piVar14; + SIZE_T SVar15; + TypeDescriptor *pTVar16; + ulonglong uVar17; + longlong *plVar18; + longlong lVar19; + uint *local_res10; + ulonglong *local_78; + undefined **local_68; + undefined8 local_60; + undefined8 local_58; + undefined8 local_50; + undefined8 local_48; + + plVar18 = (longlong *)0x0; + local_res10 = param_2; + if (*(longlong *)(param_2 + 0x8a) == 0) { + pvVar3 = *(void **)(param_2 + 0x8a); + SVar15 = param_3; + if (pvVar3 != (void *)0x0) { + FUN_140049e40((undefined8 *)((longlong)pvVar3 + 8)); + operator_delete(pvVar3); + } + param_2[0x8a] = 0; + param_2[0x8b] = 0; + plVar6 = operator_new(0x40); + plVar8 = plVar18; + if (plVar6 != (longlong *)0x0) { + plVar6[2] = 0; + plVar6[3] = 0; + plVar6[4] = 0; + plVar6[5] = 0; + plVar6[1] = (longlong)Proud::ByteArray::vftable; + *(undefined4 *)plVar6 = 0; + *(undefined4 *)(plVar6 + 7) = 0; + plVar6[6] = 0; + plVar8 = plVar6; + } + *(longlong **)(param_2 + 0x8a) = plVar8; + *(int *)plVar8 = (int)param_3; + *(undefined4 *)(*(longlong *)(param_2 + 0x8a) + 4) = param_4; + lVar19 = *(longlong *)(param_2 + 0x8a); + iVar2 = *(int *)(param_5 + 0x18); + if (iVar2 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + FUN_14002a050(lVar19 + 8,iVar2,SVar15); + plVar8 = plVar18; + if (*(int *)(param_5 + 0x18) != 0) { + plVar8 = *(longlong **)(param_5 + 0x10); + } + plVar6 = plVar18; + if (*(int *)(lVar19 + 0x20) != 0) { + plVar6 = *(longlong **)(lVar19 + 0x18); + } + FUN_140006fb0(plVar6,plVar8,(longlong)iVar2); + *(undefined4 *)(*(longlong *)(param_2 + 0x8a) + 0x38) = param_7; + if (param_1[0x2fe] != 0) { + FUN_140084660(param_1[0x2fe],L"Issuedispose %dclient in %s",(ulonglong)param_2[0x1be],param_6) + ; + } + } + uVar13 = (uint)param_1[0x55]; + uVar11 = ((ulonglong)param_2 & 0xffffffff) % (ulonglong)uVar13; + if (param_1[0x51] != 0) { + for (plVar8 = *(longlong **)(param_1[0x51] + uVar11 * 8); + (plVar8 != (longlong *)0x0 && ((uint)uVar11 == *(uint *)(plVar8 + 4) % uVar13)); + plVar8 = (longlong *)plVar8[2]) { + if ((uint *)*plVar8 == param_2) { + return (ulonglong)*(uint *)(plVar8 + 4) / (ulonglong)uVar13; + } + } + } + if (*(longlong *)(param_2 + 0x8a) == 0) { + local_60 = 0; + local_58 = 0; + local_50 = 0; + local_48 = 0; + local_68 = Proud::ByteArray::vftable; + FUN_140066230((longlong)param_1,param_2,0xc,7,(longlong)&local_68); + FUN_140049e40(&local_68); + } + else { + puVar4 = *(uint **)(param_2 + 0x8a); + FUN_140066230((longlong)param_1,param_2,(ulonglong)*puVar4,(ulonglong)puVar4[1], + (longlong)(puVar4 + 2)); + } + lVar19 = (**(code **)(param_1[0x23] + 8))(); + uVar17 = (ulonglong)(uint)param_1[0x55]; + uVar9 = ((ulonglong)param_2 & 0xffffffff) % uVar17; + uVar11 = param_1[0x51]; + uVar13 = (uint)uVar9; + if (uVar11 != 0) { + plVar8 = *(longlong **)(uVar11 + uVar9 * 8); + while ((plVar8 != (longlong *)0x0 && + (ppuVar12 = (uint **)((ulonglong)*(uint *)(plVar8 + 4) % uVar17), + uVar13 == (uint)ppuVar12))) { + if ((uint *)*plVar8 == param_2) goto LAB_14006f1fa; + plVar8 = (longlong *)plVar8[2]; + } + if (uVar11 != 0) { + plVar8 = *(longlong **)(uVar11 + uVar9 * 8); + while ((plVar8 != (longlong *)0x0 && + (ppuVar12 = (uint **)((ulonglong)*(uint *)(plVar8 + 4) % uVar17), + uVar13 == (uint)ppuVar12))) { + if ((uint *)*plVar8 == param_2) goto LAB_14006f1f5; + plVar8 = (longlong *)plVar8[2]; + } + if (uVar11 != 0) goto LAB_14006f1c0; + } + } + uVar7 = FUN_14004c640((longlong)(param_1 + 0x50),(uint)param_1[0x55],'\x01'); + if ((char)uVar7 == '\0') { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x8007000e); + } +LAB_14006f1c0: + FUN_1400c8cb0((char *)(param_1 + 0x50)); + uVar17 = (ulonglong)param_2 & 0xffffffff; + ppuVar12 = &local_res10; + plVar8 = FUN_14004e780((char *)(param_1 + 0x50),ppuVar12,uVar13,(int)param_2); + FUN_1400c8cb0((char *)(param_1 + 0x50)); + uVar11 = uVar9; +LAB_14006f1f5: + plVar8[1] = lVar19; +LAB_14006f1fa: + FUN_140043a50(*(longlong **)(*(longlong *)(param_2 + 0x1d2) + 0x110),ppuVar12,uVar11,uVar17); + plVar8 = *(longlong **)(param_2 + 0x1d8); + if ((plVar8 != (longlong *)0x0) && (*plVar8 != 0)) { + plVar6 = plVar18; + if (plVar8 != (longlong *)0x0) { + plVar6 = (longlong *)*plVar8; + } + plVar8 = plVar18; + if ((undefined8 *)plVar6[0x2a] != (undefined8 *)0x0) { + plVar8 = *(longlong **)plVar6[0x2a]; + } + FUN_140043a50(plVar8,ppuVar12,uVar11,uVar17); + } + (**(code **)(*(longlong *)(param_2 + 0x28) + 0x40))(); + puVar4 = param_2 + 0x12; + if (*(longlong *)(param_2 + 0x1a) != 0) { + plVar18 = *(longlong **)(param_2 + 0x16); + } + do { + if (plVar18 == (longlong *)0x0) { + FUN_1400671e0((char *)puVar4,param_6,uVar11,uVar17); + uVar11 = FUN_1400656a0((char *)(param_1 + 0x5b),(longlong)param_2); + return uVar11; + } + if (plVar18 == (longlong *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + local_78 = (ulonglong *)0x0; + if (plVar18[1] != 0) { + *(longlong *)(plVar18[1] + 8) = *(longlong *)(plVar18[1] + 8) + 1; + local_78 = (ulonglong *)plVar18[1]; + param_2 = local_res10; + } + if (local_78 == (ulonglong *)0x0) { + puVar10 = (uint *)0x0; + } + else { + puVar10 = (uint *)*local_78; + } + FUN_140069560((longlong)param_1,puVar10,(ulonglong)param_2[0x1be],0xb); + if (local_78 == (ulonglong *)0x0) { + uVar11 = 0; + } + else { + uVar11 = *local_78; + } + if (*(longlong *)(uVar11 + 0x28) == 0) { + piVar14 = (int *)0x0; + } + else { + piVar14 = *(int **)(uVar11 + 0x18); + } + while( true ) { + if (local_78 == (ulonglong *)0x0) { + uVar9 = 0; + } + else { + uVar9 = *local_78; + } + if (piVar14 == (int *)0x0) break; + if (*piVar14 != 1) { + if (local_78 == (ulonglong *)0x0) { + uVar9 = 0; + } + else { + uVar9 = *local_78; + } + (**(code **)(param_1[0x95] + 0x80)) + (param_1 + 0x95,*piVar14,&DAT_140177f90,param_2 + 0x1be,uVar9); + } + piVar14 = *(int **)(piVar14 + 6); + } + if (uVar11 + 8 != uVar9 + 8) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + if (local_78 == (ulonglong *)0x0) { + uVar11 = 0; + } + else { + uVar11 = *local_78; + } + uVar9 = (ulonglong)param_2[0x1be]; + pTVar16 = (TypeDescriptor *)(uVar9 % (ulonglong)*(uint *)(uVar11 + 0x30)); + if (*(longlong *)(uVar11 + 0x10) != 0) { + puVar10 = *(uint **)(*(longlong *)(uVar11 + 0x10) + (longlong)pTVar16 * 8); + while( true ) { + if ((puVar10 == (uint *)0x0) || ((uint)pTVar16 != puVar10[10] % *(uint *)(uVar11 + 0x30))) + goto LAB_14006f3bb; + if (*puVar10 == param_2[0x1be]) break; + puVar10 = *(uint **)(puVar10 + 6); + } + uVar9 = 0; + FUN_14008cf20((char *)(uVar11 + 8),puVar10,'\0'); + } +LAB_14006f3bb: + if (local_78 == (ulonglong *)0x0) { + uVar11 = 0; + } + else { + uVar11 = *local_78; + } + if ((*(longlong *)(uVar11 + 0x28) == 0) && ((char)param_1[0x300] == '\0')) { + if (local_78 == (ulonglong *)0x0) { + puVar10 = (uint *)0x0; + } + else { + puVar10 = (uint *)*local_78; + } + uVar13 = *puVar10; + uVar11 = (ulonglong)(uint)param_1[0x85]; + if (param_1[0x81] != 0) { + puVar10 = *(uint **)(param_1[0x81] + ((ulonglong)uVar13 % uVar11) * 8); + while( true ) { + if ((puVar10 == (uint *)0x0) || + ((uint)((ulonglong)uVar13 % uVar11) != puVar10[8] % (uint)param_1[0x85])) + goto LAB_14006f492; + if (*puVar10 == uVar13) break; + puVar10 = *(uint **)(puVar10 + 4); + } + FUN_140065fe0((char *)(param_1 + 0x80),puVar10,0); + plVar8 = (longlong *)param_1[0x8f]; + lVar19 = *plVar8; + uVar7 = (**(code **)(param_1[0x23] + 8))(); + SVar15 = (SIZE_T)uVar13; + (**(code **)(lVar19 + 0x10))(plVar8,uVar7); + FUN_14006c700(param_1,uVar13,SVar15,uVar11); + } + } + else { + if (local_78 == (ulonglong *)0x0) { + puVar10 = (uint *)0x0; + } + else { + puVar10 = (uint *)*local_78; + } + FUN_140059c20((longlong)param_1,puVar10,uVar9,pTVar16); + } +LAB_14006f492: + if (local_78 == (ulonglong *)0x0) { + uVar11 = 0; + } + else { + uVar11 = *local_78; + } + uVar17 = 1; + param_6 = (LPVOID)(ulonglong)param_2[0x96]; + FUN_140037f20((longlong)(param_2 + 0x90),param_2[0x96],uVar11,1); + if (local_78 != (ulonglong *)0x0) { + puVar1 = local_78 + 1; + *puVar1 = *puVar1 - 1; + param_2 = local_res10; + if (*puVar1 == 0) { + pvVar5 = (LPVOID)*local_78; + if (pvVar5 != (LPVOID)0x0) { + FUN_1400519b0((longlong)pvVar5,param_6,uVar11,uVar17); + FUN_14003e8b0(pvVar5); + } + FUN_14003e8b0(local_78); + param_2 = local_res10; + } + } + if (plVar18 != (longlong *)0x0) { + plVar18 = (longlong *)plVar18[2]; + } + } while( true ); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14006f560.c b/decomp/AgentManager_Release_x64/full/functions/0x14006f560.c new file mode 100644 index 00000000..bf32576c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14006f560.c @@ -0,0 +1,95 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14006f560 FUN_14006f560 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x00014006f750) */ + +void FUN_14006f560(longlong param_1,undefined8 param_2,SIZE_T param_3,undefined8 param_4) + +{ + uint uVar1; + longlong *plVar2; + LPVOID pvVar3; + undefined8 uVar4; + int *piVar5; + longlong lVar6; + uint *puVar7; + ulonglong uVar8; + LPVOID pvVar9; + longlong *local_res8; + + piVar5 = (int *)(**(code **)(*(longlong *)(param_1 + -0xa8) + 0x58)) + (param_1 + -0xa8,param_2,param_3,param_4,0xfffffffffffffffe); + FUN_14003d040(piVar5); + if (DAT_14017614f != '\0') { + (**(code **)(*(longlong *)(param_1 + -0xa8) + 200)) + (param_1 + -0xa8,L"Proud::CNetServerImpl::DestroyEmptyP2PGroups"); + } + if (*(longlong *)(param_1 + 0x378) == 0) { + pvVar9 = (LPVOID)0x0; + } + else { + pvVar9 = *(LPVOID *)(param_1 + 0x368); + } + while( true ) { + if (pvVar9 == (LPVOID)0x0) { + FUN_14003d0d0((longlong)piVar5); + return; + } + uVar8 = (ulonglong)(pvVar9 != (LPVOID)0x0); + if (pvVar9 == (LPVOID)0x0) break; + local_res8 = (longlong *)0x0; + if (*(longlong *)((longlong)pvVar9 + 8) != 0) { + *(longlong *)(*(longlong *)((longlong)pvVar9 + 8) + 8) = + *(longlong *)(*(longlong *)((longlong)pvVar9 + 8) + 8) + 1; + local_res8 = *(longlong **)((longlong)pvVar9 + 8); + } + if (local_res8 == (longlong *)0x0) { + lVar6 = 0; + } + else { + lVar6 = *local_res8; + } + if (*(longlong *)(lVar6 + 0x28) == 0) { + if (local_res8 == (longlong *)0x0) { + puVar7 = (uint *)0x0; + } + else { + puVar7 = (uint *)*local_res8; + } + uVar1 = *puVar7; + if (pvVar9 == (LPVOID)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + pvVar3 = *(LPVOID *)((longlong)pvVar9 + 0x10); + FUN_140065fe0((char *)(param_1 + 0x358),pvVar9,0); + plVar2 = *(longlong **)(param_1 + 0x3d0); + lVar6 = *plVar2; + uVar4 = (**(code **)(*(longlong *)(param_1 + 0x70) + 8))(); + param_3 = (SIZE_T)uVar1; + (**(code **)(lVar6 + 0x10))(plVar2,uVar4); + uVar8 = (ulonglong)uVar1; + FUN_14006c700((SIZE_T *)(param_1 + -0xa8),uVar1,param_3,param_4); + pvVar9 = pvVar3; + } + else if (pvVar9 != (LPVOID)0x0) { + pvVar9 = *(LPVOID *)((longlong)pvVar9 + 0x10); + } + if (local_res8 != (longlong *)0x0) { + plVar2 = local_res8 + 1; + *plVar2 = *plVar2 + -1; + if (*plVar2 == 0) { + pvVar3 = (LPVOID)*local_res8; + if (pvVar3 != (LPVOID)0x0) { + FUN_1400519b0((longlong)pvVar3,uVar8,param_3,param_4); + FUN_14003e8b0(pvVar3); + } + FUN_14003e8b0(local_res8); + } + } + } + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14006f780.c b/decomp/AgentManager_Release_x64/full/functions/0x14006f780.c new file mode 100644 index 00000000..9387d6ce --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14006f780.c @@ -0,0 +1,475 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14006f780 FUN_14006f780 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x00014006f8e1) */ +/* WARNING: Removing unreachable block (ram,0x00014006f8ed) */ +/* WARNING: Removing unreachable block (ram,0x00014006f8e5) */ +/* WARNING: Removing unreachable block (ram,0x00014006f8f3) */ +/* WARNING: Removing unreachable block (ram,0x00014006f883) */ +/* WARNING: Removing unreachable block (ram,0x00014006f88f) */ +/* WARNING: Removing unreachable block (ram,0x00014006f887) */ +/* WARNING: Removing unreachable block (ram,0x00014006f895) */ +/* WARNING: Removing unreachable block (ram,0x00014006f941) */ +/* WARNING: Removing unreachable block (ram,0x00014006f94d) */ +/* WARNING: Removing unreachable block (ram,0x00014006f946) */ +/* WARNING: Removing unreachable block (ram,0x00014006f953) */ + +void FUN_14006f780(SIZE_T *param_1,undefined8 param_2,SIZE_T param_3,undefined ***param_4) + +{ + undefined **ppuVar1; + undefined8 *puVar2; + longlong *plVar3; + uint uVar4; + int iVar5; + int iVar6; + int iVar7; + longlong *plVar8; + undefined ***pppuVar9; + undefined *puVar10; + longlong *plVar11; + undefined ***pppuVar12; + undefined ***pppuVar13; + undefined8 uVar14; + undefined **ppuVar15; + undefined **ppuVar16; + undefined ***pppuVar17; + longlong lVar18; + longlong lVar19; + longlong *plVar20; + undefined ***pppuVar21; + size_t _Size; + undefined ***pppuVar22; + undefined ***pppuVar23; + int iVar24; + undefined ***local_res10; + undefined ***local_res18; + undefined **local_168; + undefined ***local_160; + undefined **local_158; + undefined ***local_150; + undefined ***local_148; + undefined8 local_140; + undefined8 local_138; + undefined8 local_130; + longlong local_128; + longlong local_120; + ulonglong local_118; + longlong *local_110; + undefined ***local_108; + undefined4 local_fc; + undefined8 local_f8; + longlong local_f0; + longlong local_e8; + ulonglong local_e0; + undefined ***local_d8; + undefined ***local_d0; + undefined4 local_c4; + undefined **local_c0; + undefined ***local_b8; + undefined ***local_b0; + undefined8 local_a8; + undefined8 local_a0; + uint local_98 [2]; + longlong local_90; + longlong local_88; + undefined4 local_80; + int local_7c; + int *local_70; + undefined1 local_68; + undefined8 local_60; + undefined8 local_58 [4]; + + local_60 = 0xfffffffffffffffe; + local_70 = (int *)(**(code **)(*param_1 + 0x58))(); + FUN_14003d040(local_70); + local_68 = 1; + if (DAT_14017614f != '\0') { + param_3 = *param_1; + (**(code **)(param_3 + 200))(param_1,L"Proud::CNetServerImpl::TestReliableUdpFrame"); + } + plVar8 = FUN_1400417c0(local_58); + pppuVar9 = (undefined ***)FUN_14003e910(0x800,plVar8,param_3,param_4); + pppuVar23 = (undefined ***)0x0; + local_150 = (undefined ***)0x0; + local_148 = (undefined ***)0x0; + local_140 = 0; + local_138 = 0; + local_158 = Proud::CUncompressedFrameNumberArray::vftable; + local_res18 = pppuVar9; + if (pppuVar9 == (undefined ***)0x0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_150 = pppuVar9; + FUN_14004cce0((longlong)&local_158,1,param_3); + lVar18 = (longlong)(int)local_140; + pppuVar12 = local_148; + if ((int)local_140 == 0) { + pppuVar12 = pppuVar23; + } + *(uint *)pppuVar12 = 5; + if ((int)local_140 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + FUN_14004cce0((longlong)&local_158,(int)local_140 + 1,param_3); + lVar19 = (longlong)(int)local_140; + pppuVar12 = local_148; + if ((int)local_140 == 0) { + pppuVar12 = pppuVar23; + } + *(uint *)((longlong)pppuVar12 + lVar18 * 4) = 1; + if ((int)local_140 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + FUN_14004cce0((longlong)&local_158,(int)local_140 + 1,param_3); + lVar18 = (longlong)(int)local_140; + pppuVar12 = local_148; + if ((int)local_140 == 0) { + pppuVar12 = pppuVar23; + } + *(uint *)((longlong)pppuVar12 + lVar19 * 4) = 2; + if ((int)local_140 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + FUN_14004cce0((longlong)&local_158,(int)local_140 + 1,param_3); + pppuVar23 = local_148; + iVar5 = (int)local_140; + lVar19 = (longlong)(int)local_140; + pppuVar12 = local_148; + if ((int)local_140 == 0) { + pppuVar12 = (undefined ***)0x0; + } + *(uint *)((longlong)pppuVar12 + lVar18 * 4) = 4; + pppuVar12 = local_148; + if ((int)local_140 == 0) { + pppuVar12 = (undefined ***)0x0; + } + _Size = 0; + uVar14 = 4; + FUN_14004d0b0((longlong)pppuVar12,4,0); + if (iVar5 < 1) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(pppuVar12,uVar14,_Size,param_4); + } + if (*(uint *)pppuVar23 == 1) { + if (iVar5 < 2) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(pppuVar12,uVar14,_Size,param_4); + } + if (*(uint *)((longlong)pppuVar23 + 4) != 2) goto LAB_14006f9d7; + if (iVar5 < 3) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(pppuVar12,uVar14,_Size,param_4); + } + if (*(uint *)(pppuVar23 + 1) != 4) goto LAB_14006f9d7; + if (iVar5 < 4) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(pppuVar12,uVar14,_Size,param_4); + } + if (*(uint *)((longlong)pppuVar23 + 0xc) != 5) goto LAB_14006f9d7; + } + else { +LAB_14006f9d7: + FUN_14003e7c0(pppuVar12,uVar14,_Size,param_4); + local_res10 = (undefined ***)PTR_DAT_14016f010; + uVar4 = FUN_14003e620(L"Proud.QuickSort() failed!"); + puVar10 = FUN_140001ee0((longlong *)&local_res10,uVar4); + _Size = (size_t)uVar4; + FUN_14003e650(puVar10,L"Proud.QuickSort() failed!",uVar4); + FUN_140001fc0((longlong *)&local_res10); + FUN_14006c890(param_1,(wchar_t *)&local_res10,_Size,param_4); + } + plVar20 = (longlong *)0x0; + local_118 = 0; + local_120 = 0; + local_128 = 0; + local_110 = (longlong *)0x0; + local_130 = 0; + local_fc = 0; + pppuVar12 = &local_168; + local_108 = pppuVar9; + plVar11 = FUN_14005b3e0((longlong *)pppuVar12,(longlong *)pppuVar9,_Size,param_4); + plVar3 = local_110; + plVar8 = (longlong *)*plVar11; + if (plVar8 != (longlong *)0x0) { + plVar8[1] = plVar8[1] + 1; + plVar20 = plVar8; + } + if (local_110 != (longlong *)0x0) { + plVar8 = local_110 + 1; + *plVar8 = *plVar8 + -1; + if (*plVar8 == 0) { + puVar2 = (undefined8 *)*local_110; + local_res10 = local_108; + *puVar2 = Proud::CFastArray::vftable; + if ((LPVOID)puVar2[2] != (LPVOID)0x0) { + if ((longlong *)puVar2[1] == (longlong *)0x0) { + FUN_14003e8b0((LPVOID)puVar2[2]); + } + else { + (**(code **)(*(longlong *)puVar2[1] + 0x18))(); + } + } + (*(code *)(*local_res10)[3])(local_res10,puVar2); + (*(code *)(*local_108)[3])(local_108,plVar3); + pppuVar12 = local_108; + } + } + pppuVar13 = local_160; + ppuVar15 = local_168; + pppuVar21 = (undefined ***)0x0; + local_108 = (undefined ***)plVar11[1]; + ppuVar16 = Proud::CFastArray::vftable; + pppuVar17 = pppuVar21; + pppuVar22 = pppuVar21; + local_110 = plVar20; + if (local_168 != (undefined **)0x0) { + ppuVar1 = local_168 + 1; + *ppuVar1 = *ppuVar1 + -1; + if (*ppuVar1 == (undefined *)0x0) { + puVar2 = (undefined8 *)*local_168; + *puVar2 = Proud::CFastArray::vftable; + if ((LPVOID)puVar2[2] != (LPVOID)0x0) { + if ((longlong *)puVar2[1] == (longlong *)0x0) { + FUN_14003e8b0((LPVOID)puVar2[2]); + } + else { + (**(code **)(*(longlong *)puVar2[1] + 0x18))(); + } + } + (*(code *)(*pppuVar13)[3])(pppuVar13,puVar2); + pppuVar12 = local_160; + (*(code *)(*local_160)[3])(); + ppuVar16 = ppuVar15; + } + } + do { + if (((longlong)pppuVar22 < 0) || (iVar5 <= (int)pppuVar17)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(pppuVar12,ppuVar16,_Size,param_4); + } + pppuVar12 = pppuVar21; + if (local_110 != (longlong *)0x0) { + pppuVar12 = (undefined ***)*local_110; + } + ppuVar16 = (undefined **)(ulonglong)*(uint *)((longlong)pppuVar23 + (longlong)pppuVar22 * 4); + FUN_140098080((longlong)pppuVar12,ppuVar16,_Size,param_4); + uVar4 = (int)pppuVar17 + 1; + pppuVar17 = (undefined ***)(ulonglong)uVar4; + pppuVar22 = (undefined ***)((longlong)pppuVar22 + 1); + } while ((int)uVar4 < iVar5); + FUN_140074fb0(local_98); + FUN_140074a40((longlong)local_98,ppuVar16,_Size,param_4); + pppuVar12 = pppuVar21; + if (local_110 != (longlong *)0x0) { + pppuVar12 = (undefined ***)*local_110; + } + FUN_1400982f0((longlong)pppuVar12,(longlong)local_98,_Size,param_4); + FUN_140074bb0((int *)local_98,0,_Size,param_4); + local_e0 = 0; + local_e8 = 0; + local_f0 = 0; + local_d8 = (undefined ***)0x0; + local_f8 = 0; + local_c4 = 0; + local_d0 = pppuVar9; + local_res10 = (undefined ***) + FUN_14005b3e0((longlong *)&local_168,(longlong *)pppuVar9,_Size,param_4); + pppuVar17 = local_d0; + pppuVar13 = local_d8; + pppuVar12 = (undefined ***)*local_res10; + if (pppuVar12 != (undefined ***)0x0) { + pppuVar12[1] = (undefined **)((longlong)pppuVar12[1] + 1); + pppuVar21 = pppuVar12; + } + if (local_d8 != (undefined ***)0x0) { + pppuVar12 = local_d8 + 1; + *pppuVar12 = (undefined **)((longlong)*pppuVar12 + -1); + if (*pppuVar12 == (undefined **)0x0) { + ppuVar15 = *local_d8; + *ppuVar15 = (undefined *)Proud::CFastArray::vftable; + if (ppuVar15[2] != (undefined *)0x0) { + if ((longlong *)ppuVar15[1] == (longlong *)0x0) { + FUN_14003e8b0(ppuVar15[2]); + } + else { + (**(code **)(*(longlong *)ppuVar15[1] + 0x18))(); + } + } + (*(code *)(*pppuVar17)[3])(pppuVar17,ppuVar15); + (*(code *)(*local_d0)[3])(local_d0,pppuVar13); + } + } + pppuVar12 = local_160; + pppuVar13 = (undefined ***)0x0; + local_d0 = (undefined ***)local_res10[1]; + local_d8 = pppuVar21; + if (local_168 != (undefined **)0x0) { + ppuVar15 = local_168 + 1; + *ppuVar15 = *ppuVar15 + -1; + if (*ppuVar15 == (undefined *)0x0) { + puVar2 = (undefined8 *)*local_168; + *puVar2 = Proud::CFastArray::vftable; + if ((LPVOID)puVar2[2] != (LPVOID)0x0) { + if ((longlong *)puVar2[1] == (longlong *)0x0) { + FUN_14003e8b0((LPVOID)puVar2[2]); + } + else { + (**(code **)(*(longlong *)puVar2[1] + 0x18))(); + } + } + (*(code *)(*pppuVar12)[3])(pppuVar12,puVar2); + (*(code *)(*local_160)[3])(local_160,local_168); + } + } + pppuVar12 = pppuVar13; + if (local_d8 != (undefined ***)0x0) { + pppuVar12 = (undefined ***)*local_d8; + } + FUN_140097e40((uint *)pppuVar12,local_98,_Size,param_4); + local_b0 = (undefined ***)0x0; + local_a8 = 0; + local_a0 = 0; + local_c0 = Proud::CUncompressedFrameNumberArray::vftable; + pppuVar12 = pppuVar13; + if (local_d8 != (undefined ***)0x0) { + pppuVar12 = (undefined ***)*local_d8; + } + pppuVar17 = &local_c0; + local_b8 = pppuVar9; + FUN_1400981d0((longlong)pppuVar12,(longlong)pppuVar17,_Size,param_4); + pppuVar21 = local_b0; + iVar24 = 0; + if (iVar5 == (int)local_a8) { + pppuVar12 = pppuVar23; + if (iVar5 == 0) { + pppuVar12 = pppuVar13; + } + pppuVar17 = local_b0; + if ((int)local_a8 == 0) { + pppuVar17 = pppuVar13; + } + _Size = lVar19 << 2; + iVar5 = memcmp(pppuVar12,pppuVar17,_Size); + if (iVar5 == 0) goto LAB_14006feba; + } + FUN_14003e7c0(pppuVar12,pppuVar17,_Size,param_4); + local_res10 = (undefined ***)PTR_DAT_14016f010; + iVar6 = FUN_14003e620(L"FrameNumberList pack/unpack failed!"); + iVar5 = iVar24; + if ((local_res10 != (undefined ***)0x0) && (local_res10 != (undefined ***)PTR_DAT_14016f010)) { + iVar5 = *(int *)(local_res10 + -1); + } + iVar7 = iVar6; + if (((iVar6 <= iVar5) && (iVar7 = iVar24, local_res10 != (undefined ***)0x0)) && + (local_res10 != (undefined ***)PTR_DAT_14016f010)) { + iVar7 = *(int *)(local_res10 + -1); + } + iVar5 = 1; + if (1 < iVar7) { + iVar5 = iVar7; + } + iVar7 = iVar24; + if ((local_res10 != (undefined ***)0x0) && (local_res10 != (undefined ***)PTR_DAT_14016f010)) { + iVar7 = *(int *)(local_res10 + -1); + } + if (iVar7 < iVar5) { + FUN_140001d10((longlong *)&local_res10,iVar5); + } + FUN_140001df0((longlong *)&local_res10); + pppuVar12 = local_res10; + if (local_res10 == (undefined ***)0x0) { + pppuVar12 = (undefined ***)PTR_DAT_14016f010; + } + FUN_14003e650(pppuVar12,L"FrameNumberList pack/unpack failed!",iVar6); + pppuVar12 = local_res10; + if (local_res10 == (undefined ***)0x0) { + pppuVar12 = (undefined ***)PTR_DAT_14016f010; + } + uVar4 = FUN_14003e620((short *)pppuVar12); + puVar10 = PTR_DAT_14016f010; + if (0 < (int)uVar4) { + pppuVar13 = (undefined ***)(ulonglong)uVar4; + } + iVar5 = (int)pppuVar13; + if ((local_res10 != (undefined ***)0x0) && (local_res10 != (undefined ***)PTR_DAT_14016f010)) { + iVar24 = *(int *)(local_res10 + -1); + } + if ((iVar5 < iVar24) || (iVar5 = 0, local_res10 == (undefined ***)0x0)) { +LAB_14006fe85: + if (((local_res10 != (undefined ***)PTR_DAT_14016f010) && (local_res10 != (undefined ***)0x0)) + && (local_res10 + -1 != (undefined ***)0x0)) { + *(int *)(local_res10 + -1) = iVar5; + *(undefined2 *)((longlong)local_res10 + (longlong)iVar5 * 2) = 0; + } + } + else if (local_res10 != (undefined ***)PTR_DAT_14016f010) { + iVar5 = *(int *)(local_res10 + -1); + goto LAB_14006fe85; + } + FUN_14006c890(param_1,(wchar_t *)&local_res10,(SIZE_T)puVar10,param_4); + pppuVar21 = local_b0; +LAB_14006feba: + local_c0 = Proud::CFastArray::vftable; + if (pppuVar21 != (undefined ***)0x0) { + if (local_b8 == (undefined ***)0x0) { + FUN_14003e8b0(pppuVar21); + } + else { + (*(code *)(*local_b8)[3])(local_b8,pppuVar21); + } + } + if (local_d8 != (undefined ***)0x0) { + pppuVar12 = local_d8 + 1; + *pppuVar12 = (undefined **)((longlong)*pppuVar12 + -1); + if (*pppuVar12 == (undefined **)0x0) { + FUN_1400512a0((longlong)&local_d8,(longlong *)local_d8); + } + } + FUN_14008a320(&local_f0); + if (local_e8 != 0) { + if ((longlong)local_e0 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_e0 = local_e0 & 0xffffffff00000000; + } + FUN_14008a320(&local_90); + if (local_88 != 0) { + if (local_7c < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_80 = 0; + } + if (local_110 != (longlong *)0x0) { + plVar8 = local_110 + 1; + *plVar8 = *plVar8 + -1; + if (*plVar8 == 0) { + FUN_1400512a0((longlong)&local_110,local_110); + } + } + FUN_14008a320(&local_128); + if (local_120 != 0) { + if ((longlong)local_118 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_118 = local_118 & 0xffffffff00000000; + } + if (local_150 == (undefined ***)0x0) { + FUN_14003e8b0(pppuVar23); + } + else { + (*(code *)(*local_150)[3])(local_150,pppuVar23); + } + (*(code *)**pppuVar9)(pppuVar9,1); + FUN_14003d0d0((longlong)local_70); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140070020.c b/decomp/AgentManager_Release_x64/full/functions/0x140070020.c new file mode 100644 index 00000000..7db03b9d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140070020.c @@ -0,0 +1,32 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140070020 FUN_140070020 + * Pseudocode, not original source. */ + +void FUN_140070020(SIZE_T *param_1,uint *param_2) + +{ + double dVar1; + undefined **local_30; + undefined8 local_28; + undefined8 local_20; + undefined8 local_18; + undefined8 local_10; + + if (0.0 < *(double *)(param_2 + 0x1d6)) { + dVar1 = (double)(**(code **)(param_1[0x23] + 8))(); + if (5.0 < dVar1 - *(double *)(param_2 + 0x1d6)) { + param_2[0x1d6] = 0; + param_2[0x1d7] = 0; + local_28 = 0; + local_20 = 0; + local_18 = 0; + local_10 = 0; + local_30 = Proud::ByteArray::vftable; + FUN_14006ef00(param_1,param_2,0xc,7,(longlong)&local_30, + L"Proud::CNetServerImpl::HardDisconnect_AutoPruneGoesTooLongClient",0); + FUN_140049e40(&local_30); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400700f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400700f0.c new file mode 100644 index 00000000..2af7cddd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400700f0.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400700f0 FUN_1400700f0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400700f0(longlong param_1,uint param_2) + +{ + SIZE_T *pSVar1; + ulonglong uVar2; + int *piVar3; + undefined8 uVar4; + uint *puVar5; + + piVar3 = (int *)(**(code **)(**(longlong **)(param_1 + 0x20) + 0x58))(); + FUN_14003d040(piVar3); + if (DAT_14017614f != '\0') { + (**(code **)(**(longlong **)(param_1 + 0x20) + 200))(); + } + pSVar1 = *(SIZE_T **)(param_1 + 0x20); + uVar2 = (ulonglong)param_2 % (ulonglong)(uint)pSVar1[0x194]; + if ((pSVar1[400] != 0) && (puVar5 = *(uint **)(pSVar1[400] + uVar2 * 8), puVar5 != (uint *)0x0)) { + while ((uint)uVar2 == puVar5[8] % (uint)pSVar1[0x194]) { + if (*puVar5 == param_2) { + puVar5 = *(uint **)(puVar5 + 2); + if ((puVar5 != (uint *)0x0) && (*(longlong *)(puVar5 + 0x8a) == 0)) { + FUN_14006ef00(pSVar1,puVar5,0xb,3,(longlong)(puVar5 + 0x7e), + L"Proud::CNetServerImpl::C2SStub::ShutdownTcpHandshake",0); + } + break; + } + puVar5 = *(uint **)(puVar5 + 4); + if (puVar5 == (uint *)0x0) break; + } + } + uVar4 = FUN_14003d0d0((longlong)piVar3); + return CONCAT71((int7)((ulonglong)uVar4 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140070200.c b/decomp/AgentManager_Release_x64/full/functions/0x140070200.c new file mode 100644 index 00000000..19e7cf8e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140070200.c @@ -0,0 +1,315 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140070200 FUN_140070200 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x0001400703f9) */ +/* WARNING: Removing unreachable block (ram,0x00014007048d) */ + +void FUN_140070200(longlong param_1,wchar_t *param_2,longlong param_3,undefined8 param_4) + +{ + int *piVar1; + char *pcVar2; + void *pvVar3; + int *piVar4; + undefined8 uVar5; + undefined ***pppuVar6; + undefined ***pppuVar7; + longlong *plVar8; + undefined ***pppuVar9; + longlong lVar10; + wchar_t *pwVar11; + longlong lVar12; + undefined8 *puVar13; + int iVar14; + ulonglong uVar15; + longlong *plVar16; + uint uVar17; + ulonglong uVar18; + undefined ***local_res8; + undefined4 local_148; + undefined4 uStack_144; + undefined **local_f8; + undefined8 local_f0; + undefined8 local_e8; + undefined8 local_e0; + undefined8 local_d8; + undefined **local_d0; + undefined8 local_c8; + undefined8 local_c0; + undefined8 local_b8; + undefined8 local_b0; + undefined4 local_a8; + undefined4 uStack_a4; + undefined8 uStack_a0; + int *local_98; + undefined1 local_90; + undefined8 local_88; + exception local_80 [72]; + + local_88 = 0xfffffffffffffffe; + piVar1 = (int *)(param_1 + 0xb8); + FUN_14003d040(piVar1); + uStack_a0 = (char *)CONCAT44(uStack_a0._4_4_,(undefined4)uStack_a0); + if ((*(longlong **)(param_1 + 0x6a0) != (longlong *)0x0) && + (uStack_a0 = (char *)CONCAT44(uStack_a0._4_4_,(undefined4)uStack_a0), + **(longlong **)(param_1 + 0x6a0) != 0)) { + piVar4 = (int *)(**(code **)(*(longlong *)(param_1 + -0xa8) + 0x58))(param_1 + -0xa8); + FUN_14003d040(piVar4); + if (DAT_14017614f != '\0') { + param_3 = *(longlong *)(param_1 + -0xa8); + param_2 = L"Proud::CNetServerImpl::Stop"; + (**(code **)(param_3 + 200))(param_1 + -0xa8); + } + if ((*(int **)(param_1 + 0x338) != (int *)0x0) && + (uVar5 = FUN_14007b1c0(*(int **)(param_1 + 0x338),param_2,param_3,param_4), + (char)uVar5 != '\0')) { + FUN_14003d0d0((longlong)piVar1); + FUN_14003d0d0((longlong)piVar4); + FUN_14003db10(local_80,L"Call Stop in UserWorker",param_3,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_80,(ThrowInfo *)&DAT_14016c210); + } + FUN_14003d0d0((longlong)piVar4); + if ((*(undefined8 **)(param_1 + 0x6a0) != (undefined8 *)0x0) && + (plVar16 = (longlong *)**(undefined8 **)(param_1 + 0x6a0), plVar16 != (longlong *)0x0)) { + FUN_140043a50(plVar16,param_2,param_3,param_4); + } + pppuVar6 = (undefined ***)(**(code **)(*(longlong *)(param_1 + -0xa8) + 0x58))(param_1 + -0xa8); + pppuVar7 = pppuVar6; + FUN_14003d040((int *)pppuVar6); + if (DAT_14017614f != '\0') { + param_2 = L"Proud::CNetServerImpl::Stop"; + pppuVar7 = (undefined ***)(param_1 + -0xa8); + (**(code **)(*(longlong *)(param_1 + -0xa8) + 200))(); + } + lVar10 = 0; + if (*(longlong *)(param_1 + 0x1660) != 0) { + lVar10 = *(longlong *)(param_1 + 0x1650); + } + while (lVar12 = lVar10, lVar12 != 0) { + local_c8 = 0; + local_c0 = 0; + local_b8 = 0; + local_b0 = 0; + local_d0 = Proud::ByteArray::vftable; + param_4 = 3; + param_2 = *(wchar_t **)(lVar12 + 0x10); + FUN_14006ef00((SIZE_T *)(param_1 + -0xa8),(uint *)param_2,0xc,3,(longlong)&local_d0, + L"Proud::CNetServerImpl::Stop",0); + pppuVar7 = &local_d0; + FUN_140049e40(pppuVar7); + lVar10 = 0; + if (lVar12 != 0) { + lVar10 = *(longlong *)(lVar12 + 0x18); + } + } + lVar10 = 0; + if (*(longlong *)(param_1 + 0xbf0) != 0) { + lVar10 = *(longlong *)(param_1 + 0xbe0); + } + while (lVar12 = lVar10, uVar15 = 0, lVar12 != 0) { + local_f0 = 0; + local_e8 = 0; + local_e0 = 0; + local_d8 = 0; + local_f8 = Proud::ByteArray::vftable; + param_4 = 3; + param_2 = *(wchar_t **)(lVar12 + 8); + FUN_14006ef00((SIZE_T *)(param_1 + -0xa8),(uint *)param_2,0xc,3,(longlong)&local_f8, + L"Proud::CNetServerImpl::Stop",0); + pppuVar7 = &local_f8; + FUN_140049e40(pppuVar7); + lVar10 = 0; + if (lVar12 != 0) { + lVar10 = *(longlong *)(lVar12 + 0x10); + } + } + uVar18 = uVar15; + if (0 < *(int *)(param_1 + 0x638)) { + do { + pppuVar9 = (undefined ***)0x0; + if (((longlong)uVar15 < 0) || (*(int *)(param_1 + 0x638) <= (int)uVar18)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(pppuVar7,param_2,0,param_4); + } + param_2 = *(wchar_t **)(param_1 + 0x630); + local_res8 = (undefined ***)0x0; + if (*(longlong *)(param_2 + uVar15 * 4) != 0) { + *(longlong *)(*(longlong *)(param_2 + uVar15 * 4) + 8) = + *(longlong *)(*(longlong *)(param_2 + uVar15 * 4) + 8) + 1; + local_res8 = *(undefined ****)(param_2 + uVar15 * 4); + } + pppuVar7 = pppuVar9; + if (local_res8 != (undefined ***)0x0) { + pppuVar7 = (undefined ***)*local_res8; + } + if (pppuVar7[0x2a] != (undefined **)0x0) { + pppuVar9 = (undefined ***)*pppuVar7[0x2a]; + } + FUN_140043a50((longlong *)pppuVar9,param_2,0,param_4); + pppuVar7 = pppuVar9; + if (local_res8 != (undefined ***)0x0) { + pppuVar9 = local_res8 + 1; + *pppuVar9 = (undefined **)((longlong)*pppuVar9 + -1); + if (*pppuVar9 == (undefined **)0x0) { + if (*local_res8 != (undefined **)0x0) { + param_2 = (wchar_t *)0x1; + (**(code **)**local_res8)(); + } + FUN_14003e8b0(local_res8); + pppuVar7 = local_res8; + } + } + uVar17 = (int)uVar18 + 1; + uVar15 = uVar15 + 1; + uVar18 = (ulonglong)uVar17; + } while ((int)uVar17 < *(int *)(param_1 + 0x638)); + } + plVar16 = (longlong *)0x0; + FUN_14003d0d0((longlong)pppuVar6); + iVar14 = 0; + do { + piVar4 = (int *)(**(code **)(*(longlong *)(param_1 + -0xa8) + 0x58))(param_1 + -0xa8); + FUN_14003d040(piVar4); + if (DAT_14017614f != '\0') { + plVar16 = *(longlong **)(param_1 + -0xa8); + param_2 = L"Proud::CNetServerImpl::Stop"; + (*(code *)plVar16[0x19])(param_1 + -0xa8); + } + if (((*(longlong *)(param_1 + 0xbf0) == 0) && (*(longlong *)(param_1 + 0x1660) == 0)) && + (*(longlong *)(param_1 + 0x1f8) == 0)) { + FUN_14003d0d0((longlong)piVar4); + break; + } + FUN_14003d0d0((longlong)piVar4); + Sleep(100); + iVar14 = iVar14 + 1; + } while (iVar14 < 10000); + piVar4 = *(int **)(param_1 + 0x338); + if (piVar4 != (int *)0x0) { + FUN_14007f670(piVar4,param_2,plVar16,param_4); + operator_delete(piVar4); + } + puVar13 = (undefined8 *)0x0; + *(undefined8 *)(param_1 + 0x338) = 0; + piVar4 = (int *)(**(code **)(*(longlong *)(param_1 + -0xa8) + 0x58))(param_1 + -0xa8); + FUN_14003d040(piVar4); + if (DAT_14017614f != '\0') { + plVar16 = *(longlong **)(param_1 + -0xa8); + param_2 = L"Proud::CNetServerImpl::Stop"; + (*(code *)plVar16[0x19])(param_1 + -0xa8); + } + pvVar3 = *(void **)(param_1 + 0x6e0); + if (pvVar3 != (void *)0x0) { + FUN_140047d90((longlong)pvVar3,(longlong *)param_2,plVar16,param_4); + operator_delete(pvVar3); + } + *(undefined8 *)(param_1 + 0x6e0) = 0; + pvVar3 = *(void **)(param_1 + 0x6e8); + if (pvVar3 != (void *)0x0) { + FUN_140047d90((longlong)pvVar3,(longlong *)param_2,plVar16,param_4); + operator_delete(pvVar3); + } + *(undefined8 *)(param_1 + 0x6e8) = 0; + FUN_140048920((char *)(param_1 + 0x6b8)); + if (*(longlong *)(param_1 + 0x6a0) != 0) { + *(longlong *)(*(longlong *)(param_1 + 0x6a0) + 8) = + *(longlong *)(*(longlong *)(param_1 + 0x6a0) + 8) + -1; + if (*(longlong *)(*(longlong *)(param_1 + 0x6a0) + 8) == 0) { + puVar13 = *(undefined8 **)(param_1 + 0x6a0); + } + *(undefined8 *)(param_1 + 0x6a0) = 0; + if (puVar13 != (undefined8 *)0x0) { + plVar8 = (longlong *)*puVar13; + if (plVar8 != (longlong *)0x0) { + FUN_140043e60(plVar8,param_2,plVar16,param_4); + FUN_14003e8b0(plVar8); + } + FUN_14003e8b0(puVar13); + } + } + lVar10 = *(longlong *)(param_1 + 0xbf0); + while (lVar10 != 0) { + lVar10 = 0; + if (*(longlong *)(param_1 + 0xbf0) != 0) { + lVar10 = *(longlong *)(param_1 + 0xbe0); + } + if (lVar10 == 0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + param_2 = *(wchar_t **)(lVar10 + 8); + FUN_14005c220(param_1 + -0xa8,param_2); + lVar10 = *(longlong *)(param_1 + 0xbf0); + } + FUN_14004e140((char *)(param_1 + 0xbd0)); + lVar10 = *(longlong *)(param_1 + 0x1660); + while (lVar10 != 0) { + if (*(longlong *)(param_1 + 0x1650) == 0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + param_2 = *(wchar_t **)(*(longlong *)(param_1 + 0x1650) + 0x10); + FUN_14005c220(param_1 + -0xa8,param_2); + lVar10 = *(longlong *)(param_1 + 0x1660); + } + FUN_14004e320((char *)(param_1 + 0x1640)); + pcVar2 = (char *)(param_1 + 0x1698); + if (*(longlong *)(param_1 + 0x16b8) == 0) { + plVar8 = (longlong *)0x0; + } + else { + plVar8 = *(longlong **)(param_1 + 0x16a8); + } + local_148 = SUB84(plVar8,0); + uStack_144 = (undefined4)((ulonglong)plVar8 >> 0x20); + local_a8 = local_148; + uStack_a4 = uStack_144; + uStack_a0 = pcVar2; + for (; plVar8 != (longlong *)0x0; plVar8 = (longlong *)plVar8[2]) { + if ((longlong *)*plVar8 != (longlong *)0x0) { + param_2 = (wchar_t *)0x1; + (**(code **)(*(longlong *)*plVar8 + 8))(); + } + } + if (uStack_a0 != pcVar2) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + FUN_14004e140(pcVar2); + FUN_1400671e0((char *)(param_1 + 0x358),param_2,plVar16,param_4); + pwVar11 = (wchar_t *)0x0; + FUN_14005b190(param_1 + 0x620,0); + FUN_14005d8a0((char *)(param_1 + 0x648)); + FUN_14003d0d0((longlong)piVar4); + piVar4 = (int *)(**(code **)(*(longlong *)(param_1 + -0xa8) + 0x58))(param_1 + -0xa8); + local_98 = piVar4; + FUN_14003d040(piVar4); + local_90 = 1; + if (DAT_14017614f != '\0') { + plVar16 = *(longlong **)(param_1 + -0xa8); + pwVar11 = L"Proud::CNetServerImpl::Stop"; + (*(code *)plVar16[0x19])(param_1 + -0xa8); + } + FUN_140067850((longlong *)(param_1 + 0x3b0),(longlong *)pwVar11,plVar16,param_4); + FUN_14004e140((char *)(param_1 + 0xbd0)); + FUN_14005ff70((char *)(param_1 + 0x230)); + FUN_14005ff70((char *)(param_1 + 0x288)); + FUN_14004e320((char *)(param_1 + 0x1640)); + puVar13 = *(undefined8 **)(param_1 + 0x3d0); + if (puVar13 != (undefined8 *)0x0) { + (**(code **)*puVar13)(puVar13,1); + } + *(undefined8 *)(param_1 + 0x3d0) = 0; + puVar13 = *(undefined8 **)(param_1 + -0x50); + if (puVar13 != (undefined8 *)0x0) { + (**(code **)*puVar13)(puVar13,1); + } + *(undefined8 *)(param_1 + -0x50) = 0; + FUN_14003d0d0((longlong)piVar4); + } + FUN_14003d0d0((longlong)piVar1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400709a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400709a0.c new file mode 100644 index 00000000..ef8c0a2d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400709a0.c @@ -0,0 +1,137 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400709a0 FUN_1400709a0 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x000140070d09) */ +/* WARNING: Removing unreachable block (ram,0x000140070cfe) */ + +void FUN_1400709a0(SIZE_T *param_1) + +{ + uint *puVar1; + ulonglong uVar2; + bool bVar3; + bool bVar4; + bool bVar5; + bool bVar6; + char cVar7; + int iVar8; + int iVar9; + int *piVar10; + int *piVar11; + longlong lVar12; + undefined8 *puVar13; + undefined8 *puVar14; + int *local_b0; + + piVar10 = (int *)(**(code **)(*param_1 + 0x58))(); + FUN_14003d040(piVar10); + if (DAT_14017614f != '\0') { + (**(code **)(*param_1 + 200))(param_1,L"Proud::CNetServerImpl::DisposeIssuedRemoteClients"); + } + if (param_1[0x54] == 0) { + puVar13 = (undefined8 *)0x0; + } + else { + puVar13 = (undefined8 *)param_1[0x52]; + } + do { + if (puVar13 == (undefined8 *)0x0) { + FUN_14003d0d0((longlong)piVar10); + return; + } + if (puVar13 == (undefined8 *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + puVar1 = (uint *)*puVar13; + FUN_140070020(param_1,puVar1); + piVar11 = (int *)(**(code **)(*(longlong *)(puVar1 + 0x42) + 0x10))(); + FUN_14003d040(piVar11); + local_b0 = (int *)0x0; + bVar6 = false; + if ((*(longlong **)(puVar1 + 0x1d0) != (longlong *)0x0) && + (lVar12 = **(longlong **)(puVar1 + 0x1d0), lVar12 != 0)) { + local_b0 = (int *)(lVar12 + 0xa8); + FUN_14003d040(local_b0); + bVar6 = true; + } + FUN_14003d040((int *)(param_1 + 0xf3)); + FUN_14003d040((int *)(param_1 + 0xfa)); + iVar8 = FUN_140091230((longlong)(puVar1 + 0x30)); + if ((*(char *)(*(longlong *)(puVar1 + 0x1d2) + 0x40) == '\0') && + (**(char **)(puVar1 + 0x1d2) == '\0')) { + bVar3 = true; + } + else { + bVar3 = false; + } + if ((*(longlong **)(puVar1 + 0x1d8) == (longlong *)0x0) || + (lVar12 = **(longlong **)(puVar1 + 0x1d8), lVar12 == 0)) { +LAB_140070b75: + bVar4 = true; + } + else { + if (*(char *)(lVar12 + 0x140) == '\0') { + if (*(longlong **)(puVar1 + 0x1d8) == (longlong *)0x0) { + lVar12 = 0; + } + else { + lVar12 = **(longlong **)(puVar1 + 0x1d8); + } + if (*(char *)(lVar12 + 0x100) == '\0') { + if (*(longlong **)(puVar1 + 0x1d8) == (longlong *)0x0) { + lVar12 = 0; + } + else { + lVar12 = **(longlong **)(puVar1 + 0x1d8); + } + iVar9 = FUN_140091230(lVar12 + 0x40); + if (iVar9 == 0) goto LAB_140070b75; + } + } + bVar4 = false; + } + if (((*(longlong *)(puVar1 + 8) == 0) && + (cVar7 = (**(code **)(*(longlong *)(puVar1 + 2) + 0x18))(), cVar7 == '\0')) && + (*(longlong *)(puVar1 + 0x48) == 0)) { + bVar5 = false; + } + else { + bVar5 = true; + } + FUN_14003d0d0((longlong)piVar11); + if (((iVar8 != 0) || (!bVar3)) || ((!bVar4 || (bVar5)))) { + puVar14 = (undefined8 *)puVar13[2]; + } + else { + FUN_14005c220((longlong)param_1,puVar1); + puVar14 = (undefined8 *)puVar13[2]; + FUN_14009d050((char *)(param_1 + 0x50),puVar13,'\0'); + uVar2 = ((ulonglong)puVar1 & 0xffffffff) % (ulonglong)(uint)param_1[0x2ed]; + if (param_1[0x2e9] != 0) { + puVar13 = *(undefined8 **)(param_1[0x2e9] + uVar2 * 8); + while( true ) { + if ((puVar13 == (undefined8 *)0x0) || + ((uint)uVar2 != *(uint *)(puVar13 + 4) % (uint)param_1[0x2ed])) goto LAB_140070c7f; + if ((uint *)*puVar13 == puVar1) break; + puVar13 = (undefined8 *)puVar13[2]; + } + FUN_14009d050((char *)(param_1 + 0x2e8),puVar13,'\0'); + } +LAB_140070c7f: + if (bVar6) { + FUN_14003d0d0((longlong)local_b0); + bVar6 = false; + } + (**(code **)(*(longlong *)puVar1 + 8))(puVar1,1); + } + FUN_14003d0d0((longlong)(param_1 + 0xfa)); + FUN_14003d0d0((longlong)(param_1 + 0xf3)); + puVar13 = puVar14; + if (bVar6) { + FUN_14003d0d0((longlong)local_b0); + } + } while( true ); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140070d40.c b/decomp/AgentManager_Release_x64/full/functions/0x140070d40.c new file mode 100644 index 00000000..320650c2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140070d40.c @@ -0,0 +1,164 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140070d40 FUN_140070d40 + * Pseudocode, not original source. */ + +void FUN_140070d40(longlong *param_1,wchar_t *param_2,longlong *param_3,longlong param_4) + +{ + longlong *plVar1; + undefined8 *puVar2; + void *pvVar3; + longlong *plVar4; + int *piVar5; + wchar_t *pwVar6; + wchar_t *pwVar7; + + *param_1 = (longlong)Proud::CNetServerImpl::vftable; + param_1[0xc] = (longlong)Proud::CNetServerImpl::vftable; + param_1[0xd] = (longlong)Proud::CNetServerImpl::vftable; + param_1[0xe] = (longlong)Proud::CNetServerImpl::vftable; + param_1[0xf] = (longlong)Proud::CNetServerImpl::vftable; + param_1[0x15] = (longlong)Proud::CNetServerImpl::vftable; + param_1[0x16] = (longlong)Proud::CNetServerImpl::vftable; + param_1[0x17] = (longlong)Proud::CNetServerImpl::vftable; + param_1[0x23] = (longlong)Proud::CNetServerImpl::vftable; + param_1[0x24] = (longlong)Proud::CNetServerImpl::vftable; + FUN_140070200((longlong)(param_1 + 0x15),param_2,(longlong)param_3,param_4); + plVar1 = param_1 + 0x25; + FUN_14003d040((int *)plVar1); + if (DAT_14017614f != '\0') { + param_2 = L"Proud::CNetServerImpl::~CNetServerImpl"; + (**(code **)(*param_1 + 200))(param_1); + } + FUN_1400774a0((longlong)param_1,param_2,param_3,param_4); + FUN_14003d0d0((longlong)plVar1); + param_1[0x309] = (longlong)Proud::CFastArray::vftable; + pwVar7 = (wchar_t *)param_1[0x30b]; + if (pwVar7 != (wchar_t *)0x0) { + if ((longlong *)param_1[0x30a] == (longlong *)0x0) { + FUN_14003e8b0(pwVar7); + } + else { + (**(code **)(*(longlong *)param_1[0x30a] + 0x18))(); + } + } + FUN_140002190(param_1 + 0x301,pwVar7,param_3,param_4); + puVar2 = (undefined8 *)param_1[0x2fe]; + if (puVar2 != (undefined8 *)0x0) { + FUN_140085370(puVar2,(longlong *)pwVar7,param_3,param_4); + operator_delete(puVar2); + } + param_1[0x2f9] = (longlong)Proud::CFastArray::vftable; + pwVar6 = (wchar_t *)param_1[0x2fb]; + if (pwVar6 != (wchar_t *)0x0) { + param_3 = (longlong *)param_1[0x2fa]; + if (param_3 == (longlong *)0x0) { + FUN_14003e8b0(pwVar6); + } + else { + (**(code **)(*param_3 + 0x18))(param_3); + pwVar7 = pwVar6; + } + } + param_1[0x2f4] = (longlong)Proud::CFastArray::vftable; + pwVar6 = (wchar_t *)param_1[0x2f6]; + if (pwVar6 != (wchar_t *)0x0) { + param_3 = (longlong *)param_1[0x2f5]; + if (param_3 == (longlong *)0x0) { + FUN_14003e8b0(pwVar6); + } + else { + (**(code **)(*param_3 + 0x18))(param_3); + pwVar7 = pwVar6; + } + } + FUN_14004e270((char *)(param_1 + 0x2e8)); + FUN_140051280((char *)(param_1 + 0x2dd)); + FUN_140048130(param_1 + 0x19a,pwVar7,param_3,param_4); + FUN_14004e270((char *)(param_1 + 399)); + FUN_140049e40(param_1 + 0x18a); + FUN_140095bd0(param_1 + 0x189); + FUN_140049e40(param_1 + 0x182); + FUN_14004c020(param_1 + 0x105); + FUN_14004bf10(param_1 + 0x101); + FUN_14003d110((undefined4 *)(param_1 + 0xfa),pwVar7,param_3,param_4); + FUN_14003d110((undefined4 *)(param_1 + 0xf3),pwVar7,param_3,param_4); + pvVar3 = (void *)param_1[0xf2]; + if (pvVar3 != (void *)0x0) { + FUN_140047d90((longlong)pvVar3,(longlong *)pwVar7,param_3,param_4); + operator_delete(pvVar3); + } + pvVar3 = (void *)param_1[0xf1]; + if (pvVar3 != (void *)0x0) { + FUN_140047d90((longlong)pvVar3,(longlong *)pwVar7,param_3,param_4); + operator_delete(pvVar3); + } + FUN_140051170(param_1 + 0xea,pwVar7,param_3,param_4); + if ((param_1[0xe9] != 0) && + (*(longlong *)(param_1[0xe9] + 8) = *(longlong *)(param_1[0xe9] + 8) + -1, + *(longlong *)(param_1[0xe9] + 8) == 0)) { + puVar2 = (undefined8 *)param_1[0xe9]; + plVar4 = (longlong *)*puVar2; + if (plVar4 != (longlong *)0x0) { + FUN_140043e60(plVar4,pwVar7,param_3,param_4); + FUN_14003e8b0(plVar4); + } + FUN_14003e8b0(puVar2); + } + FUN_14005ff50((char *)(param_1 + 0xde)); + param_1[0xd9] = (longlong)Proud::CFastArray,0>::vftable; + pwVar6 = (wchar_t *)(longlong)(int)param_1[0xdc]; + if (0 < (int)param_1[0xdc]) { + FUN_1400517d0((longlong *)param_1[0xdb],(longlong)pwVar6); + pwVar7 = pwVar6; + } + pwVar6 = (wchar_t *)param_1[0xdb]; + if (pwVar6 != (wchar_t *)0x0) { + param_3 = (longlong *)param_1[0xda]; + if (param_3 == (longlong *)0x0) { + FUN_14003e8b0(pwVar6); + } + else { + (**(code **)(*param_3 + 0x18))(param_3); + pwVar7 = pwVar6; + } + } + FUN_1400768c0(param_1 + 0x95); + FUN_140079b90(param_1 + 0x90); + if ((undefined8 *)param_1[0x8f] != (undefined8 *)0x0) { + pwVar7 = (wchar_t *)0x1; + (*(code *)**(undefined8 **)param_1[0x8f])(); + } + FUN_140067850(param_1 + 0x8b,(longlong *)pwVar7,param_3,param_4); + if ((undefined8 *)param_1[0x8b] != (undefined8 *)0x0) { + pwVar7 = (wchar_t *)0x1; + (*(code *)**(undefined8 **)param_1[0x8b])(); + } + FUN_1400675a0((char *)(param_1 + 0x80),pwVar7,param_3,param_4); + piVar5 = (int *)param_1[0x7c]; + if (piVar5 != (int *)0x0) { + FUN_14007f670(piVar5,pwVar7,param_3,param_4); + operator_delete(piVar5); + } + FUN_140051280((char *)(param_1 + 0x71)); + FUN_140060ab0((char *)(param_1 + 0x66)); + FUN_140060ab0((char *)(param_1 + 0x5b)); + FUN_14004e270((char *)(param_1 + 0x50)); + FUN_140006e80(param_1 + 0x43); + FUN_140006e80(param_1 + 0x42); + FUN_14003d110((undefined4 *)(param_1 + 0x2c),pwVar7,param_3,param_4); + FUN_14003d110((undefined4 *)plVar1,pwVar7,param_3,param_4); + param_1[0x24] = (longlong)Proud::IUserTaskQueueOwner::vftable; + param_1[0x23] = (longlong)Proud::IVizAgentDg::vftable; + param_1[0x17] = (longlong)Proud::CP2PGroupMemberBase_S::vftable; + FUN_1400675a0((char *)(param_1 + 0x18),pwVar7,param_3,param_4); + param_1[0x16] = (longlong)Proud::ICompletionContext::vftable; + param_1[0x15] = (longlong)Proud::IRmiHost::vftable; + FUN_1400978a0(param_1 + 0xf,pwVar7,param_3,param_4); + param_1[0xe] = (longlong)Proud::ISendDest_S::vftable; + param_1[0xd] = (longlong)Proud::ICompletionPortEventSink::vftable; + param_1[0xc] = (longlong)Proud::IFastSocketDelegate::vftable; + FUN_140077140(param_1,pwVar7,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140071220.c b/decomp/AgentManager_Release_x64/full/functions/0x140071220.c new file mode 100644 index 00000000..bad61070 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140071220.c @@ -0,0 +1,104 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140071220 FUN_140071220 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x00014007147d) */ + +void FUN_140071220(undefined ***param_1,wchar_t *param_2,undefined *param_3,undefined8 param_4) + +{ + int *piVar1; + short *psVar2; + uint uVar3; + int *piVar4; + int *piVar5; + undefined ***pppuVar6; + undefined **ppuVar7; + undefined8 uVar8; + wchar_t *pwVar9; + undefined **ppuVar10; + short *psVar11; + double dVar12; + short *local_res8; + undefined **local_70; + undefined8 local_68; + undefined8 local_60; + undefined8 local_58; + undefined8 local_50; + + piVar4 = (int *)(*(code *)(*param_1)[0xb])(); + FUN_14003d040(piVar4); + if (DAT_14017614f != '\0') { + param_2 = L"Proud::CNetServerImpl::HeartBeat_PerClient"; + (*(code *)(*param_1)[0x19])(param_1); + } + pppuVar6 = param_1 + 0x23; + dVar12 = (double)(*(code *)(*pppuVar6)[1])(); + ppuVar7 = (undefined **)0x0; + if (param_1[0x193] != (undefined **)0x0) { + ppuVar7 = param_1[0x191]; + } + while (ppuVar10 = ppuVar7, ppuVar10 != (undefined **)0x0) { + pwVar9 = (wchar_t *)ppuVar10[1]; + if (dVar12 - *(double *)(pwVar9 + 0xc0) < (double)param_1[0x46] || + dVar12 - *(double *)(pwVar9 + 0xc0) == (double)param_1[0x46]) { + FUN_140070020((SIZE_T *)param_1,(uint *)pwVar9); + if (((char)pwVar9[0x380] != '\0') && + (DAT_14016f0f8 * 10.0 < dVar12 - *(double *)(pwVar9 + 0xcc))) { + param_3 = &DAT_140177f90; + (*(code *)param_1[0x95][0x1a])(param_1 + 0x95,*(uint *)(pwVar9 + 0x37c)); + } + FUN_1400599e0(param_1,(longlong *)pwVar9,dVar12,param_4); + pppuVar6 = param_1; + FUN_14005fd40((longlong *)param_1,(longlong *)pwVar9,param_3,param_4); + } + else { + if (param_1[0x2fe] != (undefined **)0x0) { + FUN_14003e7c0(pppuVar6,param_2,param_3,param_4); + local_res8 = (short *)PTR_DAT_14016f010; + uVar3 = (**(code **)(*(longlong *)pwVar9 + 0x10))(pwVar9); + FUN_140029b80((longlong *)&local_res8, + L"클라 %d로부터의 TCP 수신이 오랫동안 없어서 소켓을 닫습니다." + ,(ulonglong)uVar3,param_4); + psVar2 = local_res8; + psVar11 = local_res8; + if (local_res8 == (short *)0x0) { + psVar11 = (short *)PTR_DAT_14016f010; + } + uVar8 = 0; + ppuVar7 = param_1[0x2fe]; + FUN_1400843d0((longlong)ppuVar7,0,psVar11,param_4); + if (((psVar2 != (short *)0x0) && (psVar2 != (short *)PTR_DAT_14016f010)) && + (psVar2 + -4 != (short *)0x0)) { + piVar5 = (int *)FUN_14003e7c0(ppuVar7,uVar8,psVar11,param_4); + FUN_14003d040(piVar5); + piVar1 = (int *)(psVar2 + -2); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(psVar2 + -4); + } + FUN_14003d0d0((longlong)piVar5); + } + } + local_68 = 0; + local_60 = 0; + local_58 = 0; + local_50 = 0; + local_70 = Proud::ByteArray::vftable; + param_4 = 7; + param_3 = (undefined *)0xb; + FUN_14006ef00((SIZE_T *)param_1,(uint *)pwVar9,0xb,7,(longlong)&local_70, + L"Proud::CNetServerImpl::HeartBeat_PerClient",0); + pppuVar6 = &local_70; + FUN_140049e40(pppuVar6); + } + param_2 = pwVar9; + ppuVar7 = (undefined **)0x0; + if (ppuVar10 != (undefined **)0x0) { + ppuVar7 = (undefined **)ppuVar10[2]; + } + } + FUN_14003d0d0((longlong)piVar4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400714c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400714c0.c new file mode 100644 index 00000000..b7fbb308 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400714c0.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400714c0 FUN_1400714c0 + * Pseudocode, not original source. */ + +void FUN_1400714c0(SIZE_T *param_1,undefined8 param_2,undefined ***param_3,undefined ***param_4) + +{ + FUN_14006d6c0(param_1,param_2,param_3,param_4); + FUN_14006f780(param_1,param_2,(SIZE_T)param_3,param_4); + FUN_14006cb20(param_1,param_2,param_3,(longlong)param_4); + FUN_14006cf80(param_1,param_2,param_3,param_4); + FUN_14006d320(param_1,param_2,param_3,param_4); + FUN_1400609e0(param_1,param_2,(undefined *)param_3,param_4); + FUN_14004a1f0(param_1,param_2,(longlong *)param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140071510.c b/decomp/AgentManager_Release_x64/full/functions/0x140071510.c new file mode 100644 index 00000000..67c3c786 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140071510.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140071510 FUN_140071510 + * Pseudocode, not original source. */ + +longlong * FUN_140071510(longlong *param_1,wchar_t *param_2,longlong *param_3,longlong param_4) + +{ + FUN_140070d40(param_1,param_2,param_3,param_4); + if (((ulonglong)param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140071540.c b/decomp/AgentManager_Release_x64/full/functions/0x140071540.c new file mode 100644 index 00000000..335b3d58 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140071540.c @@ -0,0 +1,99 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140071540 FUN_140071540 + * Pseudocode, not original source. */ + +wchar_t * FUN_140071540(undefined4 param_1) + +{ + switch(param_1) { + case 1: + return L"의도되지 않은 상황이 발생했습니다."; + case 2: + return L"이미 연결되어 있었습니다."; + case 3: + return L"TCP 연결이 실패했습니다."; + case 4: + return L"잘못된 세션 암호 키입니다."; + case 5: + return L"암호화가 실패했습니다."; + case 6: + return L"복호화 실패 혹은 해커에 의한 조작된 데이터입니다."; + case 7: + return L"서버와의 연결 시도가 타임 아웃하였습니다."; + case 8: + return L"서버와 프로토콜 버전이 맞지 않습니다."; + case 9: + return L"서버에서 연결을 거부했습니다."; + case 10: + return L"서버와의 연결이 성공했습니다."; + case 0xb: + return L"상대측 호스트가 연결을 끊었습니다."; + case 0xc: + return L"로컬 호스트에서 능동적으로 연결을 끊었습니다."; + case 0xd: + return L"위험한 호출 파라메터가 있습니다."; + case 0xe: + return L"알 수 없는 인터넷 주소입니다."; + case 0xf: + return L"서버가 준비되지 않았습니다."; + case 0x10: + return + L"서버 소켓의 listen을 시작할 수 없습니다. TCP 또는 UDP 소켓이 이미 사용중인 포트인지 확인하십시오." + ; + case 0x11: + return L"이미 개체가 존재합니다."; + case 0x12: + return L"접근이 거부되었습니다."; + case 0x13: + return L"잘못된 session Guid입니다."; + case 0x14: + return L"잘못된 credential입니다."; + case 0x15: + return L"잘못된 hero name입니다."; + case 0x16: + return L"로딩 과정이 unlock 후 lock 한 후 꼬임이 발생했습니다."; + case 0x17: + return L"출력 파라메터 AdjustedGamerIDNotFilled가 채워지지 않았습니다."; + case 0x18: + return L"플레이어 캐릭터가 존재하지 않습니다."; + case 0x19: + return L"UnitTestFailed"; + case 0x1a: + return L"peer-to-peer UDP 통신이 막혔습니다."; + case 0x1b: + return L"P2P reliable UDP가 실패했습니다."; + case 0x1c: + return L"클라이언트-서버 UDP 통신이 막혔습니다."; + case 0x1d: + return L"더 이상 같이 소속된 P2P 그룹이 없습니다."; + case 0x1e: + return L"사용자의 요청에 의한 실패입니다."; + case 0x1f: + return + L"잘못된 패킷 형식입니다. 상대측 호스트가 해킹되었거나 버그일 수 있습니다." + ; + case 0x20: + return + L"너무 큰 크기의 메시징이 시도되었습니다. 기술지원부에 문의하십시오." + ; + case 0x21: + return L"Unreliable 메세지는 암호화할 수 없습니다."; + case 0x22: + return L"존재하지 않는 값입니다."; + case 0x23: + return L"타임 아웃입니다."; + case 0x24: + return L"로드된 데이터를 찾을 수 없습니다."; + case 0x25: + return + L"송신 queue가 너무 많이 쌓여 있습니다. 송신량을 조절하는 것을 권장합니다." + ; + case 0x26: + return L"Heartbeat가 너무 늦게 호출되고 있습니다.기아화를 의심하세요."; + case 0x27: + return L"메시지 압축을 푸는데 실패 하였습니다."; + default: + return L""; + } +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140071740.c b/decomp/AgentManager_Release_x64/full/functions/0x140071740.c new file mode 100644 index 00000000..3b68c1fa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140071740.c @@ -0,0 +1,93 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140071740 FUN_140071740 + * Pseudocode, not original source. */ + +wchar_t * FUN_140071740(undefined4 param_1) + +{ + switch(param_1) { + case 1: + return L"Unexpected Error."; + case 2: + return L"Already connected."; + case 3: + return L"TCP connection failure."; + case 4: + return L"Invalid session key."; + case 5: + return L"Encryption failed."; + case 6: + return L"Decryption failed or hack suspected."; + case 7: + return L"Connect to server timed out."; + case 8: + return L"Mispatched protocol between hosts."; + case 9: + return L"Server denied connection attempt."; + case 10: + return L"Connecting to server successful."; + case 0xb: + return L"Remote host disconnected."; + case 0xc: + return L"Local host disconnected."; + case 0xd: + return L"Dangerous parameters are detected."; + case 0xe: + return L"Unknown Internet address."; + case 0xf: + return L"Server is not ready."; + case 0x10: + return + L"Server socket listen failure. Make sure that the TCP or UDP listening port is not already in use." + ; + case 0x11: + return L"Object already exists."; + case 0x12: + return L"Permission denied."; + case 0x13: + return L"Bad session Guid."; + case 0x14: + return L"Invalid credential."; + case 0x15: + return L"Invalid player character name."; + case 0x16: + return L"Corruption occurred while unlocked loading and locking."; + case 0x17: + return L"Output parameter AdjustedGamerIDNotFilled is not filled."; + case 0x18: + return L"No Player Character(Hero) Found."; + case 0x19: + return L"UnitTestFailed"; + case 0x1a: + return L"peer-to-peer UDP comm is blocked."; + case 0x1b: + return L"P2P reliable UDP failed."; + case 0x1c: + return L"Client-server UDP comm is blocked."; + case 0x1d: + return L"No common P2P group exists anymore."; + case 0x1e: + return L"By user request."; + case 0x1f: + return L"Invalid packet format. Remote host is hacked or has a bug."; + case 0x20: + return L"Too large message is detected. Contact technical supports."; + case 0x21: + return L"An unreliable message cannot be encrypted."; + case 0x22: + return L"Not exist value."; + case 0x23: + return L"Working is timeout."; + case 0x24: + return L"Can not found loaddata."; + case 0x25: + return L"SendQueue has Accumulated too much."; + case 0x26: + return L"Heartbeat Call in too slow.Suspected starvation"; + case 0x27: + return L"Message uncompress fail."; + default: + return L""; + } +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140071940.c b/decomp/AgentManager_Release_x64/full/functions/0x140071940.c new file mode 100644 index 00000000..70e3b77c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140071940.c @@ -0,0 +1,93 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140071940 FUN_140071940 + * Pseudocode, not original source. */ + +wchar_t * FUN_140071940(undefined4 param_1) + +{ + switch(param_1) { + case 1: + return L"发生了以外的情况."; + case 2: + return L"已连接."; + case 3: + return L"TCP/IP 连接失败."; + case 4: + return L"session key不正确."; + case 5: + return L"暗号化失败."; + case 6: + return L"符号化失败或被操作的数据."; + case 7: + return L"服务器连接超时."; + case 8: + return L"跟服务器的版本不同 需要上级."; + case 9: + return L"被据否了服务器连接."; + case 10: + return L"服务器连接成功."; + case 0xb: + return L"Remote host disconnected."; + case 0xc: + return L"Local host disconnected."; + case 0xd: + return L"Dangerous parameters are detected."; + case 0xe: + return L"在网上没有地址."; + case 0xf: + return L"服务器还没准备."; + case 0x10: + return + L"Server socket listen failure. Make sure that the TCP or UDP listening port is not already in use." + ; + case 0x11: + return L"个体已存在."; + case 0x12: + return L"访问被拒绝."; + case 0x13: + return L"session Guid不正确."; + case 0x14: + return L"credential不正确."; + case 0x15: + return L"hero name不正确."; + case 0x16: + return L"加载过程unlock后与lock后发生隔阂."; + case 0x17: + return L"Output parameter AdjustedGamerIDNotFilled is not filled."; + case 0x18: + return L"No Player Character(Hero) Found."; + case 0x19: + return L"UnitTestFailed"; + case 0x1a: + return L"peer-to-peer UDP comm is blocked."; + case 0x1b: + return L"P2P reliable UDP failed."; + case 0x1c: + return L"Client-server UDP comm is blocked."; + case 0x1d: + return L"No common P2P group exists anymore."; + case 0x1e: + return L"By user request."; + case 0x1f: + return L"Invalid packet format. Remote host is hacked or has a bug."; + case 0x20: + return L"Too large message is detected. Contact technical supports."; + case 0x21: + return L"An unreliable message cannot be encrypted."; + case 0x22: + return L"Not exist value."; + case 0x23: + return L"Working is timeout."; + case 0x24: + return L"Can not found loaddata."; + case 0x25: + return L"SendQueue has Accumulated too much."; + case 0x26: + return L"Heartbeat Call in too slow.Suspected starvation"; + case 0x27: + return L"Message uncompress fail."; + default: + return L""; + } +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140071b40.c b/decomp/AgentManager_Release_x64/full/functions/0x140071b40.c new file mode 100644 index 00000000..8c2933a9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140071b40.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140071b40 FUN_140071b40 + * Pseudocode, not original source. */ + +void FUN_140071b40(undefined4 param_1) + +{ + int *piVar1; + + piVar1 = (int *)thunk_FUN_14003e250(); + if (*piVar1 == 0x52) { + FUN_140071540(param_1); + return; + } + if (*piVar1 != 0x56) { + FUN_140071740(param_1); + return; + } + FUN_140071940(param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140071b80.c b/decomp/AgentManager_Release_x64/full/functions/0x140071b80.c new file mode 100644 index 00000000..e84099c5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140071b80.c @@ -0,0 +1,31 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140071b80 FUN_140071b80 + * Pseudocode, not original source. */ + +undefined8 * +FUN_140071b80(undefined8 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 *puVar1; + + puVar1 = param_1; + FUN_14003e7c0(param_1,param_2,param_3,param_4); + param_1[2] = PTR_DAT_14016f010; + param_1[3] = Proud::AddrPort::vftable; + *(undefined4 *)(param_1 + 4) = 0; + *(undefined2 *)((longlong)param_1 + 0x24) = 0; + param_1[6] = 0; + param_1[7] = 0; + param_1[8] = 0; + param_1[9] = 0; + param_1[5] = Proud::ByteArray::vftable; + FUN_14003e7c0(puVar1,param_2,param_3,param_4); + param_1[0xb] = PTR_DAT_14016f010; + *param_1 = 0; + param_1[1] = 0; + *(undefined4 *)(param_1 + 4) = DAT_14016f3d0; + *(undefined2 *)((longlong)param_1 + 0x24) = DAT_14016f3d4; + *(undefined4 *)(param_1 + 10) = 0; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140071c20.c b/decomp/AgentManager_Release_x64/full/functions/0x140071c20.c new file mode 100644 index 00000000..6046b3d7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140071c20.c @@ -0,0 +1,63 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140071c20 FUN_140071c20 + * Pseudocode, not original source. */ + +longlong * +FUN_140071c20(longlong *param_1,undefined8 param_2,SIZE_T param_3,longlong *param_4,longlong param_5 + ) + +{ + int iVar1; + undefined8 *puVar2; + undefined8 *puVar3; + undefined8 uVar4; + undefined8 *puVar5; + SIZE_T SVar6; + longlong *plVar7; + + puVar5 = (undefined8 *)0x0; + uVar4 = param_2; + SVar6 = param_3; + plVar7 = param_4; + puVar2 = (undefined8 *)FUN_14003e840(0x60); + puVar3 = puVar5; + if (puVar2 != (undefined8 *)0x0) { + puVar3 = FUN_140071b80(puVar2,uVar4,SVar6,plVar7); + } + FUN_140038300(param_1,(longlong)puVar3,SVar6,plVar7); + puVar3 = puVar5; + if (*param_1 != 0) { + puVar3 = *(undefined8 **)(*param_1 + 0x38); + } + *(int *)puVar3 = (int)param_2; + puVar3 = puVar5; + if (*param_1 != 0) { + puVar3 = *(undefined8 **)(*param_1 + 0x38); + } + *(int *)((longlong)puVar3 + 0xc) = (int)param_3; + puVar3 = puVar5; + if (*param_1 != 0) { + puVar3 = *(undefined8 **)(*param_1 + 0x38); + } + FUN_1400020c0(puVar3 + 2,param_4,SVar6,plVar7); + puVar3 = puVar5; + if (*param_1 != 0) { + puVar3 = *(undefined8 **)(*param_1 + 0x38); + } + iVar1 = *(int *)(param_5 + 0x18); + if (-1 < iVar1) { + FUN_14002a050((longlong)(puVar3 + 5),iVar1,SVar6); + puVar2 = puVar5; + if (*(int *)(param_5 + 0x18) != 0) { + puVar2 = *(undefined8 **)(param_5 + 0x10); + } + if (*(int *)(puVar3 + 8) != 0) { + puVar5 = (undefined8 *)puVar3[7]; + } + FUN_140006fb0(puVar5,puVar2,(longlong)iVar1); + return param_1; + } + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140071d40.c b/decomp/AgentManager_Release_x64/full/functions/0x140071d40.c new file mode 100644 index 00000000..4010e5b3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140071d40.c @@ -0,0 +1,237 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140071d40 FUN_140071d40 + * Pseudocode, not original source. */ + +longlong * FUN_140071d40(int *param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined *puVar1; + int iVar2; + undefined *puVar3; + int *piVar4; + wchar_t *pwVar5; + longlong *plVar6; + int *piVar7; + undefined **ppuVar8; + wchar_t *pwVar9; + short *psVar10; + ulonglong uVar11; + undefined *local_res18; + undefined *local_res20; + undefined *local_d8; + undefined *local_d0; + undefined *local_c8; + short *local_c0; + short *local_b8; + undefined *local_b0; + undefined8 local_a8; + int *local_a0; + undefined1 local_98; + longlong *local_90; + undefined1 local_88; + longlong *local_80; + undefined1 local_78; + longlong *local_70; + undefined1 local_68; + longlong *local_60; + undefined1 local_58; + int *local_50; + undefined1 local_48; + + local_a8 = 0xfffffffffffffffe; + FUN_14003e7c0(param_1,param_2,param_3,param_4); + *param_2 = (longlong)PTR_DAT_14016f010; + iVar2 = *param_1; + piVar4 = (int *)thunk_FUN_14003e250(); + if (*piVar4 == 0x52) { + pwVar5 = FUN_140071540(iVar2); + } + else if (*piVar4 == 0x56) { + pwVar5 = FUN_140071940(iVar2); + } + else { + pwVar5 = FUN_140071740(iVar2); + } + pwVar9 = L"Error=%s"; + plVar6 = param_2; + FUN_140029b80(param_2,L"Error=%s",pwVar5,param_4); + if ((*param_1 != param_1[1]) && (param_1[1] != 0)) { + FUN_14003e7c0(plVar6,pwVar9,pwVar5,param_4); + local_res18 = PTR_DAT_14016f010; + iVar2 = param_1[1]; + piVar4 = (int *)thunk_FUN_14003e250(); + if (*piVar4 == 0x52) { + pwVar5 = FUN_140071540(iVar2); + } + else if (*piVar4 == 0x56) { + pwVar5 = FUN_140071940(iVar2); + } + else { + pwVar5 = FUN_140071740(iVar2); + } + FUN_140029b80((longlong *)&local_res18,L", Detail=%s",pwVar5,param_4); + pwVar9 = (wchar_t *)&local_res18; + plVar6 = param_2; + FUN_140029980(param_2,(longlong *)pwVar9); + puVar3 = local_res18; + if (((local_res18 != (undefined *)0x0) && (local_res18 != PTR_DAT_14016f010)) && + (puVar1 = local_res18 + -8, puVar1 != (undefined *)0x0)) { + plVar6 = (longlong *)FUN_14003e7c0(plVar6,pwVar9,pwVar5,param_4); + local_60 = plVar6; + FUN_14003d040((int *)plVar6); + local_58 = 1; + piVar4 = (int *)(puVar3 + -4); + *piVar4 = *piVar4 + -1; + if (*piVar4 == 0) { + FUN_14003e8b0(puVar1); + } + FUN_14003d0d0((longlong)plVar6); + } + } + if (param_1[2] != 0) { + FUN_14003e7c0(plVar6,pwVar9,pwVar5,param_4); + local_res20 = PTR_DAT_14016f010; + pwVar5 = (wchar_t *)(ulonglong)(uint)param_1[2]; + FUN_140029b80((longlong *)&local_res20,L", SocketError=%d",pwVar5,param_4); + pwVar9 = (wchar_t *)&local_res20; + plVar6 = param_2; + FUN_140029980(param_2,(longlong *)pwVar9); + puVar3 = local_res20; + if (((local_res20 != (undefined *)0x0) && (local_res20 != PTR_DAT_14016f010)) && + (puVar1 = local_res20 + -8, puVar1 != (undefined *)0x0)) { + plVar6 = (longlong *)FUN_14003e7c0(plVar6,pwVar9,pwVar5,param_4); + local_80 = plVar6; + FUN_14003d040((int *)plVar6); + local_78 = 1; + piVar4 = (int *)(puVar3 + -4); + *piVar4 = *piVar4 + -1; + if (*piVar4 == 0) { + FUN_14003e8b0(puVar1); + } + FUN_14003d0d0((longlong)plVar6); + } + } + if (param_1[3] != 0) { + FUN_14003e7c0(plVar6,pwVar9,pwVar5,param_4); + local_d0 = PTR_DAT_14016f010; + pwVar5 = (wchar_t *)(ulonglong)(uint)param_1[3]; + FUN_140029b80((longlong *)&local_d0,L", HostID=%d",pwVar5,param_4); + ppuVar8 = &local_d0; + plVar6 = param_2; + FUN_140029980(param_2,(longlong *)ppuVar8); + if ((param_1[8] != -1) && (param_1[8] != 0)) { + FUN_14003e7c0(plVar6,ppuVar8,pwVar5,param_4); + local_c8 = PTR_DAT_14016f010; + plVar6 = (longlong *)(*(code *)**(undefined8 **)(param_1 + 6))(param_1 + 6,&local_b0); + pwVar5 = (wchar_t *)*plVar6; + if ((wchar_t *)*plVar6 == (wchar_t *)0x0) { + pwVar5 = (wchar_t *)PTR_DAT_14016f010; + } + pwVar9 = L", remoteAddr=%s"; + ppuVar8 = &local_c8; + FUN_140029b80((longlong *)ppuVar8,L", remoteAddr=%s",pwVar5,param_4); + if (((local_b0 != (undefined *)0x0) && (local_b0 != PTR_DAT_14016f010)) && + (local_b0 + -8 != (undefined *)0x0)) { + piVar7 = (int *)FUN_14003e7c0(ppuVar8,pwVar9,pwVar5,param_4); + local_a0 = piVar7; + FUN_14003d040(piVar7); + local_98 = 1; + piVar4 = (int *)(local_b0 + -4); + *piVar4 = *piVar4 + -1; + if (*piVar4 == 0) { + FUN_14003e8b0(local_b0 + -8); + } + FUN_14003d0d0((longlong)piVar7); + } + ppuVar8 = &local_c8; + plVar6 = param_2; + FUN_140029980(param_2,(longlong *)ppuVar8); + puVar3 = local_c8; + if (((local_c8 != (undefined *)0x0) && (local_c8 != PTR_DAT_14016f010)) && + (puVar1 = local_c8 + -8, puVar1 != (undefined *)0x0)) { + plVar6 = (longlong *)FUN_14003e7c0(plVar6,ppuVar8,pwVar5,param_4); + local_90 = plVar6; + FUN_14003d040((int *)plVar6); + local_88 = 1; + piVar4 = (int *)(puVar3 + -4); + *piVar4 = *piVar4 + -1; + if (*piVar4 == 0) { + FUN_14003e8b0(puVar1); + } + FUN_14003d0d0((longlong)plVar6); + } + } + puVar3 = local_d0; + if (((local_d0 != (undefined *)0x0) && (local_d0 != PTR_DAT_14016f010)) && + (puVar1 = local_d0 + -8, puVar1 != (undefined *)0x0)) { + plVar6 = (longlong *)FUN_14003e7c0(plVar6,ppuVar8,pwVar5,param_4); + local_70 = plVar6; + FUN_14003d040((int *)plVar6); + local_68 = 1; + piVar4 = (int *)(puVar3 + -4); + *piVar4 = *piVar4 + -1; + if (*piVar4 == 0) { + FUN_14003e8b0(puVar1); + } + FUN_14003d0d0((longlong)plVar6); + } + } + psVar10 = *(short **)(param_1 + 4); + if (((psVar10 != (short *)0x0) && (psVar10 != (short *)PTR_DAT_14016f010)) && + (0 < *(int *)(psVar10 + -4))) { + FUN_14003e570((longlong *)&local_c0,psVar10); + FUN_140029bf0(param_2,(short *)&DAT_140133350); + plVar6 = param_2; + FUN_140029bf0(param_2,local_c0); + psVar10 = local_c0 + -0xc; + LOCK(); + piVar4 = (int *)(local_c0 + -4); + iVar2 = *piVar4; + *piVar4 = *piVar4 + -1; + UNLOCK(); + if (iVar2 + -1 < 1) { + plVar6 = *(longlong **)psVar10; + (**(code **)(*plVar6 + 8))(); + } + } + if (param_1[0x14] != 0) { + FUN_14003e7c0(plVar6,psVar10,pwVar5,param_4); + local_d8 = PTR_DAT_14016f010; + uVar11 = (ulonglong)(uint)param_1[0x14]; + FUN_140029b80((longlong *)&local_d8,L", HRESULT = %d",uVar11,param_4); + ppuVar8 = &local_d8; + plVar6 = param_2; + FUN_140029980(param_2,(longlong *)ppuVar8); + puVar3 = local_d8; + if (((local_d8 != (undefined *)0x0) && (local_d8 != PTR_DAT_14016f010)) && + (puVar1 = local_d8 + -8, puVar1 != (undefined *)0x0)) { + piVar7 = (int *)FUN_14003e7c0(plVar6,ppuVar8,uVar11,param_4); + local_50 = piVar7; + FUN_14003d040(piVar7); + local_48 = 1; + piVar4 = (int *)(puVar3 + -4); + *piVar4 = *piVar4 + -1; + if (*piVar4 == 0) { + FUN_14003e8b0(puVar1); + } + FUN_14003d0d0((longlong)piVar7); + } + } + psVar10 = *(short **)(param_1 + 0x16); + if (((psVar10 != (short *)0x0) && (psVar10 != (short *)PTR_DAT_14016f010)) && + (0 < *(int *)(psVar10 + -4))) { + FUN_14003e570((longlong *)&local_b8,psVar10); + FUN_140029bf0(param_2,(short *)&DAT_140133350); + FUN_140029bf0(param_2,local_b8); + LOCK(); + piVar4 = (int *)(local_b8 + -4); + iVar2 = *piVar4; + *piVar4 = *piVar4 + -1; + UNLOCK(); + if (iVar2 + -1 < 1) { + (**(code **)(**(longlong **)(local_b8 + -0xc) + 8))(); + } + } + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400721c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400721c0.c new file mode 100644 index 00000000..b308c820 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400721c0.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400721c0 FUN_1400721c0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400721c0(undefined8 param_1) + +{ + HRESULT HVar1; + + HVar1 = CoInitialize((LPVOID)0x0); + *(bool *)param_1 = -1 < HVar1; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400721f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400721f0.c new file mode 100644 index 00000000..7a584c6e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400721f0.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400721f0 FUN_1400721f0 + * Pseudocode, not original source. */ + +void FUN_1400721f0(char *param_1) + +{ + if (*param_1 != '\0') { + CoUninitialize(); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140072210.c b/decomp/AgentManager_Release_x64/full/functions/0x140072210.c new file mode 100644 index 00000000..d0bc8bb9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140072210.c @@ -0,0 +1,19 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140072210 FUN_140072210 + * Pseudocode, not original source. */ + +void * FUN_140072210(IUnknown *param_1,void *param_2) + +{ + ULONG UVar1; + undefined1 local_28 [32]; + + Ordinal_8(local_28); + UVar1 = (*param_1->lpVtbl[3].AddRef)(param_1); + if ((int)UVar1 < 0) { + _com_issue_errorex(UVar1,param_1,(_GUID *)&DAT_1401109d8); + } + memcpy_s(param_2,0x18,local_28,0x18); + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140072280.c b/decomp/AgentManager_Release_x64/full/functions/0x140072280.c new file mode 100644 index 00000000..b5e9c252 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140072280.c @@ -0,0 +1,26 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140072280 FUN_140072280 + * Pseudocode, not original source. */ + +void * FUN_140072280(IUnknown *param_1,void *param_2,ulong *param_3) + +{ + HRESULT HVar1; + IID local_48; + undefined8 local_38; + void *local_28 [4]; + + Ordinal_8(local_28); + local_48.Data1 = *param_3; + local_48._4_4_ = param_3[1]; + local_48.Data4._0_4_ = param_3[2]; + local_48.Data4._4_4_ = param_3[3]; + local_38 = *(undefined8 *)(param_3 + 4); + HVar1 = (*param_1->lpVtbl[0x15].QueryInterface)(param_1,&local_48,local_28); + if (HVar1 < 0) { + _com_issue_errorex(HVar1,param_1,(_GUID *)&DAT_1401301b0); + } + memcpy_s(param_2,0x18,local_28,0x18); + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140072320.c b/decomp/AgentManager_Release_x64/full/functions/0x140072320.c new file mode 100644 index 00000000..d9e45f17 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140072320.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140072320 FUN_140072320 + * Pseudocode, not original source. */ + +void FUN_140072320(exception *param_1) + +{ + *(undefined ***)(param_1 + 0x48) = _com_error::vftable; + if (*(longlong **)(param_1 + 0x58) != (longlong *)0x0) { + (**(code **)(**(longlong **)(param_1 + 0x58) + 0x10))(); + } + if (*(HLOCAL *)(param_1 + 0x60) != (HLOCAL)0x0) { + LocalFree(*(HLOCAL *)(param_1 + 0x60)); + } + FUN_14003d6e0(param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140072360.c b/decomp/AgentManager_Release_x64/full/functions/0x140072360.c new file mode 100644 index 00000000..2b6f4412 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140072360.c @@ -0,0 +1,21 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140072360 FUN_140072360 + * Pseudocode, not original source. */ + +exception * FUN_140072360(exception *param_1,uint param_2) + +{ + *(undefined ***)(param_1 + 0x48) = _com_error::vftable; + if (*(longlong **)(param_1 + 0x58) != (longlong *)0x0) { + (**(code **)(**(longlong **)(param_1 + 0x58) + 0x10))(); + } + if (*(HLOCAL *)(param_1 + 0x60) != (HLOCAL)0x0) { + LocalFree(*(HLOCAL *)(param_1 + 0x60)); + } + FUN_14003d6e0(param_1); + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400723d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400723d0.c new file mode 100644 index 00000000..d7d07692 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400723d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400723d0 FUN_1400723d0 + * Pseudocode, not original source. */ + +void FUN_1400723d0(void) + +{ + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x8007000e); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400723e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400723e0.c new file mode 100644 index 00000000..7100c178 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400723e0.c @@ -0,0 +1,53 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400723e0 FUN_1400723e0 + * Pseudocode, not original source. */ + +longlong FUN_1400723e0(longlong param_1) + +{ + LPWSTR lpBuffer; + longlong lVar1; + int iVar2; + wchar_t *_Dst; + longlong lVar3; + wchar_t *_Format; + + lpBuffer = (LPWSTR)(param_1 + 0x18); + if (*(longlong *)(param_1 + 0x18) != 0) { + return *(longlong *)lpBuffer; + } + FormatMessageW(0x1300,(LPCVOID)0x0,*(DWORD *)(param_1 + 8),0x400,lpBuffer,0,(va_list *)0x0); + if (*(LPCWSTR *)lpBuffer == (LPCWSTR)0x0) { + _Dst = LocalAlloc(0,0x40); + *(wchar_t **)lpBuffer = _Dst; + if (_Dst == (wchar_t *)0x0) { + return 0; + } + if ((*(int *)(param_1 + 8) + 0x7ffbfe00U < 0xfe00) && ((short)*(int *)(param_1 + 8) != 0x200)) { + _Format = L"IDispatch error #%d"; + } + else { + _Format = L"Unknown error 0x%0lX"; + } + swprintf_s(_Dst,0x20,_Format); + } + else { + iVar2 = lstrlenW(*(LPCWSTR *)lpBuffer); + if (1 < iVar2) { + lVar3 = (longlong)iVar2; + lVar1 = *(longlong *)lpBuffer; + if (*(short *)(lVar1 + -2 + lVar3 * 2) != 10) { + return lVar1; + } + *(undefined2 *)(lVar1 + -2 + lVar3 * 2) = 0; + lVar1 = *(longlong *)lpBuffer; + if (*(short *)(lVar1 + -4 + lVar3 * 2) != 0xd) { + return lVar1; + } + *(undefined2 *)(lVar1 + -4 + lVar3 * 2) = 0; + return *(longlong *)lpBuffer; + } + } + return *(longlong *)lpBuffer; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140072500.c b/decomp/AgentManager_Release_x64/full/functions/0x140072500.c new file mode 100644 index 00000000..c025c7a5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140072500.c @@ -0,0 +1,21 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140072500 FUN_140072500 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x000140072545) */ +/* WARNING: Removing unreachable block (ram,0x000140072558) */ + +void FUN_140072500(undefined8 *param_1) + +{ + IUnknown *This; + ULONG UVar1; + + This = (IUnknown *)*param_1; + UVar1 = (*This->lpVtbl[0x12].AddRef)(This); + if ((int)UVar1 < 0) { + _com_issue_errorex(UVar1,This,(_GUID *)&DAT_1401301b0); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140072580.c b/decomp/AgentManager_Release_x64/full/functions/0x140072580.c new file mode 100644 index 00000000..100950da --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140072580.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140072580 FUN_140072580 + * Pseudocode, not original source. */ + +void FUN_140072580(longlong *param_1) + +{ + if ((longlong *)*param_1 != (longlong *)0x0) { + (**(code **)(*(longlong *)*param_1 + 0x10))(); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400725a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400725a0.c new file mode 100644 index 00000000..54d052bf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400725a0.c @@ -0,0 +1,23 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400725a0 FUN_1400725a0 + * Pseudocode, not original source. */ + +void FUN_1400725a0(longlong *param_1) + +{ + int *piVar1; + int iVar2; + longlong lVar3; + + lVar3 = *param_1; + LOCK(); + piVar1 = (int *)(lVar3 + -8); + iVar2 = *piVar1; + *piVar1 = *piVar1 + -1; + UNLOCK(); + if (iVar2 + -1 < 1) { + (**(code **)(**(longlong **)(lVar3 + -0x18) + 8))(); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400725d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400725d0.c new file mode 100644 index 00000000..78bc0212 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400725d0.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400725d0 FUN_1400725d0 + * Pseudocode, not original source. */ + +void FUN_1400725d0(longlong *param_1) + +{ + int *piVar1; + int iVar2; + longlong *plVar3; + longlong lVar4; + + lVar4 = *param_1; + plVar3 = *(longlong **)(lVar4 + -0x18); + if (*(int *)(lVar4 + -0x10) != 0) { + if (*(int *)(lVar4 + -8) < 0) { + if (*(int *)(lVar4 + -0xc) < 0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80070057); + } + *(undefined4 *)(lVar4 + -0x10) = 0; + *(undefined1 *)*param_1 = 0; + return; + } + LOCK(); + piVar1 = (int *)(lVar4 + -8); + iVar2 = *piVar1; + *piVar1 = *piVar1 + -1; + UNLOCK(); + if (iVar2 + -1 < 1) { + (**(code **)(**(longlong **)(lVar4 + -0x18) + 8))(); + } + lVar4 = (**(code **)(*plVar3 + 0x18))(plVar3); + *param_1 = lVar4 + 0x18; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140072650.c b/decomp/AgentManager_Release_x64/full/functions/0x140072650.c new file mode 100644 index 00000000..0f244677 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140072650.c @@ -0,0 +1,39 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140072650 FUN_140072650 + * Pseudocode, not original source. */ + +void FUN_140072650(undefined8 *param_1,int param_2) + +{ + int *piVar1; + int iVar2; + void *_Src; + undefined8 *puVar3; + longlong lVar4; + + _Src = (void *)*param_1; + iVar2 = *(int *)((longlong)_Src + -0x10); + puVar3 = (undefined8 *)(**(code **)(**(longlong **)((longlong)_Src + -0x18) + 0x20))(); + lVar4 = (**(code **)*puVar3)(puVar3,param_2,1); + if (lVar4 == 0) { + /* WARNING: Subroutine does not return */ + FUN_1400723d0(); + } + if (iVar2 < param_2) { + param_2 = iVar2; + } + memcpy_s((void *)(lVar4 + 0x18),(longlong)(param_2 + 1),_Src,(longlong)(param_2 + 1)); + *(int *)(lVar4 + 8) = iVar2; + LOCK(); + piVar1 = (int *)((longlong)_Src + -8); + iVar2 = *piVar1; + *piVar1 = *piVar1 + -1; + UNLOCK(); + if (iVar2 + -1 < 1) { + (**(code **)(**(longlong **)((longlong)_Src + -0x18) + 8)) + (*(longlong **)((longlong)_Src + -0x18),(longlong)_Src + -0x18); + } + *param_1 = (void *)(lVar4 + 0x18); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140072700.c b/decomp/AgentManager_Release_x64/full/functions/0x140072700.c new file mode 100644 index 00000000..6f966e38 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140072700.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140072700 FUN_140072700 + * Pseudocode, not original source. */ + +void FUN_140072700(longlong *param_1,int param_2) + +{ + longlong lVar1; + + if ((*(int *)(*param_1 + -0xc) < param_2) && (0 < param_2)) { + lVar1 = (**(code **)(**(longlong **)(*param_1 + -0x18) + 0x10))(); + if (lVar1 == 0) { + /* WARNING: Subroutine does not return */ + FUN_1400723d0(); + } + *param_1 = lVar1 + 0x18; + return; + } + /* WARNING: Subroutine does not return */ + FUN_1400723d0(); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140072750.c b/decomp/AgentManager_Release_x64/full/functions/0x140072750.c new file mode 100644 index 00000000..8c889cb6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140072750.c @@ -0,0 +1,19 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140072750 FUN_140072750 + * Pseudocode, not original source. */ + +undefined8 * FUN_140072750(IUnknown *param_1,undefined8 *param_2) + +{ + ULONG UVar1; + + UVar1 = (*param_1->lpVtbl[3].AddRef)(param_1); + if ((int)UVar1 < 0) { + _com_issue_errorex(UVar1,param_1,(_GUID *)&DAT_140110ad0); + *param_2 = 0; + return param_2; + } + *param_2 = 0; + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400727e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400727e0.c new file mode 100644 index 00000000..1d80b031 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400727e0.c @@ -0,0 +1,26 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400727e0 FUN_1400727e0 + * Pseudocode, not original source. */ + +undefined8 * FUN_1400727e0(IUnknown *param_1,undefined8 *param_2,undefined8 *param_3) + +{ + HRESULT HVar1; + void *local_res8; + IID local_28; + undefined8 local_18; + + local_res8 = (void *)0x0; + local_28._0_8_ = *param_3; + local_28.Data4 = *(uchar (*) [8])(param_3 + 1); + local_18 = param_3[2]; + HVar1 = (*param_1->lpVtbl[4].QueryInterface)(param_1,&local_28,&local_res8); + if (HVar1 < 0) { + _com_issue_errorex(HVar1,param_1,(_GUID *)&DAT_140110ae0); + *param_2 = local_res8; + return param_2; + } + *param_2 = local_res8; + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140072870.c b/decomp/AgentManager_Release_x64/full/functions/0x140072870.c new file mode 100644 index 00000000..3b628bfb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140072870.c @@ -0,0 +1,19 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140072870 FUN_140072870 + * Pseudocode, not original source. */ + +undefined8 * FUN_140072870(IUnknown *param_1,undefined8 *param_2) + +{ + ULONG UVar1; + + UVar1 = (*param_1->lpVtbl[5].Release)(param_1); + if ((int)UVar1 < 0) { + _com_issue_errorex(UVar1,param_1,(_GUID *)&DAT_1401109e8); + *param_2 = 0; + return param_2; + } + *param_2 = 0; + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140072900.c b/decomp/AgentManager_Release_x64/full/functions/0x140072900.c new file mode 100644 index 00000000..ece7295b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140072900.c @@ -0,0 +1,19 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140072900 FUN_140072900 + * Pseudocode, not original source. */ + +undefined8 * FUN_140072900(IUnknown *param_1,undefined8 *param_2) + +{ + ULONG UVar1; + + UVar1 = (*param_1->lpVtbl[6].AddRef)(param_1); + if ((int)UVar1 < 0) { + _com_issue_errorex(UVar1,param_1,(_GUID *)&DAT_1401109e8); + *param_2 = 0; + return param_2; + } + *param_2 = 0; + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140072970.c b/decomp/AgentManager_Release_x64/full/functions/0x140072970.c new file mode 100644 index 00000000..5d0b2f2f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140072970.c @@ -0,0 +1,23 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140072970 FUN_140072970 + * Pseudocode, not original source. */ + +undefined8 * FUN_140072970(IUnknown *param_1,undefined8 *param_2,void **param_3) + +{ + HRESULT HVar1; + undefined8 local_res8; + + local_res8._0_4_ = 0; + local_res8._4_2_ = 0; + local_res8._6_2_ = 0; + HVar1 = (*param_1->lpVtbl[7].QueryInterface)(param_1,(IID *)&local_res8,param_3); + if (HVar1 < 0) { + _com_issue_errorex(HVar1,param_1,(_GUID *)&DAT_1401301b0); + *param_2 = local_res8; + return param_2; + } + *param_2 = local_res8; + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400729e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400729e0.c new file mode 100644 index 00000000..2eaea164 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400729e0.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400729e0 FUN_1400729e0 + * Pseudocode, not original source. */ + +void FUN_1400729e0(undefined8 *param_1,undefined8 param_2,void **param_3) + +{ + IUnknown *This; + ULONG UVar1; + HRESULT HVar2; + IID *riid; + IID *This_00; + ulong local_res8; + + This_00 = (IID *)*param_1; + riid = (IID *)&local_res8; + local_res8 = 0; + UVar1 = (*(*(IUnknownVtbl **)This_00)[0xb].AddRef)((IUnknown *)This_00); + if ((int)UVar1 < 0) { + param_3 = (void **)&DAT_1401109f8; + _com_issue_errorex(UVar1,(IUnknown *)This_00,(_GUID *)&DAT_1401109f8); + riid = This_00; + } + if (local_res8 != 0) { + This = (IUnknown *)*param_1; + HVar2 = (*This->lpVtbl[5].QueryInterface)(This,riid,param_3); + if (HVar2 < 0) { + _com_issue_errorex(HVar2,This,(_GUID *)&DAT_1401109f8); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140072a60.c b/decomp/AgentManager_Release_x64/full/functions/0x140072a60.c new file mode 100644 index 00000000..b19a6093 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140072a60.c @@ -0,0 +1,34 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140072a60 FUN_140072a60 + * Pseudocode, not original source. */ + +void FUN_140072a60(longlong *param_1,int param_2) + +{ + longlong lVar1; + int iVar2; + + lVar1 = *param_1; + if (param_2 < *(int *)(lVar1 + -0x10)) { + param_2 = *(int *)(lVar1 + -0x10); + } + if (1 < *(int *)(lVar1 + -8)) { + FUN_140072650(param_1,param_2); + return; + } + iVar2 = *(int *)(lVar1 + -0xc); + if (iVar2 < param_2) { + if (iVar2 < 0x40000001) { + iVar2 = iVar2 + iVar2 / 2; + } + else { + iVar2 = iVar2 + 0x100000; + } + if (iVar2 < param_2) { + iVar2 = param_2; + } + FUN_140072700(param_1,iVar2); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140072ac0.c b/decomp/AgentManager_Release_x64/full/functions/0x140072ac0.c new file mode 100644 index 00000000..21526651 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140072ac0.c @@ -0,0 +1,19 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140072ac0 FUN_140072ac0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_140072ac0(undefined8 *param_1,undefined8 param_2,void **param_3) + +{ + undefined1 auStack_158 [32]; + undefined8 local_138; + ulonglong local_10; + + local_138 = 0xfffffffffffffffe; + local_10 = DAT_14016f5a0 ^ (ulonglong)auStack_158; + FUN_1400729e0(param_1,param_2,param_3); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140072b00.c b/decomp/AgentManager_Release_x64/full/functions/0x140072b00.c new file mode 100644 index 00000000..a6a01ef4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140072b00.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140072b00 FUN_140072b00 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_140072b00(undefined8 *param_1) + +{ + IUnknown *This; + ULONG UVar1; + undefined1 auStack_158 [32]; + int local_138; + undefined8 local_130; + ulonglong local_10; + + local_130 = 0xfffffffffffffffe; + local_10 = DAT_14016f5a0 ^ (ulonglong)auStack_158; + This = (IUnknown *)*param_1; + local_138 = 0; + UVar1 = (*This->lpVtbl[0x12].AddRef)(This); + if ((int)UVar1 < 0) { + _com_issue_errorex(UVar1,This,(_GUID *)&DAT_1401301b0); + } + if (local_138 != 0) { + FUN_140072500(param_1); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140072ba0.c b/decomp/AgentManager_Release_x64/full/functions/0x140072ba0.c new file mode 100644 index 00000000..17a68d52 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140072ba0.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140072ba0 FUN_140072ba0 + * Pseudocode, not original source. */ + +void FUN_140072ba0(longlong *param_1,undefined8 param_2,void **param_3) + +{ + FUN_140072ac0(param_1,param_2,param_3); + if ((longlong *)*param_1 != (longlong *)0x0) { + (**(code **)(*(longlong *)*param_1 + 0x10))(); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140072bd0.c b/decomp/AgentManager_Release_x64/full/functions/0x140072bd0.c new file mode 100644 index 00000000..7a16bcbc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140072bd0.c @@ -0,0 +1,121 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140072bd0 FUN_140072bd0 + * Pseudocode, not original source. */ + +int FUN_140072bd0(longlong *param_1,wchar_t *param_2,short *param_3) + +{ + undefined *puVar1; + rsize_t _DstSize; + int iVar2; + int iVar3; + int iVar4; + int iVar5; + wchar_t *pwVar6; + longlong lVar7; + int iVar8; + int iVar9; + int iVar10; + wchar_t *pwVar11; + longlong lVar12; + longlong lVar13; + wchar_t *pwVar14; + int local_58; + + iVar2 = FUN_14003e620(param_2); + if (iVar2 != 0) { + iVar3 = FUN_14003e620(param_3); + pwVar14 = (wchar_t *)*param_1; + iVar4 = 0; + local_58 = 0; + iVar5 = iVar4; + pwVar11 = (wchar_t *)PTR_DAT_14016f010; + if ((pwVar14 != (wchar_t *)0x0) && (pwVar11 = pwVar14, pwVar14 != (wchar_t *)PTR_DAT_14016f010)) + { + iVar5 = *(int *)(pwVar14 + -4); + } + pwVar14 = pwVar11 + iVar5; + if (pwVar11 < pwVar14) { + do { + pwVar6 = wcsstr(pwVar11,param_2); + while (pwVar6 != (wchar_t *)0x0) { + pwVar11 = pwVar6 + iVar2; + iVar4 = iVar4 + 1; + pwVar6 = wcsstr(pwVar11,param_2); + local_58 = iVar4; + } + iVar5 = FUN_14003e620(pwVar11); + pwVar11 = pwVar11 + (iVar5 + 1); + } while (pwVar11 < pwVar14); + if (0 < iVar4) { + puVar1 = (undefined *)*param_1; + iVar5 = 0; + if ((puVar1 != (undefined *)0x0) && (puVar1 != PTR_DAT_14016f010)) { + iVar5 = *(int *)(puVar1 + -8); + } + lVar12 = (longlong)iVar3; + iVar9 = (iVar3 - iVar2) * iVar4 + iVar5; + iVar8 = iVar5; + if (iVar5 < iVar9) { + iVar8 = iVar9; + } + iVar10 = 0; + if ((puVar1 != (undefined *)0x0) && (iVar10 = 0, puVar1 != PTR_DAT_14016f010)) { + iVar10 = *(int *)(puVar1 + -8); + } + if (iVar8 <= iVar10) { + iVar8 = 0; + if ((puVar1 != (undefined *)0x0) && (iVar8 = 0, puVar1 != PTR_DAT_14016f010)) { + iVar8 = *(int *)(puVar1 + -8); + } + } + iVar10 = 1; + if (1 < iVar8) { + iVar10 = iVar8; + } + if (puVar1 == (undefined *)0x0) { + iVar8 = 0; + } + else if (puVar1 == PTR_DAT_14016f010) { + iVar8 = 0; + } + else { + iVar8 = *(int *)(puVar1 + -8); + } + if (iVar8 < iVar10) { + FUN_140001d10(param_1,iVar10); + } + FUN_140001df0(param_1); + lVar7 = (longlong)iVar5; + pwVar11 = (wchar_t *)*param_1; + if ((wchar_t *)*param_1 == (wchar_t *)0x0) { + pwVar11 = (wchar_t *)PTR_DAT_14016f010; + } + pwVar14 = pwVar11; + while (pwVar14 < pwVar11 + lVar7) { + pwVar6 = wcsstr(pwVar14,param_2); + if (pwVar6 != (wchar_t *)0x0) { + do { + pwVar14 = pwVar6 + lVar12; + lVar13 = (longlong) + ((iVar5 - (int)((longlong)pwVar6 - (longlong)pwVar11 >> 1)) - iVar2); + _DstSize = lVar13 * 2; + memmove_s(pwVar14,_DstSize,pwVar6 + iVar2,_DstSize); + memcpy_s(pwVar6,lVar12 * 2,param_3,lVar12 * 2); + pwVar6[lVar12 + lVar13] = L'\0'; + iVar5 = iVar5 + (iVar3 - iVar2); + pwVar6 = wcsstr(pwVar14,param_2); + } while (pwVar6 != (wchar_t *)0x0); + } + iVar4 = FUN_14003e620(pwVar14); + pwVar14 = pwVar14 + (iVar4 + 1); + iVar4 = local_58; + } + FUN_140001f60(param_1,iVar9); + } + } + return iVar4; + } + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140072e80.c b/decomp/AgentManager_Release_x64/full/functions/0x140072e80.c new file mode 100644 index 00000000..69befad2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140072e80.c @@ -0,0 +1,78 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140072e80 FUN_140072e80 + * Pseudocode, not original source. */ + +longlong * FUN_140072e80(longlong *param_1) + +{ + undefined *puVar1; + int iVar2; + int iVar3; + wchar_t *pwVar4; + int iVar5; + int iVar6; + + puVar1 = (undefined *)*param_1; + iVar5 = 0; + iVar6 = 0; + if (puVar1 != (undefined *)0x0) { + if (puVar1 != PTR_DAT_14016f010) { + iVar6 = *(int *)(puVar1 + -8); + } + if (puVar1 != (undefined *)0x0) { + iVar2 = 0; + if (puVar1 != PTR_DAT_14016f010) { + iVar2 = *(int *)(puVar1 + -8); + } + goto LAB_140072ec0; + } + } + iVar2 = 0; +LAB_140072ec0: + iVar3 = iVar6; + if (((iVar6 <= iVar2) && (iVar3 = 0, puVar1 != (undefined *)0x0)) && (puVar1 != PTR_DAT_14016f010) + ) { + iVar3 = *(int *)(puVar1 + -8); + } + iVar2 = 1; + if (1 < iVar3) { + iVar2 = iVar3; + } + if (puVar1 == (undefined *)0x0) { + iVar5 = 0; + } + else if (puVar1 != PTR_DAT_14016f010) { + iVar5 = *(int *)(puVar1 + -8); + } + if (iVar5 < iVar2) { + FUN_140001d10(param_1,iVar2); + } + FUN_140001df0(param_1); + pwVar4 = (wchar_t *)*param_1; + if ((wchar_t *)*param_1 == (wchar_t *)0x0) { + pwVar4 = (wchar_t *)PTR_DAT_14016f010; + } + FUN_14003e690(pwVar4,(longlong)(iVar6 + 1)); + puVar1 = (undefined *)*param_1; + iVar5 = 0; + iVar2 = 0; + if (0 < iVar6) { + iVar2 = iVar6; + } + if ((puVar1 != (undefined *)0x0) && (puVar1 != PTR_DAT_14016f010)) { + iVar5 = *(int *)(puVar1 + -8); + } + if ((iVar5 <= iVar2) && (iVar2 = 0, puVar1 != (undefined *)0x0)) { + if (puVar1 == PTR_DAT_14016f010) { + return param_1; + } + iVar2 = *(int *)(puVar1 + -8); + } + if (((puVar1 != PTR_DAT_14016f010) && (puVar1 != (undefined *)0x0)) && + ((int *)(puVar1 + -8) != (int *)0x0)) { + *(int *)(puVar1 + -8) = iVar2; + *(undefined2 *)(puVar1 + (longlong)iVar2 * 2) = 0; + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140072fa0.c b/decomp/AgentManager_Release_x64/full/functions/0x140072fa0.c new file mode 100644 index 00000000..79ede5ba --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140072fa0.c @@ -0,0 +1,32 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140072fa0 FUN_140072fa0 + * Pseudocode, not original source. */ + +undefined8 * +FUN_140072fa0(longlong param_1,undefined8 *param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 uVar1; + undefined8 *puVar2; + undefined8 local_res8; + + local_res8 = 0; + if (*(longlong *)(param_1 + 0x10) != 0) { + (**(code **)(**(longlong **)(param_1 + 0x10) + 0x20)) + (*(longlong **)(param_1 + 0x10),&local_res8,param_3,param_4,0xfffffffffffffffe); + } + uVar1 = local_res8; + puVar2 = operator_new(0x18); + if (puVar2 != (undefined8 *)0x0) { + puVar2[1] = 0; + *(undefined4 *)(puVar2 + 2) = 1; + *puVar2 = uVar1; + } + *param_2 = puVar2; + if (puVar2 == (undefined8 *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_140048d70(0x8007000e); + } + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140073030.c b/decomp/AgentManager_Release_x64/full/functions/0x140073030.c new file mode 100644 index 00000000..5392d945 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140073030.c @@ -0,0 +1,28 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140073030 FUN_140073030 + * Pseudocode, not original source. */ + +undefined8 * FUN_140073030(IUnknown *param_1,undefined8 *param_2) + +{ + ULONG UVar1; + undefined8 *puVar2; + + UVar1 = (*param_1->lpVtbl[3].Release)(param_1); + if ((int)UVar1 < 0) { + _com_issue_errorex(UVar1,param_1,(_GUID *)&DAT_1401109c8); + } + puVar2 = operator_new(0x18); + if (puVar2 != (undefined8 *)0x0) { + puVar2[1] = 0; + *(undefined4 *)(puVar2 + 2) = 1; + *puVar2 = 0; + } + *param_2 = puVar2; + if (puVar2 == (undefined8 *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_140048d70(0x8007000e); + } + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400730d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400730d0.c new file mode 100644 index 00000000..7b426032 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400730d0.c @@ -0,0 +1,28 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400730d0 FUN_1400730d0 + * Pseudocode, not original source. */ + +undefined8 * FUN_1400730d0(IUnknown *param_1,undefined8 *param_2) + +{ + ULONG UVar1; + undefined8 *puVar2; + + UVar1 = (*param_1->lpVtbl[3].Release)(param_1); + if ((int)UVar1 < 0) { + _com_issue_errorex(UVar1,param_1,(_GUID *)&DAT_1401109e8); + } + puVar2 = operator_new(0x18); + if (puVar2 != (undefined8 *)0x0) { + puVar2[1] = 0; + *(undefined4 *)(puVar2 + 2) = 1; + *puVar2 = 0; + } + *param_2 = puVar2; + if (puVar2 == (undefined8 *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_140048d70(0x8007000e); + } + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140073170.c b/decomp/AgentManager_Release_x64/full/functions/0x140073170.c new file mode 100644 index 00000000..36e2f897 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140073170.c @@ -0,0 +1,44 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140073170 FUN_140073170 + * Pseudocode, not original source. */ + +void FUN_140073170(IUnknown *param_1,longlong *param_2,void **param_3) + +{ + longlong *plVar1; + longlong *plVar2; + longlong lVar3; + HRESULT HVar4; + IID *riid; + + if ((undefined8 *)*param_2 == (undefined8 *)0x0) { + riid = (IID *)0x0; + } + else { + riid = *(IID **)*param_2; + } + HVar4 = (*param_1->lpVtbl[4].QueryInterface)(param_1,riid,param_3); + if (HVar4 < 0) { + _com_issue_errorex(HVar4,param_1,(_GUID *)&DAT_1401109e8); + } + plVar2 = (longlong *)*param_2; + if (plVar2 != (longlong *)0x0) { + LOCK(); + plVar1 = plVar2 + 2; + lVar3 = *plVar1; + *(int *)plVar1 = (int)*plVar1 + -1; + UNLOCK(); + if (((int)lVar3 == 1) && (plVar2 != (longlong *)0x0)) { + if (*plVar2 != 0) { + Ordinal_6(); + } + if ((void *)plVar2[1] != (void *)0x0) { + operator_delete__((void *)plVar2[1]); + } + operator_delete(plVar2); + } + *param_2 = 0; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140073210.c b/decomp/AgentManager_Release_x64/full/functions/0x140073210.c new file mode 100644 index 00000000..164f038e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140073210.c @@ -0,0 +1,73 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140073210 FUN_140073210 + * Pseudocode, not original source. */ + +ULONG FUN_140073210(IUnknown *param_1,undefined8 *param_2,undefined8 *param_3,undefined8 *param_4) + +{ + longlong *plVar1; + longlong *plVar2; + longlong lVar3; + ULONG UVar4; + + UVar4 = (*param_1->lpVtbl[6].Release)(param_1); + if ((int)UVar4 < 0) { + _com_issue_errorex(UVar4,param_1,(_GUID *)&DAT_1401109f8); + } + plVar2 = (longlong *)*param_2; + if (plVar2 != (longlong *)0x0) { + LOCK(); + plVar1 = plVar2 + 2; + lVar3 = *plVar1; + *(int *)plVar1 = (int)*plVar1 + -1; + UNLOCK(); + if (((int)lVar3 == 1) && (plVar2 != (longlong *)0x0)) { + if (*plVar2 != 0) { + Ordinal_6(); + } + if ((void *)plVar2[1] != (void *)0x0) { + operator_delete__((void *)plVar2[1]); + } + operator_delete(plVar2); + } + *param_2 = 0; + } + plVar2 = (longlong *)*param_3; + if (plVar2 != (longlong *)0x0) { + LOCK(); + plVar1 = plVar2 + 2; + lVar3 = *plVar1; + *(int *)plVar1 = (int)*plVar1 + -1; + UNLOCK(); + if (((int)lVar3 == 1) && (plVar2 != (longlong *)0x0)) { + if (*plVar2 != 0) { + Ordinal_6(); + } + if ((void *)plVar2[1] != (void *)0x0) { + operator_delete__((void *)plVar2[1]); + } + operator_delete(plVar2); + } + *param_3 = 0; + } + plVar2 = (longlong *)*param_4; + if (plVar2 != (longlong *)0x0) { + LOCK(); + plVar1 = plVar2 + 2; + lVar3 = *plVar1; + *(int *)plVar1 = (int)*plVar1 + -1; + UNLOCK(); + if (((int)lVar3 == 1) && (plVar2 != (longlong *)0x0)) { + if (*plVar2 != 0) { + Ordinal_6(); + } + if ((void *)plVar2[1] != (void *)0x0) { + operator_delete__((void *)plVar2[1]); + } + operator_delete(plVar2); + } + *param_4 = 0; + } + return UVar4; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140073390.c b/decomp/AgentManager_Release_x64/full/functions/0x140073390.c new file mode 100644 index 00000000..e2295e26 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140073390.c @@ -0,0 +1,44 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140073390 FUN_140073390 + * Pseudocode, not original source. */ + +void FUN_140073390(IUnknown *param_1,longlong *param_2,void **param_3) + +{ + longlong *plVar1; + longlong *plVar2; + longlong lVar3; + HRESULT HVar4; + IID *riid; + + if ((undefined8 *)*param_2 == (undefined8 *)0x0) { + riid = (IID *)0x0; + } + else { + riid = *(IID **)*param_2; + } + HVar4 = (*param_1->lpVtbl[0xb].QueryInterface)(param_1,riid,param_3); + if (HVar4 < 0) { + _com_issue_errorex(HVar4,param_1,(_GUID *)&DAT_1401109f8); + } + plVar2 = (longlong *)*param_2; + if (plVar2 != (longlong *)0x0) { + LOCK(); + plVar1 = plVar2 + 2; + lVar3 = *plVar1; + *(int *)plVar1 = (int)*plVar1 + -1; + UNLOCK(); + if (((int)lVar3 == 1) && (plVar2 != (longlong *)0x0)) { + if (*plVar2 != 0) { + Ordinal_6(); + } + if ((void *)plVar2[1] != (void *)0x0) { + operator_delete__((void *)plVar2[1]); + } + operator_delete(plVar2); + } + *param_2 = 0; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140073430.c b/decomp/AgentManager_Release_x64/full/functions/0x140073430.c new file mode 100644 index 00000000..3ea27ce0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140073430.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140073430 FUN_140073430 + * Pseudocode, not original source. */ + +undefined8 FUN_140073430(undefined8 *param_1,undefined8 param_2,longlong param_3) + +{ + uint uVar1; + void *pvVar2; + undefined2 local_a8 [4]; + longlong local_a0; + undefined8 local_80; + undefined1 local_78 [96]; + + local_80 = 0xfffffffffffffffe; + Ordinal_8(param_2); + local_a8[0] = 8; + local_a0 = Ordinal_2(param_3); + if ((local_a0 == 0) && (param_3 != 0)) { + /* WARNING: Subroutine does not return */ + FUN_140048d70(0x8007000e); + } + pvVar2 = FUN_140072280((IUnknown *)*param_1,local_78,(ulong *)local_a8); + uVar1 = Ordinal_10(param_2,pvVar2); + if ((int)uVar1 < 0) { + /* WARNING: Subroutine does not return */ + FUN_140048d70((ulonglong)uVar1); + } + Ordinal_9(local_78); + Ordinal_9(local_a8); + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140073500.c b/decomp/AgentManager_Release_x64/full/functions/0x140073500.c new file mode 100644 index 00000000..cfb09fed --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140073500.c @@ -0,0 +1,39 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140073500 FUN_140073500 + * Pseudocode, not original source. */ + +undefined8 FUN_140073500(longlong *param_1,HMODULE param_2,uint param_3) + +{ + int cbMultiByte; + HRSRC pHVar1; + ushort *puVar2; + + pHVar1 = FindResourceW(param_2,(LPCWSTR)(ulonglong)(ushort)((short)(param_3 >> 4) + 1), + (LPCWSTR)0x6); + if (pHVar1 != (HRSRC)0x0) { + puVar2 = FUN_140011370(param_2,pHVar1,param_3); + if (puVar2 != (ushort *)0x0) { + cbMultiByte = WideCharToMultiByte(3,0,(LPCWSTR)(puVar2 + 1),(uint)*puVar2,(LPSTR)0x0,0, + (LPCSTR)0x0,(LPBOOL)0x0); + if (cbMultiByte < 0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80070057); + } + if ((int)(1U - *(int *)(*param_1 + -8) | *(int *)(*param_1 + -0xc) - cbMultiByte) < 0) { + FUN_140072a60(param_1,cbMultiByte); + } + WideCharToMultiByte(3,0,(LPCWSTR)(puVar2 + 1),(uint)*puVar2,(LPSTR)*param_1,cbMultiByte, + (LPCSTR)0x0,(LPBOOL)0x0); + if (cbMultiByte <= *(int *)(*param_1 + -0xc)) { + *(int *)(*param_1 + -0x10) = cbMultiByte; + *(undefined1 *)((longlong)cbMultiByte + *param_1) = 0; + return 1; + } + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80070057); + } + } + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140073640.c b/decomp/AgentManager_Release_x64/full/functions/0x140073640.c new file mode 100644 index 00000000..3d8caeab --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140073640.c @@ -0,0 +1,51 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140073640 FUN_140073640 + * Pseudocode, not original source. */ + +void FUN_140073640(longlong *param_1,char *param_2,int param_3) + +{ + uint uVar1; + size_t sVar2; + int iVar3; + int iVar4; + ulonglong uVar5; + + uVar1 = *(uint *)(*param_1 + -0x10); + uVar5 = (longlong)param_2 - *param_1; + if (param_3 < 0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80070057); + } + if (param_2 == (char *)0x0) { + iVar4 = 0; + } + else { + sVar2 = strnlen(param_2,(longlong)param_3); + iVar4 = (int)sVar2; + } + if (0x7fffffff - iVar4 < (int)uVar1) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80070057); + } + iVar3 = uVar1 + iVar4; + if (iVar3 < 0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80070057); + } + if ((int)(1U - *(int *)(*param_1 + -8) | *(int *)(*param_1 + -0xc) - iVar3) < 0) { + FUN_140072a60(param_1,iVar3); + } + if (uVar5 <= uVar1) { + param_2 = (char *)(*param_1 + uVar5); + } + memcpy_s((void *)((ulonglong)uVar1 + *param_1),(longlong)iVar4,param_2,(longlong)iVar4); + if (iVar3 <= *(int *)(*param_1 + -0xc)) { + *(int *)(*param_1 + -0x10) = iVar3; + *(undefined1 *)((longlong)iVar3 + *param_1) = 0; + return; + } + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80070057); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140073740.c b/decomp/AgentManager_Release_x64/full/functions/0x140073740.c new file mode 100644 index 00000000..e4fedf73 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140073740.c @@ -0,0 +1,47 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140073740 FUN_140073740 + * Pseudocode, not original source. */ + +void FUN_140073740(longlong *param_1,void *param_2,int param_3) + +{ + uint uVar1; + longlong lVar2; + void *_Dst; + rsize_t _MaxCount; + + _MaxCount = (rsize_t)param_3; + if (param_3 == 0) { + FUN_1400725d0(param_1); + return; + } + if (param_2 == (void *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80070057); + } + lVar2 = *param_1; + uVar1 = *(uint *)(lVar2 + -0x10); + if (param_3 < 0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80070057); + } + if ((int)(1U - *(int *)(lVar2 + -8) | *(int *)(lVar2 + -0xc) - param_3) < 0) { + FUN_140072a60(param_1,param_3); + } + _Dst = (void *)*param_1; + if ((ulonglong)uVar1 < (ulonglong)((longlong)param_2 - lVar2)) { + memcpy_s(_Dst,(longlong)*(int *)((longlong)_Dst + -0xc),param_2,_MaxCount); + } + else { + memmove_s(_Dst,(longlong)*(int *)((longlong)_Dst + -0xc), + (void *)((longlong)_Dst + ((longlong)param_2 - lVar2)),_MaxCount); + } + if (param_3 <= *(int *)(*param_1 + -0xc)) { + *(int *)(*param_1 + -0x10) = param_3; + *(undefined1 *)(_MaxCount + *param_1) = 0; + return; + } + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80070057); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140073830.c b/decomp/AgentManager_Release_x64/full/functions/0x140073830.c new file mode 100644 index 00000000..c1328601 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140073830.c @@ -0,0 +1,88 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140073830 FUN_140073830 + * Pseudocode, not original source. */ + +void FUN_140073830(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong lVar1; + undefined2 *puVar2; + longlong *plVar3; + undefined2 *puVar4; + undefined8 uVar5; + undefined *puVar6; + longlong *local_res10; + undefined *local_res18; + longlong *local_res20; + undefined **local_80 [9]; + undefined **local_38; + undefined4 local_30; + longlong *local_28; + undefined8 local_20; + + FUN_14003e7c0(param_1,param_2,param_3,param_4); + local_res18 = PTR_DAT_14016f010; + puVar2 = (undefined2 *)FUN_1400723e0(param_1); + puVar4 = &DAT_140131724; + if (puVar2 != (undefined2 *)0x0) { + puVar4 = puVar2; + } + FUN_140072fa0(param_1,&local_res20,param_3,param_4); + plVar3 = FUN_14003d880(param_1,&local_res10,param_3,param_4); + if ((undefined8 *)*plVar3 == (undefined8 *)0x0) { + uVar5 = 0; + } + else { + uVar5 = *(undefined8 *)*plVar3; + } + FUN_140029b80((longlong *)&local_res18,L"%s %s %s",uVar5,puVar4); + if (local_res10 != (longlong *)0x0) { + LOCK(); + plVar3 = local_res10 + 2; + lVar1 = *plVar3; + *(int *)plVar3 = (int)*plVar3 + -1; + UNLOCK(); + if (((int)lVar1 == 1) && (local_res10 != (longlong *)0x0)) { + if (*local_res10 != 0) { + Ordinal_6(); + } + if ((void *)local_res10[1] != (void *)0x0) { + operator_delete__((void *)local_res10[1]); + } + operator_delete(local_res10); + } + local_res10 = (longlong *)0x0; + } + if (local_res20 != (longlong *)0x0) { + LOCK(); + plVar3 = local_res20 + 2; + lVar1 = *plVar3; + *(int *)plVar3 = (int)*plVar3 + -1; + UNLOCK(); + if (((int)lVar1 == 1) && (local_res20 != (longlong *)0x0)) { + if (*local_res20 != 0) { + Ordinal_6(); + } + if ((void *)local_res20[1] != (void *)0x0) { + operator_delete__((void *)local_res20[1]); + } + operator_delete(local_res20); + } + } + puVar6 = local_res18; + if (local_res18 == (undefined *)0x0) { + puVar6 = PTR_DAT_14016f010; + } + FUN_14003db10((exception *)local_80,L"%s",puVar6,puVar4); + local_80[0] = Proud::DbException::vftable; + local_38 = _com_error::vftable; + local_30 = *(undefined4 *)(param_1 + 8); + local_28 = *(longlong **)(param_1 + 0x10); + local_20 = 0; + if (local_28 != (longlong *)0x0) { + (**(code **)(*local_28 + 8))(); + } + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_80,(ThrowInfo *)&DAT_14016c088); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400739e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400739e0.c new file mode 100644 index 00000000..06e8c5ea --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400739e0.c @@ -0,0 +1,23 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400739e0 FUN_1400739e0 + * Pseudocode, not original source. */ + +exception * +FUN_1400739e0(exception *param_1,exception *param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong *plVar1; + + FUN_140006f20(param_1,param_2,param_3,param_4); + *(undefined ***)param_1 = Proud::DbException::vftable; + *(undefined ***)(param_1 + 0x48) = _com_error::vftable; + *(undefined4 *)(param_1 + 0x50) = *(undefined4 *)(param_2 + 0x50); + plVar1 = *(longlong **)(param_2 + 0x58); + *(undefined8 *)(param_1 + 0x60) = 0; + *(longlong **)(param_1 + 0x58) = plVar1; + if (plVar1 != (longlong *)0x0) { + (**(code **)(*plVar1 + 8))(plVar1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140073a40.c b/decomp/AgentManager_Release_x64/full/functions/0x140073a40.c new file mode 100644 index 00000000..8c9a4358 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140073a40.c @@ -0,0 +1,41 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140073a40 FUN_140073a40 + * Pseudocode, not original source. */ + +void ** FUN_140073a40(void **param_1) + +{ + LPUNKNOWN local_res10; + undefined **local_28; + HRESULT local_20; + undefined8 local_18; + undefined8 local_10; + + *param_1 = (void *)0x0; + if (*param_1 != (longlong *)0x0) { + (**(code **)(*(longlong *)*param_1 + 0x10))(); + } + local_20 = CoCreateInstance((IID *)&DAT_140110d30,(LPUNKNOWN)0x0,0x17,(IID *)&DAT_140110af0, + &local_res10); + if (-1 < local_20) { + local_20 = OleRun(local_res10); + if (-1 < local_20) { + local_20 = (*local_res10->lpVtbl->QueryInterface)(local_res10,(IID *)&DAT_140110a48,param_1); + } + (*local_res10->lpVtbl->Release)(local_res10); + if (-1 < local_20) { + if (*param_1 != (void *)0x0) { + return param_1; + } + goto LAB_140073ae1; + } + } + *param_1 = (void *)0x0; +LAB_140073ae1: + local_28 = _com_error::vftable; + local_18 = 0; + local_10 = 0; + /* WARNING: Subroutine does not return */ + _CxxThrowException(&local_28,(ThrowInfo *)&DAT_14016c000); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140073b20.c b/decomp/AgentManager_Release_x64/full/functions/0x140073b20.c new file mode 100644 index 00000000..12c797bc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140073b20.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140073b20 FUN_140073b20 + * Pseudocode, not original source. */ + +void ** FUN_140073b20(void **param_1) + +{ + HRESULT HVar1; + LPUNKNOWN local_res10; + + *param_1 = (void *)0x0; + if (*param_1 != (longlong *)0x0) { + (**(code **)(*(longlong *)*param_1 + 0x10))(); + } + HVar1 = CoCreateInstance((IID *)&DAT_140110d68,(LPUNKNOWN)0x0,0x17,(IID *)&DAT_140110af0, + &local_res10); + if (-1 < HVar1) { + HVar1 = OleRun(local_res10); + if (-1 < HVar1) { + HVar1 = (*local_res10->lpVtbl->QueryInterface)(local_res10,(IID *)&DAT_140110a58,param_1); + } + (*local_res10->lpVtbl->Release)(local_res10); + if (-1 < HVar1) { + return param_1; + } + } + *param_1 = (void *)0x0; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140073bd0.c b/decomp/AgentManager_Release_x64/full/functions/0x140073bd0.c new file mode 100644 index 00000000..019c86cf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140073bd0.c @@ -0,0 +1,40 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140073bd0 FUN_140073bd0 + * Pseudocode, not original source. */ + +undefined8 * FUN_140073bd0(undefined8 *param_1,undefined8 *param_2,void **param_3) + +{ + undefined8 *puVar1; + undefined4 local_res20; + undefined4 uStackX_24; + longlong *local_38; + undefined8 local_30; + undefined2 local_20 [4]; + undefined4 local_18; + + local_30 = 0xfffffffffffffffe; + local_res20 = 0; + local_20[0] = 3; + local_18 = SUB84(param_3,0); + puVar1 = FUN_140072970((IUnknown *)*param_1,&local_38,param_3); + if ((IUnknown *)*puVar1 == (IUnknown *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_140048d70(0x80004003); + } + puVar1 = FUN_140072750((IUnknown *)*puVar1,(undefined8 *)&local_res20); + if ((IUnknown *)*puVar1 == (IUnknown *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_140048d70(0x80004003); + } + FUN_140073030((IUnknown *)*puVar1,param_2); + if ((longlong *)CONCAT44(uStackX_24,local_res20) != (longlong *)0x0) { + (**(code **)(*(longlong *)CONCAT44(uStackX_24,local_res20) + 0x10))(); + } + if (local_38 != (longlong *)0x0) { + (**(code **)(*local_38 + 0x10))(); + } + Ordinal_9(local_20); + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140073c80.c b/decomp/AgentManager_Release_x64/full/functions/0x140073c80.c new file mode 100644 index 00000000..52c09491 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140073c80.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140073c80 FUN_140073c80 + * Pseudocode, not original source. */ + +void FUN_140073c80(undefined8 *param_1,IID *param_2,void **param_3) + +{ + IUnknown *This; + HRESULT HVar1; + + This = (IUnknown *)*param_1; + HVar1 = (*This->lpVtbl[0xc].QueryInterface)(This,param_2,param_3); + if (HVar1 < 0) { + _com_issue_errorex(HVar1,This,(_GUID *)&DAT_1401301b0); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140073cc0.c b/decomp/AgentManager_Release_x64/full/functions/0x140073cc0.c new file mode 100644 index 00000000..1091b14a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140073cc0.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140073cc0 FUN_140073cc0 + * Pseudocode, not original source. */ + +void ** FUN_140073cc0(void **param_1) + +{ + HRESULT HVar1; + LPUNKNOWN local_res10; + + *param_1 = (void *)0x0; + if (*param_1 != (longlong *)0x0) { + (**(code **)(*(longlong *)*param_1 + 0x10))(); + } + HVar1 = CoCreateInstance((IID *)&DAT_140110df0,(LPUNKNOWN)0x0,0x17,(IID *)&DAT_140110af0, + &local_res10); + if (-1 < HVar1) { + HVar1 = OleRun(local_res10); + if (-1 < HVar1) { + HVar1 = (*local_res10->lpVtbl->QueryInterface)(local_res10,(IID *)&DAT_140110a68,param_1); + } + (*local_res10->lpVtbl->Release)(local_res10); + if (-1 < HVar1) { + return param_1; + } + } + *param_1 = (void *)0x0; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140073d70.c b/decomp/AgentManager_Release_x64/full/functions/0x140073d70.c new file mode 100644 index 00000000..ff7f6c93 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140073d70.c @@ -0,0 +1,54 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140073d70 FUN_140073d70 + * Pseudocode, not original source. */ + +void FUN_140073d70(undefined8 *param_1,undefined4 param_2,undefined4 *param_3) + +{ + IUnknown *This; + ULONG UVar1; + undefined8 *puVar2; + longlong *local_res20; + longlong *local_58; + undefined8 local_50; + undefined2 local_40 [4]; + undefined4 local_38; + undefined4 local_28; + undefined4 uStack_24; + undefined4 uStack_20; + undefined4 uStack_1c; + undefined8 local_18; + + local_50 = 0xfffffffffffffffe; + local_40[0] = 3; + local_38 = param_2; + puVar2 = FUN_140072900((IUnknown *)*param_1,&local_58); + if ((IUnknown *)*puVar2 == (IUnknown *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_140048d70(0x80004003); + } + puVar2 = FUN_1400727e0((IUnknown *)*puVar2,&local_res20,(undefined8 *)local_40); + This = (IUnknown *)*puVar2; + if (This == (IUnknown *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_140048d70(0x80004003); + } + local_28 = *param_3; + uStack_24 = param_3[1]; + uStack_20 = param_3[2]; + uStack_1c = param_3[3]; + local_18 = *(undefined8 *)(param_3 + 4); + UVar1 = (*This->lpVtbl[3].Release)(This); + if ((int)UVar1 < 0) { + _com_issue_errorex(UVar1,This,(_GUID *)&DAT_1401109d8); + } + if (local_res20 != (longlong *)0x0) { + (**(code **)(*local_res20 + 0x10))(); + } + if (local_58 != (longlong *)0x0) { + (**(code **)(*local_58 + 0x10))(); + } + Ordinal_9(local_40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140073e60.c b/decomp/AgentManager_Release_x64/full/functions/0x140073e60.c new file mode 100644 index 00000000..ef7a0661 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140073e60.c @@ -0,0 +1,48 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140073e60 FUN_140073e60 + * Pseudocode, not original source. */ + +undefined8 FUN_140073e60(undefined8 *param_1,undefined8 param_2,undefined4 param_3) + +{ + uint uVar1; + undefined8 *puVar2; + void *pvVar3; + longlong *local_58; + longlong *local_50; + undefined8 local_48; + undefined2 local_38 [4]; + undefined4 local_30; + undefined1 local_20 [24]; + + local_48 = 0xfffffffffffffffe; + Ordinal_8(param_2); + local_38[0] = 3; + local_30 = param_3; + puVar2 = FUN_140072900((IUnknown *)*param_1,&local_50); + if ((IUnknown *)*puVar2 == (IUnknown *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_140048d70(0x80004003); + } + puVar2 = FUN_1400727e0((IUnknown *)*puVar2,&local_58,(undefined8 *)local_38); + if ((IUnknown *)*puVar2 == (IUnknown *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_140048d70(0x80004003); + } + pvVar3 = FUN_140072210((IUnknown *)*puVar2,local_20); + uVar1 = Ordinal_10(param_2,pvVar3); + if ((int)uVar1 < 0) { + /* WARNING: Subroutine does not return */ + FUN_140048d70((ulonglong)uVar1); + } + Ordinal_9(local_20); + if (local_58 != (longlong *)0x0) { + (**(code **)(*local_58 + 0x10))(); + } + if (local_50 != (longlong *)0x0) { + (**(code **)(*local_50 + 0x10))(); + } + Ordinal_9(local_38); + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140073f70.c b/decomp/AgentManager_Release_x64/full/functions/0x140073f70.c new file mode 100644 index 00000000..eaed05cd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140073f70.c @@ -0,0 +1,31 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140073f70 FUN_140073f70 + * Pseudocode, not original source. */ + +void FUN_140073f70(undefined8 *param_1,IID *param_2,void **param_3) + +{ + IUnknown *pIVar1; + HRESULT HVar2; + ULONG UVar3; + longlong *plVar4; + void **ppvVar5; + undefined8 local_res8; + + pIVar1 = (IUnknown *)*param_1; + ppvVar5 = param_3; + HVar2 = (*pIVar1->lpVtbl[3].QueryInterface)(pIVar1,param_2,param_3); + if (HVar2 < 0) { + ppvVar5 = (void **)&DAT_1401109e8; + _com_issue_errorex(HVar2,pIVar1,(_GUID *)&DAT_1401109e8); + } + plVar4 = FUN_14000a8c0(&local_res8,(longlong)param_3); + FUN_140073170((IUnknown *)*param_1,plVar4,ppvVar5); + pIVar1 = (IUnknown *)*param_1; + UVar3 = (*pIVar1->lpVtbl[6].Release)(pIVar1); + if ((int)UVar3 < 0) { + _com_issue_errorex(UVar3,pIVar1,(_GUID *)&DAT_1401109e8); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140074010.c b/decomp/AgentManager_Release_x64/full/functions/0x140074010.c new file mode 100644 index 00000000..5f774bb5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140074010.c @@ -0,0 +1,43 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140074010 FUN_140074010 + * Pseudocode, not original source. */ + +longlong * FUN_140074010(longlong *param_1,char *param_2) + +{ + char cVar1; + longlong lVar2; + HMODULE pHVar3; + uint uVar4; + int iVar5; + char *pcVar6; + + lVar2 = (**(code **)(PTR_PTR_14016f508 + 0x18))(); + *param_1 = lVar2 + 0x18; + if (param_2 == (char *)0x0) { + iVar5 = 0; + } + else { + if (((ulonglong)param_2 & 0xffffffffffff0000) == 0) { + uVar4 = (uint)param_2 & 0xffff; + pHVar3 = FUN_1400112b0(uVar4,0); + if (pHVar3 == (HMODULE)0x0) { + return param_1; + } + FUN_140073500(param_1,pHVar3,uVar4); + return param_1; + } + lVar2 = -1; + pcVar6 = param_2; + do { + if (lVar2 == 0) break; + lVar2 = lVar2 + -1; + cVar1 = *pcVar6; + pcVar6 = pcVar6 + 1; + } while (cVar1 != '\0'); + iVar5 = ~(uint)lVar2 - 1; + } + FUN_140073740(param_1,param_2,iVar5); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400740c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400740c0.c new file mode 100644 index 00000000..0e999120 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400740c0.c @@ -0,0 +1,59 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400740c0 FUN_1400740c0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_1400740c0(void) + +{ + int *piVar1; + int iVar2; + bool bVar3; + undefined8 *puVar4; + undefined1 auStack_168 [32]; + LPCSTR local_148; + undefined8 local_140; + char *local_138; + undefined1 *local_128; + undefined1 local_120 [264]; + ulonglong local_18; + + local_140 = 0xfffffffffffffffe; + local_18 = DAT_14016f5a0 ^ (ulonglong)auStack_168; + if (DAT_1401781a8 != 0) { + bVar3 = FUN_14003d0f0(DAT_1401781a8 + 8); + if (((bVar3) && (DAT_1401781b0 != (code *)0x0)) && + (*(int *)(*(longlong *)((longlong)ThreadLocalStoragePointer + (ulonglong)_tls_index * 8) + 8) + == 0)) { + FUN_140074010((longlong *)&local_148,&DAT_140110ed0); + puVar4 = (undefined8 *)(**(code **)(PTR_PTR_14016f508 + 0x18))(&PTR_PTR_14016f508); + local_138 = (char *)(puVar4 + 3); + FUN_140073640((longlong *)&local_148,local_138,*(int *)(puVar4 + 1)); + local_128 = local_120; + FUN_140005110((longlong *)&local_128,local_148,3); + (*DAT_1401781b0)(local_128); + if (local_128 != local_120) { + free(local_128); + } + LOCK(); + piVar1 = (int *)(puVar4 + 2); + iVar2 = *piVar1; + *piVar1 = *piVar1 + -1; + UNLOCK(); + if (iVar2 + -1 < 1) { + (**(code **)(*(longlong *)*puVar4 + 8))(); + } + LOCK(); + piVar1 = (int *)(local_148 + -8); + iVar2 = *piVar1; + *piVar1 = *piVar1 + -1; + UNLOCK(); + if (iVar2 + -1 < 1) { + (**(code **)(**(longlong **)(local_148 + -0x18) + 8))(); + } + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140074210.c b/decomp/AgentManager_Release_x64/full/functions/0x140074210.c new file mode 100644 index 00000000..9a02f8a7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140074210.c @@ -0,0 +1,151 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140074210 FUN_140074210 + * Pseudocode, not original source. */ + +void FUN_140074210(undefined8 *param_1,short *param_2,short *param_3,short *param_4) + +{ + int *piVar1; + wchar_t *pwVar2; + undefined *puVar3; + wchar_t *pwVar4; + IUnknown *pIVar5; + int *piVar6; + wchar_t *pwVar7; + longlong *plVar8; + undefined8 *puVar9; + undefined8 *puVar10; + undefined8 *puVar11; + IUnknown *pIVar12; + wchar_t **ppwVar13; + wchar_t *pwVar14; + short *psVar15; + void **ppvVar16; + wchar_t *local_res20; + wchar_t *local_68; + IUnknown *local_60; + undefined1 local_58; + undefined8 local_50; + undefined8 local_48; + int *local_40; + undefined1 local_38; + undefined8 local_30; + undefined8 *local_28; + + local_30 = 0xfffffffffffffffe; + psVar15 = param_3; + FUN_14003e7c0(param_1,param_2,param_3,param_4); + local_res20 = (wchar_t *)PTR_DAT_14016f010; + if (param_3 == (short *)0x0) { + FUN_140005dd0((longlong *)&local_res20,param_2,psVar15,param_4); + param_3 = param_4; + } + else { + psVar15 = param_2; + FUN_140029b80((longlong *)&local_res20,L"%s;Application Name=%s",param_2,param_3); + } + ppwVar13 = &local_res20; + FUN_140005dd0((longlong *)ppwVar13,param_2,psVar15,param_3); + FUN_14003e7c0(ppwVar13,param_2,psVar15,param_3); + pwVar4 = local_res20; + puVar3 = PTR_DAT_14016f010; + local_68 = (wchar_t *)PTR_DAT_14016f010; + if (local_res20 != (wchar_t *)PTR_DAT_14016f010) { + pIVar5 = (IUnknown *)FUN_14003e7c0(ppwVar13,param_2,psVar15,param_3); + local_58 = 0; + pIVar12 = pIVar5; + local_60 = pIVar5; + FUN_14003d040((int *)pIVar5); + local_58 = 1; + if (((puVar3 != (undefined *)0x0) && (puVar3 != PTR_DAT_14016f010)) && + (puVar3 + -8 != (undefined *)0x0)) { + piVar6 = (int *)FUN_14003e7c0(pIVar12,param_2,psVar15,param_3); + local_38 = 0; + local_40 = piVar6; + FUN_14003d040(piVar6); + local_38 = 1; + piVar1 = (int *)(puVar3 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(puVar3 + -8); + } + FUN_14003d0d0((longlong)piVar6); + } + local_68 = pwVar4; + if (((pwVar4 != (wchar_t *)PTR_DAT_14016f010) && (pwVar4 != (wchar_t *)0x0)) && + (pwVar4 != (wchar_t *)0x8)) { + *(int *)(pwVar4 + -2) = *(int *)(pwVar4 + -2) + 1; + } + FUN_14003d0d0((longlong)pIVar5); + } + ppvVar16 = (void **)&DAT_140131724; + FUN_140072bd0((longlong *)&local_68,L" ",&DAT_140131724); + FUN_140072e80((longlong *)&local_68); + FUN_1400740c0(); + pwVar2 = local_68; + pwVar7 = (wchar_t *)PTR_DAT_14016f010; + if ((((local_68 == (wchar_t *)0x0) || + (pwVar7 = local_68, local_68 == (wchar_t *)PTR_DAT_14016f010)) || + (-1 < *(int *)(local_68 + -4))) && + (pwVar7 = wcsstr(pwVar7,L"PROVIDER="), pwVar7 != (wchar_t *)0x0)) { + pwVar14 = pwVar2; + if (pwVar2 == (wchar_t *)0x0) { + pwVar14 = (wchar_t *)PTR_DAT_14016f010; + } + if ((int)((longlong)pwVar7 - (longlong)pwVar14 >> 1) != -1) goto LAB_14007441e; + } + pwVar7 = (wchar_t *)PTR_DAT_14016f010; + if ((((pwVar2 == (wchar_t *)0x0) || (pwVar7 = pwVar2, pwVar2 == (wchar_t *)PTR_DAT_14016f010)) || + (-1 < *(int *)(pwVar2 + -4))) && + (pwVar7 = wcsstr(pwVar7,L"DRIVER="), pwVar7 != (wchar_t *)0x0)) { + pwVar14 = pwVar2; + if (pwVar2 == (wchar_t *)0x0) { + pwVar14 = (wchar_t *)PTR_DAT_14016f010; + } + if ((int)((longlong)pwVar7 - (longlong)pwVar14 >> 1) != -1) goto LAB_14007441e; + } + plVar8 = FUN_14000a8c0(&local_50,0x140110f78); + FUN_140073390((IUnknown *)*param_1,plVar8,ppvVar16); +LAB_14007441e: + local_28 = &local_48; + local_40 = (int *)&local_50; + puVar9 = FUN_14000a8c0(&local_48,0x140131724); + puVar10 = FUN_14000a8c0(&local_50,0x140131724); + pwVar7 = pwVar4; + if (pwVar4 == (wchar_t *)0x0) { + pwVar7 = (wchar_t *)PTR_DAT_14016f010; + } + puVar11 = FUN_14000a8c0(&local_60,(longlong)pwVar7); + pIVar12 = (IUnknown *)*param_1; + FUN_140073210(pIVar12,puVar11,puVar10,puVar9); + if (((pwVar2 != (wchar_t *)0x0) && (pwVar2 != (wchar_t *)PTR_DAT_14016f010)) && + (pwVar2 + -4 != (wchar_t *)0x0)) { + pIVar12 = (IUnknown *)FUN_14003e7c0(pIVar12,puVar11,puVar10,puVar9); + local_58 = 0; + local_60 = pIVar12; + FUN_14003d040((int *)pIVar12); + local_58 = 1; + pwVar7 = pwVar2 + -2; + *(int *)pwVar7 = *(int *)pwVar7 + -1; + if (*(int *)pwVar7 == 0) { + FUN_14003e8b0(pwVar2 + -4); + } + FUN_14003d0d0((longlong)pIVar12); + } + if (((pwVar4 != (wchar_t *)0x0) && (pwVar4 != (wchar_t *)PTR_DAT_14016f010)) && + (pwVar4 + -4 != (wchar_t *)0x0)) { + pIVar12 = (IUnknown *)FUN_14003e7c0(pIVar12,puVar11,puVar10,puVar9); + local_58 = 0; + local_60 = pIVar12; + FUN_14003d040((int *)pIVar12); + local_58 = 1; + pwVar2 = pwVar4 + -2; + *(int *)pwVar2 = *(int *)pwVar2 + -1; + if (*(int *)pwVar2 == 0) { + FUN_14003e8b0(pwVar4 + -4); + } + FUN_14003d0d0((longlong)pIVar12); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140074540.c b/decomp/AgentManager_Release_x64/full/functions/0x140074540.c new file mode 100644 index 00000000..f3aaba51 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140074540.c @@ -0,0 +1,108 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140074540 FUN_140074540 + * Pseudocode, not original source. */ + +void FUN_140074540(undefined8 *param_1,int *param_2) + +{ + longlong *plVar1; + longlong lVar2; + DWORD DVar3; + uint uVar4; + undefined8 *puVar5; + longlong **pplVar6; + longlong **pplVar7; + int iVar8; + short *psVar9; + ulonglong uVar10; + longlong *local_res18; + longlong *local_res20; + undefined4 local_68; + undefined4 uStack_64; + undefined4 uStack_60; + undefined4 uStack_5c; + undefined8 local_58 [2]; + short local_48 [4]; + undefined4 local_40; + undefined1 local_30 [8]; + int local_28; + + FUN_1400740c0(); + Ordinal_8(local_48); + if ((local_48[0] != 3) && (local_48[0] != 10)) { + if (local_48[0] == 0xb) { + local_40 = (uint)local_40._2_2_ << 0x10; + goto LAB_1400745ce; + } + uVar4 = Ordinal_9(local_48); + if ((int)uVar4 < 0) { + /* WARNING: Subroutine does not return */ + FUN_140048d70((ulonglong)uVar4); + } + local_48[0] = 3; + } + local_40 = 0; +LAB_1400745ce: + pplVar7 = (longlong **)0x0; + DVar3 = GetTickCount(); + *(DWORD *)(param_1 + 1) = DVar3; + uVar10 = 0; + psVar9 = local_48; + FUN_140072870((IUnknown *)*param_1,&local_res18); + if (local_res18 != (longlong *)0x0) { + (**(code **)(*local_res18 + 0x10))(); + } + pplVar6 = &local_res20; + puVar5 = FUN_1400730d0((IUnknown *)*param_1,pplVar6); + if ((undefined8 *)*puVar5 != (undefined8 *)0x0) { + pplVar7 = *(longlong ***)*puVar5; + } + DVar3 = GetTickCount(); + iVar8 = *(int *)(param_1 + 1); + if ((DAT_1401781a0 != (longlong *)0x0) && + ((uint)s___AVITaskSubject_Proud___140170050._28_4_ <= DVar3 - iVar8)) { + puVar5 = FUN_140098820(local_58); + local_68 = *(undefined4 *)puVar5; + uStack_64 = *(undefined4 *)((longlong)puVar5 + 4); + uStack_60 = *(undefined4 *)(puVar5 + 1); + uStack_5c = *(undefined4 *)((longlong)puVar5 + 0xc); + uVar10 = (ulonglong)(DVar3 - iVar8); + psVar9 = (short *)&local_68; + (**(code **)(*DAT_1401781a0 + 8))(); + pplVar6 = pplVar7; + } + if (local_res20 != (longlong *)0x0) { + LOCK(); + plVar1 = local_res20 + 2; + lVar2 = *plVar1; + *(int *)plVar1 = (int)*plVar1 + -1; + UNLOCK(); + if (((int)lVar2 == 1) && (local_res20 != (longlong *)0x0)) { + if (*local_res20 != 0) { + Ordinal_6(); + } + if ((void *)local_res20[1] != (void *)0x0) { + operator_delete__((void *)local_res20[1]); + } + operator_delete(local_res20); + } + } + if (param_2 != (int *)0x0) { + FUN_140074970(local_48,pplVar6,psVar9,uVar10); + iVar8 = local_40; + if (local_48[0] != 3) { + Ordinal_8(local_30); + uVar4 = Ordinal_12(local_30,local_48,0,3); + if ((int)uVar4 < 0) { + /* WARNING: Subroutine does not return */ + FUN_140048d70((ulonglong)uVar4); + } + Ordinal_9(local_30); + iVar8 = local_28; + } + *param_2 = iVar8; + } + Ordinal_9(local_48); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140074740.c b/decomp/AgentManager_Release_x64/full/functions/0x140074740.c new file mode 100644 index 00000000..22eba1a5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140074740.c @@ -0,0 +1,118 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140074740 FUN_140074740 + * Pseudocode, not original source. */ + +void FUN_140074740(undefined8 *param_1,longlong *param_2,int *param_3) + +{ + longlong lVar1; + DWORD DVar2; + uint uVar3; + longlong *plVar4; + undefined8 *puVar5; + longlong **pplVar6; + longlong **pplVar7; + int iVar8; + short *psVar9; + ulonglong uVar10; + longlong *local_res20; + short local_88 [4]; + undefined4 local_80; + longlong *local_70; + undefined1 local_68 [8]; + int local_60; + undefined4 local_48; + undefined4 uStack_44; + undefined4 uStack_40; + undefined4 uStack_3c; + undefined8 local_30; + undefined8 local_28 [2]; + + local_30 = 0xfffffffffffffffe; + FUN_1400740c0(); + Ordinal_8(local_88); + if ((local_88[0] != 3) && (local_88[0] != 10)) { + if (local_88[0] == 0xb) { + local_80 = (uint)local_80._2_2_ << 0x10; + goto LAB_1400747d9; + } + uVar3 = Ordinal_9(local_88); + if ((int)uVar3 < 0) { + /* WARNING: Subroutine does not return */ + FUN_140048d70((ulonglong)uVar3); + } + local_88[0] = 3; + } + local_80 = 0; +LAB_1400747d9: + pplVar7 = (longlong **)0x0; + DVar2 = GetTickCount(); + *(DWORD *)(param_1 + 1) = DVar2; + uVar10 = 0; + psVar9 = local_88; + plVar4 = FUN_140072870((IUnknown *)*param_1,&local_res20); + plVar4 = (longlong *)*plVar4; + if (plVar4 != (longlong *)0x0) { + if ((longlong *)*param_2 != (longlong *)0x0) { + (**(code **)(*(longlong *)*param_2 + 0x10))(); + } + *param_2 = (longlong)plVar4; + (**(code **)(*plVar4 + 8))(plVar4); + } + if (local_res20 != (longlong *)0x0) { + (**(code **)(*local_res20 + 0x10))(); + } + pplVar6 = &local_70; + puVar5 = FUN_1400730d0((IUnknown *)*param_1,pplVar6); + if ((undefined8 *)*puVar5 != (undefined8 *)0x0) { + pplVar7 = *(longlong ***)*puVar5; + } + DVar2 = GetTickCount(); + iVar8 = *(int *)(param_1 + 1); + if ((DAT_1401781a0 != (longlong *)0x0) && + ((uint)s___AVITaskSubject_Proud___140170050._28_4_ <= DVar2 - iVar8)) { + puVar5 = FUN_140098820(local_28); + local_48 = *(undefined4 *)puVar5; + uStack_44 = *(undefined4 *)((longlong)puVar5 + 4); + uStack_40 = *(undefined4 *)(puVar5 + 1); + uStack_3c = *(undefined4 *)((longlong)puVar5 + 0xc); + uVar10 = (ulonglong)(DVar2 - iVar8); + psVar9 = (short *)&local_48; + (**(code **)(*DAT_1401781a0 + 8))(); + pplVar6 = pplVar7; + } + if (local_70 != (longlong *)0x0) { + LOCK(); + plVar4 = local_70 + 2; + lVar1 = *plVar4; + *(int *)plVar4 = (int)*plVar4 + -1; + UNLOCK(); + if (((int)lVar1 == 1) && (local_70 != (longlong *)0x0)) { + if (*local_70 != 0) { + Ordinal_6(); + } + if ((void *)local_70[1] != (void *)0x0) { + operator_delete__((void *)local_70[1]); + } + operator_delete(local_70); + } + } + if (param_3 != (int *)0x0) { + FUN_140074970(local_88,pplVar6,psVar9,uVar10); + iVar8 = local_80; + if (local_88[0] != 3) { + Ordinal_8(local_68); + uVar3 = Ordinal_12(local_68,local_88,0,3); + if ((int)uVar3 < 0) { + /* WARNING: Subroutine does not return */ + FUN_140048d70((ulonglong)uVar3); + } + Ordinal_9(local_68); + iVar8 = local_60; + } + *param_3 = iVar8; + } + Ordinal_9(local_88); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140074970.c b/decomp/AgentManager_Release_x64/full/functions/0x140074970.c new file mode 100644 index 00000000..71a8aa1e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140074970.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140074970 FUN_140074970 + * Pseudocode, not original source. */ + +void FUN_140074970(short *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + exception local_58 [88]; + + if (*param_1 == 1) { + FUN_14003db10(local_58,L"Cannot read Proud.CVariant value whose actual value is Null!",param_3, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400749b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400749b0.c new file mode 100644 index 00000000..42f5a88f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400749b0.c @@ -0,0 +1,24 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400749b0 FUN_1400749b0 + * Pseudocode, not original source. */ + +void FUN_1400749b0(longlong *param_1,undefined8 param_2,SIZE_T param_3,undefined8 param_4) + +{ + undefined2 *puVar1; + exception local_58 [80]; + + if (param_1[1] != 0) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_Cannot_use_internal_buffer_becau_140170560,param_3, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + if (*param_1 == 0) { + puVar1 = FUN_14008a360(param_1,param_2,param_3); + *param_1 = (longlong)puVar1; + *(undefined8 *)(puVar1 + 0x14) = 1; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140074a00.c b/decomp/AgentManager_Release_x64/full/functions/0x140074a00.c new file mode 100644 index 00000000..1e7a7fec --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140074a00.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140074a00 FUN_140074a00 + * Pseudocode, not original source. */ + +longlong * FUN_140074a00(longlong *param_1,longlong param_2) + +{ + *param_1 = param_2; + *(undefined1 *)(param_1 + 1) = *(undefined1 *)(param_2 + 0x20); + *(undefined1 *)(param_2 + 0x20) = 0; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140074a20.c b/decomp/AgentManager_Release_x64/full/functions/0x140074a20.c new file mode 100644 index 00000000..36997664 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140074a20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140074a20 FUN_140074a20 + * Pseudocode, not original source. */ + +void FUN_140074a20(longlong *param_1) + +{ + *(char *)(*param_1 + 0x20) = (char)param_1[1]; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140074a30.c b/decomp/AgentManager_Release_x64/full/functions/0x140074a30.c new file mode 100644 index 00000000..a2715409 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140074a30.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140074a30 FUN_140074a30 + * Pseudocode, not original source. */ + +undefined8 FUN_140074a30(longlong param_1) + +{ + if (*(int *)(param_1 + 0x18) == 0) { + return 0; + } + return *(undefined8 *)(param_1 + 0x10); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140074a40.c b/decomp/AgentManager_Release_x64/full/functions/0x140074a40.c new file mode 100644 index 00000000..aedec725 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140074a40.c @@ -0,0 +1,37 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140074a40 FUN_140074a40 + * Pseudocode, not original source. */ + +void FUN_140074a40(longlong param_1,undefined8 param_2,SIZE_T param_3,undefined8 param_4) + +{ + longlong lVar1; + int iVar2; + undefined2 *puVar3; + exception local_58 [80]; + + if (*(longlong *)(param_1 + 0x10) != 0) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_Cannot_use_internal_buffer_becau_140170560,param_3, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + if (*(longlong *)(param_1 + 8) == 0) { + puVar3 = FUN_14008a360(param_1,param_2,param_3); + *(undefined2 **)(param_1 + 8) = puVar3; + *(undefined8 *)(puVar3 + 0x14) = 1; + } + if (*(longlong *)(param_1 + 8) != 0) { + *(undefined4 *)(*(longlong *)(param_1 + 8) + 0x24) = 1; + } + lVar1 = *(longlong *)(param_1 + 8); + if (lVar1 != 0) { + iVar2 = *(int *)(lVar1 + 0x20); + if (iVar2 < 0x80) { + iVar2 = 0x80; + } + *(int *)(lVar1 + 0x20) = iVar2; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140074ac0.c b/decomp/AgentManager_Release_x64/full/functions/0x140074ac0.c new file mode 100644 index 00000000..f702e0cd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140074ac0.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140074ac0 FUN_140074ac0 + * Pseudocode, not original source. */ + +void FUN_140074ac0(undefined8 *param_1) + +{ + *param_1 = 0; + FUN_14008a320(param_1 + 1); + param_1[3] = 0; + param_1[2] = 0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140074af0.c b/decomp/AgentManager_Release_x64/full/functions/0x140074af0.c new file mode 100644 index 00000000..b7500bd4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140074af0.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140074af0 FUN_140074af0 + * Pseudocode, not original source. */ + +void FUN_140074af0(longlong *param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + exception local_58 [88]; + + if (*param_1 != 0) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_Cannot_use_external_buffer_becau_140170558,param_3, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + if (param_1[1] != 0) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_Cannot_use_internal_buffer_becau_140170560,param_3, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + if ((param_2 != 0) && ((int)param_3 != 0)) { + *(int *)((longlong)param_1 + 0x14) = (int)param_3; + *(undefined4 *)(param_1 + 2) = 0; + param_1[1] = param_2; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140074b70.c b/decomp/AgentManager_Release_x64/full/functions/0x140074b70.c new file mode 100644 index 00000000..6f0e4f67 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140074b70.c @@ -0,0 +1,24 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140074b70 FUN_140074b70 + * Pseudocode, not original source. */ + +longlong FUN_140074b70(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong lVar1; + + lVar1 = *(longlong *)(param_1 + 0x10); + if (lVar1 == 0) { + lVar1 = *(longlong *)(param_1 + 8); + if (lVar1 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(param_1,param_2,param_3,param_4); + } + if (*(int *)(lVar1 + 0x18) != 0) { + return *(longlong *)(lVar1 + 0x10); + } + lVar1 = 0; + } + return lVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140074bb0.c b/decomp/AgentManager_Release_x64/full/functions/0x140074bb0.c new file mode 100644 index 00000000..e34f3295 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140074bb0.c @@ -0,0 +1,43 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140074bb0 FUN_140074bb0 + * Pseudocode, not original source. */ + +void FUN_140074bb0(int *param_1,ulonglong param_2,undefined8 param_3,undefined8 param_4) + +{ + uint uVar1; + longlong lVar2; + exception local_50 [80]; + + lVar2 = *(longlong *)(param_1 + 2); + if (lVar2 == 0) { + if (*(longlong *)(param_1 + 4) == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(param_1,param_2,param_3,param_4); + } + uVar1 = param_1[6]; + } + else { + uVar1 = *(uint *)(lVar2 + 0x18); + } + if ((int)uVar1 < (int)param_2) { + if (lVar2 == 0) { + if (*(longlong *)(param_1 + 4) == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(param_1,param_2,(ulonglong)uVar1,param_4); + } + uVar1 = param_1[6]; + } + else { + uVar1 = *(uint *)(lVar2 + 0x18); + } + FUN_14003db10(local_50, + L"너무 큰 offset으로 read pointer를 잡으려 했음. buffer 크기=%d, 잡으려는 offset=%d" + ,(ulonglong)uVar1,param_2 & 0xffffffff); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_50,(ThrowInfo *)&DAT_14016c210); + } + *param_1 = (int)param_2 * 8; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140074c30.c b/decomp/AgentManager_Release_x64/full/functions/0x140074c30.c new file mode 100644 index 00000000..00c5ee05 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140074c30.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140074c30 FUN_140074c30 + * Pseudocode, not original source. */ + +void FUN_140074c30(longlong param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + exception local_58 [88]; + + if (DAT_14016f140 < (int)param_3) { + FUN_14003db10(local_58,L"UseExternalBuffer failed due to too large capacity",param_3,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + FUN_140074af0((longlong *)(param_1 + 8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140074c70.c b/decomp/AgentManager_Release_x64/full/functions/0x140074c70.c new file mode 100644 index 00000000..2e187192 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140074c70.c @@ -0,0 +1,71 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140074c70 FUN_140074c70 + * Pseudocode, not original source. */ + +longlong FUN_140074c70(int *param_1,undefined8 *param_2,undefined8 param_3,undefined8 param_4) + +{ + uint uVar1; + longlong lVar2; + undefined8 uVar3; + uint uVar4; + int iVar5; + uint uVar6; + exception local_58 [80]; + ulonglong uVar7; + + lVar2 = *(longlong *)(param_1 + 2); + iVar5 = (int)param_3; + if ((lVar2 == 0) && (*(longlong *)(param_1 + 4) == 0)) { + FUN_14003db10(local_58,L"Cannot read from Null pointer message!",param_3,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + uVar4 = *param_1 >> 0x1f & 7; + uVar1 = *param_1 + uVar4; + uVar6 = (int)uVar1 >> 3; + uVar7 = (ulonglong)uVar6; + if ((uVar1 & 7) != uVar4) { + FUN_14003db10(local_58,L"Read offset is not byte aligned!",param_3,uVar7); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + if (lVar2 == 0) { + if (*(longlong *)(param_1 + 4) == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,(ulonglong)uVar4,param_3,uVar7); + } + uVar1 = param_1[6]; + } + else { + uVar1 = *(uint *)(lVar2 + 0x18); + } + if ((int)uVar1 < (int)(uVar6 + iVar5)) { + return (ulonglong)(uint3)(uVar6 + iVar5 >> 8) << 8; + } + if (*(longlong *)(param_1 + 4) == 0) { + if (lVar2 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,(ulonglong)uVar1,param_3,uVar7); + } + if (*(int *)(lVar2 + 0x18) == 0) { + lVar2 = 0; + } + else { + lVar2 = *(longlong *)(lVar2 + 0x10); + } + } + else { + lVar2 = *(longlong *)(param_1 + 4); + if (lVar2 == 0) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,param_3, + uVar7); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + } + uVar3 = FUN_140006fb0(param_2,(undefined8 *)((int)uVar6 + lVar2),(longlong)iVar5); + *param_1 = *param_1 + iVar5 * 8; + return CONCAT71((int7)((ulonglong)uVar3 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140074da0.c b/decomp/AgentManager_Release_x64/full/functions/0x140074da0.c new file mode 100644 index 00000000..6678a4ee --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140074da0.c @@ -0,0 +1,41 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140074da0 FUN_140074da0 + * Pseudocode, not original source. */ + +undefined4 FUN_140074da0(int *param_1,uint param_2) + +{ + longlong lVar1; + uint uVar2; + uint uVar3; + ulonglong uVar4; + int iVar5; + exception local_58 [88]; + + lVar1 = *(longlong *)(param_1 + 2); + uVar4 = (ulonglong)param_2; + if ((lVar1 == 0) && (*(longlong *)(param_1 + 4) == 0)) { + FUN_14003db10(local_58,L"Cannot read from Null pointer message!",0,uVar4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + uVar3 = *param_1 >> 0x1f & 7; + uVar2 = *param_1 + uVar3; + iVar5 = (int)uVar2 >> 3; + if ((uVar2 & 7) != uVar3) { + FUN_14003db10(local_58,L"Read offset is not byte aligned!",lVar1,uVar4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + if (lVar1 != 0) { + iVar5 = iVar5 + param_2; + return CONCAT31((int3)((uint)iVar5 >> 8),iVar5 <= *(int *)(lVar1 + 0x18)); + } + if (*(longlong *)(param_1 + 4) != 0) { + iVar5 = iVar5 + param_2; + return CONCAT31((int3)((uint)iVar5 >> 8),iVar5 <= param_1[6]); + } + /* WARNING: Subroutine does not return */ + FUN_14008a420(param_1,(ulonglong)uVar3,0,uVar4); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140074e50.c b/decomp/AgentManager_Release_x64/full/functions/0x140074e50.c new file mode 100644 index 00000000..485d80b9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140074e50.c @@ -0,0 +1,41 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140074e50 FUN_140074e50 + * Pseudocode, not original source. */ + +void FUN_140074e50(int *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + uint uVar1; + undefined8 uVar2; + int *piVar3; + char *pcVar4; + undefined8 uVar5; + char local_res8 [32]; + exception local_58 [80]; + + if ((char)param_1[8] != '\0') { + pcVar4 = local_res8; + uVar5 = 1; + piVar3 = param_1; + uVar2 = FUN_140074c70(param_1,(undefined8 *)pcVar4,1,param_4); + if (((char)uVar2 == '\0') || (local_res8[0] != -2)) { + if (*(longlong *)(param_1 + 2) == 0) { + if (*(longlong *)(param_1 + 4) == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(piVar3,pcVar4,uVar5,param_4); + } + uVar1 = param_1[6]; + } + else { + uVar1 = *(uint *)(*(longlong *)(param_1 + 2) + 0x18); + } + FUN_14003db10(local_58,L"CMessage: Test splitter failure(reading=%d,length=%d)", + (ulonglong)(uint)((int)((*param_1 >> 0x1f & 7U) + *param_1) >> 3), + (ulonglong)uVar1); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140074ee0.c b/decomp/AgentManager_Release_x64/full/functions/0x140074ee0.c new file mode 100644 index 00000000..26dee939 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140074ee0.c @@ -0,0 +1,32 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140074ee0 FUN_140074ee0 + * Pseudocode, not original source. */ + +undefined8 FUN_140074ee0(uint *param_1,undefined8 *param_2,undefined8 param_3) + +{ + uint uVar1; + undefined8 in_RAX; + undefined8 uVar2; + uint uVar3; + uint uVar4; + undefined8 *puVar5; + + if ((int)param_3 != 0) { + uVar4 = (int)*param_1 >> 0x1f & 7; + uVar1 = *param_1 + uVar4; + uVar3 = uVar1 & 0xfffffff8; + *param_1 = uVar3; + if (0 < (int)((uVar1 & 7) - uVar4)) { + *param_1 = uVar3 + 8; + } + puVar5 = param_2; + uVar2 = FUN_140074c70((int *)param_1,param_2,param_3,param_2); + if ((char)uVar2 == '\0') { + return uVar2; + } + in_RAX = FUN_140074e50((int *)param_1,param_2,param_3,puVar5); + } + return CONCAT71((int7)((ulonglong)in_RAX >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140074f40.c b/decomp/AgentManager_Release_x64/full/functions/0x140074f40.c new file mode 100644 index 00000000..cba83199 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140074f40.c @@ -0,0 +1,40 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140074f40 FUN_140074f40 + * Pseudocode, not original source. */ + +undefined4 FUN_140074f40(uint *param_1,uint param_2,undefined8 param_3,undefined8 param_4) + +{ + uint uVar1; + uint uVar2; + undefined4 uVar3; + undefined8 in_RAX; + undefined8 uVar4; + uint uVar5; + uint uVar6; + ulonglong uVar7; + ulonglong uVar8; + + uVar7 = (ulonglong)param_2; + if (param_2 == 0) { + return (int)CONCAT71((int7)((ulonglong)in_RAX >> 8),1); + } + uVar1 = *param_1; + uVar6 = (int)uVar1 >> 0x1f & 7; + uVar2 = uVar1 + uVar6; + uVar5 = uVar2 & 0xfffffff8; + *param_1 = uVar5; + if (0 < (int)((uVar2 & 7) - uVar6)) { + *param_1 = uVar5 + 8; + } + uVar8 = uVar7; + uVar3 = FUN_140074da0((int *)param_1,param_2); + if ((char)uVar3 == '\0') { + *param_1 = uVar1; + return uVar3; + } + uVar4 = FUN_140074e50((int *)param_1,uVar7,uVar8,param_4); + *param_1 = uVar1; + return (int)CONCAT71((int7)((ulonglong)uVar4 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140074fb0.c b/decomp/AgentManager_Release_x64/full/functions/0x140074fb0.c new file mode 100644 index 00000000..ccd4f817 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140074fb0.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140074fb0 FUN_140074fb0 + * Pseudocode, not original source. */ + +undefined4 * FUN_140074fb0(undefined4 *param_1) + +{ + *(undefined8 *)(param_1 + 6) = 0; + *(undefined8 *)(param_1 + 4) = 0; + *(undefined8 *)(param_1 + 2) = 0; + *param_1 = 0; + param_1[1] = 0; + *(undefined1 *)(param_1 + 8) = 0; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140074fe0.c b/decomp/AgentManager_Release_x64/full/functions/0x140074fe0.c new file mode 100644 index 00000000..bef4a0a4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140074fe0.c @@ -0,0 +1,31 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140074fe0 FUN_140074fe0 + * Pseudocode, not original source. */ + +undefined4 * FUN_140074fe0(undefined4 *param_1,undefined4 *param_2) + +{ + longlong *plVar1; + + *(undefined8 *)(param_1 + 6) = 0; + *(undefined8 *)(param_1 + 4) = 0; + *(undefined8 *)(param_1 + 2) = 0; + *param_1 = *param_2; + *(undefined1 *)(param_1 + 8) = *(undefined1 *)(param_2 + 8); + param_1[1] = param_2[1]; + if (*(longlong *)(param_2 + 2) == *(longlong *)(param_1 + 2)) { + param_1[7] = param_2[7]; + *(undefined8 *)(param_1 + 4) = *(undefined8 *)(param_2 + 4); + param_1[6] = param_2[6]; + } + else { + FUN_14008a320((longlong *)(param_1 + 2)); + if (*(longlong *)(param_2 + 2) != 0) { + plVar1 = (longlong *)(*(longlong *)(param_2 + 2) + 0x28); + *plVar1 = *plVar1 + 1; + *(undefined8 *)(param_1 + 2) = *(undefined8 *)(param_2 + 2); + } + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140075080.c b/decomp/AgentManager_Release_x64/full/functions/0x140075080.c new file mode 100644 index 00000000..c40a369e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140075080.c @@ -0,0 +1,34 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140075080 FUN_140075080 + * Pseudocode, not original source. */ + +void FUN_140075080(undefined4 *param_1,longlong *param_2) + +{ + longlong *plVar1; + + if (*param_2 == *(longlong *)(param_1 + 2)) { + param_1[7] = *(undefined4 *)((longlong)param_2 + 0x14); + *(longlong *)(param_1 + 4) = param_2[1]; + param_1[6] = (int)param_2[2]; + } + else { + FUN_14008a320((longlong *)(param_1 + 2)); + if (*param_2 != 0) { + plVar1 = (longlong *)(*param_2 + 0x28); + *plVar1 = *plVar1 + 1; + *(longlong *)(param_1 + 2) = *param_2; + } + } + *param_1 = 0; + FUN_14008a320(param_2); + if (param_2[1] != 0) { + if (*(int *)((longlong)param_2 + 0x14) < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + *(undefined4 *)(param_2 + 2) = 0; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140075110.c b/decomp/AgentManager_Release_x64/full/functions/0x140075110.c new file mode 100644 index 00000000..41027d14 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140075110.c @@ -0,0 +1,41 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140075110 FUN_140075110 + * Pseudocode, not original source. */ + +void FUN_140075110(int *param_1,undefined8 param_2,SIZE_T param_3,undefined8 param_4) + +{ + longlong lVar1; + int iVar2; + + iVar2 = (int)param_2; + if (iVar2 * 8 < *param_1) { + *param_1 = iVar2 * 8; + } + if (-1 < iVar2) { + if (*(longlong *)(param_1 + 4) != 0) { + if (param_1[7] < iVar2) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + param_1[6] = iVar2; + return; + } + lVar1 = *(longlong *)(param_1 + 2); + if (iVar2 < 1) { + if (lVar1 == 0) { + return; + } + param_2 = 0; + } + else if (lVar1 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,param_2,param_3,param_4); + } + FUN_14002a050(lVar1,(int)param_2,param_3); + return; + } + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140075170.c b/decomp/AgentManager_Release_x64/full/functions/0x140075170.c new file mode 100644 index 00000000..d5c914c5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140075170.c @@ -0,0 +1,42 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140075170 FUN_140075170 + * Pseudocode, not original source. */ + +longlong FUN_140075170(uint *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong lVar1; + int iVar2; + uint uVar3; + uint uVar4; + uint uVar5; + exception local_58 [80]; + + FUN_140074e50((int *)param_1,param_2,param_3,param_4); + lVar1 = *(longlong *)(param_1 + 2); + if ((lVar1 == 0) && (*(longlong *)(param_1 + 4) == 0)) { + FUN_14003db10(local_58,L"Null message로부터 데이터를 읽으려 했음",param_3,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + uVar3 = *param_1; + uVar5 = (int)uVar3 >> 0x1f & 7; + if (lVar1 == 0) { + if (*(longlong *)(param_1 + 4) == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,(ulonglong)uVar5,(ulonglong)uVar3,param_4); + } + uVar4 = param_1[6]; + } + else { + uVar4 = *(uint *)(lVar1 + 0x18); + } + iVar2 = ((int)(uVar3 + uVar5) >> 3) + (int)param_2; + if ((int)uVar4 < iVar2) { + return (ulonglong)(uint3)((uint)iVar2 >> 8) << 8; + } + uVar3 = uVar3 + (int)param_2 * 8; + *param_1 = uVar3; + return CONCAT71((uint7)(uint3)(uVar3 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140075210.c b/decomp/AgentManager_Release_x64/full/functions/0x140075210.c new file mode 100644 index 00000000..a3ff3028 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140075210.c @@ -0,0 +1,95 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140075210 FUN_140075210 + * Pseudocode, not original source. */ + +longlong FUN_140075210(uint *param_1,int *param_2,uint param_3,undefined8 param_4) + +{ + uint uVar1; + ulonglong uVar2; + int iVar3; + int iVar4; + longlong lVar5; + longlong lVar6; + ulonglong uVar7; + ulonglong uVar8; + exception local_58 [80]; + + uVar2 = (ulonglong)param_3; + lVar5 = *(longlong *)(param_1 + 2); + if (lVar5 == 0) { + if (*(longlong *)(param_1 + 4) == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(param_1,param_2,0,param_4); + } + uVar1 = param_1[6]; + } + else { + uVar1 = *(uint *)(lVar5 + 0x18); + } + uVar8 = (ulonglong)uVar1; + iVar3 = *param_1 + ((int)*param_1 >> 0x1f & 7U); + iVar4 = iVar3 >> 3; + if ((int)uVar1 < (int)(iVar4 + param_3)) { + return (ulonglong)(uint3)(iVar3 >> 0xb) << 8; + } + if (*(longlong *)(param_1 + 4) == 0) { + if (lVar5 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420((ulonglong)(iVar4 + param_3),(longlong)iVar4,0,uVar8); + } + if (*(int *)(lVar5 + 0x18) == 0) { + lVar6 = 0; + } + else { + lVar6 = *(longlong *)(lVar5 + 0x10); + } + } + else { + lVar6 = *(longlong *)(param_1 + 4); + if (lVar6 == 0) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,lVar5,uVar8 + ); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + } + lVar6 = iVar4 + lVar6; + if (DAT_14016f140 < (int)param_3) { + FUN_14003db10(local_58,L"UseExternalBuffer failed due to too large capacity",lVar5,uVar8); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + uVar7 = uVar2; + FUN_140074af0((longlong *)(param_2 + 2),lVar6,uVar2,uVar8); + if ((int)(param_3 * 8) < *param_2) { + *param_2 = param_3 * 8; + } + if ((int)param_3 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (*(longlong *)(param_2 + 4) == 0) { + lVar5 = *(longlong *)(param_2 + 2); + if ((int)param_3 < 1) { + if (lVar5 == 0) goto LAB_140075353; + param_3 = 0; + } + else if (lVar5 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,lVar6,uVar7,uVar8); + } + FUN_14002a050(lVar5,param_3,uVar7); + } + else { + if (param_2[7] < (int)param_3) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + param_2[6] = param_3; + } +LAB_140075353: + lVar5 = FUN_140075170(param_1,uVar2,uVar7,uVar8); + return CONCAT71((int7)((ulonglong)lVar5 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140075390.c b/decomp/AgentManager_Release_x64/full/functions/0x140075390.c new file mode 100644 index 00000000..8a3ecc5e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140075390.c @@ -0,0 +1,103 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140075390 FUN_140075390 + * Pseudocode, not original source. */ + +void FUN_140075390(undefined8 *param_1,longlong param_2,SIZE_T param_3,longlong param_4) + +{ + int iVar1; + undefined8 *puVar2; + int iVar3; + longlong lVar4; + undefined8 *puVar5; + size_t sVar6; + longlong lVar7; + int iVar8; + longlong lVar9; + exception local_b8 [72]; + exception local_70 [72]; + + lVar4 = *(longlong *)(param_2 + 0xc80); + iVar8 = 0; + lVar9 = 0; + if (lVar4 != 0) { + lVar7 = 0; + puVar5 = param_1; + do { + if (*(int *)(param_2 + 0xc88) <= iVar8) { + return; + } + if (lVar4 == 0) { + FUN_14003db10(local_b8,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,param_3, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_b8,(ThrowInfo *)&DAT_14016c210); + } + if (lVar9 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + puVar2 = *(undefined8 **)(lVar4 + lVar7); + iVar3 = *(int *)(lVar4 + 8 + lVar7); + sVar6 = (size_t)iVar3; + if (param_1[2] == 0) { + lVar4 = param_1[1]; + if (lVar4 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(puVar5,puVar2,param_3,param_4); + } + if (iVar3 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (iVar3 != 0) { + iVar1 = *(int *)(lVar4 + 0x18); + FUN_14002a050(lVar4,iVar1 + iVar3,param_3); + if (*(int *)(lVar4 + 0x18) == 0) { + lVar4 = 0; + } + else { + lVar4 = *(longlong *)(lVar4 + 0x10); + } + puVar5 = (undefined8 *)(lVar4 + iVar1); + goto LAB_14007547f; + } + } + else { + if (iVar3 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (iVar3 != 0) { + param_4 = param_1[2]; + if (param_4 == 0) { + FUN_14003db10(local_70,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368, + param_3,0); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_70,(ThrowInfo *)&DAT_14016c210); + } + iVar1 = *(int *)(param_1 + 3); + iVar3 = iVar1 + iVar3; + if ((iVar3 < 0) || (*(int *)((longlong)param_1 + 0x1c) < iVar3)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + *(int *)(param_1 + 3) = iVar3; + puVar5 = (undefined8 *)(iVar1 + param_4); +LAB_14007547f: + FUN_140006fb0(puVar5,puVar2,sVar6); + param_3 = sVar6; + } + } + lVar4 = *(longlong *)(param_2 + 0xc80); + iVar8 = iVar8 + 1; + lVar9 = lVar9 + 1; + lVar7 = lVar7 + 0x10; + } while (lVar4 != 0); + } + FUN_14003db10(local_b8,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,param_3,param_4 + ); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_b8,(ThrowInfo *)&DAT_14016c210); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140075550.c b/decomp/AgentManager_Release_x64/full/functions/0x140075550.c new file mode 100644 index 00000000..b516ce11 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140075550.c @@ -0,0 +1,19 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140075550 FUN_140075550 + * Pseudocode, not original source. */ + +void FUN_140075550(longlong param_1,undefined8 *param_2,SIZE_T param_3,undefined8 param_4) + +{ + if (*(longlong *)(param_1 + 0x10) != 0) { + FUN_140029f40((longlong *)(param_1 + 0x10),param_2,param_3,param_4); + return; + } + if (*(longlong *)(param_1 + 8) != 0) { + FUN_14002a110(*(longlong *)(param_1 + 8),param_2,param_3); + return; + } + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,param_2,param_3,param_4); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140075580.c b/decomp/AgentManager_Release_x64/full/functions/0x140075580.c new file mode 100644 index 00000000..0ed9c63c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140075580.c @@ -0,0 +1,96 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140075580 FUN_140075580 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +ulonglong FUN_140075580(uint *param_1,undefined8 *param_2,undefined8 param_3,undefined8 param_4) + +{ + int iVar1; + ulonglong uVar2; + uint uVar3; + longlong lVar4; + uint *puVar5; + uint uVar6; + char *pcVar7; + uint uVar8; + undefined1 auStack_158 [32]; + exception local_138 [144]; + undefined8 local_a8 [15]; + undefined8 local_30; + int local_28; + ulonglong local_18; + ulonglong uVar9; + + local_18 = DAT_14016f5a0 ^ (ulonglong)auStack_158; + lVar4 = *(longlong *)(param_1 + 2); + if (lVar4 == 0) { + if (*(longlong *)(param_1 + 4) == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,param_2,param_3,param_4); + } + uVar8 = param_1[6]; + } + else { + uVar8 = *(uint *)(lVar4 + 0x18); + } + uVar6 = (int)*param_1 >> 0x1f & 7; + iVar1 = (int)(*param_1 + uVar6) >> 3; + if (*(longlong *)(param_1 + 4) == 0) { + if (lVar4 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,(ulonglong)uVar6,(ulonglong)uVar8,param_4); + } + if (*(int *)(lVar4 + 0x18) == 0) { + lVar4 = 0; + } + else { + lVar4 = *(longlong *)(lVar4 + 0x10); + } + } + else { + lVar4 = *(longlong *)(param_1 + 4); + if (lVar4 == 0) { + FUN_14003db10(local_138,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368, + (ulonglong)uVar8,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_138,(ThrowInfo *)&DAT_14016c210); + } + } + uVar8 = uVar8 - iVar1; + uVar9 = (ulonglong)uVar8; + pcVar7 = (char *)(iVar1 + lVar4); + uVar2 = FUN_1400988f0(local_a8,pcVar7,uVar8); + if ((char)uVar2 != '\0') { + *param_2 = local_30; + puVar5 = param_1; + FUN_140074e50((int *)param_1,pcVar7,uVar9,param_4); + lVar4 = *(longlong *)(param_1 + 2); + if ((lVar4 == 0) && (*(longlong *)(param_1 + 4) == 0)) { + FUN_14003db10(local_138,L"Null message로부터 데이터를 읽으려 했음",uVar9,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_138,(ThrowInfo *)&DAT_14016c210); + } + uVar8 = *param_1; + uVar6 = (int)uVar8 >> 0x1f & 7; + if (lVar4 == 0) { + if (*(longlong *)(param_1 + 4) == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(puVar5,(ulonglong)uVar6,(ulonglong)uVar8,param_4); + } + uVar3 = param_1[6]; + } + else { + uVar3 = *(uint *)(lVar4 + 0x18); + } + uVar6 = ((int)(uVar8 + uVar6) >> 3) + local_28; + if ((int)uVar6 <= (int)uVar3) { + uVar6 = uVar8 + local_28 * 8; + *param_1 = uVar6; + } + uVar2 = CONCAT71((uint7)(uint3)(uVar6 >> 8),1); + } + return uVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400756f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400756f0.c new file mode 100644 index 00000000..92ce442b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400756f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400756f0 FUN_1400756f0 + * Pseudocode, not original source. */ + +void FUN_1400756f0(undefined8 *param_1) + +{ + FUN_14003d440((longlong *)*param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140075700.c b/decomp/AgentManager_Release_x64/full/functions/0x140075700.c new file mode 100644 index 00000000..bc2872fb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140075700.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140075700 FUN_140075700 + * Pseudocode, not original source. */ + +void FUN_140075700(undefined8 *param_1) + +{ + FUN_140001fc0((longlong *)*param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140075710.c b/decomp/AgentManager_Release_x64/full/functions/0x140075710.c new file mode 100644 index 00000000..69e7175d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140075710.c @@ -0,0 +1,34 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140075710 FUN_140075710 + * Pseudocode, not original source. */ + +undefined8 FUN_140075710(uint *param_1,uint *param_2,undefined8 param_3,undefined8 param_4) + +{ + uint uVar1; + ulonglong uVar2; + uint uVar3; + byte *pbVar4; + uint uVar5; + undefined8 uVar6; + byte local_res8 [8]; + + *param_2 = 6; + uVar3 = (int)*param_1 >> 0x1f & 7; + uVar1 = *param_1 + uVar3; + uVar5 = uVar1 & 0xfffffff8; + *param_1 = uVar5; + if (0 < (int)((uVar1 & 7) - uVar3)) { + *param_1 = uVar5 + 8; + } + pbVar4 = local_res8; + uVar6 = 1; + uVar2 = FUN_140074c70((int *)param_1,(undefined8 *)pbVar4,1,param_4); + if ((char)uVar2 != '\0') { + uVar6 = FUN_140074e50((int *)param_1,pbVar4,uVar6,param_4); + *param_2 = (uint)local_res8[0]; + return CONCAT71((int7)((ulonglong)uVar6 >> 8),1); + } + return uVar2 & 0xffffffffffffff00; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140075790.c b/decomp/AgentManager_Release_x64/full/functions/0x140075790.c new file mode 100644 index 00000000..a206df7d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140075790.c @@ -0,0 +1,34 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140075790 FUN_140075790 + * Pseudocode, not original source. */ + +undefined8 FUN_140075790(uint *param_1,uint *param_2,undefined8 param_3,undefined8 param_4) + +{ + uint uVar1; + ulonglong uVar2; + uint uVar3; + byte *pbVar4; + uint uVar5; + undefined8 uVar6; + byte local_res8 [8]; + + *param_2 = 2; + uVar3 = (int)*param_1 >> 0x1f & 7; + uVar1 = *param_1 + uVar3; + uVar5 = uVar1 & 0xfffffff8; + *param_1 = uVar5; + if (0 < (int)((uVar1 & 7) - uVar3)) { + *param_1 = uVar5 + 8; + } + pbVar4 = local_res8; + uVar6 = 1; + uVar2 = FUN_140074c70((int *)param_1,(undefined8 *)pbVar4,1,param_4); + if ((char)uVar2 != '\0') { + uVar6 = FUN_140074e50((int *)param_1,pbVar4,uVar6,param_4); + *param_2 = (uint)local_res8[0]; + return CONCAT71((int7)((ulonglong)uVar6 >> 8),1); + } + return uVar2 & 0xffffffffffffff00; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140075810.c b/decomp/AgentManager_Release_x64/full/functions/0x140075810.c new file mode 100644 index 00000000..57d6647b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140075810.c @@ -0,0 +1,34 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140075810 FUN_140075810 + * Pseudocode, not original source. */ + +undefined8 FUN_140075810(uint *param_1,uint *param_2,undefined8 param_3,undefined8 param_4) + +{ + uint uVar1; + ulonglong uVar2; + uint uVar3; + byte *pbVar4; + uint uVar5; + undefined8 uVar6; + byte local_res8 [8]; + + *param_2 = 0; + uVar3 = (int)*param_1 >> 0x1f & 7; + uVar1 = *param_1 + uVar3; + uVar5 = uVar1 & 0xfffffff8; + *param_1 = uVar5; + if (0 < (int)((uVar1 & 7) - uVar3)) { + *param_1 = uVar5 + 8; + } + pbVar4 = local_res8; + uVar6 = 1; + uVar2 = FUN_140074c70((int *)param_1,(undefined8 *)pbVar4,1,param_4); + if ((char)uVar2 != '\0') { + uVar6 = FUN_140074e50((int *)param_1,pbVar4,uVar6,param_4); + *param_2 = (uint)local_res8[0]; + return CONCAT71((int7)((ulonglong)uVar6 >> 8),1); + } + return uVar2 & 0xffffffffffffff00; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140075890.c b/decomp/AgentManager_Release_x64/full/functions/0x140075890.c new file mode 100644 index 00000000..e3198a07 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140075890.c @@ -0,0 +1,34 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140075890 FUN_140075890 + * Pseudocode, not original source. */ + +undefined8 FUN_140075890(uint *param_1,uint *param_2,undefined8 param_3,undefined8 param_4) + +{ + uint uVar1; + ulonglong uVar2; + uint uVar3; + ushort *puVar4; + uint uVar5; + undefined8 uVar6; + ushort local_res8 [4]; + + *param_2 = 0; + uVar3 = (int)*param_1 >> 0x1f & 7; + uVar1 = *param_1 + uVar3; + uVar5 = uVar1 & 0xfffffff8; + *param_1 = uVar5; + if (0 < (int)((uVar1 & 7) - uVar3)) { + *param_1 = uVar5 + 8; + } + puVar4 = local_res8; + uVar6 = 2; + uVar2 = FUN_140074c70((int *)param_1,(undefined8 *)puVar4,2,param_4); + if ((char)uVar2 != '\0') { + uVar6 = FUN_140074e50((int *)param_1,puVar4,uVar6,param_4); + *param_2 = (uint)local_res8[0]; + return CONCAT71((int7)((ulonglong)uVar6 >> 8),1); + } + return uVar2 & 0xffffffffffffff00; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140075910.c b/decomp/AgentManager_Release_x64/full/functions/0x140075910.c new file mode 100644 index 00000000..86442fdb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140075910.c @@ -0,0 +1,21 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140075910 FUN_140075910 + * Pseudocode, not original source. */ + +ulonglong FUN_140075910(uint *param_1,longlong param_2) + +{ + ulonglong uVar1; + + *(undefined4 *)(param_2 + 8) = DAT_14016f3d0; + *(undefined2 *)(param_2 + 0xc) = DAT_14016f3d4; + uVar1 = FUN_14004adc0(param_1,(undefined4 *)(param_2 + 8)); + if ((char)uVar1 == '\x01') { + uVar1 = FUN_14002f580(param_1,(undefined2 *)(param_2 + 0xc)); + if ((char)uVar1 == '\x01') { + return uVar1; + } + } + return uVar1 & 0xffffffffffffff00; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140075970.c b/decomp/AgentManager_Release_x64/full/functions/0x140075970.c new file mode 100644 index 00000000..be1bd387 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140075970.c @@ -0,0 +1,34 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140075970 FUN_140075970 + * Pseudocode, not original source. */ + +undefined8 FUN_140075970(uint *param_1,undefined4 *param_2,undefined8 param_3,undefined8 param_4) + +{ + uint uVar1; + ulonglong uVar2; + uint uVar3; + undefined8 *puVar4; + uint uVar5; + undefined8 uVar6; + undefined4 local_res8 [2]; + + *param_2 = 0; + uVar3 = (int)*param_1 >> 0x1f & 7; + uVar1 = *param_1 + uVar3; + uVar5 = uVar1 & 0xfffffff8; + *param_1 = uVar5; + if (0 < (int)((uVar1 & 7) - uVar3)) { + *param_1 = uVar5 + 8; + } + puVar4 = (undefined8 *)local_res8; + uVar6 = 4; + uVar2 = FUN_140074c70((int *)param_1,puVar4,4,param_4); + if ((char)uVar2 != '\0') { + uVar6 = FUN_140074e50((int *)param_1,puVar4,uVar6,param_4); + *param_2 = local_res8[0]; + return CONCAT71((int7)((ulonglong)uVar6 >> 8),1); + } + return uVar2 & 0xffffffffffffff00; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400759f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400759f0.c new file mode 100644 index 00000000..14143943 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400759f0.c @@ -0,0 +1,59 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400759f0 FUN_1400759f0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400759f0(uint *param_1,uint *param_2,undefined8 param_3,undefined8 param_4) + +{ + ulonglong uVar1; + + uVar1 = FUN_140075810(param_1,param_2,param_3,param_4); + if ((char)uVar1 != '\0') { + uVar1 = FUN_140029d40(param_1,param_2 + 1); + if ((char)uVar1 != '\0') { + uVar1 = FUN_14002f6b0(param_1,(undefined8 *)(param_2 + 2)); + if ((char)uVar1 != '\0') { + uVar1 = FUN_140075790(param_1,param_2 + 4,param_3,param_4); + if ((char)uVar1 != '\0') { + uVar1 = FUN_140029d40(param_1,param_2 + 5); + if ((char)uVar1 != '\0') { + uVar1 = FUN_140029bb0(param_1,(undefined1 *)(param_2 + 6)); + if ((char)uVar1 != '\0') { + uVar1 = FUN_140029d40(param_1,param_2 + 7); + if ((char)uVar1 != '\0') { + uVar1 = FUN_140029d40(param_1,param_2 + 8); + if ((char)uVar1 != '\0') { + uVar1 = FUN_140029bb0(param_1,(undefined1 *)(param_2 + 9)); + if ((char)uVar1 != '\0') { + uVar1 = FUN_140029bb0(param_1,(undefined1 *)((longlong)param_2 + 0x25)); + if ((char)uVar1 != '\0') { + uVar1 = FUN_140029bb0(param_1,(undefined1 *)((longlong)param_2 + 0x26)); + if ((char)uVar1 != '\0') { + uVar1 = FUN_140029bb0(param_1,(undefined1 *)((longlong)param_2 + 0x27)); + if ((char)uVar1 != '\0') { + uVar1 = FUN_14004adc0(param_1,param_2 + 10); + if ((char)uVar1 != '\0') { + uVar1 = FUN_140029bb0(param_1,(undefined1 *)(param_2 + 0xb)); + if ((char)uVar1 != '\0') { + uVar1 = FUN_140029bb0(param_1,(undefined1 *)((longlong)param_2 + 0x2d) + ); + if ((char)uVar1 != '\0') { + return CONCAT71((int7)(uVar1 >> 8),1); + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + return uVar1 & 0xffffffffffffff00; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140075b20.c b/decomp/AgentManager_Release_x64/full/functions/0x140075b20.c new file mode 100644 index 00000000..9acb2d19 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140075b20.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140075b20 FUN_140075b20 + * Pseudocode, not original source. */ + +ulonglong FUN_140075b20(uint *param_1,longlong param_2,undefined8 param_3,longlong param_4) + +{ + ulonglong uVar1; + undefined8 *puVar2; + int local_res18 [4]; + + uVar1 = FUN_140075580(param_1,(undefined8 *)local_res18,param_3,param_4); + if ((char)uVar1 == '\0') { + return uVar1; + } + if ((-1 < local_res18[0]) && (local_res18[0] <= DAT_14016f140)) { + FUN_14007a530(param_2,local_res18[0],param_3,param_4); + if (*(int *)(param_2 + 0x18) == 0) { + puVar2 = (undefined8 *)0x0; + } + else { + puVar2 = *(undefined8 **)(param_2 + 0x10); + } + uVar1 = FUN_140074ee0(param_1,puVar2,(ulonglong)(uint)(local_res18[0] * 8)); + return uVar1; + } + return uVar1 & 0xffffffffffffff00; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140075bb0.c b/decomp/AgentManager_Release_x64/full/functions/0x140075bb0.c new file mode 100644 index 00000000..eab6b6a8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140075bb0.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140075bb0 FUN_140075bb0 + * Pseudocode, not original source. */ + +void FUN_140075bb0(longlong param_1,longlong param_2,SIZE_T param_3,undefined8 param_4) + +{ + FUN_140051c10(param_1,(ulonglong)*(uint *)(param_2 + 8),param_3,param_4); + FUN_14002a2d0(param_1,(ulonglong)*(ushort *)(param_2 + 0xc),param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140075bf0.c b/decomp/AgentManager_Release_x64/full/functions/0x140075bf0.c new file mode 100644 index 00000000..eda72307 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140075bf0.c @@ -0,0 +1,25 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140075bf0 FUN_140075bf0 + * Pseudocode, not original source. */ + +void FUN_140075bf0(longlong param_1,byte *param_2,SIZE_T param_3,undefined8 param_4) + +{ + FUN_140029d80(param_1,(ulonglong)*param_2,param_3,param_4); + FUN_140029e60(param_1,(ulonglong)*(uint *)(param_2 + 4),param_3,param_4); + FUN_14002f5c0(param_1,*(undefined8 *)(param_2 + 8),param_3,param_4); + FUN_140029d80(param_1,(ulonglong)param_2[0x10],param_3,param_4); + FUN_140029e60(param_1,(ulonglong)*(uint *)(param_2 + 0x14),param_3,param_4); + FUN_140029d80(param_1,(ulonglong)param_2[0x18],param_3,param_4); + FUN_140029e60(param_1,(ulonglong)*(uint *)(param_2 + 0x1c),param_3,param_4); + FUN_140029e60(param_1,(ulonglong)*(uint *)(param_2 + 0x20),param_3,param_4); + FUN_140029d80(param_1,(ulonglong)param_2[0x24],param_3,param_4); + FUN_140029d80(param_1,(ulonglong)param_2[0x25],param_3,param_4); + FUN_140029d80(param_1,(ulonglong)param_2[0x26],param_3,param_4); + FUN_140029d80(param_1,(ulonglong)param_2[0x27],param_3,param_4); + FUN_140051c10(param_1,(ulonglong)*(uint *)(param_2 + 0x28),param_3,param_4); + FUN_140029d80(param_1,(ulonglong)param_2[0x2c],param_3,param_4); + FUN_140029d80(param_1,(ulonglong)param_2[0x2d],param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140075cc0.c b/decomp/AgentManager_Release_x64/full/functions/0x140075cc0.c new file mode 100644 index 00000000..56db8739 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140075cc0.c @@ -0,0 +1,184 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140075cc0 FUN_140075cc0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +ulonglong FUN_140075cc0(uint *param_1,LPCWSTR param_2,undefined8 param_3,undefined8 param_4) + +{ + LPCWSTR pWVar1; + uint uVar2; + LPCWSTR pWVar3; + ulonglong uVar4; + uint *puVar5; + int *piVar6; + uint uVar7; + LPCWSTR *ppWVar8; + char *pcVar9; + uint uVar10; + LPCWSTR pWVar11; + char *pcVar12; + int iVar13; + int iVar14; + undefined8 uVar15; + undefined1 auStack_118 [32]; + char local_f8 [8]; + LPCWSTR local_f0; + undefined8 *local_e8; + LPCWSTR *local_e0; + LPCWSTR local_d8; + undefined8 local_d0; + char *local_c8; + char local_c0 [136]; + ulonglong local_38; + + local_d0 = 0xfffffffffffffffe; + local_38 = DAT_14016f5a0 ^ (ulonglong)auStack_118; + uVar10 = (int)*param_1 >> 0x1f & 7; + uVar2 = *param_1 + uVar10; + uVar7 = uVar2 & 0xfffffff8; + *param_1 = uVar7; + if (0 < (int)((uVar2 & 7) - uVar10)) { + *param_1 = uVar7 + 8; + } + uVar15 = 1; + pcVar9 = local_f8; + pWVar3 = (LPCWSTR)FUN_140074c70((int *)param_1,(undefined8 *)pcVar9,1,param_4); + if ((char)pWVar3 == '\0') goto LAB_140075fea; + FUN_140074e50((int *)param_1,pcVar9,uVar15,param_4); + ppWVar8 = &local_f0; + puVar5 = param_1; + pWVar3 = (LPCWSTR)FUN_140075580(param_1,ppWVar8,uVar15,param_4); + pWVar11 = local_f0; + if ((char)pWVar3 == '\0') goto LAB_140075fea; + iVar13 = (int)local_f0; + if ((iVar13 < 0) || (0x100000 < iVar13)) { + FUN_14003db10((exception *)&local_c8,L"CMessage.ReadString failed! length=%d", + (ulonglong)local_f0 & 0xffffffff,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(&local_c8,(ThrowInfo *)&DAT_14016c210); + } + if (local_f8[0] == '\x01') { + local_f0 = param_2; + local_e8 = (undefined8 *)FUN_14003d780((longlong *)param_2,iVar13 + 1); + *(undefined1 *)local_e8 = 0; + *(undefined1 *)((longlong)iVar13 + (longlong)local_e8) = 0; + uVar4 = FUN_140074ee0(param_1,local_e8,(ulonglong)pWVar11 & 0xffffffff); + FUN_14003d440((longlong *)param_2); + return uVar4 & 0xff; + } + FUN_14003e7c0(puVar5,ppWVar8,uVar15,param_4); + local_f0 = (LPCWSTR)PTR_DAT_14016f010; + uVar2 = iVar13 + 1; + local_e0 = &local_f0; + if ((int)uVar2 < 1) { + uVar2 = 0; + } + uVar7 = 1; + if (1 < (int)uVar2) { + uVar7 = uVar2; + } + if (0 < (int)uVar7) { + local_f0 = (LPCWSTR)PTR_DAT_14016f010; + if ((int)uVar7 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar7 == 0) { + FUN_140002190((longlong *)&local_f0,ppWVar8,uVar15,param_4); + } + else { + puVar5 = (uint *)FUN_14003e840((longlong)(int)uVar7 * 2 + 10); + if (puVar5 != (uint *)0x0) { + *puVar5 = 0; + puVar5[1] = 1; + } + *puVar5 = uVar7; + iVar14 = 0; + if ((local_f0 != (LPCWSTR)0x0) && (iVar14 = 0, local_f0 != (LPCWSTR)PTR_DAT_14016f010)) { + iVar14 = *(int *)(local_f0 + -4); + } + pWVar3 = (LPCWSTR)PTR_DAT_14016f010; + if ((int)uVar7 < iVar14) { +LAB_140075e5d: + if (local_f0 != (LPCWSTR)0x0) { + pWVar3 = local_f0; + } + } + else { + uVar7 = 0; + if (local_f0 != (LPCWSTR)0x0) { + if (local_f0 != (LPCWSTR)PTR_DAT_14016f010) { + uVar7 = *(uint *)(local_f0 + -4); + } + goto LAB_140075e5d; + } + } + uVar4 = (ulonglong)uVar7; + FUN_14003e650(puVar5 + 2,pWVar3,uVar7); + FUN_140002190((longlong *)&local_f0,pWVar3,uVar4,param_4); + local_f0 = (LPCWSTR)(puVar5 + 2); + } + } + FUN_140001df0((longlong *)&local_f0); + pWVar11 = local_f0; + if (local_f0 == (LPCWSTR)0x0) { + pWVar11 = (LPCWSTR)PTR_DAT_14016f010; + } + *pWVar11 = L'\0'; + pWVar11[iVar13] = L'\0'; + uVar4 = (ulonglong)(uint)(iVar13 * 2); + local_d8 = pWVar11; + uVar15 = FUN_140074ee0(param_1,(undefined8 *)pWVar11,uVar4); + if ((char)uVar15 != '\0') { + FUN_140001fc0((longlong *)&local_f0); + pWVar3 = local_f0; + if (local_f0 == (LPCWSTR)0x0) { + pWVar3 = (LPCWSTR)PTR_DAT_14016f010; + } + local_c8 = local_c0; + uVar15 = 3; + FUN_14003d280((longlong *)&local_c8,pWVar3,3); + pcVar12 = local_c8; + FUN_14003d910((longlong *)param_2,local_c8); + pcVar9 = local_c8; + if (local_c8 != local_c0) { + free(local_c8); + } + pWVar3 = local_f0; + if (((local_f0 != (LPCWSTR)0x0) && (local_f0 != (LPCWSTR)PTR_DAT_14016f010)) && + (pWVar11 = local_f0 + -4, pWVar11 != (LPCWSTR)0x0)) { + piVar6 = (int *)FUN_14003e7c0(pcVar9,pcVar12,uVar15,param_4); + local_e0 = (LPCWSTR *)piVar6; + FUN_14003d040(piVar6); + local_d8 = (LPCWSTR)CONCAT71(local_d8._1_7_,1); + pWVar3 = pWVar3 + -2; + *(int *)pWVar3 = *(int *)pWVar3 + -1; + if (*(int *)pWVar3 == 0) { + FUN_14003e8b0(pWVar11); + } + local_f0 = (LPCWSTR)FUN_14003d0d0((longlong)piVar6); + } + return CONCAT71((int7)((ulonglong)local_f0 >> 8),1); + } + ppWVar8 = &local_f0; + FUN_140001fc0((longlong *)ppWVar8); + pWVar3 = local_f0; + if (((local_f0 != (LPCWSTR)0x0) && (local_f0 != (LPCWSTR)PTR_DAT_14016f010)) && + (pWVar1 = local_f0 + -4, pWVar1 != (LPCWSTR)0x0)) { + piVar6 = (int *)FUN_14003e7c0(ppWVar8,pWVar11,uVar4,param_4); + local_e0 = (LPCWSTR *)piVar6; + FUN_14003d040(piVar6); + local_d8 = (LPCWSTR)CONCAT71(local_d8._1_7_,1); + pWVar3 = pWVar3 + -2; + *(int *)pWVar3 = *(int *)pWVar3 + -1; + if (*(int *)pWVar3 == 0) { + FUN_14003e8b0(pWVar1); + } + pWVar3 = (LPCWSTR)FUN_14003d0d0((longlong)piVar6); + } +LAB_140075fea: + return (ulonglong)pWVar3 & 0xffffffffffffff00; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140076020.c b/decomp/AgentManager_Release_x64/full/functions/0x140076020.c new file mode 100644 index 00000000..ff132416 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140076020.c @@ -0,0 +1,188 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140076020 FUN_140076020 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +ulonglong FUN_140076020(uint *param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong *plVar1; + uint uVar2; + int iVar3; + longlong *plVar4; + ulonglong uVar5; + int *piVar6; + int *piVar7; + uint uVar8; + uint *puVar9; + longlong **pplVar10; + short *psVar11; + uint uVar12; + char *pcVar13; + longlong *plVar14; + short *psVar15; + int iVar16; + int iVar17; + undefined8 uVar18; + undefined1 auStack_1e8 [32]; + char local_1c8 [8]; + longlong *local_1c0; + undefined8 *local_1b8; + longlong **local_1b0; + longlong *local_1a8; + undefined8 local_1a0; + exception local_198 [80]; + short *local_148; + short local_140 [132]; + ulonglong local_38; + + local_1a0 = 0xfffffffffffffffe; + local_38 = DAT_14016f5a0 ^ (ulonglong)auStack_1e8; + uVar12 = (int)*param_1 >> 0x1f & 7; + uVar2 = *param_1 + uVar12; + uVar8 = uVar2 & 0xfffffff8; + *param_1 = uVar8; + if (0 < (int)((uVar2 & 7) - uVar12)) { + *param_1 = uVar8 + 8; + } + uVar18 = 1; + pcVar13 = local_1c8; + plVar4 = (longlong *)FUN_140074c70((int *)param_1,(undefined8 *)pcVar13,1,param_4); + if ((char)plVar4 == '\0') goto LAB_14007634f; + FUN_140074e50((int *)param_1,pcVar13,uVar18,param_4); + pplVar10 = &local_1c0; + puVar9 = param_1; + plVar4 = (longlong *)FUN_140075580(param_1,pplVar10,uVar18,param_4); + plVar1 = local_1c0; + if ((char)plVar4 == '\0') goto LAB_14007634f; + iVar16 = (int)local_1c0; + if ((iVar16 < 0) || (0x100000 < iVar16)) { + FUN_14003db10(local_198,L"CMessage.ReadString failed! length=%d", + (ulonglong)local_1c0 & 0xffffffff,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_198,(ThrowInfo *)&DAT_14016c210); + } + if (local_1c8[0] == '\x02') { + local_1c0 = param_2; + local_1b8 = (undefined8 *)FUN_140001ee0(param_2,iVar16 + 1); + *(undefined2 *)local_1b8 = 0; + *(undefined2 *)((longlong)local_1b8 + (longlong)iVar16 * 2) = 0; + uVar5 = FUN_140074ee0(param_1,local_1b8,(ulonglong)(uint)(iVar16 * 2)); + FUN_140001fc0(param_2); + return uVar5 & 0xff; + } + FUN_14003e7c0(puVar9,pplVar10,uVar18,param_4); + local_1c0 = (longlong *)PTR_DAT_14016f008; + iVar3 = iVar16 + 1; + local_1b0 = &local_1c0; + if (iVar3 < 1) { + iVar3 = 0; + } + iVar17 = 1; + if (1 < iVar3) { + iVar17 = iVar3; + } + if (0 < iVar17) { + local_1c0 = (longlong *)PTR_DAT_14016f008; + if (iVar17 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (iVar17 == 0) { + FUN_140006e80((longlong *)&local_1c0); + } + else { + piVar6 = (int *)FUN_14003e840((longlong)iVar17 + 9); + if (piVar6 != (int *)0x0) { + *piVar6 = 0; + piVar6[1] = 1; + } + *piVar6 = iVar17; + iVar3 = 0; + if ((local_1c0 != (longlong *)0x0) && (iVar3 = 0, local_1c0 != (longlong *)PTR_DAT_14016f008)) + { + iVar3 = (int)local_1c0[-1]; + } + plVar4 = (longlong *)PTR_DAT_14016f008; + if (iVar17 < iVar3) { +LAB_1400761c0: + if (local_1c0 != (longlong *)0x0) { + plVar4 = local_1c0; + } + } + else { + iVar17 = 0; + if (local_1c0 != (longlong *)0x0) { + if (local_1c0 != (longlong *)PTR_DAT_14016f008) { + iVar17 = (int)local_1c0[-1]; + } + goto LAB_1400761c0; + } + } + FUN_14003e710(piVar6 + 2,plVar4,iVar17); + FUN_140006e80((longlong *)&local_1c0); + local_1c0 = (longlong *)(piVar6 + 2); + } + } + FUN_14003d4c0((longlong *)&local_1c0); + plVar14 = local_1c0; + if (local_1c0 == (longlong *)0x0) { + plVar14 = (longlong *)PTR_DAT_14016f008; + } + *(undefined1 *)plVar14 = 0; + *(undefined1 *)((longlong)iVar16 + (longlong)plVar14) = 0; + uVar5 = (ulonglong)plVar1 & 0xffffffff; + local_1a8 = plVar14; + uVar18 = FUN_140074ee0(param_1,plVar14,uVar5); + if ((char)uVar18 != '\0') { + FUN_14003d440((longlong *)&local_1c0); + plVar4 = local_1c0; + if (local_1c0 == (longlong *)0x0) { + plVar4 = (longlong *)PTR_DAT_14016f008; + } + local_148 = local_140; + uVar18 = 3; + FUN_140005110((longlong *)&local_148,(LPCSTR)plVar4,3); + psVar15 = local_148; + FUN_140005dd0(param_2,local_148,uVar18,param_4); + psVar11 = local_148; + if (local_148 != local_140) { + free(local_148); + } + plVar4 = local_1c0; + if (((local_1c0 != (longlong *)0x0) && (local_1c0 != (longlong *)PTR_DAT_14016f008)) && + (plVar1 = local_1c0 + -1, plVar1 != (longlong *)0x0)) { + piVar7 = (int *)FUN_14003e7c0(psVar11,psVar15,uVar18,param_4); + local_1b0 = (longlong **)piVar7; + FUN_14003d040(piVar7); + local_1a8 = (longlong *)CONCAT71(local_1a8._1_7_,1); + piVar6 = (int *)((longlong)plVar4 + -4); + *piVar6 = *piVar6 + -1; + if (*piVar6 == 0) { + FUN_14003e8b0(plVar1); + } + local_1c0 = (longlong *)FUN_14003d0d0((longlong)piVar7); + } + return CONCAT71((int7)((ulonglong)local_1c0 >> 8),1); + } + pplVar10 = &local_1c0; + FUN_14003d440((longlong *)pplVar10); + plVar4 = local_1c0; + if (((local_1c0 != (longlong *)0x0) && (local_1c0 != (longlong *)PTR_DAT_14016f008)) && + (plVar1 = local_1c0 + -1, plVar1 != (longlong *)0x0)) { + piVar7 = (int *)FUN_14003e7c0(pplVar10,plVar14,uVar5,param_4); + local_1b0 = (longlong **)piVar7; + FUN_14003d040(piVar7); + local_1a8 = (longlong *)CONCAT71(local_1a8._1_7_,1); + piVar6 = (int *)((longlong)plVar4 + -4); + *piVar6 = *piVar6 + -1; + if (*piVar6 == 0) { + FUN_14003e8b0(plVar1); + } + plVar4 = (longlong *)FUN_14003d0d0((longlong)piVar7); + } +LAB_14007634f: + return (ulonglong)plVar4 & 0xffffffffffffff00; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140076380.c b/decomp/AgentManager_Release_x64/full/functions/0x140076380.c new file mode 100644 index 00000000..b3dc6a45 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140076380.c @@ -0,0 +1,134 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140076380 FUN_140076380 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_140076380(longlong param_1,longlong param_2,SIZE_T param_3,undefined8 param_4) + +{ + undefined1 uVar1; + int iVar2; + longlong lVar3; + undefined8 uVar4; + int iVar5; + undefined1 *puVar6; + undefined8 *puVar7; + ulonglong uVar8; + undefined8 *_Src; + longlong lVar9; + SIZE_T _Size; + ulonglong uVar10; + undefined8 *_Dst; + undefined1 auStack_128 [32]; + exception local_108 [80]; + undefined1 local_b8 [12]; + undefined8 local_ac [12]; + uint local_48; + ulonglong local_28; + + local_28 = DAT_14016f5a0 ^ (ulonglong)auStack_128; + puVar6 = local_b8; + FUN_140098860((longlong)puVar6,param_2); + _Size = (SIZE_T)(int)local_48; + if (local_48 == 0) { + return; + } + lVar9 = 0; + *(undefined4 *)(param_1 + 4) = 0; + lVar3 = *(longlong *)(param_1 + 8); + if (lVar3 == 0) { + if (*(longlong *)(param_1 + 0x10) == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(puVar6,param_2,param_3,param_4); + } +LAB_1400763ed: + if ((int)local_48 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (*(longlong *)(param_1 + 0x10) == 0) { + FUN_14003db10(local_108,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,param_3, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_108,(ThrowInfo *)&DAT_14016c210); + } + iVar2 = *(int *)(param_1 + 0x18); + iVar5 = iVar2 + local_48; + if ((iVar5 < 0) || (*(int *)(param_1 + 0x1c) < iVar5)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + *(int *)(param_1 + 0x18) = iVar5; + _Dst = (undefined8 *)(*(longlong *)(param_1 + 0x10) + (longlong)iVar2); + if (_Size < 0x21) { + puVar7 = local_ac; + uVar8 = (ulonglong)(local_48 & 7); + for (uVar10 = _Size >> 3; uVar10 != 0; uVar10 = uVar10 - 1) { + uVar4 = *puVar7; + puVar7 = puVar7 + 1; + *_Dst = uVar4; + _Dst = _Dst + 1; + } + _Size = 0; + _Src = (undefined8 *)0x0; + if (uVar8 != 0) { + _Dst = (undefined8 *)((longlong)_Dst - (longlong)puVar7); + do { + uVar1 = *(undefined1 *)puVar7; + puVar7 = (undefined8 *)((longlong)puVar7 + 1); + uVar8 = uVar8 - 1; + *(undefined1 *)((longlong)_Dst + -1 + (longlong)puVar7) = uVar1; + } while (uVar8 != 0); + _Src = (undefined8 *)0x0; + } + goto LAB_14007653f; + } + } + else { + if (*(longlong *)(param_1 + 0x10) != 0) goto LAB_1400763ed; + if (lVar3 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(puVar6,param_2,param_3,param_4); + } + if ((int)local_48 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + iVar2 = *(int *)(lVar3 + 0x18); + FUN_14002a050(lVar3,iVar2 + local_48,param_3); + if (*(int *)(lVar3 + 0x18) != 0) { + lVar9 = *(longlong *)(lVar3 + 0x10); + } + _Dst = (undefined8 *)(lVar9 + iVar2); + if (_Size < 0x21) { + puVar7 = local_ac; + uVar8 = (ulonglong)(local_48 & 7); + for (uVar10 = _Size >> 3; uVar10 != 0; uVar10 = uVar10 - 1) { + uVar4 = *puVar7; + puVar7 = puVar7 + 1; + *_Dst = uVar4; + _Dst = _Dst + 1; + } + _Src = (undefined8 *)0x0; + _Size = 0; + if (uVar8 != 0) { + _Dst = (undefined8 *)((longlong)_Dst - (longlong)puVar7); + do { + uVar1 = *(undefined1 *)puVar7; + puVar7 = (undefined8 *)((longlong)puVar7 + 1); + uVar8 = uVar8 - 1; + *(undefined1 *)((longlong)_Dst + -1 + (longlong)puVar7) = uVar1; + } while (uVar8 != 0); + _Src = (undefined8 *)0x0; + } + goto LAB_14007653f; + } + } + _Src = local_ac; + memcpy(_Dst,_Src,_Size); +LAB_14007653f: + FUN_14002a180(param_1,_Src,_Size,_Dst); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400765a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400765a0.c new file mode 100644 index 00000000..d822a152 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400765a0.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400765a0 FUN_1400765a0 + * Pseudocode, not original source. */ + +void FUN_1400765a0(longlong param_1,undefined8 *param_2,SIZE_T param_3,undefined8 param_4) + +{ + SIZE_T SVar1; + exception local_58 [80]; + + if ((uint)param_3 < 0x100001) { + SVar1 = param_3; + FUN_140029d80(param_1,CONCAT71((int7)((ulonglong)param_2 >> 8),1),param_3,param_4); + FUN_140076380(param_1,(longlong)(int)(uint)param_3,SVar1,param_4); + FUN_14002a260(param_1,param_2,param_3 & 0xffffffff,param_4); + return; + } + FUN_14003db10(local_58,L"CMessage.WriteString failed! length=%d",param_3 & 0xffffffff,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140076620.c b/decomp/AgentManager_Release_x64/full/functions/0x140076620.c new file mode 100644 index 00000000..5b8090b4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140076620.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140076620 FUN_140076620 + * Pseudocode, not original source. */ + +void FUN_140076620(longlong param_1,undefined8 *param_2,SIZE_T param_3,undefined8 param_4) + +{ + uint uVar1; + exception local_58 [80]; + + uVar1 = (uint)param_3; + if (uVar1 < 0x100001) { + FUN_140029d80(param_1,CONCAT71((int7)((ulonglong)param_2 >> 8),2),param_3,param_4); + FUN_140076380(param_1,(longlong)(int)uVar1,param_3,param_4); + FUN_14002a260(param_1,param_2,(ulonglong)(uVar1 * 2),param_4); + return; + } + FUN_14003db10(local_58,L"CMessage.WriteString failed! length=%d",param_3 & 0xffffffff,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400766a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400766a0.c new file mode 100644 index 00000000..c4574eb8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400766a0.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400766a0 FUN_1400766a0 + * Pseudocode, not original source. */ + +void FUN_1400766a0(longlong param_1,longlong param_2,SIZE_T param_3,undefined8 param_4) + +{ + int iVar1; + undefined8 *puVar2; + + iVar1 = *(int *)(param_2 + 0x18); + FUN_140076380(param_1,(longlong)iVar1,param_3,param_4); + if (*(int *)(param_2 + 0x18) == 0) { + puVar2 = (undefined8 *)0x0; + } + else { + puVar2 = *(undefined8 **)(param_2 + 0x10); + } + FUN_14002a260(param_1,puVar2,(ulonglong)(uint)(iVar1 * 8),param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400766f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400766f0.c new file mode 100644 index 00000000..15c0e360 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400766f0.c @@ -0,0 +1,19 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400766f0 FUN_1400766f0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400766f0(uint *param_1,LPCWSTR param_2,undefined8 param_3,undefined8 param_4) + +{ + ulonglong uVar1; + + uVar1 = FUN_140075cc0(param_1,param_2,param_3,param_4); + if ((char)uVar1 != '\0') { + uVar1 = FUN_14002f580(param_1,param_2 + 4); + if ((char)uVar1 != '\0') { + return CONCAT71((int7)(uVar1 >> 8),1); + } + } + return uVar1 & 0xffffffffffffff00; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140076740.c b/decomp/AgentManager_Release_x64/full/functions/0x140076740.c new file mode 100644 index 00000000..8c1df7be --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140076740.c @@ -0,0 +1,26 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140076740 FUN_140076740 + * Pseudocode, not original source. */ + +void FUN_140076740(longlong param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 *puVar1; + undefined8 *puVar2; + + puVar1 = (undefined8 *)*param_2; + if ((puVar1 != (undefined8 *)0x0) && (puVar1 != (undefined8 *)PTR_DAT_14016f008)) { + puVar2 = puVar1; + if (puVar1 == (undefined8 *)0x0) { + puVar2 = (undefined8 *)PTR_DAT_14016f008; + } + FUN_1400765a0(param_1,puVar2,(ulonglong)*(uint *)(puVar1 + -1),param_4); + return; + } + if (puVar1 == (undefined8 *)0x0) { + puVar1 = (undefined8 *)PTR_DAT_14016f008; + } + FUN_1400765a0(param_1,puVar1,0,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140076780.c b/decomp/AgentManager_Release_x64/full/functions/0x140076780.c new file mode 100644 index 00000000..e3056035 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140076780.c @@ -0,0 +1,26 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140076780 FUN_140076780 + * Pseudocode, not original source. */ + +void FUN_140076780(longlong param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 *puVar1; + undefined8 *puVar2; + + puVar1 = (undefined8 *)*param_2; + if ((puVar1 != (undefined8 *)0x0) && (puVar1 != (undefined8 *)PTR_DAT_14016f010)) { + puVar2 = puVar1; + if (puVar1 == (undefined8 *)0x0) { + puVar2 = (undefined8 *)PTR_DAT_14016f010; + } + FUN_140076620(param_1,puVar2,(ulonglong)*(uint *)(puVar1 + -1),param_4); + return; + } + if (puVar1 == (undefined8 *)0x0) { + puVar1 = (undefined8 *)PTR_DAT_14016f010; + } + FUN_140076620(param_1,puVar1,0,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400767c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400767c0.c new file mode 100644 index 00000000..cc0eb2a3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400767c0.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400767c0 FUN_1400767c0 + * Pseudocode, not original source. */ + +void FUN_1400767c0(longlong param_1,short *param_2) + +{ + short sVar1; + ulonglong uVar2; + short *psVar3; + exception local_58 [80]; + + uVar2 = 0xffffffffffffffff; + psVar3 = param_2; + do { + if (uVar2 == 0) break; + uVar2 = uVar2 - 1; + sVar1 = *psVar3; + psVar3 = psVar3 + 1; + } while (sVar1 != 0); + uVar2 = ~uVar2 - 1; + if (0x7fffffff < uVar2) { + FUN_14003db10(local_58,L"WriteString failed! length=%I64d",uVar2,param_1); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + FUN_140076620(param_1,(undefined8 *)param_2,uVar2 & 0xffffffff,param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140076820.c b/decomp/AgentManager_Release_x64/full/functions/0x140076820.c new file mode 100644 index 00000000..0ac96c5d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140076820.c @@ -0,0 +1,26 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140076820 FUN_140076820 + * Pseudocode, not original source. */ + +void FUN_140076820(longlong param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 *puVar1; + SIZE_T SVar2; + + puVar1 = (undefined8 *)*param_2; + if ((puVar1 == (undefined8 *)0x0) || (puVar1 == (undefined8 *)PTR_DAT_14016f008)) { + SVar2 = 0; + } + else { + SVar2 = (SIZE_T)*(uint *)(puVar1 + -1); + } + if (puVar1 == (undefined8 *)0x0) { + puVar1 = (undefined8 *)PTR_DAT_14016f008; + } + FUN_1400765a0(param_1,puVar1,SVar2,param_4); + FUN_14002a2d0(param_1,(ulonglong)*(ushort *)(param_2 + 1),SVar2,param_4); + FUN_140006e80(param_2); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140076890.c b/decomp/AgentManager_Release_x64/full/functions/0x140076890.c new file mode 100644 index 00000000..5beccac1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140076890.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140076890 FUN_140076890 + * Pseudocode, not original source. */ + +undefined8 * FUN_140076890(undefined8 *param_1) + +{ + *(undefined4 *)((longlong)param_1 + 0x14) = 1; + param_1[1] = 0; + *param_1 = Proud::IRmiProxy::vftable; + *(undefined1 *)(param_1 + 2) = 0; + *(undefined1 *)(param_1 + 3) = 1; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400768c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400768c0.c new file mode 100644 index 00000000..f4d8bd82 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400768c0.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400768c0 FUN_1400768c0 + * Pseudocode, not original source. */ + +void FUN_1400768c0(undefined8 *param_1) + +{ + *param_1 = Proud::IRmiProxy::vftable; + if (param_1[1] != 0) { + FUN_14003e110( + L"RMI Proxy which is still in use by ProudNet core cannot be destroyed! Destroy CNetClient or CNetServer instance first." + ); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400768f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400768f0.c new file mode 100644 index 00000000..b0b18fe1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400768f0.c @@ -0,0 +1,19 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400768f0 FUN_1400768f0 + * Pseudocode, not original source. */ + +undefined8 * FUN_1400768f0(undefined8 *param_1,uint param_2) + +{ + *param_1 = Proud::IRmiProxy::vftable; + if (param_1[1] != 0) { + FUN_14003e110( + L"RMI Proxy which is still in use by ProudNet core cannot be destroyed! Destroy CNetClient or CNetServer instance first." + ); + } + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140076940.c b/decomp/AgentManager_Release_x64/full/functions/0x140076940.c new file mode 100644 index 00000000..b4c047aa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140076940.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140076940 FUN_140076940 + * Pseudocode, not original source. */ + +void FUN_140076940(longlong param_1) + +{ + FUN_14008a320((longlong *)(param_1 + 8)); + if (*(longlong *)(param_1 + 0x10) != 0) { + if (*(int *)(param_1 + 0x1c) < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + *(undefined4 *)(param_1 + 0x18) = 0; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140076990.c b/decomp/AgentManager_Release_x64/full/functions/0x140076990.c new file mode 100644 index 00000000..acfc0362 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140076990.c @@ -0,0 +1,193 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140076990 FUN_140076990 + * Pseudocode, not original source. */ + +/* WARNING: Function: __chkstk replaced with injection: alloca_probe */ +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +ulonglong FUN_140076990(longlong *param_1,undefined8 *param_2,ulonglong param_3,longlong param_4, + longlong param_5,undefined8 param_6,undefined4 param_7) + +{ + byte bVar1; + int iVar2; + ulonglong uVar3; + undefined1 *puVar4; + undefined8 uVar5; + longlong lVar6; + int iVar7; + SIZE_T SVar8; + longlong lVar9; + undefined4 *puVar10; + undefined8 *puVar11; + undefined1 auStack_1ac8 [32]; + longlong local_1aa8; + undefined8 local_1a98; + undefined8 uStack_1a90; + undefined4 local_1a88; + undefined4 local_1a84; + undefined4 local_1a80; + undefined4 local_1a7c; + undefined8 local_1a78; + undefined4 local_1a70; + undefined8 local_1a68; + undefined4 local_1a60; + undefined4 local_1a5c; + undefined4 local_1a58; + undefined1 local_1a54; + undefined1 local_1a53; + undefined1 local_1a52; + undefined4 local_1a50; + undefined8 local_1a48; + undefined1 local_1a40; + undefined1 local_1a3f; + undefined8 local_1a38; + undefined4 local_1a28 [2]; + longlong local_1a20; + longlong local_1a18; + uint local_1a10; + int local_1a0c; + undefined1 local_1a00 [136]; + longlong local_1978; + undefined8 uStack_1970; + longlong *local_cf8; + undefined4 local_cf0; + int local_cec; + undefined1 local_ce8 [3200]; + undefined1 *local_68; + undefined4 local_60; + int local_5c; + ulonglong local_58; + undefined8 uStack_48; + + uStack_48 = 0x1400769af; + local_1a38 = 0xfffffffffffffffe; + local_58 = DAT_14016f5a0 ^ (ulonglong)auStack_1ac8; + iVar7 = (int)param_3; + if (param_1[1] == 0) { + uVar3 = FUN_14003e110(L"ProudNet RMI Proxy is not attached yet!"); + uVar3 = uVar3 & 0xffffffffffffff00; + } + else { + lVar6 = param_4; + FUN_140049b00(param_4,param_2,param_3,param_4); + FUN_140074fb0(local_1a28); + SVar8 = 0x80; + puVar4 = local_1a00; + FUN_140074c30((longlong)local_1a28,(longlong)puVar4,0x80,lVar6); + uVar5 = CONCAT71((int7)((ulonglong)puVar4 >> 8),1); + FUN_140029d80((longlong)local_1a28,uVar5,SVar8,lVar6); + local_5c = 200; + lVar9 = 0; + local_60 = 0; + local_68 = local_ce8; + local_cec = 200; + local_cf0 = 0; + local_cf8 = &local_1978; + if (local_1a20 == 0) { + if (local_1a18 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,uVar5,0,lVar6); + } + } + else { + local_1a10 = *(uint *)(local_1a20 + 0x18); + } + local_1a98 = (longlong *)local_1a18; + if (local_1a18 == 0) { + if (local_1a20 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,(ulonglong)local_1a10,0,lVar6); + } + local_1a98 = (longlong *)lVar9; + if (*(int *)(local_1a20 + 0x18) != 0) { + local_1a98 = *(longlong **)(local_1a20 + 0x10); + } + } + uStack_1a90 = CONCAT44(uStack_1a90._4_4_,local_1a10); + local_cf0 = 1; + uStack_1970 = uStack_1a90; + local_1978 = (longlong)local_1a98; + FUN_14004dc30((longlong)local_ce8,(longlong)&local_1978,0,lVar6); + if (local_cf8 == (longlong *)0x0) { + FUN_14003db10((exception *)&local_1a80, + (wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,lVar9,lVar6); + /* WARNING: Subroutine does not return */ + _CxxThrowException(&local_1a80,(ThrowInfo *)&DAT_14016c210); + } + if (local_cec < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + FUN_14004ec50((longlong)&local_1978,param_5,lVar9); + FUN_14004dc30((longlong)local_ce8,(longlong)&local_1978,lVar9,lVar6); + if (local_cf8 == (longlong *)0x0) { + FUN_14003db10((exception *)&local_1a80, + (wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,lVar9,lVar6); + /* WARNING: Subroutine does not return */ + _CxxThrowException(&local_1a80,(ThrowInfo *)&DAT_14016c210); + } + if (local_cec < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_1a80 = *(undefined4 *)(param_4 + 0x2c); + local_1a7c = *(undefined4 *)(param_4 + 8); + local_1a78 = *(undefined8 *)(param_4 + 0x10); + local_1a70 = *(undefined4 *)(param_4 + 0x18); + local_1a68 = *(undefined8 *)(param_4 + 0x20); + local_1a60 = *(undefined4 *)(param_4 + 0x28); + local_1a53 = *(undefined1 *)(param_4 + 0x30); + local_1a54 = *(undefined1 *)(param_4 + 0x40); + local_1a52 = *(undefined1 *)(param_4 + 0x41); + local_1a5c = *(undefined4 *)(param_4 + 0x54); + local_1a50 = 0xffffffff; + local_1a48 = *(undefined8 *)(param_4 + 0x48); + local_1a3f = *(undefined1 *)(param_4 + 0x50); + local_1a40 = DAT_14016f1cc; + local_1a58 = *(undefined4 *)(param_4 + 0x58); + local_1aa8 = CONCAT44(local_1aa8._4_4_,iVar7); + puVar10 = &local_1a80; + puVar4 = local_ce8; + puVar11 = param_2; + bVar1 = (**(code **)(*(longlong *)param_1[1] + 0x28))(); + if ((char)param_1[2] == '\0') { + iVar2 = FUN_140096ef0((longlong)local_ce8,puVar4,puVar10,puVar11); + local_1a98 = (longlong *)CONCAT44(param_7,iVar2); + uStack_1a90 = param_6; + local_1a88 = *(undefined4 *)(param_4 + 0x54); + local_1a84 = *(undefined4 *)(param_4 + 0x58); + if (((char)param_1[3] != '\0') && (lVar6 = 0, 0 < iVar7)) { + do { + (**(code **)(*param_1 + 0x10)) + (param_1,*(undefined4 *)((longlong)param_2 + lVar6 * 4),&local_1a98,param_4); + lVar6 = lVar6 + 1; + } while (lVar6 < iVar7); + } + puVar11 = &local_1a98; + puVar10 = (undefined4 *)(param_3 & 0xffffffff); + local_1aa8 = param_4; + (**(code **)(*(longlong *)param_1[1] + 0x68))((longlong *)param_1[1],param_2); + } + if (local_68 == (undefined1 *)0x0) { + FUN_14003db10((exception *)&local_1a80, + (wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,puVar10,puVar11); + /* WARNING: Subroutine does not return */ + _CxxThrowException(&local_1a80,(ThrowInfo *)&DAT_14016c210); + } + if (local_5c < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_60 = 0; + local_1a98 = &local_1a20; + FUN_14008a320(&local_1a20); + if ((local_1a18 != 0) && (local_1a0c < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + uVar3 = (ulonglong)bVar1; + } + return uVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140076d30.c b/decomp/AgentManager_Release_x64/full/functions/0x140076d30.c new file mode 100644 index 00000000..9c362ef9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140076d30.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140076d30 FUN_140076d30 + * Pseudocode, not original source. */ + +void FUN_140076d30(undefined8 param_1,double param_2,undefined8 param_3,undefined8 param_4) + +{ + exception local_58 [88]; + + if (param_2 < DAT_14016f0f8 * 10.0 * 2.0) { + FUN_14003db10(local_58,L"No ping timeout value is too small!",param_3,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140076d80.c b/decomp/AgentManager_Release_x64/full/functions/0x140076d80.c new file mode 100644 index 00000000..271389e7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140076d80.c @@ -0,0 +1,20 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140076d80 FUN_140076d80 + * Pseudocode, not original source. */ + +void FUN_140076d80(undefined8 *param_1) + +{ + *param_1 = Proud::CFastArray::vftable; + if ((LPVOID)param_1[2] != (LPVOID)0x0) { + if ((longlong *)param_1[1] != (longlong *)0x0) { + /* WARNING: Could not recover jumptable at 0x000140076da7. Too many branches */ + /* WARNING: Treating indirect jump as call */ + (**(code **)(*(longlong *)param_1[1] + 0x18))(); + return; + } + FUN_14003e8b0((LPVOID)param_1[2]); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140076dc0.c b/decomp/AgentManager_Release_x64/full/functions/0x140076dc0.c new file mode 100644 index 00000000..a33fb146 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140076dc0.c @@ -0,0 +1,20 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140076dc0 FUN_140076dc0 + * Pseudocode, not original source. */ + +void FUN_140076dc0(undefined8 *param_1) + +{ + *param_1 = Proud::CFastArray::vftable; + if ((LPVOID)param_1[2] != (LPVOID)0x0) { + if ((longlong *)param_1[1] != (longlong *)0x0) { + /* WARNING: Could not recover jumptable at 0x000140076de7. Too many branches */ + /* WARNING: Treating indirect jump as call */ + (**(code **)(*(longlong *)param_1[1] + 0x18))(); + return; + } + FUN_14003e8b0((LPVOID)param_1[2]); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140076e00.c b/decomp/AgentManager_Release_x64/full/functions/0x140076e00.c new file mode 100644 index 00000000..f2187026 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140076e00.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140076e00 FUN_140076e00 + * Pseudocode, not original source. */ + +undefined8 * FUN_140076e00(undefined8 *param_1,uint param_2) + +{ + *param_1 = Proud::CFastArray::vftable; + if ((LPVOID)param_1[2] != (LPVOID)0x0) { + if ((longlong *)param_1[1] == (longlong *)0x0) { + FUN_14003e8b0((LPVOID)param_1[2]); + } + else { + (**(code **)(*(longlong *)param_1[1] + 0x18))(); + } + } + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140076e60.c b/decomp/AgentManager_Release_x64/full/functions/0x140076e60.c new file mode 100644 index 00000000..6b07ff47 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140076e60.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140076e60 FUN_140076e60 + * Pseudocode, not original source. */ + +undefined8 * FUN_140076e60(undefined8 *param_1,uint param_2) + +{ + *param_1 = Proud::CFastArray::vftable; + if ((LPVOID)param_1[2] != (LPVOID)0x0) { + if ((longlong *)param_1[1] == (longlong *)0x0) { + FUN_14003e8b0((LPVOID)param_1[2]); + } + else { + (**(code **)(*(longlong *)param_1[1] + 0x18))(); + } + } + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140076ec0.c b/decomp/AgentManager_Release_x64/full/functions/0x140076ec0.c new file mode 100644 index 00000000..801ed822 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140076ec0.c @@ -0,0 +1,50 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140076ec0 FUN_140076ec0 + * Pseudocode, not original source. */ + +void FUN_140076ec0(longlong param_1,int param_2,longlong param_3,longlong param_4) + +{ + undefined8 *puVar1; + longlong lVar2; + longlong lVar3; + int iVar4; + longlong lVar5; + int iVar6; + longlong lVar7; + longlong lVar8; + longlong lVar9; + + iVar6 = (int)param_4; + lVar9 = (longlong)iVar6; + lVar7 = (longlong)param_2; + if (((-1 < iVar6) && (-1 < param_2)) && (param_2 <= *(int *)(param_1 + 0x18))) { + iVar4 = *(int *)(param_1 + 0x18); + FUN_14007a530(param_1,iVar4 + iVar6,param_3,param_4); + iVar4 = iVar4 - param_2; + if ((0 < iVar4) && (iVar4 = iVar4 + -1, lVar5 = (longlong)iVar4, -1 < iVar4)) { + lVar8 = (lVar9 + lVar7 + lVar5) * 8; + do { + lVar2 = FUN_140074a30(param_1); + lVar3 = FUN_140074a30(param_1); + *(undefined8 *)(lVar3 + lVar8) = *(undefined8 *)(lVar2 + lVar9 * -8 + lVar8); + lVar8 = lVar8 + -8; + lVar5 = lVar5 + -1; + } while (-1 < lVar5); + } + if (0 < iVar6) { + lVar5 = lVar7 * 8; + do { + lVar8 = FUN_140074a30(param_1); + puVar1 = (undefined8 *)(lVar5 + param_3 + lVar7 * -8); + lVar5 = lVar5 + 8; + lVar9 = lVar9 + -1; + *(undefined8 *)(lVar8 + -8 + lVar5) = *puVar1; + } while (lVar9 != 0); + } + return; + } + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140076fb0.c b/decomp/AgentManager_Release_x64/full/functions/0x140076fb0.c new file mode 100644 index 00000000..09002d56 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140076fb0.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140076fb0 FUN_140076fb0 + * Pseudocode, not original source. */ + +void FUN_140076fb0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + if ((*(longlong *)(param_2 + 8) == 0) && (*(longlong *)(param_2 + 0x10) == 0)) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(param_1,param_2,param_2,param_4); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140076fe0.c b/decomp/AgentManager_Release_x64/full/functions/0x140076fe0.c new file mode 100644 index 00000000..e70dbb07 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140076fe0.c @@ -0,0 +1,75 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140076fe0 FUN_140076fe0 + * Pseudocode, not original source. */ + +undefined8 FUN_140076fe0(longlong *param_1,uint *param_2,int *param_3,ulonglong param_4) + +{ + uint uVar1; + longlong lVar2; + int iVar3; + ulonglong uVar4; + int *piVar5; + longlong lVar6; + ulonglong *puVar7; + longlong lVar8; + int iVar9; + int *piVar10; + longlong lVar11; + int local_res10 [4]; + ulonglong local_res20; + uint local_28 [4]; + + uVar1 = *param_2; + piVar10 = param_3; + uVar4 = FUN_140075580(param_2,(undefined8 *)local_28,param_3,param_4); + if ((char)uVar4 != '\0') { + puVar7 = &local_res20; + uVar4 = FUN_140075580(param_2,puVar7,piVar10,param_4); + if ((char)uVar4 != '\0') { + iVar3 = (**(code **)(*param_1 + 0xd0))(param_1); + iVar9 = (int)local_res20; + if (iVar9 <= iVar3) { + local_res10[0] = iVar9; + FUN_140074a40((longlong)param_3,puVar7,(SIZE_T)piVar10,param_4); + uVar4 = local_res20 & 0xffffffff; + piVar5 = param_3; + FUN_140075110(param_3,uVar4,(SIZE_T)piVar10,param_4); + lVar11 = *(longlong *)(param_2 + 4); + if (lVar11 == 0) { + lVar6 = *(longlong *)(param_2 + 2); + if (lVar6 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(piVar5,uVar4,piVar10,0); + } + if (*(int *)(lVar6 + 0x18) != 0) { + lVar11 = *(longlong *)(lVar6 + 0x10); + } + } + lVar6 = *(longlong *)(param_3 + 4); + lVar8 = (longlong)((int)(*param_2 + ((int)*param_2 >> 0x1f & 7U)) >> 3); + if (lVar6 == 0) { + lVar2 = *(longlong *)(param_3 + 2); + if (lVar2 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,lVar8,piVar10,lVar11); + } + if (*(int *)(lVar2 + 0x18) != 0) { + lVar6 = *(longlong *)(lVar2 + 0x10); + } + } + piVar10 = (int *)(lVar11 + lVar8); + param_4 = (ulonglong)local_28[0]; + uVar4 = FUN_140098a90(lVar6,local_res10,(longlong)piVar10,local_28[0]); + if (((int)uVar4 == 0) && (local_res10[0] == iVar9)) { + return CONCAT71((int7)(uVar4 >> 8),1); + } + } + } + } + uVar4 = FUN_140074bb0((int *)param_2, + (ulonglong)(uint)((int)(((int)uVar1 >> 0x1f & 7U) + uVar1) >> 3),piVar10, + param_4); + return uVar4 & 0xffffffffffffff00; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400770f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400770f0.c new file mode 100644 index 00000000..a5b64f6f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400770f0.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400770f0 FUN_1400770f0 + * Pseudocode, not original source. */ + +undefined8 * FUN_1400770f0(undefined8 *param_1) + +{ + *param_1 = Proud::CNetCoreImpl::vftable; + param_1[2] = 0; + param_1[3] = 0; + param_1[4] = 0; + param_1[5] = 0; + param_1[1] = Proud::CFastArray::vftable; + param_1[7] = 0; + param_1[6] = Proud::CFastArray::vftable; + param_1[8] = 0; + param_1[9] = 0; + param_1[10] = 0; + param_1[0xb] = 0; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140077140.c b/decomp/AgentManager_Release_x64/full/functions/0x140077140.c new file mode 100644 index 00000000..6eab63d6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140077140.c @@ -0,0 +1,42 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140077140 FUN_140077140 + * Pseudocode, not original source. */ + +void FUN_140077140(undefined8 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 *puVar1; + LPVOID pvVar2; + longlong *plVar3; + + *param_1 = Proud::CNetCoreImpl::vftable; + puVar1 = (undefined8 *)param_1[0xb]; + if (puVar1 != (undefined8 *)0x0) { + (**(code **)*puVar1)(puVar1,1,param_3,param_4,0xfffffffffffffffe); + } + param_1[6] = Proud::CFastArray::vftable; + pvVar2 = (LPVOID)param_1[8]; + if (pvVar2 != (LPVOID)0x0) { + plVar3 = (longlong *)param_1[7]; + if (plVar3 == (longlong *)0x0) { + FUN_14003e8b0(pvVar2); + } + else { + (**(code **)(*plVar3 + 0x18))(plVar3,pvVar2); + } + } + param_1[1] = Proud::CFastArray::vftable; + pvVar2 = (LPVOID)param_1[3]; + if (pvVar2 != (LPVOID)0x0) { + plVar3 = (longlong *)param_1[2]; + if (plVar3 == (longlong *)0x0) { + FUN_14003e8b0(pvVar2); + } + else { + (**(code **)(*plVar3 + 0x18))(plVar3,pvVar2); + } + } + *param_1 = Proud::IRmiHost::vftable; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400771f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400771f0.c new file mode 100644 index 00000000..16ac38f3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400771f0.c @@ -0,0 +1,72 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400771f0 FUN_1400771f0 + * Pseudocode, not original source. */ + +void FUN_1400771f0(longlong *param_1,longlong param_2,undefined8 param_3,longlong param_4) + +{ + char cVar1; + int iVar2; + longlong lVar3; + longlong lVar4; + int iVar5; + ulonglong uVar6; + longlong lVar7; + longlong *plVar8; + uint uVar9; + longlong lVar10; + int iVar11; + exception local_68 [80]; + + cVar1 = (**(code **)(*param_1 + 0x90))(); + if (cVar1 != '\0') { + FUN_14003db10(local_68,(wchar_t *)PTR_u_Already_async_callback_may_occur_140170088,param_3, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_68,(ThrowInfo *)&DAT_14016c210); + } + uVar9 = *(uint *)(param_1 + 4); + uVar6 = 0; + lVar7 = 0; + if (0 < (int)uVar9) { + plVar8 = param_1 + 1; + while( true ) { + if ((lVar7 < 0) || (iVar5 = (int)uVar6, (int)param_1[4] <= iVar5)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(uVar6,lVar7,(ulonglong)uVar9,param_4); + } + if (*(longlong *)(param_1[3] + lVar7 * 8) == param_2) break; + uVar6 = (ulonglong)(iVar5 + 1U); + lVar7 = lVar7 + 1; + if ((int)uVar9 <= (int)(iVar5 + 1U)) { + return; + } + } + if (iVar5 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + iVar2 = (int)param_1[4] - iVar5; + iVar11 = 1; + if (iVar2 < 2) { + iVar11 = iVar2; + } + uVar9 = ((int)param_1[4] - iVar11) - iVar5; + uVar6 = (ulonglong)uVar9; + if (0 < (int)uVar9) { + lVar10 = (longlong)(int)uVar9; + lVar7 = lVar7 * 8; + do { + lVar3 = FUN_140074a30((longlong)plVar8); + lVar4 = FUN_140074a30((longlong)plVar8); + *(undefined8 *)(lVar4 + lVar7) = *(undefined8 *)((longlong)iVar11 * 8 + lVar3 + lVar7); + lVar7 = lVar7 + 8; + lVar10 = lVar10 + -1; + } while (lVar10 != 0); + } + FUN_14007a530((longlong)plVar8,(int)param_1[4] - iVar11,uVar6,param_4); + *(undefined8 *)(param_2 + 8) = 0; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140077350.c b/decomp/AgentManager_Release_x64/full/functions/0x140077350.c new file mode 100644 index 00000000..42ab59e0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140077350.c @@ -0,0 +1,61 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140077350 FUN_140077350 + * Pseudocode, not original source. */ + +void FUN_140077350(longlong param_1,longlong param_2) + +{ + longlong lVar1; + int iVar2; + longlong lVar3; + longlong lVar4; + int iVar5; + longlong lVar6; + ulonglong uVar7; + longlong lVar8; + longlong lVar9; + int iVar10; + + uVar7 = 0; + lVar8 = 0; + if (0 < *(int *)(param_1 + 0x48)) { + lVar1 = param_1 + 0x30; + while( true ) { + if ((lVar8 < 0) || (iVar5 = (int)uVar7, *(int *)(param_1 + 0x48) <= iVar5)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(param_1,param_2,uVar7,lVar8); + } + if (*(longlong *)(*(longlong *)(param_1 + 0x40) + lVar8 * 8) == param_2) break; + uVar7 = (ulonglong)(iVar5 + 1U); + lVar8 = lVar8 + 1; + if (*(int *)(param_1 + 0x48) <= (int)(iVar5 + 1U)) { + return; + } + } + if (iVar5 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + iVar2 = *(int *)(param_1 + 0x48) - iVar5; + iVar10 = 1; + if (iVar2 < 2) { + iVar10 = iVar2; + } + iVar5 = (*(int *)(param_1 + 0x48) - iVar10) - iVar5; + if (0 < iVar5) { + lVar9 = (longlong)iVar5; + lVar6 = lVar8 * 8; + do { + lVar3 = FUN_140074a30(lVar1); + lVar4 = FUN_140074a30(lVar1); + *(undefined8 *)(lVar4 + lVar6) = *(undefined8 *)((longlong)iVar10 * 8 + lVar3 + lVar6); + lVar6 = lVar6 + 8; + lVar9 = lVar9 + -1; + } while (lVar9 != 0); + } + FUN_14007a530(lVar1,*(int *)(param_1 + 0x48) - iVar10,uVar7,lVar8); + *(undefined8 *)(param_2 + 0x10) = 0; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140077470.c b/decomp/AgentManager_Release_x64/full/functions/0x140077470.c new file mode 100644 index 00000000..28246d93 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140077470.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140077470 FUN_140077470 + * Pseudocode, not original source. */ + +undefined8 * +FUN_140077470(undefined8 *param_1,ulonglong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140077140(param_1,param_2,param_3,param_4); + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400774a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400774a0.c new file mode 100644 index 00000000..adaafeb7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400774a0.c @@ -0,0 +1,50 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400774a0 FUN_1400774a0 + * Pseudocode, not original source. */ + +void FUN_1400774a0(longlong param_1,undefined8 param_2,undefined8 param_3,longlong param_4) + +{ + longlong lVar1; + uint uVar2; + ulonglong uVar4; + ulonglong uVar5; + ulonglong uVar3; + + uVar4 = 0; + lVar1 = param_1; + uVar3 = uVar4; + uVar5 = uVar4; + if (0 < *(int *)(param_1 + 0x20)) { + do { + if (((longlong)uVar5 < 0) || (*(int *)(param_1 + 0x20) <= (int)uVar3)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(lVar1,uVar3,uVar5,param_4); + } + uVar2 = (int)uVar3 + 1; + uVar3 = (ulonglong)uVar2; + uVar5 = uVar5 + 1; + lVar1 = *(longlong *)(*(longlong *)(param_1 + 0x18) + -8 + uVar5 * 8); + *(undefined8 *)(lVar1 + 8) = 0; + } while ((int)uVar2 < *(int *)(param_1 + 0x20)); + } + lVar1 = param_1 + 8; + FUN_14007a530(lVar1,0,uVar5,param_4); + uVar3 = uVar4; + if (0 < *(int *)(param_1 + 0x48)) { + do { + if (((longlong)uVar4 < 0) || (*(int *)(param_1 + 0x48) <= (int)uVar3)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(lVar1,uVar4,uVar5,param_4); + } + uVar2 = (int)uVar3 + 1; + uVar3 = (ulonglong)uVar2; + uVar4 = uVar4 + 1; + lVar1 = *(longlong *)(*(longlong *)(param_1 + 0x40) + -8 + uVar4 * 8); + *(undefined8 *)(lVar1 + 0x10) = 0; + } while ((int)uVar2 < *(int *)(param_1 + 0x48)); + } + FUN_14007a530(param_1 + 0x30,0,uVar5,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140077540.c b/decomp/AgentManager_Release_x64/full/functions/0x140077540.c new file mode 100644 index 00000000..49e75864 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140077540.c @@ -0,0 +1,94 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140077540 FUN_140077540 + * Pseudocode, not original source. */ + +void FUN_140077540(longlong *param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + char cVar1; + short sVar2; + ushort uVar3; + ushort uVar4; + int iVar5; + longlong *plVar6; + longlong *plVar7; + ushort uVar8; + ushort uVar9; + ushort uVar10; + int iVar11; + longlong lVar12; + longlong *local_res10; + exception local_78 [80]; + + plVar6 = param_1; + plVar7 = param_2; + local_res10 = param_2; + cVar1 = (**(code **)(*param_1 + 0x90))(); + if (cVar1 != '\0') { + FUN_14003db10(local_78,(wchar_t *)PTR_u_Already_async_callback_may_occur_140170088,param_3, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_78,(ThrowInfo *)&DAT_14016c210); + } + iVar11 = 0; + lVar12 = 0; + if (0 < (int)param_1[4]) { + do { + if ((lVar12 < 0) || ((int)param_1[4] <= iVar11)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(plVar6,plVar7,param_3,param_4); + } + plVar6 = *(longlong **)(param_1[3] + lVar12 * 8); + iVar5 = (**(code **)*plVar6)(plVar6); + if (0xfff9 < iVar5) { +LAB_14007770b: + FUN_14003db10(local_78,(wchar_t *)PTR_u_Wrong_RMI_ID_is_found__RMI_ID_sh_140170080,param_3, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_78,(ThrowInfo *)&DAT_14016c210); + } + iVar5 = (**(code **)(*plVar6 + 8))(plVar6); + if (iVar5 < 1) goto LAB_14007770b; + sVar2 = (**(code **)(*param_2 + 8))(param_2); + uVar8 = sVar2 + 1; + uVar3 = (**(code **)*param_2)(param_2); + sVar2 = (**(code **)(*plVar6 + 8))(plVar6); + plVar7 = (longlong *)*plVar6; + uVar9 = sVar2 + 1; + uVar4 = (*(code *)*plVar7)(); + uVar10 = uVar9; + if (uVar9 < uVar4) { + uVar10 = uVar4; + uVar4 = uVar9; + } + uVar9 = uVar8; + if (uVar8 < uVar3) { + uVar9 = uVar3; + uVar3 = uVar8; + } + if (uVar4 < uVar3) { +LAB_140077664: + if ((uVar9 <= uVar10) || ((uVar3 <= uVar10 && (uVar10 <= uVar9)))) goto LAB_1400776e8; + if (uVar3 <= uVar4) goto LAB_140077679; + } + else { + if (uVar10 <= uVar9) goto LAB_1400776e8; + if (uVar4 <= uVar3) goto LAB_140077664; +LAB_140077679: + if ((uVar4 <= uVar9) && (uVar9 <= uVar10)) { +LAB_1400776e8: + FUN_14003db10(local_78,(wchar_t *)PTR_u_Duplicated_RMI_ID_is_found__Revi_140170078,param_3 + ,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_78,(ThrowInfo *)&DAT_14016c210); + } + } + iVar11 = iVar11 + 1; + lVar12 = lVar12 + 1; + } while (iVar11 < (int)param_1[4]); + } + param_2[1] = (longlong)param_1; + FUN_140076ec0((longlong)(param_1 + 1),(int)param_1[4],(longlong)&local_res10,1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140077740.c b/decomp/AgentManager_Release_x64/full/functions/0x140077740.c new file mode 100644 index 00000000..235dd035 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140077740.c @@ -0,0 +1,96 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140077740 FUN_140077740 + * Pseudocode, not original source. */ + +void FUN_140077740(longlong *param_1,longlong *param_2,undefined8 param_3,longlong param_4) + +{ + short sVar1; + ushort uVar2; + ushort uVar3; + longlong lVar4; + longlong lVar5; + longlong *plVar6; + longlong *plVar7; + int iVar8; + ushort uVar9; + ushort uVar10; + ushort uVar11; + longlong lVar12; + int iVar13; + longlong lVar14; + exception local_78 [80]; + + iVar13 = 0; + lVar14 = 0; + plVar6 = param_1; + plVar7 = param_2; + if (0 < (int)param_1[9]) { + do { + if ((lVar14 < 0) || ((int)param_1[9] <= iVar13)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(plVar6,plVar7,param_3,param_4); + } + plVar6 = *(longlong **)(param_1[8] + lVar14 * 8); + sVar1 = (**(code **)(*param_2 + 8))(param_2); + uVar11 = sVar1 + 1; + uVar2 = (**(code **)*param_2)(param_2); + sVar1 = (**(code **)(*plVar6 + 8))(plVar6); + plVar7 = (longlong *)*plVar6; + uVar9 = sVar1 + 1; + uVar3 = (*(code *)*plVar7)(); + uVar10 = uVar9; + if (uVar9 < uVar3) { + uVar10 = uVar3; + uVar3 = uVar9; + } + uVar9 = uVar11; + if (uVar11 < uVar2) { + uVar9 = uVar2; + uVar2 = uVar11; + } + if (uVar3 < uVar2) { +LAB_1400777ed: + if ((uVar9 <= uVar10) || ((uVar2 <= uVar10 && (uVar10 <= uVar9)))) goto LAB_1400778c2; + if (uVar2 <= uVar3) goto LAB_14007780a; + } + else { + if (uVar10 <= uVar9) goto LAB_1400778c2; + if (uVar3 <= uVar2) goto LAB_1400777ed; +LAB_14007780a: + if ((uVar3 <= uVar9) && (uVar9 <= uVar10)) { +LAB_1400778c2: + FUN_14003db10(local_78,(wchar_t *)PTR_u_Duplicated_RMI_ID_is_found__Revi_140170078,param_3 + ,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_78,(ThrowInfo *)&DAT_14016c210); + } + } + iVar13 = iVar13 + 1; + lVar14 = lVar14 + 1; + } while (iVar13 < (int)param_1[9]); + } + param_2[2] = (longlong)param_1; + iVar13 = (int)param_1[9]; + if (-1 < iVar13) { + lVar14 = param_1[9]; + FUN_14007a530((longlong)(param_1 + 6),(int)lVar14 + 1,param_3,param_4); + iVar8 = (int)lVar14 - iVar13; + if ((0 < iVar8) && (iVar8 = iVar8 + -1, lVar14 = (longlong)iVar8, -1 < iVar8)) { + lVar12 = (lVar14 + iVar13) * 8 + 8; + do { + lVar4 = FUN_140074a30((longlong)(param_1 + 6)); + lVar5 = FUN_140074a30((longlong)(param_1 + 6)); + *(undefined8 *)(lVar5 + lVar12) = *(undefined8 *)(lVar4 + -8 + lVar12); + lVar12 = lVar12 + -8; + lVar14 = lVar14 + -1; + } while (-1 < lVar14); + } + lVar14 = FUN_140074a30((longlong)(param_1 + 6)); + *(longlong **)(lVar14 + (longlong)iVar13 * 8) = param_2; + return; + } + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140077900.c b/decomp/AgentManager_Release_x64/full/functions/0x140077900.c new file mode 100644 index 00000000..8f50783e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140077900.c @@ -0,0 +1,186 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140077900 FUN_140077900 + * Pseudocode, not original source. */ + +/* WARNING: Function: __chkstk replaced with injection: alloca_probe */ +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +undefined1 +FUN_140077900(longlong *param_1,undefined8 param_2,ulonglong param_3,longlong param_4, + undefined8 param_5,int param_6) + +{ + undefined1 uVar1; + int iVar2; + undefined1 *puVar3; + longlong lVar4; + SIZE_T SVar5; + undefined4 *puVar6; + ulonglong uVar7; + longlong lVar8; + undefined8 uVar9; + int *piVar10; + undefined1 auStack_1ad8 [32]; + longlong local_1ab8; + longlong *local_1aa8; + uint uStack_1aa0; + undefined4 uStack_1a9c; + undefined4 local_1a98; + undefined4 local_1a94; + undefined8 local_1a90; + undefined4 local_1a88; + undefined8 local_1a80; + undefined4 local_1a78; + undefined4 local_1a74; + undefined4 local_1a70; + undefined1 local_1a6c; + undefined1 local_1a6b; + undefined1 local_1a6a; + undefined4 local_1a68; + undefined8 local_1a60; + undefined1 local_1a58; + undefined1 local_1a57; + int local_1a50 [2]; + wchar_t *local_1a48; + undefined4 local_1a40; + undefined4 local_1a3c; + undefined8 local_1a38; + undefined4 local_1a28 [2]; + longlong local_1a20; + longlong local_1a18; + uint local_1a10; + int local_1a0c; + undefined1 local_1a00 [136]; + undefined1 local_1978 [3200]; + undefined1 *local_cf8; + int local_cf0; + int local_cec; + longlong local_ce8; + undefined8 uStack_ce0; + longlong *local_68; + undefined4 local_60; + int local_5c; + ulonglong local_58; + undefined8 uStack_48; + + uStack_48 = 0x14007791f; + local_1a38 = 0xfffffffffffffffe; + local_58 = DAT_14016f5a0 ^ (ulonglong)auStack_1ad8; + lVar8 = param_4; + FUN_140049b00(param_4,param_2,param_3,param_4); + FUN_140074fb0(local_1a28); + SVar5 = 0x80; + puVar3 = local_1a00; + FUN_140074c30((longlong)local_1a28,(longlong)puVar3,0x80,lVar8); + FUN_140029d80((longlong)local_1a28,CONCAT71((int7)((ulonglong)puVar3 >> 8),2),SVar5,lVar8); + lVar4 = (longlong)param_6; + FUN_140076380((longlong)local_1a28,lVar4,SVar5,lVar8); + local_cec = 200; + local_cf0 = 0; + local_cf8 = local_1978; + local_5c = 200; + local_60 = 0; + local_68 = &local_ce8; + if (local_1a20 == 0) { + if (local_1a18 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,lVar4,SVar5,lVar8); + } + } + else { + local_1a10 = *(uint *)(local_1a20 + 0x18); + } + local_1aa8 = (longlong *)local_1a18; + if (local_1a18 == 0) { + if (local_1a20 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,(ulonglong)local_1a10,SVar5,lVar8); + } + local_1aa8 = (longlong *)0; + if (*(int *)(local_1a20 + 0x18) != 0) { + local_1aa8 = *(longlong **)(local_1a20 + 0x10); + } + } + local_60 = 1; + uStack_ce0 = CONCAT44(uStack_1a9c,local_1a10); + uStack_1aa0 = local_1a10; + local_ce8 = (longlong)local_1aa8; + FUN_14004dc30((longlong)local_1978,(longlong)&local_ce8,SVar5,lVar8); + if (local_68 == (longlong *)0x0) { + FUN_14003db10((exception *)&local_1a98, + (wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,SVar5,lVar8); + /* WARNING: Subroutine does not return */ + _CxxThrowException(&local_1a98,(ThrowInfo *)&DAT_14016c210); + } + if (local_5c < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + uStack_1aa0 = param_6; + if (local_cf8 == (undefined1 *)0x0) { + FUN_14003db10((exception *)&local_1a98, + (wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,SVar5,lVar8); + /* WARNING: Subroutine does not return */ + _CxxThrowException(&local_1a98,(ThrowInfo *)&DAT_14016c210); + } + if (local_cf0 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + iVar2 = local_cf0 + 1; + if ((iVar2 < 0) || (local_cec < iVar2)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + *(undefined8 *)(local_cf8 + (longlong)local_cf0 * 0x10) = param_5; + *(ulonglong *)(local_cf8 + (longlong)local_cf0 * 0x10 + 8) = CONCAT44(uStack_1a9c,param_6); + local_1a98 = *(undefined4 *)(param_4 + 0x2c); + local_1a94 = *(undefined4 *)(param_4 + 8); + local_1a90 = *(undefined8 *)(param_4 + 0x10); + local_1a88 = *(undefined4 *)(param_4 + 0x18); + local_1a80 = *(undefined8 *)(param_4 + 0x20); + local_1a78 = *(undefined4 *)(param_4 + 0x28); + local_1a6b = *(undefined1 *)(param_4 + 0x30); + local_1a6c = *(undefined1 *)(param_4 + 0x40); + local_1a6a = *(undefined1 *)(param_4 + 0x41); + local_1a74 = *(undefined4 *)(param_4 + 0x54); + local_1a68 = 0xffffffff; + local_1a60 = *(undefined8 *)(param_4 + 0x48); + local_1a57 = *(undefined1 *)(param_4 + 0x50); + local_1a58 = DAT_14016f1cc; + local_1a70 = *(undefined4 *)(param_4 + 0x58); + local_1ab8 = CONCAT44(local_1ab8._4_4_,(int)param_3); + puVar6 = &local_1a98; + puVar3 = local_1978; + uVar9 = param_2; + local_cf0 = iVar2; + uVar1 = (**(code **)(*param_1 + 0x28))(param_1); + local_1a50[0] = FUN_140096ef0((longlong)local_1978,puVar3,puVar6,uVar9); + local_1a50[1] = 0; + local_1a48 = L""; + local_1a40 = *(undefined4 *)(param_4 + 0x54); + local_1a3c = *(undefined4 *)(param_4 + 0x58); + piVar10 = local_1a50; + uVar7 = param_3 & 0xffffffff; + local_1ab8 = param_4; + (**(code **)(*param_1 + 0x68))(param_1,param_2); + if (local_cf8 == (undefined1 *)0x0) { + FUN_14003db10((exception *)&local_1a98, + (wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,uVar7,piVar10); + /* WARNING: Subroutine does not return */ + _CxxThrowException(&local_1a98,(ThrowInfo *)&DAT_14016c210); + } + if (-1 < local_cec) { + local_cf0 = 0; + local_1aa8 = &local_1a20; + FUN_14008a320(&local_1a20); + if ((local_1a18 != 0) && (local_1a0c < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; + } + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140077c70.c b/decomp/AgentManager_Release_x64/full/functions/0x140077c70.c new file mode 100644 index 00000000..16e79978 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140077c70.c @@ -0,0 +1,25 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140077c70 FUN_140077c70 + * Pseudocode, not original source. */ + +void FUN_140077c70(longlong *param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong lVar1; + longlong *plVar2; + longlong *plVar3; + + plVar3 = param_2; + lVar1 = (**(code **)(*param_1 + 0x98))(); + if (lVar1 != 0) { + plVar2 = (longlong *)(**(code **)(*param_1 + 0x98))(param_1); + plVar3 = (longlong *)0x0; + if (*param_2 != 0) { + plVar3 = *(longlong **)(*param_2 + 0x38); + } + (**(code **)(*plVar2 + 8))(plVar2); + } + FUN_140038280(param_2,plVar3,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140077cd0.c b/decomp/AgentManager_Release_x64/full/functions/0x140077cd0.c new file mode 100644 index 00000000..88dc5ecd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140077cd0.c @@ -0,0 +1,819 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140077cd0 FUN_140077cd0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __chkstk replaced with injection: alloca_probe */ +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +ulonglong FUN_140077cd0(longlong *param_1,longlong *param_2,int *param_3,int *param_4,uint param_5) + +{ + byte bVar1; + char cVar2; + uint uVar3; + uint uVar4; + uint uVar5; + int *piVar6; + uint *puVar7; + undefined8 uVar8; + longlong *plVar9; + int *piVar10; + longlong *plVar11; + undefined *extraout_RAX; + undefined *puVar12; + ulonglong uVar13; + undefined8 *puVar14; + undefined4 *puVar15; + longlong lVar16; + undefined ***pppuVar17; + wchar_t *pwVar18; + undefined1 *puVar19; + undefined7 uVar21; + uint *puVar20; + uint uVar22; + int iVar23; + uint uVar24; + uint **ppuVar25; + SIZE_T SVar26; + uint **ppuVar27; + undefined8 uVar28; + uint *puVar29; + undefined1 auStackY_1d58 [32]; + uint *local_1d28; + uint local_1d20 [2]; + uint *local_1d18; + undefined8 local_1d10; + ushort local_1d08 [4]; + uint *local_1d00; + undefined **local_1cf8; + undefined8 local_1cf0; + undefined8 local_1ce8; + undefined8 local_1ce0; + undefined8 local_1cd8; + longlong *local_1cb0; + longlong *local_1ca8; + undefined1 local_1ca0; + undefined8 local_1c98; + longlong local_1c90; + longlong local_1c88; + undefined4 local_1c80; + int local_1c7c; + longlong *local_1c70; + int local_1c68 [2]; + longlong local_1c60; + longlong local_1c58; + uint local_1c50; + int local_1c4c; + int *local_1c40; + undefined1 local_1c38; + int *local_1c30; + undefined1 local_1c28; + int *local_1c20; + undefined1 local_1c18; + longlong local_1c10; + uint uStack_1c08; + undefined4 uStack_1c04; + longlong local_1c00; + uint uStack_1bf8; + undefined4 uStack_1bf4; + longlong local_1bf0; + longlong local_1be8 [2]; + undefined4 local_1bd8 [2]; + longlong local_1bd0; + longlong local_1bc8; + uint local_1bc0; + int local_1bbc; + undefined1 local_1bb0 [136]; + uint *local_1b28; + longlong local_1b20; + ulonglong local_1b18; + undefined8 local_1b10; + uint local_1b08 [100]; + longlong local_1978; + undefined8 uStack_1970; + longlong *local_cf8; + undefined4 local_cf0; + int local_cec; + longlong local_ce8 [400]; + longlong *local_68; + undefined4 local_60; + int local_5c; + ulonglong local_58; + undefined8 uStack_48; + + uStack_48 = 0x140077cef; + local_1be8[1] = 0xfffffffffffffffe; + local_58 = DAT_14016f5a0 ^ (ulonglong)auStackY_1d58; + bVar1 = 0; + local_1cb0 = param_2; + if ((param_3[9] == 0) || (*param_3 == 2)) { + uVar13 = (**(code **)(*param_1 + 0x78))(); + } + else { + piVar6 = (int *)(**(code **)(*param_1 + 0x58))(); + local_1c40 = piVar6; + FUN_14003d040(piVar6); + local_1c38 = 1; + if (DAT_14017614f != '\0') { + (**(code **)(*param_1 + 200))(param_1,L"Proud::CNetCoreImpl::Send_SecureLayer"); + } + local_1b28 = (uint *)0x0; + local_1b10 = 0; + local_1b20 = 0; + local_1b18 = 100; + ppuVar27 = &local_1b28; + plVar9 = (longlong *)(ulonglong)param_5; + (**(code **)(*param_1 + 0x50))(param_1); + FUN_14003d0d0((longlong)piVar6); + local_1c38 = 0; + FUN_14003e7c0(piVar6,plVar9,param_4,ppuVar27); + local_1d00 = (uint *)PTR_DAT_14016f010; + iVar23 = 0; + local_1d10 = (longlong *)((ulonglong)local_1d10._4_4_ << 0x20); + if (0 < local_1b20) { + lVar16 = 0; + do { + if ((lVar16 < 0) || (local_1b20 <= lVar16)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + puVar7 = local_1b28; + if (local_1b18 < 0x65) { + puVar7 = local_1b08; + } + local_1d20[0] = puVar7[lVar16]; + uVar3 = (**(code **)(*param_1 + 0x30))(param_1); + pwVar18 = (wchar_t *)(ulonglong)local_1d20[0]; + param_4 = param_3; + if (uVar3 == local_1d20[0]) { + ppuVar27 = (uint **)local_1d20; + plVar9 = param_2; + bVar1 = (**(code **)(*param_1 + 0x78))(); + } + else { + ppuVar25 = &local_1d00; + puVar7 = (uint *)(**(code **)(*param_1 + 0xc0))(param_1); + if (puVar7 == (uint *)0x0) { + plVar11 = (longlong *)(**(code **)(*param_1 + 0x58))(param_1); + plVar9 = plVar11; + local_1ca8 = plVar11; + FUN_14003d040((int *)plVar11); + local_1ca0 = 1; + if (DAT_14017614f != '\0') { + ppuVar25 = (uint **)*param_1; + pwVar18 = L"Proud::CNetCoreImpl::Send_SecureLayer"; + plVar9 = param_1; + (*(code *)ppuVar25[0x19])(); + } + if (((local_1d00 == (uint *)0x0) || (local_1d00 == (uint *)PTR_DAT_14016f010)) || + ((int)local_1d00[-2] < 1)) { + FUN_14003e7c0(plVar9,pwVar18,ppuVar25,ppuVar27); + local_1d28 = (uint *)PTR_DAT_14016f010; + uVar3 = FUN_14003e620( + L"CStartServerParameter.m_enableP2PEncryptedMessaging=false. P2P Messaging can not encrypted!!" + ); + uVar4 = 0; + uVar13 = 0; + if ((local_1d28 != (uint *)0x0) && + (uVar13 = 0, local_1d28 != (uint *)PTR_DAT_14016f010)) { + uVar13 = (ulonglong)local_1d28[-2]; + } + uVar5 = uVar3; + if ((((int)uVar3 <= (int)uVar13) && (uVar5 = uVar4, local_1d28 != (uint *)0x0)) && + (local_1d28 != (uint *)PTR_DAT_14016f010)) { + uVar5 = local_1d28[-2]; + } + uVar22 = 1; + if (1 < (int)uVar5) { + uVar22 = uVar5; + } + uVar5 = uVar4; + if ((local_1d28 != (uint *)0x0) && (local_1d28 != (uint *)PTR_DAT_14016f010)) { + uVar5 = local_1d28[-2]; + } + if ((int)uVar5 < (int)uVar22) { + if (local_1d28 == (uint *)0x0) { + local_1d28 = (uint *)PTR_DAT_14016f010; + } + if ((int)uVar22 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar22 == 0) { + FUN_140002190((longlong *)&local_1d28,uVar13,PTR_DAT_14016f010,ppuVar27); + } + else { + uVar5 = uVar4; + if ((local_1d28 != (uint *)0x0) && (local_1d28 != (uint *)PTR_DAT_14016f010)) { + uVar5 = local_1d28[-2]; + } + if (uVar22 != uVar5) { + puVar7 = (uint *)FUN_14003e840((longlong)(int)uVar22 * 2 + 10); + if (puVar7 != (uint *)0x0) { + *puVar7 = 0; + puVar7[1] = 1; + } + *puVar7 = uVar22; + uVar5 = 0; + if ((local_1d28 != (uint *)0x0) && (local_1d28 != (uint *)PTR_DAT_14016f010)) { + uVar5 = local_1d28[-2]; + } + puVar20 = (uint *)PTR_DAT_14016f010; + if ((int)uVar22 < (int)uVar5) { +LAB_140078627: + if (local_1d28 != (uint *)0x0) { + puVar20 = local_1d28; + } + } + else { + uVar22 = uVar4; + if (local_1d28 != (uint *)0x0) { + if (local_1d28 != (uint *)PTR_DAT_14016f010) { + uVar22 = local_1d28[-2]; + } + goto LAB_140078627; + } + } + uVar13 = (ulonglong)uVar22; + puVar29 = puVar20; + FUN_14003e650(puVar7 + 2,puVar20,uVar22); + FUN_140002190((longlong *)&local_1d28,puVar20,uVar13,puVar29); + local_1d28 = puVar7 + 2; + } + } + } + FUN_140001df0((longlong *)&local_1d28); + puVar7 = local_1d28; + if (local_1d28 == (uint *)0x0) { + puVar7 = (uint *)PTR_DAT_14016f010; + } + FUN_14003e650(puVar7, + L"CStartServerParameter.m_enableP2PEncryptedMessaging=false. P2P Messaging can not encrypted!!" + ,uVar3); + puVar7 = local_1d28; + if (local_1d28 == (uint *)0x0) { + puVar7 = (uint *)PTR_DAT_14016f010; + } + uVar4 = FUN_14003e620((short *)puVar7); + uVar5 = 0; + uVar3 = 0; + if (0 < (int)uVar4) { + uVar3 = uVar4; + } + uVar4 = uVar5; + if ((local_1d28 != (uint *)0x0) && (local_1d28 != (uint *)PTR_DAT_14016f010)) { + uVar4 = local_1d28[-2]; + } + if (((int)uVar3 < (int)uVar4) || (uVar3 = uVar5, local_1d28 == (uint *)0x0)) { +LAB_1400786c5: + if (((local_1d28 != (uint *)PTR_DAT_14016f010) && (local_1d28 != (uint *)0x0)) && + (local_1d28 + -2 != (uint *)0x0)) { + local_1d28[-2] = uVar3; + *(undefined2 *)((longlong)local_1d28 + (longlong)(int)uVar3 * 2) = 0; + } + } + else if (local_1d28 != (uint *)PTR_DAT_14016f010) { + uVar3 = local_1d28[-2]; + goto LAB_1400786c5; + } + local_1cf0 = 0; + local_1ce8 = 0; + local_1ce0 = 0; + local_1cd8 = 0; + local_1cf8 = Proud::ByteArray::vftable; + ppuVar27 = &local_1d28; + plVar9 = FUN_140071c20((longlong *)&local_1c70,5,(ulonglong)local_1d20[0], + (longlong *)ppuVar27,(longlong)&local_1cf8); + param_4 = (int *)*param_1; + (**(code **)(param_4 + 0x20))(param_1); + FUN_140049e40(&local_1cf8); + FUN_140002190((longlong *)&local_1d28,plVar9,param_4,ppuVar27); + param_2 = local_1cb0; + iVar23 = (int)local_1d10; + } + else { + local_1cf0 = 0; + local_1ce8 = 0; + local_1ce0 = 0; + local_1cd8 = 0; + local_1cf8 = Proud::ByteArray::vftable; + ppuVar27 = &local_1d00; + plVar9 = FUN_140071c20(local_1be8,5,(ulonglong)local_1d20[0],(longlong *)ppuVar27, + (longlong)&local_1cf8); + param_4 = (int *)*param_1; + (**(code **)(param_4 + 0x20))(param_1); + FUN_140049e40(&local_1cf8); + } + FUN_14003d0d0((longlong)plVar11); + local_1ca0 = 0; + } + else { + pwVar18 = (wchar_t *)*param_1; + piVar6 = (int *)(**(code **)(pwVar18 + 0x2c))(); + local_1c20 = piVar6; + FUN_14003d040(piVar6); + local_1c18 = 1; + if (DAT_14017614f != '\0') { + ppuVar25 = (uint **)*param_1; + pwVar18 = L"Proud::CNetCoreImpl::Send_SecureLayer"; + (*(code *)ppuVar25[0x19])(param_1); + } + FUN_140074fb0((undefined4 *)&local_1c98); + FUN_140074a40((longlong)&local_1c98,pwVar18,(SIZE_T)ppuVar25,ppuVar27); + if (*param_3 == 1) { + ppuVar25 = (uint **)local_1d08; + uVar13 = (ulonglong)local_1d20[0]; + plVar9 = param_1; + cVar2 = (**(code **)(*param_1 + 0xa0))(); + if (cVar2 == '\0') { + FUN_14003e7c0(plVar9,uVar13,ppuVar25,ppuVar27); + local_1d28 = (uint *)PTR_DAT_14016f010; + uVar3 = FUN_14003e620((short *)&DAT_140111ba0); + uVar4 = 0; + uVar5 = 0; + uVar13 = 0; + if ((local_1d28 != (uint *)0x0) && + (uVar13 = 0, local_1d28 != (uint *)PTR_DAT_14016f010)) { + uVar13 = (ulonglong)local_1d28[-2]; + } + uVar22 = uVar3; + if ((((int)uVar3 <= (int)uVar13) && (uVar22 = uVar5, local_1d28 != (uint *)0x0)) && + (local_1d28 != (uint *)PTR_DAT_14016f010)) { + uVar22 = local_1d28[-2]; + } + uVar24 = 1; + if (1 < (int)uVar22) { + uVar24 = uVar22; + } + uVar22 = uVar5; + if ((local_1d28 != (uint *)0x0) && (local_1d28 != (uint *)PTR_DAT_14016f010)) { + uVar22 = local_1d28[-2]; + } + if ((int)uVar22 < (int)uVar24) { + if (local_1d28 == (uint *)0x0) { + local_1d28 = (uint *)PTR_DAT_14016f010; + } + if ((int)uVar24 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar24 == 0) { + FUN_140002190((longlong *)&local_1d28,PTR_DAT_14016f010,uVar13,ppuVar27); + } + else { + uVar22 = uVar5; + if ((local_1d28 != (uint *)0x0) && (local_1d28 != (uint *)PTR_DAT_14016f010)) { + uVar22 = local_1d28[-2]; + } + if (uVar24 != uVar22) { + puVar7 = (uint *)FUN_14003e840((longlong)(int)uVar24 * 2 + 10); + if (puVar7 != (uint *)0x0) { + *puVar7 = 0; + puVar7[1] = 1; + } + *puVar7 = uVar24; + uVar22 = uVar5; + if ((local_1d28 != (uint *)0x0) && (local_1d28 != (uint *)PTR_DAT_14016f010)) + { + uVar22 = local_1d28[-2]; + } + puVar20 = (uint *)PTR_DAT_14016f010; + if ((int)uVar24 < (int)uVar22) { +LAB_14007887d: + if (local_1d28 != (uint *)0x0) { + puVar20 = local_1d28; + } + } + else { + uVar24 = uVar5; + if (local_1d28 != (uint *)0x0) { + if (local_1d28 != (uint *)PTR_DAT_14016f010) { + uVar24 = local_1d28[-2]; + } + goto LAB_14007887d; + } + } + uVar13 = (ulonglong)uVar24; + FUN_14003e650(puVar7 + 2,puVar20,uVar24); + FUN_140002190((longlong *)&local_1d28,puVar20,uVar13,ppuVar27); + local_1d28 = puVar7 + 2; + } + } + } + FUN_140001df0((longlong *)&local_1d28); + puVar7 = local_1d28; + if (local_1d28 == (uint *)0x0) { + puVar7 = (uint *)PTR_DAT_14016f010; + } + FUN_14003e650(puVar7,&DAT_140111ba0,uVar3); + puVar7 = local_1d28; + if (local_1d28 == (uint *)0x0) { + puVar7 = (uint *)PTR_DAT_14016f010; + } + uVar5 = FUN_14003e620((short *)puVar7); + uVar3 = uVar4; + if (0 < (int)uVar5) { + uVar3 = uVar5; + } + uVar5 = uVar4; + if ((local_1d28 != (uint *)0x0) && (local_1d28 != (uint *)PTR_DAT_14016f010)) { + uVar5 = local_1d28[-2]; + } + if (((int)uVar5 <= (int)uVar3) && (uVar3 = uVar4, local_1d28 != (uint *)0x0)) { + if (local_1d28 == (uint *)PTR_DAT_14016f010) goto LAB_140078937; + uVar3 = local_1d28[-2]; + } + if (((local_1d28 != (uint *)PTR_DAT_14016f010) && (local_1d28 != (uint *)0x0)) && + (local_1d28 + -2 != (uint *)0x0)) { + local_1d28[-2] = uVar3; + *(undefined2 *)((longlong)local_1d28 + (longlong)(int)uVar3 * 2) = 0; + } +LAB_140078937: + local_1cf0 = 0; + local_1ce8 = 0; + local_1ce0 = 0; + local_1cd8 = 0; + local_1cf8 = Proud::ByteArray::vftable; + ppuVar27 = &local_1d28; + plVar9 = FUN_140071c20((longlong *)&local_1c70,5,(ulonglong)local_1d20[0], + (longlong *)ppuVar27,(longlong)&local_1cf8); + lVar16 = *param_1; + (**(code **)(lVar16 + 0x80))(param_1); + pppuVar17 = &local_1cf8; + FUN_140049e40(pppuVar17); + puVar7 = local_1d28; + if (((local_1d28 != (uint *)0x0) && (local_1d28 != (uint *)PTR_DAT_14016f010)) && + (puVar20 = local_1d28 + -2, puVar20 != (uint *)0x0)) { + plVar11 = (longlong *)FUN_14003e7c0(pppuVar17,plVar9,lVar16,ppuVar27); + local_1ca8 = plVar11; + FUN_14003d040((int *)plVar11); + local_1ca0 = 1; + puVar7 = puVar7 + -1; + *puVar7 = *puVar7 - 1; + if (*puVar7 == 0) { + FUN_14003e8b0(puVar20); + } + FUN_14003d0d0((longlong)plVar11); + } + local_1c70 = &local_1c90; + FUN_14008a320(&local_1c90); + if (local_1c88 != 0) { + if (local_1c7c < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_1c80 = 0; + } + FUN_14003d0d0((longlong)piVar6); + puVar7 = local_1d00; + if (((local_1d00 != (uint *)0x0) && (local_1d00 != (uint *)PTR_DAT_14016f010)) && + (puVar20 = local_1d00 + -2, puVar20 != (uint *)0x0)) { + plVar9 = (longlong *)FUN_14003e7c0(piVar6,plVar9,lVar16,ppuVar27); + local_1ca8 = plVar9; + FUN_14003d040((int *)plVar9); + local_1ca0 = 1; + puVar7 = puVar7 + -1; + *puVar7 = *puVar7 - 1; + if (*puVar7 == 0) { + FUN_14003e8b0(puVar20); + } + FUN_14003d0d0((longlong)plVar9); + } + local_1d00 = (uint *)PTR_DAT_14016f010; + puVar12 = PTR_DAT_14016f010; + if (100 < local_1b18) { + operator_delete__(local_1b28); + puVar12 = extraout_RAX; + } + return (ulonglong)puVar12 & 0xffffffffffffff00; + } + FUN_14002a2d0((longlong)&local_1c98,(ulonglong)local_1d08[0],(SIZE_T)ppuVar25,ppuVar27 + ); + } + plVar9 = param_2; + FUN_140075390(&local_1c98,(longlong)param_2,(SIZE_T)ppuVar25,(longlong)ppuVar27); + FUN_140074fb0(local_1c68); + FUN_140074a40((longlong)local_1c68,plVar9,(SIZE_T)ppuVar25,ppuVar27); + uVar28 = 0; + piVar10 = local_1c68; + puVar14 = &local_1c98; + if (param_3[9] == 1) { + uVar8 = FUN_140087dc0((longlong)puVar14,piVar10,puVar7,0); + cVar2 = (char)uVar8; + } + else { + puVar7 = puVar7 + 0xf4; + uVar8 = FUN_140095500((longlong)puVar14,piVar10,(SIZE_T)puVar7,0); + cVar2 = (char)uVar8; + } + if (cVar2 == '\0') { + FUN_14003e7c0(puVar14,piVar10,puVar7,uVar28); + local_1d18 = (uint *)PTR_DAT_14016f010; + uVar3 = FUN_14003e620(L"Encrypt Error"); + uVar4 = 0; + uVar13 = 0; + if ((local_1d18 != (uint *)0x0) && + (uVar13 = 0, local_1d18 != (uint *)PTR_DAT_14016f010)) { + uVar13 = (ulonglong)local_1d18[-2]; + } + uVar5 = uVar3; + if ((((int)uVar3 <= (int)uVar13) && (uVar5 = uVar4, local_1d18 != (uint *)0x0)) && + (local_1d18 != (uint *)PTR_DAT_14016f010)) { + uVar5 = local_1d18[-2]; + } + uVar22 = 1; + if (1 < (int)uVar5) { + uVar22 = uVar5; + } + uVar5 = uVar4; + if ((local_1d18 != (uint *)0x0) && (local_1d18 != (uint *)PTR_DAT_14016f010)) { + uVar5 = local_1d18[-2]; + } + if ((int)uVar5 < (int)uVar22) { + if (local_1d18 == (uint *)0x0) { + local_1d18 = (uint *)PTR_DAT_14016f010; + } + if ((int)uVar22 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar22 == 0) { + FUN_140002190((longlong *)&local_1d18,uVar13,PTR_DAT_14016f010,uVar28); + } + else { + uVar5 = uVar4; + if ((local_1d18 != (uint *)0x0) && (local_1d18 != (uint *)PTR_DAT_14016f010)) { + uVar5 = local_1d18[-2]; + } + if (uVar22 != uVar5) { + puVar7 = (uint *)FUN_14003e840((longlong)(int)uVar22 * 2 + 10); + if (puVar7 != (uint *)0x0) { + *puVar7 = 0; + puVar7[1] = 1; + } + *puVar7 = uVar22; + uVar5 = 0; + if ((local_1d18 != (uint *)0x0) && (local_1d18 != (uint *)PTR_DAT_14016f010)) { + uVar5 = local_1d18[-2]; + } + puVar20 = (uint *)PTR_DAT_14016f010; + if ((int)uVar22 < (int)uVar5) { +LAB_14007828c: + if (local_1d18 != (uint *)0x0) { + puVar20 = local_1d18; + } + } + else { + uVar22 = uVar4; + if (local_1d18 != (uint *)0x0) { + if (local_1d18 != (uint *)PTR_DAT_14016f010) { + uVar22 = local_1d18[-2]; + } + goto LAB_14007828c; + } + } + uVar13 = (ulonglong)uVar22; + puVar29 = puVar20; + FUN_14003e650(puVar7 + 2,puVar20,uVar22); + FUN_140002190((longlong *)&local_1d18,puVar20,uVar13,puVar29); + local_1d18 = puVar7 + 2; + } + } + } + FUN_140001df0((longlong *)&local_1d18); + puVar7 = local_1d18; + if (local_1d18 == (uint *)0x0) { + puVar7 = (uint *)PTR_DAT_14016f010; + } + FUN_14003e650(puVar7,L"Encrypt Error",uVar3); + puVar7 = local_1d18; + if (local_1d18 == (uint *)0x0) { + puVar7 = (uint *)PTR_DAT_14016f010; + } + uVar4 = FUN_14003e620((short *)puVar7); + uVar5 = 0; + uVar3 = 0; + if (0 < (int)uVar4) { + uVar3 = uVar4; + } + uVar4 = uVar5; + if ((local_1d18 != (uint *)0x0) && (local_1d18 != (uint *)PTR_DAT_14016f010)) { + uVar4 = local_1d18[-2]; + } + if (((int)uVar3 < (int)uVar4) || (uVar3 = uVar5, local_1d18 == (uint *)0x0)) { +LAB_14007832a: + if (((local_1d18 != (uint *)PTR_DAT_14016f010) && (local_1d18 != (uint *)0x0)) && + (local_1d18 + -2 != (uint *)0x0)) { + local_1d18[-2] = uVar3; + *(undefined2 *)((longlong)local_1d18 + (longlong)(int)uVar3 * 2) = 0; + } + } + else if (local_1d18 != (uint *)PTR_DAT_14016f010) { + uVar3 = local_1d18[-2]; + goto LAB_14007832a; + } + local_1cf0 = 0; + local_1ce8 = 0; + local_1ce0 = 0; + local_1cd8 = 0; + local_1cf8 = Proud::ByteArray::vftable; + ppuVar27 = &local_1d18; + plVar9 = FUN_140071c20(&local_1bf0,5,(ulonglong)local_1d20[0],(longlong *)ppuVar27, + (longlong)&local_1cf8); + param_4 = (int *)*param_1; + (**(code **)(param_4 + 0x20))(param_1); + pppuVar17 = &local_1cf8; + FUN_140049e40(pppuVar17); + puVar7 = local_1d18; + if (((local_1d18 != (uint *)0x0) && (local_1d18 != (uint *)PTR_DAT_14016f010)) && + (puVar20 = local_1d18 + -2, puVar20 != (uint *)0x0)) { + piVar10 = (int *)FUN_14003e7c0(pppuVar17,plVar9,param_4,ppuVar27); + local_1c30 = piVar10; + FUN_14003d040(piVar10); + local_1c28 = 1; + puVar7 = puVar7 + -1; + *puVar7 = *puVar7 - 1; + if (*puVar7 == 0) { + FUN_14003e8b0(puVar20); + } + FUN_14003d0d0((longlong)piVar10); + local_1c28 = 0; + } + local_1d18 = (uint *)PTR_DAT_14016f010; + if (*param_3 == 1) { + plVar9 = (longlong *)(ulonglong)local_1d20[0]; + (**(code **)(*param_1 + 0xa8))(param_1); + } + param_2 = local_1cb0; + iVar23 = (int)local_1d10; + } + else { + FUN_140074fb0(local_1bd8); + SVar26 = 0x80; + puVar19 = local_1bb0; + FUN_140074c30((longlong)local_1bd8,(longlong)puVar19,0x80,uVar28); + uVar21 = (undefined7)((ulonglong)puVar19 >> 8); + uVar8 = CONCAT71(uVar21,0x24); + if (*param_3 != 1) { + uVar8 = CONCAT71(uVar21,0x25); + } + FUN_140029d80((longlong)local_1bd8,uVar8,SVar26,uVar28); + uVar13 = (ulonglong)*(byte *)(param_3 + 9); + puVar15 = local_1bd8; + FUN_140029d80((longlong)puVar15,uVar13,SVar26,uVar28); + if (local_1c60 == 0) { + uVar3 = local_1c50; + if (local_1c58 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(puVar15,uVar13,SVar26,uVar28); + } + } + else { + uVar3 = *(uint *)(local_1c60 + 0x18); + } + lVar16 = (longlong)(int)uVar3; + FUN_140076380((longlong)local_1bd8,lVar16,SVar26,uVar28); + local_5c = 200; + local_60 = 0; + local_68 = local_ce8; + local_cec = 200; + local_cf0 = 0; + local_cf8 = &local_1978; + if (local_1bd0 == 0) { + uVar3 = local_1bc0; + if (local_1bc8 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,lVar16,SVar26,uVar28); + } + } + else { + uVar3 = *(uint *)(local_1bd0 + 0x18); + } + lVar16 = local_1bc8; + if (local_1bc8 == 0) { + if (local_1bd0 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,(ulonglong)uVar3,SVar26,uVar28); + } + lVar16 = 0; + if (*(int *)(local_1bd0 + 0x18) != 0) { + lVar16 = *(longlong *)(local_1bd0 + 0x10); + } + } + local_cf0 = 1; + uStack_1970 = CONCAT44(uStack_1c04,uVar3); + plVar9 = &local_1978; + local_1c10 = lVar16; + uStack_1c08 = uVar3; + local_1978 = lVar16; + FUN_14004dc30((longlong)local_ce8,(longlong)plVar9,SVar26,uVar28); + if (local_cf8 == (longlong *)0x0) { + FUN_14003db10((exception *)&local_1cf8, + (wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,SVar26, + uVar28); + /* WARNING: Subroutine does not return */ + _CxxThrowException(&local_1cf8,(ThrowInfo *)&DAT_14016c210); + } + if (local_cec < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_cec = 200; + local_cf0 = 0; + local_cf8 = &local_1978; + if (local_1c60 == 0) { + uVar3 = local_1c50; + if (local_1c58 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,plVar9,SVar26,uVar28); + } + } + else { + uVar3 = *(uint *)(local_1c60 + 0x18); + } + lVar16 = local_1c58; + if (local_1c58 == 0) { + if (local_1c60 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,(ulonglong)uVar3,SVar26,uVar28); + } + lVar16 = 0; + if (*(int *)(local_1c60 + 0x18) != 0) { + lVar16 = *(longlong *)(local_1c60 + 0x10); + } + } + local_cf0 = 1; + uStack_1970 = CONCAT44(uStack_1bf4,uVar3); + local_1c00 = lVar16; + uStack_1bf8 = uVar3; + local_1978 = lVar16; + FUN_14004dc30((longlong)local_ce8,(longlong)&local_1978,SVar26,uVar28); + if (local_cf8 == (longlong *)0x0) { + FUN_14003db10((exception *)&local_1cf8, + (wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,SVar26, + uVar28); + /* WARNING: Subroutine does not return */ + _CxxThrowException(&local_1cf8,(ThrowInfo *)&DAT_14016c210); + } + if (local_cec < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + ppuVar27 = (uint **)local_1d20; + plVar9 = local_ce8; + bVar1 = (**(code **)(*param_1 + 0x78))(param_1); + if (local_68 == (longlong *)0x0) { + FUN_14003db10((exception *)&local_1cf8, + (wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,param_4, + ppuVar27); + /* WARNING: Subroutine does not return */ + _CxxThrowException(&local_1cf8,(ThrowInfo *)&DAT_14016c210); + } + if (local_5c < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_60 = 0; + local_1d10 = &local_1bd0; + FUN_14008a320(&local_1bd0); + if ((local_1bc8 != 0) && (local_1bbc < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + } + local_1d10 = &local_1c60; + FUN_14008a320(&local_1c60); + if (local_1c58 != 0) { + if (local_1c4c < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_1c50 = 0; + } + local_1d10 = &local_1c90; + FUN_14008a320(&local_1c90); + if (local_1c88 != 0) { + if (local_1c7c < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_1c80 = 0; + } + FUN_14003d0d0((longlong)piVar6); + local_1c18 = 0; + } + } + iVar23 = iVar23 + 1; + local_1d10 = (longlong *)CONCAT44(local_1d10._4_4_,iVar23); + lVar16 = (longlong)iVar23; + } while (lVar16 < local_1b20); + } + FUN_140002190((longlong *)&local_1d00,plVar9,param_4,ppuVar27); + if (100 < local_1b18) { + operator_delete__(local_1b28); + } + uVar13 = (ulonglong)bVar1; + } + return uVar13; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140078bb0.c b/decomp/AgentManager_Release_x64/full/functions/0x140078bb0.c new file mode 100644 index 00000000..0b3351bb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140078bb0.c @@ -0,0 +1,442 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140078bb0 FUN_140078bb0 + * Pseudocode, not original source. */ + +ulonglong FUN_140078bb0(uint *param_1,int param_2,uint *param_3,uint *param_4) + +{ + undefined *puVar1; + undefined *puVar2; + char cVar3; + uint uVar4; + uint uVar5; + uint uVar6; + undefined8 uVar7; + ulonglong uVar8; + wchar_t *pwVar9; + uint *puVar10; + uint *puVar11; + longlong *plVar12; + int *piVar13; + int *piVar14; + undefined ***pppuVar15; + uint *puVar16; + wchar_t *pwVar17; + uint uVar18; + longlong lVar19; + uint *puVar20; + uint **ppuVar21; + undefined **ppuVar22; + uint uVar23; + wchar_t local_res18 [4]; + uint *local_res20; + uint *local_b8; + undefined *local_b0; + uint *local_a8; + undefined1 local_a0; + wchar_t local_98 [4]; + undefined **local_90; + undefined8 local_88; + undefined8 local_80; + undefined8 local_78; + undefined8 local_70; + uint local_68; + uint local_64; + uint *local_60; + undefined1 local_58; + longlong local_50 [3]; + + local_50[1] = 0xfffffffffffffffe; + uVar4 = (int)(*param_3 + ((int)*param_3 >> 0x1f & 7U)) >> 3; + puVar11 = param_3; + puVar20 = param_4; + local_res20 = param_4; + local_68 = uVar4; + uVar7 = FUN_140075810(param_3,&local_64,param_3,param_4); + if ((char)uVar7 != '\0') { + pwVar9 = local_res18; + puVar10 = param_3; + uVar8 = FUN_140075580(param_3,(undefined8 *)pwVar9,puVar11,puVar20); + if ((char)uVar8 != '\0') { + FUN_14003e7c0(puVar10,pwVar9,puVar11,puVar20); + local_b0 = PTR_DAT_14016f010; + puVar11 = (uint *)(ulonglong)param_3[10]; + pwVar9 = (wchar_t *)(**(code **)(*(longlong *)param_1 + 0xc0))(param_1,puVar11,&local_b0); + if (((pwVar9 == (wchar_t *)0x0) || (puVar10 = (uint *)(ulonglong)local_64, local_64 == 0)) || + (local_64 == 3)) { +LAB_140079335: + piVar13 = (int *)(**(code **)(*(longlong *)param_1 + 0x58))(param_1); + local_a8 = (uint *)piVar13; + FUN_14003d040(piVar13); + local_a0 = 1; + if (DAT_14017614f != '\0') { + (**(code **)(*(longlong *)param_1 + 200)) + (param_1,L"Proud::CNetCoreImpl::ProcessMessage_Encrypted"); + } + FUN_140029bf0((longlong *)&local_b0,L" decrypt failed"); + local_88 = 0; + local_80 = 0; + local_78 = 0; + local_70 = 0; + local_90 = Proud::ByteArray::vftable; + ppuVar22 = &local_b0; + plVar12 = FUN_140071c20((longlong *)local_res18,6,(ulonglong)param_3[10], + (longlong *)ppuVar22,(longlong)&local_90); + lVar19 = *(longlong *)param_1; + (**(code **)(lVar19 + 0x80))(param_1,plVar12); + FUN_140049e40(&local_90); + uVar8 = (ulonglong)uVar4; + FUN_140074bb0((int *)param_3,uVar8,lVar19,ppuVar22); + FUN_14003d0d0((longlong)piVar13); + puVar2 = local_b0; + if (((local_b0 != (undefined *)0x0) && (local_b0 != PTR_DAT_14016f010)) && + (puVar1 = local_b0 + -8, puVar1 != (undefined *)0x0)) { + piVar14 = (int *)FUN_14003e7c0(piVar13,uVar8,lVar19,ppuVar22); + local_a8 = (uint *)piVar14; + FUN_14003d040(piVar14); + local_a0 = 1; + piVar13 = (int *)(puVar2 + -4); + *piVar13 = *piVar13 + -1; + if (*piVar13 == 0) { + FUN_14003e8b0(puVar1); + } + local_b0 = (undefined *)FUN_14003d0d0((longlong)piVar14); + } + goto LAB_14007943d; + } + if (local_64 == 1) { + puVar20 = (uint *)(ulonglong)(uint)((int)(((int)*param_3 >> 0x1f & 7U) + *param_3) >> 3); + puVar10 = param_3; + puVar11 = param_4; + uVar7 = FUN_140087810((longlong)param_3,(int *)param_4,(uint *)pwVar9,(ulonglong)puVar20); + cVar3 = (char)uVar7; +LAB_140078cae: + if (cVar3 == '\0') goto LAB_140079335; + } + else if (local_64 == 2) { + puVar20 = (uint *)(ulonglong)(uint)((int)(((int)*param_3 >> 0x1f & 7U) + *param_3) >> 3); + pwVar9 = pwVar9 + 0x1e8; + puVar10 = param_3; + puVar11 = param_4; + uVar7 = FUN_1400957e0((longlong)param_3,(int *)param_4,(SIZE_T)pwVar9,(ulonglong)puVar20); + cVar3 = (char)uVar7; + goto LAB_140078cae; + } + if (param_2 != 0x24) { +LAB_1400792e5: + puVar2 = local_b0; + if (((local_b0 != (undefined *)0x0) && (local_b0 != PTR_DAT_14016f010)) && + (puVar1 = local_b0 + -8, puVar1 != (undefined *)0x0)) { + piVar14 = (int *)FUN_14003e7c0(puVar10,puVar11,pwVar9,puVar20); + local_a8 = (uint *)piVar14; + FUN_14003d040(piVar14); + local_a0 = 1; + piVar13 = (int *)(puVar2 + -4); + *piVar13 = *piVar13 + -1; + if (*piVar13 == 0) { + FUN_14003e8b0(puVar1); + } + local_b0 = (undefined *)FUN_14003d0d0((longlong)piVar14); + } + return CONCAT71((int7)((ulonglong)local_b0 >> 8),1); + } + lVar19 = 2; + pwVar9 = local_98; + uVar7 = FUN_140074ee0(param_4,(undefined8 *)pwVar9,2); + if ((char)uVar7 != '\0') { + pwVar9 = local_res18; + pwVar17 = (wchar_t *)(ulonglong)param_3[10]; + cVar3 = (**(code **)(*(longlong *)param_1 + 0xb0))(param_1); + lVar19 = *(longlong *)param_1; + if (cVar3 == '\0') { + puVar10 = (uint *)(**(code **)(lVar19 + 0x58))(); + puVar11 = puVar10; + local_a8 = puVar10; + FUN_14003d040((int *)puVar10); + local_a0 = 1; + if (DAT_14017614f != '\0') { + pwVar9 = *(wchar_t **)param_1; + pwVar17 = L"Proud::CNetCoreImpl::ProcessMessage_Encrypted"; + puVar11 = param_1; + (**(code **)(pwVar9 + 100))(); + } + FUN_14003e7c0(puVar11,pwVar17,pwVar9,puVar20); + local_b8 = (uint *)PTR_DAT_14016f010; + FUN_140029b80((longlong *)&local_b8,L"GetExpectedDecryptCount failed!!",pwVar9,puVar20); + local_88 = 0; + local_80 = 0; + local_78 = 0; + local_70 = 0; + local_90 = Proud::ByteArray::vftable; + ppuVar21 = &local_b8; + plVar12 = FUN_140071c20(local_50,6,(ulonglong)param_3[10],(longlong *)ppuVar21, + (longlong)&local_90); + lVar19 = *(longlong *)param_1; + (**(code **)(lVar19 + 0x80))(param_1,plVar12); + FUN_140049e40(&local_90); + uVar8 = (ulonglong)uVar4; + FUN_140074bb0((int *)param_4,uVar8,lVar19,ppuVar21); + puVar11 = local_b8; + if (((local_b8 != (uint *)0x0) && (local_b8 != (uint *)PTR_DAT_14016f010)) && + (puVar20 = local_b8 + -2, puVar20 != (uint *)0x0)) { + piVar13 = (int *)FUN_14003e7c0(param_4,uVar8,lVar19,ppuVar21); + local_60 = (uint *)piVar13; + FUN_14003d040(piVar13); + local_58 = 1; + puVar11 = puVar11 + -1; + *puVar11 = *puVar11 - 1; + if (*puVar11 == 0) { + FUN_14003e8b0(puVar20); + } + FUN_14003d0d0((longlong)piVar13); + } + local_b8 = (uint *)PTR_DAT_14016f010; + FUN_14003d0d0((longlong)puVar10); + puVar2 = local_b0; + if (((local_b0 != (undefined *)0x0) && (local_b0 != PTR_DAT_14016f010)) && + (puVar1 = local_b0 + -8, puVar1 != (undefined *)0x0)) { + piVar14 = (int *)FUN_14003e7c0(puVar10,uVar8,lVar19,ppuVar21); + local_a8 = (uint *)piVar14; + FUN_14003d040(piVar14); + local_a0 = 1; + piVar13 = (int *)(puVar2 + -4); + *piVar13 = *piVar13 + -1; + if (*piVar13 == 0) { + FUN_14003e8b0(puVar1); + } + local_b0 = (undefined *)FUN_14003d0d0((longlong)piVar14); + } + } + else { + if (local_98[0] == local_res18[0]) { + puVar11 = (uint *)(ulonglong)param_3[10]; + (**(code **)(lVar19 + 0xb8))(); + puVar10 = param_1; + goto LAB_1400792e5; + } + puVar10 = (uint *)(**(code **)(lVar19 + 0x58))(); + puVar11 = puVar10; + local_a8 = puVar10; + FUN_14003d040((int *)puVar10); + local_a0 = 1; + if (DAT_14017614f != '\0') { + pwVar9 = *(wchar_t **)param_1; + pwVar17 = L"Proud::CNetCoreImpl::ProcessMessage_Encrypted"; + puVar11 = param_1; + (**(code **)(pwVar9 + 100))(); + } + FUN_14003e7c0(puVar11,pwVar17,pwVar9,puVar20); + local_b8 = (uint *)PTR_DAT_14016f010; + FUN_140029b80((longlong *)&local_b8,L"decryptCount1(%d) != decryptCount2(%d)", + (ulonglong)(ushort)local_98[0],(ulonglong)(ushort)local_res18[0]); + local_88 = 0; + local_80 = 0; + local_78 = 0; + local_70 = 0; + local_90 = Proud::ByteArray::vftable; + ppuVar21 = &local_b8; + plVar12 = FUN_140071c20(local_50,6,(ulonglong)param_3[10],(longlong *)ppuVar21, + (longlong)&local_90); + lVar19 = *(longlong *)param_1; + (**(code **)(lVar19 + 0x80))(param_1,plVar12); + FUN_140049e40(&local_90); + uVar8 = (ulonglong)uVar4; + FUN_140074bb0((int *)param_4,uVar8,lVar19,ppuVar21); + puVar11 = local_b8; + if (((local_b8 != (uint *)0x0) && (local_b8 != (uint *)PTR_DAT_14016f010)) && + (puVar20 = local_b8 + -2, puVar20 != (uint *)0x0)) { + piVar13 = (int *)FUN_14003e7c0(param_4,uVar8,lVar19,ppuVar21); + local_60 = (uint *)piVar13; + FUN_14003d040(piVar13); + local_58 = 1; + puVar11 = puVar11 + -1; + *puVar11 = *puVar11 - 1; + if (*puVar11 == 0) { + FUN_14003e8b0(puVar20); + } + FUN_14003d0d0((longlong)piVar13); + } + local_b8 = (uint *)PTR_DAT_14016f010; + FUN_14003d0d0((longlong)puVar10); + puVar2 = local_b0; + if (((local_b0 != (undefined *)0x0) && (local_b0 != PTR_DAT_14016f010)) && + (puVar1 = local_b0 + -8, puVar1 != (undefined *)0x0)) { + piVar14 = (int *)FUN_14003e7c0(puVar10,uVar8,lVar19,ppuVar21); + local_a8 = (uint *)piVar14; + FUN_14003d040(piVar14); + local_a0 = 1; + piVar13 = (int *)(puVar2 + -4); + *piVar13 = *piVar13 + -1; + if (*piVar13 == 0) { + FUN_14003e8b0(puVar1); + } + local_b0 = (undefined *)FUN_14003d0d0((longlong)piVar14); + } + } + goto LAB_14007943d; + } + puVar10 = (uint *)(**(code **)(*(longlong *)param_1 + 0x58))(); + puVar11 = puVar10; + local_60 = puVar10; + FUN_14003d040((int *)puVar10); + local_58 = 1; + if (DAT_14017614f != '\0') { + lVar19 = *(longlong *)param_1; + pwVar9 = L"Proud::CNetCoreImpl::ProcessMessage_Encrypted"; + puVar11 = param_1; + (**(code **)(lVar19 + 200))(); + } + FUN_14003e7c0(puVar11,pwVar9,lVar19,puVar20); + local_b8 = (uint *)PTR_DAT_14016f010; + uVar4 = FUN_14003e620(L"decryptCount1 read failed!!"); + uVar18 = 0; + uVar6 = 0; + uVar8 = 0; + if ((local_b8 != (uint *)0x0) && (uVar8 = 0, local_b8 != (uint *)PTR_DAT_14016f010)) { + uVar8 = (ulonglong)local_b8[-2]; + } + uVar5 = uVar4; + if ((((int)uVar4 <= (int)uVar8) && (uVar5 = uVar6, local_b8 != (uint *)0x0)) && + (local_b8 != (uint *)PTR_DAT_14016f010)) { + uVar5 = local_b8[-2]; + } + uVar23 = 1; + if (1 < (int)uVar5) { + uVar23 = uVar5; + } + uVar5 = uVar6; + if ((local_b8 != (uint *)0x0) && (local_b8 != (uint *)PTR_DAT_14016f010)) { + uVar5 = local_b8[-2]; + } + if ((int)uVar5 < (int)uVar23) { + if (local_b8 == (uint *)0x0) { + local_b8 = (uint *)PTR_DAT_14016f010; + } + if ((int)uVar23 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar23 == 0) { + FUN_140002190((longlong *)&local_b8,PTR_DAT_14016f010,uVar8,puVar20); + } + else { + uVar5 = uVar6; + if ((local_b8 != (uint *)0x0) && (local_b8 != (uint *)PTR_DAT_14016f010)) { + uVar5 = local_b8[-2]; + } + if (uVar23 != uVar5) { + puVar11 = (uint *)FUN_14003e840((longlong)(int)uVar23 * 2 + 10); + if (puVar11 != (uint *)0x0) { + *puVar11 = 0; + puVar11[1] = 1; + } + *puVar11 = uVar23; + uVar5 = uVar6; + if ((local_b8 != (uint *)0x0) && (local_b8 != (uint *)PTR_DAT_14016f010)) { + uVar5 = local_b8[-2]; + } + puVar16 = (uint *)PTR_DAT_14016f010; + if ((int)uVar23 < (int)uVar5) { +LAB_140078e15: + if (local_b8 != (uint *)0x0) { + puVar16 = local_b8; + } + } + else { + uVar23 = uVar6; + if (local_b8 != (uint *)0x0) { + if (local_b8 != (uint *)PTR_DAT_14016f010) { + uVar23 = local_b8[-2]; + } + goto LAB_140078e15; + } + } + uVar8 = (ulonglong)uVar23; + FUN_14003e650(puVar11 + 2,puVar16,uVar23); + FUN_140002190((longlong *)&local_b8,puVar16,uVar8,puVar20); + local_b8 = puVar11 + 2; + } + } + } + FUN_140001df0((longlong *)&local_b8); + puVar11 = local_b8; + if (local_b8 == (uint *)0x0) { + puVar11 = (uint *)PTR_DAT_14016f010; + } + FUN_14003e650(puVar11,L"decryptCount1 read failed!!",uVar4); + puVar11 = local_b8; + if (local_b8 == (uint *)0x0) { + puVar11 = (uint *)PTR_DAT_14016f010; + } + uVar6 = FUN_14003e620((short *)puVar11); + uVar4 = uVar18; + if (0 < (int)uVar6) { + uVar4 = uVar6; + } + uVar6 = uVar18; + if ((local_b8 != (uint *)0x0) && (local_b8 != (uint *)PTR_DAT_14016f010)) { + uVar6 = local_b8[-2]; + } + if (((int)uVar4 < (int)uVar6) || (uVar4 = uVar18, local_b8 == (uint *)0x0)) { +LAB_140078ea8: + if (((local_b8 != (uint *)PTR_DAT_14016f010) && (local_b8 != (uint *)0x0)) && + (local_b8 + -2 != (uint *)0x0)) { + local_b8[-2] = uVar4; + *(undefined2 *)((longlong)local_b8 + (longlong)(int)uVar4 * 2) = 0; + } + } + else if (local_b8 != (uint *)PTR_DAT_14016f010) { + uVar4 = local_b8[-2]; + goto LAB_140078ea8; + } + local_88 = 0; + local_80 = 0; + local_78 = 0; + local_70 = 0; + local_90 = Proud::ByteArray::vftable; + ppuVar21 = &local_b8; + plVar12 = FUN_140071c20(local_50,6,(ulonglong)param_3[10],(longlong *)ppuVar21, + (longlong)&local_90); + lVar19 = *(longlong *)param_1; + (**(code **)(lVar19 + 0x80))(param_1); + pppuVar15 = &local_90; + FUN_140049e40(pppuVar15); + puVar11 = local_b8; + if (((local_b8 != (uint *)0x0) && (local_b8 != (uint *)PTR_DAT_14016f010)) && + (puVar20 = local_b8 + -2, puVar20 != (uint *)0x0)) { + piVar13 = (int *)FUN_14003e7c0(pppuVar15,plVar12,lVar19,ppuVar21); + local_a8 = (uint *)piVar13; + FUN_14003d040(piVar13); + local_a0 = 1; + puVar11 = puVar11 + -1; + *puVar11 = *puVar11 - 1; + if (*puVar11 == 0) { + FUN_14003e8b0(puVar20); + } + FUN_14003d0d0((longlong)piVar13); + } + uVar8 = (ulonglong)local_68; + FUN_140074bb0((int *)local_res20,uVar8,lVar19,ppuVar21); + FUN_14003d0d0((longlong)puVar10); + puVar2 = local_b0; + if (((local_b0 != (undefined *)0x0) && (local_b0 != PTR_DAT_14016f010)) && + (puVar1 = local_b0 + -8, puVar1 != (undefined *)0x0)) { + piVar14 = (int *)FUN_14003e7c0(puVar10,uVar8,lVar19,ppuVar21); + local_a8 = (uint *)piVar14; + FUN_14003d040(piVar14); + local_a0 = 1; + piVar13 = (int *)(puVar2 + -4); + *piVar13 = *piVar13 + -1; + if (*piVar13 == 0) { + FUN_14003e8b0(puVar1); + } + local_b0 = (undefined *)FUN_14003d0d0((longlong)piVar14); + } + goto LAB_14007943d; + } + } + local_b0 = (undefined *)FUN_140074bb0((int *)param_3,(ulonglong)uVar4,puVar11,puVar20); +LAB_14007943d: + return (ulonglong)local_b0 & 0xffffffffffffff00; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140079460.c b/decomp/AgentManager_Release_x64/full/functions/0x140079460.c new file mode 100644 index 00000000..a9e68a62 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140079460.c @@ -0,0 +1,404 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140079460 FUN_140079460 + * Pseudocode, not original source. */ + +/* WARNING: Function: __chkstk replaced with injection: alloca_probe */ +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +ulonglong FUN_140079460(longlong *param_1,longlong *param_2,int *param_3,uint *param_4,uint param_5) + +{ + short *psVar1; + int iVar2; + uint uVar3; + uint uVar4; + ulonglong uVar5; + uint *puVar6; + longlong *plVar7; + undefined ***pppuVar8; + ulonglong uVar9; + undefined8 *puVar10; + ulonglong uVar11; + short **ppsVar12; + undefined4 *puVar13; + wchar_t *pwVar14; + uint *puVar15; + undefined1 *puVar16; + undefined8 uVar17; + longlong lVar18; + uint uVar19; + ulonglong uVar20; + SIZE_T SVar21; + int *piVar22; + ulonglong uVar23; + uint **ppuVar24; + short *psVar25; + undefined1 auStackY_1b18 [32]; + uint *local_1ae8; + longlong *local_1ae0; + uint local_1ad8 [2]; + int local_1ad0 [2]; + longlong local_1ac8; + ulonglong local_1ac0; + int local_1ab8; + int local_1ab4; + undefined8 local_1aa8; + longlong local_1aa0; + ulonglong local_1a98; + uint local_1a90; + int local_1a8c; + uint *local_1a80; + int *local_1a78; + short *local_1a70; + undefined ***local_1a68; + undefined1 local_1a60; + undefined **local_1a58; + undefined8 local_1a50; + undefined8 local_1a48; + undefined8 local_1a40; + undefined8 local_1a38; + undefined8 local_1a30; + undefined4 local_1a28 [2]; + longlong local_1a20; + longlong local_1a18; + undefined4 local_1a10; + int local_1a0c; + undefined1 local_1a00 [136]; + longlong local_1978 [400]; + longlong *local_cf8; + undefined4 local_cf0; + undefined4 local_cec; + undefined1 local_ce8 [3216]; + ulonglong local_58; + undefined8 uStack_48; + + uStack_48 = 0x14007947f; + local_1a30 = 0xfffffffffffffffe; + local_58 = DAT_14016f5a0 ^ (ulonglong)auStackY_1b18; + local_1a80 = param_4; + local_1a78 = param_3; + if ((param_3[10] == 0) || + (plVar7 = param_2, puVar6 = param_4, + iVar2 = FUN_140096ef0((longlong)param_2,param_2,param_3,param_4), iVar2 < 0x33)) + goto LAB_140079b16; + FUN_140074fb0((undefined4 *)&local_1aa8); + FUN_140074a40((longlong)&local_1aa8,plVar7,(SIZE_T)param_3,puVar6); + puVar10 = &local_1aa8; + plVar7 = param_2; + FUN_140075390(puVar10,(longlong)param_2,(SIZE_T)param_3,(longlong)puVar6); + if (local_1aa0 == 0) { + uVar3 = local_1a90; + if (local_1a98 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(puVar10,plVar7,param_3,puVar6); + } + } + else { + uVar3 = *(uint *)(local_1aa0 + 0x18); + } + FUN_140074fb0(local_1ad0); + FUN_140074a40((longlong)local_1ad0,plVar7,(SIZE_T)param_3,puVar6); + uVar5 = (ulonglong)uVar3; + FUN_140075110(local_1ad0,uVar5,(SIZE_T)param_3,puVar6); + uVar11 = (ulonglong)uVar3; + local_1ad8[0] = FUN_140098b60(uVar3); + uVar9 = 0; + uVar20 = local_1a98; + if (local_1a98 == 0) { + if (local_1aa0 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(uVar11,uVar5,0,puVar6); + } + uVar20 = uVar9; + if (*(int *)(local_1aa0 + 0x18) != 0) { + uVar20 = *(ulonglong *)(local_1aa0 + 0x10); + } + } + uVar11 = local_1ac0; + if (local_1ac0 == 0) { + if (local_1ac8 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,uVar5,uVar20,puVar6); + } + uVar11 = uVar9; + if (*(int *)(local_1ac8 + 0x18) != 0) { + uVar11 = *(ulonglong *)(local_1ac8 + 0x10); + } + } + uVar23 = (ulonglong)uVar3; + puVar6 = local_1ad8; + uVar5 = FUN_1400989d0(uVar11,puVar6,uVar20,uVar3); + if ((int)uVar5 == 0) { + uVar3 = FUN_140096ef0((longlong)param_2,puVar6,uVar20,uVar23); + if (local_1ad8[0] + 9 < uVar3) { + FUN_140075110(local_1ad0,(ulonglong)local_1ad8[0],uVar20,uVar23); + FUN_140074fb0(local_1a28); + SVar21 = 0x80; + puVar16 = local_1a00; + FUN_140074c30((longlong)local_1a28,(longlong)puVar16,0x80,uVar23); + uVar17 = CONCAT71((int7)((ulonglong)puVar16 >> 8),0x26); + puVar13 = local_1a28; + FUN_140029d80((longlong)puVar13,uVar17,SVar21,uVar23); + if (local_1ac8 == 0) { + iVar2 = local_1ab8; + if (local_1ac0 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(puVar13,uVar17,SVar21,uVar23); + } + } + else { + iVar2 = *(int *)(local_1ac8 + 0x18); + } + lVar18 = (longlong)iVar2; + FUN_140076380((longlong)local_1a28,lVar18,SVar21,uVar23); + iVar2 = FUN_140096ef0((longlong)param_2,lVar18,SVar21,uVar23); + FUN_140076380((longlong)local_1a28,(longlong)iVar2,SVar21,uVar23); + local_cec = 200; + local_cf0 = 0; + local_cf8 = local_1978; + FUN_14004ec50((longlong)local_ce8,(longlong)local_1a28,SVar21); + puVar16 = local_ce8; + FUN_14004dc30((longlong)local_1978,(longlong)puVar16,SVar21,uVar23); + FUN_14004db20((longlong)local_ce8,puVar16,SVar21,uVar23); + FUN_14004ec50((longlong)local_ce8,(longlong)local_1ad0,SVar21); + puVar16 = local_ce8; + FUN_14004dc30((longlong)local_1978,(longlong)puVar16,SVar21,uVar23); + FUN_14004db20((longlong)local_ce8,puVar16,SVar21,uVar23); + plVar7 = local_1978; + piVar22 = local_1a78; + uVar9 = FUN_140077cd0(param_1,plVar7,local_1a78,(int *)param_4,param_5); + FUN_14004db20((longlong)local_1978,plVar7,piVar22,param_4); + local_1ae0 = &local_1a20; + FUN_14008a320(&local_1a20); + if (local_1a18 != 0) { + if (local_1a0c < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_1a10 = 0; + } + local_1ae0 = &local_1ac8; + FUN_14008a320(&local_1ac8); + if (local_1ac0 != 0) { + if (local_1ab4 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_1ab8 = 0; + } + local_1ae0 = &local_1aa0; + FUN_14008a320(&local_1aa0); + if ((local_1a98 != 0) && (local_1a8c < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar9 & 0xff; + } + local_1ae0 = &local_1ac8; + FUN_14008a320(&local_1ac8); + if (local_1ac0 != 0) { + if (local_1ab4 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_1ab8 = 0; + } + local_1ae0 = &local_1aa0; + FUN_14008a320(&local_1aa0); + if ((local_1a98 != 0) && (local_1a8c < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + goto LAB_140079b16; + } + FUN_14003e7c0(uVar11,puVar6,uVar20,uVar23); + local_1a70 = (short *)PTR_DAT_14016f010; + uVar5 = uVar5 & 0xffffffff; + pwVar14 = L"Packet compression failed! Error code=%d"; + ppsVar12 = &local_1a70; + FUN_140029b80((longlong *)ppsVar12,L"Packet compression failed! Error code=%d",uVar5,uVar23); + psVar1 = local_1a70; + psVar25 = local_1a70; + if (local_1a70 == (short *)0x0) { + psVar25 = (short *)PTR_DAT_14016f010; + } + FUN_14003e7c0(ppsVar12,pwVar14,uVar5,uVar23); + local_1ae8 = (uint *)PTR_DAT_14016f010; + uVar3 = FUN_14003e620(psVar25); + if ((local_1ae8 != (uint *)0x0) && (uVar9 = 0, local_1ae8 != (uint *)PTR_DAT_14016f010)) { + uVar9 = (ulonglong)local_1ae8[-2]; + } + uVar4 = uVar3; + if ((((int)uVar3 <= (int)uVar9) && (uVar4 = 0, local_1ae8 != (uint *)0x0)) && + (local_1ae8 != (uint *)PTR_DAT_14016f010)) { + uVar4 = local_1ae8[-2]; + } + uVar19 = 1; + if (1 < (int)uVar4) { + uVar19 = uVar4; + } + if (local_1ae8 == (uint *)0x0) { + uVar4 = 0; + } + else if (local_1ae8 == (uint *)PTR_DAT_14016f010) { + uVar4 = 0; + } + else { + uVar4 = local_1ae8[-2]; + } + if ((int)uVar4 < (int)uVar19) { + if (local_1ae8 == (uint *)0x0) { + local_1ae8 = (uint *)PTR_DAT_14016f010; + } + if ((int)uVar19 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar19 == 0) { + FUN_140002190((longlong *)&local_1ae8,PTR_DAT_14016f010,uVar9,uVar23); + } + else { + if (local_1ae8 == (uint *)0x0) { + uVar4 = 0; + } + else if (local_1ae8 == (uint *)PTR_DAT_14016f010) { + uVar4 = 0; + } + else { + uVar4 = local_1ae8[-2]; + } + if (uVar19 != uVar4) { + puVar6 = (uint *)FUN_14003e840((longlong)(int)uVar19 * 2 + 10); + if (puVar6 != (uint *)0x0) { + *puVar6 = 0; + puVar6[1] = 1; + } + *puVar6 = uVar19; + if (local_1ae8 == (uint *)0x0) { + uVar4 = 0; + } + else if (local_1ae8 == (uint *)PTR_DAT_14016f010) { + uVar4 = 0; + } + else { + uVar4 = local_1ae8[-2]; + } + puVar15 = (uint *)PTR_DAT_14016f010; + if ((int)uVar19 < (int)uVar4) { +LAB_1400796e5: + if (local_1ae8 != (uint *)0x0) { + puVar15 = local_1ae8; + } + } + else { + if (local_1ae8 != (uint *)0x0) { + if (local_1ae8 == (uint *)PTR_DAT_14016f010) { + uVar19 = 0; + } + else { + uVar19 = local_1ae8[-2]; + } + goto LAB_1400796e5; + } + uVar19 = 0; + } + uVar9 = (ulonglong)uVar19; + FUN_14003e650(puVar6 + 2,puVar15,uVar19); + FUN_140002190((longlong *)&local_1ae8,puVar15,uVar9,uVar23); + param_4 = local_1a80; + local_1ae8 = puVar6 + 2; + } + } + } + FUN_140001df0((longlong *)&local_1ae8); + puVar6 = local_1ae8; + if (local_1ae8 == (uint *)0x0) { + puVar6 = (uint *)PTR_DAT_14016f010; + } + FUN_14003e650(puVar6,psVar25,uVar3); + puVar6 = local_1ae8; + if (local_1ae8 == (uint *)0x0) { + puVar6 = (uint *)PTR_DAT_14016f010; + } + uVar4 = FUN_14003e620((short *)puVar6); + uVar19 = 0; + uVar3 = 0; + if (0 < (int)uVar4) { + uVar3 = uVar4; + } + uVar4 = uVar19; + if ((local_1ae8 != (uint *)0x0) && (local_1ae8 != (uint *)PTR_DAT_14016f010)) { + uVar4 = local_1ae8[-2]; + } + if (((int)uVar3 < (int)uVar4) || (uVar3 = uVar19, local_1ae8 == (uint *)0x0)) { +LAB_140079780: + if (((local_1ae8 != (uint *)PTR_DAT_14016f010) && (local_1ae8 != (uint *)0x0)) && + (local_1ae8 + -2 != (uint *)0x0)) { + local_1ae8[-2] = uVar3; + *(undefined2 *)((longlong)local_1ae8 + (longlong)(int)uVar3 * 2) = 0; + } + } + else if (local_1ae8 != (uint *)PTR_DAT_14016f010) { + uVar3 = local_1ae8[-2]; + goto LAB_140079780; + } + local_1a50 = 0; + local_1a48 = 0; + local_1a40 = 0; + local_1a38 = 0; + local_1a58 = Proud::ByteArray::vftable; + ppuVar24 = &local_1ae8; + plVar7 = FUN_140071c20((longlong *)&local_1ae0,0x27,(ulonglong)*param_4,(longlong *)ppuVar24, + (longlong)&local_1a58); + lVar18 = *param_1; + (**(code **)(lVar18 + 0x80))(param_1); + pppuVar8 = &local_1a58; + FUN_140049e40(pppuVar8); + puVar6 = local_1ae8; + if (((local_1ae8 != (uint *)0x0) && (local_1ae8 != (uint *)PTR_DAT_14016f010)) && + (puVar15 = local_1ae8 + -2, puVar15 != (uint *)0x0)) { + pppuVar8 = (undefined ***)FUN_14003e7c0(pppuVar8,plVar7,lVar18,ppuVar24); + local_1a68 = pppuVar8; + FUN_14003d040((int *)pppuVar8); + local_1a60 = 1; + puVar6 = puVar6 + -1; + *puVar6 = *puVar6 - 1; + if (*puVar6 == 0) { + FUN_14003e8b0(puVar15); + } + FUN_14003d0d0((longlong)pppuVar8); + } + if (((psVar1 != (short *)0x0) && (psVar1 != (short *)PTR_DAT_14016f010)) && + (psVar1 + -4 != (short *)0x0)) { + pppuVar8 = (undefined ***)FUN_14003e7c0(pppuVar8,plVar7,lVar18,ppuVar24); + local_1a68 = pppuVar8; + FUN_14003d040((int *)pppuVar8); + local_1a60 = 1; + piVar22 = (int *)(psVar1 + -2); + *piVar22 = *piVar22 + -1; + if (*piVar22 == 0) { + FUN_14003e8b0(psVar1 + -4); + } + FUN_14003d0d0((longlong)pppuVar8); + } + local_1ae0 = &local_1ac8; + FUN_14008a320(&local_1ac8); + if (local_1ac0 != 0) { + if (local_1ab4 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_1ab8 = 0; + } + local_1ae0 = &local_1aa0; + FUN_14008a320(&local_1aa0); + param_4 = local_1a80; + if ((local_1a98 != 0) && (local_1a8c < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } +LAB_140079b16: + uVar9 = FUN_140077cd0(param_1,param_2,local_1a78,(int *)param_4,param_5); + return uVar9; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140079b60.c b/decomp/AgentManager_Release_x64/full/functions/0x140079b60.c new file mode 100644 index 00000000..4b9c7918 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140079b60.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140079b60 FUN_140079b60 + * Pseudocode, not original source. */ + +undefined8 * FUN_140079b60(undefined8 *param_1) + +{ + *(undefined2 *)(param_1 + 1) = 0; + param_1[2] = 0; + *param_1 = Proud::IRmiStub::vftable; + *(undefined2 *)(param_1 + 3) = 0; + *(undefined1 *)((longlong)param_1 + 0x1a) = 0; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140079b90.c b/decomp/AgentManager_Release_x64/full/functions/0x140079b90.c new file mode 100644 index 00000000..3748d389 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140079b90.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140079b90 FUN_140079b90 + * Pseudocode, not original source. */ + +void FUN_140079b90(undefined8 *param_1) + +{ + *param_1 = Proud::IRmiStub::vftable; + if (param_1[2] != 0) { + FUN_14003e110( + L"RMI Stub which is still in use by ProudNet core cannot be destroyed! Destroy CNetClient or CNetServer instance first." + ); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140079bc0.c b/decomp/AgentManager_Release_x64/full/functions/0x140079bc0.c new file mode 100644 index 00000000..1e579e22 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140079bc0.c @@ -0,0 +1,19 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140079bc0 FUN_140079bc0 + * Pseudocode, not original source. */ + +undefined8 * FUN_140079bc0(undefined8 *param_1,uint param_2) + +{ + *param_1 = Proud::IRmiStub::vftable; + if (param_1[2] != 0) { + FUN_14003e110( + L"RMI Stub which is still in use by ProudNet core cannot be destroyed! Destroy CNetClient or CNetServer instance first." + ); + } + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140079c10.c b/decomp/AgentManager_Release_x64/full/functions/0x140079c10.c new file mode 100644 index 00000000..c19bfdd5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140079c10.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140079c10 FUN_140079c10 + * Pseudocode, not original source. */ + +void FUN_140079c10(void) + +{ + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140079c20.c b/decomp/AgentManager_Release_x64/full/functions/0x140079c20.c new file mode 100644 index 00000000..620a9ad2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140079c20.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140079c20 FUN_140079c20 + * Pseudocode, not original source. */ + +undefined8 * FUN_140079c20(undefined8 *param_1) + +{ + *param_1 = Proud::CTestUdpConnReset::vftable; + param_1[1] = 0; + memset(param_1 + 2,0,100); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140079c60.c b/decomp/AgentManager_Release_x64/full/functions/0x140079c60.c new file mode 100644 index 00000000..6ebddc42 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140079c60.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140079c60 FUN_140079c60 + * Pseudocode, not original source. */ + +void FUN_140079c60(undefined8 *param_1,undefined8 param_2,longlong *param_3,undefined8 param_4) + +{ + undefined8 *puVar1; + longlong *plVar2; + longlong lVar3; + + *param_1 = Proud::CTestUdpConnReset::vftable; + if (param_1[1] != 0) { + lVar3 = *(longlong *)(param_1[1] + 8) + -1; + *(longlong *)(param_1[1] + 8) = lVar3; + if (*(longlong *)(param_1[1] + 8) == 0) { + puVar1 = (undefined8 *)param_1[1]; + plVar2 = (longlong *)*puVar1; + if (plVar2 != (longlong *)0x0) { + FUN_140043e60(plVar2,lVar3,param_3,param_4); + FUN_14003e8b0(plVar2); + } + FUN_14003e8b0(puVar1); + } + } + *param_1 = Proud::IFastSocketDelegate::vftable; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140079cf0.c b/decomp/AgentManager_Release_x64/full/functions/0x140079cf0.c new file mode 100644 index 00000000..3b0d3778 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140079cf0.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140079cf0 FUN_140079cf0 + * Pseudocode, not original source. */ + +undefined8 * +FUN_140079cf0(undefined8 *param_1,ulonglong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_140079c60(param_1,param_2,param_3,param_4); + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140079d20.c b/decomp/AgentManager_Release_x64/full/functions/0x140079d20.c new file mode 100644 index 00000000..7fb5306c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140079d20.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140079d20 FUN_140079d20 + * Pseudocode, not original source. */ + +void FUN_140079d20(undefined8 *param_1,undefined8 param_2,longlong *param_3,undefined8 param_4) + +{ + longlong *plVar1; + + plVar1 = (longlong *)*param_1; + if (plVar1 != (longlong *)0x0) { + FUN_140043e60(plVar1,param_2,param_3,param_4); + FUN_14003e8b0(plVar1); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140079d50.c b/decomp/AgentManager_Release_x64/full/functions/0x140079d50.c new file mode 100644 index 00000000..7b69c63f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140079d50.c @@ -0,0 +1,52 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140079d50 FUN_140079d50 + * Pseudocode, not original source. */ + +void FUN_140079d50(longlong *param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong *plVar1; + longlong lVar2; + exception local_58 [88]; + + if ((longlong *)param_2[2] != param_1) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_CListNode_reports_a_consistency_p_14016f4a0, + L"Proud::CListNode::CListOwner::Erase",param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + plVar1 = (longlong *)param_2[1]; + lVar2 = *param_2; + if (plVar1 != (longlong *)0x0) { + *plVar1 = lVar2; + } + if (lVar2 != 0) { + *(longlong **)(lVar2 + 8) = plVar1; + } + if (plVar1 == (longlong *)0x0) { + if ((longlong *)param_1[1] != param_2) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_CListNode_reports_a_consistency_p_14016f4a0, + L"Proud::CListNode::CListOwner::Erase",param_4 + ); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + param_1[1] = lVar2; + } + if (lVar2 == 0) { + if ((longlong *)*param_1 != param_2) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_CListNode_reports_a_consistency_p_14016f4a0, + L"Proud::CListNode::CListOwner::Erase",param_4 + ); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + *param_1 = (longlong)plVar1; + } + *param_2 = 0; + param_2[1] = 0; + param_2[2] = 0; + *(int *)(param_1 + 2) = (int)param_1[2] + -1; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140079e30.c b/decomp/AgentManager_Release_x64/full/functions/0x140079e30.c new file mode 100644 index 00000000..e8667ecd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140079e30.c @@ -0,0 +1,49 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140079e30 FUN_140079e30 + * Pseudocode, not original source. */ + +int FUN_140079e30(longlong param_1,int param_2) + +{ + int iVar1; + int iVar2; + + iVar2 = *(int *)(param_1 + 0x24); + if (iVar2 == 0) { + iVar1 = (int)(*(int *)(param_1 + 0x18) + (*(int *)(param_1 + 0x18) >> 0x1f & 7U)) >> 3; + iVar2 = 0x400; + if (iVar1 < 0x400) { + iVar2 = iVar1; + } + iVar1 = 4; + if (4 < iVar2) { + iVar1 = iVar2; + } + iVar2 = iVar1 + param_2; + if (iVar1 + param_2 < *(int *)(param_1 + 0x20)) { + iVar2 = *(int *)(param_1 + 0x20); + } + return iVar2; + } + if (iVar2 == 1) { + iVar1 = (int)(*(int *)(param_1 + 0x18) + (*(int *)(param_1 + 0x18) >> 0x1f & 7U)) >> 3; + iVar2 = 0x10; + if (0x10 < iVar1) { + iVar2 = iVar1; + } + iVar1 = iVar2 + param_2; + if (iVar2 + param_2 < *(int *)(param_1 + 0x20)) { + iVar1 = *(int *)(param_1 + 0x20); + } + return iVar1; + } + if (iVar2 == 2) { + if (param_2 < *(int *)(param_1 + 0x20)) { + param_2 = *(int *)(param_1 + 0x20); + } + return param_2; + } + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140079ed0.c b/decomp/AgentManager_Release_x64/full/functions/0x140079ed0.c new file mode 100644 index 00000000..7f7419b1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140079ed0.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140079ed0 FUN_140079ed0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +undefined8 FUN_140079ed0(uint *param_1,undefined4 *param_2) + +{ + undefined8 uVar1; + undefined1 auStack_48 [32]; + undefined4 local_28; + undefined4 local_24; + undefined4 local_20; + undefined4 local_1c; + ulonglong local_18; + + local_18 = DAT_14016f5a0 ^ (ulonglong)auStack_48; + local_28 = 0; + local_24 = 0; + local_20 = 0; + local_1c = 0; + uVar1 = FUN_140074ee0(param_1,(undefined8 *)&local_28,0x10); + if ((char)uVar1 == '\0') { + return uVar1; + } + *param_2 = local_28; + param_2[1] = local_24; + param_2[2] = local_20; + param_2[3] = local_1c; + return CONCAT71((uint7)(uint3)((uint)local_1c >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140079f70.c b/decomp/AgentManager_Release_x64/full/functions/0x140079f70.c new file mode 100644 index 00000000..0631763c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140079f70.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140079f70 FUN_140079f70 + * Pseudocode, not original source. */ + +void FUN_140079f70(longlong param_1,longlong param_2) + +{ + undefined2 *puVar1; + int iVar2; + + iVar2 = 0; + if (0 < param_2) { + puVar1 = (undefined2 *)(param_1 + 0x34); + do { + if ((undefined8 *)(puVar1 + -0x1a) != (undefined8 *)0x0) { + *(undefined ***)(puVar1 + -6) = Proud::AddrPort::vftable; + *(undefined4 *)(puVar1 + -2) = 0; + *puVar1 = 0; + *(undefined8 *)(puVar1 + -0x1a) = 0; + *(undefined8 *)(puVar1 + -0xe) = 0; + *(undefined8 *)(puVar1 + -0x16) = 0; + *(undefined4 *)(puVar1 + -0x12) = 5; + *(undefined4 *)(puVar1 + -10) = 0; + *(undefined4 *)(puVar1 + -2) = DAT_14016f3d0; + *puVar1 = DAT_14016f3d4; + } + iVar2 = iVar2 + 1; + puVar1 = puVar1 + 0x1c; + } while (iVar2 < param_2); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140079fe0.c b/decomp/AgentManager_Release_x64/full/functions/0x140079fe0.c new file mode 100644 index 00000000..59c8f8eb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140079fe0.c @@ -0,0 +1,59 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140079fe0 FUN_140079fe0 + * Pseudocode, not original source. */ + +void FUN_140079fe0(longlong param_1,wchar_t *param_2,SIZE_T *param_3,TypeDescriptor *param_4) + +{ + int *piVar1; + double dVar2; + + FUN_14009a980((double *)(param_1 + 0x188),*(double *)(*(longlong *)(param_1 + 0x148) + 0x1c0)); + if (*(char *)(param_1 + 0x198) == '\x01') { + FUN_140058840(*(longlong **)(param_1 + 0x148),param_2,param_3,param_4); + } + FUN_14009a980((double *)(param_1 + 0x1a0),*(double *)(*(longlong *)(param_1 + 0x148) + 0x1c0)); + if (*(char *)(param_1 + 0x1b0) == '\x01') { + FUN_14006a340(*(longlong **)(param_1 + 0x148),param_2,param_3,(longlong)param_4); + } + FUN_14009a980((double *)(param_1 + 0x1b8),*(double *)(*(longlong *)(param_1 + 0x148) + 0x1c0)); + if (*(char *)(param_1 + 0x1c8) == '\x01') { + FUN_1400709a0(*(SIZE_T **)(param_1 + 0x148)); + } + FUN_14009a980((double *)(param_1 + 0x1d0),*(double *)(*(longlong *)(param_1 + 0x148) + 0x1c0)); + if (*(char *)(param_1 + 0x1e0) == '\x01') { + FUN_14005a280(*(longlong **)(param_1 + 0x148),param_2,(longlong)param_3,param_4); + } + FUN_14009a980((double *)(param_1 + 0xa0),*(double *)(*(longlong *)(param_1 + 0x148) + 0x1c0)); + if (*(char *)(param_1 + 0xb0) == '\x01') { + FUN_14004f490(*(SIZE_T **)(param_1 + 0x148),param_2,(SIZE_T)param_3,(undefined *)param_4); + } + FUN_14009a980((double *)(param_1 + 0xb8),*(double *)(*(longlong *)(param_1 + 0x148) + 0x1c0)); + if (*(char *)(param_1 + 200) == '\x01') { + FUN_140071220(*(undefined ****)(param_1 + 0x148),param_2,(undefined *)param_3,param_4); + } + FUN_14009a980((double *)(param_1 + 0x248),*(double *)(*(longlong *)(param_1 + 0x148) + 0x1c0)); + if (*(char *)(param_1 + 600) == '\x01') { + piVar1 = (int *)(**(code **)(**(longlong **)(param_1 + 0x148) + 0x58))(); + FUN_14003d040(piVar1); + if (DAT_14017614f != '\0') { + param_3 = (SIZE_T *)**(longlong **)(param_1 + 0x148); + param_2 = L"Proud::CNetThreads_S::Heartbeat_One"; + (*(code *)param_3[0x19])(); + } + dVar2 = (double)(**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x148) + 0x118) + 8))(); + FUN_1400624e0(*(longlong *)(param_1 + 0x148) + 0x2d8,dVar2); + FUN_14003d0d0((longlong)piVar1); + } + if (*(int *)(*(longlong *)(param_1 + 0x148) + 600) != 0) { + FUN_14009a980((double *)(param_1 + 0x1e8),*(double *)(*(longlong *)(param_1 + 0x148) + 0x1c0)); + if (*(char *)(param_1 + 0x1f8) == '\x01') { + LOCK(); + *(undefined4 *)(param_1 + 0x200) = 1; + UNLOCK(); + } + } + FUN_14005c7c0(*(longlong *)(param_1 + 0x148),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14007a200.c b/decomp/AgentManager_Release_x64/full/functions/0x14007a200.c new file mode 100644 index 00000000..8b363563 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14007a200.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14007a200 FUN_14007a200 + * Pseudocode, not original source. */ + +void FUN_14007a200(longlong param_1,longlong param_2,longlong param_3,undefined8 param_4) + +{ + longlong lVar1; + longlong lVar2; + longlong lVar3; + longlong local_res10; + + if (param_3 == 0) { + lVar2 = 0; + } + else { + lVar2 = param_3 + 0x40; + } + lVar3 = param_3; + FUN_140091260(&local_res10,lVar2); + FUN_14003d040((int *)(param_3 + 0xa8)); + if ((*(longlong **)(param_3 + 0x150) != (longlong *)0x0) && + (lVar1 = **(longlong **)(param_3 + 0x150), lVar1 != 0)) { + FUN_140045510(lVar1); + } + if (0 < *(int *)(param_2 + 8)) { + *(longlong *)(*(longlong *)(param_1 + 0x148) + 0x6c0) = + *(longlong *)(*(longlong *)(param_1 + 0x148) + 0x6c0) + 1; + *(longlong *)(*(longlong *)(param_1 + 0x148) + 0x680) = + *(longlong *)(*(longlong *)(param_1 + 0x148) + 0x680) + (longlong)*(int *)(param_2 + 8); + } + *(undefined1 *)(param_3 + 0x100) = 0; + FUN_140091430(param_3,lVar2,lVar3,param_4); + FUN_14003d0d0(param_3 + 0xa8); + FUN_140091270(&local_res10); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14007a300.c b/decomp/AgentManager_Release_x64/full/functions/0x14007a300.c new file mode 100644 index 00000000..eca7e06a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14007a300.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14007a300 FUN_14007a300 + * Pseudocode, not original source. */ + +void FUN_14007a300(longlong param_1,undefined8 param_2,wchar_t *param_3,undefined8 param_4) + +{ + int *piVar1; + + FUN_140079c10(); + piVar1 = (int *)(**(code **)(**(longlong **)(param_1 + 0x148) + 0x58))(); + FUN_14003d040(piVar1); + if (DAT_14017614f != '\0') { + (**(code **)(**(longlong **)(param_1 + 0x148) + 200)) + (*(longlong **)(param_1 + 0x148), + L"Proud::CNetThreads_S::NetWorkerThread_ProcessMessage_SpeedHackDetectorPing"); + } + FUN_14008a5a0(param_3); + FUN_14003d0d0((longlong)piVar1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14007a390.c b/decomp/AgentManager_Release_x64/full/functions/0x14007a390.c new file mode 100644 index 00000000..9809b7bc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14007a390.c @@ -0,0 +1,62 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14007a390 FUN_14007a390 + * Pseudocode, not original source. */ + +void FUN_14007a390(longlong param_1,uint *param_2,longlong param_3,undefined8 param_4) + +{ + int *piVar1; + undefined8 uVar2; + int *piVar3; + longlong lVar4; + longlong lVar5; + longlong lVar6; + undefined8 local_res18; + longlong local_res20; + undefined **local_50; + undefined4 local_48; + undefined2 local_44; + int *local_40; + undefined1 local_38; + int *local_30; + undefined1 local_28; + + if ((param_3 != 0) && (uVar2 = FUN_140074ee0(param_2,&local_res18,8), (char)uVar2 != '\0')) { + piVar3 = (int *)(**(code **)(**(longlong **)(param_1 + 0x148) + 0x58))(); + local_40 = piVar3; + FUN_14003d040(piVar3); + local_38 = 1; + if (DAT_14017614f != '\0') { + (**(code **)(**(longlong **)(param_1 + 0x148) + 200)) + (*(longlong **)(param_1 + 0x148), + L"Proud::CNetThreads_S::NetWorkerThread_ProcessMessage_ReplyReceiveSpeedAtReceiverSide_NoBypass" + ); + } + lVar6 = 0; + if ((*(longlong **)(param_3 + 0x740) == (longlong *)0x0) || + (lVar4 = **(longlong **)(param_3 + 0x740), lVar5 = lVar4 + 0x40, lVar4 == 0)) { + lVar5 = lVar6; + } + FUN_140091260(&local_res20,lVar5); + lVar4 = lVar6; + if (*(longlong **)(param_3 + 0x740) != (longlong *)0x0) { + lVar4 = **(longlong **)(param_3 + 0x740); + } + piVar1 = (int *)(lVar4 + 0xa8); + local_30 = piVar1; + FUN_14003d040(piVar1); + local_28 = 1; + local_50 = Proud::AddrPort::vftable; + local_48 = *(undefined4 *)(param_3 + 0x710); + local_44 = *(undefined2 *)(param_3 + 0x714); + if (*(longlong **)(param_3 + 0x740) != (longlong *)0x0) { + lVar6 = **(longlong **)(param_3 + 0x740); + } + FUN_14008ca90(*(longlong *)(lVar6 + 0x168),(longlong)&local_50,local_res18); + FUN_14003d0d0((longlong)piVar1); + FUN_140091270(&local_res20); + FUN_14003d0d0((longlong)piVar3); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14007a4f0.c b/decomp/AgentManager_Release_x64/full/functions/0x14007a4f0.c new file mode 100644 index 00000000..6207e53a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14007a4f0.c @@ -0,0 +1,20 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14007a4f0 FUN_14007a4f0 + * Pseudocode, not original source. */ + +void FUN_14007a4f0(undefined8 *param_1) + +{ + *param_1 = Proud::CFastArray::vftable; + if ((LPVOID)param_1[2] != (LPVOID)0x0) { + if ((longlong *)param_1[1] != (longlong *)0x0) { + /* WARNING: Could not recover jumptable at 0x00014007a517. Too many branches */ + /* WARNING: Treating indirect jump as call */ + (**(code **)(*(longlong *)param_1[1] + 0x18))(); + return; + } + FUN_14003e8b0((LPVOID)param_1[2]); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14007a530.c b/decomp/AgentManager_Release_x64/full/functions/0x14007a530.c new file mode 100644 index 00000000..711ab76a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14007a530.c @@ -0,0 +1,78 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14007a530 FUN_14007a530 + * Pseudocode, not original source. */ + +void FUN_14007a530(longlong param_1,int param_2,undefined8 param_3,longlong param_4) + +{ + longlong *plVar1; + LPVOID pvVar2; + int iVar3; + undefined8 uVar4; + undefined8 *puVar5; + undefined8 *puVar6; + int iVar7; + longlong lVar8; + exception local_58 [80]; + + if (param_2 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (param_2 != *(int *)(param_1 + 0x18)) { + if (*(int *)(param_1 + 0x1c) < param_2) { + iVar3 = FUN_14008c010(param_1,param_2); + plVar1 = *(longlong **)(param_1 + 8); + lVar8 = (longlong)iVar3; + if (*(int *)(param_1 + 0x1c) == 0) { + if (plVar1 == (longlong *)0x0) { + uVar4 = FUN_14003e840(lVar8 << 3); + *(undefined8 *)(param_1 + 0x10) = uVar4; + } + else { + uVar4 = (**(code **)(*plVar1 + 8))(plVar1,lVar8 << 3); + *(undefined8 *)(param_1 + 0x10) = uVar4; + } + } + else { + pvVar2 = *(LPVOID *)(param_1 + 0x10); + if (plVar1 == (longlong *)0x0) { + puVar5 = (undefined8 *)FUN_14003e840(lVar8 << 3); + } + else { + puVar5 = (undefined8 *)(**(code **)(*plVar1 + 8))(); + } + lVar8 = (longlong)*(int *)(param_1 + 0x18); + iVar7 = 0; + if (0 < lVar8) { + param_4 = (longlong)pvVar2 - (longlong)puVar5; + puVar6 = puVar5; + do { + if (puVar6 != (undefined8 *)0x0) { + *puVar6 = *(undefined8 *)(param_4 + (longlong)puVar6); + } + iVar7 = iVar7 + 1; + puVar6 = puVar6 + 1; + } while (iVar7 < lVar8); + } + if (puVar5 == (undefined8 *)0x0) { + FUN_14003db10(local_58,L"Memory allocation failure!",lVar8,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + plVar1 = *(longlong **)(param_1 + 8); + if (plVar1 == (longlong *)0x0) { + FUN_14003e8b0(pvVar2); + } + else { + (**(code **)(*plVar1 + 0x18))(plVar1,pvVar2); + } + *(undefined8 **)(param_1 + 0x10) = puVar5; + } + *(int *)(param_1 + 0x1c) = iVar3; + } + *(int *)(param_1 + 0x18) = param_2; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14007a680.c b/decomp/AgentManager_Release_x64/full/functions/0x14007a680.c new file mode 100644 index 00000000..577f2e5e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14007a680.c @@ -0,0 +1,20 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14007a680 FUN_14007a680 + * Pseudocode, not original source. */ + +void FUN_14007a680(undefined8 *param_1) + +{ + *param_1 = Proud::CFastArray::vftable; + if ((LPVOID)param_1[2] != (LPVOID)0x0) { + if ((longlong *)param_1[1] != (longlong *)0x0) { + /* WARNING: Could not recover jumptable at 0x00014007a6a7. Too many branches */ + /* WARNING: Treating indirect jump as call */ + (**(code **)(*(longlong *)param_1[1] + 0x18))(); + return; + } + FUN_14003e8b0((LPVOID)param_1[2]); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14007a6c0.c b/decomp/AgentManager_Release_x64/full/functions/0x14007a6c0.c new file mode 100644 index 00000000..31ed9b5b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14007a6c0.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14007a6c0 FUN_14007a6c0 + * Pseudocode, not original source. */ + +undefined8 * FUN_14007a6c0(undefined8 *param_1,uint param_2) + +{ + *param_1 = Proud::CFastArray::vftable; + if ((LPVOID)param_1[2] != (LPVOID)0x0) { + if ((longlong *)param_1[1] == (longlong *)0x0) { + FUN_14003e8b0((LPVOID)param_1[2]); + } + else { + (**(code **)(*(longlong *)param_1[1] + 0x18))(); + } + } + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14007a720.c b/decomp/AgentManager_Release_x64/full/functions/0x14007a720.c new file mode 100644 index 00000000..96ba7a29 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14007a720.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14007a720 FUN_14007a720 + * Pseudocode, not original source. */ + +undefined8 * FUN_14007a720(undefined8 *param_1,uint param_2) + +{ + *param_1 = Proud::CFastArray::vftable; + if ((LPVOID)param_1[2] != (LPVOID)0x0) { + if ((longlong *)param_1[1] == (longlong *)0x0) { + FUN_14003e8b0((LPVOID)param_1[2]); + } + else { + (**(code **)(*(longlong *)param_1[1] + 0x18))(); + } + } + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14007a780.c b/decomp/AgentManager_Release_x64/full/functions/0x14007a780.c new file mode 100644 index 00000000..aa09d3b1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14007a780.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14007a780 FUN_14007a780 + * Pseudocode, not original source. */ + +undefined8 * FUN_14007a780(undefined8 *param_1,uint param_2) + +{ + *param_1 = Proud::CFastArray::vftable; + if ((LPVOID)param_1[2] != (LPVOID)0x0) { + if ((longlong *)param_1[1] == (longlong *)0x0) { + FUN_14003e8b0((LPVOID)param_1[2]); + } + else { + (**(code **)(*(longlong *)param_1[1] + 0x18))(); + } + } + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14007a7e0.c b/decomp/AgentManager_Release_x64/full/functions/0x14007a7e0.c new file mode 100644 index 00000000..9ef96a2a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14007a7e0.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14007a7e0 FUN_14007a7e0 + * Pseudocode, not original source. */ + +undefined8 * FUN_14007a7e0(undefined8 *param_1,uint param_2) + +{ + *param_1 = Proud::CFastArray::vftable; + if ((LPVOID)param_1[2] != (LPVOID)0x0) { + if ((longlong *)param_1[1] == (longlong *)0x0) { + FUN_14003e8b0((LPVOID)param_1[2]); + } + else { + (**(code **)(*(longlong *)param_1[1] + 0x18))(); + } + } + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14007a840.c b/decomp/AgentManager_Release_x64/full/functions/0x14007a840.c new file mode 100644 index 00000000..dc1426ae --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14007a840.c @@ -0,0 +1,57 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14007a840 FUN_14007a840 + * Pseudocode, not original source. */ + +void FUN_14007a840(longlong *param_1) + +{ + longlong lVar1; + longlong *plVar2; + longlong *plVar3; + exception local_58 [88]; + + lVar1 = *param_1; + while( true ) { + if (lVar1 == 0) { + return; + } + plVar2 = (longlong *)*param_1; + if ((longlong *)plVar2[2] != param_1) break; + plVar3 = (longlong *)plVar2[1]; + lVar1 = *plVar2; + if (plVar3 != (longlong *)0x0) { + *plVar3 = lVar1; + } + if (lVar1 != 0) { + *(longlong **)(lVar1 + 8) = plVar3; + } + if (plVar3 == (longlong *)0x0) { + if ((longlong *)param_1[1] != plVar2) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_CListNode_reports_a_consistency_p_14016f4a0, + L"Proud::CListNode::CListOwner::Erase",0); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + param_1[1] = lVar1; + } + if (lVar1 == 0) { + if ((longlong *)*param_1 != plVar2) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_CListNode_reports_a_consistency_p_14016f4a0, + L"Proud::CListNode::CListOwner::Erase",0); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + *param_1 = (longlong)plVar3; + } + *plVar2 = 0; + plVar2[1] = 0; + plVar2[2] = 0; + *(int *)(param_1 + 2) = (int)param_1[2] + -1; + lVar1 = *param_1; + } + FUN_14003db10(local_58,(wchar_t *)PTR_u_CListNode_reports_a_consistency_p_14016f4a0, + L"Proud::CListNode::CListOwner::Erase",0); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14007a930.c b/decomp/AgentManager_Release_x64/full/functions/0x14007a930.c new file mode 100644 index 00000000..0a28f5b4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14007a930.c @@ -0,0 +1,54 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14007a930 FUN_14007a930 + * Pseudocode, not original source. */ + +void FUN_14007a930(longlong param_1,int param_2,SIZE_T param_3) + +{ + longlong *plVar1; + int iVar2; + longlong lVar3; + SIZE_T SVar4; + undefined8 uVar5; + exception local_58 [80]; + + if (param_2 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (param_2 != *(int *)(param_1 + 0x18)) { + if (*(int *)(param_1 + 0x1c) < param_2) { + iVar2 = FUN_1400c88f0(param_1,param_2); + plVar1 = *(longlong **)(param_1 + 8); + SVar4 = (SIZE_T)iVar2; + if (*(int *)(param_1 + 0x1c) == 0) { + if (plVar1 == (longlong *)0x0) { + lVar3 = FUN_14003e840(SVar4); + } + else { + lVar3 = (**(code **)(*plVar1 + 8))(plVar1,SVar4); + } + } + else { + uVar5 = *(undefined8 *)(param_1 + 0x10); + if (plVar1 == (longlong *)0x0) { + lVar3 = FUN_14003e870(uVar5,SVar4); + } + else { + lVar3 = (**(code **)(*plVar1 + 0x10))(plVar1,uVar5); + param_3 = SVar4; + } + if (lVar3 == 0) { + FUN_14003db10(local_58,L"Memory allocation failure!",param_3,uVar5); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + } + *(longlong *)(param_1 + 0x10) = lVar3; + *(int *)(param_1 + 0x1c) = iVar2; + } + *(int *)(param_1 + 0x18) = param_2; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14007a9f0.c b/decomp/AgentManager_Release_x64/full/functions/0x14007a9f0.c new file mode 100644 index 00000000..e6745256 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14007a9f0.c @@ -0,0 +1,34 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14007a9f0 FUN_14007a9f0 + * Pseudocode, not original source. */ + +void FUN_14007a9f0(longlong param_1,longlong param_2,longlong param_3) + +{ + longlong lVar1; + undefined4 *puVar2; + int iVar3; + + iVar3 = 0; + if (0 < param_3) { + puVar2 = (undefined4 *)(param_1 + 0x30); + lVar1 = param_2 - param_1; + do { + if ((undefined8 *)(puVar2 + -0xc) != (undefined8 *)0x0) { + *(undefined8 *)(puVar2 + -0xc) = *(undefined8 *)(lVar1 + -0x30 + (longlong)puVar2); + puVar2[-10] = *(undefined4 *)(lVar1 + -0x28 + (longlong)puVar2); + puVar2[-9] = *(undefined4 *)(lVar1 + -0x24 + (longlong)puVar2); + puVar2[-8] = *(undefined4 *)(lVar1 + -0x20 + (longlong)puVar2); + *(undefined8 *)(puVar2 + -6) = *(undefined8 *)(lVar1 + -0x18 + (longlong)puVar2); + puVar2[-4] = *(undefined4 *)(lVar1 + -0x10 + (longlong)puVar2); + *(undefined ***)(puVar2 + -2) = Proud::AddrPort::vftable; + *puVar2 = *(undefined4 *)(lVar1 + (longlong)puVar2); + *(undefined2 *)(puVar2 + 1) = *(undefined2 *)(lVar1 + 4 + (longlong)puVar2); + } + iVar3 = iVar3 + 1; + puVar2 = puVar2 + 0xe; + } while (iVar3 < param_3); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14007aa70.c b/decomp/AgentManager_Release_x64/full/functions/0x14007aa70.c new file mode 100644 index 00000000..3e3619c3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14007aa70.c @@ -0,0 +1,20 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14007aa70 FUN_14007aa70 + * Pseudocode, not original source. */ + +void FUN_14007aa70(undefined8 *param_1) + +{ + *param_1 = Proud::CFastArray::vftable; + if ((LPVOID)param_1[2] != (LPVOID)0x0) { + if ((longlong *)param_1[1] != (longlong *)0x0) { + /* WARNING: Could not recover jumptable at 0x00014007aa97. Too many branches */ + /* WARNING: Treating indirect jump as call */ + (**(code **)(*(longlong *)param_1[1] + 0x18))(); + return; + } + FUN_14003e8b0((LPVOID)param_1[2]); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14007aab0.c b/decomp/AgentManager_Release_x64/full/functions/0x14007aab0.c new file mode 100644 index 00000000..312b227a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14007aab0.c @@ -0,0 +1,20 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14007aab0 FUN_14007aab0 + * Pseudocode, not original source. */ + +void FUN_14007aab0(undefined8 *param_1) + +{ + *param_1 = Proud::CFastArray::vftable; + if ((LPVOID)param_1[2] != (LPVOID)0x0) { + if ((longlong *)param_1[1] != (longlong *)0x0) { + /* WARNING: Could not recover jumptable at 0x00014007aad7. Too many branches */ + /* WARNING: Treating indirect jump as call */ + (**(code **)(*(longlong *)param_1[1] + 0x18))(); + return; + } + FUN_14003e8b0((LPVOID)param_1[2]); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14007aaf0.c b/decomp/AgentManager_Release_x64/full/functions/0x14007aaf0.c new file mode 100644 index 00000000..a97854dd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14007aaf0.c @@ -0,0 +1,134 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14007aaf0 FUN_14007aaf0 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x00014007ae2a) */ + +void FUN_14007aaf0(longlong param_1,longlong param_2,undefined8 param_3,longlong param_4) + +{ + bool bVar1; + int *piVar2; + int iVar3; + longlong lVar4; + longlong *plVar5; + longlong lVar6; + int *piVar7; + longlong *plVar8; + int iVar9; + + piVar2 = (int *)(*(longlong *)(param_1 + 0x148) + 0x798); + FUN_14003d040(piVar2); + piVar7 = (int *)(*(longlong *)(param_1 + 0x148) + 2000); + FUN_14003d040(piVar7); + iVar3 = 0; + iVar9 = *(int *)(*(longlong *)(param_1 + 0x148) + 0x818) + + *(int *)(*(longlong *)(param_1 + 0x148) + 0x838); + FUN_14007a530(param_2,iVar9,param_3,param_4); + if (*(int *)(param_2 + 0x18) == 0) { + plVar8 = (longlong *)0x0; + } + else { + plVar8 = *(longlong **)(param_2 + 0x10); + } + lVar6 = *(longlong *)(*(longlong *)(param_1 + 0x148) + 0x828); + plVar5 = plVar8; + while (lVar6 != 0) { + FUN_140091240(lVar6 + 0x40); + if (lVar6 == 0) { + lVar4 = 0; + } + else { + lVar4 = lVar6 + 0x88; + } + *plVar5 = lVar4; + if (*(longlong **)(lVar6 + 0xa0) != (longlong *)0x0) { + FUN_14004ac30(*(longlong **)(lVar6 + 0xa0),lVar6,param_3,param_4); + } + iVar3 = iVar3 + 1; + plVar5 = plVar5 + 1; + lVar6 = *(longlong *)(*(longlong *)(param_1 + 0x148) + 0x828); + } + lVar6 = *(longlong *)(*(longlong *)(param_1 + 0x148) + 0x808); + if (lVar6 != 0) { + plVar5 = plVar8 + iVar3; + do { + FUN_140091240(lVar6 + 0xc0); + if (lVar6 == 0) { + lVar4 = 0; + } + else { + lVar4 = lVar6 + 0x108; + } + *plVar5 = lVar4; + if (*(longlong **)(lVar6 + 0x120) != (longlong *)0x0) { + FUN_14004a9c0(*(longlong **)(lVar6 + 0x120),lVar6,param_3,param_4); + } + plVar5 = plVar5 + 1; + lVar6 = *(longlong *)(*(longlong *)(param_1 + 0x148) + 0x808); + } while (lVar6 != 0); + } + FUN_14003d0d0((longlong)piVar7); + FUN_14003d0d0((longlong)piVar2); + lVar6 = (longlong)iVar9; + if (0 < iVar9) { + do { + lVar4 = 0; + if (lVar6 < 1) { + return; + } + do { + plVar5 = (longlong *)plVar8[lVar4]; + piVar2 = (int *)(**(code **)(*plVar5 + 0x10))(plVar5); + if (lVar4 == 0) { + FUN_14003d040(piVar2); + iVar3 = (**(code **)(*plVar5 + 8))(plVar5); + FUN_14003d0d0((longlong)piVar2); + if (iVar3 != 0) { + piVar2 = (int *)(**(code **)(**(longlong **)(param_1 + 0x148) + 0x58))(); + FUN_14003d040(piVar2); + if (DAT_14017614f != '\0') { + (**(code **)(**(longlong **)(param_1 + 0x148) + 200)) + (*(longlong **)(param_1 + 0x148), + L"Proud::CNetThreads_S::NetworkerThread_EveryRemote_IssueSendOnNeed"); + } + (**(code **)(*plVar5 + 0x20)) + (plVar5,L"Proud::CNetThreads_S::NetworkerThread_EveryRemote_IssueSendOnNeed", + iVar3); + FUN_14003d0d0((longlong)piVar2); + } + (**(code **)(*plVar5 + 0x18))(plVar5); + *plVar8 = plVar8[lVar6 + -1]; +LAB_14007ae22: + lVar6 = lVar6 + -1; + } + else { + bVar1 = FUN_14003d090(piVar2); + if (bVar1) { + iVar3 = (**(code **)(*plVar5 + 8))(plVar5); + FUN_14003d0d0((longlong)piVar2); + if (iVar3 != 0) { + piVar2 = (int *)(**(code **)(**(longlong **)(param_1 + 0x148) + 0x58))(); + FUN_14003d040(piVar2); + if (DAT_14017614f != '\0') { + (**(code **)(**(longlong **)(param_1 + 0x148) + 200)) + (*(longlong **)(param_1 + 0x148), + L"Proud::CNetThreads_S::NetworkerThread_EveryRemote_IssueSendOnNeed"); + } + (**(code **)(*plVar5 + 0x20)) + (plVar5,L"Proud::CNetThreads_S::NetworkerThread_EveryRemote_IssueSendOnNeed" + ,iVar3); + FUN_14003d0d0((longlong)piVar2); + } + (**(code **)(*plVar5 + 0x18))(plVar5); + plVar8[lVar4] = plVar8[lVar6 + -1]; + goto LAB_14007ae22; + } + } + lVar4 = lVar4 + 1; + } while (lVar4 < lVar6); + } while (0 < lVar6); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14007ae90.c b/decomp/AgentManager_Release_x64/full/functions/0x14007ae90.c new file mode 100644 index 00000000..b0b6bfc6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14007ae90.c @@ -0,0 +1,70 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14007ae90 FUN_14007ae90 + * Pseudocode, not original source. */ + +void FUN_14007ae90(longlong param_1,int param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong *plVar1; + LPVOID pvVar2; + int iVar3; + longlong lVar4; + longlong lVar5; + exception local_58 [80]; + + if (param_2 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + iVar3 = *(int *)(param_1 + 0x18); + if (param_2 != iVar3) { + if (*(int *)(param_1 + 0x1c) < param_2) { + iVar3 = FUN_14004a920(param_1,param_2); + plVar1 = *(longlong **)(param_1 + 8); + lVar4 = (longlong)iVar3; + if (*(int *)(param_1 + 0x1c) == 0) { + if (plVar1 == (longlong *)0x0) { + lVar4 = FUN_14003e840(lVar4 * 0x38); + } + else { + lVar4 = (**(code **)(*plVar1 + 8))(plVar1,lVar4 * 0x38); + } + *(longlong *)(param_1 + 0x10) = lVar4; + FUN_140079f70(lVar4,(longlong)param_2); + } + else { + pvVar2 = *(LPVOID *)(param_1 + 0x10); + if (plVar1 == (longlong *)0x0) { + lVar4 = FUN_14003e840(lVar4 * 0x38); + } + else { + lVar4 = (**(code **)(*plVar1 + 8))(plVar1,lVar4 * 0x38); + } + FUN_14007a9f0(lVar4,(longlong)pvVar2,(longlong)*(int *)(param_1 + 0x18)); + lVar5 = (longlong)*(int *)(param_1 + 0x18); + FUN_140079f70(lVar5 * 0x38 + lVar4,(longlong)(param_2 - *(int *)(param_1 + 0x18))); + if (lVar4 == 0) { + FUN_14003db10(local_58,L"Memory allocation failure!",lVar5,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + plVar1 = *(longlong **)(param_1 + 8); + if (plVar1 == (longlong *)0x0) { + FUN_14003e8b0(pvVar2); + } + else { + (**(code **)(*plVar1 + 0x18))(plVar1,pvVar2); + } + *(longlong *)(param_1 + 0x10) = lVar4; + } + *(int *)(param_1 + 0x1c) = iVar3; + } + else if ((iVar3 - param_2 < 1) && (0 < param_2 - iVar3)) { + FUN_140079f70((longlong)iVar3 * 0x38 + *(longlong *)(param_1 + 0x10), + (longlong)(param_2 - iVar3)); + } + *(int *)(param_1 + 0x18) = param_2; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14007b020.c b/decomp/AgentManager_Release_x64/full/functions/0x14007b020.c new file mode 100644 index 00000000..9a035b61 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14007b020.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14007b020 FUN_14007b020 + * Pseudocode, not original source. */ + +void FUN_14007b020(longlong param_1) + +{ + CloseHandle(*(HANDLE *)(param_1 + 0x20)); + FUN_14007a840((longlong *)(param_1 + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14007b050.c b/decomp/AgentManager_Release_x64/full/functions/0x14007b050.c new file mode 100644 index 00000000..ab60ba36 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14007b050.c @@ -0,0 +1,63 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14007b050 FUN_14007b050 + * Pseudocode, not original source. */ + +void FUN_14007b050(longlong param_1,longlong param_2,char *param_3,undefined8 param_4) + +{ + byte bVar1; + uint uVar2; + undefined8 uVar3; + longlong *plVar4; + uint *puVar5; + int iVar6; + char *pcVar7; + byte local_res20; + uint local_a0 [2]; + uint *local_98; + uint local_90; + undefined8 local_20; + + local_20 = 0xfffffffffffffffe; + local_98 = (uint *)(param_2 + 8); + uVar2 = (int)(*local_98 + ((int)*local_98 >> 0x1f & 7U)) >> 3; + pcVar7 = param_3; + if (uVar2 != 0) { + param_4 = 2; + pcVar7 = "Proud::CNetThreads_S::UserWorkerThread_FinalReceiveRmi"; + FUN_14006c410(*(longlong **)(param_1 + 0x148),(wchar_t *)0x0, + "Proud::CNetThreads_S::UserWorkerThread_FinalReceiveRmi",2); + } + local_res20 = 0; + iVar6 = 0; + local_a0[0] = 0; + puVar5 = local_a0; + uVar3 = FUN_140075890(local_98,puVar5,pcVar7,param_4); + if ((char)uVar3 != '\0') { + local_90 = *(uint *)(*(longlong *)(param_1 + 0x148) + 0x48); + plVar4 = (longlong *)(ulonglong)local_90; + for (; iVar6 < (int)local_90; iVar6 = iVar6 + 1) { + if ((iVar6 < 0) || (*(int *)(*(longlong *)(param_1 + 0x148) + 0x48) <= iVar6)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(plVar4,puVar5,pcVar7,param_4); + } + plVar4 = *(longlong **) + (*(longlong *)(*(longlong *)(param_1 + 0x148) + 0x40) + (longlong)iVar6 * 8); + FUN_140074bb0((int *)local_98,(ulonglong)uVar2,pcVar7,param_4); + puVar5 = (uint *)(param_2 + 8); + pcVar7 = param_3; + bVar1 = (**(code **)(*plVar4 + 0x10))(); + local_res20 = local_res20 | bVar1; + } + if (local_res20 == 0) { + FUN_140074bb0((int *)local_98,(ulonglong)uVar2,pcVar7,param_4); + if (*(longlong *)(*(longlong *)(param_1 + 0x148) + 0x758) != 0) { + plVar4 = *(longlong **)(*(longlong *)(param_1 + 0x148) + 0x758); + (**(code **)(*plVar4 + 0x28))(plVar4,local_a0[0]); + } + } + FUN_1400977f0((undefined8 *)(param_1 + 0x160),*(undefined4 *)(param_2 + 0x30),'\0',param_4); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14007b1c0.c b/decomp/AgentManager_Release_x64/full/functions/0x14007b1c0.c new file mode 100644 index 00000000..4fe5f6fa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14007b1c0.c @@ -0,0 +1,47 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14007b1c0 FUN_14007b1c0 + * Pseudocode, not original source. */ + +ulonglong FUN_14007b1c0(int *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + uint uVar1; + longlong *plVar2; + DWORD DVar3; + longlong lVar4; + undefined8 uVar5; + ulonglong uVar6; + uint uVar7; + longlong lVar8; + + FUN_14003d040(param_1); + if (param_1[0x1e] != 0) { + DVar3 = GetCurrentThreadId(); + uVar6 = 0; + uVar1 = param_1[0x1e]; + lVar8 = 0; + if (0 < (int)uVar1) { + do { + if ((lVar8 < 0) || ((int)uVar1 <= (int)uVar6)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(uVar6,lVar8,(ulonglong)uVar1,param_4); + } + plVar2 = *(longlong **)(*(longlong *)(param_1 + 0x1c) + lVar8 * 8); + lVar4 = 0; + if (plVar2 != (longlong *)0x0) { + lVar4 = *plVar2; + } + if (*(DWORD *)(lVar4 + 8) == DVar3) { + uVar5 = FUN_14003d0d0((longlong)param_1); + return CONCAT71((int7)((ulonglong)uVar5 >> 8),1); + } + uVar7 = (int)uVar6 + 1; + uVar6 = (ulonglong)uVar7; + lVar8 = lVar8 + 1; + } while ((int)uVar7 < (int)uVar1); + } + } + uVar6 = FUN_14003d0d0((longlong)param_1); + return uVar6 & 0xffffffffffffff00; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14007b250.c b/decomp/AgentManager_Release_x64/full/functions/0x14007b250.c new file mode 100644 index 00000000..585a7d60 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14007b250.c @@ -0,0 +1,31 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14007b250 FUN_14007b250 + * Pseudocode, not original source. */ + +void FUN_14007b250(longlong param_1,longlong param_2) + +{ + undefined2 *puVar1; + int iVar2; + + if (0 < param_2) { + iVar2 = 0; + puVar1 = (undefined2 *)(param_1 + 0x3c); + do { + if ((undefined4 *)(puVar1 + -0x1e) != (undefined4 *)0x0) { + FUN_140074fb0((undefined4 *)(puVar1 + -0x1e)); + *(undefined ***)(puVar1 + -6) = Proud::AddrPort::vftable; + *(undefined4 *)(puVar1 + -2) = 0; + *puVar1 = 0; + *(undefined1 *)(puVar1 + 2) = 0; + *(undefined4 *)(puVar1 + -10) = 0; + *(undefined4 *)(puVar1 + -2) = DAT_14016f3d0; + *puVar1 = DAT_14016f3d4; + } + iVar2 = iVar2 + 1; + puVar1 = puVar1 + 0x24; + } while (iVar2 < param_2); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14007b2f0.c b/decomp/AgentManager_Release_x64/full/functions/0x14007b2f0.c new file mode 100644 index 00000000..7eac5f5e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14007b2f0.c @@ -0,0 +1,31 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14007b2f0 FUN_14007b2f0 + * Pseudocode, not original source. */ + +void FUN_14007b2f0(longlong param_1,longlong param_2,longlong param_3) + +{ + undefined4 *puVar1; + longlong lVar2; + int iVar3; + + if (0 < param_3) { + iVar3 = 0; + puVar1 = (undefined4 *)(param_1 + 0x38); + lVar2 = param_2 - param_1; + do { + if (puVar1 + -0xe != (undefined4 *)0x0) { + FUN_140074fe0(puVar1 + -0xe,(undefined4 *)((longlong)puVar1 + lVar2 + -0x38)); + puVar1[-4] = *(undefined4 *)((longlong)puVar1 + lVar2 + -0x10); + *(undefined ***)(puVar1 + -2) = Proud::AddrPort::vftable; + *puVar1 = *(undefined4 *)((longlong)puVar1 + lVar2); + *(undefined2 *)(puVar1 + 1) = *(undefined2 *)((longlong)puVar1 + lVar2 + 4); + *(undefined1 *)(puVar1 + 2) = *(undefined1 *)((longlong)puVar1 + lVar2 + 8); + } + iVar3 = iVar3 + 1; + puVar1 = puVar1 + 0x12; + } while (iVar3 < param_3); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14007b390.c b/decomp/AgentManager_Release_x64/full/functions/0x14007b390.c new file mode 100644 index 00000000..f08f2e31 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14007b390.c @@ -0,0 +1,25 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14007b390 FUN_14007b390 + * Pseudocode, not original source. */ + +void FUN_14007b390(longlong param_1,undefined8 param_2,SIZE_T param_3) + +{ + undefined8 *puVar1; + + FUN_14003d040((int *)&DAT_1401783a8); + *(undefined4 *)(param_1 + 0x50) = 0; + *(undefined8 *)(param_1 + 0x58) = 0; + FUN_14007a930(param_1,0,param_3); + FUN_14002a050(param_1 + 0x28,0,param_3); + puVar1 = DAT_1401783a0; + if ((*(short *)(param_1 + -8) == 0x1de6) && (*(longlong *)(param_1 + 0x60) == 0)) { + *(undefined8 *)(param_1 + 0x60) = *DAT_1401783a0; + *puVar1 = (short *)(param_1 + -8); + FUN_14003d0d0(0x1401783a8); + return; + } + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14007b420.c b/decomp/AgentManager_Release_x64/full/functions/0x14007b420.c new file mode 100644 index 00000000..71acc085 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14007b420.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14007b420 FUN_14007b420 + * Pseudocode, not original source. */ + +void FUN_14007b420(longlong *param_1,undefined8 param_2,SIZE_T param_3) + +{ + if (*param_1 != 0) { + FUN_14007b390(*param_1,param_2,param_3); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14007b440.c b/decomp/AgentManager_Release_x64/full/functions/0x14007b440.c new file mode 100644 index 00000000..d2bec0b0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14007b440.c @@ -0,0 +1,35 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14007b440 FUN_14007b440 + * Pseudocode, not original source. */ + +void FUN_14007b440(longlong *param_1,longlong *param_2) + +{ + longlong lVar1; + undefined8 *puVar2; + undefined8 *puVar3; + + lVar1 = *param_2; + if (lVar1 != *param_1) { + if (lVar1 != 0) { + *(longlong *)(*param_2 + 8) = *(longlong *)(lVar1 + 8) + 1; + } + puVar3 = (undefined8 *)0x0; + if ((*param_1 != 0) && + (*(longlong *)(*param_1 + 8) = *(longlong *)(*param_1 + 8) + -1, + *(longlong *)(*param_1 + 8) == 0)) { + puVar3 = (undefined8 *)*param_1; + } + *param_1 = *param_2; + if (puVar3 != (undefined8 *)0x0) { + puVar2 = (undefined8 *)*puVar3; + if (puVar2 != (undefined8 *)0x0) { + FUN_140045c30(puVar2); + operator_delete(puVar2); + } + FUN_14003e8b0(puVar3); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14007b4d0.c b/decomp/AgentManager_Release_x64/full/functions/0x14007b4d0.c new file mode 100644 index 00000000..195be184 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14007b4d0.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14007b4d0 FUN_14007b4d0 + * Pseudocode, not original source. */ + +void FUN_14007b4d0(longlong param_1,longlong param_2) + +{ + undefined4 *puVar1; + int iVar2; + + if (0 < param_2) { + iVar2 = 0; + puVar1 = (undefined4 *)(param_1 + 0x18); + do { + FUN_14008a320((longlong *)(puVar1 + -4)); + if (*(longlong *)(puVar1 + -2) != 0) { + if ((int)puVar1[1] < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + *puVar1 = 0; + } + iVar2 = iVar2 + 1; + puVar1 = puVar1 + 0x12; + } while (iVar2 < param_2); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14007b540.c b/decomp/AgentManager_Release_x64/full/functions/0x14007b540.c new file mode 100644 index 00000000..12629ba9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14007b540.c @@ -0,0 +1,69 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14007b540 FUN_14007b540 + * Pseudocode, not original source. */ + +void FUN_14007b540(longlong param_1,undefined8 param_2,SIZE_T *param_3,TypeDescriptor *param_4) + +{ + int *piVar1; + char cVar2; + short *psVar3; + HANDLE hThread; + __time64_t _Var4; + int *piVar5; + longlong lVar6; + wchar_t *pwVar7; + undefined8 uVar8; + short *psVar9; + double dVar10; + char local_res8 [8]; + short *local_res10; + + hThread = GetCurrentThread(); + pwVar7 = (wchar_t *)0x0; + SetThreadPriorityBoost(hThread,0); + FUN_1400721c0(local_res8); + cVar2 = *(char *)(param_1 + 0x140); + while (cVar2 == '\0') { + pwVar7 = (wchar_t *)0x64; + FUN_140048620((undefined8 *)(param_1 + 0x150),100); + dVar10 = FUN_1400489c0((char *)(*(longlong *)(param_1 + 0x148) + 0x760)); + *(double *)(*(longlong *)(param_1 + 0x148) + 0x1c0) = dVar10; + dVar10 = FUN_140048960((char *)(*(longlong *)(param_1 + 0x148) + 0x760)); + *(double *)(*(longlong *)(param_1 + 0x148) + 0x200) = dVar10; + _Var4 = _time64((__time64_t *)0x0); + *(__time64_t *)(*(longlong *)(param_1 + 0x148) + 0x208) = _Var4; + FUN_140079fe0(param_1,pwVar7,param_3,param_4); + cVar2 = *(char *)(param_1 + 0x140); + } + lVar6 = *(longlong *)(param_1 + 0x148); + FUN_14005a330(lVar6,pwVar7,param_3,param_4); + if (*(longlong *)(*(longlong *)(param_1 + 0x148) + 0x17f0) != 0) { + FUN_14003e7c0(lVar6,pwVar7,param_3,param_4); + local_res10 = (short *)PTR_DAT_14016f010; + FUN_140029b80((longlong *)&local_res10,L"%s thread 종료", + L"Proud::CNetThreads_S::Heartbeat_Main",param_4); + psVar3 = local_res10; + psVar9 = local_res10; + if (local_res10 == (short *)0x0) { + psVar9 = (short *)PTR_DAT_14016f010; + } + uVar8 = 0; + lVar6 = *(longlong *)(*(longlong *)(param_1 + 0x148) + 0x17f0); + FUN_1400843d0(lVar6,0,psVar9,param_4); + if (((psVar3 != (short *)0x0) && (psVar3 != (short *)PTR_DAT_14016f010)) && + (psVar3 + -4 != (short *)0x0)) { + piVar5 = (int *)FUN_14003e7c0(lVar6,uVar8,psVar9,param_4); + FUN_14003d040(piVar5); + piVar1 = (int *)(psVar3 + -2); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(psVar3 + -4); + } + FUN_14003d0d0((longlong)piVar5); + } + } + FUN_1400721f0(local_res8); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14007b6d0.c b/decomp/AgentManager_Release_x64/full/functions/0x14007b6d0.c new file mode 100644 index 00000000..98ff4be4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14007b6d0.c @@ -0,0 +1,145 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14007b6d0 FUN_14007b6d0 + * Pseudocode, not original source. */ + +void FUN_14007b6d0(longlong param_1,longlong param_2,uint *param_3,undefined8 param_4) + +{ + bool bVar1; + undefined *puVar2; + uint uVar3; + int *piVar4; + int *piVar5; + int *piVar6; + undefined *puVar7; + uint *puVar8; + ulonglong uVar9; + uint *puVar10; + undefined8 uVar11; + undefined8 uVar12; + undefined *local_res10; + longlong local_res18 [2]; + undefined8 in_stack_ffffffffffffff10; + undefined4 uVar13; + undefined **local_c8; + undefined8 local_c0; + undefined8 local_b8; + undefined8 local_b0; + undefined8 local_a8; + undefined **local_a0; + undefined8 local_98; + undefined8 local_90; + undefined8 local_88; + undefined8 local_80; + int *local_78; + undefined1 local_70; + int *local_68; + undefined1 local_60; + int *local_58; + undefined1 local_50; + undefined8 local_48; + + uVar13 = (undefined4)((ulonglong)in_stack_ffffffffffffff10 >> 0x20); + local_48 = 0xfffffffffffffffe; + puVar8 = param_3 + 0x30; + if (param_3 == (uint *)0x0) { + puVar8 = (uint *)0x0; + } + puVar10 = param_3; + FUN_140091260(local_res18,(longlong)puVar8); + piVar4 = (int *)(**(code **)(*(longlong *)(param_3 + 0x42) + 0x10))(); + FUN_14003d040(piVar4); + bVar1 = true; + **(undefined1 **)(param_3 + 0x1d2) = 0; + uVar3 = *(uint *)(param_2 + 8); + uVar9 = (ulonglong)uVar3; + if ((int)uVar3 < 0) { + piVar6 = piVar4; + FUN_14003d0d0((longlong)piVar4); + bVar1 = false; + FUN_14003e7c0(piVar6,uVar9,puVar10,param_4); + local_res10 = PTR_DAT_14016f010; + FUN_140029b80((longlong *)&local_res10,L"%s:%d", + L"Proud::CNetThreads_S::NetWorkerThread_TcpSendCompletionCase", + (ulonglong)*(uint *)(param_2 + 0xc)); + local_68 = (int *)(**(code **)(**(longlong **)(param_1 + 0x148) + 0x58))(); + FUN_14003d040(local_68); + local_60 = 1; + if (DAT_14017614f != '\0') { + (**(code **)(**(longlong **)(param_1 + 0x148) + 200)) + (*(longlong **)(param_1 + 0x148), + L"Proud::CNetThreads_S::NetWorkerThread_TcpSendCompletionCase"); + } + puVar2 = local_res10; + local_98 = 0; + local_90 = 0; + local_88 = 0; + local_80 = 0; + local_a0 = Proud::ByteArray::vftable; + puVar7 = local_res10; + if (local_res10 == (undefined *)0x0) { + puVar7 = PTR_DAT_14016f010; + } + uVar12 = 3; + uVar11 = 0xb; + FUN_14006ef00(*(SIZE_T **)(param_1 + 0x148),param_3,0xb,3,(longlong)&local_a0,puVar7, + *(undefined4 *)(param_2 + 0xc)); + FUN_140049e40(&local_a0); + piVar6 = local_68; + FUN_14003d0d0((longlong)local_68); + if (((puVar2 != (undefined *)0x0) && (puVar2 != PTR_DAT_14016f010)) && + (puVar2 + -8 != (undefined *)0x0)) { + piVar5 = (int *)FUN_14003e7c0(piVar6,param_3,uVar11,uVar12); + local_58 = piVar5; + FUN_14003d040(piVar5); + local_50 = 1; + piVar6 = (int *)(puVar2 + -4); + *piVar6 = *piVar6 + -1; + if (*piVar6 == 0) { + FUN_14003e8b0(puVar2 + -8); + } + FUN_14003d0d0((longlong)piVar5); + } + } + else { + FUN_140093c10((longlong *)(*(longlong *)(param_3 + 0x1d2) + 0x48),uVar3); + uVar3 = FUN_140090f10(*(char **)(param_3 + 0x1d2),uVar9,puVar10,param_4); + if (uVar3 != 0) { + FUN_14003d0d0((longlong)piVar4); + bVar1 = false; + piVar6 = (int *)(**(code **)(**(longlong **)(param_1 + 0x148) + 0x58))(); + local_78 = piVar6; + FUN_14003d040(piVar6); + local_70 = 1; + if (DAT_14017614f != '\0') { + (**(code **)(**(longlong **)(param_1 + 0x148) + 200)) + (*(longlong **)(param_1 + 0x148), + L"Proud::CNetThreads_S::NetWorkerThread_TcpSendCompletionCase"); + } + local_c0 = 0; + local_b8 = 0; + local_b0 = 0; + local_a8 = 0; + local_c8 = Proud::ByteArray::vftable; + (**(code **)(*(longlong *)(param_3 + 0x28) + 0x38)) + (param_3 + 0x28,0xb,3,&local_c8, + L"Proud::CNetThreads_S::NetWorkerThread_TcpSendCompletionCase", + CONCAT44(uVar13,uVar3)); + FUN_140049e40(&local_c8); + (**(code **)(*(longlong *)(param_3 + 0x28) + 0x40)) + (param_3 + 0x28,L"Proud::CNetThreads_S::NetWorkerThread_TcpSendCompletionCase"); + FUN_14003d0d0((longlong)piVar6); + local_70 = 0; + } + *(longlong *)(*(longlong *)(param_1 + 0x148) + 0x580) = + *(longlong *)(*(longlong *)(param_1 + 0x148) + 0x580) + 1; + *(longlong *)(*(longlong *)(param_1 + 0x148) + 0x5c0) = + *(longlong *)(*(longlong *)(param_1 + 0x148) + 0x5c0) + (longlong)*(int *)(param_2 + 8); + } + if (bVar1) { + FUN_14003d0d0((longlong)piVar4); + } + FUN_140091270(local_res18); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14007b9f0.c b/decomp/AgentManager_Release_x64/full/functions/0x14007b9f0.c new file mode 100644 index 00000000..4981bfb4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14007b9f0.c @@ -0,0 +1,205 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14007b9f0 FUN_14007b9f0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_14007b9f0(longlong param_1,uint *param_2,longlong param_3,TypeDescriptor *param_4) + +{ + undefined **ppuVar1; + undefined **ppuVar2; + int iVar3; + undefined8 uVar4; + ulonglong uVar5; + int *piVar6; + int *piVar7; + longlong lVar8; + longlong *plVar9; + longlong *plVar10; + int **ppiVar11; + SIZE_T SVar12; + undefined ***pppuVar13; + int *piVar14; + undefined *puVar15; + bool bVar16; + undefined1 auStack_da8 [32]; + undefined *local_d88; + undefined **local_d78; + undefined4 local_d70; + undefined2 local_d6c; + undefined **local_d68; + undefined4 local_d60; + undefined2 local_d5c; + int **local_d58; + undefined1 local_d50; + undefined *local_d48; + int *local_d40; + undefined1 local_d38; + int local_d30 [2]; + undefined *local_d28; + longlong local_d20; + int local_d14; + undefined8 local_d08; + int *local_d00; + undefined1 local_cf8; + undefined **local_ce8; + undefined8 uStack_ce0; + undefined1 local_cd8 [3216]; + ulonglong local_48; + + local_d08 = 0xfffffffffffffffe; + local_48 = DAT_14016f5a0 ^ (ulonglong)auStack_da8; + FUN_140079c10(); + local_d68 = Proud::AddrPort::vftable; + local_d60 = 0; + local_d5c = 0; + local_d78 = Proud::AddrPort::vftable; + local_d70 = 0; + local_d6c = 0; + local_ce8 = (undefined **)0x0; + uStack_ce0 = 0; + SVar12 = 0x10; + uVar4 = FUN_140074ee0(param_2,&local_ce8,0x10); + if ((char)uVar4 == '\0') { + return; + } + uVar5 = FUN_140075910(param_2,(longlong)&local_d68); + if ((char)uVar5 != '\0') { + uVar5 = FUN_140075910(param_2,(longlong)&local_d78); + if ((char)uVar5 == '\0') { + return; + } + piVar6 = (int *)(**(code **)(**(longlong **)(param_1 + 0x148) + 0x58))(); + local_d00 = piVar6; + FUN_14003d040(piVar6); + local_cf8 = 1; + if (DAT_14017614f != '\0') { + SVar12 = **(SIZE_T **)(param_1 + 0x148); + (**(code **)(SVar12 + 200)) + (*(SIZE_T **)(param_1 + 0x148), + L"Proud::CNetThreads_S::NetWorkerThread_ProcessMessage_NotifyHolepunchSuccess"); + } + bVar16 = *(undefined ***)(param_3 + 0x728) < local_ce8; + if ((*(undefined ***)(param_3 + 0x728) == local_ce8) && + (bVar16 = *(ulonglong *)(param_3 + 0x730) < uStack_ce0, + *(ulonglong *)(param_3 + 0x730) == uStack_ce0)) { + iVar3 = 0; + } + else { + iVar3 = (1 - (uint)bVar16) - (uint)(bVar16 != 0); + } + if ((iVar3 == 0) && (*(char *)(param_3 + 0x700) == '\0')) { + *(undefined1 *)(param_3 + 0x700) = 1; + uVar4 = (**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x148) + 0x118) + 8))(); + *(undefined8 *)(param_3 + 0x198) = uVar4; + uVar4 = (**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x148) + 0x118) + 8))(); + *(undefined8 *)(param_3 + 0x1b8) = uVar4; + local_ce8 = Proud::AddrPort::vftable; + uStack_ce0._0_6_ = CONCAT24(local_d6c,local_d70); + FUN_140092c10(param_3 + 0x700,(longlong)&local_ce8); + *(undefined4 *)(param_3 + 0x720) = local_d60; + *(undefined2 *)(param_3 + 0x724) = local_d5c; + lVar8 = param_3; + FUN_14005a220(*(longlong *)(param_1 + 0x148),param_3,SVar12,param_4); + FUN_140074fb0(local_d30); + FUN_140074a40((longlong)local_d30,lVar8,SVar12,param_4); + FUN_140075110(local_d30,0x800,SVar12,param_4); + uVar4 = 0; + FUN_140075110(local_d30,0,SVar12,param_4); + FUN_140029d80((longlong)local_d30,CONCAT71((int7)((ulonglong)uVar4 >> 8),0xf),SVar12,param_4); + local_ce8 = *(undefined ***)(param_3 + 0x728); + uStack_ce0 = *(undefined8 *)(param_3 + 0x730); + FUN_140051cf0((longlong)local_d30,&local_ce8,SVar12,param_4); + piVar7 = (int *)(**(code **)(*(longlong *)(param_3 + 0x108) + 0x10))(); + local_d40 = piVar7; + FUN_14003d040(piVar7); + local_d38 = 1; + lVar8 = FUN_14004ec50((longlong)local_cd8,(longlong)local_d30,SVar12); + local_ce8 = (undefined **)0x0; + uStack_ce0 = CONCAT71(uStack_ce0._1_7_,1); + pppuVar13 = &local_ce8; + FUN_140091090(*(char **)(param_3 + 0x748),lVar8,(SIZE_T *)pppuVar13,param_4); + FUN_14004db20((longlong)local_cd8,lVar8,pppuVar13,param_4); + FUN_14003d0d0((longlong)piVar7); + if (*(longlong *)(*(longlong *)(param_1 + 0x148) + 0x17f0) != 0) { + FUN_14003e7c0(piVar7,lVar8,pppuVar13,param_4); + local_d40 = (int *)PTR_DAT_14016f010; + plVar9 = FUN_1400420f0((longlong)&local_d78,(longlong *)&local_ce8,pppuVar13,param_4); + plVar10 = FUN_1400420f0((longlong)&local_d68,(longlong *)&local_d48,pppuVar13,param_4); + local_d88 = (undefined *)*plVar9; + if ((undefined *)*plVar9 == (undefined *)0x0) { + local_d88 = PTR_DAT_14016f010; + } + puVar15 = (undefined *)*plVar10; + if ((undefined *)*plVar10 == (undefined *)0x0) { + puVar15 = PTR_DAT_14016f010; + } + uVar5 = (ulonglong)*(uint *)(param_3 + 0x6f8); + ppiVar11 = &local_d40; + FUN_140029b80((longlong *)ppiVar11, + L"Client %d가 서버와의 UDP 홀펀칭 성공: Client local Addr=%s,Client addr at server=%s" + ,uVar5,puVar15); + if (((local_d48 != (undefined *)0x0) && (local_d48 != PTR_DAT_14016f010)) && + (local_d48 + -8 != (undefined *)0x0)) { + ppiVar11 = (int **)FUN_14003e7c0(ppiVar11,PTR_DAT_14016f010,uVar5,puVar15); + local_d58 = ppiVar11; + FUN_14003d040((int *)ppiVar11); + local_d50 = 1; + piVar7 = (int *)(local_d48 + -4); + *piVar7 = *piVar7 + -1; + if (*piVar7 == 0) { + FUN_14003e8b0(local_d48 + -8); + } + FUN_14003d0d0((longlong)ppiVar11); + } + ppuVar2 = local_ce8; + local_d48 = PTR_DAT_14016f010; + if (((local_ce8 != (undefined **)0x0) && (local_ce8 != (undefined **)PTR_DAT_14016f010)) && + (ppuVar1 = local_ce8 + -1, ppuVar1 != (undefined **)0x0)) { + ppiVar11 = (int **)FUN_14003e7c0(ppiVar11,PTR_DAT_14016f010,uVar5,puVar15); + local_d58 = ppiVar11; + FUN_14003d040((int *)ppiVar11); + local_d50 = 1; + piVar7 = (int *)((longlong)ppuVar2 + -4); + *piVar7 = *piVar7 + -1; + if (*piVar7 == 0) { + FUN_14003e8b0(ppuVar1); + } + FUN_14003d0d0((longlong)ppiVar11); + } + piVar7 = local_d40; + piVar14 = local_d40; + if (local_d40 == (int *)0x0) { + piVar14 = (int *)PTR_DAT_14016f010; + } + uVar4 = 1; + lVar8 = *(longlong *)(*(longlong *)(param_1 + 0x148) + 0x17f0); + FUN_1400843d0(lVar8,1,(short *)piVar14,puVar15); + if (((piVar7 != (int *)0x0) && (piVar7 != (int *)PTR_DAT_14016f010)) && + (piVar7 + -2 != (int *)0x0)) { + ppiVar11 = (int **)FUN_14003e7c0(lVar8,uVar4,piVar14,puVar15); + local_d58 = ppiVar11; + FUN_14003d040((int *)ppiVar11); + local_d50 = 1; + piVar14 = piVar7 + -1; + *piVar14 = *piVar14 + -1; + if (*piVar14 == 0) { + FUN_14003e8b0(piVar7 + -2); + } + FUN_14003d0d0((longlong)ppiVar11); + } + } + local_ce8 = &local_d28; + FUN_14008a320((longlong *)&local_d28); + if ((local_d20 != 0) && (local_d14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + } + FUN_14003d0d0((longlong)piVar6); + return; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14007be70.c b/decomp/AgentManager_Release_x64/full/functions/0x14007be70.c new file mode 100644 index 00000000..f287fa68 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14007be70.c @@ -0,0 +1,199 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14007be70 FUN_14007be70 + * Pseudocode, not original source. */ + +void FUN_14007be70(longlong param_1,uint *param_2,longlong param_3,undefined8 param_4) + +{ + int *piVar1; + void *pvVar2; + longlong lVar3; + short *psVar4; + char cVar5; + int iVar6; + int iVar7; + ulonglong uVar8; + undefined8 uVar9; + int *piVar10; + longlong lVar11; + longlong *plVar12; + undefined8 *puVar13; + undefined8 *puVar14; + short **ppsVar15; + int *piVar16; + longlong lVar17; + longlong lVar18; + undefined *puVar19; + short *psVar20; + longlong lVar21; + ulonglong uVar22; + uint local_res18 [2]; + undefined8 *local_res20; + short *local_138; + undefined **local_130; + undefined4 local_128; + undefined2 local_124; + undefined *local_120; + undefined **local_118; + undefined4 local_110; + undefined2 local_10c; + undefined **local_108; + undefined4 local_100; + undefined2 local_fc; + int *local_f8; + undefined1 local_f0; + undefined *local_e8; + undefined **local_e0; + undefined4 local_d8; + undefined2 local_d4; + int *local_d0; + undefined1 local_c8; + int *local_c0; + undefined1 local_b8; + short **local_b0; + undefined1 local_a8; + undefined8 local_a0; + undefined8 local_98 [2]; + undefined8 local_88 [2]; + undefined8 local_78 [2]; + undefined8 local_68 [2]; + undefined8 local_58 [2]; + undefined8 local_48 [2]; + + local_a0 = 0xfffffffffffffffe; + lVar11 = param_3; + FUN_140079c10(); + local_118 = Proud::AddrPort::vftable; + lVar18 = 0; + local_110 = 0; + local_10c = 0; + local_130 = Proud::AddrPort::vftable; + local_128 = 0; + local_124 = 0; + uVar8 = FUN_140075910(param_2,(longlong)&local_118); + if ((((char)uVar8 != '\0') && + (uVar8 = FUN_140075910(param_2,(longlong)&local_130), (char)uVar8 != '\0')) && + (uVar9 = FUN_140075970(param_2,local_res18,lVar11,param_4), (char)uVar9 != '\0')) { + piVar10 = (int *)(**(code **)(**(longlong **)(param_1 + 0x148) + 0x58))(); + local_f8 = piVar10; + FUN_14003d040(piVar10); + local_f0 = 1; + if (DAT_14017614f != '\0') { + (**(code **)(**(longlong **)(param_1 + 0x148) + 200)) + (*(longlong **)(param_1 + 0x148), + L"Proud::CNetThreads_S::NetWorkerThread_ProcessMessage_PeerUdp_NotifyHolepunchSuccess" + ); + } + lVar11 = FUN_14004f000(*(longlong *)(param_1 + 0x148),local_res18[0]); + if (lVar11 != 0) { + plVar12 = FUN_14005d550(*(longlong *)(param_1 + 0x148) + 0x2d8,(longlong *)&local_res20, + local_res18[0],*(uint *)(param_3 + 0x6f8)); + if ((longlong *)*plVar12 != (longlong *)0x0) { + lVar18 = *(longlong *)*plVar12; + } + if ((local_res20 != (undefined8 *)0x0) && + (local_res20[1] = local_res20[1] + -1, piVar10 = local_f8, local_res20[1] == 0)) { + pvVar2 = (void *)*local_res20; + if (pvVar2 != (void *)0x0) { + FUN_14004a500((longlong)pvVar2); + operator_delete(pvVar2); + } + FUN_14003e8b0(local_res20); + piVar10 = local_f8; + } + if (((lVar18 != 0) && (*(char *)(lVar18 + 0x1a0) == '\0')) && + (cVar5 = FUN_14004a540(lVar18), cVar5 != '\0')) { + iVar6 = FUN_14004a4c0(lVar18); + local_e0 = Proud::AddrPort::vftable; + local_d8 = local_128; + local_d4 = local_124; + local_108 = Proud::AddrPort::vftable; + local_100 = local_110; + local_fc = local_10c; + FUN_14004a260(lVar18,*(int *)(param_3 + 0x6f8),(longlong)&local_108,(longlong)&local_e0); + iVar7 = FUN_14004a4c0(lVar18); + if ((iVar7 == 2) && (iVar6 == 1)) { + lVar21 = *(longlong *)(*(longlong *)(param_1 + 0x148) + 0x4a8); + puVar13 = FUN_14004a440(lVar18,local_78,*(int *)(lVar11 + 0x6f8)); + puVar14 = FUN_14004a340(lVar18,local_98,*(int *)(lVar11 + 0x6f8)); + (**(code **)(lVar21 + 0x60)) + (*(longlong *)(param_1 + 0x148) + 0x4a8,*(undefined4 *)(param_3 + 0x6f8), + &DAT_140177f90,lVar11 + 0x6f8,puVar14,puVar13); + lVar3 = *(longlong *)(*(longlong *)(param_1 + 0x148) + 0x4a8); + FUN_14004a440(lVar18,local_58,*(int *)(param_3 + 0x6f8)); + FUN_14004a340(lVar18,local_88,*(int *)(param_3 + 0x6f8)); + lVar17 = *(longlong *)(param_1 + 0x148) + 0x4a8; + lVar21 = param_3 + 0x6f8; + puVar19 = &DAT_140177f90; + uVar8 = (ulonglong)*(uint *)(lVar11 + 0x6f8); + (**(code **)(lVar3 + 0x60))(); + if (*(longlong *)(*(longlong *)(param_1 + 0x148) + 0x17f0) != 0) { + FUN_14003e7c0(lVar17,uVar8,puVar19,lVar21); + local_138 = (short *)PTR_DAT_14016f010; + puVar13 = FUN_14004a440(lVar18,local_68,*(int *)(lVar11 + 0x6f8)); + puVar14 = FUN_14004a440(lVar18,local_48,*(int *)(param_3 + 0x6f8)); + (**(code **)*puVar13)(puVar13,&local_e8); + (**(code **)*puVar14)(puVar14,&local_120); + uVar22 = (ulonglong)*(uint *)(lVar11 + 0x6f8); + uVar8 = (ulonglong)*(uint *)(param_3 + 0x6f8); + ppsVar15 = &local_138; + FUN_140029b80((longlong *)ppsVar15, + L"Client %d와 Client %d가 쌍방 홀펀칭을 위한 단계 1 완료: Client %d External Addr=%s,Client %d External Addr=%s" + ,uVar8,uVar22); + if (((local_120 != (undefined *)0x0) && (local_120 != PTR_DAT_14016f010)) && + (local_120 + -8 != (undefined *)0x0)) { + ppsVar15 = (short **)FUN_14003e7c0(ppsVar15,PTR_DAT_14016f010,uVar8,uVar22); + local_b0 = ppsVar15; + FUN_14003d040((int *)ppsVar15); + local_a8 = 1; + piVar1 = (int *)(local_120 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(local_120 + -8); + } + FUN_14003d0d0((longlong)ppsVar15); + } + local_120 = PTR_DAT_14016f010; + if (((local_e8 != (undefined *)0x0) && (local_e8 != PTR_DAT_14016f010)) && + (local_e8 + -8 != (undefined *)0x0)) { + piVar16 = (int *)FUN_14003e7c0(ppsVar15,PTR_DAT_14016f010,uVar8,uVar22); + local_c0 = piVar16; + FUN_14003d040(piVar16); + local_b8 = 1; + piVar1 = (int *)(local_e8 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(local_e8 + -8); + } + FUN_14003d0d0((longlong)piVar16); + } + psVar4 = local_138; + psVar20 = local_138; + if (local_138 == (short *)0x0) { + psVar20 = (short *)PTR_DAT_14016f010; + } + uVar9 = 1; + lVar18 = *(longlong *)(*(longlong *)(param_1 + 0x148) + 0x17f0); + FUN_1400843d0(lVar18,1,psVar20,uVar22); + if (((psVar4 != (short *)0x0) && (psVar4 != (short *)PTR_DAT_14016f010)) && + (psVar4 + -4 != (short *)0x0)) { + piVar16 = (int *)FUN_14003e7c0(lVar18,uVar9,psVar20,uVar22); + local_d0 = piVar16; + FUN_14003d040(piVar16); + local_c8 = 1; + piVar1 = (int *)(psVar4 + -2); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(psVar4 + -4); + } + FUN_14003d0d0((longlong)piVar16); + } + } + } + } + } + FUN_14003d0d0((longlong)piVar10); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14007c350.c b/decomp/AgentManager_Release_x64/full/functions/0x14007c350.c new file mode 100644 index 00000000..13da8151 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14007c350.c @@ -0,0 +1,191 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14007c350 FUN_14007c350 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_14007c350(longlong param_1,uint *param_2,longlong param_3,longlong param_4) + +{ + undefined **ppuVar1; + int *piVar2; + short *psVar3; + undefined **ppuVar4; + ushort uVar5; + undefined8 uVar6; + int *piVar7; + longlong *plVar8; + int *piVar9; + ulonglong *puVar10; + short **ppsVar11; + longlong lVar12; + undefined ***pppuVar13; + longlong lVar14; + wchar_t *pwVar15; + SIZE_T SVar16; + ulonglong uVar17; + undefined *puVar18; + short *psVar19; + undefined1 auStackY_db8 [32]; + short *local_d88; + int local_d80 [2]; + undefined *local_d78; + longlong local_d70; + uint local_d68; + int local_d64; + int *local_d58; + undefined8 local_d50; + undefined1 local_d48; + undefined4 local_d44; + undefined1 local_d40; + undefined1 local_d3f; + int *local_d38; + undefined1 local_d30; + undefined8 local_d28; + exception local_d20 [72]; + undefined **local_cd8; + undefined8 uStack_cd0; + longlong local_cc8; + undefined8 uStack_cc0; + longlong *local_48; + undefined4 local_40; + int local_3c; + ulonglong local_38; + + local_d28 = 0xfffffffffffffffe; + local_38 = DAT_14016f5a0 ^ (ulonglong)auStackY_db8; + lVar12 = param_4; + FUN_140079c10(); + local_cd8 = (undefined **)0x0; + uStack_cd0 = 0; + SVar16 = 0x10; + pppuVar13 = &local_cd8; + uVar6 = FUN_140074ee0(param_2,pppuVar13,0x10); + if ((char)uVar6 != '\0') { + FUN_140074fb0(local_d80); + FUN_140074a40((longlong)local_d80,pppuVar13,SVar16,lVar12); + FUN_140075110(local_d80,0x800,SVar16,lVar12); + uVar6 = 0; + FUN_140075110(local_d80,0,SVar16,lVar12); + FUN_140029d80((longlong)local_d80,CONCAT71((int7)((ulonglong)uVar6 >> 8),0xd),SVar16,lVar12); + FUN_140051cf0((longlong)local_d80,&local_cd8,SVar16,lVar12); + lVar14 = param_3; + FUN_140075bb0((longlong)local_d80,param_3,SVar16,lVar12); + uVar6 = uStack_cd0; + local_3c = 200; + local_40 = 0; + local_48 = &local_cc8; + if (local_d78 == (undefined *)0x0) { + if (local_d70 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,lVar14,0,lVar12); + } + } + else { + local_d68 = *(uint *)(local_d78 + 0x18); + } + local_cc8 = local_d70; + if (local_d70 == 0) { + if (local_d78 == (undefined *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,(ulonglong)local_d68,0,lVar12); + } + local_cc8 = 0; + if (*(int *)(local_d78 + 0x18) != 0) { + local_cc8 = *(longlong *)(local_d78 + 0x10); + } + } + uStack_cd0 = CONCAT44(uStack_cd0._4_4_,local_d68); + local_40 = 1; + uStack_cc0 = uStack_cd0; + local_d58 = (int *)CONCAT44(local_d58._4_4_,5); + local_d50 = 0; + local_d48 = 1; + local_d44 = 0xffffffff; + local_d40 = 1; + local_d3f = DAT_14016f1cc; + local_cd8 = Proud::AddrPort::vftable; + uStack_cd0 = CONCAT26(SUB82(uVar6,6),*(undefined6 *)(param_3 + 8)); + uVar5 = FUN_14008be40(1,0); + uVar17 = (ulonglong)uVar5; + pppuVar13 = &local_cd8; + pwVar15 = (wchar_t *)0x0; + FUN_140091760(param_4,0,uVar5,(longlong)pppuVar13,(longlong)&local_cc8,(uint *)&local_d58); + if (local_48 == (longlong *)0x0) { + FUN_14003db10(local_d20,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,uVar17, + pppuVar13); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_d20,(ThrowInfo *)&DAT_14016c210); + } + if (local_3c < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + piVar7 = (int *)(**(code **)(**(longlong **)(param_1 + 0x148) + 0x58))(); + local_d38 = piVar7; + FUN_14003d040(piVar7); + local_d30 = 1; + puVar10 = *(ulonglong **)(param_1 + 0x148); + if (DAT_14017614f != '\0') { + uVar17 = *puVar10; + pwVar15 = L"Proud::CNetThreads_S::NetWorkerThread_ProcessMessage_ServerHolepunch"; + (**(code **)(uVar17 + 200))(); + } + if (*(longlong *)(*(longlong *)(param_1 + 0x148) + 0x17f0) != 0) { + FUN_14003e7c0(puVar10,pwVar15,uVar17,pppuVar13); + local_d88 = (short *)PTR_DAT_14016f010; + plVar8 = FUN_1400420f0(param_3,(longlong *)&local_cd8,uVar17,pppuVar13); + puVar18 = (undefined *)*plVar8; + if ((undefined *)*plVar8 == (undefined *)0x0) { + puVar18 = PTR_DAT_14016f010; + } + pwVar15 = L"MessageType_ServerHolepunch from %s"; + ppsVar11 = &local_d88; + FUN_140029b80((longlong *)ppsVar11,L"MessageType_ServerHolepunch from %s",puVar18,pppuVar13); + ppuVar4 = local_cd8; + if (((local_cd8 != (undefined **)0x0) && (local_cd8 != (undefined **)PTR_DAT_14016f010)) && + (ppuVar1 = local_cd8 + -1, ppuVar1 != (undefined **)0x0)) { + piVar9 = (int *)FUN_14003e7c0(ppsVar11,pwVar15,puVar18,pppuVar13); + local_d58 = piVar9; + FUN_14003d040(piVar9); + local_d50 = CONCAT71(local_d50._1_7_,1); + piVar2 = (int *)((longlong)ppuVar4 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(ppuVar1); + } + FUN_14003d0d0((longlong)piVar9); + } + psVar3 = local_d88; + psVar19 = local_d88; + if (local_d88 == (short *)0x0) { + psVar19 = (short *)PTR_DAT_14016f010; + } + uVar6 = 1; + lVar12 = *(longlong *)(*(longlong *)(param_1 + 0x148) + 0x17f0); + FUN_1400843d0(lVar12,1,psVar19,pppuVar13); + if (((psVar3 != (short *)0x0) && (psVar3 != (short *)PTR_DAT_14016f010)) && + (psVar3 + -4 != (short *)0x0)) { + piVar9 = (int *)FUN_14003e7c0(lVar12,uVar6,psVar19,pppuVar13); + local_d58 = piVar9; + FUN_14003d040(piVar9); + local_d50 = CONCAT71(local_d50._1_7_,1); + piVar2 = (int *)(psVar3 + -2); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(psVar3 + -4); + } + FUN_14003d0d0((longlong)piVar9); + } + } + FUN_14003d0d0((longlong)piVar7); + local_cd8 = &local_d78; + FUN_14008a320((longlong *)&local_d78); + if ((local_d70 != 0) && (local_d64 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14007c6f0.c b/decomp/AgentManager_Release_x64/full/functions/0x14007c6f0.c new file mode 100644 index 00000000..f898ad5b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14007c6f0.c @@ -0,0 +1,197 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14007c6f0 FUN_14007c6f0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_14007c6f0(longlong param_1,uint *param_2,longlong param_3,longlong param_4) + +{ + undefined **ppuVar1; + int *piVar2; + short *psVar3; + undefined **ppuVar4; + ushort uVar5; + undefined8 uVar6; + int *piVar7; + longlong *plVar8; + int *piVar9; + ulonglong *puVar10; + short **ppsVar11; + longlong lVar12; + uint *puVar13; + ulonglong uVar14; + wchar_t *pwVar15; + SIZE_T SVar16; + undefined *puVar17; + short *psVar18; + undefined ***pppuVar19; + undefined1 auStackY_dc8 [32]; + uint local_d98 [2]; + short *local_d90; + int local_d88 [2]; + undefined *local_d80; + longlong local_d78; + uint local_d70; + int local_d6c; + int *local_d60; + undefined8 local_d58; + undefined1 local_d50; + undefined4 local_d4c; + undefined1 local_d48; + undefined1 local_d47; + int *local_d40; + undefined1 local_d38; + undefined8 local_d30; + exception local_d28 [80]; + undefined **local_cd8; + undefined8 uStack_cd0; + longlong local_cc8; + undefined8 uStack_cc0; + longlong *local_48; + undefined4 local_40; + int local_3c; + ulonglong local_38; + + local_d30 = 0xfffffffffffffffe; + local_38 = DAT_14016f5a0 ^ (ulonglong)auStackY_dc8; + lVar12 = param_4; + FUN_140079c10(); + local_cd8 = (undefined **)0x0; + uStack_cd0 = 0; + SVar16 = 0x10; + uVar6 = FUN_140074ee0(param_2,&local_cd8,0x10); + if ((char)uVar6 != '\0') { + puVar13 = local_d98; + uVar6 = FUN_140075970(param_2,puVar13,SVar16,lVar12); + if ((char)uVar6 != '\0') { + FUN_140074fb0(local_d88); + FUN_140074a40((longlong)local_d88,puVar13,SVar16,lVar12); + FUN_140075110(local_d88,0x800,SVar16,lVar12); + uVar6 = 0; + FUN_140075110(local_d88,0,SVar16,lVar12); + FUN_140029d80((longlong)local_d88,CONCAT71((int7)((ulonglong)uVar6 >> 8),0x11),SVar16,lVar12); + FUN_140051cf0((longlong)local_d88,&local_cd8,SVar16,lVar12); + FUN_140075bb0((longlong)local_d88,param_3,SVar16,lVar12); + uVar14 = (ulonglong)local_d98[0]; + FUN_140029e60((longlong)local_d88,uVar14,SVar16,lVar12); + uVar6 = uStack_cd0; + local_3c = 200; + local_40 = 0; + local_48 = &local_cc8; + if (local_d80 == (undefined *)0x0) { + if (local_d78 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,uVar14,0,lVar12); + } + } + else { + local_d70 = *(uint *)(local_d80 + 0x18); + } + local_cc8 = local_d78; + if (local_d78 == 0) { + if (local_d80 == (undefined *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,(ulonglong)local_d70,0,lVar12); + } + local_cc8 = 0; + if (*(int *)(local_d80 + 0x18) != 0) { + local_cc8 = *(longlong *)(local_d80 + 0x10); + } + } + uStack_cd0 = CONCAT44(uStack_cd0._4_4_,local_d70); + local_40 = 1; + uStack_cc0 = uStack_cd0; + local_d60 = (int *)CONCAT44(local_d60._4_4_,5); + local_d58 = 0; + local_d50 = 1; + local_d4c = 0xffffffff; + local_d48 = 1; + local_d47 = DAT_14016f1cc; + local_cd8 = Proud::AddrPort::vftable; + uStack_cd0 = CONCAT26(SUB82(uVar6,6),*(undefined6 *)(param_3 + 8)); + uVar5 = FUN_14008be40(1,0); + uVar14 = (ulonglong)uVar5; + pppuVar19 = &local_cd8; + pwVar15 = (wchar_t *)0x0; + FUN_140091760(param_4,0,uVar5,(longlong)pppuVar19,(longlong)&local_cc8,(uint *)&local_d60); + if (local_48 == (longlong *)0x0) { + FUN_14003db10(local_d28,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,uVar14, + pppuVar19); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_d28,(ThrowInfo *)&DAT_14016c210); + } + if (local_3c < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + piVar7 = (int *)(**(code **)(**(longlong **)(param_1 + 0x148) + 0x58))(); + local_d40 = piVar7; + FUN_14003d040(piVar7); + local_d38 = 1; + puVar10 = *(ulonglong **)(param_1 + 0x148); + if (DAT_14017614f != '\0') { + uVar14 = *puVar10; + pwVar15 = L"Proud::CNetThreads_S::NetWorkerThread_ProcessMessage_PeerUdp_ServerHolepunch"; + (**(code **)(uVar14 + 200))(); + } + if (*(longlong *)(*(longlong *)(param_1 + 0x148) + 0x17f0) != 0) { + FUN_14003e7c0(puVar10,pwVar15,uVar14,pppuVar19); + local_d90 = (short *)PTR_DAT_14016f010; + plVar8 = FUN_1400420f0(param_3,(longlong *)&local_cd8,uVar14,pppuVar19); + puVar17 = (undefined *)*plVar8; + if ((undefined *)*plVar8 == (undefined *)0x0) { + puVar17 = PTR_DAT_14016f010; + } + pwVar15 = L"MessageType_PeerUdp_ServerHolepunch from %s"; + ppsVar11 = &local_d90; + FUN_140029b80((longlong *)ppsVar11,L"MessageType_PeerUdp_ServerHolepunch from %s",puVar17, + pppuVar19); + ppuVar4 = local_cd8; + if (((local_cd8 != (undefined **)0x0) && (local_cd8 != (undefined **)PTR_DAT_14016f010)) && + (ppuVar1 = local_cd8 + -1, ppuVar1 != (undefined **)0x0)) { + piVar9 = (int *)FUN_14003e7c0(ppsVar11,pwVar15,puVar17,pppuVar19); + local_d60 = piVar9; + FUN_14003d040(piVar9); + local_d58 = CONCAT71(local_d58._1_7_,1); + piVar2 = (int *)((longlong)ppuVar4 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(ppuVar1); + } + FUN_14003d0d0((longlong)piVar9); + } + psVar3 = local_d90; + psVar18 = local_d90; + if (local_d90 == (short *)0x0) { + psVar18 = (short *)PTR_DAT_14016f010; + } + uVar6 = 1; + lVar12 = *(longlong *)(*(longlong *)(param_1 + 0x148) + 0x17f0); + FUN_1400843d0(lVar12,1,psVar18,pppuVar19); + if (((psVar3 != (short *)0x0) && (psVar3 != (short *)PTR_DAT_14016f010)) && + (psVar3 + -4 != (short *)0x0)) { + piVar9 = (int *)FUN_14003e7c0(lVar12,uVar6,psVar18,pppuVar19); + local_d60 = piVar9; + FUN_14003d040(piVar9); + local_d58 = CONCAT71(local_d58._1_7_,1); + piVar2 = (int *)(psVar3 + -2); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(psVar3 + -4); + } + FUN_14003d0d0((longlong)piVar9); + } + } + FUN_14003d0d0((longlong)piVar7); + local_cd8 = &local_d80; + FUN_14008a320((longlong *)&local_d80); + if ((local_d78 != 0) && (local_d6c < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14007cab0.c b/decomp/AgentManager_Release_x64/full/functions/0x14007cab0.c new file mode 100644 index 00000000..d7b95a70 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14007cab0.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14007cab0 FUN_14007cab0 + * Pseudocode, not original source. */ + +void FUN_14007cab0(longlong param_1,undefined8 param_2,SIZE_T *param_3,TypeDescriptor *param_4) + +{ + DWORD DVar1; + char *pcVar2; + + DVar1 = GetCurrentThreadId(); + pcVar2 = "PNSrv Heartbeat"; + FUN_140046070(DVar1,"PNSrv Heartbeat"); + FUN_14007b540(param_1,pcVar2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14007cae0.c b/decomp/AgentManager_Release_x64/full/functions/0x14007cae0.c new file mode 100644 index 00000000..a5ba29c7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14007cae0.c @@ -0,0 +1,495 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14007cae0 FUN_14007cae0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __chkstk replaced with injection: alloca_probe */ +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* WARNING: Removing unreachable block (ram,0x00014007d18c) */ + +void FUN_14007cae0(longlong param_1,uint *param_2,wchar_t *param_3,longlong param_4) + +{ + uint uVar1; + char *pcVar2; + code *pcVar3; + LPVOID pvVar4; + int iVar5; + ulonglong uVar6; + undefined8 uVar7; + longlong lVar8; + ulonglong uVar9; + undefined4 *puVar10; + int *piVar11; + uint uVar12; + wchar_t *pwVar13; + undefined1 *puVar14; + longlong lVar15; + longlong *plVar16; + ulonglong uVar17; + undefined1 *puVar18; + undefined1 *puVar19; + uint uVar20; + undefined8 *puVar21; + longlong lVar22; + undefined8 *puVar23; + SIZE_T *pSVar24; + longlong lVar25; + ulonglong uVar26; + undefined1 auStack_1b88 [32]; + int local_1b68 [2]; + longlong *local_1b60; + longlong *local_1b58; + undefined **local_1b50; + longlong *local_1b48; + LPVOID local_1b40; + undefined8 local_1b38; + undefined8 local_1b30; + uint local_1b28; + int local_1b20 [2]; + longlong local_1b18; + longlong local_1b10; + uint local_1b08; + int local_1b04; + int *local_1af8; + undefined1 local_1af0; + undefined4 local_1ae8; + undefined4 uStack_1ae4; + undefined4 local_1ad8; + undefined4 uStack_1ad4; + int *local_1ad0; + undefined1 local_1ac8; + SIZE_T local_1ac0; + undefined1 local_1ab8; + longlong local_1ab0; + uint uStack_1aa8; + undefined4 uStack_1aa4; + SIZE_T local_1aa0; + undefined1 local_1a98; + longlong local_1a90; + uint uStack_1a88; + undefined4 uStack_1a84; + undefined8 local_1a80; + exception local_1a78 [88]; + undefined8 local_1a20; + undefined4 local_1a18 [2]; + longlong local_1a10; + longlong local_1a08; + uint local_1a00; + int local_19fc; + undefined1 local_19f0 [136]; + longlong local_1968; + undefined8 uStack_1960; + longlong *local_ce8; + undefined4 local_ce0; + int local_cdc; + undefined1 local_cd8 [3200]; + undefined1 *local_58; + undefined4 local_50; + int local_4c; + ulonglong local_48; + undefined8 uStack_40; + + uStack_40 = 0x14007caf6; + puVar18 = auStack_1b88; + puVar19 = auStack_1b88; + local_1a80 = 0xfffffffffffffffe; + local_48 = DAT_14016f5a0 ^ (ulonglong)local_1b68; + uVar17 = 0; + local_1b48 = (longlong *)0x0; + local_1b40 = (LPVOID)0x0; + local_1b38 = 0; + local_1b30 = 0; + local_1b50 = Proud::BypassDestList::vftable; + pwVar13 = param_3; + uVar6 = thunk_FUN_140075b20(param_2,(longlong)&local_1b50,param_3,param_4); + puVar14 = auStack_1b88; + if (((char)uVar6 == '\0') || + (uVar6 = FUN_140075580(param_2,&local_1b58,pwVar13,param_4), plVar16 = local_1b58, + puVar14 = auStack_1b88, (char)uVar6 == '\0')) { +LAB_14007d2db: + pvVar4 = local_1b40; + plVar16 = local_1b48; + local_1b50 = Proud::CFastArray::vftable; + if (local_1b40 == (LPVOID)0x0) goto LAB_14007d30b; + puVar19 = puVar14; + if (local_1b48 != (longlong *)0x0) { + pcVar3 = *(code **)(*local_1b48 + 0x18); + *(undefined8 *)(puVar14 + -8) = 0x14007d304; + (*pcVar3)(plVar16,pvVar4); + goto LAB_14007d30b; + } + } + else { + uVar20 = (uint)local_1b58; + if ((-1 < (int)uVar20) && ((int)uVar20 < DAT_14016f140)) { + uVar1 = *param_2; + uVar12 = (int)uVar1 >> 0x1f & 7; + iVar5 = FUN_14004d230((longlong)param_2,(ulonglong)uVar12,pwVar13,param_4); + if (((int)(uVar12 + uVar1) >> 3) + uVar20 != iVar5) { + param_4 = 2; + FUN_14006c410(*(longlong **)(param_1 + 0x148),param_3, + "msg.GetReadOffset() + payloadLength == msg.GetLength()",2); + } + FUN_140074fb0(local_1b20); + uVar6 = (ulonglong)plVar16 & 0xffffffff; + uVar7 = FUN_140075210(param_2,local_1b20,uVar20,param_4); + if ((char)uVar7 == '\0') { + FUN_14006c410(*(longlong **)(param_1 + 0x148),param_3,"0",2); + local_1b58 = &local_1b18; + FUN_14008a320(&local_1b18); + puVar14 = auStack_1b88; + if (local_1b10 != 0) { + if (local_1b04 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_1b08 = 0; + puVar14 = auStack_1b88; + } + } + else { + lVar8 = (longlong)(int)local_1b38; + local_1b60 = (longlong *)CONCAT44(local_1b60._4_4_,(int)local_1b38); + if ((int)local_1b38 < 1) { + local_1b58 = &local_1b18; + FUN_14008a320(&local_1b18); + puVar14 = auStack_1b88; + if (local_1b10 != 0) { + if (local_1b04 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_1b08 = 0; + puVar14 = auStack_1b88; + } + } + else { + lVar25 = lVar8 * 0x18; + uVar26 = lVar25 + 0x10; + if (uVar26 < 0x401) { + uVar9 = lVar25 + 0x1f; + if (uVar9 <= uVar26) { + uVar9 = 0xffffffffffffff0; + } + lVar25 = -(uVar9 & 0xfffffffffffffff0); + puVar18 = auStack_1b88 + lVar25; + puVar10 = (undefined4 *)((longlong)local_1b68 + lVar25); + puVar23 = (undefined8 *)0x0; + if (puVar10 != (undefined4 *)0x0) { + *puVar10 = 0xcccc; + puVar18 = auStack_1b88 + lVar25; +LAB_14007ccbb: + puVar23 = (undefined8 *)(puVar10 + 4); + } + } + else { + puVar10 = malloc(uVar26); + puVar23 = (undefined8 *)0x0; + if (puVar10 != (undefined4 *)0x0) { + *puVar10 = 0xdddd; + puVar18 = auStack_1b88; + goto LAB_14007ccbb; + } + } + pwVar13 = (wchar_t *)**(longlong **)(param_1 + 0x148); + pcVar3 = *(code **)(pwVar13 + 0x2c); + *(undefined8 *)(puVar18 + -8) = 0x14007cccc; + piVar11 = (int *)(*pcVar3)(); + local_1ad0 = piVar11; + *(undefined8 *)(puVar18 + -8) = 0x14007ccdb; + FUN_14003d040(piVar11); + local_1ac8 = 1; + if (DAT_14017614f != '\0') { + uVar6 = **(ulonglong **)(param_1 + 0x148); + pwVar13 = L"Proud::CNetThreads_S::NetWorkerThread_ProcessMessage_ReliableRelay1"; + pcVar3 = *(code **)(uVar6 + 200); + *(undefined8 *)(puVar18 + -8) = 0x14007cd03; + (*pcVar3)(); + } + pcVar3 = *(code **)(*(longlong *)param_3 + 0x10); + *(undefined8 *)(puVar18 + -8) = 0x14007cd0d; + local_1b28 = (*pcVar3)(); + local_1b68[0] = 0; + puVar21 = puVar23; + uVar26 = uVar17; + if (0 < lVar8) { + do { + pvVar4 = local_1b40; + if ((longlong)uVar17 < 0) { +LAB_14007cdae: + /* WARNING: Subroutine does not return */ + *(undefined **)(puVar18 + -8) = &UNK_14007cdb3; + FUN_14003def0(param_3,pwVar13,uVar6,param_4); + } + if ((int)local_1b38 <= (int)uVar26) goto LAB_14007cdae; + uVar20 = *(uint *)((longlong)local_1b40 + uVar17 * 8); + pwVar13 = (wchar_t *)(ulonglong)uVar20; + lVar8 = *(longlong *)(param_1 + 0x148); + *(undefined8 *)(puVar18 + -8) = 0x14007cd4f; + lVar8 = FUN_14004f000(lVar8,uVar20); + if (lVar8 != 0) { + *(undefined8 *)(puVar18 + -8) = 0x14007cd63; + FUN_140091240(lVar8 + 0xc0); + local_1ae8 = *(undefined4 *)((longlong)pvVar4 + uVar17 * 8 + 4); + local_1ad8 = *(undefined4 *)((longlong)pvVar4 + uVar17 * 8); + *puVar21 = CONCAT44(uStack_1ae4,local_1ae8); + puVar21[1] = lVar8; + puVar21[2] = CONCAT44(uStack_1ad4,local_1ad8); + local_1b68[0] = local_1b68[0] + 1; + puVar21 = puVar21 + 3; + } + uVar17 = uVar17 + 1; + param_3 = (wchar_t *)(longlong)(int)local_1b60; + uVar26 = (ulonglong)((int)uVar26 + 1); + } while ((longlong)uVar17 < (longlong)param_3); + } + piVar11 = local_1ad0; + iVar5 = local_1b68[0]; + *(undefined8 *)(puVar18 + -8) = 0x14007cdc0; + FUN_14003d0d0((longlong)piVar11); + local_1ac8 = 0; + lVar8 = (longlong)iVar5; + while ((0 < lVar8 && (lVar25 = 0, 0 < lVar8))) { + lVar22 = lVar8 * 0x18 + -0x18; + do { + uVar6 = puVar23[lVar25 * 3]; + local_1b60 = (longlong *)puVar23[lVar25 * 3 + 1]; + local_1a20 = puVar23[lVar25 * 3 + 2]; + pcVar3 = *(code **)(*(longlong *)(puVar23[lVar25 * 3 + 1] + 0x108) + 0x10); + *(undefined8 *)(puVar18 + -8) = 0x14007ce1b; + piVar11 = (int *)(*pcVar3)(); + local_1af0 = 0; + local_1af8 = piVar11; + *(undefined8 *)(puVar18 + -8) = 0x14007ce32; + FUN_140074fb0(local_1a18); + pSVar24 = (SIZE_T *)0x80; + puVar14 = local_19f0; + *(undefined8 *)(puVar18 + -8) = 0x14007ce4c; + FUN_140074c30((longlong)local_1a18,(longlong)puVar14,0x80,param_4); + *(undefined8 *)(puVar18 + -8) = 0x14007ce5b; + FUN_140029d80((longlong)local_1a18,CONCAT71((int7)((ulonglong)puVar14 >> 8),0x17), + (SIZE_T)pSVar24,param_4); + uVar17 = (ulonglong)local_1b28; + *(undefined8 *)(puVar18 + -8) = 0x14007ce6a; + FUN_140029e60((longlong)local_1a18,uVar17,(SIZE_T)pSVar24,param_4); + *(undefined8 *)(puVar18 + -8) = 0x14007ce78; + FUN_140029e60((longlong)local_1a18,uVar6 & 0xffffffff,(SIZE_T)pSVar24,param_4); + *(undefined8 *)(puVar18 + -8) = 0x14007ce8b; + FUN_140074a00((longlong *)&local_1ae8,(longlong)local_1a18); + lVar15 = (longlong)(int)local_1b58; + *(undefined8 *)(puVar18 + -8) = 0x14007ce9c; + FUN_140076380((longlong)local_1a18,lVar15,(SIZE_T)pSVar24,param_4); + local_4c = 200; + local_50 = 0; + local_58 = local_cd8; + local_cdc = 200; + local_ce0 = 0; + local_ce8 = &local_1968; + if (local_1a10 == 0) { + uVar20 = local_1a00; + if (local_1a08 == 0) { + /* WARNING: Subroutine does not return */ + *(undefined8 *)(puVar18 + -8) = 0x14007d24d; + FUN_14008a420(0,lVar15,pSVar24,param_4); + } + } + else { + uVar20 = *(uint *)(local_1a10 + 0x18); + } + lVar15 = local_1a08; + if (local_1a08 == 0) { + if (local_1a10 == 0) { + /* WARNING: Subroutine does not return */ + *(undefined **)(puVar18 + -8) = &UNK_14007d247; + FUN_14008a420(0,(ulonglong)uVar20,pSVar24,param_4); + } + lVar15 = 0; + if (*(int *)(local_1a10 + 0x18) != 0) { + lVar15 = *(longlong *)(local_1a10 + 0x10); + } + } + local_ce0 = 1; + uStack_1960 = CONCAT44(uStack_1aa4,uVar20); + plVar16 = &local_1968; + local_1ab0 = lVar15; + uStack_1aa8 = uVar20; + local_1968 = lVar15; + *(undefined8 *)(puVar18 + -8) = 0x14007cf53; + FUN_14004dc30((longlong)local_cd8,(longlong)plVar16,pSVar24,param_4); + if (local_ce8 == (longlong *)0x0) { + *(undefined8 *)(puVar18 + -8) = 0x14007d22e; + FUN_14003db10(local_1a78,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368 + ,pSVar24,param_4); + /* WARNING: Subroutine does not return */ + *(undefined **)(puVar18 + -8) = &UNK_14007d241; + _CxxThrowException(local_1a78,(ThrowInfo *)&DAT_14016c210); + } + if (local_cdc < 0) { + /* WARNING: Subroutine does not return */ + *(undefined **)(puVar18 + -8) = &UNK_14007d21a; + FUN_14003dec0(); + } + local_cdc = 200; + local_ce0 = 0; + local_ce8 = &local_1968; + if (local_1b18 == 0) { + uVar20 = local_1b08; + if (local_1b10 == 0) { + /* WARNING: Subroutine does not return */ + *(undefined8 *)(puVar18 + -8) = 0x14007d214; + FUN_14008a420(0,plVar16,pSVar24,param_4); + } + } + else { + uVar20 = *(uint *)(local_1b18 + 0x18); + } + lVar15 = local_1b10; + if (local_1b10 == 0) { + if (local_1b18 == 0) { + /* WARNING: Subroutine does not return */ + *(undefined **)(puVar18 + -8) = &UNK_14007d20e; + FUN_14008a420(0,(ulonglong)uVar20,pSVar24,param_4); + } + lVar15 = 0; + if (*(int *)(local_1b18 + 0x18) != 0) { + lVar15 = *(longlong *)(local_1b18 + 0x10); + } + } + local_ce0 = 1; + uStack_1960 = CONCAT44(uStack_1a84,uVar20); + local_1a90 = lVar15; + uStack_1a88 = uVar20; + local_1968 = lVar15; + *(undefined8 *)(puVar18 + -8) = 0x14007cffd; + FUN_14004dc30((longlong)local_cd8,(longlong)&local_1968,pSVar24,param_4); + if (local_ce8 == (longlong *)0x0) { + *(undefined8 *)(puVar18 + -8) = 0x14007d1f5; + FUN_14003db10(local_1a78,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368 + ,pSVar24,param_4); + /* WARNING: Subroutine does not return */ + *(undefined **)(puVar18 + -8) = &UNK_14007d208; + _CxxThrowException(local_1a78,(ThrowInfo *)&DAT_14016c210); + } + if (local_cdc < 0) { + /* WARNING: Subroutine does not return */ + *(undefined **)(puVar18 + -8) = &UNK_14007d1e1; + FUN_14003dec0(); + } + if (lVar25 == 0) { + local_1af0 = 1; + *(undefined8 *)(puVar18 + -8) = 0x14007d0b5; + FUN_14003d040(piVar11); + plVar16 = local_1b60; + local_1aa0 = 0; + local_1a98 = 1; + pSVar24 = &local_1aa0; + pcVar2 = *(char **)((longlong)local_1b60 + 0x748); + *(undefined8 *)(puVar18 + -8) = 0x14007d0e1; + FUN_140091090(pcVar2,(longlong)local_cd8,pSVar24,param_4); + *(undefined8 *)(puVar18 + -8) = 0x14007d0e9; + FUN_14003d0d0((longlong)piVar11); + local_1af0 = 0; + *(undefined8 *)(puVar18 + -8) = 0x14007d0fa; + FUN_140091250((longlong)plVar16 + 0xc0); + puVar23[1] = 0; + *puVar23 = *(undefined8 *)(lVar22 + (longlong)puVar23); + puVar23[1] = *(undefined8 *)(lVar22 + 8 + (longlong)puVar23); + puVar23[2] = *(undefined8 *)(lVar22 + 0x10 + (longlong)puVar23); +LAB_14007d11b: + local_1b68[0] = local_1b68[0] + -1; + lVar8 = lVar8 + -1; + lVar22 = lVar22 + -0x18; + } + else { + *(undefined8 *)(puVar18 + -8) = 0x14007d02a; + local_1af0 = FUN_14003d090(piVar11); + if ((bool)local_1af0) { + local_1ac0 = 0; + local_1ab8 = 1; + pSVar24 = &local_1ac0; + pcVar2 = *(char **)((longlong)local_1b60 + 0x748); + *(undefined8 *)(puVar18 + -8) = 0x14007d068; + FUN_140091090(pcVar2,(longlong)local_cd8,pSVar24,param_4); + *(undefined8 *)(puVar18 + -8) = 0x14007d070; + FUN_14003d0d0((longlong)piVar11); + local_1af0 = 0; + lVar15 = (longlong)local_1b60 + 0xc0; + *(undefined8 *)(puVar18 + -8) = 0x14007d085; + FUN_140091250(lVar15); + puVar23[lVar25 * 3 + 1] = 0; + puVar23[lVar25 * 3] = *(undefined8 *)(lVar22 + (longlong)puVar23); + puVar23[lVar25 * 3 + 1] = *(undefined8 *)(lVar22 + 8 + (longlong)puVar23); + puVar23[lVar25 * 3 + 2] = *(undefined8 *)(lVar22 + 0x10 + (longlong)puVar23); + goto LAB_14007d11b; + } + } + if (local_58 == (undefined1 *)0x0) { + *(undefined8 *)(puVar18 + -8) = 0x14007d1c8; + FUN_14003db10(local_1a78,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368 + ,pSVar24,param_4); + /* WARNING: Subroutine does not return */ + *(undefined **)(puVar18 + -8) = &UNK_14007d1db; + _CxxThrowException(local_1a78,(ThrowInfo *)&DAT_14016c210); + } + if (local_4c < 0) { + /* WARNING: Subroutine does not return */ + *(undefined **)(puVar18 + -8) = &UNK_14007d1b4; + FUN_14003dec0(); + } + local_50 = 0; + *(undefined8 *)(puVar18 + -8) = 0x14007d152; + FUN_140074a20((longlong *)&local_1ae8); + local_1b60 = &local_1a10; + *(undefined8 *)(puVar18 + -8) = 0x14007d16a; + FUN_14008a320(&local_1a10); + if (local_1a08 != 0) { + if (local_19fc < 0) { + /* WARNING: Subroutine does not return */ + *(undefined8 *)(puVar18 + -8) = 0x14007d1ae; + FUN_14003dec0(); + } + local_1a00 = 0; + } + lVar25 = lVar25 + 1; + } while (lVar25 < lVar8); + } + if ((puVar23 != (undefined8 *)0x0) && (*(int *)(puVar23 + -2) == 0xdddd)) { + *(undefined8 *)(puVar18 + -8) = 0x14007d265; + free(puVar23 + -2); + } + local_1b58 = &local_1b18; + *(undefined8 *)(puVar18 + -8) = 0x14007d277; + FUN_14008a320(&local_1b18); + puVar14 = puVar18; + if (local_1b10 != 0) { + if (local_1b04 < 0) { + /* WARNING: Subroutine does not return */ + *(undefined **)(puVar18 + -8) = &UNK_14007d28a; + FUN_14003dec0(); + } + local_1b08 = 0; + } + } + } + goto LAB_14007d2db; + } + FUN_14006c410(*(longlong **)(param_1 + 0x148),param_3,"0",2); + local_1b50 = Proud::CFastArray::vftable; + puVar14 = auStack_1b88; + if (local_1b40 == (LPVOID)0x0) goto LAB_14007d30b; + if (local_1b48 != (longlong *)0x0) { + (**(code **)(*local_1b48 + 0x18))(); + puVar14 = auStack_1b88; + goto LAB_14007d30b; + } + } + pvVar4 = local_1b40; + local_1b50 = Proud::CFastArray::vftable; + *(undefined8 *)(puVar19 + -8) = 0x14007d30b; + FUN_14003e8b0(pvVar4); + puVar14 = puVar19; +LAB_14007d30b: + *(undefined8 *)(puVar14 + -8) = 0x14007d31a; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14007d340.c b/decomp/AgentManager_Release_x64/full/functions/0x14007d340.c new file mode 100644 index 00000000..3c659a7f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14007d340.c @@ -0,0 +1,438 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14007d340 FUN_14007d340 + * Pseudocode, not original source. */ + +/* WARNING: Function: __chkstk replaced with injection: alloca_probe */ +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* WARNING: Removing unreachable block (ram,0x00014007d96e) */ + +void FUN_14007d340(longlong param_1,uint *param_2,wchar_t *param_3,uint **param_4) + +{ + uint uVar1; + longlong *plVar2; + code *pcVar3; + int iVar4; + undefined8 uVar5; + ulonglong uVar6; + ulonglong uVar7; + ulonglong uVar8; + undefined4 *puVar9; + int *piVar10; + wchar_t *pwVar11; + char *pcVar12; + longlong lVar13; + longlong *plVar14; + uint uVar15; + wchar_t *pwVar16; + longlong lVar17; + undefined1 *puVar18; + int *piVar19; + undefined1 *puVar20; + longlong lVar21; + wchar_t *pwVar22; + longlong **pplVar23; + undefined1 *puVar24; + longlong *plVar25; + longlong lVar26; + longlong *plVar27; + uint uVar28; + undefined1 auStack_1b18 [32]; + undefined4 local_1af8; + uint local_1af4; + undefined8 local_1af0; + ulonglong local_1ae8; + longlong *local_1ae0; + bool local_1ad8; + uint local_1ad0 [2]; + undefined8 local_1ac8; + undefined1 local_1ac0; + undefined4 local_1abc; + undefined1 local_1ab8; + undefined1 local_1ab7; + uint local_1ab0 [2]; + undefined **local_1aa8; + longlong *local_1aa0; + longlong *local_1a98; + ulonglong local_1a90; + undefined8 local_1a88; + int local_1a80 [2]; + longlong local_1a78; + longlong local_1a70; + undefined4 local_1a68; + int local_1a64; + longlong local_1a58; + wchar_t *local_1a50; + undefined8 local_1a48; + int *local_1a40; + undefined1 local_1a38; + undefined8 local_1a30; + longlong local_1a28 [2]; + undefined4 local_1a18 [2]; + longlong local_1a10; + longlong local_1a08; + undefined4 local_1a00; + int local_19fc; + undefined1 local_19f0 [136]; + undefined1 local_1968 [3200]; + undefined1 *local_ce8; + undefined4 local_ce0; + undefined4 local_cdc; + undefined1 local_cd8 [3216]; + ulonglong local_48; + undefined8 uStack_40; + + uStack_40 = 0x14007d356; + puVar20 = auStack_1b18; + local_1a30 = 0xfffffffffffffffe; + local_48 = DAT_14016f5a0 ^ (ulonglong)&local_1af8; + pwVar22 = param_3; + local_1a58 = param_1; + uVar5 = FUN_140075710(param_2,local_1ab0,param_3,param_4); + puVar18 = auStack_1b18; + if (((char)uVar5 == '\0') || + (uVar6 = FUN_140075580(param_2,&local_1a48,pwVar22,param_4), puVar18 = auStack_1b18, + (char)uVar6 == '\0')) goto LAB_14007da7f; + plVar25 = (longlong *)0x0; + local_1aa0 = (longlong *)0x0; + local_1a98 = (longlong *)0x0; + local_1a90 = 0; + local_1a88 = 0; + local_1aa8 = Proud::HostIDArray::vftable; + uVar6 = FUN_140075580(param_2,&local_1ae8,pwVar22,param_4); + plVar14 = plVar25; + plVar27 = plVar25; + if (((char)uVar6 == '\0') || + ((iVar4 = (int)local_1ae8, plVar27 = (longlong *)0x0, iVar4 < 0 || (DAT_14016f140 < iVar4)))) { +LAB_14007da5f: + puVar18 = auStack_1b18; + if (plVar27 == (longlong *)0x0) goto LAB_14007da7f; + puVar18 = auStack_1b18; + if (plVar14 == (longlong *)0x0) { +LAB_14007da77: + *(undefined8 *)(puVar18 + -8) = 0x14007da7f; + FUN_14003e8b0(plVar27); + goto LAB_14007da7f; + } + lVar17 = *plVar14; + puVar18 = auStack_1b18; + } + else { + FUN_14004cce0((longlong)&local_1aa8,iVar4,(longlong)pwVar22); + plVar27 = local_1a98; + plVar14 = local_1a98; + if ((int)local_1a90 == 0) { + plVar14 = plVar25; + } + uVar6 = (ulonglong)(uint)(iVar4 * 4); + uVar5 = FUN_140074ee0(param_2,plVar14,uVar6); + plVar14 = local_1aa0; + if ((char)uVar5 == '\0') goto LAB_14007da5f; + uVar7 = FUN_140075580(param_2,&local_1ae8,uVar6,param_4); + uVar8 = local_1ae8; + puVar18 = auStack_1b18; + if ((char)uVar7 != '\0') { + uVar28 = (uint)local_1ae8; + if (((int)uVar28 < 0) || (DAT_14016f140 <= (int)uVar28)) { + FUN_14006c410(*(longlong **)(param_1 + 0x148),param_3, + "Proud::CNetThreads_S::NetWorkerThread_ProcessMessage_UnreliableRelay1",2); + puVar18 = auStack_1b18; + } + else { + uVar1 = *param_2; + uVar15 = (int)uVar1 >> 0x1f & 7; + iVar4 = FUN_14004d230((longlong)param_2,(ulonglong)uVar15,uVar6,param_4); + if (((int)(uVar15 + uVar1) >> 3) + uVar28 != iVar4) { + param_4 = (uint **)0x2; + FUN_14006c410(*(longlong **)(param_1 + 0x148),param_3, + "msg.GetReadOffset() + payloadLength == msg.GetLength()",2); + } + FUN_140074fb0(local_1a80); + pplVar23 = (longlong **)(uVar8 & 0xffffffff); + uVar5 = FUN_140075210(param_2,local_1a80,uVar28,param_4); + if ((char)uVar5 == '\0') { + FUN_14006c410(*(longlong **)(param_1 + 0x148),param_3, + "Proud::CNetThreads_S::NetWorkerThread_ProcessMessage_UnreliableRelay1",2); + local_1ae0 = &local_1a78; + FUN_14008a320(&local_1a78); + puVar18 = auStack_1b18; + if (local_1a70 != 0) { + if (local_1a64 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_1a68 = 0; + puVar18 = auStack_1b18; + } + } + else { + iVar4 = (int)local_1a90; + piVar19 = (int *)(longlong)(int)local_1a90; + if ((int)local_1a90 < 1) { + local_1ae0 = &local_1a78; + FUN_14008a320(&local_1a78); + puVar18 = auStack_1b18; + if (local_1a70 != 0) { + if (local_1a64 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_1a68 = 0; + puVar18 = auStack_1b18; + } + } + else { + uVar6 = ((longlong)piVar19 + 1) * 0x10; + local_1ae0 = (longlong *)piVar19; + if (uVar6 < 0x401) { + uVar8 = uVar6 + 0xf; + if (uVar8 <= uVar6) { + uVar8 = 0xffffffffffffff0; + } + lVar17 = -(uVar8 & 0xfffffffffffffff0); + puVar20 = auStack_1b18 + lVar17; + puVar9 = (undefined4 *)((longlong)&local_1af8 + lVar17); + pwVar22 = (wchar_t *)0x0; + if (puVar9 != (undefined4 *)0x0) { + *puVar9 = 0xcccc; + puVar20 = auStack_1b18 + lVar17; +LAB_14007d5d2: + pwVar22 = (wchar_t *)(puVar9 + 4); + } + } + else { + puVar9 = malloc(uVar6); + pwVar22 = (wchar_t *)0x0; + if (puVar9 != (undefined4 *)0x0) { + *puVar9 = 0xdddd; + puVar20 = auStack_1b18; + goto LAB_14007d5d2; + } + } + pwVar16 = (wchar_t *)**(longlong **)(param_1 + 0x148); + pcVar3 = *(code **)(pwVar16 + 0x2c); + *(undefined8 *)(puVar20 + -8) = 0x14007d5e3; + piVar10 = (int *)(*pcVar3)(); + local_1a40 = piVar10; + *(undefined8 *)(puVar20 + -8) = 0x14007d5f2; + FUN_14003d040(piVar10); + local_1a38 = 1; + if (DAT_14017614f != '\0') { + pplVar23 = (longlong **)**(ulonglong **)(param_1 + 0x148); + pwVar16 = L"Proud::CNetThreads_S::NetWorkerThread_ProcessMessage_UnreliableRelay1"; + pcVar3 = (code *)pplVar23[0x19]; + *(undefined8 *)(puVar20 + -8) = 0x14007d61a; + (*pcVar3)(); + } + pcVar3 = *(code **)(*(longlong *)param_3 + 0x10); + *(undefined8 *)(puVar20 + -8) = 0x14007d624; + local_1af4 = (*pcVar3)(); + local_1af0 = (ulonglong)local_1af0._4_4_ << 0x20; + plVar14 = plVar25; + pwVar11 = pwVar22; + if (0 < iVar4) { + do { + local_1a50 = pwVar11; + if (((longlong)plVar25 < 0) || ((int)piVar19 <= (int)plVar14)) { + /* WARNING: Subroutine does not return */ + *(undefined **)(puVar20 + -8) = &UNK_14007d6c7; + FUN_14003def0(param_3,pwVar16,pplVar23,param_4); + } + uVar28 = *(uint *)((longlong)plVar27 + (longlong)plVar25 * 4); + pwVar16 = (wchar_t *)(ulonglong)uVar28; + param_3 = *(wchar_t **)(param_1 + 0x148); + *(undefined8 *)(puVar20 + -8) = 0x14007d65d; + pwVar11 = (wchar_t *)FUN_14004f000((longlong)param_3,uVar28); + local_1ac8 = CONCAT44(local_1ac8._4_4_,uVar28); + if (pwVar11 != (wchar_t *)0x0) { + *(undefined8 *)(puVar20 + -8) = 0x14007d674; + FUN_140091240((longlong)(pwVar11 + 0x60)); + plVar2 = *(longlong **)(local_1a58 + 0x148); + *(undefined8 *)(puVar20 + -8) = 0x14007d68a; + pwVar16 = pwVar11; + FUN_1400623e0(plVar2,(longlong *)pwVar11,pplVar23,param_4); + *(wchar_t **)local_1a50 = pwVar11; + *(undefined8 *)(local_1a50 + 4) = local_1ac8; + local_1af0 = CONCAT44(local_1af0._4_4_,(int)local_1af0 + 1); + param_3 = local_1a50 + 8; + local_1a50 = param_3; + } + plVar25 = (longlong *)((longlong)plVar25 + 1); + piVar19 = (int *)(local_1a90 & 0xffffffff); + param_1 = local_1a58; + plVar14 = (longlong *)(ulonglong)((int)plVar14 + 1); + pwVar11 = local_1a50; + } while ((longlong)plVar25 < (longlong)local_1ae0); + } + piVar19 = local_1a40; + *(undefined8 *)(puVar20 + -8) = 0x14007d6d4; + FUN_14003d0d0((longlong)piVar19); + local_1a38 = 0; + *(undefined8 *)(puVar20 + -8) = 0x14007d6e7; + FUN_140074fb0(local_1a18); + puVar24 = (undefined1 *)0x80; + puVar18 = local_19f0; + *(undefined8 *)(puVar20 + -8) = 0x14007d701; + FUN_140074c30((longlong)local_1a18,(longlong)puVar18,0x80,param_4); + *(undefined8 *)(puVar20 + -8) = 0x14007d710; + FUN_140029d80((longlong)local_1a18,CONCAT71((int7)((ulonglong)puVar18 >> 8),0x18), + (SIZE_T)puVar24,param_4); + uVar6 = (ulonglong)local_1af4; + *(undefined8 *)(puVar20 + -8) = 0x14007d71f; + FUN_140029e60((longlong)local_1a18,uVar6,(SIZE_T)puVar24,param_4); + *(undefined8 *)(puVar20 + -8) = 0x14007d732; + FUN_140074a00(local_1a28,(longlong)local_1a18); + lVar17 = (longlong)(int)(uint)local_1ae8; + *(undefined8 *)(puVar20 + -8) = 0x14007d743; + FUN_140076380((longlong)local_1a18,lVar17,(SIZE_T)puVar24,param_4); + local_cdc = 200; + local_ce0 = 0; + local_ce8 = local_1968; + *(undefined8 *)(puVar20 + -8) = 0x14007d774; + FUN_14004ec50((longlong)local_cd8,(longlong)local_1a18,puVar24); + puVar18 = local_cd8; + *(undefined8 *)(puVar20 + -8) = 0x14007d788; + FUN_14004dc30((longlong)local_1968,(longlong)puVar18,puVar24,param_4); + *(undefined8 *)(puVar20 + -8) = 0x14007d795; + FUN_14004db20((longlong)local_cd8,puVar18,puVar24,param_4); + *(undefined8 *)(puVar20 + -8) = 0x14007d7a5; + FUN_14004ec50((longlong)local_cd8,(longlong)local_1a80,puVar24); + puVar18 = local_cd8; + *(undefined8 *)(puVar20 + -8) = 0x14007d7b9; + FUN_14004dc30((longlong)local_1968,(longlong)puVar18,puVar24,param_4); + *(undefined8 *)(puVar20 + -8) = 0x14007d7c6; + FUN_14004db20((longlong)local_cd8,puVar18,puVar24,param_4); + local_1af8._1_1_ = DAT_140178020; + local_1af8._0_1_ = DAT_140178040; + local_1af4 = local_1ab0[0]; + lVar17 = (longlong)(int)local_1af0; + while ((0 < lVar17 && (lVar26 = 0, plVar27 = local_1a98, 0 < lVar17))) { + lVar21 = lVar17 * 0x10 + -0x10; + do { + lVar13 = *(longlong *)(pwVar22 + lVar26 * 8); + local_1af0 = lVar13; + local_1ae8 = *(ulonglong *)(pwVar22 + lVar26 * 8 + 4); + pcVar3 = *(code **)(*(longlong *)(lVar13 + 0x108) + 0x10); + *(undefined8 *)(puVar20 + -8) = 0x14007d834; + piVar19 = (int *)(*pcVar3)(); + local_1ad8 = false; + local_1ae0 = (longlong *)piVar19; + if (lVar26 == 0) { + local_1ad8 = true; + *(undefined8 *)(puVar20 + -8) = 0x14007d8eb; + FUN_14003d040(piVar19); + local_1ad0[0] = local_1af4; + local_1ac8 = local_1a48; + local_1ac0 = local_1af8._1_1_; + local_1abc = 0xffffffff; + local_1ab8 = (undefined1)local_1af8; + local_1ab7 = 0; + param_4 = (uint **)local_1ad0; + puVar24 = local_1968; + uVar28 = (uint)local_1ae8; + puVar18 = (undefined1 *)(local_1ae8 & 0xffffffff); + *(undefined8 *)(puVar20 + -8) = 0x14007d92f; + FUN_140092950((char *)(lVar13 + 0x700),uVar28,(longlong)puVar24,(uint *)param_4); + *(undefined8 *)(puVar20 + -8) = 0x14007d937; + FUN_14003d0d0((longlong)piVar19); + local_1ad8 = false; + lVar13 = local_1af0 + 0xc0; + *(undefined8 *)(puVar20 + -8) = 0x14007d94c; + FUN_140091250(lVar13); + pwVar22[0] = L'\0'; + pwVar22[1] = L'\0'; + pwVar22[2] = L'\0'; + pwVar22[3] = L'\0'; + *(undefined8 *)pwVar22 = *(undefined8 *)(lVar21 + (longlong)pwVar22); + *(undefined8 *)(pwVar22 + 4) = *(undefined8 *)(lVar21 + 8 + (longlong)pwVar22); +LAB_14007d963: + lVar17 = lVar17 + -1; + lVar21 = lVar21 + -0x10; + } + else { + *(undefined8 *)(puVar20 + -8) = 0x14007d850; + local_1ad8 = FUN_14003d090(piVar19); + if (local_1ad8) { + local_1ad0[0] = local_1af4; + local_1ac8 = local_1a48; + local_1ac0 = local_1af8._1_1_; + local_1abc = 0xffffffff; + local_1ab8 = (undefined1)local_1af8; + local_1ab7 = 0; + pcVar12 = (char *)(local_1af0 + 0x700); + param_4 = (uint **)local_1ad0; + puVar24 = local_1968; + uVar28 = (uint)local_1ae8; + puVar18 = (undefined1 *)(local_1ae8 & 0xffffffff); + *(undefined8 *)(puVar20 + -8) = 0x14007d8a6; + FUN_140092950(pcVar12,uVar28,(longlong)puVar24,(uint *)param_4); + *(undefined8 *)(puVar20 + -8) = 0x14007d8ae; + FUN_14003d0d0((longlong)piVar19); + local_1ad8 = false; + lVar13 = local_1af0 + 0xc0; + *(undefined8 *)(puVar20 + -8) = 0x14007d8c3; + FUN_140091250(lVar13); + pwVar16 = pwVar22 + lVar26 * 8; + pwVar16[0] = L'\0'; + pwVar16[1] = L'\0'; + pwVar16[2] = L'\0'; + pwVar16[3] = L'\0'; + *(undefined8 *)(pwVar22 + lVar26 * 8) = + *(undefined8 *)(lVar21 + (longlong)pwVar22); + *(undefined8 *)(pwVar22 + lVar26 * 8 + 4) = + *(undefined8 *)(lVar21 + 8 + (longlong)pwVar22); + goto LAB_14007d963; + } + } + lVar26 = lVar26 + 1; + plVar27 = local_1a98; + } while (lVar26 < lVar17); + } + if ((pwVar22 != (wchar_t *)0x0) && (*(int *)(pwVar22 + -8) == 0xdddd)) { + *(undefined8 *)(puVar20 + -8) = 0x14007d9af; + free(pwVar22 + -8); + } + *(undefined8 *)(puVar20 + -8) = 0x14007d9bc; + FUN_14004db20((longlong)local_1968,puVar18,puVar24,param_4); + *(undefined8 *)(puVar20 + -8) = 0x14007d9c9; + FUN_140074a20(local_1a28); + local_1ae0 = &local_1a10; + *(undefined8 *)(puVar20 + -8) = 0x14007d9e1; + FUN_14008a320(&local_1a10); + if (local_1a08 != 0) { + if (local_19fc < 0) { + /* WARNING: Subroutine does not return */ + *(undefined **)(puVar20 + -8) = &UNK_14007d9fa; + FUN_14003dec0(); + } + local_1a00 = 0; + } + local_1ae0 = &local_1a78; + *(undefined8 *)(puVar20 + -8) = 0x14007da18; + FUN_14008a320(&local_1a78); + puVar18 = puVar20; + if (local_1a70 != 0) { + if (local_1a64 < 0) { + /* WARNING: Subroutine does not return */ + *(undefined **)(puVar20 + -8) = &UNK_14007da31; + FUN_14003dec0(); + } + local_1a68 = 0; + } + } + } + } + } + if (plVar27 == (longlong *)0x0) goto LAB_14007da7f; + if (local_1aa0 == (longlong *)0x0) goto LAB_14007da77; + lVar17 = *local_1aa0; + plVar14 = local_1aa0; + } + pcVar3 = *(code **)(lVar17 + 0x18); + *(undefined8 *)(puVar18 + -8) = 0x14007da75; + (*pcVar3)(plVar14,plVar27); +LAB_14007da7f: + *(undefined8 *)(puVar18 + -8) = 0x14007da8e; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14007dab0.c b/decomp/AgentManager_Release_x64/full/functions/0x14007dab0.c new file mode 100644 index 00000000..c2e56117 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14007dab0.c @@ -0,0 +1,170 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14007dab0 FUN_14007dab0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __chkstk replaced with injection: alloca_probe */ +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_14007dab0(longlong param_1,uint *param_2,wchar_t *param_3,undefined8 param_4) + +{ + int iVar1; + uint uVar2; + undefined8 uVar3; + ulonglong uVar4; + int *piVar5; + longlong lVar6; + uint uVar7; + undefined1 *puVar8; + wchar_t *pwVar9; + undefined8 uVar10; + SIZE_T SVar11; + longlong **pplVar12; + undefined1 auStack_1aa8 [32]; + longlong *local_1a88; + undefined1 local_1a80; + uint local_1a78; + uint local_1a74; + int local_1a70 [2]; + longlong local_1a68; + longlong local_1a60; + int local_1a54; + int *local_1a48; + undefined1 local_1a40; + int *local_1a38; + undefined1 local_1a30; + longlong local_1a28 [2]; + undefined8 local_1a18; + undefined4 local_1a08 [2]; + longlong local_1a00; + longlong local_19f8; + undefined4 local_19f0; + int local_19ec; + undefined1 local_19e0 [136]; + undefined1 local_1958 [3200]; + undefined1 *local_cd8; + undefined4 local_cd0; + undefined4 local_ccc; + undefined1 local_cc8 [3216]; + ulonglong local_38; + undefined8 uStack_30; + + uStack_30 = 0x14007daca; + local_1a18 = 0xfffffffffffffffe; + local_38 = DAT_14016f5a0 ^ (ulonglong)auStack_1aa8; + pwVar9 = param_3; + FUN_140079c10(); + uVar3 = FUN_140075970(param_2,&local_1a78,pwVar9,param_4); + if ((char)uVar3 != '\0') { + uVar10 = 4; + uVar3 = FUN_140074ee0(param_2,(undefined8 *)&local_1a74,4); + if ((char)uVar3 != '\0') { + uVar4 = FUN_140075580(param_2,&local_1a88,uVar10,param_4); + if ((char)uVar4 != '\0') { + if (((int)(uint)local_1a88 < 0) || (DAT_14016f140 <= (int)(uint)local_1a88)) { + FUN_14006c410(*(longlong **)(param_1 + 0x148),param_3, + "Proud::CNetThreads_S::NetWorkerThread_ProcessMessage_LingerDataFrame1",2); + } + else { + uVar2 = *param_2; + uVar7 = (int)uVar2 >> 0x1f & 7; + iVar1 = FUN_14004d230((longlong)param_2,(ulonglong)uVar7,uVar10,param_4); + if (((int)(uVar7 + uVar2) >> 3) + (uint)local_1a88 != iVar1) { + param_4 = 2; + FUN_14006c410(*(longlong **)(param_1 + 0x148),param_3, + "msg.GetReadOffset() + frameLength == msg.GetLength()",2); + } + FUN_140074fb0(local_1a70); + uVar3 = FUN_140075210(param_2,local_1a70,(uint)local_1a88,param_4); + if ((char)uVar3 == '\0') { + FUN_14006c410(*(longlong **)(param_1 + 0x148),param_3, + "Proud::CNetThreads_S::NetWorkerThread_ProcessMessage_LingerDataFrame1",2) + ; + local_1a88 = &local_1a68; + FUN_14008a320(&local_1a68); + if ((local_1a60 != 0) && (local_1a54 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + } + else { + piVar5 = (int *)(**(code **)(**(longlong **)(param_1 + 0x148) + 0x58))(); + local_1a48 = piVar5; + FUN_14003d040(piVar5); + local_1a40 = 1; + if (DAT_14017614f != '\0') { + (**(code **)(**(longlong **)(param_1 + 0x148) + 200)) + (*(longlong **)(param_1 + 0x148), + L"Proud::CNetThreads_S::NetWorkerThread_ProcessMessage_LingerDataFrame1"); + } + uVar2 = (**(code **)(*(longlong *)param_3 + 0x10))(param_3); + lVar6 = FUN_14004f000(*(longlong *)(param_1 + 0x148),local_1a78); + if (lVar6 == 0) { + FUN_14003d0d0((longlong)piVar5); + local_1a88 = &local_1a68; + FUN_14008a320(&local_1a68); + if ((local_1a60 != 0) && (local_1a54 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + } + else { + FUN_14003d0d0((longlong)piVar5); + local_1a40 = 0; + FUN_140074fb0(local_1a08); + SVar11 = 0x80; + puVar8 = local_19e0; + FUN_140074c30((longlong)local_1a08,(longlong)puVar8,0x80,param_4); + FUN_140029d80((longlong)local_1a08,CONCAT71((int7)((ulonglong)puVar8 >> 8),0x19), + SVar11,param_4); + FUN_140029e60((longlong)local_1a08,(ulonglong)uVar2,SVar11,param_4); + FUN_140029e60((longlong)local_1a08,(ulonglong)local_1a74,SVar11,param_4); + FUN_140074a00(local_1a28,(longlong)local_1a08); + FUN_140076380((longlong)local_1a08,(longlong)(int)(uint)local_1a88,SVar11,param_4); + local_ccc = 200; + local_cd0 = 0; + local_cd8 = local_1958; + FUN_14004ec50((longlong)local_cc8,(longlong)local_1a08,SVar11); + puVar8 = local_cc8; + FUN_14004dc30((longlong)local_1958,(longlong)puVar8,SVar11,param_4); + FUN_14004db20((longlong)local_cc8,puVar8,SVar11,param_4); + FUN_14004ec50((longlong)local_cc8,(longlong)local_1a70,SVar11); + puVar8 = local_cc8; + FUN_14004dc30((longlong)local_1958,(longlong)puVar8,SVar11,param_4); + FUN_14004db20((longlong)local_cc8,puVar8,SVar11,param_4); + piVar5 = (int *)(**(code **)(*(longlong *)(lVar6 + 0x108) + 0x10))(); + local_1a38 = piVar5; + FUN_14003d040(piVar5); + local_1a30 = 1; + local_1a88 = (longlong *)0x0; + local_1a80 = 1; + pplVar12 = &local_1a88; + puVar8 = local_1958; + FUN_140091090(*(char **)(lVar6 + 0x748),(longlong)puVar8,(SIZE_T *)pplVar12,param_4); + FUN_14003d0d0((longlong)piVar5); + FUN_14004db20((longlong)local_1958,puVar8,pplVar12,param_4); + FUN_140074a20(local_1a28); + local_1a88 = &local_1a00; + FUN_14008a320(&local_1a00); + if (local_19f8 != 0) { + if (local_19ec < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_19f0 = 0; + } + local_1a88 = &local_1a68; + FUN_14008a320(&local_1a68); + if ((local_1a60 != 0) && (local_1a54 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + } + } + } + } + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14007de80.c b/decomp/AgentManager_Release_x64/full/functions/0x14007de80.c new file mode 100644 index 00000000..b3ca5c1f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14007de80.c @@ -0,0 +1,149 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14007de80 FUN_14007de80 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_14007de80(longlong param_1,uint *param_2,longlong *param_3,undefined8 param_4) + +{ + uint uVar1; + undefined8 uVar2; + int *piVar3; + int *piVar4; + longlong lVar5; + wchar_t *pwVar6; + undefined8 uVar7; + SIZE_T SVar8; + uint *puVar9; + uint *puVar10; + undefined1 auStack_da8 [32]; + undefined8 local_d88; + undefined8 uStack_d80; + undefined1 local_d78; + undefined4 local_d74; + undefined1 local_d70; + undefined1 local_d6f; + undefined4 local_d68 [2]; + longlong local_d60; + longlong local_d58; + uint local_d50; + int local_d4c; + int *local_d40; + undefined1 local_d38; + int *local_d30; + undefined1 local_d28; + undefined8 local_d20; + exception local_d18 [80]; + uint local_cc8; + uint uStack_cc4; + uint uStack_cc0; + undefined4 uStack_cbc; + uint *local_48; + undefined4 local_40; + int local_3c; + ulonglong local_38; + + local_d20 = 0xfffffffffffffffe; + local_38 = DAT_14016f5a0 ^ (ulonglong)auStack_da8; + FUN_140079c10(); + uVar2 = FUN_140074ee0(param_2,&local_d88,8); + if ((char)uVar2 != '\0') { + SVar8 = 8; + pwVar6 = (wchar_t *)&local_d40; + uVar2 = FUN_140074ee0(param_2,(undefined8 *)pwVar6,8); + if ((char)uVar2 != '\0') { + piVar3 = (int *)(**(code **)(**(longlong **)(param_1 + 0x148) + 0x58))(); + local_d30 = piVar3; + FUN_14003d040(piVar3); + local_d28 = 1; + if (DAT_14017614f != '\0') { + SVar8 = **(SIZE_T **)(param_1 + 0x148); + pwVar6 = + L"Proud::CNetThreads_S::NetWorkerThread_ProcessMessage_RequestServerTimeAndKeepAlive"; + (**(code **)(SVar8 + 200))(); + } + lVar5 = (**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x148) + 0x118) + 8))(); + param_3[0x33] = lVar5; + lVar5 = (**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x148) + 0x118) + 8))(); + param_3[0x37] = lVar5; + param_3[0x38] = (longlong)local_d40; + param_3[0x39] = + (longlong)(((double)local_d40 - (double)param_3[0x39]) * 0.5 + (double)param_3[0x39]); + FUN_140074fb0(local_d68); + FUN_140074a40((longlong)local_d68,pwVar6,SVar8,param_4); + uVar7 = CONCAT71((int7)((ulonglong)pwVar6 >> 8),0x1c); + FUN_140029d80((longlong)local_d68,uVar7,SVar8,param_4); + FUN_14002f5c0((longlong)local_d68,local_d88,SVar8,param_4); + uVar2 = (**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x148) + 0x118) + 8))(); + FUN_14002f5c0((longlong)local_d68,uVar2,SVar8,param_4); + piVar4 = (int *)(**(code **)(param_3[0x21] + 0x10))(); + local_d40 = piVar4; + FUN_14003d040(piVar4); + local_d38 = 1; + local_3c = 200; + local_40 = 0; + local_48 = &local_cc8; + if (local_d60 == 0) { + uStack_cc0 = local_d50; + if (local_d58 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,uVar7,SVar8,param_4); + } + } + else { + uStack_cc0 = *(uint *)(local_d60 + 0x18); + } + lVar5 = local_d58; + if (local_d58 == 0) { + if (local_d60 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,(ulonglong)uStack_cc0,SVar8,param_4); + } + lVar5 = 0; + if (*(int *)(local_d60 + 0x18) != 0) { + lVar5 = *(longlong *)(local_d60 + 0x10); + } + } + local_40 = 1; + local_d88._0_4_ = (uint)lVar5; + local_d88._4_4_ = (uint)((ulonglong)lVar5 >> 0x20); + local_cc8 = (uint)local_d88; + uStack_cc4 = local_d88._4_4_; + uStack_cbc = uStack_d80._4_4_; + local_d88 = (longlong *)((ulonglong)local_d88._4_4_ << 0x20); + uStack_d80 = 0; + local_d78 = 1; + local_d74 = 0xffffffff; + local_d70 = 1; + local_d6f = DAT_14016f1cc; + uVar1 = (**(code **)(*param_3 + 0x10))(param_3); + puVar10 = (uint *)&local_d88; + puVar9 = &local_cc8; + FUN_140092950((char *)(param_3 + 0xe0),uVar1,(longlong)puVar9,puVar10); + if (local_48 == (uint *)0x0) { + FUN_14003db10(local_d18,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,puVar9, + puVar10); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_d18,(ThrowInfo *)&DAT_14016c210); + } + if (local_3c < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + FUN_14003d0d0((longlong)piVar4); + local_d88 = &local_d60; + FUN_14008a320(&local_d60); + if (local_d58 != 0) { + if (local_d4c < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_d50 = 0; + } + FUN_14003d0d0((longlong)piVar3); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14007e180.c b/decomp/AgentManager_Release_x64/full/functions/0x14007e180.c new file mode 100644 index 00000000..36c10bfb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14007e180.c @@ -0,0 +1,97 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14007e180 FUN_14007e180 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_14007e180(undefined8 param_1,longlong param_2,SIZE_T param_3,undefined8 param_4) + +{ + int *piVar1; + longlong lVar2; + undefined8 uVar3; + longlong **pplVar4; + undefined1 auStack_d68 [32]; + longlong *local_d48; + undefined1 uStack_d40; + undefined3 uStack_d3f; + undefined4 uStack_d3c; + int local_d38 [2]; + longlong local_d30; + longlong local_d28; + uint local_d20; + int local_d1c; + int *local_d10; + undefined1 local_d08; + undefined8 local_d00; + exception local_cf8 [80]; + longlong local_ca8; + undefined8 uStack_ca0; + longlong *local_28; + undefined4 local_20; + int local_1c; + ulonglong local_18; + + local_d00 = 0xfffffffffffffffe; + local_18 = DAT_14016f5a0 ^ (ulonglong)auStack_d68; + lVar2 = param_2; + FUN_140074fb0(local_d38); + FUN_140074a40((longlong)local_d38,lVar2,param_3,param_4); + FUN_140075110(local_d38,0x800,param_3,param_4); + uVar3 = 0; + FUN_140075110(local_d38,0,param_3,param_4); + uVar3 = CONCAT71((int7)((ulonglong)uVar3 >> 8),8); + FUN_140029d80((longlong)local_d38,uVar3,param_3,param_4); + piVar1 = (int *)(**(code **)(*(longlong *)(param_2 + 0x108) + 0x10))(); + local_d10 = piVar1; + FUN_14003d040(piVar1); + local_d08 = 1; + local_1c = 200; + local_20 = 0; + local_28 = &local_ca8; + if (local_d30 == 0) { + if (local_d28 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,uVar3,0,param_4); + } + } + else { + local_d20 = *(uint *)(local_d30 + 0x18); + } + local_ca8 = local_d28; + if (local_d28 == 0) { + if (local_d30 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,(ulonglong)local_d20,0,param_4); + } + local_ca8 = 0; + if (*(int *)(local_d30 + 0x18) != 0) { + local_ca8 = *(longlong *)(local_d30 + 0x10); + } + } + local_20 = 1; + uStack_ca0 = CONCAT44(uStack_d3c,local_d20); + local_d48 = (longlong *)0x0; + _uStack_d40 = CONCAT31((int3)(local_d20 >> 8),1); + pplVar4 = &local_d48; + FUN_140091090(*(char **)(param_2 + 0x748),(longlong)&local_ca8,(SIZE_T *)pplVar4,param_4); + if (local_28 == (longlong *)0x0) { + FUN_14003db10(local_cf8,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,pplVar4, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_cf8,(ThrowInfo *)&DAT_14016c210); + } + if (local_1c < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + FUN_14003d0d0((longlong)piVar1); + local_d48 = &local_d30; + FUN_14008a320(&local_d30); + if ((local_d28 != 0) && (local_d1c < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14007e350.c b/decomp/AgentManager_Release_x64/full/functions/0x14007e350.c new file mode 100644 index 00000000..20631ce9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14007e350.c @@ -0,0 +1,147 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14007e350 FUN_14007e350 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_14007e350(longlong param_1,undefined8 param_2,longlong *param_3,undefined8 param_4) + +{ + longlong *plVar1; + uint uVar2; + int *piVar3; + int *piVar4; + longlong lVar5; + undefined8 *puVar6; + undefined8 uVar7; + longlong *plVar8; + uint *puVar9; + uint *puVar10; + undefined4 extraout_XMM0_Da; + undefined4 extraout_XMM0_Db; + undefined1 auStack_da8 [32]; + undefined8 local_d88; + undefined8 uStack_d80; + undefined1 local_d78; + undefined4 local_d74; + undefined1 local_d70; + undefined1 local_d6f; + int local_d68 [2]; + undefined *local_d60; + longlong local_d58; + uint local_d50; + int local_d4c; + int *local_d40; + undefined1 local_d38; + int *local_d30; + undefined1 local_d28; + undefined8 local_d20; + exception local_d18 [80]; + uint local_cc8; + undefined4 uStack_cc4; + uint uStack_cc0; + undefined4 uStack_cbc; + uint *local_48; + undefined4 local_40; + int local_3c; + ulonglong local_38; + + local_d20 = 0xfffffffffffffffe; + local_38 = DAT_14016f5a0 ^ (ulonglong)auStack_da8; + plVar8 = param_3; + FUN_140079c10(); + piVar3 = (int *)(**(code **)(**(longlong **)(param_1 + 0x148) + 0x58))(); + local_d30 = piVar3; + FUN_14003d040(piVar3); + local_d28 = 1; + if (DAT_14017614f != '\0') { + plVar8 = (longlong *)**(longlong **)(param_1 + 0x148); + (*(code *)plVar8[0x19]) + (*(longlong **)(param_1 + 0x148), + L"Proud::CNetThreads_S::NetWorkerThread_ProcessMessage_RequestReceiveSpeedAtReceiverSide_NoBypass" + ); + } + if (((param_3 != (longlong *)0x0) && + (plVar1 = (longlong *)param_3[0xe8], plVar1 != (longlong *)0x0)) && (*plVar1 != 0)) { + local_d88 = Proud::AddrPort::vftable; + uStack_d80 = CONCAT26(uStack_d80._6_2_,(int6)param_3[0xe2]); + puVar6 = &local_d88; + FUN_14008c900(*(longlong *)(*plVar1 + 0x178),(longlong)puVar6); + if (0.0 <= (double)CONCAT44(extraout_XMM0_Db,extraout_XMM0_Da) && + (double)CONCAT44(extraout_XMM0_Db,extraout_XMM0_Da) != 0.0) { + FUN_140074fb0(local_d68); + FUN_140074a40((longlong)local_d68,puVar6,(SIZE_T)plVar8,param_4); + FUN_140075110(local_d68,0x800,(SIZE_T)plVar8,param_4); + uVar7 = 0; + FUN_140075110(local_d68,0,(SIZE_T)plVar8,param_4); + uVar7 = CONCAT71((int7)((ulonglong)uVar7 >> 8),0x28); + FUN_140029d80((longlong)local_d68,uVar7,(SIZE_T)plVar8,param_4); + FUN_14002f5c0((longlong)local_d68,CONCAT44(extraout_XMM0_Db,extraout_XMM0_Da),(SIZE_T)plVar8, + param_4); + piVar4 = (int *)(**(code **)(param_3[0x21] + 0x10))(); + local_d40 = piVar4; + FUN_14003d040(piVar4); + local_d38 = 1; + local_3c = 200; + local_40 = 0; + local_48 = &local_cc8; + if (local_d60 == (undefined *)0x0) { + if (local_d58 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,uVar7,0,param_4); + } + } + else { + local_d50 = *(uint *)(local_d60 + 0x18); + } + lVar5 = local_d58; + if (local_d58 == 0) { + if (local_d60 == (undefined *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,(ulonglong)local_d50,0,param_4); + } + lVar5 = 0; + if (*(int *)(local_d60 + 0x18) != 0) { + lVar5 = *(longlong *)(local_d60 + 0x10); + } + } + local_40 = 1; + local_d88._0_4_ = (uint)lVar5; + local_d88._4_4_ = (undefined4)((ulonglong)lVar5 >> 0x20); + local_cc8 = (uint)local_d88; + uStack_cc4 = local_d88._4_4_; + uStack_cbc = uStack_d80._4_4_; + local_d88 = (undefined **)CONCAT44(local_d88._4_4_,1); + uStack_d80 = 0; + local_d78 = 1; + local_d74 = 0xffffffff; + local_d70 = 1; + local_d6f = DAT_14016f1cc; + uStack_cc0 = local_d50; + uVar2 = (**(code **)(*param_3 + 0x10))(param_3); + puVar10 = (uint *)&local_d88; + puVar9 = &local_cc8; + FUN_140092950((char *)(param_3 + 0xe0),uVar2,(longlong)puVar9,puVar10); + if (local_48 == (uint *)0x0) { + FUN_14003db10(local_d18,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,puVar9, + puVar10); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_d18,(ThrowInfo *)&DAT_14016c210); + } + if (local_3c < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + FUN_14003d0d0((longlong)piVar4); + local_d88 = &local_d60; + FUN_14008a320((longlong *)&local_d60); + if ((local_d58 != 0) && (local_d4c < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + } + } + FUN_14003d0d0((longlong)piVar3); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14007e620.c b/decomp/AgentManager_Release_x64/full/functions/0x14007e620.c new file mode 100644 index 00000000..7fec9829 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14007e620.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14007e620 FUN_14007e620 + * Pseudocode, not original source. */ + +undefined8 * FUN_14007e620(undefined8 *param_1,uint param_2) + +{ + LPVOID pvVar1; + longlong *plVar2; + + *param_1 = Proud::CFastArray::vftable; + if (0 < *(int *)(param_1 + 3)) { + FUN_14007b4d0(param_1[2],(longlong)*(int *)(param_1 + 3)); + } + pvVar1 = (LPVOID)param_1[2]; + if (pvVar1 != (LPVOID)0x0) { + plVar2 = (longlong *)param_1[1]; + if (plVar2 == (longlong *)0x0) { + FUN_14003e8b0(pvVar1); + } + else { + (**(code **)(*plVar2 + 0x18))(plVar2,pvVar1); + } + } + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14007e690.c b/decomp/AgentManager_Release_x64/full/functions/0x14007e690.c new file mode 100644 index 00000000..f78b1fb4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14007e690.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14007e690 FUN_14007e690 + * Pseudocode, not original source. */ + +undefined8 * FUN_14007e690(char *param_1,longlong param_2) + +{ + longlong lVar1; + ulonglong uVar2; + undefined8 *puVar3; + uint uVar4; + uint uVar5; + + uVar4 = (uint)*(ushort *)(param_2 + 0xc) ^ *(uint *)(param_2 + 8); + uVar2 = (ulonglong)uVar4 % (ulonglong)*(uint *)(param_1 + 0x28); + uVar5 = (uint)uVar2; + if (*(longlong *)(param_1 + 8) != 0) { + for (lVar1 = *(longlong *)(*(longlong *)(param_1 + 8) + uVar2 * 8); + (lVar1 != 0 && (uVar5 == *(uint *)(lVar1 + 0x28) % *(uint *)(param_1 + 0x28))); + lVar1 = *(longlong *)(lVar1 + 0x18)) { + if ((*(uint *)(lVar1 + 8) == *(uint *)(param_2 + 8)) && + (*(ushort *)(lVar1 + 0xc) == *(ushort *)(param_2 + 0xc))) { + return (undefined8 *)(lVar1 + 0x10); + } + } + } + puVar3 = FUN_14008de50(param_1,param_2,uVar5,uVar4); + return puVar3 + 2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14007e740.c b/decomp/AgentManager_Release_x64/full/functions/0x14007e740.c new file mode 100644 index 00000000..b10ea27e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14007e740.c @@ -0,0 +1,78 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14007e740 FUN_14007e740 + * Pseudocode, not original source. */ + +void FUN_14007e740(longlong param_1,int param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong *plVar1; + LPVOID pvVar2; + int iVar3; + longlong lVar4; + longlong lVar5; + exception local_58 [80]; + + if (param_2 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + iVar3 = *(int *)(param_1 + 0x18); + if (param_2 != iVar3) { + if (*(int *)(param_1 + 0x1c) < param_2) { + iVar3 = FUN_140079e30(param_1,param_2); + plVar1 = *(longlong **)(param_1 + 8); + lVar4 = (longlong)iVar3; + if (*(int *)(param_1 + 0x1c) == 0) { + if (plVar1 == (longlong *)0x0) { + lVar4 = FUN_14003e840(lVar4 * 0x48); + } + else { + lVar4 = (**(code **)(*plVar1 + 8))(plVar1,lVar4 * 0x48); + } + *(longlong *)(param_1 + 0x10) = lVar4; + FUN_14007b250(lVar4,(longlong)param_2); + } + else { + pvVar2 = *(LPVOID *)(param_1 + 0x10); + if (plVar1 == (longlong *)0x0) { + lVar4 = FUN_14003e840(lVar4 * 0x48); + } + else { + lVar4 = (**(code **)(*plVar1 + 8))(plVar1,lVar4 * 0x48); + } + lVar5 = (longlong)*(int *)(param_1 + 0x18); + FUN_14007b2f0(lVar4,(longlong)pvVar2,lVar5); + FUN_14007b250(lVar4 + (longlong)*(int *)(param_1 + 0x18) * 0x48, + (longlong)(param_2 - *(int *)(param_1 + 0x18))); + if (lVar4 == 0) { + FUN_14003db10(local_58,L"Memory allocation failure!",lVar5,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + FUN_14007b4d0((longlong)pvVar2,(longlong)*(int *)(param_1 + 0x18)); + plVar1 = *(longlong **)(param_1 + 8); + if (plVar1 == (longlong *)0x0) { + FUN_14003e8b0(pvVar2); + } + else { + (**(code **)(*plVar1 + 0x18))(plVar1,pvVar2); + } + *(longlong *)(param_1 + 0x10) = lVar4; + } + *(int *)(param_1 + 0x1c) = iVar3; + } + else if (iVar3 - param_2 < 1) { + if (0 < param_2 - iVar3) { + FUN_14007b250(*(longlong *)(param_1 + 0x10) + (longlong)iVar3 * 0x48, + (longlong)(param_2 - iVar3)); + } + } + else { + FUN_14007b4d0(*(longlong *)(param_1 + 0x10) + (longlong)param_2 * 0x48, + (longlong)(iVar3 - param_2)); + } + *(int *)(param_1 + 0x18) = param_2; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14007e8f0.c b/decomp/AgentManager_Release_x64/full/functions/0x14007e8f0.c new file mode 100644 index 00000000..638ef692 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14007e8f0.c @@ -0,0 +1,28 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14007e8f0 FUN_14007e8f0 + * Pseudocode, not original source. */ + +void FUN_14007e8f0(undefined8 *param_1) + +{ + LPVOID pvVar1; + longlong *plVar2; + + *param_1 = Proud::CFastArray::vftable; + if (0 < *(int *)(param_1 + 3)) { + FUN_14007b4d0(param_1[2],(longlong)*(int *)(param_1 + 3)); + } + pvVar1 = (LPVOID)param_1[2]; + if (pvVar1 != (LPVOID)0x0) { + plVar2 = (longlong *)param_1[1]; + if (plVar2 != (longlong *)0x0) { + /* WARNING: Could not recover jumptable at 0x00014007e937. Too many branches */ + /* WARNING: Treating indirect jump as call */ + (**(code **)(*plVar2 + 0x18))(plVar2,pvVar1); + return; + } + FUN_14003e8b0(pvVar1); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14007e950.c b/decomp/AgentManager_Release_x64/full/functions/0x14007e950.c new file mode 100644 index 00000000..6a828144 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14007e950.c @@ -0,0 +1,50 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14007e950 FUN_14007e950 + * Pseudocode, not original source. */ + +ulonglong FUN_14007e950(longlong param_1,longlong param_2,uint *param_3,longlong param_4) + +{ + uint uVar1; + undefined8 uVar2; + ulonglong uVar3; + uint *puVar4; + longlong lVar5; + uint local_res18 [4]; + undefined **local_38; + undefined4 local_30; + undefined2 local_2c; + undefined **local_28; + undefined4 local_20; + undefined2 local_1c; + + uVar1 = *param_3; + puVar4 = param_3; + lVar5 = param_4; + uVar2 = FUN_140075810(param_3,local_res18,param_3,param_4); + if ((char)uVar2 == '\0') { +LAB_14007e98c: + uVar3 = FUN_140074bb0((int *)param_3, + (ulonglong)(uint)((int)(((int)uVar1 >> 0x1f & 7U) + uVar1) >> 3),puVar4, + lVar5); + uVar3 = uVar3 & 0xffffffffffffff00; + } + else { + if (local_res18[0] == 0xc) { + local_28 = Proud::AddrPort::vftable; + local_20 = *(undefined4 *)(param_2 + 8); + local_1c = *(undefined2 *)(param_2 + 0xc); + uVar2 = FUN_14007c350(param_1,param_3,(longlong)&local_28,param_4); + } + else { + if (local_res18[0] != 0x10) goto LAB_14007e98c; + local_38 = Proud::AddrPort::vftable; + local_30 = *(undefined4 *)(param_2 + 8); + local_2c = *(undefined2 *)(param_2 + 0xc); + uVar2 = FUN_14007c6f0(param_1,param_3,(longlong)&local_38,param_4); + } + uVar3 = CONCAT71((int7)((ulonglong)uVar2 >> 8),1); + } + return uVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14007ea20.c b/decomp/AgentManager_Release_x64/full/functions/0x14007ea20.c new file mode 100644 index 00000000..af8fed9c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14007ea20.c @@ -0,0 +1,197 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14007ea20 FUN_14007ea20 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_14007ea20(longlong param_1,uint *param_2,uint *param_3,undefined8 param_4) + +{ + char cVar1; + int iVar2; + int *piVar3; + undefined8 *puVar4; + ulonglong uVar5; + undefined8 uVar6; + undefined **ppuVar7; + longlong lVar8; + uint *puVar9; + SIZE_T SVar10; + undefined ***pppuVar11; + int iVar12; + bool bVar13; + undefined1 auStack_da8 [32]; + undefined **local_d88; + undefined *local_d80; + longlong local_d78; + ulonglong local_d70; + undefined8 local_d68; + undefined **local_d60; + undefined8 local_d58; + undefined8 *local_d50; + undefined8 local_d48; + undefined8 local_d40; + undefined **local_d38; + undefined8 local_d30; + undefined8 local_d28; + undefined8 local_d20; + undefined8 local_d18; + int *local_d10; + undefined1 local_d08; + undefined8 local_d00; + undefined **local_cf8; + undefined **ppuStack_cf0; + undefined **local_ce8; + undefined **ppuStack_ce0; + undefined1 local_cd8 [3216]; + ulonglong local_48; + + local_d00 = 0xfffffffffffffffe; + local_48 = DAT_14016f5a0 ^ (ulonglong)auStack_da8; + puVar9 = param_3; + FUN_140079c10(); + piVar3 = (int *)(**(code **)(**(longlong **)(param_1 + 0x148) + 0x58))(); + local_d10 = piVar3; + FUN_14003d040(piVar3); + local_d08 = 1; + if (DAT_14017614f != '\0') { + puVar9 = (uint *)**(longlong **)(param_1 + 0x148); + (**(code **)(puVar9 + 0x32)) + (*(longlong **)(param_1 + 0x148), + L"Proud::CNetThreads_S::NetWorkerThread_ProcessMessage_NotifyServerConnectionRequestData" + ); + } + iVar2 = 0; + puVar4 = (undefined8 *)0x0; + if (*(longlong *)(*(longlong *)(param_1 + 0x148) + 0x1708) != 0) { + puVar4 = *(undefined8 **)(*(longlong *)(param_1 + 0x148) + 0x16f8); + } + do { + if (puVar4 == (undefined8 *)0x0) { + FUN_14007e180(param_1,(longlong)param_3,(SIZE_T)puVar9,param_4); +LAB_14007edff: + FUN_14003d0d0((longlong)piVar3); + return; + } + if (param_3 == (uint *)puVar4[2]) { + local_d58 = 0; + local_d50 = (undefined8 *)0x0; + local_d48 = 0; + local_d40 = 0; + local_d60 = Proud::ByteArray::vftable; + uVar5 = FUN_140075580(param_2,&local_cf8,puVar9,param_4); + ppuVar7 = local_cf8; + if ((((char)uVar5 != '\0') && (iVar12 = (int)local_cf8, -1 < iVar12)) && + (iVar12 <= DAT_14016f140)) { + FUN_14002a050((longlong)&local_d60,iVar12,(SIZE_T)puVar9); + puVar4 = local_d50; + if ((int)local_d48 == 0) { + puVar4 = (undefined8 *)0x0; + } + puVar9 = (uint *)((ulonglong)ppuVar7 & 0xffffffff); + uVar6 = FUN_140074ee0(param_2,puVar4,puVar9); + if ((char)uVar6 != '\0') { + local_cf8 = (undefined **)0x0; + ppuStack_cf0 = (undefined **)0x0; + SVar10 = 0x10; + uVar6 = FUN_140074ee0(param_2,&local_cf8,0x10); + if ((char)uVar6 == '\0') { + FUN_14007e180(param_1,(longlong)param_3,SVar10,param_4); + FUN_140049e40(&local_d60); + } + else { + local_ce8 = local_cf8; + ppuStack_ce0 = ppuStack_cf0; + SVar10 = 4; + uVar6 = FUN_140074ee0(param_2,&local_cf8,4); + if ((char)uVar6 == '\0') { + FUN_14007e180(param_1,(longlong)param_3,SVar10,param_4); + FUN_140049e40(&local_d60); + } + else { + SVar10 = *(SIZE_T *)(param_1 + 0x148); + bVar13 = local_ce8 < *(undefined ***)(SVar10 + 1000); + ppuVar7 = local_ce8; + if ((local_ce8 != *(undefined ***)(SVar10 + 1000)) || + (bVar13 = ppuStack_ce0 < *(undefined ***)(SVar10 + 0x3f0), ppuVar7 = ppuStack_ce0, + ppuStack_ce0 != *(undefined ***)(SVar10 + 0x3f0))) { + iVar2 = (1 - (uint)bVar13) - (uint)(bVar13 != 0); + } + if ((iVar2 == 0) && ((int)local_cf8 == *(int *)(SVar10 + 0x220))) { + cVar1 = FUN_14004ae60((longlong)(param_3 + 0xa2)); + if (cVar1 == '\x01') { + lVar8 = *(longlong *)(param_1 + 0x148); + if (*(longlong *)(lVar8 + 0x758) == 0) { + local_d80 = (undefined *)0x0; + local_d78 = 0; + local_d70 = 0; + local_d68 = 0; + local_d88 = Proud::ByteArray::vftable; + FUN_140066550(lVar8,param_3,(longlong)&local_d88,param_4); + FUN_140049e40(&local_d88); + } + else { + local_cf8 = Proud::AddrPort::vftable; + ppuStack_cf0 = (undefined **) + CONCAT26(ppuStack_cf0._6_2_, + *(undefined6 *)(*(longlong *)(param_3 + 0x1d2) + 0x130)) + ; + FUN_14006dec0(lVar8,(longlong)&local_cf8,(SIZE_T)&local_d60,param_4); + } + FUN_140049e40(&local_d60); + } + else { + FUN_140074fb0((undefined4 *)&local_d88); + FUN_140074a40((longlong)&local_d88,ppuVar7,SVar10,param_4); + FUN_140075110((int *)&local_d88,0x800,SVar10,param_4); + uVar6 = 0; + FUN_140075110((int *)&local_d88,0,SVar10,param_4); + FUN_140029d80((longlong)&local_d88,CONCAT71((int7)((ulonglong)uVar6 >> 8),9), + SVar10,param_4); + local_d30 = 0; + local_d28 = 0; + local_d20 = 0; + local_d18 = 0; + local_d38 = Proud::ByteArray::vftable; + FUN_140076380((longlong)&local_d88,0,SVar10,param_4); + FUN_140049e40(&local_d38); + ppuVar7 = (undefined **)(**(code **)(*(longlong *)(param_3 + 0x42) + 0x10))(); + local_ce8 = ppuVar7; + FUN_14003d040((int *)ppuVar7); + ppuStack_ce0 = (undefined **)CONCAT71(ppuStack_ce0._1_7_,1); + lVar8 = FUN_14004ec50((longlong)local_cd8,(longlong)&local_d88,SVar10); + local_cf8 = (undefined **)0x0; + ppuStack_cf0 = (undefined **)CONCAT71(ppuStack_cf0._1_7_,1); + pppuVar11 = &local_cf8; + FUN_140091090(*(char **)(param_3 + 0x1d2),lVar8,(SIZE_T *)pppuVar11,param_4); + FUN_14004db20((longlong)local_cd8,lVar8,pppuVar11,param_4); + FUN_14003d0d0((longlong)ppuVar7); + local_cf8 = &local_d80; + FUN_14008a320((longlong *)&local_d80); + if (local_d78 != 0) { + if ((longlong)local_d70 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_d70 = local_d70 & 0xffffffff00000000; + } + FUN_140049e40(&local_d60); + } + } + else { + FUN_14007e180(param_1,(longlong)param_3,SVar10,param_4); + FUN_140049e40(&local_d60); + } + } + } + goto LAB_14007edff; + } + } + FUN_14007e180(param_1,(longlong)param_3,(SIZE_T)puVar9,param_4); + FUN_140049e40(&local_d60); + goto LAB_14007edff; + } + puVar4 = (undefined8 *)puVar4[3]; + } while( true ); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14007ee40.c b/decomp/AgentManager_Release_x64/full/functions/0x14007ee40.c new file mode 100644 index 00000000..27c0f142 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14007ee40.c @@ -0,0 +1,190 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14007ee40 FUN_14007ee40 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_14007ee40(longlong param_1,longlong param_2,longlong *param_3,undefined8 param_4) + +{ + longlong lVar1; + undefined4 uVar2; + uint uVar3; + int *piVar4; + int *piVar5; + longlong *plVar6; + undefined8 uVar7; + undefined8 *puVar8; + undefined8 **ppuVar9; + undefined **ppuVar10; + undefined1 auStack_db8 [32]; + wchar_t *local_d98; + uint local_d90; + int local_d88 [2]; + longlong local_d80; + undefined8 *local_d78; + undefined4 local_d70; + int local_d6c; + undefined *local_d60; + undefined1 uStack_d58; + undefined3 uStack_d57; + undefined4 uStack_d54; + longlong *local_d50; + undefined1 local_d48; + int *local_d40; + undefined1 local_d38; + undefined **local_d30; + undefined8 local_d28; + undefined8 local_d20; + undefined8 local_d18; + undefined8 local_d10; + undefined8 local_ce8; + undefined8 *local_cd8; + undefined8 uStack_cd0; + undefined8 **local_58; + undefined4 local_50; + int local_4c; + ulonglong local_48; + + local_ce8 = 0xfffffffffffffffe; + local_48 = DAT_14016f5a0 ^ (ulonglong)auStack_db8; + FUN_140079c10(); + piVar4 = (int *)(**(code **)(**(longlong **)(param_1 + 0x148) + 0x58))(); + local_d40 = piVar4; + FUN_14003d040(piVar4); + local_d38 = 1; + if (DAT_14017614f != '\0') { + param_3 = (longlong *)**(longlong **)(param_1 + 0x148); + (*(code *)param_3[0x19]) + (*(longlong **)(param_1 + 0x148), + L"Proud::CNetThreads_S::NetWorkerThread_NewClientCase"); + } + plVar6 = *(longlong **)(*(longlong *)(param_2 + 0x748) + 0x110); + FUN_140047fc0(*(longlong *)(*(longlong *)(param_1 + 0x148) + 0x788),plVar6,param_3,param_4); + FUN_140074fb0(local_d88); + FUN_140074a40((longlong)local_d88,plVar6,(SIZE_T)param_3,param_4); + FUN_140075110(local_d88,0x800,(SIZE_T)param_3,param_4); + uVar7 = 0; + FUN_140075110(local_d88,0,(SIZE_T)param_3,param_4); + uVar7 = CONCAT71((int7)((ulonglong)uVar7 >> 8),4); + FUN_140029d80((longlong)local_d88,uVar7,(SIZE_T)param_3,param_4); + FUN_140029d80((longlong)local_d88, + CONCAT71((int7)((ulonglong)uVar7 >> 8), + *(longlong *)(*(longlong *)(param_1 + 0x148) + 0x17f0) != 0), + (SIZE_T)param_3,param_4); + FUN_140075bf0((longlong)local_d88,(byte *)(*(longlong *)(param_1 + 0x148) + 0x228),(SIZE_T)param_3 + ,param_4); + lVar1 = *(longlong *)(param_1 + 0x148); + uVar3 = *(uint *)(lVar1 + 0xc68); + FUN_140076380((longlong)local_d88,(longlong)(int)uVar3,(SIZE_T)param_3,param_4); + puVar8 = (undefined8 *)0x0; + if (*(int *)(lVar1 + 0xc68) != 0) { + puVar8 = *(undefined8 **)(lVar1 + 0xc60); + } + if (uVar3 == 0) goto LAB_14007efec; + local_d88[1] = 0; + if (local_d80 == 0) { + if (local_d78 == (undefined8 *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,puVar8,param_3,param_4); + } +LAB_14007efbe: + param_3 = (longlong *)(ulonglong)uVar3; + FUN_140029f40((longlong *)&local_d78,puVar8,param_3,param_4); + } + else { + if (local_d78 != (undefined8 *)0x0) goto LAB_14007efbe; + if (local_d80 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,puVar8,param_3,param_4); + } + param_3 = (longlong *)(ulonglong)uVar3; + FUN_14002a110(local_d80,puVar8,(SIZE_T)param_3); + } + FUN_14002a180((longlong)local_d88,puVar8,(SIZE_T)param_3,param_4); +LAB_14007efec: + FUN_14003d0d0((longlong)piVar4); + local_d38 = 0; + piVar5 = (int *)(**(code **)(*(longlong *)(param_2 + 0x108) + 0x10))(); + local_d50 = (longlong *)piVar5; + FUN_14003d040(piVar5); + local_d48 = 1; + local_4c = 200; + local_50 = 0; + local_58 = &local_cd8; + if (local_d80 == 0) { + uVar2 = local_d70; + if (local_d78 == (undefined8 *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,0,param_3,param_4); + } + } + else { + uVar2 = *(undefined4 *)(local_d80 + 0x18); + } + local_cd8 = local_d78; + if (local_d78 == (undefined8 *)0x0) { + if (local_d80 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,0,param_3,param_4); + } + local_cd8 = (undefined8 *)0x0; + if (*(int *)(local_d80 + 0x18) != 0) { + local_cd8 = *(undefined8 **)(local_d80 + 0x10); + } + } + local_50 = 1; + uStack_cd0 = CONCAT44(uStack_d54,uVar2); + local_d60 = (undefined *)0x0; + _uStack_d58 = CONCAT31((int3)((uint)uVar2 >> 8),1); + ppuVar10 = &local_d60; + ppuVar9 = &local_cd8; + FUN_140091090(*(char **)(param_2 + 0x748),(longlong)ppuVar9,(SIZE_T *)ppuVar10,param_4); + if (local_58 != (undefined8 **)0x0) { + if (local_4c < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + uVar3 = FUN_140090d00(*(longlong *)(param_2 + 0x748),ppuVar9,ppuVar10,param_4); + if (uVar3 == 0) { + FUN_14003d0d0((longlong)piVar5); + local_d48 = 0; + } + else { + FUN_14003d0d0((longlong)piVar5); + local_d48 = 0; + local_d38 = 1; + FUN_14003d040(piVar4); + local_d28 = 0; + local_d20 = 0; + local_d18 = 0; + local_d10 = 0; + local_d30 = Proud::ByteArray::vftable; + local_d98 = L"Proud::CNetThreads_S::NetWorkerThread_NewClientCase"; + local_d90 = uVar3; + (**(code **)(*(longlong *)(param_2 + 0xa0) + 0x38))(param_2 + 0xa0,0xb,3,&local_d30); + FUN_140049e40(&local_d30); + (**(code **)(*(longlong *)(param_2 + 0xa0) + 0x40)) + (param_2 + 0xa0,L"Proud::CNetThreads_S::NetWorkerThread_NewClientCase"); + } + FUN_140091250(param_2 + 0xc0); + local_d50 = &local_d80; + FUN_14008a320(&local_d80); + if (local_d78 != (undefined8 *)0x0) { + if (local_d6c < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_d70 = 0; + } + if (uVar3 != 0) { + FUN_14003d0d0((longlong)piVar4); + } + return; + } + FUN_14003db10((exception *)&local_d30,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368, + ppuVar10,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(&local_d30,(ThrowInfo *)&DAT_14016c210); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14007f220.c b/decomp/AgentManager_Release_x64/full/functions/0x14007f220.c new file mode 100644 index 00000000..91cc5b67 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14007f220.c @@ -0,0 +1,129 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14007f220 FUN_14007f220 + * Pseudocode, not original source. */ + +void FUN_14007f220(longlong param_1,int param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong *plVar1; + undefined8 *puVar2; + longlong *plVar3; + ulonglong uVar4; + int iVar5; + int iVar6; + longlong *plVar7; + ulonglong uVar8; + uint uVar9; + ulonglong uVar10; + longlong lVar11; + longlong lVar12; + exception local_c8 [144]; + + lVar12 = (longlong)param_2; + if (param_2 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + iVar6 = *(int *)(param_1 + 0x18); + if (param_2 != iVar6) { + if (*(int *)(param_1 + 0x1c) < param_2) { + iVar6 = FUN_14008c010(param_1,param_2); + lVar11 = (longlong)iVar6; + plVar3 = *(longlong **)(param_1 + 8); + if (*(int *)(param_1 + 0x1c) == 0) { + if (plVar3 == (longlong *)0x0) { + puVar2 = (undefined8 *)FUN_14003e840(lVar11 << 3); + } + else { + puVar2 = (undefined8 *)(**(code **)(*plVar3 + 8))(plVar3,lVar11 << 3); + } + *(undefined8 **)(param_1 + 0x10) = puVar2; + if (0 < param_2) { + do { + if (puVar2 != (undefined8 *)0x0) { + *puVar2 = 0; + } + puVar2 = puVar2 + 1; + lVar12 = lVar12 + -1; + } while (lVar12 != 0); + } + } + else { + plVar1 = *(longlong **)(param_1 + 0x10); + if (plVar3 == (longlong *)0x0) { + plVar3 = (longlong *)FUN_14003e840(lVar11 << 3); + } + else { + plVar3 = (longlong *)(**(code **)(*plVar3 + 8))(plVar3,lVar11 << 3); + } + iVar5 = *(int *)(param_1 + 0x18); + uVar8 = 0; + uVar4 = uVar8; + uVar10 = uVar8; + plVar7 = plVar3; + if (0 < (longlong)iVar5) { + do { + if (plVar7 != (longlong *)0x0) { + *plVar7 = 0; + FUN_14007b440(plVar7,plVar1 + uVar4); + } + uVar9 = (int)uVar10 + 1; + uVar4 = (longlong)(int)uVar9; + uVar10 = (ulonglong)uVar9; + plVar7 = plVar7 + 1; + } while ((longlong)(int)uVar9 < (longlong)iVar5); + } + iVar5 = param_2 - *(int *)(param_1 + 0x18); + plVar7 = plVar3 + *(int *)(param_1 + 0x18); + if (0 < iVar5) { + do { + if (plVar7 != (longlong *)0x0) { + *plVar7 = 0; + } + uVar9 = (int)uVar8 + 1; + uVar8 = (ulonglong)uVar9; + plVar7 = plVar7 + 1; + } while ((longlong)(int)uVar9 < (longlong)iVar5); + } + if (plVar3 == (longlong *)0x0) { + FUN_14003db10(local_c8,L"Memory allocation failure!",(longlong)iVar5,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_c8,(ThrowInfo *)&DAT_14016c210); + } + FUN_14005cbc0(plVar1,(longlong)*(int *)(param_1 + 0x18)); + plVar7 = *(longlong **)(param_1 + 8); + if (plVar7 == (longlong *)0x0) { + FUN_14003e8b0(plVar1); + } + else { + (**(code **)(*plVar7 + 0x18))(plVar7,plVar1); + } + *(longlong **)(param_1 + 0x10) = plVar3; + } + *(int *)(param_1 + 0x1c) = iVar6; + } + else if (iVar6 - param_2 < 1) { + iVar5 = param_2 - iVar6; + if (0 < iVar5) { + puVar2 = (undefined8 *)(*(longlong *)(param_1 + 0x10) + (longlong)iVar6 * 8); + iVar6 = 0; + if (0 < iVar5) { + do { + if (puVar2 != (undefined8 *)0x0) { + *puVar2 = 0; + } + iVar6 = iVar6 + 1; + puVar2 = puVar2 + 1; + } while (iVar6 < iVar5); + } + } + } + else { + FUN_14005cbc0((longlong *)(*(longlong *)(param_1 + 0x10) + lVar12 * 8), + (longlong)(iVar6 - param_2)); + } + *(int *)(param_1 + 0x18) = param_2; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14007f460.c b/decomp/AgentManager_Release_x64/full/functions/0x14007f460.c new file mode 100644 index 00000000..b1ab579d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14007f460.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14007f460 FUN_14007f460 + * Pseudocode, not original source. */ + +undefined8 * FUN_14007f460(undefined8 *param_1,uint param_2) + +{ + LPVOID pvVar1; + longlong *plVar2; + + *param_1 = Proud::CFastArray::vftable; + if (0 < *(int *)(param_1 + 3)) { + FUN_14007b4d0(param_1[2],(longlong)*(int *)(param_1 + 3)); + } + pvVar1 = (LPVOID)param_1[2]; + if (pvVar1 != (LPVOID)0x0) { + plVar2 = (longlong *)param_1[1]; + if (plVar2 == (longlong *)0x0) { + FUN_14003e8b0(pvVar1); + } + else { + (**(code **)(*plVar2 + 0x18))(plVar2,pvVar1); + } + } + if ((param_2 & 1) != 0) { + FUN_14003e8b0(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14007f4d0.c b/decomp/AgentManager_Release_x64/full/functions/0x14007f4d0.c new file mode 100644 index 00000000..acedd9a7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14007f4d0.c @@ -0,0 +1,46 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14007f4d0 FUN_14007f4d0 + * Pseudocode, not original source. */ + +undefined4 * +FUN_14007f4d0(undefined4 *param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong lVar1; + + FUN_14003cf60(param_1,0,CONCAT71((int7)((ulonglong)param_3 >> 8),1),param_4); + *(undefined ***)(param_1 + 0xe) = Proud::CFastArray,0>::vftable; + *(undefined8 *)(param_1 + 0x10) = 0; + *(undefined8 *)(param_1 + 0x12) = 0; + *(undefined8 *)(param_1 + 0x14) = 0; + *(undefined8 *)(param_1 + 0x16) = 0; + *(undefined ***)(param_1 + 0x18) = Proud::CFastArray,0>::vftable; + *(undefined8 *)(param_1 + 0x1a) = 0; + *(undefined8 *)(param_1 + 0x1c) = 0; + *(undefined8 *)(param_1 + 0x1e) = 0; + *(undefined8 *)(param_1 + 0x20) = 0; + *(undefined8 *)(param_1 + 0x22) = 0; + *(undefined8 *)(param_1 + 0x24) = 0; + FUN_14009aa10((double *)(param_1 + 0x28),DAT_14016f180); + FUN_14009aa10((double *)(param_1 + 0x2e),DAT_14016f0f8); + FUN_140048700((undefined8 *)(param_1 + 0x54)); + FUN_140045c60(param_1 + 0x56,*(LPTIMECALLBACK *)(param_1 + 0x54),DAT_14016f06c); + lVar1 = param_2 + 0x120; + if (param_2 == 0) { + lVar1 = 0; + } + FUN_1400978d0((undefined8 *)(param_1 + 0x58),lVar1); + FUN_14009aa10((double *)(param_1 + 0x62),DAT_14016f0a8); + FUN_14009aa10((double *)(param_1 + 0x68),DAT_14016f0a8); + FUN_14009aa10((double *)(param_1 + 0x6e),DAT_14016f0b0); + FUN_14009aa10((double *)(param_1 + 0x74),DAT_14016f150); + FUN_14009aa10((double *)(param_1 + 0x7a),1.0); + param_1[0x80] = 0; + param_1[0x90] = 0; + FUN_14009aa10((double *)(param_1 + 0x92),DAT_14016f0d8); + *(undefined8 *)(param_1 + 0x40) = 0; + *(longlong *)(param_1 + 0x52) = param_2; + *(undefined1 *)(param_1 + 0x50) = 0; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14007f670.c b/decomp/AgentManager_Release_x64/full/functions/0x14007f670.c new file mode 100644 index 00000000..b9e2b8a7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14007f670.c @@ -0,0 +1,141 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14007f670 FUN_14007f670 + * Pseudocode, not original source. */ + +void FUN_14007f670(int *param_1,wchar_t *param_2,longlong *param_3,undefined8 param_4) + +{ + undefined8 *puVar1; + int *piVar2; + wchar_t *pwVar3; + undefined8 *puVar4; + int iVar5; + longlong lVar6; + + piVar2 = (int *)(**(code **)(**(longlong **)(param_1 + 0x52) + 0x58))(); + FUN_14003d040(piVar2); + if (DAT_14017614f != '\0') { + param_3 = (longlong *)**(longlong **)(param_1 + 0x52); + param_2 = L"Proud::CNetThreads_S::~CNetThreads_S"; + (*(code *)param_3[0x19])(); + } + *(undefined1 *)(param_1 + 0x50) = 1; + FUN_14003d0d0((longlong)piVar2); + puVar4 = (undefined8 *)0x0; + if (*(undefined8 **)(param_1 + 0x22) != (undefined8 *)0x0) { + puVar4 = (undefined8 *)**(undefined8 **)(param_1 + 0x22); + } + FUN_140045bb0(puVar4); + if (*(undefined8 **)(param_1 + 0x24) == (undefined8 *)0x0) { + puVar4 = (undefined8 *)0x0; + } + else { + puVar4 = (undefined8 *)**(undefined8 **)(param_1 + 0x24); + } + FUN_140045bb0(puVar4); + piVar2 = param_1; + FUN_14003d040(param_1); + iVar5 = 0; + lVar6 = 0; + if (0 < param_1[0x1e]) { + do { + if ((lVar6 < 0) || (param_1[0x1e] <= iVar5)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(piVar2,param_2,param_3,param_4); + } + puVar4 = *(undefined8 **)(*(longlong *)(param_1 + 0x1c) + lVar6 * 8); + piVar2 = (int *)0x0; + if (puVar4 != (undefined8 *)0x0) { + piVar2 = (int *)*puVar4; + } + FUN_140045bb0((undefined8 *)piVar2); + iVar5 = iVar5 + 1; + lVar6 = lVar6 + 1; + } while (iVar5 < param_1[0x1e]); + } + piVar2 = param_1; + FUN_14003d0d0((longlong)param_1); + iVar5 = 0; + lVar6 = 0; + if (0 < param_1[0x14]) { + do { + if ((lVar6 < 0) || (param_1[0x14] <= iVar5)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(piVar2,param_2,param_3,param_4); + } + puVar4 = *(undefined8 **)(*(longlong *)(param_1 + 0x12) + lVar6 * 8); + piVar2 = (int *)0x0; + if (puVar4 != (undefined8 *)0x0) { + piVar2 = (int *)*puVar4; + } + FUN_140045bb0((undefined8 *)piVar2); + iVar5 = iVar5 + 1; + lVar6 = lVar6 + 1; + } while (iVar5 < param_1[0x14]); + } + CloseHandle(*(HANDLE *)(param_1 + 0x60)); + FUN_14007a840((longlong *)(param_1 + 0x5a)); + FUN_140045ca0((UINT *)(param_1 + 0x56)); + FUN_1400486f0((undefined8 *)(param_1 + 0x54)); + if ((*(longlong *)(param_1 + 0x24) != 0) && + (*(longlong *)(*(longlong *)(param_1 + 0x24) + 8) = + *(longlong *)(*(longlong *)(param_1 + 0x24) + 8) + -1, + *(longlong *)(*(longlong *)(param_1 + 0x24) + 8) == 0)) { + puVar4 = *(undefined8 **)(param_1 + 0x24); + puVar1 = (undefined8 *)*puVar4; + if (puVar1 != (undefined8 *)0x0) { + FUN_140045c30(puVar1); + operator_delete(puVar1); + } + FUN_14003e8b0(puVar4); + } + if ((*(longlong *)(param_1 + 0x22) != 0) && + (*(longlong *)(*(longlong *)(param_1 + 0x22) + 8) = + *(longlong *)(*(longlong *)(param_1 + 0x22) + 8) + -1, + *(longlong *)(*(longlong *)(param_1 + 0x22) + 8) == 0)) { + puVar4 = *(undefined8 **)(param_1 + 0x22); + puVar1 = (undefined8 *)*puVar4; + if (puVar1 != (undefined8 *)0x0) { + FUN_140045c30(puVar1); + operator_delete(puVar1); + } + FUN_14003e8b0(puVar4); + } + *(undefined ***)(param_1 + 0x18) = Proud::CFastArray,0>::vftable; + pwVar3 = (wchar_t *)(longlong)param_1[0x1e]; + if (0 < param_1[0x1e]) { + FUN_14005cbc0(*(longlong **)(param_1 + 0x1c),(longlong)pwVar3); + param_2 = pwVar3; + } + pwVar3 = *(wchar_t **)(param_1 + 0x1c); + if (pwVar3 != (wchar_t *)0x0) { + param_3 = *(longlong **)(param_1 + 0x1a); + if (param_3 == (longlong *)0x0) { + FUN_14003e8b0(pwVar3); + } + else { + (**(code **)(*param_3 + 0x18))(param_3); + param_2 = pwVar3; + } + } + *(undefined ***)(param_1 + 0xe) = Proud::CFastArray,0>::vftable; + pwVar3 = (wchar_t *)(longlong)param_1[0x14]; + if (0 < param_1[0x14]) { + FUN_14005cbc0(*(longlong **)(param_1 + 0x12),(longlong)pwVar3); + param_2 = pwVar3; + } + pwVar3 = *(wchar_t **)(param_1 + 0x12); + if (pwVar3 != (wchar_t *)0x0) { + param_3 = *(longlong **)(param_1 + 0x10); + if (param_3 == (longlong *)0x0) { + FUN_14003e8b0(pwVar3); + } + else { + (**(code **)(*param_3 + 0x18))(param_3); + param_2 = pwVar3; + } + } + FUN_14003d110(param_1,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14007f930.c b/decomp/AgentManager_Release_x64/full/functions/0x14007f930.c new file mode 100644 index 00000000..ed8d2c8b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14007f930.c @@ -0,0 +1,168 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14007f930 FUN_14007f930 + * Pseudocode, not original source. */ + +undefined8 FUN_14007f930(longlong param_1,longlong param_2,ulonglong param_3) + +{ + int *piVar1; + uint uVar2; + int *piVar3; + short *psVar4; + undefined8 uVar5; + longlong *plVar6; + undefined8 *puVar7; + undefined **ppuVar8; + short **ppsVar9; + longlong lVar10; + ulonglong uVar11; + wchar_t *pwVar12; + char *pcVar13; + uint uVar14; + ulonglong uVar15; + longlong lVar16; + ulonglong uVar17; + undefined *puVar18; + short *psVar19; + short *local_res8; + undefined *local_res20; + undefined **local_60; + undefined4 local_58; + undefined2 local_54; + int *local_50; + undefined1 local_48; + + piVar3 = (int *)(**(code **)(**(longlong **)(param_1 + 0x148) + 0x58))(); + local_50 = piVar3; + FUN_14003d040(piVar3); + local_48 = 1; + if (DAT_14017614f != '\0') { + (**(code **)(**(longlong **)(param_1 + 0x148) + 200))(); + } + FUN_140048960((char *)(*(longlong *)(param_1 + 0x148) + 0x760)); + local_res8 = (short *)FUN_14003e840(0x780); + psVar19 = (short *)0x0; + psVar4 = psVar19; + if (local_res8 != (short *)0x0) { + local_60 = Proud::AddrPort::vftable; + local_58 = *(undefined4 *)(param_3 + 8); + local_54 = *(undefined2 *)(param_3 + 0xc); + psVar4 = (short *)FUN_14008b590((undefined8 *)local_res8,*(longlong *)(param_1 + 0x148),param_2, + &local_60); + } + lVar10 = *(longlong *)(param_1 + 0x148); + pcVar13 = (char *)(lVar10 + 0x1740); + uVar2 = *(uint *)(lVar10 + 0x1768); + uVar17 = (ulonglong)uVar2; + uVar11 = ((ulonglong)psVar4 & 0xffffffff) % uVar17; + uVar15 = *(ulonglong *)(lVar10 + 0x1748); + uVar14 = (uint)uVar11; + local_res8 = psVar4; + if (uVar15 != 0) { + for (plVar6 = *(longlong **)(uVar15 + uVar11 * 8); + (plVar6 != (longlong *)0x0 && (uVar14 == *(uint *)(plVar6 + 4) % uVar2)); + plVar6 = (longlong *)plVar6[2]) { + if ((short *)*plVar6 == psVar4) goto LAB_14007fad9; + } + if (uVar15 != 0) { + for (plVar6 = *(longlong **)(uVar15 + uVar11 * 8); + (plVar6 != (longlong *)0x0 && (uVar14 == *(uint *)(plVar6 + 4) % uVar2)); + plVar6 = (longlong *)plVar6[2]) { + if ((short *)*plVar6 == psVar4) goto LAB_14007fad5; + } + if (uVar15 != 0) goto LAB_14007faac; + } + } + uVar5 = FUN_14004c640((longlong)pcVar13,uVar2,'\x01'); + if ((char)uVar5 == '\0') { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x8007000e); + } +LAB_14007faac: + FUN_1400c8cb0(pcVar13); + uVar17 = (ulonglong)psVar4 & 0xffffffff; + plVar6 = FUN_14004e780(pcVar13,&local_res8,uVar14,(int)psVar4); + FUN_1400c8cb0(pcVar13); + uVar15 = uVar11; +LAB_14007fad5: + *(undefined1 *)(plVar6 + 1) = 0; +LAB_14007fad9: + if (psVar4 != (short *)0x0) { + psVar19 = psVar4 + 0x1c; + } + FUN_140043150(*(longlong *)(*(longlong *)(psVar4 + 0x3a4) + 0x110),psVar19,uVar15,uVar17); + FUN_140091240((longlong)(psVar4 + 0x60)); + FUN_1400479d0(*(longlong *)(*(longlong *)(param_1 + 0x148) + 0x788), + *(ULONG_PTR *)(*(longlong *)(psVar4 + 0x3a4) + 0x110), + (LPOVERLAPPED)0xffffffffffffffff); + lVar10 = *(longlong *)(param_1 + 0x148); + pcVar13 = (char *)(ulonglong)*(uint *)(lVar10 + 0x1710); + uVar15 = (ulonglong)((uint)*(ushort *)(param_3 + 0xc) ^ *(uint *)(param_3 + 8)) % + (ulonglong)pcVar13; + lVar16 = 0; + if (*(longlong *)(lVar10 + 0x16f0) != 0) { + lVar16 = *(longlong *)(*(longlong *)(lVar10 + 0x16f0) + uVar15 * 8); + while ((lVar16 != 0 && + (uVar11 = (ulonglong)*(uint *)(lVar16 + 0x28) % (ulonglong)pcVar13, + (int)uVar15 == (int)uVar11))) { + if ((*(uint *)(lVar16 + 8) == *(uint *)(param_3 + 8)) && + (*(ushort *)(lVar16 + 0xc) == *(ushort *)(param_3 + 0xc))) goto LAB_14007fb98; + lVar16 = *(longlong *)(lVar16 + 0x18); + } + } + pcVar13 = (char *)(lVar10 + 0x16e8); + uVar11 = param_3; + puVar7 = FUN_14007e690(pcVar13,param_3); + *puVar7 = psVar4; +LAB_14007fb98: + if (*(longlong *)(*(longlong *)(param_1 + 0x148) + 0x17f0) != 0) { + FUN_14003e7c0(pcVar13,uVar11,lVar16,uVar15); + local_res8 = (short *)PTR_DAT_14016f010; + plVar6 = FUN_1400420f0(param_3,(longlong *)&local_res20,lVar16,uVar15); + puVar18 = (undefined *)*plVar6; + if ((undefined *)*plVar6 == (undefined *)0x0) { + puVar18 = PTR_DAT_14016f010; + } + pwVar12 = L"new TCP socket is accepted. RemoteClient_S=%p,TCP socket=%s"; + ppsVar9 = &local_res8; + FUN_140029b80((longlong *)ppsVar9,L"new TCP socket is accepted. RemoteClient_S=%p,TCP socket=%s" + ,psVar4,puVar18); + if (((local_res20 != (undefined *)0x0) && (local_res20 != PTR_DAT_14016f010)) && + (local_res20 + -8 != (undefined *)0x0)) { + ppuVar8 = (undefined **)FUN_14003e7c0(ppsVar9,pwVar12,psVar4,puVar18); + local_60 = ppuVar8; + FUN_14003d040((int *)ppuVar8); + local_58 = CONCAT31(local_58._1_3_,1); + piVar1 = (int *)(local_res20 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(local_res20 + -8); + } + FUN_14003d0d0((longlong)ppuVar8); + } + psVar19 = local_res8; + psVar4 = local_res8; + if (local_res8 == (short *)0x0) { + psVar4 = (short *)PTR_DAT_14016f010; + } + uVar5 = 0; + lVar10 = *(longlong *)(*(longlong *)(param_1 + 0x148) + 0x17f0); + FUN_1400843d0(lVar10,0,psVar4,puVar18); + if (((psVar19 != (short *)0x0) && (psVar19 != (short *)PTR_DAT_14016f010)) && + (psVar19 + -4 != (short *)0x0)) { + ppuVar8 = (undefined **)FUN_14003e7c0(lVar10,uVar5,psVar4,puVar18); + local_60 = ppuVar8; + FUN_14003d040((int *)ppuVar8); + local_58 = CONCAT31(local_58._1_3_,1); + piVar1 = (int *)(psVar19 + -2); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(psVar19 + -4); + } + FUN_14003d0d0((longlong)ppuVar8); + } + } + uVar5 = FUN_14003d0d0((longlong)piVar3); + return CONCAT71((int7)((ulonglong)uVar5 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14007fce0.c b/decomp/AgentManager_Release_x64/full/functions/0x14007fce0.c new file mode 100644 index 00000000..7668c469 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14007fce0.c @@ -0,0 +1,252 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14007fce0 FUN_14007fce0 + * Pseudocode, not original source. */ + +longlong * +FUN_14007fce0(longlong param_1,undefined8 param_2,undefined **param_3,undefined **param_4) + +{ + undefined *puVar1; + undefined8 *puVar2; + undefined *puVar3; + uint uVar4; + uint uVar5; + uint uVar6; + longlong *plVar7; + longlong *plVar8; + int *piVar9; + uint *puVar10; + int *piVar11; + char *pcVar12; + char *pcVar13; + undefined ***pppuVar14; + uint *puVar15; + uint uVar16; + char *pcVar17; + ulonglong uVar18; + longlong lVar19; + uint **ppuVar20; + uint uVar21; + uint *local_res8; + undefined *local_res10; + longlong local_res18; + longlong local_res20; + undefined **local_b8; + undefined8 local_b0; + undefined8 local_a8; + undefined8 local_a0; + undefined8 local_98; + undefined **local_90; + undefined8 local_88; + undefined8 local_80; + undefined8 local_78; + undefined8 local_70; + int *local_68; + undefined1 local_60; + int *local_58; + undefined1 local_50; + undefined8 local_48; + + local_48 = 0xfffffffffffffffe; + pcVar17 = (char *)0x0; + uVar21 = 0; + do { + lVar19 = *(longlong *)(param_1 + 0x148); + pcVar13 = (char *)(lVar19 + 0x60); + if (lVar19 == 0) { + pcVar13 = pcVar17; + } + pcVar12 = pcVar17; + if (*(longlong *)(lVar19 + 0x750) != 0) { + pcVar12 = *(char **)(*(longlong *)(lVar19 + 0x750) + 0x38); + } + plVar7 = FUN_140085700(pcVar12,pcVar13,param_3,(longlong)param_4); + if (plVar7 == (longlong *)0x0) { + FUN_14003e7c0(pcVar12,pcVar13,param_3,param_4); + local_res8 = (uint *)PTR_DAT_14016f010; + uVar4 = FUN_14003e620(L"FATAL: Cannot create TCP socket for AcceptEx!"); + uVar6 = 0; + if ((local_res8 != (uint *)0x0) && + (pcVar17 = (char *)0x0, local_res8 != (uint *)PTR_DAT_14016f010)) { + pcVar17 = (char *)(ulonglong)local_res8[-2]; + } + uVar5 = uVar4; + if ((((int)uVar4 <= (int)pcVar17) && (uVar5 = uVar6, local_res8 != (uint *)0x0)) && + (local_res8 != (uint *)PTR_DAT_14016f010)) { + uVar5 = local_res8[-2]; + } + uVar16 = 1; + if (1 < (int)uVar5) { + uVar16 = uVar5; + } + uVar5 = uVar6; + if ((local_res8 != (uint *)0x0) && (local_res8 != (uint *)PTR_DAT_14016f010)) { + uVar5 = local_res8[-2]; + } + if ((int)uVar5 < (int)uVar16) { + if (local_res8 == (uint *)0x0) { + local_res8 = (uint *)PTR_DAT_14016f010; + } + if ((int)uVar16 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar16 == 0) { + FUN_140002190((longlong *)&local_res8,PTR_DAT_14016f010,pcVar17,param_4); + } + else { + uVar5 = uVar6; + if ((local_res8 != (uint *)0x0) && (local_res8 != (uint *)PTR_DAT_14016f010)) { + uVar5 = local_res8[-2]; + } + if (uVar16 != uVar5) { + puVar10 = (uint *)FUN_14003e840((longlong)(int)uVar16 * 2 + 10); + if (puVar10 != (uint *)0x0) { + *puVar10 = 0; + puVar10[1] = 1; + } + *puVar10 = uVar16; + uVar5 = uVar6; + if ((local_res8 != (uint *)0x0) && (local_res8 != (uint *)PTR_DAT_14016f010)) { + uVar5 = local_res8[-2]; + } + puVar15 = (uint *)PTR_DAT_14016f010; + if ((int)uVar16 < (int)uVar5) { +LAB_14007ff87: + if (local_res8 != (uint *)0x0) { + puVar15 = local_res8; + } + } + else { + uVar16 = uVar6; + if (local_res8 != (uint *)0x0) { + if (local_res8 != (uint *)PTR_DAT_14016f010) { + uVar16 = local_res8[-2]; + } + goto LAB_14007ff87; + } + } + uVar18 = (ulonglong)uVar16; + FUN_14003e650(puVar10 + 2,puVar15,uVar16); + FUN_140002190((longlong *)&local_res8,puVar15,uVar18,param_4); + local_res8 = puVar10 + 2; + } + } + } + FUN_140001df0((longlong *)&local_res8); + puVar10 = local_res8; + if (local_res8 == (uint *)0x0) { + puVar10 = (uint *)PTR_DAT_14016f010; + } + FUN_14003e650(puVar10,L"FATAL: Cannot create TCP socket for AcceptEx!",uVar4); + puVar10 = local_res8; + if (local_res8 == (uint *)0x0) { + puVar10 = (uint *)PTR_DAT_14016f010; + } + uVar6 = FUN_14003e620((short *)puVar10); + uVar4 = uVar21; + if (0 < (int)uVar6) { + uVar4 = uVar6; + } + uVar6 = uVar21; + if ((local_res8 != (uint *)0x0) && (local_res8 != (uint *)PTR_DAT_14016f010)) { + uVar6 = local_res8[-2]; + } + if (((int)uVar6 <= (int)uVar4) && (uVar4 = uVar21, local_res8 != (uint *)0x0)) { + if (local_res8 == (uint *)PTR_DAT_14016f010) goto LAB_14008003b; + uVar4 = local_res8[-2]; + } + if (((local_res8 != (uint *)PTR_DAT_14016f010) && (local_res8 != (uint *)0x0)) && + (local_res8 + -2 != (uint *)0x0)) { + local_res8[-2] = uVar4; + *(undefined2 *)((longlong)local_res8 + (longlong)(int)uVar4 * 2) = 0; + } +LAB_14008003b: + local_b0 = 0; + local_a8 = 0; + local_a0 = 0; + local_98 = 0; + local_b8 = Proud::ByteArray::vftable; + ppuVar20 = &local_res8; + plVar7 = FUN_140071c20(&local_res20,1,1,(longlong *)ppuVar20,(longlong)&local_b8); + lVar19 = **(longlong **)(param_1 + 0x148); + (**(code **)(lVar19 + 0x80))(); + pppuVar14 = &local_b8; + FUN_140049e40(pppuVar14); + puVar10 = local_res8; + if (local_res8 == (uint *)0x0) { + return (longlong *)0x0; + } + if (local_res8 == (uint *)PTR_DAT_14016f010) { + return (longlong *)0x0; + } + puVar15 = local_res8 + -2; + if (puVar15 == (uint *)0x0) { + return (longlong *)0x0; + } + piVar11 = (int *)FUN_14003e7c0(pppuVar14,plVar7,lVar19,ppuVar20); + local_68 = piVar11; + FUN_14003d040(piVar11); + local_60 = 1; + puVar10 = puVar10 + -1; + *puVar10 = *puVar10 - 1; + if (*puVar10 == 0) { + FUN_14003e8b0(puVar15); + } + FUN_14003d0d0((longlong)piVar11); + return (longlong *)0x0; + } + puVar2 = *(undefined8 **)(*(longlong *)(param_1 + 0x148) + 0x748); + pcVar13 = pcVar17; + if (puVar2 != (undefined8 *)0x0) { + pcVar13 = (char *)*puVar2; + } + plVar8 = plVar7; + uVar4 = FUN_140045060((longlong)pcVar13,(longlong)plVar7,param_3,param_4); + if (uVar4 == 0) { + return plVar7; + } + if (uVar4 != 0x2746) { + if (uVar4 != 0x2736) { + FUN_14003e7c0(pcVar13,plVar8,param_3,param_4); + local_res10 = PTR_DAT_14016f010; + FUN_140029b80((longlong *)&local_res10, + L"FATAL: AcceptEx failed with error code %d! No more accept will be possible." + ,(ulonglong)uVar4,param_4); + local_88 = 0; + local_80 = 0; + local_78 = 0; + local_70 = 0; + local_90 = Proud::ByteArray::vftable; + param_4 = &local_res10; + plVar8 = FUN_140071c20(&local_res18,1,1,(longlong *)param_4,(longlong)&local_90); + param_3 = (undefined **)**(longlong **)(param_1 + 0x148); + (*(code *)param_3[0x10])(); + pppuVar14 = &local_90; + FUN_140049e40(pppuVar14); + puVar3 = local_res10; + if (((local_res10 != (undefined *)0x0) && (local_res10 != PTR_DAT_14016f010)) && + (puVar1 = local_res10 + -8, puVar1 != (undefined *)0x0)) { + piVar9 = (int *)FUN_14003e7c0(pppuVar14,plVar8,param_3,param_4); + local_58 = piVar9; + FUN_14003d040(piVar9); + local_50 = 1; + piVar11 = (int *)(puVar3 + -4); + *piVar11 = *piVar11 + -1; + if (*piVar11 == 0) { + FUN_14003e8b0(puVar1); + } + FUN_14003d0d0((longlong)piVar9); + } + } +LAB_14007fe73: + FUN_140043e60(plVar7,plVar8,(longlong *)param_3,param_4); + FUN_14003e8b0(plVar7); + return (longlong *)0x0; + } + if (*(char *)(param_1 + 0x140) != '\0') goto LAB_14007fe73; + FUN_140043e60(plVar7,plVar8,(longlong *)param_3,param_4); + FUN_14003e8b0(plVar7); + } while( true ); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400800f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400800f0.c new file mode 100644 index 00000000..516b1b84 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400800f0.c @@ -0,0 +1,125 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400800f0 FUN_1400800f0 + * Pseudocode, not original source. */ + +void FUN_1400800f0(longlong param_1,wchar_t *param_2,longlong param_3,undefined8 param_4) + +{ + undefined *puVar1; + int *piVar2; + undefined *puVar3; + int *piVar4; + longlong *plVar5; + int *piVar6; + undefined ***pppuVar7; + wchar_t *pwVar8; + longlong lVar9; + undefined8 uVar10; + undefined **ppuVar11; + undefined *local_res8; + int *local_70; + undefined1 local_68; + int *local_60; + undefined1 local_58; + undefined **local_50; + undefined8 local_48; + undefined8 local_40; + undefined8 local_38; + undefined8 local_30; + + if (*(longlong *)(param_1 + 0x148) != 0) { + pwVar8 = param_2; + lVar9 = param_3; + uVar10 = param_4; + piVar4 = (int *)(**(code **)(**(longlong **)(param_1 + 0x148) + 0x58))(); + local_60 = piVar4; + FUN_14003d040(piVar4); + local_58 = 1; + plVar5 = *(longlong **)(param_1 + 0x148); + if (DAT_14017614f != '\0') { + lVar9 = *plVar5; + pwVar8 = L"Proud::CNetThreads_S::ShowThreadExceptionAndPurgeClient"; + (**(code **)(lVar9 + 200))(); + } + if (param_2 == (wchar_t *)0x0) { + if (*(longlong *)(*(longlong *)(param_1 + 0x148) + 0x758) != 0) { + FUN_14003e7c0(plVar5,pwVar8,lVar9,uVar10); + local_res8 = PTR_DAT_14016f010; + FUN_140029b80((longlong *)&local_res8, + L"%s에서 %s 오류가 발생했으나 클라이언트를 식별 불가.", + param_3,param_4); + local_48 = 0; + local_40 = 0; + local_38 = 0; + local_30 = 0; + local_50 = Proud::ByteArray::vftable; + ppuVar11 = &local_res8; + plVar5 = FUN_140071c20((longlong *)&local_70,1,0,(longlong *)ppuVar11,(longlong)&local_50); + lVar9 = **(longlong **)(param_1 + 0x148); + (**(code **)(lVar9 + 0x80))(); + pppuVar7 = &local_50; + FUN_140049e40(pppuVar7); + puVar3 = local_res8; + if (((local_res8 != (undefined *)0x0) && (local_res8 != PTR_DAT_14016f010)) && + (puVar1 = local_res8 + -8, puVar1 != (undefined *)0x0)) { + piVar6 = (int *)FUN_14003e7c0(pppuVar7,plVar5,lVar9,ppuVar11); + local_70 = piVar6; + FUN_14003d040(piVar6); + local_68 = 1; + piVar2 = (int *)(puVar3 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(puVar1); + } + FUN_14003d0d0((longlong)piVar6); + } + } + } + else { + if (*(longlong *)(*(longlong *)(param_1 + 0x148) + 0x758) != 0) { + FUN_14003e7c0(plVar5,pwVar8,lVar9,uVar10); + local_res8 = PTR_DAT_14016f010; + FUN_140029b80((longlong *)&local_res8, + L"%s에서 %s 이유로 클라이언트 %d를 추방합니다.",param_3, + param_4); + local_48 = 0; + local_40 = 0; + local_38 = 0; + local_30 = 0; + local_50 = Proud::ByteArray::vftable; + ppuVar11 = &local_res8; + plVar5 = FUN_140071c20((longlong *)&local_70,1,(ulonglong)*(uint *)(param_2 + 0x37c), + (longlong *)ppuVar11,(longlong)&local_50); + lVar9 = **(longlong **)(param_1 + 0x148); + (**(code **)(lVar9 + 0x80))(); + pppuVar7 = &local_50; + FUN_140049e40(pppuVar7); + puVar3 = local_res8; + if (((local_res8 != (undefined *)0x0) && (local_res8 != PTR_DAT_14016f010)) && + (puVar1 = local_res8 + -8, puVar1 != (undefined *)0x0)) { + piVar6 = (int *)FUN_14003e7c0(pppuVar7,plVar5,lVar9,ppuVar11); + local_70 = piVar6; + FUN_14003d040(piVar6); + local_68 = 1; + piVar2 = (int *)(puVar3 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(puVar1); + } + FUN_14003d0d0((longlong)piVar6); + } + } + local_48 = 0; + local_40 = 0; + local_38 = 0; + local_30 = 0; + local_50 = Proud::ByteArray::vftable; + FUN_14006ef00(*(SIZE_T **)(param_1 + 0x148),(uint *)param_2,1,3,(longlong)&local_50, + L"Proud::CNetThreads_S::ShowThreadExceptionAndPurgeClient",0); + FUN_140049e40(&local_50); + } + FUN_14003d0d0((longlong)piVar4); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400803c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400803c0.c new file mode 100644 index 00000000..01e22840 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400803c0.c @@ -0,0 +1,208 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400803c0 FUN_1400803c0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_1400803c0(int *param_1,uint *param_2,longlong *param_3,undefined8 param_4) + +{ + ulonglong uVar1; + undefined8 uVar2; + int *piVar3; + byte *pbVar4; + longlong lVar5; + undefined ***pppuVar6; + int iVar7; + SIZE_T SVar8; + undefined ***pppuVar9; + uint *puVar10; + longlong **pplVar11; + longlong *plVar12; + undefined8 uVar13; + byte *pbVar14; + undefined1 auStack_e68 [32]; + int *local_e48; + undefined1 local_e40; + longlong *local_e38; + undefined1 local_e30; + undefined **local_e28; + undefined8 local_e20; + byte *local_e18; + undefined8 local_e10; + undefined8 local_e08; + undefined **local_e00; + undefined8 local_df8; + byte *local_df0; + undefined8 local_de8; + undefined8 local_de0; + undefined **local_dd8; + undefined8 local_dd0; + byte *local_dc8; + undefined8 local_dc0; + undefined8 local_db8; + int *local_db0; + undefined1 local_da8; + undefined **local_da0; + undefined8 local_d98; + byte *local_d90; + undefined8 local_d88; + undefined8 local_d80; + int local_d78 [2]; + longlong local_d70; + longlong local_d68; + undefined4 local_d60; + int local_d5c; + undefined8 local_d20; + exception local_d18 [80]; + undefined1 local_cc8 [3216]; + ulonglong local_38; + + local_d20 = 0xfffffffffffffffe; + local_38 = DAT_14016f5a0 ^ (ulonglong)auStack_e68; + plVar12 = param_3; + local_e38 = param_3; + local_db0 = param_1; + FUN_140079c10(); + pbVar14 = (byte *)0x0; + local_df8 = 0; + local_df0 = (byte *)0x0; + local_de8 = 0; + local_de0 = 0; + local_e00 = Proud::ByteArray::vftable; + uVar1 = FUN_140075580(param_2,&local_e48,plVar12,param_4); + piVar3 = local_e48; + if ((((char)uVar1 != '\0') && (iVar7 = (int)local_e48, -1 < iVar7)) && (iVar7 <= DAT_14016f140)) { + FUN_14002a050((longlong)&local_e00,iVar7,(SIZE_T)plVar12); + pbVar4 = local_df0; + if ((int)local_de8 == 0) { + pbVar4 = pbVar14; + } + SVar8 = (ulonglong)piVar3 & 0xffffffff; + uVar2 = FUN_140074ee0(param_2,(undefined8 *)pbVar4,SVar8); + if ((char)uVar2 != '\0') { + local_dd0 = 0; + local_dc8 = (byte *)0x0; + local_dc0 = 0; + local_db8 = 0; + local_dd8 = Proud::ByteArray::vftable; + uVar1 = FUN_140075580(param_2,&local_e48,SVar8,param_4); + piVar3 = local_e48; + if ((((char)uVar1 != '\0') && (iVar7 = (int)local_e48, -1 < iVar7)) && + (iVar7 <= DAT_14016f140)) { + FUN_14002a050((longlong)&local_dd8,iVar7,SVar8); + pbVar4 = local_dc8; + if ((int)local_dc0 == 0) { + pbVar4 = pbVar14; + } + uVar2 = FUN_140074ee0(param_2,(undefined8 *)pbVar4,(ulonglong)piVar3 & 0xffffffff); + if ((char)uVar2 != '\0') { + local_d98 = 0; + local_d90 = (byte *)0x0; + local_d88 = 0; + local_d80 = 0; + local_da0 = Proud::ByteArray::vftable; + plVar12 = (longlong *)(*(longlong *)(param_1 + 0x52) + 0xc48); + pppuVar9 = &local_e00; + pppuVar6 = &local_da0; + FUN_140096080((ulonglong *)&local_e48,(longlong)pppuVar6,(SIZE_T)pppuVar9,plVar12); + if ((local_e48 == (int *)0x0) || (*(longlong *)(local_e48 + 0xe) == 0)) { + FUN_140038280((longlong *)&local_e48,pppuVar6,pppuVar9,plVar12); + piVar3 = (int *)(**(code **)(**(longlong **)(param_1 + 0x52) + 0x58))(); + local_e48 = piVar3; + FUN_14003d040(piVar3); + local_e40 = 1; + if (DAT_14017614f != '\0') { + (**(code **)(**(longlong **)(param_1 + 0x52) + 200)) + (*(longlong **)(param_1 + 0x52), + L"Proud::CNetThreads_S::NetworkerThread_ProcessMessage_NotifyCSEncryptedSessionKey" + ); + } + pbVar4 = pbVar14; + if (*(longlong *)(*(longlong *)(param_1 + 0x52) + 0x1708) != 0) { + pbVar4 = *(byte **)(*(longlong *)(param_1 + 0x52) + 0x16f8); + } + for (; pbVar4 != (byte *)0x0; pbVar4 = *(byte **)(pbVar4 + 0x18)) { + if (param_3 == *(longlong **)(pbVar4 + 0x10)) { + pbVar4 = local_d90; + if ((int)local_d88 == 0) { + pbVar4 = pbVar14; + } + uVar13 = 0x10; + FUN_140085bb0(param_3 + 0x51,pbVar4, + (ulonglong)(*(uint *)(*(longlong *)(param_1 + 0x52) + 0x244) >> 3), + 0x10); + local_e20 = 0; + local_e18 = (byte *)0x0; + local_e10 = 0; + local_e08 = 0; + local_e28 = Proud::ByteArray::vftable; + puVar10 = (uint *)(param_3 + 0x51); + uVar2 = FUN_140087620((longlong)&local_dd8,(longlong)&local_e28,puVar10,uVar13); + if ((char)uVar2 == '\0') { + FUN_14003db10(local_d18,L"Decrypt Fast EncryptKey Error",puVar10,uVar13); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_d18,(ThrowInfo *)&DAT_14016c210); + } + pbVar4 = local_e18; + if ((int)local_e10 == 0) { + pbVar4 = pbVar14; + } + SVar8 = (SIZE_T)(*(uint *)(*(longlong *)(param_1 + 0x52) + 0x248) >> 3); + FUN_1400953b0((ulonglong)(param_3 + 0xcb),(longlong)pbVar4,SVar8,uVar13); + FUN_140049e40(&local_e28); + *(undefined1 *)(param_3 + 0xd1) = 1; + FUN_14003d0d0((longlong)piVar3); + local_e40 = 0; + FUN_140074fb0(local_d78); + FUN_140074a40((longlong)local_d78,pbVar4,SVar8,uVar13); + FUN_140075110(local_d78,0x800,SVar8,uVar13); + uVar2 = 0; + FUN_140075110(local_d78,0,SVar8,uVar13); + FUN_140029d80((longlong)local_d78,CONCAT71((int7)((ulonglong)uVar2 >> 8),6),SVar8, + uVar13); + piVar3 = (int *)(**(code **)(param_3[0x21] + 0x10))(); + local_db0 = piVar3; + FUN_14003d040(piVar3); + local_da8 = 1; + lVar5 = FUN_14004ec50((longlong)local_cc8,(longlong)local_d78,SVar8); + local_e38 = (longlong *)0x0; + local_e30 = 1; + pplVar11 = &local_e38; + FUN_140091090((char *)param_3[0xe9],lVar5,(SIZE_T *)pplVar11,uVar13); + FUN_14004db20((longlong)local_cc8,lVar5,pplVar11,uVar13); + FUN_14003d0d0((longlong)piVar3); + local_e38 = &local_d70; + FUN_14008a320(&local_d70); + if (local_d68 != 0) { + if (local_d5c < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_d60 = 0; + } + FUN_140049e40(&local_da0); + FUN_140049e40(&local_dd8); + goto LAB_140080893; + } + } + FUN_14003d0d0((longlong)piVar3); + FUN_140049e40(&local_da0); + FUN_140049e40(&local_dd8); + } + else { + FUN_140038280((longlong *)&local_e48,pppuVar6,pppuVar9,plVar12); + FUN_140049e40(&local_da0); + FUN_140049e40(&local_dd8); + } + goto LAB_140080893; + } + } + FUN_140049e40(&local_dd8); + } + } +LAB_140080893: + FUN_140049e40(&local_e00); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400808d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400808d0.c new file mode 100644 index 00000000..0dbc3ce9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400808d0.c @@ -0,0 +1,113 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400808d0 FUN_1400808d0 + * Pseudocode, not original source. */ + +void FUN_1400808d0(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + wchar_t *pwVar1; + undefined *puVar2; + undefined *puVar3; + longlong *plVar4; + wchar_t *pwVar5; + int *piVar6; + wchar_t *pwVar7; + wchar_t **ppwVar8; + int *piVar9; + undefined8 uVar10; + undefined **ppuVar11; + wchar_t *local_res8; + undefined *local_78; + wchar_t *local_70; + undefined1 local_68; + undefined8 local_60; + wchar_t *local_58; + undefined1 local_50; + undefined **local_48; + undefined8 local_40; + undefined8 local_38; + undefined8 local_30; + undefined8 local_28; + + local_60 = 0xfffffffffffffffe; + if ((*(longlong *)(param_1 + 0x148) != 0) && + (*(longlong *)(*(longlong *)(param_1 + 0x148) + 0x758) != 0)) { + FUN_14003e7c0(param_1,param_2,param_3,param_4); + local_78 = PTR_DAT_14016f010; + FUN_140029b80((longlong *)&local_78,L"(%s): unexpected thread exit with (%s)",param_2,param_3); + piVar9 = (int *)0x0; + local_40 = 0; + local_38 = 0; + local_30 = 0; + local_28 = 0; + local_48 = Proud::ByteArray::vftable; + ppuVar11 = &local_78; + uVar10 = 1; + FUN_140071c20((longlong *)&local_res8,1,1,(longlong *)ppuVar11,(longlong)&local_48); + FUN_140049e40(&local_48); + local_70 = (wchar_t *)0x0; + FUN_14005d770((ulonglong *)&local_70,(ulonglong *)&local_res8,uVar10,ppuVar11); + pwVar5 = *(wchar_t **)(param_1 + 0x148); + ppwVar8 = &local_70; + (**(code **)(*(longlong *)pwVar5 + 0x38))(); + if ((char)param_4 != '\0') { + if (local_res8 != (wchar_t *)0x0) { + piVar9 = *(int **)(local_res8 + 0x1c); + } + ppwVar8 = &local_70; + plVar4 = FUN_140071d40(piVar9,(longlong *)ppwVar8,uVar10,ppuVar11); + pwVar5 = (wchar_t *)*plVar4; + if ((wchar_t *)*plVar4 == (wchar_t *)0x0) { + pwVar5 = (wchar_t *)PTR_DAT_14016f010; + } + FUN_14003e110(pwVar5); + pwVar7 = local_70; + if (((local_70 != (wchar_t *)0x0) && (local_70 != (wchar_t *)PTR_DAT_14016f010)) && + (pwVar1 = local_70 + -4, pwVar1 != (wchar_t *)0x0)) { + pwVar5 = (wchar_t *)FUN_14003e7c0(pwVar5,ppwVar8,uVar10,ppuVar11); + local_58 = pwVar5; + FUN_14003d040((int *)pwVar5); + local_50 = 1; + pwVar7 = pwVar7 + -2; + *(int *)pwVar7 = *(int *)pwVar7 + -1; + if (*(int *)pwVar7 == 0) { + FUN_14003e8b0(pwVar1); + } + FUN_14003d0d0((longlong)pwVar5); + } + } + pwVar7 = local_res8; + if (local_res8 != (wchar_t *)0x0) { + local_70 = local_res8; + FUN_14003d040((int *)local_res8); + local_68 = 1; + *(longlong *)(local_res8 + 0x20) = *(longlong *)(local_res8 + 0x20) + -1; + if (*(longlong *)(local_res8 + 0x20) == 0) { + FUN_14003d0d0((longlong)pwVar7); + local_68 = 0; + FUN_140038210((undefined4 *)local_res8,ppwVar8,uVar10,ppuVar11); + pwVar5 = local_res8; + } + else { + FUN_14003d0d0((longlong)pwVar7); + pwVar5 = pwVar7; + } + } + puVar3 = local_78; + if (((local_78 != (undefined *)0x0) && (local_78 != PTR_DAT_14016f010)) && + (puVar2 = local_78 + -8, puVar2 != (undefined *)0x0)) { + piVar6 = (int *)FUN_14003e7c0(pwVar5,ppwVar8,uVar10,ppuVar11); + local_58 = (wchar_t *)piVar6; + FUN_14003d040(piVar6); + local_50 = 1; + piVar9 = (int *)(puVar3 + -4); + *piVar9 = *piVar9 + -1; + if (*piVar9 == 0) { + FUN_14003e8b0(puVar2); + } + FUN_14003d0d0((longlong)piVar6); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140080ae0.c b/decomp/AgentManager_Release_x64/full/functions/0x140080ae0.c new file mode 100644 index 00000000..92357e1c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140080ae0.c @@ -0,0 +1,152 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140080ae0 FUN_140080ae0 + * Pseudocode, not original source. */ + +void FUN_140080ae0(longlong param_1,longlong param_2,char *param_3,longlong param_4) + +{ + longlong *plVar1; + int iVar2; + ulonglong uVar3; + undefined8 *puVar4; + int *piVar5; + int *piVar6; + int *piVar7; + int **ppiVar8; + longlong lVar9; + int iVar10; + uint uVar11; + char *pcVar12; + int *local_res20; + int *local_198; + undefined1 local_190; + undefined8 local_120; + undefined1 local_118 [4]; + undefined4 local_114; + char *local_e0; + exception local_70 [72]; + + local_120 = 0xfffffffffffffffe; + pcVar12 = param_3; + if ((int)(*(int *)(param_2 + 8) + (*(int *)(param_2 + 8) >> 0x1f & 7U)) >> 3 != 0) { + param_4 = 2; + pcVar12 = "Proud::CNetThreads_S::UserWorkerThread_FinalReceiveUserMessage"; + FUN_14006c410(*(longlong **)(param_1 + 0x148),(wchar_t *)0x0, + "Proud::CNetThreads_S::UserWorkerThread_FinalReceiveUserMessage",2); + } + if (*(longlong *)(*(longlong *)(param_1 + 0x148) + 0x758) != 0) { + FUN_140049b40(local_118); + local_114 = *(undefined4 *)(param_2 + 0x30); + local_118[0] = *(undefined1 *)(param_2 + 0x48); + ppiVar8 = &local_res20; + local_e0 = param_3; + uVar3 = FUN_140075580((uint *)(param_2 + 8),ppiVar8,pcVar12,param_4); + if ((char)uVar3 != '\0') { + lVar9 = *(longlong *)(param_2 + 0x10); + if (lVar9 == 0) { + if (*(longlong *)(param_2 + 0x18) == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,ppiVar8,pcVar12,param_4); + } + iVar10 = *(int *)(param_2 + 0x20); + } + else { + iVar10 = *(int *)(lVar9 + 0x18); + } + iVar2 = (int)(*(int *)(param_2 + 8) + (*(int *)(param_2 + 8) >> 0x1f & 7U)) >> 3; + ppiVar8 = (int **)(longlong)iVar2; + uVar11 = iVar10 - iVar2; + pcVar12 = (char *)(ulonglong)uVar11; + if ((uint)local_res20 == uVar11) { + if (*(longlong *)(param_2 + 0x18) == 0) { + if (lVar9 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,ppiVar8,pcVar12,param_4); + } + if (*(int *)(lVar9 + 0x18) == 0) { + lVar9 = 0; + } + else { + lVar9 = *(longlong *)(lVar9 + 0x10); + } + } + else { + lVar9 = *(longlong *)(param_2 + 0x18); + if (lVar9 == 0) { + FUN_14003db10(local_70,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368, + pcVar12,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_70,(ThrowInfo *)&DAT_14016c210); + } + } + plVar1 = *(longlong **)(*(longlong *)(param_1 + 0x148) + 0x758); + param_4 = lVar9 + (longlong)ppiVar8; + (**(code **)(*plVar1 + 0x30)) + (plVar1,*(undefined4 *)(param_2 + 0x30),local_118,param_4,(uint)local_res20); + goto LAB_140080da7; + } + } + local_res20 = (int *)FUN_14003e840(0x60); + if (local_res20 == (int *)0x0) { + puVar4 = (undefined8 *)0x0; + } + else { + puVar4 = FUN_140071b80((undefined8 *)local_res20,ppiVar8,pcVar12,param_4); + } + piVar7 = (int *)0x0; + if (puVar4 == (undefined8 *)0x0) { + local_res20 = (int *)0x0; + piVar5 = piVar7; + } + else { + piVar5 = (int *)FUN_14003e840(0x48); + local_198 = piVar5; + if (piVar5 != (int *)0x0) { + local_res20 = piVar5; + uVar3 = FUN_140094860(); + pcVar12 = (char *)CONCAT71((int7)((ulonglong)pcVar12 >> 8),1); + FUN_14003cf60(piVar5,uVar3 & 0xffffffff,pcVar12,param_4); + } + local_res20 = piVar5; + FUN_14003d040(piVar5); + piVar5[0x10] = 1; + piVar5[0x11] = 0; + *(undefined8 **)(piVar5 + 0xe) = puVar4; + FUN_14003d0d0((longlong)piVar5); + } + piVar6 = piVar7; + if (piVar5 != (int *)0x0) { + piVar6 = *(int **)(piVar5 + 0xe); + } + *piVar6 = 0x1f; + if (piVar5 != (int *)0x0) { + piVar7 = *(int **)(piVar5 + 0xe); + } + FUN_140005dd0((longlong *)(piVar7 + 4),L"Invalid payload size in User Message!",pcVar12,param_4) + ; + local_198 = (int *)0x0; + FUN_14005d770((ulonglong *)&local_198,(ulonglong *)&local_res20,pcVar12,param_4); + ppiVar8 = &local_198; + (**(code **)(**(longlong **)(param_1 + 0x148) + 0x80))(); + if (piVar5 != (int *)0x0) { + local_190 = 0; + local_198 = piVar5; + FUN_14003d040(piVar5); + local_190 = 1; + plVar1 = (longlong *)(piVar5 + 0x10); + *plVar1 = *plVar1 + -1; + if (*plVar1 == 0) { + FUN_14003d0d0((longlong)piVar5); + local_190 = 0; + FUN_140038210(piVar5,ppiVar8,pcVar12,param_4); + } + else { + FUN_14003d0d0((longlong)piVar5); + } + } + } +LAB_140080da7: + FUN_1400977f0((undefined8 *)(param_1 + 0x160),*(undefined4 *)(param_2 + 0x30),'\0',param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140080dd0.c b/decomp/AgentManager_Release_x64/full/functions/0x140080dd0.c new file mode 100644 index 00000000..3af04050 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140080dd0.c @@ -0,0 +1,304 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140080dd0 FUN_140080dd0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_140080dd0(undefined ***param_1,undefined ***param_2,undefined ***param_3, + undefined ***param_4) + +{ + undefined **ppuVar1; + int *piVar2; + uint uVar3; + uint uVar4; + undefined8 uVar5; + ulonglong uVar6; + uint *puVar7; + undefined ***pppuVar8; + int *piVar9; + uint uVar10; + uint uVar11; + char *pcVar12; + undefined ***pppuVar13; + undefined **ppuVar14; + undefined *puVar15; + undefined ***pppuVar16; + uint uVar17; + undefined ***pppuVar18; + undefined1 auStackY_2a8 [32]; + undefined **local_278; + undefined **local_270; + undefined ***local_268; + undefined ***local_260; + undefined **local_258; + undefined4 local_250; + undefined2 local_24c; + undefined ***local_238 [2]; + undefined **local_228; + undefined4 local_220; + undefined2 local_21c; + undefined ***local_218; + undefined1 local_210; + undefined **local_208; + undefined4 local_200; + undefined2 local_1fc; + undefined **local_1f8; + undefined8 local_1f0; + undefined8 local_1e8; + undefined8 local_1e0; + undefined8 local_1d8; + int *local_1d0; + undefined1 local_1c8; + undefined **local_1c0; + undefined8 local_1b8; + undefined4 local_1b0; + undefined8 local_1a8; + undefined4 local_1a0; + undefined **local_198; + undefined4 local_190; + undefined2 local_18c; + longlong local_158 [36]; + ulonglong local_38; + + local_158[1] = 0xfffffffffffffffe; + local_38 = DAT_14016f5a0 ^ (ulonglong)auStackY_2a8; + pppuVar8 = &local_278; + local_260 = param_1; + FUN_1400721c0(pppuVar8); + pppuVar18 = (undefined ***)0x0; + local_268 = (undefined ***)0x0; + pppuVar16 = (undefined ***)0x1; + do { + while( true ) { + while( true ) { + if (*(char *)(param_1 + 0x28) != '\0') { + if (param_1[0x29][0x2fe] != (undefined *)0x0) { + FUN_14003e7c0(pppuVar8,param_2,param_3,param_4); + local_238[0] = (undefined ***)PTR_DAT_14016f010; + FUN_140029b80((longlong *)local_238,L"%s thread 종료.", + L"Proud::CNetThreads_S::TcpListenerProc",param_4); + pppuVar8 = local_238[0]; + param_3 = local_238[0]; + if (local_238[0] == (undefined ***)0x0) { + param_3 = (undefined ***)PTR_DAT_14016f010; + } + param_2 = (undefined ***)0x0; + puVar15 = param_1[0x29][0x2fe]; + FUN_1400843d0((longlong)puVar15,0,(short *)param_3,param_4); + if (((pppuVar8 != (undefined ***)0x0) && (pppuVar8 != (undefined ***)PTR_DAT_14016f010)) + && (pppuVar8 + -1 != (undefined ***)0x0)) { + piVar9 = (int *)FUN_14003e7c0(puVar15,param_2,param_3,param_4); + local_1c8 = 0; + local_1d0 = piVar9; + FUN_14003d040(piVar9); + local_1c8 = 1; + piVar2 = (int *)((longlong)pppuVar8 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(pppuVar8 + -1); + } + FUN_14003d0d0((longlong)piVar9); + } + } + pppuVar8 = local_268; + if (local_268 != (undefined ***)0x0) { + FUN_140043e60((longlong *)local_268,param_2,(longlong *)param_3,param_4); + FUN_14003e8b0(pppuVar8); + } + FUN_1400721f0((char *)&local_278); + return; + } + uVar17 = 0; + if (((local_268 == (undefined ***)0x0) && ((char)pppuVar16 != '\0')) && + (local_268 = (undefined ***) + FUN_14007fce0((longlong)param_1,param_2,(undefined **)param_3, + (undefined **)param_4), local_268 == (undefined ***)0x0)) { + pppuVar16 = pppuVar18; + } + pppuVar13 = local_268; + local_198 = Proud::AddrPort::vftable; + local_1c0 = (undefined **)0x0; + local_1a8 = 0; + local_1b8 = 0; + local_1b0 = 5; + local_1a0 = 0; + local_190 = DAT_14016f3d0; + local_18c = DAT_14016f3d4; + param_3 = (undefined ***)(ulonglong)DAT_14016f068; + param_2 = &local_1c0; + pcVar12 = param_1[0x29][0xf2]; + uVar5 = FUN_140046e80(pcVar12,(longlong *)param_2,(ulonglong)param_3,param_4); + if ((char)uVar5 == '\x01') break; + pppuVar8 = pppuVar18; + if ((undefined8 *)param_1[0x29][0xe9] != (undefined8 *)0x0) { + pppuVar8 = *(undefined ****)param_1[0x29][0xe9]; + } + FUN_140043cf0((longlong)pppuVar8); + } + if (pppuVar13 == (undefined ***)0x0) break; + local_208 = Proud::AddrPort::vftable; + local_200 = 0; + local_1fc = 0; + local_258 = Proud::AddrPort::vftable; + local_250 = 0; + local_24c = 0; + param_2 = pppuVar18; + if ((undefined8 *)param_1[0x29][0xe9] != (undefined8 *)0x0) { + param_2 = *(undefined ****)param_1[0x29][0xe9]; + } + param_4 = &local_258; + param_3 = &local_208; + FUN_140043b40((longlong)pppuVar13,(longlong)param_2,(longlong)param_3,(longlong)param_4); + uVar6 = FUN_140041850((longlong)&local_258); + if ((char)uVar6 == '\0') { +LAB_140080f92: + FUN_140043e60((longlong *)pppuVar13,param_2,(longlong *)param_3,param_4); + FUN_14003e8b0(pppuVar13); + pppuVar8 = pppuVar13; + } + else { + local_228 = Proud::AddrPort::vftable; + local_220 = local_250; + local_21c = local_24c; + param_3 = &local_228; + pppuVar8 = param_1; + param_2 = pppuVar13; + uVar5 = FUN_14007f930((longlong)param_1,(longlong)pppuVar13,(ulonglong)param_3); + if ((char)uVar5 == '\0') goto LAB_140080f92; + } + local_268 = (undefined ***)0x0; + } + FUN_14003e7c0(pcVar12,param_2,param_3,param_4); + local_270 = (undefined **)PTR_DAT_14016f010; + uVar3 = FUN_14003e620(L"acceptex getqueued but socket null"); + uVar4 = uVar17; + if ((local_270 != (undefined **)0x0) && (local_270 != (undefined **)PTR_DAT_14016f010)) { + uVar4 = *(uint *)(local_270 + -1); + } + uVar10 = uVar3; + if ((((int)uVar3 <= (int)uVar4) && (uVar10 = uVar17, local_270 != (undefined **)0x0)) && + (local_270 != (undefined **)PTR_DAT_14016f010)) { + uVar10 = *(uint *)(local_270 + -1); + } + uVar4 = 1; + if (1 < (int)uVar10) { + uVar4 = uVar10; + } + uVar11 = 0; + uVar10 = uVar11; + if ((local_270 != (undefined **)0x0) && (local_270 != (undefined **)PTR_DAT_14016f010)) { + uVar10 = *(uint *)(local_270 + -1); + } + if ((int)uVar10 < (int)uVar4) { + if (local_270 == (undefined **)0x0) { + local_270 = (undefined **)PTR_DAT_14016f010; + } + if ((int)uVar4 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar4 == 0) { + FUN_140002190((longlong *)&local_270,PTR_DAT_14016f010,param_3,param_4); + } + else { + uVar10 = uVar11; + if ((local_270 != (undefined **)0x0) && (local_270 != (undefined **)PTR_DAT_14016f010)) { + uVar10 = *(uint *)(local_270 + -1); + } + if (uVar4 != uVar10) { + puVar7 = (uint *)FUN_14003e840((longlong)(int)uVar4 * 2 + 10); + if (puVar7 != (uint *)0x0) { + *puVar7 = 0; + puVar7[1] = 1; + } + *puVar7 = uVar4; + uVar10 = uVar11; + if ((local_270 != (undefined **)0x0) && (local_270 != (undefined **)PTR_DAT_14016f010)) { + uVar10 = *(uint *)(local_270 + -1); + } + ppuVar14 = (undefined **)PTR_DAT_14016f010; + if ((int)uVar4 < (int)uVar10) { +LAB_1400810b7: + if (local_270 != (undefined **)0x0) { + ppuVar14 = local_270; + } + } + else { + uVar4 = uVar17; + if (local_270 != (undefined **)0x0) { + if (local_270 != (undefined **)PTR_DAT_14016f010) { + uVar4 = *(uint *)(local_270 + -1); + } + goto LAB_1400810b7; + } + } + uVar6 = (ulonglong)uVar4; + FUN_14003e650(puVar7 + 2,ppuVar14,uVar4); + FUN_140002190((longlong *)&local_270,ppuVar14,uVar6,param_4); + local_270 = (undefined **)(puVar7 + 2); + } + } + } + FUN_140001df0((longlong *)&local_270); + ppuVar14 = local_270; + if (local_270 == (undefined **)0x0) { + ppuVar14 = (undefined **)PTR_DAT_14016f010; + } + FUN_14003e650(ppuVar14,L"acceptex getqueued but socket null",uVar3); + ppuVar14 = local_270; + if (local_270 == (undefined **)0x0) { + ppuVar14 = (undefined **)PTR_DAT_14016f010; + } + uVar4 = FUN_14003e620((short *)ppuVar14); + uVar17 = 0; + if (0 < (int)uVar4) { + uVar17 = uVar4; + } + uVar4 = uVar11; + if ((local_270 != (undefined **)0x0) && (local_270 != (undefined **)PTR_DAT_14016f010)) { + uVar4 = *(uint *)(local_270 + -1); + } + if (((int)uVar17 < (int)uVar4) || (uVar17 = uVar11, local_270 == (undefined **)0x0)) { +LAB_14008115a: + if (((local_270 != (undefined **)PTR_DAT_14016f010) && (local_270 != (undefined **)0x0)) && + (local_270 + -1 != (undefined **)0x0)) { + *(uint *)(local_270 + -1) = uVar17; + *(undefined2 *)((longlong)local_270 + (longlong)(int)uVar17 * 2) = 0; + } + } + else if (local_270 != (undefined **)PTR_DAT_14016f010) { + uVar17 = *(uint *)(local_270 + -1); + goto LAB_14008115a; + } + local_1f0 = 0; + local_1e8 = 0; + local_1e0 = 0; + local_1d8 = 0; + local_1f8 = Proud::ByteArray::vftable; + param_4 = &local_270; + param_2 = (undefined ***)FUN_140071c20(local_158,1,0,(longlong *)param_4,(longlong)&local_1f8); + param_3 = (undefined ***)*param_1[0x29]; + (*(code *)param_3[0x10])(); + pppuVar8 = &local_1f8; + FUN_140049e40(pppuVar8); + ppuVar14 = local_270; + if (((local_270 != (undefined **)0x0) && (local_270 != (undefined **)PTR_DAT_14016f010)) && + (ppuVar1 = local_270 + -1, ppuVar1 != (undefined **)0x0)) { + pppuVar8 = (undefined ***)FUN_14003e7c0(pppuVar8,param_2,param_3,param_4); + local_210 = 0; + local_218 = pppuVar8; + FUN_14003d040((int *)pppuVar8); + local_210 = 1; + puVar7 = (uint *)((longlong)ppuVar14 + -4); + *puVar7 = *puVar7 - 1; + if (*puVar7 == 0) { + FUN_14003e8b0(ppuVar1); + } + FUN_14003d0d0((longlong)pppuVar8); + local_210 = 0; + } + local_270 = (undefined **)PTR_DAT_14016f010; + } while( true ); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400813a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400813a0.c new file mode 100644 index 00000000..b3082882 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400813a0.c @@ -0,0 +1,157 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400813a0 FUN_1400813a0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_1400813a0(longlong *param_1,undefined8 param_2,longlong ****param_3,longlong param_4) + +{ + int *piVar1; + undefined8 *puVar2; + longlong ******pppppplVar3; + char cVar4; + int *piVar5; + longlong *plVar6; + undefined8 uVar7; + int *piVar8; + longlong lVar9; + bool bVar10; + undefined1 auStack_1d8 [32]; + char local_1b8; + int local_1b7; + longlong ******local_1b0; + longlong ******local_1a8; + longlong *local_1a0; + undefined1 local_198; + int *local_190; + undefined1 local_188; + undefined8 local_180; + longlong local_178 [39]; + int *local_40; + ulonglong local_28; + + local_180 = 0xfffffffffffffffe; + local_28 = DAT_14016f5a0 ^ (ulonglong)auStack_1d8; + FUN_1400721c0(&local_1b8); + if (*(longlong *)(param_1[0x29] + 0x758) != 0) { + (**(code **)(**(longlong **)(param_1[0x29] + 0x758) + 0x58))(); + } + piVar5 = (int *)(**(code **)(*(longlong *)param_1[0x29] + 0x58))(); + plVar6 = local_178; + FUN_140096e20((undefined4 *)plVar6,piVar5); + cVar4 = (char)param_1[0x28]; + while (cVar4 == '\0') { + local_1b0 = (longlong ******)0x0; + plVar6 = (longlong *)(**(code **)(*(longlong *)param_1[0x29] + 0x58))(); + local_1a0 = plVar6; + FUN_14003d040((int *)plVar6); + local_198 = 1; + if (DAT_14017614f != '\0') { + (**(code **)(*(longlong *)param_1[0x29] + 200)) + ((longlong *)param_1[0x29],L"Proud::CNetThreads_S::UserWorkerThread_Main"); + } + param_3 = (longlong ****)&local_1b0; + piVar5 = local_40; + uVar7 = FUN_140097700(param_1 + 0x2c,(longlong)local_40,(longlong *)param_3,param_4); + cVar4 = (char)uVar7; + FUN_14003d0d0((longlong)plVar6); + local_198 = 0; + if (cVar4 == '\x01') { + if (*(longlong *)(param_1[0x29] + 0x758) != 0) { + puVar2 = *(undefined8 **)(param_1[0x29] + 0x758); + param_3 = (longlong ****)*puVar2; + (*(code *)param_3[0xf])(puVar2,&local_1b7); + } + piVar1 = local_40; + plVar6 = param_1; + piVar5 = local_40; + if (*local_40 == 1) { + param_3 = (longlong ****)local_1b0; + FUN_14007b050((longlong)param_1,(longlong)local_40,(char *)local_1b0,param_4); + } + else if (*local_40 == 2) { + param_3 = (longlong ****)local_1b0; + FUN_140080ae0((longlong)param_1,(longlong)local_40,(char *)local_1b0,param_4); + } + else { + FUN_140066af0((longlong *)param_1[0x29],local_40 + 0x14,param_3,param_4); + param_3 = (longlong ****)0x0; + piVar5 = (int *)(ulonglong)(uint)piVar1[0xc]; + plVar6 = param_1 + 0x2c; + FUN_1400977f0(plVar6,piVar1[0xc],'\0',param_4); + } + if (*(longlong *)(param_1[0x29] + 0x758) != 0) { + plVar6 = *(longlong **)(param_1[0x29] + 0x758); + piVar5 = &local_1b7; + (**(code **)(*plVar6 + 0x80))(); + } + } + if (*(longlong *)(param_1[0x29] + 0x758) != 0) { + LOCK(); + bVar10 = (int)param_1[0x48] == 0; + if (bVar10) { + *(int *)(param_1 + 0x48) = 1; + } + UNLOCK(); + if (bVar10) { + LOCK(); + bVar10 = (int)param_1[0x40] == 1; + if (bVar10) { + *(int *)(param_1 + 0x40) = 0; + } + UNLOCK(); + if (bVar10) { + cVar4 = '\x01'; + plVar6 = *(longlong **)(param_1[0x29] + 0x758); + piVar5 = *(int **)(param_1[0x29] + 0x260); + (**(code **)(*plVar6 + 0x88))(); + } + LOCK(); + *(undefined4 *)(param_1 + 0x48) = 0; + UNLOCK(); + } + } + if (cVar4 == '\0') { + plVar6 = param_1 + 0x2c; + FUN_140097670((longlong)plVar6); + } + cVar4 = (char)param_1[0x28]; + } + if (*(longlong *)(param_1[0x29] + 0x758) != 0) { + plVar6 = *(longlong **)(param_1[0x29] + 0x758); + (**(code **)(*plVar6 + 0x60))(); + } + if (*(longlong *)(param_1[0x29] + 0x17f0) != 0) { + FUN_14003e7c0(plVar6,piVar5,param_3,param_4); + local_1a8 = (longlong ******)PTR_DAT_14016f010; + FUN_140029b80((longlong *)&local_1a8,L"%s thread 종료.", + L"Proud::CNetThreads_S::UserWorkerThread_Main",param_4); + pppppplVar3 = local_1a8; + param_3 = (longlong ****)local_1a8; + if ((longlong *******)local_1a8 == (longlong *******)0x0) { + param_3 = (longlong ****)PTR_DAT_14016f010; + } + piVar5 = (int *)0x0; + lVar9 = *(longlong *)(param_1[0x29] + 0x17f0); + FUN_1400843d0(lVar9,0,(short *)param_3,param_4); + if ((((longlong *******)pppppplVar3 != (longlong *******)0x0) && + (pppppplVar3 != (longlong ******)PTR_DAT_14016f010)) && + ((longlong *******)(pppppplVar3 + -1) != (longlong *******)0x0)) { + piVar8 = (int *)FUN_14003e7c0(lVar9,piVar5,param_3,param_4); + local_190 = piVar8; + FUN_14003d040(piVar8); + local_188 = 1; + piVar1 = (int *)((longlong)pppppplVar3 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(pppppplVar3 + -1); + } + FUN_14003d0d0((longlong)piVar8); + } + } + FUN_140096e60((longlong)local_178,piVar5,param_3,param_4); + FUN_1400721f0(&local_1b8); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400816e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400816e0.c new file mode 100644 index 00000000..88e48dd4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400816e0.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400816e0 FUN_1400816e0 + * Pseudocode, not original source. */ + +void FUN_1400816e0(undefined ***param_1,undefined8 param_2,undefined ***param_3,undefined ***param_4 + ) + +{ + DWORD DVar1; + char *pcVar2; + + DVar1 = GetCurrentThreadId(); + pcVar2 = "PNSrv TcpListener"; + FUN_140046070(DVar1,"PNSrv TcpListener"); + FUN_140080dd0(param_1,(undefined ***)pcVar2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140081710.c b/decomp/AgentManager_Release_x64/full/functions/0x140081710.c new file mode 100644 index 00000000..ce2fea36 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140081710.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140081710 FUN_140081710 + * Pseudocode, not original source. */ + +void FUN_140081710(longlong *param_1,undefined8 param_2,longlong ****param_3,longlong param_4) + +{ + DWORD DVar1; + char *pcVar2; + + DVar1 = GetCurrentThreadId(); + pcVar2 = "PNSrv UserWorker"; + FUN_140046070(DVar1,"PNSrv UserWorker"); + FUN_1400813a0(param_1,pcVar2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140081740.c b/decomp/AgentManager_Release_x64/full/functions/0x140081740.c new file mode 100644 index 00000000..c2c1c970 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140081740.c @@ -0,0 +1,60 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140081740 FUN_140081740 + * Pseudocode, not original source. */ + +void FUN_140081740(longlong param_1,longlong param_2,undefined4 *param_3,undefined8 param_4, + char param_5) + +{ + undefined8 *puVar1; + undefined4 *puVar2; + longlong lVar3; + SIZE_T SVar4; + undefined8 uVar5; + undefined4 local_170 [2]; + undefined4 local_168 [2]; + longlong local_160; + longlong local_158; + int local_14c; + undefined1 local_140 [232]; + exception local_58 [80]; + + if ((param_2 != 0) && (param_5 == '\x01')) { + *(int *)(param_2 + 0x1dc) = *(int *)(param_2 + 0x1dc) + 1; + } + if (*(longlong *)(param_3 + 2) == 0) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_exception_due_to_not_using_Inter_140170540,param_3, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + FUN_140074fe0(local_168,param_3); + FUN_140064540((longlong)local_140); + local_170[0] = (undefined4)param_4; + uVar5 = 0; + SVar4 = *(SIZE_T *)(param_2 + 0x278); + puVar2 = local_170; + puVar1 = FUN_140067900((longlong *)(param_2 + 0x268),puVar2,SVar4,0); + if (*(undefined8 **)(param_2 + 0x278) == (undefined8 *)0x0) { + *(undefined8 **)(param_2 + 0x270) = puVar1; + } + else { + **(undefined8 **)(param_2 + 0x278) = puVar1; + } + *(undefined8 **)(param_2 + 0x278) = puVar1; + FUN_1400645f0((longlong)local_140,puVar2,SVar4,uVar5); + FUN_14008a320(&local_160); + if ((local_158 != 0) && (local_14c < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (param_2 == 0) { + lVar3 = 0; + } + else { + lVar3 = param_2 + 8; + } + FUN_140097680(param_1 + 0x160,lVar3,SVar4,uVar5); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140081870.c b/decomp/AgentManager_Release_x64/full/functions/0x140081870.c new file mode 100644 index 00000000..c862c4cf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140081870.c @@ -0,0 +1,91 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140081870 FUN_140081870 + * Pseudocode, not original source. */ + +void FUN_140081870(longlong param_1,int *param_2,byte param_3,longlong param_4,char param_5) + +{ + uint uVar1; + longlong lVar2; + byte bVar3; + int iVar4; + int *piVar5; + longlong *plVar6; + undefined4 *puVar7; + longlong lVar8; + ulonglong uVar9; + SIZE_T SVar10; + longlong lVar11; + undefined4 local_68 [2]; + longlong local_60; + longlong local_58; + int local_4c; + int local_40; + undefined **local_38; + int local_30; + undefined2 local_2c; + byte local_28; + + iVar4 = *param_2; + FUN_140079c10(); + lVar11 = **(longlong **)(param_1 + 0x148); + piVar5 = (int *)(**(code **)(lVar11 + 0x58))(); + FUN_14003d040(piVar5); + if (DAT_14017614f != '\0') { + (**(code **)(**(longlong **)(param_1 + 0x148) + 200)) + (*(longlong **)(param_1 + 0x148), + L"Proud::CNetThreads_S::NetWorkerThread_ProcessMessage_Rmi"); + } + plVar6 = (longlong *)(*(longlong *)(param_1 + 0x148) + 0x480); + SVar10 = *(SIZE_T *)(param_4 + 0x30); + bVar3 = (**(code **)(*plVar6 + 0x10))(plVar6,param_2); + if ((param_3 | bVar3) == 0) { + uVar9 = (ulonglong)(uint)((int)((iVar4 >> 0x1f & 7U) + iVar4) >> 3); + FUN_140074bb0(param_2,uVar9,SVar10,lVar11); + FUN_140074fb0(local_68); + local_38 = Proud::AddrPort::vftable; + local_40 = 0; + local_30 = DAT_14016f3d0; + local_2c = DAT_14016f3d4; + puVar7 = local_68; + local_28 = param_3 | bVar3; + FUN_140074a40((longlong)puVar7,uVar9,SVar10,lVar11); + if (*(longlong *)(param_2 + 2) == 0) { + if (*(longlong *)(param_2 + 4) == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(puVar7,uVar9,SVar10,lVar11); + } + uVar1 = param_2[6]; + } + else { + uVar1 = *(uint *)(*(longlong *)(param_2 + 2) + 0x18); + } + iVar4 = (int)(*param_2 + (*param_2 >> 0x1f & 7U)) >> 3; + lVar8 = *(longlong *)(param_2 + 4); + if (lVar8 == 0) { + lVar2 = *(longlong *)(param_2 + 2); + if (lVar2 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,(longlong)iVar4,(ulonglong)uVar1,lVar11); + } + if (*(int *)(lVar2 + 0x18) != 0) { + lVar8 = *(longlong *)(lVar2 + 0x10); + } + } + FUN_140075550((longlong)local_68,(undefined8 *)(iVar4 + lVar8),(ulonglong)(uVar1 - iVar4),lVar11 + ); + local_28 = (byte)param_2[0x10]; + local_30 = param_2[0xe]; + local_2c = (undefined2)param_2[0xf]; + local_40 = param_2[10]; + FUN_140081740(param_1,param_4,local_68,1,param_5); + FUN_14008a320(&local_60); + if ((local_58 != 0) && (local_4c < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + } + FUN_14003d0d0((longlong)piVar5); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140081a90.c b/decomp/AgentManager_Release_x64/full/functions/0x140081a90.c new file mode 100644 index 00000000..9f7c8d1c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140081a90.c @@ -0,0 +1,79 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140081a90 FUN_140081a90 + * Pseudocode, not original source. */ + +void FUN_140081a90(longlong param_1,int *param_2,SIZE_T param_3,longlong param_4,char param_5) + +{ + uint uVar1; + longlong lVar2; + int iVar3; + int *piVar4; + undefined4 *puVar5; + longlong lVar6; + longlong lVar7; + undefined4 local_58 [2]; + longlong local_50; + longlong local_48; + int local_3c; + int local_30; + undefined **local_28; + int local_20; + undefined2 local_1c; + undefined1 local_18; + + piVar4 = param_2; + lVar7 = param_4; + FUN_140074fb0(local_58); + local_28 = Proud::AddrPort::vftable; + local_18 = 0; + local_30 = 0; + local_20 = DAT_14016f3d0; + local_1c = DAT_14016f3d4; + puVar5 = local_58; + FUN_140074a40((longlong)puVar5,piVar4,param_3,lVar7); + if (*(longlong *)(param_2 + 2) == 0) { + if (*(longlong *)(param_2 + 4) == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(puVar5,piVar4,param_3,lVar7); + } + uVar1 = param_2[6]; + } + else { + uVar1 = *(uint *)(*(longlong *)(param_2 + 2) + 0x18); + } + iVar3 = (int)(*param_2 + (*param_2 >> 0x1f & 7U)) >> 3; + lVar6 = *(longlong *)(param_2 + 4); + if (lVar6 == 0) { + lVar2 = *(longlong *)(param_2 + 2); + if (lVar2 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,(longlong)iVar3,(ulonglong)uVar1,lVar7); + } + if (*(int *)(lVar2 + 0x18) != 0) { + lVar6 = *(longlong *)(lVar2 + 0x10); + } + } + FUN_140075550((longlong)local_58,(undefined8 *)(iVar3 + lVar6),(ulonglong)(uVar1 - iVar3),lVar7); + local_18 = (undefined1)param_2[0x10]; + local_20 = param_2[0xe]; + local_1c = (undefined2)param_2[0xf]; + local_30 = param_2[10]; + FUN_140079c10(); + piVar4 = (int *)(**(code **)(**(longlong **)(param_1 + 0x148) + 0x58))(); + FUN_14003d040(piVar4); + if (DAT_14017614f != '\0') { + (**(code **)(**(longlong **)(param_1 + 0x148) + 200)) + (*(longlong **)(param_1 + 0x148), + L"Proud::CNetThreads_S::NetWorkerThread_ProcessMessage_UserMessage"); + } + FUN_140081740(param_1,param_4,local_58,2,param_5); + FUN_14003d0d0((longlong)piVar4); + FUN_14008a320(&local_50); + if ((local_48 != 0) && (local_3c < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140081c60.c b/decomp/AgentManager_Release_x64/full/functions/0x140081c60.c new file mode 100644 index 00000000..89afc77c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140081c60.c @@ -0,0 +1,403 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140081c60 FUN_140081c60 + * Pseudocode, not original source. */ + +undefined8 +FUN_140081c60(longlong *param_1,IMAGE_DOS_HEADER *param_2,IMAGE_DOS_HEADER *param_3, + IMAGE_DOS_HEADER *param_4) + +{ + uint uVar1; + int iVar2; + undefined8 uVar3; + longlong *plVar4; + int *piVar5; + uint *puVar6; + ulonglong uVar7; + undefined8 *puVar8; + uint uVar9; + IMAGE_DOS_HEADER *pIVar10; + uint *puVar11; + uint uVar16; + IMAGE_DOS_HEADER *pIVar12; + ulonglong uVar13; + undefined *puVar14; + longlong lVar15; + uint **ppuVar17; + undefined8 *local_res10 [2]; + IMAGE_DOS_HEADER *local_res20; + uint *local_c8; + uint local_c0; + uint local_bc; + undefined1 local_b8 [16]; + undefined8 *local_a8; + undefined8 local_a0; + undefined8 local_98; + word local_90 [4]; + undefined **local_88; + word local_80 [2]; + undefined2 local_7c; + byte local_78; + undefined **local_68; + undefined1 local_60; + undefined3 uStack_5f; + word local_5c; + undefined **local_58; + undefined4 local_50; + word local_4c; + undefined **local_48; + word local_40 [2]; + word local_3c; + undefined **local_38; + word local_30 [2]; + word local_2c; + byte local_28 [16]; + + local_28[0] = 0xfe; + local_28[1] = 0xff; + local_28[2] = 0xff; + local_28[3] = 0xff; + local_28[4] = 0xff; + local_28[5] = 0xff; + local_28[6] = 0xff; + local_28[7] = 0xff; + local_c0 = (int)(*(int *)param_2 + (*(int *)param_2 >> 0x1f & 7U)) >> 3; + pIVar12 = param_3; + local_res20 = param_4; + uVar3 = FUN_140075810((uint *)param_2,&local_bc,param_3,param_4); + if ((char)uVar3 == '\0') goto switchD_140081ce7_caseD_3; + local_res10[0] = (undefined8 *)((ulonglong)local_res10[0] & 0xffffffffffffff00); + pIVar12 = &IMAGE_DOS_HEADER_140000000; + plVar4 = param_1; + pIVar10 = param_2; + switch(local_bc) { + case 1: + pIVar12 = (IMAGE_DOS_HEADER *)0x0; + FUN_140081870((longlong)param_1,(int *)param_2,0,(longlong)param_3, + local_res20 != (IMAGE_DOS_HEADER *)0x0); + param_4 = param_3; + default: +switchD_140081ce7_caseD_3: + uVar7 = FUN_140074bb0((int *)param_2,(ulonglong)local_c0,pIVar12,param_4); + return uVar7 & 0xffffffffffffff00; + case 2: + pIVar12 = (IMAGE_DOS_HEADER *)0x0; + FUN_140081a90((longlong)param_1,(int *)param_2,0,(longlong)param_3, + local_res20 != (IMAGE_DOS_HEADER *)0x0); + param_4 = param_3; + goto switchD_140081ce7_caseD_3; + case 5: + FUN_1400803c0((int *)param_1,(uint *)param_2,(longlong *)param_3,param_4); + break; + case 7: + FUN_14007ea20((longlong)param_1,(uint *)param_2,(uint *)param_3,param_4); + break; + case 0xc: + local_58 = Proud::AddrPort::vftable; + local_50._0_2_ = param_2->e_res2_10_[8]; + local_50._2_2_ = param_2->e_res2_10_[9]; + local_4c = (word)param_2->e_lfanew; + uVar7 = FUN_140041850((longlong)&local_58); + if ((char)uVar7 == '\0') { + FUN_14006c410((longlong *)param_1[0x29],(wchar_t *)param_3, + "receivedInfo.GetRemoteAddr().IsUnicastEndpoint()",2); + } + local_48 = Proud::AddrPort::vftable; + local_40 = *(word (*) [2])(param_2->e_res2_10_ + 8); + local_3c = (word)param_2->e_lfanew; + param_3 = (IMAGE_DOS_HEADER *)&local_48; + param_4 = local_res20; + FUN_14007c350((longlong)param_1,(uint *)param_2,(longlong)param_3,(longlong)local_res20); + break; + case 0xe: + FUN_14007b9f0((longlong)param_1,(uint *)param_2,(longlong)param_3,(TypeDescriptor *)param_4); + break; + case 0x10: + local_38 = Proud::AddrPort::vftable; + local_30 = *(word (*) [2])(param_2->e_res2_10_ + 8); + local_2c = (word)param_2->e_lfanew; + uVar7 = FUN_140041850((longlong)&local_38); + if ((char)uVar7 == '\0') { + FUN_14006c410((longlong *)param_1[0x29],(wchar_t *)param_3, + "receivedInfo.GetRemoteAddr().IsUnicastEndpoint()",2); + } + local_68 = Proud::AddrPort::vftable; + _local_60 = param_2->e_res2_10_[8]; + unique0x00023d02 = param_2->e_res2_10_[9]; + local_5c = (word)param_2->e_lfanew; + param_3 = (IMAGE_DOS_HEADER *)&local_68; + param_4 = local_res20; + FUN_14007c6f0((longlong)param_1,(uint *)param_2,(longlong)param_3,(longlong)local_res20); + break; + case 0x12: + FUN_14007be70((longlong)param_1,(uint *)param_2,(longlong)param_3,param_4); + break; + case 0x14: + FUN_14007cae0((longlong)param_1,(uint *)param_2,(wchar_t *)param_3,(longlong)param_4); + break; + case 0x15: + FUN_14007d340((longlong)param_1,(uint *)param_2,(wchar_t *)param_3,(uint **)param_4); + break; + case 0x16: + FUN_14007dab0((longlong)param_1,(uint *)param_2,(wchar_t *)param_3,param_4); + break; + case 0x1a: + FUN_14007de80((longlong)param_1,(uint *)param_2,(longlong *)param_3,param_4); + break; + case 0x1b: + FUN_14007a300((longlong)param_1,param_2,(wchar_t *)param_3,param_4); + break; + case 0x24: + case 0x25: + FUN_140074fb0((undefined4 *)local_b8); + local_88 = Proud::AddrPort::vftable; + local_78 = 0; + local_90[0] = 0; + local_90[1] = 0; + local_80[0] = (word)DAT_14016f3d0; + local_80[1] = DAT_14016f3d0._2_2_; + local_7c = DAT_14016f3d4; + param_4 = (IMAGE_DOS_HEADER *)local_b8; + pIVar10 = (IMAGE_DOS_HEADER *)(ulonglong)local_bc; + pIVar12 = param_2; + uVar3 = FUN_140078bb0((uint *)param_1[0x29],local_bc,(uint *)param_2,(uint *)param_4); + if ((char)uVar3 != '\0') { + local_78 = param_2->e_program[0]; + local_80 = *(word (*) [2])(param_2->e_res2_10_ + 8); + local_7c = (undefined2)param_2->e_lfanew; + local_90._0_4_ = *(undefined4 *)param_2->e_res2_10_; + pIVar10 = (IMAGE_DOS_HEADER *)local_b8; + param_4 = local_res20; + uVar3 = FUN_140081c60(param_1,pIVar10,param_3,local_res20); + local_res10[0] = (undefined8 *)CONCAT71(local_res10[0]._1_7_,(char)uVar3); + pIVar12 = param_3; + } + local_c8 = (uint *)(local_b8 + 8); + plVar4 = (longlong *)(local_b8 + 8); + FUN_14008a320(plVar4); + if ((local_a8 != (undefined8 *)0x0) && (local_a0._4_4_ < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + goto LAB_140081ff5; + case 0x26: + FUN_140074fb0((undefined4 *)local_b8); + local_88 = Proud::AddrPort::vftable; + local_78 = 0; + local_90[0] = 0; + local_90[1] = 0; + local_80[0] = (word)DAT_14016f3d0; + local_80[1] = DAT_14016f3d0._2_2_; + local_7c = DAT_14016f3d4; + pIVar12 = (IMAGE_DOS_HEADER *)local_b8; + uVar3 = FUN_140076fe0((longlong *)param_1[0x29],(uint *)param_2,(int *)pIVar12, + (ulonglong)param_4); + if ((char)uVar3 != '\0') { + local_78 = param_2->e_program[0]; + local_80 = *(word (*) [2])(param_2->e_res2_10_ + 8); + local_7c = (undefined2)param_2->e_lfanew; + local_90._0_4_ = *(undefined4 *)param_2->e_res2_10_; + pIVar10 = (IMAGE_DOS_HEADER *)local_b8; + param_4 = local_res20; + uVar3 = FUN_140081c60(param_1,pIVar10,param_3,local_res20); + local_res10[0] = (undefined8 *)CONCAT71(local_res10[0]._1_7_,(char)uVar3); + pIVar12 = param_3; + } + local_c8 = (uint *)(local_b8 + 8); + plVar4 = (longlong *)(local_b8 + 8); + FUN_14008a320(plVar4); + if ((local_a8 != (undefined8 *)0x0) && (local_a0._4_4_ < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } +LAB_140081ff5: + puVar6 = (uint *)0x0; + param_3 = pIVar12; + if ((char)local_res10[0] != '\x01') { + if ((char)local_res10[0] == '\0') goto switchD_140081ce7_caseD_3; + goto LAB_140082325; + } + break; + case 0x27: + FUN_14007e350((longlong)param_1,param_2,(longlong *)param_3,param_4); + break; + case 0x28: + FUN_14007a390((longlong)param_1,(uint *)param_2,(longlong)param_3,param_4); + } + if (*(longlong *)¶m_2->e_cparhdr == 0) { + lVar15._0_2_ = param_2->e_sp; + lVar15._2_2_ = param_2->e_csum; + lVar15._4_2_ = param_2->e_ip; + lVar15._6_2_ = param_2->e_cs; + if (lVar15 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(plVar4,pIVar10,param_3,param_4); + } + uVar16._0_2_ = param_2->e_lfarlc; + uVar16._2_2_ = param_2->e_ovno; + } + else { + uVar16 = *(uint *)(*(longlong *)¶m_2->e_cparhdr + 0x18); + } + uVar9 = *(int *)param_2 >> 0x1f & 7; + uVar1 = (int)(*(int *)param_2 + uVar9) >> 3; + puVar6 = (uint *)(ulonglong)uVar1; + if (((uVar16 == uVar1) || (puVar6 = (uint *)(ulonglong)local_bc, local_bc == 0x24)) || + (local_bc == 0x25)) goto LAB_140082325; + FUN_14003e7c0((ulonglong)uVar16,(ulonglong)uVar9,param_3,param_4); + local_c8 = (uint *)PTR_DAT_14016f010; + local_c0 = FUN_14003e620(L"Proud::CNetThreads_S::NetWorkerThread_ProcessMessage_ProudNetLayer"); + uVar16 = 0; + uVar7 = 0; + if ((local_c8 != (uint *)0x0) && (uVar7 = 0, local_c8 != (uint *)PTR_DAT_14016f010)) { + uVar7 = (ulonglong)local_c8[-2]; + } + uVar1 = local_c0; + if ((((int)local_c0 <= (int)uVar7) && (uVar1 = uVar16, local_c8 != (uint *)0x0)) && + (local_c8 != (uint *)PTR_DAT_14016f010)) { + uVar1 = local_c8[-2]; + } + uVar9 = 1; + if (1 < (int)uVar1) { + uVar9 = uVar1; + } + if ((local_c8 != (uint *)0x0) && (local_c8 != (uint *)PTR_DAT_14016f010)) { + uVar16 = local_c8[-2]; + } + if ((int)uVar16 < (int)uVar9) { + if (local_c8 == (uint *)0x0) { + local_c8 = (uint *)PTR_DAT_14016f010; + } + if ((int)uVar9 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar9 == 0) { + FUN_140002190((longlong *)&local_c8,PTR_DAT_14016f010,uVar7,0); + } + else { + uVar16 = 0; + if ((local_c8 != (uint *)0x0) && (local_c8 != (uint *)PTR_DAT_14016f010)) { + uVar16 = local_c8[-2]; + } + if (uVar9 != uVar16) { + puVar6 = (uint *)FUN_14003e840((longlong)(int)uVar9 * 2 + 10); + uVar7 = 0; + uVar16 = 0; + if (puVar6 != (uint *)0x0) { + *puVar6 = 0; + puVar6[1] = 1; + } + *puVar6 = uVar9; + if ((local_c8 != (uint *)0x0) && (local_c8 != (uint *)PTR_DAT_14016f010)) { + uVar16 = local_c8[-2]; + } + puVar11 = (uint *)PTR_DAT_14016f010; + if ((int)uVar9 < (int)uVar16) { + uVar13 = (ulonglong)uVar9; +LAB_140082172: + if (local_c8 != (uint *)0x0) { + puVar11 = local_c8; + } + } + else { + uVar13 = uVar7; + if (local_c8 != (uint *)0x0) { + if (local_c8 != (uint *)PTR_DAT_14016f010) { + uVar13 = (ulonglong)local_c8[-2]; + } + goto LAB_140082172; + } + } + FUN_14003e650(puVar6 + 2,puVar11,(int)uVar13); + FUN_140002190((longlong *)&local_c8,puVar11,uVar13,uVar7); + local_c8 = puVar6 + 2; + } + } + } + FUN_140001df0((longlong *)&local_c8); + puVar6 = local_c8; + if (local_c8 == (uint *)0x0) { + puVar6 = (uint *)PTR_DAT_14016f010; + } + FUN_14003e650(puVar6,L"Proud::CNetThreads_S::NetWorkerThread_ProcessMessage_ProudNetLayer", + local_c0); + puVar6 = local_c8; + if (local_c8 == (uint *)0x0) { + puVar6 = (uint *)PTR_DAT_14016f010; + } + uVar1 = FUN_14003e620((short *)puVar6); + puVar14 = PTR_DAT_14016f010; + puVar6 = (uint *)0x0; + uVar16 = 0; + if (0 < (int)uVar1) { + uVar16 = uVar1; + } + puVar11 = puVar6; + if ((local_c8 != (uint *)0x0) && (puVar11 = (uint *)0x0, local_c8 != (uint *)PTR_DAT_14016f010)) { + puVar11 = (uint *)(ulonglong)local_c8[-2]; + } + if (((int)uVar16 < (int)puVar11) || (uVar16 = 0, local_c8 == (uint *)0x0)) { +LAB_140082209: + if (((local_c8 != (uint *)PTR_DAT_14016f010) && (local_c8 != (uint *)0x0)) && + (puVar11 = local_c8 + -2, puVar11 != (uint *)0x0)) { + *puVar11 = uVar16; + *(short *)((longlong)local_c8 + (longlong)(int)uVar16 * 2) = 0; + } + } + else if (local_c8 != (uint *)PTR_DAT_14016f010) { + uVar16 = local_c8[-2]; + goto LAB_140082209; + } + iVar2 = FUN_14004d230((longlong)param_2,puVar11,puVar14,0); + local_res10[0] = (undefined8 *)FUN_140074b70((longlong)param_2,puVar11,puVar14,puVar6); + local_b8._0_8_ = Proud::CFastArray::vftable; + local_b8._8_2_ = 0; + local_b8._10_2_ = 0; + local_b8._12_2_ = 0; + local_b8._14_2_ = 0; + local_a8 = (undefined8 *)0x0; + local_a0._0_2_ = 0; + local_a0._2_2_ = 0; + local_a0._4_2_ = 0; + local_a0._6_2_ = 0; + local_98._0_2_ = 0; + local_98._2_2_ = 0; + local_98._4_2_ = 0; + local_98._6_2_ = 0; + if (iVar2 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + FUN_14002a050((longlong)local_b8,iVar2,(SIZE_T)puVar14); + puVar8 = local_a8; + if ((int)local_a0 == 0) { + puVar8 = (undefined8 *)0x0; + } + FUN_140006fb0(puVar8,local_res10[0],(longlong)iVar2); + local_b8._0_8_ = Proud::ByteArray::vftable; + ppuVar17 = &local_c8; + plVar4 = FUN_140071c20((longlong *)local_res10,0x1f,(ulonglong)*(uint *)param_2->e_res2_10_, + (longlong *)ppuVar17,(longlong)local_b8); + lVar15 = *(longlong *)param_1[0x29]; + (**(code **)(lVar15 + 0x80))(); + puVar8 = (undefined8 *)local_b8; + FUN_140049e40(puVar8); + puVar6 = local_c8; + if (((local_c8 != (uint *)0x0) && (local_c8 != (uint *)PTR_DAT_14016f010)) && + (puVar11 = local_c8 + -2, puVar11 != (uint *)0x0)) { + piVar5 = (int *)FUN_14003e7c0(puVar8,plVar4,lVar15,ppuVar17); + local_68 = (undefined **)piVar5; + FUN_14003d040(piVar5); + local_60 = 1; + puVar6 = puVar6 + -1; + *puVar6 = *puVar6 - 1; + if (*puVar6 == 0) { + FUN_14003e8b0(puVar11); + } + puVar6 = (uint *)FUN_14003d0d0((longlong)piVar5); + } +LAB_140082325: + return CONCAT71((int7)((ulonglong)puVar6 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400823c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400823c0.c new file mode 100644 index 00000000..14ba2522 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400823c0.c @@ -0,0 +1,50 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400823c0 FUN_1400823c0 + * Pseudocode, not original source. */ + +void FUN_1400823c0(longlong *param_1,IMAGE_DOS_HEADER *param_2,IMAGE_DOS_HEADER *param_3, + IMAGE_DOS_HEADER *param_4) + +{ + int iVar1; + int iVar2; + longlong *plVar3; + IMAGE_DOS_HEADER *pIVar4; + int iVar5; + IMAGE_DOS_HEADER *pIVar6; + IMAGE_DOS_HEADER *pIVar7; + + iVar5 = 0; + plVar3 = param_1; + pIVar4 = param_2; + pIVar6 = param_3; + pIVar7 = param_4; + while( true ) { + iVar2._0_2_ = param_3->e_lfarlc; + iVar2._2_2_ = param_3->e_ovno; + if (iVar5 == iVar2) { + return; + } + if ((iVar5 < 0) || (iVar2 <= iVar5)) break; + pIVar4 = (IMAGE_DOS_HEADER *)(*(longlong *)¶m_3->e_sp + (longlong)iVar5 * 0x48); + iVar2 = *(int *)(*(longlong *)¶m_3->e_sp + (longlong)iVar5 * 0x48); + if ((int)(iVar2 + (iVar2 >> 0x1f & 7U)) >> 3 != 0) { + FUN_14006c410((longlong *)param_1[0x29],(wchar_t *)param_2, + "ri.m_unsafeMessage.GetReadOffset() == 0",2); + } + plVar3 = param_1; + pIVar6 = param_2; + pIVar7 = param_4; + FUN_140081c60(param_1,pIVar4,param_2,param_4); + iVar1._0_2_ = param_3->e_lfarlc; + iVar1._2_2_ = param_3->e_ovno; + if (iVar1 <= iVar5) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(plVar3,pIVar4,pIVar6,pIVar7); + } + iVar5 = iVar5 + 1; + } + /* WARNING: Subroutine does not return */ + FUN_14003def0(plVar3,pIVar4,pIVar6,pIVar7); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140082470.c b/decomp/AgentManager_Release_x64/full/functions/0x140082470.c new file mode 100644 index 00000000..575143fe --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140082470.c @@ -0,0 +1,273 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140082470 FUN_140082470 + * Pseudocode, not original source. */ + +void FUN_140082470(byte **param_1,longlong param_2,IMAGE_DOS_HEADER *param_3, + IMAGE_DOS_HEADER *param_4) + +{ + undefined4 uVar1; + IMAGE_DOS_HEADER *pIVar2; + int iVar3; + int *piVar4; + IMAGE_DOS_HEADER *pIVar5; + IMAGE_DOS_HEADER *pIVar6; + undefined8 uVar7; + undefined8 *puVar8; + longlong *plVar9; + byte *pbVar10; + byte **ppbVar11; + word *pwVar12; + int iVar13; + byte *pbVar14; + IMAGE_DOS_HEADER *pIVar15; + IMAGE_DOS_HEADER *pIVar16; + longlong lVar17; + undefined1 local_170 [8]; + IMAGE_DOS_HEADER *local_168; + longlong local_160; + undefined **local_158; + byte local_150 [4]; + word local_14c; + undefined **local_148; + word local_140 [4]; + undefined **local_138; + byte local_130 [4]; + word local_12c; + undefined **local_128; + undefined4 local_120; + word local_11c; + longlong local_118; + undefined **local_110; + word local_108 [2]; + word local_104; + undefined **local_100; + byte local_f8 [4]; + word local_f4; + undefined **local_f0; + byte local_e8 [4]; + word local_e4; + word *local_e0; + byte local_d8; + int *local_d0; + byte local_c8; + int *local_c0; + byte local_b8; + byte *local_b0; + byte local_a8 [8]; + IMAGE_DOS_HEADER *local_a0; + byte local_98 [16]; + int *local_88; + undefined1 local_80; + word *local_78; + undefined1 local_70; + word *local_68; + undefined1 local_60; + undefined8 local_58; + + local_58 = 0xfffffffffffffffe; + pbVar14 = (byte *)0x0; + pbVar10 = param_3->e_program; + if (param_3 == (IMAGE_DOS_HEADER *)0x0) { + pbVar10 = pbVar14; + } + plVar9 = &local_118; + pIVar5 = param_3; + pIVar6 = param_4; + FUN_140091260(plVar9,(longlong)pbVar10); + if (*(int *)(param_2 + 8) < 1) { + pwVar12 = param_3[1].e_res2_10_; + local_68 = pwVar12; + FUN_14003d040((int *)pwVar12); + local_60 = 1; + param_3[2].e_program[0] = 0; + FUN_140091560((longlong)param_3,pbVar10,(undefined **)pIVar5,pIVar6); + FUN_14003d0d0((longlong)pwVar12); + goto LAB_140082a7d; + } + local_158 = Proud::AddrPort::vftable; + local_150[0] = 0; + local_150[1] = 0; + local_150[2] = 0; + local_150[3] = 0; + local_14c = 0; + local_160 = 0; + local_148 = Proud::AddrPort::vftable; + local_140[0] = 0; + local_140[1] = 0; + local_140[2] = 0; + FUN_14003e7c0(plVar9,pbVar10,pIVar5,pIVar6); + local_168 = (IMAGE_DOS_HEADER *)PTR_DAT_14016f010; + piVar4 = (int *)(**(code **)(*(longlong *)param_1[0x29] + 0x58))(); + local_c0 = piVar4; + FUN_14003d040(piVar4); + local_b8 = 1; + if (DAT_14017614f != '\0') { + (**(code **)(*(longlong *)param_1[0x29] + 200)) + (param_1[0x29],L"Proud::CNetThreads_S::NetWorkerThread_UdpRecvCompletionCase"); + } + lVar17 = (**(code **)(*(longlong *)(param_1[0x29] + 0x118) + 8))(); + local_f0 = Proud::AddrPort::vftable; + local_e8 = *(byte (*) [4])(param_2 + 0x30); + local_e4 = *(word *)(param_2 + 0x34); + pIVar5 = (IMAGE_DOS_HEADER *)FUN_14004d260((longlong)param_1[0x29],(longlong)&local_f0); + local_100 = Proud::AddrPort::vftable; + local_f8 = *(byte (*) [4])(param_2 + 0x30); + local_f4 = *(word *)(param_2 + 0x34); + local_170._0_4_ = FUN_14004dee0((longlong)param_1[0x29],(longlong)&local_100); + uVar1 = *(undefined4 *)(param_1[0x29] + 0x22c); + if (pIVar5 != (IMAGE_DOS_HEADER *)0x0) { + FUN_140091240((longlong)pIVar5[1].e_program); + local_140[0] = pIVar5[0xe].e_sp; + local_140[1] = pIVar5[0xe].e_csum; + local_140[2] = pIVar5[0xe].e_ip; + } + FUN_14003d0d0((longlong)piVar4); + local_b8 = 0; + local_e0 = param_3[1].e_res2_10_; + FUN_14003d040((int *)local_e0); + local_d8 = 1; + local_128 = Proud::AddrPort::vftable; + local_120 = *(undefined4 *)(param_2 + 0x30); + local_11c = *(word *)(param_2 + 0x34); + pbVar10 = pbVar14; + if (*(ulonglong **)(param_3[2].e_program + 0x10) != (ulonglong *)0x0) { + pbVar10 = (byte *)**(ulonglong **)(param_3[2].e_program + 0x10); + } + puVar8 = *(undefined8 **)(param_3[2].e_program + 0x38); + pIVar6 = (IMAGE_DOS_HEADER *)FUN_140043cd0((longlong)pbVar10); + pIVar16 = (IMAGE_DOS_HEADER *)&local_128; + pIVar15 = (IMAGE_DOS_HEADER *)(ulonglong)*(uint *)(param_2 + 8); + uVar7 = FUN_14008f330(puVar8,(longlong)pIVar6,*(uint *)(param_2 + 8),(longlong)pIVar16, + (char)local_170._0_4_,lVar17,&local_160,(longlong *)&local_168); + FUN_14003d0d0((longlong)param_3[1].e_res2_10_); + local_d8 = 0; + if ((int)uVar7 == 0) { + if (pIVar5 != (IMAGE_DOS_HEADER *)0x0) { + *(longlong *)(param_1[0x29] + 0x600) = *(longlong *)(param_1[0x29] + 0x600) + 1; + *(longlong *)(param_1[0x29] + 0x640) = + *(longlong *)(param_1[0x29] + 0x640) + (longlong)*(int *)(local_160 + 0x40); + uVar7 = (**(code **)(*(longlong *)(param_1[0x29] + 0x118) + 8))(); + pIVar5[3].e_lfarlc = (short)uVar7; + pIVar5[3].e_ovno = (short)((ulonglong)uVar7 >> 0x10); + pIVar5[3].e_res_4_[0] = (short)((ulonglong)uVar7 >> 0x20); + pIVar5[3].e_res_4_[1] = (short)((ulonglong)uVar7 >> 0x30); + uVar7 = (**(code **)(*(longlong *)(param_1[0x29] + 0x118) + 8))(); + *(undefined8 *)(pIVar5[3].e_res2_10_ + 8) = uVar7; + FUN_14007e740((longlong)param_4,0,pIVar15,pIVar16); + if (*(uint *)(local_160 + 0x40) != 0) { + pbVar14 = *(byte **)(local_160 + 0x38); + } + FUN_14008aa60((longlong)pIVar5,(longlong)pbVar14,(ulonglong)*(uint *)(local_160 + 0x40), + (longlong)&local_148,uVar1,(longlong)param_4); + pIVar6 = pIVar5; + pIVar16 = param_3; + FUN_1400823c0((longlong *)param_1,pIVar5,param_4,param_3); + pIVar15 = param_4; + goto LAB_14008298c; + } + FUN_14007e740((longlong)param_4,0,pIVar15,pIVar16); + FUN_140093730(&local_b0); + local_b0 = pbVar14; + if (*(int *)(local_160 + 0x40) != 0) { + local_b0 = *(byte **)(local_160 + 0x38); + } + local_a8._0_4_ = *(undefined4 *)(local_160 + 0x40); + local_98[0] = 0; + local_98[1] = 0; + local_98[2] = 0; + local_98[3] = 0; + pIVar6 = (IMAGE_DOS_HEADER *)local_170; + ppbVar11 = &local_b0; + local_a0 = param_4; + local_98._4_4_ = uVar1; + puVar8 = FUN_1400941c0((longlong *)ppbVar11,(undefined4 *)pIVar6,pIVar15,pIVar16); + if (-1 < (int)puVar8) { + iVar3._0_2_ = param_4->e_lfarlc; + iVar3._2_2_ = param_4->e_ovno; + while (iVar13 = (int)pbVar14, iVar13 != iVar3) { + if ((iVar13 < 0) || (iVar3 <= iVar13)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(ppbVar11,pIVar6,pIVar15,pIVar16); + } + pIVar5 = (IMAGE_DOS_HEADER *)(*(longlong *)¶m_4->e_sp + (longlong)iVar13 * 0x48); + FUN_140074bb0((int *)pIVar5,0,pIVar15,pIVar16); + local_138 = Proud::AddrPort::vftable; + local_130[0] = local_150[0]; + local_130[1] = local_150[1]; + local_130[2] = local_150[2]; + local_130[3] = local_150[3]; + local_12c = local_14c; + pIVar6 = (IMAGE_DOS_HEADER *)&local_138; + ppbVar11 = param_1; + pIVar16 = param_3; + FUN_14007e950((longlong)param_1,(longlong)pIVar6,(uint *)pIVar5,(longlong)param_3); + iVar3._0_2_ = param_4->e_lfarlc; + iVar3._2_2_ = param_4->e_ovno; + if (iVar3 <= iVar13) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(ppbVar11,pIVar6,pIVar5,pIVar16); + } + pIVar15 = pIVar5; + pbVar14 = (byte *)(ulonglong)(iVar13 + 1); + } + } + } + else { + if ((int)uVar7 == 2) { + piVar4 = (int *)(**(code **)(*(longlong *)param_1[0x29] + 0x58))(); + local_d0 = piVar4; + FUN_14003d040(piVar4); + local_c8 = 1; + if (DAT_14017614f != '\0') { + (**(code **)(*(longlong *)param_1[0x29] + 200)) + (param_1[0x29],L"Proud::CNetThreads_S::NetWorkerThread_UdpRecvCompletionCase"); + } + pIVar15 = local_168; + if (local_168 == (IMAGE_DOS_HEADER *)0x0) { + pIVar15 = (IMAGE_DOS_HEADER *)PTR_DAT_14016f010; + } + local_110 = Proud::AddrPort::vftable; + local_108 = *(word (*) [2])(param_2 + 0x30); + local_104 = *(word *)(param_2 + 0x34); + pIVar6 = (IMAGE_DOS_HEADER *)&local_110; + FUN_14005f940((longlong *)param_1[0x29],(longlong)pIVar6,(short *)pIVar15); + FUN_14003d0d0((longlong)piVar4); + local_c8 = 0; + } +LAB_14008298c: + if (pIVar5 != (IMAGE_DOS_HEADER *)0x0) { + FUN_140091250((longlong)pIVar5[1].e_program); + } + } + pwVar12 = param_3[1].e_res2_10_; + local_78 = pwVar12; + FUN_14003d040((int *)pwVar12); + local_70 = 1; + param_3[2].e_program[0] = 0; + FUN_140091560((longlong)param_3,pIVar6,(undefined **)pIVar15,pIVar16); + FUN_14003d0d0((longlong)pwVar12); + pIVar5 = local_168; + if (((local_168 != (IMAGE_DOS_HEADER *)0x0) && + (local_168 != (IMAGE_DOS_HEADER *)PTR_DAT_14016f010)) && + (pIVar2 = local_168 + -1, pIVar2->e_program + 0x38 != (byte *)0x0)) { + piVar4 = (int *)FUN_14003e7c0(pwVar12,pIVar6,pIVar15,pIVar16); + local_88 = piVar4; + FUN_14003d040(piVar4); + local_80 = 1; + pbVar14 = pIVar5[-1].e_program + 0x3c; + *(int *)pbVar14 = *(int *)pbVar14 + -1; + if (*(int *)pbVar14 == 0) { + FUN_14003e8b0(pIVar2->e_program + 0x38); + } + FUN_14003d0d0((longlong)piVar4); + } + local_168 = (IMAGE_DOS_HEADER *)PTR_DAT_14016f010; + if (local_160 != 0) { + FUN_14007b390(local_160,pIVar6,(SIZE_T)pIVar15); + } +LAB_140082a7d: + FUN_140091270(&local_118); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140082ab0.c b/decomp/AgentManager_Release_x64/full/functions/0x140082ab0.c new file mode 100644 index 00000000..5187040f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140082ab0.c @@ -0,0 +1,237 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140082ab0 FUN_140082ab0 + * Pseudocode, not original source. */ + +void FUN_140082ab0(longlong *param_1,longlong param_2,IMAGE_DOS_HEADER *param_3, + IMAGE_DOS_HEADER *param_4) + +{ + int *piVar1; + bool bVar2; + short *psVar3; + uint uVar4; + int *piVar5; + int *piVar6; + longlong *plVar7; + int *piVar8; + word *pwVar9; + undefined8 *puVar10; + short **ppsVar11; + longlong lVar12; + byte *pbVar13; + wchar_t *pwVar14; + undefined *puVar15; + IMAGE_DOS_HEADER *pIVar16; + ulonglong uVar17; + short *psVar18; + undefined8 uVar19; + undefined *puVar20; + undefined8 uVar21; + short *local_res10; + longlong local_res18 [2]; + undefined8 in_stack_fffffffffffffec0; + undefined4 uVar22; + undefined *local_118; + undefined **local_110; + undefined8 local_108; + undefined8 local_100; + undefined8 local_f8; + undefined8 local_f0; + undefined **local_e8; + undefined8 local_e0; + undefined8 local_d8; + undefined8 local_d0; + undefined8 local_c8; + undefined **local_c0; + undefined8 local_b8; + undefined8 local_b0; + undefined8 local_a8; + undefined8 local_a0; + int *local_98; + undefined1 local_90; + int *local_88; + undefined1 local_80; + int *local_78; + undefined1 local_70; + int *local_68; + undefined1 local_60; + int *local_58; + undefined1 local_50; + undefined8 local_48; + + uVar22 = (undefined4)((ulonglong)in_stack_fffffffffffffec0 >> 0x20); + local_48 = 0xfffffffffffffffe; + if (param_3 == (IMAGE_DOS_HEADER *)0x0) { + pbVar13 = (byte *)0x0; + } + else { + pbVar13 = param_3[1].e_program; + } + pIVar16 = param_4; + FUN_140091260(local_res18,(longlong)pbVar13); + piVar5 = (int *)(**(code **)(*(longlong *)¶m_3[2].e_cparhdr + 0x10))(); + FUN_14003d040(piVar5); + uVar4 = *(uint *)(param_2 + 8); + if ((int)uVar4 < 1) { + *(undefined1 *)(*(longlong *)(param_3[0xe].e_program + 8) + 0x40) = 0; + FUN_14003d0d0((longlong)piVar5); + piVar6 = (int *)(**(code **)(*(longlong *)param_1[0x29] + 0x58))(); + local_88 = piVar6; + FUN_14003d040(piVar6); + local_80 = 1; + if (DAT_14017614f != '\0') { + (**(code **)(*(longlong *)param_1[0x29] + 200)) + ((longlong *)param_1[0x29], + L"Proud::CNetThreads_S::NetWorkerThread_TcpRecvCompletionCase"); + } + local_108 = 0; + local_100 = 0; + local_f8 = 0; + local_f0 = 0; + local_110 = Proud::ByteArray::vftable; + uVar19 = 3; + uVar21 = 0xb; + FUN_14006ef00((SIZE_T *)param_1[0x29],(uint *)param_3,0xb,3,(longlong)&local_110, + L"Proud::CNetThreads_S::NetWorkerThread_TcpRecvCompletionCase", + *(undefined4 *)(param_2 + 0xc)); + FUN_140049e40(&local_110); + pwVar9 = param_3[1].e_res_4_ + 2; + pwVar14 = L"Proud::CNetThreads_S::NetWorkerThread_TcpRecvCompletionCase"; + (**(code **)(*(longlong *)pwVar9 + 0x40))(); + if (*(longlong *)(param_1[0x29] + 0x17f0) != 0) { + FUN_14003e7c0(pwVar9,pwVar14,uVar21,uVar19); + local_res10 = (short *)PTR_DAT_14016f010; + puVar10 = (undefined8 *)(*(longlong *)(param_3[0xe].e_program + 8) + 0x128); + plVar7 = (longlong *)(**(code **)*puVar10)(puVar10,&local_118); + puVar20 = (undefined *)*plVar7; + if ((undefined *)*plVar7 == (undefined *)0x0) { + puVar20 = PTR_DAT_14016f010; + } + uVar17 = (ulonglong)*(uint *)(param_3[0xd].e_program + 0x38); + puVar15 = &DAT_140113f10; + ppsVar11 = &local_res10; + FUN_140029b80((longlong *)ppsVar11, + L"서버: 클라이언트 연결 해제. HostID=%d, Addr=%s, ErrorCode = %d", + uVar17,puVar20); + if (((local_118 != (undefined *)0x0) && (local_118 != PTR_DAT_14016f010)) && + (local_118 + -8 != (undefined *)0x0)) { + piVar8 = (int *)FUN_14003e7c0(ppsVar11,puVar15,uVar17,puVar20); + local_68 = piVar8; + FUN_14003d040(piVar8); + local_60 = 1; + piVar1 = (int *)(local_118 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(local_118 + -8); + } + FUN_14003d0d0((longlong)piVar8); + } + psVar3 = local_res10; + psVar18 = local_res10; + if (local_res10 == (short *)0x0) { + psVar18 = (short *)PTR_DAT_14016f010; + } + uVar21 = 0; + lVar12 = *(longlong *)(param_1[0x29] + 0x17f0); + FUN_1400843d0(lVar12,0,psVar18,puVar20); + if (((psVar3 != (short *)0x0) && (psVar3 != (short *)PTR_DAT_14016f010)) && + (psVar3 + -4 != (short *)0x0)) { + piVar8 = (int *)FUN_14003e7c0(lVar12,uVar21,psVar18,puVar20); + local_98 = piVar8; + FUN_14003d040(piVar8); + local_90 = 1; + piVar1 = (int *)(psVar3 + -2); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(psVar3 + -4); + } + FUN_14003d0d0((longlong)piVar8); + } + } +LAB_140082f94: + bVar2 = false; + FUN_14003d0d0((longlong)piVar6); + } + else { + puVar10 = (undefined8 *) + FUN_140043cd0(*(longlong *)(*(longlong *)(param_3[0xe].e_program + 8) + 0x110)); + uVar17 = (ulonglong)uVar4; + FUN_14009ab30((longlong *)(*(longlong *)(param_3[0xe].e_program + 8) + 200),puVar10,uVar17); + FUN_14007e740((longlong)param_4,0,uVar17,pIVar16); + uVar4 = FUN_14008a9f0((longlong)param_3,(longlong)param_4,uVar17,pIVar16); + if (uVar4 != 0) { + *(undefined1 *)(*(longlong *)(param_3[0xe].e_program + 8) + 0x40) = 0; + FUN_14003d0d0((longlong)piVar5); + piVar5 = (int *)(**(code **)(*(longlong *)param_1[0x29] + 0x58))(); + local_78 = piVar5; + FUN_14003d040(piVar5); + local_70 = 1; + if (DAT_14017614f != '\0') { + (**(code **)(*(longlong *)param_1[0x29] + 200)) + ((longlong *)param_1[0x29], + L"Proud::CNetThreads_S::NetWorkerThread_TcpRecvCompletionCase"); + } + local_b8 = 0; + local_b0 = 0; + local_a8 = 0; + local_a0 = 0; + local_c0 = Proud::ByteArray::vftable; + FUN_14006ef00((SIZE_T *)param_1[0x29],(uint *)param_3,(ulonglong)uVar4,3,(longlong)&local_c0, + L"Proud::CNetThreads_S::NetWorkerThread_TcpRecvCompletionCase",0); + FUN_140049e40(&local_c0); + FUN_14003d0d0((longlong)piVar5); + goto LAB_140082fab; + } + FUN_14003d0d0((longlong)piVar5); + uVar21 = (**(code **)(*(longlong *)(param_1[0x29] + 0x118) + 8))(); + param_3[3].e_magic[0] = (char)uVar21; + param_3[3].e_magic[1] = (char)((ulonglong)uVar21 >> 8); + param_3[3].e_cblp = (short)((ulonglong)uVar21 >> 0x10); + param_3[3].e_cp = (short)((ulonglong)uVar21 >> 0x20); + param_3[3].e_crlc = (short)((ulonglong)uVar21 >> 0x30); + *(longlong *)(param_1[0x29] + 0x500) = *(longlong *)(param_1[0x29] + 0x500) + 1; + *(longlong *)(param_1[0x29] + 0x540) = + *(longlong *)(param_1[0x29] + 0x540) + (longlong)*(int *)(param_2 + 8); + uVar21 = 0; + pIVar16 = param_3; + FUN_1400823c0(param_1,param_3,param_4,(IMAGE_DOS_HEADER *)0x0); + bVar2 = true; + FUN_14003d040(piVar5); + *(undefined1 *)(*(longlong *)(param_3[0xe].e_program + 8) + 0x40) = 0; + uVar4 = FUN_140090d00(*(longlong *)(param_3[0xe].e_program + 8),pIVar16,(undefined **)param_4, + uVar21); + if (uVar4 != 0) { + FUN_14003d0d0((longlong)piVar5); + piVar6 = (int *)(**(code **)(*(longlong *)param_1[0x29] + 0x58))(); + local_58 = piVar6; + FUN_14003d040(piVar6); + local_50 = 1; + if (DAT_14017614f != '\0') { + (**(code **)(*(longlong *)param_1[0x29] + 200)) + ((longlong *)param_1[0x29], + L"Proud::CNetThreads_S::NetWorkerThread_TcpRecvCompletionCase"); + } + local_e0 = 0; + local_d8 = 0; + local_d0 = 0; + local_c8 = 0; + local_e8 = Proud::ByteArray::vftable; + (**(code **)(*(longlong *)(param_3[1].e_res_4_ + 2) + 0x38)) + (param_3[1].e_res_4_ + 2,0xb,3,&local_e8, + L"Proud::CNetThreads_S::NetWorkerThread_TcpRecvCompletionCase", + CONCAT44(uVar22,uVar4)); + FUN_140049e40(&local_e8); + (**(code **)(*(longlong *)(param_3[1].e_res_4_ + 2) + 0x40)) + (param_3[1].e_res_4_ + 2, + L"Proud::CNetThreads_S::NetWorkerThread_TcpRecvCompletionCase"); + goto LAB_140082f94; + } + } + if (bVar2) { + FUN_14003d0d0((longlong)piVar5); + } +LAB_140082fab: + FUN_140091270(local_res18); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140082fe0.c b/decomp/AgentManager_Release_x64/full/functions/0x140082fe0.c new file mode 100644 index 00000000..6cc2163b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140082fe0.c @@ -0,0 +1,40 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140082fe0 FUN_140082fe0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_140082fe0(longlong *param_1,undefined8 *param_2,IMAGE_DOS_HEADER *param_3, + undefined8 param_4) + +{ + int iVar1; + IMAGE_DOS_HEADER *pIVar2; + undefined1 auStack_188 [32]; + IMAGE_DOS_HEADER *local_168; + longlong *local_160; + undefined8 local_150; + ulonglong local_28; + + local_150 = 0xfffffffffffffffe; + local_28 = DAT_14016f5a0 ^ (ulonglong)auStack_188; + local_168 = (IMAGE_DOS_HEADER *)0x0; + pIVar2 = param_3; + local_160 = param_1; + local_168 = (IMAGE_DOS_HEADER *)FUN_140097640((longlong *)*param_2); + if (local_168 != (IMAGE_DOS_HEADER *)0x0) { + iVar1 = *(int *)(param_2 + 2); + if (iVar1 == 2) { + FUN_140082ab0(param_1,(longlong)param_2,local_168,param_3); + } + else if (iVar1 == 1) { + FUN_14007b6d0((longlong)param_1,(longlong)param_2,(uint *)local_168,param_4); + } + else if (((iVar1 == 0) && (*(int *)(param_2 + 3) == -1)) && + (*(longlong *)(param_1[0x29] + 0x788) != 0)) { + FUN_14007ee40((longlong)param_1,(longlong)local_168,(longlong *)pIVar2,param_4); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400830b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400830b0.c new file mode 100644 index 00000000..4495629e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400830b0.c @@ -0,0 +1,307 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400830b0 FUN_1400830b0 + * Pseudocode, not original source. */ + +void FUN_1400830b0(IMAGE_DOS_HEADER *param_1,undefined8 param_2,IMAGE_DOS_HEADER *param_3, + IMAGE_DOS_HEADER *param_4) + +{ + int *piVar1; + byte bVar2; + uint uVar3; + short *psVar4; + bool bVar5; + HANDLE hThread; + undefined8 uVar6; + IMAGE_DOS_HEADER *pIVar7; + IMAGE_DOS_HEADER *pIVar8; + int *piVar9; + longlong lVar10; + IMAGE_DOS_HEADER *pIVar11; + IMAGE_DOS_HEADER *pIVar12; + int iVar13; + undefined4 *puVar15; + ulonglong uVar16; + short *psVar17; + ulonglong uVar18; + double dVar19; + char local_res10 [8]; + longlong *local_res18; + short *local_res20; + undefined **local_108; + IMAGE_DOS_HEADER *local_100; + IMAGE_DOS_HEADER *local_f8; + undefined8 local_f0; + undefined8 local_e8; + undefined **local_e0; + longlong *local_d8; + LPVOID local_d0; + undefined8 local_c8; + word local_c0 [4]; + undefined **local_b8; + longlong *local_b0; + LPVOID local_a8; + byte local_a0 [16]; + IMAGE_DOS_HEADER *local_90; + undefined8 local_88; + uint local_80; + byte local_78 [8]; + word local_70 [4]; + undefined **local_68; + word local_60 [2]; + word local_5c; + int *local_58; + byte local_50; + byte local_48 [16]; + ulonglong uVar14; + + local_48[0] = 0xfe; + local_48[1] = 0xff; + local_48[2] = 0xff; + local_48[3] = 0xff; + local_48[4] = 0xff; + local_48[5] = 0xff; + local_48[6] = 0xff; + local_48[7] = 0xff; + hThread = GetCurrentThread(); + pIVar12 = (IMAGE_DOS_HEADER *)0x0; + SetThreadPriorityBoost(hThread,0); + pIVar11 = (IMAGE_DOS_HEADER *)local_res10; + FUN_1400721c0(pIVar11); + local_b8 = Proud::CFastArray::vftable; + uVar16 = 0; + local_b0 = (longlong *)0x0; + local_a8 = (LPVOID)0x0; + local_a0[0] = 0; + local_a0[1] = 0; + local_a0[2] = 0; + local_a0[3] = 0; + local_a0[4] = 0; + local_a0[5] = 0; + local_a0[6] = 0; + local_a0[7] = 0; + local_a0[8] = 0; + local_a0[9] = 0; + local_a0[10] = 0; + local_a0[0xb] = 0; + local_a0[0xc] = 0; + local_a0[0xd] = 0; + local_a0[0xe] = 0; + local_a0[0xf] = 0; + local_d8 = (longlong *)0x0; + local_d0 = (LPVOID)0x0; + local_c8._0_2_ = 0; + local_c8._2_2_ = 0; + local_c8._4_2_ = 0; + local_c8._6_2_ = 0; + local_e0 = Proud::CReceivedMessageList::vftable; + local_c0[0] = 1000; + local_c0[1] = 0; + local_c0[2] = 1; + local_c0[3] = 0; + bVar5 = FUN_14003e210(pIVar11,pIVar12,param_3,param_4); + if (bVar5) { + local_108 = Proud::CFastArray::vftable; + local_100 = (IMAGE_DOS_HEADER *)0x0; + local_f8 = (IMAGE_DOS_HEADER *)0x0; + local_f0 = 0; + local_e8 = 0; + pIVar12 = (IMAGE_DOS_HEADER *)0xa; + FUN_14007ae90((longlong)&local_108,10,param_3,param_4); + local_res18 = (longlong *)((ulonglong)local_res18 & 0xffffffff00000000); + while (param_1[2].e_program[0] == 0) { + param_4 = (IMAGE_DOS_HEADER *)(ulonglong)DAT_14016f068; + param_3 = (IMAGE_DOS_HEADER *)&local_res18; + uVar6 = FUN_1400472d0(*(char **)(*(longlong *)(param_1[2].e_program + 8) + 0x788), + (longlong *)&local_108,(uint *)param_3,param_4); + pIVar12 = *(IMAGE_DOS_HEADER **)(*(longlong *)(param_1[2].e_program + 8) + 0x118); + dVar19 = (double)(**(code **)&pIVar12->e_cparhdr)(); + pIVar11 = *(IMAGE_DOS_HEADER **)(param_1[2].e_program + 8); + if (*(double *)(pIVar11[0x10].e_res_4_ + 2) <= dVar19 - *(double *)(param_1 + 2) && + dVar19 - *(double *)(param_1 + 2) != *(double *)(pIVar11[0x10].e_res_4_ + 2)) { + *(double *)(param_1 + 2) = dVar19; + pIVar12 = (IMAGE_DOS_HEADER *)&local_b8; + pIVar11 = param_1; + FUN_14007aaf0((longlong)param_1,(longlong)pIVar12,param_3,(longlong)param_4); + } + if (((char)uVar6 != '\0') && (uVar14 = uVar16, uVar18 = uVar16, (uint)local_res18 != 0)) { + do { + iVar13 = (int)uVar14; + if ((iVar13 < 0) || ((int)local_f0 <= iVar13)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(pIVar11,pIVar12,param_3,param_4); + } + pIVar12 = (IMAGE_DOS_HEADER *)(local_f8->e_magic + (longlong)iVar13 * 0x38); + param_3 = (IMAGE_DOS_HEADER *)&local_e0; + pIVar11 = param_1; + FUN_140082fe0((longlong *)param_1,(undefined8 *)pIVar12,param_3,param_4); + if ((int)local_f0 <= iVar13) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(pIVar11,pIVar12,param_3,param_4); + } + pIVar8 = (IMAGE_DOS_HEADER *)(local_f8->e_magic + uVar18); + pIVar11 = *(IMAGE_DOS_HEADER **)pIVar8; + pIVar7 = (IMAGE_DOS_HEADER *)FUN_1400975e0((longlong *)pIVar11); + if (pIVar7 != (IMAGE_DOS_HEADER *)0x0) { + uVar3._0_2_ = pIVar8->e_sp; + uVar3._2_2_ = pIVar8->e_csum; + pIVar11 = (IMAGE_DOS_HEADER *)(ulonglong)uVar3; + if (uVar3 == 2) { + param_4 = (IMAGE_DOS_HEADER *)&local_e0; + pIVar11 = param_1; + FUN_140082470((byte **)param_1,(longlong)pIVar8,pIVar7,param_4); + pIVar12 = pIVar8; + param_3 = pIVar7; + } + else if (uVar3 == 1) { + pIVar11 = param_1; + FUN_14007a200((longlong)param_1,(longlong)pIVar8,(longlong)pIVar7,param_4); + pIVar12 = pIVar8; + param_3 = pIVar7; + } + } + uVar14 = (ulonglong)(iVar13 + 1U); + uVar18 = uVar18 + 0x38; + } while (iVar13 + 1U < (uint)local_res18); + } + } + local_108 = Proud::CFastArray::vftable; + pIVar11 = local_f8; + if (local_f8 != (IMAGE_DOS_HEADER *)0x0) { + param_3 = local_100; + if (local_100 == (IMAGE_DOS_HEADER *)0x0) { + FUN_14003e8b0(local_f8); + } + else { + pIVar11 = local_100; + pIVar12 = local_f8; + (**(code **)(*(longlong *)local_100 + 0x18))(); + } + } + } + else { + bVar2 = param_1[2].e_program[0]; + while (bVar2 == 0) { + local_68 = Proud::AddrPort::vftable; + local_90 = (IMAGE_DOS_HEADER *)0x0; + local_78[0] = 0; + local_78[1] = 0; + local_78[2] = 0; + local_78[3] = 0; + local_78[4] = 0; + local_78[5] = 0; + local_78[6] = 0; + local_78[7] = 0; + local_88._0_2_ = 0; + local_88._2_2_ = 0; + local_88._4_2_ = 0; + local_88._6_2_ = 0; + local_80 = 5; + local_70[0] = 0; + local_70[1] = 0; + param_3 = (IMAGE_DOS_HEADER *)(ulonglong)DAT_14016f068; + local_60 = (word [2])DAT_14016f3d0; + local_5c = DAT_14016f3d4; + uVar6 = FUN_140046e80(*(char **)(*(longlong *)(param_1[2].e_program + 8) + 0x788), + (longlong *)&local_90,(ulonglong)param_3,param_4); + pIVar12 = *(IMAGE_DOS_HEADER **)(*(longlong *)(param_1[2].e_program + 8) + 0x118); + dVar19 = (double)(**(code **)&pIVar12->e_cparhdr)(); + pIVar11 = *(IMAGE_DOS_HEADER **)(param_1[2].e_program + 8); + if (*(double *)(pIVar11[0x10].e_res_4_ + 2) <= dVar19 - *(double *)(param_1 + 2) && + dVar19 - *(double *)(param_1 + 2) != *(double *)(pIVar11[0x10].e_res_4_ + 2)) { + *(double *)(param_1 + 2) = dVar19; + pIVar12 = (IMAGE_DOS_HEADER *)&local_b8; + pIVar11 = param_1; + FUN_14007aaf0((longlong)param_1,(longlong)pIVar12,param_3,(longlong)param_4); + } + if ((char)uVar6 != '\0') { + param_3 = (IMAGE_DOS_HEADER *)&local_e0; + pIVar12 = (IMAGE_DOS_HEADER *)&local_90; + FUN_140082fe0((longlong *)param_1,(undefined8 *)pIVar12,param_3,param_4); + pIVar11 = local_90; + pIVar8 = (IMAGE_DOS_HEADER *)FUN_1400975e0((longlong *)local_90); + if (pIVar8 != (IMAGE_DOS_HEADER *)0x0) { + pIVar11 = (IMAGE_DOS_HEADER *)(ulonglong)local_80; + if (local_80 == 2) { + param_4 = (IMAGE_DOS_HEADER *)&local_e0; + pIVar12 = (IMAGE_DOS_HEADER *)&local_90; + pIVar11 = param_1; + FUN_140082470((byte **)param_1,(longlong)pIVar12,pIVar8,param_4); + param_3 = pIVar8; + } + else if (local_80 == 1) { + pIVar12 = (IMAGE_DOS_HEADER *)&local_90; + pIVar11 = param_1; + FUN_14007a200((longlong)param_1,(longlong)pIVar12,(longlong)pIVar8,param_4); + param_3 = pIVar8; + } + } + } + bVar2 = param_1[2].e_program[0]; + } + } + if (*(longlong *)(*(longlong *)(param_1[2].e_program + 8) + 0x17f0) != 0) { + FUN_14003e7c0(pIVar11,pIVar12,param_3,param_4); + local_res20 = (short *)PTR_DAT_14016f010; + FUN_140029b80((longlong *)&local_res20,L"%s thread 종료.", + L"Proud::CNetThreads_S::NetWorkerThread_Main",param_4); + psVar4 = local_res20; + psVar17 = local_res20; + if (local_res20 == (short *)0x0) { + psVar17 = (short *)PTR_DAT_14016f010; + } + uVar6 = 0; + lVar10 = *(longlong *)(*(longlong *)(param_1[2].e_program + 8) + 0x17f0); + FUN_1400843d0(lVar10,0,psVar17,param_4); + if (((psVar4 != (short *)0x0) && (psVar4 != (short *)PTR_DAT_14016f010)) && + (psVar4 + -4 != (short *)0x0)) { + piVar9 = (int *)FUN_14003e7c0(lVar10,uVar6,psVar17,param_4); + local_58 = piVar9; + FUN_14003d040(piVar9); + local_50 = 1; + piVar1 = (int *)(psVar4 + -2); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(psVar4 + -4); + } + FUN_14003d0d0((longlong)piVar9); + } + } + local_e0 = Proud::CFastArray::vftable; + lVar10 = (longlong)(int)local_c8; + if (0 < (int)local_c8) { + puVar15 = (undefined4 *)((longlong)local_d0 + 0x18); + do { + local_res18 = (longlong *)(puVar15 + -4); + FUN_14008a320(local_res18); + if (*(longlong *)(puVar15 + -2) != 0) { + if ((int)puVar15[1] < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + *puVar15 = 0; + } + uVar16 = uVar16 + 1; + puVar15 = puVar15 + 0x12; + } while ((longlong)uVar16 < lVar10); + } + if (local_d0 != (LPVOID)0x0) { + if (local_d8 == (longlong *)0x0) { + FUN_14003e8b0(local_d0); + } + else { + (**(code **)(*local_d8 + 0x18))(local_d8,local_d0); + } + } + if (local_a8 != (LPVOID)0x0) { + if (local_b0 == (longlong *)0x0) { + FUN_14003e8b0(local_a8); + } + else { + (**(code **)(*local_b0 + 0x18))(local_b0,local_a8); + } + } + FUN_1400721f0(local_res10); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140083560.c b/decomp/AgentManager_Release_x64/full/functions/0x140083560.c new file mode 100644 index 00000000..714fa557 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140083560.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140083560 FUN_140083560 + * Pseudocode, not original source. */ + +void FUN_140083560(IMAGE_DOS_HEADER *param_1,undefined8 param_2,IMAGE_DOS_HEADER *param_3, + IMAGE_DOS_HEADER *param_4) + +{ + DWORD DVar1; + char *pcVar2; + + DVar1 = GetCurrentThreadId(); + pcVar2 = "PNSrv NetWorker"; + FUN_140046070(DVar1,"PNSrv NetWorker"); + FUN_1400830b0(param_1,pcVar2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140083590.c b/decomp/AgentManager_Release_x64/full/functions/0x140083590.c new file mode 100644 index 00000000..d6604036 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140083590.c @@ -0,0 +1,313 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140083590 FUN_140083590 + * Pseudocode, not original source. */ + +void FUN_140083590(int *param_1,int param_2,int *param_3) + +{ + uint uVar1; + int *piVar2; + int iVar3; + undefined8 *puVar4; + undefined8 *puVar5; + longlong lVar6; + longlong lVar7; + longlong lVar8; + longlong *plVar9; + undefined8 **ppuVar10; + int iVar11; + int iVar12; + ulonglong uVar13; + int iVar14; + longlong lVar15; + longlong lVar16; + int local_res18; + undefined8 *local_88; + undefined8 *local_80; + undefined8 *local_78; + undefined8 *local_70; + undefined8 local_68; + int *local_60; + undefined1 local_58; + + iVar12 = (int)param_3; + local_68 = 0xfffffffffffffffe; + uVar13 = (ulonglong)*(uint *)(*(longlong *)(param_1 + 0x52) + 600); + if (*(uint *)(*(longlong *)(param_1 + 0x52) + 600) != 0) { + FUN_14009a9c0((double *)(param_1 + 0x7a),(double)uVar13 * 0.001); + } + puVar5 = operator_new(0x28); + if (puVar5 == (undefined8 *)0x0) { + puVar5 = (undefined8 *)0x0; + } + else { + param_3 = param_1; + puVar5 = FUN_140045b20(puVar5,FUN_1400816e0,param_1); + } + if (puVar5 == (undefined8 *)0x0) { + local_80 = (undefined8 *)0x0; + } + else { + local_80 = (undefined8 *)FUN_14003e840(0x10); + local_80[1] = 1; + *local_80 = puVar5; + } + puVar5 = local_80; + FUN_14007b440((longlong *)(param_1 + 0x22),(longlong *)&local_80); + puVar4 = local_80; + if (puVar5 != (undefined8 *)0x0) { + plVar9 = puVar5 + 1; + *plVar9 = *plVar9 + -1; + if (*plVar9 == 0) { + puVar5 = (undefined8 *)*local_80; + if (puVar5 != (undefined8 *)0x0) { + FUN_140045c30(puVar5); + operator_delete(puVar5); + } + FUN_14003e8b0(puVar4); + } + } + puVar5 = operator_new(0x28); + if (puVar5 == (undefined8 *)0x0) { + puVar5 = (undefined8 *)0x0; + } + else { + param_3 = param_1; + puVar5 = FUN_140045b20(puVar5,FUN_14007cab0,param_1); + } + if (puVar5 == (undefined8 *)0x0) { + local_78 = (undefined8 *)0x0; + } + else { + local_78 = (undefined8 *)FUN_14003e840(0x10); + local_78[1] = 1; + *local_78 = puVar5; + } + puVar5 = local_78; + ppuVar10 = &local_78; + FUN_14007b440((longlong *)(param_1 + 0x24),(longlong *)ppuVar10); + puVar4 = local_78; + if (puVar5 != (undefined8 *)0x0) { + plVar9 = puVar5 + 1; + *plVar9 = *plVar9 + -1; + if (*plVar9 == 0) { + puVar5 = (undefined8 *)*local_78; + if (puVar5 != (undefined8 *)0x0) { + FUN_140045c30(puVar5); + operator_delete(puVar5); + } + FUN_14003e8b0(puVar4); + } + } + iVar14 = 0; + if (0 < iVar12) { + piVar2 = param_1 + 0xe; + do { + local_70 = operator_new(0x28); + if (local_70 == (undefined8 *)0x0) { + puVar5 = (undefined8 *)0x0; + } + else { + param_3 = param_1; + puVar5 = FUN_140045b20(local_70,FUN_140083560,param_1); + } + if (puVar5 == (undefined8 *)0x0) { + local_70 = (undefined8 *)0x0; + } + else { + local_70 = (undefined8 *)FUN_14003e840(0x10); + local_70[1] = 1; + *local_70 = puVar5; + } + puVar5 = local_70; + iVar3 = param_1[0x14]; + if (iVar3 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + iVar11 = param_1[0x14]; + FUN_14007f220((longlong)piVar2,iVar11 + 1,param_3,uVar13); + iVar11 = iVar11 - iVar3; + if ((0 < iVar11) && (iVar11 = iVar11 + -1, -1 < iVar11)) { + lVar15 = (longlong)(iVar11 + iVar3 + 1) << 3; + lVar16 = (longlong)(iVar11 + iVar3) << 3; + do { + lVar6 = FUN_140074a30((longlong)piVar2); + lVar7 = FUN_140074a30((longlong)piVar2); + FUN_14007b440((longlong *)(lVar15 + lVar7),(longlong *)(lVar16 + lVar6)); + lVar16 = lVar16 + -8; + lVar15 = lVar15 + -8; + iVar11 = iVar11 + -1; + } while (-1 < iVar11); + } + lVar15 = FUN_140074a30((longlong)piVar2); + ppuVar10 = &local_70; + FUN_14007b440((longlong *)(lVar15 + (longlong)iVar3 * 8),(longlong *)ppuVar10); + puVar4 = local_70; + if (puVar5 != (undefined8 *)0x0) { + plVar9 = puVar5 + 1; + *plVar9 = *plVar9 + -1; + if (*plVar9 == 0) { + puVar5 = (undefined8 *)*local_70; + if (puVar5 != (undefined8 *)0x0) { + FUN_140045c30(puVar5); + operator_delete(puVar5); + } + FUN_14003e8b0(puVar4); + } + } + iVar14 = iVar14 + 1; + } while (iVar14 < iVar12); + } + local_60 = param_1; + FUN_14003d040(param_1); + local_58 = 1; + local_res18 = 0; + if (0 < param_2) { + do { + puVar5 = operator_new(0x28); + if (puVar5 == (undefined8 *)0x0) { + puVar5 = (undefined8 *)0x0; + } + else { + param_3 = param_1; + puVar5 = FUN_140045b20(puVar5,FUN_140081710,param_1); + } + if (puVar5 == (undefined8 *)0x0) { + local_88 = (undefined8 *)0x0; + } + else { + local_88 = (undefined8 *)FUN_14003e840(0x10); + local_88[1] = 1; + *local_88 = puVar5; + } + iVar12 = param_1[0x1e]; + lVar15 = (longlong)iVar12; + if (iVar12 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + iVar14 = param_1[0x1e]; + uVar1 = iVar14 + 1; + ppuVar10 = (undefined8 **)(ulonglong)uVar1; + FUN_14007f220((longlong)(param_1 + 0x18),uVar1,param_3,uVar13); + iVar14 = iVar14 - iVar12; + if ((0 < iVar14) && (iVar14 = iVar14 + -1, lVar16 = (longlong)iVar14, -1 < iVar14)) { + lVar6 = (lVar16 + lVar15) * 8 + 8; + do { + lVar7 = FUN_140074a30((longlong)(param_1 + 0x18)); + lVar8 = FUN_140074a30((longlong)(param_1 + 0x18)); + plVar9 = (longlong *)(lVar6 + lVar8); + ppuVar10 = *(undefined8 ***)(lVar7 + -8 + lVar6); + if (ppuVar10 != (undefined8 **)*plVar9) { + if (ppuVar10 != (undefined8 **)0x0) { + ppuVar10 = (undefined8 **)((longlong)ppuVar10[1] + 1); + *(undefined8 ***)(*(longlong *)(lVar7 + -8 + lVar6) + 8) = ppuVar10; + } + puVar5 = (undefined8 *)0x0; + if ((*plVar9 != 0) && + (*(longlong *)(*plVar9 + 8) = *(longlong *)(*plVar9 + 8) + -1, + *(longlong *)(*plVar9 + 8) == 0)) { + puVar5 = (undefined8 *)*plVar9; + } + *plVar9 = *(longlong *)(lVar7 + -8 + lVar6); + if (puVar5 != (undefined8 *)0x0) { + puVar4 = (undefined8 *)*puVar5; + if (puVar4 != (undefined8 *)0x0) { + FUN_140045c30(puVar4); + operator_delete(puVar4); + } + FUN_14003e8b0(puVar5); + } + } + lVar6 = lVar6 + -8; + lVar16 = lVar16 + -1; + } while (-1 < lVar16); + } + lVar16 = FUN_140074a30((longlong)(param_1 + 0x18)); + if (local_88 != *(undefined8 **)(lVar16 + lVar15 * 8)) { + if (local_88 != (undefined8 *)0x0) { + local_88[1] = local_88[1] + 1; + } + puVar5 = (undefined8 *)0x0; + lVar6 = *(longlong *)(lVar16 + lVar15 * 8); + if ((lVar6 != 0) && + (*(longlong *)(*(longlong *)(lVar16 + lVar15 * 8) + 8) = *(longlong *)(lVar6 + 8) + -1, + *(longlong *)(*(longlong *)(lVar16 + lVar15 * 8) + 8) == 0)) { + puVar5 = *(undefined8 **)(lVar16 + lVar15 * 8); + } + *(undefined8 **)(lVar16 + lVar15 * 8) = local_88; + if (puVar5 != (undefined8 *)0x0) { + puVar4 = (undefined8 *)*puVar5; + if (puVar4 != (undefined8 *)0x0) { + FUN_140045c30(puVar4); + operator_delete(puVar4); + } + FUN_14003e8b0(puVar5); + } + } + if (local_88 != (undefined8 *)0x0) { + plVar9 = local_88 + 1; + *plVar9 = *plVar9 + -1; + if (*plVar9 == 0) { + puVar5 = (undefined8 *)*local_88; + if (puVar5 != (undefined8 *)0x0) { + FUN_140045c30(puVar5); + operator_delete(puVar5); + } + FUN_14003e8b0(local_88); + } + } + local_res18 = local_res18 + 1; + } while (local_res18 < param_2); + } + FUN_14003d0d0((longlong)param_1); + plVar9 = (longlong *)0x0; + if (*(undefined8 **)(param_1 + 0x22) != (undefined8 *)0x0) { + plVar9 = (longlong *)**(undefined8 **)(param_1 + 0x22); + } + FUN_140045d20(plVar9,ppuVar10,param_3,uVar13); + plVar9 = (longlong *)0x0; + if (*(undefined8 **)(param_1 + 0x24) != (undefined8 *)0x0) { + plVar9 = (longlong *)**(undefined8 **)(param_1 + 0x24); + } + FUN_140045d20(plVar9,ppuVar10,param_3,uVar13); + iVar12 = 0; + lVar15 = 0; + if (0 < param_1[0x14]) { + do { + if ((lVar15 < 0) || (param_1[0x14] <= iVar12)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(plVar9,ppuVar10,param_3,uVar13); + } + puVar5 = *(undefined8 **)(*(longlong *)(param_1 + 0x12) + lVar15 * 8); + plVar9 = (longlong *)0x0; + if (puVar5 != (undefined8 *)0x0) { + plVar9 = (longlong *)*puVar5; + } + FUN_140045d20(plVar9,ppuVar10,param_3,uVar13); + iVar12 = iVar12 + 1; + lVar15 = lVar15 + 1; + } while (iVar12 < param_1[0x14]); + } + iVar12 = 0; + lVar15 = 0; + if (0 < param_1[0x1e]) { + do { + if ((lVar15 < 0) || (param_1[0x1e] <= iVar12)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(plVar9,ppuVar10,param_3,uVar13); + } + puVar5 = *(undefined8 **)(*(longlong *)(param_1 + 0x1c) + lVar15 * 8); + plVar9 = (longlong *)0x0; + if (puVar5 != (undefined8 *)0x0) { + plVar9 = (longlong *)*puVar5; + } + FUN_140045d20(plVar9,ppuVar10,param_3,uVar13); + iVar12 = iVar12 + 1; + lVar15 = lVar15 + 1; + } while (iVar12 < param_1[0x1e]); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140083b60.c b/decomp/AgentManager_Release_x64/full/functions/0x140083b60.c new file mode 100644 index 00000000..70483be5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140083b60.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140083b60 FUN_140083b60 + * Pseudocode, not original source. */ + +DWORD FUN_140083b60(void) + +{ + DWORD DVar1; + + DVar1 = GetLastError(); + if (0 < (int)DVar1) { + DVar1 = DVar1 & 0xffff | 0x80070000; + } + return DVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140083b80.c b/decomp/AgentManager_Release_x64/full/functions/0x140083b80.c new file mode 100644 index 00000000..ee901a5e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140083b80.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140083b80 FUN_140083b80 + * Pseudocode, not original source. */ + +HANDLE FUN_140083b80(longlong *param_1,LPCWSTR param_2,uint param_3,uint param_4, + LPSECURITY_ATTRIBUTES param_5,DWORD param_6,DWORD param_7,undefined8 param_8) + +{ + HMODULE hModule; + FARPROC pFVar1; + HANDLE pvVar2; + + if (*param_1 == 0) { + if ((int)param_1[1] != 0) { + pvVar2 = CreateFileW(param_2,param_3,param_4,param_5,param_6,param_7,(HANDLE)0x0); + return pvVar2; + } + } + else { + hModule = GetModuleHandleW(L"kernel32.dll"); + if ((hModule != (HMODULE)0x0) && + (pFVar1 = GetProcAddress(hModule,"CreateFileTransactedW"), pFVar1 != (FARPROC)0x0)) { + pvVar2 = (HANDLE)(*pFVar1)(param_2,param_3,param_4,param_5,param_6,param_7,param_8,*param_1,0, + 0); + return pvVar2; + } + } + return (HANDLE)0xffffffffffffffff; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140083c80.c b/decomp/AgentManager_Release_x64/full/functions/0x140083c80.c new file mode 100644 index 00000000..9068c2e4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140083c80.c @@ -0,0 +1,53 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140083c80 FUN_140083c80 + * Pseudocode, not original source. */ + +void FUN_140083c80(char *param_1) + +{ + longlong lVar1; + longlong lVar2; + longlong lVar3; + ulonglong uVar4; + exception local_58 [88]; + + if (*param_1 != '\0') { + uVar4 = 0; + if ((*(longlong *)(param_1 + 0x20) != 0) && (*(longlong *)(param_1 + 8) == 0)) { + FUN_14003db10(local_58,L"CFastMap consistency error #0!",param_1,0); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + lVar1 = *(longlong *)(param_1 + 0x10); + lVar3 = lVar1; + while (lVar3 != 0) { + lVar2 = *(longlong *)(lVar3 + 8); + if ((lVar2 != 0) && (*(longlong *)(lVar2 + 0x10) != lVar3)) { + FUN_14003db10(local_58,L"CFastMap consistency error #1!",param_1,uVar4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + if ((lVar3 == lVar1) && (*(longlong *)(lVar3 + 0x10) != 0)) { + FUN_14003db10(local_58,L"CFastMap consistency error #2!",param_1,uVar4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + if ((lVar3 == *(longlong *)(param_1 + 0x18)) && (lVar2 != 0)) { + FUN_14003db10(local_58,L"CFastMap consistency error #3!",param_1,uVar4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + uVar4 = (ulonglong)((int)uVar4 + 1); + lVar3 = lVar2; + } + if ((int)uVar4 != *(int *)(param_1 + 0x20)) { + for (; lVar1 != 0; lVar1 = *(longlong *)(lVar1 + 8)) { + } + FUN_14003db10(local_58,L"CFastMap consistency error #4!",param_1,uVar4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140083db0.c b/decomp/AgentManager_Release_x64/full/functions/0x140083db0.c new file mode 100644 index 00000000..0f358bc8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140083db0.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140083db0 FUN_140083db0 + * Pseudocode, not original source. */ + +void FUN_140083db0(undefined8 *param_1) + +{ + if ((HANDLE)*param_1 != (HANDLE)0x0) { + CloseHandle((HANDLE)*param_1); + *param_1 = 0; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140083de0.c b/decomp/AgentManager_Release_x64/full/functions/0x140083de0.c new file mode 100644 index 00000000..639d3f74 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140083de0.c @@ -0,0 +1,102 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140083de0 FUN_140083de0 + * Pseudocode, not original source. */ + +void FUN_140083de0(char *param_1) + +{ + longlong *plVar1; + LPVOID pvVar2; + LPVOID pvVar3; + uint uVar4; + ulonglong uVar5; + longlong lVar6; + longlong lVar7; + float fVar8; + float fVar9; + + *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + 1; + FUN_140083c80(param_1); + pvVar3 = *(LPVOID *)(param_1 + 0x10); + while (pvVar3 != (LPVOID)0x0) { + plVar1 = *(longlong **)(param_1 + 0x50); + pvVar2 = *(LPVOID *)((longlong)pvVar3 + 8); + if (plVar1 == (longlong *)0x0) { + FUN_14003e8b0(pvVar3); + } + else { + (**(code **)(*plVar1 + 0x18))(plVar1,pvVar3); + } + *(longlong *)(param_1 + 0x20) = *(longlong *)(param_1 + 0x20) + -1; + pvVar3 = pvVar2; + } + FUN_14003e8b0(*(LPVOID *)(param_1 + 8)); + param_1[8] = '\0'; + param_1[9] = '\0'; + param_1[10] = '\0'; + param_1[0xb] = '\0'; + param_1[0xc] = '\0'; + param_1[0xd] = '\0'; + param_1[0xe] = '\0'; + param_1[0xf] = '\0'; + param_1[0x20] = '\0'; + param_1[0x21] = '\0'; + param_1[0x22] = '\0'; + param_1[0x23] = '\0'; + param_1[0x24] = '\0'; + param_1[0x25] = '\0'; + param_1[0x26] = '\0'; + param_1[0x27] = '\0'; + param_1[0x10] = '\0'; + param_1[0x11] = '\0'; + param_1[0x12] = '\0'; + param_1[0x13] = '\0'; + param_1[0x14] = '\0'; + param_1[0x15] = '\0'; + param_1[0x16] = '\0'; + param_1[0x17] = '\0'; + param_1[0x18] = '\0'; + param_1[0x19] = '\0'; + param_1[0x1a] = '\0'; + param_1[0x1b] = '\0'; + param_1[0x1c] = '\0'; + param_1[0x1d] = '\0'; + param_1[0x1e] = '\0'; + param_1[0x1f] = '\0'; + FUN_140083c80(param_1); + if (*(int *)(param_1 + 0x48) == 0) { + uVar4 = FUN_14009b970((longlong)param_1,*(longlong *)(param_1 + 0x20)); + if (*(LPVOID *)(param_1 + 8) != (LPVOID)0x0) { + FUN_14003e8b0(*(LPVOID *)(param_1 + 8)); + param_1[8] = '\0'; + param_1[9] = '\0'; + param_1[10] = '\0'; + param_1[0xb] = '\0'; + param_1[0xc] = '\0'; + param_1[0xd] = '\0'; + param_1[0xe] = '\0'; + param_1[0xf] = '\0'; + } + lVar6 = 0; + *(uint *)(param_1 + 0x28) = uVar4; + fVar9 = (float)uVar4 * *(float *)(param_1 + 0x34); + if ((9.223372e+18 < fVar9) && (fVar9 = fVar9 - 9.223372e+18, fVar9 < 9.223372e+18)) { + lVar6 = -0x8000000000000000; + } + fVar8 = (float)uVar4 * *(float *)(param_1 + 0x30); + lVar7 = 0; + *(longlong *)(param_1 + 0x38) = (longlong)fVar9 + lVar6; + if ((9.223372e+18 < fVar8) && (fVar8 = fVar8 - 9.223372e+18, fVar8 < 9.223372e+18)) { + lVar7 = -0x8000000000000000; + } + uVar5 = (longlong)fVar8 + lVar7; + if ((ulonglong)((longlong)fVar8 + lVar7) < 0x11) { + uVar5 = 0; + } + *(ulonglong *)(param_1 + 0x40) = uVar5; + } + FUN_140083c80(param_1); + *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + -1; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140083f10.c b/decomp/AgentManager_Release_x64/full/functions/0x140083f10.c new file mode 100644 index 00000000..1e88fb53 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140083f10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140083f10 FUN_140083f10 + * Pseudocode, not original source. */ + +void FUN_140083f10(char *param_1) + +{ + FUN_140083de0(param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140083f30.c b/decomp/AgentManager_Release_x64/full/functions/0x140083f30.c new file mode 100644 index 00000000..7587a125 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140083f30.c @@ -0,0 +1,37 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140083f30 FUN_140083f30 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x000140083f9f) */ +/* WARNING: Removing unreachable block (ram,0x000140083fa8) */ +/* WARNING: Removing unreachable block (ram,0x000140083fc6) */ +/* WARNING: Removing unreachable block (ram,0x000140083fcf) */ + +undefined1 * +FUN_140083f30(undefined1 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + ulonglong uVar1; + undefined8 uVar2; + + *param_1 = 0; + *(undefined8 *)(param_1 + 0x50) = 0; + *(undefined8 *)(param_1 + 8) = 0; + *(undefined8 *)(param_1 + 0x10) = 0; + *(undefined8 *)(param_1 + 0x18) = 0; + *(undefined4 *)(param_1 + 0x28) = 0x11; + *(undefined8 *)(param_1 + 0x20) = 0; + *(undefined4 *)(param_1 + 0x48) = 0; + *(undefined4 *)(param_1 + 0x2c) = 0x3f400000; + *(undefined4 *)(param_1 + 0x30) = 0x3e800000; + *(undefined4 *)(param_1 + 0x34) = 0x40100000; + uVar2 = 0x8000000000000000; + *(undefined8 *)(param_1 + 0x38) = 0x26; + *(undefined8 *)(param_1 + 0x40) = 0; + uVar1 = FUN_140094860(); + FUN_14003cf60((undefined4 *)(param_1 + 0x58),uVar1 & 0xffffffff, + CONCAT71((int7)((ulonglong)uVar2 >> 8),1),param_4); + param_1[0x88] = 1; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140084010.c b/decomp/AgentManager_Release_x64/full/functions/0x140084010.c new file mode 100644 index 00000000..884783ca --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140084010.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140084010 FUN_140084010 + * Pseudocode, not original source. */ + +void FUN_140084010(char *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003d110((undefined4 *)(param_1 + 0x58),param_2,param_3,param_4); + FUN_140083f10(param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140084040.c b/decomp/AgentManager_Release_x64/full/functions/0x140084040.c new file mode 100644 index 00000000..42124900 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140084040.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140084040 FUN_140084040 + * Pseudocode, not original source. */ + +void FUN_140084040(longlong *param_1,longlong *param_2) + +{ + longlong lVar1; + void *pvVar2; + undefined8 *puVar3; + longlong lVar4; + + lVar1 = *param_2; + if (lVar1 != *param_1) { + lVar4 = 0; + if (lVar1 != 0) { + lVar4 = *(longlong *)(lVar1 + 8) + 1; + *(longlong *)(*param_2 + 8) = lVar4; + } + puVar3 = (undefined8 *)0x0; + if ((*param_1 != 0) && + (*(longlong *)(*param_1 + 8) = *(longlong *)(*param_1 + 8) + -1, + *(longlong *)(*param_1 + 8) == 0)) { + puVar3 = (undefined8 *)*param_1; + } + *param_1 = *param_2; + if (puVar3 != (undefined8 *)0x0) { + pvVar2 = (void *)*puVar3; + if (pvVar2 != (void *)0x0) { + FUN_140002190((longlong *)((longlong)pvVar2 + 8),param_2,lVar4,param_1); + operator_delete(pvVar2); + } + FUN_14003e8b0(puVar3); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400840d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400840d0.c new file mode 100644 index 00000000..d0c4c649 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400840d0.c @@ -0,0 +1,25 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400840d0 FUN_1400840d0 + * Pseudocode, not original source. */ + +void FUN_1400840d0(longlong *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 *puVar1; + void *pvVar2; + + if (*param_1 != 0) { + *(longlong *)(*param_1 + 8) = *(longlong *)(*param_1 + 8) + -1; + if (*(longlong *)(*param_1 + 8) == 0) { + puVar1 = (undefined8 *)*param_1; + pvVar2 = (void *)*puVar1; + if (pvVar2 != (void *)0x0) { + FUN_140002190((longlong *)((longlong)pvVar2 + 8),0,param_3,param_4); + operator_delete(pvVar2); + } + FUN_14003e8b0(puVar1); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140084140.c b/decomp/AgentManager_Release_x64/full/functions/0x140084140.c new file mode 100644 index 00000000..ae7861ea --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140084140.c @@ -0,0 +1,26 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140084140 FUN_140084140 + * Pseudocode, not original source. */ + +void FUN_140084140(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 *puVar1; + void *pvVar2; + + if (*(longlong *)(param_1 + 0x10) != 0) { + *(longlong *)(*(longlong *)(param_1 + 0x10) + 8) = + *(longlong *)(*(longlong *)(param_1 + 0x10) + 8) + -1; + if (*(longlong *)(*(longlong *)(param_1 + 0x10) + 8) == 0) { + puVar1 = *(undefined8 **)(param_1 + 0x10); + pvVar2 = (void *)*puVar1; + if (pvVar2 != (void *)0x0) { + FUN_140002190((longlong *)((longlong)pvVar2 + 8),0,param_3,param_4); + operator_delete(pvVar2); + } + FUN_14003e8b0(puVar1); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400841b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400841b0.c new file mode 100644 index 00000000..bd24acdc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400841b0.c @@ -0,0 +1,39 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400841b0 FUN_1400841b0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +longlong * FUN_1400841b0(__time64_t *param_1,longlong *param_2,wchar_t *param_3) + +{ + errno_t eVar1; + size_t sVar2; + wchar_t *pwVar3; + undefined1 auStack_178 [32]; + undefined4 local_158; + tm local_150; + wchar_t local_128 [128]; + ulonglong local_28; + + local_28 = DAT_14016f5a0 ^ (ulonglong)auStack_178; + local_158 = 0; + if (param_3 == (wchar_t *)0x0) { + pwVar3 = (wchar_t *)0x0; + } + else { + eVar1 = _localtime64_s(&local_150,param_1); + if (eVar1 != 0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80070057); + } + sVar2 = wcsftime(local_128,0x80,param_3,&local_150); + if (sVar2 == 0) { + local_128[0] = L'\0'; + } + pwVar3 = local_128; + } + FUN_14003e570(param_2,pwVar3); + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140084250.c b/decomp/AgentManager_Release_x64/full/functions/0x140084250.c new file mode 100644 index 00000000..d014ff42 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140084250.c @@ -0,0 +1,39 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140084250 FUN_140084250 + * Pseudocode, not original source. */ + +longlong * FUN_140084250(longlong *param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong *plVar1; + longlong lVar2; + longlong *plVar3; + + plVar1 = (longlong *)param_1[1]; + if (plVar1 == (longlong *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + *param_2 = 0; + plVar3 = plVar1 + 2; + FUN_140084040(param_2,plVar3); + lVar2 = *plVar1; + param_1[1] = lVar2; + if (lVar2 == 0) { + param_1[2] = 0; + } + else { + *(undefined8 *)(lVar2 + 8) = 0; + } + FUN_140084140((longlong)plVar1,plVar3,param_3,param_4); + plVar3 = (longlong *)*param_1; + if (plVar3 == (longlong *)0x0) { + FUN_14003e8b0(plVar1); + } + else { + (**(code **)(*plVar3 + 0x10))(plVar3,plVar1); + } + param_1[3] = param_1[3] + -1; + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400842f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400842f0.c new file mode 100644 index 00000000..b20a8e50 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400842f0.c @@ -0,0 +1,47 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400842f0 FUN_1400842f0 + * Pseudocode, not original source. */ + +void FUN_1400842f0(longlong *param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong lVar1; + undefined8 *puVar2; + void *pvVar3; + longlong *plVar4; + + lVar1 = param_1[3]; + while( true ) { + if (lVar1 == 0) { + param_1[1] = 0; + param_1[2] = 0; + return; + } + plVar4 = (longlong *)param_1[1]; + if (plVar4 == (longlong *)0x0) break; + param_1[1] = *plVar4; + if ((plVar4[2] != 0) && + (*(longlong *)(plVar4[2] + 8) = *(longlong *)(plVar4[2] + 8) + -1, + *(longlong *)(plVar4[2] + 8) == 0)) { + puVar2 = (undefined8 *)plVar4[2]; + pvVar3 = (void *)*puVar2; + if (pvVar3 != (void *)0x0) { + FUN_140002190((longlong *)((longlong)pvVar3 + 8),param_2,param_3,param_4); + operator_delete(pvVar3); + } + FUN_14003e8b0(puVar2); + } + if ((longlong *)*param_1 == (longlong *)0x0) { + FUN_14003e8b0(plVar4); + } + else { + (**(code **)(*(longlong *)*param_1 + 0x10))(); + param_2 = plVar4; + } + param_1[3] = param_1[3] + -1; + lVar1 = param_1[3]; + } + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400843d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400843d0.c new file mode 100644 index 00000000..2165f4f7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400843d0.c @@ -0,0 +1,139 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400843d0 FUN_1400843d0 + * Pseudocode, not original source. */ + +void FUN_1400843d0(longlong param_1,undefined8 param_2,short *param_3,undefined8 param_4) + +{ + longlong *plVar1; + void *pvVar2; + undefined4 *puVar3; + longlong lVar4; + __time64_t _Var5; + undefined8 *puVar6; + undefined8 uVar7; + undefined *puVar8; + undefined8 uVar9; + undefined8 *puVar10; + short *psVar11; + undefined2 *puVar12; + longlong *local_res8; + exception local_78 [80]; + + uVar9 = param_2; + psVar11 = param_3; + FUN_14003d040((int *)(param_1 + 0x18)); + if (*(char *)(param_1 + 0x50) != '\0') { + FUN_14003db10(local_78,L"LogFile Creation Failed",psVar11,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_78,(ThrowInfo *)&DAT_14016c210); + } + uVar7 = 0x20; + pvVar2 = operator_new(0x20); + if (pvVar2 == (void *)0x0) { + pvVar2 = (void *)0x0; + } + else { + FUN_14003e7c0(uVar7,uVar9,psVar11,param_4); + *(undefined **)((longlong)pvVar2 + 8) = PTR_DAT_14016f010; + } + if (pvVar2 == (void *)0x0) { + local_res8 = (longlong *)0x0; + } + else { + local_res8 = (longlong *)FUN_14003e840(0x10); + local_res8[1] = 1; + *local_res8 = (longlong)pvVar2; + } + if (local_res8 == (longlong *)0x0) { + puVar3 = (undefined4 *)0x0; + } + else { + puVar3 = (undefined4 *)*local_res8; + } + *puVar3 = 1; + if (local_res8 == (longlong *)0x0) { + lVar4 = 0; + } + else { + lVar4 = *local_res8; + } + FUN_140005dd0((longlong *)(lVar4 + 8),param_3,psVar11,param_4); + if (local_res8 == (longlong *)0x0) { + lVar4 = 0; + } + else { + lVar4 = *local_res8; + } + puVar12 = &DAT_140131724; + puVar8 = &DAT_140130d90; + FUN_140072bd0((longlong *)(lVar4 + 8),L"\n",&DAT_140131724); + if (local_res8 == (longlong *)0x0) { + lVar4 = 0; + } + else { + lVar4 = *local_res8; + } + *(int *)(lVar4 + 0x10) = (int)param_2; + _Var5 = _time64((__time64_t *)0x0); + if (local_res8 == (longlong *)0x0) { + lVar4 = 0; + } + else { + lVar4 = *local_res8; + } + *(__time64_t *)(lVar4 + 0x18) = _Var5; + uVar9 = *(undefined8 *)(param_1 + 0x98); + if (*(longlong **)(param_1 + 0x88) == (longlong *)0x0) { + puVar6 = (undefined8 *)FUN_14003e840(0x18); + } + else { + puVar8 = (undefined *)0x18; + puVar6 = (undefined8 *)(**(code **)(**(longlong **)(param_1 + 0x88) + 8))(); + } + if ((puVar6 != (undefined8 *)0x0) && (puVar6[2] = 0, local_res8 != (longlong *)0x0)) { + local_res8[1] = local_res8[1] + 1; + puVar10 = (undefined8 *)0x0; + if ((puVar6[2] != 0) && + (*(longlong *)(puVar6[2] + 8) = *(longlong *)(puVar6[2] + 8) + -1, + *(longlong *)(puVar6[2] + 8) == 0)) { + puVar10 = (undefined8 *)puVar6[2]; + } + puVar6[2] = local_res8; + if (puVar10 != (undefined8 *)0x0) { + pvVar2 = (void *)*puVar10; + if (pvVar2 != (void *)0x0) { + FUN_140002190((longlong *)((longlong)pvVar2 + 8),puVar8,puVar12,param_4); + operator_delete(pvVar2); + } + FUN_14003e8b0(puVar10); + } + } + puVar6[1] = uVar9; + *puVar6 = 0; + *(longlong *)(param_1 + 0xa0) = *(longlong *)(param_1 + 0xa0) + 1; + if (*(undefined8 **)(param_1 + 0x98) == (undefined8 *)0x0) { + *(undefined8 **)(param_1 + 0x90) = puVar6; + } + else { + **(undefined8 **)(param_1 + 0x98) = puVar6; + } + *(undefined8 **)(param_1 + 0x98) = puVar6; + uVar9 = 1; + FUN_14009ad80((undefined8 *)(param_1 + 0x10),1); + if (local_res8 != (longlong *)0x0) { + plVar1 = local_res8 + 1; + *plVar1 = *plVar1 + -1; + if (*plVar1 == 0) { + pvVar2 = (void *)*local_res8; + if (pvVar2 != (void *)0x0) { + FUN_140002190((longlong *)((longlong)pvVar2 + 8),uVar9,puVar12,param_4); + operator_delete(pvVar2); + } + FUN_14003e8b0(local_res8); + } + } + FUN_14003d0d0(param_1 + 0x18); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140084660.c b/decomp/AgentManager_Release_x64/full/functions/0x140084660.c new file mode 100644 index 00000000..71323184 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140084660.c @@ -0,0 +1,132 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140084660 FUN_140084660 + * Pseudocode, not original source. */ + +void FUN_140084660(longlong param_1,wchar_t *param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong *plVar1; + void *pvVar2; + undefined4 *puVar3; + undefined8 *puVar4; + undefined8 uVar5; + longlong lVar6; + wchar_t *pwVar7; + undefined *puVar8; + undefined8 *puVar9; + undefined2 *puVar10; + undefined8 local_res18; + undefined8 local_res20; + longlong *local_b8; + exception local_80 [80]; + + pwVar7 = param_2; + local_res18 = param_3; + local_res20 = param_4; + FUN_14003d040((int *)(param_1 + 0x18)); + if (*(char *)(param_1 + 0x50) != '\0') { + FUN_14003db10(local_80,L"LogFile Creation Failed",param_3,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_80,(ThrowInfo *)&DAT_14016c210); + } + uVar5 = 0x20; + pvVar2 = operator_new(0x20); + if (pvVar2 == (void *)0x0) { + pvVar2 = (void *)0x0; + } + else { + FUN_14003e7c0(uVar5,pwVar7,param_3,param_4); + *(undefined **)((longlong)pvVar2 + 8) = PTR_DAT_14016f010; + } + if (pvVar2 == (void *)0x0) { + local_b8 = (longlong *)0x0; + } + else { + local_b8 = (longlong *)FUN_14003e840(0x10); + local_b8[1] = 1; + *local_b8 = (longlong)pvVar2; + } + if (local_b8 == (longlong *)0x0) { + puVar3 = (undefined4 *)0x0; + } + else { + puVar3 = (undefined4 *)*local_b8; + } + *puVar3 = 2; + if (local_b8 == (longlong *)0x0) { + lVar6 = 0; + } + else { + lVar6 = *local_b8; + } + FUN_140029af0((longlong *)(lVar6 + 8),param_2,(va_list)&local_res18); + if (local_b8 == (longlong *)0x0) { + lVar6 = 0; + } + else { + lVar6 = *local_b8; + } + puVar10 = &DAT_140131724; + FUN_140072bd0((longlong *)(lVar6 + 8),L"\n",&DAT_140131724); + if (local_b8 == (longlong *)0x0) { + lVar6 = 0; + } + else { + lVar6 = *local_b8; + } + puVar8 = &DAT_140114288; + FUN_140029bf0((longlong *)(lVar6 + 8),(short *)&DAT_140114288); + uVar5 = *(undefined8 *)(param_1 + 0x98); + if (*(longlong **)(param_1 + 0x88) == (longlong *)0x0) { + puVar4 = (undefined8 *)FUN_14003e840(0x18); + } + else { + puVar8 = (undefined *)0x18; + puVar4 = (undefined8 *)(**(code **)(**(longlong **)(param_1 + 0x88) + 8))(); + } + if ((puVar4 != (undefined8 *)0x0) && (puVar4[2] = 0, local_b8 != (longlong *)0x0)) { + local_b8[1] = local_b8[1] + 1; + puVar9 = (undefined8 *)0x0; + if ((puVar4[2] != 0) && + (*(longlong *)(puVar4[2] + 8) = *(longlong *)(puVar4[2] + 8) + -1, + *(longlong *)(puVar4[2] + 8) == 0)) { + puVar9 = (undefined8 *)puVar4[2]; + } + puVar4[2] = local_b8; + if (puVar9 != (undefined8 *)0x0) { + pvVar2 = (void *)*puVar9; + if (pvVar2 != (void *)0x0) { + FUN_140002190((longlong *)((longlong)pvVar2 + 8),puVar8,puVar10,param_4); + operator_delete(pvVar2); + } + FUN_14003e8b0(puVar9); + } + } + puVar4[1] = uVar5; + *puVar4 = 0; + *(longlong *)(param_1 + 0xa0) = *(longlong *)(param_1 + 0xa0) + 1; + if (*(undefined8 **)(param_1 + 0x98) == (undefined8 *)0x0) { + *(undefined8 **)(param_1 + 0x90) = puVar4; + } + else { + **(undefined8 **)(param_1 + 0x98) = puVar4; + } + *(undefined8 **)(param_1 + 0x98) = puVar4; + uVar5 = 1; + FUN_14009ad80((undefined8 *)(param_1 + 0x10),1); + if (local_b8 != (longlong *)0x0) { + plVar1 = local_b8 + 1; + *plVar1 = *plVar1 + -1; + if (*plVar1 == 0) { + pvVar2 = (void *)*local_b8; + if (pvVar2 != (void *)0x0) { + FUN_140002190((longlong *)((longlong)pvVar2 + 8),uVar5,puVar10,param_4); + operator_delete(pvVar2); + } + FUN_14003e8b0(local_b8); + } + } + FUN_14003d0d0(param_1 + 0x18); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400848e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400848e0.c new file mode 100644 index 00000000..92d892ff --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400848e0.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400848e0 FUN_1400848e0 + * Pseudocode, not original source. */ + +void FUN_1400848e0(longlong *param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 *puVar1; + + FUN_1400842f0(param_1,param_2,param_3,param_4); + puVar1 = (undefined8 *)*param_1; + if (puVar1 != (undefined8 *)0x0) { + (**(code **)*puVar1)(puVar1,1); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140084910.c b/decomp/AgentManager_Release_x64/full/functions/0x140084910.c new file mode 100644 index 00000000..74755a1d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140084910.c @@ -0,0 +1,579 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140084910 FUN_140084910 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* WARNING: Type propagation algorithm not settling */ + +void FUN_140084910(undefined8 *param_1) + +{ + char cVar1; + LPCWSTR pWVar2; + longlong lVar3; + LPCWSTR ****pppppWVar4; + undefined *puVar5; + undefined8 *puVar6; + bool bVar7; + DWORD DVar8; + BOOL BVar9; + int iVar10; + errno_t eVar11; + longlong *plVar12; + int *piVar13; + undefined8 *puVar14; + LPCWSTR *****ppppppWVar15; + wchar_t *pwVar16; + HANDLE pvVar17; + undefined1 *puVar18; + LPCWSTR ******lpFileName; + int *piVar19; + LPCWSTR ******pppppppWVar20; + undefined *lpBuffer; + LPCWSTR ******lpBuffer_00; + LPCWSTR ******pppppppWVar21; + LPCWSTR *****ppppppWVar22; + LPCWSTR ******pppppppWVar23; + int iVar24; + PLONG pLVar25; + ulonglong uVar26; + rsize_t rVar27; + LPDWORD lpNumberOfBytesWritten; + ulonglong uVar28; + undefined1 auStackY_3b8 [32]; + undefined2 local_378 [4]; + LPCWSTR ******local_370; + LPCWSTR ******local_368; + LPCWSTR *****local_360; + LPCWSTR ******local_358; + undefined *local_350; + ulonglong local_348; + undefined8 *local_340; + undefined8 *local_338; + undefined8 *local_330; + longlong local_328; + DWORD local_320; + DWORD DStack_31c; + DWORD local_318; + DWORD DStack_314; + longlong local_310; + DWORD local_308 [2]; + undefined8 local_300; + __time64_t local_2f8; + undefined8 local_2f0; + DWORD local_2e8; + DWORD local_2e4; + DWORD local_2e0 [2]; + longlong local_2d8; + LPCWSTR ******local_2d0; + undefined1 local_2c8; + __time64_t local_2c0; + DWORD local_2b8 [2]; + LPCWSTR ****local_2b0; + int *local_2a8; + undefined1 local_2a0; + LPCWSTR ******local_298; + undefined1 local_290; + int *local_288; + undefined1 local_280; + undefined8 local_278; + undefined8 *local_270; + undefined8 *local_268; + undefined1 *local_258; + undefined1 local_250 [264]; + undefined1 *local_148; + undefined1 local_140 [264]; + ulonglong local_38; + + local_278 = 0xfffffffffffffffe; + local_38 = DAT_14016f5a0 ^ (ulonglong)auStackY_3b8; + local_320 = GetFileSize((HANDLE)*param_1,&DStack_31c); + if ((local_320 != 0xffffffff) || (DVar8 = FUN_140083b60(), local_2f0 = local_348, -1 < (int)DVar8) + ) { + local_2f0 = CONCAT44(DStack_31c,local_320); + } + rVar27 = 0; + pLVar25 = (PLONG)((longlong)&local_2f0 + 4); + uVar26 = local_2f0 & 0xffffffff; + pvVar17 = (HANDLE)*param_1; + DVar8 = SetFilePointer(pvVar17,(LONG)local_2f0,pLVar25,0); + if (DVar8 == 0xffffffff) { + FUN_140083b60(); + } + FUN_14003e7c0(pvVar17,uVar26,pLVar25,rVar27); + local_350 = PTR_DAT_14016f010; + local_2c0 = _time64((__time64_t *)0x0); + plVar12 = FUN_1400841b0(&local_2c0,&local_310,L"%#c"); + pWVar2 = (LPCWSTR)*plVar12; + local_258 = local_250; + if (pWVar2 == (LPCWSTR)0x0) { + local_258 = (undefined1 *)0x0; + goto LAB_140084acf; + } + iVar10 = lstrlenW(pWVar2); + iVar10 = iVar10 + 1; + if (iVar10 < 0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80070057); + } + if (local_258 == local_250) { + if (0x80 < iVar10) { + puVar18 = calloc((longlong)iVar10,2); + goto LAB_140084a61; + } +LAB_140084a75: + puVar18 = local_250; + } + else { + if (iVar10 < 0x81) { + free(local_258); + goto LAB_140084a75; + } + puVar18 = _recalloc(local_258,(longlong)iVar10,2); + if (puVar18 == (undefined1 *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x8007000e); + } +LAB_140084a61: + if (puVar18 == (undefined1 *)0x0) { + local_258 = puVar18; + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x8007000e); + } + } + rVar27 = (longlong)iVar10 * 2; + local_258 = puVar18; + eVar11 = memcpy_s(puVar18,rVar27,pWVar2,rVar27); + if (eVar11 != 0) { + if (eVar11 == 0xc) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x8007000e); + } + if ((eVar11 == 0x16) || (eVar11 == 0x22)) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80070057); + } + if (eVar11 != 0x50) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + } +LAB_140084acf: + ppppppWVar22 = (LPCWSTR *****)0x0; + FUN_140029b80((longlong *)&local_350,L"-------- Log start at %s --------\r\n",local_258,rVar27); + if (local_258 != local_250) { + free(local_258); + } + LOCK(); + piVar19 = (int *)(local_310 + -8); + iVar10 = *piVar19; + *piVar19 = *piVar19 + -1; + UNLOCK(); + if (iVar10 + -1 < 1) { + (**(code **)(**(longlong **)(local_310 + -0x18) + 8))(); + } + puVar5 = local_350; + lpBuffer = PTR_DAT_14016f010; + iVar10 = 0; + if (local_350 != (undefined *)0x0) { + ppppppWVar15 = ppppppWVar22; + if (local_350 != PTR_DAT_14016f010) { + ppppppWVar15 = (LPCWSTR *****)(ulonglong)*(uint *)(local_350 + -8); + } + lpBuffer = local_350; + iVar10 = (int)ppppppWVar15; + } + uVar26 = (ulonglong)(uint)(iVar10 * 2); + lpNumberOfBytesWritten = &local_2e8; + pvVar17 = (HANDLE)*param_1; + BVar9 = WriteFile(pvVar17,lpBuffer,iVar10 * 2,lpNumberOfBytesWritten,(LPOVERLAPPED)0x0); + if (BVar9 == 0) { + FUN_140083b60(); + } + if (((puVar5 != (undefined *)0x0) && (puVar5 != PTR_DAT_14016f010)) && + (puVar5 + -8 != (undefined *)0x0)) { + piVar13 = (int *)FUN_14003e7c0(pvVar17,lpBuffer,uVar26,lpNumberOfBytesWritten); + local_2a8 = piVar13; + FUN_14003d040(piVar13); + local_2a0 = 1; + piVar19 = (int *)(puVar5 + -4); + *piVar19 = *piVar19 + -1; + if (*piVar19 == 0) { + FUN_14003e8b0(puVar5 + -8); + } + FUN_14003d0d0((longlong)piVar13); + local_2a0 = 0; + } + cVar1 = *(char *)(param_1 + 0x10); + local_350 = PTR_DAT_14016f010; + uVar28 = local_348; + do { + if (cVar1 != '\0') { + return; + } + lpBuffer_00 = (LPCWSTR ******)0x12c; + bVar7 = FUN_140048620(param_1 + 2,300); + if (bVar7) { + local_340 = (undefined8 *)0x0; + local_328 = 0; + local_338 = (undefined8 *)0x0; + local_330 = (undefined8 *)0x0; + lpFileName = (LPCWSTR ******)(param_1 + 3); + local_2d0 = lpFileName; + FUN_14003d040((int *)lpFileName); + local_2c8 = 1; + if (*(char *)(param_1 + 10) == '\0') { + lVar3 = param_1[0x14]; + while (lVar3 != 0) { + lpBuffer_00 = &local_360; + plVar12 = FUN_140084250(param_1 + 0x11,(longlong *)lpBuffer_00,uVar26, + lpNumberOfBytesWritten); + puVar14 = (undefined8 *)FUN_14003e840(0x18); + local_270 = puVar14; + local_268 = puVar14; + if (puVar14 != (undefined8 *)0x0) { + puVar14[2] = 0; + if (*plVar12 != 0) { + *(longlong *)(*plVar12 + 8) = *(longlong *)(*plVar12 + 8) + 1; + ppppppWVar15 = ppppppWVar22; + if ((puVar14[2] != 0) && + (*(longlong *)(puVar14[2] + 8) = *(longlong *)(puVar14[2] + 8) + -1, + *(longlong *)(puVar14[2] + 8) == 0)) { + ppppppWVar15 = (LPCWSTR *****)puVar14[2]; + } + puVar14[2] = *plVar12; + if (ppppppWVar15 != (LPCWSTR *****)0x0) { + pppppWVar4 = *ppppppWVar15; + if (pppppWVar4 != (LPCWSTR ****)0x0) { + FUN_140002190((longlong *)(pppppWVar4 + 1),lpBuffer_00,uVar26, + lpNumberOfBytesWritten); + operator_delete(pppppWVar4); + } + FUN_14003e8b0(ppppppWVar15); + } + } + } + ppppppWVar15 = local_360; + puVar14[1] = local_330; + *puVar14 = 0; + local_328 = local_328 + 1; + puVar6 = puVar14; + if (local_330 != (undefined8 *)0x0) { + *local_330 = puVar14; + puVar6 = local_338; + } + local_338 = puVar6; + local_330 = puVar14; + if ((local_360 != (LPCWSTR *****)0x0) && + (local_360[1] = (LPCWSTR ****)((longlong)local_360[1] + -1), + local_360[1] == (LPCWSTR ****)0x0)) { + pppppWVar4 = *local_360; + if (pppppWVar4 != (LPCWSTR ****)0x0) { + FUN_140002190((longlong *)(pppppWVar4 + 1),lpBuffer_00,uVar26,lpNumberOfBytesWritten); + operator_delete(pppppWVar4); + } + FUN_14003e8b0(ppppppWVar15); + } + lpFileName = local_2d0; + lVar3 = param_1[0x14]; + } + } + FUN_14003d0d0((longlong)lpFileName); + local_2c8 = 0; + FUN_14003e7c0(lpFileName,lpBuffer_00,uVar26,lpNumberOfBytesWritten); + local_370 = (LPCWSTR ******)PTR_DAT_14016f010; + pppppppWVar23 = (LPCWSTR ******)PTR_DAT_14016f010; + while (local_328 != 0) { + lpBuffer_00 = (LPCWSTR ******)&local_368; + FUN_140084250((longlong *)&local_340,(longlong *)lpBuffer_00,uVar26,lpNumberOfBytesWritten); + pppppppWVar21 = local_368; + ppppppWVar15 = ppppppWVar22; + if (local_368 != (LPCWSTR ******)0x0) { + ppppppWVar15 = *local_368; + } + iVar10 = *(int *)ppppppWVar15; + iVar24 = 0; + if (iVar10 == 0) { + if ((HANDLE)*param_1 != (HANDLE)0x0) { + CloseHandle((HANDLE)*param_1); + *param_1 = 0; + } + ppppppWVar15 = ppppppWVar22; + if (pppppppWVar21 != (LPCWSTR ******)0x0) { + ppppppWVar15 = *pppppppWVar21; + } + lpFileName = (LPCWSTR ******)ppppppWVar15[1]; + if ((LPCWSTR ******)ppppppWVar15[1] == (LPCWSTR ******)0x0) { + lpFileName = (LPCWSTR ******)PTR_DAT_14016f010; + } + pppppppWVar20 = (LPCWSTR ******)param_1[1]; + if (pppppppWVar20 == (LPCWSTR ******)0x0) { + lpNumberOfBytesWritten = (LPDWORD)0x0; + lpBuffer_00 = (LPCWSTR ******)0x40000000; + uVar26 = 1; + pvVar17 = CreateFileW((LPCWSTR)lpFileName,0x40000000,1,(LPSECURITY_ATTRIBUTES)0x0,4,0x80 + ,(HANDLE)0x0); + } + else { + lpNumberOfBytesWritten = (LPDWORD)0x1; + uVar26 = 0x40000000; + lpBuffer_00 = lpFileName; + pvVar17 = FUN_140083b80((longlong *)pppppppWVar20,(LPCWSTR)lpFileName,0x40000000,1, + (LPSECURITY_ATTRIBUTES)0x0,4,0x80,0); + lpFileName = pppppppWVar20; + } + if (pvVar17 == (HANDLE)0xffffffffffffffff) { + DVar8 = FUN_140083b60(); + if ((int)DVar8 < 0) { + *(undefined1 *)(param_1 + 10) = 1; + goto LAB_140085229; + } + } + else { + *param_1 = pvVar17; + } + local_378[0] = 0xfeff; + BVar9 = WriteFile((HANDLE)*param_1,local_378,2,local_308,(LPOVERLAPPED)0x0); + if (BVar9 == 0) { + FUN_140083b60(); + } + local_318 = GetFileSize((HANDLE)*param_1,&DStack_314); + if ((local_318 != 0xffffffff) || (DVar8 = FUN_140083b60(), -1 < (int)DVar8)) { + uVar28 = CONCAT44(DStack_314,local_318); + } + rVar27 = 0; + pLVar25 = (PLONG)((longlong)&local_300 + 4); + uVar26 = uVar28 & 0xffffffff; + pvVar17 = (HANDLE)*param_1; + local_300 = uVar28; + DVar8 = SetFilePointer(pvVar17,(LONG)uVar28,pLVar25,0); + if (DVar8 == 0xffffffff) { + FUN_140083b60(); + } + FUN_14003e7c0(pvVar17,uVar26,pLVar25,rVar27); + local_358 = (LPCWSTR ******)PTR_DAT_14016f010; + local_2f8 = _time64((__time64_t *)0x0); + plVar12 = FUN_1400841b0(&local_2f8,(longlong *)&local_348,L"%#c"); + pWVar2 = (LPCWSTR)*plVar12; + local_148 = local_140; + if (pWVar2 == (LPCWSTR)0x0) { + local_148 = (undefined1 *)0x0; + } + else { + iVar10 = lstrlenW(pWVar2); + iVar10 = iVar10 + 1; + if (iVar10 < 0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80070057); + } + if (local_148 == local_140) { + if (0x80 < iVar10) { + puVar18 = calloc((longlong)iVar10,2); + goto LAB_1400850d8; + } +LAB_1400850ea: + puVar18 = local_140; + } + else { + if (iVar10 < 0x81) { + free(local_148); + goto LAB_1400850ea; + } + puVar18 = _recalloc(local_148,(longlong)iVar10,2); + if (puVar18 == (undefined1 *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x8007000e); + } +LAB_1400850d8: + if (puVar18 == (undefined1 *)0x0) { + local_148 = puVar18; + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x8007000e); + } + } + rVar27 = (longlong)iVar10 * 2; + local_148 = puVar18; + eVar11 = memcpy_s(puVar18,rVar27,pWVar2,rVar27); + if (eVar11 != 0) { + if (eVar11 == 0xc) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x8007000e); + } + if ((eVar11 == 0x16) || (eVar11 == 0x22)) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80070057); + } + if (eVar11 != 0x50) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + } + } + FUN_140029b80((longlong *)&local_358,L"-------- Log start at %s --------\r\n",local_148, + rVar27); + if (local_148 != local_140) { + free(local_148); + } + LOCK(); + piVar19 = (int *)(local_348 - 8); + iVar10 = *piVar19; + *piVar19 = *piVar19 + -1; + UNLOCK(); + if (iVar10 + -1 < 1) { + (**(code **)(**(longlong **)(local_348 - 0x18) + 8))(); + } + pppppppWVar23 = local_358; + lpBuffer_00 = (LPCWSTR ******)PTR_DAT_14016f010; + if (local_358 != (LPCWSTR ******)0x0) { + ppppppWVar15 = ppppppWVar22; + if (local_358 != (LPCWSTR ******)PTR_DAT_14016f010) { + ppppppWVar15 = (LPCWSTR *****)(ulonglong)*(uint *)(local_358 + -1); + } + iVar24 = (int)ppppppWVar15; + lpBuffer_00 = local_358; + } + uVar26 = (ulonglong)(uint)(iVar24 * 2); + lpFileName = (LPCWSTR ******)*param_1; + lpNumberOfBytesWritten = local_2b8; + BVar9 = WriteFile(lpFileName,lpBuffer_00,iVar24 * 2,local_2b8,(LPOVERLAPPED)0x0); + if (BVar9 == 0) { + FUN_140083b60(); + } + if (((pppppppWVar23 != (LPCWSTR ******)0x0) && + (pppppppWVar23 != (LPCWSTR ******)PTR_DAT_14016f010)) && + (pppppppWVar23 + -1 != (LPCWSTR ******)0x0)) { + lpFileName = (LPCWSTR ******) + FUN_14003e7c0(lpFileName,lpBuffer_00,uVar26,lpNumberOfBytesWritten); + local_298 = lpFileName; + FUN_14003d040((int *)lpFileName); + local_290 = 1; + pWVar2 = (LPCWSTR)((longlong)pppppppWVar23 + -4); + *(int *)pWVar2 = *(int *)pWVar2 + -1; + if (*(int *)pWVar2 == 0) { + FUN_14003e8b0(pppppppWVar23 + -1); + } + FUN_14003d0d0((longlong)lpFileName); + local_290 = 0; + } + local_358 = (LPCWSTR ******)PTR_DAT_14016f010; + pppppppWVar21 = local_368; + pppppppWVar23 = local_370; + } + else if (iVar10 == 1) { + ppppppWVar15 = ppppppWVar22; + if (local_368 != (LPCWSTR ******)0x0) { + ppppppWVar15 = *local_368; + } + local_2b0 = ppppppWVar15[3]; + plVar12 = FUN_1400841b0((__time64_t *)&local_2b0,&local_2d8,L"%#c"); + lVar3 = *plVar12; + ppppppWVar15 = ppppppWVar22; + if (pppppppWVar21 != (LPCWSTR ******)0x0) { + ppppppWVar15 = *pppppppWVar21; + } + pwVar16 = FUN_140092390(*(int *)(ppppppWVar15 + 2)); + FUN_140029b80((longlong *)&local_370,L"[%s] [%s] %s\r\n",pwVar16,lVar3); + LOCK(); + piVar19 = (int *)(local_2d8 + -8); + iVar10 = *piVar19; + *piVar19 = *piVar19 + -1; + UNLOCK(); + if (iVar10 + -1 < 1) { + (**(code **)(**(longlong **)(local_2d8 + -0x18) + 8))(); + } + pppppppWVar23 = local_370; + lpBuffer_00 = (LPCWSTR ******)PTR_DAT_14016f010; + if (local_370 != (LPCWSTR ******)0x0) { + ppppppWVar15 = ppppppWVar22; + if (local_370 != (LPCWSTR ******)PTR_DAT_14016f010) { + ppppppWVar15 = (LPCWSTR *****)(ulonglong)*(uint *)(local_370 + -1); + } + iVar24 = (int)ppppppWVar15; + lpBuffer_00 = local_370; + } + uVar26 = (ulonglong)(uint)(iVar24 * 2); + lpNumberOfBytesWritten = &local_2e4; + lpFileName = (LPCWSTR ******)*param_1; + BVar9 = WriteFile(lpFileName,lpBuffer_00,iVar24 * 2,lpNumberOfBytesWritten, + (LPOVERLAPPED)0x0); + pppppppWVar21 = local_368; + if (BVar9 == 0) { + FUN_140083b60(); + pppppppWVar21 = local_368; + } + } + else { + lpFileName = (LPCWSTR ******)(ulonglong)(iVar10 - 2U); + if (iVar10 - 2U == 0) { + ppppppWVar15 = ppppppWVar22; + if (local_368 != (LPCWSTR ******)0x0) { + ppppppWVar15 = *local_368; + } + pppppWVar4 = ppppppWVar15[1]; + iVar10 = 0; + if ((pppppWVar4 != (LPCWSTR ****)0x0) && + (iVar10 = iVar24, pppppWVar4 != (LPCWSTR ****)PTR_DAT_14016f010)) { + iVar10 = *(int *)(pppppWVar4 + -1); + } + ppppppWVar15 = ppppppWVar22; + if (local_368 != (LPCWSTR ******)0x0) { + ppppppWVar15 = *local_368; + } + lpBuffer_00 = (LPCWSTR ******)ppppppWVar15[1]; + if ((LPCWSTR ******)ppppppWVar15[1] == (LPCWSTR ******)0x0) { + lpBuffer_00 = (LPCWSTR ******)PTR_DAT_14016f010; + } + uVar26 = (ulonglong)(uint)(iVar10 * 2); + lpNumberOfBytesWritten = local_2e0; + lpFileName = (LPCWSTR ******)*param_1; + BVar9 = WriteFile(lpFileName,lpBuffer_00,iVar10 * 2,lpNumberOfBytesWritten, + (LPOVERLAPPED)0x0); + if (BVar9 == 0) { + FUN_140083b60(); + } + } + } +LAB_140085229: + pppppppWVar20 = local_368; + if (pppppppWVar21 != (LPCWSTR ******)0x0) { + pppppppWVar21 = pppppppWVar21 + 1; + *pppppppWVar21 = (LPCWSTR *****)((longlong)*pppppppWVar21 + -1); + pppppppWVar23 = local_370; + if (*pppppppWVar21 == (LPCWSTR *****)0x0) { + ppppppWVar15 = *local_368; + if (ppppppWVar15 != (LPCWSTR *****)0x0) { + FUN_140002190((longlong *)(ppppppWVar15 + 1),lpBuffer_00,uVar26,lpNumberOfBytesWritten + ); + operator_delete(ppppppWVar15); + } + FUN_14003e8b0(pppppppWVar20); + lpFileName = pppppppWVar20; + pppppppWVar23 = local_370; + } + } + } + if (((pppppppWVar23 != (LPCWSTR ******)0x0) && + (pppppppWVar23 != (LPCWSTR ******)PTR_DAT_14016f010)) && + (pppppppWVar23 + -1 != (LPCWSTR ******)0x0)) { + piVar19 = (int *)FUN_14003e7c0(lpFileName,lpBuffer_00,uVar26,lpNumberOfBytesWritten); + local_288 = piVar19; + FUN_14003d040(piVar19); + local_280 = 1; + pWVar2 = (LPCWSTR)((longlong)pppppppWVar23 + -4); + *(int *)pWVar2 = *(int *)pWVar2 + -1; + if (*(int *)pWVar2 == 0) { + FUN_14003e8b0(pppppppWVar23 + -1); + } + FUN_14003d0d0((longlong)piVar19); + local_280 = 0; + } + local_370 = (LPCWSTR ******)PTR_DAT_14016f010; + FUN_1400842f0((longlong *)&local_340,(longlong *)lpBuffer_00,uVar26,lpNumberOfBytesWritten); + if (local_340 != (undefined8 *)0x0) { + (**(code **)*local_340)(local_340,1); + } + } + cVar1 = *(char *)(param_1 + 0x10); + } while( true ); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140085370.c b/decomp/AgentManager_Release_x64/full/functions/0x140085370.c new file mode 100644 index 00000000..cde0dfca --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140085370.c @@ -0,0 +1,24 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140085370 FUN_140085370 + * Pseudocode, not original source. */ + +void FUN_140085370(undefined8 *param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + *(undefined1 *)(param_1 + 0x10) = 1; + FUN_140045bb0(param_1 + 0xb); + FUN_1400842f0(param_1 + 0x11,param_2,param_3,param_4); + if ((undefined8 *)param_1[0x11] != (undefined8 *)0x0) { + param_2 = (longlong *)0x1; + (*(code *)**(undefined8 **)param_1[0x11])(); + } + FUN_140045c30(param_1 + 0xb); + FUN_14003d110((undefined4 *)(param_1 + 3),param_2,param_3,param_4); + CloseHandle((HANDLE)param_1[2]); + if ((HANDLE)*param_1 != (HANDLE)0x0) { + CloseHandle((HANDLE)*param_1); + *param_1 = 0; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140085420.c b/decomp/AgentManager_Release_x64/full/functions/0x140085420.c new file mode 100644 index 00000000..b956c52f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140085420.c @@ -0,0 +1,28 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140085420 FUN_140085420 + * Pseudocode, not original source. */ + +undefined8 * +FUN_140085420(undefined8 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + ulonglong uVar1; + undefined8 uVar2; + + *param_1 = 0; + param_1[1] = 0; + uVar2 = 0x7fffffff; + FUN_14009ad60(param_1 + 2,0,0x7fffffff); + uVar1 = FUN_140094860(); + FUN_14003cf60((undefined4 *)(param_1 + 3),uVar1 & 0xffffffff, + CONCAT71((int7)((ulonglong)uVar2 >> 8),1),param_4); + *(undefined1 *)(param_1 + 10) = 0; + FUN_140045b20(param_1 + 0xb,&LAB_140085410,param_1); + param_1[0x11] = 0; + param_1[0x14] = 0; + param_1[0x12] = 0; + param_1[0x13] = 0; + *(undefined1 *)(param_1 + 0x10) = 0; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400854c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400854c0.c new file mode 100644 index 00000000..7ef7e5e1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400854c0.c @@ -0,0 +1,43 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400854c0 FUN_1400854c0 + * Pseudocode, not original source. */ + +undefined8 * FUN_1400854c0(LPCWSTR param_1) + +{ + DWORD DVar1; + BOOL BVar2; + undefined8 *hFile; + undefined8 *puVar3; + undefined2 *lpBuffer; + undefined8 uVar4; + undefined8 **lpNumberOfBytesWritten; + undefined2 local_res10 [4]; + undefined8 *local_res18 [2]; + + puVar3 = (undefined8 *)0x0; + hFile = CreateFileW(param_1,0x40000000,1,(LPSECURITY_ATTRIBUTES)0x0,4,0x80,(HANDLE)0x0); + if ((hFile == (undefined8 *)0xffffffffffffffff) && + (DVar1 = FUN_140083b60(), hFile = puVar3, (int)DVar1 < 0)) { + puVar3 = (undefined8 *)0x0; + } + else { + local_res10[0] = 0xfeff; + lpNumberOfBytesWritten = local_res18; + uVar4 = 2; + lpBuffer = local_res10; + BVar2 = WriteFile(hFile,lpBuffer,2,(LPDWORD)lpNumberOfBytesWritten,(LPOVERLAPPED)0x0); + if (BVar2 == 0) { + FUN_140083b60(); + } + local_res18[0] = operator_new(0xc0); + if (local_res18[0] != (undefined8 *)0x0) { + puVar3 = FUN_140085420(local_res18[0],lpBuffer,uVar4,lpNumberOfBytesWritten); + } + *puVar3 = hFile; + FUN_140045d20(puVar3 + 0xb,lpBuffer,uVar4,lpNumberOfBytesWritten); + CloseHandle((HANDLE)0xffffffffffffffff); + } + return puVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400855b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400855b0.c new file mode 100644 index 00000000..7e38ef91 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400855b0.c @@ -0,0 +1,20 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400855b0 FUN_1400855b0 + * Pseudocode, not original source. */ + +void FUN_1400855b0(undefined8 *param_1) + +{ + *param_1 = Proud::CFastArray::vftable; + if ((LPVOID)param_1[2] != (LPVOID)0x0) { + if ((longlong *)param_1[1] != (longlong *)0x0) { + /* WARNING: Could not recover jumptable at 0x0001400855d7. Too many branches */ + /* WARNING: Treating indirect jump as call */ + (**(code **)(*(longlong *)param_1[1] + 0x18))(); + return; + } + FUN_14003e8b0((LPVOID)param_1[2]); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400855f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400855f0.c new file mode 100644 index 00000000..56c8b1b3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400855f0.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400855f0 FUN_1400855f0 + * Pseudocode, not original source. */ + +undefined8 * FUN_1400855f0(undefined8 *param_1,uint param_2) + +{ + *param_1 = Proud::CFastArray::vftable; + if ((LPVOID)param_1[2] != (LPVOID)0x0) { + if ((longlong *)param_1[1] == (longlong *)0x0) { + FUN_14003e8b0((LPVOID)param_1[2]); + } + else { + (**(code **)(*(longlong *)param_1[1] + 0x18))(); + } + } + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140085650.c b/decomp/AgentManager_Release_x64/full/functions/0x140085650.c new file mode 100644 index 00000000..f9c4ad69 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140085650.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140085650 FUN_140085650 + * Pseudocode, not original source. */ + +void FUN_140085650(longlong param_1,int param_2,undefined8 param_3,longlong param_4) + +{ + int iVar1; + longlong lVar2; + longlong lVar3; + longlong lVar4; + int iVar5; + longlong lVar6; + + iVar5 = (int)param_3; + if ((-1 < param_2) && (-1 < iVar5)) { + iVar1 = *(int *)(param_1 + 0x18) - param_2; + if (iVar1 <= iVar5) { + iVar5 = iVar1; + } + if (0 < iVar1 - iVar5) { + lVar4 = (longlong)param_2 << 3; + lVar6 = (longlong)(iVar1 - iVar5); + do { + lVar2 = FUN_140074a30(param_1); + lVar3 = FUN_140074a30(param_1); + *(undefined8 *)(lVar3 + lVar4) = *(undefined8 *)((longlong)iVar5 * 8 + lVar2 + lVar4); + lVar4 = lVar4 + 8; + lVar6 = lVar6 + -1; + } while (lVar6 != 0); + } + FUN_14007a530(param_1,*(int *)(param_1 + 0x18) - iVar5,param_3,param_4); + return; + } + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140085700.c b/decomp/AgentManager_Release_x64/full/functions/0x140085700.c new file mode 100644 index 00000000..bbce630b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140085700.c @@ -0,0 +1,68 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140085700 FUN_140085700 + * Pseudocode, not original source. */ + +undefined8 * FUN_140085700(char *param_1,undefined8 param_2,undefined8 param_3,longlong param_4) + +{ + int *piVar1; + DWORD DVar2; + DWORD DVar3; + longlong lVar4; + undefined8 *puVar5; + uint uVar6; + undefined8 uVar7; + exception local_50 [72]; + + if (*param_1 != '\0') { + FUN_14003db10(local_50,L"ServerSocketPool is already destructed!",param_3,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_50,(ThrowInfo *)&DAT_14016c210); + } + uVar7 = param_2; + DVar2 = GetTickCount(); + DVar3 = GetTickCount(); + if (DVar3 - DVar2 < 10000) { + piVar1 = (int *)(param_1 + 0x30); + do { + FUN_14003d040(piVar1); + if (0 < *(int *)(param_1 + 0x80)) { + puVar5 = (undefined8 *)FUN_14003e840(0x400); + if (puVar5 == (undefined8 *)0x0) { + puVar5 = (undefined8 *)0x0; + } + else { + uVar6 = *(int *)(param_1 + 0x80) - 1; + if (((int)uVar6 < 0) || (*(int *)(param_1 + 0x80) <= (int)uVar6)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0((ulonglong)uVar6,uVar7,param_3,param_4); + } + puVar5 = FUN_140044170(puVar5,*(undefined8 *) + (*(longlong *)(param_1 + 0x78) + (longlong)(int)uVar6 * 8), + param_2,param_4); + } + FUN_140085650((longlong)(param_1 + 0x68),*(int *)(param_1 + 0x80) + -1,1,param_4); + FUN_14003d0d0((longlong)piVar1); + return puVar5; + } + FUN_14003d0d0((longlong)piVar1); + Sleep(1); + DVar3 = GetTickCount(); + } while (DVar3 - DVar2 < 10000); + } + lVar4 = Ordinal_23(2,1,6); + if (lVar4 == -1) { + puVar5 = (undefined8 *)0x0; + } + else { + puVar5 = (undefined8 *)FUN_14003e840(0x400); + if (puVar5 == (undefined8 *)0x0) { + puVar5 = (undefined8 *)0x0; + } + else { + puVar5 = FUN_140044170(puVar5,lVar4,param_2,param_4); + } + } + return puVar5; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140085890.c b/decomp/AgentManager_Release_x64/full/functions/0x140085890.c new file mode 100644 index 00000000..20537394 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140085890.c @@ -0,0 +1,57 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140085890 FUN_140085890 + * Pseudocode, not original source. */ + +void FUN_140085890(undefined1 *param_1,undefined8 param_2,undefined8 param_3,longlong param_4) + +{ + int *piVar1; + int *piVar2; + undefined8 uVar3; + LPVOID pvVar4; + ulonglong uVar5; + int iVar6; + ulonglong uVar7; + + *param_1 = 1; + FUN_140045bb0((undefined8 *)(param_1 + 8)); + piVar1 = (int *)(param_1 + 0x30); + piVar2 = piVar1; + FUN_14003d040(piVar1); + uVar5 = 0; + uVar7 = uVar5; + if (0 < *(int *)(param_1 + 0x80)) { + do { + if (((longlong)uVar5 < 0) || (iVar6 = (int)uVar7, *(int *)(param_1 + 0x80) <= iVar6)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(piVar2,param_2,param_3,param_4); + } + uVar3 = *(undefined8 *)(*(longlong *)(param_1 + 0x78) + uVar5 * 8); + FUN_140046bb0(uVar3); + if (*(int *)(param_1 + 0x80) <= iVar6) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(uVar3,param_2,param_3,param_4); + } + piVar2 = *(int **)(*(longlong *)(param_1 + 0x78) + uVar5 * 8); + Ordinal_3(); + uVar7 = (ulonglong)(iVar6 + 1U); + uVar5 = uVar5 + 1; + } while ((int)(iVar6 + 1U) < *(int *)(param_1 + 0x80)); + } + FUN_14007a530((longlong)(param_1 + 0x68),0,param_3,param_4); + FUN_14003d0d0((longlong)piVar1); + *(undefined ***)(param_1 + 0x68) = Proud::CFastArray::vftable; + pvVar4 = *(LPVOID *)(param_1 + 0x78); + if (pvVar4 != (LPVOID)0x0) { + if (*(longlong **)(param_1 + 0x70) == (longlong *)0x0) { + FUN_14003e8b0(pvVar4); + } + else { + (**(code **)(**(longlong **)(param_1 + 0x70) + 0x18))(); + } + } + FUN_14003d110(piVar1,pvVar4,param_3,param_4); + FUN_140045c30((undefined8 *)(param_1 + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400859a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400859a0.c new file mode 100644 index 00000000..c9014bda --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400859a0.c @@ -0,0 +1,65 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400859a0 FUN_1400859a0 + * Pseudocode, not original source. */ + +void FUN_1400859a0(char *param_1,undefined8 param_2,undefined8 param_3,longlong param_4) + +{ + int *piVar1; + int iVar2; + bool bVar3; + longlong lVar4; + longlong lVar5; + longlong lVar6; + int iVar7; + longlong lVar8; + undefined8 uVar9; + longlong lVar10; + + if (*param_1 == '\0') { + piVar1 = (int *)(param_1 + 0x30); + do { + FUN_14003d040(piVar1); + if (*(int *)(param_1 + 0x80) < 100) { + FUN_14003d0d0((longlong)piVar1); + bVar3 = false; + uVar9 = 6; + lVar4 = Ordinal_23(2); + if (lVar4 != -1) { + bVar3 = true; + FUN_14003d040(piVar1); + iVar2 = *(int *)(param_1 + 0x80); + if (iVar2 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + iVar7 = *(int *)(param_1 + 0x80); + FUN_14007a530((longlong)(param_1 + 0x68),iVar7 + 1,uVar9,param_4); + iVar7 = iVar7 - iVar2; + if ((0 < iVar7) && (iVar7 = iVar7 + -1, lVar8 = (longlong)iVar7, -1 < iVar7)) { + lVar10 = (lVar8 + iVar2) * 8 + 8; + do { + lVar5 = FUN_140074a30((longlong)(param_1 + 0x68)); + lVar6 = FUN_140074a30((longlong)(param_1 + 0x68)); + *(undefined8 *)(lVar6 + lVar10) = *(undefined8 *)(lVar5 + -8 + lVar10); + lVar10 = lVar10 + -8; + lVar8 = lVar8 + -1; + } while (-1 < lVar8); + } + lVar8 = FUN_140074a30((longlong)(param_1 + 0x68)); + *(longlong *)(lVar8 + (longlong)iVar2 * 8) = lVar4; + } + } + else { + FUN_14003d0d0((longlong)piVar1); + bVar3 = false; + Sleep(10); + } + if (bVar3) { + FUN_14003d0d0((longlong)piVar1); + } + } while (*param_1 == '\0'); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140085b30.c b/decomp/AgentManager_Release_x64/full/functions/0x140085b30.c new file mode 100644 index 00000000..77479e37 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140085b30.c @@ -0,0 +1,28 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140085b30 FUN_140085b30 + * Pseudocode, not original source. */ + +undefined1 * +FUN_140085b30(undefined1 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + ulonglong uVar1; + undefined1 *puVar2; + undefined8 uVar3; + + puVar2 = param_1; + FUN_140045b20((undefined8 *)(param_1 + 8),&LAB_140085b20,param_1); + uVar1 = FUN_140094860(); + uVar1 = uVar1 & 0xffffffff; + uVar3 = CONCAT71((int7)((ulonglong)puVar2 >> 8),1); + FUN_14003cf60((undefined4 *)(param_1 + 0x30),uVar1,uVar3,param_4); + *(undefined ***)(param_1 + 0x68) = Proud::CFastArray::vftable; + *(undefined8 *)(param_1 + 0x70) = 0; + *(undefined8 *)(param_1 + 0x78) = 0; + *(undefined8 *)(param_1 + 0x80) = 0; + *(undefined8 *)(param_1 + 0x88) = 0; + *param_1 = 0; + FUN_140045d20((longlong *)(param_1 + 8),uVar1,uVar3,param_4); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140085bb0.c b/decomp/AgentManager_Release_x64/full/functions/0x140085bb0.c new file mode 100644 index 00000000..bb12fc98 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140085bb0.c @@ -0,0 +1,220 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140085bb0 FUN_140085bb0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_140085bb0(void *param_1,byte *param_2,undefined8 param_3,undefined8 param_4) + +{ + byte bVar1; + uint uVar2; + undefined4 uVar3; + int iVar4; + uint uVar5; + uint *puVar6; + int iVar7; + void *pvVar8; + int iVar9; + longlong lVar10; + int iVar11; + ulonglong uVar12; + int iVar13; + int iVar14; + uint *puVar15; + longlong lVar16; + byte *pbVar17; + longlong lVar18; + undefined1 auStack_d8 [32]; + int local_b8; + exception local_a8 [68]; + uint auStack_64 [9]; + ulonglong local_40; + + local_40 = DAT_14016f5a0 ^ (ulonglong)auStack_d8; + iVar11 = (int)param_3; + local_b8 = iVar11; + if (((iVar11 != 0x10) && (iVar11 != 0x18)) && (iVar11 != 0x20)) { + FUN_14003d720(local_a8,"Incorrect key length",param_3,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_a8,(ThrowInfo *)&DAT_14016c210); + } + iVar4 = (int)param_4; + if (((iVar4 != 0x10) && (iVar4 != 0x18)) && (iVar4 != 0x20)) { + FUN_14003d720(local_a8,"Incorrect block length",param_3,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_a8,(ThrowInfo *)&DAT_14016c210); + } + *(int *)((longlong)param_1 + 0x3c4) = iVar4; + if (iVar11 == 0x10) { + if (iVar4 == 0x10) { + uVar3 = 10; + } + else { + uVar3 = 0xe; + if (iVar4 == 0x18) { + uVar3 = 0xc; + } + } + } + else { + if (iVar11 != 0x18) { + *(undefined4 *)((longlong)param_1 + 0x3c8) = 0xe; + goto LAB_140085cbf; + } + uVar3 = 0xe; + if (iVar4 != 0x20) { + uVar3 = 0xc; + } + } + *(undefined4 *)((longlong)param_1 + 0x3c8) = uVar3; +LAB_140085cbf: + iVar9 = 0; + iVar4 = (int)(iVar4 + (iVar4 >> 0x1f & 3U)) >> 2; + lVar16 = (longlong)iVar4; + pvVar8 = param_1; + if (-1 < *(int *)((longlong)param_1 + 0x3c8)) { + do { + if (0 < iVar4) { + memset(pvVar8,0,lVar16 << 2); + } + iVar9 = iVar9 + 1; + pvVar8 = (void *)((longlong)pvVar8 + 0x20); + } while (iVar9 <= *(int *)((longlong)param_1 + 0x3c8)); + } + iVar9 = 0; + if (-1 < *(int *)((longlong)param_1 + 0x3c8)) { + pvVar8 = (void *)((longlong)param_1 + 0x1e0); + do { + if (0 < iVar4) { + memset(pvVar8,0,lVar16 << 2); + } + iVar9 = iVar9 + 1; + pvVar8 = (void *)((longlong)pvVar8 + 0x20); + } while (iVar9 <= *(int *)((longlong)param_1 + 0x3c8)); + } + puVar6 = auStack_64; + iVar9 = (*(int *)((longlong)param_1 + 0x3c8) + 1) * iVar4; + uVar5 = (int)(iVar11 + (iVar11 >> 0x1f & 3U)) >> 2; + lVar18 = (longlong)(int)uVar5; + if (0 < (int)uVar5) { + uVar12 = (ulonglong)uVar5; + do { + puVar6 = puVar6 + 1; + bVar1 = param_2[2]; + *puVar6 = (uint)*param_2 << 0x18; + *puVar6 = *puVar6 | (uint)param_2[1] << 0x10; + *puVar6 = *puVar6 | (uint)bVar1 << 8; + *puVar6 = *puVar6 | (uint)param_2[3]; + uVar12 = uVar12 - 1; + param_2 = param_2 + 4; + } while (uVar12 != 0); + } + iVar7 = 0; + lVar10 = 0; + iVar13 = iVar7; + if (0 < (int)uVar5) { + do { + iVar13 = iVar7; + if (iVar9 <= iVar7) break; + uVar2 = auStack_64[lVar10 + 1]; + lVar10 = lVar10 + 1; + iVar13 = iVar7 + 1; + *(uint *)((longlong)param_1 + ((longlong)(iVar7 % iVar4) + (longlong)(iVar7 / iVar4) * 8) * 4) + = uVar2; + *(uint *)((longlong)param_1 + + ((longlong)(iVar7 % iVar4) + 0x78 + + ((longlong)*(int *)((longlong)param_1 + 0x3c8) - (longlong)(iVar7 / iVar4)) * 8) * 4) + = uVar2; + iVar7 = iVar13; + } while (lVar10 < lVar18); + } + iVar7 = 1; + if (iVar13 < iVar9) { + pbVar17 = &DAT_140117fa0; + do { + uVar12 = (ulonglong)(int)auStack_64[lVar18]; + auStack_64[1] = + auStack_64[1] ^ + CONCAT31(CONCAT21(CONCAT11((&DAT_140114da0)[(longlong)uVar12 >> 0x10 & 0xff] ^ *pbVar17, + (&DAT_140114da0)[(longlong)uVar12 >> 8 & 0xff]), + (&DAT_140114da0)[uVar12 & 0xff]), + (&DAT_140114da0)[auStack_64[lVar18] >> 0x18]); + if (uVar5 == 8) { + lVar10 = 3; + puVar6 = auStack_64 + 2; + do { + *puVar6 = *puVar6 ^ puVar6[-1]; + lVar10 = lVar10 + -1; + puVar6 = puVar6 + 1; + } while (lVar10 != 0); + uVar12 = (ulonglong)(int)auStack_64[4]; + lVar10 = 5; + auStack_64[5] = + auStack_64[5] ^ + CONCAT31(CONCAT21(CONCAT11((&DAT_140114da0)[auStack_64[4] >> 0x18], + (&DAT_140114da0)[(longlong)uVar12 >> 0x10 & 0xff]), + (&DAT_140114da0)[(longlong)uVar12 >> 8 & 0xff]), + (&DAT_140114da0)[uVar12 & 0xff]); + do { + puVar6 = auStack_64 + lVar10; + lVar10 = lVar10 + 1; + auStack_64[lVar10] = auStack_64[lVar10] ^ *puVar6; + } while (lVar10 < 8); + } + else { + lVar10 = 1; + if (1 < lVar18) { + do { + puVar6 = auStack_64 + lVar10; + lVar10 = lVar10 + 1; + auStack_64[lVar10] = auStack_64[lVar10] ^ *puVar6; + } while (lVar10 < lVar18); + } + } + lVar10 = 0; + iVar14 = iVar13; + iVar11 = local_b8; + if (0 < (int)uVar5) { + do { + if (iVar9 <= iVar14) goto LAB_140085fa5; + uVar2 = auStack_64[lVar10 + 1]; + lVar10 = lVar10 + 1; + iVar13 = iVar14 + 1; + *(uint *)((longlong)param_1 + + ((longlong)(iVar14 % iVar4) + (longlong)(iVar14 / iVar4) * 8) * 4) = uVar2; + *(uint *)((longlong)param_1 + + ((longlong)(iVar14 % iVar4) + 0x78 + + ((longlong)*(int *)((longlong)param_1 + 0x3c8) - (longlong)(iVar14 / iVar4)) * 8) + * 4) = uVar2; + iVar14 = iVar13; + } while (lVar10 < lVar18); + } + pbVar17 = pbVar17 + 1; + } while (iVar13 < iVar9); + } +LAB_140085fa5: + if (1 < *(int *)((longlong)param_1 + 0x3c8)) { + puVar6 = (uint *)((longlong)param_1 + 0x200); + do { + puVar15 = puVar6; + lVar18 = lVar16; + if (0 < lVar16) { + do { + uVar12 = (ulonglong)(int)*puVar15; + lVar18 = lVar18 + -1; + *puVar15 = *(uint *)(&DAT_140116fa0 + (ulonglong)(*puVar15 >> 0x18) * 4) ^ + *(uint *)(&DAT_1401173a0 + ((longlong)uVar12 >> 0x10 & 0xffU) * 4) ^ + *(uint *)(&DAT_1401177a0 + ((longlong)uVar12 >> 8 & 0xffU) * 4) ^ + *(uint *)(&DAT_140117ba0 + (uVar12 & 0xff) * 4); + puVar15 = puVar15 + 1; + } while (lVar18 != 0); + } + iVar7 = iVar7 + 1; + puVar6 = puVar6 + 8; + } while (iVar7 < *(int *)((longlong)param_1 + 0x3c8)); + } + *(int *)((longlong)param_1 + 0x3c0) = iVar11; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140086080.c b/decomp/AgentManager_Release_x64/full/functions/0x140086080.c new file mode 100644 index 00000000..d1d78ca7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140086080.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140086080 FUN_140086080 + * Pseudocode, not original source. */ + +bool FUN_140086080(longlong param_1) + +{ + return 0 < *(int *)(param_1 + 0x3c0); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140086090.c b/decomp/AgentManager_Release_x64/full/functions/0x140086090.c new file mode 100644 index 00000000..53519b48 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140086090.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140086090 FUN_140086090 + * Pseudocode, not original source. */ + +void FUN_140086090(longlong param_1) + +{ + *(undefined4 *)(param_1 + 0x3c0) = 0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400860a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400860a0.c new file mode 100644 index 00000000..29bfe22f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400860a0.c @@ -0,0 +1,91 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400860a0 FUN_1400860a0 + * Pseudocode, not original source. */ + +void FUN_1400860a0(byte *param_1,byte *param_2,uint *param_3) + +{ + uint uVar1; + uint uVar2; + uint uVar3; + ulonglong uVar4; + ulonglong uVar5; + ulonglong uVar6; + ulonglong uVar7; + uint uVar8; + uint *puVar9; + uint uVar10; + ulonglong uVar11; + exception local_78 [80]; + + if ((int)param_3[0xf0] < 1) { + FUN_14003db10(local_78,L"aes key is not initialized",param_3,param_1); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_78,(ThrowInfo *)&DAT_14016c210); + } + uVar1 = ((uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10 | (uint)param_1[2] << 8 | + (uint)param_1[3]) ^ *param_3; + uVar10 = param_3[0xf2]; + uVar3 = ((uint)param_1[4] << 0x18 | (uint)param_1[5] << 0x10 | (uint)param_1[6] << 8 | + (uint)param_1[7]) ^ param_3[1]; + uVar2 = ((uint)param_1[8] << 0x18 | (uint)param_1[9] << 0x10 | (uint)param_1[10] << 8 | + (uint)param_1[0xb]) ^ param_3[2]; + uVar8 = ((uint)CONCAT11(param_1[0xe],param_1[0xf]) | + (uint)param_1[0xc] << 0x18 | (uint)param_1[0xd] << 0x10) ^ param_3[3]; + if (1 < (int)uVar10) { + uVar11 = (ulonglong)(uVar10 - 1); + puVar9 = param_3 + 10; + do { + uVar5 = (ulonglong)(int)uVar3; + uVar6 = (ulonglong)(int)uVar2; + uVar7 = (ulonglong)(int)uVar8; + uVar4 = (ulonglong)(int)uVar1; + uVar3 = *(uint *)(&DAT_140114fa0 + ((longlong)uVar5 >> 0x18 & 0xffU) * 4) ^ + *(uint *)(&DAT_1401153a0 + ((longlong)uVar6 >> 0x10 & 0xffU) * 4) ^ + *(uint *)(&DAT_1401157a0 + ((longlong)uVar7 >> 8 & 0xffU) * 4) ^ + *(uint *)(&DAT_140115ba0 + (uVar4 & 0xff) * 4) ^ puVar9[-1]; + uVar2 = *(uint *)(&DAT_1401157a0 + ((longlong)uVar4 >> 8 & 0xffU) * 4) ^ + *(uint *)(&DAT_140114fa0 + ((longlong)uVar6 >> 0x18 & 0xffU) * 4) ^ + *(uint *)(&DAT_1401153a0 + ((longlong)uVar7 >> 0x10 & 0xffU) * 4) ^ + *(uint *)(&DAT_140115ba0 + (uVar5 & 0xff) * 4) ^ *puVar9; + uVar8 = *(uint *)(&DAT_1401153a0 + ((longlong)uVar4 >> 0x10 & 0xffU) * 4) ^ + *(uint *)(&DAT_1401157a0 + ((longlong)uVar5 >> 8 & 0xffU) * 4) ^ + *(uint *)(&DAT_140114fa0 + ((longlong)uVar7 >> 0x18 & 0xffU) * 4) ^ + *(uint *)(&DAT_140115ba0 + (uVar6 & 0xff) * 4) ^ puVar9[1]; + uVar1 = *(uint *)(&DAT_140114fa0 + (ulonglong)(uVar1 >> 0x18) * 4) ^ + *(uint *)(&DAT_1401153a0 + ((longlong)uVar5 >> 0x10 & 0xffU) * 4) ^ + *(uint *)(&DAT_1401157a0 + ((longlong)uVar6 >> 8 & 0xffU) * 4) ^ + *(uint *)(&DAT_140115ba0 + (uVar7 & 0xff) * 4) ^ puVar9[-2]; + uVar11 = uVar11 - 1; + puVar9 = puVar9 + 8; + } while (uVar11 != 0); + uVar10 = param_3[0xf2]; + } + uVar6 = (ulonglong)(int)uVar2; + uVar5 = (ulonglong)(int)uVar8; + puVar9 = param_3 + (longlong)(int)uVar10 * 8; + uVar4 = (ulonglong)(int)uVar1; + uVar11 = (ulonglong)(int)uVar3; + uVar10 = *puVar9; + *param_2 = (&DAT_140114da0)[(longlong)uVar4 >> 0x18 & 0xff] ^ (byte)(uVar10 >> 0x18); + param_2[1] = (&DAT_140114da0)[(longlong)uVar11 >> 0x10 & 0xff] ^ (byte)(uVar10 >> 0x10); + param_2[2] = (&DAT_140114da0)[(longlong)uVar6 >> 8 & 0xff] ^ (byte)(uVar10 >> 8); + param_2[3] = (&DAT_140114da0)[uVar5 & 0xff] ^ (byte)uVar10; + uVar10 = puVar9[1]; + param_2[4] = (&DAT_140114da0)[(longlong)uVar11 >> 0x18 & 0xff] ^ (byte)(uVar10 >> 0x18); + param_2[5] = (&DAT_140114da0)[(longlong)uVar6 >> 0x10 & 0xff] ^ (byte)(uVar10 >> 0x10); + param_2[6] = (&DAT_140114da0)[(longlong)uVar5 >> 8 & 0xff] ^ (byte)(uVar10 >> 8); + param_2[7] = (&DAT_140114da0)[uVar4 & 0xff] ^ (byte)uVar10; + uVar10 = puVar9[2]; + param_2[8] = (&DAT_140114da0)[(longlong)uVar6 >> 0x18 & 0xff] ^ (byte)(uVar10 >> 0x18); + param_2[9] = (&DAT_140114da0)[(longlong)uVar5 >> 0x10 & 0xff] ^ (byte)(uVar10 >> 0x10); + param_2[10] = (&DAT_140114da0)[(longlong)uVar4 >> 8 & 0xff] ^ (byte)(uVar10 >> 8); + param_2[0xb] = (&DAT_140114da0)[uVar11 & 0xff] ^ (byte)uVar10; + uVar10 = puVar9[3]; + param_2[0xc] = (&DAT_140114da0)[(longlong)uVar5 >> 0x18 & 0xff] ^ (byte)(uVar10 >> 0x18); + param_2[0xd] = (&DAT_140114da0)[(longlong)uVar4 >> 0x10 & 0xff] ^ (byte)(uVar10 >> 0x10); + param_2[0xe] = (&DAT_140114da0)[(longlong)uVar11 >> 8 & 0xff] ^ (byte)(uVar10 >> 8); + param_2[0xf] = (&DAT_140114da0)[uVar6 & 0xff] ^ (byte)uVar10; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140086520.c b/decomp/AgentManager_Release_x64/full/functions/0x140086520.c new file mode 100644 index 00000000..336fe1c8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140086520.c @@ -0,0 +1,93 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140086520 FUN_140086520 + * Pseudocode, not original source. */ + +void FUN_140086520(byte *param_1,byte *param_2,longlong param_3) + +{ + undefined4 uVar1; + uint *puVar2; + undefined4 *puVar3; + uint uVar4; + uint uVar5; + uint uVar6; + ulonglong uVar7; + ulonglong uVar8; + ulonglong uVar9; + ulonglong uVar10; + uint uVar11; + int iVar12; + ulonglong uVar13; + exception local_78 [80]; + + if (*(int *)(param_3 + 0x3c0) < 1) { + FUN_14003db10(local_78,L"aes key is not initialized",param_3,param_1); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_78,(ThrowInfo *)&DAT_14016c210); + } + iVar12 = *(int *)(param_3 + 0x3c8); + uVar6 = ((uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10 | (uint)param_1[2] << 8 | + (uint)param_1[3]) ^ *(uint *)(param_3 + 0x1e0); + uVar5 = ((uint)param_1[4] << 0x18 | (uint)param_1[5] << 0x10 | (uint)param_1[6] << 8 | + (uint)param_1[7]) ^ *(uint *)(param_3 + 0x1e4); + uVar4 = ((uint)param_1[8] << 0x18 | (uint)param_1[9] << 0x10 | (uint)param_1[10] << 8 | + (uint)param_1[0xb]) ^ *(uint *)(param_3 + 0x1e8); + uVar11 = ((uint)CONCAT11(param_1[0xe],param_1[0xf]) | + (uint)param_1[0xc] << 0x18 | (uint)param_1[0xd] << 0x10) ^ *(uint *)(param_3 + 0x1ec); + if (1 < iVar12) { + uVar13 = (ulonglong)(iVar12 - 1); + puVar2 = (uint *)(param_3 + 0x208); + do { + uVar10 = (ulonglong)(int)uVar5; + uVar9 = (ulonglong)(int)uVar11; + uVar8 = (ulonglong)(int)uVar4; + uVar7 = (ulonglong)(int)uVar6; + uVar5 = *(uint *)(&DAT_1401163a0 + ((longlong)uVar7 >> 0x10 & 0xffU) * 4) ^ + *(uint *)(&DAT_140115fa0 + ((longlong)uVar10 >> 0x18 & 0xffU) * 4) ^ + *(uint *)(&DAT_1401167a0 + ((longlong)uVar9 >> 8 & 0xffU) * 4) ^ + *(uint *)(&DAT_140116ba0 + (uVar8 & 0xff) * 4) ^ puVar2[-1]; + uVar4 = *(uint *)(&DAT_140115fa0 + ((longlong)uVar8 >> 0x18 & 0xffU) * 4) ^ + *(uint *)(&DAT_1401167a0 + ((longlong)uVar7 >> 8 & 0xffU) * 4) ^ + *(uint *)(&DAT_1401163a0 + ((longlong)uVar10 >> 0x10 & 0xffU) * 4) ^ + *(uint *)(&DAT_140116ba0 + (uVar9 & 0xff) * 4) ^ *puVar2; + uVar11 = *(uint *)(&DAT_1401163a0 + ((longlong)uVar8 >> 0x10 & 0xffU) * 4) ^ + *(uint *)(&DAT_1401167a0 + ((longlong)uVar10 >> 8 & 0xffU) * 4) ^ + *(uint *)(&DAT_140115fa0 + ((longlong)uVar9 >> 0x18 & 0xffU) * 4) ^ + *(uint *)(&DAT_140116ba0 + (uVar7 & 0xff) * 4) ^ puVar2[1]; + uVar6 = *(uint *)(&DAT_140115fa0 + (ulonglong)(uVar6 >> 0x18) * 4) ^ + *(uint *)(&DAT_1401167a0 + ((longlong)uVar8 >> 8 & 0xffU) * 4) ^ + *(uint *)(&DAT_1401163a0 + ((longlong)uVar9 >> 0x10 & 0xffU) * 4) ^ + *(uint *)(&DAT_140116ba0 + (uVar10 & 0xff) * 4) ^ puVar2[-2]; + uVar13 = uVar13 - 1; + puVar2 = puVar2 + 8; + } while (uVar13 != 0); + iVar12 = *(int *)(param_3 + 0x3c8); + } + uVar13 = (ulonglong)(int)uVar6; + uVar8 = (ulonglong)(int)uVar4; + uVar9 = (ulonglong)(int)uVar11; + uVar7 = (ulonglong)(int)uVar5; + puVar3 = (undefined4 *)(((longlong)iVar12 + 0xf) * 0x20 + param_3); + uVar1 = *puVar3; + *param_2 = (&DAT_140114ea0)[(longlong)uVar13 >> 0x18 & 0xff] ^ (byte)((uint)uVar1 >> 0x18); + param_2[1] = (&DAT_140114ea0)[(longlong)uVar9 >> 0x10 & 0xff] ^ (byte)((uint)uVar1 >> 0x10); + param_2[2] = (&DAT_140114ea0)[(longlong)uVar8 >> 8 & 0xff] ^ (byte)((uint)uVar1 >> 8); + param_2[3] = (&DAT_140114ea0)[uVar7 & 0xff] ^ (byte)uVar1; + uVar1 = puVar3[1]; + param_2[4] = (&DAT_140114ea0)[(longlong)uVar7 >> 0x18 & 0xff] ^ (byte)((uint)uVar1 >> 0x18); + param_2[5] = (&DAT_140114ea0)[(longlong)uVar13 >> 0x10 & 0xff] ^ (byte)((uint)uVar1 >> 0x10); + param_2[6] = (&DAT_140114ea0)[(longlong)uVar9 >> 8 & 0xff] ^ (byte)((uint)uVar1 >> 8); + param_2[7] = (&DAT_140114ea0)[uVar8 & 0xff] ^ (byte)uVar1; + uVar1 = puVar3[2]; + param_2[8] = (&DAT_140114ea0)[(longlong)uVar8 >> 0x18 & 0xff] ^ (byte)((uint)uVar1 >> 0x18); + param_2[9] = (&DAT_140114ea0)[(longlong)uVar7 >> 0x10 & 0xff] ^ (byte)((uint)uVar1 >> 0x10); + param_2[10] = (&DAT_140114ea0)[(longlong)uVar13 >> 8 & 0xff] ^ (byte)((uint)uVar1 >> 8); + param_2[0xb] = (&DAT_140114ea0)[uVar9 & 0xff] ^ (byte)uVar1; + uVar1 = puVar3[3]; + param_2[0xc] = (&DAT_140114ea0)[(longlong)uVar9 >> 0x18 & 0xff] ^ (byte)((uint)uVar1 >> 0x18); + param_2[0xd] = (&DAT_140114ea0)[(longlong)uVar8 >> 0x10 & 0xff] ^ (byte)((uint)uVar1 >> 0x10); + param_2[0xe] = (&DAT_140114ea0)[(longlong)uVar7 >> 8 & 0xff] ^ (byte)((uint)uVar1 >> 8); + param_2[0xf] = (&DAT_140114ea0)[uVar13 & 0xff] ^ (byte)uVar1; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400869b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400869b0.c new file mode 100644 index 00000000..7d9f5bfa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400869b0.c @@ -0,0 +1,140 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400869b0 FUN_1400869b0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* WARNING: Type propagation algorithm not settling */ + +void FUN_1400869b0(byte *param_1,byte *param_2,uint *param_3) + +{ + int iVar1; + longlong lVar2; + uint uVar3; + int iVar4; + longlong lVar5; + int iVar6; + uint *puVar7; + int iVar8; + int iVar9; + longlong lVar10; + int iVar11; + longlong lVar12; + longlong lVar13; + undefined1 auStack_118 [32]; + int local_f8; + int local_f4; + int local_f0; + ulonglong local_e8; + size_t local_e0; + byte *local_d8; + uint *local_d0; + exception local_c8 [72]; + undefined4 local_80; + uint auStack_64 [9]; + ulonglong local_40; + + local_40 = DAT_14016f5a0 ^ (ulonglong)auStack_118; + local_d8 = param_2; + local_d0 = param_3; + if (0 < (int)param_3[0xf0]) { + uVar3 = param_3[0xf1]; + if (uVar3 == 0x10) { + FUN_1400860a0(param_1,param_2,param_3); + } + else { + lVar12 = 0; + iVar4 = (int)(uVar3 + ((int)uVar3 >> 0x1f & 3U)) >> 2; + iVar6 = 0; + lVar13 = (longlong)iVar4; + if (iVar4 != 4) { + iVar6 = (iVar4 != 6) + 1; + } + lVar5 = (longlong)iVar6 * 0x20; + iVar6 = *(int *)(&DAT_140117fc8 + lVar5); + local_f8 = *(int *)(&DAT_140117fd0 + lVar5); + iVar9 = *(int *)(&DAT_140117fd8 + lVar5); + puVar7 = &local_80; + lVar5 = lVar12; + if (0 < iVar4) { + do { + lVar10 = lVar5 + 1; + *puVar7 = (uint)*param_1 << 0x18; + *puVar7 = *puVar7 | (uint)param_1[1] << 0x10; + *puVar7 = *puVar7 | (uint)param_1[2] << 8; + *puVar7 = *puVar7 | (uint)param_1[3]; + *puVar7 = *puVar7 ^ param_3[lVar5]; + puVar7 = puVar7 + 1; + lVar5 = lVar10; + param_1 = param_1 + 4; + } while (lVar10 < lVar13); + } + if (1 < (int)param_3[0xf2]) { + lVar5 = (longlong)param_3 - (longlong)&local_80; + local_e0 = (size_t)(iVar4 * 4); + local_e8 = (ulonglong)(param_3[0xf2] - 1); + local_f4 = iVar6; + local_f0 = iVar9; + do { + lVar5 = lVar5 + 0x20; + if (0 < iVar4) { + iVar11 = local_f8 - iVar6; + iVar8 = iVar9 - iVar6; + lVar10 = lVar12; + iVar1 = iVar6; + do { + lVar2 = lVar10 * 4; + lVar10 = lVar10 + 1; + auStack_64[lVar10] = + *(uint *)(&DAT_1401157a0 + + ((longlong)(ulonglong)(uint)(&local_80)[(iVar11 + iVar1) % iVar4] >> 8 & + 0xffU) * 4) ^ + *(uint *)(&DAT_140115ba0 + + (ulonglong)*(byte *)(&local_80 + (iVar8 + iVar1) % iVar4) * 4) ^ + *(uint *)(&DAT_1401153a0 + + ((longlong)(ulonglong)(uint)(&local_80)[iVar1 % iVar4] >> 0x10 & 0xffU) + * 4) ^ + *(uint *)(&DAT_140114fa0 + + (ulonglong)*(byte *)((longlong)&local_80 + lVar2 + 3) * 4) ^ + *(uint *)((longlong)auStack_64 + lVar5 + lVar2 + 0xffffffffffffffe4U); + iVar6 = local_f4; + iVar9 = local_f0; + iVar1 = iVar1 + 1; + } while (lVar10 < lVar13); + } + memcpy(&local_80,auStack_64 + 1,local_e0); + local_e8 = local_e8 - 1; + param_2 = local_d8; + param_3 = local_d0; + } while (local_e8 != 0); + } + if (0 < iVar4) { + iVar6 = iVar6 - local_f8; + iVar9 = iVar9 - local_f8; + do { + lVar5 = lVar12 + (longlong)(int)param_3[0xf2] * 8; + lVar10 = lVar12 * 4; + lVar12 = lVar12 + 1; + uVar3 = param_3[lVar5]; + *param_2 = (&DAT_140114da0)[*(byte *)((longlong)&local_80 + lVar10 + 3)] ^ + (byte)(uVar3 >> 0x18); + param_2[1] = (&DAT_140114da0) + [(longlong)(ulonglong)(uint)(&local_80)[(local_f8 + iVar6) % iVar4] >> 0x10 & + 0xff] ^ (byte)(uVar3 >> 0x10); + param_2[2] = (&DAT_140114da0) + [(longlong)(ulonglong)(uint)(&local_80)[local_f8 % iVar4] >> 8 & 0xff] ^ + (byte)(uVar3 >> 8); + iVar1 = local_f8 + iVar9; + local_f8 = local_f8 + 1; + param_2[3] = (&DAT_140114da0)[*(byte *)(&local_80 + iVar1 % iVar4)] ^ (byte)uVar3; + param_2 = param_2 + 4; + } while (lVar12 < lVar13); + } + } + return; + } + FUN_14003db10(local_c8,L"aes key is not initialized",param_3,param_1); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_c8,(ThrowInfo *)&DAT_14016c210); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140086d60.c b/decomp/AgentManager_Release_x64/full/functions/0x140086d60.c new file mode 100644 index 00000000..25fad54b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140086d60.c @@ -0,0 +1,138 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140086d60 FUN_140086d60 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* WARNING: Type propagation algorithm not settling */ + +void FUN_140086d60(byte *param_1,byte *param_2,longlong param_3) + +{ + longlong lVar1; + undefined4 uVar2; + int iVar3; + longlong lVar4; + int iVar5; + uint *puVar6; + int iVar7; + int iVar8; + uint *puVar9; + int iVar10; + longlong lVar11; + longlong lVar12; + ulonglong uVar13; + undefined1 auStack_118 [32]; + int local_f8; + int local_f4; + int local_ec; + size_t local_e8; + byte *local_e0; + longlong local_d8; + exception local_d0 [72]; + undefined4 local_88; + uint auStack_6c [9]; + ulonglong local_48; + + local_48 = DAT_14016f5a0 ^ (ulonglong)auStack_118; + local_e0 = param_2; + local_d8 = param_3; + if (0 < *(int *)(param_3 + 0x3c0)) { + iVar3 = *(int *)(param_3 + 0x3c4); + if (iVar3 == 0x10) { + FUN_140086520(param_1,param_2,param_3); + } + else { + iVar5 = 0; + iVar3 = (int)(iVar3 + (iVar3 >> 0x1f & 3U)) >> 2; + lVar11 = (longlong)iVar3; + if (iVar3 != 4) { + iVar5 = (iVar3 != 6) + 1; + } + lVar4 = (longlong)iVar5 * 0x20; + iVar5 = *(int *)(&DAT_140117fcc + lVar4); + local_f4 = *(int *)(&DAT_140117fd4 + lVar4); + local_f8 = *(int *)(&DAT_140117fdc + lVar4); + if (0 < iVar3) { + puVar6 = &local_88; + puVar9 = (uint *)(param_3 + 0x1e0); + lVar4 = lVar11; + do { + *puVar6 = (uint)*param_1 << 0x18; + *puVar6 = *puVar6 | (uint)param_1[1] << 0x10; + *puVar6 = *puVar6 | (uint)param_1[2] << 8; + *puVar6 = *puVar6 | (uint)param_1[3]; + *puVar6 = *puVar6 ^ *puVar9; + lVar4 = lVar4 + -1; + puVar6 = puVar6 + 1; + puVar9 = puVar9 + 1; + param_1 = param_1 + 4; + } while (lVar4 != 0); + } + if (1 < *(int *)(param_3 + 0x3c8)) { + uVar13 = (ulonglong)(*(int *)(param_3 + 0x3c8) - 1); + local_e8 = (size_t)(iVar3 * 4); + lVar4 = (param_3 - (longlong)&local_88) + 0x200; + local_ec = iVar5; + do { + lVar12 = 0; + if (0 < iVar3) { + iVar10 = local_f4 - iVar5; + iVar8 = local_f8 - iVar5; + iVar7 = iVar5; + do { + lVar1 = lVar12 * 4; + lVar12 = lVar12 + 1; + auStack_6c[lVar12] = + *(uint *)(&DAT_1401167a0 + + ((longlong)(ulonglong)(uint)(&local_88)[(iVar10 + iVar7) % iVar3] >> 8 & + 0xffU) * 4) ^ + *(uint *)(&DAT_140116ba0 + + (ulonglong)*(byte *)(&local_88 + (iVar8 + iVar7) % iVar3) * 4) ^ + *(uint *)(&DAT_1401163a0 + + ((longlong)(ulonglong)(uint)(&local_88)[iVar7 % iVar3] >> 0x10 & 0xffU) + * 4) ^ + *(uint *)(&DAT_140115fa0 + + (ulonglong)*(byte *)((longlong)&local_88 + lVar1 + 3) * 4) ^ + *(uint *)((longlong)&local_88 + lVar4 + lVar1); + iVar7 = iVar7 + 1; + iVar5 = local_ec; + } while (lVar12 < lVar11); + } + memcpy(&local_88,auStack_6c + 1,local_e8); + lVar4 = lVar4 + 0x20; + uVar13 = uVar13 - 1; + param_3 = local_d8; + param_2 = local_e0; + } while (uVar13 != 0); + } + lVar4 = 0; + if (0 < iVar3) { + iVar5 = iVar5 - local_f4; + local_f8 = local_f8 - local_f4; + do { + lVar12 = lVar4 + 0x78; + lVar1 = lVar4 * 4; + lVar4 = lVar4 + 1; + uVar2 = *(undefined4 *)(param_3 + (lVar12 + (longlong)*(int *)(param_3 + 0x3c8) * 8) * 4); + *param_2 = (&DAT_140114ea0)[*(byte *)((longlong)&local_88 + lVar1 + 3)] ^ + (byte)((uint)uVar2 >> 0x18); + param_2[1] = (&DAT_140114ea0) + [(longlong)(ulonglong)(uint)(&local_88)[(local_f4 + iVar5) % iVar3] >> 0x10 & + 0xff] ^ (byte)((uint)uVar2 >> 0x10); + param_2[2] = (&DAT_140114ea0) + [(longlong)(ulonglong)(uint)(&local_88)[local_f4 % iVar3] >> 8 & 0xff] ^ + (byte)((uint)uVar2 >> 8); + iVar7 = local_f4 + local_f8; + local_f4 = local_f4 + 1; + param_2[3] = (&DAT_140114ea0)[*(byte *)(&local_88 + iVar7 % iVar3)] ^ (byte)uVar2; + param_2 = param_2 + 4; + } while (lVar4 < lVar11); + } + } + return; + } + FUN_14003db10(local_d0,L"aes key is not initialized",param_3,param_1); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_d0,(ThrowInfo *)&DAT_14016c210); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140087110.c b/decomp/AgentManager_Release_x64/full/functions/0x140087110.c new file mode 100644 index 00000000..a7e390f7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140087110.c @@ -0,0 +1,126 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140087110 FUN_140087110 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_140087110(uint *param_1,byte *param_2,byte *param_3,ulonglong param_4,int param_5) + +{ + uint uVar1; + undefined1 auVar2 [16]; + undefined1 auVar3 [16]; + ulonglong uVar4; + byte *pbVar5; + ulonglong uVar6; + uint uVar7; + undefined1 auStack_c8 [32]; + exception local_a8 [72]; + byte local_60 [32]; + ulonglong local_40; + + local_40 = DAT_14016f5a0 ^ (ulonglong)auStack_c8; + if ((int)param_1[0xf0] < 1) { + FUN_14003db10(local_a8,L"aes key is not initialized",param_3,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_a8,(ThrowInfo *)&DAT_14016c210); + } + if (param_4 != 0) { + uVar6 = (ulonglong)(int)param_1[0xf1]; + auVar2._8_8_ = 0; + auVar2._0_8_ = uVar6; + auVar3._8_8_ = 0; + auVar3._0_8_ = param_4; + uVar4 = param_4 / uVar6; + if (SUB168(auVar3 % auVar2,0) == 0) { + local_60[1] = 0; + local_60[2] = 0; + local_60[3] = 0; + local_60[4] = 0; + local_60[5] = 0; + local_60[6] = 0; + local_60[7] = 0; + local_60[8] = 0; + local_60[9] = 0; + local_60[10] = 0; + local_60[0xb] = 0; + local_60[0xc] = 0; + local_60[0xd] = 0; + local_60[0xe] = 0; + local_60[0xf] = 0; + local_60[0x10] = 0; + local_60[0x11] = 0; + local_60[0x12] = 0; + local_60[0x13] = 0; + local_60[0x14] = 0; + local_60[0x15] = 0; + local_60[0x16] = 0; + local_60[0x17] = 0; + local_60[0x18] = 0; + local_60[0x19] = 0; + local_60[0x1a] = 0; + local_60[0x1b] = 0; + local_60[0x1c] = 0; + local_60[0x1d] = 0; + local_60[0x1e] = 0; + local_60[0x1f] = 0; + uVar7 = 0; + local_60[0] = SUB161(auVar3 % auVar2,0); + if (param_5 == 1) { + if (uVar4 != 0) { + do { + if (0 < (int)uVar6) { + uVar6 = uVar6 & 0xffffffff; + pbVar5 = local_60; + do { + *pbVar5 = *pbVar5 ^ pbVar5[(longlong)param_2 - (longlong)local_60]; + uVar6 = uVar6 - 1; + pbVar5 = pbVar5 + 1; + } while (uVar6 != 0); + } + FUN_1400869b0(local_60,param_3,param_1); + uVar6 = (ulonglong)(int)param_1[0xf1]; + memcpy(local_60,param_3,uVar6); + uVar7 = uVar7 + 1; + param_2 = param_2 + (int)param_1[0xf1]; + param_3 = param_3 + (int)param_1[0xf1]; + } while ((ulonglong)uVar7 < param_4 / uVar6); + } + } + else if (param_5 == 2) { + if (uVar4 != 0) { + do { + FUN_1400869b0(local_60,param_3,param_1); + if (0 < (int)param_1[0xf1]) { + uVar4 = (ulonglong)param_1[0xf1]; + pbVar5 = param_3; + do { + *pbVar5 = *pbVar5 ^ pbVar5[(longlong)param_2 - (longlong)param_3]; + uVar4 = uVar4 - 1; + pbVar5 = pbVar5 + 1; + } while (uVar4 != 0); + } + uVar1 = param_1[0xf1]; + memcpy(local_60,param_3,(longlong)(int)uVar1); + uVar7 = uVar7 + 1; + param_2 = param_2 + (int)param_1[0xf1]; + param_3 = param_3 + (int)param_1[0xf1]; + } while ((ulonglong)uVar7 < param_4 / (ulonglong)(longlong)(int)uVar1); + } + } + else if (uVar4 != 0) { + do { + FUN_1400869b0(param_2,param_3,param_1); + uVar7 = uVar7 + 1; + param_2 = param_2 + (int)param_1[0xf1]; + param_3 = param_3 + (int)param_1[0xf1]; + } while ((ulonglong)uVar7 < param_4 / (ulonglong)(longlong)(int)param_1[0xf1]); + } + return; + } + } + FUN_14003db10(local_a8,L"block size is not 16byte or 24byte or 32byte",param_3,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_a8,(ThrowInfo *)&DAT_14016c210); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400873a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400873a0.c new file mode 100644 index 00000000..e506e8cc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400873a0.c @@ -0,0 +1,124 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400873a0 FUN_1400873a0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_1400873a0(uint *param_1,byte *param_2,byte *param_3,ulonglong param_4,int param_5) + +{ + uint uVar1; + undefined1 auVar2 [16]; + undefined1 auVar3 [16]; + ulonglong uVar4; + byte *pbVar5; + uint uVar6; + undefined1 auStack_b8 [32]; + exception local_98 [72]; + byte local_50 [32]; + ulonglong local_30; + + local_30 = DAT_14016f5a0 ^ (ulonglong)auStack_b8; + if ((int)param_1[0xf0] < 1) { + FUN_14003db10(local_98,L"aes key is not initialized",param_3,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_98,(ThrowInfo *)&DAT_14016c210); + } + if (param_4 != 0) { + auVar2._8_8_ = 0; + auVar2._0_8_ = (longlong)(int)param_1[0xf1]; + auVar3._8_8_ = 0; + auVar3._0_8_ = param_4; + uVar4 = param_4 / (ulonglong)(longlong)(int)param_1[0xf1]; + if (SUB168(auVar3 % auVar2,0) == 0) { + local_50[1] = 0; + local_50[2] = 0; + local_50[3] = 0; + local_50[4] = 0; + local_50[5] = 0; + local_50[6] = 0; + local_50[7] = 0; + local_50[8] = 0; + local_50[9] = 0; + local_50[10] = 0; + local_50[0xb] = 0; + local_50[0xc] = 0; + local_50[0xd] = 0; + local_50[0xe] = 0; + local_50[0xf] = 0; + local_50[0x10] = 0; + local_50[0x11] = 0; + local_50[0x12] = 0; + local_50[0x13] = 0; + local_50[0x14] = 0; + local_50[0x15] = 0; + local_50[0x16] = 0; + local_50[0x17] = 0; + local_50[0x18] = 0; + local_50[0x19] = 0; + local_50[0x1a] = 0; + local_50[0x1b] = 0; + local_50[0x1c] = 0; + local_50[0x1d] = 0; + local_50[0x1e] = 0; + local_50[0x1f] = 0; + uVar6 = 0; + local_50[0] = SUB161(auVar3 % auVar2,0); + if (param_5 == 1) { + if (uVar4 != 0) { + do { + FUN_140086d60(param_2,param_3,(longlong)param_1); + if (0 < (int)param_1[0xf1]) { + uVar4 = (ulonglong)param_1[0xf1]; + pbVar5 = param_3; + do { + *pbVar5 = *pbVar5 ^ pbVar5[(longlong)(local_50 + -(longlong)param_3)]; + uVar4 = uVar4 - 1; + pbVar5 = pbVar5 + 1; + } while (uVar4 != 0); + } + uVar1 = param_1[0xf1]; + memcpy(local_50,param_2,(longlong)(int)uVar1); + uVar6 = uVar6 + 1; + param_2 = param_2 + (int)param_1[0xf1]; + param_3 = param_3 + (int)param_1[0xf1]; + } while ((ulonglong)uVar6 < param_4 / (ulonglong)(longlong)(int)uVar1); + } + } + else if (param_5 == 2) { + if (uVar4 != 0) { + do { + FUN_1400869b0(local_50,param_3,param_1); + if (0 < (int)param_1[0xf1]) { + uVar4 = (ulonglong)param_1[0xf1]; + pbVar5 = param_3; + do { + *pbVar5 = *pbVar5 ^ pbVar5[(longlong)param_2 - (longlong)param_3]; + uVar4 = uVar4 - 1; + pbVar5 = pbVar5 + 1; + } while (uVar4 != 0); + } + uVar1 = param_1[0xf1]; + memcpy(local_50,param_2,(longlong)(int)uVar1); + uVar6 = uVar6 + 1; + param_2 = param_2 + (int)param_1[0xf1]; + param_3 = param_3 + (int)param_1[0xf1]; + } while ((ulonglong)uVar6 < param_4 / (ulonglong)(longlong)(int)uVar1); + } + } + else if (uVar4 != 0) { + do { + FUN_140086d60(param_2,param_3,(longlong)param_1); + uVar6 = uVar6 + 1; + param_2 = param_2 + (int)param_1[0xf1]; + param_3 = param_3 + (int)param_1[0xf1]; + } while ((ulonglong)uVar6 < param_4 / (ulonglong)(longlong)(int)param_1[0xf1]); + } + return; + } + } + FUN_14003db10(local_98,L"block size is not 16byte or 24byte or 32byte",param_3,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_98,(ThrowInfo *)&DAT_14016c210); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140087620.c b/decomp/AgentManager_Release_x64/full/functions/0x140087620.c new file mode 100644 index 00000000..ba77c10d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140087620.c @@ -0,0 +1,107 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140087620 FUN_140087620 + * Pseudocode, not original source. */ + +undefined8 FUN_140087620(longlong param_1,longlong param_2,uint *param_3,undefined8 param_4) + +{ + byte bVar1; + uint uVar2; + uint uVar3; + undefined7 uVar7; + ulonglong uVar4; + byte *pbVar5; + undefined8 uVar6; + byte *_Dst; + byte *pbVar8; + undefined **local_138; + undefined8 local_130; + byte *local_128; + ulonglong local_120; + undefined8 local_118; + longlong local_110; + longlong local_108; + ulonglong local_100; + undefined8 local_f8; + exception local_e8 [72]; + exception local_a0 [72]; + exception local_58 [80]; + + local_f8 = 0xfffffffffffffffe; + if ((int)param_3[0xf0] < 1) { + FUN_14003d720(local_e8,&DAT_140118180,param_3,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_e8,(ThrowInfo *)&DAT_14016c210); + } + if (*(int *)(param_1 + 0x18) == 0) { + uVar7 = (undefined7)((ulonglong)&stack0x00000000 >> 8); + } + else { + _Dst = (byte *)0x0; + local_130 = 0; + local_128 = (byte *)0x0; + local_120 = 0; + local_118 = 0; + local_138 = Proud::ByteArray::vftable; + FUN_14002a050((longlong)&local_138,*(int *)(param_1 + 0x18),(SIZE_T)param_3); + uVar4 = (ulonglong)*(int *)(param_1 + 0x18); + pbVar8 = local_128; + if ((int)local_120 == 0) { + pbVar8 = _Dst; + } + pbVar5 = _Dst; + if (*(int *)(param_1 + 0x18) != 0) { + pbVar5 = *(byte **)(param_1 + 0x10); + } + FUN_1400873a0(param_3,pbVar5,pbVar8,uVar4,0); + if ((int)local_120 < 1) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(param_3,local_120 & 0xffffffff,pbVar8,uVar4); + } + bVar1 = *local_128; + if ((int)local_120 < (int)(bVar1 + 5)) { + FUN_14003d720(local_a0,&DAT_140118150,pbVar8,uVar4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_a0,(ThrowInfo *)&DAT_14016c210); + } + pbVar5 = local_128; + if ((int)local_120 == 0) { + pbVar5 = _Dst; + } + uVar2 = *(uint *)(pbVar5 + 1); + local_100 = 0; + local_108 = 0; + local_110 = 0; + pbVar5 = local_128; + if ((int)local_120 == 0) { + pbVar5 = _Dst; + } + uVar3 = FUN_14009adb0(pbVar5 + 5,((int)local_120 - (uint)bVar1) + -5); + if (uVar2 != uVar3) { + FUN_14003d720(local_58,&DAT_140118118,pbVar8,uVar4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + FUN_14002a050(param_2,((int)local_120 - (uint)bVar1) + -5,(SIZE_T)pbVar8); + pbVar8 = local_128; + if ((int)local_120 == 0) { + pbVar8 = _Dst; + } + if (*(int *)(param_2 + 0x18) != 0) { + _Dst = *(byte **)(param_2 + 0x10); + } + memcpy(_Dst,pbVar8 + 5,(longlong)(int)(((int)local_120 - (uint)bVar1) + -5)); + FUN_14008a320(&local_110); + if (local_108 != 0) { + if ((longlong)local_100 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_100 = local_100 & 0xffffffff00000000; + } + uVar6 = FUN_140049e40(&local_138); + uVar7 = (undefined7)((ulonglong)uVar6 >> 8); + } + return CONCAT71(uVar7,1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140087810.c b/decomp/AgentManager_Release_x64/full/functions/0x140087810.c new file mode 100644 index 00000000..5ed5767c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140087810.c @@ -0,0 +1,167 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140087810 FUN_140087810 + * Pseudocode, not original source. */ + +undefined8 FUN_140087810(longlong param_1,int *param_2,uint *param_3,ulonglong param_4) + +{ + byte bVar1; + undefined7 uVar5; + longlong lVar2; + byte *pbVar3; + void *_Dst; + undefined8 uVar4; + uint uVar6; + ulonglong uVar7; + byte *pbVar9; + uint uVar10; + byte *pbVar12; + undefined **local_258; + undefined8 local_250; + byte *local_248; + ulonglong local_240; + undefined8 local_238; + longlong local_230; + longlong local_228; + ulonglong local_220; + undefined8 local_210; + exception local_178 [144]; + exception local_e8 [72]; + exception local_a0 [72]; + exception local_58 [80]; + ulonglong uVar8; + int iVar11; + + local_210 = 0xfffffffffffffffe; + if ((int)param_3[0xf0] < 1) { + FUN_14003d720(local_a0,&DAT_140118180,param_3,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_a0,(ThrowInfo *)&DAT_14016c210); + } + lVar2 = *(longlong *)(param_1 + 8); + if (lVar2 == 0) { + if (*(longlong *)(param_1 + 0x10) == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(param_1,param_2,param_3,param_4); + } + uVar10 = *(uint *)(param_1 + 0x18); + } + else { + uVar10 = *(uint *)(lVar2 + 0x18); + } + uVar7 = (ulonglong)uVar10; + if ((int)uVar10 <= (int)param_4) { + if (lVar2 == 0) { + if (*(longlong *)(param_1 + 0x10) == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(param_1,uVar7,param_3,param_4); + } + param_4 = (ulonglong)*(uint *)(param_1 + 0x18); + } + else { + param_4 = (ulonglong)*(uint *)(lVar2 + 0x18); + } + } + if (lVar2 == 0) { + if (*(longlong *)(param_1 + 0x10) == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(param_1,uVar7,param_3,param_4); + } + iVar11 = *(int *)(param_1 + 0x18); + } + else { + iVar11 = *(int *)(lVar2 + 0x18); + } + uVar10 = iVar11 - (int)param_4; + if (uVar10 == 0) { + uVar5 = (undefined7)((ulonglong)lVar2 >> 8); + } + else { + if (*(longlong *)(param_1 + 0x10) == 0) { + if (lVar2 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(param_1,uVar7,param_3,param_4); + } + if (*(int *)(lVar2 + 0x18) == 0) { + lVar2 = 0; + } + else { + lVar2 = *(longlong *)(lVar2 + 0x10); + } + } + else { + lVar2 = *(longlong *)(param_1 + 0x10); + if (lVar2 == 0) { + FUN_14003db10(local_178,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,param_3, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_178,(ThrowInfo *)&DAT_14016c210); + } + } + pbVar9 = (byte *)0x0; + local_250 = 0; + local_248 = (byte *)0x0; + local_240 = 0; + local_238 = 0; + local_258 = Proud::ByteArray::vftable; + FUN_14002a050((longlong)&local_258,uVar10,(SIZE_T)param_3); + pbVar12 = local_248; + if ((int)local_240 == 0) { + pbVar12 = pbVar9; + } + uVar7 = (ulonglong)uVar10; + FUN_1400873a0(param_3,(byte *)((int)param_4 + lVar2),pbVar12,uVar7,0); + if ((int)local_240 < 1) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(param_3,local_240 & 0xffffffff,pbVar12,uVar7); + } + bVar1 = *local_248; + if ((int)local_240 < (int)(bVar1 + 5)) { + FUN_14003d720(local_e8,&DAT_140118150,pbVar12,uVar7); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_e8,(ThrowInfo *)&DAT_14016c210); + } + pbVar3 = local_248; + if ((int)local_240 == 0) { + pbVar3 = pbVar9; + } + uVar10 = *(uint *)(pbVar3 + 1); + local_220 = 0; + local_228 = 0; + local_230 = 0; + pbVar3 = local_248; + if ((int)local_240 == 0) { + pbVar3 = pbVar9; + } + uVar6 = ((int)local_240 - (uint)bVar1) - 5; + uVar8 = (ulonglong)uVar6; + uVar6 = FUN_14009adb0(pbVar3 + 5,uVar6); + if (uVar10 != uVar6) { + FUN_14003d720(local_58,&DAT_140118118,pbVar12,uVar7); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + FUN_140074a40((longlong)param_2,uVar8,(SIZE_T)pbVar12,uVar7); + uVar8 = (ulonglong)(((int)local_240 - (uint)bVar1) - 5); + FUN_140075110(param_2,uVar8,(SIZE_T)pbVar12,uVar7); + iVar11 = (int)local_240; + pbVar3 = local_248; + if ((int)local_240 == 0) { + pbVar3 = pbVar9; + } + _Dst = (void *)FUN_140074b70((longlong)param_2,uVar8,pbVar12,uVar7); + memcpy(_Dst,pbVar3 + 5,(longlong)(int)((iVar11 - (uint)bVar1) + -5)); + FUN_14008a320(&local_230); + if (local_228 != 0) { + if ((longlong)local_220 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_220 = local_220 & 0xffffffff00000000; + } + uVar4 = FUN_140049e40(&local_258); + uVar5 = (undefined7)((ulonglong)uVar4 >> 8); + } + return CONCAT71(uVar5,1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140087ad0.c b/decomp/AgentManager_Release_x64/full/functions/0x140087ad0.c new file mode 100644 index 00000000..b7e28b93 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140087ad0.c @@ -0,0 +1,90 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140087ad0 FUN_140087ad0 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x000140087bd5) */ +/* WARNING: Removing unreachable block (ram,0x000140087be3) */ +/* WARNING: Removing unreachable block (ram,0x000140087bdb) */ +/* WARNING: Removing unreachable block (ram,0x000140087bea) */ + +void FUN_140087ad0(undefined8 *param_1,int param_2,byte *param_3,longlong param_4,uint *param_5) + +{ + byte *pbVar1; + byte *pbVar2; + byte *pbVar3; + longlong lVar4; + uint uVar5; + SIZE_T SVar6; + SIZE_T SVar7; + byte *pbVar8; + undefined **local_50; + undefined8 local_48; + byte *local_40; + undefined8 local_38; + undefined8 local_30; + + SVar7 = (SIZE_T)param_2; + pbVar8 = (byte *)0x0; + local_48 = 0; + local_40 = (byte *)0x0; + local_38 = 0; + local_30 = 0; + local_50 = Proud::ByteArray::vftable; + pbVar3 = (byte *)(param_4 + 4); + FUN_14002a050((longlong)&local_50,1,(SIZE_T)param_3); + pbVar1 = local_40; + if ((int)local_38 == 0) { + pbVar1 = pbVar8; + } + SVar6 = 1; + FUN_140006fb0((undefined8 *)pbVar1,(undefined8 *)pbVar3,1); + lVar4 = (longlong)(int)local_38; + FUN_14002a050((longlong)&local_50,(int)local_38 + 4,SVar6); + pbVar1 = local_40; + if ((int)local_38 == 0) { + pbVar1 = pbVar8; + } + SVar6 = 4; + FUN_140006fb0((undefined8 *)(pbVar1 + lVar4),(undefined8 *)(param_4 + 0xc),4); + if (param_2 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (param_2 != 0) { + lVar4 = (longlong)(int)local_38; + FUN_14002a050((longlong)&local_50,(int)local_38 + param_2,SVar6); + pbVar1 = local_40; + if ((int)local_38 == 0) { + pbVar1 = pbVar8; + } + FUN_140006fb0((undefined8 *)(pbVar1 + lVar4),param_1,SVar7); + SVar6 = SVar7; + } + pbVar1 = pbVar8; + if (*pbVar3 != 0) { + do { + lVar4 = (longlong)(int)local_38; + if ((int)local_38 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + FUN_14002a050((longlong)&local_50,(int)local_38 + 1,SVar6); + pbVar2 = local_40; + if ((int)local_38 == 0) { + pbVar2 = pbVar8; + } + pbVar2[lVar4] = 0; + uVar5 = (int)pbVar1 + 1; + pbVar1 = (byte *)(ulonglong)uVar5; + } while ((int)uVar5 < (int)(uint)*pbVar3); + } + pbVar3 = local_40; + if ((int)local_38 == 0) { + pbVar3 = pbVar8; + } + FUN_140087110(param_5,pbVar3,param_3,(longlong)(int)local_38,0); + FUN_140049e40(&local_50); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140087c70.c b/decomp/AgentManager_Release_x64/full/functions/0x140087c70.c new file mode 100644 index 00000000..5729ba97 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140087c70.c @@ -0,0 +1,63 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140087c70 FUN_140087c70 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +undefined8 FUN_140087c70(longlong param_1,longlong param_2,uint *param_3,undefined8 param_4) + +{ + int iVar1; + char cVar2; + undefined8 uVar3; + byte *pbVar4; + byte *pbVar5; + uint *puVar6; + undefined1 auStackY_118 [32]; + exception local_d8 [72]; + exception local_90 [72]; + int local_48; + byte local_44; + undefined4 local_40; + uint local_3c; + ulonglong local_38; + + local_38 = DAT_14016f5a0 ^ (ulonglong)auStackY_118; + if ((int)param_3[0xf0] < 1) { + FUN_14003d720(local_90,&DAT_140118180,param_3,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_90,(ThrowInfo *)&DAT_14016c210); + } + iVar1 = *(int *)(param_1 + 0x18); + pbVar5 = (byte *)0x0; + pbVar4 = pbVar5; + if (iVar1 != 0) { + pbVar4 = *(byte **)(param_1 + 0x10); + } + puVar6 = param_3; + local_3c = FUN_14009adb0(pbVar4,iVar1); + if (0 < (int)param_3[0xf0]) { + local_40 = 5; + cVar2 = (char)((iVar1 + 5) % (int)param_3[0xf1]); + local_44 = 0; + if (cVar2 != '\0') { + local_44 = (char)param_3[0xf1] - cVar2; + } + local_48 = local_44 + 5 + iVar1; + FUN_14002a050(param_2,local_48,(SIZE_T)puVar6); + pbVar4 = pbVar5; + if (*(int *)(param_2 + 0x18) != 0) { + pbVar4 = *(byte **)(param_2 + 0x10); + } + if (*(int *)(param_1 + 0x18) != 0) { + pbVar5 = *(byte **)(param_1 + 0x10); + } + uVar3 = FUN_140087ad0((undefined8 *)pbVar5,*(int *)(param_1 + 0x18),pbVar4,(longlong)&local_48, + param_3); + return CONCAT71((int7)((ulonglong)uVar3 >> 8),1); + } + FUN_14003db10(local_d8,L"aes key is not initialized",puVar6,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_d8,(ThrowInfo *)&DAT_14016c210); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140087dc0.c b/decomp/AgentManager_Release_x64/full/functions/0x140087dc0.c new file mode 100644 index 00000000..fd4eb6bc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140087dc0.c @@ -0,0 +1,136 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140087dc0 FUN_140087dc0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +undefined8 FUN_140087dc0(longlong param_1,int *param_2,uint *param_3,ulonglong param_4) + +{ + uint uVar1; + undefined7 uVar4; + longlong lVar2; + undefined8 uVar3; + int *piVar5; + ulonglong uVar6; + int iVar7; + byte *pbVar8; + uint *puVar9; + byte *pbVar10; + undefined1 auStackY_238 [32]; + exception local_120 [72]; + exception local_d8 [72]; + exception local_90 [72]; + uint local_48; + byte local_44; + undefined4 local_40; + uint local_3c; + ulonglong local_38; + + local_38 = DAT_14016f5a0 ^ (ulonglong)auStackY_238; + if ((int)param_3[0xf0] < 1) { + FUN_14003d720(local_120,&DAT_140118180,param_3,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_120,(ThrowInfo *)&DAT_14016c210); + } + lVar2 = *(longlong *)(param_1 + 8); + if (lVar2 == 0) { + if (*(longlong *)(param_1 + 0x10) == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(param_1,param_2,param_3,param_4); + } + uVar1 = *(uint *)(param_1 + 0x18); + } + else { + uVar1 = *(uint *)(lVar2 + 0x18); + } + uVar6 = (ulonglong)uVar1; + if ((int)uVar1 <= (int)param_4) { + if (lVar2 == 0) { + if (*(longlong *)(param_1 + 0x10) == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(param_1,uVar6,param_3,param_4); + } + param_4 = (ulonglong)*(uint *)(param_1 + 0x18); + } + else { + param_4 = (ulonglong)*(uint *)(lVar2 + 0x18); + } + } + if (lVar2 == 0) { + if (*(longlong *)(param_1 + 0x10) == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(param_1,uVar6,param_3,param_4); + } + iVar7 = *(int *)(param_1 + 0x18); + } + else { + iVar7 = *(int *)(lVar2 + 0x18); + } + iVar7 = iVar7 - (int)param_4; + if (iVar7 == 0) { + uVar4 = (undefined7)((ulonglong)lVar2 >> 8); + } + else { + if (*(longlong *)(param_1 + 0x10) == 0) { + if (lVar2 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(param_1,uVar6,param_3,param_4); + } + if (*(int *)(lVar2 + 0x18) == 0) { + lVar2 = 0; + } + else { + lVar2 = *(longlong *)(lVar2 + 0x10); + } + } + else { + lVar2 = *(longlong *)(param_1 + 0x10); + if (lVar2 == 0) { + FUN_14003db10(local_90,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,param_3, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_90,(ThrowInfo *)&DAT_14016c210); + } + } + pbVar8 = (byte *)((int)param_4 + lVar2); + puVar9 = param_3; + local_3c = FUN_14009adb0(pbVar8,iVar7); + if ((int)param_3[0xf0] < 1) { + FUN_14003db10(local_d8,L"aes key is not initialized",puVar9,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_d8,(ThrowInfo *)&DAT_14016c210); + } + local_40 = 5; + uVar6 = (longlong)(iVar7 + 5) % (longlong)(int)param_3[0xf1] & 0xffffffff; + local_44 = (byte)uVar6; + if (local_44 != 0) { + local_44 = (char)param_3[0xf1] - local_44; + uVar6 = (ulonglong)local_44; + } + uVar1 = (byte)uVar6 + 5 + iVar7; + local_48 = uVar1; + FUN_140074a40((longlong)param_2,uVar6,(SIZE_T)puVar9,param_4); + uVar6 = (ulonglong)uVar1; + piVar5 = param_2; + FUN_140075110(param_2,uVar6,(SIZE_T)puVar9,param_4); + pbVar10 = *(byte **)(param_2 + 4); + if (pbVar10 == (byte *)0x0) { + lVar2 = *(longlong *)(param_2 + 2); + if (lVar2 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(piVar5,uVar6,0,param_4); + } + if (*(int *)(lVar2 + 0x18) == 0) { + pbVar10 = (byte *)0x0; + } + else { + pbVar10 = *(byte **)(lVar2 + 0x10); + } + } + uVar3 = FUN_140087ad0((undefined8 *)pbVar8,iVar7,pbVar10,(longlong)&local_48,param_3); + uVar4 = (undefined7)((ulonglong)uVar3 >> 8); + } + return CONCAT71(uVar4,1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140087ff0.c b/decomp/AgentManager_Release_x64/full/functions/0x140087ff0.c new file mode 100644 index 00000000..825ef950 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140087ff0.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140087ff0 FUN_140087ff0 + * Pseudocode, not original source. */ + +undefined8 FUN_140087ff0(void) + +{ + return 1000; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140088000.c b/decomp/AgentManager_Release_x64/full/functions/0x140088000.c new file mode 100644 index 00000000..fdcbd090 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140088000.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140088000 FUN_140088000 + * Pseudocode, not original source. */ + +undefined8 FUN_140088000(void) + +{ + return 0x3f2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140088020.c b/decomp/AgentManager_Release_x64/full/functions/0x140088020.c new file mode 100644 index 00000000..6a91cca0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140088020.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140088020 FUN_140088020 + * Pseudocode, not original source. */ + +void FUN_140088020(undefined8 *param_1) + +{ + *param_1 = Proud::IHeartbeatWork::vftable; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140088030.c b/decomp/AgentManager_Release_x64/full/functions/0x140088030.c new file mode 100644 index 00000000..5641cf09 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140088030.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140088030 FUN_140088030 + * Pseudocode, not original source. */ + +undefined8 * FUN_140088030(undefined8 *param_1,byte param_2) + +{ + *param_1 = Proud::IHeartbeatWork::vftable; + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140088060.c b/decomp/AgentManager_Release_x64/full/functions/0x140088060.c new file mode 100644 index 00000000..f40cff0a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140088060.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140088060 FUN_140088060 + * Pseudocode, not original source. */ + +undefined1 FUN_140088060(void) + +{ + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140088070.c b/decomp/AgentManager_Release_x64/full/functions/0x140088070.c new file mode 100644 index 00000000..95d46b6e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140088070.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140088070 FUN_140088070 + * Pseudocode, not original source. */ + +undefined8 FUN_140088070(void) + +{ + return 2000; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140088080.c b/decomp/AgentManager_Release_x64/full/functions/0x140088080.c new file mode 100644 index 00000000..b2bd477c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140088080.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140088080 FUN_140088080 + * Pseudocode, not original source. */ + +undefined8 FUN_140088080(void) + +{ + return 0x7d3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140088090.c b/decomp/AgentManager_Release_x64/full/functions/0x140088090.c new file mode 100644 index 00000000..f29ebf44 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140088090.c @@ -0,0 +1,32 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140088090 FUN_140088090 + * Pseudocode, not original source. */ + +void FUN_140088090(longlong param_1,int *param_2) + +{ + longlong lVar1; + uint local_res8 [2]; + + FUN_14003d040((int *)(param_1 + 0x98)); + if (*param_2 == 0) { + *(undefined4 *)(param_1 + 0x88) = 2; + lVar1 = (**(code **)(**(longlong **)(param_1 + 0x40) + 0x10))(); + if (lVar1 == 0) { + lVar1 = (**(code **)(**(longlong **)(param_1 + 0x40) + 0x18))(); + local_res8[0] = (uint)(lVar1 != 0); + } + else { + lVar1 = (**(code **)(**(longlong **)(param_1 + 0x40) + 0x10))(); + local_res8[0] = *(uint *)(lVar1 + 0x1578); + } + (**(code **)(*(longlong *)(param_1 + 0x68) + 0x30)) + ((longlong *)(param_1 + 0x68),1,&DAT_140178050,param_1 + 0x60,local_res8); + } + else { + *(undefined4 *)(param_1 + 0x88) = 0; + } + FUN_14003d0d0(param_1 + 0x98); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140088150.c b/decomp/AgentManager_Release_x64/full/functions/0x140088150.c new file mode 100644 index 00000000..2cb6316c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140088150.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140088150 FUN_140088150 + * Pseudocode, not original source. */ + +void FUN_140088150(longlong param_1) + +{ + FUN_14003d040((int *)(param_1 + 0x98)); + *(undefined4 *)(param_1 + 0x88) = 0; + FUN_14003d0d0(param_1 + 0x98); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140088190.c b/decomp/AgentManager_Release_x64/full/functions/0x140088190.c new file mode 100644 index 00000000..8df9ed3f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140088190.c @@ -0,0 +1,21 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140088190 FUN_140088190 + * Pseudocode, not original source. */ + +/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ + +undefined8 FUN_140088190(longlong param_1) + +{ + undefined8 uVar1; + double dVar2; + + FUN_14003d040((int *)(param_1 + 0x88)); + (**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x38) + 0x70) + 0x88))(); + *(undefined4 *)(param_1 + 0x78) = 0; + dVar2 = (double)(**(code **)(**(longlong **)(param_1 + 0x30) + 8))(); + *(double *)(param_1 + 0x80) = dVar2 + _DAT_140176198; + uVar1 = FUN_14003d0d0(param_1 + 0x88); + return CONCAT71((int7)((ulonglong)uVar1 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140088210.c b/decomp/AgentManager_Release_x64/full/functions/0x140088210.c new file mode 100644 index 00000000..7f12c028 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140088210.c @@ -0,0 +1,34 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140088210 FUN_140088210 + * Pseudocode, not original source. */ + +undefined * +FUN_140088210(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + bool bVar1; + bool bVar2; + + bVar1 = false; + bVar2 = FUN_14003d0e0((int *)&DAT_140178288); + if (bVar2) { + if (DAT_140170500 == '\0') { + bVar1 = false; + } + else { + bVar1 = true; + FUN_14003d040((int *)&DAT_140178288); + } + } + if ((DAT_140178280 & 1) == 0) { + DAT_140178280 = DAT_140178280 | 1; + FUN_14009b3c0((longlong *)&DAT_1401781c0,param_2,param_3,param_4); + atexit((_func_5014 *)&LAB_1401046e0); + } + DAT_140170500 = 0; + if (bVar1) { + FUN_14003d0d0(0x140178288); + } + return &DAT_1401781c0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400882d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400882d0.c new file mode 100644 index 00000000..213397c0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400882d0.c @@ -0,0 +1,36 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400882d0 FUN_1400882d0 + * Pseudocode, not original source. */ + +void FUN_1400882d0(undefined8 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + int *piVar1; + undefined8 *puVar2; + + *param_1 = Proud::CVizAgent::vftable; + param_1[2] = Proud::CVizAgent::vftable; + param_1[6] = Proud::CVizAgent::vftable; + piVar1 = (int *)FUN_140088210(param_1,param_2,param_3,param_4); + puVar2 = param_1 + 6; + FUN_14009b1e0(piVar1,(longlong)puVar2,param_3,param_4); + if ((undefined8 *)param_1[9] != (undefined8 *)0x0) { + puVar2 = (undefined8 *)0x1; + (*(code *)**(undefined8 **)param_1[9])(); + } + param_1[9] = 0; + FUN_14003d110((undefined4 *)(param_1 + 0x13),puVar2,param_3,param_4); + FUN_1400768c0(param_1 + 0xd); + FUN_140002190(param_1 + 0xc,puVar2,param_3,param_4); + FUN_140002190(param_1 + 10,puVar2,param_3,param_4); + puVar2 = (undefined8 *)param_1[9]; + if (puVar2 != (undefined8 *)0x0) { + (**(code **)*puVar2)(puVar2,1); + } + param_1[6] = Proud::IHeartbeatWork::vftable; + FUN_140079b90(param_1 + 2); + *param_1 = Proud::INetClientEvent::vftable; + FUN_140049b90(param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400883c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400883c0.c new file mode 100644 index 00000000..88087093 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400883c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400883c0 FUN_1400883c0 + * Pseudocode, not original source. */ + +void FUN_1400883c0(longlong param_1,ulonglong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400883e0((undefined8 *)(param_1 + -0x10),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400883d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400883d0.c new file mode 100644 index 00000000..9699992e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400883d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400883d0 FUN_1400883d0 + * Pseudocode, not original source. */ + +void FUN_1400883d0(longlong param_1,ulonglong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400883e0((undefined8 *)(param_1 + -0x30),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400883e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400883e0.c new file mode 100644 index 00000000..db27494b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400883e0.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400883e0 FUN_1400883e0 + * Pseudocode, not original source. */ + +undefined8 * +FUN_1400883e0(undefined8 *param_1,ulonglong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400882d0(param_1,param_2,param_3,param_4); + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140088410.c b/decomp/AgentManager_Release_x64/full/functions/0x140088410.c new file mode 100644 index 00000000..87ad0117 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140088410.c @@ -0,0 +1,99 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140088410 FUN_140088410 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ + +void FUN_140088410(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined *puVar1; + int *piVar2; + int *piVar3; + undefined **ppuVar4; + int *piVar5; + undefined8 *puVar6; + undefined *puVar7; + double dVar8; + undefined1 auStack_b8 [32]; + int *local_98; + undefined1 local_90; + int *local_88; + undefined1 local_80; + undefined8 local_78; + undefined *local_68; + undefined2 local_60; + undefined4 local_5c; + undefined4 local_58; + undefined4 local_54; + undefined4 local_50; + undefined8 local_48 [6]; + ulonglong local_18; + + local_78 = 0xfffffffffffffffe; + local_18 = DAT_14016f5a0 ^ (ulonglong)auStack_b8; + dVar8 = (double)(**(code **)(**(longlong **)(param_1 + 0x40) + 8))(); + if (*(double *)(param_1 + 0x90) <= dVar8 && dVar8 != *(double *)(param_1 + 0x90)) { + ppuVar4 = &local_68; + FUN_140049bd0(ppuVar4,param_2,param_3,param_4); + if (local_68 == (undefined *)0x0) { + local_68 = PTR_DAT_14016f010; + } + if (*(undefined **)(param_1 + 0x50) != local_68) { + piVar2 = (int *)FUN_14003e7c0(ppuVar4,param_2,param_3,param_4); + piVar5 = piVar2; + local_88 = piVar2; + FUN_14003d040(piVar2); + puVar1 = local_68; + local_80 = 1; + if (((local_68 != (undefined *)0x0) && (local_68 != PTR_DAT_14016f010)) && + (puVar7 = local_68 + -8, puVar7 != (undefined *)0x0)) { + piVar3 = (int *)FUN_14003e7c0(piVar5,param_2,param_3,param_4); + local_98 = piVar3; + FUN_14003d040(piVar3); + local_90 = 1; + piVar5 = (int *)(puVar1 + -4); + *piVar5 = *piVar5 + -1; + if (*piVar5 == 0) { + FUN_14003e8b0(puVar7); + } + FUN_14003d0d0((longlong)piVar3); + } + local_68 = *(undefined **)(param_1 + 0x50); + if (((local_68 != PTR_DAT_14016f010) && (local_68 != (undefined *)0x0)) && + (local_68 != (undefined *)0x8)) { + *(int *)(local_68 + -4) = *(int *)(local_68 + -4) + 1; + } + FUN_14003d0d0((longlong)piVar2); + } + local_60 = *(undefined2 *)(param_1 + 0x58); + local_5c = DAT_140170460; + local_58 = DAT_140170464; + local_54 = DAT_140170468; + local_50 = DAT_14017046c; + ppuVar4 = &local_68; + (**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x48) + 0x70) + 0x78))(); + dVar8 = (double)(**(code **)(**(longlong **)(param_1 + 0x40) + 8))(); + *(double *)(param_1 + 0x90) = dVar8 + _DAT_140176198; + *(undefined4 *)(param_1 + 0x88) = 1; + puVar6 = local_48; + FUN_140049e40(puVar6); + puVar1 = local_68; + if (((local_68 != (undefined *)0x0) && (local_68 != PTR_DAT_14016f010)) && + (puVar7 = local_68 + -8, puVar7 != (undefined *)0x0)) { + piVar2 = (int *)FUN_14003e7c0(puVar6,ppuVar4,param_3,param_4); + local_98 = piVar2; + FUN_14003d040(piVar2); + local_90 = 1; + piVar5 = (int *)(puVar1 + -4); + *piVar5 = *piVar5 + -1; + if (*piVar5 == 0) { + FUN_14003e8b0(puVar7); + } + FUN_14003d0d0((longlong)piVar2); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140088600.c b/decomp/AgentManager_Release_x64/full/functions/0x140088600.c new file mode 100644 index 00000000..8b84e451 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140088600.c @@ -0,0 +1,63 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140088600 FUN_140088600 + * Pseudocode, not original source. */ + +void FUN_140088600(longlong param_1) + +{ + longlong *plVar1; + int *piVar2; + longlong lVar3; + longlong lVar4; + undefined1 local_res8 [8]; + undefined4 local_res10 [2]; + undefined8 uVar5; + int *piVar6; + undefined1 uVar7; + + uVar5 = 0xfffffffffffffffe; + piVar2 = (int *)(param_1 + 0x98); + piVar6 = piVar2; + FUN_14003d040(piVar2); + uVar7 = 1; + lVar3 = (**(code **)(**(longlong **)(param_1 + 0x40) + 0x10))(); + if (lVar3 == 0) { + lVar3 = (**(code **)(**(longlong **)(param_1 + 0x40) + 0x18))(); + if (lVar3 != 0) { + (**(code **)(*(longlong *)(param_1 + 0x68) + 0x90)) + (param_1 + 0x68,1,&DAT_140177f90,*(longlong *)(param_1 + 0x68),uVar5,piVar6,uVar7); + if (*(longlong *)(lVar3 + 0xc98) == 0) { + lVar3 = 0; + } + else { + lVar3 = *(longlong *)(lVar3 + 0xc88); + } + for (; lVar3 != 0; lVar3 = *(longlong *)(lVar3 + 0x10)) { + (**(code **)(*(longlong *)(param_1 + 0x68) + 0xa0)) + (param_1 + 0x68,1,&DAT_140177f90,*(longlong *)(lVar3 + 8) + 0x6f8); + } + } + } + else { + local_res8[0] = 0; + local_res10[0] = + (**(code **)(*(longlong *)(lVar3 + 0x70) + 0x108))((longlong *)(lVar3 + 0x70),local_res8); + plVar1 = (longlong *)(param_1 + 0x68); + (**(code **)(*plVar1 + 0x60))(plVar1,1,&DAT_140177f90,local_res10); + (**(code **)(*plVar1 + 0x70))(plVar1,1,&DAT_140177f90); + lVar4 = 0; + if (*(longlong *)(lVar3 + 0x1670) != 0) { + lVar4 = *(longlong *)(lVar3 + 0x1660); + } + for (; lVar4 != 0; lVar4 = *(longlong *)(lVar4 + 0x10)) { + lVar3 = 0; + if (*(longlong **)(lVar4 + 8) != (longlong *)0x0) { + lVar3 = **(longlong **)(lVar4 + 8); + } + (**(code **)(*plVar1 + 0x80))(plVar1,1,&DAT_140177f90,lVar3 + 0x56c); + } + } + FUN_14003d0d0((longlong)piVar2); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140088780.c b/decomp/AgentManager_Release_x64/full/functions/0x140088780.c new file mode 100644 index 00000000..ee49dcea --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140088780.c @@ -0,0 +1,35 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140088780 FUN_140088780 + * Pseudocode, not original source. */ + +undefined1 +FUN_140088780(longlong *param_1,undefined8 param_2,SIZE_T param_3,longlong *param_4,uint *param_5) + +{ + undefined1 uVar1; + SIZE_T SVar2; + longlong *plVar3; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + plVar3 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,plVar3); + FUN_14002a2d0((longlong)local_30,0x3e9,SVar2,plVar3); + FUN_140076780((longlong)local_30,param_4,SVar2,plVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_5,SVar2,plVar3); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,PTR_u_RequestLogin_1401703b0,0x3e9); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140088870.c b/decomp/AgentManager_Release_x64/full/functions/0x140088870.c new file mode 100644 index 00000000..6ea2622c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140088870.c @@ -0,0 +1,37 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140088870 FUN_140088870 + * Pseudocode, not original source. */ + +undefined1 +FUN_140088870(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4, + longlong *param_5,uint *param_6) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0x3e9,uVar3,uVar4); + FUN_140076780((longlong)local_30,param_5,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_6,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30, + PTR_u_RequestLogin_1401703b0,0x3e9); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140088960.c b/decomp/AgentManager_Release_x64/full/functions/0x140088960.c new file mode 100644 index 00000000..e6fcb305 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140088960.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140088960 FUN_140088960 + * Pseudocode, not original source. */ + +undefined1 +FUN_140088960(longlong *param_1,undefined8 param_2,SIZE_T param_3,uint *param_4,longlong *param_5, + uint *param_6) + +{ + undefined1 uVar1; + SIZE_T SVar2; + uint *puVar3; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + puVar3 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,puVar3); + FUN_14002a2d0((longlong)local_30,0x3eb,SVar2,puVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_4,SVar2,puVar3); + FUN_140076780((longlong)local_30,param_5,SVar2,puVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_6,SVar2,puVar3); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,PTR_u_NotifyCommon_ReceiveRmi_1401703c0, + 0x3eb); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140088a60.c b/decomp/AgentManager_Release_x64/full/functions/0x140088a60.c new file mode 100644 index 00000000..0a0355ae --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140088a60.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140088a60 FUN_140088a60 + * Pseudocode, not original source. */ + +undefined1 +FUN_140088a60(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4, + uint *param_5,longlong *param_6,uint *param_7) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0x3eb,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_5,uVar3,uVar4); + FUN_140076780((longlong)local_30,param_6,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_7,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30, + PTR_u_NotifyCommon_ReceiveRmi_1401703c0,0x3eb); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140088b70.c b/decomp/AgentManager_Release_x64/full/functions/0x140088b70.c new file mode 100644 index 00000000..d31d0077 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140088b70.c @@ -0,0 +1,34 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140088b70 FUN_140088b70 + * Pseudocode, not original source. */ + +undefined1 FUN_140088b70(longlong *param_1,undefined8 param_2,SIZE_T param_3,uint *param_4) + +{ + undefined1 uVar1; + SIZE_T SVar2; + uint *puVar3; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + puVar3 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,puVar3); + FUN_14002a2d0((longlong)local_30,0x3ec,SVar2,puVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_4,SVar2,puVar3); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30, + PTR_u_NotifyCli_ConnectionState_1401703c8,0x3ec); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140088c50.c b/decomp/AgentManager_Release_x64/full/functions/0x140088c50.c new file mode 100644 index 00000000..b5d9dd97 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140088c50.c @@ -0,0 +1,36 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140088c50 FUN_140088c50 + * Pseudocode, not original source. */ + +undefined1 +FUN_140088c50(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4, + uint *param_5) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0x3ec,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_5,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30, + PTR_u_NotifyCli_ConnectionState_1401703c8,0x3ec); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140088d30.c b/decomp/AgentManager_Release_x64/full/functions/0x140088d30.c new file mode 100644 index 00000000..2ad01b1c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140088d30.c @@ -0,0 +1,31 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140088d30 FUN_140088d30 + * Pseudocode, not original source. */ + +undefined1 FUN_140088d30(longlong *param_1,undefined8 param_2,SIZE_T param_3,undefined8 param_4) + +{ + undefined1 uVar1; + SIZE_T SVar2; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,param_4); + FUN_14002a2d0((longlong)local_30,0x3ed,SVar2,param_4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,PTR_u_NotifyCli_Peers_Clear_1401703d0, + 0x3ed); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140088df0.c b/decomp/AgentManager_Release_x64/full/functions/0x140088df0.c new file mode 100644 index 00000000..377f959d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140088df0.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140088df0 FUN_140088df0 + * Pseudocode, not original source. */ + +undefined1 FUN_140088df0(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0x3ed,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30, + PTR_u_NotifyCli_Peers_Clear_1401703d0,0x3ed); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140088ec0.c b/decomp/AgentManager_Release_x64/full/functions/0x140088ec0.c new file mode 100644 index 00000000..b913df70 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140088ec0.c @@ -0,0 +1,34 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140088ec0 FUN_140088ec0 + * Pseudocode, not original source. */ + +undefined1 FUN_140088ec0(longlong *param_1,undefined8 param_2,SIZE_T param_3,uint *param_4) + +{ + undefined1 uVar1; + SIZE_T SVar2; + uint *puVar3; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + puVar3 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,puVar3); + FUN_14002a2d0((longlong)local_30,0x3ee,SVar2,puVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_4,SVar2,puVar3); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30, + PTR_u_NotifyCli_Peers_AddOrEdit_1401703d8,0x3ee); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140088fa0.c b/decomp/AgentManager_Release_x64/full/functions/0x140088fa0.c new file mode 100644 index 00000000..8e8840a9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140088fa0.c @@ -0,0 +1,36 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140088fa0 FUN_140088fa0 + * Pseudocode, not original source. */ + +undefined1 +FUN_140088fa0(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4, + uint *param_5) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0x3ee,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_5,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30, + PTR_u_NotifyCli_Peers_AddOrEdit_1401703d8,0x3ee); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140089080.c b/decomp/AgentManager_Release_x64/full/functions/0x140089080.c new file mode 100644 index 00000000..3b18c863 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140089080.c @@ -0,0 +1,31 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140089080 FUN_140089080 + * Pseudocode, not original source. */ + +undefined1 FUN_140089080(longlong *param_1,undefined8 param_2,SIZE_T param_3,undefined8 param_4) + +{ + undefined1 uVar1; + SIZE_T SVar2; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,param_4); + FUN_14002a2d0((longlong)local_30,0x3ef,SVar2,param_4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,PTR_u_NotifySrv_ClientEmpty_1401703e0, + 0x3ef); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140089140.c b/decomp/AgentManager_Release_x64/full/functions/0x140089140.c new file mode 100644 index 00000000..6962c7b3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140089140.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140089140 FUN_140089140 + * Pseudocode, not original source. */ + +undefined1 FUN_140089140(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0x3ef,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30, + PTR_u_NotifySrv_ClientEmpty_1401703e0,0x3ef); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140089210.c b/decomp/AgentManager_Release_x64/full/functions/0x140089210.c new file mode 100644 index 00000000..e5609597 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140089210.c @@ -0,0 +1,34 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140089210 FUN_140089210 + * Pseudocode, not original source. */ + +undefined1 FUN_140089210(longlong *param_1,undefined8 param_2,SIZE_T param_3,uint *param_4) + +{ + undefined1 uVar1; + SIZE_T SVar2; + uint *puVar3; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + puVar3 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,puVar3); + FUN_14002a2d0((longlong)local_30,0x3f0,SVar2,puVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_4,SVar2,puVar3); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30, + PTR_u_NotifySrv_Clients_AddOrEdit_1401703e8,0x3f0); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400892f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400892f0.c new file mode 100644 index 00000000..68adc095 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400892f0.c @@ -0,0 +1,36 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400892f0 FUN_1400892f0 + * Pseudocode, not original source. */ + +undefined1 +FUN_1400892f0(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4, + uint *param_5) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0x3f0,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_5,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30, + PTR_u_NotifySrv_Clients_AddOrEdit_1401703e8,0x3f0); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400893d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400893d0.c new file mode 100644 index 00000000..fe6e929e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400893d0.c @@ -0,0 +1,34 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400893d0 FUN_1400893d0 + * Pseudocode, not original source. */ + +undefined1 FUN_1400893d0(longlong *param_1,undefined8 param_2,SIZE_T param_3,uint *param_4) + +{ + undefined1 uVar1; + SIZE_T SVar2; + uint *puVar3; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + puVar3 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,puVar3); + FUN_14002a2d0((longlong)local_30,0x3f1,SVar2,puVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_4,SVar2,puVar3); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,PTR_u_NotifySrv_Clients_Remove_1401703f0 + ,0x3f1); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400894b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400894b0.c new file mode 100644 index 00000000..02a46c29 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400894b0.c @@ -0,0 +1,36 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400894b0 FUN_1400894b0 + * Pseudocode, not original source. */ + +undefined1 +FUN_1400894b0(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4, + uint *param_5) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0x3f1,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_5,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30, + PTR_u_NotifySrv_Clients_Remove_1401703f0,0x3f1); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140089590.c b/decomp/AgentManager_Release_x64/full/functions/0x140089590.c new file mode 100644 index 00000000..520faab9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140089590.c @@ -0,0 +1,360 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140089590 FUN_140089590 + * Pseudocode, not original source. */ + +ulonglong FUN_140089590(longlong *param_1,uint *param_2,undefined8 param_3,undefined8 param_4) + +{ + uint uVar1; + uint uVar2; + int iVar3; + DWORD DVar4; + DWORD DVar5; + undefined8 uVar6; + undefined8 uVar7; + short *psVar8; + longlong *plVar9; + undefined **ppuVar10; + int *piVar11; + int *piVar12; + undefined *puVar13; + undefined **ppuVar14; + ulonglong uVar15; + undefined4 uVar16; + undefined **ppuVar17; + undefined *puVar18; + undefined *puVar19; + undefined *local_res10; + undefined8 local_res18; + uint local_res20 [2]; + undefined *local_118; + int *local_110; + undefined *local_108; + uint local_100; + undefined8 local_f8; + int local_f0; + undefined *local_e8; + undefined *local_e0; + undefined *local_d8; + undefined *local_d0; + undefined *local_c8; + undefined **local_c0; + undefined1 local_b8; + undefined *local_b0; + undefined8 local_a8; + undefined1 local_98 [4]; + uint local_94; + undefined8 local_60; + + local_a8 = 0xfffffffffffffffe; + uVar1 = param_2[10]; + uVar7 = param_3; + local_res18 = param_3; + if (uVar1 == 0) { + FUN_140079c10(); + } + uVar2 = *param_2; + uVar6 = FUN_140075890(param_2,local_res20,uVar7,param_4); + if ((char)uVar6 == '\0') { +LAB_140089d92: + uVar15 = FUN_140074bb0((int *)param_2, + (ulonglong)(uint)((int)(((int)uVar2 >> 0x1f & 7U) + uVar2) >> 3),uVar7, + param_4); + uVar15 = uVar15 & 0xffffffffffffff00; + } + else { + local_60 = param_3; + if (local_res20[0] == 0x7d1) { + FUN_140049b40(local_98); + local_94 = param_2[10]; + local_98[0] = (undefined1)param_2[0x10]; + plVar9 = (longlong *)param_1[2]; + puVar18 = PTR_u_NotifyLoginOk_140170450; + (**(code **)(*plVar9 + 0x48))(); + DVar4 = 0; + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar1,0x7d1,PTR_u_NotifyLoginOk_140170450,&DAT_140131724 + ); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar9,param_2,puVar18,param_4); + puVar18 = PTR_DAT_14016f010; + local_res10 = PTR_DAT_14016f010; + uVar7 = 0xfffffffe; + ppuVar17 = &local_b0; + plVar9 = FUN_140028f40((longlong *)&local_res10,(longlong *)ppuVar17,0xfffffffe); + if (puVar18 == (undefined *)0x0) { + puVar18 = PTR_DAT_14016f010; + } + local_res10 = puVar18; + if ((undefined *)*plVar9 != puVar18) { + piVar11 = (int *)FUN_14003e7c0(PTR_DAT_14016f010,ppuVar17,uVar7,param_4); + piVar12 = piVar11; + local_110 = piVar11; + FUN_14003d040(piVar11); + local_108 = (undefined *)CONCAT71(local_108._1_7_,1); + if (((puVar18 != (undefined *)0x0) && (puVar18 != PTR_DAT_14016f010)) && + (puVar18 + -8 != (undefined *)0x0)) { + ppuVar14 = (undefined **)FUN_14003e7c0(piVar12,ppuVar17,uVar7,param_4); + local_c0 = ppuVar14; + FUN_14003d040((int *)ppuVar14); + local_b8 = 1; + piVar12 = (int *)(puVar18 + -4); + *piVar12 = *piVar12 + -1; + if (*piVar12 == 0) { + FUN_14003e8b0(puVar18 + -8); + } + FUN_14003d0d0((longlong)ppuVar14); + } + puVar18 = (undefined *)*plVar9; + if (((puVar18 != PTR_DAT_14016f010) && (puVar18 != (undefined *)0x0)) && + (puVar18 != (undefined *)0x8)) { + *(int *)(puVar18 + -4) = *(int *)(puVar18 + -4) + 1; + } + local_res10 = puVar18; + FUN_14003d0d0((longlong)piVar11); + } + if (((local_b0 != (undefined *)0x0) && (local_b0 != PTR_DAT_14016f010)) && + (local_b0 + -8 != (undefined *)0x0)) { + piVar11 = (int *)FUN_14003e7c0(PTR_DAT_14016f010,ppuVar17,uVar7,param_4); + local_110 = piVar11; + FUN_14003d040(piVar11); + local_108 = (undefined *)CONCAT71(local_108._1_7_,1); + piVar12 = (int *)(local_b0 + -4); + *piVar12 = *piVar12 + -1; + if (*piVar12 == 0) { + FUN_14003e8b0(local_b0 + -8); + } + FUN_14003d0d0((longlong)piVar11); + } + local_c0 = &local_e8; + piVar12 = (int *)PTR_DAT_14016f010; + local_b0 = PTR_DAT_14016f010; + FUN_14003e7c0(PTR_DAT_14016f010,ppuVar17,uVar7,param_4); + local_e8 = PTR_DAT_14016f010; + if (PTR_DAT_14016f010 == (undefined *)0x0) { + local_e8 = (undefined *)0x0; + } + if (puVar18 != PTR_DAT_14016f010) { + piVar12 = (int *)FUN_14003e7c0(piVar12,ppuVar17,uVar7,param_4); + local_110 = piVar12; + FUN_14003d040(piVar12); + local_108 = (undefined *)CONCAT71(local_108._1_7_,1); + FUN_140002190((longlong *)&local_e8,ppuVar17,uVar7,param_4); + if (((puVar18 != PTR_DAT_14016f010) && (puVar18 != (undefined *)0x0)) && + (puVar18 != (undefined *)0x8)) { + *(int *)(puVar18 + -4) = *(int *)(puVar18 + -4) + 1; + } + local_e8 = puVar18; + FUN_14003d0d0((longlong)piVar12); + } + puVar19 = PTR_u_NotifyLoginOk_140170450; + FUN_14003e7c0(piVar12,ppuVar17,uVar7,param_4); + local_d8 = PTR_DAT_14016f010; + iVar3 = FUN_14003e620((short *)puVar19); + puVar13 = FUN_140001ee0((longlong *)&local_d8,iVar3); + FUN_14003e650(puVar13,puVar19,iVar3); + FUN_140001fc0((longlong *)&local_d8); + (**(code **)(*param_1 + 0x28))(param_1,0x7d1,&local_d8,&local_e8); + plVar9 = (longlong *)param_1[2]; + uVar7 = 0x7d1; + uVar15 = (ulonglong)uVar1; + puVar19 = PTR_u_NotifyLoginOk_140170450; + (**(code **)(*plVar9 + 0x70))(); + param_3 = local_res18; + if (((puVar18 != (undefined *)0x0) && (puVar18 != PTR_DAT_14016f010)) && + (puVar18 + -8 != (undefined *)0x0)) { + piVar11 = (int *)FUN_14003e7c0(plVar9,uVar15,uVar7,puVar19); + local_110 = piVar11; + FUN_14003d040(piVar11); + local_108 = (undefined *)CONCAT71(local_108._1_7_,1); + piVar12 = (int *)(puVar18 + -4); + *piVar12 = *piVar12 + -1; + if (*piVar12 == 0) { + FUN_14003e8b0(puVar18 + -8); + } + FUN_14003d0d0((longlong)piVar11); + param_3 = local_res18; + } + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_110 = (int *)CONCAT44(local_110._4_4_,0x7d1); + local_108 = PTR_u_NotifyLoginOk_140170450; + local_100 = uVar1; + local_f8 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_110); + DVar4 = GetTickCount(); + } + uVar7 = (**(code **)(*param_1 + 0x38))(param_1,uVar1,local_98); + if ((char)uVar7 == '\0') { + uVar7 = (**(code **)(*(longlong *)param_1[2] + 0x40)) + ((longlong *)param_1[2],PTR_u_NotifyLoginOk_140170450); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_110 = (int *)CONCAT44(local_110._4_4_,0x7d1); + local_108 = PTR_u_NotifyLoginOk_140170450; +LAB_140089d63: + local_100 = uVar1; + local_f8 = param_3; + DVar5 = GetTickCount(); + local_f0 = DVar5 - DVar4; + uVar7 = (**(code **)(*param_1 + 0x18))(param_1,&local_110); + } + } + else { + if (local_res20[0] != 0x7d2) goto LAB_140089d92; + FUN_140049b40(local_98); + local_94 = param_2[10]; + local_98[0] = (undefined1)param_2[0x10]; + uVar7 = FUN_140074ee0(param_2,&local_118,4); + uVar16 = local_res10._0_4_; + if ((char)uVar7 != '\0') { + uVar16 = local_118._0_4_; + } + local_res10 = (undefined *)CONCAT44(local_res10._4_4_,uVar16); + plVar9 = (longlong *)param_1[2]; + puVar18 = PTR_u_NotifyLoginFailed_140170458; + (**(code **)(*plVar9 + 0x48))(); + DVar4 = 0; + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar1,0x7d2,PTR_u_NotifyLoginFailed_140170458, + &DAT_140131724); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar9,param_2,puVar18,param_4); + local_118 = PTR_DAT_14016f010; + psVar8 = (short *)FUN_140071b40(local_res10._0_4_); + FUN_140029bf0((longlong *)&local_118,psVar8); + FUN_140029bf0((longlong *)&local_118,(short *)&DAT_140133350); + puVar18 = local_118; + iVar3 = 0; + if ((local_118 != (undefined *)0x0) && (local_118 != PTR_DAT_14016f010)) { + iVar3 = *(int *)(local_118 + -8); + } + uVar15 = (ulonglong)(iVar3 - 2U); + ppuVar17 = &local_c8; + plVar9 = FUN_140028f40((longlong *)&local_118,(longlong *)ppuVar17,iVar3 - 2U); + if (puVar18 == (undefined *)0x0) { + puVar18 = PTR_DAT_14016f010; + } + local_118 = puVar18; + if ((undefined *)*plVar9 != puVar18) { + ppuVar10 = (undefined **)FUN_14003e7c0(PTR_DAT_14016f010,ppuVar17,uVar15,param_4); + ppuVar14 = ppuVar10; + local_c0 = ppuVar10; + FUN_14003d040((int *)ppuVar10); + local_b8 = 1; + if (((puVar18 != (undefined *)0x0) && (puVar18 != PTR_DAT_14016f010)) && + (puVar18 + -8 != (undefined *)0x0)) { + piVar11 = (int *)FUN_14003e7c0(ppuVar14,ppuVar17,uVar15,param_4); + local_110 = piVar11; + FUN_14003d040(piVar11); + local_108 = (undefined *)CONCAT71(local_108._1_7_,1); + piVar12 = (int *)(puVar18 + -4); + *piVar12 = *piVar12 + -1; + if (*piVar12 == 0) { + FUN_14003e8b0(puVar18 + -8); + } + FUN_14003d0d0((longlong)piVar11); + } + puVar18 = (undefined *)*plVar9; + if (((puVar18 != PTR_DAT_14016f010) && (puVar18 != (undefined *)0x0)) && + (puVar18 != (undefined *)0x8)) { + *(int *)(puVar18 + -4) = *(int *)(puVar18 + -4) + 1; + } + local_118 = puVar18; + FUN_14003d0d0((longlong)ppuVar10); + } + if (((local_c8 != (undefined *)0x0) && (local_c8 != PTR_DAT_14016f010)) && + (local_c8 + -8 != (undefined *)0x0)) { + piVar11 = (int *)FUN_14003e7c0(PTR_DAT_14016f010,ppuVar17,uVar15,param_4); + local_110 = piVar11; + FUN_14003d040(piVar11); + local_108 = (undefined *)CONCAT71(local_108._1_7_,1); + piVar12 = (int *)(local_c8 + -4); + *piVar12 = *piVar12 + -1; + if (*piVar12 == 0) { + FUN_14003e8b0(local_c8 + -8); + } + FUN_14003d0d0((longlong)piVar11); + } + local_c0 = &local_e0; + piVar12 = (int *)PTR_DAT_14016f010; + local_c8 = PTR_DAT_14016f010; + FUN_14003e7c0(PTR_DAT_14016f010,ppuVar17,uVar15,param_4); + local_e0 = PTR_DAT_14016f010; + if (PTR_DAT_14016f010 == (undefined *)0x0) { + local_e0 = (undefined *)0x0; + } + if (puVar18 != PTR_DAT_14016f010) { + piVar12 = (int *)FUN_14003e7c0(piVar12,ppuVar17,uVar15,param_4); + local_110 = piVar12; + FUN_14003d040(piVar12); + local_108 = (undefined *)CONCAT71(local_108._1_7_,1); + FUN_140002190((longlong *)&local_e0,ppuVar17,uVar15,param_4); + if (((puVar18 != PTR_DAT_14016f010) && (puVar18 != (undefined *)0x0)) && + (puVar18 != (undefined *)0x8)) { + *(int *)(puVar18 + -4) = *(int *)(puVar18 + -4) + 1; + } + local_e0 = puVar18; + FUN_14003d0d0((longlong)piVar12); + } + puVar19 = PTR_u_NotifyLoginFailed_140170458; + FUN_14003e7c0(piVar12,ppuVar17,uVar15,param_4); + local_d0 = PTR_DAT_14016f010; + iVar3 = FUN_14003e620((short *)puVar19); + puVar13 = FUN_140001ee0((longlong *)&local_d0,iVar3); + FUN_14003e650(puVar13,puVar19,iVar3); + FUN_140001fc0((longlong *)&local_d0); + (**(code **)(*param_1 + 0x28))(param_1,0x7d2,&local_d0,&local_e0); + plVar9 = (longlong *)param_1[2]; + uVar7 = 0x7d2; + uVar15 = (ulonglong)uVar1; + puVar19 = PTR_u_NotifyLoginFailed_140170458; + (**(code **)(*plVar9 + 0x70))(); + param_3 = local_res18; + if (((puVar18 != (undefined *)0x0) && (puVar18 != PTR_DAT_14016f010)) && + (puVar18 + -8 != (undefined *)0x0)) { + piVar11 = (int *)FUN_14003e7c0(plVar9,uVar15,uVar7,puVar19); + local_110 = piVar11; + FUN_14003d040(piVar11); + local_108 = (undefined *)CONCAT71(local_108._1_7_,1); + piVar12 = (int *)(puVar18 + -4); + *piVar12 = *piVar12 + -1; + if (*piVar12 == 0) { + FUN_14003e8b0(puVar18 + -8); + } + FUN_14003d0d0((longlong)piVar11); + param_3 = local_res18; + } + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_110 = (int *)CONCAT44(local_110._4_4_,0x7d2); + local_108 = PTR_u_NotifyLoginFailed_140170458; + local_100 = uVar1; + local_f8 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_110); + DVar4 = GetTickCount(); + } + uVar7 = (**(code **)(*param_1 + 0x40))(param_1,uVar1,local_98,&local_res10); + if ((char)uVar7 == '\0') { + uVar7 = (**(code **)(*(longlong *)param_1[2] + 0x40)) + ((longlong *)param_1[2],PTR_u_NotifyLoginFailed_140170458); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_110 = (int *)CONCAT44(local_110._4_4_,0x7d2); + local_108 = PTR_u_NotifyLoginFailed_140170458; + goto LAB_140089d63; + } + } + uVar15 = CONCAT71((int7)((ulonglong)uVar7 >> 8),1); + } + return uVar15; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140089dc0.c b/decomp/AgentManager_Release_x64/full/functions/0x140089dc0.c new file mode 100644 index 00000000..b2353946 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140089dc0.c @@ -0,0 +1,68 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140089dc0 FUN_140089dc0 + * Pseudocode, not original source. */ + +undefined8 * +FUN_140089dc0(undefined8 *param_1,undefined8 param_2,short *param_3,longlong param_4, + longlong *param_5) + +{ + ulonglong uVar1; + longlong *plVar2; + longlong *plVar3; + int *piVar4; + undefined8 *puVar5; + undefined8 uVar6; + short *psVar7; + undefined4 uVar8; + + uVar8 = (undefined4)param_4; + *param_1 = Proud::INetClientEvent::vftable; + *(undefined2 *)(param_1 + 1) = 0; + uVar6 = param_2; + psVar7 = param_3; + FUN_140079b60(param_1 + 2); + param_1[2] = VizS2C::Stub::vftable; + puVar5 = param_1 + 6; + FUN_14009ae00(puVar5); + *param_1 = Proud::CVizAgent::vftable; + param_1[2] = Proud::CVizAgent::vftable; + param_1[6] = Proud::CVizAgent::vftable; + param_1[9] = 0; + FUN_14003e7c0(puVar5,uVar6,psVar7,param_4); + param_1[10] = PTR_DAT_14016f010; + FUN_14003e7c0(puVar5,uVar6,psVar7,param_4); + param_1[0xc] = PTR_DAT_14016f010; + puVar5 = param_1 + 0xd; + FUN_140076890(puVar5); + *puVar5 = VizC2S::Proxy::vftable; + if (*(int *)((longlong)param_1 + 0x7c) != 1) { + FUN_14003e110((wchar_t *)PTR_u_PIDL_compiler_is_incompatible_to_140170070); + } + uVar1 = FUN_140094860(); + uVar6 = CONCAT71((int7)((ulonglong)psVar7 >> 8),1); + FUN_14003cf60((undefined4 *)(param_1 + 0x13),uVar1 & 0xffffffff,uVar6,param_4); + param_1[8] = param_2; + FUN_140005dd0(param_1 + 10,param_3,uVar6,param_4); + *(undefined4 *)(param_1 + 0xb) = uVar8; + FUN_1400020c0(param_1 + 0xc,param_5,uVar6,param_4); + plVar2 = operator_new(0x1900); + plVar3 = (longlong *)0x0; + if (plVar2 != (longlong *)0x0) { + plVar3 = FUN_1400b41f0(plVar2,param_5,uVar6,param_4); + } + param_1[9] = plVar3; + (**(code **)(plVar3[0xe] + 0x118))(plVar3 + 0xe,param_1); + (**(code **)(*(longlong *)param_1[9] + 8))((longlong *)param_1[9],puVar5); + plVar3 = (longlong *)param_1[9]; + puVar5 = param_1 + 2; + (**(code **)(*plVar3 + 0x10))(); + param_1[0x12] = 0; + *(undefined4 *)(param_1 + 0x11) = 0; + *(undefined1 *)(param_1 + 0xf) = 1; + *(undefined1 *)(param_1 + 5) = 1; + piVar4 = (int *)FUN_140088210(plVar3,puVar5,uVar6,param_4); + FUN_14009b100(piVar4,(longlong)(param_1 + 6),10,param_4); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140089f70.c b/decomp/AgentManager_Release_x64/full/functions/0x140089f70.c new file mode 100644 index 00000000..54260599 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140089f70.c @@ -0,0 +1,19 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140089f70 FUN_140089f70 + * Pseudocode, not original source. */ + +void FUN_140089f70(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 uVar1; + + uVar1 = 0; + (**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x18) + 0x70) + 0x98))(); + FUN_14003d040((int *)(param_1 + 0x68)); + if (*(int *)(param_1 + 0x58) == 0) { + FUN_140088410(param_1 + -0x30,uVar1,param_3,param_4); + } + FUN_14003d0d0(param_1 + 0x68); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140089fe0.c b/decomp/AgentManager_Release_x64/full/functions/0x140089fe0.c new file mode 100644 index 00000000..ba417f04 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140089fe0.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140089fe0 FUN_140089fe0 + * Pseudocode, not original source. */ + +undefined1 FUN_140089fe0(longlong param_1) + +{ + FUN_14003d040((int *)(param_1 + 0x88)); + FUN_140088600(param_1 + -0x10); + FUN_14003d0d0(param_1 + 0x88); + return 1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008a030.c b/decomp/AgentManager_Release_x64/full/functions/0x14008a030.c new file mode 100644 index 00000000..3b10bc40 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008a030.c @@ -0,0 +1,62 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008a030 FUN_14008a030 + * Pseudocode, not original source. */ + +undefined1 +FUN_14008a030(longlong *param_1,undefined8 param_2,SIZE_T param_3,longlong param_4,uint *param_5) + +{ + undefined1 uVar1; + int iVar2; + undefined4 *puVar3; + ulonglong uVar4; + ulonglong uVar5; + uint uVar6; + SIZE_T SVar8; + longlong lVar9; + undefined4 local_res10 [2]; + undefined4 local_40 [2]; + longlong local_38; + longlong local_30; + int local_24; + ulonglong uVar7; + + local_res10[0] = (undefined4)param_2; + SVar8 = param_3; + lVar9 = param_4; + FUN_140074fb0(local_40); + FUN_140074a40((longlong)local_40,param_2,SVar8,lVar9); + FUN_14002a2d0((longlong)local_40,0x3ea,SVar8,lVar9); + uVar4 = (ulonglong)*(uint *)(param_4 + 0x18); + puVar3 = local_40; + FUN_140029e60((longlong)puVar3,uVar4,SVar8,lVar9); + uVar5 = 0; + iVar2 = *(int *)(param_4 + 0x18); + uVar7 = uVar5; + if (0 < iVar2) { + do { + if (((longlong)uVar5 < 0) || (iVar2 <= (int)uVar7)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(puVar3,uVar4,SVar8,lVar9); + } + uVar4 = (ulonglong)*(uint *)(*(longlong *)(param_4 + 0x10) + uVar5 * 4); + puVar3 = local_40; + FUN_140029e60((longlong)puVar3,uVar4,SVar8,lVar9); + uVar6 = (int)uVar7 + 1; + uVar7 = (ulonglong)uVar6; + uVar5 = uVar5 + 1; + iVar2 = *(int *)(param_4 + 0x18); + } while ((int)uVar6 < iVar2); + } + FUN_14009b610((longlong)local_40,param_5,SVar8,lVar9); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_40,PTR_u_NotifyCommon_SendRmi_1401703b8, + 0x3ea); + FUN_14008a320(&local_38); + if ((local_30 != 0) && (local_24 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008a160.c b/decomp/AgentManager_Release_x64/full/functions/0x14008a160.c new file mode 100644 index 00000000..6a0597d9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008a160.c @@ -0,0 +1,63 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008a160 FUN_14008a160 + * Pseudocode, not original source. */ + +undefined1 +FUN_14008a160(longlong *param_1,undefined8 param_2,SIZE_T param_3,undefined8 param_4, + longlong param_5,uint *param_6) + +{ + undefined1 uVar1; + int iVar2; + undefined4 *puVar3; + undefined8 uVar4; + ulonglong uVar5; + ulonglong uVar6; + uint uVar7; + undefined8 uVar9; + ulonglong uVar10; + undefined4 local_40 [2]; + longlong local_38; + longlong local_30; + int local_24; + ulonglong uVar8; + + uVar10 = param_3 & 0xffffffff; + uVar4 = param_2; + uVar9 = param_4; + FUN_140074fb0(local_40); + FUN_140074a40((longlong)local_40,uVar4,param_3,uVar9); + FUN_14002a2d0((longlong)local_40,0x3ea,param_3,uVar9); + uVar5 = (ulonglong)*(uint *)(param_5 + 0x18); + puVar3 = local_40; + FUN_140029e60((longlong)puVar3,uVar5,param_3,uVar9); + uVar6 = 0; + iVar2 = *(int *)(param_5 + 0x18); + uVar8 = uVar6; + if (0 < iVar2) { + do { + if (((longlong)uVar6 < 0) || (iVar2 <= (int)uVar8)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(puVar3,uVar5,param_3,uVar9); + } + uVar5 = (ulonglong)*(uint *)(*(longlong *)(param_5 + 0x10) + uVar6 * 4); + puVar3 = local_40; + FUN_140029e60((longlong)puVar3,uVar5,param_3,uVar9); + uVar7 = (int)uVar8 + 1; + uVar8 = (ulonglong)uVar7; + uVar6 = uVar6 + 1; + iVar2 = *(int *)(param_5 + 0x18); + } while ((int)uVar7 < iVar2); + } + FUN_14009b610((longlong)local_40,param_6,param_3,uVar9); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,uVar10,param_4,local_40,PTR_u_NotifyCommon_SendRmi_1401703b8, + 0x3ea); + FUN_14008a320(&local_38); + if ((local_30 != 0) && (local_24 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008a2a0.c b/decomp/AgentManager_Release_x64/full/functions/0x14008a2a0.c new file mode 100644 index 00000000..27535976 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008a2a0.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008a2a0 FUN_14008a2a0 + * Pseudocode, not original source. */ + +void FUN_14008a2a0(longlong param_1) + +{ + FUN_14003d040((int *)&DAT_140178350); + if ((*(short *)(param_1 + -8) == 0x1de6) && (*(longlong *)(param_1 + 0x30) == 0)) { + *(short **)(param_1 + 0x30) = DAT_140178388; + DAT_140178388 = (short *)(param_1 + -8); + FUN_14003d0d0(0x140178350); + return; + } + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008a320.c b/decomp/AgentManager_Release_x64/full/functions/0x14008a320.c new file mode 100644 index 00000000..78c8c78c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008a320.c @@ -0,0 +1,20 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008a320 FUN_14008a320 + * Pseudocode, not original source. */ + +void FUN_14008a320(longlong *param_1) + +{ + longlong *plVar1; + + if (*param_1 != 0) { + plVar1 = (longlong *)(*param_1 + 0x28); + *plVar1 = *plVar1 + -1; + if (*(longlong *)(*param_1 + 0x28) == 0) { + FUN_14008a2a0(*param_1); + } + *param_1 = 0; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008a360.c b/decomp/AgentManager_Release_x64/full/functions/0x14008a360.c new file mode 100644 index 00000000..5437d2dc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008a360.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008a360 FUN_14008a360 + * Pseudocode, not original source. */ + +undefined2 * FUN_14008a360(undefined8 param_1,undefined8 param_2,SIZE_T param_3) + +{ + undefined8 *puVar1; + undefined2 *puVar2; + undefined2 *puVar3; + + FUN_14003d040((int *)&DAT_140178350); + puVar3 = DAT_140178388; + if (DAT_140178388 == (undefined2 *)0x0) { + puVar2 = (undefined2 *)FUN_14003e840(0x40); + puVar3 = (undefined2 *)0x0; + if (puVar2 != (undefined2 *)0x0) { + *(undefined8 *)(puVar2 + 8) = 0; + *(undefined8 *)(puVar2 + 0xc) = 0; + *(undefined8 *)(puVar2 + 0x10) = 0; + *(undefined8 *)(puVar2 + 0x14) = 0; + *(undefined ***)(puVar2 + 4) = Proud::ByteArray::vftable; + *(undefined8 *)(puVar2 + 0x18) = 0; + *puVar2 = 0x1de6; + *(undefined8 *)(puVar2 + 0x1c) = 0; + puVar3 = puVar2; + } + } + else { + puVar1 = (undefined8 *)(DAT_140178388 + 0x1c); + DAT_140178388 = *(undefined2 **)(DAT_140178388 + 0x1c); + *puVar1 = 0; + } + FUN_14002a050((longlong)(puVar3 + 4),0,param_3); + FUN_14003d0d0(0x140178350); + return puVar3 + 4; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008a420.c b/decomp/AgentManager_Release_x64/full/functions/0x14008a420.c new file mode 100644 index 00000000..2b050ba1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008a420.c @@ -0,0 +1,21 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008a420 FUN_14008a420 + * Pseudocode, not original source. */ + +void FUN_14008a420(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + LPCWSTR local_res8 [4]; + exception local_50 [80]; + + FUN_14003e4d0((longlong *)local_res8,param_2,param_3,param_4); + FUN_140029bf0((longlong *)local_res8,L".dmp"); + if (local_res8[0] == (LPCWSTR)0x0) { + local_res8[0] = (LPCWSTR)PTR_DAT_14016f010; + } + FUN_1400b6f40(local_res8[0]); + FUN_14003db10(local_50,(wchar_t *)PTR_u_error__ArrayPtr_is_null__140170530,param_3,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_50,(ThrowInfo *)&DAT_14016c210); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008a490.c b/decomp/AgentManager_Release_x64/full/functions/0x14008a490.c new file mode 100644 index 00000000..112e94db --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008a490.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008a490 FUN_14008a490 + * Pseudocode, not original source. */ + +void FUN_14008a490(undefined8 *param_1) + +{ + *param_1 = Proud::ISendIssueObject::vftable; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008a4a0.c b/decomp/AgentManager_Release_x64/full/functions/0x14008a4a0.c new file mode 100644 index 00000000..5e983cd4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008a4a0.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008a4a0 FUN_14008a4a0 + * Pseudocode, not original source. */ + +undefined8 * FUN_14008a4a0(undefined8 *param_1,byte param_2) + +{ + *param_1 = Proud::ISendIssueObject::vftable; + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008a4d0.c b/decomp/AgentManager_Release_x64/full/functions/0x14008a4d0.c new file mode 100644 index 00000000..57541580 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008a4d0.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008a4d0 FUN_14008a4d0 + * Pseudocode, not original source. */ + +bool FUN_14008a4d0(longlong param_1) + +{ + return *(int *)(param_1 + 0x710) != *(int *)(param_1 + 0x720); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008a4e0.c b/decomp/AgentManager_Release_x64/full/functions/0x14008a4e0.c new file mode 100644 index 00000000..25e1515e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008a4e0.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008a4e0 FUN_14008a4e0 + * Pseudocode, not original source. */ + +undefined1 FUN_14008a4e0(longlong param_1) + +{ + return *(undefined1 *)(param_1 + 0x228); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008a4f0.c b/decomp/AgentManager_Release_x64/full/functions/0x14008a4f0.c new file mode 100644 index 00000000..197dc0ee --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008a4f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008a4f0 FUN_14008a4f0 + * Pseudocode, not original source. */ + +void FUN_14008a4f0(longlong param_1,undefined1 param_2) + +{ + *(undefined1 *)(param_1 + 0x228) = param_2; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008a500.c b/decomp/AgentManager_Release_x64/full/functions/0x14008a500.c new file mode 100644 index 00000000..9849e25a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008a500.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008a500 FUN_14008a500 + * Pseudocode, not original source. */ + +void FUN_14008a500(longlong param_1) + +{ + /* WARNING: Could not recover jumptable at 0x00014008a511. Too many branches */ + /* WARNING: Treating indirect jump as call */ + (**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x198) + 0x118) + 8))(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008a520.c b/decomp/AgentManager_Release_x64/full/functions/0x14008a520.c new file mode 100644 index 00000000..cfde2598 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008a520.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008a520 FUN_14008a520 + * Pseudocode, not original source. */ + +void FUN_14008a520(longlong param_1,uint param_2,undefined4 param_3,longlong param_4,LPVOID param_5, + undefined4 param_6) + +{ + FUN_14006ef00(*(SIZE_T **)(param_1 + 0x198),(uint *)(param_1 + -0xa0),(ulonglong)param_2,param_3, + param_4,param_5,param_6); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008a560.c b/decomp/AgentManager_Release_x64/full/functions/0x14008a560.c new file mode 100644 index 00000000..68c82105 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008a560.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008a560 FUN_14008a560 + * Pseudocode, not original source. */ + +void FUN_14008a560(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140090f10(*(char **)(param_1 + 0x640),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008a570.c b/decomp/AgentManager_Release_x64/full/functions/0x14008a570.c new file mode 100644 index 00000000..bcf3a2a1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008a570.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008a570 FUN_14008a570 + * Pseudocode, not original source. */ + +void FUN_14008a570(undefined8 *param_1) + +{ + if ((void *)*param_1 != (void *)0x0) { + operator_delete((void *)*param_1); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008a590.c b/decomp/AgentManager_Release_x64/full/functions/0x14008a590.c new file mode 100644 index 00000000..a0543ed4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008a590.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008a590 FUN_14008a590 + * Pseudocode, not original source. */ + +bool FUN_14008a590(longlong param_1) + +{ + return *(longlong *)(param_1 + 0x278) == 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008a5a0.c b/decomp/AgentManager_Release_x64/full/functions/0x14008a5a0.c new file mode 100644 index 00000000..d68ed8b9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008a5a0.c @@ -0,0 +1,46 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008a5a0 FUN_14008a5a0 + * Pseudocode, not original source. */ + +void FUN_14008a5a0(wchar_t *param_1) + +{ + double dVar1; + char *pcVar2; + undefined1 *puVar3; + double dVar4; + double dVar5; + double dVar6; + + if (*(longlong *)(param_1 + 0x3a8) != 0) { + dVar5 = *(double *)(*(longlong *)(param_1 + 0x3a8) + 8); + dVar4 = (double)(**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x11c) + 0x118) + 8))(); + pcVar2 = *(char **)(param_1 + 0x3a8); + if (*(double *)(pcVar2 + 0x10) == 0.0) { + *(double *)(pcVar2 + 0x10) = dVar4; + *(double *)(*(longlong *)(param_1 + 0x3a8) + 8) = dVar4; + return; + } + if (*pcVar2 == '\0') { + dVar1 = *(double *)(*(longlong *)(param_1 + 0x11c) + 0x17f8); + dVar6 = 0.9; + if ((dVar1 <= 0.9) && (dVar6 = dVar1, dVar1 < 0.2)) { + dVar6 = 0.2; + } + dVar5 = dVar4 - dVar5; + *(double *)(*(longlong *)(param_1 + 0x3a8) + 0x18) = + (*(double *)(*(longlong *)(param_1 + 0x3a8) + 0x18) - dVar5) * dVar6 + dVar5; + puVar3 = *(undefined1 **)(param_1 + 0x3a8); + if ((5.8999999999999995 < dVar4 - *(double *)(puVar3 + 0x10)) && + (*(double *)(puVar3 + 0x18) <= 0.413 && *(double *)(puVar3 + 0x18) != 0.413)) { + *puVar3 = 1; + } + if (**(char **)(param_1 + 0x3a8) != '\0') { + FUN_14006c410(*(longlong **)(param_1 + 0x11c),param_1,"Speedhack",1); + } + *(double *)(*(longlong *)(param_1 + 0x3a8) + 8) = dVar4; + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008a700.c b/decomp/AgentManager_Release_x64/full/functions/0x14008a700.c new file mode 100644 index 00000000..91ac7bf9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008a700.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008a700 FUN_14008a700 + * Pseudocode, not original source. */ + +bool FUN_14008a700(longlong param_1) + +{ + return *(longlong *)(param_1 + 0x188) != 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008a710.c b/decomp/AgentManager_Release_x64/full/functions/0x14008a710.c new file mode 100644 index 00000000..c2e56681 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008a710.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008a710 FUN_14008a710 + * Pseudocode, not original source. */ + +bool FUN_14008a710(longlong param_1) + +{ + longlong *plVar1; + + plVar1 = *(longlong **)(*(longlong *)(param_1 + 0x198) + 0x748); + if (plVar1 != (longlong *)0x0) { + return *plVar1 == 0; + } + return true; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008a740.c b/decomp/AgentManager_Release_x64/full/functions/0x14008a740.c new file mode 100644 index 00000000..1e7d2ef2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008a740.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008a740 FUN_14008a740 + * Pseudocode, not original source. */ + +void FUN_14008a740(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + if (*(longlong **)(param_1 + 0x10) != (longlong *)0x0) { + FUN_14004a9c0(*(longlong **)(param_1 + 0x10),param_1 + -0x110,param_3,param_4); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008a770.c b/decomp/AgentManager_Release_x64/full/functions/0x14008a770.c new file mode 100644 index 00000000..ba6bcf82 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008a770.c @@ -0,0 +1,36 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008a770 FUN_14008a770 + * Pseudocode, not original source. */ + +void FUN_14008a770(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong lVar1; + longlong lVar2; + longlong *plVar3; + int *piVar4; + + piVar4 = (int *)(*(longlong *)(param_1 + 0x198) + 0x798); + FUN_14003d040(piVar4); + if (*(longlong *)(param_1 + 0x80) == 0) { + lVar1 = param_1 + -0xa0; + lVar2 = *(longlong *)(param_1 + 0x198); + plVar3 = (longlong *)(lVar2 + 0x808); + if (*(longlong *)(param_1 + 0x80) != 0) { + FUN_14004a9c0(plVar3,lVar1,param_3,param_4); + } + if (*(longlong *)(lVar2 + 0x810) == 0) { + *plVar3 = lVar1; + } + else { + *(longlong *)(*(longlong *)(lVar2 + 0x810) + 0x118) = lVar1; + *(undefined8 *)(param_1 + 0x70) = *(undefined8 *)(lVar2 + 0x810); + } + *(longlong *)(lVar2 + 0x810) = lVar1; + *(longlong **)(param_1 + 0x80) = plVar3; + *(int *)(lVar2 + 0x818) = *(int *)(lVar2 + 0x818) + 1; + } + FUN_14003d0d0((longlong)piVar4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008a830.c b/decomp/AgentManager_Release_x64/full/functions/0x14008a830.c new file mode 100644 index 00000000..e447f108 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008a830.c @@ -0,0 +1,28 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008a830 FUN_14008a830 + * Pseudocode, not original source. */ + +void FUN_14008a830(longlong param_1,undefined8 param_2,undefined4 param_3) + +{ + longlong *plVar1; + undefined **local_30; + undefined8 local_28; + undefined8 local_20; + undefined8 local_18; + undefined8 local_10; + + local_28 = 0; + local_20 = 0; + local_18 = 0; + local_10 = 0; + local_30 = Proud::ByteArray::vftable; + plVar1 = (longlong *)(param_1 + -0x68); + (**(code **)(*plVar1 + 0x38))(plVar1,0xb,3,&local_30,param_2,param_3,0xfffffffffffffffe); + FUN_140049e40(&local_30); + /* WARNING: Could not recover jumptable at 0x00014008a8a5. Too many branches */ + /* WARNING: Treating indirect jump as call */ + (**(code **)(*plVar1 + 0x40))(plVar1,param_2); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008a8b0.c b/decomp/AgentManager_Release_x64/full/functions/0x14008a8b0.c new file mode 100644 index 00000000..795569af --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008a8b0.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008a8b0 FUN_14008a8b0 + * Pseudocode, not original source. */ + +void FUN_14008a8b0(undefined8 *param_1) + +{ + void *pvVar1; + + pvVar1 = (void *)*param_1; + if (pvVar1 != (void *)0x0) { + FUN_140049e40((undefined8 *)((longlong)pvVar1 + 8)); + operator_delete(pvVar1); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008a8e0.c b/decomp/AgentManager_Release_x64/full/functions/0x14008a8e0.c new file mode 100644 index 00000000..c8da1063 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008a8e0.c @@ -0,0 +1,53 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008a8e0 FUN_14008a8e0 + * Pseudocode, not original source. */ + +void FUN_14008a8e0(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + int *piVar1; + short *psVar2; + int *piVar3; + longlong *plVar4; + longlong lVar5; + undefined8 uVar6; + short *psVar7; + double dVar8; + short *local_res8; + + if (*(longlong *)(param_1 + 0xc0) == 0) { + *(undefined8 *)(param_1 + 0xc0) = param_2; + plVar4 = (longlong *)(*(longlong *)(param_1 + 0x198) + 0x118); + uVar6 = param_2; + dVar8 = (double)(**(code **)(*plVar4 + 8))(plVar4,param_2,param_3,param_4,0xfffffffffffffffe); + if ((dVar8 - *(double *)(param_1 + 0x5f0) < 0.3) && + (*(longlong *)(*(longlong *)(param_1 + 0x198) + 0x17f0) != 0)) { + FUN_14003e7c0(plVar4,uVar6,param_3,param_4); + local_res8 = (short *)PTR_DAT_14016f010; + FUN_140029b80((longlong *)&local_res8, + L"**경고** 클라가 들어오자마자 바로 추방되었습니다. 의도입니까, 버그입니까?: %s" + ,param_2,param_4); + psVar2 = local_res8; + psVar7 = local_res8; + if (local_res8 == (short *)0x0) { + psVar7 = (short *)PTR_DAT_14016f010; + } + uVar6 = 0; + lVar5 = *(longlong *)(*(longlong *)(param_1 + 0x198) + 0x17f0); + FUN_1400843d0(lVar5,0,psVar7,param_4); + if (((psVar2 != (short *)0x0) && (psVar2 != (short *)PTR_DAT_14016f010)) && + (psVar2 + -4 != (short *)0x0)) { + piVar3 = (int *)FUN_14003e7c0(lVar5,uVar6,psVar7,param_4); + FUN_14003d040(piVar3); + piVar1 = (int *)(psVar2 + -2); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(psVar2 + -4); + } + FUN_14003d0d0((longlong)piVar3); + } + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008a9f0.c b/decomp/AgentManager_Release_x64/full/functions/0x14008a9f0.c new file mode 100644 index 00000000..6ddf4423 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008a9f0.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008a9f0 FUN_14008a9f0 + * Pseudocode, not original source. */ + +undefined4 FUN_14008a9f0(longlong param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + ulonglong uVar1; + undefined4 uVar2; + undefined4 local_res8 [2]; + + FUN_14007e740(param_2,0,param_3,param_4); + uVar1 = FUN_1400947a0((longlong *)(*(longlong *)(param_1 + 0x748) + 200),param_2, + (ulonglong)*(uint *)(param_1 + 0x6f8), + (ulonglong)*(uint *)(*(longlong *)(param_1 + 0x238) + 0x22c),local_res8); + uVar2 = 0; + if ((int)uVar1 < 0) { + uVar2 = local_res8[0]; + } + return uVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008aa60.c b/decomp/AgentManager_Release_x64/full/functions/0x14008aa60.c new file mode 100644 index 00000000..fd226b59 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008aa60.c @@ -0,0 +1,57 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008aa60 FUN_14008aa60 + * Pseudocode, not original source. */ + +void FUN_14008aa60(longlong param_1,longlong param_2,undefined8 param_3,longlong param_4, + undefined4 param_5,longlong param_6) + +{ + int iVar1; + undefined8 *puVar2; + longlong *plVar3; + longlong lVar4; + longlong lVar5; + ulonglong uVar6; + ulonglong uVar7; + undefined8 uVar8; + undefined4 local_res18 [2]; + longlong local_48; + undefined4 local_40; + longlong local_38; + undefined4 local_30; + undefined4 local_2c; + + uVar8 = param_3; + lVar4 = param_4; + FUN_14007e740(param_6,0,param_3,param_4); + uVar6 = (ulonglong)*(int *)(param_6 + 0x18); + FUN_140093730(&local_48); + plVar3 = &local_48; + lVar5 = 0; + local_2c = param_5; + local_40 = (undefined4)param_3; + local_38 = param_6; + local_30 = 0; + local_48 = param_2; + puVar2 = FUN_1400941c0(plVar3,local_res18,uVar8,lVar4); + iVar1 = (int)puVar2; + if ((-1 < iVar1) && (0 < iVar1)) { + lVar4 = uVar6 * 0x48; + uVar7 = uVar6; + do { + if (((longlong)(lVar5 + uVar6) < 0) || (*(int *)(param_6 + 0x18) <= (int)uVar7)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(plVar3,lVar4,uVar6,(longlong)iVar1); + } + plVar3 = *(longlong **)(param_6 + 0x10); + lVar5 = lVar5 + 1; + *(undefined4 *)(lVar4 + 0x38 + (longlong)plVar3) = *(undefined4 *)(param_4 + 8); + *(undefined2 *)(lVar4 + 0x3c + (longlong)plVar3) = *(undefined2 *)(param_4 + 0xc); + uVar7 = (ulonglong)((int)uVar7 + 1); + *(undefined4 *)(lVar4 + 0x28 + (longlong)plVar3) = *(undefined4 *)(param_1 + 0x6f8); + lVar4 = lVar4 + 0x48; + } while (lVar5 < iVar1); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008ab60.c b/decomp/AgentManager_Release_x64/full/functions/0x14008ab60.c new file mode 100644 index 00000000..365fdbd0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008ab60.c @@ -0,0 +1,155 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008ab60 FUN_14008ab60 + * Pseudocode, not original source. */ + +void FUN_14008ab60(uint *param_1,uint *param_2,undefined8 param_3,ulonglong param_4) + +{ + longlong lVar1; + uint *puVar2; + undefined8 uVar3; + uint *puVar4; + undefined *puVar5; + int *piVar6; + uint *puVar7; + uint *puVar8; + uint *puVar9; + uint *puVar10; + uint *puVar11; + ulonglong uVar12; + ulonglong uVar13; + uint uVar14; + + param_2[0xc] = param_1[0x1be]; + uVar14 = param_1[0x1c5]; + param_2[6] = param_1[0x1c4]; + *(short *)(param_2 + 7) = (short)uVar14; + uVar12 = *(ulonglong *)(param_1 + 0x1d2); + param_2[2] = *(uint *)(uVar12 + 0x130); + *(undefined2 *)(param_2 + 3) = *(undefined2 *)(uVar12 + 0x134); + param_2[10] = param_1[0x1c8]; + *(short *)(param_2 + 0xb) = (short)param_1[0x1c9]; + *(undefined8 *)(param_2 + 0x28) = *(undefined8 *)(param_1 + 0x72); + param_2[0x2a] = param_1[0x7a]; + *(char *)((longlong)param_2 + 0x91) = (char)param_1[0x1c0]; + puVar11 = (uint *)0x0; + puVar2 = param_1; + puVar9 = param_2; + puVar10 = puVar11; + if (*(longlong *)(param_1 + 0x1a) != 0) { + puVar10 = *(uint **)(param_1 + 0x16); + } + for (; puVar10 != (uint *)0x0; puVar10 = *(uint **)(puVar10 + 4)) { + uVar12 = (ulonglong)param_2[0x18]; + uVar14 = *puVar10; + param_4 = (ulonglong)uVar14; + lVar1 = *(longlong *)(param_2 + 0x10); + if (lVar1 != 0) { + puVar2 = *(uint **)(lVar1 + (param_4 % uVar12) * 8); + while ((puVar2 != (uint *)0x0 && + (puVar9 = (uint *)((ulonglong)puVar2[6] % uVar12), + (int)(param_4 % uVar12) == (int)puVar9))) { + if (*puVar2 == uVar14) goto LAB_14008acb1; + puVar2 = *(uint **)(puVar2 + 2); + } + } + uVar13 = param_4 % uVar12; + if (lVar1 != 0) { + puVar2 = *(uint **)(lVar1 + uVar13 * 8); + while ((puVar2 != (uint *)0x0 && + (puVar9 = (uint *)((ulonglong)puVar2[6] % uVar12), (uint)uVar13 == (uint)puVar9))) { + if (*puVar2 == uVar14) goto LAB_14008acad; + puVar2 = *(uint **)(puVar2 + 2); + } + } + puVar9 = puVar10; + puVar2 = FUN_140051450((char *)(param_2 + 0xe),puVar10,(uint)uVar13,uVar14); + uVar12 = uVar13; +LAB_14008acad: + *(char *)(puVar2 + 1) = '\0'; +LAB_14008acb1: + } + puVar10 = puVar11; + if (0 < (int)param_1[0x96]) { + do { + if (((longlong)puVar11 < 0) || ((int)param_1[0x96] <= (int)puVar10)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(puVar2,puVar9,uVar12,param_4); + } + puVar8 = (uint *)(*(longlong *)(param_1 + 0x94) + (longlong)puVar11 * 4); + puVar7 = param_2 + 0xe; + uVar14 = *puVar8; + param_4 = (ulonglong)param_2[0x18]; + uVar12 = (ulonglong)uVar14 % param_4; + lVar1 = *(longlong *)(param_2 + 0x10); + if (lVar1 != 0) { + puVar2 = *(uint **)(lVar1 + uVar12 * 8); + while ((puVar2 != (uint *)0x0 && + (puVar9 = (uint *)((ulonglong)puVar2[6] % param_4), (int)uVar12 == (int)puVar9))) { + if (*puVar2 == uVar14) goto LAB_14008adae; + puVar2 = *(uint **)(puVar2 + 2); + } + } + uVar13 = (ulonglong)uVar14 % param_4; + if (lVar1 == 0) { +LAB_14008ad6f: + uVar3 = FUN_14004c640((longlong)puVar7,param_2[0x18],'\x01'); + if ((char)uVar3 == '\0') { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x8007000e); + } + } + else { + puVar4 = *(uint **)(lVar1 + uVar13 * 8); + while ((puVar4 != (uint *)0x0 && + ((uint)uVar13 == (uint)(uint *)((ulonglong)puVar4[6] % param_4)))) { + puVar9 = (uint *)((ulonglong)puVar4[6] % param_4); + if (*puVar4 == uVar14) goto LAB_14008ada5; + puVar4 = *(uint **)(puVar4 + 2); + } + if (lVar1 == 0) goto LAB_14008ad6f; + } + FUN_140083c80((char *)puVar7); + param_4 = (ulonglong)uVar14; + puVar4 = FUN_14004e500((char *)puVar7,puVar8,(uint)uVar13,uVar14); + FUN_140083c80((char *)puVar7); + puVar2 = puVar7; + puVar9 = puVar8; + uVar12 = uVar13; +LAB_14008ada5: + *(undefined1 *)(puVar4 + 1) = 0; +LAB_14008adae: + uVar14 = (int)puVar10 + 1; + puVar10 = (uint *)(ulonglong)uVar14; + puVar11 = (uint *)((longlong)puVar11 + 1); + } while ((int)uVar14 < (int)param_1[0x96]); + } + *(undefined1 *)(param_2 + 0xd) = 0; + *(bool *)(param_2 + 0x24) = param_1[0x1c4] != param_1[0x1c8]; + puVar5 = *(undefined **)(param_2 + 0x26); + if (*(undefined **)(param_2 + 0x26) == (undefined *)0x0) { + puVar5 = PTR_DAT_14016f010; + } + *(undefined **)(param_2 + 0x26) = puVar5; + if (*(undefined **)(param_1 + 0x7c) != puVar5) { + piVar6 = (int *)FUN_14003e7c0(puVar2,puVar9,uVar12,param_4); + FUN_14003d040(piVar6); + FUN_140002190((longlong *)(param_2 + 0x26),puVar9,uVar12,param_4); + puVar5 = *(undefined **)(param_1 + 0x7c); + *(undefined **)(param_2 + 0x26) = puVar5; + if (((puVar5 != PTR_DAT_14016f010) && (puVar5 != (undefined *)0x0)) && + (puVar5 != (undefined *)0x8)) { + *(int *)(puVar5 + -4) = *(int *)(puVar5 + -4) + 1; + } + FUN_14003d0d0((longlong)piVar6); + } + *(undefined8 *)(param_2 + 0x2c) = *(undefined8 *)(param_1 + 0xc); + *(undefined8 *)(param_2 + 0x2e) = *(undefined8 *)(param_1 + 0x78); + uVar14 = (**(code **)(**(longlong **)(*(longlong *)(param_1 + 0x8e) + 0x478) + 0x18)) + (*(longlong **)(*(longlong *)(param_1 + 0x8e) + 0x478),param_1[0x1be]); + param_2[0x32] = uVar14; + param_2[0x30] = param_1[0x76]; + param_2[0x31] = param_1[0x77]; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008aee0.c b/decomp/AgentManager_Release_x64/full/functions/0x14008aee0.c new file mode 100644 index 00000000..6653641d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008aee0.c @@ -0,0 +1,70 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008aee0 FUN_14008aee0 + * Pseudocode, not original source. */ + +void FUN_14008aee0(char *param_1,LPVOID param_2,char param_3) + +{ + uint uVar1; + ulonglong uVar2; + uint uVar3; + + if (param_2 == (LPVOID)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + uVar1 = *(uint *)(param_1 + 0x28); + uVar2 = (ulonglong)*(uint *)((longlong)param_2 + 0x28) % (ulonglong)uVar1; + if (*(longlong *)(param_1 + 0x20) == 1) { + *(undefined8 *)(*(longlong *)(param_1 + 8) + uVar2 * 8) = 0; + param_1[0x10] = '\0'; + param_1[0x11] = '\0'; + param_1[0x12] = '\0'; + param_1[0x13] = '\0'; + param_1[0x14] = '\0'; + param_1[0x15] = '\0'; + param_1[0x16] = '\0'; + param_1[0x17] = '\0'; + param_1[0x18] = '\0'; + param_1[0x19] = '\0'; + param_1[0x1a] = '\0'; + param_1[0x1b] = '\0'; + param_1[0x1c] = '\0'; + param_1[0x1d] = '\0'; + param_1[0x1e] = '\0'; + param_1[0x1f] = '\0'; + } + else { + uVar3 = (uint)uVar2; + if (((*(longlong *)((longlong)param_2 + 0x20) == 0) || + (*(uint *)(*(longlong *)((longlong)param_2 + 0x20) + 0x28) % uVar1 != uVar3)) && + ((*(longlong *)((longlong)param_2 + 0x18) == 0 || + (*(uint *)(*(longlong *)((longlong)param_2 + 0x18) + 0x28) % uVar1 != uVar3)))) { + *(undefined8 *)(*(longlong *)(param_1 + 8) + uVar2 * 8) = 0; + } + else if (param_2 == *(LPVOID *)(*(longlong *)(param_1 + 8) + (longlong)(int)uVar3 * 8)) { + *(undefined8 *)(*(longlong *)(param_1 + 8) + uVar2 * 8) = + *(undefined8 *)((longlong)param_2 + 0x18); + } + if (param_2 == *(LPVOID *)(param_1 + 0x10)) { + *(undefined8 *)(param_1 + 0x10) = *(undefined8 *)((longlong)param_2 + 0x18); + *(undefined8 *)((longlong)param_2 + 0x20) = 0; + } + if (param_2 == *(LPVOID *)(param_1 + 0x18)) { + *(undefined8 *)(param_1 + 0x18) = *(undefined8 *)((longlong)param_2 + 0x20); + *(undefined8 *)((longlong)param_2 + 0x18) = 0; + } + if (*(longlong *)((longlong)param_2 + 0x20) != 0) { + *(undefined8 *)(*(longlong *)((longlong)param_2 + 0x20) + 0x18) = + *(undefined8 *)((longlong)param_2 + 0x18); + } + if (*(longlong *)((longlong)param_2 + 0x18) != 0) { + *(undefined8 *)(*(longlong *)((longlong)param_2 + 0x18) + 0x20) = + *(undefined8 *)((longlong)param_2 + 0x20); + } + } + FUN_14005c990(param_1,param_2,param_3); + FUN_14004c730(param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008afe0.c b/decomp/AgentManager_Release_x64/full/functions/0x14008afe0.c new file mode 100644 index 00000000..6b3effe6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008afe0.c @@ -0,0 +1,34 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008afe0 FUN_14008afe0 + * Pseudocode, not original source. */ + +ulonglong FUN_14008afe0(char *param_1,longlong param_2,char param_3) + +{ + uint uVar1; + LPVOID pvVar2; + ulonglong uVar3; + ulonglong uVar4; + undefined8 uVar5; + + uVar1 = *(uint *)(param_1 + 0x28); + uVar3 = (ulonglong)((uint)*(ushort *)(param_2 + 0xc) ^ *(uint *)(param_2 + 8)); + uVar4 = uVar3 / uVar1; + uVar3 = uVar3 % (ulonglong)uVar1; + if (*(longlong *)(param_1 + 8) != 0) { + uVar4 = uVar3; + for (pvVar2 = *(LPVOID *)(*(longlong *)(param_1 + 8) + uVar3 * 8); + (pvVar2 != (LPVOID)0x0 && + (uVar4 = (ulonglong)*(uint *)((longlong)pvVar2 + 0x28) / (ulonglong)uVar1, + (uint)uVar3 == *(uint *)((longlong)pvVar2 + 0x28) % uVar1)); + pvVar2 = *(LPVOID *)((longlong)pvVar2 + 0x18)) { + if ((*(uint *)((longlong)pvVar2 + 8) == *(uint *)(param_2 + 8)) && + (*(ushort *)((longlong)pvVar2 + 0xc) == *(ushort *)(param_2 + 0xc))) { + uVar5 = FUN_14008aee0(param_1,pvVar2,param_3); + return CONCAT71((int7)((ulonglong)uVar5 >> 8),1); + } + } + } + return uVar4 & 0xffffffffffffff00; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008b070.c b/decomp/AgentManager_Release_x64/full/functions/0x14008b070.c new file mode 100644 index 00000000..0689ac20 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008b070.c @@ -0,0 +1,115 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008b070 FUN_14008b070 + * Pseudocode, not original source. */ + +void FUN_14008b070(char *param_1) + +{ + longlong *plVar1; + undefined8 *puVar2; + void *pvVar3; + longlong *plVar4; + longlong *plVar5; + uint uVar6; + ulonglong uVar7; + longlong lVar8; + longlong lVar9; + float fVar10; + float fVar11; + + *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + 1; + FUN_1400c8cb0(param_1); + plVar5 = *(longlong **)(param_1 + 0x10); + while (plVar5 != (longlong *)0x0) { + plVar1 = (longlong *)plVar5[2]; + if ((*plVar5 != 0) && + (*(longlong *)(*plVar5 + 8) = *(longlong *)(*plVar5 + 8) + -1, + *(longlong *)(*plVar5 + 8) == 0)) { + puVar2 = (undefined8 *)*plVar5; + pvVar3 = (void *)*puVar2; + if (pvVar3 != (void *)0x0) { + FUN_14004a500((longlong)pvVar3); + operator_delete(pvVar3); + } + FUN_14003e8b0(puVar2); + } + plVar4 = *(longlong **)(param_1 + 0x50); + if (plVar4 == (longlong *)0x0) { + FUN_14003e8b0(plVar5); + } + else { + (**(code **)(*plVar4 + 0x18))(plVar4,plVar5); + } + *(longlong *)(param_1 + 0x20) = *(longlong *)(param_1 + 0x20) + -1; + plVar5 = plVar1; + } + FUN_14003e8b0(*(LPVOID *)(param_1 + 8)); + param_1[8] = '\0'; + param_1[9] = '\0'; + param_1[10] = '\0'; + param_1[0xb] = '\0'; + param_1[0xc] = '\0'; + param_1[0xd] = '\0'; + param_1[0xe] = '\0'; + param_1[0xf] = '\0'; + param_1[0x20] = '\0'; + param_1[0x21] = '\0'; + param_1[0x22] = '\0'; + param_1[0x23] = '\0'; + param_1[0x24] = '\0'; + param_1[0x25] = '\0'; + param_1[0x26] = '\0'; + param_1[0x27] = '\0'; + param_1[0x10] = '\0'; + param_1[0x11] = '\0'; + param_1[0x12] = '\0'; + param_1[0x13] = '\0'; + param_1[0x14] = '\0'; + param_1[0x15] = '\0'; + param_1[0x16] = '\0'; + param_1[0x17] = '\0'; + param_1[0x18] = '\0'; + param_1[0x19] = '\0'; + param_1[0x1a] = '\0'; + param_1[0x1b] = '\0'; + param_1[0x1c] = '\0'; + param_1[0x1d] = '\0'; + param_1[0x1e] = '\0'; + param_1[0x1f] = '\0'; + FUN_1400c8cb0(param_1); + if (*(int *)(param_1 + 0x48) == 0) { + uVar6 = FUN_14009b970((longlong)param_1,*(longlong *)(param_1 + 0x20)); + if (*(LPVOID *)(param_1 + 8) != (LPVOID)0x0) { + FUN_14003e8b0(*(LPVOID *)(param_1 + 8)); + param_1[8] = '\0'; + param_1[9] = '\0'; + param_1[10] = '\0'; + param_1[0xb] = '\0'; + param_1[0xc] = '\0'; + param_1[0xd] = '\0'; + param_1[0xe] = '\0'; + param_1[0xf] = '\0'; + } + lVar8 = 0; + *(uint *)(param_1 + 0x28) = uVar6; + fVar11 = (float)uVar6 * *(float *)(param_1 + 0x34); + if ((9.223372e+18 < fVar11) && (fVar11 = fVar11 - 9.223372e+18, fVar11 < 9.223372e+18)) { + lVar8 = -0x8000000000000000; + } + fVar10 = (float)uVar6 * *(float *)(param_1 + 0x30); + lVar9 = 0; + *(longlong *)(param_1 + 0x38) = (longlong)fVar11 + lVar8; + if ((9.223372e+18 < fVar10) && (fVar10 = fVar10 - 9.223372e+18, fVar10 < 9.223372e+18)) { + lVar9 = -0x8000000000000000; + } + uVar7 = (longlong)fVar10 + lVar9; + if ((ulonglong)((longlong)fVar10 + lVar9) < 0x11) { + uVar7 = 0; + } + *(ulonglong *)(param_1 + 0x40) = uVar7; + } + FUN_1400c8cb0(param_1); + *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + -1; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008b200.c b/decomp/AgentManager_Release_x64/full/functions/0x14008b200.c new file mode 100644 index 00000000..a38ae209 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008b200.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008b200 FUN_14008b200 + * Pseudocode, not original source. */ + +void FUN_14008b200(char *param_1) + +{ + FUN_14008b070(param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008b230.c b/decomp/AgentManager_Release_x64/full/functions/0x14008b230.c new file mode 100644 index 00000000..b967412a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008b230.c @@ -0,0 +1,77 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008b230 FUN_14008b230 + * Pseudocode, not original source. */ + +void FUN_14008b230(longlong param_1,uint param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong lVar1; + LPVOID pvVar2; + double dVar3; + int *piVar4; + uint *puVar5; + longlong **pplVar6; + uint *puVar7; + ulonglong uVar8; + double dVar9; + longlong *local_res8; + + piVar4 = (int *)(**(code **)(**(longlong **)(param_1 + 0x238) + 0x58))(); + FUN_14003d040(piVar4); + if (DAT_14017614f != '\0') { + (**(code **)(**(longlong **)(param_1 + 0x238) + 200)) + (*(longlong **)(param_1 + 0x238),L"Proud::CRemoteClient_S::GetP2PGroupTotalRecentPing" + ); + } + uVar8 = (ulonglong)param_2; + pplVar6 = &local_res8; + FUN_140064860(*(longlong *)(param_1 + 0x238),(longlong *)pplVar6,param_2); + if ((local_res8 != (longlong *)0x0) && (lVar1 = *local_res8, lVar1 != 0)) { + dVar3 = 0.0; + puVar7 = (uint *)0x0; + if (*(longlong *)(lVar1 + 0x28) != 0) { + puVar7 = *(uint **)(lVar1 + 0x18); + } + while( true ) { + puVar5 = (uint *)0x0; + if (local_res8 != (longlong *)0x0) { + puVar5 = (uint *)*local_res8; + } + if (puVar7 == (uint *)0x0) break; + pplVar6 = (longlong **)(ulonglong)*puVar7; + dVar9 = (double)(**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x238) + 0xa8) + 0xd0))(); + if (0.0 <= dVar9) { + dVar3 = dVar3 + 1.0; + } + puVar7 = *(uint **)(puVar7 + 6); + } + if ((uint *)(lVar1 + 8) != puVar5 + 2) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + if (0.0 < dVar3) { + if ((local_res8 != (longlong *)0x0) && + (local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) { + pvVar2 = (LPVOID)*local_res8; + if (pvVar2 != (LPVOID)0x0) { + FUN_1400519b0((longlong)pvVar2,pplVar6,uVar8,param_4); + FUN_14003e8b0(pvVar2); + } + FUN_14003e8b0(local_res8); + } + FUN_14003d0d0((longlong)piVar4); + return; + } + } + if ((local_res8 != (longlong *)0x0) && (local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) { + pvVar2 = (LPVOID)*local_res8; + if (pvVar2 != (LPVOID)0x0) { + FUN_1400519b0((longlong)pvVar2,pplVar6,uVar8,param_4); + FUN_14003e8b0(pvVar2); + } + FUN_14003e8b0(local_res8); + } + FUN_14003d0d0((longlong)piVar4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008b470.c b/decomp/AgentManager_Release_x64/full/functions/0x14008b470.c new file mode 100644 index 00000000..16374221 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008b470.c @@ -0,0 +1,27 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008b470 FUN_14008b470 + * Pseudocode, not original source. */ + +longlong * FUN_14008b470(uint *param_1,longlong *param_2,undefined8 param_3,ulonglong param_4) + +{ + undefined8 *puVar1; + uint *puVar2; + longlong *plVar3; + uint *puVar4; + + puVar4 = (uint *)0x0; + plVar3 = param_2; + puVar1 = (undefined8 *)FUN_14003e840(0xd0); + puVar2 = puVar4; + if (puVar1 != (undefined8 *)0x0) { + puVar2 = (uint *)FUN_1400b6fb0(puVar1,plVar3,param_3,param_4); + } + FUN_14004e0a0(param_2,(longlong)puVar2,param_3,param_4); + if (*param_2 != 0) { + puVar4 = *(uint **)(*param_2 + 0x38); + } + FUN_14008ab60(param_1,puVar4,param_3,param_4); + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008b4f0.c b/decomp/AgentManager_Release_x64/full/functions/0x14008b4f0.c new file mode 100644 index 00000000..59ba9d79 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008b4f0.c @@ -0,0 +1,35 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008b4f0 FUN_14008b4f0 + * Pseudocode, not original source. */ + +ulonglong FUN_14008b4f0(longlong param_1,int *param_2,SIZE_T param_3,undefined8 param_4) + +{ + ulonglong in_RAX; + ulonglong uVar1; + int *piVar2; + undefined8 uVar3; + undefined4 local_120 [4]; + longlong local_110; + longlong local_108; + int local_fc; + undefined1 local_f0 [232]; + + if (*(longlong *)(param_1 + 0x278) == 0) { + uVar1 = in_RAX & 0xffffffffffffff00; + } + else { + piVar2 = FUN_1400675c0((longlong *)(param_1 + 0x260),local_120,param_3,param_4); + uVar1 = (ulonglong)*(uint *)(param_1 + 0x6f0); + FUN_140096df0(param_2,piVar2,uVar1,param_4); + FUN_1400645f0((longlong)local_f0,piVar2,uVar1,param_4); + uVar3 = FUN_14008a320(&local_110); + if ((local_108 != 0) && (local_fc < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + uVar1 = CONCAT71((int7)((ulonglong)uVar3 >> 8),1); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008b590.c b/decomp/AgentManager_Release_x64/full/functions/0x14008b590.c new file mode 100644 index 00000000..8865bf94 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008b590.c @@ -0,0 +1,127 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008b590 FUN_14008b590 + * Pseudocode, not original source. */ + +undefined8 * +FUN_14008b590(undefined8 *param_1,longlong param_2,longlong param_3,undefined ***param_4) + +{ + ulonglong uVar1; + undefined1 *puVar2; + undefined1 *puVar3; + undefined1 *puVar4; + undefined8 *puVar5; + longlong lVar6; + undefined ***pppuVar7; + undefined8 uVar8; + undefined **local_50; + undefined4 local_48; + undefined2 local_44; + + *param_1 = Proud::ISendDest_S::vftable; + lVar6 = param_3; + pppuVar7 = param_4; + FUN_140097920(param_1 + 1); + param_1[7] = Proud::ICompletionContext::vftable; + param_1[0x22] = 0; + param_1[0x23] = 0; + param_1[0x24] = 0; + FUN_140067a90(param_1 + 8); + param_1[0x14] = Proud::ITcpLayerOwner_S::vftable; + param_1[0x15] = 0; + FUN_140091200(param_1 + 0x18); + *param_1 = Proud::CRemoteClient_S::vftable; + param_1[1] = Proud::CRemoteClient_S::vftable; + param_1[7] = Proud::CRemoteClient_S::vftable; + param_1[8] = Proud::CRemoteClient_S::vftable; + param_1[0x14] = Proud::CRemoteClient_S::vftable; + param_1[0x18] = Proud::CRemoteClient_S::vftable; + param_1[0x21] = Proud::CRemoteClient_S::vftable; + uVar1 = FUN_140094860(); + uVar1 = uVar1 & 0xffffffff; + puVar5 = param_1 + 0x25; + lVar6 = CONCAT71((int7)((ulonglong)lVar6 >> 8),1); + FUN_14003cf60((undefined4 *)puVar5,uVar1,lVar6,pppuVar7); + puVar4 = (undefined1 *)0x0; + param_1[0x3c] = 0; + FUN_14003e7c0(puVar5,uVar1,lVar6,pppuVar7); + param_1[0x3e] = PTR_DAT_14016f010; + param_1[0x40] = 0; + param_1[0x41] = 0; + param_1[0x42] = 0; + param_1[0x43] = 0; + param_1[0x3f] = Proud::ByteArray::vftable; + param_1[0x45] = 0; + param_1[0x48] = Proud::CFastArray::vftable; + param_1[0x49] = 0; + param_1[0x4a] = 0; + param_1[0x4b] = 0; + param_1[0x4c] = 0; + param_1[0x4d] = 0; + param_1[0x50] = 0; + param_1[0x4e] = 0; + param_1[0x4f] = 0; + *(undefined4 *)(param_1 + 0xc9) = 0; + param_1[0xcc] = 0; + param_1[0xcd] = 0; + param_1[0xce] = 0; + param_1[0xcf] = 0; + param_1[0xcb] = Proud::ByteArray::vftable; + *(undefined1 *)(param_1 + 0xd0) = 0; + FUN_140059380((undefined1 *)(param_1 + 0xd4)); + puVar5 = param_1; + FUN_140092b00((undefined2 *)(param_1 + 0xe0),param_1); + param_1[0xea] = 0; + param_1[0xec] = 0; + puVar2 = operator_new(0x140); + puVar3 = puVar4; + if (puVar2 != (undefined1 *)0x0) { + local_50 = Proud::AddrPort::vftable; + local_48 = *(undefined4 *)(param_4 + 1); + local_44 = *(undefined2 *)((longlong)param_4 + 0xc); + pppuVar7 = &local_50; + puVar5 = param_1 + 0x14; + puVar3 = FUN_140090dc0(puVar2,puVar5,param_3,(longlong)pppuVar7); + lVar6 = param_3; + } + param_1[0xe9] = puVar3; + *(undefined4 *)(param_1 + 0xed) = 0; + param_1[0x31] = 0; + param_1[0x32] = 0; + param_1[0x2c] = 0; + uVar8 = (**(code **)(*(longlong *)(param_2 + 0x118) + 8))(); + param_1[0x35] = (double)DAT_14016f148; + *(undefined4 *)(param_1 + 0xdf) = 0; + *(undefined1 *)(param_1 + 0xd3) = 0; + *(undefined1 *)(param_1 + 0x46) = 0; + param_1[0x38] = 0; + param_1[0x39] = 0; + *(undefined4 *)(param_1 + 0x3d) = 0; + param_1[0x47] = param_2; + param_1[0xd2] = uVar8; + param_1[0x30] = uVar8; + param_1[0x33] = uVar8; + param_1[0x34] = uVar8; + param_1[0x37] = uVar8; + *(undefined4 *)((longlong)param_1 + 0x68a) = 0; + *(undefined1 *)(param_1 + 0xd1) = 0; + param_1[0x36] = 0; + param_1[0x3c] = 0; + param_1[0xeb] = 0; + param_1[0x3a] = 0; + param_1[0x3b] = 0; + param_1[0x44] = 0; + puVar3 = operator_new(0x20); + if (puVar3 != (undefined1 *)0x0) { + *(undefined8 *)(puVar3 + 0x18) = 0x3fe2e147ae147ae1; + *(undefined8 *)(puVar3 + 0x10) = 0; + *(undefined8 *)(puVar3 + 8) = 0; + *puVar3 = 0; + puVar4 = puVar3; + } + param_1[0xea] = puVar4; + FUN_1400dc820(param_1 + 0x4d,puVar5,lVar6,pppuVar7); + FUN_140090db0(param_1[0xe9],*(char *)(param_2 + 0x240)); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008b920.c b/decomp/AgentManager_Release_x64/full/functions/0x14008b920.c new file mode 100644 index 00000000..ed57b9b3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008b920.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008b920 FUN_14008b920 + * Pseudocode, not original source. */ + +undefined4 FUN_14008b920(longlong param_1) + +{ + return *(undefined4 *)(param_1 + 0x6f8); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008b930.c b/decomp/AgentManager_Release_x64/full/functions/0x14008b930.c new file mode 100644 index 00000000..1493de63 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008b930.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008b930 FUN_14008b930 + * Pseudocode, not original source. */ + +void FUN_14008b930(longlong param_1) + +{ + FUN_14008b920(param_1 + -8); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008b940.c b/decomp/AgentManager_Release_x64/full/functions/0x14008b940.c new file mode 100644 index 00000000..979a941d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008b940.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008b940 FUN_14008b940 + * Pseudocode, not original source. */ + +void FUN_14008b940(longlong param_1,ulonglong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_14008be10((longlong *)(param_1 + -0x38),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008b950.c b/decomp/AgentManager_Release_x64/full/functions/0x14008b950.c new file mode 100644 index 00000000..c64b1a28 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008b950.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008b950 FUN_14008b950 + * Pseudocode, not original source. */ + +void FUN_14008b950(longlong param_1,ulonglong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_14008be10((longlong *)(param_1 + -0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008b960.c b/decomp/AgentManager_Release_x64/full/functions/0x14008b960.c new file mode 100644 index 00000000..1aefc5e0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008b960.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008b960 FUN_14008b960 + * Pseudocode, not original source. */ + +void FUN_14008b960(longlong param_1,ulonglong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_14008be10((longlong *)(param_1 + -0xc0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008b970.c b/decomp/AgentManager_Release_x64/full/functions/0x14008b970.c new file mode 100644 index 00000000..4f2a762d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008b970.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008b970 FUN_14008b970 + * Pseudocode, not original source. */ + +void FUN_14008b970(void) + +{ + FUN_14004a1b0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008b980.c b/decomp/AgentManager_Release_x64/full/functions/0x14008b980.c new file mode 100644 index 00000000..f83054c5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008b980.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008b980 FUN_14008b980 + * Pseudocode, not original source. */ + +void FUN_14008b980(longlong param_1,ulonglong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_14008be10((longlong *)(param_1 + -8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008b990.c b/decomp/AgentManager_Release_x64/full/functions/0x14008b990.c new file mode 100644 index 00000000..ca2d8521 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008b990.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008b990 FUN_14008b990 + * Pseudocode, not original source. */ + +void FUN_14008b990(longlong param_1,ulonglong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_14008be10((longlong *)(param_1 + -0x108),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008b9a0.c b/decomp/AgentManager_Release_x64/full/functions/0x14008b9a0.c new file mode 100644 index 00000000..c611111a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008b9a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008b9a0 FUN_14008b9a0 + * Pseudocode, not original source. */ + +void FUN_14008b9a0(longlong param_1) + +{ + FUN_14008b920(param_1 + -0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008b9b0.c b/decomp/AgentManager_Release_x64/full/functions/0x14008b9b0.c new file mode 100644 index 00000000..4f5f13e1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008b9b0.c @@ -0,0 +1,109 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008b9b0 FUN_14008b9b0 + * Pseudocode, not original source. */ + +void FUN_14008b9b0(longlong *param_1,undefined8 param_2,longlong *param_3,undefined8 param_4) + +{ + void *pvVar1; + undefined8 *puVar2; + longlong lVar3; + longlong *plVar4; + longlong *plVar5; + longlong local_res10; + + *param_1 = (longlong)Proud::CRemoteClient_S::vftable; + param_1[1] = (longlong)Proud::CRemoteClient_S::vftable; + param_1[7] = (longlong)Proud::CRemoteClient_S::vftable; + param_1[8] = (longlong)Proud::CRemoteClient_S::vftable; + param_1[0x14] = (longlong)Proud::CRemoteClient_S::vftable; + param_1[0x18] = (longlong)Proud::CRemoteClient_S::vftable; + param_1[0x21] = (longlong)Proud::CRemoteClient_S::vftable; + FUN_14008b070((char *)(param_1 + 0xd4)); + if ((longlong *)param_1[0x24] != (longlong *)0x0) { + FUN_14004a9c0((longlong *)param_1[0x24],(longlong)param_1,param_3,param_4); + } + plVar4 = param_1 + 2; + if ((longlong *)param_1[4] != (longlong *)0x0) { + FUN_140079d50((longlong *)param_1[4],plVar4,param_3,param_4); + } + plVar5 = (longlong *)param_1[0xec]; + if ((plVar5 != (longlong *)0x0) && (*plVar5 != 0)) { + if (plVar5 == (longlong *)0x0) { + lVar3 = 0; + } + else { + lVar3 = *plVar5; + } + FUN_14008afe0((char *)(param_1[0x47] + 0x6f0),lVar3 + 0x158,'\0'); + param_3 = param_1 + 0xed; + if (0 < (int)*param_3) { + param_4 = 1; + FUN_140037f20(param_1[0x47] + 0x1848,*(int *)(param_1[0x47] + 0x1860),(longlong)param_3,1); + } + local_res10 = 0; + plVar4 = &local_res10; + FUN_14009d860(param_1 + 0xec,plVar4); + } + pvVar1 = (void *)param_1[0xe9]; + if (pvVar1 != (void *)0x0) { + FUN_140090e90((longlong)pvVar1,plVar4,param_3,param_4); + operator_delete(pvVar1); + } + FUN_140067850(param_1 + 0x4d,plVar4,param_3,param_4); + if ((param_1[0xec] != 0) && + (*(longlong *)(param_1[0xec] + 8) = *(longlong *)(param_1[0xec] + 8) + -1, + *(longlong *)(param_1[0xec] + 8) == 0)) { + plVar5 = (longlong *)param_1[0xec]; + puVar2 = (undefined8 *)*plVar5; + if (puVar2 != (undefined8 *)0x0) { + plVar4 = (longlong *)0x1; + (**(code **)*puVar2)(); + } + FUN_14003e8b0(plVar5); + } + if ((void *)param_1[0xea] != (void *)0x0) { + operator_delete((void *)param_1[0xea]); + } + FUN_140092bb0((longlong)(param_1 + 0xe0)); + FUN_14008b200((char *)(param_1 + 0xd4)); + FUN_140049e40(param_1 + 0xcb); + FUN_140067850(param_1 + 0x4d,plVar4,param_3,param_4); + if ((undefined8 *)param_1[0x4d] != (undefined8 *)0x0) { + plVar4 = (longlong *)0x1; + (*(code *)**(undefined8 **)param_1[0x4d])(); + } + param_1[0x48] = (longlong)Proud::CFastArray::vftable; + plVar5 = (longlong *)param_1[0x4a]; + if (plVar5 != (longlong *)0x0) { + param_3 = (longlong *)param_1[0x49]; + if (param_3 == (longlong *)0x0) { + FUN_14003e8b0(plVar5); + } + else { + (**(code **)(*param_3 + 0x18))(param_3); + plVar4 = plVar5; + } + } + pvVar1 = (void *)param_1[0x45]; + if (pvVar1 != (void *)0x0) { + FUN_140049e40((undefined8 *)((longlong)pvVar1 + 8)); + operator_delete(pvVar1); + } + FUN_140049e40(param_1 + 0x3f); + FUN_140002190(param_1 + 0x3e,plVar4,param_3,param_4); + FUN_14003d110((undefined4 *)(param_1 + 0x25),plVar4,param_3,param_4); + param_1[0x21] = (longlong)Proud::ISendIssueObject::vftable; + FUN_140091220(param_1 + 0x18); + param_1[8] = (longlong)Proud::CP2PGroupMemberBase_S::vftable; + FUN_1400675a0((char *)(param_1 + 9),plVar4,param_3,param_4); + if ((longlong *)param_1[0x24] != (longlong *)0x0) { + plVar4 = param_1; + FUN_14004a9c0((longlong *)param_1[0x24],(longlong)param_1,param_3,param_4); + } + param_1[7] = (longlong)Proud::ICompletionContext::vftable; + FUN_1400978a0(param_1 + 1,plVar4,param_3,param_4); + *param_1 = (longlong)Proud::ISendDest_S::vftable; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008bca0.c b/decomp/AgentManager_Release_x64/full/functions/0x14008bca0.c new file mode 100644 index 00000000..c8943ce0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008bca0.c @@ -0,0 +1,55 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008bca0 FUN_14008bca0 + * Pseudocode, not original source. */ + +void FUN_14008bca0(longlong param_1,undefined4 *param_2,SIZE_T param_3,undefined8 param_4) + +{ + undefined8 uVar1; + undefined8 *puVar2; + undefined4 local_128 [2]; + longlong local_120; + longlong local_118; + int local_10c; + undefined4 local_100 [58]; + + if ((*(longlong *)(param_1 + 0x238) != 0) && + (*(longlong *)(*(longlong *)(param_1 + 0x238) + 0x3e0) != 0)) { + FUN_140074fb0(local_128); + FUN_1400660e0(local_100,param_2,param_3,param_4); + uVar1 = *(undefined8 *)(param_1 + 0x278); + if (*(longlong **)(param_1 + 0x268) == (longlong *)0x0) { + puVar2 = (undefined8 *)FUN_14003e840(0x128); + } + else { + param_2 = (undefined4 *)0x128; + puVar2 = (undefined8 *)(**(code **)(**(longlong **)(param_1 + 0x268) + 8))(); + } + if (puVar2 != (undefined8 *)0x0) { + *(undefined4 *)(puVar2 + 2) = 0; + FUN_140074fe0((undefined4 *)(puVar2 + 3),local_128); + param_2 = local_100; + FUN_1400660e0((undefined4 *)(puVar2 + 8),param_2,param_3,param_4); + } + puVar2[1] = uVar1; + *puVar2 = 0; + *(longlong *)(param_1 + 0x280) = *(longlong *)(param_1 + 0x280) + 1; + if (*(undefined8 **)(param_1 + 0x278) == (undefined8 *)0x0) { + *(undefined8 **)(param_1 + 0x270) = puVar2; + } + else { + **(undefined8 **)(param_1 + 0x278) = puVar2; + } + *(undefined8 **)(param_1 + 0x278) = puVar2; + FUN_1400645f0((longlong)local_100,param_2,param_3,param_4); + FUN_14008a320(&local_120); + if ((local_118 != 0) && (local_10c < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + FUN_140097680(*(longlong *)(*(longlong *)(param_1 + 0x238) + 0x3e0) + 0x160,param_1 + 8,param_3, + param_4); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008be10.c b/decomp/AgentManager_Release_x64/full/functions/0x14008be10.c new file mode 100644 index 00000000..597664e2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008be10.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008be10 FUN_14008be10 + * Pseudocode, not original source. */ + +longlong * FUN_14008be10(longlong *param_1,ulonglong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_14008b9b0(param_1,param_2,param_3,param_4); + if ((param_2 & 1) != 0) { + FUN_14003e8b0(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008be40.c b/decomp/AgentManager_Release_x64/full/functions/0x14008be40.c new file mode 100644 index 00000000..fcfde903 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008be40.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008be40 FUN_14008be40 + * Pseudocode, not original source. */ + +undefined2 FUN_14008be40(undefined1 param_1,undefined1 param_2) + +{ + return CONCAT11(param_1,param_2); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008be50.c b/decomp/AgentManager_Release_x64/full/functions/0x14008be50.c new file mode 100644 index 00000000..9529ae3f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008be50.c @@ -0,0 +1,50 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008be50 FUN_14008be50 + * Pseudocode, not original source. */ + +void FUN_14008be50(longlong *param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong *plVar1; + longlong lVar2; + exception local_58 [88]; + + if ((longlong *)param_2[2] != param_1) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_CListNode_reports_a_consistency_p_14016f4a0, + L"Proud::CListNode::CListOwner::Erase",param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + plVar1 = (longlong *)param_2[1]; + lVar2 = *param_2; + if (plVar1 != (longlong *)0x0) { + *plVar1 = lVar2; + } + if (lVar2 != 0) { + *(longlong **)(lVar2 + 8) = plVar1; + } + if (plVar1 == (longlong *)0x0) { + if ((longlong *)param_1[1] != param_2) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_CListNode_reports_a_consistency_p_14016f4a0, + L"Proud::CListNode::CListOwner::Erase",param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + param_1[1] = lVar2; + } + if (lVar2 == 0) { + if ((longlong *)*param_1 != param_2) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_CListNode_reports_a_consistency_p_14016f4a0, + L"Proud::CListNode::CListOwner::Erase",param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + *param_1 = (longlong)plVar1; + } + *param_2 = 0; + param_2[1] = 0; + param_2[2] = 0; + *(int *)(param_1 + 2) = (int)param_1[2] + -1; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008bf30.c b/decomp/AgentManager_Release_x64/full/functions/0x14008bf30.c new file mode 100644 index 00000000..cc673f72 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008bf30.c @@ -0,0 +1,53 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008bf30 FUN_14008bf30 + * Pseudocode, not original source. */ + +void FUN_14008bf30(longlong *param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong *plVar1; + longlong lVar2; + exception local_58 [88]; + + if ((longlong *)param_2[2] != param_1) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_CListNode_reports_a_consistency_p_14016f4a0, + L"Proud::CListNode::CListOwner::Erase" + ,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + plVar1 = (longlong *)param_2[1]; + lVar2 = *param_2; + if (plVar1 != (longlong *)0x0) { + *plVar1 = lVar2; + } + if (lVar2 != 0) { + *(longlong **)(lVar2 + 8) = plVar1; + } + if (plVar1 == (longlong *)0x0) { + if ((longlong *)param_1[1] != param_2) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_CListNode_reports_a_consistency_p_14016f4a0, + L"Proud::CListNode::CListOwner::Erase" + ,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + param_1[1] = lVar2; + } + if (lVar2 == 0) { + if ((longlong *)*param_1 != param_2) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_CListNode_reports_a_consistency_p_14016f4a0, + L"Proud::CListNode::CListOwner::Erase" + ,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + *param_1 = (longlong)plVar1; + } + *param_2 = 0; + param_2[1] = 0; + param_2[2] = 0; + *(int *)(param_1 + 2) = (int)param_1[2] + -1; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008c010.c b/decomp/AgentManager_Release_x64/full/functions/0x14008c010.c new file mode 100644 index 00000000..b8118854 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008c010.c @@ -0,0 +1,54 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008c010 FUN_14008c010 + * Pseudocode, not original source. */ + +int FUN_14008c010(longlong param_1,int param_2) + +{ + uint uVar1; + int iVar2; + uint uVar3; + int iVar4; + + iVar4 = *(int *)(param_1 + 0x24); + if (iVar4 == 0) { + iVar2 = (int)(*(int *)(param_1 + 0x18) + (*(int *)(param_1 + 0x18) >> 0x1f & 7U)) >> 3; + iVar4 = 0x400; + if (iVar2 < 0x400) { + iVar4 = iVar2; + } + iVar2 = 4; + if (4 < iVar4) { + iVar2 = iVar4; + } + iVar4 = iVar2 + param_2; + if (iVar2 + param_2 < *(int *)(param_1 + 0x20)) { + iVar4 = *(int *)(param_1 + 0x20); + } + return iVar4; + } + if (iVar4 != 1) { + if (iVar4 != 2) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (param_2 < *(int *)(param_1 + 0x20)) { + param_2 = *(int *)(param_1 + 0x20); + } + return param_2; + } + uVar1 = (int)(*(int *)(param_1 + 0x18) + (*(int *)(param_1 + 0x18) >> 0x1f & 7U)) >> 3; + uVar3 = 0x10; + if (0x10 < (int)uVar1) { + uVar3 = uVar1; + } + if (uVar3 < 9) { + uVar3 = 8; + } + iVar4 = uVar3 + param_2; + if ((int)(uVar3 + param_2) < *(int *)(param_1 + 0x20)) { + iVar4 = *(int *)(param_1 + 0x20); + } + return iVar4; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008c0b0.c b/decomp/AgentManager_Release_x64/full/functions/0x14008c0b0.c new file mode 100644 index 00000000..a20744f7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008c0b0.c @@ -0,0 +1,23 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008c0b0 FUN_14008c0b0 + * Pseudocode, not original source. */ + +bool FUN_14008c0b0(longlong param_1,double param_2) + +{ + ulonglong uVar1; + + if (*(int *)(param_1 + 0x158) + *(int *)(param_1 + 0x140) + *(int *)(param_1 + 0x120) + + *(int *)(param_1 + 0x108) + *(int *)(param_1 + 0xe8) + *(int *)(param_1 + 0xd0) + + *(int *)(param_1 + 0xb0) + *(int *)(param_1 + 0x98) + *(int *)(param_1 + 0x78) + + *(int *)(param_1 + 0x60) + *(int *)(param_1 + 0x40) + *(int *)(param_1 + 0x28) + + *(int *)(param_1 + 0x1b0) == 0) { + return false; + } + if (*(char *)(*(longlong *)(param_1 + 400) + 0x88) == '\0') { + return true; + } + uVar1 = FUN_1400b70a0((double *)(param_1 + 0x1d8),param_2,*(double *)(param_1 + 0x208)); + return (char)uVar1 == '\0'; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008c150.c b/decomp/AgentManager_Release_x64/full/functions/0x14008c150.c new file mode 100644 index 00000000..28e25803 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008c150.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008c150 FUN_14008c150 + * Pseudocode, not original source. */ + +void FUN_14008c150(longlong *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + if ((longlong *)param_1[2] != (longlong *)0x0) { + FUN_14008be50((longlong *)param_1[2],param_1,param_3,param_4); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008c170.c b/decomp/AgentManager_Release_x64/full/functions/0x14008c170.c new file mode 100644 index 00000000..ee619392 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008c170.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008c170 FUN_14008c170 + * Pseudocode, not original source. */ + +void FUN_14008c170(longlong *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + if ((longlong *)param_1[2] != (longlong *)0x0) { + FUN_14008bf30((longlong *)param_1[2],param_1,param_3,param_4); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008c190.c b/decomp/AgentManager_Release_x64/full/functions/0x14008c190.c new file mode 100644 index 00000000..24db422b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008c190.c @@ -0,0 +1,23 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008c190 FUN_14008c190 + * Pseudocode, not original source. */ + +void FUN_14008c190(longlong *param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + if (param_2[2] != 0) { + FUN_14008be50(param_1,param_2,param_3,param_4); + } + if (param_1[1] == 0) { + *param_1 = (longlong)param_2; + } + else { + *(longlong **)(param_1[1] + 8) = param_2; + *param_2 = param_1[1]; + } + param_1[1] = (longlong)param_2; + param_2[2] = (longlong)param_1; + *(int *)(param_1 + 2) = (int)param_1[2] + 1; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008c1e0.c b/decomp/AgentManager_Release_x64/full/functions/0x14008c1e0.c new file mode 100644 index 00000000..39d1160b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008c1e0.c @@ -0,0 +1,20 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008c1e0 FUN_14008c1e0 + * Pseudocode, not original source. */ + +void FUN_14008c1e0(undefined8 *param_1) + +{ + *param_1 = Proud::CFastArray::vftable; + if ((LPVOID)param_1[2] != (LPVOID)0x0) { + if ((longlong *)param_1[1] != (longlong *)0x0) { + /* WARNING: Could not recover jumptable at 0x00014008c207. Too many branches */ + /* WARNING: Treating indirect jump as call */ + (**(code **)(*(longlong *)param_1[1] + 0x18))(); + return; + } + FUN_14003e8b0((LPVOID)param_1[2]); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008c220.c b/decomp/AgentManager_Release_x64/full/functions/0x14008c220.c new file mode 100644 index 00000000..110f7789 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008c220.c @@ -0,0 +1,23 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008c220 FUN_14008c220 + * Pseudocode, not original source. */ + +void FUN_14008c220(longlong *param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + if (param_2[2] != 0) { + FUN_14008bf30(param_1,param_2,param_3,param_4); + } + if (param_1[1] == 0) { + *param_1 = (longlong)param_2; + } + else { + *(longlong **)(param_1[1] + 8) = param_2; + *param_2 = param_1[1]; + } + param_1[1] = (longlong)param_2; + param_2[2] = (longlong)param_1; + *(int *)(param_1 + 2) = (int)param_1[2] + 1; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008c270.c b/decomp/AgentManager_Release_x64/full/functions/0x14008c270.c new file mode 100644 index 00000000..5618f895 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008c270.c @@ -0,0 +1,20 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008c270 FUN_14008c270 + * Pseudocode, not original source. */ + +void FUN_14008c270(undefined8 *param_1) + +{ + *param_1 = Proud::CFastArray::vftable; + if ((LPVOID)param_1[2] != (LPVOID)0x0) { + if ((longlong *)param_1[1] != (longlong *)0x0) { + /* WARNING: Could not recover jumptable at 0x00014008c297. Too many branches */ + /* WARNING: Treating indirect jump as call */ + (**(code **)(*(longlong *)param_1[1] + 0x18))(); + return; + } + FUN_14003e8b0((LPVOID)param_1[2]); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008c2b0.c b/decomp/AgentManager_Release_x64/full/functions/0x14008c2b0.c new file mode 100644 index 00000000..53d7c361 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008c2b0.c @@ -0,0 +1,25 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008c2b0 FUN_14008c2b0 + * Pseudocode, not original source. */ + +longlong FUN_14008c2b0(longlong param_1,longlong param_2) + +{ + ulonglong uVar1; + longlong lVar2; + + uVar1 = (ulonglong)((uint)*(ushort *)(param_2 + 0xc) ^ *(uint *)(param_2 + 8)) % + (ulonglong)*(uint *)(param_1 + 0x28); + if (*(longlong *)(param_1 + 8) != 0) { + for (lVar2 = *(longlong *)(*(longlong *)(param_1 + 8) + uVar1 * 8); + (lVar2 != 0 && ((uint)uVar1 == *(uint *)(lVar2 + 0x28) % *(uint *)(param_1 + 0x28))); + lVar2 = *(longlong *)(lVar2 + 0x18)) { + if ((*(uint *)(lVar2 + 8) == *(uint *)(param_2 + 8)) && + (*(ushort *)(lVar2 + 0xc) == *(ushort *)(param_2 + 0xc))) { + return lVar2; + } + } + } + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008c310.c b/decomp/AgentManager_Release_x64/full/functions/0x14008c310.c new file mode 100644 index 00000000..b0f98b63 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008c310.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008c310 FUN_14008c310 + * Pseudocode, not original source. */ + +undefined8 * FUN_14008c310(undefined8 *param_1,uint param_2) + +{ + *param_1 = Proud::CFastArray::vftable; + if ((LPVOID)param_1[2] != (LPVOID)0x0) { + if ((longlong *)param_1[1] == (longlong *)0x0) { + FUN_14003e8b0((LPVOID)param_1[2]); + } + else { + (**(code **)(*(longlong *)param_1[1] + 0x18))(); + } + } + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008c370.c b/decomp/AgentManager_Release_x64/full/functions/0x14008c370.c new file mode 100644 index 00000000..7b7fccd9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008c370.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008c370 FUN_14008c370 + * Pseudocode, not original source. */ + +undefined8 * FUN_14008c370(undefined8 *param_1,uint param_2) + +{ + *param_1 = Proud::CFastArray::vftable; + if ((LPVOID)param_1[2] != (LPVOID)0x0) { + if ((longlong *)param_1[1] == (longlong *)0x0) { + FUN_14003e8b0((LPVOID)param_1[2]); + } + else { + (**(code **)(*(longlong *)param_1[1] + 0x18))(); + } + } + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008c3d0.c b/decomp/AgentManager_Release_x64/full/functions/0x14008c3d0.c new file mode 100644 index 00000000..346bdbc0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008c3d0.c @@ -0,0 +1,79 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008c3d0 FUN_14008c3d0 + * Pseudocode, not original source. */ + +void FUN_14008c3d0(undefined8 *param_1,longlong param_2,longlong param_3) + +{ + longlong lVar1; + undefined8 *puVar2; + undefined8 *puVar3; + longlong lVar4; + undefined8 *puVar5; + longlong lVar6; + + if (param_2 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (-1 < param_3) { + param_1[3] = param_3; + } + if (param_2 == 0) { + if ((100 < (ulonglong)param_1[2]) && ((void *)*param_1 != (void *)0x0)) { + operator_delete__((void *)*param_1); + *param_1 = 0; + } + param_1[2] = 100; + param_1[1] = 0; + return; + } + lVar4 = param_1[2]; + if (param_2 <= lVar4) { + param_1[1] = param_2; + return; + } + lVar1 = param_1[3]; + if (lVar1 == 0) { + lVar1 = (longlong)(param_1[1] + (ulonglong)((uint)((longlong)param_1[1] >> 0x3f) & 7)) >> 3; + if (lVar1 < 4) { + lVar1 = 4; + } + else if (0x400 < lVar1) { + lVar1 = 0x400; + } + } + lVar6 = param_2; + if (param_2 < lVar1 + lVar4) { + lVar6 = lVar1 + lVar4; + } + if (lVar6 < lVar4) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + puVar2 = operator_new(lVar6 << 4); + puVar5 = param_1 + 4; + if (100 < (ulonglong)param_1[2]) { + puVar5 = (undefined8 *)*param_1; + } + lVar4 = param_1[1]; + if (0 < lVar4) { + puVar3 = puVar2; + do { + lVar4 = lVar4 + -1; + *puVar3 = *(undefined8 *)(((longlong)puVar5 - (longlong)puVar2) + (longlong)puVar3); + puVar3[1] = *(undefined8 *) + (((longlong)puVar5 - (longlong)puVar2) + -8 + (longlong)(puVar3 + 2)); + puVar3 = puVar3 + 2; + } while (lVar4 != 0); + } + memset(puVar2 + param_1[1] * 2,0,(param_2 - param_1[1]) * 0x10); + if (100 < (ulonglong)param_1[2]) { + operator_delete__(puVar5); + } + *param_1 = puVar2; + param_1[2] = lVar6; + param_1[1] = param_2; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008c540.c b/decomp/AgentManager_Release_x64/full/functions/0x14008c540.c new file mode 100644 index 00000000..cd00ec76 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008c540.c @@ -0,0 +1,57 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008c540 FUN_14008c540 + * Pseudocode, not original source. */ + +void FUN_14008c540(longlong *param_1) + +{ + longlong lVar1; + longlong *plVar2; + longlong *plVar3; + exception local_58 [88]; + + lVar1 = *param_1; + while( true ) { + if (lVar1 == 0) { + return; + } + plVar2 = (longlong *)*param_1; + if ((longlong *)plVar2[2] != param_1) break; + plVar3 = (longlong *)plVar2[1]; + lVar1 = *plVar2; + if (plVar3 != (longlong *)0x0) { + *plVar3 = lVar1; + } + if (lVar1 != 0) { + *(longlong **)(lVar1 + 8) = plVar3; + } + if (plVar3 == (longlong *)0x0) { + if ((longlong *)param_1[1] != plVar2) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_CListNode_reports_a_consistency_p_14016f4a0, + L"Proud::CListNode::CListOwner::Erase",0); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + param_1[1] = lVar1; + } + if (lVar1 == 0) { + if ((longlong *)*param_1 != plVar2) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_CListNode_reports_a_consistency_p_14016f4a0, + L"Proud::CListNode::CListOwner::Erase",0); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + *param_1 = (longlong)plVar3; + } + *plVar2 = 0; + plVar2[1] = 0; + plVar2[2] = 0; + *(int *)(param_1 + 2) = (int)param_1[2] + -1; + lVar1 = *param_1; + } + FUN_14003db10(local_58,(wchar_t *)PTR_u_CListNode_reports_a_consistency_p_14016f4a0, + L"Proud::CListNode::CListOwner::Erase",0); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008c630.c b/decomp/AgentManager_Release_x64/full/functions/0x14008c630.c new file mode 100644 index 00000000..baa31350 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008c630.c @@ -0,0 +1,53 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008c630 FUN_14008c630 + * Pseudocode, not original source. */ + +void FUN_14008c630(longlong param_1,int param_2,longlong param_3) + +{ + longlong *plVar1; + int iVar2; + longlong lVar3; + undefined8 uVar4; + exception local_58 [80]; + + if (param_2 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (param_2 != *(int *)(param_1 + 0x18)) { + if (*(int *)(param_1 + 0x1c) < param_2) { + iVar2 = FUN_14008c010(param_1,param_2); + plVar1 = *(longlong **)(param_1 + 8); + lVar3 = (longlong)iVar2; + if (*(int *)(param_1 + 0x1c) == 0) { + if (plVar1 == (longlong *)0x0) { + lVar3 = FUN_14003e840(lVar3 << 3); + } + else { + lVar3 = (**(code **)(*plVar1 + 8))(plVar1,lVar3 << 3); + } + } + else { + uVar4 = *(undefined8 *)(param_1 + 0x10); + if (plVar1 == (longlong *)0x0) { + lVar3 = FUN_14003e870(uVar4,lVar3 << 3); + } + else { + param_3 = lVar3 << 3; + lVar3 = (**(code **)(*plVar1 + 0x10))(plVar1,uVar4); + } + if (lVar3 == 0) { + FUN_14003db10(local_58,L"Memory allocation failure!",param_3,uVar4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + } + *(longlong *)(param_1 + 0x10) = lVar3; + *(int *)(param_1 + 0x1c) = iVar2; + } + *(int *)(param_1 + 0x18) = param_2; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008c700.c b/decomp/AgentManager_Release_x64/full/functions/0x14008c700.c new file mode 100644 index 00000000..fc0255c5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008c700.c @@ -0,0 +1,60 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008c700 FUN_14008c700 + * Pseudocode, not original source. */ + +void FUN_14008c700(longlong *param_1) + +{ + longlong lVar1; + longlong *plVar2; + longlong *plVar3; + exception local_58 [88]; + + lVar1 = *param_1; + while( true ) { + if (lVar1 == 0) { + return; + } + plVar2 = (longlong *)*param_1; + if ((longlong *)plVar2[2] != param_1) break; + plVar3 = (longlong *)plVar2[1]; + lVar1 = *plVar2; + if (plVar3 != (longlong *)0x0) { + *plVar3 = lVar1; + } + if (lVar1 != 0) { + *(longlong **)(lVar1 + 8) = plVar3; + } + if (plVar3 == (longlong *)0x0) { + if ((longlong *)param_1[1] != plVar2) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_CListNode_reports_a_consistency_p_14016f4a0, + L"Proud::CListNode::CListOwner::Erase" + ,0); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + param_1[1] = lVar1; + } + if (lVar1 == 0) { + if ((longlong *)*param_1 != plVar2) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_CListNode_reports_a_consistency_p_14016f4a0, + L"Proud::CListNode::CListOwner::Erase" + ,0); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + *param_1 = (longlong)plVar3; + } + *plVar2 = 0; + plVar2[1] = 0; + plVar2[2] = 0; + *(int *)(param_1 + 2) = (int)param_1[2] + -1; + lVar1 = *param_1; + } + FUN_14003db10(local_58,(wchar_t *)PTR_u_CListNode_reports_a_consistency_p_14016f4a0, + L"Proud::CListNode::CListOwner::Erase" + ,0); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008c7f0.c b/decomp/AgentManager_Release_x64/full/functions/0x14008c7f0.c new file mode 100644 index 00000000..d9ddd1f3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008c7f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008c7f0 FUN_14008c7f0 + * Pseudocode, not original source. */ + +void FUN_14008c7f0(longlong param_1) + +{ + FUN_14004c640(param_1 + 0x20,3,'\x01'); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008c810.c b/decomp/AgentManager_Release_x64/full/functions/0x14008c810.c new file mode 100644 index 00000000..cc964af9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008c810.c @@ -0,0 +1,31 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008c810 FUN_14008c810 + * Pseudocode, not original source. */ + +void FUN_14008c810(longlong *param_1,longlong *param_2,double param_3,undefined8 param_4) + +{ + bool bVar1; + undefined8 in_R8; + + if (param_2[2] == 0) { + bVar1 = FUN_14008c0b0((longlong)param_2,param_3); + if (bVar1) { + if (param_2[2] != 0) { + FUN_14008bf30(param_1,param_2,in_R8,param_4); + } + if (param_1[1] == 0) { + *param_1 = (longlong)param_2; + } + else { + *(longlong **)(param_1[1] + 8) = param_2; + *param_2 = param_1[1]; + } + param_1[1] = (longlong)param_2; + param_2[2] = (longlong)param_1; + *(int *)(param_1 + 2) = (int)param_1[2] + 1; + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008c880.c b/decomp/AgentManager_Release_x64/full/functions/0x14008c880.c new file mode 100644 index 00000000..1fdc3f72 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008c880.c @@ -0,0 +1,37 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008c880 FUN_14008c880 + * Pseudocode, not original source. */ + +int FUN_14008c880(longlong param_1,ulonglong param_2) + +{ + longlong lVar1; + ulonglong uVar2; + longlong *plVar3; + int iVar4; + + iVar4 = 0; + plVar3 = (longlong *)(param_1 + 0x18); + uVar2 = 0; + do { + if (5 < uVar2) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(param_1,param_2,uVar2,plVar3); + } + param_2 = 0; + for (lVar1 = *plVar3; lVar1 != 0; lVar1 = *(longlong *)(lVar1 + 8)) { + param_2 = (ulonglong)(uint)((int)param_2 + *(int *)(lVar1 + 0x30)); + } + for (lVar1 = plVar3[3]; lVar1 != 0; lVar1 = *(longlong *)(lVar1 + 8)) { + param_2 = (ulonglong)(uint)((int)param_2 + *(int *)(lVar1 + 0x30)); + } + uVar2 = uVar2 + 1; + iVar4 = iVar4 + (int)param_2; + plVar3 = plVar3 + 7; + } while ((longlong)uVar2 < 6); + if (0 < *(int *)(param_1 + 0x1c0)) { + iVar4 = iVar4 + (*(int *)(param_1 + 0x1c0) - *(int *)(param_1 + 0x1c8)); + } + return iVar4; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008c900.c b/decomp/AgentManager_Release_x64/full/functions/0x14008c900.c new file mode 100644 index 00000000..f29472e0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008c900.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008c900 FUN_14008c900 + * Pseudocode, not original source. */ + +ulonglong FUN_14008c900(longlong param_1,longlong param_2) + +{ + uint uVar1; + ulonglong uVar2; + ulonglong uVar3; + longlong lVar4; + + uVar1 = *(uint *)(param_1 + 0x30); + uVar2 = (ulonglong)((uint)*(ushort *)(param_2 + 0xc) ^ *(uint *)(param_2 + 8)); + uVar3 = uVar2 / uVar1; + uVar2 = uVar2 % (ulonglong)uVar1; + if (*(longlong *)(param_1 + 0x10) != 0) { + for (lVar4 = *(longlong *)(*(longlong *)(param_1 + 0x10) + uVar2 * 8); + (lVar4 != 0 && + (uVar3 = (ulonglong)*(uint *)(lVar4 + 0x28) / (ulonglong)uVar1, + (uint)uVar2 == *(uint *)(lVar4 + 0x28) % uVar1)); lVar4 = *(longlong *)(lVar4 + 0x18)) { + if ((*(uint *)(lVar4 + 8) == *(uint *)(param_2 + 8)) && + (*(ushort *)(lVar4 + 0xc) == *(ushort *)(param_2 + 0xc))) { + return *(ulonglong *)(lVar4 + 0x10); + } + } + } + return uVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008c980.c b/decomp/AgentManager_Release_x64/full/functions/0x14008c980.c new file mode 100644 index 00000000..94e5762c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008c980.c @@ -0,0 +1,28 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008c980 FUN_14008c980 + * Pseudocode, not original source. */ + +void FUN_14008c980(char *param_1,LPVOID param_2,char param_3) + +{ + uint uVar1; + + if (param_2 == (LPVOID)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + if (*(longlong **)(param_1 + 0x50) == (longlong *)0x0) { + FUN_14003e8b0(param_2); + } + else { + (**(code **)(**(longlong **)(param_1 + 0x50) + 0x18))(); + } + *(longlong *)(param_1 + 0x20) = *(longlong *)(param_1 + 0x20) + -1; + if (((param_3 != '\0') && (*(ulonglong *)(param_1 + 0x20) < *(ulonglong *)(param_1 + 0x40))) && + (*(int *)(param_1 + 0x48) == 0)) { + uVar1 = FUN_14009b970((longlong)param_1,*(ulonglong *)(param_1 + 0x20)); + FUN_14004cdb0(param_1,uVar1); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008c9f0.c b/decomp/AgentManager_Release_x64/full/functions/0x14008c9f0.c new file mode 100644 index 00000000..3da7b2a9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008c9f0.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008c9f0 FUN_14008c9f0 + * Pseudocode, not original source. */ + +int FUN_14008c9f0(longlong param_1,longlong param_2) + +{ + ulonglong uVar1; + longlong lVar2; + + uVar1 = (ulonglong)((uint)*(ushort *)(param_2 + 0xc) ^ *(uint *)(param_2 + 8)) % + (ulonglong)*(uint *)(param_1 + 0x48); + if (*(longlong *)(param_1 + 0x28) != 0) { + for (lVar2 = *(longlong *)(*(longlong *)(param_1 + 0x28) + uVar1 * 8); + (lVar2 != 0 && ((uint)uVar1 == *(uint *)(lVar2 + 0x28) % *(uint *)(param_1 + 0x48))); + lVar2 = *(longlong *)(lVar2 + 0x18)) { + if ((*(uint *)(lVar2 + 8) == *(uint *)(param_2 + 8)) && + (*(ushort *)(lVar2 + 0xc) == *(ushort *)(param_2 + 0xc))) { + lVar2 = *(longlong *)(lVar2 + 0x10); + return *(int *)(lVar2 + 0x1b0) + + *(int *)(lVar2 + 0x158) + *(int *)(lVar2 + 0x140) + *(int *)(lVar2 + 0x120) + + *(int *)(lVar2 + 0x108) + *(int *)(lVar2 + 0xe8) + *(int *)(lVar2 + 0xd0) + + *(int *)(lVar2 + 0xb0) + *(int *)(lVar2 + 0x98) + *(int *)(lVar2 + 0x78) + + *(int *)(lVar2 + 0x60) + *(int *)(lVar2 + 0x40) + *(int *)(lVar2 + 0x28); + } + } + } + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008ca90.c b/decomp/AgentManager_Release_x64/full/functions/0x14008ca90.c new file mode 100644 index 00000000..ab51ed20 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008ca90.c @@ -0,0 +1,36 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008ca90 FUN_14008ca90 + * Pseudocode, not original source. */ + +ulonglong FUN_14008ca90(longlong param_1,longlong param_2,undefined8 param_3) + +{ + uint uVar1; + ulonglong uVar2; + ulonglong uVar3; + longlong lVar4; + + uVar1 = *(uint *)(param_1 + 0x48); + uVar2 = (ulonglong)((uint)*(ushort *)(param_2 + 0xc) ^ *(uint *)(param_2 + 8)); + uVar3 = uVar2 / uVar1; + uVar2 = uVar2 % (ulonglong)uVar1; + if (*(longlong *)(param_1 + 0x28) != 0) { + lVar4 = *(longlong *)(*(longlong *)(param_1 + 0x28) + uVar2 * 8); + while( true ) { + if (lVar4 == 0) { + return uVar3; + } + uVar3 = (ulonglong)*(uint *)(lVar4 + 0x28) / (ulonglong)uVar1; + if ((uint)uVar2 != *(uint *)(lVar4 + 0x28) % uVar1) { + return uVar3; + } + if ((*(uint *)(lVar4 + 8) == *(uint *)(param_2 + 8)) && + (*(ushort *)(lVar4 + 0xc) == *(ushort *)(param_2 + 0xc))) break; + lVar4 = *(longlong *)(lVar4 + 0x18); + } + uVar3 = *(ulonglong *)(lVar4 + 0x10); + *(undefined8 *)(uVar3 + 0x210) = param_3; + } + return uVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008caf0.c b/decomp/AgentManager_Release_x64/full/functions/0x14008caf0.c new file mode 100644 index 00000000..a94aa67d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008caf0.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008caf0 FUN_14008caf0 + * Pseudocode, not original source. */ + +int FUN_14008caf0(longlong param_1,longlong param_2) + +{ + ulonglong uVar1; + ulonglong uVar2; + int iVar3; + longlong lVar4; + + uVar1 = (ulonglong)((uint)*(ushort *)(param_2 + 0xc) ^ *(uint *)(param_2 + 8)) % + (ulonglong)*(uint *)(param_1 + 0x48); + if (*(longlong *)(param_1 + 0x28) != 0) { + lVar4 = *(longlong *)(*(longlong *)(param_1 + 0x28) + uVar1 * 8); + while ((lVar4 != 0 && + (uVar2 = (ulonglong)*(uint *)(lVar4 + 0x28) % (ulonglong)*(uint *)(param_1 + 0x48), + (int)uVar1 == (int)uVar2))) { + if ((*(uint *)(lVar4 + 8) == *(uint *)(param_2 + 8)) && + (*(ushort *)(lVar4 + 0xc) == *(ushort *)(param_2 + 0xc))) { + iVar3 = FUN_14008c880(*(longlong *)(lVar4 + 0x10),uVar2); + return iVar3; + } + lVar4 = *(longlong *)(lVar4 + 0x18); + } + } + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008cb70.c b/decomp/AgentManager_Release_x64/full/functions/0x14008cb70.c new file mode 100644 index 00000000..f8e9668d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008cb70.c @@ -0,0 +1,41 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008cb70 FUN_14008cb70 + * Pseudocode, not original source. */ + +void FUN_14008cb70(short *param_1) + +{ + int iVar1; + longlong lVar2; + longlong lVar3; + short *psVar4; + ulonglong uVar5; + ulonglong uVar6; + + iVar1 = *(int *)(param_1 + 0xd8); + uVar5 = 0; + psVar4 = param_1; + uVar6 = uVar5; + if (0 < (longlong)iVar1) { + do { + if (((longlong)uVar5 < 0) || (*(int *)(param_1 + 0xd8) <= (int)uVar6)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(psVar4,uVar5,uVar6,param_1); + } + lVar2 = *(longlong *)(param_1 + 200); + lVar3 = *(longlong *)(*(longlong *)(param_1 + 0xd4) + uVar5 * 8); + psVar4 = (short *)(lVar3 + -8); + if ((*psVar4 != 0x1de6) || (*(longlong *)(lVar3 + 0x50) != 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + uVar5 = uVar5 + 1; + uVar6 = (ulonglong)((int)uVar6 + 1); + *(undefined8 *)(lVar3 + 0x50) = *(undefined8 *)(lVar2 + 0x80); + *(short **)(lVar2 + 0x80) = psVar4; + } while ((longlong)uVar5 < (longlong)iVar1); + } + FUN_14008c630((longlong)(param_1 + 0xcc),0,uVar6); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008cc00.c b/decomp/AgentManager_Release_x64/full/functions/0x14008cc00.c new file mode 100644 index 00000000..8301ae7a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008cc00.c @@ -0,0 +1,44 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008cc00 FUN_14008cc00 + * Pseudocode, not original source. */ + +void FUN_14008cc00(longlong *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong lVar1; + longlong *plVar2; + + plVar2 = (longlong *)*param_1; + while( true ) { + if (plVar2 == (longlong *)0x0) { + while( true ) { + plVar2 = (longlong *)param_1[3]; + if (plVar2 == (longlong *)0x0) { + FUN_14008c540(param_1 + 3); + FUN_14008c540(param_1); + return; + } + if ((longlong *)plVar2[2] != (longlong *)0x0) { + FUN_14008be50((longlong *)plVar2[2],plVar2,param_3,param_4); + } + lVar1 = *(longlong *)(param_1[6] + 400); + if (((short)plVar2[-1] != 0x1de6) || (plVar2[10] != 0)) break; + plVar2[10] = *(longlong *)(lVar1 + 0x80); + *(longlong **)(lVar1 + 0x80) = plVar2 + -1; + } + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if ((longlong *)plVar2[2] != (longlong *)0x0) { + FUN_14008be50((longlong *)plVar2[2],plVar2,param_3,param_4); + } + lVar1 = *(longlong *)(param_1[6] + 400); + if (((short)plVar2[-1] != 0x1de6) || (plVar2[10] != 0)) break; + plVar2[10] = *(longlong *)(lVar1 + 0x80); + *(longlong **)(lVar1 + 0x80) = plVar2 + -1; + plVar2 = (longlong *)*param_1; + } + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008ccf0.c b/decomp/AgentManager_Release_x64/full/functions/0x14008ccf0.c new file mode 100644 index 00000000..8f643206 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008ccf0.c @@ -0,0 +1,48 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008ccf0 FUN_14008ccf0 + * Pseudocode, not original source. */ + +void FUN_14008ccf0(undefined8 *param_1,undefined8 param_2,longlong param_3) + +{ + int iVar1; + longlong lVar2; + longlong lVar3; + + if (param_1[0xce] != 0) { + iVar1 = *(int *)(param_1 + 0xd2); + param_3 = 0; + if (0 < (longlong)iVar1) { + do { + if (*(int *)(param_1 + 0xd2) == 0) { + lVar3 = 0; + } + else { + lVar3 = param_1[0xd1]; + } + lVar3 = *(longlong *)(lVar3 + param_3 * 8); + lVar2 = param_1[0xce]; + if ((*(short *)(lVar3 + -8) != 0x1de6) || (*(longlong *)(lVar3 + 0x50) != 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + param_3 = param_3 + 1; + *(undefined8 *)(lVar3 + 0x50) = *(undefined8 *)(lVar2 + 0x80); + *(short **)(lVar2 + 0x80) = (short *)(lVar3 + -8); + } while (param_3 < iVar1); + } + } + FUN_14008c630((longlong)(param_1 + 0xcf),0,param_3); + if ((100 < (ulonglong)param_1[2]) && ((void *)*param_1 != (void *)0x0)) { + operator_delete__((void *)*param_1); + *param_1 = 0; + } + param_1[1] = 0; + param_1[2] = 100; + *(undefined4 *)(param_1 + 0xd5) = DAT_14016f3d0; + *(undefined2 *)((longlong)param_1 + 0x6ac) = DAT_14016f3d4; + param_1[0xce] = 0; + *(undefined4 *)(param_1 + 0xd6) = 0xffffffff; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008cdf0.c b/decomp/AgentManager_Release_x64/full/functions/0x14008cdf0.c new file mode 100644 index 00000000..704075f2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008cdf0.c @@ -0,0 +1,35 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008cdf0 FUN_14008cdf0 + * Pseudocode, not original source. */ + +undefined2 * FUN_14008cdf0(longlong *param_1) + +{ + longlong lVar1; + undefined2 *puVar2; + + lVar1 = *param_1; + if (lVar1 != 0) { + *param_1 = *(longlong *)(lVar1 + 0x58); + *(undefined8 *)(lVar1 + 0x58) = 0; + return (undefined2 *)(lVar1 + 8); + } + puVar2 = (undefined2 *)FUN_14003e840(0x60); + if (puVar2 != (undefined2 *)0x0) { + *(undefined8 *)(puVar2 + 4) = 0; + *(undefined8 *)(puVar2 + 8) = 0; + *(undefined8 *)(puVar2 + 0xc) = 0; + *(undefined8 *)(puVar2 + 0x14) = 0; + *(undefined8 *)(puVar2 + 0x18) = 0; + *(undefined8 *)(puVar2 + 0x1c) = 0; + *(undefined8 *)(puVar2 + 0x20) = 0; + *(undefined ***)(puVar2 + 0x10) = Proud::ByteArray::vftable; + *(undefined4 *)(puVar2 + 0x28) = 0xffffffff; + *(undefined4 *)(puVar2 + 0x2a) = 0; + *(undefined8 *)(puVar2 + 0x2c) = 0; + *puVar2 = 0x1de6; + return puVar2 + 4; + } + return (undefined2 *)0x8; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008ce80.c b/decomp/AgentManager_Release_x64/full/functions/0x14008ce80.c new file mode 100644 index 00000000..1002e803 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008ce80.c @@ -0,0 +1,37 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008ce80 FUN_14008ce80 + * Pseudocode, not original source. */ + +undefined2 * FUN_14008ce80(longlong *param_1) + +{ + longlong lVar1; + undefined2 *puVar2; + + lVar1 = *param_1; + if (lVar1 != 0) { + *param_1 = *(longlong *)(lVar1 + 0x68); + *(undefined8 *)(lVar1 + 0x68) = 0; + return (undefined2 *)(lVar1 + 8); + } + puVar2 = (undefined2 *)FUN_14003e840(0x70); + if (puVar2 != (undefined2 *)0x0) { + *(undefined ***)(puVar2 + 4) = Proud::CFastArray::vftable; + *(undefined8 *)(puVar2 + 8) = 0; + *(undefined8 *)(puVar2 + 0xc) = 0; + *(undefined8 *)(puVar2 + 0x10) = 0; + *(undefined8 *)(puVar2 + 0x14) = 0; + *(undefined ***)(puVar2 + 0x18) = Proud::CFastArray::vftable; + *(undefined8 *)(puVar2 + 0x1c) = 0; + *(undefined8 *)(puVar2 + 0x20) = 0; + *(undefined8 *)(puVar2 + 0x24) = 0; + *(undefined8 *)(puVar2 + 0x28) = 0; + *(undefined4 *)(puVar2 + 0x2c) = 0; + *(undefined8 *)(puVar2 + 0x30) = 0; + *puVar2 = 0x1de6; + *(undefined8 *)(puVar2 + 0x34) = 0; + return puVar2 + 4; + } + return (undefined2 *)0x8; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008cf20.c b/decomp/AgentManager_Release_x64/full/functions/0x14008cf20.c new file mode 100644 index 00000000..0f96f5fc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008cf20.c @@ -0,0 +1,70 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008cf20 FUN_14008cf20 + * Pseudocode, not original source. */ + +void FUN_14008cf20(char *param_1,LPVOID param_2,char param_3) + +{ + uint uVar1; + ulonglong uVar2; + uint uVar3; + + if (param_2 == (LPVOID)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + uVar1 = *(uint *)(param_1 + 0x28); + uVar2 = (ulonglong)*(uint *)((longlong)param_2 + 0x28) % (ulonglong)uVar1; + if (*(longlong *)(param_1 + 0x20) == 1) { + *(undefined8 *)(*(longlong *)(param_1 + 8) + uVar2 * 8) = 0; + param_1[0x10] = '\0'; + param_1[0x11] = '\0'; + param_1[0x12] = '\0'; + param_1[0x13] = '\0'; + param_1[0x14] = '\0'; + param_1[0x15] = '\0'; + param_1[0x16] = '\0'; + param_1[0x17] = '\0'; + param_1[0x18] = '\0'; + param_1[0x19] = '\0'; + param_1[0x1a] = '\0'; + param_1[0x1b] = '\0'; + param_1[0x1c] = '\0'; + param_1[0x1d] = '\0'; + param_1[0x1e] = '\0'; + param_1[0x1f] = '\0'; + } + else { + uVar3 = (uint)uVar2; + if (((*(longlong *)((longlong)param_2 + 0x20) == 0) || + (*(uint *)(*(longlong *)((longlong)param_2 + 0x20) + 0x28) % uVar1 != uVar3)) && + ((*(longlong *)((longlong)param_2 + 0x18) == 0 || + (*(uint *)(*(longlong *)((longlong)param_2 + 0x18) + 0x28) % uVar1 != uVar3)))) { + *(undefined8 *)(*(longlong *)(param_1 + 8) + uVar2 * 8) = 0; + } + else if (param_2 == *(LPVOID *)(*(longlong *)(param_1 + 8) + (longlong)(int)uVar3 * 8)) { + *(undefined8 *)(*(longlong *)(param_1 + 8) + uVar2 * 8) = + *(undefined8 *)((longlong)param_2 + 0x18); + } + if (param_2 == *(LPVOID *)(param_1 + 0x10)) { + *(undefined8 *)(param_1 + 0x10) = *(undefined8 *)((longlong)param_2 + 0x18); + *(undefined8 *)((longlong)param_2 + 0x20) = 0; + } + if (param_2 == *(LPVOID *)(param_1 + 0x18)) { + *(undefined8 *)(param_1 + 0x18) = *(undefined8 *)((longlong)param_2 + 0x20); + *(undefined8 *)((longlong)param_2 + 0x18) = 0; + } + if (*(longlong *)((longlong)param_2 + 0x20) != 0) { + *(undefined8 *)(*(longlong *)((longlong)param_2 + 0x20) + 0x18) = + *(undefined8 *)((longlong)param_2 + 0x18); + } + if (*(longlong *)((longlong)param_2 + 0x18) != 0) { + *(undefined8 *)(*(longlong *)((longlong)param_2 + 0x18) + 0x20) = + *(undefined8 *)((longlong)param_2 + 0x20); + } + } + FUN_14008c980(param_1,param_2,param_3); + FUN_14004c730(param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008d020.c b/decomp/AgentManager_Release_x64/full/functions/0x14008d020.c new file mode 100644 index 00000000..6d8a0407 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008d020.c @@ -0,0 +1,74 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008d020 FUN_14008d020 + * Pseudocode, not original source. */ + +undefined8 * FUN_14008d020(char *param_1,longlong param_2,uint param_3,undefined4 param_4) + +{ + undefined2 uVar1; + longlong *plVar2; + longlong lVar3; + undefined8 uVar4; + uint uVar5; + undefined8 *puVar6; + + plVar2 = *(longlong **)(param_1 + 0x50); + if (plVar2 == (longlong *)0x0) { + puVar6 = (undefined8 *)FUN_14003e840(0x30); + } + else { + puVar6 = (undefined8 *)(**(code **)(*plVar2 + 8))(plVar2,0x30); + } + if (puVar6 != (undefined8 *)0x0) { + *puVar6 = Proud::AddrPort::vftable; + *(undefined4 *)(puVar6 + 1) = *(undefined4 *)(param_2 + 8); + uVar1 = *(undefined2 *)(param_2 + 0xc); + *(undefined4 *)(puVar6 + 5) = param_4; + *(undefined2 *)((longlong)puVar6 + 0xc) = uVar1; + } + lVar3 = *(longlong *)(*(longlong *)(param_1 + 8) + (ulonglong)param_3 * 8); + FUN_14004c730(param_1); + if (*(longlong *)(param_1 + 0x20) == 0) { + *(undefined8 **)(param_1 + 0x10) = puVar6; + *(undefined8 **)(param_1 + 0x18) = puVar6; + puVar6[4] = 0; + puVar6[3] = 0; + } + else { + FUN_14004c730(param_1); + FUN_14004c730(param_1); + if (lVar3 == 0) { + lVar3 = *(longlong *)(param_1 + 0x10); + puVar6[4] = 0; + puVar6[3] = lVar3; + if (lVar3 != 0) { + *(undefined8 **)(lVar3 + 0x20) = puVar6; + } + *(undefined8 **)(param_1 + 0x10) = puVar6; + } + else { + if (*(longlong *)(lVar3 + 0x20) == 0) { + *(undefined8 **)(param_1 + 0x10) = puVar6; + } + else { + *(undefined8 **)(*(longlong *)(lVar3 + 0x20) + 0x18) = puVar6; + } + uVar4 = *(undefined8 *)(lVar3 + 0x20); + puVar6[3] = lVar3; + puVar6[4] = uVar4; + *(undefined8 **)(lVar3 + 0x20) = puVar6; + } + } + *(undefined8 **)(*(longlong *)(param_1 + 8) + (ulonglong)param_3 * 8) = puVar6; + *(longlong *)(param_1 + 0x20) = *(longlong *)(param_1 + 0x20) + 1; + FUN_14004c730(param_1); + FUN_14004c730(param_1); + if ((*(ulonglong *)(param_1 + 0x38) < *(ulonglong *)(param_1 + 0x20)) && + (*(int *)(param_1 + 0x48) == 0)) { + uVar5 = FUN_14009b970((longlong)param_1,*(ulonglong *)(param_1 + 0x20)); + FUN_14004cdb0(param_1,uVar5); + } + FUN_14004c730(param_1); + return puVar6; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008d170.c b/decomp/AgentManager_Release_x64/full/functions/0x14008d170.c new file mode 100644 index 00000000..7642bb4b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008d170.c @@ -0,0 +1,32 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008d170 FUN_14008d170 + * Pseudocode, not original source. */ + +void FUN_14008d170(longlong *param_1,longlong param_2,undefined4 param_3) + +{ + longlong lVar1; + longlong *plVar2; + undefined4 uStack_14; + + lVar1 = param_1[1]; + if (lVar1 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + FUN_14008c3d0(param_1,lVar1 + 1,-1); + if (lVar1 < param_1[1]) { + if ((ulonglong)param_1[2] < 0x65) { + plVar2 = param_1 + (lVar1 + 2) * 2; + } + else { + plVar2 = (longlong *)(lVar1 * 0x10 + *param_1); + } + *plVar2 = CONCAT44(uStack_14,param_3); + plVar2[1] = param_2; + return; + } + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008d1f0.c b/decomp/AgentManager_Release_x64/full/functions/0x14008d1f0.c new file mode 100644 index 00000000..e8d06d24 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008d1f0.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008d1f0 FUN_14008d1f0 + * Pseudocode, not original source. */ + +undefined2 * FUN_14008d1f0(void) + +{ + undefined2 *puVar1; + + FUN_14003d040((int *)&DAT_1401783a8); + puVar1 = FUN_14008ce80(DAT_1401783a0); + FUN_14003d0d0(0x1401783a8); + return puVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008d250.c b/decomp/AgentManager_Release_x64/full/functions/0x14008d250.c new file mode 100644 index 00000000..b8d5e38a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008d250.c @@ -0,0 +1,46 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008d250 FUN_14008d250 + * Pseudocode, not original source. */ + +void FUN_14008d250(longlong *param_1,double param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong *plVar1; + bool bVar2; + longlong lVar3; + + if (param_1[8] == 0) { + lVar3 = 0; + } + else { + lVar3 = param_1[6]; + } + do { + while( true ) { + if (lVar3 == 0) { + return; + } + plVar1 = *(longlong **)(lVar3 + 0x10); + if ((plVar1[2] == 0) && (bVar2 = FUN_14008c0b0((longlong)plVar1,param_2), bVar2)) break; +LAB_14008d2e5: + lVar3 = *(longlong *)(lVar3 + 0x18); + } + if (plVar1[2] != 0) { + FUN_14008bf30(param_1,plVar1,param_3,param_4); + } + if (param_1[1] != 0) { + *(longlong **)(param_1[1] + 8) = plVar1; + *plVar1 = param_1[1]; + param_1[1] = (longlong)plVar1; + plVar1[2] = (longlong)param_1; + *(int *)(param_1 + 2) = (int)param_1[2] + 1; + goto LAB_14008d2e5; + } + *param_1 = (longlong)plVar1; + param_1[1] = (longlong)plVar1; + plVar1[2] = (longlong)param_1; + *(int *)(param_1 + 2) = (int)param_1[2] + 1; + lVar3 = *(longlong *)(lVar3 + 0x18); + } while( true ); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008d300.c b/decomp/AgentManager_Release_x64/full/functions/0x14008d300.c new file mode 100644 index 00000000..6dd87f66 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008d300.c @@ -0,0 +1,383 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008d300 FUN_14008d300 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x00014008d869) */ +/* WARNING: Removing unreachable block (ram,0x00014008d870) */ +/* WARNING: Removing unreachable block (ram,0x00014008d87f) */ + +void FUN_14008d300(short *param_1,undefined8 param_2,longlong *param_3,undefined8 param_4) + +{ + longlong lVar1; + longlong lVar2; + undefined8 uVar3; + undefined8 *puVar4; + undefined8 *puVar5; + int iVar6; + uint uVar7; + short *psVar8; + undefined8 *puVar9; + longlong *in_RDX; + longlong lVar10; + longlong *plVar11; + uint uVar12; + int iVar13; + longlong *plVar14; + size_t sVar15; + ulonglong uVar16; + int iVar17; + int iVar18; + longlong local_res20; + undefined8 local_a8; + exception local_98 [96]; + + puVar5 = (undefined8 *)0x0; + uVar12 = 0; + psVar8 = param_1 + 0x18; + puVar4 = puVar5; + do { + if (((longlong)puVar4 < 0) || (5 < (longlong)puVar4)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(psVar8,in_RDX,param_3,param_4); + } + plVar14 = *(longlong **)psVar8; + if (plVar14 != (longlong *)0x0) { + FUN_14008ccf0(param_3,in_RDX,(longlong)param_3); + *(undefined4 *)(param_3 + 0xd5) = *(undefined4 *)(param_1 + 0xbc); + local_a8 = (int *)CONCAT44(local_a8._4_4_,0x10); + *(short *)((longlong)param_3 + 0x6ac) = param_1[0xbe]; + param_3[0xce] = *(longlong *)(param_1 + 200); + *(undefined2 *)(param_3 + 0xcc) = 0xabce; + *(short *)((longlong)param_3 + 0x662) = param_1[0xc0]; + lVar1 = plVar14[6]; + param_3[0xcd] = 0; + *(int *)((longlong)param_3 + 0x664) = (int)lVar1; + lVar1 = param_3[1]; + if (lVar1 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + FUN_14008c3d0(param_3,lVar1 + 1,-1); + if (param_3[1] <= lVar1) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if ((ulonglong)param_3[2] < 0x65) { + plVar11 = param_3 + (lVar1 + 2) * 2; + } + else { + plVar11 = (longlong *)(lVar1 * 0x10 + *param_3); + } + *plVar11 = (longlong)local_a8; + plVar11[1] = (longlong)(param_3 + 0xcc); + puVar4 = puVar5; + if ((int)plVar14[6] != 0) { + puVar4 = (undefined8 *)plVar14[5]; + } + lVar1 = param_3[1]; + local_a8 = (int *)CONCAT44(local_a8._4_4_,(int)plVar14[6]); + if (lVar1 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + sVar15 = 0xffffffffffffffff; + FUN_14008c3d0(param_3,lVar1 + 1,-1); + if (param_3[1] <= lVar1) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if ((ulonglong)param_3[2] < 0x65) { + plVar11 = param_3 + (lVar1 + 2) * 2; + } + else { + plVar11 = (longlong *)(lVar1 * 0x10 + *param_3); + } + *plVar11 = (longlong)local_a8; + plVar11[1] = (longlong)puVar4; + *(int *)(param_3 + 0xd6) = (int)plVar14[9]; + iVar18 = (int)param_3[0xd2]; + if (-1 < iVar18) { + lVar1 = param_3[0xd2]; + FUN_14008c630((longlong)(param_3 + 0xcf),(int)lVar1 + 1,sVar15); + iVar17 = (int)lVar1 - iVar18; + if (0 < iVar17) { + puVar4 = puVar5; + if ((int)param_3[0xd2] != 0) { + puVar4 = (undefined8 *)param_3[0xd1]; + } + sVar15 = (longlong)iVar17 << 3; + memmove(puVar4 + (longlong)iVar18 + 1,puVar4 + iVar18,sVar15); + } + if ((int)param_3[0xd2] != 0) { + puVar5 = (undefined8 *)param_3[0xd1]; + } + puVar5[iVar18] = plVar14; + if ((longlong *)plVar14[2] == (longlong *)0x0) { + return; + } + FUN_14008be50((longlong *)plVar14[2],plVar14,sVar15,param_4); + return; + } + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + puVar4 = (undefined8 *)((longlong)puVar4 + 1); + psVar8 = psVar8 + 0x1c; + } while ((longlong)puVar4 < 6); + iVar18 = -1; + plVar14 = param_3; + if (*(int *)(param_1 + 0xd8) == 0) { + *(int *)(param_1 + 0xea) = *(int *)(param_1 + 0xea) + 1; + local_a8 = (int *)(param_1 + 0x14); + param_1[0xe0] = 0; + param_1[0xe1] = 0; + param_1[0xe2] = 0; + param_1[0xe3] = 0; + param_1[0xe4] = 0; + param_1[0xe5] = 0; + param_1[0xe6] = 0; + param_1[0xe7] = 0; + param_1[0xe8] = 0; + param_1[0xe9] = 0; + local_res20 = 0; + puVar4 = puVar5; + do { + if ((local_res20 < 0) || (5 < local_res20)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(local_res20,in_RDX,plVar14,param_4); + } + iVar17 = *local_a8; + while (0 < iVar17) { + plVar11 = *(longlong **)(local_a8 + -4); + if ((int)puVar4 == 0) { + iVar18 = *(int *)(param_1 + 0xd8); + if (iVar18 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + iVar17 = *(int *)(param_1 + 0xd8); + uVar7 = iVar17 + 1; + in_RDX = (longlong *)(ulonglong)uVar7; + FUN_14008c630((longlong)(param_1 + 0xcc),uVar7,(longlong)plVar14); + iVar17 = iVar17 - iVar18; + if (0 < iVar17) { + puVar9 = puVar5; + if (*(int *)(param_1 + 0xd8) != 0) { + puVar9 = *(undefined8 **)(param_1 + 0xd4); + } + in_RDX = puVar9 + iVar18; + plVar14 = (longlong *)((longlong)iVar17 << 3); + memmove(puVar9 + (longlong)iVar18 + 1,in_RDX,(size_t)plVar14); + } + puVar9 = puVar5; + if (*(int *)(param_1 + 0xd8) != 0) { + puVar9 = *(undefined8 **)(param_1 + 0xd4); + } + puVar9[iVar18] = plVar11; + *(int *)(param_1 + 0xe0) = *(int *)(param_1 + 0xe0) + (int)plVar11[6]; + iVar18 = (int)plVar11[9]; + } + else { + if ((DAT_14016f118 <= (int)plVar11[6] + *(int *)(param_1 + 0xe0)) || + (iVar18 != (int)plVar11[9])) goto LAB_14008d54d; + iVar17 = *(int *)(param_1 + 0xd8); + if (iVar17 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + iVar13 = *(int *)(param_1 + 0xd8); + uVar7 = iVar13 + 1; + in_RDX = (longlong *)(ulonglong)uVar7; + FUN_14008c630((longlong)(param_1 + 0xcc),uVar7,(longlong)plVar14); + iVar13 = iVar13 - iVar17; + if (0 < iVar13) { + puVar9 = puVar5; + if (*(int *)(param_1 + 0xd8) != 0) { + puVar9 = *(undefined8 **)(param_1 + 0xd4); + } + in_RDX = puVar9 + iVar17; + plVar14 = (longlong *)((longlong)iVar13 << 3); + memmove(puVar9 + (longlong)iVar17 + 1,in_RDX,(size_t)plVar14); + } + puVar9 = puVar5; + if (*(int *)(param_1 + 0xd8) != 0) { + puVar9 = *(undefined8 **)(param_1 + 0xd4); + } + puVar9[iVar17] = plVar11; + *(int *)(param_1 + 0xe0) = *(int *)(param_1 + 0xe0) + (int)plVar11[6]; + } + if ((longlong *)plVar11[2] != (longlong *)0x0) { + FUN_14008be50((longlong *)plVar11[2],plVar11,plVar14,param_4); + in_RDX = plVar11; + } + puVar4 = (undefined8 *)(ulonglong)((int)puVar4 + 1); + iVar17 = *local_a8; + } + local_res20 = local_res20 + 1; + local_a8 = local_a8 + 0xe; + } while (local_res20 < 6); +LAB_14008d54d: + } + if (*(int *)(param_1 + 0xe0) < 1) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + FUN_14008ccf0(param_3,in_RDX,(longlong)plVar14); + *(undefined4 *)(param_3 + 0xd5) = *(undefined4 *)(param_1 + 0xbc); + local_a8 = (int *)CONCAT44(local_a8._4_4_,0x10); + *(short *)((longlong)param_3 + 0x6ac) = param_1[0xbe]; + iVar17 = *(int *)(param_1 + 0xe0) - *(int *)(param_1 + 0xe4); + if (DAT_14016f118 < *(int *)(param_1 + 0xe0) - *(int *)(param_1 + 0xe4)) { + iVar17 = DAT_14016f118; + } + param_3[0xce] = *(longlong *)(param_1 + 200); + *(undefined2 *)(param_3 + 0xcc) = 0xabcd; + *(short *)((longlong)param_3 + 0x662) = param_1[0xc0]; + *(undefined4 *)((longlong)param_3 + 0x664) = *(undefined4 *)(param_1 + 0xe0); + *(undefined4 *)(param_3 + 0xcd) = *(undefined4 *)(param_1 + 0xea); + *(undefined4 *)((longlong)param_3 + 0x66c) = *(undefined4 *)(param_1 + 0xe2); + lVar1 = param_3[1]; + if (-1 < lVar1) { + lVar10 = lVar1 + 1; + sVar15 = 0xffffffffffffffff; + plVar14 = param_3; + FUN_14008c3d0(param_3,lVar10,-1); + if (param_3[1] <= lVar1) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if ((ulonglong)param_3[2] < 0x65) { + plVar11 = param_3 + (lVar1 + 2) * 2; + } + else { + plVar11 = (longlong *)(lVar1 * 0x10 + *param_3); + } + *plVar11 = (longlong)local_a8; + plVar11[1] = (longlong)(param_3 + 0xcc); + *(int *)(param_3 + 0xd6) = iVar18; + iVar18 = *(int *)(param_1 + 0xe4); + iVar13 = iVar18; + while( true ) { + if (iVar18 + iVar17 <= iVar13) { + *(int *)(param_1 + 0xe2) = *(int *)(param_1 + 0xe2) + 1; + if (*(int *)(param_1 + 0xe4) == *(int *)(param_1 + 0xe0)) { + iVar18 = *(int *)(param_1 + 0xd8); + puVar4 = puVar5; + if (*(int *)(param_1 + 0xd8) != 0) { + puVar4 = *(undefined8 **)(param_1 + 0xd4); + } + if (iVar18 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (iVar18 != 0) { + lVar1 = param_3[0xd2]; + FUN_14008c630((longlong)(param_3 + 0xcf),(int)lVar1 + iVar18,sVar15); + puVar9 = puVar5; + if ((int)param_3[0xd2] != 0) { + puVar9 = (undefined8 *)param_3[0xd1]; + } + sVar15 = (longlong)iVar18 << 3; + if (sVar15 < 0x21) { + puVar9 = puVar9 + (int)lVar1; + for (uVar16 = (longlong)iVar18 & 0x1fffffffffffffff; uVar16 != 0; uVar16 = uVar16 - 1) + { + uVar3 = *puVar4; + puVar4 = puVar4 + 1; + *puVar9 = uVar3; + puVar9 = puVar9 + 1; + } + sVar15 = 0; + } + else { + memcpy(puVar9 + (int)lVar1,puVar4,sVar15); + } + } + FUN_14008c630((longlong)(param_1 + 0xcc),0,sVar15); + } + lVar1 = param_3[1]; + puVar4 = puVar5; + puVar9 = puVar5; + if (0 < lVar1) { + do { + if (((longlong)puVar5 < 0) || (lVar1 <= (longlong)puVar5)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if ((ulonglong)param_3[2] < 0x65) { + plVar14 = param_3 + ((longlong)puVar5 + 2) * 2; + } + else { + plVar14 = (longlong *)((longlong)puVar5 * 0x10 + *param_3); + } + uVar12 = (int)puVar9 + (int)*plVar14; + uVar7 = (int)puVar4 + 1; + puVar5 = (undefined8 *)(longlong)(int)uVar7; + puVar4 = (undefined8 *)(ulonglong)uVar7; + puVar9 = (undefined8 *)(ulonglong)uVar12; + } while ((longlong)puVar5 < lVar1); + } + FUN_1400b70e0((longlong)(param_1 + 0xec),uVar12); + *(undefined8 *)(param_1 + 0x100) = param_2; + *(double *)(param_1 + 0xf8) = (double)(int)uVar12 + *(double *)(param_1 + 0xf8); + return; + } + iVar13 = *(int *)(param_1 + 0xe8); + if ((iVar13 < 0) || (*(int *)(param_1 + 0xd8) <= iVar13)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(plVar14,lVar10,sVar15,param_3); + } + lVar1 = *(longlong *)(*(longlong *)(param_1 + 0xd4) + (longlong)iVar13 * 8); + iVar13 = *(int *)(lVar1 + 0x30) - *(int *)(param_1 + 0xe6); + iVar6 = (iVar18 - *(int *)(param_1 + 0xe4)) + iVar17; + if (iVar6 < iVar13) { + iVar13 = iVar6; + } + if (iVar13 < 1) break; + puVar4 = puVar5; + if (*(int *)(lVar1 + 0x30) != 0) { + puVar4 = *(undefined8 **)(lVar1 + 0x28); + } + iVar6 = *(int *)(param_1 + 0xe6); + lVar2 = param_3[1]; + local_a8._4_4_ = (undefined4)((ulonglong)local_a8 >> 0x20); + local_a8 = (int *)CONCAT44(local_a8._4_4_,iVar13); + if (lVar2 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + lVar10 = lVar2 + 1; + sVar15 = 0xffffffffffffffff; + plVar14 = param_3; + FUN_14008c3d0(param_3,lVar10,-1); + if (param_3[1] <= lVar2) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if ((ulonglong)param_3[2] < 0x65) { + plVar11 = param_3 + (lVar2 + 2) * 2; + } + else { + plVar11 = (longlong *)(lVar2 * 0x10 + *param_3); + } + *plVar11 = (longlong)local_a8; + plVar11[1] = (longlong)iVar6 + (longlong)puVar4; + *(int *)(param_1 + 0xe6) = *(int *)(param_1 + 0xe6) + iVar13; + *(int *)(param_1 + 0xe4) = *(int *)(param_1 + 0xe4) + iVar13; + if (*(int *)(param_1 + 0xe6) == *(int *)(lVar1 + 0x30)) { + *(int *)(param_1 + 0xe8) = *(int *)(param_1 + 0xe8) + 1; + param_1[0xe6] = 0; + param_1[0xe7] = 0; + } + iVar13 = *(int *)(param_1 + 0xe4); + } + FUN_14008cb70(param_1); + FUN_14003db10(local_98,L"Unexpected at PacketQueue Pop!",sVar15,param_3); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_98,(ThrowInfo *)&DAT_14016c210); + } + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008db30.c b/decomp/AgentManager_Release_x64/full/functions/0x14008db30.c new file mode 100644 index 00000000..398cfd96 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008db30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008db30 FUN_14008db30 + * Pseudocode, not original source. */ + +void FUN_14008db30(void *param_1) + +{ + _eh_vector_destructor_iterator_(param_1,0x38,6,FUN_14008cc00); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008db50.c b/decomp/AgentManager_Release_x64/full/functions/0x14008db50.c new file mode 100644 index 00000000..32e5e8c1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008db50.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008db50 FUN_14008db50 + * Pseudocode, not original source. */ + +void FUN_14008db50(longlong *param_1) + +{ + undefined8 uVar1; + code *pcVar2; + + FUN_14008cb70((short *)param_1); + param_1[0x33] = (longlong)Proud::CFastArray::vftable; + if ((LPVOID)param_1[0x35] != (LPVOID)0x0) { + if ((longlong *)param_1[0x34] == (longlong *)0x0) { + FUN_14003e8b0((LPVOID)param_1[0x35]); + } + else { + (**(code **)(*(longlong *)param_1[0x34] + 0x18))(); + } + } + pcVar2 = FUN_14008cc00; + uVar1 = 6; + _eh_vector_destructor_iterator_(param_1 + 3,0x38,6,FUN_14008cc00); + if ((longlong *)param_1[2] != (longlong *)0x0) { + FUN_14008bf30((longlong *)param_1[2],param_1,uVar1,pcVar2); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008dbe0.c b/decomp/AgentManager_Release_x64/full/functions/0x14008dbe0.c new file mode 100644 index 00000000..ec706857 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008dbe0.c @@ -0,0 +1,23 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008dbe0 FUN_14008dbe0 + * Pseudocode, not original source. */ + +void FUN_14008dbe0(undefined8 *param_1,undefined8 param_2,longlong param_3) + +{ + FUN_14008ccf0(param_1,param_2,param_3); + param_1[0xcf] = Proud::CFastArray::vftable; + if ((LPVOID)param_1[0xd1] != (LPVOID)0x0) { + if ((longlong *)param_1[0xd0] == (longlong *)0x0) { + FUN_14003e8b0((LPVOID)param_1[0xd1]); + } + else { + (**(code **)(*(longlong *)param_1[0xd0] + 0x18))(); + } + } + if (100 < (ulonglong)param_1[2]) { + operator_delete__((void *)*param_1); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008dc50.c b/decomp/AgentManager_Release_x64/full/functions/0x14008dc50.c new file mode 100644 index 00000000..04296fb2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008dc50.c @@ -0,0 +1,26 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008dc50 FUN_14008dc50 + * Pseudocode, not original source. */ + +void FUN_14008dc50(longlong *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong lVar1; + LPVOID pvVar2; + + lVar1 = *param_1; + while (lVar1 != 0) { + pvVar2 = (LPVOID)*param_1; + *param_1 = *(longlong *)((longlong)pvVar2 + 0x58); + *(undefined8 *)((longlong)pvVar2 + 0x58) = 0; + FUN_140049e40((undefined8 *)((longlong)pvVar2 + 0x20)); + if (*(longlong **)((longlong)pvVar2 + 0x18) != (longlong *)0x0) { + FUN_14008be50(*(longlong **)((longlong)pvVar2 + 0x18),(longlong *)((longlong)pvVar2 + 8), + param_3,param_4); + } + FUN_14003e8b0(pvVar2); + lVar1 = *param_1; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008dce0.c b/decomp/AgentManager_Release_x64/full/functions/0x14008dce0.c new file mode 100644 index 00000000..7e62b32a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008dce0.c @@ -0,0 +1,43 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008dce0 FUN_14008dce0 + * Pseudocode, not original source. */ + +void FUN_14008dce0(longlong *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong lVar1; + LPVOID pvVar2; + LPVOID pvVar3; + longlong *plVar4; + + lVar1 = *param_1; + while (lVar1 != 0) { + pvVar2 = (LPVOID)*param_1; + *param_1 = *(longlong *)((longlong)pvVar2 + 0x68); + *(undefined8 *)((longlong)pvVar2 + 0x68) = 0; + *(undefined ***)((longlong)pvVar2 + 0x30) = Proud::CFastArray::vftable; + if (*(LPVOID *)((longlong)pvVar2 + 0x40) != (LPVOID)0x0) { + if (*(longlong **)((longlong)pvVar2 + 0x38) == (longlong *)0x0) { + FUN_14003e8b0(*(LPVOID *)((longlong)pvVar2 + 0x40)); + } + else { + (**(code **)(**(longlong **)((longlong)pvVar2 + 0x38) + 0x18))(); + } + } + *(undefined ***)((longlong)pvVar2 + 8) = Proud::CFastArray::vftable; + pvVar3 = *(LPVOID *)((longlong)pvVar2 + 0x18); + if (pvVar3 != (LPVOID)0x0) { + plVar4 = *(longlong **)((longlong)pvVar2 + 0x10); + if (plVar4 == (longlong *)0x0) { + FUN_14003e8b0(pvVar3); + } + else { + (**(code **)(*plVar4 + 0x18))(plVar4,pvVar3); + } + } + FUN_14003e8b0(pvVar2); + lVar1 = *param_1; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008ddb0.c b/decomp/AgentManager_Release_x64/full/functions/0x14008ddb0.c new file mode 100644 index 00000000..6fa2d93a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008ddb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008ddb0 FUN_14008ddb0 + * Pseudocode, not original source. */ + +void FUN_14008ddb0(char *param_1) + +{ + FUN_14004e140(param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008ddd0.c b/decomp/AgentManager_Release_x64/full/functions/0x14008ddd0.c new file mode 100644 index 00000000..c9dd2a46 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008ddd0.c @@ -0,0 +1,23 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008ddd0 FUN_14008ddd0 + * Pseudocode, not original source. */ + +undefined4 * FUN_14008ddd0(char *param_1,undefined4 *param_2,uint param_3,undefined4 param_4) + +{ + undefined8 uVar1; + undefined4 *puVar2; + + if (*(longlong *)(param_1 + 8) == 0) { + uVar1 = FUN_14004c640((longlong)param_1,*(uint *)(param_1 + 0x28),'\x01'); + if ((char)uVar1 == '\0') { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x8007000e); + } + } + FUN_1400c8cb0(param_1); + puVar2 = FUN_14004e8c0(param_1,param_2,param_3,param_4); + FUN_1400c8cb0(param_1); + return puVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008de50.c b/decomp/AgentManager_Release_x64/full/functions/0x14008de50.c new file mode 100644 index 00000000..57c850e4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008de50.c @@ -0,0 +1,23 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008de50 FUN_14008de50 + * Pseudocode, not original source. */ + +undefined8 * FUN_14008de50(char *param_1,longlong param_2,uint param_3,undefined4 param_4) + +{ + undefined8 uVar1; + undefined8 *puVar2; + + if (*(longlong *)(param_1 + 8) == 0) { + uVar1 = FUN_14004c640((longlong)param_1,*(uint *)(param_1 + 0x28),'\x01'); + if ((char)uVar1 == '\0') { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x8007000e); + } + } + FUN_14004c730(param_1); + puVar2 = FUN_14008d020(param_1,param_2,param_3,param_4); + FUN_14004c730(param_1); + return puVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008ded0.c b/decomp/AgentManager_Release_x64/full/functions/0x14008ded0.c new file mode 100644 index 00000000..85194d14 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008ded0.c @@ -0,0 +1,32 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008ded0 FUN_14008ded0 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x00014008df2b) */ +/* WARNING: Removing unreachable block (ram,0x00014008df34) */ +/* WARNING: Removing unreachable block (ram,0x00014008df52) */ +/* WARNING: Removing unreachable block (ram,0x00014008df5b) */ + +undefined1 * FUN_14008ded0(undefined1 *param_1) + +{ + *param_1 = 0; + *(undefined4 *)(param_1 + 0x28) = 0x11; + *(undefined8 *)(param_1 + 0x50) = 0; + *(undefined8 *)(param_1 + 8) = 0; + *(undefined8 *)(param_1 + 0x10) = 0; + *(undefined8 *)(param_1 + 0x18) = 0; + *(undefined8 *)(param_1 + 0x20) = 0; + *(undefined4 *)(param_1 + 0x48) = 0; + *(undefined4 *)(param_1 + 0x2c) = 0x3f400000; + *(undefined4 *)(param_1 + 0x30) = 0x3e800000; + *(undefined4 *)(param_1 + 0x34) = 0x40100000; + *(undefined8 *)(param_1 + 0x38) = 0x26; + *(undefined8 *)(param_1 + 0x40) = 0; + *(undefined8 *)(param_1 + 0x60) = 0; + *(undefined8 *)(param_1 + 0x68) = 0; + *(undefined8 *)(param_1 + 0x58) = 0; + *(undefined8 *)(param_1 + 0x70) = 0; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008df90.c b/decomp/AgentManager_Release_x64/full/functions/0x14008df90.c new file mode 100644 index 00000000..3dc8b39c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008df90.c @@ -0,0 +1,42 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008df90 FUN_14008df90 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x00014008e000) */ +/* WARNING: Removing unreachable block (ram,0x00014008e009) */ +/* WARNING: Removing unreachable block (ram,0x00014008e027) */ +/* WARNING: Removing unreachable block (ram,0x00014008e030) */ +/* WARNING: Removing unreachable block (ram,0x00014008e06b) */ +/* WARNING: Removing unreachable block (ram,0x00014008e074) */ +/* WARNING: Removing unreachable block (ram,0x00014008e092) */ +/* WARNING: Removing unreachable block (ram,0x00014008e09b) */ + +undefined1 * FUN_14008df90(undefined1 *param_1,longlong param_2) + +{ + *param_1 = 0; + *(undefined8 *)(param_1 + 0x50) = 0; + *(undefined8 *)(param_1 + 8) = 0; + *(undefined8 *)(param_1 + 0x10) = 0; + *(undefined8 *)(param_1 + 0x18) = 0; + *(undefined4 *)(param_1 + 0x28) = 0x11; + *(undefined8 *)(param_1 + 0x20) = 0; + *(undefined4 *)(param_1 + 0x48) = 0; + *(undefined4 *)(param_1 + 0x2c) = 0x3f400000; + *(undefined4 *)(param_1 + 0x30) = 0x3e800000; + *(undefined4 *)(param_1 + 0x34) = 0x40100000; + *(undefined8 *)(param_1 + 0x38) = 0x26; + *(undefined8 *)(param_1 + 0x40) = 0; + *(undefined4 *)(param_1 + 0x2c) = 0x3dcccccd; + *(undefined4 *)(param_1 + 0x30) = 0x33d6bf95; + *(undefined4 *)(param_1 + 0x34) = 0x40066666; + *(undefined8 *)(param_1 + 0x38) = 0x23; + *(undefined8 *)(param_1 + 0x40) = 0; + if (param_2 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + *(longlong *)(param_1 + 0x50) = param_2; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008e0d0.c b/decomp/AgentManager_Release_x64/full/functions/0x14008e0d0.c new file mode 100644 index 00000000..e5f7755f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008e0d0.c @@ -0,0 +1,37 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008e0d0 FUN_14008e0d0 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x00014008e137) */ +/* WARNING: Removing unreachable block (ram,0x00014008e140) */ +/* WARNING: Removing unreachable block (ram,0x00014008e15e) */ +/* WARNING: Removing unreachable block (ram,0x00014008e167) */ +/* WARNING: Removing unreachable block (ram,0x00014008e1a2) */ +/* WARNING: Removing unreachable block (ram,0x00014008e1ab) */ +/* WARNING: Removing unreachable block (ram,0x00014008e1c9) */ +/* WARNING: Removing unreachable block (ram,0x00014008e1d2) */ + +undefined1 * FUN_14008e0d0(undefined1 *param_1) + +{ + *param_1 = 0; + *(undefined8 *)(param_1 + 0x50) = 0; + *(undefined8 *)(param_1 + 8) = 0; + *(undefined8 *)(param_1 + 0x10) = 0; + *(undefined8 *)(param_1 + 0x18) = 0; + *(undefined4 *)(param_1 + 0x28) = 0x11; + *(undefined8 *)(param_1 + 0x20) = 0; + *(undefined4 *)(param_1 + 0x48) = 0; + *(undefined4 *)(param_1 + 0x2c) = 0x3f400000; + *(undefined4 *)(param_1 + 0x30) = 0x3e800000; + *(undefined4 *)(param_1 + 0x34) = 0x40100000; + *(undefined8 *)(param_1 + 0x38) = 0x26; + *(undefined8 *)(param_1 + 0x40) = 0; + *(undefined4 *)(param_1 + 0x2c) = 0x3dcccccd; + *(undefined4 *)(param_1 + 0x30) = 0x33d6bf95; + *(undefined4 *)(param_1 + 0x34) = 0x40066666; + *(undefined8 *)(param_1 + 0x38) = 0x23; + *(undefined8 *)(param_1 + 0x40) = 0; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008e200.c b/decomp/AgentManager_Release_x64/full/functions/0x14008e200.c new file mode 100644 index 00000000..7a039920 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008e200.c @@ -0,0 +1,53 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008e200 FUN_14008e200 + * Pseudocode, not original source. */ + +ulonglong FUN_14008e200(longlong *param_1,longlong *param_2,double param_3,undefined8 param_4) + +{ + longlong *plVar1; + bool bVar2; + ulonglong in_RAX; + ulonglong uVar3; + undefined8 in_R8; + longlong *plVar4; + undefined8 uVar5; + exception local_68 [96]; + + plVar1 = (longlong *)*param_1; + if (plVar1 == (longlong *)0x0) { + uVar3 = in_RAX & 0xffffffffffffff00; + } + else { + if ((int)plVar1[0x2b] + (int)plVar1[0x28] + (int)plVar1[0x24] + (int)plVar1[0x21] + + (int)plVar1[0x1d] + (int)plVar1[0x1a] + (int)plVar1[0x16] + (int)plVar1[0x13] + + (int)plVar1[0xf] + (int)plVar1[0xc] + (int)plVar1[8] + (int)plVar1[5] + (int)plVar1[0x36] == + 0) { + FUN_14003db10(local_68,L"Unexpected state in RemoteToPacketSendMap!",in_R8,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_68,(ThrowInfo *)&DAT_14016c210); + } + uVar5 = (**(code **)(*(longlong *)param_1[3] + 8))(); + plVar4 = param_2; + FUN_14008d300((short *)plVar1,uVar5,param_2,param_4); + if (param_2[1] == 0) { + FUN_14003db10(local_68,L"Unexpected state in RemoteToPacketSendMap #2!",plVar4,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_68,(ThrowInfo *)&DAT_14016c210); + } + bVar2 = FUN_14008c0b0((longlong)plVar1,param_3); + if ((bVar2) || ((longlong *)plVar1[2] == (longlong *)0x0)) { + if ((longlong *)plVar1[2] != (longlong *)0x0) { + FUN_14008bf30((longlong *)plVar1[2],plVar1,plVar4,param_4); + } + uVar5 = FUN_14008c220(param_1,plVar1,plVar4,param_4); + } + else { + uVar5 = FUN_14008bf30((longlong *)plVar1[2],plVar1,plVar4,param_4); + } + plVar1[0x2d] = (longlong)param_3; + uVar3 = CONCAT71((int7)((ulonglong)uVar5 >> 8),1); + } + return uVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008e340.c b/decomp/AgentManager_Release_x64/full/functions/0x14008e340.c new file mode 100644 index 00000000..485f48d8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008e340.c @@ -0,0 +1,61 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008e340 FUN_14008e340 + * Pseudocode, not original source. */ + +undefined8 * FUN_14008e340(undefined8 *param_1) + +{ + ulonglong uVar1; + undefined8 *puVar2; + undefined8 uVar3; + undefined8 uVar4; + undefined1 *puVar5; + + uVar1 = 0; + *param_1 = 0; + param_1[1] = 0; + param_1[2] = 0; + puVar5 = &LAB_14008cb50; + uVar3 = 0x38; + uVar4 = 6; + _eh_vector_constructor_iterator_ + (param_1 + 3,0x38,6,(_func_void_void_ptr *)&LAB_14008cb50,FUN_14008cc00); + param_1[0x2e] = Proud::AddrPort::vftable; + *(undefined4 *)(param_1 + 0x2f) = 0; + *(undefined2 *)((longlong)param_1 + 0x17c) = 0; + param_1[0x33] = Proud::CFastArray::vftable; + param_1[0x34] = 0; + param_1[0x35] = 0; + param_1[0x36] = 0; + param_1[0x37] = 0; + FUN_1400b7110(param_1 + 0x3b); + param_1[0x3e] = 0; + param_1[0x3f] = 0; + param_1[0x3d] = 0; + param_1[0x40] = 0; + FUN_1400b71f0(param_1 + 0x41); + param_1[0x42] = 0; + param_1[0x43] = 0; + puVar2 = param_1 + 9; + do { + if (5 < uVar1) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(puVar2,uVar3,uVar4,puVar5); + } + *puVar2 = param_1; + uVar1 = uVar1 + 1; + puVar2 = puVar2 + 7; + } while ((longlong)uVar1 < 6); + param_1[0x31] = 0xffffffffffffffff; + param_1[0x32] = 0; + param_1[0x2d] = 0; + *(undefined4 *)(param_1 + 0x2f) = DAT_14016f3d0; + *(undefined2 *)((longlong)param_1 + 0x17c) = DAT_14016f3d4; + *(undefined2 *)(param_1 + 0x30) = 0; + param_1[0x38] = 0; + param_1[0x39] = 0; + *(undefined4 *)(param_1 + 0x3a) = 0; + *(int *)((longlong)param_1 + 0x1d4) = (int)param_1; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008e4a0.c b/decomp/AgentManager_Release_x64/full/functions/0x14008e4a0.c new file mode 100644 index 00000000..164dc1ee --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008e4a0.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008e4a0 FUN_14008e4a0 + * Pseudocode, not original source. */ + +uint * FUN_14008e4a0(char *param_1,uint *param_2,undefined8 *param_3) + +{ + uint uVar1; + ulonglong uVar2; + uint *puVar3; + uint uVar4; + + uVar1 = *param_2; + uVar2 = (ulonglong)uVar1 % (ulonglong)*(uint *)(param_1 + 0x28); + uVar4 = (uint)uVar2; + if (*(longlong *)(param_1 + 8) != 0) { + for (puVar3 = *(uint **)(*(longlong *)(param_1 + 8) + uVar2 * 8); + (puVar3 != (uint *)0x0 && (uVar4 == puVar3[8] % *(uint *)(param_1 + 0x28))); + puVar3 = *(uint **)(puVar3 + 4)) { + if (*puVar3 == uVar1) { + *(undefined8 *)(puVar3 + 2) = *param_3; + return puVar3; + } + } + } + puVar3 = FUN_14008ddd0(param_1,param_2,uVar4,uVar1); + *(undefined8 *)(puVar3 + 2) = *param_3; + return puVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008e540.c b/decomp/AgentManager_Release_x64/full/functions/0x14008e540.c new file mode 100644 index 00000000..382a6d0d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008e540.c @@ -0,0 +1,31 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008e540 FUN_14008e540 + * Pseudocode, not original source. */ + +undefined8 * FUN_14008e540(char *param_1,longlong param_2,undefined8 *param_3) + +{ + ulonglong uVar1; + undefined8 *puVar2; + uint uVar3; + uint uVar4; + + uVar3 = (uint)*(ushort *)(param_2 + 0xc) ^ *(uint *)(param_2 + 8); + uVar1 = (ulonglong)uVar3 % (ulonglong)*(uint *)(param_1 + 0x28); + uVar4 = (uint)uVar1; + if (*(longlong *)(param_1 + 8) != 0) { + for (puVar2 = *(undefined8 **)(*(longlong *)(param_1 + 8) + uVar1 * 8); + (puVar2 != (undefined8 *)0x0 && (uVar4 == *(uint *)(puVar2 + 5) % *(uint *)(param_1 + 0x28)) + ); puVar2 = (undefined8 *)puVar2[3]) { + if ((*(uint *)(puVar2 + 1) == *(uint *)(param_2 + 8)) && + (*(ushort *)((longlong)puVar2 + 0xc) == *(ushort *)(param_2 + 0xc))) { + puVar2[2] = *param_3; + return puVar2; + } + } + } + puVar2 = FUN_14008de50(param_1,param_2,uVar4,uVar3); + puVar2[2] = *param_3; + return puVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008e5f0.c b/decomp/AgentManager_Release_x64/full/functions/0x14008e5f0.c new file mode 100644 index 00000000..b5753a83 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008e5f0.c @@ -0,0 +1,104 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008e5f0 FUN_14008e5f0 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x00014008e818) */ +/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ + +void FUN_14008e5f0(longlong param_1,double param_2,undefined8 param_3,undefined *param_4) + +{ + char *pcVar1; + double dVar2; + longlong *plVar3; + longlong *plVar4; + int iVar5; + LPVOID pvVar6; + undefined8 uVar7; + code *pcVar8; + char *pcVar9; + char *pcStack_70; + undefined **local_68; + undefined4 local_60; + undefined2 local_5c; + LPVOID local_58; + char *pcStack_50; + + pcVar1 = (char *)(param_1 + 0x20); + pcVar9 = pcVar1; + pcStack_70 = pcVar1; + if (*(longlong *)(param_1 + 0x40) == 0) { + pvVar6 = (LPVOID)0x0; + } + else { + pvVar6 = *(LPVOID *)(param_1 + 0x30); + } + while( true ) { + while( true ) { + if ((pvVar6 == (LPVOID)0x0) && (pcVar9 == pcVar1)) { + return; + } + if (pvVar6 == (LPVOID)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + plVar3 = *(longlong **)((longlong)pvVar6 + 0x10); + FUN_1400b70f0((double *)(plVar3 + 0x3b),param_2); + FUN_1400b7260((double *)(plVar3 + 0x3d),param_2); + FUN_1400b7210(plVar3 + 0x42,param_2); + dVar2 = (double)plVar3[0x3d]; + iVar5 = (**(code **)(**(longlong **)(param_1 + 0x18) + 0x18))(); + if ((double)iVar5 < dVar2) { + local_68 = Proud::AddrPort::vftable; + local_60 = *(undefined4 *)((longlong)pvVar6 + 8); + local_5c = *(undefined2 *)((longlong)pvVar6 + 0xc); + (**(code **)(**(longlong **)(param_1 + 0x18) + 0x10)) + (*(longlong **)(param_1 + 0x18),&local_68); + } + FUN_1400b7170((double *)(plVar3 + 0x41),(double)plVar3[0x3d],(double)plVar3[0x42]); + if (_DAT_14016f120 < param_2 - (double)plVar3[0x2d]) break; + if (pvVar6 != (LPVOID)0x0) { + pvVar6 = *(LPVOID *)((longlong)pvVar6 + 0x18); + } + } + if ((longlong *)plVar3[2] != (longlong *)0x0) { + FUN_14008bf30((longlong *)plVar3[2],plVar3,param_3,param_4); + } + plVar4 = *(longlong **)(param_1 + 0x78); + FUN_14008cb70((short *)plVar3); + plVar3[0x33] = (longlong)Proud::CFastArray::vftable; + if ((LPVOID)plVar3[0x35] != (LPVOID)0x0) { + if ((longlong *)plVar3[0x34] == (longlong *)0x0) { + FUN_14003e8b0((LPVOID)plVar3[0x35]); + } + else { + (**(code **)(*(longlong *)plVar3[0x34] + 0x18))(); + } + } + pcVar8 = FUN_14008cc00; + uVar7 = 6; + _eh_vector_destructor_iterator_(plVar3 + 3,0x38,6,FUN_14008cc00); + param_4 = pcVar8; + if ((longlong *)plVar3[2] != (longlong *)0x0) { + FUN_14008bf30((longlong *)plVar3[2],plVar3,uVar7,pcVar8); + param_4 = pcVar8; + } + (**(code **)(*plVar4 + 0x18))(plVar4,plVar3); + if (pcVar9 != pcVar1) break; + pcStack_50 = pcStack_70; + if (pvVar6 == (LPVOID)0x0) { + local_58 = (LPVOID)0x0; + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + local_58 = *(LPVOID *)((longlong)pvVar6 + 0x18); + param_3 = 0; + FUN_14008cf20(pcVar1,pvVar6,'\0'); + pvVar6 = local_58; + pcVar9 = pcStack_50; + pcStack_70 = pcStack_50; + } + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008e870.c b/decomp/AgentManager_Release_x64/full/functions/0x14008e870.c new file mode 100644 index 00000000..7809e6eb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008e870.c @@ -0,0 +1,52 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008e870 FUN_14008e870 + * Pseudocode, not original source. */ + +ulonglong FUN_14008e870(longlong param_1,longlong param_2) + +{ + ushort uVar1; + uint uVar2; + uint uVar3; + longlong *plVar4; + longlong *plVar5; + ulonglong uVar6; + ulonglong uVar7; + LPVOID pvVar8; + + uVar1 = *(ushort *)(param_2 + 0xc); + uVar2 = *(uint *)(param_2 + 8); + uVar3 = *(uint *)(param_1 + 0x48); + uVar7 = (ulonglong)(uVar1 ^ uVar2) / (ulonglong)uVar3; + uVar6 = (ulonglong)(uVar1 ^ uVar2) % (ulonglong)uVar3; + if ((*(longlong *)(param_1 + 0x28) != 0) && + (pvVar8 = *(LPVOID *)(*(longlong *)(param_1 + 0x28) + uVar6 * 8), pvVar8 != (LPVOID)0x0)) { + while( true ) { + uVar7 = (ulonglong)*(uint *)((longlong)pvVar8 + 0x28) / (ulonglong)uVar3; + if ((uint)uVar6 != *(uint *)((longlong)pvVar8 + 0x28) % uVar3) break; + if ((*(uint *)((longlong)pvVar8 + 8) == uVar2) && + (*(ushort *)((longlong)pvVar8 + 0xc) == uVar1)) { + if (pvVar8 == (LPVOID)0x0) { + return uVar7; + } + plVar4 = (longlong *)(*(longlong **)((longlong)pvVar8 + 0x10))[2]; + if (plVar4 != (longlong *)0x0) { + FUN_14008bf30(plVar4,*(longlong **)((longlong)pvVar8 + 0x10),(ulonglong)uVar1, + (ulonglong)uVar2); + } + plVar4 = *(longlong **)((longlong)pvVar8 + 0x10); + plVar5 = *(longlong **)(param_1 + 0x78); + FUN_14008db50(plVar4); + (**(code **)(*plVar5 + 0x18))(plVar5,plVar4); + uVar7 = FUN_14008cf20((char *)(param_1 + 0x20),pvVar8,'\0'); + return uVar7; + } + pvVar8 = *(LPVOID *)((longlong)pvVar8 + 0x18); + if (pvVar8 == (LPVOID)0x0) { + return uVar7; + } + } + } + return uVar7; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008e950.c b/decomp/AgentManager_Release_x64/full/functions/0x14008e950.c new file mode 100644 index 00000000..ae8426ad --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008e950.c @@ -0,0 +1,64 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008e950 FUN_14008e950 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x00014008eaa7) */ + +void FUN_14008e950(longlong param_1,undefined8 param_2,undefined8 param_3,undefined *param_4) + +{ + longlong *plVar1; + longlong *plVar2; + LPVOID pvVar3; + LPVOID pvVar4; + undefined8 uVar5; + code *pcVar6; + + if (*(longlong *)(param_1 + 0x40) == 0) { + pvVar4 = (LPVOID)0x0; + } + else { + pvVar4 = *(LPVOID *)(param_1 + 0x30); + } + while( true ) { + if (pvVar4 == (LPVOID)0x0) { + return; + } + if (pvVar4 == (LPVOID)0x0) break; + plVar1 = *(longlong **)((longlong)pvVar4 + 0x10); + if ((longlong *)plVar1[2] != (longlong *)0x0) { + FUN_14008bf30((longlong *)plVar1[2],plVar1,param_3,param_4); + } + plVar2 = *(longlong **)(param_1 + 0x78); + FUN_14008cb70((short *)plVar1); + plVar1[0x33] = (longlong)Proud::CFastArray::vftable; + if ((LPVOID)plVar1[0x35] != (LPVOID)0x0) { + if ((longlong *)plVar1[0x34] == (longlong *)0x0) { + FUN_14003e8b0((LPVOID)plVar1[0x35]); + } + else { + (**(code **)(*(longlong *)plVar1[0x34] + 0x18))(); + } + } + pcVar6 = FUN_14008cc00; + uVar5 = 6; + _eh_vector_destructor_iterator_(plVar1 + 3,0x38,6,FUN_14008cc00); + param_4 = pcVar6; + if ((longlong *)plVar1[2] != (longlong *)0x0) { + FUN_14008bf30((longlong *)plVar1[2],plVar1,uVar5,pcVar6); + param_4 = pcVar6; + } + (**(code **)(*plVar2 + 0x18))(plVar2,plVar1); + if (pvVar4 == (LPVOID)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + pvVar3 = *(LPVOID *)((longlong)pvVar4 + 0x18); + param_3 = 0; + FUN_14008cf20((char *)(param_1 + 0x20),pvVar4,'\0'); + pvVar4 = pvVar3; + } + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008eae0.c b/decomp/AgentManager_Release_x64/full/functions/0x14008eae0.c new file mode 100644 index 00000000..1dc3d2e1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008eae0.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008eae0 FUN_14008eae0 + * Pseudocode, not original source. */ + +void FUN_14008eae0(char *param_1) + +{ + longlong *plVar1; + longlong *plVar2; + longlong lVar3; + + plVar1 = *(longlong **)(param_1 + 0x50); + if (*(longlong *)(param_1 + 0x20) == 0) { + lVar3 = 0; + } + else { + lVar3 = *(longlong *)(param_1 + 0x10); + } + for (; lVar3 != 0; lVar3 = *(longlong *)(lVar3 + 0x18)) { + if (*(longlong *)(lVar3 + 0x10) != 0) { + plVar2 = *(longlong **)(lVar3 + 0x10); + FUN_14008db50(plVar2); + (**(code **)(*plVar1 + 0x18))(plVar1,plVar2); + } + } + FUN_14004e320(param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008eb60.c b/decomp/AgentManager_Release_x64/full/functions/0x14008eb60.c new file mode 100644 index 00000000..ccfa1872 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008eb60.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008eb60 FUN_14008eb60 + * Pseudocode, not original source. */ + +undefined8 FUN_14008eb60(char *param_1,longlong param_2,undefined8 *param_3) + +{ + uint uVar1; + longlong lVar2; + ulonglong uVar3; + undefined8 *puVar4; + + uVar1 = *(uint *)(param_1 + 0x28); + uVar3 = (ulonglong)((uint)*(ushort *)(param_2 + 0xc) ^ *(uint *)(param_2 + 8)) % (ulonglong)uVar1; + if (*(longlong *)(param_1 + 8) != 0) { + for (lVar2 = *(longlong *)(*(longlong *)(param_1 + 8) + uVar3 * 8); + (lVar2 != 0 && ((uint)uVar3 == *(uint *)(lVar2 + 0x28) % uVar1)); + lVar2 = *(longlong *)(lVar2 + 0x18)) { + if ((*(uint *)(lVar2 + 8) == *(uint *)(param_2 + 8)) && + (*(ushort *)(lVar2 + 0xc) == *(ushort *)(param_2 + 0xc))) { + return (ulonglong)*(uint *)(lVar2 + 0x28) / (ulonglong)uVar1 & 0xffffff00; + } + } + } + puVar4 = FUN_14007e690(param_1,param_2); + *puVar4 = *param_3; + return CONCAT71((int7)((ulonglong)puVar4 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008ec10.c b/decomp/AgentManager_Release_x64/full/functions/0x14008ec10.c new file mode 100644 index 00000000..9df0677d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008ec10.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008ec10 FUN_14008ec10 + * Pseudocode, not original source. */ + +undefined8 * +FUN_14008ec10(longlong *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 *puVar1; + + puVar1 = (undefined8 *) + (**(code **)(*param_1 + 8))(param_1,0x220,param_3,param_4,0xfffffffffffffffe); + if (puVar1 != (undefined8 *)0x0) { + FUN_14008e340(puVar1); + } + return puVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008ec50.c b/decomp/AgentManager_Release_x64/full/functions/0x14008ec50.c new file mode 100644 index 00000000..fcd58375 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008ec50.c @@ -0,0 +1,27 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008ec50 FUN_14008ec50 + * Pseudocode, not original source. */ + +void FUN_14008ec50(longlong *param_1,char *param_2,SIZE_T param_3) + +{ + char *pcVar1; + longlong lVar2; + + pcVar1 = param_2; + if (*(longlong *)(param_2 + 0x20) == 0) { + lVar2 = 0; + } + else { + lVar2 = *(longlong *)(param_2 + 0x10); + } + for (; lVar2 != 0; lVar2 = *(longlong *)(lVar2 + 0x10)) { + FUN_14007b390(*(longlong *)(lVar2 + 8),pcVar1,param_3); + } + FUN_14008ddb0(param_2); + /* WARNING: Could not recover jumptable at 0x00014008ecb6. Too many branches */ + /* WARNING: Treating indirect jump as call */ + (**(code **)(*param_1 + 0x18))(param_1,param_2); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008ecc0.c b/decomp/AgentManager_Release_x64/full/functions/0x14008ecc0.c new file mode 100644 index 00000000..57359e2d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008ecc0.c @@ -0,0 +1,122 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008ecc0 FUN_14008ecc0 + * Pseudocode, not original source. */ + +void FUN_14008ecc0(longlong param_1,longlong *param_2,SIZE_T param_3) + +{ + char *pcVar1; + longlong lVar2; + SIZE_T *pSVar3; + undefined8 *puVar4; + int iVar5; + longlong lVar6; + longlong lVar7; + SIZE_T SVar8; + undefined8 uVar9; + longlong lVar10; + exception local_70 [72]; + + lVar10 = 0; + if (*(longlong *)(param_1 + 0x20) != 0) { + lVar10 = *(longlong *)(param_1 + 0x10); + } + do { + if (lVar10 == 0) { + return; + } + if (*(longlong *)(lVar10 + 0x10) != 0) { + pcVar1 = *(char **)(lVar10 + 0x10); + lVar7 = 0; + if (*(longlong *)(pcVar1 + 0x20) != 0) { + lVar7 = *(longlong *)(pcVar1 + 0x10); + } + for (; lVar7 != 0; lVar7 = *(longlong *)(lVar7 + 0x10)) { + lVar2 = *(longlong *)(lVar7 + 8); + FUN_14003d040((int *)&DAT_1401783a8); + *(undefined4 *)(lVar2 + 0x50) = 0; + *(undefined8 *)(lVar2 + 0x58) = 0; + if (*(int *)(lVar2 + 0x18) != 0) { + if (*(int *)(lVar2 + 0x1c) < 0) { + iVar5 = FUN_1400c88f0(lVar2,0); + SVar8 = (SIZE_T)iVar5; + pSVar3 = *(SIZE_T **)(lVar2 + 8); + if (*(int *)(lVar2 + 0x1c) == 0) { + if (pSVar3 == (SIZE_T *)0x0) { + lVar6 = FUN_14003e840(SVar8); + } + else { + param_3 = *pSVar3; + lVar6 = (**(code **)(param_3 + 8))(); + } + } + else { + uVar9 = *(undefined8 *)(lVar2 + 0x10); + if (pSVar3 == (SIZE_T *)0x0) { + lVar6 = FUN_14003e870(uVar9,SVar8); + } + else { + lVar6 = (**(code **)(*pSVar3 + 0x10))(); + param_3 = SVar8; + } + if (lVar6 == 0) { + FUN_14003db10(local_70,L"Memory allocation failure!",param_3,uVar9); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_70,(ThrowInfo *)&DAT_14016c210); + } + } + *(longlong *)(lVar2 + 0x10) = lVar6; + *(int *)(lVar2 + 0x1c) = iVar5; + } + *(undefined4 *)(lVar2 + 0x18) = 0; + } + if (*(int *)(lVar2 + 0x40) != 0) { + if (*(int *)(lVar2 + 0x44) < 0) { + iVar5 = FUN_140029fb0(lVar2 + 0x28,0); + SVar8 = (SIZE_T)iVar5; + pSVar3 = *(SIZE_T **)(lVar2 + 0x30); + if (*(int *)(lVar2 + 0x44) == 0) { + if (pSVar3 == (SIZE_T *)0x0) { + lVar6 = FUN_14003e840(SVar8); + } + else { + param_3 = *pSVar3; + lVar6 = (**(code **)(param_3 + 8))(); + } + } + else { + uVar9 = *(undefined8 *)(lVar2 + 0x38); + if (pSVar3 == (SIZE_T *)0x0) { + lVar6 = FUN_14003e870(uVar9,SVar8); + } + else { + lVar6 = (**(code **)(*pSVar3 + 0x10))(); + param_3 = SVar8; + } + if (lVar6 == 0) { + FUN_14003db10(local_70,L"Memory allocation failure!",param_3,uVar9); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_70,(ThrowInfo *)&DAT_14016c210); + } + } + *(longlong *)(lVar2 + 0x38) = lVar6; + *(int *)(lVar2 + 0x44) = iVar5; + } + *(undefined4 *)(lVar2 + 0x40) = 0; + } + puVar4 = DAT_1401783a0; + if ((*(short *)(lVar2 + -8) != 0x1de6) || (*(longlong *)(lVar2 + 0x60) != 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + *(undefined8 *)(lVar2 + 0x60) = *DAT_1401783a0; + *puVar4 = (short *)(lVar2 + -8); + FUN_14003d0d0(0x1401783a8); + } + FUN_14008ddb0(pcVar1); + (**(code **)(*param_2 + 0x18))(param_2); + } + lVar10 = *(longlong *)(lVar10 + 0x18); + } while( true ); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008ef20.c b/decomp/AgentManager_Release_x64/full/functions/0x14008ef20.c new file mode 100644 index 00000000..02a410a4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008ef20.c @@ -0,0 +1,48 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008ef20 FUN_14008ef20 + * Pseudocode, not original source. */ + +undefined1 * +FUN_14008ef20(longlong *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined1 *puVar1; + ulonglong uVar2; + longlong lVar3; + float fVar4; + exception local_50 [72]; + + puVar1 = (undefined1 *) + (**(code **)(*param_1 + 8))(param_1,0x78,param_3,param_4,0xfffffffffffffffe); + if (puVar1 != (undefined1 *)0x0) { + FUN_14008ded0(puVar1); + } + *(undefined4 *)(puVar1 + 0x2c) = 0x3dcccccd; + *(undefined4 *)(puVar1 + 0x30) = 0x33d6bf95; + *(undefined4 *)(puVar1 + 0x34) = 0x40066666; + fVar4 = (float)*(uint *)(puVar1 + 0x28) * 2.1; + lVar3 = 0; + if ((9.223372e+18 < fVar4) && (fVar4 = fVar4 - 9.223372e+18, fVar4 < 9.223372e+18)) { + lVar3 = -0x8000000000000000; + } + *(longlong *)(puVar1 + 0x38) = (longlong)fVar4 + lVar3; + fVar4 = (float)*(uint *)(puVar1 + 0x28) * 1e-07; + lVar3 = 0; + if ((9.223372e+18 < fVar4) && (fVar4 = fVar4 - 9.223372e+18, fVar4 < 9.223372e+18)) { + lVar3 = -0x8000000000000000; + } + uVar2 = (longlong)fVar4 + lVar3; + if ((ulonglong)((longlong)fVar4 + lVar3) < 0x11) { + uVar2 = 0; + } + *(ulonglong *)(puVar1 + 0x40) = uVar2; + if (*(longlong *)(puVar1 + 0x20) != 0) { + FUN_14003db10(local_50,(wchar_t *)PTR_u_Collection_object_can_use_fast_h_14016f1d0,param_3, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_50,(ThrowInfo *)&DAT_14016c210); + } + *(longlong **)(puVar1 + 0x50) = param_1; + return puVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008f040.c b/decomp/AgentManager_Release_x64/full/functions/0x14008f040.c new file mode 100644 index 00000000..44fea3e9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008f040.c @@ -0,0 +1,118 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008f040 FUN_14008f040 + * Pseudocode, not original source. */ + +void FUN_14008f040(longlong *param_1,undefined8 param_2,undefined8 param_3,ulonglong param_4, + longlong param_5,double param_6,uint *param_7) + +{ + ushort uVar1; + longlong lVar2; + int iVar3; + uint uVar4; + ulonglong uVar5; + longlong *plVar6; + longlong *plVar7; + longlong *plVar8; + undefined8 uVar9; + undefined2 uVar10; + longlong **pplVar11; + ulonglong uVar12; + ulonglong uVar13; + longlong *local_78; + exception local_70 [88]; + + uVar10 = (undefined2)param_3; + uVar9 = param_2; + uVar12 = param_4; + uVar5 = FUN_140041850(param_4); + if (((char)uVar5 != '\0') && (iVar3 = FUN_140096ef0(param_5,uVar9,param_3,uVar12), 0 < iVar3)) { + uVar1 = *(ushort *)(param_4 + 0xc); + pplVar11 = (longlong **)(ulonglong)uVar1; + uVar4 = *(uint *)(param_4 + 8); + uVar13 = (ulonglong)uVar4; + uVar12 = (ulonglong)(uVar1 ^ uVar4) % (ulonglong)*(uint *)(param_1 + 9); + uVar5 = uVar12; + if (param_1[5] != 0) { + lVar2 = *(longlong *)(param_1[5] + uVar12 * 8); + while ((lVar2 != 0 && + (uVar5 = (ulonglong)*(uint *)(lVar2 + 0x28) % (ulonglong)*(uint *)(param_1 + 9), + (int)uVar12 == (int)uVar5))) { + if ((*(uint *)(lVar2 + 8) == uVar4) && (*(ushort *)(lVar2 + 0xc) == uVar1)) { + plVar6 = *(longlong **)(lVar2 + 0x10); + goto LAB_14008f158; + } + lVar2 = *(longlong *)(lVar2 + 0x18); + } + } + plVar6 = FUN_14008ec10((longlong *)param_1[0xf],uVar5,pplVar11,uVar13); + pplVar11 = &local_78; + plVar6[0x31] = param_1[0xf]; + *(undefined4 *)((longlong)plVar6 + 0x1bc) = 1; + plVar6[0x32] = (longlong)param_1; + *(undefined4 *)(plVar6 + 0x2f) = *(undefined4 *)(param_4 + 8); + *(undefined2 *)((longlong)plVar6 + 0x17c) = *(undefined2 *)(param_4 + 0xc); + *(undefined2 *)(plVar6 + 0x30) = uVar10; + plVar6[0x2d] = (longlong)param_6; + uVar5 = param_4; + local_78 = plVar6; + FUN_14008eb60((char *)(param_1 + 4),param_4,pplVar11); +LAB_14008f158: + if (((int)plVar6[0x2f] != *(int *)(param_4 + 8)) || + (*(short *)((longlong)plVar6 + 0x17c) != *(short *)(param_4 + 0xc))) { + FUN_14003db10(local_70,L"PacketQueue consistency failed!",pplVar11,uVar13); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_70,(ThrowInfo *)&DAT_14016c210); + } + uVar4 = *param_7; + if (((int)uVar4 < 0) || (5 < (int)uVar4)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (DAT_14016f144 == '\0') { + uVar4 = 0; + } + *param_7 = uVar4; + if (5 < uVar4) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(0,uVar5,pplVar11,uVar13); + } + plVar8 = plVar6 + (longlong)(int)uVar4 * 7 + 3; + iVar3 = (int)param_2; + if ((*(longlong *)(param_7 + 2) != 0) && (iVar3 != 0)) { + if (*(char *)((longlong)param_7 + 0x19) == '\0') { + plVar7 = (longlong *)plVar8[3]; + } + else { + plVar7 = (longlong *)*plVar8; + } + for (; plVar7 != (longlong *)0x0; plVar7 = (longlong *)plVar7[1]) { + if (((plVar7[8] != 0) && (*(longlong *)(param_7 + 2) == plVar7[8])) && + (iVar3 == *(int *)((longlong)plVar7 + 0x4c))) goto LAB_14008f23b; + } + } + plVar7 = (longlong *)FUN_14008cdf0(param_1 + 0x10); + if (*(char *)((longlong)param_7 + 0x19) == '\0') { + plVar8 = plVar8 + 3; + } + FUN_14008c190(plVar8,plVar7,pplVar11,uVar13); + plVar7[8] = *(longlong *)(param_7 + 2); + uVar4 = param_7[5]; + *(int *)((longlong)plVar7 + 0x4c) = iVar3; + *(uint *)(plVar7 + 9) = uVar4; +LAB_14008f23b: + thunk_FUN_140097060(param_5,(longlong)(plVar7 + 3),(SIZE_T)pplVar11,uVar13); + if ((int)plVar6[0x2b] + (int)plVar6[0x28] + (int)plVar6[0x24] + (int)plVar6[0x21] + + (int)plVar6[0x1d] + (int)plVar6[0x1a] + (int)plVar6[0x16] + (int)plVar6[0x13] + + (int)plVar6[0xf] + (int)plVar6[0xc] + (int)plVar6[8] + (int)plVar6[5] + (int)plVar6[0x36] < + 1) { + FUN_14003db10(local_70,L"PacketQueue consistency 2 failed!",pplVar11,uVar13); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_70,(ThrowInfo *)&DAT_14016c210); + } + plVar6[0x2d] = (longlong)param_6; + FUN_14008c810(param_1,plVar6,param_6,uVar13); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008f330.c b/decomp/AgentManager_Release_x64/full/functions/0x14008f330.c new file mode 100644 index 00000000..f21230fc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008f330.c @@ -0,0 +1,378 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008f330 FUN_14008f330 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +undefined8 +FUN_14008f330(undefined8 *param_1,longlong param_2,uint param_3,longlong param_4,char param_5, + longlong param_6,undefined8 *param_7,longlong *param_8) + +{ + uint uVar1; + undefined8 *puVar2; + char cVar3; + int iVar4; + uint uVar5; + undefined8 uVar6; + longlong lVar7; + longlong *plVar8; + char *pcVar9; + uint *puVar10; + undefined2 *puVar11; + char cVar12; + uint *puVar13; + longlong lVar14; + longlong lVar15; + uint *puVar16; + uint *puVar17; + ulonglong uVar18; + ulonglong uVar19; + char **ppcVar20; + SIZE_T SVar21; + longlong **pplVar22; + uint *puVar23; + uint uVar24; + undefined1 auStack_108 [32]; + uint local_e8; + longlong *local_d8; + uint local_d0 [2]; + longlong local_c8; + uint *local_c0; + int local_b8; + int local_b4; + uint local_a8; + longlong local_a0; + uint local_98; + undefined8 *local_90; + char *local_88; + undefined8 local_80; + ushort local_78; + ushort local_76; + uint local_74; + uint local_70; + uint local_6c; + ulonglong local_68; + + local_80 = 0xfffffffffffffffe; + local_68 = DAT_14016f5a0 ^ (ulonglong)auStack_108; + uVar19 = (ulonglong)param_3; + local_90 = param_7; + local_a8 = param_3; + local_a0 = param_4; + FUN_140074fb0(local_d0); + uVar18 = uVar19; + FUN_140074c30((longlong)local_d0,param_2,uVar19,param_4); + FUN_140075110((int *)local_d0,uVar19,uVar18,param_4); + FUN_140074bb0((int *)local_d0,0,uVar18,param_4); + uVar19 = 0x10; + uVar6 = FUN_140074ee0(local_d0,(undefined8 *)&local_78,0x10); + if ((char)uVar6 == '\0') { + FUN_140005dd0(param_8,L"UDP frag header missing!",uVar19,param_4); + local_d8 = &local_c8; + FUN_14008a320(&local_c8); + if (local_c0 == (uint *)0x0) { + return 2; + } + if (-1 < local_b4) { + return 2; + } + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (local_78 == 0xabcd) { + if (((((int)local_74 < 1) || + (iVar4 = (**(code **)(*(longlong *)*param_1 + 8))(), iVar4 < (int)local_74)) || + (uVar19 = (ulonglong)local_6c, (int)local_6c < 0)) || + ((int)local_74 / (int)DAT_14016f118 < (int)local_6c)) { + uVar5 = (**(code **)(*(longlong *)*param_1 + 8))(); + local_e8 = local_6c; + FUN_140029b80(param_8,L"UDP frag length is wrong #1! packetlength=%d, maxlength=%d, fragID=%d" + ,(ulonglong)local_74,(ulonglong)uVar5); + local_d8 = &local_c8; + FUN_14008a320(&local_c8); + if (local_c0 == (uint *)0x0) { + return 2; + } + if (-1 < local_b4) { + return 2; + } + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (local_78 != 0xabce) goto LAB_14008f50f; + } + else if (local_78 != 0xabce) { + FUN_140029b80(param_8,L"Cannot identify UDP fragment nor full packet! fragheaderSplitter=%u", + (ulonglong)local_78,param_4); + local_d8 = &local_c8; + FUN_14008a320(&local_c8); + if (local_c0 == (uint *)0x0) { + return 2; + } + if (-1 < local_b4) { + return 2; + } + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (((int)local_74 < 1) || + (iVar4 = (**(code **)(*(longlong *)*param_1 + 8))(), iVar4 < (int)local_74)) { + FUN_140005dd0(param_8,L"UDP full packet length is wrong!",uVar19,param_4); + local_d8 = &local_c8; + FUN_14008a320(&local_c8); + if (local_c0 == (uint *)0x0) { + return 2; + } + if (-1 < local_b4) { + return 2; + } + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } +LAB_14008f50f: + cVar3 = (**(code **)(*(longlong *)*param_1 + 0x20))(); + uVar5 = local_6c; + puVar13 = local_c0; + lVar15 = local_c8; + cVar12 = (char)(local_76 >> 8); + if ((((cVar12 == '\0') || (param_5 == '\0')) || (cVar12 == param_5)) && + ((((char)local_76 == '\0' || (cVar3 == '\0')) || ((char)local_76 == cVar3)))) { + local_98 = DAT_14016f118 * local_6c; + uVar1 = local_74 - local_98; + if ((int)DAT_14016f118 < (int)(local_74 - local_98)) { + uVar1 = DAT_14016f118; + } + ppcVar20 = (char **)(ulonglong)uVar1; + if (local_c8 == 0) { + if (local_c0 == (uint *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420((ulonglong)local_98,(ulonglong)local_76,ppcVar20,param_4); + } + } + else { + local_b8 = *(int *)(local_c8 + 0x18); + } + uVar24 = local_b8 - ((int)(local_d0[0] + ((int)local_d0[0] >> 0x1f & 7U)) >> 3); + if ((local_78 == 0xabcd) && (uVar1 != uVar24)) { + FUN_140029b80(param_8, + L"UDP frag length is wrong #2! desiredFragLength=%d, fragPayloadLength=%d", + ppcVar20,(ulonglong)uVar24); + local_d8 = &local_c8; + FUN_14008a320(&local_c8); + if (local_c0 == (uint *)0x0) { + return 2; + } + if (-1 < local_b4) { + return 2; + } + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_d8 = param_1 + 1; + lVar14 = local_a0; + lVar7 = FUN_14008c2b0((longlong)local_d8,local_a0); + if (lVar7 == 0) { + plVar8 = (longlong *)(**(code **)(*(longlong *)*param_1 + 0x18))(); + pcVar9 = FUN_14008ef20(plVar8,lVar14,ppcVar20,param_4); + *(longlong *)(pcVar9 + 0x70) = param_6; + ppcVar20 = &local_88; + lVar14 = local_a0; + local_88 = pcVar9; + FUN_14008e540((char *)local_d8,local_a0,ppcVar20); + lVar15 = local_c8; + puVar13 = local_c0; + uVar5 = local_6c; + } + else { + pcVar9 = *(char **)(lVar7 + 0x10); + } + puVar2 = local_90; + if (local_78 == 0xabcd) { + SVar21 = (SIZE_T)local_70; + puVar23 = (uint *)(SVar21 % (ulonglong)*(uint *)(pcVar9 + 0x28)); + puVar17 = (uint *)0x0; + puVar13 = puVar23; + puVar10 = puVar17; + if ((*(longlong *)(pcVar9 + 8) != 0) && + (puVar16 = *(uint **)(*(longlong *)(pcVar9 + 8) + (longlong)puVar23 * 8), + puVar16 != (uint *)0x0)) { + while (puVar13 = (uint *)((ulonglong)puVar16[8] % (ulonglong)*(uint *)(pcVar9 + 0x28)), + puVar10 = puVar17, (int)puVar23 == (int)puVar13) { + puVar10 = puVar16; + if ((*puVar16 == local_70) || + (puVar16 = *(uint **)(puVar16 + 4), puVar10 = puVar17, puVar16 == (uint *)0x0)) break; + } + } + iVar4 = 0; + if (puVar10 == (uint *)0x0) { + plVar8 = (longlong *)FUN_14008d1f0(); + local_d8 = plVar8; + FUN_14002a050((longlong)(plVar8 + 5),local_74,SVar21); + if (0 < (int)local_74) { + iVar4 = (int)(local_74 - 1) / (int)DAT_14016f118 + 1; + } + FUN_14007a930((longlong)plVar8,iVar4,SVar21); + plVar8[0xb] = param_6; + puVar13 = puVar17; + if ((int)plVar8[3] != 0) { + puVar13 = (uint *)plVar8[2]; + } + memset(puVar13,0,(longlong)(int)plVar8[3]); + pplVar22 = &local_d8; + puVar13 = &local_70; + puVar10 = FUN_14008e4a0(pcVar9,puVar13,pplVar22); + uVar5 = local_6c; + } + else { + plVar8 = *(longlong **)(puVar10 + 2); + pplVar22 = (longlong **)(ulonglong)*(uint *)(plVar8 + 8); + if (*(uint *)(plVar8 + 8) != local_74) { + FUN_140029b80(param_8, + L"UDP frag length is wrong #3! assembledDataCount=%d, packetLength=%d", + pplVar22,(ulonglong)local_74); + SVar21 = 0; + FUN_14009d050(pcVar9,puVar10,'\0'); + FUN_14007b390((longlong)plVar8,puVar10,SVar21); + local_d8 = &local_c8; + FUN_14008a320(&local_c8); + if (local_c0 == (uint *)0x0) { + return 2; + } + if (-1 < local_b4) { + return 2; + } + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + } + uVar1 = *(uint *)(plVar8 + 3); + if ((int)uVar1 <= (int)uVar5) { + FUN_140005dd0(param_8,L"UDP FragID is wrong!",pplVar22,puVar23); + local_d8 = &local_c8; + FUN_14008a320(&local_c8); + if ((local_c0 != (uint *)0x0) && (local_b4 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return 2; + } + if ((int)plVar8[8] < (int)(uVar24 + local_98)) { + FUN_140005dd0(param_8,L"UDP Frag Payload Length is wrong!",pplVar22,puVar23); + local_d8 = &local_c8; + FUN_14008a320(&local_c8); + if (local_c0 == (uint *)0x0) { + return 2; + } + if (-1 < local_b4) { + return 2; + } + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (((int)uVar5 < 0) || ((int)uVar1 <= (int)uVar5)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0((ulonglong)uVar1,puVar13,pplVar22,puVar23); + } + lVar15 = plVar8[2]; + if (*(char *)(lVar15 + (int)uVar5) == '\0') { + if ((int)uVar1 <= (int)uVar5) { + /* WARNING: Subroutine does not return */ + FUN_14003def0((ulonglong)uVar1,lVar15,pplVar22,puVar23); + } + *(undefined1 *)(lVar15 + (int)uVar5) = 1; + *(int *)(plVar8 + 10) = (int)plVar8[10] + 1; + *(double *)(pcVar9 + 0x60) = (double)(int)local_a8 + *(double *)(pcVar9 + 0x60); + *(longlong *)(pcVar9 + 0x70) = param_6; + puVar13 = local_c0; + if (local_c0 == (uint *)0x0) { + if (local_c8 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,lVar15,pplVar22,puVar23); + } + puVar13 = puVar17; + if (*(int *)(local_c8 + 0x18) != 0) { + puVar13 = *(uint **)(local_c8 + 0x10); + } + } + if ((int)plVar8[8] != 0) { + puVar17 = (uint *)plVar8[7]; + } + FUN_140006fb0((undefined8 *)((longlong)puVar17 + (longlong)(int)local_98), + (undefined8 *) + ((longlong)((int)(local_d0[0] + ((int)local_d0[0] >> 0x1f & 7U)) >> 3) + + (longlong)puVar13),(longlong)(int)uVar24); + } + if ((int)plVar8[3] == (int)plVar8[10]) { + *(undefined4 *)(local_90 + 2) = *(undefined4 *)(local_a0 + 8); + *(undefined2 *)((longlong)local_90 + 0x14) = *(undefined2 *)(local_a0 + 0xc); + *local_90 = plVar8; + if (puVar10 == (uint *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + FUN_14009d050(pcVar9,puVar10,'\0'); + local_d8 = &local_c8; + FUN_14008a320(&local_c8); + if (local_c0 == (uint *)0x0) { + return 0; + } + if (-1 < local_b4) { + return 0; + } + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + } + else if ((local_78 == 0xabce) && (0 < (int)uVar24)) { + puVar17 = (uint *)0x0; + if (puVar13 == (uint *)0x0) { + if (lVar15 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0xabcd,lVar14,ppcVar20,param_4); + } + puVar13 = puVar17; + if (*(int *)(lVar15 + 0x18) != 0) { + puVar13 = *(uint **)(lVar15 + 0x10); + } + } + *(double *)(pcVar9 + 0x60) = (double)(int)local_a8 + *(double *)(pcVar9 + 0x60); + *(longlong *)(pcVar9 + 0x70) = param_6; + *(undefined4 *)(local_90 + 2) = *(undefined4 *)(local_a0 + 8); + *(undefined2 *)((longlong)local_90 + 0x14) = *(undefined2 *)(local_a0 + 0xc); + puVar11 = FUN_14008d1f0(); + FUN_14002a050((longlong)(puVar11 + 0x14),uVar24,(SIZE_T)ppcVar20); + if (*(int *)(puVar11 + 0x20) != 0) { + puVar17 = *(uint **)(puVar11 + 0x1c); + } + FUN_140006fb0((undefined8 *)puVar17, + (undefined8 *) + ((longlong)((int)(local_d0[0] + ((int)local_d0[0] >> 0x1f & 7U)) >> 3) + + (longlong)puVar13),(longlong)(int)uVar24); + *puVar2 = puVar11; + local_d8 = &local_c8; + FUN_14008a320(&local_c8); + if ((local_c0 != (uint *)0x0) && (local_b4 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return 0; + } + local_d8 = &local_c8; + FUN_14008a320(&local_c8); + if ((local_c0 != (uint *)0x0) && (local_b4 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + } + else { + local_d8 = &local_c8; + FUN_14008a320(&local_c8); + if ((local_c0 != (uint *)0x0) && (local_b4 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + } + return 1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14008fb00.c b/decomp/AgentManager_Release_x64/full/functions/0x14008fb00.c new file mode 100644 index 00000000..7aea4dc1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14008fb00.c @@ -0,0 +1,371 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14008fb00 FUN_14008fb00 + * Pseudocode, not original source. */ + +/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ + +void FUN_14008fb00(undefined8 *param_1,undefined8 param_2,SIZE_T param_3) + +{ + char *pcVar1; + int iVar2; + longlong lVar3; + SIZE_T *pSVar4; + uint uVar5; + undefined8 *puVar6; + char cVar7; + uint uVar8; + uint uVar9; + int iVar10; + longlong lVar11; + longlong *plVar12; + uint uVar13; + int iVar14; + LPVOID pvVar15; + SIZE_T SVar16; + ulonglong uVar17; + undefined8 uVar18; + char *pcVar19; + bool bVar20; + bool bVar21; + double dVar22; + LPVOID pvVar23; + LPVOID pvVar24; + char *pcVar25; + LPVOID pvVar26; + LPVOID pvVar27; + char *pcVar28; + undefined *puVar29; + exception local_90 [88]; + + dVar22 = (double)(**(code **)(*(longlong *)*param_1 + 0x10))(); + pcVar1 = (char *)(param_1 + 1); + pcVar25 = pcVar1; + if (param_1[5] == 0) { + pvVar15 = (LPVOID)0x0; + } + else { + pvVar15 = (LPVOID)param_1[3]; + } + do { + pvVar23 = pvVar15; + if ((pvVar23 == (LPVOID)0x0) && (pcVar25 == pcVar1)) { + return; + } + if (pvVar23 == (LPVOID)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + pcVar19 = *(char **)((longlong)pvVar23 + 0x10); + pvVar24 = pvVar23; + pvVar15 = (LPVOID)0x0; + pcVar28 = pcVar19; + if (*(longlong *)(pcVar19 + 0x20) != 0) { + pvVar15 = *(LPVOID *)(pcVar19 + 0x10); + } + while ((pvVar26 = pvVar15, pvVar15 = (LPVOID)0x0, pvVar26 != (LPVOID)0x0 || + (pcVar19 != *(char **)((longlong)pvVar23 + 0x10)))) { + if (pvVar26 == (LPVOID)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + lVar3 = *(longlong *)((longlong)pvVar26 + 8); + if (dVar22 - *(double *)(lVar3 + 0x58) <= _DAT_14016f128) { + if (pvVar26 != (LPVOID)0x0) { + pvVar15 = *(LPVOID *)((longlong)pvVar26 + 0x10); + } + } + else { + puVar29 = &DAT_1401783a8; + pvVar27 = pvVar26; + FUN_14003d040((int *)&DAT_1401783a8); + *(undefined4 *)(lVar3 + 0x50) = 0; + *(undefined8 *)(lVar3 + 0x58) = 0; + iVar10 = *(int *)(lVar3 + 0x18); + if (iVar10 != 0) { + uVar9 = *(uint *)(lVar3 + 0x1c); + uVar17 = (ulonglong)uVar9; + if ((int)uVar9 < 0) { + iVar2 = *(int *)(lVar3 + 0x24); + if (iVar2 == 0) { + uVar8 = (int)(iVar10 + (iVar10 >> 0x1f & 7U)) >> 3; + uVar13 = 0x400; + if ((int)uVar8 < 0x400) { + uVar13 = uVar8; + } + pvVar15 = (LPVOID)0x4; + if (4 < (int)uVar13) { + pvVar15 = (LPVOID)(ulonglong)uVar13; + } +LAB_14008fc73: + iVar10 = *(int *)(lVar3 + 0x20); + iVar14 = (int)pvVar15; + bVar21 = SBORROW4(iVar10,iVar14); + iVar2 = iVar10 - iVar14; + bVar20 = iVar10 == iVar14; + } + else { + if (iVar2 == 1) { + uVar8 = (int)(iVar10 + (iVar10 >> 0x1f & 7U)) >> 3; + uVar13 = 0x10; + if (0x10 < (int)uVar8) { + uVar13 = uVar8; + } + pvVar15 = (LPVOID)(ulonglong)uVar13; + if (uVar13 < 0x41) { + pvVar15 = (LPVOID)0x40; + } + goto LAB_14008fc73; + } + if (iVar2 != 2) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + iVar10 = *(int *)(lVar3 + 0x20); + bVar21 = false; + bVar20 = iVar10 == 0; + iVar2 = iVar10; + } + iVar14 = (int)pvVar15; + if (!bVar20 && bVar21 == iVar2 < 0) { + iVar14 = iVar10; + } + plVar12 = *(longlong **)(lVar3 + 8); + if (uVar9 == 0) { + if (plVar12 == (longlong *)0x0) { + lVar11 = FUN_14003e840((longlong)iVar14); + } + else { + lVar11 = (**(code **)(*plVar12 + 8))(plVar12,(longlong)iVar14); + } + } + else { + uVar18 = *(undefined8 *)(lVar3 + 0x10); + if (plVar12 == (longlong *)0x0) { + lVar11 = FUN_14003e870(uVar18,(longlong)iVar14); + } + else { + uVar17 = (ulonglong)iVar14; + lVar11 = (**(code **)(*plVar12 + 0x10)) + (plVar12,uVar18,uVar17,uVar18,pvVar24,pcVar25,pvVar27,pcVar28, + puVar29,1); + } + if (lVar11 == 0) { + FUN_14003db10(local_90,L"Memory allocation failure!",uVar17,uVar18); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_90,(ThrowInfo *)&DAT_14016c210); + } + } + *(longlong *)(lVar3 + 0x10) = lVar11; + *(int *)(lVar3 + 0x1c) = iVar14; + } + *(undefined4 *)(lVar3 + 0x18) = 0; + } + uVar9 = 0; + iVar10 = *(int *)(lVar3 + 0x40); + if (iVar10 != 0) { + uVar13 = *(uint *)(lVar3 + 0x44); + uVar17 = (ulonglong)uVar13; + if ((int)uVar13 < 0) { + iVar2 = *(int *)(lVar3 + 0x4c); + if (iVar2 == 0) { + uVar9 = (int)(iVar10 + (iVar10 >> 0x1f & 7U)) >> 3; + uVar8 = 0x400; + if ((int)uVar9 < 0x400) { + uVar8 = uVar9; + } + uVar9 = 4; + if (4 < (int)uVar8) { + uVar9 = uVar8; + } +LAB_14008fd47: + uVar8 = *(uint *)(lVar3 + 0x48); + bVar21 = SBORROW4(uVar8,uVar9); + uVar5 = uVar8 - uVar9; + bVar20 = uVar8 == uVar9; + } + else { + if (iVar2 == 1) { + uVar8 = (int)(iVar10 + (iVar10 >> 0x1f & 7U)) >> 3; + uVar9 = 0x10; + if (0x10 < (int)uVar8) { + uVar9 = uVar8; + } + if (uVar9 < 0x41) { + uVar9 = 0x40; + } + goto LAB_14008fd47; + } + if (iVar2 != 2) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + uVar8 = *(uint *)(lVar3 + 0x48); + bVar21 = false; + bVar20 = uVar8 == 0; + uVar5 = uVar8; + } + if (!bVar20 && bVar21 == (int)uVar5 < 0) { + uVar9 = uVar8; + } + plVar12 = *(longlong **)(lVar3 + 0x30); + if (uVar13 == 0) { + if (plVar12 == (longlong *)0x0) { + lVar11 = FUN_14003e840((longlong)(int)uVar9); + } + else { + lVar11 = (**(code **)(*plVar12 + 8))(plVar12,(longlong)(int)uVar9); + } + } + else { + uVar18 = *(undefined8 *)(lVar3 + 0x38); + if (plVar12 == (longlong *)0x0) { + lVar11 = FUN_14003e870(uVar18,(longlong)(int)uVar9); + } + else { + uVar17 = (ulonglong)(int)uVar9; + lVar11 = (**(code **)(*plVar12 + 0x10))(plVar12,uVar18); + } + if (lVar11 == 0) { + FUN_14003db10(local_90,L"Memory allocation failure!",uVar17,uVar18); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_90,(ThrowInfo *)&DAT_14016c210); + } + } + *(longlong *)(lVar3 + 0x38) = lVar11; + *(uint *)(lVar3 + 0x44) = uVar9; + } + *(undefined4 *)(lVar3 + 0x40) = 0; + } + puVar6 = DAT_1401783a0; + if ((*(short *)(lVar3 + -8) != 0x1de6) || (*(longlong *)(lVar3 + 0x60) != 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + *(undefined8 *)(lVar3 + 0x60) = *DAT_1401783a0; + *puVar6 = (short *)(lVar3 + -8); + FUN_14003d0d0(0x1401783a8); + if (pcVar19 != *(char **)((longlong)pvVar23 + 0x10)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (pvVar26 == (LPVOID)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + pvVar15 = *(LPVOID *)((longlong)pvVar26 + 0x10); + param_3 = 0; + FUN_14009d050(*(char **)((longlong)pvVar23 + 0x10),pvVar26,'\0'); + pcVar19 = pcVar28; + } + } + if ((*(longlong *)(*(longlong *)((longlong)pvVar23 + 0x10) + 0x20) == 0) && + (cVar7 = FUN_1400b7140(*(longlong *)((longlong)pvVar23 + 0x10) + 0x58,dVar22), cVar7 != '\0') + ) { + pcVar19 = *(char **)((longlong)pvVar23 + 0x10); + plVar12 = (longlong *)(**(code **)(*(longlong *)*param_1 + 0x18))(); + if (*(longlong *)(pcVar19 + 0x20) != 0) { + pvVar15 = *(LPVOID *)(pcVar19 + 0x10); + } + for (; pvVar15 != (LPVOID)0x0; pvVar15 = *(LPVOID *)((longlong)pvVar15 + 0x10)) { + lVar3 = *(longlong *)((longlong)pvVar15 + 8); + FUN_14003d040((int *)&DAT_1401783a8); + *(undefined4 *)(lVar3 + 0x50) = 0; + *(undefined8 *)(lVar3 + 0x58) = 0; + if (*(int *)(lVar3 + 0x18) != 0) { + if (*(int *)(lVar3 + 0x1c) < 0) { + iVar10 = FUN_1400c88f0(lVar3,0); + SVar16 = (SIZE_T)iVar10; + pSVar4 = *(SIZE_T **)(lVar3 + 8); + if (*(int *)(lVar3 + 0x1c) == 0) { + if (pSVar4 == (SIZE_T *)0x0) { + lVar11 = FUN_14003e840(SVar16); + } + else { + param_3 = *pSVar4; + lVar11 = (**(code **)(param_3 + 8))(); + } + } + else { + uVar18 = *(undefined8 *)(lVar3 + 0x10); + if (pSVar4 == (SIZE_T *)0x0) { + lVar11 = FUN_14003e870(uVar18,SVar16); + } + else { + lVar11 = (**(code **)(*pSVar4 + 0x10))(); + param_3 = SVar16; + } + if (lVar11 == 0) { + FUN_14003db10(local_90,L"Memory allocation failure!",param_3,uVar18); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_90,(ThrowInfo *)&DAT_14016c210); + } + } + *(longlong *)(lVar3 + 0x10) = lVar11; + *(int *)(lVar3 + 0x1c) = iVar10; + } + *(undefined4 *)(lVar3 + 0x18) = 0; + } + if (*(int *)(lVar3 + 0x40) != 0) { + if (*(int *)(lVar3 + 0x44) < 0) { + iVar10 = FUN_140029fb0(lVar3 + 0x28,0); + SVar16 = (SIZE_T)iVar10; + pSVar4 = *(SIZE_T **)(lVar3 + 0x30); + if (*(int *)(lVar3 + 0x44) == 0) { + if (pSVar4 == (SIZE_T *)0x0) { + lVar11 = FUN_14003e840(SVar16); + } + else { + param_3 = *pSVar4; + lVar11 = (**(code **)(param_3 + 8))(); + } + } + else { + uVar18 = *(undefined8 *)(lVar3 + 0x38); + if (pSVar4 == (SIZE_T *)0x0) { + lVar11 = FUN_14003e870(uVar18,SVar16); + } + else { + lVar11 = (**(code **)(*pSVar4 + 0x10))(); + param_3 = SVar16; + } + if (lVar11 == 0) { + FUN_14003db10(local_90,L"Memory allocation failure!",param_3,uVar18); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_90,(ThrowInfo *)&DAT_14016c210); + } + } + *(longlong *)(lVar3 + 0x38) = lVar11; + *(int *)(lVar3 + 0x44) = iVar10; + } + *(undefined4 *)(lVar3 + 0x40) = 0; + } + puVar6 = DAT_1401783a0; + if ((*(short *)(lVar3 + -8) != 0x1de6) || (*(longlong *)(lVar3 + 0x60) != 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + *(undefined8 *)(lVar3 + 0x60) = *DAT_1401783a0; + *puVar6 = (short *)(lVar3 + -8); + FUN_14003d0d0(0x1401783a8); + } + FUN_14008ddb0(pcVar19); + (**(code **)(*plVar12 + 0x18))(plVar12,pcVar19); + if (pcVar25 != pcVar1) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (pvVar23 == (LPVOID)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + pvVar15 = *(LPVOID *)((longlong)pvVar23 + 0x18); + param_3 = 0; + FUN_14008cf20(pcVar1,pvVar23,'\0'); + } + else if (pvVar23 != (LPVOID)0x0) { + pvVar15 = *(LPVOID *)((longlong)pvVar23 + 0x18); + } + } while( true ); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140090190.c b/decomp/AgentManager_Release_x64/full/functions/0x140090190.c new file mode 100644 index 00000000..50f26f05 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140090190.c @@ -0,0 +1,23 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140090190 FUN_140090190 + * Pseudocode, not original source. */ + +void FUN_140090190(undefined8 *param_1,double param_2,SIZE_T param_3) + +{ + undefined8 in_RDX; + longlong lVar1; + + if (param_1[5] == 0) { + lVar1 = 0; + } + else { + lVar1 = param_1[3]; + } + for (; lVar1 != 0; lVar1 = *(longlong *)(lVar1 + 0x18)) { + FUN_1400b7260((double *)(*(longlong *)(lVar1 + 0x10) + 0x58),param_2); + } + FUN_14008fb00(param_1,in_RDX,param_3); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400901f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400901f0.c new file mode 100644 index 00000000..9a4310bf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400901f0.c @@ -0,0 +1,44 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400901f0 FUN_1400901f0 + * Pseudocode, not original source. */ + +ulonglong FUN_1400901f0(undefined8 *param_1,longlong param_2) + +{ + ushort uVar1; + uint uVar2; + longlong *plVar3; + ulonglong uVar4; + ulonglong uVar5; + LPVOID pvVar6; + SIZE_T SVar7; + + uVar1 = *(ushort *)(param_2 + 0xc); + SVar7 = (SIZE_T)uVar1; + uVar2 = *(uint *)(param_1 + 6); + uVar4 = (ulonglong)((uint)uVar1 ^ *(uint *)(param_2 + 8)); + uVar5 = uVar4 / uVar2; + uVar4 = uVar4 % (ulonglong)uVar2; + if ((param_1[2] != 0) && (pvVar6 = *(LPVOID *)(param_1[2] + uVar4 * 8), pvVar6 != (LPVOID)0x0)) { + while( true ) { + uVar5 = (ulonglong)*(uint *)((longlong)pvVar6 + 0x28) / (ulonglong)uVar2; + if ((uint)uVar4 != *(uint *)((longlong)pvVar6 + 0x28) % uVar2) break; + if ((*(uint *)((longlong)pvVar6 + 8) == *(uint *)(param_2 + 8)) && + (*(ushort *)((longlong)pvVar6 + 0xc) == uVar1)) { + if (pvVar6 == (LPVOID)0x0) { + return uVar5; + } + plVar3 = (longlong *)(**(code **)(*(longlong *)*param_1 + 0x18))(); + FUN_14008ec50(plVar3,*(char **)((longlong)pvVar6 + 0x10),SVar7); + uVar4 = FUN_14008cf20((char *)(param_1 + 1),pvVar6,'\0'); + return uVar4; + } + pvVar6 = *(LPVOID *)((longlong)pvVar6 + 0x18); + if (pvVar6 == (LPVOID)0x0) { + return uVar5; + } + } + } + return uVar5; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400902a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400902a0.c new file mode 100644 index 00000000..9519f5ab --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400902a0.c @@ -0,0 +1,430 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400902a0 FUN_1400902a0 + * Pseudocode, not original source. */ + +void FUN_1400902a0(undefined8 *param_1) + +{ + char *pcVar1; + int iVar2; + char *pcVar3; + longlong lVar4; + longlong *plVar5; + uint uVar6; + undefined8 *puVar7; + int iVar8; + uint uVar9; + uint uVar10; + longlong lVar11; + longlong *plVar12; + uint uVar13; + int iVar14; + LPVOID pvVar15; + LPVOID pvVar16; + ulonglong uVar17; + ulonglong uVar18; + undefined8 uVar19; + bool bVar20; + bool bVar21; + LPVOID pvVar22; + char *pcVar23; + LPVOID pvVar24; + char *pcVar25; + undefined *puVar26; + exception local_a0 [104]; + + pcVar1 = (char *)(param_1 + 1); + pvVar15 = (LPVOID)0x0; + if (param_1[5] != 0) { + pvVar15 = (LPVOID)param_1[3]; + } + do { + pvVar16 = (LPVOID)0x0; + if (pvVar15 == (LPVOID)0x0) { + return; + } + if (pvVar15 == (LPVOID)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + pcVar3 = *(char **)((longlong)pvVar15 + 0x10); + pvVar22 = pvVar15; + pcVar23 = pcVar1; + if (*(longlong *)(pcVar3 + 0x20) != 0) { + pvVar16 = *(LPVOID *)(pcVar3 + 0x10); + } + while ((uVar18 = 0, pvVar16 != (LPVOID)0x0 || (pcVar3 != *(char **)((longlong)pvVar15 + 0x10)))) + { + if (pvVar16 == (LPVOID)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + lVar4 = *(longlong *)((longlong)pvVar16 + 8); + puVar26 = &DAT_1401783a8; + pvVar24 = pvVar16; + pcVar25 = pcVar3; + FUN_14003d040((int *)&DAT_1401783a8); + *(undefined4 *)(lVar4 + 0x50) = 0; + *(undefined8 *)(lVar4 + 0x58) = 0; + iVar8 = *(int *)(lVar4 + 0x18); + if (iVar8 != 0) { + uVar10 = *(uint *)(lVar4 + 0x1c); + uVar17 = (ulonglong)uVar10; + if ((int)uVar10 < 0) { + iVar2 = *(int *)(lVar4 + 0x24); + if (iVar2 == 0) { + uVar9 = (int)(iVar8 + (iVar8 >> 0x1f & 7U)) >> 3; + uVar13 = 0x400; + if ((int)uVar9 < 0x400) { + uVar13 = uVar9; + } + uVar18 = 4; + if (4 < (int)uVar13) { + uVar18 = (ulonglong)uVar13; + } +LAB_1400903ee: + iVar8 = *(int *)(lVar4 + 0x20); + iVar14 = (int)uVar18; + bVar21 = SBORROW4(iVar8,iVar14); + iVar2 = iVar8 - iVar14; + bVar20 = iVar8 == iVar14; + } + else { + if (iVar2 == 1) { + uVar9 = (int)(iVar8 + (iVar8 >> 0x1f & 7U)) >> 3; + uVar13 = 0x10; + if (0x10 < (int)uVar9) { + uVar13 = uVar9; + } + uVar18 = (ulonglong)uVar13; + if (uVar13 < 0x41) { + uVar18 = 0x40; + } + goto LAB_1400903ee; + } + if (iVar2 != 2) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + iVar8 = *(int *)(lVar4 + 0x20); + bVar21 = false; + bVar20 = iVar8 == 0; + iVar2 = iVar8; + } + iVar14 = (int)uVar18; + if (!bVar20 && bVar21 == iVar2 < 0) { + iVar14 = iVar8; + } + plVar12 = *(longlong **)(lVar4 + 8); + if (uVar10 == 0) { + if (plVar12 == (longlong *)0x0) { + lVar11 = FUN_14003e840((longlong)iVar14); + } + else { + lVar11 = (**(code **)(*plVar12 + 8))(plVar12,(longlong)iVar14); + } + } + else { + uVar19 = *(undefined8 *)(lVar4 + 0x10); + if (plVar12 == (longlong *)0x0) { + lVar11 = FUN_14003e870(uVar19,(longlong)iVar14); + } + else { + uVar17 = (ulonglong)iVar14; + lVar11 = (**(code **)(*plVar12 + 0x10)) + (plVar12,uVar19,uVar17,uVar19,pvVar22,pcVar23,pvVar24,pcVar25, + puVar26,1); + } + if (lVar11 == 0) { + FUN_14003db10(local_a0,L"Memory allocation failure!",uVar17,uVar19); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_a0,(ThrowInfo *)&DAT_14016c210); + } + } + *(longlong *)(lVar4 + 0x10) = lVar11; + *(int *)(lVar4 + 0x1c) = iVar14; + } + *(undefined4 *)(lVar4 + 0x18) = 0; + } + uVar10 = 0; + iVar8 = *(int *)(lVar4 + 0x40); + if (iVar8 != 0) { + uVar13 = *(uint *)(lVar4 + 0x44); + uVar18 = (ulonglong)uVar13; + if ((int)uVar13 < 0) { + iVar2 = *(int *)(lVar4 + 0x4c); + if (iVar2 == 0) { + uVar10 = (int)(iVar8 + (iVar8 >> 0x1f & 7U)) >> 3; + uVar9 = 0x400; + if ((int)uVar10 < 0x400) { + uVar9 = uVar10; + } + uVar10 = 4; + if (4 < (int)uVar9) { + uVar10 = uVar9; + } +LAB_1400904c2: + uVar9 = *(uint *)(lVar4 + 0x48); + bVar21 = SBORROW4(uVar9,uVar10); + uVar6 = uVar9 - uVar10; + bVar20 = uVar9 == uVar10; + } + else { + if (iVar2 == 1) { + uVar9 = (int)(iVar8 + (iVar8 >> 0x1f & 7U)) >> 3; + uVar10 = 0x10; + if (0x10 < (int)uVar9) { + uVar10 = uVar9; + } + if (uVar10 < 0x41) { + uVar10 = 0x40; + } + goto LAB_1400904c2; + } + if (iVar2 != 2) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + uVar9 = *(uint *)(lVar4 + 0x48); + bVar21 = false; + bVar20 = uVar9 == 0; + uVar6 = uVar9; + } + if (!bVar20 && bVar21 == (int)uVar6 < 0) { + uVar10 = uVar9; + } + plVar12 = *(longlong **)(lVar4 + 0x30); + if (uVar13 == 0) { + if (plVar12 == (longlong *)0x0) { + lVar11 = FUN_14003e840((longlong)(int)uVar10); + } + else { + lVar11 = (**(code **)(*plVar12 + 8))(plVar12,(longlong)(int)uVar10); + } + } + else { + uVar19 = *(undefined8 *)(lVar4 + 0x38); + if (plVar12 == (longlong *)0x0) { + lVar11 = FUN_14003e870(uVar19,(longlong)(int)uVar10); + } + else { + uVar18 = (ulonglong)(int)uVar10; + lVar11 = (**(code **)(*plVar12 + 0x10))(plVar12,uVar19); + } + if (lVar11 == 0) { + FUN_14003db10(local_a0,L"Memory allocation failure!",uVar18,uVar19); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_a0,(ThrowInfo *)&DAT_14016c210); + } + } + *(longlong *)(lVar4 + 0x38) = lVar11; + *(uint *)(lVar4 + 0x44) = uVar10; + } + *(undefined4 *)(lVar4 + 0x40) = 0; + } + puVar7 = DAT_1401783a0; + if ((*(short *)(lVar4 + -8) != 0x1de6) || (*(longlong *)(lVar4 + 0x60) != 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + *(undefined8 *)(lVar4 + 0x60) = *DAT_1401783a0; + *puVar7 = (short *)(lVar4 + -8); + FUN_14003d0d0(0x1401783a8); + if (pcVar3 != *(char **)((longlong)pvVar15 + 0x10)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (pvVar16 == (LPVOID)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + pvVar24 = *(LPVOID *)((longlong)pvVar16 + 0x10); + FUN_14009d050(*(char **)((longlong)pvVar15 + 0x10),pvVar16,'\0'); + pvVar16 = pvVar24; + } + pcVar3 = *(char **)((longlong)pvVar15 + 0x10); + plVar12 = (longlong *)(**(code **)(*(longlong *)*param_1 + 0x18))(); + if (*(longlong *)(pcVar3 + 0x20) != 0) { + uVar18 = *(ulonglong *)(pcVar3 + 0x10); + } + for (; uVar10 = 0, uVar18 != 0; uVar18 = *(ulonglong *)(uVar18 + 0x10)) { + lVar4 = *(longlong *)(uVar18 + 8); + FUN_14003d040((int *)&DAT_1401783a8); + *(undefined4 *)(lVar4 + 0x50) = 0; + *(undefined8 *)(lVar4 + 0x58) = 0; + iVar8 = *(int *)(lVar4 + 0x18); + if (iVar8 != 0) { + uVar13 = *(uint *)(lVar4 + 0x1c); + uVar17 = (ulonglong)uVar13; + if ((int)uVar13 < 0) { + iVar2 = *(int *)(lVar4 + 0x24); + if (iVar2 == 0) { + uVar10 = (int)(iVar8 + (iVar8 >> 0x1f & 7U)) >> 3; + uVar9 = 0x400; + if ((int)uVar10 < 0x400) { + uVar9 = uVar10; + } + uVar10 = 4; + if (4 < (int)uVar9) { + uVar10 = uVar9; + } +LAB_140090672: + uVar9 = *(uint *)(lVar4 + 0x20); + bVar21 = SBORROW4(uVar9,uVar10); + uVar6 = uVar9 - uVar10; + bVar20 = uVar9 == uVar10; + } + else { + if (iVar2 == 1) { + uVar9 = (int)(iVar8 + (iVar8 >> 0x1f & 7U)) >> 3; + uVar10 = 0x10; + if (0x10 < (int)uVar9) { + uVar10 = uVar9; + } + if (uVar10 < 0x41) { + uVar10 = 0x40; + } + goto LAB_140090672; + } + if (iVar2 != 2) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + uVar9 = *(uint *)(lVar4 + 0x20); + bVar21 = false; + bVar20 = uVar9 == 0; + uVar6 = uVar9; + } + if (!bVar20 && bVar21 == (int)uVar6 < 0) { + uVar10 = uVar9; + } + plVar5 = *(longlong **)(lVar4 + 8); + if (uVar13 == 0) { + if (plVar5 == (longlong *)0x0) { + lVar11 = FUN_14003e840((longlong)(int)uVar10); + } + else { + lVar11 = (**(code **)(*plVar5 + 8))(plVar5,(longlong)(int)uVar10); + } + } + else { + uVar19 = *(undefined8 *)(lVar4 + 0x10); + if (plVar5 == (longlong *)0x0) { + lVar11 = FUN_14003e870(uVar19,(longlong)(int)uVar10); + } + else { + uVar17 = (ulonglong)(int)uVar10; + lVar11 = (**(code **)(*plVar5 + 0x10))(plVar5,uVar19); + } + if (lVar11 == 0) { + FUN_14003db10(local_a0,L"Memory allocation failure!",uVar17,uVar19); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_a0,(ThrowInfo *)&DAT_14016c210); + } + } + *(longlong *)(lVar4 + 0x10) = lVar11; + *(uint *)(lVar4 + 0x1c) = uVar10; + } + *(undefined4 *)(lVar4 + 0x18) = 0; + } + uVar10 = 0; + iVar8 = *(int *)(lVar4 + 0x40); + if (iVar8 != 0) { + uVar13 = *(uint *)(lVar4 + 0x44); + uVar17 = (ulonglong)uVar13; + if ((int)uVar13 < 0) { + iVar2 = *(int *)(lVar4 + 0x4c); + if (iVar2 == 0) { + uVar10 = (int)(iVar8 + (iVar8 >> 0x1f & 7U)) >> 3; + uVar9 = 0x400; + if ((int)uVar10 < 0x400) { + uVar9 = uVar10; + } + uVar10 = 4; + if (4 < (int)uVar9) { + uVar10 = uVar9; + } +LAB_140090746: + uVar9 = *(uint *)(lVar4 + 0x48); + bVar21 = SBORROW4(uVar9,uVar10); + uVar6 = uVar9 - uVar10; + bVar20 = uVar9 == uVar10; + } + else { + if (iVar2 == 1) { + uVar9 = (int)(iVar8 + (iVar8 >> 0x1f & 7U)) >> 3; + uVar10 = 0x10; + if (0x10 < (int)uVar9) { + uVar10 = uVar9; + } + if (uVar10 < 0x41) { + uVar10 = 0x40; + } + goto LAB_140090746; + } + if (iVar2 != 2) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + uVar9 = *(uint *)(lVar4 + 0x48); + bVar21 = false; + bVar20 = uVar9 == 0; + uVar6 = uVar9; + } + if (!bVar20 && bVar21 == (int)uVar6 < 0) { + uVar10 = uVar9; + } + plVar5 = *(longlong **)(lVar4 + 0x30); + if (uVar13 == 0) { + if (plVar5 == (longlong *)0x0) { + lVar11 = FUN_14003e840((longlong)(int)uVar10); + } + else { + lVar11 = (**(code **)(*plVar5 + 8))(plVar5,(longlong)(int)uVar10); + } + } + else { + uVar19 = *(undefined8 *)(lVar4 + 0x38); + if (plVar5 == (longlong *)0x0) { + lVar11 = FUN_14003e870(uVar19,(longlong)(int)uVar10); + } + else { + uVar17 = (ulonglong)(int)uVar10; + lVar11 = (**(code **)(*plVar5 + 0x10))(plVar5,uVar19); + } + if (lVar11 == 0) { + FUN_14003db10(local_a0,L"Memory allocation failure!",uVar17,uVar19); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_a0,(ThrowInfo *)&DAT_14016c210); + } + } + *(longlong *)(lVar4 + 0x38) = lVar11; + *(uint *)(lVar4 + 0x44) = uVar10; + } + *(undefined4 *)(lVar4 + 0x40) = 0; + } + puVar7 = DAT_1401783a0; + if ((*(short *)(lVar4 + -8) != 0x1de6) || (*(longlong *)(lVar4 + 0x60) != 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + *(undefined8 *)(lVar4 + 0x60) = *DAT_1401783a0; + *puVar7 = (short *)(lVar4 + -8); + FUN_14003d0d0(0x1401783a8); + } + FUN_14008ddb0(pcVar3); + (**(code **)(*plVar12 + 0x18))(plVar12,pcVar3); + if (pcVar23 != pcVar1) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (pvVar15 == (LPVOID)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + pvVar16 = *(LPVOID *)((longlong)pvVar15 + 0x18); + FUN_14008cf20(pcVar1,pvVar15,'\0'); + pvVar15 = pvVar16; + } while( true ); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140090960.c b/decomp/AgentManager_Release_x64/full/functions/0x140090960.c new file mode 100644 index 00000000..21df039f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140090960.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140090960 FUN_140090960 + * Pseudocode, not original source. */ + +void FUN_140090960(char *param_1,undefined8 param_2,SIZE_T param_3) + +{ + FUN_14008ecc0((longlong)param_1,*(longlong **)(param_1 + 0x50),param_3); + FUN_140094c20(param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140090990.c b/decomp/AgentManager_Release_x64/full/functions/0x140090990.c new file mode 100644 index 00000000..5e1fd5d5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140090990.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140090990 FUN_140090990 + * Pseudocode, not original source. */ + +void FUN_140090990(char *param_1) + +{ + FUN_14008eae0(param_1); + FUN_140094c20(param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400909c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400909c0.c new file mode 100644 index 00000000..24b4b6d6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400909c0.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400909c0 FUN_1400909c0 + * Pseudocode, not original source. */ + +undefined8 * FUN_1400909c0(undefined8 *param_1,longlong param_2,undefined8 param_3) + +{ + longlong lVar1; + float fVar2; + + *param_1 = 0; + param_1[1] = 0; + *(undefined4 *)(param_1 + 2) = 0; + param_1[3] = param_3; + FUN_14008df90((undefined1 *)(param_1 + 4),param_2); + param_1[0x10] = 0; + *(undefined1 *)(param_1 + 0x11) = 1; + param_1[0xf] = param_2; + *(undefined8 *)((longlong)param_1 + 0x4c) = 0x3dcccccd; + *(undefined4 *)((longlong)param_1 + 0x54) = 0x40000000; + fVar2 = (float)*(uint *)(param_1 + 9) * 2.0; + lVar1 = 0; + if ((9.223372e+18 < fVar2) && (fVar2 = fVar2 - 9.223372e+18, fVar2 < 9.223372e+18)) { + lVar1 = -0x8000000000000000; + } + param_1[0xb] = (longlong)fVar2 + lVar1; + fVar2 = (float)*(uint *)(param_1 + 9) * 0.0; + lVar1 = 0; + if ((9.223372e+18 < fVar2) && (fVar2 = fVar2 - 9.223372e+18, fVar2 < 9.223372e+18)) { + lVar1 = -0x8000000000000000; + } + param_1[0xc] = (longlong)fVar2 + lVar1; + if ((ulonglong)((longlong)fVar2 + lVar1) < 0x11) { + param_1[0xc] = 0; + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140090ac0.c b/decomp/AgentManager_Release_x64/full/functions/0x140090ac0.c new file mode 100644 index 00000000..bdcb4a2f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140090ac0.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140090ac0 FUN_140090ac0 + * Pseudocode, not original source. */ + +void FUN_140090ac0(longlong *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong *plVar1; + + plVar1 = param_1 + 4; + FUN_14008eae0((char *)plVar1); + FUN_14008dc50(param_1 + 0x10,param_2,param_3,param_4); + FUN_14008eae0((char *)plVar1); + FUN_140094c20((char *)plVar1); + FUN_14008c700(param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140090b20.c b/decomp/AgentManager_Release_x64/full/functions/0x140090b20.c new file mode 100644 index 00000000..6bde79eb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140090b20.c @@ -0,0 +1,47 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140090b20 FUN_140090b20 + * Pseudocode, not original source. */ + +undefined8 * +FUN_140090b20(undefined8 *param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong lVar1; + float fVar2; + exception local_50 [72]; + + FUN_14008e0d0((undefined1 *)(param_1 + 1)); + *param_1 = param_2; + *(undefined4 *)((longlong)param_1 + 0x34) = 0x3e99999a; + *(undefined4 *)(param_1 + 7) = 0x3d4ccccd; + *(undefined4 *)((longlong)param_1 + 0x3c) = 0x41000000; + fVar2 = (float)*(uint *)(param_1 + 6) * 8.0; + lVar1 = 0; + if ((9.223372e+18 < fVar2) && (fVar2 = fVar2 - 9.223372e+18, fVar2 < 9.223372e+18)) { + lVar1 = -0x8000000000000000; + } + param_1[8] = (longlong)fVar2 + lVar1; + fVar2 = (float)*(uint *)(param_1 + 6) * 0.05; + lVar1 = 0; + if ((9.223372e+18 < fVar2) && (fVar2 = fVar2 - 9.223372e+18, fVar2 < 9.223372e+18)) { + lVar1 = -0x8000000000000000; + } + param_1[9] = (longlong)fVar2 + lVar1; + if ((ulonglong)((longlong)fVar2 + lVar1) < 0x11) { + param_1[9] = 0; + } + lVar1 = (**(code **)(*param_2 + 0x18))(param_2); + if (lVar1 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (param_1[5] != 0) { + FUN_14003db10(local_50,(wchar_t *)PTR_u_Collection_object_can_use_fast_h_14016f1d0,param_3, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_50,(ThrowInfo *)&DAT_14016c210); + } + param_1[0xb] = lVar1; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140090c40.c b/decomp/AgentManager_Release_x64/full/functions/0x140090c40.c new file mode 100644 index 00000000..d4d91b7d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140090c40.c @@ -0,0 +1,23 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140090c40 FUN_140090c40 + * Pseudocode, not original source. */ + +ulonglong FUN_140090c40(longlong param_1,double param_2) + +{ + uint uVar1; + undefined8 uVar2; + ulonglong uVar3; + + (**(code **)(**(longlong **)(param_1 + 0x108) + 0x10))(); + uVar1 = *(uint *)(param_1 + 0x7c); + uVar2 = FUN_1400b7120((double *)(param_1 + 0x90),param_2); + if ((int)uVar2 < (int)uVar1) { + uVar3 = FUN_1400b7120((double *)(param_1 + 0x90),param_2); + } + else { + uVar3 = (ulonglong)uVar1; + } + return uVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140090cc0.c b/decomp/AgentManager_Release_x64/full/functions/0x140090cc0.c new file mode 100644 index 00000000..acb511b9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140090cc0.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140090cc0 FUN_140090cc0 + * Pseudocode, not original source. */ + +void FUN_140090cc0(longlong param_1,double param_2) + +{ + (**(code **)(**(longlong **)(param_1 + 0x108) + 0x10))(); + FUN_140093750(param_1 + 0x48,param_2); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140090d00.c b/decomp/AgentManager_Release_x64/full/functions/0x140090d00.c new file mode 100644 index 00000000..6accce5e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140090d00.c @@ -0,0 +1,31 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140090d00 FUN_140090d00 + * Pseudocode, not original source. */ + +uint FUN_140090d00(longlong param_1,undefined8 param_2,undefined **param_3,undefined8 param_4) + +{ + char cVar1; + uint uVar2; + ulonglong uVar3; + + (**(code **)(**(longlong **)(param_1 + 0x108) + 8))(); + (**(code **)(**(longlong **)(param_1 + 0x108) + 0x10))(); + if ((*(char *)(param_1 + 0x40) == '\0') && + (*(char *)(*(longlong *)(param_1 + 0x110) + 0x80) == '\0')) { + cVar1 = (**(code **)(**(longlong **)(param_1 + 0x108) + 0x28))(); + if (cVar1 == '\0') { + *(undefined1 *)(param_1 + 0x40) = 1; + uVar3 = (ulonglong)DAT_14016f048; + uVar2 = FUN_140044880(*(longlong *)(param_1 + 0x110),uVar3,param_3,param_4); + if (uVar2 != 0) { + *(undefined1 *)(param_1 + 0x40) = 0; + FUN_140043a50(*(longlong **)(param_1 + 0x110),uVar3,param_3,param_4); + return uVar2; + } + *(undefined8 *)(param_1 + 0x118) = 0; + } + } + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140090db0.c b/decomp/AgentManager_Release_x64/full/functions/0x140090db0.c new file mode 100644 index 00000000..245a62d6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140090db0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140090db0 FUN_140090db0 + * Pseudocode, not original source. */ + +void FUN_140090db0(longlong param_1,char param_2) + +{ + FUN_140043260(*(longlong *)(param_1 + 0x110),param_2); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140090dc0.c b/decomp/AgentManager_Release_x64/full/functions/0x140090dc0.c new file mode 100644 index 00000000..f07ee71a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140090dc0.c @@ -0,0 +1,27 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140090dc0 FUN_140090dc0 + * Pseudocode, not original source. */ + +undefined1 * FUN_140090dc0(undefined1 *param_1,undefined8 param_2,longlong param_3,longlong param_4) + +{ + FUN_140093eb0((undefined8 *)(param_1 + 0x48),param_2,param_3,param_4); + FUN_14009aa30((undefined8 *)(param_1 + 200),(longlong)DAT_14016f0ec); + *(undefined8 *)(param_1 + 0x110) = 0; + *(undefined ***)(param_1 + 0x128) = Proud::AddrPort::vftable; + *(undefined4 *)(param_1 + 0x130) = 0; + *(undefined2 *)(param_1 + 0x134) = 0; + *(undefined4 *)(param_1 + 0x130) = *(undefined4 *)(param_4 + 8); + *(undefined2 *)(param_1 + 0x134) = *(undefined2 *)(param_4 + 0xc); + *param_1 = 0; + param_1[0x40] = 0; + *(undefined8 *)(param_1 + 0x108) = param_2; + if (param_3 != 0) { + *(longlong *)(param_1 + 0x110) = param_3; + FUN_1400937c0(param_3); + } + *(undefined8 *)(param_1 + 0x118) = 0; + *(undefined8 *)(param_1 + 0x120) = 0; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140090e90.c b/decomp/AgentManager_Release_x64/full/functions/0x140090e90.c new file mode 100644 index 00000000..7476ba19 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140090e90.c @@ -0,0 +1,21 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140090e90 FUN_140090e90 + * Pseudocode, not original source. */ + +void FUN_140090e90(longlong param_1,undefined8 param_2,longlong *param_3,undefined8 param_4) + +{ + longlong *plVar1; + + (**(code **)**(undefined8 **)(param_1 + 0x108))(); + (**(code **)(**(longlong **)(param_1 + 0x108) + 0x48))(); + plVar1 = *(longlong **)(param_1 + 0x110); + if (plVar1 != (longlong *)0x0) { + FUN_140043e60(plVar1,param_2,param_3,param_4); + FUN_14003e8b0(plVar1); + } + FUN_14009aa70(param_1 + 200); + FUN_140093f40((longlong *)(param_1 + 0x48),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140090f10.c b/decomp/AgentManager_Release_x64/full/functions/0x140090f10.c new file mode 100644 index 00000000..27e0b00b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140090f10.c @@ -0,0 +1,68 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140090f10 FUN_140090f10 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +uint FUN_140090f10(char *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + char cVar1; + int iVar2; + uint uVar3; + ulonglong uVar4; + double dVar5; + undefined8 uVar6; + undefined1 auStack_6a8 [32]; + undefined8 local_688; + void *local_678; + undefined8 local_670; + ulonglong local_668; + undefined8 local_660; + ulonglong local_18; + + local_688 = 0xfffffffffffffffe; + local_18 = DAT_14016f5a0 ^ (ulonglong)auStack_6a8; + (**(code **)(**(longlong **)(param_1 + 0x108) + 8))(); + (**(code **)(**(longlong **)(param_1 + 0x108) + 0x10))(); + if (((*(char *)(*(longlong *)(param_1 + 0x110) + 0x80) == '\0') && (*param_1 == '\0')) && + (cVar1 = (**(code **)(**(longlong **)(param_1 + 0x108) + 0x28))(), cVar1 == '\0')) { + dVar5 = (double)(**(code **)(**(longlong **)(param_1 + 0x108) + 0x30))(); + uVar4 = FUN_140090c40((longlong)param_1,dVar5); + iVar2 = (int)uVar4; + if (0 < iVar2) { + *param_1 = '\x01'; + local_678 = (void *)0x0; + local_660 = 0; + local_670 = 0; + local_668 = 100; + uVar4 = uVar4 & 0xffffffff; + FUN_140093ac0((longlong)(param_1 + 0x48),(longlong *)&local_678,iVar2); + uVar3 = FUN_140044d90(*(longlong *)(param_1 + 0x110),(longlong *)&local_678,uVar4,param_4); + FUN_1400b70e0((longlong)(param_1 + 0x90),iVar2); + uVar6 = (**(code **)(**(longlong **)(param_1 + 0x108) + 0x30))(); + *(double *)(param_1 + 0xb0) = (double)iVar2 + *(double *)(param_1 + 0xb0); + *(undefined8 *)(param_1 + 0xc0) = uVar6; + if (uVar3 == 0) { + param_1[0x120] = '\0'; + param_1[0x121] = '\0'; + param_1[0x122] = '\0'; + param_1[0x123] = '\0'; + param_1[0x124] = '\0'; + param_1[0x125] = '\0'; + param_1[0x126] = '\0'; + param_1[0x127] = '\0'; + } + else { + *param_1 = '\0'; + } + if (local_668 < 0x65) { + return uVar3; + } + operator_delete__(local_678); + return uVar3; + } + } + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140091090.c b/decomp/AgentManager_Release_x64/full/functions/0x140091090.c new file mode 100644 index 00000000..71778108 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140091090.c @@ -0,0 +1,60 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140091090 FUN_140091090 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_140091090(char *param_1,longlong param_2,SIZE_T *param_3,undefined8 param_4) + +{ + undefined1 auStack_de8 [32]; + undefined8 local_dc8; + longlong *local_dc0; + exception local_db8 [80]; + undefined4 local_d68 [2]; + longlong local_d60; + longlong local_d58; + undefined4 local_d50; + int local_d4c; + undefined1 local_d40 [136]; + undefined1 local_cb8 [3200]; + undefined1 *local_38; + undefined4 local_30; + int local_2c; + ulonglong local_28; + + local_dc8 = 0xfffffffffffffffe; + local_28 = DAT_14016f5a0 ^ (ulonglong)auStack_de8; + (**(code **)(**(longlong **)(param_1 + 0x108) + 0x10))(); + local_2c = 200; + local_30 = 0; + local_38 = local_cb8; + FUN_140074fb0(local_d68); + FUN_140074c30((longlong)local_d68,(longlong)local_d40,0x80,param_4); + FUN_140093d90(param_2,(longlong)local_cb8,(SIZE_T)local_d68,param_4); + FUN_140093a10((longlong *)(param_1 + 0x48),(longlong)local_cb8,param_3,param_4); + if (*param_1 == '\0') { + (**(code **)(**(longlong **)(param_1 + 0x108) + 0x20))(); + } + local_dc0 = &local_d60; + FUN_14008a320(&local_d60); + if (local_d58 != 0) { + if (local_d4c < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_d50 = 0; + } + if (local_38 == (undefined1 *)0x0) { + FUN_14003db10(local_db8,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,param_3, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_db8,(ThrowInfo *)&DAT_14016c210); + } + if (local_2c < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140091200.c b/decomp/AgentManager_Release_x64/full/functions/0x140091200.c new file mode 100644 index 00000000..2ed7e540 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140091200.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140091200 FUN_140091200 + * Pseudocode, not original source. */ + +undefined8 * FUN_140091200(undefined8 *param_1) + +{ + *param_1 = Proud::CUseCount::vftable; + *(undefined4 *)(param_1 + 8) = 0; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140091220.c b/decomp/AgentManager_Release_x64/full/functions/0x140091220.c new file mode 100644 index 00000000..70adfb92 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140091220.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140091220 FUN_140091220 + * Pseudocode, not original source. */ + +void FUN_140091220(undefined8 *param_1) + +{ + *param_1 = Proud::CUseCount::vftable; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140091230.c b/decomp/AgentManager_Release_x64/full/functions/0x140091230.c new file mode 100644 index 00000000..c574d908 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140091230.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140091230 FUN_140091230 + * Pseudocode, not original source. */ + +undefined4 FUN_140091230(longlong param_1) + +{ + return *(undefined4 *)(param_1 + 0x40); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140091240.c b/decomp/AgentManager_Release_x64/full/functions/0x140091240.c new file mode 100644 index 00000000..7684eff3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140091240.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140091240 FUN_140091240 + * Pseudocode, not original source. */ + +void FUN_140091240(longlong param_1) + +{ + LOCK(); + *(int *)(param_1 + 0x40) = *(int *)(param_1 + 0x40) + 1; + UNLOCK(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140091250.c b/decomp/AgentManager_Release_x64/full/functions/0x140091250.c new file mode 100644 index 00000000..6c0697fa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140091250.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140091250 FUN_140091250 + * Pseudocode, not original source. */ + +void FUN_140091250(longlong param_1) + +{ + LOCK(); + *(int *)(param_1 + 0x40) = *(int *)(param_1 + 0x40) + -1; + UNLOCK(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140091260.c b/decomp/AgentManager_Release_x64/full/functions/0x140091260.c new file mode 100644 index 00000000..84a9976f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140091260.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140091260 FUN_140091260 + * Pseudocode, not original source. */ + +longlong * FUN_140091260(longlong *param_1,longlong param_2) + +{ + *param_1 = param_2; + LOCK(); + *(int *)(param_2 + 0x40) = *(int *)(param_2 + 0x40) + 1; + UNLOCK(); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140091270.c b/decomp/AgentManager_Release_x64/full/functions/0x140091270.c new file mode 100644 index 00000000..4b5f732a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140091270.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140091270 FUN_140091270 + * Pseudocode, not original source. */ + +void FUN_140091270(longlong *param_1) + +{ + LOCK(); + *(int *)(*param_1 + 0x40) = *(int *)(*param_1 + 0x40) + -1; + UNLOCK(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140091280.c b/decomp/AgentManager_Release_x64/full/functions/0x140091280.c new file mode 100644 index 00000000..243f8912 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140091280.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140091280 FUN_140091280 + * Pseudocode, not original source. */ + +undefined8 * FUN_140091280(undefined8 *param_1,byte param_2) + +{ + *param_1 = Proud::CUseCount::vftable; + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400912b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400912b0.c new file mode 100644 index 00000000..05805a34 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400912b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400912b0 FUN_1400912b0 + * Pseudocode, not original source. */ + +void FUN_1400912b0(undefined8 *param_1) + +{ + *param_1 = Proud::IUdpPacketFragBoardDg::vftable; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400912c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400912c0.c new file mode 100644 index 00000000..e050c28a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400912c0.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400912c0 FUN_1400912c0 + * Pseudocode, not original source. */ + +undefined8 * FUN_1400912c0(undefined8 *param_1,byte param_2) + +{ + *param_1 = Proud::IUdpPacketFragBoardDg::vftable; + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400912f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400912f0.c new file mode 100644 index 00000000..f01d5695 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400912f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400912f0 FUN_1400912f0 + * Pseudocode, not original source. */ + +void FUN_1400912f0(undefined8 *param_1) + +{ + *param_1 = Proud::IUdpPacketDefragBoardDg::vftable; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140091300.c b/decomp/AgentManager_Release_x64/full/functions/0x140091300.c new file mode 100644 index 00000000..57e855e4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140091300.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140091300 FUN_140091300 + * Pseudocode, not original source. */ + +undefined8 * FUN_140091300(undefined8 *param_1,byte param_2) + +{ + *param_1 = Proud::IUdpPacketDefragBoardDg::vftable; + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140091330.c b/decomp/AgentManager_Release_x64/full/functions/0x140091330.c new file mode 100644 index 00000000..9f61e946 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140091330.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140091330 FUN_140091330 + * Pseudocode, not original source. */ + +void FUN_140091330(longlong param_1) + +{ + /* WARNING: Could not recover jumptable at 0x000140091341. Too many branches */ + /* WARNING: Treating indirect jump as call */ + (**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x140) + 0x118) + 8))(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140091350.c b/decomp/AgentManager_Release_x64/full/functions/0x140091350.c new file mode 100644 index 00000000..f9908f2f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140091350.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140091350 FUN_140091350 + * Pseudocode, not original source. */ + +undefined4 FUN_140091350(longlong param_1) + +{ + return *(undefined4 *)(*(longlong *)(param_1 + 0x140) + 0x23c); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140091360.c b/decomp/AgentManager_Release_x64/full/functions/0x140091360.c new file mode 100644 index 00000000..614194d6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140091360.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140091360 FUN_140091360 + * Pseudocode, not original source. */ + +void FUN_140091360(longlong param_1,longlong param_2,short *param_3) + +{ + undefined **local_18; + undefined4 local_10; + undefined2 local_c; + + local_18 = Proud::AddrPort::vftable; + local_10 = *(undefined4 *)(param_2 + 8); + local_c = *(undefined2 *)(param_2 + 0xc); + FUN_14005f940(*(longlong **)(param_1 + 0x138),(longlong)&local_18,param_3); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400913a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400913a0.c new file mode 100644 index 00000000..5a10754f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400913a0.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400913a0 FUN_1400913a0 + * Pseudocode, not original source. */ + +void FUN_1400913a0(longlong param_1) + +{ + /* WARNING: Could not recover jumptable at 0x0001400913aa. Too many branches */ + /* WARNING: Treating indirect jump as call */ + (**(code **)(**(longlong **)(param_1 + 0x138) + 0xd0))(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400913c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400913c0.c new file mode 100644 index 00000000..c21bc494 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400913c0.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400913c0 FUN_1400913c0 + * Pseudocode, not original source. */ + +void FUN_1400913c0(longlong param_1,longlong param_2) + +{ + undefined **local_18; + undefined4 local_10; + undefined2 local_c; + + local_18 = Proud::AddrPort::vftable; + local_10 = *(undefined4 *)(param_2 + 8); + local_c = *(undefined2 *)(param_2 + 0xc); + FUN_14004dee0(*(longlong *)(param_1 + 0x148),(longlong)&local_18); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140091400.c b/decomp/AgentManager_Release_x64/full/functions/0x140091400.c new file mode 100644 index 00000000..c62d2c65 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140091400.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140091400 FUN_140091400 + * Pseudocode, not original source. */ + +void FUN_140091400(longlong param_1) + +{ + /* WARNING: Could not recover jumptable at 0x00014009140a. Too many branches */ + /* WARNING: Treating indirect jump as call */ + (**(code **)(**(longlong **)(param_1 + 0x138) + 0x30))(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140091410.c b/decomp/AgentManager_Release_x64/full/functions/0x140091410.c new file mode 100644 index 00000000..8c05d2c8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140091410.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140091410 FUN_140091410 + * Pseudocode, not original source. */ + +longlong FUN_140091410(longlong param_1) + +{ + return param_1 + 0x20; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140091420.c b/decomp/AgentManager_Release_x64/full/functions/0x140091420.c new file mode 100644 index 00000000..90de359f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140091420.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140091420 FUN_140091420 + * Pseudocode, not original source. */ + +void FUN_140091420(longlong param_1) + +{ + FUN_140091250(param_1 + -0x48); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140091430.c b/decomp/AgentManager_Release_x64/full/functions/0x140091430.c new file mode 100644 index 00000000..4a5b3c6d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140091430.c @@ -0,0 +1,49 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140091430 FUN_140091430 + * Pseudocode, not original source. */ + +void FUN_140091430(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong *plVar1; + longlong *plVar2; + uint uVar3; + undefined8 uVar4; + longlong lVar5; + longlong lVar6; + double dVar7; + undefined **local_18; + undefined4 local_10; + undefined2 local_c; + + FUN_140079c10(); + if (*(char *)(param_1 + 0x100) == '\0') { + lVar6 = 0; + lVar5 = lVar6; + if (*(longlong **)(param_1 + 0x150) != (longlong *)0x0) { + lVar5 = **(longlong **)(param_1 + 0x150); + } + if (*(char *)(lVar5 + 0x80) == '\0') { + plVar1 = *(longlong **)(param_1 + 0x170); + plVar2 = *(longlong **)(param_1 + 0x168); + dVar7 = (double)(**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x148) + 0x118) + 8))(); + uVar4 = FUN_14008e200(plVar2,plVar1,dVar7,param_4); + if (((char)uVar4 != '\0') && (0 < *(longlong *)(*(longlong *)(param_1 + 0x170) + 8))) { + plVar1 = *(longlong **)(param_1 + 0x170); + *(undefined1 *)(param_1 + 0x100) = 1; + local_18 = Proud::AddrPort::vftable; + local_10 = (undefined4)plVar1[0xd5]; + local_c = *(undefined2 *)((longlong)plVar1 + 0x6ac); + if (*(longlong **)(param_1 + 0x150) != (longlong *)0x0) { + lVar6 = **(longlong **)(param_1 + 0x150); + } + uVar3 = FUN_140045650(lVar6,plVar1,(longlong)&local_18,(ulonglong)*(uint *)(plVar1 + 0xd6)); + if (uVar3 != 0) { + *(undefined1 *)(param_1 + 0x100) = 0; + } + } + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140091540.c b/decomp/AgentManager_Release_x64/full/functions/0x140091540.c new file mode 100644 index 00000000..bda38f58 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140091540.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140091540 FUN_140091540 + * Pseudocode, not original source. */ + +undefined8 FUN_140091540(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140091430(param_1 + -0x88,param_2,param_3,param_4); + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140091560.c b/decomp/AgentManager_Release_x64/full/functions/0x140091560.c new file mode 100644 index 00000000..31169c48 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140091560.c @@ -0,0 +1,32 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140091560 FUN_140091560 + * Pseudocode, not original source. */ + +void FUN_140091560(longlong param_1,undefined8 param_2,undefined **param_3,undefined8 param_4) + +{ + uint uVar1; + longlong lVar2; + longlong lVar3; + + FUN_140079c10(); + if (*(char *)(param_1 + 0x140) == '\0') { + lVar3 = 0; + lVar2 = lVar3; + if (*(longlong **)(param_1 + 0x150) != (longlong *)0x0) { + lVar2 = **(longlong **)(param_1 + 0x150); + } + if (*(char *)(lVar2 + 0x80) == '\0') { + *(undefined1 *)(param_1 + 0x140) = 1; + if (*(longlong **)(param_1 + 0x150) != (longlong *)0x0) { + lVar3 = **(longlong **)(param_1 + 0x150); + } + uVar1 = FUN_1400449f0(lVar3,(ulonglong)DAT_14016f04c,param_3,param_4); + if (uVar1 != 0) { + *(undefined1 *)(param_1 + 0x140) = 0; + } + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400915d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400915d0.c new file mode 100644 index 00000000..bfacec6f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400915d0.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400915d0 FUN_1400915d0 + * Pseudocode, not original source. */ + +void FUN_1400915d0(longlong param_1,undefined8 param_2,SIZE_T param_3,undefined *param_4) + +{ + longlong lVar1; + undefined8 *puVar2; + double dVar3; + + lVar1 = *(longlong *)(param_1 + 0x168); + dVar3 = (double)(**(code **)(*(longlong *)(param_1 + 8) + 8))(param_1 + 8); + FUN_14008e5f0(lVar1,dVar3,param_3,param_4); + puVar2 = *(undefined8 **)(param_1 + 0x178); + if (puVar2 != (undefined8 *)0x0) { + dVar3 = (double)(**(code **)(*(longlong *)(param_1 + 8) + 8))(param_1 + 8); + FUN_140090190(puVar2,dVar3,param_3); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140091640.c b/decomp/AgentManager_Release_x64/full/functions/0x140091640.c new file mode 100644 index 00000000..32536635 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140091640.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140091640 FUN_140091640 + * Pseudocode, not original source. */ + +void FUN_140091640(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + if (*(longlong **)(param_1 + 0x10) != (longlong *)0x0) { + FUN_14004ac30(*(longlong **)(param_1 + 0x10),param_1 + -0x90,param_3,param_4); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140091670.c b/decomp/AgentManager_Release_x64/full/functions/0x140091670.c new file mode 100644 index 00000000..5c14568e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140091670.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140091670 FUN_140091670 + * Pseudocode, not original source. */ + +void FUN_140091670(undefined8 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong *plVar1; + + plVar1 = (longlong *)*param_1; + if (plVar1 != (longlong *)0x0) { + FUN_140090ac0(plVar1,param_2,param_3,param_4); + operator_delete(plVar1); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400916a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400916a0.c new file mode 100644 index 00000000..512354fa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400916a0.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400916a0 FUN_1400916a0 + * Pseudocode, not original source. */ + +void FUN_1400916a0(undefined8 *param_1,undefined8 param_2,longlong param_3) + +{ + undefined8 *puVar1; + + puVar1 = (undefined8 *)*param_1; + if (puVar1 != (undefined8 *)0x0) { + FUN_14008dbe0(puVar1,param_2,param_3); + operator_delete(puVar1); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400916d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400916d0.c new file mode 100644 index 00000000..5fef0e3c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400916d0.c @@ -0,0 +1,23 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400916d0 FUN_1400916d0 + * Pseudocode, not original source. */ + +void FUN_1400916d0(longlong *param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + if (*(longlong *)(param_2 + 0xa0) != 0) { + FUN_14004ac30(param_1,param_2,param_3,param_4); + } + if (param_1[1] == 0) { + *param_1 = param_2; + } + else { + *(longlong *)(param_1[1] + 0x98) = param_2; + *(longlong *)(param_2 + 0x90) = param_1[1]; + } + param_1[1] = param_2; + *(longlong **)(param_2 + 0xa0) = param_1; + *(int *)(param_1 + 2) = (int)param_1[2] + 1; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140091730.c b/decomp/AgentManager_Release_x64/full/functions/0x140091730.c new file mode 100644 index 00000000..aed2d08f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140091730.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140091730 FUN_140091730 + * Pseudocode, not original source. */ + +void FUN_140091730(undefined8 *param_1,undefined8 param_2,SIZE_T param_3) + +{ + void *pvVar1; + + pvVar1 = (void *)*param_1; + if (pvVar1 != (void *)0x0) { + FUN_140090960((char *)((longlong)pvVar1 + 8),param_2,param_3); + operator_delete(pvVar1); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140091760.c b/decomp/AgentManager_Release_x64/full/functions/0x140091760.c new file mode 100644 index 00000000..3107eda3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140091760.c @@ -0,0 +1,109 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140091760 FUN_140091760 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_140091760(longlong param_1,uint param_2,ushort param_3,longlong param_4,longlong param_5, + uint *param_6) + +{ + longlong *plVar1; + double dVar2; + int *piVar3; + ulonglong uVar4; + longlong lVar5; + undefined ***pppuVar6; + undefined1 auStackY_e78 [32]; + undefined **local_e38; + undefined4 local_e30; + undefined2 local_e2c; + int *local_e28; + undefined1 local_e20; + int *local_e18; + undefined1 local_e10; + undefined8 local_e08; + uint local_df8; + uint uStack_df4; + uint uStack_df0; + uint uStack_dec; + uint local_de8; + uint uStack_de4; + uint uStack_de0; + uint uStack_ddc; + exception local_dd8 [80]; + undefined4 local_d88 [2]; + undefined *local_d80; + longlong local_d78; + undefined4 local_d70; + int local_d6c; + undefined1 local_d60 [136]; + undefined1 local_cd8 [3200]; + undefined1 *local_58; + undefined4 local_50; + int local_4c; + ulonglong local_48; + + local_e08 = 0xfffffffffffffffe; + local_48 = DAT_14016f5a0 ^ (ulonglong)auStackY_e78; + lVar5 = param_4; + FUN_140079c10(); + local_4c = 200; + local_50 = 0; + local_58 = local_cd8; + FUN_140074fb0(local_d88); + FUN_140074c30((longlong)local_d88,(longlong)local_d60,0x80,lVar5); + FUN_140093d90(param_5,(longlong)local_cd8,(SIZE_T)local_d88,lVar5); + local_e28 = (int *)(param_1 + 0xa8); + FUN_14003d040(local_e28); + local_e20 = 1; + local_df8 = *param_6; + uStack_df4 = param_6[1]; + uStack_df0 = param_6[2]; + uStack_dec = param_6[3]; + local_de8 = param_6[4]; + uStack_de4 = param_6[5]; + uStack_de0 = param_6[6]; + uStack_ddc = param_6[7]; + local_e38 = Proud::AddrPort::vftable; + local_e30 = *(undefined4 *)(param_4 + 8); + local_e2c = *(undefined2 *)(param_4 + 0xc); + plVar1 = *(longlong **)(param_1 + 0x168); + dVar2 = (double)(**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x148) + 0x118) + 8))(); + pppuVar6 = &local_e38; + uVar4 = (ulonglong)param_3; + FUN_14008f040(plVar1,(ulonglong)param_2,uVar4,(ulonglong)pppuVar6,(longlong)local_cd8,dVar2, + &local_df8); + if (*(char *)(param_1 + 0x100) == '\0') { + piVar3 = (int *)(*(longlong *)(param_1 + 0x148) + 2000); + local_e18 = piVar3; + FUN_14003d040(piVar3); + local_e10 = 1; + if (*(longlong *)(param_1 + 0xa0) == 0) { + FUN_1400916d0((longlong *)(*(longlong *)(param_1 + 0x148) + 0x828),param_1,uVar4,pppuVar6); + } + FUN_14003d0d0((longlong)piVar3); + } + FUN_14003d0d0((longlong)local_e28); + local_e38 = &local_d80; + FUN_14008a320((longlong *)&local_d80); + if (local_d78 != 0) { + if (local_d6c < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_d70 = 0; + } + if (local_58 == (undefined1 *)0x0) { + FUN_14003db10(local_dd8,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,uVar4, + pppuVar6); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_dd8,(ThrowInfo *)&DAT_14016c210); + } + if (local_4c < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140091980.c b/decomp/AgentManager_Release_x64/full/functions/0x140091980.c new file mode 100644 index 00000000..ba2c17d7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140091980.c @@ -0,0 +1,112 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140091980 FUN_140091980 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +longlong * FUN_140091980(longlong param_1,longlong *param_2,ulonglong param_3,undefined8 param_4) + +{ + undefined *puVar1; + int *piVar2; + undefined *puVar3; + undefined8 *puVar4; + longlong *plVar5; + int *piVar6; + ulonglong uVar7; + longlong lVar8; + char *pcVar9; + LPCWSTR pWVar10; + char *pcVar11; + ulonglong uVar12; + undefined8 uVar13; + undefined1 auStack_128 [32]; + undefined *local_108; + undefined4 local_100; + int *local_f8; + undefined1 local_f0; + longlong *local_e8; + undefined8 local_e0; + undefined8 local_d8 [2]; + undefined8 local_c8 [2]; + char *local_b8; + char local_b0 [136]; + ulonglong local_28; + + local_e0 = 0xfffffffffffffffe; + local_28 = DAT_14016f5a0 ^ (ulonglong)auStack_128; + lVar8 = 0; + local_100 = 0; + if (*(longlong **)(param_1 + 0x150) != (longlong *)0x0) { + lVar8 = **(longlong **)(param_1 + 0x150); + } + uVar12 = param_3; + local_e8 = param_2; + puVar4 = FUN_140042ff0(lVar8,local_d8); + FUN_1400424b0(param_2,(longlong)puVar4,uVar12,param_4); + local_100 = 1; + puVar4 = FUN_140042ff0(*(longlong *)(*(longlong *)(param_3 + 0x748) + 0x110),local_c8); + plVar5 = FUN_1400423c0((longlong)puVar4,(longlong *)&local_108,uVar12,param_4); + pcVar9 = (char *)*plVar5; + if ((char *)*plVar5 == (char *)0x0) { + pcVar9 = PTR_DAT_14016f008; + } + plVar5 = param_2; + FUN_1400426e0(param_2,pcVar9); + puVar3 = local_108; + if (((local_108 != (undefined *)0x0) && (local_108 != PTR_DAT_14016f008)) && + (puVar1 = local_108 + -8, puVar1 != (undefined *)0x0)) { + piVar6 = (int *)FUN_14003e7c0(plVar5,pcVar9,uVar12,param_4); + local_f8 = piVar6; + FUN_14003d040(piVar6); + local_f0 = 1; + piVar2 = (int *)(puVar3 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(puVar1); + } + FUN_14003d0d0((longlong)piVar6); + } + pcVar9 = *(char **)(*(longlong *)(param_1 + 0x148) + 0x218); + if (pcVar9 == (char *)0x0) { + pcVar9 = PTR_DAT_14016f008; + } + FUN_1400426e0(param_2,pcVar9); + pcVar9 = *(char **)(*(longlong *)(param_1 + 0x148) + 0x210); + if (pcVar9 == (char *)0x0) { + pcVar9 = PTR_DAT_14016f008; + } + FUN_1400426e0(param_2,pcVar9); + uVar7 = FUN_140042b00(param_2,pcVar9,uVar12,param_4); + if ((char)uVar7 == '\0') { + plVar5 = FUN_140042720((longlong *)&local_108,pcVar9,uVar12,param_4); + pWVar10 = (LPCWSTR)*plVar5; + if ((LPCWSTR)*plVar5 == (LPCWSTR)0x0) { + pWVar10 = (LPCWSTR)PTR_DAT_14016f010; + } + local_b8 = local_b0; + uVar13 = 3; + FUN_14003d280((longlong *)&local_b8,pWVar10,3); + pcVar11 = local_b8; + FUN_14003d910(param_2,local_b8); + pcVar9 = local_b8; + if (local_b8 != local_b0) { + free(local_b8); + } + if (((local_108 != (undefined *)0x0) && (local_108 != PTR_DAT_14016f010)) && + (local_108 + -8 != (undefined *)0x0)) { + piVar6 = (int *)FUN_14003e7c0(pcVar9,pcVar11,uVar13,param_4); + local_f8 = piVar6; + FUN_14003d040(piVar6); + local_f0 = 1; + piVar2 = (int *)(local_108 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(local_108 + -8); + } + FUN_14003d0d0((longlong)piVar6); + } + } + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140091ba0.c b/decomp/AgentManager_Release_x64/full/functions/0x140091ba0.c new file mode 100644 index 00000000..cadc17a8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140091ba0.c @@ -0,0 +1,80 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140091ba0 FUN_140091ba0 + * Pseudocode, not original source. */ + +void FUN_140091ba0(undefined8 *param_1,undefined8 *param_2,longlong *param_3,undefined8 param_4) + +{ + void *pvVar1; + undefined8 *puVar2; + longlong *plVar3; + + *param_1 = Proud::CUdpSocket_S::vftable; + param_1[1] = Proud::CUdpSocket_S::vftable; + param_1[2] = Proud::CUdpSocket_S::vftable; + param_1[8] = Proud::CUdpSocket_S::vftable; + param_1[0x11] = Proud::CUdpSocket_S::vftable; + pvVar1 = (void *)param_1[0x2f]; + if (pvVar1 != (void *)0x0) { + FUN_140090960((char *)((longlong)pvVar1 + 8),param_2,(SIZE_T)param_3); + operator_delete(pvVar1); + } + param_1[0x2f] = 0; + puVar2 = (undefined8 *)param_1[0x2e]; + if (puVar2 != (undefined8 *)0x0) { + FUN_14008dbe0(puVar2,param_2,(longlong)param_3); + operator_delete(puVar2); + } + param_1[0x2e] = 0; + plVar3 = (longlong *)param_1[0x2d]; + if (plVar3 != (longlong *)0x0) { + FUN_140090ac0(plVar3,param_2,param_3,param_4); + operator_delete(plVar3); + } + param_1[0x2d] = 0; + if ((longlong *)param_1[0x14] != (longlong *)0x0) { + param_2 = param_1; + FUN_14004ac30((longlong *)param_1[0x14],(longlong)param_1,param_3,param_4); + } + pvVar1 = (void *)param_1[0x2f]; + if (pvVar1 != (void *)0x0) { + FUN_140090960((char *)((longlong)pvVar1 + 8),param_2,(SIZE_T)param_3); + operator_delete(pvVar1); + } + puVar2 = (undefined8 *)param_1[0x2e]; + if (puVar2 != (undefined8 *)0x0) { + FUN_14008dbe0(puVar2,param_2,(longlong)param_3); + operator_delete(puVar2); + } + plVar3 = (longlong *)param_1[0x2d]; + if (plVar3 != (longlong *)0x0) { + FUN_140090ac0(plVar3,param_2,param_3,param_4); + operator_delete(plVar3); + } + if ((param_1[0x2a] != 0) && + (*(longlong *)(param_1[0x2a] + 8) = *(longlong *)(param_1[0x2a] + 8) + -1, + *(longlong *)(param_1[0x2a] + 8) == 0)) { + puVar2 = (undefined8 *)param_1[0x2a]; + plVar3 = (longlong *)*puVar2; + if (plVar3 != (longlong *)0x0) { + FUN_140043e60(plVar3,param_2,param_3,param_4); + FUN_14003e8b0(plVar3); + } + FUN_14003e8b0(puVar2); + } + if ((undefined8 *)param_1[0x1c] != (undefined8 *)0x0) { + param_2 = (undefined8 *)0x1; + (*(code *)**(undefined8 **)param_1[0x1c])(); + } + FUN_14003d110((undefined4 *)(param_1 + 0x15),param_2,param_3,param_4); + param_1[0x11] = Proud::ISendIssueObject::vftable; + FUN_140091220(param_1 + 8); + param_1[2] = Proud::IUdpPacketDefragBoardDg::vftable; + param_1[1] = Proud::IUdpPacketFragBoardDg::vftable; + if ((longlong *)param_1[0x14] != (longlong *)0x0) { + FUN_14004ac30((longlong *)param_1[0x14],(longlong)param_1,param_3,param_4); + } + *param_1 = Proud::ICompletionContext::vftable; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140091dc0.c b/decomp/AgentManager_Release_x64/full/functions/0x140091dc0.c new file mode 100644 index 00000000..82e9c8b1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140091dc0.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140091dc0 FUN_140091dc0 + * Pseudocode, not original source. */ + +undefined8 FUN_140091dc0(void) + +{ + return 4; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140091dd0.c b/decomp/AgentManager_Release_x64/full/functions/0x140091dd0.c new file mode 100644 index 00000000..a8d8f535 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140091dd0.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140091dd0 FUN_140091dd0 + * Pseudocode, not original source. */ + +void FUN_140091dd0(longlong param_1) + +{ + longlong lVar1; + + lVar1 = (**(code **)(*(longlong *)(param_1 + 0x48) + 0x10))(param_1 + 0x48); + FUN_14003d190(lVar1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140091df0.c b/decomp/AgentManager_Release_x64/full/functions/0x140091df0.c new file mode 100644 index 00000000..366e9da3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140091df0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140091df0 FUN_140091df0 + * Pseudocode, not original source. */ + +void FUN_140091df0(longlong param_1,undefined8 *param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_140092360((undefined8 *)(param_1 + -0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140091e00.c b/decomp/AgentManager_Release_x64/full/functions/0x140091e00.c new file mode 100644 index 00000000..f0db64f7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140091e00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140091e00 FUN_140091e00 + * Pseudocode, not original source. */ + +void FUN_140091e00(longlong param_1,undefined8 *param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_140092360((undefined8 *)(param_1 + -8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140091e10.c b/decomp/AgentManager_Release_x64/full/functions/0x140091e10.c new file mode 100644 index 00000000..4a68bfaf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140091e10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140091e10 FUN_140091e10 + * Pseudocode, not original source. */ + +void FUN_140091e10(longlong param_1,undefined8 *param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_140092360((undefined8 *)(param_1 + -0x88),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140091e20.c b/decomp/AgentManager_Release_x64/full/functions/0x140091e20.c new file mode 100644 index 00000000..0e52fdf4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140091e20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140091e20 FUN_140091e20 + * Pseudocode, not original source. */ + +void FUN_140091e20(longlong param_1,undefined8 *param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_140092360((undefined8 *)(param_1 + -0x10),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140091e30.c b/decomp/AgentManager_Release_x64/full/functions/0x140091e30.c new file mode 100644 index 00000000..39f98709 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140091e30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140091e30 FUN_140091e30 + * Pseudocode, not original source. */ + +void FUN_140091e30(longlong param_1) + +{ + FUN_140091330(param_1 + -8); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140091e40.c b/decomp/AgentManager_Release_x64/full/functions/0x140091e40.c new file mode 100644 index 00000000..331a7eab --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140091e40.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140091e40 FUN_140091e40 + * Pseudocode, not original source. */ + +undefined8 FUN_140091e40(longlong param_1) + +{ + return *(undefined8 *)(param_1 + 0xd0); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140091e50.c b/decomp/AgentManager_Release_x64/full/functions/0x140091e50.c new file mode 100644 index 00000000..21d8f8aa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140091e50.c @@ -0,0 +1,106 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140091e50 FUN_140091e50 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_140091e50(longlong param_1,longlong param_2,SIZE_T param_3,undefined8 param_4) + +{ + ushort uVar1; + longlong lVar2; + undefined8 uVar3; + ulonglong uVar4; + undefined ***pppuVar5; + undefined1 auStackY_d88 [32]; + undefined **local_d58; + undefined4 uStack_d50; + undefined2 uStack_d4c; + undefined2 uStack_d4a; + int local_d48 [2]; + undefined *local_d40; + longlong local_d38; + uint local_d30; + int local_d2c; + uint local_d20 [2]; + undefined8 local_d18; + undefined1 local_d10; + undefined4 local_d0c; + undefined1 local_d08; + undefined1 local_d07; + undefined8 local_d00; + exception local_cf8 [80]; + longlong local_ca8; + undefined8 uStack_ca0; + longlong *local_28; + undefined4 local_20; + int local_1c; + ulonglong local_18; + + local_d00 = 0xfffffffffffffffe; + local_18 = DAT_14016f5a0 ^ (ulonglong)auStackY_d88; + lVar2 = param_2; + FUN_140074fb0(local_d48); + FUN_140074a40((longlong)local_d48,lVar2,param_3,param_4); + FUN_140075110(local_d48,0x800,param_3,param_4); + uVar3 = 0; + FUN_140075110(local_d48,0,param_3,param_4); + uVar3 = CONCAT71((int7)((ulonglong)uVar3 >> 8),0x27); + FUN_140029d80((longlong)local_d48,uVar3,param_3,param_4); + local_1c = 200; + local_20 = 0; + local_28 = &local_ca8; + if (local_d40 == (undefined *)0x0) { + if (local_d38 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,uVar3,0,param_4); + } + } + else { + local_d30 = *(uint *)(local_d40 + 0x18); + } + local_ca8 = local_d38; + if (local_d38 == 0) { + if (local_d40 == (undefined *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,(ulonglong)local_d30,0,param_4); + } + local_ca8 = 0; + if (*(int *)(local_d40 + 0x18) != 0) { + local_ca8 = *(longlong *)(local_d40 + 0x10); + } + } + local_20 = 1; + uStack_ca0 = CONCAT26(uStack_d4a,CONCAT24(uStack_d4c,local_d30)); + local_d20[0] = 1; + local_d18 = 0; + local_d10 = 1; + local_d0c = 0xffffffff; + local_d08 = 1; + local_d07 = DAT_14016f1cc; + local_d58 = Proud::AddrPort::vftable; + uStack_d50 = *(undefined4 *)(param_2 + 8); + uStack_d4c = *(undefined2 *)(param_2 + 0xc); + uVar1 = FUN_14008be40(1,0); + uVar4 = (ulonglong)uVar1; + pppuVar5 = &local_d58; + FUN_140091760(param_1 + -8,0,uVar1,(longlong)pppuVar5,(longlong)&local_ca8,local_d20); + if (local_28 == (longlong *)0x0) { + FUN_14003db10(local_cf8,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,uVar4, + pppuVar5); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_cf8,(ThrowInfo *)&DAT_14016c210); + } + if (local_1c < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_d58 = &local_d40; + FUN_14008a320((longlong *)&local_d40); + if ((local_d38 != 0) && (local_d2c < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140092050.c b/decomp/AgentManager_Release_x64/full/functions/0x140092050.c new file mode 100644 index 00000000..f0a4d8f9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140092050.c @@ -0,0 +1,123 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140092050 FUN_140092050 + * Pseudocode, not original source. */ + +undefined8 * +FUN_140092050(undefined8 *param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 *puVar1; + ulonglong uVar2; + undefined8 *puVar3; + longlong *plVar4; + longlong *plVar5; + longlong *plVar6; + undefined8 **ppuVar7; + longlong *plVar8; + undefined8 *local_res10; + longlong local_50; + undefined4 local_44; + undefined8 *local_40; + + *param_1 = Proud::ICompletionContext::vftable; + plVar6 = (longlong *)0x0; + param_1[0x12] = 0; + param_1[0x13] = 0; + param_1[0x14] = 0; + param_1[1] = Proud::IUdpPacketFragBoardDg::vftable; + param_1[2] = Proud::IUdpPacketDefragBoardDg::vftable; + FUN_140091200(param_1 + 8); + *param_1 = Proud::CUdpSocket_S::vftable; + param_1[1] = Proud::CUdpSocket_S::vftable; + param_1[2] = Proud::CUdpSocket_S::vftable; + param_1[8] = Proud::CUdpSocket_S::vftable; + param_1[0x11] = Proud::CUdpSocket_S::vftable; + uVar2 = FUN_140094860(); + plVar8 = (longlong *)CONCAT71((int7)((ulonglong)param_3 >> 8),1); + FUN_14003cf60((undefined4 *)(param_1 + 0x15),uVar2 & 0xffffffff,plVar8,param_4); + param_1[0x1c] = 0; + param_1[0x2a] = 0; + param_1[0x2b] = Proud::AddrPort::vftable; + *(undefined4 *)(param_1 + 0x2c) = 0; + *(undefined2 *)((longlong)param_1 + 0x164) = 0; + param_1[0x2d] = 0; + param_1[0x2e] = 0; + param_1[0x2f] = 0; + FUN_1400417c0(&local_50); + local_50 = 0; + local_44 = 1; + local_40 = param_1 + 0x15; + puVar3 = FUN_14003e910(0x800,&local_50,plVar8,param_4); + param_1[0x1c] = puVar3; + local_res10 = operator_new(0x90); + plVar4 = plVar6; + if (local_res10 != (undefined8 *)0x0) { + plVar8 = param_1 + 1; + plVar4 = FUN_1400909c0(local_res10,param_1[0x1c],plVar8); + } + param_1[0x2d] = plVar4; + *(undefined1 *)(plVar4 + 0x11) = 0; + plVar5 = operator_new(0x6b8); + plVar4 = plVar6; + if (plVar5 != (longlong *)0x0) { + *plVar5 = 0; + plVar5[3] = 0; + plVar5[1] = 0; + plVar5[2] = 100; + plVar5[0xcf] = (longlong)Proud::CFastArray::vftable; + plVar5[0xd0] = 0; + plVar5[0xd1] = 0; + plVar5[0xd2] = 0; + plVar5[0xd3] = 0; + plVar5[0xd4] = (longlong)Proud::AddrPort::vftable; + *(undefined4 *)(plVar5 + 0xd5) = 0; + *(undefined2 *)((longlong)plVar5 + 0x6ac) = 0; + plVar4 = plVar5; + } + param_1[0x2e] = plVar4; + *(undefined1 *)(param_1 + 0x20) = 0; + *(undefined1 *)(param_1 + 0x28) = 0; + local_res10 = (undefined8 *)FUN_14003e840(0x400); + plVar4 = plVar6; + if (local_res10 != (undefined8 *)0x0) { + plVar8 = (longlong *)(param_2 + 0x60); + if (param_2 == 0) { + plVar8 = plVar6; + } + plVar4 = FUN_140043f50(local_res10,1,plVar8,param_4); + } + if (plVar4 == (longlong *)0x0) { + local_res10 = (undefined8 *)0x0; + } + else { + local_res10 = (undefined8 *)FUN_14003e840(0x10); + local_res10[1] = 1; + *local_res10 = plVar4; + } + puVar3 = local_res10; + ppuVar7 = &local_res10; + FUN_140040510(param_1 + 0x2a,(longlong *)ppuVar7); + puVar1 = local_res10; + if (puVar3 != (undefined8 *)0x0) { + plVar4 = puVar3 + 1; + *plVar4 = *plVar4 + -1; + if (*plVar4 == 0) { + plVar4 = (longlong *)*local_res10; + if (plVar4 != (longlong *)0x0) { + FUN_140043e60(plVar4,ppuVar7,plVar8,param_4); + FUN_14003e8b0(plVar4); + } + FUN_14003e8b0(puVar1); + } + } + param_1[0x29] = param_2; + *(undefined4 *)(param_1 + 0x2c) = DAT_14016f3d0; + *(undefined2 *)((longlong)param_1 + 0x164) = DAT_14016f3d4; + local_res10 = operator_new(0x60); + if (local_res10 != (undefined8 *)0x0) { + plVar6 = FUN_140090b20(local_res10,param_1 + 2,plVar8,param_4); + } + param_1[0x2f] = plVar6; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140092360.c b/decomp/AgentManager_Release_x64/full/functions/0x140092360.c new file mode 100644 index 00000000..b5d72452 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140092360.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140092360 FUN_140092360 + * Pseudocode, not original source. */ + +undefined8 * +FUN_140092360(undefined8 *param_1,undefined8 *param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_140091ba0(param_1,param_2,param_3,param_4); + if (((ulonglong)param_2 & 1) != 0) { + FUN_14003e8b0(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140092390.c b/decomp/AgentManager_Release_x64/full/functions/0x140092390.c new file mode 100644 index 00000000..606373c1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140092390.c @@ -0,0 +1,19 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140092390 FUN_140092390 + * Pseudocode, not original source. */ + +wchar_t * FUN_140092390(int param_1) + +{ + if (param_1 == 0) { + return L"System"; + } + if (param_1 != 1) { + if (param_1 != 2) { + return L""; + } + return L"HolepunchFreqFail"; + } + return L"Holepunch"; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400923c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400923c0.c new file mode 100644 index 00000000..536d1226 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400923c0.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400923c0 FUN_1400923c0 + * Pseudocode, not original source. */ + +wchar_t * FUN_1400923c0(int param_1) + +{ + if (param_1 == 0) { + return L"Disconnected"; + } + if (param_1 == 1) { + return L"Connecting"; + } + if (param_1 == 2) { + return L"Connected"; + } + if (param_1 != 3) { + return L""; + } + return L"Disconnecting"; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140092400.c b/decomp/AgentManager_Release_x64/full/functions/0x140092400.c new file mode 100644 index 00000000..7e6a61bb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140092400.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140092400 FUN_140092400 + * Pseudocode, not original source. */ + +uint * FUN_140092400(uint *param_1,LPCWSTR param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400766f0(param_1,param_2,param_3,param_4); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140092420.c b/decomp/AgentManager_Release_x64/full/functions/0x140092420.c new file mode 100644 index 00000000..95ca2302 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140092420.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140092420 FUN_140092420 + * Pseudocode, not original source. */ + +uint * FUN_140092420(uint *param_1,undefined8 *param_2) + +{ + FUN_140074ee0(param_1,param_2,0x10); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140092440.c b/decomp/AgentManager_Release_x64/full/functions/0x140092440.c new file mode 100644 index 00000000..0aebf181 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140092440.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140092440 FUN_140092440 + * Pseudocode, not original source. */ + +void FUN_140092440(uint param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + exception local_58 [88]; + + FUN_14003db10(local_58,L"Proud::ThrowExceptionOnReadArray: 길이 %d 할당 요청", + (ulonglong)param_1,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140092470.c b/decomp/AgentManager_Release_x64/full/functions/0x140092470.c new file mode 100644 index 00000000..d124d64b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140092470.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140092470 FUN_140092470 + * Pseudocode, not original source. */ + +longlong FUN_140092470(longlong param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined *local_18; + undefined2 local_10; + + FUN_14003e7c0(param_1,param_2,param_3,param_4); + local_18 = PTR_DAT_14016f008; + FUN_140006de0((longlong *)&local_18,param_2,param_3,param_4); + local_10 = (undefined2)param_2[1]; + FUN_140076820(param_1,(longlong *)&local_18,param_3,param_4); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400924d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400924d0.c new file mode 100644 index 00000000..763f6fee --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400924d0.c @@ -0,0 +1,57 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400924d0 FUN_1400924d0 + * Pseudocode, not original source. */ + +longlong FUN_1400924d0(longlong param_1,undefined8 *param_2,SIZE_T param_3,undefined8 param_4) + +{ + int iVar1; + longlong lVar2; + int iVar3; + longlong lVar4; + SIZE_T SVar5; + exception local_58 [80]; + + lVar4 = 0; + *(undefined4 *)(param_1 + 4) = 0; + lVar2 = *(longlong *)(param_1 + 8); + if (lVar2 == 0) { + if (*(longlong *)(param_1 + 0x10) == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(param_1,param_2,param_3,param_4); + } + } + else if (*(longlong *)(param_1 + 0x10) == 0) { + if (lVar2 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(param_1,param_2,param_3,param_4); + } + iVar1 = *(int *)(lVar2 + 0x18); + FUN_14002a050(lVar2,iVar1 + 0x10,param_3); + if (*(int *)(lVar2 + 0x18) != 0) { + lVar4 = *(longlong *)(lVar2 + 0x10); + } + SVar5 = 0x10; + FUN_140006fb0((undefined8 *)(lVar4 + iVar1),param_2,0x10); + goto LAB_1400925a2; + } + if (*(longlong *)(param_1 + 0x10) == 0) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,param_3, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + iVar1 = *(int *)(param_1 + 0x18); + iVar3 = iVar1 + 0x10; + if ((iVar3 < 0) || (*(int *)(param_1 + 0x1c) < iVar3)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + SVar5 = 0x10; + *(int *)(param_1 + 0x18) = iVar3; + FUN_140006fb0((undefined8 *)((longlong)iVar1 + *(longlong *)(param_1 + 0x10)),param_2,0x10); +LAB_1400925a2: + FUN_14002a180(param_1,param_2,SVar5,param_4); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400925d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400925d0.c new file mode 100644 index 00000000..7eb1ddd1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400925d0.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400925d0 FUN_1400925d0 + * Pseudocode, not original source. */ + +void FUN_1400925d0(longlong *param_1,char *param_2) + +{ + wchar_t *pwVar1; + + pwVar1 = L"false"; + if (*param_2 != '\0') { + pwVar1 = L"true"; + } + FUN_140029bf0(param_1,pwVar1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400925f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400925f0.c new file mode 100644 index 00000000..fdf3845f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400925f0.c @@ -0,0 +1,19 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400925f0 FUN_1400925f0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_1400925f0(longlong *param_1) + +{ + undefined1 auStack_108 [32]; + wchar_t local_e8 [104]; + ulonglong local_18; + + local_18 = DAT_14016f5a0 ^ (ulonglong)auStack_108; + swprintf_s(local_e8,99,L"%d"); + FUN_140029bf0(param_1,local_e8); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140092650.c b/decomp/AgentManager_Release_x64/full/functions/0x140092650.c new file mode 100644 index 00000000..fe68b6a6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140092650.c @@ -0,0 +1,19 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140092650 FUN_140092650 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_140092650(longlong *param_1) + +{ + undefined1 auStack_108 [32]; + wchar_t local_e8 [104]; + ulonglong local_18; + + local_18 = DAT_14016f5a0 ^ (ulonglong)auStack_108; + swprintf_s(local_e8,99,L"%d"); + FUN_140029bf0(param_1,local_e8); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400926b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400926b0.c new file mode 100644 index 00000000..41968d88 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400926b0.c @@ -0,0 +1,19 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400926b0 FUN_1400926b0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_1400926b0(longlong *param_1) + +{ + undefined1 auStack_108 [32]; + wchar_t local_e8 [104]; + ulonglong local_18; + + local_18 = DAT_14016f5a0 ^ (ulonglong)auStack_108; + swprintf_s(local_e8,99,L"%d"); + FUN_140029bf0(param_1,local_e8); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140092710.c b/decomp/AgentManager_Release_x64/full/functions/0x140092710.c new file mode 100644 index 00000000..8e836259 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140092710.c @@ -0,0 +1,19 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140092710 FUN_140092710 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_140092710(longlong *param_1) + +{ + undefined1 auStack_108 [32]; + wchar_t local_e8 [104]; + ulonglong local_18; + + local_18 = DAT_14016f5a0 ^ (ulonglong)auStack_108; + swprintf_s(local_e8,99,L"%ld"); + FUN_140029bf0(param_1,local_e8); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140092770.c b/decomp/AgentManager_Release_x64/full/functions/0x140092770.c new file mode 100644 index 00000000..da8a5ff9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140092770.c @@ -0,0 +1,19 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140092770 FUN_140092770 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_140092770(longlong *param_1) + +{ + undefined1 auStack_108 [32]; + wchar_t local_e8 [104]; + ulonglong local_18; + + local_18 = DAT_14016f5a0 ^ (ulonglong)auStack_108; + swprintf_s(local_e8,99,L"%I64d"); + FUN_140029bf0(param_1,local_e8); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400927d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400927d0.c new file mode 100644 index 00000000..293030cd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400927d0.c @@ -0,0 +1,19 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400927d0 FUN_1400927d0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_1400927d0(longlong *param_1) + +{ + undefined1 auStack_108 [32]; + wchar_t local_e8 [104]; + ulonglong local_18; + + local_18 = DAT_14016f5a0 ^ (ulonglong)auStack_108; + swprintf_s(local_e8,99,L"%f"); + FUN_140029bf0(param_1,local_e8); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140092840.c b/decomp/AgentManager_Release_x64/full/functions/0x140092840.c new file mode 100644 index 00000000..2e3990a1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140092840.c @@ -0,0 +1,19 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140092840 FUN_140092840 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_140092840(longlong *param_1) + +{ + undefined1 auStack_108 [32]; + wchar_t local_e8 [104]; + ulonglong local_18; + + local_18 = DAT_14016f5a0 ^ (ulonglong)auStack_108; + swprintf_s(local_e8,99,L"%lf"); + FUN_140029bf0(param_1,local_e8); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400928b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400928b0.c new file mode 100644 index 00000000..d8348ccf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400928b0.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400928b0 FUN_1400928b0 + * Pseudocode, not original source. */ + +void FUN_1400928b0(longlong *param_1,longlong *param_2) + +{ + FUN_140029bf0(param_1,(short *)&DAT_140110cc4); + FUN_140029980(param_1,param_2); + FUN_140029bf0(param_1,(short *)&DAT_140110cc4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400928f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400928f0.c new file mode 100644 index 00000000..67d7f0ca --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400928f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400928f0 FUN_1400928f0 + * Pseudocode, not original source. */ + +void FUN_1400928f0(longlong *param_1) + +{ + FUN_140029bf0(param_1,L""); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140092900.c b/decomp/AgentManager_Release_x64/full/functions/0x140092900.c new file mode 100644 index 00000000..b0b7f466 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140092900.c @@ -0,0 +1,21 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140092900 FUN_140092900 + * Pseudocode, not original source. */ + +void FUN_140092900(longlong *param_1,UUID *param_2) + +{ + RPC_STATUS RVar1; + wchar_t *pwVar2; + wchar_t *local_res18 [2]; + + RVar1 = UuidToStringW(param_2,(RPC_WSTR *)local_res18); + pwVar2 = L""; + if (RVar1 == 0) { + pwVar2 = local_res18[0]; + } + FUN_140029bf0(param_1,pwVar2); + RpcStringFreeW((RPC_WSTR *)local_res18); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140092950.c b/decomp/AgentManager_Release_x64/full/functions/0x140092950.c new file mode 100644 index 00000000..fc100789 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140092950.c @@ -0,0 +1,36 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140092950 FUN_140092950 + * Pseudocode, not original source. */ + +void FUN_140092950(char *param_1,uint param_2,longlong param_3,uint *param_4) + +{ + undefined1 uVar1; + ushort uVar2; + longlong lVar3; + undefined **local_18; + undefined4 local_10; + undefined2 local_c; + + if (*param_1 != '\0') { + local_18 = Proud::AddrPort::vftable; + local_10 = *(undefined4 *)(param_1 + 0x10); + local_c = *(undefined2 *)(param_1 + 0x14); + if (*(longlong **)(param_1 + 0x40) == (longlong *)0x0) { + lVar3 = 0; + } + else { + lVar3 = **(longlong **)(param_1 + 0x40); + } + uVar1 = (**(code **)(**(longlong **)(param_1 + 0x38) + 0x10))(); + uVar2 = FUN_14008be40(1,uVar1); + FUN_140091760(lVar3,param_2,uVar2,(longlong)&local_18,param_3,param_4); + return; + } + local_18 = *(undefined ***)(param_4 + 2); + local_10 = CONCAT31(local_10._1_3_,(char)param_4[4]); + FUN_140091090(*(char **)(*(longlong *)(param_1 + 0x38) + 0x748),param_3,(SIZE_T *)&local_18, + param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140092a20.c b/decomp/AgentManager_Release_x64/full/functions/0x140092a20.c new file mode 100644 index 00000000..8e136a74 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140092a20.c @@ -0,0 +1,44 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140092a20 FUN_140092a20 + * Pseudocode, not original source. */ + +void FUN_140092a20(longlong param_1) + +{ + longlong *plVar1; + ulonglong uVar2; + longlong lVar3; + longlong lVar4; + undefined **local_18; + undefined4 local_10; + undefined2 local_c; + + if (((*(longlong **)(param_1 + 0x40) != (longlong *)0x0) && (**(longlong **)(param_1 + 0x40) != 0) + ) && (uVar2 = FUN_140041850(param_1 + 8), (char)uVar2 != '\0')) { + local_10 = *(undefined4 *)(param_1 + 0x10); + local_c = *(undefined2 *)(param_1 + 0x14); + lVar4 = 0; + local_18 = Proud::AddrPort::vftable; + lVar3 = lVar4; + if (*(longlong **)(param_1 + 0x40) != (longlong *)0x0) { + lVar3 = **(longlong **)(param_1 + 0x40); + } + FUN_14008e870(*(longlong *)(lVar3 + 0x168),(longlong)&local_18); + plVar1 = *(longlong **)(param_1 + 0x40); + lVar3 = lVar4; + if (plVar1 != (longlong *)0x0) { + lVar3 = *plVar1; + } + if (*(longlong *)(lVar3 + 0x178) != 0) { + local_10 = *(undefined4 *)(param_1 + 0x10); + local_18 = Proud::AddrPort::vftable; + local_c = *(undefined2 *)(param_1 + 0x14); + if (plVar1 != (longlong *)0x0) { + lVar4 = *plVar1; + } + FUN_1400901f0(*(undefined8 **)(lVar4 + 0x178),(longlong)&local_18); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140092b00.c b/decomp/AgentManager_Release_x64/full/functions/0x140092b00.c new file mode 100644 index 00000000..82fa6171 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140092b00.c @@ -0,0 +1,32 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140092b00 FUN_140092b00 + * Pseudocode, not original source. */ + +undefined2 * FUN_140092b00(undefined2 *param_1,undefined8 param_2) + +{ + *(undefined ***)(param_1 + 4) = Proud::AddrPort::vftable; + *(undefined4 *)(param_1 + 8) = 0; + param_1[10] = 0; + *(undefined ***)(param_1 + 0xc) = Proud::AddrPort::vftable; + *(undefined4 *)(param_1 + 0x10) = 0; + param_1[0x12] = 0; + *(undefined4 *)(param_1 + 0x14) = 0; + *(undefined4 *)(param_1 + 0x16) = 0; + *(undefined4 *)(param_1 + 0x18) = 0; + *(undefined4 *)(param_1 + 0x1a) = 0; + *(undefined8 *)(param_1 + 0x20) = 0; + *param_1 = 0; + *(undefined1 *)(param_1 + 1) = 0; + *(undefined4 *)(param_1 + 8) = DAT_14016f3d0; + param_1[10] = DAT_14016f3d4; + *(undefined4 *)(param_1 + 0x10) = DAT_14016f3d0; + param_1[0x12] = DAT_14016f3d4; + *(undefined8 *)(param_1 + 0x1c) = param_2; + *(undefined4 *)(param_1 + 0x14) = 0; + *(undefined4 *)(param_1 + 0x16) = 0; + *(undefined4 *)(param_1 + 0x18) = 0; + *(undefined4 *)(param_1 + 0x1a) = 0; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140092bb0.c b/decomp/AgentManager_Release_x64/full/functions/0x140092bb0.c new file mode 100644 index 00000000..f9017f1a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140092bb0.c @@ -0,0 +1,24 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140092bb0 FUN_140092bb0 + * Pseudocode, not original source. */ + +void FUN_140092bb0(longlong param_1) + +{ + longlong *plVar1; + undefined8 *puVar2; + + if ((*(longlong *)(param_1 + 0x40) != 0) && + (*(longlong *)(*(longlong *)(param_1 + 0x40) + 8) = + *(longlong *)(*(longlong *)(param_1 + 0x40) + 8) + -1, + *(longlong *)(*(longlong *)(param_1 + 0x40) + 8) == 0)) { + plVar1 = *(longlong **)(param_1 + 0x40); + puVar2 = (undefined8 *)*plVar1; + if (puVar2 != (undefined8 *)0x0) { + (**(code **)*puVar2)(puVar2,1); + } + FUN_14003e8b0(plVar1); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140092c10.c b/decomp/AgentManager_Release_x64/full/functions/0x140092c10.c new file mode 100644 index 00000000..32a89694 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140092c10.c @@ -0,0 +1,28 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140092c10 FUN_140092c10 + * Pseudocode, not original source. */ + +void FUN_140092c10(longlong param_1,longlong param_2) + +{ + short sVar1; + int iVar2; + undefined8 *puVar3; + + if ((*(int *)(param_1 + 0x10) != *(int *)(param_2 + 8)) || + (*(short *)(param_1 + 0x14) != *(short *)(param_2 + 0xc))) { + FUN_1400511f0((char *)(*(longlong *)(*(longlong *)(param_1 + 0x38) + 0x238) + 0x388),param_1 + 8 + ,'\0'); + iVar2 = *(int *)(param_2 + 8); + *(int *)(param_1 + 0x10) = iVar2; + sVar1 = *(short *)(param_2 + 0xc); + *(short *)(param_1 + 0x14) = sVar1; + if ((iVar2 != DAT_14016f3d0) || (sVar1 != DAT_14016f3d4)) { + puVar3 = FUN_14007e690((char *)(*(longlong *)(*(longlong *)(param_1 + 0x38) + 0x238) + 0x388), + param_1 + 8); + *puVar3 = *(undefined8 *)(param_1 + 0x38); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140092cb0.c b/decomp/AgentManager_Release_x64/full/functions/0x140092cb0.c new file mode 100644 index 00000000..a8594fa8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140092cb0.c @@ -0,0 +1,21 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140092cb0 FUN_140092cb0 + * Pseudocode, not original source. */ + +undefined4 * +FUN_140092cb0(undefined4 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + ulonglong uVar1; + undefined7 uVar2; + + uVar2 = (undefined7)((ulonglong)param_3 >> 8); + uVar1 = FUN_140094860(); + FUN_14003cf60(param_1,uVar1 & 0xffffffff,CONCAT71(uVar2,1),param_4); + FUN_140048730((undefined8 *)(param_1 + 0x12),1,1); + FUN_140048730((undefined8 *)(param_1 + 0x14),1,1); + *(undefined8 *)(param_1 + 0xe) = 0; + param_1[0x10] = 0; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140092d10.c b/decomp/AgentManager_Release_x64/full/functions/0x140092d10.c new file mode 100644 index 00000000..fb28c0cf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140092d10.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140092d10 FUN_140092d10 + * Pseudocode, not original source. */ + +void FUN_140092d10(undefined4 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400486f0((undefined8 *)(param_1 + 0x14)); + FUN_1400486f0((undefined8 *)(param_1 + 0x12)); + FUN_14003d110(param_1,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140092d50.c b/decomp/AgentManager_Release_x64/full/functions/0x140092d50.c new file mode 100644 index 00000000..43915797 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140092d50.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140092d50 FUN_140092d50 + * Pseudocode, not original source. */ + +int FUN_140092d50(int *param_1) + +{ + int iVar1; + + while( true ) { + FUN_14003d040(param_1); + if (param_1[0xf] < 1) break; + FUN_14003d0d0((longlong)param_1); + FUN_140048640((undefined8 *)(param_1 + 0x14)); + } + param_1[0xe] = param_1[0xe] + 1; + ResetEvent(*(HANDLE *)(param_1 + 0x12)); + iVar1 = param_1[0xe]; + FUN_14003d0d0((longlong)param_1); + return iVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140092dd0.c b/decomp/AgentManager_Release_x64/full/functions/0x140092dd0.c new file mode 100644 index 00000000..3a1133b6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140092dd0.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140092dd0 FUN_140092dd0 + * Pseudocode, not original source. */ + +void FUN_140092dd0(int *param_1) + +{ + FUN_14003d040(param_1); + param_1[0xe] = param_1[0xe] + -1; + if (param_1[0xe] < 1) { + SetEvent(*(HANDLE *)(param_1 + 0x12)); + } + FUN_14003d0d0((longlong)param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140092e00.c b/decomp/AgentManager_Release_x64/full/functions/0x140092e00.c new file mode 100644 index 00000000..e90d360e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140092e00.c @@ -0,0 +1,24 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140092e00 FUN_140092e00 + * Pseudocode, not original source. */ + +void FUN_140092e00(int *param_1) + +{ + int *local_20; + int *local_18; + + while( true ) { + FUN_14003d040(param_1); + if ((param_1[0xf] < 1) && (param_1[0xe] < 1)) break; + local_20 = param_1 + 0x12; + local_18 = param_1 + 0x14; + FUN_14003d0d0((longlong)param_1); + FUN_140048660((longlong)&local_20,2,0xffffffff,1); + } + param_1[0xf] = param_1[0xf] + 1; + ResetEvent(*(HANDLE *)(param_1 + 0x14)); + FUN_14003d0d0((longlong)param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140092e90.c b/decomp/AgentManager_Release_x64/full/functions/0x140092e90.c new file mode 100644 index 00000000..e880dc80 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140092e90.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140092e90 FUN_140092e90 + * Pseudocode, not original source. */ + +void FUN_140092e90(int *param_1) + +{ + FUN_14003d040(param_1); + param_1[0xf] = param_1[0xf] + -1; + if (param_1[0xf] < 1) { + SetEvent(*(HANDLE *)(param_1 + 0x14)); + } + FUN_14003d0d0((longlong)param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140092ec0.c b/decomp/AgentManager_Release_x64/full/functions/0x140092ec0.c new file mode 100644 index 00000000..4efb8220 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140092ec0.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140092ec0 FUN_140092ec0 + * Pseudocode, not original source. */ + +void FUN_140092ec0(undefined8 *param_1) + +{ + if (*(char *)(param_1 + 1) != '\0') { + FUN_140092dd0((int *)*param_1); + *(undefined1 *)(param_1 + 1) = 0; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140092ef0.c b/decomp/AgentManager_Release_x64/full/functions/0x140092ef0.c new file mode 100644 index 00000000..946dc3be --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140092ef0.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140092ef0 FUN_140092ef0 + * Pseudocode, not original source. */ + +void FUN_140092ef0(undefined8 *param_1) + +{ + if (*(char *)(param_1 + 1) != '\0') { + FUN_140092e90((int *)*param_1); + *(undefined1 *)(param_1 + 1) = 0; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140092f20.c b/decomp/AgentManager_Release_x64/full/functions/0x140092f20.c new file mode 100644 index 00000000..60b9e4c1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140092f20.c @@ -0,0 +1,211 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140092f20 FUN_140092f20 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_140092f20(longlong param_1,short **param_2,undefined *param_3,ulonglong param_4) + +{ + int *piVar1; + int iVar2; + int iVar3; + int iVar4; + int iVar5; + int *piVar6; + short *psVar7; + uint uVar8; + int iVar9; + double dVar10; + undefined1 auStack_ab8 [32]; + short *local_a98; + short *local_a90; + int *local_a88; + undefined1 local_a80; + int local_a7c; + int *local_a78; + undefined1 local_a70; + undefined8 local_a68; + undefined8 local_a58 [324]; + ulonglong local_38; + + local_a68 = 0xfffffffffffffffe; + local_38 = DAT_14016f5a0 ^ (ulonglong)auStack_ab8; + FUN_1400480f0(local_a58,param_2,param_3,param_4); + FUN_140048210((longlong)local_a58); + if (*(char *)(param_1 + 0x1040) == '\0') { + do { + dVar10 = (double)FUN_140048760((longlong)local_a58); + piVar1 = (int *)(param_1 + 0x28); + iVar9 = 0; + iVar5 = 0; + param_3 = (undefined *)0x0; + if (dVar10 <= 0.9) { + piVar6 = piVar1; + local_a88 = piVar1; + local_a7c = FUN_140092d50(piVar1); + local_a80 = 1; + param_2 = (short **)(param_1 + 0x80); + uVar8 = *(uint *)param_2; + param_4 = (ulonglong)uVar8; + do { + if (uVar8 != *(uint *)param_2) { + FUN_14003e7c0(piVar6,param_2,param_3,param_4); + local_a98 = (short *)PTR_DAT_14016f010; + iVar2 = FUN_14003e620((short *)&DAT_14011a580); + iVar4 = iVar5; + if ((local_a98 != (short *)0x0) && (local_a98 != (short *)PTR_DAT_14016f010)) { + iVar4 = *(int *)(local_a98 + -4); + } + iVar3 = iVar2; + if (((iVar2 <= iVar4) && (iVar3 = iVar9, local_a98 != (short *)0x0)) && + (local_a98 != (short *)PTR_DAT_14016f010)) { + iVar3 = *(int *)(local_a98 + -4); + } + iVar9 = 1; + if (1 < iVar3) { + iVar9 = iVar3; + } + iVar4 = iVar5; + if ((local_a98 != (short *)0x0) && (local_a98 != (short *)PTR_DAT_14016f010)) { + iVar4 = *(int *)(local_a98 + -4); + } + if (iVar4 < iVar9) { + FUN_140001d10((longlong *)&local_a98,iVar9); + } + FUN_140001df0((longlong *)&local_a98); + psVar7 = local_a98; + if (local_a98 == (short *)0x0) { + psVar7 = (short *)PTR_DAT_14016f010; + } + FUN_14003e650(psVar7,&DAT_14011a580,iVar2); + psVar7 = local_a98; + if (local_a98 == (short *)0x0) { + psVar7 = (short *)PTR_DAT_14016f010; + } + iVar4 = FUN_14003e620(psVar7); + param_3 = PTR_DAT_14016f010; + iVar9 = 0; + if (0 < iVar4) { + iVar9 = iVar4; + } + iVar4 = iVar5; + if ((local_a98 != (short *)0x0) && (local_a98 != (short *)PTR_DAT_14016f010)) { + iVar4 = *(int *)(local_a98 + -4); + } + if ((iVar9 < iVar4) || (iVar9 = iVar5, local_a98 == (short *)0x0)) { +LAB_14009328e: + if (((local_a98 != (short *)PTR_DAT_14016f010) && (local_a98 != (short *)0x0)) && + ((int *)(local_a98 + -4) != (int *)0x0)) { + *(int *)(local_a98 + -4) = iVar9; + local_a98[iVar9] = 0; + } + } + else if (local_a98 != (short *)PTR_DAT_14016f010) { + iVar9 = *(int *)(local_a98 + -4); + goto LAB_14009328e; + } + param_2 = &local_a98; + FUN_14006c890(*(SIZE_T **)(param_1 + 0x1088),(wchar_t *)param_2,(SIZE_T)param_3,param_4) + ; + *(undefined1 *)(param_1 + 0x1040) = 1; + FUN_140092dd0(piVar1); + goto LAB_1400932cf; + } + param_3 = param_3 + 1; + param_2 = (short **)((longlong)param_2 + 4); + } while ((longlong)param_3 < 1000); + if (1 < local_a7c) { + *(undefined1 *)(param_1 + 0x1080) = 1; + } + FUN_140092dd0(piVar1); + local_a80 = 0; + } + else { + piVar6 = piVar1; + local_a78 = piVar1; + FUN_140092e00(piVar1); + local_a70 = 1; + param_2 = (short **)(param_1 + 0x80); + iVar4 = *(int *)param_2; + param_4 = (ulonglong)(iVar4 + 1U); + do { + iVar2 = *(int *)param_2; + *(uint *)param_2 = iVar2 + 1U; + if (iVar4 + 1U != iVar2 + 1U) { + FUN_14003e7c0(piVar6,param_2,param_3,param_4); + local_a90 = (short *)PTR_DAT_14016f010; + iVar2 = FUN_14003e620((short *)&DAT_14011a5f0); + iVar4 = iVar9; + if ((local_a90 != (short *)0x0) && (local_a90 != (short *)PTR_DAT_14016f010)) { + iVar4 = *(int *)(local_a90 + -4); + } + iVar3 = iVar2; + if (((iVar2 <= iVar4) && (iVar3 = iVar9, local_a90 != (short *)0x0)) && + (local_a90 != (short *)PTR_DAT_14016f010)) { + iVar3 = *(int *)(local_a90 + -4); + } + iVar4 = 1; + if (1 < iVar3) { + iVar4 = iVar3; + } + iVar3 = iVar9; + if ((local_a90 != (short *)0x0) && (local_a90 != (short *)PTR_DAT_14016f010)) { + iVar3 = *(int *)(local_a90 + -4); + } + if (iVar3 < iVar4) { + FUN_140001d10((longlong *)&local_a90,iVar4); + } + FUN_140001df0((longlong *)&local_a90); + psVar7 = local_a90; + if (local_a90 == (short *)0x0) { + psVar7 = (short *)PTR_DAT_14016f010; + } + FUN_14003e650(psVar7,&DAT_14011a5f0,iVar2); + psVar7 = local_a90; + if (local_a90 == (short *)0x0) { + psVar7 = (short *)PTR_DAT_14016f010; + } + iVar2 = FUN_14003e620(psVar7); + param_3 = PTR_DAT_14016f010; + iVar4 = 0; + if (0 < iVar2) { + iVar4 = iVar2; + } + if ((local_a90 != (short *)0x0) && (local_a90 != (short *)PTR_DAT_14016f010)) { + iVar9 = *(int *)(local_a90 + -4); + } + if ((iVar4 < iVar9) || (iVar4 = iVar5, local_a90 == (short *)0x0)) { +LAB_14009315d: + if (((local_a90 != (short *)PTR_DAT_14016f010) && (local_a90 != (short *)0x0)) && + ((int *)(local_a90 + -4) != (int *)0x0)) { + *(int *)(local_a90 + -4) = iVar4; + local_a90[iVar4] = 0; + } + } + else if (local_a90 != (short *)PTR_DAT_14016f010) { + iVar4 = *(int *)(local_a90 + -4); + goto LAB_14009315d; + } + param_2 = &local_a90; + FUN_14006c890(*(SIZE_T **)(param_1 + 0x1088),(wchar_t *)param_2,(SIZE_T)param_3,param_4) + ; + *(undefined1 *)(param_1 + 0x1040) = 1; + FUN_140092e90(piVar1); + goto LAB_1400932cf; + } + uVar8 = (int)param_3 + 1; + param_3 = (undefined *)(ulonglong)uVar8; + param_2 = (short **)((longlong)param_2 + 4); + } while ((int)uVar8 < 1000); + FUN_140092e90(piVar1); + local_a70 = 0; + } + Sleep(0); + } while (*(char *)(param_1 + 0x1040) == '\0'); + } +LAB_1400932cf: + FUN_140048130(local_a58,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140093320.c b/decomp/AgentManager_Release_x64/full/functions/0x140093320.c new file mode 100644 index 00000000..06c63742 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140093320.c @@ -0,0 +1,20 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140093320 FUN_140093320 + * Pseudocode, not original source. */ + +undefined8 * +FUN_140093320(undefined8 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + *param_1 = Proud::CFastArray,0>::vftable; + param_1[1] = 0; + param_1[2] = 0; + param_1[3] = 0; + param_1[4] = 0; + FUN_140092cb0((undefined4 *)(param_1 + 5),param_2,param_3,param_4); + *(undefined1 *)(param_1 + 0x210) = 0; + *(undefined1 *)(param_1 + 0x208) = 0; + memset(param_1 + 0x10,0,4000); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140093390.c b/decomp/AgentManager_Release_x64/full/functions/0x140093390.c new file mode 100644 index 00000000..fd2b741d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140093390.c @@ -0,0 +1,188 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140093390 FUN_140093390 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x000140093450) */ +/* WARNING: Removing unreachable block (ram,0x000140093454) */ +/* WARNING: Removing unreachable block (ram,0x000140093470) */ +/* WARNING: Removing unreachable block (ram,0x00014009349d) */ + +void FUN_140093390(undefined *param_1,undefined8 param_2,undefined *param_3,undefined8 param_4) + +{ + char cVar1; + int iVar2; + int iVar3; + undefined8 *puVar4; + longlong lVar5; + longlong *plVar6; + longlong *plVar7; + SIZE_T *pSVar8; + longlong *plVar9; + int iVar10; + longlong **pplVar11; + longlong lVar12; + int *piVar13; + int iVar14; + longlong *local_res10; + longlong *local_res18 [2]; + + iVar14 = 0; + do { + puVar4 = (undefined8 *)0x0; + local_res18[0] = operator_new(0x28); + if (local_res18[0] != (longlong *)0x0) { + param_3 = param_1; + puVar4 = FUN_140045b20(local_res18[0],&LAB_140093310,param_1); + } + if (puVar4 == (undefined8 *)0x0) { + local_res18[0] = (longlong *)0x0; + } + else { + local_res18[0] = (longlong *)FUN_14003e840(0x10); + local_res18[0][1] = 1; + *local_res18[0] = (longlong)puVar4; + } + plVar9 = local_res18[0]; + iVar10 = *(int *)(param_1 + 0x18); + if (iVar10 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + FUN_14007f220((longlong)param_1,iVar10 + 1,param_3,param_4); + lVar12 = 0; + lVar5 = FUN_140074a30((longlong)param_1); + plVar7 = (longlong *)(lVar5 + (longlong)iVar10 * 8); + pplVar11 = local_res18; + FUN_14007b440(plVar7,(longlong *)pplVar11); + plVar6 = local_res18[0]; + if (plVar9 != (longlong *)0x0) { + plVar9 = plVar9 + 1; + *plVar9 = *plVar9 + -1; + if (*plVar9 == 0) { + puVar4 = (undefined8 *)*local_res18[0]; + if (puVar4 != (undefined8 *)0x0) { + FUN_140045c30(puVar4); + operator_delete(puVar4); + } + FUN_14003e8b0(plVar6); + plVar7 = plVar6; + } + } + iVar14 = iVar14 + 1; + } while (iVar14 < 10); + iVar14 = 0; + lVar5 = lVar12; + do { + if ((lVar5 < 0) || (*(int *)(param_1 + 0x18) <= iVar14)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(plVar7,pplVar11,param_3,param_4); + } + puVar4 = *(undefined8 **)(*(longlong *)(param_1 + 0x10) + lVar5 * 8); + if (puVar4 == (undefined8 *)0x0) { + plVar7 = (longlong *)0x0; + } + else { + plVar7 = (longlong *)*puVar4; + } + FUN_140045d20(plVar7,pplVar11,param_3,param_4); + iVar14 = iVar14 + 1; + lVar5 = lVar5 + 1; + } while (lVar5 < 10); + pSVar8 = (SIZE_T *)0x3e8; + Sleep(1000); + cVar1 = param_1[0x1080]; + while (cVar1 == '\0') { + pSVar8 = (SIZE_T *)0x32; + Sleep(0x32); + cVar1 = param_1[0x1080]; + } + param_1[0x1040] = 1; + iVar14 = 0; + do { + if ((lVar12 < 0) || (*(int *)(param_1 + 0x18) <= iVar14)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(pSVar8,pplVar11,param_3,param_4); + } + puVar4 = *(undefined8 **)(*(longlong *)(param_1 + 0x10) + lVar12 * 8); + if (puVar4 == (undefined8 *)0x0) { + pSVar8 = (SIZE_T *)0x0; + } + else { + pSVar8 = (SIZE_T *)*puVar4; + } + FUN_140045bb0(pSVar8); + iVar14 = iVar14 + 1; + lVar12 = lVar12 + 1; + } while (lVar12 < 10); + piVar13 = (int *)(param_1 + 0x80); + lVar5 = 999; + do { + if ((*(int *)(param_1 + 0x80) == 0) || (*piVar13 != piVar13[1])) { + FUN_14003e7c0(pSVar8,pplVar11,param_3,param_4); + local_res10 = (longlong *)PTR_DAT_14016f010; + iVar2 = FUN_14003e620((short *)&DAT_14011a6b0); + iVar10 = 0; + iVar14 = iVar10; + if ((local_res10 != (longlong *)0x0) && (local_res10 != (longlong *)PTR_DAT_14016f010)) { + iVar14 = (int)local_res10[-1]; + } + iVar3 = iVar2; + if (((iVar2 <= iVar14) && (iVar3 = 0, local_res10 != (longlong *)0x0)) && + (iVar3 = 0, local_res10 != (longlong *)PTR_DAT_14016f010)) { + iVar3 = (int)local_res10[-1]; + } + iVar14 = 1; + if (1 < iVar3) { + iVar14 = iVar3; + } + iVar3 = iVar10; + if ((local_res10 != (longlong *)0x0) && (local_res10 != (longlong *)PTR_DAT_14016f010)) { + iVar3 = (int)local_res10[-1]; + } + if (iVar3 < iVar14) { + FUN_140001d10((longlong *)&local_res10,iVar14); + } + FUN_140001df0((longlong *)&local_res10); + plVar9 = local_res10; + if (local_res10 == (longlong *)0x0) { + plVar9 = (longlong *)PTR_DAT_14016f010; + } + FUN_14003e650(plVar9,&DAT_14011a6b0,iVar2); + plVar9 = local_res10; + if (local_res10 == (longlong *)0x0) { + plVar9 = (longlong *)PTR_DAT_14016f010; + } + iVar2 = FUN_14003e620((short *)plVar9); + param_3 = PTR_DAT_14016f010; + iVar14 = 0; + if (0 < iVar2) { + iVar14 = iVar2; + } + if ((local_res10 != (longlong *)0x0) && (local_res10 != (longlong *)PTR_DAT_14016f010)) { + iVar10 = (int)local_res10[-1]; + } + if ((iVar14 < iVar10) || (iVar14 = 0, local_res10 == (longlong *)0x0)) { +LAB_1400936c1: + if (((local_res10 != (longlong *)PTR_DAT_14016f010) && (local_res10 != (longlong *)0x0)) && + (local_res10 + -1 != (longlong *)0x0)) { + *(int *)(local_res10 + -1) = iVar14; + *(short *)((longlong)local_res10 + (longlong)iVar14 * 2) = 0; + } + } + else if (local_res10 != (longlong *)PTR_DAT_14016f010) { + iVar14 = (int)local_res10[-1]; + goto LAB_1400936c1; + } + pplVar11 = &local_res10; + pSVar8 = *(SIZE_T **)(param_1 + 0x1088); + FUN_14006c890(pSVar8,(wchar_t *)pplVar11,(SIZE_T)param_3,param_4); + } + piVar13 = piVar13 + 1; + lVar5 = lVar5 + -1; + if (lVar5 == 0) { + return; + } + } while( true ); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140093730.c b/decomp/AgentManager_Release_x64/full/functions/0x140093730.c new file mode 100644 index 00000000..1f55877e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140093730.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140093730 FUN_140093730 + * Pseudocode, not original source. */ + +undefined8 * FUN_140093730(undefined8 *param_1) + +{ + *param_1 = 0; + *(undefined4 *)(param_1 + 1) = 0; + param_1[2] = 0; + param_1[3] = 0; + *(undefined4 *)(param_1 + 4) = 0; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140093750.c b/decomp/AgentManager_Release_x64/full/functions/0x140093750.c new file mode 100644 index 00000000..1b4ec376 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140093750.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140093750 FUN_140093750 + * Pseudocode, not original source. */ + +void FUN_140093750(longlong param_1,double param_2) + +{ + FUN_1400b70f0((double *)(param_1 + 0x48),param_2); + FUN_1400b7260((double *)(param_1 + 0x60),param_2); + FUN_1400b7210((undefined8 *)(param_1 + 0x38),param_2); + FUN_1400b7170((double *)(param_1 + 0x58),*(double *)(param_1 + 0x60),*(double *)(param_1 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400937c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400937c0.c new file mode 100644 index 00000000..5a71b192 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400937c0.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400937c0 FUN_1400937c0 + * Pseudocode, not original source. */ + +void FUN_1400937c0(longlong param_1) + +{ + FUN_140045000(param_1,DAT_14016f048); + FUN_140044fa0(param_1,DAT_14016f050); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400937f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400937f0.c new file mode 100644 index 00000000..8d752365 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400937f0.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400937f0 FUN_1400937f0 + * Pseudocode, not original source. */ + +void FUN_1400937f0(longlong param_1) + +{ + FUN_140045000(param_1,DAT_14016f04c); + FUN_140044fa0(param_1,DAT_14016f054); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140093820.c b/decomp/AgentManager_Release_x64/full/functions/0x140093820.c new file mode 100644 index 00000000..92ed7882 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140093820.c @@ -0,0 +1,28 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140093820 FUN_140093820 + * Pseudocode, not original source. */ + +undefined4 * FUN_140093820(undefined4 *param_1,undefined4 *param_2) + +{ + longlong *plVar1; + + *param_1 = *param_2; + param_1[1] = param_2[1]; + if (*(longlong *)(param_2 + 2) == *(longlong *)(param_1 + 2)) { + param_1[7] = param_2[7]; + *(undefined8 *)(param_1 + 4) = *(undefined8 *)(param_2 + 4); + param_1[6] = param_2[6]; + } + else { + FUN_14008a320((longlong *)(param_1 + 2)); + if (*(longlong *)(param_2 + 2) != 0) { + plVar1 = (longlong *)(*(longlong *)(param_2 + 2) + 0x28); + *plVar1 = *plVar1 + 1; + *(undefined8 *)(param_1 + 2) = *(undefined8 *)(param_2 + 2); + } + } + *(undefined1 *)(param_1 + 8) = *(undefined1 *)(param_2 + 8); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400938a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400938a0.c new file mode 100644 index 00000000..a860f596 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400938a0.c @@ -0,0 +1,31 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400938a0 FUN_1400938a0 + * Pseudocode, not original source. */ + +undefined2 * FUN_1400938a0(longlong *param_1) + +{ + longlong lVar1; + undefined2 *puVar2; + + lVar1 = *param_1; + if (lVar1 != 0) { + *param_1 = *(longlong *)(lVar1 + 0x38); + *(undefined8 *)(lVar1 + 0x38) = 0; + return (undefined2 *)(lVar1 + 8); + } + puVar2 = (undefined2 *)FUN_14003e840(0x40); + if (puVar2 != (undefined2 *)0x0) { + *(undefined8 *)(puVar2 + 8) = 0; + *(undefined8 *)(puVar2 + 0xc) = 0; + *(undefined8 *)(puVar2 + 0x10) = 0; + *(undefined8 *)(puVar2 + 0x14) = 0; + *(undefined8 *)(puVar2 + 0x18) = 0; + *(undefined ***)(puVar2 + 4) = Proud::ByteArray::vftable; + *(undefined8 *)(puVar2 + 0x1c) = 0; + *puVar2 = 0x1de6; + return puVar2 + 4; + } + return (undefined2 *)0x8; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140093920.c b/decomp/AgentManager_Release_x64/full/functions/0x140093920.c new file mode 100644 index 00000000..118618ef --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140093920.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140093920 FUN_140093920 + * Pseudocode, not original source. */ + +void FUN_140093920(longlong *param_1) + +{ + longlong lVar1; + LPVOID pvVar2; + + lVar1 = *param_1; + while (lVar1 != 0) { + pvVar2 = (LPVOID)*param_1; + *param_1 = *(longlong *)((longlong)pvVar2 + 0x38); + *(undefined8 *)((longlong)pvVar2 + 0x38) = 0; + FUN_140049e40((undefined8 *)((longlong)pvVar2 + 8)); + FUN_14003e8b0(pvVar2); + lVar1 = *param_1; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140093980.c b/decomp/AgentManager_Release_x64/full/functions/0x140093980.c new file mode 100644 index 00000000..f1a84f19 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140093980.c @@ -0,0 +1,37 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140093980 FUN_140093980 + * Pseudocode, not original source. */ + +longlong FUN_140093980(longlong *param_1) + +{ + longlong *plVar1; + longlong lVar2; + longlong lVar3; + longlong *plVar4; + + plVar1 = (longlong *)param_1[1]; + if (plVar1 == (longlong *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + lVar2 = *plVar1; + lVar3 = plVar1[2]; + param_1[1] = lVar2; + if (lVar2 == 0) { + param_1[2] = 0; + } + else { + *(undefined8 *)(lVar2 + 8) = 0; + } + plVar4 = (longlong *)*param_1; + if (plVar4 != (longlong *)0x0) { + (**(code **)(*plVar4 + 0x10))(plVar4,plVar1); + param_1[3] = param_1[3] + -1; + return lVar3; + } + FUN_14003e8b0(plVar1); + param_1[3] = param_1[3] + -1; + return lVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140093a10.c b/decomp/AgentManager_Release_x64/full/functions/0x140093a10.c new file mode 100644 index 00000000..48d4a7c5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140093a10.c @@ -0,0 +1,42 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140093a10 FUN_140093a10 + * Pseudocode, not original source. */ + +void FUN_140093a10(longlong *param_1,longlong param_2,SIZE_T *param_3,undefined8 param_4) + +{ + SIZE_T SVar1; + longlong *plVar2; + longlong lVar3; + undefined2 *puVar4; + undefined8 *puVar5; + + puVar4 = FUN_1400938a0(param_1); + SVar1 = *param_3; + *(SIZE_T *)(puVar4 + 0x14) = SVar1; + thunk_FUN_140097060(param_2,(longlong)puVar4,SVar1,param_4); + plVar2 = (longlong *)param_1[1]; + lVar3 = param_1[3]; + if (plVar2 == (longlong *)0x0) { + puVar5 = (undefined8 *)FUN_14003e840(0x18); + } + else { + puVar5 = (undefined8 *)(**(code **)(*plVar2 + 8))(plVar2,0x18); + } + if (puVar5 != (undefined8 *)0x0) { + puVar5[2] = puVar4; + } + puVar5[1] = lVar3; + *puVar5 = 0; + param_1[4] = param_1[4] + 1; + if ((undefined8 *)param_1[3] == (undefined8 *)0x0) { + param_1[2] = (longlong)puVar5; + } + else { + *(undefined8 *)param_1[3] = puVar5; + } + param_1[3] = (longlong)puVar5; + *(int *)((longlong)param_1 + 0x34) = *(int *)((longlong)param_1 + 0x34) + *(int *)(puVar4 + 0xc); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140093ac0.c b/decomp/AgentManager_Release_x64/full/functions/0x140093ac0.c new file mode 100644 index 00000000..689447bc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140093ac0.c @@ -0,0 +1,73 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140093ac0 FUN_140093ac0 + * Pseudocode, not original source. */ + +void FUN_140093ac0(longlong param_1,longlong *param_2,int param_3) + +{ + int iVar1; + longlong lVar2; + longlong lVar3; + longlong *plVar4; + undefined8 *puVar5; + longlong lVar6; + int iVar7; + undefined4 uStack_24; + + if ((100 < (ulonglong)param_2[2]) && ((void *)*param_2 != (void *)0x0)) { + operator_delete__((void *)*param_2); + *param_2 = 0; + } + param_2[1] = 0; + param_2[2] = 100; + lVar2 = *(longlong *)(param_1 + 0x28); + iVar7 = 0; + if (lVar2 != 0) { + if (*(int *)(lVar2 + 0x18) == 0) { + lVar6 = 0; + } + else { + lVar6 = *(longlong *)(lVar2 + 0x10); + } + iVar7 = *(int *)(lVar2 + 0x18) - *(int *)(param_1 + 0x30); + FUN_14008d170(param_2,lVar6 + *(int *)(param_1 + 0x30),iVar7); + } + puVar5 = *(undefined8 **)(param_1 + 0x10); + while( true ) { + if ((puVar5 == (undefined8 *)0x0) || (param_3 <= iVar7)) { + return; + } + if (puVar5 == (undefined8 *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + lVar2 = puVar5[2]; + iVar1 = *(int *)(lVar2 + 0x18); + if (iVar1 == 0) { + lVar6 = 0; + } + else { + lVar6 = *(longlong *)(lVar2 + 0x10); + } + lVar3 = param_2[1]; + if (lVar3 < 0) break; + FUN_14008c3d0(param_2,lVar3 + 1,-1); + if (param_2[1] <= lVar3) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if ((ulonglong)param_2[2] < 0x65) { + plVar4 = param_2 + (lVar3 + 2) * 2; + } + else { + plVar4 = (longlong *)(lVar3 * 0x10 + *param_2); + } + *plVar4 = CONCAT44(uStack_24,iVar1); + plVar4[1] = lVar6; + iVar7 = iVar7 + *(int *)(lVar2 + 0x18); + puVar5 = (undefined8 *)*puVar5; + } + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140093c10.c b/decomp/AgentManager_Release_x64/full/functions/0x140093c10.c new file mode 100644 index 00000000..02b6e7ae --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140093c10.c @@ -0,0 +1,62 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140093c10 FUN_140093c10 + * Pseudocode, not original source. */ + +void FUN_140093c10(longlong *param_1,int param_2) + +{ + longlong lVar1; + int iVar2; + + if (param_2 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (param_2 != 0) { + lVar1 = param_1[5]; + if (lVar1 != 0) { + iVar2 = (int)param_1[6] + param_2; + if (iVar2 < *(int *)(lVar1 + 0x18)) { + *(int *)((longlong)param_1 + 0x34) = *(int *)((longlong)param_1 + 0x34) - param_2; + *(int *)(param_1 + 6) = iVar2; + return; + } + iVar2 = *(int *)(lVar1 + 0x18) - (int)param_1[6]; + *(int *)((longlong)param_1 + 0x34) = *(int *)((longlong)param_1 + 0x34) - iVar2; + param_2 = param_2 - iVar2; + if ((*(short *)(lVar1 + -8) != 0x1de6) || (*(longlong *)(lVar1 + 0x30) != 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + *(longlong *)(lVar1 + 0x30) = *param_1; + *param_1 = lVar1 + -8; + param_1[5] = 0; + *(undefined4 *)(param_1 + 6) = 0; + } + if (0 < param_2) { + while (param_1[4] != 0) { + lVar1 = FUN_140093980(param_1 + 1); + if (param_2 < *(int *)(lVar1 + 0x18)) { + *(int *)((longlong)param_1 + 0x34) = *(int *)((longlong)param_1 + 0x34) - param_2; + param_1[5] = lVar1; + *(int *)(param_1 + 6) = param_2; + return; + } + *(int *)((longlong)param_1 + 0x34) = + *(int *)((longlong)param_1 + 0x34) - *(int *)(lVar1 + 0x18); + param_2 = param_2 - *(int *)(lVar1 + 0x18); + if ((*(short *)(lVar1 + -8) != 0x1de6) || (*(longlong *)(lVar1 + 0x30) != 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + *(longlong *)(lVar1 + 0x30) = *param_1; + *param_1 = lVar1 + -8; + if (param_2 < 1) { + return; + } + } + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140093d10.c b/decomp/AgentManager_Release_x64/full/functions/0x140093d10.c new file mode 100644 index 00000000..da71a16f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140093d10.c @@ -0,0 +1,40 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140093d10 FUN_140093d10 + * Pseudocode, not original source. */ + +void FUN_140093d10(longlong *param_1) + +{ + longlong lVar1; + longlong *plVar2; + longlong *plVar3; + undefined8 *puVar4; + + lVar1 = param_1[3]; + while( true ) { + if (lVar1 == 0) { + puVar4 = (undefined8 *)*param_1; + param_1[1] = 0; + param_1[2] = 0; + if (puVar4 != (undefined8 *)0x0) { + (**(code **)*puVar4)(puVar4,1); + } + return; + } + plVar2 = (longlong *)param_1[1]; + if (plVar2 == (longlong *)0x0) break; + plVar3 = (longlong *)*param_1; + param_1[1] = *plVar2; + if (plVar3 == (longlong *)0x0) { + FUN_14003e8b0(plVar2); + } + else { + (**(code **)(*plVar3 + 0x10))(plVar3,plVar2); + } + param_1[3] = param_1[3] + -1; + lVar1 = param_1[3]; + } + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140093d90.c b/decomp/AgentManager_Release_x64/full/functions/0x140093d90.c new file mode 100644 index 00000000..0c371c3c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140093d90.c @@ -0,0 +1,54 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140093d90 FUN_140093d90 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_140093d90(longlong param_1,longlong param_2,SIZE_T param_3,undefined8 param_4) + +{ + int iVar1; + undefined8 uVar2; + SIZE_T SVar3; + undefined1 auStack_d28 [32]; + undefined8 local_d08; + exception local_d00 [72]; + undefined1 local_cb8 [3200]; + longlong local_38; + int local_2c; + ulonglong local_28; + + local_d08 = 0xfffffffffffffffe; + local_28 = DAT_14016f5a0 ^ (ulonglong)auStack_d28; + uVar2 = 0x5713; + SVar3 = param_3; + FUN_14002a2d0(param_3,0x5713,param_3,param_4); + iVar1 = FUN_140096ef0(param_1,uVar2,SVar3,param_4); + FUN_140076380(param_3,(longlong)iVar1,SVar3,param_4); + if (*(longlong *)(param_2 + 0xc80) == 0) { + FUN_14003db10(local_d00,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,SVar3, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_d00,(ThrowInfo *)&DAT_14016c210); + } + if (*(int *)(param_2 + 0xc8c) < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + *(undefined4 *)(param_2 + 0xc88) = 0; + FUN_14004ec50((longlong)local_cb8,param_3,SVar3); + FUN_14004dc30(param_2,(longlong)local_cb8,SVar3,param_4); + if (local_38 == 0) { + FUN_14003db10(local_d00,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,SVar3, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_d00,(ThrowInfo *)&DAT_14016c210); + } + if (local_2c < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + FUN_14004dc30(param_2,param_1,SVar3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140093eb0.c b/decomp/AgentManager_Release_x64/full/functions/0x140093eb0.c new file mode 100644 index 00000000..d9962390 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140093eb0.c @@ -0,0 +1,27 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140093eb0 FUN_140093eb0 + * Pseudocode, not original source. */ + +undefined8 * +FUN_140093eb0(undefined8 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + *param_1 = 0; + param_1[1] = 0; + param_1[4] = 0; + param_1[2] = 0; + param_1[3] = 0; + param_1[7] = 0; + param_1[8] = 0; + FUN_1400b7110(param_1 + 9); + FUN_1400b71f0(param_1 + 0xb); + param_1[0xd] = 0; + param_1[0xe] = 0; + param_1[0xc] = 0; + param_1[0xf] = 0; + param_1[6] = 0; + FUN_1400dc820(param_1 + 1,param_2,param_3,param_4); + param_1[5] = 0; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140093f40.c b/decomp/AgentManager_Release_x64/full/functions/0x140093f40.c new file mode 100644 index 00000000..ba66366a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140093f40.c @@ -0,0 +1,64 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140093f40 FUN_140093f40 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x000140093fa4) */ + +void FUN_140093f40(longlong *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong lVar1; + longlong *plVar2; + longlong *plVar3; + LPVOID pvVar4; + undefined8 *puVar5; + + puVar5 = (undefined8 *)param_1[2]; + while( true ) { + if (puVar5 == (undefined8 *)0x0) { + lVar1 = param_1[4]; + while( true ) { + if (lVar1 == 0) { + param_1[2] = 0; + param_1[3] = 0; + puVar5 = (undefined8 *)param_1[1]; + if (puVar5 != (undefined8 *)0x0) { + (**(code **)*puVar5)(puVar5,1); + } + lVar1 = *param_1; + while (lVar1 != 0) { + pvVar4 = (LPVOID)*param_1; + *param_1 = *(longlong *)((longlong)pvVar4 + 0x38); + *(undefined8 *)((longlong)pvVar4 + 0x38) = 0; + FUN_140049e40((undefined8 *)((longlong)pvVar4 + 8)); + FUN_14003e8b0(pvVar4); + lVar1 = *param_1; + } + return; + } + plVar2 = (longlong *)param_1[2]; + if (plVar2 == (longlong *)0x0) break; + param_1[2] = *plVar2; + plVar3 = (longlong *)param_1[1]; + if (plVar3 == (longlong *)0x0) { + FUN_14003e8b0(plVar2); + } + else { + (**(code **)(*plVar3 + 0x10))(plVar3,plVar2); + } + param_1[4] = param_1[4] + -1; + lVar1 = param_1[4]; + } + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + lVar1 = puVar5[2]; + if ((*(short *)(lVar1 + -8) != 0x1de6) || (*(longlong *)(lVar1 + 0x30) != 0)) break; + *(longlong *)(lVar1 + 0x30) = *param_1; + *param_1 = lVar1 + -8; + puVar5 = (undefined8 *)*puVar5; + } + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140094070.c b/decomp/AgentManager_Release_x64/full/functions/0x140094070.c new file mode 100644 index 00000000..d4349457 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140094070.c @@ -0,0 +1,60 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140094070 FUN_140094070 + * Pseudocode, not original source. */ + +void FUN_140094070(longlong param_1,int param_2,longlong param_3,undefined8 param_4) + +{ + longlong lVar1; + undefined4 *puVar2; + longlong lVar3; + int iVar4; + undefined4 *puVar5; + undefined2 *puVar6; + int iVar7; + longlong lVar8; + longlong lVar9; + + iVar7 = (int)param_4; + lVar3 = (longlong)iVar7; + if (((-1 < iVar7) && (-1 < param_2)) && (param_2 <= *(int *)(param_1 + 0x18))) { + iVar4 = *(int *)(param_1 + 0x18); + FUN_14007e740(param_1,iVar4 + iVar7,param_3,param_4); + iVar4 = iVar4 - param_2; + if ((0 < iVar4) && (iVar4 = iVar4 + -1, lVar8 = (longlong)iVar4, -1 < iVar4)) { + lVar9 = (lVar8 + param_2 + lVar3) * 0x48; + do { + lVar1 = FUN_140074a30(param_1); + puVar5 = (undefined4 *)(lVar3 * -0x48 + lVar1 + lVar9); + lVar1 = FUN_140074a30(param_1); + puVar2 = (undefined4 *)(lVar9 + lVar1); + FUN_140093820(puVar2,puVar5); + lVar9 = lVar9 + -0x48; + lVar8 = lVar8 + -1; + puVar2[10] = puVar5[10]; + puVar2[0xe] = puVar5[0xe]; + *(undefined2 *)(puVar2 + 0xf) = *(undefined2 *)(puVar5 + 0xf); + *(undefined1 *)(puVar2 + 0x10) = *(undefined1 *)(puVar5 + 0x10); + } while (-1 < lVar8); + } + if (0 < lVar3) { + puVar6 = (undefined2 *)(param_3 + 0x3c); + do { + lVar8 = FUN_140074a30(param_1); + puVar2 = (undefined4 *) + (((longlong)param_2 * 0x48 - param_3) + -0x3c + lVar8 + (longlong)puVar6); + FUN_140093820(puVar2,(undefined4 *)(puVar6 + -0x1e)); + lVar3 = lVar3 + -1; + puVar2[10] = *(undefined4 *)(puVar6 + -10); + puVar2[0xe] = *(undefined4 *)(puVar6 + -2); + *(undefined2 *)(puVar2 + 0xf) = *puVar6; + *(undefined1 *)(puVar2 + 0x10) = *(undefined1 *)(puVar6 + 2); + puVar6 = puVar6 + 0x24; + } while (lVar3 != 0); + } + return; + } + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400941c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400941c0.c new file mode 100644 index 00000000..89635785 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400941c0.c @@ -0,0 +1,342 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400941c0 FUN_1400941c0 + * Pseudocode, not original source. */ + +undefined8 * +FUN_1400941c0(longlong *param_1,undefined4 *param_2,undefined8 param_3,undefined8 param_4) + +{ + ulonglong uVar1; + undefined4 uVar2; + undefined8 uVar3; + ulonglong uVar4; + undefined2 *puVar5; + undefined8 *puVar6; + uint *puVar7; + undefined2 *puVar8; + longlong **pplVar9; + ulonglong *puVar10; + undefined8 *puVar11; + uint uVar12; + undefined4 uVar13; + SIZE_T SVar14; + undefined8 *puVar15; + longlong *local_res8; + ulonglong local_res10; + longlong *local_res18; + undefined2 *local_138; + undefined8 *local_130; + uint local_128; + int iStack_124; + uint local_120 [2]; + longlong local_118; + longlong local_110; + undefined4 local_108; + int local_104; + undefined2 *local_f8; + undefined8 *local_f0; + undefined8 local_e8; + undefined4 local_d8 [2]; + longlong local_d0; + longlong local_c8; + undefined4 local_c0; + int local_bc; + undefined4 local_b0; + undefined **local_a8; + undefined4 local_a0; + undefined2 local_9c; + undefined1 local_98; + undefined8 local_88; + exception local_80 [72]; + + local_88 = 0xfffffffffffffffe; + puVar6 = (undefined8 *)0x0; + *param_2 = 0; + if ((int)param_1[1] == 0) { + puVar6 = (undefined8 *)0x0; + } + else { + FUN_140074fb0(local_120); + SVar14 = (SIZE_T)*(uint *)(param_1 + 1); + FUN_140074c30((longlong)local_120,*param_1,SVar14,param_4); + FUN_140075110((int *)local_120,(ulonglong)*(uint *)(param_1 + 1),SVar14,param_4); + FUN_140074bb0((int *)local_120,0,SVar14,param_4); + puVar11 = puVar6; + puVar15 = puVar6; + while( true ) { + local_128 = 0; + iStack_124 = 0; + local_130 = (undefined8 *)0x0; + local_138 = (undefined2 *)0x0; + SVar14 = 2; + pplVar9 = &local_res8; + puVar7 = local_120; + uVar3 = FUN_140074ee0(puVar7,pplVar9,2); + uVar13 = SUB84(puVar11,0); + if ((char)uVar3 == '\0') { + *(undefined4 *)(param_1 + 4) = uVar13; + FUN_14008a320((longlong *)&local_138); + if (local_130 != (undefined8 *)0x0) { + if (iStack_124 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_128 = 0; + } + local_res8 = &local_118; + FUN_14008a320(&local_118); + if (local_110 == 0) { + return puVar15; + } + if (-1 < local_104) { + return puVar15; + } + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if ((short)local_res8 != 0x5713) break; + puVar10 = &local_res10; + puVar7 = local_120; + uVar4 = FUN_140075580(puVar7,puVar10,SVar14,param_4); + uVar1 = local_res10; + if ((char)uVar4 == '\0') { + *(undefined4 *)(param_1 + 4) = uVar13; + FUN_14008a320((longlong *)&local_138); + if (local_130 != (undefined8 *)0x0) { + if (iStack_124 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_128 = 0; + } + local_res8 = &local_118; + FUN_14008a320(&local_118); + if (local_110 == 0) { + return puVar15; + } + if (-1 < local_104) { + return puVar15; + } + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + uVar12 = (uint)local_res10; + if ((int)uVar12 < 0) { + if (local_118 == 0) { + if (local_110 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(puVar7,puVar10,SVar14,param_4); + } + } + else { + local_108 = *(undefined4 *)(local_118 + 0x18); + } + *(undefined4 *)(param_1 + 4) = local_108; + *param_2 = 0x1f; + FUN_14008a320((longlong *)&local_138); + if (local_130 != (undefined8 *)0x0) { + if (iStack_124 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_128 = 0; + } + local_res8 = &local_118; + FUN_14008a320(&local_118); + if ((local_110 != 0) && (local_104 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + goto LAB_14009471b; + } + if (*(int *)((longlong)param_1 + 0x1c) < (int)uVar12) { + if (local_118 == 0) { + if (local_110 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(puVar7,puVar10,SVar14,param_4); + } + } + else { + local_108 = *(undefined4 *)(local_118 + 0x18); + } + *(undefined4 *)(param_1 + 4) = local_108; + *param_2 = 0x20; + FUN_14008a320((longlong *)&local_138); + if (local_130 != (undefined8 *)0x0) { + if (iStack_124 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_128 = 0; + } + local_res8 = &local_118; + FUN_14008a320(&local_118); + if ((local_110 != 0) && (local_104 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + goto LAB_14009471b; + } + uVar4 = local_res10 & 0xffffffff; + uVar2 = FUN_140074f40(local_120,uVar12,SVar14,param_4); + if ((char)uVar2 == '\0') { + *(undefined4 *)(param_1 + 4) = uVar13; + FUN_14008a320((longlong *)&local_138); + if (local_130 != (undefined8 *)0x0) { + if (iStack_124 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_128 = 0; + } + local_res8 = &local_118; + FUN_14008a320(&local_118); + if (local_110 == 0) { + return puVar15; + } + if (-1 < local_104) { + return puVar15; + } + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (local_130 != (undefined8 *)0x0) { + FUN_14003db10(local_80,(wchar_t *)PTR_u_Cannot_use_internal_buffer_becau_140170560,SVar14, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_80,(ThrowInfo *)&DAT_14016c210); + } + if (local_138 == (undefined2 *)0x0) { + puVar5 = FUN_14008a360(0,uVar4,SVar14); + *(undefined8 *)(puVar5 + 0x14) = 1; + if (local_130 == (undefined8 *)0x0) { + uVar4 = 0; + local_138 = puVar5; + goto LAB_14009430c; + } + puVar8 = local_138; + local_138 = puVar5; + if (iStack_124 < (int)uVar12) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + } + else { +LAB_14009430c: + puVar8 = local_138; + if ((int)uVar12 < 1) { + if (local_138 == (undefined2 *)0x0) goto LAB_1400944ca; + uVar12 = 0; + } + else if (local_138 == (undefined2 *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,uVar4,SVar14,param_4); + } + FUN_14002a050((longlong)local_138,uVar12,SVar14); + uVar12 = local_128; + } + local_128 = uVar12; + puVar11 = local_130; + if (local_130 == (undefined8 *)0x0) { + uVar4 = 0; + if (local_138 == (undefined2 *)0x0) { +LAB_1400944ca: + /* WARNING: Subroutine does not return */ + FUN_14008a420(puVar8,uVar4,SVar14,param_4); + } + puVar11 = puVar6; + if (*(int *)(local_138 + 0xc) != 0) { + puVar11 = *(undefined8 **)(local_138 + 8); + } + } + uVar3 = FUN_140074ee0(local_120,puVar11,uVar1 & 0xffffffff); + if ((char)uVar3 == '\0') { + *(undefined4 *)(param_1 + 4) = uVar13; + FUN_14008a320((longlong *)&local_138); + if (local_130 != (undefined8 *)0x0) { + if (iStack_124 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_128 = 0; + } + local_res8 = &local_118; + FUN_14008a320(&local_118); + if (local_110 == 0) { + return puVar15; + } + if (-1 < local_104) { + return puVar15; + } + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + FUN_140074fb0(local_d8); + local_a8 = Proud::AddrPort::vftable; + local_98 = 0; + local_a0 = DAT_14016f3d0; + local_9c = DAT_14016f3d4; + local_b0 = (undefined4)param_1[3]; + local_e8 = 0; + local_f0 = (undefined8 *)0x0; + if (local_138 == (undefined2 *)0x0) { + local_f8 = (undefined2 *)0x0; + local_f0 = local_130; + local_e8 = CONCAT44(iStack_124,local_128); + } + else { + *(longlong *)(local_138 + 0x14) = *(longlong *)(local_138 + 0x14) + 1; + local_f8 = local_138; + } + FUN_140075080(local_d8,(longlong *)&local_f8); + param_4 = 1; + FUN_140094070(param_1[2],*(int *)(param_1[2] + 0x18),(longlong)local_d8,1); + puVar15 = (undefined8 *)(ulonglong)((int)puVar15 + 1); + puVar11 = (undefined8 *) + (ulonglong)(uint)((int)(((int)local_120[0] >> 0x1f & 7U) + local_120[0]) >> 3); + local_res18 = &local_d0; + FUN_14008a320(&local_d0); + if (local_c8 != 0) { + if (local_bc < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_c0 = 0; + } + FUN_14008a320((longlong *)&local_138); + if ((local_130 != (undefined8 *)0x0) && (iStack_124 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + } + if (local_118 == 0) { + if (local_110 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(puVar7,pplVar9,SVar14,param_4); + } + } + else { + local_108 = *(undefined4 *)(local_118 + 0x18); + } + *(undefined4 *)(param_1 + 4) = local_108; + *param_2 = 0x1f; + FUN_14008a320((longlong *)&local_138); + if (local_130 != (undefined8 *)0x0) { + if (iStack_124 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_128 = 0; + } + local_res8 = &local_118; + FUN_14008a320(&local_118); + if ((local_110 != 0) && (local_104 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } +LAB_14009471b: + puVar6 = (undefined8 *)0xffffffff; + } + return puVar6; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400947a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400947a0.c new file mode 100644 index 00000000..21deee06 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400947a0.c @@ -0,0 +1,31 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400947a0 FUN_1400947a0 + * Pseudocode, not original source. */ + +ulonglong FUN_1400947a0(longlong *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4, + undefined4 *param_5) + +{ + undefined8 *puVar1; + longlong local_38; + undefined4 local_30; + undefined8 local_28; + undefined4 local_20; + undefined4 local_1c; + int local_18; + + local_1c = (undefined4)param_4; + local_20 = (undefined4)param_3; + local_38 = 0; + local_18 = 0; + if ((int)param_1[4] != 0) { + local_38 = param_1[3]; + } + local_38 = local_38 + param_1[6]; + local_30 = (undefined4)param_1[7]; + local_28 = param_2; + puVar1 = FUN_1400941c0(&local_38,param_5,param_3,param_4); + FUN_14009ad20(param_1,(longlong)local_18,param_3,param_4); + return (ulonglong)puVar1 & 0xffffffff; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140094810.c b/decomp/AgentManager_Release_x64/full/functions/0x140094810.c new file mode 100644 index 00000000..6e54c400 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140094810.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140094810 FUN_140094810 + * Pseudocode, not original source. */ + +void FUN_140094810(undefined8 *param_1) + +{ + *param_1 = Proud::IHostIDFactory::vftable; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140094820.c b/decomp/AgentManager_Release_x64/full/functions/0x140094820.c new file mode 100644 index 00000000..0d7ffac2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140094820.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140094820 FUN_140094820 + * Pseudocode, not original source. */ + +undefined8 * FUN_140094820(undefined8 *param_1) + +{ + *(undefined4 *)(param_1 + 1) = 2; + *param_1 = Proud::CHostIDFactory::vftable; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140094840.c b/decomp/AgentManager_Release_x64/full/functions/0x140094840.c new file mode 100644 index 00000000..46bee00a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140094840.c @@ -0,0 +1,20 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140094840 FUN_140094840 + * Pseudocode, not original source. */ + +void FUN_140094840(longlong param_1) + +{ + int *piVar1; + undefined4 uVar2; + + piVar1 = (int *)(param_1 + 8); + *piVar1 = *piVar1 + 1; + uVar2 = *(undefined4 *)(param_1 + 8); + if (*piVar1 == 0) { + uVar2 = 3; + } + *(undefined4 *)(param_1 + 8) = uVar2; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140094860.c b/decomp/AgentManager_Release_x64/full/functions/0x140094860.c new file mode 100644 index 00000000..5be8bfda --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140094860.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140094860 FUN_140094860 + * Pseudocode, not original source. */ + +undefined8 FUN_140094860(void) + +{ + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140094870.c b/decomp/AgentManager_Release_x64/full/functions/0x140094870.c new file mode 100644 index 00000000..cc40240b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140094870.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140094870 FUN_140094870 + * Pseudocode, not original source. */ + +undefined8 * FUN_140094870(undefined8 *param_1,byte param_2) + +{ + *param_1 = Proud::IHostIDFactory::vftable; + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400948a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400948a0.c new file mode 100644 index 00000000..59112263 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400948a0.c @@ -0,0 +1,26 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400948a0 FUN_1400948a0 + * Pseudocode, not original source. */ + +uint FUN_1400948a0(longlong param_1,uint param_2) + +{ + ulonglong uVar1; + uint *puVar2; + + uVar1 = (ulonglong)param_2 % (ulonglong)*(uint *)(param_1 + 0x40); + if (*(longlong *)(param_1 + 0x20) != 0) { + for (puVar2 = *(uint **)(*(longlong *)(param_1 + 0x20) + uVar1 * 8); + (puVar2 != (uint *)0x0 && ((uint)uVar1 == puVar2[10] % *(uint *)(param_1 + 0x40))); + puVar2 = *(uint **)(puVar2 + 6)) { + if (*puVar2 == param_2) goto LAB_1400948ed; + } + } + puVar2 = (uint *)0x0; +LAB_1400948ed: + if (puVar2 != (uint *)0x0) { + return puVar2[3]; + } + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140094900.c b/decomp/AgentManager_Release_x64/full/functions/0x140094900.c new file mode 100644 index 00000000..8c7177ad --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140094900.c @@ -0,0 +1,37 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140094900 FUN_140094900 + * Pseudocode, not original source. */ + +undefined4 FUN_140094900(longlong *param_1) + +{ + longlong *plVar1; + longlong lVar2; + longlong *plVar3; + longlong lVar4; + + plVar1 = (longlong *)param_1[1]; + if (plVar1 == (longlong *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + lVar2 = *plVar1; + lVar4 = plVar1[2]; + param_1[1] = lVar2; + if (lVar2 == 0) { + param_1[2] = 0; + } + else { + *(undefined8 *)(lVar2 + 8) = 0; + } + plVar3 = (longlong *)*param_1; + if (plVar3 != (longlong *)0x0) { + (**(code **)(*plVar3 + 0x10))(plVar3,plVar1); + param_1[3] = param_1[3] + -1; + return (int)lVar4; + } + FUN_14003e8b0(plVar1); + param_1[3] = param_1[3] + -1; + return (int)lVar4; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140094980.c b/decomp/AgentManager_Release_x64/full/functions/0x140094980.c new file mode 100644 index 00000000..54591125 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140094980.c @@ -0,0 +1,35 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140094980 FUN_140094980 + * Pseudocode, not original source. */ + +undefined8 * FUN_140094980(longlong *param_1,undefined4 *param_2) + +{ + longlong lVar1; + longlong *plVar2; + undefined8 *puVar3; + + lVar1 = param_1[2]; + plVar2 = (longlong *)*param_1; + if (plVar2 == (longlong *)0x0) { + puVar3 = (undefined8 *)FUN_14003e840(0x18); + } + else { + puVar3 = (undefined8 *)(**(code **)(*plVar2 + 8))(plVar2,0x18); + } + if (puVar3 != (undefined8 *)0x0) { + *(undefined4 *)(puVar3 + 2) = *param_2; + } + puVar3[1] = lVar1; + *puVar3 = 0; + param_1[3] = param_1[3] + 1; + if ((undefined8 *)param_1[2] == (undefined8 *)0x0) { + param_1[1] = (longlong)puVar3; + } + else { + *(undefined8 *)param_1[2] = puVar3; + } + param_1[2] = (longlong)puVar3; + return puVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140094a00.c b/decomp/AgentManager_Release_x64/full/functions/0x140094a00.c new file mode 100644 index 00000000..c58cd596 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140094a00.c @@ -0,0 +1,72 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140094a00 FUN_140094a00 + * Pseudocode, not original source. */ + +undefined4 * FUN_140094a00(char *param_1,undefined4 *param_2,uint param_3,undefined4 param_4) + +{ + longlong *plVar1; + longlong lVar2; + undefined8 uVar3; + uint uVar4; + undefined4 *puVar5; + + plVar1 = *(longlong **)(param_1 + 0x50); + if (plVar1 == (longlong *)0x0) { + puVar5 = (undefined4 *)FUN_14003e840(0x30); + } + else { + puVar5 = (undefined4 *)(**(code **)(*plVar1 + 8))(plVar1,0x30); + } + if (puVar5 != (undefined4 *)0x0) { + *puVar5 = *param_2; + *(undefined8 *)(puVar5 + 2) = 0; + *(undefined8 *)(puVar5 + 4) = 0; + puVar5[10] = param_4; + } + lVar2 = *(longlong *)(*(longlong *)(param_1 + 8) + (ulonglong)param_3 * 8); + FUN_14004c730(param_1); + if (*(longlong *)(param_1 + 0x20) == 0) { + *(undefined4 **)(param_1 + 0x10) = puVar5; + *(undefined4 **)(param_1 + 0x18) = puVar5; + *(undefined8 *)(puVar5 + 8) = 0; + *(undefined8 *)(puVar5 + 6) = 0; + } + else { + FUN_14004c730(param_1); + FUN_14004c730(param_1); + if (lVar2 == 0) { + lVar2 = *(longlong *)(param_1 + 0x10); + *(undefined8 *)(puVar5 + 8) = 0; + *(longlong *)(puVar5 + 6) = lVar2; + if (lVar2 != 0) { + *(undefined4 **)(lVar2 + 0x20) = puVar5; + } + *(undefined4 **)(param_1 + 0x10) = puVar5; + } + else { + if (*(longlong *)(lVar2 + 0x20) == 0) { + *(undefined4 **)(param_1 + 0x10) = puVar5; + } + else { + *(undefined4 **)(*(longlong *)(lVar2 + 0x20) + 0x18) = puVar5; + } + uVar3 = *(undefined8 *)(lVar2 + 0x20); + *(longlong *)(puVar5 + 6) = lVar2; + *(undefined8 *)(puVar5 + 8) = uVar3; + *(undefined4 **)(lVar2 + 0x20) = puVar5; + } + } + *(undefined4 **)(*(longlong *)(param_1 + 8) + (ulonglong)param_3 * 8) = puVar5; + *(longlong *)(param_1 + 0x20) = *(longlong *)(param_1 + 0x20) + 1; + FUN_14004c730(param_1); + FUN_14004c730(param_1); + if ((*(ulonglong *)(param_1 + 0x38) < *(ulonglong *)(param_1 + 0x20)) && + (*(int *)(param_1 + 0x48) == 0)) { + uVar4 = FUN_14009b970((longlong)param_1,*(ulonglong *)(param_1 + 0x20)); + FUN_14004cdb0(param_1,uVar4); + } + FUN_14004c730(param_1); + return puVar5; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140094b40.c b/decomp/AgentManager_Release_x64/full/functions/0x140094b40.c new file mode 100644 index 00000000..12439037 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140094b40.c @@ -0,0 +1,67 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140094b40 FUN_140094b40 + * Pseudocode, not original source. */ + +undefined4 FUN_140094b40(longlong param_1,double param_2) + +{ + int *piVar1; + int iVar2; + uint uVar3; + ulonglong uVar4; + undefined4 uVar5; + uint *puVar6; + + if (*(longlong *)(param_1 + 0x88) == 0) { + piVar1 = (int *)(param_1 + 0x10); + *piVar1 = *piVar1 + 1; + iVar2 = *piVar1; + uVar5 = *(undefined4 *)(param_1 + 0x10); + } + else { + if (*(longlong *)(param_1 + 0x78) == 0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + uVar3 = *(uint *)(*(longlong *)(param_1 + 0x78) + 0x10); + uVar4 = (ulonglong)uVar3 % (ulonglong)*(uint *)(param_1 + 0x40); + if (*(longlong *)(param_1 + 0x20) != 0) { + for (puVar6 = *(uint **)(*(longlong *)(param_1 + 0x20) + uVar4 * 8); + (puVar6 != (uint *)0x0 && ((uint)uVar4 == puVar6[10] % *(uint *)(param_1 + 0x40))); + puVar6 = *(uint **)(puVar6 + 6)) { + if (*puVar6 == uVar3) goto LAB_140094bbd; + } + } + puVar6 = (uint *)0x0; +LAB_140094bbd: + if (puVar6 == (uint *)0x0) { + FUN_140094900((longlong *)(param_1 + 0x70)); + piVar1 = (int *)(param_1 + 0x10); + *piVar1 = *piVar1 + 1; + if (*piVar1 == 0) { + *(undefined4 *)(param_1 + 0x10) = 3; + return 3; + } + goto LAB_140094c16; + } + if (*(double *)(param_1 + 8) <= param_2 - *(double *)(puVar6 + 4) && + param_2 - *(double *)(puVar6 + 4) != *(double *)(param_1 + 8)) { + puVar6[4] = 0; + puVar6[5] = 0; + puVar6[3] = puVar6[3] + 1; + uVar5 = FUN_140094900((longlong *)(param_1 + 0x70)); + return uVar5; + } + piVar1 = (int *)(param_1 + 0x10); + *piVar1 = *piVar1 + 1; + iVar2 = *piVar1; + uVar5 = *(undefined4 *)(param_1 + 0x10); + } + if (iVar2 == 0) { + uVar5 = 3; + } + *(undefined4 *)(param_1 + 0x10) = uVar5; +LAB_140094c16: + return *(undefined4 *)(param_1 + 0x10); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140094c20.c b/decomp/AgentManager_Release_x64/full/functions/0x140094c20.c new file mode 100644 index 00000000..c63f1e90 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140094c20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140094c20 FUN_140094c20 + * Pseudocode, not original source. */ + +void FUN_140094c20(char *param_1) + +{ + FUN_14004e320(param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140094c40.c b/decomp/AgentManager_Release_x64/full/functions/0x140094c40.c new file mode 100644 index 00000000..775ece28 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140094c40.c @@ -0,0 +1,35 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140094c40 FUN_140094c40 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x000140094cb7) */ +/* WARNING: Removing unreachable block (ram,0x000140094cc0) */ +/* WARNING: Removing unreachable block (ram,0x000140094cde) */ +/* WARNING: Removing unreachable block (ram,0x000140094ce7) */ + +undefined8 * FUN_140094c40(undefined8 *param_1,undefined8 param_2) + +{ + *param_1 = Proud::CRecycleHostIDFactory::vftable; + param_1[1] = param_2; + *(undefined1 *)(param_1 + 3) = 0; + param_1[0xd] = 0; + param_1[4] = 0; + param_1[5] = 0; + param_1[6] = 0; + *(undefined4 *)(param_1 + 8) = 0x11; + param_1[7] = 0; + *(undefined4 *)(param_1 + 0xc) = 0; + *(undefined4 *)((longlong)param_1 + 0x44) = 0x3f400000; + *(undefined4 *)(param_1 + 9) = 0x3e800000; + *(undefined4 *)((longlong)param_1 + 0x4c) = 0x40100000; + param_1[10] = 0x26; + param_1[0xb] = 0; + param_1[0xe] = 0; + param_1[0x11] = 0; + param_1[0xf] = 0; + param_1[0x10] = 0; + *(undefined4 *)(param_1 + 2) = 2; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140094d30.c b/decomp/AgentManager_Release_x64/full/functions/0x140094d30.c new file mode 100644 index 00000000..a569ac29 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140094d30.c @@ -0,0 +1,41 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140094d30 FUN_140094d30 + * Pseudocode, not original source. */ + +void FUN_140094d30(undefined8 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong lVar1; + undefined8 *puVar2; + longlong *plVar3; + + *param_1 = Proud::CRecycleHostIDFactory::vftable; + *(undefined4 *)(param_1 + 2) = 2; + FUN_14004e320((char *)(param_1 + 3)); + lVar1 = param_1[0x11]; + while( true ) { + if (lVar1 == 0) { + param_1[0xf] = 0; + param_1[0x10] = 0; + FUN_140093d10(param_1 + 0xe); + FUN_140094c20((char *)(param_1 + 3)); + *param_1 = Proud::IHostIDFactory::vftable; + return; + } + puVar2 = (undefined8 *)param_1[0xf]; + if (puVar2 == (undefined8 *)0x0) break; + param_1[0xf] = *puVar2; + plVar3 = (longlong *)param_1[0xe]; + if (plVar3 == (longlong *)0x0) { + FUN_14003e8b0(puVar2); + } + else { + (**(code **)(*plVar3 + 0x10))(plVar3,puVar2); + } + param_1[0x11] = param_1[0x11] + -1; + lVar1 = param_1[0x11]; + } + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140094e20.c b/decomp/AgentManager_Release_x64/full/functions/0x140094e20.c new file mode 100644 index 00000000..c38c555b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140094e20.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140094e20 FUN_140094e20 + * Pseudocode, not original source. */ + +undefined8 * +FUN_140094e20(undefined8 *param_1,ulonglong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140094d30(param_1,param_2,param_3,param_4); + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140094e50.c b/decomp/AgentManager_Release_x64/full/functions/0x140094e50.c new file mode 100644 index 00000000..1858bc5c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140094e50.c @@ -0,0 +1,92 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140094e50 FUN_140094e50 + * Pseudocode, not original source. */ + +undefined8 * FUN_140094e50(longlong param_1,undefined8 param_2,uint param_3) + +{ + uint uVar1; + longlong lVar2; + longlong *plVar3; + ulonglong uVar4; + undefined8 *puVar5; + undefined8 uVar6; + uint *puVar7; + uint uVar8; + uint local_res18 [4]; + + uVar1 = *(uint *)(param_1 + 0x40); + puVar5 = (undefined8 *)((ulonglong)param_3 / (ulonglong)uVar1); + uVar4 = (ulonglong)param_3 % (ulonglong)uVar1; + lVar2 = *(longlong *)(param_1 + 0x20); + uVar8 = (uint)uVar4; + if (lVar2 != 0) { + for (puVar7 = *(uint **)(lVar2 + uVar4 * 8); + (puVar7 != (uint *)0x0 && + (puVar5 = (undefined8 *)((ulonglong)puVar7[10] / (ulonglong)uVar1), + uVar8 == puVar7[10] % uVar1)); puVar7 = *(uint **)(puVar7 + 6)) { + if (*puVar7 == param_3) goto LAB_140094eab; + } + } + puVar7 = (uint *)0x0; +LAB_140094eab: + local_res18[0] = param_3; + if (puVar7 != (uint *)0x0) { + if (*(double *)(puVar7 + 4) != 0.0) { + return puVar5; + } + *(undefined8 *)(puVar7 + 4) = param_2; + puVar5 = FUN_140094980((longlong *)(param_1 + 0x70),local_res18); + return puVar5; + } + if (lVar2 != 0) { + for (puVar7 = *(uint **)(lVar2 + uVar4 * 8); + (puVar7 != (uint *)0x0 && (uVar8 == puVar7[10] % uVar1)); puVar7 = *(uint **)(puVar7 + 6)) { + if (*puVar7 == param_3) goto LAB_140094fb7; + } + if (lVar2 != 0) { + for (puVar7 = *(uint **)(lVar2 + uVar4 * 8); + (puVar7 != (uint *)0x0 && (uVar8 == puVar7[10] % uVar1)); puVar7 = *(uint **)(puVar7 + 6)) + { + if (*puVar7 == param_3) goto LAB_140094fa5; + } + if (lVar2 != 0) goto LAB_140094f7c; + } + } + uVar6 = FUN_14004c640(param_1 + 0x18,uVar1,'\x01'); + if ((char)uVar6 == '\0') { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x8007000e); + } +LAB_140094f7c: + FUN_14004c730((char *)(param_1 + 0x18)); + puVar7 = FUN_140094a00((char *)(param_1 + 0x18),local_res18,uVar8,param_3); + FUN_14004c730((char *)(param_1 + 0x18)); +LAB_140094fa5: + *(ulonglong *)(puVar7 + 2) = (ulonglong)param_3; + *(undefined8 *)(puVar7 + 4) = param_2; +LAB_140094fb7: + plVar3 = *(longlong **)(param_1 + 0x70); + uVar6 = *(undefined8 *)(param_1 + 0x80); + if (plVar3 == (longlong *)0x0) { + puVar5 = (undefined8 *)FUN_14003e840(0x18); + } + else { + puVar5 = (undefined8 *)(**(code **)(*plVar3 + 8))(plVar3,0x18); + } + if (puVar5 != (undefined8 *)0x0) { + *(uint *)(puVar5 + 2) = param_3; + } + puVar5[1] = uVar6; + *puVar5 = 0; + *(longlong *)(param_1 + 0x88) = *(longlong *)(param_1 + 0x88) + 1; + if (*(undefined8 **)(param_1 + 0x80) == (undefined8 *)0x0) { + *(undefined8 **)(param_1 + 0x78) = puVar5; + } + else { + **(undefined8 **)(param_1 + 0x80) = puVar5; + } + *(undefined8 **)(param_1 + 0x80) = puVar5; + return puVar5; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140095030.c b/decomp/AgentManager_Release_x64/full/functions/0x140095030.c new file mode 100644 index 00000000..4bee3052 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140095030.c @@ -0,0 +1,73 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140095030 FUN_140095030 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* WARNING: Removing unreachable block (ram,0x0001400950e4) */ + +void FUN_140095030(longlong param_1,byte *param_2,int param_3) + +{ + byte bVar1; + undefined1 uVar2; + byte bVar3; + uint uVar4; + longlong lVar5; + undefined8 *puVar6; + longlong lVar7; + undefined8 *puVar8; + undefined8 local_58; + undefined8 uStack_50; + undefined8 local_48; + undefined8 uStack_40; + undefined8 local_38; + undefined8 uStack_30; + undefined8 local_28; + undefined8 uStack_20; + ulonglong local_18; + + local_18 = DAT_14016f5a0 ^ (ulonglong)&local_58; + puVar6 = (undefined8 *)0x0; + lVar7 = (longlong)param_3; + puVar8 = puVar6; + if (*(int *)(param_1 + 0x18) != 0) { + puVar8 = *(undefined8 **)(param_1 + 0x10); + } + local_58 = *puVar8; + uStack_50 = puVar8[1]; + local_48 = puVar8[2]; + uStack_40 = puVar8[3]; + local_38 = puVar8[4]; + uStack_30 = puVar8[5]; + local_28 = puVar8[6]; + uStack_20 = puVar8[7]; + puVar8 = puVar6; + if (0 < param_3) { + do { + uVar4 = (int)puVar8 + 1U & 0x8000003f; + if ((int)uVar4 < 0) { + uVar4 = (uVar4 - 1 | 0xffffffc0) + 1; + } + puVar8 = (undefined8 *)(longlong)(int)uVar4; + bVar1 = *(byte *)((longlong)&local_58 + (longlong)puVar8); + uVar4 = (int)puVar6 + (uint)bVar1 & 0x8000003f; + if ((int)uVar4 < 0) { + uVar4 = (uVar4 - 1 | 0xffffffc0) + 1; + } + puVar6 = (undefined8 *)(ulonglong)uVar4; + uVar2 = *(undefined1 *)((longlong)&local_58 + (longlong)puVar8); + lVar5 = (longlong)(int)uVar4; + bVar3 = *(byte *)((longlong)&local_58 + lVar5); + *(undefined1 *)((longlong)&local_58 + (longlong)puVar8) = + *(undefined1 *)((longlong)&local_58 + lVar5); + *(undefined1 *)((longlong)&local_58 + lVar5) = uVar2; + *param_2 = *param_2 ^ + *(byte *)((longlong)&local_58 + + (longlong)(int)((uint)bVar3 + (uint)bVar1 & 0x8000003f)); + lVar7 = lVar7 + -1; + param_2 = param_2 + 1; + } while (lVar7 != 0); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140095120.c b/decomp/AgentManager_Release_x64/full/functions/0x140095120.c new file mode 100644 index 00000000..5e918f67 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140095120.c @@ -0,0 +1,89 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140095120 FUN_140095120 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* WARNING: Removing unreachable block (ram,0x000140095204) */ + +void FUN_140095120(longlong param_1,byte *param_2,int param_3) + +{ + byte bVar1; + undefined1 uVar2; + byte bVar3; + uint uVar4; + longlong lVar5; + undefined8 *puVar6; + longlong lVar7; + undefined8 *puVar8; + undefined8 local_98; + undefined8 uStack_90; + undefined8 local_88; + undefined8 uStack_80; + undefined8 local_78; + undefined8 uStack_70; + undefined8 local_68; + undefined8 uStack_60; + undefined8 local_58; + undefined8 uStack_50; + undefined8 local_48; + undefined8 uStack_40; + undefined8 local_38; + undefined8 uStack_30; + undefined8 local_28; + undefined8 uStack_20; + ulonglong local_18; + + local_18 = DAT_14016f5a0 ^ (ulonglong)&local_98; + puVar6 = (undefined8 *)0x0; + lVar7 = (longlong)param_3; + puVar8 = puVar6; + if (*(int *)(param_1 + 0x18) != 0) { + puVar8 = *(undefined8 **)(param_1 + 0x10); + } + local_98 = *puVar8; + uStack_90 = puVar8[1]; + local_88 = puVar8[2]; + uStack_80 = puVar8[3]; + local_78 = puVar8[4]; + uStack_70 = puVar8[5]; + local_68 = puVar8[6]; + uStack_60 = puVar8[7]; + local_58 = puVar8[8]; + uStack_50 = puVar8[9]; + local_48 = puVar8[10]; + uStack_40 = puVar8[0xb]; + local_38 = puVar8[0xc]; + uStack_30 = puVar8[0xd]; + local_28 = puVar8[0xe]; + uStack_20 = puVar8[0xf]; + puVar8 = puVar6; + if (0 < param_3) { + do { + uVar4 = (int)puVar8 + 1U & 0x8000007f; + if ((int)uVar4 < 0) { + uVar4 = (uVar4 - 1 | 0xffffff80) + 1; + } + puVar8 = (undefined8 *)(longlong)(int)uVar4; + bVar1 = *(byte *)((longlong)&local_98 + (longlong)puVar8); + uVar4 = (int)puVar6 + (uint)bVar1 & 0x8000007f; + if ((int)uVar4 < 0) { + uVar4 = (uVar4 - 1 | 0xffffff80) + 1; + } + puVar6 = (undefined8 *)(ulonglong)uVar4; + uVar2 = *(undefined1 *)((longlong)&local_98 + (longlong)puVar8); + lVar5 = (longlong)(int)uVar4; + bVar3 = *(byte *)((longlong)&local_98 + lVar5); + *(undefined1 *)((longlong)&local_98 + (longlong)puVar8) = + *(undefined1 *)((longlong)&local_98 + lVar5); + *(undefined1 *)((longlong)&local_98 + lVar5) = uVar2; + *param_2 = *param_2 ^ + *(byte *)((longlong)&local_98 + + (longlong)(int)((uint)bVar3 + (uint)bVar1 & 0x8000007f)); + lVar7 = lVar7 + -1; + param_2 = param_2 + 1; + } while (lVar7 != 0); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140095250.c b/decomp/AgentManager_Release_x64/full/functions/0x140095250.c new file mode 100644 index 00000000..5bc41cb1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140095250.c @@ -0,0 +1,55 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140095250 FUN_140095250 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* WARNING: Removing unreachable block (ram,0x0001400952fc) */ + +void FUN_140095250(longlong param_1,byte *param_2,int param_3) + +{ + byte bVar1; + byte bVar2; + byte bVar3; + uint uVar4; + void *pvVar5; + longlong lVar6; + void *pvVar7; + undefined1 auStack_138 [32]; + byte local_118 [256]; + ulonglong local_18; + + local_18 = DAT_14016f5a0 ^ (ulonglong)auStack_138; + pvVar7 = (void *)0x0; + lVar6 = (longlong)param_3; + pvVar5 = pvVar7; + if (*(int *)(param_1 + 0x18) != 0) { + pvVar5 = *(void **)(param_1 + 0x10); + } + memcpy(local_118,pvVar5,0x100); + pvVar5 = pvVar7; + if (0 < param_3) { + do { + uVar4 = (int)pvVar7 + 1U & 0x800000ff; + if ((int)uVar4 < 0) { + uVar4 = (uVar4 - 1 | 0xffffff00) + 1; + } + pvVar7 = (void *)(longlong)(int)uVar4; + bVar1 = local_118[(longlong)pvVar7]; + uVar4 = (int)pvVar5 + (uint)bVar1 & 0x800000ff; + if ((int)uVar4 < 0) { + uVar4 = (uVar4 - 1 | 0xffffff00) + 1; + } + pvVar5 = (void *)(ulonglong)uVar4; + bVar2 = local_118[(longlong)pvVar7]; + bVar3 = local_118[(int)uVar4]; + local_118[(longlong)pvVar7] = local_118[(int)uVar4]; + local_118[(int)uVar4] = bVar2; + *param_2 = *param_2 ^ local_118[(int)((uint)bVar3 + (uint)bVar1 & 0x800000ff)]; + lVar6 = lVar6 + -1; + param_2 = param_2 + 1; + } while (lVar6 != 0); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140095350.c b/decomp/AgentManager_Release_x64/full/functions/0x140095350.c new file mode 100644 index 00000000..a51402da --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140095350.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140095350 FUN_140095350 + * Pseudocode, not original source. */ + +void FUN_140095350(longlong param_1,byte *param_2,undefined8 param_3,undefined8 param_4) + +{ + int iVar1; + int iVar2; + exception local_58 [88]; + + iVar2 = (int)param_3; + iVar1 = *(int *)(param_1 + 0x18) << 3; + if (iVar1 == 0x200) { + FUN_140095030(param_1,param_2,iVar2); + return; + } + if (iVar1 != 0x400) { + if (iVar1 != 0x800) { + FUN_14003db10(local_58,L"RC4 Encrypt Error. FastEncryptLevel is correct",param_3,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + FUN_140095250(param_1,param_2,iVar2); + return; + } + FUN_140095120(param_1,param_2,iVar2); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400953b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400953b0.c new file mode 100644 index 00000000..5346209a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400953b0.c @@ -0,0 +1,95 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400953b0 FUN_1400953b0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_1400953b0(ulonglong param_1,longlong param_2,SIZE_T param_3,undefined8 param_4) + +{ + byte bVar1; + uint uVar2; + longlong lVar3; + uint uVar4; + ulonglong uVar5; + int iVar6; + ulonglong uVar7; + ulonglong uVar8; + int iVar9; + ulonglong uVar10; + ulonglong uVar11; + undefined1 auStack_198 [32]; + exception local_178 [80]; + byte abStack_128 [256]; + ulonglong local_28; + + local_28 = DAT_14016f5a0 ^ (ulonglong)auStack_198; + iVar9 = (int)param_3; + if (iVar9 == 0) { + *(undefined1 *)(param_1 + 0x28) = 1; + } + else { + if (param_2 == 0) { + FUN_14003db10(local_178,L"RC4 ExpandFrom Error. inputkey is NULL",param_3,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_178,(ThrowInfo *)&DAT_14016c210); + } + uVar7 = param_3 & 0xffffffff; + uVar5 = param_1; + FUN_14002a050(param_1,iVar9,param_3); + uVar8 = 0; + uVar10 = uVar8; + if (0 < iVar9) { + do { + iVar6 = (int)uVar10; + if ((iVar6 < 0) || (*(int *)(param_1 + 0x18) <= iVar6)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(uVar5,uVar7,param_3,uVar10); + } + param_3 = (SIZE_T)iVar6; + *(char *)(param_3 + *(longlong *)(param_1 + 0x10)) = (char)uVar10; + uVar10 = (ulonglong)(iVar6 + 1U); + uVar7 = (longlong)iVar6 % (longlong)iVar9 & 0xffffffff; + bVar1 = *(byte *)((int)((longlong)iVar6 % (longlong)iVar9) + param_2); + uVar5 = (ulonglong)bVar1; + abStack_128[param_3] = bVar1; + } while ((int)(iVar6 + 1U) < iVar9); + } + uVar10 = uVar8; + uVar11 = uVar8; + if (0 < iVar9) { + do { + if ((longlong)uVar10 < 0) { +LAB_1400954f2: + /* WARNING: Subroutine does not return */ + FUN_14003def0(uVar5,uVar7,param_3,uVar10); + } + uVar2 = *(uint *)(param_1 + 0x18); + param_3 = (SIZE_T)uVar2; + if ((int)uVar2 <= (int)uVar11) goto LAB_1400954f2; + lVar3 = *(longlong *)(param_1 + 0x10); + uVar4 = (uint)abStack_128[uVar10] + (int)uVar8; + uVar5 = (longlong)(int)(*(byte *)(lVar3 + uVar10) + uVar4) % (longlong)iVar9; + uVar8 = uVar5 & 0xffffffff; + uVar5 = (longlong)((ulonglong)(uint)((int)uVar5 >> 0x1f) << 0x20 | uVar5 & 0xffffffff) % + (longlong)iVar9; + uVar7 = uVar5 & 0xffffffff; + iVar6 = (int)uVar5; + if ((iVar6 < 0) || ((int)uVar2 <= iVar6)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0((ulonglong)uVar4,uVar7,param_3,uVar10); + } + bVar1 = *(byte *)(lVar3 + uVar10); + uVar5 = (ulonglong)bVar1; + param_3 = (SIZE_T)iVar6; + uVar10 = uVar10 + 1; + uVar11 = (ulonglong)((int)uVar11 + 1); + *(undefined1 *)(lVar3 + -1 + uVar10) = *(undefined1 *)(param_3 + lVar3); + *(byte *)(param_3 + lVar3) = bVar1; + } while ((longlong)uVar10 < (longlong)iVar9); + } + *(undefined1 *)(param_1 + 0x28) = 1; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140095500.c b/decomp/AgentManager_Release_x64/full/functions/0x140095500.c new file mode 100644 index 00000000..cf30d429 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140095500.c @@ -0,0 +1,186 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140095500 FUN_140095500 + * Pseudocode, not original source. */ + +undefined8 FUN_140095500(longlong param_1,int *param_2,SIZE_T param_3,ulonglong param_4) + +{ + uint uVar1; + undefined7 uVar4; + longlong lVar2; + undefined8 uVar3; + uint *puVar5; + ulonglong uVar6; + uint uVar7; + uint *puVar9; + SIZE_T SVar10; + byte *_Src; + exception local_290 [72]; + exception local_248 [72]; + exception local_200 [72]; + exception local_1b8 [72]; + exception local_170 [288]; + exception local_50 [72]; + int iVar8; + + if (*(char *)(param_3 + 0x28) == '\0') { + if (*(int *)(param_3 + 0x18) == 0) { + FUN_14003d720(local_1b8,&DAT_14011aa38,param_3,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_1b8,(ThrowInfo *)&DAT_14016c210); + } + } + else if (*(int *)(param_3 + 0x18) == 0) { + FUN_14003db10(local_248, + L"FastEncrypt Key Length is 0, Check ServerStartParameters m_fastEncryptedMessageKeyLength" + ,param_3,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_248,(ThrowInfo *)&DAT_14016c210); + } + lVar2 = *(longlong *)(param_1 + 8); + if (lVar2 == 0) { + if (*(longlong *)(param_1 + 0x10) == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(param_1,param_2,param_3,param_4); + } + uVar7 = *(uint *)(param_1 + 0x18); + } + else { + uVar7 = *(uint *)(lVar2 + 0x18); + } + uVar6 = (ulonglong)uVar7; + if ((int)uVar7 <= (int)param_4) { + if (lVar2 == 0) { + if (*(longlong *)(param_1 + 0x10) == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(param_1,uVar6,param_3,param_4); + } + param_4 = (ulonglong)*(uint *)(param_1 + 0x18); + } + else { + param_4 = (ulonglong)*(uint *)(lVar2 + 0x18); + } + } + if (lVar2 == 0) { + if (*(longlong *)(param_1 + 0x10) == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(param_1,uVar6,param_3,param_4); + } + iVar8 = *(int *)(param_1 + 0x18); + } + else { + iVar8 = *(int *)(lVar2 + 0x18); + } + uVar7 = iVar8 - (int)param_4; + if (uVar7 == 0) { + uVar4 = (undefined7)((ulonglong)lVar2 >> 8); + } + else { + if (*(longlong *)(param_1 + 0x10) == 0) { + if (lVar2 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(param_1,uVar6,param_3,param_4); + } + if (*(int *)(lVar2 + 0x18) == 0) { + lVar2 = 0; + } + else { + lVar2 = *(longlong *)(lVar2 + 0x10); + } + } + else { + lVar2 = *(longlong *)(param_1 + 0x10); + if (lVar2 == 0) { + FUN_14003db10(local_290,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,param_3, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_290,(ThrowInfo *)&DAT_14016c210); + } + } + puVar9 = (uint *)0x0; + _Src = (byte *)((int)param_4 + lVar2); + SVar10 = param_3; + FUN_140074a40((longlong)param_2,uVar6,param_3,param_4); + FUN_140075110(param_2,(ulonglong)(uVar7 + 4),SVar10,param_4); + uVar6 = (ulonglong)uVar7; + uVar1 = FUN_14009adb0(_Src,uVar7); + if (*(longlong *)(param_2 + 4) == 0) { + lVar2 = *(longlong *)(param_2 + 2); + if (lVar2 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,uVar6,SVar10,param_4); + } + puVar5 = puVar9; + if (*(int *)(lVar2 + 0x18) != 0) { + puVar5 = *(uint **)(lVar2 + 0x10); + } + } + else { + puVar5 = *(uint **)(param_2 + 4); + if (*(uint **)(param_2 + 4) == (uint *)0x0) { + FUN_14003db10(local_200,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,SVar10, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_200,(ThrowInfo *)&DAT_14016c210); + } + } + *puVar5 = uVar1; + if (*(longlong *)(param_2 + 4) == 0) { + lVar2 = *(longlong *)(param_2 + 2); + if (lVar2 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(puVar5,uVar6,SVar10,param_4); + } + puVar5 = puVar9; + if (*(int *)(lVar2 + 0x18) != 0) { + puVar5 = *(uint **)(lVar2 + 0x10); + } + } + else { + puVar5 = *(uint **)(param_2 + 4); + if (*(uint **)(param_2 + 4) == (uint *)0x0) { + FUN_14003db10(local_170,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,SVar10, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_170,(ThrowInfo *)&DAT_14016c210); + } + } + uVar6 = (ulonglong)uVar7; + puVar5 = puVar5 + 1; + memcpy(puVar5,_Src,uVar6); + lVar2 = *(longlong *)(param_2 + 2); + if (lVar2 == 0) { + if (*(longlong *)(param_2 + 4) == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(puVar5,_Src,uVar6,param_4); + } + uVar7 = param_2[6]; + } + else { + uVar7 = *(uint *)(lVar2 + 0x18); + } + uVar6 = (ulonglong)uVar7; + if (*(longlong *)(param_2 + 4) == 0) { + if (lVar2 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(puVar5,_Src,uVar6,param_4); + } + if (*(int *)(lVar2 + 0x18) != 0) { + puVar9 = *(uint **)(lVar2 + 0x10); + } + } + else { + puVar9 = *(uint **)(param_2 + 4); + if (puVar9 == (uint *)0x0) { + FUN_14003db10(local_50,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,uVar6, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_50,(ThrowInfo *)&DAT_14016c210); + } + } + uVar3 = FUN_140095350(param_3,(byte *)puVar9,uVar6,param_4); + uVar4 = (undefined7)((ulonglong)uVar3 >> 8); + } + return CONCAT71(uVar4,1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400957e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400957e0.c new file mode 100644 index 00000000..d6f00cc8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400957e0.c @@ -0,0 +1,158 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400957e0 FUN_1400957e0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400957e0(longlong param_1,int *param_2,SIZE_T param_3,ulonglong param_4) + +{ + uint uVar1; + uint uVar2; + undefined7 uVar6; + longlong lVar3; + uint *puVar4; + void *_Dst; + undefined8 uVar5; + ulonglong uVar7; + ulonglong uVar8; + uint *puVar9; + uint uVar10; + SIZE_T SVar12; + int iVar13; + undefined **local_238; + undefined8 local_230; + uint *local_228; + ulonglong local_220; + undefined8 local_218; + undefined8 local_208; + exception local_200 [288]; + exception local_e0 [72]; + exception local_98 [72]; + exception local_50 [72]; + int iVar11; + + local_208 = 0xfffffffffffffffe; + if (*(char *)(param_3 + 0x28) == '\0') { + if (*(int *)(param_3 + 0x18) == 0) { + FUN_14003d720(local_98,&DAT_14011aab8,param_3,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_98,(ThrowInfo *)&DAT_14016c210); + } + } + else if (*(int *)(param_3 + 0x18) == 0) { + FUN_14003db10(local_200, + L"FastEncrypt Key Length is 0, Check ServerStartParameters m_fastEncryptedMessageKeyLength" + ,param_3,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_200,(ThrowInfo *)&DAT_14016c210); + } + lVar3 = *(longlong *)(param_1 + 8); + if (lVar3 == 0) { + if (*(longlong *)(param_1 + 0x10) == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(param_1,param_2,param_3,param_4); + } + uVar10 = *(uint *)(param_1 + 0x18); + } + else { + uVar10 = *(uint *)(lVar3 + 0x18); + } + uVar7 = (ulonglong)uVar10; + if ((int)uVar10 <= (int)param_4) { + if (lVar3 == 0) { + if (*(longlong *)(param_1 + 0x10) == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(param_1,uVar7,param_3,param_4); + } + param_4 = (ulonglong)*(uint *)(param_1 + 0x18); + } + else { + param_4 = (ulonglong)*(uint *)(lVar3 + 0x18); + } + } + if (lVar3 == 0) { + if (*(longlong *)(param_1 + 0x10) == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(param_1,uVar7,param_3,param_4); + } + iVar11 = *(int *)(param_1 + 0x18); + } + else { + iVar11 = *(int *)(lVar3 + 0x18); + } + iVar13 = (int)param_4; + uVar10 = iVar11 - iVar13; + if (uVar10 == 0) { + uVar6 = (undefined7)((ulonglong)lVar3 >> 8); + } + else { + if (*(longlong *)(param_1 + 0x10) == 0) { + if (lVar3 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(param_1,uVar7,param_3,param_4); + } + if (*(int *)(lVar3 + 0x18) == 0) { + lVar3 = 0; + } + else { + lVar3 = *(longlong *)(lVar3 + 0x10); + } + } + else { + lVar3 = *(longlong *)(param_1 + 0x10); + if (lVar3 == 0) { + FUN_14003db10(local_e0,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,param_3, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_e0,(ThrowInfo *)&DAT_14016c210); + } + } + puVar9 = (uint *)0x0; + SVar12 = param_3; + FUN_140074a40((longlong)param_2,uVar7,param_3,param_4); + FUN_140075110(param_2,(ulonglong)(uVar10 - 4),SVar12,param_4); + local_230 = 0; + local_228 = (uint *)0x0; + local_220 = 0; + local_218 = 0; + local_238 = Proud::ByteArray::vftable; + FUN_14002a050((longlong)&local_238,uVar10,SVar12); + puVar4 = local_228; + if ((int)local_220 == 0) { + puVar4 = puVar9; + } + memcpy(puVar4,(void *)(iVar13 + lVar3),(ulonglong)uVar10); + uVar7 = local_220 & 0xffffffff; + puVar4 = local_228; + if ((int)local_220 == 0) { + puVar4 = puVar9; + } + FUN_140095350(param_3,(byte *)puVar4,uVar7,param_4); + puVar4 = local_228; + if ((int)local_220 == 0) { + puVar4 = puVar9; + } + uVar1 = *puVar4; + puVar4 = local_228; + if ((int)local_220 == 0) { + puVar4 = puVar9; + } + uVar10 = uVar10 - 4; + uVar8 = (ulonglong)uVar10; + uVar2 = FUN_14009adb0((byte *)(puVar4 + 1),uVar10); + if (uVar1 != uVar2) { + FUN_14003d720(local_50,&DAT_14011aa80,uVar7,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_50,(ThrowInfo *)&DAT_14016c210); + } + puVar4 = local_228; + if ((int)local_220 == 0) { + puVar4 = puVar9; + } + _Dst = (void *)FUN_140074b70((longlong)param_2,uVar8,uVar7,param_4); + memcpy(_Dst,puVar4 + 1,(ulonglong)uVar10); + uVar5 = FUN_140049e40(&local_238); + uVar6 = (undefined7)((ulonglong)uVar5 >> 8); + } + return CONCAT71(uVar6,1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140095a60.c b/decomp/AgentManager_Release_x64/full/functions/0x140095a60.c new file mode 100644 index 00000000..7305e611 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140095a60.c @@ -0,0 +1,44 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140095a60 FUN_140095a60 + * Pseudocode, not original source. */ + +longlong FUN_140095a60(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + int iVar1; + undefined8 uVar2; + longlong lVar3; + undefined8 uVar4; + exception local_58 [80]; + + InitializeCriticalSection((LPCRITICAL_SECTION)&DAT_14017d3c0); + InitializeCriticalSection((LPCRITICAL_SECTION)&DAT_14017d400); + InitializeCriticalSection((LPCRITICAL_SECTION)&DAT_14017d440); + iVar1 = FUN_1400b8b10(&PTR_s_fortuna_140121db0); + if (iVar1 == -1) { + FUN_14003db10(local_58,L"REGISTER PRNG ERROR : SPRNG",param_3,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + iVar1 = FUN_1400b82c0(&PTR_DAT_140121d30); + if (iVar1 == -1) { + FUN_14003db10(local_58,L"REGISTER HASH ERROR : SHA1",param_3,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + memcpy(&DAT_14017d480,&PTR_s_LibTomMath_140121b6f_1_140121ba0,0x188); + iVar1 = FUN_1400b7470(0x14011ab00); + *(int *)(param_1 + 0x1058) = iVar1; + iVar1 = FUN_1400b73d0(0x14011aaf8); + uVar4 = 0; + *(int *)(param_1 + 0x105c) = iVar1; + lVar3 = param_1; + uVar2 = FUN_1400b72d0(0x80,*(uint *)(param_1 + 0x1058),param_1,(undefined *)0x0); + if ((int)uVar2 != 0) { + FUN_14003db10(local_58,L"PRNG MAKE ERROR",lVar3,uVar4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140095b80.c b/decomp/AgentManager_Release_x64/full/functions/0x140095b80.c new file mode 100644 index 00000000..28f0d5c7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140095b80.c @@ -0,0 +1,23 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140095b80 FUN_140095b80 + * Pseudocode, not original source. */ + +undefined8 * FUN_140095b80(undefined8 *param_1) + +{ + undefined8 *puVar1; + + puVar1 = operator_new(0x48); + *param_1 = puVar1; + *puVar1 = 0; + puVar1[1] = 0; + puVar1[2] = 0; + puVar1[3] = 0; + puVar1[4] = 0; + puVar1[5] = 0; + puVar1[6] = 0; + puVar1[7] = 0; + puVar1[8] = 0; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140095bd0.c b/decomp/AgentManager_Release_x64/full/functions/0x140095bd0.c new file mode 100644 index 00000000..3d05badb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140095bd0.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140095bd0 FUN_140095bd0 + * Pseudocode, not original source. */ + +void FUN_140095bd0(longlong *param_1) + +{ + if (*param_1 != 0) { + FUN_1400b94e0(*param_1); + operator_delete((void *)*param_1); + } + *param_1 = 0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140095c00.c b/decomp/AgentManager_Release_x64/full/functions/0x140095c00.c new file mode 100644 index 00000000..ef280b5c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140095c00.c @@ -0,0 +1,34 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140095c00 FUN_140095c00 + * Pseudocode, not original source. */ + +undefined * +FUN_140095c00(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + bool bVar1; + bool bVar2; + + bVar1 = false; + bVar2 = FUN_14003d0e0((int *)&DAT_140179488); + if (bVar2) { + if (DAT_140170840 == '\0') { + bVar1 = false; + } + else { + bVar1 = true; + FUN_14003d040((int *)&DAT_140179488); + } + } + if ((DAT_140179480 & 1) == 0) { + DAT_140179480 = DAT_140179480 | 1; + FUN_140095a60(0x140178420,param_2,param_3,param_4); + atexit(FUN_140104820); + } + DAT_140170840 = 0; + if (bVar1) { + FUN_14003d0d0(0x140179488); + } + return &DAT_140178420; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140095cc0.c b/decomp/AgentManager_Release_x64/full/functions/0x140095cc0.c new file mode 100644 index 00000000..ad7593d4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140095cc0.c @@ -0,0 +1,34 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140095cc0 FUN_140095cc0 + * Pseudocode, not original source. */ + +void FUN_140095cc0(longlong param_1,int param_2,SIZE_T param_3,undefined8 param_4) + +{ + undefined *puVar1; + longlong lVar2; + ulonglong uVar3; + undefined1 *puVar4; + uint uVar5; + exception local_58 [80]; + + uVar5 = param_2 >> 3; + uVar3 = (ulonglong)uVar5; + lVar2 = param_1; + FUN_14002a050(param_1,uVar5,param_3); + if (*(int *)(param_1 + 0x18) == 0) { + puVar4 = (undefined1 *)0x0; + } + else { + puVar4 = *(undefined1 **)(param_1 + 0x10); + } + puVar1 = FUN_140095c00(lVar2,uVar3,param_3,param_4); + uVar5 = FUN_1400b9010(puVar4,uVar5,(longlong)puVar1); + if (uVar5 == 0) { + FUN_14003db10(local_58,L"Create Random Block Read Error",puVar1,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140095d30.c b/decomp/AgentManager_Release_x64/full/functions/0x140095d30.c new file mode 100644 index 00000000..15b9ae4c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140095d30.c @@ -0,0 +1,40 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140095d30 FUN_140095d30 + * Pseudocode, not original source. */ + +void FUN_140095d30(undefined8 *param_1,longlong param_2,SIZE_T param_3) + +{ + ulonglong uVar1; + char *pcVar2; + SIZE_T SVar3; + int *piVar4; + uint local_res10 [6]; + exception local_58 [80]; + + FUN_14002a050(param_2,0x400,param_3); + local_res10[0] = *(uint *)(param_2 + 0x18); + if (local_res10[0] == 0) { + pcVar2 = (char *)0x0; + } + else { + pcVar2 = *(char **)(param_2 + 0x10); + } + piVar4 = (int *)*param_1; + SVar3 = 0; + uVar1 = FUN_1400b9a10(pcVar2,local_res10,0,piVar4); + if ((int)uVar1 != 0) { + FUN_14003db10(local_58,L"PUBLIC KEY EXPORT ERROR",SVar3,piVar4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + if (*(uint *)(param_2 + 0x18) < local_res10[0]) { + FUN_14003db10(local_58,L"PublicKey To Blob result is larger! Memory corruption may occur!",SVar3 + ,piVar4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + FUN_14002a050(param_2,local_res10[0],SVar3); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140095df0.c b/decomp/AgentManager_Release_x64/full/functions/0x140095df0.c new file mode 100644 index 00000000..6042192f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140095df0.c @@ -0,0 +1,32 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140095df0 FUN_140095df0 + * Pseudocode, not original source. */ + +void FUN_140095df0(undefined8 *param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined *puVar1; + undefined *puVar2; + ulonglong uVar3; + undefined8 *puVar4; + longlong lVar5; + SIZE_T SVar6; + undefined8 uVar7; + exception local_58 [80]; + + puVar4 = param_1; + lVar5 = param_2; + puVar1 = FUN_140095c00(param_1,param_2,param_3,param_4); + puVar2 = FUN_140095c00(puVar4,lVar5,param_3,param_4); + uVar7 = 0x10001; + SVar6 = 0x80; + uVar3 = FUN_1400b9bc0(puVar2,*(uint *)(puVar1 + 0x1058),0x80,0x10001,(undefined4 *)*param_1); + if ((int)uVar3 != 0) { + FUN_14003db10(local_58,L"RSA MAKE KEY ERROR",SVar6,uVar7); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + FUN_140095d30(param_1,param_2,SVar6); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140095e80.c b/decomp/AgentManager_Release_x64/full/functions/0x140095e80.c new file mode 100644 index 00000000..413dd571 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140095e80.c @@ -0,0 +1,85 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140095e80 FUN_140095e80 + * Pseudocode, not original source. */ + +void FUN_140095e80(longlong param_1,longlong param_2,longlong param_3) + +{ + uint uVar1; + undefined8 *puVar2; + ulonglong uVar3; + undefined *puVar4; + undefined *puVar5; + undefined *puVar6; + char *pcVar7; + longlong lVar8; + ulonglong uVar9; + char *pcVar10; + undefined8 *puVar11; + uint *puVar12; + bool bVar13; + uint local_res18 [2]; + undefined8 *local_res20; + exception local_80 [72]; + + puVar2 = operator_new(0x48); + *puVar2 = 0; + puVar2[1] = 0; + puVar2[2] = 0; + puVar2[3] = 0; + puVar2[4] = 0; + puVar2[5] = 0; + puVar2[6] = 0; + puVar2[7] = 0; + puVar2[8] = 0; + pcVar10 = (char *)0x0; + pcVar7 = pcVar10; + if (*(uint *)(param_3 + 0x18) != 0) { + pcVar7 = *(char **)(param_3 + 0x10); + } + puVar11 = puVar2; + local_res20 = puVar2; + uVar3 = FUN_1400b9530(pcVar7,*(uint *)(param_3 + 0x18),(undefined4 *)puVar2); + bVar13 = (int)uVar3 != 0; + uVar3 = (ulonglong)bVar13; + if (bVar13) { + FUN_14003db10(local_80,L"%s fail: %d",L"Proud::CRsaKey::FromBlob",1); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_80,(ThrowInfo *)&DAT_14016c210); + } + uVar1 = *(uint *)(param_2 + 0x18); + local_res18[0] = uVar1; + local_res18[0] = (*DAT_14017d510)(puVar2[3]); + uVar9 = (ulonglong)local_res18[0]; + lVar8 = param_1; + FUN_14002a050(param_1,local_res18[0],(SIZE_T)puVar11); + pcVar7 = pcVar10; + if (*(int *)(param_1 + 0x18) != 0) { + pcVar7 = *(char **)(param_1 + 0x10); + } + if (*(int *)(param_2 + 0x18) != 0) { + pcVar10 = *(char **)(param_2 + 0x10); + } + puVar4 = FUN_140095c00(lVar8,uVar9,puVar11,uVar3); + puVar5 = FUN_140095c00(lVar8,uVar9,puVar11,uVar3); + puVar6 = FUN_140095c00(lVar8,uVar9,puVar11,uVar3); + puVar12 = local_res18; + uVar3 = FUN_1400b9fa0(pcVar10,uVar1,pcVar7,puVar12,(byte *)0x0,0,(ulonglong)puVar6, + *(uint *)(puVar5 + 0x1058),*(uint *)(puVar4 + 0x105c),2,(longlong)puVar2); + if ((int)uVar3 != 0) { + FUN_14003db10(local_80,L"%s fail: %d",L"Proud::CRsa::EncryptSessionKeyByPublicKey",1); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_80,(ThrowInfo *)&DAT_14016c210); + } + if (*(uint *)(param_1 + 0x18) < local_res18[0]) { + FUN_14003db10(local_80,L"Encryption result is larger! Memory corruption may occur!",pcVar7, + puVar12); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_80,(ThrowInfo *)&DAT_14016c210); + } + FUN_14002a050(param_1,local_res18[0],(SIZE_T)pcVar7); + FUN_1400b94e0((longlong)puVar2); + operator_delete(puVar2); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140096080.c b/decomp/AgentManager_Release_x64/full/functions/0x140096080.c new file mode 100644 index 00000000..bf0e2a87 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140096080.c @@ -0,0 +1,204 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140096080 FUN_140096080 + * Pseudocode, not original source. */ + +ulonglong * FUN_140096080(ulonglong *param_1,longlong param_2,SIZE_T param_3,longlong *param_4) + +{ + undefined *puVar1; + int *piVar2; + uint uVar3; + undefined *puVar4; + ulonglong uVar5; + int *piVar6; + longlong lVar7; + void *pvVar8; + ulonglong *puVar9; + ulonglong *puVar10; + ulonglong **ppuVar11; + ulonglong uVar12; + ulonglong **ppuVar13; + SIZE_T SVar14; + void *pvVar15; + undefined8 uVar16; + longlong *plVar17; + uint *puVar18; + undefined **ppuVar19; + int local_res10 [2]; + uint local_res18 [4]; + ulonglong *local_88; + undefined *local_80; + undefined8 local_78; + ulonglong *local_70; + undefined1 local_68; + undefined **local_60; + undefined8 local_58; + undefined8 local_50; + undefined8 local_48; + undefined8 local_40; + + local_78 = 0xfffffffffffffffe; + pvVar8 = (void *)0x0; + local_res10[0] = 0; + local_res18[0] = *(uint *)(param_3 + 0x18); + uVar5 = (ulonglong)local_res18[0]; + lVar7 = param_2; + SVar14 = param_3; + plVar17 = param_4; + FUN_14002a050(param_2,local_res18[0],param_3); + pvVar15 = pvVar8; + if (*(int *)(param_2 + 0x18) != 0) { + pvVar15 = *(void **)(param_2 + 0x10); + } + uVar3 = *(uint *)(param_3 + 0x18); + if (uVar3 != 0) { + pvVar8 = *(void **)(param_3 + 0x10); + } + puVar4 = FUN_140095c00(lVar7,uVar5,SVar14,plVar17); + puVar18 = local_res18; + uVar12 = (ulonglong)uVar3; + uVar5 = FUN_1400ba160(pvVar8,uVar3,pvVar15,puVar18,(byte *)0x0,0,*(uint *)(puVar4 + 0x105c),2, + local_res10,*param_4); + if ((int)uVar5 == 0) { + if (local_res10[0] == 1) { + if (*(uint *)(param_3 + 0x18) < local_res18[0]) { + FUN_14003e7c0(pvVar8,(ulonglong)local_res18[0],pvVar15,puVar18); + local_80 = PTR_DAT_14016f010; + FUN_140029b80((longlong *)&local_80, + L"Decryption result is larger! Memory corruption may occur!",pvVar15,puVar18); + local_58 = 0; + local_50 = 0; + local_48 = 0; + local_40 = 0; + local_60 = Proud::ByteArray::vftable; + ppuVar19 = &local_80; + uVar16 = 0; + FUN_140071c20((longlong *)&local_88,6,0,(longlong *)ppuVar19,(longlong)&local_60); + FUN_140049e40(&local_60); + *param_1 = 0; + ppuVar13 = &local_88; + FUN_14005d770(param_1,(ulonglong *)ppuVar13,uVar16,ppuVar19); + ppuVar11 = &local_88; + FUN_140038280((longlong *)ppuVar11,ppuVar13,uVar16,ppuVar19); + puVar4 = local_80; + if (((local_80 != (undefined *)0x0) && (local_80 != PTR_DAT_14016f010)) && + (puVar1 = local_80 + -8, puVar1 != (undefined *)0x0)) { + piVar6 = (int *)FUN_14003e7c0(ppuVar11,ppuVar13,uVar16,ppuVar19); + local_70 = (ulonglong *)piVar6; + FUN_14003d040(piVar6); + local_68 = 1; + piVar2 = (int *)(puVar4 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(puVar1); + } + FUN_14003d0d0((longlong)piVar6); + } + } + else { + FUN_14002a050(param_2,local_res18[0],(SIZE_T)pvVar15); + *param_1 = 0; + } + } + else { + FUN_14003e7c0(pvVar8,uVar12,pvVar15,puVar18); + local_80 = PTR_DAT_14016f010; + FUN_140029b80((longlong *)&local_80,L"Incorrect Packet",pvVar15,puVar18); + local_58 = 0; + local_50 = 0; + local_48 = 0; + local_40 = 0; + local_60 = Proud::ByteArray::vftable; + ppuVar19 = &local_80; + uVar16 = 0; + FUN_140071c20((longlong *)&local_88,6,0,(longlong *)ppuVar19,(longlong)&local_60); + FUN_140049e40(&local_60); + *param_1 = 0; + ppuVar13 = &local_88; + puVar9 = param_1; + FUN_14005d770(param_1,(ulonglong *)ppuVar13,uVar16,ppuVar19); + puVar10 = local_88; + if (local_88 != (ulonglong *)0x0) { + local_70 = local_88; + FUN_14003d040((int *)local_88); + local_68 = 1; + local_88[8] = local_88[8] - 1; + if (local_88[8] == 0) { + FUN_14003d0d0((longlong)puVar10); + local_68 = 0; + FUN_140038210((undefined4 *)local_88,ppuVar13,uVar16,ppuVar19); + puVar9 = local_88; + } + else { + FUN_14003d0d0((longlong)puVar10); + puVar9 = puVar10; + } + } + puVar4 = local_80; + if (((local_80 != (undefined *)0x0) && (local_80 != PTR_DAT_14016f010)) && + (puVar1 = local_80 + -8, puVar1 != (undefined *)0x0)) { + piVar6 = (int *)FUN_14003e7c0(puVar9,ppuVar13,uVar16,ppuVar19); + local_70 = (ulonglong *)piVar6; + FUN_14003d040(piVar6); + local_68 = 1; + piVar2 = (int *)(puVar4 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(puVar1); + } + FUN_14003d0d0((longlong)piVar6); + } + } + } + else { + FUN_14003e7c0(pvVar8,uVar12,pvVar15,puVar18); + local_80 = PTR_DAT_14016f010; + FUN_140029b80((longlong *)&local_80,L"Error",pvVar15,puVar18); + local_58 = 0; + local_50 = 0; + local_48 = 0; + local_40 = 0; + local_60 = Proud::ByteArray::vftable; + ppuVar19 = &local_80; + uVar16 = 0; + FUN_140071c20((longlong *)&local_88,6,0,(longlong *)ppuVar19,(longlong)&local_60); + FUN_140049e40(&local_60); + *param_1 = 0; + ppuVar13 = &local_88; + puVar9 = param_1; + FUN_14005d770(param_1,(ulonglong *)ppuVar13,uVar16,ppuVar19); + puVar10 = local_88; + if (local_88 != (ulonglong *)0x0) { + local_70 = local_88; + FUN_14003d040((int *)local_88); + local_68 = 1; + local_88[8] = local_88[8] - 1; + if (local_88[8] == 0) { + FUN_14003d0d0((longlong)puVar10); + local_68 = 0; + FUN_140038210((undefined4 *)local_88,ppuVar13,uVar16,ppuVar19); + puVar9 = local_88; + } + else { + FUN_14003d0d0((longlong)puVar10); + puVar9 = puVar10; + } + } + puVar4 = local_80; + if (((local_80 != (undefined *)0x0) && (local_80 != PTR_DAT_14016f010)) && + (puVar1 = local_80 + -8, puVar1 != (undefined *)0x0)) { + piVar6 = (int *)FUN_14003e7c0(puVar9,ppuVar13,uVar16,ppuVar19); + local_70 = (ulonglong *)piVar6; + FUN_14003d040(piVar6); + local_68 = 1; + piVar2 = (int *)(puVar4 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(puVar1); + } + FUN_14003d0d0((longlong)piVar6); + } + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140096480.c b/decomp/AgentManager_Release_x64/full/functions/0x140096480.c new file mode 100644 index 00000000..a7a6e010 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140096480.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140096480 FUN_140096480 + * Pseudocode, not original source. */ + +undefined8 * FUN_140096480(undefined8 *param_1,uint param_2) + +{ + *param_1 = Proud::CFastArray::vftable; + if ((LPVOID)param_1[2] != (LPVOID)0x0) { + if ((longlong *)param_1[1] == (longlong *)0x0) { + FUN_14003e8b0((LPVOID)param_1[2]); + } + else { + (**(code **)(*(longlong *)param_1[1] + 0x18))(); + } + } + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400964e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400964e0.c new file mode 100644 index 00000000..9a7ad64e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400964e0.c @@ -0,0 +1,40 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400964e0 FUN_1400964e0 + * Pseudocode, not original source. */ + +ulonglong FUN_1400964e0(longlong param_1,int param_2,undefined8 param_3) + +{ + uint uVar1; + ulonglong in_RAX; + longlong lVar2; + uint uVar3; + ulonglong uVar4; + ulonglong uVar5; + ulonglong uVar6; + + uVar4 = 0; + uVar1 = *(uint *)(param_1 + 0x18); + lVar2 = param_1; + uVar5 = uVar4; + uVar6 = uVar4; + if (0 < (int)uVar1) { + do { + if (((longlong)uVar5 < 0) || ((int)uVar1 <= (int)uVar4)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(lVar2,(ulonglong)uVar1,param_3,uVar4); + } + lVar2 = *(longlong *)(param_1 + 0x10); + in_RAX = *(ulonglong *)(uVar6 + 0x10 + lVar2); + if ((*(int *)(uVar6 + lVar2) == param_2) && (*(int *)(uVar6 + 8 + lVar2) == (int)param_3)) { + return CONCAT71((int7)(in_RAX >> 8),1); + } + uVar3 = (int)uVar4 + 1; + uVar4 = (ulonglong)uVar3; + uVar5 = uVar5 + 1; + uVar6 = uVar6 + 0x18; + } while ((int)uVar3 < (int)uVar1); + } + return in_RAX & 0xffffffffffffff00; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140096560.c b/decomp/AgentManager_Release_x64/full/functions/0x140096560.c new file mode 100644 index 00000000..d2641c71 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140096560.c @@ -0,0 +1,40 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140096560 FUN_140096560 + * Pseudocode, not original source. */ + +ulonglong FUN_140096560(longlong param_1,int param_2) + +{ + int iVar1; + ulonglong in_RAX; + longlong lVar2; + uint uVar3; + ulonglong uVar4; + ulonglong uVar5; + ulonglong uVar6; + + iVar1 = *(int *)(param_1 + 0x18); + uVar4 = 0; + lVar2 = param_1; + uVar5 = uVar4; + uVar6 = uVar4; + if (0 < iVar1) { + do { + if (((longlong)uVar5 < 0) || (iVar1 <= (int)uVar4)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(lVar2,param_1,uVar4,uVar5); + } + lVar2 = *(longlong *)(param_1 + 0x10); + in_RAX = *(ulonglong *)(uVar6 + 0x10 + lVar2); + if (*(int *)(uVar6 + lVar2) == param_2) { + return CONCAT71((int7)(in_RAX >> 8),1); + } + uVar3 = (int)uVar4 + 1; + uVar4 = (ulonglong)uVar3; + uVar5 = uVar5 + 1; + uVar6 = uVar6 + 0x18; + } while ((int)uVar3 < iVar1); + } + return in_RAX & 0xffffffffffffff00; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400965d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400965d0.c new file mode 100644 index 00000000..16141a26 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400965d0.c @@ -0,0 +1,40 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400965d0 FUN_1400965d0 + * Pseudocode, not original source. */ + +ulonglong FUN_1400965d0(longlong param_1,int param_2,undefined8 param_3,int param_4) + +{ + int iVar1; + ulonglong in_RAX; + undefined8 uVar2; + longlong lVar3; + int iVar4; + ulonglong uVar5; + longlong lVar6; + + iVar1 = *(int *)(param_1 + 0x18); + uVar5 = 0; + lVar6 = 0; + if (0 < iVar1) { + in_RAX = 0; + lVar3 = param_1; + do { + if ((lVar6 < 0) || (iVar4 = (int)uVar5, iVar1 <= iVar4)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(lVar3,uVar5,param_3,param_1); + } + lVar3 = *(longlong *)(param_1 + 0x10); + if (((*(int *)(in_RAX + 4 + lVar3) == param_2) && (*(int *)(in_RAX + lVar3) == (int)param_3)) + && (*(int *)(in_RAX + 8 + lVar3) == param_4)) { + uVar2 = FUN_14004bc60(param_1,iVar4,1,param_1); + return CONCAT71((int7)((ulonglong)uVar2 >> 8),1); + } + uVar5 = (ulonglong)(iVar4 + 1U); + lVar6 = lVar6 + 1; + in_RAX = in_RAX + 0x18; + } while ((int)(iVar4 + 1U) < iVar1); + } + return in_RAX & 0xffffffffffffff00; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140096650.c b/decomp/AgentManager_Release_x64/full/functions/0x140096650.c new file mode 100644 index 00000000..820b47d4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140096650.c @@ -0,0 +1,53 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140096650 FUN_140096650 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x0001400966cd) */ +/* WARNING: Removing unreachable block (ram,0x0001400966d6) */ +/* WARNING: Removing unreachable block (ram,0x0001400966f4) */ +/* WARNING: Removing unreachable block (ram,0x0001400966fd) */ + +undefined4 * FUN_140096650(undefined4 *param_1) + +{ + undefined8 *puVar1; + undefined8 local_40 [7]; + + *(undefined1 *)(param_1 + 2) = 0; + *(undefined8 *)(param_1 + 0x16) = 0; + *(undefined8 *)(param_1 + 4) = 0; + *(undefined8 *)(param_1 + 6) = 0; + *(undefined8 *)(param_1 + 8) = 0; + param_1[0xc] = 0x11; + *(undefined8 *)(param_1 + 10) = 0; + param_1[0x14] = 0; + param_1[0xd] = 0x3f400000; + param_1[0xe] = 0x3e800000; + param_1[0xf] = 0x40100000; + *(undefined8 *)(param_1 + 0x10) = 0x26; + *(undefined8 *)(param_1 + 0x12) = 0; + *(undefined ***)(param_1 + 0x18) = Proud::CFastArray::vftable; + *(undefined8 *)(param_1 + 0x1a) = 0; + *(undefined8 *)(param_1 + 0x1c) = 0; + *(undefined8 *)(param_1 + 0x1e) = 0; + *(undefined8 *)(param_1 + 0x20) = 0; + FUN_14004a8b0((undefined8 *)(param_1 + 0x24)); + *(undefined8 *)(param_1 + 0x34) = 0; + *(undefined8 *)(param_1 + 0x36) = 0; + *(undefined8 *)(param_1 + 0x38) = 0; + *(undefined8 *)(param_1 + 0x3a) = 0; + *(undefined ***)(param_1 + 0x32) = Proud::CP2PGroup_S::CAddMemberAckWaiterList::vftable; + FUN_14004a8e0((undefined1 *)(param_1 + 0x3c)); + *param_1 = 0; + puVar1 = FUN_14004a8b0(local_40); + *(undefined8 *)(param_1 + 0x24) = *puVar1; + *(undefined8 *)(param_1 + 0x26) = puVar1[1]; + *(undefined8 *)(param_1 + 0x28) = puVar1[2]; + *(undefined8 *)(param_1 + 0x2a) = puVar1[3]; + *(undefined8 *)(param_1 + 0x2c) = puVar1[4]; + *(undefined8 *)(param_1 + 0x2e) = puVar1[5]; + *(undefined8 *)(param_1 + 0x30) = puVar1[6]; + *(undefined1 *)(param_1 + 0x22) = 0; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400967f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400967f0.c new file mode 100644 index 00000000..a3c37f6b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400967f0.c @@ -0,0 +1,70 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400967f0 FUN_1400967f0 + * Pseudocode, not original source. */ + +void FUN_1400967f0(undefined4 *param_1,undefined4 *param_2) + +{ + uint uVar1; + uint uVar2; + longlong lVar3; + ulonglong uVar4; + undefined8 uVar5; + uint *puVar6; + uint *puVar7; + uint uVar8; + uint local_res8 [2]; + + if (*(longlong *)(param_1 + 10) == 0) { + puVar7 = (uint *)0x0; + } + else { + puVar7 = *(uint **)(param_1 + 6); + } + do { + if (puVar7 == (uint *)0x0) { + *param_2 = *param_1; + return; + } + if (puVar7 == (uint *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + uVar1 = *puVar7; + uVar2 = param_2[0xc]; + lVar3 = *(longlong *)(param_2 + 4); + uVar4 = (ulonglong)uVar1 % (ulonglong)uVar2; + uVar8 = (uint)uVar4; + local_res8[0] = uVar1; + if (lVar3 == 0) { +LAB_1400968ae: + uVar5 = FUN_14004c640((longlong)(param_2 + 2),uVar2,'\x01'); + if ((char)uVar5 == '\0') { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x8007000e); + } + } + else { + for (puVar6 = *(uint **)(lVar3 + uVar4 * 8); + (puVar6 != (uint *)0x0 && (uVar8 == puVar6[6] % uVar2)); puVar6 = *(uint **)(puVar6 + 2)) + { + if (*puVar6 == uVar1) goto LAB_1400968ee; + } + if (lVar3 == 0) goto LAB_1400968ae; + for (puVar6 = *(uint **)(lVar3 + uVar4 * 8); + (puVar6 != (uint *)0x0 && (uVar8 == puVar6[6] % uVar2)); puVar6 = *(uint **)(puVar6 + 2)) + { + if (*puVar6 == uVar1) goto LAB_1400968ea; + } + if (lVar3 == 0) goto LAB_1400968ae; + } + FUN_140083c80((char *)(param_2 + 2)); + puVar6 = FUN_14004e500((char *)(param_2 + 2),local_res8,uVar8,uVar1); + FUN_140083c80((char *)(param_2 + 2)); +LAB_1400968ea: + *(undefined1 *)(puVar6 + 1) = 0; +LAB_1400968ee: + puVar7 = *(uint **)(puVar7 + 6); + } while( true ); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140096940.c b/decomp/AgentManager_Release_x64/full/functions/0x140096940.c new file mode 100644 index 00000000..7f8979ef --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140096940.c @@ -0,0 +1,26 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140096940 FUN_140096940 + * Pseudocode, not original source. */ + +longlong * +FUN_140096940(undefined4 *param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined4 *puVar1; + undefined4 *puVar2; + undefined4 *puVar3; + + puVar3 = (undefined4 *)0x0; + puVar1 = (undefined4 *)FUN_14003e840(0x60); + puVar2 = puVar3; + if (puVar1 != (undefined4 *)0x0) { + puVar2 = FUN_1400ba340(puVar1); + } + FUN_14004e0a0(param_2,(longlong)puVar2,param_3,param_4); + if (*param_2 != 0) { + puVar3 = *(undefined4 **)(*param_2 + 0x38); + } + FUN_1400967f0(param_1,puVar3); + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400969c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400969c0.c new file mode 100644 index 00000000..80ddecb5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400969c0.c @@ -0,0 +1,100 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400969c0 FUN_1400969c0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400969c0(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + uint uVar1; + undefined8 uVar2; + uint *puVar3; + longlong lVar4; + SIZE_T SVar5; + uint local_res8 [2]; + longlong *local_res10; + uint local_c8 [2]; + longlong local_c0; + longlong local_b8; + int local_ac; + undefined8 local_a0; + exception local_98 [144]; + + local_a0 = 0xfffffffffffffffe; + puVar3 = local_c8; + FUN_140074fb0(puVar3); + lVar4 = *(longlong *)(param_1 + 8); + if (lVar4 == 0) { + if (*(longlong *)(param_1 + 0x10) == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(puVar3,param_2,param_3,param_4); + } + uVar1 = *(uint *)(param_1 + 0x18); + } + else { + uVar1 = *(uint *)(lVar4 + 0x18); + } + SVar5 = (SIZE_T)uVar1; + if (*(longlong *)(param_1 + 0x10) == 0) { + if (lVar4 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(puVar3,param_2,SVar5,param_4); + } + if (*(int *)(lVar4 + 0x18) == 0) { + lVar4 = 0; + } + else { + lVar4 = *(longlong *)(lVar4 + 0x10); + } + } + else { + lVar4 = *(longlong *)(param_1 + 0x10); + if (lVar4 == 0) { + FUN_14003db10(local_98,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,SVar5, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_98,(ThrowInfo *)&DAT_14016c210); + } + } + puVar3 = local_c8; + FUN_140074c30((longlong)puVar3,lVar4,SVar5,param_4); + if (*(longlong *)(param_1 + 8) == 0) { + if (*(longlong *)(param_1 + 0x10) == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(puVar3,lVar4,SVar5,param_4); + } + uVar1 = *(uint *)(param_1 + 0x18); + } + else { + uVar1 = *(uint *)(*(longlong *)(param_1 + 8) + 0x18); + } + FUN_140075110((int *)local_c8,(ulonglong)uVar1,SVar5,param_4); + uVar2 = FUN_140075810(local_c8,local_res8,SVar5,param_4); + if ((char)uVar2 != '\0') { + if (local_res8[0] == 1) { + local_res10 = &local_c0; + FUN_14008a320(&local_c0); + if ((local_b8 != 0) && (local_ac < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return 1; + } + if (local_res8[0] == 2) { + local_res10 = &local_c0; + FUN_14008a320(&local_c0); + if ((local_b8 != 0) && (local_ac < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return 2; + } + } + local_res10 = &local_c0; + FUN_14008a320(&local_c0); + if ((local_b8 != 0) && (local_ac < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return 3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140096b50.c b/decomp/AgentManager_Release_x64/full/functions/0x140096b50.c new file mode 100644 index 00000000..f1b64da7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140096b50.c @@ -0,0 +1,19 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140096b50 FUN_140096b50 + * Pseudocode, not original source. */ + +void FUN_140096b50(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400645f0(param_1 + 0x50,param_2,param_3,param_4); + FUN_14008a320((longlong *)(param_1 + 0x10)); + if (*(longlong *)(param_1 + 0x18) != 0) { + if (*(int *)(param_1 + 0x24) < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + *(undefined4 *)(param_1 + 0x20) = 0; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140096bb0.c b/decomp/AgentManager_Release_x64/full/functions/0x140096bb0.c new file mode 100644 index 00000000..0ffbc993 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140096bb0.c @@ -0,0 +1,20 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140096bb0 FUN_140096bb0 + * Pseudocode, not original source. */ + +undefined4 * FUN_140096bb0(undefined4 *param_1) + +{ + FUN_140074fb0(param_1 + 2); + *(undefined ***)(param_1 + 0xe) = Proud::AddrPort::vftable; + param_1[0x10] = 0; + *(undefined2 *)(param_1 + 0x11) = 0; + *(undefined1 *)(param_1 + 0x12) = 0; + param_1[0xc] = 0; + param_1[0x10] = DAT_14016f3d0; + *(undefined2 *)(param_1 + 0x11) = DAT_14016f3d4; + FUN_140064540((longlong)(param_1 + 0x14)); + *param_1 = 3; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140096c20.c b/decomp/AgentManager_Release_x64/full/functions/0x140096c20.c new file mode 100644 index 00000000..800b631e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140096c20.c @@ -0,0 +1,91 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140096c20 FUN_140096c20 + * Pseudocode, not original source. */ + +undefined4 * +FUN_140096c20(undefined4 *param_1,undefined4 *param_2,SIZE_T param_3,undefined8 param_4) + +{ + longlong *plVar1; + int iVar2; + undefined8 *puVar3; + undefined8 *puVar4; + undefined8 *puVar5; + SIZE_T SVar6; + SIZE_T SVar7; + + *param_1 = *param_2; + FUN_14005d770((ulonglong *)(param_1 + 2),(ulonglong *)(param_2 + 2),param_3,param_4); + param_1[4] = param_2[4]; + FUN_1400642e0((ulonglong *)(param_1 + 6),(ulonglong *)(param_2 + 6),param_3,param_4); + FUN_140064410((ulonglong *)(param_1 + 8),(ulonglong *)(param_2 + 8),param_3,param_4); + iVar2 = param_2[0x10]; + SVar6 = (SIZE_T)iVar2; + if (iVar2 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + FUN_14002a050((longlong)(param_1 + 10),iVar2,param_3); + puVar5 = (undefined8 *)0x0; + puVar4 = puVar5; + if (param_2[0x10] != 0) { + puVar4 = *(undefined8 **)(param_2 + 0xe); + } + puVar3 = puVar5; + if (param_1[0x10] != 0) { + puVar3 = *(undefined8 **)(param_1 + 0xe); + } + FUN_140006fb0(puVar3,puVar4,SVar6); + if (*(longlong *)(param_2 + 0x14) == *(longlong *)(param_1 + 0x14)) { + param_1[0x19] = param_2[0x19]; + *(undefined8 *)(param_1 + 0x16) = *(undefined8 *)(param_2 + 0x16); + param_1[0x18] = param_2[0x18]; + } + else { + FUN_14008a320((longlong *)(param_1 + 0x14)); + if (*(longlong *)(param_2 + 0x14) != 0) { + plVar1 = (longlong *)(*(longlong *)(param_2 + 0x14) + 0x28); + *plVar1 = *plVar1 + 1; + *(undefined8 *)(param_1 + 0x14) = *(undefined8 *)(param_2 + 0x14); + } + } + param_1[0x1a] = param_2[0x1a]; + param_1[0x1b] = param_2[0x1b]; + param_1[0x1c] = param_2[0x1c]; + iVar2 = param_2[0x24]; + SVar7 = (SIZE_T)iVar2; + if (-1 < iVar2) { + FUN_14002a050((longlong)(param_1 + 0x1e),iVar2,SVar6); + puVar4 = puVar5; + if (param_2[0x24] != 0) { + puVar4 = *(undefined8 **)(param_2 + 0x22); + } + puVar3 = puVar5; + if (param_1[0x24] != 0) { + puVar3 = *(undefined8 **)(param_1 + 0x22); + } + FUN_140006fb0(puVar3,puVar4,SVar7); + param_1[0x28] = param_2[0x28]; + param_1[0x2c] = param_2[0x2c]; + *(undefined2 *)(param_1 + 0x2d) = *(undefined2 *)(param_2 + 0x2d); + param_1[0x2e] = param_2[0x2e]; + iVar2 = param_2[0x36]; + if (-1 < iVar2) { + FUN_14002a050((longlong)(param_1 + 0x30),iVar2,SVar7); + puVar4 = puVar5; + if (param_2[0x36] != 0) { + puVar4 = *(undefined8 **)(param_2 + 0x34); + } + if (param_1[0x36] != 0) { + puVar5 = *(undefined8 **)(param_1 + 0x34); + } + FUN_140006fb0(puVar5,puVar4,(longlong)iVar2); + return param_1; + } + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140096df0.c b/decomp/AgentManager_Release_x64/full/functions/0x140096df0.c new file mode 100644 index 00000000..fed4b227 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140096df0.c @@ -0,0 +1,20 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140096df0 FUN_140096df0 + * Pseudocode, not original source. */ + +void FUN_140096df0(int *param_1,int *param_2,SIZE_T param_3,undefined8 param_4) + +{ + int iVar1; + + iVar1 = *param_2; + param_1[0xc] = (int)param_3; + *param_1 = iVar1; + if (*param_2 == 0) { + FUN_140096c20(param_1 + 0x14,param_2 + 0xc,param_3,param_4); + return; + } + FUN_140093820(param_1 + 2,param_2 + 2); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140096e20.c b/decomp/AgentManager_Release_x64/full/functions/0x140096e20.c new file mode 100644 index 00000000..e3d83542 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140096e20.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140096e20 FUN_140096e20 + * Pseudocode, not original source. */ + +undefined4 * FUN_140096e20(undefined4 *param_1,undefined8 param_2) + +{ + *(undefined8 *)(param_1 + 0x50) = param_2; + *(undefined4 **)(param_1 + 0x4e) = param_1; + FUN_140096bb0(param_1); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140096e60.c b/decomp/AgentManager_Release_x64/full/functions/0x140096e60.c new file mode 100644 index 00000000..cf792f0a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140096e60.c @@ -0,0 +1,26 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140096e60 FUN_140096e60 + * Pseudocode, not original source. */ + +void FUN_140096e60(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + int *piVar1; + longlong lVar2; + + piVar1 = *(int **)(param_1 + 0x140); + FUN_14003d040(piVar1); + lVar2 = *(longlong *)(param_1 + 0x138); + FUN_1400645f0(lVar2 + 0x50,param_2,param_3,param_4); + FUN_14008a320((longlong *)(lVar2 + 0x10)); + if (*(longlong *)(lVar2 + 0x18) != 0) { + if (*(int *)(lVar2 + 0x24) < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + *(undefined4 *)(lVar2 + 0x20) = 0; + } + FUN_14003d0d0((longlong)piVar1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140096ef0.c b/decomp/AgentManager_Release_x64/full/functions/0x140096ef0.c new file mode 100644 index 00000000..0b38057a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140096ef0.c @@ -0,0 +1,52 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140096ef0 FUN_140096ef0 + * Pseudocode, not original source. */ + +int FUN_140096ef0(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong lVar1; + int *piVar2; + longlong lVar3; + uint uVar4; + longlong lVar6; + uint uVar7; + ulonglong uVar9; + uint uVar10; + exception local_58 [80]; + ulonglong uVar5; + ulonglong uVar8; + + lVar1 = *(longlong *)(param_1 + 0xc80); + uVar5 = 0; + uVar10 = 0; + if (lVar1 == 0) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,param_3, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + lVar6 = (longlong)*(int *)(param_1 + 0xc88); + uVar9 = uVar5; + uVar7 = uVar10; + uVar4 = uVar10; + if (1 < lVar6) { + piVar2 = (int *)(lVar1 + 0x18); + lVar3 = (lVar6 - 2U >> 1) + 1; + uVar9 = lVar3 * 2; + uVar8 = uVar5; + do { + uVar4 = (int)uVar5 + piVar2[-4]; + uVar5 = (ulonglong)uVar4; + uVar7 = (int)uVar8 + *piVar2; + uVar8 = (ulonglong)uVar7; + piVar2 = piVar2 + 8; + lVar3 = lVar3 + -1; + } while (lVar3 != 0); + } + if ((longlong)uVar9 < lVar6) { + uVar10 = *(uint *)(lVar1 + 8 + uVar9 * 0x10); + } + return uVar7 + uVar4 + uVar10; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140096f90.c b/decomp/AgentManager_Release_x64/full/functions/0x140096f90.c new file mode 100644 index 00000000..826b3d24 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140096f90.c @@ -0,0 +1,48 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140096f90 FUN_140096f90 + * Pseudocode, not original source. */ + +void FUN_140096f90(longlong *param_1,undefined8 *param_2,undefined8 param_3,undefined8 param_4) + +{ + uint uVar1; + int iVar2; + undefined8 *puVar3; + ulonglong uVar4; + exception local_98 [72]; + exception local_50 [80]; + + uVar1 = *(uint *)((longlong)param_2 + 0xc); + uVar4 = (ulonglong)uVar1; + iVar2 = (int)param_1[1]; + if ((int)uVar1 < iVar2) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (*param_1 == 0) { + FUN_14003db10(local_50,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,uVar4,param_4 + ); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_50,(ThrowInfo *)&DAT_14016c210); + } + puVar3 = (undefined8 *)*param_2; + if (puVar3 == (undefined8 *)0x0) { + FUN_14003db10(local_98,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,uVar4,0); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_98,(ThrowInfo *)&DAT_14016c210); + } + if ((-1 < iVar2) && (iVar2 <= (int)uVar1)) { + *(int *)(param_2 + 1) = iVar2; + if ((undefined8 *)*param_1 == (undefined8 *)0x0) { + FUN_14003db10(local_98,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,uVar4, + puVar3); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_98,(ThrowInfo *)&DAT_14016c210); + } + FUN_140006fb0(puVar3,(undefined8 *)*param_1,(longlong)(int)param_1[1] << 4); + return; + } + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140097060.c b/decomp/AgentManager_Release_x64/full/functions/0x140097060.c new file mode 100644 index 00000000..9b31ab95 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140097060.c @@ -0,0 +1,91 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140097060 FUN_140097060 + * Pseudocode, not original source. */ + +void FUN_140097060(longlong param_1,longlong param_2,SIZE_T param_3,undefined8 param_4) + +{ + undefined1 uVar1; + uint uVar2; + longlong lVar3; + undefined8 uVar4; + int iVar5; + undefined8 *_Dst; + undefined8 *_Src; + undefined8 *puVar6; + ulonglong uVar7; + ulonglong uVar8; + ulonglong uVar9; + ulonglong uVar10; + ulonglong uVar11; + ulonglong uVar12; + ulonglong uVar13; + exception local_78 [80]; + + iVar5 = FUN_140096ef0(param_1,param_2,param_3,param_4); + FUN_14002a050(param_2,iVar5,param_3); + uVar7 = 0; + if (*(longlong *)(param_1 + 0xc80) == 0) { + FUN_14003db10(local_78,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,param_3, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_78,(ThrowInfo *)&DAT_14016c210); + } + uVar13 = uVar7; + if (*(int *)(param_2 + 0x18) != 0) { + uVar13 = *(ulonglong *)(param_2 + 0x10); + } + iVar5 = *(int *)(param_1 + 0xc88); + uVar8 = uVar7; + uVar9 = uVar7; + uVar10 = uVar7; + if (0 < (longlong)iVar5) { + do { + lVar3 = *(longlong *)(param_1 + 0xc80); + if (lVar3 == 0) { + FUN_14003db10(local_78,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,param_3, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_78,(ThrowInfo *)&DAT_14016c210); + } + if (((longlong)uVar7 < 0) || (*(int *)(param_1 + 0xc88) <= (int)uVar9)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + uVar2 = *(uint *)(lVar3 + 8 + uVar8); + param_3 = (SIZE_T)(int)uVar2; + _Src = *(undefined8 **)(lVar3 + uVar8); + _Dst = (undefined8 *)((longlong)(int)uVar10 + uVar13); + if (param_3 < 0x21) { + uVar12 = (ulonglong)(uVar2 & 7); + for (uVar11 = param_3 >> 3; uVar11 != 0; uVar11 = uVar11 - 1) { + uVar4 = *_Src; + _Src = _Src + 1; + *_Dst = uVar4; + _Dst = _Dst + 1; + } + param_4 = 0; + param_3 = 0; + if (uVar12 != 0) { + puVar6 = _Src; + do { + uVar1 = *(undefined1 *)puVar6; + puVar6 = (undefined8 *)((longlong)puVar6 + 1); + uVar12 = uVar12 - 1; + *(undefined1 *)((longlong)_Dst + (-1 - (longlong)_Src) + (longlong)puVar6) = uVar1; + } while (uVar12 != 0); + param_4 = 0; + } + } + else { + memcpy(_Dst,_Src,param_3); + } + uVar7 = uVar7 + 1; + uVar8 = uVar8 + 0x10; + uVar9 = (ulonglong)((int)uVar9 + 1); + uVar10 = (ulonglong)((int)uVar10 + uVar2); + } while ((longlong)uVar7 < (longlong)iVar5); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140097200.c b/decomp/AgentManager_Release_x64/full/functions/0x140097200.c new file mode 100644 index 00000000..d610b159 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140097200.c @@ -0,0 +1,106 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140097200 FUN_140097200 + * Pseudocode, not original source. */ + +void FUN_140097200(longlong param_1,int *param_2,SIZE_T param_3,undefined8 param_4) + +{ + undefined1 uVar1; + int iVar2; + longlong lVar3; + undefined8 uVar4; + uint uVar5; + longlong lVar6; + int *piVar7; + undefined8 *_Src; + longlong lVar8; + longlong lVar9; + int iVar10; + ulonglong uVar11; + ulonglong uVar12; + int iVar13; + SIZE_T _Size; + exception local_78 [80]; + + piVar7 = param_2; + FUN_140074ac0((undefined8 *)param_2); + FUN_140074a40((longlong)param_2,piVar7,param_3,param_4); + uVar5 = FUN_140096ef0(param_1,piVar7,param_3,param_4); + piVar7 = param_2; + FUN_140075110(param_2,(ulonglong)uVar5,param_3,param_4); + if (*(longlong *)(param_1 + 0xc80) == 0) { + FUN_14003db10(local_78,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,param_3, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_78,(ThrowInfo *)&DAT_14016c210); + } + iVar2 = *(int *)(param_1 + 0xc88); + iVar13 = 0; + iVar10 = 0; + lVar8 = 0; + if (0 < (longlong)iVar2) { + lVar9 = 0; + do { + lVar3 = *(longlong *)(param_1 + 0xc80); + if (lVar3 == 0) { + FUN_14003db10(local_78,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,param_3, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_78,(ThrowInfo *)&DAT_14016c210); + } + if ((lVar8 < 0) || (*(int *)(param_1 + 0xc88) <= iVar10)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + lVar6 = *(longlong *)(param_2 + 4); + uVar5 = *(uint *)(lVar9 + 8 + lVar3); + _Size = (SIZE_T)(int)uVar5; + _Src = *(undefined8 **)(lVar9 + lVar3); + if (lVar6 == 0) { + lVar3 = *(longlong *)(param_2 + 2); + if (lVar3 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(piVar7,_Src,param_3,param_4); + } + if (*(int *)(lVar3 + 0x18) == 0) { + lVar6 = 0; + } + else { + lVar6 = *(longlong *)(lVar3 + 0x10); + } + } + piVar7 = (int *)(iVar13 + lVar6); + if (_Size < 0x21) { + uVar12 = (ulonglong)(uVar5 & 7); + for (uVar11 = _Size >> 3; uVar11 != 0; uVar11 = uVar11 - 1) { + uVar4 = *_Src; + _Src = _Src + 1; + *(undefined8 *)piVar7 = uVar4; + piVar7 = piVar7 + 2; + } + param_4 = 0; + _Size = 0; + if (uVar12 != 0) { + piVar7 = (int *)((longlong)piVar7 - (longlong)_Src); + do { + uVar1 = *(undefined1 *)_Src; + _Src = (undefined8 *)((longlong)_Src + 1); + uVar12 = uVar12 - 1; + *(undefined1 *)((longlong)piVar7 + -1 + (longlong)_Src) = uVar1; + } while (uVar12 != 0); + param_4 = 0; + } + } + else { + memcpy(piVar7,_Src,_Size); + } + lVar8 = lVar8 + 1; + iVar13 = iVar13 + uVar5; + iVar10 = iVar10 + 1; + lVar9 = lVar9 + 0x10; + param_3 = _Size; + } while (lVar8 < iVar2); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400973e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400973e0.c new file mode 100644 index 00000000..b0b67a1d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400973e0.c @@ -0,0 +1,129 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400973e0 FUN_1400973e0 + * Pseudocode, not original source. */ + +void FUN_1400973e0(longlong param_1,longlong *param_2,SIZE_T param_3,undefined8 param_4) + +{ + undefined1 uVar1; + int iVar2; + longlong lVar3; + undefined8 uVar4; + uint uVar5; + longlong lVar6; + undefined8 *_Dst; + longlong *plVar7; + undefined8 *_Src; + undefined8 *puVar8; + ulonglong uVar9; + ulonglong uVar10; + ulonglong uVar11; + ulonglong uVar12; + ulonglong uVar13; + ulonglong uVar14; + ulonglong uVar15; + exception local_78 [80]; + + lVar6 = param_1; + plVar7 = param_2; + uVar5 = FUN_140096ef0(param_1,param_2,param_3,param_4); + if ((int)uVar5 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (param_2[1] == 0) { + lVar6 = *param_2; + if ((int)uVar5 < 1) { + if (lVar6 == 0) goto LAB_140097439; + plVar7 = (longlong *)0x0; + } + else { + if (lVar6 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,plVar7,param_3,param_4); + } + plVar7 = (longlong *)(ulonglong)uVar5; + } + FUN_14002a050(lVar6,(int)plVar7,param_3); + } + else { + if (*(int *)((longlong)param_2 + 0x14) < (int)uVar5) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + *(uint *)(param_2 + 2) = uVar5; + } +LAB_140097439: + uVar9 = 0; + if (*(longlong *)(param_1 + 0xc80) == 0) { + FUN_14003db10(local_78,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,param_3, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_78,(ThrowInfo *)&DAT_14016c210); + } + uVar15 = param_2[1]; + if (param_2[1] == 0) { + lVar3 = *param_2; + if (lVar3 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(lVar6,plVar7,param_3,param_4); + } + uVar15 = uVar9; + if (*(int *)(lVar3 + 0x18) != 0) { + uVar15 = *(ulonglong *)(lVar3 + 0x10); + } + } + iVar2 = *(int *)(param_1 + 0xc88); + uVar10 = uVar9; + uVar11 = uVar9; + uVar12 = uVar9; + if (0 < (longlong)iVar2) { + do { + lVar6 = *(longlong *)(param_1 + 0xc80); + if (lVar6 == 0) { + FUN_14003db10(local_78,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,param_3, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_78,(ThrowInfo *)&DAT_14016c210); + } + if (((longlong)uVar9 < 0) || (*(int *)(param_1 + 0xc88) <= (int)uVar11)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + uVar5 = *(uint *)(lVar6 + 8 + uVar10); + param_3 = (SIZE_T)(int)uVar5; + _Src = *(undefined8 **)(lVar6 + uVar10); + _Dst = (undefined8 *)((longlong)(int)uVar12 + uVar15); + if (param_3 < 0x21) { + uVar14 = (ulonglong)(uVar5 & 7); + for (uVar13 = param_3 >> 3; uVar13 != 0; uVar13 = uVar13 - 1) { + uVar4 = *_Src; + _Src = _Src + 1; + *_Dst = uVar4; + _Dst = _Dst + 1; + } + param_4 = 0; + param_3 = 0; + if (uVar14 != 0) { + puVar8 = _Src; + do { + uVar1 = *(undefined1 *)puVar8; + puVar8 = (undefined8 *)((longlong)puVar8 + 1); + uVar14 = uVar14 - 1; + *(undefined1 *)((longlong)_Dst + (-1 - (longlong)_Src) + (longlong)puVar8) = uVar1; + } while (uVar14 != 0); + param_4 = 0; + } + } + else { + memcpy(_Dst,_Src,param_3); + } + uVar9 = uVar9 + 1; + uVar10 = uVar10 + 0x10; + uVar11 = (ulonglong)((int)uVar11 + 1); + uVar12 = (ulonglong)((int)uVar12 + uVar5); + } while ((longlong)uVar9 < (longlong)iVar2); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400975e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400975e0.c new file mode 100644 index 00000000..f002ca04 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400975e0.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400975e0 FUN_1400975e0 + * Pseudocode, not original source. */ + +longlong * FUN_1400975e0(longlong *param_1) + +{ + int iVar1; + + if (param_1 != (longlong *)0x0) { + iVar1 = (**(code **)(*param_1 + 8))(); + if (iVar1 == 4) { + return param_1; + } + } + return (longlong *)0x0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140097610.c b/decomp/AgentManager_Release_x64/full/functions/0x140097610.c new file mode 100644 index 00000000..162c201b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140097610.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140097610 FUN_140097610 + * Pseudocode, not original source. */ + +undefined8 * FUN_140097610(undefined8 *param_1) + +{ + int iVar1; + + if (param_1 != (undefined8 *)0x0) { + iVar1 = (**(code **)*param_1)(); + if (iVar1 == 1) { + return param_1; + } + } + return (undefined8 *)0x0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140097640.c b/decomp/AgentManager_Release_x64/full/functions/0x140097640.c new file mode 100644 index 00000000..68c28d61 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140097640.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140097640 FUN_140097640 + * Pseudocode, not original source. */ + +longlong * FUN_140097640(longlong *param_1) + +{ + int iVar1; + + if (param_1 != (longlong *)0x0) { + iVar1 = (**(code **)(*param_1 + 8))(); + if (iVar1 == 1) { + return param_1 + -7; + } + } + return (longlong *)0x0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140097670.c b/decomp/AgentManager_Release_x64/full/functions/0x140097670.c new file mode 100644 index 00000000..b44d0bc5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140097670.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140097670 FUN_140097670 + * Pseudocode, not original source. */ + +void FUN_140097670(longlong param_1) + +{ + FUN_140048620((undefined8 *)(param_1 + 0x20),DAT_14016f070); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140097680.c b/decomp/AgentManager_Release_x64/full/functions/0x140097680.c new file mode 100644 index 00000000..0a292e5e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140097680.c @@ -0,0 +1,31 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140097680 FUN_140097680 + * Pseudocode, not original source. */ + +void FUN_140097680(longlong param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong *plVar1; + longlong *plVar2; + + if (*(longlong *)(param_2 + 0x18) == 0) { + plVar1 = (longlong *)(param_2 + 8); + plVar2 = (longlong *)(param_1 + 8); + if (*(longlong *)(param_2 + 0x18) != 0) { + FUN_140079d50(plVar2,plVar1,param_3,param_4); + } + if (*(longlong *)(param_1 + 0x10) == 0) { + *plVar2 = (longlong)plVar1; + } + else { + *(longlong **)(*(longlong *)(param_1 + 0x10) + 8) = plVar1; + *plVar1 = *(longlong *)(param_1 + 0x10); + } + *(longlong **)(param_1 + 0x10) = plVar1; + *(longlong **)(param_2 + 0x18) = plVar2; + *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1; + } + FUN_14009ad80((undefined8 *)(param_1 + 0x20),1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140097700.c b/decomp/AgentManager_Release_x64/full/functions/0x140097700.c new file mode 100644 index 00000000..c40703eb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140097700.c @@ -0,0 +1,39 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140097700 FUN_140097700 + * Pseudocode, not original source. */ + +undefined8 FUN_140097700(undefined8 *param_1,longlong param_2,longlong *param_3,undefined8 param_4) + +{ + longlong *plVar1; + char cVar2; + int *piVar3; + undefined8 uVar4; + ulonglong uVar5; + longlong *plVar6; + + plVar6 = param_3; + piVar3 = (int *)(**(code **)(*(longlong *)*param_1 + 8))(); + FUN_14003d040(piVar3); + do { + do { + if (*(int *)(param_1 + 3) < 1) { + uVar5 = FUN_14003d0d0((longlong)piVar3); + return uVar5 & 0xffffffffffffff00; + } + plVar1 = *(longlong **)(param_1[1] + 0x18); + if ((longlong *)plVar1[3] != (longlong *)0x0) { + FUN_140079d50((longlong *)plVar1[3],plVar1 + 1,plVar6,param_4); + } + cVar2 = (**(code **)(*plVar1 + 0x10))(plVar1); + } while (((cVar2 != '\0') || (cVar2 = (**(code **)(*plVar1 + 0x18))(plVar1), cVar2 != '\0')) || + (cVar2 = (**(code **)(*plVar1 + 0x28))(plVar1,param_2), cVar2 == '\0')); + cVar2 = (**(code **)(*(longlong *)*param_1 + 0x18)) + ((longlong *)*param_1,*(undefined4 *)(param_2 + 0x30)); + } while (cVar2 == '\0'); + (**(code **)(*plVar1 + 0x20))(plVar1,1); + *param_3 = plVar1[5]; + uVar4 = FUN_14003d0d0((longlong)piVar3); + return CONCAT71((int7)((ulonglong)uVar4 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400977f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400977f0.c new file mode 100644 index 00000000..0454bf01 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400977f0.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400977f0 FUN_1400977f0 + * Pseudocode, not original source. */ + +void FUN_1400977f0(undefined8 *param_1,undefined4 param_2,char param_3,undefined8 param_4) + +{ + char cVar1; + int *piVar2; + longlong *plVar3; + longlong lVar4; + + piVar2 = (int *)(**(code **)(*(longlong *)*param_1 + 8))(); + FUN_14003d040(piVar2); + plVar3 = (longlong *)(**(code **)(*(longlong *)*param_1 + 0x10))((longlong *)*param_1,param_2); + if (plVar3 != (longlong *)0x0) { + lVar4 = *plVar3; + (**(code **)(lVar4 + 0x20))(plVar3,param_3); + if (param_3 == '\0') { + cVar1 = (**(code **)(*plVar3 + 0x10))(plVar3); + if (cVar1 == '\0') { + FUN_140097680((longlong)param_1,(longlong)plVar3,lVar4,param_4); + } + } + } + FUN_14003d0d0((longlong)piVar2); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400978a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400978a0.c new file mode 100644 index 00000000..1a043f16 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400978a0.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400978a0 FUN_1400978a0 + * Pseudocode, not original source. */ + +void FUN_1400978a0(undefined8 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + *param_1 = Proud::ITaskSubject::vftable; + if ((longlong *)param_1[3] != (longlong *)0x0) { + FUN_140079d50((longlong *)param_1[3],param_1 + 1,param_3,param_4); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400978d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400978d0.c new file mode 100644 index 00000000..2ee24d8a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400978d0.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400978d0 FUN_1400978d0 + * Pseudocode, not original source. */ + +undefined8 * FUN_1400978d0(undefined8 *param_1,undefined8 param_2) + +{ + param_1[1] = 0; + param_1[2] = 0; + *(undefined4 *)(param_1 + 3) = 0; + FUN_14009ad60(param_1 + 4,0,0x7fffffff); + *param_1 = param_2; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140097920.c b/decomp/AgentManager_Release_x64/full/functions/0x140097920.c new file mode 100644 index 00000000..3e5d2569 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140097920.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140097920 FUN_140097920 + * Pseudocode, not original source. */ + +undefined8 * FUN_140097920(undefined8 *param_1) + +{ + *param_1 = Proud::ITaskSubject::vftable; + param_1[4] = param_1; + param_1[1] = 0; + param_1[2] = 0; + param_1[3] = 0; + param_1[5] = 0; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140097950.c b/decomp/AgentManager_Release_x64/full/functions/0x140097950.c new file mode 100644 index 00000000..2a039fc2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140097950.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140097950 FUN_140097950 + * Pseudocode, not original source. */ + +undefined8 * FUN_140097950(undefined8 *param_1,uint param_2,undefined8 param_3,undefined8 param_4) + +{ + *param_1 = Proud::ITaskSubject::vftable; + if ((longlong *)param_1[3] != (longlong *)0x0) { + FUN_140079d50((longlong *)param_1[3],param_1 + 1,param_3,param_4); + } + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400979a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400979a0.c new file mode 100644 index 00000000..50079436 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400979a0.c @@ -0,0 +1,25 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400979a0 FUN_1400979a0 + * Pseudocode, not original source. */ + +undefined4 * FUN_1400979a0(undefined4 *param_1) + +{ + undefined4 uVar1; + + *(double *)(param_1 + 2) = DAT_14016f0f8 * 10.0 * 2.0; + uVar1 = DAT_140176144; + *param_1 = 0; + param_1[4] = uVar1; + param_1[1] = 0x10000; + param_1[5] = DAT_14016f190; + *(undefined1 *)(param_1 + 6) = 1; + *(undefined2 *)(param_1 + 9) = 0x100; + *(undefined1 *)((longlong)param_1 + 0x27) = 1; + *(undefined8 *)(param_1 + 7) = 0x80; + *(undefined1 *)((longlong)param_1 + 0x26) = DAT_14016f145; + param_1[10] = 0; + *(undefined1 *)((longlong)param_1 + 0x2d) = 0; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140097a10.c b/decomp/AgentManager_Release_x64/full/functions/0x140097a10.c new file mode 100644 index 00000000..0ac50470 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140097a10.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140097a10 FUN_140097a10 + * Pseudocode, not original source. */ + +int FUN_140097a10(longlong param_1) + +{ + int iVar1; + + iVar1 = FUN_140048790(param_1,0x7fffffff); + if (iVar1 == 0) { + iVar1 = 1; + } + return iVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140097a30.c b/decomp/AgentManager_Release_x64/full/functions/0x140097a30.c new file mode 100644 index 00000000..72e9d590 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140097a30.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140097a30 FUN_140097a30 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x000140097a60) */ + +void FUN_140097a30(undefined8 param_1,undefined8 param_2,SIZE_T param_3,undefined4 *param_4) + +{ + longlong *plVar1; + undefined2 *puVar2; + longlong *plVar3; + SIZE_T SVar4; + undefined4 *puVar5; + + plVar1 = (longlong *)(param_4 + 2); + *param_4 = 1; + param_4[1] = (int)param_2; + plVar3 = plVar1; + SVar4 = param_3; + puVar5 = param_4; + FUN_14008a320(plVar1); + *(undefined8 *)(param_4 + 6) = 0; + *(undefined8 *)(param_4 + 4) = 0; + if (*plVar1 == 0) { + puVar2 = FUN_14008a360(plVar3,param_2,SVar4); + *plVar1 = (longlong)puVar2; + *(undefined8 *)(puVar2 + 0x14) = 1; + } + thunk_FUN_1400973e0(param_3,plVar1,SVar4,puVar5); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140097ab0.c b/decomp/AgentManager_Release_x64/full/functions/0x140097ab0.c new file mode 100644 index 00000000..f484989c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140097ab0.c @@ -0,0 +1,137 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140097ab0 FUN_140097ab0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __chkstk replaced with injection: alloca_probe */ +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_140097ab0(byte *param_1,longlong param_2,SIZE_T param_3,undefined8 param_4) + +{ + uint uVar1; + longlong lVar2; + int iVar3; + SIZE_T SVar4; + longlong lVar5; + ulonglong uVar6; + undefined1 *puVar7; + longlong lVar8; + SIZE_T SVar9; + undefined1 auStack_1a08 [32]; + exception local_19e8 [72]; + undefined8 local_19a0; + exception local_1998 [80]; + undefined1 local_1948 [3200]; + longlong local_cc8; + undefined4 local_cc0; + int local_cbc; + undefined1 local_cb8 [3200]; + longlong local_38; + int local_2c; + ulonglong local_28; + undefined8 uStack_20; + + uStack_20 = 0x140097abe; + local_19a0 = 0xfffffffffffffffe; + local_28 = DAT_14016f5a0 ^ (ulonglong)auStack_1a08; + if (*(longlong *)(param_2 + 0xc80) == 0) { + FUN_14003db10(local_19e8,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,param_3, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_19e8,(ThrowInfo *)&DAT_14016c210); + } + if (*(int *)(param_2 + 0xc8c) < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + lVar8 = 0; + *(undefined4 *)(param_2 + 0xc88) = 0; + SVar9 = param_3; + FUN_140029d80(param_3,CONCAT71((int7)((ulonglong)param_2 >> 8),0x13),param_3,param_4); + FUN_140029d80(param_3,(ulonglong)*param_1,SVar9,param_4); + if (*(int *)param_1 == 1) { + uVar6 = (ulonglong)*(uint *)(param_1 + 4); + SVar4 = param_3; + FUN_140029e60(param_3,uVar6,SVar9,param_4); + if (*(longlong *)(param_1 + 8) == 0) { + if (*(longlong *)(param_1 + 0x10) == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(SVar4,uVar6,SVar9,param_4); + } + iVar3 = *(int *)(param_1 + 0x18); + } + else { + iVar3 = *(int *)(*(longlong *)(param_1 + 8) + 0x18); + } + FUN_140076380(param_3,(longlong)iVar3,SVar9,param_4); + FUN_14004ec50((longlong)local_1948,param_3,SVar9); + puVar7 = local_1948; + lVar5 = param_2; + FUN_14004dc30(param_2,(longlong)puVar7,SVar9,param_4); + if (local_cc8 == 0) { + FUN_14003db10(local_19e8,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,SVar9, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_19e8,(ThrowInfo *)&DAT_14016c210); + } + if (local_cbc < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_cc0 = 0; + lVar2 = *(longlong *)(param_1 + 8); + if (lVar2 == 0) { + if (*(longlong *)(param_1 + 0x10) == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(lVar5,puVar7,SVar9,param_4); + } + uVar1 = *(uint *)(param_1 + 0x18); + } + else { + uVar1 = *(uint *)(lVar2 + 0x18); + } + if (*(longlong *)(param_1 + 0x10) == 0) { + if (lVar2 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(lVar5,puVar7,(ulonglong)uVar1,param_4); + } + if (*(int *)(lVar2 + 0x18) != 0) { + lVar8 = *(longlong *)(lVar2 + 0x10); + } + } + else { + lVar8 = *(longlong *)(param_1 + 0x10); + if (lVar8 == 0) { + FUN_14003db10(local_1998,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368, + (ulonglong)uVar1,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_1998,(ThrowInfo *)&DAT_14016c210); + } + } + FUN_14004dba0(param_2,lVar8,uVar1); + } + else if (*(int *)param_1 == 2) { + if ((*(longlong **)(param_1 + 0x20) == (longlong *)0x0) || + (lVar8 = **(longlong **)(param_1 + 0x20), lVar8 == 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + FUN_1400982f0(lVar8,param_3,SVar9,param_4); + FUN_140029e60(param_3,(ulonglong)*(uint *)(param_1 + 0x34),SVar9,param_4); + FUN_140029e60(param_3,(ulonglong)*(uint *)(param_1 + 0x30),SVar9,param_4); + FUN_14004ec50((longlong)local_cb8,param_3,SVar9); + FUN_14004dc30(param_2,(longlong)local_cb8,SVar9,param_4); + if (local_38 == 0) { + FUN_14003db10(local_19e8,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,SVar9, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_19e8,(ThrowInfo *)&DAT_14016c210); + } + if (local_2c < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140097d30.c b/decomp/AgentManager_Release_x64/full/functions/0x140097d30.c new file mode 100644 index 00000000..c9d2e767 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140097d30.c @@ -0,0 +1,92 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140097d30 FUN_140097d30 + * Pseudocode, not original source. */ + +void FUN_140097d30(longlong *param_1,longlong *param_2,int param_3,undefined8 param_4) + +{ + longlong lVar1; + longlong lVar2; + void *pvVar3; + void *_Dst; + int iVar4; + int iVar5; + + iVar4 = (int)param_4; + lVar1 = *param_2; + if (lVar1 == 0) { + if (param_2[1] == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(param_1,param_2,param_1,param_4); + } + iVar5 = (int)param_2[2]; + } + else { + iVar5 = *(int *)(lVar1 + 0x18); + } + if (iVar5 < param_3 + iVar4) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(param_1,param_2,param_1,param_4); + } + if ((0 < iVar4) && (param_1[1] == 0)) { + lVar2 = *param_1; + if (lVar2 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(param_1,param_2,param_1,param_4); + } + if (*(int *)(lVar2 + 0x18) == 0) { + lVar2 = 0; + } + else { + lVar2 = *(longlong *)(lVar2 + 0x10); + } + if (lVar2 == 0) goto LAB_140097dbe; + } + _Dst = (void *)param_2[1]; + pvVar3 = _Dst; + if (_Dst == (void *)0x0) { + if (lVar1 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,param_2,param_1,param_4); + } + if (*(int *)(lVar1 + 0x18) == 0) { + pvVar3 = (void *)0x0; + } + else { + pvVar3 = *(void **)(lVar1 + 0x10); + } + } + if (pvVar3 != (void *)0x0) { + lVar2 = param_1[1]; + if (lVar2 == 0) { + lVar2 = *param_1; + if (lVar2 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(_Dst,param_2,param_1,param_4); + } + if (*(int *)(lVar2 + 0x18) == 0) { + lVar2 = 0; + } + else { + lVar2 = *(longlong *)(lVar2 + 0x10); + } + } + if (_Dst == (void *)0x0) { + if (lVar1 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,param_2,param_1,param_4); + } + if (*(int *)(lVar1 + 0x18) == 0) { + memmove((void *)0x0,(void *)(lVar2 + param_3),(longlong)iVar4); + return; + } + _Dst = *(void **)(lVar1 + 0x10); + } + memmove(_Dst,(void *)(lVar2 + param_3),(longlong)iVar4); + return; + } +LAB_140097dbe: + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140097e40.c b/decomp/AgentManager_Release_x64/full/functions/0x140097e40.c new file mode 100644 index 00000000..4cffc3e7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140097e40.c @@ -0,0 +1,74 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140097e40 FUN_140097e40 + * Pseudocode, not original source. */ + +ulonglong FUN_140097e40(uint *param_1,uint *param_2,longlong param_3,undefined8 param_4) + +{ + longlong lVar1; + undefined4 uVar2; + ulonglong uVar3; + uint *puVar4; + undefined8 *puVar5; + longlong lVar6; + int iVar7; + uint local_res18 [2]; + undefined4 local_res20 [2]; + undefined4 local_28; + undefined4 local_24 [3]; + + uVar3 = FUN_140075580(param_2,(undefined8 *)local_res18,param_3,param_4); + if ((char)uVar3 == '\0') { + return uVar3; + } + puVar5 = (undefined8 *)(ulonglong)local_res18[0]; + puVar4 = param_1; + FUN_14008c630((longlong)param_1,local_res18[0],param_3); + uVar3 = (ulonglong)param_1[6]; + iVar7 = 0; + lVar6 = 0; + if (0 < (int)param_1[6]) { + do { + if ((lVar6 < 0) || ((int)uVar3 <= iVar7)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(puVar4,puVar5,param_3,param_4); + } + lVar1 = *(longlong *)(param_1 + 4); + uVar3 = FUN_140074ee0(param_2,(undefined8 *)local_res18,1); + if ((char)uVar3 == '\0') goto LAB_140097f5d; + param_3 = 4; + puVar4 = param_2; + if ((char)local_res18[0] == '\0') { + puVar5 = (undefined8 *)local_res20; + uVar3 = FUN_140074ee0(param_2,puVar5,4); + if ((char)uVar3 == '\0') { +LAB_140097f56: + *(undefined4 *)(lVar1 + lVar6 * 8) = 0; +LAB_140097f5d: + return uVar3 & 0xffffffffffffff00; + } + *(undefined4 *)(lVar1 + lVar6 * 8) = local_res20[0]; + uVar2 = local_res20[0]; + } + else { + uVar3 = FUN_140074ee0(param_2,(undefined8 *)&local_28,4); + if ((char)uVar3 == '\0') goto LAB_140097f56; + puVar5 = (undefined8 *)local_24; + param_3 = 4; + *(undefined4 *)(lVar1 + lVar6 * 8) = local_28; + uVar3 = FUN_140074ee0(param_2,puVar5,4); + uVar2 = local_24[0]; + if ((char)uVar3 == '\0') { + *(undefined4 *)(lVar1 + 4 + lVar6 * 8) = 0; + return uVar3 & 0xffffffffffffff00; + } + } + *(undefined4 *)(lVar1 + 4 + lVar6 * 8) = uVar2; + uVar3 = (ulonglong)param_1[6]; + iVar7 = iVar7 + 1; + lVar6 = lVar6 + 1; + } while (iVar7 < (int)param_1[6]); + } + return CONCAT71((int7)(uVar3 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140097f70.c b/decomp/AgentManager_Release_x64/full/functions/0x140097f70.c new file mode 100644 index 00000000..e4e2db04 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140097f70.c @@ -0,0 +1,76 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140097f70 FUN_140097f70 + * Pseudocode, not original source. */ + +longlong * FUN_140097f70(longlong *param_1,longlong *param_2,SIZE_T param_3,undefined8 param_4) + +{ + uint uVar1; + longlong *plVar2; + longlong *plVar3; + exception local_50 [72]; + + if (param_1[1] != 0) { + FUN_14003db10(local_50,(wchar_t *)PTR_u_exception_due_to_using_external_b_140170548,param_3, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_50,(ThrowInfo *)&DAT_14016c210); + } + param_2[2] = 0; + param_2[1] = 0; + *param_2 = 0; + plVar2 = param_1; + plVar3 = param_2; + if (*param_1 != 0) { + plVar2 = param_2; + FUN_1400749b0(param_2,param_2,param_3,param_4); + if (*param_1 == 0) { + if (param_1[1] == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(plVar2,plVar3,param_3,param_4); + } + uVar1 = *(uint *)(param_1 + 2); + } + else { + uVar1 = *(uint *)(*param_1 + 0x18); + } + plVar3 = (longlong *)(ulonglong)uVar1; + if ((int)uVar1 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (param_2[1] == 0) { + plVar2 = (longlong *)*param_2; + if ((int)uVar1 < 1) { + if (plVar2 == (longlong *)0x0) goto LAB_140098038; + plVar3 = (longlong *)0x0; + } + else if (plVar2 == (longlong *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,plVar3,param_3,param_4); + } + FUN_14002a050((longlong)plVar2,(int)plVar3,param_3); + } + else { + if (*(int *)((longlong)param_2 + 0x14) < (int)uVar1) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + *(uint *)(param_2 + 2) = uVar1; + } +LAB_140098038: + if (*param_1 != 0) { + uVar1 = *(uint *)(*param_1 + 0x18); + goto LAB_140098057; + } + } + if (param_1[1] == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(plVar2,plVar3,param_3,param_4); + } + uVar1 = *(uint *)(param_1 + 2); +LAB_140098057: + FUN_140097d30(param_1,param_2,0,(ulonglong)uVar1); + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140098080.c b/decomp/AgentManager_Release_x64/full/functions/0x140098080.c new file mode 100644 index 00000000..285f3b45 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140098080.c @@ -0,0 +1,75 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140098080 FUN_140098080 + * Pseudocode, not original source. */ + +void FUN_140098080(longlong param_1,undefined8 param_2,longlong param_3,undefined8 param_4) + +{ + int iVar1; + int iVar2; + int iVar3; + longlong lVar4; + int iVar5; + undefined8 *_Src; + longlong lVar6; + undefined8 *puVar7; + longlong lVar8; + + iVar1 = *(int *)(param_1 + 0x18); + lVar6 = (longlong)iVar1; + iVar5 = (int)param_2; + if (iVar1 == 0) { + iVar1 = *(int *)(param_1 + 0x18); + FUN_14008c630(param_1,iVar1 + 1,param_3); + puVar7 = (undefined8 *)0x0; + if (0 < iVar1) { + _Src = puVar7; + if (*(int *)(param_1 + 0x18) != 0) { + _Src = *(undefined8 **)(param_1 + 0x10); + } + memmove(_Src + 1,_Src,(longlong)iVar1 << 3); + } + if (*(int *)(param_1 + 0x18) != 0) { + puVar7 = *(undefined8 **)(param_1 + 0x10); + } + *puVar7 = CONCAT44(iVar5,iVar5); + } + else { + iVar3 = iVar1 + -1; + if ((iVar3 < 0) || (iVar1 <= iVar3)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(param_1,param_2,param_3,param_4); + } + lVar8 = *(longlong *)(param_1 + 0x10); + lVar4 = (longlong)iVar3; + iVar3 = *(int *)(lVar8 + lVar4 * 8); + if ((iVar3 != iVar5) && (iVar2 = *(int *)(lVar8 + 4 + lVar4 * 8), iVar2 != iVar5)) { + if ((iVar2 + 1 != iVar5) && (iVar3 + 1 != iVar5)) { + if (iVar1 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + iVar3 = *(int *)(param_1 + 0x18); + FUN_14008c630(param_1,iVar3 + 1,lVar8); + iVar3 = iVar3 - iVar1; + lVar8 = 0; + if (0 < iVar3) { + lVar4 = lVar8; + if (*(int *)(param_1 + 0x18) != 0) { + lVar4 = *(longlong *)(param_1 + 0x10); + } + memmove((void *)(lVar4 + 8 + lVar6 * 8),(void *)(lVar4 + lVar6 * 8),(longlong)iVar3 << 3); + } + if (*(int *)(param_1 + 0x18) != 0) { + lVar8 = *(longlong *)(param_1 + 0x10); + } + *(ulonglong *)(lVar8 + lVar6 * 8) = CONCAT44(iVar5,iVar5); + return; + } + *(int *)(lVar8 + 4 + lVar4 * 8) = iVar5; + return; + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400981d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400981d0.c new file mode 100644 index 00000000..c9949d4b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400981d0.c @@ -0,0 +1,78 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400981d0 FUN_1400981d0 + * Pseudocode, not original source. */ + +void FUN_1400981d0(longlong param_1,longlong param_2,size_t param_3,undefined8 param_4) + +{ + uint uVar1; + longlong lVar2; + longlong lVar3; + void *_Src; + int iVar4; + longlong lVar5; + int iVar6; + ulonglong uVar7; + int iVar8; + longlong lVar9; + undefined4 uStackX_c; + + _Src = (void *)0x0; + lVar3 = param_2; + FUN_14004cce0(param_2,0,param_3); + iVar6 = *(int *)(param_1 + 0x18); + iVar8 = 0; + lVar9 = 0; + if (0 < iVar6) { + do { + if ((lVar9 < 0) || (iVar6 <= iVar8)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(lVar3,_Src,param_3,param_4); + } + uVar7 = *(ulonglong *)(*(longlong *)(param_1 + 0x10) + lVar9 * 8); + uStackX_c = (int)(uVar7 >> 0x20); + uVar7 = uVar7 & 0xffffffff; + while( true ) { + iVar6 = *(int *)(param_2 + 0x18); + lVar5 = (longlong)iVar6; + if (iVar6 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + iVar4 = *(int *)(param_2 + 0x18); + uVar1 = iVar4 + 1; + _Src = (void *)(ulonglong)uVar1; + FUN_14004cce0(param_2,uVar1,param_3); + iVar4 = iVar4 - iVar6; + if (0 < iVar4) { + if (*(int *)(param_2 + 0x18) == 0) { + lVar3 = 0; + lVar2 = 0; + } + else { + lVar3 = *(longlong *)(param_2 + 0x10); + lVar2 = *(longlong *)(param_2 + 0x10); + } + _Src = (void *)(lVar3 + lVar5 * 4); + param_3 = (longlong)iVar4 << 2; + memmove((void *)(lVar2 + 4 + lVar5 * 4),_Src,param_3); + } + if (*(int *)(param_2 + 0x18) == 0) { + lVar3 = 0; + } + else { + lVar3 = *(longlong *)(param_2 + 0x10); + } + iVar6 = (int)uVar7; + *(int *)(lVar3 + lVar5 * 4) = iVar6; + if (iVar6 == uStackX_c) break; + uVar7 = (ulonglong)(iVar6 + 1); + } + iVar6 = *(int *)(param_1 + 0x18); + iVar8 = iVar8 + 1; + lVar9 = lVar9 + 1; + } while (iVar8 < iVar6); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400982f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400982f0.c new file mode 100644 index 00000000..0044aeea --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400982f0.c @@ -0,0 +1,49 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400982f0 FUN_1400982f0 + * Pseudocode, not original source. */ + +void FUN_1400982f0(longlong param_1,longlong param_2,SIZE_T param_3,undefined8 param_4) + +{ + ulonglong uVar1; + int iVar2; + longlong lVar3; + ulonglong uVar4; + ulonglong uVar5; + uint uVar6; + ulonglong uVar7; + + uVar4 = (ulonglong)*(int *)(param_1 + 0x18); + lVar3 = param_2; + FUN_140076380(param_2,uVar4,param_3,param_4); + iVar2 = *(int *)(param_1 + 0x18); + uVar5 = 0; + uVar7 = uVar5; + if (0 < iVar2) { + do { + if (((longlong)uVar5 < 0) || (iVar2 <= (int)uVar7)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(lVar3,uVar4,param_3,param_4); + } + uVar1 = *(ulonglong *)(*(longlong *)(param_1 + 0x10) + uVar5 * 8); + uVar6 = (uint)(uVar1 >> 0x20); + if ((uint)uVar1 == uVar6) { + FUN_140029d80(param_2,0,param_3,param_4); + uVar4 = uVar1 & 0xffffffff; + } + else { + FUN_140029d80(param_2,CONCAT71((int7)(uVar4 >> 8),1),param_3,param_4); + FUN_140029e60(param_2,uVar1 & 0xffffffff,param_3,param_4); + uVar4 = (ulonglong)uVar6; + } + lVar3 = param_2; + FUN_140029e60(param_2,uVar4,param_3,param_4); + iVar2 = *(int *)(param_1 + 0x18); + uVar6 = (int)uVar7 + 1; + uVar5 = uVar5 + 1; + uVar7 = (ulonglong)uVar6; + } while ((int)uVar6 < iVar2); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400983a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400983a0.c new file mode 100644 index 00000000..8391c99c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400983a0.c @@ -0,0 +1,35 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400983a0 FUN_1400983a0 + * Pseudocode, not original source. */ + +longlong * FUN_1400983a0(longlong param_1,longlong *param_2,longlong *param_3,undefined8 param_4) + +{ + int iVar1; + undefined8 *puVar2; + undefined8 *puVar3; + undefined8 *puVar4; + + puVar4 = (undefined8 *)0x0; + FUN_14005b3e0(param_2,param_3,param_3,param_4); + puVar3 = puVar4; + if ((undefined8 *)*param_2 != (undefined8 *)0x0) { + puVar3 = *(undefined8 **)*param_2; + } + iVar1 = *(int *)(param_1 + 0x18); + if (-1 < iVar1) { + FUN_14008c630((longlong)puVar3,iVar1,(longlong)param_3); + puVar2 = puVar4; + if (*(int *)(param_1 + 0x18) != 0) { + puVar2 = *(undefined8 **)(param_1 + 0x10); + } + if (*(int *)(puVar3 + 3) != 0) { + puVar4 = (undefined8 *)puVar3[2]; + } + FUN_140006fb0(puVar4,puVar2,(longlong)iVar1 << 3); + return param_2; + } + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140098450.c b/decomp/AgentManager_Release_x64/full/functions/0x140098450.c new file mode 100644 index 00000000..72ccf0c2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140098450.c @@ -0,0 +1,121 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140098450 FUN_140098450 + * Pseudocode, not original source. */ + +void FUN_140098450(undefined4 *param_1,undefined4 *param_2,longlong *param_3,undefined8 param_4) + +{ + longlong *plVar1; + longlong lVar2; + undefined8 *puVar3; + LPVOID pvVar4; + longlong *plVar5; + longlong *plVar6; + longlong lVar7; + longlong *local_30; + longlong *local_28; + longlong local_20; + + param_2[1] = param_1[1]; + lVar7 = 0; + if ((*(longlong *)(param_1 + 2) == 0) && (*(longlong *)(param_1 + 4) == 0)) { + local_20 = 0; + local_28 = (longlong *)0x0; + local_30 = (longlong *)0x0; + if (*(longlong *)(param_2 + 2) == 0) { + *(undefined8 *)(param_2 + 4) = 0; + *(undefined8 *)(param_2 + 6) = 0; + } + else { + FUN_14008a320((longlong *)(param_2 + 2)); + if (local_30 != (longlong *)0x0) { + local_30[5] = local_30[5] + 1; + *(longlong **)(param_2 + 2) = local_30; + } + } + FUN_14008a320((longlong *)&local_30); + if ((local_28 != (longlong *)0x0) && (local_20 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + } + else { + plVar6 = FUN_140097f70((longlong *)(param_1 + 2),(longlong *)&local_30,(SIZE_T)param_3,param_4); + if (*plVar6 == *(longlong *)(param_2 + 2)) { + param_2[7] = *(undefined4 *)((longlong)plVar6 + 0x14); + *(longlong *)(param_2 + 4) = plVar6[1]; + param_2[6] = (int)plVar6[2]; + } + else { + FUN_14008a320((longlong *)(param_2 + 2)); + if (*plVar6 != 0) { + plVar1 = (longlong *)(*plVar6 + 0x28); + *plVar1 = *plVar1 + 1; + *(longlong *)(param_2 + 2) = *plVar6; + } + } + FUN_14008a320((longlong *)&local_30); + if ((local_28 != (longlong *)0x0) && (local_20 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + } + *param_2 = *param_1; + plVar6 = *(longlong **)(param_1 + 8); + if ((plVar6 == (longlong *)0x0) || (*plVar6 == 0)) { + local_30 = (longlong *)0x0; + if (*(longlong *)(param_2 + 8) != 0) { + plVar6 = (longlong *)(*(longlong *)(param_2 + 8) + 8); + *plVar6 = *plVar6 + -1; + if (*plVar6 == 0) { + local_28 = param_3; + FUN_1400512a0((longlong)(param_2 + 8),*(longlong **)(param_2 + 8)); + } + } + *(undefined8 *)(param_2 + 8) = 0; + *(longlong **)(param_2 + 10) = param_3; + } + else { + plVar6 = FUN_1400983a0(*plVar6,(longlong *)&local_30,param_3,param_4); + lVar2 = *plVar6; + if (lVar2 != 0) { + *(longlong *)(lVar2 + 8) = *(longlong *)(lVar2 + 8) + 1; + lVar7 = lVar2; + } + if (*(longlong *)(param_2 + 8) != 0) { + plVar1 = (longlong *)(*(longlong *)(param_2 + 8) + 8); + *plVar1 = *plVar1 + -1; + if (*plVar1 == 0) { + FUN_1400512a0((longlong)(param_2 + 8),*(longlong **)(param_2 + 8)); + } + } + plVar5 = local_28; + plVar1 = local_30; + *(longlong *)(param_2 + 8) = lVar7; + *(longlong *)(param_2 + 10) = plVar6[1]; + if (local_30 != (longlong *)0x0) { + plVar6 = local_30 + 1; + *plVar6 = *plVar6 + -1; + if (*plVar6 == 0) { + puVar3 = (undefined8 *)*local_30; + *puVar3 = Proud::CFastArray::vftable; + pvVar4 = (LPVOID)puVar3[2]; + if (pvVar4 != (LPVOID)0x0) { + plVar6 = (longlong *)puVar3[1]; + if (plVar6 == (longlong *)0x0) { + FUN_14003e8b0(pvVar4); + } + else { + (**(code **)(*plVar6 + 0x18))(plVar6,pvVar4); + } + } + (**(code **)(*plVar5 + 0x18))(plVar5,puVar3); + (**(code **)(*local_28 + 0x18))(local_28,plVar1); + } + } + } + param_2[0xc] = param_1[0xc]; + param_2[0xd] = param_1[0xd]; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140098690.c b/decomp/AgentManager_Release_x64/full/functions/0x140098690.c new file mode 100644 index 00000000..34e09db1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140098690.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140098690 FUN_140098690 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +undefined8 FUN_140098690(short *param_1,undefined8 *param_2) + +{ + int iVar1; + undefined1 auStack_48 [32]; + undefined8 local_28; + undefined8 local_20; + ulonglong local_18; + + local_18 = DAT_14016f5a0 ^ (ulonglong)auStack_48; + if (param_2 == (undefined8 *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + iVar1 = Ordinal_184(); + local_28 = 0; + local_20 = 0; + if (((((iVar1 != 0) && (iVar1 = Ordinal_185(*param_2,&local_28), iVar1 != 0)) && + (*param_1 == (short)local_28)) && + ((param_1[1] == local_28._2_2_ && (param_1[3] == local_28._6_2_)))) && + ((param_1[4] == (short)local_20 && + ((param_1[5] == local_20._2_2_ && (param_1[6] == local_20._4_2_)))))) { + return 1; + } + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140098750.c b/decomp/AgentManager_Release_x64/full/functions/0x140098750.c new file mode 100644 index 00000000..a8ea8e54 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140098750.c @@ -0,0 +1,46 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140098750 FUN_140098750 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +undefined8 * FUN_140098750(undefined8 *param_1,__time64_t *param_2) + +{ + errno_t eVar1; + undefined8 uVar2; + undefined1 auStack_78 [32]; + __time64_t local_58; + short local_50; + short local_4e; + undefined2 local_4c; + undefined2 local_4a; + undefined2 local_48; + undefined2 local_46; + undefined2 local_44; + undefined2 local_42; + tm local_40; + ulonglong local_18; + + local_18 = DAT_14016f5a0 ^ (ulonglong)auStack_78; + local_58 = *param_2; + eVar1 = _localtime64_s(&local_40,&local_58); + if (eVar1 == 0) { + local_50 = (short)local_40.tm_year + 0x76c; + local_44 = (undefined2)local_40.tm_sec; + local_4e = (short)local_40.tm_mon + 1; + local_42 = 0; + local_4c = (undefined2)local_40.tm_wday; + local_4a = (undefined2)local_40.tm_mday; + local_48 = (undefined2)local_40.tm_hour; + local_46 = (undefined2)local_40.tm_min; + uVar2 = FUN_140098690(&local_50,param_1); + if ((int)uVar2 != 0) { + *(undefined4 *)(param_1 + 1) = 0; + return param_1; + } + } + *(undefined4 *)(param_1 + 1) = 1; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140098820.c b/decomp/AgentManager_Release_x64/full/functions/0x140098820.c new file mode 100644 index 00000000..e5b95af1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140098820.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140098820 FUN_140098820 + * Pseudocode, not original source. */ + +undefined8 * FUN_140098820(undefined8 *param_1) + +{ + __time64_t local_res8 [4]; + + local_res8[0] = _time64((__time64_t *)0x0); + *param_1 = 0; + *(undefined4 *)(param_1 + 1) = 0; + FUN_140098750(param_1,local_res8); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140098860.c b/decomp/AgentManager_Release_x64/full/functions/0x140098860.c new file mode 100644 index 00000000..8cfe1f03 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140098860.c @@ -0,0 +1,37 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140098860 FUN_140098860 + * Pseudocode, not original source. */ + +void FUN_140098860(longlong param_1,longlong param_2) + +{ + *(longlong *)(param_1 + 0x78) = param_2; + *(undefined4 *)(param_1 + 0x70) = 0; + if (param_2 + 0x80U < 0x100) { + *(undefined1 *)(param_1 + 0xc) = 1; + *(int *)(param_1 + 0x70) = *(int *)(param_1 + 0x70) + 1; + *(char *)((longlong)*(int *)(param_1 + 0x70) + 0xc + param_1) = (char)param_2; + *(int *)(param_1 + 0x70) = *(int *)(param_1 + 0x70) + 1; + return; + } + if (param_2 + 0x8000U < 0x10000) { + *(undefined1 *)(param_1 + 0xc) = 2; + *(int *)(param_1 + 0x70) = *(int *)(param_1 + 0x70) + 1; + *(short *)((longlong)*(int *)(param_1 + 0x70) + 0xc + param_1) = (short)param_2; + *(int *)(param_1 + 0x70) = *(int *)(param_1 + 0x70) + 2; + return; + } + if (param_2 + 0x80000000U < 0x100000000) { + *(undefined1 *)(param_1 + 0xc) = 4; + *(int *)(param_1 + 0x70) = *(int *)(param_1 + 0x70) + 1; + *(int *)((longlong)*(int *)(param_1 + 0x70) + 0xc + param_1) = (int)param_2; + *(int *)(param_1 + 0x70) = *(int *)(param_1 + 0x70) + 4; + return; + } + *(undefined1 *)(param_1 + 0xc) = 8; + *(int *)(param_1 + 0x70) = *(int *)(param_1 + 0x70) + 1; + *(longlong *)((longlong)*(int *)(param_1 + 0x70) + 0xc + param_1) = param_2; + *(int *)(param_1 + 0x70) = *(int *)(param_1 + 0x70) + 8; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400988f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400988f0.c new file mode 100644 index 00000000..bdd232bc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400988f0.c @@ -0,0 +1,55 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400988f0 FUN_1400988f0 + * Pseudocode, not original source. */ + +ulonglong FUN_1400988f0(undefined8 *param_1,char *param_2,int param_3) + +{ + char cVar1; + short sVar2; + int iVar3; + undefined8 uVar4; + uint uVar5; + ulonglong in_RAX; + + *(undefined4 *)(param_1 + 0x10) = 0; + *param_1 = param_2; + *(int *)(param_1 + 1) = param_3; + if (0 < param_3) { + uVar5 = (uint)*param_2; + in_RAX = (ulonglong)uVar5; + *(undefined4 *)(param_1 + 0x10) = 1; + if (uVar5 == 1) { + if (1 < param_3) { + cVar1 = param_2[1]; + *(undefined4 *)(param_1 + 0x10) = 2; + param_1[0xf] = (longlong)cVar1; + return CONCAT71(cVar1 >> 7,1); + } + } + else if (uVar5 == 2) { + if (2 < param_3) { + sVar2 = *(short *)(param_2 + 1); + *(undefined4 *)(param_1 + 0x10) = 3; + param_1[0xf] = (longlong)sVar2; + return CONCAT71((int7)(char)((ushort)sVar2 >> 8),1); + } + } + else if (uVar5 == 4) { + if (4 < param_3) { + iVar3 = *(int *)(param_2 + 1); + *(undefined4 *)(param_1 + 0x10) = 5; + param_1[0xf] = (longlong)iVar3; + return CONCAT71((int7)(int3)((uint)iVar3 >> 8),1); + } + } + else if ((uVar5 == 8) && (8 < param_3)) { + uVar4 = *(undefined8 *)(param_2 + 1); + *(undefined4 *)(param_1 + 0x10) = 9; + param_1[0xf] = uVar4; + return CONCAT71((int7)((ulonglong)uVar4 >> 8),1); + } + } + return in_RAX & 0xffffffffffffff00; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400989d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400989d0.c new file mode 100644 index 00000000..8c86e88e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400989d0.c @@ -0,0 +1,41 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400989d0 FUN_1400989d0 + * Pseudocode, not original source. */ + +ulonglong FUN_1400989d0(undefined8 param_1,undefined4 *param_2,longlong param_3,undefined4 param_4) + +{ + uint uVar1; + ulonglong uVar2; + longlong local_68; + undefined4 local_60; + undefined8 local_58; + undefined4 local_50; + undefined4 local_4c; + undefined1 *local_38; + undefined1 *local_30; + undefined8 local_28; + + local_50 = *param_2; + local_38 = &LAB_1400989b0; + local_30 = &LAB_1400989c0; + local_28 = 0; + local_68 = param_3; + local_60 = param_4; + local_58 = param_1; + uVar2 = FUN_1400bca60((longlong)&local_68,0xffffffff,"1.2.5",0x58); + if ((int)uVar2 == 0) { + uVar1 = FUN_1400bbeb0(&local_68,4); + if (uVar1 != 1) { + FUN_1400ba700((longlong)&local_68); + if (uVar1 == 0) { + uVar1 = 0xfffffffb; + } + return (ulonglong)uVar1; + } + *param_2 = local_4c; + uVar2 = FUN_1400ba700((longlong)&local_68); + } + return uVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140098a90.c b/decomp/AgentManager_Release_x64/full/functions/0x140098a90.c new file mode 100644 index 00000000..b8312f0e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140098a90.c @@ -0,0 +1,40 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140098a90 FUN_140098a90 + * Pseudocode, not original source. */ + +ulonglong FUN_140098a90(undefined8 param_1,undefined4 *param_2,longlong param_3,int param_4) + +{ + int iVar1; + ulonglong uVar2; + longlong local_68; + int local_60; + undefined8 local_58; + undefined4 local_50; + undefined4 local_4c; + undefined1 *local_38; + undefined1 *local_30; + + local_50 = *param_2; + local_38 = &LAB_1400989b0; + local_30 = &LAB_1400989c0; + local_68 = param_3; + local_60 = param_4; + local_58 = param_1; + uVar2 = FUN_140098da0((longlong)&local_68,"1.2.5",0x58); + if ((int)uVar2 == 0) { + uVar2 = FUN_140099240(&local_68,4); + iVar1 = (int)uVar2; + if (iVar1 != 1) { + FUN_140098eb0((longlong)&local_68); + if ((iVar1 != 2) && ((iVar1 != -5 || (local_60 != 0)))) { + return uVar2 & 0xffffffff; + } + return 0xfffffffd; + } + *param_2 = local_4c; + uVar2 = FUN_140098eb0((longlong)&local_68); + } + return uVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140098b60.c b/decomp/AgentManager_Release_x64/full/functions/0x140098b60.c new file mode 100644 index 00000000..1a7612ba --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140098b60.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140098b60 FUN_140098b60 + * Pseudocode, not original source. */ + +int FUN_140098b60(uint param_1) + +{ + return (param_1 >> 0xc) + 0xd + (param_1 >> 0xe) + param_1 + (param_1 >> 0x19); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140098b80.c b/decomp/AgentManager_Release_x64/full/functions/0x140098b80.c new file mode 100644 index 00000000..6362480f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140098b80.c @@ -0,0 +1,34 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140098b80 FUN_140098b80 + * Pseudocode, not original source. */ + +undefined8 FUN_140098b80(longlong param_1) + +{ + undefined8 *puVar1; + undefined8 *puVar2; + + if ((param_1 != 0) && (puVar2 = *(undefined8 **)(param_1 + 0x28), puVar2 != (undefined8 *)0x0)) { + *(undefined4 *)((longlong)puVar2 + 0x1c) = 0; + *(undefined4 *)(param_1 + 0x1c) = 0; + *(undefined4 *)(param_1 + 0xc) = 0; + *(undefined8 *)(param_1 + 0x20) = 0; + *(undefined4 *)(param_1 + 0x4c) = 1; + *puVar2 = 0; + *(undefined4 *)((longlong)puVar2 + 0xc) = 0; + puVar2[4] = 0; + *(undefined8 *)((longlong)puVar2 + 0x2c) = 0; + *(undefined4 *)((longlong)puVar2 + 0x34) = 0; + puVar2[8] = 0; + puVar1 = puVar2 + 0xa9; + puVar2[0x10] = puVar1; + puVar2[0xc] = puVar1; + puVar2[0xb] = puVar1; + *(undefined4 *)((longlong)puVar2 + 0x14) = 0x8000; + *(undefined4 *)(puVar2 + 0x37b) = 1; + *(undefined4 *)((longlong)puVar2 + 0x1bdc) = 0xffffffff; + return 0; + } + return 0xfffffffe; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140098c00.c b/decomp/AgentManager_Release_x64/full/functions/0x140098c00.c new file mode 100644 index 00000000..e05cf46b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140098c00.c @@ -0,0 +1,39 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140098c00 FUN_140098c00 + * Pseudocode, not original source. */ + +undefined8 FUN_140098c00(longlong param_1,uint param_2) + +{ + longlong lVar1; + undefined8 uVar2; + int iVar3; + + if ((param_1 != 0) && (lVar1 = *(longlong *)(param_1 + 0x28), lVar1 != 0)) { + if ((int)param_2 < 0) { + iVar3 = 0; + param_2 = -param_2; + } + else { + iVar3 = ((int)param_2 >> 4) + 1; + if ((int)param_2 < 0x30) { + param_2 = param_2 & 0xf; + } + } + if ((param_2 == 0) || ((7 < (int)param_2 && ((int)param_2 < 0x10)))) { + if ((*(longlong *)(lVar1 + 0x38) != 0) && (*(uint *)(lVar1 + 0x28) != param_2)) { + (**(code **)(param_1 + 0x38))(*(undefined8 *)(param_1 + 0x40)); + *(undefined8 *)(lVar1 + 0x38) = 0; + } + *(int *)(lVar1 + 8) = iVar3; + *(uint *)(lVar1 + 0x28) = param_2; + uVar2 = FUN_140098b80(param_1); + } + else { + uVar2 = 0xfffffffe; + } + return uVar2; + } + return 0xfffffffe; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140098cb0.c b/decomp/AgentManager_Release_x64/full/functions/0x140098cb0.c new file mode 100644 index 00000000..8ee4f76d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140098cb0.c @@ -0,0 +1,45 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140098cb0 FUN_140098cb0 + * Pseudocode, not original source. */ + +ulonglong FUN_140098cb0(longlong param_1,uint param_2,char *param_3,int param_4) + +{ + code *pcVar1; + longlong lVar2; + ulonglong uVar3; + ulonglong uVar4; + + if (((param_3 != (char *)0x0) && (*param_3 == '1')) && (param_4 == 0x58)) { + if (param_1 != 0) { + *(undefined8 *)(param_1 + 0x20) = 0; + if (*(longlong *)(param_1 + 0x30) == 0) { + *(undefined8 *)(param_1 + 0x40) = 0; + *(code **)(param_1 + 0x30) = FUN_1400bcaa0; + } + pcVar1 = *(code **)(param_1 + 0x38); + if (pcVar1 == (code *)0x0) { + pcVar1 = FUN_1400bcab0; + } + *(code **)(param_1 + 0x38) = pcVar1; + lVar2 = (**(code **)(param_1 + 0x30))(*(undefined8 *)(param_1 + 0x40),1,0x1be8); + if (lVar2 == 0) { + uVar3 = 0xfffffffc; + } + else { + *(longlong *)(param_1 + 0x28) = lVar2; + *(undefined8 *)(lVar2 + 0x38) = 0; + uVar4 = FUN_140098c00(param_1,param_2); + uVar3 = uVar4 & 0xffffffff; + if ((int)uVar4 != 0) { + (**(code **)(param_1 + 0x38))(*(undefined8 *)(param_1 + 0x40),lVar2); + *(undefined8 *)(param_1 + 0x28) = 0; + } + } + return uVar3; + } + return 0xfffffffe; + } + return 0xfffffffa; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140098da0.c b/decomp/AgentManager_Release_x64/full/functions/0x140098da0.c new file mode 100644 index 00000000..cf7115aa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140098da0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140098da0 FUN_140098da0 + * Pseudocode, not original source. */ + +void FUN_140098da0(longlong param_1,char *param_2,int param_3) + +{ + FUN_140098cb0(param_1,0xf,param_2,param_3); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140098db0.c b/decomp/AgentManager_Release_x64/full/functions/0x140098db0.c new file mode 100644 index 00000000..9449f0d9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140098db0.c @@ -0,0 +1,66 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140098db0 FUN_140098db0 + * Pseudocode, not original source. */ + +undefined8 FUN_140098db0(longlong param_1,int param_2) + +{ + longlong lVar1; + int iVar2; + longlong lVar3; + uint uVar4; + uint uVar5; + + lVar1 = *(longlong *)(param_1 + 0x28); + if (*(longlong *)(lVar1 + 0x38) == 0) { + lVar3 = (**(code **)(param_1 + 0x30)) + (*(undefined8 *)(param_1 + 0x40), + 1 << ((byte)*(undefined4 *)(lVar1 + 0x28) & 0x1f),1); + *(longlong *)(lVar1 + 0x38) = lVar3; + if (lVar3 == 0) { + return 1; + } + } + if (*(int *)(lVar1 + 0x2c) == 0) { + *(undefined8 *)(lVar1 + 0x30) = 0; + *(int *)(lVar1 + 0x2c) = 1 << ((byte)*(undefined4 *)(lVar1 + 0x28) & 0x1f); + } + uVar4 = param_2 - *(int *)(param_1 + 0x18); + uVar5 = *(uint *)(lVar1 + 0x2c); + if (uVar4 < uVar5) { + uVar5 = uVar5 - *(int *)(lVar1 + 0x34); + if (uVar4 < uVar5) { + uVar5 = uVar4; + } + memcpy((void *)((ulonglong)*(uint *)(lVar1 + 0x34) + *(longlong *)(lVar1 + 0x38)), + (void *)(*(longlong *)(param_1 + 0x10) - (ulonglong)uVar4),(ulonglong)uVar5); + uVar4 = uVar4 - uVar5; + if (uVar4 == 0) { + *(int *)(lVar1 + 0x34) = *(int *)(lVar1 + 0x34) + uVar5; + uVar4 = *(uint *)(lVar1 + 0x34); + if (*(uint *)(lVar1 + 0x34) == *(uint *)(lVar1 + 0x2c)) { + uVar4 = 0; + } + *(uint *)(lVar1 + 0x34) = uVar4; + if (*(uint *)(lVar1 + 0x2c) <= *(uint *)(lVar1 + 0x30)) { + return 0; + } + iVar2 = *(uint *)(lVar1 + 0x30) + uVar5; + } + else { + memcpy(*(void **)(lVar1 + 0x38),(void *)(*(longlong *)(param_1 + 0x10) - (ulonglong)uVar4), + (ulonglong)uVar4); + iVar2 = *(int *)(lVar1 + 0x2c); + *(uint *)(lVar1 + 0x34) = uVar4; + } + } + else { + memcpy(*(void **)(lVar1 + 0x38),(void *)(*(longlong *)(param_1 + 0x10) - (ulonglong)uVar5), + (ulonglong)uVar5); + iVar2 = *(int *)(lVar1 + 0x2c); + *(undefined4 *)(lVar1 + 0x34) = 0; + } + *(int *)(lVar1 + 0x30) = iVar2; + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140098eb0.c b/decomp/AgentManager_Release_x64/full/functions/0x140098eb0.c new file mode 100644 index 00000000..658c9d3b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140098eb0.c @@ -0,0 +1,19 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140098eb0 FUN_140098eb0 + * Pseudocode, not original source. */ + +undefined8 FUN_140098eb0(longlong param_1) + +{ + if (((param_1 != 0) && (*(longlong *)(param_1 + 0x28) != 0)) && + (*(code **)(param_1 + 0x38) != (code *)0x0)) { + if (*(longlong *)(*(longlong *)(param_1 + 0x28) + 0x38) != 0) { + (**(code **)(param_1 + 0x38))(*(undefined8 *)(param_1 + 0x40)); + } + (**(code **)(param_1 + 0x38))(*(undefined8 *)(param_1 + 0x40),*(undefined8 *)(param_1 + 0x28)); + *(undefined8 *)(param_1 + 0x28) = 0; + return 0; + } + return 0xfffffffe; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140098f10.c b/decomp/AgentManager_Release_x64/full/functions/0x140098f10.c new file mode 100644 index 00000000..935a5a15 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140098f10.c @@ -0,0 +1,88 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140098f10 FUN_140098f10 + * Pseudocode, not original source. */ + +uint FUN_140098f10(uint param_1,uint *param_2,uint param_3) + +{ + uint uVar1; + ulonglong uVar2; + ulonglong uVar3; + uint uVar4; + uint *puVar5; + + uVar4 = ~param_1; + for (; (uVar2 = (ulonglong)param_3, param_3 != 0 && (((ulonglong)param_2 & 3) != 0)); + param_2 = (uint *)((longlong)param_2 + 1)) { + uVar4 = *(uint *)(&DAT_14011ba30 + (ulonglong)(byte)((byte)*param_2 ^ (byte)uVar4) * 4) ^ + uVar4 >> 8; + param_3 = param_3 - 1; + } + if (0x1f < param_3) { + uVar3 = (ulonglong)(param_3 >> 5); + puVar5 = param_2; + do { + uVar4 = uVar4 ^ *puVar5; + uVar4 = *(uint *)(&DAT_14011be30 + (ulonglong)(byte)(uVar4 >> 0x10) * 4) ^ + *(uint *)(&DAT_14011c230 + (ulonglong)(byte)(uVar4 >> 8) * 4) ^ + *(uint *)(&DAT_14011ba30 + (ulonglong)(uVar4 >> 0x18) * 4) ^ + *(uint *)(&DAT_14011c630 + (ulonglong)(uVar4 & 0xff) * 4) ^ puVar5[1]; + uVar4 = *(uint *)(&DAT_14011be30 + (ulonglong)(byte)(uVar4 >> 0x10) * 4) ^ + *(uint *)(&DAT_14011c230 + (ulonglong)(byte)(uVar4 >> 8) * 4) ^ + *(uint *)(&DAT_14011ba30 + (ulonglong)(uVar4 >> 0x18) * 4) ^ + *(uint *)(&DAT_14011c630 + (ulonglong)(uVar4 & 0xff) * 4) ^ puVar5[2]; + uVar4 = *(uint *)(&DAT_14011be30 + (ulonglong)(byte)(uVar4 >> 0x10) * 4) ^ + *(uint *)(&DAT_14011c230 + (ulonglong)(byte)(uVar4 >> 8) * 4) ^ + *(uint *)(&DAT_14011ba30 + (ulonglong)(uVar4 >> 0x18) * 4) ^ + *(uint *)(&DAT_14011c630 + (ulonglong)(uVar4 & 0xff) * 4) ^ puVar5[3]; + uVar4 = *(uint *)(&DAT_14011be30 + (ulonglong)(byte)(uVar4 >> 0x10) * 4) ^ + *(uint *)(&DAT_14011c230 + (ulonglong)(byte)(uVar4 >> 8) * 4) ^ + *(uint *)(&DAT_14011ba30 + (ulonglong)(uVar4 >> 0x18) * 4) ^ + *(uint *)(&DAT_14011c630 + (ulonglong)(uVar4 & 0xff) * 4) ^ puVar5[4]; + uVar4 = *(uint *)(&DAT_14011be30 + (ulonglong)(byte)(uVar4 >> 0x10) * 4) ^ + *(uint *)(&DAT_14011c230 + (ulonglong)(byte)(uVar4 >> 8) * 4) ^ + *(uint *)(&DAT_14011ba30 + (ulonglong)(uVar4 >> 0x18) * 4) ^ + *(uint *)(&DAT_14011c630 + (ulonglong)(uVar4 & 0xff) * 4) ^ puVar5[5]; + param_2 = puVar5 + 8; + uVar2 = (ulonglong)((int)uVar2 - 0x20); + uVar4 = *(uint *)(&DAT_14011be30 + (ulonglong)(byte)(uVar4 >> 0x10) * 4) ^ + *(uint *)(&DAT_14011c230 + (ulonglong)(byte)(uVar4 >> 8) * 4) ^ + *(uint *)(&DAT_14011ba30 + (ulonglong)(uVar4 >> 0x18) * 4) ^ + *(uint *)(&DAT_14011c630 + (ulonglong)(uVar4 & 0xff) * 4) ^ puVar5[6]; + uVar4 = *(uint *)(&DAT_14011be30 + (ulonglong)(byte)(uVar4 >> 0x10) * 4) ^ + *(uint *)(&DAT_14011c230 + (ulonglong)(byte)(uVar4 >> 8) * 4) ^ + *(uint *)(&DAT_14011ba30 + (ulonglong)(uVar4 >> 0x18) * 4) ^ + *(uint *)(&DAT_14011c630 + (ulonglong)(uVar4 & 0xff) * 4) ^ puVar5[7]; + uVar4 = *(uint *)(&DAT_14011be30 + (ulonglong)(byte)(uVar4 >> 0x10) * 4) ^ + *(uint *)(&DAT_14011c230 + (ulonglong)(byte)(uVar4 >> 8) * 4) ^ + *(uint *)(&DAT_14011ba30 + (ulonglong)(uVar4 >> 0x18) * 4) ^ + *(uint *)(&DAT_14011c630 + (ulonglong)(uVar4 & 0xff) * 4); + uVar3 = uVar3 - 1; + puVar5 = param_2; + } while (uVar3 != 0); + } + if (3 < (uint)uVar2) { + uVar3 = uVar2 >> 2; + do { + uVar4 = uVar4 ^ *param_2; + param_2 = param_2 + 1; + uVar2 = (ulonglong)((int)uVar2 - 4); + uVar4 = *(uint *)(&DAT_14011be30 + (ulonglong)(byte)(uVar4 >> 0x10) * 4) ^ + *(uint *)(&DAT_14011c230 + (ulonglong)(byte)(uVar4 >> 8) * 4) ^ + *(uint *)(&DAT_14011ba30 + (ulonglong)(uVar4 >> 0x18) * 4) ^ + *(uint *)(&DAT_14011c630 + (ulonglong)(uVar4 & 0xff) * 4); + uVar3 = uVar3 - 1; + } while (uVar3 != 0); + } + uVar1 = (uint)uVar2; + while (uVar1 != 0) { + uVar1 = *param_2; + param_2 = (uint *)((longlong)param_2 + 1); + uVar4 = *(uint *)(&DAT_14011ba30 + (ulonglong)(byte)((byte)uVar1 ^ (byte)uVar4) * 4) ^ + uVar4 >> 8; + uVar1 = (int)uVar2 - 1; + uVar2 = (ulonglong)uVar1; + } + return ~uVar4; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140099230.c b/decomp/AgentManager_Release_x64/full/functions/0x140099230.c new file mode 100644 index 00000000..28e8bf3b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140099230.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140099230 FUN_140099230 + * Pseudocode, not original source. */ + +uint FUN_140099230(uint param_1,uint *param_2,uint param_3) + +{ + uint uVar1; + + if (param_2 == (uint *)0x0) { + return 0; + } + uVar1 = FUN_140098f10(param_1,param_2,param_3); + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140099240.c b/decomp/AgentManager_Release_x64/full/functions/0x140099240.c new file mode 100644 index 00000000..d01ff718 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140099240.c @@ -0,0 +1,1208 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140099240 FUN_140099240 + * Pseudocode, not original source. */ + +ulonglong FUN_140099240(longlong *param_1,int param_2) + +{ + uint *puVar1; + uint uVar2; + char cVar3; + int iVar4; + uint uVar5; + uint uVar6; + undefined8 uVar7; + byte bVar8; + ushort uVar9; + uint uVar10; + uint uVar11; + int iVar12; + uint uVar13; + longlong lVar14; + uint *puVar15; + uint uVar16; + uint uVar17; + uint *puVar18; + ulonglong uVar19; + undefined1 *puVar20; + undefined1 *puVar21; + uint uVar22; + ulonglong uVar23; + uint local_res18; + uint local_res20; + undefined2 local_68; + undefined1 local_66; + undefined1 local_65; + undefined4 local_64; + uint local_60; + uint local_5c; + undefined1 *local_58; + + if ((((param_1 == (longlong *)0x0) || (puVar1 = (uint *)param_1[5], puVar1 == (uint *)0x0)) || + (param_1[2] == 0)) || ((*param_1 == 0 && ((int)param_1[1] != 0)))) { + return 0xfffffffe; + } + uVar17 = *puVar1; + uVar5 = puVar1[0x11]; + uVar6 = puVar1[0x10]; + if (uVar17 == 0xb) { + uVar17 = 0xc; + } + *puVar1 = uVar17; + uVar10 = *(uint *)(param_1 + 3); + puVar20 = (undefined1 *)param_1[2]; + uVar16 = *(uint *)(param_1 + 1); + puVar15 = (uint *)*param_1; + local_res18 = 0; + local_res20 = uVar10; + local_60 = uVar10; + local_58 = puVar20; + local_5c = uVar16; + do { + if (0x1e < uVar17) { + return 0xfffffffe; + } + uVar23 = 0; + uVar13 = 0; + uVar11 = local_64; + switch(uVar17) { + case 0: + if (puVar1[2] == 0) { + *puVar1 = 0xc; + } + else { + for (; uVar5 < 0x10; uVar5 = uVar5 + 8) { + uVar2 = 0; + if (uVar16 == 0) goto LAB_140099ada; + uVar17 = *puVar15; + uVar16 = uVar16 - 1; + puVar15 = (uint *)((longlong)puVar15 + 1); + uVar6 = uVar6 + ((uint)(byte)uVar17 << ((byte)uVar5 & 0x1f)); + } + if (((puVar1[2] & 2) == 0) || (uVar6 != 0x8b1f)) { + puVar1[4] = 0; + if (*(longlong *)(puVar1 + 8) != 0) { + *(undefined4 *)(*(longlong *)(puVar1 + 8) + 0x40) = 0xffffffff; + } + if (((puVar1[2] & 1) == 0) || + (uVar17 = (uVar6 & 0xff) * 0x100 + (uVar6 >> 8), uVar17 != (uVar17 / 0x1f) * 0x1f)) { + param_1[4] = (longlong)"incorrect header check"; + *puVar1 = 0x1d; + } + else { + if (((byte)uVar6 & 0xf) != 8) goto LAB_1400993df; + uVar5 = uVar5 - 4; + uVar17 = (uVar6 >> 4 & 0xf) + 8; + if (puVar1[10] == 0) { + puVar1[10] = uVar17; + } + else if (puVar1[10] < uVar17) { + param_1[4] = (longlong)"invalid window size"; + *puVar1 = 0x1d; + uVar6 = uVar6 >> 4; + break; + } + puVar1[5] = 1 << (sbyte)uVar17; + uVar17 = FUN_1400ba370(0,(byte *)0x0,0); + puVar1[6] = uVar17; + *(uint *)((longlong)param_1 + 0x4c) = uVar17; + uVar5 = 0; + *puVar1 = ~(uVar6 >> 0xc) & 2 | 9; + uVar6 = 0; + puVar20 = local_58; + uVar10 = local_res20; + } + } + else { + uVar17 = FUN_140099230(0,(uint *)0x0,0); + puVar1[6] = uVar17; + local_68 = 0x8b1f; + uVar17 = FUN_140098f10(uVar17,(uint *)&local_68,2); + uVar6 = 0; + uVar5 = 0; + puVar1[6] = uVar17; + *puVar1 = 1; + puVar20 = local_58; + uVar10 = local_res20; + } + } + break; + case 1: + for (; uVar5 < 0x10; uVar5 = uVar5 + 8) { + uVar2 = 0; + if (uVar16 == 0) goto LAB_140099ada; + uVar17 = *puVar15; + uVar16 = uVar16 - 1; + puVar15 = (uint *)((longlong)puVar15 + 1); + uVar6 = uVar6 + ((uint)(byte)uVar17 << ((byte)uVar5 & 0x1f)); + } + puVar1[4] = uVar6; + if ((char)uVar6 == '\b') { + if ((uVar6 & 0xe000) == 0) { + if (*(uint **)(puVar1 + 8) != (uint *)0x0) { + **(uint **)(puVar1 + 8) = uVar6 >> 8 & 1; + } + if ((puVar1[4] & 0x200) != 0) { + local_68 = (undefined2)uVar6; + uVar17 = FUN_140098f10(puVar1[6],(uint *)&local_68,2); + puVar1[6] = uVar17; + } + *puVar1 = 2; + uVar5 = uVar13; + uVar6 = uVar13; + do { + uVar2 = 0; + uVar11 = local_64; + if (uVar16 == 0) goto LAB_140099ada; + uVar10 = *puVar15; + uVar17 = uVar5 + 8; + uVar16 = uVar16 - 1; + puVar15 = (uint *)((longlong)puVar15 + 1); + uVar6 = uVar6 + ((uint)(byte)uVar10 << ((byte)uVar5 & 0x1f)); +joined_r0x000140099526: + uVar5 = uVar17; + } while (uVar17 < 0x20); + if (*(longlong *)(puVar1 + 8) != 0) { + *(uint *)(*(longlong *)(puVar1 + 8) + 4) = uVar6; + } + if ((puVar1[4] & 0x200) != 0) { + local_68 = (undefined2)uVar6; + local_65 = (undefined1)(uVar6 >> 0x18); + local_66 = (undefined1)(uVar6 >> 0x10); + uVar17 = FUN_140098f10(puVar1[6],(uint *)&local_68,4); + puVar1[6] = uVar17; + } + *puVar1 = 3; + uVar5 = uVar13; + uVar6 = uVar13; + do { + uVar2 = 0; + uVar11 = local_64; + if (uVar16 == 0) goto LAB_140099ada; + uVar10 = *puVar15; + uVar17 = uVar5 + 8; + uVar16 = uVar16 - 1; + puVar15 = (uint *)((longlong)puVar15 + 1); + uVar6 = uVar6 + ((uint)(byte)uVar10 << ((byte)uVar5 & 0x1f)); +joined_r0x0001400995a7: + uVar5 = uVar17; + } while (uVar17 < 0x10); + if (*(longlong *)(puVar1 + 8) != 0) { + *(uint *)(*(longlong *)(puVar1 + 8) + 8) = uVar6 & 0xff; + *(uint *)(*(longlong *)(puVar1 + 8) + 0xc) = uVar6 >> 8; + } + if ((puVar1[4] & 0x200) != 0) { + local_68 = (undefined2)uVar6; + uVar17 = FUN_140098f10(puVar1[6],(uint *)&local_68,2); + puVar1[6] = uVar17; + } + *puVar1 = 4; + uVar5 = uVar13; + uVar6 = uVar13; + goto switchD_140099301_caseD_4; + } + param_1[4] = (longlong)"unknown header flags set"; + *puVar1 = 0x1d; + } + else { +LAB_1400993df: + param_1[4] = (longlong)"unknown compression method"; + *puVar1 = 0x1d; + } + break; + case 2: + uVar17 = uVar5; + goto joined_r0x000140099526; + case 3: + uVar17 = uVar5; + goto joined_r0x0001400995a7; + case 4: +switchD_140099301_caseD_4: + if ((puVar1[4] & 0x400) == 0) { + uVar17 = uVar6; + if (*(longlong *)(puVar1 + 8) != 0) { + *(undefined8 *)(*(longlong *)(puVar1 + 8) + 0x10) = 0; + } + } + else { + for (; uVar5 < 0x10; uVar5 = uVar5 + 8) { + uVar2 = 0; + uVar11 = local_64; + if (uVar16 == 0) goto LAB_140099ada; + uVar17 = *puVar15; + uVar16 = uVar16 - 1; + puVar15 = (uint *)((longlong)puVar15 + 1); + uVar6 = uVar6 + ((uint)(byte)uVar17 << ((byte)uVar5 & 0x1f)); + } + puVar1[0x12] = uVar6; + if (*(longlong *)(puVar1 + 8) != 0) { + *(uint *)(*(longlong *)(puVar1 + 8) + 0x18) = uVar6; + } + uVar5 = uVar13; + uVar17 = uVar13; + if ((puVar1[4] & 0x200) != 0) { + local_68 = (undefined2)uVar6; + uVar6 = FUN_140098f10(puVar1[6],(uint *)&local_68,2); + puVar1[6] = uVar6; + } + } + uVar6 = uVar17; + *puVar1 = 5; + case 5: + if ((puVar1[4] & 0x400) == 0) { +LAB_140099743: + puVar1[0x12] = 0; + *puVar1 = 6; +switchD_140099301_caseD_6: + if ((puVar1[4] & 0x800) == 0) { + if (*(longlong *)(puVar1 + 8) != 0) { + *(undefined8 *)(*(longlong *)(puVar1 + 8) + 0x20) = 0; + } +LAB_1400997ee: + puVar1[0x12] = 0; + *puVar1 = 7; +switchD_140099301_caseD_7: + uVar23 = 0; + if ((puVar1[4] & 0x1000) == 0) { + if (*(longlong *)(puVar1 + 8) != 0) { + *(undefined8 *)(*(longlong *)(puVar1 + 8) + 0x30) = 0; + } +LAB_14009988e: + *puVar1 = 8; + puVar20 = local_58; + uVar10 = local_res20; +switchD_140099301_caseD_8: + if ((puVar1[4] & 0x200) != 0) { + for (; uVar5 < 0x10; uVar5 = uVar5 + 8) { + uVar2 = 0; + uVar11 = local_64; + if (uVar16 == 0) goto LAB_140099ada; + uVar17 = *puVar15; + uVar16 = uVar16 - 1; + puVar15 = (uint *)((longlong)puVar15 + 1); + uVar6 = uVar6 + ((uint)(byte)uVar17 << ((byte)uVar5 & 0x1f)); + } + if (uVar6 != (ushort)puVar1[6]) { + param_1[4] = (longlong)"header crc mismatch"; + *puVar1 = 0x1d; + break; + } + uVar5 = 0; + uVar6 = uVar5; + } + if (*(longlong *)(puVar1 + 8) != 0) { + *(uint *)(*(longlong *)(puVar1 + 8) + 0x3c) = (int)puVar1[4] >> 9 & 1; + *(undefined4 *)(*(longlong *)(puVar1 + 8) + 0x40) = 1; + } + uVar17 = FUN_140099230(0,(uint *)0x0,0); + puVar1[6] = uVar17; + *(uint *)((longlong)param_1 + 0x4c) = uVar17; +LAB_140099929: + *puVar1 = 0xb; + puVar20 = local_58; + uVar10 = local_res20; + break; + } + puVar18 = puVar15; + uVar2 = uVar16; + uVar11 = local_64; + if (uVar16 != 0) { + do { + lVar14 = *(longlong *)(puVar1 + 8); + cVar3 = (char)*puVar18; + uVar17 = (int)uVar23 + 1; + uVar23 = (ulonglong)uVar17; + if (((lVar14 != 0) && (*(longlong *)(lVar14 + 0x30) != 0)) && + (puVar1[0x12] < *(uint *)(lVar14 + 0x38))) { + *(char *)((ulonglong)puVar1[0x12] + *(longlong *)(lVar14 + 0x30)) = cVar3; + puVar1[0x12] = puVar1[0x12] + 1; + } + } while ((cVar3 != '\0') && (puVar18 = (uint *)((longlong)puVar18 + 1), uVar17 < uVar16) + ); + if ((puVar1[4] & 0x200) != 0) { + if (puVar15 == (uint *)0x0) { + uVar10 = 0; + } + else { + uVar10 = FUN_140098f10(puVar1[6],puVar15,uVar17); + } + puVar1[6] = uVar10; + } + uVar16 = uVar16 - uVar17; + puVar15 = (uint *)((longlong)puVar15 + uVar23); + uVar2 = uVar16; + uVar11 = local_64; + if (cVar3 == '\0') goto LAB_14009988e; + } + } + else { + puVar18 = puVar15; + uVar2 = uVar16; + uVar11 = local_64; + if (uVar16 != 0) { + do { + lVar14 = *(longlong *)(puVar1 + 8); + cVar3 = (char)*puVar18; + uVar17 = (int)uVar23 + 1; + uVar23 = (ulonglong)uVar17; + if (((lVar14 != 0) && (*(longlong *)(lVar14 + 0x20) != 0)) && + (puVar1[0x12] < *(uint *)(lVar14 + 0x28))) { + *(char *)((ulonglong)puVar1[0x12] + *(longlong *)(lVar14 + 0x20)) = cVar3; + puVar1[0x12] = puVar1[0x12] + 1; + } + } while ((cVar3 != '\0') && (puVar18 = (uint *)((longlong)puVar18 + 1), uVar17 < uVar16) + ); + if ((puVar1[4] & 0x200) != 0) { + if (puVar15 == (uint *)0x0) { + uVar10 = 0; + } + else { + uVar10 = FUN_140098f10(puVar1[6],puVar15,uVar17); + } + puVar1[6] = uVar10; + } + uVar16 = uVar16 - uVar17; + puVar15 = (uint *)((longlong)puVar15 + uVar23); + uVar2 = uVar16; + uVar11 = local_64; + if (cVar3 == '\0') goto LAB_1400997ee; + } + } + } + else { + uVar17 = puVar1[0x12]; + uVar10 = uVar17; + if (uVar16 < uVar17) { + uVar10 = uVar16; + } + if (uVar10 != 0) { + lVar14 = *(longlong *)(puVar1 + 8); + if ((lVar14 != 0) && (*(longlong *)(lVar14 + 0x10) != 0)) { + uVar17 = *(int *)(lVar14 + 0x18) - uVar17; + uVar11 = uVar10; + if (*(uint *)(lVar14 + 0x1c) < uVar10 + uVar17) { + uVar11 = *(uint *)(lVar14 + 0x1c) - uVar17; + } + memcpy((void *)((ulonglong)uVar17 + *(longlong *)(lVar14 + 0x10)),puVar15, + (ulonglong)uVar11); + } + if ((puVar1[4] & 0x200) != 0) { + if (puVar15 != (uint *)0x0) { + uVar13 = FUN_140098f10(puVar1[6],puVar15,uVar10); + } + puVar1[6] = uVar13; + } + uVar16 = uVar16 - uVar10; + puVar15 = (uint *)((longlong)puVar15 + (ulonglong)uVar10); + puVar1[0x12] = puVar1[0x12] - uVar10; + } + uVar2 = uVar16; + uVar11 = local_64; + if (puVar1[0x12] == 0) goto LAB_140099743; + } +LAB_140099ada: + local_64 = uVar11; + uVar16 = uVar2; + uVar23 = (ulonglong)local_res18; +LAB_140099ade: + uVar17 = local_60; + param_1[2] = (longlong)local_58; + *param_1 = (longlong)puVar15; + *(uint *)(param_1 + 3) = local_res20; + *(uint *)(param_1 + 1) = uVar16; + puVar1[0x11] = uVar5; + puVar1[0x10] = uVar6; + if (((puVar1[0xb] == 0) && ((0x19 < (int)*puVar1 || (local_60 == *(uint *)(param_1 + 3))))) || + (uVar7 = FUN_140098db0((longlong)param_1,local_60), (int)uVar7 == 0)) { + uVar17 = uVar17 - (int)param_1[3]; + local_5c = local_5c - (int)param_1[1]; + *(int *)((longlong)param_1 + 0x1c) = *(int *)((longlong)param_1 + 0x1c) + uVar17; + *(int *)((longlong)param_1 + 0xc) = *(int *)((longlong)param_1 + 0xc) + local_5c; + puVar1[7] = puVar1[7] + uVar17; + if ((puVar1[2] != 0) && (uVar17 != 0)) { + if (puVar1[4] == 0) { + uVar6 = FUN_1400ba370(puVar1[6],(byte *)(param_1[2] - (ulonglong)uVar17),uVar17); + } + else { + puVar15 = (uint *)(param_1[2] - (ulonglong)uVar17); + if (puVar15 == (uint *)0x0) { + uVar6 = 0; + } + else { + uVar6 = FUN_140098f10(puVar1[6],puVar15,uVar17); + } + } + puVar1[6] = uVar6; + *(uint *)((longlong)param_1 + 0x4c) = uVar6; + } + uVar6 = *puVar1; + if ((uVar6 == 0x13) || (uVar6 == 0xe)) { + iVar12 = 0x100; + } + else { + iVar12 = 0; + } + iVar4 = 0; + if (uVar6 == 0xb) { + iVar4 = 0x80; + } + *(uint *)(param_1 + 9) = iVar4 + iVar12 + (-(uint)(puVar1[1] != 0) & 0x40) + puVar1[0x11]; + if (((local_5c != 0) || (uVar17 != 0)) && (param_2 != 4)) { + return uVar23; + } + if ((int)uVar23 != 0) { + return uVar23; + } + return 0xfffffffb; + } + *puVar1 = 0x1e; +LAB_140099b39: + return 0xfffffffc; + case 6: + goto switchD_140099301_caseD_6; + case 7: + goto switchD_140099301_caseD_7; + case 8: + goto switchD_140099301_caseD_8; + case 9: + for (; uVar5 < 0x20; uVar5 = uVar5 + 8) { + uVar2 = 0; + if (uVar16 == 0) goto LAB_140099ada; + uVar17 = *puVar15; + uVar16 = uVar16 - 1; + puVar15 = (uint *)((longlong)puVar15 + 1); + uVar6 = uVar6 + ((uint)(byte)uVar17 << ((byte)uVar5 & 0x1f)); + } + uVar17 = (uVar6 >> 8 & 0xff00) + ((uVar6 & 0xff00) + uVar6 * 0x10000) * 0x100 + + (uVar6 >> 0x18); + puVar1[6] = uVar17; + *(uint *)((longlong)param_1 + 0x4c) = uVar17; + *puVar1 = 10; + uVar5 = uVar13; + uVar6 = uVar13; + case 10: + if (puVar1[3] == 0) { + param_1[2] = (longlong)puVar20; + *(uint *)(param_1 + 3) = uVar10; + *param_1 = (longlong)puVar15; + *(uint *)(param_1 + 1) = uVar16; + puVar1[0x10] = uVar6; + puVar1[0x11] = uVar5; + return 2; + } + uVar17 = FUN_1400ba370(0,(byte *)0x0,0); + puVar1[6] = uVar17; + *(uint *)((longlong)param_1 + 0x4c) = uVar17; + *puVar1 = 0xb; + puVar20 = local_58; + uVar10 = local_res20; +switchD_140099301_caseD_b: + uVar2 = uVar16; + uVar11 = local_64; + if ((param_2 != 5) && (param_2 != 6)) { +switchD_140099301_caseD_c: + if (puVar1[1] == 0) { + for (; uVar11 = local_64, uVar5 < 3; uVar5 = uVar5 + 8) { + uVar2 = 0; + if (uVar16 == 0) goto LAB_140099ada; + uVar17 = *puVar15; + uVar16 = uVar16 - 1; + puVar15 = (uint *)((longlong)puVar15 + 1); + uVar6 = uVar6 + ((uint)(byte)uVar17 << ((byte)uVar5 & 0x1f)); + } + puVar1[1] = uVar6 & 1; + uVar17 = uVar6 >> 1 & 3; + if (uVar17 == 0) { + *puVar1 = 0xd; + } + else { + if (uVar17 != 1) { + if (uVar17 == 2) { + *puVar1 = 0x10; + uVar5 = uVar5 - 3; + uVar6 = uVar6 >> 3; + } + else { + if (uVar17 != 3) goto LAB_140099b65; + uVar5 = uVar5 - 3; + param_1[4] = (longlong)"invalid block type"; + *puVar1 = 0x1d; + uVar6 = uVar6 >> 3; + } + break; + } + puVar1[0x1a] = 9; + puVar1[0x1b] = 5; + *(undefined **)(puVar1 + 0x16) = &DAT_14011b180; + *puVar1 = 0x13; + *(undefined **)(puVar1 + 0x18) = &DAT_14011b980; + if (param_2 == 6) { + uVar6 = uVar6 >> 3; + uVar5 = uVar5 - 3; + uVar2 = uVar16; + goto LAB_140099ada; + } + } +LAB_140099b65: + uVar5 = uVar5 - 3; + uVar6 = uVar6 >> 3; + } + else { + *puVar1 = 0x1a; + uVar17 = uVar5 & 7; + uVar5 = uVar5 - uVar17; + uVar6 = uVar6 >> (sbyte)uVar17; + } + break; + } + goto LAB_140099ada; + case 0xb: + goto switchD_140099301_caseD_b; + case 0xc: + goto switchD_140099301_caseD_c; + case 0xd: + uVar6 = uVar6 >> (sbyte)(uVar5 & 7); + for (uVar5 = uVar5 - (uVar5 & 7); uVar5 < 0x20; uVar5 = uVar5 + 8) { + uVar2 = 0; + if (uVar16 == 0) goto LAB_140099ada; + uVar17 = *puVar15; + uVar16 = uVar16 - 1; + puVar15 = (uint *)((longlong)puVar15 + 1); + uVar6 = uVar6 + ((uint)(byte)uVar17 << ((byte)uVar5 & 0x1f)); + } + if ((uVar6 & 0xffff) == ~uVar6 >> 0x10) { + puVar1[0x12] = uVar6 & 0xffff; + *puVar1 = 0xe; + uVar5 = uVar13; + uVar6 = uVar13; + uVar2 = uVar16; + if (param_2 == 6) goto LAB_140099ada; + goto switchD_140099301_caseD_e; + } + param_1[4] = (longlong)"invalid stored block lengths"; + *puVar1 = 0x1d; + break; + case 0xe: +switchD_140099301_caseD_e: + *puVar1 = 0xf; + case 0xf: + uVar17 = puVar1[0x12]; + if (uVar17 == 0) { + *puVar1 = 0xb; + break; + } + if (uVar16 < uVar17) { + uVar17 = uVar16; + } + if (uVar10 < uVar17) { + uVar17 = uVar10; + } + uVar23 = (ulonglong)uVar17; + uVar2 = uVar16; + if (uVar17 != 0) { + memcpy(puVar20,puVar15,uVar23); + local_res20 = local_res20 - uVar17; + puVar15 = (uint *)((longlong)puVar15 + uVar23); + local_58 = local_58 + uVar23; + uVar16 = uVar16 - uVar17; + puVar1[0x12] = puVar1[0x12] - uVar17; + puVar20 = local_58; + uVar10 = local_res20; + break; + } + goto LAB_140099ada; + case 0x10: + for (; uVar5 < 0xe; uVar5 = uVar5 + 8) { + uVar2 = 0; + if (uVar16 == 0) goto LAB_140099ada; + uVar17 = *puVar15; + uVar16 = uVar16 - 1; + puVar15 = (uint *)((longlong)puVar15 + 1); + uVar6 = uVar6 + ((uint)(byte)uVar17 << ((byte)uVar5 & 0x1f)); + } + uVar5 = uVar5 - 0xe; + uVar22 = uVar6 >> 10; + uVar17 = (uVar6 & 0x1f) + 0x101; + uVar13 = (uVar6 >> 5 & 0x1f) + 1; + uVar6 = uVar6 >> 0xe; + puVar1[0x1d] = uVar17; + puVar1[0x1e] = uVar13; + puVar1[0x1c] = (uVar22 & 0xf) + 4; + if ((uVar17 < 0x11f) && (uVar13 < 0x1f)) { + puVar1[0x1f] = 0; + *puVar1 = 0x11; + goto switchD_140099301_caseD_11; + } + param_1[4] = (longlong)"too many length or distance symbols"; + *puVar1 = 0x1d; + break; + case 0x11: +switchD_140099301_caseD_11: + if (puVar1[0x1f] < puVar1[0x1c]) { + do { + for (; uVar5 < 3; uVar5 = uVar5 + 8) { + uVar2 = 0; + if (uVar16 == 0) goto LAB_140099ada; + uVar17 = *puVar15; + uVar16 = uVar16 - 1; + puVar15 = (uint *)((longlong)puVar15 + 1); + uVar6 = uVar6 + ((uint)(byte)uVar17 << ((byte)uVar5 & 0x1f)); + } + uVar5 = uVar5 - 3; + uVar9 = (ushort)uVar6; + uVar6 = uVar6 >> 3; + *(ushort *) + ((longlong)puVar1 + + (ulonglong)*(ushort *)(&DAT_14011ba00 + (ulonglong)puVar1[0x1f] * 2) * 2 + 0x88) = + uVar9 & 7; + puVar1[0x1f] = puVar1[0x1f] + 1; + } while (puVar1[0x1f] < puVar1[0x1c]); + } + uVar17 = puVar1[0x1f]; + while (uVar17 < 0x13) { + *(undefined2 *) + ((longlong)puVar1 + + (ulonglong)*(ushort *)(&DAT_14011ba00 + (ulonglong)puVar1[0x1f] * 2) * 2 + 0x88) = 0; + puVar1[0x1f] = puVar1[0x1f] + 1; + uVar17 = puVar1[0x1f]; + } + *(uint **)(puVar1 + 0x20) = puVar1 + 0x152; + *(uint **)(puVar1 + 0x16) = puVar1 + 0x152; + puVar1[0x1a] = 7; + uVar7 = FUN_1400be2a0(0,(ushort *)(puVar1 + 0x22),0x13,(longlong *)(puVar1 + 0x20), + puVar1 + 0x1a,(undefined *)(puVar1 + 0xc2)); + local_res18 = (uint)uVar7; + if (local_res18 == 0) { + puVar1[0x1f] = 0; + *puVar1 = 0x12; + uVar10 = local_res20; + goto switchD_140099301_caseD_12; + } + param_1[4] = (longlong)"invalid code lengths set"; + *puVar1 = 0x1d; + puVar20 = local_58; + uVar10 = local_res20; + break; + case 0x12: +switchD_140099301_caseD_12: + puVar20 = local_58; + if (puVar1[0x1f] < puVar1[0x1e] + puVar1[0x1d]) { + do { + uVar11 = *(uint *)(*(longlong *)(puVar1 + 0x16) + + (ulonglong)((1 << ((byte)puVar1[0x1a] & 0x1f)) - 1U & uVar6) * 4); + uVar17 = uVar5; + local_64 = uVar11; + if (uVar5 < (uVar11 >> 8 & 0xff)) { + do { + uVar5 = uVar17; + uVar2 = 0; + uVar11 = local_64; + if (uVar16 == 0) goto LAB_140099ada; + uVar5 = uVar17 + 8; + uVar16 = uVar16 - 1; + uVar6 = uVar6 + ((uint)(byte)*puVar15 << ((byte)uVar17 & 0x1f)); + puVar15 = (uint *)((longlong)puVar15 + 1); + uVar11 = *(uint *)(*(longlong *)(puVar1 + 0x16) + + (ulonglong)((1 << ((byte)puVar1[0x1a] & 0x1f)) - 1U & uVar6) * 4); + uVar17 = uVar5; + local_64 = uVar11; + } while (uVar5 < (uVar11 >> 8 & 0xff)); + } + uVar9 = (ushort)(uVar11 >> 0x10); + local_64._1_1_ = (byte)(uVar11 >> 8); + local_64 = uVar11; + if (0xf < uVar9) { + if (uVar9 == 0x10) { + for (; uVar5 < local_64._1_1_ + 2; uVar5 = uVar5 + 8) { + uVar2 = 0; + if (uVar16 == 0) goto LAB_140099ada; + uVar17 = *puVar15; + uVar16 = uVar16 - 1; + puVar15 = (uint *)((longlong)puVar15 + 1); + uVar6 = uVar6 + ((uint)(byte)uVar17 << ((byte)uVar5 & 0x1f)); + } + uVar5 = uVar5 - local_64._1_1_; + uVar6 = uVar6 >> (local_64._1_1_ & 0x1f); + if (puVar1[0x1f] != 0) { + iVar12 = (uVar6 & 3) + 3; + uVar5 = uVar5 - 2; + uVar19 = (ulonglong) + *(ushort *)((longlong)puVar1 + (ulonglong)(puVar1[0x1f] - 1) * 2 + 0x88); + uVar6 = uVar6 >> 2; + goto LAB_140099fe0; + } + } + else { + if (uVar9 == 0x11) { + for (; uVar5 < local_64._1_1_ + 3; uVar5 = uVar5 + 8) { + uVar2 = 0; + if (uVar16 == 0) goto LAB_140099ada; + uVar17 = *puVar15; + uVar16 = uVar16 - 1; + puVar15 = (uint *)((longlong)puVar15 + 1); + uVar6 = uVar6 + ((uint)(byte)uVar17 << ((byte)uVar5 & 0x1f)); + } + iVar4 = -3; + uVar6 = uVar6 >> (local_64._1_1_ & 0x1f); + iVar12 = (uVar6 & 7) + 3; + uVar6 = uVar6 >> 3; + } + else { + for (; uVar5 < local_64._1_1_ + 7; uVar5 = uVar5 + 8) { + uVar2 = 0; + if (uVar16 == 0) goto LAB_140099ada; + uVar17 = *puVar15; + uVar16 = uVar16 - 1; + puVar15 = (uint *)((longlong)puVar15 + 1); + uVar6 = uVar6 + ((uint)(byte)uVar17 << ((byte)uVar5 & 0x1f)); + } + iVar4 = -7; + uVar6 = uVar6 >> (local_64._1_1_ & 0x1f); + iVar12 = (uVar6 & 0x7f) + 0xb; + uVar6 = uVar6 >> 7; + } + uVar5 = uVar5 + (iVar4 - (uint)local_64._1_1_); + uVar19 = uVar23; +LAB_140099fe0: + if (iVar12 + puVar1[0x1f] <= puVar1[0x1e] + puVar1[0x1d]) { + for (; iVar12 != 0; iVar12 = iVar12 + -1) { + *(short *)((longlong)puVar1 + (ulonglong)puVar1[0x1f] * 2 + 0x88) = (short)uVar19; + puVar1[0x1f] = puVar1[0x1f] + 1; + } + goto LAB_14009a015; + } + } + param_1[4] = (longlong)"invalid bit length repeat"; + *puVar1 = 0x1d; + goto LAB_140099938; + } + uVar17 = uVar5; + if (uVar5 < (uVar11 >> 8 & 0xff)) { + do { + uVar5 = uVar17; + uVar2 = 0; + if (uVar16 == 0) goto LAB_140099ada; + uVar13 = *puVar15; + uVar5 = uVar17 + 8; + uVar16 = uVar16 - 1; + puVar15 = (uint *)((longlong)puVar15 + 1); + uVar6 = uVar6 + ((uint)(byte)uVar13 << ((byte)uVar17 & 0x1f)); + uVar17 = uVar5; + } while (uVar5 < local_64._1_1_); + } + uVar6 = uVar6 >> (local_64._1_1_ & 0x1f); + uVar5 = uVar5 - local_64._1_1_; + *(ushort *)((longlong)puVar1 + (ulonglong)puVar1[0x1f] * 2 + 0x88) = uVar9; + puVar1[0x1f] = puVar1[0x1f] + 1; +LAB_14009a015: + } while (puVar1[0x1f] < puVar1[0x1e] + puVar1[0x1d]); + } + if (*puVar1 != 0x1d) { + if ((short)puVar1[0xa2] == 0) { + param_1[4] = (longlong)"invalid code -- missing end-of-block"; + *puVar1 = 0x1d; + } + else { + *(uint **)(puVar1 + 0x20) = puVar1 + 0x152; + *(uint **)(puVar1 + 0x16) = puVar1 + 0x152; + puVar1[0x1a] = 9; + uVar7 = FUN_1400be2a0(1,(ushort *)(puVar1 + 0x22),puVar1[0x1d],(longlong *)(puVar1 + 0x20) + ,puVar1 + 0x1a,(undefined *)(puVar1 + 0xc2)); + local_res18 = (uint)uVar7; + if (local_res18 == 0) { + *(undefined8 *)(puVar1 + 0x18) = *(undefined8 *)(puVar1 + 0x20); + puVar1[0x1b] = 6; + uVar23 = FUN_1400be2a0(2,(ushort *) + ((longlong)puVar1 + (ulonglong)puVar1[0x1d] * 2 + 0x88), + puVar1[0x1e],(longlong *)(puVar1 + 0x20),puVar1 + 0x1b, + (undefined *)(puVar1 + 0xc2)); + local_res18 = (uint)uVar23; + uVar23 = uVar23 & 0xffffffff; + puVar20 = local_58; + if (local_res18 == 0) { + *puVar1 = 0x13; + uVar10 = local_res20; + if (param_2 != 6) goto switchD_140099301_caseD_13; + goto LAB_140099ade; + } + param_1[4] = (longlong)"invalid distances set"; + *puVar1 = 0x1d; + uVar10 = local_res20; + } + else { + param_1[4] = (longlong)"invalid literal/lengths set"; + *puVar1 = 0x1d; + puVar20 = local_58; + uVar10 = local_res20; + } + } + } + break; + case 0x13: +switchD_140099301_caseD_13: + *puVar1 = 0x14; + case 0x14: + if ((5 < uVar16) && (0x101 < uVar10)) { + param_1[2] = (longlong)puVar20; + *(uint *)(param_1 + 3) = uVar10; + *param_1 = (longlong)puVar15; + *(uint *)(param_1 + 1) = uVar16; + puVar1[0x10] = uVar6; + puVar1[0x11] = uVar5; + FUN_1400bcac0(param_1,local_60); + local_58 = (undefined1 *)param_1[2]; + local_res20 = *(uint *)(param_1 + 3); + puVar15 = (uint *)*param_1; + uVar16 = *(uint *)(param_1 + 1); + uVar5 = puVar1[0x11]; + puVar20 = local_58; + uVar6 = puVar1[0x10]; + uVar10 = local_res20; + if (*puVar1 == 0xb) { + puVar1[0x6f7] = 0xffffffff; + } + break; + } + puVar1[0x6f7] = 0; + uVar11 = *(uint *)(*(longlong *)(puVar1 + 0x16) + + (ulonglong)((1 << ((byte)puVar1[0x1a] & 0x1f)) - 1U & uVar6) * 4); + uVar17 = uVar5; + if (uVar5 < (uVar11 >> 8 & 0xff)) { + do { + uVar5 = uVar17; + uVar2 = 0; + uVar11 = local_64; + if (uVar16 == 0) goto LAB_140099ada; + uVar5 = uVar17 + 8; + uVar16 = uVar16 - 1; + uVar6 = uVar6 + ((uint)(byte)*puVar15 << ((byte)uVar17 & 0x1f)); + puVar15 = (uint *)((longlong)puVar15 + 1); + uVar11 = *(uint *)(*(longlong *)(puVar1 + 0x16) + + (ulonglong)((1 << ((byte)puVar1[0x1a] & 0x1f)) - 1U & uVar6) * 4); + uVar17 = uVar5; + } while (uVar5 < (uVar11 >> 8 & 0xff)); + } + cVar3 = (char)uVar11; + uVar17 = uVar11; + if ((cVar3 != '\0') && ((uVar11 & 0xf0) == 0)) { + bVar8 = (byte)(uVar11 >> 8); + uVar17 = *(uint *)(*(longlong *)(puVar1 + 0x16) + + (ulonglong) + ((((1 << (cVar3 + bVar8 & 0x1f)) - 1U & uVar6) >> (bVar8 & 0x1f)) + + (uVar11 >> 0x10)) * 4); + if (uVar5 < (uVar17 >> 8 & 0xff) + (uVar11 >> 8 & 0xff)) { + do { + uVar2 = 0; + if (uVar16 == 0) goto LAB_140099ada; + uVar6 = uVar6 + ((uint)(byte)*puVar15 << ((byte)uVar5 & 0x1f)); + uVar5 = uVar5 + 8; + uVar16 = uVar16 - 1; + puVar15 = (uint *)((longlong)puVar15 + 1); + uVar17 = *(uint *)(*(longlong *)(puVar1 + 0x16) + + (ulonglong) + ((((1 << (cVar3 + bVar8 & 0x1f)) - 1U & uVar6) >> (bVar8 & 0x1f)) + + (uVar11 >> 0x10)) * 4); + } while (uVar5 < (uVar17 >> 8 & 0xff) + (uint)bVar8); + } + uVar6 = uVar6 >> (bVar8 & 0x1f); + uVar5 = uVar5 - bVar8; + puVar1[0x6f7] = (uint)bVar8; + local_64 = uVar11; + } + uVar10 = uVar17 >> 8 & 0xff; + puVar1[0x6f7] = puVar1[0x6f7] + uVar10; + uVar6 = uVar6 >> ((byte)(uVar17 >> 8) & 0x1f); + uVar5 = uVar5 - uVar10; + puVar1[0x12] = uVar17 >> 0x10; + puVar20 = local_58; + if ((char)uVar17 == '\0') { + *puVar1 = 0x19; + uVar10 = local_res20; + break; + } + if ((uVar17 & 0x20) != 0) { + puVar1[0x6f7] = 0xffffffff; + goto LAB_140099929; + } + if ((uVar17 & 0x40) != 0) { + param_1[4] = (longlong)"invalid literal/length code"; + *puVar1 = 0x1d; + uVar10 = local_res20; + break; + } + *puVar1 = 0x15; + puVar1[0x14] = uVar17 & 0xf; +switchD_140099301_caseD_15: + uVar17 = puVar1[0x14]; + if (uVar17 != 0) { + uVar10 = uVar5; + if (uVar5 < uVar17) { + do { + uVar2 = 0; + uVar11 = local_64; + if (uVar16 == 0) goto LAB_140099ada; + uVar11 = *puVar15; + uVar10 = uVar5 + 8; + uVar16 = uVar16 - 1; + puVar15 = (uint *)((longlong)puVar15 + 1); + uVar6 = uVar6 + ((uint)(byte)uVar11 << ((byte)uVar5 & 0x1f)); + uVar5 = uVar10; + } while (uVar10 < puVar1[0x14]); + } + uVar5 = uVar10 - uVar17; + uVar10 = (1 << ((byte)uVar17 & 0x1f)) - 1U & uVar6; + uVar6 = uVar6 >> ((byte)uVar17 & 0x1f); + puVar1[0x12] = puVar1[0x12] + uVar10; + puVar1[0x6f7] = puVar1[0x6f7] + uVar17; + } + *puVar1 = 0x16; + puVar1[0x6f8] = puVar1[0x12]; +switchD_140099301_caseD_16: + uVar11 = *(uint *)(*(longlong *)(puVar1 + 0x18) + + (ulonglong)((1 << ((byte)puVar1[0x1b] & 0x1f)) - 1U & uVar6) * 4); + uVar17 = uVar5; + if (uVar5 < (uVar11 >> 8 & 0xff)) { + do { + uVar5 = uVar17; + uVar2 = 0; + uVar11 = local_64; + if (uVar16 == 0) goto LAB_140099ada; + uVar5 = uVar17 + 8; + uVar16 = uVar16 - 1; + uVar6 = uVar6 + ((uint)(byte)*puVar15 << ((byte)uVar17 & 0x1f)); + puVar15 = (uint *)((longlong)puVar15 + 1); + uVar11 = *(uint *)(*(longlong *)(puVar1 + 0x18) + + (ulonglong)((1 << ((byte)puVar1[0x1b] & 0x1f)) - 1U & uVar6) * 4); + uVar17 = uVar5; + } while (uVar5 < (uVar11 >> 8 & 0xff)); + } + uVar17 = uVar11; + if ((uVar11 & 0xf0) == 0) { + bVar8 = (byte)(uVar11 >> 8); + uVar17 = *(uint *)(*(longlong *)(puVar1 + 0x18) + + (ulonglong) + ((((1 << ((char)uVar11 + bVar8 & 0x1f)) - 1U & uVar6) >> (bVar8 & 0x1f)) + + (uVar11 >> 0x10)) * 4); + if (uVar5 < (uVar17 >> 8 & 0xff) + (uVar11 >> 8 & 0xff)) { + do { + uVar2 = 0; + if (uVar16 == 0) goto LAB_140099ada; + uVar6 = uVar6 + ((uint)(byte)*puVar15 << ((byte)uVar5 & 0x1f)); + uVar5 = uVar5 + 8; + uVar16 = uVar16 - 1; + puVar15 = (uint *)((longlong)puVar15 + 1); + uVar17 = *(uint *)(*(longlong *)(puVar1 + 0x18) + + (ulonglong) + ((((1 << ((char)uVar11 + bVar8 & 0x1f)) - 1U & uVar6) >> + (bVar8 & 0x1f)) + (uVar11 >> 0x10)) * 4); + } while (uVar5 < (uVar17 >> 8 & 0xff) + (uint)bVar8); + } + uVar6 = uVar6 >> (bVar8 & 0x1f); + uVar5 = uVar5 - bVar8; + puVar1[0x6f7] = puVar1[0x6f7] + (uint)bVar8; + local_64 = uVar11; + } + uVar10 = uVar17 >> 8 & 0xff; + puVar1[0x6f7] = puVar1[0x6f7] + uVar10; + uVar6 = uVar6 >> ((byte)(uVar17 >> 8) & 0x1f); + uVar5 = uVar5 - uVar10; + puVar20 = local_58; + if ((uVar17 & 0x40) != 0) { + param_1[4] = (longlong)"invalid distance code"; + *puVar1 = 0x1d; + uVar10 = local_res20; + break; + } + *puVar1 = 0x17; + puVar1[0x13] = uVar17 >> 0x10; + puVar1[0x14] = uVar17 & 0xf; + uVar10 = local_res20; +switchD_140099301_caseD_17: + uVar17 = puVar1[0x14]; + if (uVar17 != 0) { + uVar13 = uVar5; + if (uVar5 < uVar17) { + do { + uVar5 = uVar13; + uVar2 = 0; + uVar11 = local_64; + if (uVar16 == 0) goto LAB_140099ada; + uVar11 = *puVar15; + uVar5 = uVar13 + 8; + uVar16 = uVar16 - 1; + puVar15 = (uint *)((longlong)puVar15 + 1); + uVar6 = uVar6 + ((uint)(byte)uVar11 << ((byte)uVar13 & 0x1f)); + uVar13 = uVar5; + } while (uVar5 < puVar1[0x14]); + } + uVar5 = uVar5 - uVar17; + uVar11 = (1 << ((byte)uVar17 & 0x1f)) - 1U & uVar6; + uVar6 = uVar6 >> ((byte)uVar17 & 0x1f); + puVar1[0x13] = puVar1[0x13] + uVar11; + puVar1[0x6f7] = puVar1[0x6f7] + uVar17; + } + *puVar1 = 0x18; +switchD_140099301_caseD_18: + uVar2 = uVar16; + uVar11 = local_64; + if (uVar10 != 0) { + uVar17 = puVar1[0x13]; + if (local_60 - uVar10 < uVar17) { + uVar17 = uVar17 - (local_60 - uVar10); + if ((puVar1[0xc] < uVar17) && (puVar1[0x6f6] != 0)) { + param_1[4] = (longlong)"invalid distance too far back"; + *puVar1 = 0x1d; + break; + } + uVar13 = puVar1[0xd]; + if (uVar13 < uVar17) { + uVar17 = uVar17 - uVar13; + uVar13 = puVar1[0xb] - uVar17; + } + else { + uVar13 = uVar13 - uVar17; + } + uVar11 = puVar1[0x12]; + lVar14 = (ulonglong)uVar13 + *(longlong *)(puVar1 + 0xe); + if (uVar11 < uVar17) goto LAB_14009a635; + } + else { + lVar14 = (longlong)puVar20 - (ulonglong)uVar17; + uVar11 = puVar1[0x12]; +LAB_14009a635: + uVar17 = uVar11; + uVar11 = uVar17; + } + if (uVar10 < uVar17) { + uVar17 = uVar10; + } + local_res20 = uVar10 - uVar17; + puVar1[0x12] = uVar11 - uVar17; + puVar21 = puVar20; + do { + local_58 = puVar21 + 1; + uVar17 = uVar17 - 1; + *puVar21 = puVar21[lVar14 - (longlong)puVar20]; + puVar21 = local_58; + } while (uVar17 != 0); + puVar20 = local_58; + uVar10 = local_res20; + if (puVar1[0x12] == 0) { + *puVar1 = 0x14; + } + break; + } + goto LAB_140099ada; + case 0x15: + goto switchD_140099301_caseD_15; + case 0x16: + goto switchD_140099301_caseD_16; + case 0x17: + goto switchD_140099301_caseD_17; + case 0x18: + goto switchD_140099301_caseD_18; + case 0x19: + uVar2 = uVar16; + if (uVar10 != 0) { + local_58 = puVar20 + 1; + local_res20 = uVar10 - 1; + *puVar20 = (char)puVar1[0x12]; + *puVar1 = 0x14; + puVar20 = local_58; + uVar10 = local_res20; + break; + } + goto LAB_140099ada; + case 0x1a: + uVar17 = uVar5; + uVar22 = uVar6; + if (puVar1[2] != 0) { + for (; uVar17 < 0x20; uVar17 = uVar17 + 8) { + uVar5 = uVar17; + uVar6 = uVar22; + uVar2 = 0; + if (uVar16 == 0) goto LAB_140099ada; + uVar6 = *puVar15; + bVar8 = (byte)uVar17; + uVar16 = uVar16 - 1; + puVar15 = (uint *)((longlong)puVar15 + 1); + uVar22 = uVar22 + ((uint)(byte)uVar6 << (bVar8 & 0x1f)); + } + uVar6 = local_60 - uVar10; + *(int *)((longlong)param_1 + 0x1c) = *(int *)((longlong)param_1 + 0x1c) + uVar6; + puVar1[7] = puVar1[7] + uVar6; + if (uVar6 != 0) { + if (puVar1[4] == 0) { + uVar5 = FUN_1400ba370(puVar1[6],puVar20 + -(ulonglong)uVar6,uVar6); + puVar20 = local_58; + uVar10 = local_res20; + } + else { + uVar5 = uVar13; + if ((uint *)(puVar20 + -(ulonglong)uVar6) != (uint *)0x0) { + uVar5 = FUN_140098f10(puVar1[6],(uint *)(puVar20 + -(ulonglong)uVar6),uVar6); + puVar20 = local_58; + uVar10 = local_res20; + } + } + puVar1[6] = uVar5; + *(uint *)((longlong)param_1 + 0x4c) = uVar5; + } + uVar11 = uVar22; + if (puVar1[4] == 0) { + uVar11 = ((uVar22 & 0xff00) + uVar22 * 0x10000) * 0x100 + (uVar22 >> 8 & 0xff00) + + (uVar22 >> 0x18); + } + uVar5 = uVar13; + uVar6 = uVar13; + local_60 = uVar10; + if (uVar11 != puVar1[6]) { + param_1[4] = (longlong)"incorrect data check"; + *puVar1 = 0x1d; + uVar5 = uVar17; + uVar6 = uVar22; + break; + } + } + *puVar1 = 0x1b; + case 0x1b: + if ((puVar1[2] != 0) && (uVar17 = uVar5, uVar22 = uVar6, puVar1[4] != 0)) { + for (; uVar17 < 0x20; uVar17 = uVar17 + 8) { + uVar5 = uVar17; + uVar6 = uVar22; + uVar2 = 0; + uVar11 = local_64; + if (uVar16 == 0) goto LAB_140099ada; + uVar6 = *puVar15; + bVar8 = (byte)uVar17; + uVar16 = uVar16 - 1; + puVar15 = (uint *)((longlong)puVar15 + 1); + uVar22 = uVar22 + ((uint)(byte)uVar6 << (bVar8 & 0x1f)); + } + uVar5 = uVar13; + uVar6 = uVar13; + if (uVar22 != puVar1[7]) { + param_1[4] = (longlong)"incorrect length check"; + *puVar1 = 0x1d; + uVar5 = uVar17; + uVar6 = uVar22; + break; + } + } + *puVar1 = 0x1c; +switchD_140099301_caseD_1c: + uVar23 = 1; + goto LAB_140099ade; + case 0x1c: + goto switchD_140099301_caseD_1c; + case 0x1d: + uVar23 = 0xfffffffd; + goto LAB_140099ade; + case 0x1e: + goto LAB_140099b39; + } +LAB_140099938: + uVar17 = *puVar1; + } while( true ); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009a980.c b/decomp/AgentManager_Release_x64/full/functions/0x14009a980.c new file mode 100644 index 00000000..b6da1e88 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009a980.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009a980 FUN_14009a980 + * Pseudocode, not original source. */ + +void FUN_14009a980(double *param_1,double param_2) + +{ + double dVar1; + + dVar1 = *param_1 - param_2; + *param_1 = dVar1; + *(bool *)(param_1 + 2) = dVar1 < 0.0; + if (dVar1 < 0.0) { + *param_1 = param_1[1]; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009a9c0.c b/decomp/AgentManager_Release_x64/full/functions/0x14009a9c0.c new file mode 100644 index 00000000..42c7cdfa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009a9c0.c @@ -0,0 +1,19 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009a9c0 FUN_14009a9c0 + * Pseudocode, not original source. */ + +void FUN_14009a9c0(double *param_1,double param_2) + +{ + double dVar1; + + if (param_2 <= 0.0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + dVar1 = param_1[1]; + param_1[1] = param_2; + *param_1 = (param_2 / dVar1) * *param_1; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009a9f0.c b/decomp/AgentManager_Release_x64/full/functions/0x14009a9f0.c new file mode 100644 index 00000000..fb68b9c9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009a9f0.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009a9f0 FUN_14009a9f0 + * Pseudocode, not original source. */ + +void FUN_14009a9f0(double *param_1) + +{ + *(undefined1 *)(param_1 + 2) = 0; + *param_1 = param_1[1] * 0.3; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009aa10.c b/decomp/AgentManager_Release_x64/full/functions/0x14009aa10.c new file mode 100644 index 00000000..69da4039 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009aa10.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009aa10 FUN_14009aa10 + * Pseudocode, not original source. */ + +double * FUN_14009aa10(double *param_1,double param_2) + +{ + param_1[1] = param_2; + *(undefined1 *)(param_1 + 2) = 0; + *param_1 = param_2 * 0.3; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009aa30.c b/decomp/AgentManager_Release_x64/full/functions/0x14009aa30.c new file mode 100644 index 00000000..a3c67159 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009aa30.c @@ -0,0 +1,19 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009aa30 FUN_14009aa30 + * Pseudocode, not original source. */ + +undefined8 * FUN_14009aa30(undefined8 *param_1,undefined8 param_2) + +{ + param_1[1] = Proud::CFastArray::vftable; + param_1[2] = 0; + param_1[3] = 0; + param_1[4] = 0; + param_1[5] = 0; + param_1[6] = 0; + param_1[7] = 0; + *param_1 = param_2; + *(undefined4 *)((longlong)param_1 + 0x2c) = 1; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009aa70.c b/decomp/AgentManager_Release_x64/full/functions/0x14009aa70.c new file mode 100644 index 00000000..102e21db --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009aa70.c @@ -0,0 +1,20 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009aa70 FUN_14009aa70 + * Pseudocode, not original source. */ + +void FUN_14009aa70(longlong param_1) + +{ + *(undefined ***)(param_1 + 8) = Proud::CFastArray::vftable; + if (*(LPVOID *)(param_1 + 0x18) != (LPVOID)0x0) { + if (*(longlong **)(param_1 + 0x10) != (longlong *)0x0) { + /* WARNING: Could not recover jumptable at 0x00014009aa98. Too many branches */ + /* WARNING: Treating indirect jump as call */ + (**(code **)(**(longlong **)(param_1 + 0x10) + 0x18))(); + return; + } + FUN_14003e8b0(*(LPVOID *)(param_1 + 0x18)); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009aab0.c b/decomp/AgentManager_Release_x64/full/functions/0x14009aab0.c new file mode 100644 index 00000000..873b86ad --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009aab0.c @@ -0,0 +1,44 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009aab0 FUN_14009aab0 + * Pseudocode, not original source. */ + +void FUN_14009aab0(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + int iVar1; + uint uVar2; + size_t _Size; + void *_Dst; + ulonglong uVar3; + ulonglong uVar4; + + uVar3 = 0x80000000; + uVar4 = *(longlong *)(param_1 + 0x30) + 0x80000000; + if (0xffffffff < uVar4) { + /* WARNING: Subroutine does not return */ + FUN_14003df20(L"Proud::CStreamQueue::Shrink",uVar4,param_3,param_4); + } + _Size = *(size_t *)(param_1 + 0x38); + if (0 < (longlong)_Size) { + iVar1 = *(int *)(param_1 + 0x30); + if (-1 < iVar1) { + uVar2 = *(uint *)(param_1 + 0x20); + uVar3 = (ulonglong)uVar2; + if (iVar1 < (int)uVar2) { + _Dst = *(void **)(param_1 + 0x18); + if ((int)uVar2 < 1) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(uVar3,(void *)((longlong)_Dst + (longlong)iVar1),_Size,_Dst); + } + memmove(_Dst,(void *)((longlong)_Dst + (longlong)iVar1),_Size); + goto LAB_14009ab02; + } + } + /* WARNING: Subroutine does not return */ + FUN_14003def0(uVar3,uVar4,_Size,param_4); + } +LAB_14009ab02: + *(undefined8 *)(param_1 + 0x30) = 0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009ab30.c b/decomp/AgentManager_Release_x64/full/functions/0x14009ab30.c new file mode 100644 index 00000000..6bc6a2b3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009ab30.c @@ -0,0 +1,105 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009ab30 FUN_14009ab30 + * Pseudocode, not original source. */ + +void FUN_14009ab30(longlong *param_1,undefined8 *param_2,SIZE_T param_3) + +{ + undefined1 uVar1; + longlong lVar2; + undefined8 uVar3; + int iVar4; + undefined8 *_Dst; + uint uVar5; + ulonglong uVar6; + undefined8 *puVar7; + uint uVar8; + ulonglong uVar9; + longlong lVar10; + ulonglong _Size; + + lVar2 = param_1[6]; + uVar8 = (uint)param_3; + _Size = (ulonglong)(int)uVar8; + lVar10 = (longlong)(int)param_1[4]; + uVar9 = _Size + lVar2 + param_1[7]; + if ((longlong)uVar9 < lVar10) { + if (0xffffffff < lVar2 + param_1[7] + 0x80000000U) { + /* WARNING: Subroutine does not return */ + FUN_14003df20(L"Proud::CStreamQueue::PushBack_Copy",uVar9,param_3,lVar10); + } + iVar4 = (int)lVar2 + (int)param_1[7]; + if ((iVar4 < 0) || ((int)param_1[4] <= iVar4)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(lVar2,uVar9,param_3,lVar10); + } + _Dst = (undefined8 *)((longlong)iVar4 + param_1[3]); + if (_Size < 0x21) { + uVar6 = (ulonglong)(uVar8 & 7); + for (uVar9 = _Size >> 3; uVar9 != 0; uVar9 = uVar9 - 1) { + uVar3 = *param_2; + param_2 = param_2 + 1; + *_Dst = uVar3; + _Dst = _Dst + 1; + } + if (uVar6 != 0) { + puVar7 = param_2; + do { + uVar1 = *(undefined1 *)puVar7; + puVar7 = (undefined8 *)((longlong)puVar7 + 1); + uVar6 = uVar6 - 1; + *(undefined1 *)((longlong)_Dst + (-1 - (longlong)param_2) + (longlong)puVar7) = uVar1; + } while (uVar6 != 0); + } + goto LAB_14009abf9; + } + } + else { + if ((0 < lVar2) && (0 < (int)param_1[4])) { + FUN_14009aab0((longlong)param_1,uVar9,param_3,lVar10); + } + if ((longlong)(int)param_1[4] < (longlong)(_Size + param_1[7])) { + if (0xffffffff < *param_1 + _Size + param_1[7] + 0x80000000) { + /* WARNING: Subroutine does not return */ + FUN_14003df20(L"Proud::CStreamQueue::PushBack_Copy",uVar9,param_3,lVar10); + } + uVar5 = (int)*param_1 + uVar8 + (int)param_1[7]; + uVar9 = (ulonglong)uVar5; + FUN_14002a050((longlong)(param_1 + 1),uVar5,param_3); + } + if (0xffffffff < param_1[7] + 0x80000000U) { + /* WARNING: Subroutine does not return */ + FUN_14003df20(L"Proud::CStreamQueue::PushBack_Copy",uVar9,param_3,lVar10); + } + iVar4 = (int)param_1[7]; + if ((iVar4 < 0) || ((int)param_1[4] <= iVar4)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(param_1[7] + 0x80000000U,uVar9,param_3,lVar10); + } + _Dst = (undefined8 *)((longlong)iVar4 + param_1[3]); + if (_Size < 0x21) { + uVar6 = (ulonglong)(uVar8 & 7); + for (uVar9 = _Size >> 3; uVar9 != 0; uVar9 = uVar9 - 1) { + uVar3 = *param_2; + param_2 = param_2 + 1; + *_Dst = uVar3; + _Dst = _Dst + 1; + } + if (uVar6 != 0) { + puVar7 = param_2; + do { + uVar1 = *(undefined1 *)puVar7; + puVar7 = (undefined8 *)((longlong)puVar7 + 1); + uVar6 = uVar6 - 1; + *(undefined1 *)((longlong)_Dst + (-1 - (longlong)param_2) + (longlong)puVar7) = uVar1; + } while (uVar6 != 0); + } + goto LAB_14009abf9; + } + } + memcpy(_Dst,param_2,_Size); +LAB_14009abf9: + param_1[7] = param_1[7] + _Size; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009ad20.c b/decomp/AgentManager_Release_x64/full/functions/0x14009ad20.c new file mode 100644 index 00000000..5e3ccf4e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009ad20.c @@ -0,0 +1,21 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009ad20 FUN_14009ad20 + * Pseudocode, not original source. */ + +longlong FUN_14009ad20(longlong *param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + ulonglong uVar1; + + if (param_1[7] <= param_2) { + param_2 = param_1[7]; + } + param_1[6] = param_1[6] + param_2; + param_1[7] = param_1[7] - param_2; + uVar1 = (ulonglong)((uint)(*param_1 >> 0x3f) & 0x3f); + if (param_1[7] <= (longlong)(*param_1 + uVar1) >> 6) { + FUN_14009aab0((longlong)param_1,uVar1,param_3,param_4); + } + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009ad60.c b/decomp/AgentManager_Release_x64/full/functions/0x14009ad60.c new file mode 100644 index 00000000..5ed03111 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009ad60.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009ad60 FUN_14009ad60 + * Pseudocode, not original source. */ + +undefined8 * FUN_14009ad60(undefined8 *param_1,LONG param_2,LONG param_3) + +{ + HANDLE pvVar1; + + pvVar1 = CreateSemaphoreW((LPSECURITY_ATTRIBUTES)0x0,param_2,param_3,(LPCWSTR)0x0); + *param_1 = pvVar1; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009ad80.c b/decomp/AgentManager_Release_x64/full/functions/0x14009ad80.c new file mode 100644 index 00000000..07545c21 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009ad80.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009ad80 FUN_14009ad80 + * Pseudocode, not original source. */ + +long FUN_14009ad80(undefined8 *param_1,LONG param_2) + +{ + long local_res18 [4]; + + local_res18[0] = 0; + ReleaseSemaphore((HANDLE)*param_1,param_2,local_res18); + return local_res18[0]; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009adb0.c b/decomp/AgentManager_Release_x64/full/functions/0x14009adb0.c new file mode 100644 index 00000000..a62686d3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009adb0.c @@ -0,0 +1,19 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009adb0 FUN_14009adb0 + * Pseudocode, not original source. */ + +uint FUN_14009adb0(byte *param_1,int param_2) + +{ + byte bVar1; + uint uVar2; + + uVar2 = 0xffffffff; + for (; param_2 != 0; param_2 = param_2 + -1) { + bVar1 = *param_1; + param_1 = param_1 + 1; + uVar2 = *(uint *)(&DAT_14011e0d0 + (ulonglong)((bVar1 ^ uVar2) & 0xff) * 4) ^ uVar2 >> 8; + } + return ~uVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009ae00.c b/decomp/AgentManager_Release_x64/full/functions/0x14009ae00.c new file mode 100644 index 00000000..484692ef --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009ae00.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009ae00 FUN_14009ae00 + * Pseudocode, not original source. */ + +undefined8 * FUN_14009ae00(undefined8 *param_1) + +{ + param_1[1] = 0; + *param_1 = Proud::IHeartbeatWork::vftable; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009ae20.c b/decomp/AgentManager_Release_x64/full/functions/0x14009ae20.c new file mode 100644 index 00000000..c371ddf4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009ae20.c @@ -0,0 +1,53 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009ae20 FUN_14009ae20 + * Pseudocode, not original source. */ + +void FUN_14009ae20(longlong *param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong *plVar1; + longlong lVar2; + exception local_58 [88]; + + if ((longlong *)param_2[2] != param_1) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_CListNode_reports_a_consistency_p_14016f4a0, + L"Proud::CListNode::CListOwner::Erase" + ,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + plVar1 = (longlong *)param_2[1]; + lVar2 = *param_2; + if (plVar1 != (longlong *)0x0) { + *plVar1 = lVar2; + } + if (lVar2 != 0) { + *(longlong **)(lVar2 + 8) = plVar1; + } + if (plVar1 == (longlong *)0x0) { + if ((longlong *)param_1[1] != param_2) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_CListNode_reports_a_consistency_p_14016f4a0, + L"Proud::CListNode::CListOwner::Erase" + ,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + param_1[1] = lVar2; + } + if (lVar2 == 0) { + if ((longlong *)*param_1 != param_2) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_CListNode_reports_a_consistency_p_14016f4a0, + L"Proud::CListNode::CListOwner::Erase" + ,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + *param_1 = (longlong)plVar1; + } + *param_2 = 0; + param_2[1] = 0; + param_2[2] = 0; + *(int *)(param_1 + 2) = (int)param_1[2] + -1; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009af00.c b/decomp/AgentManager_Release_x64/full/functions/0x14009af00.c new file mode 100644 index 00000000..db85c5d5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009af00.c @@ -0,0 +1,60 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009af00 FUN_14009af00 + * Pseudocode, not original source. */ + +void FUN_14009af00(longlong *param_1) + +{ + longlong lVar1; + longlong *plVar2; + longlong *plVar3; + exception local_58 [88]; + + lVar1 = *param_1; + while( true ) { + if (lVar1 == 0) { + return; + } + plVar2 = (longlong *)*param_1; + if ((longlong *)plVar2[2] != param_1) break; + plVar3 = (longlong *)plVar2[1]; + lVar1 = *plVar2; + if (plVar3 != (longlong *)0x0) { + *plVar3 = lVar1; + } + if (lVar1 != 0) { + *(longlong **)(lVar1 + 8) = plVar3; + } + if (plVar3 == (longlong *)0x0) { + if ((longlong *)param_1[1] != plVar2) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_CListNode_reports_a_consistency_p_14016f4a0, + L"Proud::CListNode::CListOwner::Erase" + ,0); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + param_1[1] = lVar1; + } + if (lVar1 == 0) { + if ((longlong *)*param_1 != plVar2) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_CListNode_reports_a_consistency_p_14016f4a0, + L"Proud::CListNode::CListOwner::Erase" + ,0); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + *param_1 = (longlong)plVar3; + } + *plVar2 = 0; + plVar2[1] = 0; + plVar2[2] = 0; + *(int *)(param_1 + 2) = (int)param_1[2] + -1; + lVar1 = *param_1; + } + FUN_14003db10(local_58,(wchar_t *)PTR_u_CListNode_reports_a_consistency_p_14016f4a0, + L"Proud::CListNode::CListOwner::Erase", + 0); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009aff0.c b/decomp/AgentManager_Release_x64/full/functions/0x14009aff0.c new file mode 100644 index 00000000..5e0ed953 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009aff0.c @@ -0,0 +1,50 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009aff0 FUN_14009aff0 + * Pseudocode, not original source. */ + +void FUN_14009aff0(int *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong *plVar1; + longlong *plVar2; + DWORD DVar3; + + if ((char)param_1[0x20] != '\0') { + plVar1 = (longlong *)(param_1 + 0xe); + do { + FUN_14003d040(param_1); + DVar3 = GetTickCount(); + plVar2 = (longlong *)*plVar1; + if ((plVar2 == (longlong *)0x0) || + (DVar3 - (int)plVar2[4] <= *(uint *)((longlong)plVar2 + 0x24))) { + FUN_14003d0d0((longlong)param_1); + } + else { + *(DWORD *)(plVar2 + 4) = DVar3; + if ((longlong *)plVar2[2] != (longlong *)0x0) { + FUN_14009ae20((longlong *)plVar2[2],plVar2,param_3,param_4); + } + if (plVar2[2] != 0) { + FUN_14009ae20(plVar1,plVar2,param_3,param_4); + } + if (*(longlong *)(param_1 + 0x10) == 0) { + *plVar1 = (longlong)plVar2; + } + else { + *(longlong **)(*(longlong *)(param_1 + 0x10) + 8) = plVar2; + *plVar2 = *(longlong *)(param_1 + 0x10); + } + *(longlong **)(param_1 + 0x10) = plVar2; + plVar2[2] = (longlong)plVar1; + param_1[0x12] = param_1[0x12] + 1; + FUN_14003d0d0((longlong)param_1); + *(undefined1 *)(plVar2 + 8) = 1; + (**(code **)(*(longlong *)plVar2[3] + 8))(); + *(undefined1 *)(plVar2 + 8) = 0; + } + Sleep(10); + } while ((char)param_1[0x20] != '\0'); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009b100.c b/decomp/AgentManager_Release_x64/full/functions/0x14009b100.c new file mode 100644 index 00000000..a54651bd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009b100.c @@ -0,0 +1,46 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009b100 FUN_14009b100 + * Pseudocode, not original source. */ + +void FUN_14009b100(int *param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong *plVar1; + longlong *plVar2; + undefined4 uVar3; + + uVar3 = (undefined4)param_3; + FUN_14003d040(param_1); + if (*(longlong *)(param_2 + 8) == 0) { + plVar2 = operator_new(0x80); + if (plVar2 != (longlong *)0x0) { + *plVar2 = 0; + plVar2[1] = 0; + plVar2[2] = 0; + *(undefined4 *)(plVar2 + 4) = 0; + *(undefined1 *)(plVar2 + 8) = 0; + } + plVar2[3] = param_2; + *(undefined4 *)((longlong)plVar2 + 0x24) = uVar3; + *(int **)(param_2 + 8) = param_1; + plVar1 = (longlong *)(param_1 + 0xe); + if (plVar2[2] != 0) { + FUN_14009ae20(plVar1,plVar2,param_3,param_4); + } + if (*(longlong *)(param_1 + 0x10) == 0) { + *plVar1 = (longlong)plVar2; + } + else { + *(longlong **)(*(longlong *)(param_1 + 0x10) + 8) = plVar2; + *plVar2 = *(longlong *)(param_1 + 0x10); + } + *(longlong **)(param_1 + 0x10) = plVar2; + plVar2[2] = (longlong)plVar1; + param_1[0x12] = param_1[0x12] + 1; + FUN_14003d0d0((longlong)param_1); + return; + } + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009b1e0.c b/decomp/AgentManager_Release_x64/full/functions/0x14009b1e0.c new file mode 100644 index 00000000..869e3dfe --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009b1e0.c @@ -0,0 +1,41 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009b1e0 FUN_14009b1e0 + * Pseudocode, not original source. */ + +void FUN_14009b1e0(int *param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + char cVar1; + longlong *plVar2; + + FUN_14003d040(param_1); + if (*(int **)(param_2 + 8) != (int *)0x0) { + if (*(int **)(param_2 + 8) != param_1) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + for (plVar2 = *(longlong **)(param_1 + 0xe); plVar2 != (longlong *)0x0; + plVar2 = (longlong *)plVar2[1]) { + if (plVar2[3] == param_2) { + *(undefined8 *)(param_2 + 8) = 0; + if ((longlong *)plVar2[2] != (longlong *)0x0) { + FUN_14009ae20((longlong *)plVar2[2],plVar2,param_3,param_4); + } + FUN_14003d0d0((longlong)param_1); + cVar1 = (char)plVar2[8]; + while (cVar1 != '\0') { + Sleep(10); + cVar1 = (char)plVar2[8]; + } + if ((longlong *)plVar2[2] != (longlong *)0x0) { + FUN_14009ae20((longlong *)plVar2[2],plVar2,param_3,param_4); + } + operator_delete(plVar2); + return; + } + } + } + FUN_14003d0d0((longlong)param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009b2c0.c b/decomp/AgentManager_Release_x64/full/functions/0x14009b2c0.c new file mode 100644 index 00000000..27002d21 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009b2c0.c @@ -0,0 +1,64 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009b2c0 FUN_14009b2c0 + * Pseudocode, not original source. */ + +void FUN_14009b2c0(wchar_t *param_1,LPVOID param_2,longlong *param_3,undefined8 param_4) + +{ + undefined8 *puVar1; + LPVOID pvVar2; + wchar_t *pwVar3; + int iVar4; + longlong lVar5; + + pwVar3 = param_1; + FUN_14003d040((int *)param_1); + if (0 < *(int *)(param_1 + 0x24)) { + pwVar3 = + L"CHeartbeatWorkThread must be cleaned up only after every work items are unregistered!"; + FUN_14003e110( + L"CHeartbeatWorkThread must be cleaned up only after every work items are unregistered!" + ); + } + *(undefined1 *)(param_1 + 0x40) = 0; + iVar4 = 0; + lVar5 = 0; + if (0 < *(int *)(param_1 + 0x34)) { + do { + if ((lVar5 < 0) || (*(int *)(param_1 + 0x34) <= iVar4)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(pwVar3,param_2,param_3,param_4); + } + puVar1 = *(undefined8 **)(*(longlong *)(param_1 + 0x30) + lVar5 * 8); + pwVar3 = (wchar_t *)0x0; + if (puVar1 != (undefined8 *)0x0) { + pwVar3 = (wchar_t *)*puVar1; + } + FUN_140045bb0((undefined8 *)pwVar3); + iVar4 = iVar4 + 1; + lVar5 = lVar5 + 1; + } while (iVar4 < *(int *)(param_1 + 0x34)); + } + FUN_14003d0d0((longlong)param_1); + *(undefined ***)(param_1 + 0x28) = Proud::CFastArray,0>::vftable; + pvVar2 = (LPVOID)(longlong)*(int *)(param_1 + 0x34); + if (0 < *(int *)(param_1 + 0x34)) { + FUN_14005cbc0(*(longlong **)(param_1 + 0x30),(longlong)pvVar2); + param_2 = pvVar2; + } + pvVar2 = *(LPVOID *)(param_1 + 0x30); + if (pvVar2 != (LPVOID)0x0) { + param_3 = *(longlong **)(param_1 + 0x2c); + if (param_3 == (longlong *)0x0) { + FUN_14003e8b0(pvVar2); + } + else { + (**(code **)(*param_3 + 0x18))(param_3); + param_2 = pvVar2; + } + } + FUN_14009af00((longlong *)(param_1 + 0x1c)); + FUN_14003d110((undefined4 *)param_1,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009b3c0.c b/decomp/AgentManager_Release_x64/full/functions/0x14009b3c0.c new file mode 100644 index 00000000..a73146f6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009b3c0.c @@ -0,0 +1,122 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009b3c0 FUN_14009b3c0 + * Pseudocode, not original source. */ + +longlong * FUN_14009b3c0(longlong *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + int iVar1; + DWORD DVar2; + ulonglong uVar3; + undefined8 *puVar4; + longlong lVar5; + longlong lVar6; + longlong *plVar7; + longlong *plVar8; + longlong **pplVar9; + longlong *plVar10; + int iVar11; + longlong *plVar12; + longlong *plVar13; + longlong lVar14; + longlong lVar15; + int iVar16; + longlong *local_res18; + + uVar3 = FUN_140094860(); + pplVar9 = (longlong **)(uVar3 & 0xffffffff); + plVar13 = (longlong *)CONCAT71((int7)((ulonglong)param_3 >> 8),1); + plVar7 = param_1; + FUN_14003cf60((undefined4 *)param_1,(ulonglong)pplVar9,plVar13,param_4); + iVar16 = 0; + param_1[7] = 0; + param_1[8] = 0; + *(undefined4 *)(param_1 + 9) = 0; + plVar10 = param_1 + 10; + *plVar10 = (longlong)Proud::CFastArray,0>::vftable; + param_1[0xb] = 0; + param_1[0xc] = 0; + param_1[0xd] = 0; + param_1[0xe] = 0; + *(undefined1 *)(param_1 + 0x10) = 1; + DVar2 = FUN_14003df50(); + if (0 < (int)DVar2) { + do { + puVar4 = (undefined8 *)0x0; + local_res18 = operator_new(0x28); + if (local_res18 != (longlong *)0x0) { + plVar13 = param_1; + puVar4 = FUN_140045b20(local_res18,&LAB_14009b1d0,param_1); + } + if (puVar4 == (undefined8 *)0x0) { + local_res18 = (longlong *)0x0; + } + else { + local_res18 = (longlong *)FUN_14003e840(0x10); + local_res18[1] = 1; + *local_res18 = (longlong)puVar4; + } + plVar12 = local_res18; + iVar1 = (int)param_1[0xd]; + if (iVar1 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + lVar14 = param_1[0xd]; + FUN_14007f220((longlong)plVar10,(int)lVar14 + 1,plVar13,param_4); + iVar11 = (int)lVar14 - iVar1; + if ((0 < iVar11) && (iVar11 = iVar11 + -1, -1 < iVar11)) { + lVar14 = (longlong)(iVar11 + iVar1 + 1) << 3; + lVar15 = (longlong)(iVar11 + iVar1) << 3; + do { + lVar5 = FUN_140074a30((longlong)plVar10); + lVar6 = FUN_140074a30((longlong)plVar10); + FUN_14007b440((longlong *)(lVar14 + lVar6),(longlong *)(lVar15 + lVar5)); + lVar15 = lVar15 + -8; + lVar14 = lVar14 + -8; + iVar11 = iVar11 + -1; + } while (-1 < iVar11); + } + lVar14 = FUN_140074a30((longlong)plVar10); + plVar7 = (longlong *)(lVar14 + (longlong)iVar1 * 8); + pplVar9 = &local_res18; + FUN_14007b440(plVar7,(longlong *)pplVar9); + plVar8 = local_res18; + if (plVar12 != (longlong *)0x0) { + plVar12 = plVar12 + 1; + *plVar12 = *plVar12 + -1; + if (*plVar12 == 0) { + puVar4 = (undefined8 *)*local_res18; + if (puVar4 != (undefined8 *)0x0) { + FUN_140045c30(puVar4); + operator_delete(puVar4); + } + FUN_14003e8b0(plVar8); + plVar7 = plVar8; + } + } + iVar16 = iVar16 + 1; + } while (iVar16 < (int)DVar2); + } + plVar8 = (longlong *)0x0; + plVar10 = plVar8; + plVar12 = plVar8; + if (0 < (int)DVar2) { + do { + if (((longlong)plVar10 < 0) || ((int)param_1[0xd] <= (int)plVar12)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(plVar7,pplVar9,plVar13,param_4); + } + puVar4 = *(undefined8 **)(param_1[0xc] + (longlong)plVar10 * 8); + plVar7 = plVar8; + if (puVar4 != (undefined8 *)0x0) { + plVar7 = (longlong *)*puVar4; + } + FUN_140045d20(plVar7,pplVar9,plVar13,param_4); + plVar12 = (longlong *)(ulonglong)((int)plVar12 + 1); + plVar10 = (longlong *)((longlong)plVar10 + 1); + } while ((longlong)plVar10 < (longlong)(int)DVar2); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009b610.c b/decomp/AgentManager_Release_x64/full/functions/0x14009b610.c new file mode 100644 index 00000000..08d181bd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009b610.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009b610 FUN_14009b610 + * Pseudocode, not original source. */ + +longlong FUN_14009b610(longlong param_1,uint *param_2,SIZE_T param_3,undefined8 param_4) + +{ + FUN_140029e60(param_1,(ulonglong)*param_2,param_3,param_4); + FUN_14002a2d0(param_1,(ulonglong)(ushort)param_2[1],param_3,param_4); + FUN_140076780(param_1,(longlong *)(param_2 + 2),param_3,param_4); + FUN_140029d80(param_1,(ulonglong)(byte)param_2[4],param_3,param_4); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009b660.c b/decomp/AgentManager_Release_x64/full/functions/0x14009b660.c new file mode 100644 index 00000000..6b26349c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009b660.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009b660 FUN_14009b660 + * Pseudocode, not original source. */ + +void FUN_14009b660(undefined8 *param_1) + +{ + *param_1 = Proud::ISendDest_C::vftable; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009b670.c b/decomp/AgentManager_Release_x64/full/functions/0x14009b670.c new file mode 100644 index 00000000..daf1b87b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009b670.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009b670 FUN_14009b670 + * Pseudocode, not original source. */ + +undefined8 * FUN_14009b670(undefined8 *param_1,byte param_2) + +{ + *param_1 = Proud::ISendDest_C::vftable; + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009b6a0.c b/decomp/AgentManager_Release_x64/full/functions/0x14009b6a0.c new file mode 100644 index 00000000..25ddcf6b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009b6a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009b6a0 FUN_14009b6a0 + * Pseudocode, not original source. */ + +void FUN_14009b6a0(undefined8 *param_1) + +{ + *param_1 = Proud::IP2PGroupMember::vftable; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009b6b0.c b/decomp/AgentManager_Release_x64/full/functions/0x14009b6b0.c new file mode 100644 index 00000000..935b7390 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009b6b0.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009b6b0 FUN_14009b6b0 + * Pseudocode, not original source. */ + +undefined8 * FUN_14009b6b0(undefined8 *param_1,byte param_2) + +{ + *param_1 = Proud::IP2PGroupMember::vftable; + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009b6e0.c b/decomp/AgentManager_Release_x64/full/functions/0x14009b6e0.c new file mode 100644 index 00000000..ccd07623 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009b6e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009b6e0 FUN_14009b6e0 + * Pseudocode, not original source. */ + +void FUN_14009b6e0(undefined8 *param_1) + +{ + *param_1 = Proud::CP2PConnectionTrialContext::StateBase::vftable; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009b6f0.c b/decomp/AgentManager_Release_x64/full/functions/0x14009b6f0.c new file mode 100644 index 00000000..72043aae --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009b6f0.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009b6f0 FUN_14009b6f0 + * Pseudocode, not original source. */ + +undefined8 FUN_14009b6f0(void) + +{ + return 65000; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009b700.c b/decomp/AgentManager_Release_x64/full/functions/0x14009b700.c new file mode 100644 index 00000000..45bdbe34 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009b700.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009b700 FUN_14009b700 + * Pseudocode, not original source. */ + +undefined8 FUN_14009b700(void) + +{ + return 0xfded; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009b710.c b/decomp/AgentManager_Release_x64/full/functions/0x14009b710.c new file mode 100644 index 00000000..4dce5954 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009b710.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009b710 FUN_14009b710 + * Pseudocode, not original source. */ + +void FUN_14009b710(undefined8 *param_1) + +{ + param_1[2] = 0; + param_1[1] = Proud::IP2PGroupMember::vftable; + *param_1 = Proud::ISendDest_C::vftable; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009b740.c b/decomp/AgentManager_Release_x64/full/functions/0x14009b740.c new file mode 100644 index 00000000..fb0e86d8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009b740.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009b740 FUN_14009b740 + * Pseudocode, not original source. */ + +undefined8 FUN_14009b740(void) + +{ + return 0xfc08; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009b750.c b/decomp/AgentManager_Release_x64/full/functions/0x14009b750.c new file mode 100644 index 00000000..d578fb55 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009b750.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009b750 FUN_14009b750 + * Pseudocode, not original source. */ + +undefined8 FUN_14009b750(longlong param_1) + +{ + return *(undefined8 *)(param_1 + 0x1580); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009b760.c b/decomp/AgentManager_Release_x64/full/functions/0x14009b760.c new file mode 100644 index 00000000..4f2663d4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009b760.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009b760 FUN_14009b760 + * Pseudocode, not original source. */ + +void FUN_14009b760(longlong param_1,double param_2,undefined8 param_3,undefined8 param_4) + +{ + exception local_58 [88]; + + if (param_2 <= 0.0) { + FUN_14003db10(local_58,L"Invalid parameter!",param_3,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + *(double *)(param_1 + 0x1728) = param_2; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009b7a0.c b/decomp/AgentManager_Release_x64/full/functions/0x14009b7a0.c new file mode 100644 index 00000000..922f0490 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009b7a0.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009b7a0 FUN_14009b7a0 + * Pseudocode, not original source. */ + +undefined4 FUN_14009b7a0(longlong param_1) + +{ + return *(undefined4 *)(param_1 + 0x628); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009b7b0.c b/decomp/AgentManager_Release_x64/full/functions/0x14009b7b0.c new file mode 100644 index 00000000..9776fc26 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009b7b0.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009b7b0 FUN_14009b7b0 + * Pseudocode, not original source. */ + +void FUN_14009b7b0(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + char cVar1; + exception local_58 [80]; + + cVar1 = (**(code **)(*(longlong *)(param_1 + -0x70) + 0x90))(param_1 + -0x70); + if (cVar1 != '\0') { + FUN_14003db10(local_58,(wchar_t *)PTR_u_Already_async_callback_may_occur_140170088,param_3, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + (**(code **)(*(longlong *)(param_1 + 8) + 0x18))(param_1 + 8); + *(undefined8 *)(param_1 + 0x1510) = param_2; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009b820.c b/decomp/AgentManager_Release_x64/full/functions/0x14009b820.c new file mode 100644 index 00000000..5154bb59 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009b820.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009b820 FUN_14009b820 + * Pseudocode, not original source. */ + +undefined4 FUN_14009b820(longlong param_1) + +{ + return *(undefined4 *)(param_1 + 0x6a4); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009b830.c b/decomp/AgentManager_Release_x64/full/functions/0x14009b830.c new file mode 100644 index 00000000..70848044 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009b830.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009b830 FUN_14009b830 + * Pseudocode, not original source. */ + +undefined4 FUN_14009b830(longlong param_1) + +{ + return *(undefined4 *)(param_1 + 0x624); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009b840.c b/decomp/AgentManager_Release_x64/full/functions/0x14009b840.c new file mode 100644 index 00000000..784ea969 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009b840.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009b840 FUN_14009b840 + * Pseudocode, not original source. */ + +void FUN_14009b840(longlong param_1,undefined2 *param_2) + +{ + *param_2 = *(undefined2 *)(param_1 + 0x1858); + *(undefined1 *)(param_2 + 1) = *(undefined1 *)(param_1 + 0x185a); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009b860.c b/decomp/AgentManager_Release_x64/full/functions/0x14009b860.c new file mode 100644 index 00000000..d525f003 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009b860.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009b860 FUN_14009b860 + * Pseudocode, not original source. */ + +void FUN_14009b860(longlong param_1,undefined8 *param_2) + +{ + *(undefined8 *)(param_1 + 0x1800) = *param_2; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009b870.c b/decomp/AgentManager_Release_x64/full/functions/0x14009b870.c new file mode 100644 index 00000000..2dd2a22c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009b870.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009b870 FUN_14009b870 + * Pseudocode, not original source. */ + +void FUN_14009b870(longlong param_1,undefined8 *param_2) + +{ + *param_2 = *(undefined8 *)(param_1 + 0x1870); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009b880.c b/decomp/AgentManager_Release_x64/full/functions/0x14009b880.c new file mode 100644 index 00000000..1db255b9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009b880.c @@ -0,0 +1,50 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009b880 FUN_14009b880 + * Pseudocode, not original source. */ + +void FUN_14009b880(longlong *param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong lVar1; + longlong lVar2; + exception local_58 [88]; + + if (*(longlong **)(param_2 + 0xb0) != param_1) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_CListNode_reports_a_consistency_p_14016f4a0, + L"Proud::CListNode::CListOwner::Erase",param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + lVar1 = *(longlong *)(param_2 + 0xa8); + lVar2 = *(longlong *)(param_2 + 0xa0); + if (lVar1 != 0) { + *(longlong *)(lVar1 + 0xa0) = lVar2; + } + if (lVar2 != 0) { + *(longlong *)(lVar2 + 0xa8) = lVar1; + } + if (lVar1 == 0) { + if (param_1[1] != param_2) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_CListNode_reports_a_consistency_p_14016f4a0, + L"Proud::CListNode::CListOwner::Erase",param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + param_1[1] = lVar2; + } + if (lVar2 == 0) { + if (*param_1 != param_2) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_CListNode_reports_a_consistency_p_14016f4a0, + L"Proud::CListNode::CListOwner::Erase",param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + *param_1 = lVar1; + } + *(undefined8 *)(param_2 + 0xa0) = 0; + *(undefined8 *)(param_2 + 0xa8) = 0; + *(undefined8 *)(param_2 + 0xb0) = 0; + *(int *)(param_1 + 2) = (int)param_1[2] + -1; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009b970.c b/decomp/AgentManager_Release_x64/full/functions/0x14009b970.c new file mode 100644 index 00000000..9ffdec40 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009b970.c @@ -0,0 +1,42 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009b970 FUN_14009b970 + * Pseudocode, not original source. */ + +uint FUN_14009b970(longlong param_1,longlong param_2) + +{ + uint uVar1; + longlong lVar2; + uint *puVar3; + int iVar4; + uint uVar5; + float fVar6; + + fVar6 = (float)param_2; + if (param_2 < 0) { + fVar6 = fVar6 + 1.8446744e+19; + } + fVar6 = fVar6 / *(float *)(param_1 + 0x2c); + lVar2 = 0; + if ((9.223372e+18 < fVar6) && (fVar6 = fVar6 - 9.223372e+18, fVar6 < 9.223372e+18)) { + lVar2 = -0x8000000000000000; + } + uVar5 = (uint)((longlong)fVar6 + lVar2); + if (0xffffffff < (ulonglong)((longlong)fVar6 + lVar2)) { + uVar5 = 0xffffffff; + } + iVar4 = 0; + if (0x11 < uVar5) { + puVar3 = &DAT_14012f530; + do { + puVar3 = puVar3 + 1; + iVar4 = iVar4 + 1; + } while (*puVar3 < uVar5); + } + uVar1 = (&DAT_14012f530)[iVar4]; + if ((&DAT_14012f530)[iVar4] == 0xffffffff) { + uVar1 = uVar5; + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009b9f0.c b/decomp/AgentManager_Release_x64/full/functions/0x14009b9f0.c new file mode 100644 index 00000000..339cd02b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009b9f0.c @@ -0,0 +1,37 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009b9f0 FUN_14009b9f0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +undefined8 * FUN_14009b9f0(undefined8 *param_1) + +{ + undefined4 *puVar1; + undefined1 auStack_58 [32]; + undefined8 *local_38; + undefined8 local_30; + undefined4 local_28 [4]; + ulonglong local_18; + + local_30 = 0xfffffffffffffffe; + local_18 = DAT_14016f5a0 ^ (ulonglong)auStack_58; + *param_1 = Proud::CP2PConnectionTrialContext::PeerHolepunchState::vftable; + *(undefined4 *)(param_1 + 4) = 0; + *(undefined4 *)((longlong)param_1 + 0x24) = 0; + *(undefined4 *)(param_1 + 5) = 0; + *(undefined4 *)((longlong)param_1 + 0x2c) = 0; + *(undefined2 *)((longlong)param_1 + 0x34) = 0x3ff; + *(undefined4 *)(param_1 + 6) = DAT_14016f0e8; + *(undefined4 *)(param_1 + 1) = 1; + param_1[2] = 0; + param_1[3] = 0; + local_38 = param_1; + puVar1 = FUN_140045d90(local_28); + *(undefined4 *)(param_1 + 4) = *puVar1; + *(undefined4 *)((longlong)param_1 + 0x24) = puVar1[1]; + *(undefined4 *)(param_1 + 5) = puVar1[2]; + *(undefined4 *)((longlong)param_1 + 0x2c) = puVar1[3]; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009baa0.c b/decomp/AgentManager_Release_x64/full/functions/0x14009baa0.c new file mode 100644 index 00000000..8d8e510d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009baa0.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009baa0 FUN_14009baa0 + * Pseudocode, not original source. */ + +undefined8 * FUN_14009baa0(undefined8 *param_1,byte param_2) + +{ + *param_1 = Proud::CP2PConnectionTrialContext::StateBase::vftable; + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009bad0.c b/decomp/AgentManager_Release_x64/full/functions/0x14009bad0.c new file mode 100644 index 00000000..acf4344f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009bad0.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009bad0 FUN_14009bad0 + * Pseudocode, not original source. */ + +void FUN_14009bad0(longlong param_1) + +{ + /* WARNING: Could not recover jumptable at 0x00014009badc. Too many branches */ + /* WARNING: Treating indirect jump as call */ + (**(code **)(*(longlong *)(*(longlong *)(param_1 + 8) + 0x68) + 0x10)) + (*(longlong *)(param_1 + 8) + 0x68); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009bae0.c b/decomp/AgentManager_Release_x64/full/functions/0x14009bae0.c new file mode 100644 index 00000000..55429c5f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009bae0.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009bae0 FUN_14009bae0 + * Pseudocode, not original source. */ + +undefined8 * FUN_14009bae0(undefined8 *param_1,byte param_2) + +{ + param_1[2] = 0; + param_1[1] = Proud::IP2PGroupMember::vftable; + *param_1 = Proud::ISendDest_C::vftable; + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009bb20.c b/decomp/AgentManager_Release_x64/full/functions/0x14009bb20.c new file mode 100644 index 00000000..16765c9c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009bb20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009bb20 FUN_14009bb20 + * Pseudocode, not original source. */ + +void FUN_14009bb20(longlong param_1,byte param_2) + +{ + FUN_14009bae0((undefined8 *)(param_1 + -8),param_2); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009bb30.c b/decomp/AgentManager_Release_x64/full/functions/0x14009bb30.c new file mode 100644 index 00000000..c6592c0a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009bb30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009bb30 FUN_14009bb30 + * Pseudocode, not original source. */ + +void FUN_14009bb30(void) + +{ + FUN_14004a1b0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009bb40.c b/decomp/AgentManager_Release_x64/full/functions/0x14009bb40.c new file mode 100644 index 00000000..940babb0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009bb40.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009bb40 FUN_14009bb40 + * Pseudocode, not original source. */ + +undefined8 FUN_14009bb40(longlong param_1) + +{ + int *piVar1; + undefined8 uVar2; + + piVar1 = (int *)(**(code **)(**(longlong **)(param_1 + 0x20) + 0x58))(); + FUN_14003d040(piVar1); + uVar2 = FUN_14003d0d0((longlong)piVar1); + return CONCAT71((int7)((ulonglong)uVar2 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009bb70.c b/decomp/AgentManager_Release_x64/full/functions/0x14009bb70.c new file mode 100644 index 00000000..e5edcc08 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009bb70.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009bb70 FUN_14009bb70 + * Pseudocode, not original source. */ + +undefined8 FUN_14009bb70(longlong param_1) + +{ + int *piVar1; + undefined8 uVar2; + + piVar1 = (int *)(**(code **)(**(longlong **)(param_1 + 0x20) + 0x58))(); + FUN_14003d040(piVar1); + *(undefined1 *)(*(longlong *)(param_1 + 0x20) + 0x1790) = 1; + uVar2 = FUN_14003d0d0((longlong)piVar1); + return CONCAT71((int7)((ulonglong)uVar2 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009bbc0.c b/decomp/AgentManager_Release_x64/full/functions/0x14009bbc0.c new file mode 100644 index 00000000..b6f6350a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009bbc0.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009bbc0 FUN_14009bbc0 + * Pseudocode, not original source. */ + +undefined8 FUN_14009bbc0(longlong param_1) + +{ + int *piVar1; + undefined8 uVar2; + + piVar1 = (int *)(**(code **)(**(longlong **)(param_1 + 0x20) + 0x58))(); + FUN_14003d040(piVar1); + *(undefined1 *)(*(longlong *)(param_1 + 0x20) + 0x1790) = 0; + uVar2 = FUN_14003d0d0((longlong)piVar1); + return CONCAT71((int7)((ulonglong)uVar2 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009bc10.c b/decomp/AgentManager_Release_x64/full/functions/0x14009bc10.c new file mode 100644 index 00000000..1c791713 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009bc10.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009bc10 FUN_14009bc10 + * Pseudocode, not original source. */ + +undefined8 * FUN_14009bc10(undefined8 *param_1,uint param_2) + +{ + FUN_140079b90(param_1); + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009bc40.c b/decomp/AgentManager_Release_x64/full/functions/0x14009bc40.c new file mode 100644 index 00000000..169b1ec5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009bc40.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009bc40 FUN_14009bc40 + * Pseudocode, not original source. */ + +void FUN_14009bc40(longlong param_1) + +{ + if (*(undefined8 **)(param_1 + 0x1570) != (undefined8 *)0x0) { + FUN_1400c8280((longlong *)**(undefined8 **)(param_1 + 0x1570),'\0'); + return; + } + FUN_1400c8280((longlong *)0x0,'\0'); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009bc60.c b/decomp/AgentManager_Release_x64/full/functions/0x14009bc60.c new file mode 100644 index 00000000..b4e76505 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009bc60.c @@ -0,0 +1,46 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009bc60 FUN_14009bc60 + * Pseudocode, not original source. */ + +undefined8 FUN_14009bc60(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong lVar1; + int *piVar2; + longlong lVar3; + longlong *plVar4; + longlong lVar5; + undefined8 uVar6; + + piVar2 = (int *)(**(code **)(**(longlong **)(param_1 + 0x20) + 0x58)) + (*(longlong **)(param_1 + 0x20),param_2,param_3,param_4, + 0xfffffffffffffffe); + FUN_14003d040(piVar2); + lVar1 = *(longlong *)(param_1 + 0x20); + plVar4 = *(longlong **)(lVar1 + 0x5d0); + if ((plVar4 != (longlong *)0x0) && (*plVar4 != 0)) { + lVar5 = 0; + lVar3 = lVar5; + if (plVar4 != (longlong *)0x0) { + lVar3 = *plVar4; + } + if (0.0 < *(double *)(lVar3 + 0xd0)) { + lVar3 = lVar5; + if (plVar4 != (longlong *)0x0) { + lVar3 = *plVar4; + } + if (*(double *)(lVar3 + 0xd8) != 0.0) { + if (*(longlong **)(lVar1 + 0x5d0) != (longlong *)0x0) { + lVar5 = **(longlong **)(lVar1 + 0x5d0); + } + uVar6 = (**(code **)(*(longlong *)(lVar1 + 0x70) + 0x1c0))(); + *(undefined8 *)(lVar5 + 0xd0) = uVar6; + } + } + } + plVar4 = (longlong *)(*(longlong *)(param_1 + 0x20) + 0x1818); + (**(code **)(*plVar4 + 0x90))(plVar4,1,&DAT_140177f90); + uVar6 = FUN_14003d0d0((longlong)piVar2); + return CONCAT71((int7)((ulonglong)uVar6 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009bd60.c b/decomp/AgentManager_Release_x64/full/functions/0x14009bd60.c new file mode 100644 index 00000000..88779da8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009bd60.c @@ -0,0 +1,26 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009bd60 FUN_14009bd60 + * Pseudocode, not original source. */ + +undefined8 FUN_14009bd60(longlong param_1,undefined8 param_2,undefined8 param_3,char *param_4) + +{ + longlong lVar1; + int *piVar2; + undefined8 uVar3; + longlong lVar4; + char *pcVar5; + + pcVar5 = param_4; + piVar2 = (int *)(**(code **)(**(longlong **)(param_1 + 0x20) + 0x58))(); + FUN_14003d040(piVar2); + lVar1 = *(longlong *)(*(longlong *)(param_1 + 0x20) + 0x5d8); + lVar4 = 0; + if (lVar1 != 0) { + lVar4 = *(longlong *)(lVar1 + 0x38); + } + FUN_1400c2040(lVar4,*param_4,param_3,pcVar5); + uVar3 = FUN_14003d0d0((longlong)piVar2); + return CONCAT71((int7)((ulonglong)uVar3 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009bde0.c b/decomp/AgentManager_Release_x64/full/functions/0x14009bde0.c new file mode 100644 index 00000000..f14e703d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009bde0.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009bde0 FUN_14009bde0 + * Pseudocode, not original source. */ + +undefined8 FUN_14009bde0(longlong param_1,undefined8 param_2,undefined8 param_3,char *param_4) + +{ + int *piVar1; + undefined8 uVar2; + + piVar1 = (int *)(**(code **)(**(longlong **)(param_1 + 0x20) + 0x58))(); + FUN_14003d040(piVar1); + if (*param_4 == '\0') { + *(double *)(*(longlong *)(param_1 + 0x20) + 0x1890) = DAT_14016f078; + } + else if (*(double *)(*(longlong *)(param_1 + 0x20) + 0x1890) == DAT_14016f078) { + *(undefined8 *)(*(longlong *)(param_1 + 0x20) + 0x1890) = 0; + } + uVar2 = FUN_14003d0d0((longlong)piVar1); + return CONCAT71((int7)((ulonglong)uVar2 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009be70.c b/decomp/AgentManager_Release_x64/full/functions/0x14009be70.c new file mode 100644 index 00000000..8566698a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009be70.c @@ -0,0 +1,19 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009be70 FUN_14009be70 + * Pseudocode, not original source. */ + +double FUN_14009be70(longlong param_1) + +{ + double dVar1; + int *piVar2; + double dVar3; + + piVar2 = (int *)(**(code **)(*(longlong *)(param_1 + -0x70) + 0x58))(); + FUN_14003d040(piVar2); + dVar3 = FUN_140048960((char *)(param_1 + 0x15b0)); + dVar1 = *(double *)(param_1 + 0x480); + FUN_14003d0d0((longlong)piVar2); + return dVar3 - dVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009bee0.c b/decomp/AgentManager_Release_x64/full/functions/0x14009bee0.c new file mode 100644 index 00000000..6b2e38cf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009bee0.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009bee0 FUN_14009bee0 + * Pseudocode, not original source. */ + +void FUN_14009bee0(longlong param_1) + +{ + if (*(longlong *)(param_1 + 0x568) != 0) { + FUN_1400bf740(*(longlong *)(*(longlong *)(param_1 + 0x568) + 0x38)); + return; + } + FUN_1400bf740(0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009bf00.c b/decomp/AgentManager_Release_x64/full/functions/0x14009bf00.c new file mode 100644 index 00000000..01d7296f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009bf00.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009bf00 FUN_14009bf00 + * Pseudocode, not original source. */ + +undefined8 FUN_14009bf00(longlong param_1) + +{ + if (*(longlong *)(param_1 + 0x5d8) != 0) { + return *(undefined8 *)(*(longlong *)(*(longlong *)(param_1 + 0x5d8) + 0x38) + 0x100); + } + return uRam0000000000000100; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009bf30.c b/decomp/AgentManager_Release_x64/full/functions/0x14009bf30.c new file mode 100644 index 00000000..15152121 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009bf30.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009bf30 FUN_14009bf30 + * Pseudocode, not original source. */ + +ulonglong FUN_14009bf30(longlong *param_1,longlong *param_2,int *param_3,uint *param_4,uint param_5) + +{ + longlong *plVar1; + ulonglong uVar2; + + plVar1 = (longlong *)param_1[0xba]; + if ((plVar1 != (longlong *)0x0) && (*plVar1 != 0)) { + uVar2 = FUN_140079460(param_1,param_2,param_3,param_4,param_5); + return uVar2; + } + return (ulonglong)plVar1 & 0xffffffffffffff00; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009bf60.c b/decomp/AgentManager_Release_x64/full/functions/0x14009bf60.c new file mode 100644 index 00000000..b7e37e04 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009bf60.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009bf60 FUN_14009bf60 + * Pseudocode, not original source. */ + +undefined4 FUN_14009bf60(longlong *param_1) + +{ + longlong lVar1; + int *piVar2; + + piVar2 = (int *)(**(code **)(*param_1 + 0x58))(); + FUN_14003d040(piVar2); + lVar1 = param_1[0x2af]; + FUN_14003d0d0((longlong)piVar2); + return (int)lVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009bfa0.c b/decomp/AgentManager_Release_x64/full/functions/0x14009bfa0.c new file mode 100644 index 00000000..0b6a1e75 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009bfa0.c @@ -0,0 +1,54 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009bfa0 FUN_14009bfa0 + * Pseudocode, not original source. */ + +undefined8 FUN_14009bfa0(longlong param_1,undefined1 *param_2) + +{ + longlong lVar1; + int *piVar2; + undefined8 uVar3; + undefined1 uVar4; + + piVar2 = (int *)(**(code **)(*(longlong *)(param_1 + -0x70) + 0x58))(); + FUN_14003d040(piVar2); + if ((*(longlong **)(param_1 + 0x1500) == (longlong *)0x0) || + (lVar1 = **(longlong **)(param_1 + 0x1500), lVar1 == 0)) { + uVar4 = 0; + } + else { + uVar4 = *(undefined1 *)(lVar1 + 0x80); + } + *param_2 = uVar4; + if ((*(longlong **)(param_1 + 0x560) == (longlong *)0x0) || + (lVar1 = **(longlong **)(param_1 + 0x560), lVar1 == 0)) goto switchD_14009c039_default; + switch(*(undefined4 *)(lVar1 + 0x100)) { + case 0: + FUN_14003d0d0((longlong)piVar2); + uVar3 = 1; + break; + case 1: + FUN_14003d0d0((longlong)piVar2); + uVar3 = 1; + break; + case 2: + FUN_14003d0d0((longlong)piVar2); + uVar3 = 2; + break; + case 3: + FUN_14003d0d0((longlong)piVar2); + uVar3 = 2; + break; + case 4: + FUN_14003d0d0((longlong)piVar2); + uVar3 = 3; + break; + case 5: + default: +switchD_14009c039_default: + FUN_14003d0d0((longlong)piVar2); + uVar3 = 0; + } + return uVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009c0d0.c b/decomp/AgentManager_Release_x64/full/functions/0x14009c0d0.c new file mode 100644 index 00000000..66891774 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009c0d0.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009c0d0 FUN_14009c0d0 + * Pseudocode, not original source. */ + +longlong FUN_14009c0d0(longlong param_1) + +{ + longlong lVar1; + + if ((*(longlong **)(param_1 + 0x1520) != (longlong *)0x0) && + (lVar1 = **(longlong **)(param_1 + 0x1520), lVar1 != 0)) { + return lVar1 + -0x40; + } + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009c0f0.c b/decomp/AgentManager_Release_x64/full/functions/0x14009c0f0.c new file mode 100644 index 00000000..f9304131 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009c0f0.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009c0f0 FUN_14009c0f0 + * Pseudocode, not original source. */ + +longlong FUN_14009c0f0(longlong param_1) + +{ + longlong lVar1; + + if ((*(longlong **)(param_1 + 0x15d8) != (longlong *)0x0) && + (lVar1 = **(longlong **)(param_1 + 0x15d8), lVar1 != 0)) { + return lVar1 + -0x40; + } + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009c110.c b/decomp/AgentManager_Release_x64/full/functions/0x14009c110.c new file mode 100644 index 00000000..acb3d7ba --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009c110.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009c110 FUN_14009c110 + * Pseudocode, not original source. */ + +void FUN_14009c110(longlong param_1) + +{ + longlong lVar1; + longlong lVar2; + double dVar3; + undefined8 uVar4; + + if ((*(longlong **)(param_1 + 0x1570) != (longlong *)0x0) && + (lVar1 = **(longlong **)(param_1 + 0x1570), lVar1 != 0)) { + dVar3 = (double)(**(code **)(*(longlong *)(param_1 + 0x70) + 0x1c0))(param_1 + 0x70); + lVar2 = 0; + dVar3 = dVar3 - *(double *)(lVar1 + 0x180); + if (0.0 < dVar3) { + lVar1 = lVar2; + if (*(longlong **)(param_1 + 0x1570) != (longlong *)0x0) { + lVar1 = **(longlong **)(param_1 + 0x1570); + } + *(double *)(lVar1 + 0x200) = dVar3; + } + lVar1 = lVar2; + if (*(longlong **)(param_1 + 0x1570) != (longlong *)0x0) { + lVar1 = **(longlong **)(param_1 + 0x1570); + } + uVar4 = (**(code **)(*(longlong *)(param_1 + 0x70) + 0x1c0))(param_1 + 0x70); + *(undefined8 *)(lVar1 + 0x180) = uVar4; + if (*(longlong **)(param_1 + 0x1570) != (longlong *)0x0) { + lVar2 = **(longlong **)(param_1 + 0x1570); + } + *(int *)(lVar2 + 0x1c0) = *(int *)(lVar2 + 0x1c0) + 1; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009c1e0.c b/decomp/AgentManager_Release_x64/full/functions/0x14009c1e0.c new file mode 100644 index 00000000..47518294 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009c1e0.c @@ -0,0 +1,25 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009c1e0 FUN_14009c1e0 + * Pseudocode, not original source. */ + +undefined8 * FUN_14009c1e0(longlong param_1,undefined8 *param_2) + +{ + longlong lVar1; + + if (((*(longlong **)(param_1 + 0x1520) != (longlong *)0x0) && + (lVar1 = **(longlong **)(param_1 + 0x1520), lVar1 != 0)) && (lVar1 != 0x40)) { + if (lVar1 != 0) { + lVar1 = lVar1 + -0x40; + } + *param_2 = Proud::AddrPort::vftable; + *(undefined4 *)(param_2 + 1) = *(undefined4 *)(lVar1 + 0x130); + *(undefined2 *)((longlong)param_2 + 0xc) = *(undefined2 *)(lVar1 + 0x134); + return param_2; + } + *param_2 = Proud::AddrPort::vftable; + *(undefined4 *)(param_2 + 1) = DAT_14016f3d0; + *(undefined2 *)((longlong)param_2 + 0xc) = DAT_14016f3d4; + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009c250.c b/decomp/AgentManager_Release_x64/full/functions/0x14009c250.c new file mode 100644 index 00000000..eef8b79b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009c250.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009c250 FUN_14009c250 + * Pseudocode, not original source. */ + +longlong FUN_14009c250(longlong param_1) + +{ + if (*(longlong *)(param_1 + 0x5d8) != 0) { + return *(longlong *)(*(longlong *)(param_1 + 0x5d8) + 0x38) + 0x10; + } + return 0x10; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009c270.c b/decomp/AgentManager_Release_x64/full/functions/0x14009c270.c new file mode 100644 index 00000000..9d3f741c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009c270.c @@ -0,0 +1,43 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009c270 FUN_14009c270 + * Pseudocode, not original source. */ + +undefined8 FUN_14009c270(longlong param_1) + +{ + int *piVar1; + longlong lVar2; + longlong lVar3; + longlong lVar4; + undefined8 uVar5; + + lVar4 = 0; + lVar2 = lVar4; + if (*(longlong *)(param_1 + 0x568) != 0) { + lVar2 = *(longlong *)(*(longlong *)(param_1 + 0x568) + 0x38); + } + piVar1 = (int *)(lVar2 + 0x10); + FUN_14003d040(piVar1); + lVar2 = *(longlong *)(param_1 + 0x568); + lVar3 = lVar4; + if (lVar2 != 0) { + lVar3 = *(longlong *)(lVar2 + 0x38); + } + if ((*(longlong **)(lVar3 + 0x290) == (longlong *)0x0) || (**(longlong **)(lVar3 + 0x290) == 0)) { + FUN_14003d0d0((longlong)piVar1); + uVar5 = 0; + } + else { + lVar3 = lVar4; + if (lVar2 != 0) { + lVar3 = *(longlong *)(lVar2 + 0x38); + } + if (*(longlong **)(lVar3 + 0x290) != (longlong *)0x0) { + lVar4 = **(longlong **)(lVar3 + 0x290); + } + uVar5 = *(undefined8 *)(lVar4 + 0x40); + FUN_14003d0d0((longlong)piVar1); + } + return uVar5; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009c330.c b/decomp/AgentManager_Release_x64/full/functions/0x14009c330.c new file mode 100644 index 00000000..ba891336 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009c330.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009c330 FUN_14009c330 + * Pseudocode, not original source. */ + +longlong FUN_14009c330(longlong param_1) + +{ + longlong *plVar1; + uint7 uVar2; + + plVar1 = *(longlong **)(param_1 + 0x5d0); + uVar2 = (uint7)((ulonglong)plVar1 >> 8); + if ((plVar1 != (longlong *)0x0) && (*plVar1 != 0)) { + return CONCAT71(uVar2,1); + } + return (ulonglong)uVar2 << 8; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009c350.c b/decomp/AgentManager_Release_x64/full/functions/0x14009c350.c new file mode 100644 index 00000000..c0d99654 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009c350.c @@ -0,0 +1,37 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009c350 FUN_14009c350 + * Pseudocode, not original source. */ + +undefined8 * FUN_14009c350(longlong param_1,undefined8 *param_2) + +{ + longlong *plVar1; + int *piVar2; + longlong lVar3; + + piVar2 = (int *)(**(code **)(*(longlong *)(param_1 + -0x70) + 0x58)) + ((longlong *)(param_1 + -0x70)); + FUN_14003d040(piVar2); + plVar1 = *(longlong **)(param_1 + 0x1568); + if ((((plVar1 == (longlong *)0x0) || (*plVar1 == 0)) || (plVar1 == (longlong *)0x0)) || + ((*plVar1 == 0 || (*plVar1 == 0x40)))) { + *param_2 = Proud::AddrPort::vftable; + *(undefined4 *)(param_2 + 1) = DAT_14016f3d0; + *(undefined2 *)((longlong)param_2 + 0xc) = DAT_14016f3d4; + } + else { + if (((plVar1 == (longlong *)0x0) || (*plVar1 == 0)) || + ((plVar1 == (longlong *)0x0 || (*plVar1 == 0)))) { + lVar3 = 0; + } + else { + lVar3 = *plVar1 + -0x40; + } + *param_2 = Proud::AddrPort::vftable; + *(undefined4 *)(param_2 + 1) = *(undefined4 *)(lVar3 + 0x108); + *(undefined2 *)((longlong)param_2 + 0xc) = *(undefined2 *)(lVar3 + 0x10c); + } + FUN_14003d0d0((longlong)piVar2); + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009c430.c b/decomp/AgentManager_Release_x64/full/functions/0x14009c430.c new file mode 100644 index 00000000..6ebf88cb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009c430.c @@ -0,0 +1,37 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009c430 FUN_14009c430 + * Pseudocode, not original source. */ + +void FUN_14009c430(longlong *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + int *piVar1; + undefined8 *puVar2; + undefined8 *puVar3; + undefined8 *puVar4; + + piVar1 = (int *)(**(code **)(*param_1 + 0x58))(); + FUN_14003d040(piVar1); + puVar4 = (undefined8 *)0x0; + puVar3 = puVar4; + if (param_1[0xbb] != 0) { + puVar3 = *(undefined8 **)(param_1[0xbb] + 0x38); + } + if ((puVar3[0x56] == 0) && (*(char *)((longlong)param_1 + 0x6c6) != '\0')) { + puVar2 = operator_new(0x130); + puVar3 = puVar4; + if (puVar2 != (undefined8 *)0x0) { + if (param_1[0xbb] != 0) { + puVar3 = *(undefined8 **)(param_1[0xbb] + 0x38); + } + puVar3 = FUN_1400cc550(puVar2,(longlong)puVar3,param_3,param_4); + } + if (param_1[0xbb] != 0) { + puVar4 = *(undefined8 **)(param_1[0xbb] + 0x38); + } + puVar4[0x56] = puVar3; + } + FUN_14003d0d0((longlong)piVar1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009c500.c b/decomp/AgentManager_Release_x64/full/functions/0x14009c500.c new file mode 100644 index 00000000..6b020533 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009c500.c @@ -0,0 +1,21 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009c500 FUN_14009c500 + * Pseudocode, not original source. */ + +void FUN_14009c500(longlong param_1,short *param_2,uint param_3,longlong *param_4) + +{ + undefined8 *puVar1; + undefined8 *puVar2; + + if (*(longlong *)(param_1 + 0x58) == 0) { + puVar1 = operator_new(0xd0); + puVar2 = (undefined8 *)0x0; + if (puVar1 != (undefined8 *)0x0) { + puVar2 = FUN_140089dc0(puVar1,param_1 + 0x98,param_2,(ulonglong)param_3,param_4); + } + *(undefined8 **)(param_1 + 0x58) = puVar2; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009c580.c b/decomp/AgentManager_Release_x64/full/functions/0x14009c580.c new file mode 100644 index 00000000..0e56add8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009c580.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009c580 FUN_14009c580 + * Pseudocode, not original source. */ + +void FUN_14009c580(longlong param_1) + +{ + longlong lVar1; + longlong lVar2; + + if ((*(longlong **)(param_1 + 0x1520) == (longlong *)0x0) || + (**(longlong **)(param_1 + 0x1520) == 0)) { + lVar2 = 0; + lVar1 = lVar2; + if (*(longlong **)(param_1 + 0x1570) != (longlong *)0x0) { + lVar1 = **(longlong **)(param_1 + 0x1570); + } + if (((*(char *)(lVar1 + 0x40) == '\0') && (*(int *)(param_1 + 0x6a0) < 2)) && + (*(char *)(param_1 + 0x1528) == '\0')) { + (**(code **)(*(longlong *)(param_1 + 0x1818) + 0x120)) + ((longlong *)(param_1 + 0x1818),1,&DAT_140177f90); + if (*(longlong **)(param_1 + 0x1570) != (longlong *)0x0) { + lVar2 = **(longlong **)(param_1 + 0x1570); + } + *(undefined1 *)(lVar2 + 0x40) = 1; + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009c610.c b/decomp/AgentManager_Release_x64/full/functions/0x14009c610.c new file mode 100644 index 00000000..647eb935 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009c610.c @@ -0,0 +1,27 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009c610 FUN_14009c610 + * Pseudocode, not original source. */ + +void FUN_14009c610(longlong param_1,undefined4 *param_2) + +{ + undefined8 *puVar1; + undefined8 *puVar2; + + puVar2 = (undefined8 *)0x0; + puVar1 = puVar2; + if (*(longlong *)(param_1 + 0x568) != 0) { + puVar1 = *(undefined8 **)(*(longlong *)(param_1 + 0x568) + 0x38); + } + if ((undefined8 *)puVar1[0xf] != (undefined8 *)0x0) { + puVar2 = *(undefined8 **)puVar1[0xf]; + } + *(undefined8 *)(param_2 + 2) = *puVar2; + if (*(longlong *)(param_1 + 0x568) == 0) { + *param_2 = uRam0000000000000284; + return; + } + *param_2 = *(undefined4 *)(*(longlong *)(*(longlong *)(param_1 + 0x568) + 0x38) + 0x284); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009c670.c b/decomp/AgentManager_Release_x64/full/functions/0x14009c670.c new file mode 100644 index 00000000..cd489633 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009c670.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009c670 FUN_14009c670 + * Pseudocode, not original source. */ + +void FUN_14009c670(longlong param_1,longlong *param_2,longlong *param_3,undefined8 param_4) + +{ + if (*(longlong *)(param_1 + 0x560) != 0) { + FUN_140047fc0(*(longlong *)(*(longlong *)(*(longlong *)(param_1 + 0x560) + 0x38) + 0x2b8), + param_2,param_3,param_4); + return; + } + FUN_140047fc0(lRam00000000000002b8,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009c6a0.c b/decomp/AgentManager_Release_x64/full/functions/0x14009c6a0.c new file mode 100644 index 00000000..6fcb8172 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009c6a0.c @@ -0,0 +1,37 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009c6a0 FUN_14009c6a0 + * Pseudocode, not original source. */ + +undefined8 * FUN_14009c6a0(longlong param_1,undefined8 *param_2) + +{ + longlong *plVar1; + int *piVar2; + longlong lVar3; + + piVar2 = (int *)(**(code **)(*(longlong *)(param_1 + -0x70) + 0x58)) + ((longlong *)(param_1 + -0x70)); + FUN_14003d040(piVar2); + plVar1 = *(longlong **)(param_1 + 0x1568); + if ((((plVar1 == (longlong *)0x0) || (*plVar1 == 0)) || (plVar1 == (longlong *)0x0)) || + ((*plVar1 == 0 || (*plVar1 == 0x40)))) { + *param_2 = Proud::AddrPort::vftable; + *(undefined4 *)(param_2 + 1) = DAT_14016f3d0; + *(undefined2 *)((longlong)param_2 + 0xc) = DAT_14016f3d4; + } + else { + if (((plVar1 == (longlong *)0x0) || (*plVar1 == 0)) || + ((plVar1 == (longlong *)0x0 || (*plVar1 == 0)))) { + lVar3 = 0; + } + else { + lVar3 = *plVar1 + -0x40; + } + *param_2 = Proud::AddrPort::vftable; + *(undefined4 *)(param_2 + 1) = *(undefined4 *)(lVar3 + 0x118); + *(undefined2 *)((longlong)param_2 + 0xc) = *(undefined2 *)(lVar3 + 0x11c); + } + FUN_14003d0d0((longlong)piVar2); + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009c780.c b/decomp/AgentManager_Release_x64/full/functions/0x14009c780.c new file mode 100644 index 00000000..409c8f11 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009c780.c @@ -0,0 +1,37 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009c780 FUN_14009c780 + * Pseudocode, not original source. */ + +undefined8 * FUN_14009c780(longlong param_1,undefined8 *param_2) + +{ + longlong *plVar1; + int *piVar2; + longlong lVar3; + + piVar2 = (int *)(**(code **)(*(longlong *)(param_1 + -0x70) + 0x58)) + ((longlong *)(param_1 + -0x70)); + FUN_14003d040(piVar2); + plVar1 = *(longlong **)(param_1 + 0x14b0); + if ((((plVar1 == (longlong *)0x0) || (*plVar1 == 0)) || (plVar1 == (longlong *)0x0)) || + ((*plVar1 == 0 || (*plVar1 == 0x40)))) { + *param_2 = Proud::AddrPort::vftable; + *(undefined4 *)(param_2 + 1) = DAT_14016f3d0; + *(undefined2 *)((longlong)param_2 + 0xc) = DAT_14016f3d4; + } + else { + if (((plVar1 == (longlong *)0x0) || (*plVar1 == 0)) || + ((plVar1 == (longlong *)0x0 || (*plVar1 == 0)))) { + lVar3 = 0; + } + else { + lVar3 = *plVar1 + -0x40; + } + *param_2 = Proud::AddrPort::vftable; + *(undefined4 *)(param_2 + 1) = *(undefined4 *)(lVar3 + 0x130); + *(undefined2 *)((longlong)param_2 + 0xc) = *(undefined2 *)(lVar3 + 0x134); + } + FUN_14003d0d0((longlong)piVar2); + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009c860.c b/decomp/AgentManager_Release_x64/full/functions/0x14009c860.c new file mode 100644 index 00000000..0fa0f5f9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009c860.c @@ -0,0 +1,48 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009c860 FUN_14009c860 + * Pseudocode, not original source. */ + +void FUN_14009c860(longlong *param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined4 uVar1; + int *piVar2; + longlong lVar3; + longlong lVar4; + undefined8 uVar5; + undefined1 local_res8 [8]; + + piVar2 = (int *)(**(code **)(param_1[-0xe] + 0x58))(); + FUN_14003d040(piVar2); + lVar4 = 0; + lVar3 = lVar4; + if ((longlong *)param_1[0xac] != (longlong *)0x0) { + lVar3 = *(longlong *)param_1[0xac]; + } + *(bool *)param_2 = lVar3 == 0; + lVar3 = lVar4; + if (param_1[0xad] != 0) { + lVar3 = *(longlong *)(param_1[0xad] + 0x38); + } + *(undefined1 *)(param_2 + 1) = *(undefined1 *)(lVar3 + 0x28c); + *(int *)(param_2 + 8) = (int)param_1[0xa2]; + *(int *)(param_2 + 0x10) = (int)param_1[0x2b1]; + *(int *)(param_2 + 0x28) = (int)param_1[0x2c0]; + *(int *)(param_2 + 4) = (int)param_1[0xaa]; + uVar5 = (**(code **)(*param_1 + 0x1c0))(param_1); + *(undefined8 *)(param_2 + 0x20) = uVar5; + *(longlong *)(param_2 + 0x18) = param_1[0x30a]; + *(undefined4 *)(param_2 + 0x2c) = 0; + if (*(char *)(param_2 + 1) == '\0') { + if (param_1[0xad] != 0) { + lVar4 = *(longlong *)(param_1[0xad] + 0x38); + } + *(undefined4 *)(param_2 + 0x2c) = *(undefined4 *)(lVar4 + 0x284); + } + local_res8[0] = 0; + uVar1 = (**(code **)(*param_1 + 0x108))(param_1,local_res8); + *(undefined4 *)(param_2 + 0xc) = uVar1; + FUN_14003d0d0((longlong)piVar2); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009c970.c b/decomp/AgentManager_Release_x64/full/functions/0x14009c970.c new file mode 100644 index 00000000..b4ec7c75 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009c970.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009c970 FUN_14009c970 + * Pseudocode, not original source. */ + +void FUN_14009c970(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + if (*(longlong **)(param_1 + 0x10) != (longlong *)0x0) { + FUN_14009b880(*(longlong **)(param_1 + 0x10),param_1 + -0xa0,param_3,param_4); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009c9a0.c b/decomp/AgentManager_Release_x64/full/functions/0x14009c9a0.c new file mode 100644 index 00000000..16d93d3d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009c9a0.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009c9a0 FUN_14009c9a0 + * Pseudocode, not original source. */ + +undefined8 * FUN_14009c9a0(undefined8 *param_1,uint param_2) + +{ + *param_1 = Proud::CFastArray::vftable; + if ((LPVOID)param_1[2] != (LPVOID)0x0) { + if ((longlong *)param_1[1] == (longlong *)0x0) { + FUN_14003e8b0((LPVOID)param_1[2]); + } + else { + (**(code **)(*(longlong *)param_1[1] + 0x18))(); + } + } + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009ca00.c b/decomp/AgentManager_Release_x64/full/functions/0x14009ca00.c new file mode 100644 index 00000000..3f91d442 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009ca00.c @@ -0,0 +1,77 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009ca00 FUN_14009ca00 + * Pseudocode, not original source. */ + +void FUN_14009ca00(undefined8 *param_1,longlong param_2,longlong param_3) + +{ + longlong lVar1; + undefined8 *puVar2; + undefined8 *puVar3; + longlong lVar4; + undefined8 *puVar5; + longlong lVar6; + + if (param_2 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (-1 < param_3) { + param_1[3] = param_3; + } + if (param_2 == 0) { + if ((100 < (ulonglong)param_1[2]) && ((void *)*param_1 != (void *)0x0)) { + operator_delete__((void *)*param_1); + *param_1 = 0; + } + param_1[2] = 100; + param_1[1] = 0; + return; + } + lVar4 = param_1[2]; + if (param_2 <= lVar4) { + param_1[1] = param_2; + return; + } + lVar1 = param_1[3]; + if (lVar1 == 0) { + lVar1 = (longlong)(param_1[1] + (ulonglong)((uint)((longlong)param_1[1] >> 0x3f) & 7)) >> 3; + if (lVar1 < 4) { + lVar1 = 4; + } + else if (0x400 < lVar1) { + lVar1 = 0x400; + } + } + lVar6 = param_2; + if (param_2 < lVar1 + lVar4) { + lVar6 = lVar1 + lVar4; + } + if (lVar6 < lVar4) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + puVar2 = operator_new(lVar6 * 8); + puVar5 = param_1 + 4; + if (100 < (ulonglong)param_1[2]) { + puVar5 = (undefined8 *)*param_1; + } + lVar4 = param_1[1]; + if (0 < lVar4) { + puVar3 = puVar2; + do { + lVar4 = lVar4 + -1; + *puVar3 = *(undefined8 *)(((longlong)puVar5 - (longlong)puVar2) + (longlong)puVar3); + puVar3 = puVar3 + 1; + } while (lVar4 != 0); + } + memset(puVar2 + param_1[1],0,(param_2 - param_1[1]) * 8); + if (100 < (ulonglong)param_1[2]) { + operator_delete__(puVar5); + } + *param_1 = puVar2; + param_1[2] = lVar6; + param_1[1] = param_2; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009cb60.c b/decomp/AgentManager_Release_x64/full/functions/0x14009cb60.c new file mode 100644 index 00000000..5d8c3123 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009cb60.c @@ -0,0 +1,79 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009cb60 FUN_14009cb60 + * Pseudocode, not original source. */ + +void FUN_14009cb60(longlong param_1,int param_2,undefined8 param_3,longlong param_4) + +{ + longlong *plVar1; + LPVOID pvVar2; + int iVar3; + undefined8 uVar4; + undefined8 *puVar5; + undefined8 *puVar6; + int iVar7; + longlong lVar8; + exception local_58 [80]; + + if (param_2 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (param_2 != *(int *)(param_1 + 0x18)) { + if (*(int *)(param_1 + 0x1c) < param_2) { + iVar3 = FUN_14004ad20(param_1,param_2); + plVar1 = *(longlong **)(param_1 + 8); + lVar8 = (longlong)iVar3; + if (*(int *)(param_1 + 0x1c) == 0) { + if (plVar1 == (longlong *)0x0) { + uVar4 = FUN_14003e840(lVar8 << 4); + *(undefined8 *)(param_1 + 0x10) = uVar4; + } + else { + uVar4 = (**(code **)(*plVar1 + 8))(plVar1,lVar8 << 4); + *(undefined8 *)(param_1 + 0x10) = uVar4; + } + } + else { + pvVar2 = *(LPVOID *)(param_1 + 0x10); + if (plVar1 == (longlong *)0x0) { + puVar5 = (undefined8 *)FUN_14003e840(lVar8 << 4); + } + else { + puVar5 = (undefined8 *)(**(code **)(*plVar1 + 8))(); + } + lVar8 = (longlong)*(int *)(param_1 + 0x18); + iVar7 = 0; + if (0 < lVar8) { + param_4 = (longlong)pvVar2 - (longlong)puVar5; + puVar6 = puVar5; + do { + if (puVar6 != (undefined8 *)0x0) { + *puVar6 = *(undefined8 *)(param_4 + (longlong)puVar6); + puVar6[1] = *(undefined8 *)(param_4 + 8 + (longlong)puVar6); + } + iVar7 = iVar7 + 1; + puVar6 = puVar6 + 2; + } while (iVar7 < lVar8); + } + if (puVar5 == (undefined8 *)0x0) { + FUN_14003db10(local_58,L"Memory allocation failure!",lVar8,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + plVar1 = *(longlong **)(param_1 + 8); + if (plVar1 == (longlong *)0x0) { + FUN_14003e8b0(pvVar2); + } + else { + (**(code **)(*plVar1 + 0x18))(plVar1,pvVar2); + } + *(undefined8 **)(param_1 + 0x10) = puVar5; + } + *(int *)(param_1 + 0x1c) = iVar3; + } + *(int *)(param_1 + 0x18) = param_2; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009ccc0.c b/decomp/AgentManager_Release_x64/full/functions/0x14009ccc0.c new file mode 100644 index 00000000..9d503b1b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009ccc0.c @@ -0,0 +1,23 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009ccc0 FUN_14009ccc0 + * Pseudocode, not original source. */ + +void FUN_14009ccc0(longlong *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined **local_30; + undefined8 local_28; + undefined8 local_20; + undefined8 local_18; + undefined8 local_10; + + local_28 = 0; + local_20 = 0; + local_18 = 0; + local_10 = 0; + local_30 = Proud::ByteArray::vftable; + (**(code **)(*param_1 + 0x80))(param_1,DAT_14016f130,&local_30,param_4,0xfffffffffffffffe); + FUN_140049e40(&local_30); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009cd20.c b/decomp/AgentManager_Release_x64/full/functions/0x14009cd20.c new file mode 100644 index 00000000..b74e0e36 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009cd20.c @@ -0,0 +1,20 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009cd20 FUN_14009cd20 + * Pseudocode, not original source. */ + +void FUN_14009cd20(undefined8 *param_1) + +{ + *param_1 = Proud::CFastArray::vftable; + if ((LPVOID)param_1[2] != (LPVOID)0x0) { + if ((longlong *)param_1[1] != (longlong *)0x0) { + /* WARNING: Could not recover jumptable at 0x00014009cd47. Too many branches */ + /* WARNING: Treating indirect jump as call */ + (**(code **)(*(longlong *)param_1[1] + 0x18))(); + return; + } + FUN_14003e8b0((LPVOID)param_1[2]); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009cd60.c b/decomp/AgentManager_Release_x64/full/functions/0x14009cd60.c new file mode 100644 index 00000000..6f5bd3ac --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009cd60.c @@ -0,0 +1,36 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009cd60 FUN_14009cd60 + * Pseudocode, not original source. */ + +undefined8 * FUN_14009cd60(longlong param_1,undefined8 *param_2) + +{ + longlong *plVar1; + int *piVar2; + longlong lVar3; + longlong lVar4; + + piVar2 = (int *)(**(code **)(*(longlong *)(param_1 + -0x70) + 0x58))(param_1 + -0x70); + FUN_14003d040(piVar2); + plVar1 = *(longlong **)(param_1 + 0x1568); + if ((plVar1 == (longlong *)0x0) || (*plVar1 == 0)) { + *param_2 = Proud::AddrPort::vftable; + *(undefined4 *)(param_2 + 1) = DAT_14016f3d0; + *(undefined2 *)((longlong)param_2 + 0xc) = DAT_14016f3d4; + } + else { + lVar4 = 0; + lVar3 = lVar4; + if ((((plVar1 != (longlong *)0x0) && (*plVar1 != 0)) && (plVar1 != (longlong *)0x0)) && + (*plVar1 != 0)) { + lVar3 = *plVar1 + -0x40; + } + if (*(longlong **)(lVar3 + 0x128) != (longlong *)0x0) { + lVar4 = **(longlong **)(lVar3 + 0x128); + } + FUN_140043090(lVar4,param_2); + } + FUN_14003d0d0((longlong)piVar2); + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009ce30.c b/decomp/AgentManager_Release_x64/full/functions/0x14009ce30.c new file mode 100644 index 00000000..b799f4fa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009ce30.c @@ -0,0 +1,59 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009ce30 FUN_14009ce30 + * Pseudocode, not original source. */ + +ulonglong FUN_14009ce30(longlong *param_1,undefined1 *param_2) + +{ + longlong lVar1; + longlong *plVar2; + ulonglong uVar3; + longlong *plVar4; + longlong *plVar5; + short sVar6; + int iVar7; + short sVar8; + int iVar9; + undefined1 local_res8 [8]; + + local_res8[0] = 0; + uVar3 = (**(code **)(*param_1 + 0x108))(param_1,local_res8); + if ((int)uVar3 == 2) { + plVar4 = (longlong *)param_1[0x296]; + plVar5 = (longlong *)0x0; + iVar7 = DAT_14016f3d0; + sVar6 = DAT_14016f3d4; + if ((((((plVar4 != (longlong *)0x0) && (*plVar4 != 0)) && (plVar4 != (longlong *)0x0)) && + ((*plVar4 != 0 && (*plVar4 != 0x40)))) && + ((plVar4 = (longlong *)param_1[0x296], iVar7 = iRam0000000000000140, + sVar6 = sRam0000000000000144, plVar4 != (longlong *)0x0 && + ((*plVar4 != 0 && (plVar4 != (longlong *)0x0)))))) && (lVar1 = *plVar4, lVar1 != 0)) { + iVar7 = *(int *)(lVar1 + 0x100); + sVar6 = *(short *)(lVar1 + 0x104); + } + plVar4 = (longlong *)param_1[0x296]; + iVar9 = DAT_14016f3d0; + sVar8 = DAT_14016f3d4; + if (((plVar4 != (longlong *)0x0) && (*plVar4 != 0)) && (plVar4 != (longlong *)0x0)) { + lVar1 = *plVar4; + plVar4 = (longlong *)0x0; + if ((lVar1 != 0) && (plVar4 = (longlong *)0x0, lVar1 != 0x40)) { + plVar2 = (longlong *)param_1[0x296]; + plVar4 = plVar5; + if (((plVar2 != (longlong *)0x0) && ((*plVar2 != 0 && (plVar2 != (longlong *)0x0)))) && + (*plVar2 != 0)) { + plVar4 = (longlong *)(*plVar2 + -0x40); + } + iVar9 = (int)plVar4[0x26]; + sVar8 = *(short *)((longlong)plVar4 + 0x134); + } + } + if ((iVar9 != iVar7) || (sVar8 != sVar6)) { + plVar5 = (longlong *)0x1; + } + *param_2 = (char)plVar5; + return CONCAT71((int7)((ulonglong)plVar4 >> 8),1); + } + return uVar3 & 0xffffffffffffff00; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009cf60.c b/decomp/AgentManager_Release_x64/full/functions/0x14009cf60.c new file mode 100644 index 00000000..b963d67d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009cf60.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009cf60 FUN_14009cf60 + * Pseudocode, not original source. */ + +longlong * FUN_14009cf60(longlong *param_1,longlong param_2,longlong param_3) + +{ + longlong lVar1; + + if (param_2 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (param_1[1] <= param_2) { + FUN_14009ca00(param_1,param_2 + 1,-1); + } + if (param_2 < param_1[1]) { + if ((ulonglong)param_1[2] < 0x65) { + param_1[param_2 + 4] = param_3; + return param_1 + param_2 + 4; + } + lVar1 = *param_1; + *(longlong *)(lVar1 + param_2 * 8) = param_3; + return (longlong *)(lVar1 + param_2 * 8); + } + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009cfe0.c b/decomp/AgentManager_Release_x64/full/functions/0x14009cfe0.c new file mode 100644 index 00000000..da1738ee --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009cfe0.c @@ -0,0 +1,28 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009cfe0 FUN_14009cfe0 + * Pseudocode, not original source. */ + +void FUN_14009cfe0(char *param_1,LPVOID param_2,char param_3) + +{ + uint uVar1; + + if (param_2 == (LPVOID)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + if (*(longlong **)(param_1 + 0x50) == (longlong *)0x0) { + FUN_14003e8b0(param_2); + } + else { + (**(code **)(**(longlong **)(param_1 + 0x50) + 0x18))(); + } + *(longlong *)(param_1 + 0x20) = *(longlong *)(param_1 + 0x20) + -1; + if (((param_3 != '\0') && (*(ulonglong *)(param_1 + 0x20) < *(ulonglong *)(param_1 + 0x40))) && + (*(int *)(param_1 + 0x48) == 0)) { + uVar1 = FUN_14009b970((longlong)param_1,*(ulonglong *)(param_1 + 0x20)); + FUN_1400c8de0(param_1,uVar1); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009d050.c b/decomp/AgentManager_Release_x64/full/functions/0x14009d050.c new file mode 100644 index 00000000..f3cc3405 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009d050.c @@ -0,0 +1,70 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009d050 FUN_14009d050 + * Pseudocode, not original source. */ + +void FUN_14009d050(char *param_1,LPVOID param_2,char param_3) + +{ + uint uVar1; + ulonglong uVar2; + uint uVar3; + + if (param_2 == (LPVOID)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + uVar1 = *(uint *)(param_1 + 0x28); + uVar2 = (ulonglong)*(uint *)((longlong)param_2 + 0x20) % (ulonglong)uVar1; + if (*(longlong *)(param_1 + 0x20) == 1) { + *(undefined8 *)(*(longlong *)(param_1 + 8) + uVar2 * 8) = 0; + param_1[0x10] = '\0'; + param_1[0x11] = '\0'; + param_1[0x12] = '\0'; + param_1[0x13] = '\0'; + param_1[0x14] = '\0'; + param_1[0x15] = '\0'; + param_1[0x16] = '\0'; + param_1[0x17] = '\0'; + param_1[0x18] = '\0'; + param_1[0x19] = '\0'; + param_1[0x1a] = '\0'; + param_1[0x1b] = '\0'; + param_1[0x1c] = '\0'; + param_1[0x1d] = '\0'; + param_1[0x1e] = '\0'; + param_1[0x1f] = '\0'; + } + else { + uVar3 = (uint)uVar2; + if (((*(longlong *)((longlong)param_2 + 0x18) == 0) || + (*(uint *)(*(longlong *)((longlong)param_2 + 0x18) + 0x20) % uVar1 != uVar3)) && + ((*(longlong *)((longlong)param_2 + 0x10) == 0 || + (*(uint *)(*(longlong *)((longlong)param_2 + 0x10) + 0x20) % uVar1 != uVar3)))) { + *(undefined8 *)(*(longlong *)(param_1 + 8) + uVar2 * 8) = 0; + } + else if (param_2 == *(LPVOID *)(*(longlong *)(param_1 + 8) + (longlong)(int)uVar3 * 8)) { + *(undefined8 *)(*(longlong *)(param_1 + 8) + uVar2 * 8) = + *(undefined8 *)((longlong)param_2 + 0x10); + } + if (param_2 == *(LPVOID *)(param_1 + 0x10)) { + *(undefined8 *)(param_1 + 0x10) = *(undefined8 *)((longlong)param_2 + 0x10); + *(undefined8 *)((longlong)param_2 + 0x18) = 0; + } + if (param_2 == *(LPVOID *)(param_1 + 0x18)) { + *(undefined8 *)(param_1 + 0x18) = *(undefined8 *)((longlong)param_2 + 0x18); + *(undefined8 *)((longlong)param_2 + 0x10) = 0; + } + if (*(longlong *)((longlong)param_2 + 0x18) != 0) { + *(undefined8 *)(*(longlong *)((longlong)param_2 + 0x18) + 0x10) = + *(undefined8 *)((longlong)param_2 + 0x10); + } + if (*(longlong *)((longlong)param_2 + 0x10) != 0) { + *(undefined8 *)(*(longlong *)((longlong)param_2 + 0x10) + 0x18) = + *(undefined8 *)((longlong)param_2 + 0x18); + } + } + FUN_14009cfe0(param_1,param_2,param_3); + FUN_1400c8cb0(param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009d150.c b/decomp/AgentManager_Release_x64/full/functions/0x14009d150.c new file mode 100644 index 00000000..fe74d9de --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009d150.c @@ -0,0 +1,70 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009d150 FUN_14009d150 + * Pseudocode, not original source. */ + +void FUN_14009d150(longlong param_1,ulonglong param_2,int param_3) + +{ + ulonglong uVar1; + undefined8 uVar2; + ulonglong uVar3; + int iVar5; + ulonglong uVar6; + uint uVar7; + ulonglong uVar9; + ulonglong uVar10; + longlong lVar11; + uint local_res10; + ulonglong local_res20; + ulonglong local_28; + ulonglong uVar4; + int iVar8; + + local_res10 = (uint)param_2; + uVar6 = (ulonglong)param_3; + local_res20 = (ulonglong)(int)local_res10; + local_28 = uVar6; + if (param_3 < (int)local_res10) { + do { + uVar9 = param_2 & 0xffffffff; + iVar5 = (int)uVar6; + lVar11 = (longlong)iVar5; + uVar3 = local_res20; + while( true ) { + uVar1 = *(ulonglong *)(param_1 + local_28 * 8); + uVar4 = *(ulonglong *)(param_1 + lVar11 * 8); + while ((uVar4 < uVar1 && (lVar11 < (longlong)uVar3))) { + lVar11 = lVar11 + 1; + uVar4 = *(ulonglong *)(param_1 + lVar11 * 8); + } + do { + uVar10 = uVar9; + uVar4 = uVar3; + uVar3 = uVar4 - 1; + iVar8 = (int)uVar10; + uVar7 = iVar8 - 1; + uVar9 = (ulonglong)uVar7; + } while (uVar1 < *(ulonglong *)(param_1 + uVar3 * 8)); + if ((longlong)uVar3 <= lVar11) break; + uVar2 = *(undefined8 *)(param_1 + lVar11 * 8); + *(undefined8 *)(param_1 + lVar11 * 8) = *(undefined8 *)(param_1 + uVar3 * 8); + *(undefined8 *)(param_1 + uVar3 * 8) = uVar2; + } + *(undefined8 *)(param_1 + local_28 * 8) = *(undefined8 *)(param_1 + uVar3 * 8); + *(ulonglong *)(param_1 + uVar3 * 8) = uVar1; + if ((int)(((int)param_2 - uVar7) + -1) < (int)(uVar7 - iVar5)) { + FUN_14009d150(param_1,(ulonglong)(iVar8 - 2),iVar5); + uVar6 = uVar10; + local_28 = uVar4; + } + else { + FUN_14009d150(param_1,param_2,iVar8); + local_res10 = iVar8 - 2; + local_res20 = uVar4 - 2; + } + param_2 = (ulonglong)local_res10; + } while ((int)uVar6 < (int)local_res10); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009d260.c b/decomp/AgentManager_Release_x64/full/functions/0x14009d260.c new file mode 100644 index 00000000..f2dc278d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009d260.c @@ -0,0 +1,51 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009d260 FUN_14009d260 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_14009d260(longlong param_1,uint param_2,int param_3,SIZE_T *param_4,SIZE_T *param_5) + +{ + longlong lVar1; + longlong lVar2; + longlong *plVar3; + SIZE_T *pSVar4; + SIZE_T *pSVar5; + undefined1 auStack_68 [32]; + SIZE_T local_48; + undefined1 local_40; + undefined8 local_38; + SIZE_T *local_30; + ulonglong local_28; + + local_38 = 0xfffffffffffffffe; + local_28 = DAT_14016f5a0 ^ (ulonglong)auStack_68; + local_30 = param_4; + if (param_3 == 1) { + lVar2 = 0; + local_48 = 0; + local_40 = 1; + if ((*(longlong **)(param_1 + 0x15d8) != (longlong *)0x0) && + (lVar1 = **(longlong **)(param_1 + 0x15d8), lVar1 != 0)) { + lVar2 = lVar1 + -0x40; + } + pSVar5 = &local_48; + pSVar4 = param_4; + param_5 = param_4; + FUN_1400ceb20(lVar2,(longlong)param_4,pSVar5,param_4); + } + else { + FUN_14009c580(param_1); + plVar3 = (longlong *)0x0; + if (*(undefined8 **)(param_1 + 0x1570) != (undefined8 *)0x0) { + plVar3 = (longlong *)**(undefined8 **)(param_1 + 0x1570); + } + pSVar4 = (SIZE_T *)(ulonglong)param_2; + pSVar5 = param_4; + FUN_1400c8300(plVar3,(ulonglong)pSVar4,(longlong)param_4,param_5); + } + FUN_14004db20((longlong)param_4,pSVar4,pSVar5,param_5); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009d330.c b/decomp/AgentManager_Release_x64/full/functions/0x14009d330.c new file mode 100644 index 00000000..446c5a09 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009d330.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009d330 FUN_14009d330 + * Pseudocode, not original source. */ + +undefined8 * +FUN_14009d330(undefined8 param_1,undefined8 *param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003e7c0(param_1,param_2,param_3,param_4); + *param_2 = PTR_DAT_14016f010; + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009d360.c b/decomp/AgentManager_Release_x64/full/functions/0x14009d360.c new file mode 100644 index 00000000..2d5b44b4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009d360.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009d360 FUN_14009d360 + * Pseudocode, not original source. */ + +longlong * FUN_14009d360(longlong param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong lVar1; + longlong lVar2; + longlong lVar3; + + lVar1 = *(longlong *)(param_1 + 0x568); + lVar3 = 0; + lVar2 = lVar3; + if (lVar1 != 0) { + lVar2 = *(longlong *)(lVar1 + 0x38); + } + if (*(longlong *)(lVar2 + 0x2b0) == 0) { + FUN_14003e7c0(lVar2,param_2,0,param_4); + *param_2 = (longlong)PTR_DAT_14016f010; + return param_2; + } + if (lVar1 != 0) { + lVar3 = *(longlong *)(lVar1 + 0x38); + } + FUN_1400c9900(*(longlong *)(lVar3 + 0x2b0),param_2,lVar3,param_4); + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009d3d0.c b/decomp/AgentManager_Release_x64/full/functions/0x14009d3d0.c new file mode 100644 index 00000000..041a2e09 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009d3d0.c @@ -0,0 +1,34 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009d3d0 FUN_14009d3d0 + * Pseudocode, not original source. */ + +void FUN_14009d3d0(longlong *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + int *piVar1; + undefined4 *puVar2; + bool bVar3; + + piVar1 = (int *)*param_1; + if (piVar1 != (int *)0x0) { + FUN_14003d040(piVar1); + bVar3 = true; + *(longlong *)(*param_1 + 0x40) = *(longlong *)(*param_1 + 0x40) + -1; + if (*(longlong *)(*param_1 + 0x40) == 0) { + FUN_14003d0d0((longlong)piVar1); + bVar3 = false; + puVar2 = (undefined4 *)*param_1; + if (*(undefined8 **)(puVar2 + 0xe) != (undefined8 *)0x0) { + param_2 = 1; + (**(code **)**(undefined8 **)(puVar2 + 0xe))(); + } + FUN_14003d110(puVar2,param_2,param_3,param_4); + FUN_14003e8b0(puVar2); + } + if (bVar3) { + FUN_14003d0d0((longlong)piVar1); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009d480.c b/decomp/AgentManager_Release_x64/full/functions/0x14009d480.c new file mode 100644 index 00000000..1433b0c8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009d480.c @@ -0,0 +1,19 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009d480 FUN_14009d480 + * Pseudocode, not original source. */ + +void FUN_14009d480(longlong *param_1) + +{ + undefined8 *puVar1; + + if ((*param_1 != 0) && + (*(longlong *)(*param_1 + 8) = *(longlong *)(*param_1 + 8) + -1, + *(longlong *)(*param_1 + 8) == 0)) { + puVar1 = (undefined8 *)*param_1; + operator_delete((void *)*puVar1); + FUN_14003e8b0(puVar1); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009d4d0.c b/decomp/AgentManager_Release_x64/full/functions/0x14009d4d0.c new file mode 100644 index 00000000..70369674 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009d4d0.c @@ -0,0 +1,110 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009d4d0 FUN_14009d4d0 + * Pseudocode, not original source. */ + +longlong * FUN_14009d4d0(longlong *param_1) + +{ + wint_t *pwVar1; + undefined *puVar2; + int iVar3; + wint_t *pwVar4; + wint_t *pwVar5; + int iVar6; + int iVar7; + undefined *_Dst; + + pwVar4 = (wint_t *)*param_1; + if ((wint_t *)*param_1 == (wint_t *)0x0) { + pwVar4 = (wint_t *)PTR_DAT_14016f010; + } + iVar3 = iswspace(*pwVar4); + while (iVar3 != 0) { + pwVar4 = (wint_t *)FUN_14003e6c0((longlong)pwVar4); + iVar3 = iswspace(*pwVar4); + } + pwVar1 = (wint_t *)*param_1; + pwVar5 = pwVar1; + if (pwVar1 == (wint_t *)0x0) { + pwVar5 = (wint_t *)PTR_DAT_14016f010; + } + if (pwVar4 == pwVar5) { + return param_1; + } + pwVar5 = pwVar1; + if (pwVar1 == (wint_t *)0x0) { + pwVar5 = (wint_t *)PTR_DAT_14016f010; + } + iVar6 = 0; + iVar3 = 0; + if (pwVar1 != (wint_t *)0x0) { + if (pwVar1 != (wint_t *)PTR_DAT_14016f010) { + iVar3 = *(int *)(pwVar1 + -4); + } + if (pwVar1 != (wint_t *)0x0) { + iVar7 = 0; + if (pwVar1 != (wint_t *)PTR_DAT_14016f010) { + iVar7 = *(int *)(pwVar1 + -4); + } + goto LAB_14009d56c; + } + } + iVar7 = 0; +LAB_14009d56c: + if (((iVar3 <= iVar7) && (iVar3 = iVar6, pwVar1 != (wint_t *)0x0)) && + (iVar3 = 0, pwVar1 != (wint_t *)PTR_DAT_14016f010)) { + iVar3 = *(int *)(pwVar1 + -4); + } + iVar7 = 1; + if (1 < iVar3) { + iVar7 = iVar3; + } + iVar3 = 0; + if ((pwVar1 != (wint_t *)0x0) && (iVar3 = 0, pwVar1 != (wint_t *)PTR_DAT_14016f010)) { + iVar3 = *(int *)(pwVar1 + -4); + } + if (iVar3 < iVar7) { + FUN_140001d10(param_1,iVar7); + } + FUN_140001df0(param_1); + puVar2 = (undefined *)*param_1; + iVar3 = (int)((longlong)pwVar4 - (longlong)pwVar5 >> 1); + _Dst = puVar2; + if (puVar2 == (undefined *)0x0) { + _Dst = PTR_DAT_14016f010; + } + iVar7 = 0; + if ((puVar2 != (undefined *)0x0) && (puVar2 != PTR_DAT_14016f010)) { + iVar7 = *(int *)(puVar2 + -8); + } + iVar7 = iVar7 - iVar3; + if (puVar2 == (undefined *)0x0) { + iVar6 = 0; + } + else if (puVar2 != PTR_DAT_14016f010) { + iVar6 = *(int *)(puVar2 + -8); + } + memmove_s(_Dst,(longlong)(iVar6 + 1) * 2,_Dst + (longlong)iVar3 * 2,(longlong)(iVar7 + 1) * 2); + puVar2 = (undefined *)*param_1; + iVar3 = 0; + iVar6 = 0; + if (0 < iVar7) { + iVar6 = iVar7; + } + if ((puVar2 != (undefined *)0x0) && (puVar2 != PTR_DAT_14016f010)) { + iVar3 = *(int *)(puVar2 + -8); + } + if ((iVar3 <= iVar6) && (iVar6 = 0, puVar2 != (undefined *)0x0)) { + if (puVar2 == PTR_DAT_14016f010) { + return param_1; + } + iVar6 = *(int *)(puVar2 + -8); + } + if (((puVar2 != PTR_DAT_14016f010) && (puVar2 != (undefined *)0x0)) && + ((int *)(puVar2 + -8) != (int *)0x0)) { + *(int *)(puVar2 + -8) = iVar6; + *(undefined2 *)(puVar2 + (longlong)iVar6 * 2) = 0; + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009d690.c b/decomp/AgentManager_Release_x64/full/functions/0x14009d690.c new file mode 100644 index 00000000..e8b9661b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009d690.c @@ -0,0 +1,63 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009d690 FUN_14009d690 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x00014009d7ad) */ +/* WARNING: Removing unreachable block (ram,0x00014009d7bb) */ + +void FUN_14009d690(ulonglong *param_1,ulonglong *param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong *plVar1; + int *piVar2; + ulonglong *puVar3; + int *piVar4; + int *piVar5; + undefined4 *puVar6; + + piVar5 = (int *)*param_2; + piVar2 = (int *)*param_1; + if (piVar2 != piVar5) { + piVar4 = piVar2; + if (piVar5 < piVar2) { + piVar4 = piVar5; + piVar5 = piVar2; + } + puVar3 = param_2; + if (piVar4 != (int *)0x0) { + FUN_14003d040(piVar4); + } + if (piVar5 != (int *)0x0) { + FUN_14003d040(piVar5); + } + if (*param_2 != 0) { + plVar1 = (longlong *)(*param_2 + 0x40); + *plVar1 = *plVar1 + 1; + } + puVar6 = (undefined4 *)0x0; + if (*param_1 != 0) { + plVar1 = (longlong *)(*param_1 + 0x40); + *plVar1 = *plVar1 + -1; + if (*(longlong *)((undefined4 *)*param_1 + 0x10) == 0) { + puVar6 = (undefined4 *)*param_1; + } + } + *param_1 = *param_2; + if (piVar4 != (int *)0x0) { + FUN_14003d0d0((longlong)piVar4); + } + if (piVar5 != (int *)0x0) { + FUN_14003d0d0((longlong)piVar5); + } + if (puVar6 != (undefined4 *)0x0) { + if (*(undefined8 **)(puVar6 + 0xe) != (undefined8 *)0x0) { + puVar3 = (ulonglong *)0x1; + (**(code **)**(undefined8 **)(puVar6 + 0xe))(); + } + FUN_14003d110(puVar6,puVar3,param_3,param_4); + FUN_14003e8b0(puVar6); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009d7e0.c b/decomp/AgentManager_Release_x64/full/functions/0x14009d7e0.c new file mode 100644 index 00000000..6169d1f8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009d7e0.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009d7e0 FUN_14009d7e0 + * Pseudocode, not original source. */ + +void FUN_14009d7e0(longlong *param_1,longlong *param_2) + +{ + longlong lVar1; + undefined8 *puVar2; + + lVar1 = *param_2; + if (lVar1 != *param_1) { + if (lVar1 != 0) { + *(longlong *)(*param_2 + 8) = *(longlong *)(lVar1 + 8) + 1; + } + puVar2 = (undefined8 *)0x0; + if ((*param_1 != 0) && + (*(longlong *)(*param_1 + 8) = *(longlong *)(*param_1 + 8) + -1, + *(longlong *)(*param_1 + 8) == 0)) { + puVar2 = (undefined8 *)*param_1; + } + *param_1 = *param_2; + if (puVar2 != (undefined8 *)0x0) { + operator_delete((void *)*puVar2); + FUN_14003e8b0(puVar2); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009d860.c b/decomp/AgentManager_Release_x64/full/functions/0x14009d860.c new file mode 100644 index 00000000..cbf24c34 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009d860.c @@ -0,0 +1,34 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009d860 FUN_14009d860 + * Pseudocode, not original source. */ + +void FUN_14009d860(longlong *param_1,longlong *param_2) + +{ + longlong lVar1; + undefined8 *puVar2; + longlong *plVar3; + + lVar1 = *param_2; + if (lVar1 != *param_1) { + if (lVar1 != 0) { + *(longlong *)(*param_2 + 8) = *(longlong *)(lVar1 + 8) + 1; + } + plVar3 = (longlong *)0x0; + if ((*param_1 != 0) && + (*(longlong *)(*param_1 + 8) = *(longlong *)(*param_1 + 8) + -1, + *(longlong *)(*param_1 + 8) == 0)) { + plVar3 = (longlong *)*param_1; + } + *param_1 = *param_2; + if (plVar3 != (longlong *)0x0) { + puVar2 = (undefined8 *)*plVar3; + if (puVar2 != (undefined8 *)0x0) { + (**(code **)*puVar2)(puVar2,1); + } + FUN_14003e8b0(plVar3); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009d8e0.c b/decomp/AgentManager_Release_x64/full/functions/0x14009d8e0.c new file mode 100644 index 00000000..978cab1e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009d8e0.c @@ -0,0 +1,35 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009d8e0 FUN_14009d8e0 + * Pseudocode, not original source. */ + +void FUN_14009d8e0(longlong *param_1,int param_2) + +{ + undefined *puVar1; + int iVar2; + int iVar3; + + FUN_140001ee0(param_1,param_2); + puVar1 = (undefined *)*param_1; + iVar2 = 0; + if (0 < param_2) { + iVar2 = param_2; + } + iVar3 = 0; + if ((puVar1 != (undefined *)0x0) && (iVar3 = 0, puVar1 != PTR_DAT_14016f010)) { + iVar3 = *(int *)(puVar1 + -8); + } + if ((iVar3 <= iVar2) && (iVar2 = 0, puVar1 != (undefined *)0x0)) { + if (puVar1 == PTR_DAT_14016f010) { + return; + } + iVar2 = *(int *)(puVar1 + -8); + } + if (((puVar1 != PTR_DAT_14016f010) && (puVar1 != (undefined *)0x0)) && + ((int *)(puVar1 + -8) != (int *)0x0)) { + *(int *)(puVar1 + -8) = iVar2; + *(undefined2 *)(puVar1 + (longlong)iVar2 * 2) = 0; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009d960.c b/decomp/AgentManager_Release_x64/full/functions/0x14009d960.c new file mode 100644 index 00000000..80a7c3dd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009d960.c @@ -0,0 +1,132 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009d960 FUN_14009d960 + * Pseudocode, not original source. */ + +/* WARNING: Function: __chkstk replaced with injection: alloca_probe */ +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_14009d960(longlong *param_1) + +{ + longlong lVar1; + undefined8 uVar2; + undefined4 *puVar3; + longlong *plVar4; + ulonglong uVar5; + ulonglong uVar6; + undefined8 *puVar7; + undefined8 *puVar8; + undefined1 *puVar9; + ulonglong uVar10; + ulonglong uVar11; + undefined8 *puVar12; + ulonglong uVar13; + undefined1 auStack_38 [32]; + ulonglong local_18 [2]; + + puVar9 = auStack_38; + local_18[0] = DAT_14016f5a0 ^ (ulonglong)local_18; + if ((ulonglong)param_1[2] < 0x65) { + plVar4 = param_1 + 4; + } + else { + plVar4 = (longlong *)*param_1; + } + FUN_14009d150((longlong)plVar4,(ulonglong)*(uint *)(param_1 + 1),0); + uVar5 = param_1[1] * 8 + 0x10; + if (uVar5 < 0x401) { + lVar1 = param_1[1] * 8; + uVar5 = lVar1 + 0x1f; + if (uVar5 <= lVar1 + 0x10U) { + uVar5 = 0xffffffffffffff0; + } + lVar1 = -(uVar5 & 0xfffffffffffffff0); + puVar9 = auStack_38 + lVar1; + puVar3 = (undefined4 *)((longlong)local_18 + lVar1); + puVar12 = (undefined8 *)0x0; + if (puVar3 == (undefined4 *)0x0) goto LAB_14009da10; + *puVar3 = 0xcccc; + puVar9 = auStack_38 + lVar1; + } + else { + puVar3 = malloc(uVar5); + puVar12 = (undefined8 *)0x0; + if (puVar3 == (undefined4 *)0x0) goto LAB_14009da10; + *puVar3 = 0xdddd; + puVar9 = auStack_38; + } + puVar12 = (undefined8 *)(puVar3 + 4); +LAB_14009da10: + uVar5 = param_1[1]; + uVar13 = 0; + uVar6 = uVar13; + uVar10 = uVar13; + uVar11 = uVar13; + if (uVar5 != 0) { + do { + if (uVar10 == 0) { +LAB_14009da59: + if (((longlong)uVar6 < 0) || (param_1[1] <= (longlong)uVar6)) { + /* WARNING: Subroutine does not return */ + *(undefined **)(puVar9 + -8) = &UNK_14009dad4; + FUN_14003dec0(); + } + if ((ulonglong)param_1[2] < 0x65) { + plVar4 = param_1 + uVar6 + 4; + } + else { + plVar4 = (longlong *)(*param_1 + uVar6 * 8); + } + uVar11 = uVar10 + 1; + puVar12[uVar10] = *plVar4; + } + else { + if (((longlong)uVar6 < 0) || (param_1[1] <= (longlong)uVar6)) { + /* WARNING: Subroutine does not return */ + *(undefined **)(puVar9 + -8) = &UNK_14009dace; + FUN_14003dec0(); + } + if ((ulonglong)param_1[2] < 0x65) { + plVar4 = param_1 + uVar6 + 4; + } + else { + plVar4 = (longlong *)(*param_1 + uVar6 * 8); + } + uVar11 = uVar10; + if (*plVar4 != puVar12[uVar10 - 1]) goto LAB_14009da59; + } + uVar6 = uVar6 + 1; + uVar10 = uVar11; + } while (uVar6 < uVar5); + } + *(undefined8 *)(puVar9 + -8) = 0x14009da9b; + FUN_14009ca00(param_1,uVar11,-1); + if (0 < (longlong)uVar11) { + puVar8 = puVar12; + do { + if (((longlong)uVar13 < 0) || (param_1[1] <= (longlong)uVar13)) { + /* WARNING: Subroutine does not return */ + *(undefined **)(puVar9 + -8) = &UNK_14009db2d; + FUN_14003dec0(); + } + if ((ulonglong)param_1[2] < 0x65) { + lVar1 = (longlong)param_1 + (0x20 - (longlong)puVar12); + } + else { + lVar1 = *param_1 - (longlong)puVar12; + } + puVar7 = (undefined8 *)(lVar1 + (longlong)puVar8); + uVar2 = *puVar8; + uVar13 = uVar13 + 1; + puVar8 = puVar8 + 1; + *puVar7 = uVar2; + } while ((longlong)uVar13 < (longlong)uVar11); + } + if ((puVar12 != (undefined8 *)0x0) && (*(int *)(puVar12 + -2) == 0xdddd)) { + *(undefined8 *)(puVar9 + -8) = 0x14009db06; + free(puVar12 + -2); + } + *(undefined8 *)(puVar9 + -8) = 0x14009db12; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009db30.c b/decomp/AgentManager_Release_x64/full/functions/0x14009db30.c new file mode 100644 index 00000000..7a25af17 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009db30.c @@ -0,0 +1,36 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009db30 FUN_14009db30 + * Pseudocode, not original source. */ + +longlong * FUN_14009db30(longlong *param_1,longlong *param_2,SIZE_T param_3,undefined8 param_4) + +{ + int iVar1; + undefined8 *puVar2; + undefined8 *puVar3; + + FUN_1400020c0(param_1,param_2,param_3,param_4); + *(short *)(param_1 + 1) = (short)param_2[1]; + *(undefined4 *)((longlong)param_1 + 0xc) = *(undefined4 *)((longlong)param_2 + 0xc); + *(int *)(param_1 + 2) = (int)param_2[2]; + *(undefined4 *)((longlong)param_1 + 0x14) = *(undefined4 *)((longlong)param_2 + 0x14); + *(int *)(param_1 + 3) = (int)param_2[3]; + iVar1 = (int)param_2[7]; + if (-1 < iVar1) { + FUN_14002a050((longlong)(param_1 + 4),iVar1,param_3); + puVar2 = (undefined8 *)0x0; + puVar3 = puVar2; + if ((int)param_2[7] != 0) { + puVar3 = (undefined8 *)param_2[6]; + } + if ((int)param_1[7] != 0) { + puVar2 = (undefined8 *)param_1[6]; + } + FUN_140006fb0(puVar2,puVar3,(longlong)iVar1); + param_1[9] = param_2[9]; + return param_1; + } + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009dbd0.c b/decomp/AgentManager_Release_x64/full/functions/0x14009dbd0.c new file mode 100644 index 00000000..fdef6c16 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009dbd0.c @@ -0,0 +1,65 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009dbd0 FUN_14009dbd0 + * Pseudocode, not original source. */ + +void FUN_14009dbd0(longlong param_1,longlong param_2,size_t param_3) + +{ + int iVar1; + int *piVar2; + longlong lVar3; + longlong lVar4; + ulonglong uVar5; + longlong lVar6; + int iVar7; + longlong lVar8; + + piVar2 = (int *)(**(code **)(*(longlong *)(param_1 + -0x70) + 0x58))(); + FUN_14003d040(piVar2); + FUN_14004cce0(param_2,0,param_3); + if (*(longlong *)(param_1 + 0x590) == 0) { + lVar6 = 0; + } + else { + lVar6 = *(longlong *)(param_1 + 0x580); + } + while( true ) { + if (lVar6 == 0) { + FUN_14003d0d0((longlong)piVar2); + return; + } + iVar1 = *(int *)(param_2 + 0x18); + lVar8 = (longlong)iVar1; + if (iVar1 < 0) break; + iVar7 = *(int *)(param_2 + 0x18); + FUN_14004cce0(param_2,iVar7 + 1,param_3); + iVar7 = iVar7 - iVar1; + if (0 < iVar7) { + if (*(int *)(param_2 + 0x18) == 0) { + lVar4 = 0; + lVar3 = 0; + } + else { + lVar4 = *(longlong *)(param_2 + 0x10); + lVar3 = *(longlong *)(param_2 + 0x10); + } + param_3 = (longlong)iVar7 << 2; + memmove((void *)(lVar3 + 4 + lVar8 * 4),(void *)(lVar4 + lVar8 * 4),param_3); + } + if (*(int *)(param_2 + 0x18) == 0) { + lVar4 = 0; + } + else { + lVar4 = *(longlong *)(param_2 + 0x10); + } + uVar5 = 0; + do { + *(undefined1 *)(uVar5 + lVar4 + lVar8 * 4) = *(undefined1 *)(uVar5 + lVar6); + uVar5 = uVar5 + 1; + } while (uVar5 < 4); + lVar6 = *(longlong *)(lVar6 + 0x10); + } + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009dd00.c b/decomp/AgentManager_Release_x64/full/functions/0x14009dd00.c new file mode 100644 index 00000000..2acdc9a0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009dd00.c @@ -0,0 +1,85 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009dd00 FUN_14009dd00 + * Pseudocode, not original source. */ + +void FUN_14009dd00(longlong *param_1,undefined8 param_2,SIZE_T param_3,undefined *param_4) + +{ + int *piVar1; + longlong lVar2; + undefined8 uVar3; + longlong lVar4; + longlong lVar5; + double dVar6; + + piVar1 = (int *)(**(code **)(*param_1 + 0x58))(param_1,param_2,param_3,param_4,0xfffffffffffffffe) + ; + FUN_14003d040(piVar1); + dVar6 = (double)(**(code **)(param_1[0xe] + 0x1c0))(); + lVar5 = 0; + if (param_1[0xbb] != 0) { + lVar5 = *(longlong *)(param_1[0xbb] + 0x38); + } + FUN_14009a980((double *)(param_1 + 0x2ef),*(double *)(lVar5 + 0x100)); + if ((char)param_1[0x2f1] != '\0') { + if (((longlong *)param_1[0x2a4] != (longlong *)0x0) && + (lVar5 = *(longlong *)param_1[0x2a4], lVar5 != 0)) { + FUN_1400d2e40(lVar5 + -0x40,dVar6,param_3,param_4); + if (param_1[0x2ce] == 0) { + lVar5 = 0; + } + else { + lVar5 = param_1[0x2cc]; + } + for (; lVar5 != 0; lVar5 = *(longlong *)(lVar5 + 0x10)) { + lVar4 = 0; + if (*(longlong **)(lVar5 + 8) != (longlong *)0x0) { + lVar4 = **(longlong **)(lVar5 + 8); + } + if (*(char *)(lVar4 + 0x684) == '\0') { + if ((*(longlong **)(lVar4 + 0x18) != (longlong *)0x0) && + (**(longlong **)(lVar4 + 0x18) != 0)) { + lVar2 = FUN_1400cf2a0(lVar4); + FUN_1400d2e40(lVar2,dVar6,param_3,param_4); + } + uVar3 = FUN_1400cf3d0((longlong *)(lVar4 + 0x668)); + *(int *)(lVar4 + 0x58) = (int)uVar3; + } + } + } + if ((((longlong *)param_1[699] != (longlong *)0x0) && + (lVar5 = *(longlong *)param_1[699], lVar5 != 0)) && (lVar5 != 0x40)) { + if (lVar5 != 0) { + lVar5 = lVar5 + -0x40; + } + FUN_1400ce800(lVar5,dVar6); + } + } + if (DAT_14016f058 < dVar6 - (double)param_1[0x1a]) { + if (((longlong *)param_1[0x2a4] != (longlong *)0x0) && + (lVar5 = *(longlong *)param_1[0x2a4], lVar5 != 0)) { + FUN_14008d250(*(longlong **)(lVar5 + 200),dVar6,param_3,param_4); + } + if (param_1[0x2ce] == 0) { + lVar5 = 0; + } + else { + lVar5 = param_1[0x2cc]; + } + for (; lVar5 != 0; lVar5 = *(longlong *)(lVar5 + 0x10)) { + lVar4 = 0; + if (*(longlong **)(lVar5 + 8) != (longlong *)0x0) { + lVar4 = **(longlong **)(lVar5 + 8); + } + if (((*(char *)(lVar4 + 0x684) == '\0') && (*(longlong **)(lVar4 + 0x18) != (longlong *)0x0)) + && (**(longlong **)(lVar4 + 0x18) != 0)) { + lVar4 = FUN_1400cf2a0(lVar4); + FUN_14008d250(*(longlong **)(lVar4 + 0x108),dVar6,param_3,param_4); + } + } + param_1[0x1a] = (longlong)dVar6; + } + FUN_14003d0d0((longlong)piVar1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009def0.c b/decomp/AgentManager_Release_x64/full/functions/0x14009def0.c new file mode 100644 index 00000000..d6f237c5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009def0.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009def0 FUN_14009def0 + * Pseudocode, not original source. */ + +undefined8 * +FUN_14009def0(longlong param_1,undefined8 *param_2,undefined8 param_3,undefined8 param_4) + +{ + int *piVar1; + int *piVar2; + undefined8 *puVar3; + longlong lVar4; + + lVar4 = 0; + puVar3 = param_2; + piVar1 = (int *)(**(code **)(*(longlong *)(param_1 + -0x70) + 0x58))(); + piVar2 = piVar1; + FUN_14003d040(piVar1); + if (*(longlong *)(param_1 + 0x1600) != 0) { + lVar4 = *(longlong *)(param_1 + 0x15f0); + } + for (; lVar4 != 0; lVar4 = *(longlong *)(lVar4 + 0x10)) { + } + FUN_14003e7c0(piVar2,puVar3,param_3,param_4); + *param_2 = PTR_DAT_14016f010; + FUN_14003d0d0((longlong)piVar1); + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009df80.c b/decomp/AgentManager_Release_x64/full/functions/0x14009df80.c new file mode 100644 index 00000000..b0f1e858 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009df80.c @@ -0,0 +1,51 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009df80 FUN_14009df80 + * Pseudocode, not original source. */ + +void FUN_14009df80(longlong param_1,undefined8 *param_2) + +{ + int *piVar1; + longlong lVar2; + undefined1 uVar3; + longlong lVar4; + + piVar1 = (int *)(**(code **)(*(longlong *)(param_1 + -0x70) + 0x58))(); + FUN_14003d040(piVar1); + *param_2 = *(undefined8 *)(param_1 + 0x5e8); + param_2[1] = *(undefined8 *)(param_1 + 0x5f0); + param_2[2] = *(undefined8 *)(param_1 + 0x5f8); + param_2[3] = *(undefined8 *)(param_1 + 0x600); + param_2[4] = *(undefined8 *)(param_1 + 0x608); + param_2[5] = *(undefined8 *)(param_1 + 0x610); + param_2[6] = *(undefined8 *)(param_1 + 0x618); + param_2[7] = *(undefined8 *)(param_1 + 0x620); + *(int *)(param_2 + 6) = (int)*(undefined8 *)(param_1 + 0x1600); + if ((*(longlong **)(param_1 + 0x1500) == (longlong *)0x0) || + (lVar2 = **(longlong **)(param_1 + 0x1500), lVar2 == 0)) { + uVar3 = 0; + } + else { + uVar3 = *(undefined1 *)(lVar2 + 0x80); + } + *(undefined1 *)((longlong)param_2 + 0x34) = uVar3; + *(undefined4 *)(param_1 + 0x620) = 0; + if (*(longlong *)(param_1 + 0x1600) == 0) { + lVar2 = 0; + } + else { + lVar2 = *(longlong *)(param_1 + 0x15f0); + } + for (; lVar2 != 0; lVar2 = *(longlong *)(lVar2 + 0x10)) { + lVar4 = 0; + if (*(longlong **)(lVar2 + 8) != (longlong *)0x0) { + lVar4 = **(longlong **)(lVar2 + 8); + } + if (*(char *)(lVar4 + 0x608) == '\0') { + *(int *)(param_1 + 0x620) = *(int *)(param_1 + 0x620) + 1; + } + } + FUN_14003d0d0((longlong)piVar1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009e0a0.c b/decomp/AgentManager_Release_x64/full/functions/0x14009e0a0.c new file mode 100644 index 00000000..d0f6b005 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009e0a0.c @@ -0,0 +1,68 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009e0a0 FUN_14009e0a0 + * Pseudocode, not original source. */ + +void FUN_14009e0a0(longlong param_1,longlong param_2,undefined8 param_3,longlong param_4) + +{ + uint uVar1; + undefined4 uVar2; + undefined4 uVar3; + int iVar4; + longlong lVar5; + longlong lVar6; + ulonglong uVar7; + int iVar8; + longlong lVar9; + longlong lVar10; + int iVar11; + longlong lVar12; + longlong lVar13; + + uVar7 = 0; + lVar10 = param_2; + FUN_14007a530(param_2,0,param_3,param_4); + iVar4 = *(int *)(param_1 + 0x18); + iVar11 = 0; + lVar12 = 0; + if (0 < iVar4) { + lVar13 = 0; + do { + if ((lVar12 < 0) || (iVar4 <= iVar11)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(lVar10,uVar7,param_3,param_4); + } + iVar4 = *(int *)(param_2 + 0x18); + uVar2 = *(undefined4 *)(lVar13 + 8 + *(longlong *)(param_1 + 0x10)); + uVar3 = *(undefined4 *)(*(longlong *)(lVar13 + *(longlong *)(param_1 + 0x10)) + 0x56c); + if (iVar4 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + iVar8 = *(int *)(param_2 + 0x18); + uVar1 = iVar8 + 1; + uVar7 = (ulonglong)uVar1; + FUN_14007a530(param_2,uVar1,param_3,param_4); + iVar8 = iVar8 - iVar4; + if ((0 < iVar8) && (iVar8 = iVar8 + -1, lVar10 = (longlong)iVar8, -1 < iVar8)) { + lVar9 = (lVar10 + iVar4) * 8 + 8; + do { + lVar5 = FUN_140074a30(param_2); + lVar6 = FUN_140074a30(param_2); + *(undefined8 *)(lVar6 + lVar9) = *(undefined8 *)(lVar5 + -8 + lVar9); + lVar9 = lVar9 + -8; + lVar10 = lVar10 + -1; + } while (-1 < lVar10); + } + lVar9 = FUN_140074a30(param_2); + lVar10 = CONCAT44(uVar2,uVar3); + *(longlong *)(lVar9 + (longlong)iVar4 * 8) = lVar10; + iVar4 = *(int *)(param_1 + 0x18); + iVar11 = iVar11 + 1; + lVar12 = lVar12 + 1; + lVar13 = lVar13 + 0x10; + } while (iVar11 < iVar4); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009e1d0.c b/decomp/AgentManager_Release_x64/full/functions/0x14009e1d0.c new file mode 100644 index 00000000..3b8c69c3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009e1d0.c @@ -0,0 +1,28 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009e1d0 FUN_14009e1d0 + * Pseudocode, not original source. */ + +void FUN_14009e1d0(longlong param_1,uint param_2,undefined8 param_3,undefined *param_4) + +{ + longlong lVar1; + + if (*(longlong *)(param_1 + 0x1670) == 0) { + lVar1 = 0; + } + else { + lVar1 = *(longlong *)(param_1 + 0x1660); + } + while (lVar1 != 0) { + if (*(longlong **)(lVar1 + 8) == (longlong *)0x0) { + FUN_1400d1440(0,'\x01',(ulonglong)param_2,param_4); + lVar1 = *(longlong *)(lVar1 + 0x10); + } + else { + FUN_1400d1440(**(longlong **)(lVar1 + 8),'\x01',(ulonglong)param_2,param_4); + lVar1 = *(longlong *)(lVar1 + 0x10); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009e230.c b/decomp/AgentManager_Release_x64/full/functions/0x14009e230.c new file mode 100644 index 00000000..15c0705d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009e230.c @@ -0,0 +1,48 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009e230 FUN_14009e230 + * Pseudocode, not original source. */ + +void FUN_14009e230(longlong *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + int *piVar1; + longlong lVar2; + longlong lVar3; + + piVar1 = (int *)(**(code **)(*param_1 + 0x58))(); + FUN_14003d040(piVar1); + if ((((longlong *)param_1[699] != (longlong *)0x0) && + (lVar3 = *(longlong *)param_1[699], lVar3 != 0)) && (lVar3 != 0x40)) { + if (lVar3 != 0) { + lVar3 = lVar3 + -0x40; + } + FUN_1400ce9a0(lVar3,param_2,param_3,param_4); + } + if ((((longlong *)param_1[0x2a4] != (longlong *)0x0) && + (lVar3 = *(longlong *)param_1[0x2a4], lVar3 != 0)) && (lVar3 != 0x40)) { + if (lVar3 != 0) { + lVar3 = lVar3 + -0x40; + } + FUN_1400d2b90(lVar3,param_2,param_3,param_4); + } + if (param_1[0x2ce] == 0) { + lVar3 = 0; + } + else { + lVar3 = param_1[0x2cc]; + } + for (; lVar3 != 0; lVar3 = *(longlong *)(lVar3 + 0x10)) { + lVar2 = 0; + if (*(longlong **)(lVar3 + 8) != (longlong *)0x0) { + lVar2 = **(longlong **)(lVar3 + 8); + } + if (((*(char *)(lVar2 + 0x684) == '\0') && (*(longlong **)(lVar2 + 0x18) != (longlong *)0x0)) && + (**(longlong **)(lVar2 + 0x18) != 0)) { + lVar2 = FUN_1400cf2a0(lVar2); + FUN_1400d2b90(lVar2,param_2,param_3,param_4); + } + } + FUN_14003d0d0((longlong)piVar1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009e320.c b/decomp/AgentManager_Release_x64/full/functions/0x14009e320.c new file mode 100644 index 00000000..eab60218 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009e320.c @@ -0,0 +1,53 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009e320 FUN_14009e320 + * Pseudocode, not original source. */ + +/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ + +void FUN_14009e320(longlong param_1) + +{ + int *piVar1; + longlong lVar2; + double dVar3; + undefined8 uVar4; + undefined4 local_res8 [2]; + + if ((*(char *)(param_1 + 0x6cc) != '\0') && + (dVar3 = (double)(**(code **)(*(longlong *)(param_1 + 0x70) + 0x1c0))(param_1 + 0x70), + _DAT_14016f168 < dVar3 - *(double *)(param_1 + 0x638))) { + if (*(longlong *)(param_1 + 0x1670) == 0) { + piVar1 = (int *)0x0; + } + else { + piVar1 = *(int **)(param_1 + 0x1660); + } + for (; piVar1 != (int *)0x0; piVar1 = *(int **)(piVar1 + 4)) { + uVar4 = (**(code **)(*(longlong *)(param_1 + 0x70) + 0x1c0))(param_1 + 0x70); + *(undefined8 *)(param_1 + 0x638) = uVar4; + if (piVar1 == (int *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + if (*(int *)(param_1 + 0x1578) < *piVar1) { + lVar2 = 0; + if (*(longlong **)(piVar1 + 2) != (longlong *)0x0) { + lVar2 = **(longlong **)(piVar1 + 2); + } + if ((*(char *)(lVar2 + 0x684) == '\0') && (*(char *)(lVar2 + 0x608) == '\0')) { + if ((*(double *)(lVar2 + 0x50) <= 0.0) || + ((*(double *)(lVar2 + 0x60) <= 0.0 || + (dVar3 = *(double *)(lVar2 + 0x60) + *(double *)(param_1 + 0x4f8), + *(double *)(lVar2 + 0x50) <= dVar3)))) { + dVar3 = *(double *)(lVar2 + 0x50); + } + local_res8[0] = (undefined4)(longlong)(dVar3 * 1000.0); + (**(code **)(*(longlong *)(param_1 + 0x1818) + 0x110)) + ((longlong *)(param_1 + 0x1818),1,&DAT_140177f90,lVar2 + 0x56c,local_res8); + } + } + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009e480.c b/decomp/AgentManager_Release_x64/full/functions/0x14009e480.c new file mode 100644 index 00000000..d7e651d7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009e480.c @@ -0,0 +1,51 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009e480 FUN_14009e480 + * Pseudocode, not original source. */ + +void FUN_14009e480(longlong *param_1) + +{ + int *piVar1; + longlong lVar2; + double dVar3; + longlong lVar4; + undefined4 local_res8 [2]; + undefined8 uVar5; + int *piVar6; + undefined1 uVar7; + + uVar5 = 0xfffffffffffffffe; + piVar1 = (int *)(**(code **)(*param_1 + 0x58))(); + piVar6 = piVar1; + FUN_14003d040(piVar1); + uVar7 = 1; + if (((int)param_1[0x2af] != 0) && (0.0 < (double)param_1[0xa2])) { + dVar3 = (double)(**(code **)(param_1[0xe] + 0x1c0))(param_1 + 0xe); + if (DAT_14016f100 < dVar3 - (double)param_1[0xa2]) { + lVar4 = (**(code **)(param_1[0xe] + 0x1c0))(param_1 + 0xe); + param_1[0xa2] = lVar4; + local_res8[0] = (undefined4)param_1[0xa1]; + (**(code **)(param_1[0x303] + 0x150)) + (param_1 + 0x303,1,&DAT_140177f90,local_res8,uVar5,piVar6,uVar7); + if (param_1[0x2ce] == 0) { + lVar4 = 0; + } + else { + lVar4 = param_1[0x2cc]; + } + for (; lVar4 != 0; lVar4 = *(longlong *)(lVar4 + 0x10)) { + lVar2 = 0; + if (*(longlong **)(lVar4 + 8) != (longlong *)0x0) { + lVar2 = **(longlong **)(lVar4 + 8); + } + if (*(char *)(lVar2 + 0x684) == '\0') { + (**(code **)(param_1[0x2fa] + 0x40)) + (param_1 + 0x2fa,*(undefined4 *)(lVar2 + 0x56c),&DAT_140177f90,lVar2 + 0x48); + } + } + } + } + FUN_14003d0d0((longlong)piVar1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009e5b0.c b/decomp/AgentManager_Release_x64/full/functions/0x14009e5b0.c new file mode 100644 index 00000000..50b577e8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009e5b0.c @@ -0,0 +1,58 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009e5b0 FUN_14009e5b0 + * Pseudocode, not original source. */ + +undefined4 FUN_14009e5b0(longlong param_1,longlong param_2) + +{ + short sVar1; + ulonglong uVar2; + longlong lVar3; + int iVar4; + longlong lVar5; + + (**(code **)(*(longlong *)(param_1 + 0x78) + 0x10))(param_1 + 0x78); + if ((*(int *)(param_2 + 8) == 0) || (uVar2 = FUN_140041850(param_2), (char)uVar2 != '\0')) { + if ((*(longlong **)(param_1 + 0x1570) != (longlong *)0x0) && + ((lVar3 = **(longlong **)(param_1 + 0x1570), lVar3 != 0 && + (uVar2 = FUN_140041850(lVar3 + 200), (char)uVar2 != '\0')))) { + lVar3 = 0; + if (*(longlong **)(param_1 + 0x1570) != (longlong *)0x0) { + lVar3 = **(longlong **)(param_1 + 0x1570); + } + if ((*(int *)(lVar3 + 0xd0) == *(int *)(param_2 + 8)) && + (*(short *)(lVar3 + 0xd4) == *(short *)(param_2 + 0xc))) { + return 1; + } + } + iVar4 = DAT_14016f3d0; + sVar1 = DAT_14016f3d4; + if ((((*(longlong **)(param_1 + 0x1520) != (longlong *)0x0) && + (lVar3 = **(longlong **)(param_1 + 0x1520), lVar3 != 0)) && (lVar3 != 0x40)) && + (iVar4 = iRam0000000000000140, sVar1 = sRam0000000000000144, lVar3 != 0)) { + iVar4 = *(int *)(lVar3 + 0x100); + sVar1 = *(short *)(lVar3 + 0x104); + } + if ((iVar4 == *(int *)(param_2 + 8)) && (sVar1 == *(short *)(param_2 + 0xc))) { + return *(undefined4 *)(param_1 + 0x1578); + } + if (*(longlong *)(param_1 + 0x1670) == 0) { + lVar3 = 0; + } + else { + lVar3 = *(longlong *)(param_1 + 0x1660); + } + for (; lVar3 != 0; lVar3 = *(longlong *)(lVar3 + 0x10)) { + lVar5 = 0; + if (*(longlong **)(lVar3 + 8) != (longlong *)0x0) { + lVar5 = **(longlong **)(lVar3 + 8); + } + if ((*(int *)(lVar5 + 0x5a8) == *(int *)(param_2 + 8)) && + (*(short *)(lVar5 + 0x5ac) == *(short *)(param_2 + 0xc))) { + return *(undefined4 *)(lVar5 + 0x56c); + } + } + } + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009e710.c b/decomp/AgentManager_Release_x64/full/functions/0x14009e710.c new file mode 100644 index 00000000..4b4773d0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009e710.c @@ -0,0 +1,25 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009e710 FUN_14009e710 + * Pseudocode, not original source. */ + +void FUN_14009e710(longlong *param_1,undefined8 param_2,ulonglong param_3,ulonglong param_4) + +{ + undefined8 *puVar1; + longlong *plVar2; + + if (*param_1 != 0) { + *(longlong *)(*param_1 + 8) = *(longlong *)(*param_1 + 8) + -1; + if (*(longlong *)(*param_1 + 8) == 0) { + puVar1 = (undefined8 *)*param_1; + plVar2 = (longlong *)*puVar1; + if (plVar2 != (longlong *)0x0) { + FUN_1400c0900(plVar2,0,param_3,param_4); + operator_delete(plVar2); + } + FUN_14003e8b0(puVar1); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009e780.c b/decomp/AgentManager_Release_x64/full/functions/0x14009e780.c new file mode 100644 index 00000000..f463a19c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009e780.c @@ -0,0 +1,42 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009e780 FUN_14009e780 + * Pseudocode, not original source. */ + +longlong * FUN_14009e780(longlong *param_1) + +{ + wint_t _C; + int iVar1; + wint_t *pwVar2; + undefined *puVar3; + wint_t *pwVar4; + + pwVar2 = (wint_t *)*param_1; + if ((wint_t *)*param_1 == (wint_t *)0x0) { + pwVar2 = (wint_t *)PTR_DAT_14016f010; + } + pwVar4 = (wint_t *)0x0; + _C = *pwVar2; + if (_C != 0) { + do { + iVar1 = iswspace(_C); + if (iVar1 == 0) { + pwVar4 = (wint_t *)0x0; + } + else if (pwVar4 == (wint_t *)0x0) { + pwVar4 = pwVar2; + } + pwVar2 = (wint_t *)FUN_14003e6c0((longlong)pwVar2); + _C = *pwVar2; + } while (_C != 0); + if (pwVar4 != (wint_t *)0x0) { + puVar3 = (undefined *)*param_1; + if ((undefined *)*param_1 == (undefined *)0x0) { + puVar3 = PTR_DAT_14016f010; + } + FUN_14009d8e0(param_1,(int)((longlong)pwVar4 - (longlong)puVar3 >> 1)); + } + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009e820.c b/decomp/AgentManager_Release_x64/full/functions/0x14009e820.c new file mode 100644 index 00000000..ca82b8b4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009e820.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009e820 FUN_14009e820 + * Pseudocode, not original source. */ + +void FUN_14009e820(longlong *param_1,longlong *param_2) + +{ + longlong lVar1; + longlong *plVar2; + undefined8 *puVar3; + ulonglong uVar4; + + lVar1 = *param_2; + if (lVar1 != *param_1) { + uVar4 = 0; + if (lVar1 != 0) { + uVar4 = *(longlong *)(lVar1 + 8) + 1; + *(ulonglong *)(*param_2 + 8) = uVar4; + } + puVar3 = (undefined8 *)0x0; + if ((*param_1 != 0) && + (*(longlong *)(*param_1 + 8) = *(longlong *)(*param_1 + 8) + -1, + *(longlong *)(*param_1 + 8) == 0)) { + puVar3 = (undefined8 *)*param_1; + } + *param_1 = *param_2; + if (puVar3 != (undefined8 *)0x0) { + plVar2 = (longlong *)*puVar3; + if (plVar2 != (longlong *)0x0) { + FUN_1400c0900(plVar2,param_2,uVar4,(ulonglong)param_1); + operator_delete(plVar2); + } + FUN_14003e8b0(puVar3); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009e8b0.c b/decomp/AgentManager_Release_x64/full/functions/0x14009e8b0.c new file mode 100644 index 00000000..2bfdd6c4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009e8b0.c @@ -0,0 +1,28 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009e8b0 FUN_14009e8b0 + * Pseudocode, not original source. */ + +void FUN_14009e8b0(longlong *param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + int *piVar1; + longlong *plVar2; + int *piVar3; + undefined *local_res18 [2]; + + plVar2 = FUN_140042570(param_2,(longlong *)local_res18,param_3,param_4); + FUN_140029980(param_1,plVar2); + if (((local_res18[0] != (undefined *)0x0) && (local_res18[0] != PTR_DAT_14016f010)) && + (local_res18[0] + -8 != (undefined *)0x0)) { + piVar3 = (int *)FUN_14003e7c0(param_1,plVar2,param_3,param_4); + FUN_14003d040(piVar3); + piVar1 = (int *)(local_res18[0] + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(local_res18[0] + -8); + } + FUN_14003d0d0((longlong)piVar3); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009e940.c b/decomp/AgentManager_Release_x64/full/functions/0x14009e940.c new file mode 100644 index 00000000..19a9ba35 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009e940.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009e940 FUN_14009e940 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x00014009e99c) */ +/* WARNING: Removing unreachable block (ram,0x00014009e9a5) */ +/* WARNING: Removing unreachable block (ram,0x00014009e9c3) */ +/* WARNING: Removing unreachable block (ram,0x00014009e9cc) */ + +undefined4 * FUN_14009e940(undefined4 *param_1) + +{ + *(undefined1 *)(param_1 + 2) = 0; + param_1[0xc] = 0x11; + *(undefined8 *)(param_1 + 0x16) = 0; + *(undefined8 *)(param_1 + 4) = 0; + *(undefined8 *)(param_1 + 6) = 0; + *(undefined8 *)(param_1 + 8) = 0; + *(undefined8 *)(param_1 + 10) = 0; + param_1[0x14] = 0; + param_1[0xd] = 0x3f400000; + param_1[0xe] = 0x3e800000; + param_1[0xf] = 0x40100000; + *(undefined8 *)(param_1 + 0x10) = 0x26; + *(undefined8 *)(param_1 + 0x12) = 0; + *param_1 = 0; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14009e9f0.c b/decomp/AgentManager_Release_x64/full/functions/0x14009e9f0.c new file mode 100644 index 00000000..9224da86 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14009e9f0.c @@ -0,0 +1,2082 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14009e9f0 FUN_14009e9f0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* WARNING: Type propagation algorithm not settling */ + +undefined8 FUN_14009e9f0(longlong *param_1,uint *param_2,SIZE_T param_3,undefined8 param_4) + +{ + undefined ***pppuVar1; + int *piVar2; + uint uVar3; + uint uVar4; + undefined *puVar5; + uchar auVar6 [8]; + undefined ***pppuVar7; + char cVar8; + int iVar9; + DWORD DVar10; + DWORD DVar11; + undefined8 uVar12; + undefined **ppuVar13; + undefined *puVar14; + undefined **ppuVar15; + undefined **ppuVar16; + short *psVar17; + longlong *plVar18; + longlong *plVar19; + ulonglong uVar20; + undefined2 uVar21; + ulong uVar22; + undefined4 uVar23; + undefined1 *puVar24; + IMAGE_DOS_HEADER *pIVar25; + SIZE_T SVar26; + undefined8 uVar27; + undefined **ppuVar28; + undefined1 auStack_4b8 [32]; + uchar local_498 [8]; + UUID *local_490; + undefined ***local_488; + UUID *local_480; + UUID *local_478; + byte *local_470; + UUID *local_468; + byte *local_460; + uchar *local_458; + byte local_448 [8]; + uchar local_440 [8]; + uchar local_438 [8]; + uchar local_430 [8]; + undefined ***local_428; + UUID local_420; + uint local_410; + SIZE_T local_408; + undefined **local_400; + undefined *local_3f8; + undefined **local_3f0; + SIZE_T local_3e8; + undefined8 local_3e0; + ulong local_3d8 [2]; + UUID local_3d0; + uint local_3c0; + SIZE_T local_3b8; + undefined1 local_3a8 [4]; + uint local_3a4; + SIZE_T local_370; + undefined **local_348; + undefined8 local_340; + uint local_338; + SIZE_T local_330; + ulong local_328; + undefined **local_320; + undefined **local_318; + undefined **local_310; + undefined **local_308; + undefined **local_300; + undefined4 local_2f8; + undefined **local_2f0; + uchar local_2e8 [8]; + undefined **local_2e0; + uchar local_2d8 [8]; + undefined **local_2d0; + uint local_2c8 [2]; + undefined **local_2c0; + uchar local_2b8 [8]; + undefined **local_2b0; + undefined *local_2a8; + undefined **local_2a0; + undefined **local_298; + undefined **local_290; + uchar local_288 [8]; + undefined **local_280; + undefined4 local_278; + undefined **local_270; + uchar local_268 [8]; + undefined **local_260; + undefined *local_258; + undefined **local_250; + undefined **local_248; + undefined4 local_240; + undefined4 local_23c; + ulong local_238; + undefined **local_230; + ulong local_228; + uchar local_224 [4]; + undefined4 local_220; + uchar local_21c [4]; + undefined **local_218; + undefined *local_210; + undefined **local_208; + SIZE_T local_200; + undefined8 local_1f8; + undefined *local_1f0; + undefined *local_1e8; + undefined **local_1e0; + undefined8 local_1d8; + undefined **local_1d0; + undefined8 local_1c8; + undefined8 local_1c0; + longlong local_1b8; + longlong local_1b0; + longlong local_1a8; + longlong local_1a0; + longlong local_198; + longlong local_190; + longlong local_188; + longlong local_180; + longlong local_178; + longlong local_170; + longlong local_168; + longlong local_160; + longlong local_158; + longlong local_150; + longlong local_148; + longlong local_140; + longlong local_138; + longlong local_130; + longlong local_128; + longlong local_120; + longlong local_118; + longlong local_110; + longlong local_108; + longlong local_100; + longlong local_f8; + longlong local_f0; + longlong local_e8; + longlong local_e0; + longlong local_d8; + longlong local_d0; + longlong local_c8 [3]; + longlong local_b0; + longlong local_a8 [2]; + UUID local_98; + uint local_88; + SIZE_T local_80; + UUID local_78; + uint local_68; + SIZE_T local_60; + int local_58; + ulonglong local_48; + + local_c8[1] = 0xfffffffffffffffe; + local_48 = DAT_14016f5a0 ^ (ulonglong)auStack_4b8; + uVar3 = param_2[10]; + SVar26 = param_3; + if (uVar3 == 0) { + FUN_140079c10(); + } + uVar4 = *param_2; + uVar12 = FUN_140075890(param_2,local_2c8,SVar26,param_4); + if ((char)uVar12 == '\0') { +switchD_14009ea94_default: + uVar20 = FUN_140074bb0((int *)param_2, + (ulonglong)(uint)((int)(((int)uVar4 >> 0x1f & 7U) + uVar4) >> 3),SVar26, + param_4); + return uVar20 & 0xffffffffffffff00; + } + pIVar25 = &IMAGE_DOS_HEADER_140000000; + local_370 = param_3; + switch(local_2c8[0]) { + case 0xfbf5: + FUN_140049b40(local_3a8); + local_3a4 = param_2[10]; + local_3a8[0] = (undefined1)param_2[0x10]; + FUN_140075970(param_2,(undefined4 *)local_440,SVar26,param_4); + FUN_140075970(param_2,(undefined4 *)local_438,SVar26,param_4); + ppuVar28 = (undefined **)0x0; + ppuVar16 = (undefined **)0x0; + local_3f8 = (undefined *)0x0; + local_3f0 = (undefined **)0x0; + local_3e8 = 0; + local_3e0 = 0; + local_400 = Proud::ByteArray::vftable; + uVar20 = FUN_140075580(param_2,(undefined8 *)&local_420,SVar26,param_4); + uVar12 = local_420._0_8_; + if ((((char)uVar20 != '\0') && (iVar9 = local_420.Data1, -1 < iVar9)) && + (iVar9 <= DAT_14016f140)) { + FUN_14002a050((longlong)&local_400,iVar9,SVar26); + ppuVar15 = local_3f0; + if ((int)local_3e8 == 0) { + ppuVar15 = ppuVar28; + } + FUN_140074ee0(param_2,ppuVar15,uVar12 & 0xffffffff); + } + SVar26 = 4; + uVar12 = FUN_140074ee0(param_2,(undefined8 *)&local_420,4); + if ((char)uVar12 != '\0') { + local_3d8[0] = local_420.Data1; + } + local_210 = (undefined *)0x0; + local_208 = (undefined **)0x0; + local_200 = 0; + local_1f8 = 0; + local_218 = Proud::ByteArray::vftable; + uVar20 = FUN_140075580(param_2,(undefined8 *)&local_420,SVar26,param_4); + uVar12 = local_420._0_8_; + if ((((char)uVar20 != '\0') && (iVar9 = local_420.Data1, -1 < iVar9)) && + (iVar9 <= DAT_14016f140)) { + FUN_14002a050((longlong)&local_218,iVar9,SVar26); + ppuVar15 = local_208; + if ((int)local_200 == 0) { + ppuVar15 = ppuVar28; + } + SVar26 = uVar12 & 0xffffffff; + FUN_140074ee0(param_2,ppuVar15,SVar26); + } + local_1d8 = 0; + local_1d0 = (undefined **)0x0; + local_1c8 = 0; + local_1c0 = 0; + local_1e0 = Proud::ByteArray::vftable; + uVar20 = FUN_140075580(param_2,(undefined8 *)&local_420,SVar26,param_4); + uVar12 = local_420._0_8_; + if ((((char)uVar20 != '\0') && (iVar9 = local_420.Data1, -1 < iVar9)) && + (iVar9 <= DAT_14016f140)) { + FUN_14002a050((longlong)&local_1e0,iVar9,SVar26); + ppuVar15 = local_1d0; + if ((int)local_1c8 == 0) { + ppuVar15 = ppuVar28; + } + FUN_140074ee0(param_2,ppuVar15,uVar12 & 0xffffffff); + } + uVar12 = FUN_140074ee0(param_2,(undefined8 *)&local_420,4); + local_3d0.Data1 = 0; + if ((char)uVar12 != '\0') { + local_3d0.Data1 = local_420.Data1; + } + local_98._0_8_ = (undefined **)0x0; + local_98.Data4[0] = '\0'; + local_98.Data4[1] = '\0'; + local_98.Data4[2] = '\0'; + local_98.Data4[3] = '\0'; + local_98.Data4[4] = '\0'; + local_98.Data4[5] = '\0'; + local_98.Data4[6] = '\0'; + local_98.Data4[7] = '\0'; + local_78._0_8_ = (undefined **)0x0; + local_78.Data4[0] = '\0'; + local_78.Data4[1] = '\0'; + local_78.Data4[2] = '\0'; + local_78.Data4[3] = '\0'; + local_78.Data4[4] = '\0'; + local_78.Data4[5] = '\0'; + local_78.Data4[6] = '\0'; + local_78.Data4[7] = '\0'; + uVar12 = FUN_140074ee0(param_2,(undefined8 *)&local_78,0x10); + if ((char)uVar12 != '\0') { + local_98.Data1 = local_78.Data1; + local_98.Data2 = local_78.Data2; + local_98.Data3 = local_78.Data3; + local_98.Data4[0] = local_78.Data4[0]; + local_98.Data4[1] = local_78.Data4[1]; + local_98.Data4[2] = local_78.Data4[2]; + local_98.Data4[3] = local_78.Data4[3]; + local_98.Data4[4] = local_78.Data4[4]; + local_98.Data4[5] = local_78.Data4[5]; + local_98.Data4[6] = local_78.Data4[6]; + local_98.Data4[7] = local_78.Data4[7]; + } + uVar12 = FUN_140074ee0(param_2,(undefined8 *)&local_420,1); + if ((char)uVar12 != '\0') { + local_448[0] = (byte)local_420.Data1; + } + uVar12 = FUN_140074ee0(param_2,(undefined8 *)&local_420,2); + if ((char)uVar12 != '\0') { + local_430._0_2_ = (undefined2)local_420.Data1; + } + plVar19 = (longlong *)param_1[2]; + puVar14 = PTR_DAT_140170890; + (**(code **)(*plVar19 + 0x48))(); + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + local_498 = (uchar [8])&DAT_140131724; + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar3,0xfbf5,PTR_DAT_140170890); + goto LAB_14009f13f; + } + } + else { + ppuVar16 = ppuVar28; + if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar19,param_2,puVar14,param_4); + local_420._0_8_ = PTR_DAT_14016f010; + local_2b8[0] = local_440[0]; + local_2b8[1] = local_440[1]; + local_2b8[2] = local_440[2]; + local_2b8[3] = local_440[3]; + FUN_1400926b0((longlong *)&local_420); + FUN_140029bf0((longlong *)&local_420,(short *)&DAT_140133350); + local_240._0_1_ = local_438[0]; + local_240._1_1_ = local_438[1]; + local_240._2_1_ = local_438[2]; + local_240._3_1_ = local_438[3]; + FUN_1400926b0((longlong *)&local_420); + FUN_140029bf0((longlong *)&local_420,(short *)&DAT_140133350); + FUN_1400928f0((longlong *)&local_420); + FUN_140029bf0((longlong *)&local_420,(short *)&DAT_140133350); + FUN_140092710((longlong *)&local_420); + FUN_140029bf0((longlong *)&local_420,(short *)&DAT_140133350); + FUN_1400928f0((longlong *)&local_420); + FUN_140029bf0((longlong *)&local_420,(short *)&DAT_140133350); + FUN_1400928f0((longlong *)&local_420); + FUN_140029bf0((longlong *)&local_420,(short *)&DAT_140133350); + local_238 = local_3d0.Data1; + FUN_1400926b0((longlong *)&local_420); + FUN_140029bf0((longlong *)&local_420,(short *)&DAT_140133350); + FUN_140092900((longlong *)&local_420,&local_98); + FUN_140029bf0((longlong *)&local_420,(short *)&DAT_140133350); + FUN_1400925d0((longlong *)&local_420,(char *)local_448); + FUN_140029bf0((longlong *)&local_420,(short *)&DAT_140133350); + FUN_140092650((longlong *)&local_420); + FUN_140029bf0((longlong *)&local_420,(short *)&DAT_140133350); + iVar9 = 0; + if (((undefined **)local_420._0_8_ != (undefined **)0x0) && + ((undefined *)local_420._0_8_ != PTR_DAT_14016f010)) { + iVar9 = *(int *)(local_420._0_8_ + -8); + } + uVar20 = (ulonglong)(iVar9 - 2U); + local_428 = (undefined ***) + FUN_140028f40((longlong *)&local_420,(longlong *)&local_1f0,iVar9 - 2U); + ppuVar16 = (undefined **)local_420._0_8_; + if ((undefined **)local_420._0_8_ == (undefined **)0x0) { + ppuVar16 = (undefined **)PTR_DAT_14016f010; + } + local_420._0_8_ = ppuVar16; + if (*local_428 != ppuVar16) { + ppuVar16 = (undefined **)FUN_14003e7c0(ppuVar16,PTR_DAT_14016f010,uVar20,param_4); + local_78._0_8_ = ppuVar16; + FUN_14003d040((int *)ppuVar16); + uVar12 = local_420._0_8_; + local_78.Data4[0] = '\x01'; + if ((((undefined **)local_420._0_8_ != (undefined **)0x0) && + ((undefined *)local_420._0_8_ != PTR_DAT_14016f010)) && + (ppuVar15 = (undefined **)(local_420._0_8_ + -8), ppuVar15 != (undefined **)0x0)) { + ppuVar13 = (undefined **)FUN_14003e7c0(local_420._0_8_,PTR_DAT_14016f010,uVar20,param_4) + ; + local_348 = ppuVar13; + FUN_14003d040((int *)ppuVar13); + local_340 = (undefined *)CONCAT71(local_340._1_7_,1); + piVar2 = (int *)(uVar12 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(ppuVar15); + } + FUN_14003d0d0((longlong)ppuVar13); + } + local_420._0_8_ = *local_428; + if ((((undefined *)local_420._0_8_ != PTR_DAT_14016f010) && + ((undefined **)local_420._0_8_ != (undefined **)0x0)) && + ((undefined **)local_420._0_8_ != (undefined **)0x8)) { + *(int *)(local_420._0_8_ + -4) = *(int *)(local_420._0_8_ + -4) + 1; + } + FUN_14003d0d0((longlong)ppuVar16); + } + if (((local_1f0 != (undefined *)0x0) && (local_1f0 != PTR_DAT_14016f010)) && + (local_1f0 + -8 != (undefined *)0x0)) { + ppuVar16 = (undefined **)FUN_14003e7c0(ppuVar16,PTR_DAT_14016f010,uVar20,param_4); + local_78._0_8_ = ppuVar16; + FUN_14003d040((int *)ppuVar16); + local_78.Data4[0] = '\x01'; + piVar2 = (int *)(local_1f0 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(local_1f0 + -8); + } + FUN_14003d0d0((longlong)ppuVar16); + } + local_428 = &local_318; + puVar14 = PTR_DAT_14016f010; + local_1f0 = PTR_DAT_14016f010; + FUN_14003e7c0(ppuVar16,PTR_DAT_14016f010,uVar20,param_4); + local_318 = (undefined **)PTR_DAT_14016f010; + if (PTR_DAT_14016f010 == (undefined *)0x0) { + local_318 = ppuVar28; + } + if ((undefined *)local_420._0_8_ != PTR_DAT_14016f010) { + ppuVar16 = (undefined **)FUN_14003e7c0(ppuVar16,puVar14,uVar20,param_4); + local_78._0_8_ = ppuVar16; + FUN_14003d040((int *)ppuVar16); + local_78.Data4[0] = '\x01'; + FUN_140002190((longlong *)&local_318,puVar14,uVar20,param_4); + local_318 = (undefined **)local_420._0_8_; + if ((((undefined *)local_420._0_8_ != PTR_DAT_14016f010) && + ((undefined **)local_420._0_8_ != (undefined **)0x0)) && + ((undefined **)local_420._0_8_ != (undefined **)0x8)) { + *(int *)(local_420._0_8_ + -4) = *(int *)(local_420._0_8_ + -4) + 1; + } + FUN_14003d0d0((longlong)ppuVar16); + } + puVar5 = PTR_DAT_140170890; + FUN_14003e7c0(ppuVar16,puVar14,uVar20,param_4); + local_258 = PTR_DAT_14016f010; + iVar9 = FUN_14003e620((short *)puVar5); + puVar14 = FUN_140001ee0((longlong *)&local_258,iVar9); + FUN_14003e650(puVar14,puVar5,iVar9); + FUN_140001fc0((longlong *)&local_258); + (**(code **)(*param_1 + 0x28))(param_1,0xfbf5,&local_258,&local_318); + local_498 = (uchar [8])local_420._0_8_; + if ((undefined **)local_420._0_8_ == (undefined **)0x0) { + local_498 = (uchar [8])PTR_DAT_14016f010; + } + plVar19 = (longlong *)param_1[2]; + uVar27 = 0xfbf5; + uVar20 = (ulonglong)uVar3; + puVar14 = PTR_DAT_140170890; + (**(code **)(*plVar19 + 0x70))(); + uVar12 = local_420._0_8_; + if ((((undefined **)local_420._0_8_ != (undefined **)0x0) && + ((undefined *)local_420._0_8_ != PTR_DAT_14016f010)) && + (ppuVar16 = (undefined **)(local_420._0_8_ + -8), ppuVar16 != (undefined **)0x0)) { + ppuVar15 = (undefined **)FUN_14003e7c0(plVar19,uVar20,uVar27,puVar14); + local_78._0_8_ = ppuVar15; + FUN_14003d040((int *)ppuVar15); + local_78.Data4[0] = '\x01'; + piVar2 = (int *)(uVar12 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(ppuVar16); + } + FUN_14003d0d0((longlong)ppuVar15); + } +LAB_14009f13f: + ppuVar16 = ppuVar28; + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_78.Data1 = 0xfbf5; + local_78.Data4 = (uchar [8])PTR_DAT_140170890; + local_68 = uVar3; + local_60 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_78); + DVar10 = GetTickCount(); + ppuVar16 = (undefined **)(ulonglong)DVar10; + } + } + } + local_458 = local_430; + local_460 = local_448; + local_468 = &local_98; + local_470 = (byte *)&local_3d0; + local_478 = (UUID *)&local_1e0; + local_480 = (UUID *)&local_218; + local_488 = (undefined ***)local_3d8; + local_490 = (UUID *)&local_400; + local_498 = (uchar [8])local_438; + cVar8 = (**(code **)(*param_1 + 0x38))(param_1,uVar3,local_3a8,local_440); + if (cVar8 == '\0') { + (**(code **)(*(longlong *)param_1[2] + 0x40))((longlong *)param_1[2],PTR_DAT_140170890); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_78.Data1 = 0xfbf5; + local_78.Data4 = (uchar [8])PTR_DAT_140170890; + local_68 = uVar3; + local_60 = param_3; + DVar10 = GetTickCount(); + local_58 = DVar10 - (int)ppuVar16; + (**(code **)(*param_1 + 0x18))(param_1,&local_78); + } + FUN_140049e40(&local_1e0); + FUN_140049e40(&local_218); + uVar12 = FUN_140049e40(&local_400); + goto LAB_1400a23d3; + case 0xfbf6: + FUN_140049b40(local_3a8); + local_3a4 = param_2[10]; + local_3a8[0] = (undefined1)param_2[0x10]; + FUN_140075970(param_2,&local_3d0.Data1,SVar26,param_4); + FUN_140075970(param_2,(undefined4 *)local_438,SVar26,param_4); + ppuVar28 = (undefined **)0x0; + ppuVar16 = (undefined **)0x0; + local_3f8 = (undefined *)0x0; + local_3f0 = (undefined **)0x0; + local_3e8 = 0; + local_3e0 = 0; + local_400 = Proud::ByteArray::vftable; + uVar20 = FUN_140075580(param_2,&local_428,SVar26,param_4); + pppuVar7 = local_428; + if ((((char)uVar20 != '\0') && (iVar9 = (int)local_428, -1 < iVar9)) && (iVar9 <= DAT_14016f140) + ) { + FUN_14002a050((longlong)&local_400,iVar9,SVar26); + ppuVar15 = local_3f0; + if ((int)local_3e8 == 0) { + ppuVar15 = ppuVar28; + } + FUN_140074ee0(param_2,ppuVar15,(ulonglong)pppuVar7 & 0xffffffff); + } + uVar12 = FUN_140074ee0(param_2,(undefined8 *)&local_420,4); + if ((char)uVar12 != '\0') { + local_3d8[0] = local_420.Data1; + } + uVar12 = FUN_140074ee0(param_2,(undefined8 *)&local_420,4); + uVar22 = 0; + if ((char)uVar12 != '\0') { + uVar22 = local_420.Data1; + } + local_440[0] = (char)uVar22; + local_440[1] = (char)(uVar22 >> 8); + local_440[2] = (char)(uVar22 >> 0x10); + local_440[3] = (char)(uVar22 >> 0x18); + local_98._0_8_ = (undefined **)0x0; + local_98.Data4[0] = '\0'; + local_98.Data4[1] = '\0'; + local_98.Data4[2] = '\0'; + local_98.Data4[3] = '\0'; + local_98.Data4[4] = '\0'; + local_98.Data4[5] = '\0'; + local_98.Data4[6] = '\0'; + local_98.Data4[7] = '\0'; + local_78._0_8_ = (undefined **)0x0; + local_78.Data4[0] = '\0'; + local_78.Data4[1] = '\0'; + local_78.Data4[2] = '\0'; + local_78.Data4[3] = '\0'; + local_78.Data4[4] = '\0'; + local_78.Data4[5] = '\0'; + local_78.Data4[6] = '\0'; + local_78.Data4[7] = '\0'; + uVar12 = FUN_140074ee0(param_2,(undefined8 *)&local_78,0x10); + if ((char)uVar12 != '\0') { + local_98.Data1 = local_78.Data1; + local_98.Data2 = local_78.Data2; + local_98.Data3 = local_78.Data3; + local_98.Data4[0] = local_78.Data4[0]; + local_98.Data4[1] = local_78.Data4[1]; + local_98.Data4[2] = local_78.Data4[2]; + local_98.Data4[3] = local_78.Data4[3]; + local_98.Data4[4] = local_78.Data4[4]; + local_98.Data4[5] = local_78.Data4[5]; + local_98.Data4[6] = local_78.Data4[6]; + local_98.Data4[7] = local_78.Data4[7]; + } + uVar12 = FUN_140074ee0(param_2,(undefined8 *)&local_420,1); + if ((char)uVar12 != '\0') { + local_448[0] = (byte)local_420.Data1; + } + uVar12 = FUN_140074ee0(param_2,(undefined8 *)&local_420,2); + if ((char)uVar12 != '\0') { + local_430._0_2_ = (undefined2)local_420.Data1; + } + plVar19 = (longlong *)param_1[2]; + puVar14 = PTR_DAT_140170898; + (**(code **)(*plVar19 + 0x48))(); + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + local_498 = (uchar [8])&DAT_140131724; + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar3,0xfbf6,PTR_DAT_140170898); + goto LAB_14009f811; + } + } + else { + ppuVar16 = ppuVar28; + if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar19,param_2,puVar14,param_4); + local_420._0_8_ = PTR_DAT_14016f010; + local_228 = local_3d0.Data1; + FUN_1400926b0((longlong *)&local_420); + FUN_140029bf0((longlong *)&local_420,(short *)&DAT_140133350); + local_220._0_1_ = local_438[0]; + local_220._1_1_ = local_438[1]; + local_220._2_1_ = local_438[2]; + local_220._3_1_ = local_438[3]; + FUN_1400926b0((longlong *)&local_420); + FUN_140029bf0((longlong *)&local_420,(short *)&DAT_140133350); + FUN_1400928f0((longlong *)&local_420); + FUN_140029bf0((longlong *)&local_420,(short *)&DAT_140133350); + FUN_140092710((longlong *)&local_420); + FUN_140029bf0((longlong *)&local_420,(short *)&DAT_140133350); + auVar6 = local_440; + local_288[0] = local_440[0]; + local_288[1] = local_440[1]; + local_288[2] = local_440[2]; + local_288[3] = local_440[3]; + local_440 = auVar6; + FUN_1400926b0((longlong *)&local_420); + FUN_140029bf0((longlong *)&local_420,(short *)&DAT_140133350); + FUN_140092900((longlong *)&local_420,&local_98); + FUN_140029bf0((longlong *)&local_420,(short *)&DAT_140133350); + FUN_1400925d0((longlong *)&local_420,(char *)local_448); + FUN_140029bf0((longlong *)&local_420,(short *)&DAT_140133350); + FUN_140092650((longlong *)&local_420); + FUN_140029bf0((longlong *)&local_420,(short *)&DAT_140133350); + iVar9 = 0; + if (((undefined **)local_420._0_8_ != (undefined **)0x0) && + ((undefined *)local_420._0_8_ != PTR_DAT_14016f010)) { + iVar9 = *(int *)(local_420._0_8_ + -8); + } + uVar20 = (ulonglong)(iVar9 - 2U); + local_428 = (undefined ***) + FUN_140028f40((longlong *)&local_420,(longlong *)&local_1e8,iVar9 - 2U); + ppuVar16 = (undefined **)local_420._0_8_; + if ((undefined **)local_420._0_8_ == (undefined **)0x0) { + ppuVar16 = (undefined **)PTR_DAT_14016f010; + } + local_420._0_8_ = ppuVar16; + if (*local_428 != ppuVar16) { + ppuVar16 = (undefined **)FUN_14003e7c0(ppuVar16,PTR_DAT_14016f010,uVar20,param_4); + local_78._0_8_ = ppuVar16; + FUN_14003d040((int *)ppuVar16); + uVar12 = local_420._0_8_; + local_78.Data4[0] = '\x01'; + if ((((undefined **)local_420._0_8_ != (undefined **)0x0) && + ((undefined *)local_420._0_8_ != PTR_DAT_14016f010)) && + (ppuVar15 = (undefined **)(local_420._0_8_ + -8), ppuVar15 != (undefined **)0x0)) { + ppuVar13 = (undefined **)FUN_14003e7c0(local_420._0_8_,PTR_DAT_14016f010,uVar20,param_4) + ; + local_348 = ppuVar13; + FUN_14003d040((int *)ppuVar13); + local_340 = (undefined *)CONCAT71(local_340._1_7_,1); + piVar2 = (int *)(uVar12 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(ppuVar15); + } + FUN_14003d0d0((longlong)ppuVar13); + } + local_420._0_8_ = *local_428; + if ((((undefined *)local_420._0_8_ != PTR_DAT_14016f010) && + ((undefined **)local_420._0_8_ != (undefined **)0x0)) && + ((undefined **)local_420._0_8_ != (undefined **)0x8)) { + *(int *)(local_420._0_8_ + -4) = *(int *)(local_420._0_8_ + -4) + 1; + } + FUN_14003d0d0((longlong)ppuVar16); + } + if (((local_1e8 != (undefined *)0x0) && (local_1e8 != PTR_DAT_14016f010)) && + (local_1e8 + -8 != (undefined *)0x0)) { + ppuVar16 = (undefined **)FUN_14003e7c0(ppuVar16,PTR_DAT_14016f010,uVar20,param_4); + local_78._0_8_ = ppuVar16; + FUN_14003d040((int *)ppuVar16); + local_78.Data4[0] = '\x01'; + piVar2 = (int *)(local_1e8 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(local_1e8 + -8); + } + FUN_14003d0d0((longlong)ppuVar16); + } + local_428 = &local_320; + puVar14 = PTR_DAT_14016f010; + local_1e8 = PTR_DAT_14016f010; + FUN_14003e7c0(ppuVar16,PTR_DAT_14016f010,uVar20,param_4); + local_320 = (undefined **)PTR_DAT_14016f010; + if (PTR_DAT_14016f010 == (undefined *)0x0) { + local_320 = ppuVar28; + } + if ((undefined *)local_420._0_8_ != PTR_DAT_14016f010) { + ppuVar16 = (undefined **)FUN_14003e7c0(ppuVar16,puVar14,uVar20,param_4); + local_78._0_8_ = ppuVar16; + FUN_14003d040((int *)ppuVar16); + local_78.Data4[0] = '\x01'; + FUN_140002190((longlong *)&local_320,puVar14,uVar20,param_4); + local_320 = (undefined **)local_420._0_8_; + if ((((undefined *)local_420._0_8_ != PTR_DAT_14016f010) && + ((undefined **)local_420._0_8_ != (undefined **)0x0)) && + ((undefined **)local_420._0_8_ != (undefined **)0x8)) { + *(int *)(local_420._0_8_ + -4) = *(int *)(local_420._0_8_ + -4) + 1; + } + FUN_14003d0d0((longlong)ppuVar16); + } + puVar5 = PTR_DAT_140170898; + FUN_14003e7c0(ppuVar16,puVar14,uVar20,param_4); + local_2a8 = PTR_DAT_14016f010; + iVar9 = FUN_14003e620((short *)puVar5); + puVar14 = FUN_140001ee0((longlong *)&local_2a8,iVar9); + FUN_14003e650(puVar14,puVar5,iVar9); + FUN_140001fc0((longlong *)&local_2a8); + (**(code **)(*param_1 + 0x28))(param_1,0xfbf6,&local_2a8,&local_320); + local_498 = (uchar [8])local_420._0_8_; + if ((undefined **)local_420._0_8_ == (undefined **)0x0) { + local_498 = (uchar [8])PTR_DAT_14016f010; + } + plVar19 = (longlong *)param_1[2]; + uVar27 = 0xfbf6; + uVar20 = (ulonglong)uVar3; + puVar14 = PTR_DAT_140170898; + (**(code **)(*plVar19 + 0x70))(); + uVar12 = local_420._0_8_; + if ((((undefined **)local_420._0_8_ != (undefined **)0x0) && + ((undefined *)local_420._0_8_ != PTR_DAT_14016f010)) && + (ppuVar16 = (undefined **)(local_420._0_8_ + -8), ppuVar16 != (undefined **)0x0)) { + ppuVar15 = (undefined **)FUN_14003e7c0(plVar19,uVar20,uVar27,puVar14); + local_78._0_8_ = ppuVar15; + FUN_14003d040((int *)ppuVar15); + local_78.Data4[0] = '\x01'; + piVar2 = (int *)(uVar12 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(ppuVar16); + } + FUN_14003d0d0((longlong)ppuVar15); + } +LAB_14009f811: + ppuVar16 = ppuVar28; + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_78.Data1 = 0xfbf6; + local_78.Data4 = (uchar [8])PTR_DAT_140170898; + local_68 = uVar3; + local_60 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_78); + DVar10 = GetTickCount(); + ppuVar16 = (undefined **)(ulonglong)DVar10; + } + } + } + local_468 = (UUID *)local_430; + local_470 = local_448; + local_478 = &local_98; + local_480 = (UUID *)local_440; + local_488 = (undefined ***)local_3d8; + local_490 = (UUID *)&local_400; + local_498 = (uchar [8])local_438; + cVar8 = (**(code **)(*param_1 + 0x40))(param_1,uVar3,local_3a8,&local_3d0); + if (cVar8 == '\0') { + (**(code **)(*(longlong *)param_1[2] + 0x40))((longlong *)param_1[2],PTR_DAT_140170898); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_218 = (undefined **)CONCAT44(local_218._4_4_,0xfbf6); + local_210 = PTR_DAT_140170898; + local_208 = (undefined **)CONCAT44(local_208._4_4_,uVar3); + local_200 = param_3; + DVar10 = GetTickCount(); + local_1f8 = CONCAT44(local_1f8._4_4_,DVar10 - (int)ppuVar16); + (**(code **)(*param_1 + 0x18))(param_1,&local_218); + } + uVar12 = FUN_140049e40(&local_400); + goto LAB_1400a23d3; + case 0xfbf7: + FUN_140049b40(local_3a8); + local_3a4 = param_2[10]; + local_3a8[0] = (undefined1)param_2[0x10]; + FUN_140075970(param_2,(undefined4 *)local_440,SVar26,param_4); + uVar12 = FUN_140074ee0(param_2,(undefined8 *)&local_420,1); + if ((char)uVar12 != '\0') { + local_448[0] = (byte)local_420.Data1; + } + local_78._0_8_ = Proud::AddrPort::vftable; + local_78.Data4 = (uchar [8])((ulonglong)(ushort)local_78.Data4._6_2_ << 0x30); + uVar12 = FUN_140074ee0(param_2,(undefined8 *)local_438,4); + uVar23 = local_78.Data4._0_4_; + if ((char)uVar12 != '\0') { + uVar23 = local_438._0_4_; + } + local_78.Data4[0] = (uchar)uVar23; + local_78.Data4[1] = SUB41(uVar23,1); + local_78.Data4[2] = SUB41(uVar23,2); + local_78.Data4[3] = SUB41(uVar23,3); + uVar12 = FUN_140074ee0(param_2,(undefined8 *)local_430,2); + uVar21 = local_78.Data4._4_2_; + if ((char)uVar12 != '\0') { + uVar21 = local_430._0_2_; + } + local_78.Data4[4] = (uchar)uVar21; + local_78.Data4[5] = SUB21(uVar21,1); + local_348 = Proud::AddrPort::vftable; + local_340 = (undefined *)((ulonglong)local_340._6_2_ << 0x30); + uVar12 = FUN_140074ee0(param_2,(undefined8 *)local_438,4); + uVar23 = (undefined4)local_340; + if ((char)uVar12 != '\0') { + uVar23 = local_438._0_4_; + } + local_340 = (undefined *)CONCAT44(local_340._4_4_,uVar23); + uVar12 = FUN_140074ee0(param_2,(undefined8 *)local_430,2); + uVar21 = local_340._4_2_; + if ((char)uVar12 != '\0') { + uVar21 = local_430._0_2_; + } + local_340._0_6_ = CONCAT24(uVar21,(undefined4)local_340); + local_3d0._0_8_ = Proud::AddrPort::vftable; + local_3d0.Data4 = (uchar [8])((ulonglong)(ushort)local_3d0.Data4._6_2_ << 0x30); + uVar12 = FUN_140074ee0(param_2,(undefined8 *)local_438,4); + uVar23 = local_3d0.Data4._0_4_; + if ((char)uVar12 != '\0') { + uVar23 = local_438._0_4_; + } + local_3d0.Data4[0] = (uchar)uVar23; + local_3d0.Data4[1] = SUB41(uVar23,1); + local_3d0.Data4[2] = SUB41(uVar23,2); + local_3d0.Data4[3] = SUB41(uVar23,3); + uVar12 = FUN_140074ee0(param_2,(undefined8 *)local_430,2); + uVar21 = local_3d0.Data4._4_2_; + if ((char)uVar12 != '\0') { + uVar21 = local_430._0_2_; + } + local_3d0.Data4[4] = (uchar)uVar21; + local_3d0.Data4[5] = SUB21(uVar21,1); + local_98._0_8_ = Proud::AddrPort::vftable; + local_98.Data4 = (uchar [8])((ulonglong)(ushort)local_98.Data4._6_2_ << 0x30); + uVar12 = FUN_140074ee0(param_2,(undefined8 *)local_438,4); + uVar23 = local_98.Data4._0_4_; + if ((char)uVar12 != '\0') { + uVar23 = local_438._0_4_; + } + local_98.Data4[0] = (uchar)uVar23; + local_98.Data4[1] = SUB41(uVar23,1); + local_98.Data4[2] = SUB41(uVar23,2); + local_98.Data4[3] = SUB41(uVar23,3); + uVar12 = FUN_140074ee0(param_2,(undefined8 *)local_430,2); + uVar21 = local_98.Data4._4_2_; + if ((char)uVar12 != '\0') { + uVar21 = local_430._0_2_; + } + local_98.Data4[4] = (uchar)uVar21; + local_98.Data4[5] = SUB21(uVar21,1); + plVar19 = (longlong *)param_1[2]; + puVar14 = PTR_DAT_1401708a0; + (**(code **)(*plVar19 + 0x48))(); + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + local_498 = (uchar [8])&DAT_140131724; + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar3,0xfbf7,PTR_DAT_1401708a0); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar19,param_2,puVar14,param_4); + auVar6 = local_440; + local_438 = (uchar [8])PTR_DAT_14016f010; + local_224[0] = local_440[0]; + local_224[1] = local_440[1]; + local_224[2] = local_440[2]; + local_224[3] = local_440[3]; + local_440 = auVar6; + FUN_1400926b0((longlong *)local_438); + FUN_140029bf0((longlong *)local_438,(short *)&DAT_140133350); + FUN_1400925d0((longlong *)local_438,(char *)local_448); + FUN_140029bf0((longlong *)local_438,(short *)&DAT_140133350); + plVar18 = (longlong *)(**(code **)local_78._0_8_)(&local_78,&local_428); + plVar19 = (longlong *)local_438; + FUN_140029980(plVar19,plVar18); + pppuVar7 = local_428; + if (((local_428 != (undefined ***)0x0) && (local_428 != (undefined ***)PTR_DAT_14016f010)) && + (pppuVar1 = local_428 + -1, pppuVar1 != (undefined ***)0x0)) { + ppuVar16 = (undefined **)FUN_14003e7c0(plVar19,plVar18,puVar14,param_4); + local_420._0_8_ = ppuVar16; + FUN_14003d040((int *)ppuVar16); + local_420.Data4[0] = '\x01'; + piVar2 = (int *)((longlong)pppuVar7 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(pppuVar1); + } + FUN_14003d0d0((longlong)ppuVar16); + } + FUN_140029bf0((longlong *)local_438,(short *)&DAT_140133350); + plVar18 = (longlong *)(*(code *)*local_348)(&local_348,&local_428); + plVar19 = (longlong *)local_438; + FUN_140029980(plVar19,plVar18); + pppuVar7 = local_428; + if (((local_428 != (undefined ***)0x0) && (local_428 != (undefined ***)PTR_DAT_14016f010)) && + (pppuVar1 = local_428 + -1, pppuVar1 != (undefined ***)0x0)) { + ppuVar16 = (undefined **)FUN_14003e7c0(plVar19,plVar18,puVar14,param_4); + local_420._0_8_ = ppuVar16; + FUN_14003d040((int *)ppuVar16); + local_420.Data4[0] = '\x01'; + piVar2 = (int *)((longlong)pppuVar7 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(pppuVar1); + } + FUN_14003d0d0((longlong)ppuVar16); + } + FUN_140029bf0((longlong *)local_438,(short *)&DAT_140133350); + plVar18 = (longlong *)(**(code **)local_3d0._0_8_)(&local_3d0,&local_428); + plVar19 = (longlong *)local_438; + FUN_140029980(plVar19,plVar18); + if (((local_428 != (undefined ***)0x0) && (local_428 != (undefined ***)PTR_DAT_14016f010)) && + (local_428 + -1 != (undefined ***)0x0)) { + ppuVar16 = (undefined **)FUN_14003e7c0(plVar19,plVar18,puVar14,param_4); + local_420._0_8_ = ppuVar16; + FUN_14003d040((int *)ppuVar16); + local_420.Data4[0] = '\x01'; + piVar2 = (int *)((longlong)local_428 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(local_428 + -1); + } + FUN_14003d0d0((longlong)ppuVar16); + } + FUN_140029bf0((longlong *)local_438,(short *)&DAT_140133350); + FUN_140051b80((longlong *)local_438,(undefined8 *)&local_98,puVar14,param_4); + FUN_140029bf0((longlong *)local_438,(short *)&DAT_140133350); + iVar9 = 0; + if ((local_438 != (uchar [8])0x0) && (iVar9 = 0, local_438 != (uchar [8])PTR_DAT_14016f010)) + { + iVar9 = *(int *)((longlong)local_438 + -8); + } + uVar20 = (ulonglong)(iVar9 - 2U); + plVar18 = FUN_140028f40((longlong *)local_438,&local_148,iVar9 - 2U); + FUN_1400020c0((longlong *)local_438,plVar18,uVar20,param_4); + plVar19 = &local_148; + FUN_140002190(plVar19,plVar18,uVar20,param_4); + local_428 = &local_230; + FUN_14003e7c0(plVar19,plVar18,uVar20,param_4); + local_230 = (undefined **)PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_230,(longlong *)local_438,uVar20,param_4); + plVar19 = FUN_140002040(&local_f8,(short *)PTR_DAT_1401708a0,0,param_4); + (**(code **)(*param_1 + 0x28))(param_1,0xfbf7,plVar19,&local_230); + local_498 = local_438; + if (local_438 == (uchar [8])0x0) { + local_498 = (uchar [8])PTR_DAT_14016f010; + } + uVar12 = 0xfbf7; + uVar20 = (ulonglong)uVar3; + puVar14 = PTR_DAT_1401708a0; + (**(code **)(*(longlong *)param_1[2] + 0x70))(); + FUN_140002190((longlong *)local_438,uVar20,uVar12,puVar14); + } + DVar10 = 0; + if (((char)param_1[3] == '\0') && (DVar10 = 0, *(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_420.Data1 = 0xfbf7; + local_420.Data4 = (uchar [8])PTR_DAT_1401708a0; + local_410 = uVar3; + local_408 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_420); + DVar10 = GetTickCount(); + } + local_478 = &local_98; + local_480 = &local_3d0; + local_488 = &local_348; + local_490 = &local_78; + local_498 = (uchar [8])local_448; + uVar12 = (**(code **)(*param_1 + 0x48))(param_1,uVar3,local_3a8,local_440); + if ((char)uVar12 == '\0') { + uVar12 = (**(code **)(*(longlong *)param_1[2] + 0x40)) + ((longlong *)param_1[2],PTR_DAT_1401708a0); + } + if (((char)param_1[3] != '\0') || (*(char *)((longlong)param_1 + 0x1a) == '\0')) + goto LAB_1400a23d3; + local_400 = (undefined **)CONCAT44(local_400._4_4_,0xfbf7); + local_3f8 = PTR_DAT_1401708a0; + break; + case 0xfbf8: + FUN_140049b40(local_3a8); + local_3a4 = param_2[10]; + local_3a8[0] = (undefined1)param_2[0x10]; + FUN_140075970(param_2,(undefined4 *)local_440,SVar26,param_4); + local_78._0_8_ = Proud::AddrPort::vftable; + DVar10 = 0; + local_78.Data4 = (uchar [8])((ulonglong)(ushort)local_78.Data4._6_2_ << 0x30); + FUN_14004ae00(param_2,(longlong)&local_78); + local_98._0_8_ = Proud::AddrPort::vftable; + local_98.Data4 = (uchar [8])((ulonglong)(ushort)local_98.Data4._6_2_ << 0x30); + FUN_14004ae00(param_2,(longlong)&local_98); + plVar19 = (longlong *)param_1[2]; + puVar14 = PTR_DAT_1401708a8; + (**(code **)(*plVar19 + 0x48))(); + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + local_498 = (uchar [8])&DAT_140131724; + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar3,0xfbf8,PTR_DAT_1401708a8); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar19,param_2,puVar14,param_4); + auVar6 = local_440; + local_438 = (uchar [8])PTR_DAT_14016f010; + local_21c[0] = local_440[0]; + local_21c[1] = local_440[1]; + local_21c[2] = local_440[2]; + local_21c[3] = local_440[3]; + local_440 = auVar6; + FUN_1400926b0((longlong *)local_438); + FUN_140029bf0((longlong *)local_438,(short *)&DAT_140133350); + FUN_140051b80((longlong *)local_438,(undefined8 *)&local_78,puVar14,param_4); + FUN_140029bf0((longlong *)local_438,(short *)&DAT_140133350); + FUN_140051b80((longlong *)local_438,(undefined8 *)&local_98,puVar14,param_4); + FUN_140029bf0((longlong *)local_438,(short *)&DAT_140133350); + iVar9 = 0; + if ((local_438 != (uchar [8])0x0) && (local_438 != (uchar [8])PTR_DAT_14016f010)) { + iVar9 = *(int *)((longlong)local_438 + -8); + } + uVar20 = (ulonglong)(iVar9 - 2U); + plVar18 = FUN_140028f40((longlong *)local_438,&local_138,iVar9 - 2U); + FUN_1400020c0((longlong *)local_438,plVar18,uVar20,param_4); + plVar19 = &local_138; + FUN_140002190(plVar19,plVar18,uVar20,param_4); + local_428 = &local_298; + FUN_14003e7c0(plVar19,plVar18,uVar20,param_4); + local_298 = (undefined **)PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_298,(longlong *)local_438,uVar20,param_4); + plVar19 = FUN_140002040(local_c8 + 2,(short *)PTR_DAT_1401708a8,0,param_4); + (**(code **)(*param_1 + 0x28))(param_1,0xfbf8,plVar19,&local_298); + local_498 = local_438; + if (local_438 == (uchar [8])0x0) { + local_498 = (uchar [8])PTR_DAT_14016f010; + } + uVar12 = 0xfbf8; + uVar20 = (ulonglong)uVar3; + puVar14 = PTR_DAT_1401708a8; + (**(code **)(*(longlong *)param_1[2] + 0x70))(); + FUN_140002190((longlong *)local_438,uVar20,uVar12,puVar14); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_348 = (undefined **)CONCAT44(local_348._4_4_,0xfbf8); + local_340 = PTR_DAT_1401708a8; + local_338 = uVar3; + local_330 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_348); + DVar10 = GetTickCount(); + } + local_490 = &local_98; + local_498 = (uchar [8])&local_78; + uVar12 = (**(code **)(*param_1 + 0x50))(param_1,uVar3,local_3a8,local_440); + if ((char)uVar12 == '\0') { + uVar12 = (**(code **)(*(longlong *)param_1[2] + 0x40)) + ((longlong *)param_1[2],PTR_DAT_1401708a8); + } + if (((char)param_1[3] != '\0') || (*(char *)((longlong)param_1 + 0x1a) == '\0')) + goto LAB_1400a23d3; + local_400 = (undefined **)CONCAT44(local_400._4_4_,0xfbf8); + local_3f8 = PTR_DAT_1401708a8; + break; + case 0xfbf9: + FUN_140049b40(local_3a8); + local_3a4 = param_2[10]; + local_3a8[0] = (undefined1)param_2[0x10]; + FUN_140075970(param_2,(undefined4 *)local_438,SVar26,param_4); + uVar12 = FUN_140074ee0(param_2,(undefined8 *)&local_3d0,4); + uVar22 = local_328; + if ((char)uVar12 != '\0') { + uVar22 = local_3d0.Data1; + } + local_440[0] = (char)uVar22; + local_440[1] = (char)(uVar22 >> 8); + local_440[2] = (char)(uVar22 >> 0x10); + local_440[3] = (char)(uVar22 >> 0x18); + plVar19 = (longlong *)param_1[2]; + puVar14 = PTR_DAT_1401708b0; + (**(code **)(*plVar19 + 0x48))(); + DVar10 = 0; + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + local_498 = (uchar [8])&DAT_140131724; + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar3,0xfbf9,PTR_DAT_1401708b0); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar19,param_2,puVar14,param_4); + auVar6 = local_438; + local_3d0._0_8_ = PTR_DAT_14016f010; + local_2f8._0_1_ = local_438[0]; + local_2f8._1_1_ = local_438[1]; + local_2f8._2_1_ = local_438[2]; + local_2f8._3_1_ = local_438[3]; + local_438 = auVar6; + FUN_1400926b0((longlong *)&local_3d0); + FUN_140029bf0((longlong *)&local_3d0,(short *)&DAT_140133350); + psVar17 = (short *)FUN_140071b40(local_440._0_4_); + FUN_140029bf0((longlong *)&local_3d0,psVar17); + FUN_140029bf0((longlong *)&local_3d0,(short *)&DAT_140133350); + iVar9 = 0; + if (((uchar [8])local_3d0._0_8_ != (uchar [8])0x0) && + ((undefined *)local_3d0._0_8_ != PTR_DAT_14016f010)) { + iVar9 = *(int *)(local_3d0._0_8_ + -8); + } + uVar20 = (ulonglong)(iVar9 - 2U); + plVar18 = FUN_140028f40((longlong *)&local_3d0,&local_140,iVar9 - 2U); + FUN_1400020c0((longlong *)&local_3d0,plVar18,uVar20,param_4); + plVar19 = &local_140; + FUN_140002190(plVar19,plVar18,uVar20,param_4); + local_428 = &local_248; + FUN_14003e7c0(plVar19,plVar18,uVar20,param_4); + local_248 = (undefined **)PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_248,(longlong *)&local_3d0,uVar20,param_4); + plVar19 = FUN_140002040(local_a8,(short *)PTR_DAT_1401708b0,0,param_4); + (**(code **)(*param_1 + 0x28))(param_1,0xfbf9,plVar19,&local_248); + local_498 = (uchar [8])local_3d0._0_8_; + if ((uchar [8])local_3d0._0_8_ == (uchar [8])0x0) { + local_498 = (uchar [8])PTR_DAT_14016f010; + } + uVar12 = 0xfbf9; + uVar20 = (ulonglong)uVar3; + puVar14 = PTR_DAT_1401708b0; + (**(code **)(*(longlong *)param_1[2] + 0x70))(); + FUN_140002190((longlong *)&local_3d0,uVar20,uVar12,puVar14); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_98.Data1 = 0xfbf9; + local_98.Data4 = (uchar [8])PTR_DAT_1401708b0; + local_88 = uVar3; + local_80 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_98); + DVar10 = GetTickCount(); + } + local_498 = (uchar [8])local_440; + uVar12 = (**(code **)(*param_1 + 0x58))(param_1,uVar3,local_3a8,local_438); + if ((char)uVar12 == '\0') { + uVar12 = (**(code **)(*(longlong *)param_1[2] + 0x40)) + ((longlong *)param_1[2],PTR_DAT_1401708b0); + } + if (((char)param_1[3] != '\0') || (*(char *)((longlong)param_1 + 0x1a) == '\0')) + goto LAB_1400a23d3; + local_400 = (undefined **)CONCAT44(local_400._4_4_,0xfbf9); + local_3f8 = PTR_DAT_1401708b0; + break; + case 0xfbfa: + FUN_140049b40(local_3a8); + local_3a4 = param_2[10]; + local_3a8[0] = (undefined1)param_2[0x10]; + FUN_140075970(param_2,(undefined4 *)local_438,SVar26,param_4); + FUN_140075970(param_2,(undefined4 *)local_440,SVar26,param_4); + plVar19 = (longlong *)param_1[2]; + puVar14 = PTR_DAT_1401708b8; + (**(code **)(*plVar19 + 0x48))(); + DVar10 = 0; + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + local_498 = (uchar [8])&DAT_140131724; + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar3,0xfbfa,PTR_DAT_1401708b8); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar19,param_2,puVar14,param_4); + auVar6 = local_438; + local_3d0._0_8_ = PTR_DAT_14016f010; + local_278._0_1_ = local_438[0]; + local_278._1_1_ = local_438[1]; + local_278._2_1_ = local_438[2]; + local_278._3_1_ = local_438[3]; + local_438 = auVar6; + FUN_1400926b0((longlong *)&local_3d0); + FUN_140029bf0((longlong *)&local_3d0,(short *)&DAT_140133350); + auVar6 = local_440; + local_2e8[0] = local_440[0]; + local_2e8[1] = local_440[1]; + local_2e8[2] = local_440[2]; + local_2e8[3] = local_440[3]; + local_440 = auVar6; + FUN_1400926b0((longlong *)&local_3d0); + FUN_140029bf0((longlong *)&local_3d0,(short *)&DAT_140133350); + iVar9 = 0; + if (((uchar [8])local_3d0._0_8_ != (uchar [8])0x0) && + ((undefined *)local_3d0._0_8_ != PTR_DAT_14016f010)) { + iVar9 = *(int *)(local_3d0._0_8_ + -8); + } + uVar20 = (ulonglong)(iVar9 - 2U); + plVar18 = FUN_140028f40((longlong *)&local_3d0,&local_178,iVar9 - 2U); + FUN_1400020c0((longlong *)&local_3d0,plVar18,uVar20,param_4); + plVar19 = &local_178; + FUN_140002190(plVar19,plVar18,uVar20,param_4); + local_428 = &local_310; + FUN_14003e7c0(plVar19,plVar18,uVar20,param_4); + local_310 = (undefined **)PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_310,(longlong *)&local_3d0,uVar20,param_4); + plVar19 = FUN_140002040(&local_b0,(short *)PTR_DAT_1401708b8,0,param_4); + (**(code **)(*param_1 + 0x28))(param_1,0xfbfa,plVar19,&local_310); + local_498 = (uchar [8])local_3d0._0_8_; + if ((uchar [8])local_3d0._0_8_ == (uchar [8])0x0) { + local_498 = (uchar [8])PTR_DAT_14016f010; + } + uVar12 = 0xfbfa; + uVar20 = (ulonglong)uVar3; + puVar14 = PTR_DAT_1401708b8; + (**(code **)(*(longlong *)param_1[2] + 0x70))(); + FUN_140002190((longlong *)&local_3d0,uVar20,uVar12,puVar14); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_98.Data1 = 0xfbfa; + local_98.Data4 = (uchar [8])PTR_DAT_1401708b8; + local_88 = uVar3; + local_80 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_98); + DVar10 = GetTickCount(); + } + local_498 = (uchar [8])local_440; + uVar12 = (**(code **)(*param_1 + 0x60))(param_1,uVar3,local_3a8,local_438); + if ((char)uVar12 == '\0') { + uVar12 = (**(code **)(*(longlong *)param_1[2] + 0x40)) + ((longlong *)param_1[2],PTR_DAT_1401708b8); + } + if (((char)param_1[3] != '\0') || (*(char *)((longlong)param_1 + 0x1a) == '\0')) + goto LAB_1400a23d3; + local_400 = (undefined **)CONCAT44(local_400._4_4_,0xfbfa); + local_3f8 = PTR_DAT_1401708b8; + break; + case 0xfbfb: + FUN_140049b40(local_3a8); + local_3a4 = param_2[10]; + local_3a8[0] = (undefined1)param_2[0x10]; + FUN_140075970(param_2,(undefined4 *)local_438,SVar26,param_4); + FUN_140075970(param_2,(undefined4 *)local_440,SVar26,param_4); + local_420._0_8_ = Proud::AddrPort::vftable; + DVar10 = 0; + local_420.Data4 = (uchar [8])((ulonglong)(ushort)local_420.Data4._6_2_ << 0x30); + FUN_14004ae00(param_2,(longlong)&local_420); + local_348 = Proud::AddrPort::vftable; + local_340 = (undefined *)((ulonglong)local_340._6_2_ << 0x30); + FUN_14004ae00(param_2,(longlong)&local_348); + local_78._0_8_ = Proud::AddrPort::vftable; + local_78.Data4 = (uchar [8])((ulonglong)(ushort)local_78.Data4._6_2_ << 0x30); + FUN_14004ae00(param_2,(longlong)&local_78); + local_98._0_8_ = Proud::AddrPort::vftable; + local_98.Data4 = (uchar [8])((ulonglong)(ushort)local_98.Data4._6_2_ << 0x30); + FUN_14004ae00(param_2,(longlong)&local_98); + plVar19 = (longlong *)param_1[2]; + puVar14 = PTR_DAT_1401708c0; + (**(code **)(*plVar19 + 0x48))(); + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + local_498 = (uchar [8])&DAT_140131724; + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar3,0xfbfb,PTR_DAT_1401708c0); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar19,param_2,puVar14,param_4); + auVar6 = local_438; + local_3d0._0_8_ = PTR_DAT_14016f010; + local_23c._0_1_ = local_438[0]; + local_23c._1_1_ = local_438[1]; + local_23c._2_1_ = local_438[2]; + local_23c._3_1_ = local_438[3]; + local_438 = auVar6; + FUN_1400926b0((longlong *)&local_3d0); + FUN_140029bf0((longlong *)&local_3d0,(short *)&DAT_140133350); + auVar6 = local_440; + local_2d8[0] = local_440[0]; + local_2d8[1] = local_440[1]; + local_2d8[2] = local_440[2]; + local_2d8[3] = local_440[3]; + local_440 = auVar6; + FUN_1400926b0((longlong *)&local_3d0); + FUN_140029bf0((longlong *)&local_3d0,(short *)&DAT_140133350); + FUN_140051b80((longlong *)&local_3d0,(undefined8 *)&local_420,puVar14,param_4); + FUN_140029bf0((longlong *)&local_3d0,(short *)&DAT_140133350); + FUN_140051b80((longlong *)&local_3d0,&local_348,puVar14,param_4); + FUN_140029bf0((longlong *)&local_3d0,(short *)&DAT_140133350); + FUN_140051b80((longlong *)&local_3d0,(undefined8 *)&local_78,puVar14,param_4); + FUN_140029bf0((longlong *)&local_3d0,(short *)&DAT_140133350); + FUN_140051b80((longlong *)&local_3d0,(undefined8 *)&local_98,puVar14,param_4); + FUN_140029bf0((longlong *)&local_3d0,(short *)&DAT_140133350); + iVar9 = 0; + if (((uchar [8])local_3d0._0_8_ != (uchar [8])0x0) && + ((undefined *)local_3d0._0_8_ != PTR_DAT_14016f010)) { + iVar9 = *(int *)(local_3d0._0_8_ + -8); + } + uVar20 = (ulonglong)(iVar9 - 2U); + plVar18 = FUN_140028f40((longlong *)&local_3d0,&local_168,iVar9 - 2U); + FUN_1400020c0((longlong *)&local_3d0,plVar18,uVar20,param_4); + plVar19 = &local_168; + FUN_140002190(plVar19,plVar18,uVar20,param_4); + local_428 = &local_308; + FUN_14003e7c0(plVar19,plVar18,uVar20,param_4); + local_308 = (undefined **)PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_308,(longlong *)&local_3d0,uVar20,param_4); + plVar19 = FUN_140002040(&local_130,(short *)PTR_DAT_1401708c0,0,param_4); + (**(code **)(*param_1 + 0x28))(param_1,0xfbfb,plVar19,&local_308); + local_498 = (uchar [8])local_3d0._0_8_; + if ((uchar [8])local_3d0._0_8_ == (uchar [8])0x0) { + local_498 = (uchar [8])PTR_DAT_14016f010; + } + uVar12 = 0xfbfb; + uVar20 = (ulonglong)uVar3; + puVar14 = PTR_DAT_1401708c0; + (**(code **)(*(longlong *)param_1[2] + 0x70))(); + FUN_140002190((longlong *)&local_3d0,uVar20,uVar12,puVar14); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_3d0.Data1 = 0xfbfb; + local_3d0.Data4 = (uchar [8])PTR_DAT_1401708c0; + local_3c0 = uVar3; + local_3b8 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_3d0); + DVar10 = GetTickCount(); + } + local_478 = &local_98; + local_480 = &local_78; + local_488 = &local_348; + local_490 = &local_420; + local_498 = (uchar [8])local_440; + uVar12 = (**(code **)(*param_1 + 0x68))(param_1,uVar3,local_3a8,local_438); + if ((char)uVar12 == '\0') { + uVar12 = (**(code **)(*(longlong *)param_1[2] + 0x40)) + ((longlong *)param_1[2],PTR_DAT_1401708c0); + } + if (((char)param_1[3] != '\0') || (*(char *)((longlong)param_1 + 0x1a) == '\0')) + goto LAB_1400a23d3; + local_400 = (undefined **)CONCAT44(local_400._4_4_,0xfbfb); + local_3f8 = PTR_DAT_1401708c0; + break; + case 0xfbfc: + FUN_140049b40(local_3a8); + local_3a4 = param_2[10]; + local_3a8[0] = (undefined1)param_2[0x10]; + plVar19 = (longlong *)param_1[2]; + puVar14 = PTR_DAT_1401708c8; + (**(code **)(*plVar19 + 0x48))(); + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + local_498 = (uchar [8])&DAT_140131724; + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar3,0xfbfc,PTR_DAT_1401708c8); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar19,param_2,puVar14,param_4); + local_440 = (uchar [8])PTR_DAT_14016f010; + uVar12 = 0xfffffffe; + plVar18 = FUN_140028f40((longlong *)local_440,&local_158,0xfffffffe); + FUN_1400020c0((longlong *)local_440,plVar18,uVar12,param_4); + plVar19 = &local_158; + FUN_140002190(plVar19,plVar18,uVar12,param_4); + local_428 = &local_300; + FUN_14003e7c0(plVar19,plVar18,uVar12,param_4); + local_300 = (undefined **)PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_300,(longlong *)local_440,uVar12,param_4); + plVar19 = FUN_140002040(&local_120,(short *)PTR_DAT_1401708c8,0,param_4); + (**(code **)(*param_1 + 0x28))(param_1,0xfbfc,plVar19,&local_300); + local_498 = local_440; + if (local_440 == (uchar [8])0x0) { + local_498 = (uchar [8])PTR_DAT_14016f010; + } + uVar12 = 0xfbfc; + uVar20 = (ulonglong)uVar3; + puVar14 = PTR_DAT_1401708c8; + (**(code **)(*(longlong *)param_1[2] + 0x70))(); + FUN_140002190((longlong *)local_440,uVar20,uVar12,puVar14); + } + DVar10 = 0; + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_98.Data1 = 0xfbfc; + local_98.Data4 = (uchar [8])PTR_DAT_1401708c8; + local_88 = uVar3; + local_80 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_98); + DVar10 = GetTickCount(); + } + uVar12 = (**(code **)(*param_1 + 0x70))(param_1,uVar3,local_3a8); + if ((char)uVar12 == '\0') { + uVar12 = (**(code **)(*(longlong *)param_1[2] + 0x40)) + ((longlong *)param_1[2],PTR_DAT_1401708c8); + } + if (((char)param_1[3] != '\0') || (*(char *)((longlong)param_1 + 0x1a) == '\0')) + goto LAB_1400a23d3; + local_400 = (undefined **)CONCAT44(local_400._4_4_,0xfbfc); + local_3f8 = PTR_DAT_1401708c8; + break; + case 0xfbfd: + FUN_140049b40(local_3a8); + local_3a4 = param_2[10]; + local_3a8[0] = (undefined1)param_2[0x10]; + plVar19 = (longlong *)param_1[2]; + puVar14 = PTR_DAT_1401708d0; + (**(code **)(*plVar19 + 0x48))(); + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + local_498 = (uchar [8])&DAT_140131724; + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar3,0xfbfd,PTR_DAT_1401708d0); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar19,param_2,puVar14,param_4); + local_440 = (uchar [8])PTR_DAT_14016f010; + uVar12 = 0xfffffffe; + plVar18 = FUN_140028f40((longlong *)local_440,&local_170,0xfffffffe); + FUN_1400020c0((longlong *)local_440,plVar18,uVar12,param_4); + plVar19 = &local_170; + FUN_140002190(plVar19,plVar18,uVar12,param_4); + local_428 = &local_2f0; + FUN_14003e7c0(plVar19,plVar18,uVar12,param_4); + local_2f0 = (undefined **)PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_2f0,(longlong *)local_440,uVar12,param_4); + plVar19 = FUN_140002040(&local_d8,(short *)PTR_DAT_1401708d0,0,param_4); + (**(code **)(*param_1 + 0x28))(param_1,0xfbfd,plVar19,&local_2f0); + local_498 = local_440; + if (local_440 == (uchar [8])0x0) { + local_498 = (uchar [8])PTR_DAT_14016f010; + } + uVar12 = 0xfbfd; + uVar20 = (ulonglong)uVar3; + puVar14 = PTR_DAT_1401708d0; + (**(code **)(*(longlong *)param_1[2] + 0x70))(); + FUN_140002190((longlong *)local_440,uVar20,uVar12,puVar14); + } + DVar10 = 0; + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_98.Data1 = 0xfbfd; + local_98.Data4 = (uchar [8])PTR_DAT_1401708d0; + local_88 = uVar3; + local_80 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_98); + DVar10 = GetTickCount(); + } + uVar12 = (**(code **)(*param_1 + 0x78))(param_1,uVar3,local_3a8); + if ((char)uVar12 == '\0') { + uVar12 = (**(code **)(*(longlong *)param_1[2] + 0x40)) + ((longlong *)param_1[2],PTR_DAT_1401708d0); + } + if (((char)param_1[3] != '\0') || (*(char *)((longlong)param_1 + 0x1a) == '\0')) + goto LAB_1400a23d3; + local_400 = (undefined **)CONCAT44(local_400._4_4_,0xfbfd); + local_3f8 = PTR_DAT_1401708d0; + break; + case 0xfbfe: + FUN_140049b40(local_3a8); + local_3a4 = param_2[10]; + local_3a8[0] = (undefined1)param_2[0x10]; + plVar19 = (longlong *)param_1[2]; + puVar14 = PTR_DAT_1401708d8; + (**(code **)(*plVar19 + 0x48))(); + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + local_498 = (uchar [8])&DAT_140131724; + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar3,0xfbfe,PTR_DAT_1401708d8); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar19,param_2,puVar14,param_4); + local_440 = (uchar [8])PTR_DAT_14016f010; + uVar12 = 0xfffffffe; + plVar18 = FUN_140028f40((longlong *)local_440,&local_1a0,0xfffffffe); + FUN_1400020c0((longlong *)local_440,plVar18,uVar12,param_4); + plVar19 = &local_1a0; + FUN_140002190(plVar19,plVar18,uVar12,param_4); + local_428 = &local_2e0; + FUN_14003e7c0(plVar19,plVar18,uVar12,param_4); + local_2e0 = (undefined **)PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_2e0,(longlong *)local_440,uVar12,param_4); + plVar19 = FUN_140002040(&local_110,(short *)PTR_DAT_1401708d8,0,param_4); + (**(code **)(*param_1 + 0x28))(param_1,0xfbfe,plVar19,&local_2e0); + local_498 = local_440; + if (local_440 == (uchar [8])0x0) { + local_498 = (uchar [8])PTR_DAT_14016f010; + } + uVar12 = 0xfbfe; + uVar20 = (ulonglong)uVar3; + puVar14 = PTR_DAT_1401708d8; + (**(code **)(*(longlong *)param_1[2] + 0x70))(); + FUN_140002190((longlong *)local_440,uVar20,uVar12,puVar14); + } + DVar10 = 0; + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_98.Data1 = 0xfbfe; + local_98.Data4 = (uchar [8])PTR_DAT_1401708d8; + local_88 = uVar3; + local_80 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_98); + DVar10 = GetTickCount(); + } + uVar12 = (**(code **)(*param_1 + 0x80))(param_1,uVar3,local_3a8); + if ((char)uVar12 == '\0') { + uVar12 = (**(code **)(*(longlong *)param_1[2] + 0x40)) + ((longlong *)param_1[2],PTR_DAT_1401708d8); + } + if (((char)param_1[3] != '\0') || (*(char *)((longlong)param_1 + 0x1a) == '\0')) + goto LAB_1400a23d3; + local_400 = (undefined **)CONCAT44(local_400._4_4_,0xfbfe); + local_3f8 = PTR_DAT_1401708d8; + break; + case 0xfbff: + FUN_140049b40(local_3a8); + local_3a4 = param_2[10]; + local_3a8[0] = (undefined1)param_2[0x10]; + plVar19 = (longlong *)param_1[2]; + puVar14 = PTR_DAT_1401708e0; + (**(code **)(*plVar19 + 0x48))(); + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + local_498 = (uchar [8])&DAT_140131724; + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar3,0xfbff,PTR_DAT_1401708e0); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar19,param_2,puVar14,param_4); + local_440 = (uchar [8])PTR_DAT_14016f010; + uVar12 = 0xfffffffe; + plVar18 = FUN_140028f40((longlong *)local_440,&local_150,0xfffffffe); + FUN_1400020c0((longlong *)local_440,plVar18,uVar12,param_4); + plVar19 = &local_150; + FUN_140002190(plVar19,plVar18,uVar12,param_4); + local_428 = &local_2d0; + FUN_14003e7c0(plVar19,plVar18,uVar12,param_4); + local_2d0 = (undefined **)PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_2d0,(longlong *)local_440,uVar12,param_4); + plVar19 = FUN_140002040(&local_d0,(short *)PTR_DAT_1401708e0,0,param_4); + (**(code **)(*param_1 + 0x28))(param_1,0xfbff,plVar19,&local_2d0); + local_498 = local_440; + if (local_440 == (uchar [8])0x0) { + local_498 = (uchar [8])PTR_DAT_14016f010; + } + uVar12 = 0xfbff; + uVar20 = (ulonglong)uVar3; + puVar14 = PTR_DAT_1401708e0; + (**(code **)(*(longlong *)param_1[2] + 0x70))(); + FUN_140002190((longlong *)local_440,uVar20,uVar12,puVar14); + } + DVar10 = 0; + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_98.Data1 = 0xfbff; + local_98.Data4 = (uchar [8])PTR_DAT_1401708e0; + local_88 = uVar3; + local_80 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_98); + DVar10 = GetTickCount(); + } + uVar12 = (**(code **)(*param_1 + 0x88))(param_1,uVar3,local_3a8); + if ((char)uVar12 == '\0') { + uVar12 = (**(code **)(*(longlong *)param_1[2] + 0x40)) + ((longlong *)param_1[2],PTR_DAT_1401708e0); + } + if (((char)param_1[3] != '\0') || (*(char *)((longlong)param_1 + 0x1a) == '\0')) + goto LAB_1400a23d3; + local_400 = (undefined **)CONCAT44(local_400._4_4_,0xfbff); + local_3f8 = PTR_DAT_1401708e0; + break; + case 0xfc00: + FUN_140049b40(local_3a8); + local_3a4 = param_2[10]; + local_3a8[0] = (undefined1)param_2[0x10]; + uVar12 = FUN_140074ee0(param_2,(undefined8 *)&local_420,1); + if ((char)uVar12 != '\0') { + local_448[0] = (byte)local_420.Data1; + } + plVar19 = (longlong *)param_1[2]; + puVar14 = PTR_DAT_1401708e8; + (**(code **)(*plVar19 + 0x48))(); + DVar10 = 0; + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + local_498 = (uchar [8])&DAT_140131724; + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar3,0xfc00,PTR_DAT_1401708e8); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar19,param_2,puVar14,param_4); + local_440 = (uchar [8])PTR_DAT_14016f010; + FUN_1400925d0((longlong *)local_440,(char *)local_448); + FUN_140029bf0((longlong *)local_440,(short *)&DAT_140133350); + iVar9 = 0; + if ((local_440 != (uchar [8])0x0) && (local_440 != (uchar [8])PTR_DAT_14016f010)) { + iVar9 = *(int *)((longlong)local_440 + -8); + } + uVar20 = (ulonglong)(iVar9 - 2U); + plVar18 = FUN_140028f40((longlong *)local_440,&local_190,iVar9 - 2U); + FUN_1400020c0((longlong *)local_440,plVar18,uVar20,param_4); + plVar19 = &local_190; + FUN_140002190(plVar19,plVar18,uVar20,param_4); + local_428 = &local_2c0; + FUN_14003e7c0(plVar19,plVar18,uVar20,param_4); + local_2c0 = (undefined **)PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_2c0,(longlong *)local_440,uVar20,param_4); + plVar19 = FUN_140002040(&local_100,(short *)PTR_DAT_1401708e8,0,param_4); + (**(code **)(*param_1 + 0x28))(param_1,0xfc00,plVar19,&local_2c0); + local_498 = local_440; + if (local_440 == (uchar [8])0x0) { + local_498 = (uchar [8])PTR_DAT_14016f010; + } + uVar12 = 0xfc00; + uVar20 = (ulonglong)uVar3; + puVar14 = PTR_DAT_1401708e8; + (**(code **)(*(longlong *)param_1[2] + 0x70))(); + FUN_140002190((longlong *)local_440,uVar20,uVar12,puVar14); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_98.Data1 = 0xfc00; + local_98.Data4 = (uchar [8])PTR_DAT_1401708e8; + local_88 = uVar3; + local_80 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_98); + DVar10 = GetTickCount(); + } + uVar12 = (**(code **)(*param_1 + 0x90))(param_1,uVar3,local_3a8,local_448); + if ((char)uVar12 == '\0') { + uVar12 = (**(code **)(*(longlong *)param_1[2] + 0x40)) + ((longlong *)param_1[2],PTR_DAT_1401708e8); + } + if (((char)param_1[3] != '\0') || (*(char *)((longlong)param_1 + 0x1a) == '\0')) + goto LAB_1400a23d3; + local_400 = (undefined **)CONCAT44(local_400._4_4_,0xfc00); + local_3f8 = PTR_DAT_1401708e8; + break; + case 0xfc01: + FUN_140049b40(local_3a8); + local_3a4 = param_2[10]; + local_3a8[0] = (undefined1)param_2[0x10]; + plVar19 = (longlong *)param_1[2]; + puVar14 = PTR_DAT_1401708f0; + (**(code **)(*plVar19 + 0x48))(); + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + local_498 = (uchar [8])&DAT_140131724; + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar3,0xfc01,PTR_DAT_1401708f0); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar19,param_2,puVar14,param_4); + local_440 = (uchar [8])PTR_DAT_14016f010; + uVar12 = 0xfffffffe; + plVar18 = FUN_140028f40((longlong *)local_440,&local_160,0xfffffffe); + FUN_1400020c0((longlong *)local_440,plVar18,uVar12,param_4); + plVar19 = &local_160; + FUN_140002190(plVar19,plVar18,uVar12,param_4); + local_428 = &local_2b0; + FUN_14003e7c0(plVar19,plVar18,uVar12,param_4); + local_2b0 = (undefined **)PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_2b0,(longlong *)local_440,uVar12,param_4); + plVar19 = FUN_140002040(local_c8,(short *)PTR_DAT_1401708f0,0,param_4); + (**(code **)(*param_1 + 0x28))(param_1,0xfc01,plVar19,&local_2b0); + local_498 = local_440; + if (local_440 == (uchar [8])0x0) { + local_498 = (uchar [8])PTR_DAT_14016f010; + } + uVar12 = 0xfc01; + uVar20 = (ulonglong)uVar3; + puVar14 = PTR_DAT_1401708f0; + (**(code **)(*(longlong *)param_1[2] + 0x70))(); + FUN_140002190((longlong *)local_440,uVar20,uVar12,puVar14); + } + DVar10 = 0; + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_98.Data1 = 0xfc01; + local_98.Data4 = (uchar [8])PTR_DAT_1401708f0; + local_88 = uVar3; + local_80 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_98); + DVar10 = GetTickCount(); + } + uVar12 = (**(code **)(*param_1 + 0x98))(param_1,uVar3,local_3a8); + if ((char)uVar12 == '\0') { + uVar12 = (**(code **)(*(longlong *)param_1[2] + 0x40)) + ((longlong *)param_1[2],PTR_DAT_1401708f0); + } + if (((char)param_1[3] != '\0') || (*(char *)((longlong)param_1 + 0x1a) == '\0')) + goto LAB_1400a23d3; + local_400 = (undefined **)CONCAT44(local_400._4_4_,0xfc01); + local_3f8 = PTR_DAT_1401708f0; + break; + case 0xfc02: + FUN_140049b40(local_3a8); + local_3a4 = param_2[10]; + local_3a8[0] = (undefined1)param_2[0x10]; + plVar19 = (longlong *)param_1[2]; + puVar14 = PTR_DAT_1401708f8; + (**(code **)(*plVar19 + 0x48))(); + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + local_498 = (uchar [8])&DAT_140131724; + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar3,0xfc02,PTR_DAT_1401708f8); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar19,param_2,puVar14,param_4); + local_440 = (uchar [8])PTR_DAT_14016f010; + uVar12 = 0xfffffffe; + plVar18 = FUN_140028f40((longlong *)local_440,&local_180,0xfffffffe); + FUN_1400020c0((longlong *)local_440,plVar18,uVar12,param_4); + plVar19 = &local_180; + FUN_140002190(plVar19,plVar18,uVar12,param_4); + local_428 = &local_2a0; + FUN_14003e7c0(plVar19,plVar18,uVar12,param_4); + local_2a0 = (undefined **)PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_2a0,(longlong *)local_440,uVar12,param_4); + plVar19 = FUN_140002040(&local_f0,(short *)PTR_DAT_1401708f8,0,param_4); + (**(code **)(*param_1 + 0x28))(param_1,0xfc02,plVar19,&local_2a0); + local_498 = local_440; + if (local_440 == (uchar [8])0x0) { + local_498 = (uchar [8])PTR_DAT_14016f010; + } + uVar12 = 0xfc02; + uVar20 = (ulonglong)uVar3; + puVar14 = PTR_DAT_1401708f8; + (**(code **)(*(longlong *)param_1[2] + 0x70))(); + FUN_140002190((longlong *)local_440,uVar20,uVar12,puVar14); + } + DVar10 = 0; + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_98.Data1 = 0xfc02; + local_98.Data4 = (uchar [8])PTR_DAT_1401708f8; + local_88 = uVar3; + local_80 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_98); + DVar10 = GetTickCount(); + } + uVar12 = (**(code **)(*param_1 + 0xa0))(param_1,uVar3,local_3a8); + if ((char)uVar12 == '\0') { + uVar12 = (**(code **)(*(longlong *)param_1[2] + 0x40)) + ((longlong *)param_1[2],PTR_DAT_1401708f8); + } + if (((char)param_1[3] != '\0') || (*(char *)((longlong)param_1 + 0x1a) == '\0')) + goto LAB_1400a23d3; + local_400 = (undefined **)CONCAT44(local_400._4_4_,0xfc02); + local_3f8 = PTR_DAT_1401708f8; + break; + case 0xfc03: + FUN_140049b40(local_3a8); + local_3a4 = param_2[10]; + local_3a8[0] = (undefined1)param_2[0x10]; + FUN_140075970(param_2,(undefined4 *)local_440,SVar26,param_4); + plVar19 = (longlong *)param_1[2]; + puVar14 = PTR_DAT_140170900; + (**(code **)(*plVar19 + 0x48))(); + DVar10 = 0; + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + local_498 = (uchar [8])&DAT_140131724; + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar3,0xfc03,PTR_DAT_140170900); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar19,param_2,puVar14,param_4); + auVar6 = local_440; + local_438 = (uchar [8])PTR_DAT_14016f010; + local_268[0] = local_440[0]; + local_268[1] = local_440[1]; + local_268[2] = local_440[2]; + local_268[3] = local_440[3]; + local_440 = auVar6; + FUN_1400926b0((longlong *)local_438); + FUN_140029bf0((longlong *)local_438,(short *)&DAT_140133350); + iVar9 = 0; + if ((local_438 != (uchar [8])0x0) && (local_438 != (uchar [8])PTR_DAT_14016f010)) { + iVar9 = *(int *)((longlong)local_438 + -8); + } + uVar20 = (ulonglong)(iVar9 - 2U); + plVar18 = FUN_140028f40((longlong *)local_438,&local_1b8,iVar9 - 2U); + FUN_1400020c0((longlong *)local_438,plVar18,uVar20,param_4); + plVar19 = &local_1b8; + FUN_140002190(plVar19,plVar18,uVar20,param_4); + local_428 = &local_290; + FUN_14003e7c0(plVar19,plVar18,uVar20,param_4); + local_290 = (undefined **)PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_290,(longlong *)local_438,uVar20,param_4); + plVar19 = FUN_140002040(&local_e8,(short *)PTR_DAT_140170900,0,param_4); + (**(code **)(*param_1 + 0x28))(param_1,0xfc03,plVar19,&local_290); + local_498 = local_438; + if (local_438 == (uchar [8])0x0) { + local_498 = (uchar [8])PTR_DAT_14016f010; + } + uVar12 = 0xfc03; + uVar20 = (ulonglong)uVar3; + puVar14 = PTR_DAT_140170900; + (**(code **)(*(longlong *)param_1[2] + 0x70))(); + FUN_140002190((longlong *)local_438,uVar20,uVar12,puVar14); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_98.Data1 = 0xfc03; + local_98.Data4 = (uchar [8])PTR_DAT_140170900; + local_88 = uVar3; + local_80 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_98); + DVar10 = GetTickCount(); + } + uVar12 = (**(code **)(*param_1 + 0xa8))(param_1,uVar3,local_3a8,local_440); + if ((char)uVar12 == '\0') { + uVar12 = (**(code **)(*(longlong *)param_1[2] + 0x40)) + ((longlong *)param_1[2],PTR_DAT_140170900); + } + if (((char)param_1[3] != '\0') || (*(char *)((longlong)param_1 + 0x1a) == '\0')) + goto LAB_1400a23d3; + local_400 = (undefined **)CONCAT44(local_400._4_4_,0xfc03); + local_3f8 = PTR_DAT_140170900; + break; + case 0xfc04: + FUN_140049b40(local_3a8); + local_3a4 = param_2[10]; + local_3a8[0] = (undefined1)param_2[0x10]; + FUN_140075970(param_2,(undefined4 *)local_440,SVar26,param_4); + plVar19 = (longlong *)param_1[2]; + puVar14 = PTR_DAT_140170908; + (**(code **)(*plVar19 + 0x48))(); + DVar10 = 0; + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + local_498 = (uchar [8])&DAT_140131724; + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar3,0xfc04,PTR_DAT_140170908); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar19,param_2,puVar14,param_4); + auVar6 = local_440; + local_438 = (uchar [8])PTR_DAT_14016f010; + local_328._0_1_ = local_440[0]; + local_328._1_1_ = local_440[1]; + local_328._2_1_ = local_440[2]; + local_328._3_1_ = local_440[3]; + local_440 = auVar6; + FUN_1400926b0((longlong *)local_438); + FUN_140029bf0((longlong *)local_438,(short *)&DAT_140133350); + iVar9 = 0; + if ((local_438 != (uchar [8])0x0) && (local_438 != (uchar [8])PTR_DAT_14016f010)) { + iVar9 = *(int *)((longlong)local_438 + -8); + } + uVar20 = (ulonglong)(iVar9 - 2U); + plVar18 = FUN_140028f40((longlong *)local_438,&local_1b0,iVar9 - 2U); + FUN_1400020c0((longlong *)local_438,plVar18,uVar20,param_4); + plVar19 = &local_1b0; + FUN_140002190(plVar19,plVar18,uVar20,param_4); + local_428 = &local_280; + FUN_14003e7c0(plVar19,plVar18,uVar20,param_4); + local_280 = (undefined **)PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_280,(longlong *)local_438,uVar20,param_4); + plVar19 = FUN_140002040(&local_e0,(short *)PTR_DAT_140170908,0,param_4); + (**(code **)(*param_1 + 0x28))(param_1,0xfc04,plVar19,&local_280); + local_498 = local_438; + if (local_438 == (uchar [8])0x0) { + local_498 = (uchar [8])PTR_DAT_14016f010; + } + uVar12 = 0xfc04; + uVar20 = (ulonglong)uVar3; + puVar14 = PTR_DAT_140170908; + (**(code **)(*(longlong *)param_1[2] + 0x70))(); + FUN_140002190((longlong *)local_438,uVar20,uVar12,puVar14); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_98.Data1 = 0xfc04; + local_98.Data4 = (uchar [8])PTR_DAT_140170908; + local_88 = uVar3; + local_80 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_98); + DVar10 = GetTickCount(); + } + uVar12 = (**(code **)(*param_1 + 0xb0))(param_1,uVar3,local_3a8,local_440); + if ((char)uVar12 == '\0') { + uVar12 = (**(code **)(*(longlong *)param_1[2] + 0x40)) + ((longlong *)param_1[2],PTR_DAT_140170908); + } + if (((char)param_1[3] != '\0') || (*(char *)((longlong)param_1 + 0x1a) == '\0')) + goto LAB_1400a23d3; + local_400 = (undefined **)CONCAT44(local_400._4_4_,0xfc04); + local_3f8 = PTR_DAT_140170908; + break; + case 0xfc05: + FUN_140049b40(local_3a8); + local_3a4 = param_2[10]; + local_3a8[0] = (undefined1)param_2[0x10]; + uVar12 = FUN_140074ee0(param_2,(undefined8 *)&local_420,1); + if ((char)uVar12 != '\0') { + local_448[0] = (byte)local_420.Data1; + } + plVar19 = (longlong *)param_1[2]; + puVar14 = PTR_DAT_140170910; + (**(code **)(*plVar19 + 0x48))(); + DVar10 = 0; + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + local_498 = (uchar [8])&DAT_140131724; + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar3,0xfc05,PTR_DAT_140170910); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar19,param_2,puVar14,param_4); + local_440 = (uchar [8])PTR_DAT_14016f010; + FUN_1400925d0((longlong *)local_440,(char *)local_448); + FUN_140029bf0((longlong *)local_440,(short *)&DAT_140133350); + iVar9 = 0; + if ((local_440 != (uchar [8])0x0) && (local_440 != (uchar [8])PTR_DAT_14016f010)) { + iVar9 = *(int *)((longlong)local_440 + -8); + } + uVar20 = (ulonglong)(iVar9 - 2U); + plVar18 = FUN_140028f40((longlong *)local_440,&local_1a8,iVar9 - 2U); + FUN_1400020c0((longlong *)local_440,plVar18,uVar20,param_4); + plVar19 = &local_1a8; + FUN_140002190(plVar19,plVar18,uVar20,param_4); + local_428 = &local_270; + FUN_14003e7c0(plVar19,plVar18,uVar20,param_4); + local_270 = (undefined **)PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_270,(longlong *)local_440,uVar20,param_4); + plVar19 = FUN_140002040(&local_128,(short *)PTR_DAT_140170910,0,param_4); + (**(code **)(*param_1 + 0x28))(param_1,0xfc05,plVar19,&local_270); + local_498 = local_440; + if (local_440 == (uchar [8])0x0) { + local_498 = (uchar [8])PTR_DAT_14016f010; + } + uVar12 = 0xfc05; + uVar20 = (ulonglong)uVar3; + puVar14 = PTR_DAT_140170910; + (**(code **)(*(longlong *)param_1[2] + 0x70))(); + FUN_140002190((longlong *)local_440,uVar20,uVar12,puVar14); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_98.Data1 = 0xfc05; + local_98.Data4 = (uchar [8])PTR_DAT_140170910; + local_88 = uVar3; + local_80 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_98); + DVar10 = GetTickCount(); + } + uVar12 = (**(code **)(*param_1 + 0xb8))(param_1,uVar3,local_3a8,local_448); + if ((char)uVar12 == '\0') { + uVar12 = (**(code **)(*(longlong *)param_1[2] + 0x40)) + ((longlong *)param_1[2],PTR_DAT_140170910); + } + if (((char)param_1[3] != '\0') || (*(char *)((longlong)param_1 + 0x1a) == '\0')) + goto LAB_1400a23d3; + local_400 = (undefined **)CONCAT44(local_400._4_4_,0xfc05); + local_3f8 = PTR_DAT_140170910; + break; + case 0xfc06: + puVar24 = local_3a8; + FUN_140049b40(puVar24); + local_3a4 = param_2[10]; + local_3a8[0] = (undefined1)param_2[0x10]; + FUN_14003e7c0(puVar24,pIVar25,SVar26,param_4); + local_98._0_8_ = PTR_DAT_14016f008; + FUN_140092400(param_2,(LPCWSTR)&local_98,SVar26,param_4); + plVar19 = (longlong *)param_1[2]; + puVar14 = PTR_DAT_140170918; + (**(code **)(*plVar19 + 0x48))(); + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + local_498 = (uchar [8])&DAT_140131724; + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar3,0xfc06,PTR_DAT_140170918); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar19,param_2,puVar14,param_4); + local_440 = (uchar [8])PTR_DAT_14016f010; + FUN_14009e8b0((longlong *)local_440,(longlong *)&local_98,puVar14,param_4); + FUN_140029bf0((longlong *)local_440,(short *)&DAT_140133350); + iVar9 = 0; + if ((local_440 != (uchar [8])0x0) && (local_440 != (uchar [8])PTR_DAT_14016f010)) { + iVar9 = *(int *)((longlong)local_440 + -8); + } + uVar20 = (ulonglong)(iVar9 - 2U); + plVar18 = FUN_140028f40((longlong *)local_440,&local_198,iVar9 - 2U); + FUN_1400020c0((longlong *)local_440,plVar18,uVar20,param_4); + plVar19 = &local_198; + FUN_140002190(plVar19,plVar18,uVar20,param_4); + local_428 = &local_260; + FUN_14003e7c0(plVar19,plVar18,uVar20,param_4); + local_260 = (undefined **)PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_260,(longlong *)local_440,uVar20,param_4); + plVar19 = FUN_140002040(&local_118,(short *)PTR_DAT_140170918,0,param_4); + (**(code **)(*param_1 + 0x28))(param_1,0xfc06,plVar19,&local_260); + local_498 = local_440; + if (local_440 == (uchar [8])0x0) { + local_498 = (uchar [8])PTR_DAT_14016f010; + } + uVar12 = 0xfc06; + uVar20 = (ulonglong)uVar3; + puVar14 = PTR_DAT_140170918; + (**(code **)(*(longlong *)param_1[2] + 0x70))(); + FUN_140002190((longlong *)local_440,uVar20,uVar12,puVar14); + } + DVar10 = 0; + if (((char)param_1[3] == '\0') && (DVar10 = 0, *(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_78.Data1 = 0xfc06; + local_78.Data4 = (uchar [8])PTR_DAT_140170918; + local_68 = uVar3; + local_60 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_78); + DVar10 = GetTickCount(); + } + cVar8 = (**(code **)(*param_1 + 0xc0))(param_1,uVar3,local_3a8,&local_98); + if (cVar8 == '\0') { + (**(code **)(*(longlong *)param_1[2] + 0x40))((longlong *)param_1[2],PTR_DAT_140170918); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_400 = (undefined **)CONCAT44(local_400._4_4_,0xfc06); + local_3f8 = PTR_DAT_140170918; + local_3f0 = (undefined **)CONCAT44(local_3f0._4_4_,uVar3); + local_3e8 = param_3; + DVar11 = GetTickCount(); + local_3e0 = CONCAT44(local_3e0._4_4_,DVar11 - DVar10); + (**(code **)(*param_1 + 0x18))(param_1,&local_400); + } + goto LAB_1400a23c7; + case 0xfc07: + FUN_140049b40(local_3a8); + local_3a4 = param_2[10]; + local_3a8[0] = (undefined1)param_2[0x10]; + uVar27 = 1; + uVar12 = FUN_140074ee0(param_2,(undefined8 *)&local_420,1); + if ((char)uVar12 != '\0') { + local_448[0] = (byte)local_420.Data1; + } + FUN_14003e7c0(local_420._0_8_ & 0xff,(ulonglong)local_448[0],uVar27,param_4); + local_98._0_8_ = PTR_DAT_14016f008; + FUN_140092400(param_2,(LPCWSTR)&local_98,uVar27,param_4); + plVar19 = (longlong *)param_1[2]; + puVar14 = PTR_DAT_140170920; + (**(code **)(*plVar19 + 0x48))(); + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + local_498 = (uchar [8])&DAT_140131724; + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar3,0xfc07,PTR_DAT_140170920); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar19,param_2,puVar14,param_4); + local_440 = (uchar [8])PTR_DAT_14016f010; + FUN_1400925d0((longlong *)local_440,(char *)local_448); + FUN_140029bf0((longlong *)local_440,(short *)&DAT_140133350); + FUN_14009e8b0((longlong *)local_440,(longlong *)&local_98,puVar14,param_4); + FUN_140029bf0((longlong *)local_440,(short *)&DAT_140133350); + iVar9 = 0; + if ((local_440 != (uchar [8])0x0) && (local_440 != (uchar [8])PTR_DAT_14016f010)) { + iVar9 = *(int *)((longlong)local_440 + -8); + } + uVar20 = (ulonglong)(iVar9 - 2U); + plVar18 = FUN_140028f40((longlong *)local_440,&local_188,iVar9 - 2U); + FUN_1400020c0((longlong *)local_440,plVar18,uVar20,param_4); + plVar19 = &local_188; + FUN_140002190(plVar19,plVar18,uVar20,param_4); + local_428 = &local_250; + FUN_14003e7c0(plVar19,plVar18,uVar20,param_4); + local_250 = (undefined **)PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_250,(longlong *)local_440,uVar20,param_4); + plVar19 = FUN_140002040(&local_108,(short *)PTR_DAT_140170920,0,param_4); + (**(code **)(*param_1 + 0x28))(param_1,0xfc07,plVar19,&local_250); + local_498 = local_440; + if (local_440 == (uchar [8])0x0) { + local_498 = (uchar [8])PTR_DAT_14016f010; + } + uVar12 = 0xfc07; + uVar20 = (ulonglong)uVar3; + puVar14 = PTR_DAT_140170920; + (**(code **)(*(longlong *)param_1[2] + 0x70))(); + FUN_140002190((longlong *)local_440,uVar20,uVar12,puVar14); + } + DVar10 = 0; + if (((char)param_1[3] == '\0') && (DVar10 = 0, *(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_78.Data1 = 0xfc07; + local_78.Data4 = (uchar [8])PTR_DAT_140170920; + local_68 = uVar3; + local_60 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_78); + DVar10 = GetTickCount(); + } + local_498 = (uchar [8])&local_98; + cVar8 = (**(code **)(*param_1 + 200))(param_1,uVar3,local_3a8,local_448); + if (cVar8 == '\0') { + (**(code **)(*(longlong *)param_1[2] + 0x40))((longlong *)param_1[2],PTR_DAT_140170920); + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_400 = (undefined **)CONCAT44(local_400._4_4_,0xfc07); + local_3f8 = PTR_DAT_140170920; + local_3f0 = (undefined **)CONCAT44(local_3f0._4_4_,uVar3); + local_3e8 = param_3; + DVar11 = GetTickCount(); + local_3e0 = CONCAT44(local_3e0._4_4_,DVar11 - DVar10); + (**(code **)(*param_1 + 0x18))(param_1,&local_400); + } +LAB_1400a23c7: + uVar12 = FUN_140006e80((longlong *)&local_98); + goto LAB_1400a23d3; + default: + goto switchD_14009ea94_default; + } + local_3f0 = (undefined **)CONCAT44(local_3f0._4_4_,uVar3); + local_3e8 = param_3; + DVar11 = GetTickCount(); + local_3e0 = CONCAT44(local_3e0._4_4_,DVar11 - DVar10); + uVar12 = (**(code **)(*param_1 + 0x18))(param_1,&local_400); +LAB_1400a23d3: + return CONCAT71((int7)((ulonglong)uVar12 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a2460.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a2460.c new file mode 100644 index 00000000..15bb0a84 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a2460.c @@ -0,0 +1,672 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a2460 FUN_1400a2460 + * Pseudocode, not original source. */ + +/* WARNING: Type propagation algorithm not settling */ + +undefined8 FUN_1400a2460(longlong *param_1,uint *param_2,undefined8 param_3,undefined8 param_4) + +{ + int *piVar1; + uint uVar2; + uint uVar3; + int iVar4; + DWORD DVar5; + DWORD DVar6; + undefined8 uVar7; + undefined8 uVar8; + longlong *plVar9; + int *******pppppppiVar10; + int *******pppppppiVar11; + undefined *puVar12; + int *******pppppppiVar13; + int *******pppppppiVar14; + undefined *puVar15; + ulonglong uVar16; + undefined4 uVar17; + undefined **ppuVar18; + int ******ppppppiVar19; + int ******local_res10; + undefined8 local_res18; + uint local_res20 [2]; + int *******local_168; + int *******local_160; + undefined *local_158; + uint local_150; + undefined8 local_148; + int local_140; + int *******local_138; + undefined1 local_130; + int *******local_128; + int ******local_120; + int *******local_118; + int *******local_110; + int *******local_108; + int *******local_100; + undefined *local_f8; + undefined *local_f0; + undefined *local_e8; + undefined *local_e0; + undefined *local_d8; + undefined *local_d0; + undefined *local_c8; + undefined *local_c0; + int *******local_b8 [2]; + undefined1 local_a8 [4]; + uint local_a4; + undefined8 local_70; + undefined8 local_48; + + local_48 = 0xfffffffffffffffe; + uVar2 = param_2[10]; + uVar8 = param_3; + local_res18 = param_3; + if (uVar2 == 0) { + FUN_140079c10(); + } + uVar3 = *param_2; + uVar7 = FUN_140075890(param_2,local_res20,uVar8,param_4); + if ((char)uVar7 == '\0') { +LAB_1400a35e0: + uVar16 = FUN_140074bb0((int *)param_2, + (ulonglong)(uint)((int)(((int)uVar3 >> 0x1f & 7U) + uVar3) >> 3),uVar8, + param_4); + return uVar16 & 0xffffffffffffff00; + } + local_70 = param_3; + if (local_res20[0] == 0xfde9) { + FUN_140049b40(local_a8); + local_a4 = param_2[10]; + local_a8[0] = (undefined1)param_2[0x10]; + plVar9 = (longlong *)param_1[2]; + puVar12 = PTR_DAT_140170928; + (**(code **)(*plVar9 + 0x48))(); + DVar5 = 0; + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar2,0xfde9,PTR_DAT_140170928,&DAT_140131724); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar9,param_2,puVar12,param_4); + ppppppiVar19 = (int ******)PTR_DAT_14016f010; + local_res10 = (int ******)PTR_DAT_14016f010; + uVar8 = 0xfffffffe; + ppuVar18 = &local_c8; + plVar9 = FUN_140028f40((longlong *)&local_res10,(longlong *)ppuVar18,0xfffffffe); + if (ppppppiVar19 == (int ******)0x0) { + ppppppiVar19 = (int ******)PTR_DAT_14016f010; + } + local_res10 = ppppppiVar19; + if ((int ******)*plVar9 != ppppppiVar19) { + pppppppiVar14 = (int *******)FUN_14003e7c0(PTR_DAT_14016f010,ppuVar18,uVar8,param_4); + pppppppiVar10 = pppppppiVar14; + local_160 = pppppppiVar14; + FUN_14003d040((int *)pppppppiVar14); + local_158 = (undefined *)CONCAT71(local_158._1_7_,1); + if (((ppppppiVar19 != (int ******)0x0) && (ppppppiVar19 != (int ******)PTR_DAT_14016f010)) + && (ppppppiVar19 + -1 != (int ******)0x0)) { + pppppppiVar10 = (int *******)FUN_14003e7c0(pppppppiVar10,ppuVar18,uVar8,param_4); + local_138 = pppppppiVar10; + FUN_14003d040((int *)pppppppiVar10); + local_130 = 1; + piVar1 = (int *)((longlong)ppppppiVar19 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(ppppppiVar19 + -1); + } + FUN_14003d0d0((longlong)pppppppiVar10); + } + ppppppiVar19 = (int ******)*plVar9; + if (((ppppppiVar19 != (int ******)PTR_DAT_14016f010) && (ppppppiVar19 != (int ******)0x0)) + && (ppppppiVar19 != (int ******)0x8)) { + *(int *)((longlong)ppppppiVar19 + -4) = *(int *)((longlong)ppppppiVar19 + -4) + 1; + } + local_res10 = ppppppiVar19; + FUN_14003d0d0((longlong)pppppppiVar14); + } + if (((local_c8 != (undefined *)0x0) && (local_c8 != PTR_DAT_14016f010)) && + (local_c8 + -8 != (undefined *)0x0)) { + pppppppiVar10 = (int *******)FUN_14003e7c0(PTR_DAT_14016f010,ppuVar18,uVar8,param_4); + local_160 = pppppppiVar10; + FUN_14003d040((int *)pppppppiVar10); + local_158 = (undefined *)CONCAT71(local_158._1_7_,1); + piVar1 = (int *)(local_c8 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(local_c8 + -8); + } + FUN_14003d0d0((longlong)pppppppiVar10); + } + local_138 = &local_120; + pppppppiVar10 = (int *******)PTR_DAT_14016f010; + local_c8 = PTR_DAT_14016f010; + FUN_14003e7c0(PTR_DAT_14016f010,ppuVar18,uVar8,param_4); + local_120 = (int ******)PTR_DAT_14016f010; + if (PTR_DAT_14016f010 == (undefined *)0x0) { + local_120 = (int ******)0x0; + } + if (ppppppiVar19 != (int ******)PTR_DAT_14016f010) { + pppppppiVar10 = (int *******)FUN_14003e7c0(pppppppiVar10,ppuVar18,uVar8,param_4); + local_160 = pppppppiVar10; + FUN_14003d040((int *)pppppppiVar10); + local_158 = (undefined *)CONCAT71(local_158._1_7_,1); + FUN_140002190((longlong *)&local_120,ppuVar18,uVar8,param_4); + if (((ppppppiVar19 != (int ******)PTR_DAT_14016f010) && (ppppppiVar19 != (int ******)0x0)) + && (ppppppiVar19 != (int ******)0x8)) { + *(int *)((longlong)ppppppiVar19 + -4) = *(int *)((longlong)ppppppiVar19 + -4) + 1; + } + local_120 = ppppppiVar19; + FUN_14003d0d0((longlong)pppppppiVar10); + } + puVar12 = PTR_DAT_140170928; + FUN_14003e7c0(pppppppiVar10,ppuVar18,uVar8,param_4); + local_f0 = PTR_DAT_14016f010; + iVar4 = FUN_14003e620((short *)puVar12); + puVar15 = FUN_140001ee0((longlong *)&local_f0,iVar4); + FUN_14003e650(puVar15,puVar12,iVar4); + FUN_140001fc0((longlong *)&local_f0); + (**(code **)(*param_1 + 0x28))(param_1,0xfde9,&local_f0,&local_120); + plVar9 = (longlong *)param_1[2]; + uVar8 = 0xfde9; + uVar16 = (ulonglong)uVar2; + puVar12 = PTR_DAT_140170928; + (**(code **)(*plVar9 + 0x70))(); + param_3 = local_res18; + if (((ppppppiVar19 != (int ******)0x0) && (ppppppiVar19 != (int ******)PTR_DAT_14016f010)) && + (ppppppiVar19 + -1 != (int ******)0x0)) { + pppppppiVar10 = (int *******)FUN_14003e7c0(plVar9,uVar16,uVar8,puVar12); + local_160 = pppppppiVar10; + FUN_14003d040((int *)pppppppiVar10); + local_158 = (undefined *)CONCAT71(local_158._1_7_,1); + piVar1 = (int *)((longlong)ppppppiVar19 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(ppppppiVar19 + -1); + } + FUN_14003d0d0((longlong)pppppppiVar10); + param_3 = local_res18; + } + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_160 = (int *******)CONCAT44(local_160._4_4_,0xfde9); + local_158 = PTR_DAT_140170928; + local_150 = uVar2; + local_148 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_160); + DVar5 = GetTickCount(); + } + uVar8 = (**(code **)(*param_1 + 0x38))(param_1,uVar2,local_a8); + if ((char)uVar8 == '\0') { + uVar8 = (**(code **)(*(longlong *)param_1[2] + 0x40)) + ((longlong *)param_1[2],PTR_DAT_140170928); + } + if (((char)param_1[3] != '\0') || (*(char *)((longlong)param_1 + 0x1a) == '\0')) + goto LAB_1400a35dc; + local_160 = (int *******)CONCAT44(local_160._4_4_,0xfde9); + local_158 = PTR_DAT_140170928; + } + else if (local_res20[0] == 0xfdea) { + FUN_140049b40(local_a8); + local_a4 = param_2[10]; + local_a8[0] = (undefined1)param_2[0x10]; + uVar8 = FUN_140074ee0(param_2,&local_168,4); + uVar17 = local_res10._0_4_; + if ((char)uVar8 != '\0') { + uVar17 = local_168._0_4_; + } + local_res10 = (int ******)CONCAT44(local_res10._4_4_,uVar17); + plVar9 = (longlong *)param_1[2]; + puVar12 = PTR_DAT_140170930; + (**(code **)(*plVar9 + 0x48))(); + DVar5 = 0; + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar2,0xfdea,PTR_DAT_140170930,&DAT_140131724); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar9,param_2,puVar12,param_4); + local_168 = (int *******)PTR_DAT_14016f010; + FUN_140092710((longlong *)&local_168); + FUN_140029bf0((longlong *)&local_168,(short *)&DAT_140133350); + iVar4 = 0; + if ((local_168 != (int *******)0x0) && (local_168 != (int *******)PTR_DAT_14016f010)) { + iVar4 = *(int *)(local_168 + -1); + } + uVar16 = (ulonglong)(iVar4 - 2U); + plVar9 = FUN_140028f40((longlong *)&local_168,(longlong *)&local_d0,iVar4 - 2U); + pppppppiVar10 = local_168; + if (local_168 == (int *******)0x0) { + pppppppiVar10 = (int *******)PTR_DAT_14016f010; + } + local_168 = pppppppiVar10; + if ((int *******)*plVar9 != pppppppiVar10) { + pppppppiVar10 = (int *******)FUN_14003e7c0(pppppppiVar10,PTR_DAT_14016f010,uVar16,param_4); + local_160 = pppppppiVar10; + FUN_14003d040((int *)pppppppiVar10); + pppppppiVar14 = local_168; + local_158 = (undefined *)CONCAT71(local_158._1_7_,1); + if (((local_168 != (int *******)0x0) && (local_168 != (int *******)PTR_DAT_14016f010)) && + (pppppppiVar13 = local_168 + -1, pppppppiVar13 != (int *******)0x0)) { + pppppppiVar11 = (int *******)FUN_14003e7c0(local_168,PTR_DAT_14016f010,uVar16,param_4); + local_138 = pppppppiVar11; + FUN_14003d040((int *)pppppppiVar11); + local_130 = 1; + piVar1 = (int *)((longlong)pppppppiVar14 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(pppppppiVar13); + } + FUN_14003d0d0((longlong)pppppppiVar11); + } + local_168 = (int *******)*plVar9; + if (((local_168 != (int *******)PTR_DAT_14016f010) && (local_168 != (int *******)0x0)) && + (local_168 != (int *******)0x8)) { + *(int *)((longlong)local_168 + -4) = *(int *)((longlong)local_168 + -4) + 1; + } + FUN_14003d0d0((longlong)pppppppiVar10); + } + if (((local_d0 != (undefined *)0x0) && (local_d0 != PTR_DAT_14016f010)) && + (local_d0 + -8 != (undefined *)0x0)) { + pppppppiVar10 = (int *******)FUN_14003e7c0(pppppppiVar10,PTR_DAT_14016f010,uVar16,param_4); + local_160 = pppppppiVar10; + FUN_14003d040((int *)pppppppiVar10); + local_158 = (undefined *)CONCAT71(local_158._1_7_,1); + piVar1 = (int *)(local_d0 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(local_d0 + -8); + } + FUN_14003d0d0((longlong)pppppppiVar10); + } + local_138 = (int *******)&local_118; + puVar12 = PTR_DAT_14016f010; + local_d0 = PTR_DAT_14016f010; + FUN_14003e7c0(pppppppiVar10,PTR_DAT_14016f010,uVar16,param_4); + local_118 = (int *******)PTR_DAT_14016f010; + if (PTR_DAT_14016f010 == (undefined *)0x0) { + local_118 = (int *******)0x0; + } + if (local_168 != (int *******)PTR_DAT_14016f010) { + pppppppiVar10 = (int *******)FUN_14003e7c0(pppppppiVar10,puVar12,uVar16,param_4); + local_160 = pppppppiVar10; + FUN_14003d040((int *)pppppppiVar10); + local_158 = (undefined *)CONCAT71(local_158._1_7_,1); + FUN_140002190((longlong *)&local_118,puVar12,uVar16,param_4); + local_118 = local_168; + if (((local_168 != (int *******)PTR_DAT_14016f010) && (local_168 != (int *******)0x0)) && + (local_168 != (int *******)0x8)) { + *(int *)((longlong)local_168 + -4) = *(int *)((longlong)local_168 + -4) + 1; + } + FUN_14003d0d0((longlong)pppppppiVar10); + } + puVar15 = PTR_DAT_140170930; + FUN_14003e7c0(pppppppiVar10,puVar12,uVar16,param_4); + local_e8 = PTR_DAT_14016f010; + iVar4 = FUN_14003e620((short *)puVar15); + puVar12 = FUN_140001ee0((longlong *)&local_e8,iVar4); + FUN_14003e650(puVar12,puVar15,iVar4); + FUN_140001fc0((longlong *)&local_e8); + (**(code **)(*param_1 + 0x28))(param_1,0xfdea,&local_e8,&local_118); + plVar9 = (longlong *)param_1[2]; + uVar8 = 0xfdea; + uVar16 = (ulonglong)uVar2; + puVar12 = PTR_DAT_140170930; + (**(code **)(*plVar9 + 0x70))(); + pppppppiVar10 = local_168; + param_3 = local_res18; + if (((local_168 != (int *******)0x0) && (local_168 != (int *******)PTR_DAT_14016f010)) && + (pppppppiVar14 = local_168 + -1, pppppppiVar14 != (int *******)0x0)) { + pppppppiVar13 = (int *******)FUN_14003e7c0(plVar9,uVar16,uVar8,puVar12); + local_160 = pppppppiVar13; + FUN_14003d040((int *)pppppppiVar13); + local_158 = (undefined *)CONCAT71(local_158._1_7_,1); + piVar1 = (int *)((longlong)pppppppiVar10 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(pppppppiVar14); + } + FUN_14003d0d0((longlong)pppppppiVar13); + param_3 = local_res18; + } + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_160 = (int *******)CONCAT44(local_160._4_4_,0xfdea); + local_158 = PTR_DAT_140170930; + local_150 = uVar2; + local_148 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_160); + DVar5 = GetTickCount(); + } + uVar8 = (**(code **)(*param_1 + 0x40))(param_1,uVar2,local_a8,&local_res10); + if ((char)uVar8 == '\0') { + uVar8 = (**(code **)(*(longlong *)param_1[2] + 0x40)) + ((longlong *)param_1[2],PTR_DAT_140170930); + } + if (((char)param_1[3] != '\0') || (*(char *)((longlong)param_1 + 0x1a) == '\0')) + goto LAB_1400a35dc; + local_160 = (int *******)CONCAT44(local_160._4_4_,0xfdea); + local_158 = PTR_DAT_140170930; + } + else if (local_res20[0] == 0xfdeb) { + FUN_140049b40(local_a8); + local_a4 = param_2[10]; + local_a8[0] = (undefined1)param_2[0x10]; + uVar8 = FUN_140074ee0(param_2,&local_110,8); + if ((char)uVar8 != '\0') { + local_128 = local_110; + } + uVar8 = FUN_140074ee0(param_2,&local_168,4); + if ((char)uVar8 != '\0') { + local_res10 = (int ******)CONCAT44(local_res10._4_4_,local_168._0_4_); + } + plVar9 = (longlong *)param_1[2]; + puVar12 = PTR_DAT_140170938; + (**(code **)(*plVar9 + 0x48))(); + DVar5 = 0; + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar2,0xfdeb,PTR_DAT_140170938,&DAT_140131724); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar9,param_2,puVar12,param_4); + local_168 = (int *******)PTR_DAT_14016f010; + FUN_140092840((longlong *)&local_168); + FUN_140029bf0((longlong *)&local_168,(short *)&DAT_140133350); + FUN_1400927d0((longlong *)&local_168); + FUN_140029bf0((longlong *)&local_168,(short *)&DAT_140133350); + iVar4 = 0; + if ((local_168 != (int *******)0x0) && (local_168 != (int *******)PTR_DAT_14016f010)) { + iVar4 = *(int *)(local_168 + -1); + } + uVar16 = (ulonglong)(iVar4 - 2U); + plVar9 = FUN_140028f40((longlong *)&local_168,(longlong *)&local_c0,iVar4 - 2U); + pppppppiVar10 = local_168; + if (local_168 == (int *******)0x0) { + pppppppiVar10 = (int *******)PTR_DAT_14016f010; + } + local_168 = pppppppiVar10; + if ((int *******)*plVar9 != pppppppiVar10) { + pppppppiVar10 = (int *******)FUN_14003e7c0(pppppppiVar10,PTR_DAT_14016f010,uVar16,param_4); + local_160 = pppppppiVar10; + FUN_14003d040((int *)pppppppiVar10); + pppppppiVar14 = local_168; + local_158 = (undefined *)CONCAT71(local_158._1_7_,1); + if (((local_168 != (int *******)0x0) && (local_168 != (int *******)PTR_DAT_14016f010)) && + (pppppppiVar13 = local_168 + -1, pppppppiVar13 != (int *******)0x0)) { + pppppppiVar11 = (int *******)FUN_14003e7c0(local_168,PTR_DAT_14016f010,uVar16,param_4); + local_138 = pppppppiVar11; + FUN_14003d040((int *)pppppppiVar11); + local_130 = 1; + piVar1 = (int *)((longlong)pppppppiVar14 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(pppppppiVar13); + } + FUN_14003d0d0((longlong)pppppppiVar11); + } + local_168 = (int *******)*plVar9; + if (((local_168 != (int *******)PTR_DAT_14016f010) && (local_168 != (int *******)0x0)) && + (local_168 != (int *******)0x8)) { + *(int *)((longlong)local_168 + -4) = *(int *)((longlong)local_168 + -4) + 1; + } + FUN_14003d0d0((longlong)pppppppiVar10); + } + if (((local_c0 != (undefined *)0x0) && (local_c0 != PTR_DAT_14016f010)) && + (local_c0 + -8 != (undefined *)0x0)) { + pppppppiVar10 = (int *******)FUN_14003e7c0(pppppppiVar10,PTR_DAT_14016f010,uVar16,param_4); + local_160 = pppppppiVar10; + FUN_14003d040((int *)pppppppiVar10); + local_158 = (undefined *)CONCAT71(local_158._1_7_,1); + piVar1 = (int *)(local_c0 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(local_c0 + -8); + } + FUN_14003d0d0((longlong)pppppppiVar10); + } + local_138 = (int *******)&local_108; + puVar12 = PTR_DAT_14016f010; + local_c0 = PTR_DAT_14016f010; + FUN_14003e7c0(pppppppiVar10,PTR_DAT_14016f010,uVar16,param_4); + local_108 = (int *******)PTR_DAT_14016f010; + if (PTR_DAT_14016f010 == (undefined *)0x0) { + local_108 = (int *******)0x0; + } + if (local_168 != (int *******)PTR_DAT_14016f010) { + pppppppiVar10 = (int *******)FUN_14003e7c0(pppppppiVar10,puVar12,uVar16,param_4); + local_160 = pppppppiVar10; + FUN_14003d040((int *)pppppppiVar10); + local_158 = (undefined *)CONCAT71(local_158._1_7_,1); + FUN_140002190((longlong *)&local_108,puVar12,uVar16,param_4); + local_108 = local_168; + if (((local_168 != (int *******)PTR_DAT_14016f010) && (local_168 != (int *******)0x0)) && + (local_168 != (int *******)0x8)) { + *(int *)((longlong)local_168 + -4) = *(int *)((longlong)local_168 + -4) + 1; + } + FUN_14003d0d0((longlong)pppppppiVar10); + } + puVar15 = PTR_DAT_140170938; + FUN_14003e7c0(pppppppiVar10,puVar12,uVar16,param_4); + local_f8 = PTR_DAT_14016f010; + iVar4 = FUN_14003e620((short *)puVar15); + puVar12 = FUN_140001ee0((longlong *)&local_f8,iVar4); + FUN_14003e650(puVar12,puVar15,iVar4); + FUN_140001fc0((longlong *)&local_f8); + (**(code **)(*param_1 + 0x28))(param_1,0xfdeb,&local_f8,&local_108); + plVar9 = (longlong *)param_1[2]; + uVar8 = 0xfdeb; + uVar16 = (ulonglong)uVar2; + puVar12 = PTR_DAT_140170938; + (**(code **)(*plVar9 + 0x70))(); + pppppppiVar10 = local_168; + param_3 = local_res18; + if (((local_168 != (int *******)0x0) && (local_168 != (int *******)PTR_DAT_14016f010)) && + (pppppppiVar14 = local_168 + -1, pppppppiVar14 != (int *******)0x0)) { + pppppppiVar13 = (int *******)FUN_14003e7c0(plVar9,uVar16,uVar8,puVar12); + local_160 = pppppppiVar13; + FUN_14003d040((int *)pppppppiVar13); + local_158 = (undefined *)CONCAT71(local_158._1_7_,1); + piVar1 = (int *)((longlong)pppppppiVar10 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(pppppppiVar14); + } + FUN_14003d0d0((longlong)pppppppiVar13); + param_3 = local_res18; + } + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_160 = (int *******)CONCAT44(local_160._4_4_,0xfdeb); + local_158 = PTR_DAT_140170938; + local_150 = uVar2; + local_148 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_160); + DVar5 = GetTickCount(); + } + uVar8 = (**(code **)(*param_1 + 0x48))(param_1,uVar2,local_a8,&local_128,&local_res10); + if ((char)uVar8 == '\0') { + uVar8 = (**(code **)(*(longlong *)param_1[2] + 0x40)) + ((longlong *)param_1[2],PTR_DAT_140170938); + } + if (((char)param_1[3] != '\0') || (*(char *)((longlong)param_1 + 0x1a) == '\0')) + goto LAB_1400a35dc; + local_160 = (int *******)CONCAT44(local_160._4_4_,0xfdeb); + local_158 = PTR_DAT_140170938; + } + else { + if (local_res20[0] != 0xfdec) goto LAB_1400a35e0; + FUN_140049b40(local_a8); + local_a4 = param_2[10]; + local_a8[0] = (undefined1)param_2[0x10]; + uVar8 = FUN_140074ee0(param_2,&local_168,8); + if ((char)uVar8 != '\0') { + local_128 = local_168; + } + uVar8 = FUN_140074ee0(param_2,&local_168,8); + if ((char)uVar8 != '\0') { + local_110 = local_168; + } + uVar8 = FUN_140074ee0(param_2,&local_168,8); + if ((char)uVar8 != '\0') { + local_b8[0] = local_168; + } + uVar8 = FUN_140074ee0(param_2,&local_168,4); + if ((char)uVar8 != '\0') { + local_res10 = (int ******)CONCAT44(local_res10._4_4_,local_168._0_4_); + } + plVar9 = (longlong *)param_1[2]; + puVar12 = PTR_DAT_140170940; + (**(code **)(*plVar9 + 0x48))(); + DVar5 = 0; + if (*(char *)((longlong)param_1 + 0x19) == '\0') { + if ((char)param_1[3] == '\0') { + (**(code **)(*(longlong *)param_1[2] + 0x70)) + ((longlong *)param_1[2],uVar2,0xfdec,PTR_DAT_140170940,&DAT_140131724); + } + } + else if ((char)param_1[3] == '\0') { + FUN_14003e7c0(plVar9,param_2,puVar12,param_4); + local_168 = (int *******)PTR_DAT_14016f010; + FUN_140092840((longlong *)&local_168); + FUN_140029bf0((longlong *)&local_168,(short *)&DAT_140133350); + FUN_140092840((longlong *)&local_168); + FUN_140029bf0((longlong *)&local_168,(short *)&DAT_140133350); + FUN_140092840((longlong *)&local_168); + FUN_140029bf0((longlong *)&local_168,(short *)&DAT_140133350); + FUN_1400927d0((longlong *)&local_168); + FUN_140029bf0((longlong *)&local_168,(short *)&DAT_140133350); + iVar4 = 0; + if ((local_168 != (int *******)0x0) && (local_168 != (int *******)PTR_DAT_14016f010)) { + iVar4 = *(int *)(local_168 + -1); + } + uVar16 = (ulonglong)(iVar4 - 2U); + plVar9 = FUN_140028f40((longlong *)&local_168,(longlong *)&local_d8,iVar4 - 2U); + pppppppiVar10 = local_168; + if (local_168 == (int *******)0x0) { + pppppppiVar10 = (int *******)PTR_DAT_14016f010; + } + local_168 = pppppppiVar10; + if ((int *******)*plVar9 != pppppppiVar10) { + pppppppiVar10 = (int *******)FUN_14003e7c0(pppppppiVar10,PTR_DAT_14016f010,uVar16,param_4); + local_138 = pppppppiVar10; + FUN_14003d040((int *)pppppppiVar10); + pppppppiVar14 = local_168; + local_130 = 1; + if (((local_168 != (int *******)0x0) && (local_168 != (int *******)PTR_DAT_14016f010)) && + (pppppppiVar13 = local_168 + -1, pppppppiVar13 != (int *******)0x0)) { + pppppppiVar11 = (int *******)FUN_14003e7c0(local_168,PTR_DAT_14016f010,uVar16,param_4); + local_160 = pppppppiVar11; + FUN_14003d040((int *)pppppppiVar11); + local_158 = (undefined *)CONCAT71(local_158._1_7_,1); + piVar1 = (int *)((longlong)pppppppiVar14 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(pppppppiVar13); + } + FUN_14003d0d0((longlong)pppppppiVar11); + } + local_168 = (int *******)*plVar9; + if (((local_168 != (int *******)PTR_DAT_14016f010) && (local_168 != (int *******)0x0)) && + (local_168 != (int *******)0x8)) { + *(int *)((longlong)local_168 + -4) = *(int *)((longlong)local_168 + -4) + 1; + } + FUN_14003d0d0((longlong)pppppppiVar10); + } + if (((local_d8 != (undefined *)0x0) && (local_d8 != PTR_DAT_14016f010)) && + (local_d8 + -8 != (undefined *)0x0)) { + pppppppiVar10 = (int *******)FUN_14003e7c0(pppppppiVar10,PTR_DAT_14016f010,uVar16,param_4); + local_160 = pppppppiVar10; + FUN_14003d040((int *)pppppppiVar10); + local_158 = (undefined *)CONCAT71(local_158._1_7_,1); + piVar1 = (int *)(local_d8 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(local_d8 + -8); + } + FUN_14003d0d0((longlong)pppppppiVar10); + } + local_138 = (int *******)&local_100; + puVar12 = PTR_DAT_14016f010; + local_d8 = PTR_DAT_14016f010; + FUN_14003e7c0(pppppppiVar10,PTR_DAT_14016f010,uVar16,param_4); + local_100 = (int *******)PTR_DAT_14016f010; + if (PTR_DAT_14016f010 == (undefined *)0x0) { + local_100 = (int *******)0x0; + } + if (local_168 != (int *******)PTR_DAT_14016f010) { + pppppppiVar10 = (int *******)FUN_14003e7c0(pppppppiVar10,puVar12,uVar16,param_4); + local_160 = pppppppiVar10; + FUN_14003d040((int *)pppppppiVar10); + local_158 = (undefined *)CONCAT71(local_158._1_7_,1); + FUN_140002190((longlong *)&local_100,puVar12,uVar16,param_4); + local_100 = local_168; + if (((local_168 != (int *******)PTR_DAT_14016f010) && (local_168 != (int *******)0x0)) && + (local_168 != (int *******)0x8)) { + *(int *)((longlong)local_168 + -4) = *(int *)((longlong)local_168 + -4) + 1; + } + FUN_14003d0d0((longlong)pppppppiVar10); + } + puVar15 = PTR_DAT_140170940; + FUN_14003e7c0(pppppppiVar10,puVar12,uVar16,param_4); + local_e0 = PTR_DAT_14016f010; + iVar4 = FUN_14003e620((short *)puVar15); + puVar12 = FUN_140001ee0((longlong *)&local_e0,iVar4); + FUN_14003e650(puVar12,puVar15,iVar4); + FUN_140001fc0((longlong *)&local_e0); + (**(code **)(*param_1 + 0x28))(param_1,0xfdec,&local_e0,&local_100); + plVar9 = (longlong *)param_1[2]; + uVar8 = 0xfdec; + uVar16 = (ulonglong)uVar2; + puVar12 = PTR_DAT_140170940; + (**(code **)(*plVar9 + 0x70))(); + pppppppiVar10 = local_168; + param_3 = local_res18; + if (((local_168 != (int *******)0x0) && (local_168 != (int *******)PTR_DAT_14016f010)) && + (pppppppiVar14 = local_168 + -1, pppppppiVar14 != (int *******)0x0)) { + pppppppiVar13 = (int *******)FUN_14003e7c0(plVar9,uVar16,uVar8,puVar12); + local_160 = pppppppiVar13; + FUN_14003d040((int *)pppppppiVar13); + local_158 = (undefined *)CONCAT71(local_158._1_7_,1); + piVar1 = (int *)((longlong)pppppppiVar10 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(pppppppiVar14); + } + FUN_14003d0d0((longlong)pppppppiVar13); + param_3 = local_res18; + } + } + if (((char)param_1[3] == '\0') && (*(char *)((longlong)param_1 + 0x1a) != '\0')) { + local_160 = (int *******)CONCAT44(local_160._4_4_,0xfdec); + local_158 = PTR_DAT_140170940; + local_150 = uVar2; + local_148 = param_3; + (**(code **)(*param_1 + 0x20))(param_1,&local_160); + DVar5 = GetTickCount(); + } + uVar8 = (**(code **)(*param_1 + 0x50)) + (param_1,uVar2,local_a8,&local_128,&local_110,local_b8,&local_res10); + if ((char)uVar8 == '\0') { + uVar8 = (**(code **)(*(longlong *)param_1[2] + 0x40)) + ((longlong *)param_1[2],PTR_DAT_140170940); + } + if (((char)param_1[3] != '\0') || (*(char *)((longlong)param_1 + 0x1a) == '\0')) + goto LAB_1400a35dc; + local_160 = (int *******)CONCAT44(local_160._4_4_,0xfdec); + local_158 = PTR_DAT_140170940; + } + local_150 = uVar2; + local_148 = param_3; + DVar6 = GetTickCount(); + local_140 = DVar6 - DVar5; + uVar8 = (**(code **)(*param_1 + 0x18))(param_1,&local_160); +LAB_1400a35dc: + return CONCAT71((int7)((ulonglong)uVar8 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a3610.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a3610.c new file mode 100644 index 00000000..7b34a4ea --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a3610.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a3610 FUN_1400a3610 + * Pseudocode, not original source. */ + +undefined1 FUN_1400a3610(longlong *param_1,undefined8 param_2,SIZE_T param_3,undefined4 *param_4) + +{ + undefined1 uVar1; + SIZE_T SVar2; + undefined4 *puVar3; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + puVar3 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,puVar3); + FUN_14002a2d0((longlong)local_30,0xfa01,SVar2,puVar3); + FUN_14002f4a0((longlong)local_30,*param_4,SVar2,puVar3); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,PTR_DAT_140170948,0xfa01); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a36f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a36f0.c new file mode 100644 index 00000000..f10db34c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a36f0.c @@ -0,0 +1,36 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a36f0 FUN_1400a36f0 + * Pseudocode, not original source. */ + +undefined1 +FUN_1400a36f0(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4, + undefined4 *param_5) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0xfa01,uVar3,uVar4); + FUN_14002f4a0((longlong)local_30,*param_5,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30,PTR_DAT_140170948,0xfa01) + ; + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a37d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a37d0.c new file mode 100644 index 00000000..a15ebf93 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a37d0.c @@ -0,0 +1,35 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a37d0 FUN_1400a37d0 + * Pseudocode, not original source. */ + +undefined1 +FUN_1400a37d0(longlong *param_1,undefined8 param_2,SIZE_T param_3,uint *param_4,uint *param_5) + +{ + undefined1 uVar1; + SIZE_T SVar2; + uint *puVar3; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + puVar3 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,puVar3); + FUN_14002a2d0((longlong)local_30,0xfa02,SVar2,puVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_4,SVar2,puVar3); + FUN_140051c10((longlong)local_30,(ulonglong)*param_5,SVar2,puVar3); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,PTR_DAT_140170950,0xfa02); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a38c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a38c0.c new file mode 100644 index 00000000..b6d9e74c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a38c0.c @@ -0,0 +1,37 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a38c0 FUN_1400a38c0 + * Pseudocode, not original source. */ + +undefined1 +FUN_1400a38c0(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4, + uint *param_5,uint *param_6) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0xfa02,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_5,uVar3,uVar4); + FUN_140051c10((longlong)local_30,(ulonglong)*param_6,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30,PTR_DAT_140170950,0xfa02) + ; + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a39c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a39c0.c new file mode 100644 index 00000000..df4e7c97 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a39c0.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a39c0 FUN_1400a39c0 + * Pseudocode, not original source. */ + +undefined1 FUN_1400a39c0(longlong *param_1,undefined8 param_2,SIZE_T param_3,undefined8 param_4) + +{ + undefined1 uVar1; + SIZE_T SVar2; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,param_4); + FUN_14002a2d0((longlong)local_30,0xfa03,SVar2,param_4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,PTR_DAT_140170958,0xfa03); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a3a80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a3a80.c new file mode 100644 index 00000000..16ae5970 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a3a80.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a3a80 FUN_1400a3a80 + * Pseudocode, not original source. */ + +undefined1 FUN_1400a3a80(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0xfa03,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30,PTR_DAT_140170958,0xfa03) + ; + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a3b50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a3b50.c new file mode 100644 index 00000000..9b1a5de3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a3b50.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a3b50 FUN_1400a3b50 + * Pseudocode, not original source. */ + +undefined1 +FUN_1400a3b50(longlong *param_1,undefined8 param_2,SIZE_T param_3,uint *param_4,uint *param_5, + uint *param_6,byte *param_7) + +{ + undefined1 uVar1; + SIZE_T SVar2; + uint *puVar3; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + puVar3 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,puVar3); + FUN_14002a2d0((longlong)local_30,0xfa04,SVar2,puVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_4,SVar2,puVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_5,SVar2,puVar3); + FUN_140051c10((longlong)local_30,(ulonglong)*param_6,SVar2,puVar3); + FUN_140029d80((longlong)local_30,(ulonglong)*param_7,SVar2,puVar3); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,PTR_DAT_140170960,0xfa04); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a3c70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a3c70.c new file mode 100644 index 00000000..0ebbae17 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a3c70.c @@ -0,0 +1,39 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a3c70 FUN_1400a3c70 + * Pseudocode, not original source. */ + +undefined1 +FUN_1400a3c70(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4, + uint *param_5,uint *param_6,uint *param_7,byte *param_8) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0xfa04,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_5,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_6,uVar3,uVar4); + FUN_140051c10((longlong)local_30,(ulonglong)*param_7,uVar3,uVar4); + FUN_140029d80((longlong)local_30,(ulonglong)*param_8,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30,PTR_DAT_140170960,0xfa04) + ; + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a3d90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a3d90.c new file mode 100644 index 00000000..b5e6d9ff --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a3d90.c @@ -0,0 +1,49 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a3d90 FUN_1400a3d90 + * Pseudocode, not original source. */ + +undefined1 +FUN_1400a3d90(longlong *param_1,undefined8 param_2,SIZE_T param_3,uint *param_4,uint *param_5, + longlong param_6,longlong param_7,longlong param_8,longlong param_9) + +{ + ushort uVar1; + undefined1 uVar2; + SIZE_T SVar3; + uint *puVar4; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar3 = param_3; + puVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar3,puVar4); + FUN_14002a2d0((longlong)local_30,0xfa05,SVar3,puVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_4,SVar3,puVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_5,SVar3,puVar4); + uVar1 = *(ushort *)(param_6 + 0xc); + FUN_140051c10((longlong)local_30,(ulonglong)*(uint *)(param_6 + 8),SVar3,puVar4); + FUN_14002a2d0((longlong)local_30,(ulonglong)uVar1,SVar3,puVar4); + uVar1 = *(ushort *)(param_7 + 0xc); + FUN_140051c10((longlong)local_30,(ulonglong)*(uint *)(param_7 + 8),SVar3,puVar4); + FUN_14002a2d0((longlong)local_30,(ulonglong)uVar1,SVar3,puVar4); + uVar1 = *(ushort *)(param_8 + 0xc); + FUN_140051c10((longlong)local_30,(ulonglong)*(uint *)(param_8 + 8),SVar3,puVar4); + FUN_14002a2d0((longlong)local_30,(ulonglong)uVar1,SVar3,puVar4); + uVar1 = *(ushort *)(param_9 + 0xc); + FUN_140051c10((longlong)local_30,(ulonglong)*(uint *)(param_9 + 8),SVar3,puVar4); + FUN_14002a2d0((longlong)local_30,(ulonglong)uVar1,SVar3,puVar4); + uVar2 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,PTR_DAT_140170968,0xfa05); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a3f20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a3f20.c new file mode 100644 index 00000000..59cfc78a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a3f20.c @@ -0,0 +1,51 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a3f20 FUN_1400a3f20 + * Pseudocode, not original source. */ + +undefined1 +FUN_1400a3f20(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4, + uint *param_5,uint *param_6,longlong param_7,longlong param_8,longlong param_9, + longlong param_10) + +{ + ushort uVar1; + undefined1 uVar2; + undefined8 uVar3; + ulonglong uVar4; + undefined8 uVar5; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar3 = param_2; + uVar4 = param_3; + uVar5 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar3,uVar4,uVar5); + FUN_14002a2d0((longlong)local_30,0xfa05,uVar4,uVar5); + FUN_140029e60((longlong)local_30,(ulonglong)*param_5,uVar4,uVar5); + FUN_140029e60((longlong)local_30,(ulonglong)*param_6,uVar4,uVar5); + uVar1 = *(ushort *)(param_7 + 0xc); + FUN_140051c10((longlong)local_30,(ulonglong)*(uint *)(param_7 + 8),uVar4,uVar5); + FUN_14002a2d0((longlong)local_30,(ulonglong)uVar1,uVar4,uVar5); + uVar1 = *(ushort *)(param_8 + 0xc); + FUN_140051c10((longlong)local_30,(ulonglong)*(uint *)(param_8 + 8),uVar4,uVar5); + FUN_14002a2d0((longlong)local_30,(ulonglong)uVar1,uVar4,uVar5); + uVar1 = *(ushort *)(param_9 + 0xc); + FUN_140051c10((longlong)local_30,(ulonglong)*(uint *)(param_9 + 8),uVar4,uVar5); + FUN_14002a2d0((longlong)local_30,(ulonglong)uVar1,uVar4,uVar5); + uVar1 = *(ushort *)(param_10 + 0xc); + FUN_140051c10((longlong)local_30,(ulonglong)*(uint *)(param_10 + 8),uVar4,uVar5); + FUN_14002a2d0((longlong)local_30,(ulonglong)uVar1,uVar4,uVar5); + uVar2 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30,PTR_DAT_140170968,0xfa05) + ; + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a40c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a40c0.c new file mode 100644 index 00000000..fb030528 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a40c0.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a40c0 FUN_1400a40c0 + * Pseudocode, not original source. */ + +undefined1 FUN_1400a40c0(longlong *param_1,undefined8 param_2,SIZE_T param_3,undefined8 param_4) + +{ + undefined1 uVar1; + SIZE_T SVar2; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,param_4); + FUN_14002a2d0((longlong)local_30,0xfa07,SVar2,param_4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,PTR_DAT_140170978,0xfa07); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a4180.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a4180.c new file mode 100644 index 00000000..ff03eb06 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a4180.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a4180 FUN_1400a4180 + * Pseudocode, not original source. */ + +undefined1 FUN_1400a4180(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0xfa07,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30,PTR_DAT_140170978,0xfa07) + ; + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a4250.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a4250.c new file mode 100644 index 00000000..d7f744f2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a4250.c @@ -0,0 +1,35 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a4250 FUN_1400a4250 + * Pseudocode, not original source. */ + +undefined1 +FUN_1400a4250(longlong *param_1,undefined8 param_2,SIZE_T param_3,byte *param_4,longlong *param_5) + +{ + undefined1 uVar1; + SIZE_T SVar2; + byte *pbVar3; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + pbVar3 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,pbVar3); + FUN_14002a2d0((longlong)local_30,0xfa08,SVar2,pbVar3); + FUN_140029d80((longlong)local_30,(ulonglong)*param_4,SVar2,pbVar3); + FUN_140076780((longlong)local_30,param_5,SVar2,pbVar3); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,PTR_DAT_140170980,0xfa08); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a4340.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a4340.c new file mode 100644 index 00000000..a5677c51 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a4340.c @@ -0,0 +1,37 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a4340 FUN_1400a4340 + * Pseudocode, not original source. */ + +undefined1 +FUN_1400a4340(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4, + byte *param_5,longlong *param_6) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0xfa08,uVar3,uVar4); + FUN_140029d80((longlong)local_30,(ulonglong)*param_5,uVar3,uVar4); + FUN_140076780((longlong)local_30,param_6,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30,PTR_DAT_140170980,0xfa08) + ; + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a4430.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a4430.c new file mode 100644 index 00000000..d63000f8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a4430.c @@ -0,0 +1,35 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a4430 FUN_1400a4430 + * Pseudocode, not original source. */ + +undefined1 +FUN_1400a4430(longlong *param_1,undefined8 param_2,SIZE_T param_3,uint *param_4,longlong *param_5) + +{ + undefined1 uVar1; + SIZE_T SVar2; + uint *puVar3; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + puVar3 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,puVar3); + FUN_14002a2d0((longlong)local_30,0xfa09,SVar2,puVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_4,SVar2,puVar3); + FUN_140076780((longlong)local_30,param_5,SVar2,puVar3); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,PTR_DAT_140170988,0xfa09); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a4520.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a4520.c new file mode 100644 index 00000000..9653fc26 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a4520.c @@ -0,0 +1,37 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a4520 FUN_1400a4520 + * Pseudocode, not original source. */ + +undefined1 +FUN_1400a4520(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4, + uint *param_5,longlong *param_6) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0xfa09,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_5,uVar3,uVar4); + FUN_140076780((longlong)local_30,param_6,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30,PTR_DAT_140170988,0xfa09) + ; + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a4610.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a4610.c new file mode 100644 index 00000000..b72087cd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a4610.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a4610 FUN_1400a4610 + * Pseudocode, not original source. */ + +undefined1 FUN_1400a4610(longlong *param_1,undefined8 param_2,SIZE_T param_3,longlong *param_4) + +{ + undefined1 uVar1; + SIZE_T SVar2; + longlong *plVar3; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + plVar3 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,plVar3); + FUN_14002a2d0((longlong)local_30,0xfa0a,SVar2,plVar3); + FUN_140076780((longlong)local_30,param_4,SVar2,plVar3); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,PTR_DAT_140170990,0xfa0a); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a46f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a46f0.c new file mode 100644 index 00000000..8c45cbe2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a46f0.c @@ -0,0 +1,36 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a46f0 FUN_1400a46f0 + * Pseudocode, not original source. */ + +undefined1 +FUN_1400a46f0(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4, + longlong *param_5) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0xfa0a,uVar3,uVar4); + FUN_140076780((longlong)local_30,param_5,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30,PTR_DAT_140170990,0xfa0a) + ; + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a47d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a47d0.c new file mode 100644 index 00000000..255efa8b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a47d0.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a47d0 FUN_1400a47d0 + * Pseudocode, not original source. */ + +undefined1 FUN_1400a47d0(longlong *param_1,undefined8 param_2,SIZE_T param_3,uint *param_4) + +{ + undefined1 uVar1; + SIZE_T SVar2; + uint *puVar3; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + puVar3 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,puVar3); + FUN_14002a2d0((longlong)local_30,0xfa0b,SVar2,puVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_4,SVar2,puVar3); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,PTR_DAT_140170998,0xfa0b); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a48b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a48b0.c new file mode 100644 index 00000000..4cd51fa7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a48b0.c @@ -0,0 +1,36 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a48b0 FUN_1400a48b0 + * Pseudocode, not original source. */ + +undefined1 +FUN_1400a48b0(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4, + uint *param_5) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0xfa0b,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_5,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30,PTR_DAT_140170998,0xfa0b) + ; + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a4990.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a4990.c new file mode 100644 index 00000000..92719a4b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a4990.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a4990 FUN_1400a4990 + * Pseudocode, not original source. */ + +undefined1 FUN_1400a4990(longlong *param_1,undefined8 param_2,SIZE_T param_3,uint *param_4) + +{ + undefined1 uVar1; + SIZE_T SVar2; + uint *puVar3; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + puVar3 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,puVar3); + FUN_14002a2d0((longlong)local_30,0xfa0c,SVar2,puVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_4,SVar2,puVar3); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,PTR_DAT_1401709a0,0xfa0c); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a4a70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a4a70.c new file mode 100644 index 00000000..483028de --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a4a70.c @@ -0,0 +1,36 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a4a70 FUN_1400a4a70 + * Pseudocode, not original source. */ + +undefined1 +FUN_1400a4a70(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4, + uint *param_5) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0xfa0c,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_5,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30,PTR_DAT_1401709a0,0xfa0c) + ; + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a4b50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a4b50.c new file mode 100644 index 00000000..5cf4366f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a4b50.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a4b50 FUN_1400a4b50 + * Pseudocode, not original source. */ + +undefined1 FUN_1400a4b50(longlong *param_1,undefined8 param_2,SIZE_T param_3,longlong *param_4) + +{ + undefined1 uVar1; + SIZE_T SVar2; + longlong *plVar3; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + plVar3 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,plVar3); + FUN_14002a2d0((longlong)local_30,0xfa0d,SVar2,plVar3); + FUN_140076780((longlong)local_30,param_4,SVar2,plVar3); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,PTR_DAT_1401709a8,0xfa0d); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a4c30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a4c30.c new file mode 100644 index 00000000..31a1fcef --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a4c30.c @@ -0,0 +1,36 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a4c30 FUN_1400a4c30 + * Pseudocode, not original source. */ + +undefined1 +FUN_1400a4c30(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4, + longlong *param_5) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0xfa0d,uVar3,uVar4); + FUN_140076780((longlong)local_30,param_5,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30,PTR_DAT_1401709a8,0xfa0d) + ; + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a4d10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a4d10.c new file mode 100644 index 00000000..0e71abee --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a4d10.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a4d10 FUN_1400a4d10 + * Pseudocode, not original source. */ + +undefined1 FUN_1400a4d10(longlong *param_1,undefined8 param_2,SIZE_T param_3,undefined8 *param_4) + +{ + undefined1 uVar1; + SIZE_T SVar2; + undefined8 *puVar3; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + puVar3 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,puVar3); + FUN_14002a2d0((longlong)local_30,0xfa0e,SVar2,puVar3); + FUN_14002f5c0((longlong)local_30,*param_4,SVar2,puVar3); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,PTR_DAT_1401709b0,0xfa0e); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a4df0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a4df0.c new file mode 100644 index 00000000..bc56d5d1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a4df0.c @@ -0,0 +1,36 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a4df0 FUN_1400a4df0 + * Pseudocode, not original source. */ + +undefined1 +FUN_1400a4df0(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4, + undefined8 *param_5) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0xfa0e,uVar3,uVar4); + FUN_14002f5c0((longlong)local_30,*param_5,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30,PTR_DAT_1401709b0,0xfa0e) + ; + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a4ed0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a4ed0.c new file mode 100644 index 00000000..88c2bca5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a4ed0.c @@ -0,0 +1,35 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a4ed0 FUN_1400a4ed0 + * Pseudocode, not original source. */ + +undefined1 +FUN_1400a4ed0(longlong *param_1,undefined8 param_2,SIZE_T param_3,uint *param_4,uint *param_5) + +{ + undefined1 uVar1; + SIZE_T SVar2; + uint *puVar3; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + puVar3 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,puVar3); + FUN_14002a2d0((longlong)local_30,0xfa0f,SVar2,puVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_4,SVar2,puVar3); + FUN_140051c10((longlong)local_30,(ulonglong)*param_5,SVar2,puVar3); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,PTR_DAT_1401709b8,0xfa0f); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a4fc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a4fc0.c new file mode 100644 index 00000000..3ba76712 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a4fc0.c @@ -0,0 +1,37 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a4fc0 FUN_1400a4fc0 + * Pseudocode, not original source. */ + +undefined1 +FUN_1400a4fc0(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4, + uint *param_5,uint *param_6) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0xfa0f,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_5,uVar3,uVar4); + FUN_140051c10((longlong)local_30,(ulonglong)*param_6,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30,PTR_DAT_1401709b8,0xfa0f) + ; + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a50c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a50c0.c new file mode 100644 index 00000000..694fc0c1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a50c0.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a50c0 FUN_1400a50c0 + * Pseudocode, not original source. */ + +undefined1 FUN_1400a50c0(longlong *param_1,undefined8 param_2,SIZE_T param_3,undefined8 param_4) + +{ + undefined1 uVar1; + SIZE_T SVar2; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,param_4); + FUN_14002a2d0((longlong)local_30,0xfa10,SVar2,param_4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,PTR_DAT_1401709c0,0xfa10); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a5180.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a5180.c new file mode 100644 index 00000000..0f0fe97b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a5180.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a5180 FUN_1400a5180 + * Pseudocode, not original source. */ + +undefined1 FUN_1400a5180(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0xfa10,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30,PTR_DAT_1401709c0,0xfa10) + ; + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a5250.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a5250.c new file mode 100644 index 00000000..8b1e9b3c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a5250.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a5250 FUN_1400a5250 + * Pseudocode, not original source. */ + +undefined1 FUN_1400a5250(longlong *param_1,undefined8 param_2,SIZE_T param_3,byte *param_4) + +{ + undefined1 uVar1; + SIZE_T SVar2; + byte *pbVar3; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + pbVar3 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,pbVar3); + FUN_14002a2d0((longlong)local_30,0xfa11,SVar2,pbVar3); + FUN_140029d80((longlong)local_30,(ulonglong)*param_4,SVar2,pbVar3); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,PTR_DAT_1401709c8,0xfa11); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a5330.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a5330.c new file mode 100644 index 00000000..9a4db706 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a5330.c @@ -0,0 +1,36 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a5330 FUN_1400a5330 + * Pseudocode, not original source. */ + +undefined1 +FUN_1400a5330(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4, + byte *param_5) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0xfa11,uVar3,uVar4); + FUN_140029d80((longlong)local_30,(ulonglong)*param_5,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30,PTR_DAT_1401709c8,0xfa11) + ; + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a5410.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a5410.c new file mode 100644 index 00000000..77395279 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a5410.c @@ -0,0 +1,37 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a5410 FUN_1400a5410 + * Pseudocode, not original source. */ + +undefined1 +FUN_1400a5410(longlong *param_1,undefined8 param_2,SIZE_T param_3,uint *param_4,uint *param_5, + uint *param_6) + +{ + undefined1 uVar1; + SIZE_T SVar2; + uint *puVar3; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + puVar3 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,puVar3); + FUN_14002a2d0((longlong)local_30,0xfa12,SVar2,puVar3); + FUN_140029e60((longlong)local_30,(ulonglong)*param_4,SVar2,puVar3); + FUN_140051c10((longlong)local_30,(ulonglong)*param_5,SVar2,puVar3); + FUN_140051c10((longlong)local_30,(ulonglong)*param_6,SVar2,puVar3); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,PTR_DAT_1401709d0,0xfa12); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a5510.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a5510.c new file mode 100644 index 00000000..672630b8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a5510.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a5510 FUN_1400a5510 + * Pseudocode, not original source. */ + +undefined1 +FUN_1400a5510(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4, + uint *param_5,uint *param_6,uint *param_7) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0xfa12,uVar3,uVar4); + FUN_140029e60((longlong)local_30,(ulonglong)*param_5,uVar3,uVar4); + FUN_140051c10((longlong)local_30,(ulonglong)*param_6,uVar3,uVar4); + FUN_140051c10((longlong)local_30,(ulonglong)*param_7,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30,PTR_DAT_1401709d0,0xfa12) + ; + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a5620.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a5620.c new file mode 100644 index 00000000..8767f0b7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a5620.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a5620 FUN_1400a5620 + * Pseudocode, not original source. */ + +undefined1 FUN_1400a5620(longlong *param_1,undefined8 param_2,SIZE_T param_3,uint *param_4) + +{ + undefined1 uVar1; + SIZE_T SVar2; + uint *puVar3; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + puVar3 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,puVar3); + FUN_14002a2d0((longlong)local_30,0xfa13,SVar2,puVar3); + FUN_140051c10((longlong)local_30,(ulonglong)*param_4,SVar2,puVar3); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,PTR_DAT_1401709d8,0xfa13); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a5700.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a5700.c new file mode 100644 index 00000000..e7699c97 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a5700.c @@ -0,0 +1,36 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a5700 FUN_1400a5700 + * Pseudocode, not original source. */ + +undefined1 +FUN_1400a5700(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4, + uint *param_5) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0xfa13,uVar3,uVar4); + FUN_140051c10((longlong)local_30,(ulonglong)*param_5,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30,PTR_DAT_1401709d8,0xfa13) + ; + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a57e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a57e0.c new file mode 100644 index 00000000..19a5d30f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a57e0.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a57e0 FUN_1400a57e0 + * Pseudocode, not original source. */ + +undefined1 FUN_1400a57e0(longlong *param_1,undefined8 param_2,SIZE_T param_3,undefined8 param_4) + +{ + undefined1 uVar1; + SIZE_T SVar2; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,param_4); + FUN_14002a2d0((longlong)local_30,0xfde9,SVar2,param_4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,PTR_DAT_1401709e0,0xfde9); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a58a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a58a0.c new file mode 100644 index 00000000..1e0295e7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a58a0.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a58a0 FUN_1400a58a0 + * Pseudocode, not original source. */ + +undefined1 FUN_1400a58a0(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0xfde9,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30,PTR_DAT_1401709e0,0xfde9) + ; + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a5970.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a5970.c new file mode 100644 index 00000000..f4ccf61f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a5970.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a5970 FUN_1400a5970 + * Pseudocode, not original source. */ + +undefined1 FUN_1400a5970(longlong *param_1,undefined8 param_2,SIZE_T param_3,uint *param_4) + +{ + undefined1 uVar1; + SIZE_T SVar2; + uint *puVar3; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + puVar3 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,puVar3); + FUN_14002a2d0((longlong)local_30,0xfdea,SVar2,puVar3); + FUN_140051c10((longlong)local_30,(ulonglong)*param_4,SVar2,puVar3); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,PTR_DAT_1401709e8,0xfdea); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a5a50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a5a50.c new file mode 100644 index 00000000..8205983d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a5a50.c @@ -0,0 +1,36 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a5a50 FUN_1400a5a50 + * Pseudocode, not original source. */ + +undefined1 +FUN_1400a5a50(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4, + uint *param_5) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0xfdea,uVar3,uVar4); + FUN_140051c10((longlong)local_30,(ulonglong)*param_5,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30,PTR_DAT_1401709e8,0xfdea) + ; + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a5b30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a5b30.c new file mode 100644 index 00000000..9b2c12ed --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a5b30.c @@ -0,0 +1,36 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a5b30 FUN_1400a5b30 + * Pseudocode, not original source. */ + +undefined1 +FUN_1400a5b30(longlong *param_1,undefined8 param_2,SIZE_T param_3,undefined8 *param_4, + undefined4 *param_5) + +{ + undefined1 uVar1; + SIZE_T SVar2; + undefined8 *puVar3; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + puVar3 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,puVar3); + FUN_14002a2d0((longlong)local_30,0xfdeb,SVar2,puVar3); + FUN_14002f5c0((longlong)local_30,*param_4,SVar2,puVar3); + FUN_14002f4a0((longlong)local_30,*param_5,SVar2,puVar3); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,PTR_DAT_1401709f0,0xfdeb); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a5c20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a5c20.c new file mode 100644 index 00000000..9c8834ef --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a5c20.c @@ -0,0 +1,37 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a5c20 FUN_1400a5c20 + * Pseudocode, not original source. */ + +undefined1 +FUN_1400a5c20(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4, + undefined8 *param_5,undefined4 *param_6) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0xfdeb,uVar3,uVar4); + FUN_14002f5c0((longlong)local_30,*param_5,uVar3,uVar4); + FUN_14002f4a0((longlong)local_30,*param_6,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30,PTR_DAT_1401709f0,0xfdeb) + ; + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a5d20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a5d20.c new file mode 100644 index 00000000..e2fa68b2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a5d20.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a5d20 FUN_1400a5d20 + * Pseudocode, not original source. */ + +undefined1 +FUN_1400a5d20(longlong *param_1,undefined8 param_2,SIZE_T param_3,undefined8 *param_4, + undefined8 *param_5,undefined8 *param_6,undefined4 *param_7) + +{ + undefined1 uVar1; + SIZE_T SVar2; + undefined8 *puVar3; + undefined4 local_res10 [2]; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + local_res10[0] = (undefined4)param_2; + SVar2 = param_3; + puVar3 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,param_2,SVar2,puVar3); + FUN_14002a2d0((longlong)local_30,0xfdec,SVar2,puVar3); + FUN_14002f5c0((longlong)local_30,*param_4,SVar2,puVar3); + FUN_14002f5c0((longlong)local_30,*param_5,SVar2,puVar3); + FUN_14002f5c0((longlong)local_30,*param_6,SVar2,puVar3); + FUN_14002f4a0((longlong)local_30,*param_7,SVar2,puVar3); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,local_30,PTR_DAT_1401709f8,0xfdec); + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a5e40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a5e40.c new file mode 100644 index 00000000..adc69d3e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a5e40.c @@ -0,0 +1,39 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a5e40 FUN_1400a5e40 + * Pseudocode, not original source. */ + +undefined1 +FUN_1400a5e40(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4, + undefined8 *param_5,undefined8 *param_6,undefined8 *param_7,undefined4 *param_8) + +{ + undefined1 uVar1; + undefined8 uVar2; + ulonglong uVar3; + undefined8 uVar4; + undefined4 local_30 [2]; + longlong local_28; + longlong local_20; + int local_14; + + uVar2 = param_2; + uVar3 = param_3; + uVar4 = param_4; + FUN_140074fb0(local_30); + FUN_140074a40((longlong)local_30,uVar2,uVar3,uVar4); + FUN_14002a2d0((longlong)local_30,0xfdec,uVar3,uVar4); + FUN_14002f5c0((longlong)local_30,*param_5,uVar3,uVar4); + FUN_14002f5c0((longlong)local_30,*param_6,uVar3,uVar4); + FUN_14002f5c0((longlong)local_30,*param_7,uVar3,uVar4); + FUN_14002f4a0((longlong)local_30,*param_8,uVar3,uVar4); + uVar1 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,param_3 & 0xffffffff,param_4,local_30,PTR_DAT_1401709f8,0xfdec) + ; + FUN_14008a320(&local_28); + if ((local_20 != 0) && (local_14 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a5f70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a5f70.c new file mode 100644 index 00000000..8d481e2e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a5f70.c @@ -0,0 +1,83 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a5f70 FUN_1400a5f70 + * Pseudocode, not original source. */ + +undefined8 * FUN_1400a5f70(longlong param_1,undefined8 *param_2,longlong param_3) + +{ + longlong *plVar1; + undefined8 *puVar2; + longlong lVar3; + longlong lVar4; + longlong *local_res8; + + if (*(longlong *)(param_1 + 0x1670) == 0) { + lVar4 = 0; + } + else { + lVar4 = *(longlong *)(param_1 + 0x1660); + } + do { + if (lVar4 == 0) { + *param_2 = 0; + return param_2; + } + if (lVar4 == 0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + local_res8 = (longlong *)0x0; + if (*(longlong *)(lVar4 + 8) != 0) { + *(longlong *)(*(longlong *)(lVar4 + 8) + 8) = *(longlong *)(*(longlong *)(lVar4 + 8) + 8) + 1; + local_res8 = *(longlong **)(lVar4 + 8); + } + if (local_res8 == (longlong *)0x0) { + lVar3 = 0; + } + else { + lVar3 = *local_res8; + } + if (*(char *)(lVar3 + 0x684) == '\0') { + if (local_res8 == (longlong *)0x0) { + lVar3 = 0; + } + else { + lVar3 = *local_res8; + } + if ((*(int *)(lVar3 + 0x5a8) == *(int *)(param_3 + 8)) && + (*(short *)(lVar3 + 0x5ac) == *(short *)(param_3 + 0xc))) { + *param_2 = 0; + if (local_res8 == (longlong *)0x0) { + return param_2; + } + local_res8[1] = local_res8[1] + 1; + *param_2 = local_res8; + plVar1 = local_res8 + 1; + *plVar1 = *plVar1 + -1; + if (*plVar1 != 0) { + return param_2; + } + puVar2 = (undefined8 *)*local_res8; + if (puVar2 != (undefined8 *)0x0) { + (**(code **)*puVar2)(puVar2,1); + } + FUN_14003e8b0(local_res8); + return param_2; + } + } + if (local_res8 != (longlong *)0x0) { + plVar1 = local_res8 + 1; + *plVar1 = *plVar1 + -1; + if (*plVar1 == 0) { + if ((undefined8 *)*local_res8 != (undefined8 *)0x0) { + (*(code *)**(undefined8 **)*local_res8)(); + } + FUN_14003e8b0(local_res8); + } + } + if (lVar4 != 0) { + lVar4 = *(longlong *)(lVar4 + 0x10); + } + } while( true ); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a60e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a60e0.c new file mode 100644 index 00000000..e3af687a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a60e0.c @@ -0,0 +1,133 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a60e0 FUN_1400a60e0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_1400a60e0(longlong param_1,undefined8 param_2,SIZE_T param_3,undefined8 param_4) + +{ + double dVar1; + longlong *plVar2; + undefined8 uVar3; + undefined8 uVar4; + longlong *plVar5; + longlong **pplVar6; + undefined8 *puVar7; + undefined1 auStack_d78 [32]; + longlong *local_d58; + uint uStack_d50; + undefined4 uStack_d4c; + int local_d48 [2]; + longlong local_d40; + longlong *local_d38; + uint local_d30; + int local_d2c; + undefined4 local_d20 [2]; + undefined8 local_d18; + undefined1 local_d10; + undefined4 local_d0c; + undefined1 local_d08; + undefined1 local_d07; + undefined8 local_d00; + exception local_cf8 [80]; + longlong *local_ca8; + undefined8 uStack_ca0; + longlong **local_28; + undefined4 local_20; + int local_1c; + ulonglong local_18; + + local_d00 = 0xfffffffffffffffe; + local_18 = DAT_14016f5a0 ^ (ulonglong)auStack_d78; + if (*(int *)(param_1 + 0x1578) == 0) { + FUN_14009c110(param_1); + } + else { + dVar1 = (double)(**(code **)(*(longlong *)(param_1 + 0x70) + 0x1c0))(param_1 + 0x70); + plVar5 = (longlong *)0x0; + if (DAT_14016f0f8 / *(double *)(param_1 + 0x1798) < dVar1 - *(double *)(param_1 + 0x5c8)) { + *(int *)(param_1 + 0x4ec) = *(int *)(param_1 + 0x4ec) + 1; + uVar3 = (**(code **)(*(longlong *)(param_1 + 0x70) + 0x1c0))(param_1 + 0x70); + *(undefined8 *)(param_1 + 0x5c8) = uVar3; + FUN_140074fb0(local_d48); + FUN_140074a40((longlong)local_d48,param_2,param_3,param_4); + FUN_140075110(local_d48,0x800,param_3,param_4); + uVar3 = 0; + FUN_140075110(local_d48,0,param_3,param_4); + uVar4 = CONCAT71((int7)((ulonglong)uVar3 >> 8),0x1a); + FUN_140029d80((longlong)local_d48,uVar4,param_3,param_4); + uVar3 = (**(code **)(*(longlong *)(param_1 + 0x70) + 0x1c0))(param_1 + 0x70); + FUN_14002f5c0((longlong)local_d48,uVar3,param_3,param_4); + FUN_14002f5c0((longlong)local_d48,*(undefined8 *)(param_1 + 0x4f8),param_3,param_4); + local_1c = 200; + local_20 = 0; + local_28 = &local_ca8; + if (local_d40 == 0) { + if (local_d38 == (longlong *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,uVar4,param_3,param_4); + } + } + else { + local_d30 = *(uint *)(local_d40 + 0x18); + } + local_d58 = local_d38; + if (local_d38 == (longlong *)0x0) { + if (local_d40 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,(ulonglong)local_d30,param_3,param_4); + } + local_d58 = plVar5; + if (*(int *)(local_d40 + 0x18) != 0) { + local_d58 = *(longlong **)(local_d40 + 0x10); + } + } + local_20 = 1; + uStack_ca0 = CONCAT44(uStack_d4c,local_d30); + local_d20[0] = 0; + local_d18 = 0; + local_d10 = 1; + local_d0c = 0xffffffff; + local_d08 = 1; + local_d07 = DAT_14016f1cc; + plVar2 = plVar5; + if (*(undefined8 **)(param_1 + 0x1570) != (undefined8 *)0x0) { + plVar2 = (longlong *)**(undefined8 **)(param_1 + 0x1570); + } + puVar7 = (undefined8 *)local_d20; + pplVar6 = &local_ca8; + uStack_d50 = local_d30; + local_ca8 = local_d58; + FUN_1400c8300(plVar2,1,(longlong)pplVar6,puVar7); + if (local_28 == (longlong **)0x0) { + FUN_14003db10(local_cf8,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,pplVar6, + puVar7); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_cf8,(ThrowInfo *)&DAT_14016c210); + } + if (local_1c < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_d58 = &local_d40; + FUN_14008a320(&local_d40); + if ((local_d38 != (longlong *)0x0) && (local_d2c < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + } + FUN_14009a9c0((double *)(param_1 + 0xb8),DAT_14016f0f8 * 10.0 * 2.0 * 0.3); + if (*(longlong *)(param_1 + 0x5d8) != 0) { + plVar5 = *(longlong **)(*(longlong *)(param_1 + 0x5d8) + 0x38); + } + FUN_14009a980((double *)(param_1 + 0xb8),(double)plVar5[0x20]); + if (*(char *)(param_1 + 200) != '\0') { + local_d58 = (longlong *)CONCAT44(local_d58._4_4_,(float)*(double *)(param_1 + 0x1870)); + (**(code **)(*(longlong *)(param_1 + 0x1818) + 0x30)) + ((longlong *)(param_1 + 0x1818),1,&DAT_140177f90,&local_d58); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a63d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a63d0.c new file mode 100644 index 00000000..34b3df82 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a63d0.c @@ -0,0 +1,119 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a63d0 FUN_1400a63d0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_1400a63d0(longlong param_1,undefined8 param_2,SIZE_T param_3,undefined8 param_4) + +{ + longlong *plVar1; + undefined8 uVar2; + longlong *plVar3; + longlong **pplVar4; + undefined8 *puVar5; + double dVar6; + undefined1 auStack_d78 [32]; + int local_d58 [2]; + longlong local_d50; + longlong *local_d48; + uint local_d40; + int local_d3c; + longlong *local_d30; + uint uStack_d28; + undefined4 uStack_d24; + undefined4 local_d20 [2]; + undefined8 local_d18; + undefined1 local_d10; + undefined4 local_d0c; + undefined1 local_d08; + undefined1 local_d07; + undefined8 local_d00; + exception local_cf8 [80]; + longlong *local_ca8; + undefined8 uStack_ca0; + longlong **local_28; + undefined4 local_20; + int local_1c; + ulonglong local_18; + + local_d00 = 0xfffffffffffffffe; + local_18 = DAT_14016f5a0 ^ (ulonglong)auStack_d78; + if ((*(int *)(param_1 + 0x1578) != 0) && (*(double *)(param_1 + 0x1890) != DAT_14016f078)) { + plVar3 = (longlong *)0x0; + plVar1 = plVar3; + if (*(longlong *)(param_1 + 0x5d8) != 0) { + plVar1 = *(longlong **)(*(longlong *)(param_1 + 0x5d8) + 0x38); + } + dVar6 = *(double *)(param_1 + 0x1890) - (double)plVar1[0x20]; + *(double *)(param_1 + 0x1890) = dVar6; + if (dVar6 <= 0.0) { + *(undefined8 *)(param_1 + 0x1890) = 0x3fe2e147ae147ae1; + *(double *)(param_1 + 0x1890) = 0.59 / *(double *)(param_1 + 0x1798); + FUN_140074fb0(local_d58); + FUN_140074a40((longlong)local_d58,param_2,param_3,param_4); + FUN_140075110(local_d58,0x800,param_3,param_4); + uVar2 = 0; + FUN_140075110(local_d58,0,param_3,param_4); + uVar2 = CONCAT71((int7)((ulonglong)uVar2 >> 8),0x1b); + FUN_140029d80((longlong)local_d58,uVar2,param_3,param_4); + local_1c = 200; + local_20 = 0; + local_28 = &local_ca8; + if (local_d50 == 0) { + if (local_d48 == (longlong *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,uVar2,param_3,param_4); + } + } + else { + local_d40 = *(uint *)(local_d50 + 0x18); + } + local_d30 = local_d48; + if (local_d48 == (longlong *)0x0) { + if (local_d50 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,(ulonglong)local_d40,param_3,param_4); + } + local_d30 = plVar3; + if (*(int *)(local_d50 + 0x18) != 0) { + local_d30 = *(longlong **)(local_d50 + 0x10); + } + } + local_20 = 1; + uStack_ca0 = CONCAT44(uStack_d24,local_d40); + local_d20[0] = 0; + local_d18 = 0; + local_d10 = 1; + local_d0c = 0xffffffff; + local_d08 = 1; + local_d07 = DAT_14016f1cc; + if (*(undefined8 **)(param_1 + 0x1570) != (undefined8 *)0x0) { + plVar3 = (longlong *)**(undefined8 **)(param_1 + 0x1570); + } + puVar5 = (undefined8 *)local_d20; + pplVar4 = &local_ca8; + uStack_d28 = local_d40; + local_ca8 = local_d30; + FUN_1400c8300(plVar3,1,(longlong)pplVar4,puVar5); + if (local_28 == (longlong **)0x0) { + FUN_14003db10(local_cf8,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,pplVar4, + puVar5); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_cf8,(ThrowInfo *)&DAT_14016c210); + } + if (local_1c < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_d30 = &local_d50; + FUN_14008a320(&local_d50); + if ((local_d48 != (longlong *)0x0) && (local_d3c < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a6630.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a6630.c new file mode 100644 index 00000000..9c4bd4dd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a6630.c @@ -0,0 +1,172 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a6630 FUN_1400a6630 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* WARNING: Removing unreachable block (ram,0x0001400a69b1) */ +/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ + +void FUN_1400a6630(longlong param_1,longlong *param_2,undefined8 *param_3,undefined8 param_4) + +{ + double dVar1; + uint uVar2; + longlong lVar3; + longlong lVar4; + undefined8 uVar5; + longlong lVar6; + longlong lVar7; + double dVar8; + undefined1 auStack_d98 [32]; + int local_d78 [2]; + longlong local_d70; + longlong local_d68; + uint local_d60; + int local_d5c; + undefined4 local_d50 [2]; + undefined8 local_d48; + undefined1 local_d40; + undefined4 local_d3c; + undefined1 local_d38; + undefined1 local_d37; + longlong local_d30; + uint uStack_d28; + undefined4 uStack_d24; + longlong *local_d20; + undefined8 local_d18; + exception local_d10 [72]; + longlong local_cc8; + undefined8 uStack_cc0; + longlong *local_48; + undefined4 local_40; + int local_3c; + ulonglong local_38; + + local_d18 = 0xfffffffffffffffe; + local_38 = DAT_14016f5a0 ^ (ulonglong)auStack_d98; + (**(code **)(*(longlong *)(param_1 + 0x78) + 0x10))(); + lVar7 = 0; + lVar3 = lVar7; + if (*(longlong *)(param_1 + 0x1670) != 0) { + lVar3 = *(longlong *)(param_1 + 0x1660); + } + do { + lVar6 = lVar3; + if (lVar6 == 0) { + return; + } + if ((((*(longlong **)(lVar6 + 8) != (longlong *)0x0) && + (lVar3 = **(longlong **)(lVar6 + 8), lVar3 != 0)) && (*(char *)(lVar3 + 0x684) == '\0')) && + (*(int *)(lVar3 + 0x56c) != 1)) { + lVar4 = lVar7; + if (*(longlong *)(param_1 + 0x5d8) != 0) { + lVar4 = *(longlong *)(*(longlong *)(param_1 + 0x5d8) + 0x38); + } + dVar8 = *(double *)(lVar3 + 0x148) - *(double *)(lVar4 + 0x100); + *(double *)(lVar3 + 0x148) = dVar8; + if (dVar8 <= 0.0) { + *(undefined8 *)(lVar3 + 0x148) = DAT_14016f0f0; + uVar5 = (**(code **)(*(longlong *)(param_1 + 0x70) + 0x1c0))(param_1 + 0x70); + *(undefined8 *)(lVar3 + 0x80) = uVar5; + if (*(char *)(lVar3 + 0x608) == '\0') { + FUN_140074fb0(local_d78); + FUN_140074a40((longlong)local_d78,param_2,(SIZE_T)param_3,param_4); + FUN_140075110(local_d78,0x800,(SIZE_T)param_3,param_4); + uVar5 = 0; + FUN_140075110(local_d78,0,(SIZE_T)param_3,param_4); + uVar5 = CONCAT71((int7)((ulonglong)uVar5 >> 8),0x20); + FUN_140029d80((longlong)local_d78,uVar5,(SIZE_T)param_3,param_4); + dVar8 = FUN_140048960((char *)(param_1 + 0x1620)); + FUN_14002f5c0((longlong)local_d78,dVar8,(SIZE_T)param_3,param_4); + local_3c = 200; + local_40 = 0; + local_48 = &local_cc8; + if (local_d70 == 0) { + uVar2 = local_d60; + if (local_d68 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,uVar5,param_3,param_4); + } + } + else { + uVar2 = *(uint *)(local_d70 + 0x18); + } + lVar4 = local_d68; + if (local_d68 == 0) { + if (local_d70 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,(ulonglong)uVar2,param_3,param_4); + } + lVar4 = lVar7; + if (*(int *)(local_d70 + 0x18) != 0) { + lVar4 = *(longlong *)(local_d70 + 0x10); + } + } + local_40 = 1; + uStack_cc0 = CONCAT44(uStack_d24,uVar2); + local_d50[0] = 0; + local_d48 = 0; + local_d40 = 1; + local_d3c = 0xffffffff; + local_d38 = 1; + local_d37 = DAT_14016f1cc; + param_3 = (undefined8 *)local_d50; + param_2 = &local_cc8; + local_d30 = lVar4; + uStack_d28 = uVar2; + local_cc8 = lVar4; + FUN_1400cf2c0((longlong *)(lVar3 + 0x668),(longlong)param_2,param_3); + if (local_48 == (longlong *)0x0) { + FUN_14003db10(local_d10,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368, + param_3,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_d10,(ThrowInfo *)&DAT_14016c210); + } + if (local_3c < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_40 = 0; + local_d20 = &local_d70; + FUN_14008a320(&local_d70); + if (local_d68 != 0) { + if (local_d5c < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_d60 = 0; + } + } + else { + dVar8 = (double)(**(code **)(*(longlong *)(param_1 + 0x70) + 0x1c0))(param_1 + 0x70); + dVar8 = dVar8 - *(double *)(lVar3 + 0xc0); + if (0.0 < dVar8) { + *(double *)(lVar3 + 0x140) = dVar8; + } + uVar5 = (**(code **)(*(longlong *)(param_1 + 0x70) + 0x1c0))(param_1 + 0x70); + *(undefined8 *)(lVar3 + 0xc0) = uVar5; + *(int *)(lVar3 + 0x100) = *(int *)(lVar3 + 0x100) + 1; + *(undefined8 *)(lVar3 + 0x150) = 0; + dVar8 = *(double *)(param_1 + 0x4f8) + *(double *)(lVar3 + 0x60); + *(double *)(lVar3 + 0x158) = dVar8; + if (*(char *)(lVar3 + 0x618) != '\0') { + *(undefined8 *)(lVar3 + 0x50) = 0; + *(undefined1 *)(lVar3 + 0x618) = 0; + } + dVar1 = *(double *)(lVar3 + 0x50); + if (dVar1 <= 0.0) { + *(undefined8 *)(lVar3 + 0x50) = *(undefined8 *)(lVar3 + 0x158); + } + else { + *(double *)(lVar3 + 0x50) = (dVar8 - dVar1) * _DAT_14016f108 + dVar1; + } + } + } + } + lVar3 = lVar7; + if (lVar6 != 0) { + lVar3 = *(longlong *)(lVar6 + 0x10); + } + } while( true ); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a69f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a69f0.c new file mode 100644 index 00000000..35bbd724 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a69f0.c @@ -0,0 +1,86 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a69f0 FUN_1400a69f0 + * Pseudocode, not original source. */ + +void FUN_1400a69f0(longlong param_1,longlong param_2,SIZE_T param_3,undefined8 param_4) + +{ + longlong *plVar1; + char cVar2; + undefined1 uVar3; + ushort uVar4; + int *piVar5; + longlong lVar6; + longlong lVar7; + undefined8 uVar8; + longlong lVar9; + double dVar10; + undefined **local_90; + undefined4 local_88; + undefined2 local_84; + int *local_80; + undefined1 local_78; + undefined4 local_70 [2]; + undefined8 local_68; + undefined1 local_60; + undefined4 local_5c; + undefined1 local_58; + undefined1 local_57; + int local_50 [2]; + longlong local_48; + longlong local_40; + int local_34; + + lVar7 = param_2; + piVar5 = (int *)(**(code **)(*(longlong *)(param_1 + -0x90) + 0x58))(param_1 + -0x90); + local_80 = piVar5; + FUN_14003d040(piVar5); + local_78 = 1; + plVar1 = *(longlong **)(param_1 + 0x1490); + if ((((plVar1 != (longlong *)0x0) && (*plVar1 != 0)) && (plVar1 != (longlong *)0x0)) && + ((*plVar1 != 0 && (*plVar1 != 0x40)))) { + lVar9 = 0; + lVar6 = lVar9; + if (((plVar1 != (longlong *)0x0) && ((*plVar1 != 0 && (plVar1 != (longlong *)0x0)))) && + (*plVar1 != 0)) { + lVar6 = *plVar1 + -0x40; + } + cVar2 = (**(code **)(*(longlong *)(lVar6 + 0x40) + 0x10))(); + if (cVar2 == '\0') { + FUN_140074fb0(local_50); + FUN_140074a40((longlong)local_50,lVar7,param_3,param_4); + FUN_140075110(local_50,0x800,param_3,param_4); + uVar8 = 0; + FUN_140075110(local_50,0,param_3,param_4); + FUN_140029d80((longlong)local_50,CONCAT71((int7)((ulonglong)uVar8 >> 8),0x27),param_3,param_4) + ; + local_70[0] = 1; + local_68 = 0; + local_60 = 1; + local_5c = 0xffffffff; + local_58 = 1; + local_57 = DAT_14016f1cc; + local_90 = Proud::AddrPort::vftable; + local_88 = *(undefined4 *)(param_2 + 8); + local_84 = *(undefined2 *)(param_2 + 0xc); + plVar1 = *(longlong **)(param_1 + 0x1490); + if ((((plVar1 != (longlong *)0x0) && (*plVar1 != 0)) && (plVar1 != (longlong *)0x0)) && + (lVar9 = 0, *plVar1 != 0)) { + lVar9 = *plVar1 + -0x40; + } + dVar10 = (double)(**(code **)(*(longlong *)(param_1 + -0x20) + 0x1c0))(); + uVar3 = (**(code **)(*(longlong *)(param_1 + -0x90) + 0x30))(param_1 + -0x90); + uVar4 = FUN_14008be40(uVar3,1); + FUN_1400d31e0(lVar9,1,(ulonglong)uVar4,(longlong)&local_90,(longlong)local_50,dVar10, + (undefined8 *)local_70); + FUN_14008a320(&local_48); + if ((local_40 != 0) && (local_34 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + } + } + FUN_14003d0d0((longlong)piVar5); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a6c00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a6c00.c new file mode 100644 index 00000000..98a5e241 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a6c00.c @@ -0,0 +1,86 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a6c00 FUN_1400a6c00 + * Pseudocode, not original source. */ + +void FUN_1400a6c00(longlong param_1,undefined8 *param_2,undefined8 param_3,longlong param_4) + +{ + undefined8 *_Dst; + ulonglong uVar1; + undefined8 uVar2; + undefined8 *puVar3; + int iVar4; + size_t _Size; + ulonglong uVar5; + undefined *puVar6; + longlong lVar7; + undefined ***pppuVar8; + undefined *local_58; + undefined4 local_50; + undefined4 local_4c; + undefined **local_48; + longlong *local_40; + undefined8 *local_38; + undefined8 local_30; + undefined8 local_28; + + iVar4 = (int)param_3; + if (*(longlong *)(param_1 + 0x58) != 0) { + local_48 = Proud::CFastArray::vftable; + local_40 = (longlong *)0x0; + local_38 = (undefined8 *)0x0; + local_30 = 0; + local_28 = 0; + lVar7 = param_4; + FUN_140038010((longlong)&local_48,iVar4,param_3,param_4); + _Dst = local_38; + if ((int)local_30 == 0) { + _Dst = (undefined8 *)0x0; + } + _Size = (longlong)iVar4 << 2; + if (_Size < 0x21) { + uVar1 = (ulonglong)((uint)_Size & 7); + puVar3 = param_2; + for (uVar5 = ((longlong)iVar4 & 0x3fffffffffffffffU) >> 1; uVar5 != 0; uVar5 = uVar5 - 1) { + *_Dst = *puVar3; + _Dst = _Dst + 1; + puVar3 = puVar3 + 1; + } + param_2 = (undefined8 *)0x0; + _Size = 0; + if (uVar1 != 0) { + _Dst = (undefined8 *)((longlong)_Dst - (longlong)puVar3); + do { + *(undefined1 *)((longlong)_Dst + (longlong)puVar3) = *(undefined1 *)puVar3; + puVar3 = (undefined8 *)((longlong)puVar3 + 1); + uVar1 = uVar1 - 1; + } while (uVar1 != 0); + param_2 = (undefined8 *)0x0; + } + } + else { + memcpy(_Dst,param_2,_Size); + } + FUN_14003e7c0(_Dst,param_2,_Size,lVar7); + local_58 = PTR_DAT_14016f010; + FUN_140005dd0((longlong *)&local_58,*(short **)(param_4 + 8),_Size,lVar7); + local_50 = *(undefined4 *)(param_4 + 0x10); + local_4c = *(undefined4 *)(param_4 + 0x14); + pppuVar8 = &local_48; + puVar6 = &DAT_140177f90; + uVar2 = 1; + (**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x58) + 0x68) + 0x40))(); + FUN_140002190((longlong *)&local_58,uVar2,puVar6,pppuVar8); + local_48 = Proud::CFastArray::vftable; + if (local_38 != (undefined8 *)0x0) { + if (local_40 == (longlong *)0x0) { + FUN_14003e8b0(local_38); + } + else { + (**(code **)(*local_40 + 0x18))(); + } + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a6d80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a6d80.c new file mode 100644 index 00000000..b26e85b3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a6d80.c @@ -0,0 +1,156 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a6d80 FUN_1400a6d80 + * Pseudocode, not original source. */ + +void FUN_1400a6d80(longlong param_1,undefined8 param_2,undefined8 param_3,short *param_4) + +{ + uint uVar1; + uint uVar2; + uint uVar3; + uint *puVar4; + int *piVar5; + longlong *plVar6; + uint *puVar7; + undefined8 uVar8; + uint uVar9; + ulonglong uVar10; + undefined *puVar11; + short *psVar12; + undefined4 *puVar13; + uint uVar14; + undefined4 local_res10 [2]; + uint *local_48; + undefined8 local_40; + int *local_38; + undefined1 local_30; + + local_res10[0] = (undefined4)param_2; + local_40 = 0xfffffffffffffffe; + if (*(longlong *)(param_1 + 0x58) == 0) { + return; + } + psVar12 = param_4; + FUN_14003e7c0(param_1,param_2,param_3,param_4); + local_48 = (uint *)PTR_DAT_14016f010; + uVar1 = FUN_14003e620(param_4); + uVar14 = 0; + uVar3 = 0; + uVar10 = 0; + if ((local_48 != (uint *)0x0) && (uVar10 = 0, local_48 != (uint *)PTR_DAT_14016f010)) { + uVar10 = (ulonglong)local_48[-2]; + } + uVar2 = uVar1; + if ((((int)uVar1 <= (int)uVar10) && (uVar2 = uVar3, local_48 != (uint *)0x0)) && + (local_48 != (uint *)PTR_DAT_14016f010)) { + uVar2 = local_48[-2]; + } + uVar9 = 1; + if (1 < (int)uVar2) { + uVar9 = uVar2; + } + uVar2 = uVar3; + if ((local_48 != (uint *)0x0) && (local_48 != (uint *)PTR_DAT_14016f010)) { + uVar2 = local_48[-2]; + } + if ((int)uVar2 < (int)uVar9) { + if (local_48 == (uint *)0x0) { + local_48 = (uint *)PTR_DAT_14016f010; + } + if ((int)uVar9 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar9 == 0) { + FUN_140002190((longlong *)&local_48,PTR_DAT_14016f010,uVar10,psVar12); + } + else { + uVar2 = uVar3; + if ((local_48 != (uint *)0x0) && (local_48 != (uint *)PTR_DAT_14016f010)) { + uVar2 = local_48[-2]; + } + if (uVar9 != uVar2) { + puVar4 = (uint *)FUN_14003e840((longlong)(int)uVar9 * 2 + 10); + if (puVar4 != (uint *)0x0) { + *puVar4 = 0; + puVar4[1] = 1; + } + *puVar4 = uVar9; + uVar2 = uVar3; + if ((local_48 != (uint *)0x0) && (local_48 != (uint *)PTR_DAT_14016f010)) { + uVar2 = local_48[-2]; + } + puVar7 = (uint *)PTR_DAT_14016f010; + if ((int)uVar9 < (int)uVar2) { +LAB_1400a6eb0: + if (local_48 != (uint *)0x0) { + puVar7 = local_48; + } + } + else { + uVar9 = uVar3; + if (local_48 != (uint *)0x0) { + if (local_48 != (uint *)PTR_DAT_14016f010) { + uVar9 = local_48[-2]; + } + goto LAB_1400a6eb0; + } + } + uVar10 = (ulonglong)uVar9; + FUN_14003e650(puVar4 + 2,puVar7,uVar9); + FUN_140002190((longlong *)&local_48,puVar7,uVar10,psVar12); + local_48 = puVar4 + 2; + } + } + } + FUN_140001df0((longlong *)&local_48); + puVar4 = local_48; + if (local_48 == (uint *)0x0) { + puVar4 = (uint *)PTR_DAT_14016f010; + } + FUN_14003e650(puVar4,param_4,uVar1); + puVar4 = local_48; + if (local_48 == (uint *)0x0) { + puVar4 = (uint *)PTR_DAT_14016f010; + } + uVar3 = FUN_14003e620((short *)puVar4); + uVar1 = uVar14; + if (0 < (int)uVar3) { + uVar1 = uVar3; + } + uVar3 = uVar14; + if ((local_48 != (uint *)0x0) && (local_48 != (uint *)PTR_DAT_14016f010)) { + uVar3 = local_48[-2]; + } + if (((int)uVar3 <= (int)uVar1) && (uVar1 = uVar14, local_48 != (uint *)0x0)) { + if (local_48 == (uint *)PTR_DAT_14016f010) goto LAB_1400a6f67; + uVar1 = local_48[-2]; + } + if (((local_48 != (uint *)PTR_DAT_14016f010) && (local_48 != (uint *)0x0)) && + (local_48 + -2 != (uint *)0x0)) { + local_48[-2] = uVar1; + *(undefined2 *)((longlong)local_48 + (longlong)(int)uVar1 * 2) = 0; + } +LAB_1400a6f67: + plVar6 = (longlong *)(*(longlong *)(param_1 + 0x58) + 0x68); + puVar13 = local_res10; + puVar11 = &DAT_140177f90; + uVar8 = 1; + (**(code **)(*plVar6 + 0x50))(); + puVar4 = local_48; + if (((local_48 != (uint *)0x0) && (local_48 != (uint *)PTR_DAT_14016f010)) && + (puVar7 = local_48 + -2, puVar7 != (uint *)0x0)) { + piVar5 = (int *)FUN_14003e7c0(plVar6,uVar8,puVar11,puVar13); + local_38 = piVar5; + FUN_14003d040(piVar5); + local_30 = 1; + puVar4 = puVar4 + -1; + *puVar4 = *puVar4 - 1; + if (*puVar4 == 0) { + FUN_14003e8b0(puVar7); + } + FUN_14003d0d0((longlong)piVar5); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a7010.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a7010.c new file mode 100644 index 00000000..f9498685 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a7010.c @@ -0,0 +1,98 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a7010 FUN_1400a7010 + * Pseudocode, not original source. */ + +ulonglong FUN_1400a7010(longlong param_1,undefined8 param_2,undefined **param_3,undefined8 param_4) + +{ + int iVar1; + longlong *plVar2; + ulonglong in_RAX; + undefined8 *puVar3; + longlong lVar4; + undefined8 uVar5; + ulonglong uVar6; + longlong *plVar7; + longlong lVar8; + undefined ***pppuVar9; + longlong lVar10; + longlong *local_res10; + longlong local_res18 [2]; + undefined **local_38; + int local_30; + undefined2 local_2c; + + if (*(char *)(param_1 + 0x1528) == '\0') { + plVar7 = *(longlong **)(param_1 + 0x1520); + if ((plVar7 == (longlong *)0x0) || (*plVar7 == 0)) { + local_res10 = operator_new(0x1c0); + if (local_res10 == (longlong *)0x0) { + puVar3 = (undefined8 *)0x0; + } + else { + param_3 = (undefined **)0x0; + puVar3 = FUN_1400d32e0(local_res10,param_1,0,param_4); + } + lVar10 = 0; + if ((puVar3 == (undefined8 *)0x0) || (puVar3 + 8 == (undefined8 *)0x0)) { + local_res10 = (longlong *)0x0; + } + else { + local_res10 = (longlong *)FUN_14003e840(0x10); + local_res10[1] = 1; + *local_res10 = (longlong)(puVar3 + 8); + } + plVar7 = local_res10; + FUN_14009d860((longlong *)(param_1 + 0x1520),(longlong *)&local_res10); + plVar2 = local_res10; + if (plVar7 != (longlong *)0x0) { + plVar7 = plVar7 + 1; + *plVar7 = *plVar7 + -1; + if (*plVar7 == 0) { + puVar3 = (undefined8 *)*local_res10; + if (puVar3 != (undefined8 *)0x0) { + (**(code **)*puVar3)(puVar3,1); + } + FUN_14003e8b0(plVar2); + } + } + lVar4 = lVar10; + if ((*(longlong **)(param_1 + 0x15d8) != (longlong *)0x0) && + (lVar8 = **(longlong **)(param_1 + 0x15d8), lVar8 != 0)) { + lVar4 = lVar8 + -0x40; + } + iVar1 = *(int *)(lVar4 + 0x118); + if ((iVar1 == 0) || (iVar1 == -1)) { + FUN_14003e110( + L"UDP 소켓을 생성하기 전에 TCP 연결이 이미 되어있는 상태이어야 하는데!" + ); + } + local_38 = Proud::AddrPort::vftable; + local_2c = 0; + if ((*(longlong **)(param_1 + 0x1520) == (longlong *)0x0) || + (lVar4 = **(longlong **)(param_1 + 0x1520), lVar8 = lVar4 + -0x40, lVar4 == 0)) { + lVar8 = lVar10; + } + pppuVar9 = &local_38; + local_30 = iVar1; + uVar5 = FUN_1400d36c0(lVar8,(longlong)pppuVar9,(longlong *)param_3,param_4); + if ((char)uVar5 == '\0') { + local_res18[0] = 0; + uVar6 = FUN_14009d860((longlong *)(param_1 + 0x1520),local_res18); + *(undefined1 *)(param_1 + 0x1528) = 1; + return uVar6 & 0xffffffffffffff00; + } + if ((*(longlong **)(param_1 + 0x1520) != (longlong *)0x0) && + (lVar4 = **(longlong **)(param_1 + 0x1520), lVar4 != 0)) { + lVar10 = lVar4 + -0x40; + } + plVar7 = (longlong *)FUN_1400d2cc0(lVar10,pppuVar9,param_3,param_4); + } + uVar6 = CONCAT71((int7)((ulonglong)plVar7 >> 8),1); + } + else { + uVar6 = in_RAX & 0xffffffffffffff00; + } + return uVar6; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a71c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a71c0.c new file mode 100644 index 00000000..105471ac --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a71c0.c @@ -0,0 +1,83 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a71c0 FUN_1400a71c0 + * Pseudocode, not original source. */ + +ulonglong * +FUN_1400a71c0(ulonglong *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + int iVar1; + undefined8 *puVar2; + int *piVar3; + ulonglong uVar4; + int **ppiVar5; + undefined1 uVar6; + undefined7 uVar7; + bool bVar8; + int *local_res10; + + uVar6 = (undefined1)param_3; + uVar7 = (undefined7)((ulonglong)param_3 >> 8); + LOCK(); + bVar8 = DAT_140179500 == 0; + if (bVar8) { + DAT_140179500 = 1; + } + UNLOCK(); + if (bVar8) { + puVar2 = (undefined8 *)FUN_14003e840(0x2c0); + if (puVar2 == (undefined8 *)0x0) { + puVar2 = (undefined8 *)0x0; + } + else { + puVar2 = FUN_1400c7f30(puVar2,param_2,CONCAT71(uVar7,uVar6),param_4); + } + if (puVar2 == (undefined8 *)0x0) { + local_res10 = (int *)0x0; + } + else { + piVar3 = (int *)FUN_14003e840(0x48); + if (piVar3 != (int *)0x0) { + local_res10 = piVar3; + uVar4 = FUN_140094860(); + uVar6 = 1; + FUN_14003cf60(piVar3,uVar4 & 0xffffffff,CONCAT71(uVar7,1),param_4); + } + local_res10 = piVar3; + FUN_14003d040(piVar3); + piVar3[0x10] = 1; + piVar3[0x11] = 0; + *(undefined8 **)(piVar3 + 0xe) = puVar2; + FUN_14003d0d0((longlong)piVar3); + } + ppiVar5 = &local_res10; + FUN_14009d690((ulonglong *)&DAT_140179508,(ulonglong *)ppiVar5,CONCAT71(uVar7,uVar6),param_4); + FUN_14009d3d0((longlong *)&local_res10,ppiVar5,CONCAT71(uVar7,uVar6),param_4); + LOCK(); + UNLOCK(); + DAT_140179500 = 2; + } + else { + LOCK(); + iVar1 = DAT_140179500; + if (DAT_140179500 == 9999) { + DAT_140179500 = 999; + iVar1 = 9999; + } + UNLOCK(); + while (iVar1 != 2) { + Sleep(5); + LOCK(); + iVar1 = DAT_140179500; + if (DAT_140179500 == 9999) { + DAT_140179500 = 999; + iVar1 = 9999; + } + UNLOCK(); + } + } + *param_1 = 0; + FUN_14009d690(param_1,(ulonglong *)&DAT_140179508,CONCAT71(uVar7,uVar6),param_4); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a7320.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a7320.c new file mode 100644 index 00000000..7ca3cc99 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a7320.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a7320 FUN_1400a7320 + * Pseudocode, not original source. */ + +uint * FUN_1400a7320(char *param_1,uint *param_2) + +{ + uint uVar1; + uint *puVar2; + ulonglong uVar3; + undefined4 *puVar4; + uint uVar5; + + uVar1 = *param_2; + uVar3 = (ulonglong)uVar1 % (ulonglong)*(uint *)(param_1 + 0x28); + uVar5 = (uint)uVar3; + if (*(longlong *)(param_1 + 8) != 0) { + for (puVar2 = *(uint **)(*(longlong *)(param_1 + 8) + uVar3 * 8); + (puVar2 != (uint *)0x0 && (uVar5 == puVar2[8] % *(uint *)(param_1 + 0x28))); + puVar2 = *(uint **)(puVar2 + 4)) { + if (*puVar2 == uVar1) { + return puVar2 + 2; + } + } + } + puVar4 = FUN_14008ddd0(param_1,param_2,uVar5,uVar1); + return puVar4 + 2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a7390.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a7390.c new file mode 100644 index 00000000..abf46cce --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a7390.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a7390 FUN_1400a7390 + * Pseudocode, not original source. */ + +void FUN_1400a7390(longlong *param_1,LPVOID param_2) + +{ + longlong *plVar1; + undefined8 *puVar2; + + if (*(longlong *)((longlong)param_2 + 0x10) != 0) { + *(longlong *)(*(longlong *)((longlong)param_2 + 0x10) + 8) = + *(longlong *)(*(longlong *)((longlong)param_2 + 0x10) + 8) + -1; + if (*(longlong *)(*(longlong *)((longlong)param_2 + 0x10) + 8) == 0) { + plVar1 = *(longlong **)((longlong)param_2 + 0x10); + puVar2 = (undefined8 *)*plVar1; + if (puVar2 != (undefined8 *)0x0) { + (**(code **)*puVar2)(puVar2,1); + } + FUN_14003e8b0(plVar1); + } + } + plVar1 = (longlong *)*param_1; + if (plVar1 != (longlong *)0x0) { + (**(code **)(*plVar1 + 0x10))(plVar1,param_2); + param_1[3] = param_1[3] + -1; + return; + } + FUN_14003e8b0(param_2); + param_1[3] = param_1[3] + -1; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a7430.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a7430.c new file mode 100644 index 00000000..78b0c496 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a7430.c @@ -0,0 +1,28 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a7430 FUN_1400a7430 + * Pseudocode, not original source. */ + +void FUN_1400a7430(longlong *param_1,LPVOID param_2) + +{ + longlong *plVar1; + + FUN_14008a320((longlong *)((longlong)param_2 + 0x18)); + if (*(longlong *)((longlong)param_2 + 0x20) != 0) { + if (*(int *)((longlong)param_2 + 0x2c) < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + *(undefined4 *)((longlong)param_2 + 0x28) = 0; + } + plVar1 = (longlong *)*param_1; + if (plVar1 == (longlong *)0x0) { + FUN_14003e8b0(param_2); + } + else { + (**(code **)(*plVar1 + 0x10))(plVar1,param_2); + } + param_1[3] = param_1[3] + -1; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a74a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a74a0.c new file mode 100644 index 00000000..eb84987a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a74a0.c @@ -0,0 +1,67 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a74a0 FUN_1400a74a0 + * Pseudocode, not original source. */ + +undefined1 FUN_1400a74a0(longlong *param_1,undefined8 param_2,SIZE_T param_3,longlong param_4) + +{ + uint uVar1; + undefined1 uVar2; + undefined8 *puVar3; + SIZE_T SVar4; + longlong lVar5; + undefined4 local_res10 [4]; + longlong *local_res20; + undefined4 local_40; + undefined4 local_3c; + longlong local_38; + longlong local_30; + int local_24; + + local_res10[0] = (undefined4)param_2; + SVar4 = param_3; + lVar5 = param_4; + FUN_140074fb0(&local_40); + FUN_140074a40((longlong)&local_40,param_2,SVar4,lVar5); + FUN_14002a2d0((longlong)&local_40,0xfa06,SVar4,lVar5); + uVar1 = *(uint *)(param_4 + 0x18); + FUN_140076380((longlong)&local_40,(longlong)(int)uVar1,SVar4,lVar5); + if (*(int *)(param_4 + 0x18) == 0) { + puVar3 = (undefined8 *)0x0; + } + else { + puVar3 = *(undefined8 **)(param_4 + 0x10); + } + if (uVar1 == 0) goto LAB_1400a7561; + local_3c = 0; + if (local_38 == 0) { + if (local_30 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,puVar3,SVar4,lVar5); + } +LAB_1400a7533: + SVar4 = (SIZE_T)uVar1; + FUN_140029f40(&local_30,puVar3,SVar4,lVar5); + } + else { + if (local_30 != 0) goto LAB_1400a7533; + if (local_38 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,puVar3,SVar4,lVar5); + } + SVar4 = (SIZE_T)uVar1; + FUN_14002a110(local_38,puVar3,SVar4); + } + FUN_14002a180((longlong)&local_40,puVar3,SVar4,lVar5); +LAB_1400a7561: + uVar2 = (**(code **)(*param_1 + 0x18)) + (param_1,local_res10,1,param_3,&local_40,PTR_DAT_140170970,0xfa06); + local_res20 = &local_38; + FUN_14008a320(&local_38); + if ((local_30 != 0) && (local_24 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a75e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a75e0.c new file mode 100644 index 00000000..33b106e2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a75e0.c @@ -0,0 +1,68 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a75e0 FUN_1400a75e0 + * Pseudocode, not original source. */ + +undefined1 +FUN_1400a75e0(longlong *param_1,undefined8 param_2,SIZE_T param_3,undefined8 param_4, + longlong param_5) + +{ + uint uVar1; + undefined1 uVar2; + undefined8 uVar3; + undefined8 *puVar4; + SIZE_T SVar5; + undefined8 uVar6; + ulonglong uVar7; + undefined4 local_40; + undefined4 local_3c; + longlong local_38; + longlong local_30; + int local_24; + + uVar7 = param_3 & 0xffffffff; + uVar3 = param_2; + uVar6 = param_4; + FUN_140074fb0(&local_40); + FUN_140074a40((longlong)&local_40,uVar3,param_3,uVar6); + FUN_14002a2d0((longlong)&local_40,0xfa06,param_3,uVar6); + uVar1 = *(uint *)(param_5 + 0x18); + FUN_140076380((longlong)&local_40,(longlong)(int)uVar1,param_3,uVar6); + if (*(int *)(param_5 + 0x18) == 0) { + puVar4 = (undefined8 *)0x0; + } + else { + puVar4 = *(undefined8 **)(param_5 + 0x10); + } + if (uVar1 == 0) goto LAB_1400a76b0; + local_3c = 0; + if (local_38 == 0) { + if (local_30 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,puVar4,param_3,uVar6); + } +LAB_1400a7682: + SVar5 = (SIZE_T)uVar1; + FUN_140029f40(&local_30,puVar4,SVar5,uVar6); + } + else { + if (local_30 != 0) goto LAB_1400a7682; + if (local_38 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,puVar4,param_3,uVar6); + } + SVar5 = (SIZE_T)uVar1; + FUN_14002a110(local_38,puVar4,SVar5); + } + FUN_14002a180((longlong)&local_40,puVar4,SVar5,uVar6); +LAB_1400a76b0: + uVar2 = (**(code **)(*param_1 + 0x18)) + (param_1,param_2,uVar7,param_4,&local_40,PTR_DAT_140170970,0xfa06); + FUN_14008a320(&local_38); + if ((local_30 != 0) && (local_24 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return uVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a7730.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a7730.c new file mode 100644 index 00000000..fb99d409 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a7730.c @@ -0,0 +1,51 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a7730 FUN_1400a7730 + * Pseudocode, not original source. */ + +undefined8 FUN_1400a7730(longlong param_1,undefined8 param_2,undefined **param_3,longlong *param_4) + +{ + int *piVar1; + undefined8 uVar2; + longlong *plVar3; + longlong lVar4; + undefined **ppuVar5; + char local_res8 [8]; + undefined8 uVar6; + longlong local_30; + undefined8 local_28; + undefined4 local_20; + undefined2 local_1c; + int *local_18; + undefined1 local_10; + + uVar6 = 0xfffffffffffffffe; + plVar3 = param_4; + piVar1 = (int *)(**(code **)(**(longlong **)(param_1 + 0x20) + 0x58))(); + local_18 = piVar1; + FUN_14003d040(piVar1); + local_10 = 1; + uVar2 = FUN_1400a7010(*(longlong *)(param_1 + 0x20),param_2,param_3,plVar3); + local_res8[0] = (char)uVar2; + if (local_res8[0] != '\0') { + FUN_14009c430(*(longlong **)(param_1 + 0x20),param_2,param_3,plVar3); + ppuVar5 = (undefined **)*param_4; + if ((undefined **)*param_4 == (undefined **)0x0) { + ppuVar5 = (undefined **)PTR_DAT_14016f008; + } + plVar3 = FUN_140046950(&local_30,ppuVar5,(ulonglong)param_3,plVar3); + FUN_1400419a0(&local_28,plVar3,(short)param_4[1]); + plVar3 = *(longlong **)(*(longlong *)(param_1 + 0x20) + 0x1570); + lVar4 = 0; + if (plVar3 != (longlong *)0x0) { + lVar4 = *plVar3; + } + *(undefined4 *)(lVar4 + 0xd0) = local_20; + *(undefined2 *)(lVar4 + 0xd4) = local_1c; + } + plVar3 = (longlong *)(*(longlong *)(param_1 + 0x20) + 0x1818); + (**(code **)(*plVar3 + 0x130))(plVar3,1,&DAT_140177f90,local_res8,uVar6); + uVar2 = FUN_14003d0d0((longlong)piVar1); + return CONCAT71((int7)((ulonglong)uVar2 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a7820.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a7820.c new file mode 100644 index 00000000..0425c65e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a7820.c @@ -0,0 +1,56 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a7820 FUN_1400a7820 + * Pseudocode, not original source. */ + +undefined8 +FUN_1400a7820(longlong param_1,undefined8 param_2,undefined **param_3,char *param_4, + longlong *param_5) + +{ + int *piVar1; + undefined8 uVar2; + longlong *plVar3; + longlong lVar4; + undefined **ppuVar5; + longlong lVar6; + char *pcVar7; + longlong local_res8; + undefined8 local_30; + undefined4 local_28; + undefined2 local_24; + int *local_20; + undefined1 local_18; + + pcVar7 = param_4; + piVar1 = (int *)(**(code **)(**(longlong **)(param_1 + 0x20) + 0x58))(); + local_20 = piVar1; + FUN_14003d040(piVar1); + local_18 = 1; + lVar6 = 0; + if ((*param_4 != '\0') && + (uVar2 = FUN_1400a7010(*(longlong *)(param_1 + 0x20),param_2,param_3,pcVar7), + (char)uVar2 != '\0')) { + FUN_14009c430(*(longlong **)(param_1 + 0x20),param_2,param_3,pcVar7); + ppuVar5 = (undefined **)*param_5; + if ((undefined **)*param_5 == (undefined **)0x0) { + ppuVar5 = (undefined **)PTR_DAT_14016f008; + } + plVar3 = FUN_140046950(&local_res8,ppuVar5,(ulonglong)param_3,pcVar7); + FUN_1400419a0(&local_30,plVar3,(short)param_5[1]); + plVar3 = *(longlong **)(*(longlong *)(param_1 + 0x20) + 0x1570); + lVar4 = lVar6; + if (plVar3 != (longlong *)0x0) { + lVar4 = *plVar3; + } + *(undefined4 *)(lVar4 + 0xd0) = local_28; + *(undefined2 *)(lVar4 + 0xd4) = local_24; + } + plVar3 = *(longlong **)(*(longlong *)(param_1 + 0x20) + 0x1570); + if (plVar3 != (longlong *)0x0) { + lVar6 = *plVar3; + } + *(undefined1 *)(lVar6 + 0x40) = 0; + uVar2 = FUN_14003d0d0((longlong)piVar1); + return CONCAT71((int7)((ulonglong)uVar2 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a7920.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a7920.c new file mode 100644 index 00000000..3771f89e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a7920.c @@ -0,0 +1,31 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a7920 FUN_1400a7920 + * Pseudocode, not original source. */ + +longlong * FUN_1400a7920(longlong *param_1,longlong *param_2,uint param_3) + +{ + uint *puVar1; + ulonglong uVar2; + int *piVar3; + + piVar3 = (int *)(**(code **)(*param_1 + 0x58))(); + FUN_14003d040(piVar3); + *param_2 = 0; + uVar2 = (ulonglong)param_3 % (ulonglong)*(uint *)(param_1 + 0x2cf); + if (param_1[0x2cb] != 0) { + puVar1 = *(uint **)(param_1[0x2cb] + uVar2 * 8); + while( true ) { + if ((puVar1 == (uint *)0x0) || ((uint)uVar2 != puVar1[8] % *(uint *)(param_1 + 0x2cf))) + goto LAB_1400a79c8; + if (*puVar1 == param_3) break; + puVar1 = *(uint **)(puVar1 + 4); + } + FUN_14009d860(param_2,(longlong *)(puVar1 + 2)); + } +LAB_1400a79c8: + FUN_1400c8cb0((char *)(param_1 + 0x2ca)); + FUN_14003d0d0((longlong)piVar3); + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a79f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a79f0.c new file mode 100644 index 00000000..4eadf08f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a79f0.c @@ -0,0 +1,73 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a79f0 FUN_1400a79f0 + * Pseudocode, not original source. */ + +longlong * FUN_1400a79f0(longlong *param_1,uint param_2,longlong *param_3,undefined8 param_4) + +{ + undefined8 *puVar1; + bool bVar2; + int *piVar3; + longlong *plVar4; + longlong *plVar5; + ulonglong uVar6; + wchar_t *pwVar7; + longlong *local_res8; + + piVar3 = (int *)(**(code **)(*param_1 + 0x58))(); + FUN_14003d040(piVar3); + uVar6 = (ulonglong)param_2; + FUN_1400a7920(param_1,(longlong *)&local_res8,param_2); + plVar4 = (longlong *)0x0; + if ((local_res8 == (longlong *)0x0) || (*local_res8 == 0)) { + if (*(uint *)(param_1 + 0x2af) == param_2) { + plVar5 = param_1 + 0x1b; + goto LAB_1400a7a7f; + } + plVar5 = plVar4; + if (param_2 == 1) { + plVar5 = param_1 + 0xe1; + goto LAB_1400a7a7f; + } + } + else { + plVar5 = (longlong *)(*local_res8 + 0x168); +LAB_1400a7a7f: + if (plVar5 != (longlong *)0x0) { + bVar2 = FUN_140086080((longlong)plVar5); + if ((!bVar2) || (((char)plVar5[0x7f] == '\0' && ((int)plVar5[0x7d] == 0)))) { + FUN_140029b80(param_3,L"key not exists!",uVar6,param_4); + if ((local_res8 != (longlong *)0x0) && + (local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) { + puVar1 = (undefined8 *)*local_res8; + if (puVar1 != (undefined8 *)0x0) { + (**(code **)*puVar1)(puVar1,1); + } + FUN_14003e8b0(local_res8); + } + FUN_14003d0d0((longlong)piVar3); + return (longlong *)0x0; + } + goto LAB_1400a7b38; + } + } + if (local_res8 != (longlong *)0x0) { + plVar4 = (longlong *)*local_res8; + } + pwVar7 = L"not NULL"; + if (plVar4 == (longlong *)0x0) { + pwVar7 = L"NULL"; + } + FUN_140029b80(param_3,L"%d remote rp is %s in netclient!",(ulonglong)param_2,pwVar7); +LAB_1400a7b38: + if ((local_res8 != (longlong *)0x0) && (local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) { + puVar1 = (undefined8 *)*local_res8; + if (puVar1 != (undefined8 *)0x0) { + (**(code **)*puVar1)(puVar1,1); + } + FUN_14003e8b0(local_res8); + } + FUN_14003d0d0((longlong)piVar3); + return plVar5; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a7ba0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a7ba0.c new file mode 100644 index 00000000..79751f59 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a7ba0.c @@ -0,0 +1,57 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a7ba0 FUN_1400a7ba0 + * Pseudocode, not original source. */ + +ulonglong FUN_1400a7ba0(longlong param_1,uint param_2,longlong param_3) + +{ + longlong *plVar1; + uint *puVar2; + undefined8 *puVar3; + int *piVar4; + undefined8 uVar5; + ulonglong uVar6; + longlong lVar7; + longlong *local_res8; + + piVar4 = (int *)(**(code **)(*(longlong *)(param_1 + -0x70) + 0x58))(); + FUN_14003d040(piVar4); + lVar7 = 0; + local_res8 = (longlong *)0x0; + uVar6 = (ulonglong)param_2 % (ulonglong)*(uint *)(param_1 + 0x1608); + if (*(longlong *)(param_1 + 0x15e8) != 0) { + for (puVar2 = *(uint **)(*(longlong *)(param_1 + 0x15e8) + uVar6 * 8); + (puVar2 != (uint *)0x0 && ((uint)uVar6 == puVar2[8] % *(uint *)(param_1 + 0x1608))); + puVar2 = *(uint **)(puVar2 + 4)) { + if (*puVar2 == param_2) { + if (*(longlong *)(puVar2 + 2) != 0) { + *(longlong *)(*(longlong *)(puVar2 + 2) + 8) = + *(longlong *)(*(longlong *)(puVar2 + 2) + 8) + 1; + local_res8 = *(longlong **)(puVar2 + 2); + } + FUN_1400c8cb0((char *)(param_1 + 0x15e0)); + if (local_res8 != (longlong *)0x0) { + lVar7 = *local_res8; + } + FUN_1400d1b70(lVar7,param_3); + if (local_res8 != (longlong *)0x0) { + plVar1 = local_res8 + 1; + *plVar1 = *plVar1 + -1; + if (*plVar1 == 0) { + puVar3 = (undefined8 *)*local_res8; + if (puVar3 != (undefined8 *)0x0) { + (**(code **)*puVar3)(puVar3,1); + } + FUN_14003e8b0(local_res8); + } + } + uVar5 = FUN_14003d0d0((longlong)piVar4); + return CONCAT71((int7)((ulonglong)uVar5 >> 8),1); + } + } + } + FUN_1400c8cb0((char *)(param_1 + 0x15e0)); + uVar6 = FUN_14003d0d0((longlong)piVar4); + return uVar6 & 0xffffffffffffff00; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a7d00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a7d00.c new file mode 100644 index 00000000..ac34df99 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a7d00.c @@ -0,0 +1,52 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a7d00 FUN_1400a7d00 + * Pseudocode, not original source. */ + +double FUN_1400a7d00(longlong param_1,uint param_2) + +{ + undefined8 *puVar1; + int *piVar2; + longlong lVar3; + double dVar4; + double dVar5; + longlong *local_res8; + + piVar2 = (int *)(**(code **)(*(longlong *)(param_1 + -0x70) + 0x58))(param_1 + -0x70); + FUN_14003d040(piVar2); + dVar4 = FUN_140048960((char *)(param_1 + 0x15b0)); + FUN_1400a7920((longlong *)(param_1 + -0x70),(longlong *)&local_res8,param_2); + if ((local_res8 == (longlong *)0x0) || (*local_res8 == 0)) { + dVar4 = dVar4 - *(double *)(param_1 + 0x480); + if ((local_res8 != (longlong *)0x0) && (local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) + { + puVar1 = (undefined8 *)*local_res8; + if (puVar1 != (undefined8 *)0x0) { + (**(code **)*puVar1)(puVar1,1); + } + FUN_14003e8b0(local_res8); + } + } + else { + *(undefined1 *)(*local_res8 + 0x21) = 1; + if (local_res8 == (longlong *)0x0) { + lVar3 = 0; + } + else { + lVar3 = *local_res8; + } + dVar5 = (double)(**(code **)(*(longlong *)(lVar3 + 8) + 0x10))(); + dVar4 = dVar4 - dVar5; + if ((local_res8 != (longlong *)0x0) && (local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) + { + puVar1 = (undefined8 *)*local_res8; + if (puVar1 != (undefined8 *)0x0) { + (**(code **)*puVar1)(puVar1,1); + } + FUN_14003e8b0(local_res8); + } + } + FUN_14003d0d0((longlong)piVar2); + return dVar4; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a7e40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a7e40.c new file mode 100644 index 00000000..0c971534 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a7e40.c @@ -0,0 +1,73 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a7e40 FUN_1400a7e40 + * Pseudocode, not original source. */ + +ulonglong FUN_1400a7e40(longlong *param_1,uint param_2,undefined2 *param_3) + +{ + undefined8 *puVar1; + int *piVar2; + undefined8 uVar3; + ulonglong uVar4; + longlong *local_res8; + + piVar2 = (int *)(**(code **)(*param_1 + 0x58))(); + FUN_14003d040(piVar2); + if ((((longlong *)param_1[699] != (longlong *)0x0) && (*(longlong *)param_1[699] != 0)) && + ((int)param_1[0x2af] != 0)) { + FUN_1400a7920(param_1,(longlong *)&local_res8,param_2); + if ((local_res8 != (longlong *)0x0) && (*local_res8 != 0)) { + *param_3 = *(undefined2 *)(*local_res8 + 0x568); + *(short *)(*local_res8 + 0x568) = *(short *)(*local_res8 + 0x568) + 1; + if ((local_res8 != (longlong *)0x0) && + (local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) { + puVar1 = (undefined8 *)*local_res8; + if (puVar1 != (undefined8 *)0x0) { + (**(code **)*puVar1)(puVar1,1); + } + FUN_14003e8b0(local_res8); + } + uVar3 = FUN_14003d0d0((longlong)piVar2); + return CONCAT71((int7)((ulonglong)uVar3 >> 8),1); + } + if (*(uint *)(param_1 + 0x2af) == param_2) { + *param_3 = (short)param_1[0x9b]; + *(short *)(param_1 + 0x9b) = (short)param_1[0x9b] + 1; + if ((local_res8 != (longlong *)0x0) && + (local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) { + puVar1 = (undefined8 *)*local_res8; + if (puVar1 != (undefined8 *)0x0) { + (**(code **)*puVar1)(puVar1,1); + } + FUN_14003e8b0(local_res8); + } + uVar3 = FUN_14003d0d0((longlong)piVar2); + return CONCAT71((int7)((ulonglong)uVar3 >> 8),1); + } + if (param_2 == 1) { + *param_3 = (short)param_1[0xe0]; + *(short *)(param_1 + 0xe0) = (short)param_1[0xe0] + 1; + if ((local_res8 != (longlong *)0x0) && + (local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) { + puVar1 = (undefined8 *)*local_res8; + if (puVar1 != (undefined8 *)0x0) { + (**(code **)*puVar1)(puVar1,1); + } + FUN_14003e8b0(local_res8); + } + uVar3 = FUN_14003d0d0((longlong)piVar2); + return CONCAT71((int7)((ulonglong)uVar3 >> 8),1); + } + if ((local_res8 != (longlong *)0x0) && (local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) + { + puVar1 = (undefined8 *)*local_res8; + if (puVar1 != (undefined8 *)0x0) { + (**(code **)*puVar1)(puVar1,1); + } + FUN_14003e8b0(local_res8); + } + } + uVar4 = FUN_14003d0d0((longlong)piVar2); + return uVar4 & 0xffffffffffffff00; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a8040.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a8040.c new file mode 100644 index 00000000..55a4f2fd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a8040.c @@ -0,0 +1,42 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a8040 FUN_1400a8040 + * Pseudocode, not original source. */ + +void FUN_1400a8040(longlong *param_1,uint param_2) + +{ + short *psVar1; + undefined8 *puVar2; + int *piVar3; + longlong *local_res8; + + piVar3 = (int *)(**(code **)(*param_1 + 0x58))(); + FUN_14003d040(piVar3); + if ((((longlong *)param_1[699] != (longlong *)0x0) && (*(longlong *)param_1[699] != 0)) && + ((int)param_1[0x2af] != 0)) { + FUN_1400a7920(param_1,(longlong *)&local_res8,param_2); + if ((local_res8 == (longlong *)0x0) || (*local_res8 == 0)) { + if (*(uint *)(param_1 + 0x2af) == param_2) { + *(short *)(param_1 + 0x9b) = (short)param_1[0x9b] + -1; + } + else if (param_2 == 1) { + *(short *)(param_1 + 0xe0) = (short)param_1[0xe0] + -1; + } + } + else { + psVar1 = (short *)(*local_res8 + 0x568); + *psVar1 = *psVar1 + -1; + } + if ((local_res8 != (longlong *)0x0) && (local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) + { + puVar2 = (undefined8 *)*local_res8; + if (puVar2 != (undefined8 *)0x0) { + (**(code **)*puVar2)(puVar2,1); + } + FUN_14003e8b0(local_res8); + } + } + FUN_14003d0d0((longlong)piVar3); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a8160.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a8160.c new file mode 100644 index 00000000..ae332d48 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a8160.c @@ -0,0 +1,72 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a8160 FUN_1400a8160 + * Pseudocode, not original source. */ + +ulonglong FUN_1400a8160(longlong *param_1,uint param_2,undefined2 *param_3) + +{ + undefined8 *puVar1; + int *piVar2; + undefined8 uVar3; + ulonglong uVar4; + longlong *local_res8; + + piVar2 = (int *)(**(code **)(*param_1 + 0x58))(); + FUN_14003d040(piVar2); + FUN_1400a7920(param_1,(longlong *)&local_res8,param_2); + if ((local_res8 == (longlong *)0x0) || (*local_res8 == 0)) { + if (*(uint *)(param_1 + 0x2af) == param_2) { + *param_3 = *(undefined2 *)((longlong)param_1 + 0x4da); + if ((local_res8 != (longlong *)0x0) && + (local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) { + puVar1 = (undefined8 *)*local_res8; + if (puVar1 != (undefined8 *)0x0) { + (**(code **)*puVar1)(puVar1,1); + } + FUN_14003e8b0(local_res8); + } + uVar3 = FUN_14003d0d0((longlong)piVar2); + uVar4 = CONCAT71((int7)((ulonglong)uVar3 >> 8),1); + } + else if (param_2 == 1) { + *param_3 = *(undefined2 *)((longlong)param_1 + 0x702); + if ((local_res8 != (longlong *)0x0) && + (local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) { + puVar1 = (undefined8 *)*local_res8; + if (puVar1 != (undefined8 *)0x0) { + (**(code **)*puVar1)(puVar1,1); + } + FUN_14003e8b0(local_res8); + } + uVar3 = FUN_14003d0d0((longlong)piVar2); + uVar4 = CONCAT71((int7)((ulonglong)uVar3 >> 8),1); + } + else { + if ((local_res8 != (longlong *)0x0) && + (local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) { + puVar1 = (undefined8 *)*local_res8; + if (puVar1 != (undefined8 *)0x0) { + (**(code **)*puVar1)(puVar1,1); + } + FUN_14003e8b0(local_res8); + } + uVar4 = FUN_14003d0d0((longlong)piVar2); + uVar4 = uVar4 & 0xffffffffffffff00; + } + } + else { + *param_3 = *(undefined2 *)(*local_res8 + 0x56a); + local_res8[1] = local_res8[1] + -1; + if (local_res8[1] == 0) { + puVar1 = (undefined8 *)*local_res8; + if (puVar1 != (undefined8 *)0x0) { + (**(code **)*puVar1)(puVar1,1); + } + FUN_14003e8b0(local_res8); + } + uVar3 = FUN_14003d0d0((longlong)piVar2); + uVar4 = CONCAT71((int7)((ulonglong)uVar3 >> 8),1); + } + return uVar4; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a8310.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a8310.c new file mode 100644 index 00000000..305528e4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a8310.c @@ -0,0 +1,74 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a8310 FUN_1400a8310 + * Pseudocode, not original source. */ + +ulonglong FUN_1400a8310(longlong *param_1,uint param_2) + +{ + short *psVar1; + undefined8 *puVar2; + int *piVar3; + undefined8 uVar4; + ulonglong uVar5; + longlong *local_res8; + + piVar3 = (int *)(**(code **)(*param_1 + 0x58))(); + FUN_14003d040(piVar3); + FUN_1400a7920(param_1,(longlong *)&local_res8,param_2); + if ((local_res8 == (longlong *)0x0) || (*local_res8 == 0)) { + if (*(uint *)(param_1 + 0x2af) == param_2) { + *(short *)((longlong)param_1 + 0x4da) = *(short *)((longlong)param_1 + 0x4da) + 1; + if ((local_res8 != (longlong *)0x0) && + (local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) { + puVar2 = (undefined8 *)*local_res8; + if (puVar2 != (undefined8 *)0x0) { + (**(code **)*puVar2)(puVar2,1); + } + FUN_14003e8b0(local_res8); + } + uVar4 = FUN_14003d0d0((longlong)piVar3); + uVar5 = CONCAT71((int7)((ulonglong)uVar4 >> 8),1); + } + else if (param_2 == 1) { + *(short *)((longlong)param_1 + 0x702) = *(short *)((longlong)param_1 + 0x702) + 1; + if ((local_res8 != (longlong *)0x0) && + (local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) { + puVar2 = (undefined8 *)*local_res8; + if (puVar2 != (undefined8 *)0x0) { + (**(code **)*puVar2)(puVar2,1); + } + FUN_14003e8b0(local_res8); + } + uVar4 = FUN_14003d0d0((longlong)piVar3); + uVar5 = CONCAT71((int7)((ulonglong)uVar4 >> 8),1); + } + else { + if ((local_res8 != (longlong *)0x0) && + (local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) { + puVar2 = (undefined8 *)*local_res8; + if (puVar2 != (undefined8 *)0x0) { + (**(code **)*puVar2)(puVar2,1); + } + FUN_14003e8b0(local_res8); + } + uVar5 = FUN_14003d0d0((longlong)piVar3); + uVar5 = uVar5 & 0xffffffffffffff00; + } + } + else { + psVar1 = (short *)(*local_res8 + 0x56a); + *psVar1 = *psVar1 + 1; + if ((local_res8 != (longlong *)0x0) && (local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) + { + puVar2 = (undefined8 *)*local_res8; + if (puVar2 != (undefined8 *)0x0) { + (**(code **)*puVar2)(puVar2,1); + } + FUN_14003e8b0(local_res8); + } + uVar4 = FUN_14003d0d0((longlong)piVar3); + uVar5 = CONCAT71((int7)((ulonglong)uVar4 >> 8),1); + } + return uVar5; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a84b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a84b0.c new file mode 100644 index 00000000..4712e3be --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a84b0.c @@ -0,0 +1,44 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a84b0 FUN_1400a84b0 + * Pseudocode, not original source. */ + +undefined8 * FUN_1400a84b0(longlong param_1,undefined8 *param_2,uint param_3) + +{ + undefined8 *puVar1; + int *piVar2; + longlong *plVar3; + longlong lVar4; + longlong *local_res8; + + plVar3 = (longlong *)(param_1 + -0x70); + piVar2 = (int *)(**(code **)(*plVar3 + 0x58))(plVar3); + FUN_14003d040(piVar2); + plVar3 = FUN_1400a7920(plVar3,(longlong *)&local_res8,param_3); + lVar4 = 0; + if ((longlong *)*plVar3 != (longlong *)0x0) { + lVar4 = *(longlong *)*plVar3; + } + if ((local_res8 != (longlong *)0x0) && (local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) { + puVar1 = (undefined8 *)*local_res8; + if (puVar1 != (undefined8 *)0x0) { + (**(code **)*puVar1)(puVar1,1); + } + FUN_14003e8b0(local_res8); + } + if (((lVar4 == 0) || (*(longlong **)(lVar4 + 0x18) == (longlong *)0x0)) || + (**(longlong **)(lVar4 + 0x18) == 0)) { + *param_2 = Proud::AddrPort::vftable; + *(undefined4 *)(param_2 + 1) = DAT_14016f3d0; + *(undefined2 *)((longlong)param_2 + 0xc) = DAT_14016f3d4; + } + else { + lVar4 = FUN_1400cf2a0(lVar4); + *param_2 = Proud::AddrPort::vftable; + *(undefined4 *)(param_2 + 1) = *(undefined4 *)(lVar4 + 0x130); + *(undefined2 *)((longlong)param_2 + 0xc) = *(undefined2 *)(lVar4 + 0x134); + } + FUN_14003d0d0((longlong)piVar2); + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a85d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a85d0.c new file mode 100644 index 00000000..c1bf6d8d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a85d0.c @@ -0,0 +1,78 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a85d0 FUN_1400a85d0 + * Pseudocode, not original source. */ + +ulonglong FUN_1400a85d0(longlong param_1,uint param_2,undefined4 *param_3) + +{ + longlong *plVar1; + uint uVar2; + undefined8 *puVar3; + int *piVar4; + longlong lVar5; + ulonglong uVar6; + uint *puVar7; + longlong lVar8; + longlong *local_res8; + undefined8 uVar9; + + uVar9 = 0xfffffffffffffffe; + piVar4 = (int *)(**(code **)(*(longlong *)(param_1 + -0x70) + 0x58))(); + FUN_14003d040(piVar4); + lVar8 = 0; + local_res8 = (longlong *)0x0; + uVar2 = *(uint *)(param_1 + 0x1608); + uVar6 = (ulonglong)param_2 % (ulonglong)uVar2; + puVar7 = (uint *)0x0; + if (*(longlong *)(param_1 + 0x15e8) != 0) { + puVar7 = *(uint **)(*(longlong *)(param_1 + 0x15e8) + uVar6 * 8); + while( true ) { + if ((puVar7 == (uint *)0x0) || ((uint)uVar6 != puVar7[8] % uVar2)) goto LAB_1400a8701; + if (*puVar7 == param_2) break; + puVar7 = *(uint **)(puVar7 + 4); + } + lVar5 = lVar8; + if (*(longlong *)(puVar7 + 2) != 0) { + *(longlong *)(*(longlong *)(puVar7 + 2) + 8) = + *(longlong *)(*(longlong *)(puVar7 + 2) + 8) + 1; + local_res8 = *(longlong **)(puVar7 + 2); + if (local_res8 != (longlong *)0x0) { + lVar5 = *local_res8; + } + } + if (*(longlong *)(lVar5 + 0x640) != 0) { + if (local_res8 != (longlong *)0x0) { + lVar8 = *local_res8; + } + FUN_1400d3950(*(longlong *)(lVar8 + 0x640),param_3); + if (local_res8 != (longlong *)0x0) { + plVar1 = local_res8 + 1; + *plVar1 = *plVar1 + -1; + if (*plVar1 == 0) { + puVar3 = (undefined8 *)*local_res8; + if (puVar3 != (undefined8 *)0x0) { + (**(code **)*puVar3)(puVar3,1); + } + FUN_14003e8b0(local_res8); + } + } + uVar9 = FUN_14003d0d0((longlong)piVar4); + return CONCAT71((int7)((ulonglong)uVar9 >> 8),1); + } + } +LAB_1400a8701: + if (local_res8 != (longlong *)0x0) { + plVar1 = local_res8 + 1; + *plVar1 = *plVar1 + -1; + if (*plVar1 == 0) { + puVar3 = (undefined8 *)*local_res8; + if (puVar3 != (undefined8 *)0x0) { + (**(code **)*puVar3)(puVar3,1,puVar7,(ulonglong)uVar2,uVar9,piVar4,1); + } + FUN_14003e8b0(local_res8); + } + } + uVar6 = FUN_14003d0d0((longlong)piVar4); + return uVar6 & 0xffffffffffffff00; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a8760.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a8760.c new file mode 100644 index 00000000..8f98a579 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a8760.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a8760 FUN_1400a8760 + * Pseudocode, not original source. */ + +bool FUN_1400a8760(longlong param_1,uint param_2) + +{ + undefined8 *puVar1; + int *piVar2; + longlong *plVar3; + longlong lVar4; + longlong *local_res8; + + plVar3 = (longlong *)(param_1 + -0x70); + piVar2 = (int *)(**(code **)(*plVar3 + 0x58))(plVar3); + FUN_14003d040(piVar2); + plVar3 = FUN_1400a7920(plVar3,(longlong *)&local_res8,param_2); + lVar4 = 0; + if ((longlong *)*plVar3 != (longlong *)0x0) { + lVar4 = *(longlong *)*plVar3; + } + if ((local_res8 != (longlong *)0x0) && (local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) { + puVar1 = (undefined8 *)*local_res8; + if (puVar1 != (undefined8 *)0x0) { + (**(code **)*puVar1)(puVar1,1); + } + FUN_14003e8b0(local_res8); + } + if (lVar4 == 0) { + FUN_14003d0d0((longlong)piVar2); + } + else { + *(undefined1 *)(lVar4 + 0x20) = 1; + FUN_14003d0d0((longlong)piVar2); + } + return lVar4 != 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a8830.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a8830.c new file mode 100644 index 00000000..d4edea94 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a8830.c @@ -0,0 +1,50 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a8830 FUN_1400a8830 + * Pseudocode, not original source. */ + +ulonglong FUN_1400a8830(longlong param_1,uint param_2,longlong param_3) + +{ + undefined8 *puVar1; + int *piVar2; + longlong *plVar3; + ulonglong uVar4; + longlong lVar5; + longlong *local_res8; + + plVar3 = (longlong *)(param_1 + -0x70); + piVar2 = (int *)(**(code **)(*plVar3 + 0x58))(plVar3); + FUN_14003d040(piVar2); + if (param_2 != 1) { + plVar3 = FUN_1400a7920(plVar3,(longlong *)&local_res8,param_2); + lVar5 = 0; + if ((longlong *)*plVar3 != (longlong *)0x0) { + lVar5 = *(longlong *)*plVar3; + } + if ((local_res8 != (longlong *)0x0) && (local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) + { + puVar1 = (undefined8 *)*local_res8; + if (puVar1 != (undefined8 *)0x0) { + (**(code **)*puVar1)(puVar1,1); + } + FUN_14003e8b0(local_res8); + } + if (lVar5 != 0) { + *(undefined1 *)(lVar5 + 0x21) = 1; + FUN_1400cf560(lVar5,param_3); + uVar4 = FUN_140041850(param_3); + if ((((char)uVar4 == '\0') || (uVar4 = FUN_140041850(param_3 + 0x10), (char)uVar4 == '\0')) || + (uVar4 = FUN_140041850(param_3 + 0x20), (char)uVar4 == '\0')) { + uVar4 = 0; + } + else { + uVar4 = 1; + } + FUN_14003d0d0((longlong)piVar2); + return uVar4; + } + } + uVar4 = FUN_14003d0d0((longlong)piVar2); + return uVar4 & 0xffffffffffffff00; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a8950.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a8950.c new file mode 100644 index 00000000..0dd0faf3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a8950.c @@ -0,0 +1,73 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a8950 FUN_1400a8950 + * Pseudocode, not original source. */ + +ulonglong FUN_1400a8950(longlong param_1,uint param_2,longlong param_3,undefined *param_4) + +{ + undefined8 *puVar1; + char cVar2; + int *piVar3; + longlong *plVar4; + ulonglong uVar5; + longlong lVar6; + ulonglong uVar7; + longlong lVar8; + longlong *plVar9; + longlong *plVar10; + longlong *local_res8; + + piVar3 = (int *)(**(code **)(*(longlong *)(param_1 + -0x70) + 0x58))(param_1 + -0x70); + FUN_14003d040(piVar3); + if (param_2 != 1) { + uVar7 = (ulonglong)param_2; + plVar4 = FUN_1400a7920((longlong *)(param_1 + -0x70),(longlong *)&local_res8,param_2); + plVar9 = (longlong *)0x0; + plVar10 = plVar9; + if ((undefined8 *)*plVar4 != (undefined8 *)0x0) { + plVar10 = *(longlong **)*plVar4; + } + if ((local_res8 != (longlong *)0x0) && (local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) + { + puVar1 = (undefined8 *)*local_res8; + if (puVar1 != (undefined8 *)0x0) { + (**(code **)*puVar1)(puVar1,1); + } + FUN_14003e8b0(local_res8); + } + if (plVar10 != (longlong *)0x0) { + lVar8 = param_3; + FUN_1400cf560((longlong)plVar10,param_3); + uVar5 = FUN_140041850(param_3); + if ((((char)uVar5 == '\0') || (uVar5 = FUN_140041850(param_3 + 0x10), (char)uVar5 == '\0')) || + (uVar5 = FUN_140041850(param_3 + 0x20), (char)uVar5 == '\0')) { + uVar5 = 0; + } + else { + uVar5 = 1; + } + if (((longlong *)plVar10[3] != (longlong *)0x0) && (*(longlong *)plVar10[3] != 0)) { + lVar6 = FUN_1400cf2a0((longlong)plVar10); + plVar4 = plVar9; + if (*(longlong **)(lVar6 + 0x100) != (longlong *)0x0) { + plVar4 = (longlong *)**(longlong **)(lVar6 + 0x100); + } + cVar2 = FUN_140043cf0((longlong)plVar4); + if (cVar2 == '\0') { + (**(code **)(*(longlong *)(param_1 + 8) + 0x10))(); + lVar6 = FUN_1400cf2a0((longlong)plVar10); + if (*(undefined8 **)(lVar6 + 0x100) != (undefined8 *)0x0) { + plVar9 = (longlong *)**(undefined8 **)(lVar6 + 0x100); + } + FUN_140043a50(plVar9,lVar8,uVar7,param_4); + FUN_1400d1440((longlong)plVar10,'\x01',0x1e,param_4); + } + } + FUN_14003d0d0((longlong)piVar3); + return uVar5; + } + } + uVar7 = FUN_14003d0d0((longlong)piVar3); + return uVar7 & 0xffffffffffffff00; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a8ae0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a8ae0.c new file mode 100644 index 00000000..ef386606 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a8ae0.c @@ -0,0 +1,62 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a8ae0 FUN_1400a8ae0 + * Pseudocode, not original source. */ + +longlong * FUN_1400a8ae0(longlong param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + int *piVar1; + int *piVar2; + longlong *plVar3; + longlong *plVar4; + undefined8 *puVar5; + wchar_t *pwVar6; + undefined8 uVar7; + undefined8 uVar8; + undefined *local_res18 [2]; + undefined8 local_58; + undefined8 local_50; + undefined8 local_48; + undefined8 local_40; + undefined8 local_38; + undefined8 local_30; + undefined4 local_28; + undefined1 local_24; + undefined4 local_20; + + local_24 = 0; + local_28 = 0; + local_20 = 0; + local_58 = 0; + local_50 = 0; + local_30 = 0; + local_38 = 0; + local_40 = 0; + local_48 = 0; + plVar4 = (longlong *)(param_1 + 0x70); + puVar5 = &local_58; + plVar3 = plVar4; + (**(code **)(*plVar4 + 0xc0))(); + FUN_14003e7c0(plVar3,puVar5,param_3,param_4); + *param_2 = (longlong)PTR_DAT_14016f010; + (**(code **)(*plVar4 + 0xb0))(plVar4,local_res18); + pwVar6 = L"TotalSend=%I64d TotalRecv=%I64d PeerCount=%d/%d NAT Name=%s"; + plVar4 = param_2; + uVar7 = local_40; + uVar8 = local_30; + FUN_140029b80(param_2,L"TotalSend=%I64d TotalRecv=%I64d PeerCount=%d/%d NAT Name=%s",local_40, + local_30); + if (((local_res18[0] != (undefined *)0x0) && (local_res18[0] != PTR_DAT_14016f010)) && + (local_res18[0] + -8 != (undefined *)0x0)) { + piVar2 = (int *)FUN_14003e7c0(plVar4,pwVar6,uVar7,uVar8); + FUN_14003d040(piVar2); + piVar1 = (int *)(local_res18[0] + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(local_res18[0] + -8); + } + FUN_14003d0d0((longlong)piVar2); + } + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a8c10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a8c10.c new file mode 100644 index 00000000..bca8a019 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a8c10.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a8c10 FUN_1400a8c10 + * Pseudocode, not original source. */ + +void FUN_1400a8c10(longlong *param_1,uint param_2) + +{ + int *piVar1; + undefined8 *puVar2; + int *piVar3; + longlong *local_res8; + + piVar3 = (int *)(**(code **)(*param_1 + 0x58))(); + FUN_14003d040(piVar3); + FUN_1400a7920(param_1,(longlong *)&local_res8,param_2); + if (local_res8 != (longlong *)0x0) { + if (*local_res8 != 0) { + piVar1 = (int *)(*local_res8 + 0x680); + *piVar1 = *piVar1 + -1; + } + if ((local_res8 != (longlong *)0x0) && (local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) + { + puVar2 = (undefined8 *)*local_res8; + if (puVar2 != (undefined8 *)0x0) { + (**(code **)*puVar2)(puVar2,1); + } + FUN_14003e8b0(local_res8); + } + } + FUN_14003d0d0((longlong)piVar3); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a8cd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a8cd0.c new file mode 100644 index 00000000..c4687240 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a8cd0.c @@ -0,0 +1,56 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a8cd0 FUN_1400a8cd0 + * Pseudocode, not original source. */ + +uint FUN_1400a8cd0(longlong param_1,uint param_2,undefined8 param_3) + +{ + undefined8 *puVar1; + uint uVar2; + int *piVar3; + undefined8 uVar4; + longlong *local_res8; + + piVar3 = (int *)(**(code **)(*(longlong *)(param_1 + -0x70) + 0x58))(param_1 + -0x70); + FUN_14003d040(piVar3); + if (param_2 == 1) { + *(undefined8 *)(param_1 + 0x14f8) = param_3; + FUN_14003d0d0((longlong)piVar3); + uVar2 = 1; + } + else if (param_2 == *(uint *)(param_1 + 0x1508)) { + *(undefined8 *)(param_1 + 0x17f8) = param_3; + uVar4 = FUN_14003d0d0((longlong)piVar3); + uVar2 = (uint)CONCAT71((int7)((ulonglong)uVar4 >> 8),1); + } + else { + FUN_1400a7920((longlong *)(param_1 + -0x70),(longlong *)&local_res8,param_2); + if ((local_res8 == (longlong *)0x0) || (*local_res8 == 0)) { + if ((local_res8 != (longlong *)0x0) && + (local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) { + puVar1 = (undefined8 *)*local_res8; + if (puVar1 != (undefined8 *)0x0) { + (**(code **)*puVar1)(puVar1,1); + } + FUN_14003e8b0(local_res8); + } + uVar2 = FUN_14003d0d0((longlong)piVar3); + uVar2 = uVar2 & 0xffffff00; + } + else { + *(undefined8 *)(*local_res8 + 0x678) = param_3; + if ((local_res8 != (longlong *)0x0) && + (local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) { + puVar1 = (undefined8 *)*local_res8; + if (puVar1 != (undefined8 *)0x0) { + (**(code **)*puVar1)(puVar1,1); + } + FUN_14003e8b0(local_res8); + } + uVar4 = FUN_14003d0d0((longlong)piVar3); + uVar2 = (uint)CONCAT71((int7)((ulonglong)uVar4 >> 8),1); + } + } + return uVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a8e20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a8e20.c new file mode 100644 index 00000000..3db08495 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a8e20.c @@ -0,0 +1,52 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a8e20 FUN_1400a8e20 + * Pseudocode, not original source. */ + +longlong FUN_1400a8e20(longlong *param_1,uint param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 *puVar1; + int *piVar2; + longlong lVar3; + longlong *local_res8; + + piVar2 = (int *)(**(code **)(*param_1 + 0x58))(); + FUN_14003d040(piVar2); + if (param_2 == 1) { + lVar3 = param_1[0x2ad]; + FUN_14003d0d0((longlong)piVar2); + } + else if (param_2 == *(uint *)(param_1 + 0x2af)) { + lVar3 = param_1[0x30d]; + FUN_14003d0d0((longlong)piVar2); + } + else { + FUN_1400a7920(param_1,(longlong *)&local_res8,param_2); + if ((local_res8 == (longlong *)0x0) || (*local_res8 == 0)) { + if ((local_res8 != (longlong *)0x0) && + (local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) { + puVar1 = (undefined8 *)*local_res8; + if (puVar1 != (undefined8 *)0x0) { + (**(code **)*puVar1)(puVar1,1); + } + FUN_14003e8b0(local_res8); + } + FUN_14003d0d0((longlong)piVar2); + lVar3 = 0; + } + else { + lVar3 = *(longlong *)(*local_res8 + 0x678); + local_res8[1] = local_res8[1] + -1; + if (local_res8[1] == 0) { + puVar1 = (undefined8 *)*local_res8; + if (puVar1 != (undefined8 *)0x0) { + (**(code **)*puVar1)(puVar1,1); + } + FUN_14003e8b0(local_res8); + } + FUN_14003d0d0((longlong)piVar2); + } + } + return lVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a8f60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a8f60.c new file mode 100644 index 00000000..82c7c807 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a8f60.c @@ -0,0 +1,27 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a8f60 FUN_1400a8f60 + * Pseudocode, not original source. */ + +undefined8 FUN_1400a8f60(char *param_1,uint *param_2,undefined8 *param_3) + +{ + uint uVar1; + ulonglong uVar2; + uint *puVar3; + + uVar1 = *(uint *)(param_1 + 0x28); + uVar2 = (ulonglong)*param_2 % (ulonglong)uVar1; + if (*(longlong *)(param_1 + 8) != 0) { + for (puVar3 = *(uint **)(*(longlong *)(param_1 + 8) + uVar2 * 8); + (puVar3 != (uint *)0x0 && ((uint)uVar2 == puVar3[8] % uVar1)); + puVar3 = *(uint **)(puVar3 + 4)) { + if (*puVar3 == *param_2) { + return (ulonglong)puVar3[8] / (ulonglong)uVar1 & 0xffffff00; + } + } + } + puVar3 = FUN_1400a7320(param_1,param_2); + *(undefined8 *)puVar3 = *param_3; + return CONCAT71((int7)((ulonglong)puVar3 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a8ff0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a8ff0.c new file mode 100644 index 00000000..6db85288 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a8ff0.c @@ -0,0 +1,28 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a8ff0 FUN_1400a8ff0 + * Pseudocode, not original source. */ + +void FUN_1400a8ff0(longlong *param_1) + +{ + undefined8 *puVar1; + void *pvVar2; + undefined8 *puVar3; + + if ((*param_1 != 0) && + (*(longlong *)(*param_1 + 8) = *(longlong *)(*param_1 + 8) + -1, + *(longlong *)(*param_1 + 8) == 0)) { + puVar1 = (undefined8 *)*param_1; + pvVar2 = (void *)*puVar1; + if (pvVar2 != (void *)0x0) { + puVar3 = *(undefined8 **)((longlong)pvVar2 + 0x10); + if (puVar3 != (undefined8 *)0x0) { + (**(code **)*puVar3)(puVar3,1); + } + operator_delete(pvVar2); + } + FUN_14003e8b0(puVar1); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a9060.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a9060.c new file mode 100644 index 00000000..47b93c92 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a9060.c @@ -0,0 +1,42 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a9060 FUN_1400a9060 + * Pseudocode, not original source. */ + +longlong * FUN_1400a9060(longlong *param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong *plVar1; + longlong lVar2; + longlong *plVar3; + + plVar1 = (longlong *)param_1[1]; + if (plVar1 == (longlong *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + FUN_14003e7c0(param_1,param_2,param_3,param_4); + plVar3 = plVar1 + 2; + *param_2 = (longlong)PTR_DAT_14016f010; + FUN_1400020c0(param_2,plVar3,param_3,param_4); + *(int *)(param_2 + 1) = (int)plVar1[3]; + param_2[2] = plVar1[4]; + lVar2 = *plVar1; + param_1[1] = lVar2; + if (lVar2 == 0) { + param_1[2] = 0; + } + else { + *(undefined8 *)(lVar2 + 8) = 0; + } + FUN_140002190(plVar1 + 2,plVar3,param_3,param_4); + plVar3 = (longlong *)*param_1; + if (plVar3 == (longlong *)0x0) { + FUN_14003e8b0(plVar1); + } + else { + (**(code **)(*plVar3 + 0x10))(plVar3,plVar1); + } + param_1[3] = param_1[3] + -1; + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a9130.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a9130.c new file mode 100644 index 00000000..b6b021c5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a9130.c @@ -0,0 +1,39 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a9130 FUN_1400a9130 + * Pseudocode, not original source. */ + +void FUN_1400a9130(longlong *param_1,longlong *param_2) + +{ + longlong lVar1; + void *pvVar2; + undefined8 *puVar3; + undefined8 *puVar4; + + lVar1 = *param_2; + if (lVar1 != *param_1) { + if (lVar1 != 0) { + *(longlong *)(*param_2 + 8) = *(longlong *)(lVar1 + 8) + 1; + } + puVar4 = (undefined8 *)0x0; + if ((*param_1 != 0) && + (*(longlong *)(*param_1 + 8) = *(longlong *)(*param_1 + 8) + -1, + *(longlong *)(*param_1 + 8) == 0)) { + puVar4 = (undefined8 *)*param_1; + } + *param_1 = *param_2; + if (puVar4 != (undefined8 *)0x0) { + pvVar2 = (void *)*puVar4; + if (pvVar2 != (void *)0x0) { + puVar3 = *(undefined8 **)((longlong)pvVar2 + 0x10); + if (puVar3 != (undefined8 *)0x0) { + (**(code **)*puVar3)(puVar3,1); + } + operator_delete(pvVar2); + } + FUN_14003e8b0(puVar4); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a91d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a91d0.c new file mode 100644 index 00000000..3bb6d107 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a91d0.c @@ -0,0 +1,46 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a91d0 FUN_1400a91d0 + * Pseudocode, not original source. */ + +void FUN_1400a91d0(longlong *param_1) + +{ + longlong lVar1; + longlong *plVar2; + longlong *plVar3; + undefined8 *puVar4; + + lVar1 = param_1[3]; + while( true ) { + if (lVar1 == 0) { + param_1[1] = 0; + param_1[2] = 0; + return; + } + plVar2 = (longlong *)param_1[1]; + if (plVar2 == (longlong *)0x0) break; + param_1[1] = *plVar2; + if ((plVar2[2] != 0) && + (*(longlong *)(plVar2[2] + 8) = *(longlong *)(plVar2[2] + 8) + -1, + *(longlong *)(plVar2[2] + 8) == 0)) { + plVar3 = (longlong *)plVar2[2]; + puVar4 = (undefined8 *)*plVar3; + if (puVar4 != (undefined8 *)0x0) { + (**(code **)*puVar4)(puVar4,1); + } + FUN_14003e8b0(plVar3); + } + plVar3 = (longlong *)*param_1; + if (plVar3 == (longlong *)0x0) { + FUN_14003e8b0(plVar2); + } + else { + (**(code **)(*plVar3 + 0x10))(plVar3,plVar2); + } + param_1[3] = param_1[3] + -1; + lVar1 = param_1[3]; + } + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a92a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a92a0.c new file mode 100644 index 00000000..903d5fca --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a92a0.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a92a0 FUN_1400a92a0 + * Pseudocode, not original source. */ + +longlong FUN_1400a92a0(longlong *param_1,longlong *param_2) + +{ + longlong lVar1; + + if (param_2 == (longlong *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + lVar1 = *param_2; + if (param_2 == (longlong *)param_1[1]) { + param_1[1] = lVar1; + } + else { + *(longlong *)param_2[1] = lVar1; + } + if (param_2 == (longlong *)param_1[2]) { + param_1[2] = param_2[1]; + } + else { + *(longlong *)(*param_2 + 8) = param_2[1]; + } + FUN_1400a7390(param_1,param_2); + return lVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a9310.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a9310.c new file mode 100644 index 00000000..05288f87 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a9310.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a9310 FUN_1400a9310 + * Pseudocode, not original source. */ + +undefined8 * +FUN_1400a9310(longlong *param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong *plVar1; + undefined8 *puVar2; + + plVar1 = (longlong *)*param_1; + if (plVar1 == (longlong *)0x0) { + puVar2 = (undefined8 *)FUN_14003e840(0x18); + } + else { + puVar2 = (undefined8 *) + (**(code **)(*plVar1 + 8))(plVar1,0x18,param_3,param_4,0xfffffffffffffffe); + } + if (puVar2 != (undefined8 *)0x0) { + puVar2[2] = 0; + FUN_14009d860(puVar2 + 2,param_2); + } + puVar2[1] = param_3; + *puVar2 = param_4; + param_1[3] = param_1[3] + 1; + return puVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a93a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a93a0.c new file mode 100644 index 00000000..8dc414ed --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a93a0.c @@ -0,0 +1,43 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a93a0 FUN_1400a93a0 + * Pseudocode, not original source. */ + +void FUN_1400a93a0(longlong *param_1) + +{ + longlong lVar1; + longlong *plVar2; + longlong *plVar3; + + lVar1 = param_1[3]; + while( true ) { + if (lVar1 == 0) { + param_1[1] = 0; + param_1[2] = 0; + return; + } + plVar2 = (longlong *)param_1[1]; + if (plVar2 == (longlong *)0x0) break; + param_1[1] = *plVar2; + FUN_14008a320(plVar2 + 3); + if (plVar2[4] != 0) { + if (*(int *)((longlong)plVar2 + 0x2c) < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + *(undefined4 *)(plVar2 + 5) = 0; + } + plVar3 = (longlong *)*param_1; + if (plVar3 == (longlong *)0x0) { + FUN_14003e8b0(plVar2); + } + else { + (**(code **)(*plVar3 + 0x10))(plVar3,plVar2); + } + param_1[3] = param_1[3] + -1; + lVar1 = param_1[3]; + } + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a9440.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a9440.c new file mode 100644 index 00000000..f23e3526 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a9440.c @@ -0,0 +1,35 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a9440 FUN_1400a9440 + * Pseudocode, not original source. */ + +void FUN_1400a9440(longlong *param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong lVar1; + longlong *plVar2; + + lVar1 = param_1[3]; + while( true ) { + if (lVar1 == 0) { + param_1[1] = 0; + param_1[2] = 0; + return; + } + plVar2 = (longlong *)param_1[1]; + if (plVar2 == (longlong *)0x0) break; + param_1[1] = *plVar2; + FUN_140002190(plVar2 + 2,param_2,param_3,param_4); + if ((longlong *)*param_1 == (longlong *)0x0) { + FUN_14003e8b0(plVar2); + } + else { + (**(code **)(*(longlong *)*param_1 + 0x10))(); + param_2 = plVar2; + } + param_1[3] = param_1[3] + -1; + lVar1 = param_1[3]; + } + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a94c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a94c0.c new file mode 100644 index 00000000..ae9e8ffc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a94c0.c @@ -0,0 +1,42 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a94c0 FUN_1400a94c0 + * Pseudocode, not original source. */ + +void FUN_1400a94c0(char *param_1,LPVOID param_2,char param_3) + +{ + longlong *plVar1; + undefined8 *puVar2; + uint uVar3; + + if (param_2 == (LPVOID)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + if ((*(longlong *)((longlong)param_2 + 8) != 0) && + (*(longlong *)(*(longlong *)((longlong)param_2 + 8) + 8) = + *(longlong *)(*(longlong *)((longlong)param_2 + 8) + 8) + -1, + *(longlong *)(*(longlong *)((longlong)param_2 + 8) + 8) == 0)) { + plVar1 = *(longlong **)((longlong)param_2 + 8); + puVar2 = (undefined8 *)*plVar1; + if (puVar2 != (undefined8 *)0x0) { + (**(code **)*puVar2)(puVar2,1); + } + FUN_14003e8b0(plVar1); + } + plVar1 = *(longlong **)(param_1 + 0x50); + if (plVar1 == (longlong *)0x0) { + FUN_14003e8b0(param_2); + } + else { + (**(code **)(*plVar1 + 0x18))(plVar1,param_2); + } + *(longlong *)(param_1 + 0x20) = *(longlong *)(param_1 + 0x20) + -1; + if (((param_3 != '\0') && (*(ulonglong *)(param_1 + 0x20) < *(ulonglong *)(param_1 + 0x40))) && + (*(int *)(param_1 + 0x48) == 0)) { + uVar3 = FUN_14009b970((longlong)param_1,*(ulonglong *)(param_1 + 0x20)); + FUN_1400c8de0(param_1,uVar3); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a9590.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a9590.c new file mode 100644 index 00000000..3c774210 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a9590.c @@ -0,0 +1,70 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a9590 FUN_1400a9590 + * Pseudocode, not original source. */ + +void FUN_1400a9590(char *param_1,LPVOID param_2,char param_3) + +{ + uint uVar1; + ulonglong uVar2; + uint uVar3; + + if (param_2 == (LPVOID)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + uVar1 = *(uint *)(param_1 + 0x28); + uVar2 = (ulonglong)*(uint *)((longlong)param_2 + 0x20) % (ulonglong)uVar1; + if (*(longlong *)(param_1 + 0x20) == 1) { + *(undefined8 *)(*(longlong *)(param_1 + 8) + uVar2 * 8) = 0; + param_1[0x10] = '\0'; + param_1[0x11] = '\0'; + param_1[0x12] = '\0'; + param_1[0x13] = '\0'; + param_1[0x14] = '\0'; + param_1[0x15] = '\0'; + param_1[0x16] = '\0'; + param_1[0x17] = '\0'; + param_1[0x18] = '\0'; + param_1[0x19] = '\0'; + param_1[0x1a] = '\0'; + param_1[0x1b] = '\0'; + param_1[0x1c] = '\0'; + param_1[0x1d] = '\0'; + param_1[0x1e] = '\0'; + param_1[0x1f] = '\0'; + } + else { + uVar3 = (uint)uVar2; + if (((*(longlong *)((longlong)param_2 + 0x18) == 0) || + (*(uint *)(*(longlong *)((longlong)param_2 + 0x18) + 0x20) % uVar1 != uVar3)) && + ((*(longlong *)((longlong)param_2 + 0x10) == 0 || + (*(uint *)(*(longlong *)((longlong)param_2 + 0x10) + 0x20) % uVar1 != uVar3)))) { + *(undefined8 *)(*(longlong *)(param_1 + 8) + uVar2 * 8) = 0; + } + else if (param_2 == *(LPVOID *)(*(longlong *)(param_1 + 8) + (longlong)(int)uVar3 * 8)) { + *(undefined8 *)(*(longlong *)(param_1 + 8) + uVar2 * 8) = + *(undefined8 *)((longlong)param_2 + 0x10); + } + if (param_2 == *(LPVOID *)(param_1 + 0x10)) { + *(undefined8 *)(param_1 + 0x10) = *(undefined8 *)((longlong)param_2 + 0x10); + *(undefined8 *)((longlong)param_2 + 0x18) = 0; + } + if (param_2 == *(LPVOID *)(param_1 + 0x18)) { + *(undefined8 *)(param_1 + 0x18) = *(undefined8 *)((longlong)param_2 + 0x18); + *(undefined8 *)((longlong)param_2 + 0x10) = 0; + } + if (*(longlong *)((longlong)param_2 + 0x18) != 0) { + *(undefined8 *)(*(longlong *)((longlong)param_2 + 0x18) + 0x10) = + *(undefined8 *)((longlong)param_2 + 0x10); + } + if (*(longlong *)((longlong)param_2 + 0x10) != 0) { + *(undefined8 *)(*(longlong *)((longlong)param_2 + 0x10) + 0x18) = + *(undefined8 *)((longlong)param_2 + 0x18); + } + } + FUN_1400a94c0(param_1,param_2,param_3); + FUN_1400c8cb0(param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a9690.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a9690.c new file mode 100644 index 00000000..7ddad520 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a9690.c @@ -0,0 +1,70 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a9690 FUN_1400a9690 + * Pseudocode, not original source. */ + +undefined2 * FUN_1400a9690(char *param_1,undefined2 *param_2,uint param_3,undefined4 param_4) + +{ + longlong *plVar1; + longlong lVar2; + uint uVar3; + undefined2 *puVar4; + + plVar1 = *(longlong **)(param_1 + 0x50); + if (plVar1 == (longlong *)0x0) { + puVar4 = (undefined2 *)FUN_14003e840(0x28); + } + else { + puVar4 = (undefined2 *) + (**(code **)(*plVar1 + 8))(plVar1,0x28,param_3,param_4,0xfffffffffffffffe); + } + if (puVar4 != (undefined2 *)0x0) { + *puVar4 = *param_2; + *(undefined8 *)(puVar4 + 4) = 0; + *(undefined4 *)(puVar4 + 0x10) = param_4; + } + lVar2 = *(longlong *)(*(longlong *)(param_1 + 8) + (ulonglong)param_3 * 8); + FUN_1400c8cb0(param_1); + if (*(longlong *)(param_1 + 0x20) == 0) { + *(undefined2 **)(param_1 + 0x10) = puVar4; + *(undefined2 **)(param_1 + 0x18) = puVar4; + *(undefined8 *)(puVar4 + 0xc) = 0; + *(undefined8 *)(puVar4 + 8) = 0; + } + else { + FUN_1400c8cb0(param_1); + FUN_1400c8cb0(param_1); + if (lVar2 == 0) { + lVar2 = *(longlong *)(param_1 + 0x10); + *(undefined8 *)(puVar4 + 0xc) = 0; + *(longlong *)(puVar4 + 8) = lVar2; + if (lVar2 != 0) { + *(undefined2 **)(lVar2 + 0x18) = puVar4; + } + *(undefined2 **)(param_1 + 0x10) = puVar4; + } + else { + if (*(longlong *)(lVar2 + 0x18) == 0) { + *(undefined2 **)(param_1 + 0x10) = puVar4; + } + else { + *(undefined2 **)(*(longlong *)(lVar2 + 0x18) + 0x10) = puVar4; + } + *(undefined8 *)(puVar4 + 0xc) = *(undefined8 *)(lVar2 + 0x18); + *(longlong *)(puVar4 + 8) = lVar2; + *(undefined2 **)(lVar2 + 0x18) = puVar4; + } + } + *(undefined2 **)(*(longlong *)(param_1 + 8) + (ulonglong)param_3 * 8) = puVar4; + *(longlong *)(param_1 + 0x20) = *(longlong *)(param_1 + 0x20) + 1; + FUN_1400c8cb0(param_1); + FUN_1400c8cb0(param_1); + if ((*(ulonglong *)(param_1 + 0x38) < *(ulonglong *)(param_1 + 0x20)) && + (*(int *)(param_1 + 0x48) == 0)) { + uVar3 = FUN_14009b970((longlong)param_1,*(ulonglong *)(param_1 + 0x20)); + FUN_1400c8de0(param_1,uVar3); + } + FUN_1400c8cb0(param_1); + return puVar4; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a97e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a97e0.c new file mode 100644 index 00000000..a8da5044 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a97e0.c @@ -0,0 +1,76 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a97e0 FUN_1400a97e0 + * Pseudocode, not original source. */ + +undefined8 +FUN_1400a97e0(longlong param_1,undefined8 param_2,undefined8 param_3,uint *param_4,longlong param_5, + longlong param_6) + +{ + int *piVar1; + longlong *plVar2; + undefined8 *puVar3; + undefined8 *puVar4; + undefined8 uVar5; + undefined8 *puVar6; + undefined8 *puVar7; + longlong *local_res8; + + piVar1 = (int *)(**(code **)(**(longlong **)(param_1 + 0x20) + 0x58))(); + FUN_14003d040(piVar1); + plVar2 = FUN_1400a7920(*(longlong **)(param_1 + 0x20),(longlong *)&local_res8,*param_4); + puVar7 = (undefined8 *)0x0; + puVar6 = puVar7; + if ((undefined8 *)*plVar2 != (undefined8 *)0x0) { + puVar6 = *(undefined8 **)*plVar2; + } + if ((local_res8 != (longlong *)0x0) && (local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) { + puVar4 = (undefined8 *)*local_res8; + if (puVar4 != (undefined8 *)0x0) { + (**(code **)*puVar4)(puVar4,1); + } + FUN_14003e8b0(local_res8); + } + if ((((puVar6 != (undefined8 *)0x0) && (*(char *)((longlong)puVar6 + 0x684) == '\0')) && + ((longlong *)puVar6[5] != (longlong *)0x0)) && (*(longlong *)puVar6[5] != 0)) { + *(undefined4 *)(puVar6 + 0xaf) = *(undefined4 *)(param_6 + 8); + *(undefined2 *)((longlong)puVar6 + 0x57c) = *(undefined2 *)(param_6 + 0xc); + *(undefined4 *)(puVar6 + 0xb1) = *(undefined4 *)(param_5 + 8); + *(undefined2 *)((longlong)puVar6 + 0x58c) = *(undefined2 *)(param_5 + 0xc); + plVar2 = (longlong *)puVar6[5]; + puVar4 = puVar7; + if (plVar2 != (longlong *)0x0) { + puVar4 = (undefined8 *)*plVar2; + } + if (puVar4[2] != 0) { + puVar4 = puVar7; + if (plVar2 != (longlong *)0x0) { + puVar4 = (undefined8 *)*plVar2; + } + if (*(int *)(puVar4[2] + 8) == 1) goto LAB_1400a9981; + } + puVar4 = puVar7; + if (plVar2 != (longlong *)0x0) { + puVar4 = (undefined8 *)*plVar2; + } + puVar3 = (undefined8 *)puVar4[2]; + if (puVar3 != (undefined8 *)0x0) { + (**(code **)*puVar3)(puVar3,1); + } + puVar4[2] = 0; + puVar3 = operator_new(0x38); + puVar4 = puVar7; + if (puVar3 != (undefined8 *)0x0) { + puVar4 = FUN_14009b9f0(puVar3); + } + *(undefined2 *)((longlong)puVar4 + 0x34) = *(undefined2 *)(param_6 + 0xc); + if ((undefined8 *)puVar6[5] != (undefined8 *)0x0) { + puVar7 = *(undefined8 **)puVar6[5]; + } + puVar7[2] = puVar4; + } +LAB_1400a9981: + uVar5 = FUN_14003d0d0((longlong)piVar1); + return CONCAT71((int7)((ulonglong)uVar5 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a99a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a99a0.c new file mode 100644 index 00000000..34b2eeb3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a99a0.c @@ -0,0 +1,36 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a99a0 FUN_1400a99a0 + * Pseudocode, not original source. */ + +undefined8 +FUN_1400a99a0(longlong param_1,undefined8 param_2,undefined8 param_3,uint *param_4,uint *param_5) + +{ + int *piVar1; + longlong *plVar2; + undefined8 uVar3; + longlong lVar4; + uint *puVar5; + longlong *local_res8; + + puVar5 = param_4; + piVar1 = (int *)(**(code **)(**(longlong **)(param_1 + 0x20) + 0x58))(); + FUN_14003d040(piVar1); + plVar2 = FUN_1400a7920(*(longlong **)(param_1 + 0x20),(longlong *)&local_res8,*param_4); + lVar4 = 0; + if ((longlong *)*plVar2 != (longlong *)0x0) { + lVar4 = *(longlong *)*plVar2; + } + if ((local_res8 != (longlong *)0x0) && (local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) { + if ((undefined8 *)*local_res8 != (undefined8 *)0x0) { + (*(code *)**(undefined8 **)*local_res8)(); + } + FUN_14003e8b0(local_res8); + } + if (((lVar4 != 0) && (*(char *)(lVar4 + 0x684) == '\0')) && (*(char *)(lVar4 + 0x608) == '\0')) { + FUN_1400d1440(lVar4,'\0',(ulonglong)*param_5,(undefined *)puVar5); + } + uVar3 = FUN_14003d0d0((longlong)piVar1); + return CONCAT71((int7)((ulonglong)uVar3 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a9a80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a9a80.c new file mode 100644 index 00000000..5ed12d42 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a9a80.c @@ -0,0 +1,47 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a9a80 FUN_1400a9a80 + * Pseudocode, not original source. */ + +undefined8 FUN_1400a9a80(longlong param_1,uint param_2,undefined8 param_3,undefined4 *param_4) + +{ + undefined8 *puVar1; + int *piVar2; + longlong *plVar3; + longlong lVar4; + longlong *local_res8; + undefined8 uVar5; + int *piVar6; + undefined1 uVar7; + + uVar5 = 0xfffffffffffffffe; + piVar2 = (int *)(**(code **)(**(longlong **)(param_1 + 0x20) + 0x58))(); + piVar6 = piVar2; + FUN_14003d040(piVar2); + uVar7 = 1; + plVar3 = FUN_1400a7920(*(longlong **)(param_1 + 0x20),(longlong *)&local_res8,param_2); + lVar4 = 0; + if ((longlong *)*plVar3 != (longlong *)0x0) { + lVar4 = *(longlong *)*plVar3; + } + if ((local_res8 != (longlong *)0x0) && + (local_res8[1] = local_res8[1] + -1, piVar2 = piVar6, local_res8[1] == 0)) { + puVar1 = (undefined8 *)*local_res8; + if (puVar1 != (undefined8 *)0x0) { + (**(code **)*puVar1)(puVar1,1); + piVar2 = piVar6; + } + FUN_14003e8b0(local_res8); + piVar6 = piVar2; + } + if ((lVar4 != 0) && (*(char *)(lVar4 + 0x684) == '\0')) { + *(undefined4 *)(lVar4 + 0x44) = *param_4; + plVar3 = (longlong *)(*(longlong *)(param_1 + 0x20) + 0x1818); + (**(code **)(*plVar3 + 0x140)) + (plVar3,1,&DAT_140177f90,lVar4 + 0x56c,lVar4 + 0x40,(undefined4 *)(lVar4 + 0x44),uVar5 + ,piVar6,uVar7); + } + uVar5 = FUN_14003d0d0((longlong)piVar2); + return CONCAT71((int7)((ulonglong)uVar5 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a9b90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a9b90.c new file mode 100644 index 00000000..40411b70 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a9b90.c @@ -0,0 +1,55 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a9b90 FUN_1400a9b90 + * Pseudocode, not original source. */ + +undefined8 +FUN_1400a9b90(longlong param_1,uint param_2,undefined8 param_3,undefined8 param_4,float *param_5) + +{ + undefined8 *puVar1; + int *piVar2; + longlong *plVar3; + undefined8 uVar4; + longlong lVar5; + float local_res8 [2]; + longlong *local_48; + double local_40; + undefined8 local_38; + undefined8 local_30; + int *local_28; + undefined1 local_20; + + local_30 = 0xfffffffffffffffe; + piVar2 = (int *)(**(code **)(**(longlong **)(param_1 + 0x20) + 0x58))(); + local_28 = piVar2; + FUN_14003d040(piVar2); + local_20 = 1; + plVar3 = FUN_1400a7920(*(longlong **)(param_1 + 0x20),(longlong *)&local_48,param_2); + lVar5 = 0; + if ((longlong *)*plVar3 != (longlong *)0x0) { + lVar5 = *(longlong *)*plVar3; + } + if ((local_48 != (longlong *)0x0) && + (local_48[1] = local_48[1] + -1, piVar2 = local_28, local_48[1] == 0)) { + puVar1 = (undefined8 *)*local_48; + if (puVar1 != (undefined8 *)0x0) { + (**(code **)*puVar1)(puVar1,1); + } + FUN_14003e8b0(local_48); + piVar2 = local_28; + } + if ((lVar5 != 0) && (*(char *)(lVar5 + 0x684) == '\0')) { + *(double *)(lVar5 + 0x160) = (double)*param_5; + local_40 = 0.0; + (**(code **)(**(longlong **)(param_1 + 0x20) + 0xd8))(*(longlong **)(param_1 + 0x20),&local_40); + local_res8[0] = (float)local_40; + local_38 = (**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x20) + 0x70) + 0xf8))(); + plVar3 = (longlong *)(*(longlong *)(param_1 + 0x20) + 0x17d0); + (**(code **)(*plVar3 + 0x60)) + (plVar3,param_2,&DAT_140177f90,param_4,&local_38,*(longlong *)(param_1 + 0x20) + 0x4f8 + ,local_res8); + } + uVar4 = FUN_14003d0d0((longlong)piVar2); + return CONCAT71((int7)((ulonglong)uVar4 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a9d00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a9d00.c new file mode 100644 index 00000000..01a12e87 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a9d00.c @@ -0,0 +1,47 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a9d00 FUN_1400a9d00 + * Pseudocode, not original source. */ + +undefined8 +FUN_1400a9d00(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4, + double *param_5,double *param_6,float *param_7) + +{ + undefined8 *puVar1; + int *piVar2; + longlong *plVar3; + undefined8 uVar4; + longlong lVar5; + double dVar6; + longlong *local_res8; + + piVar2 = (int *)(**(code **)(**(longlong **)(param_1 + 0x20) + 0x58)) + (*(longlong **)(param_1 + 0x20),param_2,param_3,param_4, + 0xfffffffffffffffe); + FUN_14003d040(piVar2); + plVar3 = FUN_1400a7920(*(longlong **)(param_1 + 0x20),(longlong *)&local_res8,(uint)param_2); + lVar5 = 0; + if ((longlong *)*plVar3 != (longlong *)0x0) { + lVar5 = *(longlong *)*plVar3; + } + if ((local_res8 != (longlong *)0x0) && (local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) { + puVar1 = (undefined8 *)*local_res8; + if (puVar1 != (undefined8 *)0x0) { + (**(code **)*puVar1)(puVar1,1); + } + FUN_14003e8b0(local_res8); + } + if ((lVar5 != 0) && (*(char *)(lVar5 + 0x684) == '\0')) { + dVar6 = *param_6; + if (dVar6 <= 0.0) { + dVar6 = 0.0; + } + *(double *)(lVar5 + 0x60) = dVar6; + *(double *)(lVar5 + 0x160) = (double)*param_7; + dVar6 = FUN_140048960((char *)(*(longlong *)(param_1 + 0x20) + 0x1620)); + *(double *)(lVar5 + 0x150) = dVar6 - (*(double *)(lVar5 + 0x50) + *param_5); + } + uVar4 = FUN_14003d0d0((longlong)piVar2); + return CONCAT71((int7)((ulonglong)uVar4 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a9e20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a9e20.c new file mode 100644 index 00000000..73649302 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a9e20.c @@ -0,0 +1,57 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a9e20 FUN_1400a9e20 + * Pseudocode, not original source. */ + +undefined ** FUN_1400a9e20(longlong *param_1,uint param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 *puVar1; + int *piVar2; + undefined **ppuVar3; + longlong *local_res8; + + piVar2 = (int *)(**(code **)(*param_1 + 0x58))(); + FUN_14003d040(piVar2); + if (param_2 == 1) { + FUN_14003d0d0((longlong)piVar2); + ppuVar3 = (undefined **)(param_1 + 0x2aa); + } + else if (param_2 == 0) { + FUN_14003d0d0((longlong)piVar2); + ppuVar3 = &PTR_vftable_1401711b0; + } + else if (param_2 == *(uint *)(param_1 + 0x2af)) { + FUN_14003d0d0((longlong)piVar2); + ppuVar3 = (undefined **)(param_1 + 0xc); + } + else { + FUN_1400a7920(param_1,(longlong *)&local_res8,param_2); + if (((local_res8 == (longlong *)0x0) || + (ppuVar3 = (undefined **)*local_res8, ppuVar3 == (undefined **)0x0)) || + (*(char *)((longlong)ppuVar3 + 0x684) != '\0')) { + if ((local_res8 != (longlong *)0x0) && + (local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) { + puVar1 = (undefined8 *)*local_res8; + if (puVar1 != (undefined8 *)0x0) { + (**(code **)*puVar1)(puVar1,1); + } + FUN_14003e8b0(local_res8); + } + FUN_14003d0d0((longlong)piVar2); + ppuVar3 = (undefined **)0x0; + } + else { + local_res8[1] = local_res8[1] + -1; + if (local_res8[1] == 0) { + puVar1 = (undefined8 *)*local_res8; + if (puVar1 != (undefined8 *)0x0) { + (**(code **)*puVar1)(puVar1,1); + } + FUN_14003e8b0(local_res8); + } + FUN_14003d0d0((longlong)piVar2); + } + } + return ppuVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400a9f70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400a9f70.c new file mode 100644 index 00000000..d671f7f2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400a9f70.c @@ -0,0 +1,308 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400a9f70 FUN_1400a9f70 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_1400a9f70(longlong param_1,undefined8 param_2,wchar_t *param_3,undefined8 param_4) + +{ + undefined *puVar1; + longlong ****pppplVar2; + uint uVar3; + uint uVar4; + uint *puVar5; + int *piVar6; + int *piVar7; + __time64_t _Var8; + longlong *****ppppplVar9; + longlong *plVar10; + int *piVar11; + uint *puVar12; + longlong *****ppppplVar13; + uint uVar14; + ulonglong uVar15; + longlong ****pppplVar16; + int *_ArgList; + uint uVar17; + longlong *****ppppplVar18; + undefined8 local_res20; + undefined1 auStack_918 [32]; + uint **local_8f8; + uint *local_8e8; + int local_8e0; + int local_8dc; + longlong ****local_8d8; + undefined1 local_8d0; + int *local_8c0; + undefined1 local_8b8; + int *local_8b0; + int *local_8a8; + undefined1 local_8a0; + uint *local_898; + int local_890; + __time64_t local_888; + undefined8 local_880; + wchar_t local_878 [1040]; + ulonglong local_58; + + local_880 = 0xfffffffffffffffe; + local_58 = DAT_14016f5a0 ^ (ulonglong)auStack_918; + local_8e0 = (int)param_2; + local_res20 = param_4; + FUN_14003e7c0(param_1,param_2,param_3,param_4); + local_8e8 = (uint *)PTR_DAT_14016f010; + _ArgList = (int *)&local_res20; + if (param_3 == (wchar_t *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80070057); + } + uVar3 = vswprintf_s(local_878,0x400,param_3,(va_list)_ArgList); + ppppplVar18 = (longlong *****)0x0; + uVar17 = 0; + ppppplVar9 = ppppplVar18; + if ((local_8e8 != (uint *)0x0) && + (ppppplVar9 = (longlong *****)0x0, local_8e8 != (uint *)PTR_DAT_14016f010)) { + ppppplVar9 = (longlong *****)(ulonglong)local_8e8[-2]; + } + uVar4 = uVar3; + if ((((int)uVar3 <= (int)ppppplVar9) && (uVar4 = uVar17, local_8e8 != (uint *)0x0)) && + (local_8e8 != (uint *)PTR_DAT_14016f010)) { + uVar4 = local_8e8[-2]; + } + uVar14 = 1; + if (1 < (int)uVar4) { + uVar14 = uVar4; + } + uVar4 = uVar17; + if ((local_8e8 != (uint *)0x0) && (local_8e8 != (uint *)PTR_DAT_14016f010)) { + uVar4 = local_8e8[-2]; + } + if ((int)uVar4 < (int)uVar14) { + if (local_8e8 == (uint *)0x0) { + local_8e8 = (uint *)PTR_DAT_14016f010; + } + if ((int)uVar14 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar14 == 0) { + FUN_140002190((longlong *)&local_8e8,PTR_DAT_14016f010,ppppplVar9,_ArgList); + } + else { + uVar4 = uVar17; + if ((local_8e8 != (uint *)0x0) && (local_8e8 != (uint *)PTR_DAT_14016f010)) { + uVar4 = local_8e8[-2]; + } + if (uVar14 != uVar4) { + puVar5 = (uint *)FUN_14003e840((longlong)(int)uVar14 * 2 + 10); + if (puVar5 != (uint *)0x0) { + *puVar5 = 0; + puVar5[1] = 1; + } + *puVar5 = uVar14; + uVar4 = uVar17; + if ((local_8e8 != (uint *)0x0) && (local_8e8 != (uint *)PTR_DAT_14016f010)) { + uVar4 = local_8e8[-2]; + } + puVar12 = (uint *)PTR_DAT_14016f010; + if ((int)uVar14 < (int)uVar4) { +LAB_1400aa0d6: + if (local_8e8 != (uint *)0x0) { + puVar12 = local_8e8; + } + } + else { + uVar14 = uVar17; + if (local_8e8 != (uint *)0x0) { + if (local_8e8 != (uint *)PTR_DAT_14016f010) { + uVar14 = local_8e8[-2]; + } + goto LAB_1400aa0d6; + } + } + uVar15 = (ulonglong)uVar14; + FUN_14003e650(puVar5 + 2,puVar12,uVar14); + FUN_140002190((longlong *)&local_8e8,puVar12,uVar15,_ArgList); + local_8e8 = puVar5 + 2; + } + } + } + FUN_140001df0((longlong *)&local_8e8); + puVar5 = local_8e8; + if (local_8e8 == (uint *)0x0) { + puVar5 = (uint *)PTR_DAT_14016f010; + } + pppplVar16 = (longlong ****)(ulonglong)uVar3; + FUN_14003e650(puVar5,local_878,uVar3); + puVar5 = local_8e8; + if (local_8e8 == (uint *)0x0) { + puVar5 = (uint *)PTR_DAT_14016f010; + } + uVar3 = FUN_14003e620((short *)puVar5); + ppppplVar9 = ppppplVar18; + if (0 < (int)uVar3) { + ppppplVar9 = (longlong *****)(ulonglong)uVar3; + } + ppppplVar13 = ppppplVar18; + if ((local_8e8 != (uint *)0x0) && + (ppppplVar13 = (longlong *****)0x0, local_8e8 != (uint *)PTR_DAT_14016f010)) { + ppppplVar13 = (longlong *****)(ulonglong)local_8e8[-2]; + } + if (((int)ppppplVar13 <= (int)ppppplVar9) && (ppppplVar9 = ppppplVar18, local_8e8 != (uint *)0x0)) + { + if (local_8e8 == (uint *)PTR_DAT_14016f010) goto LAB_1400aa198; + ppppplVar9 = (longlong *****)(ulonglong)local_8e8[-2]; + } + if (((local_8e8 != (uint *)PTR_DAT_14016f010) && (local_8e8 != (uint *)0x0)) && + (pppplVar16 = (longlong ****)(local_8e8 + -2), pppplVar16 != (longlong ****)0x0)) { + *(uint *)pppplVar16 = (uint)ppppplVar9; + *(undefined2 *)((longlong)local_8e8 + (longlong)(int)(uint)ppppplVar9 * 2) = 0; + } +LAB_1400aa198: + if (*(char *)(param_1 + 0x1790) != '\0') { + ppppplVar9 = (longlong *****)(param_1 + 0x1818); + local_8f8 = &local_8e8; + _ArgList = &local_8e0; + pppplVar16 = (longlong ****)&DAT_140177f90; + ppppplVar13 = (longlong *****)0x1; + (*(code *)(*ppppplVar9)[0x14])(); + } + if (*(int *)(param_1 + 0x6c8) != 0) { + plVar10 = (longlong *)(param_1 + 0x78); + (**(code **)(*plVar10 + 0x10))(); + FUN_14003e7c0(plVar10,ppppplVar13,pppplVar16,_ArgList); + puVar1 = PTR_DAT_14016f010; + local_8dc = local_8e0; + local_890 = local_8e0; + local_898 = (uint *)PTR_DAT_14016f010; + puVar5 = (uint *)PTR_DAT_14016f010; + if (local_8e8 != (uint *)PTR_DAT_14016f010) { + piVar6 = (int *)FUN_14003e7c0(plVar10,ppppplVar13,pppplVar16,_ArgList); + piVar11 = piVar6; + local_8a8 = piVar6; + FUN_14003d040(piVar6); + local_8a0 = 1; + if (((puVar1 != (undefined *)0x0) && (puVar1 != PTR_DAT_14016f010)) && + (puVar1 + -8 != (undefined *)0x0)) { + piVar7 = (int *)FUN_14003e7c0(piVar11,ppppplVar13,pppplVar16,_ArgList); + local_8c0 = piVar7; + FUN_14003d040(piVar7); + local_8b8 = 1; + piVar11 = (int *)(puVar1 + -4); + *piVar11 = *piVar11 + -1; + if (*piVar11 == 0) { + FUN_14003e8b0(puVar1 + -8); + } + FUN_14003d0d0((longlong)piVar7); + } + puVar5 = local_8e8; + local_898 = local_8e8; + if (((local_8e8 != (uint *)PTR_DAT_14016f010) && (local_8e8 != (uint *)0x0)) && + (local_8e8 != (uint *)0x8)) { + local_8e8[-1] = local_8e8[-1] + 1; + } + FUN_14003d0d0((longlong)piVar6); + } + _Var8 = _time64((__time64_t *)0x0); + piVar11 = *(int **)(param_1 + 0x17c0); + ppppplVar9 = *(longlong ******)(param_1 + 0x17b0); + local_8c0 = piVar11; + local_888 = _Var8; + if (ppppplVar9 == (longlong *****)0x0) { + ppppplVar9 = (longlong *****)0x28; + piVar6 = (int *)FUN_14003e840(0x28); + } + else { + pppplVar16 = *ppppplVar9; + ppppplVar13 = (longlong *****)0x28; + piVar6 = (int *)(*(code *)pppplVar16[1])(); + } + local_8b0 = piVar6; + local_8a8 = piVar6; + if (piVar6 != (int *)0x0) { + FUN_14003e7c0(ppppplVar9,ppppplVar13,pppplVar16,_ArgList); + puVar1 = PTR_DAT_14016f010; + *(undefined **)(piVar6 + 4) = PTR_DAT_14016f010; + if (puVar1 == (undefined *)0x0) { + *(undefined **)(piVar6 + 4) = PTR_DAT_14016f010; + } + if (puVar5 != *(uint **)(piVar6 + 4)) { + ppppplVar9 = (longlong *****)FUN_14003e7c0(ppppplVar9,ppppplVar13,pppplVar16,_ArgList); + local_8d8 = (longlong ****)ppppplVar9; + FUN_14003d040((int *)ppppplVar9); + local_8d0 = 1; + FUN_140002190((longlong *)(piVar6 + 4),ppppplVar13,pppplVar16,_ArgList); + *(uint **)(piVar6 + 4) = puVar5; + if (((puVar5 != (uint *)PTR_DAT_14016f010) && (puVar5 != (uint *)0x0)) && + (puVar5 != (uint *)0x8)) { + puVar5[-1] = puVar5[-1] + 1; + } + FUN_14003d0d0((longlong)ppppplVar9); + piVar11 = local_8c0; + } + piVar6[6] = local_8dc; + *(__time64_t *)(piVar6 + 8) = _Var8; + } + *(int **)(piVar6 + 2) = piVar11; + piVar6[0] = 0; + piVar6[1] = 0; + *(longlong *)(param_1 + 0x17c8) = *(longlong *)(param_1 + 0x17c8) + 1; + if (*(undefined8 **)(param_1 + 0x17c0) == (undefined8 *)0x0) { + *(int **)(param_1 + 0x17b8) = piVar6; + } + else { + **(undefined8 **)(param_1 + 0x17c0) = piVar6; + } + *(int **)(param_1 + 0x17c0) = piVar6; + if ((ulonglong)*(uint *)(param_1 + 0x6c8) < *(ulonglong *)(param_1 + 0x17c8)) { + ppppplVar13 = &local_8d8; + ppppplVar9 = (longlong *****)(param_1 + 0x17b0); + FUN_1400a9060((longlong *)ppppplVar9,(longlong *)ppppplVar13,pppplVar16,_ArgList); + pppplVar2 = local_8d8; + if ((((longlong *****)local_8d8 != (longlong *****)0x0) && + (local_8d8 != (longlong ****)PTR_DAT_14016f010)) && + (ppppplVar18 = (longlong *****)(local_8d8 + -1), ppppplVar18 != (longlong *****)0x0)) { + ppppplVar9 = (longlong *****)FUN_14003e7c0(ppppplVar9,ppppplVar13,pppplVar16,_ArgList); + local_8d8 = (longlong ****)ppppplVar9; + FUN_14003d040((int *)ppppplVar9); + local_8d0 = 1; + piVar11 = (int *)((longlong)pppplVar2 + -4); + *piVar11 = *piVar11 + -1; + if (*piVar11 == 0) { + FUN_14003e8b0(ppppplVar18); + } + FUN_14003d0d0((longlong)ppppplVar9); + } + } + if (((puVar5 != (uint *)0x0) && (puVar5 != (uint *)PTR_DAT_14016f010)) && + (puVar5 + -2 != (uint *)0x0)) { + ppppplVar9 = (longlong *****)FUN_14003e7c0(ppppplVar9,ppppplVar13,pppplVar16,_ArgList); + local_8d8 = (longlong ****)ppppplVar9; + FUN_14003d040((int *)ppppplVar9); + local_8d0 = 1; + puVar12 = puVar5 + -1; + *puVar12 = *puVar12 - 1; + if (*puVar12 == 0) { + FUN_14003e8b0(puVar5 + -2); + } + FUN_14003d0d0((longlong)ppppplVar9); + } + } + puVar5 = local_8e8; + if (((local_8e8 != (uint *)0x0) && (local_8e8 != (uint *)PTR_DAT_14016f010)) && + (puVar12 = local_8e8 + -2, puVar12 != (uint *)0x0)) { + pppplVar16 = (longlong ****)FUN_14003e7c0(ppppplVar9,ppppplVar13,pppplVar16,_ArgList); + local_8d8 = pppplVar16; + FUN_14003d040((int *)pppplVar16); + local_8d0 = 1; + puVar5 = puVar5 + -1; + *puVar5 = *puVar5 - 1; + if (*puVar5 == 0) { + FUN_14003e8b0(puVar12); + } + FUN_14003d0d0((longlong)pppplVar16); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400aa4c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400aa4c0.c new file mode 100644 index 00000000..1343918a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400aa4c0.c @@ -0,0 +1,306 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400aa4c0 FUN_1400aa4c0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_1400aa4c0(longlong param_1,undefined8 param_2,wchar_t *param_3,undefined8 param_4) + +{ + undefined *puVar1; + longlong ****pppplVar2; + uint uVar3; + uint uVar4; + uint *puVar5; + int *piVar6; + int *piVar7; + __time64_t _Var8; + longlong *****ppppplVar9; + longlong *plVar10; + int *piVar11; + uint *puVar12; + longlong *****ppppplVar13; + uint uVar14; + ulonglong uVar15; + longlong ****pppplVar16; + va_list _ArgList; + uint uVar17; + longlong *****ppppplVar18; + undefined8 local_res20; + undefined1 auStack_918 [32]; + uint **local_8f8; + uint *local_8e8; + undefined4 local_8e0 [2]; + longlong ****local_8d8; + undefined1 local_8d0; + int *local_8c0; + undefined1 local_8b8; + int *local_8b0; + int *local_8a8; + undefined1 local_8a0; + uint *local_898; + undefined4 local_890; + __time64_t local_888; + undefined8 local_880; + wchar_t local_878 [1040]; + ulonglong local_58; + + local_880 = 0xfffffffffffffffe; + local_58 = DAT_14016f5a0 ^ (ulonglong)auStack_918; + local_8e0[0] = (undefined4)param_2; + local_res20 = param_4; + FUN_14003e7c0(param_1,param_2,param_3,param_4); + local_8e8 = (uint *)PTR_DAT_14016f010; + _ArgList = (va_list)&local_res20; + if (param_3 == (wchar_t *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80070057); + } + uVar3 = vswprintf_s(local_878,0x400,param_3,_ArgList); + ppppplVar18 = (longlong *****)0x0; + uVar17 = 0; + ppppplVar9 = ppppplVar18; + if ((local_8e8 != (uint *)0x0) && + (ppppplVar9 = (longlong *****)0x0, local_8e8 != (uint *)PTR_DAT_14016f010)) { + ppppplVar9 = (longlong *****)(ulonglong)local_8e8[-2]; + } + uVar4 = uVar3; + if ((((int)uVar3 <= (int)ppppplVar9) && (uVar4 = uVar17, local_8e8 != (uint *)0x0)) && + (local_8e8 != (uint *)PTR_DAT_14016f010)) { + uVar4 = local_8e8[-2]; + } + uVar14 = 1; + if (1 < (int)uVar4) { + uVar14 = uVar4; + } + uVar4 = uVar17; + if ((local_8e8 != (uint *)0x0) && (local_8e8 != (uint *)PTR_DAT_14016f010)) { + uVar4 = local_8e8[-2]; + } + if ((int)uVar4 < (int)uVar14) { + if (local_8e8 == (uint *)0x0) { + local_8e8 = (uint *)PTR_DAT_14016f010; + } + if ((int)uVar14 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar14 == 0) { + FUN_140002190((longlong *)&local_8e8,PTR_DAT_14016f010,ppppplVar9,_ArgList); + } + else { + uVar4 = uVar17; + if ((local_8e8 != (uint *)0x0) && (local_8e8 != (uint *)PTR_DAT_14016f010)) { + uVar4 = local_8e8[-2]; + } + if (uVar14 != uVar4) { + puVar5 = (uint *)FUN_14003e840((longlong)(int)uVar14 * 2 + 10); + if (puVar5 != (uint *)0x0) { + *puVar5 = 0; + puVar5[1] = 1; + } + *puVar5 = uVar14; + uVar4 = uVar17; + if ((local_8e8 != (uint *)0x0) && (local_8e8 != (uint *)PTR_DAT_14016f010)) { + uVar4 = local_8e8[-2]; + } + puVar12 = (uint *)PTR_DAT_14016f010; + if ((int)uVar14 < (int)uVar4) { +LAB_1400aa626: + if (local_8e8 != (uint *)0x0) { + puVar12 = local_8e8; + } + } + else { + uVar14 = uVar17; + if (local_8e8 != (uint *)0x0) { + if (local_8e8 != (uint *)PTR_DAT_14016f010) { + uVar14 = local_8e8[-2]; + } + goto LAB_1400aa626; + } + } + uVar15 = (ulonglong)uVar14; + FUN_14003e650(puVar5 + 2,puVar12,uVar14); + FUN_140002190((longlong *)&local_8e8,puVar12,uVar15,_ArgList); + local_8e8 = puVar5 + 2; + } + } + } + FUN_140001df0((longlong *)&local_8e8); + puVar5 = local_8e8; + if (local_8e8 == (uint *)0x0) { + puVar5 = (uint *)PTR_DAT_14016f010; + } + pppplVar16 = (longlong ****)(ulonglong)uVar3; + FUN_14003e650(puVar5,local_878,uVar3); + puVar5 = local_8e8; + if (local_8e8 == (uint *)0x0) { + puVar5 = (uint *)PTR_DAT_14016f010; + } + uVar3 = FUN_14003e620((short *)puVar5); + ppppplVar9 = ppppplVar18; + if (0 < (int)uVar3) { + ppppplVar9 = (longlong *****)(ulonglong)uVar3; + } + ppppplVar13 = ppppplVar18; + if ((local_8e8 != (uint *)0x0) && + (ppppplVar13 = (longlong *****)0x0, local_8e8 != (uint *)PTR_DAT_14016f010)) { + ppppplVar13 = (longlong *****)(ulonglong)local_8e8[-2]; + } + if (((int)ppppplVar13 <= (int)ppppplVar9) && (ppppplVar9 = ppppplVar18, local_8e8 != (uint *)0x0)) + { + if (local_8e8 == (uint *)PTR_DAT_14016f010) goto LAB_1400aa6e8; + ppppplVar9 = (longlong *****)(ulonglong)local_8e8[-2]; + } + if (((local_8e8 != (uint *)PTR_DAT_14016f010) && (local_8e8 != (uint *)0x0)) && + (pppplVar16 = (longlong ****)(local_8e8 + -2), pppplVar16 != (longlong ****)0x0)) { + *(uint *)pppplVar16 = (uint)ppppplVar9; + *(undefined2 *)((longlong)local_8e8 + (longlong)(int)(uint)ppppplVar9 * 2) = 0; + } +LAB_1400aa6e8: + if (*(char *)(param_1 + 0x1790) != '\0') { + ppppplVar9 = (longlong *****)(param_1 + 0x1818); + local_8f8 = &local_8e8; + _ArgList = (va_list)local_8e0; + pppplVar16 = (longlong ****)&DAT_140177f90; + ppppplVar13 = (longlong *****)0x1; + (*(code *)(*ppppplVar9)[0x16])(); + } + if (*(int *)(param_1 + 0x6c8) != 0) { + plVar10 = (longlong *)(param_1 + 0x78); + (**(code **)(*plVar10 + 0x10))(); + FUN_14003e7c0(plVar10,ppppplVar13,pppplVar16,_ArgList); + puVar1 = PTR_DAT_14016f010; + local_890 = 2; + local_898 = (uint *)PTR_DAT_14016f010; + puVar5 = (uint *)PTR_DAT_14016f010; + if (local_8e8 != (uint *)PTR_DAT_14016f010) { + piVar6 = (int *)FUN_14003e7c0(plVar10,ppppplVar13,pppplVar16,_ArgList); + piVar11 = piVar6; + local_8a8 = piVar6; + FUN_14003d040(piVar6); + local_8a0 = 1; + if (((puVar1 != (undefined *)0x0) && (puVar1 != PTR_DAT_14016f010)) && + (puVar1 + -8 != (undefined *)0x0)) { + piVar7 = (int *)FUN_14003e7c0(piVar11,ppppplVar13,pppplVar16,_ArgList); + local_8c0 = piVar7; + FUN_14003d040(piVar7); + local_8b8 = 1; + piVar11 = (int *)(puVar1 + -4); + *piVar11 = *piVar11 + -1; + if (*piVar11 == 0) { + FUN_14003e8b0(puVar1 + -8); + } + FUN_14003d0d0((longlong)piVar7); + } + puVar5 = local_8e8; + local_898 = local_8e8; + if (((local_8e8 != (uint *)PTR_DAT_14016f010) && (local_8e8 != (uint *)0x0)) && + (local_8e8 != (uint *)0x8)) { + local_8e8[-1] = local_8e8[-1] + 1; + } + FUN_14003d0d0((longlong)piVar6); + } + _Var8 = _time64((__time64_t *)0x0); + piVar11 = *(int **)(param_1 + 0x17c0); + ppppplVar9 = *(longlong ******)(param_1 + 0x17b0); + local_8c0 = piVar11; + local_888 = _Var8; + if (ppppplVar9 == (longlong *****)0x0) { + ppppplVar9 = (longlong *****)0x28; + piVar6 = (int *)FUN_14003e840(0x28); + } + else { + pppplVar16 = *ppppplVar9; + ppppplVar13 = (longlong *****)0x28; + piVar6 = (int *)(*(code *)pppplVar16[1])(); + } + local_8b0 = piVar6; + local_8a8 = piVar6; + if (piVar6 != (int *)0x0) { + FUN_14003e7c0(ppppplVar9,ppppplVar13,pppplVar16,_ArgList); + puVar1 = PTR_DAT_14016f010; + *(undefined **)(piVar6 + 4) = PTR_DAT_14016f010; + if (puVar1 == (undefined *)0x0) { + *(undefined **)(piVar6 + 4) = PTR_DAT_14016f010; + } + if (puVar5 != *(uint **)(piVar6 + 4)) { + ppppplVar9 = (longlong *****)FUN_14003e7c0(ppppplVar9,ppppplVar13,pppplVar16,_ArgList); + local_8d8 = (longlong ****)ppppplVar9; + FUN_14003d040((int *)ppppplVar9); + local_8d0 = 1; + FUN_140002190((longlong *)(piVar6 + 4),ppppplVar13,pppplVar16,_ArgList); + *(uint **)(piVar6 + 4) = puVar5; + if (((puVar5 != (uint *)PTR_DAT_14016f010) && (puVar5 != (uint *)0x0)) && + (puVar5 != (uint *)0x8)) { + puVar5[-1] = puVar5[-1] + 1; + } + FUN_14003d0d0((longlong)ppppplVar9); + piVar11 = local_8c0; + } + piVar6[6] = 2; + *(__time64_t *)(piVar6 + 8) = _Var8; + } + *(int **)(piVar6 + 2) = piVar11; + piVar6[0] = 0; + piVar6[1] = 0; + *(longlong *)(param_1 + 0x17c8) = *(longlong *)(param_1 + 0x17c8) + 1; + if (*(undefined8 **)(param_1 + 0x17c0) == (undefined8 *)0x0) { + *(int **)(param_1 + 0x17b8) = piVar6; + } + else { + **(undefined8 **)(param_1 + 0x17c0) = piVar6; + } + *(int **)(param_1 + 0x17c0) = piVar6; + if ((ulonglong)*(uint *)(param_1 + 0x6c8) < *(ulonglong *)(param_1 + 0x17c8)) { + ppppplVar13 = &local_8d8; + ppppplVar9 = (longlong *****)(param_1 + 0x17b0); + FUN_1400a9060((longlong *)ppppplVar9,(longlong *)ppppplVar13,pppplVar16,_ArgList); + pppplVar2 = local_8d8; + if ((((longlong *****)local_8d8 != (longlong *****)0x0) && + (local_8d8 != (longlong ****)PTR_DAT_14016f010)) && + (ppppplVar18 = (longlong *****)(local_8d8 + -1), ppppplVar18 != (longlong *****)0x0)) { + ppppplVar9 = (longlong *****)FUN_14003e7c0(ppppplVar9,ppppplVar13,pppplVar16,_ArgList); + local_8d8 = (longlong ****)ppppplVar9; + FUN_14003d040((int *)ppppplVar9); + local_8d0 = 1; + piVar11 = (int *)((longlong)pppplVar2 + -4); + *piVar11 = *piVar11 + -1; + if (*piVar11 == 0) { + FUN_14003e8b0(ppppplVar18); + } + FUN_14003d0d0((longlong)ppppplVar9); + } + } + if (((puVar5 != (uint *)0x0) && (puVar5 != (uint *)PTR_DAT_14016f010)) && + (puVar5 + -2 != (uint *)0x0)) { + ppppplVar9 = (longlong *****)FUN_14003e7c0(ppppplVar9,ppppplVar13,pppplVar16,_ArgList); + local_8d8 = (longlong ****)ppppplVar9; + FUN_14003d040((int *)ppppplVar9); + local_8d0 = 1; + puVar12 = puVar5 + -1; + *puVar12 = *puVar12 - 1; + if (*puVar12 == 0) { + FUN_14003e8b0(puVar5 + -2); + } + FUN_14003d0d0((longlong)ppppplVar9); + } + } + puVar5 = local_8e8; + if (((local_8e8 != (uint *)0x0) && (local_8e8 != (uint *)PTR_DAT_14016f010)) && + (puVar12 = local_8e8 + -2, puVar12 != (uint *)0x0)) { + pppplVar16 = (longlong ****)FUN_14003e7c0(ppppplVar9,ppppplVar13,pppplVar16,_ArgList); + local_8d8 = pppplVar16; + FUN_14003d040((int *)pppplVar16); + local_8d0 = 1; + puVar5 = puVar5 + -1; + *puVar5 = *puVar5 - 1; + if (*puVar5 == 0) { + FUN_14003e8b0(puVar12); + } + FUN_14003d0d0((longlong)pppplVar16); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400aaa10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400aaa10.c new file mode 100644 index 00000000..ffea1ff9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400aaa10.c @@ -0,0 +1,55 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400aaa10 FUN_1400aaa10 + * Pseudocode, not original source. */ + +undefined8 FUN_1400aaa10(longlong param_1,undefined8 param_2,undefined8 param_3,uint *param_4) + +{ + undefined8 *puVar1; + longlong lVar2; + int *piVar3; + longlong *plVar4; + undefined8 uVar5; + longlong **pplVar6; + longlong lVar7; + ulonglong uVar8; + uint *puVar9; + undefined8 uVar10; + longlong *local_res8; + + puVar9 = param_4; + piVar3 = (int *)(**(code **)(**(longlong **)(param_1 + 0x20) + 0x58))(); + FUN_14003d040(piVar3); + uVar8 = (ulonglong)*param_4; + pplVar6 = &local_res8; + plVar4 = FUN_1400a7920(*(longlong **)(param_1 + 0x20),(longlong *)pplVar6,*param_4); + lVar7 = 0; + if ((longlong *)*plVar4 != (longlong *)0x0) { + lVar7 = *(longlong *)*plVar4; + } + if ((local_res8 != (longlong *)0x0) && (local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) { + puVar1 = (undefined8 *)*local_res8; + if (puVar1 != (undefined8 *)0x0) { + pplVar6 = (longlong **)0x0; + (**(code **)*puVar1)(puVar1,1); + } + FUN_14003e8b0(local_res8); + } + if (lVar7 != 0) { + uVar5 = CONCAT71((int7)((ulonglong)pplVar6 >> 8),1); + FUN_1400cf120(lVar7,'\x01'); + *(undefined4 *)(lVar7 + 0x61c) = 0; + uVar10 = (**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x20) + 0x70) + 0x1c0))(); + *(undefined8 *)(lVar7 + 0x620) = uVar10; + *(undefined1 *)(lVar7 + 0x20) = 0; + FUN_1400d1350(lVar7,uVar5,uVar8,puVar9); + lVar2 = *(longlong *)(param_1 + 0x20); + if ((*(char *)(lVar2 + 0x1790) != '\0') || (*(int *)(lVar2 + 0x6c8) != 0)) { + FUN_1400a9f70(lVar2,1,L"Client %d과의 P2P 연결 상태를 완전히 리셋합니다.", + (ulonglong)*(uint *)(lVar7 + 0x56c)); + } + } + uVar5 = FUN_14003d0d0((longlong)piVar3); + return CONCAT71((int7)((ulonglong)uVar5 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400aab40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400aab40.c new file mode 100644 index 00000000..b600ed2c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400aab40.c @@ -0,0 +1,42 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400aab40 FUN_1400aab40 + * Pseudocode, not original source. */ + +undefined8 FUN_1400aab40(longlong param_1,undefined8 param_2,undefined8 param_3,uint *param_4) + +{ + undefined8 *puVar1; + longlong lVar2; + int *piVar3; + longlong *plVar4; + undefined8 uVar5; + longlong lVar6; + longlong *local_res8; + + piVar3 = (int *)(**(code **)(**(longlong **)(param_1 + 0x20) + 0x58))(); + FUN_14003d040(piVar3); + plVar4 = FUN_1400a7920(*(longlong **)(param_1 + 0x20),(longlong *)&local_res8,*param_4); + lVar6 = 0; + if ((longlong *)*plVar4 != (longlong *)0x0) { + lVar6 = *(longlong *)*plVar4; + } + if ((local_res8 != (longlong *)0x0) && (local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) { + puVar1 = (undefined8 *)*local_res8; + if (puVar1 != (undefined8 *)0x0) { + (**(code **)*puVar1)(puVar1,1); + } + FUN_14003e8b0(local_res8); + } + if ((lVar6 != 0) && + ((*(longlong **)(lVar6 + 0x18) == (longlong *)0x0 || (**(longlong **)(lVar6 + 0x18) == 0)))) { + *(undefined1 *)(lVar6 + 0x23) = 1; + lVar2 = *(longlong *)(param_1 + 0x20); + if ((*(char *)(lVar2 + 0x1790) != '\0') || (*(int *)(lVar2 + 0x6c8) != 0)) { + FUN_1400a9f70(lVar2,1,L"Client %d과의 P2P 연결을 요청받았습니다.", + (ulonglong)*(uint *)(lVar6 + 0x56c)); + } + } + uVar5 = FUN_14003d0d0((longlong)piVar3); + return CONCAT71((int7)((ulonglong)uVar5 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400aac40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400aac40.c new file mode 100644 index 00000000..c76f82d1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400aac40.c @@ -0,0 +1,27 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400aac40 FUN_1400aac40 + * Pseudocode, not original source. */ + +void FUN_1400aac40(longlong param_1,undefined8 param_2,wchar_t *param_3,undefined *param_4) + +{ + int *piVar1; + wchar_t *pwVar2; + + pwVar2 = param_3; + piVar1 = (int *)(**(code **)(*(longlong *)(param_1 + -0x78) + 0x58))(param_1 + -0x78); + FUN_14003d040(piVar1); + if ((*(char *)(param_1 + 0x1718) != '\0') || (*(int *)(param_1 + 0x650) != 0)) { + param_4 = *(undefined **)param_3; + if (param_4 == (undefined *)0x0) { + param_4 = PTR_DAT_14016f010; + } + pwVar2 = L"Socket Warning: %s"; + param_2 = 0; + FUN_1400a9f70(param_1 + -0x78,0,L"Socket Warning: %s",param_4); + } + FUN_14003d0d0((longlong)piVar1); + FUN_140002190((longlong *)param_3,param_2,pwVar2,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400aace0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400aace0.c new file mode 100644 index 00000000..546119e2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400aace0.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400aace0 FUN_1400aace0 + * Pseudocode, not original source. */ + +void FUN_1400aace0(longlong *param_1) + +{ + undefined8 *puVar1; + + FUN_1400a91d0(param_1); + puVar1 = (undefined8 *)*param_1; + if (puVar1 != (undefined8 *)0x0) { + (**(code **)*puVar1)(puVar1,1); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400aad10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400aad10.c new file mode 100644 index 00000000..945d5aec --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400aad10.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400aad10 FUN_1400aad10 + * Pseudocode, not original source. */ + +void FUN_1400aad10(longlong *param_1) + +{ + undefined8 *puVar1; + + FUN_1400a93a0(param_1); + puVar1 = (undefined8 *)*param_1; + if (puVar1 != (undefined8 *)0x0) { + (**(code **)*puVar1)(puVar1,1); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400aad40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400aad40.c new file mode 100644 index 00000000..6381c176 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400aad40.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400aad40 FUN_1400aad40 + * Pseudocode, not original source. */ + +void FUN_1400aad40(longlong *param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 *puVar1; + + FUN_1400a9440(param_1,param_2,param_3,param_4); + puVar1 = (undefined8 *)*param_1; + if (puVar1 != (undefined8 *)0x0) { + (**(code **)*puVar1)(puVar1,1); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400aad70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400aad70.c new file mode 100644 index 00000000..a2105e56 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400aad70.c @@ -0,0 +1,114 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400aad70 FUN_1400aad70 + * Pseudocode, not original source. */ + +void FUN_1400aad70(char *param_1) + +{ + LPVOID pvVar1; + longlong *plVar2; + undefined8 *puVar3; + LPVOID pvVar4; + uint uVar5; + ulonglong uVar6; + longlong lVar7; + longlong lVar8; + float fVar9; + float fVar10; + + *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + 1; + FUN_1400c8cb0(param_1); + pvVar4 = *(LPVOID *)(param_1 + 0x10); + while (pvVar4 != (LPVOID)0x0) { + pvVar1 = *(LPVOID *)((longlong)pvVar4 + 0x10); + if ((*(longlong *)((longlong)pvVar4 + 8) != 0) && + (*(longlong *)(*(longlong *)((longlong)pvVar4 + 8) + 8) = + *(longlong *)(*(longlong *)((longlong)pvVar4 + 8) + 8) + -1, + *(longlong *)(*(longlong *)((longlong)pvVar4 + 8) + 8) == 0)) { + plVar2 = *(longlong **)((longlong)pvVar4 + 8); + puVar3 = (undefined8 *)*plVar2; + if (puVar3 != (undefined8 *)0x0) { + (**(code **)*puVar3)(puVar3,1); + } + FUN_14003e8b0(plVar2); + } + plVar2 = *(longlong **)(param_1 + 0x50); + if (plVar2 == (longlong *)0x0) { + FUN_14003e8b0(pvVar4); + } + else { + (**(code **)(*plVar2 + 0x18))(plVar2,pvVar4); + } + *(longlong *)(param_1 + 0x20) = *(longlong *)(param_1 + 0x20) + -1; + pvVar4 = pvVar1; + } + FUN_14003e8b0(*(LPVOID *)(param_1 + 8)); + param_1[8] = '\0'; + param_1[9] = '\0'; + param_1[10] = '\0'; + param_1[0xb] = '\0'; + param_1[0xc] = '\0'; + param_1[0xd] = '\0'; + param_1[0xe] = '\0'; + param_1[0xf] = '\0'; + param_1[0x20] = '\0'; + param_1[0x21] = '\0'; + param_1[0x22] = '\0'; + param_1[0x23] = '\0'; + param_1[0x24] = '\0'; + param_1[0x25] = '\0'; + param_1[0x26] = '\0'; + param_1[0x27] = '\0'; + param_1[0x10] = '\0'; + param_1[0x11] = '\0'; + param_1[0x12] = '\0'; + param_1[0x13] = '\0'; + param_1[0x14] = '\0'; + param_1[0x15] = '\0'; + param_1[0x16] = '\0'; + param_1[0x17] = '\0'; + param_1[0x18] = '\0'; + param_1[0x19] = '\0'; + param_1[0x1a] = '\0'; + param_1[0x1b] = '\0'; + param_1[0x1c] = '\0'; + param_1[0x1d] = '\0'; + param_1[0x1e] = '\0'; + param_1[0x1f] = '\0'; + FUN_1400c8cb0(param_1); + if (*(int *)(param_1 + 0x48) == 0) { + uVar5 = FUN_14009b970((longlong)param_1,*(longlong *)(param_1 + 0x20)); + if (*(LPVOID *)(param_1 + 8) != (LPVOID)0x0) { + FUN_14003e8b0(*(LPVOID *)(param_1 + 8)); + param_1[8] = '\0'; + param_1[9] = '\0'; + param_1[10] = '\0'; + param_1[0xb] = '\0'; + param_1[0xc] = '\0'; + param_1[0xd] = '\0'; + param_1[0xe] = '\0'; + param_1[0xf] = '\0'; + } + lVar7 = 0; + *(uint *)(param_1 + 0x28) = uVar5; + fVar10 = (float)uVar5 * *(float *)(param_1 + 0x34); + if ((9.223372e+18 < fVar10) && (fVar10 = fVar10 - 9.223372e+18, fVar10 < 9.223372e+18)) { + lVar7 = -0x8000000000000000; + } + fVar9 = (float)uVar5 * *(float *)(param_1 + 0x30); + lVar8 = 0; + *(longlong *)(param_1 + 0x38) = (longlong)fVar10 + lVar7; + if ((9.223372e+18 < fVar9) && (fVar9 = fVar9 - 9.223372e+18, fVar9 < 9.223372e+18)) { + lVar8 = -0x8000000000000000; + } + uVar6 = (longlong)fVar9 + lVar8; + if ((ulonglong)((longlong)fVar9 + lVar8) < 0x11) { + uVar6 = 0; + } + *(ulonglong *)(param_1 + 0x40) = uVar6; + } + FUN_1400c8cb0(param_1); + *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + -1; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400aaef0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400aaef0.c new file mode 100644 index 00000000..0a353092 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400aaef0.c @@ -0,0 +1,23 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400aaef0 FUN_1400aaef0 + * Pseudocode, not original source. */ + +undefined2 * FUN_1400aaef0(char *param_1,undefined2 *param_2,uint param_3,undefined4 param_4) + +{ + undefined8 uVar1; + undefined2 *puVar2; + + if (*(longlong *)(param_1 + 8) == 0) { + uVar1 = FUN_14004c640((longlong)param_1,*(uint *)(param_1 + 0x28),'\x01'); + if ((char)uVar1 == '\0') { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x8007000e); + } + } + FUN_1400c8cb0(param_1); + puVar2 = FUN_1400a9690(param_1,param_2,param_3,param_4); + FUN_1400c8cb0(param_1); + return puVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400aaf70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400aaf70.c new file mode 100644 index 00000000..646c9614 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400aaf70.c @@ -0,0 +1,37 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400aaf70 FUN_1400aaf70 + * Pseudocode, not original source. */ + +undefined8 FUN_1400aaf70(longlong param_1,uint param_2) + +{ + undefined8 *puVar1; + int *piVar2; + longlong *plVar3; + undefined8 uVar4; + longlong lVar5; + longlong *local_res8; + longlong local_res20; + + piVar2 = (int *)(**(code **)(**(longlong **)(param_1 + 0x20) + 0x58))(); + FUN_14003d040(piVar2); + plVar3 = FUN_1400a7920(*(longlong **)(param_1 + 0x20),(longlong *)&local_res8,param_2); + lVar5 = 0; + if ((longlong *)*plVar3 != (longlong *)0x0) { + lVar5 = *(longlong *)*plVar3; + } + if ((local_res8 != (longlong *)0x0) && (local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) { + puVar1 = (undefined8 *)*local_res8; + if (puVar1 != (undefined8 *)0x0) { + (**(code **)*puVar1)(puVar1,1); + } + FUN_14003e8b0(local_res8); + } + if ((lVar5 != 0) && (*(char *)(lVar5 + 0x684) == '\0')) { + local_res20 = 0; + FUN_1400a9130((longlong *)(lVar5 + 0x28),&local_res20); + } + uVar4 = FUN_14003d0d0((longlong)piVar2); + return CONCAT71((int7)((ulonglong)uVar4 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ab050.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ab050.c new file mode 100644 index 00000000..8c169bf6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ab050.c @@ -0,0 +1,269 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ab050 FUN_1400ab050 + * Pseudocode, not original source. */ + +void FUN_1400ab050(undefined ***param_1,longlong param_2,undefined8 param_3,longlong param_4, + uint *param_5,uint *param_6) + +{ + int iVar1; + uint uVar2; + uint uVar3; + uint uVar4; + undefined8 *puVar5; + uint *puVar6; + longlong *plVar7; + int *piVar8; + undefined ***pppuVar9; + undefined ***pppuVar10; + undefined ***pppuVar11; + uint *puVar12; + undefined ****ppppuVar13; + longlong lVar14; + longlong lVar15; + uint uVar16; + longlong lVar17; + undefined **ppuVar18; + uint **ppuVar19; + uint uVar20; + ulonglong uVar21; + ulonglong uVar22; + double dVar23; + undefined8 uVar24; + undefined ***local_res10; + undefined **local_c8; + undefined4 local_c0; + undefined2 local_bc; + undefined **local_b8; + undefined8 local_b0; + undefined8 local_a8; + undefined8 local_a0; + undefined8 local_98; + longlong local_90; + undefined4 local_88; + uint *local_80; + undefined4 local_78; + undefined4 local_74; + longlong local_68 [2]; + int *local_58; + undefined1 local_50; + + puVar6 = param_5; + local_68[1] = 0xfffffffffffffffe; + uVar24 = param_3; + lVar15 = param_4; + FUN_14007e740((longlong)param_5,0,param_3,param_4); + uVar21 = (ulonglong)(int)puVar6[6]; + FUN_140093730(&local_90); + local_88 = (undefined4)param_3; + local_80 = puVar6; + lVar17 = 0; + local_78 = 0; + local_74 = *(undefined4 *)((longlong)param_1 + 0x6a4); + plVar7 = &local_90; + puVar12 = param_6; + local_90 = param_2; + puVar5 = FUN_1400941c0(plVar7,param_6,uVar24,lVar15); + iVar1 = (int)puVar5; + if (-1 < iVar1) { + local_c8 = Proud::AddrPort::vftable; + local_c0 = *(undefined4 *)(param_4 + 8); + local_bc = *(undefined2 *)(param_4 + 0xc); + pppuVar9 = &local_c8; + ppppuVar13 = &local_res10; + pppuVar10 = param_1; + plVar7 = FUN_1400a5f70((longlong)param_1,ppppuVar13,(longlong)pppuVar9); + lVar15 = lVar17; + if ((longlong *)*plVar7 != (longlong *)0x0) { + lVar15 = *(longlong *)*plVar7; + } + if (local_res10 != (undefined ***)0x0) { + local_res10[1] = (undefined **)((longlong)local_res10[1] + -1); + pppuVar10 = (undefined ***)local_res10[1]; + if ((undefined ***)local_res10[1] == (undefined ***)0x0) { + if (*local_res10 != (undefined **)0x0) { + ppppuVar13 = (undefined ****)0x1; + (**(code **)**local_res10)(); + } + FUN_14003e8b0(local_res10); + pppuVar10 = local_res10; + } + } + if (iVar1 < 1) { + return; + } + lVar14 = uVar21 * 0x48; + uVar22 = uVar21; + do { + pppuVar11 = (undefined ***)0x0; + if (((longlong)(uVar21 + lVar17) < 0) || ((int)puVar6[6] <= (int)uVar22)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(pppuVar10,ppppuVar13,pppuVar9,0); + } + ppppuVar13 = *(undefined *****)(puVar6 + 4); + *(undefined4 *)(lVar14 + 0x38 + (longlong)ppppuVar13) = *(undefined4 *)(param_4 + 8); + *(undefined2 *)(lVar14 + 0x3c + (longlong)ppppuVar13) = *(undefined2 *)(param_4 + 0xc); + if (lVar15 == 0) { + if (param_1[0x2ae] != (undefined **)0x0) { + pppuVar11 = (undefined ***)*param_1[0x2ae]; + } + pppuVar9 = param_1; + if ((*(int *)(param_4 + 8) == *(int *)(pppuVar11 + 0x1a)) && + (*(short *)(param_4 + 0xc) == *(short *)((longlong)pppuVar11 + 0xd4))) { + *(undefined4 *)(lVar14 + 0x28 + (longlong)ppppuVar13) = 1; + pppuVar11 = param_1; + FUN_14009c110((longlong)param_1); + } + else { + *(undefined4 *)(lVar14 + 0x28 + (longlong)ppppuVar13) = 0; + } + } + else { + *(undefined4 *)(lVar14 + 0x28 + (longlong)ppppuVar13) = *(undefined4 *)(lVar15 + 0x56c); + dVar23 = (double)(*(code *)param_1[0xe][0x38])(param_1 + 0xe); + dVar23 = dVar23 - *(double *)(lVar15 + 0xc0); + if (0.0 < dVar23) { + *(double *)(lVar15 + 0x140) = dVar23; + } + pppuVar11 = param_1 + 0xe; + uVar24 = (*(code *)param_1[0xe][0x38])(); + *(undefined8 *)(lVar15 + 0xc0) = uVar24; + *(int *)(lVar15 + 0x100) = *(int *)(lVar15 + 0x100) + 1; + } + uVar22 = (ulonglong)((int)uVar22 + 1); + lVar17 = lVar17 + 1; + lVar14 = lVar14 + 0x48; + pppuVar10 = pppuVar11; + } while (lVar17 < iVar1); + return; + } + FUN_14003e7c0(plVar7,puVar12,uVar24,lVar15); + param_5 = (uint *)PTR_DAT_14016f010; + uVar2 = FUN_14003e620(L"ExtractMessageFromUdpRecvQueue : addedCount < 0"); + uVar20 = 0; + uVar4 = 0; + uVar21 = 0; + if ((param_5 != (uint *)0x0) && (uVar21 = 0, param_5 != (uint *)PTR_DAT_14016f010)) { + uVar21 = (ulonglong)param_5[-2]; + } + uVar3 = uVar2; + if ((((int)uVar2 <= (int)uVar21) && (uVar3 = uVar4, param_5 != (uint *)0x0)) && + (param_5 != (uint *)PTR_DAT_14016f010)) { + uVar3 = param_5[-2]; + } + uVar16 = 1; + if (1 < (int)uVar3) { + uVar16 = uVar3; + } + uVar3 = uVar4; + if ((param_5 != (uint *)0x0) && (param_5 != (uint *)PTR_DAT_14016f010)) { + uVar3 = param_5[-2]; + } + if ((int)uVar3 < (int)uVar16) { + if (param_5 == (uint *)0x0) { + param_5 = (uint *)PTR_DAT_14016f010; + } + if ((int)uVar16 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar16 == 0) { + FUN_140002190((longlong *)¶m_5,PTR_DAT_14016f010,uVar21,lVar15); + } + else { + uVar3 = uVar4; + if ((param_5 != (uint *)0x0) && (param_5 != (uint *)PTR_DAT_14016f010)) { + uVar3 = param_5[-2]; + } + if (uVar16 != uVar3) { + puVar6 = (uint *)FUN_14003e840((longlong)(int)uVar16 * 2 + 10); + if (puVar6 != (uint *)0x0) { + *puVar6 = 0; + puVar6[1] = 1; + } + *puVar6 = uVar16; + uVar3 = uVar4; + if ((param_5 != (uint *)0x0) && (param_5 != (uint *)PTR_DAT_14016f010)) { + uVar3 = param_5[-2]; + } + puVar12 = (uint *)PTR_DAT_14016f010; + if ((int)uVar16 < (int)uVar3) { +LAB_1400ab1d2: + if (param_5 != (uint *)0x0) { + puVar12 = param_5; + } + } + else { + uVar16 = uVar4; + if (param_5 != (uint *)0x0) { + if (param_5 != (uint *)PTR_DAT_14016f010) { + uVar16 = param_5[-2]; + } + goto LAB_1400ab1d2; + } + } + uVar21 = (ulonglong)uVar16; + FUN_14003e650(puVar6 + 2,puVar12,uVar16); + FUN_140002190((longlong *)¶m_5,puVar12,uVar21,lVar15); + param_5 = puVar6 + 2; + } + } + } + FUN_140001df0((longlong *)¶m_5); + puVar6 = param_5; + if (param_5 == (uint *)0x0) { + puVar6 = (uint *)PTR_DAT_14016f010; + } + FUN_14003e650(puVar6,L"ExtractMessageFromUdpRecvQueue : addedCount < 0",uVar2); + puVar6 = param_5; + if (param_5 == (uint *)0x0) { + puVar6 = (uint *)PTR_DAT_14016f010; + } + uVar4 = FUN_14003e620((short *)puVar6); + uVar2 = uVar20; + if (0 < (int)uVar4) { + uVar2 = uVar4; + } + uVar4 = uVar20; + if ((param_5 != (uint *)0x0) && (param_5 != (uint *)PTR_DAT_14016f010)) { + uVar4 = param_5[-2]; + } + if (((int)uVar4 <= (int)uVar2) && (uVar2 = uVar20, param_5 != (uint *)0x0)) { + if (param_5 == (uint *)PTR_DAT_14016f010) goto LAB_1400ab28a; + uVar2 = param_5[-2]; + } + if (((param_5 != (uint *)PTR_DAT_14016f010) && (param_5 != (uint *)0x0)) && + (param_5 + -2 != (uint *)0x0)) { + param_5[-2] = uVar2; + *(undefined2 *)((longlong)param_5 + (longlong)(int)uVar2 * 2) = 0; + } +LAB_1400ab28a: + local_b0 = 0; + local_a8 = 0; + local_a0 = 0; + local_98 = 0; + local_b8 = Proud::ByteArray::vftable; + ppuVar19 = ¶m_5; + plVar7 = FUN_140071c20(local_68,(ulonglong)*param_6,(ulonglong)*(uint *)(param_1 + 0x2af), + (longlong *)ppuVar19,(longlong)&local_b8); + ppuVar18 = *param_1; + (*(code *)ppuVar18[0x11])(param_1); + pppuVar9 = &local_b8; + FUN_140049e40(pppuVar9); + puVar6 = param_5; + if (((param_5 != (uint *)0x0) && (param_5 != (uint *)PTR_DAT_14016f010)) && + (puVar12 = param_5 + -2, puVar12 != (uint *)0x0)) { + piVar8 = (int *)FUN_14003e7c0(pppuVar9,plVar7,ppuVar18,ppuVar19); + local_58 = piVar8; + FUN_14003d040(piVar8); + local_50 = 1; + puVar6 = puVar6 + -1; + *puVar6 = *puVar6 - 1; + if (*puVar6 == 0) { + FUN_14003e8b0(puVar12); + } + FUN_14003d0d0((longlong)piVar8); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ab500.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ab500.c new file mode 100644 index 00000000..1c0425e8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ab500.c @@ -0,0 +1,185 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ab500 FUN_1400ab500 + * Pseudocode, not original source. */ + +void FUN_1400ab500(longlong *param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong lVar1; + longlong *plVar2; + uint uVar3; + uint uVar4; + uint uVar5; + ulonglong uVar6; + uint *puVar7; + longlong *plVar8; + int *piVar9; + undefined ***pppuVar10; + uint *puVar11; + uint uVar12; + uint uVar13; + undefined8 uVar15; + longlong lVar16; + ulonglong uVar17; + uint **ppuVar18; + uint local_res8 [2]; + uint *local_res18; + longlong local_res20; + undefined **local_50; + undefined8 local_48; + undefined8 local_40; + undefined8 local_38; + undefined8 local_30; + longlong *plVar14; + + FUN_14007e740(param_2,0,param_3,param_4); + (**(code **)(param_1[0xf] + 0x10))(); + plVar14 = (longlong *)0x0; + uVar13 = 0; + if (((longlong *)param_1[699] == (longlong *)0x0) || + (lVar16 = *(longlong *)param_1[699], plVar8 = (longlong *)(lVar16 + -0x40), lVar16 == 0)) { + plVar8 = plVar14; + } + plVar8 = plVar8 + 0x26; + uVar17 = (ulonglong)*(uint *)((longlong)param_1 + 0x6a4); + uVar15 = 1; + uVar6 = FUN_1400947a0(plVar8,param_2,1,uVar17,local_res8); + if (-1 < (int)uVar6) { + return; + } + FUN_14003e7c0(plVar8,param_2,uVar15,uVar17); + local_res18 = (uint *)PTR_DAT_14016f010; + uVar3 = FUN_14003e620(L"Received stream from TCP server became inconsistent!"); + uVar5 = 0; + plVar8 = plVar14; + if ((local_res18 != (uint *)0x0) && + (plVar8 = (longlong *)0x0, local_res18 != (uint *)PTR_DAT_14016f010)) { + plVar8 = (longlong *)(ulonglong)local_res18[-2]; + } + uVar4 = uVar3; + if ((((int)uVar3 <= (int)plVar8) && (uVar4 = uVar5, local_res18 != (uint *)0x0)) && + (local_res18 != (uint *)PTR_DAT_14016f010)) { + uVar4 = local_res18[-2]; + } + uVar12 = 1; + if (1 < (int)uVar4) { + uVar12 = uVar4; + } + uVar4 = uVar5; + if ((local_res18 != (uint *)0x0) && (local_res18 != (uint *)PTR_DAT_14016f010)) { + uVar4 = local_res18[-2]; + } + if ((int)uVar4 < (int)uVar12) { + if (local_res18 == (uint *)0x0) { + local_res18 = (uint *)PTR_DAT_14016f010; + } + if ((int)uVar12 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar12 == 0) { + FUN_140002190((longlong *)&local_res18,PTR_DAT_14016f010,plVar8,uVar17); + } + else { + uVar4 = uVar5; + if ((local_res18 != (uint *)0x0) && (local_res18 != (uint *)PTR_DAT_14016f010)) { + uVar4 = local_res18[-2]; + } + if (uVar12 != uVar4) { + puVar7 = (uint *)FUN_14003e840((longlong)(int)uVar12 * 2 + 10); + if (puVar7 != (uint *)0x0) { + *puVar7 = 0; + puVar7[1] = 1; + } + *puVar7 = uVar12; + uVar4 = uVar5; + if ((local_res18 != (uint *)0x0) && (local_res18 != (uint *)PTR_DAT_14016f010)) { + uVar4 = local_res18[-2]; + } + puVar11 = (uint *)PTR_DAT_14016f010; + if ((int)uVar12 < (int)uVar4) { +LAB_1400ab67b: + if (local_res18 != (uint *)0x0) { + puVar11 = local_res18; + } + } + else { + uVar12 = uVar5; + if (local_res18 != (uint *)0x0) { + if (local_res18 != (uint *)PTR_DAT_14016f010) { + uVar12 = local_res18[-2]; + } + goto LAB_1400ab67b; + } + } + uVar6 = (ulonglong)uVar12; + FUN_14003e650(puVar7 + 2,puVar11,uVar12); + FUN_140002190((longlong *)&local_res18,puVar11,uVar6,uVar17); + local_res18 = puVar7 + 2; + } + } + } + FUN_140001df0((longlong *)&local_res18); + puVar7 = local_res18; + if (local_res18 == (uint *)0x0) { + puVar7 = (uint *)PTR_DAT_14016f010; + } + FUN_14003e650(puVar7,L"Received stream from TCP server became inconsistent!",uVar3); + puVar7 = local_res18; + if (local_res18 == (uint *)0x0) { + puVar7 = (uint *)PTR_DAT_14016f010; + } + uVar5 = FUN_14003e620((short *)puVar7); + uVar3 = uVar13; + if (0 < (int)uVar5) { + uVar3 = uVar5; + } + uVar5 = uVar13; + if ((local_res18 != (uint *)0x0) && (local_res18 != (uint *)PTR_DAT_14016f010)) { + uVar5 = local_res18[-2]; + } + if (((int)uVar5 <= (int)uVar3) && (uVar3 = uVar13, local_res18 != (uint *)0x0)) { + if (local_res18 == (uint *)PTR_DAT_14016f010) goto LAB_1400ab72b; + uVar3 = local_res18[-2]; + } + if (((local_res18 != (uint *)PTR_DAT_14016f010) && (local_res18 != (uint *)0x0)) && + (local_res18 + -2 != (uint *)0x0)) { + local_res18[-2] = uVar3; + *(undefined2 *)((longlong)local_res18 + (longlong)(int)uVar3 * 2) = 0; + } +LAB_1400ab72b: + local_48 = 0; + local_40 = 0; + local_38 = 0; + local_30 = 0; + local_50 = Proud::ByteArray::vftable; + ppuVar18 = &local_res18; + plVar8 = FUN_140071c20(&local_res20,(ulonglong)local_res8[0],1,(longlong *)ppuVar18, + (longlong)&local_50); + lVar16 = *param_1; + (**(code **)(lVar16 + 0x80))(param_1); + pppuVar10 = &local_50; + FUN_140049e40(pppuVar10); + puVar7 = local_res18; + if (((local_res18 != (uint *)0x0) && (local_res18 != (uint *)PTR_DAT_14016f010)) && + (puVar11 = local_res18 + -2, puVar11 != (uint *)0x0)) { + piVar9 = (int *)FUN_14003e7c0(pppuVar10,plVar8,lVar16,ppuVar18); + FUN_14003d040(piVar9); + puVar7 = puVar7 + -1; + *puVar7 = *puVar7 - 1; + if (*puVar7 == 0) { + FUN_14003e8b0(puVar11); + } + FUN_14003d0d0((longlong)piVar9); + } + if ((((longlong *)param_1[699] != (longlong *)0x0) && + (lVar1 = *(longlong *)param_1[699], lVar1 != 0)) && + ((plVar2 = *(longlong **)(lVar1 + 0xe8), plVar2 != (longlong *)0x0 && (*plVar2 != 0)))) { + if (plVar2 != (longlong *)0x0) { + plVar14 = (longlong *)*plVar2; + } + FUN_140043a50(plVar14,plVar8,lVar16,ppuVar18); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ab820.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ab820.c new file mode 100644 index 00000000..37da3729 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ab820.c @@ -0,0 +1,137 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ab820 FUN_1400ab820 + * Pseudocode, not original source. */ + +void FUN_1400ab820(longlong *param_1,undefined8 param_2,SIZE_T param_3,undefined8 param_4) + +{ + int iVar1; + double dVar2; + undefined1 uVar3; + ushort uVar4; + undefined **ppuVar5; + int *piVar6; + undefined8 *puVar7; + longlong *plVar8; + longlong lVar9; + undefined8 uVar10; + longlong lVar11; + wchar_t *pwVar12; + longlong *plVar13; + longlong *local_res8; + undefined **local_88; + undefined8 uStack_80; + undefined4 local_78 [2]; + undefined8 local_70; + undefined1 local_68; + undefined4 local_64; + undefined1 local_60; + undefined1 local_5f; + int local_58 [2]; + longlong local_50; + longlong local_48; + int local_40; + int local_3c; + + FUN_140074fb0(local_58); + FUN_140074a40((longlong)local_58,param_2,param_3,param_4); + FUN_140075110(local_58,0x800,param_3,param_4); + uVar10 = 0; + FUN_140075110(local_58,0,param_3,param_4); + uVar10 = CONCAT71((int7)((ulonglong)uVar10 >> 8),0xc); + piVar6 = local_58; + FUN_140029d80((longlong)piVar6,uVar10,param_3,param_4); + lVar11 = 0; + lVar9 = lVar11; + if ((longlong *)param_1[0x2ae] != (longlong *)0x0) { + lVar9 = *(longlong *)param_1[0x2ae]; + } + local_88 = *(undefined ***)(lVar9 + 8); + uStack_80 = *(undefined8 *)(lVar9 + 0x10); + local_58[1] = 0; + if (local_50 == 0) { + if (local_48 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(piVar6,uVar10,param_3,param_4); + } + } + else if (local_48 == 0) { + if (local_50 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(piVar6,uVar10,param_3,param_4); + } + iVar1 = *(int *)(local_50 + 0x18); + FUN_14002a050(local_50,iVar1 + 0x10,param_3); + lVar9 = lVar11; + if (*(int *)(local_50 + 0x18) != 0) { + lVar9 = *(longlong *)(local_50 + 0x10); + } + puVar7 = (undefined8 *)(lVar9 + iVar1); + goto LAB_1400ab908; + } + lVar9 = (longlong)local_40; + local_40 = local_40 + 0x10; + if ((local_40 < 0) || (local_3c < local_40)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + puVar7 = (undefined8 *)(local_48 + lVar9); +LAB_1400ab908: + *puVar7 = local_88; + puVar7[1] = uStack_80; + FUN_14002a180((longlong)local_58,&local_88,param_3,param_4); + if (((char)param_1[0x2f2] != '\0') || ((int)param_1[0xd9] != 0)) { + lVar9 = lVar11; + if ((longlong *)param_1[0x2ae] != (longlong *)0x0) { + lVar9 = *(longlong *)param_1[0x2ae]; + } + (*(code *)**(undefined8 **)(lVar9 + 200))((undefined8 *)(lVar9 + 200),&local_res8); + pwVar12 = L"Sending ServerHolepunch: %s"; + uVar10 = 1; + plVar8 = param_1; + plVar13 = local_res8; + FUN_1400a9f70((longlong)param_1,1,L"Sending ServerHolepunch: %s",local_res8); + if (((local_res8 != (longlong *)0x0) && (local_res8 != (longlong *)PTR_DAT_14016f010)) && + (local_res8 + -1 != (longlong *)0x0)) { + ppuVar5 = (undefined **)FUN_14003e7c0(plVar8,uVar10,pwVar12,plVar13); + local_88 = ppuVar5; + FUN_14003d040((int *)ppuVar5); + uStack_80 = CONCAT71(uStack_80._1_7_,1); + piVar6 = (int *)((longlong)local_res8 + -4); + *piVar6 = *piVar6 + -1; + if (*piVar6 == 0) { + FUN_14003e8b0(local_res8 + -1); + } + FUN_14003d0d0((longlong)ppuVar5); + } + } + local_78[0] = 5; + local_70 = 0; + local_68 = 1; + local_64 = 0xffffffff; + local_60 = 1; + local_5f = DAT_14016f1cc; + lVar9 = lVar11; + if ((longlong *)param_1[0x2ae] != (longlong *)0x0) { + lVar9 = *(longlong *)param_1[0x2ae]; + } + local_88 = Proud::AddrPort::vftable; + uStack_80 = CONCAT26(uStack_80._6_2_,*(undefined6 *)(lVar9 + 0xd0)); + if (((longlong *)param_1[0x2a4] != (longlong *)0x0) && + (lVar9 = *(longlong *)param_1[0x2a4], lVar9 != 0)) { + lVar11 = lVar9 + -0x40; + } + dVar2 = (double)(**(code **)(param_1[0xe] + 0x1c0))(); + uVar3 = (**(code **)(*param_1 + 0x30))(param_1); + uVar4 = FUN_14008be40(uVar3,1); + FUN_1400d31e0(lVar11,1,(ulonglong)uVar4,(longlong)&local_88,(longlong)local_58,dVar2, + (undefined8 *)local_78); + local_res8 = &local_50; + FUN_14008a320(&local_50); + if ((local_48 != 0) && (local_3c < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400abad0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400abad0.c new file mode 100644 index 00000000..4997da6e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400abad0.c @@ -0,0 +1,68 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400abad0 FUN_1400abad0 + * Pseudocode, not original source. */ + +void FUN_1400abad0(longlong *param_1,undefined8 param_2,SIZE_T param_3,undefined8 param_4) + +{ + longlong *plVar1; + char cVar2; + int *piVar3; + longlong lVar4; + longlong lVar5; + longlong lVar6; + + piVar3 = (int *)(**(code **)(*param_1 + 0x58))(param_1,param_2,param_3,param_4,0xfffffffffffffffe) + ; + FUN_14003d040(piVar3); + if ((((((int)param_1[0xd4] != 2) && ((longlong *)param_1[0x2a4] != (longlong *)0x0)) && + (plVar1 = *(longlong **)param_1[0x2a4], plVar1 != (longlong *)0x0)) && + ((cVar2 = (**(code **)(*plVar1 + 0x10))(), cVar2 == '\0' && + ((longlong *)param_1[0x2ae] != (longlong *)0x0)))) && + ((lVar4 = *(longlong *)param_1[0x2ae], lVar4 != 0 && + ((*(char *)(lVar4 + 0x80) != '\x01' && ((int)param_1[0x2af] != 0)))))) { + plVar1 = (longlong *)param_1[0x2ae]; + lVar4 = 0; + lVar6 = lVar4; + if (plVar1 != (longlong *)0x0) { + lVar6 = *plVar1; + } + if (*(int *)(lVar6 + 0xd0) != 0) { + lVar6 = lVar4; + if (plVar1 != (longlong *)0x0) { + lVar6 = *plVar1; + } + if (*(int *)(lVar6 + 0xd0) != -1) { + lVar6 = lVar4; + if (plVar1 != (longlong *)0x0) { + lVar6 = *plVar1; + } + if (*(double *)(lVar6 + 0x100) != DAT_14016f078) { + lVar6 = lVar4; + if ((longlong *)param_1[0x2ae] != (longlong *)0x0) { + lVar6 = *(longlong *)param_1[0x2ae]; + } + lVar5 = lVar4; + if (param_1[0xbb] != 0) { + lVar5 = *(longlong *)(param_1[0xbb] + 0x38); + } + *(double *)(lVar6 + 0x100) = *(double *)(lVar6 + 0x100) - *(double *)(lVar5 + 0x100); + lVar5 = lVar4; + if ((longlong *)param_1[0x2ae] != (longlong *)0x0) { + lVar5 = *(longlong *)param_1[0x2ae]; + } + if (*(double *)(lVar5 + 0x100) < 0.0) { + if ((longlong *)param_1[0x2ae] != (longlong *)0x0) { + lVar4 = *(longlong *)param_1[0x2ae]; + } + *(undefined8 *)(lVar4 + 0x100) = DAT_14016f080; + FUN_1400ab820(param_1,lVar6,param_3,param_4); + } + } + } + } + } + FUN_14003d0d0((longlong)piVar3); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400abca0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400abca0.c new file mode 100644 index 00000000..96ee0c59 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400abca0.c @@ -0,0 +1,204 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400abca0 FUN_1400abca0 + * Pseudocode, not original source. */ + +void FUN_1400abca0(longlong param_1,longlong param_2,short *param_3,undefined8 param_4) + +{ + longlong *plVar1; + undefined8 *puVar2; + uint uVar3; + uint uVar4; + uint uVar5; + int *piVar6; + uint *puVar7; + longlong *plVar8; + int *piVar9; + longlong *plVar10; + undefined ***pppuVar11; + longlong **pplVar12; + uint *puVar13; + uint uVar14; + ulonglong uVar15; + SIZE_T SVar16; + longlong lVar17; + uint **ppuVar18; + uint uVar19; + uint *local_res8; + longlong *local_res10; + longlong local_res20; + undefined **local_90; + undefined4 local_88; + undefined2 local_84; + int *local_80; + undefined1 local_78; + int *local_70; + undefined1 local_68; + undefined **local_60; + undefined8 local_58; + undefined8 local_50; + undefined8 local_48; + undefined8 local_40; + + plVar1 = (longlong *)(param_1 + -0x88); + piVar6 = (int *)(**(code **)(*plVar1 + 0x58))(plVar1); + local_80 = piVar6; + FUN_14003d040(piVar6); + local_78 = 1; + local_90 = Proud::AddrPort::vftable; + local_88 = *(undefined4 *)(param_2 + 8); + local_84 = *(undefined2 *)(param_2 + 0xc); + pppuVar11 = &local_90; + pplVar12 = &local_res10; + plVar10 = plVar1; + FUN_1400a5f70((longlong)plVar1,pplVar12,(longlong)pppuVar11); + FUN_14003e7c0(plVar10,pplVar12,pppuVar11,param_4); + local_res8 = (uint *)PTR_DAT_14016f010; + uVar3 = FUN_14003e620(param_3); + SVar16 = 0; + uVar19 = 0; + uVar5 = 0; + uVar15 = SVar16; + if ((local_res8 != (uint *)0x0) && (uVar15 = 0, local_res8 != (uint *)PTR_DAT_14016f010)) { + uVar15 = (ulonglong)local_res8[-2]; + } + uVar4 = uVar3; + if ((((int)uVar3 <= (int)uVar15) && (uVar4 = uVar5, local_res8 != (uint *)0x0)) && + (local_res8 != (uint *)PTR_DAT_14016f010)) { + uVar4 = local_res8[-2]; + } + uVar14 = 1; + if (1 < (int)uVar4) { + uVar14 = uVar4; + } + uVar4 = uVar5; + if ((local_res8 != (uint *)0x0) && (local_res8 != (uint *)PTR_DAT_14016f010)) { + uVar4 = local_res8[-2]; + } + if ((int)uVar4 < (int)uVar14) { + if (local_res8 == (uint *)0x0) { + local_res8 = (uint *)PTR_DAT_14016f010; + } + if ((int)uVar14 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar14 == 0) { + FUN_140002190((longlong *)&local_res8,PTR_DAT_14016f010,uVar15,param_4); + } + else { + uVar4 = uVar5; + if ((local_res8 != (uint *)0x0) && (local_res8 != (uint *)PTR_DAT_14016f010)) { + uVar4 = local_res8[-2]; + } + if (uVar14 != uVar4) { + puVar7 = (uint *)FUN_14003e840((longlong)(int)uVar14 * 2 + 10); + if (puVar7 != (uint *)0x0) { + *puVar7 = 0; + puVar7[1] = 1; + } + *puVar7 = uVar14; + uVar4 = uVar5; + if ((local_res8 != (uint *)0x0) && (local_res8 != (uint *)PTR_DAT_14016f010)) { + uVar4 = local_res8[-2]; + } + puVar13 = (uint *)PTR_DAT_14016f010; + if ((int)uVar14 < (int)uVar4) { +LAB_1400abe13: + if (local_res8 != (uint *)0x0) { + puVar13 = local_res8; + } + } + else { + uVar14 = uVar5; + if (local_res8 != (uint *)0x0) { + if (local_res8 != (uint *)PTR_DAT_14016f010) { + uVar14 = local_res8[-2]; + } + goto LAB_1400abe13; + } + } + uVar15 = (ulonglong)uVar14; + FUN_14003e650(puVar7 + 2,puVar13,uVar14); + FUN_140002190((longlong *)&local_res8,puVar13,uVar15,param_4); + local_res8 = puVar7 + 2; + } + } + } + FUN_140001df0((longlong *)&local_res8); + puVar7 = local_res8; + if (local_res8 == (uint *)0x0) { + puVar7 = (uint *)PTR_DAT_14016f010; + } + FUN_14003e650(puVar7,param_3,uVar3); + puVar7 = local_res8; + if (local_res8 == (uint *)0x0) { + puVar7 = (uint *)PTR_DAT_14016f010; + } + uVar5 = FUN_14003e620((short *)puVar7); + plVar10 = local_res10; + uVar3 = uVar19; + if (0 < (int)uVar5) { + uVar3 = uVar5; + } + uVar5 = uVar19; + if ((local_res8 != (uint *)0x0) && (local_res8 != (uint *)PTR_DAT_14016f010)) { + uVar5 = local_res8[-2]; + } + if (((int)uVar5 <= (int)uVar3) && (uVar3 = uVar19, local_res8 != (uint *)0x0)) { + if (local_res8 == (uint *)PTR_DAT_14016f010) goto LAB_1400abec3; + uVar3 = local_res8[-2]; + } + if (((local_res8 != (uint *)PTR_DAT_14016f010) && (local_res8 != (uint *)0x0)) && + (local_res8 + -2 != (uint *)0x0)) { + local_res8[-2] = uVar3; + *(undefined2 *)((longlong)local_res8 + (longlong)(int)uVar3 * 2) = 0; + } +LAB_1400abec3: + if ((local_res10 != (longlong *)0x0) && (*local_res10 != 0)) { + SVar16 = (SIZE_T)*(uint *)(*local_res10 + 0x56c); + } + local_58 = 0; + local_50 = 0; + local_48 = 0; + local_40 = 0; + local_60 = Proud::ByteArray::vftable; + ppuVar18 = &local_res8; + plVar8 = FUN_140071c20(&local_res20,0x1f,SVar16,(longlong *)ppuVar18,(longlong)&local_60); + lVar17 = *plVar1; + (**(code **)(lVar17 + 0x88))(plVar1); + pppuVar11 = &local_60; + FUN_140049e40(pppuVar11); + puVar7 = local_res8; + if (((local_res8 != (uint *)0x0) && (local_res8 != (uint *)PTR_DAT_14016f010)) && + (puVar13 = local_res8 + -2, puVar13 != (uint *)0x0)) { + piVar9 = (int *)FUN_14003e7c0(pppuVar11,plVar8,lVar17,ppuVar18); + local_70 = piVar9; + FUN_14003d040(piVar9); + local_68 = 1; + puVar7 = puVar7 + -1; + *puVar7 = *puVar7 - 1; + if (*puVar7 == 0) { + FUN_14003e8b0(puVar13); + } + FUN_14003d0d0((longlong)piVar9); + local_68 = 0; + } + local_res8 = (uint *)PTR_DAT_14016f010; + if (plVar10 != (longlong *)0x0) { + plVar10 = plVar10 + 1; + *plVar10 = *plVar10 + -1; + piVar6 = local_80; + if (*plVar10 == 0) { + puVar2 = (undefined8 *)*local_res10; + if (puVar2 != (undefined8 *)0x0) { + (**(code **)*puVar2)(puVar2,1); + } + FUN_14003e8b0(local_res10); + piVar6 = local_80; + } + } + FUN_14003d0d0((longlong)piVar6); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400abfe0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400abfe0.c new file mode 100644 index 00000000..ef9f7bc3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400abfe0.c @@ -0,0 +1,273 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400abfe0 FUN_1400abfe0 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x0001400ac3ec) */ +/* WARNING: Removing unreachable block (ram,0x0001400ac3fb) */ +/* WARNING: Removing unreachable block (ram,0x0001400ac400) */ +/* WARNING: Removing unreachable block (ram,0x0001400ac43e) */ +/* WARNING: Removing unreachable block (ram,0x0001400ac410) */ +/* WARNING: Removing unreachable block (ram,0x0001400ac42f) */ +/* WARNING: Removing unreachable block (ram,0x0001400ac421) */ +/* WARNING: Removing unreachable block (ram,0x0001400ac437) */ +/* WARNING: Removing unreachable block (ram,0x0001400ac43c) */ + +undefined8 FUN_1400abfe0(undefined8 *param_1,LPCWSTR param_2,undefined8 param_3,undefined8 param_4) + +{ + int *piVar1; + longlong lVar2; + undefined8 *puVar3; + undefined8 *puVar4; + undefined2 *puVar5; + undefined8 *puVar6; + undefined8 *puVar7; + DWORD DVar8; + BOOL BVar9; + undefined **ppuVar10; + undefined8 *puVar11; + int *piVar12; + int *piVar13; + undefined4 extraout_var; + ulonglong uVar14; + undefined *puVar15; + wchar_t *pwVar16; + undefined4 extraout_var_00; + undefined4 extraout_var_01; + undefined4 extraout_var_02; + longlong *plVar17; + undefined **ppuVar18; + undefined8 uVar19; + undefined2 *lpBuffer; + undefined *puVar20; + undefined8 *puVar21; + undefined8 *puVar22; + undefined *puVar23; + int iVar24; + undefined8 uVar25; + undefined8 uVar26; + undefined8 **lpNumberOfBytesWritten; + undefined8 *local_res8; + LPCWSTR local_res10; + undefined2 local_res18 [4]; + undefined8 *local_res20; + undefined2 *local_118; + undefined8 *local_110; + undefined8 *local_108; + undefined8 *local_100; + undefined8 *local_f8; + int *local_f0; + undefined8 local_e8; + int *local_e0; + undefined1 local_d8; + undefined8 local_d0; + __time64_t local_c8; + longlong local_c0; + undefined *local_b8; + int local_b0; + __time64_t local_a8; + int *local_a0; + undefined1 local_98; + int *local_90; + undefined1 local_88; + undefined8 local_80; + int *local_78; + undefined1 local_70; + undefined *local_68 [5]; + + local_80 = 0xfffffffffffffffe; + local_res8 = param_1; + local_res10 = param_2; + local_e0 = (int *)(**(code **)(param_1[-0xe] + 0x58))(); + FUN_14003d040(local_e0); + puVar6 = local_res8; + local_d8 = 1; + puVar21 = (undefined8 *)0x0; + local_110 = (undefined8 *)0x0; + local_f8 = (undefined8 *)0x0; + local_108 = (undefined8 *)0x0; + local_100 = (undefined8 *)0x0; + lVar2 = param_1[0x2eb]; + puVar3 = puVar21; + puVar4 = puVar21; + puVar11 = local_110; + while (local_110 = puVar11, lVar2 != 0) { + ppuVar18 = local_68; + ppuVar10 = (undefined **)FUN_1400a9060(param_1 + 0x2e8,(longlong *)ppuVar18,param_3,param_4); + plVar17 = (longlong *)0x28; + puVar11 = (undefined8 *)FUN_14003e840(0x28); + local_res8 = puVar11; + local_res20 = puVar11; + if (puVar11 != (undefined8 *)0x0) { + FUN_14003e7c0(plVar17,ppuVar18,param_3,param_4); + puVar11[2] = PTR_DAT_14016f010; + plVar17 = puVar11 + 2; + ppuVar18 = ppuVar10; + FUN_1400020c0(plVar17,(longlong *)ppuVar10,param_3,param_4); + *(undefined4 *)(puVar11 + 3) = *(undefined4 *)(ppuVar10 + 1); + puVar11[4] = ppuVar10[2]; + } + puVar15 = local_68[0]; + puVar11[1] = puVar3; + *puVar11 = 0; + puVar21 = (undefined8 *)((longlong)puVar21 + 1); + puVar22 = puVar11; + puVar7 = puVar11; + if (puVar3 != (undefined8 *)0x0) { + *puVar3 = puVar11; + puVar22 = puVar4; + puVar7 = local_108; + } + local_108 = puVar7; + local_100 = puVar11; + local_f8 = puVar21; + if (((local_68[0] != (undefined *)0x0) && (local_68[0] != PTR_DAT_14016f010)) && + (puVar20 = local_68[0] + -8, puVar20 != (undefined *)0x0)) { + piVar12 = (int *)FUN_14003e7c0(plVar17,ppuVar18,param_3,param_4); + local_90 = piVar12; + FUN_14003d040(piVar12); + local_88 = 1; + piVar13 = (int *)(puVar15 + -4); + *piVar13 = *piVar13 + -1; + if (*piVar13 == 0) { + FUN_14003e8b0(puVar20); + } + FUN_14003d0d0((longlong)piVar12); + local_88 = 0; + } + param_1 = puVar6; + puVar3 = puVar11; + puVar4 = puVar22; + puVar11 = local_110; + lVar2 = puVar6[0x2eb]; + } + FUN_14003d0d0((longlong)local_e0); + local_d8 = 0; + local_f0 = (int *)0x0; + local_e8 = 0; + uVar26 = 0; + uVar19 = 0x40000000; + uVar25 = 1; + piVar13 = CreateFileW(local_res10,0x40000000,1,(LPSECURITY_ATTRIBUTES)0x0,2,0x80,(HANDLE)0x0); + piVar12 = piVar13; + if (piVar13 == (int *)0xffffffffffffffff) { + DVar8 = FUN_140083b60(); + uVar14 = CONCAT44(extraout_var,DVar8); + piVar13 = (int *)0x0; + piVar12 = local_f0; + if ((int)DVar8 < 0) { + while( true ) { + if (puVar21 == (undefined8 *)0x0) { + return uVar14 & 0xffffffffffffff00; + } + if (puVar4 == (undefined8 *)0x0) break; + puVar3 = (undefined8 *)*puVar4; + FUN_140002190(puVar4 + 2,uVar19,uVar25,uVar26); + uVar14 = FUN_14003e8b0(puVar4); + puVar21 = (undefined8 *)((longlong)puVar21 + -1); + puVar4 = puVar3; + } + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + } + local_f0 = piVar12; + local_d0 = 0; + DVar8 = SetFilePointer(piVar13,0,(PLONG)((longlong)&local_d0 + 4),0); + if (DVar8 == 0xffffffff) { + FUN_140083b60(); + } + local_res18[0] = 0xfeff; + lpNumberOfBytesWritten = &local_res8; + uVar14 = 2; + lpBuffer = local_res18; + piVar12 = piVar13; + BVar9 = WriteFile(piVar13,lpBuffer,2,(LPDWORD)lpNumberOfBytesWritten,(LPOVERLAPPED)0x0); + if (BVar9 == 0) { + FUN_140083b60(); + } + puVar15 = FUN_14003e7c0(piVar12,lpBuffer,uVar14,lpNumberOfBytesWritten); + local_118 = (undefined2 *)PTR_DAT_14016f010; + puVar5 = (undefined2 *)PTR_DAT_14016f010; + while (puVar21 != (undefined8 *)0x0) { + FUN_1400a9060((longlong *)&local_110,(longlong *)&local_b8,uVar14,lpNumberOfBytesWritten); + local_c8 = local_a8; + plVar17 = FUN_1400841b0(&local_c8,&local_c0,L"%#c"); + lVar2 = *plVar17; + pwVar16 = FUN_140092390(local_b0); + FUN_140029b80((longlong *)&local_118,L"[%s] [%s] %s\r\n",pwVar16,lVar2); + LOCK(); + piVar13 = (int *)(local_c0 + -8); + iVar24 = *piVar13; + *piVar13 = *piVar13 + -1; + UNLOCK(); + if (iVar24 + -1 < 1) { + (**(code **)(**(longlong **)(local_c0 + -0x18) + 8))(); + } + piVar13 = local_f0; + puVar5 = local_118; + iVar24 = 0; + lpBuffer = (undefined2 *)PTR_DAT_14016f010; + if (local_118 != (undefined2 *)0x0) { + piVar12 = (int *)0x0; + if (local_118 != (undefined2 *)PTR_DAT_14016f010) { + piVar12 = (int *)(ulonglong)*(uint *)(local_118 + -4); + } + iVar24 = (int)piVar12; + lpBuffer = local_118; + } + uVar14 = (ulonglong)(uint)(iVar24 * 2); + lpNumberOfBytesWritten = &local_res20; + piVar12 = local_f0; + BVar9 = WriteFile(local_f0,lpBuffer,iVar24 * 2,(LPDWORD)lpNumberOfBytesWritten,(LPOVERLAPPED)0x0 + ); + puVar15 = (undefined *)CONCAT44(extraout_var_00,BVar9); + if (BVar9 == 0) { + DVar8 = FUN_140083b60(); + puVar15 = (undefined *)CONCAT44(extraout_var_01,DVar8); + } + puVar20 = local_b8; + puVar11 = local_110; + puVar21 = local_f8; + if (((local_b8 != (undefined *)0x0) && (local_b8 != PTR_DAT_14016f010)) && + (puVar23 = local_b8 + -8, puVar23 != (undefined *)0x0)) { + piVar12 = (int *)FUN_14003e7c0(piVar12,lpBuffer,uVar14,lpNumberOfBytesWritten); + local_a0 = piVar12; + FUN_14003d040(piVar12); + local_98 = 1; + piVar1 = (int *)(puVar20 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(puVar23); + } + puVar15 = (undefined *)FUN_14003d0d0((longlong)piVar12); + local_98 = 0; + puVar11 = local_110; + puVar21 = local_f8; + } + } + if (piVar13 != (int *)0x0) { + BVar9 = CloseHandle(piVar13); + puVar15 = (undefined *)CONCAT44(extraout_var_02,BVar9); + local_f0 = (int *)0x0; + piVar12 = piVar13; + } + if (((puVar5 != (undefined2 *)0x0) && (puVar5 != (undefined2 *)PTR_DAT_14016f010)) && + (puVar5 + -4 != (undefined2 *)0x0)) { + piVar12 = (int *)FUN_14003e7c0(piVar12,lpBuffer,uVar14,lpNumberOfBytesWritten); + local_78 = piVar12; + FUN_14003d040(piVar12); + local_70 = 1; + piVar13 = (int *)(puVar5 + -2); + *piVar13 = *piVar13 + -1; + if (*piVar13 == 0) { + FUN_14003e8b0(puVar5 + -4); + } + puVar15 = (undefined *)FUN_14003d0d0((longlong)piVar12); + } + if (puVar11 != (undefined8 *)0x0) { + puVar15 = (undefined *)(**(code **)*puVar11)(puVar11,1); + } + return CONCAT71((int7)((ulonglong)puVar15 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ac480.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ac480.c new file mode 100644 index 00000000..a0598839 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ac480.c @@ -0,0 +1,105 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ac480 FUN_1400ac480 + * Pseudocode, not original source. */ + +/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ + +void FUN_1400ac480(longlong *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined *puVar1; + int *piVar2; + undefined *puVar3; + int iVar4; + longlong *plVar5; + undefined **ppuVar6; + undefined **ppuVar7; + undefined ***pppuVar8; + uint uVar9; + longlong lVar10; + double dVar11; + undefined *local_res8; + longlong local_res10; + undefined **local_50; + undefined4 local_48; + undefined2 local_44; + undefined **local_40; + undefined8 local_38; + undefined8 local_30; + undefined8 local_28; + undefined8 local_20; + + dVar11 = (double)(**(code **)(param_1[0xe] + 0x1c0))(); + if (((((longlong *)param_1[699] != (longlong *)0x0) && + (lVar10 = *(longlong *)param_1[699], lVar10 != 0)) && (lVar10 != 0x40)) && + (_DAT_14016f1b8 < dVar11 - (double)param_1[0x2f4])) { + ppuVar7 = (undefined **)0x0; + ppuVar6 = ppuVar7; + if (lVar10 != 0) { + ppuVar6 = (undefined **)(lVar10 + -0x40); + } + uVar9 = *(uint *)((longlong)ppuVar6 + 0x1a4); + pppuVar8 = (undefined ***)param_1[0x2a4]; + if (((pppuVar8 != (undefined ***)0x0) && (*pppuVar8 != (undefined **)0x0)) && + (*pppuVar8 != (undefined **)0x40)) { + ppuVar6 = ppuVar7; + if ((longlong *)param_1[0x2ae] != (longlong *)0x0) { + ppuVar6 = *(undefined ***)param_1[0x2ae]; + } + local_50 = Proud::AddrPort::vftable; + local_48 = *(undefined4 *)(ppuVar6 + 0x1a); + local_44 = *(undefined2 *)((longlong)ppuVar6 + 0xd4); + if (*pppuVar8 != (undefined **)0x0) { + ppuVar7 = *pppuVar8 + -8; + } + pppuVar8 = &local_50; + ppuVar6 = (undefined **)ppuVar7[0x21]; + iVar4 = FUN_14008caf0((longlong)ppuVar6,(longlong)pppuVar8); + uVar9 = uVar9 + iVar4; + } + if ((double)param_1[0x2f5] == 0.0) { + if (DAT_14016f194 < (int)uVar9) { + param_1[0x2f5] = (longlong)dVar11; + } + } + else if (DAT_14016f194 < (int)uVar9) { + if (_DAT_14016f1b0 < dVar11 - (double)param_1[0x2f5]) { + param_1[0x2f5] = (longlong)dVar11; + FUN_14003e7c0(ppuVar6,pppuVar8,param_3,param_4); + local_res8 = PTR_DAT_14016f010; + FUN_140029b80((longlong *)&local_res8,L"%d bytes in send queue",(ulonglong)uVar9,param_4); + local_38 = 0; + local_30 = 0; + local_28 = 0; + local_20 = 0; + local_40 = Proud::ByteArray::vftable; + ppuVar6 = &local_res8; + plVar5 = FUN_140071c20(&local_res10,0x25,1,(longlong *)ppuVar6,(longlong)&local_40); + lVar10 = *param_1; + (**(code **)(lVar10 + 0x88))(param_1); + pppuVar8 = &local_40; + FUN_140049e40(pppuVar8); + puVar3 = local_res8; + if (((local_res8 != (undefined *)0x0) && (local_res8 != PTR_DAT_14016f010)) && + (puVar1 = local_res8 + -8, puVar1 != (undefined *)0x0)) { + ppuVar6 = (undefined **)FUN_14003e7c0(pppuVar8,plVar5,lVar10,ppuVar6); + local_50 = ppuVar6; + FUN_14003d040((int *)ppuVar6); + local_48 = CONCAT31(local_48._1_3_,1); + piVar2 = (int *)(puVar3 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(puVar1); + } + FUN_14003d0d0((longlong)ppuVar6); + } + } + } + else { + param_1[0x2f5] = 0; + } + param_1[0x2f4] = (longlong)dVar11; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ac6e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ac6e0.c new file mode 100644 index 00000000..132d14e1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ac6e0.c @@ -0,0 +1,39 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ac6e0 FUN_1400ac6e0 + * Pseudocode, not original source. */ + +void FUN_1400ac6e0(longlong param_1,longlong *param_2) + +{ + undefined8 *puVar1; + longlong *plVar2; + + if ((undefined8 *)*param_2 == (undefined8 *)0x0) { + plVar2 = (longlong *)0x0; + } + else { + plVar2 = *(longlong **)*param_2; + } + (**(code **)(*plVar2 + 8))(); + puVar1 = FUN_1400a9310((longlong *)(param_1 + 0x1700),param_2,*(undefined8 *)(param_1 + 0x1710),0) + ; + if (*(undefined8 **)(param_1 + 0x1710) == (undefined8 *)0x0) { + *(undefined8 **)(param_1 + 0x1708) = puVar1; + } + else { + **(undefined8 **)(param_1 + 0x1710) = puVar1; + } + *(undefined8 **)(param_1 + 0x1710) = puVar1; + if ((*param_2 != 0) && + (*(longlong *)(*param_2 + 8) = *(longlong *)(*param_2 + 8) + -1, + *(longlong *)(*param_2 + 8) == 0)) { + plVar2 = (longlong *)*param_2; + puVar1 = (undefined8 *)*plVar2; + if (puVar1 != (undefined8 *)0x0) { + (**(code **)*puVar1)(puVar1,1); + } + FUN_14003e8b0(plVar2); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ac7a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ac7a0.c new file mode 100644 index 00000000..8bfa2663 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ac7a0.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ac7a0 FUN_1400ac7a0 + * Pseudocode, not original source. */ + +ulonglong FUN_1400ac7a0(char *param_1,uint *param_2,char param_3) + +{ + uint uVar1; + uint uVar2; + uint *puVar3; + ulonglong uVar4; + ulonglong uVar5; + undefined8 uVar6; + + uVar1 = *param_2; + uVar2 = *(uint *)(param_1 + 0x28); + uVar5 = (ulonglong)uVar1 / (ulonglong)uVar2; + uVar4 = (ulonglong)uVar1 % (ulonglong)uVar2; + if (*(longlong *)(param_1 + 8) != 0) { + uVar5 = uVar4; + for (puVar3 = *(uint **)(*(longlong *)(param_1 + 8) + uVar4 * 8); + (puVar3 != (uint *)0x0 && + (uVar5 = (ulonglong)puVar3[8] / (ulonglong)uVar2, (uint)uVar4 == puVar3[8] % uVar2)); + puVar3 = *(uint **)(puVar3 + 4)) { + if (*puVar3 == uVar1) { + uVar6 = FUN_1400a9590(param_1,puVar3,param_3); + return CONCAT71((int7)((ulonglong)uVar6 >> 8),1); + } + } + } + return uVar5 & 0xffffffffffffff00; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ac810.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ac810.c new file mode 100644 index 00000000..6adafd49 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ac810.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ac810 FUN_1400ac810 + * Pseudocode, not original source. */ + +void FUN_1400ac810(char *param_1) + +{ + FUN_1400aad70(param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ac830.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ac830.c new file mode 100644 index 00000000..3b8f91dc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ac830.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ac830 FUN_1400ac830 + * Pseudocode, not original source. */ + +ushort * FUN_1400ac830(char *param_1,ushort *param_2) + +{ + ushort uVar1; + ushort *puVar2; + ulonglong uVar3; + undefined2 *puVar4; + uint uVar5; + + uVar1 = *param_2; + uVar3 = (ulonglong)uVar1 % (ulonglong)*(uint *)(param_1 + 0x28); + uVar5 = (uint)uVar3; + if (*(longlong *)(param_1 + 8) != 0) { + for (puVar2 = *(ushort **)(*(longlong *)(param_1 + 8) + uVar3 * 8); + (puVar2 != (ushort *)0x0 && (uVar5 == *(uint *)(puVar2 + 0x10) % *(uint *)(param_1 + 0x28))) + ; puVar2 = *(ushort **)(puVar2 + 8)) { + if (*puVar2 == uVar1) { + return puVar2 + 4; + } + } + } + puVar4 = FUN_1400aaef0(param_1,param_2,uVar5,(uint)uVar1); + return puVar4 + 4; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ac8a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ac8a0.c new file mode 100644 index 00000000..58d3c035 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ac8a0.c @@ -0,0 +1,198 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ac8a0 FUN_1400ac8a0 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x0001400acd4d) */ +/* WARNING: Removing unreachable block (ram,0x0001400acd26) */ +/* WARNING: Removing unreachable block (ram,0x0001400ac989) */ +/* WARNING: Removing unreachable block (ram,0x0001400ac998) */ +/* WARNING: Removing unreachable block (ram,0x0001400aca1e) */ +/* WARNING: Removing unreachable block (ram,0x0001400acd1b) */ +/* WARNING: Removing unreachable block (ram,0x0001400ac9aa) */ +/* WARNING: Removing unreachable block (ram,0x0001400ac9b2) */ +/* WARNING: Removing unreachable block (ram,0x0001400ac9bc) */ +/* WARNING: Removing unreachable block (ram,0x0001400acd2c) */ +/* WARNING: Removing unreachable block (ram,0x0001400aca13) */ + +void FUN_1400ac8a0(longlong *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + uint *puVar1; + undefined8 *puVar2; + ulonglong uVar3; + double dVar4; + longlong *plVar5; + char cVar6; + uint uVar7; + int *piVar8; + longlong *plVar9; + longlong *plVar10; + longlong *plVar11; + longlong *plVar12; + longlong local_res8; + longlong *local_res10; + longlong *local_res18; + + piVar8 = (int *)(**(code **)(*param_1 + 0x58))(param_1,param_2,param_3,param_4,0xfffffffffffffffe) + ; + FUN_14003d040(piVar8); + dVar4 = (double)(**(code **)(param_1[0xe] + 0x1c0))(); + plVar12 = (longlong *)0x0; + plVar10 = plVar12; + if (param_1[0x2e8] != 0) { + plVar10 = (longlong *)param_1[0x2e6]; + } + while (plVar10 != (longlong *)0x0) { + plVar11 = (longlong *)plVar10[1]; + plVar9 = plVar12; + if ((plVar11 != (longlong *)0x0) && (*plVar11 != 0)) { + plVar9 = (longlong *)(*plVar11 + -0x40); + } + if (dVar4 - (double)plVar9[0x29] <= DAT_14016f0e0 + 10.0) { + plVar10 = (longlong *)plVar10[2]; + } + else { + local_res8 = 0; + if (plVar11 != (longlong *)0x0) { + *(longlong *)(plVar10[1] + 8) = plVar11[1] + 1; + local_res8 = plVar10[1]; + } + FUN_1400ac6e0((longlong)param_1,&local_res8); + plVar11 = (longlong *)plVar10[2]; + FUN_1400a9590((char *)(param_1 + 0x2e4),plVar10,'\0'); + plVar10 = plVar11; + } + } + plVar10 = plVar12; + if (param_1[0x2d9] != 0) { + plVar10 = (longlong *)param_1[0x2d7]; + } + while (plVar10 != (longlong *)0x0) { + if (plVar10 == (longlong *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + local_res18 = (longlong *)0x0; + if (plVar10[1] != 0) { + *(longlong *)(plVar10[1] + 8) = *(longlong *)(plVar10[1] + 8) + 1; + local_res18 = (longlong *)plVar10[1]; + } + plVar11 = local_res18; + plVar9 = plVar12; + if (local_res18 != (longlong *)0x0) { + plVar9 = (longlong *)*local_res18; + } + if ((int)plVar9[0xd0] == 0) { + if (plVar10 == (longlong *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + plVar9 = (longlong *)plVar10[2]; + FUN_1400a9590((char *)(param_1 + 0x2d5),plVar10,'\0'); + plVar10 = plVar12; + if (plVar11 != (longlong *)0x0) { + plVar10 = (longlong *)*plVar11; + } + uVar7 = (**(code **)(*plVar10 + 8))(); + uVar3 = (ulonglong)uVar7 % (ulonglong)*(uint *)(param_1 + 0x2cf); + if (param_1[0x2cb] != 0) { + puVar1 = *(uint **)(param_1[0x2cb] + uVar3 * 8); + while( true ) { + if ((puVar1 == (uint *)0x0) || ((uint)uVar3 != puVar1[8] % *(uint *)(param_1 + 0x2cf))) + goto LAB_1400acb6e; + if (*puVar1 == uVar7) break; + puVar1 = *(uint **)(puVar1 + 4); + } + FUN_1400a9590((char *)(param_1 + 0x2ca),puVar1,'\0'); + } + } + else { + plVar9 = plVar12; + if (plVar10 != (longlong *)0x0) { + plVar9 = (longlong *)plVar10[2]; + } + } +LAB_1400acb6e: + plVar5 = local_res18; + plVar10 = plVar9; + if (plVar11 != (longlong *)0x0) { + plVar11 = plVar11 + 1; + *plVar11 = *plVar11 + -1; + if (*plVar11 == 0) { + puVar2 = (undefined8 *)*local_res18; + if (puVar2 != (undefined8 *)0x0) { + (**(code **)*puVar2)(puVar2,1); + } + FUN_14003e8b0(plVar5); + } + } + } + plVar10 = (longlong *)param_1[0x2e1]; + do { + if (plVar10 == (longlong *)0x0) { + FUN_14003d0d0((longlong)piVar8); + return; + } + if (plVar10 == (longlong *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + local_res10 = (longlong *)0x0; + if (plVar10[2] != 0) { + *(longlong *)(plVar10[2] + 8) = *(longlong *)(plVar10[2] + 8) + 1; + local_res10 = (longlong *)plVar10[2]; + } + plVar11 = local_res10; + plVar9 = plVar12; + if (local_res10 != (longlong *)0x0) { + plVar9 = (longlong *)*local_res10; + } + cVar6 = (**(code **)(*plVar9 + 0x10))(); + if (cVar6 == '\0') { +LAB_1400accca: + plVar9 = (longlong *)*plVar10; + } + else { + plVar9 = plVar12; + if (plVar11 != (longlong *)0x0) { + plVar9 = (longlong *)*plVar11; + } + plVar11 = local_res10; + if ((char)plVar9[0x10] != '\0') goto LAB_1400accca; + plVar9 = plVar12; + if (local_res10 != (longlong *)0x0) { + plVar9 = (longlong *)*local_res10; + } + if ((char)plVar9[8] != '\0') goto LAB_1400accca; + plVar9 = (longlong *)*plVar10; + if (plVar10 == (longlong *)param_1[0x2e1]) { + param_1[0x2e1] = (longlong)plVar9; + } + else { + *(longlong **)plVar10[1] = plVar9; + } + if (plVar10 == (longlong *)param_1[0x2e2]) { + param_1[0x2e2] = plVar10[1]; + } + else { + *(longlong *)(*plVar10 + 8) = plVar10[1]; + } + FUN_1400a7390(param_1 + 0x2e0,plVar10); + plVar11 = local_res10; + } + plVar5 = local_res10; + plVar10 = plVar9; + if (plVar11 != (longlong *)0x0) { + plVar11 = plVar11 + 1; + *plVar11 = *plVar11 + -1; + if (*plVar11 == 0) { + puVar2 = (undefined8 *)*local_res10; + if (puVar2 != (undefined8 *)0x0) { + (**(code **)*puVar2)(puVar2,1); + } + FUN_14003e8b0(plVar5); + } + } + } while( true ); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400acd80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400acd80.c new file mode 100644 index 00000000..05333645 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400acd80.c @@ -0,0 +1,523 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400acd80 FUN_1400acd80 + * Pseudocode, not original source. */ + +void FUN_1400acd80(longlong *param_1,int *param_2,byte *param_3,byte *param_4,int *param_5, + int *param_6) + +{ + byte bVar1; + int iVar2; + uint uVar3; + longlong lVar4; + ulonglong uVar5; + undefined8 *puVar6; + undefined8 uVar7; + undefined8 *puVar8; + undefined8 *puVar9; + uint *puVar10; + int *piVar11; + longlong *plVar12; + uint uVar13; + uint uVar14; + undefined4 *puVar15; + undefined4 *puVar16; + uint *puVar17; + uint uVar18; + ulonglong *puVar20; + IMAGE_DOS_HEADER *pIVar21; + uint *puVar22; + uint uVar23; + size_t sVar24; + byte *pbVar25; + byte *pbVar26; + uint **ppuVar27; + undefined8 *local_res10; + byte *local_res18; + byte *local_res20; + undefined8 in_stack_fffffffffffffdd8; + undefined4 uVar28; + uint *local_218; + uint *local_210; + int local_208; + undefined8 local_200; + uint local_1f8; + undefined8 local_1e8; + undefined8 local_1e0; + undefined8 *local_1d8; + undefined8 local_1d0; + undefined8 local_1c8; + longlong local_1b0; + byte *local_188; + undefined1 local_180; + uint *local_178; + ulonglong local_170; + longlong local_168; + longlong local_160; + longlong local_158; + undefined **local_150; + undefined8 local_148; + undefined8 local_140; + undefined8 local_138; + undefined8 local_130; + undefined **local_128; + undefined8 local_120; + undefined8 local_118; + undefined8 local_110; + undefined8 local_108; + undefined **local_100; + undefined8 local_f8; + undefined8 local_f0; + undefined8 local_e8; + undefined8 local_e0; + undefined8 local_c8; + undefined8 **ppuVar19; + + uVar28 = (undefined4)((ulonglong)in_stack_fffffffffffffdd8 >> 0x20); + local_c8 = 0xfffffffffffffffe; + iVar2 = *param_2; + local_res18 = param_3; + local_res20 = param_4; + if (iVar2 != 0) { + if (iVar2 == 1) { + puVar22 = (uint *)(param_2 + 2); + local_1f8 = (int)(*puVar22 + ((int)*puVar22 >> 0x1f & 7U)) >> 3; + local_res10 = (undefined8 *)((ulonglong)local_res10 & 0xffffffffffffff00); + pbVar25 = param_3; + pbVar26 = param_4; + local_218 = puVar22; + local_188 = (byte *)FUN_1400a8e20(param_1,param_2[0xc],param_3,param_4); + (**(code **)(param_1[0xf] + 0x18))(); + iVar2 = 0; + local_200 = (int *)((ulonglong)local_200._4_4_ << 0x20); + puVar10 = (uint *)&local_200; + puVar17 = puVar22; + local_178 = puVar22; + uVar7 = FUN_140075890(puVar22,puVar10,pbVar25,pbVar26); + if ((char)uVar7 != '\0') { + for (; local_208 = iVar2, iVar2 < (int)param_1[9]; iVar2 = iVar2 + 1) { + if ((iVar2 < 0) || ((int)param_1[9] <= iVar2)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(puVar17,puVar10,pbVar25,pbVar26); + } + plVar12 = *(longlong **)(param_1[8] + (longlong)iVar2 * 8); + FUN_140074bb0((int *)local_178,(ulonglong)local_1f8,pbVar25,pbVar26); + *(undefined2 *)(plVar12 + 1) = 0; + puVar10 = puVar22; + pbVar25 = local_188; + bVar1 = (**(code **)(*plVar12 + 0x10))(plVar12); + local_res10 = (undefined8 *)CONCAT71(local_res10._1_7_,(byte)local_res10 | bVar1); + *param_3 = *param_3 | *(byte *)(plVar12 + 1); + puVar17 = (uint *)(ulonglong)*(byte *)((longlong)plVar12 + 9); + *param_4 = *param_4 | *(byte *)((longlong)plVar12 + 9); + if (((bVar1 != 0) && (plVar12 != param_1 + 0x307)) && (plVar12 != param_1 + 0x2fe)) { + *param_5 = *param_5 + 1; + } + } + if ((byte)local_res10 != '\0') { + return; + } + } + FUN_140074bb0((int *)local_178,(ulonglong)local_1f8,pbVar25,pbVar26); + if (param_1[0x2b0] == 0) { + return; + } + *param_6 = *param_6 + 1; + (**(code **)(*(longlong *)param_1[0x2b0] + 0x28)) + ((longlong *)param_1[0x2b0],(ulonglong)local_200 & 0xffffffff); + return; + } + if (iVar2 != 2) { + return; + } + puVar22 = (uint *)(param_2 + 2); + pbVar25 = param_3; + pbVar26 = param_4; + local_218 = puVar22; + lVar4 = FUN_1400a8e20(param_1,param_2[0xc],param_3,param_4); + (**(code **)(param_1[0xf] + 0x18))(); + if (param_1[0x2b0] == 0) { + return; + } + ppuVar19 = &local_res10; + uVar5 = FUN_140075580(puVar22,ppuVar19,pbVar25,pbVar26); + if ((char)uVar5 != '\0') { + uVar3 = *puVar22; + uVar18 = (int)uVar3 >> 0x1f & 7; + ppuVar19 = (undefined8 **)(ulonglong)uVar18; + iVar2 = FUN_14004d230((longlong)puVar22,ppuVar19,pbVar25,pbVar26); + if ((int)local_res10 == iVar2 - ((int)(uVar18 + uVar3) >> 3)) { + *(undefined1 *)(param_1[0x2b0] + 8) = 0; + *(undefined1 *)(param_1[0x2b0] + 9) = 0; + FUN_140049b40((undefined1 *)&local_1e8); + local_1e8 = (undefined **)CONCAT44(param_2[0xc],(undefined4)local_1e8); + local_1e8 = (undefined **)CONCAT71(local_1e8._1_7_,(char)param_2[0x12]); + uVar3 = *puVar22; + uVar18 = (int)uVar3 >> 0x1f & 7; + local_1b0 = lVar4; + lVar4 = FUN_140074b70((longlong)puVar22,(ulonglong)uVar18,pbVar25,pbVar26); + (**(code **)(*(longlong *)param_1[0x2b0] + 0x30)) + ((longlong *)param_1[0x2b0],param_2[0xc],&local_1e8, + lVar4 + ((int)(uVar3 + uVar18) >> 3),CONCAT44(uVar28,(int)local_res10)); + *param_3 = *param_3 | *(byte *)(param_1[0x2b0] + 8); + *param_4 = *param_4 | *(byte *)(param_1[0x2b0] + 9); + *param_5 = *param_5 + 1; + return; + } + } + local_188 = (byte *)FUN_14003e840(0x60); + if (local_188 == (byte *)0x0) { + puVar6 = (undefined8 *)0x0; + } + else { + puVar6 = FUN_140071b80((undefined8 *)local_188,ppuVar19,pbVar25,pbVar26); + } + puVar16 = (undefined4 *)0x0; + FUN_140038300((longlong *)&local_res10,(longlong)puVar6,pbVar25,pbVar26); + puVar15 = puVar16; + if (local_res10 != (undefined8 *)0x0) { + puVar15 = (undefined4 *)local_res10[7]; + } + *puVar15 = 0x1f; + if (local_res10 != (undefined8 *)0x0) { + puVar16 = (undefined4 *)local_res10[7]; + } + FUN_140005dd0((longlong *)(puVar16 + 4),L"Invalid payload size in User Message!",pbVar25,pbVar26 + ); + local_170 = 0; + FUN_14005d770(&local_170,(ulonglong *)&local_res10,pbVar25,pbVar26); + puVar20 = &local_170; + (**(code **)(*param_1 + 0x80))(param_1); + FUN_140038280((longlong *)&local_res10,puVar20,pbVar25,pbVar26); + return; + } + pbVar25 = param_3; + pbVar26 = param_4; + (**(code **)(param_1[0xf] + 0x18))(); + if (param_1[0x2b0] == 0) { + return; + } + local_200 = param_2 + 0x14; + *(undefined1 *)(param_1[0x2b0] + 8) = 0; + *(undefined1 *)(param_1[0x2b0] + 9) = 0; + uVar3 = *local_200 - 1; + if (0x14 < uVar3) { + return; + } + pIVar21 = &IMAGE_DOS_HEADER_140000000; + switch(*local_200) { + case 1: + iVar2 = FUN_14004d1c0((longlong *)(param_2 + 0x28),&IMAGE_DOS_HEADER_140000000,pbVar25,pbVar26); + sVar24 = (size_t)iVar2; + puVar8 = (undefined8 *)FUN_14004d1f0((longlong *)(param_2 + 0x28),pIVar21,pbVar25,pbVar26); + local_1e8 = Proud::CFastArray::vftable; + puVar6 = (undefined8 *)0x0; + local_1e0 = 0; + local_1d8 = (undefined8 *)0x0; + local_1d0 = 0; + local_1c8 = 0; + if (iVar2 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + FUN_14002a050((longlong)&local_1e8,iVar2,(SIZE_T)pbVar25); + puVar9 = local_1d8; + if ((int)local_1d0 == 0) { + puVar9 = puVar6; + } + FUN_140006fb0(puVar9,puVar8,sVar24); + local_1e8 = Proud::ByteArray::vftable; + local_res10 = (undefined8 *)FUN_14003e840(0x60); + puVar9 = puVar6; + if (local_res10 != (undefined8 *)0x0) { + puVar9 = FUN_140071b80(local_res10,puVar8,sVar24,pbVar26); + } + plVar12 = FUN_140038300(&local_158,(longlong)puVar9,sVar24,pbVar26); + if (*plVar12 != 0) { + puVar6 = *(undefined8 **)(*plVar12 + 0x38); + } + puVar8 = &local_1e8; + (**(code **)(*(longlong *)param_1[0x2b0] + 0x38))(); + FUN_140038280(&local_158,puVar6,puVar8,pbVar26); + FUN_140049e40(&local_1e8); + break; + case 2: + FUN_14003e7c0(IMAGE_DOS_HEADER_140000000.e_magic + + (&switchD_1400ad16b::switchdataD_1400ad88c)[(int)uVar3], + &IMAGE_DOS_HEADER_140000000,pbVar25,pbVar26); + local_210 = (uint *)PTR_DAT_14016f010; + uVar18 = FUN_14003e620(&DAT_140131724); + local_res10 = (undefined8 *)CONCAT44(local_res10._4_4_,uVar18); + puVar22 = (uint *)0x0; + uVar23 = 0; + uVar3 = uVar23; + if ((local_210 != (uint *)0x0) && (local_210 != (uint *)PTR_DAT_14016f010)) { + uVar3 = local_210[-2]; + } + uVar13 = uVar18; + if ((((int)uVar18 <= (int)uVar3) && (uVar13 = uVar23, local_210 != (uint *)0x0)) && + (local_210 != (uint *)PTR_DAT_14016f010)) { + uVar13 = local_210[-2]; + } + uVar3 = 1; + if (1 < (int)uVar13) { + uVar3 = uVar13; + } + uVar13 = uVar23; + if ((local_210 != (uint *)0x0) && (local_210 != (uint *)PTR_DAT_14016f010)) { + uVar13 = local_210[-2]; + } + uVar14 = 0; + if ((int)uVar13 < (int)uVar3) { + if (local_210 == (uint *)0x0) { + local_210 = (uint *)PTR_DAT_14016f010; + } + if ((int)uVar3 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar3 == 0) { + FUN_140002190((longlong *)&local_210,PTR_DAT_14016f010,pbVar25,pbVar26); + } + else { + uVar13 = uVar14; + if ((local_210 != (uint *)0x0) && (local_210 != (uint *)PTR_DAT_14016f010)) { + uVar13 = local_210[-2]; + } + if (uVar3 != uVar13) { + puVar10 = (uint *)FUN_14003e840((longlong)(int)uVar3 * 2 + 10); + if (puVar10 != (uint *)0x0) { + *puVar10 = 0; + puVar10[1] = 1; + } + *puVar10 = uVar3; + uVar18 = uVar14; + if ((local_210 != (uint *)0x0) && (local_210 != (uint *)PTR_DAT_14016f010)) { + uVar18 = local_210[-2]; + } + puVar17 = (uint *)PTR_DAT_14016f010; + if ((int)uVar3 < (int)uVar18) { +LAB_1400ad374: + if (local_210 != (uint *)0x0) { + puVar17 = local_210; + } + } + else { + uVar3 = uVar23; + if (local_210 != (uint *)0x0) { + if (local_210 != (uint *)PTR_DAT_14016f010) { + uVar3 = local_210[-2]; + } + goto LAB_1400ad374; + } + } + uVar5 = (ulonglong)uVar3; + FUN_14003e650(puVar10 + 2,puVar17,uVar3); + FUN_140002190((longlong *)&local_210,puVar17,uVar5,pbVar26); + uVar18 = (uint)local_res10; + local_210 = puVar10 + 2; + } + } + } + FUN_140001df0((longlong *)&local_210); + puVar10 = local_210; + if (local_210 == (uint *)0x0) { + puVar10 = (uint *)PTR_DAT_14016f010; + } + FUN_14003e650(puVar10,&DAT_140131724,uVar18); + puVar10 = local_210; + if (local_210 == (uint *)0x0) { + puVar10 = (uint *)PTR_DAT_14016f010; + } + uVar18 = FUN_14003e620((short *)puVar10); + uVar3 = 0; + if (0 < (int)uVar18) { + uVar3 = uVar18; + } + uVar18 = uVar14; + if ((local_210 != (uint *)0x0) && (local_210 != (uint *)PTR_DAT_14016f010)) { + uVar18 = local_210[-2]; + } + if (((int)uVar3 < (int)uVar18) || (uVar3 = uVar14, local_210 == (uint *)0x0)) { +LAB_1400ad418: + if (((local_210 != (uint *)PTR_DAT_14016f010) && (local_210 != (uint *)0x0)) && + (local_210 + -2 != (uint *)0x0)) { + local_210[-2] = uVar3; + *(undefined2 *)((longlong)local_210 + (longlong)(int)uVar3 * 2) = 0; + } + } + else if (local_210 != (uint *)PTR_DAT_14016f010) { + uVar3 = local_210[-2]; + goto LAB_1400ad418; + } + local_120 = 0; + local_118 = 0; + local_110 = 0; + local_108 = 0; + local_128 = Proud::ByteArray::vftable; + puVar10 = puVar22; + if (*(longlong *)(param_2 + 0x16) != 0) { + puVar10 = *(uint **)(*(longlong *)(param_2 + 0x16) + 0x38); + } + ppuVar27 = &local_210; + uVar7 = 1; + uVar5 = (ulonglong)*puVar10; + FUN_140071c20((longlong *)&local_218,uVar5,1,(longlong *)ppuVar27,(longlong)&local_128); + FUN_140049e40(&local_128); + puVar10 = local_210; + if (((local_210 != (uint *)0x0) && (local_210 != (uint *)PTR_DAT_14016f010)) && + (puVar17 = local_210 + -2, puVar17 != (uint *)0x0)) { + piVar11 = (int *)FUN_14003e7c0(PTR_DAT_14016f010,uVar5,uVar7,ppuVar27); + local_180 = 0; + local_188 = (byte *)piVar11; + FUN_14003d040(piVar11); + local_180 = 1; + puVar10 = puVar10 + -1; + *puVar10 = *puVar10 - 1; + if (*puVar10 == 0) { + FUN_14003e8b0(puVar17); + } + FUN_14003d0d0((longlong)piVar11); + param_3 = local_res18; + } + local_210 = (uint *)PTR_DAT_14016f010; + puVar10 = puVar22; + if (local_218 != (uint *)0x0) { + puVar10 = *(uint **)(local_218 + 0xe); + } + puVar10[8] = param_2[0x40]; + *(short *)(puVar10 + 9) = (short)param_2[0x41]; + puVar10 = puVar22; + if (local_218 != (uint *)0x0) { + puVar10 = *(uint **)(local_218 + 0xe); + } + puVar10[2] = param_2[0x42]; + local_1e0 = 0; + local_1d8 = (undefined8 *)0x0; + local_1d0 = 0; + local_1c8 = 0; + local_1e8 = Proud::ByteArray::vftable; + if (*(longlong *)(param_2 + 0x28) != 0) { + uVar3 = *(uint *)(*(longlong *)(param_2 + 0x28) + 0x18); +LAB_1400ad5eb: + if (0 < (int)uVar3) { + /* WARNING: Subroutine does not return */ + FUN_14003def0((ulonglong)uVar3,uVar5,uVar7,ppuVar27); + } + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (*(longlong *)(param_2 + 0x2a) != 0) { + if (*(longlong *)(param_2 + 0x2a) == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(puVar10,uVar5,uVar7,ppuVar27); + } + uVar3 = param_2[0x2c]; + goto LAB_1400ad5eb; + } + if (local_218 != (uint *)0x0) { + puVar22 = *(uint **)(local_218 + 0xe); + } + puVar6 = &local_1e8; + (**(code **)(*(longlong *)param_1[0x2b0] + 0x38))(); + FUN_140049e40(&local_1e8); + FUN_140038280((longlong *)&local_218,puVar22,puVar6,ppuVar27); + break; + case 3: + uVar7 = 0; + if (*(longlong *)(param_2 + 0x16) != 0) { + uVar7 = *(undefined8 *)(*(longlong *)(param_2 + 0x16) + 0x38); + } + (**(code **)(*(longlong *)param_1[0x2b0] + 0x40))((longlong *)param_1[0x2b0],uVar7); + break; + default: + goto switchD_1400ad16b_caseD_4; + case 8: + (**(code **)(*(longlong *)param_1[0x2b0] + 0x48)) + ((longlong *)param_1[0x2b0],param_2[0x2f],param_2[0x2e],param_2[0x3c],param_2 + 0x32); + break; + case 9: + (**(code **)(*(longlong *)param_1[0x2b0] + 0x50)) + ((longlong *)param_1[0x2b0],param_2[0x2f],param_2[0x2e],param_2[0x3c]); + FUN_1400a8c10(param_1,param_2[0x2f]); + break; + case 10: + (**(code **)(*(longlong *)param_1[0x2b0] + 0x58))((longlong *)param_1[0x2b0],param_2[0x30],0); + break; + case 0xb: + puVar16 = (undefined4 *)0x0; + if (*(longlong *)(param_2 + 0x16) != 0) { + puVar16 = *(undefined4 **)(*(longlong *)(param_2 + 0x16) + 0x38); + } + (**(code **)(*(longlong *)param_1[0x2b0] + 0x58)) + ((longlong *)param_1[0x2b0],param_2[0x30],*puVar16); + break; + case 0xd: + if (param_1[0x2b0] != 0) { + puVar16 = (undefined4 *)0x0; + if (*(longlong *)(param_2 + 0x16) != 0) { + puVar16 = *(undefined4 **)(*(longlong *)(param_2 + 0x16) + 0x38); + } + (**(code **)(*(longlong *)param_1[0x2b0] + 0x60))((longlong *)param_1[0x2b0],*puVar16); + } + break; + case 0xe: + (**(code **)(*(longlong *)param_1[0x2b0] + 0x68))(); + break; + case 0x14: + puVar22 = (uint *)0x0; + local_f8 = 0; + local_f0 = 0; + local_e8 = 0; + local_e0 = 0; + local_100 = Proud::ByteArray::vftable; + lVar4 = *(longlong *)(param_2 + 0x16); + puVar17 = puVar22; + puVar10 = puVar22; + if (lVar4 != 0) { + puVar17 = *(uint **)(lVar4 + 0x38); + puVar10 = *(uint **)(lVar4 + 0x38); + } + puVar10 = puVar10 + 4; + uVar5 = (ulonglong)(uint)param_2[0x30]; + plVar12 = FUN_140071c20(&local_160,(ulonglong)*puVar17,uVar5,(longlong *)puVar10, + (longlong)&local_100); + if (*plVar12 != 0) { + puVar22 = *(uint **)(*plVar12 + 0x38); + } + (**(code **)(*(longlong *)param_1[0x2b0] + 8))(); + FUN_140038280(&local_160,puVar22,uVar5,puVar10); + FUN_140049e40(&local_100); + break; + case 0x15: + puVar22 = (uint *)0x0; + local_148 = 0; + local_140 = 0; + local_138 = 0; + local_130 = 0; + local_150 = Proud::ByteArray::vftable; + lVar4 = *(longlong *)(param_2 + 0x16); + puVar17 = puVar22; + puVar10 = puVar22; + if (lVar4 != 0) { + puVar17 = *(uint **)(lVar4 + 0x38); + puVar10 = *(uint **)(lVar4 + 0x38); + } + puVar10 = puVar10 + 4; + uVar5 = (ulonglong)(uint)param_2[0x30]; + plVar12 = FUN_140071c20(&local_168,(ulonglong)*puVar17,uVar5,(longlong *)puVar10, + (longlong)&local_150); + if (*plVar12 != 0) { + puVar22 = *(uint **)(*plVar12 + 0x38); + } + (**(code **)(*(longlong *)param_1[0x2b0] + 0x10))(); + FUN_140038280(&local_168,puVar22,uVar5,puVar10); + FUN_140049e40(&local_150); + } + *param_3 = *(byte *)(param_1[0x2b0] + 8); + *param_4 = *(byte *)(param_1[0x2b0] + 9); + *param_6 = *param_6 + 1; +switchD_1400ad16b_caseD_4: + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ad8e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ad8e0.c new file mode 100644 index 00000000..7d4cdb80 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ad8e0.c @@ -0,0 +1,39 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ad8e0 FUN_1400ad8e0 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x0001400ad9e9) */ +/* WARNING: Removing unreachable block (ram,0x0001400ad963) */ +/* WARNING: Removing unreachable block (ram,0x0001400ad973) */ +/* WARNING: Removing unreachable block (ram,0x0001400ad9f4) */ +/* WARNING: Removing unreachable block (ram,0x0001400ad987) */ +/* WARNING: Removing unreachable block (ram,0x0001400ad98f) */ +/* WARNING: Removing unreachable block (ram,0x0001400ad999) */ + +void FUN_1400ad8e0(longlong param_1) + +{ + LPVOID pvVar1; + LPVOID pvVar2; + longlong local_res8; + + pvVar2 = (LPVOID)0x0; + if (*(longlong *)(param_1 + 0x1740) != 0) { + pvVar2 = *(LPVOID *)(param_1 + 0x1730); + } + while (pvVar2 != (LPVOID)0x0) { + local_res8 = 0; + if (*(longlong *)((longlong)pvVar2 + 8) != 0) { + *(longlong *)(*(longlong *)((longlong)pvVar2 + 8) + 8) = + *(longlong *)(*(longlong *)((longlong)pvVar2 + 8) + 8) + 1; + local_res8 = *(longlong *)((longlong)pvVar2 + 8); + } + FUN_1400ac6e0(param_1,&local_res8); + pvVar1 = *(LPVOID *)((longlong)pvVar2 + 0x10); + FUN_1400a9590((char *)(param_1 + 0x1720),pvVar2,'\0'); + pvVar2 = pvVar1; + } + FUN_1400aad70((char *)(param_1 + 0x1720)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ada30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ada30.c new file mode 100644 index 00000000..81dba110 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ada30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ada30 FUN_1400ada30 + * Pseudocode, not original source. */ + +void FUN_1400ada30(longlong param_1) + +{ + FUN_1400aad70((char *)(param_1 + 0x16a8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ada40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ada40.c new file mode 100644 index 00000000..0f4e6d95 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ada40.c @@ -0,0 +1,28 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ada40 FUN_1400ada40 + * Pseudocode, not original source. */ + +undefined8 FUN_1400ada40(char *param_1,uint *param_2,longlong *param_3) + +{ + uint uVar1; + ulonglong uVar2; + uint *puVar3; + undefined8 uVar4; + + uVar1 = *(uint *)(param_1 + 0x28); + uVar2 = (ulonglong)*param_2 % (ulonglong)uVar1; + if (*(longlong *)(param_1 + 8) != 0) { + for (puVar3 = *(uint **)(*(longlong *)(param_1 + 8) + uVar2 * 8); + (puVar3 != (uint *)0x0 && ((uint)uVar2 == puVar3[8] % uVar1)); + puVar3 = *(uint **)(puVar3 + 4)) { + if (*puVar3 == *param_2) { + return (ulonglong)puVar3[8] / (ulonglong)uVar1 & 0xffffff00; + } + } + } + puVar3 = FUN_1400673e0(param_1,param_2); + uVar4 = FUN_14009d860((longlong *)puVar3,param_3); + return CONCAT71((int7)((ulonglong)uVar4 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400adad0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400adad0.c new file mode 100644 index 00000000..0772bcc1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400adad0.c @@ -0,0 +1,28 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400adad0 FUN_1400adad0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400adad0(char *param_1,ushort *param_2,longlong *param_3) + +{ + uint uVar1; + ulonglong uVar2; + ushort *puVar3; + undefined8 uVar4; + + uVar1 = *(uint *)(param_1 + 0x28); + uVar2 = (ulonglong)*param_2 % (ulonglong)uVar1; + if (*(longlong *)(param_1 + 8) != 0) { + for (puVar3 = *(ushort **)(*(longlong *)(param_1 + 8) + uVar2 * 8); + (puVar3 != (ushort *)0x0 && ((uint)uVar2 == *(uint *)(puVar3 + 0x10) % uVar1)); + puVar3 = *(ushort **)(puVar3 + 8)) { + if (*puVar3 == *param_2) { + return (ulonglong)*(uint *)(puVar3 + 0x10) / (ulonglong)uVar1 & 0xffffff00; + } + } + } + puVar3 = FUN_1400ac830(param_1,param_2); + uVar4 = FUN_14009d860((longlong *)puVar3,param_3); + return CONCAT71((int7)((ulonglong)uVar4 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400adb60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400adb60.c new file mode 100644 index 00000000..c131836b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400adb60.c @@ -0,0 +1,24 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400adb60 FUN_1400adb60 + * Pseudocode, not original source. */ + +void FUN_1400adb60(longlong *param_1) + +{ + undefined8 *puVar1; + void *pvVar2; + + if ((*param_1 != 0) && + (*(longlong *)(*param_1 + 8) = *(longlong *)(*param_1 + 8) + -1, + *(longlong *)(*param_1 + 8) == 0)) { + puVar1 = (undefined8 *)*param_1; + pvVar2 = (void *)*puVar1; + if (pvVar2 != (void *)0x0) { + FUN_14004e270((char *)((longlong)pvVar2 + 8)); + operator_delete(pvVar2); + } + FUN_14003e8b0(puVar1); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400adbd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400adbd0.c new file mode 100644 index 00000000..98c8d09d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400adbd0.c @@ -0,0 +1,35 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400adbd0 FUN_1400adbd0 + * Pseudocode, not original source. */ + +void FUN_1400adbd0(longlong *param_1,longlong *param_2) + +{ + longlong lVar1; + void *pvVar2; + undefined8 *puVar3; + + lVar1 = *param_2; + if (lVar1 != *param_1) { + if (lVar1 != 0) { + *(longlong *)(*param_2 + 8) = *(longlong *)(lVar1 + 8) + 1; + } + puVar3 = (undefined8 *)0x0; + if ((*param_1 != 0) && + (*(longlong *)(*param_1 + 8) = *(longlong *)(*param_1 + 8) + -1, + *(longlong *)(*param_1 + 8) == 0)) { + puVar3 = (undefined8 *)*param_1; + } + *param_1 = *param_2; + if (puVar3 != (undefined8 *)0x0) { + pvVar2 = (void *)*puVar3; + if (pvVar2 != (void *)0x0) { + FUN_14004e270((char *)((longlong)pvVar2 + 8)); + operator_delete(pvVar2); + } + FUN_14003e8b0(puVar3); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400adc60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400adc60.c new file mode 100644 index 00000000..6006f6b2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400adc60.c @@ -0,0 +1,25 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400adc60 FUN_1400adc60 + * Pseudocode, not original source. */ + +void FUN_1400adc60(longlong param_1) + +{ + undefined8 *puVar1; + void *pvVar2; + + if ((*(longlong *)(param_1 + 8) != 0) && + (*(longlong *)(*(longlong *)(param_1 + 8) + 8) = + *(longlong *)(*(longlong *)(param_1 + 8) + 8) + -1, + *(longlong *)(*(longlong *)(param_1 + 8) + 8) == 0)) { + puVar1 = *(undefined8 **)(param_1 + 8); + pvVar2 = (void *)*puVar1; + if (pvVar2 != (void *)0x0) { + FUN_14004e270((char *)((longlong)pvVar2 + 8)); + operator_delete(pvVar2); + } + FUN_14003e8b0(puVar1); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400adcd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400adcd0.c new file mode 100644 index 00000000..ff7740ea --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400adcd0.c @@ -0,0 +1,39 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400adcd0 FUN_1400adcd0 + * Pseudocode, not original source. */ + +void FUN_1400adcd0(longlong param_1,longlong *param_2,undefined8 param_3,undefined *param_4) + +{ + undefined8 *puVar1; + ushort *puVar2; + longlong lVar3; + longlong *plVar4; + undefined8 uVar5; + + if (((longlong *)*param_2 == (longlong *)0x0) || (lVar3 = *(longlong *)*param_2, lVar3 == 0)) { + lVar3 = 0; + } + else { + lVar3 = lVar3 + -0x40; + } + puVar2 = (ushort *)(lVar3 + 0x134); + plVar4 = param_2; + FUN_1400adad0((char *)(param_1 + 0x1720),puVar2,param_2); + *(undefined8 *)(lVar3 + 0x120) = 0; + uVar5 = (**(code **)(*(longlong *)(param_1 + 0x70) + 0x1c0))(); + *(undefined8 *)(lVar3 + 0x148) = uVar5; + FUN_1400d2e80(lVar3,puVar2,plVar4,param_4); + if ((*param_2 != 0) && + (*(longlong *)(*param_2 + 8) = *(longlong *)(*param_2 + 8) + -1, + *(longlong *)(*param_2 + 8) == 0)) { + plVar4 = (longlong *)*param_2; + puVar1 = (undefined8 *)*plVar4; + if (puVar1 != (undefined8 *)0x0) { + (**(code **)*puVar1)(puVar1,1); + } + FUN_14003e8b0(plVar4); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400adda0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400adda0.c new file mode 100644 index 00000000..e4940883 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400adda0.c @@ -0,0 +1,97 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400adda0 FUN_1400adda0 + * Pseudocode, not original source. */ + +ulonglong FUN_1400adda0(longlong param_1,ulonglong *param_2,undefined8 param_3,undefined *param_4) + +{ + uint uVar1; + uint uVar2; + longlong *plVar3; + uint *puVar4; + undefined8 *puVar5; + ulonglong uVar6; + longlong lVar7; + ulonglong uVar8; + longlong lVar9; + longlong local_res8; + ulonglong *local_res10; + longlong local_res18 [2]; + + local_res10 = param_2; + (**(code **)(*(longlong *)(param_1 + 0x78) + 0x10))(); + plVar3 = (longlong *)*param_2; + lVar9 = 0; + lVar7 = lVar9; + if (plVar3 != (longlong *)0x0) { + lVar7 = *plVar3; + } + if ((*(longlong **)(lVar7 + 0x18) != (longlong *)0x0) && (**(longlong **)(lVar7 + 0x18) != 0)) { + lVar7 = lVar9; + if (plVar3 != (longlong *)0x0) { + lVar7 = *plVar3; + } + if (*(char *)(lVar7 + 0x608) == '\0') { + lVar7 = lVar9; + if (plVar3 != (longlong *)0x0) { + lVar7 = *plVar3; + } + local_res18[0] = 0; + FUN_14009d860(local_res18,(longlong *)(lVar7 + 0x18)); + FUN_1400adcd0(param_1,local_res18,param_3,param_4); + } + else { + lVar7 = lVar9; + if (plVar3 != (longlong *)0x0) { + lVar7 = *plVar3; + } + local_res8 = 0; + FUN_14009d860(&local_res8,(longlong *)(lVar7 + 0x18)); + FUN_1400ac6e0(param_1,&local_res8); + } + local_res18[1] = 0; + lVar7 = lVar9; + if ((longlong *)*param_2 != (longlong *)0x0) { + lVar7 = *(longlong *)*param_2; + } + FUN_14009d860((longlong *)(lVar7 + 0x18),local_res18 + 1); + } + lVar7 = lVar9; + if ((longlong *)*param_2 != (longlong *)0x0) { + lVar7 = *(longlong *)*param_2; + } + *(undefined8 *)(lVar7 + 0x670) = 0; + if ((longlong *)*param_2 != (longlong *)0x0) { + lVar9 = *(longlong *)*param_2; + } + uVar1 = *(uint *)(lVar9 + 0x56c); + uVar2 = *(uint *)(param_1 + 0x1678); + uVar8 = (ulonglong)uVar1 / (ulonglong)uVar2; + uVar6 = (ulonglong)uVar1 % (ulonglong)uVar2; + if (*(longlong *)(param_1 + 0x1658) != 0) { + puVar4 = *(uint **)(*(longlong *)(param_1 + 0x1658) + uVar6 * 8); + while( true ) { + if ((puVar4 == (uint *)0x0) || + (uVar8 = (ulonglong)puVar4[8] / (ulonglong)uVar2, (uint)uVar6 != puVar4[8] % uVar2)) + goto LAB_1400adf02; + if (*puVar4 == uVar1) break; + puVar4 = *(uint **)(puVar4 + 4); + } + uVar8 = FUN_1400a9590((char *)(param_1 + 0x1650),puVar4,'\0'); + } +LAB_1400adf02: + if (*param_2 != 0) { + *(longlong *)(*param_2 + 8) = *(longlong *)(*param_2 + 8) + -1; + uVar8 = *param_2; + if (*(longlong *)(uVar8 + 8) == 0) { + plVar3 = (longlong *)*param_2; + puVar5 = (undefined8 *)*plVar3; + if (puVar5 != (undefined8 *)0x0) { + (**(code **)*puVar5)(puVar5,1); + } + uVar8 = FUN_14003e8b0(plVar3); + } + } + return uVar8; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400adf50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400adf50.c new file mode 100644 index 00000000..7f9efb8b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400adf50.c @@ -0,0 +1,110 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400adf50 FUN_1400adf50 + * Pseudocode, not original source. */ + +void FUN_1400adf50(longlong param_1,longlong *param_2,undefined8 param_3,undefined *param_4) + +{ + longlong *plVar1; + undefined8 *puVar2; + longlong lVar3; + longlong lVar4; + longlong local_res8; + longlong *local_res10; + longlong local_res18 [2]; + longlong local_28 [2]; + + local_28[1] = 0xfffffffffffffffe; + local_res10 = param_2; + (**(code **)(*(longlong *)(param_1 + 0x78) + 0x10))(); + plVar1 = (longlong *)*param_2; + lVar4 = 0; + lVar3 = lVar4; + if (plVar1 != (longlong *)0x0) { + lVar3 = *plVar1; + } + if (*(char *)(lVar3 + 0x684) == '\0') { + lVar3 = lVar4; + if (plVar1 != (longlong *)0x0) { + lVar3 = *plVar1; + } + if (*(longlong *)(lVar3 + 0x670) == param_1) { + lVar3 = lVar4; + if (plVar1 != (longlong *)0x0) { + lVar3 = *plVar1; + } + if ((*(longlong **)(lVar3 + 0x18) != (longlong *)0x0) && (**(longlong **)(lVar3 + 0x18) != 0)) + { + lVar3 = lVar4; + if (plVar1 != (longlong *)0x0) { + lVar3 = *plVar1; + } + if (*(char *)(lVar3 + 0x608) == '\0') { + lVar3 = lVar4; + if (plVar1 != (longlong *)0x0) { + lVar3 = *plVar1; + } + local_res18[0] = 0; + FUN_14009d860(local_res18,(longlong *)(lVar3 + 0x18)); + FUN_1400adcd0(param_1,local_res18,param_3,param_4); + } + else { + lVar3 = lVar4; + if (plVar1 != (longlong *)0x0) { + lVar3 = *plVar1; + } + local_res8 = 0; + FUN_14009d860(&local_res8,(longlong *)(lVar3 + 0x18)); + FUN_1400ac6e0(param_1,&local_res8); + } + local_res18[1] = 0; + lVar3 = lVar4; + if ((longlong *)*param_2 != (longlong *)0x0) { + lVar3 = *(longlong *)*param_2; + } + FUN_14009d860((longlong *)(lVar3 + 0x18),local_res18 + 1); + } + lVar3 = lVar4; + if ((longlong *)*param_2 != (longlong *)0x0) { + lVar3 = *(longlong *)*param_2; + } + *(undefined8 *)(lVar3 + 0x670) = 0; + lVar3 = lVar4; + if ((longlong *)*param_2 != (longlong *)0x0) { + lVar3 = *(longlong *)*param_2; + } + *(undefined1 *)(lVar3 + 0x684) = 1; + local_28[0] = 0; + lVar3 = lVar4; + if ((longlong *)*param_2 != (longlong *)0x0) { + lVar3 = *(longlong *)*param_2; + } + FUN_1400a9130((longlong *)(lVar3 + 0x28),local_28); + if ((longlong *)*param_2 != (longlong *)0x0) { + lVar4 = *(longlong *)*param_2; + } + FUN_1400ada40((char *)(param_1 + 0x16a8),(uint *)(lVar4 + 0x56c),param_2); + } + if (*param_2 == 0) { + return; + } + lVar4 = *(longlong *)(*param_2 + 8); + } + else { + if (plVar1 == (longlong *)0x0) { + return; + } + lVar4 = plVar1[1]; + } + *(longlong *)(*param_2 + 8) = lVar4 + -1; + if (*(longlong *)(*param_2 + 8) == 0) { + plVar1 = (longlong *)*param_2; + puVar2 = (undefined8 *)*plVar1; + if (puVar2 != (undefined8 *)0x0) { + (**(code **)*puVar2)(puVar2,1); + } + FUN_14003e8b0(plVar1); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ae130.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ae130.c new file mode 100644 index 00000000..268c0b5d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ae130.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ae130 FUN_1400ae130 + * Pseudocode, not original source. */ + +longlong * FUN_1400ae130(longlong *param_1,longlong *param_2,uint param_3) + +{ + uint *puVar1; + ulonglong uVar2; + int *piVar3; + + piVar3 = (int *)(**(code **)(*param_1 + 0x58))(); + FUN_14003d040(piVar3); + *param_2 = 0; + uVar2 = (ulonglong)param_3 % (ulonglong)*(uint *)(param_1 + 0xc1); + if (param_1[0xbd] != 0) { + puVar1 = *(uint **)(param_1[0xbd] + uVar2 * 8); + while( true ) { + if ((puVar1 == (uint *)0x0) || ((uint)uVar2 != puVar1[8] % *(uint *)(param_1 + 0xc1))) + goto LAB_1400ae1d9; + if (*puVar1 == param_3) break; + puVar1 = *(uint **)(puVar1 + 4); + } + FUN_1400adbd0(param_2,(longlong *)(puVar1 + 2)); + } +LAB_1400ae1d9: + FUN_14003d0d0((longlong)piVar3); + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ae200.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ae200.c new file mode 100644 index 00000000..4b4b9c73 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ae200.c @@ -0,0 +1,78 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ae200 FUN_1400ae200 + * Pseudocode, not original source. */ + +undefined8 FUN_1400ae200(longlong *param_1,uint param_2,longlong *param_3,undefined8 param_4) + +{ + longlong lVar1; + void *pvVar2; + undefined **ppuVar3; + longlong *plVar4; + longlong lVar5; + uint *puVar6; + ulonglong uVar7; + longlong *local_res8; + + (**(code **)(param_1[0xf] + 0x10))(); + uVar7 = (ulonglong)param_2; + FUN_1400ae130(param_1,(longlong *)&local_res8,param_2); + if ((local_res8 == (longlong *)0x0) || (lVar1 = *local_res8, lVar1 == 0)) { + ppuVar3 = FUN_1400a9e20(param_1,param_2,uVar7,param_4); + FUN_14009cf60(param_3,param_3[1],(longlong)ppuVar3); + } + else { + if (*(longlong *)(lVar1 + 0x28) == 0) { + puVar6 = (uint *)0x0; + } + else { + puVar6 = *(uint **)(lVar1 + 0x18); + } + while( true ) { + if (local_res8 == (longlong *)0x0) { + lVar5 = 0; + } + else { + lVar5 = *local_res8; + } + if (puVar6 == (uint *)0x0) break; + ppuVar3 = FUN_1400a9e20(param_1,*puVar6,uVar7,param_4); + lVar5 = param_3[1]; + if (lVar5 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + uVar7 = 0xffffffffffffffff; + FUN_14009ca00(param_3,lVar5 + 1,-1); + if (param_3[1] <= lVar5) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if ((ulonglong)param_3[2] < 0x65) { + plVar4 = param_3 + lVar5 + 4; + } + else { + plVar4 = (longlong *)(*param_3 + lVar5 * 8); + } + *plVar4 = (longlong)ppuVar3; + puVar6 = *(uint **)(puVar6 + 4); + } + if (lVar1 + 8 != lVar5 + 8) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + } + if (local_res8 != (longlong *)0x0) { + local_res8[1] = local_res8[1] + -1; + if (local_res8[1] == 0) { + pvVar2 = (void *)*local_res8; + if (pvVar2 != (void *)0x0) { + FUN_14004e270((char *)((longlong)pvVar2 + 8)); + operator_delete(pvVar2); + } + local_res8 = (longlong *)FUN_14003e8b0(local_res8); + } + } + return CONCAT71((int7)((ulonglong)local_res8 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ae370.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ae370.c new file mode 100644 index 00000000..a931c816 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ae370.c @@ -0,0 +1,73 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ae370 FUN_1400ae370 + * Pseudocode, not original source. */ + +void FUN_1400ae370(longlong *param_1,uint param_2) + +{ + longlong lVar1; + void *pvVar2; + int *piVar3; + longlong *plVar4; + longlong lVar5; + longlong lVar6; + longlong *local_res8; + + piVar3 = (int *)(**(code **)(param_1[-0xe] + 0x58))(param_1 + -0xe); + FUN_14003d040(piVar3); + (**(code **)(*param_1 + 0x100))(param_1); + FUN_1400ae130(param_1 + -0xe,(longlong *)&local_res8,param_2); + if ((local_res8 == (longlong *)0x0) || (lVar1 = *local_res8, lVar1 == 0)) { + (**(code **)(*param_1 + 0xf8))(param_1); + if ((local_res8 != (longlong *)0x0) && (local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) + { + pvVar2 = (void *)*local_res8; + if (pvVar2 != (void *)0x0) { + FUN_14004e270((char *)((longlong)pvVar2 + 8)); + operator_delete(pvVar2); + } + FUN_14003e8b0(local_res8); + } + FUN_14003d0d0((longlong)piVar3); + } + else { + plVar4 = local_res8; + if (*(longlong *)(lVar1 + 0x28) == 0) { + lVar6 = 0; + } + else { + lVar6 = *(longlong *)(lVar1 + 0x18); + } + while( true ) { + if (plVar4 == (longlong *)0x0) { + lVar5 = 0; + } + else { + lVar5 = *plVar4; + } + if (lVar6 == 0) break; + if (*(longlong **)(lVar6 + 8) != (longlong *)0x0) { + (**(code **)(**(longlong **)(lVar6 + 8) + 0x10))(); + plVar4 = local_res8; + } + lVar6 = *(longlong *)(lVar6 + 0x10); + } + if (lVar1 + 8 != lVar5 + 8) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + FUN_140048960((char *)(param_1 + 0x2b6)); + if ((local_res8 != (longlong *)0x0) && (local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) + { + pvVar2 = (void *)*local_res8; + if (pvVar2 != (void *)0x0) { + FUN_14004e270((char *)((longlong)pvVar2 + 8)); + operator_delete(pvVar2); + } + FUN_14003e8b0(local_res8); + } + FUN_14003d0d0((longlong)piVar3); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ae550.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ae550.c new file mode 100644 index 00000000..e9089c05 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ae550.c @@ -0,0 +1,153 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ae550 FUN_1400ae550 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x0001400ae7cb) */ +/* WARNING: Removing unreachable block (ram,0x0001400ae7de) */ +/* WARNING: Removing unreachable block (ram,0x0001400ae6ed) */ +/* WARNING: Removing unreachable block (ram,0x0001400ae7f7) */ +/* WARNING: Removing unreachable block (ram,0x0001400ae7ff) */ +/* WARNING: Removing unreachable block (ram,0x0001400ae809) */ + +longlong FUN_1400ae550(longlong param_1,longlong *param_2) + +{ + longlong *plVar1; + void *pvVar2; + longlong *plVar3; + undefined8 *puVar4; + longlong *plVar5; + longlong lVar6; + longlong lVar7; + longlong lVar8; + longlong lVar9; + longlong lVar10; + longlong lVar11; + longlong lVar12; + undefined *puVar13; + undefined *puVar14; + undefined4 local_res8 [2]; + longlong *local_res10; + longlong local_res18; + longlong *local_res20; + + local_res10 = param_2; + (**(code **)(*(longlong *)(param_1 + 0x78) + 0x10))(); + lVar11 = 0; + lVar10 = lVar11; + if (*(longlong *)(param_1 + 0x600) != 0) { + lVar10 = *(longlong *)(param_1 + 0x5f0); + } + do { + if (lVar10 == 0) { + lVar10 = lVar11; + if ((longlong *)*param_2 != (longlong *)0x0) { + lVar10 = *(longlong *)*param_2; + } + FUN_1400cf120(lVar10,'\x01'); + local_res8[0] = 0x1d; + if ((longlong *)*param_2 != (longlong *)0x0) { + lVar11 = *(longlong *)*param_2; + } + puVar14 = (undefined *)(lVar11 + 0x56c); + puVar13 = &DAT_140177f90; + (**(code **)(*(longlong *)(param_1 + 0x1818) + 0x40)) + ((longlong *)(param_1 + 0x1818),1,&DAT_140177f90,puVar14,local_res8); + if ((*(char *)(param_1 + 0x1790) != '\0') || (*(int *)(param_1 + 0x6c8) != 0)) { + puVar14 = (undefined *)(ulonglong)*(uint *)(param_1 + 0x1578); + puVar13 = &DAT_140120a50; + FUN_1400a9f70(param_1,1, + L"[Client %d]: Client %d로의 P2P 연결 세션이 제거됐습니다.\n", + puVar14); + } + local_res18 = 0; + if (*param_2 != 0) { + *(longlong *)(*param_2 + 8) = *(longlong *)(*param_2 + 8) + 1; + local_res18 = *param_2; + } + FUN_1400adf50(param_1,&local_res18,puVar13,puVar14); + lVar9 = FUN_1400c8cb0((char *)(param_1 + 0x1650)); +LAB_1400ae82e: + if (*param_2 != 0) { + *(longlong *)(*param_2 + 8) = *(longlong *)(*param_2 + 8) + -1; + lVar9 = *param_2; + if (*(longlong *)(lVar9 + 8) == 0) { + plVar3 = (longlong *)*param_2; + puVar4 = (undefined8 *)*plVar3; + if (puVar4 != (undefined8 *)0x0) { + (**(code **)*puVar4)(puVar4,1); + } + lVar9 = FUN_14003e8b0(plVar3); + } + } + return lVar9; + } + local_res20 = (longlong *)0x0; + if (*(longlong *)(lVar10 + 8) != 0) { + *(longlong *)(*(longlong *)(lVar10 + 8) + 8) = + *(longlong *)(*(longlong *)(lVar10 + 8) + 8) + 1; + local_res20 = *(longlong **)(lVar10 + 8); + } + plVar3 = local_res20; + lVar6 = lVar11; + if (local_res20 != (longlong *)0x0) { + lVar6 = *local_res20; + } + lVar9 = lVar11; + if (*(longlong *)(lVar6 + 0x28) != 0) { + lVar9 = *(longlong *)(lVar6 + 0x18); + } + lVar7 = FUN_14004a8f0((longlong *)&local_res20); + while ((lVar12 = lVar9, plVar5 = local_res20, lVar12 != 0 || (lVar6 + 8 != lVar7 + 8))) { + if (lVar12 == 0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + lVar8 = FUN_14004a8f0(param_2); + plVar5 = local_res20; + lVar9 = lVar11; + if (lVar8 != 0) { + lVar9 = lVar8 + 8; + } + if (*(longlong *)(lVar12 + 8) == lVar9) { + if (plVar3 != (longlong *)0x0) { + plVar1 = plVar3 + 1; + *plVar1 = *plVar1 + -1; + lVar9 = plVar3[1]; + if (*plVar1 == 0) { + pvVar2 = (void *)*local_res20; + if (pvVar2 != (void *)0x0) { + FUN_14004e270((char *)((longlong)pvVar2 + 8)); + operator_delete(pvVar2); + } + lVar9 = FUN_14003e8b0(plVar5); + } + } + goto LAB_1400ae82e; + } + lVar9 = lVar11; + if (lVar12 != 0) { + lVar9 = *(longlong *)(lVar12 + 0x10); + } + } + if (plVar3 != (longlong *)0x0) { + plVar3 = plVar3 + 1; + *plVar3 = *plVar3 + -1; + if (*plVar3 == 0) { + pvVar2 = (void *)*local_res20; + if (pvVar2 != (void *)0x0) { + FUN_14004e270((char *)((longlong)pvVar2 + 8)); + operator_delete(pvVar2); + } + FUN_14003e8b0(plVar5); + } + } + if (lVar10 == 0) { + lVar10 = 0; + } + else { + lVar10 = *(longlong *)(lVar10 + 0x10); + } + } while( true ); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ae880.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ae880.c new file mode 100644 index 00000000..0993f2eb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ae880.c @@ -0,0 +1,89 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ae880 FUN_1400ae880 + * Pseudocode, not original source. */ + +void FUN_1400ae880(longlong param_1,uint param_2,longlong param_3) + +{ + undefined4 uVar1; + int iVar2; + longlong lVar3; + void *pvVar4; + int *piVar5; + longlong lVar6; + longlong lVar7; + longlong lVar8; + int iVar9; + undefined4 *puVar10; + ulonglong _Size; + longlong *local_res20; + + FUN_14004cce0(param_3,0,param_3); + piVar5 = (int *)(**(code **)(*(longlong *)(param_1 + -0x70) + 0x58))(param_1 + -0x70); + FUN_14003d040(piVar5); + _Size = (ulonglong)param_2; + FUN_1400ae130((longlong *)(param_1 + -0x70),(longlong *)&local_res20,param_2); + if ((local_res20 != (longlong *)0x0) && (lVar3 = *local_res20, lVar3 != 0)) { + if (*(longlong *)(lVar3 + 0x28) == 0) { + puVar10 = (undefined4 *)0x0; + } + else { + puVar10 = *(undefined4 **)(lVar3 + 0x18); + } + while( true ) { + if (local_res20 == (longlong *)0x0) { + lVar8 = 0; + } + else { + lVar8 = *local_res20; + } + if (puVar10 == (undefined4 *)0x0) break; + uVar1 = *puVar10; + iVar2 = *(int *)(param_3 + 0x18); + lVar8 = (longlong)iVar2; + if (iVar2 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + iVar9 = *(int *)(param_3 + 0x18); + FUN_14004cce0(param_3,iVar9 + 1,_Size); + iVar9 = iVar9 - iVar2; + if (0 < iVar9) { + if (*(int *)(param_3 + 0x18) == 0) { + lVar7 = 0; + lVar6 = 0; + } + else { + lVar7 = *(longlong *)(param_3 + 0x10); + lVar6 = *(longlong *)(param_3 + 0x10); + } + _Size = (longlong)iVar9 << 2; + memmove((void *)(lVar6 + 4 + lVar8 * 4),(void *)(lVar7 + lVar8 * 4),_Size); + } + if (*(int *)(param_3 + 0x18) == 0) { + lVar7 = 0; + } + else { + lVar7 = *(longlong *)(param_3 + 0x10); + } + *(undefined4 *)(lVar7 + lVar8 * 4) = uVar1; + puVar10 = *(undefined4 **)(puVar10 + 4); + } + if (lVar3 + 8 != lVar8 + 8) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + } + if ((local_res20 != (longlong *)0x0) && + (local_res20[1] = local_res20[1] + -1, local_res20[1] == 0)) { + pvVar4 = (void *)*local_res20; + if (pvVar4 != (void *)0x0) { + FUN_14004e270((char *)((longlong)pvVar4 + 8)); + operator_delete(pvVar4); + } + FUN_14003e8b0(local_res20); + } + FUN_14003d0d0((longlong)piVar5); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400aea30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400aea30.c new file mode 100644 index 00000000..70e0af46 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400aea30.c @@ -0,0 +1,105 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400aea30 FUN_1400aea30 + * Pseudocode, not original source. */ + +double FUN_1400aea30(longlong *param_1,uint param_2) + +{ + undefined8 *puVar1; + void *pvVar2; + double dVar3; + int *piVar4; + longlong *plVar5; + longlong lVar6; + longlong lVar7; + undefined4 *puVar8; + double dVar9; + double dVar10; + longlong *local_res8; + longlong *local_res18; + + piVar4 = (int *)(**(code **)(param_1[-0xe] + 0x58))(param_1 + -0xe); + FUN_14003d040(piVar4); + if (param_2 == 1) { + dVar10 = (double)param_1[0x92]; + FUN_14003d0d0((longlong)piVar4); + } + else { + plVar5 = FUN_1400a7920(param_1 + -0xe,(longlong *)&local_res18,param_2); + lVar7 = 0; + if ((longlong *)*plVar5 != (longlong *)0x0) { + lVar7 = *(longlong *)*plVar5; + } + if ((local_res18 != (longlong *)0x0) && + (local_res18[1] = local_res18[1] + -1, local_res18[1] == 0)) { + puVar1 = (undefined8 *)*local_res18; + if (puVar1 != (undefined8 *)0x0) { + (**(code **)*puVar1)(puVar1,1); + } + FUN_14003e8b0(local_res18); + } + if (lVar7 == 0) { + FUN_1400ae130(param_1 + -0xe,(longlong *)&local_res8,param_2); + if ((local_res8 != (longlong *)0x0) && (lVar7 = *local_res8, lVar7 != 0)) { + dVar10 = 0.0; + dVar3 = dVar10; + if (*(longlong *)(lVar7 + 0x28) == 0) { + puVar8 = (undefined4 *)0x0; + } + else { + puVar8 = *(undefined4 **)(lVar7 + 0x18); + } + while( true ) { + if (local_res8 == (longlong *)0x0) { + lVar6 = 0; + } + else { + lVar6 = *local_res8; + } + if (puVar8 == (undefined4 *)0x0) break; + dVar9 = (double)(**(code **)(*param_1 + 0x120))(param_1,*puVar8); + if (0.0 <= dVar9) { + dVar3 = dVar3 + 1.0; + dVar10 = dVar10 + dVar9; + } + puVar8 = *(undefined4 **)(puVar8 + 4); + } + if (lVar7 + 8 != lVar6 + 8) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + if (0.0 < dVar3) { + if ((local_res8 != (longlong *)0x0) && + (local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) { + pvVar2 = (void *)*local_res8; + if (pvVar2 != (void *)0x0) { + FUN_14004e270((char *)((longlong)pvVar2 + 8)); + operator_delete(pvVar2); + } + FUN_14003e8b0(local_res8); + } + FUN_14003d0d0((longlong)piVar4); + return dVar10 / dVar3; + } + } + if ((local_res8 != (longlong *)0x0) && + (local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) { + pvVar2 = (void *)*local_res8; + if (pvVar2 != (void *)0x0) { + FUN_14004e270((char *)((longlong)pvVar2 + 8)); + operator_delete(pvVar2); + } + FUN_14003e8b0(local_res8); + } + FUN_14003d0d0((longlong)piVar4); + dVar10 = -1.0; + } + else { + *(undefined1 *)(lVar7 + 0x21) = 1; + dVar10 = *(double *)(lVar7 + 0x158); + FUN_14003d0d0((longlong)piVar4); + } + } + return dVar10; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400aecd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400aecd0.c new file mode 100644 index 00000000..ca9841d2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400aecd0.c @@ -0,0 +1,105 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400aecd0 FUN_1400aecd0 + * Pseudocode, not original source. */ + +double FUN_1400aecd0(longlong *param_1,uint param_2) + +{ + undefined8 *puVar1; + void *pvVar2; + double dVar3; + int *piVar4; + longlong *plVar5; + longlong lVar6; + longlong lVar7; + undefined4 *puVar8; + double dVar9; + double dVar10; + longlong *local_res8; + longlong *local_res18; + + piVar4 = (int *)(**(code **)(param_1[-0xe] + 0x58))(param_1 + -0xe); + FUN_14003d040(piVar4); + if (param_2 == 1) { + dVar10 = (double)param_1[0x91]; + FUN_14003d0d0((longlong)piVar4); + } + else { + plVar5 = FUN_1400a7920(param_1 + -0xe,(longlong *)&local_res18,param_2); + lVar7 = 0; + if ((longlong *)*plVar5 != (longlong *)0x0) { + lVar7 = *(longlong *)*plVar5; + } + if ((local_res18 != (longlong *)0x0) && + (local_res18[1] = local_res18[1] + -1, local_res18[1] == 0)) { + puVar1 = (undefined8 *)*local_res18; + if (puVar1 != (undefined8 *)0x0) { + (**(code **)*puVar1)(puVar1,1); + } + FUN_14003e8b0(local_res18); + } + if (lVar7 == 0) { + FUN_1400ae130(param_1 + -0xe,(longlong *)&local_res8,param_2); + if ((local_res8 != (longlong *)0x0) && (lVar7 = *local_res8, lVar7 != 0)) { + dVar10 = 0.0; + dVar3 = dVar10; + if (*(longlong *)(lVar7 + 0x28) == 0) { + puVar8 = (undefined4 *)0x0; + } + else { + puVar8 = *(undefined4 **)(lVar7 + 0x18); + } + while( true ) { + if (local_res8 == (longlong *)0x0) { + lVar6 = 0; + } + else { + lVar6 = *local_res8; + } + if (puVar8 == (undefined4 *)0x0) break; + dVar9 = (double)(**(code **)(*param_1 + 0x128))(param_1,*puVar8); + if (0.0 <= dVar9) { + dVar3 = dVar3 + 1.0; + dVar10 = dVar10 + dVar9; + } + puVar8 = *(undefined4 **)(puVar8 + 4); + } + if (lVar7 + 8 != lVar6 + 8) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + if (0.0 < dVar3) { + if ((local_res8 != (longlong *)0x0) && + (local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) { + pvVar2 = (void *)*local_res8; + if (pvVar2 != (void *)0x0) { + FUN_14004e270((char *)((longlong)pvVar2 + 8)); + operator_delete(pvVar2); + } + FUN_14003e8b0(local_res8); + } + FUN_14003d0d0((longlong)piVar4); + return dVar10 / dVar3; + } + } + if ((local_res8 != (longlong *)0x0) && + (local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) { + pvVar2 = (void *)*local_res8; + if (pvVar2 != (void *)0x0) { + FUN_14004e270((char *)((longlong)pvVar2 + 8)); + operator_delete(pvVar2); + } + FUN_14003e8b0(local_res8); + } + FUN_14003d0d0((longlong)piVar4); + dVar10 = -1.0; + } + else { + *(undefined1 *)(lVar7 + 0x21) = 1; + dVar10 = *(double *)(lVar7 + 0x50); + FUN_14003d0d0((longlong)piVar4); + } + } + return dVar10; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400aef70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400aef70.c new file mode 100644 index 00000000..dc93e07a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400aef70.c @@ -0,0 +1,31 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400aef70 FUN_1400aef70 + * Pseudocode, not original source. */ + +void FUN_1400aef70(char *param_1,LPVOID param_2,char param_3) + +{ + longlong *plVar1; + uint uVar2; + + if (param_2 == (LPVOID)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + FUN_1400adc60((longlong)param_2); + plVar1 = *(longlong **)(param_1 + 0x50); + if (plVar1 == (longlong *)0x0) { + FUN_14003e8b0(param_2); + } + else { + (**(code **)(*plVar1 + 0x18))(plVar1,param_2); + } + *(longlong *)(param_1 + 0x20) = *(longlong *)(param_1 + 0x20) + -1; + if (((param_3 != '\0') && (*(ulonglong *)(param_1 + 0x20) < *(ulonglong *)(param_1 + 0x40))) && + (*(int *)(param_1 + 0x48) == 0)) { + uVar2 = FUN_14009b970((longlong)param_1,*(ulonglong *)(param_1 + 0x20)); + FUN_1400c8de0(param_1,uVar2); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400af000.c b/decomp/AgentManager_Release_x64/full/functions/0x1400af000.c new file mode 100644 index 00000000..133dc9ed --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400af000.c @@ -0,0 +1,70 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400af000 FUN_1400af000 + * Pseudocode, not original source. */ + +void FUN_1400af000(char *param_1,LPVOID param_2,char param_3) + +{ + uint uVar1; + ulonglong uVar2; + uint uVar3; + + if (param_2 == (LPVOID)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + uVar1 = *(uint *)(param_1 + 0x28); + uVar2 = (ulonglong)*(uint *)((longlong)param_2 + 0x20) % (ulonglong)uVar1; + if (*(longlong *)(param_1 + 0x20) == 1) { + *(undefined8 *)(*(longlong *)(param_1 + 8) + uVar2 * 8) = 0; + param_1[0x10] = '\0'; + param_1[0x11] = '\0'; + param_1[0x12] = '\0'; + param_1[0x13] = '\0'; + param_1[0x14] = '\0'; + param_1[0x15] = '\0'; + param_1[0x16] = '\0'; + param_1[0x17] = '\0'; + param_1[0x18] = '\0'; + param_1[0x19] = '\0'; + param_1[0x1a] = '\0'; + param_1[0x1b] = '\0'; + param_1[0x1c] = '\0'; + param_1[0x1d] = '\0'; + param_1[0x1e] = '\0'; + param_1[0x1f] = '\0'; + } + else { + uVar3 = (uint)uVar2; + if (((*(longlong *)((longlong)param_2 + 0x18) == 0) || + (*(uint *)(*(longlong *)((longlong)param_2 + 0x18) + 0x20) % uVar1 != uVar3)) && + ((*(longlong *)((longlong)param_2 + 0x10) == 0 || + (*(uint *)(*(longlong *)((longlong)param_2 + 0x10) + 0x20) % uVar1 != uVar3)))) { + *(undefined8 *)(*(longlong *)(param_1 + 8) + uVar2 * 8) = 0; + } + else if (param_2 == *(LPVOID *)(*(longlong *)(param_1 + 8) + (longlong)(int)uVar3 * 8)) { + *(undefined8 *)(*(longlong *)(param_1 + 8) + uVar2 * 8) = + *(undefined8 *)((longlong)param_2 + 0x10); + } + if (param_2 == *(LPVOID *)(param_1 + 0x10)) { + *(undefined8 *)(param_1 + 0x10) = *(undefined8 *)((longlong)param_2 + 0x10); + *(undefined8 *)((longlong)param_2 + 0x18) = 0; + } + if (param_2 == *(LPVOID *)(param_1 + 0x18)) { + *(undefined8 *)(param_1 + 0x18) = *(undefined8 *)((longlong)param_2 + 0x18); + *(undefined8 *)((longlong)param_2 + 0x10) = 0; + } + if (*(longlong *)((longlong)param_2 + 0x18) != 0) { + *(undefined8 *)(*(longlong *)((longlong)param_2 + 0x18) + 0x10) = + *(undefined8 *)((longlong)param_2 + 0x10); + } + if (*(longlong *)((longlong)param_2 + 0x10) != 0) { + *(undefined8 *)(*(longlong *)((longlong)param_2 + 0x10) + 0x18) = + *(undefined8 *)((longlong)param_2 + 0x18); + } + } + FUN_1400aef70(param_1,param_2,param_3); + FUN_1400c8cb0(param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400af100.c b/decomp/AgentManager_Release_x64/full/functions/0x1400af100.c new file mode 100644 index 00000000..f81690f7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400af100.c @@ -0,0 +1,777 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400af100 FUN_1400af100 + * Pseudocode, not original source. */ + +/* WARNING: Function: __chkstk replaced with injection: alloca_probe */ +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* WARNING: Removing unreachable block (ram,0x0001400af840) */ +/* WARNING: Removing unreachable block (ram,0x0001400af84c) */ +/* WARNING: Removing unreachable block (ram,0x0001400af844) */ +/* WARNING: Removing unreachable block (ram,0x0001400af852) */ +/* WARNING: Removing unreachable block (ram,0x0001400af6d7) */ +/* WARNING: Removing unreachable block (ram,0x0001400af6de) */ +/* WARNING: Removing unreachable block (ram,0x0001400af6f6) */ +/* WARNING: Removing unreachable block (ram,0x0001400af702) */ +/* WARNING: Removing unreachable block (ram,0x0001400af6fa) */ +/* WARNING: Removing unreachable block (ram,0x0001400af708) */ +/* WARNING: Removing unreachable block (ram,0x0001400af724) */ +/* WARNING: Removing unreachable block (ram,0x0001400af620) */ +/* WARNING: Removing unreachable block (ram,0x0001400af627) */ +/* WARNING: Removing unreachable block (ram,0x0001400af640) */ +/* WARNING: Removing unreachable block (ram,0x0001400af64c) */ +/* WARNING: Removing unreachable block (ram,0x0001400af644) */ +/* WARNING: Removing unreachable block (ram,0x0001400af652) */ +/* WARNING: Removing unreachable block (ram,0x0001400af66e) */ + +ulonglong FUN_1400af100(longlong *param_1,TypeDescriptor *param_2,TypeDescriptor *param_3, + TypeDescriptor *param_4,uint param_5) + +{ + undefined *puVar1; + undefined8 uVar2; + undefined4 uVar3; + uint uVar4; + int iVar5; + uint uVar6; + uint uVar7; + TypeDescriptor *pTVar8; + void *pvVar9; + void *pvVar10; + TypeDescriptor *pTVar11; + TypeDescriptor *extraout_RAX; + uint *puVar12; + longlong *plVar13; + int *piVar14; + longlong lVar15; + TypeDescriptor *pTVar16; + undefined8 *puVar17; + TypeDescriptor *pTVar18; + undefined8 uVar19; + undefined1 *puVar20; + undefined4 *puVar21; + uint *puVar22; + int iVar23; + TypeDescriptor *pTVar24; + uint uVar25; + ulonglong uVar26; + TypeDescriptor *pTVar27; + uint uVar28; + TypeDescriptor *pTVar29; + SIZE_T SVar30; + undefined4 *puVar31; + longlong *plVar32; + TypeDescriptor *pTVar33; + TypeDescriptor *pTVar34; + undefined1 auStackY_2c38 [32]; + undefined8 local_2c08; + undefined1 local_2c00 [16]; + TypeDescriptor *local_2bf0; + ulonglong local_2be8; + undefined8 local_2be0; + TypeDescriptor *local_2bd8; + uint uStack_2bd0; + undefined4 uStack_2bcc; + undefined4 local_2bc8; + undefined4 local_2bc4; + TypeDescriptor local_2bc0; + uint local_2bb0; + int local_2bac; + TypeDescriptor *local_2ba0; + TypeDescriptor local_2b98; + undefined1 local_2b88; + undefined4 local_2b84; + undefined1 local_2b80; + undefined1 local_2b7f; + void *local_2b78; + undefined8 local_2b70; + longlong *local_2b68; + undefined **local_2b60; + longlong *local_2b58; + TypeDescriptor *local_2b50; + uint local_2b48; + undefined8 local_2b44; + undefined4 local_2b3c; + TypeDescriptor *local_2b38; + int *local_2b30; + undefined4 local_2b28; + undefined4 uStack_2b24; + int *local_2b20; + char local_2b18; + TypeDescriptor *local_2b10; + longlong *local_2b08; + TypeDescriptor *local_2b00; + void *local_2af0; + undefined8 local_2ae0; + exception local_2ad8 [72]; + exception local_2a90 [72]; + exception local_2a48 [80]; + undefined4 local_29f8 [2]; + TypeDescriptor local_29f0; + undefined4 local_29e0; + int local_29dc; + undefined1 local_29d0 [136]; + TypeDescriptor local_2948; + ulonglong local_2938; + undefined8 local_2930; + undefined8 auStack_2928 [100]; + TypeDescriptor local_2608 [200]; + TypeDescriptor *local_1988; + undefined4 local_1980; + int local_197c; + undefined1 local_1978 [3200]; + undefined1 *local_cf8; + undefined4 local_cf0; + int local_cec; + TypeDescriptor local_ce8 [200]; + TypeDescriptor *local_68; + undefined4 local_60; + undefined4 local_5c; + ulonglong local_58; + + local_2ae0 = 0xfffffffffffffffe; + local_58 = DAT_14016f5a0 ^ (ulonglong)auStackY_2c38; + pTVar16 = (TypeDescriptor *)0x0; + local_2b78 = (void *)0x0; + pTVar18 = param_2; + pTVar29 = param_3; + pTVar33 = param_4; + local_2ba0 = param_2; + local_2b68 = param_1; + local_2b38 = param_3; + local_2b10 = param_2; + local_2b08 = param_1; + local_2b20 = (int *)(**(code **)(*param_1 + 0x58))(); + FUN_14003d040(local_2b20); + puVar1 = PTR_u_Cannot_send_messages_unless_conn_140170a00; + local_2b18 = '\x01'; + plVar32 = (longlong *)param_1[699]; + uVar28 = 0; + if (((plVar32 != (longlong *)0x0) && (*plVar32 != 0)) && ((int)param_1[0x2af] != 0)) { + local_2948.pVFTable = (void *)0x0; + local_2930 = 0; + local_2948.spare = (void *)0x0; + local_2938 = 100; + if (0 < (int)param_5) { + uVar26 = (ulonglong)param_5; + do { + uVar4 = *(uint *)¶m_4->pVFTable; + pTVar18 = (TypeDescriptor *)(ulonglong)uVar4; + if (uVar4 != 0) { + pTVar29 = &local_2948; + FUN_1400ae200(param_1,uVar4,(longlong *)pTVar29,pTVar33); + } + param_4 = (TypeDescriptor *)((longlong)¶m_4->pVFTable + 4); + uVar26 = uVar26 - 1; + } while (uVar26 != 0); + } + FUN_14009d960((longlong *)&local_2948); + local_2b58 = (longlong *)0x0; + local_2b3c = 0; + local_2b50 = (TypeDescriptor *)0x0; + local_2b48 = 0; + local_2b44 = 0; + local_2b60 = Proud::CNetClientImpl::BypassDestList_C::vftable; + local_2b70 = (TypeDescriptor *)((ulonglong)local_2b70._4_4_ << 0x20); + pTVar11 = pTVar16; + pTVar24 = pTVar16; + pTVar34 = pTVar16; + while( true ) { + iVar5 = (int)pTVar11; + local_2c08 = (uint *)CONCAT44(local_2c08._4_4_,iVar5); + lVar15 = (longlong)iVar5; + iVar23 = (int)pTVar24; + if ((longlong)local_2948.spare <= lVar15) break; + if (iVar5 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (local_2938 < 0x65) { + puVar17 = auStack_2928 + lVar15; + } + else { + puVar17 = (undefined8 *)((longlong)local_2948.pVFTable + lVar15 * 8); + } + pTVar11 = (TypeDescriptor *)*puVar17; + pTVar8 = (TypeDescriptor *)(param_1 + 0xc); + if (param_1 == (longlong *)0x0) { + pTVar8 = pTVar16; + } + if ((pTVar11 == pTVar8) && (*(char *)((longlong)¶m_3[2].spare + 5) != '\0')) { + FUN_140074fb0((undefined4 *)local_2c00); + pTVar18 = (TypeDescriptor *)local_2c00; + FUN_140097200((longlong)local_2ba0,(int *)pTVar18,(SIZE_T)pTVar29,pTVar33); + pvVar9 = (void *)param_1[0x2a8]; + if ((longlong *)local_2b68[0x2a6] == (longlong *)0x0) { + pTVar8 = (TypeDescriptor *)FUN_14003e840(0x38); + } + else { + pTVar18 = (TypeDescriptor *)0x38; + pTVar8 = (TypeDescriptor *)(**(code **)(*(longlong *)local_2b68[0x2a6] + 8))(); + } + local_2b00 = pTVar8; + if (pTVar8 != (TypeDescriptor *)0x0) { + pTVar18 = (TypeDescriptor *)local_2c00; + local_2bd8 = pTVar8; + FUN_140074fe0((undefined4 *)(pTVar8 + 1),(undefined4 *)pTVar18); + } + param_1 = local_2b68; + pTVar8->spare = pvVar9; + pTVar8->pVFTable = (void *)0x0; + local_2b68[0x2a9] = local_2b68[0x2a9] + 1; + if ((longlong *)local_2b68[0x2a8] == (longlong *)0x0) { + local_2b68[0x2a7] = (longlong)pTVar8; + } + else { + *(longlong *)local_2b68[0x2a8] = (longlong)pTVar8; + } + local_2b68[0x2a8] = (longlong)pTVar8; + local_2bd8 = (TypeDescriptor *)(local_2c00 + 8); + FUN_14008a320((longlong *)(local_2c00 + 8)); + if ((local_2bf0 != (TypeDescriptor *)0x0) && ((longlong)local_2be8 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + } + param_2 = local_2ba0; + if (pTVar11 == (TypeDescriptor *)(param_1 + 0x2aa)) { + local_2b98.pVFTable._0_4_ = *(undefined4 *)¶m_3[2].pVFTable; + local_2b98.spare = param_3[1].spare; + local_2b88 = *(undefined1 *)((longlong)¶m_3[2].spare + 5); + local_2b84 = *(undefined4 *)¶m_3[3].pVFTable; + local_2b80 = *(undefined1 *)((longlong)¶m_3[4].pVFTable + 1); + local_2b7f = *(undefined1 *)¶m_3[4].pVFTable; + local_2bd8 = local_ce8; + local_5c = 200; + local_60 = 0; + local_68 = local_ce8; + FUN_140096f90((longlong *)(local_2ba0 + 200),&local_68,pTVar29,pTVar33); + pTVar33 = local_ce8; + pTVar29 = (TypeDescriptor *)(ulonglong)*(uint *)¶m_3->pVFTable; + pTVar18 = (TypeDescriptor *)0x1; + FUN_14009d260((longlong)param_1,1,*(uint *)¶m_3->pVFTable,(SIZE_T *)pTVar33, + (SIZE_T *)&local_2b98); + } + else if (pTVar11 != (TypeDescriptor *)0x0) { + pTVar33 = &Proud::CRemotePeer_C::RTTI_Type_Descriptor; + pTVar29 = &Proud::ISendDest_C::RTTI_Type_Descriptor; + pTVar18 = (TypeDescriptor *)0x0; + pvVar9 = (void *)__RTDynamicCast(pTVar11); + param_2 = local_2ba0; + local_2b78 = pvVar9; + if (pvVar9 != (void *)0x0) { + if ((((*(char *)((longlong)pvVar9 + 0x608) != '\0') || + (*(int *)¶m_3[1].pVFTable <= (int)local_2b70)) || + (*(double *)((longlong)pvVar9 + 0x50) <= 0.0)) || + ((*(double *)((longlong)pvVar9 + 0x60) <= 0.0 || + ((*(double *)((longlong)pvVar9 + 0x60) + (double)param_1[0x9f]) / + *(double *)((longlong)pvVar9 + 0x50) < (double)param_3[3].spare)))) { + if (*(int *)¶m_3->pVFTable == 1) { + FUN_1400d5200((undefined8 *)(*(longlong *)((longlong)pvVar9 + 0x640) + 8), + (longlong *)CONCAT71((int7)((ulonglong)pTVar18 >> 8),1), + (longlong *)pTVar29,pTVar33); + uVar3 = FUN_1400d3b60((longlong)pvVar9 + 0x638); + local_2af0 = (void *)CONCAT44(local_2af0._4_4_,uVar3); + if (iVar23 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + pTVar18 = (TypeDescriptor *)(ulonglong)(iVar23 + 1U); + FUN_14009cb60((longlong)&local_2b60,iVar23 + 1U,pTVar29,(longlong)pTVar33); + pTVar11 = local_2b50; + if (local_2b48 == 0) { + pTVar11 = pTVar16; + } + pTVar11[iVar23].pVFTable = pvVar9; + pvVar10 = local_2af0; +LAB_1400af755: + pTVar24 = (TypeDescriptor *)(ulonglong)local_2b48; + pTVar11[iVar23].spare = pvVar10; + pTVar34 = local_2b50; + } + else if (*(char *)((longlong)¶m_3[2].spare + 6) != '\0') { + local_2b28 = 0; + if (iVar23 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + pTVar18 = (TypeDescriptor *)(ulonglong)(iVar23 + 1U); + FUN_14009cb60((longlong)&local_2b60,iVar23 + 1U,pTVar29,(longlong)pTVar33); + pTVar11 = local_2b50; + if (local_2b48 == 0) { + pTVar11 = pTVar16; + } + pTVar11[iVar23].pVFTable = pvVar9; + pvVar10 = (void *)CONCAT44(uStack_2b24,local_2b28); + goto LAB_1400af755; + } + if (*(char *)((longlong)¶m_3[2].spare + 4) != '\0') { + *(undefined1 *)((longlong)pvVar9 + 0x21) = 1; + } + } + else { + local_2b70 = (TypeDescriptor *)CONCAT44(local_2b70._4_4_,(int)local_2b70 + 1); + if (*(char *)((longlong)¶m_3[4].pVFTable + 1) == '\0') { + *(int *)((longlong)pvVar9 + 0x40) = *(int *)((longlong)pvVar9 + 0x40) + 1; + } + pTVar18 = local_2ba0; + if (*(int *)¶m_3->pVFTable == 1) { + FUN_1400d3bc0((longlong)pvVar9 + 0x638,(longlong)local_2ba0,pTVar29,pTVar33); + } + else { + local_2b98.pVFTable._0_4_ = *(undefined4 *)¶m_3[2].pVFTable; + local_2b98.spare = param_3[1].spare; + local_2b88 = *(undefined1 *)((longlong)¶m_3[2].spare + 5); + local_2b84 = *(undefined4 *)¶m_3[3].pVFTable; + local_2b80 = *(undefined1 *)((longlong)¶m_3[4].pVFTable + 1); + local_2b7f = *(undefined1 *)¶m_3[4].pVFTable; + pTVar29 = &local_2b98; + FUN_1400cf2c0((longlong *)((longlong)pvVar9 + 0x668),(longlong)local_2ba0, + &pTVar29->pVFTable); + } + } + } + } + pTVar11 = (TypeDescriptor *)(ulonglong)((int)local_2c08 + 1); + } + if (iVar23 < 1) goto LAB_1400b000b; + if (*(int *)¶m_3->pVFTable != 0) { + local_5c = 200; + local_60 = 0; + local_68 = local_ce8; + FUN_140074fb0(local_29f8); + FUN_140074c30((longlong)local_29f8,(longlong)local_29d0,0x80,pTVar33); + puVar31 = local_29f8; + FUN_140093d90((longlong)param_2,(longlong)local_ce8,(SIZE_T)puVar31,pTVar33); + local_2c00._8_8_ = (longlong *)0x0; + local_2bf0 = (TypeDescriptor *)0x0; + local_2be8 = 0; + local_2be0 = 0; + local_2c00._0_8_ = Proud::BypassDestList::vftable; + puVar20 = local_2c00; + FUN_14009e0a0((longlong)&local_2b60,(longlong)puVar20,puVar31,(longlong)pTVar33); + local_cec = 200; + local_cf0 = 0; + local_cf8 = local_1978; + FUN_140074fb0(&local_2bc8); + FUN_140074a40((longlong)&local_2bc8,puVar20,(SIZE_T)puVar31,pTVar33); + FUN_140029d80((longlong)&local_2bc8,CONCAT71((int7)((ulonglong)puVar20 >> 8),0x14), + (SIZE_T)puVar31,pTVar33); + FUN_1400766a0((longlong)&local_2bc8,(longlong)local_2c00,(SIZE_T)puVar31,pTVar33); + puVar21 = &local_2bc8; + FUN_140074a00((longlong *)&local_2b30,(longlong)puVar21); + iVar5 = FUN_140096ef0((longlong)local_ce8,puVar21,puVar31,pTVar33); + lVar15 = (longlong)iVar5; + FUN_140076380((longlong)&local_2bc8,lVar15,(SIZE_T)puVar31,pTVar33); + local_197c = 200; + local_1980 = 0; + local_1988 = local_2608; + if (local_2bc0.pVFTable == (void *)0x0) { + uStack_2bd0 = local_2bb0; + if (local_2bc0.spare == (TypeDescriptor *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,lVar15,puVar31,pTVar33); + } + } + else { + uStack_2bd0 = *(uint *)((longlong)local_2bc0.pVFTable + 0x18); + } + local_2608[0].pVFTable = local_2bc0.spare; + if (local_2bc0.spare == (TypeDescriptor *)0x0) { + if (local_2bc0.pVFTable == (void *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,(ulonglong)uStack_2bd0,puVar31,pTVar33); + } + local_2608[0].pVFTable = pTVar16; + if (*(int *)((longlong)local_2bc0.pVFTable + 0x18) != 0) { + local_2608[0].pVFTable = *(void **)((longlong)local_2bc0.pVFTable + 0x10); + } + } + local_1980 = 1; + local_2608[0].spare = (void *)CONCAT44(uStack_2bcc,uStack_2bd0); + local_2bd8 = local_2608[0].pVFTable; + FUN_14004dc30((longlong)local_1978,(longlong)local_2608,puVar31,pTVar33); + if (local_1988 == (TypeDescriptor *)0x0) { + FUN_14003db10(local_2ad8,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,puVar31 + ,pTVar33); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_2ad8,(ThrowInfo *)&DAT_14016c210); + } + if (local_197c < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + FUN_14004dc30((longlong)local_1978,(longlong)local_ce8,puVar31,pTVar33); + local_2b98.pVFTable._0_4_ = *(undefined4 *)¶m_3[2].pVFTable; + local_2b98.spare = param_3[1].spare; + local_2b88 = *(undefined1 *)((longlong)¶m_3[2].spare + 5); + local_2b84 = *(undefined4 *)¶m_3[3].pVFTable; + local_2b7f = *(undefined1 *)¶m_3[4].pVFTable; + local_2b80 = 1; + local_2bd8 = local_2608; + local_197c = 200; + local_1980 = 0; + local_1988 = local_2608; + FUN_140096f90((longlong *)&local_cf8,&local_1988,puVar31,pTVar33); + pTVar18 = local_2608; + pTVar33 = (TypeDescriptor *)0x0; + plVar32 = (longlong *)0x1; + FUN_14009d260((longlong)param_1,0,1,(SIZE_T *)pTVar18,(SIZE_T *)&local_2b98); + FUN_140074a20((longlong *)&local_2b30); + local_2bd8 = &local_2bc0; + FUN_14008a320((longlong *)&local_2bc0); + if (local_2bc0.spare != (TypeDescriptor *)0x0) { + if (local_2bac < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_2bb0 = 0; + } + FUN_14004db20((longlong)local_1978,pTVar33,plVar32,pTVar18); + local_2c00._0_8_ = Proud::CFastArray::vftable; + if (local_2bf0 != (TypeDescriptor *)0x0) { + plVar32 = (longlong *)local_2c00._8_8_; + if ((longlong *)local_2c00._8_8_ == (longlong *)0x0) { + FUN_14003e8b0(local_2bf0); + } + else { + pTVar33 = local_2bf0; + (**(code **)(*(longlong *)local_2c00._8_8_ + 0x18))(local_2c00._8_8_); + } + } + local_2bd8 = &local_29f0; + FUN_14008a320((longlong *)&local_29f0); + if (local_29f0.spare != (void *)0x0) { + if (local_29dc < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_29e0 = 0; + } + pTVar11 = (TypeDescriptor *)FUN_14004db20((longlong)local_ce8,pTVar33,plVar32,pTVar18); + goto LAB_1400b000b; + } + local_2c00._8_8_ = (longlong *)0x0; + local_2bf0 = (TypeDescriptor *)0x0; + local_2be8 = 0; + local_2be0 = 0; + local_2c00._0_8_ = Proud::HostIDArray::vftable; + local_2c08 = (uint *)((ulonglong)local_2c08._4_4_ << 0x20); + local_2b78 = (void *)0x0; + pTVar11 = pTVar16; + pTVar8 = pTVar34; + pTVar27 = pTVar16; + pTVar24 = pTVar16; + if (0 < iVar23) { + do { + local_2b70 = pTVar8; + if (((longlong)local_2b78 < 0) || (iVar23 <= (int)pTVar11)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(local_2b78,pTVar8,pTVar29,pTVar33); + } + local_2af0 = pTVar8->spare; + local_2b38 = (TypeDescriptor *)((longlong)pTVar8->pVFTable + 0x56c); + iVar5 = (int)pTVar27; + if (iVar5 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + FUN_14004cce0((longlong)local_2c00,iVar5 + 1,(longlong)pTVar29); + pTVar24 = local_2bf0; + uVar28 = (uint)local_2be8; + pTVar27 = (TypeDescriptor *)(local_2be8 & 0xffffffff); + pTVar18 = local_2bf0; + if ((uint)local_2be8 == 0) { + pTVar18 = pTVar16; + } + pTVar29 = (TypeDescriptor *)0x4; + FUN_140006fb0((undefined8 *)((longlong)&pTVar18->pVFTable + (longlong)iVar5 * 4), + &local_2b38->pVFTable,4); + uVar4 = (int)local_2c08 + 1; + local_2c08 = (uint *)CONCAT44(local_2c08._4_4_,uVar4); + local_2b78 = (void *)((longlong)local_2b78 + 1); + pTVar18 = local_2b70 + 1; + pTVar11 = (TypeDescriptor *)(ulonglong)uVar4; + pTVar8 = pTVar18; + local_2b70 = pTVar18; + } while ((int)uVar4 < iVar23); + } + uVar2 = local_2c00._8_8_; + FUN_140074fb0(&local_2bc8); + FUN_140074a40((longlong)&local_2bc8,pTVar18,(SIZE_T)pTVar29,pTVar33); + FUN_140029d80((longlong)&local_2bc8,CONCAT71((int7)((ulonglong)pTVar18 >> 8),0x15), + (SIZE_T)pTVar29,pTVar33); + FUN_140029d80((longlong)&local_2bc8,(ulonglong)*(byte *)¶m_3[2].pVFTable,(SIZE_T)pTVar29, + pTVar33); + FUN_140076380((longlong)&local_2bc8,(longlong)param_3[1].spare,(SIZE_T)pTVar29,pTVar33); + FUN_140076380((longlong)&local_2bc8,(longlong)(int)uVar28,(SIZE_T)pTVar29,pTVar33); + pTVar18 = pTVar24; + if (uVar28 == 0) { + pTVar18 = pTVar16; + } + SVar30 = (SIZE_T)(uVar28 * 4); + if (uVar28 * 4 != 0) { + local_2bc4 = 0; + if (local_2bc0.pVFTable == (void *)0x0) { + if (local_2bc0.spare == (TypeDescriptor *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,pTVar18,SVar30,pTVar33); + } +LAB_1400af95e: + FUN_140029f40((longlong *)&local_2bc0.spare,&pTVar18->pVFTable,SVar30,pTVar33); + } + else { + if (local_2bc0.spare != (TypeDescriptor *)0x0) goto LAB_1400af95e; + if (local_2bc0.pVFTable == (void *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,pTVar18,SVar30,pTVar33); + } + FUN_14002a110((longlong)local_2bc0.pVFTable,&pTVar18->pVFTable,SVar30); + } + FUN_14002a180((longlong)&local_2bc8,pTVar18,SVar30,pTVar33); + } + puVar21 = &local_2bc8; + FUN_140074a00((longlong *)&local_2b30,(longlong)puVar21); + pTVar18 = local_2ba0; + iVar5 = FUN_140096ef0((longlong)local_2ba0,puVar21,SVar30,pTVar33); + lVar15 = (longlong)iVar5; + FUN_140076380((longlong)&local_2bc8,lVar15,SVar30,pTVar33); + local_cec = 200; + local_cf0 = 0; + local_cf8 = local_1978; + local_197c = 200; + local_1980 = 0; + local_1988 = local_2608; + if (local_2bc0.pVFTable == (void *)0x0) { + uStack_2bd0 = local_2bb0; + if (local_2bc0.spare == (TypeDescriptor *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,lVar15,SVar30,pTVar33); + } + } + else { + uStack_2bd0 = *(uint *)((longlong)local_2bc0.pVFTable + 0x18); + } + local_2608[0].pVFTable = local_2bc0.spare; + if (local_2bc0.spare == (TypeDescriptor *)0x0) { + if (local_2bc0.pVFTable == (void *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,(ulonglong)uStack_2bd0,SVar30,pTVar33); + } + local_2608[0].pVFTable = pTVar16; + if (*(int *)((longlong)local_2bc0.pVFTable + 0x18) != 0) { + local_2608[0].pVFTable = *(void **)((longlong)local_2bc0.pVFTable + 0x10); + } + } + local_1980 = 1; + local_2608[0].spare = (void *)CONCAT44(uStack_2bcc,uStack_2bd0); + local_2bd8 = local_2608[0].pVFTable; + FUN_14004dc30((longlong)local_1978,(longlong)local_2608,SVar30,pTVar33); + if (local_1988 == (TypeDescriptor *)0x0) { + FUN_14003db10(local_2a90,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,SVar30, + pTVar33); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_2a90,(ThrowInfo *)&DAT_14016c210); + } + if (local_197c < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + FUN_14004dc30((longlong)local_1978,(longlong)pTVar18,SVar30,pTVar33); + local_2b98.pVFTable._0_4_ = *(undefined4 *)¶m_3[2].pVFTable; + local_2b98.spare = param_3[1].spare; + local_2b88 = *(undefined1 *)((longlong)¶m_3[2].spare + 5); + local_2b84 = *(undefined4 *)¶m_3[3].pVFTable; + local_2b7f = *(undefined1 *)¶m_3[4].pVFTable; + local_2b80 = 1; + local_2bd8 = local_2608; + local_197c = 200; + local_1980 = 0; + local_1988 = local_2608; + FUN_140096f90((longlong *)&local_cf8,&local_1988,SVar30,pTVar33); + plVar32 = local_2b68; + local_2bd8 = local_2608; + FUN_14009c580((longlong)local_2b68); + if ((undefined8 *)plVar32[0x2ae] != (undefined8 *)0x0) { + pTVar16 = *(TypeDescriptor **)plVar32[0x2ae]; + } + pTVar18 = &local_2b98; + pTVar33 = local_2608; + uVar19 = 0; + FUN_1400c8300((longlong *)pTVar16,0,(longlong)pTVar33,&pTVar18->pVFTable); + FUN_14004db20((longlong)local_2608,uVar19,pTVar33,pTVar18); + if (local_cf8 == (undefined1 *)0x0) { + FUN_14003db10(local_2a48,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,pTVar33, + pTVar18); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_2a48,(ThrowInfo *)&DAT_14016c210); + } + if (local_cec < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_cf0 = 0; + FUN_140074a20((longlong *)&local_2b30); + local_2bd8 = &local_2bc0; + pTVar11 = (TypeDescriptor *)FUN_14008a320((longlong *)&local_2bc0); + if (local_2bc0.spare != (TypeDescriptor *)0x0) { + if (local_2bac < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_2bb0 = 0; + } + if (pTVar24 != (TypeDescriptor *)0x0) { + if ((longlong *)uVar2 == (longlong *)0x0) { + pTVar11 = (TypeDescriptor *)FUN_14003e8b0(pTVar24); + } + else { + pTVar11 = (TypeDescriptor *)(**(code **)(*(longlong *)uVar2 + 0x18))(uVar2,pTVar24); + } + } +LAB_1400b000b: + if (pTVar34 != (TypeDescriptor *)0x0) { + if (local_2b58 == (longlong *)0x0) { + pTVar11 = (TypeDescriptor *)FUN_14003e8b0(pTVar34); + } + else { + pTVar11 = (TypeDescriptor *)(**(code **)(*local_2b58 + 0x18))(local_2b58,pTVar34); + } + } + if (100 < local_2938) { + operator_delete__(local_2948.pVFTable); + pTVar11 = extraout_RAX; + } + if (local_2b18 != '\0') { + pTVar11 = (TypeDescriptor *)FUN_14003d0d0((longlong)local_2b20); + } + return CONCAT71((int7)((ulonglong)pTVar11 >> 8),1); + } + FUN_14003e7c0(plVar32,pTVar18,pTVar29,pTVar33); + local_2c08 = (uint *)PTR_DAT_14016f010; + uVar4 = FUN_14003e620((short *)puVar1); + if ((local_2c08 != (uint *)0x0) && + (pTVar16 = (TypeDescriptor *)0x0, local_2c08 != (uint *)PTR_DAT_14016f010)) { + pTVar16 = (TypeDescriptor *)(ulonglong)local_2c08[-2]; + } + uVar6 = uVar4; + if ((((int)uVar4 <= (int)pTVar16) && (uVar6 = uVar28, local_2c08 != (uint *)0x0)) && + (local_2c08 != (uint *)PTR_DAT_14016f010)) { + uVar6 = local_2c08[-2]; + } + uVar25 = 1; + if (1 < (int)uVar6) { + uVar25 = uVar6; + } + uVar7 = 0; + uVar6 = uVar7; + if ((local_2c08 != (uint *)0x0) && (local_2c08 != (uint *)PTR_DAT_14016f010)) { + uVar6 = local_2c08[-2]; + } + if ((int)uVar6 < (int)uVar25) { + if (local_2c08 == (uint *)0x0) { + local_2c08 = (uint *)PTR_DAT_14016f010; + } + if ((int)uVar25 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar25 == 0) { + FUN_140002190(&local_2c08,PTR_DAT_14016f010,pTVar16,pTVar33); + } + else { + uVar6 = uVar7; + if ((local_2c08 != (uint *)0x0) && (local_2c08 != (uint *)PTR_DAT_14016f010)) { + uVar6 = local_2c08[-2]; + } + if (uVar25 != uVar6) { + puVar12 = (uint *)FUN_14003e840((longlong)(int)uVar25 * 2 + 10); + if (puVar12 != (uint *)0x0) { + *puVar12 = 0; + puVar12[1] = 1; + } + *puVar12 = uVar25; + uVar6 = uVar7; + if ((local_2c08 != (uint *)0x0) && (local_2c08 != (uint *)PTR_DAT_14016f010)) { + uVar6 = local_2c08[-2]; + } + puVar22 = (uint *)PTR_DAT_14016f010; + if ((int)uVar25 < (int)uVar6) { +LAB_1400b0165: + if (local_2c08 != (uint *)0x0) { + puVar22 = local_2c08; + } + } + else { + uVar25 = uVar28; + if (local_2c08 != (uint *)0x0) { + if (local_2c08 != (uint *)PTR_DAT_14016f010) { + uVar25 = local_2c08[-2]; + } + goto LAB_1400b0165; + } + } + uVar26 = (ulonglong)uVar25; + FUN_14003e650(puVar12 + 2,puVar22,uVar25); + FUN_140002190(&local_2c08,puVar22,uVar26,pTVar33); + local_2c08 = puVar12 + 2; + } + } + } + FUN_140001df0(&local_2c08); + puVar12 = local_2c08; + if (local_2c08 == (uint *)0x0) { + puVar12 = (uint *)PTR_DAT_14016f010; + } + FUN_14003e650(puVar12,puVar1,uVar4); + puVar12 = local_2c08; + if (local_2c08 == (uint *)0x0) { + puVar12 = (uint *)PTR_DAT_14016f010; + } + uVar4 = FUN_14003e620((short *)puVar12); + uVar28 = 0; + if (0 < (int)uVar4) { + uVar28 = uVar4; + } + uVar4 = uVar7; + if ((local_2c08 != (uint *)0x0) && (local_2c08 != (uint *)PTR_DAT_14016f010)) { + uVar4 = local_2c08[-2]; + } + if (((int)uVar4 <= (int)uVar28) && (uVar28 = uVar7, local_2c08 != (uint *)0x0)) { + if (local_2c08 == (uint *)PTR_DAT_14016f010) goto LAB_1400b021a; + uVar28 = local_2c08[-2]; + } + if (((local_2c08 != (uint *)PTR_DAT_14016f010) && (local_2c08 != (uint *)0x0)) && + (local_2c08 + -2 != (uint *)0x0)) { + local_2c08[-2] = uVar28; + *(undefined2 *)((longlong)local_2c08 + (longlong)(int)uVar28 * 2) = 0; + } +LAB_1400b021a: + local_2c00._8_8_ = (void *)0x0; + local_2bf0 = (TypeDescriptor *)0x0; + local_2be8 = 0; + local_2be0 = 0; + local_2c00._0_8_ = Proud::ByteArray::vftable; + plVar32 = &local_2c08; + plVar13 = FUN_140071c20((longlong *)&local_2bd8,0x12,0,plVar32,(longlong)local_2c00); + lVar15 = *param_1; + (**(code **)(lVar15 + 0x80))(param_1); + puVar17 = (undefined8 *)local_2c00; + FUN_140049e40(puVar17); + puVar12 = local_2c08; + if (((local_2c08 != (uint *)0x0) && (local_2c08 != (uint *)PTR_DAT_14016f010)) && + (puVar22 = local_2c08 + -2, puVar22 != (uint *)0x0)) { + piVar14 = (int *)FUN_14003e7c0(puVar17,plVar13,lVar15,plVar32); + local_2b30 = piVar14; + FUN_14003d040(piVar14); + local_2b28 = CONCAT31(local_2b28._1_3_,1); + puVar12 = puVar12 + -1; + *puVar12 = *puVar12 - 1; + if (*puVar12 == 0) { + FUN_14003e8b0(puVar22); + } + FUN_14003d0d0((longlong)piVar14); + } + uVar26 = FUN_14003d0d0((longlong)local_2b20); + return uVar26 & 0xffffffffffffff00; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b0310.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b0310.c new file mode 100644 index 00000000..60758353 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b0310.c @@ -0,0 +1,104 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b0310 FUN_1400b0310 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_1400b0310(longlong *param_1,uint param_2,uint *param_3,longlong *param_4) + +{ + undefined4 uVar1; + int *piVar2; + undefined4 *puVar3; + ulonglong uVar4; + longlong *plVar5; + uint uVar6; + ulonglong uVar7; + undefined1 auStack_3b8 [32]; + int *local_398; + undefined1 local_390; + undefined8 local_388; + void *local_378; + longlong local_370; + ulonglong local_368; + undefined8 local_360; + longlong local_358 [100]; + ulonglong local_38; + + local_388 = 0xfffffffffffffffe; + local_38 = DAT_14016f5a0 ^ (ulonglong)auStack_3b8; + uVar7 = (ulonglong)param_2; + plVar5 = param_4; + piVar2 = (int *)(**(code **)(*param_1 + 0x58))(); + local_398 = piVar2; + FUN_14003d040(piVar2); + local_390 = 1; + uVar4 = 0; + local_378 = (void *)0x0; + local_360 = 0; + local_370 = 0; + local_368 = 100; + if (0 < (int)param_2) { + do { + if (*param_3 != 0) { + FUN_1400ae200(param_1,*param_3,(longlong *)&local_378,plVar5); + } + param_3 = param_3 + 1; + uVar7 = uVar7 - 1; + } while (uVar7 != 0); + } + FUN_14009d960((longlong *)&local_378); + FUN_14004c4e0(param_4,local_370,-1); + uVar7 = uVar4; + if (0 < local_370) { + do { + if (((longlong)uVar4 < 0) || (local_370 <= (longlong)uVar4)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (local_368 < 0x65) { + plVar5 = local_358 + uVar4; + } + else { + plVar5 = (longlong *)((longlong)local_378 + uVar4 * 8); + } + plVar5 = (longlong *)*plVar5; + if (plVar5 == (longlong *)0x0) { + if (param_4[1] <= (longlong)uVar4) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if ((ulonglong)param_4[2] < 0x65) { + puVar3 = (undefined4 *)((longlong)param_4 + uVar4 * 4 + 0x20); + } + else { + puVar3 = (undefined4 *)(*param_4 + uVar4 * 4); + } + *puVar3 = 0; + } + else { + if (param_4[1] <= (longlong)uVar4) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if ((ulonglong)param_4[2] < 0x65) { + puVar3 = (undefined4 *)((longlong)param_4 + uVar4 * 4 + 0x20); + } + else { + puVar3 = (undefined4 *)(*param_4 + uVar4 * 4); + } + uVar1 = (**(code **)(*plVar5 + 8))(plVar5); + *puVar3 = uVar1; + } + uVar6 = (int)uVar7 + 1; + uVar7 = (ulonglong)uVar6; + uVar4 = (ulonglong)(int)uVar6; + } while ((longlong)uVar4 < local_370); + } + if (100 < local_368) { + operator_delete__(local_378); + } + FUN_14003d0d0((longlong)piVar2); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b04c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b04c0.c new file mode 100644 index 00000000..6d6b0ce9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b04c0.c @@ -0,0 +1,116 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b04c0 FUN_1400b04c0 + * Pseudocode, not original source. */ + +void FUN_1400b04c0(char *param_1) + +{ + LPVOID pvVar1; + undefined8 *puVar2; + void *pvVar3; + longlong *plVar4; + LPVOID pvVar5; + uint uVar6; + ulonglong uVar7; + longlong lVar8; + longlong lVar9; + float fVar10; + float fVar11; + + *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + 1; + FUN_1400c8cb0(param_1); + pvVar5 = *(LPVOID *)(param_1 + 0x10); + while (pvVar5 != (LPVOID)0x0) { + pvVar1 = *(LPVOID *)((longlong)pvVar5 + 0x10); + if ((*(longlong *)((longlong)pvVar5 + 8) != 0) && + (*(longlong *)(*(longlong *)((longlong)pvVar5 + 8) + 8) = + *(longlong *)(*(longlong *)((longlong)pvVar5 + 8) + 8) + -1, + *(longlong *)(*(longlong *)((longlong)pvVar5 + 8) + 8) == 0)) { + puVar2 = *(undefined8 **)((longlong)pvVar5 + 8); + pvVar3 = (void *)*puVar2; + if (pvVar3 != (void *)0x0) { + FUN_14004e270((char *)((longlong)pvVar3 + 8)); + operator_delete(pvVar3); + } + FUN_14003e8b0(puVar2); + } + plVar4 = *(longlong **)(param_1 + 0x50); + if (plVar4 == (longlong *)0x0) { + FUN_14003e8b0(pvVar5); + } + else { + (**(code **)(*plVar4 + 0x18))(plVar4,pvVar5); + } + *(longlong *)(param_1 + 0x20) = *(longlong *)(param_1 + 0x20) + -1; + pvVar5 = pvVar1; + } + FUN_14003e8b0(*(LPVOID *)(param_1 + 8)); + param_1[8] = '\0'; + param_1[9] = '\0'; + param_1[10] = '\0'; + param_1[0xb] = '\0'; + param_1[0xc] = '\0'; + param_1[0xd] = '\0'; + param_1[0xe] = '\0'; + param_1[0xf] = '\0'; + param_1[0x20] = '\0'; + param_1[0x21] = '\0'; + param_1[0x22] = '\0'; + param_1[0x23] = '\0'; + param_1[0x24] = '\0'; + param_1[0x25] = '\0'; + param_1[0x26] = '\0'; + param_1[0x27] = '\0'; + param_1[0x10] = '\0'; + param_1[0x11] = '\0'; + param_1[0x12] = '\0'; + param_1[0x13] = '\0'; + param_1[0x14] = '\0'; + param_1[0x15] = '\0'; + param_1[0x16] = '\0'; + param_1[0x17] = '\0'; + param_1[0x18] = '\0'; + param_1[0x19] = '\0'; + param_1[0x1a] = '\0'; + param_1[0x1b] = '\0'; + param_1[0x1c] = '\0'; + param_1[0x1d] = '\0'; + param_1[0x1e] = '\0'; + param_1[0x1f] = '\0'; + FUN_1400c8cb0(param_1); + if (*(int *)(param_1 + 0x48) == 0) { + uVar6 = FUN_14009b970((longlong)param_1,*(longlong *)(param_1 + 0x20)); + if (*(LPVOID *)(param_1 + 8) != (LPVOID)0x0) { + FUN_14003e8b0(*(LPVOID *)(param_1 + 8)); + param_1[8] = '\0'; + param_1[9] = '\0'; + param_1[10] = '\0'; + param_1[0xb] = '\0'; + param_1[0xc] = '\0'; + param_1[0xd] = '\0'; + param_1[0xe] = '\0'; + param_1[0xf] = '\0'; + } + lVar8 = 0; + *(uint *)(param_1 + 0x28) = uVar6; + fVar11 = (float)uVar6 * *(float *)(param_1 + 0x34); + if ((9.223372e+18 < fVar11) && (fVar11 = fVar11 - 9.223372e+18, fVar11 < 9.223372e+18)) { + lVar8 = -0x8000000000000000; + } + fVar10 = (float)uVar6 * *(float *)(param_1 + 0x30); + lVar9 = 0; + *(longlong *)(param_1 + 0x38) = (longlong)fVar11 + lVar8; + if ((9.223372e+18 < fVar10) && (fVar10 = fVar10 - 9.223372e+18, fVar10 < 9.223372e+18)) { + lVar9 = -0x8000000000000000; + } + uVar7 = (longlong)fVar10 + lVar9; + if ((ulonglong)((longlong)fVar10 + lVar9) < 0x11) { + uVar7 = 0; + } + *(ulonglong *)(param_1 + 0x40) = uVar7; + } + FUN_1400c8cb0(param_1); + *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + -1; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b0650.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b0650.c new file mode 100644 index 00000000..2886fdad --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b0650.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b0650 FUN_1400b0650 + * Pseudocode, not original source. */ + +void FUN_1400b0650(char *param_1) + +{ + FUN_1400b04c0(param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b0670.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b0670.c new file mode 100644 index 00000000..45ab1055 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b0670.c @@ -0,0 +1,19 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b0670 FUN_1400b0670 + * Pseudocode, not original source. */ + +undefined4 * +FUN_1400b0670(undefined4 *param_1,undefined4 *param_2,SIZE_T param_3,undefined8 param_4) + +{ + *param_1 = *param_2; + FUN_140074fe0(param_1 + 2,param_2 + 2); + param_1[0xc] = param_2[0xc]; + *(undefined ***)(param_1 + 0xe) = Proud::AddrPort::vftable; + param_1[0x10] = param_2[0x10]; + *(undefined2 *)(param_1 + 0x11) = *(undefined2 *)(param_2 + 0x11); + *(undefined1 *)(param_1 + 0x12) = *(undefined1 *)(param_2 + 0x12); + FUN_1400660e0(param_1 + 0x14,param_2 + 0x14,param_3,param_4); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b0700.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b0700.c new file mode 100644 index 00000000..cf482571 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b0700.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b0700 FUN_1400b0700 + * Pseudocode, not original source. */ + +undefined4 * +FUN_1400b0700(undefined4 *param_1,undefined4 *param_2,SIZE_T param_3,undefined8 param_4) + +{ + *param_1 = *param_2; + FUN_140093820(param_1 + 2,param_2 + 2); + param_1[0xc] = param_2[0xc]; + param_1[0x10] = param_2[0x10]; + *(undefined2 *)(param_1 + 0x11) = *(undefined2 *)(param_2 + 0x11); + *(undefined1 *)(param_1 + 0x12) = *(undefined1 *)(param_2 + 0x12); + FUN_140096c20(param_1 + 0x14,param_2 + 0x14,param_3,param_4); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b0770.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b0770.c new file mode 100644 index 00000000..e2b153e6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b0770.c @@ -0,0 +1,28 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b0770 FUN_1400b0770 + * Pseudocode, not original source. */ + +undefined8 FUN_1400b0770(char *param_1,uint *param_2,longlong *param_3) + +{ + uint uVar1; + ulonglong uVar2; + uint *puVar3; + undefined8 uVar4; + + uVar1 = *(uint *)(param_1 + 0x28); + uVar2 = (ulonglong)*param_2 % (ulonglong)uVar1; + if (*(longlong *)(param_1 + 8) != 0) { + for (puVar3 = *(uint **)(*(longlong *)(param_1 + 8) + uVar2 * 8); + (puVar3 != (uint *)0x0 && ((uint)uVar2 == puVar3[8] % uVar1)); + puVar3 = *(uint **)(puVar3 + 4)) { + if (*puVar3 == *param_2) { + return (ulonglong)puVar3[8] / (ulonglong)uVar1 & 0xffffff00; + } + } + } + puVar3 = FUN_1400673e0(param_1,param_2); + uVar4 = FUN_1400adbd0((longlong *)puVar3,param_3); + return CONCAT71((int7)((ulonglong)uVar4 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b0800.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b0800.c new file mode 100644 index 00000000..6df4145b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b0800.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b0800 FUN_1400b0800 + * Pseudocode, not original source. */ + +void FUN_1400b0800(longlong *param_1,LPVOID param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong *plVar1; + + FUN_1400645f0((longlong)param_2 + 0x60,param_2,param_3,param_4); + FUN_14008a320((longlong *)((longlong)param_2 + 0x20)); + if (*(longlong *)((longlong)param_2 + 0x28) != 0) { + if (*(int *)((longlong)param_2 + 0x34) < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + *(undefined4 *)((longlong)param_2 + 0x30) = 0; + } + plVar1 = (longlong *)*param_1; + if (plVar1 == (longlong *)0x0) { + FUN_14003e8b0(param_2); + } + else { + (**(code **)(*plVar1 + 0x10))(plVar1,param_2); + } + param_1[3] = param_1[3] + -1; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b0870.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b0870.c new file mode 100644 index 00000000..73567fc2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b0870.c @@ -0,0 +1,76 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b0870 FUN_1400b0870 + * Pseudocode, not original source. */ + +longlong * FUN_1400b0870(longlong *param_1,longlong *param_2,uint param_3) + +{ + uint uVar1; + ulonglong uVar2; + int *piVar3; + uint *puVar4; + longlong lVar5; + undefined8 uVar6; + uint *puVar7; + uint uVar8; + longlong *plVar9; + uint local_res18 [2]; + undefined4 *local_res20; + + puVar7 = (uint *)0x0; + local_res18[0] = param_3; + piVar3 = (int *)(**(code **)(*param_1 + 0x58))(); + FUN_14003d040(piVar3); + local_res20 = operator_new(0x60); + puVar4 = puVar7; + if (local_res20 != (undefined4 *)0x0) { + puVar4 = FUN_14009e940(local_res20); + } + if (puVar4 == (uint *)0x0) { + *param_2 = 0; + } + else { + lVar5 = FUN_14003e840(0x10); + *param_2 = lVar5; + *(undefined8 *)(lVar5 + 8) = 1; + *(uint **)*param_2 = puVar4; + } + if ((undefined8 *)*param_2 != (undefined8 *)0x0) { + puVar7 = *(uint **)*param_2; + } + *puVar7 = param_3; + plVar9 = param_1 + 0xbc; + uVar1 = *(uint *)(param_1 + 0xc1); + uVar2 = (ulonglong)param_3 % (ulonglong)uVar1; + lVar5 = param_1[0xbd]; + uVar8 = (uint)uVar2; + if (lVar5 != 0) { + for (puVar7 = *(uint **)(lVar5 + uVar2 * 8); + (puVar7 != (uint *)0x0 && (uVar8 == puVar7[8] % uVar1)); puVar7 = *(uint **)(puVar7 + 4)) { + if (*puVar7 == param_3) goto LAB_1400b09f1; + } + if (lVar5 != 0) { + for (puVar7 = *(uint **)(lVar5 + uVar2 * 8); + (puVar7 != (uint *)0x0 && (uVar8 == puVar7[8] % uVar1)); puVar7 = *(uint **)(puVar7 + 4)) + { + if (*puVar7 == param_3) goto LAB_1400b09e4; + } + if (lVar5 != 0) goto LAB_1400b09bb; + } + } + uVar6 = FUN_14004c640((longlong)plVar9,uVar1,'\x01'); + if ((char)uVar6 == '\0') { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x8007000e); + } +LAB_1400b09bb: + FUN_1400c8cb0((char *)plVar9); + puVar7 = FUN_140067090((char *)plVar9,local_res18,uVar8,param_3); + FUN_1400c8cb0((char *)plVar9); +LAB_1400b09e4: + FUN_1400adbd0((longlong *)(puVar7 + 2),param_2); +LAB_1400b09f1: + FUN_14003d0d0((longlong)piVar3); + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b0a10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b0a10.c new file mode 100644 index 00000000..c78a37da --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b0a10.c @@ -0,0 +1,28 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b0a10 FUN_1400b0a10 + * Pseudocode, not original source. */ + +undefined4 * FUN_1400b0a10(longlong *param_1,undefined4 *param_2,SIZE_T param_3,undefined8 param_4) + +{ + longlong *plVar1; + longlong lVar2; + + plVar1 = (longlong *)param_1[1]; + if (plVar1 == (longlong *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + FUN_1400b0670(param_2,(undefined4 *)(plVar1 + 2),param_3,param_4); + lVar2 = *plVar1; + param_1[1] = lVar2; + if (lVar2 == 0) { + param_1[2] = 0; + } + else { + *(undefined8 *)(lVar2 + 8) = 0; + } + FUN_1400b0800(param_1,plVar1,param_3,param_4); + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b0a90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b0a90.c new file mode 100644 index 00000000..fd2a49c4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b0a90.c @@ -0,0 +1,43 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b0a90 FUN_1400b0a90 + * Pseudocode, not original source. */ + +void FUN_1400b0a90(longlong *param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong lVar1; + longlong *plVar2; + + lVar1 = param_1[3]; + while( true ) { + if (lVar1 == 0) { + param_1[1] = 0; + param_1[2] = 0; + return; + } + plVar2 = (longlong *)param_1[1]; + if (plVar2 == (longlong *)0x0) break; + param_1[1] = *plVar2; + FUN_1400645f0((longlong)(plVar2 + 0xc),param_2,param_3,param_4); + FUN_14008a320(plVar2 + 4); + if (plVar2[5] != 0) { + if (*(int *)((longlong)plVar2 + 0x34) < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + *(undefined4 *)(plVar2 + 6) = 0; + } + if ((longlong *)*param_1 == (longlong *)0x0) { + FUN_14003e8b0(plVar2); + } + else { + (**(code **)(*(longlong *)*param_1 + 0x10))(); + param_2 = plVar2; + } + param_1[3] = param_1[3] + -1; + lVar1 = param_1[3]; + } + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b0b40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b0b40.c new file mode 100644 index 00000000..9a535c9b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b0b40.c @@ -0,0 +1,31 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b0b40 FUN_1400b0b40 + * Pseudocode, not original source. */ + +undefined8 * FUN_1400b0b40(longlong *param_1,undefined4 *param_2,SIZE_T param_3,undefined8 param_4) + +{ + longlong *plVar1; + undefined8 *puVar2; + SIZE_T SVar3; + undefined8 uVar4; + + plVar1 = (longlong *)*param_1; + SVar3 = param_3; + uVar4 = param_4; + if (plVar1 == (longlong *)0x0) { + puVar2 = (undefined8 *)FUN_14003e840(0x148); + } + else { + puVar2 = (undefined8 *) + (**(code **)(*plVar1 + 8))(plVar1,0x148,param_3,param_4,0xfffffffffffffffe); + } + if (puVar2 != (undefined8 *)0x0) { + FUN_1400b0670((undefined4 *)(puVar2 + 2),param_2,SVar3,uVar4); + } + puVar2[1] = param_3; + *puVar2 = param_4; + param_1[3] = param_1[3] + 1; + return puVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b0bd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b0bd0.c new file mode 100644 index 00000000..683f4675 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b0bd0.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b0bd0 FUN_1400b0bd0 + * Pseudocode, not original source. */ + +ulonglong FUN_1400b0bd0(longlong *param_1,undefined4 *param_2,SIZE_T param_3,undefined8 param_4) + +{ + int *piVar1; + undefined4 *puVar2; + undefined8 uVar3; + ulonglong uVar4; + undefined4 local_140 [4]; + longlong local_130; + longlong local_128; + int local_11c; + undefined1 local_f0 [232]; + + piVar1 = (int *)(**(code **)(*param_1 + 0x58))(); + FUN_14003d040(piVar1); + if (param_1[0x2bf] == 0) { + uVar4 = FUN_14003d0d0((longlong)piVar1); + uVar4 = uVar4 & 0xffffffffffffff00; + } + else { + puVar2 = FUN_1400b0a10(param_1 + 700,local_140,param_3,param_4); + FUN_1400b0700(param_2,puVar2,param_3,param_4); + FUN_1400645f0((longlong)local_f0,puVar2,param_3,param_4); + FUN_14008a320(&local_130); + if ((local_128 != 0) && (local_11c < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + uVar3 = FUN_14003d0d0((longlong)piVar1); + uVar4 = CONCAT71((int7)((ulonglong)uVar3 >> 8),1); + } + return uVar4; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b0ca0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b0ca0.c new file mode 100644 index 00000000..8dd5b212 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b0ca0.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b0ca0 FUN_1400b0ca0 + * Pseudocode, not original source. */ + +void FUN_1400b0ca0(longlong *param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 *puVar1; + + FUN_1400b0a90(param_1,param_2,param_3,param_4); + puVar1 = (undefined8 *)*param_1; + if (puVar1 != (undefined8 *)0x0) { + (**(code **)*puVar1)(puVar1,1); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b0cd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b0cd0.c new file mode 100644 index 00000000..97f602c0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b0cd0.c @@ -0,0 +1,373 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b0cd0 FUN_1400b0cd0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400b0cd0(longlong ****param_1,longlong *param_2,longlong *param_3,ulonglong param_4) + +{ + longlong ****pppplVar1; + undefined8 *puVar2; + longlong *plVar3; + char cVar4; + int iVar5; + wchar_t *pwVar6; + longlong *plVar7; + longlong *****ppppplVar8; + int *piVar9; + int *piVar10; + longlong ****pppplVar11; + longlong ****pppplVar12; + longlong ****pppplVar13; + undefined8 uVar14; + ushort *puVar15; + longlong **pplVar16; + longlong ***ppplVar17; + undefined1 local_res8 [8]; + longlong ****local_res18; + longlong ****local_res20; + longlong *local_1c8; + longlong *local_1c0; + longlong *local_1b8; + longlong ****local_1b0; + longlong ****local_1a8; + undefined *local_1a0; + undefined *local_198; + int *local_190; + undefined1 local_188; + int *local_180; + undefined1 local_178; + longlong *****local_170; + undefined1 local_168; + int *local_160; + undefined1 local_158; + longlong *****local_150; + undefined1 local_148; + longlong ****local_140; + undefined1 local_138; + int *local_130; + undefined1 local_128; + longlong *****local_120; + undefined1 local_118; + undefined8 local_110; + undefined4 local_d8; + uint uStack_d4; + undefined4 local_d0; + uint uStack_cc; + exception local_c8 [72]; + exception local_80 [72]; + + local_110 = 0xfffffffffffffffe; + local_140 = param_1 + 0x95; + FUN_14003d040((int *)local_140); + local_138 = 1; + pppplVar12 = param_1 + 1; + (*(code *)(*pppplVar12)[3])(pppplVar12); + LOCK(); + *(int *)(param_1 + 0xaa) = *(int *)(param_1 + 0xaa) + 1; + UNLOCK(); + pppplVar1 = param_1 + -0xe; + local_160 = (int *)(*(code *)(*pppplVar1)[0xb])(pppplVar1); + FUN_14003d040(local_160); + local_158 = 1; + local_res8[0] = 0; + pwVar6 = (wchar_t *)local_res8; + ppppplVar8 = (longlong *****)param_1; + iVar5 = (*(code *)(*param_1)[0x21])(); + if (iVar5 != 0) { + pwVar6 = FUN_1400923c0(iVar5); + FUN_14003db10(local_c8, + L"Wrong state(%s)! Disconnect() or GetServerConnectionState() may be required.", + pwVar6,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_c8,(ThrowInfo *)&DAT_14016c210); + } + pppplVar13 = (longlong ****)0x0; + if ((param_1[0xac] != (longlong ***)0x0) && (*param_1[0xac] != (longlong **)0x0)) { + FUN_14003e7c0(ppppplVar8,pwVar6,param_3,param_4); + local_res20 = (longlong ****)PTR_DAT_14016f010; + plVar7 = FUN_14003e4d0((longlong *)&local_1a0,pwVar6,param_3,param_4); + param_3 = (longlong *)*plVar7; + if (param_3 == (longlong *)0x0) { + param_3 = (longlong *)PTR_DAT_14016f010; + } + pwVar6 = L"Unstability in Connect #3! Process=%s"; + ppppplVar8 = &local_res20; + FUN_140029b80((longlong *)ppppplVar8,L"Unstability in Connect #3! Process=%s",param_3,param_4); + if (((local_1a0 != (undefined *)0x0) && (local_1a0 != PTR_DAT_14016f010)) && + (local_1a0 + -8 != (undefined *)0x0)) { + ppppplVar8 = (longlong *****)FUN_14003e7c0(ppppplVar8,pwVar6,param_3,param_4); + local_170 = ppppplVar8; + FUN_14003d040((int *)ppppplVar8); + local_168 = 1; + piVar9 = (int *)(local_1a0 + -4); + *piVar9 = *piVar9 + -1; + if (*piVar9 == 0) { + FUN_14003e8b0(local_1a0 + -8); + } + FUN_14003d0d0((longlong)ppppplVar8); + local_168 = 0; + } + local_1a0 = PTR_DAT_14016f010; + FUN_14003e7c0(ppppplVar8,pwVar6,param_3,param_4); + pppplVar11 = local_res20; + local_res18 = (longlong ****)PTR_DAT_14016f010; + if (PTR_DAT_14016f010 == (undefined *)0x0) { + local_res18 = pppplVar13; + } + if (local_res20 != (longlong ****)PTR_DAT_14016f010) { + piVar9 = (int *)FUN_14003e7c0(ppppplVar8,pwVar6,param_3,param_4); + local_190 = piVar9; + FUN_14003d040(piVar9); + local_188 = 1; + FUN_140002190((longlong *)&local_res18,pwVar6,param_3,param_4); + local_res18 = pppplVar11; + if (((pppplVar11 != (longlong ****)PTR_DAT_14016f010) && (pppplVar11 != (longlong ****)0x0)) + && (pppplVar11 != (longlong ****)0x8)) { + *(int *)((longlong)pppplVar11 + -4) = *(int *)((longlong)pppplVar11 + -4) + 1; + } + FUN_14003d0d0((longlong)piVar9); + local_188 = 0; + } + ppppplVar8 = &local_res18; + FUN_1400416f0((longlong *)ppppplVar8,pwVar6,param_3,param_4); + if (((pppplVar11 != (longlong ****)0x0) && (pppplVar11 != (longlong ****)PTR_DAT_14016f010)) && + (pppplVar11 + -1 != (longlong ****)0x0)) { + ppppplVar8 = (longlong *****)FUN_14003e7c0(ppppplVar8,pwVar6,param_3,param_4); + local_150 = ppppplVar8; + FUN_14003d040((int *)ppppplVar8); + local_148 = 1; + piVar9 = (int *)((longlong)pppplVar11 + -4); + *piVar9 = *piVar9 + -1; + if (*piVar9 == 0) { + FUN_14003e8b0(pppplVar11 + -1); + } + FUN_14003d0d0((longlong)ppppplVar8); + local_148 = 0; + } + local_res20 = (longlong ****)PTR_DAT_14016f010; + } + if (((param_1[0x296] != (longlong ***)0x0) && (*param_1[0x296] != (longlong **)0x0)) || + ((param_1[0x2a0] != (longlong ***)0x0 && (*param_1[0x2a0] != (longlong **)0x0)))) { + FUN_14003e7c0(ppppplVar8,pwVar6,param_3,param_4); + local_1a8 = (longlong ****)PTR_DAT_14016f010; + plVar7 = FUN_14003e4d0((longlong *)&local_198,pwVar6,param_3,param_4); + param_3 = (longlong *)*plVar7; + if (param_3 == (longlong *)0x0) { + param_3 = (longlong *)PTR_DAT_14016f010; + } + pwVar6 = L"Unstability in Connect #1! Process=%s"; + ppppplVar8 = &local_1a8; + FUN_140029b80((longlong *)ppppplVar8,L"Unstability in Connect #1! Process=%s",param_3,param_4); + if (((local_198 != (undefined *)0x0) && (local_198 != PTR_DAT_14016f010)) && + (local_198 + -8 != (undefined *)0x0)) { + ppppplVar8 = (longlong *****)FUN_14003e7c0(ppppplVar8,pwVar6,param_3,param_4); + local_120 = ppppplVar8; + FUN_14003d040((int *)ppppplVar8); + local_118 = 1; + piVar9 = (int *)(local_198 + -4); + *piVar9 = *piVar9 + -1; + if (*piVar9 == 0) { + FUN_14003e8b0(local_198 + -8); + } + FUN_14003d0d0((longlong)ppppplVar8); + local_118 = 0; + } + local_198 = PTR_DAT_14016f010; + FUN_14003e7c0(ppppplVar8,pwVar6,param_3,param_4); + pppplVar11 = local_1a8; + local_1b0 = (longlong ****)PTR_DAT_14016f010; + if (PTR_DAT_14016f010 == (undefined *)0x0) { + local_1b0 = pppplVar13; + } + if (local_1a8 != (longlong ****)PTR_DAT_14016f010) { + piVar9 = (int *)FUN_14003e7c0(ppppplVar8,pwVar6,param_3,param_4); + local_130 = piVar9; + FUN_14003d040(piVar9); + local_128 = 1; + FUN_140002190((longlong *)&local_1b0,pwVar6,param_3,param_4); + local_1b0 = pppplVar11; + if (((pppplVar11 != (longlong ****)PTR_DAT_14016f010) && (pppplVar11 != (longlong ****)0x0)) + && (pppplVar11 != (longlong ****)0x8)) { + *(int *)((longlong)pppplVar11 + -4) = *(int *)((longlong)pppplVar11 + -4) + 1; + } + FUN_14003d0d0((longlong)piVar9); + local_128 = 0; + } + ppppplVar8 = &local_1b0; + FUN_1400416f0((longlong *)ppppplVar8,pwVar6,param_3,param_4); + if (((pppplVar11 != (longlong ****)0x0) && (pppplVar11 != (longlong ****)PTR_DAT_14016f010)) && + (pppplVar11 + -1 != (longlong ****)0x0)) { + piVar10 = (int *)FUN_14003e7c0(ppppplVar8,pwVar6,param_3,param_4); + local_180 = piVar10; + FUN_14003d040(piVar10); + local_178 = 1; + piVar9 = (int *)((longlong)pppplVar11 + -4); + *piVar9 = *piVar9 + -1; + if (*piVar9 == 0) { + FUN_14003e8b0(pppplVar11 + -1); + } + FUN_14003d0d0((longlong)piVar10); + local_178 = 0; + } + local_1a8 = (longlong ****)PTR_DAT_14016f010; + } + puVar15 = (ushort *)*param_2; + if ((ushort *)*param_2 == (ushort *)0x0) { + puVar15 = (ushort *)PTR_DAT_14016f010; + } + iVar5 = FUN_14003e660(puVar15,0x140120cf0); + if (((iVar5 != 0) && ((short)param_2[1] != 0)) && ((short)param_2[1] != -1)) { + puVar15 = (ushort *)*param_2; + if ((ushort *)*param_2 == (ushort *)0x0) { + puVar15 = (ushort *)PTR_DAT_14016f010; + } + pwVar6 = L"255.255.255.255"; + iVar5 = FUN_14003e660(puVar15,0x140120cd0); + if (iVar5 != 0) { + ppplVar17 = (longlong ***)param_2[9]; + if ((double)param_2[9] <= 0.0) { + ppplVar17 = DAT_14016f1a0; + } + param_1[0x2fe] = ppplVar17; + FUN_14009a9f0((double *)(param_1 + 0x2e1)); + FUN_14009a9c0((double *)(param_1 + 0x301),(double)param_1[0x2fe]); + FUN_14009a9f0((double *)(param_1 + 0x301)); + FUN_14009a9f0((double *)(param_1 + 9)); + FUN_1400b0a90((longlong *)(param_1 + 0x2ae),(longlong *)pwVar6,param_3,param_4); + FUN_1400b0a90((longlong *)(param_1 + 0x2b2),(longlong *)pwVar6,param_3,param_4); + ppplVar17 = (longlong ***)(*(code *)(*param_1)[0x38])(param_1); + param_1[0x30a] = ppplVar17; + *(undefined1 *)(param_1 + 0xbc) = 0; + ppplVar17 = (longlong ***)FUN_14003e970(); + param_1[0xba] = ppplVar17; + param_1[0xbb] = DAT_14016f090; + cVar4 = FUN_140048a20((longlong)(param_1 + 0x2b6)); + if (cVar4 == '\0') { + FUN_140048920((char *)(param_1 + 0x2b6)); + } + FUN_1400488d0((char *)(param_1 + 0x2b6)); + uStack_d4 = uStack_d4 & 0xffffff00; + local_d8 = 0; + local_d0 = 0; + param_1[0xbd] = (longlong ***)0x0; + param_1[0xbe] = (longlong ***)0x0; + param_1[0xbf] = (longlong ***)0x0; + param_1[0xc0] = (longlong ***)0x0; + param_1[0xc1] = (longlong ***)0x0; + param_1[0xc2] = (longlong ***)0x0; + param_1[0xc3] = (longlong ***)((ulonglong)uStack_d4 << 0x20); + param_1[0xc4] = (longlong ***)((ulonglong)uStack_cc << 0x20); + ppplVar17 = (longlong ***)(*(code *)(*param_1)[0x38])(param_1); + param_1[699] = ppplVar17; + *(undefined4 *)(param_1 + 0xd2) = 0; + param_1[0xab] = (longlong ***)0x0; + *(undefined4 *)((longlong)param_1 + 0x47c) = 0; + param_1[0x90] = (longlong ***)0x0; + param_1[0x91] = (longlong ***)0x0; + param_1[0x92] = (longlong ***)0x0; + *(undefined4 *)(param_1 + 0x2a1) = 0; + param_1[0x304] = (longlong ***)0x0; + *(undefined4 *)(param_1 + 0x8d) = 0; + local_1b8 = operator_new(0x200); + pppplVar11 = pppplVar13; + if (local_1b8 != (longlong *)0x0) { + if (pppplVar1 != (longlong ****)0x0) { + pppplVar11 = pppplVar12; + } + pppplVar11 = (longlong ****)FUN_1400ced80(local_1b8,(longlong *)pppplVar11,param_3,param_4); + } + if ((pppplVar11 == (longlong ****)0x0) || (pppplVar11 + 8 == (longlong ****)0x0)) { + local_1b8 = (longlong *)0x0; + } + else { + local_1b8 = (longlong *)FUN_14003e840(0x10); + local_1b8[1] = 1; + *local_1b8 = (longlong)(pppplVar11 + 8); + } + plVar7 = local_1b8; + FUN_14009d860((longlong *)(param_1 + 0x2ad),(longlong *)&local_1b8); + plVar3 = local_1b8; + if (plVar7 != (longlong *)0x0) { + plVar7 = plVar7 + 1; + *plVar7 = *plVar7 + -1; + if (*plVar7 == 0) { + puVar2 = (undefined8 *)*local_1b8; + if (puVar2 != (undefined8 *)0x0) { + (**(code **)*puVar2)(puVar2,1); + } + FUN_14003e8b0(plVar3); + } + } + *(undefined1 *)(param_1 + 0x8f) = 0; + FUN_14009db30((longlong *)(param_1 + 0x2a3),param_2,(SIZE_T)param_3,param_4); + plVar7 = FUN_14009e780((longlong *)(param_1 + 0x2a3)); + plVar7 = FUN_14009d4d0(plVar7); + FUN_1400020c0((longlong *)(param_1 + 0x2a3),plVar7,param_3,param_4); + ppplVar17 = param_1[0x2a3]; + if (((ppplVar17 == (longlong ***)0x0) || (ppplVar17 == (longlong ***)PTR_DAT_14016f010)) || + (*(int *)(ppplVar17 + -1) == 0)) { + FUN_140005dd0((longlong *)(param_1 + 0x2a3),L"localhost",param_3,param_4); + } + local_1c8 = operator_new(0x240); + pppplVar12 = pppplVar13; + if (local_1c8 != (longlong *)0x0) { + pppplVar12 = (longlong ****)FUN_1400c81b0(local_1c8,(longlong)pppplVar1); + } + if (pppplVar12 == (longlong ****)0x0) { + local_1c8 = (longlong *)0x0; + } + else { + local_1c8 = (longlong *)FUN_14003e840(0x10); + local_1c8[1] = 1; + *local_1c8 = (longlong)pppplVar12; + } + plVar7 = local_1c8; + FUN_14009d7e0((longlong *)(param_1 + 0x2a0),(longlong *)&local_1c8); + plVar3 = local_1c8; + if (plVar7 != (longlong *)0x0) { + plVar7 = plVar7 + 1; + *plVar7 = *plVar7 + -1; + if (*plVar7 == 0) { + operator_delete((void *)*local_1c8); + FUN_14003e8b0(plVar3); + } + } + local_1c0 = operator_new(0x140); + if (local_1c0 != (longlong *)0x0) { + pppplVar13 = (longlong ****)FUN_1400bfb60(local_1c0,(longlong)pppplVar1,param_3,param_4); + } + if (pppplVar13 == (longlong ****)0x0) { + local_1c0 = (longlong *)0x0; + } + else { + local_1c0 = (longlong *)FUN_14003e840(0x10); + local_1c0[1] = 1; + *local_1c0 = (longlong)pppplVar13; + } + plVar7 = local_1c0; + pplVar16 = &local_1c0; + FUN_14009e820((longlong *)(param_1 + 0xac),(longlong *)pplVar16); + plVar3 = local_1c0; + if (plVar7 != (longlong *)0x0) { + plVar7 = plVar7 + 1; + *plVar7 = *plVar7 + -1; + if (*plVar7 == 0) { + plVar7 = (longlong *)*local_1c0; + if (plVar7 != (longlong *)0x0) { + FUN_1400c0900(plVar7,pplVar16,(ulonglong)param_3,param_4); + operator_delete(plVar7); + } + FUN_14003e8b0(plVar3); + } + } + FUN_14003d0d0((longlong)local_160); + uVar14 = FUN_14003d0d0((longlong)local_140); + return CONCAT71((int7)((ulonglong)uVar14 >> 8),1); + } + } + pwVar6 = (wchar_t *)FUN_140071b40(0xe); + FUN_14003db10(local_80,pwVar6,param_3,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_80,(ThrowInfo *)&DAT_14016c210); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b1510.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b1510.c new file mode 100644 index 00000000..9e78bf38 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b1510.c @@ -0,0 +1,174 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b1510 FUN_1400b1510 + * Pseudocode, not original source. */ + +void FUN_1400b1510(longlong *param_1,undefined8 param_2,undefined8 param_3,ulonglong param_4) + +{ + longlong *plVar1; + undefined8 *puVar2; + longlong lVar3; + longlong *plVar4; + undefined ***pppuVar5; + longlong local_res10 [2]; + longlong *local_res20; + undefined **local_70; + undefined8 local_68; + undefined8 local_60; + undefined8 local_58; + undefined8 local_50; + + *param_1 = (longlong)Proud::CNetClientImpl::vftable; + param_1[0xc] = (longlong)Proud::CNetClientImpl::vftable; + param_1[0xd] = (longlong)Proud::CNetClientImpl::vftable; + plVar4 = param_1 + 0xe; + *plVar4 = (longlong)Proud::CNetClientImpl::vftable; + param_1[0xf] = (longlong)Proud::CNetClientImpl::vftable; + param_1[0x11] = (longlong)Proud::CNetClientImpl::vftable; + param_1[0x12] = (longlong)Proud::CNetClientImpl::vftable; + param_1[0x13] = (longlong)Proud::CNetClientImpl::vftable; + lVar3 = 0; + local_68 = 0; + local_60 = 0; + local_58 = 0; + local_50 = 0; + local_70 = Proud::ByteArray::vftable; + pppuVar5 = &local_70; + (**(code **)(*plVar4 + 0x80))(plVar4,DAT_14016f130,pppuVar5,param_4,0xfffffffffffffffe); + FUN_140049e40(&local_70); + FUN_1400774a0((longlong)param_1,param_2,pppuVar5,param_4); + if (param_1[0xbb] != 0) { + lVar3 = *(longlong *)(param_1[0xbb] + 0x38); + } + FUN_14003d040((int *)(lVar3 + 0x10)); + FUN_1400b04c0((char *)(param_1 + 0xbc)); + local_res10[0] = 0; + plVar4 = local_res10; + FUN_14009d7e0(param_1 + 0x2ae,plVar4); + FUN_1400b0a90(param_1 + 700,plVar4,pppuVar5,param_4); + FUN_1400b0a90(param_1 + 0x2c0,plVar4,pppuVar5,param_4); + FUN_1400a91d0(param_1 + 0x2e0); + FUN_1400a93a0(param_1 + 0x2a6); + FUN_1400a93a0(param_1 + 0xdc); + FUN_1400aad70((char *)(param_1 + 0x2ca)); + local_res10[1] = 0; + plVar4 = local_res10 + 1; + FUN_14009d860(param_1 + 0x2a4,plVar4); + if ((longlong *)param_1[0x16] != (longlong *)0x0) { + plVar4 = param_1; + FUN_14009b880((longlong *)param_1[0x16],(longlong)param_1,pppuVar5,param_4); + } + FUN_14003d0d0(lVar3 + 0x10); + if ((undefined8 *)param_1[0xb] != (undefined8 *)0x0) { + plVar4 = (longlong *)0x1; + (*(code *)**(undefined8 **)param_1[0xb])(); + } + param_1[0xb] = 0; + FUN_140079b90(param_1 + 0x307); + FUN_1400768c0(param_1 + 0x303); + FUN_140079b90(param_1 + 0x2fe); + FUN_1400768c0(param_1 + 0x2fa); + FUN_1400a9440(param_1 + 0x2f6,plVar4,pppuVar5,param_4); + if ((undefined8 *)param_1[0x2f6] != (undefined8 *)0x0) { + plVar4 = (longlong *)0x1; + (*(code *)**(undefined8 **)param_1[0x2f6])(); + } + FUN_1400ac810((char *)(param_1 + 0x2e4)); + FUN_1400a91d0(param_1 + 0x2e0); + if ((undefined8 *)param_1[0x2e0] != (undefined8 *)0x0) { + plVar4 = (longlong *)0x1; + (*(code *)**(undefined8 **)param_1[0x2e0])(); + } + FUN_1400ac810((char *)(param_1 + 0x2d5)); + FUN_1400ac810((char *)(param_1 + 0x2ca)); + FUN_1400b0a90(param_1 + 0x2c0,plVar4,pppuVar5,param_4); + if ((undefined8 *)param_1[0x2c0] != (undefined8 *)0x0) { + plVar4 = (longlong *)0x1; + (*(code *)**(undefined8 **)param_1[0x2c0])(); + } + FUN_1400b0a90(param_1 + 700,plVar4,pppuVar5,param_4); + if ((undefined8 *)param_1[700] != (undefined8 *)0x0) { + plVar4 = (longlong *)0x1; + (*(code *)**(undefined8 **)param_1[700])(); + } + if ((param_1[699] != 0) && + (*(longlong *)(param_1[699] + 8) = *(longlong *)(param_1[699] + 8) + -1, + *(longlong *)(param_1[699] + 8) == 0)) { + plVar1 = (longlong *)param_1[699]; + puVar2 = (undefined8 *)*plVar1; + if (puVar2 != (undefined8 *)0x0) { + plVar4 = (longlong *)0x1; + (**(code **)*puVar2)(); + } + FUN_14003e8b0(plVar1); + } + local_res20 = param_1 + 0x2b1; + FUN_140049e40(param_1 + 0x2b5); + FUN_140002190(param_1 + 0x2b1,plVar4,pppuVar5,param_4); + if ((param_1[0x2ae] != 0) && + (*(longlong *)(param_1[0x2ae] + 8) = *(longlong *)(param_1[0x2ae] + 8) + -1, + *(longlong *)(param_1[0x2ae] + 8) == 0)) { + puVar2 = (undefined8 *)param_1[0x2ae]; + operator_delete((void *)*puVar2); + FUN_14003e8b0(puVar2); + } + param_1[0x2ac] = 0; + param_1[0x2ab] = (longlong)Proud::IP2PGroupMember::vftable; + param_1[0x2aa] = (longlong)Proud::ISendDest_C::vftable; + FUN_1400a93a0(param_1 + 0x2a6); + if ((undefined8 *)param_1[0x2a6] != (undefined8 *)0x0) { + plVar4 = (longlong *)0x1; + (*(code *)**(undefined8 **)param_1[0x2a6])(); + } + if ((param_1[0x2a4] != 0) && + (*(longlong *)(param_1[0x2a4] + 8) = *(longlong *)(param_1[0x2a4] + 8) + -1, + *(longlong *)(param_1[0x2a4] + 8) == 0)) { + plVar1 = (longlong *)param_1[0x2a4]; + puVar2 = (undefined8 *)*plVar1; + if (puVar2 != (undefined8 *)0x0) { + plVar4 = (longlong *)0x1; + (**(code **)*puVar2)(); + } + FUN_14003e8b0(plVar1); + } + FUN_140048130(param_1 + 0x161,plVar4,pppuVar5,param_4); + FUN_140049e40(param_1 + 0x15b); + FUN_1400a93a0(param_1 + 0xdc); + if ((undefined8 *)param_1[0xdc] != (undefined8 *)0x0) { + plVar4 = (longlong *)0x1; + (*(code *)**(undefined8 **)param_1[0xdc])(); + } + FUN_1400b0650((char *)(param_1 + 0xbc)); + FUN_14009d3d0(param_1 + 0xbb,plVar4,pppuVar5,param_4); + if ((param_1[0xba] != 0) && + (*(longlong *)(param_1[0xba] + 8) = *(longlong *)(param_1[0xba] + 8) + -1, + *(longlong *)(param_1[0xba] + 8) == 0)) { + puVar2 = (undefined8 *)param_1[0xba]; + plVar1 = (longlong *)*puVar2; + if (plVar1 != (longlong *)0x0) { + FUN_1400c0900(plVar1,plVar4,(ulonglong)pppuVar5,param_4); + operator_delete(plVar1); + } + FUN_14003e8b0(puVar2); + } + FUN_14003d110((undefined4 *)(param_1 + 0xa3),plVar4,pppuVar5,param_4); + if ((undefined8 *)param_1[0x9c] != (undefined8 *)0x0) { + plVar4 = (longlong *)0x1; + (*(code *)**(undefined8 **)param_1[0x9c])(); + } + FUN_140049e40(param_1 + 0x95); + param_1[0x13] = (longlong)Proud::IVizAgentDg::vftable; + if ((longlong *)param_1[0x16] != (longlong *)0x0) { + plVar4 = param_1; + FUN_14009b880((longlong *)param_1[0x16],(longlong)param_1,pppuVar5,param_4); + } + param_1[0x12] = (longlong)Proud::IUdpPacketFragBoardDg::vftable; + param_1[0x11] = (longlong)Proud::IUdpPacketDefragBoardDg::vftable; + param_1[0xf] = (longlong)Proud::IFastSocketDelegate::vftable; + param_1[0xe] = (longlong)Proud::IRmiHost::vftable; + param_1[0xd] = (longlong)Proud::IP2PGroupMember::vftable; + param_1[0xc] = (longlong)Proud::ISendDest_C::vftable; + FUN_140077140(param_1,plVar4,pppuVar5,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b1a60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b1a60.c new file mode 100644 index 00000000..37886f2d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b1a60.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b1a60 FUN_1400b1a60 + * Pseudocode, not original source. */ + +undefined8 FUN_1400b1a60(longlong param_1) + +{ + return *(undefined8 *)(param_1 + 0x480); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b1a70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b1a70.c new file mode 100644 index 00000000..d39e96e4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b1a70.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b1a70 FUN_1400b1a70 + * Pseudocode, not original source. */ + +undefined4 FUN_1400b1a70(longlong param_1) + +{ + return *(undefined4 *)(param_1 + 0x1518); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b1a80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b1a80.c new file mode 100644 index 00000000..0e3146b7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b1a80.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b1a80 FUN_1400b1a80 + * Pseudocode, not original source. */ + +undefined8 FUN_1400b1a80(longlong param_1) + +{ + return *(undefined8 *)(param_1 + 0x488); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b1aa0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b1aa0.c new file mode 100644 index 00000000..738631ba --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b1aa0.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b1aa0 FUN_1400b1aa0 + * Pseudocode, not original source. */ + +void FUN_1400b1aa0(longlong param_1,undefined8 param_2,ulonglong param_3,longlong param_4, + undefined8 param_5,int param_6) + +{ + FUN_140077900((longlong *)(param_1 + -0x70),param_2,param_3,param_4,param_5,param_6); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b1ad0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b1ad0.c new file mode 100644 index 00000000..83764e7c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b1ad0.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b1ad0 FUN_1400b1ad0 + * Pseudocode, not original source. */ + +longlong FUN_1400b1ad0(longlong param_1) + +{ + return param_1 + -0x98; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b1ae0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b1ae0.c new file mode 100644 index 00000000..d05672c9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b1ae0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b1ae0 FUN_1400b1ae0 + * Pseudocode, not original source. */ + +void FUN_1400b1ae0(longlong param_1,ulonglong param_2,undefined8 param_3,ulonglong param_4) + +{ + FUN_1400b4a50((longlong *)(param_1 + -0x90),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b1af0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b1af0.c new file mode 100644 index 00000000..6c0ee629 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b1af0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b1af0 FUN_1400b1af0 + * Pseudocode, not original source. */ + +void FUN_1400b1af0(longlong param_1,longlong *param_2,undefined8 param_3,longlong param_4) + +{ + thunk_FUN_140077740((longlong *)(param_1 + -0x70),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b1b00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b1b00.c new file mode 100644 index 00000000..53394e17 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b1b00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b1b00 FUN_1400b1b00 + * Pseudocode, not original source. */ + +void FUN_1400b1b00(longlong param_1) + +{ + FUN_14009b820(param_1 + -0x88); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b1b10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b1b10.c new file mode 100644 index 00000000..d553cc7c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b1b10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b1b10 FUN_1400b1b10 + * Pseudocode, not original source. */ + +void FUN_1400b1b10(longlong param_1,ulonglong param_2,undefined8 param_3,ulonglong param_4) + +{ + FUN_1400b4a50((longlong *)(param_1 + -0x78),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b1b20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b1b20.c new file mode 100644 index 00000000..9bf00e48 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b1b20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b1b20 FUN_1400b1b20 + * Pseudocode, not original source. */ + +void FUN_1400b1b20(longlong param_1,ulonglong param_2,undefined8 param_3,ulonglong param_4) + +{ + FUN_1400b4a50((longlong *)(param_1 + -0x98),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b1b30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b1b30.c new file mode 100644 index 00000000..a4dde224 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b1b30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b1b30 FUN_1400b1b30 + * Pseudocode, not original source. */ + +void FUN_1400b1b30(longlong param_1,longlong param_2,undefined8 param_3,longlong param_4) + +{ + thunk_FUN_1400771f0((longlong *)(param_1 + -0x70),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b1b40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b1b40.c new file mode 100644 index 00000000..600e1a67 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b1b40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b1b40 FUN_1400b1b40 + * Pseudocode, not original source. */ + +void FUN_1400b1b40(longlong param_1) + +{ + FUN_14009b820(param_1 + -0x70); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b1b50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b1b50.c new file mode 100644 index 00000000..63a28342 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b1b50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b1b50 FUN_1400b1b50 + * Pseudocode, not original source. */ + +void FUN_1400b1b50(longlong param_1,ulonglong param_2,undefined8 param_3,ulonglong param_4) + +{ + FUN_1400b4a50((longlong *)(param_1 + -0x60),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b1b60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b1b60.c new file mode 100644 index 00000000..11cc308f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b1b60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b1b60 FUN_1400b1b60 + * Pseudocode, not original source. */ + +void FUN_1400b1b60(longlong param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140076fb0(param_1 + -0x70,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b1b70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b1b70.c new file mode 100644 index 00000000..f5188df0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b1b70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b1b70 FUN_1400b1b70 + * Pseudocode, not original source. */ + +void FUN_1400b1b70(longlong param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140077540((longlong *)(param_1 + -0x70),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b1b80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b1b80.c new file mode 100644 index 00000000..d7de8d9d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b1b80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b1b80 FUN_1400b1b80 + * Pseudocode, not original source. */ + +void FUN_1400b1b80(longlong param_1,ulonglong param_2,undefined8 param_3,ulonglong param_4) + +{ + FUN_1400b4a50((longlong *)(param_1 + -0x68),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b1b90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b1b90.c new file mode 100644 index 00000000..4c9f3921 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b1b90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b1b90 FUN_1400b1b90 + * Pseudocode, not original source. */ + +void FUN_1400b1b90(longlong param_1,ulonglong param_2,undefined8 param_3,ulonglong param_4) + +{ + FUN_1400b4a50((longlong *)(param_1 + -0x88),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b1ba0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b1ba0.c new file mode 100644 index 00000000..9e5260ed --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b1ba0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b1ba0 FUN_1400b1ba0 + * Pseudocode, not original source. */ + +void FUN_1400b1ba0(longlong param_1,longlong param_2) + +{ + thunk_FUN_140077350(param_1 + -0x70,param_2); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b1bb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b1bb0.c new file mode 100644 index 00000000..3ac5d396 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b1bb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b1bb0 FUN_1400b1bb0 + * Pseudocode, not original source. */ + +void FUN_1400b1bb0(void) + +{ + thunk_FUN_140079c10(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b1bc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b1bc0.c new file mode 100644 index 00000000..4ff871da --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b1bc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b1bc0 FUN_1400b1bc0 + * Pseudocode, not original source. */ + +void FUN_1400b1bc0(longlong param_1) + +{ + FUN_1400b1a70(param_1 + -8); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b1bd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b1bd0.c new file mode 100644 index 00000000..70a83db6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b1bd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b1bd0 FUN_1400b1bd0 + * Pseudocode, not original source. */ + +void FUN_1400b1bd0(longlong param_1,ulonglong param_2,undefined8 param_3,ulonglong param_4) + +{ + FUN_1400b4a50((longlong *)(param_1 + -0x70),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b1be0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b1be0.c new file mode 100644 index 00000000..c0bbddea --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b1be0.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b1be0 FUN_1400b1be0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400b1be0(longlong param_1) + +{ + return *(undefined8 *)(param_1 + 0x458); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b1bf0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b1bf0.c new file mode 100644 index 00000000..536a1342 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b1bf0.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b1bf0 FUN_1400b1bf0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400b1bf0(longlong param_1) + +{ + if (*(undefined8 **)(param_1 + 0x558) != (undefined8 *)0x0) { + return **(undefined8 **)(param_1 + 0x558); + } + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b1c10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b1c10.c new file mode 100644 index 00000000..8166e8f6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b1c10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b1c10 FUN_1400b1c10 + * Pseudocode, not original source. */ + +void FUN_1400b1c10(longlong param_1) + +{ + FUN_14009bee0(param_1 + -0x18); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b1c20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b1c20.c new file mode 100644 index 00000000..fc6fc412 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b1c20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b1c20 FUN_1400b1c20 + * Pseudocode, not original source. */ + +void FUN_1400b1c20(longlong param_1) + +{ + FUN_14009c250(param_1 + -0x70); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b1c30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b1c30.c new file mode 100644 index 00000000..596e9302 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b1c30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b1c30 FUN_1400b1c30 + * Pseudocode, not original source. */ + +void FUN_1400b1c30(longlong param_1) + +{ + FUN_14009bee0(param_1 + -0x20); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b1c40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b1c40.c new file mode 100644 index 00000000..185cf480 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b1c40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b1c40 FUN_1400b1c40 + * Pseudocode, not original source. */ + +void FUN_1400b1c40(longlong param_1) + +{ + FUN_14009bf60((longlong *)(param_1 + -0x88)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b1c50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b1c50.c new file mode 100644 index 00000000..405754b0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b1c50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b1c50 FUN_1400b1c50 + * Pseudocode, not original source. */ + +void FUN_1400b1c50(longlong param_1) + +{ + FUN_14009bee0(param_1 + -8); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b1c60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b1c60.c new file mode 100644 index 00000000..9cff310b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b1c60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b1c60 FUN_1400b1c60 + * Pseudocode, not original source. */ + +void FUN_1400b1c60(longlong param_1) + +{ + FUN_14009bee0(param_1 + -0x28); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b1c70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b1c70.c new file mode 100644 index 00000000..d7716978 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b1c70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b1c70 FUN_1400b1c70 + * Pseudocode, not original source. */ + +void FUN_1400b1c70(longlong param_1,longlong *param_2,int *param_3,uint *param_4,uint param_5) + +{ + FUN_14009bf30((longlong *)(param_1 + -0x70),param_2,param_3,param_4,param_5); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b1c80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b1c80.c new file mode 100644 index 00000000..7c1608e5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b1c80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b1c80 FUN_1400b1c80 + * Pseudocode, not original source. */ + +void FUN_1400b1c80(longlong param_1,short *param_2,uint param_3,longlong *param_4) + +{ + FUN_14009c500(param_1 + -0x70,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b1c90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b1c90.c new file mode 100644 index 00000000..38b37e06 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b1c90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b1c90 FUN_1400b1c90 + * Pseudocode, not original source. */ + +void FUN_1400b1c90(longlong param_1) + +{ + FUN_14009bf60((longlong *)(param_1 + -0x70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b1ca0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b1ca0.c new file mode 100644 index 00000000..fd634f7c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b1ca0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b1ca0 FUN_1400b1ca0 + * Pseudocode, not original source. */ + +void FUN_1400b1ca0(longlong param_1,undefined8 param_2,undefined8 param_3,short *param_4) + +{ + FUN_1400a6d80(param_1 + -0x70,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b1cb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b1cb0.c new file mode 100644 index 00000000..a43f2a4b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b1cb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b1cb0 FUN_1400b1cb0 + * Pseudocode, not original source. */ + +void FUN_1400b1cb0(longlong param_1,undefined8 *param_2,undefined8 param_3,longlong param_4) + +{ + FUN_1400a6c00(param_1 + -0x70,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b1cc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b1cc0.c new file mode 100644 index 00000000..1d35b75d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b1cc0.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b1cc0 FUN_1400b1cc0 + * Pseudocode, not original source. */ + +void FUN_1400b1cc0(longlong *param_1,ulonglong *param_2,undefined8 param_3,undefined8 param_4) + +{ + ulonglong *puVar1; + ulonglong local_res18 [2]; + + local_res18[0] = 0; + FUN_14005d770(local_res18,param_2,param_3,param_4); + puVar1 = local_res18; + FUN_140077c70(param_1,(longlong *)puVar1,param_3,param_4); + FUN_140038280((longlong *)param_2,puVar1,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b1d20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b1d20.c new file mode 100644 index 00000000..4f9fdc39 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b1d20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b1d20 FUN_1400b1d20 + * Pseudocode, not original source. */ + +void FUN_1400b1d20(longlong param_1,ulonglong *param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400b1cc0((longlong *)(param_1 + -0x70),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b1d30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b1d30.c new file mode 100644 index 00000000..f5c3ca4f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b1d30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b1d30 FUN_1400b1d30 + * Pseudocode, not original source. */ + +void FUN_1400b1d30(longlong param_1,uint param_2,uint *param_3,longlong *param_4) + +{ + FUN_1400b0310((longlong *)(param_1 + -0x70),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b1d40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b1d40.c new file mode 100644 index 00000000..b1b4f4f7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b1d40.c @@ -0,0 +1,55 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b1d40 FUN_1400b1d40 + * Pseudocode, not original source. */ + +void FUN_1400b1d40(longlong *param_1,undefined4 *param_2,SIZE_T param_3,undefined8 param_4) + +{ + int *piVar1; + undefined8 *puVar2; + undefined4 *puVar3; + SIZE_T SVar4; + undefined8 uVar5; + undefined4 local_140 [2]; + undefined4 local_138 [2]; + longlong local_130; + longlong local_128; + int local_11c; + undefined4 local_110; + undefined **local_108; + undefined4 local_100; + undefined2 local_fc; + undefined1 local_f8; + undefined4 local_f0 [58]; + + piVar1 = (int *)(**(code **)(*param_1 + 0x58))(); + FUN_14003d040(piVar1); + local_140[0] = 0; + FUN_140074fb0(local_138); + local_108 = Proud::AddrPort::vftable; + local_f8 = 0; + local_110 = 0; + local_100 = DAT_14016f3d0; + local_fc = DAT_14016f3d4; + FUN_1400660e0(local_f0,param_2,param_3,param_4); + uVar5 = 0; + SVar4 = param_1[0x2be]; + puVar3 = local_140; + puVar2 = FUN_1400b0b40(param_1 + 700,puVar3,SVar4,0); + if ((undefined8 *)param_1[0x2be] == (undefined8 *)0x0) { + param_1[0x2bd] = (longlong)puVar2; + } + else { + *(undefined8 *)param_1[0x2be] = puVar2; + } + param_1[0x2be] = (longlong)puVar2; + FUN_1400645f0((longlong)local_f0,puVar3,SVar4,uVar5); + FUN_14008a320(&local_130); + if ((local_128 != 0) && (local_11c < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + FUN_14003d0d0((longlong)piVar1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b1e70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b1e70.c new file mode 100644 index 00000000..b0305960 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b1e70.c @@ -0,0 +1,97 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b1e70 FUN_1400b1e70 + * Pseudocode, not original source. */ + +void FUN_1400b1e70(longlong *param_1,ulonglong *param_2,SIZE_T param_3,undefined8 param_4) + +{ + ulonglong uVar1; + longlong lVar2; + longlong lVar3; + undefined4 *puVar4; + undefined4 local_118 [2]; + ulonglong local_110 [2]; + longlong local_100 [2]; + undefined **local_f0; + undefined8 local_e8; + undefined8 local_e0; + undefined8 local_d8; + undefined8 local_d0; + longlong local_c8; + longlong local_c0; + ulonglong local_b8; + undefined4 local_a8; + undefined **local_a0; + undefined8 local_98; + undefined8 local_90; + undefined8 local_88; + undefined8 local_80; + undefined **local_70; + undefined4 local_68; + undefined2 local_64; + undefined **local_58; + undefined8 local_50; + undefined8 local_48; + undefined8 local_40; + undefined8 local_38; + undefined8 local_28; + + local_28 = 0xfffffffffffffffe; + lVar3 = 0; + local_110[0] = 0; + local_100[0] = 0; + local_100[1] = 0; + local_e8 = 0; + local_e0 = 0; + local_d8 = 0; + local_d0 = 0; + local_f0 = Proud::ByteArray::vftable; + local_b8 = 0; + local_c0 = 0; + local_c8 = 0; + local_98 = 0; + local_90 = 0; + local_88 = 0; + local_80 = 0; + local_a0 = Proud::ByteArray::vftable; + local_70 = Proud::AddrPort::vftable; + local_68 = 0; + local_64 = 0; + local_50 = 0; + local_48 = 0; + local_40 = 0; + local_38 = 0; + local_58 = Proud::ByteArray::vftable; + local_118[0] = 0x14; + FUN_14005d770(local_110,param_2,param_3,param_4); + uVar1 = *param_2; + lVar2 = lVar3; + if (uVar1 != 0) { + lVar2 = *(longlong *)(uVar1 + 0x38); + } + local_a8 = *(undefined4 *)(lVar2 + 0xc); + if (uVar1 != 0) { + lVar3 = *(longlong *)(uVar1 + 0x38); + } + local_68 = *(undefined4 *)(lVar3 + 0x20); + local_64 = *(undefined2 *)(lVar3 + 0x24); + puVar4 = local_118; + FUN_1400b1d40(param_1,puVar4,param_3,param_4); + FUN_140049e40(&local_58); + FUN_140049e40(&local_a0); + FUN_14008a320(&local_c8); + if (local_c0 != 0) { + if ((longlong)local_b8 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_b8 = local_b8 & 0xffffffff00000000; + } + FUN_140049e40(&local_f0); + FUN_1400641e0(local_100 + 1,puVar4,param_3,param_4); + FUN_140064160(local_100,puVar4,param_3,param_4); + FUN_140038280((longlong *)local_110,puVar4,param_3,param_4); + FUN_140038280((longlong *)param_2,puVar4,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b1ff0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b1ff0.c new file mode 100644 index 00000000..8f053e61 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b1ff0.c @@ -0,0 +1,97 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b1ff0 FUN_1400b1ff0 + * Pseudocode, not original source. */ + +void FUN_1400b1ff0(longlong *param_1,ulonglong *param_2,SIZE_T param_3,undefined8 param_4) + +{ + ulonglong uVar1; + longlong lVar2; + longlong lVar3; + undefined4 *puVar4; + undefined4 local_118 [2]; + ulonglong local_110 [2]; + longlong local_100 [2]; + undefined **local_f0; + undefined8 local_e8; + undefined8 local_e0; + undefined8 local_d8; + undefined8 local_d0; + longlong local_c8; + longlong local_c0; + ulonglong local_b8; + undefined4 local_a8; + undefined **local_a0; + undefined8 local_98; + undefined8 local_90; + undefined8 local_88; + undefined8 local_80; + undefined **local_70; + undefined4 local_68; + undefined2 local_64; + undefined **local_58; + undefined8 local_50; + undefined8 local_48; + undefined8 local_40; + undefined8 local_38; + undefined8 local_28; + + local_28 = 0xfffffffffffffffe; + lVar3 = 0; + local_110[0] = 0; + local_100[0] = 0; + local_100[1] = 0; + local_e8 = 0; + local_e0 = 0; + local_d8 = 0; + local_d0 = 0; + local_f0 = Proud::ByteArray::vftable; + local_b8 = 0; + local_c0 = 0; + local_c8 = 0; + local_98 = 0; + local_90 = 0; + local_88 = 0; + local_80 = 0; + local_a0 = Proud::ByteArray::vftable; + local_70 = Proud::AddrPort::vftable; + local_68 = 0; + local_64 = 0; + local_50 = 0; + local_48 = 0; + local_40 = 0; + local_38 = 0; + local_58 = Proud::ByteArray::vftable; + local_118[0] = 0x15; + FUN_14005d770(local_110,param_2,param_3,param_4); + uVar1 = *param_2; + lVar2 = lVar3; + if (uVar1 != 0) { + lVar2 = *(longlong *)(uVar1 + 0x38); + } + local_a8 = *(undefined4 *)(lVar2 + 0xc); + if (uVar1 != 0) { + lVar3 = *(longlong *)(uVar1 + 0x38); + } + local_68 = *(undefined4 *)(lVar3 + 0x20); + local_64 = *(undefined2 *)(lVar3 + 0x24); + puVar4 = local_118; + FUN_1400b1d40(param_1,puVar4,param_3,param_4); + FUN_140049e40(&local_58); + FUN_140049e40(&local_a0); + FUN_14008a320(&local_c8); + if (local_c0 != 0) { + if ((longlong)local_b8 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_b8 = local_b8 & 0xffffffff00000000; + } + FUN_140049e40(&local_f0); + FUN_1400641e0(local_100 + 1,puVar4,param_3,param_4); + FUN_140064160(local_100,puVar4,param_3,param_4); + FUN_140038280((longlong *)local_110,puVar4,param_3,param_4); + FUN_140038280((longlong *)param_2,puVar4,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b2170.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b2170.c new file mode 100644 index 00000000..7ac7f392 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b2170.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b2170 FUN_1400b2170 + * Pseudocode, not original source. */ + +void FUN_1400b2170(longlong *param_1,undefined4 *param_2) + +{ + int *piVar1; + undefined8 *puVar2; + SIZE_T SVar3; + undefined8 uVar4; + + piVar1 = (int *)(**(code **)(*param_1 + 0x58))(); + FUN_14003d040(piVar1); + uVar4 = 0; + SVar3 = param_1[0x2c2]; + puVar2 = FUN_1400b0b40(param_1 + 0x2c0,param_2,SVar3,0); + if ((undefined8 *)param_1[0x2c2] == (undefined8 *)0x0) { + param_1[0x2c1] = (longlong)puVar2; + } + else { + *(undefined8 *)param_1[0x2c2] = puVar2; + } + param_1[0x2c2] = (longlong)puVar2; + FUN_140074bb0(param_2 + 2,0,SVar3,uVar4); + FUN_14003d0d0((longlong)piVar1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b2210.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b2210.c new file mode 100644 index 00000000..58c34a6c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b2210.c @@ -0,0 +1,156 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b2210 FUN_1400b2210 + * Pseudocode, not original source. */ + +void FUN_1400b2210(longlong *param_1,undefined8 param_2,SIZE_T param_3,undefined8 param_4) + +{ + longlong lVar1; + LPVOID pvVar2; + bool bVar3; + int *piVar4; + int *piVar5; + int *piVar6; + undefined4 *puVar7; + undefined8 *puVar8; + undefined4 *puVar9; + undefined4 local_188 [4]; + longlong local_178; + longlong local_170; + int local_164; + int *local_130; + int *local_120; + int *local_118; + undefined8 local_110 [5]; + longlong local_e8; + longlong local_e0; + undefined4 local_d8; + int local_d4; + undefined8 local_c0 [9]; + undefined8 local_78 [7]; + + piVar6 = (int *)(**(code **)(*param_1 + 0x58))(); + FUN_14003d040(piVar6); + lVar1 = param_1[0x2c3]; + while( true ) { + if (lVar1 == 0) { + FUN_14003d0d0((longlong)piVar6); + return; + } + puVar9 = local_188; + puVar7 = FUN_1400b0a10(param_1 + 0x2c0,puVar9,param_3,param_4); + lVar1 = param_1[0x2be]; + if ((SIZE_T *)param_1[700] == (SIZE_T *)0x0) { + puVar8 = (undefined8 *)FUN_14003e840(0x148); + } + else { + param_3 = *(SIZE_T *)param_1[700]; + puVar9 = (undefined4 *)0x148; + puVar8 = (undefined8 *)(**(code **)(param_3 + 8))(); + } + if (puVar8 != (undefined8 *)0x0) { + *(undefined4 *)(puVar8 + 2) = *puVar7; + FUN_140074fe0((undefined4 *)(puVar8 + 3),puVar7 + 2); + *(undefined4 *)(puVar8 + 8) = puVar7[0xc]; + puVar8[9] = Proud::AddrPort::vftable; + *(undefined4 *)(puVar8 + 10) = puVar7[0x10]; + *(undefined2 *)((longlong)puVar8 + 0x54) = *(undefined2 *)(puVar7 + 0x11); + *(undefined1 *)(puVar8 + 0xb) = *(undefined1 *)(puVar7 + 0x12); + puVar9 = puVar7 + 0x14; + FUN_1400660e0((undefined4 *)(puVar8 + 0xc),puVar9,param_3,param_4); + } + puVar8[1] = lVar1; + *puVar8 = 0; + param_1[0x2bf] = param_1[0x2bf] + 1; + if ((undefined8 *)param_1[0x2be] == (undefined8 *)0x0) { + param_1[0x2bd] = (longlong)puVar8; + } + else { + *(undefined8 *)param_1[0x2be] = puVar8; + } + param_1[0x2be] = (longlong)puVar8; + FUN_140049e40(local_78); + FUN_140049e40(local_c0); + FUN_14008a320(&local_e8); + if (local_e0 != 0) { + if (local_d4 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_d8 = 0; + } + FUN_140049e40(local_110); + piVar4 = local_118; + if (local_118 != (int *)0x0) { + FUN_14003d040(local_118); + bVar3 = true; + *(longlong *)(local_118 + 0x10) = *(longlong *)(local_118 + 0x10) + -1; + if (*(longlong *)(local_118 + 0x10) == 0) { + FUN_14003d0d0((longlong)piVar4); + piVar5 = local_118; + bVar3 = false; + pvVar2 = *(LPVOID *)(local_118 + 0xe); + if (pvVar2 != (LPVOID)0x0) { + FUN_140051090((char *)((longlong)pvVar2 + 0x28)); + FUN_14003e8b0(pvVar2); + } + FUN_14003d110(piVar5,puVar9,param_3,param_4); + FUN_14003e8b0(piVar5); + } + if (bVar3) { + FUN_14003d0d0((longlong)piVar4); + } + } + piVar4 = local_120; + if (local_120 != (int *)0x0) { + FUN_14003d040(local_120); + bVar3 = true; + *(longlong *)(local_120 + 0x10) = *(longlong *)(local_120 + 0x10) + -1; + if (*(longlong *)(local_120 + 0x10) == 0) { + FUN_14003d0d0((longlong)piVar4); + piVar5 = local_120; + bVar3 = false; + pvVar2 = *(LPVOID *)(local_120 + 0xe); + if (pvVar2 != (LPVOID)0x0) { + FUN_140002190((longlong *)((longlong)pvVar2 + 0x98),puVar9,param_3,param_4); + FUN_140051090((char *)((longlong)pvVar2 + 0x38)); + FUN_14003e8b0(pvVar2); + } + FUN_14003d110(piVar5,puVar9,param_3,param_4); + FUN_14003e8b0(piVar5); + } + if (bVar3) { + FUN_14003d0d0((longlong)piVar4); + } + } + piVar4 = local_130; + if (local_130 != (int *)0x0) { + FUN_14003d040(local_130); + bVar3 = true; + *(longlong *)(local_130 + 0x10) = *(longlong *)(local_130 + 0x10) + -1; + if (*(longlong *)(local_130 + 0x10) == 0) { + FUN_14003d0d0((longlong)piVar4); + piVar5 = local_130; + bVar3 = false; + pvVar2 = *(LPVOID *)(local_130 + 0xe); + if (pvVar2 != (LPVOID)0x0) { + FUN_140002190((longlong *)((longlong)pvVar2 + 0x58),puVar9,param_3,param_4); + FUN_140049e40((undefined8 *)((longlong)pvVar2 + 0x28)); + FUN_140002190((longlong *)((longlong)pvVar2 + 0x10),puVar9,param_3,param_4); + FUN_14003e8b0(pvVar2); + } + FUN_14003d110(piVar5,puVar9,param_3,param_4); + FUN_14003e8b0(piVar5); + } + if (bVar3) { + FUN_14003d0d0((longlong)piVar4); + } + } + FUN_14008a320(&local_178); + if ((local_170 != 0) && (local_164 < 0)) break; + lVar1 = param_1[0x2c3]; + } + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b25d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b25d0.c new file mode 100644 index 00000000..f577daf3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b25d0.c @@ -0,0 +1,247 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b25d0 FUN_1400b25d0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* WARNING: Removing unreachable block (ram,0x0001400b2908) */ +/* WARNING: Removing unreachable block (ram,0x0001400b2809) */ +/* WARNING: Removing unreachable block (ram,0x0001400b2819) */ +/* WARNING: Removing unreachable block (ram,0x0001400b2913) */ +/* WARNING: Removing unreachable block (ram,0x0001400b282d) */ +/* WARNING: Removing unreachable block (ram,0x0001400b2835) */ +/* WARNING: Removing unreachable block (ram,0x0001400b283f) */ +/* WARNING: Removing unreachable block (ram,0x0001400b28fd) */ + +void FUN_1400b25d0(longlong param_1,char param_2,SIZE_T param_3,undefined8 param_4) + +{ + longlong *plVar1; + int *piVar2; + longlong *plVar3; + longlong *plVar4; + undefined8 *puVar5; + int *piVar6; + double *pdVar7; + longlong lVar8; + longlong *plVar9; + undefined8 uVar10; + longlong lVar11; + double dVar12; + undefined1 auStack_1a8 [40]; + longlong local_180; + longlong *local_178; + longlong local_170 [5]; + int *local_148; + undefined1 local_140; + undefined8 local_138; + undefined4 local_100; + uint uStack_fc; + undefined4 local_f8; + uint uStack_f4; + double local_f0 [3]; + double local_d8 [3]; + undefined4 local_c0 [14]; + undefined *local_88 [4]; + undefined8 local_68 [6]; + ulonglong local_38; + + local_138 = 0xfffffffffffffffe; + local_38 = DAT_14016f5a0 ^ (ulonglong)auStack_1a8; + (**(code **)(*(longlong *)(param_1 + 0x78) + 0x10))(); + lVar11 = 0; + local_170[3] = 0; + FUN_14009d7e0((longlong *)(param_1 + 0x1570),local_170 + 3); + if ((*(longlong **)(param_1 + 0x15d8) != (longlong *)0x0) && + (lVar8 = **(longlong **)(param_1 + 0x15d8), lVar8 != 0)) { + if (*(char *)(lVar8 + 0x40) == '\0') { + lVar8 = lVar11; + if (*(longlong **)(param_1 + 0x15d8) != (longlong *)0x0) { + lVar8 = **(longlong **)(param_1 + 0x15d8); + } + if (*(char *)(lVar8 + 0x80) == '\0') goto LAB_1400b26ab; + } + local_170[0] = 0; + FUN_14009d860(local_170,(longlong *)(param_1 + 0x15d8)); + lVar8 = lVar11; + if (*(longlong *)(param_1 + 0x5d8) != 0) { + lVar8 = *(longlong *)(*(longlong *)(param_1 + 0x5d8) + 0x38); + } + FUN_1400c4c60(lVar8,local_170); + } +LAB_1400b26ab: + if ((*(longlong **)(param_1 + 0x1520) != (longlong *)0x0) && + (lVar8 = **(longlong **)(param_1 + 0x1520), lVar8 != 0)) { + if (*(char *)(lVar8 + 0x40) == '\0') { + lVar8 = lVar11; + if (*(longlong **)(param_1 + 0x1520) != (longlong *)0x0) { + lVar8 = **(longlong **)(param_1 + 0x1520); + } + if (*(char *)(lVar8 + 0x80) == '\0') goto LAB_1400b271f; + } + local_170[1] = 0; + FUN_14009d860(local_170 + 1,(longlong *)(param_1 + 0x1520)); + lVar8 = lVar11; + if (*(longlong *)(param_1 + 0x5d8) != 0) { + lVar8 = *(longlong *)(*(longlong *)(param_1 + 0x5d8) + 0x38); + } + FUN_1400c4c60(lVar8,local_170 + 1); + } +LAB_1400b271f: + local_170[4] = 0; + FUN_14009d860((longlong *)(param_1 + 0x15d8),local_170 + 4); + local_170[2] = 0; + plVar9 = local_170 + 2; + FUN_14009d860((longlong *)(param_1 + 0x1520),plVar9); + FUN_1400ad8e0(param_1); + plVar3 = *(longlong **)(param_1 + 0x1708); + do { + if (plVar3 == (longlong *)0x0) { + FUN_1400a91d0((longlong *)(param_1 + 0x1700)); + if (param_2 != '\0') { + FUN_1400b0a90((longlong *)(param_1 + 0x15e0),plVar9,param_3,param_4); + } + FUN_140086090(param_1 + 0xd8); + uVar10 = 0; + FUN_14002a050(param_1 + 0x4a8,0,param_3); + *(undefined4 *)(param_1 + 0x4d8) = 0; + *(undefined1 *)(param_1 + 0x4e8) = 0; + *(undefined4 *)(param_1 + 0x4ec) = 0; + *(undefined8 *)(param_1 + 0x4f0) = 0; + *(undefined8 *)(param_1 + 0x4f8) = 0; + *(undefined8 *)(param_1 + 0x500) = 0; + *(undefined8 *)(param_1 + 0x5c8) = 0; + FUN_1400b04c0((char *)(param_1 + 0x5e0)); + dVar12 = FUN_14003e970(); + *(double *)(param_1 + 0x640) = dVar12; + *(undefined8 *)(param_1 + 0x648) = DAT_14016f090; + *(undefined8 *)(param_1 + 0x510) = DAT_14016f100; + *(undefined1 *)(param_1 + 0x650) = 0; + uStack_fc = uStack_fc & 0xffffff00; + local_100 = 0; + local_f8 = 0; + *(undefined8 *)(param_1 + 0x658) = 0; + *(undefined8 *)(param_1 + 0x660) = 0; + *(undefined8 *)(param_1 + 0x668) = 0; + *(undefined8 *)(param_1 + 0x670) = 0; + *(undefined8 *)(param_1 + 0x678) = 0; + *(undefined8 *)(param_1 + 0x680) = 0; + *(ulonglong *)(param_1 + 0x688) = (ulonglong)uStack_fc << 0x20; + *(ulonglong *)(param_1 + 0x690) = (ulonglong)uStack_f4 << 0x20; + *(undefined4 *)(param_1 + 0x698) = DAT_14016f110; + puVar5 = (undefined8 *)FUN_1400979a0(local_c0); + *(undefined8 *)(param_1 + 0x6a0) = *puVar5; + *(undefined8 *)(param_1 + 0x6a8) = puVar5[1]; + *(undefined8 *)(param_1 + 0x6b0) = puVar5[2]; + *(undefined8 *)(param_1 + 0x6b8) = puVar5[3]; + *(undefined8 *)(param_1 + 0x6c0) = puVar5[4]; + *(undefined8 *)(param_1 + 0x6c8) = puVar5[5]; + *(undefined4 *)(param_1 + 0x6d0) = 0; + *(undefined4 *)(param_1 + 0x6d4) = 0; + *(undefined4 *)(param_1 + 0x6d8) = 0; + *(undefined4 *)(param_1 + 0x6dc) = 0; + FUN_1400a93a0((longlong *)(param_1 + 0x6e0)); + *(undefined4 *)(param_1 + 0x700) = 0; + *(undefined1 *)(param_1 + 0x1528) = 0; + FUN_1400a93a0((longlong *)(param_1 + 0x1530)); + *(undefined4 *)(param_1 + 0x1578) = 0; + plVar9 = FUN_140049bd0(local_88,uVar10,param_3,param_4); + FUN_14009db30((longlong *)(param_1 + 0x1588),plVar9,param_3,param_4); + puVar5 = local_68; + FUN_140049e40(puVar5); + if (((local_88[0] != (undefined *)0x0) && (local_88[0] != PTR_DAT_14016f010)) && + (local_88[0] + -8 != (undefined *)0x0)) { + piVar6 = (int *)FUN_14003e7c0(puVar5,plVar9,param_3,param_4); + local_148 = piVar6; + FUN_14003d040(piVar6); + local_140 = 1; + piVar2 = (int *)(local_88[0] + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(local_88[0] + -8); + } + FUN_14003d0d0((longlong)piVar6); + local_140 = 0; + } + local_88[0] = PTR_DAT_14016f010; + FUN_1400b0a90((longlong *)(param_1 + 0x1600),plVar9,param_3,param_4); + FUN_140048920((char *)(param_1 + 0x1620)); + *(undefined8 *)(param_1 + 0x1648) = 0; + FUN_1400aad70((char *)(param_1 + 0x1650)); + FUN_1400aad70((char *)(param_1 + 0x16a8)); + pdVar7 = FUN_14009aa10(local_f0,DAT_14016f180); + *(double *)(param_1 + 0x1778) = *pdVar7; + *(double *)(param_1 + 0x1780) = pdVar7[1]; + *(double *)(param_1 + 0x1788) = pdVar7[2]; + pdVar7 = FUN_14009aa10(local_d8,DAT_14016f1a0); + *(double *)(param_1 + 0x1878) = *pdVar7; + *(double *)(param_1 + 0x1880) = pdVar7[1]; + *(double *)(param_1 + 0x1888) = pdVar7[2]; + *(undefined8 *)(param_1 + 0x1798) = 0x3ff0000000000000; + *(undefined8 *)(param_1 + 0x1890) = 0; + *(undefined8 *)(param_1 + 0x18c0) = 0; + *(undefined2 *)(param_1 + 0x18c8) = 0; + *(undefined1 *)(param_1 + 0x18ca) = 0; + *(undefined8 *)(param_1 + 0x1870) = 0; + *(undefined8 *)(param_1 + 0x17a0) = 0; + *(undefined8 *)(param_1 + 0x17a8) = 0; + *(undefined8 *)(param_1 + 0xd0) = 0; + return; + } + local_178 = (longlong *)0x0; + if (plVar3[2] != 0) { + *(longlong *)(plVar3[2] + 8) = *(longlong *)(plVar3[2] + 8) + 1; + local_178 = (longlong *)plVar3[2]; + } + lVar8 = lVar11; + if (local_178 != (longlong *)0x0) { + lVar8 = *local_178; + } + if (*(char *)(lVar8 + 0x40) == '\0') { + lVar8 = lVar11; + if (local_178 != (longlong *)0x0) { + lVar8 = *local_178; + } + if (*(char *)(lVar8 + 0x80) != '\0') goto code_r0x0001400b27df; + } + else { +code_r0x0001400b27df: + local_180 = 0; + if (plVar3[2] != 0) { + *(longlong *)(plVar3[2] + 8) = *(longlong *)(plVar3[2] + 8) + 1; + local_180 = plVar3[2]; + } + lVar8 = lVar11; + if (*(longlong *)(param_1 + 0x5d8) != 0) { + lVar8 = *(longlong *)(*(longlong *)(param_1 + 0x5d8) + 0x38); + } + FUN_1400c4c60(lVar8,&local_180); + } + if (plVar3 == *(longlong **)(param_1 + 0x1708)) { + *(longlong *)(param_1 + 0x1708) = *plVar3; + } + else { + *(longlong *)plVar3[1] = *plVar3; + } + if (plVar3 == *(longlong **)(param_1 + 0x1710)) { + *(longlong *)(param_1 + 0x1710) = plVar3[1]; + } + else { + *(longlong *)(*plVar3 + 8) = plVar3[1]; + } + plVar9 = plVar3; + FUN_1400a7390((longlong *)(param_1 + 0x1700),plVar3); + plVar4 = local_178; + if (local_178 != (longlong *)0x0) { + plVar1 = local_178 + 1; + *plVar1 = *plVar1 + -1; + if (*plVar1 == 0) { + if ((undefined8 *)*local_178 != (undefined8 *)0x0) { + plVar9 = (longlong *)0x1; + (*(code *)**(undefined8 **)*local_178)(); + } + FUN_14003e8b0(plVar4); + } + } + } while( true ); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b2cb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b2cb0.c new file mode 100644 index 00000000..cbb00e28 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b2cb0.c @@ -0,0 +1,436 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b2cb0 FUN_1400b2cb0 + * Pseudocode, not original source. */ + +void FUN_1400b2cb0(longlong *param_1,uint *param_2,uint *param_3,longlong param_4,undefined8 param_5 + ,uint *param_6,uint *param_7,longlong param_8,longlong param_9,char *param_10, + ushort *param_11) + +{ + uint uVar1; + int iVar2; + longlong lVar3; + void *pvVar4; + undefined8 *puVar5; + longlong *plVar6; + undefined8 uVar7; + uint *puVar8; + uint *puVar9; + uint *puVar10; + undefined4 *puVar11; + size_t sVar12; + ulonglong uVar13; + uint **ppuVar14; + longlong **pplVar15; + undefined *puVar16; + longlong lVar17; + uint *puVar18; + undefined1 local_res8 [8]; + uint *local_168; + uint *local_160; + uint *local_158; + undefined8 *local_150; + longlong *local_148; + longlong *local_140; + longlong *local_138 [2]; + undefined4 local_128 [2]; + undefined8 local_120; + undefined8 local_110; + undefined8 local_108; + undefined **local_100; + undefined8 local_f8; + undefined8 local_f0; + undefined8 local_e8; + undefined8 local_e0; + undefined8 local_d8; + undefined8 local_d0; + undefined8 local_c8; + uint local_c0; + uint local_bc; + uint local_b8; + undefined **local_b0; + undefined8 local_a8; + uint *local_a0; + undefined8 local_98; + undefined8 local_90; + undefined4 local_88; + undefined **local_80; + undefined4 local_78; + undefined2 local_74; + undefined **local_68; + undefined8 local_60; + undefined8 local_58; + undefined8 local_50; + undefined8 local_48; + undefined8 local_38; + + local_38 = 0xfffffffffffffffe; + lVar17 = param_4; + (**(code **)(param_1[0xf] + 0x10))(); + if ((((longlong *)param_1[0xba] != (longlong *)0x0) && + (lVar3 = *(longlong *)param_1[0xba], lVar3 != 0)) && (*(int *)(lVar3 + 0x100) == 3)) { + FUN_1400ae130(param_1,(longlong *)&local_160,*param_2); + puVar18 = (uint *)0x0; + if ((local_160 == (uint *)0x0) || (*(longlong *)local_160 == 0)) { + plVar6 = FUN_1400b0870(param_1,(longlong *)&local_150,*param_2); + puVar9 = (uint *)*plVar6; + if (puVar9 != local_160) { + if (puVar9 != (uint *)0x0) { + *(longlong *)(*plVar6 + 8) = *(longlong *)(puVar9 + 2) + 1; + } + puVar9 = puVar18; + if ((local_160 != (uint *)0x0) && + (*(longlong *)(local_160 + 2) = *(longlong *)(local_160 + 2) + -1, + *(longlong *)(local_160 + 2) == 0)) { + puVar9 = local_160; + } + local_160 = (uint *)*plVar6; + if (puVar9 != (uint *)0x0) { + pvVar4 = *(void **)puVar9; + if (pvVar4 != (void *)0x0) { + FUN_14004e270((char *)((longlong)pvVar4 + 8)); + operator_delete(pvVar4); + } + FUN_14003e8b0(puVar9); + } + } + if ((local_150 != (undefined8 *)0x0) && (local_150[1] = local_150[1] + -1, local_150[1] == 0)) + { + pvVar4 = (void *)*local_150; + if (pvVar4 != (void *)0x0) { + FUN_14004e270((char *)((longlong)pvVar4 + 8)); + operator_delete(pvVar4); + } + FUN_14003e8b0(local_150); + } + } + local_res8[0] = 0; + uVar1 = *param_3; + uVar13 = (ulonglong)uVar1; + if (uVar1 == 1) { + if (param_1 == (longlong *)0xffffffffffffeab0) { + local_140 = (longlong *)0x0; + } + else { + local_140 = param_1 + 0x2ab; + } + puVar9 = puVar18; + if (local_160 != (uint *)0x0) { + puVar9 = *(uint **)local_160; + } + FUN_1400a8f60((char *)(puVar9 + 2),param_3,&local_140); + } + else { + FUN_1400a7920(param_1,(longlong *)&local_168,uVar1); + puVar9 = puVar18; + if (*(uint *)(param_1 + 0x2af) == *param_3) { + local_138[0] = param_1 + 0xd; + if (local_160 != (uint *)0x0) { + puVar9 = *(uint **)local_160; + } + pplVar15 = local_138; + } + else { + if ((local_168 == (uint *)0x0) || (lVar3 = *(longlong *)local_168, lVar3 == 0)) { + local_158 = operator_new(0x6c0); + puVar8 = puVar18; + if (local_158 != (uint *)0x0) { + puVar8 = (uint *)FUN_1400d2920((undefined8 *)local_158,(longlong)param_1); + } + if (puVar8 == (uint *)0x0) { + local_158 = (uint *)0x0; + } + else { + local_158 = (uint *)FUN_14003e840(0x10); + local_158[2] = 1; + local_158[3] = 0; + *(uint **)local_158 = puVar8; + } + puVar8 = local_158; + if (local_158 != local_168) { + if (local_158 != (uint *)0x0) { + *(longlong *)(local_158 + 2) = *(longlong *)(local_158 + 2) + 1; + } + puVar10 = puVar18; + if ((local_168 != (uint *)0x0) && + (*(longlong *)(local_168 + 2) = *(longlong *)(local_168 + 2) + -1, + *(longlong *)(local_168 + 2) == 0)) { + puVar10 = local_168; + } + local_168 = local_158; + if (puVar10 != (uint *)0x0) { + puVar5 = *(undefined8 **)puVar10; + if (puVar5 != (undefined8 *)0x0) { + (**(code **)*puVar5)(puVar5,1); + } + FUN_14003e8b0(puVar10); + } + } + puVar10 = local_158; + if (puVar8 != (uint *)0x0) { + puVar8 = puVar8 + 2; + *(longlong *)puVar8 = *(longlong *)puVar8 + -1; + if (*(longlong *)puVar8 == 0) { + puVar5 = *(undefined8 **)local_158; + if (puVar5 != (undefined8 *)0x0) { + (**(code **)*puVar5)(puVar5,1); + } + FUN_14003e8b0(puVar10); + } + } + puVar8 = puVar18; + if (local_168 != (uint *)0x0) { + puVar8 = *(uint **)local_168; + } + puVar8[0x15b] = *param_3; + puVar8 = puVar18; + if (local_168 != (uint *)0x0) { + puVar8 = *(uint **)local_168; + } + puVar8[0xc] = *param_7; + puVar8[0xd] = param_7[1]; + puVar8[0xe] = param_7[2]; + puVar8[0xf] = param_7[3]; + puVar8 = puVar18; + if (local_168 != (uint *)0x0) { + puVar8 = *(uint **)local_168; + } + *(char *)((longlong)puVar8 + 0x25) = *param_10; + puVar8 = puVar18; + if (local_168 != (uint *)0x0) { + puVar8 = *(uint **)local_168; + } + ppuVar14 = &local_168; + FUN_1400ada40((char *)(param_1 + 0x2ca),puVar8 + 0x15b,(longlong *)ppuVar14); + FUN_1400c8cb0((char *)(param_1 + 0x2ca)); + puVar8 = puVar18; + if (local_168 != (uint *)0x0) { + puVar8 = *(uint **)local_168; + } + FUN_1400cf120((longlong)puVar8,'\x01'); + if (*(int *)(param_8 + 0x18) == 0) { + puVar8 = puVar18; + if (local_168 != (uint *)0x0) { + puVar8 = *(uint **)local_168; + } + FUN_140086090((longlong)(puVar8 + 0x5a)); + } + else { + puVar8 = puVar18; + if (local_168 != (uint *)0x0) { + puVar8 = *(uint **)local_168; + } + ppuVar14 = (uint **)(ulonglong)(*(uint *)((longlong)param_1 + 0x6bc) >> 3); + lVar17 = 0x10; + FUN_140085bb0(puVar8 + 0x5a,*(byte **)(param_8 + 0x10),ppuVar14,0x10); + } + if (*(int *)(param_9 + 0x18) == 0) { + puVar8 = puVar18; + if (local_168 != (uint *)0x0) { + puVar8 = *(uint **)local_168; + } + *(undefined1 *)(puVar8 + 0x158) = 1; + } + else { + puVar8 = puVar18; + if (local_168 != (uint *)0x0) { + puVar8 = *(uint **)local_168; + } + ppuVar14 = (uint **)(ulonglong)(*(uint *)(param_1 + 0xd8) >> 3); + FUN_1400953b0((ulonglong)(puVar8 + 0x14e),*(longlong *)(param_9 + 0x10),(SIZE_T)ppuVar14 + ,lVar17); + } + puVar8 = puVar18; + if (local_168 != (uint *)0x0) { + puVar8 = *(uint **)local_168; + } + FUN_1400d48d0((longlong *)(puVar8 + 0x18e),(ulonglong)*param_6,ppuVar14,lVar17); + if ((*param_11 != 0) && (*param_10 != '\0')) { + puVar8 = puVar18; + if (local_168 != (uint *)0x0) { + puVar8 = *(uint **)local_168; + } + uVar7 = FUN_1400d2160((longlong *)puVar8,*param_11); + local_res8[0] = (undefined1)uVar7; + } + } + else if (*(char *)(lVar3 + 0x684) != '\0') { + FUN_1400d1180(lVar3,(longlong)param_1); + puVar8 = puVar18; + if (local_168 != (uint *)0x0) { + puVar8 = *(uint **)local_168; + } + puVar8[0x15b] = *param_3; + puVar8 = puVar18; + if (local_168 != (uint *)0x0) { + puVar8 = *(uint **)local_168; + } + puVar8[0xc] = *param_7; + puVar8[0xd] = param_7[1]; + puVar8[0xe] = param_7[2]; + puVar8[0xf] = param_7[3]; + puVar8 = puVar18; + if (local_168 != (uint *)0x0) { + puVar8 = *(uint **)local_168; + } + *(char *)((longlong)puVar8 + 0x25) = *param_10; + puVar8 = puVar18; + if (local_168 != (uint *)0x0) { + puVar8 = *(uint **)local_168; + } + FUN_1400cf120((longlong)puVar8,'\x01'); + if (*(int *)(param_8 + 0x18) == 0) { + puVar8 = puVar18; + if (local_168 != (uint *)0x0) { + puVar8 = *(uint **)local_168; + } + FUN_140086090((longlong)(puVar8 + 0x5a)); + FUN_14002a050((longlong)(puVar8 + 0x14e),0,uVar13); + } + else { + puVar8 = puVar18; + if (local_168 != (uint *)0x0) { + puVar8 = *(uint **)local_168; + } + uVar13 = (ulonglong)(*(uint *)((longlong)param_1 + 0x6bc) >> 3); + lVar17 = 0x10; + FUN_140085bb0(puVar8 + 0x5a,*(byte **)(param_8 + 0x10),uVar13,0x10); + } + if (*(int *)(param_9 + 0x18) == 0) { + puVar8 = puVar18; + if (local_168 != (uint *)0x0) { + puVar8 = *(uint **)local_168; + } + *(undefined1 *)(puVar8 + 0x158) = 1; + } + else { + puVar8 = puVar18; + if (local_168 != (uint *)0x0) { + puVar8 = *(uint **)local_168; + } + uVar13 = (ulonglong)(*(uint *)(param_1 + 0xd8) >> 3); + FUN_1400953b0((ulonglong)(puVar8 + 0x14e),*(longlong *)(param_9 + 0x10),uVar13,lVar17); + } + puVar8 = puVar18; + if (local_168 != (uint *)0x0) { + puVar8 = *(uint **)local_168; + } + FUN_1400d48d0((longlong *)(puVar8 + 0x18e),(ulonglong)*param_6,uVar13,lVar17); + if ((*param_11 != 0) && (*param_10 != '\0')) { + puVar8 = puVar18; + if (local_168 != (uint *)0x0) { + puVar8 = *(uint **)local_168; + } + uVar7 = FUN_1400d2160((longlong *)puVar8,*param_11); + local_res8[0] = (undefined1)uVar7; + } + puVar8 = puVar18; + if (local_168 != (uint *)0x0) { + puVar8 = *(uint **)local_168; + } + *(undefined1 *)(puVar8 + 0x1a1) = 0; + FUN_1400ac7a0((char *)(param_1 + 0x2d5),param_3,'\0'); + } + puVar8 = puVar18; + if (local_160 != (uint *)0x0) { + puVar8 = *(uint **)local_160; + } + puVar10 = puVar18; + if (local_168 != (uint *)0x0) { + puVar10 = *(uint **)local_168; + } + FUN_1400b0770((char *)(puVar10 + 0x16c),puVar8,(longlong *)&local_160); + if ((local_168 == (uint *)0x0) || (*(longlong *)local_168 == 0)) { + local_148 = (longlong *)0x0; + } + else { + local_148 = (longlong *)(*(longlong *)local_168 + 8); + } + if (local_160 != (uint *)0x0) { + puVar9 = *(uint **)local_160; + } + pplVar15 = &local_148; + } + FUN_1400a8f60((char *)(puVar9 + 2),param_3,pplVar15); + puVar9 = local_168; + if ((local_168 != (uint *)0x0) && + (*(longlong *)(local_168 + 2) = *(longlong *)(local_168 + 2) + -1, + *(longlong *)(local_168 + 2) == 0)) { + puVar5 = *(undefined8 **)local_168; + if (puVar5 != (undefined8 *)0x0) { + (**(code **)*puVar5)(puVar5,1); + } + FUN_14003e8b0(puVar9); + } + } + puVar16 = &DAT_140177f90; + puVar8 = param_2; + (**(code **)(param_1[0x303] + 0x60)) + (param_1 + 0x303,1,&DAT_140177f90,param_2,param_3,param_5,local_res8); + local_120 = 0; + local_110 = 0; + local_108 = 0; + local_f8 = 0; + local_f0 = 0; + local_e8 = 0; + local_e0 = 0; + local_100 = Proud::ByteArray::vftable; + local_c8 = 0; + local_d0 = 0; + local_d8 = 0; + local_a8 = 0; + local_a0 = (uint *)0x0; + local_98 = 0; + local_90 = 0; + local_b0 = Proud::ByteArray::vftable; + local_80 = Proud::AddrPort::vftable; + local_78 = 0; + local_74 = 0; + local_60 = 0; + local_58 = 0; + local_50 = 0; + local_48 = 0; + local_68 = Proud::ByteArray::vftable; + local_128[0] = 8; + local_c0 = *param_2; + local_bc = *param_3; + puVar9 = puVar18; + if (local_160 != (uint *)0x0) { + puVar9 = *(uint **)local_160; + } + local_88 = (undefined4)*(longlong *)(puVar9 + 10); + iVar2 = *(int *)(param_4 + 0x18); + sVar12 = (size_t)iVar2; + local_b8 = local_bc; + if (iVar2 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + FUN_14002a050((longlong)&local_b0,iVar2,(SIZE_T)puVar16); + puVar9 = puVar18; + if (*(int *)(param_4 + 0x18) != 0) { + puVar9 = *(uint **)(param_4 + 0x10); + } + puVar10 = local_a0; + if ((int)local_98 == 0) { + puVar10 = puVar18; + } + FUN_140006fb0((undefined8 *)puVar10,(undefined8 *)puVar9,sVar12); + puVar11 = local_128; + FUN_1400b1d40(param_1,puVar11,sVar12,puVar8); + FUN_1400645f0((longlong)local_128,puVar11,sVar12,puVar8); + puVar18 = local_160; + if ((local_160 != (uint *)0x0) && + (*(longlong *)(local_160 + 2) = *(longlong *)(local_160 + 2) + -1, + *(longlong *)(local_160 + 2) == 0)) { + pvVar4 = *(void **)local_160; + if (pvVar4 != (void *)0x0) { + FUN_14004e270((char *)((longlong)pvVar4 + 8)); + operator_delete(pvVar4); + } + FUN_14003e8b0(puVar18); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b35a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b35a0.c new file mode 100644 index 00000000..bd1fe46c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b35a0.c @@ -0,0 +1,21 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b35a0 FUN_1400b35a0 + * Pseudocode, not original source. */ + +undefined8 +FUN_1400b35a0(longlong param_1,undefined8 param_2,undefined8 param_3,uint *param_4,uint *param_5, + longlong param_6,undefined8 param_7,longlong param_8,longlong param_9,uint *param_10, + uint *param_11,char *param_12,ushort *param_13) + +{ + int *piVar1; + undefined8 uVar2; + + piVar1 = (int *)(**(code **)(**(longlong **)(param_1 + 0x20) + 0x58))(); + FUN_14003d040(piVar1); + FUN_1400b2cb0(*(longlong **)(param_1 + 0x20),param_4,param_5,param_6,param_7,param_10,param_11, + param_8,param_9,param_12,param_13); + uVar2 = FUN_14003d0d0((longlong)piVar1); + return CONCAT71((int7)((ulonglong)uVar2 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b3680.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b3680.c new file mode 100644 index 00000000..1af3b249 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b3680.c @@ -0,0 +1,43 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b3680 FUN_1400b3680 + * Pseudocode, not original source. */ + +undefined8 +FUN_1400b3680(longlong param_1,undefined8 param_2,undefined8 param_3,uint *param_4,uint *param_5, + longlong param_6,undefined8 param_7,uint *param_8,uint *param_9,char *param_10, + ushort *param_11) + +{ + int *piVar1; + undefined8 uVar2; + undefined **local_60; + undefined8 local_58; + undefined8 local_50; + undefined8 local_48; + undefined8 local_40; + undefined **local_38; + undefined8 local_30; + undefined8 local_28; + undefined8 local_20; + undefined8 local_18; + + piVar1 = (int *)(**(code **)(**(longlong **)(param_1 + 0x20) + 0x58))(); + FUN_14003d040(piVar1); + local_30 = 0; + local_28 = 0; + local_20 = 0; + local_18 = 0; + local_38 = Proud::ByteArray::vftable; + local_58 = 0; + local_50 = 0; + local_48 = 0; + local_40 = 0; + local_60 = Proud::ByteArray::vftable; + FUN_1400b2cb0(*(longlong **)(param_1 + 0x20),param_4,param_5,param_6,param_7,param_8,param_9, + (longlong)&local_60,(longlong)&local_38,param_10,param_11); + FUN_140049e40(&local_60); + FUN_140049e40(&local_38); + uVar2 = FUN_14003d0d0((longlong)piVar1); + return CONCAT71((int7)((ulonglong)uVar2 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b37d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b37d0.c new file mode 100644 index 00000000..2b3d3d43 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b37d0.c @@ -0,0 +1,129 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b37d0 FUN_1400b37d0 + * Pseudocode, not original source. */ + +undefined8 +FUN_1400b37d0(longlong param_1,undefined8 param_2,undefined8 param_3,uint *param_4,uint *param_5, + longlong param_6,longlong param_7,longlong param_8,longlong param_9) + +{ + uint uVar1; + undefined4 uVar2; + undefined8 *puVar3; + int *piVar4; + longlong *plVar5; + undefined8 uVar6; + undefined4 *puVar7; + longlong lVar8; + uint uVar9; + SIZE_T SVar10; + undefined4 uVar11; + undefined2 uVar12; + undefined4 uVar13; + undefined2 uVar14; + undefined4 local_138 [2]; + undefined8 local_130; + undefined8 local_120; + undefined8 local_118; + undefined **local_110; + undefined8 local_108; + undefined8 local_100; + undefined8 local_f8; + undefined8 local_f0; + undefined8 local_e8; + undefined8 local_e0; + undefined8 local_d8; + uint local_c8; + undefined **local_c0; + undefined8 local_b8; + undefined8 local_b0; + undefined8 local_a8; + undefined8 local_a0; + undefined **local_90; + undefined4 local_88; + undefined2 local_84; + undefined **local_78; + undefined8 local_70; + undefined8 local_68; + undefined8 local_60; + undefined8 local_58; + undefined8 local_48; + + local_48 = 0xfffffffffffffffe; + uVar9 = *param_4; + uVar1 = *param_5; + uVar2 = *(undefined4 *)(param_6 + 8); + param_5._0_2_ = *(undefined2 *)(param_6 + 0xc); + uVar11 = *(undefined4 *)(param_7 + 8); + uVar12 = *(undefined2 *)(param_7 + 0xc); + uVar13 = *(undefined4 *)(param_8 + 8); + uVar14 = *(undefined2 *)(param_8 + 0xc); + param_7._0_4_ = *(undefined4 *)(param_9 + 8); + param_6 = CONCAT62(param_6._2_6_,*(undefined2 *)(param_9 + 0xc)); + piVar4 = (int *)(**(code **)(**(longlong **)(param_1 + 0x20) + 0x58))(); + FUN_14003d040(piVar4); + if (*(uint *)(*(longlong **)(param_1 + 0x20) + 0x2af) != uVar1) { + uVar9 = uVar1; + uVar11 = (undefined4)param_7; + uVar12 = (undefined2)param_6; + uVar13 = uVar2; + uVar14 = param_5._0_2_; + } + SVar10 = (SIZE_T)uVar9; + plVar5 = FUN_1400a7920(*(longlong **)(param_1 + 0x20),(longlong *)¶m_5,uVar9); + lVar8 = 0; + if ((longlong *)*plVar5 != (longlong *)0x0) { + lVar8 = *(longlong *)*plVar5; + } + if ((CONCAT62(param_5._2_6_,param_5._0_2_) != 0) && + (plVar5 = (longlong *)(CONCAT62(param_5._2_6_,param_5._0_2_) + 8), *plVar5 = *plVar5 + -1, + *(longlong *)(CONCAT62(param_5._2_6_,param_5._0_2_) + 8) == 0)) { + plVar5 = (longlong *)CONCAT62(param_5._2_6_,param_5._0_2_); + puVar3 = (undefined8 *)*plVar5; + if (puVar3 != (undefined8 *)0x0) { + (**(code **)*puVar3)(); + } + FUN_14003e8b0(plVar5); + } + if ((lVar8 != 0) && (*(char *)(lVar8 + 0x684) == '\0')) { + *(undefined4 *)(lVar8 + 0x598) = uVar13; + *(undefined2 *)(lVar8 + 0x59c) = uVar14; + *(undefined4 *)(lVar8 + 0x5a8) = uVar11; + *(undefined2 *)(lVar8 + 0x5ac) = uVar12; + FUN_1400cf120(lVar8,'\0'); + param_6 = 0; + FUN_1400a9130((longlong *)(lVar8 + 0x28),¶m_6); + local_130 = 0; + local_120 = 0; + local_118 = 0; + local_108 = 0; + local_100 = 0; + local_f8 = 0; + local_f0 = 0; + local_110 = Proud::ByteArray::vftable; + local_d8 = 0; + local_e0 = 0; + local_e8 = 0; + local_b8 = 0; + local_b0 = 0; + local_a8 = 0; + local_a0 = 0; + local_c0 = Proud::ByteArray::vftable; + local_90 = Proud::AddrPort::vftable; + local_88 = 0; + local_84 = 0; + local_70 = 0; + local_68 = 0; + local_60 = 0; + local_58 = 0; + local_78 = Proud::ByteArray::vftable; + local_138[0] = 10; + puVar7 = local_138; + local_c8 = uVar9; + FUN_1400b1d40(*(longlong **)(param_1 + 0x20),puVar7,SVar10,param_4); + FUN_1400645f0((longlong)local_138,puVar7,SVar10,param_4); + } + uVar6 = FUN_14003d0d0((longlong)piVar4); + return CONCAT71((int7)((ulonglong)uVar6 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b3a40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b3a40.c new file mode 100644 index 00000000..643716eb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b3a40.c @@ -0,0 +1,204 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b3a40 FUN_1400b3a40 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x0001400b3c02) */ +/* WARNING: Removing unreachable block (ram,0x0001400b3c14) */ +/* WARNING: Removing unreachable block (ram,0x0001400b3c2f) */ +/* WARNING: Removing unreachable block (ram,0x0001400b3c37) */ +/* WARNING: Removing unreachable block (ram,0x0001400b3c41) */ + +undefined8 +FUN_1400b3a40(longlong param_1,undefined8 param_2,undefined8 param_3,uint *param_4,uint *param_5) + +{ + uint *puVar1; + longlong lVar2; + void *pvVar3; + undefined8 *puVar4; + ulonglong uVar5; + uint *puVar6; + longlong lVar7; + undefined8 uVar8; + undefined4 *puVar9; + longlong *plVar10; + uint *puVar11; + longlong *local_res8; + uint *local_res20; + undefined4 local_138 [2]; + longlong local_130 [2]; + longlong local_120 [2]; + undefined **local_110; + undefined8 local_108; + undefined8 local_100; + undefined8 local_f8; + undefined8 local_f0; + longlong local_e8; + longlong local_e0; + ulonglong local_d8; + uint local_d0; + uint local_cc; + uint local_c8; + undefined **local_c0; + undefined8 local_b8; + undefined8 local_b0; + undefined8 local_a8; + undefined8 local_a0; + undefined4 local_98; + undefined **local_90; + undefined4 local_88; + undefined2 local_84; + undefined **local_78; + undefined8 local_70; + undefined8 local_68; + undefined8 local_60; + undefined8 local_58; + int *local_48; + undefined1 local_40; + longlong *local_38; + undefined8 local_30; + + local_30 = 0xfffffffffffffffe; + puVar11 = param_4; + local_48 = (int *)(**(code **)(**(longlong **)(param_1 + 0x20) + 0x58))(); + FUN_14003d040(local_48); + puVar6 = param_5; + local_40 = 1; + lVar7 = *(longlong *)(param_1 + 0x20); + if ((*(char *)(lVar7 + 0x1790) != '\0') || (*(int *)(lVar7 + 0x6c8) != 0)) { + puVar11 = (uint *)(ulonglong)*(uint *)(lVar7 + 0x1578); + FUN_1400a9f70(lVar7,1,L"[Client %d] P2PGroup_MemberLeave 도착: remote peer=%d,group=%d\n", + puVar11); + } + FUN_1400a7920(*(longlong **)(param_1 + 0x20),(longlong *)&local_res20,*param_4); + FUN_1400ae130(*(longlong **)(param_1 + 0x20),(longlong *)&local_res8,*puVar6); + if ((local_res8 != (longlong *)0x0) && (lVar7 = *local_res8, lVar7 != 0)) { + puVar11 = (uint *)(ulonglong)*param_4; + uVar5 = (ulonglong)puVar11 % (ulonglong)*(uint *)(lVar7 + 0x30); + if (*(longlong *)(lVar7 + 0x10) != 0) { + puVar1 = *(uint **)(*(longlong *)(lVar7 + 0x10) + uVar5 * 8); + while( true ) { + if ((puVar1 == (uint *)0x0) || ((uint)uVar5 != puVar1[8] % *(uint *)(lVar7 + 0x30))) + goto LAB_1400b3b5f; + if (*puVar1 == *param_4) break; + puVar1 = *(uint **)(puVar1 + 4); + } + FUN_14009d050((char *)(lVar7 + 8),puVar1,'\0'); + } + } +LAB_1400b3b5f: + lVar7 = 0; + if ((local_res20 != (uint *)0x0) && (lVar2 = *(longlong *)local_res20, lVar2 != 0)) { + uVar5 = (ulonglong)*puVar6 % (ulonglong)*(uint *)(lVar2 + 0x5d8); + puVar11 = (uint *)0x0; + if (*(longlong *)(lVar2 + 0x5b8) != 0) { + puVar11 = *(uint **)(*(longlong *)(lVar2 + 0x5b8) + uVar5 * 8); + while( true ) { + if ((puVar11 == (uint *)0x0) || ((uint)uVar5 != puVar11[8] % *(uint *)(lVar2 + 0x5d8))) + goto LAB_1400b3be3; + if (*puVar11 == *puVar6) break; + puVar11 = *(uint **)(puVar11 + 4); + } + FUN_1400af000((char *)(lVar2 + 0x5b0),puVar11,'\0'); + } +LAB_1400b3be3: + param_5 = (uint *)0x0; + if (local_res20 != (uint *)0x0) { + *(longlong *)(local_res20 + 2) = *(longlong *)(local_res20 + 2) + 1; + param_5 = local_res20; + } + FUN_1400ae550(*(longlong *)(param_1 + 0x20),(longlong *)¶m_5); + if (local_res20 != (uint *)0x0) { + lVar7 = *(longlong *)local_res20; + } + *(int *)(lVar7 + 0x680) = *(int *)(lVar7 + 0x680) + 1; + } + lVar7 = *(longlong *)(param_1 + 0x20); + if (*param_4 == *(uint *)(lVar7 + 0x1578)) { + puVar11 = (uint *)(ulonglong)*puVar6; + uVar5 = (ulonglong)puVar11 % (ulonglong)*(uint *)(lVar7 + 0x608); + if (*(longlong *)(lVar7 + 0x5e8) != 0) { + puVar1 = *(uint **)(*(longlong *)(lVar7 + 0x5e8) + uVar5 * 8); + while( true ) { + if ((puVar1 == (uint *)0x0) || ((uint)uVar5 != puVar1[8] % *(uint *)(lVar7 + 0x608))) + goto LAB_1400b3ce0; + if (*puVar1 == *puVar6) break; + puVar1 = *(uint **)(puVar1 + 4); + } + FUN_1400af000((char *)(lVar7 + 0x5e0),puVar1,'\0'); + } + } +LAB_1400b3ce0: + local_130[0] = 0; + local_120[0] = 0; + local_120[1] = 0; + local_108 = 0; + local_100 = 0; + local_f8 = 0; + local_f0 = 0; + local_110 = Proud::ByteArray::vftable; + local_d8 = 0; + local_e0 = 0; + local_e8 = 0; + local_b8 = 0; + local_b0 = 0; + local_a8 = 0; + local_a0 = 0; + local_c0 = Proud::ByteArray::vftable; + local_90 = Proud::AddrPort::vftable; + local_88 = 0; + local_84 = 0; + local_70 = 0; + local_68 = 0; + local_60 = 0; + local_58 = 0; + local_78 = Proud::ByteArray::vftable; + local_138[0] = 9; + local_cc = *param_4; + local_d0 = *puVar6; + if ((local_res8 == (longlong *)0x0) || (*local_res8 == 0)) { + local_98 = 0; + } + else { + local_98 = (undefined4)*(undefined8 *)(*local_res8 + 0x28); + } + puVar9 = local_138; + plVar10 = local_res8; + local_c8 = local_cc; + FUN_1400b1d40(*(longlong **)(param_1 + 0x20),puVar9,(SIZE_T)local_res8,puVar11); + FUN_140049e40(&local_78); + FUN_140049e40(&local_c0); + local_38 = &local_e8; + FUN_14008a320(&local_e8); + if (local_e0 != 0) { + if ((longlong)local_d8 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_d8 = local_d8 & 0xffffffff00000000; + } + FUN_140049e40(&local_110); + FUN_1400641e0(local_120 + 1,puVar9,plVar10,puVar11); + FUN_140064160(local_120,puVar9,plVar10,puVar11); + FUN_140038280(local_130,puVar9,plVar10,puVar11); + if ((local_res8 != (longlong *)0x0) && (local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) { + pvVar3 = (void *)*local_res8; + if (pvVar3 != (void *)0x0) { + FUN_14004e270((char *)((longlong)pvVar3 + 8)); + operator_delete(pvVar3); + } + FUN_14003e8b0(local_res8); + } + if ((local_res20 != (uint *)0x0) && + (*(longlong *)(local_res20 + 2) = *(longlong *)(local_res20 + 2) + -1, + *(longlong *)(local_res20 + 2) == 0)) { + puVar4 = *(undefined8 **)local_res20; + if (puVar4 != (undefined8 *)0x0) { + (**(code **)*puVar4)(puVar4,1); + } + FUN_14003e8b0(local_res20); + } + uVar8 = FUN_14003d0d0((longlong)local_48); + return CONCAT71((int7)((ulonglong)uVar8 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b3eb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b3eb0.c new file mode 100644 index 00000000..073d8782 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b3eb0.c @@ -0,0 +1,179 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b3eb0 FUN_1400b3eb0 + * Pseudocode, not original source. */ + +undefined8 +FUN_1400b3eb0(longlong param_1,undefined8 param_2,undefined8 param_3,uint *param_4,char *param_5, + longlong param_6,longlong param_7,longlong param_8,longlong param_9) + +{ + undefined8 *puVar1; + int *piVar2; + longlong lVar3; + longlong lVar4; + undefined8 uVar5; + longlong *plVar6; + undefined4 *puVar7; + undefined **ppuVar8; + uint *puVar9; + longlong *local_res8; + longlong local_148 [3]; + int *local_130; + undefined1 local_128; + undefined4 local_118 [2]; + undefined8 local_110; + undefined8 local_100; + undefined8 local_f8; + undefined **local_f0; + undefined8 local_e8; + undefined8 local_e0; + undefined8 local_d8; + undefined8 local_d0; + undefined8 local_c8; + undefined8 local_c0; + undefined8 local_b8; + uint local_a8; + undefined **local_a0; + undefined8 local_98; + undefined8 local_90; + undefined8 local_88; + undefined8 local_80; + undefined **local_70; + undefined4 local_68; + undefined2 local_64; + undefined **local_58; + undefined8 local_50; + undefined8 local_48; + undefined8 local_40; + undefined8 local_38; + undefined8 local_28; + + local_28 = 0xfffffffffffffffe; + puVar9 = param_4; + piVar2 = (int *)(**(code **)(**(longlong **)(param_1 + 0x20) + 0x58))(); + local_130 = piVar2; + FUN_14003d040(piVar2); + local_128 = 1; + ppuVar8 = (undefined **)(ulonglong)*param_4; + FUN_1400a7920(*(longlong **)(param_1 + 0x20),(longlong *)&local_res8,*param_4); + if (((local_res8 != (longlong *)0x0) && (lVar3 = *local_res8, lVar3 != 0)) && + (*(char *)(lVar3 + 0x684) == '\0')) { + *(undefined1 *)(lVar3 + 0x24) = 1; + lVar3 = 0; + if (*param_5 == '\0') { + lVar4 = lVar3; + if (local_res8 != (longlong *)0x0) { + lVar4 = *local_res8; + } + FUN_1400cf260(lVar4); + lVar4 = lVar3; + if (local_res8 != (longlong *)0x0) { + lVar4 = *local_res8; + } + if ((*(longlong **)(lVar4 + 0x18) != (longlong *)0x0) && (**(longlong **)(lVar4 + 0x18) != 0)) + { + lVar4 = lVar3; + if (local_res8 != (longlong *)0x0) { + lVar4 = *local_res8; + } + local_148[0] = 0; + FUN_14009d860(local_148,(longlong *)(lVar4 + 0x18)); + FUN_1400ac6e0(*(longlong *)(param_1 + 0x20),local_148); + local_148[1] = 0; + lVar4 = lVar3; + if (local_res8 != (longlong *)0x0) { + lVar4 = *local_res8; + } + FUN_14009d860((longlong *)(lVar4 + 0x18),local_148 + 1); + } + if (local_res8 != (longlong *)0x0) { + lVar3 = *local_res8; + } + FUN_1400cf120(lVar3,'\x01'); + } + else { + lVar4 = lVar3; + if (local_res8 != (longlong *)0x0) { + lVar4 = *local_res8; + } + *(undefined4 *)(lVar4 + 0x578) = *(undefined4 *)(param_7 + 8); + *(undefined2 *)(lVar4 + 0x57c) = *(undefined2 *)(param_7 + 0xc); + lVar4 = lVar3; + if (local_res8 != (longlong *)0x0) { + lVar4 = *local_res8; + } + *(undefined4 *)(lVar4 + 0x588) = *(undefined4 *)(param_6 + 8); + *(undefined2 *)(lVar4 + 0x58c) = *(undefined2 *)(param_6 + 0xc); + lVar4 = lVar3; + if (local_res8 != (longlong *)0x0) { + lVar4 = *local_res8; + } + *(undefined4 *)(lVar4 + 0x598) = *(undefined4 *)(param_8 + 8); + *(undefined2 *)(lVar4 + 0x59c) = *(undefined2 *)(param_8 + 0xc); + lVar4 = lVar3; + if (local_res8 != (longlong *)0x0) { + lVar4 = *local_res8; + } + *(undefined4 *)(lVar4 + 0x5a8) = *(undefined4 *)(param_9 + 8); + *(undefined2 *)(lVar4 + 0x5ac) = *(undefined2 *)(param_9 + 0xc); + lVar4 = lVar3; + if (local_res8 != (longlong *)0x0) { + lVar4 = *local_res8; + } + FUN_1400cf120(lVar4,'\0'); + local_148[2] = 0; + lVar4 = lVar3; + if (local_res8 != (longlong *)0x0) { + lVar4 = *local_res8; + } + plVar6 = local_148 + 2; + FUN_1400a9130((longlong *)(lVar4 + 0x28),plVar6); + if (local_res8 != (longlong *)0x0) { + lVar3 = *local_res8; + } + lVar3 = FUN_1400cf2a0(lVar3); + FUN_1400d2cc0(lVar3,plVar6,ppuVar8,puVar9); + local_110 = 0; + local_100 = 0; + local_f8 = 0; + local_e8 = 0; + local_e0 = 0; + local_d8 = 0; + local_d0 = 0; + local_f0 = Proud::ByteArray::vftable; + local_b8 = 0; + local_c0 = 0; + local_c8 = 0; + local_98 = 0; + local_90 = 0; + local_88 = 0; + local_80 = 0; + local_a0 = Proud::ByteArray::vftable; + local_70 = Proud::AddrPort::vftable; + local_68 = 0; + local_64 = 0; + local_50 = 0; + local_48 = 0; + local_40 = 0; + local_38 = 0; + local_58 = Proud::ByteArray::vftable; + local_118[0] = 10; + local_a8 = *param_4; + puVar7 = local_118; + FUN_1400b1d40(*(longlong **)(param_1 + 0x20),puVar7,(SIZE_T)ppuVar8,puVar9); + FUN_1400645f0((longlong)local_118,puVar7,ppuVar8,puVar9); + } + } + if ((local_res8 != (longlong *)0x0) && + (local_res8[1] = local_res8[1] + -1, piVar2 = local_130, local_res8[1] == 0)) { + puVar1 = (undefined8 *)*local_res8; + if (puVar1 != (undefined8 *)0x0) { + (**(code **)*puVar1)(puVar1,1); + } + FUN_14003e8b0(local_res8); + piVar2 = local_130; + } + uVar5 = FUN_14003d0d0((longlong)piVar2); + return CONCAT71((int7)((ulonglong)uVar5 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b41f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b41f0.c new file mode 100644 index 00000000..eca7869f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b41f0.c @@ -0,0 +1,275 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b41f0 FUN_1400b41f0 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x0001400b439c) */ +/* WARNING: Removing unreachable block (ram,0x0001400b43a5) */ +/* WARNING: Removing unreachable block (ram,0x0001400b43c6) */ +/* WARNING: Removing unreachable block (ram,0x0001400b43cf) */ + +longlong * FUN_1400b41f0(longlong *param_1,undefined8 param_2,undefined8 param_3,longlong param_4) + +{ + ulonglong *puVar1; + ulonglong *puVar2; + bool bVar3; + ulonglong uVar4; + ulonglong *puVar5; + undefined8 *puVar6; + ulonglong *puVar7; + ulonglong *puVar8; + longlong lVar9; + longlong *plVar10; + longlong lVar11; + undefined1 uVar12; + undefined7 uVar13; + double dVar14; + ulonglong *local_res10; + ulonglong *local_res18; + longlong local_50; + undefined4 local_44; + longlong local_40; + + uVar13 = (undefined7)((ulonglong)param_3 >> 8); + FUN_1400770f0(param_1); + lVar11 = 0; + param_1[0x10] = 0; + param_1[0x14] = 0; + param_1[0x15] = 0; + param_1[0x16] = 0; + *param_1 = (longlong)Proud::CNetClientImpl::vftable; + param_1[0xc] = (longlong)Proud::CNetClientImpl::vftable; + param_1[0xd] = (longlong)Proud::CNetClientImpl::vftable; + param_1[0xe] = (longlong)Proud::CNetClientImpl::vftable; + param_1[0xf] = (longlong)Proud::CNetClientImpl::vftable; + param_1[0x11] = (longlong)Proud::CNetClientImpl::vftable; + param_1[0x12] = (longlong)Proud::CNetClientImpl::vftable; + param_1[0x13] = (longlong)Proud::CNetClientImpl::vftable; + FUN_14009aa10((double *)(param_1 + 0x17),DAT_14016f0f8 * 10.0 * 2.0); + *(undefined4 *)(param_1 + 0x93) = 0; + param_1[0x96] = 0; + param_1[0x97] = 0; + param_1[0x98] = 0; + param_1[0x99] = 0; + param_1[0x95] = (longlong)Proud::ByteArray::vftable; + *(undefined1 *)(param_1 + 0x9a) = 0; + param_1[0x9c] = 0; + uVar4 = FUN_140094860(); + uVar4 = uVar4 & 0xffffffff; + uVar12 = 1; + FUN_14003cf60((undefined4 *)(param_1 + 0xa3),uVar4,CONCAT71(uVar13,1),param_4); + param_1[0xba] = 0; + param_1[0xbb] = 0; + *(undefined1 *)(param_1 + 0xbc) = 0; + param_1[0xc6] = 0; + param_1[0xbd] = 0; + param_1[0xbe] = 0; + param_1[0xbf] = 0; + *(undefined4 *)(param_1 + 0xc1) = 0x11; + param_1[0xc0] = 0; + *(undefined4 *)(param_1 + 0xc5) = 0; + *(undefined4 *)((longlong)param_1 + 0x60c) = 0x3f400000; + *(undefined4 *)(param_1 + 0xc2) = 0x3e800000; + *(undefined4 *)((longlong)param_1 + 0x614) = 0x40100000; + param_1[0xc3] = 0x26; + param_1[0xc4] = 4; + param_1[0xc4] = 0; + param_1[199] = 0; + *(undefined1 *)((longlong)param_1 + 0x68c) = 0; + *(undefined4 *)(param_1 + 0xd1) = 0; + *(undefined4 *)(param_1 + 0xd2) = 0; + param_1[0xcb] = 0; + param_1[0xcc] = 0; + param_1[0xd0] = 0; + param_1[0xcf] = 0; + param_1[0xce] = 0; + param_1[0xcd] = 0; + FUN_1400979a0((undefined4 *)(param_1 + 0xd4)); + *(undefined4 *)(param_1 + 0xda) = 0; + *(undefined4 *)((longlong)param_1 + 0x6d4) = 0; + *(undefined4 *)(param_1 + 0xdb) = 0; + *(undefined4 *)((longlong)param_1 + 0x6dc) = 0; + param_1[0xdc] = 0; + param_1[0xdf] = 0; + param_1[0xdd] = 0; + param_1[0xde] = 0; + *(undefined4 *)(param_1 + 0x159) = 0; + param_1[0x15c] = 0; + param_1[0x15d] = 0; + param_1[0x15e] = 0; + param_1[0x15f] = 0; + param_1[0x15b] = (longlong)Proud::ByteArray::vftable; + *(undefined1 *)(param_1 + 0x160) = 0; + puVar1 = (ulonglong *)(param_1 + 0x161); + local_res10 = puVar1; + FUN_1400480f0(puVar1,uVar4,CONCAT71(uVar13,uVar12),param_4); + FUN_140048210((longlong)puVar1); + param_1[0x2a4] = 0; + *(undefined1 *)(param_1 + 0x2a5) = 0; + param_1[0x2a6] = 0; + param_1[0x2a9] = 0; + param_1[0x2a7] = 0; + param_1[0x2a8] = 0; + param_1[0x2aa] = (longlong)Proud::CNetClientImpl::ServerAsSendDest::vftable; + param_1[0x2ab] = (longlong)Proud::CNetClientImpl::ServerAsSendDest::vftable; + param_1[0x2ac] = (longlong)param_1; + param_1[0x2ad] = 0; + param_1[0x2ae] = 0; + FUN_140049bd0(param_1 + 0x2b1,uVar4,CONCAT71(uVar13,uVar12),param_4); + param_1[699] = 0; + param_1[700] = 0; + param_1[0x2bf] = 0; + param_1[0x2bd] = 0; + param_1[0x2be] = 0; + param_1[0x2c0] = 0; + param_1[0x2c3] = 0; + param_1[0x2c1] = 0; + param_1[0x2c2] = 0; + FUN_140048880((undefined2 *)(param_1 + 0x2c4)); + *(undefined1 *)(param_1 + 0x2ca) = 0; + param_1[0x2d4] = 0; + param_1[0x2cb] = 0; + param_1[0x2cc] = 0; + param_1[0x2cd] = 0; + *(undefined4 *)(param_1 + 0x2cf) = 0x11; + param_1[0x2ce] = 0; + *(undefined4 *)(param_1 + 0x2d3) = 0; + *(undefined4 *)((longlong)param_1 + 0x167c) = 0x3f400000; + *(undefined4 *)(param_1 + 0x2d0) = 0x3e800000; + *(undefined4 *)((longlong)param_1 + 0x1684) = 0x40100000; + param_1[0x2d1] = 0x26; + param_1[0x2d2] = 4; + param_1[0x2d2] = 0; + *(undefined1 *)(param_1 + 0x2d5) = 0; + param_1[0x2df] = 0; + param_1[0x2d6] = 0; + param_1[0x2d7] = 0; + param_1[0x2d8] = 0; + *(undefined4 *)(param_1 + 0x2da) = 0x11; + param_1[0x2d9] = 0; + *(undefined4 *)(param_1 + 0x2de) = 0; + *(undefined4 *)((longlong)param_1 + 0x16d4) = 0x3f400000; + *(undefined4 *)(param_1 + 0x2db) = 0x3e800000; + *(undefined4 *)((longlong)param_1 + 0x16dc) = 0x40100000; + param_1[0x2dc] = 0x26; + param_1[0x2dd] = 0; + param_1[0x2e0] = 0; + param_1[0x2e3] = 0; + param_1[0x2e1] = 0; + param_1[0x2e2] = 0; + *(undefined1 *)(param_1 + 0x2e4) = 0; + param_1[0x2ee] = 0; + param_1[0x2e5] = 0; + param_1[0x2e6] = 0; + param_1[0x2e7] = 0; + *(undefined4 *)(param_1 + 0x2e9) = 0x11; + param_1[0x2e8] = 0; + *(undefined4 *)(param_1 + 0x2ed) = 0; + *(undefined4 *)((longlong)param_1 + 0x174c) = 0x3f400000; + *(undefined4 *)(param_1 + 0x2ea) = 0x3e800000; + *(undefined4 *)((longlong)param_1 + 0x1754) = 0x40100000; + param_1[0x2eb] = 0x26; + param_1[0x2ec] = 0; + FUN_14009aa10((double *)(param_1 + 0x2ef),DAT_14016f180); + param_1[0x2f4] = 0; + param_1[0x2f5] = 0; + param_1[0x2f6] = 0; + param_1[0x2f9] = 0; + param_1[0x2f7] = 0; + param_1[0x2f8] = 0; + puVar1 = (ulonglong *)(param_1 + 0x2fa); + local_res10 = puVar1; + FUN_140076890(puVar1); + *puVar1 = (ulonglong)ProudC2C::Proxy::vftable; + if (*(int *)((longlong)param_1 + 0x17e4) != 1) { + FUN_14003e110((wchar_t *)PTR_u_PIDL_compiler_is_incompatible_to_140170070); + } + *puVar1 = (ulonglong)Proud::CNetClientImpl::C2CProxy::vftable; + FUN_140079b60(param_1 + 0x2fe); + param_1[0x2fe] = (longlong)Proud::CNetClientImpl::C2CStub::vftable; + puVar2 = (ulonglong *)(param_1 + 0x303); + local_res10 = puVar2; + FUN_140076890(puVar2); + *puVar2 = (ulonglong)ProudC2S::Proxy::vftable; + if (*(int *)((longlong)param_1 + 0x182c) != 1) { + FUN_14003e110((wchar_t *)PTR_u_PIDL_compiler_is_incompatible_to_140170070); + } + *puVar2 = (ulonglong)Proud::CNetClientImpl::C2SProxy::vftable; + FUN_140079b60(param_1 + 0x307); + param_1[0x307] = (longlong)Proud::CNetClientImpl::S2CStub::vftable; + param_1[0x30d] = 0; + param_1[0x30e] = 0; + FUN_14009aa10((double *)(param_1 + 0x30f),DAT_14016f1a0); + *(undefined2 *)(param_1 + 0x319) = 0; + *(undefined1 *)((longlong)param_1 + 0x18ca) = 0; + param_1[0x30c] = (longlong)DAT_14016f1a0; + puVar5 = FUN_1400a71c0((ulonglong *)&local_res10,uVar4,CONCAT71(uVar13,uVar12),param_4); + puVar7 = (ulonglong *)(param_1 + 0xbb); + FUN_14009d690(puVar7,puVar5,CONCAT71(uVar13,uVar12),param_4); + puVar8 = local_res10; + if (local_res10 != (ulonglong *)0x0) { + puVar7 = local_res10; + FUN_14003d040((int *)local_res10); + bVar3 = true; + local_res10[8] = local_res10[8] - 1; + if (local_res10[8] == 0) { + FUN_14003d0d0((longlong)puVar8); + puVar7 = local_res10; + bVar3 = false; + local_res18 = local_res10; + if ((undefined8 *)local_res10[7] != (undefined8 *)0x0) { + puVar5 = (ulonglong *)0x1; + (*(code *)**(undefined8 **)local_res10[7])(); + } + FUN_14003d110((undefined4 *)puVar7,puVar5,CONCAT71(uVar13,uVar12),param_4); + FUN_14003e8b0(puVar7); + } + if (bVar3) { + FUN_14003d0d0((longlong)puVar8); + puVar7 = puVar8; + } + } + FUN_14003e170(puVar7,puVar5,CONCAT71(uVar13,uVar12),param_4); + *(undefined1 *)(param_1 + 0xca) = 0; + *(undefined4 *)(param_1 + 0xd3) = DAT_14016f110; + param_1[0x2b0] = 0; + param_1[0x2c9] = 0; + *(undefined4 *)(param_1 + 0x2af) = 0; + *(undefined4 *)(param_1 + 0xb8) = 0; + *(undefined4 *)(param_1 + 0xb0) = 0; + *(undefined4 *)(param_1 + 0xa1) = 0; + lVar9 = lVar11; + if (param_1[0xbb] != 0) { + lVar9 = *(longlong *)(param_1[0xbb] + 0x38); + } + dVar14 = (double)FUN_1400bf740(lVar9); + param_1[0xa2] = (longlong)(dVar14 + DAT_14016f100); + FUN_140077540(param_1,(longlong *)puVar1,CONCAT71(uVar13,uVar12),param_4); + FUN_140077540(param_1,(longlong *)puVar2,CONCAT71(uVar13,uVar12),param_4); + FUN_140077740(param_1,param_1 + 0x307,CONCAT71(uVar13,uVar12),param_4); + FUN_140077740(param_1,param_1 + 0x2fe,CONCAT71(uVar13,uVar12),param_4); + *(undefined1 *)(param_1 + 0x2fc) = 1; + *(undefined1 *)(param_1 + 0x305) = 1; + *(undefined1 *)(param_1 + 0x30a) = 1; + *(undefined1 *)(param_1 + 0x301) = 1; + param_1[0x302] = (longlong)param_1; + param_1[0x30b] = (longlong)param_1; + *(undefined1 *)(param_1 + 0x2f2) = 0; + param_1[0x2f3] = 0x3ff0000000000000; + FUN_1400417c0(&local_50); + local_50 = 0; + local_44 = 0; + if (param_1[0xbb] != 0) { + lVar11 = *(longlong *)(param_1[0xbb] + 0x38); + } + local_40 = lVar11 + 0x10; + plVar10 = &local_50; + puVar6 = FUN_14003e910(0x800,plVar10,CONCAT71(uVar13,uVar12),param_4); + param_1[0x9c] = (longlong)puVar6; + FUN_1400dc820(param_1 + 0xdc,plVar10,CONCAT71(uVar13,uVar12),param_4); + FUN_1400dc820(param_1 + 700,plVar10,CONCAT71(uVar13,uVar12),param_4); + FUN_1400dc820(param_1 + 0x2c0,plVar10,CONCAT71(uVar13,uVar12),param_4); + FUN_1400dc820(param_1 + 0x2a6,plVar10,CONCAT71(uVar13,uVar12),param_4); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b4a50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b4a50.c new file mode 100644 index 00000000..ad9b8594 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b4a50.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b4a50 FUN_1400b4a50 + * Pseudocode, not original source. */ + +longlong * FUN_1400b4a50(longlong *param_1,ulonglong param_2,undefined8 param_3,ulonglong param_4) + +{ + FUN_1400b1510(param_1,param_2,param_3,param_4); + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b4a80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b4a80.c new file mode 100644 index 00000000..ddefda0a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b4a80.c @@ -0,0 +1,185 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b4a80 FUN_1400b4a80 + * Pseudocode, not original source. */ + +void FUN_1400b4a80(longlong *param_1,undefined8 param_2,undefined *param_3,longlong **param_4) + +{ + undefined4 uVar1; + int *piVar2; + longlong *plVar3; + longlong *plVar4; + ulonglong uVar5; + longlong lVar6; + undefined8 uVar7; + longlong **pplVar8; + undefined4 *puVar9; + int *piVar10; + undefined *puVar11; + longlong **pplVar12; + longlong *local_res8; + longlong *local_158; + undefined1 local_150; + undefined4 local_148 [2]; + ulonglong local_140 [2]; + longlong local_130 [2]; + undefined **local_120; + undefined8 local_118; + undefined8 local_110; + undefined8 local_108; + undefined8 local_100; + longlong local_f8; + longlong local_f0; + ulonglong local_e8; + undefined4 local_d8; + undefined **local_d0; + undefined8 local_c8; + undefined8 local_c0; + undefined8 local_b8; + undefined8 local_b0; + undefined **local_a0; + undefined4 local_98; + undefined2 local_94; + undefined **local_88; + undefined8 local_80; + undefined8 local_78; + undefined8 local_70; + undefined8 local_68; + int *local_58; + undefined1 local_50; + int *local_48; + undefined1 local_40; + undefined8 local_38; + + local_38 = 0xfffffffffffffffe; + uVar7 = param_2; + puVar11 = param_3; + pplVar12 = param_4; + piVar2 = (int *)(**(code **)(*param_1 + 0x58))(); + local_58 = piVar2; + FUN_14003d040(piVar2); + local_50 = 1; + if ((char)param_1[0x9d] == '\0') { + plVar4 = (longlong *)0x0; + local_140[0] = 0; + local_130[0] = 0; + local_130[1] = 0; + local_118 = 0; + local_110 = 0; + local_108 = 0; + local_100 = 0; + local_120 = Proud::ByteArray::vftable; + local_e8 = 0; + local_f0 = 0; + local_f8 = 0; + local_c8 = 0; + local_c0 = 0; + local_b8 = 0; + local_b0 = 0; + local_d0 = Proud::ByteArray::vftable; + local_a0 = Proud::AddrPort::vftable; + local_98 = 0; + local_94 = 0; + local_80 = 0; + local_78 = 0; + local_70 = 0; + local_68 = 0; + local_88 = Proud::ByteArray::vftable; + local_res8 = (longlong *)FUN_14003e840(0x60); + plVar3 = plVar4; + if (local_res8 != (longlong *)0x0) { + plVar3 = FUN_140071b80(local_res8,uVar7,puVar11,pplVar12); + } + if (plVar3 == (longlong *)0x0) { + local_res8 = (longlong *)0x0; + } + else { + plVar4 = (longlong *)FUN_14003e840(0x48); + local_158 = plVar4; + if (plVar4 != (longlong *)0x0) { + local_res8 = plVar4; + uVar5 = FUN_140094860(); + puVar11 = (undefined *)CONCAT71((int7)((ulonglong)puVar11 >> 8),1); + FUN_14003cf60((undefined4 *)plVar4,uVar5 & 0xffffffff,puVar11,pplVar12); + } + local_res8 = plVar4; + FUN_14003d040((int *)plVar4); + plVar4[8] = 1; + plVar4[7] = (longlong)plVar3; + FUN_14003d0d0((longlong)plVar4); + } + pplVar8 = &local_res8; + FUN_14005d770(local_140,(ulonglong *)pplVar8,puVar11,pplVar12); + if (plVar4 != (longlong *)0x0) { + local_158 = plVar4; + FUN_14003d040((int *)plVar4); + local_150 = 1; + plVar3 = plVar4 + 8; + *plVar3 = *plVar3 + -1; + if (*plVar3 == 0) { + FUN_14003d0d0((longlong)plVar4); + local_150 = 0; + FUN_140038210((undefined4 *)plVar4,pplVar8,puVar11,pplVar12); + } + else { + FUN_14003d0d0((longlong)plVar4); + } + } + local_148[0] = 3; + if (local_140[0] == 0) { + puVar9 = (undefined4 *)0x0; + } + else { + puVar9 = *(undefined4 **)(local_140[0] + 0x38); + } + *puVar9 = (int)param_2; + lVar6 = 0; + if (local_140[0] != 0) { + lVar6 = *(longlong *)(local_140[0] + 0x38); + } + *(int *)(lVar6 + 4) = (int)param_3; + if (local_140[0] == 0) { + lVar6 = 0; + } + else { + lVar6 = *(longlong *)(local_140[0] + 0x38); + } + FUN_1400020c0((longlong *)(lVar6 + 0x10),(longlong *)param_4,puVar11,pplVar12); + local_d8 = 1; + puVar9 = local_148; + FUN_1400b1d40(param_1,puVar9,(SIZE_T)puVar11,pplVar12); + *(undefined1 *)(param_1 + 0x9d) = 1; + if (param_1[0xb] != 0) { + piVar10 = (int *)(param_1[0xb] + 0x98); + local_48 = piVar10; + FUN_14003d040(piVar10); + local_40 = 1; + local_res8 = (longlong *)((ulonglong)local_res8 & 0xffffffffffffff00); + uVar1 = (**(code **)(param_1[0xe] + 0x108))(param_1 + 0xe,&local_res8); + local_158 = (longlong *)CONCAT44(local_158._4_4_,uVar1); + pplVar12 = &local_158; + puVar11 = &DAT_140177f90; + puVar9 = (undefined4 *)0x1; + (**(code **)(*(longlong *)(param_1[0xb] + 0x68) + 0x60))(); + FUN_14003d0d0((longlong)piVar10); + } + FUN_140049e40(&local_88); + FUN_140049e40(&local_d0); + local_res8 = &local_f8; + FUN_14008a320(&local_f8); + if (local_f0 != 0) { + if ((longlong)local_e8 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_e8 = local_e8 & 0xffffffff00000000; + } + FUN_140049e40(&local_120); + FUN_1400641e0(local_130 + 1,puVar9,puVar11,pplVar12); + FUN_140064160(local_130,puVar9,puVar11,pplVar12); + FUN_140038280((longlong *)local_140,puVar9,puVar11,pplVar12); + } + FUN_14003d0d0((longlong)piVar2); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b4da0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b4da0.c new file mode 100644 index 00000000..ee1bad60 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b4da0.c @@ -0,0 +1,171 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b4da0 FUN_1400b4da0 + * Pseudocode, not original source. */ + +void FUN_1400b4da0(longlong *param_1,undefined4 *param_2,longlong *param_3,undefined8 param_4) + +{ + int *piVar1; + longlong *plVar2; + longlong *plVar3; + ulonglong uVar4; + undefined8 *puVar5; + longlong *plVar6; + undefined4 *puVar7; + longlong **pplVar8; + longlong *plVar9; + longlong *local_res8; + longlong *local_158; + undefined1 local_150; + undefined4 local_148 [2]; + ulonglong local_140 [2]; + longlong local_130 [2]; + undefined **local_120; + undefined8 local_118; + undefined8 local_110; + undefined8 local_108; + undefined8 local_100; + longlong local_f8; + longlong local_f0; + ulonglong local_e8; + undefined4 local_d8; + undefined **local_d0; + undefined8 local_c8; + undefined8 local_c0; + undefined8 local_b8; + undefined8 local_b0; + undefined **local_a0; + undefined4 local_98; + undefined2 local_94; + undefined4 local_90; + undefined **local_88; + undefined8 local_80; + undefined8 local_78; + undefined8 local_70; + undefined8 local_68; + int *local_58; + undefined1 local_50; + undefined8 local_48; + + local_48 = 0xfffffffffffffffe; + puVar7 = param_2; + plVar9 = param_3; + piVar1 = (int *)(**(code **)(*param_1 + 0x58))(); + local_58 = piVar1; + FUN_14003d040(piVar1); + local_50 = 1; + if ((char)param_1[0x9d] == '\0') { + plVar6 = (longlong *)0x0; + local_140[0] = 0; + local_130[0] = 0; + local_130[1] = 0; + local_118 = 0; + local_110 = 0; + local_108 = 0; + local_100 = 0; + local_120 = Proud::ByteArray::vftable; + local_e8 = 0; + local_f0 = 0; + local_f8 = 0; + local_c8 = 0; + local_c0 = 0; + local_b8 = 0; + local_b0 = 0; + local_d0 = Proud::ByteArray::vftable; + local_a0 = Proud::AddrPort::vftable; + local_98 = 0; + local_94 = 0; + local_80 = 0; + local_78 = 0; + local_70 = 0; + local_68 = 0; + local_88 = Proud::ByteArray::vftable; + local_res8 = (longlong *)FUN_14003e840(0x60); + plVar2 = plVar6; + if (local_res8 != (longlong *)0x0) { + plVar2 = FUN_140071b80(local_res8,puVar7,plVar9,param_4); + } + if (plVar2 == (longlong *)0x0) { + local_res8 = (longlong *)0x0; + plVar3 = plVar6; + } + else { + plVar3 = (longlong *)FUN_14003e840(0x48); + if (plVar3 != (longlong *)0x0) { + local_res8 = plVar3; + uVar4 = FUN_140094860(); + plVar9 = (longlong *)CONCAT71((int7)((ulonglong)plVar9 >> 8),1); + FUN_14003cf60((undefined4 *)plVar3,uVar4 & 0xffffffff,plVar9,param_4); + } + local_res8 = plVar3; + FUN_14003d040((int *)plVar3); + plVar3[8] = 1; + plVar3[7] = (longlong)plVar2; + FUN_14003d0d0((longlong)plVar3); + } + pplVar8 = &local_res8; + FUN_14005d770(local_140,(ulonglong *)pplVar8,plVar9,param_4); + if (plVar3 != (longlong *)0x0) { + local_158 = plVar3; + FUN_14003d040((int *)plVar3); + local_150 = 1; + plVar2 = plVar3 + 8; + *plVar2 = *plVar2 + -1; + if (*plVar2 == 0) { + FUN_14003d0d0((longlong)plVar3); + local_150 = 0; + FUN_140038210((undefined4 *)plVar3,pplVar8,plVar9,param_4); + } + else { + FUN_14003d0d0((longlong)plVar3); + } + } + local_148[0] = 2; + plVar2 = plVar6; + if (local_140[0] != 0) { + plVar2 = *(longlong **)(local_140[0] + 0x38); + } + *(int *)plVar2 = (int)param_2; + plVar2 = plVar6; + if (*param_3 != 0) { + plVar2 = *(longlong **)(*param_3 + 0x38); + } + if (local_140[0] != 0) { + plVar6 = *(longlong **)(local_140[0] + 0x38); + } + plVar6 = plVar6 + 2; + plVar2 = plVar2 + 2; + FUN_1400020c0(plVar6,plVar2,plVar9,param_4); + local_d8 = 1; + FUN_14003e7c0(plVar6,plVar2,plVar9,param_4); + local_res8 = (longlong *)PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_res8,param_1 + 0x2b1,plVar9,param_4); + plVar9 = (longlong *)(ulonglong)*(ushort *)(param_1 + 0x2b2); + puVar5 = FUN_140041a10(&local_158,(longlong *)&local_res8,*(ushort *)(param_1 + 0x2b2),param_4); + local_98 = *(undefined4 *)(puVar5 + 1); + local_94 = *(undefined2 *)((longlong)puVar5 + 0xc); + local_90 = 0; + puVar7 = local_148; + FUN_1400b1d40(param_1,puVar7,(SIZE_T)plVar9,param_4); + *(undefined1 *)(param_1 + 0x9d) = 1; + FUN_140049e40(&local_88); + FUN_140049e40(&local_d0); + local_res8 = &local_f8; + FUN_14008a320(&local_f8); + if (local_f0 != 0) { + if ((longlong)local_e8 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_e8 = local_e8 & 0xffffffff00000000; + } + FUN_140049e40(&local_120); + FUN_1400641e0(local_130 + 1,puVar7,plVar9,param_4); + FUN_140064160(local_130,puVar7,plVar9,param_4); + FUN_140038280((longlong *)local_140,puVar7,plVar9,param_4); + } + FUN_14003d0d0((longlong)piVar1); + FUN_140038280(param_3,puVar7,plVar9,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b50c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b50c0.c new file mode 100644 index 00000000..04b31fee --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b50c0.c @@ -0,0 +1,161 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b50c0 FUN_1400b50c0 + * Pseudocode, not original source. */ + +void FUN_1400b50c0(longlong *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + int *piVar1; + longlong *plVar2; + longlong *plVar3; + ulonglong uVar4; + undefined8 *puVar5; + longlong *plVar6; + undefined8 uVar7; + longlong **pplVar8; + undefined4 *puVar9; + undefined8 uVar10; + SIZE_T SVar11; + longlong *local_res8; + longlong *local_158; + undefined1 local_150; + undefined4 local_148 [2]; + ulonglong local_140 [2]; + longlong local_130 [2]; + undefined **local_120; + undefined8 local_118; + undefined8 local_110; + undefined8 local_108; + undefined8 local_100; + longlong local_f8; + longlong local_f0; + ulonglong local_e8; + undefined4 local_d8; + undefined **local_d0; + undefined8 local_c8; + undefined8 local_c0; + undefined8 local_b8; + undefined8 local_b0; + undefined **local_a0; + undefined4 local_98; + undefined2 local_94; + undefined4 local_90; + undefined **local_88; + undefined8 local_80; + undefined8 local_78; + undefined8 local_70; + undefined8 local_68; + int *local_58; + undefined1 local_50; + undefined8 local_48; + + local_48 = 0xfffffffffffffffe; + uVar7 = param_2; + uVar10 = param_3; + piVar1 = (int *)(**(code **)(*param_1 + 0x58))(); + local_58 = piVar1; + FUN_14003d040(piVar1); + local_50 = 1; + if ((char)param_1[0x9d] == '\0') { + plVar6 = (longlong *)0x0; + local_140[0] = 0; + local_130[0] = 0; + local_130[1] = 0; + local_118 = 0; + local_110 = 0; + local_108 = 0; + local_100 = 0; + local_120 = Proud::ByteArray::vftable; + local_e8 = 0; + local_f0 = 0; + local_f8 = 0; + local_c8 = 0; + local_c0 = 0; + local_b8 = 0; + local_b0 = 0; + local_d0 = Proud::ByteArray::vftable; + local_a0 = Proud::AddrPort::vftable; + local_98 = 0; + local_94 = 0; + local_80 = 0; + local_78 = 0; + local_70 = 0; + local_68 = 0; + local_88 = Proud::ByteArray::vftable; + local_res8 = (longlong *)FUN_14003e840(0x60); + plVar2 = plVar6; + if (local_res8 != (longlong *)0x0) { + plVar2 = FUN_140071b80(local_res8,uVar7,uVar10,param_4); + } + if (plVar2 == (longlong *)0x0) { + local_res8 = (longlong *)0x0; + plVar3 = plVar6; + } + else { + plVar3 = (longlong *)FUN_14003e840(0x48); + if (plVar3 != (longlong *)0x0) { + local_res8 = plVar3; + uVar4 = FUN_140094860(); + uVar10 = CONCAT71((int7)((ulonglong)uVar10 >> 8),1); + FUN_14003cf60((undefined4 *)plVar3,uVar4 & 0xffffffff,uVar10,param_4); + } + local_res8 = plVar3; + FUN_14003d040((int *)plVar3); + plVar3[8] = 1; + plVar3[7] = (longlong)plVar2; + FUN_14003d0d0((longlong)plVar3); + } + pplVar8 = &local_res8; + FUN_14005d770(local_140,(ulonglong *)pplVar8,uVar10,param_4); + if (plVar3 != (longlong *)0x0) { + local_158 = plVar3; + FUN_14003d040((int *)plVar3); + local_150 = 1; + plVar2 = plVar3 + 8; + *plVar2 = *plVar2 + -1; + if (*plVar2 == 0) { + FUN_14003d0d0((longlong)plVar3); + local_150 = 0; + FUN_140038210((undefined4 *)plVar3,pplVar8,uVar10,param_4); + } + else { + FUN_14003d0d0((longlong)plVar3); + } + } + local_148[0] = 2; + if (local_140[0] != 0) { + plVar6 = *(longlong **)(local_140[0] + 0x38); + } + *(int *)plVar6 = (int)param_2; + local_d8 = 1; + FUN_14003e7c0(plVar6,pplVar8,uVar10,param_4); + local_res8 = (longlong *)PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_res8,param_1 + 0x2b1,uVar10,param_4); + SVar11 = (SIZE_T)*(ushort *)(param_1 + 0x2b2); + puVar5 = FUN_140041a10(&local_158,(longlong *)&local_res8,*(ushort *)(param_1 + 0x2b2),param_4); + local_98 = *(undefined4 *)(puVar5 + 1); + local_94 = *(undefined2 *)((longlong)puVar5 + 0xc); + local_90 = (undefined4)param_3; + puVar9 = local_148; + FUN_1400b1d40(param_1,puVar9,SVar11,param_4); + *(undefined1 *)(param_1 + 0x9d) = 1; + FUN_140049e40(&local_88); + FUN_140049e40(&local_d0); + local_res8 = &local_f8; + FUN_14008a320(&local_f8); + if (local_f0 != 0) { + if ((longlong)local_e8 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_e8 = local_e8 & 0xffffffff00000000; + } + FUN_140049e40(&local_120); + FUN_1400641e0(local_130 + 1,puVar9,SVar11,param_4); + FUN_140064160(local_130,puVar9,SVar11,param_4); + FUN_140038280((longlong *)local_140,puVar9,SVar11,param_4); + } + FUN_14003d0d0((longlong)piVar1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b53a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b53a0.c new file mode 100644 index 00000000..f6687186 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b53a0.c @@ -0,0 +1,169 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b53a0 FUN_1400b53a0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400b53a0(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + ulonglong *puVar1; + uint uVar2; + uint uVar3; + uint uVar4; + int *piVar5; + ulonglong uVar6; + uint *puVar7; + int *piVar8; + longlong *plVar9; + uint *puVar10; + undefined8 uVar11; + uint *puVar12; + uint uVar13; + uint uVar14; + undefined8 uVar16; + uint **ppuVar17; + uint *local_res8; + ulonglong uVar15; + + piVar5 = (int *)(**(code **)(**(longlong **)(param_1 + 0x20) + 0x58))(); + piVar8 = piVar5; + FUN_14003d040(piVar5); + puVar1 = *(ulonglong **)(*(longlong *)(param_1 + 0x20) + 0x5d0); + if ((puVar1 == (ulonglong *)0x0) || (*puVar1 == 0)) goto LAB_1400b5639; + uVar15 = 0; + uVar14 = 0; + uVar6 = uVar15; + if (puVar1 != (ulonglong *)0x0) { + uVar6 = *puVar1; + } + if (3 < *(int *)(uVar6 + 0x100)) goto LAB_1400b5639; + FUN_14003e7c0(piVar8,*(longlong *)(param_1 + 0x20),param_3,param_4); + puVar12 = (uint *)PTR_DAT_14016f010; + local_res8 = (uint *)PTR_DAT_14016f010; + uVar2 = FUN_14003e620(L"Autoprune"); + uVar4 = 0; + uVar6 = uVar15; + if ((puVar12 != (uint *)0x0) && (uVar6 = 0, puVar12 != (uint *)PTR_DAT_14016f010)) { + uVar6 = (ulonglong)*(uint *)((longlong)puVar12 + -8); + } + uVar3 = uVar2; + if ((((int)uVar2 <= (int)uVar6) && (uVar3 = uVar4, puVar12 != (uint *)0x0)) && + (puVar12 != (uint *)PTR_DAT_14016f010)) { + uVar3 = *(uint *)((longlong)puVar12 + -8); + } + uVar13 = 1; + if (1 < (int)uVar3) { + uVar13 = uVar3; + } + uVar3 = uVar4; + if ((puVar12 != (uint *)0x0) && (puVar12 != (uint *)PTR_DAT_14016f010)) { + uVar3 = *(uint *)((longlong)puVar12 + -8); + } + if ((int)uVar3 < (int)uVar13) { + if (puVar12 == (uint *)0x0) { + puVar12 = (uint *)PTR_DAT_14016f010; + } + local_res8 = puVar12; + if ((int)uVar13 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar13 == 0) { + FUN_140002190((longlong *)&local_res8,uVar6,param_3,param_4); + } + else { + uVar3 = uVar4; + if ((puVar12 != (uint *)0x0) && (puVar12 != (uint *)PTR_DAT_14016f010)) { + uVar3 = puVar12[-2]; + } + if (uVar13 != uVar3) { + puVar7 = (uint *)FUN_14003e840((longlong)(int)uVar13 * 2 + 10); + if (puVar7 != (uint *)0x0) { + *puVar7 = 0; + puVar7[1] = 1; + } + *puVar7 = uVar13; + uVar3 = uVar4; + if ((puVar12 != (uint *)0x0) && (puVar12 != (uint *)PTR_DAT_14016f010)) { + uVar3 = puVar12[-2]; + } + puVar10 = (uint *)PTR_DAT_14016f010; + if ((int)uVar13 < (int)uVar3) { +LAB_1400b5504: + if (puVar12 != (uint *)0x0) { + puVar10 = puVar12; + } + } + else { + uVar13 = uVar4; + if (puVar12 != (uint *)0x0) { + if (puVar12 != (uint *)PTR_DAT_14016f010) { + uVar13 = puVar12[-2]; + } + goto LAB_1400b5504; + } + } + uVar6 = (ulonglong)uVar13; + FUN_14003e650(puVar7 + 2,puVar10,uVar13); + FUN_140002190((longlong *)&local_res8,puVar10,uVar6,param_4); + local_res8 = puVar7 + 2; + } + } + } + FUN_140001df0((longlong *)&local_res8); + puVar12 = local_res8; + puVar7 = local_res8; + if (local_res8 == (uint *)0x0) { + puVar7 = (uint *)PTR_DAT_14016f010; + } + FUN_14003e650(puVar7,L"Autoprune",uVar2); + puVar7 = puVar12; + if (puVar12 == (uint *)0x0) { + puVar7 = (uint *)PTR_DAT_14016f010; + } + uVar4 = FUN_14003e620((short *)puVar7); + uVar2 = uVar14; + if (0 < (int)uVar4) { + uVar2 = uVar4; + } + uVar4 = uVar14; + if ((puVar12 != (uint *)0x0) && (puVar12 != (uint *)PTR_DAT_14016f010)) { + uVar4 = puVar12[-2]; + } + if (((int)uVar2 < (int)uVar4) || (uVar2 = uVar14, puVar12 == (uint *)0x0)) { +LAB_1400b5599: + if (((puVar12 != (uint *)PTR_DAT_14016f010) && (puVar12 != (uint *)0x0)) && + (puVar12 + -2 != (uint *)0x0)) { + puVar12[-2] = uVar2; + *(undefined2 *)((longlong)puVar12 + (longlong)(int)uVar2 * 2) = 0; + } + } + else if (puVar12 != (uint *)PTR_DAT_14016f010) { + uVar2 = puVar12[-2]; + goto LAB_1400b5599; + } + ppuVar17 = &local_res8; + uVar11 = 0xb; + uVar16 = 3; + plVar9 = *(longlong **)(param_1 + 0x20); + FUN_1400b4a80(plVar9,0xb,(undefined *)0x3,(longlong **)ppuVar17); + if (((puVar12 != (uint *)0x0) && (puVar12 != (uint *)PTR_DAT_14016f010)) && + (puVar12 + -2 != (uint *)0x0)) { + piVar8 = (int *)FUN_14003e7c0(plVar9,uVar11,uVar16,ppuVar17); + FUN_14003d040(piVar8); + puVar7 = puVar12 + -1; + *puVar7 = *puVar7 - 1; + if (*puVar7 == 0) { + FUN_14003e8b0(puVar12 + -2); + } + FUN_14003d0d0((longlong)piVar8); + } + puVar1 = *(ulonglong **)(*(longlong *)(param_1 + 0x20) + 0x5d0); + if (puVar1 != (ulonglong *)0x0) { + uVar15 = *puVar1; + } + FUN_1400bf180(uVar15,4); +LAB_1400b5639: + uVar11 = FUN_14003d0d0((longlong)piVar5); + return CONCAT71((int7)((ulonglong)uVar11 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b5660.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b5660.c new file mode 100644 index 00000000..32091e00 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b5660.c @@ -0,0 +1,395 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b5660 FUN_1400b5660 + * Pseudocode, not original source. */ + +void FUN_1400b5660(longlong *param_1,double param_2,undefined *param_3,undefined *param_4) + +{ + undefined8 *puVar1; + double dVar2; + bool bVar3; + DWORD DVar4; + DWORD DVar5; + undefined *puVar6; + undefined *puVar7; + undefined **ppuVar8; + int *piVar9; + longlong *plVar10; + int *piVar11; + longlong *plVar12; + undefined8 in_RDX; + wchar_t *pwVar13; + char cVar14; + int *piVar15; + SIZE_T SVar16; + longlong lVar17; + undefined *puVar18; + undefined8 uVar19; + undefined *local_res10; + undefined *local_res18; + undefined *local_res20; + undefined *local_168; + int *local_160; + char local_158; + longlong *local_150; + undefined1 local_148; + undefined *local_140; + undefined *local_138; + undefined *local_130; + undefined *local_128; + undefined *local_120; + undefined *local_118; + undefined **local_110; + undefined1 local_108; + undefined **local_100; + undefined1 local_f8; + int *local_f0; + undefined1 local_e8; + undefined8 local_e0; + int *local_d8; + undefined1 local_d0; + int *local_c8; + undefined1 local_c0; + undefined **local_b8; + undefined1 local_b0; + int *local_a8; + undefined1 local_a0; + int *local_98; + undefined1 local_90; + int *local_88; + undefined1 local_80; + int *local_78; + undefined1 local_70; + + local_e0 = 0xfffffffffffffffe; + local_150 = param_1 + 0x95; + local_res18 = param_3; + FUN_14003d040((int *)local_150); + local_148 = 1; + (**(code **)(param_1[1] + 0x18))(); + bVar3 = false; + puVar18 = (undefined *)0x0; + puVar7 = puVar18; + if (param_1[0xad] != 0) { + puVar7 = *(undefined **)(param_1[0xad] + 0x38); + } + FUN_14003d040((int *)(puVar7 + 0x10)); + puVar6 = puVar18; + if (param_1[0xad] != 0) { + puVar6 = *(undefined **)(param_1[0xad] + 0x38); + } + *(int *)(puVar6 + 0x288) = *(int *)(puVar6 + 0x288) + 1; + LOCK(); + *(int *)(param_1 + 0xa2) = (int)param_1[0xa2] + 1; + UNLOCK(); + FUN_14003d0d0((longlong)(puVar7 + 0x10)); + DVar4 = GetTickCount(); + dVar2 = param_2 * 2.0 * 1000.0; + if (dVar2 <= 100000.0) { + dVar2 = 100000.0; + } + if (((char)param_1[0x2e4] != '\0') || ((int)param_1[0xcb] != 0)) { + puVar7 = puVar18; + if (param_1[0xad] != 0) { + puVar7 = *(undefined **)(param_1[0xad] + 0x38); + } + piVar15 = (int *)(puVar7 + 0x10); + local_88 = piVar15; + FUN_14003d040(piVar15); + local_80 = 1; + param_4 = (undefined *)(ulonglong)*(uint *)(param_1 + 0x2a1); + param_3 = &DAT_1401217d0; + in_RDX = 0; + FUN_1400a9f70((longlong)(param_1 + -0xe),0, + L"Client %d: CNetClient.Disconnect를 사용자가 콜 하였습니다.",param_4); + FUN_14003d0d0((longlong)piVar15); + } + plVar12 = param_1 + -0xe; + puVar7 = puVar18; + do { + piVar15 = (int *)(**(code **)(*plVar12 + 0x58))(plVar12); + local_160 = piVar15; + FUN_14003d040(piVar15); + local_158 = '\x01'; + if (((longlong *)param_1[0xac] == (longlong *)0x0) || + (lVar17 = *(longlong *)param_1[0xac], lVar17 == 0)) { + if ((((longlong *)param_1[0x2a0] != (longlong *)0x0) && (*(longlong *)param_1[0x2a0] != 0)) || + (((longlong *)param_1[0x296] != (longlong *)0x0 && (*(longlong *)param_1[0x296] != 0)))) { + FUN_14003e7c0(0,in_RDX,param_3,param_4); + local_140 = PTR_DAT_14016f010; + plVar10 = FUN_14003e4d0((longlong *)&local_118,in_RDX,param_3,param_4); + param_3 = (undefined *)*plVar10; + if ((undefined *)*plVar10 == (undefined *)0x0) { + param_3 = PTR_DAT_14016f010; + } + pwVar13 = L"Unstability in Disconnect #1! Process=%s"; + ppuVar8 = &local_140; + FUN_140029b80((longlong *)ppuVar8,L"Unstability in Disconnect #1! Process=%s",param_3, + param_4); + if (((local_118 != (undefined *)0x0) && (local_118 != PTR_DAT_14016f010)) && + (local_118 + -8 != (undefined *)0x0)) { + ppuVar8 = (undefined **)FUN_14003e7c0(ppuVar8,pwVar13,param_3,param_4); + local_b8 = ppuVar8; + FUN_14003d040((int *)ppuVar8); + local_b0 = 1; + piVar9 = (int *)(local_118 + -4); + *piVar9 = *piVar9 + -1; + if (*piVar9 == 0) { + FUN_14003e8b0(local_118 + -8); + } + FUN_14003d0d0((longlong)ppuVar8); + } + FUN_14003e7c0(ppuVar8,pwVar13,param_3,param_4); + puVar7 = local_140; + local_168 = PTR_DAT_14016f010; + if (PTR_DAT_14016f010 == (undefined *)0x0) { + local_168 = puVar18; + } + if (local_140 != PTR_DAT_14016f010) { + piVar9 = (int *)FUN_14003e7c0(ppuVar8,pwVar13,param_3,param_4); + local_98 = piVar9; + FUN_14003d040(piVar9); + local_90 = 1; + FUN_140002190((longlong *)&local_168,pwVar13,param_3,param_4); + local_168 = puVar7; + if (((puVar7 != PTR_DAT_14016f010) && (puVar7 != (undefined *)0x0)) && + (puVar7 != (undefined *)0x8)) { + *(int *)(puVar7 + -4) = *(int *)(puVar7 + -4) + 1; + } + FUN_14003d0d0((longlong)piVar9); + } + ppuVar8 = &local_168; + FUN_1400416f0((longlong *)ppuVar8,pwVar13,param_3,param_4); + if (((puVar7 != (undefined *)0x0) && (puVar7 != PTR_DAT_14016f010)) && + (puVar7 + -8 != (undefined *)0x0)) { + piVar11 = (int *)FUN_14003e7c0(ppuVar8,pwVar13,param_3,param_4); + local_78 = piVar11; + FUN_14003d040(piVar11); + local_70 = 1; + piVar9 = (int *)(puVar7 + -4); + *piVar9 = *piVar9 + -1; + if (*piVar9 == 0) { + FUN_14003e8b0(puVar7 + -8); + } + FUN_14003d0d0((longlong)piVar11); + } + } + FUN_1400b25d0((longlong)plVar12,'\x01',(SIZE_T)param_3,param_4); + FUN_14003d0d0((longlong)piVar15); +LAB_1400b5e4d: + FUN_14003d0d0((longlong)local_150); + return; + } + if ((*(int *)(lVar17 + 0x100) == 5) && (param_1[0x2d5] == 0)) { + FUN_1400b25d0((longlong)plVar12,'\x01',(SIZE_T)param_3,param_4); + FUN_14003d0d0((longlong)local_160); + goto LAB_1400b5e4d; + } + if (DAT_140176450 != '\0') { + FUN_1400b25d0((longlong)plVar12,'\x01',(SIZE_T)param_3,param_4); + FUN_14003d0d0((longlong)local_160); + goto LAB_1400b5e4d; + } + puVar6 = puVar18; + if (param_1[0xad] != 0) { + puVar6 = *(undefined **)(param_1[0xad] + 0x38); + } + if (*(longlong *)(puVar6 + 0x2b8) == 0) { + puVar7 = puVar18; + if ((undefined8 *)param_1[0xac] != (undefined8 *)0x0) { + puVar7 = *(undefined **)param_1[0xac]; + } + uVar19 = 5; + FUN_1400bf180((longlong)puVar7,5); + FUN_14003e7c0(puVar7,uVar19,param_3,param_4); + local_138 = PTR_DAT_14016f010; + plVar10 = FUN_14003e4d0((longlong *)&local_128,uVar19,param_3,param_4); + puVar7 = (undefined *)*plVar10; + if ((undefined *)*plVar10 == (undefined *)0x0) { + puVar7 = PTR_DAT_14016f010; + } + pwVar13 = L"Unstability in Disconnect #2! Process=%s"; + ppuVar8 = &local_138; + FUN_140029b80((longlong *)ppuVar8,L"Unstability in Disconnect #2! Process=%s",puVar7,param_4); + if (((local_128 != (undefined *)0x0) && (local_128 != PTR_DAT_14016f010)) && + (local_128 + -8 != (undefined *)0x0)) { + ppuVar8 = (undefined **)FUN_14003e7c0(ppuVar8,pwVar13,puVar7,param_4); + local_100 = ppuVar8; + FUN_14003d040((int *)ppuVar8); + local_f8 = 1; + piVar15 = (int *)(local_128 + -4); + *piVar15 = *piVar15 + -1; + if (*piVar15 == 0) { + FUN_14003e8b0(local_128 + -8); + } + FUN_14003d0d0((longlong)ppuVar8); + } + FUN_14003e7c0(ppuVar8,pwVar13,puVar7,param_4); + puVar6 = local_138; + local_res20 = PTR_DAT_14016f010; + if (PTR_DAT_14016f010 == (undefined *)0x0) { + local_res20 = puVar18; + } + if (local_138 != PTR_DAT_14016f010) { + piVar15 = (int *)FUN_14003e7c0(ppuVar8,pwVar13,puVar7,param_4); + local_f0 = piVar15; + FUN_14003d040(piVar15); + local_e8 = 1; + FUN_140002190((longlong *)&local_res20,pwVar13,puVar7,param_4); + local_res20 = puVar6; + if (((puVar6 != PTR_DAT_14016f010) && (puVar6 != (undefined *)0x0)) && + (puVar6 != (undefined *)0x8)) { + *(int *)(puVar6 + -4) = *(int *)(puVar6 + -4) + 1; + } + FUN_14003d0d0((longlong)piVar15); + } + ppuVar8 = &local_res20; + FUN_1400416f0((longlong *)ppuVar8,pwVar13,puVar7,param_4); + if (((puVar6 != (undefined *)0x0) && (puVar6 != PTR_DAT_14016f010)) && + (puVar6 + -8 != (undefined *)0x0)) { + piVar9 = (int *)FUN_14003e7c0(ppuVar8,pwVar13,puVar7,param_4); + local_d8 = piVar9; + FUN_14003d040(piVar9); + local_d0 = 1; + piVar15 = (int *)(puVar6 + -4); + *piVar15 = *piVar15 + -1; + if (*piVar15 == 0) { + FUN_14003e8b0(puVar6 + -8); + } + FUN_14003d0d0((longlong)piVar9); + } + FUN_1400b25d0((longlong)plVar12,'\x01',(SIZE_T)puVar7,param_4); + FUN_14003d0d0((longlong)local_160); + goto LAB_1400b5e4d; + } + DVar5 = GetTickCount(); + if (dVar2 < (double)(DVar5 - DVar4)) { + FUN_14003e7c0(puVar6,in_RDX,param_3,param_4); + local_130 = PTR_DAT_14016f010; + FUN_14003e4d0((longlong *)&local_120,in_RDX,param_3,param_4); + puVar7 = puVar18; + if ((undefined8 *)param_1[0xac] != (undefined8 *)0x0) { + puVar7 = *(undefined **)param_1[0xac]; + } + lVar17 = param_1[0x2d5]; + SVar16 = (SIZE_T)*(uint *)(puVar7 + 0x100); + pwVar13 = + L"CNetClient.Disconnect seems to be freezed ## State=%d##GarbageCount=%d##Process=%s"; + ppuVar8 = &local_130; + FUN_140029b80((longlong *)ppuVar8, + L"CNetClient.Disconnect seems to be freezed ## State=%d##GarbageCount=%d##Process=%s" + ,SVar16,lVar17); + if (((local_120 != (undefined *)0x0) && (local_120 != PTR_DAT_14016f010)) && + (local_120 + -8 != (undefined *)0x0)) { + ppuVar8 = (undefined **)FUN_14003e7c0(ppuVar8,pwVar13,SVar16,lVar17); + local_110 = ppuVar8; + FUN_14003d040((int *)ppuVar8); + local_108 = 1; + piVar15 = (int *)(local_120 + -4); + *piVar15 = *piVar15 + -1; + if (*piVar15 == 0) { + FUN_14003e8b0(local_120 + -8); + } + FUN_14003d0d0((longlong)ppuVar8); + } + FUN_14003e7c0(ppuVar8,pwVar13,SVar16,lVar17); + puVar7 = local_130; + local_res10 = PTR_DAT_14016f010; + if (PTR_DAT_14016f010 == (undefined *)0x0) { + local_res10 = puVar18; + } + if (local_130 != PTR_DAT_14016f010) { + piVar15 = (int *)FUN_14003e7c0(ppuVar8,pwVar13,SVar16,lVar17); + local_a8 = piVar15; + FUN_14003d040(piVar15); + local_a0 = 1; + FUN_140002190((longlong *)&local_res10,pwVar13,SVar16,lVar17); + local_res10 = puVar7; + if (((puVar7 != PTR_DAT_14016f010) && (puVar7 != (undefined *)0x0)) && + (puVar7 != (undefined *)0x8)) { + *(int *)(puVar7 + -4) = *(int *)(puVar7 + -4) + 1; + } + FUN_14003d0d0((longlong)piVar15); + } + FUN_1400416f0((longlong *)&local_res10,pwVar13,SVar16,lVar17); + if ((undefined8 *)param_1[0xac] != (undefined8 *)0x0) { + puVar18 = *(undefined **)param_1[0xac]; + } + uVar19 = 0; + FUN_1400bf180((longlong)puVar18,5); + uVar19 = CONCAT71((int7)((ulonglong)uVar19 >> 8),1); + FUN_1400b25d0((longlong)plVar12,'\x01',SVar16,lVar17); + if (((puVar7 != (undefined *)0x0) && (puVar7 != PTR_DAT_14016f010)) && + (puVar7 + -8 != (undefined *)0x0)) { + piVar9 = (int *)FUN_14003e7c0(plVar12,uVar19,SVar16,lVar17); + local_c8 = piVar9; + FUN_14003d040(piVar9); + local_c0 = 1; + piVar15 = (int *)(puVar7 + -4); + *piVar15 = *piVar15 + -1; + if (*piVar15 == 0) { + FUN_14003e8b0(puVar7 + -8); + } + FUN_14003d0d0((longlong)piVar9); + } + FUN_14003d0d0((longlong)local_160); + goto LAB_1400b5e4d; + } + if (!bVar3) { + bVar3 = true; + puVar6 = puVar18; + if (param_1[0xad] != 0) { + puVar6 = *(undefined **)(param_1[0xad] + 0x38); + } + FUN_14003d190((longlong)(puVar6 + 0x10)); + puVar6 = puVar18; + if ((undefined8 *)param_1[0xac] != (undefined8 *)0x0) { + puVar6 = *(undefined **)param_1[0xac]; + } + puVar1 = (undefined8 *)param_1[0xac]; + if (*(int *)(puVar6 + 0x100) == 3) { + puVar6 = puVar18; + if (puVar1 != (undefined8 *)0x0) { + puVar6 = (undefined *)*puVar1; + } + uVar19 = (**(code **)(*param_1 + 0x1c0))(param_1); + *(undefined8 *)(puVar6 + 0xd0) = uVar19; + puVar6 = puVar18; + if ((undefined8 *)param_1[0xac] != (undefined8 *)0x0) { + puVar6 = *(undefined **)param_1[0xac]; + } + *(double *)(puVar6 + 0xd8) = param_2; + param_3 = &DAT_140177f90; + in_RDX = 1; + param_4 = local_res18; + (**(code **)(param_1[0x2f5] + 0x80))(); + } + else { + puVar6 = puVar18; + if (puVar1 != (undefined8 *)0x0) { + puVar6 = (undefined *)*puVar1; + } + if (*(int *)(puVar6 + 0x100) < 3) { + puVar6 = puVar18; + if ((undefined8 *)param_1[0xac] != (undefined8 *)0x0) { + puVar6 = *(undefined **)param_1[0xac]; + } + in_RDX = 4; + FUN_1400bf180((longlong)puVar6,4); + } + } + } + piVar15 = local_160; + cVar14 = local_158; + if (0 < (int)puVar7) { + FUN_14003d0d0((longlong)local_160); + Sleep(10); + cVar14 = '\0'; + } + puVar7 = (undefined *)(ulonglong)((int)puVar7 + 1); + if (cVar14 != '\0') { + FUN_14003d0d0((longlong)piVar15); + } + } while( true ); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b5e80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b5e80.c new file mode 100644 index 00000000..eb824437 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b5e80.c @@ -0,0 +1,63 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b5e80 FUN_1400b5e80 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_1400b5e80(longlong *param_1,int *param_2,byte *param_3,byte *param_4) + +{ + char cVar1; + undefined8 uVar2; + int *piVar3; + int *piVar4; + undefined1 auStackY_1b8 [32]; + byte local_188; + byte local_187 [3]; + int local_184; + int local_180 [2]; + undefined8 local_178; + undefined4 local_168 [78]; + int *local_30; + ulonglong local_18; + + local_178 = 0xfffffffffffffffe; + local_18 = DAT_14016f5a0 ^ (ulonglong)auStackY_1b8; + (**(code **)(param_1[0xf] + 0x18))(); + local_184 = 0; + local_180[0] = 0; + uVar2 = (**(code **)(*param_1 + 0x58))(param_1); + FUN_140096e20(local_168,uVar2); + piVar3 = local_30; + uVar2 = FUN_1400b0bd0(param_1,local_30,(SIZE_T)param_3,param_4); + cVar1 = (char)uVar2; + piVar4 = local_30; + while (cVar1 != '\0') { + local_187[0] = 0; + local_188 = 0; + param_4 = &local_188; + param_3 = local_187; + local_30 = piVar4; + FUN_1400acd80(param_1,piVar4,param_3,param_4,&local_184,local_180); + piVar3 = piVar4; + if (local_188 != 0) { + piVar3 = local_30; + FUN_1400b2170(param_1,local_30); + } + if (local_187[0] != 0) break; + FUN_140096e60((longlong)local_168,piVar3,param_3,param_4); + uVar2 = (**(code **)(*param_1 + 0x58))(param_1); + FUN_140096e20(local_168,uVar2); + piVar3 = local_30; + uVar2 = FUN_1400b0bd0(param_1,local_30,(SIZE_T)param_3,param_4); + piVar4 = local_30; + cVar1 = (char)uVar2; + } + FUN_140096e60((longlong)local_168,piVar3,param_3,param_4); + if (param_2 != (int *)0x0) { + *param_2 = local_184; + param_2[1] = local_180[0]; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b5fd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b5fd0.c new file mode 100644 index 00000000..72c9d55d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b5fd0.c @@ -0,0 +1,502 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b5fd0 FUN_1400b5fd0 + * Pseudocode, not original source. */ + +void FUN_1400b5fd0(longlong *param_1,uint param_2,SIZE_T param_3,undefined *param_4) + +{ + undefined8 *puVar1; + char cVar2; + uint uVar3; + uint uVar4; + uint uVar5; + uint uVar6; + int iVar7; + longlong *plVar8; + longlong *plVar9; + ulonglong uVar10; + uint *puVar11; + int *piVar12; + int *piVar13; + undefined **ppuVar14; + undefined ***pppuVar15; + longlong lVar16; + longlong **pplVar17; + uint *puVar18; + undefined8 uVar19; + uint *puVar20; + uint uVar21; + undefined *puVar22; + undefined *puVar23; + ulonglong uVar24; + short *psVar25; + longlong *plVar26; + longlong *local_res8; + uint local_res10; + uint *local_res18; + longlong *local_res20; + undefined **local_228; + undefined4 local_220; + undefined2 local_21c; + undefined *local_218; + undefined *local_210; + undefined *local_208; + undefined *local_200; + longlong *local_1f8; + undefined1 local_1f0; + undefined *local_1e8; + undefined *local_1e0; + undefined4 local_1d8 [2]; + ulonglong local_1d0 [2]; + longlong local_1c0 [2]; + undefined **local_1b0; + undefined8 local_1a8; + undefined8 local_1a0; + undefined8 local_198; + undefined8 local_190; + longlong local_188; + longlong local_180; + ulonglong local_178; + undefined4 local_168; + undefined **local_160; + undefined8 local_158; + undefined8 local_150; + undefined8 local_148; + undefined8 local_140; + undefined **local_130; + undefined4 local_128; + undefined2 local_124; + undefined **local_118; + undefined8 local_110; + undefined8 local_108; + undefined8 local_100; + undefined8 local_f8; + int *local_e8; + undefined1 local_e0; + int *local_d8; + undefined1 local_d0; + longlong *local_c8; + undefined1 local_c0; + undefined8 local_b8; + longlong *local_b0; + undefined1 local_a8; + int *local_a0; + undefined1 local_98; + int *local_90; + undefined1 local_88; + undefined **local_80; + undefined1 local_78; + longlong *local_70; + + local_b8 = 0xfffffffffffffffe; + plVar26 = (longlong *)0x0; + uVar5 = 0; + plVar8 = plVar26; + if ((undefined8 *)param_1[0x2ae] != (undefined8 *)0x0) { + plVar8 = *(longlong **)param_1[0x2ae]; + } + if ((char)plVar8[0x10] != '\x01') { + return; + } + plVar8 = plVar26; + if ((undefined8 *)param_1[0x2ae] != (undefined8 *)0x0) { + plVar8 = *(longlong **)param_1[0x2ae]; + } + uVar19 = 0; + local_res10 = param_2; + FUN_1400c8280(plVar8,'\0'); + local_1d0[0] = 0; + local_1c0[0] = 0; + local_1c0[1] = 0; + local_1a8 = 0; + local_1a0 = 0; + local_198 = 0; + local_190 = 0; + local_1b0 = Proud::ByteArray::vftable; + local_178 = 0; + local_180 = 0; + local_188 = 0; + local_158 = 0; + local_150 = 0; + local_148 = 0; + local_140 = 0; + local_160 = Proud::ByteArray::vftable; + local_130 = Proud::AddrPort::vftable; + local_128 = 0; + local_124 = 0; + local_110 = 0; + local_108 = 0; + local_100 = 0; + local_f8 = 0; + local_118 = Proud::ByteArray::vftable; + local_res20 = (longlong *)FUN_14003e840(0x60); + plVar8 = plVar26; + if (local_res20 != (longlong *)0x0) { + plVar8 = FUN_140071b80(local_res20,uVar19,param_3,param_4); + } + if (plVar8 == (longlong *)0x0) { + local_res20 = (longlong *)0x0; + plVar9 = plVar26; + } + else { + plVar9 = (longlong *)FUN_14003e840(0x48); + local_70 = plVar9; + if (plVar9 != (longlong *)0x0) { + local_res20 = plVar9; + uVar10 = FUN_140094860(); + param_3 = CONCAT71((int7)(param_3 >> 8),1); + FUN_14003cf60((undefined4 *)plVar9,uVar10 & 0xffffffff,param_3,param_4); + } + local_res20 = plVar9; + FUN_14003d040((int *)plVar9); + plVar9[8] = 1; + plVar9[7] = (longlong)plVar8; + FUN_14003d0d0((longlong)plVar9); + } + pplVar17 = &local_res20; + FUN_14005d770(local_1d0,(ulonglong *)pplVar17,param_3,param_4); + if (plVar9 != (longlong *)0x0) { + local_1f8 = plVar9; + FUN_14003d040((int *)plVar9); + local_1f0 = 1; + plVar8 = plVar9 + 8; + *plVar8 = *plVar8 + -1; + if (*plVar8 == 0) { + FUN_14003d0d0((longlong)plVar9); + local_1f0 = 0; + FUN_140038210((undefined4 *)plVar9,pplVar17,param_3,param_4); + } + else { + FUN_14003d0d0((longlong)plVar9); + local_1f0 = 0; + } + } + local_1d8[0] = 0xd; + plVar8 = plVar26; + if (local_1d0[0] != 0) { + plVar8 = *(longlong **)(local_1d0[0] + 0x38); + } + *(undefined4 *)plVar8 = 0x1c; + local_168 = 1; + FUN_1400b1d40(param_1,local_1d8,param_3,param_4); + plVar8 = plVar26; + if ((undefined8 *)param_1[0x2ae] != (undefined8 *)0x0) { + plVar8 = *(longlong **)param_1[0x2ae]; + } + puVar1 = (undefined8 *)param_1[0x2ae]; + if ((int)plVar8[0x28] < DAT_14016f088) { + plVar8 = plVar26; + if (puVar1 != (undefined8 *)0x0) { + plVar8 = (longlong *)*puVar1; + } + plVar8[0x20] = DAT_140176190; + plVar8 = plVar26; + if ((undefined8 *)param_1[0x2ae] != (undefined8 *)0x0) { + plVar8 = *(longlong **)param_1[0x2ae]; + } + *(int *)(plVar8 + 0x28) = (int)plVar8[0x28] + 1; + } + else { + plVar8 = plVar26; + if (puVar1 != (undefined8 *)0x0) { + plVar8 = (longlong *)*puVar1; + } + plVar8[0x20] = DAT_14016f078; + } + if (((char)param_1[0x2f2] == '\0') && ((int)param_1[0xd9] == 0)) goto LAB_1400b6922; + FUN_1400a8ae0((longlong)param_1,(longlong *)&local_210,param_3,param_4); + plVar8 = param_1 + 0xe; + (**(code **)(*plVar8 + 0x1c0))(plVar8); + if (((longlong *)param_1[0x2a4] != (longlong *)0x0) && + ((lVar16 = *(longlong *)param_1[0x2a4], lVar16 != 0 && (lVar16 != 0x40)))) { + (**(code **)(*plVar8 + 0x1c0))(plVar8); + } + if ((((longlong *)param_1[0x2a4] == (longlong *)0x0) || + (lVar16 = *(longlong *)param_1[0x2a4], lVar16 == 0)) || (lVar16 == 0x40)) { + local_220 = DAT_14016f3d0; + local_21c = DAT_14016f3d4; + } + else { + plVar9 = plVar26; + if (lVar16 != 0) { + plVar9 = (longlong *)(lVar16 + -0x40); + } + local_220 = (undefined4)plVar9[0x26]; + local_21c = *(undefined2 *)((longlong)plVar9 + 0x134); + } + local_228 = Proud::AddrPort::vftable; + ppuVar14 = &local_200; + pppuVar15 = &local_228; + plVar9 = FUN_1400420f0((longlong)pppuVar15,(longlong *)ppuVar14,param_3,param_4); + psVar25 = (short *)*plVar9; + if ((short *)*plVar9 == (short *)0x0) { + psVar25 = (short *)PTR_DAT_14016f010; + } + FUN_14003e7c0(pppuVar15,ppuVar14,param_3,param_4); + puVar20 = (uint *)PTR_DAT_14016f010; + local_res18 = (uint *)PTR_DAT_14016f010; + uVar3 = FUN_14003e620(psVar25); + plVar9 = plVar26; + if ((puVar20 != (uint *)0x0) && (plVar9 = (longlong *)0x0, puVar20 != (uint *)PTR_DAT_14016f010)) + { + plVar9 = (longlong *)(ulonglong)*(uint *)((longlong)puVar20 + -8); + } + uVar4 = uVar3; + if ((((int)uVar3 <= (int)plVar9) && (uVar4 = uVar5, puVar20 != (uint *)0x0)) && + (puVar20 != (uint *)PTR_DAT_14016f010)) { + uVar4 = *(uint *)((longlong)puVar20 + -8); + } + uVar21 = 1; + if (1 < (int)uVar4) { + uVar21 = uVar4; + } + uVar4 = uVar5; + if ((puVar20 != (uint *)0x0) && (puVar20 != (uint *)PTR_DAT_14016f010)) { + uVar4 = *(uint *)((longlong)puVar20 + -8); + } + uVar6 = 0; + if ((int)uVar4 < (int)uVar21) { + if (puVar20 == (uint *)0x0) { + puVar20 = (uint *)PTR_DAT_14016f010; + } + local_res18 = puVar20; + if ((int)uVar21 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar21 == 0) { + FUN_140002190((longlong *)&local_res18,plVar9,param_3,param_4); + } + else { + uVar4 = uVar6; + if ((puVar20 != (uint *)0x0) && (puVar20 != (uint *)PTR_DAT_14016f010)) { + uVar4 = puVar20[-2]; + } + if (uVar21 != uVar4) { + puVar11 = (uint *)FUN_14003e840((longlong)(int)uVar21 * 2 + 10); + if (puVar11 != (uint *)0x0) { + *puVar11 = 0; + puVar11[1] = 1; + } + *puVar11 = uVar21; + uVar4 = uVar6; + if ((puVar20 != (uint *)0x0) && (puVar20 != (uint *)PTR_DAT_14016f010)) { + uVar4 = puVar20[-2]; + } + puVar18 = (uint *)PTR_DAT_14016f010; + if ((int)uVar21 < (int)uVar4) { +LAB_1400b646a: + if (puVar20 != (uint *)0x0) { + puVar18 = puVar20; + } + } + else { + uVar21 = uVar5; + if (puVar20 != (uint *)0x0) { + if (puVar20 != (uint *)PTR_DAT_14016f010) { + uVar21 = puVar20[-2]; + } + goto LAB_1400b646a; + } + } + uVar10 = (ulonglong)uVar21; + FUN_14003e650(puVar11 + 2,puVar18,uVar21); + FUN_140002190((longlong *)&local_res18,puVar18,uVar10,param_4); + local_res18 = puVar11 + 2; + } + } + } + FUN_140001df0((longlong *)&local_res18); + puVar20 = local_res18; + puVar11 = local_res18; + if (local_res18 == (uint *)0x0) { + puVar11 = (uint *)PTR_DAT_14016f010; + } + puVar18 = (uint *)(ulonglong)uVar3; + FUN_14003e650(puVar11,psVar25,uVar3); + puVar11 = puVar20; + if (puVar20 == (uint *)0x0) { + puVar11 = (uint *)PTR_DAT_14016f010; + } + uVar5 = FUN_14003e620((short *)puVar11); + plVar9 = plVar26; + if (0 < (int)uVar5) { + plVar9 = (longlong *)(ulonglong)uVar5; + } + if ((puVar20 != (uint *)0x0) && (puVar20 != (uint *)PTR_DAT_14016f010)) { + uVar6 = puVar20[-2]; + } + if (((int)plVar9 < (int)uVar6) || (plVar9 = plVar26, puVar20 == (uint *)0x0)) { +LAB_1400b6506: + if (((puVar20 != (uint *)PTR_DAT_14016f010) && (puVar20 != (uint *)0x0)) && + (puVar18 = puVar20 + -2, puVar18 != (uint *)0x0)) { + *puVar18 = (uint)plVar9; + *(undefined2 *)((longlong)puVar20 + (longlong)(int)(uint)plVar9 * 2) = 0; + } + } + else if (puVar20 != (uint *)PTR_DAT_14016f010) { + plVar9 = (longlong *)(ulonglong)puVar20[-2]; + goto LAB_1400b6506; + } + if (((local_200 != (undefined *)0x0) && (local_200 != PTR_DAT_14016f010)) && + (local_200 + -8 != (undefined *)0x0)) { + piVar12 = (int *)FUN_14003e7c0(PTR_DAT_14016f010,plVar9,puVar18,param_4); + local_a0 = piVar12; + FUN_14003d040(piVar12); + local_98 = 1; + piVar13 = (int *)(local_200 + -4); + *piVar13 = *piVar13 + -1; + if (*piVar13 == 0) { + FUN_14003e8b0(local_200 + -8); + } + FUN_14003d0d0((longlong)piVar12); + } + local_res8 = (longlong *)((ulonglong)local_res8 & 0xffffffffffffff00); + local_200 = PTR_DAT_14016f010; + cVar2 = (**(code **)(*plVar8 + 0x158))(plVar8,&local_res8); + uVar5 = 1; + if (cVar2 != '\0') { + uVar5 = 1; + if ((char)local_res8 == '\0') { + uVar5 = 2; + } + } + plVar8 = (longlong *)(**(code **)(*plVar8 + 0xb0))(plVar8,&local_1e8); + piVar13 = (int *)*plVar8; + if (piVar13 == (int *)0x0) { + iVar7 = 0; + } + else if (piVar13 == (int *)PTR_DAT_14016f010) { + iVar7 = 0; + } + else { + iVar7 = piVar13[-2]; + } + puVar23 = PTR_DAT_14016f010; + if (((local_1e8 != (undefined *)0x0) && (local_1e8 != PTR_DAT_14016f010)) && + (local_1e8 + -8 != (undefined *)0x0)) { + piVar13 = (int *)FUN_14003e7c0(piVar13,PTR_DAT_14016f010,puVar18,param_4); + local_e8 = piVar13; + FUN_14003d040(piVar13); + local_e0 = 1; + piVar12 = (int *)(local_1e8 + -4); + *piVar12 = *piVar12 + -1; + if (*piVar12 == 0) { + FUN_14003e8b0(local_1e8 + -8); + } + FUN_14003d0d0((longlong)piVar13); + } + if (iVar7 != 0) { + uVar5 = uVar5 + 1; + } + FUN_14003e7c0(piVar13,puVar23,puVar18,param_4); + local_218 = PTR_DAT_14016f010; + FUN_14003e4d0((longlong *)&local_1e0,puVar23,puVar18,param_4); + (**(code **)(param_1[0xe] + 0xb0))(); + if (param_1[0xbb] == 0) { + lVar16 = 0; + } + else { + lVar16 = *(longlong *)(param_1[0xbb] + 0x38); + } + uVar24 = (ulonglong)*(uint *)(lVar16 + 0x2a8); + uVar10 = (ulonglong)local_res10; + ppuVar14 = &local_218; + FUN_140029b80((longlong *)ppuVar14, + L"(first chance) to-server UDP punch lost##Reason:%d##CliInstCount=%d##RecentElapTime=%3.3f##DisconnedCount=%d##recv count=%d##last ok recv interval=%3.3f##Recurred:%d##LocalIP:%s##UDP kept time:%3.3f##Time diff since RecvIssue:%3.3f##NAT name=%s##%s##Process=%s" + ,uVar10,uVar24); + if (((local_208 != (undefined *)0x0) && (local_208 != PTR_DAT_14016f010)) && + (local_208 + -8 != (undefined *)0x0)) { + ppuVar14 = (undefined **)FUN_14003e7c0(ppuVar14,PTR_DAT_14016f010,uVar10,uVar24); + local_80 = ppuVar14; + FUN_14003d040((int *)ppuVar14); + local_78 = 1; + piVar13 = (int *)(local_208 + -4); + *piVar13 = *piVar13 + -1; + if (*piVar13 == 0) { + FUN_14003e8b0(local_208 + -8); + } + FUN_14003d0d0((longlong)ppuVar14); + } + local_208 = PTR_DAT_14016f010; + if (((local_1e0 != (undefined *)0x0) && (local_1e0 != PTR_DAT_14016f010)) && + (local_1e0 + -8 != (undefined *)0x0)) { + piVar12 = (int *)FUN_14003e7c0(ppuVar14,PTR_DAT_14016f010,uVar10,uVar24); + local_d8 = piVar12; + FUN_14003d040(piVar12); + local_d0 = 1; + piVar13 = (int *)(local_1e0 + -4); + *piVar13 = *piVar13 + -1; + if (*piVar13 == 0) { + FUN_14003e8b0(local_1e0 + -8); + } + FUN_14003d0d0((longlong)piVar12); + } + puVar23 = local_218; + puVar22 = &DAT_14012e3f0; + uVar10 = (ulonglong)uVar5; + plVar8 = param_1; + param_4 = local_218; + FUN_1400aa4c0((longlong)param_1,uVar10,L"%s",local_218); + if (((puVar23 != (undefined *)0x0) && (puVar23 != PTR_DAT_14016f010)) && + (puVar23 + -8 != (undefined *)0x0)) { + plVar8 = (longlong *)FUN_14003e7c0(plVar8,uVar10,puVar22,param_4); + local_c8 = plVar8; + FUN_14003d040((int *)plVar8); + local_c0 = 1; + piVar13 = (int *)(puVar23 + -4); + *piVar13 = *piVar13 + -1; + if (*piVar13 == 0) { + FUN_14003e8b0(puVar23 + -8); + } + FUN_14003d0d0((longlong)plVar8); + } + puVar20 = local_res18; + if (((local_res18 != (uint *)0x0) && (local_res18 != (uint *)PTR_DAT_14016f010)) && + (puVar11 = local_res18 + -2, puVar11 != (uint *)0x0)) { + plVar8 = (longlong *)FUN_14003e7c0(plVar8,uVar10,puVar22,param_4); + local_b0 = plVar8; + FUN_14003d040((int *)plVar8); + local_a8 = 1; + puVar20 = puVar20 + -1; + *puVar20 = *puVar20 - 1; + if (*puVar20 == 0) { + FUN_14003e8b0(puVar11); + } + FUN_14003d0d0((longlong)plVar8); + } + if (((local_210 != (undefined *)0x0) && (local_210 != PTR_DAT_14016f010)) && + (local_210 + -8 != (undefined *)0x0)) { + piVar12 = (int *)FUN_14003e7c0(plVar8,uVar10,puVar22,param_4); + local_90 = piVar12; + FUN_14003d040(piVar12); + local_88 = 1; + piVar13 = (int *)(local_210 + -4); + *piVar13 = *piVar13 + -1; + if (*piVar13 == 0) { + FUN_14003e8b0(local_210 + -8); + } + FUN_14003d0d0((longlong)piVar12); + } +LAB_1400b6922: + puVar23 = &DAT_140177f90; + uVar19 = 1; + (**(code **)(param_1[0x303] + 0x50))(); + FUN_140049e40(&local_118); + FUN_140049e40(&local_160); + local_res8 = &local_188; + FUN_14008a320(&local_188); + if (local_180 != 0) { + if ((longlong)local_178 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_178 = local_178 & 0xffffffff00000000; + } + FUN_140049e40(&local_1b0); + FUN_1400641e0(local_1c0 + 1,uVar19,puVar23,param_4); + FUN_140064160(local_1c0,uVar19,puVar23,param_4); + FUN_140038280((longlong *)local_1d0,uVar19,puVar23,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b69d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b69d0.c new file mode 100644 index 00000000..afec3ceb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b69d0.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b69d0 FUN_1400b69d0 + * Pseudocode, not original source. */ + +void FUN_1400b69d0(longlong *param_1,int *param_2,byte *param_3,byte *param_4) + +{ + char cVar1; + int *piVar2; + longlong lVar3; + + piVar2 = param_2; + if (((double)param_1[699] != -1.0) && + (cVar1 = FUN_140048a20((longlong)(param_1 + 0x2b6)), cVar1 == '\0')) { + lVar3 = (**(code **)(*param_1 + 0x1c0))(param_1); + param_1[699] = lVar3; + } + FUN_1400b2210(param_1 + -0xe,piVar2,(SIZE_T)param_3,param_4); + FUN_1400b5e80(param_1 + -0xe,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b6a40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b6a40.c new file mode 100644 index 00000000..bdd26597 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b6a40.c @@ -0,0 +1,138 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b6a40 FUN_1400b6a40 + * Pseudocode, not original source. */ + +void FUN_1400b6a40(longlong *param_1,undefined8 param_2,SIZE_T param_3,undefined8 param_4) + +{ + longlong *plVar1; + longlong *plVar2; + ulonglong uVar3; + longlong *plVar4; + undefined8 uVar5; + longlong **pplVar6; + undefined4 *puVar7; + int iVar8; + undefined4 uVar9; + undefined4 uVar10; + longlong *local_res20; + undefined4 local_128 [2]; + ulonglong local_120 [2]; + longlong local_110 [2]; + undefined **local_100; + undefined8 local_f8; + undefined8 local_f0; + undefined8 local_e8; + undefined8 local_e0; + longlong local_d8; + longlong local_d0; + ulonglong local_c8; + undefined4 local_b8; + undefined **local_b0; + undefined8 local_a8; + undefined8 local_a0; + undefined8 local_98; + undefined8 local_90; + undefined **local_80; + undefined4 local_78; + undefined2 local_74; + undefined **local_68; + undefined8 local_60; + undefined8 local_58; + undefined8 local_50; + undefined8 local_48; + undefined8 local_38; + + iVar8 = (int)param_3; + local_38 = 0xfffffffffffffffe; + plVar4 = (longlong *)0x0; + local_120[0] = 0; + local_110[0] = 0; + local_110[1] = 0; + local_f8 = 0; + local_f0 = 0; + local_e8 = 0; + local_e0 = 0; + local_100 = Proud::ByteArray::vftable; + local_c8 = 0; + local_d0 = 0; + local_d8 = 0; + local_a8 = 0; + local_a0 = 0; + local_98 = 0; + local_90 = 0; + local_b0 = Proud::ByteArray::vftable; + local_80 = Proud::AddrPort::vftable; + local_78 = 0; + local_74 = 0; + local_60 = 0; + local_58 = 0; + local_50 = 0; + local_48 = 0; + local_68 = Proud::ByteArray::vftable; + uVar5 = param_2; + local_res20 = (longlong *)FUN_14003e840(0x60); + plVar1 = plVar4; + if (local_res20 != (longlong *)0x0) { + plVar1 = FUN_140071b80(local_res20,uVar5,param_3,param_4); + } + if (plVar1 == (longlong *)0x0) { + local_res20 = (longlong *)0x0; + plVar2 = plVar4; + } + else { + plVar2 = (longlong *)FUN_14003e840(0x48); + if (plVar2 != (longlong *)0x0) { + local_res20 = plVar2; + uVar3 = FUN_140094860(); + uVar10 = (undefined4)(param_3 >> 0x20); + uVar9 = CONCAT31((int3)(param_3 >> 8),1); + FUN_14003cf60((undefined4 *)plVar2,uVar3 & 0xffffffff,CONCAT44(uVar10,uVar9),param_4); + param_3 = CONCAT44(uVar10,uVar9); + } + local_res20 = plVar2; + FUN_14003d040((int *)plVar2); + plVar2[8] = 1; + plVar2[7] = (longlong)plVar1; + FUN_14003d0d0((longlong)plVar2); + } + pplVar6 = &local_res20; + FUN_14005d770(local_120,(ulonglong *)pplVar6,param_3,param_4); + if (plVar2 != (longlong *)0x0) { + FUN_14003d040((int *)plVar2); + plVar1 = plVar2 + 8; + *plVar1 = *plVar1 + -1; + if (*plVar1 == 0) { + FUN_14003d0d0((longlong)plVar2); + FUN_140038210((undefined4 *)plVar2,pplVar6,param_3,param_4); + } + else { + FUN_14003d0d0((longlong)plVar2); + } + } + local_128[0] = 0xb; + if (local_120[0] != 0) { + plVar4 = *(longlong **)(local_120[0] + 0x38); + } + *(int *)plVar4 = iVar8; + local_b8 = (undefined4)param_2; + puVar7 = local_128; + FUN_1400b1d40(param_1,puVar7,param_3,param_4); + FUN_140049e40(&local_68); + FUN_140049e40(&local_b0); + local_res20 = &local_d8; + FUN_14008a320(&local_d8); + if (local_d0 != 0) { + if ((longlong)local_c8 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_c8 = local_c8 & 0xffffffff00000000; + } + FUN_140049e40(&local_100); + FUN_1400641e0(local_110 + 1,puVar7,param_3,param_4); + FUN_140064160(local_110,puVar7,param_3,param_4); + FUN_140038280((longlong *)local_120,puVar7,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b6c70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b6c70.c new file mode 100644 index 00000000..0a8fa6eb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b6c70.c @@ -0,0 +1,28 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b6c70 FUN_1400b6c70 + * Pseudocode, not original source. */ + +void FUN_1400b6c70(longlong *param_1,undefined8 param_2,SIZE_T param_3,undefined *param_4) + +{ + longlong lVar1; + longlong lVar2; + double dVar3; + + dVar3 = (double)(**(code **)(param_1[0xe] + 0x1c0))(param_1 + 0xe); + lVar2 = 0; + lVar1 = lVar2; + if ((longlong *)param_1[0x2ae] != (longlong *)0x0) { + lVar1 = *(longlong *)param_1[0x2ae]; + } + if (*(char *)(lVar1 + 0x80) != '\0') { + if ((longlong *)param_1[0x2ae] != (longlong *)0x0) { + lVar2 = *(longlong *)param_1[0x2ae]; + } + if (DAT_14016f0f8 * 10.0 < dVar3 - *(double *)(lVar2 + 0x180)) { + FUN_1400b5fd0(param_1,0x1c,param_3,param_4); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b6cf0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b6cf0.c new file mode 100644 index 00000000..134c32d0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b6cf0.c @@ -0,0 +1,69 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b6cf0 FUN_1400b6cf0 + * Pseudocode, not original source. */ + +void FUN_1400b6cf0(longlong *param_1,int param_2,SIZE_T param_3,undefined *param_4) + +{ + int iVar1; + int *piVar2; + longlong lVar3; + longlong *plVar4; + longlong lVar5; + undefined1 *puVar6; + undefined1 local_res8 [8]; + + local_res8[0] = 0; + puVar6 = local_res8; + iVar1 = (**(code **)(*param_1 + 0x108))(); + if (iVar1 == 2) { + piVar2 = (int *)(**(code **)(param_1[-0xe] + 0x58))(param_1 + -0xe); + FUN_14003d040(piVar2); + if (param_2 == 1) { + FUN_14009e1d0((longlong)(param_1 + -0xe),0x1e,param_3,param_4); + } + else if (param_2 == 2) { + FUN_1400b5fd0(param_1 + -0xe,0x1e,param_3,param_4); + } + else if (param_2 == 3) { + (**(code **)(param_1[1] + 0x10))(); + plVar4 = (longlong *)param_1[0x296]; + if ((((plVar4 != (longlong *)0x0) && (*plVar4 != 0)) && (plVar4 != (longlong *)0x0)) && + ((*plVar4 != 0 && (*plVar4 != 0x40)))) { + plVar4 = (longlong *)param_1[0x296]; + if (((plVar4 == (longlong *)0x0) || ((*plVar4 == 0 || (plVar4 == (longlong *)0x0)))) || + (*plVar4 == 0)) { + lVar3 = 0; + } + else { + lVar3 = *plVar4 + -0x40; + } + plVar4 = (longlong *)0x0; + if (*(undefined8 **)(lVar3 + 0x100) != (undefined8 *)0x0) { + plVar4 = (longlong *)**(undefined8 **)(lVar3 + 0x100); + } + FUN_140043a50(plVar4,puVar6,param_3,param_4); + } + if (param_1[0x2c0] == 0) { + lVar3 = 0; + } + else { + lVar3 = param_1[0x2be]; + } + for (; lVar3 != 0; lVar3 = *(longlong *)(lVar3 + 0x10)) { + lVar5 = 0; + if (*(longlong **)(lVar3 + 8) != (longlong *)0x0) { + lVar5 = **(longlong **)(lVar3 + 8); + } + if ((*(longlong **)(lVar5 + 0x18) != (longlong *)0x0) && + (**(longlong **)(lVar5 + 0x18) != 0)) { + plVar4 = (longlong *)FUN_1400cf2a0(lVar5); + (**(code **)(*plVar4 + 0x10))(plVar4); + } + } + } + FUN_14003d0d0((longlong)piVar2); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b6e60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b6e60.c new file mode 100644 index 00000000..4bec6a49 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b6e60.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b6e60 FUN_1400b6e60 + * Pseudocode, not original source. */ + +undefined8 FUN_1400b6e60(longlong param_1,undefined8 param_2,SIZE_T param_3,undefined *param_4) + +{ + int *piVar1; + undefined8 uVar2; + + piVar1 = (int *)(**(code **)(**(longlong **)(param_1 + 0x20) + 0x58))(); + FUN_14003d040(piVar1); + FUN_1400b6c70(*(longlong **)(param_1 + 0x20),param_2,param_3,param_4); + uVar2 = FUN_14003d0d0((longlong)piVar1); + return CONCAT71((int7)((ulonglong)uVar2 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b6ec0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b6ec0.c new file mode 100644 index 00000000..8a3aff4f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b6ec0.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b6ec0 FUN_1400b6ec0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400b6ec0(undefined8 param_1,undefined8 param_2,undefined8 param_3) + +{ + DWORD DVar1; + HANDLE pvVar2; + DWORD local_18; + undefined8 local_14; + undefined4 local_c; + + local_18 = GetCurrentThreadId(); + local_c = 0; + local_14 = param_2; + DVar1 = GetCurrentProcessId(); + pvVar2 = GetCurrentProcess(); + MiniDumpWriteDump(pvVar2,DVar1,param_3,0,&local_18,0,0); + return 1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b6f40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b6f40.c new file mode 100644 index 00000000..1e299b57 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b6f40.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b6f40 FUN_1400b6f40 + * Pseudocode, not original source. */ + +void FUN_1400b6f40(LPCWSTR param_1) + +{ + HANDLE hObject; + + SetErrorMode(2); + hObject = CreateFileW(param_1,0x40000000,2,(LPSECURITY_ATTRIBUTES)0x0,2,0x80,(HANDLE)0x0); + if (hObject != (HANDLE)0xffffffffffffffff) { + uRam0000000000000000 = 1; + CloseHandle(hObject); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b6fb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b6fb0.c new file mode 100644 index 00000000..fa49d382 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b6fb0.c @@ -0,0 +1,42 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b6fb0 FUN_1400b6fb0 + * Pseudocode, not original source. */ + +undefined8 * +FUN_1400b6fb0(undefined8 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 *puVar1; + + *param_1 = Proud::AddrPort::vftable; + *(undefined4 *)(param_1 + 1) = 0; + *(undefined2 *)((longlong)param_1 + 0xc) = 0; + param_1[2] = Proud::AddrPort::vftable; + *(undefined4 *)(param_1 + 3) = 0; + *(undefined2 *)((longlong)param_1 + 0x1c) = 0; + param_1[4] = Proud::AddrPort::vftable; + *(undefined4 *)(param_1 + 5) = 0; + *(undefined2 *)((longlong)param_1 + 0x2c) = 0; + puVar1 = param_1 + 7; + FUN_140059380((undefined1 *)puVar1); + FUN_14003e7c0(puVar1,param_2,param_3,param_4); + param_1[0x13] = PTR_DAT_14016f010; + *(undefined1 *)((longlong)param_1 + 0x91) = 0; + *(undefined1 *)((longlong)param_1 + 0x34) = 1; + *(undefined4 *)(param_1 + 6) = 0; + *(undefined4 *)(param_1 + 3) = DAT_14016f3d0; + *(undefined2 *)((longlong)param_1 + 0x1c) = DAT_14016f3d4; + *(undefined4 *)(param_1 + 1) = *(undefined4 *)(param_1 + 3); + *(undefined2 *)((longlong)param_1 + 0xc) = *(undefined2 *)((longlong)param_1 + 0x1c); + *(undefined4 *)(param_1 + 5) = DAT_14016f3d0; + *(undefined2 *)((longlong)param_1 + 0x2c) = DAT_14016f3d4; + param_1[0x14] = 0; + *(undefined4 *)(param_1 + 0x15) = 0; + *(undefined1 *)(param_1 + 0x12) = 0; + param_1[0x16] = 0; + param_1[0x17] = 0; + *(undefined4 *)(param_1 + 0x19) = 0; + param_1[0x18] = 0; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b70a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b70a0.c new file mode 100644 index 00000000..8daa6cee --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b70a0.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b70a0 FUN_1400b70a0 + * Pseudocode, not original source. */ + +ulonglong FUN_1400b70a0(double *param_1,double param_2,double param_3) + +{ + int iVar1; + ulonglong in_RAX; + + if (DAT_14017614c != '\0') { + if (*param_1 == 0.0) { + *param_1 = param_2; + } + else if (DAT_14016f14c <= *(int *)(param_1 + 1)) { + iVar1 = (int)((param_2 - *param_1) * param_3); + return (ulonglong)CONCAT31((int3)((uint)iVar1 >> 8),iVar1 < *(int *)(param_1 + 1)); + } + } + return in_RAX & 0xffffffffffffff00; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b70e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b70e0.c new file mode 100644 index 00000000..3bfd40b8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b70e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b70e0 FUN_1400b70e0 + * Pseudocode, not original source. */ + +void FUN_1400b70e0(longlong param_1,int param_2) + +{ + *(int *)(param_1 + 8) = *(int *)(param_1 + 8) + param_2; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b70f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b70f0.c new file mode 100644 index 00000000..71f5109e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b70f0.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b70f0 FUN_1400b70f0 + * Pseudocode, not original source. */ + +void FUN_1400b70f0(double *param_1,double param_2) + +{ + if (0.0 < param_2 - *param_1) { + *param_1 = param_2; + *(undefined4 *)(param_1 + 1) = 0; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b7110.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b7110.c new file mode 100644 index 00000000..4a460f33 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b7110.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b7110 FUN_1400b7110 + * Pseudocode, not original source. */ + +undefined8 * FUN_1400b7110(undefined8 *param_1) + +{ + *param_1 = 0; + *(undefined4 *)(param_1 + 1) = 0; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b7120.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b7120.c new file mode 100644 index 00000000..54e8b121 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b7120.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b7120 FUN_1400b7120 + * Pseudocode, not original source. */ + +undefined8 FUN_1400b7120(double *param_1,double param_2) + +{ + if (*param_1 == 0.0) { + *param_1 = param_2; + } + return 0x6400000; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b7140.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b7140.c new file mode 100644 index 00000000..c527bb27 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b7140.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b7140 FUN_1400b7140 + * Pseudocode, not original source. */ + +undefined1 FUN_1400b7140(longlong param_1,double param_2) + +{ + if (DAT_14016f180 * 3.0 < param_2 - *(double *)(param_1 + 0x18)) { + return 1; + } + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b7170.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b7170.c new file mode 100644 index 00000000..b00bbbc1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b7170.c @@ -0,0 +1,31 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b7170 FUN_1400b7170 + * Pseudocode, not original source. */ + +void FUN_1400b7170(double *param_1,double param_2,double param_3) + +{ + double dVar1; + + if (param_3 == 0.0) { + param_3 = 2146483647.0; + } + if (param_2 * 0.5 <= param_3) { + dVar1 = *param_1 * 2.0; + *param_1 = dVar1; + if (2146483647.0 <= dVar1) { + dVar1 = 2146483647.0; + } + *param_1 = dVar1; + } + else { + *param_1 = param_3 * 0.8; + } + if (*param_1 <= (double)DAT_14016f14c) { + *param_1 = (double)DAT_14016f14c; + return; + } + *param_1 = *param_1; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b71f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b71f0.c new file mode 100644 index 00000000..eefc2af9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b71f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b71f0 FUN_1400b71f0 + * Pseudocode, not original source. */ + +undefined8 * FUN_1400b71f0(undefined8 *param_1) + +{ + *param_1 = 0x41dffc2f6fc00000; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b7210.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b7210.c new file mode 100644 index 00000000..e33a325b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b7210.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b7210 FUN_1400b7210 + * Pseudocode, not original source. */ + +void FUN_1400b7210(undefined8 *param_1,double param_2) + +{ + if ((double)param_1[1] == 0.0) { + param_1[1] = param_2; + } + if (DAT_14016f180 * 3.0 < param_2 - (double)param_1[1]) { + param_1[1] = param_2; + *param_1 = 0; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b7260.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b7260.c new file mode 100644 index 00000000..a63f02b1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b7260.c @@ -0,0 +1,23 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b7260 FUN_1400b7260 + * Pseudocode, not original source. */ + +void FUN_1400b7260(double *param_1,double param_2) + +{ + double dVar1; + double dVar2; + + if (param_1[2] == 0.0) { + param_1[2] = param_2; + } + dVar2 = param_2 - param_1[2]; + if ((dVar2 != 0.0) && (DAT_14016f180 * 0.2 < dVar2)) { + dVar1 = param_1[1]; + param_1[2] = param_2; + param_1[1] = 0.0; + *param_1 = (dVar1 / dVar2 - *param_1) * 0.7 + *param_1; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b72d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b72d0.c new file mode 100644 index 00000000..b8562c8e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b72d0.c @@ -0,0 +1,50 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b72d0 FUN_1400b72d0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +undefined8 FUN_1400b72d0(uint param_1,uint param_2,longlong param_3,undefined *param_4) + +{ + DWORD DVar1; + DWORD DVar2; + undefined8 uVar3; + longlong lVar4; + undefined1 auStack_168 [32]; + byte local_148 [256]; + ulonglong local_48; + + local_48 = DAT_14016f5a0 ^ (ulonglong)auStack_168; + lVar4 = (longlong)(int)param_2; + if (param_3 == 0) { + uVar3 = 0x10; + } + else { + uVar3 = FUN_1400d58f0(param_2); + if ((int)uVar3 == 0) { + if (param_1 - 0x40 < 0x3c1) { + uVar3 = (**(code **)(lVar4 * 0x50 + 0x140179550))(param_3); + if ((int)uVar3 == 0) { + DVar1 = ((int)CONCAT71((int7)((ulonglong)uVar3 >> 8),(param_1 & 7) != 0) + + ((int)(param_1 + ((int)param_1 >> 0x1f & 7U)) >> 3)) * 2; + DVar2 = FUN_1400d5890(local_148,DVar1,param_4); + if (DVar2 == DVar1) { + uVar3 = (**(code **)(lVar4 * 0x50 + 0x140179558))(local_148,DVar1,param_3); + if ((int)uVar3 == 0) { + uVar3 = (**(code **)(lVar4 * 0x50 + 0x140179560))(param_3); + } + } + else { + uVar3 = 9; + } + } + } + else { + uVar3 = 8; + } + } + } + return uVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b73d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b73d0.c new file mode 100644 index 00000000..9f1d6309 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b73d0.c @@ -0,0 +1,44 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b73d0 FUN_1400b73d0 + * Pseudocode, not original source. */ + +int FUN_1400b73d0(longlong param_1) + +{ + char cVar1; + char cVar2; + char *pcVar3; + int iVar4; + undefined8 *puVar5; + longlong lVar6; + + if (param_1 == 0) { + return 0x10; + } + EnterCriticalSection((LPCRITICAL_SECTION)&DAT_14017d400); + iVar4 = 0; + puVar5 = &DAT_140179f40; + do { + pcVar3 = (char *)*puVar5; + if (pcVar3 != (char *)0x0) { + lVar6 = param_1 - (longlong)pcVar3; + do { + cVar1 = *pcVar3; + cVar2 = pcVar3[lVar6]; + if (cVar1 != cVar2) break; + pcVar3 = pcVar3 + 1; + } while (cVar2 != '\0'); + if (cVar1 == cVar2) { + LeaveCriticalSection((LPCRITICAL_SECTION)&DAT_14017d400); + return iVar4; + } + } + iVar4 = iVar4 + 1; + puVar5 = puVar5 + 0x10; + if (0x1f < iVar4) { + LeaveCriticalSection((LPCRITICAL_SECTION)&DAT_14017d400); + return -1; + } + } while( true ); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b7470.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b7470.c new file mode 100644 index 00000000..25b4d4bd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b7470.c @@ -0,0 +1,44 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b7470 FUN_1400b7470 + * Pseudocode, not original source. */ + +int FUN_1400b7470(longlong param_1) + +{ + char cVar1; + char cVar2; + char *pcVar3; + int iVar4; + undefined8 *puVar5; + longlong lVar6; + + if (param_1 == 0) { + return 0x10; + } + EnterCriticalSection((LPCRITICAL_SECTION)&DAT_14017d440); + iVar4 = 0; + puVar5 = &DAT_140179540; + do { + pcVar3 = (char *)*puVar5; + if (pcVar3 != (char *)0x0) { + lVar6 = param_1 - (longlong)pcVar3; + do { + cVar1 = *pcVar3; + cVar2 = pcVar3[lVar6]; + if (cVar1 != cVar2) break; + pcVar3 = pcVar3 + 1; + } while (cVar2 != '\0'); + if (cVar1 == cVar2) { + LeaveCriticalSection((LPCRITICAL_SECTION)&DAT_14017d440); + return iVar4; + } + } + iVar4 = iVar4 + 1; + puVar5 = puVar5 + 10; + if (0x1f < iVar4) { + LeaveCriticalSection((LPCRITICAL_SECTION)&DAT_14017d440); + return -1; + } + } while( true ); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b7510.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b7510.c new file mode 100644 index 00000000..af36296b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b7510.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b7510 FUN_1400b7510 + * Pseudocode, not original source. */ + +undefined4 FUN_1400b7510(int param_1) + +{ + int *piVar1; + int iVar2; + + iVar2 = 0; + piVar1 = &DAT_140121b80; + do { + if (param_1 == *piVar1) { + return *(undefined4 *)(&DAT_140121b84 + (longlong)iVar2 * 8); + } + piVar1 = piVar1 + 2; + iVar2 = iVar2 + 1; + } while ((longlong)piVar1 < 0x140121b98); + return 1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b7550.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b7550.c new file mode 100644 index 00000000..2bb9ad38 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b7550.c @@ -0,0 +1,40 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b7550 FUN_1400b7550 + * Pseudocode, not original source. */ + +int FUN_1400b7550(undefined8 *param_1) + +{ + undefined4 *puVar1; + undefined8 uVar2; + int *piVar3; + int iVar4; + int iVar5; + + if (param_1 == (undefined8 *)0x0) { + return 0x10; + } + iVar5 = 1; + puVar1 = calloc(1,0x18); + *param_1 = puVar1; + if (puVar1 == (undefined4 *)0x0) { + return 0xd; + } + uVar2 = FUN_1400d5ba0(puVar1); + iVar4 = 0; + piVar3 = &DAT_140121b80; + do { + if ((int)uVar2 == *piVar3) { + iVar5 = *(int *)(&DAT_140121b84 + (longlong)iVar4 * 8); + if (iVar5 == 0) { + return 0; + } + break; + } + piVar3 = piVar3 + 2; + iVar4 = iVar4 + 1; + } while ((longlong)piVar3 < 0x140121b98); + free((void *)*param_1); + return iVar5; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b75f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b75f0.c new file mode 100644 index 00000000..f4837b88 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b75f0.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b75f0 FUN_1400b75f0 + * Pseudocode, not original source. */ + +void FUN_1400b75f0(int *param_1) + +{ + if (param_1 != (int *)0x0) { + FUN_1400d5c00(param_1); + free(param_1); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b7620.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b7620.c new file mode 100644 index 00000000..35710216 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b7620.c @@ -0,0 +1,27 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b7620 FUN_1400b7620 + * Pseudocode, not original source. */ + +undefined4 FUN_1400b7620(uint *param_1,uint *param_2) + +{ + undefined8 uVar1; + int *piVar2; + int iVar3; + + if ((param_1 != (uint *)0x0) && (param_2 != (uint *)0x0)) { + uVar1 = FUN_1400d5c60(param_1,param_2); + iVar3 = 0; + piVar2 = &DAT_140121b80; + do { + if ((int)uVar1 == *piVar2) { + return *(undefined4 *)(&DAT_140121b84 + (longlong)iVar3 * 8); + } + piVar2 = piVar2 + 2; + iVar3 = iVar3 + 1; + } while ((longlong)piVar2 < 0x140121b98); + return 1; + } + return 0x10; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b7680.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b7680.c new file mode 100644 index 00000000..b1e2bbe4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b7680.c @@ -0,0 +1,27 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b7680 FUN_1400b7680 + * Pseudocode, not original source. */ + +undefined4 FUN_1400b7680(uint *param_1,uint *param_2) + +{ + undefined8 uVar1; + int *piVar2; + int iVar3; + + if ((param_1 != (uint *)0x0) && (param_2 != (uint *)0x0)) { + uVar1 = FUN_1400d5ca0(param_1,param_2); + iVar3 = 0; + piVar2 = &DAT_140121b80; + do { + if ((int)uVar1 == *piVar2) { + return *(undefined4 *)(&DAT_140121b84 + (longlong)iVar3 * 8); + } + piVar2 = piVar2 + 2; + iVar3 = iVar3 + 1; + } while ((longlong)piVar2 < 0x140121b98); + return 1; + } + return 0x10; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b76e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b76e0.c new file mode 100644 index 00000000..5ed46f2f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b76e0.c @@ -0,0 +1,31 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b76e0 FUN_1400b76e0 + * Pseudocode, not original source. */ + +undefined4 FUN_1400b76e0(undefined8 *param_1,uint *param_2) + +{ + int iVar1; + undefined8 uVar2; + int *piVar3; + + iVar1 = FUN_1400b7550(param_1); + if (iVar1 != 0) { + return 0xd; + } + if ((param_2 != (uint *)0x0) && ((uint *)*param_1 != (uint *)0x0)) { + uVar2 = FUN_1400d5ca0(param_2,(uint *)*param_1); + iVar1 = 0; + piVar3 = &DAT_140121b80; + do { + if ((int)uVar2 == *piVar3) { + return *(undefined4 *)(&DAT_140121b84 + (longlong)iVar1 * 8); + } + piVar3 = piVar3 + 2; + iVar1 = iVar1 + 1; + } while ((longlong)piVar3 < 0x140121b98); + return 1; + } + return 0x10; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b7780.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b7780.c new file mode 100644 index 00000000..00dcc5d4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b7780.c @@ -0,0 +1,27 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b7780 FUN_1400b7780 + * Pseudocode, not original source. */ + +undefined4 FUN_1400b7780(uint *param_1,uint param_2) + +{ + undefined8 uVar1; + int *piVar2; + int iVar3; + + if (param_1 == (uint *)0x0) { + return 0x10; + } + uVar1 = FUN_1400d5d30(param_1,param_2); + iVar3 = 0; + piVar2 = &DAT_140121b80; + do { + if ((int)uVar1 == *piVar2) { + return *(undefined4 *)(&DAT_140121b84 + (longlong)iVar3 * 8); + } + piVar2 = piVar2 + 2; + iVar3 = iVar3 + 1; + } while ((longlong)piVar2 < 0x140121b98); + return 1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b7830.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b7830.c new file mode 100644 index 00000000..6b9c4672 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b7830.c @@ -0,0 +1,24 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b7830 FUN_1400b7830 + * Pseudocode, not original source. */ + +ulonglong FUN_1400b7830(int *param_1,int *param_2) + +{ + int iVar1; + undefined8 uVar2; + + if ((param_1 == (int *)0x0) || (param_2 == (int *)0x0)) { + return 0x10; + } + uVar2 = FUN_1400d5df0(param_1,param_2); + iVar1 = (int)uVar2; + if (iVar1 == -1) { + return 0xffffffff; + } + if (iVar1 != 0) { + return (ulonglong)(iVar1 == 1); + } + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b7880.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b7880.c new file mode 100644 index 00000000..1c753315 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b7880.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b7880 FUN_1400b7880 + * Pseudocode, not original source. */ + +uint FUN_1400b7880(int *param_1,uint param_2) + +{ + int iVar1; + + if (param_1 == (int *)0x0) { + return 0x10; + } + iVar1 = FUN_1400d5e20(param_1,param_2); + if (iVar1 != -1) { + if (iVar1 != 0) { + return (uint)(iVar1 == 1); + } + return 0; + } + return 0xffffffff; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b78e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b78e0.c new file mode 100644 index 00000000..ebb01cbc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b78e0.c @@ -0,0 +1,27 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b78e0 FUN_1400b78e0 + * Pseudocode, not original source. */ + +undefined4 FUN_1400b78e0(uint *param_1,int param_2) + +{ + undefined8 uVar1; + int *piVar2; + int iVar3; + + if (param_1 == (uint *)0x0) { + return 0x10; + } + uVar1 = FUN_1400d5ef0(param_1,param_2); + iVar3 = 0; + piVar2 = &DAT_140121b80; + do { + if ((int)uVar1 == *piVar2) { + return *(undefined4 *)(&DAT_140121b84 + (longlong)iVar3 * 8); + } + piVar2 = piVar2 + 2; + iVar3 = iVar3 + 1; + } while ((longlong)piVar2 < 0x140121b98); + return 1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b7940.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b7940.c new file mode 100644 index 00000000..9b74ad96 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b7940.c @@ -0,0 +1,27 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b7940 FUN_1400b7940 + * Pseudocode, not original source. */ + +undefined4 FUN_1400b7940(int *param_1,char *param_2,uint param_3) + +{ + ulonglong uVar1; + int *piVar2; + int iVar3; + + if ((param_1 != (int *)0x0) && (param_2 != (char *)0x0)) { + uVar1 = FUN_1400d5f70(param_1,param_2,param_3); + iVar3 = 0; + piVar2 = &DAT_140121b80; + do { + if ((int)uVar1 == *piVar2) { + return *(undefined4 *)(&DAT_140121b84 + (longlong)iVar3 * 8); + } + piVar2 = piVar2 + 2; + iVar3 = iVar3 + 1; + } while ((longlong)piVar2 < 0x140121b98); + return 1; + } + return 0x10; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b79a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b79a0.c new file mode 100644 index 00000000..8c4651ad --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b79a0.c @@ -0,0 +1,27 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b79a0 FUN_1400b79a0 + * Pseudocode, not original source. */ + +undefined4 FUN_1400b79a0(uint *param_1,undefined2 *param_2,uint param_3) + +{ + ulonglong uVar1; + int *piVar2; + int iVar3; + + if ((param_1 != (uint *)0x0) && (param_2 != (undefined2 *)0x0)) { + uVar1 = FUN_1400d6070(param_1,param_2,param_3); + iVar3 = 0; + piVar2 = &DAT_140121b80; + do { + if ((int)uVar1 == *piVar2) { + return *(undefined4 *)(&DAT_140121b84 + (longlong)iVar3 * 8); + } + piVar2 = piVar2 + 2; + iVar3 = iVar3 + 1; + } while ((longlong)piVar2 < 0x140121b98); + return 1; + } + return 0x10; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b7a10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b7a10.c new file mode 100644 index 00000000..5b0638f3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b7a10.c @@ -0,0 +1,27 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b7a10 FUN_1400b7a10 + * Pseudocode, not original source. */ + +undefined4 FUN_1400b7a10(uint *param_1,undefined1 *param_2) + +{ + ulonglong uVar1; + int *piVar2; + int iVar3; + + if ((param_1 != (uint *)0x0) && (param_2 != (undefined1 *)0x0)) { + uVar1 = FUN_1400d61a0(param_1,param_2); + iVar3 = 0; + piVar2 = &DAT_140121b80; + do { + if ((int)uVar1 == *piVar2) { + return *(undefined4 *)(&DAT_140121b84 + (longlong)iVar3 * 8); + } + piVar2 = piVar2 + 2; + iVar3 = iVar3 + 1; + } while ((longlong)piVar2 < 0x140121b98); + return 1; + } + return 0x10; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b7a70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b7a70.c new file mode 100644 index 00000000..db6b90cc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b7a70.c @@ -0,0 +1,27 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b7a70 FUN_1400b7a70 + * Pseudocode, not original source. */ + +undefined4 FUN_1400b7a70(uint *param_1,byte *param_2,int param_3) + +{ + undefined8 uVar1; + int *piVar2; + int iVar3; + + if ((param_1 != (uint *)0x0) && (param_2 != (byte *)0x0)) { + uVar1 = FUN_1400d6250(param_1,param_2,param_3); + iVar3 = 0; + piVar2 = &DAT_140121b80; + do { + if ((int)uVar1 == *piVar2) { + return *(undefined4 *)(&DAT_140121b84 + (longlong)iVar3 * 8); + } + piVar2 = piVar2 + 2; + iVar3 = iVar3 + 1; + } while ((longlong)piVar2 < 0x140121b98); + return 1; + } + return 0x10; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b7ad0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b7ad0.c new file mode 100644 index 00000000..d645e11d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b7ad0.c @@ -0,0 +1,27 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b7ad0 FUN_1400b7ad0 + * Pseudocode, not original source. */ + +undefined4 FUN_1400b7ad0(uint *param_1,uint *param_2,uint *param_3) + +{ + int iVar1; + int *piVar2; + int iVar3; + + if (((param_1 != (uint *)0x0) && (param_2 != (uint *)0x0)) && (param_3 != (uint *)0x0)) { + iVar1 = FUN_1400d62e0(param_1,param_2,param_3); + iVar3 = 0; + piVar2 = &DAT_140121b80; + do { + if (iVar1 == *piVar2) { + return *(undefined4 *)(&DAT_140121b84 + (longlong)iVar3 * 8); + } + piVar2 = piVar2 + 2; + iVar3 = iVar3 + 1; + } while ((longlong)piVar2 < 0x140121b98); + return 1; + } + return 0x10; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b7b30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b7b30.c new file mode 100644 index 00000000..79ad5699 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b7b30.c @@ -0,0 +1,27 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b7b30 FUN_1400b7b30 + * Pseudocode, not original source. */ + +undefined4 FUN_1400b7b30(int *param_1,uint param_2,int *param_3) + +{ + ulonglong uVar1; + int *piVar2; + int iVar3; + + if ((param_1 != (int *)0x0) && (param_3 != (int *)0x0)) { + uVar1 = FUN_1400d6360(param_1,param_2,param_3); + iVar3 = 0; + piVar2 = &DAT_140121b80; + do { + if ((int)uVar1 == *piVar2) { + return *(undefined4 *)(&DAT_140121b84 + (longlong)iVar3 * 8); + } + piVar2 = piVar2 + 2; + iVar3 = iVar3 + 1; + } while ((longlong)piVar2 < 0x140121b98); + return 1; + } + return 0x10; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b7b90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b7b90.c new file mode 100644 index 00000000..a72875d8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b7b90.c @@ -0,0 +1,27 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b7b90 FUN_1400b7b90 + * Pseudocode, not original source. */ + +undefined4 FUN_1400b7b90(uint *param_1,uint *param_2,uint *param_3) + +{ + int iVar1; + int *piVar2; + int iVar3; + + if (((param_1 != (uint *)0x0) && (param_2 != (uint *)0x0)) && (param_3 != (uint *)0x0)) { + iVar1 = FUN_1400d64a0(param_1,param_2,param_3); + iVar3 = 0; + piVar2 = &DAT_140121b80; + do { + if (iVar1 == *piVar2) { + return *(undefined4 *)(&DAT_140121b84 + (longlong)iVar3 * 8); + } + piVar2 = piVar2 + 2; + iVar3 = iVar3 + 1; + } while ((longlong)piVar2 < 0x140121b98); + return 1; + } + return 0x10; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b7bf0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b7bf0.c new file mode 100644 index 00000000..1da1a52b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b7bf0.c @@ -0,0 +1,27 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b7bf0 FUN_1400b7bf0 + * Pseudocode, not original source. */ + +undefined4 FUN_1400b7bf0(int *param_1,uint param_2,int *param_3) + +{ + ulonglong uVar1; + int *piVar2; + int iVar3; + + if ((param_1 != (int *)0x0) && (param_3 != (int *)0x0)) { + uVar1 = FUN_1400d6520(param_1,param_2,param_3); + iVar3 = 0; + piVar2 = &DAT_140121b80; + do { + if ((int)uVar1 == *piVar2) { + return *(undefined4 *)(&DAT_140121b84 + (longlong)iVar3 * 8); + } + piVar2 = piVar2 + 2; + iVar3 = iVar3 + 1; + } while ((longlong)piVar2 < 0x140121b98); + return 1; + } + return 0x10; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b7c50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b7c50.c new file mode 100644 index 00000000..0c0a8227 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b7c50.c @@ -0,0 +1,27 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b7c50 FUN_1400b7c50 + * Pseudocode, not original source. */ + +undefined4 FUN_1400b7c50(uint *param_1,uint *param_2,uint *param_3) + +{ + int iVar1; + int *piVar2; + int iVar3; + + if (((param_1 != (uint *)0x0) && (param_2 != (uint *)0x0)) && (param_3 != (uint *)0x0)) { + iVar1 = FUN_1400d6660(param_1,param_2,param_3); + iVar3 = 0; + piVar2 = &DAT_140121b80; + do { + if (iVar1 == *piVar2) { + return *(undefined4 *)(&DAT_140121b84 + (longlong)iVar3 * 8); + } + piVar2 = piVar2 + 2; + iVar3 = iVar3 + 1; + } while ((longlong)piVar2 < 0x140121b98); + return 1; + } + return 0x10; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b7cb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b7cb0.c new file mode 100644 index 00000000..cefd77c4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b7cb0.c @@ -0,0 +1,27 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b7cb0 FUN_1400b7cb0 + * Pseudocode, not original source. */ + +undefined4 FUN_1400b7cb0(int *param_1,uint param_2,int *param_3) + +{ + undefined8 uVar1; + int *piVar2; + int iVar3; + + if ((param_1 != (int *)0x0) && (param_3 != (int *)0x0)) { + uVar1 = FUN_1400d6710(param_1,param_2,param_3); + iVar3 = 0; + piVar2 = &DAT_140121b80; + do { + if ((int)uVar1 == *piVar2) { + return *(undefined4 *)(&DAT_140121b84 + (longlong)iVar3 * 8); + } + piVar2 = piVar2 + 2; + iVar3 = iVar3 + 1; + } while ((longlong)piVar2 < 0x140121b98); + return 1; + } + return 0x10; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b7d10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b7d10.c new file mode 100644 index 00000000..1f961fc8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b7d10.c @@ -0,0 +1,27 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b7d10 FUN_1400b7d10 + * Pseudocode, not original source. */ + +undefined4 FUN_1400b7d10(uint *param_1,uint *param_2) + +{ + int iVar1; + int *piVar2; + int iVar3; + + if ((param_1 != (uint *)0x0) && (param_2 != (uint *)0x0)) { + iVar1 = FUN_1400d67d0(param_1,param_2); + iVar3 = 0; + piVar2 = &DAT_140121b80; + do { + if (iVar1 == *piVar2) { + return *(undefined4 *)(&DAT_140121b84 + (longlong)iVar3 * 8); + } + piVar2 = piVar2 + 2; + iVar3 = iVar3 + 1; + } while ((longlong)piVar2 < 0x140121b98); + return 1; + } + return 0x10; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b7d70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b7d70.c new file mode 100644 index 00000000..6392ff8e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b7d70.c @@ -0,0 +1,27 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b7d70 FUN_1400b7d70 + * Pseudocode, not original source. */ + +undefined4 FUN_1400b7d70(uint *param_1,uint *param_2,undefined8 *param_3,uint *param_4) + +{ + ulonglong uVar1; + int *piVar2; + int iVar3; + + if ((param_1 != (uint *)0x0) && (param_2 != (uint *)0x0)) { + uVar1 = FUN_1400d6850(param_1,param_2,param_3,param_4); + iVar3 = 0; + piVar2 = &DAT_140121b80; + do { + if ((int)uVar1 == *piVar2) { + return *(undefined4 *)(&DAT_140121b84 + (longlong)iVar3 * 8); + } + piVar2 = piVar2 + 2; + iVar3 = iVar3 + 1; + } while ((longlong)piVar2 < 0x140121b98); + return 1; + } + return 0x10; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b7dd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b7dd0.c new file mode 100644 index 00000000..6029ace5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b7dd0.c @@ -0,0 +1,27 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b7dd0 FUN_1400b7dd0 + * Pseudocode, not original source. */ + +undefined4 FUN_1400b7dd0(uint *param_1,uint *param_2) + +{ + undefined8 uVar1; + int *piVar2; + int iVar3; + + if ((param_1 != (uint *)0x0) && (param_2 != (uint *)0x0)) { + uVar1 = FUN_1400d6d80(param_1,param_2); + iVar3 = 0; + piVar2 = &DAT_140121b80; + do { + if ((int)uVar1 == *piVar2) { + return *(undefined4 *)(&DAT_140121b84 + (longlong)iVar3 * 8); + } + piVar2 = piVar2 + 2; + iVar3 = iVar3 + 1; + } while ((longlong)piVar2 < 0x140121b98); + return 1; + } + return 0x10; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b7e30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b7e30.c new file mode 100644 index 00000000..4747788c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b7e30.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b7e30 FUN_1400b7e30 + * Pseudocode, not original source. */ + +int FUN_1400b7e30(uint *param_1,uint param_2,uint *param_3) + +{ + int iVar1; + int *piVar2; + int iVar3; + uint local_res8 [8]; + + if ((param_1 != (uint *)0x0) && (param_3 != (uint *)0x0)) { + iVar1 = FUN_1400d6e30(param_1,param_2,local_res8); + iVar3 = 0; + piVar2 = &DAT_140121b80; + do { + if (iVar1 == *piVar2) { + iVar1 = *(int *)(&DAT_140121b84 + (longlong)iVar3 * 8); + if (iVar1 == 0) { + *param_3 = local_res8[0]; + iVar1 = 0; + } + return iVar1; + } + piVar2 = piVar2 + 2; + iVar3 = iVar3 + 1; + } while ((longlong)piVar2 < 0x140121b98); + return 1; + } + return 0x10; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b7eb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b7eb0.c new file mode 100644 index 00000000..717a6708 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b7eb0.c @@ -0,0 +1,27 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b7eb0 FUN_1400b7eb0 + * Pseudocode, not original source. */ + +undefined4 FUN_1400b7eb0(uint *param_1,uint *param_2,uint *param_3) + +{ + ulonglong uVar1; + int *piVar2; + int iVar3; + + if (((param_1 != (uint *)0x0) && (param_2 != (uint *)0x0)) && (param_3 != (uint *)0x0)) { + uVar1 = FUN_1400d6e40(param_1,param_2,param_3); + iVar3 = 0; + piVar2 = &DAT_140121b80; + do { + if ((int)uVar1 == *piVar2) { + return *(undefined4 *)(&DAT_140121b84 + (longlong)iVar3 * 8); + } + piVar2 = piVar2 + 2; + iVar3 = iVar3 + 1; + } while ((longlong)piVar2 < 0x140121b98); + return 1; + } + return 0x10; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b7f10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b7f10.c new file mode 100644 index 00000000..a4b76e9a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b7f10.c @@ -0,0 +1,27 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b7f10 FUN_1400b7f10 + * Pseudocode, not original source. */ + +undefined4 FUN_1400b7f10(uint *param_1,uint *param_2,uint *param_3) + +{ + ulonglong uVar1; + int *piVar2; + int iVar3; + + if (((param_1 != (uint *)0x0) && (param_2 != (uint *)0x0)) && (param_3 != (uint *)0x0)) { + uVar1 = FUN_1400d7020(param_1,param_2,param_3); + iVar3 = 0; + piVar2 = &DAT_140121b80; + do { + if ((int)uVar1 == *piVar2) { + return *(undefined4 *)(&DAT_140121b84 + (longlong)iVar3 * 8); + } + piVar2 = piVar2 + 2; + iVar3 = iVar3 + 1; + } while ((longlong)piVar2 < 0x140121b98); + return 1; + } + return 0x10; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b7f70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b7f70.c new file mode 100644 index 00000000..3829e949 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b7f70.c @@ -0,0 +1,19 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b7f70 FUN_1400b7f70 + * Pseudocode, not original source. */ + +undefined4 FUN_1400b7f70(uint *param_1,uint *param_2,uint *param_3,uint *param_4) + +{ + undefined4 uVar1; + ulonglong uVar2; + + if ((((param_1 != (uint *)0x0) && (param_2 != (uint *)0x0)) && (param_3 != (uint *)0x0)) && + (param_4 != (uint *)0x0)) { + uVar2 = FUN_1400d70f0(param_1,param_2,param_3,param_4); + uVar1 = FUN_1400b7510((int)uVar2); + return uVar1; + } + return 0x10; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b7fb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b7fb0.c new file mode 100644 index 00000000..a1719332 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b7fb0.c @@ -0,0 +1,27 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b7fb0 FUN_1400b7fb0 + * Pseudocode, not original source. */ + +undefined4 FUN_1400b7fb0(uint *param_1,uint *param_2,uint *param_3) + +{ + ulonglong uVar1; + int *piVar2; + int iVar3; + + if (((param_1 != (uint *)0x0) && (param_2 != (uint *)0x0)) && (param_3 != (uint *)0x0)) { + uVar1 = FUN_1400d7170(param_1,param_2,param_3); + iVar3 = 0; + piVar2 = &DAT_140121b80; + do { + if ((int)uVar1 == *piVar2) { + return *(undefined4 *)(&DAT_140121b84 + (longlong)iVar3 * 8); + } + piVar2 = piVar2 + 2; + iVar3 = iVar3 + 1; + } while ((longlong)piVar2 < 0x140121b98); + return 1; + } + return 0x10; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b8010.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b8010.c new file mode 100644 index 00000000..c2b70dbb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b8010.c @@ -0,0 +1,27 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b8010 FUN_1400b8010 + * Pseudocode, not original source. */ + +undefined4 FUN_1400b8010(uint *param_1,uint *param_2,undefined8 *param_3) + +{ + ulonglong uVar1; + int *piVar2; + int iVar3; + + if (((param_1 != (uint *)0x0) && (param_2 != (uint *)0x0)) && (param_3 != (undefined8 *)0x0)) { + uVar1 = FUN_1400d71e0(param_1,param_2,param_3); + iVar3 = 0; + piVar2 = &DAT_140121b80; + do { + if ((int)uVar1 == *piVar2) { + return *(undefined4 *)(&DAT_140121b84 + (longlong)iVar3 * 8); + } + piVar2 = piVar2 + 2; + iVar3 = iVar3 + 1; + } while ((longlong)piVar2 < 0x140121b98); + return 1; + } + return 0x10; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b8070.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b8070.c new file mode 100644 index 00000000..49d314df --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b8070.c @@ -0,0 +1,40 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b8070 FUN_1400b8070 + * Pseudocode, not original source. */ + +int FUN_1400b8070(longlong param_1,undefined8 *param_2) + +{ + uint *puVar1; + undefined8 uVar2; + int *piVar3; + int iVar4; + int iVar5; + + if ((param_1 == 0) || (param_2 == (undefined8 *)0x0)) { + return 0x10; + } + iVar5 = 1; + puVar1 = calloc(1,4); + *param_2 = puVar1; + if (puVar1 == (uint *)0x0) { + return 0xd; + } + uVar2 = FUN_1400d7210(param_1,puVar1); + iVar4 = 0; + piVar3 = &DAT_140121b80; + do { + if ((int)uVar2 == *piVar3) { + iVar5 = *(int *)(&DAT_140121b84 + (longlong)iVar4 * 8); + if (iVar5 == 0) { + return 0; + } + break; + } + piVar3 = piVar3 + 2; + iVar4 = iVar4 + 1; + } while ((longlong)piVar3 < 0x140121b98); + free((void *)*param_2); + return iVar5; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b8130.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b8130.c new file mode 100644 index 00000000..4c77efb9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b8130.c @@ -0,0 +1,27 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b8130 FUN_1400b8130 + * Pseudocode, not original source. */ + +undefined4 FUN_1400b8130(uint *param_1,uint *param_2) + +{ + undefined8 uVar1; + int *piVar2; + int iVar3; + + if ((param_1 != (uint *)0x0) && (param_2 != (uint *)0x0)) { + uVar1 = FUN_1400d7270(param_1,param_2); + iVar3 = 0; + piVar2 = &DAT_140121b80; + do { + if ((int)uVar1 == *piVar2) { + return *(undefined4 *)(&DAT_140121b84 + (longlong)iVar3 * 8); + } + piVar2 = piVar2 + 2; + iVar3 = iVar3 + 1; + } while ((longlong)piVar2 < 0x140121b98); + return 1; + } + return 0x10; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b8190.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b8190.c new file mode 100644 index 00000000..e8583587 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b8190.c @@ -0,0 +1,27 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b8190 FUN_1400b8190 + * Pseudocode, not original source. */ + +undefined4 FUN_1400b8190(uint *param_1,uint *param_2,int *param_3) + +{ + undefined8 uVar1; + int *piVar2; + int iVar3; + + if (((param_1 != (uint *)0x0) && (param_2 != (uint *)0x0)) && (param_3 != (int *)0x0)) { + uVar1 = FUN_1400d7340(param_1,param_2,*param_3); + iVar3 = 0; + piVar2 = &DAT_140121b80; + do { + if ((int)uVar1 == *piVar2) { + return *(undefined4 *)(&DAT_140121b84 + (longlong)iVar3 * 8); + } + piVar2 = piVar2 + 2; + iVar3 = iVar3 + 1; + } while ((longlong)piVar2 < 0x140121b98); + return 1; + } + return 0x10; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b8200.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b8200.c new file mode 100644 index 00000000..afc3412f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b8200.c @@ -0,0 +1,19 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b8200 FUN_1400b8200 + * Pseudocode, not original source. */ + +undefined4 FUN_1400b8200(uint *param_1,uint *param_2,uint *param_3,undefined8 *param_4) + +{ + int iVar1; + undefined4 uVar2; + + if ((((param_1 != (uint *)0x0) && (param_2 != (uint *)0x0)) && (param_3 != (uint *)0x0)) && + (param_4 != (undefined8 *)0x0)) { + iVar1 = FUN_1400d74b0(param_1,param_2,param_3,param_4); + uVar2 = FUN_1400b7510(iVar1); + return uVar2; + } + return 0x10; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b8240.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b8240.c new file mode 100644 index 00000000..153bd2a2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b8240.c @@ -0,0 +1,31 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b8240 FUN_1400b8240 + * Pseudocode, not original source. */ + +undefined4 FUN_1400b8240(uint *param_1,uint *param_2) + +{ + undefined4 uVar1; + ulonglong uVar2; + int *piVar3; + int iVar4; + + if ((param_1 != (uint *)0x0) && (param_2 != (uint *)0x0)) { + uVar2 = FUN_1400d7610(param_1,8,param_2); + iVar4 = 0; + piVar3 = &DAT_140121b80; + do { + if ((int)uVar2 == *piVar3) { + uVar1 = *(undefined4 *)(&DAT_140121b84 + (longlong)iVar4 * 8); + *param_2 = (uint)(*param_2 == 1); + return uVar1; + } + piVar3 = piVar3 + 2; + iVar4 = iVar4 + 1; + } while ((longlong)piVar3 < 0x140121b98); + *param_2 = (uint)(*param_2 == 1); + return 1; + } + return 0x10; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b82c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b82c0.c new file mode 100644 index 00000000..69c65f92 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b82c0.c @@ -0,0 +1,40 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b82c0 FUN_1400b82c0 + * Pseudocode, not original source. */ + +int FUN_1400b82c0(void *param_1) + +{ + int iVar1; + longlong *plVar2; + int iVar3; + int iVar4; + + if (param_1 == (void *)0x0) { + return 0x10; + } + EnterCriticalSection((LPCRITICAL_SECTION)&DAT_14017d400); + iVar4 = 0; + iVar3 = 0; + do { + iVar1 = memcmp(&DAT_140179f40 + (longlong)iVar3 * 0x10,param_1,0x80); + if (iVar1 == 0) { + LeaveCriticalSection((LPCRITICAL_SECTION)&DAT_14017d400); + return iVar3; + } + iVar3 = iVar3 + 1; + } while (iVar3 < 0x20); + plVar2 = &DAT_140179f40; + do { + if (*plVar2 == 0) { + memcpy(&DAT_140179f40 + (longlong)iVar4 * 0x10,param_1,0x80); + LeaveCriticalSection((LPCRITICAL_SECTION)&DAT_14017d400); + return iVar4; + } + plVar2 = plVar2 + 0x10; + iVar4 = iVar4 + 1; + } while ((longlong)plVar2 < 0x14017af40); + LeaveCriticalSection((LPCRITICAL_SECTION)&DAT_14017d400); + return -1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b83a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b83a0.c new file mode 100644 index 00000000..2fd9484a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b83a0.c @@ -0,0 +1,169 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b83a0 FUN_1400b83a0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +undefined8 FUN_1400b83a0(longlong param_1,longlong param_2) + +{ + uint uVar1; + undefined1 uVar2; + undefined1 uVar3; + uint uVar4; + uint uVar5; + uint uVar6; + longlong lVar7; + uint *puVar8; + int *piVar9; + uint uVar10; + uint uVar11; + uint uVar12; + uint uVar13; + undefined1 *puVar14; + undefined1 *puVar15; + uint uVar16; + uint uVar17; + longlong lVar18; + undefined1 auStack_17a [2]; + undefined1 local_178 [4]; + undefined1 local_174 [4]; + undefined1 local_170 [4]; + uint local_16c [37]; + int local_d8 [20]; + int local_88 [20]; + ulonglong local_38; + + local_38 = DAT_14016f5a0 ^ (ulonglong)local_178; + lVar18 = 4; + lVar7 = 4; + puVar14 = (undefined1 *)(param_2 + 2); + do { + puVar15 = puVar14 + 0x10; + uVar2 = puVar14[3]; + *(uint *)(puVar15 + (longlong)local_16c + (-0x1e - param_2)) = + CONCAT31(CONCAT21(CONCAT11(puVar14[-2],puVar14[-1]),*puVar14),puVar14[1]); + uVar3 = puVar14[7]; + *(uint *)(puVar15 + (longlong)local_16c + (-0x1a - param_2)) = + CONCAT31(CONCAT21(CONCAT11(puVar14[2],uVar2),puVar14[4]),puVar14[5]); + uVar2 = puVar14[0xb]; + *(uint *)(puVar15 + (longlong)local_16c + (-0x16 - param_2)) = + CONCAT31(CONCAT21(CONCAT11(puVar14[6],uVar3),puVar14[8]),puVar14[9]); + lVar7 = lVar7 + -1; + *(uint *)(puVar15 + (longlong)local_16c + (-0x12 - param_2)) = + CONCAT31(CONCAT21(CONCAT11(puVar14[10],uVar2),puVar14[0xc]),puVar14[0xd]); + puVar14 = puVar15; + } while (lVar7 != 0); + uVar4 = *(uint *)(param_1 + 8); + uVar5 = *(uint *)(param_1 + 0xc); + uVar16 = *(uint *)(param_1 + 0x10); + uVar17 = *(uint *)(param_1 + 0x14); + uVar10 = *(uint *)(param_1 + 0x18); + lVar7 = 0x10; + puVar8 = local_16c + 5; + do { + uVar13 = puVar8[-8] ^ puVar8[5] ^ puVar8[-6] ^ *puVar8; + uVar6 = puVar8[-7] ^ puVar8[6] ^ puVar8[1] ^ puVar8[-5]; + uVar13 = uVar13 << 1 | (uint)((int)uVar13 < 0); + puVar8[8] = uVar13; + puVar8[9] = uVar6 << 1 | (uint)((int)uVar6 < 0); + uVar6 = puVar8[7] ^ puVar8[-4] ^ puVar8[2] ^ puVar8[-6]; + puVar8[10] = uVar6 << 1 | (uint)((int)uVar6 < 0); + uVar6 = puVar8[-3] ^ puVar8[3] ^ uVar13 ^ puVar8[-5]; + lVar7 = lVar7 + -1; + puVar8[0xb] = uVar6 << 1 | (uint)((int)uVar6 < 0); + puVar8 = puVar8 + 4; + } while (lVar7 != 0); + lVar7 = 4; + piVar9 = (int *)local_178; + uVar13 = uVar4; + uVar6 = uVar5; + do { + uVar12 = uVar6 << 0x1e | uVar6 >> 2; + uVar6 = uVar10 + 0x5a827999 + + (uVar13 << 5 | uVar13 >> 0x1b) + ((uVar17 ^ uVar16) & uVar6 ^ uVar17) + *piVar9; + uVar11 = uVar13 << 0x1e | uVar13 >> 2; + uVar13 = uVar17 + 0x5a827999 + + (uVar6 * 0x20 | uVar6 >> 0x1b) + ((uVar16 ^ uVar12) & uVar13 ^ uVar16) + piVar9[1]; + uVar10 = uVar6 * 0x40000000 | uVar6 >> 2; + uVar1 = uVar16 + 0x5a827999 + + (uVar13 * 0x20 | uVar13 >> 0x1b) + ((uVar12 ^ uVar11) & uVar6 ^ uVar12) + piVar9[2]; + uVar17 = uVar13 * 0x40000000 | uVar13 >> 2; + uVar6 = uVar12 + 0x5a827999 + + (uVar1 * 0x20 | uVar1 >> 0x1b) + ((uVar10 ^ uVar11) & uVar13 ^ uVar11) + piVar9[3]; + uVar16 = uVar1 * 0x40000000 | uVar1 >> 2; + lVar7 = lVar7 + -1; + uVar13 = uVar11 + 0x5a827999 + + (uVar6 * 0x20 | uVar6 >> 0x1b) + ((uVar10 ^ uVar17) & uVar1 ^ uVar10) + piVar9[4]; + piVar9 = piVar9 + 5; + } while (lVar7 != 0); + lVar7 = 4; + puVar8 = local_16c + 0x11; + do { + uVar12 = uVar6 << 0x1e | uVar6 >> 2; + uVar6 = uVar10 + 0x6ed9eba1 + + (uVar13 << 5 | uVar13 >> 0x1b) + (uVar17 ^ uVar16 ^ uVar6) + *puVar8; + uVar11 = uVar13 << 0x1e | uVar13 >> 2; + uVar13 = uVar17 + 0x6ed9eba1 + + (uVar6 * 0x20 | uVar6 >> 0x1b) + (uVar16 ^ uVar12 ^ uVar13) + puVar8[1]; + uVar10 = uVar6 * 0x40000000 | uVar6 >> 2; + uVar1 = uVar16 + 0x6ed9eba1 + + (uVar13 * 0x20 | uVar13 >> 0x1b) + (uVar6 ^ uVar12 ^ uVar11) + puVar8[2]; + uVar17 = uVar13 * 0x40000000 | uVar13 >> 2; + uVar6 = uVar12 + 0x6ed9eba1 + + (uVar1 * 0x20 | uVar1 >> 0x1b) + (uVar10 ^ uVar13 ^ uVar11) + puVar8[3]; + uVar16 = uVar1 * 0x40000000 | uVar1 >> 2; + lVar7 = lVar7 + -1; + uVar13 = uVar11 + 0x6ed9eba1 + + (uVar6 * 0x20 | uVar6 >> 0x1b) + (uVar10 ^ uVar17 ^ uVar1) + puVar8[4]; + puVar8 = puVar8 + 5; + } while (lVar7 != 0); + lVar7 = 4; + piVar9 = local_d8; + do { + uVar12 = uVar6 << 0x1e | uVar6 >> 2; + uVar6 = ((uVar16 | uVar6) & uVar17 | uVar16 & uVar6) + *piVar9 + uVar10 + -0x70e44324 + + (uVar13 << 5 | uVar13 >> 0x1b); + uVar11 = uVar13 << 0x1e | uVar13 >> 2; + uVar13 = ((uVar12 | uVar13) & uVar16 | uVar12 & uVar13) + piVar9[1] + uVar17 + -0x70e44324 + + (uVar6 * 0x20 | uVar6 >> 0x1b); + uVar10 = uVar6 * 0x40000000 | uVar6 >> 2; + uVar1 = ((uVar6 | uVar11) & uVar12 | uVar6 & uVar11) + piVar9[2] + uVar16 + -0x70e44324 + + (uVar13 * 0x20 | uVar13 >> 0x1b); + uVar17 = uVar13 * 0x40000000 | uVar13 >> 2; + uVar6 = ((uVar10 | uVar13) & uVar11 | uVar10 & uVar13) + piVar9[3] + uVar12 + -0x70e44324 + + (uVar1 * 0x20 | uVar1 >> 0x1b); + uVar16 = uVar1 * 0x40000000 | uVar1 >> 2; + lVar7 = lVar7 + -1; + uVar13 = ((uVar17 | uVar1) & uVar10 | uVar17 & uVar1) + piVar9[4] + uVar11 + -0x70e44324 + + (uVar6 * 0x20 | uVar6 >> 0x1b); + piVar9 = piVar9 + 5; + } while (lVar7 != 0); + piVar9 = local_88; + do { + uVar12 = uVar6 << 0x1e | uVar6 >> 2; + uVar6 = (uVar17 ^ uVar16 ^ uVar6) + *piVar9 + uVar10 + -0x359d3e2a + + (uVar13 << 5 | uVar13 >> 0x1b); + uVar11 = uVar13 << 0x1e | uVar13 >> 2; + uVar13 = (uVar16 ^ uVar12 ^ uVar13) + piVar9[1] + uVar17 + -0x359d3e2a + + (uVar6 * 0x20 | uVar6 >> 0x1b); + uVar10 = uVar6 * 0x40000000 | uVar6 >> 2; + uVar1 = (uVar6 ^ uVar12 ^ uVar11) + piVar9[2] + uVar16 + -0x359d3e2a + + (uVar13 * 0x20 | uVar13 >> 0x1b); + uVar17 = uVar13 * 0x40000000 | uVar13 >> 2; + uVar6 = (uVar10 ^ uVar13 ^ uVar11) + piVar9[3] + uVar12 + -0x359d3e2a + + (uVar1 * 0x20 | uVar1 >> 0x1b); + uVar16 = uVar1 * 0x40000000 | uVar1 >> 2; + lVar18 = lVar18 + -1; + uVar13 = (uVar10 ^ uVar17 ^ uVar1) + piVar9[4] + uVar11 + -0x359d3e2a + + (uVar6 * 0x20 | uVar6 >> 0x1b); + piVar9 = piVar9 + 5; + } while (lVar18 != 0); + *(uint *)(param_1 + 8) = uVar4 + uVar13; + *(uint *)(param_1 + 0xc) = uVar5 + uVar6; + *(uint *)(param_1 + 0x10) = *(int *)(param_1 + 0x10) + uVar16; + *(uint *)(param_1 + 0x14) = *(int *)(param_1 + 0x14) + uVar17; + *(uint *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + uVar10; + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b88b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b88b0.c new file mode 100644 index 00000000..170dc70d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b88b0.c @@ -0,0 +1,47 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b88b0 FUN_1400b88b0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400b88b0(longlong *param_1,void *param_2,uint param_3) + +{ + undefined8 uVar1; + uint uVar2; + + if (((param_1 != (longlong *)0x0) && (param_2 != (void *)0x0)) && + (*(uint *)((longlong)param_1 + 0x1c) < 0x41)) { + while( true ) { + while( true ) { + if (param_3 == 0) { + return 0; + } + if ((*(int *)((longlong)param_1 + 0x1c) == 0) && (0x3f < param_3)) break; + uVar2 = 0x40 - *(int *)((longlong)param_1 + 0x1c); + if (param_3 < uVar2) { + uVar2 = param_3; + } + memcpy((void *)((ulonglong)*(uint *)((longlong)param_1 + 0x1c) + 0x20 + (longlong)param_1), + param_2,(ulonglong)uVar2); + *(int *)((longlong)param_1 + 0x1c) = *(int *)((longlong)param_1 + 0x1c) + uVar2; + param_2 = (void *)((longlong)param_2 + (ulonglong)uVar2); + param_3 = param_3 - uVar2; + if (*(int *)((longlong)param_1 + 0x1c) == 0x40) { + uVar1 = FUN_1400b83a0((longlong)param_1,(longlong)(param_1 + 4)); + if ((int)uVar1 != 0) { + return uVar1; + } + *param_1 = *param_1 + 0x200; + *(undefined4 *)((longlong)param_1 + 0x1c) = 0; + } + } + uVar1 = FUN_1400b83a0((longlong)param_1,(longlong)param_2); + if ((int)uVar1 != 0) break; + *param_1 = *param_1 + 0x200; + param_2 = (void *)((longlong)param_2 + 0x40); + param_3 = param_3 - 0x40; + } + return uVar1; + } + return 0x10; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b8990.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b8990.c new file mode 100644 index 00000000..2954d7c9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b8990.c @@ -0,0 +1,67 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b8990 FUN_1400b8990 + * Pseudocode, not original source. */ + +undefined8 FUN_1400b8990(longlong *param_1,undefined1 *param_2) + +{ + uint uVar1; + + if ((param_1 != (longlong *)0x0) && (param_2 != (undefined1 *)0x0)) { + uVar1 = *(uint *)((longlong)param_1 + 0x1c); + if (uVar1 < 0x40) { + *param_1 = *param_1 + (ulonglong)(uVar1 * 8); + *(undefined1 *)((ulonglong)uVar1 + 0x20 + (longlong)param_1) = 0x80; + *(int *)((longlong)param_1 + 0x1c) = *(int *)((longlong)param_1 + 0x1c) + 1; + uVar1 = *(uint *)((longlong)param_1 + 0x1c); + if (0x38 < uVar1) { + while (uVar1 < 0x40) { + *(undefined1 *)((ulonglong)uVar1 + 0x20 + (longlong)param_1) = 0; + *(int *)((longlong)param_1 + 0x1c) = *(int *)((longlong)param_1 + 0x1c) + 1; + uVar1 = *(uint *)((longlong)param_1 + 0x1c); + } + FUN_1400b83a0((longlong)param_1,(longlong)(param_1 + 4)); + *(undefined4 *)((longlong)param_1 + 0x1c) = 0; + } + uVar1 = *(uint *)((longlong)param_1 + 0x1c); + while (uVar1 < 0x38) { + *(undefined1 *)((ulonglong)*(uint *)((longlong)param_1 + 0x1c) + 0x20 + (longlong)param_1) = + 0; + *(int *)((longlong)param_1 + 0x1c) = *(int *)((longlong)param_1 + 0x1c) + 1; + uVar1 = *(uint *)((longlong)param_1 + 0x1c); + } + *(undefined1 *)(param_1 + 0xb) = *(undefined1 *)((longlong)param_1 + 7); + *(undefined1 *)((longlong)param_1 + 0x59) = *(undefined1 *)((longlong)param_1 + 6); + *(undefined1 *)((longlong)param_1 + 0x5a) = *(undefined1 *)((longlong)param_1 + 5); + *(undefined1 *)((longlong)param_1 + 0x5b) = *(undefined1 *)((longlong)param_1 + 4); + *(undefined1 *)((longlong)param_1 + 0x5c) = *(undefined1 *)((longlong)param_1 + 3); + *(undefined1 *)((longlong)param_1 + 0x5d) = *(undefined1 *)((longlong)param_1 + 2); + *(undefined1 *)((longlong)param_1 + 0x5e) = *(undefined1 *)((longlong)param_1 + 1); + *(char *)((longlong)param_1 + 0x5f) = (char)*param_1; + FUN_1400b83a0((longlong)param_1,(longlong)(param_1 + 4)); + *param_2 = *(undefined1 *)((longlong)param_1 + 0xb); + param_2[1] = *(undefined1 *)((longlong)param_1 + 10); + param_2[2] = *(undefined1 *)((longlong)param_1 + 9); + param_2[3] = (char)param_1[1]; + param_2[4] = *(undefined1 *)((longlong)param_1 + 0xf); + param_2[5] = *(undefined1 *)((longlong)param_1 + 0xe); + param_2[6] = *(undefined1 *)((longlong)param_1 + 0xd); + param_2[7] = *(undefined1 *)((longlong)param_1 + 0xc); + param_2[8] = *(undefined1 *)((longlong)param_1 + 0x13); + param_2[9] = *(undefined1 *)((longlong)param_1 + 0x12); + param_2[10] = *(undefined1 *)((longlong)param_1 + 0x11); + param_2[0xb] = (char)param_1[2]; + param_2[0xc] = *(undefined1 *)((longlong)param_1 + 0x17); + param_2[0xd] = *(undefined1 *)((longlong)param_1 + 0x16); + param_2[0xe] = *(undefined1 *)((longlong)param_1 + 0x15); + param_2[0xf] = *(undefined1 *)((longlong)param_1 + 0x14); + param_2[0x10] = *(undefined1 *)((longlong)param_1 + 0x1b); + param_2[0x11] = *(undefined1 *)((longlong)param_1 + 0x1a); + param_2[0x12] = *(undefined1 *)((longlong)param_1 + 0x19); + param_2[0x13] = (char)param_1[3]; + return 0; + } + } + return 0x10; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b8b10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b8b10.c new file mode 100644 index 00000000..1d46c4c5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b8b10.c @@ -0,0 +1,40 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b8b10 FUN_1400b8b10 + * Pseudocode, not original source. */ + +int FUN_1400b8b10(void *param_1) + +{ + int iVar1; + longlong *plVar2; + int iVar3; + int iVar4; + + if (param_1 == (void *)0x0) { + return 0x10; + } + EnterCriticalSection((LPCRITICAL_SECTION)&DAT_14017d440); + iVar4 = 0; + iVar3 = 0; + do { + iVar1 = memcmp(&DAT_140179540 + (longlong)iVar3 * 10,param_1,0x50); + if (iVar1 == 0) { + LeaveCriticalSection((LPCRITICAL_SECTION)&DAT_14017d440); + return iVar3; + } + iVar3 = iVar3 + 1; + } while (iVar3 < 0x20); + plVar2 = &DAT_140179540; + do { + if (*plVar2 == 0) { + memcpy(&DAT_140179540 + (longlong)iVar4 * 10,param_1,0x50); + LeaveCriticalSection((LPCRITICAL_SECTION)&DAT_14017d440); + return iVar4; + } + plVar2 = plVar2 + 10; + iVar4 = iVar4 + 1; + } while ((longlong)plVar2 < 0x140179f40); + LeaveCriticalSection((LPCRITICAL_SECTION)&DAT_14017d440); + return -1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b8c00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b8c00.c new file mode 100644 index 00000000..91e72707 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b8c00.c @@ -0,0 +1,59 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b8c00 FUN_1400b8c00 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +ulonglong FUN_1400b8c00(longlong param_1) + +{ + ulonglong uVar1; + ulonglong uVar2; + char *pcVar3; + int iVar4; + longlong *plVar5; + undefined1 auStack_138 [32]; + longlong local_118 [14]; + undefined1 local_a8 [128]; + ulonglong local_28; + + local_28 = DAT_14016f5a0 ^ (ulonglong)auStack_138; + *(longlong *)(param_1 + 0x1028) = *(longlong *)(param_1 + 0x1028) + 1; + FUN_1400da4d0(local_118); + uVar1 = FUN_1400da520(local_118,(void *)(param_1 + 0xfe8),0x20); + uVar2 = uVar1 & 0xffffffff; + if ((int)uVar1 == 0) { + iVar4 = 0; + do { + if ((iVar4 != 0) && ((*(ulonglong *)(param_1 + 0x1028) >> ((char)iVar4 - 1U & 0x3f) & 1) != 0) + ) break; + plVar5 = (longlong *)((longlong)iVar4 * 0x70 + param_1); + uVar1 = FUN_1400da600(plVar5,local_a8); + if (((int)uVar1 != 0) || + ((uVar1 = FUN_1400da520(local_118,local_a8,0x20), (int)uVar1 != 0 || + (uVar1 = FUN_1400da4d0(plVar5), (int)uVar1 != 0)))) { + FUN_1400da600(local_118,local_a8); + return uVar1 & 0xffffffff; + } + iVar4 = iVar4 + 1; + } while (iVar4 < 0x20); + uVar2 = FUN_1400da600(local_118,(undefined1 *)(param_1 + 0xfe8)); + if (((int)uVar2 == 0) && + (uVar2 = FUN_1400d7730((undefined1 *)(param_1 + 0xfe8),0x20,0,(uint *)(param_1 + 0xe00)), + (int)uVar2 == 0)) { + pcVar3 = (char *)(param_1 + 0x1008); + do { + *pcVar3 = *pcVar3 + '\x01'; + if (*pcVar3 != '\0') break; + pcVar3 = pcVar3 + 1; + } while ((longlong)pcVar3 - (param_1 + 0x1008) < 0x10); + *(undefined8 *)(param_1 + 0x101c) = 0; + uVar2 = 0; + } + } + else { + FUN_1400da600(local_118,local_a8); + } + return uVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b8d90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b8d90.c new file mode 100644 index 00000000..eaf8a305 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b8d90.c @@ -0,0 +1,62 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b8d90 FUN_1400b8d90 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +ulonglong FUN_1400b8d90(longlong *param_1) + +{ + ulonglong uVar1; + ulonglong uVar2; + int iVar3; + longlong lVar4; + undefined1 auStack_b8 [32]; + undefined1 local_98 [128]; + ulonglong local_18; + + local_18 = DAT_14016f5a0 ^ (ulonglong)auStack_b8; + if (param_1 == (longlong *)0x0) { + uVar1 = 0x10; + } + else { + uVar2 = 0; + do { + iVar3 = (int)uVar2; + uVar1 = FUN_1400da4d0(param_1 + (longlong)iVar3 * 0xe); + if ((int)uVar1 != 0) { + if (iVar3 < 1) { + return uVar1 & 0xffffffff; + } + do { + FUN_1400da600(param_1,local_98); + param_1 = param_1 + 0xe; + uVar2 = uVar2 - 1; + } while (uVar2 != 0); + return uVar1 & 0xffffffff; + } + uVar2 = (ulonglong)(iVar3 + 1U); + } while ((int)(iVar3 + 1U) < 0x20); + lVar4 = 0x20; + *(undefined8 *)((longlong)param_1 + 0x101c) = 0; + *(undefined4 *)(param_1 + 0x203) = 0; + param_1[0x205] = 0; + FUN_1400da7d0(param_1 + 0x1fd,0x20); + uVar2 = FUN_1400d7730((undefined1 *)(param_1 + 0x1fd),0x20,0,(uint *)(param_1 + 0x1c0)); + uVar1 = uVar2 & 0xffffffff; + if ((int)uVar2 == 0) { + FUN_1400da7d0(param_1 + 0x201,0x10); + InitializeCriticalSection((LPCRITICAL_SECTION)(param_1 + 0x206)); + uVar1 = 0; + } + else { + do { + FUN_1400da600(param_1,local_98); + param_1 = param_1 + 0xe; + lVar4 = lVar4 + -1; + } while (lVar4 != 0); + } + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b8ee0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b8ee0.c new file mode 100644 index 00000000..1e01eab2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b8ee0.c @@ -0,0 +1,52 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b8ee0 FUN_1400b8ee0 + * Pseudocode, not original source. */ + +ulonglong FUN_1400b8ee0(void *param_1,uint param_2,longlong param_3) + +{ + int iVar1; + ulonglong uVar2; + ulonglong uVar3; + undefined1 local_res8; + undefined1 local_res9; + + if ((param_1 != (void *)0x0) && (param_3 != 0)) { + EnterCriticalSection((LPCRITICAL_SECTION)(param_3 + 0x1030)); + if (0x20 < param_2) { + LeaveCriticalSection((LPCRITICAL_SECTION)(param_3 + 0x1030)); + return 0x10; + } + local_res8 = 0; + local_res9 = (undefined1)param_2; + uVar2 = FUN_1400da520((longlong *)((ulonglong)*(uint *)(param_3 + 0x1018) * 0x70 + param_3), + &local_res8,2); + uVar3 = uVar2 & 0xffffffff; + if ((int)uVar2 == 0) { + uVar2 = FUN_1400da520((longlong *)((ulonglong)*(uint *)(param_3 + 0x1018) * 0x70 + param_3), + param_1,param_2); + uVar3 = uVar2 & 0xffffffff; + if ((int)uVar2 == 0) { + if (*(int *)(param_3 + 0x1018) == 0) { + *(int *)(param_3 + 0x101c) = *(int *)(param_3 + 0x101c) + param_2; + } + iVar1 = *(int *)(param_3 + 0x1018) + 1; + if (iVar1 == 0x20) { + iVar1 = 0; + } + *(int *)(param_3 + 0x1018) = iVar1; + LeaveCriticalSection((LPCRITICAL_SECTION)(param_3 + 0x1030)); + uVar3 = 0; + } + else { + LeaveCriticalSection((LPCRITICAL_SECTION)(param_3 + 0x1030)); + } + } + else { + LeaveCriticalSection((LPCRITICAL_SECTION)(param_3 + 0x1030)); + } + return uVar3; + } + return 0x10; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b9010.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b9010.c new file mode 100644 index 00000000..6f189459 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b9010.c @@ -0,0 +1,86 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b9010 FUN_1400b9010 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +uint FUN_1400b9010(undefined1 *param_1,uint param_2,longlong param_3) + +{ + ulonglong uVar1; + undefined8 uVar2; + char *pcVar3; + char *pcVar4; + ulonglong _Size; + undefined1 auStack_78 [32]; + undefined1 local_58 [16]; + ulonglong local_48; + + local_48 = DAT_14016f5a0 ^ (ulonglong)auStack_78; + _Size = (ulonglong)param_2; + if ((param_1 == (undefined1 *)0x0) || (param_3 == 0)) { + param_2 = 0x10; + } + else { + EnterCriticalSection((LPCRITICAL_SECTION)(param_3 + 0x1030)); + *(int *)(param_3 + 0x1020) = *(int *)(param_3 + 0x1020) + 1; + if (((*(int *)(param_3 + 0x1020) == 10) || (0x3f < *(uint *)(param_3 + 0x101c))) && + (uVar1 = FUN_1400b8c00(param_3), (int)uVar1 != 0)) { + LeaveCriticalSection((LPCRITICAL_SECTION)(param_3 + 0x1030)); + param_2 = 0; + } + else { + if (0xf < param_2) { + uVar1 = (ulonglong)(param_2 >> 4); + do { + FUN_1400d7ed0((undefined1 *)(param_3 + 0x1008),param_1,(uint *)(param_3 + 0xe00)); + param_1 = param_1 + 0x10; + _Size = (ulonglong)((int)_Size - 0x10); + pcVar3 = (char *)(param_3 + 0x1008); + do { + *pcVar3 = *pcVar3 + '\x01'; + if (*pcVar3 != '\0') break; + pcVar3 = pcVar3 + 1; + } while ((longlong)pcVar3 - (param_3 + 0x1008) < 0x10); + uVar1 = uVar1 - 1; + } while (uVar1 != 0); + } + if ((int)_Size != 0) { + pcVar3 = (char *)(param_3 + 0x1008); + FUN_1400d7ed0(pcVar3,local_58,(uint *)(param_3 + 0xe00)); + memcpy(param_1,local_58,_Size); + pcVar4 = pcVar3; + do { + *pcVar4 = *pcVar4 + '\x01'; + if (*pcVar4 != '\0') break; + pcVar4 = pcVar4 + 1; + } while ((longlong)pcVar4 - (longlong)pcVar3 < 0x10); + } + pcVar3 = (char *)(param_3 + 0x1008); + FUN_1400d7ed0(pcVar3,(undefined1 *)(param_3 + 0xfe8),(uint *)(param_3 + 0xe00)); + pcVar4 = pcVar3; + do { + *pcVar4 = *pcVar4 + '\x01'; + if (*pcVar4 != '\0') break; + pcVar4 = pcVar4 + 1; + } while ((longlong)pcVar4 - (longlong)pcVar3 < 0x10); + FUN_1400d7ed0(pcVar3,(undefined1 *)(param_3 + 0xff8),(uint *)(param_3 + 0xe00)); + pcVar4 = pcVar3; + do { + *pcVar4 = *pcVar4 + '\x01'; + if (*pcVar4 != '\0') break; + pcVar4 = pcVar4 + 1; + } while ((longlong)pcVar4 - (longlong)pcVar3 < 0x10); + uVar2 = FUN_1400d7730((undefined1 *)(param_3 + 0xfe8),0x20,0,(uint *)(param_3 + 0xe00)); + if ((int)uVar2 == 0) { + LeaveCriticalSection((LPCRITICAL_SECTION)(param_3 + 0x1030)); + } + else { + LeaveCriticalSection((LPCRITICAL_SECTION)(param_3 + 0x1030)); + param_2 = 0; + } + } + } + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b9220.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b9220.c new file mode 100644 index 00000000..f39c109f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b9220.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b9220 FUN_1400b9220 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +ulonglong FUN_1400b9220(longlong param_1) + +{ + ulonglong uVar1; + int iVar2; + undefined1 auStack_58 [32]; + undefined1 local_38 [32]; + ulonglong local_18; + + local_18 = DAT_14016f5a0 ^ (ulonglong)auStack_58; + if (param_1 == 0) { + return 0x10; + } + EnterCriticalSection((LPCRITICAL_SECTION)(param_1 + 0x1030)); + iVar2 = 0; + do { + uVar1 = FUN_1400da600((longlong *)((longlong)iVar2 * 0x70 + param_1),local_38); + if ((int)uVar1 != 0) { + LeaveCriticalSection((LPCRITICAL_SECTION)(param_1 + 0x1030)); + return uVar1 & 0xffffffff; + } + iVar2 = iVar2 + 1; + } while (iVar2 < 0x20); + LeaveCriticalSection((LPCRITICAL_SECTION)(param_1 + 0x1030)); + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b92e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b92e0.c new file mode 100644 index 00000000..207dfdb8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b92e0.c @@ -0,0 +1,57 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b92e0 FUN_1400b92e0 + * Pseudocode, not original source. */ + +ulonglong FUN_1400b92e0(longlong param_1,uint *param_2,void *param_3) + +{ + LPCRITICAL_SECTION lpCriticalSection; + longlong *_Dst; + ulonglong uVar1; + ulonglong uVar2; + int iVar3; + undefined1 *puVar4; + + if (((param_1 == 0) || (param_2 == (uint *)0x0)) || (param_3 == (void *)0x0)) { + return 0x10; + } + lpCriticalSection = (LPCRITICAL_SECTION)((longlong)param_3 + 0x1030); + EnterCriticalSection(lpCriticalSection); + if (*param_2 < 0x400) { + LeaveCriticalSection(lpCriticalSection); + *param_2 = 0x400; + return 6; + } + _Dst = malloc(0x70); + if (_Dst == (longlong *)0x0) { + LeaveCriticalSection(lpCriticalSection); + uVar1 = 0xd; + } + else { + iVar3 = 0; + do { + memcpy(_Dst,param_3,0x70); + puVar4 = (undefined1 *)(iVar3 + param_1); + uVar2 = FUN_1400da600(_Dst,puVar4); + uVar1 = uVar2 & 0xffffffff; + if ((int)uVar2 != 0) goto LAB_1400b9402; + uVar2 = FUN_1400da4d0(_Dst); + uVar1 = uVar2 & 0xffffffff; + if ((int)uVar2 != 0) goto LAB_1400b9402; + uVar2 = FUN_1400da520(_Dst,puVar4,0x20); + uVar1 = uVar2 & 0xffffffff; + if ((int)uVar2 != 0) goto LAB_1400b9402; + uVar2 = FUN_1400da600(_Dst,puVar4); + uVar1 = uVar2 & 0xffffffff; + if ((int)uVar2 != 0) goto LAB_1400b9402; + iVar3 = iVar3 + 0x20; + param_3 = (void *)((longlong)param_3 + 0x70); + } while (iVar3 < 0x400); + *param_2 = 0x400; +LAB_1400b9402: + free(_Dst); + LeaveCriticalSection(lpCriticalSection); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b9440.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b9440.c new file mode 100644 index 00000000..a942b4c0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b9440.c @@ -0,0 +1,27 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b9440 FUN_1400b9440 + * Pseudocode, not original source. */ + +ulonglong FUN_1400b9440(longlong param_1,int param_2,longlong *param_3) + +{ + ulonglong uVar1; + int iVar2; + + if (((param_1 != 0) && (param_3 != (longlong *)0x0)) && (param_2 == 0x400)) { + uVar1 = FUN_1400b8d90(param_3); + if ((int)uVar1 == 0) { + iVar2 = 0; + do { + uVar1 = FUN_1400b8ee0((void *)(iVar2 + param_1),0x20,(longlong)param_3); + if ((int)uVar1 != 0) { + return uVar1; + } + iVar2 = iVar2 + 0x20; + } while (iVar2 < 0x400); + } + return uVar1; + } + return 0x10; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b94e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b94e0.c new file mode 100644 index 00000000..e547fad4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b94e0.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b94e0 FUN_1400b94e0 + * Pseudocode, not original source. */ + +void FUN_1400b94e0(longlong param_1) + +{ + if (param_1 != 0) { + FUN_1400da880(*(longlong *)(param_1 + 8)); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b9530.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b9530.c new file mode 100644 index 00000000..b5c3ff5c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b9530.c @@ -0,0 +1,143 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b9530 FUN_1400b9530 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +ulonglong FUN_1400b9530(char *param_1,uint param_2,undefined4 *param_3) + +{ + ulonglong uVar1; + byte *_Memory; + byte bVar2; + int iVar3; + uint uVar4; + uint uVar5; + byte *pbVar6; + byte *pbVar7; + undefined1 auStackY_2a8 [32]; + undefined8 local_1a0; + undefined4 *local_198; + longlong *local_190; + undefined4 *local_188; + undefined4 *local_180; + undefined4 *local_178; + undefined4 local_168 [2]; + undefined4 *local_160; + undefined8 local_158; + undefined4 local_130; + byte *local_128; + undefined8 local_120; + undefined4 local_f8 [2]; + undefined1 *local_f0; + undefined8 local_e8; + undefined4 local_c0; + undefined8 local_b8; + undefined8 local_b0; + undefined1 local_88 [64]; + ulonglong local_48; + + local_48 = DAT_14016f5a0 ^ (ulonglong)auStackY_2a8; + if (((param_1 == (char *)0x0) || (param_3 == (undefined4 *)0x0)) || (DAT_14017d480 == 0)) { + uVar1 = 0x10; + } + else { + local_180 = param_3 + 8; + local_188 = param_3 + 0xc; + local_198 = param_3 + 0xe; + local_190 = (longlong *)(param_3 + 4); + local_178 = param_3 + 0x10; + uVar1 = FUN_1400da7f0((undefined8 *)(param_3 + 2)); + if ((int)uVar1 == 0) { + _Memory = calloc(1,0x8000); + if (_Memory == (byte *)0x0) { + uVar4 = 0xd; + } + else { + local_f0 = local_88; + local_b8 = 0; + local_b0 = 0; + local_160 = local_f8; + local_f8[0] = 7; + local_e8 = 0x10; + local_c0 = 6; + local_168[0] = 0xd; + local_158 = 2; + local_130 = 4; + local_120 = 0x8000; + local_128 = _Memory; + uVar1 = FUN_1400daa10(param_1,param_2,(longlong)local_168,2,1); + if ((int)uVar1 == 0) { + uVar5 = 0; + iVar3 = 0; + bVar2 = 0; + uVar4 = 0; + pbVar6 = _Memory; + pbVar7 = _Memory; + if ((uint)local_120 != 0) { + do { + iVar3 = iVar3 + 1; + bVar2 = bVar2 * '\x02' | *pbVar6; + if (iVar3 == 8) { + *pbVar7 = bVar2; + pbVar7 = pbVar7 + 1; + bVar2 = 0; + uVar4 = uVar4 + 1; + iVar3 = 0; + } + uVar5 = uVar5 + 1; + pbVar6 = pbVar6 + 1; + } while (uVar5 < (uint)local_120); + } + uVar1 = FUN_1400da8d0((char *)_Memory,uVar4,2,1,*(undefined8 *)(param_3 + 6)); + uVar4 = (uint)uVar1; + if (uVar4 == 0) { + free(_Memory); + *param_3 = 0; + return 0; + } + free(_Memory); + } + else { + free(_Memory); + uVar1 = FUN_1400da8d0(param_1,param_2,2,1,*(undefined8 *)(param_3 + 6)); + uVar4 = (uint)uVar1; + if (uVar4 == 0) { + iVar3 = (*DAT_14017d4e0)(*(undefined8 *)(param_3 + 6),0); + if (iVar3 == 0) { + uVar4 = (*DAT_14017d490)(&local_1a0); + if (uVar4 == 0) { + uVar1 = FUN_1400da8d0(param_1,param_2,2,1,local_1a0); + uVar4 = (uint)uVar1; + if (uVar4 == 0) { + (*DAT_14017d4a0)(local_1a0); + *param_3 = 1; + return 0; + } + (*DAT_14017d4a0)(); + } + } + else { + iVar3 = (*DAT_14017d4e0)(*(undefined8 *)(param_3 + 6),1); + if (iVar3 == 0) { + uVar4 = 0x12; + } + else { + uVar1 = FUN_1400da8d0(param_1,param_2,2,1,*(undefined8 *)(param_3 + 6)); + uVar4 = (uint)uVar1; + if (uVar4 == 0) { + *param_3 = 0; + return uVar1; + } + } + } + } + } + } + FUN_1400da880(*local_190); + uVar1 = (ulonglong)uVar4; + } + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b9a10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b9a10.c new file mode 100644 index 00000000..05124d32 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b9a10.c @@ -0,0 +1,27 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b9a10 FUN_1400b9a10 + * Pseudocode, not original source. */ + +ulonglong FUN_1400b9a10(char *param_1,uint *param_2,int param_3,int *param_4) + +{ + ulonglong uVar1; + undefined4 local_res8 [8]; + + local_res8[0] = 0; + if (((param_1 != (char *)0x0) && (param_2 != (uint *)0x0)) && (param_4 != (int *)0x0)) { + if (*param_4 == 1) { + if (param_3 == 1) { + uVar1 = FUN_1400daf50(param_1,param_2,3,1,local_res8); + return uVar1; + } + } + else if (param_3 == 1) { + return 0x12; + } + uVar1 = FUN_1400daf50(param_1,param_2,2,1,*(undefined8 *)(param_4 + 6)); + return uVar1; + } + return 0x10; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b9bc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b9bc0.c new file mode 100644 index 00000000..f989b988 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b9bc0.c @@ -0,0 +1,133 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b9bc0 FUN_1400b9bc0 + * Pseudocode, not original source. */ + +ulonglong FUN_1400b9bc0(undefined8 param_1,uint param_2,int param_3,uint param_4,undefined4 *param_5 + ) + +{ + uint uVar1; + int iVar2; + ulonglong uVar3; + ulonglong uVar4; + undefined8 local_58; + undefined8 local_50; + longlong local_48; + longlong local_40; + longlong local_38; + + if (DAT_14017d480 == 0) { + return 0x10; + } + if (param_5 == (undefined4 *)0x0) { + return 0x10; + } + if (0x180 < param_3 - 0x80U) { + return 3; + } + if ((int)param_4 < 3) { + return 0x10; + } + if ((param_4 & 1) == 0) { + return 0x10; + } + uVar3 = FUN_1400d58f0(param_2); + if ((int)uVar3 != 0) { + return uVar3; + } + uVar3 = FUN_1400da7f0(&local_48); + if ((int)uVar3 != 0) { + return uVar3; + } + uVar1 = (*DAT_14017d4b8)(local_38,param_4); + uVar3 = (ulonglong)uVar1; + if (uVar1 == 0) { + do { + uVar4 = FUN_1400db0b0(local_48,param_3 / 2,param_1,param_2); + uVar3 = uVar4 & 0xffffffff; + if ((int)uVar4 != 0) goto LAB_1400b9ef2; + uVar1 = (*DAT_14017d540)(local_48,1,local_58); + uVar3 = (ulonglong)uVar1; + if (uVar1 != 0) goto LAB_1400b9ef2; + uVar1 = (*DAT_14017d578)(local_58,local_38,local_50); + uVar3 = (ulonglong)uVar1; + if (uVar1 != 0) goto LAB_1400b9ef2; + iVar2 = (*DAT_14017d4e0)(local_50,1); + } while (iVar2 != 0); + do { + uVar4 = FUN_1400db0b0(local_40,param_3 / 2,param_1,param_2); + uVar3 = uVar4 & 0xffffffff; + if ((int)uVar4 != 0) goto LAB_1400b9ef2; + uVar1 = (*DAT_14017d540)(local_40,1,local_58); + uVar3 = (ulonglong)uVar1; + if (uVar1 != 0) goto LAB_1400b9ef2; + uVar1 = (*DAT_14017d578)(local_58,local_38,local_50); + uVar3 = (ulonglong)uVar1; + if (uVar1 != 0) goto LAB_1400b9ef2; + iVar2 = (*DAT_14017d4e0)(local_50,1); + } while (iVar2 != 0); + uVar1 = (*DAT_14017d540)(local_48,1,local_50); + uVar3 = (ulonglong)uVar1; + if (uVar1 == 0) { + uVar1 = (*DAT_14017d580)(local_58,local_50,local_58); + uVar3 = (ulonglong)uVar1; + if (uVar1 == 0) { + uVar4 = FUN_1400da7f0((undefined8 *)(param_5 + 2)); + uVar3 = uVar4 & 0xffffffff; + if ((int)uVar4 == 0) { + uVar1 = (*DAT_14017d4b8)(*(undefined8 *)(param_5 + 2),param_4); + uVar3 = (ulonglong)uVar1; + if (uVar1 == 0) { + uVar1 = (*DAT_14017d598)(*(undefined8 *)(param_5 + 2),local_58, + *(undefined8 *)(param_5 + 4)); + uVar3 = (ulonglong)uVar1; + if (uVar1 == 0) { + uVar1 = (*DAT_14017d548)(local_48,local_40,*(undefined8 *)(param_5 + 6)); + uVar3 = (ulonglong)uVar1; + if (uVar1 == 0) { + uVar1 = (*DAT_14017d540)(local_48,1,local_58); + uVar3 = (ulonglong)uVar1; + if (uVar1 == 0) { + uVar1 = (*DAT_14017d540)(local_40,1,local_50); + uVar3 = (ulonglong)uVar1; + if (uVar1 == 0) { + uVar1 = (*DAT_14017d560)(*(undefined8 *)(param_5 + 4),local_58,0, + *(undefined8 *)(param_5 + 0xe)); + uVar3 = (ulonglong)uVar1; + if (uVar1 == 0) { + uVar1 = (*DAT_14017d560)(*(undefined8 *)(param_5 + 4),local_50,0, + *(undefined8 *)(param_5 + 0x10)); + uVar3 = (ulonglong)uVar1; + if (uVar1 == 0) { + uVar1 = (*DAT_14017d598)(local_40,local_48,*(undefined8 *)(param_5 + 0xc)); + uVar3 = (ulonglong)uVar1; + if (uVar1 == 0) { + uVar1 = (*DAT_14017d4b0)(local_48,*(undefined8 *)(param_5 + 8)); + uVar3 = (ulonglong)uVar1; + if (uVar1 == 0) { + uVar1 = (*DAT_14017d4b0)(local_40,*(undefined8 *)(param_5 + 10)); + uVar3 = (ulonglong)uVar1; + if (uVar1 == 0) { + *param_5 = 1; + goto LAB_1400b9f34; + } + } + } + } + } + } + } + } + } + } + } + } + } + } +LAB_1400b9ef2: + FUN_1400da880(*(longlong *)(param_5 + 4)); +LAB_1400b9f34: + FUN_1400da880(local_38); + return uVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400b9fa0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400b9fa0.c new file mode 100644 index 00000000..0cc6214f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400b9fa0.c @@ -0,0 +1,63 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400b9fa0 FUN_1400b9fa0 + * Pseudocode, not original source. */ + +ulonglong FUN_1400b9fa0(void *param_1,uint param_2,undefined1 *param_3,uint *param_4,byte *param_5, + undefined4 param_6,ulonglong param_7,uint param_8,uint param_9,int param_10, + longlong param_11) + +{ + uint uVar1; + uint uVar2; + int iVar3; + ulonglong uVar4; + uint local_res8 [2]; + uint local_res10; + undefined8 in_stack_ffffffffffffff98; + undefined4 uVar6; + ulonglong uVar5; + + uVar6 = (undefined4)((ulonglong)in_stack_ffffffffffffff98 >> 0x20); + if (((param_1 != (void *)0x0) && (param_3 != (undefined1 *)0x0)) && (param_4 != (uint *)0x0)) { + if (param_11 != 0) { + if ((param_10 == 1) || (param_10 == 2)) { + local_res10 = param_2; + uVar4 = FUN_1400d58f0(param_8); + if (((int)uVar4 == 0) && + ((param_10 != 2 || (uVar4 = FUN_1400db770(param_9), (int)uVar4 == 0)))) { + uVar1 = (*DAT_14017d4e8)(*(undefined8 *)(param_11 + 0x18)); + uVar2 = (*DAT_14017d510)(*(undefined8 *)(param_11 + 0x18)); + local_res8[0] = *param_4; + if (local_res8[0] < uVar2) { + *param_4 = uVar2; + uVar4 = 6; + } + else { + if (param_10 == 2) { + uVar5 = CONCAT44(uVar6,uVar1); + uVar4 = FUN_1400db3e0(param_1,local_res10,param_5,param_6,uVar1,param_7,param_8, + param_9,param_3,local_res8); + iVar3 = (int)uVar4; + } + else { + uVar4 = FUN_1400db210(param_1,local_res10,2,uVar1,param_7,param_8,param_3,local_res8); + iVar3 = (int)uVar4; + uVar5 = param_7; + } + if (iVar3 == 0) { + uVar4 = (*DAT_14017d600)(param_3,local_res8[0],param_3,param_4, + uVar5 & 0xffffffff00000000,param_11); + } + } + } + } + else { + uVar4 = 0x18; + } + return uVar4; + } + return 0x10; + } + return 0x10; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ba160.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ba160.c new file mode 100644 index 00000000..9f746339 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ba160.c @@ -0,0 +1,74 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ba160 FUN_1400ba160 + * Pseudocode, not original source. */ + +ulonglong FUN_1400ba160(undefined8 param_1,uint param_2,void *param_3,uint *param_4,byte *param_5, + undefined4 param_6,uint param_7,int param_8,undefined4 *param_9, + longlong param_10) + +{ + uint uVar1; + uint uVar2; + ulonglong uVar3; + char *_Memory; + undefined8 uVar4; + uint local_res18 [2]; + undefined8 in_stack_ffffffffffffff98; + undefined4 uVar5; + + uVar5 = (undefined4)((ulonglong)in_stack_ffffffffffffff98 >> 0x20); + if ((param_3 == (void *)0x0) || (param_4 == (uint *)0x0)) { + return 0x10; + } + if (param_10 == 0) { + return 0x10; + } + if (param_9 != (undefined4 *)0x0) { + *param_9 = 0; + if (param_8 != 1) { + if (param_8 != 2) { + return 0x18; + } + uVar3 = FUN_1400db770(param_7); + if ((int)uVar3 != 0) { + return uVar3; + } + } + uVar1 = (*DAT_14017d4e8)(*(undefined8 *)(param_10 + 0x18)); + uVar2 = (*DAT_14017d510)(*(undefined8 *)(param_10 + 0x18)); + if (uVar2 == param_2) { + _Memory = malloc((ulonglong)param_2); + if (_Memory == (char *)0x0) { + uVar3 = 0xd; + } + else { + local_res18[0] = param_2; + uVar2 = (*DAT_14017d600)(param_1,param_2,_Memory,local_res18,CONCAT44(uVar5,1),param_10); + uVar3 = (ulonglong)uVar2; + if (uVar2 == 0) { + if (param_8 == 2) { + uVar3 = FUN_1400db900(_Memory,local_res18[0],param_5,param_6,uVar1,param_7,param_3, + param_4,param_9); + uVar1 = (uint)uVar3; + } + else { + uVar4 = FUN_1400db7d0(_Memory,local_res18[0],2,(ulonglong)uVar1,param_3,param_4,param_9) + ; + uVar1 = (uint)uVar4; + } + uVar3 = (ulonglong)uVar1; + free(_Memory); + } + else { + free(_Memory); + } + } + } + else { + uVar3 = 7; + } + return uVar3; + } + return 0x10; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ba340.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ba340.c new file mode 100644 index 00000000..13606351 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ba340.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ba340 FUN_1400ba340 + * Pseudocode, not original source. */ + +undefined4 * FUN_1400ba340(undefined4 *param_1) + +{ + FUN_140059380((undefined1 *)(param_1 + 2)); + *param_1 = 0; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ba370.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ba370.c new file mode 100644 index 00000000..6c77f05d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ba370.c @@ -0,0 +1,133 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ba370 FUN_1400ba370 + * Pseudocode, not original source. */ + +uint FUN_1400ba370(uint param_1,byte *param_2,uint param_3) + +{ + byte bVar1; + int iVar2; + ulonglong uVar3; + uint uVar4; + int iVar5; + int iVar6; + int iVar7; + int iVar8; + int iVar9; + int iVar10; + int iVar11; + int iVar12; + int iVar13; + int iVar14; + int iVar15; + int iVar16; + int iVar17; + int iVar18; + int iVar19; + uint uVar20; + byte *pbVar21; + + uVar4 = param_1 & 0xffff; + uVar20 = param_1 >> 0x10; + if (param_3 == 1) { + uVar4 = (param_1 & 0xffff) + (uint)*param_2; + if (0xfff0 < uVar4) { + uVar4 = uVar4 - 0xfff1; + } + uVar20 = uVar20 + uVar4; + if (0xfff0 < uVar20) { + return (uVar20 - 0xfff1) * 0x10000 | uVar4; + } + } + else { + if (param_2 == (byte *)0x0) { + return 1; + } + if (param_3 < 0x10) { + for (; param_3 != 0; param_3 = param_3 - 1) { + bVar1 = *param_2; + param_2 = param_2 + 1; + uVar4 = uVar4 + bVar1; + uVar20 = uVar20 + uVar4; + } + if (0xfff0 < uVar4) { + uVar4 = uVar4 - 0xfff1; + } + return (uVar20 + (uVar20 / 0xfff1) * 0xf) * 0x10000 | uVar4; + } + if (0x15af < param_3) { + uVar3 = (ulonglong)param_3 / 0x15b0; + do { + param_3 = param_3 - 0x15b0; + iVar2 = 0x15b; + pbVar21 = param_2; + do { + param_2 = pbVar21 + 0x10; + iVar5 = uVar4 + *pbVar21; + iVar6 = iVar5 + (uint)pbVar21[1]; + iVar7 = iVar6 + (uint)pbVar21[2]; + iVar8 = iVar7 + (uint)pbVar21[3]; + iVar9 = iVar8 + (uint)pbVar21[4]; + iVar10 = iVar9 + (uint)pbVar21[5]; + iVar11 = iVar10 + (uint)pbVar21[6]; + iVar12 = iVar11 + (uint)pbVar21[7]; + iVar13 = iVar12 + (uint)pbVar21[8]; + iVar14 = iVar13 + (uint)pbVar21[9]; + iVar15 = iVar14 + (uint)pbVar21[10]; + iVar16 = iVar15 + (uint)pbVar21[0xb]; + iVar17 = iVar16 + (uint)pbVar21[0xc]; + iVar18 = iVar17 + (uint)pbVar21[0xd]; + iVar19 = iVar18 + (uint)pbVar21[0xe]; + uVar4 = iVar19 + (uint)pbVar21[0xf]; + uVar20 = uVar20 + iVar5 + iVar6 + iVar7 + iVar8 + iVar9 + iVar10 + iVar11 + iVar12 + + iVar13 + iVar14 + iVar15 + iVar16 + iVar17 + iVar18 + iVar19 + uVar4; + iVar2 = iVar2 + -1; + pbVar21 = param_2; + } while (iVar2 != 0); + uVar4 = uVar4 % 0xfff1; + uVar20 = uVar20 % 0xfff1; + uVar3 = uVar3 - 1; + } while (uVar3 != 0); + } + if (param_3 != 0) { + if (0xf < param_3) { + uVar3 = (ulonglong)(param_3 >> 4); + pbVar21 = param_2; + do { + param_3 = param_3 - 0x10; + param_2 = pbVar21 + 0x10; + iVar2 = uVar4 + *pbVar21; + iVar5 = iVar2 + (uint)pbVar21[1]; + iVar6 = iVar5 + (uint)pbVar21[2]; + iVar7 = iVar6 + (uint)pbVar21[3]; + iVar8 = iVar7 + (uint)pbVar21[4]; + iVar9 = iVar8 + (uint)pbVar21[5]; + iVar10 = iVar9 + (uint)pbVar21[6]; + iVar11 = iVar10 + (uint)pbVar21[7]; + iVar12 = iVar11 + (uint)pbVar21[8]; + iVar13 = iVar12 + (uint)pbVar21[9]; + iVar14 = iVar13 + (uint)pbVar21[10]; + iVar15 = iVar14 + (uint)pbVar21[0xb]; + iVar16 = iVar15 + (uint)pbVar21[0xc]; + iVar17 = iVar16 + (uint)pbVar21[0xd]; + iVar18 = iVar17 + (uint)pbVar21[0xe]; + uVar4 = iVar18 + (uint)pbVar21[0xf]; + uVar20 = uVar20 + iVar2 + iVar5 + iVar6 + iVar7 + iVar8 + iVar9 + iVar10 + iVar11 + iVar12 + + iVar13 + iVar14 + iVar15 + iVar16 + iVar17 + iVar18 + uVar4; + uVar3 = uVar3 - 1; + pbVar21 = param_2; + } while (uVar3 != 0); + } + for (; param_3 != 0; param_3 = param_3 - 1) { + bVar1 = *param_2; + param_2 = param_2 + 1; + uVar4 = uVar4 + bVar1; + uVar20 = uVar20 + uVar4; + } + uVar4 = uVar4 % 0xfff1; + uVar20 = uVar20 % 0xfff1; + } + } + return uVar20 << 0x10 | uVar4; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ba680.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ba680.c new file mode 100644 index 00000000..dfc8910a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ba680.c @@ -0,0 +1,34 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ba680 FUN_1400ba680 + * Pseudocode, not original source. */ + +void FUN_1400ba680(longlong param_1) + +{ + longlong *plVar1; + int *piVar2; + longlong lVar3; + uint uVar4; + + uVar4 = *(uint *)(*(longlong *)(param_1 + 0x28) + 0x28); + if (*(uint *)(param_1 + 0x18) < uVar4) { + uVar4 = *(uint *)(param_1 + 0x18); + } + if (uVar4 != 0) { + memcpy(*(void **)(param_1 + 0x10),*(void **)(*(longlong *)(param_1 + 0x28) + 0x20), + (ulonglong)uVar4); + *(longlong *)(param_1 + 0x10) = *(longlong *)(param_1 + 0x10) + (ulonglong)uVar4; + plVar1 = (longlong *)(*(longlong *)(param_1 + 0x28) + 0x20); + *plVar1 = *plVar1 + (ulonglong)uVar4; + *(int *)(param_1 + 0x1c) = *(int *)(param_1 + 0x1c) + uVar4; + *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) - uVar4; + piVar2 = (int *)(*(longlong *)(param_1 + 0x28) + 0x28); + *piVar2 = *piVar2 - uVar4; + lVar3 = *(longlong *)(param_1 + 0x28); + if (*(int *)(lVar3 + 0x28) == 0) { + *(undefined8 *)(lVar3 + 0x20) = *(undefined8 *)(lVar3 + 0x10); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ba700.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ba700.c new file mode 100644 index 00000000..b83b25cd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ba700.c @@ -0,0 +1,40 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ba700 FUN_1400ba700 + * Pseudocode, not original source. */ + +undefined8 FUN_1400ba700(longlong param_1) + +{ + int iVar1; + longlong lVar2; + undefined8 uVar3; + + if ((param_1 == 0) || (lVar2 = *(longlong *)(param_1 + 0x28), lVar2 == 0)) { + return 0xfffffffe; + } + iVar1 = *(int *)(lVar2 + 8); + if ((((iVar1 != 0x2a) && (iVar1 != 0x45)) && (iVar1 != 0x49)) && + (((iVar1 != 0x5b && (iVar1 != 0x67)) && ((iVar1 != 0x71 && (iVar1 != 0x29a)))))) { + return 0xfffffffe; + } + if (*(longlong *)(lVar2 + 0x10) != 0) { + (**(code **)(param_1 + 0x38))(*(undefined8 *)(param_1 + 0x40)); + } + if (*(longlong *)(*(longlong *)(param_1 + 0x28) + 0x68) != 0) { + (**(code **)(param_1 + 0x38))(*(undefined8 *)(param_1 + 0x40)); + } + if (*(longlong *)(*(longlong *)(param_1 + 0x28) + 0x60) != 0) { + (**(code **)(param_1 + 0x38))(*(undefined8 *)(param_1 + 0x40)); + } + if (*(longlong *)(*(longlong *)(param_1 + 0x28) + 0x50) != 0) { + (**(code **)(param_1 + 0x38))(*(undefined8 *)(param_1 + 0x40)); + } + (**(code **)(param_1 + 0x38))(*(undefined8 *)(param_1 + 0x40),*(undefined8 *)(param_1 + 0x28)); + uVar3 = 0; + *(undefined8 *)(param_1 + 0x28) = 0; + if (iVar1 == 0x71) { + uVar3 = 0xfffffffd; + } + return uVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ba7e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ba7e0.c new file mode 100644 index 00000000..92c7637b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ba7e0.c @@ -0,0 +1,34 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ba7e0 FUN_1400ba7e0 + * Pseudocode, not original source. */ + +uint FUN_1400ba7e0(longlong *param_1,void *param_2,uint param_3) + +{ + uint uVar1; + uint uVar2; + + uVar1 = *(uint *)(param_1 + 1); + uVar2 = uVar1; + if (param_3 < uVar1) { + uVar2 = param_3; + } + if (uVar2 == 0) { + return 0; + } + *(uint *)(param_1 + 1) = uVar1 - uVar2; + if (*(int *)(param_1[5] + 0x2c) == 1) { + uVar1 = FUN_1400ba370(*(uint *)((longlong)param_1 + 0x4c),(byte *)*param_1,uVar2); + } + else { + if (*(int *)(param_1[5] + 0x2c) != 2) goto LAB_1400ba853; + uVar1 = FUN_140099230(*(uint *)((longlong)param_1 + 0x4c),(uint *)*param_1,uVar2); + } + *(uint *)((longlong)param_1 + 0x4c) = uVar1; +LAB_1400ba853: + memcpy(param_2,(void *)*param_1,(ulonglong)uVar2); + *param_1 = *param_1 + (ulonglong)uVar2; + *(int *)((longlong)param_1 + 0xc) = *(int *)((longlong)param_1 + 0xc) + uVar2; + return uVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ba880.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ba880.c new file mode 100644 index 00000000..40cbc560 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ba880.c @@ -0,0 +1,86 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ba880 FUN_1400ba880 + * Pseudocode, not original source. */ + +uint FUN_1400ba880(longlong param_1,uint param_2) + +{ + char *pcVar1; + char *pcVar2; + uint uVar3; + longlong lVar4; + char *pcVar5; + uint uVar6; + uint uVar7; + char *pcVar8; + char *pcVar9; + int iVar10; + uint uVar11; + ulonglong uVar12; + char cVar13; + char cVar14; + uint uVar15; + + uVar7 = *(uint *)(param_1 + 0x94); + uVar6 = *(uint *)(param_1 + 0xa4); + lVar4 = *(longlong *)(param_1 + 0x50); + uVar12 = (ulonglong)(int)*(uint *)(param_1 + 0xa0); + pcVar2 = (char *)((ulonglong)uVar7 + lVar4); + if (*(int *)(param_1 + 0x44) - 0x106U < uVar7) { + uVar7 = (uVar7 - *(int *)(param_1 + 0x44)) + 0x106; + } + else { + uVar7 = 0; + } + cVar13 = pcVar2[uVar12 - 1]; + cVar14 = pcVar2[uVar12]; + if (*(uint *)(param_1 + 0xb4) <= *(uint *)(param_1 + 0xa0)) { + uVar6 = uVar6 >> 2; + } + uVar3 = *(uint *)(param_1 + 0x9c); + uVar15 = *(uint *)(param_1 + 0xb8); + if (uVar3 < *(uint *)(param_1 + 0xb8)) { + uVar15 = uVar3; + } + do { + iVar10 = (int)uVar12; + pcVar5 = (char *)(lVar4 + (ulonglong)param_2); + if ((((pcVar5[iVar10] == cVar14) && (pcVar5[(longlong)iVar10 + -1] == cVar13)) && + (*pcVar5 == *pcVar2)) && (pcVar5[1] == pcVar2[1])) { + pcVar5 = pcVar5 + 2; + pcVar8 = pcVar2 + 2; + while (((((pcVar9 = pcVar8 + 1, *pcVar9 == pcVar5[1] && + (pcVar9 = pcVar8 + 2, *pcVar9 == pcVar5[2])) && + ((pcVar9 = pcVar8 + 3, *pcVar9 == pcVar5[3] && + ((pcVar9 = pcVar8 + 4, *pcVar9 == pcVar5[4] && + (pcVar9 = pcVar8 + 5, *pcVar9 == pcVar5[5])))))) && + (pcVar9 = pcVar8 + 6, *pcVar9 == pcVar5[6])) && + (pcVar9 = pcVar8 + 7, *pcVar9 == pcVar5[7]))) { + pcVar1 = pcVar5 + 8; + pcVar5 = pcVar5 + 8; + pcVar9 = pcVar8 + 8; + if ((*pcVar9 != *pcVar1) || (pcVar8 = pcVar9, pcVar2 + 0x102 <= pcVar9)) break; + } + uVar11 = ((int)pcVar9 - (int)(pcVar2 + 0x102)) + 0x102; + if (iVar10 < (int)uVar11) { + *(uint *)(param_1 + 0x98) = param_2; + uVar12 = (ulonglong)uVar11; + if ((int)uVar15 <= (int)uVar11) break; + cVar13 = pcVar2[(longlong)(int)uVar11 + -1]; + cVar14 = pcVar2[(int)uVar11]; + } + } + uVar11 = (uint)uVar12; + param_2 = (uint)*(ushort *) + (*(longlong *)(param_1 + 0x60) + + (ulonglong)(*(uint *)(param_1 + 0x4c) & param_2) * 2); + if (param_2 <= uVar7) break; + uVar6 = uVar6 - 1; + lVar4 = *(longlong *)(param_1 + 0x50); + } while (uVar6 != 0); + if (uVar11 <= uVar3) { + uVar3 = uVar11; + } + return uVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400baa30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400baa30.c new file mode 100644 index 00000000..42c639ea --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400baa30.c @@ -0,0 +1,101 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400baa30 FUN_1400baa30 + * Pseudocode, not original source. */ + +void FUN_1400baa30(longlong *param_1) + +{ + ushort *puVar1; + uint uVar2; + short sVar3; + short *psVar4; + ulonglong _Size; + uint uVar5; + uint uVar6; + ulonglong uVar7; + + uVar2 = *(uint *)((longlong)param_1 + 0x44); + _Size = (ulonglong)uVar2; + while( true ) { + uVar5 = ((int)param_1[0xb] - *(int *)((longlong)param_1 + 0x9c)) - + *(uint *)((longlong)param_1 + 0x94); + if ((uVar2 - 0x106) + *(int *)((longlong)param_1 + 0x44) <= *(uint *)((longlong)param_1 + 0x94)) + { + memcpy((void *)param_1[10],(void *)(param_1[10] + _Size),_Size); + uVar7 = (ulonglong)*(uint *)((longlong)param_1 + 0x74); + *(uint *)(param_1 + 0x13) = (int)param_1[0x13] - uVar2; + *(int *)((longlong)param_1 + 0x94) = *(int *)((longlong)param_1 + 0x94) - uVar2; + *(int *)((longlong)param_1 + 0x84) = *(int *)((longlong)param_1 + 0x84) - uVar2; + psVar4 = (short *)(param_1[0xd] + uVar7 * 2); + do { + puVar1 = (ushort *)(psVar4 + -1); + psVar4 = psVar4 + -1; + if (*puVar1 < uVar2) { + sVar3 = 0; + } + else { + sVar3 = *puVar1 - (short)uVar2; + } + uVar6 = (int)uVar7 - 1; + uVar7 = (ulonglong)uVar6; + *psVar4 = sVar3; + } while (uVar6 != 0); + psVar4 = (short *)(param_1[0xc] + _Size * 2); + uVar6 = uVar2; + do { + puVar1 = (ushort *)(psVar4 + -1); + psVar4 = psVar4 + -1; + if (*puVar1 < uVar2) { + sVar3 = 0; + } + else { + sVar3 = *puVar1 - (short)uVar2; + } + uVar6 = uVar6 - 1; + *psVar4 = sVar3; + } while (uVar6 != 0); + uVar5 = uVar5 + uVar2; + } + if ((int)((longlong *)*param_1)[1] == 0) break; + uVar5 = FUN_1400ba7e0((longlong *)*param_1, + (void *)((ulonglong)*(uint *)((longlong)param_1 + 0x9c) + + (ulonglong)*(uint *)((longlong)param_1 + 0x94) + param_1[10]), + uVar5); + *(int *)((longlong)param_1 + 0x9c) = *(int *)((longlong)param_1 + 0x9c) + uVar5; + uVar5 = *(uint *)((longlong)param_1 + 0x9c); + if (2 < uVar5) { + uVar6 = (uint)*(byte *)((ulonglong)*(uint *)((longlong)param_1 + 0x94) + param_1[10]); + *(uint *)(param_1 + 0xe) = uVar6; + *(uint *)(param_1 + 0xe) = + (uVar6 << ((byte)(int)param_1[0x10] & 0x1f) ^ + (uint)*(byte *)((ulonglong)(*(uint *)((longlong)param_1 + 0x94) + 1) + param_1[10])) & + *(uint *)((longlong)param_1 + 0x7c); + } + if ((0x105 < uVar5) || (*(int *)(*param_1 + 8) == 0)) { + uVar2 = *(uint *)(param_1 + 0x2e3); + uVar6 = *(uint *)(param_1 + 0xb); + if (uVar2 < uVar6) { + uVar5 = uVar5 + *(int *)((longlong)param_1 + 0x94); + if (uVar2 < uVar5) { + uVar2 = uVar6 - uVar5; + if (0x102 < uVar6 - uVar5) { + uVar2 = 0x102; + } + memset((void *)((ulonglong)uVar5 + param_1[10]),0,(ulonglong)uVar2); + *(uint *)(param_1 + 0x2e3) = uVar2 + uVar5; + } + else if (uVar2 < uVar5 + 0x102) { + uVar5 = (uVar5 - uVar2) + 0x102; + if (uVar6 - uVar2 < uVar5) { + uVar5 = uVar6 - uVar2; + } + memset((void *)((ulonglong)uVar2 + param_1[10]),0,(ulonglong)uVar5); + *(uint *)(param_1 + 0x2e3) = (int)param_1[0x2e3] + uVar5; + } + } + return; + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400babf0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400babf0.c new file mode 100644 index 00000000..d7184f58 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400babf0.c @@ -0,0 +1,127 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400babf0 FUN_1400babf0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400babf0(longlong *param_1,int param_2) + +{ + longlong *plVar1; + int *piVar2; + uint uVar3; + longlong lVar4; + uint uVar5; + undefined1 *puVar6; + undefined1 *puVar7; + uint uVar8; + uint uVar9; + + uVar5 = (int)param_1[3] - 5; + uVar3 = 0xffff; + if (uVar5 < 0xffff) { + uVar3 = uVar5; + } + puVar7 = (undefined1 *)0x0; + do { + uVar5 = *(uint *)((longlong)param_1 + 0x9c); + if (uVar5 < 2) { + FUN_1400baa30(param_1); + uVar5 = *(uint *)((longlong)param_1 + 0x9c); + if (uVar5 == 0) { + if (param_2 == 0) { + return 0; + } + uVar3 = *(uint *)((longlong)param_1 + 0x84); + if (-1 < (int)uVar3) { + puVar7 = (undefined1 *)((ulonglong)uVar3 + param_1[10]); + } + FUN_1400bee40(param_1,puVar7,*(int *)((longlong)param_1 + 0x94) - uVar3,(uint)(param_2 == 4) + ); + *(undefined4 *)((longlong)param_1 + 0x84) = *(undefined4 *)((longlong)param_1 + 0x94); + FUN_1400ba680(*param_1); + if (*(int *)(*param_1 + 0x18) != 0) { + if (param_2 == 4) { + return 3; + } + return 1; + } + if (param_2 == 4) { + return 2; + } + return 0; + } + } + uVar9 = *(uint *)((longlong)param_1 + 0x84); + piVar2 = (int *)((longlong)param_1 + 0x94); + *piVar2 = *piVar2 + uVar5; + uVar5 = *(uint *)((longlong)param_1 + 0x94); + uVar8 = uVar9 + uVar3; + *(undefined4 *)((longlong)param_1 + 0x9c) = 0; + if ((*piVar2 == 0) || (uVar8 <= uVar5)) { + *(uint *)((longlong)param_1 + 0x94) = uVar8; + *(uint *)((longlong)param_1 + 0x9c) = uVar5 - uVar8; + puVar6 = puVar7; + if (-1 < (int)uVar9) { + puVar6 = (undefined1 *)((ulonglong)uVar9 + param_1[10]); + } + FUN_1400bee40(param_1,puVar6,uVar8 - uVar9,0); + lVar4 = *param_1; + *(undefined4 *)((longlong)param_1 + 0x84) = *(undefined4 *)((longlong)param_1 + 0x94); + uVar5 = *(uint *)(*(longlong *)(lVar4 + 0x28) + 0x28); + if (*(uint *)(lVar4 + 0x18) < uVar5) { + uVar5 = *(uint *)(lVar4 + 0x18); + } + if (uVar5 != 0) { + memcpy(*(void **)(lVar4 + 0x10),*(void **)(*(longlong *)(lVar4 + 0x28) + 0x20), + (ulonglong)uVar5); + *(longlong *)(lVar4 + 0x10) = *(longlong *)(lVar4 + 0x10) + (ulonglong)uVar5; + plVar1 = (longlong *)(*(longlong *)(lVar4 + 0x28) + 0x20); + *plVar1 = *plVar1 + (ulonglong)uVar5; + *(int *)(lVar4 + 0x1c) = *(int *)(lVar4 + 0x1c) + uVar5; + *(int *)(lVar4 + 0x18) = *(int *)(lVar4 + 0x18) - uVar5; + piVar2 = (int *)(*(longlong *)(lVar4 + 0x28) + 0x28); + *piVar2 = *piVar2 - uVar5; + lVar4 = *(longlong *)(lVar4 + 0x28); + if (*(int *)(lVar4 + 0x28) == 0) { + *(undefined8 *)(lVar4 + 0x20) = *(undefined8 *)(lVar4 + 0x10); + } + } + if (*(int *)(*param_1 + 0x18) == 0) { + return 0; + } + } + uVar5 = *(uint *)((longlong)param_1 + 0x84); + uVar9 = *(int *)((longlong)param_1 + 0x94) - uVar5; + if (*(int *)((longlong)param_1 + 0x44) - 0x106U <= uVar9) { + puVar6 = puVar7; + if (-1 < (int)uVar5) { + puVar6 = (undefined1 *)((ulonglong)uVar5 + param_1[10]); + } + FUN_1400bee40(param_1,puVar6,uVar9,0); + lVar4 = *param_1; + *(undefined4 *)((longlong)param_1 + 0x84) = *(undefined4 *)((longlong)param_1 + 0x94); + uVar5 = *(uint *)(*(longlong *)(lVar4 + 0x28) + 0x28); + if (*(uint *)(lVar4 + 0x18) < uVar5) { + uVar5 = *(uint *)(lVar4 + 0x18); + } + if (uVar5 != 0) { + memcpy(*(void **)(lVar4 + 0x10),*(void **)(*(longlong *)(lVar4 + 0x28) + 0x20), + (ulonglong)uVar5); + *(longlong *)(lVar4 + 0x10) = *(longlong *)(lVar4 + 0x10) + (ulonglong)uVar5; + plVar1 = (longlong *)(*(longlong *)(lVar4 + 0x28) + 0x20); + *plVar1 = *plVar1 + (ulonglong)uVar5; + *(int *)(lVar4 + 0x1c) = *(int *)(lVar4 + 0x1c) + uVar5; + *(int *)(lVar4 + 0x18) = *(int *)(lVar4 + 0x18) - uVar5; + piVar2 = (int *)(*(longlong *)(lVar4 + 0x28) + 0x28); + *piVar2 = *piVar2 - uVar5; + lVar4 = *(longlong *)(lVar4 + 0x28); + if (*(int *)(lVar4 + 0x28) == 0) { + *(undefined8 *)(lVar4 + 0x20) = *(undefined8 *)(lVar4 + 0x10); + } + } + if (*(int *)(*param_1 + 0x18) == 0) { + return 0; + } + } + } while( true ); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400bae70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400bae70.c new file mode 100644 index 00000000..e565f5e8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400bae70.c @@ -0,0 +1,168 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400bae70 FUN_1400bae70 + * Pseudocode, not original source. */ + +undefined8 FUN_1400bae70(longlong *param_1,int param_2) + +{ + longlong *plVar1; + int *piVar2; + short *psVar3; + longlong lVar4; + byte bVar5; + undefined1 *puVar6; + undefined1 *puVar7; + short sVar8; + ushort uVar9; + uint uVar10; + bool bVar11; + + puVar7 = (undefined1 *)0x0; + do { + uVar10 = *(uint *)((longlong)param_1 + 0x9c); + if (uVar10 < 0x106) { + FUN_1400baa30(param_1); + uVar10 = *(uint *)((longlong)param_1 + 0x9c); + if ((uVar10 < 0x106) && (param_2 == 0)) { + return 0; + } + if (uVar10 == 0) { + uVar10 = *(uint *)((longlong)param_1 + 0x84); + if (-1 < (int)uVar10) { + puVar7 = (undefined1 *)((ulonglong)uVar10 + param_1[10]); + } + FUN_1400bee40(param_1,puVar7,*(int *)((longlong)param_1 + 0x94) - uVar10, + (uint)(param_2 == 4)); + *(undefined4 *)((longlong)param_1 + 0x84) = *(undefined4 *)((longlong)param_1 + 0x94); + FUN_1400ba680(*param_1); + if (*(int *)(*param_1 + 0x18) != 0) { + if (param_2 == 4) { + return 3; + } + return 1; + } + if (param_2 == 4) { + return 2; + } + return 0; + } + } + if (2 < uVar10) { + uVar10 = ((uint)*(byte *)((ulonglong)(*(uint *)((longlong)param_1 + 0x94) + 2) + param_1[10]) + ^ (int)param_1[0xe] << ((byte)(int)param_1[0x10] & 0x1f)) & + *(uint *)((longlong)param_1 + 0x7c); + *(uint *)(param_1 + 0xe) = uVar10; + *(undefined2 *) + (param_1[0xc] + + (ulonglong)(*(uint *)((longlong)param_1 + 0x94) & *(uint *)((longlong)param_1 + 0x4c)) * 2) = + *(undefined2 *)(param_1[0xd] + (ulonglong)uVar10 * 2); + uVar9 = *(ushort *) + (param_1[0xc] + + (ulonglong) + (*(uint *)((longlong)param_1 + 0x94) & *(uint *)((longlong)param_1 + 0x4c)) * 2); + *(undefined2 *)(param_1[0xd] + (ulonglong)*(uint *)(param_1 + 0xe) * 2) = + *(undefined2 *)((longlong)param_1 + 0x94); + if ((uVar9 != 0) && + (*(int *)((longlong)param_1 + 0x94) - (uint)uVar9 <= + *(int *)((longlong)param_1 + 0x44) - 0x106U)) { + uVar10 = FUN_1400ba880((longlong)param_1,(uint)uVar9); + *(uint *)(param_1 + 0x11) = uVar10; + } + } + if (*(uint *)(param_1 + 0x11) < 3) { + bVar5 = *(byte *)((ulonglong)*(uint *)((longlong)param_1 + 0x94) + param_1[10]); + *(undefined2 *)(param_1[0x2df] + (ulonglong)*(uint *)((longlong)param_1 + 0x16f4) * 2) = 0; + *(byte *)((ulonglong)*(uint *)((longlong)param_1 + 0x16f4) + param_1[0x2dd]) = bVar5; + *(int *)((longlong)param_1 + 0x16f4) = *(int *)((longlong)param_1 + 0x16f4) + 1; + psVar3 = (short *)((longlong)param_1 + (ulonglong)bVar5 * 4 + 0xbc); + *psVar3 = *psVar3 + 1; + bVar11 = *(int *)((longlong)param_1 + 0x16f4) == (int)param_1[0x2de] + -1; + *(int *)((longlong)param_1 + 0x9c) = *(int *)((longlong)param_1 + 0x9c) + -1; +LAB_1400bb14c: + *(int *)((longlong)param_1 + 0x94) = *(int *)((longlong)param_1 + 0x94) + 1; + } + else { + sVar8 = *(short *)((longlong)param_1 + 0x94) - (short)param_1[0x13]; + lVar4 = param_1[0x11]; + *(short *)(param_1[0x2df] + (ulonglong)*(uint *)((longlong)param_1 + 0x16f4) * 2) = sVar8; + bVar5 = (char)lVar4 - 3; + uVar9 = sVar8 - 1; + *(byte *)((ulonglong)*(uint *)((longlong)param_1 + 0x16f4) + param_1[0x2dd]) = bVar5; + *(int *)((longlong)param_1 + 0x16f4) = *(int *)((longlong)param_1 + 0x16f4) + 1; + psVar3 = (short *)((longlong)param_1 + (ulonglong)(byte)(&DAT_1401230f0)[bVar5] * 4 + 0x4c0); + *psVar3 = *psVar3 + 1; + if (uVar9 < 0x100) { + bVar5 = (&DAT_140122ef0)[uVar9]; + } + else { + bVar5 = (&DAT_140122ff0)[uVar9 >> 7]; + } + psVar3 = (short *)((longlong)param_1 + (longlong)(int)(uint)bVar5 * 4 + 0x9b0); + *psVar3 = *psVar3 + 1; + bVar11 = *(int *)((longlong)param_1 + 0x16f4) == (int)param_1[0x2de] + -1; + uVar10 = *(uint *)(param_1 + 0x11); + *(int *)((longlong)param_1 + 0x9c) = *(int *)((longlong)param_1 + 0x9c) - uVar10; + if ((uVar10 <= *(uint *)(param_1 + 0x15)) && (2 < *(uint *)((longlong)param_1 + 0x9c))) { + *(uint *)(param_1 + 0x11) = uVar10 - 1; + do { + *(int *)((longlong)param_1 + 0x94) = *(int *)((longlong)param_1 + 0x94) + 1; + uVar10 = ((uint)*(byte *)((ulonglong)(*(uint *)((longlong)param_1 + 0x94) + 2) + + param_1[10]) ^ + (int)param_1[0xe] << ((byte)(int)param_1[0x10] & 0x1f)) & + *(uint *)((longlong)param_1 + 0x7c); + *(uint *)(param_1 + 0xe) = uVar10; + *(undefined2 *) + (param_1[0xc] + + (ulonglong)(*(uint *)((longlong)param_1 + 0x94) & *(uint *)((longlong)param_1 + 0x4c)) * + 2) = *(undefined2 *)(param_1[0xd] + (ulonglong)uVar10 * 2); + *(undefined2 *)(param_1[0xd] + (ulonglong)*(uint *)(param_1 + 0xe) * 2) = + *(undefined2 *)((longlong)param_1 + 0x94); + plVar1 = param_1 + 0x11; + *(int *)plVar1 = (int)*plVar1 + -1; + } while ((int)*plVar1 != 0); + goto LAB_1400bb14c; + } + *(int *)((longlong)param_1 + 0x94) = *(int *)((longlong)param_1 + 0x94) + uVar10; + *(undefined4 *)(param_1 + 0x11) = 0; + uVar10 = (uint)*(byte *)((ulonglong)*(uint *)((longlong)param_1 + 0x94) + param_1[10]); + *(uint *)(param_1 + 0xe) = uVar10; + *(uint *)(param_1 + 0xe) = + (uVar10 << ((byte)(int)param_1[0x10] & 0x1f) ^ + (uint)*(byte *)((ulonglong)(*(uint *)((longlong)param_1 + 0x94) + 1) + param_1[10])) & + *(uint *)((longlong)param_1 + 0x7c); + } + if (bVar11) { + uVar10 = *(uint *)((longlong)param_1 + 0x84); + puVar6 = puVar7; + if (-1 < (int)uVar10) { + puVar6 = (undefined1 *)((ulonglong)uVar10 + param_1[10]); + } + FUN_1400bee40(param_1,puVar6,*(int *)((longlong)param_1 + 0x94) - uVar10,0); + lVar4 = *param_1; + *(undefined4 *)((longlong)param_1 + 0x84) = *(undefined4 *)((longlong)param_1 + 0x94); + uVar10 = *(uint *)(*(longlong *)(lVar4 + 0x28) + 0x28); + if (*(uint *)(lVar4 + 0x18) < uVar10) { + uVar10 = *(uint *)(lVar4 + 0x18); + } + if (uVar10 != 0) { + memcpy(*(void **)(lVar4 + 0x10),*(void **)(*(longlong *)(lVar4 + 0x28) + 0x20), + (ulonglong)uVar10); + *(longlong *)(lVar4 + 0x10) = *(longlong *)(lVar4 + 0x10) + (ulonglong)uVar10; + plVar1 = (longlong *)(*(longlong *)(lVar4 + 0x28) + 0x20); + *plVar1 = *plVar1 + (ulonglong)uVar10; + *(int *)(lVar4 + 0x1c) = *(int *)(lVar4 + 0x1c) + uVar10; + *(int *)(lVar4 + 0x18) = *(int *)(lVar4 + 0x18) - uVar10; + piVar2 = (int *)(*(longlong *)(lVar4 + 0x28) + 0x28); + *piVar2 = *piVar2 - uVar10; + lVar4 = *(longlong *)(lVar4 + 0x28); + if (*(int *)(lVar4 + 0x28) == 0) { + *(undefined8 *)(lVar4 + 0x20) = *(undefined8 *)(lVar4 + 0x10); + } + } + if (*(int *)(*param_1 + 0x18) == 0) { + return 0; + } + } + } while( true ); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400bb290.c b/decomp/AgentManager_Release_x64/full/functions/0x1400bb290.c new file mode 100644 index 00000000..ad13b3b1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400bb290.c @@ -0,0 +1,208 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400bb290 FUN_1400bb290 + * Pseudocode, not original source. */ + +undefined4 FUN_1400bb290(longlong *param_1,int param_2) + +{ + longlong *plVar1; + int *piVar2; + short *psVar3; + int iVar4; + int iVar5; + int iVar6; + longlong lVar7; + byte bVar8; + undefined1 *puVar9; + undefined1 *puVar10; + short sVar11; + ushort uVar12; + uint uVar13; + uint uVar14; + + puVar10 = (undefined1 *)0x0; + do { + uVar13 = *(uint *)((longlong)param_1 + 0x9c); + uVar14 = 0; + if (uVar13 < 0x106) { + FUN_1400baa30(param_1); + uVar13 = *(uint *)((longlong)param_1 + 0x9c); + if ((uVar13 < 0x106) && (param_2 == 0)) { + return 0; + } + if (uVar13 == 0) { + if ((int)param_1[0x12] != 0) { + bVar8 = *(byte *)((ulonglong)(*(int *)((longlong)param_1 + 0x94) - 1) + param_1[10]); + *(undefined2 *)(param_1[0x2df] + (ulonglong)*(uint *)((longlong)param_1 + 0x16f4) * 2) = 0 + ; + *(byte *)((ulonglong)*(uint *)((longlong)param_1 + 0x16f4) + param_1[0x2dd]) = bVar8; + *(int *)((longlong)param_1 + 0x16f4) = *(int *)((longlong)param_1 + 0x16f4) + 1; + psVar3 = (short *)((longlong)param_1 + (ulonglong)bVar8 * 4 + 0xbc); + *psVar3 = *psVar3 + 1; + *(undefined4 *)(param_1 + 0x12) = 0; + } + uVar13 = *(uint *)((longlong)param_1 + 0x84); + if (-1 < (int)uVar13) { + puVar10 = (undefined1 *)((ulonglong)uVar13 + param_1[10]); + } + FUN_1400bee40(param_1,puVar10,*(int *)((longlong)param_1 + 0x94) - uVar13, + (uint)(param_2 == 4)); + *(undefined4 *)((longlong)param_1 + 0x84) = *(undefined4 *)((longlong)param_1 + 0x94); + FUN_1400ba680(*param_1); + if (*(int *)(*param_1 + 0x18) != 0) { + if (param_2 == 4) { + return 3; + } + return 1; + } + if (param_2 == 4) { + return 2; + } + return 0; + } + } + if (2 < uVar13) { + uVar13 = ((uint)*(byte *)((ulonglong)(*(uint *)((longlong)param_1 + 0x94) + 2) + param_1[10]) + ^ (int)param_1[0xe] << ((byte)(int)param_1[0x10] & 0x1f)) & + *(uint *)((longlong)param_1 + 0x7c); + *(uint *)(param_1 + 0xe) = uVar13; + *(undefined2 *) + (param_1[0xc] + + (ulonglong)(*(uint *)((longlong)param_1 + 0x94) & *(uint *)((longlong)param_1 + 0x4c)) * 2) = + *(undefined2 *)(param_1[0xd] + (ulonglong)uVar13 * 2); + uVar14 = (uint)*(ushort *) + (param_1[0xc] + + (ulonglong) + (*(uint *)((longlong)param_1 + 0x94) & *(uint *)((longlong)param_1 + 0x4c)) * + 2); + *(undefined2 *)(param_1[0xd] + (ulonglong)*(uint *)(param_1 + 0xe) * 2) = + *(undefined2 *)((longlong)param_1 + 0x94); + } + uVar13 = *(uint *)(param_1 + 0x11); + *(undefined4 *)(param_1 + 0x11) = 2; + *(uint *)(param_1 + 0x14) = uVar13; + *(int *)((longlong)param_1 + 0x8c) = (int)param_1[0x13]; + if (((uVar14 != 0) && (uVar13 < *(uint *)(param_1 + 0x15))) && + (*(int *)((longlong)param_1 + 0x94) - uVar14 <= *(int *)((longlong)param_1 + 0x44) - 0x106U)) + { + uVar13 = FUN_1400ba880((longlong)param_1,uVar14); + *(uint *)(param_1 + 0x11) = uVar13; + if ((uVar13 < 6) && + (((int)param_1[0x16] == 1 || + ((uVar13 == 3 && + (0x1000 < (uint)(*(int *)((longlong)param_1 + 0x94) - (int)param_1[0x13]))))))) { + *(undefined4 *)(param_1 + 0x11) = 2; + } + } + if ((*(uint *)(param_1 + 0x14) < 3) || (*(uint *)(param_1 + 0x14) < *(uint *)(param_1 + 0x11))) + { + if ((int)param_1[0x12] == 0) { + *(int *)((longlong)param_1 + 0x94) = *(int *)((longlong)param_1 + 0x94) + 1; + *(int *)((longlong)param_1 + 0x9c) = *(int *)((longlong)param_1 + 0x9c) + -1; + *(undefined4 *)(param_1 + 0x12) = 1; + } + else { + bVar8 = *(byte *)((ulonglong)(*(int *)((longlong)param_1 + 0x94) - 1) + param_1[10]); + *(undefined2 *)(param_1[0x2df] + (ulonglong)*(uint *)((longlong)param_1 + 0x16f4) * 2) = 0; + *(byte *)((ulonglong)*(uint *)((longlong)param_1 + 0x16f4) + param_1[0x2dd]) = bVar8; + *(int *)((longlong)param_1 + 0x16f4) = *(int *)((longlong)param_1 + 0x16f4) + 1; + psVar3 = (short *)((longlong)param_1 + (ulonglong)bVar8 * 4 + 0xbc); + *psVar3 = *psVar3 + 1; + if (*(int *)((longlong)param_1 + 0x16f4) == (int)param_1[0x2de] + -1) { + uVar13 = *(uint *)((longlong)param_1 + 0x84); + puVar9 = puVar10; + if (-1 < (int)uVar13) { + puVar9 = (undefined1 *)((ulonglong)uVar13 + param_1[10]); + } + FUN_1400bee40(param_1,puVar9,*(int *)((longlong)param_1 + 0x94) - uVar13,0); + lVar7 = *param_1; + *(undefined4 *)((longlong)param_1 + 0x84) = *(undefined4 *)((longlong)param_1 + 0x94); + uVar13 = *(uint *)(*(longlong *)(lVar7 + 0x28) + 0x28); + if (*(uint *)(lVar7 + 0x18) < uVar13) { + uVar13 = *(uint *)(lVar7 + 0x18); + } + if (uVar13 != 0) { + memcpy(*(void **)(lVar7 + 0x10),*(void **)(*(longlong *)(lVar7 + 0x28) + 0x20), + (ulonglong)uVar13); + *(longlong *)(lVar7 + 0x10) = *(longlong *)(lVar7 + 0x10) + (ulonglong)uVar13; + plVar1 = (longlong *)(*(longlong *)(lVar7 + 0x28) + 0x20); + *plVar1 = *plVar1 + (ulonglong)uVar13; + *(int *)(lVar7 + 0x1c) = *(int *)(lVar7 + 0x1c) + uVar13; + *(int *)(lVar7 + 0x18) = *(int *)(lVar7 + 0x18) - uVar13; + piVar2 = (int *)(*(longlong *)(lVar7 + 0x28) + 0x28); + *piVar2 = *piVar2 - uVar13; + lVar7 = *(longlong *)(lVar7 + 0x28); + if (*(int *)(lVar7 + 0x28) == 0) { + *(undefined8 *)(lVar7 + 0x20) = *(undefined8 *)(lVar7 + 0x10); + } + } + } + *(int *)((longlong)param_1 + 0x94) = *(int *)((longlong)param_1 + 0x94) + 1; + *(int *)((longlong)param_1 + 0x9c) = *(int *)((longlong)param_1 + 0x9c) + -1; + if (*(int *)(*param_1 + 0x18) == 0) { + return 0; + } + } + } + else { + iVar4 = *(int *)((longlong)param_1 + 0x94); + iVar5 = *(int *)((longlong)param_1 + 0x9c); + sVar11 = (short)iVar4 - *(short *)((longlong)param_1 + 0x8c); + bVar8 = (char)param_1[0x14] - 3; + *(short *)(param_1[0x2df] + (ulonglong)*(uint *)((longlong)param_1 + 0x16f4) * 2) = + sVar11 + -1; + *(byte *)((ulonglong)*(uint *)((longlong)param_1 + 0x16f4) + param_1[0x2dd]) = bVar8; + *(int *)((longlong)param_1 + 0x16f4) = *(int *)((longlong)param_1 + 0x16f4) + 1; + uVar12 = sVar11 - 2; + psVar3 = (short *)((longlong)param_1 + (ulonglong)(byte)(&DAT_1401230f0)[bVar8] * 4 + 0x4c0); + *psVar3 = *psVar3 + 1; + if (uVar12 < 0x100) { + bVar8 = (&DAT_140122ef0)[uVar12]; + } + else { + bVar8 = (&DAT_140122ff0)[uVar12 >> 7]; + } + psVar3 = (short *)((longlong)param_1 + (longlong)(int)(uint)bVar8 * 4 + 0x9b0); + *psVar3 = *psVar3 + 1; + lVar7 = param_1[0x2de]; + iVar6 = *(int *)((longlong)param_1 + 0x16f4); + *(int *)((longlong)param_1 + 0x9c) = + *(int *)((longlong)param_1 + 0x9c) + (1 - (int)param_1[0x14]); + *(int *)(param_1 + 0x14) = (int)param_1[0x14] + -2; + do { + *(int *)((longlong)param_1 + 0x94) = *(int *)((longlong)param_1 + 0x94) + 1; + uVar13 = *(uint *)((longlong)param_1 + 0x94); + if (uVar13 <= (uint)(iVar4 + -3 + iVar5)) { + uVar14 = ((uint)*(byte *)((ulonglong)(uVar13 + 2) + param_1[10]) ^ + (int)param_1[0xe] << ((byte)(int)param_1[0x10] & 0x1f)) & + *(uint *)((longlong)param_1 + 0x7c); + *(uint *)(param_1 + 0xe) = uVar14; + *(undefined2 *) + (param_1[0xc] + (ulonglong)(*(uint *)((longlong)param_1 + 0x4c) & uVar13) * 2) = + *(undefined2 *)(param_1[0xd] + (ulonglong)uVar14 * 2); + *(undefined2 *)(param_1[0xd] + (ulonglong)*(uint *)(param_1 + 0xe) * 2) = + *(undefined2 *)((longlong)param_1 + 0x94); + } + plVar1 = param_1 + 0x14; + *(int *)plVar1 = (int)*plVar1 + -1; + } while ((int)*plVar1 != 0); + *(int *)((longlong)param_1 + 0x94) = *(int *)((longlong)param_1 + 0x94) + 1; + *(undefined4 *)(param_1 + 0x12) = 0; + *(undefined4 *)(param_1 + 0x11) = 2; + if (iVar6 == (int)lVar7 + -1) { + uVar13 = *(uint *)((longlong)param_1 + 0x84); + puVar9 = puVar10; + if (-1 < (int)uVar13) { + puVar9 = (undefined1 *)((ulonglong)uVar13 + param_1[10]); + } + FUN_1400bee40(param_1,puVar9,*(int *)((longlong)param_1 + 0x94) - uVar13,0); + *(undefined4 *)((longlong)param_1 + 0x84) = *(undefined4 *)((longlong)param_1 + 0x94); + FUN_1400ba680(*param_1); + if (*(int *)(*param_1 + 0x18) == 0) { + return 0; + } + } + } + } while( true ); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400bb7e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400bb7e0.c new file mode 100644 index 00000000..0c211964 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400bb7e0.c @@ -0,0 +1,145 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400bb7e0 FUN_1400bb7e0 + * Pseudocode, not original source. */ + +undefined4 FUN_1400bb7e0(longlong *param_1,int param_2) + +{ + longlong *plVar1; + int *piVar2; + longlong lVar3; + short *psVar4; + char cVar5; + uint uVar6; + longlong lVar7; + ulonglong uVar8; + ulonglong uVar9; + ulonglong uVar10; + byte bVar11; + undefined1 *puVar12; + undefined1 *puVar13; + uint uVar14; + bool bVar15; + + puVar13 = (undefined1 *)0x0; + do { + uVar14 = *(uint *)((longlong)param_1 + 0x9c); + if (uVar14 < 0x102) { + FUN_1400baa30(param_1); + uVar14 = *(uint *)((longlong)param_1 + 0x9c); + if ((uVar14 < 0x102) && (param_2 == 0)) { + return 0; + } + if (uVar14 == 0) { + uVar14 = *(uint *)((longlong)param_1 + 0x84); + if (-1 < (int)uVar14) { + puVar13 = (undefined1 *)((ulonglong)uVar14 + param_1[10]); + } + FUN_1400bee40(param_1,puVar13,*(int *)((longlong)param_1 + 0x94) - uVar14, + (uint)(param_2 == 4)); + *(undefined4 *)((longlong)param_1 + 0x84) = *(undefined4 *)((longlong)param_1 + 0x94); + FUN_1400ba680(*param_1); + if (*(int *)(*param_1 + 0x18) != 0) { + if (param_2 == 4) { + return 3; + } + return 1; + } + if (param_2 == 4) { + return 2; + } + return 0; + } + } + *(undefined4 *)(param_1 + 0x11) = 0; + if (2 < uVar14) { + uVar6 = *(uint *)((longlong)param_1 + 0x94); + uVar8 = (ulonglong)uVar6; + if (uVar6 != 0) { + lVar7 = param_1[10]; + cVar5 = *(char *)(lVar7 + -1 + uVar8); + lVar3 = lVar7 + -1 + uVar8; + if (((cVar5 == *(char *)(lVar7 + uVar8)) && (cVar5 == *(char *)(lVar3 + 2))) && + (cVar5 == *(char *)(lVar3 + 3))) { + uVar8 = lVar7 + 0x102 + (ulonglong)uVar6; + uVar9 = lVar3 + 3; + while ((((uVar10 = uVar9 + 1, cVar5 == *(char *)(uVar9 + 1) && + (uVar10 = uVar9 + 2, cVar5 == *(char *)(uVar9 + 2))) && + ((uVar10 = uVar9 + 3, cVar5 == *(char *)(uVar9 + 3) && + ((uVar10 = uVar9 + 4, cVar5 == *(char *)(uVar9 + 4) && + (uVar10 = uVar9 + 5, cVar5 == *(char *)(uVar9 + 5))))))) && + (uVar10 = uVar9 + 6, cVar5 == *(char *)(uVar9 + 6)))) { + uVar10 = uVar9 + 7; + if (((cVar5 != *(char *)(uVar9 + 7)) || + (uVar10 = uVar9 + 8, cVar5 != *(char *)(uVar9 + 8))) || + (uVar9 = uVar10, uVar8 <= uVar10)) break; + } + uVar6 = ((int)uVar10 - (int)uVar8) + 0x102; + *(uint *)(param_1 + 0x11) = uVar6; + if (uVar14 < uVar6) { + *(uint *)(param_1 + 0x11) = uVar14; + } + } + } + } + if (*(uint *)(param_1 + 0x11) < 3) { + bVar11 = *(byte *)((ulonglong)*(uint *)((longlong)param_1 + 0x94) + param_1[10]); + *(undefined2 *)(param_1[0x2df] + (ulonglong)*(uint *)((longlong)param_1 + 0x16f4) * 2) = 0; + *(byte *)((ulonglong)*(uint *)((longlong)param_1 + 0x16f4) + param_1[0x2dd]) = bVar11; + *(int *)((longlong)param_1 + 0x16f4) = *(int *)((longlong)param_1 + 0x16f4) + 1; + psVar4 = (short *)((longlong)param_1 + (ulonglong)bVar11 * 4 + 0xbc); + *psVar4 = *psVar4 + 1; + bVar15 = *(int *)((longlong)param_1 + 0x16f4) == (int)param_1[0x2de] + -1; + *(int *)((longlong)param_1 + 0x9c) = *(int *)((longlong)param_1 + 0x9c) + -1; + *(int *)((longlong)param_1 + 0x94) = *(int *)((longlong)param_1 + 0x94) + 1; + } + else { + lVar3 = param_1[0x11]; + *(undefined2 *)(param_1[0x2df] + (ulonglong)*(uint *)((longlong)param_1 + 0x16f4) * 2) = 1; + bVar11 = (char)lVar3 - 3; + *(byte *)((ulonglong)*(uint *)((longlong)param_1 + 0x16f4) + param_1[0x2dd]) = bVar11; + *(int *)((longlong)param_1 + 0x16f4) = *(int *)((longlong)param_1 + 0x16f4) + 1; + psVar4 = (short *)((longlong)param_1 + (ulonglong)(byte)(&DAT_1401230f0)[bVar11] * 4 + 0x4c0); + *psVar4 = *psVar4 + 1; + *(short *)(param_1 + 0x136) = (short)param_1[0x136] + 1; + bVar15 = *(int *)((longlong)param_1 + 0x16f4) == (int)param_1[0x2de] + -1; + lVar3 = param_1[0x11]; + *(undefined4 *)(param_1 + 0x11) = 0; + *(int *)((longlong)param_1 + 0x9c) = *(int *)((longlong)param_1 + 0x9c) - (int)lVar3; + *(int *)((longlong)param_1 + 0x94) = *(int *)((longlong)param_1 + 0x94) + (int)lVar3; + } + if (bVar15) { + uVar14 = *(uint *)((longlong)param_1 + 0x84); + puVar12 = puVar13; + if (-1 < (int)uVar14) { + puVar12 = (undefined1 *)((ulonglong)uVar14 + param_1[10]); + } + FUN_1400bee40(param_1,puVar12,*(int *)((longlong)param_1 + 0x94) - uVar14,0); + lVar3 = *param_1; + *(undefined4 *)((longlong)param_1 + 0x84) = *(undefined4 *)((longlong)param_1 + 0x94); + uVar14 = *(uint *)(*(longlong *)(lVar3 + 0x28) + 0x28); + if (*(uint *)(lVar3 + 0x18) < uVar14) { + uVar14 = *(uint *)(lVar3 + 0x18); + } + if (uVar14 != 0) { + memcpy(*(void **)(lVar3 + 0x10),*(void **)(*(longlong *)(lVar3 + 0x28) + 0x20), + (ulonglong)uVar14); + *(longlong *)(lVar3 + 0x10) = *(longlong *)(lVar3 + 0x10) + (ulonglong)uVar14; + plVar1 = (longlong *)(*(longlong *)(lVar3 + 0x28) + 0x20); + *plVar1 = *plVar1 + (ulonglong)uVar14; + *(int *)(lVar3 + 0x1c) = *(int *)(lVar3 + 0x1c) + uVar14; + *(int *)(lVar3 + 0x18) = *(int *)(lVar3 + 0x18) - uVar14; + piVar2 = (int *)(*(longlong *)(lVar3 + 0x28) + 0x28); + *piVar2 = *piVar2 - uVar14; + lVar3 = *(longlong *)(lVar3 + 0x28); + if (*(int *)(lVar3 + 0x28) == 0) { + *(undefined8 *)(lVar3 + 0x20) = *(undefined8 *)(lVar3 + 0x10); + } + } + if (*(int *)(*param_1 + 0x18) == 0) { + return 0; + } + } + } while( true ); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400bbb60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400bbb60.c new file mode 100644 index 00000000..f527aa3b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400bbb60.c @@ -0,0 +1,83 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400bbb60 FUN_1400bbb60 + * Pseudocode, not original source. */ + +undefined8 FUN_1400bbb60(longlong *param_1,int param_2) + +{ + longlong *plVar1; + int *piVar2; + short *psVar3; + byte bVar4; + longlong lVar5; + undefined1 *puVar6; + undefined1 *puVar7; + uint uVar8; + + puVar7 = (undefined1 *)0x0; + while ((*(int *)((longlong)param_1 + 0x9c) != 0 || + (FUN_1400baa30(param_1), *(int *)((longlong)param_1 + 0x9c) != 0))) { + *(undefined4 *)(param_1 + 0x11) = 0; + bVar4 = *(byte *)((ulonglong)*(uint *)((longlong)param_1 + 0x94) + param_1[10]); + *(undefined2 *)(param_1[0x2df] + (ulonglong)*(uint *)((longlong)param_1 + 0x16f4) * 2) = 0; + *(byte *)((ulonglong)*(uint *)((longlong)param_1 + 0x16f4) + param_1[0x2dd]) = bVar4; + *(int *)((longlong)param_1 + 0x16f4) = *(int *)((longlong)param_1 + 0x16f4) + 1; + psVar3 = (short *)((longlong)param_1 + (ulonglong)bVar4 * 4 + 0xbc); + *psVar3 = *psVar3 + 1; + *(int *)((longlong)param_1 + 0x94) = *(int *)((longlong)param_1 + 0x94) + 1; + *(int *)((longlong)param_1 + 0x9c) = *(int *)((longlong)param_1 + 0x9c) + -1; + if (*(int *)((longlong)param_1 + 0x16f4) == (int)param_1[0x2de] + -1) { + uVar8 = *(uint *)((longlong)param_1 + 0x84); + puVar6 = puVar7; + if (-1 < (int)uVar8) { + puVar6 = (undefined1 *)((ulonglong)uVar8 + param_1[10]); + } + FUN_1400bee40(param_1,puVar6,*(int *)((longlong)param_1 + 0x94) - uVar8,0); + lVar5 = *param_1; + *(undefined4 *)((longlong)param_1 + 0x84) = *(undefined4 *)((longlong)param_1 + 0x94); + uVar8 = *(uint *)(*(longlong *)(lVar5 + 0x28) + 0x28); + if (*(uint *)(lVar5 + 0x18) < uVar8) { + uVar8 = *(uint *)(lVar5 + 0x18); + } + if (uVar8 != 0) { + memcpy(*(void **)(lVar5 + 0x10),*(void **)(*(longlong *)(lVar5 + 0x28) + 0x20), + (ulonglong)uVar8); + *(longlong *)(lVar5 + 0x10) = *(longlong *)(lVar5 + 0x10) + (ulonglong)uVar8; + plVar1 = (longlong *)(*(longlong *)(lVar5 + 0x28) + 0x20); + *plVar1 = *plVar1 + (ulonglong)uVar8; + *(int *)(lVar5 + 0x1c) = *(int *)(lVar5 + 0x1c) + uVar8; + *(int *)(lVar5 + 0x18) = *(int *)(lVar5 + 0x18) - uVar8; + piVar2 = (int *)(*(longlong *)(lVar5 + 0x28) + 0x28); + *piVar2 = *piVar2 - uVar8; + lVar5 = *(longlong *)(lVar5 + 0x28); + if (*(int *)(lVar5 + 0x28) == 0) { + *(undefined8 *)(lVar5 + 0x20) = *(undefined8 *)(lVar5 + 0x10); + } + } + if (*(int *)(*param_1 + 0x18) == 0) { + return 0; + } + } + } + if (param_2 == 0) { + return 0; + } + uVar8 = *(uint *)((longlong)param_1 + 0x84); + if (-1 < (int)uVar8) { + puVar7 = (undefined1 *)((ulonglong)uVar8 + param_1[10]); + } + FUN_1400bee40(param_1,puVar7,*(int *)((longlong)param_1 + 0x94) - uVar8,(uint)(param_2 == 4)); + *(undefined4 *)((longlong)param_1 + 0x84) = *(undefined4 *)((longlong)param_1 + 0x94); + FUN_1400ba680(*param_1); + if (*(int *)(*param_1 + 0x18) != 0) { + if (param_2 == 4) { + return 3; + } + return 1; + } + if (param_2 == 4) { + return 2; + } + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400bbd40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400bbd40.c new file mode 100644 index 00000000..81b1ac74 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400bbd40.c @@ -0,0 +1,58 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400bbd40 FUN_1400bbd40 + * Pseudocode, not original source. */ + +undefined8 FUN_1400bbd40(longlong param_1) + +{ + ushort uVar1; + longlong lVar2; + undefined4 uVar3; + uint uVar4; + longlong lVar5; + + if ((((param_1 != 0) && (lVar2 = *(longlong *)(param_1 + 0x28), lVar2 != 0)) && + (*(longlong *)(param_1 + 0x30) != 0)) && (*(longlong *)(param_1 + 0x38) != 0)) { + *(undefined4 *)(param_1 + 0x48) = 2; + *(undefined4 *)(param_1 + 0x1c) = 0; + *(undefined4 *)(param_1 + 0xc) = 0; + *(undefined8 *)(param_1 + 0x20) = 0; + *(undefined4 *)(lVar2 + 0x28) = 0; + *(undefined8 *)(lVar2 + 0x20) = *(undefined8 *)(lVar2 + 0x10); + if (*(int *)(lVar2 + 0x2c) < 0) { + *(int *)(lVar2 + 0x2c) = -*(int *)(lVar2 + 0x2c); + } + uVar3 = 0x71; + if (*(int *)(lVar2 + 0x2c) != 0) { + uVar3 = 0x2a; + } + *(undefined4 *)(lVar2 + 8) = uVar3; + if (*(int *)(lVar2 + 0x2c) == 2) { + uVar4 = FUN_140099230(0,(uint *)0x0,0); + } + else { + uVar4 = 1; + } + *(uint *)(param_1 + 0x4c) = uVar4; + *(undefined4 *)(lVar2 + 0x40) = 0; + FUN_1400be780(lVar2); + *(int *)(lVar2 + 0x58) = *(int *)(lVar2 + 0x44) * 2; + *(undefined2 *)(*(longlong *)(lVar2 + 0x68) + (ulonglong)(*(int *)(lVar2 + 0x74) - 1) * 2) = 0; + memset(*(void **)(lVar2 + 0x68),0,(ulonglong)(*(int *)(lVar2 + 0x74) - 1) * 2); + lVar5 = (longlong)*(int *)(lVar2 + 0xac); + *(uint *)(lVar2 + 0xa8) = (uint)*(ushort *)(&DAT_140121e52 + lVar5 * 0x10); + *(uint *)(lVar2 + 0xb4) = (uint)*(ushort *)(&DAT_140121e50 + lVar5 * 0x10); + *(uint *)(lVar2 + 0xb8) = (uint)*(ushort *)(&DAT_140121e54 + lVar5 * 0x10); + uVar1 = *(ushort *)(&DAT_140121e56 + lVar5 * 0x10); + *(undefined4 *)(lVar2 + 0x84) = 0; + *(undefined4 *)(lVar2 + 0x9c) = 0; + *(undefined8 *)(lVar2 + 0x90) = 0; + *(undefined4 *)(lVar2 + 0x70) = 0; + *(uint *)(lVar2 + 0xa4) = (uint)uVar1; + *(undefined4 *)(lVar2 + 0xa0) = 2; + *(undefined4 *)(lVar2 + 0x88) = 2; + return 0; + } + return 0xfffffffe; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400bbeb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400bbeb0.c new file mode 100644 index 00000000..a7d6058f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400bbeb0.c @@ -0,0 +1,395 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400bbeb0 FUN_1400bbeb0 + * Pseudocode, not original source. */ + +uint FUN_1400bbeb0(longlong *param_1,uint param_2) + +{ + char cVar1; + undefined2 uVar2; + int iVar3; + longlong *plVar4; + int *piVar5; + bool bVar6; + longlong lVar7; + uint uVar8; + int iVar9; + undefined8 uVar10; + uint uVar11; + undefined1 uVar12; + ulonglong uVar13; + ulonglong uVar14; + + if (((param_1 == (longlong *)0x0) || (plVar4 = (longlong *)param_1[5], plVar4 == (longlong *)0x0)) + || (5 < param_2)) { + return 0xfffffffe; + } + if (((param_1[2] == 0) || ((*param_1 == 0 && ((int)param_1[1] != 0)))) || + (((int)plVar4[1] == 0x29a && (param_2 != 4)))) { + param_1[4] = (longlong)"stream error"; + return 0xfffffffe; + } + if ((int)param_1[3] == 0) { + param_1[4] = (longlong)"buffer error"; + return 0xfffffffb; + } + lVar7 = plVar4[8]; + *(uint *)(plVar4 + 8) = param_2; + *plVar4 = (longlong)param_1; + iVar9 = 0; + if ((int)plVar4[1] == 0x2a) { + if (*(int *)((longlong)plVar4 + 0x2c) == 2) { + uVar8 = FUN_140099230(0,(uint *)0x0,0); + *(uint *)((longlong)param_1 + 0x4c) = uVar8; + *(undefined1 *)((ulonglong)*(uint *)(plVar4 + 5) + plVar4[2]) = 0x1f; + *(int *)(plVar4 + 5) = (int)plVar4[5] + 1; + *(undefined1 *)((ulonglong)*(uint *)(plVar4 + 5) + plVar4[2]) = 0x8b; + *(int *)(plVar4 + 5) = (int)plVar4[5] + 1; + *(undefined1 *)((ulonglong)*(uint *)(plVar4 + 5) + plVar4[2]) = 8; + *(int *)(plVar4 + 5) = (int)plVar4[5] + 1; + piVar5 = (int *)plVar4[6]; + uVar12 = 0; + if (piVar5 == (int *)0x0) { + *(undefined1 *)((ulonglong)*(uint *)(plVar4 + 5) + plVar4[2]) = 0; + *(int *)(plVar4 + 5) = (int)plVar4[5] + 1; + *(undefined1 *)((ulonglong)*(uint *)(plVar4 + 5) + plVar4[2]) = 0; + *(int *)(plVar4 + 5) = (int)plVar4[5] + 1; + *(undefined1 *)((ulonglong)*(uint *)(plVar4 + 5) + plVar4[2]) = 0; + *(int *)(plVar4 + 5) = (int)plVar4[5] + 1; + *(undefined1 *)((ulonglong)*(uint *)(plVar4 + 5) + plVar4[2]) = 0; + *(int *)(plVar4 + 5) = (int)plVar4[5] + 1; + *(undefined1 *)((ulonglong)*(uint *)(plVar4 + 5) + plVar4[2]) = 0; + *(int *)(plVar4 + 5) = (int)plVar4[5] + 1; + if (*(int *)((longlong)plVar4 + 0xac) == 9) { + uVar12 = 2; + } + else if ((1 < (int)plVar4[0x16]) || (*(int *)((longlong)plVar4 + 0xac) < 2)) { + uVar12 = 4; + } + *(undefined1 *)((ulonglong)*(uint *)(plVar4 + 5) + plVar4[2]) = uVar12; + *(int *)(plVar4 + 5) = (int)plVar4[5] + 1; + *(undefined1 *)((ulonglong)*(uint *)(plVar4 + 5) + plVar4[2]) = 0xb; + *(int *)(plVar4 + 5) = (int)plVar4[5] + 1; + *(undefined4 *)(plVar4 + 1) = 0x71; + } + else { + *(byte *)((ulonglong)*(uint *)(plVar4 + 5) + plVar4[2]) = + (-(*(longlong *)(piVar5 + 0xc) != 0) & 0x10U) + (-(piVar5[0xf] != 0) & 2U) + + (-(*(longlong *)(piVar5 + 8) != 0) & 8U) + (-(*(longlong *)(piVar5 + 4) != 0) & 4U) + + (*piVar5 != 0); + *(int *)(plVar4 + 5) = (int)plVar4[5] + 1; + *(undefined1 *)((ulonglong)*(uint *)(plVar4 + 5) + plVar4[2]) = + *(undefined1 *)(plVar4[6] + 4); + *(int *)(plVar4 + 5) = (int)plVar4[5] + 1; + *(undefined1 *)((ulonglong)*(uint *)(plVar4 + 5) + plVar4[2]) = + *(undefined1 *)(plVar4[6] + 5); + *(int *)(plVar4 + 5) = (int)plVar4[5] + 1; + *(undefined1 *)((ulonglong)*(uint *)(plVar4 + 5) + plVar4[2]) = + *(undefined1 *)(plVar4[6] + 6); + *(int *)(plVar4 + 5) = (int)plVar4[5] + 1; + *(undefined1 *)((ulonglong)*(uint *)(plVar4 + 5) + plVar4[2]) = + *(undefined1 *)(plVar4[6] + 7); + *(int *)(plVar4 + 5) = (int)plVar4[5] + 1; + if (*(int *)((longlong)plVar4 + 0xac) == 9) { + uVar12 = 2; + } + else if ((1 < (int)plVar4[0x16]) || (*(int *)((longlong)plVar4 + 0xac) < 2)) { + uVar12 = 4; + } + *(undefined1 *)((ulonglong)*(uint *)(plVar4 + 5) + plVar4[2]) = uVar12; + *(int *)(plVar4 + 5) = (int)plVar4[5] + 1; + *(undefined1 *)((ulonglong)*(uint *)(plVar4 + 5) + plVar4[2]) = + *(undefined1 *)(plVar4[6] + 0xc); + *(int *)(plVar4 + 5) = (int)plVar4[5] + 1; + uVar8 = *(uint *)(plVar4 + 5); + if (*(longlong *)(plVar4[6] + 0x10) != 0) { + *(undefined1 *)((ulonglong)uVar8 + plVar4[2]) = *(undefined1 *)(plVar4[6] + 0x18); + *(int *)(plVar4 + 5) = (int)plVar4[5] + 1; + *(undefined1 *)((ulonglong)*(uint *)(plVar4 + 5) + plVar4[2]) = + *(undefined1 *)(plVar4[6] + 0x19); + *(int *)(plVar4 + 5) = (int)plVar4[5] + 1; + uVar8 = *(uint *)(plVar4 + 5); + } + if (*(int *)(plVar4[6] + 0x3c) != 0) { + uVar8 = FUN_140099230(*(uint *)((longlong)param_1 + 0x4c),(uint *)plVar4[2],uVar8); + *(uint *)((longlong)param_1 + 0x4c) = uVar8; + } + *(undefined4 *)(plVar4 + 7) = 0; + *(undefined4 *)(plVar4 + 1) = 0x45; + } + } + else { + if (((int)plVar4[0x16] < 2) && (iVar3 = *(int *)((longlong)plVar4 + 0xac), 1 < iVar3)) { + if (iVar3 < 6) { + iVar9 = 1; + } + else { + iVar9 = (iVar3 != 6) + 2; + } + } + uVar8 = ((int)plVar4[9] + -8) * 0x1000 + 0x800U | iVar9 << 6; + if (*(int *)((longlong)plVar4 + 0x94) != 0) { + uVar8 = uVar8 | 0x20; + } + *(undefined4 *)(plVar4 + 1) = 0x71; + iVar9 = (uVar8 / 0x1f + 1) * 0x1f; + *(char *)((ulonglong)*(uint *)(plVar4 + 5) + plVar4[2]) = (char)((uint)iVar9 >> 8); + *(int *)(plVar4 + 5) = (int)plVar4[5] + 1; + *(char *)((ulonglong)*(uint *)(plVar4 + 5) + plVar4[2]) = (char)iVar9; + *(int *)(plVar4 + 5) = (int)plVar4[5] + 1; + if (*(int *)((longlong)plVar4 + 0x94) != 0) { + uVar2 = *(undefined2 *)((longlong)param_1 + 0x4e); + *(char *)((ulonglong)*(uint *)(plVar4 + 5) + plVar4[2]) = (char)((ushort)uVar2 >> 8); + *(int *)(plVar4 + 5) = (int)plVar4[5] + 1; + *(char *)((ulonglong)*(uint *)(plVar4 + 5) + plVar4[2]) = (char)uVar2; + *(int *)(plVar4 + 5) = (int)plVar4[5] + 1; + uVar2 = *(undefined2 *)((longlong)param_1 + 0x4c); + *(char *)((ulonglong)*(uint *)(plVar4 + 5) + plVar4[2]) = (char)((ushort)uVar2 >> 8); + *(int *)(plVar4 + 5) = (int)plVar4[5] + 1; + *(char *)((ulonglong)*(uint *)(plVar4 + 5) + plVar4[2]) = (char)uVar2; + *(int *)(plVar4 + 5) = (int)plVar4[5] + 1; + } + *(undefined4 *)((longlong)param_1 + 0x4c) = 1; + } + } + if ((int)plVar4[1] == 0x45) { + if (*(longlong *)(plVar4[6] + 0x10) != 0) { + uVar8 = *(uint *)(plVar4 + 5); + if (*(uint *)(plVar4 + 7) < (uint)*(ushort *)(plVar4[6] + 0x18)) { + do { + uVar11 = *(uint *)(plVar4 + 5); + if (uVar11 == *(uint *)(plVar4 + 3)) { + if ((*(int *)(plVar4[6] + 0x3c) != 0) && (uVar8 < uVar11)) { + uVar8 = FUN_140099230(*(uint *)((longlong)param_1 + 0x4c), + (uint *)((ulonglong)uVar8 + plVar4[2]),uVar11 - uVar8); + *(uint *)((longlong)param_1 + 0x4c) = uVar8; + } + FUN_1400ba680((longlong)param_1); + uVar8 = *(uint *)(plVar4 + 5); + uVar11 = uVar8; + if (uVar8 == *(uint *)(plVar4 + 3)) break; + } + *(undefined1 *)((ulonglong)uVar11 + plVar4[2]) = + *(undefined1 *)((ulonglong)*(uint *)(plVar4 + 7) + *(longlong *)(plVar4[6] + 0x10)); + *(int *)(plVar4 + 5) = (int)plVar4[5] + 1; + *(int *)(plVar4 + 7) = (int)plVar4[7] + 1; + } while (*(uint *)(plVar4 + 7) < (uint)*(ushort *)(plVar4[6] + 0x18)); + } + if ((*(int *)(plVar4[6] + 0x3c) != 0) && (uVar8 < *(uint *)(plVar4 + 5))) { + uVar8 = FUN_140099230(*(uint *)((longlong)param_1 + 0x4c), + (uint *)((ulonglong)uVar8 + plVar4[2]),*(uint *)(plVar4 + 5) - uVar8); + *(uint *)((longlong)param_1 + 0x4c) = uVar8; + } + if ((int)plVar4[7] != *(int *)(plVar4[6] + 0x18)) goto LAB_1400bc340; + *(undefined4 *)(plVar4 + 7) = 0; + } + *(undefined4 *)(plVar4 + 1) = 0x49; + } +LAB_1400bc340: + if ((int)plVar4[1] == 0x49) { + if (*(longlong *)(plVar4[6] + 0x20) != 0) { + uVar13 = (ulonglong)*(uint *)(plVar4 + 5); + do { + uVar8 = *(uint *)(plVar4 + 5); + uVar14 = (ulonglong)uVar8; + if (uVar8 == *(uint *)(plVar4 + 3)) { + if ((*(int *)(plVar4[6] + 0x3c) != 0) && ((uint)uVar13 < uVar8)) { + uVar8 = FUN_140099230(*(uint *)((longlong)param_1 + 0x4c),(uint *)(uVar13 + plVar4[2]), + uVar8 - (uint)uVar13); + *(uint *)((longlong)param_1 + 0x4c) = uVar8; + } + FUN_1400ba680((longlong)param_1); + uVar13 = (ulonglong)*(uint *)(plVar4 + 5); + uVar14 = uVar13; + if (*(uint *)(plVar4 + 5) == *(uint *)(plVar4 + 3)) { + bVar6 = true; + goto LAB_1400bc3d0; + } + } + cVar1 = *(char *)(*(longlong *)(plVar4[6] + 0x20) + (ulonglong)*(uint *)(plVar4 + 7)); + *(uint *)(plVar4 + 7) = *(uint *)(plVar4 + 7) + 1; + *(char *)(uVar14 + plVar4[2]) = cVar1; + *(int *)(plVar4 + 5) = (int)plVar4[5] + 1; + } while (cVar1 != '\0'); + bVar6 = false; +LAB_1400bc3d0: + if (*(int *)(plVar4[6] + 0x3c) != 0) { + if ((uint)uVar13 < *(uint *)(plVar4 + 5)) { + uVar8 = FUN_140099230(*(uint *)((longlong)param_1 + 0x4c),(uint *)(uVar13 + plVar4[2]), + *(uint *)(plVar4 + 5) - (uint)uVar13); + *(uint *)((longlong)param_1 + 0x4c) = uVar8; + } + } + if (bVar6) goto LAB_1400bc404; + *(undefined4 *)(plVar4 + 7) = 0; + } + *(undefined4 *)(plVar4 + 1) = 0x5b; + } +LAB_1400bc404: + if ((int)plVar4[1] == 0x5b) { + if (*(longlong *)(plVar4[6] + 0x30) != 0) { + uVar13 = (ulonglong)*(uint *)(plVar4 + 5); + do { + uVar8 = *(uint *)(plVar4 + 5); + uVar14 = (ulonglong)uVar8; + if (uVar8 == *(uint *)(plVar4 + 3)) { + if ((*(int *)(plVar4[6] + 0x3c) != 0) && ((uint)uVar13 < uVar8)) { + uVar8 = FUN_140099230(*(uint *)((longlong)param_1 + 0x4c),(uint *)(uVar13 + plVar4[2]), + uVar8 - (uint)uVar13); + *(uint *)((longlong)param_1 + 0x4c) = uVar8; + } + FUN_1400ba680((longlong)param_1); + uVar13 = (ulonglong)*(uint *)(plVar4 + 5); + uVar14 = uVar13; + if (*(uint *)(plVar4 + 5) == *(uint *)(plVar4 + 3)) { + bVar6 = true; + goto LAB_1400bc490; + } + } + cVar1 = *(char *)(*(longlong *)(plVar4[6] + 0x30) + (ulonglong)*(uint *)(plVar4 + 7)); + *(uint *)(plVar4 + 7) = *(uint *)(plVar4 + 7) + 1; + *(char *)(uVar14 + plVar4[2]) = cVar1; + *(int *)(plVar4 + 5) = (int)plVar4[5] + 1; + } while (cVar1 != '\0'); + bVar6 = false; +LAB_1400bc490: + if (*(int *)(plVar4[6] + 0x3c) != 0) { + if ((uint)uVar13 < *(uint *)(plVar4 + 5)) { + uVar8 = FUN_140099230(*(uint *)((longlong)param_1 + 0x4c),(uint *)(uVar13 + plVar4[2]), + *(uint *)(plVar4 + 5) - (uint)uVar13); + *(uint *)((longlong)param_1 + 0x4c) = uVar8; + } + } + if (bVar6) goto LAB_1400bc4c0; + } + *(undefined4 *)(plVar4 + 1) = 0x67; + } +LAB_1400bc4c0: + if ((int)plVar4[1] == 0x67) { + if (*(int *)(plVar4[6] + 0x3c) != 0) { + if (*(uint *)(plVar4 + 3) < (int)plVar4[5] + 2U) { + FUN_1400ba680((longlong)param_1); + } + if (*(uint *)(plVar4 + 3) < *(uint *)(plVar4 + 5) + 2) goto LAB_1400bc52a; + *(undefined1 *)((ulonglong)*(uint *)(plVar4 + 5) + plVar4[2]) = + *(undefined1 *)((longlong)param_1 + 0x4c); + *(int *)(plVar4 + 5) = (int)plVar4[5] + 1; + *(undefined1 *)((ulonglong)*(uint *)(plVar4 + 5) + plVar4[2]) = + *(undefined1 *)((longlong)param_1 + 0x4d); + *(int *)(plVar4 + 5) = (int)plVar4[5] + 1; + uVar8 = FUN_140099230(0,(uint *)0x0,0); + *(uint *)((longlong)param_1 + 0x4c) = uVar8; + } + *(undefined4 *)(plVar4 + 1) = 0x71; + } +LAB_1400bc52a: + if ((int)plVar4[5] == 0) { + if ((((int)param_1[1] == 0) && ((int)param_2 <= (int)lVar7)) && (param_2 != 4)) + goto LAB_1400bc579; +LAB_1400bc569: + if ((int)plVar4[1] == 0x29a) { + if ((int)param_1[1] != 0) { +LAB_1400bc579: + param_1[4] = (longlong)"buffer error"; + return 0xfffffffb; + } +LAB_1400bc591: + if ((*(int *)((longlong)plVar4 + 0x9c) != 0) || ((param_2 != 0 && ((int)plVar4[1] != 0x29a)))) + goto LAB_1400bc5ad; + } + else { + if ((int)param_1[1] == 0) goto LAB_1400bc591; +LAB_1400bc5ad: + if ((int)plVar4[0x16] == 2) { + uVar10 = FUN_1400bbb60(plVar4,param_2); + iVar9 = (int)uVar10; + } + else if ((int)plVar4[0x16] == 3) { + iVar9 = FUN_1400bb7e0(plVar4,param_2); + } + else { + iVar9 = (*(code *)(&PTR_FUN_140121e58)[(longlong)*(int *)((longlong)plVar4 + 0xac) * 2])(); + } + if ((iVar9 == 2) || (iVar9 == 3)) { + *(undefined4 *)(plVar4 + 1) = 0x29a; + } + if ((iVar9 == 0) || (iVar9 == 2)) { + if ((int)param_1[3] != 0) { + return 0; + } + goto LAB_1400bc53e; + } + if (iVar9 == 1) { + if (param_2 == 1) { + FUN_1400bec20((longlong)plVar4); + } + else if ((param_2 != 5) && + (FUN_1400beb80((longlong)plVar4,(undefined1 *)0x0,0,0), param_2 == 3)) { + *(undefined2 *)(plVar4[0xd] + (ulonglong)(*(int *)((longlong)plVar4 + 0x74) - 1) * 2) = 0; + memset((void *)plVar4[0xd],0,(ulonglong)(*(int *)((longlong)plVar4 + 0x74) - 1) * 2); + if (*(int *)((longlong)plVar4 + 0x9c) == 0) { + *(undefined4 *)((longlong)plVar4 + 0x94) = 0; + *(undefined4 *)((longlong)plVar4 + 0x84) = 0; + } + } + FUN_1400ba680((longlong)param_1); + if ((int)param_1[3] == 0) goto LAB_1400bc53e; + } + } + if (param_2 == 4) { + if (0 < *(int *)((longlong)plVar4 + 0x2c)) { + if (*(int *)((longlong)plVar4 + 0x2c) == 2) { + *(undefined1 *)((ulonglong)*(uint *)(plVar4 + 5) + plVar4[2]) = + *(undefined1 *)((longlong)param_1 + 0x4c); + *(int *)(plVar4 + 5) = (int)plVar4[5] + 1; + *(undefined1 *)((ulonglong)*(uint *)(plVar4 + 5) + plVar4[2]) = + *(undefined1 *)((longlong)param_1 + 0x4d); + *(int *)(plVar4 + 5) = (int)plVar4[5] + 1; + *(undefined1 *)((ulonglong)*(uint *)(plVar4 + 5) + plVar4[2]) = + *(undefined1 *)((longlong)param_1 + 0x4e); + *(int *)(plVar4 + 5) = (int)plVar4[5] + 1; + *(undefined1 *)((ulonglong)*(uint *)(plVar4 + 5) + plVar4[2]) = + *(undefined1 *)((longlong)param_1 + 0x4f); + *(int *)(plVar4 + 5) = (int)plVar4[5] + 1; + *(undefined1 *)((ulonglong)*(uint *)(plVar4 + 5) + plVar4[2]) = + *(undefined1 *)((longlong)param_1 + 0xc); + *(int *)(plVar4 + 5) = (int)plVar4[5] + 1; + *(undefined1 *)((ulonglong)*(uint *)(plVar4 + 5) + plVar4[2]) = + *(undefined1 *)((longlong)param_1 + 0xd); + *(int *)(plVar4 + 5) = (int)plVar4[5] + 1; + *(undefined1 *)((ulonglong)*(uint *)(plVar4 + 5) + plVar4[2]) = + *(undefined1 *)((longlong)param_1 + 0xe); + *(int *)(plVar4 + 5) = (int)plVar4[5] + 1; + *(undefined1 *)((ulonglong)*(uint *)(plVar4 + 5) + plVar4[2]) = + *(undefined1 *)((longlong)param_1 + 0xf); + } + else { + uVar2 = *(undefined2 *)((longlong)param_1 + 0x4e); + *(char *)((ulonglong)*(uint *)(plVar4 + 5) + plVar4[2]) = (char)((ushort)uVar2 >> 8); + *(int *)(plVar4 + 5) = (int)plVar4[5] + 1; + *(char *)((ulonglong)*(uint *)(plVar4 + 5) + plVar4[2]) = (char)uVar2; + *(int *)(plVar4 + 5) = (int)plVar4[5] + 1; + uVar2 = *(undefined2 *)((longlong)param_1 + 0x4c); + *(char *)((ulonglong)*(uint *)(plVar4 + 5) + plVar4[2]) = (char)((ushort)uVar2 >> 8); + *(int *)(plVar4 + 5) = (int)plVar4[5] + 1; + *(char *)((ulonglong)*(uint *)(plVar4 + 5) + plVar4[2]) = (char)uVar2; + } + *(int *)(plVar4 + 5) = (int)plVar4[5] + 1; + FUN_1400ba680((longlong)param_1); + if (0 < *(int *)((longlong)plVar4 + 0x2c)) { + *(int *)((longlong)plVar4 + 0x2c) = -*(int *)((longlong)plVar4 + 0x2c); + } + return (uint)((int)plVar4[5] == 0); + } + return 1; + } + } + else { + FUN_1400ba680((longlong)param_1); + if ((int)param_1[3] != 0) goto LAB_1400bc569; +LAB_1400bc53e: + *(undefined4 *)(plVar4 + 8) = 0xffffffff; + } + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400bc7d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400bc7d0.c new file mode 100644 index 00000000..a06604ce --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400bc7d0.c @@ -0,0 +1,104 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400bc7d0 FUN_1400bc7d0 + * Pseudocode, not original source. */ + +undefined8 +FUN_1400bc7d0(longlong param_1,uint param_2,int param_3,int param_4,int param_5,uint param_6, + char *param_7,int param_8) + +{ + uint uVar1; + int iVar2; + code *pcVar3; + longlong *plVar4; + longlong lVar5; + undefined8 uVar6; + int iVar7; + undefined4 uVar8; + + uVar8 = 1; + if (((param_7 == (char *)0x0) || (*param_7 != '1')) || (param_8 != 0x58)) { + return 0xfffffffa; + } + if (param_1 == 0) { + return 0xfffffffe; + } + *(undefined8 *)(param_1 + 0x20) = 0; + if (*(longlong *)(param_1 + 0x30) == 0) { + *(undefined8 *)(param_1 + 0x40) = 0; + *(code **)(param_1 + 0x30) = FUN_1400bcaa0; + } + pcVar3 = *(code **)(param_1 + 0x38); + if (pcVar3 == (code *)0x0) { + pcVar3 = FUN_1400bcab0; + } + *(code **)(param_1 + 0x38) = pcVar3; + if (param_2 == 0xffffffff) { + param_2 = 6; + } + if (param_4 < 0) { + param_4 = -param_4; + uVar8 = 0; + } + else if (0xf < param_4) { + uVar8 = 2; + param_4 = param_4 + -0x10; + } + if (((param_5 - 1U < 9) && (param_3 == 8)) && + ((param_4 - 8U < 8 && ((param_2 < 10 && (param_6 < 5)))))) { + if (param_4 == 8) { + param_4 = 9; + } + plVar4 = (longlong *)(**(code **)(param_1 + 0x30))(*(undefined8 *)(param_1 + 0x40),1,0x1720); + if (plVar4 != (longlong *)0x0) { + *(longlong **)(param_1 + 0x28) = plVar4; + *(undefined4 *)((longlong)plVar4 + 0x2c) = uVar8; + *plVar4 = param_1; + *(int *)(plVar4 + 9) = param_4; + plVar4[6] = 0; + iVar7 = 1 << ((byte)param_4 & 0x1f); + *(int *)((longlong)plVar4 + 0x44) = iVar7; + *(int *)(plVar4 + 0xf) = param_5 + 7; + *(int *)((longlong)plVar4 + 0x4c) = iVar7 + -1; + iVar2 = 1 << ((byte)(param_5 + 7) & 0x1f); + *(int *)((longlong)plVar4 + 0x74) = iVar2; + *(int *)((longlong)plVar4 + 0x7c) = iVar2 + -1; + *(uint *)(plVar4 + 0x10) = (param_5 + 9U) / 3; + lVar5 = (**(code **)(param_1 + 0x30))(*(undefined8 *)(param_1 + 0x40),iVar7,2); + plVar4[10] = lVar5; + lVar5 = (**(code **)(param_1 + 0x30)) + (*(undefined8 *)(param_1 + 0x40),*(undefined4 *)((longlong)plVar4 + 0x44),2) + ; + plVar4[0xc] = lVar5; + lVar5 = (**(code **)(param_1 + 0x30)) + (*(undefined8 *)(param_1 + 0x40),*(undefined4 *)((longlong)plVar4 + 0x74),2) + ; + *(undefined4 *)(plVar4 + 0x2e3) = 0; + iVar2 = 1 << ((char)param_5 + 6U & 0x1f); + plVar4[0xd] = lVar5; + *(int *)(plVar4 + 0x2de) = iVar2; + lVar5 = (**(code **)(param_1 + 0x30))(*(undefined8 *)(param_1 + 0x40),iVar2,4); + plVar4[2] = lVar5; + uVar1 = *(uint *)(plVar4 + 0x2de); + *(uint *)(plVar4 + 3) = uVar1 * 4; + if ((((plVar4[10] != 0) && (plVar4[0xc] != 0)) && (plVar4[0xd] != 0)) && (lVar5 != 0)) { + *(uint *)((longlong)plVar4 + 0xac) = param_2; + *(uint *)(plVar4 + 0x16) = param_6; + *(undefined1 *)((longlong)plVar4 + 0x3c) = 8; + plVar4[0x2df] = lVar5 + (ulonglong)(uVar1 >> 1) * 2; + plVar4[0x2dd] = lVar5 + (ulonglong)uVar1 * 3; + uVar6 = FUN_1400bbd40(param_1); + return uVar6; + } + *(undefined4 *)(plVar4 + 1) = 0x29a; + *(char **)(param_1 + 0x20) = "insufficient memory"; + FUN_1400ba700(param_1); + } + uVar6 = 0xfffffffc; + } + else { + uVar6 = 0xfffffffe; + } + return uVar6; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400bca60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400bca60.c new file mode 100644 index 00000000..a5ce5e99 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400bca60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400bca60 FUN_1400bca60 + * Pseudocode, not original source. */ + +void FUN_1400bca60(longlong param_1,uint param_2,char *param_3,int param_4) + +{ + FUN_1400bc7d0(param_1,param_2,8,0xf,8,0,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400bcaa0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400bcaa0.c new file mode 100644 index 00000000..4f9fd9ee --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400bcaa0.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400bcaa0 FUN_1400bcaa0 + * Pseudocode, not original source. */ + +void FUN_1400bcaa0(undefined8 param_1,int param_2,int param_3) + +{ + /* WARNING: Could not recover jumptable at 0x0001400bcaa6. Too many branches */ + /* WARNING: Treating indirect jump as call */ + malloc((ulonglong)(uint)(param_2 * param_3)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400bcab0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400bcab0.c new file mode 100644 index 00000000..4c172659 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400bcab0.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400bcab0 FUN_1400bcab0 + * Pseudocode, not original source. */ + +void FUN_1400bcab0(undefined8 param_1,void *param_2) + +{ + /* WARNING: Could not recover jumptable at 0x0001400bcab3. Too many branches */ + /* WARNING: Treating indirect jump as call */ + free(param_2); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400bcac0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400bcac0.c new file mode 100644 index 00000000..a71e747a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400bcac0.c @@ -0,0 +1,274 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400bcac0 FUN_1400bcac0 + * Pseudocode, not original source. */ + +void FUN_1400bcac0(longlong *param_1,int param_2) + +{ + longlong lVar1; + uint uVar2; + undefined4 uVar3; + uint uVar4; + undefined4 uVar5; + undefined4 *puVar6; + longlong lVar7; + longlong lVar8; + longlong lVar9; + uint uVar10; + ulonglong uVar11; + uint uVar12; + uint uVar13; + uint uVar14; + byte *pbVar15; + byte *pbVar16; + longlong lVar17; + undefined1 *puVar18; + undefined1 *puVar19; + undefined1 *puVar20; + undefined1 *puVar21; + undefined1 *puVar22; + char cVar23; + uint uVar24; + uint uVar25; + int iVar26; + byte *pbVar27; + int local_60; + + puVar6 = (undefined4 *)param_1[5]; + lVar9 = param_1[3]; + lVar17 = *(longlong *)(puVar6 + 0x16); + lVar7 = *(longlong *)(puVar6 + 0x18); + uVar2 = puVar6[0xd]; + uVar14 = puVar6[0x10]; + uVar25 = puVar6[0x11]; + puVar18 = (undefined1 *)(param_1[2] + -1); + uVar3 = puVar6[0x1a]; + pbVar15 = (byte *)(*param_1 + -1); + local_60 = (int)puVar18 - (param_2 - (int)lVar9); + iVar26 = puVar6[0xb]; + uVar4 = puVar6[0xc]; + lVar8 = *(longlong *)(puVar6 + 0xe); + pbVar27 = pbVar15 + ((int)param_1[1] - 5); + uVar5 = puVar6[0x1b]; + puVar20 = puVar18; +LAB_1400bcb70: + if (uVar25 < 0xf) { + pbVar16 = pbVar15 + 1; + pbVar15 = pbVar15 + 2; + uVar14 = uVar14 + ((uint)*pbVar16 << ((byte)uVar25 & 0x1f)) + + ((uint)*pbVar15 << ((byte)uVar25 + 8 & 0x1f)); + uVar25 = uVar25 + 0x10; + } + uVar12 = *(uint *)(lVar17 + (ulonglong)(uVar14 & (1 << ((byte)uVar3 & 0x1f)) - 1U) * 4); + uVar14 = uVar14 >> ((byte)(uVar12 >> 8) & 0x1f); + uVar25 = uVar25 - (uVar12 >> 8 & 0xff); + cVar23 = (char)uVar12; + while (cVar23 != '\0') { + puVar19 = puVar20; + if ((uVar12 & 0x10) != 0) { + uVar24 = uVar12 >> 0x10; + uVar12 = uVar12 & 0xf; + pbVar16 = pbVar15; + if (uVar12 != 0) { + if (uVar25 < uVar12) { + pbVar16 = pbVar15 + 1; + pbVar15 = pbVar15 + 1; + uVar14 = uVar14 + ((uint)*pbVar16 << ((byte)uVar25 & 0x1f)); + uVar25 = uVar25 + 8; + } + uVar10 = (1 << (sbyte)uVar12) - 1U & uVar14; + uVar14 = uVar14 >> (sbyte)uVar12; + uVar24 = uVar24 + uVar10; + uVar25 = uVar25 - uVar12; + pbVar16 = pbVar15; + } + if (uVar25 < 0xf) { + pbVar15 = pbVar16 + 1; + pbVar16 = pbVar16 + 2; + uVar14 = uVar14 + ((uint)*pbVar15 << ((byte)uVar25 & 0x1f)) + + ((uint)*pbVar16 << ((byte)uVar25 + 8 & 0x1f)); + uVar25 = uVar25 + 0x10; + } + uVar12 = *(uint *)(lVar7 + (ulonglong)((1 << ((byte)uVar5 & 0x1f)) - 1U & uVar14) * 4); + uVar14 = uVar14 >> ((byte)(uVar12 >> 8) & 0x1f); + uVar25 = uVar25 - (uVar12 >> 8 & 0xff); + goto joined_r0x0001400bcc7d; + } + if ((uVar12 & 0x40) != 0) { + if ((uVar12 & 0x20) == 0) { + param_1[4] = (longlong)"invalid literal/length code"; + *puVar6 = 0x1d; + } + else { + *puVar6 = 0xb; + } + goto LAB_1400bcf45; + } + uVar12 = *(uint *)(lVar17 + (ulonglong) + (((1 << ((byte)uVar12 & 0x1f)) - 1U & uVar14) + (uVar12 >> 0x10)) * + 4); + uVar14 = uVar14 >> ((byte)(uVar12 >> 8) & 0x1f); + uVar25 = uVar25 - (uVar12 >> 8 & 0xff); + cVar23 = (char)uVar12; + } + puVar20[1] = (char)(uVar12 >> 0x10); + puVar19 = puVar20 + 1; + goto LAB_1400bcec7; +joined_r0x0001400bcc7d: + pbVar15 = pbVar16; + if ((uVar12 & 0x10) != 0) goto LAB_1400bccc2; + if ((uVar12 & 0x40) != 0) { + param_1[4] = (longlong)"invalid distance code"; + *puVar6 = 0x1d; + goto LAB_1400bcf45; + } + uVar12 = *(uint *)(lVar7 + (ulonglong) + (((1 << ((byte)uVar12 & 0x1f)) - 1U & uVar14) + (uVar12 >> 0x10)) * 4); + uVar14 = uVar14 >> ((byte)(uVar12 >> 8) & 0x1f); + uVar25 = uVar25 - (uVar12 >> 8 & 0xff); + goto joined_r0x0001400bcc7d; +LAB_1400bccc2: + uVar13 = uVar12 & 0xf; + uVar10 = uVar25; + if (uVar25 < uVar13) { + pbVar15 = pbVar16 + 1; + uVar10 = uVar25 + 8; + uVar14 = uVar14 + ((uint)pbVar16[1] << ((byte)uVar25 & 0x1f)); + if (uVar10 < uVar13) { + pbVar15 = pbVar16 + 2; + uVar14 = uVar14 + ((uint)pbVar16[2] << ((byte)uVar10 & 0x1f)); + uVar10 = uVar25 + 0x10; + } + } + uVar25 = uVar10 - uVar13; + uVar10 = (1 << (sbyte)uVar13) - 1U & uVar14; + uVar14 = uVar14 >> (sbyte)uVar13; + uVar10 = (uVar12 >> 0x10) + uVar10; + uVar12 = (int)puVar20 - local_60; + if (uVar10 <= uVar12) { + puVar19 = puVar20 + -(ulonglong)uVar10; + do { + puVar22 = puVar20; + puVar21 = puVar19; + puVar20 = puVar22 + 3; + puVar22[1] = puVar21[1]; + uVar24 = uVar24 - 3; + puVar22[2] = puVar21[2]; + *puVar20 = puVar21[3]; + puVar19 = puVar21 + 3; + } while (2 < uVar24); + puVar19 = puVar20; + if (uVar24 != 0) { + puVar22[4] = puVar21[4]; + puVar19 = puVar22 + 4; + if (1 < uVar24) { + puVar22[5] = puVar21[5]; + puVar19 = puVar22 + 5; + } + } + goto LAB_1400bcec7; + } + uVar12 = uVar10 - uVar12; + if ((uVar4 < uVar12) && (puVar6[0x6f6] != 0)) { + param_1[4] = (longlong)"invalid distance too far back"; + *puVar6 = 0x1d; +LAB_1400bcf45: + lVar17 = (longlong)pbVar15 - (ulonglong)(uVar25 >> 3); + iVar26 = uVar25 + (uVar25 >> 3) * -8; + *param_1 = lVar17 + 1; + param_1[2] = (longlong)(puVar19 + 1); + *(int *)(param_1 + 1) = ((int)pbVar27 - (int)lVar17) + 5; + *(int *)(param_1 + 3) = ((int)(puVar18 + ((int)lVar9 - 0x101)) - (int)puVar19) + 0x101; + puVar6[0x10] = uVar14 & (1 << ((byte)iVar26 & 0x1f)) - 1U; + puVar6[0x11] = iVar26; + return; + } + lVar1 = lVar8 + -1; + if (uVar2 == 0) { + puVar21 = (undefined1 *)(lVar1 + (ulonglong)(iVar26 - uVar12)); + if (uVar12 < uVar24) { + uVar24 = uVar24 - uVar12; + do { + puVar20 = puVar21 + 1; + puVar21 = puVar21 + 1; + puVar19 = puVar19 + 1; + uVar12 = uVar12 - 1; + *puVar19 = *puVar20; + } while (uVar12 != 0); +LAB_1400bcdf2: + puVar21 = puVar19 + -(ulonglong)uVar10; + puVar20 = puVar19; + } + } + else if (uVar2 < uVar12) { + uVar13 = uVar12 - uVar2; + puVar21 = (undefined1 *)(lVar1 + (ulonglong)((uVar2 - uVar12) + iVar26)); + if (uVar13 < uVar24) { + uVar24 = uVar24 - uVar13; + do { + puVar22 = puVar19 + (longlong)(puVar21 + (1 - (longlong)puVar20)); + puVar19 = puVar19 + 1; + uVar13 = uVar13 - 1; + *puVar19 = *puVar22; + } while (uVar13 != 0); + puVar21 = (undefined1 *)(lVar8 + -1); + puVar20 = puVar19; + if (uVar2 < uVar24) { + uVar24 = uVar24 - uVar2; + uVar12 = uVar2; + do { + puVar20 = puVar21 + 1; + puVar21 = puVar21 + 1; + puVar19 = puVar19 + 1; + uVar12 = uVar12 - 1; + *puVar19 = *puVar20; + } while (uVar12 != 0); + goto LAB_1400bcdf2; + } + } + } + else { + puVar21 = (undefined1 *)(lVar1 + (ulonglong)(uVar2 - uVar12)); + if (uVar12 < uVar24) { + uVar24 = uVar24 - uVar12; + do { + puVar20 = puVar21 + 1; + puVar21 = puVar21 + 1; + puVar19 = puVar19 + 1; + uVar12 = uVar12 - 1; + *puVar19 = *puVar20; + } while (uVar12 != 0); + goto LAB_1400bcdf2; + } + } + if (2 < uVar24) { + uVar11 = (ulonglong)((uVar24 - 3) / 3 + 1); + puVar19 = puVar20; + puVar22 = puVar21; + do { + puVar21 = puVar22 + 3; + puVar20 = puVar19 + 3; + puVar19[1] = puVar22[1]; + uVar24 = uVar24 - 3; + uVar11 = uVar11 - 1; + puVar19[2] = puVar22[2]; + *puVar20 = *puVar21; + puVar19 = puVar20; + puVar22 = puVar21; + } while (uVar11 != 0); + } + puVar19 = puVar20; + if (uVar24 != 0) { + puVar20[1] = puVar21[1]; + puVar19 = puVar20 + 1; + if (1 < uVar24) { + puVar20[2] = puVar21[2]; + puVar19 = puVar20 + 2; + } + } +LAB_1400bcec7: + if ((pbVar27 <= pbVar15) || (puVar20 = puVar19, puVar18 + ((int)lVar9 - 0x101) <= puVar19)) + goto LAB_1400bcf45; + goto LAB_1400bcb70; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400bcfb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400bcfb0.c new file mode 100644 index 00000000..7e4f1364 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400bcfb0.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400bcfb0 FUN_1400bcfb0 + * Pseudocode, not original source. */ + +void FUN_1400bcfb0(longlong param_1) + +{ + undefined2 *puVar1; + longlong lVar2; + + puVar1 = (undefined2 *)(param_1 + 0xbc); + lVar2 = 0x11e; + do { + *puVar1 = 0; + puVar1 = puVar1 + 2; + lVar2 = lVar2 + -1; + } while (lVar2 != 0); + puVar1 = (undefined2 *)(param_1 + 0x9b0); + lVar2 = 0x1e; + do { + *puVar1 = 0; + puVar1 = puVar1 + 2; + lVar2 = lVar2 + -1; + } while (lVar2 != 0); + puVar1 = (undefined2 *)(param_1 + 0xaa4); + lVar2 = 0x13; + do { + *puVar1 = 0; + puVar1 = puVar1 + 2; + lVar2 = lVar2 + -1; + } while (lVar2 != 0); + *(undefined8 *)(param_1 + 0x1700) = 0; + *(undefined4 *)(param_1 + 0x1708) = 0; + *(undefined2 *)(param_1 + 0x4bc) = 1; + *(undefined4 *)(param_1 + 0x16f4) = 0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400bd030.c b/decomp/AgentManager_Release_x64/full/functions/0x1400bd030.c new file mode 100644 index 00000000..a2c3ba53 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400bd030.c @@ -0,0 +1,60 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400bd030 FUN_1400bd030 + * Pseudocode, not original source. */ + +void FUN_1400bd030(longlong param_1,longlong param_2,int param_3) + +{ + ushort uVar1; + ushort uVar2; + int iVar3; + int iVar4; + longlong lVar5; + int iVar6; + int iVar7; + longlong lVar8; + longlong lVar9; + bool bVar10; + + iVar3 = *(int *)(param_1 + 0x149c); + lVar8 = (longlong)param_3; + iVar4 = *(int *)(param_1 + 0xba8 + lVar8 * 4); + iVar6 = param_3 * 2; + bVar10 = SBORROW4(iVar6,iVar3); + iVar7 = iVar6 - iVar3; + if (iVar6 <= iVar3) { + do { + if (bVar10 != iVar7 < 0) { + lVar9 = (longlong)*(int *)(param_1 + 0xba8 + (longlong)iVar6 * 4); + lVar5 = (longlong)*(int *)(param_1 + 0xbac + (longlong)iVar6 * 4); + uVar1 = *(ushort *)(param_2 + lVar5 * 4); + uVar2 = *(ushort *)(param_2 + lVar9 * 4); + if ((uVar1 < uVar2) || + ((uVar1 == uVar2 && + (*(byte *)(lVar5 + 0x14a4 + param_1) <= *(byte *)(lVar9 + 0x14a4 + param_1))))) { + iVar6 = iVar6 + 1; + } + } + iVar3 = *(int *)(param_1 + 0xba8 + (longlong)iVar6 * 4); + uVar1 = *(ushort *)(param_2 + (longlong)iVar4 * 4); + uVar2 = *(ushort *)(param_2 + (longlong)iVar3 * 4); + iVar7 = (int)lVar8; + if ((uVar1 < uVar2) || + ((uVar1 == uVar2 && + (*(byte *)((longlong)iVar4 + 0x14a4 + param_1) <= + *(byte *)((longlong)iVar3 + 0x14a4 + param_1))))) { + *(int *)(param_1 + 0xba8 + (longlong)iVar7 * 4) = iVar4; + return; + } + lVar8 = (longlong)iVar6; + iVar6 = iVar6 * 2; + *(int *)(param_1 + 0xba8 + (longlong)iVar7 * 4) = iVar3; + iVar3 = *(int *)(param_1 + 0x149c); + bVar10 = SBORROW4(iVar6,iVar3); + iVar7 = iVar6 - iVar3; + } while (iVar6 <= iVar3); + } + *(int *)(param_1 + 0xba8 + lVar8 * 4) = iVar4; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400bd120.c b/decomp/AgentManager_Release_x64/full/functions/0x1400bd120.c new file mode 100644 index 00000000..d0b7c4b5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400bd120.c @@ -0,0 +1,130 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400bd120 FUN_1400bd120 + * Pseudocode, not original source. */ + +void FUN_1400bd120(longlong param_1,longlong *param_2) + +{ + short *psVar1; + ushort uVar2; + short sVar3; + int iVar4; + longlong *plVar5; + longlong lVar6; + longlong lVar7; + uint uVar8; + longlong lVar9; + uint uVar10; + longlong lVar11; + ulonglong uVar12; + int iVar13; + int iVar14; + longlong lVar15; + undefined2 *puVar16; + longlong lVar17; + int iVar18; + uint uVar19; + ulonglong uVar20; + int *piVar21; + longlong lVar22; + + plVar5 = (longlong *)param_2[2]; + lVar6 = *param_2; + lVar7 = param_2[1]; + lVar9 = plVar5[2]; + uVar19 = *(uint *)(plVar5 + 3); + uVar20 = (ulonglong)(int)uVar19; + lVar15 = *plVar5; + iVar13 = 0; + lVar17 = plVar5[1]; + puVar16 = (undefined2 *)(param_1 + 0xb88); + for (lVar11 = 0x10; lVar11 != 0; lVar11 = lVar11 + -1) { + *puVar16 = 0; + puVar16 = puVar16 + 1; + } + *(undefined2 *) + (lVar6 + 2 + (longlong)*(int *)(param_1 + 0xba8 + (longlong)*(int *)(param_1 + 0x14a0) * 4) * 4) + = 0; + iVar14 = *(int *)(param_1 + 0x14a0) + 1; + lVar11 = (longlong)iVar14; + if (lVar11 < 0x23d) { + lVar22 = 0x23d - lVar11; + piVar21 = (int *)(param_1 + 0xba8 + lVar11 * 4); + iVar14 = iVar14 + (int)lVar22; + do { + iVar4 = *piVar21; + lVar11 = (longlong)iVar4 * 4; + uVar10 = *(ushort *)(lVar6 + 2 + (ulonglong)*(ushort *)(lVar11 + 2 + lVar6) * 4) + 1; + if ((int)uVar19 < (int)uVar10) { + iVar13 = iVar13 + 1; + uVar10 = uVar19; + } + *(short *)(lVar11 + 2 + lVar6) = (short)uVar10; + if (iVar4 <= (int)lVar7) { + iVar18 = 0; + psVar1 = (short *)(param_1 + 0xb88 + (longlong)(int)uVar10 * 2); + *psVar1 = *psVar1 + 1; + if ((int)lVar9 <= iVar4) { + iVar18 = *(int *)(lVar17 + ((longlong)iVar4 - (longlong)(int)lVar9) * 4); + } + uVar2 = *(ushort *)(lVar11 + lVar6); + *(int *)(param_1 + 0x1700) = *(int *)(param_1 + 0x1700) + (iVar18 + uVar10) * (uint)uVar2; + if (lVar15 != 0) { + *(int *)(param_1 + 0x1704) = + *(int *)(param_1 + 0x1704) + + ((uint)*(ushort *)(lVar11 + 2 + lVar15) + iVar18) * (uint)uVar2; + } + } + piVar21 = piVar21 + 1; + lVar22 = lVar22 + -1; + } while (lVar22 != 0); + } + if (iVar13 != 0) { + do { + uVar12 = (ulonglong)(int)(uVar19 - 1); + sVar3 = *(short *)(param_1 + 0xb88 + uVar12 * 2); + uVar10 = uVar19 - 1; + while (sVar3 == 0) { + uVar10 = (int)uVar12 - 1; + uVar12 = (ulonglong)uVar10; + sVar3 = *(short *)(param_1 + 0xb88 + (longlong)(int)uVar10 * 2); + } + iVar13 = iVar13 + -2; + psVar1 = (short *)(param_1 + 0xb88 + (longlong)(int)uVar10 * 2); + *psVar1 = *psVar1 + -1; + psVar1 = (short *)(param_1 + 0xb8a + (longlong)(int)uVar10 * 2); + *psVar1 = *psVar1 + 2; + psVar1 = (short *)(param_1 + 0xb88 + uVar20 * 2); + *psVar1 = *psVar1 + -1; + } while (0 < iVar13); + lVar15 = (longlong)iVar14; + while (uVar19 != 0) { + uVar19 = (uint)uVar20; + uVar2 = *(ushort *)(param_1 + 0xb88 + (longlong)(int)uVar19 * 2); + uVar10 = (uint)uVar2; + if (uVar2 != 0) { + lVar17 = param_1 + 0xba8 + lVar15 * 4; + do { + piVar21 = (int *)(lVar17 + -4); + lVar9 = (longlong)*piVar21; + lVar17 = lVar17 + -4; + lVar15 = lVar15 + -1; + if (*piVar21 <= (int)lVar7) { + uVar8 = (uint)*(ushort *)(lVar6 + 2 + lVar9 * 4); + if (uVar8 != uVar19) { + *(int *)(param_1 + 0x1700) = + *(int *)(param_1 + 0x1700) + + (uVar19 - uVar8) * (uint)*(ushort *)(lVar6 + lVar9 * 4); + *(short *)(lVar6 + 2 + lVar9 * 4) = (short)uVar20; + } + uVar10 = uVar10 - 1; + } + } while (uVar10 != 0); + } + uVar19 = uVar19 - 1; + uVar20 = (ulonglong)uVar19; + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400bd340.c b/decomp/AgentManager_Release_x64/full/functions/0x1400bd340.c new file mode 100644 index 00000000..ef38acd1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400bd340.c @@ -0,0 +1,82 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400bd340 FUN_1400bd340 + * Pseudocode, not original source. */ + +void FUN_1400bd340(longlong param_1,longlong param_2,int param_3) + +{ + short *psVar1; + ushort uVar2; + int iVar3; + longlong lVar4; + uint uVar5; + uint uVar6; + uint uVar7; + int iVar8; + int iVar9; + ushort *puVar10; + + uVar2 = *(ushort *)(param_2 + 2); + uVar5 = 0xffffffff; + iVar9 = 0; + iVar3 = 7; + iVar8 = 4; + if (uVar2 == 0) { + iVar3 = 0x8a; + iVar8 = 3; + } + lVar4 = (longlong)param_3; + *(undefined2 *)(param_2 + 6 + lVar4 * 4) = 0xffff; + if (-1 < lVar4) { + puVar10 = (ushort *)(param_2 + 6); + lVar4 = lVar4 + 1; + uVar6 = (uint)uVar2; + do { + iVar9 = iVar9 + 1; + uVar2 = *puVar10; + uVar7 = (uint)uVar2; + if ((iVar3 <= iVar9) || (uVar6 != uVar7)) { + if (iVar9 < iVar8) { + psVar1 = (short *)(param_1 + 0xaa4 + (longlong)(int)uVar6 * 4); + *psVar1 = *psVar1 + (short)iVar9; + } + else if (uVar6 == 0) { + if (iVar9 < 0xb) { + *(short *)(param_1 + 0xae8) = *(short *)(param_1 + 0xae8) + 1; + } + else { + *(short *)(param_1 + 0xaec) = *(short *)(param_1 + 0xaec) + 1; + } + } + else { + if (uVar6 != uVar5) { + psVar1 = (short *)(param_1 + 0xaa4 + (longlong)(int)uVar6 * 4); + *psVar1 = *psVar1 + 1; + } + *(short *)(param_1 + 0xae4) = *(short *)(param_1 + 0xae4) + 1; + } + iVar9 = 0; + uVar5 = uVar6; + if (uVar2 == 0) { + iVar3 = 0x8a; + iVar8 = 3; + iVar9 = 0; + } + else if (uVar6 == uVar7) { + iVar3 = 6; + iVar8 = 3; + iVar9 = 0; + } + else { + iVar3 = 7; + iVar8 = 4; + } + } + puVar10 = puVar10 + 2; + lVar4 = lVar4 + -1; + uVar6 = uVar7; + } while (lVar4 != 0); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400bd430.c b/decomp/AgentManager_Release_x64/full/functions/0x1400bd430.c new file mode 100644 index 00000000..7a0feab4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400bd430.c @@ -0,0 +1,258 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400bd430 FUN_1400bd430 + * Pseudocode, not original source. */ + +void FUN_1400bd430(longlong param_1,longlong param_2,int param_3) + +{ + ushort uVar1; + ushort uVar2; + ushort uVar3; + int iVar4; + byte bVar5; + int iVar6; + ushort *puVar7; + uint uVar8; + uint uVar9; + longlong lVar10; + short sVar11; + int iVar12; + uint uVar14; + longlong lVar15; + int iVar13; + + uVar14 = 0xffffffff; + iVar13 = 0; + iVar4 = 7; + iVar6 = 4; + if (*(ushort *)(param_2 + 2) == 0) { + iVar4 = 0x8a; + iVar6 = 3; + } + if (-1 < param_3) { + lVar15 = (longlong)param_3 + 1; + puVar7 = (ushort *)(param_2 + 6); + uVar8 = (uint)*(ushort *)(param_2 + 2); + do { + iVar12 = iVar13 + 1; + lVar10 = (longlong)(int)uVar8; + uVar1 = *puVar7; + uVar9 = (uint)uVar1; + if ((iVar4 <= iVar12) || (uVar8 != uVar9)) { + if (iVar12 < iVar6) { + do { + uVar14 = (uint)*(ushort *)(param_1 + 0xaa6 + lVar10 * 4); + iVar6 = *(int *)(param_1 + 0x1714); + if ((int)(0x10 - uVar14) < iVar6) { + uVar3 = *(ushort *)(param_1 + 0xaa4 + lVar10 * 4); + *(ushort *)(param_1 + 0x1710) = + *(ushort *)(param_1 + 0x1710) | uVar3 << ((byte)iVar6 & 0x1f); + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) + = *(undefined1 *)(param_1 + 0x1710); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) + = *(undefined1 *)(param_1 + 0x1711); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + iVar6 = *(int *)(param_1 + 0x1714) + -0x10; + *(ushort *)(param_1 + 0x1710) = + uVar3 >> (0x10U - (char)*(int *)(param_1 + 0x1714) & 0x1f); + } + else { + *(ushort *)(param_1 + 0x1710) = + *(ushort *)(param_1 + 0x1710) | + *(short *)(param_1 + 0xaa4 + lVar10 * 4) << ((byte)iVar6 & 0x1f); + } + iVar12 = iVar12 + -1; + *(uint *)(param_1 + 0x1714) = iVar6 + uVar14; + } while (iVar12 != 0); + } + else { + if (uVar8 == 0) { + iVar6 = *(int *)(param_1 + 0x1714); + sVar11 = (short)iVar12; + bVar5 = (byte)iVar6; + if (iVar12 < 0xb) { + uVar3 = *(ushort *)(param_1 + 0xaea); + if ((int)(0x10 - (uint)uVar3) < iVar6) { + uVar2 = *(ushort *)(param_1 + 0xae8); + *(ushort *)(param_1 + 0x1710) = + *(ushort *)(param_1 + 0x1710) | uVar2 << (bVar5 & 0x1f); + *(undefined1 *) + ((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1710); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(undefined1 *) + ((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1711); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + iVar6 = *(int *)(param_1 + 0x1714) + -0x10; + *(ushort *)(param_1 + 0x1710) = + uVar2 >> (0x10U - (char)*(int *)(param_1 + 0x1714) & 0x1f); + } + else { + *(ushort *)(param_1 + 0x1710) = + *(ushort *)(param_1 + 0x1710) | *(short *)(param_1 + 0xae8) << (bVar5 & 0x1f); + } + iVar6 = iVar6 + (uint)uVar3; + *(int *)(param_1 + 0x1714) = iVar6; + if (iVar6 < 0xe) { + sVar11 = sVar11 + -3; + iVar4 = iVar6 + 3; +LAB_1400bd93e: + *(ushort *)(param_1 + 0x1710) = + *(ushort *)(param_1 + 0x1710) | sVar11 << ((byte)iVar6 & 0x1f); + } + else { + *(ushort *)(param_1 + 0x1710) = + *(ushort *)(param_1 + 0x1710) | sVar11 - 3U << ((byte)iVar6 & 0x1f); + *(undefined1 *) + ((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1710); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(undefined1 *) + ((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1711); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + iVar4 = *(int *)(param_1 + 0x1714) + -0xd; + *(ushort *)(param_1 + 0x1710) = + (ushort)(sVar11 - 3U) >> (0x10U - (char)*(int *)(param_1 + 0x1714) & 0x1f); + } + } + else { + uVar3 = *(ushort *)(param_1 + 0xaee); + if ((int)(0x10 - (uint)uVar3) < iVar6) { + uVar2 = *(ushort *)(param_1 + 0xaec); + *(ushort *)(param_1 + 0x1710) = + *(ushort *)(param_1 + 0x1710) | uVar2 << (bVar5 & 0x1f); + *(undefined1 *) + ((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1710); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(undefined1 *) + ((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1711); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + iVar6 = *(int *)(param_1 + 0x1714) + -0x10; + *(ushort *)(param_1 + 0x1710) = + uVar2 >> (0x10U - (char)*(int *)(param_1 + 0x1714) & 0x1f); + } + else { + *(ushort *)(param_1 + 0x1710) = + *(ushort *)(param_1 + 0x1710) | *(short *)(param_1 + 0xaec) << (bVar5 & 0x1f); + } + iVar6 = iVar6 + (uint)uVar3; + *(int *)(param_1 + 0x1714) = iVar6; + if (iVar6 < 10) { + sVar11 = sVar11 + -0xb; + iVar4 = iVar6 + 7; + goto LAB_1400bd93e; + } + *(ushort *)(param_1 + 0x1710) = + *(ushort *)(param_1 + 0x1710) | sVar11 - 0xbU << ((byte)iVar6 & 0x1f); + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) + = *(undefined1 *)(param_1 + 0x1710); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) + = *(undefined1 *)(param_1 + 0x1711); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + iVar4 = *(int *)(param_1 + 0x1714) + -9; + *(ushort *)(param_1 + 0x1710) = + (ushort)(sVar11 - 0xbU) >> (0x10U - (char)*(int *)(param_1 + 0x1714) & 0x1f); + } + } + else { + if (uVar8 != uVar14) { + uVar14 = (uint)*(ushort *)(param_1 + 0xaa6 + lVar10 * 4); + iVar6 = *(int *)(param_1 + 0x1714); + if ((int)(0x10 - uVar14) < iVar6) { + uVar3 = *(ushort *)(param_1 + 0xaa4 + lVar10 * 4); + *(ushort *)(param_1 + 0x1710) = + *(ushort *)(param_1 + 0x1710) | uVar3 << ((byte)iVar6 & 0x1f); + *(undefined1 *) + ((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1710); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(undefined1 *) + ((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1711); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + iVar6 = *(int *)(param_1 + 0x1714) + -0x10; + *(ushort *)(param_1 + 0x1710) = + uVar3 >> (0x10U - (char)*(int *)(param_1 + 0x1714) & 0x1f); + } + else { + *(ushort *)(param_1 + 0x1710) = + *(ushort *)(param_1 + 0x1710) | + *(short *)(param_1 + 0xaa4 + lVar10 * 4) << ((byte)iVar6 & 0x1f); + } + *(uint *)(param_1 + 0x1714) = iVar6 + uVar14; + iVar12 = iVar13; + } + uVar3 = *(ushort *)(param_1 + 0xae6); + iVar6 = *(int *)(param_1 + 0x1714); + if ((int)(0x10 - (uint)uVar3) < iVar6) { + uVar2 = *(ushort *)(param_1 + 0xae4); + *(ushort *)(param_1 + 0x1710) = + *(ushort *)(param_1 + 0x1710) | uVar2 << ((byte)iVar6 & 0x1f); + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) + = *(undefined1 *)(param_1 + 0x1710); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) + = *(undefined1 *)(param_1 + 0x1711); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + iVar6 = *(int *)(param_1 + 0x1714) + -0x10; + *(ushort *)(param_1 + 0x1710) = + uVar2 >> (0x10U - (char)*(int *)(param_1 + 0x1714) & 0x1f); + } + else { + *(ushort *)(param_1 + 0x1710) = + *(ushort *)(param_1 + 0x1710) | + *(short *)(param_1 + 0xae4) << ((byte)iVar6 & 0x1f); + } + iVar6 = iVar6 + (uint)uVar3; + *(int *)(param_1 + 0x1714) = iVar6; + if (iVar6 < 0xf) { + sVar11 = (short)iVar12 + -3; + iVar4 = iVar6 + 2; + goto LAB_1400bd93e; + } + uVar3 = (short)iVar12 - 3; + *(ushort *)(param_1 + 0x1710) = + *(ushort *)(param_1 + 0x1710) | uVar3 << ((byte)iVar6 & 0x1f); + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1710); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1711); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + iVar4 = *(int *)(param_1 + 0x1714) + -0xe; + *(ushort *)(param_1 + 0x1710) = + uVar3 >> (0x10U - (char)*(int *)(param_1 + 0x1714) & 0x1f); + } + *(int *)(param_1 + 0x1714) = iVar4; + } + uVar14 = uVar8; + iVar12 = 0; + if (uVar1 == 0) { + iVar4 = 0x8a; + iVar6 = 3; + } + else if (uVar8 == uVar9) { + iVar4 = 6; + iVar6 = 3; + } + else { + iVar4 = 7; + iVar6 = 4; + iVar12 = 0; + } + } + iVar13 = iVar12; + puVar7 = puVar7 + 2; + lVar15 = lVar15 + -1; + uVar8 = uVar9; + } while (lVar15 != 0); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400bd9a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400bd9a0.c new file mode 100644 index 00000000..3c22a6d0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400bd9a0.c @@ -0,0 +1,102 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400bd9a0 FUN_1400bd9a0 + * Pseudocode, not original source. */ + +void FUN_1400bd9a0(longlong param_1,int param_2,int param_3,uint param_4) + +{ + ushort uVar1; + int iVar2; + int iVar3; + byte *pbVar4; + ulonglong uVar5; + + iVar2 = *(int *)(param_1 + 0x1714); + uVar5 = (ulonglong)param_4; + if (iVar2 < 0xc) { + *(ushort *)(param_1 + 0x1710) = + *(ushort *)(param_1 + 0x1710) | (short)param_2 + -0x101 << ((byte)iVar2 & 0x1f); + iVar2 = iVar2 + 5; + } + else { + uVar1 = (short)param_2 - 0x101; + *(ushort *)(param_1 + 0x1710) = *(ushort *)(param_1 + 0x1710) | uVar1 << ((byte)iVar2 & 0x1f); + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1710); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1711); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + iVar2 = *(int *)(param_1 + 0x1714) + -0xb; + *(ushort *)(param_1 + 0x1710) = uVar1 >> (0x10U - (char)*(int *)(param_1 + 0x1714) & 0x1f); + } + *(int *)(param_1 + 0x1714) = iVar2; + if (iVar2 < 0xc) { + *(ushort *)(param_1 + 0x1710) = + *(ushort *)(param_1 + 0x1710) | (short)param_3 + -1 << ((byte)iVar2 & 0x1f); + iVar2 = iVar2 + 5; + } + else { + uVar1 = (short)param_3 - 1; + *(ushort *)(param_1 + 0x1710) = *(ushort *)(param_1 + 0x1710) | uVar1 << ((byte)iVar2 & 0x1f); + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1710); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1711); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + iVar2 = *(int *)(param_1 + 0x1714) + -0xb; + *(ushort *)(param_1 + 0x1710) = uVar1 >> (0x10U - (char)*(int *)(param_1 + 0x1714) & 0x1f); + } + *(int *)(param_1 + 0x1714) = iVar2; + if (iVar2 < 0xd) { + *(ushort *)(param_1 + 0x1710) = + *(ushort *)(param_1 + 0x1710) | (short)param_4 + -4 << ((byte)iVar2 & 0x1f); + iVar2 = iVar2 + 4; + } + else { + uVar1 = (short)param_4 - 4; + *(ushort *)(param_1 + 0x1710) = *(ushort *)(param_1 + 0x1710) | uVar1 << ((byte)iVar2 & 0x1f); + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1710); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1711); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + iVar2 = *(int *)(param_1 + 0x1714) + -0xc; + *(ushort *)(param_1 + 0x1710) = uVar1 >> (0x10U - (char)*(int *)(param_1 + 0x1714) & 0x1f); + } + *(int *)(param_1 + 0x1714) = iVar2; + if (0 < (int)param_4) { + pbVar4 = &DAT_1401229d0; + do { + iVar2 = *(int *)(param_1 + 0x1714); + if (iVar2 < 0xe) { + iVar3 = iVar2 + 3; + *(ushort *)(param_1 + 0x1710) = + *(ushort *)(param_1 + 0x1710) | + *(short *)(param_1 + 0xaa6 + (ulonglong)*pbVar4 * 4) << ((byte)iVar2 & 0x1f); + } + else { + uVar1 = *(ushort *)(param_1 + 0xaa6 + (ulonglong)*pbVar4 * 4); + *(ushort *)(param_1 + 0x1710) = + *(ushort *)(param_1 + 0x1710) | uVar1 << ((byte)iVar2 & 0x1f); + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1710); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1711); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + iVar3 = *(int *)(param_1 + 0x1714) + -0xd; + *(ushort *)(param_1 + 0x1710) = uVar1 >> (0x10U - (char)*(int *)(param_1 + 0x1714) & 0x1f); + } + pbVar4 = pbVar4 + 1; + uVar5 = uVar5 - 1; + *(int *)(param_1 + 0x1714) = iVar3; + } while (uVar5 != 0); + } + FUN_1400bd430(param_1,param_1 + 0xbc,param_2 + -1); + FUN_1400bd430(param_1,param_1 + 0x9b0,param_3 + -1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400bdc10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400bdc10.c new file mode 100644 index 00000000..ec2fe095 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400bdc10.c @@ -0,0 +1,182 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400bdc10 FUN_1400bdc10 + * Pseudocode, not original source. */ + +void FUN_1400bdc10(longlong param_1,longlong param_2,longlong param_3) + +{ + byte bVar1; + byte bVar2; + int iVar3; + int iVar4; + byte bVar5; + ulonglong uVar6; + longlong lVar7; + uint uVar8; + uint uVar9; + ushort uVar10; + uint uVar11; + ushort uVar12; + longlong lVar13; + + uVar8 = 0; + if (*(int *)(param_1 + 0x16f4) != 0) { + lVar13 = 0; + do { + uVar6 = (ulonglong)uVar8; + lVar13 = lVar13 + 2; + uVar10 = *(ushort *)(*(longlong *)(param_1 + 0x16f8) + -2 + lVar13); + uVar8 = uVar8 + 1; + bVar1 = *(byte *)(uVar6 + *(longlong *)(param_1 + 0x16e8)); + iVar3 = *(int *)(param_1 + 0x1714); + bVar5 = (byte)iVar3; + if (uVar10 == 0) { + lVar7 = (longlong)(int)(uint)bVar1; + uVar11 = (uint)*(ushort *)(param_2 + 2 + lVar7 * 4); + if ((int)(0x10 - uVar11) < iVar3) { + uVar10 = *(ushort *)(param_2 + lVar7 * 4); + *(ushort *)(param_1 + 0x1710) = *(ushort *)(param_1 + 0x1710) | uVar10 << (bVar5 & 0x1f); + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1710); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1711); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + iVar3 = *(int *)(param_1 + 0x1714) + -0x10 + uVar11; + *(ushort *)(param_1 + 0x1710) = + uVar10 >> (0x10U - (char)*(int *)(param_1 + 0x1714) & 0x1f); + } + else { + *(ushort *)(param_1 + 0x1710) = + *(ushort *)(param_1 + 0x1710) | *(short *)(param_2 + lVar7 * 4) << (bVar5 & 0x1f); + iVar3 = iVar3 + uVar11; + } +LAB_1400bdf97: + *(int *)(param_1 + 0x1714) = iVar3; + } + else { + bVar2 = (&DAT_1401230f0)[bVar1]; + uVar11 = bVar2 + 0x101; + uVar9 = (uint)*(ushort *)(param_2 + 2 + (ulonglong)uVar11 * 4); + if ((int)(0x10 - uVar9) < iVar3) { + uVar12 = *(ushort *)(param_2 + (ulonglong)uVar11 * 4); + *(ushort *)(param_1 + 0x1710) = *(ushort *)(param_1 + 0x1710) | uVar12 << (bVar5 & 0x1f); + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1710); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1711); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + iVar3 = *(int *)(param_1 + 0x1714) + -0x10; + *(ushort *)(param_1 + 0x1710) = + uVar12 >> (0x10U - (char)*(int *)(param_1 + 0x1714) & 0x1f); + } + else { + *(ushort *)(param_1 + 0x1710) = + *(ushort *)(param_1 + 0x1710) | + *(short *)(param_2 + (ulonglong)uVar11 * 4) << (bVar5 & 0x1f); + } + iVar3 = iVar3 + uVar9; + *(int *)(param_1 + 0x1714) = iVar3; + iVar4 = *(int *)(&DAT_140122880 + (ulonglong)bVar2 * 4); + if (iVar4 != 0) { + uVar12 = (ushort)bVar1 - (short)*(undefined4 *)(&DAT_1401231f0 + (ulonglong)bVar2 * 4); + if (0x10 - iVar4 < iVar3) { + *(ushort *)(param_1 + 0x1710) = + *(ushort *)(param_1 + 0x1710) | uVar12 << ((byte)iVar3 & 0x1f); + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1710); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1711); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + iVar3 = *(int *)(param_1 + 0x1714) + -0x10; + *(ushort *)(param_1 + 0x1710) = + uVar12 >> (0x10U - (char)*(int *)(param_1 + 0x1714) & 0x1f); + } + else { + *(ushort *)(param_1 + 0x1710) = + *(ushort *)(param_1 + 0x1710) | uVar12 << ((byte)iVar3 & 0x1f); + } + *(int *)(param_1 + 0x1714) = iVar3 + iVar4; + } + uVar11 = uVar10 - 1; + if (uVar11 < 0x100) { + bVar1 = (&DAT_140122ef0)[uVar11]; + } + else { + bVar1 = (&DAT_140122ef0)[(uVar11 >> 7) + 0x100]; + } + uVar6 = (ulonglong)bVar1; + uVar9 = (uint)*(ushort *)(param_3 + 2 + uVar6 * 4); + iVar4 = *(int *)(param_1 + 0x1714); + if ((int)(0x10 - uVar9) < iVar4) { + uVar10 = *(ushort *)(param_3 + uVar6 * 4); + *(ushort *)(param_1 + 0x1710) = + *(ushort *)(param_1 + 0x1710) | uVar10 << ((byte)iVar4 & 0x1f); + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1710); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1711); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + iVar4 = *(int *)(param_1 + 0x1714) + -0x10; + *(ushort *)(param_1 + 0x1710) = + uVar10 >> (0x10U - (char)*(int *)(param_1 + 0x1714) & 0x1f); + } + else { + *(ushort *)(param_1 + 0x1710) = + *(ushort *)(param_1 + 0x1710) | + *(short *)(param_3 + uVar6 * 4) << ((byte)iVar4 & 0x1f); + } + iVar4 = iVar4 + uVar9; + *(int *)(param_1 + 0x1714) = iVar4; + iVar3 = *(int *)(&DAT_140122900 + uVar6 * 4); + if (iVar3 != 0) { + uVar10 = (short)uVar11 - (short)*(undefined4 *)(&DAT_140123270 + uVar6 * 4); + if (0x10 - iVar3 < iVar4) { + *(ushort *)(param_1 + 0x1710) = + *(ushort *)(param_1 + 0x1710) | uVar10 << ((byte)iVar4 & 0x1f); + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1710); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1711); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + iVar3 = *(int *)(param_1 + 0x1714) + -0x10 + iVar3; + *(ushort *)(param_1 + 0x1710) = + uVar10 >> (0x10U - (char)*(int *)(param_1 + 0x1714) & 0x1f); + } + else { + iVar3 = iVar4 + iVar3; + *(ushort *)(param_1 + 0x1710) = + *(ushort *)(param_1 + 0x1710) | uVar10 << ((byte)iVar4 & 0x1f); + } + goto LAB_1400bdf97; + } + } + } while (uVar8 < *(uint *)(param_1 + 0x16f4)); + } + uVar10 = *(ushort *)(param_2 + 0x402); + iVar3 = *(int *)(param_1 + 0x1714); + if ((int)(0x10 - (uint)uVar10) < iVar3) { + uVar12 = *(ushort *)(param_2 + 0x400); + *(ushort *)(param_1 + 0x1710) = *(ushort *)(param_1 + 0x1710) | uVar12 << ((byte)iVar3 & 0x1f); + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1710); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1711); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + iVar3 = *(int *)(param_1 + 0x1714) + -0x10; + *(ushort *)(param_1 + 0x1710) = uVar12 >> (0x10U - (char)*(int *)(param_1 + 0x1714) & 0x1f); + } + else { + *(ushort *)(param_1 + 0x1710) = + *(ushort *)(param_1 + 0x1710) | *(short *)(param_2 + 0x400) << ((byte)iVar3 & 0x1f); + } + *(uint *)(param_1 + 0x1714) = iVar3 + (uint)uVar10; + *(uint *)(param_1 + 0x170c) = (uint)*(ushort *)(param_2 + 0x402); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400be080.c b/decomp/AgentManager_Release_x64/full/functions/0x1400be080.c new file mode 100644 index 00000000..bc449f18 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400be080.c @@ -0,0 +1,37 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400be080 FUN_1400be080 + * Pseudocode, not original source. */ + +undefined8 FUN_1400be080(longlong param_1) + +{ + short *psVar1; + longlong lVar2; + ulonglong uVar3; + + lVar2 = 0; + uVar3 = 0xf3ffc07f; + psVar1 = (short *)(param_1 + 0xbc); + while (((uVar3 & 1) == 0 || (*psVar1 == 0))) { + lVar2 = lVar2 + 1; + psVar1 = psVar1 + 2; + uVar3 = uVar3 >> 1; + if (0x1f < lVar2) { + if (((*(short *)(param_1 + 0xe0) == 0) && (*(short *)(param_1 + 0xe4) == 0)) && + (*(short *)(param_1 + 0xf0) == 0)) { + lVar2 = 0x20; + psVar1 = (short *)(param_1 + 0x13c); + while (*psVar1 == 0) { + lVar2 = lVar2 + 1; + psVar1 = psVar1 + 2; + if (0xff < lVar2) { + return 0; + } + } + } + return 1; + } + } + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400be100.c b/decomp/AgentManager_Release_x64/full/functions/0x1400be100.c new file mode 100644 index 00000000..e4a8a6df --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400be100.c @@ -0,0 +1,28 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400be100 FUN_1400be100 + * Pseudocode, not original source. */ + +void FUN_1400be100(longlong param_1) + +{ + if (*(int *)(param_1 + 0x1714) == 0x10) { + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1710); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1711); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(undefined4 *)(param_1 + 0x1714) = 0; + *(undefined2 *)(param_1 + 0x1710) = 0; + return; + } + if (7 < *(int *)(param_1 + 0x1714)) { + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1710); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(int *)(param_1 + 0x1714) = *(int *)(param_1 + 0x1714) + -8; + *(ushort *)(param_1 + 0x1710) = (ushort)*(byte *)(param_1 + 0x1711); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400be190.c b/decomp/AgentManager_Release_x64/full/functions/0x1400be190.c new file mode 100644 index 00000000..a7948b4c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400be190.c @@ -0,0 +1,47 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400be190 FUN_1400be190 + * Pseudocode, not original source. */ + +void FUN_1400be190(longlong param_1,undefined1 *param_2,int param_3,int param_4) + +{ + undefined1 uVar1; + byte bVar2; + + if (*(int *)(param_1 + 0x1714) < 9) { + if (*(int *)(param_1 + 0x1714) < 1) goto LAB_1400be1ea; + uVar1 = *(undefined1 *)(param_1 + 0x1710); + } + else { + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1710); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + uVar1 = *(undefined1 *)(param_1 + 0x1711); + } + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = uVar1; + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; +LAB_1400be1ea: + *(undefined4 *)(param_1 + 0x170c) = 8; + *(undefined2 *)(param_1 + 0x1710) = 0; + *(undefined4 *)(param_1 + 0x1714) = 0; + if (param_4 != 0) { + *(byte *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = (byte)param_3; + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + bVar2 = (byte)((uint)param_3 >> 8); + *(byte *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = bVar2; + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(byte *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = ~(byte)param_3 + ; + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(byte *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = ~bVar2; + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + } + for (; param_3 != 0; param_3 = param_3 + -1) { + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = *param_2 + ; + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + param_2 = param_2 + 1; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400be2a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400be2a0.c new file mode 100644 index 00000000..3ac03716 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400be2a0.c @@ -0,0 +1,275 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400be2a0 FUN_1400be2a0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* WARNING: Type propagation algorithm not settling */ + +undefined8 +FUN_1400be2a0(int param_1,ushort *param_2,uint param_3,longlong *param_4,uint *param_5, + undefined *param_6) + +{ + uint uVar1; + byte bVar2; + ushort uVar4; + uint uVar5; + ushort *puVar6; + undefined8 uVar7; + byte bVar8; + longlong lVar9; + ulonglong uVar10; + uint uVar11; + ulonglong uVar12; + uint uVar13; + ulonglong uVar14; + int iVar15; + ulonglong uVar16; + uint uVar17; + int iVar18; + int iVar19; + uint uVar20; + uint uVar21; + byte bVar22; + bool bVar23; + undefined4 local_d8; + uint local_d0; + uint local_cc; + undefined *local_b0; + undefined *local_a8; + ushort local_88 [15]; + ushort local_6a [17]; + ulonglong local_48; + char cVar3; + + local_48 = DAT_14016f5a0 ^ (ulonglong)&local_d8; + uVar16 = 0; + puVar6 = local_88; + for (lVar9 = 0x10; lVar9 != 0; lVar9 = lVar9 + -1) { + *puVar6 = 0; + puVar6 = puVar6 + 1; + } + if (param_3 != 0) { + uVar12 = (ulonglong)param_3; + puVar6 = param_2; + do { + uVar4 = *puVar6; + puVar6 = puVar6 + 1; + local_88[uVar4] = local_88[uVar4] + 1; + uVar12 = uVar12 - 1; + } while (uVar12 != 0); + } + uVar20 = 0xf; + puVar6 = local_6a; + uVar12 = 0xffffffff; + do { + if (*puVar6 != 0) break; + uVar20 = uVar20 - 1; + puVar6 = puVar6 + -1; + } while (uVar20 != 0); + uVar1 = *param_5; + if (uVar20 < *param_5) { + uVar1 = uVar20; + } + if (uVar20 == 0) { + *(undefined4 *)*param_4 = 0x140; + *param_4 = *param_4 + 4; + *(undefined4 *)*param_4 = 0x140; + *param_4 = *param_4 + 4; + *param_5 = 1; + uVar7 = 0; + } + else { + uVar21 = 1; + if (1 < uVar20) { + puVar6 = local_88; + do { + puVar6 = puVar6 + 1; + if (*puVar6 != 0) break; + uVar21 = uVar21 + 1; + } while (uVar21 < uVar20); + } + iVar15 = 1; + if (uVar1 < uVar21) { + uVar1 = uVar21; + } + uVar10 = 1; + do { + iVar15 = iVar15 * 2 - (uint)local_88[uVar10]; + if (iVar15 < 0) goto LAB_1400be74c; + uVar11 = (int)uVar10 + 1; + uVar10 = (ulonglong)uVar11; + } while (uVar11 < 0x10); + if ((iVar15 < 1) || ((param_1 != 0 && (uVar20 == 1)))) { + local_6a[2] = 0; + lVar9 = 0xe; + uVar10 = uVar16; + do { + lVar9 = lVar9 + -1; + *(short *)((longlong)local_6a + uVar10 + 6) = + *(short *)((longlong)local_88 + uVar10 + 2) + + *(short *)((longlong)local_6a + uVar10 + 4); + uVar10 = uVar10 + 2; + } while (lVar9 != 0); + puVar6 = param_2; + uVar10 = uVar16; + if (param_3 != 0) { + do { + if (*puVar6 != 0) { + *(short *)(param_6 + (ulonglong)local_6a[(ulonglong)*puVar6 + 1] * 2) = (short)uVar10; + local_6a[(ulonglong)*puVar6 + 1] = local_6a[(ulonglong)*puVar6 + 1] + 1; + } + uVar11 = (int)uVar10 + 1; + puVar6 = puVar6 + 1; + uVar10 = (ulonglong)uVar11; + } while (uVar11 < param_3); + } + if (param_1 == 0) { + local_a8 = param_6; + local_b0 = param_6; + iVar15 = 0x13; + } + else if (param_1 == 1) { + iVar15 = 0x100; + local_b0 = &DAT_140123116; + local_a8 = &DAT_140123156; + } + else { + iVar15 = -1; + local_b0 = &DAT_1401233a0; + local_a8 = &DAT_1401233e0; + } + bVar8 = (byte)uVar1; + local_cc = 1 << (bVar8 & 0x1f); + uVar14 = (ulonglong)local_cc; + local_d0 = 0; + lVar9 = *param_4; + uVar5 = local_cc - 1; + uVar10 = uVar16; + uVar11 = 0; + if (param_1 == 1) { + uVar12 = 0xffffffff; + if (local_cc < 0x354) { +LAB_1400be510: + do { + do { + cVar3 = (char)uVar21; + bVar22 = (byte)uVar11; + bVar2 = cVar3 - bVar22; + uVar4 = *(ushort *)(param_6 + uVar10 * 2); + if ((int)(uint)uVar4 < iVar15) { + local_d8._0_2_ = (ushort)bVar2 << 8; + } + else if (iVar15 < (int)(uint)uVar4) { + local_d8._0_2_ = + CONCAT11(bVar2,local_a8[(ulonglong)*(ushort *)(param_6 + uVar10 * 2) * 2]); + uVar4 = *(ushort *)(local_b0 + (ulonglong)*(ushort *)(param_6 + uVar10 * 2) * 2); + } + else { + local_d8 = CONCAT31((uint3)bVar2,0x60); + uVar4 = 0; + } + uVar13 = (uint)uVar16; + local_d8 = CONCAT22(uVar4,(ushort)local_d8); + iVar18 = 1 << (cVar3 - bVar22 & 0x1f); + uVar10 = (ulonglong)((uVar13 >> (bVar22 & 0x1f)) + (int)uVar14); + uVar16 = uVar14; + do { + uVar10 = (ulonglong)(uint)((int)uVar10 - iVar18); + uVar17 = (int)uVar16 - iVar18; + uVar16 = (ulonglong)uVar17; + *(uint *)(lVar9 + uVar10 * 4) = local_d8; + } while (uVar17 != 0); + for (uVar17 = 1 << (cVar3 - 1U & 0x1f); (uVar13 & uVar17) != 0; uVar17 = uVar17 >> 1) + { + } + if (uVar17 == 0) { + uVar16 = 0; + } + else { + uVar16 = (ulonglong)(uVar17 + (uVar17 - 1 & uVar13)); + } + local_d0 = local_d0 + 1; + uVar10 = (ulonglong)local_d0; + puVar6 = local_88 + uVar21; + *puVar6 = *puVar6 - 1; + uVar13 = (uint)uVar16; + if (*puVar6 == 0) { + if (uVar21 == uVar20) { + local_d8._0_2_ = CONCAT11(cVar3 - bVar22,0x40); + local_d8 = (uint)(ushort)local_d8; + goto joined_r0x0001400be6dc; + } + uVar21 = (uint)param_2[*(ushort *)(param_6 + uVar10 * 2)]; + } + } while (uVar21 <= uVar1); + uVar13 = uVar5 & uVar13; + } while (uVar13 == (uint)uVar12); + if (uVar11 == 0) { + uVar11 = uVar1; + } + lVar9 = lVar9 + uVar14 * 4; + iVar19 = uVar21 - uVar11; + uVar17 = uVar11 + iVar19; + for (iVar18 = 1 << ((byte)iVar19 & 0x1f); + (uVar17 < uVar20 && + (uVar12 = (ulonglong)uVar17, 0 < (int)(iVar18 - (uint)local_88[uVar12]))); + iVar18 = (iVar18 - (uint)local_88[uVar12]) * 2) { + uVar17 = uVar17 + 1; + iVar19 = iVar19 + 1; + } + uVar17 = 1 << ((byte)iVar19 & 0x1f); + uVar14 = (ulonglong)uVar17; + local_cc = local_cc + uVar17; + if (param_1 == 1) { + bVar23 = local_cc < 0x354; +LAB_1400be67e: + if (!bVar23) goto LAB_1400be4ea; + } + else if (param_1 == 2) { + bVar23 = local_cc < 0x250; + goto LAB_1400be67e; + } + uVar12 = (ulonglong)uVar13; + *(byte *)(*param_4 + (ulonglong)uVar13 * 4) = (byte)iVar19; + *(byte *)(*param_4 + 1 + uVar12 * 4) = bVar8; + *(short *)(*param_4 + 2 + uVar12 * 4) = (short)(lVar9 - *param_4 >> 2); + uVar10 = (ulonglong)local_d0; + goto LAB_1400be510; + } + } + else if ((param_1 != 2) || (uVar16 = 0, uVar10 = 0, uVar11 = 0, local_cc < 0x250)) + goto LAB_1400be510; +LAB_1400be4ea: + uVar7 = 1; + } + else { +LAB_1400be74c: + uVar7 = 0xffffffff; + } + } + return uVar7; +joined_r0x0001400be6dc: + if (uVar13 == 0) { +LAB_1400be738: + *param_4 = *param_4 + (ulonglong)local_cc * 4; + *param_5 = uVar1; + return 0; + } + uVar20 = (uint)uVar16; + if ((uVar11 != 0) && ((uVar5 & uVar20) != (uint)uVar12)) { + lVar9 = *param_4; + local_d8._0_2_ = CONCAT11(bVar8,(undefined1)local_d8); + local_d8 = (uint)(ushort)local_d8; + uVar21 = uVar1; + uVar11 = 0; + } + *(uint *)(lVar9 + (uVar16 >> ((byte)uVar11 & 0x3f)) * 4) = local_d8; + for (uVar13 = 1 << ((char)uVar21 - 1U & 0x1f); (uVar20 & uVar13) != 0; uVar13 = uVar13 >> 1) { + } + if (uVar13 == 0) goto LAB_1400be738; + uVar13 = (uVar20 & uVar13 - 1) + uVar13; + uVar16 = (ulonglong)uVar13; + goto joined_r0x0001400be6dc; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400be780.c b/decomp/AgentManager_Release_x64/full/functions/0x1400be780.c new file mode 100644 index 00000000..3c1a9238 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400be780.c @@ -0,0 +1,20 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400be780 FUN_1400be780 + * Pseudocode, not original source. */ + +void FUN_1400be780(longlong param_1) + +{ + *(undefined4 *)(param_1 + 0x170c) = 8; + *(longlong *)(param_1 + 0xb40) = param_1 + 0xbc; + *(undefined ***)(param_1 + 0xb50) = &PTR_DAT_140170e60; + *(longlong *)(param_1 + 0xb58) = param_1 + 0x9b0; + *(undefined ***)(param_1 + 0xb68) = &PTR_DAT_140170e80; + *(longlong *)(param_1 + 0xb70) = param_1 + 0xaa4; + *(undefined **)(param_1 + 0xb80) = &DAT_140170ea0; + *(undefined2 *)(param_1 + 0x1710) = 0; + *(undefined4 *)(param_1 + 0x1714) = 0; + FUN_1400bcfb0(param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400be800.c b/decomp/AgentManager_Release_x64/full/functions/0x1400be800.c new file mode 100644 index 00000000..19198c3d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400be800.c @@ -0,0 +1,60 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400be800 FUN_1400be800 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* WARNING: Type propagation algorithm not settling */ + +void FUN_1400be800(longlong param_1,int param_2,longlong param_3) + +{ + longlong lVar1; + ushort uVar2; + ulonglong uVar3; + uint uVar4; + ulonglong uVar5; + uint uVar6; + ulonglong uVar7; + short sVar8; + uint uVar9; + longlong lVar10; + ulonglong uVar11; + short sStack_3a; + ushort auStack_38 [16]; + ulonglong local_18; + + local_18 = DAT_14016f5a0 ^ (ulonglong)auStack_38; + sVar8 = 0; + lVar10 = 1; + do { + lVar1 = lVar10 * 2; + lVar10 = lVar10 + 1; + sVar8 = (sVar8 + *(short *)(param_3 + lVar1 + -2)) * 2; + (&sStack_3a)[lVar10] = sVar8; + } while (lVar10 < 0x10); + uVar11 = 0; + if (-1 < param_2) { + do { + uVar2 = *(ushort *)(param_1 + 2 + uVar11 * 4); + uVar7 = (ulonglong)uVar2; + if (uVar2 != 0) { + uVar2 = auStack_38[uVar7]; + auStack_38[uVar7] = uVar2 + 1; + uVar3 = 0; + uVar9 = (uint)uVar2; + do { + uVar5 = uVar3; + uVar6 = (int)uVar7 - 1; + uVar7 = (ulonglong)uVar6; + uVar4 = uVar9 & 1; + uVar3 = (ulonglong)(((uint)uVar5 | uVar4) * 2); + uVar9 = uVar9 >> 1; + } while (0 < (int)uVar6); + *(ushort *)(param_1 + uVar11 * 4) = (ushort)uVar5 | (ushort)uVar4; + } + uVar11 = uVar11 + 1; + } while ((longlong)uVar11 <= (longlong)param_2); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400be8b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400be8b0.c new file mode 100644 index 00000000..0f74ffe6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400be8b0.c @@ -0,0 +1,104 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400be8b0 FUN_1400be8b0 + * Pseudocode, not original source. */ + +void FUN_1400be8b0(longlong param_1,longlong *param_2) + +{ + byte bVar1; + longlong lVar2; + byte bVar3; + int iVar4; + longlong lVar5; + longlong lVar6; + int iVar7; + int iVar8; + int iVar9; + ulonglong uVar10; + + lVar2 = *param_2; + iVar4 = *(int *)(param_2[2] + 0x14); + uVar10 = (ulonglong)iVar4; + lVar6 = *(longlong *)param_2[2]; + iVar7 = -1; + *(undefined4 *)(param_1 + 0x149c) = 0; + *(undefined4 *)(param_1 + 0x14a0) = 0x23d; + iVar8 = 0; + lVar5 = 0; + if (0 < iVar4) { + do { + if (*(short *)(lVar2 + lVar5 * 4) == 0) { + *(undefined2 *)(lVar2 + 2 + lVar5 * 4) = 0; + } + else { + *(int *)(param_1 + 0x149c) = *(int *)(param_1 + 0x149c) + 1; + *(int *)(param_1 + 0xba8 + (longlong)*(int *)(param_1 + 0x149c) * 4) = iVar8; + *(undefined1 *)(lVar5 + 0x14a4 + param_1) = 0; + iVar7 = iVar8; + } + lVar5 = lVar5 + 1; + iVar8 = iVar8 + 1; + } while (lVar5 < (longlong)uVar10); + } + iVar4 = *(int *)(param_1 + 0x149c); + while (iVar4 < 2) { + if (iVar7 < 2) { + iVar7 = iVar7 + 1; + iVar4 = iVar7; + } + else { + iVar4 = 0; + } + *(int *)(param_1 + 0x149c) = *(int *)(param_1 + 0x149c) + 1; + *(int *)(param_1 + 0xba8 + (longlong)*(int *)(param_1 + 0x149c) * 4) = iVar4; + lVar5 = (longlong)iVar4; + *(undefined2 *)(lVar2 + lVar5 * 4) = 1; + *(undefined1 *)(lVar5 + 0x14a4 + param_1) = 0; + *(int *)(param_1 + 0x1700) = *(int *)(param_1 + 0x1700) + -1; + if (lVar6 != 0) { + *(int *)(param_1 + 0x1704) = + *(int *)(param_1 + 0x1704) - (uint)*(ushort *)(lVar6 + 2 + lVar5 * 4); + } + iVar4 = *(int *)(param_1 + 0x149c); + } + *(int *)(param_2 + 1) = iVar7; + for (iVar4 = *(int *)(param_1 + 0x149c) / 2; 0 < iVar4; iVar4 = iVar4 + -1) { + FUN_1400bd030(param_1,lVar2,iVar4); + } + do { + iVar4 = *(int *)(param_1 + 0xbac); + lVar5 = (longlong)iVar4; + *(undefined4 *)(param_1 + 0xbac) = + *(undefined4 *)(param_1 + 0xba8 + (longlong)*(int *)(param_1 + 0x149c) * 4); + *(int *)(param_1 + 0x149c) = *(int *)(param_1 + 0x149c) + -1; + FUN_1400bd030(param_1,lVar2,1); + *(int *)(param_1 + 0x14a0) = *(int *)(param_1 + 0x14a0) + -1; + iVar8 = *(int *)(param_1 + 0xbac); + lVar6 = (longlong)iVar8; + iVar9 = (int)uVar10; + *(int *)(param_1 + 0xba8 + (longlong)*(int *)(param_1 + 0x14a0) * 4) = iVar4; + *(int *)(param_1 + 0x14a0) = *(int *)(param_1 + 0x14a0) + -1; + *(int *)(param_1 + 0xba8 + (longlong)*(int *)(param_1 + 0x14a0) * 4) = iVar8; + *(short *)(lVar2 + (longlong)iVar9 * 4) = + *(short *)(lVar2 + lVar6 * 4) + *(short *)(lVar2 + lVar5 * 4); + bVar3 = *(byte *)(lVar5 + 0x14a4 + param_1); + bVar1 = *(byte *)(lVar6 + 0x14a4 + param_1); + if (bVar3 < bVar1) { + bVar3 = bVar1; + } + *(byte *)((longlong)iVar9 + 0x14a4 + param_1) = bVar3 + 1; + *(short *)(lVar2 + 2 + lVar6 * 4) = (short)uVar10; + *(short *)(lVar2 + 2 + lVar5 * 4) = (short)uVar10; + *(int *)(param_1 + 0xbac) = iVar9; + uVar10 = (ulonglong)(iVar9 + 1); + lVar6 = param_1; + FUN_1400bd030(param_1,lVar2,1); + } while (1 < *(int *)(param_1 + 0x149c)); + *(int *)(param_1 + 0x14a0) = *(int *)(param_1 + 0x14a0) + -1; + *(undefined4 *)(param_1 + 0xba8 + (longlong)*(int *)(param_1 + 0x14a0) * 4) = + *(undefined4 *)(param_1 + 0xbac); + FUN_1400bd120(lVar6,param_2); + FUN_1400be800(lVar2,iVar7,param_1 + 0xb88); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400beb00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400beb00.c new file mode 100644 index 00000000..fc8f52e0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400beb00.c @@ -0,0 +1,25 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400beb00 FUN_1400beb00 + * Pseudocode, not original source. */ + +int FUN_1400beb00(longlong param_1) + +{ + longlong lVar1; + int iVar2; + + lVar1 = param_1; + FUN_1400bd340(param_1,param_1 + 0xbc,*(int *)(param_1 + 0xb48)); + FUN_1400bd340(lVar1,lVar1 + 0x9b0,*(int *)(lVar1 + 0xb60)); + FUN_1400be8b0(lVar1,(longlong *)(lVar1 + 0xb70)); + iVar2 = 0x12; + lVar1 = 0x12; + do { + if (*(short *)(param_1 + 0xaa6 + (ulonglong)(byte)(&DAT_1401229d0)[lVar1] * 4) != 0) break; + lVar1 = lVar1 + -1; + iVar2 = iVar2 + -1; + } while (2 < lVar1); + *(int *)(param_1 + 0x1700) = *(int *)(param_1 + 0x1700) + iVar2 * 3 + 0x11; + return iVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400beb80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400beb80.c new file mode 100644 index 00000000..05dd2862 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400beb80.c @@ -0,0 +1,31 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400beb80 FUN_1400beb80 + * Pseudocode, not original source. */ + +void FUN_1400beb80(longlong param_1,undefined1 *param_2,int param_3,ushort param_4) + +{ + int iVar1; + int iVar2; + + iVar1 = *(int *)(param_1 + 0x1714); + if (iVar1 < 0xe) { + iVar2 = iVar1 + 3; + *(ushort *)(param_1 + 0x1710) = *(ushort *)(param_1 + 0x1710) | param_4 << ((byte)iVar1 & 0x1f); + } + else { + *(ushort *)(param_1 + 0x1710) = *(ushort *)(param_1 + 0x1710) | param_4 << ((byte)iVar1 & 0x1f); + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1710); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1711); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + iVar2 = *(int *)(param_1 + 0x1714) + -0xd; + *(ushort *)(param_1 + 0x1710) = param_4 >> (0x10U - (char)*(int *)(param_1 + 0x1714) & 0x1f); + } + *(int *)(param_1 + 0x1714) = iVar2; + FUN_1400be190(param_1,param_2,param_3,1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400bec20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400bec20.c new file mode 100644 index 00000000..7dd4f388 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400bec20.c @@ -0,0 +1,84 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400bec20 FUN_1400bec20 + * Pseudocode, not original source. */ + +void FUN_1400bec20(longlong param_1) + +{ + ushort uVar1; + int iVar2; + int iVar3; + + iVar3 = *(int *)(param_1 + 0x1714); + *(ushort *)(param_1 + 0x1710) = *(ushort *)(param_1 + 0x1710) | 2 << ((byte)iVar3 & 0x1f); + if (iVar3 < 0xe) { + iVar3 = iVar3 + 3; + } + else { + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1710); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1711); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(ushort *)(param_1 + 0x1710) = 2 >> (0x10U - (char)*(int *)(param_1 + 0x1714) & 0x1f); + iVar3 = *(int *)(param_1 + 0x1714) + -0xd; + } + *(int *)(param_1 + 0x1714) = iVar3; + uVar1 = 0; + *(ushort *)(param_1 + 0x1710) = *(ushort *)(param_1 + 0x1710) | 0 << ((byte)iVar3 & 0x1f); + if (iVar3 < 10) { + iVar3 = iVar3 + 7; + } + else { + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1710); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1711); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(ushort *)(param_1 + 0x1710) = 0 >> (0x10U - (char)*(int *)(param_1 + 0x1714) & 0x1f); + iVar3 = *(int *)(param_1 + 0x1714) + -9; + } + *(int *)(param_1 + 0x1714) = iVar3; + FUN_1400be100(param_1); + iVar3 = *(int *)(param_1 + 0x1714); + if ((*(int *)(param_1 + 0x170c) - iVar3) + 0xb < 9) { + if (iVar3 < 0xe) { + iVar2 = iVar3 + 3; + *(ushort *)(param_1 + 0x1710) = *(ushort *)(param_1 + 0x1710) | 2 << ((byte)iVar3 & 0x1f); + } + else { + *(ushort *)(param_1 + 0x1710) = *(ushort *)(param_1 + 0x1710) | 2 << ((byte)iVar3 & 0x1f); + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1710); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1711); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + iVar2 = *(int *)(param_1 + 0x1714) + -0xd; + *(ushort *)(param_1 + 0x1710) = 2 >> (0x10U - (char)*(int *)(param_1 + 0x1714) & 0x1f); + } + *(int *)(param_1 + 0x1714) = iVar2; + if (iVar2 < 10) { + iVar3 = iVar2 + 7; + *(ushort *)(param_1 + 0x1710) = *(ushort *)(param_1 + 0x1710) | uVar1 << ((byte)iVar2 & 0x1f); + } + else { + *(ushort *)(param_1 + 0x1710) = *(ushort *)(param_1 + 0x1710) | uVar1 << ((byte)iVar2 & 0x1f); + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1710); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1711); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + iVar3 = *(int *)(param_1 + 0x1714) + -9; + *(ushort *)(param_1 + 0x1710) = uVar1 >> (0x10U - (char)*(int *)(param_1 + 0x1714) & 0x1f); + } + *(int *)(param_1 + 0x1714) = iVar3; + FUN_1400be100(param_1); + } + *(undefined4 *)(param_1 + 0x170c) = 7; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400bee40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400bee40.c new file mode 100644 index 00000000..7d644867 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400bee40.c @@ -0,0 +1,113 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400bee40 FUN_1400bee40 + * Pseudocode, not original source. */ + +void FUN_1400bee40(longlong *param_1,undefined1 *param_2,int param_3,int param_4) + +{ + ushort uVar1; + undefined1 uVar2; + int iVar3; + int iVar4; + undefined8 uVar5; + uint uVar6; + uint uVar7; + undefined *puVar8; + longlong *plVar9; + longlong lVar10; + + uVar1 = (ushort)param_4; + iVar3 = 0; + if (*(int *)((longlong)param_1 + 0xac) < 1) { + uVar7 = param_3 + 5; +LAB_1400beed3: + uVar6 = uVar7; + uVar7 = uVar6; + } + else { + lVar10 = *param_1; + if (*(int *)(lVar10 + 0x48) == 2) { + uVar5 = FUN_1400be080((longlong)param_1); + *(int *)(lVar10 + 0x48) = (int)uVar5; + } + FUN_1400be8b0((longlong)param_1,param_1 + 0x168); + FUN_1400be8b0((longlong)param_1,param_1 + 0x16b); + iVar3 = FUN_1400beb00((longlong)param_1); + uVar6 = (int)param_1[0x2e0] + 10U >> 3; + uVar7 = *(int *)((longlong)param_1 + 0x1704) + 10U >> 3; + if (uVar7 <= uVar6) goto LAB_1400beed3; + } + if ((uVar6 < param_3 + 4U) || (param_2 == (undefined1 *)0x0)) { + if (((int)param_1[0x16] == 4) || (uVar7 == uVar6)) { + iVar3 = *(int *)((longlong)param_1 + 0x1714); + if (iVar3 < 0xe) { + *(ushort *)(param_1 + 0x2e2) = + *(ushort *)(param_1 + 0x2e2) | uVar1 + 2 << ((byte)iVar3 & 0x1f); + iVar3 = iVar3 + 3; + } + else { + *(ushort *)(param_1 + 0x2e2) = + *(ushort *)(param_1 + 0x2e2) | uVar1 + 2 << ((byte)iVar3 & 0x1f); + *(char *)((ulonglong)*(uint *)(param_1 + 5) + param_1[2]) = (char)param_1[0x2e2]; + *(int *)(param_1 + 5) = (int)param_1[5] + 1; + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 5) + param_1[2]) = + *(undefined1 *)((longlong)param_1 + 0x1711); + *(int *)(param_1 + 5) = (int)param_1[5] + 1; + iVar3 = *(int *)((longlong)param_1 + 0x1714) + -0xd; + *(ushort *)(param_1 + 0x2e2) = + (ushort)(uVar1 + 2) >> (0x10U - (char)*(int *)((longlong)param_1 + 0x1714) & 0x1f); + } + *(int *)((longlong)param_1 + 0x1714) = iVar3; + plVar9 = (longlong *)&DAT_140122e70; + puVar8 = &DAT_1401229f0; + } + else { + iVar4 = *(int *)((longlong)param_1 + 0x1714); + if (iVar4 < 0xe) { + *(ushort *)(param_1 + 0x2e2) = + *(ushort *)(param_1 + 0x2e2) | uVar1 + 4 << ((byte)iVar4 & 0x1f); + iVar4 = iVar4 + 3; + } + else { + *(ushort *)(param_1 + 0x2e2) = + *(ushort *)(param_1 + 0x2e2) | uVar1 + 4 << ((byte)iVar4 & 0x1f); + *(char *)((ulonglong)*(uint *)(param_1 + 5) + param_1[2]) = (char)param_1[0x2e2]; + *(int *)(param_1 + 5) = (int)param_1[5] + 1; + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 5) + param_1[2]) = + *(undefined1 *)((longlong)param_1 + 0x1711); + *(int *)(param_1 + 5) = (int)param_1[5] + 1; + iVar4 = *(int *)((longlong)param_1 + 0x1714) + -0xd; + *(ushort *)(param_1 + 0x2e2) = + (ushort)(uVar1 + 4) >> (0x10U - (char)*(int *)((longlong)param_1 + 0x1714) & 0x1f); + } + *(int *)((longlong)param_1 + 0x1714) = iVar4; + FUN_1400bd9a0((longlong)param_1,(int)param_1[0x169] + 1,(int)param_1[0x16c] + 1,iVar3 + 1); + plVar9 = param_1 + 0x136; + puVar8 = (undefined *)((longlong)param_1 + 0xbc); + } + FUN_1400bdc10((longlong)param_1,(longlong)puVar8,(longlong)plVar9); + } + else { + FUN_1400beb80((longlong)param_1,param_2,param_3,uVar1); + } + FUN_1400bcfb0((longlong)param_1); + if (param_4 == 0) { + return; + } + if (*(int *)((longlong)param_1 + 0x1714) < 9) { + if (*(int *)((longlong)param_1 + 0x1714) < 1) goto LAB_1400bf090; + uVar2 = (undefined1)param_1[0x2e2]; + } + else { + *(char *)((ulonglong)*(uint *)(param_1 + 5) + param_1[2]) = (char)param_1[0x2e2]; + *(int *)(param_1 + 5) = (int)param_1[5] + 1; + uVar2 = *(undefined1 *)((longlong)param_1 + 0x1711); + } + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 5) + param_1[2]) = uVar2; + *(int *)(param_1 + 5) = (int)param_1[5] + 1; +LAB_1400bf090: + *(undefined2 *)(param_1 + 0x2e2) = 0; + *(undefined4 *)((longlong)param_1 + 0x1714) = 0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400bf0c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400bf0c0.c new file mode 100644 index 00000000..fceb7b6e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400bf0c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400bf0c0 FUN_1400bf0c0 + * Pseudocode, not original source. */ + +void FUN_1400bf0c0(undefined8 *param_1) + +{ + *param_1 = Proud::ISendSpeedMeasurerDg::vftable; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400bf0d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400bf0d0.c new file mode 100644 index 00000000..3e51315b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400bf0d0.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400bf0d0 FUN_1400bf0d0 + * Pseudocode, not original source. */ + +undefined8 * FUN_1400bf0d0(undefined8 *param_1,byte param_2) + +{ + *param_1 = Proud::ISendSpeedMeasurerDg::vftable; + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400bf100.c b/decomp/AgentManager_Release_x64/full/functions/0x1400bf100.c new file mode 100644 index 00000000..70c577ae --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400bf100.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400bf100 FUN_1400bf100 + * Pseudocode, not original source. */ + +void FUN_1400bf100(longlong param_1,uint *param_2,undefined8 param_3,undefined8 param_4) + +{ + (**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x108) + 0x78) + 0x10)) + (*(longlong *)(param_1 + 0x108) + 0x78); + FUN_1400d0530(*(longlong **)(param_1 + 0x108),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400bf140.c b/decomp/AgentManager_Release_x64/full/functions/0x1400bf140.c new file mode 100644 index 00000000..bca6be7c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400bf140.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400bf140 FUN_1400bf140 + * Pseudocode, not original source. */ + +void FUN_1400bf140(longlong param_1,uint *param_2,undefined8 param_3,undefined8 param_4) + +{ + (**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x108) + 0x78) + 0x10)) + (*(longlong *)(param_1 + 0x108) + 0x78); + FUN_1400d0cd0(*(longlong **)(param_1 + 0x108),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400bf180.c b/decomp/AgentManager_Release_x64/full/functions/0x1400bf180.c new file mode 100644 index 00000000..905823ee --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400bf180.c @@ -0,0 +1,20 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400bf180 FUN_1400bf180 + * Pseudocode, not original source. */ + +void FUN_1400bf180(longlong param_1,int param_2) + +{ + undefined8 uVar1; + + if (*(int *)(param_1 + 0x100) < param_2) { + *(undefined4 *)(param_1 + 0x40) = 0; + *(int *)(param_1 + 0x100) = param_2; + uVar1 = (**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x108) + 0x70) + 0x1c0)) + (*(longlong *)(param_1 + 0x108) + 0x70); + *(undefined8 *)(param_1 + 0x80) = uVar1; + *(undefined1 *)(param_1 + 0xc0) = 0; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400bf1e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400bf1e0.c new file mode 100644 index 00000000..63c7062d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400bf1e0.c @@ -0,0 +1,50 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400bf1e0 FUN_1400bf1e0 + * Pseudocode, not original source. */ + +void FUN_1400bf1e0(longlong *param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong *plVar1; + longlong lVar2; + exception local_58 [88]; + + if ((longlong *)param_2[2] != param_1) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_CListNode_reports_a_consistency_p_14016f4a0, + L"Proud::CListNode::CListOwner::Erase",param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + plVar1 = (longlong *)param_2[1]; + lVar2 = *param_2; + if (plVar1 != (longlong *)0x0) { + *plVar1 = lVar2; + } + if (lVar2 != 0) { + *(longlong **)(lVar2 + 8) = plVar1; + } + if (plVar1 == (longlong *)0x0) { + if ((longlong *)param_1[1] != param_2) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_CListNode_reports_a_consistency_p_14016f4a0, + L"Proud::CListNode::CListOwner::Erase",param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + param_1[1] = lVar2; + } + if (lVar2 == 0) { + if ((longlong *)*param_1 != param_2) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_CListNode_reports_a_consistency_p_14016f4a0, + L"Proud::CListNode::CListOwner::Erase",param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + *param_1 = (longlong)plVar1; + } + *param_2 = 0; + param_2[1] = 0; + param_2[2] = 0; + *(int *)(param_1 + 2) = (int)param_1[2] + -1; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400bf2c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400bf2c0.c new file mode 100644 index 00000000..0e44dfb0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400bf2c0.c @@ -0,0 +1,25 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400bf2c0 FUN_1400bf2c0 + * Pseudocode, not original source. */ + +void FUN_1400bf2c0(longlong param_1,uint *param_2) + +{ + longlong *plVar1; + longlong lVar2; + + lVar2 = 0; + plVar1 = *(longlong **)(*(longlong *)(param_1 + 0x108) + 0x1570); + if (plVar1 != (longlong *)0x0) { + lVar2 = *plVar1; + } + FUN_140079ed0(param_2,(undefined4 *)(lVar2 + 8)); + plVar1 = *(longlong **)(*(longlong *)(param_1 + 0x108) + 0x1570); + if (plVar1 == (longlong *)0x0) { + uRam0000000000000100 = 0; + return; + } + *(undefined8 *)(*plVar1 + 0x100) = 0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400bf340.c b/decomp/AgentManager_Release_x64/full/functions/0x1400bf340.c new file mode 100644 index 00000000..d22a7daf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400bf340.c @@ -0,0 +1,21 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400bf340 FUN_1400bf340 + * Pseudocode, not original source. */ + +void FUN_1400bf340(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 uVar1; + + FUN_1400b50c0(*(longlong **)(param_1 + 0x108),7,0,param_4); + if (*(int *)(param_1 + 0x100) < 4) { + *(undefined4 *)(param_1 + 0x40) = 0; + *(undefined4 *)(param_1 + 0x100) = 4; + uVar1 = (**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x108) + 0x70) + 0x1c0)) + (*(longlong *)(param_1 + 0x108) + 0x70); + *(undefined8 *)(param_1 + 0x80) = uVar1; + *(undefined1 *)(param_1 + 0xc0) = 0; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400bf3b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400bf3b0.c new file mode 100644 index 00000000..d1ce8cf8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400bf3b0.c @@ -0,0 +1,21 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400bf3b0 FUN_1400bf3b0 + * Pseudocode, not original source. */ + +void FUN_1400bf3b0(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 uVar1; + + FUN_1400b50c0(*(longlong **)(param_1 + 0x108),8,0,param_4); + if (*(int *)(param_1 + 0x100) < 4) { + *(undefined4 *)(param_1 + 0x40) = 0; + *(undefined4 *)(param_1 + 0x100) = 4; + uVar1 = (**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x108) + 0x70) + 0x1c0)) + (*(longlong *)(param_1 + 0x108) + 0x70); + *(undefined8 *)(param_1 + 0x80) = uVar1; + *(undefined1 *)(param_1 + 0xc0) = 0; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400bf420.c b/decomp/AgentManager_Release_x64/full/functions/0x1400bf420.c new file mode 100644 index 00000000..32a2ea81 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400bf420.c @@ -0,0 +1,21 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400bf420 FUN_1400bf420 + * Pseudocode, not original source. */ + +void FUN_1400bf420(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 uVar1; + + FUN_1400b50c0(*(longlong **)(param_1 + 0x108),9,0,param_4); + if (*(int *)(param_1 + 0x100) < 4) { + *(undefined4 *)(param_1 + 0x40) = 0; + *(undefined4 *)(param_1 + 0x100) = 4; + uVar1 = (**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x108) + 0x70) + 0x1c0)) + (*(longlong *)(param_1 + 0x108) + 0x70); + *(undefined8 *)(param_1 + 0x80) = uVar1; + *(undefined1 *)(param_1 + 0xc0) = 0; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400bf490.c b/decomp/AgentManager_Release_x64/full/functions/0x1400bf490.c new file mode 100644 index 00000000..f835704a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400bf490.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400bf490 FUN_1400bf490 + * Pseudocode, not original source. */ + +void FUN_1400bf490(longlong param_1,longlong param_2,longlong param_3,undefined8 param_4) + +{ + longlong *plVar1; + longlong lVar2; + int *piVar3; + longlong lVar4; + longlong lVar5; + + lVar4 = param_2; + lVar5 = param_3; + piVar3 = (int *)(**(code **)(**(longlong **)(param_1 + 0x108) + 0x58))(); + FUN_14003d040(piVar3); + *(undefined1 *)(param_2 + 0x80) = 0; + if ((*(longlong **)(param_2 + 0x100) != (longlong *)0x0) && + (lVar2 = **(longlong **)(param_2 + 0x100), lVar2 != 0)) { + FUN_140045510(lVar2); + } + if (0 < *(int *)(param_3 + 8)) { + plVar1 = (longlong *)(*(longlong *)(param_1 + 0x108) + 0x668); + *plVar1 = *plVar1 + 1; + plVar1 = (longlong *)(*(longlong *)(param_1 + 0x108) + 0x670); + *plVar1 = *plVar1 + (longlong)*(int *)(param_3 + 8); + } + FUN_1400d2b90(param_2,lVar4,lVar5,param_4); + FUN_14003d0d0((longlong)piVar3); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400bf550.c b/decomp/AgentManager_Release_x64/full/functions/0x1400bf550.c new file mode 100644 index 00000000..2a02eb47 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400bf550.c @@ -0,0 +1,35 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400bf550 FUN_1400bf550 + * Pseudocode, not original source. */ + +void FUN_1400bf550(longlong param_1,uint param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong lVar1; + longlong lVar2; + undefined8 uVar3; + + lVar1 = FUN_14009c0f0(*(longlong *)(param_1 + 0x108)); + lVar2 = 0; + if (*(longlong **)(lVar1 + 0x128) != (longlong *)0x0) { + lVar2 = **(longlong **)(lVar1 + 0x128); + } + FUN_140043230(lVar2,'\x01'); + lVar1 = FUN_14009c0f0(*(longlong *)(param_1 + 0x108)); + lVar2 = 0; + if (*(longlong **)(lVar1 + 0x128) != (longlong *)0x0) { + lVar2 = **(longlong **)(lVar1 + 0x128); + } + FUN_140043140(lVar2,1); + FUN_1400b50c0(*(longlong **)(param_1 + 0x108),3,(ulonglong)param_2,param_4); + if (*(int *)(param_1 + 0x100) < 4) { + *(undefined4 *)(param_1 + 0x40) = 0; + *(undefined4 *)(param_1 + 0x100) = 4; + uVar3 = (**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x108) + 0x70) + 0x1c0)) + (*(longlong *)(param_1 + 0x108) + 0x70); + *(undefined8 *)(param_1 + 0x80) = uVar3; + *(undefined1 *)(param_1 + 0xc0) = 0; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400bf610.c b/decomp/AgentManager_Release_x64/full/functions/0x1400bf610.c new file mode 100644 index 00000000..12a562ff --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400bf610.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400bf610 FUN_1400bf610 + * Pseudocode, not original source. */ + +void FUN_1400bf610(longlong param_1,undefined8 param_2,undefined **param_3,undefined8 param_4) + +{ + uint uVar1; + int *piVar2; + longlong lVar3; + undefined8 uVar4; + + piVar2 = (int *)(**(code **)(**(longlong **)(param_1 + 0x108) + 0x58))(); + FUN_14003d040(piVar2); + lVar3 = FUN_14009c0f0(*(longlong *)(param_1 + 0x108)); + uVar1 = FUN_1400ce810(lVar3,param_2,param_3,param_4); + if ((uVar1 != 0) && + (FUN_1400b50c0(*(longlong **)(param_1 + 0x108),3,(ulonglong)uVar1,param_4), + *(int *)(param_1 + 0x100) < 4)) { + *(undefined4 *)(param_1 + 0x40) = 0; + *(undefined4 *)(param_1 + 0x100) = 4; + uVar4 = (**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x108) + 0x70) + 0x1c0))(); + *(undefined8 *)(param_1 + 0x80) = uVar4; + *(undefined1 *)(param_1 + 0xc0) = 0; + } + FUN_14003d0d0((longlong)piVar2); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400bf6d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400bf6d0.c new file mode 100644 index 00000000..52b66396 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400bf6d0.c @@ -0,0 +1,23 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400bf6d0 FUN_1400bf6d0 + * Pseudocode, not original source. */ + +void FUN_1400bf6d0(longlong param_1,undefined8 param_2,undefined **param_3,undefined8 param_4) + +{ + undefined8 uVar1; + + FUN_14009bc40(*(longlong *)(param_1 + 0x108)); + if (*(int *)(param_1 + 0x100) < 3) { + *(undefined4 *)(param_1 + 0x40) = 0; + *(undefined4 *)(param_1 + 0x100) = 3; + uVar1 = (**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x108) + 0x70) + 0x1c0)) + (*(longlong *)(param_1 + 0x108) + 0x70); + *(undefined8 *)(param_1 + 0x80) = uVar1; + *(undefined1 *)(param_1 + 0xc0) = 0; + } + FUN_1400bf610(param_1,param_2,param_3,param_4); + FUN_1400ac8a0(*(longlong **)(param_1 + 0x108),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400bf740.c b/decomp/AgentManager_Release_x64/full/functions/0x1400bf740.c new file mode 100644 index 00000000..660900e9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400bf740.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400bf740 FUN_1400bf740 + * Pseudocode, not original source. */ + +undefined8 FUN_1400bf740(longlong param_1) + +{ + char cVar1; + double dVar2; + undefined8 uVar3; + + if (*(char *)(param_1 + 0x1c0) == '\0') { + FUN_14003d040((int *)(param_1 + 0x1c8)); + FUN_14003d040((int *)(param_1 + 0x88)); + if (*(char *)(param_1 + 0x1c0) == '\0') { + cVar1 = FUN_140048a20(param_1 + 0x48); + if (cVar1 != '\0') { + FUN_1400488d0((char *)(param_1 + 0x48)); + dVar2 = FUN_140048960((char *)(param_1 + 0x48)); + *(double *)(param_1 + 0xc0) = dVar2; + } + } + *(undefined1 *)(param_1 + 0x1c0) = 1; + FUN_14003d0d0(param_1 + 0x88); + FUN_14003d0d0(param_1 + 0x1c8); + uVar3 = *(undefined8 *)(param_1 + 0xc0); + } + else { + uVar3 = *(undefined8 *)(param_1 + 0xc0); + } + return uVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400bf800.c b/decomp/AgentManager_Release_x64/full/functions/0x1400bf800.c new file mode 100644 index 00000000..e11fc172 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400bf800.c @@ -0,0 +1,19 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400bf800 FUN_1400bf800 + * Pseudocode, not original source. */ + +void FUN_1400bf800(longlong param_1,undefined8 param_2) + +{ + longlong lVar1; + longlong *plVar2; + undefined8 local_res10 [3]; + + local_res10[0] = param_2; + for (lVar1 = *(longlong *)(param_1 + 0x290); lVar1 != 0; lVar1 = *(longlong *)(lVar1 + 8)) { + plVar2 = (longlong *)(*(longlong *)(lVar1 + 0x108) + 0x1818); + (**(code **)(*plVar2 + 0x100))(plVar2,1,&DAT_140177f90,local_res10); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400bf860.c b/decomp/AgentManager_Release_x64/full/functions/0x1400bf860.c new file mode 100644 index 00000000..cf4861ab --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400bf860.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400bf860 FUN_1400bf860 + * Pseudocode, not original source. */ + +void FUN_1400bf860(longlong *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + if ((longlong *)param_1[2] != (longlong *)0x0) { + FUN_1400bf1e0((longlong *)param_1[2],param_1,param_3,param_4); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400bf880.c b/decomp/AgentManager_Release_x64/full/functions/0x1400bf880.c new file mode 100644 index 00000000..41c5ab51 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400bf880.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400bf880 FUN_1400bf880 + * Pseudocode, not original source. */ + +void FUN_1400bf880(undefined8 *param_1,longlong *param_2,longlong *param_3,undefined8 param_4) + +{ + undefined8 *puVar1; + + puVar1 = (undefined8 *)*param_1; + if (puVar1 != (undefined8 *)0x0) { + FUN_1400cc6b0(puVar1,param_2,param_3,param_4); + operator_delete(puVar1); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400bf8b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400bf8b0.c new file mode 100644 index 00000000..7520366f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400bf8b0.c @@ -0,0 +1,34 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400bf8b0 FUN_1400bf8b0 + * Pseudocode, not original source. */ + +undefined * +FUN_1400bf8b0(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + bool bVar1; + bool bVar2; + + bVar1 = false; + bVar2 = FUN_14003d0e0((int *)&DAT_14017c5d8); + if (bVar2) { + if (DAT_140170f00 == '\0') { + bVar1 = false; + } + else { + bVar1 = true; + FUN_14003d040((int *)&DAT_14017c5d8); + } + } + if ((DAT_14017c5d0 & 1) == 0) { + DAT_14017c5d0 = DAT_14017c5d0 | 1; + FUN_140083f30(&DAT_14017c540,param_2,param_3,param_4); + atexit((_func_5014 *)&LAB_140104890); + } + DAT_140170f00 = 0; + if (bVar1) { + FUN_14003d0d0(0x14017c5d8); + } + return &DAT_14017c540; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400bf970.c b/decomp/AgentManager_Release_x64/full/functions/0x1400bf970.c new file mode 100644 index 00000000..c58e4b01 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400bf970.c @@ -0,0 +1,57 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400bf970 FUN_1400bf970 + * Pseudocode, not original source. */ + +void FUN_1400bf970(longlong *param_1) + +{ + longlong lVar1; + longlong *plVar2; + longlong *plVar3; + exception local_58 [88]; + + lVar1 = *param_1; + while( true ) { + if (lVar1 == 0) { + return; + } + plVar2 = (longlong *)*param_1; + if ((longlong *)plVar2[2] != param_1) break; + plVar3 = (longlong *)plVar2[1]; + lVar1 = *plVar2; + if (plVar3 != (longlong *)0x0) { + *plVar3 = lVar1; + } + if (lVar1 != 0) { + *(longlong **)(lVar1 + 8) = plVar3; + } + if (plVar3 == (longlong *)0x0) { + if ((longlong *)param_1[1] != plVar2) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_CListNode_reports_a_consistency_p_14016f4a0, + L"Proud::CListNode::CListOwner::Erase",0); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + param_1[1] = lVar1; + } + if (lVar1 == 0) { + if ((longlong *)*param_1 != plVar2) { + FUN_14003db10(local_58,(wchar_t *)PTR_u_CListNode_reports_a_consistency_p_14016f4a0, + L"Proud::CListNode::CListOwner::Erase",0); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + *param_1 = (longlong)plVar3; + } + *plVar2 = 0; + plVar2[1] = 0; + plVar2[2] = 0; + *(int *)(param_1 + 2) = (int)param_1[2] + -1; + lVar1 = *param_1; + } + FUN_14003db10(local_58,(wchar_t *)PTR_u_CListNode_reports_a_consistency_p_14016f4a0, + L"Proud::CListNode::CListOwner::Erase",0); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400bfa60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400bfa60.c new file mode 100644 index 00000000..975b56f3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400bfa60.c @@ -0,0 +1,31 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400bfa60 FUN_1400bfa60 + * Pseudocode, not original source. */ + +void FUN_1400bfa60(longlong param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong *plVar1; + + FUN_14003d040((int *)(param_1 + 0x10)); + if ((longlong *)param_2[2] != (longlong *)0x0) { + FUN_1400bf1e0((longlong *)param_2[2],param_2,param_3,param_4); + } + plVar1 = (longlong *)(param_1 + 0x298); + if (param_2[2] != 0) { + FUN_1400bf1e0(plVar1,param_2,param_3,param_4); + } + if (*(longlong *)(param_1 + 0x2a0) == 0) { + *plVar1 = (longlong)param_2; + } + else { + *(longlong **)(*(longlong *)(param_1 + 0x2a0) + 8) = param_2; + *param_2 = *(longlong *)(param_1 + 0x2a0); + } + *(longlong **)(param_1 + 0x2a0) = param_2; + param_2[2] = (longlong)plVar1; + *(int *)(param_1 + 0x2a8) = *(int *)(param_1 + 0x2a8) + 1; + FUN_14003d0d0(param_1 + 0x10); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400bfb10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400bfb10.c new file mode 100644 index 00000000..49ca2ab3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400bfb10.c @@ -0,0 +1,20 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400bfb10 FUN_1400bfb10 + * Pseudocode, not original source. */ + +void FUN_1400bfb10(undefined8 *param_1,longlong *param_2,longlong *param_3,undefined8 param_4) + +{ + void *pvVar1; + + pvVar1 = (void *)*param_1; + if (pvVar1 != (void *)0x0) { + FUN_140047d90((longlong)pvVar1,param_2,param_3,param_4); + operator_delete(pvVar1); + *param_1 = 0; + return; + } + *param_1 = 0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400bfb60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400bfb60.c new file mode 100644 index 00000000..009ff6f6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400bfb60.c @@ -0,0 +1,26 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400bfb60 FUN_1400bfb60 + * Pseudocode, not original source. */ + +longlong * FUN_1400bfb60(longlong *param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong lVar1; + + lVar1 = 0; + *param_1 = 0; + param_1[1] = 0; + param_1[2] = 0; + param_1[0x1a] = 0; + *(undefined4 *)(param_1 + 8) = 0; + param_1[0x10] = 0; + *(undefined1 *)(param_1 + 0x18) = 0; + param_1[0x21] = param_2; + *(undefined4 *)(param_1 + 0x20) = 0; + if (*(longlong *)(param_1[0x21] + 0x5d8) != 0) { + lVar1 = *(longlong *)(*(longlong *)(param_1[0x21] + 0x5d8) + 0x38); + } + FUN_1400bfa60(lVar1,param_1,param_3,param_4); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400bfbd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400bfbd0.c new file mode 100644 index 00000000..130f4b82 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400bfbd0.c @@ -0,0 +1,51 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400bfbd0 FUN_1400bfbd0 + * Pseudocode, not original source. */ + +void FUN_1400bfbd0(longlong param_1,undefined8 param_2,undefined *param_3,undefined1 *param_4) + +{ + int *piVar1; + int iVar2; + undefined *puVar3; + int *piVar4; + longlong *plVar5; + undefined1 *puVar6; + undefined1 local_res8; + undefined7 uStackX_9; + + if (*(char *)(*(longlong *)(param_1 + 0x108) + 0x650) == '\0') { + plVar5 = (longlong *)(*(longlong *)(param_1 + 0x108) + 0x70); + local_res8 = 0; + iVar2 = (**(code **)(*plVar5 + 0x108))(plVar5,&local_res8,param_3,param_4,0xfffffffffffffffe); + if ((iVar2 == 2) && (*(int *)(*(longlong *)(param_1 + 0x108) + 0x1578) != 0)) { + plVar5 = (longlong *)(*(longlong *)(param_1 + 0x108) + 0x70); + puVar6 = &local_res8; + (**(code **)(*plVar5 + 0xb0))(); + puVar3 = (undefined *)CONCAT71(uStackX_9,local_res8); + if ((puVar3 != (undefined *)0x0) && + ((puVar3 != PTR_DAT_14016f010 && (0 < *(int *)(puVar3 + -8))))) { + *(undefined1 *)(*(longlong *)(param_1 + 0x108) + 0x650) = 1; + plVar5 = (longlong *)(*(longlong *)(param_1 + 0x108) + 0x1818); + param_4 = &local_res8; + param_3 = &DAT_140177f90; + puVar6 = (undefined1 *)0x1; + (**(code **)(*plVar5 + 0xf0))(); + puVar3 = (undefined *)CONCAT71(uStackX_9,local_res8); + } + if (((puVar3 != (undefined *)0x0) && (puVar3 != PTR_DAT_14016f010)) && + (puVar3 + -8 != (undefined *)0x0)) { + piVar4 = (int *)FUN_14003e7c0(plVar5,puVar6,param_3,param_4); + FUN_14003d040(piVar4); + piVar1 = (int *)(puVar3 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(puVar3 + -8); + } + FUN_14003d0d0((longlong)piVar4); + } + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400bfcf0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400bfcf0.c new file mode 100644 index 00000000..d60804b9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400bfcf0.c @@ -0,0 +1,23 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400bfcf0 FUN_1400bfcf0 + * Pseudocode, not original source. */ + +void FUN_1400bfcf0(longlong *param_1) + +{ + longlong *plVar1; + undefined8 *puVar2; + + if ((*param_1 != 0) && + (*(longlong *)(*param_1 + 8) = *(longlong *)(*param_1 + 8) + -1, + *(longlong *)(*param_1 + 8) == 0)) { + plVar1 = (longlong *)*param_1; + puVar2 = (undefined8 *)*plVar1; + if (puVar2 != (undefined8 *)0x0) { + (**(code **)*puVar2)(puVar2,1); + } + FUN_14003e8b0(plVar1); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400bfd50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400bfd50.c new file mode 100644 index 00000000..11242461 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400bfd50.c @@ -0,0 +1,125 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400bfd50 FUN_1400bfd50 + * Pseudocode, not original source. */ + +void FUN_1400bfd50(longlong param_1,longlong *param_2,SIZE_T param_3,undefined8 param_4) + +{ + undefined1 uVar1; + longlong lVar2; + undefined8 uVar3; + uint uVar4; + longlong lVar5; + undefined8 *_Dst; + undefined8 *_Src; + undefined8 *puVar6; + size_t _Size; + ulonglong uVar7; + ulonglong uVar8; + exception local_98 [144]; + + if (*(longlong *)(param_1 + 8) == 0) { + if (*(longlong *)(param_1 + 0x10) == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(param_1,param_2,param_3,param_4); + } + uVar4 = *(uint *)(param_1 + 0x18); + } + else { + uVar4 = *(uint *)(*(longlong *)(param_1 + 8) + 0x18); + } + if ((int)uVar4 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (param_2[1] == 0) { + lVar5 = *param_2; + if ((int)uVar4 < 1) { + if (lVar5 == 0) goto LAB_1400bfdbe; + uVar4 = 0; + } + else if (lVar5 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,(ulonglong)uVar4,param_3,param_4); + } + FUN_14002a050(lVar5,uVar4,param_3); + } + else { + if (*(int *)((longlong)param_2 + 0x14) < (int)uVar4) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + *(uint *)(param_2 + 2) = uVar4; + lVar5 = param_1; + } +LAB_1400bfdbe: + lVar2 = *(longlong *)(param_1 + 8); + if (lVar2 == 0) { + if (*(longlong *)(param_1 + 0x10) == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(lVar5,0,param_3,param_4); + } + uVar4 = *(uint *)(param_1 + 0x18); + } + else { + uVar4 = *(uint *)(lVar2 + 0x18); + } + if (*(longlong *)(param_1 + 0x10) == 0) { + if (lVar2 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(lVar5,0,param_3,param_4); + } + if (*(int *)(lVar2 + 0x18) == 0) { + _Src = (undefined8 *)0x0; + } + else { + _Src = *(undefined8 **)(lVar2 + 0x10); + } + } + else { + _Src = *(undefined8 **)(param_1 + 0x10); + if (_Src == (undefined8 *)0x0) { + FUN_14003db10(local_98,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,param_3, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_98,(ThrowInfo *)&DAT_14016c210); + } + } + _Dst = (undefined8 *)param_2[1]; + if (_Dst == (undefined8 *)0x0) { + lVar5 = *param_2; + if (lVar5 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,_Src,param_3,param_4); + } + if (*(int *)(lVar5 + 0x18) == 0) { + _Dst = (undefined8 *)0x0; + } + else { + _Dst = *(undefined8 **)(lVar5 + 0x10); + } + } + _Size = (size_t)(int)uVar4; + if (0x20 < _Size) { + memcpy(_Dst,_Src,_Size); + return; + } + uVar8 = (ulonglong)(uVar4 & 7); + for (uVar7 = _Size >> 3; uVar7 != 0; uVar7 = uVar7 - 1) { + uVar3 = *_Src; + _Src = _Src + 1; + *_Dst = uVar3; + _Dst = _Dst + 1; + } + if (uVar8 != 0) { + puVar6 = _Src; + do { + uVar1 = *(undefined1 *)puVar6; + puVar6 = (undefined8 *)((longlong)puVar6 + 1); + uVar8 = uVar8 - 1; + *(undefined1 *)((longlong)_Dst + (-1 - (longlong)_Src) + (longlong)puVar6) = uVar1; + } while (uVar8 != 0); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400bfed0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400bfed0.c new file mode 100644 index 00000000..7edb2724 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400bfed0.c @@ -0,0 +1,54 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400bfed0 FUN_1400bfed0 + * Pseudocode, not original source. */ + +void FUN_1400bfed0(longlong param_1,undefined8 param_2,undefined **param_3,double *param_4) + +{ + longlong lVar1; + double dVar2; + undefined **ppuVar3; + int iVar4; + longlong lVar5; + undefined *puVar6; + double dVar7; + + (**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x108) + 0x78) + 0x10)) + (*(longlong *)(param_1 + 0x108) + 0x78); + puVar6 = (undefined *) + (**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x108) + 0x70) + 0x1c0)) + (*(longlong *)(param_1 + 0x108) + 0x70); + lVar1 = *(longlong *)(param_1 + 0x108); + iVar4 = 0; + if (*(longlong *)(lVar1 + 0x1670) == 0) { + lVar5 = 0; + } + else { + lVar5 = *(longlong *)(lVar1 + 0x1660); + } + for (; lVar5 != 0; lVar5 = *(longlong *)(lVar5 + 0x10)) { + ppuVar3 = (undefined **)0x0; + if (*(undefined8 **)(lVar5 + 8) != (undefined8 *)0x0) { + ppuVar3 = (undefined **)**(undefined8 **)(lVar5 + 8); + } + if (*(char *)((longlong)ppuVar3 + 0x684) == '\0') { + FUN_1400d1d20(ppuVar3,puVar6,param_3,param_4); + if (((longlong *)ppuVar3[5] != (longlong *)0x0) && (*(longlong *)ppuVar3[5] != 0)) { + iVar4 = iVar4 + 1; + } + } + } + if (lVar1 + 0x1650 == *(longlong *)(param_1 + 0x108) + 0x1650) { + dVar2 = 1.0; + if (1.0 <= (double)iVar4) { + dVar2 = (double)iVar4; + } + *(double *)(*(longlong *)(param_1 + 0x108) + 0x648) = DAT_14016f090 * dVar2; + dVar7 = FUN_14003e970(); + *(double *)(*(longlong *)(param_1 + 0x108) + 0x640) = dVar7 * dVar2; + return; + } + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c0010.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c0010.c new file mode 100644 index 00000000..86e4c35c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c0010.c @@ -0,0 +1,72 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c0010 FUN_1400c0010 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_1400c0010(longlong param_1,uint *param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 *puVar1; + undefined8 uVar2; + ulonglong uVar3; + longlong *plVar4; + longlong lVar5; + undefined8 uVar6; + undefined1 auStack_a8 [32]; + uint local_88; + uint local_78 [2]; + longlong *local_70; + undefined **local_68; + undefined4 local_60; + undefined2 local_5c; + undefined **local_58; + undefined4 local_50; + undefined2 local_4c; + ulonglong local_48; + undefined8 uStack_40; + ulonglong local_38; + undefined8 uStack_30; + ulonglong local_28; + + local_28 = DAT_14016f5a0 ^ (ulonglong)auStack_a8; + lVar5 = 0; + uVar6 = 0x10; + local_60 = 0; + local_38 = 0; + uStack_30 = 0; + local_68 = Proud::AddrPort::vftable; + local_5c = 0; + uVar2 = FUN_140074ee0(param_2,&local_38,0x10); + if ((char)uVar2 != '\0') { + uVar3 = FUN_140075910(param_2,(longlong)&local_68); + if ((char)uVar3 != '\0') { + uVar2 = FUN_140075970(param_2,local_78,uVar6,param_4); + if ((char)uVar2 != '\0') { + plVar4 = FUN_1400a7920(*(longlong **)(param_1 + 0x108),(longlong *)&local_70,local_78[0]); + if ((longlong *)*plVar4 != (longlong *)0x0) { + lVar5 = *(longlong *)*plVar4; + } + if ((local_70 != (longlong *)0x0) && (local_70[1] = local_70[1] + -1, local_70[1] == 0)) { + puVar1 = (undefined8 *)*local_70; + if (puVar1 != (undefined8 *)0x0) { + (**(code **)*puVar1)(puVar1,1); + } + FUN_14003e8b0(local_70); + } + if ((((lVar5 != 0) && (*(char *)(lVar5 + 0x684) == '\0')) && + (plVar4 = *(longlong **)(lVar5 + 0x28), plVar4 != (longlong *)0x0)) && (*plVar4 != 0)) { + local_58 = Proud::AddrPort::vftable; + local_50 = local_60; + local_48 = local_38; + uStack_40 = uStack_30; + local_4c = local_5c; + local_88 = local_78[0]; + FUN_1400cf5d0((SIZE_T *)*plVar4,(undefined *)param_2,&local_48,(longlong)&local_58); + } + } + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c0180.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c0180.c new file mode 100644 index 00000000..9dc9d271 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c0180.c @@ -0,0 +1,105 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c0180 FUN_1400c0180 + * Pseudocode, not original source. */ + +void FUN_1400c0180(IMAGE_DOS_HEADER *param_1,IMAGE_DOS_HEADER *param_2,uint *param_3, + undefined ***param_4) + +{ + undefined8 *puVar1; + undefined8 uVar2; + ulonglong uVar3; + longlong **pplVar4; + uint *puVar5; + SIZE_T SVar6; + uint local_res18 [2]; + longlong *local_res20; + longlong *local_b8; + int local_b0 [2]; + longlong local_a8; + longlong local_a0; + int local_94; + longlong *local_88; + undefined1 local_78 [56]; + word local_40 [2]; + undefined2 local_3c; + byte local_38; + byte local_28 [16]; + + local_28[0] = 0xfe; + local_28[1] = 0xff; + local_28[2] = 0xff; + local_28[3] = 0xff; + local_28[4] = 0xff; + local_28[5] = 0xff; + local_28[6] = 0xff; + local_28[7] = 0xff; + if (param_3[10] == 1) { + puVar5 = param_3; + (**(code **)(*(longlong *)(*(longlong *)¶m_1[2].e_cparhdr + 0x78) + 0x10))(); + uVar2 = FUN_140075970(param_3,local_res18,puVar5,param_4); + if (((((char)uVar2 != '\0') && + (uVar3 = FUN_140075580(param_3,&local_b8,puVar5,param_4), (char)uVar3 != '\0')) && + (-1 < (int)(uint)local_b8)) && ((int)(uint)local_b8 < DAT_14016f140)) { + FUN_140074fb0(local_b0); + uVar2 = FUN_140075210(param_3,local_b0,(uint)local_b8,param_4); + if ((char)uVar2 == '\0') { + local_b8 = &local_a8; + FUN_14008a320(&local_a8); + if ((local_a0 != 0) && (local_94 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + } + else { + SVar6 = (SIZE_T)local_res18[0]; + pplVar4 = &local_res20; + FUN_1400a7920(*(longlong **)¶m_1[2].e_cparhdr,(longlong *)pplVar4,local_res18[0]); + if (((local_res20 != (longlong *)0x0) && (*local_res20 != 0)) && + (*(char *)(*local_res20 + 0x684) == '\0')) { + FUN_140074fb0((undefined4 *)local_78); + local_78._48_8_ = Proud::AddrPort::vftable; + local_38 = 0; + local_78._40_2_ = 0; + local_78._42_2_ = 0; + local_40[0] = (word)DAT_14016f3d0; + local_40[1] = DAT_14016f3d0._2_2_; + local_3c = DAT_14016f3d4; + FUN_140074a40((longlong)local_78,pplVar4,SVar6,param_4); + local_38 = 1; + FUN_1400bfd50((longlong)local_b0,(longlong *)(local_78 + 8),SVar6,param_4); + local_78._0_4_ = local_b0[0]; + FUN_140074bb0((int *)local_78,0,SVar6,param_4); + local_78._40_4_ = local_res18[0]; + FUN_1400c6270(param_1,param_2,(IMAGE_DOS_HEADER *)local_78,param_4); + local_88 = (longlong *)(local_78 + 8); + FUN_14008a320((longlong *)(local_78 + 8)); + if (local_78._16_8_ != 0) { + if ((int)local_78._28_4_ < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_78._24_2_ = 0; + local_78._26_2_ = 0; + } + } + if ((local_res20 != (longlong *)0x0) && + (local_res20[1] = local_res20[1] + -1, local_res20[1] == 0)) { + puVar1 = (undefined8 *)*local_res20; + if (puVar1 != (undefined8 *)0x0) { + (**(code **)*puVar1)(puVar1,1); + } + FUN_14003e8b0(local_res20); + } + local_88 = &local_a8; + FUN_14008a320(&local_a8); + if ((local_a0 != 0) && (local_94 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + } + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c03a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c03a0.c new file mode 100644 index 00000000..fc7f1735 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c03a0.c @@ -0,0 +1,36 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c03a0 FUN_1400c03a0 + * Pseudocode, not original source. */ + +longlong FUN_1400c03a0(longlong param_1,uint *param_2,undefined8 param_3,undefined8 param_4) + +{ + uint uVar1; + longlong lVar2; + undefined4 extraout_var; + uint7 uVar4; + longlong lVar3; + undefined *local_res8; + + lVar3 = *(longlong *)(param_1 + 0x108); + FUN_14003e7c0(param_1,param_2,param_3,param_4); + local_res8 = PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_res8,(longlong *)(lVar3 + 0x1588),param_3,param_4); + lVar2 = FUN_14009c0f0(*(longlong *)(param_1 + 0x108)); + lVar3 = 0; + if (*(longlong **)(lVar2 + 0x128) != (longlong *)0x0) { + lVar3 = **(longlong **)(lVar2 + 0x128); + } + uVar1 = FUN_140044450(lVar3,(longlong *)&local_res8, + *(undefined2 *)(*(longlong *)(param_1 + 0x108) + 0x1590),param_4); + uVar4 = (uint7)(CONCAT44(extraout_var,uVar1) >> 8); + if ((uVar1 == 0) || (uVar1 == 0x2733)) { + lVar3 = CONCAT71(uVar4,1); + } + else { + *param_2 = uVar1; + lVar3 = (ulonglong)uVar4 << 8; + } + return lVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c0450.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c0450.c new file mode 100644 index 00000000..d8c806cc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c0450.c @@ -0,0 +1,88 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c0450 FUN_1400c0450 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_1400c0450(longlong param_1,undefined8 param_2,uint *param_3,undefined8 param_4) + +{ + longlong lVar1; + undefined8 uVar2; + longlong lVar3; + longlong lVar4; + ulonglong uVar5; + double dVar6; + undefined1 auStack_668 [32]; + uint local_648 [4]; + undefined4 local_638 [392]; + ulonglong local_18; + + local_18 = DAT_14016f5a0 ^ (ulonglong)auStack_668; + dVar6 = (double)(**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x108) + 0x70) + 0x1c0)) + (*(longlong *)(param_1 + 0x108) + 0x70); + if (dVar6 - *(double *)(param_1 + 200) <= DAT_14016f060) { + FUN_1400432b0(local_638); + lVar1 = FUN_14009c0f0(*(longlong *)(param_1 + 0x108)); + lVar4 = 0; + if (*(longlong **)(lVar1 + 0x128) != (longlong *)0x0) { + lVar4 = **(longlong **)(lVar1 + 0x128); + } + FUN_1400432d0((longlong)local_638,lVar4); + lVar1 = FUN_14009c0f0(*(longlong *)(param_1 + 0x108)); + lVar4 = 0; + if (*(longlong **)(lVar1 + 0x128) != (longlong *)0x0) { + lVar4 = **(longlong **)(lVar1 + 0x128); + } + FUN_140043330((longlong)local_638,lVar4); + FUN_140043390((longlong)local_638,0); + lVar1 = FUN_14009c0f0(*(longlong *)(param_1 + 0x108)); + lVar4 = 0; + if (*(longlong **)(lVar1 + 0x128) != (longlong *)0x0) { + lVar4 = **(longlong **)(lVar1 + 0x128); + } + param_3 = local_648; + uVar2 = FUN_1400433f0((longlong)local_638,lVar4,param_3); + if ((char)uVar2 == '\0') { + return; + } + if (local_648[0] == 0) { + lVar3 = FUN_14009c0f0(*(longlong *)(param_1 + 0x108)); + lVar1 = 0; + if (*(longlong **)(lVar3 + 0x128) != (longlong *)0x0) { + lVar1 = **(longlong **)(lVar3 + 0x128); + } + uVar2 = CONCAT71((int7)((ulonglong)lVar4 >> 8),1); + FUN_140043230(lVar1,'\x01'); + lVar4 = FUN_14009c0f0(*(longlong *)(param_1 + 0x108)); + FUN_1400ce910(lVar4,uVar2,param_3,param_4); + lVar4 = FUN_14009c0f0(*(longlong *)(param_1 + 0x108)); + uVar5 = FUN_140041850(lVar4 + 0x110); + if ((char)uVar5 == '\0') { + FUN_14003e110( + L"서버와 TCP 연결이 되었는데도 로컬 소켓 주소를 얻을 수 없다니!" + ); + } + if (1 < *(int *)(param_1 + 0x100)) { + return; + } + *(undefined4 *)(param_1 + 0x40) = 0; + *(undefined4 *)(param_1 + 0x100) = 2; + uVar2 = (**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x108) + 0x70) + 0x1c0)) + (*(longlong *)(param_1 + 0x108) + 0x70); + *(undefined8 *)(param_1 + 0x80) = uVar2; + *(undefined1 *)(param_1 + 0xc0) = 0; + return; + } + lVar4 = FUN_1400c03a0(param_1,local_648,param_3,param_4); + if ((char)lVar4 != '\0') { + return; + } + } + else { + local_648[0] = 0x274c; + } + FUN_1400bf550(param_1,local_648[0],param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c0620.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c0620.c new file mode 100644 index 00000000..84b9aca5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c0620.c @@ -0,0 +1,62 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c0620 FUN_1400c0620 + * Pseudocode, not original source. */ + +/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ + +void FUN_1400c0620(longlong param_1,uint *param_2) + +{ + double dVar1; + undefined8 *puVar2; + undefined8 uVar3; + int *piVar4; + longlong *plVar5; + longlong lVar6; + double dVar7; + double dVar8; + longlong *local_res18; + double local_res20; + undefined **local_20; + uint local_18; + undefined2 local_14; + + uVar3 = FUN_140074ee0(param_2,&local_res20,8); + if ((char)uVar3 != '\0') { + piVar4 = (int *)(**(code **)(**(longlong **)(param_1 + 0x108) + 0x58))(); + FUN_14003d040(piVar4); + local_20 = Proud::AddrPort::vftable; + local_18 = param_2[0xe]; + local_14 = (undefined2)param_2[0xf]; + plVar5 = FUN_1400a5f70(*(longlong *)(param_1 + 0x108),&local_res18,(longlong)&local_20); + lVar6 = 0; + if ((longlong *)*plVar5 != (longlong *)0x0) { + lVar6 = *(longlong *)*plVar5; + } + if ((local_res18 != (longlong *)0x0) && + (local_res18[1] = local_res18[1] + -1, local_res18[1] == 0)) { + puVar2 = (undefined8 *)*local_res18; + if (puVar2 != (undefined8 *)0x0) { + (**(code **)*puVar2)(puVar2,1); + } + FUN_14003e8b0(local_res18); + } + if ((lVar6 != 0) && (*(int *)(lVar6 + 0x56c) != 1)) { + dVar7 = FUN_140048960((char *)(*(longlong *)(param_1 + 0x108) + 0x1620)); + dVar8 = (dVar7 - local_res20) * 0.5; + *(double *)(lVar6 + 0x158) = dVar8; + dVar1 = *(double *)(lVar6 + 0x50); + if (0.0 < dVar1) { + dVar8 = (dVar8 - dVar1) * _DAT_14016f108 + dVar1; + } + *(double *)(lVar6 + 0x50) = dVar8; + if (0.0 < dVar7) { + *(double *)(lVar6 + 0xc0) = dVar7; + *(int *)(lVar6 + 0x100) = *(int *)(lVar6 + 0x100) + 1; + } + } + FUN_14003d0d0((longlong)piVar4); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c0790.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c0790.c new file mode 100644 index 00000000..f1ea1182 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c0790.c @@ -0,0 +1,68 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c0790 FUN_1400c0790 + * Pseudocode, not original source. */ + +void FUN_1400c0790(longlong param_1,uint *param_2) + +{ + longlong *plVar1; + undefined8 *puVar2; + undefined8 uVar3; + longlong lVar4; + longlong lVar5; + longlong *plVar6; + undefined2 uVar7; + undefined4 uVar8; + longlong *local_res8; + undefined8 local_res10; + undefined **local_28; + undefined4 local_20; + undefined2 local_1c; + + (**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x108) + 0x78) + 0x10)) + (*(longlong *)(param_1 + 0x108) + 0x78); + uVar3 = FUN_140074ee0(param_2,&local_res10,8); + if ((char)uVar3 != '\0') { + lVar5 = 0; + uVar8 = 0; + uVar7 = 0; + if ((param_2[10] == 1) && (lVar4 = FUN_14009c0d0(*(longlong *)(param_1 + 0x108)), lVar4 != 0)) { + lVar5 = FUN_14009c0d0(*(longlong *)(param_1 + 0x108)); + plVar1 = *(longlong **)(lVar5 + 0x108); + lVar5 = FUN_14009c0d0(*(longlong *)(param_1 + 0x108)); + uVar8 = *(undefined4 *)(lVar5 + 0x140); + uVar7 = *(undefined2 *)(lVar5 + 0x144); + local_res8 = plVar1; + } + else { + plVar6 = FUN_1400a7920(*(longlong **)(param_1 + 0x108),(longlong *)&local_res8,param_2[10]); + plVar1 = local_res8; + if ((longlong *)*plVar6 != (longlong *)0x0) { + lVar5 = *(longlong *)*plVar6; + } + if ((local_res8 != (longlong *)0x0) && + (local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) { + puVar2 = (undefined8 *)*local_res8; + if (puVar2 != (undefined8 *)0x0) { + (**(code **)*puVar2)(puVar2,1); + } + FUN_14003e8b0(plVar1); + } + if (((lVar5 != 0) && (*(longlong **)(lVar5 + 0x18) != (longlong *)0x0)) && + (**(longlong **)(lVar5 + 0x18) != 0)) { + lVar4 = FUN_1400cf2a0(lVar5); + uVar8 = *(undefined4 *)(lVar5 + 0x598); + uVar7 = *(undefined2 *)(lVar5 + 0x59c); + local_res8 = *(longlong **)(lVar4 + 0x108); + } + } + if (local_res8 != (longlong *)0x0) { + local_28 = Proud::AddrPort::vftable; + local_20 = uVar8; + local_1c = uVar7; + FUN_14008ca90((longlong)local_res8,(longlong)&local_28,local_res10); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c0900.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c0900.c new file mode 100644 index 00000000..4ba45f32 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c0900.c @@ -0,0 +1,77 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c0900 FUN_1400c0900 + * Pseudocode, not original source. */ + +void FUN_1400c0900(longlong *param_1,undefined8 param_2,ulonglong param_3,ulonglong param_4) + +{ + longlong lVar1; + int *piVar2; + int *piVar3; + undefined *puVar4; + undefined **ppuVar5; + wchar_t *pwVar6; + ulonglong uVar7; + ulonglong uVar8; + bool bVar9; + undefined *local_res10; + undefined *local_res18 [2]; + + bVar9 = (int)param_1[0x20] == 5; + uVar7 = (ulonglong)bVar9; + puVar4 = (undefined *)0x0; + if (*(longlong *)(param_1[0x21] + 0x5d8) != 0) { + puVar4 = *(undefined **)(*(longlong *)(param_1[0x21] + 0x5d8) + 0x38); + } + FUN_14003d040((int *)(puVar4 + 0x10)); + lVar1 = param_1[2]; + puVar4 = puVar4 + 0x10; + FUN_14003d0d0((longlong)puVar4); + uVar8 = (ulonglong)(lVar1 == 0); + if ((!bVar9) || (lVar1 != 0)) { + FUN_14003e7c0(puVar4,param_2,param_3,param_4); + local_res18[0] = PTR_DAT_14016f010; + pwVar6 = L"CNetClientManager.dtor assert fail: %d %d"; + ppuVar5 = local_res18; + FUN_140029b80((longlong *)ppuVar5,L"CNetClientManager.dtor assert fail: %d %d",uVar7,uVar8); + FUN_14003e7c0(ppuVar5,pwVar6,uVar7,uVar8); + puVar4 = local_res18[0]; + local_res10 = PTR_DAT_14016f010; + if (PTR_DAT_14016f010 == (undefined *)0x0) { + local_res10 = (undefined *)0x0; + } + param_3 = uVar7; + param_4 = uVar8; + if (local_res18[0] != PTR_DAT_14016f010) { + piVar2 = (int *)FUN_14003e7c0(ppuVar5,pwVar6,uVar7,uVar8); + FUN_14003d040(piVar2); + FUN_140002190((longlong *)&local_res10,pwVar6,uVar7,uVar8); + local_res10 = puVar4; + if (((puVar4 != PTR_DAT_14016f010) && (puVar4 != (undefined *)0x0)) && + (puVar4 != (undefined *)0x8)) { + *(int *)(puVar4 + -4) = *(int *)(puVar4 + -4) + 1; + } + FUN_14003d0d0((longlong)piVar2); + param_3 = uVar7; + param_4 = uVar8; + } + ppuVar5 = &local_res10; + FUN_1400416f0((longlong *)ppuVar5,pwVar6,param_3,param_4); + if (((puVar4 != (undefined *)0x0) && (puVar4 != PTR_DAT_14016f010)) && + (puVar4 + -8 != (undefined *)0x0)) { + piVar3 = (int *)FUN_14003e7c0(ppuVar5,pwVar6,param_3,param_4); + FUN_14003d040(piVar3); + piVar2 = (int *)(puVar4 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(puVar4 + -8); + } + FUN_14003d0d0((longlong)piVar3); + } + } + if ((longlong *)param_1[2] != (longlong *)0x0) { + FUN_1400bf1e0((longlong *)param_1[2],param_1,param_3,param_4); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c0aa0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c0aa0.c new file mode 100644 index 00000000..1401b4b5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c0aa0.c @@ -0,0 +1,97 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c0aa0 FUN_1400c0aa0 + * Pseudocode, not original source. */ + +void FUN_1400c0aa0(longlong param_1,longlong *param_2,wchar_t *param_3,longlong **param_4) + +{ + longlong *plVar1; + int *piVar2; + longlong *plVar3; + int *piVar4; + int *piVar5; + longlong *plVar6; + longlong lVar7; + double dVar8; + undefined8 uVar9; + longlong *local_res8; + + piVar4 = (int *)(**(code **)(**(longlong **)(param_1 + 0x108) + 0x58))(); + FUN_14003d040(piVar4); + lVar7 = *(longlong *)(param_1 + 0x108); + if (0.0 < *(double *)(lVar7 + 0x1648)) { + dVar8 = (double)(**(code **)(*(longlong *)(lVar7 + 0x70) + 0x1c0))(); + if (10.0 < dVar8 - *(double *)(lVar7 + 0x1648)) { + if ((*(char *)(lVar7 + 0x1790) != '\0') || (*(int *)(lVar7 + 0x6c8) != 0)) { + param_3 = + L"**WARNING** CNetClient.FrameMove is not called in ten seconds. Is this your intention?"; + param_2 = (longlong *)0x0; + FUN_1400a9f70(lVar7,0, + L"**WARNING** CNetClient.FrameMove is not called in ten seconds. Is this your intention?" + ,param_4); + } + *(undefined8 *)(*(longlong *)(param_1 + 0x108) + 0x1648) = 0xbff0000000000000; + } + } + lVar7 = *(longlong *)(param_1 + 0x108); + plVar6 = (longlong *)(lVar7 + 0x70); + dVar8 = (double)(**(code **)(*plVar6 + 0x1c0))(); + dVar8 = dVar8 - *(double *)(*(longlong *)(param_1 + 0x108) + 0x18c0); + if (((*(double *)(lVar7 + 0x6a8) <= dVar8 && dVar8 != *(double *)(lVar7 + 0x6a8)) && + (*(longlong **)(lVar7 + 0x5d0) != (longlong *)0x0)) && (**(longlong **)(lVar7 + 0x5d0) != 0)) + { + if ((*(char *)(lVar7 + 0x1790) != '\0') || (*(int *)(lVar7 + 0x6c8) != 0)) { + plVar6 = *(longlong **)(param_1 + 0x108); + param_4 = (longlong **)plVar6[0xd5]; + param_3 = (wchar_t *)&DAT_140123750; + param_2 = (longlong *)0x0; + FUN_1400a9f70((longlong)plVar6,0, + L"default timeouttime:%lf,Client %d: 오랫동안 TCP 수신이 없어서 연결해제 모드로 전환합니다." + ,param_4); + } + FUN_14003e7c0(plVar6,param_2,param_3,param_4); + local_res8 = (longlong *)PTR_DAT_14016f010; + param_4 = &local_res8; + param_2 = (longlong *)0xc; + param_3 = (wchar_t *)0x7; + plVar6 = *(longlong **)(param_1 + 0x108); + FUN_1400b4a80(plVar6,0xc,(undefined *)0x7,param_4); + plVar3 = local_res8; + if (((local_res8 != (longlong *)0x0) && (local_res8 != (longlong *)PTR_DAT_14016f010)) && + (plVar1 = local_res8 + -1, plVar1 != (longlong *)0x0)) { + piVar5 = (int *)FUN_14003e7c0(plVar6,param_2,param_3,param_4); + FUN_14003d040(piVar5); + piVar2 = (int *)((longlong)plVar3 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(plVar1); + } + FUN_14003d0d0((longlong)piVar5); + } + local_res8 = (longlong *)PTR_DAT_14016f010; + plVar6 = *(longlong **)(*(longlong *)(param_1 + 0x108) + 0x5d0); + lVar7 = 0; + if (plVar6 != (longlong *)0x0) { + lVar7 = *plVar6; + } + if (*(int *)(lVar7 + 0x100) < 4) { + *(undefined4 *)(lVar7 + 0x40) = 0; + *(undefined4 *)(lVar7 + 0x100) = 4; + uVar9 = (**(code **)(*(longlong *)(*(longlong *)(lVar7 + 0x108) + 0x70) + 0x1c0))(); + *(undefined8 *)(lVar7 + 0x80) = uVar9; + *(undefined1 *)(lVar7 + 0xc0) = 0; + } + } + FUN_1400bfed0(param_1,param_2,(undefined **)param_3,(double *)param_4); + FUN_1400abad0(*(longlong **)(param_1 + 0x108),param_2,(SIZE_T)param_3,param_4); + FUN_1400a60e0(*(longlong *)(param_1 + 0x108),param_2,(SIZE_T)param_3,param_4); + FUN_1400a63d0(*(longlong *)(param_1 + 0x108),param_2,(SIZE_T)param_3,param_4); + FUN_1400a6630(*(longlong *)(param_1 + 0x108),param_2,(undefined8 *)param_3,param_4); + FUN_1400b6c70(*(longlong **)(param_1 + 0x108),param_2,(SIZE_T)param_3,(undefined *)param_4); + FUN_14009e320(*(longlong *)(param_1 + 0x108)); + FUN_14009e480(*(longlong **)(param_1 + 0x108)); + FUN_1400ac480(*(longlong **)(param_1 + 0x108),param_2,param_3,param_4); + FUN_14003d0d0((longlong)piVar4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c0d50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c0d50.c new file mode 100644 index 00000000..7c6aee5d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c0d50.c @@ -0,0 +1,147 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c0d50 FUN_1400c0d50 + * Pseudocode, not original source. */ + +/* WARNING: Function: __chkstk replaced with injection: alloca_probe */ +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_1400c0d50(longlong param_1,uint *param_2,undefined8 param_3,longlong param_4) + +{ + longlong *plVar1; + int *piVar2; + int iVar3; + undefined8 uVar4; + ulonglong uVar5; + longlong lVar6; + undefined8 *puVar7; + longlong lVar8; + longlong *plVar9; + int *piVar10; + undefined1 *puVar11; + SIZE_T SVar12; + wchar_t *pwVar13; + bool bVar14; + undefined1 auStack_19c8 [32]; + undefined **local_19a8; + undefined4 local_19a0; + undefined2 local_199c; + int local_1998 [2]; + longlong local_1990; + longlong local_1988; + int local_197c; + int *local_1970; + undefined1 local_1968; + undefined8 local_1960; + longlong *local_1958; + longlong *plStack_1950; + undefined1 local_1948 [3200]; + undefined1 *local_cc8; + undefined4 local_cc0; + undefined4 local_cbc; + undefined1 local_cb8 [3216]; + ulonglong local_28; + undefined8 uStack_20; + + uStack_20 = 0x1400c0d66; + local_1960 = 0xfffffffffffffffe; + local_28 = DAT_14016f5a0 ^ (ulonglong)auStack_19c8; + local_19a8 = Proud::AddrPort::vftable; + lVar8 = 0; + local_19a0 = 0; + local_199c = 0; + local_1958 = (longlong *)0x0; + plStack_1950 = (longlong *)0x0; + uVar4 = FUN_140074ee0(param_2,&local_1958,0x10); + if (((char)uVar4 != '\0') && + (uVar5 = FUN_140075910(param_2,(longlong)&local_19a8), (char)uVar5 != '\0')) { + SVar12 = *(SIZE_T *)(param_1 + 0x108); + lVar6 = lVar8; + if (*(longlong **)(SVar12 + 0x1570) != (longlong *)0x0) { + lVar6 = **(longlong **)(SVar12 + 0x1570); + } + bVar14 = local_1958 < *(longlong **)(lVar6 + 8); + iVar3 = 0; + plVar9 = local_1958; + if ((local_1958 != *(longlong **)(lVar6 + 8)) || + (bVar14 = plStack_1950 < *(longlong **)(lVar6 + 0x10), plVar9 = plStack_1950, + plStack_1950 != *(longlong **)(lVar6 + 0x10))) { + iVar3 = (1 - (uint)bVar14) - (uint)(bVar14 != 0); + } + if (iVar3 == 0) { + lVar6 = lVar8; + if (*(longlong **)(SVar12 + 0x1570) != (longlong *)0x0) { + lVar6 = **(longlong **)(SVar12 + 0x1570); + } + if ((*(uint *)(lVar6 + 0xd0) == param_2[0xe]) && + (*(short *)(lVar6 + 0xd4) == (short)param_2[0xf])) { + FUN_140074fb0(local_1998); + FUN_140074a40((longlong)local_1998,plVar9,SVar12,param_4); + FUN_140075110(local_1998,0x800,SVar12,param_4); + uVar4 = 0; + FUN_140075110(local_1998,0,SVar12,param_4); + FUN_140029d80((longlong)local_1998,CONCAT71((int7)((ulonglong)uVar4 >> 8),0xe),SVar12, + param_4); + plVar9 = *(longlong **)(*(longlong *)(param_1 + 0x108) + 0x1570); + if (plVar9 != (longlong *)0x0) { + lVar8 = *plVar9; + } + local_1958 = *(longlong **)(lVar8 + 8); + plStack_1950 = *(longlong **)(lVar8 + 0x10); + FUN_140051cf0((longlong)local_1998,&local_1958,SVar12,param_4); + puVar7 = FUN_14009c1e0(*(longlong *)(param_1 + 0x108),&local_1970); + FUN_140075bb0((longlong)local_1998,(longlong)puVar7,SVar12,param_4); + FUN_140075bb0((longlong)local_1998,(longlong)&local_19a8,SVar12,param_4); + local_cbc = 200; + local_cc0 = 0; + local_cc8 = local_1948; + FUN_14004ec50((longlong)local_cb8,(longlong)local_1998,SVar12); + puVar11 = local_cb8; + FUN_14004dc30((longlong)local_1948,(longlong)puVar11,SVar12,param_4); + FUN_14004db20((longlong)local_cb8,puVar11,SVar12,param_4); + lVar8 = FUN_14009c0d0(*(longlong *)(param_1 + 0x108)); + *(undefined4 *)(lVar8 + 0x140) = local_19a0; + *(undefined2 *)(lVar8 + 0x144) = local_199c; + local_1958 = (longlong *)0x0; + plStack_1950 = (longlong *)CONCAT71(plStack_1950._1_7_,1); + lVar8 = FUN_14009c0f0(*(longlong *)(param_1 + 0x108)); + pwVar13 = (wchar_t *)&local_1958; + puVar11 = local_1948; + FUN_1400ceb20(lVar8,(longlong)puVar11,(SIZE_T *)pwVar13,param_4); + if ((*(char *)(*(longlong *)(param_1 + 0x108) + 0x1790) != '\0') || + (*(int *)(*(longlong *)(param_1 + 0x108) + 0x6c8) != 0)) { + plVar9 = FUN_1400420f0((longlong)&local_19a8,(longlong *)&local_1958,pwVar13,param_4); + param_4 = *plVar9; + pwVar13 = L"Message_ServerHolepunchAck. AddrOfHereAtServer=%s"; + puVar11 = (undefined1 *)0x1; + lVar8 = *(longlong *)(param_1 + 0x108); + FUN_1400a9f70(lVar8,1,L"Message_ServerHolepunchAck. AddrOfHereAtServer=%s",param_4); + plVar9 = local_1958; + if ((local_1958 != (longlong *)0x0) && + ((local_1958 != (longlong *)PTR_DAT_14016f010 && + (plVar1 = local_1958 + -1, plVar1 != (longlong *)0x0)))) { + piVar10 = (int *)FUN_14003e7c0(lVar8,puVar11,pwVar13,param_4); + local_1970 = piVar10; + FUN_14003d040(piVar10); + local_1968 = 1; + piVar2 = (int *)((longlong)plVar9 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(plVar1); + } + FUN_14003d0d0((longlong)piVar10); + } + } + FUN_14004db20((longlong)local_1948,puVar11,pwVar13,param_4); + local_1958 = &local_1990; + FUN_14008a320(&local_1990); + if ((local_1988 != 0) && (local_197c < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + } + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c1080.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c1080.c new file mode 100644 index 00000000..986593b9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c1080.c @@ -0,0 +1,107 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c1080 FUN_1400c1080 + * Pseudocode, not original source. */ + +ulonglong FUN_1400c1080(IMAGE_DOS_HEADER *param_1,IMAGE_DOS_HEADER *param_2,uint *param_3, + undefined ***param_4) + +{ + ulonglong uVar1; + undefined8 uVar2; + undefined1 *puVar3; + undefined8 *puVar4; + undefined8 *puVar5; + int iVar6; + uint *puVar7; + SIZE_T SVar8; + undefined8 *local_res18; + undefined **local_a8; + undefined8 local_a0; + undefined8 *local_98; + ulonglong local_90; + undefined8 local_88; + undefined1 local_78 [56]; + word local_40 [2]; + undefined2 local_3c; + byte local_38; + byte local_28 [16]; + + local_28[0] = 0xfe; + local_28[1] = 0xff; + local_28[2] = 0xff; + local_28[3] = 0xff; + local_28[4] = 0xff; + local_28[5] = 0xff; + local_28[6] = 0xff; + local_28[7] = 0xff; + local_a0 = 0; + local_98 = (undefined8 *)0x0; + local_90 = 0; + local_88 = 0; + local_a8 = Proud::ByteArray::vftable; + puVar7 = param_3; + uVar1 = FUN_140075580(param_3,&local_res18,param_3,param_4); + if ((((char)uVar1 == '\0') || (iVar6 = (int)local_res18, iVar6 < 0)) || (DAT_14016f140 < iVar6)) { +LAB_1400c1207: + uVar1 = FUN_140049e40(&local_a8); + return uVar1 & 0xffffffffffffff00; + } + FUN_14002a050((longlong)&local_a8,iVar6,(SIZE_T)puVar7); + puVar4 = local_98; + if ((int)local_90 == 0) { + puVar4 = (undefined8 *)0x0; + } + SVar8 = (ulonglong)local_res18 & 0xffffffff; + uVar2 = FUN_140074ee0(param_3,puVar4,SVar8); + if ((char)uVar2 == '\0') goto LAB_1400c1207; + FUN_140074fb0((undefined4 *)local_78); + local_78._48_8_ = Proud::AddrPort::vftable; + local_38 = 0; + local_40[0] = (word)DAT_14016f3d0; + local_40[1] = DAT_14016f3d0._2_2_; + local_3c = DAT_14016f3d4; + local_78._40_2_ = 1; + local_78._42_2_ = 0; + puVar3 = local_78; + FUN_140074a40((longlong)puVar3,puVar4,SVar8,param_4); + SVar8 = local_90 & 0xffffffff; + if ((int)local_90 < 1) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(puVar3,puVar4,SVar8,param_4); + } + local_78._4_2_ = 0; + local_78._6_2_ = 0; + puVar5 = local_98; + if (local_78._8_8_ == 0) { + if (local_78._16_8_ == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,puVar4,SVar8,param_4); + } + } + else if (local_78._16_8_ == 0) { + if (local_78._8_8_ == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,puVar4,SVar8,param_4); + } + FUN_14002a110(local_78._8_8_,local_98,SVar8); + goto LAB_1400c11ac; + } + FUN_140029f40((longlong *)(local_78 + 0x10),local_98,SVar8,param_4); +LAB_1400c11ac: + FUN_14002a180((longlong)local_78,puVar5,SVar8,param_4); + local_38 = 1; + FUN_1400c6270(param_1,param_2,(IMAGE_DOS_HEADER *)local_78,param_4); + local_res18 = (undefined8 *)(local_78 + 8); + FUN_14008a320((longlong *)(local_78 + 8)); + if (local_78._16_8_ != 0) { + if ((int)local_78._28_4_ < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_78._24_2_ = 0; + local_78._26_2_ = 0; + } + uVar2 = FUN_140049e40(&local_a8); + return CONCAT71((int7)((ulonglong)uVar2 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c1230.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c1230.c new file mode 100644 index 00000000..f7bba7ba --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c1230.c @@ -0,0 +1,163 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c1230 FUN_1400c1230 + * Pseudocode, not original source. */ + +void FUN_1400c1230(longlong param_1,ulonglong param_2,undefined8 param_3,undefined8 param_4) + +{ + uint uVar1; + uint uVar2; + uint uVar3; + longlong lVar4; + uint *puVar5; + int *piVar6; + longlong lVar7; + longlong *plVar8; + uint *puVar9; + undefined8 uVar10; + ulonglong uVar11; + uint uVar12; + undefined8 uVar13; + uint **ppuVar14; + uint uVar15; + uint *local_res8; + + uVar11 = param_2; + (**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x108) + 0x78) + 0x10))(); + lVar7 = *(longlong *)(param_1 + 0x108); + lVar4 = FUN_14009c0f0(lVar7); + *(undefined1 *)(lVar4 + 0x80) = 0; + uVar1 = *(uint *)(param_2 + 8); + if (-1 < (int)uVar1) { + if (0 < (int)uVar1) { + lVar7 = FUN_14009c0f0(*(longlong *)(param_1 + 0x108)); + uVar11 = (ulonglong)uVar1; + FUN_140093c10((longlong *)(lVar7 + 0x170),uVar1); + plVar8 = (longlong *)(*(longlong *)(param_1 + 0x108) + 0x660); + *plVar8 = *plVar8 + (longlong)*(int *)(param_2 + 8); + } + lVar7 = FUN_14009c0f0(*(longlong *)(param_1 + 0x108)); + FUN_1400ce9a0(lVar7,uVar11,param_3,param_4); + return; + } + FUN_14003e7c0(lVar7,uVar11,param_3,param_4); + local_res8 = (uint *)PTR_DAT_14016f010; + uVar1 = FUN_14003e620(L"compdatalength < 0 sendcomplete"); + uVar15 = 0; + uVar3 = 0; + uVar11 = 0; + if ((local_res8 != (uint *)0x0) && (uVar11 = 0, local_res8 != (uint *)PTR_DAT_14016f010)) { + uVar11 = (ulonglong)local_res8[-2]; + } + uVar2 = uVar1; + if ((((int)uVar1 <= (int)uVar11) && (uVar2 = uVar3, local_res8 != (uint *)0x0)) && + (local_res8 != (uint *)PTR_DAT_14016f010)) { + uVar2 = local_res8[-2]; + } + uVar12 = 1; + if (1 < (int)uVar2) { + uVar12 = uVar2; + } + uVar2 = uVar3; + if ((local_res8 != (uint *)0x0) && (local_res8 != (uint *)PTR_DAT_14016f010)) { + uVar2 = local_res8[-2]; + } + if ((int)uVar2 < (int)uVar12) { + if (local_res8 == (uint *)0x0) { + local_res8 = (uint *)PTR_DAT_14016f010; + } + if ((int)uVar12 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar12 == 0) { + FUN_140002190((longlong *)&local_res8,PTR_DAT_14016f010,uVar11,param_4); + } + else { + uVar2 = uVar3; + if ((local_res8 != (uint *)0x0) && (local_res8 != (uint *)PTR_DAT_14016f010)) { + uVar2 = local_res8[-2]; + } + if (uVar12 != uVar2) { + puVar5 = (uint *)FUN_14003e840((longlong)(int)uVar12 * 2 + 10); + if (puVar5 != (uint *)0x0) { + *puVar5 = 0; + puVar5[1] = 1; + } + *puVar5 = uVar12; + uVar2 = uVar3; + if ((local_res8 != (uint *)0x0) && (local_res8 != (uint *)PTR_DAT_14016f010)) { + uVar2 = local_res8[-2]; + } + puVar9 = (uint *)PTR_DAT_14016f010; + if ((int)uVar12 < (int)uVar2) { +LAB_1400c1382: + if (local_res8 != (uint *)0x0) { + puVar9 = local_res8; + } + } + else { + uVar12 = uVar3; + if (local_res8 != (uint *)0x0) { + if (local_res8 != (uint *)PTR_DAT_14016f010) { + uVar12 = local_res8[-2]; + } + goto LAB_1400c1382; + } + } + uVar11 = (ulonglong)uVar12; + FUN_14003e650(puVar5 + 2,puVar9,uVar12); + FUN_140002190((longlong *)&local_res8,puVar9,uVar11,param_4); + local_res8 = puVar5 + 2; + } + } + } + FUN_140001df0((longlong *)&local_res8); + puVar5 = local_res8; + if (local_res8 == (uint *)0x0) { + puVar5 = (uint *)PTR_DAT_14016f010; + } + FUN_14003e650(puVar5,L"compdatalength < 0 sendcomplete",uVar1); + puVar5 = local_res8; + if (local_res8 == (uint *)0x0) { + puVar5 = (uint *)PTR_DAT_14016f010; + } + uVar3 = FUN_14003e620((short *)puVar5); + uVar1 = uVar15; + if (0 < (int)uVar3) { + uVar1 = uVar3; + } + uVar3 = uVar15; + if ((local_res8 != (uint *)0x0) && (local_res8 != (uint *)PTR_DAT_14016f010)) { + uVar3 = local_res8[-2]; + } + if (((int)uVar3 <= (int)uVar1) && (uVar1 = uVar15, local_res8 != (uint *)0x0)) { + if (local_res8 == (uint *)PTR_DAT_14016f010) goto LAB_1400c143c; + uVar1 = local_res8[-2]; + } + if (((local_res8 != (uint *)PTR_DAT_14016f010) && (local_res8 != (uint *)0x0)) && + (local_res8 + -2 != (uint *)0x0)) { + local_res8[-2] = uVar1; + *(undefined2 *)((longlong)local_res8 + (longlong)(int)uVar1 * 2) = 0; + } +LAB_1400c143c: + ppuVar14 = &local_res8; + uVar10 = 0xb; + uVar13 = 3; + plVar8 = *(longlong **)(param_1 + 0x108); + FUN_1400b4a80(plVar8,0xb,(undefined *)0x3,(longlong **)ppuVar14); + puVar5 = local_res8; + if (((local_res8 != (uint *)0x0) && (local_res8 != (uint *)PTR_DAT_14016f010)) && + (puVar9 = local_res8 + -2, puVar9 != (uint *)0x0)) { + piVar6 = (int *)FUN_14003e7c0(plVar8,uVar10,uVar13,ppuVar14); + FUN_14003d040(piVar6); + puVar5 = puVar5 + -1; + *puVar5 = *puVar5 - 1; + if (*puVar5 == 0) { + FUN_14003e8b0(puVar9); + } + FUN_14003d0d0((longlong)piVar6); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c1500.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c1500.c new file mode 100644 index 00000000..4f9ab41b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c1500.c @@ -0,0 +1,189 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c1500 FUN_1400c1500 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x0001400c162a) */ +/* WARNING: Removing unreachable block (ram,0x0001400c163d) */ +/* WARNING: Removing unreachable block (ram,0x0001400c1657) */ +/* WARNING: Removing unreachable block (ram,0x0001400c165f) */ +/* WARNING: Removing unreachable block (ram,0x0001400c1666) */ + +void FUN_1400c1500(longlong param_1,undefined8 param_2,SIZE_T param_3,undefined *param_4) + +{ + char cVar1; + int *piVar2; + longlong lVar3; + int *piVar4; + int *piVar5; + longlong *plVar6; + longlong **pplVar7; + ulonglong *puVar8; + wchar_t *pwVar9; + longlong *plVar10; + uint uVar11; + ulonglong uVar12; + double dVar13; + undefined8 uVar14; + ulonglong local_res8; + longlong *local_res10; + longlong *local_res18; + + piVar2 = (int *)(**(code **)(**(longlong **)(param_1 + 0x108) + 0x58)) + (*(longlong **)(param_1 + 0x108),param_2,param_3,param_4, + 0xfffffffffffffffe); + FUN_14003d040(piVar2); + *(int *)(param_1 + 0x40) = *(int *)(param_1 + 0x40) + 1; + puVar8 = *(ulonglong **)(param_1 + 0x108); + if ((longlong *)puVar8[0x16] != (longlong *)0x0) { + FUN_14009b880((longlong *)puVar8[0x16],(longlong)puVar8,param_3,param_4); + } + plVar10 = (longlong *)0x0; + uVar11 = 1; + if (*(int *)(param_1 + 0x40) == 1) { + (**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x108) + 0x78) + 0x10))(); + lVar3 = FUN_14009c0d0(*(longlong *)(param_1 + 0x108)); + if (lVar3 != 0) { + lVar3 = FUN_14009c0d0(*(longlong *)(param_1 + 0x108)); + plVar6 = plVar10; + if (*(undefined8 **)(lVar3 + 0x100) != (undefined8 *)0x0) { + plVar6 = (longlong *)**(undefined8 **)(lVar3 + 0x100); + } + FUN_140043a50(plVar6,puVar8,param_3,param_4); + } + lVar3 = *(longlong *)(*(longlong *)(param_1 + 0x108) + 0x1670); + while (lVar3 != 0) { + plVar6 = plVar10; + if (*(longlong *)(*(longlong *)(param_1 + 0x108) + 0x1670) != 0) { + plVar6 = *(longlong **)(*(longlong *)(param_1 + 0x108) + 0x1660); + } + if (plVar6 == (longlong *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + local_res8 = 0; + if (plVar6[1] != 0) { + *(longlong *)(plVar6[1] + 8) = *(longlong *)(plVar6[1] + 8) + 1; + local_res8 = plVar6[1]; + } + puVar8 = &local_res8; + FUN_1400adda0(*(longlong *)(param_1 + 0x108),puVar8,param_3,param_4); + lVar3 = *(longlong *)(*(longlong *)(param_1 + 0x108) + 0x1670); + } + FUN_1400ad8e0(*(longlong *)(param_1 + 0x108)); + FUN_1400ada30(*(longlong *)(param_1 + 0x108)); + lVar3 = FUN_14009c0f0(*(longlong *)(param_1 + 0x108)); + if (lVar3 != 0) { + lVar3 = FUN_14009c0f0(*(longlong *)(param_1 + 0x108)); + plVar6 = plVar10; + if (*(undefined8 **)(lVar3 + 0x128) != (undefined8 *)0x0) { + plVar6 = (longlong *)**(undefined8 **)(lVar3 + 0x128); + } + FUN_140043a50(plVar6,puVar8,param_3,param_4); + } + } + FUN_1400ac8a0(*(longlong **)(param_1 + 0x108),puVar8,param_3,param_4); + if (*(longlong *)(*(longlong *)(param_1 + 0x108) + 0x1718) == 0) { + lVar3 = FUN_14009c0d0(*(longlong *)(param_1 + 0x108)); + if (lVar3 != 0) { + lVar3 = FUN_14009c0d0(*(longlong *)(param_1 + 0x108)); + if ((*(longlong **)(lVar3 + 0x100) != (longlong *)0x0) && + (**(longlong **)(lVar3 + 0x100) != 0)) { + lVar3 = FUN_14009c0d0(*(longlong *)(param_1 + 0x108)); + plVar6 = plVar10; + if (*(undefined8 **)(lVar3 + 0x100) != (undefined8 *)0x0) { + plVar6 = (longlong *)**(undefined8 **)(lVar3 + 0x100); + } + cVar1 = FUN_140043cf0((longlong)plVar6); + if (((cVar1 == '\0') || + (lVar3 = FUN_14009c0d0(*(longlong *)(param_1 + 0x108)), *(char *)(lVar3 + 0x80) != '\0') + ) || (lVar3 = FUN_14009c0d0(*(longlong *)(param_1 + 0x108)), + *(char *)(lVar3 + 0xc0) != '\0')) { + uVar11 = 2; + goto LAB_1400c1833; + } + } + } + lVar3 = FUN_14009c0f0(*(longlong *)(param_1 + 0x108)); + if (lVar3 != 0) { + lVar3 = FUN_14009c0f0(*(longlong *)(param_1 + 0x108)); + if ((*(longlong **)(lVar3 + 0x128) != (longlong *)0x0) && + (**(longlong **)(lVar3 + 0x128) != 0)) { + lVar3 = FUN_14009c0f0(*(longlong *)(param_1 + 0x108)); + plVar6 = plVar10; + if (*(undefined8 **)(lVar3 + 0x128) != (undefined8 *)0x0) { + plVar6 = (longlong *)**(undefined8 **)(lVar3 + 0x128); + } + cVar1 = FUN_140043cf0((longlong)plVar6); + if (((cVar1 == '\0') || + (lVar3 = FUN_14009c0f0(*(longlong *)(param_1 + 0x108)), *(char *)(lVar3 + 0x80) != '\0') + ) || (lVar3 = FUN_14009c0f0(*(longlong *)(param_1 + 0x108)), + *(char *)(lVar3 + 0xc0) != '\0')) { + uVar11 = 3; + goto LAB_1400c1833; + } + } + } + cVar1 = FUN_140048a20(*(longlong *)(param_1 + 0x108) + 0x1620); + if (cVar1 == '\0') { + FUN_140048920((char *)(*(longlong *)(param_1 + 0x108) + 0x1620)); + } + FUN_1400b25d0(*(longlong *)(param_1 + 0x108),'\0',param_3,param_4); + if (*(int *)(param_1 + 0x100) < 5) { + *(undefined4 *)(param_1 + 0x40) = 0; + *(undefined4 *)(param_1 + 0x100) = 5; + uVar14 = (**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x108) + 0x70) + 0x1c0))(); + *(undefined8 *)(param_1 + 0x80) = uVar14; + *(undefined1 *)(param_1 + 0xc0) = 0; + } + } + else { +LAB_1400c1833: + plVar6 = (longlong *)(*(longlong *)(param_1 + 0x108) + 0x70); + dVar13 = (double)(**(code **)(*plVar6 + 0x1c0))(); + if ((5.0 < dVar13 - *(double *)(param_1 + 0x80)) && (*(char *)(param_1 + 0xc0) == '\0')) { + FUN_14003e7c0(plVar6,puVar8,param_3,param_4); + local_res18 = (longlong *)PTR_DAT_14016f010; + uVar12 = (ulonglong)uVar11; + pwVar9 = L"Too long time elapsed since disconnecting mode! unsafeDisconnectReason=%d"; + pplVar7 = &local_res18; + FUN_140029b80((longlong *)pplVar7, + L"Too long time elapsed since disconnecting mode! unsafeDisconnectReason=%d", + uVar12,param_4); + FUN_14003e7c0(pplVar7,pwVar9,uVar12,param_4); + plVar6 = local_res18; + local_res10 = (longlong *)PTR_DAT_14016f010; + if (PTR_DAT_14016f010 == (undefined *)0x0) { + local_res10 = plVar10; + } + if (local_res18 != (longlong *)PTR_DAT_14016f010) { + piVar4 = (int *)FUN_14003e7c0(pplVar7,pwVar9,uVar12,param_4); + FUN_14003d040(piVar4); + FUN_140002190((longlong *)&local_res10,pwVar9,uVar12,param_4); + local_res10 = plVar6; + if (((plVar6 != (longlong *)PTR_DAT_14016f010) && (plVar6 != (longlong *)0x0)) && + (plVar6 != (longlong *)0x8)) { + *(int *)((longlong)plVar6 + -4) = *(int *)((longlong)plVar6 + -4) + 1; + } + FUN_14003d0d0((longlong)piVar4); + } + pplVar7 = &local_res10; + FUN_1400416f0((longlong *)pplVar7,pwVar9,uVar12,param_4); + *(undefined1 *)(param_1 + 0xc0) = 1; + if (((plVar6 != (longlong *)0x0) && (plVar6 != (longlong *)PTR_DAT_14016f010)) && + (plVar6 + -1 != (longlong *)0x0)) { + piVar5 = (int *)FUN_14003e7c0(pplVar7,pwVar9,uVar12,param_4); + FUN_14003d040(piVar5); + piVar4 = (int *)((longlong)plVar6 + -4); + *piVar4 = *piVar4 + -1; + if (*piVar4 == 0) { + FUN_14003e8b0(plVar6 + -1); + } + FUN_14003d0d0((longlong)piVar5); + } + } + } + FUN_14003d0d0((longlong)piVar2); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c1a10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c1a10.c new file mode 100644 index 00000000..3da0fc90 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c1a10.c @@ -0,0 +1,143 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c1a10 FUN_1400c1a10 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_1400c1a10(longlong param_1,uint *param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 uVar1; + int *piVar2; + longlong *plVar3; + longlong **pplVar4; + longlong *plVar5; + undefined ***pppuVar6; + undefined8 *puVar7; + undefined1 auStack_da8 [32]; + longlong *local_d88; + longlong *local_d80; + uint uStack_d78; + undefined4 uStack_d74; + int local_d70 [2]; + longlong local_d68; + longlong *local_d60; + uint local_d58; + int local_d54; + int *local_d48; + undefined1 local_d40; + undefined **local_d38; + uint local_d30; + undefined2 local_d2c; + undefined4 local_d28 [2]; + undefined8 local_d20; + undefined1 local_d18; + undefined4 local_d14; + undefined1 local_d10; + undefined1 local_d0f; + undefined8 local_d08; + exception local_d00 [72]; + longlong *local_cb8; + undefined8 uStack_cb0; + undefined8 **local_38; + undefined4 local_30; + int local_2c; + ulonglong local_28; + + local_d08 = 0xfffffffffffffffe; + local_28 = DAT_14016f5a0 ^ (ulonglong)auStack_da8; + uVar1 = FUN_140074ee0(param_2,&local_d80,8); + if ((char)uVar1 != '\0') { + piVar2 = (int *)(**(code **)(**(longlong **)(param_1 + 0x108) + 0x58))(); + local_d48 = piVar2; + FUN_14003d040(piVar2); + local_d40 = 1; + local_d38 = Proud::AddrPort::vftable; + local_d30 = param_2[0xe]; + local_d2c = (undefined2)param_2[0xf]; + pppuVar6 = &local_d38; + pplVar4 = &local_d88; + plVar3 = FUN_1400a5f70(*(longlong *)(param_1 + 0x108),pplVar4,(longlong)pppuVar6); + plVar5 = (longlong *)0x0; + if ((longlong *)*plVar3 != (longlong *)0x0) { + plVar5 = *(longlong **)*plVar3; + } + if ((local_d88 != (longlong *)0x0) && + (local_d88[1] = local_d88[1] + -1, piVar2 = local_d48, local_d88[1] == 0)) { + if ((undefined8 *)*local_d88 != (undefined8 *)0x0) { + pplVar4 = (longlong **)0x1; + (*(code *)**(undefined8 **)*local_d88)(); + } + FUN_14003e8b0(local_d88); + piVar2 = local_d48; + } + if ((plVar5 != (longlong *)0x0) && (*(int *)((longlong)plVar5 + 0x56c) != 1)) { + FUN_140074fb0(local_d70); + FUN_140074a40((longlong)local_d70,pplVar4,(SIZE_T)pppuVar6,param_4); + FUN_140075110(local_d70,0x800,(SIZE_T)pppuVar6,param_4); + uVar1 = 0; + FUN_140075110(local_d70,0,(SIZE_T)pppuVar6,param_4); + uVar1 = CONCAT71((int7)((ulonglong)uVar1 >> 8),0x21); + FUN_140029d80((longlong)local_d70,uVar1,(SIZE_T)pppuVar6,param_4); + FUN_14002f5c0((longlong)local_d70,local_d80,(SIZE_T)pppuVar6,param_4); + local_2c = 200; + local_30 = 0; + local_38 = &local_cb8; + if (local_d68 == 0) { + uStack_d78 = local_d58; + if (local_d60 == (longlong *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,uVar1,pppuVar6,param_4); + } + } + else { + uStack_d78 = *(uint *)(local_d68 + 0x18); + } + local_d80 = local_d60; + if (local_d60 == (longlong *)0x0) { + if (local_d68 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,(ulonglong)uStack_d78,pppuVar6,param_4); + } + local_d80 = (longlong *)0x0; + if (*(int *)(local_d68 + 0x18) != 0) { + local_d80 = *(longlong **)(local_d68 + 0x10); + } + } + local_30 = 1; + uStack_cb0 = CONCAT44(uStack_d74,uStack_d78); + local_d28[0] = 0; + local_d20 = 0; + local_d18 = 1; + local_d14 = 0xffffffff; + local_d10 = 1; + local_d0f = DAT_14016f1cc; + puVar7 = (undefined8 *)local_d28; + local_cb8 = local_d80; + FUN_1400cf2c0(plVar5 + 0xcd,(longlong)&local_cb8,puVar7); + if (local_38 == (longlong **)0x0) { + FUN_14003db10(local_d00,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,puVar7, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_d00,(ThrowInfo *)&DAT_14016c210); + } + if (local_2c < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_30 = 0; + local_d80 = &local_d68; + FUN_14008a320(&local_d68); + if (local_d60 != (longlong *)0x0) { + if (local_d54 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_d58 = 0; + } + } + FUN_14003d0d0((longlong)piVar2); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c1cc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c1cc0.c new file mode 100644 index 00000000..830b2755 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c1cc0.c @@ -0,0 +1,142 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c1cc0 FUN_1400c1cc0 + * Pseudocode, not original source. */ + +void FUN_1400c1cc0(longlong param_1,SIZE_T param_2,longlong param_3,undefined8 param_4) + +{ + undefined8 *puVar1; + undefined1 uVar2; + ushort uVar3; + longlong lVar4; + longlong *plVar5; + uint *puVar6; + undefined ***pppuVar7; + uint uVar8; + double extraout_XMM0_Qa; + undefined8 uVar9; + undefined4 uVar10; + undefined4 uVar11; + longlong *local_res10; + int local_d8 [2]; + longlong local_d0; + longlong local_c8; + int local_bc; + undefined **local_b0; + undefined4 local_a8; + undefined2 local_a4; + undefined **local_a0; + undefined4 local_98; + undefined2 local_94; + undefined **local_90; + undefined4 local_88; + undefined2 local_84; + uint local_80 [2]; + undefined8 local_78; + undefined1 local_70; + undefined4 local_6c; + undefined1 local_68; + undefined1 local_67; + uint local_60 [2]; + undefined8 local_58; + undefined1 local_50; + undefined4 local_4c; + undefined1 local_48; + undefined1 local_47; + undefined8 local_40; + + if (param_2 == 0) { + return; + } + local_40 = 0xfffffffffffffffe; + local_a0 = Proud::AddrPort::vftable; + local_98 = *(undefined4 *)(param_3 + 0x38); + local_94 = *(undefined2 *)(param_3 + 0x3c); + pppuVar7 = &local_a0; + FUN_14008c900(*(longlong *)(param_2 + 0x188),(longlong)pppuVar7); + if (extraout_XMM0_Qa <= 0.0) { + return; + } + FUN_140074fb0(local_d8); + FUN_140074a40((longlong)local_d8,pppuVar7,param_2,param_4); + FUN_140075110(local_d8,0x800,param_2,param_4); + uVar9 = 0; + FUN_140075110(local_d8,0,param_2,param_4); + FUN_140029d80((longlong)local_d8,CONCAT71((int7)((ulonglong)uVar9 >> 8),0x28),param_2,param_4); + FUN_14002f5c0((longlong)local_d8,extraout_XMM0_Qa,param_2,param_4); + uVar8 = *(uint *)(param_3 + 0x28); + if (uVar8 == 1) { + lVar4 = 0; + local_78 = 0; + local_70 = 1; + local_6c = 0xffffffff; + local_68 = 1; + local_67 = DAT_14016f1cc; + plVar5 = *(longlong **)(*(longlong *)(param_1 + 0x108) + 0x1570); + if (plVar5 != (longlong *)0x0) { + lVar4 = *plVar5; + } + local_90 = Proud::AddrPort::vftable; + local_88 = *(undefined4 *)(lVar4 + 0xd0); + local_84 = *(undefined2 *)(lVar4 + 0xd4); + plVar5 = *(longlong **)(param_1 + 0x108); + local_80[0] = uVar8; + uVar9 = (**(code **)(plVar5[0xe] + 0x1c0))(); + uVar10 = (undefined4)uVar9; + uVar11 = (undefined4)((ulonglong)uVar9 >> 0x20); + uVar2 = (**(code **)(*plVar5 + 0x30))(plVar5); + uVar3 = FUN_14008be40(uVar2,1); + lVar4 = FUN_14009c0d0(*(longlong *)(param_1 + 0x108)); + puVar6 = local_80; + pppuVar7 = &local_90; + uVar8 = 1; + } + else { + if (uVar8 == 0) goto LAB_1400c1f46; + plVar5 = FUN_1400a7920(*(longlong **)(param_1 + 0x108),(longlong *)&local_res10,uVar8); + lVar4 = 0; + if ((longlong *)*plVar5 != (longlong *)0x0) { + lVar4 = *(longlong *)*plVar5; + } + if ((local_res10 != (longlong *)0x0) && + (local_res10[1] = local_res10[1] + -1, local_res10[1] == 0)) { + puVar1 = (undefined8 *)*local_res10; + if (puVar1 != (undefined8 *)0x0) { + (**(code **)*puVar1)(puVar1,1); + } + FUN_14003e8b0(local_res10); + } + if ((*(longlong **)(lVar4 + 0x18) == (longlong *)0x0) || (**(longlong **)(lVar4 + 0x18) == 0)) + goto LAB_1400c1f46; + local_60[0] = 1; + local_58 = 0; + local_50 = 1; + local_4c = 0xffffffff; + local_48 = 1; + local_47 = DAT_14016f1cc; + local_b0 = Proud::AddrPort::vftable; + local_a8 = *(undefined4 *)(lVar4 + 0x598); + local_a4 = *(undefined2 *)(lVar4 + 0x59c); + uVar8 = *(uint *)(param_3 + 0x28); + plVar5 = *(longlong **)(param_1 + 0x108); + uVar9 = (**(code **)(plVar5[0xe] + 0x1c0))(); + uVar10 = (undefined4)uVar9; + uVar11 = (undefined4)((ulonglong)uVar9 >> 0x20); + uVar2 = (**(code **)(*plVar5 + 0x30))(plVar5); + uVar3 = FUN_14008be40(uVar2,(char)uVar8); + lVar4 = FUN_1400cf2a0(lVar4); + puVar6 = local_60; + pppuVar7 = &local_b0; + } + FUN_1400d31e0(lVar4,uVar8,(ulonglong)uVar3,(longlong)pppuVar7,(longlong)local_d8, + (double)CONCAT44(uVar11,uVar10),(undefined8 *)puVar6); +LAB_1400c1f46: + local_res10 = &local_d0; + FUN_14008a320(&local_d0); + if ((local_c8 != 0) && (local_bc < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c1f90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c1f90.c new file mode 100644 index 00000000..509f5517 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c1f90.c @@ -0,0 +1,37 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c1f90 FUN_1400c1f90 + * Pseudocode, not original source. */ + +void FUN_1400c1f90(longlong param_1,longlong *param_2,ulonglong param_3,undefined8 param_4) + +{ + uint uVar1; + undefined *puVar2; + int *piVar3; + int *piVar4; + longlong *plVar5; + wchar_t *pwVar6; + undefined *local_res8; + + piVar3 = (int *)(param_1 + 0x10); + piVar4 = piVar3; + plVar5 = param_2; + FUN_14003d040(piVar3); + if ((int)param_2[0x20] != 5) { + FUN_14003e7c0(piVar4,plVar5,param_3,param_4); + local_res8 = PTR_DAT_14016f010; + uVar1 = FUN_14003e620(L"Unexpected at CNetClientManager::Unregister"); + puVar2 = FUN_140001ee0((longlong *)&local_res8,uVar1); + param_3 = (ulonglong)uVar1; + pwVar6 = L"Unexpected at CNetClientManager::Unregister"; + FUN_14003e650(puVar2,L"Unexpected at CNetClientManager::Unregister",uVar1); + FUN_140001fc0((longlong *)&local_res8); + FUN_1400416f0((longlong *)&local_res8,pwVar6,param_3,param_4); + } + if ((longlong *)param_2[2] != (longlong *)0x0) { + FUN_1400bf1e0((longlong *)param_2[2],param_2,param_3,param_4); + } + FUN_14003d0d0((longlong)piVar3); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c2040.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c2040.c new file mode 100644 index 00000000..34b8c7ee --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c2040.c @@ -0,0 +1,58 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c2040 FUN_1400c2040 + * Pseudocode, not original source. */ + +void FUN_1400c2040(longlong param_1,char param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong *plVar1; + undefined8 *puVar2; + longlong *plVar3; + longlong *plVar4; + longlong *plVar5; + longlong *local_res8; + + FUN_14003d040((int *)(param_1 + 0x10)); + plVar1 = (longlong *)(param_1 + 0x290); + plVar5 = (longlong *)*plVar1; + if (((plVar5 == (longlong *)0x0) || (*plVar5 == 0)) && (param_2 != '\0')) { + local_res8 = operator_new(0x3c0); + plVar5 = (longlong *)0x0; + plVar4 = plVar5; + if (local_res8 != (longlong *)0x0) { + plVar4 = FUN_1400dc120(local_res8,param_1 + 8,param_3,param_4); + } + if (plVar4 == (longlong *)0x0) { + local_res8 = (longlong *)0x0; + } + else { + local_res8 = (longlong *)FUN_14003e840(0x10); + local_res8[1] = 1; + *local_res8 = (longlong)plVar4; + } + plVar4 = local_res8; + FUN_14009d860(plVar1,(longlong *)&local_res8); + plVar3 = local_res8; + if (plVar4 != (longlong *)0x0) { + plVar4 = plVar4 + 1; + *plVar4 = *plVar4 + -1; + if (*plVar4 == 0) { + puVar2 = (undefined8 *)*local_res8; + if (puVar2 != (undefined8 *)0x0) { + (**(code **)*puVar2)(puVar2,1); + } + FUN_14003e8b0(plVar3); + } + } + if ((undefined8 *)*plVar1 != (undefined8 *)0x0) { + plVar5 = *(longlong **)*plVar1; + } + FUN_1400dbce0((longlong)plVar5); + } + else if (((plVar5 != (longlong *)0x0) && (*plVar5 != 0)) && (param_2 == '\0')) { + FUN_1400dbc80(*plVar5); + } + FUN_14003d0d0(param_1 + 0x10); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c2180.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c2180.c new file mode 100644 index 00000000..2839fe30 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c2180.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c2180 FUN_1400c2180 + * Pseudocode, not original source. */ + +undefined8 * +FUN_1400c2180(longlong *param_1,undefined4 *param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong *plVar1; + undefined8 *puVar2; + + plVar1 = (longlong *)*param_1; + if (plVar1 == (longlong *)0x0) { + puVar2 = (undefined8 *)FUN_14003e840(0x58); + } + else { + puVar2 = (undefined8 *) + (**(code **)(*plVar1 + 8))(plVar1,0x58,param_3,param_4,0xfffffffffffffffe); + } + if (puVar2 != (undefined8 *)0x0) { + FUN_140074fe0((undefined4 *)(puVar2 + 2),param_2); + *(undefined4 *)(puVar2 + 7) = param_2[10]; + puVar2[8] = Proud::AddrPort::vftable; + *(undefined4 *)(puVar2 + 9) = param_2[0xe]; + *(undefined2 *)((longlong)puVar2 + 0x4c) = *(undefined2 *)(param_2 + 0xf); + *(undefined1 *)(puVar2 + 10) = *(undefined1 *)(param_2 + 0x10); + } + puVar2[1] = param_3; + *puVar2 = param_4; + param_1[3] = param_1[3] + 1; + return puVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c2230.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c2230.c new file mode 100644 index 00000000..33a3810e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c2230.c @@ -0,0 +1,310 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c2230 FUN_1400c2230 + * Pseudocode, not original source. */ + +ulonglong FUN_1400c2230(longlong param_1,IMAGE_DOS_HEADER *param_2,uint *param_3, + undefined ***param_4) + +{ + undefined1 uVar1; + ushort uVar2; + ulonglong in_RAX; + ulonglong uVar3; + undefined8 uVar4; + longlong *plVar5; + longlong *plVar6; + longlong *plVar7; + undefined1 *puVar8; + longlong **pplVar9; + longlong **pplVar10; + longlong **pplVar11; + longlong **pplVar12; + uint *puVar13; + SIZE_T SVar14; + int iVar15; + longlong **pplVar16; + int iVar17; + uint uVar18; + longlong **pplVar20; + double dVar21; + uint local_res18 [2]; + longlong *local_res20; + undefined8 local_178; + longlong local_170; + longlong local_168; + undefined4 local_160; + int local_15c; + undefined **local_150; + undefined8 local_148; + longlong **local_140; + ulonglong local_138; + undefined8 local_130; + undefined **local_128; + longlong **local_120; + longlong **local_118; + undefined8 local_110; + undefined8 local_108; + longlong **local_100; + undefined1 local_f8 [56]; + word local_c0 [2]; + undefined2 local_bc; + byte local_b8; + undefined **local_a8; + uint local_a0; + byte local_9c [4]; + byte local_98 [8]; + int local_90 [2]; + ulonglong local_88; + uint local_80 [2]; + byte local_78 [8]; + undefined1 local_70; + undefined4 local_6c; + undefined1 local_68; + undefined1 local_67; + undefined8 local_60; + longlong **pplVar19; + + local_60 = 0xfffffffffffffffe; + if (((param_3[10] != 1) || + (puVar13 = param_3, in_RAX = FUN_140075710(param_3,local_res18,param_3,param_4), + (char)in_RAX == '\0')) || + (in_RAX = FUN_140075580(param_3,(undefined8 *)local_98,puVar13,param_4), (char)in_RAX == '\0')) + goto LAB_1400c279b; + pplVar11 = (longlong **)0x0; + local_120 = (longlong **)0x0; + local_118 = (longlong **)0x0; + local_110 = 0; + local_108 = 0; + local_128 = Proud::HostIDArray::vftable; + in_RAX = FUN_140075580(param_3,(undefined8 *)local_90,puVar13,param_4); + pplVar12 = pplVar11; + pplVar9 = pplVar11; + if ((((char)in_RAX == '\0') || (pplVar12 = (longlong **)0x0, local_90[0] < 0)) || + (DAT_14016f140 < local_90[0])) { +LAB_1400c277b: + if (pplVar12 == (longlong **)0x0) goto LAB_1400c279b; + if (pplVar9 == (longlong **)0x0) { +LAB_1400c2793: + in_RAX = FUN_14003e8b0(pplVar12); + goto LAB_1400c279b; + } + plVar6 = *pplVar9; + } + else { + FUN_14004cce0((longlong)&local_128,local_90[0],(longlong)puVar13); + pplVar12 = local_118; + iVar17 = (int)local_110; + pplVar9 = local_118; + if ((int)local_110 == 0) { + pplVar9 = pplVar11; + } + SVar14 = (SIZE_T)(uint)(local_90[0] * 4); + in_RAX = FUN_140074ee0(param_3,pplVar9,SVar14); + pplVar9 = local_120; + if ((char)in_RAX == '\0') goto LAB_1400c277b; + local_148 = 0; + local_140 = (longlong **)0x0; + local_138 = 0; + local_130 = 0; + local_150 = Proud::ByteArray::vftable; + uVar3 = FUN_140075580(param_3,&local_88,SVar14,param_4); + if ((((char)uVar3 != '\0') && (iVar15 = (int)local_88, -1 < iVar15)) && + (iVar15 <= DAT_14016f140)) { + FUN_14002a050((longlong)&local_150,iVar15,SVar14); + pplVar9 = local_140; + if ((int)local_138 == 0) { + pplVar9 = pplVar11; + } + SVar14 = local_88 & 0xffffffff; + uVar4 = FUN_140074ee0(param_3,pplVar9,SVar14); + if ((char)uVar4 != '\0') { + FUN_140074fb0((undefined4 *)&local_178); + FUN_140074a40((longlong)&local_178,pplVar9,SVar14,param_4); + FUN_140075110((int *)&local_178,0x800,SVar14,param_4); + uVar4 = 0; + FUN_140075110((int *)&local_178,0,SVar14,param_4); + FUN_140029d80((longlong)&local_178,CONCAT71((int7)((ulonglong)uVar4 >> 8),0x23),SVar14, + param_4); + uVar3 = local_138; + iVar15 = (int)local_138; + plVar6 = &local_178; + FUN_140076380((longlong)plVar6,(longlong)(int)local_138,SVar14,param_4); + pplVar9 = local_140; + if ((int)local_138 == 0) { + pplVar9 = pplVar11; + } + if (iVar15 != 0) { + local_178._4_4_ = 0; + if (local_170 == 0) { + if (local_168 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,pplVar9,SVar14,param_4); + } +LAB_1400c241e: + SVar14 = uVar3 & 0xffffffff; + FUN_140029f40(&local_168,pplVar9,SVar14,param_4); + } + else { + if (local_168 != 0) goto LAB_1400c241e; + if (local_170 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,pplVar9,SVar14,param_4); + } + SVar14 = uVar3 & 0xffffffff; + FUN_14002a110(local_170,pplVar9,SVar14); + } + plVar6 = &local_178; + FUN_14002a180((longlong)plVar6,pplVar9,SVar14,param_4); + } + local_70 = DAT_140178020; + local_6c = 0xffffffff; + local_68 = DAT_140178040; + local_80[0] = local_res18[0]; + local_78[0] = local_98[0]; + local_78[1] = local_98[1]; + local_78[2] = local_98[2]; + local_78[3] = local_98[3]; + local_78[4] = local_98[4]; + local_78[5] = local_98[5]; + local_78[6] = local_98[6]; + local_78[7] = local_98[7]; + local_67 = 0; + pplVar19 = pplVar11; + pplVar20 = pplVar11; + if (0 < iVar17) { + do { + if (((longlong)pplVar20 < 0) || (iVar17 <= (int)pplVar19)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(plVar6,pplVar9,SVar14,param_4); + } + plVar6 = *(longlong **)(param_1 + 0x108); + pplVar9 = (longlong **)((longlong)pplVar12 + (longlong)pplVar20 * 4); + local_100 = pplVar9; + if (*(uint *)pplVar9 != *(uint *)(plVar6 + 0x2af)) { + SVar14 = (SIZE_T)*(uint *)pplVar9; + pplVar10 = &local_res20; + plVar5 = FUN_1400a7920(plVar6,(longlong *)pplVar10,*(uint *)pplVar9); + plVar7 = local_res20; + pplVar16 = pplVar11; + if ((undefined8 *)*plVar5 != (undefined8 *)0x0) { + pplVar16 = *(longlong ***)*plVar5; + } + pplVar9 = pplVar10; + if (local_res20 != (longlong *)0x0) { + local_res20[1] = local_res20[1] + -1; + plVar6 = (longlong *)local_res20[1]; + if ((longlong *)local_res20[1] == (longlong *)0x0) { + if ((undefined8 *)*local_res20 != (undefined8 *)0x0) { + pplVar10 = (longlong **)0x1; + (*(code *)**(undefined8 **)*local_res20)(); + } + FUN_14003e8b0(plVar7); + plVar6 = plVar7; + } + pplVar9 = pplVar10; + pplVar12 = local_118; + iVar17 = (int)local_110; + } + if ((((pplVar16 != (longlong **)0x0) && + (*(char *)((longlong)pplVar16 + 0x684) == '\0')) && + (*(char *)(pplVar16 + 0xc1) != '\x01')) && + ((pplVar16[3] != (longlong *)0x0 && (*pplVar16[3] != 0)))) { + local_a8 = Proud::AddrPort::vftable; + local_a0 = *(uint *)(pplVar16 + 0xb3); + local_9c._0_2_ = *(undefined2 *)((longlong)pplVar16 + 0x59c); + plVar6 = *(longlong **)(param_1 + 0x108); + dVar21 = (double)(**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x108) + 0x70) + + 0x1c0))(); + uVar1 = (**(code **)(*plVar6 + 0x30))(plVar6); + uVar2 = FUN_14008be40(uVar1,(char)*(uint *)local_100); + plVar6 = (longlong *)FUN_1400cf2a0((longlong)pplVar16); + param_4 = &local_a8; + SVar14 = (SIZE_T)uVar2; + pplVar9 = (longlong **)(ulonglong)*(uint *)local_100; + FUN_1400d31e0((longlong)plVar6,*(uint *)local_100,SVar14,(longlong)param_4, + (longlong)&local_178,dVar21,(undefined8 *)local_80); + } + } + uVar18 = (int)pplVar19 + 1; + pplVar19 = (longlong **)(ulonglong)uVar18; + pplVar20 = (longlong **)((longlong)pplVar20 + 1); + } while ((int)uVar18 < iVar17); + } + FUN_140074fb0((undefined4 *)local_f8); + local_f8._48_8_ = Proud::AddrPort::vftable; + local_b8 = 0; + local_c0[0] = (word)DAT_14016f3d0; + local_c0[1] = DAT_14016f3d0._2_2_; + local_bc = DAT_14016f3d4; + local_f8._40_2_ = 1; + local_f8._42_2_ = 0; + puVar8 = local_f8; + FUN_140074a40((longlong)puVar8,pplVar9,SVar14,param_4); + SVar14 = local_138 & 0xffffffff; + if ((int)local_138 < 1) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(puVar8,pplVar9,SVar14,param_4); + } + local_f8._4_2_ = 0; + local_f8._6_2_ = 0; + pplVar11 = local_140; + if (local_f8._8_8_ == 0) { + if (local_f8._16_8_ == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,pplVar9,SVar14,param_4); + } + } + else if (local_f8._16_8_ == 0) { + if (local_f8._8_8_ == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,pplVar9,SVar14,param_4); + } + FUN_14002a110(local_f8._8_8_,local_140,SVar14); + goto LAB_1400c26a9; + } + FUN_140029f40((longlong *)(local_f8 + 0x10),local_140,SVar14,param_4); +LAB_1400c26a9: + FUN_14002a180((longlong)local_f8,pplVar11,SVar14,param_4); + FUN_1400c6270((IMAGE_DOS_HEADER *)param_1,param_2,(IMAGE_DOS_HEADER *)local_f8,param_4); + local_res20 = (longlong *)(local_f8 + 8); + FUN_14008a320((longlong *)(local_f8 + 8)); + if (local_f8._16_8_ != 0) { + if ((int)local_f8._28_4_ < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_f8._24_2_ = 0; + local_f8._26_2_ = 0; + } + local_res20 = &local_170; + FUN_14008a320(&local_170); + if (local_168 != 0) { + if (local_15c < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_160 = 0; + } + uVar4 = FUN_140049e40(&local_150); + if (pplVar12 != (longlong **)0x0) { + if (local_120 == (longlong **)0x0) { + uVar4 = FUN_14003e8b0(pplVar12); + } + else { + uVar4 = (*(code *)(*local_120)[3])(local_120,pplVar12); + } + } + return CONCAT71((int7)((ulonglong)uVar4 >> 8),1); + } + } + in_RAX = FUN_140049e40(&local_150); + if (pplVar12 == (longlong **)0x0) goto LAB_1400c279b; + if (local_120 == (longlong **)0x0) goto LAB_1400c2793; + plVar6 = *local_120; + pplVar9 = local_120; + } + in_RAX = (*(code *)plVar6[3])(pplVar9,pplVar12); +LAB_1400c279b: + return in_RAX & 0xffffffffffffff00; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c27c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c27c0.c new file mode 100644 index 00000000..520a857b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c27c0.c @@ -0,0 +1,419 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c27c0 FUN_1400c27c0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_1400c27c0(longlong *param_1,uint *param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong *plVar1; + uint uVar2; + longlong *plVar3; + undefined8 uVar4; + int *piVar5; + ulonglong uVar6; + int *piVar7; + longlong lVar8; + uint *puVar9; + longlong *plVar10; + uint uVar11; + undefined8 *puVar12; + longlong **pplVar13; + undefined ***pppuVar14; + undefined8 uVar15; + int iVar16; + longlong **pplVar17; + SIZE_T SVar18; + uint *puVar19; + SIZE_T *pSVar20; + longlong lVar21; + undefined1 auStack_ec8 [32]; + undefined1 local_ea8 [8]; + longlong *local_ea0; + int local_e98 [2]; + longlong local_e90; + longlong local_e88; + undefined4 local_e80; + int local_e7c; + longlong *local_e70; + longlong *local_e68; + longlong *local_e60; + undefined **local_e58; + undefined8 local_e50; + longlong **local_e48; + undefined8 local_e40; + undefined8 local_e38; + undefined **local_e30; + undefined8 local_e28; + longlong **local_e20; + undefined8 local_e18; + undefined8 local_e10; + undefined **local_e08; + undefined8 local_e00; + longlong **local_df8; + undefined8 local_df0; + undefined8 local_de8; + longlong *local_dd0; + undefined **local_dc8; + undefined8 local_dc0; + longlong **local_db8; + ulonglong local_db0; + undefined8 local_da8; + undefined **local_da0; + undefined8 local_d98; + longlong **local_d90; + ulonglong local_d88; + undefined8 local_d80; + int *local_d78; + undefined1 local_d70; + int *local_d68; + undefined1 local_d60; + SIZE_T local_d58; + undefined1 local_d50; + uint local_d48; + int iStack_d44; + undefined8 local_d40; + undefined8 local_d38; + undefined8 local_d30; + undefined8 local_d28; + undefined8 local_d20; + int *local_d18; + undefined1 local_d10; + int *local_d08; + undefined1 local_d00; + undefined8 local_ce0; + undefined1 local_cb8 [3216]; + ulonglong local_28; + + local_ce0 = 0xfffffffffffffffe; + local_28 = DAT_14016f5a0 ^ (ulonglong)auStack_ec8; + local_ea0 = param_1; + (**(code **)(*(longlong *)(param_1[0x21] + 0x78) + 0x10))(); + SVar18 = 1; + puVar12 = (undefined8 *)local_ea8; + puVar19 = param_2; + uVar4 = FUN_140074ee0(param_2,puVar12,1); + if ((char)uVar4 == '\0') { + FUN_14003e7c0(puVar19,puVar12,SVar18,param_4); + local_e70 = (longlong *)PTR_DAT_14016f010; + pplVar13 = &local_e70; + uVar4 = 8; + uVar15 = 3; + plVar10 = (longlong *)param_1[0x21]; + FUN_1400b4a80(plVar10,8,(undefined *)0x3,pplVar13); + plVar3 = local_e70; + if (((local_e70 != (longlong *)0x0) && (local_e70 != (longlong *)PTR_DAT_14016f010)) && + (plVar1 = local_e70 + -1, plVar1 != (longlong *)0x0)) { + piVar5 = (int *)FUN_14003e7c0(plVar10,uVar4,uVar15,pplVar13); + local_d68 = piVar5; + FUN_14003d040(piVar5); + local_d60 = 1; + piVar7 = (int *)((longlong)plVar3 + -4); + *piVar7 = *piVar7 + -1; + if (*piVar7 == 0) { + FUN_14003e8b0(plVar1); + } + FUN_14003d0d0((longlong)piVar5); + local_d60 = 0; + } + local_e70 = (longlong *)PTR_DAT_14016f010; +LAB_1400c28be: + if ((int)param_1[0x20] < 4) { + *(undefined4 *)(param_1 + 8) = 0; + *(undefined4 *)(param_1 + 0x20) = 4; + lVar21 = (**(code **)(*(longlong *)(param_1[0x21] + 0x70) + 0x1c0))(); + param_1[0x10] = lVar21; + *(undefined1 *)(param_1 + 0x18) = 0; + } + return; + } + FUN_1400979a0(&local_d48); + puVar19 = &local_d48; + puVar9 = param_2; + uVar4 = FUN_1400759f0(param_2,puVar19,SVar18,param_4); + if ((char)uVar4 == '\0') { + FUN_14003e7c0(puVar9,puVar19,SVar18,param_4); + local_e60 = (longlong *)PTR_DAT_14016f010; + pplVar13 = &local_e60; + uVar4 = 8; + uVar15 = 3; + plVar10 = (longlong *)param_1[0x21]; + FUN_1400b4a80(plVar10,8,(undefined *)0x3,pplVar13); + plVar3 = local_e60; + if (((local_e60 != (longlong *)0x0) && (local_e60 != (longlong *)PTR_DAT_14016f010)) && + (plVar1 = local_e60 + -1, plVar1 != (longlong *)0x0)) { + piVar5 = (int *)FUN_14003e7c0(plVar10,uVar4,uVar15,pplVar13); + local_d78 = piVar5; + FUN_14003d040(piVar5); + local_d70 = 1; + piVar7 = (int *)((longlong)plVar3 + -4); + *piVar7 = *piVar7 + -1; + if (*piVar7 == 0) { + FUN_14003e8b0(plVar1); + } + FUN_14003d0d0((longlong)piVar5); + local_d70 = 0; + } + local_e60 = (longlong *)PTR_DAT_14016f010; + goto LAB_1400c28be; + } + lVar21 = param_1[0x21]; + *(ulonglong *)(lVar21 + 0x6a0) = CONCAT44(iStack_d44,local_d48); + *(undefined8 *)(lVar21 + 0x6a8) = local_d40; + *(undefined8 *)(lVar21 + 0x6b0) = local_d38; + *(undefined8 *)(lVar21 + 0x6b8) = local_d30; + *(undefined8 *)(lVar21 + 0x6c0) = local_d28; + *(undefined8 *)(lVar21 + 0x6c8) = local_d20; + if (*(char *)(param_1[0x21] + 0x6cc) != '\0') { + uVar4 = (**(code **)(*(longlong *)(param_1[0x21] + 0x70) + 0x1c0))(); + *(undefined8 *)(param_1[0x21] + 0x638) = uVar4; + } + pplVar17 = (longlong **)0x0; + local_e00 = 0; + local_df8 = (longlong **)0x0; + local_df0 = 0; + local_de8 = 0; + local_e08 = Proud::ByteArray::vftable; + pplVar13 = &local_dd0; + puVar19 = param_2; + uVar6 = FUN_140075580(param_2,pplVar13,SVar18,param_4); + plVar10 = local_dd0; + if ((((char)uVar6 != '\0') && (iVar16 = (int)local_dd0, -1 < iVar16)) && (iVar16 <= DAT_14016f140) + ) { + FUN_14002a050((longlong)&local_e08,iVar16,SVar18); + pplVar13 = local_df8; + if ((int)local_df0 == 0) { + pplVar13 = pplVar17; + } + SVar18 = (ulonglong)plVar10 & 0xffffffff; + puVar19 = param_2; + uVar4 = FUN_140074ee0(param_2,pplVar13,SVar18); + if ((char)uVar4 != '\0') { + local_e50 = 0; + local_e48 = (longlong **)0x0; + local_e40 = 0; + local_e38 = 0; + local_e58 = Proud::ByteArray::vftable; + local_e28 = 0; + local_e20 = (longlong **)0x0; + local_e18 = 0; + local_e10 = 0; + local_e30 = Proud::ByteArray::vftable; + FUN_140095cc0((longlong)&local_e58,*(int *)(param_1[0x21] + 0x6bc),SVar18,param_4); + pplVar13 = local_e48; + if ((int)local_e40 == 0) { + pplVar13 = pplVar17; + } + SVar18 = (SIZE_T)(*(uint *)(param_1[0x21] + 0x6bc) >> 3); + uVar4 = 0x10; + FUN_140085bb0((void *)(param_1[0x21] + 0xd8),(byte *)pplVar13,SVar18,0x10); + FUN_140095cc0((longlong)&local_e30,*(int *)(param_1[0x21] + 0x6c0),SVar18,uVar4); + pplVar13 = local_e20; + if ((int)local_e18 == 0) { + pplVar13 = pplVar17; + } + SVar18 = (SIZE_T)(*(uint *)(param_1[0x21] + 0x6c0) >> 3); + FUN_1400953b0(param_1[0x21] + 0x4a8,(longlong)pplVar13,SVar18,uVar4); + piVar7 = (int *)FUN_14003e990(); + FUN_14003d040(piVar7); + if (iStack_d44 < DAT_14016f140) { + iStack_d44 = DAT_14016f140; + } + DAT_14016f140 = iStack_d44; + FUN_14003d0d0((longlong)piVar7); + uVar11 = (int)*param_2 >> 0x1f & 7; + if (*(longlong *)(param_2 + 2) == 0) { + if (*(longlong *)(param_2 + 4) == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,(ulonglong)uVar11,SVar18,uVar4); + } + uVar2 = param_2[6]; + } + else { + uVar2 = *(uint *)(*(longlong *)(param_2 + 2) + 0x18); + } + if ((int)(*param_2 + uVar11) >> 3 != uVar2) { + FUN_14003e7c0((ulonglong)uVar2,(ulonglong)uVar11,SVar18,uVar4); + local_ea0 = (longlong *)PTR_DAT_14016f010; + pplVar13 = &local_ea0; + uVar4 = 8; + uVar15 = 3; + plVar10 = (longlong *)param_1[0x21]; + FUN_1400b4a80(plVar10,8,(undefined *)0x3,pplVar13); + plVar3 = local_ea0; + if (((local_ea0 != (longlong *)0x0) && (local_ea0 != (longlong *)PTR_DAT_14016f010)) && + (plVar1 = local_ea0 + -1, plVar1 != (longlong *)0x0)) { + piVar5 = (int *)FUN_14003e7c0(plVar10,uVar4,uVar15,pplVar13); + local_d08 = piVar5; + FUN_14003d040(piVar5); + local_d00 = 1; + piVar7 = (int *)((longlong)plVar3 + -4); + *piVar7 = *piVar7 + -1; + if (*piVar7 == 0) { + FUN_14003e8b0(plVar1); + } + FUN_14003d0d0((longlong)piVar5); + } + FUN_1400bf180((longlong)param_1,4); + FUN_140049e40(&local_e30); + FUN_140049e40(&local_e58); + goto LAB_1400c3157; + } + *(undefined1 *)(param_1[0x21] + 0x1790) = local_ea8[0]; + lVar21 = param_1[0x21]; + lVar8 = FUN_14009c0f0(lVar21); + FUN_1400ce8f0(lVar8,*(char *)(lVar21 + 0x6b8)); + local_dc0 = 0; + local_db8 = (longlong **)0x0; + local_db0 = 0; + local_da8 = 0; + local_dc8 = Proud::ByteArray::vftable; + local_d98 = 0; + local_d90 = (longlong **)0x0; + local_d88 = 0; + local_d80 = 0; + local_da0 = Proud::ByteArray::vftable; + FUN_140095cc0((longlong)&local_e58,*(int *)(param_1[0x21] + 0x6bc),SVar18,uVar4); + pplVar13 = local_e48; + if ((int)local_e40 == 0) { + pplVar13 = pplVar17; + } + uVar4 = 0x10; + FUN_140085bb0((void *)(param_1[0x21] + 0x708),(byte *)pplVar13, + (ulonglong)(*(uint *)(param_1[0x21] + 0x6bc) >> 3),0x10); + pppuVar14 = &local_e08; + FUN_140095e80((longlong)&local_dc8,(longlong)&local_e58,(longlong)pppuVar14); + FUN_140095cc0((longlong)&local_e30,*(int *)(param_1[0x21] + 0x6c0),(SIZE_T)pppuVar14,uVar4); + pplVar13 = local_e20; + if ((int)local_e18 == 0) { + pplVar13 = pplVar17; + } + FUN_1400953b0(param_1[0x21] + 0xad8,(longlong)pplVar13, + (ulonglong)(*(uint *)(param_1[0x21] + 0x6c0) >> 3),uVar4); + puVar19 = (uint *)(param_1[0x21] + 0x708); + pppuVar14 = &local_da0; + FUN_140087c70((longlong)&local_e30,(longlong)pppuVar14,puVar19,uVar4); + FUN_140074fb0(local_e98); + FUN_140074a40((longlong)local_e98,pppuVar14,(SIZE_T)puVar19,uVar4); + FUN_140075110(local_e98,0x800,(SIZE_T)puVar19,uVar4); + uVar15 = 0; + FUN_140075110(local_e98,0,(SIZE_T)puVar19,uVar4); + FUN_140029d80((longlong)local_e98,CONCAT71((int7)((ulonglong)uVar15 >> 8),5),(SIZE_T)puVar19, + uVar4); + uVar6 = local_db0; + iVar16 = (int)local_db0; + FUN_140076380((longlong)local_e98,(longlong)(int)local_db0,(SIZE_T)puVar19,uVar4); + pplVar13 = local_db8; + if ((int)local_db0 == 0) { + pplVar13 = pplVar17; + } + if (iVar16 != 0) { + local_e98[1] = 0; + if (local_e90 == 0) { + if (local_e88 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,pplVar13,puVar19,uVar4); + } +LAB_1400c2ec2: + puVar19 = (uint *)(uVar6 & 0xffffffff); + FUN_140029f40(&local_e88,pplVar13,puVar19,uVar4); + } + else { + if (local_e88 != 0) goto LAB_1400c2ec2; + if (local_e90 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,pplVar13,puVar19,uVar4); + } + puVar19 = (uint *)(uVar6 & 0xffffffff); + FUN_14002a110(local_e90,pplVar13,(SIZE_T)puVar19); + } + FUN_14002a180((longlong)local_e98,pplVar13,(SIZE_T)puVar19,uVar4); + } + uVar6 = local_d88; + iVar16 = (int)local_d88; + FUN_140076380((longlong)local_e98,(longlong)(int)local_d88,(SIZE_T)puVar19,uVar4); + pplVar13 = local_d90; + if ((int)local_d88 == 0) { + pplVar13 = pplVar17; + } + if (iVar16 != 0) { + local_e98[1] = 0; + if (local_e90 == 0) { + if (local_e88 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,pplVar13,puVar19,uVar4); + } +LAB_1400c2f40: + puVar19 = (uint *)(uVar6 & 0xffffffff); + FUN_140029f40(&local_e88,pplVar13,puVar19,uVar4); + } + else { + if (local_e88 != 0) goto LAB_1400c2f40; + if (local_e90 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,pplVar13,puVar19,uVar4); + } + puVar19 = (uint *)(uVar6 & 0xffffffff); + FUN_14002a110(local_e90,pplVar13,(SIZE_T)puVar19); + } + FUN_14002a180((longlong)local_e98,pplVar13,(SIZE_T)puVar19,uVar4); + } + lVar21 = FUN_14004ec50((longlong)local_cb8,(longlong)local_e98,puVar19); + local_d58 = 0; + local_d50 = 1; + lVar8 = FUN_14009c0f0(param_1[0x21]); + pSVar20 = &local_d58; + FUN_1400ceb20(lVar8,lVar21,pSVar20,uVar4); + FUN_14004db20((longlong)local_cb8,lVar21,pSVar20,uVar4); + local_dd0 = &local_e90; + FUN_14008a320(&local_e90); + if (local_e88 != 0) { + if (local_e7c < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_e80 = 0; + } + FUN_140049e40(&local_da0); + FUN_140049e40(&local_dc8); + FUN_140049e40(&local_e30); + FUN_140049e40(&local_e58); + goto LAB_1400c3157; + } + } + FUN_14003e7c0(puVar19,pplVar13,SVar18,param_4); + local_e68 = (longlong *)PTR_DAT_14016f010; + pplVar13 = &local_e68; + uVar4 = 8; + uVar15 = 3; + plVar10 = (longlong *)param_1[0x21]; + FUN_1400b4a80(plVar10,8,(undefined *)0x3,pplVar13); + plVar3 = local_e68; + if (((local_e68 != (longlong *)0x0) && (local_e68 != (longlong *)PTR_DAT_14016f010)) && + (plVar1 = local_e68 + -1, plVar1 != (longlong *)0x0)) { + piVar5 = (int *)FUN_14003e7c0(plVar10,uVar4,uVar15,pplVar13); + local_d18 = piVar5; + FUN_14003d040(piVar5); + local_d10 = 1; + piVar7 = (int *)((longlong)plVar3 + -4); + *piVar7 = *piVar7 + -1; + if (*piVar7 == 0) { + FUN_14003e8b0(plVar1); + } + FUN_14003d0d0((longlong)piVar5); + local_d10 = 0; + } + local_e68 = (longlong *)PTR_DAT_14016f010; + if ((int)param_1[0x20] < 4) { + *(undefined4 *)(param_1 + 8) = 0; + *(undefined4 *)(param_1 + 0x20) = 4; + lVar21 = (**(code **)(*(longlong *)(param_1[0x21] + 0x70) + 0x1c0))(); + param_1[0x10] = lVar21; + *(undefined1 *)(param_1 + 0x18) = 0; + } +LAB_1400c3157: + FUN_140049e40(&local_e08); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c3190.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c3190.c new file mode 100644 index 00000000..69ce342c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c3190.c @@ -0,0 +1,164 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c3190 FUN_1400c3190 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_1400c3190(longlong param_1,undefined8 param_2,SIZE_T param_3,undefined8 param_4) + +{ + uint uVar1; + int iVar2; + undefined8 *puVar3; + int *piVar4; + undefined8 uVar5; + longlong lVar6; + ulonglong uVar7; + longlong **pplVar8; + undefined8 *puVar9; + undefined1 auStack_d68 [32]; + int local_d48 [2]; + longlong local_d40; + undefined8 *local_d38; + uint local_d30; + int local_d2c; + longlong *local_d18; + undefined8 uStack_d10; + undefined8 local_d08; + exception local_d00 [72]; + undefined8 *local_cb8; + undefined8 uStack_cb0; + undefined8 **local_38; + undefined4 local_30; + int local_2c; + ulonglong local_28; + + local_d08 = 0xfffffffffffffffe; + local_28 = DAT_14016f5a0 ^ (ulonglong)auStack_d68; + (**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x108) + 0x78) + 0x10))(); + FUN_140074fb0(local_d48); + FUN_140074a40((longlong)local_d48,param_2,param_3,param_4); + FUN_140075110(local_d48,0x800,param_3,param_4); + uVar5 = 0; + FUN_140075110(local_d48,0,param_3,param_4); + FUN_140029d80((longlong)local_d48,CONCAT71((int7)((ulonglong)uVar5 >> 8),7),param_3,param_4); + lVar6 = *(longlong *)(param_1 + 0x108); + uVar1 = *(uint *)(lVar6 + 0x15c0); + piVar4 = local_d48; + FUN_140076380((longlong)piVar4,(longlong)(int)uVar1,param_3,param_4); + puVar9 = (undefined8 *)0x0; + puVar3 = puVar9; + if (*(int *)(lVar6 + 0x15c0) != 0) { + puVar3 = *(undefined8 **)(lVar6 + 0x15b8); + } + if (uVar1 != 0) { + local_d48[1] = 0; + if (local_d40 == 0) { + if (local_d38 == (undefined8 *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,puVar3,param_3,param_4); + } +LAB_1400c3270: + param_3 = (SIZE_T)uVar1; + FUN_140029f40((longlong *)&local_d38,puVar3,param_3,param_4); + } + else { + if (local_d38 != (undefined8 *)0x0) goto LAB_1400c3270; + if (local_d40 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,puVar3,param_3,param_4); + } + param_3 = (SIZE_T)uVar1; + FUN_14002a110(local_d40,puVar3,param_3); + } + piVar4 = local_d48; + FUN_14002a180((longlong)piVar4,puVar3,param_3,param_4); + } + lVar6 = local_d40; + local_d18 = *(longlong **)(*(longlong *)(param_1 + 0x108) + 0x1594); + uStack_d10 = *(undefined8 *)(*(longlong *)(param_1 + 0x108) + 0x159c); + local_d48[1] = 0; + if (local_d40 == 0) { + if (local_d38 == (undefined8 *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(piVar4,puVar3,param_3,param_4); + } + } + else if (local_d38 == (undefined8 *)0x0) { + if (local_d40 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(piVar4,puVar3,param_3,param_4); + } + iVar2 = *(int *)(local_d40 + 0x18); + FUN_14002a050(local_d40,iVar2 + 0x10,param_3); + puVar3 = puVar9; + if (*(int *)(lVar6 + 0x18) != 0) { + puVar3 = *(undefined8 **)(lVar6 + 0x10); + } + puVar3 = (undefined8 *)((longlong)puVar3 + (longlong)iVar2); + goto LAB_1400c3320; + } + lVar6 = (longlong)(int)local_d30; + local_d30 = local_d30 + 0x10; + if (((int)local_d30 < 0) || (local_d2c < (int)local_d30)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + puVar3 = (undefined8 *)((longlong)local_d38 + lVar6); +LAB_1400c3320: + *puVar3 = local_d18; + puVar3[1] = uStack_d10; + FUN_14002a180((longlong)local_d48,&local_d18,param_3,param_4); + uVar7 = (ulonglong)*(uint *)(*(longlong *)(param_1 + 0x108) + 0x698); + FUN_140029e60((longlong)local_d48,uVar7,param_3,param_4); + local_2c = 200; + local_30 = 0; + local_38 = &local_cb8; + if (local_d40 == 0) { + uVar1 = local_d30; + if (local_d38 == (undefined8 *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,uVar7,param_3,param_4); + } + } + else { + uVar1 = *(uint *)(local_d40 + 0x18); + } + local_cb8 = local_d38; + if (local_d38 == (undefined8 *)0x0) { + if (local_d40 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,(ulonglong)uVar1,param_3,param_4); + } + local_cb8 = puVar9; + if (*(int *)(local_d40 + 0x18) != 0) { + local_cb8 = *(undefined8 **)(local_d40 + 0x10); + } + } + uStack_d10 = CONCAT44(uStack_d10._4_4_,uVar1); + local_30 = 1; + uStack_cb0 = uStack_d10; + local_d18 = (longlong *)0x0; + uStack_d10 = CONCAT71(uStack_d10._1_7_,1); + lVar6 = FUN_14009c0f0(*(longlong *)(param_1 + 0x108)); + pplVar8 = &local_d18; + FUN_1400ceb20(lVar6,(longlong)&local_cb8,(SIZE_T *)pplVar8,param_4); + if (local_38 == (undefined8 **)0x0) { + FUN_14003db10(local_d00,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,pplVar8, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_d00,(ThrowInfo *)&DAT_14016c210); + } + if (local_2c < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_d18 = &local_d40; + FUN_14008a320(&local_d40); + if ((local_d38 != (undefined8 *)0x0) && (local_d2c < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c3490.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c3490.c new file mode 100644 index 00000000..05c4bcd6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c3490.c @@ -0,0 +1,28 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c3490 FUN_1400c3490 + * Pseudocode, not original source. */ + +undefined4 * FUN_1400c3490(longlong *param_1,undefined4 *param_2) + +{ + longlong *plVar1; + longlong lVar2; + + plVar1 = (longlong *)param_1[1]; + if (plVar1 == (longlong *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + FUN_140074fe0(param_2,(undefined4 *)(plVar1 + 2)); + lVar2 = *plVar1; + param_1[1] = lVar2; + if (lVar2 == 0) { + param_1[2] = 0; + } + else { + *(undefined8 *)(lVar2 + 8) = 0; + } + FUN_1400a7430(param_1,plVar1); + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c3510.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c3510.c new file mode 100644 index 00000000..2b84274b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c3510.c @@ -0,0 +1,293 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c3510 FUN_1400c3510 + * Pseudocode, not original source. */ + +void FUN_1400c3510(undefined ***param_1,uint *param_2,uint *param_3,undefined8 param_4) + +{ + undefined **ppuVar1; + uint uVar2; + uint uVar3; + longlong *plVar4; + uint *puVar5; + IMAGE_DOS_HEADER *pIVar6; + undefined ***pppuVar7; + ulonglong *puVar8; + undefined **ppuVar9; + ulonglong **ppuVar10; + uint uVar11; + uint uVar12; + int iVar13; + ulonglong uVar14; + undefined ***pppuVar15; + IMAGE_DOS_HEADER *pIVar16; + ulonglong uVar17; + ulonglong uVar18; + uint local_res8 [2]; + IMAGE_DOS_HEADER *local_res10; + undefined **local_res18; + ulonglong *local_res20; + undefined1 local_c8 [40]; + undefined **local_a0; + uint local_98; + word local_94; + undefined **local_90; + byte local_88 [32]; + undefined ***local_68; + byte local_60; + longlong local_58; + byte local_50 [16]; + + local_50[0] = 0xfe; + local_50[1] = 0xff; + local_50[2] = 0xff; + local_50[3] = 0xff; + local_50[4] = 0xff; + local_50[5] = 0xff; + local_50[6] = 0xff; + local_50[7] = 0xff; + local_res10 = (IMAGE_DOS_HEADER *)param_2; + (**(code **)(param_1[0x21][0xf] + 0x10))(); + local_a0 = Proud::AddrPort::vftable; + local_98 = param_3[0xe]; + local_94 = (word)param_3[0xf]; + pppuVar15 = &local_a0; + ppuVar10 = &local_res20; + plVar4 = FUN_1400a5f70((longlong)param_1[0x21],ppuVar10,(longlong)pppuVar15); + puVar8 = (ulonglong *)*plVar4; + uVar14 = 0; + uVar18 = uVar14; + if (puVar8 != (ulonglong *)0x0) { + uVar18 = *puVar8; + } + if (local_res20 != (ulonglong *)0x0) { + local_res20[1] = local_res20[1] - 1; + puVar8 = (ulonglong *)local_res20[1]; + if ((ulonglong *)local_res20[1] == (ulonglong *)0x0) { + if ((undefined8 *)*local_res20 != (undefined8 *)0x0) { + ppuVar10 = (ulonglong **)0x1; + (*(code *)**(undefined8 **)*local_res20)(); + } + FUN_14003e8b0(local_res20); + puVar8 = local_res20; + } + } + if ((uVar18 == 0) || (*(char *)(uVar18 + 0x650) != '\0')) { + if (*(longlong *)(param_3 + 2) == 0) { + if (*(longlong *)(param_3 + 4) == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(puVar8,ppuVar10,pppuVar15,param_4); + } + uVar2 = param_3[6]; + } + else { + uVar2 = *(uint *)(*(longlong *)(param_3 + 2) + 0x18); + } + FUN_140075170(param_3,(ulonglong)(uVar2 - ((int)(*param_3 + ((int)*param_3 >> 0x1f & 7U)) >> 3)) + ,pppuVar15,param_4); + return; + } + local_c8._8_2_ = 0; + local_c8._10_2_ = 0; + local_c8._12_2_ = 0; + local_c8._14_2_ = 0; + local_c8._16_8_ = 0; + local_c8._24_2_ = 0; + local_c8._26_2_ = 0; + local_c8._28_2_ = 0; + local_c8._30_2_ = 0; + local_c8._0_8_ = Proud::CReceivedMessageList::vftable; + local_c8._32_2_ = 1000; + local_c8._34_2_ = 0; + local_c8._36_2_ = 1; + local_c8._38_2_ = 0; + pppuVar7 = (undefined ***)(uVar18 + 0x638); + pppuVar15 = (undefined ***)local_res8; + pIVar16 = (IMAGE_DOS_HEADER *)local_c8; + pIVar6 = (IMAGE_DOS_HEADER *)param_3; + FUN_1400d4350((longlong *)pppuVar7,param_3,(ulonglong)pIVar16,(undefined4 *)pppuVar15); + if (local_res8[0] == 0) goto LAB_1400c3872; + FUN_14003e7c0(pppuVar7,pIVar6,pIVar16,pppuVar15); + local_res18 = (undefined **)PTR_DAT_14016f010; + uVar2 = FUN_14003e620(L"Stream Extract Error at Reliable UDP"); + uVar12 = 0; + uVar17 = uVar14; + if ((local_res18 != (undefined **)0x0) && + (uVar17 = 0, local_res18 != (undefined **)PTR_DAT_14016f010)) { + uVar17 = (ulonglong)*(uint *)(local_res18 + -1); + } + uVar3 = uVar2; + if ((((int)uVar2 <= (int)uVar17) && (uVar3 = uVar12, local_res18 != (undefined **)0x0)) && + (local_res18 != (undefined **)PTR_DAT_14016f010)) { + uVar3 = *(uint *)(local_res18 + -1); + } + uVar11 = 1; + if (1 < (int)uVar3) { + uVar11 = uVar3; + } + uVar3 = uVar12; + if ((local_res18 != (undefined **)0x0) && (local_res18 != (undefined **)PTR_DAT_14016f010)) { + uVar3 = *(uint *)(local_res18 + -1); + } + if ((int)uVar3 < (int)uVar11) { + if (local_res18 == (undefined **)0x0) { + local_res18 = (undefined **)PTR_DAT_14016f010; + } + if ((int)uVar11 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar11 == 0) { + FUN_140002190((longlong *)&local_res18,PTR_DAT_14016f010,uVar17,pppuVar15); + } + else { + uVar3 = uVar12; + if ((local_res18 != (undefined **)0x0) && (local_res18 != (undefined **)PTR_DAT_14016f010)) { + uVar3 = *(uint *)(local_res18 + -1); + } + if (uVar11 != uVar3) { + puVar5 = (uint *)FUN_14003e840((longlong)(int)uVar11 * 2 + 10); + if (puVar5 != (uint *)0x0) { + *puVar5 = 0; + puVar5[1] = 1; + } + *puVar5 = uVar11; + uVar3 = uVar12; + if ((local_res18 != (undefined **)0x0) && (local_res18 != (undefined **)PTR_DAT_14016f010)) + { + uVar3 = *(uint *)(local_res18 + -1); + } + ppuVar9 = (undefined **)PTR_DAT_14016f010; + if ((int)uVar11 < (int)uVar3) { +LAB_1400c371b: + if (local_res18 != (undefined **)0x0) { + ppuVar9 = local_res18; + } + } + else { + uVar11 = uVar12; + if (local_res18 != (undefined **)0x0) { + if (local_res18 != (undefined **)PTR_DAT_14016f010) { + uVar11 = *(uint *)(local_res18 + -1); + } + goto LAB_1400c371b; + } + } + uVar17 = (ulonglong)uVar11; + FUN_14003e650(puVar5 + 2,ppuVar9,uVar11); + FUN_140002190((longlong *)&local_res18,ppuVar9,uVar17,pppuVar15); + local_res18 = (undefined **)(puVar5 + 2); + } + } + } + FUN_140001df0((longlong *)&local_res18); + ppuVar9 = local_res18; + if (local_res18 == (undefined **)0x0) { + ppuVar9 = (undefined **)PTR_DAT_14016f010; + } + FUN_14003e650(ppuVar9,L"Stream Extract Error at Reliable UDP",uVar2); + ppuVar9 = local_res18; + if (local_res18 == (undefined **)0x0) { + ppuVar9 = (undefined **)PTR_DAT_14016f010; + } + uVar3 = FUN_14003e620((short *)ppuVar9); + uVar2 = 0; + if (0 < (int)uVar3) { + uVar2 = uVar3; + } + uVar3 = uVar12; + if ((local_res18 != (undefined **)0x0) && (local_res18 != (undefined **)PTR_DAT_14016f010)) { + uVar3 = *(uint *)(local_res18 + -1); + } + if (((int)uVar2 < (int)uVar3) || (uVar2 = uVar12, local_res18 == (undefined **)0x0)) { +LAB_1400c37ae: + if (((local_res18 != (undefined **)PTR_DAT_14016f010) && (local_res18 != (undefined **)0x0)) && + (local_res18 + -1 != (undefined **)0x0)) { + *(uint *)(local_res18 + -1) = uVar2; + *(undefined2 *)((longlong)local_res18 + (longlong)(int)uVar2 * 2) = 0; + } + } + else if (local_res18 != (undefined **)PTR_DAT_14016f010) { + uVar2 = *(uint *)(local_res18 + -1); + goto LAB_1400c37ae; + } + local_88[0] = 0; + local_88[1] = 0; + local_88[2] = 0; + local_88[3] = 0; + local_88[4] = 0; + local_88[5] = 0; + local_88[6] = 0; + local_88[7] = 0; + local_88[8] = 0; + local_88[9] = 0; + local_88[10] = 0; + local_88[0xb] = 0; + local_88[0xc] = 0; + local_88[0xd] = 0; + local_88[0xe] = 0; + local_88[0xf] = 0; + local_88[0x10] = 0; + local_88[0x11] = 0; + local_88[0x12] = 0; + local_88[0x13] = 0; + local_88[0x14] = 0; + local_88[0x15] = 0; + local_88[0x16] = 0; + local_88[0x17] = 0; + local_88[0x18] = 0; + local_88[0x19] = 0; + local_88[0x1a] = 0; + local_88[0x1b] = 0; + local_88[0x1c] = 0; + local_88[0x1d] = 0; + local_88[0x1e] = 0; + local_88[0x1f] = 0; + local_90 = Proud::ByteArray::vftable; + pppuVar15 = &local_res18; + pIVar6 = (IMAGE_DOS_HEADER *) + FUN_140071c20(&local_58,(ulonglong)local_res8[0],(ulonglong)*(uint *)(uVar18 + 0x56c), + (longlong *)pppuVar15,(longlong)&local_90); + pIVar16 = (IMAGE_DOS_HEADER *)*param_1[0x21]; + (**(code **)(pIVar16 + 1))(); + pppuVar7 = &local_90; + FUN_140049e40(pppuVar7); + ppuVar9 = local_res18; + param_2 = (uint *)local_res10; + if (((local_res18 != (undefined **)0x0) && (local_res18 != (undefined **)PTR_DAT_14016f010)) && + (ppuVar1 = local_res18 + -1, ppuVar1 != (undefined **)0x0)) { + pppuVar7 = (undefined ***)FUN_14003e7c0(pppuVar7,pIVar6,pIVar16,pppuVar15); + local_68 = pppuVar7; + FUN_14003d040((int *)pppuVar7); + local_60 = 1; + puVar5 = (uint *)((longlong)ppuVar9 + -4); + *puVar5 = *puVar5 - 1; + if (*puVar5 == 0) { + FUN_14003e8b0(ppuVar1); + } + FUN_14003d0d0((longlong)pppuVar7); + param_2 = (uint *)local_res10; + } +LAB_1400c3872: + while( true ) { + iVar13 = (int)uVar14; + if (iVar13 == local_c8._24_4_) { + FUN_14007e8f0((undefined8 *)local_c8); + return; + } + if ((iVar13 < 0) || ((int)local_c8._24_4_ <= iVar13)) break; + pIVar16 = (IMAGE_DOS_HEADER *)(local_c8._16_8_ + (longlong)iVar13 * 0x48); + pIVar16->e_program[0] = (byte)param_3[0x10]; + pppuVar7 = param_1; + pIVar6 = (IMAGE_DOS_HEADER *)param_2; + FUN_1400c6270((IMAGE_DOS_HEADER *)param_1,(IMAGE_DOS_HEADER *)param_2,pIVar16,pppuVar15); + if ((int)local_c8._24_4_ <= iVar13) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(pppuVar7,pIVar6,pIVar16,pppuVar15); + } + uVar14 = (ulonglong)(iVar13 + 1); + } + /* WARNING: Subroutine does not return */ + FUN_14003def0(pppuVar7,pIVar6,pIVar16,pppuVar15); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c3920.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c3920.c new file mode 100644 index 00000000..401e9446 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c3920.c @@ -0,0 +1,346 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c3920 FUN_1400c3920 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* WARNING: Type propagation algorithm not settling */ + +void FUN_1400c3920(undefined ***param_1,uint *param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined **ppuVar1; + undefined8 *puVar2; + uint uVar3; + uint uVar4; + undefined8 uVar5; + ulonglong uVar6; + uint *puVar7; + longlong *plVar8; + undefined ***pppuVar9; + undefined **ppuVar10; + uint uVar11; + int iVar12; + ulonglong uVar13; + undefined8 uVar14; + undefined1 *puVar15; + IMAGE_DOS_HEADER *pIVar16; + IMAGE_DOS_HEADER *pIVar17; + undefined ***pppuVar18; + uint uVar19; + uint uVar20; + undefined1 auStackY_df8 [32]; + undefined **local_dc8; + ulonglong *local_dc0; + uint local_db8; + uint local_db4; + uint local_db0 [2]; + undefined1 *local_da8; + longlong local_da0 [4]; + longlong *local_d80; + undefined8 local_d78; + undefined4 local_d6c; + undefined1 local_d68 [88]; + undefined **local_d10; + byte local_d08 [32]; + undefined ***local_ce8; + undefined1 local_ce0; + longlong local_cd8 [2]; + undefined1 local_cc8 [3216]; + ulonglong local_38; + + local_cd8[1] = 0xfffffffffffffffe; + local_38 = DAT_14016f5a0 ^ (ulonglong)auStackY_df8; + (**(code **)(param_1[0x21][0xf] + 0x10))(); + uVar5 = FUN_140075970(param_2,local_db0,param_3,param_4); + if ((char)uVar5 == '\0') { + return; + } + uVar14 = 4; + uVar5 = FUN_140074ee0(param_2,(undefined8 *)&local_db4,4); + if ((char)uVar5 == '\0') { + return; + } + uVar6 = FUN_140075580(param_2,&local_da8,uVar14,param_4); + if ((char)uVar6 == '\0') { + return; + } + if ((int)(uint)local_da8 < 0) { + return; + } + if (DAT_14016f140 <= (int)(uint)local_da8) { + return; + } + FUN_140074fb0((undefined4 *)(local_d68 + 0x28)); + uVar5 = FUN_140075210(param_2,(int *)(local_d68 + 0x28),(uint)local_da8,param_4); + if ((char)uVar5 == '\0') { + local_da8 = local_d68 + 0x30; + FUN_14008a320((longlong *)(local_d68 + 0x30)); + if (local_d68._56_8_ == 0) { + return; + } + if (-1 < (int)local_d68._68_4_) { + return; + } + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + uVar6 = (ulonglong)local_db0[0]; + FUN_1400a7920((longlong *)param_1[0x21],(longlong *)&local_dc0,local_db0[0]); + if ((((local_dc0 == (ulonglong *)0x0) || (uVar13 = *local_dc0, uVar13 == 0)) || + (*(char *)(uVar13 + 0x684) != '\0')) || (*(char *)(uVar13 + 0x650) != '\0')) + goto LAB_1400c3e60; + local_d78 = (**(code **)(param_1[0x21][0x11] + 0x18))(); + uVar13 = 0; + uVar19 = 0; + local_da0[3] = 0; + local_da0[2] = 0; + local_da0[1] = 0; + local_d80 = (longlong *)0x0; + local_da0[0] = 0; + uVar20 = 0; + local_d6c = 0; + FUN_14004ec50((longlong)local_cc8,(longlong)(local_d68 + 0x28),uVar6); + plVar8 = local_da0; + puVar15 = local_cc8; + uVar6 = (ulonglong)local_db4; + FUN_140097a30(param_1[0x21][0x9c],uVar6,(SIZE_T)puVar15,(undefined4 *)plVar8); + FUN_14004db20((longlong)local_cc8,uVar6,puVar15,plVar8); + local_d68._8_2_ = 0; + local_d68._10_2_ = 0; + local_d68._12_2_ = 0; + local_d68._14_2_ = 0; + local_d68._16_8_ = 0; + local_d68._24_2_ = 0; + local_d68._26_2_ = 0; + local_d68._28_2_ = 0; + local_d68._30_2_ = 0; + local_d68._0_8_ = Proud::CReceivedMessageList::vftable; + local_d68._32_2_ = 1000; + local_d68._34_2_ = 0; + local_d68._36_2_ = 1; + local_d68._38_2_ = 0; + uVar6 = uVar13; + if (local_dc0 != (ulonglong *)0x0) { + uVar6 = *local_dc0; + } + pppuVar9 = (undefined ***)(uVar6 + 0x638); + pppuVar18 = (undefined ***)&local_db8; + pIVar16 = (IMAGE_DOS_HEADER *)local_d68; + plVar8 = local_da0; + FUN_1400d42c0((longlong)pppuVar9,plVar8,(longlong)pIVar16,(undefined4 *)pppuVar18); + if (local_db8 != 0) { + FUN_14003e7c0(pppuVar9,plVar8,pIVar16,pppuVar18); + local_dc8 = (undefined **)PTR_DAT_14016f010; + uVar3 = FUN_14003e620(L"Stream Extract Error at Reliable UDP"); + uVar6 = uVar13; + if ((local_dc8 != (undefined **)0x0) && + (uVar6 = 0, local_dc8 != (undefined **)PTR_DAT_14016f010)) { + uVar6 = (ulonglong)*(uint *)(local_dc8 + -1); + } + uVar4 = uVar3; + if ((((int)uVar3 <= (int)uVar6) && (uVar4 = uVar20, local_dc8 != (undefined **)0x0)) && + (local_dc8 != (undefined **)PTR_DAT_14016f010)) { + uVar4 = *(uint *)(local_dc8 + -1); + } + uVar11 = 1; + if (1 < (int)uVar4) { + uVar11 = uVar4; + } + uVar4 = uVar20; + if ((local_dc8 != (undefined **)0x0) && (local_dc8 != (undefined **)PTR_DAT_14016f010)) { + uVar4 = *(uint *)(local_dc8 + -1); + } + if ((int)uVar4 < (int)uVar11) { + if (local_dc8 == (undefined **)0x0) { + local_dc8 = (undefined **)PTR_DAT_14016f010; + } + if ((int)uVar11 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar11 == 0) { + FUN_140002190((longlong *)&local_dc8,PTR_DAT_14016f010,uVar6,pppuVar18); + } + else { + uVar4 = uVar20; + if ((local_dc8 != (undefined **)0x0) && (local_dc8 != (undefined **)PTR_DAT_14016f010)) { + uVar4 = *(uint *)(local_dc8 + -1); + } + if (uVar11 != uVar4) { + puVar7 = (uint *)FUN_14003e840((longlong)(int)uVar11 * 2 + 10); + if (puVar7 != (uint *)0x0) { + *puVar7 = 0; + puVar7[1] = 1; + } + *puVar7 = uVar11; + uVar4 = uVar20; + if ((local_dc8 != (undefined **)0x0) && (local_dc8 != (undefined **)PTR_DAT_14016f010)) { + uVar4 = *(uint *)(local_dc8 + -1); + } + ppuVar10 = (undefined **)PTR_DAT_14016f010; + if ((int)uVar11 < (int)uVar4) { +LAB_1400c3c2e: + if (local_dc8 != (undefined **)0x0) { + ppuVar10 = local_dc8; + } + } + else { + uVar11 = uVar20; + if (local_dc8 != (undefined **)0x0) { + if (local_dc8 != (undefined **)PTR_DAT_14016f010) { + uVar11 = *(uint *)(local_dc8 + -1); + } + goto LAB_1400c3c2e; + } + } + uVar6 = (ulonglong)uVar11; + FUN_14003e650(puVar7 + 2,ppuVar10,uVar11); + FUN_140002190((longlong *)&local_dc8,ppuVar10,uVar6,pppuVar18); + local_dc8 = (undefined **)(puVar7 + 2); + } + } + } + FUN_140001df0((longlong *)&local_dc8); + ppuVar10 = local_dc8; + if (local_dc8 == (undefined **)0x0) { + ppuVar10 = (undefined **)PTR_DAT_14016f010; + } + FUN_14003e650(ppuVar10,L"Stream Extract Error at Reliable UDP",uVar3); + ppuVar10 = local_dc8; + if (local_dc8 == (undefined **)0x0) { + ppuVar10 = (undefined **)PTR_DAT_14016f010; + } + uVar3 = FUN_14003e620((short *)ppuVar10); + uVar20 = uVar19; + if (0 < (int)uVar3) { + uVar20 = uVar3; + } + uVar3 = uVar19; + if ((local_dc8 != (undefined **)0x0) && (local_dc8 != (undefined **)PTR_DAT_14016f010)) { + uVar3 = *(uint *)(local_dc8 + -1); + } + if (((int)uVar20 < (int)uVar3) || (uVar20 = uVar19, local_dc8 == (undefined **)0x0)) { +LAB_1400c3cca: + if (((local_dc8 != (undefined **)PTR_DAT_14016f010) && (local_dc8 != (undefined **)0x0)) && + (local_dc8 + -1 != (undefined **)0x0)) { + *(uint *)(local_dc8 + -1) = uVar20; + *(undefined2 *)((longlong)local_dc8 + (longlong)(int)uVar20 * 2) = 0; + } + } + else if (local_dc8 != (undefined **)PTR_DAT_14016f010) { + uVar20 = *(uint *)(local_dc8 + -1); + goto LAB_1400c3cca; + } + local_d08[0] = 0; + local_d08[1] = 0; + local_d08[2] = 0; + local_d08[3] = 0; + local_d08[4] = 0; + local_d08[5] = 0; + local_d08[6] = 0; + local_d08[7] = 0; + local_d08[8] = 0; + local_d08[9] = 0; + local_d08[10] = 0; + local_d08[0xb] = 0; + local_d08[0xc] = 0; + local_d08[0xd] = 0; + local_d08[0xe] = 0; + local_d08[0xf] = 0; + local_d08[0x10] = 0; + local_d08[0x11] = 0; + local_d08[0x12] = 0; + local_d08[0x13] = 0; + local_d08[0x14] = 0; + local_d08[0x15] = 0; + local_d08[0x16] = 0; + local_d08[0x17] = 0; + local_d08[0x18] = 0; + local_d08[0x19] = 0; + local_d08[0x1a] = 0; + local_d08[0x1b] = 0; + local_d08[0x1c] = 0; + local_d08[0x1d] = 0; + local_d08[0x1e] = 0; + local_d08[0x1f] = 0; + local_d10 = Proud::ByteArray::vftable; + uVar6 = uVar13; + if (local_dc0 != (ulonglong *)0x0) { + uVar6 = *local_dc0; + } + pppuVar18 = &local_dc8; + plVar8 = FUN_140071c20(local_cd8,(ulonglong)local_db8,(ulonglong)*(uint *)(uVar6 + 0x56c), + (longlong *)pppuVar18,(longlong)&local_d10); + pIVar16 = (IMAGE_DOS_HEADER *)*param_1[0x21]; + (**(code **)(pIVar16 + 1))(); + pppuVar9 = &local_d10; + FUN_140049e40(pppuVar9); + ppuVar10 = local_dc8; + if (((local_dc8 != (undefined **)0x0) && (local_dc8 != (undefined **)PTR_DAT_14016f010)) && + (ppuVar1 = local_dc8 + -1, ppuVar1 != (undefined **)0x0)) { + pppuVar9 = (undefined ***)FUN_14003e7c0(pppuVar9,plVar8,pIVar16,pppuVar18); + local_ce8 = pppuVar9; + FUN_14003d040((int *)pppuVar9); + local_ce0 = 1; + puVar7 = (uint *)((longlong)ppuVar10 + -4); + *puVar7 = *puVar7 - 1; + if (*puVar7 == 0) { + FUN_14003e8b0(ppuVar1); + } + FUN_14003d0d0((longlong)pppuVar9); + local_ce0 = 0; + } + local_dc8 = (undefined **)PTR_DAT_14016f010; + } + while (iVar12 = (int)uVar13, iVar12 != local_d68._24_4_) { + if ((iVar12 < 0) || ((int)local_d68._24_4_ <= iVar12)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(pppuVar9,plVar8,pIVar16,pppuVar18); + } + pIVar17 = (IMAGE_DOS_HEADER *)(local_d68._16_8_ + (longlong)iVar12 * 0x48); + pIVar17->e_program[0] = 1; + FUN_140074bb0((int *)pIVar17,0,pIVar16,pppuVar18); + plVar8 = (longlong *)0x0; + pppuVar9 = param_1; + FUN_1400c6270((IMAGE_DOS_HEADER *)param_1,(IMAGE_DOS_HEADER *)0x0,pIVar17,pppuVar18); + if ((int)local_d68._24_4_ <= iVar12) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(pppuVar9,plVar8,pIVar17,pppuVar18); + } + pIVar16 = pIVar17; + uVar13 = (ulonglong)(iVar12 + 1); + } + FUN_14007e8f0((undefined8 *)local_d68); + if (local_d80 != (longlong *)0x0) { + plVar8 = local_d80 + 1; + *plVar8 = *plVar8 + -1; + if (*plVar8 == 0) { + FUN_1400512a0((longlong)&local_d80,local_d80); + } + } + local_d68._80_8_ = local_da0 + 1; + FUN_14008a320(local_da0 + 1); + if (local_da0[2] != 0) { + if (local_da0[3] < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_da0[3] = local_da0[3] & 0xffffffff00000000; + } +LAB_1400c3e60: + if ((local_dc0 != (ulonglong *)0x0) && (local_dc0[1] = local_dc0[1] - 1, local_dc0[1] == 0)) { + puVar2 = (undefined8 *)*local_dc0; + if (puVar2 != (undefined8 *)0x0) { + (**(code **)*puVar2)(puVar2,1); + } + FUN_14003e8b0(local_dc0); + } + local_d68._80_8_ = local_d68 + 0x30; + FUN_14008a320((longlong *)(local_d68 + 0x30)); + if ((local_d68._56_8_ != 0) && ((int)local_d68._68_4_ < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c3ef0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c3ef0.c new file mode 100644 index 00000000..be4f5a3a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c3ef0.c @@ -0,0 +1,421 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c3ef0 FUN_1400c3ef0 + * Pseudocode, not original source. */ + +void FUN_1400c3ef0(undefined ***param_1,longlong *param_2,uint *param_3,undefined8 param_4) + +{ + undefined **ppuVar1; + longlong lVar2; + undefined8 *puVar3; + uint uVar4; + uint uVar5; + undefined8 uVar6; + ulonglong uVar7; + uint *puVar8; + longlong *plVar9; + undefined **ppuVar10; + undefined ***pppuVar11; + void *pvVar12; + longlong **pplVar13; + int iVar14; + void *pvVar15; + uint uVar16; + undefined8 uVar17; + SIZE_T SVar18; + IMAGE_DOS_HEADER *pIVar19; + void *_Dst; + undefined ***pppuVar20; + uint uVar21; + uint uVar22; + undefined **local_res18; + uint local_res20 [2]; + undefined **local_128; + longlong *local_120; + undefined4 local_118; + undefined4 local_114; + undefined2 *local_110; + void *local_108; + undefined8 local_100; + longlong *local_f8; + undefined8 local_f0; + undefined4 local_e4; + undefined4 local_e0 [2]; + int local_d8 [2]; + undefined *local_d0; + void *local_c8; + uint local_c0; + int local_bc; + undefined1 local_b0 [48]; + undefined **local_80; + undefined8 local_78; + byte local_70 [24]; + undefined ***local_58; + byte local_50; + longlong local_48; + undefined2 **local_40; + byte local_38 [16]; + + local_38[0] = 0xfe; + local_38[1] = 0xff; + local_38[2] = 0xff; + local_38[3] = 0xff; + local_38[4] = 0xff; + local_38[5] = 0xff; + local_38[6] = 0xff; + local_38[7] = 0xff; + if (param_3[10] != 1) { + return; + } + puVar8 = param_3; + (**(code **)(param_1[0x21][0xf] + 0x10))(); + uVar6 = FUN_140075970(param_3,local_res20,puVar8,param_4); + if ((char)uVar6 == '\0') { + return; + } + uVar17 = 4; + uVar6 = FUN_140074ee0(param_3,(undefined8 *)local_e0,4); + if ((char)uVar6 == '\0') { + return; + } + uVar7 = FUN_140075580(param_3,(undefined8 *)(local_b0 + 0x28),uVar17,param_4); + if ((char)uVar7 == '\0') { + return; + } + if ((int)local_b0._40_4_ < 0) { + return; + } + if (DAT_14016f140 <= (int)local_b0._40_4_) { + return; + } + FUN_140074fb0(local_d8); + uVar6 = FUN_140075210(param_3,local_d8,local_b0._40_4_,param_4); + if ((char)uVar6 == '\0') { + local_res18 = &local_d0; + FUN_14008a320((longlong *)&local_d0); + if (local_c8 == (void *)0x0) { + return; + } + if (-1 < local_bc) { + return; + } + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + SVar18 = (SIZE_T)local_res20[0]; + pplVar13 = &local_120; + FUN_1400a7920((longlong *)param_1[0x21],(longlong *)pplVar13,local_res20[0]); + if ((((local_120 == (longlong *)0x0) || (lVar2 = *local_120, lVar2 == 0)) || + (*(char *)(lVar2 + 0x684) != '\0')) || (*(char *)(lVar2 + 0x650) != '\0')) goto LAB_1400c44f9; + ppuVar10 = param_1[0x21] + 0x11; + local_f0 = (**(code **)(*ppuVar10 + 0x18))(); + pvVar15 = (void *)0x0; + uVar21 = 0; + local_100 = 0; + local_108 = (void *)0x0; + local_110 = (undefined2 *)0x0; + local_f8 = (longlong *)0x0; + uVar22 = 0; + local_e4 = 0; + local_118 = 1; + local_114 = local_e0[0]; + local_110 = FUN_14008a360(ppuVar10,pplVar13,SVar18); + *(undefined8 *)(local_110 + 0x14) = 1; + if (local_d0 == (undefined *)0x0) { + uVar4 = local_c0; + if (local_c8 == (void *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(ppuVar10,0,SVar18,param_4); + } + } + else { + uVar4 = *(uint *)(local_d0 + 0x18); + } + if ((int)uVar4 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (local_108 == (void *)0x0) { + if ((int)uVar4 < 1) { + if (local_110 == (undefined2 *)0x0) goto LAB_1400c4105; + uVar4 = 0; + } + else if (local_110 == (undefined2 *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420((ulonglong)uVar4,local_c8,SVar18,0); + } + FUN_14002a050((longlong)local_110,uVar4,SVar18); + } + else { + if (local_100._4_4_ < (int)uVar4) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_100 = CONCAT44(local_100._4_4_,uVar4); + } +LAB_1400c4105: + if (local_d0 == (undefined *)0x0) { + if (local_c8 == (void *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(local_110,0,SVar18,local_108); + } + } + else { + local_c0 = *(uint *)(local_d0 + 0x18); + } + pvVar12 = local_c8; + if (local_c8 == (void *)0x0) { + if (local_d0 == (undefined *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(local_110,0,(ulonglong)local_c0,local_108); + } + pvVar12 = pvVar15; + if (*(int *)(local_d0 + 0x18) != 0) { + pvVar12 = *(void **)(local_d0 + 0x10); + } + } + _Dst = local_108; + if (local_108 == (void *)0x0) { + if (local_110 == (undefined2 *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,pvVar12,(ulonglong)local_c0,0); + } + _Dst = pvVar15; + if (*(int *)(local_110 + 0xc) != 0) { + _Dst = *(void **)(local_110 + 8); + } + } + memcpy(_Dst,pvVar12,(longlong)(int)local_c0); + local_b0._8_2_ = 0; + local_b0._10_2_ = 0; + local_b0._12_2_ = 0; + local_b0._14_2_ = 0; + local_b0._16_8_ = 0; + local_b0._24_2_ = 0; + local_b0._26_2_ = 0; + local_b0._28_2_ = 0; + local_b0._30_2_ = 0; + local_b0._0_8_ = Proud::CReceivedMessageList::vftable; + local_b0._32_2_ = 1000; + local_b0._34_2_ = 0; + local_b0._36_2_ = 1; + local_b0._38_2_ = 0; + pvVar12 = pvVar15; + if (local_120 != (longlong *)0x0) { + pvVar12 = (void *)*local_120; + } + pppuVar11 = (undefined ***)((longlong)pvVar12 + 0x638); + pppuVar20 = &local_res18; + pIVar19 = (IMAGE_DOS_HEADER *)local_b0; + plVar9 = (longlong *)&local_118; + FUN_1400d42c0((longlong)pppuVar11,plVar9,(longlong)pIVar19,(undefined4 *)pppuVar20); + if ((int)local_res18 != 0) { + FUN_14003e7c0(pppuVar11,plVar9,pIVar19,pppuVar20); + local_128 = (undefined **)PTR_DAT_14016f010; + uVar4 = FUN_14003e620(L"Stream Extract Error at Reliable UDP"); + pvVar12 = pvVar15; + if ((local_128 != (undefined **)0x0) && + (pvVar12 = (void *)0x0, local_128 != (undefined **)PTR_DAT_14016f010)) { + pvVar12 = (void *)(ulonglong)*(uint *)(local_128 + -1); + } + uVar5 = uVar4; + if ((((int)uVar4 <= (int)pvVar12) && (uVar5 = uVar22, local_128 != (undefined **)0x0)) && + (local_128 != (undefined **)PTR_DAT_14016f010)) { + uVar5 = *(uint *)(local_128 + -1); + } + uVar16 = 1; + if (1 < (int)uVar5) { + uVar16 = uVar5; + } + uVar5 = uVar22; + if ((local_128 != (undefined **)0x0) && (local_128 != (undefined **)PTR_DAT_14016f010)) { + uVar5 = *(uint *)(local_128 + -1); + } + if ((int)uVar5 < (int)uVar16) { + if (local_128 == (undefined **)0x0) { + local_128 = (undefined **)PTR_DAT_14016f010; + } + if ((int)uVar16 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar16 == 0) { + FUN_140002190((longlong *)&local_128,PTR_DAT_14016f010,pvVar12,pppuVar20); + } + else { + uVar5 = uVar22; + if ((local_128 != (undefined **)0x0) && (local_128 != (undefined **)PTR_DAT_14016f010)) { + uVar5 = *(uint *)(local_128 + -1); + } + if (uVar16 != uVar5) { + puVar8 = (uint *)FUN_14003e840((longlong)(int)uVar16 * 2 + 10); + if (puVar8 != (uint *)0x0) { + *puVar8 = 0; + puVar8[1] = 1; + } + *puVar8 = uVar16; + uVar5 = uVar22; + if ((local_128 != (undefined **)0x0) && (local_128 != (undefined **)PTR_DAT_14016f010)) { + uVar5 = *(uint *)(local_128 + -1); + } + ppuVar10 = (undefined **)PTR_DAT_14016f010; + if ((int)uVar16 < (int)uVar5) { +LAB_1400c42b5: + if (local_128 != (undefined **)0x0) { + ppuVar10 = local_128; + } + } + else { + uVar16 = uVar22; + if (local_128 != (undefined **)0x0) { + if (local_128 != (undefined **)PTR_DAT_14016f010) { + uVar16 = *(uint *)(local_128 + -1); + } + goto LAB_1400c42b5; + } + } + uVar7 = (ulonglong)uVar16; + FUN_14003e650(puVar8 + 2,ppuVar10,uVar16); + FUN_140002190((longlong *)&local_128,ppuVar10,uVar7,pppuVar20); + local_128 = (undefined **)(puVar8 + 2); + } + } + } + FUN_140001df0((longlong *)&local_128); + ppuVar10 = local_128; + if (local_128 == (undefined **)0x0) { + ppuVar10 = (undefined **)PTR_DAT_14016f010; + } + FUN_14003e650(ppuVar10,L"Stream Extract Error at Reliable UDP",uVar4); + ppuVar10 = local_128; + if (local_128 == (undefined **)0x0) { + ppuVar10 = (undefined **)PTR_DAT_14016f010; + } + uVar4 = FUN_14003e620((short *)ppuVar10); + uVar22 = uVar21; + if (0 < (int)uVar4) { + uVar22 = uVar4; + } + uVar4 = uVar21; + if ((local_128 != (undefined **)0x0) && (local_128 != (undefined **)PTR_DAT_14016f010)) { + uVar4 = *(uint *)(local_128 + -1); + } + if (((int)uVar22 < (int)uVar4) || (uVar22 = uVar21, local_128 == (undefined **)0x0)) { +LAB_1400c4351: + if (((local_128 != (undefined **)PTR_DAT_14016f010) && (local_128 != (undefined **)0x0)) && + (local_128 + -1 != (undefined **)0x0)) { + *(uint *)(local_128 + -1) = uVar22; + *(undefined2 *)((longlong)local_128 + (longlong)(int)uVar22 * 2) = 0; + } + } + else if (local_128 != (undefined **)PTR_DAT_14016f010) { + uVar22 = *(uint *)(local_128 + -1); + goto LAB_1400c4351; + } + local_78._0_2_ = 0; + local_78._2_2_ = 0; + local_78._4_4_ = 0; + local_70[0] = 0; + local_70[1] = 0; + local_70[2] = 0; + local_70[3] = 0; + local_70[4] = 0; + local_70[5] = 0; + local_70[6] = 0; + local_70[7] = 0; + local_70[8] = 0; + local_70[9] = 0; + local_70[10] = 0; + local_70[0xb] = 0; + local_70[0xc] = 0; + local_70[0xd] = 0; + local_70[0xe] = 0; + local_70[0xf] = 0; + local_70[0x10] = 0; + local_70[0x11] = 0; + local_70[0x12] = 0; + local_70[0x13] = 0; + local_70[0x14] = 0; + local_70[0x15] = 0; + local_70[0x16] = 0; + local_70[0x17] = 0; + local_80 = Proud::ByteArray::vftable; + pvVar12 = pvVar15; + if (local_120 != (longlong *)0x0) { + pvVar12 = (void *)*local_120; + } + pppuVar20 = &local_128; + plVar9 = FUN_140071c20(&local_48,(ulonglong)local_res18 & 0xffffffff, + (ulonglong)*(uint *)((longlong)pvVar12 + 0x56c),(longlong *)pppuVar20, + (longlong)&local_80); + pIVar19 = (IMAGE_DOS_HEADER *)*param_1[0x21]; + (**(code **)(pIVar19 + 1))(); + pppuVar11 = &local_80; + FUN_140049e40(pppuVar11); + ppuVar10 = local_128; + if (((local_128 != (undefined **)0x0) && (local_128 != (undefined **)PTR_DAT_14016f010)) && + (ppuVar1 = local_128 + -1, ppuVar1 != (undefined **)0x0)) { + pppuVar11 = (undefined ***)FUN_14003e7c0(pppuVar11,plVar9,pIVar19,pppuVar20); + local_58 = pppuVar11; + FUN_14003d040((int *)pppuVar11); + local_50 = 1; + puVar8 = (uint *)((longlong)ppuVar10 + -4); + *puVar8 = *puVar8 - 1; + if (*puVar8 == 0) { + FUN_14003e8b0(ppuVar1); + } + FUN_14003d0d0((longlong)pppuVar11); + local_50 = 0; + } + local_128 = (undefined **)PTR_DAT_14016f010; + } + while (iVar14 = (int)pvVar15, iVar14 != local_b0._24_4_) { + if ((iVar14 < 0) || ((int)local_b0._24_4_ <= iVar14)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(pppuVar11,plVar9,pIVar19,pppuVar20); + } + pIVar19 = (IMAGE_DOS_HEADER *)(local_b0._16_8_ + (longlong)iVar14 * 0x48); + pIVar19->e_program[0] = 1; + pppuVar11 = param_1; + plVar9 = param_2; + FUN_1400c6270((IMAGE_DOS_HEADER *)param_1,(IMAGE_DOS_HEADER *)param_2,pIVar19,pppuVar20); + if ((int)local_b0._24_4_ <= iVar14) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(pppuVar11,plVar9,pIVar19,pppuVar20); + } + pvVar15 = (void *)(ulonglong)(iVar14 + 1); + } + FUN_14007e8f0((undefined8 *)local_b0); + if (local_f8 != (longlong *)0x0) { + plVar9 = local_f8 + 1; + *plVar9 = *plVar9 + -1; + if (*plVar9 == 0) { + FUN_1400512a0((longlong)&local_f8,local_f8); + } + } + local_40 = &local_110; + FUN_14008a320((longlong *)&local_110); + if (local_108 != (void *)0x0) { + if ((longlong)local_100 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_100 = local_100 & 0xffffffff00000000; + } +LAB_1400c44f9: + if ((local_120 != (longlong *)0x0) && (local_120[1] = local_120[1] + -1, local_120[1] == 0)) { + puVar3 = (undefined8 *)*local_120; + if (puVar3 != (undefined8 *)0x0) { + (**(code **)*puVar3)(puVar3,1); + } + FUN_14003e8b0(local_120); + } + local_res18 = &local_d0; + FUN_14008a320((longlong *)&local_d0); + if ((local_c8 != (void *)0x0) && (local_bc < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c4580.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c4580.c new file mode 100644 index 00000000..7ede09e4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c4580.c @@ -0,0 +1,231 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c4580 FUN_1400c4580 + * Pseudocode, not original source. */ + +void FUN_1400c4580(longlong param_1,undefined8 param_2,undefined *param_3,undefined ***param_4) + +{ + undefined **ppuVar1; + int *piVar2; + ushort uVar3; + undefined4 uVar4; + uint uVar5; + uint uVar6; + int iVar7; + uint uVar8; + longlong lVar9; + uint *puVar10; + longlong *plVar11; + int *piVar12; + int iVar13; + ulonglong uVar14; + undefined **ppuVar15; + undefined ***pppuVar16; + ulonglong uVar17; + uint uVar18; + int iVar19; + double dVar20; + undefined8 uVar21; + undefined **local_res8; + undefined *local_res10; + longlong local_res18; + undefined **local_50; + undefined8 local_48; + undefined8 local_40; + undefined8 local_38; + undefined8 local_30; + + lVar9 = *(longlong *)(param_1 + 0x108); + if ((*(char *)(lVar9 + 0x1790) != '\0') || (*(int *)(lVar9 + 0x6c8) != 0)) { + param_3 = &DAT_140123d78; + param_2 = 0; + FUN_1400a9f70(lVar9,0,L"클라이언트 NetWorker thread 시작",param_4); + } + lVar9 = FUN_14009c0f0(*(longlong *)(param_1 + 0x108)); + uVar17 = 0; + iVar19 = 0; + uVar14 = uVar17; + if (*(ulonglong **)(lVar9 + 0x128) != (ulonglong *)0x0) { + uVar14 = **(ulonglong **)(lVar9 + 0x128); + } + uVar4 = FUN_140045ad0(uVar14,param_2,param_3,param_4); + uVar8 = 0; + if ((char)uVar4 != '\0') { + lVar9 = FUN_14009c0f0(*(longlong *)(param_1 + 0x108)); + FUN_1400ce910(lVar9,param_2,param_3,param_4); + dVar20 = FUN_140048960((char *)(*(longlong *)(param_1 + 0x108) + 0x1620)); + *(double *)(param_1 + 200) = dVar20; + lVar9 = FUN_14009c0f0(*(longlong *)(param_1 + 0x108)); + uVar14 = uVar17; + if (*(ulonglong **)(lVar9 + 0x128) != (ulonglong *)0x0) { + uVar14 = **(ulonglong **)(lVar9 + 0x128); + } + FUN_140043130(uVar14); + lVar9 = FUN_14009c0f0(*(longlong *)(param_1 + 0x108)); + uVar14 = uVar17; + if (*(ulonglong **)(lVar9 + 0x128) != (ulonglong *)0x0) { + uVar14 = **(ulonglong **)(lVar9 + 0x128); + } + FUN_140043140(uVar14,0); + lVar9 = FUN_14009c0f0(*(longlong *)(param_1 + 0x108)); + uVar14 = uVar17; + if (*(ulonglong **)(lVar9 + 0x128) != (ulonglong *)0x0) { + uVar14 = **(ulonglong **)(lVar9 + 0x128); + } + uVar21 = 0; + FUN_140043230(uVar14,'\0'); + local_res8 = &local_res10; + lVar9 = *(longlong *)(param_1 + 0x108); + FUN_14003e7c0(uVar14,uVar21,param_3,param_4); + local_res10 = PTR_DAT_14016f010; + FUN_1400020c0((longlong *)&local_res10,(longlong *)(lVar9 + 0x1588),param_3,param_4); + lVar9 = FUN_14009c0f0(*(longlong *)(param_1 + 0x108)); + if (*(ulonglong **)(lVar9 + 0x128) != (ulonglong *)0x0) { + uVar17 = **(ulonglong **)(lVar9 + 0x128); + } + uVar3 = *(ushort *)(*(longlong *)(param_1 + 0x108) + 0x1590); + uVar14 = (ulonglong)uVar3; + uVar8 = FUN_140044450(uVar17,(longlong *)&local_res10,uVar3,param_4); + if ((uVar8 == 0) || (uVar8 == 0x2733)) { + if (0 < *(int *)(param_1 + 0x100)) { + return; + } + *(undefined4 *)(param_1 + 0x40) = 0; + *(undefined4 *)(param_1 + 0x100) = 1; + uVar21 = (**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x108) + 0x70) + 0x1c0))(); + *(undefined8 *)(param_1 + 0x80) = uVar21; + *(undefined1 *)(param_1 + 0xc0) = 0; + return; + } + goto LAB_1400c484d; + } + FUN_14003e7c0(uVar14,param_2,param_3,param_4); + local_res8 = (undefined **)PTR_DAT_14016f010; + uVar5 = FUN_14003e620(L"Cannot bind TCP socket to a local address!"); + if ((local_res8 != (undefined **)0x0) && + (uVar17 = 0, local_res8 != (undefined **)PTR_DAT_14016f010)) { + uVar17 = (ulonglong)*(uint *)(local_res8 + -1); + } + uVar6 = uVar5; + if ((((int)uVar5 <= (int)uVar17) && (uVar6 = uVar8, local_res8 != (undefined **)0x0)) && + (local_res8 != (undefined **)PTR_DAT_14016f010)) { + uVar6 = *(uint *)(local_res8 + -1); + } + uVar18 = 1; + if (1 < (int)uVar6) { + uVar18 = uVar6; + } + uVar6 = uVar8; + if ((local_res8 != (undefined **)0x0) && (local_res8 != (undefined **)PTR_DAT_14016f010)) { + uVar6 = *(uint *)(local_res8 + -1); + } + if ((int)uVar6 < (int)uVar18) { + if (local_res8 == (undefined **)0x0) { + local_res8 = (undefined **)PTR_DAT_14016f010; + } + if ((int)uVar18 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar18 == 0) { + FUN_140002190((longlong *)&local_res8,PTR_DAT_14016f010,uVar17,param_4); + } + else { + uVar6 = uVar8; + if ((local_res8 != (undefined **)0x0) && (local_res8 != (undefined **)PTR_DAT_14016f010)) { + uVar6 = *(uint *)(local_res8 + -1); + } + if (uVar18 != uVar6) { + puVar10 = (uint *)FUN_14003e840((longlong)(int)uVar18 * 2 + 10); + if (puVar10 != (uint *)0x0) { + *puVar10 = 0; + puVar10[1] = 1; + } + *puVar10 = uVar18; + uVar6 = uVar8; + if ((local_res8 != (undefined **)0x0) && (local_res8 != (undefined **)PTR_DAT_14016f010)) { + uVar6 = *(uint *)(local_res8 + -1); + } + ppuVar15 = (undefined **)PTR_DAT_14016f010; + if ((int)uVar18 < (int)uVar6) { +LAB_1400c46f3: + if (local_res8 != (undefined **)0x0) { + ppuVar15 = local_res8; + } + } + else { + uVar18 = uVar8; + if (local_res8 != (undefined **)0x0) { + if (local_res8 != (undefined **)PTR_DAT_14016f010) { + uVar18 = *(uint *)(local_res8 + -1); + } + goto LAB_1400c46f3; + } + } + uVar17 = (ulonglong)uVar18; + FUN_14003e650(puVar10 + 2,ppuVar15,uVar18); + FUN_140002190((longlong *)&local_res8,ppuVar15,uVar17,param_4); + local_res8 = (undefined **)(puVar10 + 2); + } + } + } + FUN_140001df0((longlong *)&local_res8); + ppuVar15 = local_res8; + if (local_res8 == (undefined **)0x0) { + ppuVar15 = (undefined **)PTR_DAT_14016f010; + } + FUN_14003e650(ppuVar15,L"Cannot bind TCP socket to a local address!",uVar5); + ppuVar15 = local_res8; + if (local_res8 == (undefined **)0x0) { + ppuVar15 = (undefined **)PTR_DAT_14016f010; + } + iVar7 = FUN_14003e620((short *)ppuVar15); + iVar13 = iVar19; + if (0 < iVar7) { + iVar13 = iVar7; + } + iVar7 = iVar19; + if ((local_res8 != (undefined **)0x0) && (local_res8 != (undefined **)PTR_DAT_14016f010)) { + iVar7 = *(int *)(local_res8 + -1); + } + if ((iVar13 < iVar7) || (iVar13 = iVar19, local_res8 == (undefined **)0x0)) { +LAB_1400c4789: + if (((local_res8 != (undefined **)PTR_DAT_14016f010) && (local_res8 != (undefined **)0x0)) && + (local_res8 + -1 != (undefined **)0x0)) { + *(int *)(local_res8 + -1) = iVar13; + *(undefined2 *)((longlong)local_res8 + (longlong)iVar13 * 2) = 0; + } + } + else if (local_res8 != (undefined **)PTR_DAT_14016f010) { + iVar13 = *(int *)(local_res8 + -1); + goto LAB_1400c4789; + } + local_48 = 0; + local_40 = 0; + local_38 = 0; + local_30 = 0; + local_50 = Proud::ByteArray::vftable; + param_4 = &local_res8; + plVar11 = FUN_140071c20(&local_res18,3,0,(longlong *)param_4,(longlong)&local_50); + uVar14 = **(ulonglong **)(param_1 + 0x108); + (**(code **)(uVar14 + 0x80))(); + pppuVar16 = &local_50; + FUN_140049e40(pppuVar16); + ppuVar15 = local_res8; + if (((local_res8 != (undefined **)0x0) && (local_res8 != (undefined **)PTR_DAT_14016f010)) && + (ppuVar1 = local_res8 + -1, ppuVar1 != (undefined **)0x0)) { + piVar12 = (int *)FUN_14003e7c0(pppuVar16,plVar11,uVar14,param_4); + FUN_14003d040(piVar12); + piVar2 = (int *)((longlong)ppuVar15 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(ppuVar1); + } + FUN_14003d0d0((longlong)piVar12); + } + uVar8 = Ordinal_111(); +LAB_1400c484d: + FUN_1400bf550(param_1,uVar8,uVar14,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c49d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c49d0.c new file mode 100644 index 00000000..d3e2e7d1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c49d0.c @@ -0,0 +1,104 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c49d0 FUN_1400c49d0 + * Pseudocode, not original source. */ + +void FUN_1400c49d0(undefined8 *param_1,longlong *param_2,uint *param_3,undefined8 param_4) + +{ + longlong *plVar1; + void *pvVar2; + undefined8 *puVar3; + longlong lVar4; + undefined8 *puVar5; + + *param_1 = Proud::CNetClientManager::vftable; + param_1[1] = Proud::CNetClientManager::vftable; + if (param_1[0x56] != 0) { + FUN_1400c99a0(param_1[0x56],(longlong)param_2,(longlong)param_3,param_4); + FUN_1400c9ac0(param_1[0x56],param_2,param_3,param_4); + } + plVar1 = (longlong *)param_1[0x52]; + if ((plVar1 != (longlong *)0x0) && (*plVar1 != 0)) { + if (plVar1 == (longlong *)0x0) { + lVar4 = 0; + } + else { + lVar4 = *plVar1; + } + FUN_1400dbd40(lVar4,param_2,param_3,param_4); + lVar4 = 0; + if ((longlong *)param_1[0x52] != (longlong *)0x0) { + lVar4 = *(longlong *)param_1[0x52]; + } + FUN_1400dc530(lVar4); + } + *(undefined1 *)(param_1 + 0x10) = 1; + if ((undefined8 *)param_1[0xf] == (undefined8 *)0x0) { + puVar5 = (undefined8 *)0x0; + } + else { + puVar5 = *(undefined8 **)param_1[0xf]; + } + FUN_140045bb0(puVar5); + pvVar2 = (void *)param_1[0x57]; + if (pvVar2 != (void *)0x0) { + FUN_140047d90((longlong)pvVar2,param_2,(longlong *)param_3,param_4); + operator_delete(pvVar2); + } + param_1[0x57] = 0; + timeKillEvent(*(UINT *)(param_1 + 0x4c)); + puVar5 = (undefined8 *)param_1[0x56]; + if (puVar5 != (undefined8 *)0x0) { + FUN_1400cc6b0(puVar5,param_2,(longlong *)param_3,param_4); + operator_delete(puVar5); + } + param_1[0x56] = 0; + FUN_1400a91d0(param_1 + 0x45); + pvVar2 = (void *)param_1[0x57]; + if (pvVar2 != (void *)0x0) { + FUN_140047d90((longlong)pvVar2,param_2,(longlong *)param_3,param_4); + operator_delete(pvVar2); + } + param_1[0x57] = 0; + puVar5 = (undefined8 *)param_1[0x56]; + if (puVar5 != (undefined8 *)0x0) { + FUN_1400cc6b0(puVar5,param_2,(longlong *)param_3,param_4); + operator_delete(puVar5); + } + FUN_1400bf970(param_1 + 0x53); + if ((param_1[0x52] != 0) && + (*(longlong *)(param_1[0x52] + 8) = *(longlong *)(param_1[0x52] + 8) + -1, + *(longlong *)(param_1[0x52] + 8) == 0)) { + plVar1 = (longlong *)param_1[0x52]; + puVar5 = (undefined8 *)*plVar1; + if (puVar5 != (undefined8 *)0x0) { + param_2 = (longlong *)0x1; + (**(code **)*puVar5)(); + } + FUN_14003e8b0(plVar1); + } + FUN_1400a91d0(param_1 + 0x45); + if ((undefined8 *)param_1[0x45] != (undefined8 *)0x0) { + param_2 = (longlong *)0x1; + (*(code *)**(undefined8 **)param_1[0x45])(); + } + FUN_140093d10(param_1 + 0x41); + FUN_14003d110((undefined4 *)(param_1 + 0x39),param_2,param_3,param_4); + FUN_14003d110((undefined4 *)(param_1 + 0x11),param_2,param_3,param_4); + if ((param_1[0xf] != 0) && + (*(longlong *)(param_1[0xf] + 8) = *(longlong *)(param_1[0xf] + 8) + -1, + *(longlong *)(param_1[0xf] + 8) == 0)) { + puVar5 = (undefined8 *)param_1[0xf]; + puVar3 = (undefined8 *)*puVar5; + if (puVar3 != (undefined8 *)0x0) { + FUN_140045c30(puVar3); + operator_delete(puVar3); + } + FUN_14003e8b0(puVar5); + } + FUN_14003d110((undefined4 *)(param_1 + 2),param_2,param_3,param_4); + param_1[1] = Proud::ISendSpeedMeasurerDg::vftable; + *param_1 = Proud::ICompletionPortEventSink::vftable; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c4c40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c4c40.c new file mode 100644 index 00000000..5f2d4309 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c4c40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c4c40 FUN_1400c4c40 + * Pseudocode, not original source. */ + +void FUN_1400c4c40(longlong param_1,longlong *param_2,uint *param_3,undefined8 param_4) + +{ + FUN_1400c4e20((undefined8 *)(param_1 + -8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c4c50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c4c50.c new file mode 100644 index 00000000..892a5cc5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c4c50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c4c50 FUN_1400c4c50 + * Pseudocode, not original source. */ + +void FUN_1400c4c50(undefined8 param_1,undefined8 param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_140002190(param_3,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c4c60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c4c60.c new file mode 100644 index 00000000..ae97dcaa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c4c60.c @@ -0,0 +1,45 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c4c60 FUN_1400c4c60 + * Pseudocode, not original source. */ + +void FUN_1400c4c60(longlong param_1,longlong *param_2) + +{ + char cVar1; + undefined8 *puVar2; + longlong *plVar3; + longlong *plVar4; + + plVar4 = (longlong *)0x0; + plVar3 = plVar4; + if ((undefined8 *)*param_2 != (undefined8 *)0x0) { + plVar3 = *(longlong **)*param_2; + } + cVar1 = (**(code **)(*plVar3 + 0x10))(); + if (cVar1 == '\0') { + if ((undefined8 *)*param_2 != (undefined8 *)0x0) { + plVar4 = *(longlong **)*param_2; + } + (**(code **)(*plVar4 + 8))(plVar4); + } + puVar2 = FUN_1400a9310((longlong *)(param_1 + 0x228),param_2,*(undefined8 *)(param_1 + 0x238),0); + if (*(undefined8 **)(param_1 + 0x238) == (undefined8 *)0x0) { + *(undefined8 **)(param_1 + 0x230) = puVar2; + } + else { + **(undefined8 **)(param_1 + 0x238) = puVar2; + } + *(undefined8 **)(param_1 + 0x238) = puVar2; + if ((*param_2 != 0) && + (*(longlong *)(*param_2 + 8) = *(longlong *)(*param_2 + 8) + -1, + *(longlong *)(*param_2 + 8) == 0)) { + plVar4 = (longlong *)*param_2; + puVar2 = (undefined8 *)*plVar4; + if (puVar2 != (undefined8 *)0x0) { + (**(code **)*puVar2)(puVar2,1); + } + FUN_14003e8b0(plVar4); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c4d40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c4d40.c new file mode 100644 index 00000000..da49ac21 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c4d40.c @@ -0,0 +1,44 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c4d40 FUN_1400c4d40 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x0001400c4dff) */ +/* WARNING: Removing unreachable block (ram,0x0001400c4e0a) */ +/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ + +void FUN_1400c4d40(longlong param_1) + +{ + longlong *plVar1; + longlong lVar2; + longlong *plVar3; + + if (*(double *)(param_1 + 0xc0) - *(double *)(param_1 + 0x248) <= _DAT_14016f1c0) { + return; + } + *(double *)(param_1 + 0x248) = *(double *)(param_1 + 0xc0); + plVar3 = *(longlong **)(param_1 + 0x230); + do { + while( true ) { + if (plVar3 == (longlong *)0x0) { + return; + } + lVar2 = 0; + if ((longlong *)plVar3[2] != (longlong *)0x0) { + lVar2 = *(longlong *)plVar3[2]; + } + if (*(char *)(lVar2 + 0x80) == '\0') break; +LAB_1400c4dfa: + plVar3 = (longlong *)*plVar3; + } + lVar2 = 0; + if ((longlong *)plVar3[2] != (longlong *)0x0) { + lVar2 = *(longlong *)plVar3[2]; + } + if (*(char *)(lVar2 + 0x40) != '\0') goto LAB_1400c4dfa; + plVar1 = (longlong *)*plVar3; + FUN_1400a92a0((longlong *)(param_1 + 0x228),plVar3); + plVar3 = plVar1; + } while( true ); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c4e20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c4e20.c new file mode 100644 index 00000000..a139a097 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c4e20.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c4e20 FUN_1400c4e20 + * Pseudocode, not original source. */ + +undefined8 * FUN_1400c4e20(undefined8 *param_1,longlong *param_2,uint *param_3,undefined8 param_4) + +{ + FUN_1400c49d0(param_1,param_2,param_3,param_4); + if (((ulonglong)param_2 & 1) != 0) { + FUN_14003e8b0(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c4e50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c4e50.c new file mode 100644 index 00000000..521a3412 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c4e50.c @@ -0,0 +1,154 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c4e50 FUN_1400c4e50 + * Pseudocode, not original source. */ + +void FUN_1400c4e50(longlong param_1,uint *param_2,undefined8 param_3,ulonglong param_4) + +{ + undefined8 *puVar1; + longlong lVar2; + longlong *plVar3; + longlong *plVar4; + ulonglong uVar5; + longlong *plVar6; + undefined8 uVar7; + longlong **pplVar8; + undefined4 *puVar9; + longlong *local_res8; + undefined4 local_128 [2]; + ulonglong local_120 [2]; + longlong local_110 [2]; + undefined **local_100; + undefined8 local_f8; + undefined8 local_f0; + undefined8 local_e8; + undefined8 local_e0; + longlong local_d8; + longlong local_d0; + ulonglong local_c8; + undefined4 local_b8; + undefined **local_b0; + undefined8 local_a8; + undefined8 local_a0; + undefined8 local_98; + undefined8 local_90; + undefined **local_80; + undefined4 local_78; + undefined2 local_74; + undefined **local_68; + undefined8 local_60; + undefined8 local_58; + undefined8 local_50; + undefined8 local_48; + longlong *local_38; + undefined1 local_30; + undefined8 local_28; + + local_28 = 0xfffffffffffffffe; + puVar1 = *(undefined8 **)(*(longlong *)(param_1 + 0x108) + 0x1570); + plVar4 = (longlong *)0x0; + plVar3 = plVar4; + if (puVar1 != (undefined8 *)0x0) { + plVar3 = (longlong *)*puVar1; + } + plVar3 = plVar3 + 1; + FUN_140079ed0(param_2,(undefined4 *)plVar3); + puVar1 = *(undefined8 **)(*(longlong *)(param_1 + 0x108) + 0x1570); + plVar6 = plVar4; + if (puVar1 != (undefined8 *)0x0) { + plVar6 = (longlong *)*puVar1; + } + uVar7 = CONCAT71((int7)((ulonglong)plVar3 >> 8),1); + FUN_1400c8280(plVar6,'\x01'); + local_120[0] = 0; + local_110[0] = 0; + local_110[1] = 0; + local_f8 = 0; + local_f0 = 0; + local_e8 = 0; + local_e0 = 0; + local_100 = Proud::ByteArray::vftable; + local_c8 = 0; + local_d0 = 0; + local_d8 = 0; + local_a8 = 0; + local_a0 = 0; + local_98 = 0; + local_90 = 0; + local_b0 = Proud::ByteArray::vftable; + local_80 = Proud::AddrPort::vftable; + local_78 = 0; + local_74 = 0; + local_60 = 0; + local_58 = 0; + local_50 = 0; + local_48 = 0; + local_68 = Proud::ByteArray::vftable; + local_res8 = (longlong *)FUN_14003e840(0x60); + plVar3 = plVar4; + if (local_res8 != (longlong *)0x0) { + plVar3 = FUN_140071b80(local_res8,uVar7,param_2,param_4); + } + if (plVar3 == (longlong *)0x0) { + local_res8 = (longlong *)0x0; + } + else { + plVar4 = (longlong *)FUN_14003e840(0x48); + if (plVar4 != (longlong *)0x0) { + local_res8 = plVar4; + uVar5 = FUN_140094860(); + param_2 = (uint *)CONCAT71((int7)((ulonglong)param_2 >> 8),1); + FUN_14003cf60((undefined4 *)plVar4,uVar5 & 0xffffffff,param_2,param_4); + } + local_res8 = plVar4; + FUN_14003d040((int *)plVar4); + plVar4[8] = 1; + plVar4[7] = (longlong)plVar3; + FUN_14003d0d0((longlong)plVar4); + } + pplVar8 = &local_res8; + FUN_14005d770(local_120,(ulonglong *)pplVar8,param_2,param_4); + if (plVar4 != (longlong *)0x0) { + local_38 = plVar4; + FUN_14003d040((int *)plVar4); + local_30 = 1; + plVar3 = plVar4 + 8; + *plVar3 = *plVar3 + -1; + if (*plVar3 == 0) { + FUN_14003d0d0((longlong)plVar4); + local_30 = 0; + FUN_140038210((undefined4 *)plVar4,pplVar8,param_2,param_4); + } + else { + FUN_14003d0d0((longlong)plVar4); + } + } + local_128[0] = 0xd; + local_b8 = 1; + puVar9 = local_128; + FUN_1400b1d40(*(longlong **)(param_1 + 0x108),puVar9,(SIZE_T)param_2,param_4); + lVar2 = *(longlong *)(param_1 + 0x108); + if ((*(char *)(lVar2 + 0x1790) != '\0') || (*(int *)(lVar2 + 0x6c8) != 0)) { + param_4 = (ulonglong)*(uint *)(lVar2 + 0x1578); + param_2 = (uint *)&DAT_140123e60; + puVar9 = (undefined4 *)0x1; + FUN_1400a9f70(lVar2,1,L"Client %d: 서버 UDP 홀펀칭 성공",param_4); + } + FUN_140049e40(&local_68); + FUN_140049e40(&local_b0); + local_res8 = &local_d8; + FUN_14008a320(&local_d8); + if (local_d0 != 0) { + if ((longlong)local_c8 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_c8 = local_c8 & 0xffffffff00000000; + } + FUN_140049e40(&local_100); + FUN_1400641e0(local_110 + 1,puVar9,param_2,param_4); + FUN_140064160(local_110,puVar9,param_2,param_4); + FUN_140038280((longlong *)local_120,puVar9,param_2,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c50f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c50f0.c new file mode 100644 index 00000000..5ca5e2f7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c50f0.c @@ -0,0 +1,477 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c50f0 FUN_1400c50f0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_1400c50f0(longlong param_1,uint *param_2,SIZE_T param_3,undefined4 *param_4) + +{ + ushort uVar1; + uint uVar2; + uint uVar3; + undefined8 uVar4; + ulonglong uVar5; + longlong lVar6; + int *piVar7; + undefined8 *puVar8; + longlong *plVar9; + undefined ****ppppuVar10; + uint *puVar11; + longlong *plVar12; + undefined ***pppuVar13; + uint uVar14; + undefined4 *puVar15; + LPWSTR lpFilename; + uint *puVar16; + int iVar17; + int *piVar18; + uint uVar19; + undefined *puVar20; + undefined ***pppuVar21; + uint **ppuVar22; + undefined1 auStackY_4a8 [32]; + undefined1 local_478 [8]; + uint *local_470; + uint *local_468; + undefined ***local_460; + undefined8 local_458; + undefined4 local_450 [2]; + undefined ***local_448; + undefined4 local_440 [2]; + undefined ***local_438; + undefined *local_430; + undefined **local_428; + undefined4 local_420; + undefined2 local_41c; + undefined *local_418; + undefined **local_410; + undefined **local_408; + undefined8 local_400; + undefined8 local_3f8; + undefined8 local_3f0; + undefined8 local_3e8; + int *local_3e0; + undefined1 local_3d8; + longlong local_3d0; + undefined ****local_3c8; + undefined1 local_3c0; + int *local_3b8; + undefined1 local_3b0; + int *local_3a8; + undefined1 local_3a0; + int *local_398; + undefined1 local_390; + undefined ****local_388; + undefined1 local_380; + int *local_378; + undefined1 local_370; + longlong local_368 [4]; + undefined4 local_348 [20]; + uint *local_2f8; + undefined ***local_2f0; + undefined4 local_2e8; + undefined4 local_2e4; + undefined4 local_2d8; + undefined4 local_298; + undefined2 local_294; + undefined4 local_258; + undefined4 local_254; + undefined4 local_250; + undefined4 local_24c; + WCHAR local_248 [264]; + ulonglong local_38; + + local_368[1] = 0xfffffffffffffffe; + local_38 = DAT_14016f5a0 ^ (ulonglong)auStackY_4a8; + plVar12 = (longlong *)(*(longlong *)(param_1 + 0x108) + 0x78); + puVar11 = param_2; + (**(code **)(*plVar12 + 0x10))(); + pppuVar21 = (undefined ***)0x0; + local_458 = 0; + local_460 = (undefined ***)0x0; + local_468 = (uint *)0x0; + local_468 = (uint *)FUN_14008a360(plVar12,puVar11,param_3); + local_468[10] = 1; + local_468[0xb] = 0; + local_428 = Proud::AddrPort::vftable; + local_420 = 0; + local_41c = 0; + pppuVar13 = (undefined ***)local_440; + puVar11 = param_2; + uVar4 = FUN_140075970(param_2,(undefined4 *)pppuVar13,param_3,param_4); + if ((char)uVar4 != '\0') { + local_258 = 0; + local_254 = 0; + local_250 = 0; + local_24c = 0; + param_3 = 0x10; + pppuVar13 = (undefined ***)&local_258; + puVar11 = param_2; + uVar4 = FUN_140074ee0(param_2,pppuVar13,0x10); + if ((char)uVar4 != '\0') { + pppuVar13 = &local_410; + puVar11 = param_2; + uVar5 = FUN_140075580(param_2,pppuVar13,param_3,param_4); + if ((((char)uVar5 != '\0') && (iVar17 = (int)local_410, -1 < iVar17)) && + (iVar17 <= DAT_14016f140)) { + if (local_460 == (undefined ***)0x0) { + puVar11 = local_468; + if (iVar17 < 1) { + if (local_468 == (uint *)0x0) goto LAB_1400c5727; + iVar17 = 0; + } + else if (local_468 == (uint *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,0,param_3,param_4); + } + FUN_14002a050((longlong)local_468,iVar17,param_3); + } + else { + if (local_458._4_4_ < iVar17) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_458 = CONCAT44(local_458._4_4_,iVar17); + } + pppuVar13 = local_460; + if (local_460 == (undefined ***)0x0) { + if (local_468 == (uint *)0x0) { +LAB_1400c5727: + /* WARNING: Subroutine does not return */ + FUN_14008a420(puVar11,0,param_3,param_4); + } + pppuVar13 = pppuVar21; + if (local_468[6] != 0) { + pppuVar13 = *(undefined ****)(local_468 + 4); + } + } + param_3 = (ulonglong)local_410 & 0xffffffff; + puVar11 = param_2; + uVar4 = FUN_140074ee0(param_2,pppuVar13,param_3); + if ((char)uVar4 != '\0') { + pppuVar13 = &local_428; + uVar5 = FUN_140075910(param_2,(longlong)pppuVar13); + puVar11 = param_2; + if ((char)uVar5 != '\0') { + *(undefined4 *)(*(longlong *)(param_1 + 0x108) + 0x1578) = local_440[0]; + plVar12 = *(longlong **)(*(longlong *)(param_1 + 0x108) + 0x15d8); + if ((plVar12 != (longlong *)0x0) && (*plVar12 != 0)) { + lVar6 = FUN_14009c0f0(*(longlong *)(param_1 + 0x108)); + *(undefined4 *)(lVar6 + 0x108) = local_420; + *(undefined2 *)(lVar6 + 0x10c) = local_41c; + } + piVar7 = (int *)(**(code **)(**(longlong **)(param_1 + 0x108) + 0x58))(); + local_3a8 = piVar7; + FUN_14003d040(piVar7); + local_3a0 = 1; + FUN_140064540((longlong)local_348); + local_348[0] = 1; + if (local_468 == local_2f8) { + local_2e4 = local_458._4_4_; + local_2f0 = local_460; + local_2e8 = (undefined4)local_458; + } + else { + FUN_14008a320((longlong *)&local_2f8); + if (local_468 != (uint *)0x0) { + *(longlong *)(local_468 + 10) = *(longlong *)(local_468 + 10) + 1; + local_2f8 = local_468; + } + } + local_2d8 = 1; + plVar12 = FUN_14000ac70(local_368,(longlong *)(*(longlong *)(param_1 + 0x108) + 0x1588), + param_3,param_4); + uVar1 = *(ushort *)(*(longlong *)(param_1 + 0x108) + 0x1590); + puVar20 = (undefined *)(ulonglong)uVar1; + puVar8 = FUN_140041a10(local_368 + 2,plVar12,uVar1,param_4); + local_298 = *(undefined4 *)(puVar8 + 1); + local_294 = *(undefined2 *)((longlong)puVar8 + 0xc); + puVar15 = local_348; + FUN_1400b1d40(*(longlong **)(param_1 + 0x108),puVar15,(SIZE_T)puVar20,param_4); + lVar6 = *(longlong *)(param_1 + 0x108); + *(undefined4 *)(lVar6 + 0x6d0) = local_258; + *(undefined4 *)(lVar6 + 0x6d4) = local_254; + *(undefined4 *)(lVar6 + 0x6d8) = local_250; + *(undefined4 *)(lVar6 + 0x6dc) = local_24c; + if (*(longlong *)(*(longlong *)(param_1 + 0x108) + 0x58) != 0) { + piVar18 = (int *)(*(longlong *)(*(longlong *)(param_1 + 0x108) + 0x58) + 0x98); + local_378 = piVar18; + FUN_14003d040(piVar18); + local_370 = 1; + local_478[0] = 0; + plVar12 = (longlong *)(*(longlong *)(param_1 + 0x108) + 0x70); + local_450[0] = (**(code **)(*plVar12 + 0x108))(plVar12,local_478); + param_4 = local_450; + puVar20 = &DAT_140177f90; + puVar15 = (undefined4 *)0x1; + (**(code **)(*(longlong *) + (*(longlong *)(*(longlong *)(param_1 + 0x108) + 0x58) + 0x68) + 0x60))() + ; + FUN_14003d0d0((longlong)piVar18); + } + FUN_1400645f0((longlong)local_348,puVar15,puVar20,param_4); + FUN_14003d0d0((longlong)piVar7); + lVar6 = *(longlong *)(param_1 + 0x108); + if ((*(char *)(lVar6 + 0x1790) != '\0') || (*(int *)(lVar6 + 0x6c8) != 0)) { + param_4 = (undefined4 *)(ulonglong)*(uint *)(lVar6 + 0x1578); + puVar20 = &DAT_140123f48; + puVar15 = (undefined4 *)0x1; + FUN_1400a9f70(lVar6,1,L"서버와의 연결 성공. HostID=%d",param_4); + } + if (*(int *)(*(longlong *)(param_1 + 0x108) + 0x1578) == 0x32) { + uVar2 = FUN_140048600(lVar6,puVar15,puVar20,param_4); + uVar14 = (int)uVar2 / 3 + ((int)uVar2 >> 0x1f) + + (int)(((longlong)(int)uVar2 / 3 + ((longlong)(int)uVar2 >> 0x3f) & + 0xffffffffU) >> 0x1f); + uVar3 = uVar14 * 3; + if (uVar2 == uVar3) { + FUN_14003e7c0((ulonglong)uVar3,(ulonglong)uVar14,puVar20,param_4); + pppuVar13 = (undefined ***)PTR_DAT_14016f010; + local_438 = (undefined ***)PTR_DAT_14016f010; + puVar20 = (undefined *)0x104; + lpFilename = local_248; + GetModuleFileNameW((HMODULE)0x0,lpFilename,0x104); + ppppuVar10 = *(undefined *****)(param_1 + 0x108); + if ((ppppuVar10[699] != (undefined ***)0x0) && + (*ppppuVar10[699] != (undefined **)0x0)) { + lVar6 = FUN_14009c0f0((longlong)ppppuVar10); + plVar12 = (longlong *)(*(longlong *)(param_1 + 0x108) + 0x70); + plVar12 = (longlong *)(**(code **)(*plVar12 + 0xb0))(plVar12,&local_418); + plVar9 = (longlong *) + (*(code *)**(undefined8 **)(lVar6 + 0x100)) + ((undefined8 *)(lVar6 + 0x100),&local_430); + param_4 = (undefined4 *)*plVar12; + if ((undefined4 *)*plVar12 == (undefined4 *)0x0) { + param_4 = (undefined4 *)PTR_DAT_14016f010; + } + puVar20 = (undefined *)*plVar9; + if ((undefined *)*plVar9 == (undefined *)0x0) { + puVar20 = PTR_DAT_14016f010; + } + ppppuVar10 = &local_438; + FUN_140029b80((longlong *)ppppuVar10,L"Usage: %s ## %s ## %s",puVar20,param_4); + if (((local_430 != (undefined *)0x0) && (local_430 != PTR_DAT_14016f010)) && + (local_430 + -8 != (undefined *)0x0)) { + ppppuVar10 = (undefined ****) + FUN_14003e7c0(ppppuVar10,PTR_DAT_14016f010,puVar20,param_4); + local_388 = ppppuVar10; + FUN_14003d040((int *)ppppuVar10); + local_380 = 1; + piVar7 = (int *)(local_430 + -4); + *piVar7 = *piVar7 + -1; + if (*piVar7 == 0) { + FUN_14003e8b0(local_430 + -8); + } + FUN_14003d0d0((longlong)ppppuVar10); + } + lpFilename = (LPWSTR)PTR_DAT_14016f010; + local_430 = PTR_DAT_14016f010; + if (((local_418 != (undefined *)0x0) && (local_418 != PTR_DAT_14016f010)) && + (local_418 + -8 != (undefined *)0x0)) { + ppppuVar10 = (undefined ****) + FUN_14003e7c0(ppppuVar10,PTR_DAT_14016f010,puVar20,param_4); + local_3c8 = ppppuVar10; + FUN_14003d040((int *)ppppuVar10); + local_3c0 = 1; + piVar7 = (int *)(local_418 + -4); + *piVar7 = *piVar7 + -1; + if (*piVar7 == 0) { + FUN_14003e8b0(local_418 + -8); + } + FUN_14003d0d0((longlong)ppppuVar10); + } + FUN_14003e7c0(ppppuVar10,lpFilename,puVar20,param_4); + pppuVar13 = local_438; + local_448 = (undefined ***)PTR_DAT_14016f010; + if (PTR_DAT_14016f010 == (undefined *)0x0) { + local_448 = pppuVar21; + } + if (local_438 != (undefined ***)PTR_DAT_14016f010) { + piVar7 = (int *)FUN_14003e7c0(ppppuVar10,lpFilename,puVar20,param_4); + local_3b8 = piVar7; + FUN_14003d040(piVar7); + local_3b0 = 1; + FUN_140002190((longlong *)&local_448,lpFilename,puVar20,param_4); + local_448 = pppuVar13; + if (((pppuVar13 != (undefined ***)PTR_DAT_14016f010) && + (pppuVar13 != (undefined ***)0x0)) && (pppuVar13 != (undefined ***)0x8)) { + *(int *)((longlong)pppuVar13 + -4) = *(int *)((longlong)pppuVar13 + -4) + 1; + } + FUN_14003d0d0((longlong)piVar7); + } + ppppuVar10 = &local_448; + FUN_1400416f0((longlong *)ppppuVar10,lpFilename,puVar20,param_4); + } + if (((pppuVar13 != (undefined ***)0x0) && + (pppuVar13 != (undefined ***)PTR_DAT_14016f010)) && + (pppuVar13 + -1 != (undefined ***)0x0)) { + piVar18 = (int *)FUN_14003e7c0(ppppuVar10,lpFilename,puVar20,param_4); + local_398 = piVar18; + FUN_14003d040(piVar18); + local_390 = 1; + piVar7 = (int *)((longlong)pppuVar13 + -4); + *piVar7 = *piVar7 + -1; + if (*piVar7 == 0) { + FUN_14003e8b0(pppuVar13 + -1); + } + FUN_14003d0d0((longlong)piVar18); + } + } + } + FUN_14008a320((longlong *)&local_468); + if (local_460 == (undefined ***)0x0) { + return; + } + if (-1 < local_458) { + return; + } + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + } + } + } + } + FUN_14003e7c0(puVar11,pppuVar13,param_3,param_4); + local_470 = (uint *)PTR_DAT_14016f010; + uVar3 = FUN_14003e620(L"Bad format in NotifyServerConnectSuccess"); + if ((local_470 != (uint *)0x0) && + (pppuVar21 = (undefined ***)0x0, local_470 != (uint *)PTR_DAT_14016f010)) { + pppuVar21 = (undefined ***)(ulonglong)local_470[-2]; + } + uVar14 = 0; + uVar2 = uVar3; + if ((((int)uVar3 <= (int)pppuVar21) && (uVar2 = uVar14, local_470 != (uint *)0x0)) && + (local_470 != (uint *)PTR_DAT_14016f010)) { + uVar2 = local_470[-2]; + } + uVar19 = 1; + if (1 < (int)uVar2) { + uVar19 = uVar2; + } + uVar2 = uVar14; + if ((local_470 != (uint *)0x0) && (local_470 != (uint *)PTR_DAT_14016f010)) { + uVar2 = local_470[-2]; + } + if ((int)uVar2 < (int)uVar19) { + if (local_470 == (uint *)0x0) { + local_470 = (uint *)PTR_DAT_14016f010; + } + if ((int)uVar19 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar19 == 0) { + FUN_140002190((longlong *)&local_470,PTR_DAT_14016f010,pppuVar21,param_4); + } + else { + uVar2 = uVar14; + if ((local_470 != (uint *)0x0) && (local_470 != (uint *)PTR_DAT_14016f010)) { + uVar2 = local_470[-2]; + } + if (uVar19 != uVar2) { + puVar11 = (uint *)FUN_14003e840((longlong)(int)uVar19 * 2 + 10); + if (puVar11 != (uint *)0x0) { + *puVar11 = 0; + puVar11[1] = 1; + } + *puVar11 = uVar19; + uVar2 = uVar14; + if ((local_470 != (uint *)0x0) && (local_470 != (uint *)PTR_DAT_14016f010)) { + uVar2 = local_470[-2]; + } + puVar16 = (uint *)PTR_DAT_14016f010; + if ((int)uVar19 < (int)uVar2) { +LAB_1400c582c: + if (local_470 != (uint *)0x0) { + puVar16 = local_470; + } + } + else { + uVar19 = uVar14; + if (local_470 != (uint *)0x0) { + if (local_470 != (uint *)PTR_DAT_14016f010) { + uVar19 = local_470[-2]; + } + goto LAB_1400c582c; + } + } + uVar5 = (ulonglong)uVar19; + FUN_14003e650(puVar11 + 2,puVar16,uVar19); + FUN_140002190((longlong *)&local_470,puVar16,uVar5,param_4); + local_470 = puVar11 + 2; + } + } + } + FUN_140001df0((longlong *)&local_470); + puVar11 = local_470; + if (local_470 == (uint *)0x0) { + puVar11 = (uint *)PTR_DAT_14016f010; + } + FUN_14003e650(puVar11,L"Bad format in NotifyServerConnectSuccess",uVar3); + puVar11 = local_470; + if (local_470 == (uint *)0x0) { + puVar11 = (uint *)PTR_DAT_14016f010; + } + uVar2 = FUN_14003e620((short *)puVar11); + uVar3 = 0; + if (0 < (int)uVar2) { + uVar3 = uVar2; + } + uVar2 = uVar14; + if ((local_470 != (uint *)0x0) && (local_470 != (uint *)PTR_DAT_14016f010)) { + uVar2 = local_470[-2]; + } + if (((int)uVar2 <= (int)uVar3) && (uVar3 = uVar14, local_470 != (uint *)0x0)) { + if (local_470 == (uint *)PTR_DAT_14016f010) goto LAB_1400c58e6; + uVar3 = local_470[-2]; + } + if (((local_470 != (uint *)PTR_DAT_14016f010) && (local_470 != (uint *)0x0)) && + (local_470 + -2 != (uint *)0x0)) { + local_470[-2] = uVar3; + *(undefined2 *)((longlong)local_470 + (longlong)(int)uVar3 * 2) = 0; + } +LAB_1400c58e6: + local_400 = 0; + local_3f8 = 0; + local_3f0 = 0; + local_3e8 = 0; + local_408 = Proud::ByteArray::vftable; + ppuVar22 = &local_470; + plVar12 = FUN_140071c20(&local_3d0,8,1,(longlong *)ppuVar22,(longlong)&local_408); + uVar4 = 0x1f; + FUN_1400b4da0(*(longlong **)(param_1 + 0x108),(undefined4 *)0x1f,plVar12,ppuVar22); + pppuVar13 = &local_408; + FUN_140049e40(pppuVar13); + puVar11 = local_470; + if (((local_470 != (uint *)0x0) && (local_470 != (uint *)PTR_DAT_14016f010)) && + (puVar16 = local_470 + -2, puVar16 != (uint *)0x0)) { + piVar7 = (int *)FUN_14003e7c0(pppuVar13,uVar4,plVar12,ppuVar22); + local_3e0 = piVar7; + FUN_14003d040(piVar7); + local_3d8 = 1; + puVar11 = puVar11 + -1; + *puVar11 = *puVar11 - 1; + if (*puVar11 == 0) { + FUN_14003e8b0(puVar16); + } + FUN_14003d0d0((longlong)piVar7); + local_3d8 = 0; + } + local_470 = (uint *)PTR_DAT_14016f010; + if (*(int *)(param_1 + 0x100) < 4) { + *(undefined4 *)(param_1 + 0x40) = 0; + *(undefined4 *)(param_1 + 0x100) = 4; + uVar4 = (**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x108) + 0x70) + 0x1c0))(); + *(undefined8 *)(param_1 + 0x80) = uVar4; + *(undefined1 *)(param_1 + 0xc0) = 0; + } + FUN_14008a320((longlong *)&local_468); + if ((local_460 != (undefined ***)0x0) && (local_458 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c5a20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c5a20.c new file mode 100644 index 00000000..e69de9f0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c5a20.c @@ -0,0 +1,103 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c5a20 FUN_1400c5a20 + * Pseudocode, not original source. */ + +/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ + +void FUN_1400c5a20(longlong param_1,uint *param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong lVar1; + undefined8 uVar2; + int *piVar3; + undefined4 *puVar4; + SIZE_T SVar5; + double dVar6; + double dVar7; + double local_res18; + double local_res20; + undefined4 local_118 [2]; + undefined8 local_110; + undefined8 local_100; + undefined8 local_f8; + undefined **local_f0; + undefined8 local_e8; + undefined8 local_e0; + undefined8 local_d8; + undefined8 local_d0; + undefined8 local_c8; + undefined8 local_c0; + undefined8 local_b8; + undefined4 local_a8; + undefined **local_a0; + undefined8 local_98; + undefined8 local_90; + undefined8 local_88; + undefined8 local_80; + undefined **local_70; + undefined4 local_68; + undefined2 local_64; + undefined **local_58; + undefined8 local_50; + undefined8 local_48; + undefined8 local_40; + undefined8 local_38; + int *local_28; + undefined1 local_20; + undefined8 local_18; + + local_18 = 0xfffffffffffffffe; + uVar2 = FUN_140074ee0(param_2,&local_res18,8); + if ((char)uVar2 != '\0') { + SVar5 = 8; + uVar2 = FUN_140074ee0(param_2,&local_res20,8); + if ((char)uVar2 != '\0') { + piVar3 = (int *)(**(code **)(**(longlong **)(param_1 + 0x108) + 0x58))(); + local_28 = piVar3; + FUN_14003d040(piVar3); + local_20 = 1; + dVar6 = FUN_140048960((char *)(*(longlong *)(param_1 + 0x108) + 0x1620)); + dVar7 = (dVar6 - local_res18) * 0.5; + *(double *)(*(longlong *)(param_1 + 0x108) + 0x500) = dVar7; + lVar1 = *(longlong *)(param_1 + 0x108); + if (*(double *)(lVar1 + 0x4f8) != 0.0) { + dVar7 = (dVar7 - *(double *)(lVar1 + 0x4f8)) * _DAT_14016f108 + *(double *)(lVar1 + 0x4f8); + } + *(double *)(lVar1 + 0x4f8) = dVar7; + *(double *)(*(longlong *)(param_1 + 0x108) + 0x4f0) = + dVar6 - (local_res20 + *(double *)(*(longlong *)(param_1 + 0x108) + 0x4f8)); + local_110 = 0; + local_100 = 0; + local_f8 = 0; + local_e8 = 0; + local_e0 = 0; + local_d8 = 0; + local_d0 = 0; + local_f0 = Proud::ByteArray::vftable; + local_b8 = 0; + local_c0 = 0; + local_c8 = 0; + local_98 = 0; + local_90 = 0; + local_88 = 0; + local_80 = 0; + local_a0 = Proud::ByteArray::vftable; + local_70 = Proud::AddrPort::vftable; + local_68 = 0; + local_64 = 0; + local_50 = 0; + local_48 = 0; + local_40 = 0; + local_38 = 0; + local_58 = Proud::ByteArray::vftable; + local_118[0] = 0xe; + local_a8 = 1; + puVar4 = local_118; + FUN_1400b1d40(*(longlong **)(param_1 + 0x108),puVar4,SVar5,param_4); + FUN_1400645f0((longlong)local_118,puVar4,SVar5,param_4); + FUN_14003d0d0((longlong)piVar3); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c5bf0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c5bf0.c new file mode 100644 index 00000000..f1dee88c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c5bf0.c @@ -0,0 +1,176 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c5bf0 FUN_1400c5bf0 + * Pseudocode, not original source. */ + +void FUN_1400c5bf0(longlong param_1,int *param_2,byte *param_3,undefined8 param_4) + +{ + longlong lVar1; + undefined2 **ppuVar2; + byte bVar3; + int iVar4; + SIZE_T SVar5; + int *piVar6; + longlong *plVar7; + undefined4 *puVar8; + longlong lVar9; + ulonglong uVar10; + undefined8 *puVar11; + longlong lVar12; + uint uVar13; + SIZE_T SVar14; + longlong lVar15; + undefined8 uVar16; + undefined2 **local_res8; + undefined4 local_1b8 [2]; + undefined2 *local_1b0; + longlong local_1a8; + int local_19c; + uint local_190; + undefined **local_188; + int local_180; + undefined2 local_17c; + char local_178; + int *local_168; + undefined1 local_160; + undefined8 local_158; + undefined4 local_150 [2]; + undefined4 local_148 [2]; + longlong local_140; + longlong local_138; + undefined4 local_130; + int local_12c; + uint local_120; + undefined **local_118; + int local_110; + undefined2 local_10c; + char local_108; + undefined1 local_100 [232]; + + local_158 = 0xfffffffffffffffe; + uVar13 = (int)((*param_2 >> 0x1f & 7U) + *param_2) >> 3; + SVar5 = FUN_1400a8e20(*(longlong **)(param_1 + 0x108),param_2[10],param_3,param_4); + plVar7 = (longlong *)(*(longlong *)(param_1 + 0x108) + 0x1838); + lVar15 = *plVar7; + SVar14 = SVar5; + bVar3 = (**(code **)(lVar15 + 0x10))(plVar7,param_2); + *param_3 = *param_3 | bVar3; + if (*param_3 == 0) { + FUN_140074bb0(param_2,(ulonglong)uVar13,SVar14,lVar15); + plVar7 = (longlong *)(*(longlong *)(param_1 + 0x108) + 0x17f0); + bVar3 = (**(code **)(*plVar7 + 0x10))(plVar7,param_2); + *param_3 = *param_3 | bVar3; + if (*param_3 == 0) { + uVar10 = (ulonglong)uVar13; + FUN_140074bb0(param_2,uVar10,SVar5,lVar15); + FUN_140074fb0(local_1b8); + local_188 = Proud::AddrPort::vftable; + local_178 = 0; + lVar12 = 0; + local_190 = 0; + local_180 = DAT_14016f3d0; + local_17c = DAT_14016f3d4; + puVar8 = local_1b8; + FUN_140074a40((longlong)puVar8,uVar10,SVar5,lVar15); + if (*(longlong *)(param_2 + 2) == 0) { + if (*(longlong *)(param_2 + 4) == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(puVar8,uVar10,SVar5,lVar15); + } + uVar13 = param_2[6]; + } + else { + uVar13 = *(uint *)(*(longlong *)(param_2 + 2) + 0x18); + } + iVar4 = (int)(*param_2 + (*param_2 >> 0x1f & 7U)) >> 3; + lVar9 = *(longlong *)(param_2 + 4); + if (*(longlong *)(param_2 + 4) == 0) { + lVar1 = *(longlong *)(param_2 + 2); + if (lVar1 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,(longlong)iVar4,(ulonglong)uVar13,lVar15); + } + lVar9 = lVar12; + if (*(int *)(lVar1 + 0x18) != 0) { + lVar9 = *(longlong *)(lVar1 + 0x10); + } + } + SVar14 = (SIZE_T)(uVar13 - iVar4); + puVar11 = (undefined8 *)(iVar4 + lVar9); + puVar8 = local_1b8; + FUN_140075550((longlong)puVar8,puVar11,SVar14,lVar15); + local_180 = param_2[0xe]; + local_17c = (undefined2)param_2[0xf]; + local_190 = param_2[10]; + local_178 = (char)param_2[0x10]; + if ((local_1b0 == (undefined2 *)0x0) && (local_1a8 == 0)) { + local_1b0 = FUN_14008a360(puVar8,puVar11,SVar14); + *(undefined8 *)(local_1b0 + 0x14) = 1; + } + (**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x108) + 0x78) + 0x10))(); + FUN_140074fe0(local_148,local_1b8); + local_120 = local_190; + local_118 = Proud::AddrPort::vftable; + local_110 = local_180; + local_10c = local_17c; + local_108 = local_178; + FUN_140064540((longlong)local_100); + local_150[0] = 1; + lVar15 = *(longlong *)(param_1 + 0x108); + uVar16 = 0; + SVar14 = *(SIZE_T *)(lVar15 + 0x15f0); + puVar8 = local_150; + puVar11 = FUN_1400b0b40((longlong *)(lVar15 + 0x15e0),puVar8,SVar14,0); + if (*(undefined8 **)(lVar15 + 0x15f0) == (undefined8 *)0x0) { + *(undefined8 **)(lVar15 + 0x15e8) = puVar11; + } + else { + **(undefined8 **)(lVar15 + 0x15f0) = puVar11; + } + *(undefined8 **)(lVar15 + 0x15f0) = puVar11; + FUN_1400645f0((longlong)local_100,puVar8,SVar14,uVar16); + local_res8 = (undefined2 **)&local_140; + FUN_14008a320(&local_140); + if (local_138 != 0) { + if (local_12c < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_130 = 0; + } + if ((local_190 != 1) && (local_190 != 0)) { + piVar6 = (int *)(**(code **)(**(longlong **)(param_1 + 0x108) + 0x58))(); + local_168 = piVar6; + FUN_14003d040(piVar6); + local_160 = 1; + plVar7 = FUN_1400a7920(*(longlong **)(param_1 + 0x108),(longlong *)&local_res8,local_190); + if ((longlong *)*plVar7 != (longlong *)0x0) { + lVar12 = *(longlong *)*plVar7; + } + if ((local_res8 != (undefined2 **)0x0) && + (local_res8[1] = (undefined2 *)((longlong)local_res8[1] + -1), ppuVar2 = local_res8, + piVar6 = local_168, local_res8[1] == (undefined2 *)0x0)) { + puVar11 = (undefined8 *)*local_res8; + if (puVar11 != (undefined8 *)0x0) { + (**(code **)*puVar11)(puVar11,1); + } + FUN_14003e8b0(ppuVar2); + piVar6 = local_168; + } + if (((lVar12 != 0) && (*(char *)(lVar12 + 0x684) == '\0')) && + (*(undefined1 *)(lVar12 + 0x21) = 1, local_178 == '\0')) { + *(int *)(lVar12 + 0x48) = *(int *)(lVar12 + 0x48) + 1; + } + FUN_14003d0d0((longlong)piVar6); + } + local_res8 = &local_1b0; + FUN_14008a320((longlong *)&local_1b0); + if ((local_1a8 != 0) && (local_19c < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c5f70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c5f70.c new file mode 100644 index 00000000..6cd8a1aa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c5f70.c @@ -0,0 +1,157 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c5f70 FUN_1400c5f70 + * Pseudocode, not original source. */ + +void FUN_1400c5f70(longlong param_1,int *param_2,SIZE_T param_3,undefined8 param_4) + +{ + uint uVar1; + longlong lVar2; + int iVar3; + undefined8 *puVar4; + int *piVar5; + longlong *plVar6; + undefined4 *puVar7; + longlong lVar8; + longlong lVar9; + ulonglong uVar10; + SIZE_T SVar11; + undefined8 uVar12; + longlong *local_res10; + undefined4 local_208 [2]; + longlong local_200; + longlong local_1f8; + int local_1ec; + uint local_1e0; + undefined **local_1d8; + int local_1d0; + undefined2 local_1cc; + char local_1c8; + int *local_1b8; + undefined1 local_1b0; + undefined8 local_1a8; + undefined4 local_1a0 [2]; + undefined4 local_198 [2]; + longlong local_190; + longlong local_188; + undefined4 local_180; + int local_17c; + uint local_170; + undefined **local_168; + int local_160; + undefined2 local_15c; + char local_158; + undefined1 local_150 [232]; + exception local_68 [80]; + + local_1a8 = 0xfffffffffffffffe; + piVar5 = param_2; + FUN_140074fb0(local_208); + local_1d8 = Proud::AddrPort::vftable; + local_1c8 = 0; + lVar9 = 0; + local_1e0 = 0; + local_1d0 = DAT_14016f3d0; + local_1cc = DAT_14016f3d4; + puVar7 = local_208; + FUN_140074a40((longlong)puVar7,piVar5,param_3,param_4); + if (*(longlong *)(param_2 + 2) == 0) { + if (*(longlong *)(param_2 + 4) == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(puVar7,piVar5,param_3,param_4); + } + uVar1 = param_2[6]; + } + else { + uVar1 = *(uint *)(*(longlong *)(param_2 + 2) + 0x18); + } + iVar3 = (int)(*param_2 + (*param_2 >> 0x1f & 7U)) >> 3; + lVar8 = *(longlong *)(param_2 + 4); + if (*(longlong *)(param_2 + 4) == 0) { + lVar2 = *(longlong *)(param_2 + 2); + if (lVar2 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,(longlong)iVar3,(ulonglong)uVar1,param_4); + } + lVar8 = lVar9; + if (*(int *)(lVar2 + 0x18) != 0) { + lVar8 = *(longlong *)(lVar2 + 0x10); + } + } + uVar10 = (ulonglong)(uVar1 - iVar3); + FUN_140075550((longlong)local_208,(undefined8 *)(iVar3 + lVar8),uVar10,param_4); + local_1d0 = param_2[0xe]; + local_1cc = (undefined2)param_2[0xf]; + local_1e0 = param_2[10]; + local_1c8 = (char)param_2[0x10]; + if (local_200 == 0) { + FUN_14003db10(local_68,(wchar_t *)PTR_u_exception_due_to_not_using_Inter_140170540,uVar10, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_68,(ThrowInfo *)&DAT_14016c210); + } + (**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x108) + 0x78) + 0x10))(); + FUN_140074fe0(local_198,local_208); + local_170 = local_1e0; + local_168 = Proud::AddrPort::vftable; + local_160 = local_1d0; + local_15c = local_1cc; + local_158 = local_1c8; + FUN_140064540((longlong)local_150); + local_1a0[0] = 2; + lVar8 = *(longlong *)(param_1 + 0x108); + uVar12 = 0; + SVar11 = *(SIZE_T *)(lVar8 + 0x15f0); + puVar7 = local_1a0; + puVar4 = FUN_1400b0b40((longlong *)(lVar8 + 0x15e0),puVar7,SVar11,0); + if (*(undefined8 **)(lVar8 + 0x15f0) == (undefined8 *)0x0) { + *(undefined8 **)(lVar8 + 0x15e8) = puVar4; + } + else { + **(undefined8 **)(lVar8 + 0x15f0) = puVar4; + } + *(undefined8 **)(lVar8 + 0x15f0) = puVar4; + FUN_1400645f0((longlong)local_150,puVar7,SVar11,uVar12); + local_res10 = &local_190; + FUN_14008a320(&local_190); + if (local_188 != 0) { + if (local_17c < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_180 = 0; + } + if ((local_1e0 != 1) && (local_1e0 != 0)) { + piVar5 = (int *)(**(code **)(**(longlong **)(param_1 + 0x108) + 0x58))(); + local_1b8 = piVar5; + FUN_14003d040(piVar5); + local_1b0 = 1; + plVar6 = FUN_1400a7920(*(longlong **)(param_1 + 0x108),(longlong *)&local_res10,local_1e0); + if ((longlong *)*plVar6 != (longlong *)0x0) { + lVar9 = *(longlong *)*plVar6; + } + if ((local_res10 != (longlong *)0x0) && + (local_res10[1] = local_res10[1] + -1, plVar6 = local_res10, piVar5 = local_1b8, + local_res10[1] == 0)) { + puVar4 = (undefined8 *)*local_res10; + if (puVar4 != (undefined8 *)0x0) { + (**(code **)*puVar4)(puVar4,1); + } + FUN_14003e8b0(plVar6); + piVar5 = local_1b8; + } + if (((lVar9 != 0) && (*(char *)(lVar9 + 0x684) == '\0')) && + (*(undefined1 *)(lVar9 + 0x21) = 1, local_1c8 == '\0')) { + *(int *)(lVar9 + 0x48) = *(int *)(lVar9 + 0x48) + 1; + } + FUN_14003d0d0((longlong)piVar5); + } + local_res10 = &local_200; + FUN_14008a320(&local_200); + if ((local_1f8 != 0) && (local_1ec < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c6270.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c6270.c new file mode 100644 index 00000000..e1d98606 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c6270.c @@ -0,0 +1,379 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c6270 FUN_1400c6270 + * Pseudocode, not original source. */ + +undefined8 +FUN_1400c6270(IMAGE_DOS_HEADER *param_1,IMAGE_DOS_HEADER *param_2,IMAGE_DOS_HEADER *param_3, + undefined ***param_4) + +{ + undefined8 *puVar1; + int *piVar2; + char cVar3; + uint uVar4; + uint uVar5; + int iVar6; + undefined8 uVar7; + longlong *plVar8; + int *piVar9; + ulonglong uVar10; + IMAGE_DOS_HEADER *pIVar11; + undefined8 *puVar12; + undefined8 *puVar13; + uint uVar14; + IMAGE_DOS_HEADER *pIVar15; + undefined *puVar16; + IMAGE_DOS_HEADER *pIVar17; + wchar_t *pwVar18; + longlong lVar19; + undefined8 **ppuVar20; + undefined8 *local_res8; + IMAGE_DOS_HEADER *local_res10; + uint local_res18; + undefined8 *local_res20; + undefined1 local_78 [16]; + undefined8 *local_68; + undefined8 local_60; + undefined8 local_58; + word local_50 [4]; + undefined **local_48; + word local_40 [2]; + undefined2 local_3c; + byte local_38; + + pIVar17 = param_3; + local_res10 = param_2; + (**(code **)(*(longlong *)(*(longlong *)¶m_1[2].e_cparhdr + 0x78) + 0x10))(); + uVar4 = (int)(*(int *)param_3 + (*(int *)param_3 >> 0x1f & 7U)) >> 3; + local_res20 = (undefined8 *)CONCAT44(local_res20._4_4_,uVar4); + pIVar15 = (IMAGE_DOS_HEADER *)&local_res18; + pIVar11 = param_3; + uVar7 = FUN_140075810((uint *)param_3,(uint *)pIVar15,pIVar17,param_4); + if ((char)uVar7 == '\0') goto LAB_1400c6860; + cVar3 = '\0'; + local_res8 = (undefined8 *)((ulonglong)local_res8 & 0xffffffffffffff00); + if (0x27 < local_res18 - 1) goto switchD_1400c62f3_caseD_5; + pIVar15 = &IMAGE_DOS_HEADER_140000000; + pIVar11 = (IMAGE_DOS_HEADER *) + (IMAGE_DOS_HEADER_140000000.e_magic + + (&switchD_1400c62f3::switchdataD_1400c6878)[(int)(local_res18 - 1)]); + switch(local_res18) { + case 1: + pIVar17 = (IMAGE_DOS_HEADER *)&local_res8; + pIVar11 = param_1; + pIVar15 = param_3; + FUN_1400c5bf0((longlong)param_1,(int *)param_3,(byte *)pIVar17,param_4); + cVar3 = (char)local_res8; + goto switchD_1400c62f3_caseD_5; + case 2: + pIVar17 = (IMAGE_DOS_HEADER *)&local_res8; + pIVar11 = param_1; + pIVar15 = param_3; + FUN_1400c5f70((longlong)param_1,(int *)param_3,(SIZE_T)pIVar17,param_4); + goto switchD_1400c62f3_caseD_5; + case 3: + if ((*(int *)param_3->e_res2_10_ == 1) || (*(int *)param_3->e_res2_10_ == 0)) { + pIVar11 = param_1; + pIVar15 = param_3; + FUN_1400bf340((longlong)param_1,param_3,pIVar17,param_4); + } + break; + case 4: + if ((*(int *)param_3->e_res2_10_ == 1) || (*(int *)param_3->e_res2_10_ == 0)) { + pIVar11 = param_1; + pIVar15 = param_3; + FUN_1400c27c0((longlong *)param_1,(uint *)param_3,pIVar17,param_4); + } + break; + default: + goto switchD_1400c62f3_caseD_5; + case 6: + if ((*(int *)param_3->e_res2_10_ == 1) || (*(int *)param_3->e_res2_10_ == 0)) { + pIVar11 = param_1; + pIVar15 = param_3; + FUN_1400c3190((longlong)param_1,param_3,(SIZE_T)pIVar17,param_4); + } + break; + case 8: + if ((*(int *)param_3->e_res2_10_ == 1) || (*(int *)param_3->e_res2_10_ == 0)) { + pIVar11 = param_1; + pIVar15 = param_3; + FUN_1400bf3b0((longlong)param_1,param_3,pIVar17,param_4); + } + break; + case 9: + if ((*(int *)param_3->e_res2_10_ == 1) || (*(int *)param_3->e_res2_10_ == 0)) { + pIVar11 = param_1; + pIVar15 = param_3; + FUN_1400bf420((longlong)param_1,param_3,pIVar17,param_4); + } + break; + case 10: + if ((*(int *)param_3->e_res2_10_ == 1) || (*(int *)param_3->e_res2_10_ == 0)) { + pIVar11 = param_1; + pIVar15 = param_3; + FUN_1400c50f0((longlong)param_1,(uint *)param_3,(SIZE_T)pIVar17,(undefined4 *)param_4); + } + break; + case 0xb: + if ((*(int *)param_3->e_res2_10_ == 1) || (*(int *)param_3->e_res2_10_ == 0)) { + pIVar11 = param_1; + pIVar15 = param_3; + FUN_1400bf2c0((longlong)param_1,(uint *)param_3); + } + break; + case 0xd: + if ((*(int *)param_3->e_res2_10_ == 1) || (*(int *)param_3->e_res2_10_ == 0)) { + pIVar11 = param_1; + pIVar15 = param_3; + FUN_1400c0d50((longlong)param_1,(uint *)param_3,pIVar17,(longlong)param_4); + } + break; + case 0xf: + if ((*(int *)param_3->e_res2_10_ == 1) || (*(int *)param_3->e_res2_10_ == 0)) { + pIVar11 = param_1; + pIVar15 = param_3; + FUN_1400c4e50((longlong)param_1,(uint *)param_3,pIVar17,(ulonglong)param_4); + } + break; + case 0x11: + if ((*(int *)param_3->e_res2_10_ == 1) || (*(int *)param_3->e_res2_10_ == 0)) { + pIVar11 = param_1; + pIVar15 = param_3; + FUN_1400c0010((longlong)param_1,(uint *)param_3,pIVar17,param_4); + } + break; + case 0x13: + pIVar11 = param_1; + pIVar15 = local_res10; + pIVar17 = param_3; + FUN_1400c3510((undefined ***)param_1,(uint *)local_res10,(uint *)param_3,param_4); + break; + case 0x17: + if ((*(int *)param_3->e_res2_10_ == 1) || (*(int *)param_3->e_res2_10_ == 0)) { + pIVar11 = param_1; + pIVar15 = param_3; + FUN_1400c3920((undefined ***)param_1,(uint *)param_3,pIVar17,param_4); + } + break; + case 0x18: + if ((*(int *)param_3->e_res2_10_ == 1) || (*(int *)param_3->e_res2_10_ == 0)) { + pIVar11 = param_1; + pIVar15 = local_res10; + pIVar17 = param_3; + FUN_1400c0180(param_1,local_res10,(uint *)param_3,param_4); + } + break; + case 0x19: + if ((*(int *)param_3->e_res2_10_ == 1) || (*(int *)param_3->e_res2_10_ == 0)) { + pIVar11 = param_1; + pIVar15 = local_res10; + pIVar17 = param_3; + FUN_1400c3ef0((undefined ***)param_1,(longlong *)local_res10,(uint *)param_3,param_4); + } + break; + case 0x1c: + if ((*(int *)param_3->e_res2_10_ == 1) || (*(int *)param_3->e_res2_10_ == 0)) { + pIVar11 = param_1; + pIVar15 = param_3; + FUN_1400c5a20((longlong)param_1,(uint *)param_3,pIVar17,param_4); + } + break; + case 0x1d: + break; + case 0x1e: + pIVar11 = param_1; + pIVar15 = param_3; + FUN_1400bf100((longlong)param_1,(uint *)param_3,pIVar17,param_4); + break; + case 0x1f: + pIVar11 = param_1; + pIVar15 = param_3; + FUN_1400bf140((longlong)param_1,(uint *)param_3,pIVar17,param_4); + break; + case 0x20: + pIVar11 = param_1; + pIVar15 = param_3; + FUN_1400c1a10((longlong)param_1,(uint *)param_3,pIVar17,param_4); + break; + case 0x21: + pIVar11 = param_1; + pIVar15 = param_3; + FUN_1400c0620((longlong)param_1,(uint *)param_3); + break; + case 0x22: + if ((*(int *)param_3->e_res2_10_ == 1) || (*(int *)param_3->e_res2_10_ == 0)) { + pIVar11 = param_1; + pIVar15 = local_res10; + pIVar17 = param_3; + FUN_1400c2230((longlong)param_1,local_res10,(uint *)param_3,param_4); + } + break; + case 0x23: + pIVar11 = param_1; + pIVar15 = local_res10; + pIVar17 = param_3; + FUN_1400c1080(param_1,local_res10,(uint *)param_3,param_4); + break; + case 0x24: + case 0x25: + FUN_140074fb0((undefined4 *)local_78); + local_48 = Proud::AddrPort::vftable; + local_38 = 0; + local_50[0] = 0; + local_50[1] = 0; + local_40[0] = (word)DAT_14016f3d0; + local_40[1] = DAT_14016f3d0._2_2_; + local_3c = DAT_14016f3d4; + param_4 = (undefined ***)local_78; + pIVar15 = (IMAGE_DOS_HEADER *)(ulonglong)local_res18; + pIVar17 = param_3; + uVar7 = FUN_140078bb0(*(uint **)¶m_1[2].e_cparhdr,local_res18,(uint *)param_3, + (uint *)param_4); + if ((char)uVar7 != '\0') { + local_38 = param_3->e_program[0]; + local_40 = *(word (*) [2])(param_3->e_res2_10_ + 8); + local_3c = (undefined2)param_3->e_lfanew; + local_50._0_4_ = *(undefined4 *)param_3->e_res2_10_; + pIVar17 = (IMAGE_DOS_HEADER *)local_78; + pIVar15 = local_res10; + uVar7 = FUN_1400c6270(param_1,local_res10,pIVar17,param_4); + cVar3 = (char)uVar7; + } + local_res8 = (undefined8 *)(local_78 + 8); + pIVar11 = (IMAGE_DOS_HEADER *)(local_78 + 8); + FUN_14008a320((longlong *)pIVar11); + if ((local_68 != (undefined8 *)0x0) && (local_60._4_4_ < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + goto switchD_1400c62f3_caseD_5; + case 0x26: + FUN_140074fb0((undefined4 *)local_78); + local_48 = Proud::AddrPort::vftable; + local_38 = 0; + local_50[0] = 0; + local_50[1] = 0; + local_40[0] = (word)DAT_14016f3d0; + local_40[1] = DAT_14016f3d0._2_2_; + local_3c = DAT_14016f3d4; + pIVar17 = (IMAGE_DOS_HEADER *)local_78; + pIVar15 = param_3; + uVar7 = FUN_140076fe0(*(longlong **)¶m_1[2].e_cparhdr,(uint *)param_3,(int *)pIVar17, + (ulonglong)param_4); + if ((char)uVar7 != '\0') { + local_38 = param_3->e_program[0]; + local_40 = *(word (*) [2])(param_3->e_res2_10_ + 8); + local_3c = (undefined2)param_3->e_lfanew; + local_50._0_4_ = *(undefined4 *)param_3->e_res2_10_; + pIVar17 = (IMAGE_DOS_HEADER *)local_78; + pIVar15 = local_res10; + uVar7 = FUN_1400c6270(param_1,local_res10,pIVar17,param_4); + cVar3 = (char)uVar7; + } + local_res8 = (undefined8 *)(local_78 + 8); + pIVar11 = (IMAGE_DOS_HEADER *)(local_78 + 8); + FUN_14008a320((longlong *)pIVar11); + if ((local_68 != (undefined8 *)0x0) && (local_60._4_4_ < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + goto switchD_1400c62f3_caseD_5; + case 0x27: + pIVar11 = param_1; + pIVar15 = local_res10; + pIVar17 = param_3; + FUN_1400c1cc0((longlong)param_1,(SIZE_T)local_res10,(longlong)param_3,param_4); + break; + case 0x28: + pIVar11 = param_1; + pIVar15 = param_3; + FUN_1400c0790((longlong)param_1,(uint *)param_3); + } + cVar3 = '\x01'; +switchD_1400c62f3_caseD_5: + if (*(longlong *)¶m_3->e_cparhdr == 0) { + lVar19._0_2_ = param_3->e_sp; + lVar19._2_2_ = param_3->e_csum; + lVar19._4_2_ = param_3->e_ip; + lVar19._6_2_ = param_3->e_cs; + if (lVar19 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(pIVar11,pIVar15,pIVar17,param_4); + } + uVar4._0_2_ = param_3->e_lfarlc; + uVar4._2_2_ = param_3->e_ovno; + } + else { + uVar4 = *(uint *)(*(longlong *)¶m_3->e_cparhdr + 0x18); + } + uVar14 = *(int *)param_3 >> 0x1f & 7; + uVar5 = (int)(*(int *)param_3 + uVar14) >> 3; + puVar12 = (undefined8 *)(ulonglong)uVar5; + if (cVar3 == '\x01') { + if (((uVar4 != uVar5) && (puVar12 = (undefined8 *)(ulonglong)local_res18, local_res18 != 0x24)) + && (local_res18 != 0x25)) { + FUN_14003e7c0((ulonglong)uVar4,(ulonglong)uVar14,pIVar17,param_4); + local_res8 = (undefined8 *)PTR_DAT_14016f010; + uVar10 = (ulonglong)local_res18; + pwVar18 = L"Proud::CNetClientWorker::ProcessMessage_ProudNetLayer"; + puVar16 = &DAT_140124018; + FUN_140029b80((longlong *)&local_res8,L"%s위치에서 MessageType:%d", + L"Proud::CNetClientWorker::ProcessMessage_ProudNetLayer",uVar10); + iVar6 = FUN_14004d230((longlong)param_3,puVar16,pwVar18,uVar10); + local_res20 = (undefined8 *)FUN_140074b70((longlong)param_3,puVar16,pwVar18,uVar10); + local_78._0_8_ = Proud::CFastArray::vftable; + local_78._8_2_ = 0; + local_78._10_2_ = 0; + local_78._12_2_ = 0; + local_78._14_2_ = 0; + local_68 = (undefined8 *)0x0; + local_60._0_2_ = 0; + local_60._2_2_ = 0; + local_60._4_2_ = 0; + local_60._6_2_ = 0; + local_58._0_2_ = 0; + local_58._2_2_ = 0; + local_58._4_2_ = 0; + local_58._6_2_ = 0; + if (iVar6 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + FUN_14002a050((longlong)local_78,iVar6,(SIZE_T)pwVar18); + puVar12 = local_68; + if ((int)local_60 == 0) { + puVar12 = (undefined8 *)0x0; + } + FUN_140006fb0(puVar12,local_res20,(longlong)iVar6); + local_78._0_8_ = Proud::ByteArray::vftable; + ppuVar20 = &local_res8; + plVar8 = FUN_140071c20((longlong *)&local_res20,0x1f,(ulonglong)*(uint *)param_3->e_res2_10_, + (longlong *)ppuVar20,(longlong)local_78); + lVar19 = **(longlong **)¶m_1[2].e_cparhdr; + (**(code **)(lVar19 + 0x80))(); + puVar13 = (undefined8 *)local_78; + FUN_140049e40(puVar13); + puVar12 = local_res8; + if (((local_res8 != (undefined8 *)0x0) && (local_res8 != (undefined8 *)PTR_DAT_14016f010)) && + (puVar1 = local_res8 + -1, puVar1 != (undefined8 *)0x0)) { + piVar9 = (int *)FUN_14003e7c0(puVar13,plVar8,lVar19,ppuVar20); + FUN_14003d040(piVar9); + piVar2 = (int *)((longlong)puVar12 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(puVar1); + } + puVar12 = (undefined8 *)FUN_14003d0d0((longlong)piVar9); + } + } + } + else if (cVar3 == '\0') { + uVar4 = (uint)local_res20; +LAB_1400c6860: + uVar10 = FUN_140074bb0((int *)param_3,(ulonglong)uVar4,pIVar17,param_4); + return uVar10 & 0xffffffffffffff00; + } + return CONCAT71((int7)((ulonglong)puVar12 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c6920.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c6920.c new file mode 100644 index 00000000..73e2661f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c6920.c @@ -0,0 +1,73 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c6920 FUN_1400c6920 + * Pseudocode, not original source. */ + +void FUN_1400c6920(IMAGE_DOS_HEADER *param_1,IMAGE_DOS_HEADER *param_2,undefined8 param_3, + undefined ***param_4) + +{ + longlong lVar1; + longlong lVar2; + longlong *plVar3; + longlong *plVar4; + undefined1 local_78 [56]; + word local_40 [2]; + undefined2 local_3c; + byte local_38; + + (**(code **)(*(longlong *)(*(longlong *)¶m_1[2].e_cparhdr + 0x78) + 0x10))(); + lVar1 = *(longlong *)¶m_1[2].e_cparhdr; + lVar2 = *(longlong *)(lVar1 + 0x6f8); + while( true ) { + if (lVar2 == 0) { + return; + } + lVar2 = *(longlong *)(lVar1 + 0x6e8); + if (lVar2 == 0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + FUN_140074fe0((undefined4 *)local_78,(undefined4 *)(lVar2 + 0x10)); + local_78._40_4_ = *(undefined4 *)(lVar2 + 0x38); + local_78._48_8_ = Proud::AddrPort::vftable; + local_40 = *(word (*) [2])(lVar2 + 0x48); + local_3c = *(undefined2 *)(lVar2 + 0x4c); + local_38 = *(byte *)(lVar2 + 0x50); + FUN_1400c6270(param_1,param_2,(IMAGE_DOS_HEADER *)local_78,param_4); + plVar3 = *(longlong **)(lVar1 + 0x6e8); + if (plVar3 == (longlong *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + lVar2 = *plVar3; + *(longlong *)(lVar1 + 0x6e8) = lVar2; + if (lVar2 == 0) { + *(undefined8 *)(lVar1 + 0x6f0) = 0; + } + else { + *(undefined8 *)(lVar2 + 8) = 0; + } + FUN_14008a320(plVar3 + 3); + if (plVar3[4] != 0) { + if (*(int *)((longlong)plVar3 + 0x2c) < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + *(undefined4 *)(plVar3 + 5) = 0; + } + plVar4 = *(longlong **)(lVar1 + 0x6e0); + if (plVar4 == (longlong *)0x0) { + FUN_14003e8b0(plVar3); + } + else { + (**(code **)(*plVar4 + 0x10))(plVar4,plVar3); + } + *(longlong *)(lVar1 + 0x6f8) = *(longlong *)(lVar1 + 0x6f8) + -1; + FUN_14008a320((longlong *)(local_78 + 8)); + if ((local_78._16_8_ != 0) && ((int)local_78._28_4_ < 0)) break; + lVar2 = *(longlong *)(lVar1 + 0x6f8); + } + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c6ad0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c6ad0.c new file mode 100644 index 00000000..efa6bd0a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c6ad0.c @@ -0,0 +1,183 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c6ad0 FUN_1400c6ad0 + * Pseudocode, not original source. */ + +void FUN_1400c6ad0(IMAGE_DOS_HEADER *param_1,IMAGE_DOS_HEADER *param_2,undefined **param_3, + undefined ***param_4) + +{ + undefined **ppuVar1; + int *piVar2; + longlong *plVar3; + longlong lVar4; + char cVar5; + IMAGE_DOS_HEADER *pIVar6; + undefined8 uVar7; + undefined **ppuVar8; + IMAGE_DOS_HEADER *pIVar9; + int *piVar10; + undefined ***pppuVar11; + int iVar12; + undefined **ppuVar13; + longlong lVar14; + uint local_res8 [2]; + undefined **local_res10; + longlong local_e8; + undefined **local_e0; + undefined4 local_d8; + undefined2 local_d4; + undefined **local_d0; + undefined8 local_c8; + longlong local_c0; + undefined8 local_b8; + undefined4 local_b0; + undefined4 local_ac; + undefined **local_a8; + undefined4 local_a0; + undefined2 local_9c; + undefined **local_98; + undefined4 local_90; + word local_8c; + undefined **local_88; + word local_80 [2]; + word local_7c; + undefined **local_78; + word local_70 [2]; + word local_6c; + int *local_68; + undefined1 local_60; + byte local_58 [32]; + + local_58[0] = 0xfe; + local_58[1] = 0xff; + local_58[2] = 0xff; + local_58[3] = 0xff; + local_58[4] = 0xff; + local_58[5] = 0xff; + local_58[6] = 0xff; + local_58[7] = 0xff; + pIVar6 = param_2; + ppuVar13 = param_3; + (**(code **)(*(longlong *)(*(longlong *)¶m_1[2].e_cparhdr + 0x78) + 0x10))(); + param_2[1].e_program[0] = 0; + if ((*(double *)(param_2[2].e_program + 8) == 0.0) && (0 < *(int *)(param_3 + 1))) { + lVar14 = (**(code **)(*(longlong *)(*(longlong *)¶m_1[2].e_cparhdr + 0x70) + 0x1c0))(); + plVar3 = (longlong *)(*(longlong *)¶m_1[2].e_cparhdr + 0x678); + *plVar3 = *plVar3 + 1; + lVar4 = *(longlong *)¶m_1[2].e_cparhdr; + plVar3 = (longlong *)(lVar4 + 0x680); + *plVar3 = *plVar3 + (longlong)*(int *)(param_3 + 1); + local_e0 = Proud::AddrPort::vftable; + pIVar9 = (IMAGE_DOS_HEADER *)0x0; + local_d8 = 0; + local_d4 = 0; + local_e8 = 0; + FUN_14003e7c0(lVar4,pIVar6,ppuVar13,param_4); + local_res10 = (undefined **)PTR_DAT_14016f010; + local_78 = Proud::AddrPort::vftable; + local_80 = *(word (*) [2])(param_3 + 6); + local_7c = *(word *)((longlong)param_3 + 0x34); + local_88 = Proud::AddrPort::vftable; + pIVar6 = pIVar9; + if (*(undefined8 **)(param_2 + 2) != (undefined8 *)0x0) { + pIVar6 = (IMAGE_DOS_HEADER *)**(undefined8 **)(param_2 + 2); + } + pppuVar11 = *(undefined ****)¶m_2[3].e_cparhdr; + local_70 = local_80; + local_6c = local_7c; + cVar5 = (**(code **)(**(longlong **)¶m_1[2].e_cparhdr + 0xe0)) + (*(longlong **)¶m_1[2].e_cparhdr,&local_78); + pIVar6 = (IMAGE_DOS_HEADER *)FUN_140043cd0((longlong)pIVar6); + param_4 = &local_88; + ppuVar13 = (undefined **)(ulonglong)*(uint *)(param_3 + 1); + uVar7 = FUN_14008f330(pppuVar11,(longlong)pIVar6,*(uint *)(param_3 + 1),(longlong)param_4,cVar5, + lVar14,&local_e8,(longlong *)&local_res10); + if ((int)uVar7 == 0) { + local_c8 = 0; + local_c0 = 0; + local_b8 = 0; + local_d0 = Proud::CReceivedMessageList::vftable; + local_b0 = 1000; + local_ac = 1; + local_a8 = Proud::AddrPort::vftable; + local_a0 = local_d8; + local_9c = local_d4; + ppuVar13 = (undefined **)(ulonglong)*(uint *)(local_e8 + 0x40); + pIVar6 = pIVar9; + if (*(uint *)(local_e8 + 0x40) != 0) { + pIVar6 = *(IMAGE_DOS_HEADER **)(local_e8 + 0x38); + } + param_4 = &local_a8; + pppuVar11 = *(undefined ****)¶m_1[2].e_cparhdr; + FUN_1400ab050(pppuVar11,(longlong)pIVar6,ppuVar13,(longlong)param_4,(uint *)&local_d0, + local_res8); + while (iVar12 = (int)pIVar9, iVar12 != (int)local_b8) { + if ((iVar12 < 0) || ((int)local_b8 <= iVar12)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(pppuVar11,pIVar6,ppuVar13,param_4); + } + pIVar6 = (IMAGE_DOS_HEADER *)(local_c0 + (longlong)iVar12 * 0x48); + lVar4 = *(longlong *)¶m_1[2].e_cparhdr; + param_4 = (undefined ***)0x0; + ppuVar13 = *(undefined ***)(lVar4 + 0x6f0); + ppuVar8 = (undefined **) + FUN_1400c2180((longlong *)(lVar4 + 0x6e0),(undefined4 *)pIVar6,ppuVar13,0); + pppuVar11 = *(undefined ****)(lVar4 + 0x6f0); + if (pppuVar11 == (undefined ***)0x0) { + *(undefined ***)(lVar4 + 0x6e8) = ppuVar8; + } + else { + *pppuVar11 = ppuVar8; + } + *(undefined ***)(lVar4 + 0x6f0) = ppuVar8; + if ((int)local_b8 <= iVar12) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(pppuVar11,pIVar6,ppuVar13,param_4); + } + pIVar9 = (IMAGE_DOS_HEADER *)(ulonglong)(iVar12 + 1); + } + if ((*(longlong *)(param_2[2].e_res_4_ + 2) != 0) || + (lVar4._0_2_ = param_1[2].e_cparhdr, lVar4._2_2_ = param_1[2].e_minalloc, + lVar4._4_2_ = param_1[2].e_maxalloc, lVar4._6_2_ = param_1[2].e_ss, + pIVar9 = (IMAGE_DOS_HEADER *)FUN_14009c0d0(lVar4), param_2 == pIVar9)) { + pIVar6 = param_2; + FUN_1400c6920(param_1,param_2,ppuVar13,param_4); + } + pppuVar11 = &local_d0; + FUN_14007e8f0(pppuVar11); + } + else if ((int)uVar7 == 2) { + ppuVar13 = local_res10; + if (local_res10 == (undefined **)0x0) { + ppuVar13 = (undefined **)PTR_DAT_14016f010; + } + local_98 = Proud::AddrPort::vftable; + local_90 = *(undefined4 *)(param_3 + 6); + local_8c = *(word *)((longlong)param_3 + 0x34); + pppuVar11 = (undefined ***)(*(longlong *)¶m_1[2].e_cparhdr + 0x88); + pIVar6 = (IMAGE_DOS_HEADER *)&local_98; + (*(code *)**pppuVar11)(); + } + ppuVar8 = local_res10; + if (((local_res10 != (undefined **)0x0) && (local_res10 != (undefined **)PTR_DAT_14016f010)) && + (ppuVar1 = local_res10 + -1, ppuVar1 != (undefined **)0x0)) { + piVar10 = (int *)FUN_14003e7c0(pppuVar11,pIVar6,ppuVar13,param_4); + local_68 = piVar10; + FUN_14003d040(piVar10); + local_60 = 1; + piVar2 = (int *)((longlong)ppuVar8 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(ppuVar1); + } + FUN_14003d0d0((longlong)piVar10); + } + local_res10 = (undefined **)PTR_DAT_14016f010; + if (local_e8 != 0) { + FUN_14007b390(local_e8,pIVar6,(SIZE_T)ppuVar13); + } + } + FUN_1400d2cc0((longlong)param_2,pIVar6,ppuVar13,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c6e30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c6e30.c new file mode 100644 index 00000000..c7ff0fd4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c6e30.c @@ -0,0 +1,115 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c6e30 FUN_1400c6e30 + * Pseudocode, not original source. */ + +ulonglong FUN_1400c6e30(IMAGE_DOS_HEADER *param_1,undefined8 param_2,undefined8 param_3, + undefined ***param_4) + +{ + longlong *plVar1; + longlong lVar2; + int *piVar3; + int *piVar4; + undefined8 *puVar5; + undefined8 uVar6; + ulonglong uVar7; + int local_b8; + int local_b4; + longlong local_b0; + longlong local_a8; + int local_a0; + int local_9c; + undefined1 local_98; + undefined4 local_90; + undefined **local_88; + undefined4 local_80; + undefined2 local_7c; + undefined1 local_78; + int *local_68; + undefined1 local_60; + undefined4 local_58 [2]; + longlong local_50; + longlong local_48; + int local_3c; + undefined8 local_30; + + local_30 = 0xfffffffffffffffe; + piVar3 = (int *)(**(code **)(**(longlong **)¶m_1[2].e_cparhdr + 0x58))(); + local_68 = piVar3; + FUN_14003d040(piVar3); + local_60 = 1; + if (*(longlong *)(*(longlong *)¶m_1[2].e_cparhdr + 0x1548) == 0) { + uVar7 = FUN_14003d0d0((longlong)piVar3); + uVar7 = uVar7 & 0xffffffffffffff00; + } + else { + FUN_140074fb0(&local_b8); + local_88 = Proud::AddrPort::vftable; + local_78 = 0; + local_80 = DAT_14016f3d0; + local_7c = DAT_14016f3d4; + local_90 = *(undefined4 *)(*(longlong *)¶m_1[2].e_cparhdr + 0x1578); + piVar4 = FUN_1400c3490((longlong *)(*(longlong *)¶m_1[2].e_cparhdr + 0x1530),local_58); + local_b8 = *piVar4; + local_b4 = piVar4[1]; + if (*(longlong *)(piVar4 + 2) == local_b0) { + local_9c = piVar4[7]; + local_a8 = *(longlong *)(piVar4 + 4); + local_a0 = piVar4[6]; + } + else { + FUN_14008a320(&local_b0); + if (*(longlong *)(piVar4 + 2) != 0) { + plVar1 = (longlong *)(*(longlong *)(piVar4 + 2) + 0x28); + *plVar1 = *plVar1 + 1; + local_b0 = *(longlong *)(piVar4 + 2); + } + } + local_98 = (undefined1)piVar4[8]; + FUN_14008a320(&local_50); + if ((local_48 != 0) && (local_3c < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + FUN_140074bb0(&local_b8,0,param_3,param_4); + lVar2 = *(longlong *)¶m_1[2].e_cparhdr; + uVar6 = *(undefined8 *)(lVar2 + 0x6f0); + if (*(longlong **)(lVar2 + 0x6e0) == (longlong *)0x0) { + puVar5 = (undefined8 *)FUN_14003e840(0x58); + } + else { + puVar5 = (undefined8 *)(**(code **)(**(longlong **)(lVar2 + 0x6e0) + 8))(); + } + if (puVar5 != (undefined8 *)0x0) { + FUN_140074fe0((undefined4 *)(puVar5 + 2),&local_b8); + *(undefined4 *)(puVar5 + 7) = local_90; + puVar5[8] = Proud::AddrPort::vftable; + *(undefined4 *)(puVar5 + 9) = local_80; + *(undefined2 *)((longlong)puVar5 + 0x4c) = local_7c; + *(undefined1 *)(puVar5 + 10) = local_78; + } + puVar5[1] = uVar6; + *puVar5 = 0; + *(longlong *)(lVar2 + 0x6f8) = *(longlong *)(lVar2 + 0x6f8) + 1; + if (*(undefined8 **)(lVar2 + 0x6f0) == (undefined8 *)0x0) { + *(undefined8 **)(lVar2 + 0x6e8) = puVar5; + } + else { + **(undefined8 **)(lVar2 + 0x6f0) = puVar5; + } + *(undefined8 **)(lVar2 + 0x6f0) = puVar5; + FUN_1400c6920(param_1,(IMAGE_DOS_HEADER *)0x0,param_3,param_4); + FUN_14008a320(&local_b0); + if (local_a8 != 0) { + if (local_9c < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_a0 = 0; + } + uVar6 = FUN_14003d0d0((longlong)piVar3); + uVar7 = CONCAT71((int7)((ulonglong)uVar6 >> 8),1); + } + return uVar7; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c7080.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c7080.c new file mode 100644 index 00000000..34f82e16 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c7080.c @@ -0,0 +1,377 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c7080 FUN_1400c7080 + * Pseudocode, not original source. */ + +void FUN_1400c7080(IMAGE_DOS_HEADER *param_1,longlong param_2,undefined **param_3, + undefined ***param_4) + +{ + undefined **ppuVar1; + longlong *plVar2; + int iVar3; + int iVar4; + int iVar5; + longlong lVar6; + longlong lVar7; + longlong *plVar8; + char cVar9; + uint uVar10; + uint uVar12; + longlong lVar13; + uint uVar11; + int *piVar14; + uint *puVar15; + int *piVar16; + undefined8 *puVar17; + longlong lVar18; + longlong *plVar19; + ulonglong uVar20; + undefined **ppuVar21; + longlong lVar22; + undefined ***pppuVar23; + int iVar24; + ulonglong uVar25; + uint uVar26; + undefined8 uVar27; + longlong **pplVar28; + uint uVar29; + undefined8 uVar30; + undefined8 uVar31; + undefined **local_res8; + undefined **local_res10; + longlong *local_res18; + undefined **local_50; + undefined8 local_48; + longlong local_40; + undefined8 local_38; + undefined4 local_30; + undefined4 local_2c; + + lVar22 = param_2; + (**(code **)(*(longlong *)(*(longlong *)¶m_1[2].e_cparhdr + 0x78) + 0x10))(); + lVar18._0_2_ = param_1[2].e_cparhdr; + lVar18._2_2_ = param_1[2].e_minalloc; + lVar18._4_2_ = param_1[2].e_maxalloc; + lVar18._6_2_ = param_1[2].e_ss; + lVar13 = FUN_14009c0f0(lVar18); + *(undefined1 *)(lVar13 + 0xc0) = 0; + if (*(int *)(param_2 + 8) < 1) { + FUN_14003e7c0(lVar18,lVar22,param_3,param_4); + local_res10 = (undefined **)PTR_DAT_14016f010; + FUN_140029b80((longlong *)&local_res10,L"compeltedlength < 0 recvcomplete errorcode:%d", + (ulonglong)*(uint *)(param_2 + 0xc),param_4); + param_4 = &local_res10; + lVar22 = 0xb; + param_3 = (undefined **)0x3; + plVar19 = *(longlong **)¶m_1[2].e_cparhdr; + FUN_1400b4a80(plVar19,0xb,(undefined *)0x3,(longlong **)param_4); + iVar24._0_1_ = param_1[2].e_magic[0]; + iVar24._1_1_ = param_1[2].e_magic[1]; + iVar24._2_2_ = param_1[2].e_cblp; + if (iVar24 < 4) { + param_1->e_program[0] = 0; + param_1->e_program[1] = 0; + param_1->e_program[2] = 0; + param_1->e_program[3] = 0; + param_1[2].e_magic[0] = '\x04'; + param_1[2].e_magic[1] = '\0'; + param_1[2].e_cblp = 0; + plVar19 = (longlong *)(*(longlong *)¶m_1[2].e_cparhdr + 0x70); + uVar30 = (**(code **)(*plVar19 + 0x1c0))(); + param_1[1].e_magic[0] = (char)uVar30; + param_1[1].e_magic[1] = (char)((ulonglong)uVar30 >> 8); + param_1[1].e_cblp = (short)((ulonglong)uVar30 >> 0x10); + param_1[1].e_cp = (short)((ulonglong)uVar30 >> 0x20); + param_1[1].e_crlc = (short)((ulonglong)uVar30 >> 0x30); + param_1[1].e_program[0] = 0; + } + ppuVar21 = local_res10; + if (((local_res10 != (undefined **)0x0) && (local_res10 != (undefined **)PTR_DAT_14016f010)) && + (ppuVar1 = local_res10 + -1, ppuVar1 != (undefined **)0x0)) { + piVar14 = (int *)FUN_14003e7c0(plVar19,lVar22,param_3,param_4); + FUN_14003d040(piVar14); + piVar16 = (int *)((longlong)ppuVar21 + -4); + *piVar16 = *piVar16 + -1; + if (*piVar16 == 0) { + FUN_14003e8b0(ppuVar1); + } + FUN_14003d0d0((longlong)piVar14); + } + local_res10 = (undefined **)PTR_DAT_14016f010; + goto LAB_1400c7597; + } + lVar13._0_2_ = param_1[2].e_cparhdr; + lVar13._2_2_ = param_1[2].e_minalloc; + lVar13._4_2_ = param_1[2].e_maxalloc; + lVar13._6_2_ = param_1[2].e_ss; + lVar18 = FUN_14009c0f0(lVar13); + uVar25 = 0; + uVar12 = 0; + uVar20 = uVar25; + if (*(ulonglong **)(lVar18 + 0x128) != (ulonglong *)0x0) { + uVar20 = **(ulonglong **)(lVar18 + 0x128); + } + cVar9 = FUN_140043cf0(uVar20); + uVar26 = 0; + if (cVar9 == '\0') { + uVar30 = (**(code **)(*(longlong *)(*(longlong *)¶m_1[2].e_cparhdr + 0x70) + 0x1c0))(); + *(undefined8 *)(*(longlong *)¶m_1[2].e_cparhdr + 0x18c0) = uVar30; + lVar22._0_2_ = param_1[2].e_cparhdr; + lVar22._2_2_ = param_1[2].e_minalloc; + lVar22._4_2_ = param_1[2].e_maxalloc; + lVar22._6_2_ = param_1[2].e_ss; + lVar18 = FUN_14009c0f0(lVar22); + uVar20 = uVar25; + if (*(ulonglong **)(lVar18 + 0x128) != (ulonglong *)0x0) { + uVar20 = **(ulonglong **)(lVar18 + 0x128); + } + puVar17 = (undefined8 *)FUN_140043cd0(uVar20); + lVar6._0_2_ = param_1[2].e_cparhdr; + lVar6._2_2_ = param_1[2].e_minalloc; + lVar6._4_2_ = param_1[2].e_maxalloc; + lVar6._6_2_ = param_1[2].e_ss; + lVar18 = FUN_14009c0f0(lVar6); + param_3 = (undefined **)(ulonglong)*(uint *)(param_2 + 8); + FUN_14009ab30((longlong *)(lVar18 + 0x130),puVar17,(SIZE_T)param_3); + plVar19 = (longlong *)(*(longlong *)¶m_1[2].e_cparhdr + 0x658); + *plVar19 = *plVar19 + (longlong)*(int *)(param_2 + 8); + local_48 = 0; + local_40 = 0; + local_38 = 0; + local_50 = Proud::CReceivedMessageList::vftable; + local_30 = 1000; + local_2c = 1; + pppuVar23 = &local_50; + plVar19 = *(longlong **)¶m_1[2].e_cparhdr; + FUN_1400ab500(plVar19,(longlong)pppuVar23,param_3,param_4); + while (iVar24 = (int)uVar25, iVar24 != (int)local_38) { + if ((iVar24 < 0) || ((int)local_38 <= iVar24)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(plVar19,pppuVar23,param_3,param_4); + } + pppuVar23 = (undefined ***)(local_40 + (longlong)iVar24 * 0x48); + lVar18 = *(longlong *)¶m_1[2].e_cparhdr; + param_4 = (undefined ***)0x0; + param_3 = *(undefined ***)(lVar18 + 0x6f0); + puVar17 = FUN_1400c2180((longlong *)(lVar18 + 0x6e0),(undefined4 *)pppuVar23,param_3,0); + plVar19 = *(longlong **)(lVar18 + 0x6f0); + if (plVar19 == (longlong *)0x0) { + *(undefined8 **)(lVar18 + 0x6e8) = puVar17; + } + else { + *plVar19 = (longlong)puVar17; + } + *(undefined8 **)(lVar18 + 0x6f0) = puVar17; + if ((int)local_38 <= iVar24) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(plVar19,pppuVar23,param_3,param_4); + } + uVar25 = (ulonglong)(iVar24 + 1); + } + lVar22 = 0; + FUN_1400c6920(param_1,(IMAGE_DOS_HEADER *)0x0,param_3,param_4); + FUN_14007e8f0(&local_50); + goto LAB_1400c7597; + } + iVar3._0_1_ = param_1[2].e_magic[0]; + iVar3._1_1_ = param_1[2].e_magic[1]; + iVar3._2_2_ = param_1[2].e_cblp; + if (3 < iVar3) goto LAB_1400c7597; + FUN_14003e7c0(uVar20,lVar22,param_3,param_4); + local_res8 = (undefined **)PTR_DAT_14016f010; + uVar10 = FUN_14003e620(L"close socket completion"); + if ((local_res8 != (undefined **)0x0) && + (uVar25 = 0, local_res8 != (undefined **)PTR_DAT_14016f010)) { + uVar25 = (ulonglong)*(uint *)(local_res8 + -1); + } + uVar11 = uVar10; + if ((((int)uVar10 <= (int)uVar25) && (uVar11 = uVar26, local_res8 != (undefined **)0x0)) && + (local_res8 != (undefined **)PTR_DAT_14016f010)) { + uVar11 = *(uint *)(local_res8 + -1); + } + uVar29 = 1; + if (1 < (int)uVar11) { + uVar29 = uVar11; + } + uVar11 = uVar26; + if ((local_res8 != (undefined **)0x0) && (local_res8 != (undefined **)PTR_DAT_14016f010)) { + uVar11 = *(uint *)(local_res8 + -1); + } + if ((int)uVar11 < (int)uVar29) { + if (local_res8 == (undefined **)0x0) { + local_res8 = (undefined **)PTR_DAT_14016f010; + } + if ((int)uVar29 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar29 == 0) { + FUN_140002190((longlong *)&local_res8,PTR_DAT_14016f010,uVar25,param_4); + } + else { + uVar11 = uVar26; + if ((local_res8 != (undefined **)0x0) && (local_res8 != (undefined **)PTR_DAT_14016f010)) { + uVar11 = *(uint *)(local_res8 + -1); + } + if (uVar29 != uVar11) { + puVar15 = (uint *)FUN_14003e840((longlong)(int)uVar29 * 2 + 10); + if (puVar15 != (uint *)0x0) { + *puVar15 = 0; + puVar15[1] = 1; + } + *puVar15 = uVar29; + uVar11 = uVar26; + if ((local_res8 != (undefined **)0x0) && (local_res8 != (undefined **)PTR_DAT_14016f010)) { + uVar11 = *(uint *)(local_res8 + -1); + } + ppuVar21 = (undefined **)PTR_DAT_14016f010; + if ((int)uVar29 < (int)uVar11) { +LAB_1400c72ec: + if (local_res8 != (undefined **)0x0) { + ppuVar21 = local_res8; + } + } + else { + uVar29 = uVar26; + if (local_res8 != (undefined **)0x0) { + if (local_res8 != (undefined **)PTR_DAT_14016f010) { + uVar29 = *(uint *)(local_res8 + -1); + } + goto LAB_1400c72ec; + } + } + uVar20 = (ulonglong)uVar29; + FUN_14003e650(puVar15 + 2,ppuVar21,uVar29); + FUN_140002190((longlong *)&local_res8,ppuVar21,uVar20,param_4); + local_res8 = (undefined **)(puVar15 + 2); + } + } + } + FUN_140001df0((longlong *)&local_res8); + ppuVar21 = local_res8; + if (local_res8 == (undefined **)0x0) { + ppuVar21 = (undefined **)PTR_DAT_14016f010; + } + FUN_14003e650(ppuVar21,L"close socket completion",uVar10); + ppuVar21 = local_res8; + if (local_res8 == (undefined **)0x0) { + ppuVar21 = (undefined **)PTR_DAT_14016f010; + } + uVar10 = FUN_14003e620((short *)ppuVar21); + uVar26 = uVar12; + if (0 < (int)uVar10) { + uVar26 = uVar10; + } + uVar10 = uVar12; + if ((local_res8 != (undefined **)0x0) && (local_res8 != (undefined **)PTR_DAT_14016f010)) { + uVar10 = *(uint *)(local_res8 + -1); + } + if (((int)uVar26 < (int)uVar10) || (uVar26 = uVar12, local_res8 == (undefined **)0x0)) { +LAB_1400c737f: + if (((local_res8 != (undefined **)PTR_DAT_14016f010) && (local_res8 != (undefined **)0x0)) && + (local_res8 + -1 != (undefined **)0x0)) { + *(uint *)(local_res8 + -1) = uVar26; + *(undefined2 *)((longlong)local_res8 + (longlong)(int)uVar26 * 2) = 0; + } + } + else if (local_res8 != (undefined **)PTR_DAT_14016f010) { + uVar26 = *(uint *)(local_res8 + -1); + goto LAB_1400c737f; + } + param_4 = &local_res8; + lVar22 = 0xb; + param_3 = (undefined **)0x3; + plVar19 = *(longlong **)¶m_1[2].e_cparhdr; + FUN_1400b4a80(plVar19,0xb,(undefined *)0x3,(longlong **)param_4); + ppuVar21 = local_res8; + if (((local_res8 != (undefined **)0x0) && (local_res8 != (undefined **)PTR_DAT_14016f010)) && + (ppuVar1 = local_res8 + -1, ppuVar1 != (undefined **)0x0)) { + piVar16 = (int *)FUN_14003e7c0(plVar19,lVar22,param_3,param_4); + FUN_14003d040(piVar16); + puVar15 = (uint *)((longlong)ppuVar21 + -4); + *puVar15 = *puVar15 - 1; + if (*puVar15 == 0) { + FUN_14003e8b0(ppuVar1); + } + FUN_14003d0d0((longlong)piVar16); + } + local_res8 = (undefined **)PTR_DAT_14016f010; + iVar4._0_1_ = param_1[2].e_magic[0]; + iVar4._1_1_ = param_1[2].e_magic[1]; + iVar4._2_2_ = param_1[2].e_cblp; + if (iVar4 < 4) { + param_1->e_program[0] = 0; + param_1->e_program[1] = 0; + param_1->e_program[2] = 0; + param_1->e_program[3] = 0; + param_1[2].e_magic[0] = '\x04'; + param_1[2].e_magic[1] = '\0'; + param_1[2].e_cblp = 0; + uVar30 = (**(code **)(*(longlong *)(*(longlong *)¶m_1[2].e_cparhdr + 0x70) + 0x1c0))(); + param_1[1].e_magic[0] = (char)uVar30; + param_1[1].e_magic[1] = (char)((ulonglong)uVar30 >> 8); + param_1[1].e_cblp = (short)((ulonglong)uVar30 >> 0x10); + param_1[1].e_cp = (short)((ulonglong)uVar30 >> 0x20); + param_1[1].e_crlc = (short)((ulonglong)uVar30 >> 0x30); + param_1[1].e_program[0] = 0; + } +LAB_1400c7597: + lVar18 = 0; + plVar19 = *(longlong **)(*(longlong *)¶m_1[2].e_cparhdr + 0x5d0); + if (plVar19 != (longlong *)0x0) { + lVar18 = *plVar19; + } + if (*(int *)(lVar18 + 0x100) < 4) { + lVar7._0_2_ = param_1[2].e_cparhdr; + lVar7._2_2_ = param_1[2].e_minalloc; + lVar7._4_2_ = param_1[2].e_maxalloc; + lVar7._6_2_ = param_1[2].e_ss; + lVar18 = FUN_14009c0f0(lVar7); + uVar12 = FUN_1400ce810(lVar18,lVar22,param_3,param_4); + if (uVar12 != 0) { + FUN_14003e7c0(lVar18,lVar22,param_3,param_4); + local_res18 = (longlong *)PTR_DAT_14016f010; + FUN_140029b80((longlong *)&local_res18,L"%d Tcp issueRecv Failed SocketErrorCode", + (ulonglong)uVar12,param_4); + pplVar28 = &local_res18; + uVar30 = 3; + uVar27 = 1; + plVar19 = *(longlong **)¶m_1[2].e_cparhdr; + FUN_1400b4a80(plVar19,3,(undefined *)0x1,pplVar28); + iVar5._0_1_ = param_1[2].e_magic[0]; + iVar5._1_1_ = param_1[2].e_magic[1]; + iVar5._2_2_ = param_1[2].e_cblp; + if (iVar5 < 4) { + param_1->e_program[0] = 0; + param_1->e_program[1] = 0; + param_1->e_program[2] = 0; + param_1->e_program[3] = 0; + param_1[2].e_magic[0] = '\x04'; + param_1[2].e_magic[1] = '\0'; + param_1[2].e_cblp = 0; + plVar19 = (longlong *)(*(longlong *)¶m_1[2].e_cparhdr + 0x70); + uVar31 = (**(code **)(*plVar19 + 0x1c0))(); + param_1[1].e_magic[0] = (char)uVar31; + param_1[1].e_magic[1] = (char)((ulonglong)uVar31 >> 8); + param_1[1].e_cblp = (short)((ulonglong)uVar31 >> 0x10); + param_1[1].e_cp = (short)((ulonglong)uVar31 >> 0x20); + param_1[1].e_crlc = (short)((ulonglong)uVar31 >> 0x30); + param_1[1].e_program[0] = 0; + } + plVar8 = local_res18; + if (((local_res18 != (longlong *)0x0) && (local_res18 != (longlong *)PTR_DAT_14016f010)) && + (plVar2 = local_res18 + -1, plVar2 != (longlong *)0x0)) { + piVar14 = (int *)FUN_14003e7c0(plVar19,uVar30,uVar27,pplVar28); + FUN_14003d040(piVar14); + piVar16 = (int *)((longlong)plVar8 + -4); + *piVar16 = *piVar16 + -1; + if (*piVar16 == 0) { + FUN_14003e8b0(plVar2); + } + FUN_14003d0d0((longlong)piVar14); + } + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c76c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c76c0.c new file mode 100644 index 00000000..e4a8cc9a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c76c0.c @@ -0,0 +1,57 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c76c0 FUN_1400c76c0 + * Pseudocode, not original source. */ + +void FUN_1400c76c0(IMAGE_DOS_HEADER *param_1,longlong *param_2,wchar_t *param_3,undefined ***param_4 + ) + +{ + int iVar1; + int iVar2; + longlong lVar3; + undefined8 uVar4; + double dVar5; + + FUN_1400ac8a0(*(longlong **)¶m_1[2].e_cparhdr,param_2,param_3,param_4); + FUN_1400c0aa0((longlong)param_1,param_2,param_3,(longlong **)param_4); + FUN_1400bfbd0((longlong)param_1,param_2,(undefined *)param_3,(undefined1 *)param_4); + do { + dVar5 = (double)(**(code **)(*(longlong *)(*(longlong *)¶m_1[2].e_cparhdr + 0x70) + 0x1c0)) + (*(longlong *)¶m_1[2].e_cparhdr + 0x70); + if ((0.0 < *(double *)(param_1[1].e_program + 0x10)) && + (dVar5 = dVar5 - *(double *)(param_1[1].e_program + 0x10), + *(double *)(param_1[1].e_program + 0x18) <= dVar5 && + dVar5 != *(double *)(param_1[1].e_program + 0x18))) { + iVar2._0_1_ = param_1[2].e_magic[0]; + iVar2._1_1_ = param_1[2].e_magic[1]; + iVar2._2_2_ = param_1[2].e_cblp; + if (iVar2 < 4) { + lVar3 = *(longlong *)¶m_1[2].e_cparhdr; + param_1->e_program[0] = 0; + param_1->e_program[1] = 0; + param_1->e_program[2] = 0; + param_1->e_program[3] = 0; + param_1[2].e_magic[0] = '\x04'; + param_1[2].e_magic[1] = '\0'; + param_1[2].e_cblp = 0; + uVar4 = (**(code **)(*(longlong *)(lVar3 + 0x70) + 0x1c0))(lVar3 + 0x70); + param_1[1].e_magic[0] = (char)uVar4; + param_1[1].e_magic[1] = (char)((ulonglong)uVar4 >> 8); + param_1[1].e_cblp = (short)((ulonglong)uVar4 >> 0x10); + param_1[1].e_cp = (short)((ulonglong)uVar4 >> 0x20); + param_1[1].e_crlc = (short)((ulonglong)uVar4 >> 0x30); + param_1[1].e_program[0] = 0; + } + return; + } + uVar4 = FUN_1400c6e30(param_1,param_2,param_3,param_4); + iVar1._0_1_ = param_1[2].e_magic[0]; + iVar1._1_1_ = param_1[2].e_magic[1]; + iVar1._2_2_ = param_1[2].e_cblp; + if (iVar1 == 4) { + return; + } + } while ((char)uVar4 != '\0'); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c7790.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c7790.c new file mode 100644 index 00000000..2aa6b1df --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c7790.c @@ -0,0 +1,63 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c7790 FUN_1400c7790 + * Pseudocode, not original source. */ + +undefined8 FUN_1400c7790(longlong param_1,undefined8 *param_2) + +{ + bool bVar1; + uint uVar2; + undefined *puVar3; + longlong lVar4; + undefined8 uVar5; + IMAGE_DOS_HEADER *pIVar6; + int *piVar7; + wchar_t *pwVar8; + int *piVar9; + TypeDescriptor *pTVar10; + ulonglong uVar11; + TypeDescriptor *pTVar12; + undefined *local_res18; + + pTVar12 = &Proud::CTcpLayer_C::RTTI_Type_Descriptor; + pTVar10 = &Proud::ICompletionContext::RTTI_Type_Descriptor; + uVar5 = 0; + puVar3 = (undefined *)__RTDynamicCast(*param_2); + if (puVar3 == (undefined *)0x0) { + uVar5 = 0; + } + else { + piVar9 = (int *)(param_1 + 0x10); + local_res18 = puVar3; + FUN_14003d040(piVar9); + bVar1 = true; + if (*(int *)(param_2 + 2) == 1) { + lVar4 = (**(code **)(**(longlong **)(puVar3 + 0x120) + 0x38))(); + uVar5 = FUN_1400c1230(lVar4,(ulonglong)param_2,pTVar10,pTVar12); + } + else if (*(int *)(param_2 + 2) == 2) { + pIVar6 = (IMAGE_DOS_HEADER *)(**(code **)(**(longlong **)(puVar3 + 0x120) + 0x38))(); + uVar5 = FUN_1400c7080(pIVar6,(longlong)param_2,&pTVar10->pVFTable,&pTVar12->pVFTable); + } + else { + piVar7 = piVar9; + FUN_14003d0d0((longlong)piVar9); + bVar1 = false; + FUN_14003e7c0(piVar7,uVar5,pTVar10,pTVar12); + local_res18 = PTR_DAT_14016f010; + uVar2 = FUN_14003e620(L"Unexpected at Client IOCP TCP completion!"); + puVar3 = FUN_140001ee0((longlong *)&local_res18,uVar2); + uVar11 = (ulonglong)uVar2; + pwVar8 = L"Unexpected at Client IOCP TCP completion!"; + FUN_14003e650(puVar3,L"Unexpected at Client IOCP TCP completion!",uVar2); + FUN_140001fc0((longlong *)&local_res18); + uVar5 = FUN_1400416f0((longlong *)&local_res18,pwVar8,uVar11,pTVar12); + } + if (bVar1) { + uVar5 = FUN_14003d0d0((longlong)piVar9); + } + uVar5 = CONCAT71((int7)((ulonglong)uVar5 >> 8),1); + } + return uVar5; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c78f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c78f0.c new file mode 100644 index 00000000..a2e05d00 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c78f0.c @@ -0,0 +1,72 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c78f0 FUN_1400c78f0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400c78f0(longlong param_1,undefined **param_2) + +{ + longlong *plVar1; + undefined8 *puVar2; + bool bVar3; + uint uVar4; + IMAGE_DOS_HEADER *pIVar5; + undefined8 uVar6; + undefined *puVar7; + int *piVar8; + wchar_t *pwVar9; + IMAGE_DOS_HEADER *pIVar10; + TypeDescriptor *pTVar11; + ulonglong uVar12; + TypeDescriptor *pTVar13; + int *piVar14; + IMAGE_DOS_HEADER *local_res18 [2]; + + pIVar10 = (IMAGE_DOS_HEADER *)0x0; + pTVar13 = &Proud::CUdpSocket_C::RTTI_Type_Descriptor; + pTVar11 = &Proud::ICompletionContext::RTTI_Type_Descriptor; + uVar6 = 0; + pIVar5 = (IMAGE_DOS_HEADER *)__RTDynamicCast(*param_2); + if (pIVar5 == (IMAGE_DOS_HEADER *)0x0) { + uVar6 = 0; + } + else { + piVar14 = (int *)(param_1 + 0x10); + local_res18[0] = pIVar5; + FUN_14003d040(piVar14); + bVar3 = true; + if (*(int *)(param_2 + 2) == 1) { + plVar1 = *(longlong **)(*(longlong *)&pIVar5[2].e_lfarlc + 0x5d0); + if (plVar1 != (longlong *)0x0) { + pIVar10 = (IMAGE_DOS_HEADER *)*plVar1; + } + uVar6 = FUN_1400bf490((longlong)pIVar10,(longlong)pIVar5,(longlong)param_2,pTVar13); + } + else if (*(int *)(param_2 + 2) == 2) { + puVar2 = *(undefined8 **)(*(longlong *)&pIVar5[2].e_lfarlc + 0x5d0); + if (puVar2 != (undefined8 *)0x0) { + pIVar10 = (IMAGE_DOS_HEADER *)*puVar2; + } + uVar6 = FUN_1400c6ad0(pIVar10,pIVar5,param_2,&pTVar13->pVFTable); + } + else { + piVar8 = piVar14; + FUN_14003d0d0((longlong)piVar14); + bVar3 = false; + FUN_14003e7c0(piVar8,uVar6,pTVar11,pTVar13); + local_res18[0] = (IMAGE_DOS_HEADER *)PTR_DAT_14016f010; + uVar4 = FUN_14003e620(L"Unexpected at Client IOCP UDP completion!"); + puVar7 = FUN_140001ee0((longlong *)local_res18,uVar4); + uVar12 = (ulonglong)uVar4; + pwVar9 = L"Unexpected at Client IOCP UDP completion!"; + FUN_14003e650(puVar7,L"Unexpected at Client IOCP UDP completion!",uVar4); + FUN_140001fc0((longlong *)local_res18); + uVar6 = FUN_1400416f0((longlong *)local_res18,pwVar9,uVar12,pTVar13); + } + if (bVar3) { + uVar6 = FUN_14003d0d0((longlong)piVar14); + } + uVar6 = CONCAT71((int7)((ulonglong)uVar6 >> 8),1); + } + return uVar6; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c7a70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c7a70.c new file mode 100644 index 00000000..19f7bb83 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c7a70.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c7a70 FUN_1400c7a70 + * Pseudocode, not original source. */ + +void FUN_1400c7a70(IMAGE_DOS_HEADER *param_1,longlong *param_2,wchar_t *param_3,undefined ***param_4 + ) + +{ + int *piVar1; + + piVar1 = (int *)(**(code **)(**(longlong **)¶m_1[2].e_cparhdr + 0x58))(); + FUN_14003d040(piVar1); + FUN_1400c76c0(param_1,param_2,param_3,param_4); + FUN_14003d0d0((longlong)piVar1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c7ad0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c7ad0.c new file mode 100644 index 00000000..9769bac5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c7ad0.c @@ -0,0 +1,54 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c7ad0 FUN_1400c7ad0 + * Pseudocode, not original source. */ + +void FUN_1400c7ad0(longlong param_1,uint param_2,undefined8 param_3,undefined8 param_4) + +{ + uint uVar1; + undefined8 uVar2; + undefined *puVar3; + undefined **ppuVar4; + wchar_t *pwVar5; + ulonglong uVar6; + undefined *local_res8 [4]; + undefined *local_48; + undefined8 local_40; + undefined4 local_38; + undefined8 local_30; + undefined4 local_28; + undefined **local_20; + undefined4 local_18; + undefined2 local_14; + + local_20 = Proud::AddrPort::vftable; + uVar6 = (ulonglong)param_2; + local_48 = (undefined *)0x0; + local_30 = 0; + local_40 = 0; + local_28 = 0; + local_18 = DAT_14016f3d0; + local_14 = DAT_14016f3d4; + local_38 = 5; + uVar2 = FUN_140046e80(*(char **)(param_1 + 0x2b8),(longlong *)&local_48,uVar6,param_4); + if ((char)uVar2 != '\0') { + uVar2 = FUN_1400c7790(param_1,&local_48); + if ((char)uVar2 == '\0') { + ppuVar4 = &local_48; + uVar2 = FUN_1400c78f0(param_1,ppuVar4); + if ((char)uVar2 == '\0') { + FUN_14003e7c0(param_1,ppuVar4,uVar6,param_4); + local_res8[0] = PTR_DAT_14016f010; + uVar1 = FUN_14003e620(L"Unexpected at Client IOCP completion!"); + puVar3 = FUN_140001ee0((longlong *)local_res8,uVar1); + pwVar5 = L"Unexpected at Client IOCP completion!"; + uVar6 = (ulonglong)uVar1; + FUN_14003e650(puVar3,L"Unexpected at Client IOCP completion!",uVar1); + FUN_140001fc0((longlong *)local_res8); + FUN_1400416f0((longlong *)local_res8,pwVar5,uVar6,param_4); + } + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c7bb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c7bb0.c new file mode 100644 index 00000000..c79c50f4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c7bb0.c @@ -0,0 +1,55 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c7bb0 FUN_1400c7bb0 + * Pseudocode, not original source. */ + +void FUN_1400c7bb0(IMAGE_DOS_HEADER *param_1,undefined8 param_2,undefined **param_3, + undefined ***param_4) + +{ + uint uVar1; + longlong lVar2; + ulonglong uVar3; + double dVar4; + + uVar1 = *(uint *)(param_1 + 2); + uVar3 = (ulonglong)uVar1; + if (uVar1 == 0) { + FUN_1400c4580((longlong)param_1,0,(undefined *)param_3,param_4); + } + else { + uVar3 = (ulonglong)(uVar1 - 1); + if (uVar1 - 1 == 0) { + FUN_1400c0450((longlong)param_1,0,(uint *)param_3,param_4); + } + else { + uVar3 = (ulonglong)(uVar1 - 2); + if (uVar1 - 2 == 0) { + FUN_1400bf6d0((longlong)param_1,0,param_3,param_4); + } + else { + uVar3 = (ulonglong)(uVar1 - 3); + if (uVar1 - 3 == 0) { + FUN_1400c7a70(param_1,(longlong *)0x0,(wchar_t *)param_3,param_4); + } + else { + uVar3 = (ulonglong)(uVar1 - 4); + if (uVar1 - 4 == 0) { + FUN_1400c1500((longlong)param_1,0,(SIZE_T)param_3,(undefined *)param_4); + } + } + } + } + } + FUN_14009dd00(*(longlong **)¶m_1[2].e_cparhdr,uVar3,(SIZE_T)param_3,(undefined *)param_4); + lVar2._0_2_ = param_1[2].e_cparhdr; + lVar2._2_2_ = param_1[2].e_minalloc; + lVar2._4_2_ = param_1[2].e_maxalloc; + lVar2._6_2_ = param_1[2].e_ss; + dVar4 = (double)FUN_14009bf00(lVar2); + FUN_14009a980((double *)(*(longlong *)¶m_1[2].e_cparhdr + 0x1878),dVar4); + if ((char)(*(longlong **)¶m_1[2].e_cparhdr)[0x311] != '\0') { + FUN_14009e230(*(longlong **)¶m_1[2].e_cparhdr,uVar3,param_3,param_4); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c7c40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c7c40.c new file mode 100644 index 00000000..3c99120a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c7c40.c @@ -0,0 +1,82 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c7c40 FUN_1400c7c40 + * Pseudocode, not original source. */ + +void FUN_1400c7c40(longlong param_1,IMAGE_DOS_HEADER *param_2,undefined **param_3, + undefined ***param_4) + +{ + int iVar1; + int iVar2; + longlong lVar3; + longlong *plVar4; + undefined8 *puVar5; + IMAGE_DOS_HEADER *pIVar6; + IMAGE_DOS_HEADER *pIVar7; + undefined8 uVar8; + + FUN_14003d040((int *)(param_1 + 0x10)); + if (*(IMAGE_DOS_HEADER **)(param_1 + 0x298) != (IMAGE_DOS_HEADER *)0x0) { + pIVar6 = *(IMAGE_DOS_HEADER **)(param_1 + 0x298); + do { + if (*(longlong *)(param_1 + 0x2b8) == 0) { + iVar1._0_1_ = pIVar6[2].e_magic[0]; + iVar1._1_1_ = pIVar6[2].e_magic[1]; + iVar1._2_2_ = pIVar6[2].e_cblp; + if (iVar1 < 5) { + pIVar6->e_program[0] = 0; + pIVar6->e_program[1] = 0; + pIVar6->e_program[2] = 0; + pIVar6->e_program[3] = 0; + pIVar6[2].e_magic[0] = '\x05'; + pIVar6[2].e_magic[1] = '\0'; + pIVar6[2].e_cblp = 0; + uVar8 = (**(code **)(*(longlong *)(*(longlong *)&pIVar6[2].e_cparhdr + 0x70) + 0x1c0))(); + pIVar6[1].e_magic[0] = (char)uVar8; + pIVar6[1].e_magic[1] = (char)((ulonglong)uVar8 >> 8); + pIVar6[1].e_cblp = (short)((ulonglong)uVar8 >> 0x10); + pIVar6[1].e_cp = (short)((ulonglong)uVar8 >> 0x20); + pIVar6[1].e_crlc = (short)((ulonglong)uVar8 >> 0x30); + pIVar6[1].e_program[0] = 0; + } + } + else { + FUN_1400c7bb0(pIVar6,param_2,param_3,param_4); + } + iVar2._0_1_ = pIVar6[2].e_magic[0]; + iVar2._1_1_ = pIVar6[2].e_magic[1]; + iVar2._2_2_ = pIVar6[2].e_cblp; + if (iVar2 == 5) { + pIVar7 = *(IMAGE_DOS_HEADER **)&pIVar6->e_cparhdr; + param_2 = pIVar6; + FUN_1400c1f90(param_1,(longlong *)pIVar6,(ulonglong)param_3,param_4); + lVar3 = *(longlong *)&pIVar6[2].e_cparhdr; + if (*(longlong *)(lVar3 + 0x5d0) != 0) { + *(longlong *)(*(longlong *)(lVar3 + 0x5d0) + 8) = + *(longlong *)(*(longlong *)(lVar3 + 0x5d0) + 8) + -1; + puVar5 = (undefined8 *)0x0; + if (*(longlong *)(*(longlong *)(lVar3 + 0x5d0) + 8) == 0) { + puVar5 = *(undefined8 **)(lVar3 + 0x5d0); + } + *(undefined8 *)(lVar3 + 0x5d0) = 0; + if (puVar5 != (undefined8 *)0x0) { + plVar4 = (longlong *)*puVar5; + if (plVar4 != (longlong *)0x0) { + FUN_1400c0900(plVar4,param_2,(ulonglong)param_3,(ulonglong)param_4); + operator_delete(plVar4); + } + FUN_14003e8b0(puVar5); + } + } + } + else { + pIVar7 = *(IMAGE_DOS_HEADER **)&pIVar6->e_cparhdr; + } + pIVar6 = pIVar7; + } while (pIVar7 != (IMAGE_DOS_HEADER *)0x0); + } + FUN_1400c4d40(param_1); + FUN_14003d0d0(param_1 + 0x10); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c7db0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c7db0.c new file mode 100644 index 00000000..9b0a8695 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c7db0.c @@ -0,0 +1,53 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c7db0 FUN_1400c7db0 + * Pseudocode, not original source. */ + +void FUN_1400c7db0(longlong param_1,undefined8 param_2,undefined **param_3,uint ******param_4) + +{ + char cVar1; + DWORD DVar2; + HANDLE hThread; + IMAGE_DOS_HEADER *pIVar3; + double dVar4; + + DVar2 = GetCurrentThreadId(); + FUN_140046070(DVar2,"PNCliWorker"); + DVar2 = GetCurrentThreadId(); + *(DWORD *)(param_1 + 0x284) = DVar2; + if (DAT_14016f147 != '\0') { + hThread = GetCurrentThread(); + SetThreadPriority(hThread,1); + } + *(undefined1 *)(param_1 + 0x28c) = 0; + cVar1 = *(char *)(param_1 + 0x80); + while( true ) { + if (cVar1 != '\0') { + *(undefined1 *)(param_1 + 0x28c) = 1; + return; + } + if (DAT_140176450 != '\0') break; + pIVar3 = (IMAGE_DOS_HEADER *)(ulonglong)DAT_14016f074; + FUN_1400c7ad0(param_1,DAT_14016f074,param_3,param_4); + if (*(char *)(param_1 + 0x280) != '\0') { + *(undefined1 *)(param_1 + 0x280) = 0; + FUN_14003d040((int *)(param_1 + 0x88)); + dVar4 = FUN_140048960((char *)(param_1 + 0x48)); + *(double *)(param_1 + 0xc0) = dVar4; + dVar4 = FUN_1400489c0((char *)(param_1 + 0x48)); + *(double *)(param_1 + 0x100) = dVar4; + *(double *)(param_1 + 0x180) = + (*(double *)(param_1 + 0x100) - *(double *)(param_1 + 0x180)) * 0.3 + + *(double *)(param_1 + 0x180); + *(undefined1 *)(param_1 + 0x1c0) = 1; + FUN_14003d0d0(param_1 + 0x88); + FUN_1400c7c40(param_1,pIVar3,param_3,(undefined ***)param_4); + if (*(uint ********)(param_1 + 0x2b0) != (uint *******)0x0) { + FUN_1400ce6b0(*(uint ********)(param_1 + 0x2b0),(uint ****)pIVar3,param_3,param_4); + } + } + cVar1 = *(char *)(param_1 + 0x80); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c7f30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c7f30.c new file mode 100644 index 00000000..b5e920ae --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c7f30.c @@ -0,0 +1,121 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c7f30 FUN_1400c7f30 + * Pseudocode, not original source. */ + +undefined8 * +FUN_1400c7f30(undefined8 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 *puVar1; + UINT uDelay; + undefined8 *puVar2; + MMRESULT MVar3; + ulonglong uVar4; + longlong *plVar5; + undefined8 *puVar6; + undefined8 **ppuVar7; + longlong *plVar8; + undefined8 uVar9; + undefined8 *puVar10; + double dVar11; + undefined8 *local_res10; + char *local_res18; + + *param_1 = Proud::CNetClientManager::vftable; + param_1[1] = Proud::CNetClientManager::vftable; + uVar4 = FUN_140094860(); + uVar9 = CONCAT71((int7)((ulonglong)param_3 >> 8),1); + FUN_14003cf60((undefined4 *)(param_1 + 2),uVar4 & 0xffffffff,uVar9,param_4); + FUN_140048880((undefined2 *)(param_1 + 9)); + plVar8 = (longlong *)0x0; + param_1[0xf] = 0; + uVar4 = FUN_140094860(); + uVar9 = CONCAT71((int7)((ulonglong)uVar9 >> 8),1); + FUN_14003cf60((undefined4 *)(param_1 + 0x11),uVar4 & 0xffffffff,uVar9,param_4); + uVar4 = FUN_140094860(); + uVar4 = uVar4 & 0xffffffff; + puVar6 = param_1 + 0x39; + uVar9 = CONCAT71((int7)((ulonglong)uVar9 >> 8),1); + FUN_14003cf60((undefined4 *)puVar6,uVar4,uVar9,param_4); + param_1[0x41] = 0; + param_1[0x44] = 0; + param_1[0x42] = 0; + param_1[0x43] = 0; + param_1[0x45] = 0; + param_1[0x48] = 0; + param_1[0x46] = 0; + param_1[0x47] = 0; + param_1[0x52] = 0; + param_1[0x53] = 0; + param_1[0x54] = 0; + *(undefined4 *)(param_1 + 0x55) = 0; + param_1[0x56] = 0; + param_1[0x57] = 0; + FUN_1400bf8b0(puVar6,uVar4,uVar9,param_4); + *(undefined1 *)(param_1 + 0x38) = 0; + FUN_1400488d0((char *)(param_1 + 9)); + dVar11 = FUN_140048960((char *)(param_1 + 9)); + param_1[0x18] = dVar11; + param_1[0x20] = 0; + param_1[0x30] = 0; + *(undefined1 *)(param_1 + 0x38) = 1; + param_1[0x4a] = 0; + param_1[0x4b] = 0; + param_1[0x40] = 0; + param_1[0x49] = 0; + local_res18 = operator_new(0xa8); + plVar5 = plVar8; + if (local_res18 != (char *)0x0) { + plVar5 = (longlong *) + FUN_140047bb0(local_res18,param_1,CONCAT71((int7)((ulonglong)uVar9 >> 8),1),param_4); + } + param_1[0x57] = plVar5; + *(undefined1 *)(param_1 + 0x10) = 0; + puVar6 = param_1 + 0x50; + *(undefined1 *)puVar6 = 0; + *(undefined8 *)((longlong)param_1 + 0x284) = 0; + param_1[0xe] = 0; + uDelay = 1; + if (1 < DAT_14016f074) { + uDelay = DAT_14016f074; + } + puVar10 = (undefined8 *)&LAB_1400bf1d0; + MVar3 = timeSetEvent(uDelay,uDelay,&LAB_1400bf1d0,(DWORD_PTR)puVar6,1); + *(MMRESULT *)(param_1 + 0x4c) = MVar3; + local_res10 = operator_new(0x28); + plVar5 = plVar8; + if (local_res10 != (undefined8 *)0x0) { + puVar10 = param_1; + plVar5 = FUN_140045b20(local_res10,&LAB_1400c7f20,param_1); + } + if (plVar5 == (longlong *)0x0) { + local_res10 = (undefined8 *)0x0; + } + else { + local_res10 = (undefined8 *)FUN_14003e840(0x10); + local_res10[1] = 1; + *local_res10 = plVar5; + } + puVar1 = local_res10; + ppuVar7 = &local_res10; + FUN_14007b440(param_1 + 0xf,(longlong *)ppuVar7); + puVar2 = local_res10; + if (puVar1 != (undefined8 *)0x0) { + plVar5 = puVar1 + 1; + *plVar5 = *plVar5 + -1; + if (*plVar5 == 0) { + puVar1 = (undefined8 *)*local_res10; + if (puVar1 != (undefined8 *)0x0) { + FUN_140045c30(puVar1); + operator_delete(puVar1); + } + FUN_14003e8b0(puVar2); + } + } + if ((undefined8 *)param_1[0xf] != (undefined8 *)0x0) { + plVar8 = *(longlong **)param_1[0xf]; + } + FUN_140045d20(plVar8,ppuVar7,puVar10,puVar6); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c81b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c81b0.c new file mode 100644 index 00000000..aa037e63 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c81b0.c @@ -0,0 +1,32 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c81b0 FUN_1400c81b0 + * Pseudocode, not original source. */ + +longlong * FUN_1400c81b0(longlong *param_1,longlong param_2) + +{ + longlong lVar1; + + *(undefined4 *)(param_1 + 1) = 0; + *(undefined4 *)((longlong)param_1 + 0xc) = 0; + *(undefined4 *)(param_1 + 2) = 0; + *(undefined4 *)((longlong)param_1 + 0x14) = 0; + param_1[0x19] = (longlong)Proud::AddrPort::vftable; + *(undefined4 *)(param_1 + 0x1a) = 0; + *(undefined2 *)((longlong)param_1 + 0xd4) = 0; + param_1[0x18] = 0; + *(undefined1 *)(param_1 + 8) = 0; + *(undefined4 *)(param_1 + 0x1a) = DAT_14016f3d0; + *(undefined2 *)((longlong)param_1 + 0xd4) = DAT_14016f3d4; + *param_1 = param_2; + param_1[0x20] = DAT_14016f078; + *(undefined4 *)(param_1 + 0x28) = 0; + *(undefined1 *)(param_1 + 0x10) = 0; + param_1[0x18] = 0; + *(undefined4 *)(param_1 + 0x38) = 0; + param_1[0x40] = -0x4010000000000000; + lVar1 = (**(code **)(*(longlong *)(param_2 + 0x70) + 0x1c0))(param_2 + 0x70); + param_1[0x30] = lVar1; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c8280.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c8280.c new file mode 100644 index 00000000..e7250535 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c8280.c @@ -0,0 +1,23 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c8280 FUN_1400c8280 + * Pseudocode, not original source. */ + +void FUN_1400c8280(longlong *param_1,char param_2) + +{ + longlong lVar1; + + if ((char)param_1[0x10] != param_2) { + *(char *)(param_1 + 0x10) = param_2; + lVar1 = (**(code **)(*(longlong *)(*param_1 + 0x70) + 0x1c0))(*param_1 + 0x70); + param_1[0x30] = lVar1; + *(undefined4 *)(param_1 + 0x38) = 0; + param_1[0x40] = -0x4010000000000000; + if (param_2 != '\0') { + lVar1 = (**(code **)(*(longlong *)(*param_1 + 0x70) + 0x1c0))(*param_1 + 0x70); + param_1[0x18] = lVar1; + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c8300.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c8300.c new file mode 100644 index 00000000..9fc5e4ee --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c8300.c @@ -0,0 +1,49 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c8300 FUN_1400c8300 + * Pseudocode, not original source. */ + +void FUN_1400c8300(longlong *param_1,ulonglong param_2,longlong param_3,undefined8 *param_4) + +{ + longlong *plVar1; + char cVar2; + undefined1 uVar3; + ushort uVar4; + longlong lVar5; + undefined8 *puVar6; + double dVar7; + undefined **local_38; + undefined4 local_30; + undefined2 local_2c; + SIZE_T local_28; + undefined1 local_20; + + puVar6 = param_4; + (**(code **)(*(longlong *)(*param_1 + 0x78) + 0x10))(*param_1 + 0x78); + if ((char)param_1[0x10] != '\0') { + lVar5 = FUN_14009c0d0(*param_1); + cVar2 = (**(code **)(*(longlong *)(lVar5 + 0x40) + 0x10))(lVar5 + 0x40); + if (cVar2 == '\0') { + if (*(char *)(param_4 + 3) == '\0') { + *(int *)(*param_1 + 0x508) = *(int *)(*param_1 + 0x508) + 1; + } + local_38 = Proud::AddrPort::vftable; + local_30 = (undefined4)param_1[0x1a]; + local_2c = *(undefined2 *)((longlong)param_1 + 0xd4); + plVar1 = (longlong *)*param_1; + dVar7 = (double)(**(code **)(plVar1[0xe] + 0x1c0))(); + uVar3 = (**(code **)(*plVar1 + 0x30))(plVar1); + uVar4 = FUN_14008be40(uVar3,1); + lVar5 = FUN_14009c0d0(*param_1); + FUN_1400d3030(lVar5,param_2 & 0xffffffff,(ulonglong)uVar4,(longlong)&local_38,param_3,dVar7, + param_4); + return; + } + } + local_28 = param_4[1]; + local_20 = *(undefined1 *)(param_4 + 2); + lVar5 = FUN_14009c0f0(*param_1); + FUN_1400ceb20(lVar5,param_3,&local_28,puVar6); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c8450.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c8450.c new file mode 100644 index 00000000..67eceea6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c8450.c @@ -0,0 +1,25 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c8450 FUN_1400c8450 + * Pseudocode, not original source. */ + +undefined8 FUN_1400c8450(int param_1) + +{ + if (param_1 == 0) { + return 0x15; + } + if (param_1 == 1) { + return 0x46; + } + if (param_1 == 2) { + return 0x50; + } + if (param_1 != 3) { + if (param_1 != 7) { + return 0; + } + return 0x438; + } + return 0x1bb; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c8490.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c8490.c new file mode 100644 index 00000000..fd34adec --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c8490.c @@ -0,0 +1,91 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c8490 FUN_1400c8490 + * Pseudocode, not original source. */ + +int FUN_1400c8490(char *param_1,char *param_2,int *param_3,uint param_4) + +{ + byte bVar1; + char cVar2; + short sVar3; + short sVar4; + int iVar5; + uint uVar6; + + if (param_1 == (char *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + if (param_2 == (char *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + cVar2 = *param_1; + uVar6 = 0; + iVar5 = 1; + if (cVar2 != '\0') { + do { + if (uVar6 == param_4) { + iVar5 = 0; + } + else if (iVar5 != 0) { + if (cVar2 == '%') { + if ((param_1[1] != '\0') && (param_1[2] != '\0')) { + bVar1 = param_1[1]; + if ((byte)(bVar1 - 0x30) < 10) { + sVar4 = bVar1 - 0x30; + } + else if ((byte)(bVar1 + 0xbf) < 6) { + sVar4 = bVar1 - 0x37; + } + else if ((byte)(bVar1 + 0x9f) < 6) { + sVar4 = bVar1 - 0x57; + } + else { + sVar4 = -1; + } + bVar1 = param_1[2]; + param_1 = param_1 + 2; + if ((byte)(bVar1 - 0x30) < 10) { + sVar3 = bVar1 - 0x30; + } + else if ((byte)(bVar1 + 0xbf) < 6) { + sVar3 = bVar1 - 0x37; + } + else if ((byte)(bVar1 + 0x9f) < 6) { + sVar3 = bVar1 - 0x57; + } + else { + sVar3 = -1; + } + if ((-1 < sVar4) && (-1 < sVar3)) { + *param_2 = (char)sVar4 * '\x10' + (char)sVar3; + goto LAB_1400c85a1; + } + } + iVar5 = 0; + goto LAB_1400c85c4; + } + *param_2 = cVar2; +LAB_1400c85a1: + param_2 = param_2 + 1; + } + cVar2 = param_1[1]; + param_1 = param_1 + 1; + uVar6 = uVar6 + 1; + } while (cVar2 != '\0'); + if (iVar5 == 0) goto LAB_1400c85c4; + } + if (uVar6 < param_4) { + *param_2 = '\0'; + } +LAB_1400c85c4: + if (param_3 != (int *)0x0) { + *param_3 = uVar6 + 1; + } + if (param_4 < uVar6 + 1) { + iVar5 = 0; + } + return iVar5; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c8600.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c8600.c new file mode 100644 index 00000000..190fb7c0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c8600.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c8600 FUN_1400c8600 + * Pseudocode, not original source. */ + +undefined8 FUN_1400c8600(longlong param_1,wchar_t *param_2) + +{ + errno_t eVar1; + size_t sVar2; + + sVar2 = wcsnlen(param_2,0x101); + if (0x100 < (uint)sVar2) { + return 0; + } + eVar1 = wcsncpy_s((wchar_t *)(param_1 + 0x42),0x101,param_2,sVar2 & 0xffffffff); + if (eVar1 != 0) { + if (eVar1 == 0xc) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x8007000e); + } + if ((eVar1 == 0x16) || (eVar1 == 0x22)) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80070057); + } + if (eVar1 != 0x50) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + } + *(uint *)(param_1 + 0x2458) = (uint)sVar2; + return 1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c86b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c86b0.c new file mode 100644 index 00000000..59b97d8f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c86b0.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c86b0 FUN_1400c86b0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400c86b0(longlong param_1,wchar_t *param_2) + +{ + errno_t eVar1; + size_t sVar2; + + sVar2 = wcsnlen(param_2,0x81); + if (0x80 < (uint)sVar2) { + return 0; + } + eVar1 = wcsncpy_s((wchar_t *)(param_1 + 0x244),0x81,param_2,sVar2 & 0xffffffff); + if (eVar1 != 0) { + if (eVar1 == 0xc) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x8007000e); + } + if ((eVar1 == 0x16) || (eVar1 == 0x22)) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80070057); + } + if (eVar1 != 0x50) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + } + *(uint *)(param_1 + 0x245c) = (uint)sVar2; + return 1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c8760.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c8760.c new file mode 100644 index 00000000..2b91fc9b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c8760.c @@ -0,0 +1,40 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c8760 FUN_1400c8760 + * Pseudocode, not original source. */ + +undefined8 FUN_1400c8760(longlong param_1,wchar_t *param_2) + +{ + errno_t eVar1; + size_t sVar2; + + if (param_2 == (wchar_t *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + if ((*param_2 != L'\0') && (*(short *)(param_1 + 0x244) == 0)) { + return 0; + } + sVar2 = wcsnlen(param_2,0x81); + if (0x80 < (uint)sVar2) { + return 0; + } + eVar1 = wcsncpy_s((wchar_t *)(param_1 + 0x346),0x81,param_2,sVar2 & 0xffffffff); + if (eVar1 != 0) { + if (eVar1 == 0xc) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x8007000e); + } + if ((eVar1 == 0x16) || (eVar1 == 0x22)) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80070057); + } + if (eVar1 != 0x50) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + } + *(uint *)(param_1 + 0x2460) = (uint)sVar2; + return 1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c8840.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c8840.c new file mode 100644 index 00000000..adabd0d4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c8840.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c8840 FUN_1400c8840 + * Pseudocode, not original source. */ + +undefined8 FUN_1400c8840(longlong param_1,wchar_t *param_2) + +{ + errno_t eVar1; + size_t sVar2; + + sVar2 = wcsnlen(param_2,0x801); + if (0x800 < (uint)sVar2) { + return 0; + } + eVar1 = wcsncpy_s((wchar_t *)(param_1 + 0x144a),0x801,param_2,sVar2 & 0xffffffff); + if (eVar1 != 0) { + if (eVar1 == 0xc) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x8007000e); + } + if ((eVar1 == 0x16) || (eVar1 == 0x22)) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80070057); + } + if (eVar1 != 0x50) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + } + *(uint *)(param_1 + 0x2468) = (uint)sVar2; + return 1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c88f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c88f0.c new file mode 100644 index 00000000..8aa4eee7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c88f0.c @@ -0,0 +1,54 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c88f0 FUN_1400c88f0 + * Pseudocode, not original source. */ + +int FUN_1400c88f0(longlong param_1,int param_2) + +{ + uint uVar1; + int iVar2; + uint uVar3; + int iVar4; + + iVar4 = *(int *)(param_1 + 0x24); + if (iVar4 == 0) { + iVar2 = (int)(*(int *)(param_1 + 0x18) + (*(int *)(param_1 + 0x18) >> 0x1f & 7U)) >> 3; + iVar4 = 0x400; + if (iVar2 < 0x400) { + iVar4 = iVar2; + } + iVar2 = 4; + if (4 < iVar4) { + iVar2 = iVar4; + } + iVar4 = iVar2 + param_2; + if (iVar2 + param_2 < *(int *)(param_1 + 0x20)) { + iVar4 = *(int *)(param_1 + 0x20); + } + return iVar4; + } + if (iVar4 != 1) { + if (iVar4 != 2) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (param_2 < *(int *)(param_1 + 0x20)) { + param_2 = *(int *)(param_1 + 0x20); + } + return param_2; + } + uVar1 = (int)(*(int *)(param_1 + 0x18) + (*(int *)(param_1 + 0x18) >> 0x1f & 7U)) >> 3; + uVar3 = 0x10; + if (0x10 < (int)uVar1) { + uVar3 = uVar1; + } + if (uVar3 < 0x41) { + uVar3 = 0x40; + } + iVar4 = uVar3 + param_2; + if ((int)(uVar3 + param_2) < *(int *)(param_1 + 0x20)) { + iVar4 = *(int *)(param_1 + 0x20); + } + return iVar4; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c8990.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c8990.c new file mode 100644 index 00000000..cfbbf7ca --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c8990.c @@ -0,0 +1,76 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c8990 FUN_1400c8990 + * Pseudocode, not original source. */ + +undefined8 FUN_1400c8990(wchar_t *param_1,wchar_t *param_2) + +{ + wchar_t wVar1; + int iVar2; + errno_t eVar3; + undefined8 uVar4; + longlong lVar5; + undefined **ppuVar6; + uint uVar7; + wchar_t *pwVar8; + + if (param_2 == (wchar_t *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + ppuVar6 = &PTR_DAT_140107160; + uVar7 = 0; + do { + if ((wchar_t *)*ppuVar6 != (wchar_t *)0x0) { + iVar2 = _wcsicmp(param_2,(wchar_t *)*ppuVar6); + if (iVar2 == 0) { + if (uVar7 != 0xffffffff) { + *(uint *)(param_1 + 0x1228) = uVar7; + *(undefined4 *)(param_1 + 0x122a) = + *(undefined4 *)(&DAT_140107168 + (longlong)(int)uVar7 * 0x10); + param_1[0x1226] = *(wchar_t *)(&DAT_14010716c + (longlong)(int)uVar7 * 0x10); + goto LAB_1400c8a24; + } + break; + } + } + uVar7 = uVar7 + 1; + ppuVar6 = ppuVar6 + 2; + } while (uVar7 < 8); + lVar5 = -1; + uVar4 = 0; + param_1[0x1228] = L'\xffff'; + param_1[0x1229] = L'\xffff'; + pwVar8 = param_2; + do { + if (lVar5 == 0) break; + lVar5 = lVar5 + -1; + wVar1 = *pwVar8; + pwVar8 = pwVar8 + 1; + } while (wVar1 != L'\0'); + uVar7 = ~(uint)lVar5 - 1; + *(uint *)(param_1 + 0x122a) = uVar7; + if (uVar7 < 0x21) { + param_1[0x1226] = L'\0'; +LAB_1400c8a24: + eVar3 = wcsncpy_s(param_1,0x21,param_2,(ulonglong)*(uint *)(param_1 + 0x122a)); + if (eVar3 != 0) { + if (eVar3 == 0xc) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x8007000e); + } + if ((eVar3 == 0x16) || (eVar3 == 0x22)) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80070057); + } + if (eVar3 != 0x50) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + } + param_1[*(uint *)(param_1 + 0x122a)] = L'\0'; + uVar4 = 1; + } + return uVar4; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c8ad0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c8ad0.c new file mode 100644 index 00000000..0933d942 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c8ad0.c @@ -0,0 +1,20 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c8ad0 FUN_1400c8ad0 + * Pseudocode, not original source. */ + +void FUN_1400c8ad0(undefined8 *param_1) + +{ + *param_1 = Proud::CFastArray::vftable; + if ((LPVOID)param_1[2] != (LPVOID)0x0) { + if ((longlong *)param_1[1] != (longlong *)0x0) { + /* WARNING: Could not recover jumptable at 0x0001400c8af7. Too many branches */ + /* WARNING: Treating indirect jump as call */ + (**(code **)(*(longlong *)param_1[1] + 0x18))(); + return; + } + FUN_14003e8b0((LPVOID)param_1[2]); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c8b10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c8b10.c new file mode 100644 index 00000000..72405565 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c8b10.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c8b10 FUN_1400c8b10 + * Pseudocode, not original source. */ + +undefined8 * FUN_1400c8b10(undefined8 *param_1,uint param_2) + +{ + *param_1 = Proud::CFastArray::vftable; + if ((LPVOID)param_1[2] != (LPVOID)0x0) { + if ((longlong *)param_1[1] == (longlong *)0x0) { + FUN_14003e8b0((LPVOID)param_1[2]); + } + else { + (**(code **)(*(longlong *)param_1[1] + 0x18))(); + } + } + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c8b70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c8b70.c new file mode 100644 index 00000000..ec43f262 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c8b70.c @@ -0,0 +1,79 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c8b70 FUN_1400c8b70 + * Pseudocode, not original source. */ + +void FUN_1400c8b70(longlong param_1,int param_2,undefined8 param_3,longlong param_4) + +{ + longlong *plVar1; + LPVOID pvVar2; + int iVar3; + undefined8 uVar4; + undefined1 *puVar5; + undefined1 *puVar6; + int iVar7; + SIZE_T SVar8; + longlong lVar9; + exception local_58 [80]; + + if (param_2 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (param_2 != *(int *)(param_1 + 0x18)) { + if (*(int *)(param_1 + 0x1c) < param_2) { + iVar3 = FUN_1400c88f0(param_1,param_2); + plVar1 = *(longlong **)(param_1 + 8); + SVar8 = (SIZE_T)iVar3; + if (*(int *)(param_1 + 0x1c) == 0) { + if (plVar1 == (longlong *)0x0) { + uVar4 = FUN_14003e840(SVar8); + *(undefined8 *)(param_1 + 0x10) = uVar4; + } + else { + uVar4 = (**(code **)(*plVar1 + 8))(plVar1,SVar8); + *(undefined8 *)(param_1 + 0x10) = uVar4; + } + } + else { + pvVar2 = *(LPVOID *)(param_1 + 0x10); + if (plVar1 == (longlong *)0x0) { + puVar5 = (undefined1 *)FUN_14003e840(SVar8); + } + else { + puVar5 = (undefined1 *)(**(code **)(*plVar1 + 8))(); + } + lVar9 = (longlong)*(int *)(param_1 + 0x18); + iVar7 = 0; + if (0 < lVar9) { + param_4 = (longlong)pvVar2 - (longlong)puVar5; + puVar6 = puVar5; + do { + if (puVar6 != (undefined1 *)0x0) { + *puVar6 = puVar6[param_4]; + } + iVar7 = iVar7 + 1; + puVar6 = puVar6 + 1; + } while (iVar7 < lVar9); + } + if (puVar5 == (undefined1 *)0x0) { + FUN_14003db10(local_58,L"Memory allocation failure!",lVar9,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + plVar1 = *(longlong **)(param_1 + 8); + if (plVar1 == (longlong *)0x0) { + FUN_14003e8b0(pvVar2); + } + else { + (**(code **)(*plVar1 + 0x18))(plVar1,pvVar2); + } + *(undefined1 **)(param_1 + 0x10) = puVar5; + } + *(int *)(param_1 + 0x1c) = iVar3; + } + *(int *)(param_1 + 0x18) = param_2; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c8cb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c8cb0.c new file mode 100644 index 00000000..a34bd965 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c8cb0.c @@ -0,0 +1,53 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c8cb0 FUN_1400c8cb0 + * Pseudocode, not original source. */ + +void FUN_1400c8cb0(char *param_1) + +{ + longlong lVar1; + longlong lVar2; + longlong lVar3; + ulonglong uVar4; + exception local_58 [88]; + + if (*param_1 != '\0') { + uVar4 = 0; + if ((*(longlong *)(param_1 + 0x20) != 0) && (*(longlong *)(param_1 + 8) == 0)) { + FUN_14003db10(local_58,L"CFastMap consistency error #0!",param_1,0); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + lVar1 = *(longlong *)(param_1 + 0x10); + lVar3 = lVar1; + while (lVar3 != 0) { + lVar2 = *(longlong *)(lVar3 + 0x10); + if ((lVar2 != 0) && (*(longlong *)(lVar2 + 0x18) != lVar3)) { + FUN_14003db10(local_58,L"CFastMap consistency error #1!",param_1,uVar4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + if ((lVar3 == lVar1) && (*(longlong *)(lVar3 + 0x18) != 0)) { + FUN_14003db10(local_58,L"CFastMap consistency error #2!",param_1,uVar4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + if ((lVar3 == *(longlong *)(param_1 + 0x18)) && (lVar2 != 0)) { + FUN_14003db10(local_58,L"CFastMap consistency error #3!",param_1,uVar4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + uVar4 = (ulonglong)((int)uVar4 + 1); + lVar3 = lVar2; + } + if ((int)uVar4 != *(int *)(param_1 + 0x20)) { + for (; lVar1 != 0; lVar1 = *(longlong *)(lVar1 + 0x10)) { + } + FUN_14003db10(local_58,L"CFastMap consistency error #4!",param_1,uVar4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_58,(ThrowInfo *)&DAT_14016c210); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c8de0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c8de0.c new file mode 100644 index 00000000..cb265d57 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c8de0.c @@ -0,0 +1,133 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c8de0 FUN_1400c8de0 + * Pseudocode, not original source. */ + +void FUN_1400c8de0(char *param_1,uint param_2) + +{ + ulonglong uVar1; + undefined8 uVar2; + ulonglong uVar3; + ulonglong uVar4; + void *_Dst; + longlong lVar5; + longlong lVar6; + ulonglong uVar7; + ulonglong uVar8; + int iVar9; + ulonglong uVar10; + ulonglong uVar11; + float fVar12; + float fVar13; + + if (param_2 == 0) { + param_2 = FUN_14009b970((longlong)param_1,*(longlong *)(param_1 + 0x20)); + } + if (param_2 != *(uint *)(param_1 + 0x28)) { + if (*(longlong *)(param_1 + 8) == 0) { + lVar5 = 0; + *(uint *)(param_1 + 0x28) = param_2; + fVar13 = (float)param_2 * *(float *)(param_1 + 0x34); + if ((9.223372e+18 < fVar13) && (fVar13 = fVar13 - 9.223372e+18, fVar13 < 9.223372e+18)) { + lVar5 = -0x8000000000000000; + } + fVar12 = (float)param_2 * *(float *)(param_1 + 0x30); + lVar6 = 0; + *(longlong *)(param_1 + 0x38) = (longlong)fVar13 + lVar5; + if ((9.223372e+18 < fVar12) && (fVar12 = fVar12 - 9.223372e+18, fVar12 < 9.223372e+18)) { + lVar6 = -0x8000000000000000; + } + *(longlong *)(param_1 + 0x40) = (longlong)fVar12 + lVar6; + if ((ulonglong)((longlong)fVar12 + lVar6) < 0x11) { + param_1[0x40] = '\0'; + param_1[0x41] = '\0'; + param_1[0x42] = '\0'; + param_1[0x43] = '\0'; + param_1[0x44] = '\0'; + param_1[0x45] = '\0'; + param_1[0x46] = '\0'; + param_1[0x47] = '\0'; + return; + } + } + else { + _Dst = (void *)FUN_14003e840((ulonglong)param_2 << 3); + if (_Dst == (void *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x8007000e); + } + memset(_Dst,0,(ulonglong)param_2 << 3); + uVar7 = 0; + uVar4 = *(ulonglong *)(param_1 + 0x10); + uVar10 = uVar7; + uVar11 = uVar7; + while (uVar4 != 0) { + uVar1 = *(ulonglong *)(uVar4 + 0x10); + uVar3 = (ulonglong)*(uint *)(uVar4 + 0x20) % (ulonglong)param_2; + lVar5 = *(longlong *)((longlong)_Dst + uVar3 * 8); + iVar9 = (int)uVar10; + if (iVar9 == 0) { + *(undefined8 *)(uVar4 + 0x18) = 0; + *(undefined8 *)(uVar4 + 0x10) = 0; + uVar10 = 1; + uVar7 = uVar4; + uVar11 = uVar4; + } + else if (lVar5 == 0) { + *(undefined8 *)(uVar4 + 0x18) = 0; + *(ulonglong *)(uVar4 + 0x10) = uVar7; + if (uVar7 != 0) { + *(ulonglong *)(uVar7 + 0x18) = uVar4; + } + uVar10 = (ulonglong)(iVar9 + 1); + uVar7 = uVar4; + } + else { + uVar8 = uVar4; + if (*(longlong *)(lVar5 + 0x18) != 0) { + *(ulonglong *)(*(longlong *)(lVar5 + 0x18) + 0x10) = uVar4; + uVar8 = uVar7; + } + uVar2 = *(undefined8 *)(lVar5 + 0x18); + *(longlong *)(uVar4 + 0x10) = lVar5; + uVar10 = (ulonglong)(iVar9 + 1); + *(undefined8 *)(uVar4 + 0x18) = uVar2; + *(ulonglong *)(lVar5 + 0x18) = uVar4; + uVar7 = uVar8; + } + *(ulonglong *)((longlong)_Dst + uVar3 * 8) = uVar4; + uVar4 = uVar1; + } + FUN_14003e8b0(*(LPVOID *)(param_1 + 8)); + *(void **)(param_1 + 8) = _Dst; + *(uint *)(param_1 + 0x28) = param_2; + *(ulonglong *)(param_1 + 0x10) = uVar7; + *(ulonglong *)(param_1 + 0x18) = uVar11; + FUN_1400c8cb0(param_1); + lVar5 = 0; + fVar13 = (float)*(uint *)(param_1 + 0x28) * *(float *)(param_1 + 0x34); + if ((9.223372e+18 < fVar13) && (fVar13 = fVar13 - 9.223372e+18, fVar13 < 9.223372e+18)) { + lVar5 = -0x8000000000000000; + } + fVar12 = (float)*(uint *)(param_1 + 0x28) * *(float *)(param_1 + 0x30); + lVar6 = 0; + *(longlong *)(param_1 + 0x38) = (longlong)fVar13 + lVar5; + if ((9.223372e+18 < fVar12) && (fVar12 = fVar12 - 9.223372e+18, fVar12 < 9.223372e+18)) { + lVar6 = -0x8000000000000000; + } + *(longlong *)(param_1 + 0x40) = (longlong)fVar12 + lVar6; + if ((ulonglong)((longlong)fVar12 + lVar6) < 0x11) { + param_1[0x40] = '\0'; + param_1[0x41] = '\0'; + param_1[0x42] = '\0'; + param_1[0x43] = '\0'; + param_1[0x44] = '\0'; + param_1[0x45] = '\0'; + param_1[0x46] = '\0'; + param_1[0x47] = '\0'; + } + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c9030.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c9030.c new file mode 100644 index 00000000..5fa5d93f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c9030.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c9030 FUN_1400c9030 + * Pseudocode, not original source. */ + +longlong FUN_1400c9030(undefined8 param_1,longlong param_2) + +{ + uint uVar1; + undefined4 extraout_var; + uint7 uVar2; + longlong lVar3; + int iVar4; + undefined *puVar5; + + lVar3 = 0; + puVar5 = *(undefined **)(param_2 + 0x2488); + iVar4 = 0; + if ((puVar5 != (undefined *)0x0) && (puVar5 != PTR_DAT_14016f008)) { + iVar4 = *(int *)(puVar5 + -8); + } + *(undefined1 *)(param_2 + 0x24c0) = 1; + puVar5 = *(undefined **)(param_2 + 0x2488); + if (*(undefined **)(param_2 + 0x2488) == (undefined *)0x0) { + puVar5 = PTR_DAT_14016f008; + } + if (*(longlong **)(param_2 + 0x2480) != (longlong *)0x0) { + lVar3 = **(longlong **)(param_2 + 0x2480); + } + uVar1 = FUN_140044bb0(lVar3,(undefined8 *)(puVar5 + *(int *)(param_2 + 0x2504)), + (undefined **)(ulonglong)((iVar4 - *(int *)(param_2 + 0x2504)) + 1),puVar5); + uVar2 = (uint7)(CONCAT44(extraout_var,uVar1) >> 8); + if (uVar1 != 0) { + *(undefined1 *)(param_2 + 0x24c0) = 0; + return (ulonglong)uVar2 << 8; + } + return CONCAT71(uVar2,1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c90b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c90b0.c new file mode 100644 index 00000000..0936cc91 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c90b0.c @@ -0,0 +1,35 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c90b0 FUN_1400c90b0 + * Pseudocode, not original source. */ + +void FUN_1400c90b0(longlong param_1,longlong param_2,undefined8 param_3,longlong param_4) + +{ + undefined1 *puVar1; + int iVar2; + longlong lVar3; + longlong lVar4; + int iVar5; + + iVar5 = (int)param_3; + if (-1 < iVar5) { + if (iVar5 != 0) { + iVar2 = *(int *)(param_1 + 0x18); + FUN_1400c8b70(param_1,iVar2 + iVar5,param_3,param_4); + lVar4 = 0; + if (0 < iVar5) { + do { + lVar3 = FUN_140074a30(param_1); + puVar1 = (undefined1 *)(lVar4 + param_2); + lVar3 = lVar3 + lVar4; + lVar4 = lVar4 + 1; + *(undefined1 *)(lVar3 + iVar2) = *puVar1; + } while (lVar4 < iVar5); + } + } + return; + } + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c9130.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c9130.c new file mode 100644 index 00000000..b3f6a839 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c9130.c @@ -0,0 +1,106 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c9130 FUN_1400c9130 + * Pseudocode, not original source. */ + +/* WARNING: Function: __chkstk replaced with injection: alloca_probe */ +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +int FUN_1400c9130(LPCWSTR param_1,wchar_t *param_2,uint *param_3,uint param_4) + +{ + WCHAR WVar1; + char *_Memory; + char *_Memory_00; + int iVar2; + int iVar3; + char *pcVar4; + char *pcVar5; + ulonglong uVar6; + uint uVar7; + LPCWSTR pWVar8; + undefined1 auStack_1208 [32]; + uint local_11e8 [2]; + char *local_11e0; + wchar_t *local_11d8; + char *local_11d0; + uint *local_11c8; + undefined8 local_11c0; + wchar_t *local_11b8; + wchar_t local_11b0 [132]; + char local_10a8 [2096]; + char local_878 [2096]; + ulonglong local_48; + undefined8 uStack_40; + + uStack_40 = 0x1400c9146; + local_11c0 = 0xfffffffffffffffe; + local_48 = DAT_14016f5a0 ^ (ulonglong)auStack_1208; + iVar3 = 0; + local_11d8 = param_2; + local_11c8 = param_3; + if (param_1 == (LPCWSTR)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + if (param_2 == (wchar_t *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + uVar6 = 0xffffffffffffffff; + pWVar8 = param_1; + do { + if (uVar6 == 0) break; + uVar6 = uVar6 - 1; + WVar1 = *pWVar8; + pWVar8 = pWVar8 + 1; + } while (WVar1 != L'\0'); + local_11e0 = (char *)(~uVar6 - 1); + iVar2 = FUN_14003f390(param_1,(int)local_11e0,(LPSTR)0x0,0); + if (iVar2 != 0) { + uVar7 = iVar2 + 1; + local_11d0 = (char *)0x0; + pcVar4 = local_10a8; + if ((int)uVar7 < 1) { + free((void *)0x0); + iVar3 = 0; + } + else if ((uVar7 < 0x825) || + (pcVar4 = malloc((longlong)(int)uVar7), local_11d0 = pcVar4, pcVar4 != (char *)0x0)) { + _Memory_00 = local_11d0; + iVar3 = FUN_14003f390(param_1,(int)local_11e0,pcVar4,uVar7); + pcVar4[iVar3] = '\0'; + pcVar5 = local_878; + local_11e0 = (char *)0x0; + if ((param_4 < 0x825) || + (pcVar5 = malloc((ulonglong)param_4), local_11e0 = pcVar5, pcVar5 != (char *)0x0)) { + _Memory = local_11e0; + local_11e8[0] = 0; + iVar3 = FUN_1400c8490(pcVar4,pcVar5,(int *)local_11e8,param_4); + if (iVar3 != 0) { + local_11b8 = local_11b0; + FUN_140005110((longlong *)&local_11b8,pcVar5,3); + FUN_140011580(local_11d8,(ulonglong)param_4,local_11b8,(ulonglong)local_11e8[0]); + if (local_11b8 != local_11b0) { + free(local_11b8); + } + } + if (param_3 != (uint *)0x0) { + *param_3 = local_11e8[0]; + } + free(_Memory); + free(_Memory_00); + } + else { + free((void *)0x0); + free(_Memory_00); + iVar3 = 0; + } + } + else { + free((void *)0x0); + iVar3 = 0; + } + } + return iVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c9360.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c9360.c new file mode 100644 index 00000000..e246115a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c9360.c @@ -0,0 +1,24 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c9360 FUN_1400c9360 + * Pseudocode, not original source. */ + +longlong * FUN_1400c9360(longlong param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong *plVar1; + + if (*(longlong *)(param_1 + 0x20) == 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + plVar1 = *(longlong **)(param_1 + 0x10); + if (plVar1 == (longlong *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + FUN_14003e7c0(param_1,param_2,param_3,param_4); + *param_2 = (longlong)PTR_DAT_14016f010; + FUN_1400020c0(param_2,plVar1,param_3,param_4); + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c93c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c93c0.c new file mode 100644 index 00000000..9917d0b9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c93c0.c @@ -0,0 +1,24 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c93c0 FUN_1400c93c0 + * Pseudocode, not original source. */ + +void FUN_1400c93c0(longlong *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong *plVar1; + undefined8 *puVar2; + + if ((param_1[1] != 0) && + (*(longlong *)(param_1[1] + 8) = *(longlong *)(param_1[1] + 8) + -1, + *(longlong *)(param_1[1] + 8) == 0)) { + plVar1 = (longlong *)param_1[1]; + puVar2 = (undefined8 *)*plVar1; + if (puVar2 != (undefined8 *)0x0) { + (**(code **)*puVar2)(puVar2,1,param_3,param_4,0xfffffffffffffffe); + } + FUN_14003e8b0(plVar1); + } + FUN_140006e80(param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c9440.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c9440.c new file mode 100644 index 00000000..f5a8169f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c9440.c @@ -0,0 +1,232 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c9440 FUN_1400c9440 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +undefined8 FUN_1400c9440(wchar_t *param_1,wchar_t *param_2) + +{ + bool bVar1; + bool bVar2; + wchar_t *pwVar3; + wchar_t wVar4; + int iVar5; + longlong lVar6; + undefined8 uVar7; + ulonglong uVar8; + wchar_t *pwVar9; + ulonglong uVar10; + ulonglong uVar11; + undefined1 auStack_188 [32]; + int local_168; + int local_164; + wchar_t *local_160; + undefined8 local_158; + wchar_t local_148 [136]; + ulonglong local_38; + + local_158 = 0xfffffffffffffffe; + local_38 = DAT_14016f5a0 ^ (ulonglong)auStack_188; + if (param_2 == (wchar_t *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + bVar2 = false; + bVar1 = false; + local_164 = 0; + local_168 = 0; + lVar6 = (**(code **)(PTR_PTR_14016f508 + 0x18))(&PTR_PTR_14016f508); + local_160 = (wchar_t *)(lVar6 + 0x18); + if ((int)(*(int *)(lVar6 + 0xc) - 0x82aU | 1U - *(int *)(lVar6 + 0x10)) < 0) { + FUN_140011520((longlong *)&local_160,0x82a); + } + pwVar3 = local_160; + uVar8 = 0; + wVar4 = *param_2; + pwVar9 = local_160; + uVar11 = uVar8; + if (wVar4 != L'\0') { +LAB_1400c9502: + uVar10 = 0; + if (0x828 < uVar8) goto LAB_1400c989c; + if (wVar4 == L':') { + if ((int)uVar11 == 0) { + *pwVar9 = L'\0'; + if (bVar2) { + if ((!bVar1) || (local_168 == 0)) { + *pwVar9 = L'\0'; + pwVar9 = local_148; + param_2 = param_2 + 1; + wVar4 = *param_2; + uVar8 = uVar10; + while (((wVar4 != L'/' && (wVar4 != L'@')) && (wVar4 != L'\0'))) { + if (0x7f < (int)uVar8) goto LAB_1400c989c; + *pwVar9 = wVar4; + pwVar9 = pwVar9 + 1; + uVar8 = (ulonglong)((int)uVar8 + 1); + param_2 = param_2 + 1; + wVar4 = *param_2; + } + *pwVar9 = L'\0'; + uVar8 = uVar10; + if ((local_168 == 0) && ((wVar4 == L'/' || (wVar4 == L'\0')))) { + uVar7 = FUN_1400c8600((longlong)param_1,pwVar3); + if ((int)uVar7 == 0) goto LAB_1400c989c; + iVar5 = _wtoi(local_148); + param_1[0x1226] = (wchar_t)iVar5; + local_164 = 1; + local_168 = 1; + pwVar9 = pwVar3; + } + else { + if ((bVar1) || + (((wVar4 != L'@' || + (uVar7 = FUN_1400c86b0((longlong)param_1,pwVar3), (int)uVar7 == 0)) || + (uVar7 = FUN_1400c8760((longlong)param_1,local_148), (int)uVar7 == 0)))) + goto LAB_1400c989c; + bVar1 = true; + param_2 = param_2 + 1; + pwVar9 = pwVar3; + } + } + } + else { + uVar7 = FUN_1400c8990(param_1,pwVar3); + if ((int)uVar7 == 0) goto LAB_1400c989c; + bVar2 = true; + pwVar9 = param_2; + if (param_2[1] == L'/') { + pwVar9 = param_2 + 2; + if (*pwVar9 != L'/') { + param_2 = param_2 + 1; + uVar8 = 0; + pwVar9 = pwVar3; + goto LAB_1400c9780; + } + if (*(int *)(param_1 + 0x1228) == 6) goto LAB_1400c989c; + } + uVar8 = 0; + param_2 = pwVar9 + 1; + pwVar9 = pwVar3; + if (*(int *)(param_1 + 0x1228) == 4) goto LAB_1400c9780; + } + } + else { +LAB_1400c96d2: + if (param_2[1] == L'\0') { +LAB_1400c972c: + if ((wVar4 != L'/') && (wVar4 != L'?')) { + if (uVar8 < 0x828) { + *pwVar9 = wVar4; + pwVar9 = pwVar9 + 1; + param_2 = param_2 + 1; + goto LAB_1400c9750; + } + goto LAB_1400c989c; + } + goto LAB_1400c9750; + } + if (wVar4 == L'[') { + if ((bVar2) && (local_164 == 0)) { + uVar11 = 1; + } + } + else if (wVar4 == L']') { + uVar11 = uVar10; + } + *pwVar9 = wVar4; + param_2 = param_2 + 1; + uVar8 = uVar8 + 1; + pwVar9 = pwVar9 + 1; + } + } + else { + if (wVar4 != L'@') { + if ((wVar4 != L'/') && (wVar4 != L'?')) goto LAB_1400c96d2; + if (param_2[1] == L'\0') goto LAB_1400c972c; +LAB_1400c9750: + *pwVar9 = L'\0'; + if ((local_164 == 0) && (uVar7 = FUN_1400c8600((longlong)param_1,pwVar3), (int)uVar7 == 0)) + goto LAB_1400c989c; + uVar8 = 0; + pwVar9 = pwVar3; + goto LAB_1400c9777; + } + if (bVar1) goto LAB_1400c989c; + *pwVar9 = L'\0'; + uVar7 = FUN_1400c86b0((longlong)param_1,pwVar3); + if ((int)uVar7 == 0) goto LAB_1400c989c; + uVar11 = 0; + bVar1 = true; + param_2 = param_2 + 1; + uVar8 = 0; + pwVar9 = pwVar3; + } + wVar4 = *param_2; + if (wVar4 == L'\0') goto LAB_1400c9777; + goto LAB_1400c9502; + } + goto LAB_1400c989c; +LAB_1400c9777: + if (bVar2) { +LAB_1400c9780: + wVar4 = *param_2; + while (wVar4 != L'\0') { + if (0x828 < uVar8) goto LAB_1400c989c; + if ((*(int *)(param_1 + 0x1228) != 4) && ((wVar4 == L'#' || (wVar4 == L'?')))) break; + *pwVar9 = wVar4; + pwVar9 = pwVar9 + 1; + uVar8 = uVar8 + 1; + param_2 = param_2 + 1; + wVar4 = *param_2; + } + *pwVar9 = L'\0'; + if ((*pwVar3 == L'\0') || (uVar7 = FUN_14003f980((longlong)param_1,pwVar3), (int)uVar7 != 0)) { + uVar8 = 0; + wVar4 = *param_2; + pwVar9 = pwVar3; + while (wVar4 != L'\0') { + param_2 = param_2 + 1; + if (0x828 < uVar8) goto LAB_1400c989c; + *pwVar9 = wVar4; + pwVar9 = pwVar9 + 1; + uVar8 = uVar8 + 1; + wVar4 = *param_2; + } + *pwVar9 = L'\0'; + if ((*pwVar3 == L'\0') || (uVar7 = FUN_1400c8840((longlong)param_1,pwVar3), (int)uVar7 != 0)) + { + iVar5 = *(int *)(param_1 + 0x1228); + if ((iVar5 == 4) || ((iVar5 == 5 || (iVar5 == 6)))) { + param_1[0x1226] = L'\0'; + } + else if (local_168 == 0) { + uVar7 = FUN_1400c8450(iVar5); + param_1[0x1226] = (wchar_t)uVar7; + } + LOCK(); + pwVar9 = pwVar3 + -4; + iVar5 = *(int *)pwVar9; + *(int *)pwVar9 = *(int *)pwVar9 + -1; + UNLOCK(); + if (iVar5 + -1 < 1) { + (**(code **)(**(longlong **)(pwVar3 + -0xc) + 8))(); + } + return 1; + } + } + } +LAB_1400c989c: + FUN_14003fa30(param_1); + LOCK(); + pwVar9 = pwVar3 + -4; + iVar5 = *(int *)pwVar9; + *(int *)pwVar9 = *(int *)pwVar9 + -1; + UNLOCK(); + if (iVar5 + -1 < 1) { + (**(code **)(**(longlong **)(pwVar3 + -0xc) + 8))(); + } + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c9900.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c9900.c new file mode 100644 index 00000000..f805a602 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c9900.c @@ -0,0 +1,26 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c9900 FUN_1400c9900 + * Pseudocode, not original source. */ + +longlong * FUN_1400c9900(longlong param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + int *piVar1; + int *piVar2; + longlong *plVar3; + + piVar1 = (int *)(param_1 + 0x10); + piVar2 = piVar1; + plVar3 = param_2; + FUN_14003d040(piVar1); + if (*(longlong *)(param_1 + 200) == 0) { + FUN_14003e7c0(piVar2,plVar3,param_3,param_4); + *param_2 = (longlong)PTR_DAT_14016f010; + } + else { + FUN_1400c9360(param_1 + 0xa8,param_2,param_3,param_4); + } + FUN_14003d0d0((longlong)piVar1); + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c99a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c99a0.c new file mode 100644 index 00000000..5592a08b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c99a0.c @@ -0,0 +1,68 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c99a0 FUN_1400c99a0 + * Pseudocode, not original source. */ + +void FUN_1400c99a0(longlong param_1,longlong param_2,longlong param_3,undefined8 param_4) + +{ + longlong *plVar1; + longlong *plVar2; + longlong *plVar3; + int iVar4; + longlong *plVar5; + + plVar1 = (longlong *)(param_1 + 0x10); + plVar3 = plVar1; + FUN_14003d040((int *)plVar1); + plVar5 = (longlong *)0x0; + plVar2 = plVar5; + while( true ) { + iVar4 = (int)plVar2; + if (iVar4 == *(int *)(param_1 + 0x118)) { + plVar3 = plVar5; + if (*(longlong *)(param_1 + 0x70) != 0) { + plVar3 = *(longlong **)(param_1 + 0x60); + } + for (; plVar3 != (longlong *)0x0; plVar3 = (longlong *)plVar3[2]) { + plVar2 = plVar5; + if ((longlong *)plVar3[1] != (longlong *)0x0) { + plVar2 = *(longlong **)plVar3[1]; + } + if ((int)plVar2[0x492] < 4) { + plVar2[0x492] = 4; + } + } + FUN_14003d0d0((longlong)plVar1); + return; + } + if ((iVar4 < 0) || (*(int *)(param_1 + 0x118) <= iVar4)) break; + param_2 = (longlong)iVar4; + param_3 = *(longlong *)(param_1 + 0x110); + plVar3 = *(longlong **)(param_3 + param_2 * 8); + plVar2 = plVar5; + if (plVar3 != (longlong *)0x0) { + plVar2 = (longlong *)*plVar3; + } + plVar3 = (longlong *)plVar2[2]; + if ((plVar3 != (longlong *)0x0) && (*plVar3 != 0)) { + plVar3 = *(longlong **)(param_3 + param_2 * 8); + plVar2 = plVar5; + if (plVar3 != (longlong *)0x0) { + plVar2 = (longlong *)*plVar3; + } + plVar3 = plVar5; + if ((undefined8 *)plVar2[2] != (undefined8 *)0x0) { + plVar3 = *(longlong **)plVar2[2]; + } + FUN_140043a50(plVar3,param_2,param_3,param_4); + } + if (*(int *)(param_1 + 0x118) <= iVar4) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(plVar3,param_2,param_3,param_4); + } + plVar2 = (longlong *)(ulonglong)(iVar4 + 1); + } + /* WARNING: Subroutine does not return */ + FUN_14003def0(plVar3,param_2,param_3,param_4); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c9ac0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c9ac0.c new file mode 100644 index 00000000..227cd742 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c9ac0.c @@ -0,0 +1,104 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c9ac0 FUN_1400c9ac0 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x0001400c9cbe) */ + +void FUN_1400c9ac0(longlong param_1,undefined8 param_2,uint *param_3,undefined8 param_4) + +{ + int *piVar1; + undefined8 *puVar2; + longlong lVar3; + char cVar4; + undefined8 uVar5; + int *piVar6; + int *piVar7; + int iVar8; + int *piVar9; + uint local_40 [2]; + undefined **local_38; + undefined4 local_30; + undefined2 local_2c; + undefined4 local_28; + + piVar1 = (int *)(param_1 + 0x10); + piVar9 = (int *)0x0; + while (piVar6 = piVar1, FUN_14003d040(piVar1), DAT_140176450 == '\0') { + local_38 = Proud::AddrPort::vftable; + local_28 = 0; + local_40[0] = 0; + local_40[1] = 0; + local_30 = DAT_14016f3d0; + local_2c = DAT_14016f3d4; + piVar7 = piVar9; + while (iVar8 = (int)piVar7, iVar8 != *(int *)(param_1 + 0x118)) { + if ((iVar8 < 0) || (*(int *)(param_1 + 0x118) <= iVar8)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(piVar6,param_2,param_3,param_4); + } + piVar6 = (int *)(longlong)iVar8; + puVar2 = *(undefined8 **)(*(longlong *)(param_1 + 0x110) + (longlong)piVar6 * 8); + piVar7 = piVar9; + if (puVar2 != (undefined8 *)0x0) { + piVar7 = (int *)*puVar2; + } + if (*(longlong **)(piVar7 + 4) != (longlong *)0x0) { + lVar3 = **(longlong **)(piVar7 + 4); + piVar6 = (int *)0x0; + if (lVar3 != 0) { + uVar5 = FUN_140043710(lVar3,0,local_40); + if ((char)uVar5 != '\0') { + *(undefined1 *)(piVar7 + 0x30) = 0; + } + piVar6 = piVar9; + if (*(undefined8 **)(piVar7 + 4) != (undefined8 *)0x0) { + piVar6 = (int *)**(undefined8 **)(piVar7 + 4); + } + param_3 = local_40; + param_2 = 0; + uVar5 = FUN_140043980((longlong)piVar6,0,param_3); + if ((char)uVar5 != '\0') { + *(undefined1 *)(piVar7 + 0x20) = 0; + } + } + } + if (((*(undefined8 **)(piVar7 + 4) != (undefined8 *)0x0) && + (piVar6 = (int *)**(undefined8 **)(piVar7 + 4), piVar6 != (int *)0x0)) && + ((cVar4 = FUN_140043cf0((longlong)piVar6), cVar4 == '\0' || + (((char)piVar7[0x30] != '\0' || ((char)piVar7[0x20] != '\0')))))) goto LAB_1400c9c97; + if (*(int *)(param_1 + 0x118) <= iVar8) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(piVar6,param_2,param_3,param_4); + } + piVar7 = (int *)(ulonglong)(iVar8 + 1); + } + piVar6 = piVar9; + if (*(longlong *)(param_1 + 0x70) != 0) { + piVar6 = *(int **)(param_1 + 0x60); + } + while( true ) { + piVar7 = piVar6; + if (piVar7 == (int *)0x0) goto LAB_1400c9cd3; + piVar6 = piVar9; + if (*(undefined8 **)(piVar7 + 2) != (undefined8 *)0x0) { + piVar6 = (int *)**(undefined8 **)(piVar7 + 2); + } + if (((*(longlong **)(piVar6 + 0x920) != (longlong *)0x0) && + (lVar3 = **(longlong **)(piVar6 + 0x920), lVar3 != 0)) && + ((cVar4 = FUN_140043cf0(lVar3), cVar4 == '\0' || + (((char)piVar6[0x940] != '\0' || ((char)piVar6[0x930] != '\0')))))) break; + piVar6 = piVar9; + if (piVar7 != (int *)0x0) { + piVar6 = *(int **)(piVar7 + 4); + } + } +LAB_1400c9c97: + FUN_14003d0d0((longlong)piVar1); + Sleep(10); + } +LAB_1400c9cd3: + FUN_14003d0d0((longlong)piVar1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c9d00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c9d00.c new file mode 100644 index 00000000..fd003244 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c9d00.c @@ -0,0 +1,100 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c9d00 FUN_1400c9d00 + * Pseudocode, not original source. */ + +longlong * FUN_1400c9d00(longlong *param_1) + +{ + int *piVar1; + undefined *puVar2; + int iVar3; + int iVar4; + char *pcVar5; + int iVar6; + + puVar2 = (undefined *)*param_1; + if (puVar2 == (undefined *)0x0) { + iVar6 = 0; + } + else if (puVar2 == PTR_DAT_14016f008) { + iVar6 = 0; + } + else { + iVar6 = *(int *)(puVar2 + -8); + } + if (puVar2 == (undefined *)0x0) { + iVar3 = 0; + } + else if (puVar2 == PTR_DAT_14016f008) { + iVar3 = 0; + } + else { + iVar3 = *(int *)(puVar2 + -8); + } + iVar4 = iVar6; + if (iVar6 <= iVar3) { + if (puVar2 == (undefined *)0x0) { + iVar4 = 0; + } + else if (puVar2 == PTR_DAT_14016f008) { + iVar4 = 0; + } + else { + iVar4 = *(int *)(puVar2 + -8); + } + } + iVar3 = 1; + if (1 < iVar4) { + iVar3 = iVar4; + } + iVar4 = 0; + if (puVar2 != (undefined *)0x0) { + if (puVar2 == PTR_DAT_14016f008) { + iVar4 = 0; + } + else { + iVar4 = *(int *)(puVar2 + -8); + } + } + if (iVar4 < iVar3) { + FUN_14003d5d0(param_1,iVar3); + } + FUN_14003d4c0(param_1); + pcVar5 = (char *)*param_1; + if ((char *)*param_1 == (char *)0x0) { + pcVar5 = PTR_DAT_14016f008; + } + FUN_14003e770(pcVar5,(longlong)(iVar6 + 1)); + puVar2 = (undefined *)*param_1; + iVar3 = 0; + if (0 < iVar6) { + iVar3 = iVar6; + } + if (puVar2 == (undefined *)0x0) { + iVar6 = 0; + } + else if (puVar2 == PTR_DAT_14016f008) { + iVar6 = 0; + } + else { + iVar6 = *(int *)(puVar2 + -8); + } + if (iVar6 <= iVar3) { + if (puVar2 == (undefined *)0x0) { + iVar3 = 0; + } + else if (puVar2 == PTR_DAT_14016f008) { + iVar3 = 0; + } + else { + iVar3 = *(int *)(puVar2 + -8); + } + } + if (((puVar2 != PTR_DAT_14016f008) && (puVar2 != (undefined *)0x0)) && + (piVar1 = (int *)(puVar2 + -8), piVar1 != (int *)0x0)) { + *piVar1 = iVar3; + *(undefined1 *)((longlong)iVar3 + 8 + (longlong)piVar1) = 0; + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c9e20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c9e20.c new file mode 100644 index 00000000..3b822df0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c9e20.c @@ -0,0 +1,58 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c9e20 FUN_1400c9e20 + * Pseudocode, not original source. */ + +longlong * FUN_1400c9e20(longlong *param_1,longlong *param_2,int param_3,uint param_4) + +{ + ulonglong uVar1; + undefined *puVar2; + uint uVar3; + uint uVar5; + ulonglong uVar4; + + uVar3 = 0; + uVar4 = 0; + puVar2 = (undefined *)*param_1; + if (param_3 < 0) { + param_3 = uVar3; + } + if ((int)param_4 < 0) { + param_4 = uVar3; + } + uVar1 = 0; + if ((puVar2 != (undefined *)0x0) && (puVar2 != PTR_DAT_14016f008)) { + uVar1 = (ulonglong)*(uint *)(puVar2 + -8); + } + if ((int)uVar1 < (int)(param_3 + param_4)) { + uVar5 = uVar3; + if ((puVar2 != (undefined *)0x0) && (puVar2 != PTR_DAT_14016f008)) { + uVar5 = *(uint *)(puVar2 + -8); + } + param_4 = uVar5 - param_3; + } + uVar5 = uVar3; + if ((puVar2 != (undefined *)0x0) && (puVar2 != PTR_DAT_14016f008)) { + uVar5 = *(uint *)(puVar2 + -8); + } + if ((int)uVar5 < param_3) { + param_4 = uVar3; + } + if (param_3 == 0) { + if ((puVar2 != (undefined *)0x0) && (puVar2 != PTR_DAT_14016f008)) { + uVar4 = (ulonglong)*(uint *)(puVar2 + -8); + } + if (param_4 == (uint)uVar4) { + FUN_14003e7c0(uVar1,PTR_DAT_14016f008,puVar2,uVar4); + *param_2 = (longlong)PTR_DAT_14016f008; + FUN_140006de0(param_2,param_1,puVar2,uVar4); + return param_2; + } + } + if (puVar2 == (undefined *)0x0) { + puVar2 = PTR_DAT_14016f008; + } + FUN_14003d800(param_2,puVar2 + param_3,(ulonglong)param_4,uVar4); + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c9f10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c9f10.c new file mode 100644 index 00000000..157782f4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c9f10.c @@ -0,0 +1,48 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c9f10 FUN_1400c9f10 + * Pseudocode, not original source. */ + +void FUN_1400c9f10(longlong *param_1,longlong param_2,longlong param_3) + +{ + undefined8 *puVar1; + longlong lVar2; + uint uVar3; + longlong *plVar5; + longlong *plVar6; + longlong *plVar4; + + if (0 < param_3) { + plVar6 = (longlong *)0x0; + lVar2 = param_2 - (longlong)param_1; + plVar4 = plVar6; + do { + if (param_1 != (longlong *)0x0) { + *param_1 = 0; + if (*(longlong *)((longlong)param_1 + lVar2) != 0) { + *(longlong *)(*(longlong *)((longlong)param_1 + lVar2) + 8) = + *(longlong *)(*(longlong *)((longlong)param_1 + lVar2) + 8) + 1; + plVar5 = plVar6; + if ((*param_1 != 0) && + (*(longlong *)(*param_1 + 8) = *(longlong *)(*param_1 + 8) + -1, + *(longlong *)(*param_1 + 8) == 0)) { + plVar5 = (longlong *)*param_1; + } + *param_1 = *(longlong *)((longlong)param_1 + lVar2); + if (plVar5 != (longlong *)0x0) { + puVar1 = (undefined8 *)*plVar5; + if (puVar1 != (undefined8 *)0x0) { + (**(code **)*puVar1)(puVar1,1); + } + FUN_14003e8b0(plVar5); + } + } + } + uVar3 = (int)plVar4 + 1; + plVar4 = (longlong *)(ulonglong)uVar3; + param_1 = param_1 + 1; + } while ((int)uVar3 < param_3); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400c9ff0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400c9ff0.c new file mode 100644 index 00000000..dcfc04eb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400c9ff0.c @@ -0,0 +1,50 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400c9ff0 FUN_1400c9ff0 + * Pseudocode, not original source. */ + +void FUN_1400c9ff0(wchar_t *param_1,wchar_t *param_2,uint param_3) + +{ + int iVar1; + undefined8 uVar2; + + FUN_14003fa30(param_1); + uVar2 = FUN_1400c9440(param_1,param_2); + if ((((param_3 & 1) != 0) || ((param_3 & 4) != 0)) && ((int)uVar2 != 0)) { + if (*(int *)(param_1 + 0x122e) != 0) { + iVar1 = FUN_1400c9130(param_1 + 0x122,param_1 + 0x122,(uint *)(param_1 + 0x122e),0x81); + if (iVar1 == 0) { + return; + } + *(int *)(param_1 + 0x122e) = *(int *)(param_1 + 0x122e) + -1; + } + if (*(int *)(param_1 + 0x1230) != 0) { + iVar1 = FUN_1400c9130(param_1 + 0x1a3,param_1 + 0x1a3,(uint *)(param_1 + 0x1230),0x81); + if (iVar1 == 0) { + return; + } + *(int *)(param_1 + 0x1230) = *(int *)(param_1 + 0x1230) + -1; + } + if (*(int *)(param_1 + 0x122c) != 0) { + iVar1 = FUN_1400c9130(param_1 + 0x21,param_1 + 0x21,(uint *)(param_1 + 0x122c),0x101); + if (iVar1 == 0) { + return; + } + *(int *)(param_1 + 0x122c) = *(int *)(param_1 + 0x122c) + -1; + } + if (*(int *)(param_1 + 0x1232) != 0) { + iVar1 = FUN_1400c9130(param_1 + 0x224,param_1 + 0x224,(uint *)(param_1 + 0x1232),0x801); + if (iVar1 == 0) { + return; + } + *(int *)(param_1 + 0x1232) = *(int *)(param_1 + 0x1232) + -1; + } + if ((*(int *)(param_1 + 0x1234) != 0) && + (iVar1 = FUN_1400c9130(param_1 + 0xa25,param_1 + 0xa25,(uint *)(param_1 + 0x1234),0x801), + iVar1 != 0)) { + *(int *)(param_1 + 0x1234) = *(int *)(param_1 + 0x1234) + -1; + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ca130.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ca130.c new file mode 100644 index 00000000..c39ff310 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ca130.c @@ -0,0 +1,193 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ca130 FUN_1400ca130 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +ulonglong FUN_1400ca130(undefined *param_1,longlong *param_2,undefined8 param_3,ulonglong param_4) + +{ + int *piVar1; + int iVar2; + char *pcVar3; + undefined *puVar4; + longlong *plVar5; + longlong *plVar6; + int *piVar7; + ulonglong uVar8; + undefined8 uVar9; + char *pcVar10; + longlong *plVar11; + wchar_t *pwVar12; + undefined **ppuVar13; + LPCSTR pCVar14; + wchar_t *pwVar15; + LPCSTR pCVar16; + uint uVar17; + uint uVar18; + undefined1 auStack_1a8 [32]; + int *local_188; + undefined1 local_180; + LPCSTR local_178; + undefined *local_170; + longlong *local_168; + undefined8 local_160; + longlong *local_158; + undefined1 local_150; + wchar_t *local_148; + wchar_t local_140 [132]; + ulonglong local_38; + + local_160 = 0xfffffffffffffffe; + local_38 = DAT_14016f5a0 ^ (ulonglong)auStack_1a8; + local_168 = param_2; + FUN_14003e7c0(param_1,param_2,param_3,param_4); + pCVar16 = PTR_DAT_14016f008; + local_178 = PTR_DAT_14016f008; + pcVar3 = (char *)*param_2; + pcVar10 = PTR_DAT_14016f008; + if (((pcVar3 == (char *)0x0) || (pcVar10 = pcVar3, pcVar3 == PTR_DAT_14016f008)) || + (-1 < *(int *)(pcVar3 + -8))) { + pcVar3 = strstr(pcVar10,"http"); + uVar17 = 0xffffffff; + if (pcVar3 != (char *)0x0) { + puVar4 = (undefined *)*param_2; + if ((undefined *)*param_2 == (undefined *)0x0) { + puVar4 = PTR_DAT_14016f008; + } + uVar17 = (int)pcVar3 - (int)puVar4; + } + } + else { + uVar17 = 0xffffffff; + } + pcVar3 = (char *)*param_2; + pcVar10 = PTR_DAT_14016f008; + if ((((pcVar3 == (char *)0x0) || (pcVar10 = pcVar3, pcVar3 == PTR_DAT_14016f008)) || + (uVar18 = 0xffffffff, -1 < *(int *)(pcVar3 + -8))) && + (pcVar3 = strstr(pcVar10,".xml"), uVar18 = 0xffffffff, pcVar3 != (char *)0x0)) { + puVar4 = (undefined *)*param_2; + if ((undefined *)*param_2 == (undefined *)0x0) { + puVar4 = PTR_DAT_14016f008; + } + uVar18 = (int)pcVar3 - (int)puVar4; + } + if (((int)uVar17 < (int)uVar18) && (-1 < (int)uVar17)) { + uVar18 = (uVar18 - uVar17) + 4; + param_4 = (ulonglong)uVar18; + uVar8 = (ulonglong)uVar17; + ppuVar13 = &local_170; + plVar6 = param_2; + plVar5 = FUN_1400c9e20(param_2,(longlong *)ppuVar13,uVar17,uVar18); + if (pCVar16 == (undefined *)0x0) { + pCVar16 = PTR_DAT_14016f008; + } + local_178 = pCVar16; + if ((LPCSTR)*plVar5 != pCVar16) { + plVar6 = (longlong *)FUN_14003e7c0(plVar6,ppuVar13,uVar8,param_4); + plVar11 = plVar6; + local_158 = plVar6; + FUN_14003d040((int *)plVar6); + local_150 = 1; + if (((pCVar16 != (LPCSTR)0x0) && (pCVar16 != PTR_DAT_14016f008)) && + (pCVar16 + -8 != (LPCSTR)0x0)) { + piVar7 = (int *)FUN_14003e7c0(plVar11,ppuVar13,uVar8,param_4); + local_188 = piVar7; + FUN_14003d040(piVar7); + local_180 = 1; + piVar1 = (int *)(pCVar16 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(pCVar16 + -8); + } + FUN_14003d0d0((longlong)piVar7); + } + pCVar16 = (LPCSTR)*plVar5; + if (((pCVar16 != PTR_DAT_14016f008) && (pCVar16 != (LPCSTR)0x0)) && (pCVar16 != (LPCSTR)0x8)) + { + *(int *)(pCVar16 + -4) = *(int *)(pCVar16 + -4) + 1; + } + local_178 = pCVar16; + FUN_14003d0d0((longlong)plVar6); + } + if (((local_170 != (undefined *)0x0) && (local_170 != PTR_DAT_14016f008)) && + (local_170 + -8 != (undefined *)0x0)) { + piVar7 = (int *)FUN_14003e7c0(plVar6,ppuVar13,uVar8,param_4); + local_188 = piVar7; + FUN_14003d040(piVar7); + local_180 = 1; + piVar1 = (int *)(local_170 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(local_170 + -8); + } + FUN_14003d0d0((longlong)piVar7); + } + } + pCVar14 = pCVar16; + if (pCVar16 == (LPCSTR)0x0) { + pCVar14 = PTR_DAT_14016f008; + } + local_148 = local_140; + FUN_140005110((longlong *)&local_148,pCVar14,3); + uVar9 = 0; + pwVar15 = local_148; + iVar2 = FUN_1400c9ff0((wchar_t *)(param_1 + 0x10),local_148,0); + pwVar12 = local_148; + if (local_148 != local_140) { + free(local_148); + } + if (iVar2 == 0) { + if (((pCVar16 != (LPCSTR)0x0) && (pCVar16 != PTR_DAT_14016f008)) && + (pCVar16 + -8 != (LPCSTR)0x0)) { + piVar7 = (int *)FUN_14003e7c0(pwVar12,pwVar15,uVar9,param_4); + local_188 = piVar7; + FUN_14003d040(piVar7); + local_180 = 1; + piVar1 = (int *)(pCVar16 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(pCVar16 + -8); + } + FUN_14003d0d0((longlong)piVar7); + } + uVar8 = FUN_140006e80(param_2); + uVar8 = uVar8 & 0xffffffffffffff00; + } + else if ((wchar_t *)param_1 == L"TICON") { + if (((pCVar16 != (LPCSTR)0x0) && (pCVar16 != PTR_DAT_14016f008)) && + (pCVar16 + -8 != (LPCSTR)0x0)) { + piVar7 = (int *)FUN_14003e7c0(&DAT_140131724,pwVar15,uVar9,param_4); + local_188 = piVar7; + FUN_14003d040(piVar7); + local_180 = 1; + piVar1 = (int *)(pCVar16 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(pCVar16 + -8); + } + FUN_14003d0d0((longlong)piVar7); + } + uVar8 = FUN_140006e80(param_2); + uVar8 = uVar8 & 0xffffffffffffff00; + } + else { + if (((pCVar16 != (LPCSTR)0x0) && (pCVar16 != PTR_DAT_14016f008)) && + (pCVar16 + -8 != (LPCSTR)0x0)) { + piVar7 = (int *)FUN_14003e7c0(&DAT_140131724,pwVar15,uVar9,param_4); + local_188 = piVar7; + FUN_14003d040(piVar7); + local_180 = 1; + piVar1 = (int *)(pCVar16 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(pCVar16 + -8); + } + FUN_14003d0d0((longlong)piVar7); + } + uVar9 = FUN_140006e80(param_2); + uVar8 = CONCAT71((int7)((ulonglong)uVar9 >> 8),1); + } + return uVar8; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ca4c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ca4c0.c new file mode 100644 index 00000000..50cc7cfe --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ca4c0.c @@ -0,0 +1,40 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ca4c0 FUN_1400ca4c0 + * Pseudocode, not original source. */ + +void FUN_1400ca4c0(undefined8 *param_1,undefined8 param_2,longlong *param_3,undefined8 param_4) + +{ + undefined8 *puVar1; + longlong *plVar2; + LPVOID pvVar3; + + *param_1 = Proud::CDiscoveringNatDevice::vftable; + FUN_140006e80(param_1 + 0x4a7); + param_1[0x4a2] = Proud::CFastArray::vftable; + pvVar3 = (LPVOID)param_1[0x4a4]; + if (pvVar3 != (LPVOID)0x0) { + if ((longlong *)param_1[0x4a3] == (longlong *)0x0) { + FUN_14003e8b0(pvVar3); + } + else { + (**(code **)(*(longlong *)param_1[0x4a3] + 0x18))(); + } + } + FUN_140006e80(param_1 + 0x491); + if ((param_1[0x490] != 0) && + (*(longlong *)(param_1[0x490] + 8) = *(longlong *)(param_1[0x490] + 8) + -1, + *(longlong *)(param_1[0x490] + 8) == 0)) { + puVar1 = (undefined8 *)param_1[0x490]; + plVar2 = (longlong *)*puVar1; + if (plVar2 != (longlong *)0x0) { + FUN_140043e60(plVar2,pvVar3,param_3,param_4); + FUN_14003e8b0(plVar2); + } + FUN_14003e8b0(puVar1); + } + FUN_140006e80(param_1 + 1); + *param_1 = Proud::IFastSocketDelegate::vftable; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ca5c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ca5c0.c new file mode 100644 index 00000000..3f0c924f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ca5c0.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ca5c0 FUN_1400ca5c0 + * Pseudocode, not original source. */ + +undefined8 * +FUN_1400ca5c0(undefined8 *param_1,ulonglong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_1400ca4c0(param_1,param_2,param_3,param_4); + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ca5f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ca5f0.c new file mode 100644 index 00000000..b5747dac --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ca5f0.c @@ -0,0 +1,32 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ca5f0 FUN_1400ca5f0 + * Pseudocode, not original source. */ + +undefined8 * +FUN_1400ca5f0(undefined8 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + wchar_t *pwVar1; + + *param_1 = Proud::CDiscoveringNatDevice::vftable; + FUN_14003e7c0(param_1,param_2,param_3,param_4); + param_1[1] = PTR_DAT_14016f008; + pwVar1 = (wchar_t *)(param_1 + 2); + FUN_14003fbf0(pwVar1); + param_1[0x490] = 0; + FUN_14003e7c0(pwVar1,param_2,param_3,param_4); + param_1[0x491] = PTR_DAT_14016f008; + param_1[0x4a2] = Proud::CFastArray::vftable; + param_1[0x4a3] = 0; + param_1[0x4a4] = 0; + param_1[0x4a5] = 0; + param_1[0x4a6] = 0; + FUN_14003e7c0(pwVar1,param_2,param_3,param_4); + param_1[0x4a7] = PTR_DAT_14016f008; + *(undefined1 *)(param_1 + 0x498) = 0; + *(undefined1 *)(param_1 + 0x4a0) = 0; + *(undefined8 *)((longlong)param_1 + 0x2504) = 0; + param_1[0x492] = 0; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ca6c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ca6c0.c new file mode 100644 index 00000000..fa310fc4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ca6c0.c @@ -0,0 +1,185 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ca6c0 FUN_1400ca6c0 + * Pseudocode, not original source. */ + +ulonglong FUN_1400ca6c0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + ushort uVar1; + uint uVar2; + uint uVar3; + uint *puVar4; + int *piVar5; + undefined4 extraout_var; + ulonglong uVar6; + uint *puVar7; + uint *puVar8; + uint **ppuVar9; + uint *puVar10; + uint uVar11; + uint uVar12; + ulonglong uVar13; + uint *local_res10; + uint *local_res18 [2]; + + FUN_14003e7c0(param_1,param_2,param_3,param_4); + puVar10 = (uint *)PTR_DAT_14016f010; + local_res10 = (uint *)PTR_DAT_14016f010; + uVar2 = FUN_14003e620((short *)(param_2 + 0x52)); + puVar7 = (uint *)0x0; + uVar12 = 0; + puVar4 = puVar7; + if ((puVar10 != (uint *)0x0) && (puVar4 = (uint *)0x0, puVar10 != (uint *)PTR_DAT_14016f010)) { + puVar4 = (uint *)(ulonglong)*(uint *)((longlong)puVar10 + -8); + } + uVar3 = uVar2; + if ((((int)uVar2 <= (int)puVar4) && (uVar3 = uVar12, puVar10 != (uint *)0x0)) && + (puVar10 != (uint *)PTR_DAT_14016f010)) { + uVar3 = *(uint *)((longlong)puVar10 + -8); + } + uVar11 = 1; + if (1 < (int)uVar3) { + uVar11 = uVar3; + } + uVar3 = uVar12; + if ((puVar10 != (uint *)0x0) && (puVar10 != (uint *)PTR_DAT_14016f010)) { + uVar3 = *(uint *)((longlong)puVar10 + -8); + } + if ((int)uVar3 < (int)uVar11) { + if (puVar10 == (uint *)0x0) { + puVar10 = (uint *)PTR_DAT_14016f010; + } + local_res10 = puVar10; + if ((int)uVar11 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar11 == 0) { + FUN_140002190((longlong *)&local_res10,puVar4,param_3,param_4); + } + else { + uVar3 = uVar12; + if ((puVar10 != (uint *)0x0) && (puVar10 != (uint *)PTR_DAT_14016f010)) { + uVar3 = puVar10[-2]; + } + if (uVar11 != uVar3) { + puVar4 = (uint *)FUN_14003e840((longlong)(int)uVar11 * 2 + 10); + if (puVar4 != (uint *)0x0) { + *puVar4 = 0; + puVar4[1] = 1; + } + *puVar4 = uVar11; + uVar3 = uVar12; + if ((puVar10 != (uint *)0x0) && (puVar10 != (uint *)PTR_DAT_14016f010)) { + uVar3 = puVar10[-2]; + } + puVar8 = (uint *)PTR_DAT_14016f010; + if ((int)uVar11 < (int)uVar3) { +LAB_1400ca7c3: + if (puVar10 != (uint *)0x0) { + puVar8 = puVar10; + } + } + else { + uVar11 = uVar12; + if (puVar10 != (uint *)0x0) { + if (puVar10 != (uint *)PTR_DAT_14016f010) { + uVar11 = puVar10[-2]; + } + goto LAB_1400ca7c3; + } + } + uVar6 = (ulonglong)uVar11; + FUN_14003e650(puVar4 + 2,puVar8,uVar11); + FUN_140002190((longlong *)&local_res10,puVar8,uVar6,param_4); + local_res10 = puVar4 + 2; + } + } + } + FUN_140001df0((longlong *)&local_res10); + puVar10 = local_res10; + puVar4 = local_res10; + if (local_res10 == (uint *)0x0) { + puVar4 = (uint *)PTR_DAT_14016f010; + } + uVar6 = (ulonglong)uVar2; + FUN_14003e650(puVar4,(void *)(param_2 + 0x52),uVar2); + puVar4 = puVar10; + if (puVar10 == (uint *)0x0) { + puVar4 = (uint *)PTR_DAT_14016f010; + } + uVar2 = FUN_14003e620((short *)puVar4); + puVar4 = puVar7; + if (0 < (int)uVar2) { + puVar4 = (uint *)(ulonglong)uVar2; + } + uVar2 = 0; + if ((puVar10 != (uint *)0x0) && (puVar10 != (uint *)PTR_DAT_14016f010)) { + uVar2 = puVar10[-2]; + } + puVar8 = (uint *)PTR_DAT_14016f010; + if (((int)uVar2 <= (int)puVar4) && (puVar4 = puVar7, puVar10 != (uint *)0x0)) { + if (puVar10 == (uint *)PTR_DAT_14016f010) goto LAB_1400ca873; + puVar4 = (uint *)(ulonglong)puVar10[-2]; + } + if (((puVar10 != (uint *)PTR_DAT_14016f010) && (puVar10 != (uint *)0x0)) && + (puVar8 = puVar10 + -2, puVar8 != (uint *)0x0)) { + *puVar8 = (uint)puVar4; + *(undefined2 *)((longlong)puVar10 + (longlong)(int)(uint)puVar4 * 2) = 0; + } +LAB_1400ca873: + uVar1 = *(ushort *)(param_2 + 0x245c); + FUN_14003e7c0(puVar4,puVar8,uVar6,param_4); + local_res18[0] = (uint *)PTR_DAT_14016f010; + if (PTR_DAT_14016f010 == (undefined *)0x0) { + local_res18[0] = puVar7; + } + if (puVar10 != (uint *)PTR_DAT_14016f010) { + piVar5 = (int *)FUN_14003e7c0(puVar4,puVar8,uVar6,param_4); + FUN_14003d040(piVar5); + FUN_140002190((longlong *)local_res18,puVar8,uVar6,param_4); + local_res18[0] = puVar10; + if (((puVar10 != (uint *)PTR_DAT_14016f010) && (puVar10 != (uint *)0x0)) && + (puVar10 != (uint *)0x8)) { + puVar10[-1] = puVar10[-1] + 1; + } + FUN_14003d0d0((longlong)piVar5); + } + if (*(undefined8 **)(param_2 + 0x2480) != (undefined8 *)0x0) { + puVar7 = (uint *)**(undefined8 **)(param_2 + 0x2480); + } + uVar13 = (ulonglong)uVar1; + ppuVar9 = local_res18; + uVar2 = FUN_140044450((longlong)puVar7,(longlong *)ppuVar9,uVar1,param_4); + uVar6 = CONCAT44(extraout_var,uVar2); + if ((uVar2 == 0) || (uVar2 == 0x2733)) { + if ((puVar10 != (uint *)0x0) && + ((puVar10 != (uint *)PTR_DAT_14016f010 && (puVar10 + -2 != (uint *)0x0)))) { + piVar5 = (int *)FUN_14003e7c0(puVar7,ppuVar9,uVar13,param_4); + FUN_14003d040(piVar5); + puVar7 = puVar10 + -1; + *puVar7 = *puVar7 - 1; + if (*puVar7 == 0) { + FUN_14003e8b0(puVar10 + -2); + } + uVar6 = FUN_14003d0d0((longlong)piVar5); + } + uVar6 = CONCAT71((int7)(uVar6 >> 8),1); + } + else { + if (((puVar10 != (uint *)0x0) && (puVar10 != (uint *)PTR_DAT_14016f010)) && + (puVar10 + -2 != (uint *)0x0)) { + piVar5 = (int *)FUN_14003e7c0(puVar7,ppuVar9,uVar13,param_4); + FUN_14003d040(piVar5); + puVar7 = puVar10 + -1; + *puVar7 = *puVar7 - 1; + if (*puVar7 == 0) { + FUN_14003e8b0(puVar10 + -2); + } + uVar6 = FUN_14003d0d0((longlong)piVar5); + } + uVar6 = uVar6 & 0xffffffffffffff00; + } + return uVar6; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ca9c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ca9c0.c new file mode 100644 index 00000000..b02a0f25 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ca9c0.c @@ -0,0 +1,183 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ca9c0 FUN_1400ca9c0 + * Pseudocode, not original source. */ + +longlong * +FUN_1400ca9c0(undefined8 param_1,longlong *param_2,longlong *******param_3,longlong *param_4) + +{ + int *piVar1; + longlong *****ppppplVar2; + longlong ************pppppppppppplVar3; + char *pcVar4; + longlong ******pppppplVar5; + longlong ***********ppppppppppplVar6; + longlong ************_Str; + longlong ******_Str_00; + longlong *****_SubStr; + longlong ***********_SubStr_00; + longlong *plVar7; + uint uVar8; + uint uVar9; + int iVar10; + undefined *puVar11; + ulonglong uVar12; + ulonglong uVar13; + longlong *****local_48; + longlong ***********local_40; + undefined1 local_38; + undefined8 local_30; + + local_30 = 0xfffffffffffffffe; + plVar7 = param_4; + FUN_14003e7c0(param_1,param_2,param_3,param_4); + local_48 = (longlong *****)PTR_DAT_14016f008; + puVar11 = (undefined *)*param_4; + if ((undefined *)*param_4 == (undefined *)0x0) { + puVar11 = PTR_DAT_14016f008; + } + pppppplVar5 = &local_48; + FUN_140040470((longlong *)pppppplVar5,"<%s>",puVar11,plVar7); + ppppplVar2 = local_48; + _SubStr = local_48; + if (local_48 == (longlong *****)0x0) { + _SubStr = (longlong *****)PTR_DAT_14016f008; + } + if (_SubStr == (longlong *****)0x0) { + uVar8 = 0xffffffff; + } + else { + pppppplVar5 = *param_3; + _Str_00 = (longlong ******)PTR_DAT_14016f008; + if (((pppppplVar5 == (longlong ******)0x0) || + (_Str_00 = pppppplVar5, pppppplVar5 == (longlong ******)PTR_DAT_14016f008)) || + (uVar8 = 0xffffffff, -1 < *(int *)(pppppplVar5 + -1))) { + pcVar4 = strstr((char *)_Str_00,(char *)_SubStr); + if (pcVar4 == (char *)0x0) { + pppppplVar5 = _Str_00; + uVar8 = 0xffffffff; + } + else { + pppppplVar5 = *param_3; + if (*param_3 == (longlong ******)0x0) { + pppppplVar5 = (longlong ******)PTR_DAT_14016f008; + } + uVar8 = (int)pcVar4 - (int)pppppplVar5; + pppppplVar5 = (longlong ******)PTR_DAT_14016f008; + if (-1 < (int)uVar8) { + iVar10 = 0; + if ((ppppplVar2 != (longlong *****)0x0) && + (iVar10 = 0, ppppplVar2 != (longlong *****)PTR_DAT_14016f008)) { + iVar10 = *(int *)(ppppplVar2 + -1); + } + uVar8 = uVar8 + iVar10; + } + } + } + } + FUN_14003e7c0(pppppplVar5,_SubStr,puVar11,plVar7); + local_40 = (longlong ***********)PTR_DAT_14016f008; + puVar11 = (undefined *)*param_4; + if ((undefined *)*param_4 == (undefined *)0x0) { + puVar11 = PTR_DAT_14016f008; + } + _Str = &local_40; + FUN_140040470((longlong *)_Str,"",puVar11,plVar7); + ppppppppppplVar6 = local_40; + _SubStr_00 = local_40; + if (local_40 == (longlong ***********)0x0) { + _SubStr_00 = (longlong ***********)PTR_DAT_14016f008; + } + uVar9 = 0xffffffff; + if ((_SubStr_00 != (longlong ***********)0x0) && + ((((_Str = (longlong ************)*param_3, + pppppppppppplVar3 = (longlong ************)PTR_DAT_14016f008, uVar9 = 0xffffffff, + _Str == (longlong ************)0x0 || + (pppppppppppplVar3 = _Str, _Str == (longlong ************)PTR_DAT_14016f008)) || + (-1 < *(int *)(_Str + -1))) && + (_Str = pppppppppppplVar3, pcVar4 = strstr((char *)_Str,(char *)_SubStr_00), + pcVar4 != (char *)0x0)))) { + pppppplVar5 = *param_3; + if (*param_3 == (longlong ******)0x0) { + pppppplVar5 = (longlong ******)PTR_DAT_14016f008; + } + uVar9 = (int)pcVar4 - (int)pppppplVar5; + } + if ((((int)uVar8 < 0) || ((int)uVar9 < 0)) || ((int)uVar9 <= (int)uVar8)) { + FUN_14003e7c0(_Str,_SubStr_00,puVar11,plVar7); + *param_2 = (longlong)PTR_DAT_14016f008; + if (((ppppppppppplVar6 != (longlong ***********)0x0) && + (ppppppppppplVar6 != (longlong ***********)PTR_DAT_14016f008)) && + (ppppppppppplVar6 + -1 != (longlong ***********)0x0)) { + _Str = (longlong ************)FUN_14003e7c0(_Str,_SubStr_00,puVar11,plVar7); + local_40 = (longlong ***********)_Str; + FUN_14003d040((int *)_Str); + local_38 = 1; + piVar1 = (int *)((longlong)ppppppppppplVar6 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(ppppppppppplVar6 + -1); + } + FUN_14003d0d0((longlong)_Str); + } + if (ppppplVar2 == (longlong *****)0x0) { + return param_2; + } + if (ppppplVar2 == (longlong *****)PTR_DAT_14016f008) { + return param_2; + } + if (ppppplVar2 + -1 == (longlong *****)0x0) { + return param_2; + } + ppppppppppplVar6 = (longlong ***********)FUN_14003e7c0(_Str,_SubStr_00,puVar11,plVar7); + local_40 = ppppppppppplVar6; + FUN_14003d040((int *)ppppppppppplVar6); + local_38 = 1; + piVar1 = (int *)((longlong)ppppplVar2 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(ppppplVar2 + -1); + } + } + else { + uVar13 = (ulonglong)(uVar9 - uVar8); + uVar12 = (ulonglong)uVar8; + plVar7 = param_2; + FUN_1400c9e20((longlong *)param_3,param_2,uVar8,uVar9 - uVar8); + if (((ppppppppppplVar6 != (longlong ***********)0x0) && + (ppppppppppplVar6 != (longlong ***********)PTR_DAT_14016f008)) && + (ppppppppppplVar6 + -1 != (longlong ***********)0x0)) { + param_3 = (longlong *******)FUN_14003e7c0(param_3,plVar7,uVar12,uVar13); + local_40 = (longlong ***********)param_3; + FUN_14003d040((int *)param_3); + local_38 = 1; + piVar1 = (int *)((longlong)ppppppppppplVar6 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(ppppppppppplVar6 + -1); + } + FUN_14003d0d0((longlong)param_3); + } + if (ppppplVar2 == (longlong *****)0x0) { + return param_2; + } + if (ppppplVar2 == (longlong *****)PTR_DAT_14016f008) { + return param_2; + } + if (ppppplVar2 + -1 == (longlong *****)0x0) { + return param_2; + } + ppppppppppplVar6 = (longlong ***********)FUN_14003e7c0(param_3,plVar7,uVar12,uVar13); + local_40 = ppppppppppplVar6; + FUN_14003d040((int *)ppppppppppplVar6); + local_38 = 1; + piVar1 = (int *)((longlong)ppppplVar2 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(ppppplVar2 + -1); + } + } + FUN_14003d0d0((longlong)ppppppppppplVar6); + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400caca0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400caca0.c new file mode 100644 index 00000000..f36db8c0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400caca0.c @@ -0,0 +1,86 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400caca0 FUN_1400caca0 + * Pseudocode, not original source. */ + +void FUN_1400caca0(longlong param_1,longlong param_2,longlong param_3,undefined8 param_4) + +{ + longlong lVar1; + longlong *plVar2; + longlong *plVar3; + longlong *plVar4; + int iVar5; + double dVar6; + longlong *local_res8; + + FUN_14003d040((int *)(param_1 + 0x10)); + plVar2 = *(longlong **)(param_1 + 8); + dVar6 = (double)FUN_1400bf740((longlong)plVar2); + if (600.0 < dVar6 - *(double *)(param_1 + 0x128)) { + plVar4 = (longlong *)0x0; + plVar3 = plVar4; + while (iVar5 = (int)plVar3, iVar5 != *(int *)(param_1 + 0x118)) { + if ((iVar5 < 0) || (*(int *)(param_1 + 0x118) <= iVar5)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(plVar2,param_2,param_3,param_4); + } + param_2 = (longlong)iVar5; + param_3 = *(longlong *)(param_1 + 0x110); + local_res8 = (longlong *)0x0; + lVar1 = *(longlong *)(param_3 + param_2 * 8); + if (lVar1 != 0) { + *(longlong *)(*(longlong *)(param_3 + param_2 * 8) + 8) = *(longlong *)(lVar1 + 8) + 1; + local_res8 = *(longlong **)(param_3 + param_2 * 8); + } + plVar2 = plVar4; + if (local_res8 != (longlong *)0x0) { + plVar2 = (longlong *)*local_res8; + } + plVar2 = (longlong *)plVar2[2]; + if ((plVar2 != (longlong *)0x0) && (*plVar2 != 0)) { + plVar3 = plVar4; + if (local_res8 != (longlong *)0x0) { + plVar3 = (longlong *)*local_res8; + } + plVar2 = plVar4; + if ((undefined8 *)plVar3[2] != (undefined8 *)0x0) { + plVar2 = *(longlong **)plVar3[2]; + } + FUN_140043a50(plVar2,param_2,param_3,param_4); + } + if (local_res8 != (longlong *)0x0) { + plVar3 = local_res8 + 1; + *plVar3 = *plVar3 + -1; + if (*plVar3 == 0) { + if ((undefined8 *)*local_res8 != (undefined8 *)0x0) { + param_2 = 1; + (*(code *)**(undefined8 **)*local_res8)(); + } + FUN_14003e8b0(local_res8); + plVar2 = local_res8; + } + } + if (*(int *)(param_1 + 0x118) <= iVar5) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(plVar2,param_2,param_3,param_4); + } + plVar3 = (longlong *)(ulonglong)(iVar5 + 1); + } + plVar2 = plVar4; + if (*(longlong *)(param_1 + 0x70) != 0) { + plVar2 = *(longlong **)(param_1 + 0x60); + } + for (; plVar2 != (longlong *)0x0; plVar2 = (longlong *)plVar2[2]) { + plVar3 = plVar4; + if ((longlong *)plVar2[1] != (longlong *)0x0) { + plVar3 = *(longlong **)plVar2[1]; + } + if ((int)plVar3[0x492] < 4) { + plVar3[0x492] = 4; + } + } + } + FUN_14003d0d0(param_1 + 0x10); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400cae50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400cae50.c new file mode 100644 index 00000000..65674303 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400cae50.c @@ -0,0 +1,27 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400cae50 FUN_1400cae50 + * Pseudocode, not original source. */ + +void FUN_1400cae50(undefined8 *param_1,undefined8 param_2,longlong *param_3,undefined8 param_4) + +{ + undefined8 *puVar1; + longlong *plVar2; + + FUN_140049e40(param_1 + 4); + if ((param_1[2] != 0) && + (*(longlong *)(param_1[2] + 8) = *(longlong *)(param_1[2] + 8) + -1, + *(longlong *)(param_1[2] + 8) == 0)) { + puVar1 = (undefined8 *)param_1[2]; + plVar2 = (longlong *)*puVar1; + if (plVar2 != (longlong *)0x0) { + FUN_140043e60(plVar2,param_2,param_3,param_4); + FUN_14003e8b0(plVar2); + } + FUN_14003e8b0(puVar1); + } + FUN_140006e80(param_1 + 1); + *param_1 = Proud::IFastSocketDelegate::vftable; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400caef0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400caef0.c new file mode 100644 index 00000000..85faad21 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400caef0.c @@ -0,0 +1,28 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400caef0 FUN_1400caef0 + * Pseudocode, not original source. */ + +void FUN_1400caef0(undefined8 *param_1) + +{ + LPVOID pvVar1; + longlong *plVar2; + + *param_1 = Proud::CFastArray,0>::vftable; + if (0 < *(int *)(param_1 + 3)) { + FUN_1400517d0((longlong *)param_1[2],(longlong)*(int *)(param_1 + 3)); + } + pvVar1 = (LPVOID)param_1[2]; + if (pvVar1 != (LPVOID)0x0) { + plVar2 = (longlong *)param_1[1]; + if (plVar2 != (longlong *)0x0) { + /* WARNING: Could not recover jumptable at 0x0001400caf37. Too many branches */ + /* WARNING: Treating indirect jump as call */ + (**(code **)(*plVar2 + 0x18))(plVar2,pvVar1); + return; + } + FUN_14003e8b0(pvVar1); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400caf50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400caf50.c new file mode 100644 index 00000000..597fe171 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400caf50.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400caf50 FUN_1400caf50 + * Pseudocode, not original source. */ + +undefined8 * FUN_1400caf50(undefined8 *param_1,uint param_2) + +{ + LPVOID pvVar1; + longlong *plVar2; + + *param_1 = Proud::CFastArray,0>::vftable; + if (0 < *(int *)(param_1 + 3)) { + FUN_1400517d0((longlong *)param_1[2],(longlong)*(int *)(param_1 + 3)); + } + pvVar1 = (LPVOID)param_1[2]; + if (pvVar1 != (LPVOID)0x0) { + plVar2 = (longlong *)param_1[1]; + if (plVar2 == (longlong *)0x0) { + FUN_14003e8b0(pvVar1); + } + else { + (**(code **)(*plVar2 + 0x18))(plVar2,pvVar1); + } + } + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400cafc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400cafc0.c new file mode 100644 index 00000000..2d2ee3a9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400cafc0.c @@ -0,0 +1,110 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400cafc0 FUN_1400cafc0 + * Pseudocode, not original source. */ + +void FUN_1400cafc0(longlong param_1,int param_2) + +{ + longlong *plVar1; + undefined8 *puVar2; + longlong *plVar3; + int iVar4; + int iVar5; + longlong *plVar6; + int iVar7; + longlong lVar8; + longlong lVar9; + exception local_a0 [152]; + + lVar8 = (longlong)param_2; + if (param_2 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + iVar5 = *(int *)(param_1 + 0x18); + if (param_2 != iVar5) { + if (*(int *)(param_1 + 0x1c) < param_2) { + iVar5 = FUN_14008c010(param_1,param_2); + lVar9 = (longlong)iVar5; + plVar3 = *(longlong **)(param_1 + 8); + if (*(int *)(param_1 + 0x1c) == 0) { + if (plVar3 == (longlong *)0x0) { + puVar2 = (undefined8 *)FUN_14003e840(lVar9 << 3); + } + else { + puVar2 = (undefined8 *)(**(code **)(*plVar3 + 8))(plVar3,lVar9 << 3); + } + *(undefined8 **)(param_1 + 0x10) = puVar2; + if (0 < param_2) { + do { + if (puVar2 != (undefined8 *)0x0) { + *puVar2 = 0; + } + puVar2 = puVar2 + 1; + lVar8 = lVar8 + -1; + } while (lVar8 != 0); + } + } + else { + plVar1 = *(longlong **)(param_1 + 0x10); + if (plVar3 == (longlong *)0x0) { + plVar3 = (longlong *)FUN_14003e840(lVar9 << 3); + } + else { + plVar3 = (longlong *)(**(code **)(*plVar3 + 8))(plVar3,lVar9 << 3); + } + FUN_1400c9f10(plVar3,(longlong)plVar1,(longlong)*(int *)(param_1 + 0x18)); + iVar4 = param_2 - *(int *)(param_1 + 0x18); + plVar6 = plVar3 + *(int *)(param_1 + 0x18); + iVar7 = 0; + if (0 < iVar4) { + do { + if (plVar6 != (longlong *)0x0) { + *plVar6 = 0; + } + iVar7 = iVar7 + 1; + plVar6 = plVar6 + 1; + } while ((longlong)iVar7 < (longlong)iVar4); + } + if (plVar3 == (longlong *)0x0) { + FUN_14003db10(local_a0,L"Memory allocation failure!",0,(longlong)iVar4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_a0,(ThrowInfo *)&DAT_14016c210); + } + FUN_1400517d0(plVar1,(longlong)*(int *)(param_1 + 0x18)); + plVar6 = *(longlong **)(param_1 + 8); + if (plVar6 == (longlong *)0x0) { + FUN_14003e8b0(plVar1); + } + else { + (**(code **)(*plVar6 + 0x18))(plVar6,plVar1); + } + *(longlong **)(param_1 + 0x10) = plVar3; + } + *(int *)(param_1 + 0x1c) = iVar5; + } + else if (iVar5 - param_2 < 1) { + iVar4 = param_2 - iVar5; + if (0 < iVar4) { + puVar2 = (undefined8 *)(*(longlong *)(param_1 + 0x10) + (longlong)iVar5 * 8); + iVar5 = 0; + if (0 < iVar4) { + do { + if (puVar2 != (undefined8 *)0x0) { + *puVar2 = 0; + } + iVar5 = iVar5 + 1; + puVar2 = puVar2 + 1; + } while (iVar5 < iVar4); + } + } + } + else { + FUN_1400517d0((longlong *)(*(longlong *)(param_1 + 0x10) + lVar8 * 8), + (longlong)(iVar5 - param_2)); + } + *(int *)(param_1 + 0x18) = param_2; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400cb1b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400cb1b0.c new file mode 100644 index 00000000..57836c93 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400cb1b0.c @@ -0,0 +1,52 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400cb1b0 FUN_1400cb1b0 + * Pseudocode, not original source. */ + +void FUN_1400cb1b0(undefined8 param_1,longlong param_2) + +{ + uint uVar1; + longlong lVar2; + undefined8 *puVar3; + int iVar4; + longlong local_res10 [3]; + undefined **local_20; + undefined4 local_18; + undefined2 local_14; + + *(undefined1 *)(param_2 + 0x80) = 1; + local_20 = Proud::AddrPort::vftable; + local_18 = DAT_14017c620; + local_14 = DAT_14017c624; + if (DAT_14017c610 == (undefined8 *)0x0) { + iVar4 = 0; + puVar3 = (undefined8 *)PTR_DAT_14016f008; + } + else { + puVar3 = DAT_14017c610; + if (DAT_14017c610 == (undefined8 *)PTR_DAT_14016f008) { + iVar4 = 0; + } + else { + iVar4 = *(int *)(DAT_14017c610 + -1); + } + } + if (*(longlong **)(param_2 + 0x10) == (longlong *)0x0) { + lVar2 = 0; + } + else { + lVar2 = **(longlong **)(param_2 + 0x10); + } + uVar1 = FUN_140045890(lVar2,puVar3,(undefined **)(ulonglong)(iVar4 + 1),(longlong)&local_20); + if ((uVar1 == 0) || (uVar1 == 0x3e5)) { + *(undefined4 *)(param_2 + 0x18) = 1; + } + else { + *(undefined1 *)(param_2 + 0x80) = 0; + local_res10[0] = 0; + FUN_140040510((longlong *)(param_2 + 0x10),local_res10); + *(undefined4 *)(param_2 + 0x18) = 3; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400cb280.c b/decomp/AgentManager_Release_x64/full/functions/0x1400cb280.c new file mode 100644 index 00000000..f799859c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400cb280.c @@ -0,0 +1,40 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400cb280 FUN_1400cb280 + * Pseudocode, not original source. */ + +void FUN_1400cb280(undefined8 param_1,longlong param_2,SIZE_T param_3,undefined8 param_4) + +{ + uint uVar1; + void *_Dst; + longlong lVar2; + undefined **_Size; + longlong local_res10 [3]; + + FUN_14002a050(param_2 + 0x20,0x2000,param_3); + if (*(int *)(param_2 + 0x38) == 0) { + _Dst = (void *)0x0; + } + else { + _Dst = *(void **)(param_2 + 0x30); + } + _Size = (undefined **)(longlong)*(int *)(param_2 + 0x38); + memset(_Dst,0,(size_t)_Size); + *(undefined1 *)(param_2 + 0xc0) = 1; + lVar2 = 0; + if (*(longlong **)(param_2 + 0x10) != (longlong *)0x0) { + lVar2 = **(longlong **)(param_2 + 0x10); + } + uVar1 = FUN_1400449f0(lVar2,(ulonglong)(*(int *)(param_2 + 0x38) - 1),_Size,param_4); + if (uVar1 == 0) { + *(undefined4 *)(param_2 + 0x18) = 2; + } + else { + *(undefined1 *)(param_2 + 0xc0) = 0; + local_res10[0] = 0; + FUN_140040510((longlong *)(param_2 + 0x10),local_res10); + *(undefined4 *)(param_2 + 0x18) = 3; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400cb320.c b/decomp/AgentManager_Release_x64/full/functions/0x1400cb320.c new file mode 100644 index 00000000..3c200034 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400cb320.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400cb320 FUN_1400cb320 + * Pseudocode, not original source. */ + +undefined8 * +FUN_1400cb320(undefined8 *param_1,ulonglong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_1400cae50(param_1,param_2,param_3,param_4); + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400cb350.c b/decomp/AgentManager_Release_x64/full/functions/0x1400cb350.c new file mode 100644 index 00000000..39931dab --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400cb350.c @@ -0,0 +1,102 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400cb350 FUN_1400cb350 + * Pseudocode, not original source. */ + +void FUN_1400cb350(char *param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong *plVar1; + uint uVar2; + ulonglong uVar3; + longlong lVar4; + longlong lVar5; + longlong *plVar6; + float fVar7; + float fVar8; + + *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + 1; + FUN_1400c8cb0(param_1); + plVar6 = *(longlong **)(param_1 + 0x10); + while (plVar6 != (longlong *)0x0) { + plVar1 = (longlong *)plVar6[2]; + FUN_140002190(plVar6,param_2,param_3,param_4); + if (*(longlong **)(param_1 + 0x50) == (longlong *)0x0) { + FUN_14003e8b0(plVar6); + } + else { + (**(code **)(**(longlong **)(param_1 + 0x50) + 0x18))(); + param_2 = plVar6; + } + *(longlong *)(param_1 + 0x20) = *(longlong *)(param_1 + 0x20) + -1; + plVar6 = plVar1; + } + FUN_14003e8b0(*(LPVOID *)(param_1 + 8)); + param_1[8] = '\0'; + param_1[9] = '\0'; + param_1[10] = '\0'; + param_1[0xb] = '\0'; + param_1[0xc] = '\0'; + param_1[0xd] = '\0'; + param_1[0xe] = '\0'; + param_1[0xf] = '\0'; + param_1[0x20] = '\0'; + param_1[0x21] = '\0'; + param_1[0x22] = '\0'; + param_1[0x23] = '\0'; + param_1[0x24] = '\0'; + param_1[0x25] = '\0'; + param_1[0x26] = '\0'; + param_1[0x27] = '\0'; + param_1[0x10] = '\0'; + param_1[0x11] = '\0'; + param_1[0x12] = '\0'; + param_1[0x13] = '\0'; + param_1[0x14] = '\0'; + param_1[0x15] = '\0'; + param_1[0x16] = '\0'; + param_1[0x17] = '\0'; + param_1[0x18] = '\0'; + param_1[0x19] = '\0'; + param_1[0x1a] = '\0'; + param_1[0x1b] = '\0'; + param_1[0x1c] = '\0'; + param_1[0x1d] = '\0'; + param_1[0x1e] = '\0'; + param_1[0x1f] = '\0'; + FUN_1400c8cb0(param_1); + if (*(int *)(param_1 + 0x48) == 0) { + uVar2 = FUN_14009b970((longlong)param_1,*(longlong *)(param_1 + 0x20)); + if (*(LPVOID *)(param_1 + 8) != (LPVOID)0x0) { + FUN_14003e8b0(*(LPVOID *)(param_1 + 8)); + param_1[8] = '\0'; + param_1[9] = '\0'; + param_1[10] = '\0'; + param_1[0xb] = '\0'; + param_1[0xc] = '\0'; + param_1[0xd] = '\0'; + param_1[0xe] = '\0'; + param_1[0xf] = '\0'; + } + lVar4 = 0; + *(uint *)(param_1 + 0x28) = uVar2; + fVar8 = (float)uVar2 * *(float *)(param_1 + 0x34); + if ((9.223372e+18 < fVar8) && (fVar8 = fVar8 - 9.223372e+18, fVar8 < 9.223372e+18)) { + lVar4 = -0x8000000000000000; + } + fVar7 = (float)uVar2 * *(float *)(param_1 + 0x30); + lVar5 = 0; + *(longlong *)(param_1 + 0x38) = (longlong)fVar8 + lVar4; + if ((9.223372e+18 < fVar7) && (fVar7 = fVar7 - 9.223372e+18, fVar7 < 9.223372e+18)) { + lVar5 = -0x8000000000000000; + } + uVar3 = (longlong)fVar7 + lVar5; + if ((ulonglong)((longlong)fVar7 + lVar5) < 0x11) { + uVar3 = 0; + } + *(ulonglong *)(param_1 + 0x40) = uVar3; + } + FUN_1400c8cb0(param_1); + *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + -1; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400cb480.c b/decomp/AgentManager_Release_x64/full/functions/0x1400cb480.c new file mode 100644 index 00000000..eeae34dc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400cb480.c @@ -0,0 +1,31 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400cb480 FUN_1400cb480 + * Pseudocode, not original source. */ + +void FUN_1400cb480(char *param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong *plVar1; + uint uVar2; + + if (param_2 == (longlong *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + FUN_1400c93c0(param_2,param_2,param_3,param_4); + plVar1 = *(longlong **)(param_1 + 0x50); + if (plVar1 == (longlong *)0x0) { + FUN_14003e8b0(param_2); + } + else { + (**(code **)(*plVar1 + 0x18))(plVar1,param_2); + } + *(longlong *)(param_1 + 0x20) = *(longlong *)(param_1 + 0x20) + -1; + if ((((char)param_3 != '\0') && (*(ulonglong *)(param_1 + 0x20) < *(ulonglong *)(param_1 + 0x40))) + && (*(int *)(param_1 + 0x48) == 0)) { + uVar2 = FUN_14009b970((longlong)param_1,*(ulonglong *)(param_1 + 0x20)); + FUN_1400c8de0(param_1,uVar2); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400cb510.c b/decomp/AgentManager_Release_x64/full/functions/0x1400cb510.c new file mode 100644 index 00000000..8f249801 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400cb510.c @@ -0,0 +1,65 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400cb510 FUN_1400cb510 + * Pseudocode, not original source. */ + +void FUN_1400cb510(char *param_1,longlong *param_2,ulonglong param_3) + +{ + uint uVar1; + ulonglong uVar2; + uint uVar3; + + if (param_2 == (longlong *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + uVar1 = *(uint *)(param_1 + 0x28); + uVar2 = (ulonglong)*(uint *)(param_2 + 4) % (ulonglong)uVar1; + if (*(longlong *)(param_1 + 0x20) == 1) { + *(undefined8 *)(*(longlong *)(param_1 + 8) + uVar2 * 8) = 0; + param_1[0x10] = '\0'; + param_1[0x11] = '\0'; + param_1[0x12] = '\0'; + param_1[0x13] = '\0'; + param_1[0x14] = '\0'; + param_1[0x15] = '\0'; + param_1[0x16] = '\0'; + param_1[0x17] = '\0'; + param_1[0x18] = '\0'; + param_1[0x19] = '\0'; + param_1[0x1a] = '\0'; + param_1[0x1b] = '\0'; + param_1[0x1c] = '\0'; + param_1[0x1d] = '\0'; + param_1[0x1e] = '\0'; + param_1[0x1f] = '\0'; + } + else { + uVar3 = (uint)uVar2; + if (((param_2[3] == 0) || (*(uint *)(param_2[3] + 0x20) % uVar1 != uVar3)) && + ((param_2[2] == 0 || (*(uint *)(param_2[2] + 0x20) % uVar1 != uVar3)))) { + *(undefined8 *)(*(longlong *)(param_1 + 8) + uVar2 * 8) = 0; + } + else if (param_2 == *(longlong **)(*(longlong *)(param_1 + 8) + (longlong)(int)uVar3 * 8)) { + *(longlong *)(*(longlong *)(param_1 + 8) + uVar2 * 8) = param_2[2]; + } + if (param_2 == *(longlong **)(param_1 + 0x10)) { + *(longlong *)(param_1 + 0x10) = param_2[2]; + param_2[3] = 0; + } + if (param_2 == *(longlong **)(param_1 + 0x18)) { + *(longlong *)(param_1 + 0x18) = param_2[3]; + param_2[2] = 0; + } + if (param_2[3] != 0) { + *(longlong *)(param_2[3] + 0x10) = param_2[2]; + } + if (param_2[2] != 0) { + *(longlong *)(param_2[2] + 0x18) = param_2[3]; + } + } + FUN_1400cb480(param_1,param_2,param_3 & 0xff,param_2); + FUN_1400c8cb0(param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400cb610.c b/decomp/AgentManager_Release_x64/full/functions/0x1400cb610.c new file mode 100644 index 00000000..7fee6045 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400cb610.c @@ -0,0 +1,79 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400cb610 FUN_1400cb610 + * Pseudocode, not original source. */ + +longlong * FUN_1400cb610(char *param_1,longlong *param_2,ulonglong param_3,undefined8 param_4) + +{ + longlong lVar1; + uint uVar2; + longlong *plVar3; + longlong *plVar4; + longlong *plVar5; + undefined4 uVar6; + ulonglong uVar7; + + uVar6 = (undefined4)param_4; + uVar7 = param_3 & 0xffffffff; + plVar4 = *(longlong **)(param_1 + 0x50); + if (plVar4 == (longlong *)0x0) { + plVar4 = (longlong *)0x28; + plVar5 = param_2; + plVar3 = (longlong *)FUN_14003e840(0x28); + } + else { + plVar5 = (longlong *)0x28; + plVar3 = (longlong *)(**(code **)(*plVar4 + 8))(); + } + if (plVar3 != (longlong *)0x0) { + FUN_14003e7c0(plVar4,plVar5,param_3,param_4); + *plVar3 = (longlong)PTR_DAT_14016f008; + FUN_140006de0(plVar3,param_2,param_3,param_4); + plVar3[1] = 0; + *(undefined4 *)(plVar3 + 4) = uVar6; + } + lVar1 = *(longlong *)(*(longlong *)(param_1 + 8) + uVar7 * 8); + FUN_1400c8cb0(param_1); + if (*(longlong *)(param_1 + 0x20) == 0) { + *(longlong **)(param_1 + 0x10) = plVar3; + *(longlong **)(param_1 + 0x18) = plVar3; + plVar3[3] = 0; + plVar3[2] = 0; + } + else { + FUN_1400c8cb0(param_1); + FUN_1400c8cb0(param_1); + if (lVar1 == 0) { + lVar1 = *(longlong *)(param_1 + 0x10); + plVar3[3] = 0; + plVar3[2] = lVar1; + if (lVar1 != 0) { + *(longlong **)(lVar1 + 0x18) = plVar3; + } + *(longlong **)(param_1 + 0x10) = plVar3; + } + else { + if (*(longlong *)(lVar1 + 0x18) == 0) { + *(longlong **)(param_1 + 0x10) = plVar3; + } + else { + *(longlong **)(*(longlong *)(lVar1 + 0x18) + 0x10) = plVar3; + } + plVar3[3] = *(longlong *)(lVar1 + 0x18); + plVar3[2] = lVar1; + *(longlong **)(lVar1 + 0x18) = plVar3; + } + } + *(longlong **)(*(longlong *)(param_1 + 8) + uVar7 * 8) = plVar3; + *(longlong *)(param_1 + 0x20) = *(longlong *)(param_1 + 0x20) + 1; + FUN_1400c8cb0(param_1); + FUN_1400c8cb0(param_1); + if ((*(ulonglong *)(param_1 + 0x38) < *(ulonglong *)(param_1 + 0x20)) && + (*(int *)(param_1 + 0x48) == 0)) { + uVar2 = FUN_14009b970((longlong)param_1,*(ulonglong *)(param_1 + 0x20)); + FUN_1400c8de0(param_1,uVar2); + } + FUN_1400c8cb0(param_1); + return plVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400cb780.c b/decomp/AgentManager_Release_x64/full/functions/0x1400cb780.c new file mode 100644 index 00000000..55f23810 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400cb780.c @@ -0,0 +1,78 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400cb780 FUN_1400cb780 + * Pseudocode, not original source. */ + +longlong * FUN_1400cb780(char *param_1,longlong *param_2,ulonglong param_3,undefined8 param_4) + +{ + longlong lVar1; + uint uVar2; + longlong *plVar3; + longlong *plVar4; + longlong *plVar5; + undefined4 uVar6; + ulonglong uVar7; + + uVar6 = (undefined4)param_4; + uVar7 = param_3 & 0xffffffff; + plVar4 = *(longlong **)(param_1 + 0x50); + if (plVar4 == (longlong *)0x0) { + plVar4 = (longlong *)0x28; + plVar5 = param_2; + plVar3 = (longlong *)FUN_14003e840(0x28); + } + else { + plVar5 = (longlong *)0x28; + plVar3 = (longlong *)(**(code **)(*plVar4 + 8))(); + } + if (plVar3 != (longlong *)0x0) { + FUN_14003e7c0(plVar4,plVar5,param_3,param_4); + *plVar3 = (longlong)PTR_DAT_14016f010; + FUN_1400020c0(plVar3,param_2,param_3,param_4); + *(undefined4 *)(plVar3 + 4) = uVar6; + } + lVar1 = *(longlong *)(*(longlong *)(param_1 + 8) + uVar7 * 8); + FUN_1400c8cb0(param_1); + if (*(longlong *)(param_1 + 0x20) == 0) { + *(longlong **)(param_1 + 0x10) = plVar3; + *(longlong **)(param_1 + 0x18) = plVar3; + plVar3[3] = 0; + plVar3[2] = 0; + } + else { + FUN_1400c8cb0(param_1); + FUN_1400c8cb0(param_1); + if (lVar1 == 0) { + lVar1 = *(longlong *)(param_1 + 0x10); + plVar3[3] = 0; + plVar3[2] = lVar1; + if (lVar1 != 0) { + *(longlong **)(lVar1 + 0x18) = plVar3; + } + *(longlong **)(param_1 + 0x10) = plVar3; + } + else { + if (*(longlong *)(lVar1 + 0x18) == 0) { + *(longlong **)(param_1 + 0x10) = plVar3; + } + else { + *(longlong **)(*(longlong *)(lVar1 + 0x18) + 0x10) = plVar3; + } + plVar3[3] = *(longlong *)(lVar1 + 0x18); + plVar3[2] = lVar1; + *(longlong **)(lVar1 + 0x18) = plVar3; + } + } + *(longlong **)(*(longlong *)(param_1 + 8) + uVar7 * 8) = plVar3; + *(longlong *)(param_1 + 0x20) = *(longlong *)(param_1 + 0x20) + 1; + FUN_1400c8cb0(param_1); + FUN_1400c8cb0(param_1); + if ((*(ulonglong *)(param_1 + 0x38) < *(ulonglong *)(param_1 + 0x20)) && + (*(int *)(param_1 + 0x48) == 0)) { + uVar2 = FUN_14009b970((longlong)param_1,*(ulonglong *)(param_1 + 0x20)); + FUN_1400c8de0(param_1,uVar2); + } + FUN_1400c8cb0(param_1); + return plVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400cb8e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400cb8e0.c new file mode 100644 index 00000000..ef1f614e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400cb8e0.c @@ -0,0 +1,99 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400cb8e0 FUN_1400cb8e0 + * Pseudocode, not original source. */ + +void FUN_1400cb8e0(undefined8 param_1,longlong *param_2,longlong *param_3,undefined8 param_4) + +{ + longlong *plVar1; + char *pcVar2; + undefined8 *puVar3; + uint uVar4; + undefined4 uVar5; + undefined8 *puVar6; + undefined8 uVar7; + undefined8 **ppuVar8; + undefined8 *puVar9; + undefined8 *local_res10; + longlong local_res18 [2]; + longlong local_38 [2]; + + local_38[1] = 0xfffffffffffffffe; + local_res10 = (undefined8 *)FUN_14003e840(0x400); + puVar9 = (undefined8 *)0x0; + puVar6 = puVar9; + if (local_res10 != (undefined8 *)0x0) { + param_3 = param_2; + puVar6 = FUN_140043f50(local_res10,1,param_2,param_4); + } + if (puVar6 == (undefined8 *)0x0) { + local_res10 = (undefined8 *)0x0; + } + else { + local_res10 = (undefined8 *)FUN_14003e840(0x10); + local_res10[1] = 1; + *local_res10 = puVar6; + } + puVar6 = local_res10; + ppuVar8 = &local_res10; + FUN_140040510(param_2 + 2,(longlong *)ppuVar8); + puVar3 = local_res10; + if (puVar6 != (undefined8 *)0x0) { + plVar1 = puVar6 + 1; + *plVar1 = *plVar1 + -1; + if (*plVar1 == 0) { + plVar1 = (longlong *)*local_res10; + if (plVar1 != (longlong *)0x0) { + FUN_140043e60(plVar1,ppuVar8,param_3,param_4); + FUN_14003e8b0(plVar1); + } + FUN_14003e8b0(puVar3); + } + } + puVar6 = puVar9; + if ((undefined8 *)param_2[2] != (undefined8 *)0x0) { + puVar6 = *(undefined8 **)param_2[2]; + } + uVar4 = FUN_1400451d0((longlong)puVar6,'\x01'); + if (uVar4 == 0) { + pcVar2 = (char *)param_2[1]; + if (((pcVar2 == (char *)0x0) || (pcVar2 == PTR_DAT_14016f008)) || (*(int *)(pcVar2 + -8) < 1)) { + puVar6 = puVar9; + if ((undefined8 *)param_2[2] != (undefined8 *)0x0) { + puVar6 = *(undefined8 **)param_2[2]; + } + uVar5 = FUN_140045ad0((longlong)puVar6,pcVar2,param_3,param_4); + if ((char)uVar5 == '\0') { + local_38[0] = 0; + FUN_140040510(param_2 + 2,local_38); + *(undefined4 *)(param_2 + 3) = 3; + return; + } + } + else { + puVar6 = puVar9; + if ((undefined8 *)param_2[2] != (undefined8 *)0x0) { + puVar6 = *(undefined8 **)param_2[2]; + } + uVar7 = FUN_140045590((longlong)puVar6,pcVar2,0,param_4); + if ((char)uVar7 == '\0') { + local_res18[1] = 0; + FUN_140040510(param_2 + 2,local_res18 + 1); + *(undefined4 *)(param_2 + 3) = 3; + return; + } + } + if ((undefined8 *)param_2[2] != (undefined8 *)0x0) { + puVar9 = *(undefined8 **)param_2[2]; + } + FUN_140043230((longlong)puVar9,'\0'); + FUN_1400cb1b0(param_1,(longlong)param_2); + } + else { + local_res18[0] = 0; + FUN_140040510(param_2 + 2,local_res18); + *(undefined4 *)(param_2 + 3) = 3; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400cbab0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400cbab0.c new file mode 100644 index 00000000..9f1c4e83 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400cbab0.c @@ -0,0 +1,52 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400cbab0 FUN_1400cbab0 + * Pseudocode, not original source. */ + +void FUN_1400cbab0(longlong param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 uVar1; + longlong lVar2; + uint *puVar3; + longlong local_res10; + uint local_40 [2]; + undefined **local_38; + undefined4 local_30; + undefined2 local_2c; + int local_28; + + while( true ) { + local_38 = Proud::AddrPort::vftable; + local_28 = 0; + local_40[0] = 0; + local_40[1] = 0; + local_30 = DAT_14016f3d0; + local_2c = DAT_14016f3d4; + lVar2 = 0; + if (*(longlong **)(param_2 + 0x10) != (longlong *)0x0) { + lVar2 = **(longlong **)(param_2 + 0x10); + } + puVar3 = local_40; + uVar1 = FUN_140043980(lVar2,0,puVar3); + if ((char)uVar1 == '\0') break; + *(undefined1 *)(param_2 + 0x80) = 0; + if ((local_40[1] != 0) || (local_28 == 0)) { + *(undefined4 *)(param_2 + 0x18) = 3; + local_res10 = 0; + FUN_140040510((longlong *)(param_2 + 0x10),&local_res10); + return; + } + *(int *)(param_2 + 0x1c) = *(int *)(param_2 + 0x1c) + 1; + if (2 < *(int *)(param_2 + 0x1c)) { + if (*(double *)(param_2 + 200) == 0.0) { + uVar1 = FUN_1400bf740(*(longlong *)(param_1 + 8)); + *(undefined8 *)(param_2 + 200) = uVar1; + } + FUN_1400cb280(param_1,param_2,(SIZE_T)puVar3,param_4); + return; + } + FUN_1400cb1b0(param_1,param_2); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400cbbc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400cbbc0.c new file mode 100644 index 00000000..072bf497 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400cbbc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400cbbc0 FUN_1400cbbc0 + * Pseudocode, not original source. */ + +void FUN_1400cbbc0(char *param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400cb350(param_1,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400cbbe0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400cbbe0.c new file mode 100644 index 00000000..49098dce --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400cbbe0.c @@ -0,0 +1,112 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400cbbe0 FUN_1400cbbe0 + * Pseudocode, not original source. */ + +void FUN_1400cbbe0(char *param_1) + +{ + longlong *plVar1; + longlong *plVar2; + undefined8 *puVar3; + longlong *plVar4; + uint uVar5; + ulonglong uVar6; + longlong lVar7; + float fVar8; + + *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + 1; + FUN_1400c8cb0(param_1); + plVar4 = *(longlong **)(param_1 + 0x10); + while (plVar4 != (longlong *)0x0) { + plVar1 = (longlong *)plVar4[2]; + if ((plVar4[1] != 0) && + (*(longlong *)(plVar4[1] + 8) = *(longlong *)(plVar4[1] + 8) + -1, + *(longlong *)(plVar4[1] + 8) == 0)) { + plVar2 = (longlong *)plVar4[1]; + puVar3 = (undefined8 *)*plVar2; + if (puVar3 != (undefined8 *)0x0) { + (**(code **)*puVar3)(puVar3,1); + } + FUN_14003e8b0(plVar2); + } + FUN_140006e80(plVar4); + plVar2 = *(longlong **)(param_1 + 0x50); + if (plVar2 == (longlong *)0x0) { + FUN_14003e8b0(plVar4); + } + else { + (**(code **)(*plVar2 + 0x18))(plVar2,plVar4); + } + *(longlong *)(param_1 + 0x20) = *(longlong *)(param_1 + 0x20) + -1; + plVar4 = plVar1; + } + FUN_14003e8b0(*(LPVOID *)(param_1 + 8)); + param_1[8] = '\0'; + param_1[9] = '\0'; + param_1[10] = '\0'; + param_1[0xb] = '\0'; + param_1[0xc] = '\0'; + param_1[0xd] = '\0'; + param_1[0xe] = '\0'; + param_1[0xf] = '\0'; + param_1[0x20] = '\0'; + param_1[0x21] = '\0'; + param_1[0x22] = '\0'; + param_1[0x23] = '\0'; + param_1[0x24] = '\0'; + param_1[0x25] = '\0'; + param_1[0x26] = '\0'; + param_1[0x27] = '\0'; + param_1[0x10] = '\0'; + param_1[0x11] = '\0'; + param_1[0x12] = '\0'; + param_1[0x13] = '\0'; + param_1[0x14] = '\0'; + param_1[0x15] = '\0'; + param_1[0x16] = '\0'; + param_1[0x17] = '\0'; + param_1[0x18] = '\0'; + param_1[0x19] = '\0'; + param_1[0x1a] = '\0'; + param_1[0x1b] = '\0'; + param_1[0x1c] = '\0'; + param_1[0x1d] = '\0'; + param_1[0x1e] = '\0'; + param_1[0x1f] = '\0'; + FUN_1400c8cb0(param_1); + if (*(int *)(param_1 + 0x48) == 0) { + uVar5 = FUN_14009b970((longlong)param_1,*(longlong *)(param_1 + 0x20)); + if (*(LPVOID *)(param_1 + 8) != (LPVOID)0x0) { + FUN_14003e8b0(*(LPVOID *)(param_1 + 8)); + param_1[8] = '\0'; + param_1[9] = '\0'; + param_1[10] = '\0'; + param_1[0xb] = '\0'; + param_1[0xc] = '\0'; + param_1[0xd] = '\0'; + param_1[0xe] = '\0'; + param_1[0xf] = '\0'; + } + *(uint *)(param_1 + 0x28) = uVar5; + fVar8 = (float)uVar5 * *(float *)(param_1 + 0x34); + lVar7 = 0; + if ((9.223372e+18 < fVar8) && (fVar8 = fVar8 - 9.223372e+18, fVar8 < 9.223372e+18)) { + lVar7 = -0x8000000000000000; + } + *(longlong *)(param_1 + 0x38) = (longlong)fVar8 + lVar7; + fVar8 = (float)uVar5 * *(float *)(param_1 + 0x30); + lVar7 = 0; + if ((9.223372e+18 < fVar8) && (fVar8 = fVar8 - 9.223372e+18, fVar8 < 9.223372e+18)) { + lVar7 = -0x8000000000000000; + } + uVar6 = (longlong)fVar8 + lVar7; + if ((ulonglong)((longlong)fVar8 + lVar7) < 0x11) { + uVar6 = 0; + } + *(ulonglong *)(param_1 + 0x40) = uVar6; + } + FUN_1400c8cb0(param_1); + *(int *)(param_1 + 0x48) = *(int *)(param_1 + 0x48) + -1; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400cbd80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400cbd80.c new file mode 100644 index 00000000..9e689b98 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400cbd80.c @@ -0,0 +1,23 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400cbd80 FUN_1400cbd80 + * Pseudocode, not original source. */ + +longlong * FUN_1400cbd80(char *param_1,longlong *param_2,uint param_3,uint param_4) + +{ + undefined8 uVar1; + longlong *plVar2; + + if (*(longlong *)(param_1 + 8) == 0) { + uVar1 = FUN_14004c640((longlong)param_1,*(uint *)(param_1 + 0x28),'\x01'); + if ((char)uVar1 == '\0') { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x8007000e); + } + } + FUN_1400c8cb0(param_1); + plVar2 = FUN_1400cb610(param_1,param_2,(ulonglong)param_3,(ulonglong)param_4); + FUN_1400c8cb0(param_1); + return plVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400cbe00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400cbe00.c new file mode 100644 index 00000000..312c4cf4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400cbe00.c @@ -0,0 +1,23 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400cbe00 FUN_1400cbe00 + * Pseudocode, not original source. */ + +longlong * FUN_1400cbe00(char *param_1,longlong *param_2,uint param_3,uint param_4) + +{ + undefined8 uVar1; + longlong *plVar2; + + if (*(longlong *)(param_1 + 8) == 0) { + uVar1 = FUN_14004c640((longlong)param_1,*(uint *)(param_1 + 0x28),'\x01'); + if ((char)uVar1 == '\0') { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x8007000e); + } + } + FUN_1400c8cb0(param_1); + plVar2 = FUN_1400cb780(param_1,param_2,(ulonglong)param_3,(ulonglong)param_4); + FUN_1400c8cb0(param_1); + return plVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400cbe90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400cbe90.c new file mode 100644 index 00000000..fa0b9125 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400cbe90.c @@ -0,0 +1,245 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400cbe90 FUN_1400cbe90 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x0001400cbf30) */ +/* WARNING: Removing unreachable block (ram,0x0001400cbf34) */ +/* WARNING: Removing unreachable block (ram,0x0001400cbf50) */ +/* WARNING: Removing unreachable block (ram,0x0001400cbf5e) */ +/* WARNING: Removing unreachable block (ram,0x0001400cbf56) */ +/* WARNING: Removing unreachable block (ram,0x0001400cbf65) */ +/* WARNING: Removing unreachable block (ram,0x0001400cbf7d) */ + +void FUN_1400cbe90(longlong param_1,undefined **param_2,ulonglong param_3,undefined8 param_4) + +{ + int *piVar1; + int iVar2; + int *piVar3; + undefined8 *puVar4; + undefined *puVar5; + int *piVar6; + longlong lVar7; + undefined ***pppuVar8; + longlong *plVar9; + undefined8 uVar10; + undefined8 *puVar11; + int iVar12; + undefined8 *puVar13; + ulonglong uVar14; + uint uVar15; + longlong lVar16; + longlong lVar17; + longlong lVar18; + longlong lVar19; + int local_res10; + longlong *local_res18; + longlong local_res20; + undefined **local_b8; + longlong *local_b0; + longlong *local_a8; + undefined8 local_a0; + undefined8 local_98; + undefined *local_90; + int *local_88; + undefined1 local_80; + int *local_78; + undefined1 local_70; + int *local_68; + undefined1 local_60; + undefined8 local_58; + undefined8 *local_50; + + local_58 = 0xfffffffffffffffe; + piVar6 = (int *)(param_1 + 0x10); + local_88 = piVar6; + FUN_14003d040(piVar6); + local_80 = 1; + local_b8 = Proud::CFastArray,0>::vftable; + local_b0 = (longlong *)0x0; + local_a8 = (longlong *)0x0; + local_a0 = 0; + local_98 = 0; + pppuVar8 = &local_b8; + FUN_140042ca0((longlong)pppuVar8,param_2,param_3,param_4); + if ((uint)local_a0 == 0) { + FUN_14003e7c0(pppuVar8,param_2,param_3,param_4); + puVar5 = PTR_DAT_14016f008; + local_90 = PTR_DAT_14016f008; + lVar17 = (longlong)(int)(uint)local_a0; + if ((int)(uint)local_a0 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + FUN_140041f00((longlong)&local_b8,(uint)local_a0 + 1,param_3,param_4); + plVar9 = local_a8; + if ((uint)local_a0 == 0) { + plVar9 = (longlong *)0x0; + } + plVar9 = plVar9 + lVar17; + param_2 = &local_90; + FUN_140006de0(plVar9,(longlong *)param_2,param_3,param_4); + if (((puVar5 != (undefined *)0x0) && (puVar5 != PTR_DAT_14016f008)) && + (puVar5 + -8 != (undefined *)0x0)) { + piVar3 = (int *)FUN_14003e7c0(plVar9,param_2,param_3,param_4); + local_78 = piVar3; + FUN_14003d040(piVar3); + local_70 = 1; + piVar1 = (int *)(puVar5 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(puVar5 + -8); + } + FUN_14003d0d0((longlong)piVar3); + local_70 = 0; + } + local_90 = PTR_DAT_14016f008; + } + local_res10 = 0; + local_res20 = 0; + uVar15 = (uint)local_a0; + if (0 < (int)(uint)local_a0) { + do { + puVar11 = (undefined8 *)0x0; + uVar10 = 0x100; + puVar4 = operator_new(0x100); + puVar13 = puVar11; + local_50 = puVar4; + if (puVar4 != (undefined8 *)0x0) { + *puVar4 = Proud::CSsdpContext::vftable; + FUN_14003e7c0(uVar10,param_2,param_3,param_4); + puVar4[1] = PTR_DAT_14016f008; + puVar4[2] = 0; + puVar4[5] = 0; + puVar4[6] = 0; + puVar4[7] = 0; + puVar4[8] = 0; + puVar4[4] = Proud::ByteArray::vftable; + *(undefined1 *)(puVar4 + 0x10) = 0; + *(undefined1 *)(puVar4 + 0x18) = 0; + puVar4[0x19] = 0; + puVar4[3] = 0; + puVar13 = puVar4; + } + if (puVar13 == (undefined8 *)0x0) { + local_res18 = (longlong *)0x0; + } + else { + uVar10 = 0x10; + local_res18 = (longlong *)FUN_14003e840(0x10); + local_res18[1] = 1; + *local_res18 = (longlong)puVar13; + } + plVar9 = local_a8; + if ((local_res20 < 0) || ((int)(uint)local_a0 <= local_res10)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(uVar10,param_2,param_3,param_4); + } + if (local_res18 != (longlong *)0x0) { + puVar11 = (undefined8 *)*local_res18; + } + puVar5 = (undefined *)puVar11[1]; + if ((undefined *)puVar11[1] == (undefined *)0x0) { + puVar5 = PTR_DAT_14016f008; + } + puVar11[1] = puVar5; + if ((undefined *)local_a8[local_res20] != puVar5) { + piVar6 = (int *)FUN_14003e7c0(uVar10,param_2,param_3,param_4); + local_68 = piVar6; + FUN_14003d040(piVar6); + local_60 = 1; + FUN_140006e80(puVar11 + 1); + puVar5 = (undefined *)plVar9[local_res20]; + puVar11[1] = puVar5; + if (((puVar5 != PTR_DAT_14016f008) && (puVar5 != (undefined *)0x0)) && + (puVar5 != (undefined *)0x8)) { + *(int *)(puVar5 + -4) = *(int *)(puVar5 + -4) + 1; + } + FUN_14003d0d0((longlong)piVar6); + local_60 = 0; + } + lVar16 = param_1 + 0x100; + iVar2 = *(int *)(param_1 + 0x118); + lVar17 = (longlong)iVar2; + if (iVar2 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + iVar12 = *(int *)(param_1 + 0x118); + uVar15 = iVar12 + 1; + param_2 = (undefined **)(ulonglong)uVar15; + FUN_1400cafc0(lVar16,uVar15); + iVar12 = iVar12 - iVar2; + if ((0 < iVar12) && (iVar12 = iVar12 + -1, -1 < iVar12)) { + lVar18 = (longlong)(iVar12 + iVar2 + 1) << 3; + lVar19 = (longlong)(iVar12 + iVar2) << 3; + do { + lVar7 = FUN_140074a30(lVar16); + param_2 = (undefined **)(lVar19 + lVar7); + lVar7 = FUN_140074a30(lVar16); + FUN_14009d860((longlong *)(lVar18 + lVar7),(longlong *)param_2); + lVar19 = lVar19 + -8; + lVar18 = lVar18 + -8; + iVar12 = iVar12 + -1; + } while (-1 < iVar12); + } + lVar16 = FUN_140074a30(lVar16); + if (local_res18 != *(longlong **)(lVar16 + lVar17 * 8)) { + if (local_res18 != (longlong *)0x0) { + local_res18[1] = local_res18[1] + 1; + } + plVar9 = (longlong *)0x0; + lVar18 = *(longlong *)(lVar16 + lVar17 * 8); + if ((lVar18 != 0) && + (*(longlong *)(*(longlong *)(lVar16 + lVar17 * 8) + 8) = *(longlong *)(lVar18 + 8) + -1, + *(longlong *)(*(longlong *)(lVar16 + lVar17 * 8) + 8) == 0)) { + plVar9 = *(longlong **)(lVar16 + lVar17 * 8); + } + *(longlong **)(lVar16 + lVar17 * 8) = local_res18; + if (plVar9 != (longlong *)0x0) { + if ((undefined8 *)*plVar9 != (undefined8 *)0x0) { + param_2 = (undefined **)0x1; + (*(code *)**(undefined8 **)*plVar9)(); + } + FUN_14003e8b0(plVar9); + } + } + if (local_res18 != (longlong *)0x0) { + plVar9 = local_res18 + 1; + *plVar9 = *plVar9 + -1; + if (*plVar9 == 0) { + if ((undefined8 *)*local_res18 != (undefined8 *)0x0) { + param_2 = (undefined **)0x1; + (*(code *)**(undefined8 **)*local_res18)(); + } + FUN_14003e8b0(local_res18); + } + } + local_res10 = local_res10 + 1; + local_res20 = local_res20 + 1; + piVar6 = local_88; + uVar15 = (uint)local_a0; + } while (local_res10 < (int)(uint)local_a0); + } + local_b8 = Proud::CFastArray,0>::vftable; + if (0 < (int)uVar15) { + uVar14 = (ulonglong)uVar15; + plVar9 = local_a8; + do { + FUN_140006e80(plVar9); + plVar9 = plVar9 + 1; + uVar14 = uVar14 - 1; + } while (uVar14 != 0); + } + if (local_a8 != (longlong *)0x0) { + if (local_b0 == (longlong *)0x0) { + FUN_14003e8b0(local_a8); + } + else { + (**(code **)(*local_b0 + 0x18))(local_b0,local_a8); + } + } + FUN_14003d0d0((longlong)piVar6); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400cc330.c b/decomp/AgentManager_Release_x64/full/functions/0x1400cc330.c new file mode 100644 index 00000000..747ee57c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400cc330.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400cc330 FUN_1400cc330 + * Pseudocode, not original source. */ + +void FUN_1400cc330(char *param_1) + +{ + FUN_1400cbbe0(param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400cc350.c b/decomp/AgentManager_Release_x64/full/functions/0x1400cc350.c new file mode 100644 index 00000000..946ecaec --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400cc350.c @@ -0,0 +1,60 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400cc350 FUN_1400cc350 + * Pseudocode, not original source. */ + +longlong * FUN_1400cc350(char *param_1,longlong *param_2) + +{ + char cVar1; + int iVar2; + char *pcVar3; + longlong *plVar4; + byte *pbVar5; + byte *pbVar6; + uint uVar7; + uint uVar8; + char *pcVar9; + + pcVar9 = (char *)*param_2; + pcVar3 = pcVar9; + if (pcVar9 == (char *)0x0) { + pcVar3 = PTR_DAT_14016f008; + } + if (pcVar3 == (char *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + uVar8 = 0; + if (pcVar9 == (char *)0x0) { + pcVar9 = PTR_DAT_14016f008; + } + cVar1 = *pcVar9; + while (cVar1 != '\0') { + pcVar9 = pcVar9 + 1; + uVar8 = uVar8 * 0x21 + (int)cVar1; + cVar1 = *pcVar9; + } + uVar7 = (uint)((ulonglong)uVar8 % (ulonglong)*(uint *)(param_1 + 0x28)); + if (*(longlong *)(param_1 + 8) != 0) { + for (plVar4 = *(longlong **) + (*(longlong *)(param_1 + 8) + + ((ulonglong)uVar8 % (ulonglong)*(uint *)(param_1 + 0x28)) * 8); + (plVar4 != (longlong *)0x0 && (uVar7 == *(uint *)(plVar4 + 4) % *(uint *)(param_1 + 0x28))); + plVar4 = (longlong *)plVar4[2]) { + pbVar6 = (byte *)*param_2; + if ((byte *)*param_2 == (byte *)0x0) { + pbVar6 = PTR_DAT_14016f008; + } + pbVar5 = (byte *)*plVar4; + if ((byte *)*plVar4 == (byte *)0x0) { + pbVar5 = PTR_DAT_14016f008; + } + iVar2 = FUN_14003e740(pbVar5,(longlong)pbVar6); + if (iVar2 == 0) goto LAB_1400cc430; + } + } + plVar4 = FUN_1400cbd80(param_1,param_2,uVar7,uVar8); +LAB_1400cc430: + return plVar4 + 1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400cc450.c b/decomp/AgentManager_Release_x64/full/functions/0x1400cc450.c new file mode 100644 index 00000000..3b411b35 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400cc450.c @@ -0,0 +1,58 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400cc450 FUN_1400cc450 + * Pseudocode, not original source. */ + +longlong * FUN_1400cc450(char *param_1,longlong *param_2) + +{ + ushort uVar1; + int iVar2; + ushort *puVar3; + longlong *plVar4; + ushort *puVar5; + uint uVar6; + uint uVar7; + + puVar5 = (ushort *)*param_2; + puVar3 = puVar5; + if (puVar5 == (ushort *)0x0) { + puVar3 = (ushort *)PTR_DAT_14016f010; + } + if (puVar3 == (ushort *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + uVar7 = 0; + if (puVar5 == (ushort *)0x0) { + puVar5 = (ushort *)PTR_DAT_14016f010; + } + uVar1 = *puVar5; + while (uVar1 != 0) { + puVar5 = puVar5 + 1; + uVar7 = uVar7 * 0x21 + (uint)uVar1; + uVar1 = *puVar5; + } + uVar6 = (uint)((ulonglong)uVar7 % (ulonglong)*(uint *)(param_1 + 0x28)); + if (*(longlong *)(param_1 + 8) != 0) { + for (plVar4 = *(longlong **) + (*(longlong *)(param_1 + 8) + + ((ulonglong)uVar7 % (ulonglong)*(uint *)(param_1 + 0x28)) * 8); + (plVar4 != (longlong *)0x0 && (uVar6 == *(uint *)(plVar4 + 4) % *(uint *)(param_1 + 0x28))); + plVar4 = (longlong *)plVar4[2]) { + puVar5 = (ushort *)*param_2; + if ((ushort *)*param_2 == (ushort *)0x0) { + puVar5 = (ushort *)PTR_DAT_14016f010; + } + puVar3 = (ushort *)*plVar4; + if ((ushort *)*plVar4 == (ushort *)0x0) { + puVar3 = (ushort *)PTR_DAT_14016f010; + } + iVar2 = FUN_14003e660(puVar3,(longlong)puVar5); + if (iVar2 == 0) goto LAB_1400cc530; + } + } + plVar4 = FUN_1400cbe00(param_1,param_2,uVar6,uVar7); +LAB_1400cc530: + return plVar4 + 1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400cc550.c b/decomp/AgentManager_Release_x64/full/functions/0x1400cc550.c new file mode 100644 index 00000000..e213550e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400cc550.c @@ -0,0 +1,48 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400cc550 FUN_1400cc550 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x0001400cc5f7) */ +/* WARNING: Removing unreachable block (ram,0x0001400cc600) */ +/* WARNING: Removing unreachable block (ram,0x0001400cc621) */ +/* WARNING: Removing unreachable block (ram,0x0001400cc62a) */ + +undefined8 * +FUN_1400cc550(undefined8 *param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + ulonglong uVar1; + undefined7 uVar2; + undefined8 uVar3; + + uVar2 = (undefined7)((ulonglong)param_3 >> 8); + *param_1 = Proud::CUpnp::vftable; + uVar1 = FUN_140094860(); + FUN_14003cf60((undefined4 *)(param_1 + 2),uVar1 & 0xffffffff,CONCAT71(uVar2,1),param_4); + *(undefined1 *)(param_1 + 10) = 0; + param_1[0x14] = 0; + param_1[0xb] = 0; + param_1[0xc] = 0; + param_1[0xd] = 0; + *(undefined4 *)(param_1 + 0xf) = 0x11; + param_1[0xe] = 0; + *(undefined4 *)(param_1 + 0x13) = 0; + *(undefined4 *)((longlong)param_1 + 0x7c) = 0x3f400000; + *(undefined4 *)(param_1 + 0x10) = 0x3e800000; + *(undefined4 *)((longlong)param_1 + 0x84) = 0x40100000; + param_1[0x11] = 0x26; + param_1[0x12] = 4; + param_1[0x12] = 0; + FUN_140059380((undefined1 *)(param_1 + 0x15)); + param_1[0x20] = Proud::CFastArray,0>::vftable; + param_1[0x21] = 0; + param_1[0x22] = 0; + param_1[0x23] = 0; + param_1[0x24] = 0; + param_1[1] = param_2; + *(undefined4 *)(param_1 + 9) = 0; + uVar3 = FUN_1400bf740(param_2); + param_1[0x25] = uVar3; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400cc6b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400cc6b0.c new file mode 100644 index 00000000..9f8ff7a9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400cc6b0.c @@ -0,0 +1,42 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400cc6b0 FUN_1400cc6b0 + * Pseudocode, not original source. */ + +void FUN_1400cc6b0(undefined8 *param_1,longlong *param_2,longlong *param_3,undefined8 param_4) + +{ + int *piVar1; + longlong *plVar2; + longlong *plVar3; + + *param_1 = Proud::CUpnp::vftable; + piVar1 = (int *)(param_1 + 2); + FUN_14003d040(piVar1); + FUN_1400cbbe0((char *)(param_1 + 10)); + FUN_1400cb350((char *)(param_1 + 0x15),param_2,param_3,param_4); + plVar3 = (longlong *)0x0; + FUN_1400cafc0((longlong)(param_1 + 0x20),0); + FUN_14003d0d0((longlong)piVar1); + param_1[0x20] = Proud::CFastArray,0>::vftable; + plVar2 = (longlong *)(longlong)*(int *)(param_1 + 0x23); + if (0 < *(int *)(param_1 + 0x23)) { + FUN_1400517d0((longlong *)param_1[0x22],(longlong)plVar2); + plVar3 = plVar2; + } + plVar2 = (longlong *)param_1[0x22]; + if (plVar2 != (longlong *)0x0) { + param_3 = (longlong *)param_1[0x21]; + if (param_3 == (longlong *)0x0) { + FUN_14003e8b0(plVar2); + } + else { + (**(code **)(*param_3 + 0x18))(param_3); + plVar3 = plVar2; + } + } + FUN_1400cbbc0((char *)(param_1 + 0x15),plVar3,param_3,param_4); + FUN_1400cc330((char *)(param_1 + 10)); + FUN_14003d110(piVar1,plVar3,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400cc7b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400cc7b0.c new file mode 100644 index 00000000..00dcb825 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400cc7b0.c @@ -0,0 +1,765 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400cc7b0 FUN_1400cc7b0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* WARNING: Type propagation algorithm not settling */ + +void FUN_1400cc7b0(uint *******param_1,longlong param_2,undefined8 param_3,uint ******param_4) + +{ + uint ***********pppppppppppuVar1; + char cVar2; + uint ***********pppppppppppuVar3; + char *pcVar4; + uint uVar5; + uint uVar6; + uint uVar7; + uint uVar8; + int iVar9; + undefined8 uVar10; + int *piVar11; + undefined8 *puVar12; + void *_Src; + undefined8 *puVar13; + uint ************ppppppppppppuVar14; + int *piVar15; + uint *puVar16; + uint *************pppppppppppppuVar17; + longlong *plVar18; + uint *************pppppppppppppuVar19; + uint ***********pppppppppppuVar20; + char **ppcVar21; + uint *************pppppppppppppuVar22; + uint *************pppppppppppppuVar23; + uint *************pppppppppppppuVar24; + uint *************pppppppppppppuVar25; + undefined8 uVar26; + LPCWSTR pWVar27; + uint *************pppppppppppppuVar28; + uint *************pppppppppppppuVar29; + longlong lVar30; + size_t _Size; + uint uVar31; + uint uVar32; + ulonglong uVar33; + double dVar34; + undefined1 auStack_218 [32]; + uint ***********local_1f8; + uint *************local_1f0; + uint *************local_1e8; + uint *************local_1e0; + uint *************local_1d8; + undefined8 local_1d0; + undefined **local_1c8; + undefined4 local_1c0; + undefined2 local_1bc; + int local_1b8; + longlong local_1b0; + longlong local_1a8; + longlong *local_1a0; + int *local_198; + undefined1 local_190; + int *local_188; + undefined1 local_180; + uint ***********local_178; + uint *************local_170; + uint ***********local_168; + uint *************local_160; + int *local_158; + undefined1 local_150; + int *local_148; + undefined1 local_140; + int *local_138; + undefined1 local_130; + int *local_128; + undefined1 local_120; + undefined8 local_118; + uint ************local_110; + uint *************local_108; + int *local_100; + undefined1 local_f8; + char *local_e8; + char local_e0 [136]; + ulonglong local_58; + + local_118 = 0xfffffffffffffffe; + local_58 = DAT_14016f5a0 ^ (ulonglong)auStack_218; + plVar18 = (longlong *)(param_2 + 0x10); + pppppppppppppuVar24 = (uint *************)0x0; + uVar31 = 0; + local_1d8 = (uint *************)param_1; + local_1b0 = param_2; + local_1a0 = plVar18; + do { + local_1c8 = Proud::AddrPort::vftable; + uVar32 = 0; + local_1b8 = 0; + local_1d0 = 0; + local_1c0 = DAT_14016f3d0; + local_1bc = DAT_14016f3d4; + pppppppppppppuVar28 = pppppppppppppuVar24; + if ((undefined8 *)*plVar18 != (undefined8 *)0x0) { + pppppppppppppuVar28 = *(uint **************)*plVar18; + } + puVar12 = &local_1d0; + uVar26 = 0; + uVar10 = FUN_140043710((longlong)pppppppppppppuVar28,0,(undefined4 *)puVar12); + if ((char)uVar10 == '\0') { + return; + } + *(undefined1 *)(param_2 + 0xc0) = 0; + if ((local_1d0._4_4_ != 0) || (local_1b8 == 0)) { + *(undefined4 *)(param_2 + 0x18) = 3; + local_1a8 = 0; + FUN_140040510(plVar18,&local_1a8); + return; + } + FUN_14003e7c0(pppppppppppppuVar28,uVar26,puVar12,param_4); + local_1f8 = (uint ***********)PTR_DAT_14016f008; + local_110 = &local_1f8; + uVar8 = local_1b8 + 2U; + if ((int)(local_1b8 + 2U) < 1) { + uVar8 = uVar32; + } + uVar5 = 1; + if (1 < (int)uVar8) { + uVar5 = uVar8; + } + pppppppppppppuVar28 = (uint *************)local_1f8; + if (0 < (int)uVar5) { + if ((int)uVar5 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar5 == 0) { + pppppppppppppuVar28 = (uint *************)local_1f8; + } + else { + puVar16 = (uint *)FUN_14003e840((longlong)(int)uVar5 + 9); + if (puVar16 != (uint *)0x0) { + *puVar16 = 0; + puVar16[1] = 1; + } + *puVar16 = uVar5; + uVar8 = uVar32; + if ((local_1f8 != (uint ***********)0x0) && + (local_1f8 != (uint ***********)PTR_DAT_14016f008)) { + uVar8 = *(uint *)(local_1f8 + -1); + } + pppppppppppuVar20 = (uint ***********)PTR_DAT_14016f008; + if ((int)uVar5 < (int)uVar8) { +LAB_1400cc927: + if (local_1f8 != (uint ***********)0x0) { + pppppppppppuVar20 = local_1f8; + } + } + else { + uVar5 = uVar32; + if (local_1f8 != (uint ***********)0x0) { + if (local_1f8 != (uint ***********)PTR_DAT_14016f008) { + uVar5 = *(uint *)(local_1f8 + -1); + } + goto LAB_1400cc927; + } + } + pppppppppppppuVar28 = (uint *************)(puVar16 + 2); + uVar33 = (ulonglong)uVar5; + pppppppppppppuVar29 = pppppppppppppuVar28; + param_4 = (uint ******)pppppppppppuVar20; + FUN_14003e710(pppppppppppppuVar28,pppppppppppuVar20,uVar5); + pppppppppppuVar3 = local_1f8; + if (((local_1f8 != (uint ***********)0x0) && + (local_1f8 != (uint ***********)PTR_DAT_14016f008)) && + (pppppppppppuVar1 = local_1f8 + -1, pppppppppppuVar1 != (uint ***********)0x0)) { + piVar11 = (int *)FUN_14003e7c0(pppppppppppppuVar29,pppppppppppuVar20,uVar33,param_4); + local_138 = piVar11; + FUN_14003d040(piVar11); + local_130 = 1; + piVar15 = (int *)((longlong)pppppppppppuVar3 + -4); + *piVar15 = *piVar15 + -1; + if (*piVar15 == 0) { + FUN_14003e8b0(pppppppppppuVar1); + } + FUN_14003d0d0((longlong)piVar11); + local_130 = 0; + } + } + } + local_1f8 = (uint ***********)pppppppppppppuVar28; + pppppppppppuVar20 = (uint ***********)PTR_DAT_14016f008; + if (((local_1f8 == (uint ***********)0x0) || + (pppppppppppuVar20 = local_1f8, local_1f8 == (uint ***********)PTR_DAT_14016f008)) || + (local_1f8 + -1 == (uint ***********)0x0)) { + local_1f8 = pppppppppppuVar20; + puVar12 = (undefined8 *)FUN_14003e840(9); + *puVar12 = 0; + *(undefined1 *)(puVar12 + 1) = 0; + if (puVar12 != (undefined8 *)0x0) { + *(undefined4 *)puVar12 = 0; + *(undefined4 *)((longlong)puVar12 + 4) = 1; + } + *(undefined1 *)(puVar12 + 1) = 0; + pppppppppppppuVar28 = (uint *************)(puVar12 + 1); + } + else { + pppppppppppppuVar28 = (uint *************)local_1f8; + if (1 < (int)*(uint *)((longlong)local_1f8 + -4)) { + uVar8 = *(uint *)(local_1f8 + -1); + if ((int)uVar8 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + puVar16 = (uint *)FUN_14003e840((longlong)(int)uVar8 + 9); + if (puVar16 != (uint *)0x0) { + *puVar16 = 0; + puVar16[1] = 1; + } + uVar8 = uVar31; + if ((local_1f8 != (uint ***********)0x0) && + (local_1f8 != (uint ***********)PTR_DAT_14016f008)) { + uVar8 = *(uint *)(local_1f8 + -1); + } + *puVar16 = uVar8; + pppppppppppuVar20 = (uint ***********)PTR_DAT_14016f008; + pppppppppppppuVar29 = pppppppppppppuVar24; + if ((local_1f8 != (uint ***********)0x0) && + (pppppppppppuVar20 = local_1f8, pppppppppppppuVar29 = (uint *************)0x0, + local_1f8 != (uint ***********)PTR_DAT_14016f008)) { + pppppppppppppuVar29 = (uint *************)(ulonglong)*(uint *)(local_1f8 + -1); + } + pppppppppppppuVar28 = (uint *************)(puVar16 + 2); + pppppppppppppuVar19 = pppppppppppppuVar28; + FUN_14003e710(pppppppppppppuVar28,pppppppppppuVar20,(int)pppppppppppppuVar29); + pppppppppppuVar3 = local_1f8; + if (((local_1f8 != (uint ***********)0x0) && + (local_1f8 != (uint ***********)PTR_DAT_14016f008)) && + (pppppppppppppuVar25 = (uint *************)(local_1f8 + -1), + pppppppppppppuVar25 != (uint *************)0x0)) { + piVar15 = (int *)FUN_14003e7c0(pppppppppppppuVar19,pppppppppppuVar20,pppppppppppppuVar29, + param_4); + local_198 = piVar15; + FUN_14003d040(piVar15); + local_190 = 1; + puVar16 = (uint *)((longlong)pppppppppppuVar3 + -4); + *puVar16 = *puVar16 - 1; + if (*puVar16 == 0) { + FUN_14003e8b0(pppppppppppppuVar25); + } + FUN_14003d0d0((longlong)piVar15); + local_190 = 0; + } + } + } + local_1f8 = (uint ***********)pppppppppppppuVar28; + pppppppppppuVar20 = local_1f8; + if (local_1f8 == (uint ***********)0x0) { + pppppppppppuVar20 = (uint ***********)PTR_DAT_14016f008; + } + pppppppppppppuVar28 = pppppppppppppuVar24; + if ((undefined8 *)*plVar18 != (undefined8 *)0x0) { + pppppppppppppuVar28 = *(uint **************)*plVar18; + } + _Size = (size_t)local_1b8; + local_108 = (uint *************)pppppppppppuVar20; + _Src = (void *)FUN_140043cd0((longlong)pppppppppppppuVar28); + memcpy(pppppppppppuVar20,_Src,_Size); + *(undefined1 *)((longlong)local_1b8 + (longlong)pppppppppppuVar20) = 0; + pppppppppppuVar20 = local_1f8; + if (local_1f8 == (uint ***********)0x0) { + pppppppppppuVar20 = (uint ***********)PTR_DAT_14016f008; + } + uVar5 = FUN_14003e6e0((char *)pppppppppppuVar20); + pppppppppppppuVar28 = (uint *************)PTR_DAT_14016f008; + uVar8 = uVar31; + if (0 < (int)uVar5) { + uVar8 = uVar5; + } + pppppppppppppuVar29 = pppppppppppppuVar24; + if ((local_1f8 != (uint ***********)0x0) && + (pppppppppppppuVar29 = (uint *************)0x0, + local_1f8 != (uint ***********)PTR_DAT_14016f008)) { + pppppppppppppuVar29 = (uint *************)(ulonglong)*(uint *)(local_1f8 + -1); + } + if (((int)uVar8 < (int)pppppppppppppuVar29) || + (uVar8 = uVar31, local_1f8 == (uint ***********)0x0)) { +LAB_1400ccb4a: + if (((local_1f8 != (uint ***********)PTR_DAT_14016f008) && + (local_1f8 != (uint ***********)0x0)) && + (pppppppppppppuVar29 = (uint *************)(local_1f8 + -1), + pppppppppppppuVar29 != (uint *************)0x0)) { + *(uint *)pppppppppppppuVar29 = uVar8; + *(undefined1 *)((longlong)(int)uVar8 + 8 + (longlong)pppppppppppppuVar29) = 0; + } + } + else if (local_1f8 != (uint ***********)PTR_DAT_14016f008) { + uVar8 = *(uint *)(local_1f8 + -1); + goto LAB_1400ccb4a; + } + puVar12 = (undefined8 *)0x2540; + puVar13 = operator_new(0x2540); + ppppppppppppuVar14 = (uint ************)pppppppppppppuVar24; + local_1e8 = (uint *************)puVar13; + if (puVar13 != (undefined8 *)0x0) { + ppppppppppppuVar14 = + (uint ************)FUN_1400ca5f0(puVar13,pppppppppppppuVar29,pppppppppppppuVar28,param_4) + ; + puVar12 = puVar13; + } + if (ppppppppppppuVar14 == (uint ************)0x0) { + local_1e8 = (uint *************)0x0; + } + else { + puVar12 = (undefined8 *)0x10; + local_1e8 = (uint *************)FUN_14003e840(0x10); + local_1e8[1] = (uint ************)0x1; + *local_1e8 = ppppppppppppuVar14; + } + pppppppppppppuVar19 = local_1e8; + FUN_14003e7c0(puVar12,pppppppppppppuVar29,pppppppppppppuVar28,param_4); + local_1e0 = (uint *************)PTR_DAT_14016f008; + if (PTR_DAT_14016f008 == (undefined *)0x0) { + local_1e0 = pppppppppppppuVar24; + } + if (local_1f8 != (uint ***********)PTR_DAT_14016f008) { + piVar15 = (int *)FUN_14003e7c0(puVar12,pppppppppppppuVar29,pppppppppppppuVar28,param_4); + local_148 = piVar15; + FUN_14003d040(piVar15); + local_140 = 1; + FUN_140006e80((longlong *)&local_1e0); + local_1e0 = (uint *************)local_1f8; + if (((local_1f8 != (uint ***********)PTR_DAT_14016f008) && + (local_1f8 != (uint ***********)0x0)) && (local_1f8 != (uint ***********)0x8)) { + *(uint *)((longlong)local_1f8 + -4) = *(uint *)((longlong)local_1f8 + -4) + 1; + } + FUN_14003d0d0((longlong)piVar15); + local_140 = 0; + } + ppppppppppppuVar14 = (uint ************)pppppppppppppuVar24; + if (pppppppppppppuVar19 != (uint *************)0x0) { + ppppppppppppuVar14 = *pppppppppppppuVar19; + } + pppppppppppppuVar29 = (uint *************)&local_1e0; + uVar10 = FUN_1400ca130((undefined *)ppppppppppppuVar14,(longlong *)pppppppppppppuVar29, + pppppppppppppuVar28,(ulonglong)param_4); + if (((char)uVar10 != '\0') && (param_1[0xe] < (uint ************)0x14)) { + ppppppppppppuVar14 = (uint ************)pppppppppppppuVar24; + if (pppppppppppppuVar19 != (uint *************)0x0) { + ppppppppppppuVar14 = *pppppppppppppuVar19; + } + local_e8 = local_e0; + pWVar27 = (LPCWSTR)((longlong)ppppppppppppuVar14 + 0x52); + uVar10 = 3; + ppcVar21 = &local_e8; + FUN_14003d280((longlong *)ppcVar21,pWVar27,3); + pcVar4 = local_e8; + FUN_14003e7c0(ppcVar21,pWVar27,uVar10,param_4); + pppppppppppppuVar28 = (uint *************)PTR_DAT_14016f008; + local_1f0 = (uint *************)PTR_DAT_14016f008; + uVar5 = FUN_14003e6e0(pcVar4); + uVar8 = uVar31; + if ((pppppppppppppuVar28 != (uint *************)0x0) && + (pppppppppppppuVar28 != (uint *************)PTR_DAT_14016f008)) { + uVar8 = *(uint *)((longlong)pppppppppppppuVar28 + -8); + } + uVar6 = uVar5; + if ((((int)uVar5 <= (int)uVar8) && + (uVar6 = uVar32, pppppppppppppuVar28 != (uint *************)0x0)) && + (pppppppppppppuVar28 != (uint *************)PTR_DAT_14016f008)) { + uVar6 = *(uint *)((longlong)pppppppppppppuVar28 + -8); + } + uVar8 = 1; + if (1 < (int)uVar6) { + uVar8 = uVar6; + } + uVar7 = 0; + uVar6 = uVar7; + if ((pppppppppppppuVar28 != (uint *************)0x0) && + (pppppppppppppuVar28 != (uint *************)PTR_DAT_14016f008)) { + uVar6 = *(uint *)((longlong)pppppppppppppuVar28 + -8); + } + if ((int)uVar6 < (int)uVar8) { + if (pppppppppppppuVar28 == (uint *************)0x0) { + pppppppppppppuVar28 = (uint *************)PTR_DAT_14016f008; + } + local_1f0 = pppppppppppppuVar28; + if ((int)uVar8 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar8 == 0) { + FUN_140006e80((longlong *)&local_1f0); + pppppppppppppuVar28 = local_1f0; + } + else { + uVar6 = uVar7; + if ((pppppppppppppuVar28 != (uint *************)0x0) && + (pppppppppppppuVar28 != (uint *************)PTR_DAT_14016f008)) { + uVar6 = *(uint *)(pppppppppppppuVar28 + -1); + } + if (uVar8 != uVar6) { + puVar16 = (uint *)FUN_14003e840((longlong)(int)uVar8 + 9); + if (puVar16 != (uint *)0x0) { + *puVar16 = 0; + puVar16[1] = 1; + } + *puVar16 = uVar8; + uVar6 = uVar7; + if ((pppppppppppppuVar28 != (uint *************)0x0) && + (pppppppppppppuVar28 != (uint *************)PTR_DAT_14016f008)) { + uVar6 = *(uint *)(pppppppppppppuVar28 + -1); + } + pppppppppppppuVar29 = (uint *************)PTR_DAT_14016f008; + if ((int)uVar8 < (int)uVar6) { +LAB_1400ccd72: + if (pppppppppppppuVar28 != (uint *************)0x0) { + pppppppppppppuVar29 = pppppppppppppuVar28; + } + } + else { + uVar8 = uVar32; + if (pppppppppppppuVar28 != (uint *************)0x0) { + if (pppppppppppppuVar28 != (uint *************)PTR_DAT_14016f008) { + uVar8 = *(uint *)(pppppppppppppuVar28 + -1); + } + goto LAB_1400ccd72; + } + } + pppppppppppppuVar28 = (uint *************)(puVar16 + 2); + FUN_14003e710(pppppppppppppuVar28,pppppppppppppuVar29,uVar8); + FUN_140006e80((longlong *)&local_1f0); + local_1f0 = pppppppppppppuVar28; + } + } + } + if (((pppppppppppppuVar28 == (uint *************)0x0) || + (pppppppppppppuVar28 == (uint *************)PTR_DAT_14016f008)) || + (pppppppppppppuVar29 = pppppppppppppuVar28 + -1, + pppppppppppppuVar29 == (uint *************)0x0)) { + puVar12 = (undefined8 *)FUN_14003e840(9); + *puVar12 = 0; + *(undefined1 *)(puVar12 + 1) = 0; + if (puVar12 != (undefined8 *)0x0) { + *(undefined4 *)puVar12 = 0; + *(undefined4 *)((longlong)puVar12 + 4) = 1; + } + pppppppppppppuVar25 = (uint *************)(puVar12 + 1); + *(undefined1 *)pppppppppppppuVar25 = 0; + pppppppppppppuVar23 = pppppppppppppuVar25; + } + else { + pppppppppppppuVar25 = pppppppppppppuVar28; + pppppppppppppuVar23 = local_1f0; + if (1 < (int)*(uint *)((longlong)pppppppppppppuVar28 + -4)) { + if ((int)*(uint *)pppppppppppppuVar29 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + puVar16 = (uint *)FUN_14003e840((longlong)(int)*(uint *)pppppppppppppuVar29 + 9); + if (puVar16 != (uint *)0x0) { + *puVar16 = 0; + puVar16[1] = 1; + } + uVar32 = uVar7; + if (pppppppppppppuVar28 != (uint *************)PTR_DAT_14016f008) { + uVar32 = *(uint *)pppppppppppppuVar29; + } + *puVar16 = uVar32; + pppppppppppppuVar17 = pppppppppppppuVar24; + if (pppppppppppppuVar28 != (uint *************)PTR_DAT_14016f008) { + pppppppppppppuVar17 = (uint *************)(ulonglong)*(uint *)pppppppppppppuVar29; + } + pppppppppppppuVar25 = (uint *************)(puVar16 + 2); + pppppppppppppuVar22 = pppppppppppppuVar25; + FUN_14003e710(pppppppppppppuVar25,pppppppppppppuVar28,(int)pppppppppppppuVar17); + param_1 = (uint *******)local_1d8; + pppppppppppppuVar23 = pppppppppppppuVar25; + if ((pppppppppppppuVar28 != (uint *************)PTR_DAT_14016f008) && + (pppppppppppppuVar29 != (uint *************)0x0)) { + piVar15 = (int *)FUN_14003e7c0(pppppppppppppuVar22,PTR_DAT_14016f008,pppppppppppppuVar17 + ,param_4); + local_158 = piVar15; + FUN_14003d040(piVar15); + local_150 = 1; + puVar16 = (uint *)((longlong)pppppppppppppuVar28 + -4); + *puVar16 = *puVar16 - 1; + if (*puVar16 == 0) { + FUN_14003e8b0(pppppppppppppuVar29); + } + FUN_14003d0d0((longlong)piVar15); + local_150 = 0; + param_1 = (uint *******)local_1d8; + } + } + } + local_1f0 = pppppppppppppuVar23; + pppppppppppppuVar28 = pppppppppppppuVar25; + if (pppppppppppppuVar25 == (uint *************)0x0) { + pppppppppppppuVar28 = (uint *************)PTR_DAT_14016f008; + } + FUN_14003e710(pppppppppppppuVar28,pcVar4,uVar5); + pppppppppppppuVar28 = pppppppppppppuVar25; + if (pppppppppppppuVar25 == (uint *************)0x0) { + pppppppppppppuVar28 = (uint *************)PTR_DAT_14016f008; + } + uVar8 = FUN_14003e6e0((char *)pppppppppppppuVar28); + uVar32 = uVar31; + if (0 < (int)uVar8) { + uVar32 = uVar8; + } + uVar8 = uVar7; + if ((pppppppppppppuVar25 != (uint *************)0x0) && + (pppppppppppppuVar25 != (uint *************)PTR_DAT_14016f008)) { + uVar8 = *(uint *)(pppppppppppppuVar25 + -1); + } + if (((int)uVar32 < (int)uVar8) || + (uVar32 = uVar7, pppppppppppppuVar25 == (uint *************)0x0)) { +LAB_1400ccefd: + if (((pppppppppppppuVar25 != (uint *************)PTR_DAT_14016f008) && + (pppppppppppppuVar25 != (uint *************)0x0)) && + (pppppppppppppuVar28 = pppppppppppppuVar25 + -1, + pppppppppppppuVar28 != (uint *************)0x0)) { + *(uint *)pppppppppppppuVar28 = uVar32; + *(undefined1 *)((longlong)(int)uVar32 + 8 + (longlong)pppppppppppppuVar28) = 0; + } + } + else if (pppppppppppppuVar25 != (uint *************)PTR_DAT_14016f008) { + uVar32 = *(uint *)(pppppppppppppuVar25 + -1); + goto LAB_1400ccefd; + } + if (local_e8 != local_e0) { + free(local_e8); + } + pppppppppppppuVar23 = (uint *************)(param_1 + 10); + pppppppppppppuVar28 = pppppppppppppuVar25; + if (pppppppppppppuVar25 == (uint *************)0x0) { + pppppppppppppuVar28 = (uint *************)PTR_DAT_14016f008; + } + local_170 = pppppppppppppuVar23; + if (pppppppppppppuVar28 == (uint *************)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + pppppppppppppuVar28 = pppppppppppppuVar25; + if (pppppppppppppuVar25 == (uint *************)0x0) { + pppppppppppppuVar28 = (uint *************)PTR_DAT_14016f008; + } + cVar2 = *(char *)pppppppppppppuVar28; + pppppppppppppuVar17 = pppppppppppppuVar24; + while (cVar2 != '\0') { + pppppppppppppuVar17 = + (uint *************)(ulonglong)(uint)((int)pppppppppppppuVar17 * 0x21 + (int)cVar2); + pppppppppppppuVar28 = (uint *************)((longlong)pppppppppppppuVar28 + 1); + cVar2 = *(char *)pppppppppppppuVar28; + } + uVar32 = *(uint *)(param_1 + 0xf); + if ((uint ************)param_1[0xb] != (uint ************)0x0) { + pppppppppppppuVar28 = (uint *************)PTR_DAT_14016f008; + for (pppppppppppuVar20 = + (uint ***********)param_1[0xb][(ulonglong)pppppppppppppuVar17 % (ulonglong)uVar32] + ; (PTR_DAT_14016f008 = (undefined *)pppppppppppppuVar28, + pppppppppppuVar20 != (uint ***********)0x0 && + ((uint)((ulonglong)pppppppppppppuVar17 % (ulonglong)uVar32) == + *(uint *)(pppppppppppuVar20 + 4) % *(uint *)(param_1 + 0xf))); + pppppppppppuVar20 = (uint ***********)pppppppppppuVar20[2]) { + pppppppppppppuVar29 = pppppppppppppuVar25; + if (pppppppppppppuVar25 == (uint *************)0x0) { + pppppppppppppuVar29 = pppppppppppppuVar28; + } + pppppppppppppuVar22 = (uint *************)*pppppppppppuVar20; + if ((uint *************)*pppppppppppuVar20 == (uint *************)0x0) { + pppppppppppppuVar22 = pppppppppppppuVar28; + } + iVar9 = FUN_14003e740((byte *)pppppppppppppuVar22,(longlong)pppppppppppppuVar29); + if (iVar9 == 0) { + local_178 = pppppppppppuVar20; + if (pppppppppppuVar20 != (uint ***********)0x0) goto LAB_1400cd132; + goto LAB_1400ccffb; + } + pppppppppppppuVar28 = (uint *************)PTR_DAT_14016f008; + } + } + local_178 = (uint ***********)0x0; +LAB_1400ccffb: + pppppppppppppuVar28 = pppppppppppppuVar25; + if (pppppppppppppuVar25 == (uint *************)0x0) { + pppppppppppppuVar28 = (uint *************)PTR_DAT_14016f008; + } + local_160 = pppppppppppppuVar23; + if (pppppppppppppuVar28 == (uint *************)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + pppppppppppppuVar28 = pppppppppppppuVar25; + if (pppppppppppppuVar25 == (uint *************)0x0) { + pppppppppppppuVar28 = (uint *************)PTR_DAT_14016f008; + } + cVar2 = *(char *)pppppppppppppuVar28; + pppppppppppppuVar17 = pppppppppppppuVar24; + while (cVar2 != '\0') { + pppppppppppppuVar17 = + (uint *************)(ulonglong)(uint)((int)pppppppppppppuVar17 * 0x21 + (int)cVar2); + pppppppppppppuVar28 = (uint *************)((longlong)pppppppppppppuVar28 + 1); + cVar2 = *(char *)pppppppppppppuVar28; + } + uVar32 = *(uint *)(param_1 + 0xf); + pppppppppppppuVar29 = (uint *************)PTR_DAT_14016f008; + if ((uint ************)param_1[0xb] != (uint ************)0x0) { + pppppppppppppuVar28 = (uint *************)PTR_DAT_14016f008; + for (pppppppppppuVar20 = + (uint ***********)param_1[0xb][(ulonglong)pppppppppppppuVar17 % (ulonglong)uVar32] + ; (PTR_DAT_14016f008 = (undefined *)pppppppppppppuVar28, + pppppppppppuVar20 != (uint ***********)0x0 && + (pppppppppppppuVar29 = pppppppppppppuVar28, + (uint)((ulonglong)pppppppppppppuVar17 % (ulonglong)uVar32) == + *(uint *)(pppppppppppuVar20 + 4) % *(uint *)(param_1 + 0xf))); + pppppppppppuVar20 = (uint ***********)pppppppppppuVar20[2]) { + pppppppppppppuVar29 = pppppppppppppuVar25; + if (pppppppppppppuVar25 == (uint *************)0x0) { + pppppppppppppuVar29 = pppppppppppppuVar28; + } + pppppppppppppuVar22 = (uint *************)*pppppppppppuVar20; + if ((uint *************)*pppppppppppuVar20 == (uint *************)0x0) { + pppppppppppppuVar22 = pppppppppppppuVar28; + } + iVar9 = FUN_14003e740((byte *)pppppppppppppuVar22,(longlong)pppppppppppppuVar29); + if (iVar9 == 0) { + local_168 = pppppppppppuVar20; + if (pppppppppppuVar20 != (uint ***********)0x0) goto LAB_1400cd132; + goto LAB_1400cd0b4; + } + pppppppppppppuVar29 = pppppppppppppuVar28; + pppppppppppppuVar28 = (uint *************)PTR_DAT_14016f008; + } + } + pppppppppppppuVar28 = pppppppppppppuVar29; + local_168 = (uint ***********)0x0; +LAB_1400cd0b4: + pppppppppppppuVar29 = (uint *************)&local_1f0; + plVar18 = FUN_1400cc350((char *)pppppppppppppuVar23,(longlong *)pppppppppppppuVar29); + pppppppppppppuVar22 = pppppppppppppuVar23; + if (pppppppppppppuVar19 != (uint *************)*plVar18) { + if (pppppppppppppuVar19 != (uint *************)0x0) { + pppppppppppppuVar19[1] = (uint ************)((longlong)pppppppppppppuVar19[1] + 1); + pppppppppppppuVar25 = local_1f0; + pppppppppppppuVar19 = local_1e8; + } + pppppppppppppuVar22 = (uint *************)0x0; + pppppppppppppuVar23 = pppppppppppppuVar24; + if (*plVar18 != 0) { + *(longlong *)(*plVar18 + 8) = *(longlong *)(*plVar18 + 8) + -1; + pppppppppppppuVar22 = *(uint **************)(*plVar18 + 8); + pppppppppppppuVar25 = local_1f0; + pppppppppppppuVar19 = local_1e8; + if (pppppppppppppuVar22 == (uint *************)0x0) { + pppppppppppppuVar23 = (uint *************)*plVar18; + } + } + *plVar18 = (longlong)pppppppppppppuVar19; + if (pppppppppppppuVar23 != (uint *************)0x0) { + if (*pppppppppppppuVar23 != (uint ************)0x0) { + pppppppppppppuVar29 = (uint *************)0x1; + (*(code *)***pppppppppppppuVar23)(); + } + FUN_14003e8b0(pppppppppppppuVar23); + pppppppppppppuVar22 = pppppppppppppuVar23; + } + } +LAB_1400cd132: + if (((pppppppppppppuVar25 != (uint *************)0x0) && + (pppppppppppppuVar25 != (uint *************)PTR_DAT_14016f008)) && + (pppppppppppppuVar25 + -1 != (uint *************)0x0)) { + piVar15 = (int *)FUN_14003e7c0(pppppppppppppuVar22,pppppppppppppuVar29,pppppppppppppuVar28, + param_4); + local_188 = piVar15; + FUN_14003d040(piVar15); + local_180 = 1; + puVar16 = (uint *)((longlong)pppppppppppppuVar25 + -4); + *puVar16 = *puVar16 - 1; + if (*puVar16 == 0) { + FUN_14003e8b0(pppppppppppppuVar25 + -1); + } + FUN_14003d0d0((longlong)piVar15); + local_180 = 0; + } + local_1f0 = (uint *************)PTR_DAT_14016f008; + param_1 = (uint *******)local_1d8; + plVar18 = local_1a0; + } + dVar34 = (double)FUN_1400bf740((longlong)param_1[1]); + param_2 = local_1b0; + if (3.0 < dVar34 - *(double *)(local_1b0 + 200)) { + if ((undefined8 *)*plVar18 != (undefined8 *)0x0) { + pppppppppppppuVar24 = *(uint **************)*plVar18; + } + FUN_140043a50((longlong *)pppppppppppppuVar24,pppppppppppppuVar29,pppppppppppppuVar28,param_4) + ; + pppppppppppppuVar25 = local_1e8; + *(undefined4 *)(param_2 + 0x18) = 3; + if (pppppppppppppuVar19 != (uint *************)0x0) { + pppppppppppppuVar19 = pppppppppppppuVar19 + 1; + *pppppppppppppuVar19 = (uint ************)((longlong)*pppppppppppppuVar19 + -1); + if (*pppppppppppppuVar19 == (uint ************)0x0) { + if (*local_1e8 != (uint ************)0x0) { + pppppppppppppuVar29 = (uint *************)0x1; + (*(code *)***local_1e8)(); + } + FUN_14003e8b0(pppppppppppppuVar25); + pppppppppppppuVar24 = pppppppppppppuVar25; + } + } + pppppppppppuVar20 = local_1f8; + if (((local_1f8 != (uint ***********)0x0) && + (local_1f8 != (uint ***********)PTR_DAT_14016f008)) && + (pppppppppppppuVar19 = (uint *************)(local_1f8 + -1), + pppppppppppppuVar19 != (uint *************)0x0)) { + piVar15 = (int *)FUN_14003e7c0(pppppppppppppuVar24,pppppppppppppuVar29,pppppppppppppuVar28, + param_4); + local_100 = piVar15; + FUN_14003d040(piVar15); + local_f8 = 1; + puVar16 = (uint *)((longlong)pppppppppppuVar20 + -4); + *puVar16 = *puVar16 - 1; + if (*puVar16 == 0) { + FUN_14003e8b0(pppppppppppppuVar19); + } + FUN_14003d0d0((longlong)piVar15); + } + return; + } + pppppppppppppuVar25 = (uint *************)param_1; + lVar30 = local_1b0; + FUN_1400cb280(param_1,local_1b0,(SIZE_T)pppppppppppppuVar28,param_4); + pppppppppppppuVar29 = local_1e8; + if (pppppppppppppuVar19 != (uint *************)0x0) { + pppppppppppppuVar19 = pppppppppppppuVar19 + 1; + *pppppppppppppuVar19 = (uint ************)((longlong)*pppppppppppppuVar19 + -1); + if (*pppppppppppppuVar19 == (uint ************)0x0) { + if (*local_1e8 != (uint ************)0x0) { + lVar30 = 1; + (*(code *)***local_1e8)(); + } + FUN_14003e8b0(pppppppppppppuVar29); + pppppppppppppuVar25 = pppppppppppppuVar29; + } + } + pppppppppppuVar20 = local_1f8; + if (((local_1f8 != (uint ***********)0x0) && (local_1f8 != (uint ***********)PTR_DAT_14016f008)) + && (pppppppppppppuVar29 = (uint *************)(local_1f8 + -1), + pppppppppppppuVar29 != (uint *************)0x0)) { + piVar15 = (int *)FUN_14003e7c0(pppppppppppppuVar25,lVar30,pppppppppppppuVar28,param_4); + local_128 = piVar15; + FUN_14003d040(piVar15); + local_120 = 1; + puVar16 = (uint *)((longlong)pppppppppppuVar20 + -4); + *puVar16 = *puVar16 - 1; + if (*puVar16 == 0) { + FUN_14003e8b0(pppppppppppppuVar29); + } + FUN_14003d0d0((longlong)piVar15); + local_120 = 0; + } + local_1f8 = (uint ***********)PTR_DAT_14016f008; + } while( true ); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400cd360.c b/decomp/AgentManager_Release_x64/full/functions/0x1400cd360.c new file mode 100644 index 00000000..b5595e45 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400cd360.c @@ -0,0 +1,1026 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400cd360 FUN_1400cd360 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* WARNING: Type propagation algorithm not settling */ + +void FUN_1400cd360(undefined8 *param_1,undefined **param_2,undefined **param_3,longlong param_4) + +{ + ushort uVar1; + undefined8 *puVar2; + short *psVar3; + uint uVar4; + uint uVar5; + uint uVar6; + int iVar7; + undefined8 uVar8; + undefined *_Dst; + uint *puVar9; + uint *puVar10; + uint *puVar11; + longlong *plVar12; + uint *******pppppppuVar13; + uint *******pppppppuVar14; + int *piVar15; + int *piVar16; + uint *puVar17; + longlong lVar18; + undefined8 *puVar19; + undefined **ppuVar20; + ulonglong uVar21; + undefined8 *puVar22; + short **ppsVar23; + uint *******pppppppuVar24; + longlong lVar25; + undefined *puVar26; + uint *puVar27; + uint ******ppppppuVar28; + ulonglong uVar29; + undefined8 **ppuVar30; + uint uVar31; + size_t _Size; + longlong *******ppppppplVar32; + uint *******pppppppuVar33; + uint *******pppppppuVar34; + uint **ppuVar35; + uint ******ppppppuVar36; + undefined1 auStack_a38 [32]; + uint local_a18; + uint *******local_a08; + uint *local_a00; + uint *local_9f8; + uint *local_9f0; + uint local_9e8 [2]; + undefined8 *local_9e0; + uint ******local_9d8; + undefined *local_9d0; + undefined *local_9c8; + undefined *local_9c0; + undefined *local_9b8; + undefined8 local_9b0; + undefined **local_9a8; + undefined4 local_9a0; + undefined2 local_99c; + uint local_998; + uint local_990 [2]; + undefined **local_988; + undefined4 local_980; + undefined2 local_97c; + int local_978; + uint local_970 [2]; + undefined **local_968; + undefined4 local_960; + undefined2 local_95c; + undefined4 local_958; + int *local_950; + undefined1 local_948; + int *local_940; + undefined1 local_938; + int *local_930; + undefined1 local_928; + int *local_920; + undefined1 local_918; + int *local_910; + undefined1 local_908; + int *local_900; + undefined1 local_8f8; + int *local_8f0; + undefined1 local_8e8; + undefined8 local_8e0; + int *local_8d8; + undefined1 local_8d0; + int *local_8c8; + undefined1 local_8c0; + int *local_8b8; + undefined1 local_8b0; + int *local_8a8; + undefined1 local_8a0; + undefined1 *local_898; + undefined1 local_890 [136]; + undefined1 *local_808; + undefined1 local_800 [136]; + short *local_778; + short local_770 [132]; + undefined4 local_668 [392]; + ulonglong local_48; + + local_8e0 = 0xfffffffffffffffe; + local_48 = DAT_14016f5a0 ^ (ulonglong)auStack_a38; + iVar7 = *(int *)(param_2 + 0x492); + local_9e0 = param_1; + if (iVar7 == 0) { + puVar22 = (undefined8 *)0x0; + if (*(int *)((longlong)param_2 + 0x2494) == 0) { + local_9d8 = (uint ******)FUN_14003e840(0x400); + puVar19 = puVar22; + if (local_9d8 != (uint ******)0x0) { + param_3 = param_2; + puVar19 = FUN_140043f50(local_9d8,0,param_2,param_4); + } + if (puVar19 == (undefined8 *)0x0) { + local_9e0 = (undefined8 *)0x0; + } + else { + local_9e0 = (undefined8 *)FUN_14003e840(0x10); + local_9e0[1] = 1; + *local_9e0 = puVar19; + } + puVar19 = local_9e0; + ppuVar30 = &local_9e0; + FUN_140040510((longlong *)(param_2 + 0x490),(longlong *)ppuVar30); + puVar2 = local_9e0; + if (puVar19 != (undefined8 *)0x0) { + plVar12 = puVar19 + 1; + *plVar12 = *plVar12 + -1; + if (*plVar12 == 0) { + plVar12 = (longlong *)*local_9e0; + if (plVar12 != (longlong *)0x0) { + FUN_140043e60(plVar12,ppuVar30,(longlong *)param_3,param_4); + FUN_14003e8b0(plVar12); + } + FUN_14003e8b0(puVar2); + } + } + puVar19 = puVar22; + if ((undefined8 *)param_2[0x490] != (undefined8 *)0x0) { + puVar19 = *(undefined8 **)param_2[0x490]; + } + FUN_140045ad0((longlong)puVar19,ppuVar30,param_3,param_4); + puVar19 = puVar22; + if ((undefined8 *)param_2[0x490] != (undefined8 *)0x0) { + puVar19 = *(undefined8 **)param_2[0x490]; + } + FUN_140043230((longlong)puVar19,'\0'); + uVar8 = FUN_1400ca6c0(param_1,(longlong)param_2,param_3,param_4); + if ((char)uVar8 == '\0') goto LAB_1400ce4aa; + } + FUN_1400432b0(local_668); + puVar19 = puVar22; + if ((undefined8 *)param_2[0x490] != (undefined8 *)0x0) { + puVar19 = *(undefined8 **)param_2[0x490]; + } + FUN_1400432d0((longlong)local_668,(longlong)puVar19); + puVar19 = puVar22; + if ((undefined8 *)param_2[0x490] != (undefined8 *)0x0) { + puVar19 = *(undefined8 **)param_2[0x490]; + } + FUN_140043330((longlong)local_668,(longlong)puVar19); + FUN_140043390((longlong)local_668,0); + if ((undefined8 *)param_2[0x490] != (undefined8 *)0x0) { + puVar22 = *(undefined8 **)param_2[0x490]; + } + puVar17 = local_9e8; + uVar8 = FUN_1400433f0((longlong)local_668,(longlong)puVar22,puVar17); + if ((char)uVar8 != '\0') { + if (local_9e8[0] == 0) { + if (0 < *(int *)(param_2 + 0x492)) { + return; + } + param_2[0x492] = (undefined *)0x1; + return; + } + uVar8 = FUN_1400ca6c0(param_1,(longlong)param_2,puVar17,param_4); + if ((char)uVar8 != '\0') goto LAB_1400ce57c; + goto LAB_1400ce4aa; + } + goto LAB_1400ce57c; + } + if (iVar7 == 1) { + lVar25 = 0; + iVar7 = 0; + if (*(int *)((longlong)param_2 + 0x2494) == 0) { + lVar18 = lVar25; + if ((longlong *)param_2[0x490] != (longlong *)0x0) { + lVar18 = *(longlong *)param_2[0x490]; + } + FUN_140043230(lVar18,'\x01'); + local_808 = local_800; + FUN_14003d280((longlong *)&local_808,(LPCWSTR)((longlong)param_2 + 0x52),3); + local_898 = local_890; + FUN_14003d280((longlong *)&local_898,(LPCWSTR)(param_2 + 0x8b),3); + local_a18 = (uint)*(ushort *)((longlong)param_2 + 0x245c); + FUN_140040470((longlong *)(param_2 + 0x491), + "GET %s HTTP/1.1\r\n\r\nHost: %s:%d\r\n\r\nConnection: Keep-Alive\r\n\r\n", + local_898,local_808); + if (local_898 != local_890) { + free(local_898); + } + if (local_808 != local_800) { + free(local_808); + } + lVar18 = FUN_1400c9030(param_1,(longlong)param_2); + if ((char)lVar18 == '\0') goto LAB_1400ce4aa; + } + local_988 = Proud::AddrPort::vftable; + local_978 = 0; + local_990[0] = 0; + local_990[1] = 0; + local_980 = DAT_14016f3d0; + local_97c = DAT_14016f3d4; + if ((longlong *)param_2[0x490] != (longlong *)0x0) { + lVar25 = *(longlong *)param_2[0x490]; + } + uVar8 = FUN_140043980(lVar25,0,local_990); + if ((char)uVar8 != '\0') { + *(undefined1 *)(param_2 + 0x498) = 0; + if (local_978 == 0) goto LAB_1400ce4aa; + *(int *)((longlong)param_2 + 0x2504) = *(int *)((longlong)param_2 + 0x2504) + local_978; + puVar26 = param_2[0x491]; + if (puVar26 != (undefined *)0x0) { + if (puVar26 == PTR_DAT_14016f008) { + iVar7 = 0; + } + else { + iVar7 = *(int *)(puVar26 + -8); + } + } + if ((iVar7 - *(int *)((longlong)param_2 + 0x2504)) + 1 < 1) { + if (1 < *(int *)(param_2 + 0x492)) { + return; + } + param_2[0x492] = (undefined *)0x2; + return; + } + FUN_1400c9030(param_1,(longlong)param_2); + } + goto LAB_1400ce57c; + } + if (iVar7 == 2) { + lVar25 = 0; + if (*(int *)((longlong)param_2 + 0x2494) == 0) { + *(undefined1 *)(param_2 + 0x4a0) = 1; + lVar18 = lVar25; + if ((longlong *)param_2[0x490] != (longlong *)0x0) { + lVar18 = *(longlong *)param_2[0x490]; + } + uVar6 = FUN_140044880(lVar18,0x8000,param_3,param_4); + if (uVar6 == 0) goto LAB_1400ce117; + } + else { +LAB_1400ce117: + local_9a8 = Proud::AddrPort::vftable; + local_998 = 0; + local_9b0 = 0; + local_9a0 = DAT_14016f3d0; + local_99c = DAT_14016f3d4; + lVar18 = lVar25; + if ((longlong *)param_2[0x490] != (longlong *)0x0) { + lVar18 = *(longlong *)param_2[0x490]; + } + uVar8 = FUN_140043710(lVar18,0,(undefined4 *)&local_9b0); + if ((char)uVar8 == '\0') { +LAB_1400ce57c: + *(int *)((longlong)param_2 + 0x2494) = *(int *)((longlong)param_2 + 0x2494) + 1; + return; + } + *(undefined1 *)(param_2 + 0x4a0) = 0; + if (local_998 == 0) { +LAB_1400ce4aa: + if (2 < *(int *)(param_2 + 0x492)) { + return; + } + param_2[0x492] = (undefined *)0x3; + return; + } + lVar18 = lVar25; + if ((longlong *)param_2[0x490] != (longlong *)0x0) { + lVar18 = *(longlong *)param_2[0x490]; + } + lVar18 = FUN_140043cd0(lVar18); + ppuVar20 = (undefined **)(ulonglong)local_998; + FUN_1400c90b0((longlong)(param_2 + 0x4a2),lVar18,ppuVar20,param_4); + *(uint *)(param_2 + 0x4a1) = *(int *)(param_2 + 0x4a1) + local_998; + if ((int)(0x8000U - *(int *)(param_2 + 0x4a1)) < 1) goto LAB_1400ce4aa; + *(undefined1 *)(param_2 + 0x4a0) = 1; + if ((longlong *)param_2[0x490] != (longlong *)0x0) { + lVar25 = *(longlong *)param_2[0x490]; + } + uVar6 = FUN_140044880(lVar25,(ulonglong)(0x8000U - *(int *)(param_2 + 0x4a1)),ppuVar20,param_4 + ); + if (uVar6 == 0) goto LAB_1400ce57c; + } + *(undefined1 *)(param_2 + 0x4a0) = 0; + goto LAB_1400ce1ed; + } + if (iVar7 != 3) { + if (iVar7 == 4) { + if (((*(int *)((longlong)param_2 + 0x2494) == 0) && + ((undefined8 *)param_2[0x490] != (undefined8 *)0x0)) && + (plVar12 = *(longlong **)param_2[0x490], plVar12 != (longlong *)0x0)) { + FUN_140043a50(plVar12,param_2,param_3,param_4); + } + local_968 = Proud::AddrPort::vftable; + lVar25 = 0; + local_958 = 0; + local_970[0] = 0; + local_970[1] = 0; + local_960 = DAT_14016f3d0; + local_95c = DAT_14016f3d4; + lVar18 = lVar25; + if ((longlong *)param_2[0x490] != (longlong *)0x0) { + lVar18 = *(longlong *)param_2[0x490]; + } + uVar8 = FUN_140043710(lVar18,0,local_970); + if ((char)uVar8 != '\0') { + *(undefined1 *)(param_2 + 0x4a0) = 0; + } + if ((longlong *)param_2[0x490] != (longlong *)0x0) { + lVar25 = *(longlong *)param_2[0x490]; + } + uVar8 = FUN_140043980(lVar25,0,local_970); + if ((char)uVar8 != '\0') { + *(undefined1 *)(param_2 + 0x498) = 0; + } + if ((*(char *)(param_2 + 0x4a0) == '\0') && (*(char *)(param_2 + 0x498) == '\0')) { + if (4 < *(int *)(param_2 + 0x492)) { + return; + } + param_2[0x492] = (undefined *)0x5; + return; + } + } + goto LAB_1400ce57c; + } + uVar6 = 0; + if (*(int *)(param_2 + 0x4a5) == 0) goto LAB_1400ce1ed; + _Dst = FUN_14003d780((longlong *)(param_2 + 0x4a7),*(int *)(param_2 + 0x4a5) + 1); + memset(_Dst,0,(longlong)(*(int *)(param_2 + 0x4a5) + 1)); + puVar26 = (undefined *)0x0; + if (*(int *)(param_2 + 0x4a5) != 0) { + puVar26 = param_2[0x4a4]; + } + _Size = (size_t)*(int *)(param_2 + 0x4a5); + memcpy(_Dst,puVar26,_Size); + ppuVar20 = param_2 + 0x4a7; + FUN_14003d440((longlong *)ppuVar20); + FUN_14003e7c0(ppuVar20,puVar26,_Size,param_4); + ppppppuVar36 = (uint ******)PTR_DAT_14016f008; + local_9d8 = (uint ******)PTR_DAT_14016f008; + ppuVar20 = param_2 + 0x4a7; + FUN_1400c9d00((longlong *)ppuVar20); + FUN_14003e7c0(ppuVar20,puVar26,_Size,param_4); + puVar17 = (uint *)PTR_DAT_14016f008; + local_9f0 = (uint *)PTR_DAT_14016f008; + uVar4 = FUN_14003e6e0("MODELDESCRIPTION"); + iVar7 = 0; + if ((puVar17 != (uint *)0x0) && (iVar7 = 0, puVar17 != (uint *)PTR_DAT_14016f008)) { + iVar7 = *(int *)((longlong)puVar17 + -8); + } + uVar5 = uVar4; + if ((((int)uVar4 <= iVar7) && (uVar5 = 0, puVar17 != (uint *)0x0)) && + (puVar17 != (uint *)PTR_DAT_14016f008)) { + uVar5 = *(uint *)((longlong)puVar17 + -8); + } + uVar31 = 1; + if (1 < (int)uVar5) { + uVar31 = uVar5; + } + iVar7 = 0; + if ((puVar17 != (uint *)0x0) && (iVar7 = 0, puVar17 != (uint *)PTR_DAT_14016f008)) { + iVar7 = *(int *)((longlong)puVar17 + -8); + } + if (iVar7 < (int)uVar31) { + if (puVar17 == (uint *)0x0) { + puVar17 = (uint *)PTR_DAT_14016f008; + } + local_9f0 = puVar17; + if ((int)uVar31 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar31 == 0) { + FUN_140006e80((longlong *)&local_9f0); + } + else { + uVar5 = 0; + if ((puVar17 != (uint *)0x0) && (puVar17 != (uint *)PTR_DAT_14016f008)) { + uVar5 = puVar17[-2]; + } + if (uVar31 != uVar5) { + puVar9 = (uint *)FUN_14003e840((longlong)(int)uVar31 + 9); + if (puVar9 != (uint *)0x0) { + *puVar9 = 0; + puVar9[1] = 1; + } + *puVar9 = uVar31; + uVar5 = 0; + if ((puVar17 != (uint *)0x0) && (puVar17 != (uint *)PTR_DAT_14016f008)) { + uVar5 = puVar17[-2]; + } + puVar10 = (uint *)PTR_DAT_14016f008; + if ((int)uVar31 < (int)uVar5) { +LAB_1400cd625: + if (puVar17 != (uint *)0x0) { + puVar10 = puVar17; + } + } + else { + uVar31 = uVar6; + if (puVar17 != (uint *)0x0) { + if (puVar17 != (uint *)PTR_DAT_14016f008) { + uVar31 = puVar17[-2]; + } + goto LAB_1400cd625; + } + } + FUN_14003e710(puVar9 + 2,puVar10,uVar31); + FUN_140006e80((longlong *)&local_9f0); + local_9f0 = puVar9 + 2; + } + } + } + FUN_14003d4c0((longlong *)&local_9f0); + puVar17 = local_9f0; + puVar9 = local_9f0; + if (local_9f0 == (uint *)0x0) { + puVar9 = (uint *)PTR_DAT_14016f008; + } + uVar29 = (ulonglong)uVar4; + FUN_14003e710(puVar9,"MODELDESCRIPTION",uVar4); + puVar9 = puVar17; + if (puVar17 == (uint *)0x0) { + puVar9 = (uint *)PTR_DAT_14016f008; + } + uVar5 = FUN_14003e6e0((char *)puVar9); + uVar4 = 0; + if (0 < (int)uVar5) { + uVar4 = uVar5; + } + uVar21 = (ulonglong)uVar4; + uVar5 = 0; + if ((puVar17 != (uint *)0x0) && (uVar5 = 0, puVar17 != (uint *)PTR_DAT_14016f008)) { + uVar5 = puVar17[-2]; + } + puVar9 = (uint *)PTR_DAT_14016f008; + if (((int)uVar4 < (int)uVar5) || (uVar21 = 0, puVar17 == (uint *)0x0)) { +LAB_1400cd6bd: + if (((puVar17 != (uint *)PTR_DAT_14016f008) && (puVar17 != (uint *)0x0)) && + (puVar9 = puVar17 + -2, puVar9 != (uint *)0x0)) { + *puVar9 = (uint)uVar21; + *(undefined1 *)((longlong)(int)(uint)uVar21 + 8 + (longlong)puVar9) = 0; + } + } + else if (puVar17 != (uint *)PTR_DAT_14016f008) { + uVar21 = (ulonglong)puVar17[-2]; + goto LAB_1400cd6bd; + } + FUN_14003e7c0(uVar21,puVar9,uVar29,param_4); + puVar9 = (uint *)PTR_DAT_14016f008; + local_a00 = (uint *)PTR_DAT_14016f008; + uVar4 = FUN_14003e6e0("FRIENDLYNAME"); + iVar7 = 0; + if ((puVar9 != (uint *)0x0) && (iVar7 = 0, puVar9 != (uint *)PTR_DAT_14016f008)) { + iVar7 = *(int *)((longlong)puVar9 + -8); + } + uVar5 = uVar4; + if ((((int)uVar4 <= iVar7) && (uVar5 = 0, puVar9 != (uint *)0x0)) && + (puVar9 != (uint *)PTR_DAT_14016f008)) { + uVar5 = *(uint *)((longlong)puVar9 + -8); + } + uVar31 = 1; + if (1 < (int)uVar5) { + uVar31 = uVar5; + } + iVar7 = 0; + if ((puVar9 != (uint *)0x0) && (iVar7 = 0, puVar9 != (uint *)PTR_DAT_14016f008)) { + iVar7 = *(int *)((longlong)puVar9 + -8); + } + if (iVar7 < (int)uVar31) { + if (puVar9 == (uint *)0x0) { + puVar9 = (uint *)PTR_DAT_14016f008; + } + local_a00 = puVar9; + if ((int)uVar31 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar31 == 0) { + FUN_140006e80((longlong *)&local_a00); + } + else { + uVar5 = 0; + if ((puVar9 != (uint *)0x0) && (puVar9 != (uint *)PTR_DAT_14016f008)) { + uVar5 = puVar9[-2]; + } + if (uVar31 != uVar5) { + puVar10 = (uint *)FUN_14003e840((longlong)(int)uVar31 + 9); + if (puVar10 != (uint *)0x0) { + *puVar10 = 0; + puVar10[1] = 1; + } + *puVar10 = uVar31; + uVar5 = 0; + if ((puVar9 != (uint *)0x0) && (puVar9 != (uint *)PTR_DAT_14016f008)) { + uVar5 = puVar9[-2]; + } + puVar11 = (uint *)PTR_DAT_14016f008; + if ((int)uVar31 < (int)uVar5) { +LAB_1400cd7ca: + if (puVar9 != (uint *)0x0) { + puVar11 = puVar9; + } + } + else { + uVar31 = uVar6; + if (puVar9 != (uint *)0x0) { + if (puVar9 != (uint *)PTR_DAT_14016f008) { + uVar31 = puVar9[-2]; + } + goto LAB_1400cd7ca; + } + } + FUN_14003e710(puVar10 + 2,puVar11,uVar31); + FUN_140006e80((longlong *)&local_a00); + local_a00 = puVar10 + 2; + } + } + } + FUN_14003d4c0((longlong *)&local_a00); + puVar9 = local_a00; + puVar10 = local_a00; + if (local_a00 == (uint *)0x0) { + puVar10 = (uint *)PTR_DAT_14016f008; + } + FUN_14003e710(puVar10,"FRIENDLYNAME",uVar4); + puVar10 = puVar9; + if (puVar9 == (uint *)0x0) { + puVar10 = (uint *)PTR_DAT_14016f008; + } + uVar5 = FUN_14003e6e0((char *)puVar10); + uVar4 = 0; + if (0 < (int)uVar5) { + uVar4 = uVar5; + } + uVar5 = 0; + if ((puVar9 != (uint *)0x0) && (uVar5 = 0, puVar9 != (uint *)PTR_DAT_14016f008)) { + uVar5 = puVar9[-2]; + } + if (((int)uVar4 < (int)uVar5) || (uVar4 = 0, puVar9 == (uint *)0x0)) { +LAB_1400cd862: + if (((puVar9 != (uint *)PTR_DAT_14016f008) && (puVar9 != (uint *)0x0)) && + (puVar10 = puVar9 + -2, puVar10 != (uint *)0x0)) { + *puVar10 = uVar4; + *(undefined1 *)((longlong)(int)uVar4 + 8 + (longlong)puVar10) = 0; + } + } + else if (puVar9 != (uint *)PTR_DAT_14016f008) { + uVar4 = puVar9[-2]; + goto LAB_1400cd862; + } + ppuVar35 = &local_9f0; + ppppppplVar32 = (longlong *******)(param_2 + 0x4a7); + ppuVar20 = &local_9d0; + puVar22 = local_9e0; + local_a08 = (uint *******) + FUN_1400ca9c0(local_9e0,(longlong *)ppuVar20,ppppppplVar32,(longlong *)ppuVar35); + FUN_14003e7c0(puVar22,ppuVar20,ppppppplVar32,ppuVar35); + puVar10 = (uint *)PTR_DAT_14016f008; + local_9f8 = (uint *)PTR_DAT_14016f008; + local_9e8[0] = FUN_14003e6e0("##"); + iVar7 = 0; + if ((puVar10 != (uint *)0x0) && (iVar7 = 0, puVar10 != (uint *)PTR_DAT_14016f008)) { + iVar7 = *(int *)((longlong)puVar10 + -8); + } + uVar4 = local_9e8[0]; + if ((((int)local_9e8[0] <= iVar7) && (uVar4 = 0, puVar10 != (uint *)0x0)) && + (puVar10 != (uint *)PTR_DAT_14016f008)) { + uVar4 = *(uint *)((longlong)puVar10 + -8); + } + uVar5 = 1; + if (1 < (int)uVar4) { + uVar5 = uVar4; + } + iVar7 = 0; + if ((puVar10 != (uint *)0x0) && (iVar7 = 0, puVar10 != (uint *)PTR_DAT_14016f008)) { + iVar7 = *(int *)((longlong)puVar10 + -8); + } + if (iVar7 < (int)uVar5) { + if (puVar10 == (uint *)0x0) { + puVar10 = (uint *)PTR_DAT_14016f008; + } + local_9f8 = puVar10; + if ((int)uVar5 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar5 == 0) { + FUN_140006e80((longlong *)&local_9f8); + } + else { + uVar4 = 0; + if ((puVar10 != (uint *)0x0) && (puVar10 != (uint *)PTR_DAT_14016f008)) { + uVar4 = puVar10[-2]; + } + if (uVar5 != uVar4) { + puVar11 = (uint *)FUN_14003e840((longlong)(int)uVar5 + 9); + if (puVar11 != (uint *)0x0) { + *puVar11 = 0; + puVar11[1] = 1; + } + *puVar11 = uVar5; + uVar4 = 0; + if ((puVar10 != (uint *)0x0) && (puVar10 != (uint *)PTR_DAT_14016f008)) { + uVar4 = puVar10[-2]; + } + puVar27 = (uint *)PTR_DAT_14016f008; + if ((int)uVar5 < (int)uVar4) { +LAB_1400cd999: + if (puVar10 != (uint *)0x0) { + puVar27 = puVar10; + } + } + else { + uVar5 = uVar6; + if (puVar10 != (uint *)0x0) { + if (puVar10 != (uint *)PTR_DAT_14016f008) { + uVar5 = puVar10[-2]; + } + goto LAB_1400cd999; + } + } + FUN_14003e710(puVar11 + 2,puVar27,uVar5); + FUN_140006e80((longlong *)&local_9f8); + local_9f8 = puVar11 + 2; + } + } + } + FUN_14003d4c0((longlong *)&local_9f8); + puVar10 = local_9f8; + puVar11 = local_9f8; + if (local_9f8 == (uint *)0x0) { + puVar11 = (uint *)PTR_DAT_14016f008; + } + FUN_14003e710(puVar11,&DAT_140124980,local_9e8[0]); + puVar11 = puVar10; + if (puVar10 == (uint *)0x0) { + puVar11 = (uint *)PTR_DAT_14016f008; + } + uVar5 = FUN_14003e6e0((char *)puVar11); + uVar4 = 0; + if (0 < (int)uVar5) { + uVar4 = uVar5; + } + uVar5 = 0; + if ((puVar10 != (uint *)0x0) && (uVar5 = 0, puVar10 != (uint *)PTR_DAT_14016f008)) { + uVar5 = puVar10[-2]; + } + if (((int)uVar4 < (int)uVar5) || (uVar4 = 0, puVar10 == (uint *)0x0)) { +LAB_1400cda33: + if (((puVar10 != (uint *)PTR_DAT_14016f008) && (puVar10 != (uint *)0x0)) && + (puVar11 = puVar10 + -2, puVar11 != (uint *)0x0)) { + *puVar11 = uVar4; + *(undefined1 *)((longlong)(int)uVar4 + 8 + (longlong)puVar11) = 0; + } + } + else if (puVar10 != (uint *)PTR_DAT_14016f008) { + uVar4 = puVar10[-2]; + goto LAB_1400cda33; + } + ppuVar35 = &local_a00; + plVar12 = FUN_1400ca9c0(local_9e0,(longlong *)&local_9b8,(longlong *******)(param_2 + 0x4a7), + (longlong *)ppuVar35); + pppppppuVar13 = + (uint *******)FUN_140040a00((longlong *)&local_9c0,plVar12,(longlong *)&local_9f8,ppuVar35); + pppppppuVar14 = + (uint *******) + FUN_140040a00((longlong *)&local_9c8,(longlong *)pppppppuVar13,(longlong *)local_a08,ppuVar35 + ); + if (ppppppuVar36 == (uint ******)0x0) { + ppppppuVar36 = (uint ******)PTR_DAT_14016f008; + } + pppppppuVar33 = local_a08; + local_9d8 = ppppppuVar36; + if (*pppppppuVar14 != ppppppuVar36) { + local_a08 = pppppppuVar14; + piVar15 = (int *)FUN_14003e7c0(PTR_DAT_14016f008,pppppppuVar13,pppppppuVar33,ppuVar35); + piVar16 = piVar15; + local_920 = piVar15; + FUN_14003d040(piVar15); + local_918 = 1; + if (((ppppppuVar36 != (uint ******)0x0) && (ppppppuVar36 != (uint ******)PTR_DAT_14016f008)) && + (ppppppuVar36 + -1 != (uint ******)0x0)) { + piVar15 = (int *)FUN_14003e7c0(piVar16,pppppppuVar13,pppppppuVar33,ppuVar35); + local_8a8 = piVar15; + FUN_14003d040(piVar15); + local_8a0 = 1; + piVar16 = (int *)((longlong)ppppppuVar36 + -4); + *piVar16 = *piVar16 + -1; + if (*piVar16 == 0) { + FUN_14003e8b0(ppppppuVar36 + -1); + } + FUN_14003d0d0((longlong)piVar15); + piVar15 = local_920; + } + ppppppuVar36 = *local_a08; + if (((ppppppuVar36 != (uint ******)PTR_DAT_14016f008) && (ppppppuVar36 != (uint ******)0x0)) && + (ppppppuVar36 != (uint ******)0x8)) { + *(int *)((longlong)ppppppuVar36 + -4) = *(int *)((longlong)ppppppuVar36 + -4) + 1; + } + local_9d8 = ppppppuVar36; + FUN_14003d0d0((longlong)piVar15); + pppppppuVar14 = local_a08; + } + local_a08 = pppppppuVar14; + if (((local_9c8 != (undefined *)0x0) && (local_9c8 != PTR_DAT_14016f008)) && + (local_9c8 + -8 != (undefined *)0x0)) { + local_930 = (int *)FUN_14003e7c0(PTR_DAT_14016f008,pppppppuVar13,pppppppuVar33,ppuVar35); + FUN_14003d040(local_930); + local_928 = 1; + piVar16 = (int *)(local_9c8 + -4); + *piVar16 = *piVar16 + -1; + if (*piVar16 == 0) { + FUN_14003e8b0(local_9c8 + -8); + } + FUN_14003d0d0((longlong)local_930); + } + local_9c8 = PTR_DAT_14016f008; + if (((local_9c0 != (undefined *)0x0) && (local_9c0 != PTR_DAT_14016f008)) && + (local_9c0 + -8 != (undefined *)0x0)) { + local_950 = (int *)FUN_14003e7c0(PTR_DAT_14016f008,pppppppuVar13,pppppppuVar33,ppuVar35); + FUN_14003d040(local_950); + local_948 = 1; + piVar16 = (int *)(local_9c0 + -4); + *piVar16 = *piVar16 + -1; + if (*piVar16 == 0) { + FUN_14003e8b0(local_9c0 + -8); + } + FUN_14003d0d0((longlong)local_950); + } + local_9c0 = PTR_DAT_14016f008; + if (((local_9b8 != (undefined *)0x0) && (local_9b8 != PTR_DAT_14016f008)) && + (local_9b8 + -8 != (undefined *)0x0)) { + local_940 = (int *)FUN_14003e7c0(PTR_DAT_14016f008,pppppppuVar13,pppppppuVar33,ppuVar35); + FUN_14003d040(local_940); + local_938 = 1; + piVar16 = (int *)(local_9b8 + -4); + *piVar16 = *piVar16 + -1; + if (*piVar16 == 0) { + FUN_14003e8b0(local_9b8 + -8); + } + FUN_14003d0d0((longlong)local_940); + } + local_9b8 = PTR_DAT_14016f008; + if (((puVar10 != (uint *)0x0) && (puVar10 != (uint *)PTR_DAT_14016f008)) && + (puVar10 + -2 != (uint *)0x0)) { + piVar16 = (int *)FUN_14003e7c0(PTR_DAT_14016f008,pppppppuVar13,pppppppuVar33,ppuVar35); + local_8b8 = piVar16; + FUN_14003d040(piVar16); + local_8b0 = 1; + puVar11 = puVar10 + -1; + *puVar11 = *puVar11 - 1; + if (*puVar11 == 0) { + FUN_14003e8b0(puVar10 + -2); + } + FUN_14003d0d0((longlong)piVar16); + } + if (((local_9d0 != (undefined *)0x0) && (local_9d0 != PTR_DAT_14016f008)) && + (local_9d0 + -8 != (undefined *)0x0)) { + piVar15 = (int *)FUN_14003e7c0(PTR_DAT_14016f008,pppppppuVar13,pppppppuVar33,ppuVar35); + local_900 = piVar15; + FUN_14003d040(piVar15); + local_8f8 = 1; + piVar16 = (int *)(local_9d0 + -4); + *piVar16 = *piVar16 + -1; + if (*piVar16 == 0) { + FUN_14003e8b0(local_9d0 + -8); + } + FUN_14003d0d0((longlong)piVar15); + } + local_9d0 = PTR_DAT_14016f008; + if (((puVar9 != (uint *)0x0) && (puVar9 != (uint *)PTR_DAT_14016f008)) && + (puVar9 + -2 != (uint *)0x0)) { + piVar16 = (int *)FUN_14003e7c0(PTR_DAT_14016f008,pppppppuVar13,pppppppuVar33,ppuVar35); + local_8f0 = piVar16; + FUN_14003d040(piVar16); + local_8e8 = 1; + puVar10 = puVar9 + -1; + *puVar10 = *puVar10 - 1; + if (*puVar10 == 0) { + FUN_14003e8b0(puVar9 + -2); + } + FUN_14003d0d0((longlong)piVar16); + } + if (((puVar17 != (uint *)0x0) && (puVar17 != (uint *)PTR_DAT_14016f008)) && + (puVar17 + -2 != (uint *)0x0)) { + piVar16 = (int *)FUN_14003e7c0(PTR_DAT_14016f008,pppppppuVar13,pppppppuVar33,ppuVar35); + local_8c8 = piVar16; + FUN_14003d040(piVar16); + local_8c0 = 1; + puVar9 = puVar17 + -1; + *puVar9 = *puVar9 - 1; + if (*puVar9 == 0) { + FUN_14003e8b0(puVar17 + -2); + } + FUN_14003d0d0((longlong)piVar16); + } + if (((ppppppuVar36 != (uint ******)0x0) && (ppppppuVar36 != (uint ******)PTR_DAT_14016f008)) && + (2 < *(int *)(ppppppuVar36 + -1))) { + local_778 = local_770; + uVar8 = 3; + ppsVar23 = &local_778; + ppppppuVar28 = ppppppuVar36; + FUN_140005110((longlong *)ppsVar23,(LPCSTR)ppppppuVar36,3); + psVar3 = local_778; + FUN_14003e7c0(ppsVar23,ppppppuVar28,uVar8,ppuVar35); + pppppppuVar13 = (uint *******)PTR_DAT_14016f010; + local_a08 = (uint *******)PTR_DAT_14016f010; + uVar4 = FUN_14003e620(psVar3); + uVar29 = 0; + if ((pppppppuVar13 != (uint *******)0x0) && (pppppppuVar13 != (uint *******)PTR_DAT_14016f010)) + { + uVar29 = (ulonglong)*(uint *)((longlong)pppppppuVar13 + -8); + } + uVar5 = uVar4; + if ((((int)uVar4 <= (int)uVar29) && (uVar5 = 0, pppppppuVar13 != (uint *******)0x0)) && + (pppppppuVar13 != (uint *******)PTR_DAT_14016f010)) { + uVar5 = *(uint *)((longlong)pppppppuVar13 + -8); + } + uVar31 = 1; + if (1 < (int)uVar5) { + uVar31 = uVar5; + } + iVar7 = 0; + if ((pppppppuVar13 != (uint *******)0x0) && + (iVar7 = 0, pppppppuVar13 != (uint *******)PTR_DAT_14016f010)) { + iVar7 = *(int *)((longlong)pppppppuVar13 + -8); + } + if (iVar7 < (int)uVar31) { + if (pppppppuVar13 == (uint *******)0x0) { + pppppppuVar13 = (uint *******)PTR_DAT_14016f010; + } + local_a08 = pppppppuVar13; + if ((int)uVar31 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (uVar31 == 0) { + FUN_140002190((longlong *)&local_a08,uVar29,uVar8,ppuVar35); + } + else { + uVar5 = 0; + if ((pppppppuVar13 != (uint *******)0x0) && + (pppppppuVar13 != (uint *******)PTR_DAT_14016f010)) { + uVar5 = *(uint *)(pppppppuVar13 + -1); + } + if (uVar31 != uVar5) { + puVar17 = (uint *)FUN_14003e840((longlong)(int)uVar31 * 2 + 10); + if (puVar17 != (uint *)0x0) { + *puVar17 = 0; + puVar17[1] = 1; + } + *puVar17 = uVar31; + uVar5 = 0; + if ((pppppppuVar13 != (uint *******)0x0) && + (pppppppuVar13 != (uint *******)PTR_DAT_14016f010)) { + uVar5 = *(uint *)(pppppppuVar13 + -1); + } + pppppppuVar14 = (uint *******)PTR_DAT_14016f010; + if ((int)uVar31 < (int)uVar5) { +LAB_1400cde9c: + if (pppppppuVar13 != (uint *******)0x0) { + pppppppuVar14 = pppppppuVar13; + } + } + else { + uVar31 = uVar6; + if (pppppppuVar13 != (uint *******)0x0) { + if (pppppppuVar13 != (uint *******)PTR_DAT_14016f010) { + uVar31 = *(uint *)(pppppppuVar13 + -1); + } + goto LAB_1400cde9c; + } + } + uVar29 = (ulonglong)uVar31; + FUN_14003e650(puVar17 + 2,pppppppuVar14,uVar31); + FUN_140002190((longlong *)&local_a08,pppppppuVar14,uVar29,ppuVar35); + local_a08 = (uint *******)(puVar17 + 2); + } + } + } + FUN_140001df0((longlong *)&local_a08); + pppppppuVar14 = local_a08; + pppppppuVar13 = local_a08; + if (local_a08 == (uint *******)0x0) { + pppppppuVar13 = (uint *******)PTR_DAT_14016f010; + } + FUN_14003e650(pppppppuVar13,psVar3,uVar4); + pppppppuVar13 = pppppppuVar14; + if (pppppppuVar14 == (uint *******)0x0) { + pppppppuVar13 = (uint *******)PTR_DAT_14016f010; + } + uVar4 = FUN_14003e620((short *)pppppppuVar13); + puVar22 = local_9e0; + uVar6 = 0; + if (0 < (int)uVar4) { + uVar6 = uVar4; + } + uVar4 = 0; + if ((pppppppuVar14 != (uint *******)0x0) && + (uVar4 = 0, pppppppuVar14 != (uint *******)PTR_DAT_14016f010)) { + uVar4 = *(uint *)(pppppppuVar14 + -1); + } + if (((int)uVar6 < (int)uVar4) || (uVar6 = 0, pppppppuVar14 == (uint *******)0x0)) { +LAB_1400cdf30: + if (((pppppppuVar14 != (uint *******)PTR_DAT_14016f010) && + (pppppppuVar14 != (uint *******)0x0)) && (pppppppuVar14 + -1 != (uint *******)0x0)) { + *(uint *)(pppppppuVar14 + -1) = uVar6; + *(ushort *)((longlong)pppppppuVar14 + (longlong)(int)uVar6 * 2) = 0; + } + } + else if (pppppppuVar14 != (uint *******)PTR_DAT_14016f010) { + uVar6 = *(uint *)(pppppppuVar14 + -1); + goto LAB_1400cdf30; + } + pppppppuVar13 = pppppppuVar14; + if (pppppppuVar14 == (uint *******)0x0) { + pppppppuVar13 = (uint *******)PTR_DAT_14016f010; + } + if (pppppppuVar13 == (uint *******)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + uVar6 = 0; + pppppppuVar13 = pppppppuVar14; + if (pppppppuVar14 == (uint *******)0x0) { + pppppppuVar13 = (uint *******)PTR_DAT_14016f010; + } + uVar1 = *(ushort *)pppppppuVar13; + while (uVar1 != 0) { + uVar6 = uVar6 * 0x21 + (uint)uVar1; + pppppppuVar13 = (uint *******)((longlong)pppppppuVar13 + 2); + uVar1 = *(ushort *)pppppppuVar13; + } + uVar4 = *(uint *)(local_9e0 + 0x1a); + pppppppuVar34 = (uint *******)PTR_DAT_14016f010; + if (local_9e0[0x16] != 0) { + plVar12 = *(longlong **)(local_9e0[0x16] + ((ulonglong)uVar6 % (ulonglong)uVar4) * 8); + pppppppuVar33 = (uint *******)PTR_DAT_14016f010; + while( true ) { + PTR_DAT_14016f010 = (undefined *)pppppppuVar33; + if ((plVar12 == (longlong *)0x0) || + (pppppppuVar34 = pppppppuVar33, + (uint)((ulonglong)uVar6 % (ulonglong)uVar4) != + *(uint *)(plVar12 + 4) % *(uint *)(puVar22 + 0x1a))) goto LAB_1400ce014; + pppppppuVar13 = pppppppuVar14; + if (pppppppuVar14 == (uint *******)0x0) { + pppppppuVar13 = pppppppuVar33; + } + pppppppuVar24 = (uint *******)*plVar12; + if ((uint *******)*plVar12 == (uint *******)0x0) { + pppppppuVar24 = pppppppuVar33; + } + iVar7 = FUN_14003e660((ushort *)pppppppuVar24,(longlong)pppppppuVar13); + pppppppuVar34 = pppppppuVar33; + if (iVar7 == 0) break; + plVar12 = (longlong *)plVar12[2]; + pppppppuVar33 = (uint *******)PTR_DAT_14016f010; + } + if (plVar12 != (longlong *)0x0) goto LAB_1400ce028; + } +LAB_1400ce014: + pppppppuVar13 = (uint *******)&local_a08; + pppppppuVar24 = (uint *******)(puVar22 + 0x15); + plVar12 = FUN_1400cc450((char *)pppppppuVar24,(longlong *)pppppppuVar13); + *(undefined1 *)plVar12 = 0; + pppppppuVar33 = pppppppuVar34; +LAB_1400ce028: + if (((pppppppuVar14 != (uint *******)0x0) && (pppppppuVar14 != (uint *******)PTR_DAT_14016f010)) + && (pppppppuVar14 + -1 != (uint *******)0x0)) { + piVar16 = (int *)FUN_14003e7c0(pppppppuVar24,pppppppuVar13,pppppppuVar33,ppuVar35); + local_8d8 = piVar16; + FUN_14003d040(piVar16); + local_8d0 = 1; + puVar17 = (uint *)((longlong)pppppppuVar14 + -4); + *puVar17 = *puVar17 - 1; + if (*puVar17 == 0) { + FUN_14003e8b0(pppppppuVar14 + -1); + } + FUN_14003d0d0((longlong)piVar16); + } + if (local_778 != local_770) { + free(local_778); + } + } + if (((ppppppuVar36 != (uint ******)0x0) && (ppppppuVar36 != (uint ******)PTR_DAT_14016f008)) && + (ppppppuVar36 + -1 != (uint ******)0x0)) { + piVar15 = (int *)FUN_14003e7c0(PTR_DAT_14016f008,pppppppuVar13,pppppppuVar33,ppuVar35); + local_910 = piVar15; + FUN_14003d040(piVar15); + local_908 = 1; + piVar16 = (int *)((longlong)ppppppuVar36 + -4); + *piVar16 = *piVar16 + -1; + if (*piVar16 == 0) { + FUN_14003e8b0(ppppppuVar36 + -1); + } + FUN_14003d0d0((longlong)piVar15); + } +LAB_1400ce1ed: + if (3 < *(int *)(param_2 + 0x492)) { + return; + } + param_2[0x492] = (undefined *)0x4; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ce5b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ce5b0.c new file mode 100644 index 00000000..806ed3a9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ce5b0.c @@ -0,0 +1,41 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ce5b0 FUN_1400ce5b0 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x0001400ce679) */ +/* WARNING: Removing unreachable block (ram,0x0001400ce684) */ + +void FUN_1400ce5b0(undefined8 *param_1,undefined8 param_2,undefined **param_3,longlong param_4) + +{ + longlong *plVar1; + longlong *plVar2; + undefined **ppuVar3; + + FUN_14003d040((int *)(param_1 + 2)); + if (param_1[0xe] == 0) { + plVar2 = (longlong *)0x0; + } + else { + plVar2 = (longlong *)param_1[0xc]; + } + while (plVar2 != (longlong *)0x0) { + ppuVar3 = (undefined **)0x0; + if ((undefined8 *)plVar2[1] != (undefined8 *)0x0) { + ppuVar3 = *(undefined ***)plVar2[1]; + } + FUN_1400cd360(param_1,ppuVar3,param_3,param_4); + if (*(int *)(ppuVar3 + 0x492) == 5) { + plVar1 = (longlong *)plVar2[2]; + param_3 = (undefined **)0x0; + FUN_1400cb510((char *)(param_1 + 10),plVar2,0); + plVar2 = plVar1; + } + else { + plVar2 = (longlong *)plVar2[2]; + } + } + FUN_14003d0d0((longlong)(param_1 + 2)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ce6b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ce6b0.c new file mode 100644 index 00000000..696ad913 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ce6b0.c @@ -0,0 +1,59 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ce6b0 FUN_1400ce6b0 + * Pseudocode, not original source. */ + +void FUN_1400ce6b0(uint *******param_1,uint ****param_2,undefined **param_3,uint ******param_4) + +{ + uint *******pppppppuVar1; + int iVar2; + uint *******pppppppuVar3; + int iVar4; + + pppppppuVar1 = param_1 + 2; + pppppppuVar3 = pppppppuVar1; + FUN_14003d040((int *)pppppppuVar1); + if (*(int *)(param_1 + 9) == 0) { + pppppppuVar3 = param_1; + FUN_1400cbe90((longlong)param_1,(undefined **)param_2,(ulonglong)param_3,param_4); + } + *(int *)(param_1 + 9) = *(int *)(param_1 + 9) + 1; + iVar4 = 0; + while( true ) { + if (iVar4 == *(int *)(param_1 + 0x23)) { + FUN_1400ce5b0(param_1,param_2,param_3,(longlong)param_4); + FUN_1400caca0((longlong)param_1,(longlong)param_2,(longlong)param_3,param_4); + FUN_14003d0d0((longlong)pppppppuVar1); + return; + } + if ((iVar4 < 0) || (*(int *)(param_1 + 0x23) <= iVar4)) break; + param_2 = (uint ****)0x0; + if (param_1[0x22][iVar4] != (uint *****)0x0) { + param_2 = *param_1[0x22][iVar4]; + } + iVar2 = *(int *)(param_2 + 3); + if (iVar2 == 0) { + pppppppuVar3 = param_1; + FUN_1400cb8e0(param_1,(longlong *)param_2,(longlong *)param_3,param_4); + } + else if (iVar2 == 1) { + pppppppuVar3 = param_1; + FUN_1400cbab0((longlong)param_1,(longlong)param_2,param_3,param_4); + } + else { + pppppppuVar3 = (uint *******)(ulonglong)(iVar2 - 2U); + if (iVar2 - 2U == 0) { + pppppppuVar3 = param_1; + FUN_1400cc7b0(param_1,(longlong)param_2,param_3,param_4); + } + } + if (*(int *)(param_1 + 0x23) <= iVar4) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(pppppppuVar3,param_2,param_3,param_4); + } + iVar4 = iVar4 + 1; + } + /* WARNING: Subroutine does not return */ + FUN_14003def0(pppppppuVar3,param_2,param_3,param_4); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ce790.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ce790.c new file mode 100644 index 00000000..5b159873 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ce790.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ce790 FUN_1400ce790 + * Pseudocode, not original source. */ + +ulonglong FUN_1400ce790(longlong param_1,double param_2) + +{ + uint uVar1; + undefined8 uVar2; + ulonglong uVar3; + + uVar1 = *(uint *)(param_1 + 0x1a4); + uVar2 = FUN_1400b7120((double *)(param_1 + 0x1b8),param_2); + if ((int)uVar2 < (int)uVar1) { + uVar3 = FUN_1400b7120((double *)(param_1 + 0x1b8),param_2); + } + else { + uVar3 = (ulonglong)uVar1; + } + return uVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ce800.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ce800.c new file mode 100644 index 00000000..35e04b27 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ce800.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ce800 FUN_1400ce800 + * Pseudocode, not original source. */ + +void FUN_1400ce800(longlong param_1,double param_2) + +{ + FUN_140093750(param_1 + 0x170,param_2); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ce810.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ce810.c new file mode 100644 index 00000000..7f229bff --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ce810.c @@ -0,0 +1,42 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ce810 FUN_1400ce810 + * Pseudocode, not original source. */ + +uint FUN_1400ce810(longlong param_1,undefined8 param_2,undefined **param_3,undefined8 param_4) + +{ + char cVar1; + uint uVar2; + longlong *plVar3; + ulonglong uVar4; + longlong *plVar5; + + if (*(char *)(param_1 + 0xc0) == '\0') { + plVar5 = (longlong *)0x0; + plVar3 = plVar5; + if (*(longlong **)(param_1 + 0x128) != (longlong *)0x0) { + plVar3 = (longlong *)**(longlong **)(param_1 + 0x128); + } + cVar1 = FUN_140043cf0((longlong)plVar3); + if (cVar1 == '\0') { + *(undefined1 *)(param_1 + 0xc0) = 1; + plVar3 = plVar5; + if (*(longlong **)(param_1 + 0x128) != (longlong *)0x0) { + plVar3 = (longlong *)**(longlong **)(param_1 + 0x128); + } + uVar4 = (ulonglong)DAT_14016f048; + uVar2 = FUN_140044880((longlong)plVar3,uVar4,param_3,param_4); + if (uVar2 != 0) { + *(undefined1 *)(param_1 + 0xc0) = 0; + if (*(undefined8 **)(param_1 + 0x128) != (undefined8 *)0x0) { + plVar5 = (longlong *)**(undefined8 **)(param_1 + 0x128); + } + FUN_140043a50(plVar5,uVar4,param_3,param_4); + return uVar2; + } + *(undefined8 *)(param_1 + 0x1f0) = 0; + } + } + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ce8d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ce8d0.c new file mode 100644 index 00000000..687e6c15 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ce8d0.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ce8d0 FUN_1400ce8d0 + * Pseudocode, not original source. */ + +void FUN_1400ce8d0(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + if (*(undefined8 **)(param_1 + 0xe8) != (undefined8 *)0x0) { + FUN_140043a50((longlong *)**(undefined8 **)(param_1 + 0xe8),param_2,param_3,param_4); + return; + } + FUN_140043a50((longlong *)0x0,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ce8f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ce8f0.c new file mode 100644 index 00000000..39d16cc4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ce8f0.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ce8f0 FUN_1400ce8f0 + * Pseudocode, not original source. */ + +void FUN_1400ce8f0(longlong param_1,char param_2) + +{ + if (*(longlong **)(param_1 + 0x128) != (longlong *)0x0) { + FUN_140043260(**(longlong **)(param_1 + 0x128),param_2); + return; + } + FUN_140043260(0,param_2); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ce910.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ce910.c new file mode 100644 index 00000000..18f89898 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ce910.c @@ -0,0 +1,32 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ce910 FUN_1400ce910 + * Pseudocode, not original source. */ + +void FUN_1400ce910(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong lVar1; + undefined8 *puVar2; + undefined8 local_28; + int local_20; + undefined2 local_1c; + undefined8 local_18; + int local_10; + + if (*(longlong **)(param_1 + 0x128) == (longlong *)0x0) { + lVar1 = 0; + } + else { + lVar1 = **(longlong **)(param_1 + 0x128); + } + puVar2 = &local_28; + FUN_140042ff0(lVar1,puVar2); + FUN_140042c70(&local_18,puVar2,param_3,param_4); + if ((local_20 == 0) && (local_10 != 0)) { + local_20 = local_10; + } + *(int *)(param_1 + 0x118) = local_20; + *(undefined2 *)(param_1 + 0x11c) = local_1c; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ce970.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ce970.c new file mode 100644 index 00000000..9895a7cb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ce970.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ce970 FUN_1400ce970 + * Pseudocode, not original source. */ + +undefined8 FUN_1400ce970(longlong param_1) + +{ + longlong lVar1; + + if ((*(longlong **)(param_1 + 0xe8) != (longlong *)0x0) && + (lVar1 = **(longlong **)(param_1 + 0xe8), lVar1 != 0)) { + if (*(char *)(lVar1 + 0x80) == '\0') { + return 0; + } + } + return 1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ce9a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ce9a0.c new file mode 100644 index 00000000..54341c65 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ce9a0.c @@ -0,0 +1,74 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ce9a0 FUN_1400ce9a0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_1400ce9a0(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + char cVar1; + int iVar2; + uint uVar3; + ulonglong uVar4; + longlong *plVar5; + longlong lVar6; + longlong *plVar7; + double dVar8; + undefined8 uVar9; + undefined1 auStack_6a8 [32]; + undefined8 local_688; + void *local_678; + undefined8 local_670; + ulonglong local_668; + undefined8 local_660; + ulonglong local_18; + + local_688 = 0xfffffffffffffffe; + local_18 = DAT_14016f5a0 ^ (ulonglong)auStack_6a8; + plVar7 = (longlong *)0x0; + plVar5 = plVar7; + if (*(longlong **)(param_1 + 0x128) != (longlong *)0x0) { + plVar5 = (longlong *)**(longlong **)(param_1 + 0x128); + } + cVar1 = FUN_140043cf0((longlong)plVar5); + if ((cVar1 == '\0') && (*(char *)(param_1 + 0x80) == '\0')) { + dVar8 = (double)(**(code **)(**(longlong **)(param_1 + 0x120) + 0x30))(); + uVar4 = FUN_1400ce790(param_1,dVar8); + iVar2 = (int)uVar4; + if (0 < iVar2) { + *(undefined1 *)(param_1 + 0x80) = 1; + local_678 = (void *)0x0; + local_660 = 0; + local_670 = 0; + local_668 = 100; + uVar4 = uVar4 & 0xffffffff; + FUN_140093ac0(param_1 + 0x170,(longlong *)&local_678,iVar2); + plVar5 = plVar7; + if (*(longlong **)(param_1 + 0x128) != (longlong *)0x0) { + plVar5 = (longlong *)**(longlong **)(param_1 + 0x128); + } + uVar3 = FUN_140044d90((longlong)plVar5,(longlong *)&local_678,uVar4,param_4); + FUN_1400b70e0(param_1 + 0x1b8,iVar2); + lVar6 = **(longlong **)(param_1 + 0x120); + uVar9 = (**(code **)(lVar6 + 0x30))(); + *(double *)(param_1 + 0x1d8) = (double)iVar2 + *(double *)(param_1 + 0x1d8); + *(undefined8 *)(param_1 + 0x1e8) = uVar9; + if (uVar3 == 0) { + *(undefined8 *)(param_1 + 0x1f8) = 0; + } + else { + *(undefined1 *)(param_1 + 0x80) = 0; + if (*(undefined8 **)(param_1 + 0x128) != (undefined8 *)0x0) { + plVar7 = (longlong *)**(undefined8 **)(param_1 + 0x128); + } + FUN_140043a50(plVar7,lVar6,uVar4,param_4); + } + if (100 < local_668) { + operator_delete__(local_678); + } + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ceb20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ceb20.c new file mode 100644 index 00000000..689194c7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ceb20.c @@ -0,0 +1,57 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ceb20 FUN_1400ceb20 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_1400ceb20(longlong param_1,longlong param_2,SIZE_T *param_3,undefined8 param_4) + +{ + undefined1 auStack_de8 [32]; + undefined8 local_dc8; + longlong *local_dc0; + exception local_db8 [80]; + undefined4 local_d68 [2]; + longlong local_d60; + longlong local_d58; + undefined4 local_d50; + int local_d4c; + undefined1 local_d40 [136]; + undefined1 local_cb8 [3200]; + undefined1 *local_38; + undefined4 local_30; + int local_2c; + ulonglong local_28; + + local_dc8 = 0xfffffffffffffffe; + local_28 = DAT_14016f5a0 ^ (ulonglong)auStack_de8; + (**(code **)(**(longlong **)(param_1 + 0x120) + 0x20))(); + local_2c = 200; + local_30 = 0; + local_38 = local_cb8; + FUN_140074fb0(local_d68); + FUN_140074c30((longlong)local_d68,(longlong)local_d40,0x80,param_4); + FUN_140093d90(param_2,(longlong)local_cb8,(SIZE_T)local_d68,param_4); + FUN_140093a10((longlong *)(param_1 + 0x170),(longlong)local_cb8,param_3,param_4); + local_dc0 = &local_d60; + FUN_14008a320(&local_d60); + if (local_d58 != 0) { + if (local_d4c < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_d50 = 0; + } + if (local_38 == (undefined1 *)0x0) { + FUN_14003db10(local_db8,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,param_3, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_db8,(ThrowInfo *)&DAT_14016c210); + } + if (local_2c < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400cec80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400cec80.c new file mode 100644 index 00000000..4607b630 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400cec80.c @@ -0,0 +1,31 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400cec80 FUN_1400cec80 + * Pseudocode, not original source. */ + +void FUN_1400cec80(undefined8 *param_1,undefined8 param_2,longlong *param_3,undefined8 param_4) + +{ + undefined8 *puVar1; + longlong *plVar2; + + *param_1 = Proud::CTcpLayer_C::vftable; + param_1[8] = Proud::CTcpLayer_C::vftable; + (**(code **)(*(longlong *)param_1[0x24] + 0x10))(); + FUN_140093f40(param_1 + 0x2e,param_2,param_3,param_4); + FUN_14009aa70((longlong)(param_1 + 0x26)); + if ((param_1[0x25] != 0) && + (*(longlong *)(param_1[0x25] + 8) = *(longlong *)(param_1[0x25] + 8) + -1, + *(longlong *)(param_1[0x25] + 8) == 0)) { + puVar1 = (undefined8 *)param_1[0x25]; + plVar2 = (longlong *)*puVar1; + if (plVar2 != (longlong *)0x0) { + FUN_140043e60(plVar2,param_2,param_3,param_4); + FUN_14003e8b0(plVar2); + } + FUN_14003e8b0(puVar1); + } + param_1[8] = Proud::IHasOverlappedIo::vftable; + *param_1 = Proud::ICompletionContext::vftable; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ced60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ced60.c new file mode 100644 index 00000000..20364f4d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ced60.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ced60 FUN_1400ced60 + * Pseudocode, not original source. */ + +undefined8 FUN_1400ced60(void) + +{ + return 3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ced70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ced70.c new file mode 100644 index 00000000..d33d7d86 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ced70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ced70 FUN_1400ced70 + * Pseudocode, not original source. */ + +void FUN_1400ced70(longlong param_1,ulonglong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_1400cef60((undefined8 *)(param_1 + -0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ced80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ced80.c new file mode 100644 index 00000000..f9c3970f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ced80.c @@ -0,0 +1,84 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ced80 FUN_1400ced80 + * Pseudocode, not original source. */ + +undefined8 * +FUN_1400ced80(undefined8 *param_1,longlong *param_2,longlong *param_3,undefined8 param_4) + +{ + longlong *plVar1; + undefined8 *puVar2; + undefined8 *puVar3; + undefined8 *puVar4; + longlong lVar5; + undefined8 **ppuVar6; + undefined8 *local_res10; + + *param_1 = Proud::ICompletionContext::vftable; + FUN_1400434f0(param_1 + 8); + *param_1 = Proud::CTcpLayer_C::vftable; + param_1[8] = Proud::CTcpLayer_C::vftable; + param_1[0x20] = Proud::AddrPort::vftable; + puVar4 = (undefined8 *)0x0; + *(undefined4 *)(param_1 + 0x21) = 0; + *(undefined2 *)((longlong)param_1 + 0x10c) = 0; + param_1[0x22] = Proud::AddrPort::vftable; + *(undefined4 *)(param_1 + 0x23) = 0; + *(undefined2 *)((longlong)param_1 + 0x11c) = 0; + param_1[0x25] = 0; + lVar5 = (longlong)DAT_14016f0ec; + FUN_14009aa30(param_1 + 0x26,lVar5); + FUN_140093eb0(param_1 + 0x2e,lVar5,param_3,param_4); + *(undefined1 *)(param_1 + 0x10) = 0; + *(undefined1 *)(param_1 + 0x18) = 0; + param_1[0x24] = param_2; + local_res10 = (undefined8 *)FUN_14003e840(0x400); + puVar3 = puVar4; + if (local_res10 != (undefined8 *)0x0) { + param_3 = param_2; + puVar3 = FUN_140043f50(local_res10,0,param_2,param_4); + } + if (puVar3 == (undefined8 *)0x0) { + local_res10 = (undefined8 *)0x0; + } + else { + local_res10 = (undefined8 *)FUN_14003e840(0x10); + local_res10[1] = 1; + *local_res10 = puVar3; + } + puVar3 = local_res10; + ppuVar6 = &local_res10; + FUN_140040510(param_1 + 0x25,(longlong *)ppuVar6); + puVar2 = local_res10; + if (puVar3 != (undefined8 *)0x0) { + plVar1 = puVar3 + 1; + *plVar1 = *plVar1 + -1; + if (*plVar1 == 0) { + plVar1 = (longlong *)*local_res10; + if (plVar1 != (longlong *)0x0) { + FUN_140043e60(plVar1,ppuVar6,param_3,param_4); + FUN_14003e8b0(plVar1); + } + FUN_14003e8b0(puVar2); + } + } + puVar3 = puVar4; + if ((undefined8 *)param_1[0x25] != (undefined8 *)0x0) { + puVar3 = *(undefined8 **)param_1[0x25]; + } + FUN_140043150((longlong)puVar3,param_1,param_3,param_4); + (**(code **)(*param_2 + 0x10))(param_2); + puVar3 = puVar4; + if ((undefined8 *)param_1[0x25] != (undefined8 *)0x0) { + puVar3 = *(undefined8 **)param_1[0x25]; + } + (**(code **)(*param_2 + 0x40))(param_2,puVar3); + if ((undefined8 *)param_1[0x25] != (undefined8 *)0x0) { + puVar4 = *(undefined8 **)param_1[0x25]; + } + FUN_1400937c0((longlong)puVar4); + param_1[0x3e] = 0; + param_1[0x3f] = 0; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400cef60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400cef60.c new file mode 100644 index 00000000..d3beec7c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400cef60.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400cef60 FUN_1400cef60 + * Pseudocode, not original source. */ + +undefined8 * +FUN_1400cef60(undefined8 *param_1,ulonglong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_1400cec80(param_1,param_2,param_3,param_4); + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400cef90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400cef90.c new file mode 100644 index 00000000..05297179 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400cef90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400cef90 FUN_1400cef90 + * Pseudocode, not original source. */ + +void FUN_1400cef90(undefined8 *param_1) + +{ + *param_1 = Proud::IReliableUdpHostDelegate::vftable; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400cefa0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400cefa0.c new file mode 100644 index 00000000..449fc0f3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400cefa0.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400cefa0 FUN_1400cefa0 + * Pseudocode, not original source. */ + +undefined8 * FUN_1400cefa0(undefined8 *param_1,byte param_2) + +{ + *param_1 = Proud::IReliableUdpHostDelegate::vftable; + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400cefd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400cefd0.c new file mode 100644 index 00000000..3801d15b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400cefd0.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400cefd0 FUN_1400cefd0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400cefd0(longlong param_1) + +{ + return *(undefined8 *)(param_1 + 0x148); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400cefe0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400cefe0.c new file mode 100644 index 00000000..e55bdb50 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400cefe0.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400cefe0 FUN_1400cefe0 + * Pseudocode, not original source. */ + +undefined4 FUN_1400cefe0(longlong param_1) + +{ + return *(undefined4 *)(*(longlong *)(param_1 + 0x660) + 0x6b4); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ceff0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ceff0.c new file mode 100644 index 00000000..18960c0f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ceff0.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ceff0 FUN_1400ceff0 + * Pseudocode, not original source. */ + +void FUN_1400ceff0(longlong param_1) + +{ + /* WARNING: Could not recover jumptable at 0x0001400cefff. Too many branches */ + /* WARNING: Treating indirect jump as call */ + (**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x660) + 0x70) + 0x1c0)) + (*(longlong *)(param_1 + 0x660) + 0x70); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400cf010.c b/decomp/AgentManager_Release_x64/full/functions/0x1400cf010.c new file mode 100644 index 00000000..c76041e7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400cf010.c @@ -0,0 +1,35 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400cf010 FUN_1400cf010 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +undefined8 * FUN_1400cf010(undefined8 *param_1) + +{ + undefined4 *puVar1; + undefined1 auStack_58 [32]; + undefined8 *local_38; + undefined8 local_30; + undefined4 local_28 [4]; + ulonglong local_18; + + local_30 = 0xfffffffffffffffe; + local_18 = DAT_14016f5a0 ^ (ulonglong)auStack_58; + *param_1 = Proud::CP2PConnectionTrialContext::ServerHolepunchState::vftable; + *(undefined4 *)((longlong)param_1 + 0x1c) = 0; + *(undefined4 *)(param_1 + 4) = 0; + *(undefined4 *)((longlong)param_1 + 0x24) = 0; + *(undefined4 *)(param_1 + 5) = 0; + *(undefined4 *)(param_1 + 1) = 0; + *(undefined4 *)(param_1 + 3) = 0; + param_1[2] = 0; + local_38 = param_1; + puVar1 = FUN_140045d90(local_28); + *(undefined4 *)((longlong)param_1 + 0x1c) = *puVar1; + *(undefined4 *)(param_1 + 4) = puVar1[1]; + *(undefined4 *)((longlong)param_1 + 0x24) = puVar1[2]; + *(undefined4 *)(param_1 + 5) = puVar1[3]; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400cf0b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400cf0b0.c new file mode 100644 index 00000000..5f5c61f6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400cf0b0.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400cf0b0 FUN_1400cf0b0 + * Pseudocode, not original source. */ + +undefined8 * FUN_1400cf0b0(longlong *param_1,undefined8 *param_2) + +{ + longlong *plVar1; + longlong lVar2; + + plVar1 = *(longlong **)(*(longlong *)(*param_1 + 0x670) + 0x1570); + if ((plVar1 != (longlong *)0x0) && (*plVar1 != 0)) { + if (plVar1 == (longlong *)0x0) { + lVar2 = 0; + } + else { + lVar2 = *plVar1; + } + *param_2 = Proud::AddrPort::vftable; + *(undefined4 *)(param_2 + 1) = *(undefined4 *)(lVar2 + 0xd0); + *(undefined2 *)((longlong)param_2 + 0xc) = *(undefined2 *)(lVar2 + 0xd4); + return param_2; + } + *param_2 = Proud::AddrPort::vftable; + *(undefined4 *)(param_2 + 1) = DAT_14016f3d0; + *(undefined2 *)((longlong)param_2 + 0xc) = DAT_14016f3d4; + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400cf120.c b/decomp/AgentManager_Release_x64/full/functions/0x1400cf120.c new file mode 100644 index 00000000..ba66b0d3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400cf120.c @@ -0,0 +1,31 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400cf120 FUN_1400cf120 + * Pseudocode, not original source. */ + +void FUN_1400cf120(longlong param_1,char param_2) + +{ + undefined8 uVar1; + + if (param_2 == '\0') { + *(undefined1 *)(param_1 + 0x608) = 0; + uVar1 = (**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x670) + 0x70) + 0x1c0)) + (*(longlong *)(param_1 + 0x670) + 0x70); + *(undefined8 *)(param_1 + 0x610) = uVar1; + uVar1 = (**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x670) + 0x70) + 0x1c0))(); + *(undefined8 *)(param_1 + 0xc0) = uVar1; + *(undefined4 *)(param_1 + 0x100) = 0; + *(undefined8 *)(param_1 + 0x140) = 0xbff0000000000000; + } + else { + if (*(char *)(param_1 + 0x608) == '\0') { + *(undefined1 *)(param_1 + 0x618) = 1; + } + *(undefined1 *)(param_1 + 0x608) = 1; + } + if (*(longlong *)(param_1 + 0x640) != 0) { + *(undefined8 *)(*(longlong *)(param_1 + 0x640) + 0xd8) = 0; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400cf1c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400cf1c0.c new file mode 100644 index 00000000..9e9ea3a9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400cf1c0.c @@ -0,0 +1,21 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400cf1c0 FUN_1400cf1c0 + * Pseudocode, not original source. */ + +double FUN_1400cf1c0(longlong param_1) + +{ + longlong *plVar1; + int *piVar2; + double dVar3; + double dVar4; + + piVar2 = (int *)(**(code **)(**(longlong **)(param_1 + 0x670) + 0x58))(); + FUN_14003d040(piVar2); + plVar1 = (longlong *)(*(longlong *)(param_1 + 0x670) + 0x70); + dVar3 = (double)FUN_140048760(*(longlong *)(param_1 + 0x670) + 0xb08); + dVar4 = (double)(**(code **)(*plVar1 + 0x1c0))(plVar1); + FUN_14003d0d0((longlong)piVar2); + return dVar3 * 2.0 + dVar4 + 1.0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400cf260.c b/decomp/AgentManager_Release_x64/full/functions/0x1400cf260.c new file mode 100644 index 00000000..faf74557 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400cf260.c @@ -0,0 +1,26 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400cf260 FUN_1400cf260 + * Pseudocode, not original source. */ + +void FUN_1400cf260(longlong param_1) + +{ + longlong lVar1; + longlong lVar2; + + if ((*(longlong **)(param_1 + 0x18) != (longlong *)0x0) && + (lVar1 = **(longlong **)(param_1 + 0x18), lVar1 != 0)) { + lVar2 = 0; + if (*(char *)(lVar1 + 0x40) == '\0') { + if (*(longlong **)(param_1 + 0x18) != (longlong *)0x0) { + lVar2 = **(longlong **)(param_1 + 0x18); + } + if (*(char *)(lVar2 + 0x80) == '\0') { + return; + } + } + uRam0000000000000000 = 1; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400cf2a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400cf2a0.c new file mode 100644 index 00000000..5aed9078 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400cf2a0.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400cf2a0 FUN_1400cf2a0 + * Pseudocode, not original source. */ + +longlong FUN_1400cf2a0(longlong param_1) + +{ + longlong lVar1; + + if ((*(longlong **)(param_1 + 0x18) != (longlong *)0x0) && + (lVar1 = **(longlong **)(param_1 + 0x18), lVar1 != 0)) { + return lVar1 + -0x40; + } + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400cf2c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400cf2c0.c new file mode 100644 index 00000000..6ab324bf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400cf2c0.c @@ -0,0 +1,39 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400cf2c0 FUN_1400cf2c0 + * Pseudocode, not original source. */ + +void FUN_1400cf2c0(longlong *param_1,longlong param_2,undefined8 *param_3) + +{ + longlong lVar1; + longlong *plVar2; + undefined1 uVar3; + ushort uVar4; + longlong lVar5; + double dVar6; + undefined **local_38; + undefined4 local_30; + undefined2 local_2c; + + lVar1 = *param_1; + if ((*(longlong **)(lVar1 + 0x18) != (longlong *)0x0) && (**(longlong **)(lVar1 + 0x18) != 0)) { + local_38 = Proud::AddrPort::vftable; + local_30 = *(undefined4 *)(lVar1 + 0x598); + local_2c = *(undefined2 *)(lVar1 + 0x59c); + if ((*(longlong **)(lVar1 + 0x18) == (longlong *)0x0) || + (lVar5 = **(longlong **)(lVar1 + 0x18), lVar5 == 0)) { + lVar5 = 0; + } + else { + lVar5 = lVar5 + -0x40; + } + plVar2 = *(longlong **)(lVar1 + 0x670); + dVar6 = (double)(**(code **)(plVar2[0xe] + 0x1c0))(); + uVar3 = (**(code **)(*plVar2 + 0x30))(plVar2); + uVar4 = FUN_14008be40(uVar3,(char)*(undefined4 *)(lVar1 + 0x56c)); + FUN_1400d3030(lVar5,(ulonglong)*(uint *)(*param_1 + 0x56c),(ulonglong)uVar4,(longlong)&local_38, + param_2,dVar6,param_3); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400cf3d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400cf3d0.c new file mode 100644 index 00000000..aa5fd7d2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400cf3d0.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400cf3d0 FUN_1400cf3d0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400cf3d0(longlong *param_1) + +{ + longlong lVar1; + undefined8 uVar2; + undefined **local_18; + undefined4 local_10; + undefined2 local_c; + + lVar1 = *param_1; + if ((*(longlong **)(lVar1 + 0x18) == (longlong *)0x0) || (**(longlong **)(lVar1 + 0x18) == 0)) { + return 0; + } + local_18 = Proud::AddrPort::vftable; + local_10 = *(undefined4 *)(lVar1 + 0x598); + local_c = *(undefined2 *)(lVar1 + 0x59c); + if ((*(longlong **)(lVar1 + 0x18) != (longlong *)0x0) && + (lVar1 = **(longlong **)(lVar1 + 0x18), lVar1 != 0)) { + uVar2 = FUN_1400d2d60(lVar1 + -0x40,(longlong)&local_18); + return uVar2; + } + uVar2 = FUN_1400d2d60(0,(longlong)&local_18); + return uVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400cf450.c b/decomp/AgentManager_Release_x64/full/functions/0x1400cf450.c new file mode 100644 index 00000000..705e03d4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400cf450.c @@ -0,0 +1,49 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400cf450 FUN_1400cf450 + * Pseudocode, not original source. */ + +void FUN_1400cf450(longlong param_1,undefined8 param_2,undefined **param_3,undefined8 param_4) + +{ + longlong lVar1; + char cVar2; + longlong lVar3; + longlong *plVar4; + longlong lVar5; + + if ((((*(longlong **)(param_1 + 0x18) != (longlong *)0x0) && + (lVar5 = **(longlong **)(param_1 + 0x18), lVar5 != 0)) && + (plVar4 = *(longlong **)(lVar5 + 0xc0), plVar4 != (longlong *)0x0)) && + ((*plVar4 != 0 && (*(char *)(param_1 + 0x20) != '\0')))) { + lVar5 = 0; + lVar3 = lVar5; + if (plVar4 != (longlong *)0x0) { + lVar3 = *plVar4; + } + cVar2 = FUN_140043cf0(lVar3); + if (cVar2 != '\0') { + lVar3 = lVar5; + if ((*(longlong **)(param_1 + 0x18) != (longlong *)0x0) && + (lVar1 = **(longlong **)(param_1 + 0x18), lVar1 != 0)) { + lVar3 = lVar1 + -0x40; + } + FUN_1400d2ee0(lVar3,param_2,param_3,param_4); + if ((*(longlong **)(param_1 + 0x18) != (longlong *)0x0) && + (lVar3 = **(longlong **)(param_1 + 0x18), lVar3 != 0)) { + lVar5 = lVar3 + -0x40; + } + FUN_1400d2cc0(lVar5,param_2,param_3,param_4); + plVar4 = (longlong *)(*(longlong *)(param_1 + 0x670) + 0x1818); + (**(code **)(*plVar4 + 0xd0))(plVar4,1,&DAT_140177f90,param_1 + 0x56c); + lVar5 = *(longlong *)(param_1 + 0x670); + if ((*(char *)(lVar5 + 0x1790) != '\0') || (*(int *)(lVar5 + 0x6c8) != 0)) { + FUN_1400a9f70(lVar5,1, + L"Peer Client %d로의 UDP 소켓을 재생성한 후 서버에서의 리셋 지시를 기다립니다." + ,(ulonglong)*(uint *)(param_1 + 0x56c)); + } + } + *(undefined1 *)(param_1 + 0x20) = 0; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400cf560.c b/decomp/AgentManager_Release_x64/full/functions/0x1400cf560.c new file mode 100644 index 00000000..71710cf2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400cf560.c @@ -0,0 +1,24 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400cf560 FUN_1400cf560 + * Pseudocode, not original source. */ + +void FUN_1400cf560(longlong param_1,longlong param_2) + +{ + longlong lVar1; + + *(undefined4 *)(param_2 + 0x18) = *(undefined4 *)(param_1 + 0x598); + *(undefined2 *)(param_2 + 0x1c) = *(undefined2 *)(param_1 + 0x59c); + *(undefined4 *)(param_2 + 0x28) = *(undefined4 *)(param_1 + 0x5a8); + *(undefined2 *)(param_2 + 0x2c) = *(undefined2 *)(param_1 + 0x5ac); + if ((*(longlong **)(param_1 + 0x18) != (longlong *)0x0) && + (lVar1 = **(longlong **)(param_1 + 0x18), lVar1 != 0)) { + *(undefined4 *)(param_2 + 8) = *(undefined4 *)(lVar1 + 0xf0); + *(undefined2 *)(param_2 + 0xc) = *(undefined2 *)(lVar1 + 0xf4); + return; + } + *(undefined4 *)(param_2 + 8) = DAT_14016f3d0; + *(undefined2 *)(param_2 + 0xc) = DAT_14016f3d4; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400cf5d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400cf5d0.c new file mode 100644 index 00000000..90afb9ac --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400cf5d0.c @@ -0,0 +1,154 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400cf5d0 FUN_1400cf5d0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __chkstk replaced with injection: alloca_probe */ +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_1400cf5d0(SIZE_T *param_1,undefined *param_2,ulonglong *param_3,longlong param_4) + +{ + longlong *plVar1; + int *piVar2; + SIZE_T SVar3; + uint uVar4; + int iVar5; + longlong lVar6; + longlong *plVar7; + int *piVar8; + short sVar9; + ulonglong uVar10; + undefined8 uVar11; + undefined1 *puVar12; + SIZE_T SVar13; + wchar_t *pwVar14; + bool bVar15; + undefined1 auStack_19b8 [32]; + longlong *local_1998; + undefined1 local_1990; + int local_1988 [2]; + longlong local_1980; + longlong local_1978; + int local_196c; + int *local_1960; + undefined1 local_1958; + undefined8 local_1950; + undefined1 local_1948 [3200]; + undefined1 *local_cc8; + undefined4 local_cc0; + undefined4 local_cbc; + undefined1 local_cb8 [3216]; + ulonglong local_28; + undefined8 uStack_20; + + uStack_20 = 0x1400cf5e6; + local_1950 = 0xfffffffffffffffe; + local_28 = DAT_14016f5a0 ^ (ulonglong)auStack_19b8; + SVar3 = param_1[2]; + if ((SVar3 != 0) && (*(int *)(SVar3 + 8) == 0)) { + bVar15 = *param_3 < *(ulonglong *)(SVar3 + 0x1c); + if ((*param_3 == *(ulonglong *)(SVar3 + 0x1c)) && + (bVar15 = param_3[1] < *(ulonglong *)(SVar3 + 0x24), + param_3[1] == *(ulonglong *)(SVar3 + 0x24))) { + iVar5 = 0; + } + else { + iVar5 = (1 - (uint)bVar15) - (uint)(bVar15 != 0); + } + if ((iVar5 == 0) && (*(int *)(SVar3 + 0x18) < 1)) { + SVar13 = *param_1; + plVar7 = *(longlong **)(*(longlong *)(SVar13 + 0x670) + 0x1570); + sVar9 = DAT_14016f3d4; + uVar4 = DAT_14016f3d0; + if ((plVar7 != (longlong *)0x0) && (*plVar7 != 0)) { + lVar6 = 0; + if (plVar7 != (longlong *)0x0) { + lVar6 = *plVar7; + } + sVar9 = *(short *)(lVar6 + 0xd4); + uVar4 = *(uint *)(lVar6 + 0xd0); + } + uVar10 = (ulonglong)uVar4; + if ((((uVar4 == *(uint *)(param_2 + 0x38)) && (sVar9 == *(short *)(param_2 + 0x3c))) && + (*(longlong **)(SVar13 + 0x18) != (longlong *)0x0)) && + (**(longlong **)(SVar13 + 0x18) != 0)) { + FUN_140074fb0(local_1988); + FUN_140074a40((longlong)local_1988,uVar10,SVar13,param_2); + FUN_140075110(local_1988,0x800,SVar13,param_2); + uVar11 = 0; + FUN_140075110(local_1988,0,SVar13,param_2); + FUN_140029d80((longlong)local_1988,CONCAT71((int7)((ulonglong)uVar11 >> 8),0x12),SVar13, + param_2); + if ((*(longlong **)(*param_1 + 0x18) == (longlong *)0x0) || + (lVar6 = **(longlong **)(*param_1 + 0x18), lVar6 == 0)) { + lVar6 = 0; + } + else { + lVar6 = lVar6 + -0x40; + } + FUN_140075bb0((longlong)local_1988,lVar6 + 0x128,SVar13,param_2); + FUN_140075bb0((longlong)local_1988,param_4,SVar13,param_2); + FUN_140029e60((longlong)local_1988,(ulonglong)*(uint *)(*param_1 + 0x56c),SVar13,param_2); + local_cbc = 200; + local_cc0 = 0; + local_cc8 = local_1948; + FUN_14004ec50((longlong)local_cb8,(longlong)local_1988,SVar13); + puVar12 = local_cb8; + FUN_14004dc30((longlong)local_1948,(longlong)puVar12,SVar13,param_2); + FUN_14004db20((longlong)local_cb8,puVar12,SVar13,param_2); + if ((*(longlong **)(*param_1 + 0x18) == (longlong *)0x0) || + (lVar6 = **(longlong **)(*param_1 + 0x18), lVar6 == 0)) { + lVar6 = 0; + } + else { + lVar6 = lVar6 + -0x40; + } + *(undefined4 *)(lVar6 + 0x140) = *(undefined4 *)(param_4 + 8); + *(undefined2 *)(lVar6 + 0x144) = *(undefined2 *)(param_4 + 0xc); + local_1998 = (longlong *)0x0; + local_1990 = 1; + lVar6 = FUN_14009c0f0(*(longlong *)(*param_1 + 0x670)); + pwVar14 = (wchar_t *)&local_1998; + puVar12 = local_1948; + FUN_1400ceb20(lVar6,(longlong)puVar12,(SIZE_T *)pwVar14,param_2); + if ((*(char *)(*(longlong *)(*param_1 + 0x670) + 0x1790) != '\0') || + (*(int *)(*(longlong *)(*param_1 + 0x670) + 0x6c8) != 0)) { + plVar7 = FUN_1400420f0(param_4,(longlong *)&local_1998,pwVar14,param_2); + param_2 = (undefined *)*plVar7; + if (param_2 == (undefined *)0x0) { + param_2 = PTR_DAT_14016f010; + } + pwVar14 = L"Message_PeerUdp_ServerHolepunchAck. AddrOfHereAtServer=%s"; + puVar12 = (undefined1 *)0x1; + lVar6 = *(longlong *)(*param_1 + 0x670); + FUN_1400a9f70(lVar6,1,L"Message_PeerUdp_ServerHolepunchAck. AddrOfHereAtServer=%s",param_2 + ); + plVar7 = local_1998; + if (((local_1998 != (longlong *)0x0) && (local_1998 != (longlong *)PTR_DAT_14016f010)) && + (plVar1 = local_1998 + -1, plVar1 != (longlong *)0x0)) { + piVar8 = (int *)FUN_14003e7c0(lVar6,puVar12,pwVar14,param_2); + local_1960 = piVar8; + FUN_14003d040(piVar8); + local_1958 = 1; + piVar2 = (int *)((longlong)plVar7 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(plVar1); + } + FUN_14003d0d0((longlong)piVar8); + } + } + *(int *)(SVar3 + 0x18) = *(int *)(SVar3 + 0x18) + 1; + FUN_14004db20((longlong)local_1948,puVar12,pwVar14,param_2); + local_1998 = &local_1980; + FUN_14008a320(&local_1980); + if ((local_1978 != 0) && (local_196c < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + } + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400cf900.c b/decomp/AgentManager_Release_x64/full/functions/0x1400cf900.c new file mode 100644 index 00000000..8e2f1c8a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400cf900.c @@ -0,0 +1,147 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400cf900 FUN_1400cf900 + * Pseudocode, not original source. */ + +void FUN_1400cf900(longlong *param_1,longlong param_2,undefined8 *param_3,undefined8 param_4) + +{ + longlong *plVar1; + double dVar2; + undefined1 uVar3; + ushort uVar4; + longlong lVar5; + int iVar6; + int *piVar7; + undefined8 *puVar8; + longlong lVar9; + undefined8 uVar10; + ulonglong uVar11; + longlong lVar12; + undefined ***pppuVar13; + undefined8 *puVar14; + undefined **local_88; + undefined8 uStack_80; + undefined4 local_78 [2]; + undefined8 local_70; + undefined1 local_68; + undefined4 local_64; + undefined1 local_60; + undefined1 local_5f; + int local_58 [2]; + longlong local_50; + longlong local_48; + int local_40; + int local_3c; + + lVar9 = param_2; + puVar14 = param_3; + FUN_140074fb0(local_58); + FUN_140074a40((longlong)local_58,lVar9,(SIZE_T)puVar14,param_4); + FUN_140075110(local_58,0x800,(SIZE_T)puVar14,param_4); + uVar10 = 0; + FUN_140075110(local_58,0,(SIZE_T)puVar14,param_4); + FUN_140029d80((longlong)local_58,CONCAT71((int7)((ulonglong)uVar10 >> 8),0x1e),(SIZE_T)puVar14, + param_4); + uVar11 = (ulonglong)*(uint *)(*(longlong *)(*param_1 + 0x670) + 0x1578); + piVar7 = local_58; + FUN_140029e60((longlong)piVar7,uVar11,(SIZE_T)puVar14,param_4); + lVar12 = local_50; + local_88 = (undefined **)*param_3; + uStack_80 = param_3[1]; + lVar9 = 0; + local_58[1] = 0; + if (local_50 == 0) { + if (local_48 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(piVar7,uVar11,puVar14,param_4); + } +LAB_1400cf9af: + lVar12 = (longlong)local_40; + local_40 = local_40 + 0x10; + if ((local_40 < 0) || (local_3c < local_40)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + puVar8 = (undefined8 *)(local_48 + lVar12); + } + else { + if (local_48 != 0) goto LAB_1400cf9af; + if (local_50 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(piVar7,uVar11,puVar14,param_4); + } + iVar6 = *(int *)(local_50 + 0x18); + FUN_14002a050(local_50,iVar6 + 0x10,(SIZE_T)puVar14); + lVar5 = lVar9; + if (*(int *)(lVar12 + 0x18) != 0) { + lVar5 = *(longlong *)(lVar12 + 0x10); + } + puVar8 = (undefined8 *)(lVar5 + iVar6); + } + pppuVar13 = &local_88; + *puVar8 = local_88; + puVar8[1] = uStack_80; + piVar7 = local_58; + FUN_14002a180((longlong)piVar7,pppuVar13,(SIZE_T)puVar14,param_4); + local_88 = *(undefined ***)(*(longlong *)(*param_1 + 0x670) + 0x6d0); + uStack_80 = *(undefined8 *)(*(longlong *)(*param_1 + 0x670) + 0x6d8); + local_58[1] = 0; + if (local_50 == 0) { + if (local_48 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(piVar7,pppuVar13,puVar14,param_4); + } + } + else if (local_48 == 0) { + if (local_50 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(piVar7,pppuVar13,puVar14,param_4); + } + iVar6 = *(int *)(local_50 + 0x18); + FUN_14002a050(local_50,iVar6 + 0x10,(SIZE_T)puVar14); + lVar12 = lVar9; + if (*(int *)(local_50 + 0x18) != 0) { + lVar12 = *(longlong *)(local_50 + 0x10); + } + puVar8 = (undefined8 *)(lVar12 + iVar6); + goto LAB_1400cfa8e; + } + iVar6 = local_40 + 0x10; + if ((iVar6 < 0) || (local_3c < iVar6)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + puVar8 = (undefined8 *)(local_48 + local_40); + local_40 = iVar6; +LAB_1400cfa8e: + *puVar8 = local_88; + puVar8[1] = uStack_80; + FUN_14002a180((longlong)local_58,&local_88,(SIZE_T)puVar14,param_4); + FUN_140075bb0((longlong)local_58,param_2,(SIZE_T)puVar14,param_4); + lVar12 = *param_1; + local_78[0] = 5; + local_70 = 0; + local_68 = 1; + local_64 = 0xffffffff; + local_60 = 1; + local_5f = DAT_14016f1cc; + local_88 = Proud::AddrPort::vftable; + uStack_80 = CONCAT26(uStack_80._6_2_,*(undefined6 *)(param_2 + 8)); + if ((*(longlong **)(lVar12 + 0x18) != (longlong *)0x0) && + (lVar5 = **(longlong **)(lVar12 + 0x18), lVar5 != 0)) { + lVar9 = lVar5 + -0x40; + } + plVar1 = *(longlong **)(lVar12 + 0x670); + dVar2 = (double)(**(code **)(*(longlong *)(*(longlong *)(lVar12 + 0x670) + 0x70) + 0x1c0))(); + uVar3 = (**(code **)(*plVar1 + 0x30))(plVar1); + uVar4 = FUN_14008be40(uVar3,(char)*(undefined4 *)(lVar12 + 0x56c)); + FUN_1400d31e0(lVar9,*(uint *)(*param_1 + 0x56c),(ulonglong)uVar4,(longlong)&local_88, + (longlong)local_58,dVar2,(undefined8 *)local_78); + FUN_14008a320(&local_50); + if ((local_48 != 0) && (local_3c < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400cfbd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400cfbd0.c new file mode 100644 index 00000000..3a8c4bc2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400cfbd0.c @@ -0,0 +1,181 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400cfbd0 FUN_1400cfbd0 + * Pseudocode, not original source. */ + +void FUN_1400cfbd0(longlong *param_1,longlong param_2,undefined8 *param_3,longlong param_4, + longlong param_5) + +{ + undefined **ppuVar1; + int iVar2; + double dVar3; + undefined **ppuVar4; + undefined1 uVar5; + ushort uVar6; + longlong *plVar7; + int *piVar8; + int *piVar9; + undefined8 *puVar10; + longlong lVar11; + undefined8 uVar12; + longlong lVar13; + undefined8 *puVar14; + ulonglong uVar15; + undefined *puVar16; + longlong lVar17; + undefined ***pppuVar18; + undefined *puVar19; + longlong *local_res18 [2]; + undefined **local_a8; + undefined8 uStack_a0; + int local_98 [2]; + longlong local_90; + longlong local_88; + int local_80; + int local_7c; + int *local_70; + undefined8 local_68; + undefined1 local_60; + undefined4 local_5c; + undefined1 local_58; + undefined1 local_57; + undefined *local_50; + undefined8 local_48; + + local_48 = 0xfffffffffffffffe; + lVar11 = param_2; + puVar14 = param_3; + lVar17 = param_4; + FUN_140074fb0(local_98); + FUN_140074a40((longlong)local_98,lVar11,(SIZE_T)puVar14,lVar17); + FUN_140075110(local_98,0x800,(SIZE_T)puVar14,lVar17); + uVar12 = 0; + FUN_140075110(local_98,0,(SIZE_T)puVar14,lVar17); + uVar12 = CONCAT71((int7)((ulonglong)uVar12 >> 8),0x1f); + piVar8 = local_98; + FUN_140029d80((longlong)piVar8,uVar12,(SIZE_T)puVar14,lVar17); + local_a8 = (undefined **)*param_3; + uStack_a0 = param_3[1]; + lVar11 = 0; + local_98[1] = 0; + if (local_90 == 0) { + if (local_88 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(piVar8,uVar12,puVar14,lVar17); + } + } + else if (local_88 == 0) { + if (local_90 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(piVar8,uVar12,puVar14,lVar17); + } + iVar2 = *(int *)(local_90 + 0x18); + FUN_14002a050(local_90,iVar2 + 0x10,(SIZE_T)puVar14); + lVar13 = lVar11; + if (*(int *)(local_90 + 0x18) != 0) { + lVar13 = *(longlong *)(local_90 + 0x10); + } + puVar10 = (undefined8 *)(lVar13 + iVar2); + goto LAB_1400cfcae; + } + lVar13 = (longlong)local_80; + local_80 = local_80 + 0x10; + if ((local_80 < 0) || (local_7c < local_80)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + puVar10 = (undefined8 *)(local_88 + lVar13); +LAB_1400cfcae: + *puVar10 = local_a8; + puVar10[1] = uStack_a0; + FUN_14002a180((longlong)local_98,&local_a8,(SIZE_T)puVar14,lVar17); + FUN_140029e60((longlong)local_98,(ulonglong)*(uint *)(*(longlong *)(*param_1 + 0x670) + 0x1578), + (SIZE_T)puVar14,lVar17); + FUN_140075bb0((longlong)local_98,param_4,(SIZE_T)puVar14,lVar17); + FUN_140075bb0((longlong)local_98,param_5,(SIZE_T)puVar14,lVar17); + FUN_140075bb0((longlong)local_98,param_2,(SIZE_T)puVar14,lVar17); + lVar17 = *param_1; + local_70 = (int *)CONCAT44(local_70._4_4_,5); + local_68 = 0; + local_60 = 1; + local_5c = 0xffffffff; + local_58 = 1; + local_57 = DAT_14016f1cc; + local_a8 = Proud::AddrPort::vftable; + uStack_a0 = CONCAT26(uStack_a0._6_2_,*(undefined6 *)(param_2 + 8)); + if ((*(longlong **)(lVar17 + 0x18) != (longlong *)0x0) && + (lVar13 = **(longlong **)(lVar17 + 0x18), lVar13 != 0)) { + lVar11 = lVar13 + -0x40; + } + plVar7 = *(longlong **)(lVar17 + 0x670); + dVar3 = (double)(**(code **)(*(longlong *)(*(longlong *)(lVar17 + 0x670) + 0x70) + 0x1c0))(); + uVar5 = (**(code **)(*plVar7 + 0x30))(plVar7); + uVar6 = FUN_14008be40(uVar5,(char)*(undefined4 *)(lVar17 + 0x56c)); + uVar15 = (ulonglong)uVar6; + pppuVar18 = &local_a8; + FUN_1400d31e0(lVar11,*(uint *)(*param_1 + 0x56c),uVar15,(longlong)pppuVar18,(longlong)local_98, + dVar3,&local_70); + if ((*(char *)(*(longlong *)(*param_1 + 0x670) + 0x1790) != '\0') || + (*(int *)(*(longlong *)(*param_1 + 0x670) + 0x6c8) != 0)) { + FUN_1400420f0(param_2,(longlong *)&local_a8,uVar15,pppuVar18); + FUN_1400420f0(param_5,(longlong *)&local_50,uVar15,pppuVar18); + plVar7 = FUN_1400420f0(param_4,(longlong *)local_res18,uVar15,pppuVar18); + puVar19 = (undefined *)*plVar7; + if ((undefined *)*plVar7 == (undefined *)0x0) { + puVar19 = PTR_DAT_14016f010; + } + puVar16 = &DAT_140124d60; + piVar8 = *(int **)(*param_1 + 0x670); + FUN_1400a9f70((longlong)piVar8,1,L"PeerHolepunchAck 시도. ABS=%s ABR=%s BAS=%s",puVar19); + if (((local_res18[0] != (longlong *)0x0) && (local_res18[0] != (longlong *)PTR_DAT_14016f010)) + && (local_res18[0] + -1 != (longlong *)0x0)) { + piVar8 = (int *)FUN_14003e7c0(piVar8,PTR_DAT_14016f010,puVar16,puVar19); + local_70 = piVar8; + FUN_14003d040(piVar8); + local_68 = CONCAT71(local_68._1_7_,1); + piVar9 = (int *)((longlong)local_res18[0] + -4); + *piVar9 = *piVar9 + -1; + if (*piVar9 == 0) { + FUN_14003e8b0(local_res18[0] + -1); + } + FUN_14003d0d0((longlong)piVar8); + } + local_res18[0] = (longlong *)PTR_DAT_14016f010; + if (((local_50 != (undefined *)0x0) && (local_50 != PTR_DAT_14016f010)) && + (local_50 + -8 != (undefined *)0x0)) { + piVar8 = (int *)FUN_14003e7c0(piVar8,PTR_DAT_14016f010,puVar16,puVar19); + local_70 = piVar8; + FUN_14003d040(piVar8); + local_68 = CONCAT71(local_68._1_7_,1); + piVar9 = (int *)(local_50 + -4); + *piVar9 = *piVar9 + -1; + if (*piVar9 == 0) { + FUN_14003e8b0(local_50 + -8); + } + FUN_14003d0d0((longlong)piVar8); + } + ppuVar4 = local_a8; + local_50 = PTR_DAT_14016f010; + if (((local_a8 != (undefined **)0x0) && (local_a8 != (undefined **)PTR_DAT_14016f010)) && + (ppuVar1 = local_a8 + -1, ppuVar1 != (undefined **)0x0)) { + piVar9 = (int *)FUN_14003e7c0(piVar8,PTR_DAT_14016f010,puVar16,puVar19); + local_70 = piVar9; + FUN_14003d040(piVar9); + local_68 = CONCAT71(local_68._1_7_,1); + piVar8 = (int *)((longlong)ppuVar4 + -4); + *piVar8 = *piVar8 + -1; + if (*piVar8 == 0) { + FUN_14003e8b0(ppuVar1); + } + FUN_14003d0d0((longlong)piVar9); + } + } + local_res18[0] = &local_90; + FUN_14008a320(&local_90); + if ((local_88 != 0) && (local_7c < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400cffa0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400cffa0.c new file mode 100644 index 00000000..cf042d68 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400cffa0.c @@ -0,0 +1,65 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400cffa0 FUN_1400cffa0 + * Pseudocode, not original source. */ + +void FUN_1400cffa0(longlong *param_1,longlong param_2,SIZE_T param_3,undefined8 param_4) + +{ + longlong lVar1; + longlong *plVar2; + undefined1 uVar3; + ushort uVar4; + longlong lVar5; + undefined8 uVar6; + double dVar7; + undefined **local_70; + undefined4 local_68; + undefined2 local_64; + undefined4 local_60 [2]; + undefined8 local_58; + undefined1 local_50; + undefined4 local_4c; + undefined1 local_48; + undefined1 local_47; + int local_40 [2]; + longlong local_38; + longlong local_30; + int local_24; + + if (((longlong *)param_1[1] != (longlong *)0x0) && (*(longlong *)param_1[1] != 0)) { + lVar5 = param_2; + FUN_140074fb0(local_40); + FUN_140074a40((longlong)local_40,lVar5,param_3,param_4); + FUN_140075110(local_40,0x800,param_3,param_4); + uVar6 = 0; + FUN_140075110(local_40,0,param_3,param_4); + FUN_140029d80((longlong)local_40,CONCAT71((int7)((ulonglong)uVar6 >> 8),0x27),param_3,param_4); + local_60[0] = 1; + lVar5 = 0; + local_58 = 0; + local_50 = 1; + local_4c = 0xffffffff; + local_48 = 1; + local_47 = DAT_14016f1cc; + local_70 = Proud::AddrPort::vftable; + local_68 = *(undefined4 *)(param_2 + 8); + local_64 = *(undefined2 *)(param_2 + 0xc); + if (((longlong *)param_1[1] != (longlong *)0x0) && (lVar1 = *(longlong *)param_1[1], lVar1 != 0) + ) { + lVar5 = lVar1 + -0x40; + } + plVar2 = (longlong *)param_1[0xcc]; + dVar7 = (double)(**(code **)(*param_1 + 8))(param_1); + uVar3 = (**(code **)(*plVar2 + 0x30))(plVar2); + uVar4 = FUN_14008be40(uVar3,(char)*(undefined4 *)((longlong)param_1 + 0x55c)); + FUN_1400d31e0(lVar5,*(uint *)((longlong)param_1 + 0x55c),(ulonglong)uVar4,(longlong)&local_70, + (longlong)local_40,dVar7,(undefined8 *)local_60); + FUN_14008a320(&local_38); + if ((local_30 != 0) && (local_24 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d0130.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d0130.c new file mode 100644 index 00000000..d75b0d55 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d0130.c @@ -0,0 +1,186 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d0130 FUN_1400d0130 + * Pseudocode, not original source. */ + +/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ + +ulonglong FUN_1400d0130(longlong *param_1,undefined8 param_2,SIZE_T param_3,undefined8 param_4) + +{ + int *piVar1; + undefined4 uVar2; + longlong lVar3; + longlong *plVar4; + longlong lVar5; + undefined1 uVar6; + ulonglong extraout_RAX; + ulonglong uVar7; + ulonglong extraout_RAX_00; + undefined8 *puVar8; + longlong lVar9; + undefined8 uVar10; + ushort uVar11; + uint uVar12; + ulonglong uVar13; + double dVar14; + undefined8 local_d8; + undefined8 uStack_d0; + int local_c8 [2]; + longlong local_c0; + longlong local_b8; + int local_ac; + undefined **local_a0; + undefined4 local_98; + ushort local_94; + undefined **local_90; + undefined4 local_88; + undefined2 local_84; + undefined **local_80; + undefined4 local_78; + undefined2 local_74; + undefined4 local_70 [2]; + undefined8 local_68; + undefined1 local_60; + undefined4 local_5c; + undefined1 local_58; + undefined1 local_57; + undefined8 local_50; + undefined8 local_48 [4]; + + local_50 = 0xfffffffffffffffe; + dVar14 = (double)FUN_14009bf00(*(longlong *)(*param_1 + 0x670)); + dVar14 = dVar14 + (double)param_1[1]; + param_1[1] = (longlong)dVar14; + lVar9 = *param_1; + uVar7 = *(ulonglong *)(lVar9 + 0x670); + if (dVar14 < *(double *)(uVar7 + 0x640) || dVar14 == *(double *)(uVar7 + 0x640)) { + lVar3 = param_1[2]; + if (*(int *)(lVar3 + 8) == 0) { + dVar14 = (double)FUN_14009bf00(uVar7); + dVar14 = *(double *)(lVar3 + 0x10) - dVar14; + *(double *)(lVar3 + 0x10) = dVar14; + uVar7 = extraout_RAX_00; + if (dVar14 < 0.0) { + *(undefined8 *)(lVar3 + 0x10) = DAT_14016f080; + FUN_140074fb0(local_c8); + FUN_140074a40((longlong)local_c8,lVar9,param_3,param_4); + FUN_140075110(local_c8,0x800,param_3,param_4); + uVar10 = 0; + FUN_140075110(local_c8,0,param_3,param_4); + FUN_140029d80((longlong)local_c8,CONCAT71((int7)((ulonglong)uVar10 >> 8),0x10),param_3, + param_4); + local_d8 = *(undefined8 *)(lVar3 + 0x1c); + uStack_d0 = *(undefined8 *)(lVar3 + 0x24); + FUN_140051cf0((longlong)local_c8,&local_d8,param_3,param_4); + FUN_140029e60((longlong)local_c8,(ulonglong)*(uint *)(*param_1 + 0x56c),param_3,param_4); + lVar3 = *param_1; + local_70[0] = 5; + lVar9 = 0; + local_68 = 0; + local_60 = 1; + local_5c = 0xffffffff; + local_58 = 1; + local_57 = DAT_14016f1cc; + if ((*(longlong **)(lVar3 + 0x18) != (longlong *)0x0) && + (lVar5 = **(longlong **)(lVar3 + 0x18), lVar5 != 0)) { + lVar9 = lVar5 + -0x40; + } + plVar4 = *(longlong **)(lVar3 + 0x670); + dVar14 = (double)(**(code **)(*(longlong *)(*(longlong *)(lVar3 + 0x670) + 0x70) + 0x1c0))() + ; + puVar8 = FUN_1400cf0b0(param_1,local_48); + uVar6 = (**(code **)(*plVar4 + 0x30))(plVar4); + uVar11 = FUN_14008be40(uVar6,1); + FUN_1400d31e0(lVar9,1,(ulonglong)uVar11,(longlong)puVar8,(longlong)local_c8,dVar14, + (undefined8 *)local_70); + uVar7 = FUN_14008a320(&local_c0); + if ((local_b8 != 0) && (local_ac < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + } + } + else if (*(int *)(lVar3 + 8) == 1) { + dVar14 = (double)FUN_14009bf00(uVar7); + dVar14 = *(double *)(lVar3 + 0x10) - dVar14; + *(double *)(lVar3 + 0x10) = dVar14; + uVar7 = extraout_RAX; + if (dVar14 < 0.0) { + *(undefined8 *)(lVar3 + 0x10) = *(undefined8 *)(*(longlong *)(*param_1 + 0x670) + 0x648); + *(int *)(lVar3 + 0x18) = *(int *)(lVar3 + 0x18) + 1; + lVar9 = *param_1; + local_d8 = *(undefined8 *)(lVar9 + 0x30); + uStack_d0 = *(undefined8 *)(lVar9 + 0x38); + local_90 = Proud::AddrPort::vftable; + local_88 = *(undefined4 *)(lVar9 + 0x578); + local_84 = *(undefined2 *)(lVar9 + 0x57c); + FUN_1400cf900(param_1,(longlong)&local_90,&local_d8,param_4); + lVar9 = *param_1; + plVar4 = *(longlong **)(lVar9 + 0x18); + uVar13 = 0; + if ((plVar4 != (longlong *)0x0) && (*plVar4 != 0)) { + uVar7 = uVar13; + if ((plVar4 != (longlong *)0x0) && (*plVar4 != 0)) { + uVar7 = *plVar4 - 0x40; + } + if (*(int *)(uVar7 + 0x140) == *(int *)(lVar9 + 0x578)) { + uVar7 = uVar13; + if ((*(longlong **)(lVar9 + 0x18) != (longlong *)0x0) && + (lVar5 = **(longlong **)(lVar9 + 0x18), lVar5 != 0)) { + uVar7 = lVar5 - 0x40; + } + if (((*(char *)(uVar7 + 0x130) == *(char *)(lVar9 + 0x588)) && + (*(char *)(uVar7 + 0x131) == *(char *)(lVar9 + 0x589))) && + (*(char *)(uVar7 + 0x132) == *(char *)(lVar9 + 0x58a))) { + local_d8 = *(undefined8 *)(lVar9 + 0x30); + uStack_d0 = *(undefined8 *)(lVar9 + 0x38); + local_80 = Proud::AddrPort::vftable; + local_78 = *(undefined4 *)(lVar9 + 0x588); + local_74 = *(undefined2 *)(lVar9 + 0x58c); + FUN_1400cf900(param_1,(longlong)&local_80,&local_d8,param_4); + } + } + } + uVar7 = (ulonglong)DAT_14016f08c; + if ((int)DAT_14016f08c < *(int *)(lVar3 + 0x18)) { + piVar1 = (int *)(lVar3 + 0x30); + *piVar1 = *piVar1 + -1; + if (*piVar1 < 0) { + *(undefined4 *)(lVar3 + 0x30) = DAT_14016f0e8; + *(short *)(lVar3 + 0x34) = *(short *)(lVar3 + 0x34) + (short)_DAT_140176140; + uVar11 = *(ushort *)(lVar3 + 0x34); + if ((uVar11 < 0x3ff) || (uVar11 == 0xffff)) { + uVar11 = 0x3ff; + } + *(ushort *)(lVar3 + 0x34) = uVar11; + } + uVar7 = *param_1; + uVar2 = *(undefined4 *)(uVar7 + 0x578); + uVar11 = *(ushort *)(lVar3 + 0x34); + if (0 < _DAT_140176140) { + do { + local_d8 = *(undefined8 *)(*param_1 + 0x30); + uStack_d0 = *(undefined8 *)(*param_1 + 0x38); + local_a0 = Proud::AddrPort::vftable; + local_98 = uVar2; + local_94 = uVar11; + uVar7 = FUN_1400cf900(param_1,(longlong)&local_a0,&local_d8,param_4); + uVar11 = uVar11 + 1; + if ((uVar11 < 0x3ff) || (uVar11 == 0xffff)) { + uVar11 = 0x3ff; + } + uVar12 = (int)uVar13 + 1; + uVar13 = (ulonglong)uVar12; + } while ((int)uVar12 < _DAT_140176140); + } + } + } + } + uVar7 = CONCAT71((int7)(uVar7 >> 8),1); + } + else { + uVar7 = uVar7 & 0xffffffffffffff00; + } + return uVar7; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d0530.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d0530.c new file mode 100644 index 00000000..ddaa1241 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d0530.c @@ -0,0 +1,361 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d0530 FUN_1400d0530 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_1400d0530(longlong *param_1,uint *param_2,undefined8 param_3,undefined8 param_4) + +{ + int *piVar1; + undefined8 *puVar2; + longlong lVar3; + int iVar4; + undefined8 uVar5; + ulonglong uVar6; + longlong *plVar7; + int *piVar8; + undefined1 *puVar9; + longlong *plVar10; + undefined1 *_Memory; + longlong *plVar11; + undefined *puVar12; + undefined *puVar13; + longlong *plVar14; + bool bVar15; + undefined4 uVar16; + undefined4 uVar17; + undefined4 uVar18; + undefined4 uVar19; + undefined1 auStackY_628 [32]; + undefined **local_5f8; + undefined4 local_5f0; + undefined2 local_5ec; + undefined **local_5e8; + uint local_5e0; + undefined2 local_5dc; + longlong *local_5d8; + uint local_5d0 [2]; + undefined *local_5c8; + undefined **local_5c0; + uint local_5b8; + undefined2 local_5b4; + undefined **local_5b0; + undefined4 local_5a8; + undefined2 local_5a4; + undefined *local_5a0; + undefined **local_598; + uint local_590; + undefined2 local_58c; + undefined **local_588; + uint local_580; + undefined2 local_57c; + undefined **local_578; + undefined4 local_570; + undefined2 local_56c; + undefined **local_568; + undefined4 local_560; + undefined2 local_55c; + undefined **local_558; + undefined4 local_550; + undefined2 local_54c; + undefined **local_548; + uint local_540; + undefined2 local_53c; + undefined **local_538; + undefined4 local_530; + undefined2 local_52c; + undefined4 local_528; + undefined4 uStack_524; + undefined4 uStack_520; + undefined4 uStack_51c; + longlong *local_518; + undefined1 local_510; + undefined4 local_508; + undefined4 uStack_504; + undefined4 uStack_500; + undefined4 uStack_4fc; + int *local_4f8; + undefined1 local_4f0; + undefined8 local_4e8; + undefined4 local_4d8; + undefined4 uStack_4d4; + undefined4 uStack_4d0; + undefined4 uStack_4cc; + undefined8 local_4c8; + undefined8 uStack_4c0; + ulonglong local_4b8; + ulonglong uStack_4b0; + undefined4 local_4a8; + undefined4 uStack_4a4; + undefined4 uStack_4a0; + undefined4 uStack_49c; + ulonglong local_498; + ulonglong uStack_490; + undefined1 *local_488; + undefined1 local_480 [264]; + undefined1 *local_378; + undefined1 local_370 [264]; + undefined1 *local_268; + undefined1 local_260 [264]; + undefined1 *local_158; + undefined1 local_150 [264]; + ulonglong local_48; + + local_4e8 = 0xfffffffffffffffe; + local_48 = DAT_14016f5a0 ^ (ulonglong)auStackY_628; + local_5f8 = Proud::AddrPort::vftable; + plVar11 = (longlong *)0x0; + iVar4 = 0; + local_5f0 = 0; + local_5ec = 0; + uVar5 = FUN_140075970(param_2,local_5d0,param_3,param_4); + if ((char)uVar5 == '\0') { + if (((char)param_1[0x2f2] == '\0') && ((int)param_1[0xd9] == 0)) { + return; + } + local_488 = local_480; + FUN_140005110((longlong *)&local_488,"RemotePeer.cpp",3); + FUN_1400a9f70((longlong)param_1,1,L"Holepunch1 실패: %s(%d)",local_488); + puVar9 = local_480; + _Memory = local_488; + } + else { + local_4c8 = 0; + uStack_4c0 = 0; + uVar5 = FUN_140074ee0(param_2,&local_4c8,0x10); + if ((char)uVar5 == '\0') { + if (((char)param_1[0x2f2] == '\0') && ((int)param_1[0xd9] == 0)) { + return; + } + local_158 = local_150; + FUN_140005110((longlong *)&local_158,"RemotePeer.cpp",3); + FUN_1400a9f70((longlong)param_1,1,L"Holepunch1 실패: %s(%d)",local_158); + puVar9 = local_150; + _Memory = local_158; + } + else { + uVar16 = (undefined4)local_4c8; + uVar17 = local_4c8._4_4_; + uVar18 = (undefined4)uStack_4c0; + uVar19 = uStack_4c0._4_4_; + local_4a8 = (undefined4)local_4c8; + uStack_4a4 = local_4c8._4_4_; + uStack_4a0 = (undefined4)uStack_4c0; + uStack_49c = uStack_4c0._4_4_; + local_4b8 = 0; + uStack_4b0 = 0; + uVar5 = FUN_140074ee0(param_2,&local_4b8,0x10); + if ((char)uVar5 == '\0') { + if (((char)param_1[0x2f2] == '\0') && ((int)param_1[0xd9] == 0)) { + return; + } + local_378 = local_370; + FUN_140005110((longlong *)&local_378,"RemotePeer.cpp",3); + FUN_1400a9f70((longlong)param_1,1,L"Holepunch1 실패: %s(%d)",local_378); + puVar9 = local_370; + _Memory = local_378; + } + else { + local_498 = local_4b8; + uStack_490 = uStack_4b0; + uVar6 = FUN_140075910(param_2,(longlong)&local_5f8); + if ((char)uVar6 != '\0') { + bVar15 = local_498 < (ulonglong)param_1[0xda]; + if ((local_498 != param_1[0xda]) || + (bVar15 = uStack_490 < (ulonglong)param_1[0xdb], uStack_490 != param_1[0xdb])) { + iVar4 = (1 - (uint)bVar15) - (uint)(bVar15 != 0); + } + if (iVar4 != 0) { + return; + } + local_5e8 = Proud::AddrPort::vftable; + local_5e0 = param_2[0xe]; + local_5dc = (undefined2)param_2[0xf]; + uVar6 = (ulonglong)local_5d0[0]; + plVar7 = FUN_1400a7920(param_1,(longlong *)&local_5d8,local_5d0[0]); + plVar14 = plVar11; + if ((undefined8 *)*plVar7 != (undefined8 *)0x0) { + plVar14 = *(longlong **)*plVar7; + } + if (local_5d8 != (longlong *)0x0) { + local_5d8[1] = local_5d8[1] + -1; + if (local_5d8[1] == 0) { + puVar2 = (undefined8 *)*local_5d8; + if (puVar2 != (undefined8 *)0x0) { + (**(code **)*puVar2)(puVar2,1); + } + FUN_14003e8b0(local_5d8); + } + uVar16 = (undefined4)local_4c8; + uVar17 = local_4c8._4_4_; + uVar18 = (undefined4)uStack_4c0; + uVar19 = uStack_4c0._4_4_; + } + if (plVar14 == (longlong *)0x0) { + return; + } + if (*(char *)((longlong)plVar14 + 0x684) != '\0') { + return; + } + if ((longlong *)plVar14[5] == (longlong *)0x0) { + return; + } + if (*(longlong *)plVar14[5] == 0) { + return; + } + bVar15 = CONCAT44(uStack_4a4,local_4a8) < (ulonglong)plVar14[6]; + if ((CONCAT44(uStack_4a4,local_4a8) == plVar14[6]) && + (bVar15 = CONCAT44(uStack_49c,uStack_4a0) < (ulonglong)plVar14[7], + CONCAT44(uStack_49c,uStack_4a0) == plVar14[7])) { + iVar4 = 0; + } + else { + iVar4 = (1 - (uint)bVar15) - (uint)(bVar15 != 0); + } + if (iVar4 != 0) { + return; + } + if (((char)param_1[0x2f2] != '\0') || ((int)param_1[0xd9] != 0)) { + FUN_1400420f0((longlong)&local_5e8,(longlong *)&local_5a0,uVar6,param_4); + plVar7 = FUN_1400420f0((longlong)&local_5f8,(longlong *)&local_5c8,uVar6,param_4); + puVar13 = (undefined *)*plVar7; + if ((undefined *)*plVar7 == (undefined *)0x0) { + puVar13 = PTR_DAT_14016f010; + } + puVar12 = &DAT_140124e30; + FUN_1400a9f70((longlong)param_1,1,L"P2P Holepunch 수신 OK. ABS=%s ABR=%s",puVar13); + if (((local_5c8 != (undefined *)0x0) && (local_5c8 != PTR_DAT_14016f010)) && + (local_5c8 + -8 != (undefined *)0x0)) { + param_1 = (longlong *)FUN_14003e7c0(param_1,PTR_DAT_14016f010,puVar12,puVar13); + local_518 = param_1; + FUN_14003d040((int *)param_1); + local_510 = 1; + piVar1 = (int *)(local_5c8 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(local_5c8 + -8); + } + FUN_14003d0d0((longlong)param_1); + } + local_5c8 = PTR_DAT_14016f010; + if (((local_5a0 != (undefined *)0x0) && (local_5a0 != PTR_DAT_14016f010)) && + (local_5a0 + -8 != (undefined *)0x0)) { + piVar8 = (int *)FUN_14003e7c0(param_1,PTR_DAT_14016f010,puVar12,puVar13); + local_4f8 = piVar8; + FUN_14003d040(piVar8); + local_4f0 = 1; + piVar1 = (int *)(local_5a0 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(local_5a0 + -8); + } + FUN_14003d0d0((longlong)piVar8); + } + } + FUN_140041850((longlong)(plVar14 + 0xae)); + uVar6 = FUN_140041850((longlong)(plVar14 + 0xb0)); + if ((char)uVar6 != '\0') { + if (((longlong *)plVar14[3] == (longlong *)0x0) || + (lVar3 = *(longlong *)plVar14[3], plVar7 = (longlong *)(lVar3 + -0x40), lVar3 == 0)) + { + plVar7 = plVar11; + } + uVar6 = FUN_140041850((longlong)(plVar7 + 0x25)); + if ((char)uVar6 != '\0') { + plVar7 = (longlong *)plVar14[3]; + if ((plVar7 == (longlong *)0x0) || + (plVar10 = (longlong *)(*plVar7 + -0x40), *plVar7 == 0)) { + plVar10 = plVar11; + } + if ((int)plVar10[0x28] == (int)plVar14[0xaf]) { + plVar10 = plVar11; + if ((plVar7 != (longlong *)0x0) && (*plVar7 != 0)) { + plVar10 = (longlong *)(*plVar7 + -0x40); + } + if ((((char)plVar10[0x26] == (char)plVar14[0xb1]) && + (*(char *)((longlong)plVar10 + 0x131) == *(char *)((longlong)plVar14 + 0x589))) + && (*(char *)((longlong)plVar10 + 0x132) == *(char *)((longlong)plVar14 + 0x58a)) + ) { + local_598 = Proud::AddrPort::vftable; + local_590 = local_5e0; + local_58c = local_5dc; + local_558 = Proud::AddrPort::vftable; + local_550 = local_5f0; + local_54c = local_5ec; + local_568 = Proud::AddrPort::vftable; + local_560 = (undefined4)plVar14[0xb1]; + local_55c = *(undefined2 *)((longlong)plVar14 + 0x58c); + plVar7 = plVar11; + if ((undefined8 *)plVar14[5] != (undefined8 *)0x0) { + plVar7 = *(longlong **)plVar14[5]; + } + local_4d8 = uVar16; + uStack_4d4 = uVar17; + uStack_4d0 = uVar18; + uStack_4cc = uVar19; + FUN_1400cfbd0(plVar7,(longlong)&local_568,(undefined8 *)&local_4d8, + (longlong)&local_558,(longlong)&local_598); + } + } + } + } + uVar6 = FUN_140041850((longlong)(plVar14 + 0xae)); + if ((char)uVar6 != '\0') { + local_588 = Proud::AddrPort::vftable; + local_580 = local_5e0; + local_57c = local_5dc; + local_578 = Proud::AddrPort::vftable; + local_570 = local_5f0; + local_56c = local_5ec; + local_5b0 = Proud::AddrPort::vftable; + local_5a8 = (undefined4)plVar14[0xaf]; + local_5a4 = *(undefined2 *)((longlong)plVar14 + 0x57c); + plVar7 = plVar11; + if ((undefined8 *)plVar14[5] != (undefined8 *)0x0) { + plVar7 = *(longlong **)plVar14[5]; + } + local_528 = uVar16; + uStack_524 = uVar17; + uStack_520 = uVar18; + uStack_51c = uVar19; + FUN_1400cfbd0(plVar7,(longlong)&local_5b0,(undefined8 *)&local_528,(longlong)&local_578, + (longlong)&local_588); + } + local_5c0 = Proud::AddrPort::vftable; + local_5b8 = local_5e0; + local_5b4 = local_5dc; + local_538 = Proud::AddrPort::vftable; + local_530 = local_5f0; + local_52c = local_5ec; + local_548 = Proud::AddrPort::vftable; + local_540 = param_2[0xe]; + local_53c = (undefined2)param_2[0xf]; + if ((undefined8 *)plVar14[5] != (undefined8 *)0x0) { + plVar11 = *(longlong **)plVar14[5]; + } + local_508 = uVar16; + uStack_504 = uVar17; + uStack_500 = uVar18; + uStack_4fc = uVar19; + FUN_1400cfbd0(plVar11,(longlong)&local_548,(undefined8 *)&local_508,(longlong)&local_538, + (longlong)&local_5c0); + return; + } + if (((char)param_1[0x2f2] == '\0') && ((int)param_1[0xd9] == 0)) { + return; + } + local_268 = local_260; + FUN_140005110((longlong *)&local_268,"RemotePeer.cpp",3); + FUN_1400a9f70((longlong)param_1,1,L"Holepunch1 실패: %s(%d)",local_268); + puVar9 = local_260; + _Memory = local_268; + } + } + } + if (_Memory != puVar9) { + free(_Memory); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d0c60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d0c60.c new file mode 100644 index 00000000..d40b021f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d0c60.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d0c60 FUN_1400d0c60 + * Pseudocode, not original source. */ + +void FUN_1400d0c60(longlong param_1) + +{ + longlong *plVar1; + longlong *plVar2; + + plVar2 = (longlong *)(param_1 + 0x20); + if (*plVar2 != 0) { + plVar1 = (longlong *)(*plVar2 + 8); + *plVar1 = *plVar1 + -1; + if (*plVar1 == 0) { + FUN_1400512a0((longlong)plVar2,(longlong *)*plVar2); + } + } + FUN_14008a320((longlong *)(param_1 + 8)); + if (*(longlong *)(param_1 + 0x10) != 0) { + if (*(int *)(param_1 + 0x1c) < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + *(undefined4 *)(param_1 + 0x18) = 0; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d0cd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d0cd0.c new file mode 100644 index 00000000..1c789975 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d0cd0.c @@ -0,0 +1,250 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d0cd0 FUN_1400d0cd0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ + +void FUN_1400d0cd0(longlong *param_1,uint *param_2,undefined8 param_3,undefined8 param_4) + +{ + int *piVar1; + undefined8 *puVar2; + longlong lVar3; + int iVar4; + undefined8 uVar5; + ulonglong uVar6; + longlong *plVar7; + longlong *plVar8; + longlong *plVar9; + longlong *plVar10; + int *piVar11; + longlong lVar12; + undefined8 uVar13; + undefined *puVar14; + wchar_t *pwVar15; + bool bVar16; + undefined1 auStack_1b8 [32]; + undefined4 *local_198; + undefined ***local_190; + undefined ***local_188; + undefined ***local_180; + undefined ***local_178; + uint local_168 [2]; + longlong *local_160; + undefined **local_158; + undefined4 local_150; + undefined2 local_14c; + undefined **local_148; + undefined4 local_140; + undefined2 local_13c; + undefined **local_138; + undefined4 local_130; + undefined2 local_12c; + undefined *local_128; + longlong local_120; + undefined *local_118; + undefined *local_110; + undefined **local_108; + uint local_100; + undefined2 local_fc; + undefined *local_f8; + longlong *local_f0; + undefined1 local_e8; + longlong *local_e0; + undefined1 local_d8; + undefined8 local_d0; + longlong *local_c8; + undefined1 local_c0; + int *local_b8; + undefined1 local_b0; + undefined8 local_a8; + undefined8 uStack_a0; + undefined8 local_98; + ulonglong uStack_90; + undefined8 local_88; + undefined8 uStack_80; + undefined8 local_78; + undefined8 uStack_70; + undefined4 local_68; + undefined4 uStack_64; + undefined4 uStack_60; + undefined4 uStack_5c; + undefined4 local_58; + undefined4 uStack_54; + undefined4 uStack_50; + undefined4 uStack_4c; + ulonglong local_48; + ulonglong uStack_40; + ulonglong local_38; + ulonglong uStack_30; + ulonglong local_28; + + local_d0 = 0xfffffffffffffffe; + local_28 = DAT_14016f5a0 ^ (ulonglong)auStack_1b8; + local_148 = Proud::AddrPort::vftable; + lVar12 = 0; + local_140 = 0; + local_13c = 0; + local_158 = Proud::AddrPort::vftable; + local_150 = 0; + local_14c = 0; + local_138 = Proud::AddrPort::vftable; + local_130 = 0; + local_12c = 0; + local_48 = 0; + uStack_40 = 0; + uVar13 = 0x10; + uVar5 = FUN_140074ee0(param_2,&local_48,0x10); + if ((char)uVar5 != '\0') { + local_38 = local_48; + uStack_30 = uStack_40; + uVar5 = FUN_140075970(param_2,local_168,uVar13,param_4); + if (((((char)uVar5 != '\0') && + (uVar6 = FUN_140075910(param_2,(longlong)&local_148), (char)uVar6 != '\0')) && + (uVar6 = FUN_140075910(param_2,(longlong)&local_158), (char)uVar6 != '\0')) && + (uVar6 = FUN_140075910(param_2,(longlong)&local_138), (char)uVar6 != '\0')) { + local_108 = Proud::AddrPort::vftable; + local_100 = param_2[0xe]; + local_fc = (undefined2)param_2[0xf]; + plVar7 = FUN_1400a7920(param_1,(longlong *)&local_160,local_168[0]); + if ((longlong *)*plVar7 != (longlong *)0x0) { + lVar12 = *(longlong *)*plVar7; + } + if ((local_160 != (longlong *)0x0) && (local_160[1] = local_160[1] + -1, local_160[1] == 0)) { + puVar2 = (undefined8 *)*local_160; + if (puVar2 != (undefined8 *)0x0) { + (**(code **)*puVar2)(puVar2,1); + } + FUN_14003e8b0(local_160); + } + if (((lVar12 != 0) && (*(char *)(lVar12 + 0x684) == '\0')) && + ((*(longlong **)(lVar12 + 0x28) != (longlong *)0x0 && + (lVar3 = **(longlong **)(lVar12 + 0x28), lVar3 != 0)))) { + bVar16 = *(ulonglong *)(lVar12 + 0x30) < local_38; + if ((*(ulonglong *)(lVar12 + 0x30) == local_38) && + (bVar16 = *(ulonglong *)(lVar12 + 0x38) < uStack_30, + *(ulonglong *)(lVar12 + 0x38) == uStack_30)) { + iVar4 = 0; + } + else { + iVar4 = (1 - (uint)bVar16) - (uint)(bVar16 != 0); + } + if (((iVar4 == 0) && (*(longlong *)(lVar3 + 0x10) != 0)) && + (*(int *)(*(longlong *)(lVar3 + 0x10) + 8) == 1)) { + local_120 = 0; + FUN_1400a9130((longlong *)(lVar12 + 0x28),&local_120); + FUN_1400a8ff0(&local_120); + local_a8 = _DAT_140177f90; + uStack_a0 = uRam0000000140177f98; + local_98 = _DAT_140177fa0; + local_88 = _DAT_140177fb0; + uStack_80 = _DAT_140177fb8; + local_78 = _DAT_140177fc0; + uStack_70 = _DAT_140177fc8; + local_68 = _DAT_140177fd0; + uStack_64 = uRam0000000140177fd4; + uStack_60 = _DAT_140177fd8; + uStack_5c = uRam0000000140177fdc; + local_58 = _DAT_140177fe0; + uStack_54 = _DAT_140177fe4; + uStack_50 = uRam0000000140177fe8; + uStack_4c = uRam0000000140177fec; + uStack_90 = _DAT_140177fa8 & 0xffffffff00000000; + (**(code **)(param_1[0x2fa] + 0x30)) + (param_1 + 0x2fa,*(undefined4 *)(lVar12 + 0x56c),&local_a8); + plVar7 = param_1 + 0x2af; + local_178 = &local_108; + local_180 = &local_138; + local_188 = &local_158; + local_190 = &local_148; + puVar14 = &DAT_140177f90; + local_198 = (undefined4 *)(lVar12 + 0x56c); + (**(code **)(param_1[0x303] + 0x70))(param_1 + 0x303,1); + if (((char)param_1[0x2f2] != '\0') || ((int)param_1[0xd9] != 0)) { + plVar8 = FUN_1400420f0((longlong)&local_108,(longlong *)&local_f8,puVar14,plVar7); + plVar9 = FUN_1400420f0((longlong)&local_138,(longlong *)&local_118,puVar14,plVar7); + plVar10 = FUN_1400420f0((longlong)&local_158,(longlong *)&local_128,puVar14,plVar7); + plVar7 = FUN_1400420f0((longlong)&local_148,(longlong *)&local_110,puVar14,plVar7); + local_188 = (undefined ***)*plVar8; + if ((undefined *)*plVar8 == (undefined *)0x0) { + local_188 = (undefined ***)PTR_DAT_14016f010; + } + local_190 = (undefined ***)*plVar9; + if ((undefined *)*plVar9 == (undefined *)0x0) { + local_190 = (undefined ***)PTR_DAT_14016f010; + } + local_198 = (undefined4 *)*plVar10; + if ((undefined *)*plVar10 == (undefined *)0x0) { + local_198 = (undefined4 *)PTR_DAT_14016f010; + } + puVar14 = (undefined *)*plVar7; + if ((undefined *)*plVar7 == (undefined *)0x0) { + puVar14 = PTR_DAT_14016f010; + } + pwVar15 = L"HolepunchAck OK. ABS=%s ABR=%s BAS=%s BAR=%s"; + FUN_1400a9f70((longlong)param_1,1,L"HolepunchAck OK. ABS=%s ABR=%s BAS=%s BAR=%s", + puVar14); + if (((local_110 != (undefined *)0x0) && (local_110 != PTR_DAT_14016f010)) && + (local_110 + -8 != (undefined *)0x0)) { + param_1 = (longlong *)FUN_14003e7c0(param_1,PTR_DAT_14016f010,pwVar15,puVar14); + local_f0 = param_1; + FUN_14003d040((int *)param_1); + local_e8 = 1; + piVar1 = (int *)(local_110 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(local_110 + -8); + } + FUN_14003d0d0((longlong)param_1); + } + local_110 = PTR_DAT_14016f010; + if (((local_128 != (undefined *)0x0) && (local_128 != PTR_DAT_14016f010)) && + (local_128 + -8 != (undefined *)0x0)) { + param_1 = (longlong *)FUN_14003e7c0(param_1,PTR_DAT_14016f010,pwVar15,puVar14); + local_e0 = param_1; + FUN_14003d040((int *)param_1); + local_d8 = 1; + piVar1 = (int *)(local_128 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(local_128 + -8); + } + FUN_14003d0d0((longlong)param_1); + } + local_128 = PTR_DAT_14016f010; + if (((local_118 != (undefined *)0x0) && (local_118 != PTR_DAT_14016f010)) && + (local_118 + -8 != (undefined *)0x0)) { + param_1 = (longlong *)FUN_14003e7c0(param_1,PTR_DAT_14016f010,pwVar15,puVar14); + local_c8 = param_1; + FUN_14003d040((int *)param_1); + local_c0 = 1; + piVar1 = (int *)(local_118 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(local_118 + -8); + } + FUN_14003d0d0((longlong)param_1); + } + if (((local_f8 != (undefined *)0x0) && (local_f8 != PTR_DAT_14016f010)) && + (local_f8 + -8 != (undefined *)0x0)) { + local_118 = PTR_DAT_14016f010; + piVar11 = (int *)FUN_14003e7c0(param_1,PTR_DAT_14016f010,pwVar15,puVar14); + local_b8 = piVar11; + FUN_14003d040(piVar11); + local_b0 = 1; + piVar1 = (int *)(local_f8 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(local_f8 + -8); + } + FUN_14003d0d0((longlong)piVar11); + } + } + } + } + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d1180.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d1180.c new file mode 100644 index 00000000..8c49fca3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d1180.c @@ -0,0 +1,60 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d1180 FUN_1400d1180 + * Pseudocode, not original source. */ + +void FUN_1400d1180(longlong param_1,longlong param_2) + +{ + double dVar1; + undefined8 uVar2; + longlong local_res8; + + *(undefined1 *)(param_1 + 0x25) = DAT_14016f9f8; + *(bool *)(param_1 + 0x21) = *(int *)(param_2 + 0x6b0) == 1; + *(undefined1 *)(param_1 + 0x22) = 0; + *(undefined1 *)(param_1 + 0x24) = 0; + local_res8 = 0; + FUN_1400a9130((longlong *)(param_1 + 0x28),&local_res8); + *(undefined1 *)(param_1 + 0x20) = 0; + *(undefined1 *)(param_1 + 0x23) = 0; + *(undefined8 *)(param_1 + 0x158) = 0; + *(undefined8 *)(param_1 + 0x160) = 0; + *(undefined8 *)(param_1 + 0x60) = 0; + *(undefined4 *)(param_1 + 0x598) = DAT_14016f3d0; + *(undefined2 *)(param_1 + 0x59c) = DAT_14016f3d4; + *(undefined4 *)(param_1 + 0x5a8) = DAT_14016f3d0; + *(undefined2 *)(param_1 + 0x5ac) = DAT_14016f3d4; + *(undefined4 *)(param_1 + 0x578) = DAT_14016f3d0; + *(undefined2 *)(param_1 + 0x57c) = DAT_14016f3d4; + *(undefined4 *)(param_1 + 0x588) = DAT_14016f3d0; + *(undefined2 *)(param_1 + 0x58c) = DAT_14016f3d4; + *(longlong *)(param_1 + 0x670) = param_2; + *(undefined1 *)(param_1 + 0x608) = 1; + *(undefined8 *)(param_1 + 0x610) = 0; + dVar1 = (double)FUN_140048760(param_2 + 0xb08); + *(double *)(param_1 + 0x148) = (DAT_14016f0f0 - DAT_14016f0f0 * 0.5) * dVar1 + DAT_14016f0f0 * 0.5 + ; + *(undefined8 *)(param_1 + 0x150) = 0; + uVar2 = (**(code **)(*(longlong *)(param_2 + 0x70) + 0x1c0))(); + *(undefined8 *)(param_1 + 0xc0) = uVar2; + *(undefined4 *)(param_1 + 0x100) = 0; + *(undefined8 *)(param_1 + 0x140) = 0xbff0000000000000; + *(undefined8 *)(param_1 + 0x50) = 0; + *(undefined4 *)(param_1 + 0x58) = 0; + *(undefined8 *)(param_1 + 0x80) = 0; + *(undefined4 *)(param_1 + 0x568) = 0; + *(undefined4 *)(param_1 + 0x61c) = 0; + *(undefined8 *)(param_1 + 0x620) = 0; + *(undefined8 *)(param_1 + 0x40) = 0; + *(undefined4 *)(param_1 + 0x48) = 0; + *(undefined8 *)(param_1 + 0x628) = 0; + *(undefined8 *)(param_1 + 0x630) = 0; + *(undefined8 *)(param_1 + 0x678) = 0; + dVar1 = FUN_1400cf1c0(param_1); + *(double *)(param_1 + 0x88) = dVar1; + *(undefined8 *)(param_1 + 0x658) = 0; + *(undefined8 *)(param_1 + 0x660) = 0; + *(undefined1 *)(param_1 + 0x618) = 1; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d1350.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d1350.c new file mode 100644 index 00000000..e0f760ca --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d1350.c @@ -0,0 +1,60 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d1350 FUN_1400d1350 + * Pseudocode, not original source. */ + +longlong FUN_1400d1350(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong *plVar1; + void *pvVar2; + undefined8 *puVar3; + longlong *plVar4; + longlong *plVar5; + longlong lVar6; + longlong *local_res8; + undefined8 *local_res10; + + plVar4 = operator_new(0x18); + plVar5 = (longlong *)0x0; + local_res8 = plVar4; + if (plVar4 != (longlong *)0x0) { + plVar4[2] = 0; + plVar4[1] = 0; + *plVar4 = param_1; + local_res10 = operator_new(0x30); + if (local_res10 != (undefined8 *)0x0) { + plVar5 = FUN_1400cf010(local_res10); + } + plVar4[2] = (longlong)plVar5; + plVar5 = plVar4; + } + if (plVar5 == (longlong *)0x0) { + local_res8 = (longlong *)0x0; + } + else { + local_res8 = (longlong *)FUN_14003e840(0x10); + local_res8[1] = 1; + *local_res8 = (longlong)plVar5; + } + plVar5 = local_res8; + lVar6 = FUN_1400a9130((longlong *)(param_1 + 0x28),(longlong *)&local_res8); + plVar4 = local_res8; + if (plVar5 != (longlong *)0x0) { + plVar1 = plVar5 + 1; + *plVar1 = *plVar1 + -1; + lVar6 = plVar5[1]; + if (*plVar1 == 0) { + pvVar2 = (void *)*local_res8; + if (pvVar2 != (void *)0x0) { + puVar3 = *(undefined8 **)((longlong)pvVar2 + 0x10); + if (puVar3 != (undefined8 *)0x0) { + (**(code **)*puVar3)(puVar3,1); + } + operator_delete(pvVar2); + } + lVar6 = FUN_14003e8b0(plVar4); + } + } + return lVar6; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d1440.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d1440.c new file mode 100644 index 00000000..f288004c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d1440.c @@ -0,0 +1,188 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d1440 FUN_1400d1440 + * Pseudocode, not original source. */ + +void FUN_1400d1440(longlong param_1,char param_2,undefined8 param_3,undefined *param_4) + +{ + int iVar1; + longlong lVar2; + int iVar3; + int *piVar4; + undefined8 *puVar5; + undefined **ppuVar6; + int *piVar7; + longlong *plVar8; + undefined *puVar9; + undefined8 *puVar10; + ulonglong uVar11; + undefined *puVar12; + ulonglong uVar13; + uint uVar14; + double dVar15; + undefined1 local_res8 [8]; + uint local_res18 [2]; + undefined *local_res20; + undefined *local_e8; + undefined *local_e0; + undefined *local_d8; + undefined *local_d0; + longlong local_c8 [2]; + int *local_b8; + undefined1 local_b0; + int *local_a8; + undefined1 local_a0; + undefined **local_98; + undefined1 local_90; + int *local_88; + undefined1 local_80; + int *local_78; + undefined1 local_70; + undefined8 local_68 [6]; + + local_res18[0] = (uint)param_3; + puVar10 = local_68; + local_c8[1] = 0xfffffffffffffffe; + if (*(char *)(param_1 + 0x608) == '\0') { + if (((param_2 != '\0') && (local_res18[0] != 0x1d)) && + ((lVar2 = *(longlong *)(param_1 + 0x670), *(char *)(lVar2 + 0x1790) != '\0' || + (*(int *)(lVar2 + 0x6c8) != 0)))) { + local_res8[0] = 0; + (**(code **)(*(longlong *)(lVar2 + 0x70) + 0x158))((longlong *)(lVar2 + 0x70),local_res8); + iVar3 = *(int *)(param_1 + 0x578); + iVar1 = *(int *)(param_1 + 0x588); + FUN_1400a8ae0(*(longlong *)(param_1 + 0x670),(longlong *)&local_e0,param_3,param_4); + (**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x670) + 0x70) + 0x1c0))(); + (**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x670) + 0x70) + 0x1c0))(); + uVar14 = 1; + if (iVar1 == iVar3) { + uVar14 = 2; + } + plVar8 = (longlong *)(*(longlong *)(param_1 + 0x670) + 0x70); + plVar8 = (longlong *)(**(code **)(*plVar8 + 0xb0))(plVar8,&local_d8); + piVar4 = (int *)*plVar8; + if (piVar4 == (int *)0x0) { + iVar3 = 0; + } + else if (piVar4 == (int *)PTR_DAT_14016f010) { + iVar3 = 0; + } + else { + iVar3 = piVar4[-2]; + } + puVar9 = PTR_DAT_14016f010; + if (((local_d8 != (undefined *)0x0) && (local_d8 != PTR_DAT_14016f010)) && + (local_d8 + -8 != (undefined *)0x0)) { + piVar4 = (int *)FUN_14003e7c0(piVar4,PTR_DAT_14016f010,param_3,param_4); + local_78 = piVar4; + FUN_14003d040(piVar4); + local_70 = 1; + piVar7 = (int *)(local_d8 + -4); + *piVar7 = *piVar7 + -1; + if (*piVar7 == 0) { + FUN_14003e8b0(local_d8 + -8); + } + FUN_14003d0d0((longlong)piVar4); + } + if (iVar3 != 0) { + uVar14 = uVar14 + 1; + } + FUN_14003e7c0(piVar4,puVar9,param_3,param_4); + local_e8 = PTR_DAT_14016f010; + puVar5 = FUN_14009c1e0(*(longlong *)(param_1 + 0x670),puVar10); + FUN_14003e4d0((longlong *)&local_d0,puVar10,param_3,param_4); + (**(code **)*puVar5)(puVar5); + uVar13 = (ulonglong)local_res18[0]; + uVar11 = (ulonglong)*(uint *)(param_1 + 0x56c); + ppuVar6 = &local_e8; + FUN_140029b80((longlong *)ppuVar6, + L"(first chance) to-peer client %d UDP punch lost##Reason:%d##CliInstCount=%d##RecentElapTime=%3.3f##DisconnedCount=%d##recv count=%d##last ok recv interval=%3.3f##Recurred:%d##LocalIP:%s##Remote peer behind NAT:%d##UDP kept time:%3.3f##Time diff since last RecvIssue:%3.3f##%s##Process=%s" + ,uVar11,uVar13); + if (((local_res20 != (undefined *)0x0) && (local_res20 != PTR_DAT_14016f010)) && + (local_res20 + -8 != (undefined *)0x0)) { + ppuVar6 = (undefined **)FUN_14003e7c0(ppuVar6,PTR_DAT_14016f010,uVar11,uVar13); + local_98 = ppuVar6; + FUN_14003d040((int *)ppuVar6); + local_90 = 1; + piVar4 = (int *)(local_res20 + -4); + *piVar4 = *piVar4 + -1; + if (*piVar4 == 0) { + FUN_14003e8b0(local_res20 + -8); + } + FUN_14003d0d0((longlong)ppuVar6); + } + local_res20 = PTR_DAT_14016f010; + if (((local_d0 != (undefined *)0x0) && (local_d0 != PTR_DAT_14016f010)) && + (local_d0 + -8 != (undefined *)0x0)) { + piVar7 = (int *)FUN_14003e7c0(ppuVar6,PTR_DAT_14016f010,uVar11,uVar13); + local_b8 = piVar7; + FUN_14003d040(piVar7); + local_b0 = 1; + piVar4 = (int *)(local_d0 + -4); + *piVar4 = *piVar4 + -1; + if (*piVar4 == 0) { + FUN_14003e8b0(local_d0 + -8); + } + FUN_14003d0d0((longlong)piVar7); + } + puVar9 = local_e8; + puVar12 = &DAT_14012e3f0; + uVar11 = (ulonglong)uVar14; + piVar4 = *(int **)(param_1 + 0x670); + param_4 = local_e8; + FUN_1400aa4c0((longlong)piVar4,uVar11,L"%s",local_e8); + if (((puVar9 != (undefined *)0x0) && (puVar9 != PTR_DAT_14016f010)) && + (puVar9 + -8 != (undefined *)0x0)) { + piVar4 = (int *)FUN_14003e7c0(piVar4,uVar11,puVar12,param_4); + local_a8 = piVar4; + FUN_14003d040(piVar4); + local_a0 = 1; + piVar7 = (int *)(puVar9 + -4); + *piVar7 = *piVar7 + -1; + if (*piVar7 == 0) { + FUN_14003e8b0(puVar9 + -8); + } + FUN_14003d0d0((longlong)piVar4); + } + if (((local_e0 != (undefined *)0x0) && (local_e0 != PTR_DAT_14016f010)) && + (local_e0 + -8 != (undefined *)0x0)) { + piVar7 = (int *)FUN_14003e7c0(piVar4,uVar11,puVar12,param_4); + local_88 = piVar7; + FUN_14003d040(piVar7); + local_80 = 1; + piVar4 = (int *)(local_e0 + -4); + *piVar4 = *piVar4 + -1; + if (*piVar4 == 0) { + FUN_14003e8b0(local_e0 + -8); + } + FUN_14003d0d0((longlong)piVar7); + } + } + if (*(char *)(param_1 + 0x608) == '\0') { + *(undefined1 *)(param_1 + 0x618) = 1; + } + *(undefined1 *)(param_1 + 0x608) = 1; + if (*(longlong *)(param_1 + 0x640) != 0) { + *(undefined8 *)(*(longlong *)(param_1 + 0x640) + 0xd8) = 0; + } + if (param_2 != '\0') { + plVar8 = (longlong *)(*(longlong *)(param_1 + 0x670) + 0x1818); + param_4 = (undefined *)(param_1 + 0x56c); + (**(code **)(*plVar8 + 0x40))(plVar8,1,&DAT_140177f90,param_4,local_res18); + } + local_c8[0] = 0; + FUN_1400a9130((longlong *)(param_1 + 0x28),local_c8); + if (local_res18[0] != 0x1d) { + FUN_1400b6a40(*(longlong **)(param_1 + 0x670),(ulonglong)*(uint *)(param_1 + 0x56c), + (ulonglong)local_res18[0],param_4); + } + if (*(int *)(param_1 + 0x61c) < DAT_14016f088) { + *(int *)(param_1 + 0x61c) = *(int *)(param_1 + 0x61c) + 1; + dVar15 = (double)(**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x670) + 0x70) + 0x1c0))() + ; + *(double *)(param_1 + 0x620) = dVar15 + DAT_140176190; + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d1950.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d1950.c new file mode 100644 index 00000000..efc6322f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d1950.c @@ -0,0 +1,103 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d1950 FUN_1400d1950 + * Pseudocode, not original source. */ + +void FUN_1400d1950(undefined **param_1,undefined8 param_2,undefined **param_3,undefined8 param_4) + +{ + longlong *plVar1; + longlong *plVar2; + longlong lVar3; + undefined8 *puVar4; + undefined ***pppuVar5; + undefined8 *puVar6; + longlong *local_res8; + longlong local_res10 [3]; + undefined **local_40; + int local_38; + undefined2 local_34; + + (**(code **)(*(longlong *)(param_1[0xce] + 0x78) + 0x10))(); + if (((longlong *)param_1[3] != (longlong *)0x0) && (*(longlong *)param_1[3] != 0)) { + return; + } + if (*(char *)((longlong)param_1 + 0x23) == '\0') { + return; + } + lVar3 = FUN_14009c0d0((longlong)param_1[0xce]); + if (lVar3 == 0) { + return; + } + *(undefined1 *)((longlong)param_1 + 0x23) = 0; + puVar6 = (undefined8 *)0x0; + if (((longlong *)param_1[3] != (longlong *)0x0) && (lVar3 = *(longlong *)param_1[3], lVar3 != 0)) + { + if (*(char *)(lVar3 + 0x40) == '\0') { + puVar4 = puVar6; + if ((undefined8 *)param_1[3] != (undefined8 *)0x0) { + puVar4 = *(undefined8 **)param_1[3]; + } + if (*(char *)(puVar4 + 0x10) == '\0') goto LAB_1400d19eb; + } + uRam0000000000000000 = 1; + } +LAB_1400d19eb: + if (((longlong *)param_1[3] != (longlong *)0x0) && (*(longlong *)param_1[3] != 0)) { + local_res10[0] = 0; + FUN_14009d860(local_res10,(longlong *)(param_1 + 3)); + FUN_1400ac6e0((longlong)param_1[0xce],local_res10); + local_res10[1] = 0; + FUN_14009d860((longlong *)(param_1 + 3),local_res10 + 1); + } + local_res8 = operator_new(0x1c0); + puVar4 = puVar6; + if (local_res8 != (longlong *)0x0) { + param_3 = param_1; + puVar4 = FUN_1400d32e0(local_res8,(longlong)param_1[0xce],(longlong)param_1,param_4); + } + if ((puVar4 == (undefined8 *)0x0) || (puVar4 + 8 == (undefined8 *)0x0)) { + local_res8 = (longlong *)0x0; + } + else { + local_res8 = (longlong *)FUN_14003e840(0x10); + local_res8[1] = 1; + *local_res8 = (longlong)(puVar4 + 8); + } + plVar1 = local_res8; + FUN_14009d860((longlong *)(param_1 + 3),(longlong *)&local_res8); + plVar2 = local_res8; + if (plVar1 != (longlong *)0x0) { + plVar1 = plVar1 + 1; + *plVar1 = *plVar1 + -1; + if (*plVar1 == 0) { + puVar4 = (undefined8 *)*local_res8; + if (puVar4 != (undefined8 *)0x0) { + (**(code **)*puVar4)(puVar4,1); + } + FUN_14003e8b0(plVar2); + } + } + lVar3 = FUN_14009c0f0((longlong)param_1[0xce]); + local_38 = *(int *)(lVar3 + 0x118); + if ((local_38 == 0) || (local_38 == -1)) { + FUN_14003e110( + L"UDP 소켓을 생성하기 전에 TCP 연결이 이미 되어있는 상태이어야 하는데!" + ); + } + local_40 = Proud::AddrPort::vftable; + local_34 = 0; + if (((longlong *)param_1[3] == (longlong *)0x0) || + (lVar3 = *(longlong *)param_1[3], puVar4 = (undefined8 *)(lVar3 + -0x40), lVar3 == 0)) { + puVar4 = puVar6; + } + pppuVar5 = &local_40; + FUN_1400d36c0((longlong)puVar4,(longlong)pppuVar5,(longlong *)param_3,param_4); + if (((longlong *)param_1[3] != (longlong *)0x0) && (lVar3 = *(longlong *)param_1[3], lVar3 != 0)) + { + puVar6 = (undefined8 *)(lVar3 + -0x40); + } + FUN_1400d2cc0((longlong)puVar6,pppuVar5,param_3,param_4); + FUN_1400d1350((longlong)param_1,pppuVar5,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d1b70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d1b70.c new file mode 100644 index 00000000..8d72c79e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d1b70.c @@ -0,0 +1,78 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d1b70 FUN_1400d1b70 + * Pseudocode, not original source. */ + +void FUN_1400d1b70(longlong param_1,longlong param_2) + +{ + uint uVar1; + uint uVar2; + longlong lVar3; + ulonglong uVar4; + undefined8 uVar5; + uint *puVar6; + uint *puVar7; + uint uVar8; + uint local_res8 [2]; + + *(undefined4 *)(param_2 + 0x20) = *(undefined4 *)(param_1 + 0x56c); + *(undefined4 *)(param_2 + 8) = *(undefined4 *)(param_1 + 0x578); + *(undefined2 *)(param_2 + 0xc) = *(undefined2 *)(param_1 + 0x57c); + *(undefined4 *)(param_2 + 0x18) = *(undefined4 *)(param_1 + 0x588); + *(undefined2 *)(param_2 + 0x1c) = *(undefined2 *)(param_1 + 0x58c); + *(undefined8 *)(param_2 + 0x88) = *(undefined8 *)(param_1 + 0x50); + *(undefined4 *)(param_2 + 0x90) = *(undefined4 *)(param_1 + 0x58); + if (*(longlong *)(param_1 + 0x5d0) == 0) { + puVar7 = (uint *)0x0; + } + else { + puVar7 = *(uint **)(param_1 + 0x5c0); + } + do { + if (puVar7 == (uint *)0x0) { + *(undefined1 *)(param_2 + 0x24) = *(undefined1 *)(param_1 + 0x608); + *(bool *)(param_2 + 0x80) = *(int *)(param_1 + 0x588) != *(int *)(param_1 + 0x578); + *(undefined8 *)(param_2 + 0x98) = *(undefined8 *)(param_1 + 0x678); + *(undefined8 *)(param_2 + 0xa0) = *(undefined8 *)(param_1 + 0x160); + *(undefined4 *)(param_2 + 0xa8) = *(undefined4 *)(param_1 + 0x40); + *(undefined4 *)(param_2 + 0xac) = *(undefined4 *)(param_1 + 0x44); + return; + } + uVar1 = *puVar7; + uVar2 = *(uint *)(param_2 + 0x50); + lVar3 = *(longlong *)(param_2 + 0x30); + uVar4 = (ulonglong)uVar1 % (ulonglong)uVar2; + uVar8 = (uint)uVar4; + local_res8[0] = uVar1; + if (lVar3 == 0) { +LAB_1400d1c5e: + uVar5 = FUN_14004c640(param_2 + 0x28,uVar2,'\x01'); + if ((char)uVar5 == '\0') { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x8007000e); + } + } + else { + for (puVar6 = *(uint **)(lVar3 + uVar4 * 8); + (puVar6 != (uint *)0x0 && (uVar8 == puVar6[6] % uVar2)); puVar6 = *(uint **)(puVar6 + 2)) + { + if (*puVar6 == uVar1) goto LAB_1400d1c9e; + } + if (lVar3 == 0) goto LAB_1400d1c5e; + for (puVar6 = *(uint **)(lVar3 + uVar4 * 8); + (puVar6 != (uint *)0x0 && (uVar8 == puVar6[6] % uVar2)); puVar6 = *(uint **)(puVar6 + 2)) + { + if (*puVar6 == uVar1) goto LAB_1400d1c9a; + } + if (lVar3 == 0) goto LAB_1400d1c5e; + } + FUN_140083c80((char *)(param_2 + 0x28)); + puVar6 = FUN_14004e500((char *)(param_2 + 0x28),local_res8,uVar8,uVar1); + FUN_140083c80((char *)(param_2 + 0x28)); +LAB_1400d1c9a: + *(undefined1 *)(puVar6 + 1) = 0; +LAB_1400d1c9e: + puVar7 = *(uint **)(puVar7 + 4); + } while( true ); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d1d20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d1d20.c new file mode 100644 index 00000000..5a8b7d22 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d1d20.c @@ -0,0 +1,178 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d1d20 FUN_1400d1d20 + * Pseudocode, not original source. */ + +/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ + +void FUN_1400d1d20(undefined **param_1,undefined *param_2,undefined **param_3,double *param_4) + +{ + undefined *puVar1; + int *piVar2; + int iVar3; + undefined *puVar4; + char cVar5; + uint uVar6; + undefined8 uVar7; + longlong *plVar8; + int *piVar9; + longlong lVar10; + longlong lVar11; + undefined ***pppuVar12; + longlong *in_RDX; + undefined **ppuVar13; + double dVar14; + float local_res8 [2]; + undefined *local_res10; + double local_res18; + longlong local_res20; + double local_a8 [2]; + longlong local_98; + undefined **local_90; + undefined4 local_88; + undefined2 local_84; + int *local_80; + undefined1 local_78; + undefined **local_70; + undefined8 local_68; + undefined8 local_60; + undefined8 local_58; + undefined8 local_50; + + local_a8[1] = -NAN; + if (DAT_14016f058 < (double)param_2 - (double)param_1[0xcb]) { + FUN_1400d3b70((longlong)(param_1 + 199),in_RDX,(longlong *)param_3,param_4); + param_1[0xcb] = param_2; + } + iVar3 = *(int *)(param_1[0xce] + 0x6a0); + if ((((iVar3 != 1) && (iVar3 != 3)) && (iVar3 != 2)) && + ((*(char *)((longlong)param_1 + 0x25) != '\0' && (*(char *)((longlong)param_1 + 0x24) != '\0')) + )) { + if ((((longlong *)param_1[3] == (longlong *)0x0) || (*(longlong *)param_1[3] == 0)) && + (((dVar14 = (double)(**(code **)(*(longlong *)(param_1[0xce] + 0x70) + 0x1c0))(), + (double)param_1[0x11] <= dVar14 && dVar14 != (double)param_1[0x11] && + (*(char *)((longlong)param_1 + 0x21) != '\0')) && + (*(char *)((longlong)param_1 + 0x22) == '\0')))) { + *(undefined1 *)((longlong)param_1 + 0x22) = 1; + param_4 = (double *)((longlong)param_1 + 0x56c); + param_3 = (undefined **)&DAT_140177f90; + in_RDX = (longlong *)0x1; + (**(code **)(*(longlong *)(param_1[0xce] + 0x1818) + 0xe0))(); + } + FUN_1400cf450((longlong)param_1,in_RDX,param_3,param_4); + FUN_1400d1950(param_1,in_RDX,param_3,param_4); + } + lVar11 = 0; + if ((((undefined8 *)param_1[5] != (undefined8 *)0x0) && + (plVar8 = *(longlong **)param_1[5], plVar8 != (longlong *)0x0)) && + (uVar7 = FUN_1400d0130(plVar8,in_RDX,(SIZE_T)param_3,param_4), (char)uVar7 == '\0')) { + local_res20 = 0; + in_RDX = &local_res20; + FUN_1400a9130((longlong *)(param_1 + 5),in_RDX); + } + if (_DAT_14016f170 < (double)param_2 - (double)param_1[0xcc]) { + local_res18 = 0.0; + (**(code **)(*(longlong *)param_1[0xce] + 0xd8))(param_1[0xce],&local_res18); + local_res8[0] = (float)local_res18; + local_a8[0] = FUN_140048960(param_1[0xce] + 0x1620); + param_4 = local_a8; + param_3 = (undefined **)&DAT_140177f90; + in_RDX = (longlong *)(ulonglong)*(uint *)((longlong)param_1 + 0x56c); + (**(code **)(*(longlong *)(param_1[0xce] + 0x17d0) + 0x50)) + (param_1[0xce] + 0x17d0,in_RDX,&DAT_140177f90,param_4,local_res8); + param_1[0xcc] = param_2; + } + if (*(char *)(param_1 + 0xc1) == '\0') { + if ((double)param_2 - (double)param_1[0x18] <= DAT_14016f0f0 * 10.0) { + if (*(char *)(param_1 + 0xc1) != '\0') goto LAB_1400d1f4a; + if ((param_1[200] != (undefined *)0x0) && + (dVar14 = *(double *)(param_1[200] + 0xd8), + *(double *)(param_1[0xce] + 0x6a8) <= dVar14 && + dVar14 != *(double *)(param_1[0xce] + 0x6a8))) { + param_3 = (undefined **)0x1b; + goto LAB_1400d1f37; + } + } + else { + param_3 = (undefined **)0x1a; +LAB_1400d1f37: + in_RDX = (longlong *)CONCAT71((int7)((ulonglong)in_RDX >> 8),1); + FUN_1400d1440((longlong)param_1,'\x01',param_3,(undefined *)param_4); + } + if (*(char *)(param_1 + 0xc1) == '\0') goto LAB_1400d1f9b; + } +LAB_1400d1f4a: + if (((0.0 < (double)param_1[0xc4]) && ((double)param_1[0xc4] < (double)param_2)) && + (((longlong *)param_1[3] != (longlong *)0x0 && (lVar10 = *(longlong *)param_1[3], lVar10 != 0)) + )) { + plVar8 = *(longlong **)(lVar10 + 0xc0); + lVar10 = lVar11; + if (plVar8 != (longlong *)0x0) { + lVar10 = *plVar8; + } + cVar5 = FUN_140043cf0(lVar10); + if (cVar5 == '\0') { + param_1[0xc4] = (undefined *)0x0; + FUN_1400d1350((longlong)param_1,in_RDX,param_3,param_4); + } + } +LAB_1400d1f9b: + plVar8 = (longlong *)param_1[3]; + if (((plVar8 != (longlong *)0x0) && (*plVar8 != 0)) && + (_DAT_14016f1b8 < (double)param_2 - (double)param_1[0xc5])) { + local_90 = Proud::AddrPort::vftable; + local_88 = *(undefined4 *)(param_1 + 0xb3); + local_84 = *(undefined2 *)((longlong)param_1 + 0x59c); + if (*plVar8 != 0) { + lVar11 = *plVar8 + -0x40; + } + pppuVar12 = &local_90; + lVar11 = *(longlong *)(lVar11 + 0x108); + uVar6 = FUN_14008caf0(lVar11,(longlong)pppuVar12); + if ((double)param_1[0xc6] == 0.0) { + if (DAT_14016f194 < (int)uVar6) { + param_1[0xc6] = param_2; + } + } + else if (DAT_14016f194 < (int)uVar6) { + if (_DAT_14016f1b0 < (double)param_2 - (double)param_1[0xc6]) { + param_1[0xc6] = param_2; + FUN_14003e7c0(lVar11,pppuVar12,param_3,param_4); + local_res10 = PTR_DAT_14016f010; + FUN_140029b80((longlong *)&local_res10,L"sendQueue %dBytes",(ulonglong)uVar6,param_4); + local_68 = 0; + local_60 = 0; + local_58 = 0; + local_50 = 0; + local_70 = Proud::ByteArray::vftable; + ppuVar13 = &local_res10; + plVar8 = FUN_140071c20(&local_98,0x25,(ulonglong)*(uint *)((longlong)param_1 + 0x56c), + (longlong *)ppuVar13,(longlong)&local_70); + lVar11 = *(longlong *)param_1[0xce]; + (**(code **)(lVar11 + 0x88))(); + pppuVar12 = &local_70; + FUN_140049e40(pppuVar12); + puVar4 = local_res10; + if (((local_res10 != (undefined *)0x0) && (local_res10 != PTR_DAT_14016f010)) && + (puVar1 = local_res10 + -8, puVar1 != (undefined *)0x0)) { + piVar9 = (int *)FUN_14003e7c0(pppuVar12,plVar8,lVar11,ppuVar13); + local_80 = piVar9; + FUN_14003d040(piVar9); + local_78 = 1; + piVar2 = (int *)(puVar4 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(puVar1); + } + FUN_14003d0d0((longlong)piVar9); + } + } + } + else { + param_1[0xc6] = (undefined *)0x0; + } + param_1[0xc5] = param_2; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d2160.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d2160.c new file mode 100644 index 00000000..fe2e66f5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d2160.c @@ -0,0 +1,144 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d2160 FUN_1400d2160 + * Pseudocode, not original source. */ + +ulonglong FUN_1400d2160(longlong *param_1,ushort param_2) + +{ + longlong *plVar1; + uint uVar2; + ushort *puVar3; + ulonglong uVar4; + longlong *plVar5; + undefined8 *puVar6; + longlong lVar7; + ulonglong uVar8; + undefined8 *puVar9; + longlong *plVar10; + longlong *local_res8; + longlong local_res18 [2]; + longlong local_48 [2]; + undefined **local_38; + int local_30; + ushort local_2c; + + local_48[1] = 0xfffffffffffffffe; + (**(code **)(*(longlong *)(param_1[0xce] + 0x78) + 0x10))(); + puVar9 = (undefined8 *)0x0; + if (((longlong *)param_1[3] != (longlong *)0x0) && (lVar7 = *(longlong *)param_1[3], lVar7 != 0)) + { + if (*(char *)(lVar7 + 0x40) == '\0') { + puVar6 = puVar9; + if ((undefined8 *)param_1[3] != (undefined8 *)0x0) { + puVar6 = *(undefined8 **)param_1[3]; + } + if (*(char *)(puVar6 + 0x10) == '\0') goto LAB_1400d21ce; + } + uRam0000000000000000 = 1; + } +LAB_1400d21ce: + if (((longlong *)param_1[3] != (longlong *)0x0) && (*(longlong *)param_1[3] != 0)) { + local_res18[0] = 0; + FUN_14009d860(local_res18,param_1 + 3); + FUN_1400ac6e0(param_1[0xce],local_res18); + local_res18[1] = 0; + FUN_14009d860(param_1 + 3,local_res18 + 1); + } + param_1[0xc5] = 0; + param_1[0xc6] = 0; + uVar2 = *(uint *)(param_1[0xce] + 0x1748); + uVar8 = (ulonglong)uVar2; + plVar10 = (longlong *)((ulonglong)param_2 % uVar8); + lVar7 = *(longlong *)(param_1[0xce] + 0x1728); + if (lVar7 != 0) { + for (puVar3 = *(ushort **)(lVar7 + (longlong)plVar10 * 8); + (puVar3 != (ushort *)0x0 && ((uint)plVar10 == *(uint *)(puVar3 + 0x10) % uVar2)); + puVar3 = *(ushort **)(puVar3 + 8)) { + if (*puVar3 == param_2) { + FUN_14009d860(param_1 + 3,(longlong *)(puVar3 + 4)); + puVar6 = puVar9; + if (((longlong *)param_1[3] != (longlong *)0x0) && + (lVar7 = *(longlong *)param_1[3], lVar7 != 0)) { + puVar6 = (undefined8 *)(lVar7 + -0x40); + } + puVar6[0x29] = 0; + if (((longlong *)param_1[3] != (longlong *)0x0) && + (lVar7 = *(longlong *)param_1[3], lVar7 != 0)) { + puVar9 = (undefined8 *)(lVar7 + -0x40); + } + puVar9[0x24] = param_1; + lVar7 = param_1[0xce]; + uVar2 = *(uint *)(lVar7 + 0x1748); + uVar8 = (ulonglong)param_2 / (ulonglong)uVar2; + uVar4 = (ulonglong)param_2 % (ulonglong)uVar2; + if (*(longlong *)(lVar7 + 0x1728) == 0) goto LAB_1400d2472; + puVar3 = *(ushort **)(*(longlong *)(lVar7 + 0x1728) + uVar4 * 8); + uVar8 = uVar4; + goto joined_r0x0001400d2310; + } + } + } + local_res8 = operator_new(0x1c0); + puVar6 = puVar9; + if (local_res8 != (longlong *)0x0) { + plVar10 = param_1; + puVar6 = FUN_1400d32e0(local_res8,param_1[0xce],(longlong)param_1,uVar8); + } + if ((puVar6 == (undefined8 *)0x0) || (puVar6 + 8 == (undefined8 *)0x0)) { + local_res8 = (longlong *)0x0; + } + else { + local_res8 = (longlong *)FUN_14003e840(0x10); + local_res8[1] = 1; + *local_res8 = (longlong)(puVar6 + 8); + } + plVar1 = local_res8; + FUN_14009d860(param_1 + 3,(longlong *)&local_res8); + plVar5 = local_res8; + if (plVar1 != (longlong *)0x0) { + plVar1 = plVar1 + 1; + *plVar1 = *plVar1 + -1; + if (*plVar1 == 0) { + puVar6 = (undefined8 *)*local_res8; + if (puVar6 != (undefined8 *)0x0) { + (**(code **)*puVar6)(puVar6,1); + } + FUN_14003e8b0(plVar5); + } + } + lVar7 = FUN_14009c0f0(param_1[0xce]); + local_30 = *(int *)(lVar7 + 0x118); + if ((local_30 == 0) || (local_30 == -1)) { + FUN_14003e110( + L"UDP 소켓을 생성하기 전에 TCP 연결이 이미 되어있는 상태이어야 하는데!" + ); + } + local_38 = Proud::AddrPort::vftable; + if (((longlong *)param_1[3] == (longlong *)0x0) || + (lVar7 = *(longlong *)param_1[3], puVar6 = (undefined8 *)(lVar7 + -0x40), lVar7 == 0)) { + puVar6 = puVar9; + } + local_2c = param_2; + uVar8 = FUN_1400d36c0((longlong)puVar6,(longlong)&local_38,plVar10,uVar8); + if ((char)uVar8 == '\0') { + local_48[0] = 0; + uVar8 = FUN_14009d860(param_1 + 3,local_48); + uVar8 = uVar8 & 0xffffffffffffff00; + } + else { +LAB_1400d2472: + uVar8 = CONCAT71((int7)(uVar8 >> 8),1); + } + return uVar8; +joined_r0x0001400d2310: + if ((puVar3 == (ushort *)0x0) || + (uVar8 = (ulonglong)*(uint *)(puVar3 + 0x10) / (ulonglong)uVar2, + (uint)uVar4 != *(uint *)(puVar3 + 0x10) % uVar2)) goto LAB_1400d2472; + if (*puVar3 == param_2) { + uVar8 = FUN_1400a9590((char *)(lVar7 + 0x1720),puVar3,'\0'); + goto LAB_1400d2472; + } + puVar3 = *(ushort **)(puVar3 + 8); + goto joined_r0x0001400d2310; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d2490.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d2490.c new file mode 100644 index 00000000..6aa51c22 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d2490.c @@ -0,0 +1,35 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d2490 FUN_1400d2490 + * Pseudocode, not original source. */ + +void FUN_1400d2490(longlong *param_1,LPVOID param_2) + +{ + longlong *plVar1; + + if (*(longlong *)((longlong)param_2 + 0x30) != 0) { + plVar1 = (longlong *)(*(longlong *)((longlong)param_2 + 0x30) + 8); + *plVar1 = *plVar1 + -1; + if (*plVar1 == 0) { + FUN_1400512a0((longlong)((longlong)param_2 + 0x30),*(longlong **)((longlong)param_2 + 0x30)); + } + } + FUN_14008a320((longlong *)((longlong)param_2 + 0x18)); + if (*(longlong *)((longlong)param_2 + 0x20) != 0) { + if (*(int *)((longlong)param_2 + 0x2c) < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + *(undefined4 *)((longlong)param_2 + 0x28) = 0; + } + plVar1 = (longlong *)*param_1; + if (plVar1 == (longlong *)0x0) { + FUN_14003e8b0(param_2); + } + else { + (**(code **)(*plVar1 + 0x10))(plVar1,param_2); + } + param_1[3] = param_1[3] + -1; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d2520.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d2520.c new file mode 100644 index 00000000..9fbe186e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d2520.c @@ -0,0 +1,52 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d2520 FUN_1400d2520 + * Pseudocode, not original source. */ + +void FUN_1400d2520(longlong *param_1) + +{ + longlong *plVar1; + longlong lVar2; + longlong *plVar3; + longlong *plVar4; + + lVar2 = param_1[3]; + while( true ) { + if (lVar2 == 0) { + param_1[1] = 0; + param_1[2] = 0; + return; + } + plVar3 = (longlong *)param_1[1]; + if (plVar3 == (longlong *)0x0) break; + plVar4 = plVar3 + 6; + param_1[1] = *plVar3; + if (*plVar4 != 0) { + plVar1 = (longlong *)(*plVar4 + 8); + *plVar1 = *plVar1 + -1; + if (*plVar1 == 0) { + FUN_1400512a0((longlong)plVar4,(longlong *)*plVar4); + } + } + FUN_14008a320(plVar3 + 3); + if (plVar3[4] != 0) { + if (*(int *)((longlong)plVar3 + 0x2c) < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + *(undefined4 *)(plVar3 + 5) = 0; + } + plVar4 = (longlong *)*param_1; + if (plVar4 == (longlong *)0x0) { + FUN_14003e8b0(plVar3); + } + else { + (**(code **)(*plVar4 + 0x10))(plVar4,plVar3); + } + param_1[3] = param_1[3] + -1; + lVar2 = param_1[3]; + } + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d25e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d25e0.c new file mode 100644 index 00000000..24b087be --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d25e0.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d25e0 FUN_1400d25e0 + * Pseudocode, not original source. */ + +void FUN_1400d25e0(longlong *param_1) + +{ + undefined8 *puVar1; + + FUN_1400d2520(param_1); + puVar1 = (undefined8 *)*param_1; + if (puVar1 != (undefined8 *)0x0) { + (**(code **)*puVar1)(puVar1,1); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d2610.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d2610.c new file mode 100644 index 00000000..805c373e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d2610.c @@ -0,0 +1,23 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d2610 FUN_1400d2610 + * Pseudocode, not original source. */ + +void FUN_1400d2610(longlong param_1) + +{ + undefined8 *puVar1; + + FUN_1400d2520((longlong *)(param_1 + 0x90)); + puVar1 = *(undefined8 **)(param_1 + 0x90); + if (puVar1 != (undefined8 *)0x0) { + (**(code **)*puVar1)(puVar1,1); + } + FUN_1400d2520((longlong *)(param_1 + 0x70)); + puVar1 = *(undefined8 **)(param_1 + 0x70); + if (puVar1 != (undefined8 *)0x0) { + (**(code **)*puVar1)(puVar1,1); + } + FUN_14009aa70(param_1 + 0x30); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d2670.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d2670.c new file mode 100644 index 00000000..a0fe6854 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d2670.c @@ -0,0 +1,31 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d2670 FUN_1400d2670 + * Pseudocode, not original source. */ + +void FUN_1400d2670(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 *puVar1; + LPVOID pvVar2; + longlong *plVar3; + + FUN_14009aa70(param_1 + 0x60); + FUN_1400d2520((longlong *)(param_1 + 0x40)); + puVar1 = *(undefined8 **)(param_1 + 0x40); + if (puVar1 != (undefined8 *)0x0) { + (**(code **)*puVar1)(puVar1,1); + } + *(undefined ***)(param_1 + 0x18) = Proud::CFastArray::vftable; + pvVar2 = *(LPVOID *)(param_1 + 0x28); + if (pvVar2 != (LPVOID)0x0) { + plVar3 = *(longlong **)(param_1 + 0x20); + if (plVar3 == (longlong *)0x0) { + FUN_14003e8b0(pvVar2); + } + else { + (**(code **)(*plVar3 + 0x18))(plVar3,pvVar2); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d26f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d26f0.c new file mode 100644 index 00000000..8b50cf45 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d26f0.c @@ -0,0 +1,24 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d26f0 FUN_1400d26f0 + * Pseudocode, not original source. */ + +void FUN_1400d26f0(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 *puVar1; + + FUN_1400d2670(param_1 + 0xf0,param_2,param_3,param_4); + FUN_1400d2520((longlong *)(param_1 + 0x98)); + puVar1 = *(undefined8 **)(param_1 + 0x98); + if (puVar1 != (undefined8 *)0x0) { + (**(code **)*puVar1)(puVar1,1); + } + FUN_1400d2520((longlong *)(param_1 + 0x78)); + puVar1 = *(undefined8 **)(param_1 + 0x78); + if (puVar1 != (undefined8 *)0x0) { + (**(code **)*puVar1)(puVar1,1); + } + FUN_14009aa70(param_1 + 0x38); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d2780.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d2780.c new file mode 100644 index 00000000..5ccba1eb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d2780.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d2780 FUN_1400d2780 + * Pseudocode, not original source. */ + +void FUN_1400d2780(undefined8 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + void *pvVar1; + + pvVar1 = (void *)param_1[1]; + if (pvVar1 != (void *)0x0) { + FUN_1400d26f0((longlong)pvVar1,param_2,param_3,param_4); + operator_delete(pvVar1); + } + *param_1 = Proud::IReliableUdpHostDelegate::vftable; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d27d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d27d0.c new file mode 100644 index 00000000..ee5f07b7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d27d0.c @@ -0,0 +1,39 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d27d0 FUN_1400d27d0 + * Pseudocode, not original source. */ + +void FUN_1400d27d0(undefined8 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + void *pvVar1; + longlong *plVar2; + undefined8 *puVar3; + + *param_1 = Proud::CRemotePeer_C::vftable; + param_1[1] = Proud::CRemotePeer_C::vftable; + param_1[2] = Proud::CRemotePeer_C::vftable; + pvVar1 = (void *)param_1[200]; + if (pvVar1 != (void *)0x0) { + FUN_1400d26f0((longlong)pvVar1,param_2,param_3,param_4); + operator_delete(pvVar1); + } + param_1[199] = Proud::IReliableUdpHostDelegate::vftable; + FUN_1400b0650((char *)(param_1 + 0xb6)); + FUN_140049e40(param_1 + 0xa7); + FUN_1400a8ff0(param_1 + 5); + if ((param_1[3] != 0) && + (*(longlong *)(param_1[3] + 8) = *(longlong *)(param_1[3] + 8) + -1, + *(longlong *)(param_1[3] + 8) == 0)) { + plVar2 = (longlong *)param_1[3]; + puVar3 = (undefined8 *)*plVar2; + if (puVar3 != (undefined8 *)0x0) { + (**(code **)*puVar3)(puVar3,1); + } + FUN_14003e8b0(plVar2); + } + param_1[2] = Proud::IUdpPacketFragBoardDg::vftable; + param_1[1] = Proud::IP2PGroupMember::vftable; + *param_1 = Proud::ISendDest_C::vftable; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d28e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d28e0.c new file mode 100644 index 00000000..e7468c8f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d28e0.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d28e0 FUN_1400d28e0 + * Pseudocode, not original source. */ + +undefined4 FUN_1400d28e0(longlong param_1) + +{ + return *(undefined4 *)(param_1 + 0x56c); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d28f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d28f0.c new file mode 100644 index 00000000..e5e43d2b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d28f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d28f0 FUN_1400d28f0 + * Pseudocode, not original source. */ + +void FUN_1400d28f0(longlong param_1,ulonglong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400d2b30((undefined8 *)(param_1 + -8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d2900.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d2900.c new file mode 100644 index 00000000..e077b6b7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d2900.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d2900 FUN_1400d2900 + * Pseudocode, not original source. */ + +void FUN_1400d2900(longlong param_1,ulonglong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400d2b30((undefined8 *)(param_1 + -0x10),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d2910.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d2910.c new file mode 100644 index 00000000..e1de8390 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d2910.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d2910 FUN_1400d2910 + * Pseudocode, not original source. */ + +void FUN_1400d2910(longlong param_1) + +{ + FUN_1400d28e0(param_1 + -8); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d2920.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d2920.c new file mode 100644 index 00000000..9bcd6d78 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d2920.c @@ -0,0 +1,61 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d2920 FUN_1400d2920 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x0001400d2a98) */ +/* WARNING: Removing unreachable block (ram,0x0001400d2aa1) */ +/* WARNING: Removing unreachable block (ram,0x0001400d2ac2) */ +/* WARNING: Removing unreachable block (ram,0x0001400d2acb) */ + +undefined8 * FUN_1400d2920(undefined8 *param_1,longlong param_2) + +{ + *param_1 = Proud::CRemotePeer_C::vftable; + param_1[1] = Proud::CRemotePeer_C::vftable; + param_1[2] = Proud::CRemotePeer_C::vftable; + param_1[3] = 0; + param_1[5] = 0; + *(undefined4 *)(param_1 + 6) = 0; + *(undefined4 *)((longlong)param_1 + 0x34) = 0; + *(undefined4 *)(param_1 + 7) = 0; + *(undefined4 *)((longlong)param_1 + 0x3c) = 0; + *(undefined4 *)(param_1 + 0xa5) = 0; + param_1[0xa8] = 0; + param_1[0xa9] = 0; + param_1[0xaa] = 0; + param_1[0xab] = 0; + param_1[0xa7] = Proud::ByteArray::vftable; + *(undefined1 *)(param_1 + 0xac) = 0; + param_1[0xae] = Proud::AddrPort::vftable; + *(undefined4 *)(param_1 + 0xaf) = 0; + *(undefined2 *)((longlong)param_1 + 0x57c) = 0; + param_1[0xb0] = Proud::AddrPort::vftable; + *(undefined4 *)(param_1 + 0xb1) = 0; + *(undefined2 *)((longlong)param_1 + 0x58c) = 0; + param_1[0xb2] = Proud::AddrPort::vftable; + *(undefined4 *)(param_1 + 0xb3) = 0; + *(undefined2 *)((longlong)param_1 + 0x59c) = 0; + param_1[0xb4] = Proud::AddrPort::vftable; + *(undefined4 *)(param_1 + 0xb5) = 0; + *(undefined2 *)((longlong)param_1 + 0x5ac) = 0; + *(undefined1 *)(param_1 + 0xb6) = 0; + param_1[0xc0] = 0; + param_1[0xb7] = 0; + param_1[0xb8] = 0; + param_1[0xb9] = 0; + *(undefined4 *)(param_1 + 0xbb) = 0x11; + param_1[0xba] = 0; + *(undefined4 *)(param_1 + 0xbf) = 0; + *(undefined4 *)((longlong)param_1 + 0x5dc) = 0x3f400000; + *(undefined4 *)(param_1 + 0xbc) = 0x3e800000; + *(undefined4 *)((longlong)param_1 + 0x5e4) = 0x40100000; + param_1[0xbd] = 0x26; + param_1[0xbe] = 0; + FUN_1400d48b0(param_1 + 199,param_1); + param_1[0xcd] = param_1; + FUN_1400d1180((longlong)param_1,param_2); + *(undefined4 *)(param_1 + 0xd0) = 0; + *(undefined1 *)((longlong)param_1 + 0x684) = 0; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d2b30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d2b30.c new file mode 100644 index 00000000..0d5c0d42 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d2b30.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d2b30 FUN_1400d2b30 + * Pseudocode, not original source. */ + +undefined8 * +FUN_1400d2b30(undefined8 *param_1,ulonglong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400d27d0(param_1,param_2,param_3,param_4); + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d2b60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d2b60.c new file mode 100644 index 00000000..60d76c97 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d2b60.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d2b60 FUN_1400d2b60 + * Pseudocode, not original source. */ + +void FUN_1400d2b60(longlong param_1) + +{ + (**(code **)(*(longlong *)(param_1 + -0x40) + 0x10))(param_1 + -0x40); + *(undefined8 *)(param_1 + 0xe0) = 0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d2b90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d2b90.c new file mode 100644 index 00000000..b7a2963e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d2b90.c @@ -0,0 +1,53 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d2b90 FUN_1400d2b90 + * Pseudocode, not original source. */ + +void FUN_1400d2b90(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong *plVar1; + longlong *plVar2; + char cVar3; + uint uVar4; + undefined8 uVar5; + longlong lVar6; + longlong lVar7; + double dVar8; + undefined **local_18; + undefined4 local_10; + undefined2 local_c; + + (**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x118) + 0x78) + 0x10)) + (*(longlong *)(param_1 + 0x118) + 0x78); + if ((*(double *)(param_1 + 0x148) == 0.0) && (*(char *)(param_1 + 0x80) == '\0')) { + lVar7 = 0; + lVar6 = lVar7; + if (*(longlong **)(param_1 + 0x100) != (longlong *)0x0) { + lVar6 = **(longlong **)(param_1 + 0x100); + } + cVar3 = FUN_140043cf0(lVar6); + if (cVar3 == '\0') { + plVar1 = *(longlong **)(param_1 + 0x110); + plVar2 = *(longlong **)(param_1 + 0x108); + dVar8 = (double)(**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x118) + 0x70) + 0x1c0)) + (*(longlong *)(param_1 + 0x118) + 0x70); + uVar5 = FUN_14008e200(plVar2,plVar1,dVar8,param_4); + if (((char)uVar5 != '\0') && (0 < *(longlong *)(*(longlong *)(param_1 + 0x110) + 8))) { + plVar1 = *(longlong **)(param_1 + 0x110); + *(undefined1 *)(param_1 + 0x80) = 1; + local_18 = Proud::AddrPort::vftable; + local_10 = (undefined4)plVar1[0xd5]; + local_c = *(undefined2 *)((longlong)plVar1 + 0x6ac); + if (*(longlong **)(param_1 + 0x100) != (longlong *)0x0) { + lVar7 = **(longlong **)(param_1 + 0x100); + } + uVar4 = FUN_140045650(lVar7,plVar1,(longlong)&local_18,(ulonglong)*(uint *)(plVar1 + 0xd6)); + if (uVar4 != 0) { + *(undefined1 *)(param_1 + 0x80) = 0; + } + } + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d2cc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d2cc0.c new file mode 100644 index 00000000..6b966d70 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d2cc0.c @@ -0,0 +1,36 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d2cc0 FUN_1400d2cc0 + * Pseudocode, not original source. */ + +void FUN_1400d2cc0(longlong param_1,undefined8 param_2,undefined **param_3,undefined8 param_4) + +{ + uint uVar1; + longlong lVar2; + longlong lVar3; + undefined8 uVar4; + + if ((*(double *)(param_1 + 0x148) == 0.0) && (*(char *)(param_1 + 0xc0) == '\0')) { + lVar2 = 0; + lVar3 = lVar2; + if (*(longlong **)(param_1 + 0x100) != (longlong *)0x0) { + lVar3 = **(longlong **)(param_1 + 0x100); + } + if (*(char *)(lVar3 + 0x80) == '\0') { + *(undefined1 *)(param_1 + 0xc0) = 1; + if (*(longlong **)(param_1 + 0x100) != (longlong *)0x0) { + lVar2 = **(longlong **)(param_1 + 0x100); + } + uVar1 = FUN_1400449f0(lVar2,(ulonglong)DAT_14016f04c,param_3,param_4); + if (uVar1 == 0) { + uVar4 = (**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x118) + 0x70) + 0x1c0)) + (*(longlong *)(param_1 + 0x118) + 0x70); + *(undefined8 *)(param_1 + 0x180) = uVar4; + return; + } + *(undefined1 *)(param_1 + 0xc0) = 0; + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d2d60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d2d60.c new file mode 100644 index 00000000..c5b9cea7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d2d60.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d2d60 FUN_1400d2d60 + * Pseudocode, not original source. */ + +void FUN_1400d2d60(longlong param_1,longlong param_2) + +{ + undefined **local_18; + undefined4 local_10; + undefined2 local_c; + + local_18 = Proud::AddrPort::vftable; + local_10 = *(undefined4 *)(param_2 + 8); + local_c = *(undefined2 *)(param_2 + 0xc); + FUN_14008c9f0(*(longlong *)(param_1 + 0x108),(longlong)&local_18); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d2da0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d2da0.c new file mode 100644 index 00000000..d1cc945e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d2da0.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d2da0 FUN_1400d2da0 + * Pseudocode, not original source. */ + +void FUN_1400d2da0(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + (**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x118) + 0x78) + 0x10)) + (*(longlong *)(param_1 + 0x118) + 0x78); + if (*(undefined8 **)(param_1 + 0x100) != (undefined8 *)0x0) { + FUN_140043a50((longlong *)**(undefined8 **)(param_1 + 0x100),param_2,param_3,param_4); + return; + } + FUN_140043a50((longlong *)0x0,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d2de0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d2de0.c new file mode 100644 index 00000000..10e16e45 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d2de0.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d2de0 FUN_1400d2de0 + * Pseudocode, not original source. */ + +void FUN_1400d2de0(longlong param_1) + +{ + int iVar1; + undefined8 *puVar2; + longlong lVar3; + undefined8 local_18 [2]; + + if (*(longlong **)(param_1 + 0x100) == (longlong *)0x0) { + lVar3 = 0; + } + else { + lVar3 = **(longlong **)(param_1 + 0x100); + } + puVar2 = FUN_140042ff0(lVar3,local_18); + iVar1 = *(int *)(puVar2 + 1); + *(int *)(param_1 + 0x130) = iVar1; + *(undefined2 *)(param_1 + 0x134) = *(undefined2 *)((longlong)puVar2 + 0xc); + if ((iVar1 == 0) || (iVar1 == -1)) { + FUN_14003e110(L"클라에서 생성된 UDP 소켓의 IP주소가 미바인딩 주소입니다!") + ; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d2e40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d2e40.c new file mode 100644 index 00000000..8a68f0bc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d2e40.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d2e40 FUN_1400d2e40 + * Pseudocode, not original source. */ + +void FUN_1400d2e40(longlong param_1,double param_2,SIZE_T param_3,undefined *param_4) + +{ + FUN_14008e5f0(*(longlong *)(param_1 + 0x108),param_2,param_3,param_4); + if (*(undefined8 **)(param_1 + 0x188) != (undefined8 *)0x0) { + FUN_140090190(*(undefined8 **)(param_1 + 0x188),param_2,param_3); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d2e80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d2e80.c new file mode 100644 index 00000000..4fa24197 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d2e80.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d2e80 FUN_1400d2e80 + * Pseudocode, not original source. */ + +void FUN_1400d2e80(longlong param_1,undefined8 param_2,undefined8 param_3,undefined *param_4) + +{ + FUN_14008e950(*(longlong *)(param_1 + 0x108),param_2,param_3,param_4); + if (*(undefined8 **)(param_1 + 0x188) != (undefined8 *)0x0) { + FUN_1400902a0(*(undefined8 **)(param_1 + 0x188)); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d2eb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d2eb0.c new file mode 100644 index 00000000..33d5810f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d2eb0.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d2eb0 FUN_1400d2eb0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400d2eb0(longlong param_1) + +{ + longlong lVar1; + + if ((*(longlong **)(param_1 + 0xc0) != (longlong *)0x0) && + (lVar1 = **(longlong **)(param_1 + 0xc0), lVar1 != 0)) { + if (*(char *)(lVar1 + 0x80) == '\0') { + return 0; + } + } + return 1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d2ee0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d2ee0.c new file mode 100644 index 00000000..189c44c7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d2ee0.c @@ -0,0 +1,69 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d2ee0 FUN_1400d2ee0 + * Pseudocode, not original source. */ + +void FUN_1400d2ee0(longlong param_1,undefined8 param_2,undefined **param_3,undefined8 param_4) + +{ + int iVar1; + longlong lVar2; + undefined8 *puVar3; + longlong *plVar4; + longlong *plVar5; + longlong *plVar6; + undefined **local_18; + int local_10; + undefined2 local_c; + + plVar6 = (longlong *)0x0; + plVar4 = plVar6; + if (*(longlong **)(param_1 + 0x100) != (longlong *)0x0) { + plVar4 = (longlong *)**(longlong **)(param_1 + 0x100); + } + FUN_140043630((longlong)plVar4,'\0',param_3,param_4); + lVar2 = FUN_14009c0f0(*(longlong *)(param_1 + 0x118)); + local_10 = *(int *)(lVar2 + 0x118); + if ((local_10 == 0) || (local_10 == -1)) { + FUN_14003e110( + L"UDP 소켓을 생성하기 전에 TCP 연결이 이미 되어있는 상태이어야 하는데!" + ); + } + local_18 = Proud::AddrPort::vftable; + local_c = 0; + plVar4 = plVar6; + if (*(longlong **)(param_1 + 0x100) != (longlong *)0x0) { + plVar4 = (longlong *)**(longlong **)(param_1 + 0x100); + } + FUN_140045600((longlong)plVar4,(longlong)&local_18,param_3,param_4); + plVar4 = plVar6; + if (*(longlong **)(param_1 + 0x100) != (longlong *)0x0) { + plVar4 = (longlong *)**(longlong **)(param_1 + 0x100); + } + puVar3 = FUN_140042ff0((longlong)plVar4,&local_18); + iVar1 = *(int *)(puVar3 + 1); + *(int *)(param_1 + 0x130) = iVar1; + *(undefined2 *)(param_1 + 0x134) = *(undefined2 *)((longlong)puVar3 + 0xc); + if ((iVar1 == 0) || (iVar1 == -1)) { + FUN_14003e110(L"클라에서 생성된 UDP 소켓의 IP주소가 미바인딩 주소입니다!") + ; + } + (**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x118) + 0x78) + 0x10)) + (*(longlong *)(param_1 + 0x118) + 0x78); + plVar4 = plVar6; + if (*(undefined8 **)(param_1 + 0x100) != (undefined8 *)0x0) { + plVar4 = (longlong *)**(undefined8 **)(param_1 + 0x100); + } + lVar2 = *(longlong *)(*(longlong *)(param_1 + 0x118) + 0x5d8); + plVar5 = plVar6; + if (lVar2 != 0) { + plVar5 = *(longlong **)(lVar2 + 0x38); + } + FUN_140047fc0(plVar5[0x57],plVar4,(longlong *)param_3,param_4); + if (*(undefined8 **)(param_1 + 0x100) != (undefined8 *)0x0) { + plVar6 = (longlong *)**(undefined8 **)(param_1 + 0x100); + } + FUN_1400937f0((longlong)plVar6); + FUN_1400d2cc0(param_1,plVar4,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d3030.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d3030.c new file mode 100644 index 00000000..d9beab93 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d3030.c @@ -0,0 +1,78 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d3030 FUN_1400d3030 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_1400d3030(longlong param_1,ulonglong param_2,ulonglong param_3,longlong param_4, + longlong param_5,double param_6,undefined8 *param_7) + +{ + ulonglong uVar1; + longlong lVar2; + undefined ***pppuVar3; + undefined1 auStackY_e58 [32]; + undefined **local_e18; + undefined4 local_e10; + undefined2 local_e0c; + undefined8 local_e08; + undefined8 local_df8; + undefined8 uStack_df0; + undefined8 local_de8; + undefined8 uStack_de0; + exception local_dd8 [80]; + undefined4 local_d88 [2]; + undefined *local_d80; + longlong local_d78; + undefined4 local_d70; + int local_d6c; + undefined1 local_d60 [136]; + undefined1 local_cd8 [3200]; + undefined1 *local_58; + undefined4 local_50; + int local_4c; + ulonglong local_48; + + local_e08 = 0xfffffffffffffffe; + local_48 = DAT_14016f5a0 ^ (ulonglong)auStackY_e58; + lVar2 = param_4; + (**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x118) + 0x78) + 0x10))(); + local_4c = 200; + local_50 = 0; + local_58 = local_cd8; + FUN_140074fb0(local_d88); + FUN_140074c30((longlong)local_d88,(longlong)local_d60,0x80,lVar2); + FUN_140093d90(param_5,(longlong)local_cd8,(SIZE_T)local_d88,lVar2); + local_df8 = *param_7; + uStack_df0 = param_7[1]; + local_de8 = param_7[2]; + uStack_de0 = param_7[3]; + local_e18 = Proud::AddrPort::vftable; + local_e10 = *(undefined4 *)(param_4 + 8); + local_e0c = *(undefined2 *)(param_4 + 0xc); + pppuVar3 = &local_e18; + uVar1 = param_3 & 0xffff; + FUN_14008f040(*(longlong **)(param_1 + 0x108),param_2 & 0xffffffff,uVar1,(ulonglong)pppuVar3, + (longlong)local_cd8,param_6,(uint *)&local_df8); + local_e18 = &local_d80; + FUN_14008a320((longlong *)&local_d80); + if (local_d78 != 0) { + if (local_d6c < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_d70 = 0; + } + if (local_58 == (undefined1 *)0x0) { + FUN_14003db10(local_dd8,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,uVar1, + pppuVar3); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_dd8,(ThrowInfo *)&DAT_14016c210); + } + if (local_4c < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d31e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d31e0.c new file mode 100644 index 00000000..f44aa4ca --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d31e0.c @@ -0,0 +1,46 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d31e0 FUN_1400d31e0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_1400d31e0(longlong param_1,uint param_2,ulonglong param_3,longlong param_4,longlong param_5 + ,double param_6,undefined8 *param_7) + +{ + longlong lVar1; + ulonglong uVar2; + undefined ***pppuVar3; + undefined1 auStackY_d68 [32]; + undefined **local_d28; + undefined4 local_d20; + undefined2 local_d1c; + undefined8 local_d18; + exception local_d10 [72]; + undefined1 local_cc8 [3200]; + longlong local_48; + int local_3c; + ulonglong local_38; + + local_d18 = 0xfffffffffffffffe; + local_38 = DAT_14016f5a0 ^ (ulonglong)auStackY_d68; + lVar1 = FUN_14004ec50((longlong)local_cc8,param_5,param_3); + local_d28 = Proud::AddrPort::vftable; + local_d20 = *(undefined4 *)(param_4 + 8); + local_d1c = *(undefined2 *)(param_4 + 0xc); + pppuVar3 = &local_d28; + uVar2 = param_3 & 0xffff; + FUN_1400d3030(param_1,(ulonglong)param_2,uVar2,(longlong)pppuVar3,lVar1,param_6,param_7); + if (local_48 == 0) { + FUN_14003db10(local_d10,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,uVar2, + pppuVar3); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_d10,(ThrowInfo *)&DAT_14016c210); + } + if (local_3c < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d32e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d32e0.c new file mode 100644 index 00000000..a8576a35 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d32e0.c @@ -0,0 +1,85 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d32e0 FUN_1400d32e0 + * Pseudocode, not original source. */ + +undefined8 * FUN_1400d32e0(undefined8 *param_1,longlong param_2,longlong param_3,undefined8 param_4) + +{ + undefined8 *puVar1; + longlong lVar2; + longlong *plVar3; + longlong *plVar4; + longlong *plVar5; + longlong lVar6; + undefined8 uVar7; + + *param_1 = Proud::ICompletionContext::vftable; + lVar6 = param_3; + FUN_1400434f0(param_1 + 8); + *param_1 = Proud::CUdpSocket_C::vftable; + param_1[8] = Proud::CUdpSocket_C::vftable; + plVar5 = (longlong *)0x0; + param_1[0x20] = 0; + param_1[0x21] = 0; + param_1[0x22] = 0; + param_1[0x25] = Proud::AddrPort::vftable; + *(undefined4 *)(param_1 + 0x26) = 0; + *(undefined2 *)((longlong)param_1 + 0x134) = 0; + param_1[0x27] = Proud::AddrPort::vftable; + *(undefined4 *)(param_1 + 0x28) = 0; + *(undefined2 *)((longlong)param_1 + 0x144) = 0; + param_1[0x31] = 0; + *(undefined4 *)(param_1 + 0x28) = DAT_14016f3d0; + *(undefined2 *)((longlong)param_1 + 0x144) = DAT_14016f3d4; + *(undefined4 *)(param_1 + 0x26) = *(undefined4 *)(param_1 + 0x28); + *(undefined2 *)((longlong)param_1 + 0x134) = *(undefined2 *)((longlong)param_1 + 0x144); + *(undefined1 *)(param_1 + 0x10) = 0; + *(undefined1 *)(param_1 + 0x18) = 0; + param_1[0x29] = 0; + uVar7 = (**(code **)(*(longlong *)(param_2 + 0x70) + 0x1c0))(); + param_1[0x30] = uVar7; + param_1[0x23] = param_2; + param_1[0x24] = param_3; + puVar1 = operator_new(0x90); + plVar3 = plVar5; + if (puVar1 != (undefined8 *)0x0) { + if (param_3 == 0) { + lVar6 = param_2 + 0x90; + } + else { + lVar6 = param_3 + 0x10; + } + lVar2 = (**(code **)(*(longlong *)(param_2 + 0x88) + 0x18))(); + plVar3 = FUN_1400909c0(puVar1,lVar2,lVar6); + } + param_1[0x21] = plVar3; + plVar4 = operator_new(0x6b8); + plVar3 = plVar5; + if (plVar4 != (longlong *)0x0) { + *plVar4 = 0; + plVar4[3] = 0; + plVar4[1] = 0; + plVar4[2] = 100; + plVar4[0xcf] = (longlong)Proud::CFastArray::vftable; + plVar4[0xd0] = 0; + plVar4[0xd1] = 0; + plVar4[0xd2] = 0; + plVar4[0xd3] = 0; + plVar4[0xd4] = (longlong)Proud::AddrPort::vftable; + *(undefined4 *)(plVar4 + 0xd5) = 0; + *(undefined2 *)((longlong)plVar4 + 0x6ac) = 0; + plVar3 = plVar4; + } + param_1[0x22] = plVar3; + FUN_14008c7f0(param_1[0x21]); + puVar1 = operator_new(0x60); + if (puVar1 != (undefined8 *)0x0) { + if (param_1[0x23] != 0) { + plVar5 = (longlong *)(param_1[0x23] + 0x88); + } + plVar5 = FUN_140090b20(puVar1,plVar5,lVar6,param_4); + } + param_1[0x31] = plVar5; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d3500.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d3500.c new file mode 100644 index 00000000..b65e013b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d3500.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d3500 FUN_1400d3500 + * Pseudocode, not original source. */ + +void FUN_1400d3500(longlong param_1,ulonglong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_1400d3690((undefined8 *)(param_1 + -0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d3510.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d3510.c new file mode 100644 index 00000000..81a46513 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d3510.c @@ -0,0 +1,62 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d3510 FUN_1400d3510 + * Pseudocode, not original source. */ + +void FUN_1400d3510(undefined8 *param_1,undefined8 param_2,longlong *param_3,undefined8 param_4) + +{ + void *pvVar1; + undefined8 *puVar2; + longlong *plVar3; + + *param_1 = Proud::CUdpSocket_C::vftable; + param_1[8] = Proud::CUdpSocket_C::vftable; + pvVar1 = (void *)param_1[0x31]; + if (pvVar1 != (void *)0x0) { + FUN_140090960((char *)((longlong)pvVar1 + 8),param_2,(SIZE_T)param_3); + operator_delete(pvVar1); + } + param_1[0x31] = 0; + puVar2 = (undefined8 *)param_1[0x22]; + if (puVar2 != (undefined8 *)0x0) { + FUN_14008dbe0(puVar2,param_2,(longlong)param_3); + operator_delete(puVar2); + } + param_1[0x22] = 0; + plVar3 = (longlong *)param_1[0x21]; + if (plVar3 != (longlong *)0x0) { + FUN_140090ac0(plVar3,param_2,param_3,param_4); + operator_delete(plVar3); + } + param_1[0x21] = 0; + pvVar1 = (void *)param_1[0x31]; + if (pvVar1 != (void *)0x0) { + FUN_140090960((char *)((longlong)pvVar1 + 8),param_2,(SIZE_T)param_3); + operator_delete(pvVar1); + } + puVar2 = (undefined8 *)param_1[0x22]; + if (puVar2 != (undefined8 *)0x0) { + FUN_14008dbe0(puVar2,param_2,(longlong)param_3); + operator_delete(puVar2); + } + plVar3 = (longlong *)param_1[0x21]; + if (plVar3 != (longlong *)0x0) { + FUN_140090ac0(plVar3,param_2,param_3,param_4); + operator_delete(plVar3); + } + if ((param_1[0x20] != 0) && + (*(longlong *)(param_1[0x20] + 8) = *(longlong *)(param_1[0x20] + 8) + -1, + *(longlong *)(param_1[0x20] + 8) == 0)) { + puVar2 = (undefined8 *)param_1[0x20]; + plVar3 = (longlong *)*puVar2; + if (plVar3 != (longlong *)0x0) { + FUN_140043e60(plVar3,param_2,param_3,param_4); + FUN_14003e8b0(plVar3); + } + FUN_14003e8b0(puVar2); + } + param_1[8] = Proud::IHasOverlappedIo::vftable; + *param_1 = Proud::ICompletionContext::vftable; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d3690.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d3690.c new file mode 100644 index 00000000..0ad18b04 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d3690.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d3690 FUN_1400d3690 + * Pseudocode, not original source. */ + +undefined8 * +FUN_1400d3690(undefined8 *param_1,ulonglong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_1400d3510(param_1,param_2,param_3,param_4); + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d36c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d36c0.c new file mode 100644 index 00000000..604cb336 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d36c0.c @@ -0,0 +1,96 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d36c0 FUN_1400d36c0 + * Pseudocode, not original source. */ + +ulonglong FUN_1400d36c0(longlong param_1,longlong param_2,longlong *param_3,undefined8 param_4) + +{ + longlong lVar1; + undefined8 *puVar2; + undefined8 *puVar3; + undefined4 uVar4; + ulonglong in_RAX; + longlong *plVar5; + undefined8 uVar6; + longlong *plVar7; + undefined8 **ppuVar8; + longlong *plVar9; + undefined8 *local_res8; + longlong local_res18 [2]; + undefined **local_40; + undefined4 local_38; + undefined2 local_34; + + if (*(longlong *)(param_1 + 0x118) != 0) { + (**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x118) + 0x78) + 0x10))(); + local_res8 = (undefined8 *)FUN_14003e840(0x400); + plVar9 = (longlong *)0x0; + plVar5 = plVar9; + if (local_res8 != (undefined8 *)0x0) { + param_3 = (longlong *)(*(longlong *)(param_1 + 0x118) + 0x78); + if (*(longlong *)(param_1 + 0x118) == 0) { + param_3 = plVar9; + } + plVar5 = FUN_140043f50(local_res8,1,param_3,param_4); + } + if (plVar5 == (longlong *)0x0) { + local_res8 = (undefined8 *)0x0; + } + else { + local_res8 = (undefined8 *)FUN_14003e840(0x10); + local_res8[1] = 1; + *local_res8 = plVar5; + } + puVar2 = local_res8; + ppuVar8 = &local_res8; + FUN_140040510((longlong *)(param_1 + 0x100),(longlong *)ppuVar8); + puVar3 = local_res8; + if (puVar2 != (undefined8 *)0x0) { + plVar5 = puVar2 + 1; + *plVar5 = *plVar5 + -1; + if (*plVar5 == 0) { + plVar5 = (longlong *)*local_res8; + if (plVar5 != (longlong *)0x0) { + FUN_140043e60(plVar5,ppuVar8,param_3,param_4); + FUN_14003e8b0(plVar5); + } + FUN_14003e8b0(puVar3); + } + } + plVar5 = plVar9; + if (*(undefined8 **)(param_1 + 0x100) != (undefined8 *)0x0) { + plVar5 = (longlong *)**(undefined8 **)(param_1 + 0x100); + } + FUN_140043150((longlong)plVar5,param_1,param_3,param_4); + local_40 = Proud::AddrPort::vftable; + local_38 = *(undefined4 *)(param_2 + 8); + local_34 = *(undefined2 *)(param_2 + 0xc); + plVar5 = plVar9; + if (*(undefined8 **)(param_1 + 0x100) != (undefined8 *)0x0) { + plVar5 = (longlong *)**(undefined8 **)(param_1 + 0x100); + } + uVar4 = FUN_140045600((longlong)plVar5,(longlong)&local_40,param_3,param_4); + if ((char)uVar4 != '\0') { + plVar5 = plVar9; + if (*(undefined8 **)(param_1 + 0x100) != (undefined8 *)0x0) { + plVar5 = (longlong *)**(undefined8 **)(param_1 + 0x100); + } + lVar1 = *(longlong *)(*(longlong *)(param_1 + 0x118) + 0x5d8); + plVar7 = plVar9; + if (lVar1 != 0) { + plVar7 = *(longlong **)(lVar1 + 0x38); + } + FUN_140047fc0(plVar7[0x57],plVar5,param_3,param_4); + FUN_1400d2de0(param_1); + if (*(undefined8 **)(param_1 + 0x100) != (undefined8 *)0x0) { + plVar9 = (longlong *)**(undefined8 **)(param_1 + 0x100); + } + uVar6 = FUN_1400937f0((longlong)plVar9); + return CONCAT71((int7)((ulonglong)uVar6 >> 8),1); + } + local_res18[0] = 0; + in_RAX = FUN_140040510((longlong *)(param_1 + 0x100),local_res18); + } + return in_RAX & 0xffffffffffffff00; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d38a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d38a0.c new file mode 100644 index 00000000..7f106d7b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d38a0.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d38a0 FUN_1400d38a0 + * Pseudocode, not original source. */ + +longlong FUN_1400d38a0(longlong param_1) + +{ + return param_1 + 0x150; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d38b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d38b0.c new file mode 100644 index 00000000..76d9a4e9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d38b0.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d38b0 FUN_1400d38b0 + * Pseudocode, not original source. */ + +void FUN_1400d38b0(longlong param_1,float param_2,longlong *param_3,undefined8 param_4) + +{ + undefined8 in_RDX; + + FUN_1400dd420((longlong *)(param_1 + 0xf0),in_RDX,(ulonglong)param_3,param_4); + FUN_1400d5660((undefined8 *)(param_1 + 8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d38f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d38f0.c new file mode 100644 index 00000000..6a3cb290 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d38f0.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d38f0 FUN_1400d38f0 + * Pseudocode, not original source. */ + +void FUN_1400d38f0(longlong param_1,undefined8 *param_2,SIZE_T param_3,undefined8 param_4) + +{ + int iVar1; + + iVar1 = (int)param_3; + FUN_14009ab30((longlong *)(param_1 + 0x38),param_2,param_3); + *(int *)(param_1 + 0xb8) = *(int *)(param_1 + 0xb8) + iVar1; + FUN_1400d5200((undefined8 *)(param_1 + 8),(longlong *)0x0,(longlong *)param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d3930.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d3930.c new file mode 100644 index 00000000..f261d5c4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d3930.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d3930 FUN_1400d3930 + * Pseudocode, not original source. */ + +void FUN_1400d3930(longlong param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400ddb30((longlong *)(param_1 + 0xf0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d3940.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d3940.c new file mode 100644 index 00000000..dd3b9801 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d3940.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d3940 FUN_1400d3940 + * Pseudocode, not original source. */ + +void FUN_1400d3940(longlong param_1) + +{ + FUN_1400d49c0(param_1 + 8); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d3950.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d3950.c new file mode 100644 index 00000000..26a3f399 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d3950.c @@ -0,0 +1,47 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d3950 FUN_1400d3950 + * Pseudocode, not original source. */ + +void FUN_1400d3950(longlong param_1,undefined4 *param_2) + +{ + *param_2 = *(undefined4 *)(param_1 + 0x148); + param_2[1] = *(undefined4 *)(param_1 + 0x188); + param_2[2] = *(undefined4 *)(param_1 + 400); + param_2[3] = *(undefined4 *)(param_1 + 0x194); + param_2[4] = *(undefined4 *)(param_1 + 0x1a8); + param_2[5] = *(undefined4 *)(param_1 + 0x100); + param_2[6] = *(undefined4 *)(param_1 + 0x104); + param_2[7] = *(undefined4 *)(param_1 + 0x70); + param_2[8] = *(undefined4 *)(param_1 + 0x90); + param_2[9] = *(undefined4 *)(param_1 + 0xb0); + param_2[10] = *(undefined4 *)(param_1 + 0xb8); + param_2[0xb] = *(undefined4 *)(param_1 + 0xbc); + param_2[0xc] = *(undefined4 *)(param_1 + 0xc0); + param_2[0xd] = *(undefined4 *)(param_1 + 0xd0); + param_2[0xe] = *(undefined4 *)(param_1 + 0x34); + param_2[0x12] = *(undefined4 *)(param_1 + 0x1ac); + if (*(longlong *)(param_1 + 0x90) == 0) { + param_2[0xf] = 0; + } + else { + if (*(longlong *)(param_1 + 0x88) == 0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + param_2[0xf] = *(undefined4 *)(*(longlong *)(param_1 + 0x88) + 0x14); + } + if (*(longlong *)(param_1 + 0xb0) != 0) { + if (*(longlong *)(param_1 + 0xa8) == 0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + param_2[0x10] = *(undefined4 *)(*(longlong *)(param_1 + 0xa8) + 0x14); + param_2[0x11] = *(undefined4 *)(param_1 + 0xe0); + return; + } + param_2[0x10] = 0; + param_2[0x11] = *(undefined4 *)(param_1 + 0xe0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d3a60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d3a60.c new file mode 100644 index 00000000..f0924f12 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d3a60.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d3a60 FUN_1400d3a60 + * Pseudocode, not original source. */ + +undefined8 * FUN_1400d3a60(undefined8 *param_1,longlong *param_2,ulonglong param_3) + +{ + undefined8 uVar1; + longlong lVar2; + + uVar1 = (**(code **)(*param_2 + 0x38))(param_2); + FUN_1400d5560(param_1 + 1,param_1,param_3 & 0xffffffff,uVar1); + lVar2 = (**(code **)(*param_2 + 0x38))(param_2); + FUN_1400dd7e0(param_1 + 0x1e,param_1,param_3 & 0xffffffff,lVar2); + *param_1 = param_2; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d3ae0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d3ae0.c new file mode 100644 index 00000000..649d86b2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d3ae0.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d3ae0 FUN_1400d3ae0 + * Pseudocode, not original source. */ + +undefined1 FUN_1400d3ae0(longlong param_1) + +{ + return *(undefined1 *)(*(longlong *)(param_1 + 0x10) + 0x608); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d3af0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d3af0.c new file mode 100644 index 00000000..ad69d10f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d3af0.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d3af0 FUN_1400d3af0 + * Pseudocode, not original source. */ + +void FUN_1400d3af0(longlong param_1) + +{ + longlong lVar1; + + lVar1 = *(longlong *)(*(longlong *)(param_1 + 0x10) + 0x670); + /* WARNING: Could not recover jumptable at 0x0001400d3b03. Too many branches */ + /* WARNING: Treating indirect jump as call */ + (**(code **)(*(longlong *)(lVar1 + 0x70) + 0x1c0))(lVar1 + 0x70); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d3b10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d3b10.c new file mode 100644 index 00000000..f8e94af3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d3b10.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d3b10 FUN_1400d3b10 + * Pseudocode, not original source. */ + +undefined8 FUN_1400d3b10(longlong param_1) + +{ + undefined8 uVar1; + + if (*(char *)(*(longlong *)(param_1 + 0x10) + 0x608) == '\0') { + uVar1 = FUN_1400cf3d0((longlong *)(*(longlong *)(param_1 + 0x10) + 0x668)); + return uVar1; + } + return 1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d3b30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d3b30.c new file mode 100644 index 00000000..5325d8cf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d3b30.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d3b30 FUN_1400d3b30 + * Pseudocode, not original source. */ + +undefined4 FUN_1400d3b30(longlong param_1) + +{ + return *(undefined4 *)(*(longlong *)(param_1 + 0x10) + 0x56c); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d3b40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d3b40.c new file mode 100644 index 00000000..80f2dd3b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d3b40.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d3b40 FUN_1400d3b40 + * Pseudocode, not original source. */ + +double FUN_1400d3b40(longlong param_1) + +{ + double dVar1; + double dVar2; + + dVar1 = *(double *)(*(longlong *)(param_1 + 0x10) + 0x50); + dVar2 = 0.0; + if (0.0 < dVar1) { + dVar2 = dVar1; + } + return dVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d3b60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d3b60.c new file mode 100644 index 00000000..aaf3ed84 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d3b60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d3b60 FUN_1400d3b60 + * Pseudocode, not original source. */ + +void FUN_1400d3b60(longlong param_1) + +{ + FUN_1400d3940(*(longlong *)(param_1 + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d3b70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d3b70.c new file mode 100644 index 00000000..1b15e320 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d3b70.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d3b70 FUN_1400d3b70 + * Pseudocode, not original source. */ + +void FUN_1400d3b70(longlong param_1,undefined8 param_2,longlong *param_3,undefined8 param_4) + +{ + longlong lVar1; + double dVar2; + + lVar1 = *(longlong *)(param_1 + 8); + dVar2 = (double)FUN_14009bf00(*(longlong *)(*(longlong *)(param_1 + 0x10) + 0x670)); + FUN_1400d38b0(lVar1,(float)dVar2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d3ba0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d3ba0.c new file mode 100644 index 00000000..caaabb65 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d3ba0.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d3ba0 FUN_1400d3ba0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400d3ba0(longlong param_1) + +{ + return *(undefined8 *)(*(longlong *)(*(longlong *)(param_1 + 0x10) + 0x670) + 0x4e0); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d3bc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d3bc0.c new file mode 100644 index 00000000..770b2c0a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d3bc0.c @@ -0,0 +1,84 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d3bc0 FUN_1400d3bc0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_1400d3bc0(longlong param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong lVar1; + undefined8 *puVar2; + undefined4 *puVar3; + ulonglong uVar4; + undefined1 auStack_e08 [32]; + undefined **local_de8; + longlong local_de0; + undefined8 *local_dd8; + ulonglong local_dd0; + undefined8 local_dc8; + longlong *local_dc0; + undefined8 local_db8; + exception local_db0 [72]; + undefined4 local_d68 [2]; + longlong local_d60; + longlong local_d58; + undefined4 local_d50; + int local_d4c; + undefined1 local_d40 [136]; + undefined1 local_cb8 [3200]; + undefined1 *local_38; + undefined4 local_30; + int local_2c; + ulonglong local_28; + + local_db8 = 0xfffffffffffffffe; + local_28 = DAT_14016f5a0 ^ (ulonglong)auStack_e08; + local_2c = 200; + local_30 = 0; + local_38 = local_cb8; + FUN_140074fb0(local_d68); + FUN_140074c30((longlong)local_d68,(longlong)local_d40,0x80,param_4); + puVar3 = local_d68; + FUN_140093d90(param_2,(longlong)local_cb8,(SIZE_T)puVar3,param_4); + local_de0 = 0; + local_dd8 = (undefined8 *)0x0; + local_dd0 = 0; + local_dc8 = 0; + local_de8 = Proud::ByteArray::vftable; + lVar1 = *(longlong *)(*(longlong *)(*(longlong *)(param_1 + 0x10) + 0x670) + 0x4e0); + if (lVar1 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_de0 = lVar1; + thunk_FUN_140097060((longlong)local_cb8,(longlong)&local_de8,(SIZE_T)puVar3,param_4); + uVar4 = local_dd0 & 0xffffffff; + puVar2 = local_dd8; + if ((int)local_dd0 == 0) { + puVar2 = (undefined8 *)0x0; + } + FUN_1400d38f0(*(longlong *)(param_1 + 8),puVar2,uVar4,param_4); + FUN_140049e40(&local_de8); + local_dc0 = &local_d60; + FUN_14008a320(&local_d60); + if (local_d58 != 0) { + if (local_d4c < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_d50 = 0; + } + if (local_38 == (undefined1 *)0x0) { + FUN_14003db10(local_db0,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,uVar4, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_db0,(ThrowInfo *)&DAT_14016c210); + } + if (local_2c < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d3d50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d3d50.c new file mode 100644 index 00000000..98e3cab0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d3d50.c @@ -0,0 +1,265 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d3d50 FUN_1400d3d50 + * Pseudocode, not original source. */ + +/* WARNING: Function: __chkstk replaced with injection: alloca_probe */ +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_1400d3d50(longlong param_1,uint *param_2,undefined8 param_3,undefined8 param_4) + +{ + uint uVar1; + longlong lVar2; + longlong *plVar3; + undefined1 *puVar4; + int iVar5; + ulonglong uVar6; + undefined4 *puVar7; + longlong lVar8; + ulonglong uVar9; + SIZE_T SVar10; + undefined8 uVar11; + SIZE_T *pSVar12; + undefined1 auStackY_2808 [32]; + undefined4 uStack_27cc; + int local_27c8 [2]; + longlong local_27c0; + undefined4 local_27b8; + undefined4 uStack_27b4; + undefined4 local_27b0; + int local_27ac; + longlong local_27a0 [2]; + undefined1 local_2790; + undefined4 local_278c; + undefined1 local_2788; + undefined1 local_2787; + undefined8 local_2780; + exception local_2778 [72]; + exception local_2730 [72]; + exception local_26e8 [72]; + SIZE_T local_26a0 [400]; + SIZE_T *local_1a20; + undefined4 local_1a18; + undefined4 local_1a14; + undefined4 local_1a08 [2]; + longlong local_1a00; + longlong local_19f8; + uint local_19f0; + int local_19ec; + undefined1 local_19e0 [136]; + longlong local_1958; + undefined8 uStack_1950; + longlong *local_cd8; + undefined4 local_cd0; + int local_ccc; + undefined1 local_cc8 [3200]; + undefined1 *local_48; + int local_40; + int local_3c; + ulonglong local_38; + undefined8 uStack_30; + + uStack_30 = 0x1400d3d6a; + local_2780 = 0xfffffffffffffffe; + local_38 = DAT_14016f5a0 ^ (ulonglong)auStackY_2808; + uVar1 = *param_2; + uVar6 = (ulonglong)uVar1; + iVar5 = DAT_140178018; + if (uVar1 == 1) { + uVar9 = 0; + if (DAT_140171262 != '\0') { + iVar5 = 1; + } + } + else { + uVar9 = (ulonglong)(uVar1 - 2); + if ((uVar1 - 2 == 0) && (DAT_140171261 != '\0')) { + iVar5 = 1; + } + } + if (*(char *)(*(longlong *)(param_1 + 0x10) + 0x608) == '\0') { + local_ccc = 200; + local_cd0 = 0; + local_cd8 = &local_1958; + FUN_140074fb0(local_27c8); + FUN_140074a40((longlong)local_27c8,uVar6,uVar9,param_4); + FUN_140075110(local_27c8,0x800,uVar9,param_4); + FUN_140075110(local_27c8,0,uVar9,param_4); + FUN_140097ab0((byte *)param_2,(longlong)&local_1958,(SIZE_T)local_27c8,param_4); + local_27a0[1] = 0; + local_2790 = 1; + local_278c = 0xffffffff; + local_2788 = 1; + local_2787 = DAT_14016f1cc; + plVar3 = local_27a0; + local_27a0[0]._0_4_ = iVar5; + FUN_1400cf2c0((longlong *)(*(longlong *)(param_1 + 0x10) + 0x668),(longlong)&local_1958,plVar3); + FUN_14008a320(&local_27c0); + if (CONCAT44(uStack_27b4,local_27b8) != 0) { + if (local_27ac < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_27b0 = 0; + } + if (local_cd8 == (longlong *)0x0) { + FUN_14003db10(local_2778,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,plVar3, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_2778,(ThrowInfo *)&DAT_14016c210); + } + if (local_ccc < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + } + else if (uVar1 == 1) { + FUN_140074fb0(local_1a08); + SVar10 = 0x80; + puVar4 = local_19e0; + FUN_140074c30((longlong)local_1a08,(longlong)puVar4,0x80,param_4); + FUN_140029d80((longlong)local_1a08,CONCAT71((int7)((ulonglong)puVar4 >> 8),0x16),SVar10,param_4) + ; + FUN_140029e60((longlong)local_1a08,(ulonglong)*(uint *)(*(longlong *)(param_1 + 0x10) + 0x56c), + SVar10,param_4); + FUN_140029e60((longlong)local_1a08,(ulonglong)param_2[1],SVar10,param_4); + puVar7 = local_1a08; + plVar3 = local_27a0; + FUN_140074a00(plVar3,(longlong)puVar7); + if (*(longlong *)(param_2 + 2) == 0) { + if (*(longlong *)(param_2 + 4) == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(plVar3,puVar7,SVar10,param_4); + } + uVar1 = param_2[6]; + } + else { + uVar1 = *(uint *)(*(longlong *)(param_2 + 2) + 0x18); + } + lVar8 = (longlong)(int)uVar1; + FUN_140076380((longlong)local_1a08,lVar8,SVar10,param_4); + local_3c = 200; + lVar2 = 0; + local_40 = 0; + local_48 = local_cc8; + local_ccc = 200; + local_cd0 = 0; + local_cd8 = &local_1958; + if (local_1a00 == 0) { + if (local_19f8 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,lVar8,SVar10,param_4); + } + } + else { + local_19f0 = *(uint *)(local_1a00 + 0x18); + } + local_1958 = local_19f8; + if (local_19f8 == 0) { + if (local_1a00 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,(ulonglong)local_19f0,SVar10,param_4); + } + local_1958 = lVar2; + if (*(int *)(local_1a00 + 0x18) != 0) { + local_1958 = *(longlong *)(local_1a00 + 0x10); + } + } + local_cd0 = 1; + uStack_1950 = CONCAT44(uStack_27cc,local_19f0); + plVar3 = &local_1958; + puVar4 = local_cc8; + FUN_14004dc30((longlong)puVar4,(longlong)plVar3,SVar10,param_4); + if (local_cd8 == (longlong *)0x0) { + FUN_14003db10(local_2778,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,SVar10, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_2778,(ThrowInfo *)&DAT_14016c210); + } + if (local_ccc < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_cd0 = 0; + lVar8 = *(longlong *)(param_2 + 2); + if (lVar8 == 0) { + if (*(longlong *)(param_2 + 4) == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(puVar4,plVar3,SVar10,param_4); + } + uVar1 = param_2[6]; + } + else { + uVar1 = *(uint *)(lVar8 + 0x18); + } + if (*(longlong *)(param_2 + 4) == 0) { + if (lVar8 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420((ulonglong)uVar1,plVar3,SVar10,param_4); + } + if (*(int *)(lVar8 + 0x18) != 0) { + lVar2 = *(longlong *)(lVar8 + 0x10); + } + } + else { + lVar2 = *(longlong *)(param_2 + 4); + if (lVar2 == 0) { + FUN_14003db10(local_26e8,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,SVar10, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_26e8,(ThrowInfo *)&DAT_14016c210); + } + } + if (local_48 == (undefined1 *)0x0) { + FUN_14003db10(local_2730,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,0,param_4 + ); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_2730,(ThrowInfo *)&DAT_14016c210); + } + if (local_40 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + iVar5 = local_40 + 1; + if ((iVar5 < 0) || (local_3c < iVar5)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + *(longlong *)(local_48 + (longlong)local_40 * 0x10) = lVar2; + *(ulonglong *)(local_48 + (longlong)local_40 * 0x10 + 8) = CONCAT44(uStack_27cc,uVar1); + local_1a14 = 200; + local_1a18 = 0; + local_1a20 = local_26a0; + local_40 = iVar5; + FUN_140096f90((longlong *)&local_48,&local_1a20,local_48,param_4); + local_27c8[0] = DAT_140178018; + local_27c0 = DAT_140178010; + local_27b8 = CONCAT31(local_27b8._1_3_,DAT_140178020); + uStack_27b4 = 0xffffffff; + local_27b0._0_2_ = CONCAT11(DAT_14016f1cc,DAT_140178040); + uVar1 = (**(code **)(**(longlong **)(param_1 + 0x10) + 8))(); + pSVar12 = local_26a0; + uVar11 = 1; + FUN_14009d260(*(longlong *)(*(longlong *)(param_1 + 0x10) + 0x670),uVar1,1,pSVar12, + (SIZE_T *)local_27c8); + if (local_48 == (undefined1 *)0x0) { + FUN_14003db10(local_2730,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,uVar11, + pSVar12); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_2730,(ThrowInfo *)&DAT_14016c210); + } + if (local_3c < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_40 = 0; + FUN_140074a20(local_27a0); + FUN_14008a320(&local_1a00); + if ((local_19f8 != 0) && (local_19ec < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d42c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d42c0.c new file mode 100644 index 00000000..39aa3460 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d42c0.c @@ -0,0 +1,27 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d42c0 FUN_1400d42c0 + * Pseudocode, not original source. */ + +void FUN_1400d42c0(longlong param_1,longlong *param_2,longlong param_3,undefined4 *param_4) + +{ + longlong *plVar1; + ulonglong uVar2; + longlong lVar3; + undefined4 *puVar4; + + lVar3 = param_3; + puVar4 = param_4; + FUN_14007e740(param_3,0,param_3,param_4); + FUN_1400d3930(*(longlong *)(param_1 + 8),param_2,lVar3,puVar4); + plVar1 = (longlong *)FUN_1400d38a0(*(longlong *)(param_1 + 8)); + uVar2 = FUN_1400947a0(plVar1,param_3,(ulonglong)*(uint *)(*(longlong *)(param_1 + 0x10) + 0x56c), + (ulonglong) + *(uint *)(*(longlong *)(*(longlong *)(param_1 + 0x10) + 0x670) + 0x6a4), + param_4); + if ((int)uVar2 < 0) { + *(undefined1 *)(param_1 + 0x18) = 1; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d4350.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d4350.c new file mode 100644 index 00000000..40d57407 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d4350.c @@ -0,0 +1,293 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d4350 FUN_1400d4350 + * Pseudocode, not original source. */ + +ulonglong FUN_1400d4350(longlong *param_1,uint *param_2,ulonglong param_3,undefined4 *param_4) + +{ + undefined8 *puVar1; + longlong *plVar2; + longlong *plVar3; + undefined8 uVar4; + ulonglong uVar5; + longlong *plVar6; + longlong *plVar7; + longlong *plVar8; + uint *puVar9; + uint ***pppuVar10; + int iVar11; + SIZE_T SVar12; + undefined4 *puVar13; + uint **local_res8; + undefined8 local_d8; + uint *local_d0; + longlong *local_c8; + undefined8 local_c0; + longlong *local_b8; + longlong *local_b0; + undefined4 local_a8; + undefined4 local_a4; + longlong *local_a0; + longlong *local_98; + undefined8 local_90; + exception local_88 [80]; + + local_90 = 0xfffffffffffffffe; + uVar5 = param_3; + puVar13 = param_4; + local_b0 = (longlong *)(**(code **)(*param_1 + 0x38))(); + plVar8 = (longlong *)0x0; + local_c0 = 0; + local_c8 = (longlong *)0x0; + local_d0 = (uint *)0x0; + local_b8 = (longlong *)0x0; + local_d8 = 0; + local_a4 = 0; + uVar4 = FUN_140075810(param_2,(uint *)&local_d8,uVar5,puVar13); + if ((char)uVar4 == '\0') { + if (local_b8 != (longlong *)0x0) { + plVar8 = local_b8 + 1; + *plVar8 = *plVar8 + -1; + if (*plVar8 == 0) { + FUN_1400512a0((longlong)&local_b8,local_b8); + } + } + local_res8 = &local_d0; + uVar5 = FUN_14008a320((longlong *)&local_d0); + if ((local_c8 != (longlong *)0x0) && (local_c0 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + } + else { + if ((uint)local_d8 != 1) { + if ((uint)local_d8 == 2) { + plVar6 = (longlong *) + (**(code **)(*(longlong *)(*(longlong *)(param_1[2] + 0x670) + 0x88) + 0x18))(); + plVar7 = FUN_14005b3e0((longlong *)&local_a0,plVar6,uVar5,puVar13); + plVar3 = local_b0; + plVar2 = local_b8; + plVar6 = (longlong *)*plVar7; + if (plVar6 != (longlong *)0x0) { + plVar6[1] = plVar6[1] + 1; + plVar8 = plVar6; + } + if (local_b8 != (longlong *)0x0) { + plVar6 = local_b8 + 1; + *plVar6 = *plVar6 + -1; + if (*plVar6 == 0) { + puVar1 = (undefined8 *)*local_b8; + *puVar1 = Proud::CFastArray::vftable; + if ((LPVOID)puVar1[2] != (LPVOID)0x0) { + if ((longlong *)puVar1[1] == (longlong *)0x0) { + FUN_14003e8b0((LPVOID)puVar1[2]); + } + else { + (**(code **)(*(longlong *)puVar1[1] + 0x18))(); + } + } + (**(code **)(*plVar3 + 0x18))(plVar3,puVar1); + (**(code **)(*local_b0 + 0x18))(local_b0,plVar2); + } + } + plVar6 = local_98; + local_b0 = (longlong *)plVar7[1]; + local_b8 = plVar8; + if (local_a0 != (longlong *)0x0) { + plVar8 = local_a0 + 1; + *plVar8 = *plVar8 + -1; + if (*plVar8 == 0) { + puVar1 = (undefined8 *)*local_a0; + *puVar1 = Proud::CFastArray::vftable; + if ((LPVOID)puVar1[2] != (LPVOID)0x0) { + if ((longlong *)puVar1[1] == (longlong *)0x0) { + FUN_14003e8b0((LPVOID)puVar1[2]); + } + else { + (**(code **)(*(longlong *)puVar1[1] + 0x18))(); + } + } + (**(code **)(*plVar6 + 0x18))(plVar6,puVar1); + (**(code **)(*local_98 + 0x18))(local_98,local_a0); + } + } + if (local_b8 == (longlong *)0x0) { + puVar9 = (uint *)0x0; + } + else { + puVar9 = (uint *)*local_b8; + } + uVar5 = FUN_140097e40(puVar9,param_2,uVar5,puVar13); + if ((char)uVar5 == '\0') { + if (local_b8 != (longlong *)0x0) { + plVar8 = local_b8 + 1; + *plVar8 = *plVar8 + -1; + if (*plVar8 == 0) { + FUN_1400512a0((longlong)&local_b8,local_b8); + } + } + local_res8 = &local_d0; + uVar5 = FUN_14008a320((longlong *)&local_d0); + if ((local_c8 != (longlong *)0x0) && (local_c0 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + } + else { + uVar4 = FUN_140074ee0(param_2,&local_res8,4); + if ((char)uVar4 == '\0') { + local_a4 = 0; + if (local_b8 != (longlong *)0x0) { + plVar8 = local_b8 + 1; + *plVar8 = *plVar8 + -1; + if (*plVar8 == 0) { + FUN_1400512a0((longlong)&local_b8,local_b8); + } + } + local_res8 = &local_d0; + uVar5 = FUN_14008a320((longlong *)&local_d0); + if ((local_c8 != (longlong *)0x0) && (local_c0 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + } + else { + local_a4 = local_res8._0_4_; + uVar5 = 4; + uVar4 = FUN_140074ee0(param_2,&local_res8,4); + if ((char)uVar4 != '\0') { + local_a8 = local_res8._0_4_; + goto LAB_1400d4761; + } + if (local_b8 != (longlong *)0x0) { + plVar8 = local_b8 + 1; + *plVar8 = *plVar8 + -1; + if (*plVar8 == 0) { + FUN_1400512a0((longlong)&local_b8,local_b8); + } + } + local_res8 = &local_d0; + uVar5 = FUN_14008a320((longlong *)&local_d0); + if ((local_c8 != (longlong *)0x0) && (local_c0 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + } + } + goto LAB_1400d488d; + } +LAB_1400d4761: + FUN_14007e740(param_3,0,uVar5,puVar13); + FUN_1400d3930(param_1[1],&local_d8,uVar5,puVar13); + plVar8 = (longlong *)FUN_1400d38a0(param_1[1]); + uVar5 = FUN_1400947a0(plVar8,param_3,(ulonglong)*(uint *)(param_1[2] + 0x56c), + (ulonglong)*(uint *)(*(longlong *)(param_1[2] + 0x670) + 0x6a4),param_4) + ; + if ((int)uVar5 < 0) { + *(undefined1 *)(param_1 + 3) = 1; + } + if (local_b8 != (longlong *)0x0) { + plVar8 = local_b8 + 1; + *plVar8 = *plVar8 + -1; + if (*plVar8 == 0) { + FUN_1400512a0((longlong)&local_b8,local_b8); + } + } + local_res8 = &local_d0; + uVar4 = FUN_14008a320((longlong *)&local_d0); + if ((local_c8 != (longlong *)0x0) && (local_c0 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return CONCAT71((int7)((ulonglong)uVar4 >> 8),1); + } + SVar12 = 4; + pppuVar10 = &local_res8; + puVar9 = param_2; + uVar4 = FUN_140074ee0(param_2,pppuVar10,4); + if ((char)uVar4 == '\0') { + local_d8 = local_d8 & 0xffffffff; + if (local_b8 != (longlong *)0x0) { + plVar8 = local_b8 + 1; + *plVar8 = *plVar8 + -1; + if (*plVar8 == 0) { + FUN_1400512a0((longlong)&local_b8,local_b8); + } + } + local_res8 = &local_d0; + uVar5 = FUN_14008a320((longlong *)&local_d0); + if ((local_c8 != (longlong *)0x0) && (local_c0 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + goto LAB_1400d488d; + } + local_d8 = CONCAT44(local_res8._0_4_,(uint)local_d8); + if (local_c8 != (longlong *)0x0) { + FUN_14003db10(local_88,(wchar_t *)PTR_u_Cannot_use_internal_buffer_becau_140170560,SVar12, + puVar13); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_88,(ThrowInfo *)&DAT_14016c210); + } + if (local_d0 == (uint *)0x0) { + local_d0 = (uint *)FUN_14008a360(puVar9,pppuVar10,SVar12); + local_d0[10] = 1; + local_d0[0xb] = 0; + } + puVar9 = param_2; + uVar5 = FUN_140075580(param_2,&local_res8,SVar12,puVar13); + if ((((char)uVar5 != '\0') && (iVar11 = (int)local_res8, -1 < iVar11)) && + (iVar11 <= DAT_14016f140)) { + if (local_c8 == (longlong *)0x0) { + puVar9 = local_d0; + if (iVar11 < 1) { + if (local_d0 == (uint *)0x0) goto LAB_1400d4800; + iVar11 = 0; + } + else if (local_d0 == (uint *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,0,SVar12,puVar13); + } + FUN_14002a050((longlong)local_d0,iVar11,SVar12); + } + else { + if (local_c0._4_4_ < iVar11) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_c0 = CONCAT44(local_c0._4_4_,iVar11); + } + plVar6 = local_c8; + if (local_c8 == (longlong *)0x0) { + if (local_d0 == (uint *)0x0) { +LAB_1400d4800: + /* WARNING: Subroutine does not return */ + FUN_14008a420(puVar9,0,SVar12,puVar13); + } + plVar6 = plVar8; + if (local_d0[6] != 0) { + plVar6 = *(longlong **)(local_d0 + 4); + } + } + uVar5 = (ulonglong)local_res8 & 0xffffffff; + uVar4 = FUN_140074ee0(param_2,plVar6,uVar5); + if ((char)uVar4 != '\0') goto LAB_1400d4761; + } + if (local_b8 != (longlong *)0x0) { + plVar8 = local_b8 + 1; + *plVar8 = *plVar8 + -1; + if (*plVar8 == 0) { + FUN_1400512a0((longlong)&local_b8,local_b8); + } + } + local_res8 = &local_d0; + uVar5 = FUN_14008a320((longlong *)&local_d0); + if ((local_c8 != (longlong *)0x0) && (local_c0 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + } +LAB_1400d488d: + return uVar5 & 0xffffffffffffff00; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d48b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d48b0.c new file mode 100644 index 00000000..fd7ab7d5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d48b0.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d48b0 FUN_1400d48b0 + * Pseudocode, not original source. */ + +undefined8 * FUN_1400d48b0(undefined8 *param_1,undefined8 param_2) + +{ + *param_1 = Proud::CRemotePeerReliableUdp::vftable; + param_1[1] = 0; + *(undefined1 *)(param_1 + 3) = 0; + param_1[2] = param_2; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d48d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d48d0.c new file mode 100644 index 00000000..bec44dd2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d48d0.c @@ -0,0 +1,27 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d48d0 FUN_1400d48d0 + * Pseudocode, not original source. */ + +void FUN_1400d48d0(longlong *param_1,ulonglong param_2,undefined8 param_3,undefined8 param_4) + +{ + void *pvVar1; + undefined8 *puVar2; + + pvVar1 = (void *)param_1[1]; + if (pvVar1 != (void *)0x0) { + FUN_1400d26f0((longlong)pvVar1,param_2,param_3,param_4); + operator_delete(pvVar1); + } + param_1[1] = 0; + puVar2 = operator_new(0x1b0); + if (puVar2 == (undefined8 *)0x0) { + param_1[1] = 0; + } + else { + puVar2 = FUN_1400d3a60(puVar2,param_1,param_2 & 0xffffffff); + param_1[1] = (longlong)puVar2; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d4950.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d4950.c new file mode 100644 index 00000000..3a28d705 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d4950.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d4950 FUN_1400d4950 + * Pseudocode, not original source. */ + +undefined8 * +FUN_1400d4950(undefined8 *param_1,ulonglong param_2,undefined8 param_3,undefined8 param_4) + +{ + void *pvVar1; + + pvVar1 = (void *)param_1[1]; + if (pvVar1 != (void *)0x0) { + FUN_1400d26f0((longlong)pvVar1,param_2,param_3,param_4); + operator_delete(pvVar1); + } + *param_1 = Proud::IReliableUdpHostDelegate::vftable; + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d49c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d49c0.c new file mode 100644 index 00000000..9d529d62 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d49c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d49c0 FUN_1400d49c0 + * Pseudocode, not original source. */ + +void FUN_1400d49c0(longlong param_1) + +{ + *(int *)(param_1 + 8) = *(int *)(param_1 + 8) + 1; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d49d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d49d0.c new file mode 100644 index 00000000..771905ff --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d49d0.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d49d0 FUN_1400d49d0 + * Pseudocode, not original source. */ + +void FUN_1400d49d0(undefined8 *param_1,int *param_2) + +{ + (**(code **)(**(longlong **)*param_1 + 8))(); + if (*param_2 == 1) { + *(int *)((longlong)param_1 + 0xbc) = *(int *)((longlong)param_1 + 0xbc) + 1; + param_1[3] = 0; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d4a10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d4a10.c new file mode 100644 index 00000000..3d03ca75 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d4a10.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d4a10 FUN_1400d4a10 + * Pseudocode, not original source. */ + +/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ + +void FUN_1400d4a10(undefined8 *param_1) + +{ + double dVar1; + int iVar2; + double dVar3; + + dVar3 = (double)(**(code **)(**(longlong **)*param_1 + 0x18))(); + if ((double)param_1[0x18] == 0.0) { + param_1[0x18] = dVar3; + } + dVar1 = (double)param_1[0x18]; + if (_DAT_1401712a8 < dVar3 - dVar1) { + iVar2 = *(int *)((longlong)param_1 + 0xbc); + param_1[0x18] = dVar3; + *(undefined4 *)((longlong)param_1 + 0xbc) = 0; + *(int *)(param_1 + 0x19) = + (int)(((double)iVar2 - (double)*(int *)(param_1 + 0x19)) * (0.1 / (dVar3 - dVar1)) + + (double)*(int *)(param_1 + 0x19)); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d4ab0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d4ab0.c new file mode 100644 index 00000000..2e22de24 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d4ab0.c @@ -0,0 +1,40 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d4ab0 FUN_1400d4ab0 + * Pseudocode, not original source. */ + +undefined4 * FUN_1400d4ab0(undefined4 *param_1,undefined4 *param_2) + +{ + longlong *plVar1; + longlong lVar2; + + *param_1 = *param_2; + param_1[1] = param_2[1]; + *(undefined8 *)(param_1 + 6) = 0; + *(undefined8 *)(param_1 + 4) = 0; + if (*(longlong *)(param_2 + 2) == 0) { + *(undefined8 *)(param_1 + 2) = 0; + param_1[7] = param_2[7]; + *(undefined8 *)(param_1 + 4) = *(undefined8 *)(param_2 + 4); + param_1[6] = param_2[6]; + } + else { + plVar1 = (longlong *)(*(longlong *)(param_2 + 2) + 0x28); + *plVar1 = *plVar1 + 1; + *(undefined8 *)(param_1 + 2) = *(undefined8 *)(param_2 + 2); + } + *(undefined8 *)(param_1 + 10) = *(undefined8 *)(param_2 + 10); + lVar2 = *(longlong *)(param_2 + 8); + if (lVar2 != 0) { + *(longlong *)(lVar2 + 8) = *(longlong *)(lVar2 + 8) + 1; + *(longlong *)(param_1 + 8) = lVar2; + param_1[0xc] = param_2[0xc]; + param_1[0xd] = param_2[0xd]; + return param_1; + } + *(undefined8 *)(param_1 + 8) = 0; + param_1[0xc] = param_2[0xc]; + param_1[0xd] = param_2[0xd]; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d4b40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d4b40.c new file mode 100644 index 00000000..557d76e5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d4b40.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d4b40 FUN_1400d4b40 + * Pseudocode, not original source. */ + +longlong FUN_1400d4b40(longlong *param_1,longlong *param_2) + +{ + longlong lVar1; + + if (param_2 == (longlong *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + lVar1 = *param_2; + if (param_2 == (longlong *)param_1[1]) { + param_1[1] = lVar1; + } + else { + *(longlong *)param_2[1] = lVar1; + } + if (param_2 == (longlong *)param_1[2]) { + param_1[2] = param_2[1]; + } + else { + *(longlong *)(*param_2 + 8) = param_2[1]; + } + FUN_1400d2490(param_1,param_2); + return lVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d4bb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d4bb0.c new file mode 100644 index 00000000..70baf624 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d4bb0.c @@ -0,0 +1,107 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d4bb0 FUN_1400d4bb0 + * Pseudocode, not original source. */ + +/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ + +void FUN_1400d4bb0(undefined8 *param_1,double param_2) + +{ + longlong *plVar1; + bool bVar2; + char cVar3; + longlong *plVar4; + int iVar5; + double dVar6; + double dVar7; + double dVar8; + + dVar6 = (double)(**(code **)(**(longlong **)*param_1 + 0x18))(); + (**(code **)(**(longlong **)*param_1 + 0x30))(); + dVar7 = (double)(longlong)param_1[0x15]; + if ((longlong)param_1[0x15] < 0) { + dVar7 = dVar7 + 1.8446744073709552e+19; + } + dVar8 = dVar7 * _DAT_1401712c0; + if (dVar7 * _DAT_1401712c0 <= (double)DAT_1401712c8) { + dVar8 = (double)DAT_1401712c8; + } + if ((double)DAT_1401712cc <= dVar8) { + dVar8 = (double)DAT_1401712cc; + } + dVar8 = dVar8 * param_2; + if (DAT_14016f058 * 5.0 < param_2) { + dVar8 = dVar8 / (param_2 / DAT_14016f058); + } + iVar5 = (int)dVar8; + if ((int)dVar8 < 1) { + iVar5 = 1; + } + cVar3 = (**(code **)(**(longlong **)*param_1 + 0x10))(); + plVar1 = (longlong *)param_1[0x13]; +joined_r0x0001400d4c89: + if ((plVar1 == (longlong *)0x0) || (iVar5 < 1)) { + return; + } + if (plVar1 == (longlong *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + bVar2 = false; + plVar4 = plVar1; + if ((double)plVar1[10] <= dVar6 - (double)plVar1[9] && + dVar6 - (double)plVar1[9] != (double)plVar1[10]) goto code_r0x0001400d4ccd; + goto LAB_1400d4d9f; +code_r0x0001400d4ccd: + if (0.0 < (double)plVar1[0xb]) { + dVar8 = dVar6 - (double)plVar1[0xb]; + dVar7 = (double)param_1[0x1a]; + if ((double)param_1[0x1a] <= dVar8) { + dVar7 = dVar8; + } + param_1[0x1a] = dVar7; + } + dVar7 = DAT_140171280 * (double)plVar1[10]; + plVar1[10] = (longlong)dVar7; + if (DAT_140171270 <= dVar7) { + dVar7 = DAT_140171270; + } + *(int *)(plVar1 + 0xc) = (int)plVar1[0xc] + 1; + plVar1[10] = (longlong)dVar7; + plVar1[9] = (longlong)dVar6; + *(int *)((longlong)param_1 + 0xb4) = *(int *)((longlong)param_1 + 0xb4) + 1; + (**(code **)(**(longlong **)*param_1 + 8))(*(longlong **)*param_1,plVar1 + 2); + if ((int)plVar1[2] == 1) { + *(int *)((longlong)param_1 + 0xbc) = *(int *)((longlong)param_1 + 0xbc) + 1; + param_1[3] = 0; + } + if (cVar3 != '\0') { + plVar4 = (longlong *)*plVar1; + if (plVar1 == (longlong *)param_1[0x13]) { + param_1[0x13] = plVar4; + } + else { + *(longlong **)plVar1[1] = plVar4; + } + if (plVar1 == (longlong *)param_1[0x14]) { + param_1[0x14] = plVar1[1]; + } + else { + *(longlong *)(*plVar1 + 8) = plVar1[1]; + } + FUN_1400d2490(param_1 + 0x12,plVar1); + bVar2 = true; + } + iVar5 = iVar5 + -1; + plVar1 = plVar4; + if (!bVar2) { +LAB_1400d4d9f: + if (plVar4 == (longlong *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + plVar1 = (longlong *)*plVar4; + } + goto joined_r0x0001400d4c89; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d4df0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d4df0.c new file mode 100644 index 00000000..89032b94 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d4df0.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d4df0 FUN_1400d4df0 + * Pseudocode, not original source. */ + +ulonglong FUN_1400d4df0(longlong param_1,int param_2) + +{ + longlong *plVar1; + longlong lVar2; + + plVar1 = *(longlong **)(param_1 + 0x98); + while( true ) { + if (plVar1 == (longlong *)0x0) { + return (ulonglong)(uint)param_2 & 0xffffff00; + } + if (*(int *)((longlong)plVar1 + 0x14) == param_2) break; + plVar1 = (longlong *)*plVar1; + } + lVar2 = FUN_1400d4b40((longlong *)(param_1 + 0x90),plVar1); + return CONCAT71((int7)((ulonglong)lVar2 >> 8),1); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d4e30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d4e30.c new file mode 100644 index 00000000..37675c07 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d4e30.c @@ -0,0 +1,67 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d4e30 FUN_1400d4e30 + * Pseudocode, not original source. */ + +void FUN_1400d4e30(longlong param_1,int param_2) + +{ + longlong *plVar1; + longlong *plVar2; + longlong *plVar3; + + plVar2 = *(longlong **)(param_1 + 0x98); + if (plVar2 != (longlong *)0x0) { + if (plVar2 == (longlong *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + do { + if ((*(int *)((longlong)plVar2 + 0x14) == param_2) || + ((uint)(*(int *)((longlong)plVar2 + 0x14) - param_2) < 0x80000000)) { + plVar3 = (longlong *)*plVar2; + } + else { + plVar3 = (longlong *)*plVar2; + if (plVar2 == *(longlong **)(param_1 + 0x98)) { + *(longlong **)(param_1 + 0x98) = plVar3; + } + else { + *(longlong **)plVar2[1] = plVar3; + } + if (plVar2 == *(longlong **)(param_1 + 0xa0)) { + *(longlong *)(param_1 + 0xa0) = plVar2[1]; + } + else { + *(longlong *)(*plVar2 + 8) = plVar2[1]; + } + if (plVar2[6] != 0) { + plVar1 = (longlong *)(plVar2[6] + 8); + *plVar1 = *plVar1 + -1; + if (*plVar1 == 0) { + FUN_1400512a0((longlong)(plVar2 + 6),(longlong *)plVar2[6]); + } + } + FUN_14008a320(plVar2 + 3); + if (plVar2[4] != 0) { + if (*(int *)((longlong)plVar2 + 0x2c) < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + *(undefined4 *)(plVar2 + 5) = 0; + } + plVar1 = *(longlong **)(param_1 + 0x90); + if (plVar1 == (longlong *)0x0) { + FUN_14003e8b0(plVar2); + *(longlong *)(param_1 + 0xa8) = *(longlong *)(param_1 + 0xa8) + -1; + } + else { + (**(code **)(*plVar1 + 0x10))(plVar1,plVar2); + *(longlong *)(param_1 + 0xa8) = *(longlong *)(param_1 + 0xa8) + -1; + } + } + plVar2 = plVar3; + } while (plVar3 != (longlong *)0x0); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d4f60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d4f60.c new file mode 100644 index 00000000..32b01670 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d4f60.c @@ -0,0 +1,118 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d4f60 FUN_1400d4f60 + * Pseudocode, not original source. */ + +void FUN_1400d4f60(undefined8 *param_1) + +{ + longlong *plVar1; + longlong *plVar2; + undefined8 uVar3; + longlong *plVar4; + char cVar5; + undefined8 *puVar6; + longlong lVar7; + double dVar8; + double dVar9; + + lVar7 = (**(code **)(**(longlong **)*param_1 + 0x18))(); + dVar8 = (double)(**(code **)(**(longlong **)*param_1 + 0x30))(); + cVar5 = (**(code **)(**(longlong **)*param_1 + 0x10))(); + plVar4 = (longlong *)param_1[0xf]; + while( true ) { + if (plVar4 == (longlong *)0x0) { + return; + } + if (plVar4 == (longlong *)0x0) break; + plVar4[9] = lVar7; + plVar4[0xb] = lVar7; + if (dVar8 * 2.0 <= 0.0) { + plVar4[10] = DAT_140171268; + } + else { + plVar4[10] = (longlong)(dVar8 * 2.0); + } + dVar9 = (double)plVar4[10]; + if ((double)plVar4[10] <= DAT_140171278) { + dVar9 = DAT_140171278; + } + plVar4[10] = (longlong)dVar9; + if (DAT_140171270 <= dVar9) { + dVar9 = DAT_140171270; + } + plVar4[10] = (longlong)dVar9; + *(int *)(param_1 + 0x17) = *(int *)(param_1 + 0x17) + 1; + (**(code **)(**(longlong **)*param_1 + 8))(*(longlong **)*param_1,plVar4 + 2); + if ((int)plVar4[2] == 1) { + *(int *)((longlong)param_1 + 0xbc) = *(int *)((longlong)param_1 + 0xbc) + 1; + param_1[3] = 0; + } + if (cVar5 == '\0') { + plVar2 = (longlong *)param_1[0x12]; + uVar3 = param_1[0x14]; + if (plVar2 == (longlong *)0x0) { + puVar6 = (undefined8 *)FUN_14003e840(0x68); + } + else { + puVar6 = (undefined8 *)(**(code **)(*plVar2 + 8))(plVar2,0x68); + } + if (puVar6 != (undefined8 *)0x0) { + FUN_1400d4ab0((undefined4 *)(puVar6 + 2),(undefined4 *)(plVar4 + 2)); + puVar6[9] = plVar4[9]; + puVar6[10] = plVar4[10]; + puVar6[0xb] = plVar4[0xb]; + *(int *)(puVar6 + 0xc) = (int)plVar4[0xc]; + } + puVar6[1] = uVar3; + *puVar6 = 0; + param_1[0x15] = param_1[0x15] + 1; + if ((undefined8 *)param_1[0x14] == (undefined8 *)0x0) { + param_1[0x13] = puVar6; + } + else { + *(undefined8 *)param_1[0x14] = puVar6; + } + param_1[0x14] = puVar6; + } + plVar2 = (longlong *)*plVar4; + if (plVar4 == (longlong *)param_1[0xf]) { + param_1[0xf] = plVar2; + } + else { + *(longlong **)plVar4[1] = plVar2; + } + if (plVar4 == (longlong *)param_1[0x10]) { + param_1[0x10] = plVar4[1]; + } + else { + *(longlong *)(*plVar4 + 8) = plVar4[1]; + } + if (plVar4[6] != 0) { + plVar1 = (longlong *)(plVar4[6] + 8); + *plVar1 = *plVar1 + -1; + if (*plVar1 == 0) { + FUN_1400512a0((longlong)(plVar4 + 6),(longlong *)plVar4[6]); + } + } + FUN_14008a320(plVar4 + 3); + if (plVar4[4] != 0) { + if (*(int *)((longlong)plVar4 + 0x2c) < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + *(undefined4 *)(plVar4 + 5) = 0; + } + plVar1 = (longlong *)param_1[0xe]; + if (plVar1 == (longlong *)0x0) { + FUN_14003e8b0(plVar4); + } + else { + (**(code **)(*plVar1 + 0x10))(plVar1,plVar4); + } + param_1[0x11] = param_1[0x11] + -1; + plVar4 = plVar2; + } + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d5200.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d5200.c new file mode 100644 index 00000000..18368f2e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d5200.c @@ -0,0 +1,192 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d5200 FUN_1400d5200 + * Pseudocode, not original source. */ + +void FUN_1400d5200(undefined8 *param_1,longlong *param_2,longlong *param_3,undefined8 param_4) + +{ + uint uVar1; + undefined8 uVar2; + int iVar3; + undefined8 *puVar4; + longlong *_Dst; + longlong lVar5; + char cVar6; + uint uVar7; + longlong *plVar8; + uint uVar9; + ulonglong uVar10; + ulonglong uVar11; + longlong *plVar12; + double dVar13; + longlong *local_80; + longlong *local_78; + undefined8 local_70; + longlong *local_68; + undefined8 local_60; + undefined4 local_58; + undefined4 local_54; + undefined8 local_50; + undefined8 local_48; + undefined8 local_40; + undefined4 local_38; + + cVar6 = (char)param_2; + dVar13 = (double)(**(code **)(**(longlong **)*param_1 + 0x18)) + (*(longlong **)*param_1,param_2,param_3,param_4,0xfffffffffffffffe); + if ((((cVar6 != '\0') || (iVar3 = (**(code **)(**(longlong **)*param_1 + 0x20))(), iVar3 == 0)) || + (DAT_1401712b8 < dVar13 - (double)param_1[4])) && + (param_1[4] = dVar13, 0 < (longlong)param_1[0xd])) { + plVar12 = (longlong *)0x0; + do { + local_60 = (**(code **)(**(longlong **)*param_1 + 0x38))(); + local_70 = 0; + local_78 = (longlong *)0x0; + local_80 = (longlong *)0x0; + local_68 = (longlong *)0x0; + local_54 = 0; + local_40 = 0; + local_50 = 0; + local_48 = 0; + local_38 = 0; + uVar1 = *(uint *)(param_1 + 1); + *(uint *)(param_1 + 1) = uVar1 + 1; + uVar9 = DAT_14017c898; + if ((int)(uint)param_1[0xd] <= (int)DAT_14017c898) { + uVar9 = (uint)param_1[0xd]; + } + local_80 = (longlong *)FUN_14008a360((ulonglong)uVar1,param_2,(SIZE_T)param_3); + local_80[5] = 1; + if ((int)uVar9 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (local_78 == (longlong *)0x0) { + if ((int)uVar9 < 1) { + if (local_80 == (longlong *)0x0) goto LAB_1400d533b; + param_3 = local_80; + uVar7 = 0; + } + else { + uVar7 = uVar9; + if (local_80 == (longlong *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,param_2,param_3,param_4); + } + } + FUN_14002a050((longlong)local_80,uVar7,(SIZE_T)param_3); + } + else { + if (local_70._4_4_ < (int)uVar9) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + local_70 = CONCAT44(local_70._4_4_,uVar9); + } +LAB_1400d533b: + plVar8 = plVar12; + if (*(int *)(param_1 + 10) != 0) { + plVar8 = (longlong *)param_1[9]; + } + plVar8 = (longlong *)((longlong)plVar8 + param_1[0xc]); + _Dst = local_78; + if (local_78 == (longlong *)0x0) { + if (local_80 == (longlong *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(0,plVar8,0,param_4); + } + _Dst = plVar12; + if ((int)local_80[3] != 0) { + _Dst = (longlong *)local_80[2]; + } + } + param_2 = (longlong *)(longlong)(int)uVar9; + if (param_2 < (longlong *)0x21) { + uVar10 = (ulonglong)(uVar9 & 7); + for (uVar11 = (ulonglong)param_2 >> 3; uVar11 != 0; uVar11 = uVar11 - 1) { + *_Dst = *plVar8; + _Dst = _Dst + 1; + plVar8 = plVar8 + 1; + } + param_4 = 0; + param_3 = (longlong *)0x0; + if (uVar10 != 0) { + lVar5 = (longlong)_Dst - (longlong)plVar8; + do { + *(char *)(lVar5 + (longlong)plVar8) = (char)*plVar8; + plVar8 = (longlong *)((longlong)plVar8 + 1); + uVar10 = uVar10 - 1; + } while (uVar10 != 0); + param_3 = (longlong *)0x0; + } + } + else { + param_3 = param_2; + memcpy(_Dst,plVar8,(size_t)param_2); + } + uVar2 = param_1[0x10]; + plVar8 = (longlong *)param_1[0xe]; + if (plVar8 == (longlong *)0x0) { + puVar4 = (undefined8 *)FUN_14003e840(0x68); + } + else { + puVar4 = (undefined8 *)(**(code **)(*plVar8 + 8))(plVar8,0x68); + } + if (puVar4 != (undefined8 *)0x0) { + *(undefined4 *)(puVar4 + 2) = 1; + *(uint *)((longlong)puVar4 + 0x14) = uVar1; + puVar4[5] = 0; + puVar4[4] = 0; + if (local_80 == (longlong *)0x0) { + puVar4[3] = 0; + *(int *)((longlong)puVar4 + 0x2c) = local_70._4_4_; + puVar4[4] = local_78; + *(undefined4 *)(puVar4 + 5) = (undefined4)local_70; + } + else { + local_80[5] = local_80[5] + 1; + puVar4[3] = local_80; + } + puVar4[7] = local_60; + plVar8 = plVar12; + if (local_68 != (longlong *)0x0) { + local_68[1] = local_68[1] + 1; + plVar8 = local_68; + } + puVar4[6] = plVar8; + *(undefined4 *)(puVar4 + 8) = local_58; + *(undefined4 *)((longlong)puVar4 + 0x44) = local_54; + puVar4[9] = local_50; + puVar4[10] = local_48; + puVar4[0xb] = local_40; + *(undefined4 *)(puVar4 + 0xc) = local_38; + } + puVar4[1] = uVar2; + *puVar4 = 0; + param_1[0x11] = param_1[0x11] + 1; + if ((undefined8 *)param_1[0x10] == (undefined8 *)0x0) { + param_1[0xf] = puVar4; + } + else { + *(undefined8 *)param_1[0x10] = puVar4; + } + param_1[0x10] = puVar4; + FUN_14009ad20(param_1 + 6,(longlong)param_2,param_3,param_4); + if (local_68 != (longlong *)0x0) { + plVar8 = local_68 + 1; + *plVar8 = *plVar8 + -1; + if (*plVar8 == 0) { + param_2 = local_68; + FUN_1400512a0((longlong)&local_68,local_68); + } + } + FUN_14008a320((longlong *)&local_80); + if ((local_78 != (longlong *)0x0) && (local_70 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + } while (0 < (longlong)param_1[0xd]); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d5560.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d5560.c new file mode 100644 index 00000000..2190d60e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d5560.c @@ -0,0 +1,44 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d5560 FUN_1400d5560 + * Pseudocode, not original source. */ + +undefined8 * +FUN_1400d5560(undefined8 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong lVar1; + undefined4 uVar2; + + uVar2 = (undefined4)param_3; + lVar1 = (longlong)DAT_14016f0ec; + FUN_14009aa30(param_1 + 6,lVar1); + param_1[0xe] = 0; + param_1[0x11] = 0; + param_1[0xf] = 0; + param_1[0x10] = 0; + FUN_1400dc820(param_1 + 0xe,lVar1,param_3,param_4); + param_1[0x12] = 0; + param_1[0x15] = 0; + param_1[0x13] = 0; + param_1[0x14] = 0; + FUN_1400dc820(param_1 + 0x12,lVar1,param_3,param_4); + param_1[4] = 0; + param_1[2] = 0; + param_1[3] = 0; + param_1[0x16] = 0; + *(undefined4 *)(param_1 + 0x17) = 0; + *(undefined4 *)((longlong)param_1 + 0xbc) = DAT_140171294; + param_1[0x18] = 0; + *(undefined4 *)(param_1 + 0x19) = DAT_140171294; + *(undefined4 *)((longlong)param_1 + 0x2c) = DAT_14017c8a0; + *(undefined4 *)((longlong)param_1 + 0xc) = DAT_140171294; + *(undefined4 *)(param_1 + 1) = uVar2; + *param_1 = param_2; + *(undefined4 *)(param_1 + 0x1b) = 0; + param_1[0x1a] = 0; + *(undefined4 *)((longlong)param_1 + 0xdc) = uVar2; + param_1[0x1c] = 0; + *(undefined4 *)(param_1 + 5) = 0; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d5660.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d5660.c new file mode 100644 index 00000000..1b7f918e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d5660.c @@ -0,0 +1,26 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d5660 FUN_1400d5660 + * Pseudocode, not original source. */ + +/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ + +void FUN_1400d5660(undefined8 *param_1,float param_2,longlong *param_3,undefined8 param_4) + +{ + int iVar1; + + FUN_1400d4a10(param_1); + param_1[2] = (double)param_2 + (double)param_1[2]; + param_1[3] = (double)param_2 + (double)param_1[3]; + iVar1 = DAT_14017c8a0; + if ((double)*(int *)((longlong)param_1 + 0xc) < (double)*(int *)(param_1 + 0x19) * _DAT_1401712b0) + { + iVar1 = (int)(double)*(int *)((longlong)param_1 + 0xc) + 1; + } + *(int *)((longlong)param_1 + 0x2c) = iVar1; + FUN_1400d5200(param_1,(longlong *)0x0,param_3,param_4); + FUN_1400d4bb0(param_1,(double)param_2); + FUN_1400d4f60(param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d5700.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d5700.c new file mode 100644 index 00000000..e001f56e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d5700.c @@ -0,0 +1,49 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d5700 FUN_1400d5700 + * Pseudocode, not original source. */ + +int FUN_1400d5700(byte *param_1,int param_2,undefined *param_3) + +{ + clock_t cVar1; + int iVar2; + int iVar3; + byte bVar4; + byte bVar5; + byte bVar6; + int iVar7; + + bVar4 = 0; + bVar5 = 0; + iVar7 = param_2; + while (iVar7 != 0) { + iVar3 = 8; + bVar6 = 0; + iVar7 = iVar7 + -1; + if (param_3 != (undefined *)0x0) { + (*(code *)param_3)(); + } + do { + iVar3 = iVar3 + -1; + do { + cVar1 = clock(); + iVar2 = clock(); + while (cVar1 == iVar2) { + bVar5 = bVar5 ^ 1; + iVar2 = clock(); + } + cVar1 = clock(); + iVar2 = clock(); + while (cVar1 == iVar2) { + bVar4 = bVar4 ^ 1; + iVar2 = clock(); + } + } while (bVar5 == bVar4); + bVar6 = bVar6 * '\x02' | bVar5; + } while (iVar3 != 0); + *param_1 = bVar6; + param_1 = param_1 + 1; + } + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d57e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d57e0.c new file mode 100644 index 00000000..fd356e90 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d57e0.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d57e0 FUN_1400d57e0 + * Pseudocode, not original source. */ + +DWORD FUN_1400d57e0(BYTE *param_1,DWORD param_2) + +{ + BOOL BVar1; + HCRYPTPROV local_res18 [2]; + + local_res18[0] = 0; + BVar1 = CryptAcquireContextW + (local_res18,(LPCWSTR)0x0,L"Microsoft Base Cryptographic Provider v1.0",1, + 0xf0000020); + if ((BVar1 == 0) && + (BVar1 = CryptAcquireContextW + (local_res18,(LPCWSTR)0x0,L"Microsoft Base Cryptographic Provider v1.0",1, + 0xf0000028), BVar1 == 0)) { + return 0; + } + BVar1 = CryptGenRandom(local_res18[0],param_2,param_1); + if (BVar1 != 1) { + CryptReleaseContext(local_res18[0],0); + return 0; + } + CryptReleaseContext(local_res18[0],0); + return param_2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d5890.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d5890.c new file mode 100644 index 00000000..47c35226 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d5890.c @@ -0,0 +1,19 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d5890 FUN_1400d5890 + * Pseudocode, not original source. */ + +DWORD FUN_1400d5890(byte *param_1,DWORD param_2,undefined *param_3) + +{ + DWORD DVar1; + + if (param_1 == (byte *)0x0) { + return 0x10; + } + DVar1 = FUN_1400d57e0(param_1,param_2); + if (DVar1 == 0) { + DVar1 = FUN_1400d5700(param_1,param_2,param_3); + } + return DVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d58f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d58f0.c new file mode 100644 index 00000000..8ad3e677 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d58f0.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d58f0 FUN_1400d58f0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400d58f0(uint param_1) + +{ + EnterCriticalSection((LPCRITICAL_SECTION)&DAT_14017d440); + if ((param_1 < 0x20) && ((&DAT_140179540)[(longlong)(int)param_1 * 10] != 0)) { + LeaveCriticalSection((LPCRITICAL_SECTION)&DAT_14017d440); + return 0; + } + LeaveCriticalSection((LPCRITICAL_SECTION)&DAT_14017d440); + return 0xc; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d5950.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d5950.c new file mode 100644 index 00000000..94ad951a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d5950.c @@ -0,0 +1,97 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d5950 FUN_1400d5950 + * Pseudocode, not original source. */ + +ulonglong FUN_1400d5950(longlong param_1,undefined4 param_2,void *param_3,uint *param_4,int param_5, + int *param_6) + +{ + uint uVar1; + int iVar2; + uint uVar3; + uint uVar4; + ulonglong uVar5; + longlong local_res8; + undefined8 local_28; + undefined8 local_20; + + if (((param_1 == 0) || (param_3 == (void *)0x0)) || (param_4 == (uint *)0x0)) { + return 0x10; + } + if (param_6 == (int *)0x0) { + return 0x10; + } + if (param_5 == 1) { + if (*param_6 != 1) { + return 0xf; + } + } + else if (param_5 != 0) { + return 0x12; + } + uVar5 = FUN_1400da7f0(&local_res8); + if ((int)uVar5 != 0) { + return uVar5; + } + uVar1 = (*DAT_14017d520)(local_res8,param_1,param_2); + uVar5 = (ulonglong)uVar1; + if (uVar1 == 0) { + iVar2 = (*DAT_14017d4d8)(*(undefined8 *)(param_6 + 6),local_res8); + if (iVar2 == -1) { + uVar5 = 0x16; + } + else { + if (param_5 == 1) { + uVar1 = (*DAT_14017d5c0)(local_res8,*(undefined8 *)(param_6 + 0xe), + *(undefined8 *)(param_6 + 8),local_20); + uVar5 = (ulonglong)uVar1; + if (uVar1 != 0) goto LAB_1400d5b60; + uVar1 = (*DAT_14017d5c0)(local_res8,*(undefined8 *)(param_6 + 0x10), + *(undefined8 *)(param_6 + 10),local_28); + uVar5 = (ulonglong)uVar1; + if (uVar1 != 0) goto LAB_1400d5b60; + uVar1 = (*DAT_14017d538)(local_20,local_28,local_res8); + uVar5 = (ulonglong)uVar1; + if (uVar1 != 0) goto LAB_1400d5b60; + uVar1 = (*DAT_14017d588)(local_res8,*(undefined8 *)(param_6 + 0xc), + *(undefined8 *)(param_6 + 8),local_res8); + uVar5 = (ulonglong)uVar1; + if (uVar1 != 0) goto LAB_1400d5b60; + uVar1 = (*DAT_14017d548)(local_res8,*(undefined8 *)(param_6 + 10),local_res8); + uVar5 = (ulonglong)uVar1; + if (uVar1 != 0) goto LAB_1400d5b60; + uVar1 = (*DAT_14017d528)(local_res8,local_28,local_res8); + } + else { + uVar1 = (*DAT_14017d5c0)(local_res8,*(undefined8 *)(param_6 + 2), + *(undefined8 *)(param_6 + 6),local_res8); + } + uVar5 = (ulonglong)uVar1; + if (uVar1 == 0) { + uVar1 = (*DAT_14017d510)(*(undefined8 *)(param_6 + 6)); + if (*param_4 < uVar1) { + *param_4 = uVar1; + uVar5 = 6; + } + else { + uVar3 = (*DAT_14017d510)(local_res8); + uVar4 = (*DAT_14017d510)(*(undefined8 *)(param_6 + 6)); + if (uVar4 < uVar3) { + uVar5 = 1; + } + else { + *param_4 = uVar1; + FUN_1400da7d0(param_3,(ulonglong)uVar1); + iVar2 = (*DAT_14017d510)(local_res8); + uVar1 = (*DAT_14017d518)(local_res8,(ulonglong)(uVar1 - iVar2) + (longlong)param_3); + uVar5 = (ulonglong)uVar1; + } + } + } + } + } +LAB_1400d5b60: + FUN_1400da880(local_res8); + return uVar5; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d5ba0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d5ba0.c new file mode 100644 index 00000000..8bea0e03 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d5ba0.c @@ -0,0 +1,28 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d5ba0 FUN_1400d5ba0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400d5ba0(undefined4 *param_1) + +{ + void *pvVar1; + longlong lVar2; + longlong lVar3; + + pvVar1 = malloc(0x80); + *(void **)(param_1 + 4) = pvVar1; + if (pvVar1 == (void *)0x0) { + return 0xfffffffe; + } + lVar2 = 0; + do { + lVar3 = lVar2 + 8; + *(undefined4 *)(lVar2 + *(longlong *)(param_1 + 4)) = 0; + *(undefined4 *)(lVar2 + 4 + *(longlong *)(param_1 + 4)) = 0; + lVar2 = lVar3; + } while (lVar3 < 0x80); + *param_1 = 0; + *(undefined8 *)(param_1 + 1) = 0x20; + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d5c00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d5c00.c new file mode 100644 index 00000000..e3542c6e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d5c00.c @@ -0,0 +1,32 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d5c00 FUN_1400d5c00 + * Pseudocode, not original source. */ + +void FUN_1400d5c00(int *param_1) + +{ + uint uVar1; + ulonglong uVar3; + ulonglong uVar2; + + if (*(longlong *)(param_1 + 4) != 0) { + uVar2 = 0; + uVar3 = uVar2; + if (0 < *param_1) { + do { + uVar1 = (int)uVar2 + 1; + uVar2 = (ulonglong)uVar1; + *(undefined4 *)(uVar3 + *(longlong *)(param_1 + 4)) = 0; + uVar3 = uVar3 + 4; + } while ((int)uVar1 < *param_1); + } + free(*(void **)(param_1 + 4)); + param_1[4] = 0; + param_1[5] = 0; + param_1[0] = 0; + param_1[1] = 0; + param_1[2] = 0; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d5c60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d5c60.c new file mode 100644 index 00000000..6a634f55 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d5c60.c @@ -0,0 +1,21 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d5c60 FUN_1400d5c60 + * Pseudocode, not original source. */ + +undefined8 FUN_1400d5c60(uint *param_1,uint *param_2) + +{ + uint uVar1; + undefined8 uVar2; + + if ((param_1 != param_2) && (uVar2 = FUN_1400d5ca0(param_1,param_2), (int)uVar2 != 0)) { + return uVar2; + } + uVar1 = 0; + if (*param_2 != 0) { + uVar1 = (uint)(param_1[2] == 0); + } + param_2[2] = uVar1; + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d5ca0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d5ca0.c new file mode 100644 index 00000000..30726cd9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d5ca0.c @@ -0,0 +1,44 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d5ca0 FUN_1400d5ca0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400d5ca0(uint *param_1,uint *param_2) + +{ + undefined8 uVar1; + int iVar2; + undefined4 *puVar3; + undefined4 *puVar4; + undefined4 *puVar5; + + if (param_1 != param_2) { + if (((int)param_2[1] < (int)*param_1) && + (uVar1 = FUN_1400ddb60((longlong)param_2,*param_1), (int)uVar1 != 0)) { + return uVar1; + } + puVar5 = *(undefined4 **)(param_1 + 4); + puVar4 = *(undefined4 **)(param_2 + 4); + iVar2 = 0; + puVar3 = puVar4; + if (0 < (int)*param_1) { + do { + iVar2 = iVar2 + 1; + puVar4 = puVar3 + 1; + *puVar3 = *puVar5; + puVar5 = puVar5 + 1; + puVar3 = puVar4; + } while (iVar2 < (int)*param_1); + } + if (iVar2 < (int)*param_2) { + do { + *puVar4 = 0; + iVar2 = iVar2 + 1; + puVar4 = puVar4 + 1; + } while (iVar2 < (int)*param_2); + } + *param_2 = *param_1; + param_2[2] = param_1[2]; + } + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d5d30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d5d30.c new file mode 100644 index 00000000..9f87de3d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d5d30.c @@ -0,0 +1,28 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d5d30 FUN_1400d5d30 + * Pseudocode, not original source. */ + +undefined8 FUN_1400d5d30(uint *param_1,uint param_2) + +{ + uint uVar1; + undefined8 uVar2; + int iVar3; + + FUN_1400ddd40(param_1); + iVar3 = 0; + do { + uVar2 = FUN_1400ddc40(param_1,4,param_1); + if ((int)uVar2 != 0) { + return uVar2; + } + iVar3 = iVar3 + 1; + uVar1 = param_2 >> 0x1c; + param_2 = param_2 << 4; + **(uint **)(param_1 + 4) = **(uint **)(param_1 + 4) | uVar1; + *param_1 = *param_1 + 1; + } while (iVar3 < 8); + FUN_1400ddc00((int *)param_1); + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d5df0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d5df0.c new file mode 100644 index 00000000..be9c3943 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d5df0.c @@ -0,0 +1,28 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d5df0 FUN_1400d5df0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400d5df0(int *param_1,int *param_2) + +{ + int iVar1; + undefined8 uVar2; + int *piVar3; + + iVar1 = param_1[2]; + if (iVar1 != param_2[2]) { + uVar2 = 1; + if (iVar1 == 1) { + uVar2 = 0xffffffff; + } + return uVar2; + } + piVar3 = param_1; + if (iVar1 == 1) { + piVar3 = param_2; + param_2 = param_1; + } + uVar2 = FUN_1400ddd70(piVar3,param_2); + return uVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d5e20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d5e20.c new file mode 100644 index 00000000..2238274c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d5e20.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d5e20 FUN_1400d5e20 + * Pseudocode, not original source. */ + +int FUN_1400d5e20(int *param_1,uint param_2) + +{ + if (param_1[2] == 1) { + return -1; + } + if ((*param_1 < 2) && (**(uint **)(param_1 + 4) <= param_2)) { + return -(uint)(**(uint **)(param_1 + 4) < param_2); + } + return 1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d5e50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d5e50.c new file mode 100644 index 00000000..5e38505f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d5e50.c @@ -0,0 +1,23 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d5e50 FUN_1400d5e50 + * Pseudocode, not original source. */ + +int FUN_1400d5e50(int *param_1) + +{ + int iVar1; + int iVar2; + uint uVar3; + + iVar1 = *param_1; + if (iVar1 != 0) { + iVar2 = iVar1 * 0x1c + -0x1c; + for (uVar3 = *(uint *)(*(longlong *)(param_1 + 4) + -4 + (longlong)iVar1 * 4); uVar3 != 0; + uVar3 = uVar3 >> 1) { + iVar2 = iVar2 + 1; + } + return iVar2; + } + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d5e80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d5e80.c new file mode 100644 index 00000000..3a0d6720 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d5e80.c @@ -0,0 +1,37 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d5e80 FUN_1400d5e80 + * Pseudocode, not original source. */ + +int FUN_1400d5e80(int *param_1) + +{ + uint uVar1; + int *piVar2; + uint uVar3; + int iVar4; + int iVar5; + + iVar5 = *param_1; + if (iVar5 == 0) { + return 0; + } + iVar4 = 0; + if (0 < iVar5) { + piVar2 = *(int **)(param_1 + 4); + do { + if (*piVar2 != 0) break; + iVar4 = iVar4 + 1; + piVar2 = piVar2 + 1; + } while (iVar4 < iVar5); + } + iVar5 = iVar4 * 0x1c; + uVar1 = *(uint *)(*(longlong *)(param_1 + 4) + (longlong)iVar4 * 4); + uVar3 = uVar1 & 1; + while (uVar3 == 0) { + uVar3 = uVar1 & 0xf; + iVar5 = iVar5 + *(int *)(&DAT_140125710 + (ulonglong)uVar3 * 4); + uVar1 = uVar1 >> 4; + } + return iVar5; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d5ef0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d5ef0.c new file mode 100644 index 00000000..43cf2209 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d5ef0.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d5ef0 FUN_1400d5ef0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400d5ef0(uint *param_1,int param_2) + +{ + int iVar1; + undefined8 uVar2; + + FUN_1400ddd40(param_1); + iVar1 = param_2 / 0x1c; + uVar2 = FUN_1400ddb60((longlong)param_1,iVar1 + 1U); + if ((int)uVar2 == 0) { + *param_1 = iVar1 + 1U; + *(int *)(*(longlong *)(param_1 + 4) + (longlong)iVar1 * 4) = + 1 << ((char)param_2 + (char)iVar1 * -0x1c & 0x1fU); + uVar2 = 0; + } + return uVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d5f70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d5f70.c new file mode 100644 index 00000000..96f152d6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d5f70.c @@ -0,0 +1,56 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d5f70 FUN_1400d5f70 + * Pseudocode, not original source. */ + +ulonglong FUN_1400d5f70(int *param_1,char *param_2,uint param_3) + +{ + char *pcVar1; + char cVar2; + int iVar3; + longlong lVar4; + ulonglong uVar5; + uint uVar6; + char cVar7; + + FUN_1400ddd40(param_1); + if (0x3e < param_3 - 2) { + return 0xfffffffd; + } + cVar2 = *param_2; + if (cVar2 == '-') { + param_2 = param_2 + 1; + } + FUN_1400ddd40(param_1); + cVar7 = *param_2; + while (cVar7 != '\0') { + if ((int)param_3 < 0x24) { + iVar3 = toupper((int)cVar7); + cVar7 = (char)iVar3; + } + uVar6 = 0; + lVar4 = 0; + do { + if (cVar7 == PTR_s_0123456789ABCDEFGHIJKLMNOPQRSTUV_1401712d0[lVar4]) break; + lVar4 = lVar4 + 1; + uVar6 = uVar6 + 1; + } while (lVar4 < 0x40); + if ((int)param_3 <= (int)uVar6) break; + uVar5 = FUN_1400d6710(param_1,param_3,param_1); + if ((int)uVar5 != 0) { + return uVar5; + } + uVar5 = FUN_1400d6360(param_1,uVar6,param_1); + if ((int)uVar5 != 0) { + return uVar5; + } + pcVar1 = param_2 + 1; + param_2 = param_2 + 1; + cVar7 = *pcVar1; + } + if (*param_1 != 0) { + param_1[2] = (uint)(cVar2 == '-'); + } + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d6070.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d6070.c new file mode 100644 index 00000000..9c64859a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d6070.c @@ -0,0 +1,49 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d6070 FUN_1400d6070 + * Pseudocode, not original source. */ + +ulonglong FUN_1400d6070(uint *param_1,undefined2 *param_2,uint param_3) + +{ + undefined2 *puVar1; + ulonglong uVar2; + int iVar3; + uint local_res18 [4]; + uint local_38 [2]; + int local_30; + + if (0x3e < param_3 - 2) { + return 0xfffffffd; + } + if (*param_1 != 0) { + uVar2 = FUN_1400ddfa0(local_38,param_1); + if ((int)uVar2 == 0) { + iVar3 = 0; + puVar1 = param_2; + if (local_30 == 1) { + puVar1 = (undefined2 *)((longlong)param_2 + 1); + *(undefined1 *)param_2 = 0x2d; + local_30 = 0; + param_2 = puVar1; + } + while (local_38[0] != 0) { + uVar2 = FUN_1400dde20(local_38,param_3,local_38,local_res18); + if ((int)uVar2 != 0) { + FUN_1400d5c00((int *)local_38); + return uVar2 & 0xffffffff; + } + iVar3 = iVar3 + 1; + *(undefined *)puVar1 = PTR_s_0123456789ABCDEFGHIJKLMNOPQRSTUV_1401712d0[local_res18[0]]; + puVar1 = (undefined2 *)((longlong)puVar1 + 1); + } + FUN_1400dddd0((undefined1 *)param_2,iVar3); + *(undefined1 *)puVar1 = 0; + FUN_1400d5c00((int *)local_38); + uVar2 = 0; + } + return uVar2; + } + *param_2 = 0x30; + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d6170.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d6170.c new file mode 100644 index 00000000..5b94c285 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d6170.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d6170 FUN_1400d6170 + * Pseudocode, not original source. */ + +int FUN_1400d6170(int *param_1) + +{ + uint uVar1; + + uVar1 = FUN_1400d5e50(param_1); + return ((int)(uVar1 + ((int)uVar1 >> 0x1f & 7U)) >> 3) + (uint)((uVar1 & 7) != 0); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d61a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d61a0.c new file mode 100644 index 00000000..84db355a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d61a0.c @@ -0,0 +1,35 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d61a0 FUN_1400d61a0 + * Pseudocode, not original source. */ + +ulonglong FUN_1400d61a0(uint *param_1,undefined1 *param_2) + +{ + ulonglong uVar1; + ulonglong uVar2; + int iVar3; + undefined1 *puVar4; + uint local_28 [4]; + undefined1 *local_18; + + uVar1 = FUN_1400ddfa0(local_28,param_1); + if ((int)uVar1 == 0) { + iVar3 = 0; + puVar4 = param_2; + do { + if (local_28[0] == 0) { + FUN_1400dddd0(param_2,iVar3); + FUN_1400d5c00((int *)local_28); + return 0; + } + iVar3 = iVar3 + 1; + *puVar4 = *local_18; + puVar4 = puVar4 + 1; + uVar2 = FUN_1400ddfd0(local_28,8,local_28,(undefined8 *)0x0); + uVar1 = uVar2 & 0xffffffff; + } while ((int)uVar2 == 0); + FUN_1400d5c00((int *)local_28); + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d6250.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d6250.c new file mode 100644 index 00000000..6a70520b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d6250.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d6250 FUN_1400d6250 + * Pseudocode, not original source. */ + +undefined8 FUN_1400d6250(uint *param_1,byte *param_2,int param_3) + +{ + byte bVar1; + undefined8 uVar2; + + if ((1 < (int)param_1[1]) || (uVar2 = FUN_1400ddb60((longlong)param_1,2), (int)uVar2 == 0)) { + FUN_1400ddd40(param_1); + while (0 < param_3) { + param_3 = param_3 + -1; + uVar2 = FUN_1400ddc40(param_1,8,param_1); + if ((int)uVar2 != 0) { + return uVar2; + } + bVar1 = *param_2; + param_2 = param_2 + 1; + **(uint **)(param_1 + 4) = **(uint **)(param_1 + 4) | (uint)bVar1; + *param_1 = *param_1 + 1; + } + FUN_1400ddc00((int *)param_1); + uVar2 = 0; + } + return uVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d62e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d62e0.c new file mode 100644 index 00000000..f8feb9da --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d62e0.c @@ -0,0 +1,34 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d62e0 FUN_1400d62e0 + * Pseudocode, not original source. */ + +void FUN_1400d62e0(uint *param_1,uint *param_2,uint *param_3) + +{ + uint uVar1; + uint uVar2; + undefined8 uVar3; + uint *puVar4; + + uVar1 = param_1[2]; + uVar2 = param_2[2]; + if (uVar1 == uVar2) { + param_3[2] = uVar1; + FUN_1400de250(param_1,param_2,param_3); + } + else { + uVar3 = FUN_1400ddd70((int *)param_1,(int *)param_2); + if ((int)uVar3 == -1) { + param_3[2] = uVar2; + puVar4 = param_2; + } + else { + param_3[2] = uVar1; + puVar4 = param_1; + param_1 = param_2; + } + FUN_1400de150(puVar4,param_1,param_3); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d6360.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d6360.c new file mode 100644 index 00000000..663fac48 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d6360.c @@ -0,0 +1,69 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d6360 FUN_1400d6360 + * Pseudocode, not original source. */ + +ulonglong FUN_1400d6360(int *param_1,uint param_2,int *param_3) + +{ + int iVar1; + int iVar2; + ulonglong uVar3; + int iVar4; + uint uVar5; + uint *puVar6; + uint *puVar7; + int *piVar8; + + if ((param_3[1] < (int)(*param_1 + 1U)) && + (uVar3 = FUN_1400ddb60((longlong)param_3,*param_1 + 1U), (int)uVar3 != 0)) { + return uVar3; + } + if ((param_1[2] == 1) && ((1 < *param_1 || (param_2 <= **(uint **)(param_1 + 4))))) { + param_1[2] = 0; + uVar3 = FUN_1400d6520(param_1,param_2,param_3); + param_3[2] = 1; + param_1[2] = 1; + FUN_1400ddc00(param_3); + return uVar3 & 0xffffffff; + } + iVar1 = *param_3; + puVar6 = *(uint **)(param_3 + 4); + param_3[2] = 0; + piVar8 = *(int **)(param_1 + 4); + iVar4 = 1; + if (param_1[2] == 0) { + iVar2 = *piVar8; + puVar7 = puVar6 + 1; + *puVar6 = param_2 + iVar2 & 0xfffffff; + uVar5 = param_2 + iVar2 >> 0x1c; + puVar6 = puVar7; + if (1 < *param_1) { + do { + piVar8 = piVar8 + 1; + iVar2 = *piVar8; + iVar4 = iVar4 + 1; + puVar7 = puVar6 + 1; + *puVar6 = uVar5 + iVar2 & 0xfffffff; + uVar5 = uVar5 + iVar2 >> 0x1c; + puVar6 = puVar7; + } while (iVar4 < *param_1); + } + *puVar7 = uVar5; + iVar4 = iVar4 + 1; + *param_3 = *param_1 + 1; + puVar6 = puVar7; + } + else { + *param_3 = 1; + if (*param_1 == 1) { + param_2 = param_2 - **(int **)(param_1 + 4); + } + *puVar6 = param_2; + } + if (iVar4 < iVar1) { + memset(puVar6 + 1,0,(ulonglong)(uint)(iVar1 - iVar4) << 2); + } + FUN_1400ddc00(param_3); + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d64a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d64a0.c new file mode 100644 index 00000000..882ddc0e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d64a0.c @@ -0,0 +1,32 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d64a0 FUN_1400d64a0 + * Pseudocode, not original source. */ + +void FUN_1400d64a0(uint *param_1,uint *param_2,uint *param_3) + +{ + uint uVar1; + undefined8 uVar2; + uint *puVar3; + + uVar1 = param_1[2]; + if (uVar1 == param_2[2]) { + uVar2 = FUN_1400ddd70((int *)param_1,(int *)param_2); + if ((int)uVar2 == -1) { + param_3[2] = (uint)(uVar1 == 0); + puVar3 = param_2; + param_2 = param_1; + } + else { + param_3[2] = uVar1; + puVar3 = param_1; + } + FUN_1400de150(puVar3,param_2,param_3); + } + else { + param_3[2] = uVar1; + FUN_1400de250(param_1,param_2,param_3); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d6520.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d6520.c new file mode 100644 index 00000000..0c3276ad --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d6520.c @@ -0,0 +1,67 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d6520 FUN_1400d6520 + * Pseudocode, not original source. */ + +ulonglong FUN_1400d6520(int *param_1,uint param_2,int *param_3) + +{ + int iVar1; + uint uVar2; + ulonglong uVar3; + uint *puVar4; + uint *_Dst; + int iVar5; + uint *puVar6; + + if (((int)(*param_1 + 1U) <= param_3[1]) || + (uVar3 = FUN_1400ddb60((longlong)param_3,*param_1 + 1U), (int)uVar3 == 0)) { + if (param_1[2] == 1) { + param_1[2] = 0; + uVar3 = FUN_1400d6360(param_1,param_2,param_3); + param_3[2] = 1; + param_1[2] = 1; + FUN_1400ddc00(param_3); + return uVar3 & 0xffffffff; + } + iVar5 = *param_1; + iVar1 = *param_3; + puVar6 = *(uint **)(param_1 + 4); + puVar4 = *(uint **)(param_3 + 4); + if (((iVar5 == 1) && (*puVar6 <= param_2)) || (iVar5 == 0)) { + if (iVar5 == 1) { + param_2 = param_2 - *puVar6; + } + *puVar4 = param_2; + iVar5 = 1; + _Dst = puVar4 + 1; + param_3[2] = 1; + *param_3 = 1; + } + else { + param_3[2] = 0; + iVar5 = 1; + *param_3 = *param_1; + _Dst = puVar4 + 1; + uVar2 = *puVar6 - param_2; + *puVar4 = uVar2 & 0xfffffff; + puVar4 = _Dst; + if (1 < *param_1) { + do { + puVar6 = puVar6 + 1; + iVar5 = iVar5 + 1; + _Dst = puVar4 + 1; + uVar2 = *puVar6 + ((int)uVar2 >> 0x1f); + *puVar4 = uVar2 & 0xfffffff; + puVar4 = _Dst; + } while (iVar5 < *param_1); + } + } + if (iVar5 < iVar1) { + memset(_Dst,0,(ulonglong)(uint)(iVar1 - iVar5) << 2); + } + FUN_1400ddc00(param_3); + uVar3 = 0; + } + return uVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d6660.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d6660.c new file mode 100644 index 00000000..e64d61dc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d6660.c @@ -0,0 +1,56 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d6660 FUN_1400d6660 + * Pseudocode, not original source. */ + +void FUN_1400d6660(uint *param_1,uint *param_2,uint *param_3) + +{ + uint uVar1; + uint uVar2; + uint uVar3; + uint uVar4; + uint uVar5; + uint uVar6; + + uVar1 = param_2[2]; + uVar6 = *param_2; + uVar2 = param_1[2]; + uVar3 = *param_1; + uVar5 = 0; + uVar4 = uVar6; + if ((int)uVar3 < (int)uVar6) { + uVar4 = uVar3; + } + if ((int)uVar4 < DAT_1401712e0) { + uVar4 = uVar6; + if ((int)uVar3 < (int)uVar6) { + uVar4 = uVar3; + } + if ((int)uVar4 < DAT_1401712d8) { + uVar4 = uVar6 + 1 + uVar3; + if ((int)uVar4 < 0x200) { + if ((int)uVar3 < (int)uVar6) { + uVar6 = uVar3; + } + if ((int)uVar6 < 0x101) { + FUN_1400de4e0((int *)param_1,(int *)param_2,param_3,uVar4); + goto LAB_1400d66f2; + } + } + FUN_1400de380(param_1,param_2,param_3,uVar4); + } + else { + FUN_1400de680((int *)param_1,(int *)param_2,param_3); + } + } + else { + FUN_1400de960(param_1,param_2,param_3); + } +LAB_1400d66f2: + if (0 < (int)*param_3) { + uVar5 = (uint)(uVar2 != uVar1); + } + param_3[2] = uVar5; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d6710.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d6710.c new file mode 100644 index 00000000..1fa20f83 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d6710.c @@ -0,0 +1,50 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d6710 FUN_1400d6710 + * Pseudocode, not original source. */ + +undefined8 FUN_1400d6710(int *param_1,uint param_2,int *param_3) + +{ + int iVar1; + uint uVar2; + uint uVar3; + undefined8 uVar4; + ulonglong uVar5; + uint *puVar6; + uint *puVar7; + uint *puVar8; + + if (((int)(*param_1 + 1U) <= param_3[1]) || + (uVar4 = FUN_1400ddb60((longlong)param_3,*param_1 + 1U), (int)uVar4 == 0)) { + iVar1 = *param_3; + puVar7 = *(uint **)(param_3 + 4); + param_3[2] = param_1[2]; + puVar8 = *(uint **)(param_1 + 4); + uVar2 = 0; + uVar5 = 0; + puVar6 = puVar7; + uVar3 = uVar2; + if (0 < *param_1) { + do { + uVar3 = *puVar8; + uVar2 = uVar2 + 1; + puVar8 = puVar8 + 1; + puVar7 = puVar6 + 1; + uVar5 = (ulonglong)uVar3 * (ulonglong)param_2 + (uVar5 & 0xffffffff); + *puVar6 = (uint)uVar5 & 0xfffffff; + uVar5 = uVar5 >> 0x1c; + uVar3 = (uint)uVar5; + puVar6 = puVar7; + } while ((int)uVar2 < *param_1); + } + *puVar7 = uVar3; + if ((int)(uVar2 + 1) < iVar1) { + memset(puVar7 + 1,0,(ulonglong)(iVar1 - (uVar2 + 1)) << 2); + } + *param_3 = *param_1 + 1; + FUN_1400ddc00(param_3); + uVar4 = 0; + } + return uVar4; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d67d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d67d0.c new file mode 100644 index 00000000..6cfcb52b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d67d0.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d67d0 FUN_1400d67d0 + * Pseudocode, not original source. */ + +void FUN_1400d67d0(uint *param_1,uint *param_2) + +{ + uint uVar1; + + uVar1 = *param_1; + if (DAT_1401712e4 <= (int)uVar1) { + FUN_1400df680(param_1,param_2); + param_2[2] = 0; + return; + } + if (DAT_1401712dc <= (int)uVar1) { + FUN_1400df440((int *)param_1,param_2); + param_2[2] = 0; + return; + } + if (((int)(uVar1 * 2 + 1) < 0x200) && ((int)uVar1 < 0x80)) { + FUN_1400df270((int *)param_1,(int *)param_2); + param_2[2] = 0; + return; + } + FUN_1400df100((int *)param_1,(undefined8 *)param_2); + param_2[2] = 0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d6850.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d6850.c new file mode 100644 index 00000000..41b6c643 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d6850.c @@ -0,0 +1,214 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d6850 FUN_1400d6850 + * Pseudocode, not original source. */ + +ulonglong FUN_1400d6850(uint *param_1,uint *param_2,undefined8 *param_3,uint *param_4) + +{ + int *piVar1; + uint uVar2; + uint uVar3; + int iVar4; + undefined8 uVar5; + ulonglong uVar6; + undefined4 uVar7; + undefined4 uVar8; + ulonglong uVar9; + longlong lVar10; + longlong lVar11; + int iVar12; + longlong lVar13; + uint local_d8 [2]; + uint local_d0; + longlong local_c8; + uint local_c0; + uint local_bc; + uint local_b8 [2]; + undefined4 local_b0; + longlong local_a8; + uint local_a0 [4]; + undefined4 *local_90; + int local_88 [4]; + longlong local_78; + uint local_70; + int local_68 [4]; + undefined4 *local_58; + + if (*param_2 == 0) { + return 0xfffffffd; + } + uVar5 = FUN_1400ddd70((int *)param_1,(int *)param_2); + if ((int)uVar5 == -1) { + uVar6 = 0; + if (param_4 != (uint *)0x0) { + uVar6 = FUN_1400d5ca0(param_1,param_4); + uVar6 = uVar6 & 0xffffffff; + } + if (param_3 != (undefined8 *)0x0) { + FUN_1400ddd40((undefined4 *)param_3); + } + return uVar6; + } + uVar6 = FUN_1400dfd80(local_88,*param_1 + 2); + if ((int)uVar6 != 0) { + return uVar6; + } + local_88[0] = *param_1 + 2; + uVar6 = FUN_1400d5ba0(local_a0); + uVar9 = uVar6 & 0xffffffff; + if ((int)uVar6 != 0) goto LAB_1400d6d59; + uVar6 = FUN_1400d5ba0(local_68); + uVar9 = uVar6 & 0xffffffff; + if ((int)uVar6 == 0) { + uVar3 = FUN_1400ddfa0(local_d8,param_1); + uVar9 = (ulonglong)uVar3; + if (uVar3 == 0) { + uVar3 = FUN_1400ddfa0(local_b8,param_2); + uVar9 = (ulonglong)uVar3; + if (uVar3 == 0) { + local_b0 = 0; + local_d0 = 0; + local_70 = (uint)(param_1[2] != param_2[2]); + iVar4 = FUN_1400d5e50((int *)local_b8); + if (iVar4 % 0x1c < 0x1b) { + uVar3 = 0x1b - iVar4 % 0x1c; + local_c0 = uVar3; + uVar6 = FUN_1400ddc40(local_d8,uVar3,local_d8); + uVar9 = uVar6 & 0xffffffff; + if ((int)uVar6 == 0) { + uVar6 = FUN_1400ddc40(local_b8,uVar3,local_b8); + uVar9 = uVar6 & 0xffffffff; + if ((int)uVar6 == 0) goto LAB_1400d69ca; + } + } + else { + local_c0 = 0; +LAB_1400d69ca: + iVar4 = local_b8[0] - 1; + iVar12 = local_d8[0] - 1; + uVar6 = FUN_1400dfcf0((int *)local_b8,iVar12 - iVar4); + uVar9 = uVar6 & 0xffffffff; + if ((int)uVar6 == 0) { + lVar11 = (longlong)iVar12; + lVar13 = (longlong)iVar4; + uVar5 = FUN_1400d5df0((int *)local_d8,(int *)local_b8); + if ((int)uVar5 != -1) { + do { + piVar1 = (int *)(local_78 + (lVar11 - lVar13) * 4); + *piVar1 = *piVar1 + 1; + uVar3 = FUN_1400d64a0(local_d8,local_b8,local_d8); + uVar9 = (ulonglong)uVar3; + if (uVar3 != 0) goto LAB_1400d6d35; + uVar5 = FUN_1400d5df0((int *)local_d8,(int *)local_b8); + } while ((int)uVar5 != -1); + } + FUN_1400dfc70((int *)local_b8,iVar12 - iVar4); + local_bc = local_b8[0]; + uVar3 = local_b8[0]; + if ((int)local_b8[0] <= iVar12) { + do { + if (iVar12 <= (int)local_d8[0]) { + uVar3 = *(uint *)(local_c8 + lVar11 * 4); + uVar2 = *(uint *)(local_a8 + lVar13 * 4); + if (uVar3 == uVar2) { + lVar10 = (lVar11 - lVar13) * 4 + -4; + *(undefined4 *)(lVar10 + local_78) = 0xfffffff; + } + else { + uVar6 = ((ulonglong)uVar3 << 0x1c | + (ulonglong)*(uint *)(local_c8 + -4 + lVar11 * 4)) / (ulonglong)uVar2; + if (0xfffffff < uVar6) { + uVar6 = 0xfffffff; + } + lVar10 = (lVar11 - lVar13) * 4 + -4; + *(uint *)(lVar10 + local_78) = (uint)uVar6 & 0xfffffff; + } + *(uint *)(lVar10 + local_78) = *(int *)(lVar10 + local_78) + 1U & 0xfffffff; + do { + *(uint *)(lVar10 + local_78) = *(int *)(lVar10 + local_78) - 1U & 0xfffffff; + FUN_1400ddd40(local_a0); + uVar7 = 0; + if (-1 < (int)(local_b8[0] - 2)) { + uVar7 = *(undefined4 *)(local_a8 + -4 + lVar13 * 4); + } + *local_90 = uVar7; + local_90[1] = *(undefined4 *)(local_a8 + lVar13 * 4); + local_a0[0] = 2; + uVar6 = FUN_1400d6710((int *)local_a0,*(uint *)(lVar10 + local_78), + (int *)local_a0); + uVar9 = uVar6 & 0xffffffff; + if ((int)uVar6 != 0) goto LAB_1400d6d35; + uVar7 = 0; + uVar8 = uVar7; + if (-1 < iVar12 + -2) { + uVar8 = *(undefined4 *)(local_c8 + -8 + lVar11 * 4); + } + *local_58 = uVar8; + if (-1 < iVar12 + -1) { + uVar7 = *(undefined4 *)(local_c8 + -4 + lVar11 * 4); + } + local_58[1] = uVar7; + local_58[2] = *(undefined4 *)(local_c8 + lVar11 * 4); + local_68[0] = 3; + uVar5 = FUN_1400ddd70((int *)local_a0,local_68); + } while ((int)uVar5 == 1); + uVar6 = FUN_1400d6710((int *)local_b8,*(uint *)(lVar10 + local_78),(int *)local_a0 + ); + uVar9 = uVar6 & 0xffffffff; + if ((int)uVar6 != 0) goto LAB_1400d6d35; + uVar6 = FUN_1400dfcf0((int *)local_a0,(iVar12 - iVar4) - 1); + uVar9 = uVar6 & 0xffffffff; + if ((int)uVar6 != 0) goto LAB_1400d6d35; + uVar3 = FUN_1400d64a0(local_d8,local_a0,local_d8); + uVar9 = (ulonglong)uVar3; + if (uVar3 != 0) goto LAB_1400d6d35; + uVar3 = local_bc; + if (local_d0 == 1) { + uVar6 = FUN_1400d5ca0(local_b8,local_a0); + uVar9 = uVar6 & 0xffffffff; + if ((int)uVar6 != 0) goto LAB_1400d6d35; + uVar6 = FUN_1400dfcf0((int *)local_a0,(iVar12 - iVar4) - 1); + uVar9 = uVar6 & 0xffffffff; + if ((int)uVar6 != 0) goto LAB_1400d6d35; + uVar3 = FUN_1400d62e0(local_d8,local_a0,local_d8); + uVar9 = (ulonglong)uVar3; + if (uVar3 != 0) goto LAB_1400d6d35; + *(uint *)(lVar10 + local_78) = *(int *)(lVar10 + local_78) - 1U & 0xfffffff; + uVar3 = local_bc; + } + } + iVar12 = iVar12 + -1; + lVar11 = lVar11 + -1; + } while ((int)uVar3 <= iVar12); + } + if (local_d8[0] == 0) { + local_d0 = 0; + } + else { + local_d0 = param_1[2]; + } + if (param_3 != (undefined8 *)0x0) { + FUN_1400ddc00(local_88); + FUN_1400dfc40((undefined8 *)local_88,param_3); + *(uint *)(param_3 + 1) = local_70; + } + if (param_4 != (uint *)0x0) { + FUN_1400ddfd0(local_d8,local_c0,local_d8,(undefined8 *)0x0); + FUN_1400dfc40((undefined8 *)local_d8,(undefined8 *)param_4); + } + uVar9 = 0; + } + } +LAB_1400d6d35: + FUN_1400d5c00((int *)local_b8); + } + FUN_1400d5c00((int *)local_d8); + } + FUN_1400d5c00(local_68); + } + FUN_1400d5c00((int *)local_a0); +LAB_1400d6d59: + FUN_1400d5c00(local_88); + return uVar9; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d6d80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d6d80.c new file mode 100644 index 00000000..9ea28084 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d6d80.c @@ -0,0 +1,44 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d6d80 FUN_1400d6d80 + * Pseudocode, not original source. */ + +undefined8 FUN_1400d6d80(uint *param_1,uint *param_2) + +{ + uint uVar1; + uint uVar2; + uint uVar3; + uint *puVar4; + undefined8 uVar5; + uint uVar6; + uint *puVar7; + uint uVar8; + + if (((int)*param_1 <= (int)param_2[1]) || + (uVar5 = FUN_1400ddb60((longlong)param_2,*param_1), (int)uVar5 == 0)) { + uVar1 = *param_1; + uVar2 = *param_2; + uVar6 = 0; + *param_2 = uVar1; + puVar7 = (uint *)(*(longlong *)(param_1 + 4) + -4 + (longlong)(int)uVar1 * 4); + puVar4 = (uint *)(*(longlong *)(param_2 + 4) + -4 + (longlong)(int)uVar1 * 4); + while (uVar1 = uVar1 - 1, -1 < (int)uVar1) { + uVar3 = *puVar7; + uVar8 = uVar6 << 0x1b; + puVar7 = puVar7 + -1; + uVar6 = uVar3 & 1; + *puVar4 = uVar3 >> 1 | uVar8; + puVar4 = puVar4 + -1; + } + uVar1 = *param_2; + if ((int)uVar1 < (int)uVar2) { + memset((void *)(*(longlong *)(param_2 + 4) + (longlong)(int)uVar1 * 4),0, + (ulonglong)(uVar2 - uVar1) << 2); + } + param_2[2] = param_1[2]; + FUN_1400ddc00((int *)param_2); + uVar5 = 0; + } + return uVar5; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d6e30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d6e30.c new file mode 100644 index 00000000..6248b901 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d6e30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d6e30 FUN_1400d6e30 + * Pseudocode, not original source. */ + +void FUN_1400d6e30(uint *param_1,uint param_2,uint *param_3) + +{ + FUN_1400dde20(param_1,param_2,(uint *)0x0,param_3); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d6e40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d6e40.c new file mode 100644 index 00000000..ac92d174 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d6e40.c @@ -0,0 +1,90 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d6e40 FUN_1400d6e40 + * Pseudocode, not original source. */ + +ulonglong FUN_1400d6e40(uint *param_1,uint *param_2,uint *param_3) + +{ + uint uVar1; + uint uVar2; + uint uVar3; + ulonglong uVar4; + ulonglong uVar5; + undefined8 uVar6; + uint local_48 [2]; + uint local_40; + uint local_30 [2]; + uint local_28; + + if (*param_1 == 0) { + uVar4 = FUN_1400dfe30(param_2,param_3); + return uVar4; + } + if (*param_2 == 0) { + uVar4 = FUN_1400dfe30(param_1,param_3); + return uVar4; + } + uVar4 = FUN_1400ddfa0(local_30,param_1); + if ((int)uVar4 != 0) { + return uVar4; + } + uVar1 = FUN_1400ddfa0(local_48,param_2); + uVar4 = (ulonglong)uVar1; + if (uVar1 != 0) goto LAB_1400d6fff; + local_40 = uVar1; + local_28 = uVar1; + uVar2 = FUN_1400d5e80((int *)local_30); + uVar3 = FUN_1400d5e80((int *)local_48); + uVar1 = uVar3; + if ((int)uVar2 < (int)uVar3) { + uVar1 = uVar2; + } + if ((int)uVar1 < 1) { +LAB_1400d6f1f: + if (uVar2 != uVar1) { + uVar5 = FUN_1400ddfd0(local_30,uVar2 - uVar1,local_30,(undefined8 *)0x0); + uVar4 = uVar5 & 0xffffffff; + if ((int)uVar5 != 0) goto LAB_1400d6fe4; + } + if (uVar3 != uVar1) { + uVar5 = FUN_1400ddfd0(local_48,uVar3 - uVar1,local_48,(undefined8 *)0x0); + uVar4 = uVar5 & 0xffffffff; + if ((int)uVar5 != 0) goto LAB_1400d6fe4; + } + do { + if (local_48[0] == 0) { + uVar5 = FUN_1400ddc40(local_30,uVar1,param_3); + uVar4 = uVar5 & 0xffffffff; + if ((int)uVar5 == 0) { + param_3[2] = 0; + } + break; + } + uVar6 = FUN_1400ddd70((int *)local_30,(int *)local_48); + if ((int)uVar6 == 1) { + FUN_1400dfc40((undefined8 *)local_30,(undefined8 *)local_48); + } + uVar5 = FUN_1400de150(local_48,local_30,local_48); + uVar4 = uVar5 & 0xffffffff; + if ((int)uVar5 != 0) break; + uVar2 = FUN_1400d5e80((int *)local_48); + uVar5 = FUN_1400ddfd0(local_48,uVar2,local_48,(undefined8 *)0x0); + uVar4 = uVar5 & 0xffffffff; + } while ((int)uVar5 == 0); + } + else { + uVar5 = FUN_1400ddfd0(local_30,uVar1,local_30,(undefined8 *)0x0); + uVar4 = uVar5 & 0xffffffff; + if ((int)uVar5 == 0) { + uVar5 = FUN_1400ddfd0(local_48,uVar1,local_48,(undefined8 *)0x0); + uVar4 = uVar5 & 0xffffffff; + if ((int)uVar5 == 0) goto LAB_1400d6f1f; + } + } +LAB_1400d6fe4: + FUN_1400d5c00((int *)local_30); +LAB_1400d6fff: + FUN_1400d5c00((int *)local_48); + return uVar4; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d7020.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d7020.c new file mode 100644 index 00000000..5e6c0719 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d7020.c @@ -0,0 +1,42 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d7020 FUN_1400d7020 + * Pseudocode, not original source. */ + +ulonglong FUN_1400d7020(uint *param_1,uint *param_2,uint *param_3) + +{ + int iVar1; + uint uVar2; + ulonglong uVar3; + ulonglong uVar4; + undefined8 uVar5; + uint local_38 [6]; + uint local_20 [6]; + + uVar3 = FUN_1400dfea0((int *)local_20); + if ((int)uVar3 == 0) { + uVar4 = FUN_1400d6e40(param_1,param_2,local_20); + uVar3 = uVar4 & 0xffffffff; + if ((int)uVar4 == 0) { + uVar5 = FUN_1400ddd70((int *)param_1,(int *)param_2); + if ((int)uVar5 == -1) { + uVar3 = FUN_1400d6850(param_1,local_20,(undefined8 *)local_38,(uint *)0x0); + iVar1 = (int)uVar3; + param_1 = param_2; + } + else { + uVar3 = FUN_1400d6850(param_2,local_20,(undefined8 *)local_38,(uint *)0x0); + iVar1 = (int)uVar3; + } + uVar3 = uVar3 & 0xffffffff; + if (iVar1 == 0) { + uVar2 = FUN_1400d6660(param_1,local_38,param_3); + param_3[2] = 0; + uVar3 = (ulonglong)uVar2; + } + } + FUN_1400dfe60((int *)local_20); + } + return uVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d70f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d70f0.c new file mode 100644 index 00000000..8114370d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d70f0.c @@ -0,0 +1,24 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d70f0 FUN_1400d70f0 + * Pseudocode, not original source. */ + +ulonglong FUN_1400d70f0(uint *param_1,uint *param_2,uint *param_3,uint *param_4) + +{ + uint uVar1; + ulonglong uVar2; + uint local_28 [8]; + + uVar2 = FUN_1400d5ba0(local_28); + if ((int)uVar2 == 0) { + uVar1 = FUN_1400d6660(param_1,param_2,local_28); + uVar2 = (ulonglong)uVar1; + if (uVar1 == 0) { + uVar2 = FUN_1400dff20(local_28,param_3,param_4); + uVar2 = uVar2 & 0xffffffff; + } + FUN_1400d5c00((int *)local_28); + } + return uVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d7170.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d7170.c new file mode 100644 index 00000000..d88ddb3d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d7170.c @@ -0,0 +1,24 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d7170 FUN_1400d7170 + * Pseudocode, not original source. */ + +ulonglong FUN_1400d7170(uint *param_1,uint *param_2,uint *param_3) + +{ + uint uVar1; + ulonglong uVar2; + uint local_28 [8]; + + uVar2 = FUN_1400d5ba0(local_28); + if ((int)uVar2 == 0) { + uVar1 = FUN_1400d67d0(param_1,local_28); + uVar2 = (ulonglong)uVar1; + if (uVar1 == 0) { + uVar2 = FUN_1400dff20(local_28,param_2,param_3); + uVar2 = uVar2 & 0xffffffff; + } + FUN_1400d5c00((int *)local_28); + } + return uVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d71e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d71e0.c new file mode 100644 index 00000000..a4de758b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d71e0.c @@ -0,0 +1,20 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d71e0 FUN_1400d71e0 + * Pseudocode, not original source. */ + +ulonglong FUN_1400d71e0(uint *param_1,uint *param_2,undefined8 *param_3) + +{ + ulonglong uVar1; + + if ((param_2[2] == 1) || (*param_2 == 0)) { + return 0xfffffffd; + } + if ((0 < (int)*param_2) && ((**(byte **)(param_2 + 4) & 1) != 0)) { + uVar1 = FUN_1400e0420(param_1,param_2,param_3); + return uVar1; + } + uVar1 = FUN_1400dffd0(param_1,param_2,param_3); + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d7210.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d7210.c new file mode 100644 index 00000000..1bde9870 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d7210.c @@ -0,0 +1,21 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d7210 FUN_1400d7210 + * Pseudocode, not original source. */ + +undefined8 FUN_1400d7210(longlong param_1,uint *param_2) + +{ + uint uVar1; + int iVar2; + + uVar1 = **(uint **)(param_1 + 0x10); + if ((uVar1 & 1) == 0) { + return 0xfffffffd; + } + iVar2 = (uVar1 * 2 + 4 & 8) + uVar1; + iVar2 = iVar2 * (2 - iVar2 * uVar1); + iVar2 = iVar2 * (2 - iVar2 * uVar1); + *param_2 = -((2 - iVar2 * uVar1) * iVar2) & 0xfffffff; + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d7270.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d7270.c new file mode 100644 index 00000000..707fd7ea --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d7270.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d7270 FUN_1400d7270 + * Pseudocode, not original source. */ + +undefined8 FUN_1400d7270(uint *param_1,uint *param_2) + +{ + int iVar1; + undefined8 uVar2; + + iVar1 = FUN_1400d5e50((int *)param_2); + iVar1 = iVar1 % 0x1c; + if ((int)*param_2 < 2) { + iVar1 = 1; + FUN_1400e07a0(param_1,1); + } + else { + uVar2 = FUN_1400d5ef0(param_1,*param_2 * 0x1c + -0x1d + iVar1); + if ((int)uVar2 != 0) { + return uVar2; + } + } + iVar1 = iVar1 + -1; + while( true ) { + if (0x1b < iVar1) { + return 0; + } + uVar2 = FUN_1400e06f0((int *)param_1,(int *)param_1); + if ((int)uVar2 != 0) break; + uVar2 = FUN_1400ddd70((int *)param_1,(int *)param_2); + if (((int)uVar2 != -1) && (uVar2 = FUN_1400de150(param_1,param_2,param_1), (int)uVar2 != 0)) { + return uVar2; + } + iVar1 = iVar1 + 1; + } + return uVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d7340.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d7340.c new file mode 100644 index 00000000..0c985795 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d7340.c @@ -0,0 +1,73 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d7340 FUN_1400d7340 + * Pseudocode, not original source. */ + +undefined8 FUN_1400d7340(uint *param_1,uint *param_2,int param_3) + +{ + int iVar1; + undefined8 uVar2; + ulonglong uVar3; + uint *puVar4; + uint *puVar5; + int iVar6; + uint *puVar7; + uint uVar8; + int iVar9; + longlong lVar10; + + uVar8 = *param_2 * 2 + 1; + if (((int)uVar8 < 0x200) && ((int)*param_2 < 0x100)) { + uVar2 = FUN_1400e07e0(param_1,param_2,param_3); + return uVar2; + } + if (((int)uVar8 <= (int)param_1[1]) || + (uVar2 = FUN_1400ddb60((longlong)param_1,uVar8), (int)uVar2 == 0)) { + *param_1 = uVar8; + uVar8 = *param_2; + iVar9 = 0; + if (0 < (int)uVar8) { + lVar10 = 0; + do { + puVar7 = *(uint **)(param_2 + 4); + iVar1 = *(int *)(lVar10 + *(longlong *)(param_1 + 4)); + uVar3 = 0; + iVar6 = 0; + if (0 < (int)uVar8) { + puVar4 = (uint *)(*(longlong *)(param_1 + 4) + (longlong)iVar9 * 4); + do { + uVar8 = *puVar7; + iVar6 = iVar6 + 1; + puVar5 = puVar4 + 1; + puVar7 = puVar7 + 1; + uVar3 = (ulonglong)uVar8 * (ulonglong)(iVar1 * param_3 & 0xfffffff) + (ulonglong)*puVar4 + + (uVar3 & 0xffffffff); + *puVar4 = (uint)uVar3 & 0xfffffff; + uVar3 = uVar3 >> 0x1c; + puVar4 = puVar5; + } while (iVar6 < (int)*param_2); + for (uVar8 = (uint)uVar3; uVar8 != 0; uVar8 = uVar8 >> 0x1c) { + *puVar5 = *puVar5 + (int)uVar3; + uVar8 = *puVar5; + *puVar5 = *puVar5 & 0xfffffff; + puVar5 = puVar5 + 1; + uVar3 = (ulonglong)(uVar8 >> 0x1c); + } + } + uVar8 = *param_2; + iVar9 = iVar9 + 1; + lVar10 = lVar10 + 4; + } while (iVar9 < (int)uVar8); + } + FUN_1400ddc00((int *)param_1); + FUN_1400dfc70((int *)param_1,*param_2); + uVar2 = FUN_1400ddd70((int *)param_1,(int *)param_2); + if ((int)uVar2 != -1) { + uVar2 = FUN_1400de150(param_1,param_2,param_1); + return uVar2; + } + uVar2 = 0; + } + return uVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d74b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d74b0.c new file mode 100644 index 00000000..2dced143 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d74b0.c @@ -0,0 +1,59 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d74b0 FUN_1400d74b0 + * Pseudocode, not original source. */ + +void FUN_1400d74b0(uint *param_1,uint *param_2,uint *param_3,undefined8 *param_4) + +{ + bool bVar1; + int iVar2; + undefined8 uVar3; + ulonglong uVar4; + undefined7 extraout_var; + uint local_38 [6]; + uint local_20 [6]; + + if (param_3[2] != 1) { + if (param_2[2] == 1) { + uVar3 = FUN_1400d5ba0(local_38); + if ((int)uVar3 == 0) { + uVar4 = FUN_1400d71e0(param_1,param_3,(undefined8 *)local_38); + if (((int)uVar4 == 0) && (uVar3 = FUN_1400d5ba0(local_20), (int)uVar3 == 0)) { + uVar3 = FUN_1400dfe30(param_2,local_20); + if ((int)uVar3 == 0) { + FUN_1400d74b0(local_38,local_20,param_3,param_4); + FUN_1400dfe60((int *)local_38); + } + else { + FUN_1400dfe60((int *)local_38); + } + } + else { + FUN_1400d5c00((int *)local_38); + } + } + } + else { + bVar1 = FUN_1400e1620(param_3); + if ((int)CONCAT71(extraout_var,bVar1) == 1) { + iVar2 = 1; + } + else { + uVar3 = FUN_1400e1060((int *)param_3); + iVar2 = (int)uVar3; + if (iVar2 == 0) { + uVar3 = FUN_1400e0ff0((int *)param_3); + iVar2 = (int)uVar3 * 2; + } + if (((0 < (int)*param_3) && ((**(byte **)(param_3 + 4) & 1) != 0)) || (iVar2 != 0)) { + FUN_1400e0a30(param_1,(int *)param_2,param_3,param_4,iVar2); + return; + } + iVar2 = 0; + } + FUN_1400e10a0(param_1,(int *)param_2,param_3,param_4,iVar2); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d7610.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d7610.c new file mode 100644 index 00000000..4c127ee9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d7610.c @@ -0,0 +1,57 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d7610 FUN_1400d7610 + * Pseudocode, not original source. */ + +ulonglong FUN_1400d7610(uint *param_1,int param_2,undefined4 *param_3) + +{ + int iVar1; + ulonglong uVar2; + ulonglong uVar3; + longlong lVar4; + uint *puVar5; + int local_res10 [2]; + uint local_48 [8]; + + lVar4 = 0; + *param_3 = 0; + if (0xff < param_2 - 1U) { + return 0xfffffffd; + } + puVar5 = &DAT_14012a420; + do { + iVar1 = FUN_1400d5e20((int *)param_1,*puVar5); + if (iVar1 == 0) { + *param_3 = 1; + goto LAB_1400d771c; + } + puVar5 = puVar5 + 1; + } while ((longlong)puVar5 < 0x14012a820); + uVar2 = FUN_1400e1830(param_1,local_res10); + if ((int)uVar2 == 0) { + if (local_res10[0] == 1) { +LAB_1400d771c: + uVar2 = 0; + } + else { + uVar2 = FUN_1400d5ba0(local_48); + if ((int)uVar2 == 0) { + uVar2 = uVar2 & 0xffffffff; + if (0 < (longlong)param_2) { + do { + FUN_1400e07a0(local_48,(&DAT_14012a420)[lVar4]); + uVar3 = FUN_1400e1670(param_1,local_48,local_res10); + uVar2 = uVar3 & 0xffffffff; + if (((int)uVar3 != 0) || (local_res10[0] == 0)) goto LAB_1400d76ec; + lVar4 = lVar4 + 1; + } while (lVar4 < param_2); + } + *param_3 = 1; +LAB_1400d76ec: + FUN_1400d5c00((int *)local_48); + } + } + } + return uVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d7730.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d7730.c new file mode 100644 index 00000000..4369b27c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d7730.c @@ -0,0 +1,204 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d7730 FUN_1400d7730 + * Pseudocode, not original source. */ + +undefined8 FUN_1400d7730(undefined1 *param_1,int param_2,int param_3,uint *param_4) + +{ + byte bVar1; + byte bVar2; + uint3 uVar3; + uint uVar4; + uint *puVar5; + uint *puVar6; + uint *puVar7; + int iVar8; + uint uVar9; + uint *puVar10; + + if ((param_1 == (undefined1 *)0x0) || (param_4 == (uint *)0x0)) { + return 0x10; + } + if (((param_2 != 0x10) && (param_2 != 0x18)) && (param_2 != 0x20)) { + return 3; + } + if ((param_3 != 0) && (param_3 != ((int)(param_2 + (param_2 >> 0x1f & 7U)) >> 3) * 2 + 6)) { + return 4; + } + puVar5 = param_4 + 1; + param_4[0x78] = ((int)(param_2 + (param_2 >> 0x1f & 7U)) >> 3) * 2 + 6; + uVar4 = CONCAT31(CONCAT21(CONCAT11(*param_1,param_1[1]),param_1[2]),param_1[3]); + *param_4 = uVar4; + *puVar5 = CONCAT31(CONCAT21(CONCAT11(param_1[4],param_1[5]),param_1[6]),param_1[7]); + param_4[2] = CONCAT31(CONCAT21(CONCAT11(param_1[8],param_1[9]),param_1[10]),param_1[0xb]); + bVar1 = param_1[0xc]; + uVar3 = CONCAT21(CONCAT11(bVar1,param_1[0xd]),param_1[0xe]); + bVar2 = param_1[0xf]; + uVar9 = CONCAT31(uVar3,bVar2); + param_4[3] = uVar9; + if (param_2 == 0x10) { + uVar4 = *(uint *)(&DAT_1401274d0 + (ulonglong)bVar1 * 4) ^ + *(uint *)(&DAT_1401280d0 + (ulonglong)((uVar3 & 0xff00) >> 8) * 4) ^ + *(uint *)(&DAT_140127cd0 + (ulonglong)(uVar3 & 0xff) * 4) ^ + *(uint *)(&DAT_1401278d0 + (ulonglong)bVar2 * 4) ^ uVar4 ^ 0x1000000; + param_4[4] = uVar4; + uVar4 = uVar4 ^ *puVar5; + param_4[5] = uVar4; + uVar4 = uVar4 ^ param_4[2]; + param_4[6] = uVar4; + param_4[7] = uVar4 ^ uVar9; + puVar7 = &DAT_14012a0d4; + do { + uVar4 = puVar5[6]; + puVar6 = puVar7 + 1; + uVar4 = *(uint *)(&DAT_1401274d0 + (ulonglong)(uVar4 >> 0x18) * 4) ^ + *(uint *)(&DAT_1401280d0 + (ulonglong)(uVar4 >> 0x10 & 0xff) * 4) ^ + *(uint *)(&DAT_140127cd0 + (ulonglong)(uVar4 >> 8 & 0xff) * 4) ^ + *(uint *)(&DAT_1401278d0 + (ulonglong)(uVar4 & 0xff) * 4) ^ puVar5[3] ^ *puVar7; + puVar5[7] = uVar4; + uVar4 = uVar4 ^ puVar5[4]; + puVar5[8] = uVar4; + uVar4 = puVar5[5] ^ uVar4; + puVar5[9] = uVar4; + puVar5[10] = uVar4 ^ puVar5[6]; + puVar7 = puVar6; + puVar5 = puVar5 + 4; + } while (puVar6 != (uint *)"sha256"); + } + else if (param_2 == 0x18) { + param_4[4] = CONCAT31(CONCAT21(CONCAT11(param_1[0x10],param_1[0x11]),param_1[0x12]), + param_1[0x13]); + bVar1 = param_1[0x14]; + uVar3 = CONCAT21(CONCAT11(bVar1,param_1[0x15]),param_1[0x16]); + bVar2 = param_1[0x17]; + param_4[5] = CONCAT31(uVar3,bVar2); + uVar4 = *(uint *)(&DAT_1401274d0 + (ulonglong)bVar1 * 4) ^ + *(uint *)(&DAT_1401280d0 + (ulonglong)((uVar3 & 0xff00) >> 8) * 4) ^ + *(uint *)(&DAT_140127cd0 + (ulonglong)(uVar3 & 0xff) * 4) ^ + *(uint *)(&DAT_1401278d0 + (ulonglong)bVar2 * 4) ^ uVar4 ^ 0x1000000; + param_4[6] = uVar4; + uVar4 = uVar4 ^ *puVar5; + param_4[7] = uVar4; + uVar4 = uVar4 ^ param_4[2]; + param_4[8] = uVar4; + param_4[9] = uVar4 ^ param_4[3]; + puVar5 = &DAT_14012a0d4; + puVar7 = param_4 + 10; + do { + puVar6 = puVar5 + 1; + *puVar7 = puVar7[-6] ^ puVar7[-1]; + puVar7[1] = puVar7[-5] ^ puVar7[-6] ^ puVar7[-1]; + uVar4 = param_4[((-0x28 - (longlong)param_4) + (longlong)(puVar7 + 6) >> 2) + 5]; + uVar4 = *(uint *)(&DAT_1401274d0 + (ulonglong)(uVar4 >> 0x18) * 4) ^ + *(uint *)(&DAT_1401280d0 + (ulonglong)(uVar4 >> 0x10 & 0xff) * 4) ^ + *(uint *)(&DAT_140127cd0 + (ulonglong)(uVar4 >> 8 & 0xff) * 4) ^ + *(uint *)(&DAT_1401278d0 + (ulonglong)(uVar4 & 0xff) * 4) ^ puVar7[-4] ^ *puVar5; + puVar7[2] = uVar4; + uVar4 = puVar7[-3] ^ uVar4; + puVar7[3] = uVar4; + uVar4 = puVar7[-2] ^ uVar4; + puVar7[4] = uVar4; + puVar7[5] = puVar7[-1] ^ uVar4; + puVar5 = puVar6; + puVar7 = puVar7 + 6; + } while (puVar6 != (uint *)&DAT_14012a0f0); + } + else { + if (param_2 != 0x20) { + return 1; + } + param_4[4] = CONCAT31(CONCAT21(CONCAT11(param_1[0x10],param_1[0x11]),param_1[0x12]), + param_1[0x13]); + param_4[5] = CONCAT31(CONCAT21(CONCAT11(param_1[0x14],param_1[0x15]),param_1[0x16]), + param_1[0x17]); + param_4[6] = CONCAT31(CONCAT21(CONCAT11(param_1[0x18],param_1[0x19]),param_1[0x1a]), + param_1[0x1b]); + bVar1 = param_1[0x1c]; + uVar3 = CONCAT21(CONCAT11(bVar1,param_1[0x1d]),param_1[0x1e]); + bVar2 = param_1[0x1f]; + param_4[7] = CONCAT31(uVar3,bVar2); + uVar4 = *(uint *)(&DAT_1401274d0 + (ulonglong)bVar1 * 4) ^ + *(uint *)(&DAT_1401280d0 + (ulonglong)((uVar3 & 0xff00) >> 8) * 4) ^ + *(uint *)(&DAT_140127cd0 + (ulonglong)(uVar3 & 0xff) * 4) ^ + *(uint *)(&DAT_1401278d0 + (ulonglong)bVar2 * 4) ^ uVar4 ^ 0x1000000; + param_4[8] = uVar4; + uVar4 = uVar4 ^ *puVar5; + param_4[9] = uVar4; + uVar4 = uVar4 ^ param_4[2]; + param_4[10] = uVar4; + param_4[0xb] = uVar4 ^ param_4[3]; + puVar5 = &DAT_14012a0d4; + puVar7 = param_4 + 0xc; + do { + uVar4 = puVar7[-1]; + puVar6 = puVar5 + 1; + uVar9 = *(uint *)(&DAT_1401274d0 + (ulonglong)(uVar4 & 0xff) * 4) ^ + *(uint *)(&DAT_1401280d0 + (ulonglong)(uVar4 >> 0x18) * 4) ^ + *(uint *)(&DAT_140127cd0 + (ulonglong)((uVar4 >> 8 & 0xff00) >> 8) * 4) ^ + *(uint *)(&DAT_1401278d0 + (ulonglong)(uVar4 >> 8 & 0xff) * 4) ^ puVar7[-8]; + uVar4 = puVar7[-7] ^ uVar9; + *puVar7 = uVar9; + puVar7[1] = uVar4; + uVar4 = puVar7[-6] ^ uVar4; + puVar7[2] = uVar4; + puVar7[3] = puVar7[-5] ^ uVar4; + uVar4 = param_4[((-0x30 - (longlong)param_4) + (longlong)(puVar7 + 8) >> 2) + 7]; + uVar4 = *(uint *)(&DAT_1401274d0 + (ulonglong)(uVar4 >> 0x18) * 4) ^ + *(uint *)(&DAT_1401280d0 + (ulonglong)(uVar4 >> 0x10 & 0xff) * 4) ^ + *(uint *)(&DAT_140127cd0 + (ulonglong)(uVar4 >> 8 & 0xff) * 4) ^ + *(uint *)(&DAT_1401278d0 + (ulonglong)(uVar4 & 0xff) * 4) ^ puVar7[-4] ^ *puVar5; + puVar7[4] = uVar4; + uVar4 = puVar7[-3] ^ uVar4; + puVar7[5] = uVar4; + uVar4 = puVar7[-2] ^ uVar4; + puVar7[6] = uVar4; + puVar7[7] = puVar7[-1] ^ uVar4; + puVar5 = puVar6; + puVar7 = puVar7 + 8; + } while (puVar6 != (uint *)&DAT_14012a0ec); + } + iVar8 = 1; + puVar5 = param_4 + 0x3c; + puVar7 = param_4 + (longlong)(param_2 + 0x1c) + -4; + param_4[0x3c] = param_4[(longlong)(param_2 + 0x1c) + -4]; + param_4[0x3d] = puVar7[1]; + param_4[0x3e] = puVar7[2]; + param_4[0x3f] = puVar7[3]; + puVar6 = puVar7; + puVar10 = puVar5; + if (1 < (int)param_4[0x78]) { + do { + uVar4 = puVar6[-4]; + puVar7 = puVar6 + -4; + puVar5 = puVar10 + 4; + iVar8 = iVar8 + 1; + *puVar5 = *(uint *)(&DAT_1401290d0 + (ulonglong)(uVar4 >> 0x18) * 4) ^ + *(uint *)(&DAT_1401294d0 + (ulonglong)(uVar4 >> 0x10 & 0xff) * 4) ^ + *(uint *)(&DAT_1401298d0 + (ulonglong)(uVar4 >> 8 & 0xff) * 4) ^ + *(uint *)(&DAT_140129cd0 + (ulonglong)(uVar4 & 0xff) * 4); + uVar4 = puVar6[-3]; + puVar10[5] = *(uint *)(&DAT_1401290d0 + (ulonglong)(uVar4 >> 0x18) * 4) ^ + *(uint *)(&DAT_1401294d0 + (ulonglong)(uVar4 >> 0x10 & 0xff) * 4) ^ + *(uint *)(&DAT_1401298d0 + (ulonglong)(uVar4 >> 8 & 0xff) * 4) ^ + *(uint *)(&DAT_140129cd0 + (ulonglong)(uVar4 & 0xff) * 4); + uVar4 = puVar6[-2]; + puVar10[6] = *(uint *)(&DAT_1401290d0 + (ulonglong)(uVar4 >> 0x18) * 4) ^ + *(uint *)(&DAT_1401294d0 + (ulonglong)(uVar4 >> 0x10 & 0xff) * 4) ^ + *(uint *)(&DAT_1401298d0 + (ulonglong)(uVar4 >> 8 & 0xff) * 4) ^ + *(uint *)(&DAT_140129cd0 + (ulonglong)(uVar4 & 0xff) * 4); + uVar4 = puVar6[-1]; + puVar10[7] = *(uint *)(&DAT_1401290d0 + (ulonglong)(uVar4 >> 0x18) * 4) ^ + *(uint *)(&DAT_1401294d0 + (ulonglong)(uVar4 >> 0x10 & 0xff) * 4) ^ + *(uint *)(&DAT_1401298d0 + (ulonglong)(uVar4 >> 8 & 0xff) * 4) ^ + *(uint *)(&DAT_140129cd0 + (ulonglong)(uVar4 & 0xff) * 4); + puVar6 = puVar7; + puVar10 = puVar5; + } while (iVar8 < (int)param_4[0x78]); + } + puVar5[4] = puVar7[-4]; + puVar5[5] = puVar7[-3]; + puVar5[6] = puVar7[-2]; + puVar5[7] = puVar7[-1]; + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d7ed0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d7ed0.c new file mode 100644 index 00000000..028786be --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d7ed0.c @@ -0,0 +1,115 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d7ed0 FUN_1400d7ed0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400d7ed0(undefined1 *param_1,undefined1 *param_2,uint *param_3) + +{ + uint uVar1; + uint uVar2; + uint uVar3; + uint uVar4; + uint uVar5; + uint uVar6; + int iVar7; + uint uVar8; + + if (((param_1 != (undefined1 *)0x0) && (param_2 != (undefined1 *)0x0)) && (param_3 != (uint *)0x0) + ) { + uVar6 = CONCAT31(CONCAT21(CONCAT11(*param_1,param_1[1]),param_1[2]),param_1[3]) ^ *param_3; + uVar5 = CONCAT31(CONCAT21(CONCAT11(param_1[4],param_1[5]),param_1[6]),param_1[7]) ^ param_3[1]; + uVar4 = CONCAT31(CONCAT21(CONCAT11(param_1[8],param_1[9]),param_1[10]),param_1[0xb]) ^ + param_3[2]; + uVar3 = CONCAT31(CONCAT21(CONCAT11(param_1[0xc],param_1[0xd]),param_1[0xe]),param_1[0xf]) ^ + param_3[3]; + uVar2 = *(uint *)(&DAT_140126cd0 + (ulonglong)(uVar4 >> 8 & 0xff) * 4) ^ + *(uint *)(&DAT_1401268d0 + (ulonglong)(uVar5 >> 0x10 & 0xff) * 4) ^ + *(uint *)(&DAT_1401258d0 + (ulonglong)(uVar6 >> 0x18) * 4) ^ + *(uint *)(&DAT_1401270d0 + (ulonglong)(uVar3 & 0xff) * 4) ^ param_3[4]; + uVar1 = *(uint *)(&DAT_140126cd0 + (ulonglong)(uVar3 >> 8 & 0xff) * 4) ^ + *(uint *)(&DAT_1401268d0 + (ulonglong)(uVar4 >> 0x10 & 0xff) * 4) ^ + *(uint *)(&DAT_1401258d0 + (ulonglong)(uVar5 >> 0x18) * 4) ^ + *(uint *)(&DAT_1401270d0 + (ulonglong)(uVar6 & 0xff) * 4) ^ param_3[5]; + uVar8 = *(uint *)(&DAT_1401268d0 + (ulonglong)(uVar3 >> 0x10 & 0xff) * 4) ^ + *(uint *)(&DAT_1401258d0 + (ulonglong)(uVar4 >> 0x18) * 4) ^ + *(uint *)(&DAT_140126cd0 + (ulonglong)(uVar6 >> 8 & 0xff) * 4) ^ + *(uint *)(&DAT_1401270d0 + (ulonglong)(uVar5 & 0xff) * 4) ^ param_3[6]; + uVar3 = *(uint *)(&DAT_1401258d0 + (ulonglong)(uVar3 >> 0x18) * 4) ^ + *(uint *)(&DAT_140126cd0 + (ulonglong)(uVar5 >> 8 & 0xff) * 4) ^ + *(uint *)(&DAT_1401268d0 + (ulonglong)(uVar6 >> 0x10 & 0xff) * 4) ^ + *(uint *)(&DAT_1401270d0 + (ulonglong)(uVar4 & 0xff) * 4) ^ param_3[7]; + iVar7 = (int)param_3[0x78] >> 1; + while( true ) { + iVar7 = iVar7 + -1; + param_3 = param_3 + 8; + if (iVar7 == 0) break; + uVar6 = *(uint *)(&DAT_140126cd0 + (ulonglong)(uVar8 >> 8 & 0xff) * 4) ^ + *(uint *)(&DAT_1401268d0 + (ulonglong)(uVar1 >> 0x10 & 0xff) * 4) ^ + *(uint *)(&DAT_1401258d0 + (ulonglong)(uVar2 >> 0x18) * 4) ^ + *(uint *)(&DAT_1401270d0 + (ulonglong)(uVar3 & 0xff) * 4) ^ *param_3; + uVar5 = *(uint *)(&DAT_140126cd0 + (ulonglong)(uVar3 >> 8 & 0xff) * 4) ^ + *(uint *)(&DAT_1401268d0 + (ulonglong)(uVar8 >> 0x10 & 0xff) * 4) ^ + *(uint *)(&DAT_1401258d0 + (ulonglong)(uVar1 >> 0x18) * 4) ^ + *(uint *)(&DAT_1401270d0 + (ulonglong)(uVar2 & 0xff) * 4) ^ param_3[1]; + uVar4 = *(uint *)(&DAT_1401268d0 + (ulonglong)(uVar3 >> 0x10 & 0xff) * 4) ^ + *(uint *)(&DAT_1401258d0 + (ulonglong)(uVar8 >> 0x18) * 4) ^ + *(uint *)(&DAT_140126cd0 + (ulonglong)(uVar2 >> 8 & 0xff) * 4) ^ + *(uint *)(&DAT_1401270d0 + (ulonglong)(uVar1 & 0xff) * 4) ^ param_3[2]; + uVar3 = *(uint *)(&DAT_1401258d0 + (ulonglong)(uVar3 >> 0x18) * 4) ^ + *(uint *)(&DAT_140126cd0 + (ulonglong)(uVar1 >> 8 & 0xff) * 4) ^ + *(uint *)(&DAT_1401268d0 + (ulonglong)(uVar2 >> 0x10 & 0xff) * 4) ^ + *(uint *)(&DAT_1401270d0 + (ulonglong)(uVar8 & 0xff) * 4) ^ param_3[3]; + uVar2 = *(uint *)(&DAT_140126cd0 + (ulonglong)(uVar4 >> 8 & 0xff) * 4) ^ + *(uint *)(&DAT_1401268d0 + (ulonglong)(uVar5 >> 0x10 & 0xff) * 4) ^ + *(uint *)(&DAT_1401258d0 + (ulonglong)(uVar6 >> 0x18) * 4) ^ + *(uint *)(&DAT_1401270d0 + (ulonglong)(uVar3 & 0xff) * 4) ^ param_3[4]; + uVar1 = *(uint *)(&DAT_140126cd0 + (ulonglong)(uVar3 >> 8 & 0xff) * 4) ^ + *(uint *)(&DAT_1401268d0 + (ulonglong)(uVar4 >> 0x10 & 0xff) * 4) ^ + *(uint *)(&DAT_1401258d0 + (ulonglong)(uVar5 >> 0x18) * 4) ^ + *(uint *)(&DAT_1401270d0 + (ulonglong)(uVar6 & 0xff) * 4) ^ param_3[5]; + uVar8 = *(uint *)(&DAT_1401268d0 + (ulonglong)(uVar3 >> 0x10 & 0xff) * 4) ^ + *(uint *)(&DAT_1401258d0 + (ulonglong)(uVar4 >> 0x18) * 4) ^ + *(uint *)(&DAT_140126cd0 + (ulonglong)(uVar6 >> 8 & 0xff) * 4) ^ + *(uint *)(&DAT_1401270d0 + (ulonglong)(uVar5 & 0xff) * 4) ^ param_3[6]; + uVar3 = *(uint *)(&DAT_1401258d0 + (ulonglong)(uVar3 >> 0x18) * 4) ^ + *(uint *)(&DAT_140126cd0 + (ulonglong)(uVar5 >> 8 & 0xff) * 4) ^ + *(uint *)(&DAT_1401268d0 + (ulonglong)(uVar6 >> 0x10 & 0xff) * 4) ^ + *(uint *)(&DAT_1401270d0 + (ulonglong)(uVar4 & 0xff) * 4) ^ param_3[7]; + } + uVar4 = *(uint *)(&DAT_1401278d0 + (ulonglong)(uVar8 >> 8 & 0xff) * 4) ^ + *(uint *)(&DAT_140127cd0 + (ulonglong)(uVar1 >> 0x10 & 0xff) * 4) ^ + *(uint *)(&DAT_1401280d0 + (ulonglong)(uVar2 >> 0x18) * 4) ^ + *(uint *)(&DAT_1401274d0 + (ulonglong)(uVar3 & 0xff) * 4) ^ *param_3; + param_2[3] = (char)uVar4; + *param_2 = (char)(uVar4 >> 0x18); + param_2[1] = (char)(uVar4 >> 0x10); + param_2[2] = (char)(uVar4 >> 8); + uVar4 = *(uint *)(&DAT_1401278d0 + (ulonglong)(uVar3 >> 8 & 0xff) * 4) ^ + *(uint *)(&DAT_140127cd0 + (ulonglong)(uVar8 >> 0x10 & 0xff) * 4) ^ + *(uint *)(&DAT_1401280d0 + (ulonglong)(uVar1 >> 0x18) * 4) ^ + *(uint *)(&DAT_1401274d0 + (ulonglong)(uVar2 & 0xff) * 4) ^ param_3[1]; + param_2[7] = (char)uVar4; + param_2[4] = (char)(uVar4 >> 0x18); + param_2[5] = (char)(uVar4 >> 0x10); + param_2[6] = (char)(uVar4 >> 8); + uVar4 = *(uint *)(&DAT_140127cd0 + (ulonglong)(uVar3 >> 0x10 & 0xff) * 4) ^ + *(uint *)(&DAT_1401280d0 + (ulonglong)(uVar8 >> 0x18) * 4) ^ + *(uint *)(&DAT_1401278d0 + (ulonglong)(uVar2 >> 8 & 0xff) * 4) ^ + *(uint *)(&DAT_1401274d0 + (ulonglong)(uVar1 & 0xff) * 4) ^ param_3[2]; + param_2[0xb] = (char)uVar4; + param_2[8] = (char)(uVar4 >> 0x18); + param_2[9] = (char)(uVar4 >> 0x10); + param_2[10] = (char)(uVar4 >> 8); + uVar2 = *(uint *)(&DAT_1401280d0 + (ulonglong)(uVar3 >> 0x18) * 4) ^ + *(uint *)(&DAT_1401278d0 + (ulonglong)(uVar1 >> 8 & 0xff) * 4) ^ + *(uint *)(&DAT_140127cd0 + (ulonglong)(uVar2 >> 0x10 & 0xff) * 4) ^ + *(uint *)(&DAT_1401274d0 + (ulonglong)(uVar8 & 0xff) * 4) ^ param_3[3]; + param_2[0xf] = (char)uVar2; + param_2[0xc] = (char)(uVar2 >> 0x18); + param_2[0xd] = (char)(uVar2 >> 0x10); + param_2[0xe] = (char)(uVar2 >> 8); + return 0; + } + return 0x10; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d84b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d84b0.c new file mode 100644 index 00000000..6c6775a0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d84b0.c @@ -0,0 +1,116 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d84b0 FUN_1400d84b0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400d84b0(undefined1 *param_1,undefined1 *param_2,longlong param_3) + +{ + uint *puVar1; + uint uVar2; + uint uVar3; + uint uVar4; + uint uVar5; + uint uVar6; + uint uVar7; + uint uVar8; + int iVar9; + + if (((param_2 != (undefined1 *)0x0) && (param_1 != (undefined1 *)0x0)) && (param_3 != 0)) { + uVar7 = CONCAT31(CONCAT21(CONCAT11(*param_1,param_1[1]),param_1[2]),param_1[3]) ^ + *(uint *)(param_3 + 0xf0); + uVar6 = CONCAT31(CONCAT21(CONCAT11(param_1[4],param_1[5]),param_1[6]),param_1[7]) ^ + *(uint *)(param_3 + 0xf4); + uVar5 = CONCAT31(CONCAT21(CONCAT11(param_1[8],param_1[9]),param_1[10]),param_1[0xb]) ^ + *(uint *)(param_3 + 0xf8); + uVar4 = CONCAT31(CONCAT21(CONCAT11(param_1[0xc],param_1[0xd]),param_1[0xe]),param_1[0xf]) ^ + *(uint *)(param_3 + 0xfc); + uVar8 = *(uint *)(&DAT_1401284d0 + (ulonglong)(uVar4 >> 0x10 & 0xff) * 4) ^ + *(uint *)(&DAT_1401288d0 + (ulonglong)(uVar5 >> 8 & 0xff) * 4) ^ + *(uint *)(&DAT_1401260d0 + (ulonglong)(uVar7 >> 0x18) * 4) ^ + *(uint *)(&DAT_140128cd0 + (ulonglong)(uVar6 & 0xff) * 4) ^ *(uint *)(param_3 + 0x100); + uVar3 = *(uint *)(&DAT_1401288d0 + (ulonglong)(uVar4 >> 8 & 0xff) * 4) ^ + *(uint *)(&DAT_1401260d0 + (ulonglong)(uVar6 >> 0x18) * 4) ^ + *(uint *)(&DAT_1401284d0 + (ulonglong)(uVar7 >> 0x10 & 0xff) * 4) ^ + *(uint *)(&DAT_140128cd0 + (ulonglong)(uVar5 & 0xff) * 4) ^ *(uint *)(param_3 + 0x104); + iVar9 = *(int *)(param_3 + 0x1e0) >> 1; + uVar2 = *(uint *)(&DAT_1401260d0 + (ulonglong)(uVar5 >> 0x18) * 4) ^ + *(uint *)(&DAT_1401284d0 + (ulonglong)(uVar6 >> 0x10 & 0xff) * 4) ^ + *(uint *)(&DAT_1401288d0 + (ulonglong)(uVar7 >> 8 & 0xff) * 4) ^ + *(uint *)(&DAT_140128cd0 + (ulonglong)(uVar4 & 0xff) * 4) ^ *(uint *)(param_3 + 0x108); + uVar4 = *(uint *)(&DAT_1401260d0 + (ulonglong)(uVar4 >> 0x18) * 4) ^ + *(uint *)(&DAT_1401284d0 + (ulonglong)(uVar5 >> 0x10 & 0xff) * 4) ^ + *(uint *)(&DAT_1401288d0 + (ulonglong)(uVar6 >> 8 & 0xff) * 4) ^ + *(uint *)(&DAT_140128cd0 + (ulonglong)(uVar7 & 0xff) * 4) ^ *(uint *)(param_3 + 0x10c); + puVar1 = (uint *)(param_3 + 0x110); + while (iVar9 = iVar9 + -1, iVar9 != 0) { + uVar7 = *(uint *)(&DAT_1401284d0 + (ulonglong)(uVar4 >> 0x10 & 0xff) * 4) ^ + *(uint *)(&DAT_1401288d0 + (ulonglong)(uVar2 >> 8 & 0xff) * 4) ^ + *(uint *)(&DAT_1401260d0 + (ulonglong)(uVar8 >> 0x18) * 4) ^ + *(uint *)(&DAT_140128cd0 + (ulonglong)(uVar3 & 0xff) * 4) ^ *puVar1; + uVar6 = *(uint *)(&DAT_1401288d0 + (ulonglong)(uVar4 >> 8 & 0xff) * 4) ^ + *(uint *)(&DAT_1401260d0 + (ulonglong)(uVar3 >> 0x18) * 4) ^ + *(uint *)(&DAT_1401284d0 + (ulonglong)(uVar8 >> 0x10 & 0xff) * 4) ^ + *(uint *)(&DAT_140128cd0 + (ulonglong)(uVar2 & 0xff) * 4) ^ puVar1[1]; + uVar5 = *(uint *)(&DAT_1401260d0 + (ulonglong)(uVar2 >> 0x18) * 4) ^ + *(uint *)(&DAT_1401284d0 + (ulonglong)(uVar3 >> 0x10 & 0xff) * 4) ^ + *(uint *)(&DAT_1401288d0 + (ulonglong)(uVar8 >> 8 & 0xff) * 4) ^ + *(uint *)(&DAT_140128cd0 + (ulonglong)(uVar4 & 0xff) * 4) ^ puVar1[2]; + uVar4 = *(uint *)(&DAT_1401260d0 + (ulonglong)(uVar4 >> 0x18) * 4) ^ + *(uint *)(&DAT_1401284d0 + (ulonglong)(uVar2 >> 0x10 & 0xff) * 4) ^ + *(uint *)(&DAT_1401288d0 + (ulonglong)(uVar3 >> 8 & 0xff) * 4) ^ + *(uint *)(&DAT_140128cd0 + (ulonglong)(uVar8 & 0xff) * 4) ^ puVar1[3]; + uVar8 = *(uint *)(&DAT_1401284d0 + (ulonglong)(uVar4 >> 0x10 & 0xff) * 4) ^ + *(uint *)(&DAT_1401288d0 + (ulonglong)(uVar5 >> 8 & 0xff) * 4) ^ + *(uint *)(&DAT_1401260d0 + (ulonglong)(uVar7 >> 0x18) * 4) ^ + *(uint *)(&DAT_140128cd0 + (ulonglong)(uVar6 & 0xff) * 4) ^ puVar1[4]; + uVar3 = *(uint *)(&DAT_1401288d0 + (ulonglong)(uVar4 >> 8 & 0xff) * 4) ^ + *(uint *)(&DAT_1401260d0 + (ulonglong)(uVar6 >> 0x18) * 4) ^ + *(uint *)(&DAT_1401284d0 + (ulonglong)(uVar7 >> 0x10 & 0xff) * 4) ^ + *(uint *)(&DAT_140128cd0 + (ulonglong)(uVar5 & 0xff) * 4) ^ puVar1[5]; + uVar2 = *(uint *)(&DAT_1401260d0 + (ulonglong)(uVar5 >> 0x18) * 4) ^ + *(uint *)(&DAT_1401284d0 + (ulonglong)(uVar6 >> 0x10 & 0xff) * 4) ^ + *(uint *)(&DAT_1401288d0 + (ulonglong)(uVar7 >> 8 & 0xff) * 4) ^ + *(uint *)(&DAT_140128cd0 + (ulonglong)(uVar4 & 0xff) * 4) ^ puVar1[6]; + uVar4 = *(uint *)(&DAT_1401260d0 + (ulonglong)(uVar4 >> 0x18) * 4) ^ + *(uint *)(&DAT_1401284d0 + (ulonglong)(uVar5 >> 0x10 & 0xff) * 4) ^ + *(uint *)(&DAT_1401288d0 + (ulonglong)(uVar6 >> 8 & 0xff) * 4) ^ + *(uint *)(&DAT_140128cd0 + (ulonglong)(uVar7 & 0xff) * 4) ^ puVar1[7]; + puVar1 = puVar1 + 8; + } + uVar5 = *(uint *)(&DAT_1401264d0 + (ulonglong)(uVar4 >> 0x10 & 0xff) * 4) & 0xff0000 ^ + *(uint *)(&DAT_1401264d0 + (ulonglong)(uVar2 >> 8 & 0xff) * 4) & 0xff00 ^ + *(uint *)(&DAT_1401264d0 + (ulonglong)(uVar8 >> 0x18) * 4) & 0xff000000 ^ + (uint)(byte)(&DAT_1401264d0)[(ulonglong)(uVar3 & 0xff) * 4] ^ *puVar1; + param_2[3] = (char)uVar5; + *param_2 = (char)(uVar5 >> 0x18); + param_2[1] = (char)(uVar5 >> 0x10); + param_2[2] = (char)(uVar5 >> 8); + uVar5 = *(uint *)(&DAT_1401264d0 + (ulonglong)(uVar8 >> 0x10 & 0xff) * 4) & 0xff0000 ^ + *(uint *)(&DAT_1401264d0 + (ulonglong)(uVar4 >> 8 & 0xff) * 4) & 0xff00 ^ + *(uint *)(&DAT_1401264d0 + (ulonglong)(uVar3 >> 0x18) * 4) & 0xff000000 ^ + (uint)(byte)(&DAT_1401264d0)[(ulonglong)(uVar2 & 0xff) * 4] ^ puVar1[1]; + param_2[7] = (char)uVar5; + param_2[4] = (char)(uVar5 >> 0x18); + param_2[5] = (char)(uVar5 >> 0x10); + param_2[6] = (char)(uVar5 >> 8); + uVar5 = *(uint *)(&DAT_1401264d0 + (ulonglong)(uVar3 >> 0x10 & 0xff) * 4) & 0xff0000 ^ + *(uint *)(&DAT_1401264d0 + (ulonglong)(uVar2 >> 0x18) * 4) & 0xff000000 ^ + *(uint *)(&DAT_1401264d0 + (ulonglong)(uVar8 >> 8 & 0xff) * 4) & 0xff00 ^ + (uint)(byte)(&DAT_1401264d0)[(ulonglong)(uVar4 & 0xff) * 4] ^ puVar1[2]; + param_2[0xb] = (char)uVar5; + param_2[8] = (char)(uVar5 >> 0x18); + param_2[9] = (char)(uVar5 >> 0x10); + param_2[10] = (char)(uVar5 >> 8); + uVar8 = *(uint *)(&DAT_1401264d0 + (ulonglong)(uVar2 >> 0x10 & 0xff) * 4) & 0xff0000 ^ + *(uint *)(&DAT_1401264d0 + (ulonglong)(uVar4 >> 0x18) * 4) & 0xff000000 ^ + *(uint *)(&DAT_1401264d0 + (ulonglong)(uVar3 >> 8 & 0xff) * 4) & 0xff00 ^ + (uint)(byte)(&DAT_1401264d0)[(ulonglong)(uVar8 & 0xff) * 4] ^ puVar1[3]; + param_2[0xf] = (char)uVar8; + param_2[0xc] = (char)(uVar8 >> 0x18); + param_2[0xd] = (char)(uVar8 >> 0x10); + param_2[0xe] = (char)(uVar8 >> 8); + return 0; + } + return 0x10; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400d8b10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400d8b10.c new file mode 100644 index 00000000..b6b1559a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400d8b10.c @@ -0,0 +1,595 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400d8b10 FUN_1400d8b10 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +undefined8 FUN_1400d8b10(longlong param_1,longlong param_2) + +{ + undefined1 uVar1; + undefined1 uVar2; + int iVar3; + int iVar4; + longlong lVar5; + uint uVar6; + int *piVar7; + uint uVar8; + uint uVar9; + undefined1 *puVar10; + undefined1 *puVar11; + uint uVar12; + uint uVar13; + uint uVar14; + uint uVar15; + uint uVar16; + uint uVar17; + uint uVar18; + uint uVar19; + undefined1 local_158 [16]; + longlong local_148; + undefined1 auStack_13a [2]; + undefined1 local_138 [4]; + undefined1 local_134 [4]; + undefined1 local_130 [4]; + uint local_12c [5]; + int local_118; + int local_114 [14]; + int local_dc; + int local_d8; + int local_d4; + int local_d0; + int local_cc; + int local_c8; + int local_c4; + int local_c0; + int local_bc; + int local_b8; + int local_b4; + int local_b0; + int local_ac; + int local_a8; + int local_a4; + int local_a0; + int local_9c; + int local_98; + int local_94; + int local_90; + int local_8c; + int local_88; + int local_84; + int local_80; + int local_7c; + int local_78; + int local_74; + int local_70; + int local_6c; + int local_68; + int local_64; + int local_60; + int local_5c; + int local_58; + int local_54; + int local_50; + int local_4c; + int local_48; + int local_44; + int local_40; + int local_3c; + ulonglong local_38; + + local_38 = DAT_14016f5a0 ^ (ulonglong)local_158; + uVar6 = *(uint *)(param_1 + 0x1c); + uVar17 = *(uint *)(param_1 + 8); + uVar16 = *(uint *)(param_1 + 0xc); + uVar8 = *(uint *)(param_1 + 0x10); + iVar3 = *(int *)(param_1 + 0x14); + uVar9 = *(uint *)(param_1 + 0x18); + uVar13 = *(uint *)(param_1 + 0x20); + iVar4 = *(int *)(param_1 + 0x24); + lVar5 = 4; + puVar10 = (undefined1 *)(param_2 + 2); + local_148 = param_1; + do { + puVar11 = puVar10 + 0x10; + uVar1 = puVar10[3]; + *(uint *)(puVar11 + (longlong)(local_158 + (0xe - param_2))) = + CONCAT31(CONCAT21(CONCAT11(puVar10[-2],puVar10[-1]),*puVar10),puVar10[1]); + uVar2 = puVar10[7]; + *(uint *)(puVar11 + (longlong)&local_148 + (2 - param_2)) = + CONCAT31(CONCAT21(CONCAT11(puVar10[2],uVar1),puVar10[4]),puVar10[5]); + uVar1 = puVar10[0xb]; + *(uint *)(puVar11 + (longlong)&local_148 + (6 - param_2)) = + CONCAT31(CONCAT21(CONCAT11(puVar10[6],uVar2),puVar10[8]),puVar10[9]); + lVar5 = lVar5 + -1; + *(uint *)(puVar11 + (longlong)local_12c + (-0x12 - param_2)) = + CONCAT31(CONCAT21(CONCAT11(puVar10[10],uVar1),puVar10[0xc]),puVar10[0xd]); + puVar10 = puVar11; + } while (lVar5 != 0); + piVar7 = (int *)local_138; + lVar5 = 0xc; + do { + uVar15 = piVar7[1]; + uVar14 = piVar7[2]; + uVar12 = piVar7[0xe]; + uVar19 = piVar7[3]; + uVar18 = piVar7[0xf]; + uVar12 = ((uVar12 >> 0x13 | uVar12 << 0xd) ^ (uVar12 >> 0x11 | uVar12 << 0xf) ^ uVar12 >> 10) + + ((uVar15 >> 0x12 | uVar15 << 0xe) ^ (uVar15 >> 7 | uVar15 << 0x19) ^ uVar15 >> 3) + + piVar7[9] + *piVar7; + piVar7[0x10] = uVar12; + uVar15 = ((uVar18 >> 0x13 | uVar18 << 0xd) ^ (uVar18 >> 0x11 | uVar18 << 0xf) ^ uVar18 >> 10) + + ((uVar14 >> 0x12 | uVar14 << 0xe) ^ (uVar14 >> 7 | uVar14 << 0x19) ^ uVar14 >> 3) + + piVar7[10] + uVar15; + piVar7[0x11] = uVar15; + piVar7[0x12] = ((uVar12 >> 0x13 | uVar12 * 0x2000) ^ (uVar12 >> 0x11 | uVar12 * 0x8000) ^ + uVar12 >> 10) + + ((uVar19 >> 0x12 | uVar19 << 0xe) ^ (uVar19 >> 7 | uVar19 << 0x19) ^ uVar19 >> 3) + + piVar7[0xb] + uVar14; + uVar14 = piVar7[4]; + piVar7[0x13] = ((uVar15 >> 0x13 | uVar15 * 0x2000) ^ (uVar15 >> 0x11 | uVar15 * 0x8000) ^ + uVar15 >> 10) + + ((uVar14 >> 0x12 | uVar14 << 0xe) ^ (uVar14 >> 7 | uVar14 << 0x19) ^ uVar14 >> 3) + + piVar7[0xc] + uVar19; + piVar7 = piVar7 + 4; + lVar5 = lVar5 + -1; + } while (lVar5 != 0); + iVar4 = ((uVar6 ^ uVar13) & uVar9 ^ uVar13) + + ((uVar9 >> 0x19 | uVar9 << 7) ^ (uVar9 >> 0xb | uVar9 << 0x15) ^ + (uVar9 >> 6 | uVar9 << 0x1a)) + (int)local_138 + 0x428a2f98 + iVar4; + uVar19 = iVar3 + iVar4; + uVar15 = ((uVar16 | uVar17) & uVar8 | uVar16 & uVar17) + + iVar4 + ((uVar17 >> 0x16 | uVar17 << 10) ^ (uVar17 >> 0xd | uVar17 << 0x13) ^ + (uVar17 >> 2 | uVar17 << 0x1e)); + iVar4 = ((uVar6 ^ uVar9) & uVar19 ^ uVar6) + + ((uVar19 >> 0x19 | uVar19 * 0x80) ^ (uVar19 >> 0xb | uVar19 * 0x200000) ^ + (uVar19 >> 6 | uVar19 * 0x4000000)) + (int)local_134 + 0x71374491 + uVar13; + uVar8 = uVar8 + iVar4; + uVar14 = ((uVar17 | uVar15) & uVar16 | uVar17 & uVar15) + + iVar4 + ((uVar15 >> 0x16 | uVar15 * 0x400) ^ (uVar15 >> 0xd | uVar15 * 0x80000) ^ + (uVar15 >> 2 | uVar15 * 0x40000000)); + iVar4 = ((uVar19 ^ uVar9) & uVar8 ^ uVar9) + + ((uVar8 >> 0x19 | uVar8 * 0x80) ^ (uVar8 >> 0xb | uVar8 * 0x200000) ^ + (uVar8 >> 6 | uVar8 * 0x4000000)) + (int)local_130 + -0x4a3f0431 + uVar6; + uVar16 = uVar16 + iVar4; + uVar12 = ((uVar14 | uVar15) & uVar17 | uVar14 & uVar15) + + iVar4 + ((uVar14 >> 0x16 | uVar14 * 0x400) ^ (uVar14 >> 0xd | uVar14 * 0x80000) ^ + (uVar14 >> 2 | uVar14 * 0x40000000)); + iVar4 = ((uVar19 ^ uVar8) & uVar16 ^ uVar19) + + ((uVar16 >> 0x19 | uVar16 * 0x80) ^ (uVar16 >> 0xb | uVar16 * 0x200000) ^ + (uVar16 >> 6 | uVar16 * 0x4000000)) + local_12c[0] + -0x164a245b + uVar9; + uVar17 = uVar17 + iVar4; + uVar6 = ((uVar12 | uVar14) & uVar15 | uVar12 & uVar14) + + iVar4 + ((uVar12 >> 0x16 | uVar12 * 0x400) ^ (uVar12 >> 0xd | uVar12 * 0x80000) ^ + (uVar12 >> 2 | uVar12 * 0x40000000)); + iVar4 = ((uVar8 ^ uVar16) & uVar17 ^ uVar8) + + ((uVar17 >> 0x19 | uVar17 * 0x80) ^ (uVar17 >> 0xb | uVar17 * 0x200000) ^ + (uVar17 >> 6 | uVar17 * 0x4000000)) + local_12c[1] + 0x3956c25b + uVar19; + uVar15 = uVar15 + iVar4; + uVar9 = ((uVar12 | uVar6) & uVar14 | uVar12 & uVar6) + + iVar4 + ((uVar6 >> 0x16 | uVar6 * 0x400) ^ (uVar6 >> 0xd | uVar6 * 0x80000) ^ + (uVar6 >> 2 | uVar6 * 0x40000000)); + iVar4 = ((uVar16 ^ uVar17) & uVar15 ^ uVar16) + + ((uVar15 >> 0x19 | uVar15 * 0x80) ^ (uVar15 >> 0xb | uVar15 * 0x200000) ^ + (uVar15 >> 6 | uVar15 * 0x4000000)) + local_12c[2] + 0x59f111f1 + uVar8; + uVar14 = uVar14 + iVar4; + uVar8 = ((uVar9 | uVar6) & uVar12 | uVar9 & uVar6) + + iVar4 + ((uVar9 >> 0x16 | uVar9 * 0x400) ^ (uVar9 >> 0xd | uVar9 * 0x80000) ^ + (uVar9 >> 2 | uVar9 * 0x40000000)); + iVar4 = ((uVar17 ^ uVar15) & uVar14 ^ uVar17) + + ((uVar14 >> 0x19 | uVar14 * 0x80) ^ (uVar14 >> 0xb | uVar14 * 0x200000) ^ + (uVar14 >> 6 | uVar14 * 0x4000000)) + local_12c[3] + -0x6dc07d5c + uVar16; + uVar12 = uVar12 + iVar4; + uVar19 = ((uVar9 | uVar8) & uVar6 | uVar9 & uVar8) + + iVar4 + ((uVar8 >> 0x16 | uVar8 * 0x400) ^ (uVar8 >> 0xd | uVar8 * 0x80000) ^ + (uVar8 >> 2 | uVar8 * 0x40000000)); + iVar4 = ((uVar14 ^ uVar15) & uVar12 ^ uVar15) + + ((uVar12 >> 0x19 | uVar12 * 0x80) ^ (uVar12 >> 0xb | uVar12 * 0x200000) ^ + (uVar12 >> 6 | uVar12 * 0x4000000)) + local_12c[4] + -0x54e3a12b + uVar17; + uVar6 = uVar6 + iVar4; + uVar18 = ((uVar8 | uVar19) & uVar9 | uVar8 & uVar19) + + iVar4 + ((uVar19 >> 0x16 | uVar19 * 0x400) ^ (uVar19 >> 0xd | uVar19 * 0x80000) ^ + (uVar19 >> 2 | uVar19 * 0x40000000)); + iVar4 = ((uVar12 ^ uVar14) & uVar6 ^ uVar14) + + ((uVar6 >> 0x19 | uVar6 * 0x80) ^ (uVar6 >> 0xb | uVar6 * 0x200000) ^ + (uVar6 >> 6 | uVar6 * 0x4000000)) + local_118 + -0x27f85568 + uVar15; + uVar9 = uVar9 + iVar4; + uVar13 = ((uVar19 | uVar18) & uVar8 | uVar19 & uVar18) + + iVar4 + ((uVar18 >> 0x16 | uVar18 * 0x400) ^ (uVar18 >> 0xd | uVar18 * 0x80000) ^ + (uVar18 >> 2 | uVar18 * 0x40000000)); + iVar4 = ((uVar12 ^ uVar6) & uVar9 ^ uVar12) + + ((uVar9 >> 0x19 | uVar9 * 0x80) ^ (uVar9 >> 0xb | uVar9 * 0x200000) ^ + (uVar9 >> 6 | uVar9 * 0x4000000)) + local_114[0] + 0x12835b01 + uVar14; + uVar8 = uVar8 + iVar4; + uVar15 = ((uVar18 | uVar13) & uVar19 | uVar18 & uVar13) + + iVar4 + ((uVar13 >> 0x16 | uVar13 * 0x400) ^ (uVar13 >> 0xd | uVar13 * 0x80000) ^ + (uVar13 >> 2 | uVar13 * 0x40000000)); + iVar4 = ((uVar9 ^ uVar6) & uVar8 ^ uVar6) + + ((uVar8 >> 0x19 | uVar8 * 0x80) ^ (uVar8 >> 0xb | uVar8 * 0x200000) ^ + (uVar8 >> 6 | uVar8 * 0x4000000)) + local_114[1] + 0x243185be + uVar12; + uVar19 = uVar19 + iVar4; + uVar14 = ((uVar15 | uVar13) & uVar18 | uVar15 & uVar13) + + iVar4 + ((uVar15 >> 0x16 | uVar15 * 0x400) ^ (uVar15 >> 0xd | uVar15 * 0x80000) ^ + (uVar15 >> 2 | uVar15 * 0x40000000)); + iVar4 = ((uVar9 ^ uVar8) & uVar19 ^ uVar9) + + ((uVar19 >> 0x19 | uVar19 * 0x80) ^ (uVar19 >> 0xb | uVar19 * 0x200000) ^ + (uVar19 >> 6 | uVar19 * 0x4000000)) + local_114[2] + 0x550c7dc3 + uVar6; + uVar18 = uVar18 + iVar4; + uVar6 = ((uVar14 | uVar15) & uVar13 | uVar14 & uVar15) + + iVar4 + ((uVar14 >> 0x16 | uVar14 * 0x400) ^ (uVar14 >> 0xd | uVar14 * 0x80000) ^ + (uVar14 >> 2 | uVar14 * 0x40000000)); + iVar4 = ((uVar8 ^ uVar19) & uVar18 ^ uVar8) + + ((uVar18 >> 0x19 | uVar18 * 0x80) ^ (uVar18 >> 0xb | uVar18 * 0x200000) ^ + (uVar18 >> 6 | uVar18 * 0x4000000)) + local_114[3] + 0x72be5d74 + uVar9; + uVar13 = uVar13 + iVar4; + uVar16 = ((uVar14 | uVar6) & uVar15 | uVar14 & uVar6) + + iVar4 + ((uVar6 >> 0x16 | uVar6 * 0x400) ^ (uVar6 >> 0xd | uVar6 * 0x80000) ^ + (uVar6 >> 2 | uVar6 * 0x40000000)); + iVar4 = ((uVar19 ^ uVar18) & uVar13 ^ uVar19) + + ((uVar13 >> 0x19 | uVar13 * 0x80) ^ (uVar13 >> 0xb | uVar13 * 0x200000) ^ + (uVar13 >> 6 | uVar13 * 0x4000000)) + local_114[4] + -0x7f214e02 + uVar8; + uVar15 = uVar15 + iVar4; + uVar17 = ((uVar16 | uVar6) & uVar14 | uVar16 & uVar6) + + iVar4 + ((uVar16 >> 0x16 | uVar16 * 0x400) ^ (uVar16 >> 0xd | uVar16 * 0x80000) ^ + (uVar16 >> 2 | uVar16 * 0x40000000)); + iVar4 = ((uVar18 ^ uVar13) & uVar15 ^ uVar18) + + ((uVar15 >> 0x19 | uVar15 * 0x80) ^ (uVar15 >> 0xb | uVar15 * 0x200000) ^ + (uVar15 >> 6 | uVar15 * 0x4000000)) + local_114[5] + -0x6423f959 + uVar19; + uVar14 = uVar14 + iVar4; + uVar12 = ((uVar16 | uVar17) & uVar6 | uVar16 & uVar17) + + iVar4 + ((uVar17 >> 0x16 | uVar17 * 0x400) ^ (uVar17 >> 0xd | uVar17 * 0x80000) ^ + (uVar17 >> 2 | uVar17 * 0x40000000)); + iVar4 = ((uVar15 ^ uVar13) & uVar14 ^ uVar13) + + ((uVar14 >> 0x19 | uVar14 * 0x80) ^ (uVar14 >> 0xb | uVar14 * 0x200000) ^ + (uVar14 >> 6 | uVar14 * 0x4000000)) + local_114[6] + -0x3e640e8c + uVar18; + uVar6 = uVar6 + iVar4; + uVar19 = ((uVar17 | uVar12) & uVar16 | uVar17 & uVar12) + + iVar4 + ((uVar12 >> 0x16 | uVar12 * 0x400) ^ (uVar12 >> 0xd | uVar12 * 0x80000) ^ + (uVar12 >> 2 | uVar12 * 0x40000000)); + iVar4 = ((uVar14 ^ uVar15) & uVar6 ^ uVar15) + + ((uVar6 >> 0x19 | uVar6 * 0x80) ^ (uVar6 >> 0xb | uVar6 * 0x200000) ^ + (uVar6 >> 6 | uVar6 * 0x4000000)) + local_114[7] + -0x1b64963f + uVar13; + uVar16 = uVar16 + iVar4; + uVar8 = ((uVar12 | uVar19) & uVar17 | uVar12 & uVar19) + + iVar4 + ((uVar19 >> 0x16 | uVar19 * 0x400) ^ (uVar19 >> 0xd | uVar19 * 0x80000) ^ + (uVar19 >> 2 | uVar19 * 0x40000000)); + iVar4 = ((uVar14 ^ uVar6) & uVar16 ^ uVar14) + + ((uVar16 >> 0x19 | uVar16 * 0x80) ^ (uVar16 >> 0xb | uVar16 * 0x200000) ^ + (uVar16 >> 6 | uVar16 * 0x4000000)) + local_114[8] + -0x1041b87a + uVar15; + uVar17 = uVar17 + iVar4; + uVar9 = ((uVar19 | uVar8) & uVar12 | uVar19 & uVar8) + + iVar4 + ((uVar8 >> 0x16 | uVar8 * 0x400) ^ (uVar8 >> 0xd | uVar8 * 0x80000) ^ + (uVar8 >> 2 | uVar8 * 0x40000000)); + iVar4 = ((uVar16 ^ uVar6) & uVar17 ^ uVar6) + + ((uVar17 >> 0x19 | uVar17 * 0x80) ^ (uVar17 >> 0xb | uVar17 * 0x200000) ^ + (uVar17 >> 6 | uVar17 * 0x4000000)) + local_114[9] + 0xfc19dc6 + uVar14; + uVar12 = uVar12 + iVar4; + uVar13 = ((uVar9 | uVar8) & uVar19 | uVar9 & uVar8) + + iVar4 + ((uVar9 >> 0x16 | uVar9 * 0x400) ^ (uVar9 >> 0xd | uVar9 * 0x80000) ^ + (uVar9 >> 2 | uVar9 * 0x40000000)); + iVar4 = ((uVar16 ^ uVar17) & uVar12 ^ uVar16) + + ((uVar12 >> 0x19 | uVar12 * 0x80) ^ (uVar12 >> 0xb | uVar12 * 0x200000) ^ + (uVar12 >> 6 | uVar12 * 0x4000000)) + local_114[10] + 0x240ca1cc + uVar6; + uVar19 = uVar19 + iVar4; + uVar6 = ((uVar13 | uVar9) & uVar8 | uVar13 & uVar9) + + iVar4 + ((uVar13 >> 0x16 | uVar13 * 0x400) ^ (uVar13 >> 0xd | uVar13 * 0x80000) ^ + (uVar13 >> 2 | uVar13 * 0x40000000)); + iVar4 = ((uVar17 ^ uVar12) & uVar19 ^ uVar17) + + ((uVar19 >> 0x19 | uVar19 * 0x80) ^ (uVar19 >> 0xb | uVar19 * 0x200000) ^ + (uVar19 >> 6 | uVar19 * 0x4000000)) + local_114[0xb] + 0x2de92c6f + uVar16; + uVar8 = uVar8 + iVar4; + uVar16 = ((uVar13 | uVar6) & uVar9 | uVar13 & uVar6) + + iVar4 + ((uVar6 >> 0x16 | uVar6 * 0x400) ^ (uVar6 >> 0xd | uVar6 * 0x80000) ^ + (uVar6 >> 2 | uVar6 * 0x40000000)); + iVar4 = ((uVar12 ^ uVar19) & uVar8 ^ uVar12) + + ((uVar8 >> 0x19 | uVar8 * 0x80) ^ (uVar8 >> 0xb | uVar8 * 0x200000) ^ + (uVar8 >> 6 | uVar8 * 0x4000000)) + local_114[0xc] + 0x4a7484aa + uVar17; + uVar9 = uVar9 + iVar4; + uVar17 = ((uVar16 | uVar6) & uVar13 | uVar16 & uVar6) + + iVar4 + ((uVar16 >> 0x16 | uVar16 * 0x400) ^ (uVar16 >> 0xd | uVar16 * 0x80000) ^ + (uVar16 >> 2 | uVar16 * 0x40000000)); + iVar4 = ((uVar19 ^ uVar8) & uVar9 ^ uVar19) + + ((uVar9 >> 0x19 | uVar9 * 0x80) ^ (uVar9 >> 0xb | uVar9 * 0x200000) ^ + (uVar9 >> 6 | uVar9 * 0x4000000)) + local_114[0xd] + 0x5cb0a9dc + uVar12; + uVar13 = uVar13 + iVar4; + uVar15 = ((uVar16 | uVar17) & uVar6 | uVar16 & uVar17) + + iVar4 + ((uVar17 >> 0x16 | uVar17 * 0x400) ^ (uVar17 >> 0xd | uVar17 * 0x80000) ^ + (uVar17 >> 2 | uVar17 * 0x40000000)); + iVar4 = ((uVar9 ^ uVar8) & uVar13 ^ uVar8) + + ((uVar13 >> 0x19 | uVar13 * 0x80) ^ (uVar13 >> 0xb | uVar13 * 0x200000) ^ + (uVar13 >> 6 | uVar13 * 0x4000000)) + local_dc + 0x76f988da + uVar19; + uVar6 = uVar6 + iVar4; + uVar14 = ((uVar17 | uVar15) & uVar16 | uVar17 & uVar15) + + iVar4 + ((uVar15 >> 0x16 | uVar15 * 0x400) ^ (uVar15 >> 0xd | uVar15 * 0x80000) ^ + (uVar15 >> 2 | uVar15 * 0x40000000)); + iVar4 = ((uVar13 ^ uVar9) & uVar6 ^ uVar9) + + ((uVar6 >> 0x19 | uVar6 * 0x80) ^ (uVar6 >> 0xb | uVar6 * 0x200000) ^ + (uVar6 >> 6 | uVar6 * 0x4000000)) + local_d8 + -0x67c1aeae + uVar8; + uVar16 = uVar16 + iVar4; + uVar8 = ((uVar15 | uVar14) & uVar17 | uVar15 & uVar14) + + iVar4 + ((uVar14 >> 0x16 | uVar14 * 0x400) ^ (uVar14 >> 0xd | uVar14 * 0x80000) ^ + (uVar14 >> 2 | uVar14 * 0x40000000)); + iVar4 = ((uVar13 ^ uVar6) & uVar16 ^ uVar13) + + ((uVar16 >> 0x19 | uVar16 * 0x80) ^ (uVar16 >> 0xb | uVar16 * 0x200000) ^ + (uVar16 >> 6 | uVar16 * 0x4000000)) + local_d4 + -0x57ce3993 + uVar9; + uVar17 = uVar17 + iVar4; + uVar9 = ((uVar14 | uVar8) & uVar15 | uVar14 & uVar8) + + iVar4 + ((uVar8 >> 0x16 | uVar8 * 0x400) ^ (uVar8 >> 0xd | uVar8 * 0x80000) ^ + (uVar8 >> 2 | uVar8 * 0x40000000)); + iVar4 = ((uVar16 ^ uVar6) & uVar17 ^ uVar6) + + ((uVar17 >> 0x19 | uVar17 * 0x80) ^ (uVar17 >> 0xb | uVar17 * 0x200000) ^ + (uVar17 >> 6 | uVar17 * 0x4000000)) + local_d0 + -0x4ffcd838 + uVar13; + uVar15 = uVar15 + iVar4; + uVar13 = ((uVar9 | uVar8) & uVar14 | uVar9 & uVar8) + + iVar4 + ((uVar9 >> 0x16 | uVar9 * 0x400) ^ (uVar9 >> 0xd | uVar9 * 0x80000) ^ + (uVar9 >> 2 | uVar9 * 0x40000000)); + iVar4 = ((uVar16 ^ uVar17) & uVar15 ^ uVar16) + + ((uVar15 >> 0x19 | uVar15 * 0x80) ^ (uVar15 >> 0xb | uVar15 * 0x200000) ^ + (uVar15 >> 6 | uVar15 * 0x4000000)) + local_cc + -0x40a68039 + uVar6; + uVar14 = uVar14 + iVar4; + uVar6 = ((uVar13 | uVar9) & uVar8 | uVar13 & uVar9) + + iVar4 + ((uVar13 >> 0x16 | uVar13 * 0x400) ^ (uVar13 >> 0xd | uVar13 * 0x80000) ^ + (uVar13 >> 2 | uVar13 * 0x40000000)); + iVar4 = ((uVar17 ^ uVar15) & uVar14 ^ uVar17) + + ((uVar14 >> 0x19 | uVar14 * 0x80) ^ (uVar14 >> 0xb | uVar14 * 0x200000) ^ + (uVar14 >> 6 | uVar14 * 0x4000000)) + local_c8 + -0x391ff40d + uVar16; + uVar8 = uVar8 + iVar4; + uVar16 = ((uVar13 | uVar6) & uVar9 | uVar13 & uVar6) + + iVar4 + ((uVar6 >> 0x16 | uVar6 * 0x400) ^ (uVar6 >> 0xd | uVar6 * 0x80000) ^ + (uVar6 >> 2 | uVar6 * 0x40000000)); + iVar4 = ((uVar15 ^ uVar14) & uVar8 ^ uVar15) + + ((uVar8 >> 0x19 | uVar8 * 0x80) ^ (uVar8 >> 0xb | uVar8 * 0x200000) ^ + (uVar8 >> 6 | uVar8 * 0x4000000)) + local_c4 + -0x2a586eb9 + uVar17; + uVar9 = uVar9 + iVar4; + uVar17 = ((uVar16 | uVar6) & uVar13 | uVar16 & uVar6) + + iVar4 + ((uVar16 >> 0x16 | uVar16 * 0x400) ^ (uVar16 >> 0xd | uVar16 * 0x80000) ^ + (uVar16 >> 2 | uVar16 * 0x40000000)); + iVar4 = ((uVar14 ^ uVar8) & uVar9 ^ uVar14) + + ((uVar9 >> 0x19 | uVar9 * 0x80) ^ (uVar9 >> 0xb | uVar9 * 0x200000) ^ + (uVar9 >> 6 | uVar9 * 0x4000000)) + local_c0 + 0x6ca6351 + uVar15; + uVar13 = uVar13 + iVar4; + uVar15 = ((uVar16 | uVar17) & uVar6 | uVar16 & uVar17) + + iVar4 + ((uVar17 >> 0x16 | uVar17 * 0x400) ^ (uVar17 >> 0xd | uVar17 * 0x80000) ^ + (uVar17 >> 2 | uVar17 * 0x40000000)); + iVar4 = ((uVar9 ^ uVar8) & uVar13 ^ uVar8) + + ((uVar13 >> 0x19 | uVar13 * 0x80) ^ (uVar13 >> 0xb | uVar13 * 0x200000) ^ + (uVar13 >> 6 | uVar13 * 0x4000000)) + local_bc + 0x14292967 + uVar14; + uVar6 = uVar6 + iVar4; + uVar14 = ((uVar17 | uVar15) & uVar16 | uVar17 & uVar15) + + iVar4 + ((uVar15 >> 0x16 | uVar15 * 0x400) ^ (uVar15 >> 0xd | uVar15 * 0x80000) ^ + (uVar15 >> 2 | uVar15 * 0x40000000)); + iVar4 = ((uVar13 ^ uVar9) & uVar6 ^ uVar9) + + ((uVar6 >> 0x19 | uVar6 * 0x80) ^ (uVar6 >> 0xb | uVar6 * 0x200000) ^ + (uVar6 >> 6 | uVar6 * 0x4000000)) + local_b8 + 0x27b70a85 + uVar8; + uVar16 = uVar16 + iVar4; + uVar8 = ((uVar15 | uVar14) & uVar17 | uVar15 & uVar14) + + iVar4 + ((uVar14 >> 0x16 | uVar14 * 0x400) ^ (uVar14 >> 0xd | uVar14 * 0x80000) ^ + (uVar14 >> 2 | uVar14 * 0x40000000)); + iVar4 = ((uVar13 ^ uVar6) & uVar16 ^ uVar13) + + ((uVar16 >> 0x19 | uVar16 * 0x80) ^ (uVar16 >> 0xb | uVar16 * 0x200000) ^ + (uVar16 >> 6 | uVar16 * 0x4000000)) + local_b4 + 0x2e1b2138 + uVar9; + uVar17 = uVar17 + iVar4; + uVar9 = ((uVar14 | uVar8) & uVar15 | uVar14 & uVar8) + + iVar4 + ((uVar8 >> 0x16 | uVar8 * 0x400) ^ (uVar8 >> 0xd | uVar8 * 0x80000) ^ + (uVar8 >> 2 | uVar8 * 0x40000000)); + iVar4 = ((uVar16 ^ uVar6) & uVar17 ^ uVar6) + + ((uVar17 >> 0x19 | uVar17 * 0x80) ^ (uVar17 >> 0xb | uVar17 * 0x200000) ^ + (uVar17 >> 6 | uVar17 * 0x4000000)) + local_b0 + 0x4d2c6dfc + uVar13; + uVar15 = uVar15 + iVar4; + uVar13 = ((uVar9 | uVar8) & uVar14 | uVar9 & uVar8) + + iVar4 + ((uVar9 >> 0x16 | uVar9 * 0x400) ^ (uVar9 >> 0xd | uVar9 * 0x80000) ^ + (uVar9 >> 2 | uVar9 * 0x40000000)); + iVar4 = ((uVar16 ^ uVar17) & uVar15 ^ uVar16) + + ((uVar15 >> 0x19 | uVar15 * 0x80) ^ (uVar15 >> 0xb | uVar15 * 0x200000) ^ + (uVar15 >> 6 | uVar15 * 0x4000000)) + local_ac + 0x53380d13 + uVar6; + uVar14 = uVar14 + iVar4; + uVar6 = ((uVar13 | uVar9) & uVar8 | uVar13 & uVar9) + + iVar4 + ((uVar13 >> 0x16 | uVar13 * 0x400) ^ (uVar13 >> 0xd | uVar13 * 0x80000) ^ + (uVar13 >> 2 | uVar13 * 0x40000000)); + iVar4 = ((uVar17 ^ uVar15) & uVar14 ^ uVar17) + + ((uVar14 >> 0x19 | uVar14 * 0x80) ^ (uVar14 >> 0xb | uVar14 * 0x200000) ^ + (uVar14 >> 6 | uVar14 * 0x4000000)) + local_a8 + 0x650a7354 + uVar16; + uVar8 = uVar8 + iVar4; + uVar16 = ((uVar13 | uVar6) & uVar9 | uVar13 & uVar6) + + iVar4 + ((uVar6 >> 0x16 | uVar6 * 0x400) ^ (uVar6 >> 0xd | uVar6 * 0x80000) ^ + (uVar6 >> 2 | uVar6 * 0x40000000)); + iVar4 = ((uVar15 ^ uVar14) & uVar8 ^ uVar15) + + ((uVar8 >> 0x19 | uVar8 * 0x80) ^ (uVar8 >> 0xb | uVar8 * 0x200000) ^ + (uVar8 >> 6 | uVar8 * 0x4000000)) + local_a4 + 0x766a0abb + uVar17; + uVar9 = uVar9 + iVar4; + uVar17 = ((uVar16 | uVar6) & uVar13 | uVar16 & uVar6) + + iVar4 + ((uVar16 >> 0x16 | uVar16 * 0x400) ^ (uVar16 >> 0xd | uVar16 * 0x80000) ^ + (uVar16 >> 2 | uVar16 * 0x40000000)); + iVar4 = ((uVar14 ^ uVar8) & uVar9 ^ uVar14) + + ((uVar9 >> 0x19 | uVar9 * 0x80) ^ (uVar9 >> 0xb | uVar9 * 0x200000) ^ + (uVar9 >> 6 | uVar9 * 0x4000000)) + local_a0 + -0x7e3d36d2 + uVar15; + uVar13 = uVar13 + iVar4; + uVar15 = ((uVar16 | uVar17) & uVar6 | uVar16 & uVar17) + + iVar4 + ((uVar17 >> 0x16 | uVar17 * 0x400) ^ (uVar17 >> 0xd | uVar17 * 0x80000) ^ + (uVar17 >> 2 | uVar17 * 0x40000000)); + iVar4 = ((uVar9 ^ uVar8) & uVar13 ^ uVar8) + + ((uVar13 >> 0x19 | uVar13 * 0x80) ^ (uVar13 >> 0xb | uVar13 * 0x200000) ^ + (uVar13 >> 6 | uVar13 * 0x4000000)) + local_9c + -0x6d8dd37b + uVar14; + uVar6 = uVar6 + iVar4; + uVar14 = ((uVar17 | uVar15) & uVar16 | uVar17 & uVar15) + + iVar4 + ((uVar15 >> 0x16 | uVar15 * 0x400) ^ (uVar15 >> 0xd | uVar15 * 0x80000) ^ + (uVar15 >> 2 | uVar15 * 0x40000000)); + iVar4 = ((uVar13 ^ uVar9) & uVar6 ^ uVar9) + + ((uVar6 >> 0x19 | uVar6 * 0x80) ^ (uVar6 >> 0xb | uVar6 * 0x200000) ^ + (uVar6 >> 6 | uVar6 * 0x4000000)) + local_98 + -0x5d40175f + uVar8; + uVar16 = uVar16 + iVar4; + uVar8 = ((uVar15 | uVar14) & uVar17 | uVar15 & uVar14) + + iVar4 + ((uVar14 >> 0x16 | uVar14 * 0x400) ^ (uVar14 >> 0xd | uVar14 * 0x80000) ^ + (uVar14 >> 2 | uVar14 * 0x40000000)); + iVar4 = ((uVar13 ^ uVar6) & uVar16 ^ uVar13) + + ((uVar16 >> 0x19 | uVar16 * 0x80) ^ (uVar16 >> 0xb | uVar16 * 0x200000) ^ + (uVar16 >> 6 | uVar16 * 0x4000000)) + local_94 + -0x57e599b5 + uVar9; + uVar17 = uVar17 + iVar4; + uVar9 = ((uVar14 | uVar8) & uVar15 | uVar14 & uVar8) + + iVar4 + ((uVar8 >> 0x16 | uVar8 * 0x400) ^ (uVar8 >> 0xd | uVar8 * 0x80000) ^ + (uVar8 >> 2 | uVar8 * 0x40000000)); + iVar4 = ((uVar16 ^ uVar6) & uVar17 ^ uVar6) + + ((uVar17 >> 0x19 | uVar17 * 0x80) ^ (uVar17 >> 0xb | uVar17 * 0x200000) ^ + (uVar17 >> 6 | uVar17 * 0x4000000)) + local_90 + -0x3db47490 + uVar13; + uVar15 = uVar15 + iVar4; + uVar13 = ((uVar9 | uVar8) & uVar14 | uVar9 & uVar8) + + iVar4 + ((uVar9 >> 0x16 | uVar9 * 0x400) ^ (uVar9 >> 0xd | uVar9 * 0x80000) ^ + (uVar9 >> 2 | uVar9 * 0x40000000)); + iVar4 = ((uVar16 ^ uVar17) & uVar15 ^ uVar16) + + ((uVar15 >> 0x19 | uVar15 * 0x80) ^ (uVar15 >> 0xb | uVar15 * 0x200000) ^ + (uVar15 >> 6 | uVar15 * 0x4000000)) + local_8c + -0x3893ae5d + uVar6; + uVar14 = uVar14 + iVar4; + uVar6 = ((uVar13 | uVar9) & uVar8 | uVar13 & uVar9) + + iVar4 + ((uVar13 >> 0x16 | uVar13 * 0x400) ^ (uVar13 >> 0xd | uVar13 * 0x80000) ^ + (uVar13 >> 2 | uVar13 * 0x40000000)); + iVar4 = ((uVar17 ^ uVar15) & uVar14 ^ uVar17) + + ((uVar14 >> 0x19 | uVar14 * 0x80) ^ (uVar14 >> 0xb | uVar14 * 0x200000) ^ + (uVar14 >> 6 | uVar14 * 0x4000000)) + local_88 + -0x2e6d17e7 + uVar16; + uVar8 = uVar8 + iVar4; + uVar16 = ((uVar13 | uVar6) & uVar9 | uVar13 & uVar6) + + iVar4 + ((uVar6 >> 0x16 | uVar6 * 0x400) ^ (uVar6 >> 0xd | uVar6 * 0x80000) ^ + (uVar6 >> 2 | uVar6 * 0x40000000)); + iVar4 = ((uVar15 ^ uVar14) & uVar8 ^ uVar15) + + ((uVar8 >> 0x19 | uVar8 * 0x80) ^ (uVar8 >> 0xb | uVar8 * 0x200000) ^ + (uVar8 >> 6 | uVar8 * 0x4000000)) + local_84 + -0x2966f9dc + uVar17; + uVar9 = uVar9 + iVar4; + uVar17 = ((uVar16 | uVar6) & uVar13 | uVar16 & uVar6) + + iVar4 + ((uVar16 >> 0x16 | uVar16 * 0x400) ^ (uVar16 >> 0xd | uVar16 * 0x80000) ^ + (uVar16 >> 2 | uVar16 * 0x40000000)); + iVar4 = ((uVar14 ^ uVar8) & uVar9 ^ uVar14) + + ((uVar9 >> 0x19 | uVar9 * 0x80) ^ (uVar9 >> 0xb | uVar9 * 0x200000) ^ + (uVar9 >> 6 | uVar9 * 0x4000000)) + local_80 + -0xbf1ca7b + uVar15; + uVar13 = uVar13 + iVar4; + uVar15 = ((uVar16 | uVar17) & uVar6 | uVar16 & uVar17) + + iVar4 + ((uVar17 >> 0x16 | uVar17 * 0x400) ^ (uVar17 >> 0xd | uVar17 * 0x80000) ^ + (uVar17 >> 2 | uVar17 * 0x40000000)); + iVar4 = ((uVar9 ^ uVar8) & uVar13 ^ uVar8) + + ((uVar13 >> 0x19 | uVar13 * 0x80) ^ (uVar13 >> 0xb | uVar13 * 0x200000) ^ + (uVar13 >> 6 | uVar13 * 0x4000000)) + local_7c + 0x106aa070 + uVar14; + uVar6 = uVar6 + iVar4; + uVar14 = ((uVar17 | uVar15) & uVar16 | uVar17 & uVar15) + + iVar4 + ((uVar15 >> 0x16 | uVar15 * 0x400) ^ (uVar15 >> 0xd | uVar15 * 0x80000) ^ + (uVar15 >> 2 | uVar15 * 0x40000000)); + iVar4 = ((uVar13 ^ uVar9) & uVar6 ^ uVar9) + + ((uVar6 >> 0x19 | uVar6 * 0x80) ^ (uVar6 >> 0xb | uVar6 * 0x200000) ^ + (uVar6 >> 6 | uVar6 * 0x4000000)) + local_78 + 0x19a4c116 + uVar8; + uVar16 = uVar16 + iVar4; + uVar8 = ((uVar15 | uVar14) & uVar17 | uVar15 & uVar14) + + iVar4 + ((uVar14 >> 0x16 | uVar14 * 0x400) ^ (uVar14 >> 0xd | uVar14 * 0x80000) ^ + (uVar14 >> 2 | uVar14 * 0x40000000)); + iVar4 = ((uVar13 ^ uVar6) & uVar16 ^ uVar13) + + ((uVar16 >> 0x19 | uVar16 * 0x80) ^ (uVar16 >> 0xb | uVar16 * 0x200000) ^ + (uVar16 >> 6 | uVar16 * 0x4000000)) + local_74 + 0x1e376c08 + uVar9; + uVar17 = uVar17 + iVar4; + uVar9 = ((uVar14 | uVar8) & uVar15 | uVar14 & uVar8) + + iVar4 + ((uVar8 >> 0x16 | uVar8 * 0x400) ^ (uVar8 >> 0xd | uVar8 * 0x80000) ^ + (uVar8 >> 2 | uVar8 * 0x40000000)); + iVar4 = ((uVar16 ^ uVar6) & uVar17 ^ uVar6) + + ((uVar17 >> 0x19 | uVar17 * 0x80) ^ (uVar17 >> 0xb | uVar17 * 0x200000) ^ + (uVar17 >> 6 | uVar17 * 0x4000000)) + local_70 + 0x2748774c + uVar13; + uVar15 = uVar15 + iVar4; + uVar13 = ((uVar9 | uVar8) & uVar14 | uVar9 & uVar8) + + iVar4 + ((uVar9 >> 0x16 | uVar9 * 0x400) ^ (uVar9 >> 0xd | uVar9 * 0x80000) ^ + (uVar9 >> 2 | uVar9 * 0x40000000)); + iVar4 = ((uVar16 ^ uVar17) & uVar15 ^ uVar16) + + ((uVar15 >> 0x19 | uVar15 * 0x80) ^ (uVar15 >> 0xb | uVar15 * 0x200000) ^ + (uVar15 >> 6 | uVar15 * 0x4000000)) + local_6c + 0x34b0bcb5 + uVar6; + uVar14 = uVar14 + iVar4; + uVar6 = ((uVar13 | uVar9) & uVar8 | uVar13 & uVar9) + + iVar4 + ((uVar13 >> 0x16 | uVar13 * 0x400) ^ (uVar13 >> 0xd | uVar13 * 0x80000) ^ + (uVar13 >> 2 | uVar13 * 0x40000000)); + iVar4 = ((uVar17 ^ uVar15) & uVar14 ^ uVar17) + + ((uVar14 >> 0x19 | uVar14 * 0x80) ^ (uVar14 >> 0xb | uVar14 * 0x200000) ^ + (uVar14 >> 6 | uVar14 * 0x4000000)) + local_68 + 0x391c0cb3 + uVar16; + uVar8 = uVar8 + iVar4; + uVar12 = ((uVar13 | uVar6) & uVar9 | uVar13 & uVar6) + + iVar4 + ((uVar6 >> 0x16 | uVar6 * 0x400) ^ (uVar6 >> 0xd | uVar6 * 0x80000) ^ + (uVar6 >> 2 | uVar6 * 0x40000000)); + iVar4 = ((uVar15 ^ uVar14) & uVar8 ^ uVar15) + + ((uVar8 >> 0x19 | uVar8 * 0x80) ^ (uVar8 >> 0xb | uVar8 * 0x200000) ^ + (uVar8 >> 6 | uVar8 * 0x4000000)) + local_64 + 0x4ed8aa4a + uVar17; + uVar9 = uVar9 + iVar4; + uVar19 = ((uVar12 | uVar6) & uVar13 | uVar12 & uVar6) + + iVar4 + ((uVar12 >> 0x16 | uVar12 * 0x400) ^ (uVar12 >> 0xd | uVar12 * 0x80000) ^ + (uVar12 >> 2 | uVar12 * 0x40000000)); + iVar4 = ((uVar14 ^ uVar8) & uVar9 ^ uVar14) + + ((uVar9 >> 0x19 | uVar9 * 0x80) ^ (uVar9 >> 0xb | uVar9 * 0x200000) ^ + (uVar9 >> 6 | uVar9 * 0x4000000)) + local_60 + 0x5b9cca4f + uVar15; + uVar13 = uVar13 + iVar4; + uVar16 = ((uVar12 | uVar19) & uVar6 | uVar12 & uVar19) + + iVar4 + ((uVar19 >> 0x16 | uVar19 * 0x400) ^ (uVar19 >> 0xd | uVar19 * 0x80000) ^ + (uVar19 >> 2 | uVar19 * 0x40000000)); + iVar4 = ((uVar9 ^ uVar8) & uVar13 ^ uVar8) + + ((uVar13 >> 0x19 | uVar13 * 0x80) ^ (uVar13 >> 0xb | uVar13 * 0x200000) ^ + (uVar13 >> 6 | uVar13 * 0x4000000)) + local_5c + 0x682e6ff3 + uVar14; + uVar6 = uVar6 + iVar4; + uVar14 = ((uVar19 | uVar16) & uVar12 | uVar19 & uVar16) + + iVar4 + ((uVar16 >> 0x16 | uVar16 * 0x400) ^ (uVar16 >> 0xd | uVar16 * 0x80000) ^ + (uVar16 >> 2 | uVar16 * 0x40000000)); + iVar4 = ((uVar13 ^ uVar9) & uVar6 ^ uVar9) + + ((uVar6 >> 0x19 | uVar6 * 0x80) ^ (uVar6 >> 0xb | uVar6 * 0x200000) ^ + (uVar6 >> 6 | uVar6 * 0x4000000)) + local_58 + 0x748f82ee + uVar8; + uVar12 = uVar12 + iVar4; + uVar15 = ((uVar16 | uVar14) & uVar19 | uVar16 & uVar14) + + iVar4 + ((uVar14 >> 0x16 | uVar14 * 0x400) ^ (uVar14 >> 0xd | uVar14 * 0x80000) ^ + (uVar14 >> 2 | uVar14 * 0x40000000)); + iVar4 = ((uVar13 ^ uVar6) & uVar12 ^ uVar13) + + ((uVar12 >> 0x19 | uVar12 * 0x80) ^ (uVar12 >> 0xb | uVar12 * 0x200000) ^ + (uVar12 >> 6 | uVar12 * 0x4000000)) + local_54 + 0x78a5636f + uVar9; + uVar19 = uVar19 + iVar4; + uVar17 = ((uVar14 | uVar15) & uVar16 | uVar14 & uVar15) + + iVar4 + ((uVar15 >> 0x16 | uVar15 * 0x400) ^ (uVar15 >> 0xd | uVar15 * 0x80000) ^ + (uVar15 >> 2 | uVar15 * 0x40000000)); + iVar4 = ((uVar12 ^ uVar6) & uVar19 ^ uVar6) + + ((uVar19 >> 0x19 | uVar19 * 0x80) ^ (uVar19 >> 0xb | uVar19 * 0x200000) ^ + (uVar19 >> 6 | uVar19 * 0x4000000)) + local_50 + -0x7b3787ec + uVar13; + uVar16 = uVar16 + iVar4; + uVar8 = ((uVar17 | uVar15) & uVar14 | uVar17 & uVar15) + + iVar4 + ((uVar17 >> 0x16 | uVar17 * 0x400) ^ (uVar17 >> 0xd | uVar17 * 0x80000) ^ + (uVar17 >> 2 | uVar17 * 0x40000000)); + iVar4 = ((uVar12 ^ uVar19) & uVar16 ^ uVar12) + + ((uVar16 >> 0x19 | uVar16 * 0x80) ^ (uVar16 >> 0xb | uVar16 * 0x200000) ^ + (uVar16 >> 6 | uVar16 * 0x4000000)) + local_4c + -0x7338fdf8 + uVar6; + uVar14 = uVar14 + iVar4; + uVar6 = ((uVar8 | uVar17) & uVar15 | uVar8 & uVar17) + + iVar4 + ((uVar8 >> 0x16 | uVar8 * 0x400) ^ (uVar8 >> 0xd | uVar8 * 0x80000) ^ + (uVar8 >> 2 | uVar8 * 0x40000000)); + iVar4 = ((uVar19 ^ uVar16) & uVar14 ^ uVar19) + + ((uVar14 >> 0x19 | uVar14 * 0x80) ^ (uVar14 >> 0xb | uVar14 * 0x200000) ^ + (uVar14 >> 6 | uVar14 * 0x4000000)) + local_48 + -0x6f410006 + uVar12; + uVar15 = uVar15 + iVar4; + uVar13 = ((uVar8 | uVar6) & uVar17 | uVar8 & uVar6) + + iVar4 + ((uVar6 >> 0x16 | uVar6 * 0x400) ^ (uVar6 >> 0xd | uVar6 * 0x80000) ^ + (uVar6 >> 2 | uVar6 * 0x40000000)); + iVar4 = ((uVar16 ^ uVar14) & uVar15 ^ uVar16) + + ((uVar15 >> 0x19 | uVar15 * 0x80) ^ (uVar15 >> 0xb | uVar15 * 0x200000) ^ + (uVar15 >> 6 | uVar15 * 0x4000000)) + local_44 + -0x5baf9315 + uVar19; + uVar17 = uVar17 + iVar4; + uVar9 = ((uVar13 | uVar6) & uVar8 | uVar13 & uVar6) + + iVar4 + ((uVar13 >> 0x16 | uVar13 * 0x400) ^ (uVar13 >> 0xd | uVar13 * 0x80000) ^ + (uVar13 >> 2 | uVar13 * 0x40000000)); + iVar4 = ((uVar14 ^ uVar15) & uVar17 ^ uVar14) + + ((uVar17 >> 0x19 | uVar17 * 0x80) ^ (uVar17 >> 0xb | uVar17 * 0x200000) ^ + (uVar17 >> 6 | uVar17 * 0x4000000)) + local_40 + -0x41065c09 + uVar16; + uVar8 = uVar8 + iVar4; + uVar16 = ((uVar13 | uVar9) & uVar6 | uVar13 & uVar9) + + iVar4 + ((uVar9 >> 0x16 | uVar9 * 0x400) ^ (uVar9 >> 0xd | uVar9 * 0x80000) ^ + (uVar9 >> 2 | uVar9 * 0x40000000)); + iVar4 = ((uVar17 ^ uVar15) & uVar8 ^ uVar15) + + ((uVar8 >> 0x19 | uVar8 * 0x80) ^ (uVar8 >> 0xb | uVar8 * 0x200000) ^ + (uVar8 >> 6 | uVar8 * 0x4000000)) + local_3c + -0x398e870e + uVar14; + *(int *)(local_148 + 8) = + *(int *)(local_148 + 8) + + ((uVar9 | uVar16) & uVar13 | uVar9 & uVar16) + + iVar4 + ((uVar16 >> 0x16 | uVar16 * 0x400) ^ (uVar16 >> 0xd | uVar16 * 0x80000) ^ + (uVar16 >> 2 | uVar16 * 0x40000000)); + *(int *)(local_148 + 0xc) = *(int *)(local_148 + 0xc) + uVar16; + *(int *)(local_148 + 0x10) = *(int *)(local_148 + 0x10) + uVar9; + *(int *)(local_148 + 0x14) = *(int *)(local_148 + 0x14) + uVar13; + *(int *)(local_148 + 0x18) = *(int *)(local_148 + 0x18) + uVar6 + iVar4; + *(int *)(local_148 + 0x1c) = *(int *)(local_148 + 0x1c) + uVar8; + *(int *)(local_148 + 0x20) = *(int *)(local_148 + 0x20) + uVar17; + *(int *)(local_148 + 0x24) = *(int *)(local_148 + 0x24) + uVar15; + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400da4d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400da4d0.c new file mode 100644 index 00000000..55fe52c5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400da4d0.c @@ -0,0 +1,23 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400da4d0 FUN_1400da4d0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400da4d0(undefined8 *param_1) + +{ + if (param_1 == (undefined8 *)0x0) { + return 0x10; + } + *(undefined4 *)(param_1 + 1) = 0x6a09e667; + *(undefined4 *)((longlong)param_1 + 0xc) = 0xbb67ae85; + *(undefined4 *)(param_1 + 2) = 0x3c6ef372; + *(undefined4 *)((longlong)param_1 + 0x14) = 0xa54ff53a; + *(undefined4 *)(param_1 + 3) = 0x510e527f; + *(undefined4 *)(param_1 + 5) = 0; + *param_1 = 0; + *(undefined4 *)((longlong)param_1 + 0x1c) = 0x9b05688c; + *(undefined4 *)(param_1 + 4) = 0x1f83d9ab; + *(undefined4 *)((longlong)param_1 + 0x24) = 0x5be0cd19; + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400da520.c b/decomp/AgentManager_Release_x64/full/functions/0x1400da520.c new file mode 100644 index 00000000..1df928bd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400da520.c @@ -0,0 +1,47 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400da520 FUN_1400da520 + * Pseudocode, not original source. */ + +undefined8 FUN_1400da520(longlong *param_1,void *param_2,uint param_3) + +{ + undefined8 uVar1; + uint uVar2; + + if (((param_1 != (longlong *)0x0) && (param_2 != (void *)0x0)) && (*(uint *)(param_1 + 5) < 0x41)) + { + while( true ) { + while( true ) { + if (param_3 == 0) { + return 0; + } + if (((int)param_1[5] == 0) && (0x3f < param_3)) break; + uVar2 = 0x40 - (int)param_1[5]; + if (param_3 < uVar2) { + uVar2 = param_3; + } + memcpy((void *)((ulonglong)*(uint *)(param_1 + 5) + 0x2c + (longlong)param_1),param_2, + (ulonglong)uVar2); + *(uint *)(param_1 + 5) = (int)param_1[5] + uVar2; + param_2 = (void *)((longlong)param_2 + (ulonglong)uVar2); + param_3 = param_3 - uVar2; + if ((int)param_1[5] == 0x40) { + uVar1 = FUN_1400d8b10((longlong)param_1,(longlong)param_1 + 0x2c); + if ((int)uVar1 != 0) { + return uVar1; + } + *param_1 = *param_1 + 0x200; + *(undefined4 *)(param_1 + 5) = 0; + } + } + uVar1 = FUN_1400d8b10((longlong)param_1,(longlong)param_2); + if ((int)uVar1 != 0) break; + *param_1 = *param_1 + 0x200; + param_2 = (void *)((longlong)param_2 + 0x40); + param_3 = param_3 - 0x40; + } + return uVar1; + } + return 0x10; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400da600.c b/decomp/AgentManager_Release_x64/full/functions/0x1400da600.c new file mode 100644 index 00000000..8f0c5ed1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400da600.c @@ -0,0 +1,81 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400da600 FUN_1400da600 + * Pseudocode, not original source. */ + +undefined8 FUN_1400da600(longlong *param_1,undefined1 *param_2) + +{ + uint uVar1; + uint uVar2; + + if ((param_1 != (longlong *)0x0) && (param_2 != (undefined1 *)0x0)) { + uVar1 = *(uint *)(param_1 + 5); + if (uVar1 < 0x40) { + *param_1 = *param_1 + (ulonglong)(uVar1 * 8); + *(undefined1 *)((ulonglong)uVar1 + 0x2c + (longlong)param_1) = 0x80; + *(int *)(param_1 + 5) = (int)param_1[5] + 1; + uVar2 = *(uint *)(param_1 + 5); + uVar1 = uVar2; + if (0x38 < uVar2) { + while (uVar1 < 0x40) { + *(undefined1 *)((ulonglong)uVar2 + 0x2c + (longlong)param_1) = 0; + *(int *)(param_1 + 5) = (int)param_1[5] + 1; + uVar2 = *(uint *)(param_1 + 5); + uVar1 = *(uint *)(param_1 + 5); + } + FUN_1400d8b10((longlong)param_1,(longlong)param_1 + 0x2c); + *(undefined4 *)(param_1 + 5) = 0; + } + uVar1 = *(uint *)(param_1 + 5); + while (uVar1 < 0x38) { + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 5) + 0x2c + (longlong)param_1) = 0; + *(int *)(param_1 + 5) = (int)param_1[5] + 1; + uVar1 = *(uint *)(param_1 + 5); + } + *(undefined1 *)((longlong)param_1 + 100) = *(undefined1 *)((longlong)param_1 + 7); + *(undefined1 *)((longlong)param_1 + 0x65) = *(undefined1 *)((longlong)param_1 + 6); + *(undefined1 *)((longlong)param_1 + 0x66) = *(undefined1 *)((longlong)param_1 + 5); + *(undefined1 *)((longlong)param_1 + 0x67) = *(undefined1 *)((longlong)param_1 + 4); + *(undefined1 *)(param_1 + 0xd) = *(undefined1 *)((longlong)param_1 + 3); + *(undefined1 *)((longlong)param_1 + 0x69) = *(undefined1 *)((longlong)param_1 + 2); + *(undefined1 *)((longlong)param_1 + 0x6a) = *(undefined1 *)((longlong)param_1 + 1); + *(char *)((longlong)param_1 + 0x6b) = (char)*param_1; + FUN_1400d8b10((longlong)param_1,(longlong)param_1 + 0x2c); + *param_2 = *(undefined1 *)((longlong)param_1 + 0xb); + param_2[1] = *(undefined1 *)((longlong)param_1 + 10); + param_2[2] = *(undefined1 *)((longlong)param_1 + 9); + param_2[3] = (char)param_1[1]; + param_2[4] = *(undefined1 *)((longlong)param_1 + 0xf); + param_2[5] = *(undefined1 *)((longlong)param_1 + 0xe); + param_2[6] = *(undefined1 *)((longlong)param_1 + 0xd); + param_2[7] = *(undefined1 *)((longlong)param_1 + 0xc); + param_2[8] = *(undefined1 *)((longlong)param_1 + 0x13); + param_2[9] = *(undefined1 *)((longlong)param_1 + 0x12); + param_2[10] = *(undefined1 *)((longlong)param_1 + 0x11); + param_2[0xb] = (char)param_1[2]; + param_2[0xc] = *(undefined1 *)((longlong)param_1 + 0x17); + param_2[0xd] = *(undefined1 *)((longlong)param_1 + 0x16); + param_2[0xe] = *(undefined1 *)((longlong)param_1 + 0x15); + param_2[0xf] = *(undefined1 *)((longlong)param_1 + 0x14); + param_2[0x10] = *(undefined1 *)((longlong)param_1 + 0x1b); + param_2[0x11] = *(undefined1 *)((longlong)param_1 + 0x1a); + param_2[0x12] = *(undefined1 *)((longlong)param_1 + 0x19); + param_2[0x13] = (char)param_1[3]; + param_2[0x14] = *(undefined1 *)((longlong)param_1 + 0x1f); + param_2[0x15] = *(undefined1 *)((longlong)param_1 + 0x1e); + param_2[0x16] = *(undefined1 *)((longlong)param_1 + 0x1d); + param_2[0x17] = *(undefined1 *)((longlong)param_1 + 0x1c); + param_2[0x18] = *(undefined1 *)((longlong)param_1 + 0x23); + param_2[0x19] = *(undefined1 *)((longlong)param_1 + 0x22); + param_2[0x1a] = *(undefined1 *)((longlong)param_1 + 0x21); + param_2[0x1b] = (char)param_1[4]; + param_2[0x1c] = *(undefined1 *)((longlong)param_1 + 0x27); + param_2[0x1d] = *(undefined1 *)((longlong)param_1 + 0x26); + param_2[0x1e] = *(undefined1 *)((longlong)param_1 + 0x25); + param_2[0x1f] = *(undefined1 *)((longlong)param_1 + 0x24); + return 0; + } + } + return 0x10; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400da7d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400da7d0.c new file mode 100644 index 00000000..fc30b074 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400da7d0.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400da7d0 FUN_1400da7d0 + * Pseudocode, not original source. */ + +void FUN_1400da7d0(void *param_1,size_t param_2) + +{ + if ((param_1 != (void *)0x0) && (param_2 != 0)) { + memset(param_1,0,param_2); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400da7f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400da7f0.c new file mode 100644 index 00000000..3017973e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400da7f0.c @@ -0,0 +1,34 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400da7f0 FUN_1400da7f0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400da7f0(undefined8 *param_1) + +{ + undefined8 *puVar1; + undefined1 *puVar2; + int iVar3; + int iVar4; + longlong local_res10 [3]; + + iVar4 = 0; + puVar2 = (undefined1 *)register0x00000020; + puVar1 = param_1; + while( true ) { + if (puVar1 == (undefined8 *)0x0) { + return 0; + } + iVar3 = (*DAT_14017d490)(); + if (iVar3 != 0) break; + puVar1 = *(undefined8 **)(puVar2 + 0x10); + iVar4 = iVar4 + 1; + puVar2 = puVar2 + 8; + } + for (; iVar4 != 0; iVar4 = iVar4 + -1) { + (*DAT_14017d4a0)(*param_1); + param_1 = *(undefined8 **)((longlong)register0x00000020 + 0x10); + register0x00000020 = (BADSPACEBASE *)((longlong)register0x00000020 + 8); + } + return 0xd; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400da880.c b/decomp/AgentManager_Release_x64/full/functions/0x1400da880.c new file mode 100644 index 00000000..72c6360e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400da880.c @@ -0,0 +1,19 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400da880 FUN_1400da880 + * Pseudocode, not original source. */ + +void FUN_1400da880(longlong param_1) + +{ + undefined1 *puVar1; + longlong local_res10 [3]; + + puVar1 = (undefined1 *)register0x00000020; + while (param_1 != 0) { + (*DAT_14017d4a0)(); + param_1 = *(longlong *)(puVar1 + 0x10); + puVar1 = puVar1 + 8; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400da8d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400da8d0.c new file mode 100644 index 00000000..afb5ba1b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400da8d0.c @@ -0,0 +1,70 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400da8d0 FUN_1400da8d0 + * Pseudocode, not original source. */ + +ulonglong FUN_1400da8d0(char *param_1,uint param_2,int param_3,undefined4 param_4,undefined8 param_5 + ) + +{ + int iVar1; + void *_Memory; + ulonglong uVar2; + undefined8 *puVar3; + uint uVar4; + ulonglong uVar5; + undefined8 *puVar6; + undefined8 uVar7; + + if (param_1 == (char *)0x0) { + return 0x10; + } + uVar5 = 0; + uVar4 = 0; + uVar2 = uVar5; + if (param_3 != 0) { + puVar3 = ¶m_5; + iVar1 = param_3; + do { + if (0xe < iVar1 - 1U) { + return 0x10; + } + iVar1 = *(int *)(puVar3 + 1); + uVar2 = (ulonglong)((int)uVar2 + 1); + puVar3 = puVar3 + 3; + } while (iVar1 != 0); + } + if ((int)uVar2 == 0) { + return 2; + } + _Memory = calloc(0x38,uVar2); + if (_Memory == (void *)0x0) { + return 0xd; + } + puVar3 = ¶m_5; + if (param_3 != 0) { + puVar6 = (undefined8 *)((longlong)_Memory + 8); + uVar7 = param_5; + do { + if (0xe < param_3 - 1U) { + uVar2 = 0x10; + goto LAB_1400da9ea; + } + *(int *)(puVar6 + -1) = param_3; + *(undefined4 *)(puVar6 + 1) = param_4; + *puVar6 = uVar7; + param_3 = *(int *)(puVar3 + 1); + param_4 = *(undefined4 *)(puVar3 + 2); + uVar7 = puVar3[3]; + puVar3 = puVar3 + 3; + uVar4 = (int)uVar5 + 1; + uVar5 = (ulonglong)uVar4; + puVar6 = puVar6 + 7; + } while (param_3 != 0); + } + uVar2 = FUN_1400daa10(param_1,param_2,(longlong)_Memory,uVar4,1); + uVar2 = uVar2 & 0xffffffff; +LAB_1400da9ea: + free(_Memory); + return uVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400daa10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400daa10.c new file mode 100644 index 00000000..6c5a906d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400daa10.c @@ -0,0 +1,229 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400daa10 FUN_1400daa10 + * Pseudocode, not original source. */ + +ulonglong FUN_1400daa10(char *param_1,uint param_2,longlong param_3,uint param_4,int param_5) + +{ + byte bVar1; + uint *puVar2; + undefined4 uVar3; + undefined4 *puVar4; + undefined4 extraout_var; + undefined4 extraout_var_00; + int *piVar5; + uint uVar6; + ulonglong uVar7; + byte *pbVar8; + longlong lVar9; + bool bVar10; + uint local_res8; + int iVar11; + uint local_38; + uint local_34; + uint local_30; + uint local_2c; + longlong local_28; + + uVar7 = (ulonglong)param_4; + if ((param_1 == (char *)0x0) || (param_3 == 0)) { + return 0x10; + } + if ((param_2 < 2) || ((*param_1 != '0' && (*param_1 != '1')))) { + return 7; + } + bVar1 = param_1[1]; + local_34 = 1; + if (bVar1 < 0x80) { + local_res8 = (uint)bVar1; + local_34 = 2; + } + else if ((char)bVar1 < '\0') { + if (bVar1 < 0x81) { + return 7; + } + if (0x83 < bVar1) { + return 7; + } + uVar6 = bVar1 & 0x7f; + local_34 = 2; + if (param_2 < uVar6 + 2) { + return 7; + } + local_res8 = 0; + if ((bVar1 & 0x7f) != 0) { + pbVar8 = (byte *)(param_1 + 2); + local_34 = uVar6 + 2; + do { + bVar1 = *pbVar8; + pbVar8 = pbVar8 + 1; + local_res8 = local_res8 << 8 | (uint)bVar1; + uVar6 = uVar6 - 1; + } while (uVar6 != 0); + } + } + else { + local_res8 = (uint)param_1; + } + if (param_2 < local_res8 + local_34) { + return 7; + } + if (param_4 != 0) { + puVar4 = (undefined4 *)(param_3 + 0x14); + do { + *puVar4 = 0; + puVar4 = puVar4 + 0xe; + uVar7 = uVar7 - 1; + } while (uVar7 != 0); + } + local_30 = 0; + local_28 = 0; + if (param_4 != 0) { + do { + lVar9 = local_28 * 0x38; + local_2c = *(uint *)(lVar9 + 0x10 + param_3); + iVar11 = *(int *)(lVar9 + param_3); + puVar2 = *(uint **)(lVar9 + 8 + param_3); + if ((param_5 == 0) && (*(int *)(lVar9 + 0x14 + param_3) == 1)) goto LAB_1400dac10; + if (iVar11 == 0) break; + local_38 = local_res8; + switch(iVar11) { + case 1: + uVar7 = FUN_1400e31e0(param_1 + local_34,local_res8,puVar2); + if ((int)uVar7 != 0) { + return uVar7; + } + uVar7 = FUN_1400e31c0(&local_38); + break; + case 2: + uVar7 = FUN_1400e3030((byte *)(param_1 + local_34),local_res8,(longlong)puVar2); + if ((int)uVar7 == 0) { + uVar7 = FUN_1400e2f30((longlong)puVar2,(int *)&local_38); + break; + } + goto LAB_1400dabf4; + case 3: + uVar7 = FUN_1400e2ed0((byte *)(param_1 + local_34),local_res8,puVar2); + if ((int)uVar7 != 0) goto LAB_1400dabf4; + uVar3 = FUN_1400e2e80(*puVar2,(int *)&local_38); + uVar7 = CONCAT44(extraout_var,uVar3); + break; + case 4: + uVar7 = FUN_1400e2d20((byte *)(param_1 + local_34),local_res8,(longlong)puVar2,&local_2c); + if ((int)uVar7 != 0) goto LAB_1400dabf4; + *(uint *)(lVar9 + 0x10 + param_3) = local_2c; + uVar7 = FUN_1400e2cd0((ulonglong)local_2c,(int *)&local_38); + break; + case 5: + uVar7 = FUN_1400e2bd0((byte *)(param_1 + local_34),local_res8,(byte *)puVar2,&local_2c); + if ((int)uVar7 != 0) goto LAB_1400dabf4; + *(uint *)(lVar9 + 0x10 + param_3) = local_2c; + uVar7 = FUN_1400e2b80(local_2c,(int *)&local_38); + break; + case 6: + if (((local_res8 < 2) || (param_1[local_34] != '\x05')) || (param_1[local_34 + 1] != '\0')) + { + if (param_5 != 0) { + return 7; + } + goto LAB_1400dac10; + } + local_38 = 2; + goto LAB_1400dabb8; + case 7: + uVar7 = FUN_1400e2a00((byte *)(param_1 + local_34),local_res8,puVar2,&local_2c); + if ((int)uVar7 != 0) goto LAB_1400dabf4; + *(uint *)(lVar9 + 0x10 + param_3) = local_2c; + uVar7 = FUN_1400e28d0(puVar2,local_2c,(int *)&local_38); + break; + case 8: + uVar7 = FUN_1400e2790((byte *)(param_1 + local_34),local_res8,(undefined1 *)puVar2,&local_2c + ); + if ((int)uVar7 != 0) goto LAB_1400dabf4; + *(uint *)(lVar9 + 0x10 + param_3) = local_2c; + uVar7 = FUN_1400e26f0((byte *)puVar2,local_2c,(int *)&local_38); + break; + case 9: + uVar7 = FUN_1400e2550((byte *)(param_1 + local_34),local_res8,(undefined1 *)puVar2,&local_2c + ); + if ((int)uVar7 != 0) goto LAB_1400dabf4; + *(uint *)(lVar9 + 0x10 + param_3) = local_2c; + uVar7 = FUN_1400e24b0((byte *)puVar2,local_2c,(int *)&local_38); + break; + case 10: + uVar7 = FUN_1400e22b0((byte *)(param_1 + local_34),local_res8,(ushort *)puVar2,&local_2c); + if ((int)uVar7 != 0) goto LAB_1400dabf4; + *(uint *)(lVar9 + 0x10 + param_3) = local_2c; + uVar7 = FUN_1400e21a0((ushort *)puVar2,local_2c,(int *)&local_38); + break; + case 0xb: + iVar11 = FUN_1400e1ea0((longlong)(param_1 + local_34),&local_38,puVar2); + uVar7 = CONCAT44(extraout_var_00,iVar11); + goto joined_r0x0001400daeb6; + case 0xc: + uVar7 = FUN_1400e18b0((byte *)(param_1 + local_34),&local_38,(longlong)puVar2,local_2c); + iVar11 = (int)uVar7; +joined_r0x0001400daeb6: + if (iVar11 == 0) goto LAB_1400dabb8; +LAB_1400dabf4: + if (param_5 != 0) { + return uVar7; + } + goto LAB_1400dac10; + case 0xd: + case 0xf: + if (iVar11 == 0xf) { + bVar10 = (param_1[local_34] & 0x3fU) == 0x31; +LAB_1400dae92: + if (!bVar10) { + return 7; + } + } + else if (iVar11 == 0xd) { + bVar10 = (param_1[local_34] & 0x3fU) == 0x30; + goto LAB_1400dae92; + } + iVar11 = 1; + goto LAB_1400dae34; + case 0xe: + iVar11 = 0; +LAB_1400dae34: + uVar7 = FUN_1400daa10(param_1 + local_34,local_res8,(longlong)puVar2,local_2c,iVar11); + if ((int)uVar7 == 0) { + uVar7 = FUN_1400e1c20((longlong)puVar2,local_2c,(int *)&local_38); + break; + } + goto LAB_1400dabf4; + default: + return 0x10; + } + if ((int)uVar7 != 0) { + return uVar7; + } +LAB_1400dabb8: + local_34 = local_34 + local_38; + local_res8 = local_res8 - local_38; + *(undefined4 *)(lVar9 + 0x14 + param_3) = 1; + if (param_5 == 0) { + local_30 = 0xffffffff; + local_28 = -1; + } +LAB_1400dac10: + local_30 = local_30 + 1; + local_28 = local_28 + 1; + } while (local_30 < param_4); + } + uVar6 = 0; + if (param_4 != 0) { + piVar5 = (int *)(param_3 + 0x14); + do { + if (*piVar5 == 0) { + return 7; + } + uVar6 = uVar6 + 1; + piVar5 = piVar5 + 0xe; + } while (uVar6 < param_4); + } + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400daf50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400daf50.c new file mode 100644 index 00000000..aea51af7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400daf50.c @@ -0,0 +1,75 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400daf50 FUN_1400daf50 + * Pseudocode, not original source. */ + +ulonglong FUN_1400daf50(char *param_1,uint *param_2,int param_3,undefined4 param_4, + undefined8 param_5) + +{ + int iVar1; + void *_Memory; + ulonglong uVar2; + undefined8 *puVar3; + uint uVar4; + ulonglong uVar5; + undefined8 *puVar6; + undefined8 uVar7; + bool bVar8; + + if ((param_1 == (char *)0x0) || (param_2 == (uint *)0x0)) { + return 0x10; + } + uVar5 = 0; + uVar4 = 0; + uVar2 = uVar5; + if (param_3 != 0) { + puVar3 = ¶m_5; + bVar8 = param_3 == 0; + iVar1 = param_3; + do { + if ((bVar8 || iVar1 < 0) || ((0xb < iVar1 && (2 < iVar1 - 0xdU)))) { + return 0x10; + } + iVar1 = *(int *)(puVar3 + 1); + uVar2 = (ulonglong)((int)uVar2 + 1); + puVar3 = puVar3 + 3; + bVar8 = iVar1 == 0; + } while (!bVar8); + } + if ((int)uVar2 == 0) { + return 2; + } + _Memory = calloc(0x38,uVar2); + if (_Memory == (void *)0x0) { + return 0xd; + } + puVar3 = ¶m_5; + bVar8 = param_3 == 0; + if (!bVar8) { + puVar6 = (undefined8 *)((longlong)_Memory + 8); + uVar7 = param_5; + do { + if ((bVar8 || param_3 < 0) || ((0xb < param_3 && (2 < param_3 - 0xdU)))) { + uVar2 = 0x10; + goto LAB_1400db07f; + } + *(int *)(puVar6 + -1) = param_3; + *(undefined4 *)(puVar6 + 1) = param_4; + *puVar6 = uVar7; + param_3 = *(int *)(puVar3 + 1); + param_4 = *(undefined4 *)(puVar3 + 2); + uVar7 = puVar3[3]; + puVar3 = puVar3 + 3; + uVar4 = (int)uVar5 + 1; + uVar5 = (ulonglong)uVar4; + puVar6 = puVar6 + 7; + bVar8 = param_3 == 0; + } while (!bVar8); + } + uVar2 = FUN_1400e3220((longlong)_Memory,uVar4,param_1,param_2,0xd); + uVar2 = uVar2 & 0xffffffff; +LAB_1400db07f: + free(_Memory); + return uVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400db0b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400db0b0.c new file mode 100644 index 00000000..bc518343 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400db0b0.c @@ -0,0 +1,53 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400db0b0 FUN_1400db0b0 + * Pseudocode, not original source. */ + +ulonglong FUN_1400db0b0(longlong param_1,int param_2,undefined8 param_3,uint param_4) + +{ + int iVar1; + uint uVar2; + ulonglong uVar3; + byte *_Memory; + bool bVar4; + int local_res8 [2]; + + if (param_1 == 0) { + return 0x10; + } + bVar4 = param_2 < 0; + if (bVar4) { + param_2 = -param_2; + } + if (0x1fe < param_2 - 2U) { + return 0x17; + } + uVar3 = FUN_1400d58f0(param_4); + if ((int)uVar3 == 0) { + _Memory = calloc(1,(longlong)param_2); + if (_Memory == (byte *)0x0) { + uVar3 = 0xd; + } + else { + do { + iVar1 = (**(code **)(&DAT_140179568 + (longlong)(int)param_4 * 0x50)) + (_Memory,param_2,param_3); + if (iVar1 != param_2) { + free(_Memory); + return 9; + } + *_Memory = *_Memory | 0xc0; + _Memory[(longlong)param_2 - 1] = _Memory[(longlong)param_2 - 1] | bVar4 * '\x02' | 1U; + uVar2 = (*DAT_14017d520)(param_1,_Memory,param_2); + if ((uVar2 != 0) || (uVar2 = (*DAT_14017d5c8)(param_1,local_res8), uVar2 != 0)) { + free(_Memory); + return (ulonglong)uVar2; + } + } while (local_res8[0] == 0); + free(_Memory); + uVar3 = 0; + } + } + return uVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400db210.c b/decomp/AgentManager_Release_x64/full/functions/0x1400db210.c new file mode 100644 index 00000000..c180ed72 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400db210.c @@ -0,0 +1,77 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400db210 FUN_1400db210 + * Pseudocode, not original source. */ + +undefined8 +FUN_1400db210(void *param_1,uint param_2,int param_3,uint param_4,undefined8 param_5,uint param_6, + undefined1 *param_7,uint *param_8) + +{ + uint uVar1; + int iVar2; + undefined8 uVar3; + char *pcVar4; + uint uVar5; + uint uVar6; + ulonglong uVar7; + char *_Dst; + uint uVar8; + + if (param_3 != 1) { + if (param_3 != 2) { + return 0x18; + } + uVar3 = FUN_1400d58f0(param_6); + if ((int)uVar3 != 0) { + return uVar3; + } + } + uVar3 = 0; + uVar8 = (uint)((param_4 & 7) != 0) + (param_4 >> 3); + if (uVar8 < param_2 + 0xb) { + return 0x16; + } + if (*param_8 < uVar8) { + *param_8 = uVar8; + uVar3 = 6; + } + else { + _Dst = param_7 + 2; + uVar5 = uVar8 - param_2; + uVar6 = uVar5 - 3; + if (param_3 == 2) { + uVar1 = (**(code **)(&DAT_140179568 + (longlong)(int)param_6 * 0x50))(_Dst,uVar6,param_5); + if (uVar1 != uVar6) { + return 9; + } + uVar7 = 0; + pcVar4 = _Dst; + if (uVar6 != 0) { + do { + if (*pcVar4 == '\0') { + do { + iVar2 = (**(code **)(&DAT_140179568 + (longlong)(int)param_6 * 0x50)) + (_Dst + uVar7,1,param_5); + if (iVar2 != 1) { + return 9; + } + } while (*pcVar4 == '\0'); + } + uVar1 = (int)uVar7 + 1; + uVar7 = (ulonglong)uVar1; + pcVar4 = pcVar4 + 1; + } while (uVar1 < uVar6); + } + } + else { + memset(_Dst,0xff,(ulonglong)uVar6); + } + *param_7 = 0; + param_7[1] = (char)param_3; + param_7[uVar5 - 1] = 0; + memcpy(param_7 + uVar5,param_1,(ulonglong)param_2); + *param_8 = uVar8; + } + return uVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400db3e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400db3e0.c new file mode 100644 index 00000000..cd7c68c5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400db3e0.c @@ -0,0 +1,123 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400db3e0 FUN_1400db3e0 + * Pseudocode, not original source. */ + +ulonglong FUN_1400db3e0(void *param_1,uint param_2,byte *param_3,undefined4 param_4,uint param_5, + undefined8 param_6,uint param_7,uint param_8,undefined1 *param_9, + uint *param_10) + +{ + uint uVar1; + ulonglong uVar2; + byte *_Memory; + undefined1 *_Memory_00; + byte *_Memory_01; + ulonglong uVar3; + byte *pbVar4; + ulonglong uVar5; + uint uVar6; + int iVar7; + uint uVar8; + uint local_58 [6]; + + if (((param_1 != (void *)0x0) && (param_9 != (undefined1 *)0x0)) && (param_10 != (uint *)0x0)) { + uVar2 = FUN_1400db770(param_8); + if (((int)uVar2 == 0) && (uVar2 = FUN_1400d58f0(param_7), (int)uVar2 == 0)) { + uVar1 = *(uint *)(&DAT_140179f4c + (longlong)(int)param_8 * 0x80); + uVar2 = (ulonglong)uVar1; + uVar6 = (uint)((param_5 & 7) != 0) + (param_5 >> 3); + if ((uVar1 * 2 < uVar6 - 2) && (iVar7 = uVar6 + uVar1 * -2, param_2 <= iVar7 - 2U)) { + _Memory = malloc((ulonglong)uVar6); + _Memory_00 = malloc((ulonglong)uVar6); + _Memory_01 = malloc(uVar2); + if (_Memory != (byte *)0x0) { + if ((_Memory_00 != (undefined1 *)0x0) && (_Memory_01 != (byte *)0x0)) { + if (param_3 == (byte *)0x0) { + param_4 = 0; + param_3 = _Memory; + } + local_58[0] = uVar6; + uVar3 = FUN_1400e38e0(param_8,(longlong)param_3,param_4,(longlong)_Memory,local_58); + uVar5 = uVar3 & 0xffffffff; + if ((int)uVar3 == 0) { + uVar8 = (iVar7 - param_2) - 2; + local_58[0] = uVar1; + memset(_Memory + uVar2,0,(ulonglong)uVar8); + local_58[0] = local_58[0] + uVar8; + _Memory[local_58[0]] = 1; + local_58[0] = local_58[0] + 1; + memcpy(_Memory + local_58[0],param_1,(ulonglong)param_2); + local_58[0] = local_58[0] + param_2; + uVar8 = (**(code **)(&DAT_140179568 + (longlong)(int)param_7 * 0x50)) + (_Memory_01,uVar2,param_6); + if (uVar8 == uVar1) { + uVar8 = (uVar6 - uVar1) - 1; + uVar3 = FUN_1400e3720(param_8,(longlong)_Memory_01,uVar1,_Memory_00,uVar8); + uVar5 = uVar3 & 0xffffffff; + if ((int)uVar3 == 0) { + if (uVar8 != 0) { + uVar3 = (ulonglong)uVar8; + pbVar4 = _Memory; + do { + *pbVar4 = *pbVar4 ^ pbVar4[(longlong)_Memory_00 - (longlong)_Memory]; + uVar3 = uVar3 - 1; + pbVar4 = pbVar4 + 1; + } while (uVar3 != 0); + } + uVar3 = FUN_1400e3720(param_8,(longlong)_Memory,uVar8,_Memory_00,uVar1); + uVar5 = uVar3 & 0xffffffff; + if ((int)uVar3 == 0) { + if (uVar1 != 0) { + pbVar4 = _Memory_01; + uVar3 = uVar2; + do { + *pbVar4 = *pbVar4 ^ pbVar4[(longlong)_Memory_00 - (longlong)_Memory_01]; + uVar3 = uVar3 - 1; + pbVar4 = pbVar4 + 1; + } while (uVar3 != 0); + } + if (*param_10 < uVar6) { + *param_10 = uVar6; + uVar5 = 6; + } + else { + *param_9 = 0; + local_58[0] = 1; + memcpy(param_9 + 1,_Memory_01,uVar2); + local_58[0] = local_58[0] + uVar1; + memcpy(param_9 + local_58[0],_Memory,(ulonglong)uVar8); + local_58[0] = (local_58[0] - 1) + (uVar6 - uVar1); + *param_10 = local_58[0]; + uVar5 = 0; + } + } + } + } + else { + uVar5 = 9; + } + } + free(_Memory_01); + free(_Memory_00); + free(_Memory); + return uVar5; + } + free(_Memory); + } + if (_Memory_00 != (undefined1 *)0x0) { + free(_Memory_00); + } + if (_Memory_01 != (byte *)0x0) { + free(_Memory_01); + } + uVar2 = 0xd; + } + else { + uVar2 = 0x16; + } + } + return uVar2; + } + return 0x10; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400db770.c b/decomp/AgentManager_Release_x64/full/functions/0x1400db770.c new file mode 100644 index 00000000..69ccf088 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400db770.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400db770 FUN_1400db770 + * Pseudocode, not original source. */ + +undefined8 FUN_1400db770(uint param_1) + +{ + EnterCriticalSection((LPCRITICAL_SECTION)&DAT_14017d400); + if ((param_1 < 0x20) && ((&DAT_140179f40)[(longlong)(int)param_1 * 0x10] != 0)) { + LeaveCriticalSection((LPCRITICAL_SECTION)&DAT_14017d400); + return 0; + } + LeaveCriticalSection((LPCRITICAL_SECTION)&DAT_14017d400); + return 0xb; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400db7d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400db7d0.c new file mode 100644 index 00000000..28c52b6f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400db7d0.c @@ -0,0 +1,67 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400db7d0 FUN_1400db7d0 + * Pseudocode, not original source. */ + +undefined8 +FUN_1400db7d0(char *param_1,uint param_2,int param_3,ulonglong param_4,void *param_5,uint *param_6, + undefined4 *param_7) + +{ + char *pcVar1; + uint uVar2; + ulonglong uVar3; + uint uVar4; + uint uVar5; + + uVar5 = (uint)((param_4 & 7) != 0) + ((uint)(param_4 >> 3) & 0x1fffffff); + *param_7 = 0; + if ((uVar5 < param_2) || (uVar5 < 0xb)) { + return 0x16; + } + if ((*param_1 == '\0') && (param_1[1] == (char)param_3)) { + uVar2 = 2; + uVar3 = 2; + if (param_3 == 2) { + if (2 < uVar5) { + pcVar1 = param_1 + 2; + do { + uVar2 = (uint)uVar3; + if (*pcVar1 == '\0') break; + uVar2 = uVar2 + 1; + uVar3 = (ulonglong)uVar2; + pcVar1 = pcVar1 + 1; + } while (uVar2 < uVar5); + } + uVar4 = uVar2 - 2; + if ((uVar2 + 1 < uVar5) && (7 < uVar4)) { +LAB_1400db88b: + uVar5 = (param_2 - uVar4) - 3; + uVar2 = *param_6; + *param_6 = uVar5; + if (uVar2 < uVar5) { + return 6; + } + memcpy(param_5,param_1 + (uVar4 + 3),(ulonglong)uVar5); + *param_7 = 1; + return 0; + } + } + else { + if (2 < uVar5 - 1) { + pcVar1 = param_1 + 2; + do { + if (*pcVar1 != -1) break; + uVar2 = (int)uVar3 + 1; + uVar3 = (ulonglong)uVar2; + pcVar1 = pcVar1 + 1; + } while (uVar2 < uVar5 - 1); + } + if (param_1[uVar3] == '\0') { + uVar4 = (int)uVar3 - 2; + goto LAB_1400db88b; + } + } + } + return 7; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400db900.c b/decomp/AgentManager_Release_x64/full/functions/0x1400db900.c new file mode 100644 index 00000000..ee7c8b6d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400db900.c @@ -0,0 +1,129 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400db900 FUN_1400db900 + * Pseudocode, not original source. */ + +ulonglong FUN_1400db900(char *param_1,uint param_2,byte *param_3,undefined4 param_4,uint param_5, + uint param_6,void *param_7,uint *param_8,undefined4 *param_9) + +{ + uint uVar1; + uint uVar2; + int iVar3; + ulonglong uVar4; + byte *_Memory; + undefined1 *_Memory_00; + byte *_Memory_01; + ulonglong uVar5; + byte *pbVar6; + uint uVar7; + uint uVar8; + uint uVar9; + ulonglong uVar10; + uint local_48 [4]; + + if ((((param_1 == (char *)0x0) || (param_7 == (void *)0x0)) || (param_8 == (uint *)0x0)) || + (param_9 == (undefined4 *)0x0)) { + return 0x10; + } + *param_9 = 0; + uVar4 = FUN_1400db770(param_6); + if ((int)uVar4 != 0) { + return uVar4; + } + uVar1 = *(uint *)(&DAT_140179f4c + (longlong)(int)param_6 * 0x80); + uVar4 = (ulonglong)uVar1; + uVar8 = (uint)((param_5 & 7) != 0) + (param_5 >> 3); + if ((uVar8 - 2 <= uVar1 * 2) || (param_2 != uVar8)) { + return 0x16; + } + _Memory = malloc((ulonglong)uVar8); + _Memory_00 = malloc((ulonglong)uVar8); + _Memory_01 = malloc(uVar4); + if (_Memory != (byte *)0x0) { + if ((_Memory_00 != (undefined1 *)0x0) && (_Memory_01 != (byte *)0x0)) { + if (*param_1 == '\0') { + local_48[0] = 1; + memcpy(_Memory_01,param_1 + 1,uVar4); + local_48[0] = local_48[0] + uVar1; + uVar9 = (uVar8 - uVar1) - 1; + uVar10 = (ulonglong)uVar9; + memcpy(_Memory,param_1 + local_48[0],(ulonglong)uVar9); + local_48[0] = (local_48[0] - 1) + (uVar8 - uVar1); + uVar5 = FUN_1400e3720(param_6,(longlong)_Memory,uVar9,_Memory_00,uVar1); + uVar7 = (uint)uVar5; + if (uVar7 == 0) { + if (uVar1 != 0) { + pbVar6 = _Memory_01; + uVar5 = uVar4; + do { + *pbVar6 = *pbVar6 ^ pbVar6[(longlong)_Memory_00 - (longlong)_Memory_01]; + uVar5 = uVar5 - 1; + pbVar6 = pbVar6 + 1; + } while (uVar5 != 0); + } + uVar5 = FUN_1400e3720(param_6,(longlong)_Memory_01,uVar1,_Memory_00,uVar9); + uVar7 = (uint)uVar5; + if (uVar7 == 0) { + if (uVar9 != 0) { + pbVar6 = _Memory; + do { + *pbVar6 = *pbVar6 ^ pbVar6[(longlong)_Memory_00 - (longlong)_Memory]; + uVar10 = uVar10 - 1; + pbVar6 = pbVar6 + 1; + } while (uVar10 != 0); + } + if (param_3 == (byte *)0x0) { + param_4 = 0; + param_3 = _Memory; + } + local_48[0] = uVar8; + uVar5 = FUN_1400e38e0(param_6,(longlong)param_3,param_4,(longlong)_Memory_01,local_48); + uVar7 = (uint)uVar5; + if (uVar7 == 0) { + iVar3 = memcmp(_Memory_01,_Memory,uVar4); + uVar2 = uVar1; + if (iVar3 == 0) { + for (; (uVar2 < uVar9 && (_Memory[uVar2] == 0)); uVar2 = uVar2 + 1) { + } + if ((uVar2 == uVar9) || (_Memory[uVar2] != 1)) { + uVar7 = 7; + local_48[0] = uVar2; + goto LAB_1400dbc00; + } + local_48[0] = uVar2 + 1; + uVar9 = ((uVar8 - local_48[0]) - uVar1) - 1; + uVar7 = *param_8; + *param_8 = uVar9; + if (uVar7 < uVar9) { + uVar7 = 6; + goto LAB_1400dbc00; + } + memcpy(param_7,_Memory + local_48[0],(ulonglong)uVar9); + local_48[0] = uVar2 + (uVar8 - uVar1); + *param_9 = 1; + } + uVar7 = 0; + } + } + } + } + else { + uVar7 = 0; + } +LAB_1400dbc00: + free(_Memory_01); + free(_Memory_00); + free(_Memory); + return (ulonglong)uVar7; + } + free(_Memory); + } + if (_Memory_00 != (undefined1 *)0x0) { + free(_Memory_00); + } + if (_Memory_01 != (byte *)0x0) { + free(_Memory_01); + } + return 0xd; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400dbc80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400dbc80.c new file mode 100644 index 00000000..cb90fdcf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400dbc80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400dbc80 FUN_1400dbc80 + * Pseudocode, not original source. */ + +void FUN_1400dbc80(longlong param_1) + +{ + *(undefined1 *)(param_1 + 0x30) = 0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400dbc90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400dbc90.c new file mode 100644 index 00000000..23e052f0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400dbc90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400dbc90 FUN_1400dbc90 + * Pseudocode, not original source. */ + +void FUN_1400dbc90(longlong param_1) + +{ + FUN_140048960((char *)(param_1 + 0x388)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400dbce0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400dbce0.c new file mode 100644 index 00000000..8eac08a4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400dbce0.c @@ -0,0 +1,25 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400dbce0 FUN_1400dbce0 + * Pseudocode, not original source. */ + +void FUN_1400dbce0(longlong param_1) + +{ + longlong lVar1; + char cVar2; + double dVar3; + + if (((*(char *)(param_1 + 0x30) == '\0') && (*(longlong **)(param_1 + 0x18) != (longlong *)0x0)) + && (lVar1 = **(longlong **)(param_1 + 0x18), lVar1 != 0)) { + cVar2 = FUN_140043cf0(lVar1); + if (cVar2 == '\0') { + *(undefined1 *)(param_1 + 0x30) = 1; + *(undefined4 *)(param_1 + 0x34) = 0; + dVar3 = FUN_140048960((char *)(param_1 + 0x388)); + *(undefined4 *)(param_1 + 0x38) = 0; + *(double *)(param_1 + 0x28) = dVar3; + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400dbd40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400dbd40.c new file mode 100644 index 00000000..2bed7921 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400dbd40.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400dbd40 FUN_1400dbd40 + * Pseudocode, not original source. */ + +void FUN_1400dbd40(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong *plVar1; + + FUN_14003d040((int *)(param_1 + 0x310)); + if ((*(undefined8 **)(param_1 + 0x18) != (undefined8 *)0x0) && + (plVar1 = (longlong *)**(undefined8 **)(param_1 + 0x18), plVar1 != (longlong *)0x0)) { + FUN_140043a50(plVar1,param_2,param_3,param_4); + } + if ((*(undefined8 **)(param_1 + 0x20) != (undefined8 *)0x0) && + (plVar1 = (longlong *)**(undefined8 **)(param_1 + 0x20), plVar1 != (longlong *)0x0)) { + FUN_140043a50(plVar1,param_2,param_3,param_4); + } + FUN_14003d0d0(param_1 + 0x310); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400dbdb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400dbdb0.c new file mode 100644 index 00000000..7b111f18 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400dbdb0.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400dbdb0 FUN_1400dbdb0 + * Pseudocode, not original source. */ + +void FUN_1400dbdb0(longlong param_1) + +{ + uint uVar1; + longlong lVar2; + undefined **local_18; + undefined4 local_10; + undefined2 local_c; + + *(undefined1 *)(param_1 + 0x2c0) = 1; + local_18 = Proud::AddrPort::vftable; + local_10 = DAT_14017c890; + local_c = DAT_14017c894; + lVar2 = 0; + if (*(longlong **)(param_1 + 0x18) != (longlong *)0x0) { + lVar2 = **(longlong **)(param_1 + 0x18); + } + uVar1 = FUN_140045890(lVar2,(undefined8 *)&DAT_14017c630,(undefined **)0x258,(longlong)&local_18); + if (uVar1 != 0) { + *(undefined1 *)(param_1 + 0x2c0) = 0; + *(undefined1 *)(param_1 + 0x30) = 0; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400dbe20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400dbe20.c new file mode 100644 index 00000000..4b021700 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400dbe20.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400dbe20 FUN_1400dbe20 + * Pseudocode, not original source. */ + +void FUN_1400dbe20(longlong param_1,undefined8 param_2,undefined **param_3,undefined8 param_4) + +{ + uint uVar1; + longlong lVar2; + longlong lVar3; + + lVar3 = 0; + lVar2 = lVar3; + if (*(longlong **)(param_1 + 0x20) != (longlong *)0x0) { + lVar2 = **(longlong **)(param_1 + 0x20); + } + if (*(char *)(lVar2 + 0x80) == '\0') { + *(undefined1 *)(param_1 + 0x300) = 1; + if (*(longlong **)(param_1 + 0x20) != (longlong *)0x0) { + lVar3 = **(longlong **)(param_1 + 0x20); + } + uVar1 = FUN_1400449f0(lVar3,600,param_3,param_4); + if (uVar1 != 0) { + *(undefined1 *)(param_1 + 0x300) = 0; + *(undefined1 *)(param_1 + 0x30) = 0; + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400dbe80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400dbe80.c new file mode 100644 index 00000000..31eecf73 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400dbe80.c @@ -0,0 +1,44 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400dbe80 FUN_1400dbe80 + * Pseudocode, not original source. */ + +/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ + +void FUN_1400dbe80(longlong param_1,undefined8 param_2,undefined **param_3,undefined8 param_4) + +{ + int *piVar1; + bool bVar2; + double dVar3; + undefined8 uVar4; + + piVar1 = (int *)(param_1 + 0x310); + FUN_14003d040(piVar1); + bVar2 = true; + if (*(char *)(param_1 + 0x30) != '\0') { + *(int *)(param_1 + 0x34) = *(int *)(param_1 + 0x34) + 1; + if (*(int *)(param_1 + 0x34) == 1) { + FUN_1400dbdb0(param_1); + FUN_1400dbe20(param_1,param_2,param_3,param_4); + } + else { + dVar3 = FUN_140048960((char *)(param_1 + 0x388)); + if ((_DAT_14016f160 < dVar3 - *(double *)(param_1 + 0x28)) || + (*(char *)(param_1 + 0x48) != '\0')) { + uVar4 = FUN_1400dbc90(param_1); + *(undefined8 *)(param_1 + 0x40) = uVar4; + *(undefined1 *)(param_1 + 0x48) = 0; + *(undefined1 *)(param_1 + 0x30) = 0; + FUN_14003d0d0((longlong)piVar1); + bVar2 = false; + (**(code **)(**(longlong **)(param_1 + 0x3b0) + 0x10)) + (*(longlong **)(param_1 + 0x3b0),uVar4); + } + } + } + if (bVar2) { + FUN_14003d0d0((longlong)piVar1); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400dbf60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400dbf60.c new file mode 100644 index 00000000..1ce4b888 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400dbf60.c @@ -0,0 +1,83 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400dbf60 FUN_1400dbf60 + * Pseudocode, not original source. */ + +void FUN_1400dbf60(longlong param_1,longlong *param_2,undefined **param_3,undefined8 param_4) + +{ + uint uVar1; + undefined8 uVar2; + longlong lVar3; + longlong local_40; + undefined8 local_38; + int local_30; + undefined8 local_28; + undefined4 local_20; + undefined **local_18; + undefined4 local_10; + undefined2 local_c; + + if (*(char *)(param_1 + 0x380) != '\0') { + do { + FUN_1400dbe80(param_1,param_2,param_3,param_4); + local_18 = Proud::AddrPort::vftable; + local_40 = 0; + local_28 = 0; + local_38 = 0; + local_30 = 5; + local_20 = 0; + local_10 = DAT_14016f3d0; + local_c = DAT_14016f3d4; + param_3 = (undefined **)0xa; + param_2 = &local_40; + uVar2 = FUN_140046e80(*(char **)(param_1 + 0x308),param_2,10,param_4); + if ((char)uVar2 != '\0') { + FUN_14003d040((int *)(param_1 + 0x310)); + if ((int)local_38 < 1) { + *(undefined1 *)(param_1 + 0x48) = 1; + } + if (local_30 == 1) { + if (*(char *)(param_1 + 0x30) == '\0') { + *(undefined1 *)(param_1 + 0x2c0) = 0; + } + else if (0 < (int)local_38) { + *(int *)(param_1 + 0x38) = *(int *)(param_1 + 0x38) + (int)local_38; + FUN_1400dbdb0(param_1); + goto LAB_1400dc04b; + } + } + else { +LAB_1400dc04b: + if (local_30 == 2) { + if (*(char *)(param_1 + 0x30) == '\0') { +LAB_1400dc0aa: + *(undefined1 *)(param_1 + 0x300) = 0; + } + else { + lVar3 = 0; + if (*(longlong **)(param_1 + 0x20) != (longlong *)0x0) { + lVar3 = **(longlong **)(param_1 + 0x20); + } + if (*(char *)(lVar3 + 0x80) == '\0') { + *(undefined1 *)(param_1 + 0x300) = 1; + lVar3 = 0; + if (*(longlong **)(param_1 + 0x20) != (longlong *)0x0) { + lVar3 = **(longlong **)(param_1 + 0x20); + } + param_2 = (longlong *)0x258; + uVar1 = FUN_1400449f0(lVar3,600,param_3,param_4); + if (uVar1 != 0) { + *(undefined1 *)(param_1 + 0x30) = 0; + goto LAB_1400dc0aa; + } + } + } + } + } + FUN_14003d0d0(param_1 + 0x310); + } + } while (*(char *)(param_1 + 0x380) != '\0'); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400dc0f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400dc0f0.c new file mode 100644 index 00000000..5acbea12 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400dc0f0.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400dc0f0 FUN_1400dc0f0 + * Pseudocode, not original source. */ + +void FUN_1400dc0f0(longlong param_1,undefined8 param_2,undefined **param_3,undefined8 param_4) + +{ + DWORD DVar1; + char *pcVar2; + + DVar1 = GetCurrentThreadId(); + pcVar2 = "PNSendSpeedMeasurer"; + FUN_140046070(DVar1,"PNSendSpeedMeasurer"); + FUN_1400dbf60(param_1,(longlong *)pcVar2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400dc120.c b/decomp/AgentManager_Release_x64/full/functions/0x1400dc120.c new file mode 100644 index 00000000..51b8e357 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400dc120.c @@ -0,0 +1,193 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400dc120 FUN_1400dc120 + * Pseudocode, not original source. */ + +longlong * FUN_1400dc120(longlong *param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 *puVar1; + char *pcVar2; + char *pcVar3; + undefined8 *puVar4; + ulonglong uVar5; + longlong *plVar6; + char **ppcVar7; + undefined8 **ppuVar8; + longlong *plVar9; + longlong *plVar10; + char *local_res10; + undefined8 *local_res18; + undefined8 *local_res20; + + *param_1 = (longlong)Proud::CSendSpeedMeasurer::vftable; + param_1[1] = (longlong)Proud::CSendSpeedMeasurer::vftable; + param_1[2] = (longlong)Proud::CSendSpeedMeasurer::vftable; + plVar9 = (longlong *)0x0; + param_1[3] = 0; + param_1[4] = 0; + param_1[0x61] = 0; + uVar5 = FUN_140094860(); + plVar10 = (longlong *)CONCAT71((int7)((ulonglong)param_3 >> 8),1); + FUN_14003cf60((undefined4 *)(param_1 + 0x62),uVar5 & 0xffffffff,plVar10,param_4); + param_1[0x69] = 0; + FUN_140048880((undefined2 *)(param_1 + 0x71)); + local_res10 = operator_new(0xa8); + plVar6 = plVar9; + if (local_res10 != (char *)0x0) { + plVar10 = (longlong *)CONCAT71((int7)((ulonglong)plVar10 >> 8),1); + plVar6 = (longlong *)FUN_140047bb0(local_res10,param_1 + 1,plVar10,param_4); + } + param_1[0x61] = (longlong)plVar6; + *(undefined1 *)(param_1 + 9) = 0; + param_1[0x76] = param_2; + *(undefined1 *)(param_1 + 0x70) = 1; + *(undefined1 *)(param_1 + 0x58) = 0; + *(undefined1 *)(param_1 + 0x60) = 0; + local_res10 = (char *)FUN_14003e840(0x400); + plVar6 = plVar9; + if (local_res10 != (char *)0x0) { + plVar10 = param_1; + plVar6 = FUN_140043f50((undefined8 *)local_res10,1,param_1,param_4); + } + if (plVar6 == (longlong *)0x0) { + local_res10 = (char *)0x0; + } + else { + local_res10 = (char *)FUN_14003e840(0x10); + local_res10[8] = '\x01'; + local_res10[9] = '\0'; + local_res10[10] = '\0'; + local_res10[0xb] = '\0'; + local_res10[0xc] = '\0'; + local_res10[0xd] = '\0'; + local_res10[0xe] = '\0'; + local_res10[0xf] = '\0'; + *(longlong **)local_res10 = plVar6; + } + pcVar2 = local_res10; + ppcVar7 = &local_res10; + FUN_140040510(param_1 + 3,(longlong *)ppcVar7); + pcVar3 = local_res10; + if (pcVar2 != (char *)0x0) { + plVar6 = (longlong *)(pcVar2 + 8); + *plVar6 = *plVar6 + -1; + if (*plVar6 == 0) { + plVar6 = *(longlong **)local_res10; + if (plVar6 != (longlong *)0x0) { + FUN_140043e60(plVar6,ppcVar7,plVar10,param_4); + FUN_14003e8b0(plVar6); + } + FUN_14003e8b0(pcVar3); + } + } + plVar6 = plVar9; + if ((undefined8 *)param_1[3] != (undefined8 *)0x0) { + plVar6 = *(longlong **)param_1[3]; + } + FUN_140045ad0((longlong)plVar6,ppcVar7,plVar10,param_4); + plVar6 = plVar9; + if ((undefined8 *)param_1[3] != (undefined8 *)0x0) { + plVar6 = *(longlong **)param_1[3]; + } + FUN_140044fa0((longlong)plVar6,0); + plVar6 = plVar9; + if ((undefined8 *)param_1[3] != (undefined8 *)0x0) { + plVar6 = *(longlong **)param_1[3]; + } + FUN_140045250((longlong)plVar6,4); + local_res18 = (undefined8 *)FUN_14003e840(0x400); + plVar6 = plVar9; + if (local_res18 != (undefined8 *)0x0) { + plVar10 = param_1; + plVar6 = FUN_140043f50(local_res18,2,param_1,param_4); + } + if (plVar6 == (longlong *)0x0) { + local_res18 = (undefined8 *)0x0; + } + else { + local_res18 = (undefined8 *)FUN_14003e840(0x10); + local_res18[1] = 1; + *local_res18 = plVar6; + } + puVar1 = local_res18; + ppuVar8 = &local_res18; + FUN_140040510(param_1 + 4,(longlong *)ppuVar8); + puVar4 = local_res18; + if (puVar1 != (undefined8 *)0x0) { + plVar6 = puVar1 + 1; + *plVar6 = *plVar6 + -1; + if (*plVar6 == 0) { + plVar6 = (longlong *)*local_res18; + if (plVar6 != (longlong *)0x0) { + FUN_140043e60(plVar6,ppuVar8,plVar10,param_4); + FUN_14003e8b0(plVar6); + } + FUN_14003e8b0(puVar4); + } + } + plVar6 = plVar9; + if ((undefined8 *)param_1[4] != (undefined8 *)0x0) { + plVar6 = *(longlong **)param_1[4]; + } + FUN_140045ad0((longlong)plVar6,ppuVar8,plVar10,param_4); + plVar6 = plVar9; + if ((undefined8 *)param_1[3] != (undefined8 *)0x0) { + plVar6 = *(longlong **)param_1[3]; + } + FUN_140043150((longlong)plVar6,param_1 + 2,plVar10,param_4); + plVar6 = plVar9; + if ((undefined8 *)param_1[3] != (undefined8 *)0x0) { + plVar6 = *(longlong **)param_1[3]; + } + FUN_140047fc0(param_1[0x61],plVar6,plVar10,param_4); + plVar6 = plVar9; + if ((undefined8 *)param_1[4] != (undefined8 *)0x0) { + plVar6 = *(longlong **)param_1[4]; + } + FUN_140043150((longlong)plVar6,param_1 + 2,plVar10,param_4); + plVar6 = plVar9; + if ((undefined8 *)param_1[4] != (undefined8 *)0x0) { + plVar6 = *(longlong **)param_1[4]; + } + FUN_140047fc0(param_1[0x61],plVar6,plVar10,param_4); + param_1[5] = 0; + *(undefined1 *)(param_1 + 6) = 0; + param_1[8] = 0; + FUN_1400488d0((char *)(param_1 + 0x71)); + local_res20 = operator_new(0x28); + plVar6 = plVar9; + if (local_res20 != (undefined8 *)0x0) { + plVar10 = param_1; + plVar6 = FUN_140045b20(local_res20,FUN_1400dc0f0,param_1); + } + if (plVar6 == (longlong *)0x0) { + local_res20 = (undefined8 *)0x0; + } + else { + local_res20 = (undefined8 *)FUN_14003e840(0x10); + local_res20[1] = 1; + *local_res20 = plVar6; + } + puVar1 = local_res20; + ppuVar8 = &local_res20; + FUN_14007b440(param_1 + 0x69,(longlong *)ppuVar8); + puVar4 = local_res20; + if (puVar1 != (undefined8 *)0x0) { + plVar6 = puVar1 + 1; + *plVar6 = *plVar6 + -1; + if (*plVar6 == 0) { + puVar1 = (undefined8 *)*local_res20; + if (puVar1 != (undefined8 *)0x0) { + FUN_140045c30(puVar1); + operator_delete(puVar1); + } + FUN_14003e8b0(puVar4); + } + } + if ((undefined8 *)param_1[0x69] != (undefined8 *)0x0) { + plVar9 = *(longlong **)param_1[0x69]; + } + FUN_140045d20(plVar9,ppuVar8,plVar10,param_4); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400dc510.c b/decomp/AgentManager_Release_x64/full/functions/0x1400dc510.c new file mode 100644 index 00000000..339db278 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400dc510.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400dc510 FUN_1400dc510 + * Pseudocode, not original source. */ + +void FUN_1400dc510(longlong param_1,ulonglong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_1400dc7f0((undefined8 *)(param_1 + -8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400dc520.c b/decomp/AgentManager_Release_x64/full/functions/0x1400dc520.c new file mode 100644 index 00000000..7fb58026 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400dc520.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400dc520 FUN_1400dc520 + * Pseudocode, not original source. */ + +void FUN_1400dc520(longlong param_1,ulonglong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_1400dc7f0((undefined8 *)(param_1 + -0x10),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400dc530.c b/decomp/AgentManager_Release_x64/full/functions/0x1400dc530.c new file mode 100644 index 00000000..1ebe7792 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400dc530.c @@ -0,0 +1,37 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400dc530 FUN_1400dc530 + * Pseudocode, not original source. */ + +void FUN_1400dc530(longlong param_1) + +{ + int *piVar1; + undefined8 *puVar2; + longlong local_res8 [2]; + + piVar1 = (int *)(param_1 + 0x310); + while( true ) { + FUN_14003d040(piVar1); + if (DAT_140176450 != '\0') { + FUN_14003d0d0((longlong)piVar1); + return; + } + if ((*(char *)(param_1 + 0x2c0) == '\0') && (*(char *)(param_1 + 0x300) == '\0')) break; + FUN_14003d0d0((longlong)piVar1); + Sleep(10); + } + *(undefined1 *)(param_1 + 0x30) = 0; + puVar2 = (undefined8 *)0x0; + local_res8[0] = 0; + FUN_140040510((longlong *)(param_1 + 0x18),local_res8); + local_res8[1] = 0; + FUN_140040510((longlong *)(param_1 + 0x20),local_res8 + 1); + FUN_14003d0d0((longlong)piVar1); + *(undefined1 *)(param_1 + 0x380) = 0; + if (*(undefined8 **)(param_1 + 0x348) != (undefined8 *)0x0) { + puVar2 = (undefined8 *)**(undefined8 **)(param_1 + 0x348); + } + FUN_140045bb0(puVar2); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400dc610.c b/decomp/AgentManager_Release_x64/full/functions/0x1400dc610.c new file mode 100644 index 00000000..75517e5f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400dc610.c @@ -0,0 +1,75 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400dc610 FUN_1400dc610 + * Pseudocode, not original source. */ + +void FUN_1400dc610(undefined8 *param_1,undefined8 param_2,longlong *param_3,undefined8 param_4) + +{ + void *pvVar1; + undefined8 *puVar2; + undefined8 *puVar3; + longlong *plVar4; + longlong *plVar5; + longlong local_res10 [3]; + + *param_1 = Proud::CSendSpeedMeasurer::vftable; + param_1[1] = Proud::CSendSpeedMeasurer::vftable; + param_1[2] = Proud::CSendSpeedMeasurer::vftable; + FUN_1400dbd40((longlong)param_1,param_2,param_3,param_4); + FUN_1400dc530((longlong)param_1); + local_res10[0] = 0; + FUN_140040510(param_1 + 4,local_res10); + local_res10[1] = 0; + plVar5 = local_res10 + 1; + FUN_140040510(param_1 + 3,plVar5); + pvVar1 = (void *)param_1[0x61]; + if (pvVar1 != (void *)0x0) { + FUN_140047d90((longlong)pvVar1,plVar5,param_3,param_4); + operator_delete(pvVar1); + } + param_1[0x61] = 0; + if ((param_1[0x69] != 0) && + (*(longlong *)(param_1[0x69] + 8) = *(longlong *)(param_1[0x69] + 8) + -1, + *(longlong *)(param_1[0x69] + 8) == 0)) { + puVar2 = (undefined8 *)param_1[0x69]; + puVar3 = (undefined8 *)*puVar2; + if (puVar3 != (undefined8 *)0x0) { + FUN_140045c30(puVar3); + operator_delete(puVar3); + } + FUN_14003e8b0(puVar2); + } + FUN_14003d110((undefined4 *)(param_1 + 0x62),plVar5,param_3,param_4); + pvVar1 = (void *)param_1[0x61]; + if (pvVar1 != (void *)0x0) { + FUN_140047d90((longlong)pvVar1,plVar5,param_3,param_4); + operator_delete(pvVar1); + } + if ((param_1[4] != 0) && + (*(longlong *)(param_1[4] + 8) = *(longlong *)(param_1[4] + 8) + -1, + *(longlong *)(param_1[4] + 8) == 0)) { + puVar2 = (undefined8 *)param_1[4]; + plVar4 = (longlong *)*puVar2; + if (plVar4 != (longlong *)0x0) { + FUN_140043e60(plVar4,plVar5,param_3,param_4); + FUN_14003e8b0(plVar4); + } + FUN_14003e8b0(puVar2); + } + if ((param_1[3] != 0) && + (*(longlong *)(param_1[3] + 8) = *(longlong *)(param_1[3] + 8) + -1, + *(longlong *)(param_1[3] + 8) == 0)) { + puVar2 = (undefined8 *)param_1[3]; + plVar4 = (longlong *)*puVar2; + if (plVar4 != (longlong *)0x0) { + FUN_140043e60(plVar4,plVar5,param_3,param_4); + FUN_14003e8b0(plVar4); + } + FUN_14003e8b0(puVar2); + } + param_1[2] = Proud::ICompletionContext::vftable; + param_1[1] = Proud::ICompletionPortEventSink::vftable; + *param_1 = Proud::IFastSocketDelegate::vftable; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400dc7f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400dc7f0.c new file mode 100644 index 00000000..2bc9384a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400dc7f0.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400dc7f0 FUN_1400dc7f0 + * Pseudocode, not original source. */ + +undefined8 * +FUN_1400dc7f0(undefined8 *param_1,ulonglong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_1400dc610(param_1,param_2,param_3,param_4); + if ((param_2 & 1) != 0) { + operator_delete(param_1); + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400dc820.c b/decomp/AgentManager_Release_x64/full/functions/0x1400dc820.c new file mode 100644 index 00000000..6f2aee04 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400dc820.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400dc820 FUN_1400dc820 + * Pseudocode, not original source. */ + +void FUN_1400dc820(longlong *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 *puVar1; + longlong local_68; + undefined1 local_60; + undefined4 local_5c; + exception local_50 [72]; + + if (param_1[3] != 0) { + FUN_14003db10(local_50,(wchar_t *)PTR_u_Collection_object_can_use_fast_h_14016f1d0,param_3, + param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_50,(ThrowInfo *)&DAT_14016c210); + } + if (*param_1 == 0) { + FUN_1400417c0(&local_68); + local_5c = 0; + local_60 = 0; + puVar1 = FUN_140041730(&local_68,param_2,param_3,param_4); + *param_1 = (longlong)puVar1; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400dc890.c b/decomp/AgentManager_Release_x64/full/functions/0x1400dc890.c new file mode 100644 index 00000000..d566ab16 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400dc890.c @@ -0,0 +1,88 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400dc890 FUN_1400dc890 + * Pseudocode, not original source. */ + +void FUN_1400dc890(longlong *param_1,longlong param_2,size_t param_3,undefined8 param_4) + +{ + int iVar1; + longlong *plVar2; + longlong lVar3; + undefined ***pppuVar4; + ulonglong uVar5; + uint uVar6; + ulonglong uVar7; + ulonglong uVar8; + undefined8 uVar9; + double dVar10; + undefined **local_30; + longlong *local_28; + LPVOID local_20; + undefined8 local_18; + undefined8 local_10; + + plVar2 = (longlong *) + (**(code **)(**(longlong **)*param_1 + 0x38)) + (*(longlong **)*param_1,param_2,param_3,param_4,0xfffffffffffffffe); + uVar7 = 0; + local_28 = (longlong *)0x0; + local_20 = (LPVOID)0x0; + local_18 = 0; + local_10 = 0; + local_30 = Proud::CUncompressedFrameNumberArray::vftable; + if (plVar2 == (longlong *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + uVar8 = uVar7; + if (*(ulonglong **)(param_2 + 0x20) != (ulonglong *)0x0) { + uVar8 = **(ulonglong **)(param_2 + 0x20); + } + pppuVar4 = &local_30; + local_28 = plVar2; + FUN_1400981d0(uVar8,(longlong)pppuVar4,param_3,param_4); + if (0 < (int)local_18) { + iVar1 = (int)local_18 + -1; + if ((iVar1 < 0) || ((int)local_18 <= iVar1)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(uVar8,pppuVar4,param_3,param_4); + } + *(undefined4 *)(*param_1 + 0xe4) = *(undefined4 *)((longlong)local_20 + (longlong)iVar1 * 4); + uVar9 = (**(code **)(**(longlong **)*param_1 + 0x18))(); + *(undefined8 *)(*param_1 + 0xe8) = uVar9; + *(int *)(*param_1 + 0x30) = *(int *)(*param_1 + 0x30) + 1; + } + lVar3 = *param_1 + 8; + uVar5 = (ulonglong)*(uint *)(param_2 + 0x34); + FUN_1400d4e30(lVar3,*(uint *)(param_2 + 0x34)); + *(undefined4 *)(*param_1 + 0xe0) = *(undefined4 *)(param_2 + 0x34); + uVar8 = uVar7; + if (0 < (int)local_18) { + do { + if (((longlong)uVar8 < 0) || ((int)local_18 <= (int)uVar7)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(lVar3,uVar5,param_3,param_4); + } + lVar3 = *param_1 + 8; + uVar6 = *(uint *)((longlong)local_20 + uVar8 * 4); + uVar5 = (ulonglong)uVar6; + FUN_1400d4df0(lVar3,uVar6); + uVar6 = (int)uVar7 + 1; + uVar7 = (ulonglong)uVar6; + uVar8 = uVar8 + 1; + } while ((int)uVar6 < (int)local_18); + } + dVar10 = (double)*(int *)(*param_1 + 0x14); + *(int *)(*param_1 + 0x14) = (int)(((double)*(int *)(param_2 + 0x30) - dVar10) * 0.9 + dVar10) + 1; + local_30 = Proud::CFastArray::vftable; + if (local_20 != (LPVOID)0x0) { + if (local_28 == (longlong *)0x0) { + FUN_14003e8b0(local_20); + } + else { + (**(code **)(*local_28 + 0x18))(); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400dca30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400dca30.c new file mode 100644 index 00000000..422fa2de --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400dca30.c @@ -0,0 +1,271 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400dca30 FUN_1400dca30 + * Pseudocode, not original source. */ + +/* WARNING: Removing unreachable block (ram,0x0001400dd013) */ +/* WARNING: Removing unreachable block (ram,0x0001400dd01b) */ +/* WARNING: Removing unreachable block (ram,0x0001400dd01f) */ +/* WARNING: Removing unreachable block (ram,0x0001400dd029) */ + +void FUN_1400dca30(longlong param_1,int param_2,int param_3) + +{ + int *piVar1; + int iVar2; + int iVar3; + undefined4 uVar4; + longlong *plVar5; + void *pvVar6; + ulonglong uVar7; + int iVar8; + longlong lVar9; + ulonglong uVar10; + int iVar11; + longlong lVar12; + longlong lVar13; + int iVar14; + int local_res10 [2]; + int local_res18 [2]; + char *local_res20; + longlong *local_128; + void *local_120; + ulonglong local_118; + longlong local_110; + longlong local_108; + longlong *local_f8; + undefined **local_f0 [3]; + undefined **local_d8 [3]; + undefined **local_c0 [3]; + undefined8 local_a8; + undefined **local_a0 [3]; + undefined **local_88 [3]; + undefined8 local_70 [3]; + undefined8 local_58 [4]; + + local_a8 = 0xfffffffffffffffe; + if (1 < param_2 - param_3) { + std::_Container_base12::_Container_base12((_Container_base12 *)&local_128); + local_128 = operator_new(0x10); + if (local_128 == (longlong *)0x0) { + local_f8 = local_128; + std::exception::exception((exception *)local_d8,(char **)&local_f8); + local_d8[0] = std::bad_alloc::vftable; + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_d8,(ThrowInfo *)&DAT_14016c158); + } + *local_128 = 0; + local_128[1] = 0; + *local_128 = (longlong)&local_128; + local_120 = (void *)0x0; + local_118 = 0; + local_110 = 0; + local_108 = 0; + local_res18[0] = param_2 + -1; + local_res10[0] = param_3; + FUN_140051a40((_Container_base12 *)&local_128,local_res10); + FUN_140051a40((_Container_base12 *)&local_128,local_res18); + lVar9 = local_108; + while (lVar13 = 0, uVar7 = local_118, lVar9 != 0) { + plVar5 = FUN_14004ea90(&local_128,local_70); + plVar5 = FUN_140051b30(plVar5,local_58,1); + lVar12 = lVar13; + if ((longlong *)*plVar5 != (longlong *)0x0) { + lVar12 = *(longlong *)*plVar5; + } + uVar7 = (ulonglong)plVar5[2] >> 2; + if (*(ulonglong *)(lVar12 + 0x10) <= uVar7) { + uVar7 = uVar7 - *(ulonglong *)(lVar12 + 0x10); + } + iVar14 = *(int *)(*(longlong *)(*(longlong *)(lVar12 + 8) + uVar7 * 8) + + (ulonglong)((uint)plVar5[2] & 3) * 4); + if ((lVar9 != 0) && (lVar9 = lVar9 + -1, local_108 = lVar9, lVar9 == 0)) { + local_110 = lVar13; + } + local_res10[0] = iVar14; + plVar5 = FUN_14004ea90(&local_128,local_58); + plVar5 = FUN_140051b30(plVar5,local_70,1); + lVar12 = lVar13; + if ((longlong *)*plVar5 != (longlong *)0x0) { + lVar12 = *(longlong *)*plVar5; + } + uVar7 = (ulonglong)plVar5[2] >> 2; + if (*(ulonglong *)(lVar12 + 0x10) <= uVar7) { + uVar7 = uVar7 - *(ulonglong *)(lVar12 + 0x10); + } + iVar2 = *(int *)(*(longlong *)(*(longlong *)(lVar12 + 8) + uVar7 * 8) + + (ulonglong)((uint)plVar5[2] & 3) * 4); + lVar12 = (longlong)iVar2; + if ((lVar9 != 0) && (lVar9 = lVar9 + -1, local_108 = lVar9, lVar9 == 0)) { + local_110 = lVar13; + } + iVar11 = iVar2 + 1; + iVar3 = *(int *)(param_1 + lVar12 * 4); + if (iVar11 <= iVar14) { + iVar8 = iVar14; + if ((iVar11 < iVar14) && (lVar9 = local_108, iVar11 <= iVar14)) { +LAB_1400dcbf7: + do { + if (iVar3 < *(int *)(param_1 + (longlong)iVar11 * 4)) { + if (iVar8 < iVar11) break; + do { + if (*(int *)(param_1 + (longlong)iVar8 * 4) < iVar3) { + if (iVar8 < iVar11) goto LAB_1400dcc45; + uVar4 = *(undefined4 *)(param_1 + (longlong)iVar11 * 4); + *(undefined4 *)(param_1 + (longlong)iVar11 * 4) = + *(undefined4 *)(param_1 + (longlong)iVar8 * 4); + *(undefined4 *)(param_1 + (longlong)iVar8 * 4) = uVar4; + break; + } + iVar8 = iVar8 + -1; + } while (iVar11 <= iVar8); + } + else { + iVar11 = iVar11 + 1; + if (iVar11 <= iVar8) goto LAB_1400dcbf7; + } + } while (iVar11 < iVar8); + } +LAB_1400dcc45: + if (iVar2 <= iVar8) { + iVar3 = *(int *)(param_1 + (longlong)iVar8 * 4); + if (iVar3 < *(int *)(param_1 + lVar12 * 4)) { + uVar4 = *(undefined4 *)(param_1 + lVar12 * 4); + *(int *)(param_1 + lVar12 * 4) = iVar3; + *(undefined4 *)(param_1 + (longlong)iVar8 * 4) = uVar4; + lVar9 = local_108; + } + if (iVar2 < iVar8) { + std::_Container_base12::_Orphan_all((_Container_base12 *)&local_128); + if ((((int)local_110 + (int)local_108 & 3U) == 0) && (local_118 <= local_108 + 4U >> 2)) + { + FUN_14004eab0((longlong)&local_128,1); + } + uVar7 = local_108 + local_110; + uVar10 = uVar7 >> 2; + if (local_118 <= uVar10) { + uVar10 = uVar10 - local_118; + } + if (*(longlong *)((longlong)local_120 + uVar10 * 8) == 0) { + pvVar6 = operator_new(0x10); + if (pvVar6 == (void *)0x0) { + local_res20 = (char *)0x0; + std::exception::exception((exception *)local_a0,&local_res20); + local_a0[0] = std::bad_alloc::vftable; + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_a0,(ThrowInfo *)&DAT_14016c158); + } + *(void **)((longlong)local_120 + uVar10 * 8) = pvVar6; + } + piVar1 = (int *)(*(longlong *)((longlong)local_120 + uVar10 * 8) + + (ulonglong)((uint)uVar7 & 3) * 4); + if (piVar1 != (int *)0x0) { + *piVar1 = iVar2; + } + local_108 = local_108 + 1; + std::_Container_base12::_Orphan_all((_Container_base12 *)&local_128); + if ((((char)local_108 + (char)local_110 & 3U) == 0) && + (local_118 <= local_108 + 4U >> 2)) { + FUN_14004eab0((longlong)&local_128,1); + } + uVar7 = local_108 + local_110; + uVar10 = uVar7 >> 2; + if (local_118 <= uVar10) { + uVar10 = uVar10 - local_118; + } + if (*(longlong *)((longlong)local_120 + uVar10 * 8) == 0) { + local_res20 = operator_new(0x10); + if (local_res20 == (char *)0x0) { + std::exception::exception((exception *)local_c0,&local_res20); + local_c0[0] = std::bad_alloc::vftable; + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_c0,(ThrowInfo *)&DAT_14016c158); + } + *(char **)((longlong)local_120 + uVar10 * 8) = local_res20; + } + piVar1 = (int *)(*(longlong *)((longlong)local_120 + uVar10 * 8) + + (ulonglong)((uint)uVar7 & 3) * 4); + if (piVar1 != (int *)0x0) { + *piVar1 = iVar8 + -1; + } + lVar9 = local_108 + 1; + iVar14 = local_res10[0]; + local_108 = lVar9; + } + } + if (iVar8 < iVar14) { + std::_Container_base12::_Orphan_all((_Container_base12 *)&local_128); + if ((((int)local_110 + (int)local_108 & 3U) == 0) && (local_118 <= local_108 + 4U >> 2)) { + FUN_14004eab0((longlong)&local_128,1); + } + uVar7 = local_108 + local_110; + uVar10 = uVar7 >> 2; + if (local_118 <= uVar10) { + uVar10 = uVar10 - local_118; + } + if (*(longlong *)((longlong)local_120 + uVar10 * 8) == 0) { + pvVar6 = operator_new(0x10); + if (pvVar6 == (void *)0x0) { + local_res20 = (char *)0x0; + std::exception::exception((exception *)local_f0,&local_res20); + local_f0[0] = std::bad_alloc::vftable; + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_f0,(ThrowInfo *)&DAT_14016c158); + } + *(void **)((longlong)local_120 + uVar10 * 8) = pvVar6; + } + piVar1 = (int *)(*(longlong *)((longlong)local_120 + uVar10 * 8) + + (ulonglong)((uint)uVar7 & 3) * 4); + if (piVar1 != (int *)0x0) { + *piVar1 = iVar8 + 1; + } + local_108 = local_108 + 1; + std::_Container_base12::_Orphan_all((_Container_base12 *)&local_128); + if ((((char)local_108 + (char)local_110 & 3U) == 0) && (local_118 <= local_108 + 4U >> 2)) + { + FUN_14004eab0((longlong)&local_128,1); + } + uVar7 = local_108 + local_110; + uVar10 = uVar7 >> 2; + if (local_118 <= uVar10) { + uVar10 = uVar10 - local_118; + } + if (*(longlong *)((longlong)local_120 + uVar10 * 8) == 0) { + pvVar6 = operator_new(0x10); + if (pvVar6 == (void *)0x0) { + local_res20 = (char *)0x0; + std::exception::exception((exception *)local_88,&local_res20); + local_88[0] = std::bad_alloc::vftable; + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_88,(ThrowInfo *)&DAT_14016c158); + } + *(void **)((longlong)local_120 + uVar10 * 8) = pvVar6; + } + piVar1 = (int *)(*(longlong *)((longlong)local_120 + uVar10 * 8) + + (ulonglong)((uint)uVar7 & 3) * 4); + if (piVar1 != (int *)0x0) { + *piVar1 = iVar14; + } + lVar9 = local_108 + 1; + local_108 = lVar9; + } + } + } + while (uVar7 != 0) { + uVar7 = uVar7 - 1; + if (*(longlong *)((longlong)local_120 + uVar7 * 8) != 0) { + operator_delete(*(void **)((longlong)local_120 + uVar7 * 8)); + } + } + if (local_120 != (void *)0x0) { + operator_delete(local_120); + } + local_118 = 0; + local_120 = (void *)0x0; + std::_Container_base12::_Orphan_all((_Container_base12 *)&local_128); + operator_delete(local_128); + local_128 = (longlong *)0x0; + std::_Container_base12::~_Container_base12((_Container_base12 *)&local_128); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400dd0f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400dd0f0.c new file mode 100644 index 00000000..42e4c354 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400dd0f0.c @@ -0,0 +1,192 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400dd0f0 FUN_1400dd0f0 + * Pseudocode, not original source. */ + +void FUN_1400dd0f0(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4) + +{ + longlong *plVar1; + undefined8 *puVar2; + longlong *plVar3; + longlong *plVar4; + longlong *plVar5; + longlong lVar6; + ulonglong uVar7; + void *_Dst; + ulonglong uVar8; + longlong lVar9; + int iVar10; + longlong *plVar11; + ulonglong uVar12; + uint uVar13; + int iVar14; + int iVar15; + longlong *local_70; + longlong *local_68; + undefined8 local_60; + longlong local_58; + longlong local_50; + longlong local_48; + longlong *local_40; + longlong *local_38; + undefined4 local_30; + undefined4 local_2c; + + iVar15 = (int)param_1[6]; + do { + if (iVar15 < 1) { + return; + } + plVar11 = (longlong *)0x0; + local_38 = (longlong *)(**(code **)(**(longlong **)*param_1 + 0x38))(); + local_48 = 0; + local_50 = 0; + local_58 = 0; + local_40 = (longlong *)0x0; + local_2c = 0; + local_60 = 2; + plVar4 = (longlong *)(**(code **)(**(longlong **)*param_1 + 0x38))(); + plVar5 = FUN_14005b3e0((longlong *)&local_70,plVar4,param_3,param_4); + plVar1 = local_38; + plVar3 = local_40; + plVar4 = (longlong *)*plVar5; + if (plVar4 != (longlong *)0x0) { + plVar4[1] = plVar4[1] + 1; + plVar11 = plVar4; + } + if (local_40 != (longlong *)0x0) { + plVar4 = local_40 + 1; + *plVar4 = *plVar4 + -1; + if (*plVar4 == 0) { + puVar2 = (undefined8 *)*local_40; + *puVar2 = Proud::CFastArray::vftable; + if ((LPVOID)puVar2[2] != (LPVOID)0x0) { + if ((longlong *)puVar2[1] == (longlong *)0x0) { + FUN_14003e8b0((LPVOID)puVar2[2]); + } + else { + (**(code **)(*(longlong *)puVar2[1] + 0x18))(); + } + } + (**(code **)(*plVar1 + 0x18))(plVar1,puVar2); + (**(code **)(*local_38 + 0x18))(local_38,plVar3); + } + } + plVar3 = local_68; + plVar4 = local_70; + uVar12 = 0; + local_38 = (longlong *)plVar5[1]; + local_40 = plVar11; + if (local_70 != (longlong *)0x0) { + plVar1 = local_70 + 1; + *plVar1 = *plVar1 + -1; + if (*plVar1 == 0) { + puVar2 = (undefined8 *)*local_70; + *puVar2 = Proud::CFastArray::vftable; + if ((LPVOID)puVar2[2] != (LPVOID)0x0) { + if ((longlong *)puVar2[1] == (longlong *)0x0) { + FUN_14003e8b0((LPVOID)puVar2[2]); + } + else { + (**(code **)(*(longlong *)puVar2[1] + 0x18))(); + } + } + (**(code **)(*plVar3 + 0x18))(plVar3,puVar2); + (**(code **)(*local_68 + 0x18))(local_68,plVar4); + } + } + iVar15 = 0; + uVar13 = *(uint *)(param_1 + 6); + uVar8 = (ulonglong)uVar13; + uVar7 = uVar12; + if (uVar13 != 0) { + uVar7 = param_1[5]; + } + lVar9 = 0; + if ((int)uVar13 < 0x7d1) { + FUN_14004d0b0(uVar7,uVar8,0); + } + else { + FUN_1400dca30(uVar7,uVar13,0); + } + iVar10 = 0; + iVar14 = 0; + if (0 < (int)param_1[6]) { + do { + if (((longlong)uVar12 < 0) || ((int)param_1[6] <= iVar10)) { + /* WARNING: Subroutine does not return */ + FUN_14003def0(uVar7,uVar8,lVar9,param_4); + } + uVar8 = (ulonglong)*(uint *)(param_1[5] + uVar12 * 4); + if (local_40 == (longlong *)0x0) { + lVar6 = 0; + } + else { + lVar6 = *local_40; + } + FUN_140098080(lVar6,uVar8,lVar9,param_4); + iVar15 = iVar14 + 1; + lVar6 = FUN_14004a8f0((longlong *)&local_40); + uVar7 = (ulonglong)*(uint *)(lVar6 + 0x18); + if (DAT_14017c89c <= (int)*(uint *)(lVar6 + 0x18)) break; + iVar10 = iVar10 + 1; + uVar12 = uVar12 + 1; + iVar14 = iVar15; + } while (iVar10 < (int)param_1[6]); + } + local_30 = (undefined4)param_1[0x17]; + local_2c = (undefined4)param_1[2]; + FUN_1400d49d0((undefined8 *)(*param_1 + 8),(int *)&local_60); + *(undefined8 *)(*param_1 + 0x18) = 0; + if (iVar15 < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + iVar14 = (int)param_1[6]; + if (iVar14 <= iVar15) { + iVar15 = iVar14; + } + uVar13 = iVar14 - iVar15; + param_3 = (ulonglong)uVar13; + if (0 < (int)uVar13) { + lVar9 = 0; + if (iVar14 == 0) { + _Dst = (void *)0x0; + } + else { + lVar9 = param_1[5]; + _Dst = (void *)param_1[5]; + } + param_3 = (longlong)(int)uVar13 << 2; + memmove(_Dst,(void *)(lVar9 + (longlong)iVar15 * 4),param_3); + } + FUN_14004cce0((longlong)(param_1 + 3),(int)param_1[6] - iVar15,param_3); + plVar3 = local_38; + plVar4 = local_40; + if (local_40 != (longlong *)0x0) { + plVar1 = local_40 + 1; + *plVar1 = *plVar1 + -1; + if (*plVar1 == 0) { + puVar2 = (undefined8 *)*local_40; + *puVar2 = Proud::CFastArray::vftable; + if ((LPVOID)puVar2[2] != (LPVOID)0x0) { + if ((longlong *)puVar2[1] == (longlong *)0x0) { + FUN_14003e8b0((LPVOID)puVar2[2]); + } + else { + (**(code **)(*(longlong *)puVar2[1] + 0x18))(); + } + } + (**(code **)(*plVar3 + 0x18))(plVar3,puVar2); + (**(code **)(*local_38 + 0x18))(local_38,plVar4); + } + } + FUN_14008a320(&local_58); + if ((local_50 != 0) && (local_48 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + iVar15 = (int)param_1[6]; + } while( true ); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400dd420.c b/decomp/AgentManager_Release_x64/full/functions/0x1400dd420.c new file mode 100644 index 00000000..649f9ad9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400dd420.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400dd420 FUN_1400dd420 + * Pseudocode, not original source. */ + +/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ + +void FUN_1400dd420(longlong *param_1,undefined8 param_2,ulonglong param_3,undefined8 param_4) + +{ + double dVar1; + longlong lVar2; + double dVar3; + + dVar3 = (double)(**(code **)(**(longlong **)*param_1 + 0x18))(); + if ((double)param_1[0x16] == 0.0) { + param_1[0x16] = (longlong)dVar3; + } + dVar1 = (double)param_1[0x16]; + if (_DAT_1401712a8 < dVar3 - dVar1) { + lVar2 = param_1[0x15]; + param_1[0x16] = (longlong)dVar3; + *(undefined4 *)(param_1 + 0x15) = 0; + *(int *)(param_1 + 0x17) = + (int)(((double)(int)lVar2 - (double)(int)param_1[0x17]) * (0.1 / (dVar3 - dVar1)) + + (double)(int)param_1[0x17]); + } + if (DAT_1401712b8 * 0.2 < dVar3 - (double)param_1[1]) { + FUN_1400dd0f0(param_1,param_2,param_3,param_4); + param_1[1] = (longlong)dVar3; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400dd500.c b/decomp/AgentManager_Release_x64/full/functions/0x1400dd500.c new file mode 100644 index 00000000..bbbae772 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400dd500.c @@ -0,0 +1,27 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400dd500 FUN_1400dd500 + * Pseudocode, not original source. */ + +undefined8 * +FUN_1400dd500(longlong *param_1,undefined4 *param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong *plVar1; + undefined8 *puVar2; + + plVar1 = (longlong *)*param_1; + if (plVar1 == (longlong *)0x0) { + puVar2 = (undefined8 *)FUN_14003e840(0x48); + } + else { + puVar2 = (undefined8 *)(**(code **)(*plVar1 + 8))(plVar1,0x48); + } + if (puVar2 != (undefined8 *)0x0) { + FUN_1400d4ab0((undefined4 *)(puVar2 + 2),param_2); + } + puVar2[1] = param_3; + *puVar2 = param_4; + param_1[3] = param_1[3] + 1; + return puVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400dd590.c b/decomp/AgentManager_Release_x64/full/functions/0x1400dd590.c new file mode 100644 index 00000000..ca5db338 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400dd590.c @@ -0,0 +1,115 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400dd590 FUN_1400dd590 + * Pseudocode, not original source. */ + +void FUN_1400dd590(longlong *param_1,longlong *param_2,ulonglong param_3,undefined8 param_4) + +{ + uint uVar1; + longlong lVar2; + longlong lVar3; + int iVar4; + longlong *plVar5; + longlong *plVar6; + exception local_98 [144]; + + if (param_1[0xb] != 0) { + plVar5 = param_1; + do { + lVar2 = param_1[9]; + if (lVar2 == 0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + if (*(int *)(lVar2 + 0x14) != (int)param_1[2]) { + return; + } + lVar3 = *(longlong *)(lVar2 + 0x18); + if (lVar3 == 0) { + if (*(longlong *)(lVar2 + 0x20) == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(plVar5,param_2,param_3,param_4); + } + uVar1 = *(uint *)(lVar2 + 0x28); + } + else { + uVar1 = *(uint *)(lVar3 + 0x18); + } + param_3 = (ulonglong)uVar1; + if (*(longlong *)(lVar2 + 0x20) == 0) { + if (lVar3 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(plVar5,param_2,param_3,param_4); + } + param_2 = (longlong *)0x0; + if (*(int *)(lVar3 + 0x18) != 0) { + param_2 = *(longlong **)(lVar3 + 0x10); + } + } + else { + param_2 = *(longlong **)(lVar2 + 0x20); + if (*(longlong **)(lVar2 + 0x20) == (longlong *)0x0) { + FUN_14003db10(local_98,(wchar_t *)PTR_u_ArrayWithExternalBuffer_is_unini_140170368,param_3 + ,param_4); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_98,(ThrowInfo *)&DAT_14016c210); + } + } + plVar5 = param_1 + 0xc; + FUN_14009ab30(plVar5,param_2,param_3); + if (*(longlong *)(lVar2 + 0x18) == 0) { + if (*(longlong *)(lVar2 + 0x20) == 0) { + /* WARNING: Subroutine does not return */ + FUN_14008a420(plVar5,param_2,param_3,param_4); + } + iVar4 = *(int *)(lVar2 + 0x28); + } + else { + iVar4 = *(int *)(*(longlong *)(lVar2 + 0x18) + 0x18); + } + *(int *)(param_1 + 0x14) = (int)param_1[0x14] + iVar4; + plVar5 = (longlong *)param_1[9]; + if (plVar5 == (longlong *)0x0) { + /* WARNING: Subroutine does not return */ + FUN_1400050d0(0x80004005); + } + lVar2 = *plVar5; + param_1[9] = lVar2; + if (lVar2 == 0) { + param_1[10] = 0; + } + else { + *(undefined8 *)(lVar2 + 8) = 0; + } + if (plVar5[6] != 0) { + plVar6 = (longlong *)(plVar5[6] + 8); + *plVar6 = *plVar6 + -1; + if (*plVar6 == 0) { + param_2 = (longlong *)plVar5[6]; + FUN_1400512a0((longlong)(plVar5 + 6),param_2); + } + } + FUN_14008a320(plVar5 + 3); + if (plVar5[4] != 0) { + if (*(int *)((longlong)plVar5 + 0x2c) < 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + *(undefined4 *)(plVar5 + 5) = 0; + } + plVar6 = (longlong *)param_1[8]; + if (plVar6 == (longlong *)0x0) { + FUN_14003e8b0(plVar5); + } + else { + param_2 = plVar5; + (**(code **)(*plVar6 + 0x10))(); + plVar5 = plVar6; + } + param_1[0xb] = param_1[0xb] + -1; + *(int *)(param_1 + 2) = (int)param_1[2] + 1; + } while (param_1[0xb] != 0); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400dd740.c b/decomp/AgentManager_Release_x64/full/functions/0x1400dd740.c new file mode 100644 index 00000000..ea68ed79 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400dd740.c @@ -0,0 +1,31 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400dd740 FUN_1400dd740 + * Pseudocode, not original source. */ + +void FUN_1400dd740(longlong *param_1,longlong param_2,undefined4 *param_3) + +{ + undefined8 *puVar1; + + if (param_2 != 0) { + puVar1 = FUN_1400dd500(param_1,param_3,*(undefined8 *)(param_2 + 8),param_2); + if (*(undefined8 **)(param_2 + 8) != (undefined8 *)0x0) { + **(undefined8 **)(param_2 + 8) = puVar1; + *(undefined8 **)(param_2 + 8) = puVar1; + return; + } + param_1[1] = (longlong)puVar1; + *(undefined8 **)(param_2 + 8) = puVar1; + return; + } + puVar1 = FUN_1400dd500(param_1,param_3,0,param_1[1]); + if (param_1[1] != 0) { + *(undefined8 **)(param_1[1] + 8) = puVar1; + param_1[1] = (longlong)puVar1; + return; + } + param_1[2] = (longlong)puVar1; + param_1[1] = (longlong)puVar1; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400dd7e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400dd7e0.c new file mode 100644 index 00000000..a9f0fff7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400dd7e0.c @@ -0,0 +1,49 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400dd7e0 FUN_1400dd7e0 + * Pseudocode, not original source. */ + +undefined8 * +FUN_1400dd7e0(undefined8 *param_1,undefined8 param_2,undefined8 param_3,longlong param_4) + +{ + undefined4 uVar1; + longlong lVar2; + exception local_60 [72]; + + uVar1 = (undefined4)param_3; + param_1[4] = 0; + param_1[5] = 0; + param_1[6] = 0; + param_1[7] = 0; + param_1[3] = Proud::ReliableUdpReceiver::AcksToSend::vftable; + param_1[8] = 0; + param_1[0xb] = 0; + param_1[9] = 0; + param_1[10] = 0; + lVar2 = param_4; + FUN_1400dc820(param_1 + 8,param_2,param_3,param_4); + FUN_14009aa30(param_1 + 0xc,(longlong)DAT_14016f0ec); + if (param_4 == 0) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + if (0 < *(int *)((longlong)param_1 + 0x34)) { + FUN_14003db10(local_60,(wchar_t *)PTR_u_Collection_object_can_use_fast_h_14016f1d0,param_3,lVar2 + ); + /* WARNING: Subroutine does not return */ + _CxxThrowException(local_60,(ThrowInfo *)&DAT_14016c210); + } + param_1[4] = param_4; + *(undefined4 *)((longlong)param_1 + 0x3c) = 1; + param_1[0x14] = 0; + *(undefined4 *)(param_1 + 0x15) = 0; + param_1[0x16] = 0; + *(undefined4 *)(param_1 + 0x17) = DAT_140171294; + *(undefined4 *)((longlong)param_1 + 0xbc) = 0; + *param_1 = param_2; + *(undefined4 *)(param_1 + 2) = uVar1; + *(undefined4 *)((longlong)param_1 + 0x14) = uVar1; + param_1[1] = 0; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400dd8f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400dd8f0.c new file mode 100644 index 00000000..9c843161 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400dd8f0.c @@ -0,0 +1,89 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400dd8f0 FUN_1400dd8f0 + * Pseudocode, not original source. */ + +void FUN_1400dd8f0(undefined8 *param_1,undefined4 *param_2,undefined8 param_3,undefined8 param_4) + +{ + int iVar1; + int iVar2; + longlong *plVar3; + undefined8 *puVar4; + undefined8 local_40; + longlong local_38; + longlong local_30; + longlong local_28; + longlong *local_20; + undefined8 local_18; + undefined4 local_c; + + puVar4 = (undefined8 *)param_1[9]; + do { + if (puVar4 == (undefined8 *)0x0) { + plVar3 = (longlong *)(**(code **)(**(longlong **)*param_1 + 0x38))(); + local_18 = *(undefined8 *)(param_2 + 10); + local_28 = 0; + local_30 = 0; + local_38 = 0; + local_20 = (longlong *)0x0; + local_40 = 0; + local_c = 0; + FUN_140098450(param_2,(undefined4 *)&local_40,plVar3,param_4); + puVar4 = FUN_1400dd500(param_1 + 8,(undefined4 *)&local_40,param_1[10],0); + if ((undefined8 *)param_1[10] == (undefined8 *)0x0) { + param_1[9] = puVar4; + } + else { + *(undefined8 *)param_1[10] = puVar4; + } + param_1[10] = puVar4; + if (local_20 != (longlong *)0x0) { + plVar3 = local_20 + 1; + *plVar3 = *plVar3 + -1; + if (*plVar3 == 0) { + FUN_1400512a0((longlong)&local_20,local_20); + } + } + FUN_14008a320(&local_38); + if ((local_30 != 0) && (local_28 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } +LAB_1400dda84: + *(int *)(param_1 + 0x15) = *(int *)(param_1 + 0x15) + 1; + return; + } + iVar1 = *(int *)((longlong)puVar4 + 0x14); + iVar2 = param_2[1]; + if (iVar1 == iVar2) { + return; + } + if ((iVar2 != iVar1) && (0x7fffffff < (uint)(iVar2 - iVar1))) { + plVar3 = (longlong *)(**(code **)(**(longlong **)*param_1 + 0x38))(); + local_18 = *(undefined8 *)(param_2 + 10); + local_28 = 0; + local_30 = 0; + local_38 = 0; + local_20 = (longlong *)0x0; + local_40 = 0; + local_c = 0; + FUN_140098450(param_2,(undefined4 *)&local_40,plVar3,param_4); + FUN_1400dd740(param_1 + 8,(longlong)puVar4,(undefined4 *)&local_40); + if (local_20 != (longlong *)0x0) { + plVar3 = local_20 + 1; + *plVar3 = *plVar3 + -1; + if (*plVar3 == 0) { + FUN_1400512a0((longlong)&local_20,local_20); + } + } + FUN_14008a320(&local_38); + if ((local_30 != 0) && (local_28 < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + goto LAB_1400dda84; + } + puVar4 = (undefined8 *)*puVar4; + } while( true ); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ddaa0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ddaa0.c new file mode 100644 index 00000000..235c17ce --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ddaa0.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ddaa0 FUN_1400ddaa0 + * Pseudocode, not original source. */ + +void FUN_1400ddaa0(longlong *param_1,longlong *param_2,undefined8 *param_3,undefined8 param_4) + +{ + char cVar1; + + *(int *)((longlong)param_1 + 0xbc) = *(int *)((longlong)param_1 + 0xbc) + 1; + cVar1 = (**(code **)(**(longlong **)*param_1 + 0x10))(); + if (cVar1 == '\0') { + param_3 = (undefined8 *)((longlong)param_2 + 4); + if ((*(int *)((longlong)param_2 + 4) == (int)param_1[2]) || + ((uint)(*(int *)((longlong)param_2 + 4) - (int)param_1[2]) < 0x80000000)) { + param_4 = 1; + FUN_14004d630((longlong)(param_1 + 3),(int)param_1[6],param_3,1); + *(int *)((longlong)param_1 + 0xa4) = *(int *)((longlong)param_1 + 0xa4) + 1; + } + } + *(undefined4 *)((longlong)param_1 + 0x14) = *(undefined4 *)((longlong)param_2 + 4); + if ((*(int *)((longlong)param_2 + 4) == (int)param_1[2]) || + ((uint)(*(int *)((longlong)param_2 + 4) - (int)param_1[2]) < 0x80000000)) { + FUN_1400dd8f0(param_1,(undefined4 *)param_2,param_3,param_4); + FUN_1400dd590(param_1,param_2,(ulonglong)param_3,param_4); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ddb30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ddb30.c new file mode 100644 index 00000000..53eeed21 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ddb30.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ddb30 FUN_1400ddb30 + * Pseudocode, not original source. */ + +void FUN_1400ddb30(longlong *param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + if ((int)*param_2 == 1) { + FUN_1400ddaa0(param_1,param_2,(undefined8 *)0x0,param_4); + } + else if ((int)*param_2 == 2) { + FUN_1400dc890(param_1,(longlong)param_2,0,param_4); + return; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ddb60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ddb60.c new file mode 100644 index 00000000..02a3ac63 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ddb60.c @@ -0,0 +1,41 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ddb60 FUN_1400ddb60 + * Pseudocode, not original source. */ + +undefined8 FUN_1400ddb60(longlong param_1,uint param_2) + +{ + int iVar1; + void *pvVar2; + uint uVar3; + ulonglong uVar4; + longlong lVar5; + int iVar6; + + if (*(int *)(param_1 + 4) < (int)param_2) { + uVar3 = param_2 & 0x8000001f; + if ((int)uVar3 < 0) { + uVar3 = (uVar3 - 1 | 0xffffffe0) + 1; + } + iVar6 = param_2 + (0x40 - uVar3); + pvVar2 = realloc(*(void **)(param_1 + 0x10),(longlong)iVar6 << 2); + if (pvVar2 == (void *)0x0) { + return 0xfffffffe; + } + iVar1 = *(int *)(param_1 + 4); + uVar4 = (ulonglong)iVar1; + *(void **)(param_1 + 0x10) = pvVar2; + *(int *)(param_1 + 4) = iVar6; + if (iVar1 < iVar6) { + lVar5 = uVar4 << 2; + do { + uVar3 = (int)uVar4 + 1; + uVar4 = (ulonglong)uVar3; + *(undefined4 *)(lVar5 + *(longlong *)(param_1 + 0x10)) = 0; + lVar5 = lVar5 + 4; + } while ((int)uVar3 < *(int *)(param_1 + 4)); + } + } + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ddc00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ddc00.c new file mode 100644 index 00000000..c4a933dd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ddc00.c @@ -0,0 +1,24 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ddc00 FUN_1400ddc00 + * Pseudocode, not original source. */ + +void FUN_1400ddc00(int *param_1) + +{ + int iVar1; + + iVar1 = *param_1; + if (0 < iVar1) { + do { + if (*(int *)(*(longlong *)(param_1 + 4) + -4 + (longlong)*param_1 * 4) != 0) break; + iVar1 = *param_1 + -1; + *param_1 = iVar1; + } while (0 < iVar1); + iVar1 = *param_1; + } + if (iVar1 == 0) { + param_1[2] = 0; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ddc40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ddc40.c new file mode 100644 index 00000000..f9abefc0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ddc40.c @@ -0,0 +1,46 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ddc40 FUN_1400ddc40 + * Pseudocode, not original source. */ + +undefined8 FUN_1400ddc40(uint *param_1,int param_2,uint *param_3) + +{ + undefined8 uVar1; + byte bVar2; + uint uVar3; + uint uVar4; + uint *puVar5; + uint uVar6; + + if ((param_1 == param_3) || (uVar1 = FUN_1400d5ca0(param_1,param_3), (int)uVar1 == 0)) { + uVar4 = param_2 / 0x1c + 1U + *param_3; + if ((((int)uVar4 <= (int)param_3[1]) || + (uVar1 = FUN_1400ddb60((longlong)param_3,uVar4), (int)uVar1 == 0)) && + ((param_2 < 0x1c || (uVar1 = FUN_1400dfcf0((int *)param_3,param_2 / 0x1c), (int)uVar1 == 0))) + ) { + if (param_2 % 0x1c != 0) { + puVar5 = *(uint **)(param_3 + 4); + uVar4 = 0; + bVar2 = (byte)(param_2 % 0x1c); + uVar6 = uVar4; + if (0 < (int)*param_3) { + do { + uVar6 = uVar6 + 1; + uVar3 = *puVar5 >> (0x1c - bVar2 & 0x1f) & (1 << (bVar2 & 0x1f)) - 1U; + *puVar5 = (*puVar5 << (bVar2 & 0x1f) | uVar4) & 0xfffffff; + puVar5 = puVar5 + 1; + uVar4 = uVar3; + } while ((int)uVar6 < (int)*param_3); + if (uVar3 != 0) { + *(uint *)(*(longlong *)(param_3 + 4) + (longlong)(int)*param_3 * 4) = uVar3; + *param_3 = *param_3 + 1; + } + } + } + FUN_1400ddc00((int *)param_3); + uVar1 = 0; + } + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ddd40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ddd40.c new file mode 100644 index 00000000..155e1a21 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ddd40.c @@ -0,0 +1,24 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ddd40 FUN_1400ddd40 + * Pseudocode, not original source. */ + +void FUN_1400ddd40(undefined4 *param_1) + +{ + undefined4 *puVar1; + int iVar2; + + puVar1 = *(undefined4 **)(param_1 + 4); + iVar2 = 0; + param_1[2] = 0; + *param_1 = 0; + if (0 < (int)param_1[1]) { + do { + *puVar1 = 0; + iVar2 = iVar2 + 1; + puVar1 = puVar1 + 1; + } while (iVar2 < (int)param_1[1]); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ddd70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ddd70.c new file mode 100644 index 00000000..ff3318e5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ddd70.c @@ -0,0 +1,41 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ddd70 FUN_1400ddd70 + * Pseudocode, not original source. */ + +undefined8 FUN_1400ddd70(int *param_1,int *param_2) + +{ + int iVar1; + uint uVar2; + uint uVar3; + int iVar4; + uint *puVar5; + longlong lVar6; + + iVar1 = *param_1; + if (*param_2 < iVar1) { + return 1; + } + if (iVar1 < *param_2) { + return 0xffffffff; + } + puVar5 = (uint *)(*(longlong *)(param_1 + 4) + (longlong)(iVar1 + -1) * 4); + iVar4 = 0; + if (0 < iVar1) { + lVar6 = (*(longlong *)(param_2 + 4) + (longlong)(iVar1 + -1) * 4) - (longlong)puVar5; + do { + uVar2 = *puVar5; + uVar3 = *(uint *)(lVar6 + (longlong)puVar5); + if (uVar2 >= uVar3 && uVar2 != uVar3) { + return 1; + } + if (uVar2 < uVar3) { + return 0xffffffff; + } + iVar4 = iVar4 + 1; + puVar5 = puVar5 + -1; + } while (iVar4 < iVar1); + } + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400dddd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400dddd0.c new file mode 100644 index 00000000..b7fa3040 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400dddd0.c @@ -0,0 +1,27 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400dddd0 FUN_1400dddd0 + * Pseudocode, not original source. */ + +void FUN_1400dddd0(undefined1 *param_1,int param_2) + +{ + undefined1 uVar1; + longlong lVar2; + undefined1 *puVar3; + undefined1 *puVar4; + + lVar2 = (longlong)(param_2 + -1); + if (0 < param_2 + -1) { + puVar3 = param_1; + do { + uVar1 = *puVar3; + puVar4 = puVar3 + 1; + *puVar3 = param_1[lVar2]; + param_1[lVar2] = uVar1; + lVar2 = lVar2 + -1; + puVar3 = puVar4; + } while ((longlong)puVar4 - (longlong)param_1 < lVar2); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400dde20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400dde20.c new file mode 100644 index 00000000..4d262efb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400dde20.c @@ -0,0 +1,84 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400dde20 FUN_1400dde20 + * Pseudocode, not original source. */ + +ulonglong FUN_1400dde20(uint *param_1,uint param_2,uint *param_3,uint *param_4) + +{ + undefined4 uVar1; + ulonglong uVar2; + ulonglong uVar3; + uint uVar4; + longlong lVar5; + uint local_28 [2]; + uint local_20; + longlong local_18; + + uVar2 = (ulonglong)param_2; + if (param_2 == 0) { + return 0xfffffffd; + } + if ((param_2 == 1) || (*param_1 == 0)) { + if (param_4 != (uint *)0x0) { + *param_4 = 0; + } + if (param_3 != (uint *)0x0) { + uVar2 = FUN_1400d5ca0(param_1,param_3); + return uVar2; + } + } + else { + if ((param_2 & param_2 - 1) == 0) { + uVar4 = 0; + do { + if (param_2 == 1 << ((byte)uVar4 & 0x1f)) { + if (param_4 != (uint *)0x0) { + *param_4 = (1 << ((byte)uVar4 & 0x1f)) - 1U & **(uint **)(param_1 + 4); + } + if (param_3 == (uint *)0x0) { + return 0; + } + uVar2 = FUN_1400ddfd0(param_1,uVar4,param_3,(undefined8 *)0x0); + return uVar2; + } + uVar4 = uVar4 + 1; + } while ((int)uVar4 < 0x1c); + } + if (param_2 == 3) { + uVar2 = FUN_1400e39f0(param_1,(undefined8 *)param_3,param_4); + return uVar2; + } + uVar3 = FUN_1400dfd80(local_28,*param_1); + if ((int)uVar3 != 0) { + return uVar3; + } + local_28[0] = *param_1; + local_20 = param_1[2]; + uVar3 = 0; + lVar5 = (longlong)(int)(local_28[0] - 1); + if (-1 < (int)(local_28[0] - 1)) { + do { + uVar3 = (ulonglong)*(uint *)(*(longlong *)(param_1 + 4) + lVar5 * 4) | uVar3 << 0x1c; + if (uVar3 < uVar2) { + uVar1 = 0; + } + else { + uVar1 = (undefined4)(uVar3 / uVar2); + uVar3 = uVar3 - (uVar3 / uVar2 & 0xffffffff) * uVar2; + } + lVar5 = lVar5 + -1; + *(undefined4 *)(local_18 + 4 + lVar5 * 4) = uVar1; + } while (-1 < lVar5); + } + if (param_4 != (uint *)0x0) { + *param_4 = (uint)uVar3; + } + if (param_3 != (uint *)0x0) { + FUN_1400ddc00((int *)local_28); + FUN_1400dfc40((undefined8 *)local_28,(undefined8 *)param_3); + } + FUN_1400d5c00((int *)local_28); + } + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ddfa0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ddfa0.c new file mode 100644 index 00000000..93ab47e2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ddfa0.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ddfa0 FUN_1400ddfa0 + * Pseudocode, not original source. */ + +void FUN_1400ddfa0(uint *param_1,uint *param_2) + +{ + undefined8 uVar1; + + uVar1 = FUN_1400d5ba0(param_1); + if ((int)uVar1 == 0) { + FUN_1400d5ca0(param_2,param_1); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ddfd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ddfd0.c new file mode 100644 index 00000000..0ff740ce --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ddfd0.c @@ -0,0 +1,66 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ddfd0 FUN_1400ddfd0 + * Pseudocode, not original source. */ + +ulonglong FUN_1400ddfd0(uint *param_1,uint param_2,uint *param_3,undefined8 *param_4) + +{ + uint *puVar1; + ulonglong uVar2; + ulonglong uVar3; + byte bVar4; + uint uVar5; + uint uVar6; + int iVar7; + uint local_28 [8]; + + if ((int)param_2 < 1) { + uVar2 = FUN_1400d5ca0(param_1,param_3); + uVar2 = uVar2 & 0xffffffff; + if (param_4 != (undefined8 *)0x0) { + FUN_1400ddd40((undefined4 *)param_4); + } + } + else { + uVar2 = FUN_1400d5ba0(local_28); + if ((int)uVar2 == 0) { + if (param_4 != (undefined8 *)0x0) { + uVar2 = FUN_1400e3ae0(param_1,param_2,local_28); + if ((int)uVar2 != 0) { + FUN_1400d5c00((int *)local_28); + return uVar2 & 0xffffffff; + } + } + uVar3 = FUN_1400d5ca0(param_1,param_3); + uVar2 = uVar3 & 0xffffffff; + if ((int)uVar3 == 0) { + if (0x1b < (int)param_2) { + FUN_1400dfc70((int *)param_3,(int)param_2 / 0x1c); + } + if ((int)param_2 % 0x1c != 0) { + uVar5 = 0; + bVar4 = (byte)((int)param_2 % 0x1c); + iVar7 = *param_3 - 1; + puVar1 = (uint *)(*(longlong *)(param_3 + 4) + (longlong)iVar7 * 4); + for (; -1 < iVar7; iVar7 = iVar7 + -1) { + uVar6 = uVar5 << (0x1c - bVar4 & 0x1f); + uVar5 = *puVar1 & (1 << (bVar4 & 0x1f)) - 1U; + *puVar1 = *puVar1 >> (bVar4 & 0x1f) | uVar6; + puVar1 = puVar1 + -1; + } + } + FUN_1400ddc00((int *)param_3); + if (param_4 != (undefined8 *)0x0) { + FUN_1400dfc40((undefined8 *)local_28,param_4); + } + FUN_1400d5c00((int *)local_28); + uVar2 = 0; + } + else { + FUN_1400d5c00((int *)local_28); + } + } + } + return uVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400de150.c b/decomp/AgentManager_Release_x64/full/functions/0x1400de150.c new file mode 100644 index 00000000..fe8b1554 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400de150.c @@ -0,0 +1,71 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400de150 FUN_1400de150 + * Pseudocode, not original source. */ + +undefined8 FUN_1400de150(uint *param_1,uint *param_2,uint *param_3) + +{ + uint uVar1; + uint uVar2; + uint uVar3; + int iVar4; + uint uVar5; + undefined8 uVar6; + uint *puVar7; + uint *_Dst; + ulonglong uVar8; + uint uVar9; + int *piVar10; + longlong lVar11; + int *piVar12; + + uVar1 = *param_1; + uVar2 = *param_2; + uVar8 = (ulonglong)uVar2; + if (((int)uVar1 <= (int)param_3[1]) || + (uVar6 = FUN_1400ddb60((longlong)param_3,uVar1), (int)uVar6 == 0)) { + uVar3 = *param_3; + _Dst = *(uint **)(param_3 + 4); + uVar5 = 0; + *param_3 = uVar1; + piVar10 = *(int **)(param_1 + 4); + piVar12 = *(int **)(param_2 + 4); + puVar7 = _Dst; + uVar9 = 0; + if (0 < (int)uVar2) { + do { + iVar4 = *piVar10; + _Dst = puVar7 + 1; + piVar10 = piVar10 + 1; + uVar5 = (iVar4 - *piVar12) - uVar5; + *puVar7 = uVar5 & 0xfffffff; + uVar5 = uVar5 >> 0x1f; + uVar8 = uVar8 - 1; + puVar7 = _Dst; + piVar12 = piVar12 + 1; + uVar9 = uVar2; + } while (uVar8 != 0); + } + if ((int)uVar9 < (int)uVar1) { + lVar11 = (longlong)piVar10 - (longlong)_Dst; + uVar8 = (ulonglong)(uVar1 - uVar9); + puVar7 = _Dst; + do { + _Dst = puVar7 + 1; + uVar5 = *(int *)(lVar11 + (longlong)puVar7) - uVar5; + *puVar7 = uVar5; + *puVar7 = *puVar7 & 0xfffffff; + uVar5 = uVar5 >> 0x1f; + uVar8 = uVar8 - 1; + puVar7 = _Dst; + } while (uVar8 != 0); + } + if ((int)*param_3 < (int)uVar3) { + memset(_Dst,0,(ulonglong)(uVar3 - *param_3) << 2); + } + FUN_1400ddc00((int *)param_3); + uVar6 = 0; + } + return uVar6; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400de250.c b/decomp/AgentManager_Release_x64/full/functions/0x1400de250.c new file mode 100644 index 00000000..f5e3f4a4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400de250.c @@ -0,0 +1,80 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400de250 FUN_1400de250 + * Pseudocode, not original source. */ + +undefined8 FUN_1400de250(uint *param_1,uint *param_2,uint *param_3) + +{ + uint uVar1; + int iVar2; + int iVar3; + uint uVar4; + undefined8 uVar5; + int *piVar6; + uint uVar7; + uint uVar8; + int *piVar9; + longlong lVar10; + uint *puVar11; + uint *puVar12; + ulonglong uVar13; + uint uVar14; + uint *puVar15; + + uVar14 = *param_1; + uVar4 = *param_2; + puVar15 = param_2; + uVar7 = uVar4; + if ((int)uVar4 < (int)uVar14) { + puVar15 = param_1; + uVar7 = uVar14; + uVar14 = uVar4; + } + uVar4 = uVar7 + 1; + if (((int)uVar4 <= (int)param_3[1]) || + (uVar5 = FUN_1400ddb60((longlong)param_3,uVar4), (int)uVar5 == 0)) { + uVar1 = *param_3; + puVar12 = *(uint **)(param_3 + 4); + *param_3 = uVar4; + piVar6 = *(int **)(param_1 + 4); + piVar9 = *(int **)(param_2 + 4); + uVar4 = 0; + uVar8 = 0; + if (0 < (int)uVar14) { + uVar13 = (ulonglong)uVar14; + puVar11 = puVar12; + do { + iVar2 = *piVar9; + puVar12 = puVar11 + 1; + piVar9 = piVar9 + 1; + iVar3 = *piVar6; + piVar6 = piVar6 + 1; + uVar4 = iVar2 + iVar3 + uVar4; + *puVar11 = uVar4 & 0xfffffff; + uVar4 = uVar4 >> 0x1c; + uVar13 = uVar13 - 1; + puVar11 = puVar12; + uVar8 = uVar14; + } while (uVar13 != 0); + } + if (uVar14 != uVar7) { + lVar10 = (longlong)(int)uVar8; + while (lVar10 < (int)uVar7) { + lVar10 = lVar10 + 1; + uVar4 = uVar4 + *(int *)(*(longlong *)(puVar15 + 4) + -4 + lVar10 * 4); + *puVar12 = uVar4; + *puVar12 = *puVar12 & 0xfffffff; + uVar4 = uVar4 >> 0x1c; + puVar12 = puVar12 + 1; + } + } + *puVar12 = uVar4; + if ((int)*param_3 < (int)uVar1) { + memset(puVar12 + 1,0,(ulonglong)(uVar1 - *param_3) << 2); + } + FUN_1400ddc00((int *)param_3); + uVar5 = 0; + } + return uVar5; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400de380.c b/decomp/AgentManager_Release_x64/full/functions/0x1400de380.c new file mode 100644 index 00000000..4bb6b935 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400de380.c @@ -0,0 +1,87 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400de380 FUN_1400de380 + * Pseudocode, not original source. */ + +undefined8 FUN_1400de380(uint *param_1,uint *param_2,uint *param_3,uint param_4) + +{ + uint uVar1; + uint uVar2; + uint uVar3; + undefined8 uVar4; + ulonglong uVar5; + longlong lVar6; + uint *puVar7; + uint uVar8; + ulonglong uVar9; + uint uVar10; + int iVar11; + uint *puVar12; + uint *puVar13; + uint uVar14; + ulonglong uVar15; + uint local_48 [4]; + longlong local_38; + + if ((int)param_4 < 0x200) { + uVar14 = *param_2; + if ((int)*param_1 < (int)*param_2) { + uVar14 = *param_1; + } + if ((int)uVar14 < 0x100) { + uVar4 = FUN_1400de4e0((int *)param_1,(int *)param_2,param_3,param_4); + return uVar4; + } + } + uVar4 = FUN_1400dfd80(local_48,param_4); + if ((int)uVar4 == 0) { + uVar14 = *param_1; + iVar11 = 0; + lVar6 = 0; + uVar2 = param_4; + if (0 < (longlong)(int)uVar14) { + do { + puVar7 = *(uint **)(param_2 + 4); + uVar9 = 0; + uVar8 = 0; + uVar3 = uVar2; + if ((int)*param_2 < (int)uVar2) { + uVar3 = *param_2; + } + uVar15 = (ulonglong)uVar3; + uVar1 = *(uint *)(*(longlong *)(param_1 + 4) + lVar6 * 4); + puVar13 = (uint *)(local_38 + (longlong)iVar11 * 4); + puVar12 = puVar13; + uVar10 = 0; + if (0 < (int)uVar3) { + do { + uVar8 = *puVar7; + puVar13 = puVar12 + 1; + puVar7 = puVar7 + 1; + uVar5 = (ulonglong)uVar8 * (ulonglong)uVar1 + (ulonglong)*puVar12 + (uVar9 & 0xffffffff) + ; + uVar9 = uVar5 >> 0x1c; + uVar8 = (uint)uVar9; + uVar15 = uVar15 - 1; + *puVar12 = (uint)uVar5 & 0xfffffff; + puVar12 = puVar13; + uVar10 = uVar3; + } while (uVar15 != 0); + } + if ((int)(uVar10 + iVar11) < (int)param_4) { + *puVar13 = uVar8; + } + lVar6 = lVar6 + 1; + iVar11 = iVar11 + 1; + uVar2 = uVar2 - 1; + } while (lVar6 < (int)uVar14); + } + local_48[0] = param_4; + FUN_1400ddc00((int *)local_48); + FUN_1400dfc40((undefined8 *)local_48,(undefined8 *)param_3); + FUN_1400d5c00((int *)local_48); + uVar4 = 0; + } + return uVar4; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400de4e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400de4e0.c new file mode 100644 index 00000000..8cea1b4b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400de4e0.c @@ -0,0 +1,98 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400de4e0 FUN_1400de4e0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* WARNING: Type propagation algorithm not settling */ + +undefined8 FUN_1400de4e0(int *param_1,int *param_2,uint *param_3,uint param_4) + +{ + int iVar1; + int iVar2; + longlong lVar3; + longlong lVar4; + uint uVar5; + uint uVar6; + undefined8 uVar7; + int iVar8; + ulonglong uVar9; + int iVar10; + void *_Dst; + uint *puVar11; + uint *puVar12; + ulonglong uVar13; + ulonglong uVar14; + uint uVar15; + undefined1 auStack_878 [32]; + uint *local_858; + uint auStack_84c [513]; + ulonglong local_48; + + local_48 = DAT_14016f5a0 ^ (ulonglong)auStack_878; + local_858 = param_3; + if (((int)param_4 <= (int)param_3[1]) || + (uVar7 = FUN_1400ddb60((longlong)param_3,param_4), (int)uVar7 == 0)) { + iVar2 = *param_1; + uVar15 = *param_2 + iVar2; + if ((int)param_4 < (int)uVar15) { + uVar15 = param_4; + } + uVar9 = 0; + if (0 < (int)uVar15) { + lVar3 = *(longlong *)(param_1 + 4); + lVar4 = *(longlong *)(param_2 + 4); + iVar1 = *param_2 + -1; + uVar13 = uVar9; + uVar14 = uVar9; + do { + iVar10 = (int)uVar9; + iVar8 = iVar10; + if (iVar1 < iVar10) { + iVar8 = iVar1; + } + puVar11 = (uint *)(lVar3 + (longlong)(iVar10 - iVar8) * 4); + puVar12 = (uint *)(lVar4 + (longlong)iVar8 * 4); + uVar5 = iVar2 - (iVar10 - iVar8); + uVar6 = iVar8 + 1U; + if ((int)uVar5 < (int)(iVar8 + 1U)) { + uVar6 = uVar5; + } + uVar9 = (ulonglong)uVar6; + if (0 < (int)uVar6) { + do { + uVar6 = *puVar12; + uVar5 = *puVar11; + puVar12 = puVar12 + -1; + puVar11 = puVar11 + 1; + uVar13 = uVar13 + (ulonglong)uVar6 * (ulonglong)uVar5; + uVar9 = uVar9 - 1; + } while (uVar9 != 0); + } + uVar14 = uVar14 + 1; + uVar9 = (ulonglong)(iVar10 + 1); + uVar6 = (uint)uVar13; + uVar13 = uVar13 >> 0x1c; + auStack_84c[uVar14] = uVar6 & 0xfffffff; + param_3 = local_858; + } while ((longlong)uVar14 < (longlong)(int)uVar15); + } + uVar6 = *param_3; + _Dst = *(void **)(param_3 + 4); + uVar5 = uVar15 + 1; + *param_3 = uVar15; + uVar15 = 0; + if (0 < (int)uVar5) { + memcpy(_Dst,auStack_84c + 1,(ulonglong)uVar5 << 2); + _Dst = (void *)((longlong)_Dst + (ulonglong)uVar5 * 4); + uVar15 = uVar5; + } + if ((int)uVar15 < (int)uVar6) { + memset(_Dst,0,(ulonglong)(uVar6 - uVar15) << 2); + } + FUN_1400ddc00((int *)param_3); + uVar7 = 0; + } + return uVar7; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400de680.c b/decomp/AgentManager_Release_x64/full/functions/0x1400de680.c new file mode 100644 index 00000000..fd930458 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400de680.c @@ -0,0 +1,121 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400de680 FUN_1400de680 + * Pseudocode, not original source. */ + +undefined4 FUN_1400de680(int *param_1,int *param_2,uint *param_3) + +{ + uint uVar1; + int iVar2; + undefined8 uVar3; + undefined4 *puVar4; + undefined4 *puVar5; + uint uVar6; + uint uVar7; + ulonglong uVar8; + undefined4 uVar9; + uint local_c8 [4]; + undefined4 *local_b8; + uint local_b0 [6]; + uint local_98 [4]; + undefined4 *local_88; + uint local_80 [6]; + uint local_68 [4]; + undefined4 *local_58; + uint local_50 [4]; + undefined4 *local_40; + uint local_38 [8]; + + iVar2 = *param_2; + if (*param_1 < *param_2) { + iVar2 = *param_1; + } + uVar9 = 0xfffffffe; + uVar6 = iVar2 >> 1; + uVar3 = FUN_1400dfd80(local_c8,uVar6); + if ((int)uVar3 == 0) { + uVar3 = FUN_1400dfd80(local_68,*param_1 - uVar6); + if ((int)uVar3 == 0) { + uVar3 = FUN_1400dfd80(local_98,uVar6); + if ((int)uVar3 == 0) { + uVar3 = FUN_1400dfd80(local_50,*param_2 - uVar6); + if ((int)uVar3 == 0) { + uVar1 = uVar6 * 2; + uVar3 = FUN_1400dfd80(local_b0,uVar1); + if ((int)uVar3 == 0) { + uVar3 = FUN_1400dfd80(local_38,uVar1); + if ((int)uVar3 == 0) { + uVar3 = FUN_1400dfd80(local_80,uVar1); + if ((int)uVar3 == 0) { + puVar5 = *(undefined4 **)(param_1 + 4); + puVar4 = *(undefined4 **)(param_2 + 4); + local_68[0] = *param_1 - uVar6; + local_50[0] = *param_2 - uVar6; + if (0 < (int)uVar6) { + uVar8 = (ulonglong)uVar6; + do { + *local_b8 = *puVar5; + puVar5 = puVar5 + 1; + *local_88 = *puVar4; + puVar4 = puVar4 + 1; + uVar8 = uVar8 - 1; + local_b8 = local_b8 + 1; + local_88 = local_88 + 1; + } while (uVar8 != 0); + } + uVar7 = uVar6; + if ((int)uVar6 < *param_1) { + do { + uVar7 = uVar7 + 1; + *local_58 = *puVar5; + puVar5 = puVar5 + 1; + local_58 = local_58 + 1; + } while ((int)uVar7 < *param_1); + } + uVar7 = uVar6; + if ((int)uVar6 < *param_2) { + do { + uVar7 = uVar7 + 1; + *local_40 = *puVar4; + puVar4 = puVar4 + 1; + local_40 = local_40 + 1; + } while ((int)uVar7 < *param_2); + } + local_c8[0] = uVar6; + local_98[0] = uVar6; + FUN_1400ddc00((int *)local_c8); + FUN_1400ddc00((int *)local_98); + iVar2 = FUN_1400d6660(local_c8,local_98,local_38); + if ((((((iVar2 == 0) && + (iVar2 = FUN_1400d6660(local_68,local_50,local_80), iVar2 == 0)) && + (uVar3 = FUN_1400de250(local_68,local_c8,local_b0), (int)uVar3 == 0)) && + ((uVar3 = FUN_1400de250(local_50,local_98,local_c8), (int)uVar3 == 0 && + (iVar2 = FUN_1400d6660(local_b0,local_c8,local_b0), iVar2 == 0)))) && + ((iVar2 = FUN_1400d62e0(local_38,local_80,local_c8), iVar2 == 0 && + ((uVar3 = FUN_1400de150(local_b0,local_c8,local_b0), (int)uVar3 == 0 && + (uVar3 = FUN_1400dfcf0((int *)local_b0,uVar6), (int)uVar3 == 0)))))) && + ((uVar3 = FUN_1400dfcf0((int *)local_80,uVar1), (int)uVar3 == 0 && + (iVar2 = FUN_1400d62e0(local_38,local_b0,local_b0), iVar2 == 0)))) { + iVar2 = FUN_1400d62e0(local_b0,local_80,param_3); + uVar9 = 0xfffffffe; + if (iVar2 == 0) { + uVar9 = 0; + } + } + FUN_1400d5c00((int *)local_80); + } + FUN_1400d5c00((int *)local_38); + } + FUN_1400d5c00((int *)local_b0); + } + FUN_1400d5c00((int *)local_50); + } + FUN_1400d5c00((int *)local_98); + } + FUN_1400d5c00((int *)local_68); + } + FUN_1400d5c00((int *)local_c8); + } + return uVar9; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400de960.c b/decomp/AgentManager_Release_x64/full/functions/0x1400de960.c new file mode 100644 index 00000000..1159d7a3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400de960.c @@ -0,0 +1,314 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400de960 FUN_1400de960 + * Pseudocode, not original source. */ + +ulonglong FUN_1400de960(uint *param_1,uint *param_2,uint *param_3) + +{ + uint uVar1; + uint uVar2; + ulonglong uVar3; + ulonglong uVar4; + uint uVar5; + uint local_158 [6]; + uint local_140 [6]; + uint local_128 [6]; + uint local_110 [6]; + uint local_f8 [6]; + uint local_e0 [6]; + uint local_c8 [6]; + uint local_b0 [6]; + uint local_98 [6]; + uint local_80 [6]; + uint local_68 [6]; + uint local_50 [6]; + uint local_38 [8]; + + uVar3 = FUN_1400dfea0((int *)local_38); + if ((int)uVar3 == 0) { + uVar2 = *param_2; + if ((int)*param_1 < (int)*param_2) { + uVar2 = *param_1; + } + uVar2 = (int)uVar2 / 3; + uVar5 = uVar2 * 0x1c; + uVar4 = FUN_1400e3ae0(param_1,uVar5,local_50); + uVar3 = uVar4 & 0xffffffff; + if ((int)uVar4 == 0) { + uVar4 = FUN_1400d5ca0(param_1,local_e0); + uVar3 = uVar4 & 0xffffffff; + if ((int)uVar4 == 0) { + FUN_1400dfc70((int *)local_e0,uVar2); + FUN_1400e3ae0(local_e0,uVar5,local_e0); + uVar4 = FUN_1400d5ca0(param_1,local_98); + uVar3 = uVar4 & 0xffffffff; + if ((int)uVar4 == 0) { + uVar1 = uVar2 * 2; + FUN_1400dfc70((int *)local_98,uVar1); + uVar4 = FUN_1400e3ae0(param_2,uVar5,local_68); + uVar3 = uVar4 & 0xffffffff; + if ((int)uVar4 == 0) { + uVar4 = FUN_1400d5ca0(param_2,local_c8); + uVar3 = uVar4 & 0xffffffff; + if ((int)uVar4 == 0) { + FUN_1400dfc70((int *)local_c8,uVar2); + FUN_1400e3ae0(local_c8,uVar5,local_c8); + uVar4 = FUN_1400d5ca0(param_2,local_80); + uVar3 = uVar4 & 0xffffffff; + if ((int)uVar4 == 0) { + FUN_1400dfc70((int *)local_80,uVar1); + uVar5 = FUN_1400d6660(local_50,local_68,local_38); + uVar3 = (ulonglong)uVar5; + if (uVar5 == 0) { + uVar5 = FUN_1400d6660(local_98,local_80,local_b0); + uVar3 = (ulonglong)uVar5; + if (uVar5 == 0) { + uVar4 = FUN_1400e06f0((int *)local_50,(int *)local_158); + uVar3 = uVar4 & 0xffffffff; + if ((int)uVar4 == 0) { + uVar5 = FUN_1400d62e0(local_158,local_e0,local_158); + uVar3 = (ulonglong)uVar5; + if (uVar5 == 0) { + uVar4 = FUN_1400e06f0((int *)local_158,(int *)local_158); + uVar3 = uVar4 & 0xffffffff; + if ((int)uVar4 == 0) { + uVar5 = FUN_1400d62e0(local_158,local_98,local_158); + uVar3 = (ulonglong)uVar5; + if (uVar5 == 0) { + uVar4 = FUN_1400e06f0((int *)local_68,(int *)local_140); + uVar3 = uVar4 & 0xffffffff; + if ((int)uVar4 == 0) { + uVar5 = FUN_1400d62e0(local_140,local_c8,local_140); + uVar3 = (ulonglong)uVar5; + if (uVar5 == 0) { + uVar4 = FUN_1400e06f0((int *)local_140,(int *)local_140); + uVar3 = uVar4 & 0xffffffff; + if ((int)uVar4 == 0) { + uVar5 = FUN_1400d62e0(local_140,local_80,local_140); + uVar3 = (ulonglong)uVar5; + if (uVar5 == 0) { + uVar5 = FUN_1400d6660(local_158,local_140,local_f8); + uVar3 = (ulonglong)uVar5; + if (uVar5 == 0) { + uVar4 = FUN_1400e06f0((int *)local_98,(int *)local_158); + uVar3 = uVar4 & 0xffffffff; + if ((int)uVar4 == 0) { + uVar5 = FUN_1400d62e0(local_158,local_e0,local_158); + uVar3 = (ulonglong)uVar5; + if (uVar5 == 0) { + uVar4 = FUN_1400e06f0((int *)local_158,(int *)local_158); + uVar3 = uVar4 & 0xffffffff; + if ((int)uVar4 == 0) { + uVar5 = FUN_1400d62e0(local_158,local_50,local_158); + uVar3 = (ulonglong)uVar5; + if (uVar5 == 0) { + uVar4 = FUN_1400e06f0((int *)local_80,(int *)local_140 + ); + uVar3 = uVar4 & 0xffffffff; + if ((int)uVar4 == 0) { + uVar5 = FUN_1400d62e0(local_140,local_c8,local_140); + uVar3 = (ulonglong)uVar5; + if (uVar5 == 0) { + uVar4 = FUN_1400e06f0((int *)local_140, + (int *)local_140); + uVar3 = uVar4 & 0xffffffff; + if ((int)uVar4 == 0) { + uVar5 = FUN_1400d62e0(local_140,local_68, + local_140); + uVar3 = (ulonglong)uVar5; + if (uVar5 == 0) { + uVar5 = FUN_1400d6660(local_158,local_140, + local_110); + uVar3 = (ulonglong)uVar5; + if (uVar5 == 0) { + uVar5 = FUN_1400d62e0(local_98,local_e0, + local_158); + uVar3 = (ulonglong)uVar5; + if (uVar5 == 0) { + uVar5 = FUN_1400d62e0(local_158,local_50, + local_158); + uVar3 = (ulonglong)uVar5; + if (uVar5 == 0) { + uVar5 = FUN_1400d62e0(local_80,local_c8, + local_140); + uVar3 = (ulonglong)uVar5; + if (uVar5 == 0) { + uVar5 = FUN_1400d62e0(local_140, + local_68, + local_140); + uVar3 = (ulonglong)uVar5; + if (uVar5 == 0) { + uVar5 = FUN_1400d6660(local_158,local_140, + local_128); + uVar3 = (ulonglong)uVar5; + if (uVar5 == 0) { + uVar5 = FUN_1400d64a0(local_f8,local_b0, + local_f8); + uVar3 = (ulonglong)uVar5; + if (uVar5 == 0) { + uVar5 = FUN_1400d64a0(local_110,local_38, + local_110); + uVar3 = (ulonglong)uVar5; + if (uVar5 == 0) { + uVar4 = FUN_1400d6d80(local_f8,local_f8); + uVar3 = uVar4 & 0xffffffff; + if ((int)uVar4 == 0) { + uVar4 = FUN_1400d6d80(local_110, + local_110); + uVar3 = uVar4 & 0xffffffff; + if ((int)uVar4 == 0) { + uVar5 = FUN_1400d64a0(local_128, + local_38, + local_128); + uVar3 = (ulonglong)uVar5; + if (uVar5 == 0) { + uVar5 = FUN_1400d64a0(local_128,local_b0, + local_128); + uVar3 = (ulonglong)uVar5; + if (uVar5 == 0) { + uVar5 = FUN_1400d64a0(local_f8,local_128, + local_f8); + uVar3 = (ulonglong)uVar5; + if (uVar5 == 0) { + uVar5 = FUN_1400d64a0(local_110,local_128, + local_110); + uVar3 = (ulonglong)uVar5; + if (uVar5 == 0) { + uVar4 = FUN_1400ddc40(local_38,3,local_158 + ); + uVar3 = uVar4 & 0xffffffff; + if ((int)uVar4 == 0) { + uVar5 = FUN_1400d64a0(local_f8,local_158 + ,local_f8); + uVar3 = (ulonglong)uVar5; + if (uVar5 == 0) { + uVar4 = FUN_1400ddc40(local_b0,3, + local_158); + uVar3 = uVar4 & 0xffffffff; + if ((int)uVar4 == 0) { + uVar5 = FUN_1400d64a0(local_110, + local_158, + local_110); + uVar3 = (ulonglong)uVar5; + if (uVar5 == 0) { + uVar4 = FUN_1400d6710((int *) + local_128,3,(int *)local_128); + uVar3 = uVar4 & 0xffffffff; + if ((int)uVar4 == 0) { + uVar5 = FUN_1400d64a0(local_128,local_f8, + local_128); + uVar3 = (ulonglong)uVar5; + if (uVar5 == 0) { + uVar5 = FUN_1400d64a0(local_128,local_110, + local_128); + uVar3 = (ulonglong)uVar5; + if (uVar5 == 0) { + uVar5 = FUN_1400d64a0(local_f8,local_128, + local_f8); + uVar3 = (ulonglong)uVar5; + if (uVar5 == 0) { + uVar5 = FUN_1400d64a0(local_110,local_128, + local_110); + uVar3 = (ulonglong)uVar5; + if (uVar5 == 0) { + uVar4 = FUN_1400e39f0(local_f8,( + undefined8 *)local_f8,(undefined4 *)0x0); + uVar3 = uVar4 & 0xffffffff; + if ((int)uVar4 == 0) { + uVar4 = FUN_1400e39f0(local_110, + (undefined8 *)local_110, + (undefined4 *)0x0); + uVar3 = uVar4 & 0xffffffff; + if ((int)uVar4 == 0) { + uVar4 = FUN_1400dfcf0((int *)local_f8,uVar2); + uVar3 = uVar4 & 0xffffffff; + if ((int)uVar4 == 0) { + uVar4 = FUN_1400dfcf0((int *)local_128,uVar1 + ); + uVar3 = uVar4 & 0xffffffff; + if ((int)uVar4 == 0) { + uVar4 = FUN_1400dfcf0((int *)local_110, + uVar2 * 3); + uVar3 = uVar4 & 0xffffffff; + if ((int)uVar4 == 0) { + uVar4 = FUN_1400dfcf0((int *)local_b0, + uVar2 * 4); + uVar3 = uVar4 & 0xffffffff; + if ((int)uVar4 == 0) { + uVar2 = FUN_1400d62e0(local_38, + local_f8,param_3); + uVar3 = (ulonglong)uVar2; + if (uVar2 == 0) { + uVar2 = FUN_1400d62e0(local_128,local_110, + local_158); + uVar3 = (ulonglong)uVar2; + if (uVar2 == 0) { + uVar2 = FUN_1400d62e0(local_b0,local_158, + local_158); + uVar3 = (ulonglong)uVar2; + if (uVar2 == 0) { + uVar2 = FUN_1400d62e0(local_158,param_3, + param_3); + uVar3 = (ulonglong)uVar2; + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + FUN_1400dfe60((int *)local_38); + } + return uVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400df100.c b/decomp/AgentManager_Release_x64/full/functions/0x1400df100.c new file mode 100644 index 00000000..d6cf2bce --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400df100.c @@ -0,0 +1,81 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400df100 FUN_1400df100 + * Pseudocode, not original source. */ + +undefined8 FUN_1400df100(int *param_1,undefined8 *param_2) + +{ + uint uVar1; + uint uVar2; + undefined8 uVar3; + int iVar4; + longlong lVar5; + longlong lVar6; + longlong lVar7; + longlong lVar8; + uint *puVar9; + uint *puVar10; + ulonglong uVar11; + ulonglong uVar12; + longlong lVar13; + int iVar14; + longlong lVar15; + uint local_48 [4]; + longlong local_38; + + lVar5 = (longlong)*param_1; + uVar2 = *param_1 * 2 + 1; + uVar3 = FUN_1400dfd80(local_48,uVar2); + if ((int)uVar3 == 0) { + if (0 < lVar5) { + lVar6 = 0; + lVar8 = 1; + iVar14 = 1; + lVar7 = lVar6; + lVar15 = lVar5; + do { + uVar11 = (ulonglong)*(uint *)(lVar7 + *(longlong *)(param_1 + 4)) * + (ulonglong)*(uint *)(lVar7 + *(longlong *)(param_1 + 4)) + + (ulonglong)*(uint *)(local_38 + lVar6); + uVar12 = uVar11 >> 0x1c; + *(uint *)(local_38 + lVar6) = (uint)uVar11 & 0xfffffff; + uVar1 = *(uint *)(lVar7 + *(longlong *)(param_1 + 4)); + puVar10 = (uint *)(local_38 + (longlong)iVar14 * 4); + if (lVar8 < lVar5) { + puVar9 = puVar10; + lVar13 = lVar8; + do { + lVar13 = lVar13 + 1; + puVar10 = puVar9 + 1; + uVar11 = (ulonglong)*puVar9 + + (ulonglong)*(uint *)(*(longlong *)(param_1 + 4) + -4 + lVar13 * 4) * + (ulonglong)uVar1 * 2 + (uVar12 & 0xffffffff); + uVar12 = uVar11 >> 0x1c & 0xffffffff; + *puVar9 = (uint)uVar11 & 0xfffffff; + puVar9 = puVar10; + } while (lVar13 < lVar5); + } + iVar4 = (int)uVar12; + while (iVar4 != 0) { + uVar11 = (ulonglong)*puVar10 + (uVar12 & 0xffffffff); + uVar12 = uVar11 >> 0x1c; + *puVar10 = (uint)uVar11 & 0xfffffff; + puVar10 = puVar10 + 1; + iVar4 = (int)uVar12; + } + iVar14 = iVar14 + 2; + lVar6 = lVar6 + 8; + lVar7 = lVar7 + 4; + lVar8 = lVar8 + 1; + lVar15 = lVar15 + -1; + } while (lVar15 != 0); + } + local_48[0] = uVar2; + FUN_1400ddc00((int *)local_48); + FUN_1400dfc40((undefined8 *)local_48,param_2); + FUN_1400d5c00((int *)local_48); + uVar3 = 0; + } + return uVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400df270.c b/decomp/AgentManager_Release_x64/full/functions/0x1400df270.c new file mode 100644 index 00000000..dca687c9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400df270.c @@ -0,0 +1,112 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400df270 FUN_1400df270 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +undefined8 FUN_1400df270(int *param_1,int *param_2) + +{ + int iVar1; + longlong lVar2; + uint uVar3; + uint uVar4; + undefined8 uVar5; + int iVar6; + uint *puVar7; + uint *puVar8; + int iVar9; + ulonglong uVar10; + ulonglong uVar11; + ulonglong uVar12; + int iVar13; + longlong lVar14; + ulonglong uVar15; + ulonglong uVar16; + ulonglong uVar17; + uint uVar18; + undefined1 auStack_878 [32]; + int *local_858; + uint auStack_84c [513]; + ulonglong local_48; + + local_48 = DAT_14016f5a0 ^ (ulonglong)auStack_878; + uVar3 = *param_1 * 2; + local_858 = param_2; + if (((int)uVar3 <= param_2[1]) || + (uVar5 = FUN_1400ddb60((longlong)param_2,uVar3), (int)uVar5 == 0)) { + uVar12 = 0; + lVar14 = (longlong)(int)uVar3; + if (0 < lVar14) { + lVar2 = *(longlong *)(param_1 + 4); + iVar1 = *param_1; + uVar11 = uVar12; + uVar15 = uVar12; + uVar17 = uVar12; + do { + iVar6 = iVar1 + -1; + iVar13 = (int)uVar11; + iVar9 = iVar13; + if (iVar6 < iVar13) { + iVar9 = iVar6; + } + iVar6 = iVar13 - iVar9; + puVar8 = (uint *)(lVar2 + (longlong)iVar6 * 4); + puVar7 = (uint *)(lVar2 + (longlong)iVar9 * 4); + uVar4 = iVar1 - iVar6; + uVar18 = iVar9 + 1U; + if ((int)uVar4 < (int)(iVar9 + 1U)) { + uVar18 = uVar4; + } + uVar4 = (iVar9 - iVar6) + 1 >> 1; + if ((int)uVar4 <= (int)uVar18) { + uVar18 = uVar4; + } + uVar16 = uVar12; + if (0 < (int)uVar18) { + uVar10 = (ulonglong)uVar18; + do { + uVar18 = *puVar7; + uVar4 = *puVar8; + puVar7 = puVar7 + -1; + puVar8 = puVar8 + 1; + uVar16 = uVar16 + (ulonglong)uVar18 * (ulonglong)uVar4; + uVar10 = uVar10 - 1; + } while (uVar10 != 0); + } + uVar16 = uVar17 + uVar16 * 2; + if ((uVar11 & 1) == 0) { + uVar11 = (ulonglong)*(uint *)(lVar2 + ((longlong)iVar13 >> 1) * 4); + uVar16 = uVar16 + uVar11 * uVar11; + } + uVar15 = uVar15 + 1; + uVar11 = (ulonglong)(iVar13 + 1); + uVar17 = uVar16 >> 0x1c; + auStack_84c[uVar15] = (uint)uVar16 & 0xfffffff; + param_2 = local_858; + } while ((longlong)uVar15 < lVar14); + } + iVar1 = *param_2; + puVar8 = *(uint **)(param_2 + 4); + *param_2 = *param_1 * 2; + puVar7 = puVar8; + uVar18 = 0; + if (0 < lVar14) { + do { + lVar2 = uVar12 + 1; + uVar12 = uVar12 + 1; + puVar8 = puVar7 + 1; + *puVar7 = auStack_84c[lVar2] & 0xfffffff; + puVar7 = puVar8; + uVar18 = uVar3; + } while ((longlong)uVar12 < lVar14); + } + if ((int)uVar18 < iVar1) { + memset(puVar8,0,(ulonglong)(iVar1 - uVar18) << 2); + } + FUN_1400ddc00(param_2); + uVar5 = 0; + } + return uVar5; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400df440.c b/decomp/AgentManager_Release_x64/full/functions/0x1400df440.c new file mode 100644 index 00000000..58568439 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400df440.c @@ -0,0 +1,108 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400df440 FUN_1400df440 + * Pseudocode, not original source. */ + +undefined4 FUN_1400df440(int *param_1,uint *param_2) + +{ + undefined4 uVar1; + int iVar2; + undefined8 uVar3; + undefined4 *puVar4; + undefined4 uVar5; + uint uVar6; + uint uVar7; + ulonglong uVar8; + uint local_a8 [6]; + uint local_90 [4]; + undefined4 *local_80; + uint local_78 [6]; + uint local_60 [4]; + undefined4 *local_50; + uint local_48 [6]; + uint local_30 [6]; + + uVar6 = *param_1 >> 1; + uVar5 = 0xfffffffe; + uVar3 = FUN_1400dfd80(local_90,uVar6); + if ((int)uVar3 == 0) { + uVar3 = FUN_1400dfd80(local_60,*param_1 - uVar6); + if ((int)uVar3 == 0) { + uVar3 = FUN_1400dfd80(local_a8,*param_1 * 2); + if ((int)uVar3 == 0) { + uVar3 = FUN_1400dfd80(local_30,*param_1 * 2); + if ((int)uVar3 == 0) { + uVar3 = FUN_1400dfd80(local_48,uVar6 * 2); + if ((int)uVar3 == 0) { + uVar3 = FUN_1400dfd80(local_78,(*param_1 - uVar6) * 2); + if ((int)uVar3 == 0) { + puVar4 = *(undefined4 **)(param_1 + 4); + if (0 < (int)uVar6) { + uVar8 = (ulonglong)uVar6; + do { + uVar1 = *puVar4; + puVar4 = puVar4 + 1; + uVar8 = uVar8 - 1; + *local_80 = uVar1; + local_80 = local_80 + 1; + } while (uVar8 != 0); + } + uVar7 = uVar6; + if ((int)uVar6 < *param_1) { + do { + uVar7 = uVar7 + 1; + *local_50 = *puVar4; + puVar4 = puVar4 + 1; + local_50 = local_50 + 1; + } while ((int)uVar7 < *param_1); + } + local_60[0] = *param_1 - uVar6; + local_90[0] = uVar6; + FUN_1400ddc00((int *)local_90); + iVar2 = FUN_1400d67d0(local_90,local_48); + if (iVar2 == 0) { + iVar2 = FUN_1400d67d0(local_60,local_78); + if (iVar2 == 0) { + uVar3 = FUN_1400de250(local_60,local_90,local_a8); + if ((int)uVar3 == 0) { + iVar2 = FUN_1400d67d0(local_a8,local_a8); + if (iVar2 == 0) { + uVar3 = FUN_1400de250(local_48,local_78,local_30); + if ((int)uVar3 == 0) { + uVar3 = FUN_1400de150(local_a8,local_30,local_a8); + if ((int)uVar3 == 0) { + uVar3 = FUN_1400dfcf0((int *)local_a8,uVar6); + if ((int)uVar3 == 0) { + uVar3 = FUN_1400dfcf0((int *)local_78,uVar6 * 2); + if ((int)uVar3 == 0) { + iVar2 = FUN_1400d62e0(local_48,local_a8,local_a8); + if (iVar2 == 0) { + iVar2 = FUN_1400d62e0(local_a8,local_78,param_2); + uVar5 = 0xfffffffe; + if (iVar2 == 0) { + uVar5 = 0; + } + } + } + } + } + } + } + } + } + } + FUN_1400d5c00((int *)local_78); + } + FUN_1400d5c00((int *)local_48); + } + FUN_1400d5c00((int *)local_30); + } + FUN_1400d5c00((int *)local_a8); + } + FUN_1400d5c00((int *)local_60); + } + FUN_1400d5c00((int *)local_90); + } + return uVar5; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400df680.c b/decomp/AgentManager_Release_x64/full/functions/0x1400df680.c new file mode 100644 index 00000000..8364bd7a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400df680.c @@ -0,0 +1,230 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400df680 FUN_1400df680 + * Pseudocode, not original source. */ + +ulonglong FUN_1400df680(uint *param_1,uint *param_2) + +{ + uint uVar1; + uint uVar2; + ulonglong uVar3; + ulonglong uVar4; + uint local_f8 [6]; + uint local_e0 [6]; + uint local_c8 [6]; + uint local_b0 [6]; + uint local_98 [6]; + uint local_80 [6]; + uint local_68 [6]; + uint local_50 [6]; + uint local_38 [8]; + + uVar3 = FUN_1400dfea0((int *)local_38); + if ((int)uVar3 == 0) { + uVar2 = (int)*param_1 / 3; + uVar4 = FUN_1400e3ae0(param_1,uVar2 * 0x1c,local_50); + uVar3 = uVar4 & 0xffffffff; + if ((int)uVar4 == 0) { + uVar4 = FUN_1400d5ca0(param_1,local_98); + uVar3 = uVar4 & 0xffffffff; + if ((int)uVar4 == 0) { + FUN_1400dfc70((int *)local_98,uVar2); + FUN_1400e3ae0(local_98,uVar2 * 0x1c,local_98); + uVar4 = FUN_1400d5ca0(param_1,local_68); + uVar3 = uVar4 & 0xffffffff; + if ((int)uVar4 == 0) { + FUN_1400dfc70((int *)local_68,uVar2 * 2); + uVar1 = FUN_1400d67d0(local_50,local_38); + uVar3 = (ulonglong)uVar1; + if (uVar1 == 0) { + uVar1 = FUN_1400d67d0(local_68,local_80); + uVar3 = (ulonglong)uVar1; + if (uVar1 == 0) { + uVar4 = FUN_1400e06f0((int *)local_50,(int *)local_f8); + uVar3 = uVar4 & 0xffffffff; + if ((int)uVar4 == 0) { + uVar1 = FUN_1400d62e0(local_f8,local_98,local_f8); + uVar3 = (ulonglong)uVar1; + if (uVar1 == 0) { + uVar4 = FUN_1400e06f0((int *)local_f8,(int *)local_f8); + uVar3 = uVar4 & 0xffffffff; + if ((int)uVar4 == 0) { + uVar1 = FUN_1400d62e0(local_f8,local_68,local_f8); + uVar3 = (ulonglong)uVar1; + if (uVar1 == 0) { + uVar1 = FUN_1400d67d0(local_f8,local_b0); + uVar3 = (ulonglong)uVar1; + if (uVar1 == 0) { + uVar4 = FUN_1400e06f0((int *)local_68,(int *)local_f8); + uVar3 = uVar4 & 0xffffffff; + if ((int)uVar4 == 0) { + uVar1 = FUN_1400d62e0(local_f8,local_98,local_f8); + uVar3 = (ulonglong)uVar1; + if (uVar1 == 0) { + uVar4 = FUN_1400e06f0((int *)local_f8,(int *)local_f8); + uVar3 = uVar4 & 0xffffffff; + if ((int)uVar4 == 0) { + uVar1 = FUN_1400d62e0(local_f8,local_50,local_f8); + uVar3 = (ulonglong)uVar1; + if (uVar1 == 0) { + uVar1 = FUN_1400d67d0(local_f8,local_c8); + uVar3 = (ulonglong)uVar1; + if (uVar1 == 0) { + uVar1 = FUN_1400d62e0(local_68,local_98,local_f8); + uVar3 = (ulonglong)uVar1; + if (uVar1 == 0) { + uVar1 = FUN_1400d62e0(local_f8,local_50,local_f8); + uVar3 = (ulonglong)uVar1; + if (uVar1 == 0) { + uVar1 = FUN_1400d67d0(local_f8,local_e0); + uVar3 = (ulonglong)uVar1; + if (uVar1 == 0) { + uVar1 = FUN_1400d64a0(local_b0,local_80,local_b0); + uVar3 = (ulonglong)uVar1; + if (uVar1 == 0) { + uVar1 = FUN_1400d64a0(local_c8,local_38,local_c8); + uVar3 = (ulonglong)uVar1; + if (uVar1 == 0) { + uVar4 = FUN_1400d6d80(local_b0,local_b0); + uVar3 = uVar4 & 0xffffffff; + if ((int)uVar4 == 0) { + uVar4 = FUN_1400d6d80(local_c8,local_c8); + uVar3 = uVar4 & 0xffffffff; + if ((int)uVar4 == 0) { + uVar1 = FUN_1400d64a0(local_e0,local_38,local_e0); + uVar3 = (ulonglong)uVar1; + if (uVar1 == 0) { + uVar1 = FUN_1400d64a0(local_e0,local_80,local_e0); + uVar3 = (ulonglong)uVar1; + if (uVar1 == 0) { + uVar1 = FUN_1400d64a0(local_b0,local_e0,local_b0 + ); + uVar3 = (ulonglong)uVar1; + if (uVar1 == 0) { + uVar1 = FUN_1400d64a0(local_c8,local_e0, + local_c8); + uVar3 = (ulonglong)uVar1; + if (uVar1 == 0) { + uVar4 = FUN_1400ddc40(local_38,3,local_f8); + uVar3 = uVar4 & 0xffffffff; + if ((int)uVar4 == 0) { + uVar1 = FUN_1400d64a0(local_b0,local_f8, + local_b0); + uVar3 = (ulonglong)uVar1; + if (uVar1 == 0) { + uVar4 = FUN_1400ddc40(local_80,3, + local_f8); + uVar3 = uVar4 & 0xffffffff; + if ((int)uVar4 == 0) { + uVar1 = FUN_1400d64a0(local_c8, + local_f8,local_c8); + uVar3 = (ulonglong)uVar1; + if (uVar1 == 0) { + uVar4 = FUN_1400d6710((int *)local_e0,3, + (int *)local_e0); + uVar3 = uVar4 & 0xffffffff; + if ((int)uVar4 == 0) { + uVar1 = FUN_1400d64a0(local_e0,local_b0, + local_e0); + uVar3 = (ulonglong)uVar1; + if (uVar1 == 0) { + uVar1 = FUN_1400d64a0(local_e0,local_c8, + local_e0); + uVar3 = (ulonglong)uVar1; + if (uVar1 == 0) { + uVar1 = FUN_1400d64a0(local_b0,local_e0, + local_b0); + uVar3 = (ulonglong)uVar1; + if (uVar1 == 0) { + uVar1 = FUN_1400d64a0(local_c8,local_e0, + local_c8); + uVar3 = (ulonglong)uVar1; + if (uVar1 == 0) { + uVar4 = FUN_1400e39f0(local_b0,( + undefined8 *)local_b0,(undefined4 *)0x0); + uVar3 = uVar4 & 0xffffffff; + if ((int)uVar4 == 0) { + uVar4 = FUN_1400e39f0(local_c8,(undefined8 *) + local_c8, + (undefined4 *)0x0); + uVar3 = uVar4 & 0xffffffff; + if ((int)uVar4 == 0) { + uVar4 = FUN_1400dfcf0((int *)local_b0,uVar2); + uVar3 = uVar4 & 0xffffffff; + if ((int)uVar4 == 0) { + uVar4 = FUN_1400dfcf0((int *)local_e0, + uVar2 * 2); + uVar3 = uVar4 & 0xffffffff; + if ((int)uVar4 == 0) { + uVar4 = FUN_1400dfcf0((int *)local_c8, + uVar2 * 3); + uVar3 = uVar4 & 0xffffffff; + if ((int)uVar4 == 0) { + uVar4 = FUN_1400dfcf0((int *)local_80, + uVar2 * 4); + uVar3 = uVar4 & 0xffffffff; + if ((int)uVar4 == 0) { + uVar2 = FUN_1400d62e0(local_38, + local_b0,param_2); + uVar3 = (ulonglong)uVar2; + if (uVar2 == 0) { + uVar2 = FUN_1400d62e0(local_e0,local_c8,local_f8 + ); + uVar3 = (ulonglong)uVar2; + if (uVar2 == 0) { + uVar2 = FUN_1400d62e0(local_80,local_f8, + local_f8); + uVar3 = (ulonglong)uVar2; + if (uVar2 == 0) { + uVar2 = FUN_1400d62e0(local_f8,param_2, + param_2); + uVar3 = (ulonglong)uVar2; + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + FUN_1400dfe60((int *)local_38); + } + return uVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400dfc40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400dfc40.c new file mode 100644 index 00000000..cb28c6e4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400dfc40.c @@ -0,0 +1,23 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400dfc40 FUN_1400dfc40 + * Pseudocode, not original source. */ + +void FUN_1400dfc40(undefined8 *param_1,undefined8 *param_2) + +{ + undefined8 uVar1; + undefined8 uVar2; + undefined8 uVar3; + + uVar1 = *param_1; + uVar2 = param_1[1]; + uVar3 = param_1[2]; + *param_1 = *param_2; + param_1[1] = param_2[1]; + param_1[2] = param_2[2]; + *param_2 = uVar1; + param_2[1] = uVar2; + param_2[2] = uVar3; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400dfc70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400dfc70.c new file mode 100644 index 00000000..aa8f3075 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400dfc70.c @@ -0,0 +1,42 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400dfc70 FUN_1400dfc70 + * Pseudocode, not original source. */ + +void FUN_1400dfc70(int *param_1,int param_2) + +{ + int iVar1; + undefined4 *puVar2; + undefined4 *puVar3; + undefined4 *puVar4; + + if (0 < param_2) { + if (*param_1 <= param_2) { + FUN_1400ddd40(param_1); + return; + } + puVar3 = *(undefined4 **)(param_1 + 4); + iVar1 = 0; + puVar4 = puVar3 + param_2; + puVar2 = puVar3; + if (0 < *param_1 - param_2) { + do { + iVar1 = iVar1 + 1; + puVar3 = puVar2 + 1; + *puVar2 = *puVar4; + puVar4 = puVar4 + 1; + puVar2 = puVar3; + } while (iVar1 < *param_1 - param_2); + } + if (iVar1 < *param_1) { + do { + *puVar3 = 0; + iVar1 = iVar1 + 1; + puVar3 = puVar3 + 1; + } while (iVar1 < *param_1); + } + *param_1 = *param_1 - param_2; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400dfcf0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400dfcf0.c new file mode 100644 index 00000000..1177a2dd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400dfcf0.c @@ -0,0 +1,41 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400dfcf0 FUN_1400dfcf0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400dfcf0(int *param_1,uint param_2) + +{ + int iVar1; + undefined4 uVar2; + undefined8 uVar3; + ulonglong uVar4; + undefined4 *puVar5; + undefined4 *puVar6; + + if (0 < (int)param_2) { + if ((param_1[1] < (int)(*param_1 + param_2)) && + (uVar3 = FUN_1400ddb60((longlong)param_1,*param_1 + param_2), (int)uVar3 != 0)) { + return uVar3; + } + *param_1 = *param_1 + param_2; + iVar1 = *param_1; + puVar6 = (undefined4 *) + (*(longlong *)(param_1 + 4) + -4 + ((longlong)iVar1 - (longlong)(int)param_2) * 4); + if ((int)param_2 <= iVar1 + -1) { + uVar4 = (ulonglong)(((iVar1 + -1) - param_2) + 1); + puVar5 = (undefined4 *)(*(longlong *)(param_1 + 4) + -4 + (longlong)iVar1 * 4); + do { + uVar2 = *puVar6; + puVar6 = puVar6 + -1; + uVar4 = uVar4 - 1; + *puVar5 = uVar2; + puVar5 = puVar5 + -1; + } while (uVar4 != 0); + } + if (0 < (int)param_2) { + memset(*(void **)(param_1 + 4),0,(ulonglong)param_2 << 2); + } + } + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400dfd80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400dfd80.c new file mode 100644 index 00000000..05a0415d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400dfd80.c @@ -0,0 +1,35 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400dfd80 FUN_1400dfd80 + * Pseudocode, not original source. */ + +undefined8 FUN_1400dfd80(undefined4 *param_1,uint param_2) + +{ + void *pvVar1; + longlong lVar2; + int iVar3; + uint uVar4; + + uVar4 = param_2 & 0x8000001f; + if ((int)uVar4 < 0) { + uVar4 = (uVar4 - 1 | 0xffffffe0) + 1; + } + iVar3 = param_2 + (0x40 - uVar4); + pvVar1 = malloc((longlong)iVar3 * 4); + *(void **)(param_1 + 4) = pvVar1; + if (pvVar1 != (void *)0x0) { + param_1[1] = iVar3; + *param_1 = 0; + param_1[2] = 0; + lVar2 = 0; + if (0 < iVar3) { + do { + lVar2 = lVar2 + 1; + *(undefined4 *)(*(longlong *)(param_1 + 4) + -4 + lVar2 * 4) = 0; + } while (lVar2 < iVar3); + } + return 0; + } + return 0xfffffffe; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400dfe30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400dfe30.c new file mode 100644 index 00000000..81afe5a0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400dfe30.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400dfe30 FUN_1400dfe30 + * Pseudocode, not original source. */ + +undefined8 FUN_1400dfe30(uint *param_1,uint *param_2) + +{ + undefined8 uVar1; + + if ((param_1 != param_2) && (uVar1 = FUN_1400d5ca0(param_1,param_2), (int)uVar1 != 0)) { + return uVar1; + } + param_2[2] = 0; + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400dfe60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400dfe60.c new file mode 100644 index 00000000..f7653140 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400dfe60.c @@ -0,0 +1,19 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400dfe60 FUN_1400dfe60 + * Pseudocode, not original source. */ + +void FUN_1400dfe60(int *param_1) + +{ + undefined1 *puVar1; + undefined8 local_res10 [3]; + + puVar1 = (undefined1 *)register0x00000020; + while (param_1 != (int *)0x0) { + FUN_1400d5c00(param_1); + param_1 = *(int **)(puVar1 + 0x10); + puVar1 = puVar1 + 8; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400dfea0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400dfea0.c new file mode 100644 index 00000000..421c3ba4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400dfea0.c @@ -0,0 +1,34 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400dfea0 FUN_1400dfea0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400dfea0(int *param_1) + +{ + int *piVar1; + undefined1 *puVar2; + undefined8 uVar3; + int iVar4; + undefined8 local_res10 [3]; + + iVar4 = 0; + piVar1 = param_1; + puVar2 = (undefined1 *)register0x00000020; + while( true ) { + if (piVar1 == (int *)0x0) { + return 0; + } + uVar3 = FUN_1400d5ba0(piVar1); + if ((int)uVar3 != 0) break; + piVar1 = *(int **)(puVar2 + 0x10); + iVar4 = iVar4 + 1; + puVar2 = puVar2 + 8; + } + for (; iVar4 != 0; iVar4 = iVar4 + -1) { + FUN_1400d5c00(param_1); + param_1 = *(int **)((longlong)register0x00000020 + 0x10); + register0x00000020 = (BADSPACEBASE *)((longlong)register0x00000020 + 8); + } + return 0xfffffffe; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400dff20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400dff20.c new file mode 100644 index 00000000..90b287c4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400dff20.c @@ -0,0 +1,32 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400dff20 FUN_1400dff20 + * Pseudocode, not original source. */ + +ulonglong FUN_1400dff20(uint *param_1,uint *param_2,uint *param_3) + +{ + uint uVar1; + ulonglong uVar2; + uint local_28 [2]; + uint local_20; + + uVar2 = FUN_1400d5ba0(local_28); + if ((int)uVar2 == 0) { + uVar2 = FUN_1400d6850(param_1,param_2,(undefined8 *)0x0,local_28); + if ((int)uVar2 != 0) { + FUN_1400d5c00((int *)local_28); + return uVar2 & 0xffffffff; + } + if (local_20 == param_2[2]) { + uVar2 = 0; + FUN_1400dfc40((undefined8 *)local_28,(undefined8 *)param_3); + } + else { + uVar1 = FUN_1400d62e0(param_2,local_28,param_3); + uVar2 = (ulonglong)uVar1; + } + FUN_1400d5c00((int *)local_28); + } + return uVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400dffd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400dffd0.c new file mode 100644 index 00000000..3f62bfa3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400dffd0.c @@ -0,0 +1,165 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400dffd0 FUN_1400dffd0 + * Pseudocode, not original source. */ + +ulonglong FUN_1400dffd0(uint *param_1,uint *param_2,undefined8 *param_3) + +{ + uint uVar1; + int iVar2; + ulonglong uVar3; + undefined8 uVar4; + uint *puVar5; + uint *puVar6; + ulonglong uVar7; + uint *puVar8; + bool bVar9; + uint local_c8 [4]; + byte *local_b8; + uint local_b0 [4]; + byte *local_a0; + uint local_98 [4]; + byte *local_88; + uint local_80 [4]; + byte *local_70; + uint local_68 [4]; + byte *local_58; + uint local_50 [4]; + byte *local_40; + uint local_38 [4]; + byte *local_28; + uint local_20 [4]; + byte *local_10; + + if ((param_2[2] == 1) || (*param_2 == 0)) { + return 0xfffffffd; + } + uVar3 = FUN_1400dfea0((int *)local_20); + if ((int)uVar3 != 0) { + return uVar3; + } + uVar3 = FUN_1400dff20(param_1,param_2,local_20); + uVar7 = uVar3 & 0xffffffff; + if ((int)uVar3 == 0) { + uVar3 = FUN_1400d5ca0(param_2,local_38); + uVar7 = uVar3 & 0xffffffff; + if ((int)uVar3 == 0) { + if (((((int)local_20[0] < 1) || ((*local_10 & 1) != 0)) || ((int)local_38[0] < 1)) || + ((*local_28 & 1) != 0)) { + uVar3 = FUN_1400d5ca0(local_20,local_98); + uVar7 = uVar3 & 0xffffffff; + if ((int)uVar3 == 0) { + uVar3 = FUN_1400d5ca0(local_38,local_b0); + uVar7 = uVar3 & 0xffffffff; + if ((int)uVar3 == 0) { + FUN_1400e07a0(local_68,1); + FUN_1400e07a0(local_80,1); + do { + bVar9 = local_98[0] == 0; + while ((bVar9 || (int)local_98[0] < 0 || ((*local_88 & 1) != 0))) { + while ((0 < (int)local_b0[0] && ((*local_a0 & 1) == 0))) { + uVar3 = FUN_1400d6d80(local_b0,local_b0); + uVar7 = uVar3 & 0xffffffff; + if ((int)uVar3 != 0) goto LAB_1400e03b9; + if (((0 < (int)local_c8[0]) && ((*local_b8 & 1) != 0)) || + ((0 < (int)local_80[0] && ((*local_70 & 1) != 0)))) { + uVar1 = FUN_1400d62e0(local_c8,local_38,local_c8); + uVar7 = (ulonglong)uVar1; + if (uVar1 != 0) goto LAB_1400e03b9; + uVar1 = FUN_1400d64a0(local_80,local_20,local_80); + uVar7 = (ulonglong)uVar1; + if (uVar1 != 0) goto LAB_1400e03b9; + } + uVar3 = FUN_1400d6d80(local_c8,local_c8); + uVar7 = uVar3 & 0xffffffff; + if ((int)uVar3 != 0) goto LAB_1400e03b9; + uVar3 = FUN_1400d6d80(local_80,local_80); + uVar7 = uVar3 & 0xffffffff; + if ((int)uVar3 != 0) goto LAB_1400e03b9; + } + uVar4 = FUN_1400d5df0((int *)local_98,(int *)local_b0); + if ((int)uVar4 == -1) { + uVar1 = FUN_1400d64a0(local_b0,local_98,local_b0); + uVar7 = (ulonglong)uVar1; + if (uVar1 != 0) goto LAB_1400e03b9; + uVar1 = FUN_1400d64a0(local_c8,local_68,local_c8); + uVar7 = (ulonglong)uVar1; + if (uVar1 != 0) goto LAB_1400e03b9; + puVar8 = local_80; + puVar6 = local_50; + puVar5 = local_80; + } + else { + uVar1 = FUN_1400d64a0(local_98,local_b0,local_98); + uVar7 = (ulonglong)uVar1; + if (uVar1 != 0) goto LAB_1400e03b9; + uVar1 = FUN_1400d64a0(local_68,local_c8,local_68); + uVar7 = (ulonglong)uVar1; + if (uVar1 != 0) goto LAB_1400e03b9; + puVar8 = local_50; + puVar6 = local_80; + puVar5 = local_50; + } + uVar1 = FUN_1400d64a0(puVar5,puVar6,puVar8); + uVar7 = (ulonglong)uVar1; + if (uVar1 != 0) goto LAB_1400e03b9; + bVar9 = false; + if (local_98[0] == 0) { + iVar2 = FUN_1400d5e20((int *)local_b0,1); + if (iVar2 != 0) goto LAB_1400e009f; + iVar2 = FUN_1400d5e20((int *)local_c8,0); + goto joined_r0x0001400e0340; + } + } + uVar3 = FUN_1400d6d80(local_98,local_98); + uVar7 = uVar3 & 0xffffffff; + if ((int)uVar3 != 0) break; + if (((0 < (int)local_68[0]) && ((*local_58 & 1) != 0)) || + ((0 < (int)local_50[0] && ((*local_40 & 1) != 0)))) { + uVar1 = FUN_1400d62e0(local_68,local_38,local_68); + uVar7 = (ulonglong)uVar1; + if (uVar1 != 0) break; + uVar1 = FUN_1400d64a0(local_50,local_20,local_50); + uVar7 = (ulonglong)uVar1; + if (uVar1 != 0) break; + } + uVar3 = FUN_1400d6d80(local_68,local_68); + uVar7 = uVar3 & 0xffffffff; + if ((int)uVar3 != 0) break; + uVar3 = FUN_1400d6d80(local_50,local_50); + uVar7 = uVar3 & 0xffffffff; + } while ((int)uVar3 == 0); + } + } + } + else { +LAB_1400e009f: + uVar7 = 0xfffffffd; + } + } + } + goto LAB_1400e03b9; +joined_r0x0001400e0340: + if (iVar2 != -1) goto LAB_1400e036b; + uVar1 = FUN_1400d62e0(local_c8,param_2,local_c8); + uVar7 = (ulonglong)uVar1; + if (uVar1 != 0) goto LAB_1400e03b9; + iVar2 = FUN_1400d5e20((int *)local_c8,0); + goto joined_r0x0001400e0340; +LAB_1400e036b: + uVar4 = FUN_1400ddd70((int *)local_c8,(int *)param_2); + iVar2 = (int)uVar4; + while (iVar2 != -1) { + uVar1 = FUN_1400d64a0(local_c8,param_2,local_c8); + uVar7 = (ulonglong)uVar1; + if (uVar1 != 0) goto LAB_1400e03b9; + uVar4 = FUN_1400ddd70((int *)local_c8,(int *)param_2); + iVar2 = (int)uVar4; + } + FUN_1400dfc40((undefined8 *)local_c8,param_3); + uVar7 = 0; +LAB_1400e03b9: + FUN_1400dfe60((int *)local_20); + return uVar7; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e0420.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e0420.c new file mode 100644 index 00000000..d6b7bbe4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e0420.c @@ -0,0 +1,129 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e0420 FUN_1400e0420 + * Pseudocode, not original source. */ + +ulonglong FUN_1400e0420(uint *param_1,uint *param_2,undefined8 *param_3) + +{ + uint uVar1; + int iVar2; + uint uVar3; + ulonglong uVar4; + undefined8 uVar5; + uint *puVar6; + uint *puVar7; + ulonglong uVar8; + uint *puVar9; + bool bVar10; + uint local_98 [2]; + int local_90; + byte *local_88; + uint local_80 [4]; + byte *local_70; + uint local_68 [4]; + byte *local_58; + uint local_50 [4]; + byte *local_40; + uint local_38 [6]; + uint local_20 [6]; + + if ((0 < (int)*param_2) && ((**(byte **)(param_2 + 4) & 1) == 0)) { + return 0xfffffffd; + } + uVar4 = FUN_1400dfea0((int *)local_38); + if ((int)uVar4 != 0) { + return uVar4; + } + uVar4 = FUN_1400d5ca0(param_2,local_38); + uVar8 = uVar4 & 0xffffffff; + if ((int)uVar4 == 0) { + uVar4 = FUN_1400dff20(param_1,param_2,local_20); + uVar8 = uVar4 & 0xffffffff; + if ((int)uVar4 == 0) { + uVar4 = FUN_1400d5ca0(local_38,local_80); + uVar8 = uVar4 & 0xffffffff; + if ((int)uVar4 == 0) { + uVar4 = FUN_1400d5ca0(local_20,local_68); + uVar8 = uVar4 & 0xffffffff; + if ((int)uVar4 == 0) { + FUN_1400e07a0(local_98,1); + do { + bVar10 = local_80[0] == 0; + while ((bVar10 || (int)local_80[0] < 0 || ((*local_70 & 1) != 0))) { + while ((0 < (int)local_68[0] && ((*local_58 & 1) == 0))) { + uVar4 = FUN_1400d6d80(local_68,local_68); + uVar8 = uVar4 & 0xffffffff; + if ((int)uVar4 != 0) goto LAB_1400e069f; + if ((0 < (int)local_98[0]) && ((*local_88 & 1) != 0)) { + uVar1 = FUN_1400d64a0(local_98,local_38,local_98); + uVar8 = (ulonglong)uVar1; + if (uVar1 != 0) goto LAB_1400e069f; + } + uVar4 = FUN_1400d6d80(local_98,local_98); + uVar8 = uVar4 & 0xffffffff; + if ((int)uVar4 != 0) goto LAB_1400e069f; + } + uVar5 = FUN_1400d5df0((int *)local_80,(int *)local_68); + if ((int)uVar5 == -1) { + uVar1 = FUN_1400d64a0(local_68,local_80,local_68); + uVar8 = (ulonglong)uVar1; + if (uVar1 != 0) goto LAB_1400e069f; + puVar9 = local_98; + puVar7 = local_50; + puVar6 = local_98; + } + else { + uVar1 = FUN_1400d64a0(local_80,local_68,local_80); + uVar8 = (ulonglong)uVar1; + if (uVar1 != 0) goto LAB_1400e069f; + puVar9 = local_50; + puVar7 = local_98; + puVar6 = local_50; + } + uVar1 = FUN_1400d64a0(puVar6,puVar7,puVar9); + uVar8 = (ulonglong)uVar1; + if (uVar1 != 0) goto LAB_1400e069f; + bVar10 = false; + if (local_80[0] == 0) { + iVar2 = FUN_1400d5e20((int *)local_68,1); + if (iVar2 == 0) { + uVar1 = param_1[2]; + goto joined_r0x0001400e066a; + } + uVar8 = 0xfffffffd; + goto LAB_1400e069f; + } + } + uVar4 = FUN_1400d6d80(local_80,local_80); + uVar8 = uVar4 & 0xffffffff; + if ((int)uVar4 != 0) break; + if ((0 < (int)local_50[0]) && ((*local_40 & 1) != 0)) { + uVar1 = FUN_1400d64a0(local_50,local_38,local_50); + uVar8 = (ulonglong)uVar1; + if (uVar1 != 0) break; + } + uVar4 = FUN_1400d6d80(local_50,local_50); + uVar8 = uVar4 & 0xffffffff; + } while ((int)uVar4 == 0); + } + } + } + } + goto LAB_1400e069f; + while( true ) { + uVar3 = FUN_1400d62e0(local_98,param_2,local_98); + uVar8 = (ulonglong)uVar3; + if (uVar3 != 0) break; +joined_r0x0001400e066a: + if (local_90 != 1) { + FUN_1400dfc40((undefined8 *)local_98,param_3); + *(uint *)(param_3 + 1) = uVar1; + uVar8 = 0; + break; + } + } +LAB_1400e069f: + FUN_1400dfe60((int *)local_38); + return uVar8; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e06f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e06f0.c new file mode 100644 index 00000000..c93c96b9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e06f0.c @@ -0,0 +1,50 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e06f0 FUN_1400e06f0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400e06f0(int *param_1,int *param_2) + +{ + int iVar1; + uint uVar2; + undefined8 uVar3; + uint *puVar4; + uint *puVar5; + uint *puVar6; + int iVar7; + uint uVar8; + + if ((param_2[1] < (int)(*param_1 + 1U)) && + (uVar3 = FUN_1400ddb60((longlong)param_2,*param_1 + 1U), (int)uVar3 != 0)) { + return uVar3; + } + iVar1 = *param_2; + *param_2 = *param_1; + puVar6 = *(uint **)(param_1 + 4); + iVar7 = 0; + puVar4 = *(uint **)(param_2 + 4); + uVar8 = 0; + if (0 < *param_1) { + do { + uVar2 = *puVar6; + iVar7 = iVar7 + 1; + puVar5 = puVar4 + 1; + puVar6 = puVar6 + 1; + *puVar4 = uVar2 * 2 & 0xfffffff | uVar8; + puVar4 = puVar5; + uVar8 = uVar2 >> 0x1b; + } while (iVar7 < *param_1); + if (uVar2 >> 0x1b != 0) { + *puVar5 = 1; + *param_2 = *param_2 + 1; + } + } + iVar7 = *param_2; + if (iVar7 < iVar1) { + memset((void *)(*(longlong *)(param_2 + 4) + (longlong)iVar7 * 4),0, + (ulonglong)(uint)(iVar1 - iVar7) << 2); + } + param_2[2] = param_1[2]; + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e07a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e07a0.c new file mode 100644 index 00000000..dd46be62 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e07a0.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e07a0 FUN_1400e07a0 + * Pseudocode, not original source. */ + +void FUN_1400e07a0(uint *param_1,uint param_2) + +{ + FUN_1400ddd40(param_1); + **(uint **)(param_1 + 4) = param_2 & 0xfffffff; + *param_1 = (uint)(**(int **)(param_1 + 4) != 0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e07e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e07e0.c new file mode 100644 index 00000000..7e5e2d53 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e07e0.c @@ -0,0 +1,132 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e07e0 FUN_1400e07e0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __chkstk replaced with injection: alloca_probe */ +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +undefined8 FUN_1400e07e0(uint *param_1,uint *param_2,int param_3) + +{ + uint uVar1; + int iVar2; + ulonglong uVar3; + undefined8 uVar4; + ulonglong *puVar5; + ulonglong *puVar6; + ulonglong *puVar7; + uint *puVar8; + int iVar9; + uint *_Dst; + ulonglong uVar10; + uint uVar11; + ulonglong uVar12; + int iVar13; + uint uVar14; + undefined1 auStack_1078 [32]; + uint local_1058; + int local_1054; + uint *local_1050; + ulonglong local_1048 [512]; + ulonglong local_48; + + local_48 = DAT_14016f5a0 ^ (ulonglong)auStack_1078; + uVar14 = *param_1; + local_1058 = uVar14; + local_1054 = param_3; + local_1050 = param_1; + if (((int)(*param_2 + 1) <= (int)param_1[1]) || + (uVar4 = FUN_1400ddb60((longlong)param_1,*param_2 + 1), (int)uVar4 == 0)) { + _Dst = *(uint **)(param_1 + 4); + iVar9 = 0; + puVar7 = local_1048; + uVar11 = 0; + if (0 < (int)*param_1) { + uVar11 = *param_1; + uVar10 = (ulonglong)uVar11; + puVar6 = puVar7; + puVar8 = _Dst; + do { + uVar1 = *puVar8; + puVar7 = puVar6 + 1; + puVar8 = puVar8 + 1; + uVar10 = uVar10 - 1; + *puVar6 = (ulonglong)uVar1; + puVar6 = puVar7; + } while (uVar10 != 0); + } + uVar1 = *param_2; + iVar2 = uVar1 * 2 + 1; + if ((int)uVar11 < iVar2) { + memset(puVar7,0,(ulonglong)(iVar2 - uVar11) << 3); + } + uVar11 = 0; + if (0 < (int)uVar1) { + puVar6 = local_1048; + puVar7 = local_1048; + uVar10 = (ulonglong)uVar1; + do { + puVar6 = puVar6 + 1; + uVar3 = puVar6[-1]; + puVar8 = *(uint **)(param_2 + 4); + if (0 < (int)uVar1) { + uVar12 = (ulonglong)uVar1; + puVar5 = puVar7; + do { + uVar14 = *puVar8; + puVar8 = puVar8 + 1; + *puVar5 = *puVar5 + (ulonglong)uVar14 * (ulonglong)((int)uVar3 * local_1054 & 0xfffffff) + ; + uVar12 = uVar12 - 1; + puVar5 = puVar5 + 1; + } while (uVar12 != 0); + } + puVar7 = puVar7 + 1; + *puVar6 = *puVar6 + (puVar6[-1] >> 0x1c); + uVar10 = uVar10 - 1; + param_1 = local_1050; + uVar14 = local_1058; + uVar11 = uVar1; + } while (uVar10 != 0); + } + iVar13 = uVar11 + 1; + puVar7 = local_1048 + (int)uVar11; + if (iVar13 <= iVar2) { + uVar10 = (ulonglong)((iVar2 - iVar13) + 1); + puVar6 = local_1048 + iVar13; + do { + uVar3 = *puVar7; + puVar7 = puVar7 + 1; + *puVar6 = *puVar6 + (uVar3 >> 0x1c); + uVar10 = uVar10 - 1; + puVar6 = puVar6 + 1; + } while (uVar10 != 0); + } + puVar7 = local_1048 + (int)uVar1; + puVar8 = _Dst; + if (0 < (int)(uVar1 + 1)) { + do { + uVar10 = *puVar7; + iVar9 = iVar9 + 1; + _Dst = puVar8 + 1; + puVar7 = puVar7 + 1; + *puVar8 = (uint)uVar10 & 0xfffffff; + puVar8 = _Dst; + } while (iVar9 < (int)(*param_2 + 1)); + } + if (iVar9 < (int)uVar14) { + memset(_Dst,0,(ulonglong)(uVar14 - iVar9) << 2); + } + *param_1 = *param_2 + 1; + FUN_1400ddc00((int *)param_1); + uVar4 = FUN_1400ddd70((int *)param_1,(int *)param_2); + if ((int)uVar4 == -1) { + uVar4 = 0; + } + else { + uVar4 = FUN_1400de150(param_1,param_2,param_1); + } + } + return uVar4; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e0a30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e0a30.c new file mode 100644 index 00000000..c431090f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e0a30.c @@ -0,0 +1,234 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e0a30 FUN_1400e0a30 + * Pseudocode, not original source. */ + +/* WARNING: Function: __chkstk replaced with injection: alloca_probe */ +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +ulonglong FUN_1400e0a30(uint *param_1,int *param_2,uint *param_3,undefined8 *param_4,int param_5) + +{ + uint *puVar1; + int iVar2; + undefined8 uVar3; + ulonglong uVar4; + uint *puVar5; + uint uVar6; + int iVar7; + ulonglong unaff_RBX; + int iVar8; + int iVar9; + uint uVar10; + uint uVar11; + code *pcVar12; + undefined1 auStack_18c8 [32]; + uint local_18a8; + uint local_18a4; + int local_18a0; + uint *local_1898; + int local_1890; + uint local_1888 [6]; + uint local_1870; + int *local_1868; + undefined8 *local_1860; + uint auStack_1858 [6]; + uint local_1840 [1530]; + ulonglong local_58; + + local_58 = DAT_14016f5a0 ^ (ulonglong)auStack_18c8; + local_1898 = param_3; + local_1868 = param_2; + local_1860 = param_4; + iVar2 = FUN_1400d5e50(param_2); + if (iVar2 < 8) { + iVar2 = 2; + } + else if (iVar2 < 0x25) { + iVar2 = 3; + } + else if (iVar2 < 0x8d) { + iVar2 = 4; + } + else if (iVar2 < 0x1c3) { + iVar2 = 5; + } + else if (iVar2 < 0x518) { + iVar2 = 6; + } + else { + iVar2 = (0xdc9 < iVar2) + 7; + } + uVar3 = FUN_1400d5ba0(local_1840); + if ((int)uVar3 != 0) { + return unaff_RBX; + } + iVar8 = iVar2 + -1; + uVar11 = 1 << (sbyte)iVar2; + iVar7 = 1 << ((byte)iVar8 & 0x1f); + local_18a0 = iVar7; + local_18a4 = uVar11; + for (iVar9 = iVar7; iVar9 < (int)uVar11; iVar9 = iVar9 + 1) { + uVar3 = FUN_1400d5ba0(auStack_1858 + (longlong)iVar9 * 6); + if ((int)uVar3 != 0) { + if (iVar7 < iVar9) { + uVar4 = (ulonglong)(uint)(iVar9 - local_18a0); + puVar5 = auStack_1858 + (longlong)iVar7 * 6; + do { + FUN_1400d5c00((int *)puVar5); + puVar5 = puVar5 + 6; + uVar4 = uVar4 - 1; + } while (uVar4 != 0); + } + FUN_1400d5c00((int *)local_1840); + return unaff_RBX; + } + param_3 = local_1898; + } + if (param_5 == 0) { + uVar3 = FUN_1400d7210((longlong)param_3,&local_18a8); + if ((int)uVar3 != 0) goto LAB_1400e0f7d; + if (((int)(*param_3 * 2 + 1) < 0x200) && ((int)*param_3 < 0x100)) { + pcVar12 = FUN_1400e07e0; + } + else { + pcVar12 = FUN_1400d7340; + } + } + else if (param_5 == 1) { + FUN_1400e3e70((longlong)param_3,(int *)&local_18a8); + pcVar12 = FUN_1400e3d60; + } + else { + uVar4 = FUN_1400e3cc0(param_3,&local_18a8); + if ((int)uVar4 != 0) goto LAB_1400e0f7d; + pcVar12 = FUN_1400e3bd0; + } + uVar3 = FUN_1400d5ba0(local_1888); + uVar11 = local_18a4; + if ((int)uVar3 != 0) goto LAB_1400e0f7d; + if (param_5 == 0) { + uVar3 = FUN_1400d7270(local_1888,param_3); + if ((int)uVar3 != 0) goto LAB_1400e0f6e; + uVar4 = FUN_1400d70f0(param_1,local_1888,param_3,local_1840); + iVar9 = (int)uVar4; + } + else { + FUN_1400e07a0(local_1888,1); + uVar4 = FUN_1400dff20(param_1,param_3,local_1840); + iVar9 = (int)uVar4; + } + if (iVar9 == 0) { + puVar5 = auStack_1858 + (longlong)local_18a0 * 6; + uVar3 = FUN_1400d5ca0(local_1840,puVar5); + puVar1 = local_1898; + if ((int)uVar3 == 0) { + iVar9 = 0; + if (0 < iVar8) { + do { + iVar7 = FUN_1400d67d0(puVar5,puVar5); + if ((iVar7 != 0) || (iVar7 = (*pcVar12)(puVar5,puVar1,local_18a8), iVar7 != 0)) + goto LAB_1400e0f6e; + iVar9 = iVar9 + 1; + } while (iVar9 < iVar8); + } + iVar9 = local_18a0 + 1; + iVar8 = local_18a0; + if (iVar9 < (int)local_18a4) { + do { + iVar7 = FUN_1400d6660(auStack_1858 + (longlong)iVar8 * 6,local_1840, + auStack_1858 + (longlong)iVar9 * 6); + if ((iVar7 != 0) || + (iVar7 = (*pcVar12)(auStack_1858 + (longlong)iVar9 * 6,puVar1,local_18a8), iVar7 != 0)) + goto LAB_1400e0f6e; + iVar9 = iVar9 + 1; + iVar8 = iVar8 + 1; + } while (iVar9 < (int)local_18a4); + } + iVar9 = 0; + iVar8 = 0; + local_1890 = 1; + uVar10 = 0; + local_1898 = (uint *)(longlong)(*local_1868 + -1); + puVar5 = local_1898; + uVar11 = 0; + do { + do { + do { + while( true ) { + local_1890 = local_1890 + -1; + if (local_1890 == 0) { + if (puVar5 == (uint *)0xffffffffffffffff) { + if (((iVar9 != 2) || (iVar8 < 1)) || (iVar2 = 0, iVar8 < 1)) goto LAB_1400e0f3e; + goto LAB_1400e0ed0; + } + puVar5 = (uint *)((longlong)puVar5 + -1); + uVar11 = *(uint *)(*(longlong *)(local_1868 + 4) + 4 + (longlong)puVar5 * 4); + local_1890 = 0x1c; + local_1898 = puVar5; + } + local_1870 = uVar11 * 2; + uVar6 = uVar11 >> 0x1b & 1; + uVar11 = local_1870; + if (iVar9 == 0) break; + if ((iVar9 != 1) || (uVar6 != 0)) goto LAB_1400e0da3; + iVar7 = FUN_1400d67d0(local_1888,local_1888); + if ((iVar7 != 0) || + (iVar7 = (*pcVar12)(local_1888,puVar1,local_18a8), puVar5 = local_1898, + uVar11 = local_1870, iVar7 != 0)) goto LAB_1400e0f6e; + } + } while (uVar6 == 0); +LAB_1400e0da3: + iVar8 = iVar8 + 1; + iVar9 = 2; + uVar10 = uVar10 | uVar6 << ((sbyte)iVar2 - (char)iVar8 & 0x1fU); + puVar5 = local_1898; + } while (iVar8 != iVar2); + iVar8 = 0; + if (iVar2 != 0) { + do { + iVar9 = FUN_1400d67d0(local_1888,local_1888); + if ((iVar9 != 0) || (iVar9 = (*pcVar12)(local_1888,puVar1,local_18a8), iVar9 != 0)) + goto LAB_1400e0f6e; + iVar8 = iVar8 + 1; + } while (iVar8 < iVar2); + } + iVar8 = FUN_1400d6660(local_1888,auStack_1858 + (longlong)(int)uVar10 * 6,local_1888); + if ((iVar8 != 0) || (iVar8 = (*pcVar12)(local_1888,puVar1,local_18a8), iVar8 != 0)) break; + iVar8 = 0; + iVar9 = 1; + uVar10 = 0; + puVar5 = local_1898; + uVar11 = local_1870; + } while( true ); + } + } + goto LAB_1400e0f6e; + while (iVar2 = iVar2 + 1, iVar2 < iVar8) { +LAB_1400e0ed0: + iVar9 = FUN_1400d67d0(local_1888,local_1888); + if (((iVar9 != 0) || (iVar9 = (*pcVar12)(local_1888,puVar1,local_18a8), iVar9 != 0)) || + ((uVar10 = uVar10 * 2, (local_18a4 & uVar10) != 0 && + ((iVar9 = FUN_1400d6660(local_1888,local_1840,local_1888), iVar9 != 0 || + (iVar9 = (*pcVar12)(local_1888,puVar1,local_18a8), iVar9 != 0)))))) goto LAB_1400e0f6e; + } +LAB_1400e0f3e: + if ((param_5 != 0) || (iVar2 = (*pcVar12)(local_1888,puVar1,local_18a8), iVar2 == 0)) { + FUN_1400dfc40((undefined8 *)local_1888,local_1860); + } +LAB_1400e0f6e: + FUN_1400d5c00((int *)local_1888); + uVar11 = local_18a4; +LAB_1400e0f7d: + FUN_1400d5c00((int *)local_1840); + if (local_18a0 < (int)uVar11) { + puVar5 = auStack_1858 + (longlong)local_18a0 * 6; + uVar4 = (ulonglong)(uVar11 - local_18a0); + do { + FUN_1400d5c00((int *)puVar5); + puVar5 = puVar5 + 6; + uVar4 = uVar4 - 1; + } while (uVar4 != 0); + } + return unaff_RBX; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e0ff0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e0ff0.c new file mode 100644 index 00000000..c5365a1e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e0ff0.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e0ff0 FUN_1400e0ff0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400e0ff0(int *param_1) + +{ + int iVar1; + uint uVar2; + uint *puVar3; + int iVar4; + + iVar1 = *param_1; + if (iVar1 == 0) { + return 0; + } + if ((iVar1 != 1) && (1 < iVar1)) { + iVar1 = FUN_1400d5e50(param_1); + iVar4 = 0x1c; + uVar2 = 1; + if (0x1c < iVar1) { + puVar3 = (uint *)(*(longlong *)(param_1 + 4) + 4); + do { + if ((*puVar3 & uVar2) == 0) { + return 0; + } + uVar2 = uVar2 * 2; + if (0xfffffff < uVar2) { + puVar3 = puVar3 + 1; + uVar2 = 1; + } + iVar4 = iVar4 + 1; + } while (iVar4 < iVar1); + } + } + return 1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e1060.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e1060.c new file mode 100644 index 00000000..683b4420 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e1060.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e1060 FUN_1400e1060 + * Pseudocode, not original source. */ + +undefined8 FUN_1400e1060(int *param_1) + +{ + int iVar1; + int *piVar2; + int iVar3; + + iVar1 = *param_1; + if (iVar1 < 2) { + return 0; + } + iVar3 = 1; + if (1 < iVar1) { + piVar2 = *(int **)(param_1 + 4); + do { + piVar2 = piVar2 + 1; + if (*piVar2 != 0xfffffff) { + return 0; + } + iVar3 = iVar3 + 1; + } while (iVar3 < iVar1); + } + return 1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e10a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e10a0.c new file mode 100644 index 00000000..80e692e8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e10a0.c @@ -0,0 +1,230 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e10a0 FUN_1400e10a0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __chkstk replaced with injection: alloca_probe */ +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +ulonglong FUN_1400e10a0(uint *param_1,int *param_2,uint *param_3,undefined8 *param_4,int param_5) + +{ + uint *puVar1; + int iVar2; + undefined8 uVar3; + ulonglong uVar4; + uint *puVar5; + uint uVar6; + int iVar7; + ulonglong unaff_RBX; + int iVar8; + int iVar9; + uint uVar10; + uint uVar11; + code *pcVar12; + undefined1 auStack_18d8 [32]; + uint local_18b8; + int local_18b4; + uint *local_18b0; + int local_18a8; + uint local_18a0 [6]; + int *local_1888; + uint local_1880; + uint local_1878 [6]; + undefined8 *local_1860; + uint auStack_1858 [6]; + uint local_1840 [1530]; + ulonglong local_58; + + local_58 = DAT_14016f5a0 ^ (ulonglong)auStack_18d8; + local_18b0 = param_3; + local_1888 = param_2; + local_1860 = param_4; + iVar2 = FUN_1400d5e50(param_2); + if (iVar2 < 8) { + iVar2 = 2; + } + else if (iVar2 < 0x25) { + iVar2 = 3; + } + else if (iVar2 < 0x8d) { + iVar2 = 4; + } + else if (iVar2 < 0x1c3) { + iVar2 = 5; + } + else if (iVar2 < 0x518) { + iVar2 = 6; + } + else { + iVar2 = (0xdc9 < iVar2) + 7; + } + uVar3 = FUN_1400d5ba0(local_1840); + if ((int)uVar3 != 0) { + return unaff_RBX; + } + iVar8 = iVar2 + -1; + uVar11 = 1 << (sbyte)iVar2; + iVar7 = 1 << ((byte)iVar8 & 0x1f); + local_18b4 = iVar7; + local_18b8 = uVar11; + for (iVar9 = iVar7; iVar9 < (int)uVar11; iVar9 = iVar9 + 1) { + uVar3 = FUN_1400d5ba0(auStack_1858 + (longlong)iVar9 * 6); + if ((int)uVar3 != 0) { + if (iVar7 < iVar9) { + uVar4 = (ulonglong)(uint)(iVar9 - local_18b4); + puVar5 = auStack_1858 + (longlong)iVar7 * 6; + do { + FUN_1400d5c00((int *)puVar5); + puVar5 = puVar5 + 6; + uVar4 = uVar4 - 1; + } while (uVar4 != 0); + } + FUN_1400d5c00((int *)local_1840); + return unaff_RBX; + } + param_3 = local_18b0; + } + uVar3 = FUN_1400d5ba0(local_1878); + if ((int)uVar3 != 0) goto LAB_1400e15a4; + if (param_5 == 0) { + iVar9 = FUN_1400e4160(local_1878,param_3); + if (iVar9 == 0) { + pcVar12 = FUN_1400e3fe0; +LAB_1400e1252: + uVar4 = FUN_1400dff20(param_1,param_3,local_1840); + uVar11 = local_18b8; + if ((int)uVar4 == 0) { + puVar5 = auStack_1858 + (longlong)local_18b4 * 6; + uVar3 = FUN_1400d5ca0(local_1840,puVar5); + puVar1 = local_18b0; + uVar11 = local_18b8; + if ((int)uVar3 == 0) { + iVar9 = 0; + if (0 < iVar8) { + do { + iVar7 = FUN_1400d67d0(puVar5,puVar5); + uVar11 = local_18b8; + if ((iVar7 != 0) || + (iVar7 = (*pcVar12)(puVar5,puVar1,local_1878), uVar11 = local_18b8, iVar7 != 0)) + goto LAB_1400e159a; + iVar9 = iVar9 + 1; + } while (iVar9 < iVar8); + } + iVar9 = local_18b4 + 1; + iVar8 = local_18b4; + if (iVar9 < (int)local_18b8) { + do { + iVar7 = FUN_1400d6660(auStack_1858 + (longlong)iVar8 * 6,local_1840, + auStack_1858 + (longlong)iVar9 * 6); + uVar11 = local_18b8; + if ((iVar7 != 0) || + (iVar7 = (*pcVar12)(auStack_1858 + (longlong)iVar9 * 6,puVar1,local_1878), + uVar11 = local_18b8, iVar7 != 0)) goto LAB_1400e159a; + iVar9 = iVar9 + 1; + iVar8 = iVar8 + 1; + } while (iVar9 < (int)local_18b8); + } + uVar3 = FUN_1400d5ba0(local_18a0); + uVar11 = local_18b8; + if ((int)uVar3 == 0) { + FUN_1400e07a0(local_18a0,1); + iVar9 = 0; + iVar8 = 0; + local_18a8 = 1; + uVar10 = 0; + local_18b0 = (uint *)(longlong)(*local_1888 + -1); + puVar5 = local_18b0; + uVar11 = 0; + do { + do { + do { + while( true ) { + local_18a8 = local_18a8 + -1; + if (local_18a8 == 0) { + if (puVar5 == (uint *)0xffffffffffffffff) { + if (((iVar9 != 2) || (iVar8 < 1)) || (iVar2 = 0, iVar8 < 1)) + goto LAB_1400e157a; + goto LAB_1400e1510; + } + puVar5 = (uint *)((longlong)puVar5 + -1); + uVar11 = *(uint *)(*(longlong *)(local_1888 + 4) + 4 + (longlong)puVar5 * 4); + local_18a8 = 0x1c; + local_18b0 = puVar5; + } + local_1880 = uVar11 * 2; + uVar6 = uVar11 >> 0x1b & 1; + uVar11 = local_1880; + if (iVar9 == 0) break; + if ((iVar9 != 1) || (uVar6 != 0)) goto LAB_1400e13e2; + iVar7 = FUN_1400d67d0(local_18a0,local_18a0); + if ((iVar7 != 0) || + (iVar7 = (*pcVar12)(local_18a0,puVar1,local_1878), puVar5 = local_18b0, + uVar11 = local_1880, iVar7 != 0)) goto LAB_1400e158b; + } + } while (uVar6 == 0); +LAB_1400e13e2: + iVar8 = iVar8 + 1; + iVar9 = 2; + uVar10 = uVar10 | uVar6 << ((sbyte)iVar2 - (char)iVar8 & 0x1fU); + puVar5 = local_18b0; + } while (iVar8 != iVar2); + iVar8 = 0; + if (iVar2 != 0) { + do { + iVar9 = FUN_1400d67d0(local_18a0,local_18a0); + if ((iVar9 != 0) || (iVar9 = (*pcVar12)(local_18a0,puVar1,local_1878), iVar9 != 0) + ) goto LAB_1400e158b; + iVar8 = iVar8 + 1; + } while (iVar8 < iVar2); + } + iVar8 = FUN_1400d6660(local_18a0,auStack_1858 + (longlong)(int)uVar10 * 6,local_18a0); + if ((iVar8 != 0) || (iVar8 = (*pcVar12)(local_18a0,puVar1,local_1878), iVar8 != 0)) + goto LAB_1400e158b; + iVar8 = 0; + iVar9 = 1; + uVar10 = 0; + puVar5 = local_18b0; + uVar11 = local_1880; + } while( true ); + } + } + } + } + } + else { + uVar4 = FUN_1400e3f70(param_3,local_1878); + if ((int)uVar4 == 0) { + pcVar12 = FUN_1400e3e80; + goto LAB_1400e1252; + } + } +LAB_1400e159a: + FUN_1400d5c00((int *)local_1878); +LAB_1400e15a4: + FUN_1400d5c00((int *)local_1840); + if (local_18b4 < (int)uVar11) { + puVar5 = auStack_1858 + (longlong)local_18b4 * 6; + uVar4 = (ulonglong)(uVar11 - local_18b4); + do { + FUN_1400d5c00((int *)puVar5); + puVar5 = puVar5 + 6; + uVar4 = uVar4 - 1; + } while (uVar4 != 0); + } + return unaff_RBX; + while (iVar2 = iVar2 + 1, iVar2 < iVar8) { +LAB_1400e1510: + iVar9 = FUN_1400d67d0(local_18a0,local_18a0); + if (((iVar9 != 0) || (iVar9 = (*pcVar12)(local_18a0,puVar1,local_1878), iVar9 != 0)) || + ((uVar10 = uVar10 * 2, (local_18b8 & uVar10) != 0 && + ((iVar9 = FUN_1400d6660(local_18a0,local_1840,local_18a0), iVar9 != 0 || + (iVar9 = (*pcVar12)(local_18a0,puVar1,local_1878), iVar9 != 0)))))) goto LAB_1400e158b; + } +LAB_1400e157a: + FUN_1400dfc40((undefined8 *)local_18a0,local_1860); +LAB_1400e158b: + FUN_1400d5c00((int *)local_18a0); + uVar11 = local_18b8; + goto LAB_1400e159a; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e1620.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e1620.c new file mode 100644 index 00000000..05ca10f1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e1620.c @@ -0,0 +1,36 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e1620 FUN_1400e1620 + * Pseudocode, not original source. */ + +bool FUN_1400e1620(uint *param_1) + +{ + uint uVar1; + int *piVar2; + ulonglong uVar3; + int iVar4; + + uVar1 = *param_1; + uVar3 = (ulonglong)uVar1; + if (uVar1 != 0) { + if (uVar1 == 1) { + return true; + } + if (1 < (int)uVar1) { + iVar4 = 0; + if (0 < (int)uVar1) { + piVar2 = *(int **)(param_1 + 4); + do { + if (*piVar2 == 0xfffffff) { + iVar4 = iVar4 + 1; + } + piVar2 = piVar2 + 1; + uVar3 = uVar3 - 1; + } while (uVar3 != 0); + } + return (int)uVar1 / 2 <= iVar4; + } + } + return false; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e1670.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e1670.c new file mode 100644 index 00000000..805ba110 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e1670.c @@ -0,0 +1,73 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e1670 FUN_1400e1670 + * Pseudocode, not original source. */ + +ulonglong FUN_1400e1670(uint *param_1,uint *param_2,undefined4 *param_3) + +{ + int iVar1; + uint uVar2; + uint uVar3; + int iVar4; + ulonglong uVar5; + undefined8 uVar6; + ulonglong uVar7; + uint local_68 [6]; + uint local_50 [6]; + uint local_38 [8]; + + *param_3 = 0; + iVar1 = FUN_1400d5e20((int *)param_2,1); + if (iVar1 != 1) { + return 0xfffffffd; + } + uVar5 = FUN_1400ddfa0(local_50,param_1); + if ((int)uVar5 != 0) { + return uVar5; + } + uVar5 = FUN_1400d6520((int *)local_50,1,(int *)local_50); + uVar7 = uVar5 & 0xffffffff; + if ((int)uVar5 != 0) goto LAB_1400e1802; + uVar2 = FUN_1400ddfa0(local_38,local_50); + uVar7 = (ulonglong)uVar2; + if (uVar2 != 0) goto LAB_1400e1802; + uVar2 = FUN_1400d5e80((int *)local_38); + uVar5 = FUN_1400ddfd0(local_38,uVar2,local_38,(undefined8 *)0x0); + uVar7 = uVar5 & 0xffffffff; + if ((int)uVar5 == 0) { + uVar5 = FUN_1400d5ba0(local_68); + uVar7 = uVar5 & 0xffffffff; + if ((int)uVar5 == 0) { + uVar3 = FUN_1400d74b0(param_2,local_38,param_1,(undefined8 *)local_68); + uVar7 = (ulonglong)uVar3; + if (uVar3 == 0) { + iVar1 = FUN_1400d5e20((int *)local_68,1); + if ((iVar1 != 0) && + (uVar6 = FUN_1400d5df0((int *)local_68,(int *)local_50), (int)uVar6 != 0)) { + iVar1 = 1; + if (0 < (int)(uVar2 - 1)) { + do { + uVar6 = FUN_1400d5df0((int *)local_68,(int *)local_50); + if ((int)uVar6 == 0) break; + uVar5 = FUN_1400d7170(local_68,param_1,local_68); + uVar7 = uVar5 & 0xffffffff; + if (((int)uVar5 != 0) || (iVar4 = FUN_1400d5e20((int *)local_68,1), iVar4 == 0)) + goto LAB_1400e17e8; + iVar1 = iVar1 + 1; + } while (iVar1 <= (int)(uVar2 - 1)); + } + uVar6 = FUN_1400d5df0((int *)local_68,(int *)local_50); + if ((int)uVar6 != 0) goto LAB_1400e17e8; + } + *param_3 = 1; + } +LAB_1400e17e8: + FUN_1400d5c00((int *)local_68); + } + } + FUN_1400d5c00((int *)local_38); +LAB_1400e1802: + FUN_1400d5c00((int *)local_50); + return uVar7; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e1830.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e1830.c new file mode 100644 index 00000000..b5df19d3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e1830.c @@ -0,0 +1,28 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e1830 FUN_1400e1830 + * Pseudocode, not original source. */ + +undefined8 FUN_1400e1830(uint *param_1,undefined4 *param_2) + +{ + undefined8 uVar1; + uint *puVar2; + uint local_res10 [2]; + + *param_2 = 0; + puVar2 = &DAT_14012a420; + while( true ) { + uVar1 = FUN_1400d6e30(param_1,*puVar2,local_res10); + if ((int)uVar1 != 0) { + return uVar1; + } + if (local_res10[0] == 0) break; + puVar2 = puVar2 + 1; + if (0x14012a81f < (longlong)puVar2) { + return 0; + } + } + *param_2 = 1; + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e18b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e18b0.c new file mode 100644 index 00000000..cdb92193 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e18b0.c @@ -0,0 +1,149 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e18b0 FUN_1400e18b0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400e18b0(byte *param_1,uint *param_2,longlong param_3,uint param_4) + +{ + uint *puVar1; + int iVar2; + undefined4 *puVar3; + undefined8 uVar4; + ulonglong uVar5; + ulonglong uVar6; + uint uVar7; + ulonglong uVar8; + undefined8 *puVar9; + uint local_res8 [2]; + uint local_48 [4]; + + if (((param_1 == (byte *)0x0) || (param_2 == (uint *)0x0)) || (param_3 == 0)) { + return 0x10; + } + if (*param_2 < 2) { + return 7; + } + uVar8 = 0; + if (param_4 != 0) { + puVar3 = (undefined4 *)(param_3 + 0x14); + uVar6 = (ulonglong)param_4; + do { + *puVar3 = 0; + puVar3 = puVar3 + 0xe; + uVar6 = uVar6 - 1; + } while (uVar6 != 0); + } + if (param_4 != 0) { + puVar9 = (undefined8 *)(param_3 + 8); + uVar6 = uVar8; + do { + local_res8[0] = *(uint *)(puVar9 + 1); + puVar1 = (uint *)*puVar9; + switch(*(undefined4 *)(puVar9 + -1)) { + case 2: + uVar4 = FUN_1400e3030(param_1,*param_2,(longlong)puVar1); + if ((int)uVar4 == 0) { + uVar4 = FUN_1400e2f30((longlong)puVar1,(int *)local_48); + iVar2 = (int)uVar4; + goto LAB_1400e1b85; + } + break; + case 3: + uVar4 = FUN_1400e2ed0(param_1,*param_2,puVar1); + if ((int)uVar4 == 0) { + iVar2 = FUN_1400e2e80(local_res8[0],(int *)local_48); + goto LAB_1400e1b85; + } + break; + case 4: + uVar4 = FUN_1400e2d20(param_1,*param_2,(longlong)puVar1,local_res8); + if ((int)uVar4 == 0) { + uVar4 = FUN_1400e2cd0((ulonglong)local_res8[0],(int *)local_48); + iVar2 = (int)uVar4; +joined_r0x0001400e1b3f: + if (iVar2 == 0) { + *(uint *)(uVar8 * 0x38 + 0x10 + param_3) = local_res8[0]; + *(undefined4 *)(uVar8 * 0x38 + 0x14 + param_3) = 1; + *param_2 = local_48[0]; + return 0; + } + } + break; + case 5: + uVar4 = FUN_1400e2bd0(param_1,*param_2,(byte *)puVar1,local_res8); + if ((int)uVar4 == 0) { + uVar4 = FUN_1400e2b80(local_res8[0],(int *)local_48); + iVar2 = (int)uVar4; + goto joined_r0x0001400e1b3f; + } + break; + case 6: + if (((*param_2 == 2) && (param_1[uVar6] == 5)) && (param_1[uVar6 + 1] == 0)) { + *param_2 = 2; + *(undefined4 *)(uVar8 * 0x38 + 0x14 + param_3) = 1; + return 0; + } + break; + case 7: + uVar4 = FUN_1400e2a00(param_1,*param_2,puVar1,local_res8); + if ((int)uVar4 == 0) { + uVar4 = FUN_1400e28d0(puVar1,local_res8[0],(int *)local_48); + iVar2 = (int)uVar4; + goto joined_r0x0001400e1b3f; + } + break; + case 8: + uVar4 = FUN_1400e2790(param_1,*param_2,(undefined1 *)puVar1,local_res8); + if ((int)uVar4 == 0) { + uVar4 = FUN_1400e26f0((byte *)puVar1,local_res8[0],(int *)local_48); + iVar2 = (int)uVar4; + goto joined_r0x0001400e1b3f; + } + break; + case 9: + uVar4 = FUN_1400e2550(param_1,*param_2,(undefined1 *)puVar1,local_res8); + if ((int)uVar4 == 0) { + uVar4 = FUN_1400e24b0((byte *)puVar1,local_res8[0],(int *)local_48); + iVar2 = (int)uVar4; + goto joined_r0x0001400e1b3f; + } + break; + case 10: + uVar4 = FUN_1400e22b0(param_1,*param_2,(ushort *)puVar1,local_res8); + if ((int)uVar4 == 0) { + uVar4 = FUN_1400e21a0((ushort *)puVar1,local_res8[0],(int *)local_48); + iVar2 = (int)uVar4; + goto joined_r0x0001400e1b3f; + } + break; + case 0xb: + local_48[0] = *param_2; + iVar2 = FUN_1400e1ea0((longlong)param_1,local_48,puVar1); +LAB_1400e1b85: + if (iVar2 == 0) { + *(undefined4 *)(uVar8 * 0x38 + 0x14 + param_3) = 1; + *param_2 = local_48[0]; + return 0; + } + break; + default: + return 0x10; + case 0xd: + case 0xe: + case 0xf: + uVar5 = FUN_1400daa10((char *)param_1,*param_2,(longlong)puVar1,local_res8[0],1); + if ((int)uVar5 == 0) { + uVar5 = FUN_1400e1c20((longlong)puVar1,local_res8[0],(int *)local_48); + iVar2 = (int)uVar5; + goto LAB_1400e1b85; + } + } + uVar7 = (int)uVar8 + 1; + uVar8 = (ulonglong)uVar7; + uVar6 = uVar6 + 1; + puVar9 = puVar9 + 7; + } while (uVar7 < param_4); + } + return 7; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e1c20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e1c20.c new file mode 100644 index 00000000..d667ed1d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e1c20.c @@ -0,0 +1,104 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e1c20 FUN_1400e1c20 + * Pseudocode, not original source. */ + +ulonglong FUN_1400e1c20(longlong param_1,uint param_2,int *param_3) + +{ + uint uVar1; + uint *puVar2; + undefined4 uVar3; + undefined4 extraout_var; + ulonglong uVar4; + uint uVar5; + int iVar6; + uint uVar7; + undefined8 *puVar8; + int local_res8 [2]; + uint local_res10; + + if ((param_1 == 0) || (param_3 == (int *)0x0)) { + return 0x10; + } + uVar7 = 0; + uVar5 = 0; + if (param_2 != 0) { + puVar8 = (undefined8 *)(param_1 + 8); + local_res10 = param_2; + do { + uVar1 = *(uint *)(puVar8 + 1); + puVar2 = (uint *)*puVar8; + if (*(int *)(puVar8 + -1) == 0) break; + switch(*(int *)(puVar8 + -1)) { + case 1: + uVar4 = FUN_1400e31c0(local_res8); + break; + case 2: + uVar4 = FUN_1400e2f30((longlong)puVar2,local_res8); + break; + case 3: + uVar3 = FUN_1400e2e80(*puVar2,local_res8); + uVar4 = CONCAT44(extraout_var,uVar3); + break; + case 4: + uVar4 = FUN_1400e2cd0((ulonglong)uVar1,local_res8); + break; + case 5: + uVar4 = FUN_1400e2b80(uVar1,local_res8); + break; + case 6: + uVar5 = uVar5 + 2; + goto LAB_1400e1d67; + case 7: + uVar4 = FUN_1400e28d0(puVar2,uVar1,local_res8); + break; + case 8: + uVar4 = FUN_1400e26f0((byte *)puVar2,uVar1,local_res8); + break; + case 9: + uVar4 = FUN_1400e24b0((byte *)puVar2,uVar1,local_res8); + break; + case 10: + uVar4 = FUN_1400e21a0((ushort *)puVar2,uVar1,local_res8); + break; + case 0xb: + uVar4 = FUN_1400e41a0((longlong)puVar2,local_res8); + break; + default: + goto LAB_1400e1db5; + case 0xd: + case 0xe: + case 0xf: + uVar4 = FUN_1400e1c20((longlong)puVar2,uVar1,local_res8); + } + if ((int)uVar4 != 0) { + return uVar4; + } + uVar5 = uVar5 + local_res8[0]; +LAB_1400e1d67: + uVar7 = uVar7 + 1; + puVar8 = puVar8 + 7; + } while (uVar7 < local_res10); + if (0x7f < uVar5) { + if (uVar5 < 0x100) { + iVar6 = uVar5 + 3; + } + else if (uVar5 < 0x10000) { + iVar6 = uVar5 + 4; + } + else { + if (0xffffff < uVar5) { +LAB_1400e1db5: + return 0x10; + } + iVar6 = uVar5 + 5; + } + goto LAB_1400e1db0; + } + } + iVar6 = uVar5 + 2; +LAB_1400e1db0: + *param_3 = iVar6; + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e1e10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e1e10.c new file mode 100644 index 00000000..45b90bed --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e1e10.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e1e10 FUN_1400e1e10 + * Pseudocode, not original source. */ + +undefined8 FUN_1400e1e10(undefined1 param_1) + +{ + switch(param_1) { + case 0x30: + return 0; + case 0x31: + return 1; + case 0x32: + return 2; + case 0x33: + return 3; + case 0x34: + return 4; + case 0x35: + return 5; + case 0x36: + return 6; + case 0x37: + return 7; + case 0x38: + return 8; + case 0x39: + return 9; + default: + return 100; + } +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e1ea0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e1ea0.c new file mode 100644 index 00000000..0798f0fe --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e1ea0.c @@ -0,0 +1,168 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e1ea0 FUN_1400e1ea0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +undefined4 FUN_1400e1ea0(longlong param_1,uint *param_2,uint *param_3) + +{ + byte bVar1; + int iVar2; + undefined8 uVar3; + undefined1 *puVar4; + uint uVar5; + uint uVar6; + undefined1 auStack_88 [32]; + undefined1 local_68 [4]; + undefined1 local_64; + undefined1 local_63; + undefined1 local_62; + undefined1 local_61; + undefined1 local_60; + undefined1 local_5f; + char local_5e; + undefined1 local_5d; + char local_5c; + undefined1 local_5b; + undefined1 local_5a; + undefined1 local_59; + undefined1 local_58; + ulonglong local_48; + + local_48 = DAT_14016f5a0 ^ (ulonglong)auStack_88; + if (((param_1 == 0) || (param_2 == (uint *)0x0)) || (param_3 == (uint *)0x0)) { + return 0x10; + } + if (*param_2 < 2) { + return 7; + } + bVar1 = *(byte *)(param_1 + 1); + if (0x1f < bVar1) { + return 7; + } + if (*param_2 < bVar1 + 2) { + return 7; + } + uVar5 = 0; + uVar6 = uVar5; + if (bVar1 != 0) { + puVar4 = local_68; + uVar6 = 0; + do { + iVar2 = FUN_1400e26b0((uint)(byte)puVar4[(param_1 - (longlong)local_68) + 2]); + if (iVar2 == -1) { + return 7; + } + *puVar4 = (char)iVar2; + uVar6 = uVar6 + 1; + puVar4 = puVar4 + 1; + } while (uVar6 < *(byte *)(param_1 + 1)); + } + *param_2 = uVar6 + 2; + uVar3 = FUN_1400e1e10(local_68[0]); + iVar2 = (int)uVar3 * 5; + uVar3 = FUN_1400e1e10(local_68[1]); + uVar6 = (int)uVar3 + iVar2 * 2; + *param_3 = uVar6; + if (uVar6 < 100) { + uVar3 = FUN_1400e1e10(local_68[2]); + iVar2 = (int)uVar3 * 5; + uVar3 = FUN_1400e1e10(local_68[3]); + uVar6 = (int)uVar3 + iVar2 * 2; + param_3[1] = uVar6; + if (0xc < uVar6) { + return 7; + } + uVar3 = FUN_1400e1e10(local_64); + iVar2 = (int)uVar3 * 5; + uVar3 = FUN_1400e1e10(local_63); + uVar6 = (int)uVar3 + iVar2 * 2; + param_3[2] = uVar6; + if (0x1f < uVar6) { + return 7; + } + uVar3 = FUN_1400e1e10(local_62); + iVar2 = (int)uVar3 * 5; + uVar3 = FUN_1400e1e10(local_61); + uVar6 = (int)uVar3 + iVar2 * 2; + param_3[3] = uVar6; + if (0x17 < uVar6) { + return 7; + } + uVar3 = FUN_1400e1e10(local_60); + iVar2 = (int)uVar3 * 5; + uVar3 = FUN_1400e1e10(local_5f); + uVar6 = (int)uVar3 + iVar2 * 2; + param_3[4] = uVar6; + if (0x3b < uVar6) { + return 7; + } + param_3[7] = 0; + param_3[8] = 0; + param_3[5] = 0; + param_3[6] = 0; + if (local_5e == 'Z') { + return 0; + } + if (local_5e == '+') { + uVar6 = 0; + } + else { + if (local_5e != '-') { + uVar3 = FUN_1400e1e10(local_5e); + iVar2 = (int)uVar3 * 5; + uVar3 = FUN_1400e1e10(local_5d); + uVar6 = (int)uVar3 + iVar2 * 2; + param_3[5] = uVar6; + if (0x3b < uVar6) { + return 7; + } + if (local_5c == 'Z') { + return 0; + } + if (local_5c != '+') { + if (local_5c != '-') { + return 7; + } + uVar5 = 1; + } + param_3[6] = uVar5; + uVar3 = FUN_1400e1e10(local_5b); + iVar2 = (int)uVar3 * 5; + uVar3 = FUN_1400e1e10(local_5a); + uVar6 = (int)uVar3 + iVar2 * 2; + param_3[7] = uVar6; + if (0x17 < uVar6) { + return 7; + } + uVar3 = FUN_1400e1e10(local_59); + iVar2 = (int)uVar3; + goto LAB_1400e20c8; + } + uVar6 = 1; + } + param_3[6] = uVar6; + uVar3 = FUN_1400e1e10(local_5d); + iVar2 = (int)uVar3 * 5; + uVar3 = FUN_1400e1e10(local_5c); + uVar6 = (int)uVar3 + iVar2 * 2; + param_3[7] = uVar6; + if (uVar6 < 0x18) { + uVar3 = FUN_1400e1e10(local_5b); + iVar2 = (int)uVar3; + local_58 = local_5a; +LAB_1400e20c8: + iVar2 = iVar2 * 5; + uVar3 = FUN_1400e1e10(local_58); + uVar6 = (int)uVar3 + iVar2 * 2; + param_3[8] = uVar6; + if (0x3b < uVar6) { + return 7; + } + return 0; + } + } + return 7; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e2170.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e2170.c new file mode 100644 index 00000000..b64e42e2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e2170.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e2170 FUN_1400e2170 + * Pseudocode, not original source. */ + +undefined8 FUN_1400e2170(ushort param_1) + +{ + if (param_1 < 0x80) { + return 1; + } + if (param_1 < 0x800) { + return 2; + } + return 3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e21a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e21a0.c new file mode 100644 index 00000000..0e629389 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e21a0.c @@ -0,0 +1,56 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e21a0 FUN_1400e21a0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400e21a0(ushort *param_1,uint param_2,int *param_3) + +{ + ushort uVar1; + uint uVar2; + int iVar3; + uint uVar4; + + if ((param_1 == (ushort *)0x0) || (param_3 == (int *)0x0)) { + return 0x10; + } + uVar2 = 0; + uVar4 = 0; + if (param_2 != 0) { + do { + uVar1 = *param_1; + if (0x10ffff < uVar1) { + return 0x10; + } + if (uVar1 < 0x80) { + iVar3 = 1; + } + else if (uVar1 < 0x800) { + iVar3 = 2; + } + else { + iVar3 = 3; + } + uVar4 = uVar4 + 1; + uVar2 = uVar2 + iVar3; + param_1 = param_1 + 1; + } while (uVar4 < param_2); + if (0x7f < uVar2) { + if (uVar2 < 0x100) { + *param_3 = uVar2 + 3; + return 0; + } + if (0xffff < uVar2) { + if (0xffffff < uVar2) { + return 0x10; + } + *param_3 = uVar2 + 5; + return 0; + } + *param_3 = uVar2 + 4; + return 0; + } + } + *param_3 = uVar2 + 2; + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e22b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e22b0.c new file mode 100644 index 00000000..4ea88f7a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e22b0.c @@ -0,0 +1,99 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e22b0 FUN_1400e22b0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400e22b0(byte *param_1,uint param_2,ushort *param_3,uint *param_4) + +{ + byte bVar1; + undefined8 uVar2; + uint uVar3; + ushort uVar4; + uint uVar5; + byte *pbVar6; + longlong lVar7; + uint uVar8; + + if (((param_1 == (byte *)0x0) || (param_3 == (ushort *)0x0)) || (param_4 == (uint *)0x0)) { + return 0x10; + } + if ((1 < param_2) && ((*param_1 & 0x1f) == 0xc)) { + bVar1 = param_1[1]; + if ((char)bVar1 < '\0') { + uVar5 = bVar1 & 0x7f; + if ((bVar1 & 0x7f) == 0) { + return 7; + } + if (3 < uVar5) { + return 7; + } + if (param_2 < uVar5 + 1) { + return 7; + } + uVar3 = 0; + pbVar6 = param_1 + 2; + uVar8 = uVar5 + 2; + do { + bVar1 = *pbVar6; + pbVar6 = pbVar6 + 1; + uVar3 = uVar3 << 8 | (uint)bVar1; + uVar5 = uVar5 - 1; + } while (uVar5 != 0); + } + else { + uVar8 = 2; + uVar3 = bVar1 & 0x7f; + } + if (uVar3 + uVar8 <= param_2) { + uVar3 = 0; + lVar7 = (longlong)(int)uVar8; + do { + if (param_2 <= uVar8) { + uVar2 = 0; +LAB_1400e2403: + *param_4 = uVar3; + return uVar2; + } + uVar4 = (ushort)param_1[lVar7]; + uVar8 = uVar8 + 1; + uVar5 = 0; + if ((char)param_1[lVar7] < '\0') { + do { + if (4 < uVar5) { + return 7; + } + uVar5 = uVar5 + 1; + uVar4 = (uVar4 & 0x7f) * 2; + } while ((char)uVar4 < '\0'); + if (4 < uVar5) { + return 7; + } + } + if (param_2 < (uVar5 - 1) + uVar8) { + return 7; + } + uVar4 = uVar4 >> ((byte)uVar5 & 0x1f); + if (1 < uVar5) { + uVar5 = uVar5 - 1; + } + while (lVar7 = lVar7 + 1, uVar5 != 0) { + uVar5 = uVar5 - 1; + if ((param_1[lVar7] & 0xc0) != 0x80) { + return 7; + } + uVar8 = uVar8 + 1; + uVar4 = uVar4 << 6 | (ushort)(param_1[lVar7] & 0x3f); + } + if (*param_4 < uVar3) { + uVar2 = 6; + goto LAB_1400e2403; + } + *param_3 = uVar4; + param_3 = param_3 + 1; + uVar3 = uVar3 + 1; + } while( true ); + } + } + return 7; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e2440.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e2440.c new file mode 100644 index 00000000..5ba6f02c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e2440.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e2440 FUN_1400e2440 + * Pseudocode, not original source. */ + +undefined4 FUN_1400e2440(int param_1) + +{ + int *piVar1; + int iVar2; + + iVar2 = 0; + piVar1 = &DAT_14012a820; + do { + if (*piVar1 == param_1) { + return (&DAT_14012a824)[(longlong)iVar2 * 2]; + } + piVar1 = piVar1 + 2; + iVar2 = iVar2 + 1; + } while ((longlong)piVar1 < 0x14012aa70); + return 0xffffffff; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e2470.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e2470.c new file mode 100644 index 00000000..47a13bb9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e2470.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e2470 FUN_1400e2470 + * Pseudocode, not original source. */ + +undefined4 FUN_1400e2470(int param_1) + +{ + int *piVar1; + int iVar2; + + iVar2 = 0; + piVar1 = &DAT_14012a824; + do { + if (*piVar1 == param_1) { + return (&DAT_14012a820)[(longlong)iVar2 * 2]; + } + piVar1 = piVar1 + 2; + iVar2 = iVar2 + 1; + } while ((longlong)piVar1 < 0x14012aa74); + return 0xffffffff; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e24b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e24b0.c new file mode 100644 index 00000000..53a94811 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e24b0.c @@ -0,0 +1,48 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e24b0 FUN_1400e24b0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400e24b0(byte *param_1,uint param_2,int *param_3) + +{ + longlong lVar1; + uint uVar2; + + if ((param_3 != (int *)0x0) && (param_1 != (byte *)0x0)) { + uVar2 = 0; + if (param_2 != 0) { + do { + lVar1 = 0; + while ((&DAT_14012a820)[lVar1 * 2] != (uint)*param_1) { + lVar1 = lVar1 + 1; + if (0x49 < lVar1) { + return 0x10; + } + } + if ((&DAT_14012a824)[lVar1 * 2] == -1) { + return 0x10; + } + uVar2 = uVar2 + 1; + param_1 = param_1 + 1; + } while (uVar2 < param_2); + } + if (param_2 < 0x80) { + *param_3 = param_2 + 2; + return 0; + } + if (param_2 < 0x100) { + *param_3 = param_2 + 3; + return 0; + } + if (param_2 < 0x10000) { + *param_3 = param_2 + 4; + return 0; + } + if (param_2 < 0x1000000) { + *param_3 = param_2 + 5; + return 0; + } + } + return 0x10; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e2550.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e2550.c new file mode 100644 index 00000000..b0503fc3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e2550.c @@ -0,0 +1,71 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e2550 FUN_1400e2550 + * Pseudocode, not original source. */ + +undefined8 FUN_1400e2550(byte *param_1,uint param_2,undefined1 *param_3,uint *param_4) + +{ + byte bVar1; + int iVar2; + uint uVar3; + byte *pbVar4; + uint uVar5; + uint uVar6; + + if (((param_1 == (byte *)0x0) || (param_3 == (undefined1 *)0x0)) || (param_4 == (uint *)0x0)) { + return 0x10; + } + if ((param_2 < 2) || ((*param_1 & 0x1f) != 0x13)) { + return 7; + } + bVar1 = param_1[1]; + uVar5 = 0; + if ((char)bVar1 < '\0') { + uVar3 = bVar1 & 0x7f; + if ((bVar1 & 0x7f) == 0) { + return 7; + } + if (3 < uVar3) { + return 7; + } + if (param_2 < uVar3 + 1) { + return 7; + } + uVar6 = 0; + pbVar4 = param_1 + 2; + iVar2 = uVar3 + 2; + do { + bVar1 = *pbVar4; + pbVar4 = pbVar4 + 1; + uVar6 = uVar6 << 8 | (uint)bVar1; + uVar3 = uVar3 - 1; + } while (uVar3 != 0); + } + else { + iVar2 = 2; + uVar6 = bVar1 & 0x7f; + } + if (*param_4 < uVar6) { + *param_4 = uVar6; + return 6; + } + if (param_2 < uVar6 + iVar2) { + return 7; + } + if (uVar6 != 0) { + pbVar4 = param_1 + iVar2; + do { + iVar2 = FUN_1400e2470((uint)*pbVar4); + pbVar4 = pbVar4 + 1; + if (iVar2 == -1) { + return 0x10; + } + uVar5 = uVar5 + 1; + *param_3 = (char)iVar2; + param_3 = param_3 + 1; + } while (uVar5 < uVar6); + } + *param_4 = uVar5; + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e2680.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e2680.c new file mode 100644 index 00000000..bafc8873 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e2680.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e2680 FUN_1400e2680 + * Pseudocode, not original source. */ + +undefined4 FUN_1400e2680(int param_1) + +{ + int *piVar1; + int iVar2; + + iVar2 = 0; + piVar1 = &DAT_14012aa70; + do { + if (*piVar1 == param_1) { + return (&DAT_14012aa74)[(longlong)iVar2 * 2]; + } + piVar1 = piVar1 + 2; + iVar2 = iVar2 + 1; + } while ((longlong)piVar1 < 0x14012ada0); + return 0xffffffff; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e26b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e26b0.c new file mode 100644 index 00000000..d491ee5e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e26b0.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e26b0 FUN_1400e26b0 + * Pseudocode, not original source. */ + +undefined4 FUN_1400e26b0(int param_1) + +{ + int *piVar1; + int iVar2; + + iVar2 = 0; + piVar1 = &DAT_14012aa74; + do { + if (*piVar1 == param_1) { + return (&DAT_14012aa70)[(longlong)iVar2 * 2]; + } + piVar1 = piVar1 + 2; + iVar2 = iVar2 + 1; + } while ((longlong)piVar1 < 0x14012ada4); + return 0xffffffff; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e26f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e26f0.c new file mode 100644 index 00000000..892f1f25 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e26f0.c @@ -0,0 +1,48 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e26f0 FUN_1400e26f0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400e26f0(byte *param_1,uint param_2,int *param_3) + +{ + longlong lVar1; + uint uVar2; + + if ((param_3 != (int *)0x0) && (param_1 != (byte *)0x0)) { + uVar2 = 0; + if (param_2 != 0) { + do { + lVar1 = 0; + while ((&DAT_14012aa70)[lVar1 * 2] != (uint)*param_1) { + lVar1 = lVar1 + 1; + if (0x65 < lVar1) { + return 0x10; + } + } + if ((&DAT_14012aa74)[lVar1 * 2] == -1) { + return 0x10; + } + uVar2 = uVar2 + 1; + param_1 = param_1 + 1; + } while (uVar2 < param_2); + } + if (param_2 < 0x80) { + *param_3 = param_2 + 2; + return 0; + } + if (param_2 < 0x100) { + *param_3 = param_2 + 3; + return 0; + } + if (param_2 < 0x10000) { + *param_3 = param_2 + 4; + return 0; + } + if (param_2 < 0x1000000) { + *param_3 = param_2 + 5; + return 0; + } + } + return 0x10; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e2790.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e2790.c new file mode 100644 index 00000000..c6c79361 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e2790.c @@ -0,0 +1,71 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e2790 FUN_1400e2790 + * Pseudocode, not original source. */ + +undefined8 FUN_1400e2790(byte *param_1,uint param_2,undefined1 *param_3,uint *param_4) + +{ + byte bVar1; + int iVar2; + uint uVar3; + byte *pbVar4; + uint uVar5; + uint uVar6; + + if (((param_1 == (byte *)0x0) || (param_3 == (undefined1 *)0x0)) || (param_4 == (uint *)0x0)) { + return 0x10; + } + if ((param_2 < 2) || ((*param_1 & 0x1f) != 0x16)) { + return 7; + } + bVar1 = param_1[1]; + uVar5 = 0; + if ((char)bVar1 < '\0') { + uVar3 = bVar1 & 0x7f; + if ((bVar1 & 0x7f) == 0) { + return 7; + } + if (3 < uVar3) { + return 7; + } + if (param_2 < uVar3 + 1) { + return 7; + } + uVar6 = 0; + pbVar4 = param_1 + 2; + iVar2 = uVar3 + 2; + do { + bVar1 = *pbVar4; + pbVar4 = pbVar4 + 1; + uVar6 = uVar6 << 8 | (uint)bVar1; + uVar3 = uVar3 - 1; + } while (uVar3 != 0); + } + else { + iVar2 = 2; + uVar6 = bVar1 & 0x7f; + } + if (*param_4 < uVar6) { + *param_4 = uVar6; + return 6; + } + if (param_2 < uVar6 + iVar2) { + return 7; + } + if (uVar6 != 0) { + pbVar4 = param_1 + iVar2; + do { + iVar2 = FUN_1400e26b0((uint)*pbVar4); + pbVar4 = pbVar4 + 1; + if (iVar2 == -1) { + return 0x10; + } + uVar5 = uVar5 + 1; + *param_3 = (char)iVar2; + param_3 = param_3 + 1; + } while (uVar5 < uVar6); + } + *param_4 = uVar5; + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e28c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e28c0.c new file mode 100644 index 00000000..8d419845 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e28c0.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e28c0 FUN_1400e28c0 + * Pseudocode, not original source. */ + +int FUN_1400e28c0(uint param_1) + +{ + int iVar1; + + iVar1 = 0; + for (; param_1 != 0; param_1 = param_1 >> 1) { + iVar1 = iVar1 + 1; + } + return iVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e28d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e28d0.c new file mode 100644 index 00000000..08d56d39 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e28d0.c @@ -0,0 +1,51 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e28d0 FUN_1400e28d0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400e28d0(uint *param_1,uint param_2,int *param_3) + +{ + uint uVar1; + uint uVar2; + uint uVar3; + uint uVar4; + uint uVar5; + uint *puVar6; + + if ((((param_1 == (uint *)0x0) || (param_3 == (int *)0x0)) || (param_2 < 2)) || + ((uVar3 = *param_1, 3 < uVar3 || ((uVar3 < 2 && (0x27 < param_1[1])))))) { + return 0x10; + } + uVar5 = 1; + uVar4 = 0; + uVar3 = param_1[1] + uVar3 * 0x28; + if (1 < param_2) { + puVar6 = param_1 + 2; + do { + uVar2 = 0; + for (uVar1 = uVar3; uVar1 != 0; uVar1 = uVar1 >> 1) { + uVar2 = uVar2 + 1; + } + uVar4 = uVar4 + (uint)(uVar3 == 0) + (uint)(uVar2 != (uVar2 / 7) * 7) + uVar2 / 7; + if (uVar5 < param_2 - 1) { + uVar3 = *puVar6; + } + uVar5 = uVar5 + 1; + puVar6 = puVar6 + 1; + } while (uVar5 < param_2); + if (0x7f < uVar4) { + if (uVar4 < 0x100) { + *param_3 = uVar4 + 3; + return 0; + } + if (0xffff < uVar4) { + return 0x10; + } + *param_3 = uVar4 + 4; + return 0; + } + } + *param_3 = uVar4 + 2; + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e2a00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e2a00.c new file mode 100644 index 00000000..27f00caa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e2a00.c @@ -0,0 +1,87 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e2a00 FUN_1400e2a00 + * Pseudocode, not original source. */ + +undefined8 FUN_1400e2a00(byte *param_1,uint param_2,uint *param_3,uint *param_4) + +{ + byte bVar1; + byte *pbVar2; + uint uVar3; + uint uVar4; + uint uVar5; + int iVar6; + longlong lVar7; + + if (((param_1 == (byte *)0x0) || (param_3 == (uint *)0x0)) || (param_4 == (uint *)0x0)) { + return 0x10; + } + if (2 < param_2) { + if (*param_4 < 2) { + return 6; + } + if ((*param_1 & 0x1f) == 6) { + bVar1 = param_1[1]; + if (bVar1 < 0x80) { + uVar4 = (uint)bVar1; + iVar6 = 2; + } + else { + if (bVar1 < 0x81) { + return 7; + } + if (0x82 < bVar1) { + return 7; + } + uVar4 = 0; + uVar3 = bVar1 & 0x7f; + if ((bVar1 & 0x7f) == 0) { + return 7; + } + pbVar2 = param_1 + 2; + iVar6 = uVar3 + 2; + do { + bVar1 = *pbVar2; + pbVar2 = pbVar2 + 1; + uVar4 = uVar4 << 8 | (uint)bVar1; + uVar3 = uVar3 - 1; + } while (uVar3 != 0); + } + if ((uVar4 != 0) && (uVar4 + iVar6 <= param_2)) { + uVar3 = 0; + uVar5 = 0; + lVar7 = 0; + if (uVar4 != 0) { + pbVar2 = param_1 + iVar6; + do { + bVar1 = *pbVar2; + uVar4 = uVar4 - 1; + pbVar2 = pbVar2 + 1; + uVar5 = bVar1 & 0x7f | uVar5 << 7; + if ((bVar1 & 0x80) == 0) { + if (*param_4 <= uVar3) { + return 6; + } + if (uVar3 == 0) { + uVar3 = 2; + lVar7 = 2; + *param_3 = uVar5 / 0x28; + param_3[1] = uVar5 % 0x28; + } + else { + param_3[lVar7] = uVar5; + uVar3 = uVar3 + 1; + lVar7 = lVar7 + 1; + } + uVar5 = 0; + } + } while (uVar4 != 0); + } + *param_4 = uVar3; + return 0; + } + } + } + return 7; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e2b80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e2b80.c new file mode 100644 index 00000000..52c26e82 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e2b80.c @@ -0,0 +1,28 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e2b80 FUN_1400e2b80 + * Pseudocode, not original source. */ + +undefined8 FUN_1400e2b80(uint param_1,int *param_2) + +{ + if (param_2 != (int *)0x0) { + if (param_1 < 0x80) { + *param_2 = param_1 + 2; + return 0; + } + if (param_1 < 0x100) { + *param_2 = param_1 + 3; + return 0; + } + if (param_1 < 0x10000) { + *param_2 = param_1 + 4; + return 0; + } + if (param_1 < 0x1000000) { + *param_2 = param_1 + 5; + return 0; + } + } + return 0x10; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e2bd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e2bd0.c new file mode 100644 index 00000000..3cfb1187 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e2bd0.c @@ -0,0 +1,68 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e2bd0 FUN_1400e2bd0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400e2bd0(byte *param_1,uint param_2,byte *param_3,uint *param_4) + +{ + byte bVar1; + ulonglong uVar2; + uint uVar3; + uint uVar4; + int iVar5; + byte *pbVar6; + + if (((param_1 == (byte *)0x0) || (param_3 == (byte *)0x0)) || (param_4 == (uint *)0x0)) { + return 0x10; + } + if ((param_2 < 2) || ((*param_1 & 0x1f) != 4)) { + return 7; + } + bVar1 = param_1[1]; + uVar2 = 0; + if ((char)bVar1 < '\0') { + uVar3 = bVar1 & 0x7f; + if ((bVar1 & 0x7f) == 0) { + return 7; + } + if (3 < uVar3) { + return 7; + } + if (param_2 < uVar3 + 1) { + return 7; + } + pbVar6 = param_1 + 2; + iVar5 = uVar3 + 2; + do { + bVar1 = *pbVar6; + pbVar6 = pbVar6 + 1; + uVar2 = (ulonglong)((int)uVar2 << 8 | (uint)bVar1); + uVar3 = uVar3 - 1; + } while (uVar3 != 0); + } + else { + iVar5 = 2; + uVar2 = (ulonglong)(bVar1 & 0x7f); + } + uVar3 = (uint)uVar2; + if (*param_4 < uVar3) { + *param_4 = uVar3; + return 6; + } + if (param_2 < uVar3 + iVar5) { + return 7; + } + uVar4 = 0; + if (uVar3 != 0) { + pbVar6 = param_3; + do { + uVar2 = uVar2 - 1; + *pbVar6 = (param_1 + ((longlong)iVar5 - (longlong)param_3))[(longlong)pbVar6]; + pbVar6 = pbVar6 + 1; + uVar4 = uVar3; + } while (uVar2 != 0); + } + *param_4 = uVar4; + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e2cd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e2cd0.c new file mode 100644 index 00000000..415cd2c4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e2cd0.c @@ -0,0 +1,27 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e2cd0 FUN_1400e2cd0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400e2cd0(ulonglong param_1,int *param_2) + +{ + uint uVar1; + + if (param_2 != (int *)0x0) { + uVar1 = ((param_1 & 7) != 0) + 1 + ((uint)(param_1 >> 3) & 0x1fffffff); + if (uVar1 < 0x80) { + *param_2 = uVar1 + 2; + return 0; + } + if (uVar1 < 0x100) { + *param_2 = uVar1 + 3; + return 0; + } + if (uVar1 < 0x10000) { + *param_2 = uVar1 + 4; + return 0; + } + } + return 0x10; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e2d20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e2d20.c new file mode 100644 index 00000000..26d86818 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e2d20.c @@ -0,0 +1,66 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e2d20 FUN_1400e2d20 + * Pseudocode, not original source. */ + +undefined8 FUN_1400e2d20(byte *param_1,uint param_2,longlong param_3,uint *param_4) + +{ + byte bVar1; + uint uVar2; + uint uVar3; + uint uVar4; + byte *pbVar5; + uint uVar6; + + if ((((param_1 == (byte *)0x0) || (param_3 == 0)) || (param_4 == (uint *)0x0)) || (param_2 < 4)) { + return 0x10; + } + if ((*param_1 & 0x1f) == 3) { + bVar1 = param_1[1]; + uVar4 = 0; + if ((char)bVar1 < '\0') { + uVar2 = bVar1 & 0x7f; + if ((bVar1 & 0x7f) == 0) { + return 7; + } + if (2 < uVar2) { + return 7; + } + uVar3 = 0; + pbVar5 = param_1 + 2; + uVar6 = uVar2 + 2; + do { + bVar1 = *pbVar5; + pbVar5 = pbVar5 + 1; + uVar3 = uVar3 << 8 | (uint)bVar1; + uVar2 = uVar2 - 1; + } while (uVar2 != 0); + } + else { + uVar6 = 2; + uVar3 = bVar1 & 0x7f; + } + if ((uVar3 != 0) && (uVar3 + uVar6 <= param_2)) { + uVar3 = (uVar3 * 8 + -8) - (param_1[uVar6] & 7); + if (*param_4 < uVar3) { + *param_4 = uVar3; + return 6; + } + if (uVar3 != 0) { + pbVar5 = param_1 + (int)(uVar6 + 1); + do { + *(bool *)param_3 = (*pbVar5 & (byte)(1 << (7U - (char)(uVar4 & 7) & 0x1f))) != 0; + if ((uVar4 & 7) == 7) { + pbVar5 = pbVar5 + 1; + } + uVar4 = uVar4 + 1; + param_3 = param_3 + 1; + } while (uVar4 < uVar3); + } + *param_4 = uVar3; + return 0; + } + } + return 7; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e2e80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e2e80.c new file mode 100644 index 00000000..4be23e80 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e2e80.c @@ -0,0 +1,30 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e2e80 FUN_1400e2e80 + * Pseudocode, not original source. */ + +undefined4 FUN_1400e2e80(uint param_1,int *param_2) + +{ + uint uVar1; + uint uVar2; + int iVar3; + + if (param_2 == (int *)0x0) { + return 0x10; + } + iVar3 = 0; + uVar2 = param_1; + if (param_1 != 0) { + do { + iVar3 = iVar3 + 1; + uVar1 = uVar2 >> 8; + uVar2 = uVar2 >> 8; + } while (uVar1 != 0); + if (iVar3 != 0) goto LAB_1400e2eb2; + } + iVar3 = 1; +LAB_1400e2eb2: + *param_2 = ((param_1 >> (iVar3 * 8 - 1U & 0x1f) & 1) != 0) + 2 + iVar3; + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e2ed0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e2ed0.c new file mode 100644 index 00000000..08560288 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e2ed0.c @@ -0,0 +1,36 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e2ed0 FUN_1400e2ed0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400e2ed0(byte *param_1,uint param_2,uint *param_3) + +{ + byte bVar1; + uint uVar2; + uint uVar3; + byte *pbVar4; + + if ((param_3 != (uint *)0x0) && (param_1 != (byte *)0x0)) { + if ((1 < param_2) && ((*param_1 & 0x1f) == 2)) { + bVar1 = param_1[1]; + uVar3 = (uint)bVar1; + if (bVar1 + 2 <= param_2) { + uVar2 = 0; + if (bVar1 != 0) { + pbVar4 = param_1 + 2; + do { + bVar1 = *pbVar4; + pbVar4 = pbVar4 + 1; + uVar2 = uVar2 << 8 | (uint)bVar1; + uVar3 = uVar3 - 1; + } while (uVar3 != 0); + } + *param_3 = uVar2; + return 0; + } + } + return 7; + } + return 0x10; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e2f30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e2f30.c new file mode 100644 index 00000000..1150e649 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e2f30.c @@ -0,0 +1,46 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e2f30 FUN_1400e2f30 + * Pseudocode, not original source. */ + +undefined8 FUN_1400e2f30(longlong param_1,int *param_2) + +{ + int iVar1; + uint uVar2; + int iVar3; + ulonglong uVar4; + + if ((param_1 != 0) && (param_2 != (int *)0x0)) { + iVar1 = (*DAT_14017d4e0)(param_1,0); + if (iVar1 == -1) { + uVar2 = (*DAT_14017d4e8)(param_1); + uVar2 = (8 - (uVar2 & 7)) + uVar2; + iVar1 = (*DAT_14017d4f0)(param_1); + iVar3 = (*DAT_14017d4e8)(param_1); + if ((iVar1 + 1 == iVar3) && (uVar4 = (*DAT_14017d4e8)(param_1), (uVar4 & 7) == 0)) { + uVar2 = uVar2 - 1; + } + uVar2 = uVar2 >> 3; + } + else { + uVar4 = (*DAT_14017d4e8)(); + if (((uVar4 & 7) == 0) || (iVar1 = (*DAT_14017d4e0)(param_1,0), iVar1 == 0)) { + iVar1 = (*DAT_14017d510)(param_1); + uVar2 = iVar1 + 1; + } + else { + uVar2 = (*DAT_14017d510)(param_1); + } + } + iVar1 = uVar2 + 1; + if (0x7f < uVar2) { + for (; uVar2 != 0; uVar2 = uVar2 >> 8) { + iVar1 = iVar1 + 1; + } + } + *param_2 = iVar1 + 1; + return 0; + } + return 0x10; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e3030.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e3030.c new file mode 100644 index 00000000..4901dfc6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e3030.c @@ -0,0 +1,72 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e3030 FUN_1400e3030 + * Pseudocode, not original source. */ + +undefined8 FUN_1400e3030(byte *param_1,uint param_2,longlong param_3) + +{ + uint uVar1; + byte bVar2; + int iVar3; + undefined4 uVar4; + undefined8 uVar5; + uint uVar6; + ulonglong uVar7; + uint uVar8; + byte *pbVar9; + undefined8 local_res18 [2]; + + if ((param_3 == 0) || (param_1 == (byte *)0x0)) { + return 0x10; + } + if ((param_2 < 3) || ((*param_1 & 0x1f) != 2)) { + return 7; + } + bVar2 = param_1[1]; + uVar7 = 2; + if ((char)bVar2 < '\0') { + uVar6 = bVar2 & 0x7f; + if (((uVar6 + 2 <= param_2) && (uVar6 < 5)) && ((bVar2 & 0x7f) != 0)) { + uVar8 = 0; + pbVar9 = param_1 + 2; + uVar1 = uVar6 + 2; + uVar7 = (ulonglong)uVar1; + do { + bVar2 = *pbVar9; + pbVar9 = pbVar9 + 1; + uVar8 = uVar8 << 8 | (uint)bVar2; + uVar6 = uVar6 - 1; + } while (uVar6 != 0); + if (uVar8 + uVar1 <= param_2) { + uVar5 = (*DAT_14017d520)(param_3,param_1 + uVar7); + if ((int)uVar5 != 0) { + return uVar5; + } + goto LAB_1400e3124; + } + } + } + else if (bVar2 + 2 <= param_2) { + uVar5 = (*DAT_14017d520)(param_3,param_1 + 2,(uint)bVar2); + if ((int)uVar5 != 0) { + return uVar5; + } +LAB_1400e3124: + if ((param_1[uVar7] & 0x80) == 0) { + return 0; + } + iVar3 = (*DAT_14017d490)(local_res18); + if (iVar3 == 0) { + uVar4 = (*DAT_14017d4e8)(param_3); + iVar3 = (*DAT_14017d4f8)(local_res18[0],uVar4); + if ((iVar3 == 0) && (iVar3 = (*DAT_14017d538)(param_3,local_res18[0],param_3), iVar3 == 0)) { + (*DAT_14017d4a0)(local_res18[0]); + return 0; + } + (*DAT_14017d4a0)(local_res18[0]); + } + return 0xd; + } + return 7; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e31c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e31c0.c new file mode 100644 index 00000000..c5956eb9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e31c0.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e31c0 FUN_1400e31c0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400e31c0(undefined4 *param_1) + +{ + if (param_1 == (undefined4 *)0x0) { + return 0x10; + } + *param_1 = 3; + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e31e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e31e0.c new file mode 100644 index 00000000..916d4a11 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e31e0.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e31e0 FUN_1400e31e0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400e31e0(char *param_1,int param_2,uint *param_3) + +{ + char cVar1; + + if ((((param_1 != (char *)0x0) && (param_3 != (uint *)0x0)) && (param_2 == 3)) && + (((*param_1 == '\x01' && (param_1[1] == '\x01')) && + ((cVar1 = param_1[2], cVar1 == '\0' || (cVar1 == -1)))))) { + *param_3 = (uint)(cVar1 == -1); + return 0; + } + return 0x10; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e3220.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e3220.c new file mode 100644 index 00000000..f0a47ca1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e3220.c @@ -0,0 +1,225 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e3220 FUN_1400e3220 + * Pseudocode, not original source. */ + +ulonglong FUN_1400e3220(longlong param_1,uint param_2,char *param_3,uint *param_4,int param_5) + +{ + uint *puVar1; + undefined4 uVar2; + int iVar3; + undefined4 extraout_var; + ulonglong uVar4; + undefined4 extraout_var_00; + undefined4 extraout_var_01; + undefined4 extraout_var_02; + uint uVar5; + uint uVar6; + undefined8 *puVar7; + uint local_28; + uint local_24; + uint local_20; + + if (((param_1 == 0) || (param_3 == (char *)0x0)) || (param_4 == (uint *)0x0)) { + return 0x10; + } + uVar5 = 0; + local_20 = 0; + if (param_2 != 0) { + puVar7 = (undefined8 *)(param_1 + 8); + do { + uVar6 = *(uint *)(puVar7 + 1); + puVar1 = (uint *)*puVar7; + if (*(int *)(puVar7 + -1) == 0) break; + switch(*(int *)(puVar7 + -1)) { + case 1: + uVar4 = FUN_1400e31c0(&local_28); + break; + case 2: + uVar4 = FUN_1400e2f30((longlong)puVar1,(int *)&local_28); + break; + case 3: + uVar2 = FUN_1400e2e80(*puVar1,(int *)&local_28); + uVar4 = CONCAT44(extraout_var,uVar2); + break; + case 4: + uVar4 = FUN_1400e2cd0((ulonglong)uVar6,(int *)&local_28); + break; + case 5: + uVar4 = FUN_1400e2b80(uVar6,(int *)&local_28); + break; + case 6: + uVar5 = uVar5 + 2; + goto LAB_1400e336f; + case 7: + uVar4 = FUN_1400e28d0(puVar1,uVar6,(int *)&local_28); + break; + case 8: + uVar4 = FUN_1400e26f0((byte *)puVar1,uVar6,(int *)&local_28); + break; + case 9: + uVar4 = FUN_1400e24b0((byte *)puVar1,uVar6,(int *)&local_28); + break; + case 10: + uVar4 = FUN_1400e21a0((ushort *)puVar1,uVar6,(int *)&local_28); + break; + case 0xb: + uVar4 = FUN_1400e41a0((longlong)puVar1,&local_28); + break; + default: + goto LAB_1400e3697; + case 0xd: + case 0xe: + case 0xf: + uVar4 = FUN_1400e1c20((longlong)puVar1,uVar6,(int *)&local_28); + } + if ((int)uVar4 != 0) { + return uVar4; + } + uVar5 = uVar5 + local_28; +LAB_1400e336f: + puVar7 = puVar7 + 7; + local_20 = local_20 + 1; + } while (local_20 < param_2); + } + if (uVar5 < 0x80) { + uVar6 = uVar5 + 2; + } + else if (uVar5 < 0x100) { + uVar6 = uVar5 + 3; + } + else if (uVar5 < 0x10000) { + uVar6 = uVar5 + 4; + } + else { + if (0xffffff < uVar5) { +LAB_1400e3697: + return 0x10; + } + uVar6 = uVar5 + 5; + } + if (*param_4 < uVar6) { + *param_4 = uVar6; + return 6; + } + *param_3 = (param_5 != 0xd) + '0'; + uVar6 = 1; + uVar4 = 1; + local_28 = 1; + if (uVar5 < 0x80) { + param_3[1] = (char)uVar5; + local_28 = uVar6; + } + else { + if (uVar5 < 0x100) { + param_3[1] = -0x7f; + local_28 = uVar6; + } + else { + if (uVar5 < 0x10000) { + param_3[1] = -0x7e; + local_28 = uVar6; + } + else { + if (0xffffff < uVar5) goto LAB_1400e3474; + param_3[1] = -0x7d; + local_28 = 2; + param_3[2] = (char)(uVar5 >> 0x10); + } + local_28 = local_28 + 1; + param_3[local_28] = (char)(uVar5 >> 8); + } + local_28 = local_28 + 1; + param_3[local_28] = (char)uVar5; + } + local_28 = local_28 + 1; + uVar4 = (ulonglong)local_28; +LAB_1400e3474: + *param_4 = *param_4 - (int)uVar4; + uVar5 = 0; + if (param_2 != 0) { + puVar7 = (undefined8 *)(param_1 + 8); + do { + iVar3 = *(int *)(puVar7 + -1); + uVar6 = *(uint *)(puVar7 + 1); + puVar1 = (uint *)*puVar7; + if (iVar3 == 0) break; + switch(iVar3) { + case 1: + local_24 = *param_4; + uVar4 = FUN_1400e5700(*puVar1,(undefined2 *)(param_3 + uVar4),&local_24); + break; + case 2: + local_24 = *param_4; + uVar4 = FUN_1400e5460((longlong)puVar1,param_3 + uVar4,&local_24); + break; + case 3: + local_24 = *param_4; + iVar3 = FUN_1400e5340(*puVar1,param_3 + uVar4,&local_24); + uVar4 = CONCAT44(extraout_var_00,iVar3); + break; + case 4: + local_24 = *param_4; + uVar4 = FUN_1400e51d0((char *)puVar1,uVar6,param_3 + uVar4,&local_24); + break; + case 5: + local_24 = *param_4; + uVar4 = FUN_1400e50a0((undefined1 *)puVar1,uVar6,param_3 + uVar4,&local_24); + break; + case 6: + param_3[uVar4] = '\x05'; + param_3[local_28 + 1] = '\0'; + local_28 = local_28 + 2; + *param_4 = *param_4 - 2; + goto LAB_1400e3669; + case 7: + local_24 = *param_4; + uVar4 = FUN_1400e4e40(puVar1,uVar6,param_3 + uVar4,&local_24); + break; + case 8: + local_24 = *param_4; + uVar4 = FUN_1400e4d10((byte *)puVar1,uVar6,param_3 + uVar4,&local_24); + break; + case 9: + local_24 = *param_4; + uVar4 = FUN_1400e4be0((byte *)puVar1,uVar6,param_3 + uVar4,&local_24); + break; + case 10: + local_24 = *param_4; + uVar4 = FUN_1400e49e0((ushort *)puVar1,uVar6,param_3 + uVar4,&local_24); + break; + case 0xb: + local_24 = *param_4; + uVar4 = FUN_1400e4650(puVar1,param_3 + uVar4,&local_24); + break; + default: + goto LAB_1400e3697; + case 0xd: + local_24 = *param_4; + uVar4 = FUN_1400e3220((longlong)puVar1,uVar6,param_3 + uVar4,&local_24,iVar3); + break; + case 0xe: + local_24 = *param_4; + uVar2 = FUN_1400e4550((undefined8 *)puVar1,uVar6,param_3 + uVar4,&local_24); + uVar4 = CONCAT44(extraout_var_01,uVar2); + break; + case 0xf: + local_24 = *param_4; + iVar3 = FUN_1400e4260((int *)puVar1,uVar6,param_3 + uVar4,&local_24); + uVar4 = CONCAT44(extraout_var_02,iVar3); + } + if ((int)uVar4 != 0) { + return uVar4; + } + local_28 = local_28 + local_24; + *param_4 = *param_4 - local_24; +LAB_1400e3669: + uVar4 = (ulonglong)local_28; + puVar7 = puVar7 + 7; + uVar5 = uVar5 + 1; + } while (uVar5 < param_2); + } + *param_4 = (uint)uVar4; + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e3720.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e3720.c new file mode 100644 index 00000000..e6f86e52 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e3720.c @@ -0,0 +1,82 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e3720 FUN_1400e3720 + * Pseudocode, not original source. */ + +ulonglong FUN_1400e3720(uint param_1,longlong param_2,undefined4 param_3,undefined1 *param_4, + int param_5) + +{ + uint uVar1; + int iVar2; + uint uVar3; + ulonglong uVar4; + undefined1 *_Memory; + undefined1 *_Memory_00; + longlong lVar5; + undefined1 *puVar6; + longlong lVar7; + int iVar8; + + if ((param_2 == 0) || (param_4 == (undefined1 *)0x0)) { + return 0x10; + } + uVar4 = FUN_1400db770(param_1); + if ((int)uVar4 != 0) { + return uVar4; + } + lVar7 = (longlong)(int)param_1 * 0x80; + uVar1 = *(uint *)(&DAT_140179f4c + lVar7); + _Memory = malloc(0x70); + _Memory_00 = malloc((ulonglong)uVar1); + if (_Memory == (undefined1 *)0x0) { + _Memory = _Memory_00; + if (_Memory_00 == (undefined1 *)0x0) { + return 0xd; + } + } + else if (_Memory_00 != (undefined1 *)0x0) { + iVar2 = 0; + while (param_5 != 0) { + _Memory_00[3] = (char)iVar2; + *_Memory_00 = (char)((uint)iVar2 >> 0x18); + _Memory_00[1] = (char)((uint)iVar2 >> 0x10); + iVar8 = iVar2 + 1; + _Memory_00[2] = (char)((uint)iVar2 >> 8); + uVar3 = (**(code **)(lVar7 + 0x140179f98))(_Memory); + uVar4 = (ulonglong)uVar3; + if (uVar3 != 0) goto LAB_1400e388c; + uVar3 = (**(code **)(lVar7 + 0x140179fa0))(_Memory,param_2,param_3); + uVar4 = (ulonglong)uVar3; + if (uVar3 != 0) goto LAB_1400e388c; + uVar3 = (**(code **)(lVar7 + 0x140179fa0))(_Memory,_Memory_00,4); + uVar4 = (ulonglong)uVar3; + if (uVar3 != 0) goto LAB_1400e388c; + uVar3 = (**(code **)(lVar7 + 0x140179fa8))(_Memory,_Memory_00); + uVar4 = (ulonglong)uVar3; + if (uVar3 != 0) goto LAB_1400e388c; + uVar3 = 0; + iVar2 = iVar8; + if (uVar1 != 0) { + lVar5 = (longlong)_Memory_00 - (longlong)param_4; + puVar6 = param_4; + do { + if (param_5 == 0) goto LAB_1400e388a; + uVar3 = uVar3 + 1; + param_4 = puVar6 + 1; + *puVar6 = puVar6[lVar5]; + param_5 = param_5 + -1; + puVar6 = param_4; + } while (uVar3 < uVar1); + } + } +LAB_1400e388a: + uVar4 = 0; +LAB_1400e388c: + free(_Memory_00); + free(_Memory); + return uVar4; + } + free(_Memory); + return 0xd; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e38e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e38e0.c new file mode 100644 index 00000000..4d1ed725 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e38e0.c @@ -0,0 +1,50 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e38e0 FUN_1400e38e0 + * Pseudocode, not original source. */ + +ulonglong FUN_1400e38e0(uint param_1,longlong param_2,undefined4 param_3,longlong param_4, + uint *param_5) + +{ + uint uVar1; + ulonglong uVar2; + void *_Memory; + longlong lVar3; + + if ((param_2 != 0) && (param_4 != 0)) { + if (param_5 != (uint *)0x0) { + uVar2 = FUN_1400db770(param_1); + if ((int)uVar2 == 0) { + lVar3 = (longlong)(int)param_1 * 0x80; + if (*param_5 < *(uint *)(&DAT_140179f4c + lVar3)) { + *param_5 = *(uint *)(&DAT_140179f4c + lVar3); + uVar2 = 6; + } + else { + _Memory = malloc(0x70); + if (_Memory == (void *)0x0) { + uVar2 = 0xd; + } + else { + uVar1 = (**(code **)(lVar3 + 0x140179f98))(_Memory); + uVar2 = (ulonglong)uVar1; + if (uVar1 == 0) { + uVar1 = (**(code **)(lVar3 + 0x140179fa0))(_Memory,param_2,param_3); + uVar2 = (ulonglong)uVar1; + if (uVar1 == 0) { + uVar1 = (**(code **)(lVar3 + 0x140179fa8))(_Memory,param_4); + uVar2 = (ulonglong)uVar1; + *param_5 = *(uint *)(&DAT_140179f4c + lVar3); + } + } + free(_Memory); + } + } + } + return uVar2; + } + return 0x10; + } + return 0x10; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e39f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e39f0.c new file mode 100644 index 00000000..0e0416ea --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e39f0.c @@ -0,0 +1,54 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e39f0 FUN_1400e39f0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400e39f0(uint *param_1,undefined8 *param_2,undefined4 *param_3) + +{ + undefined8 uVar1; + ulonglong uVar2; + ulonglong uVar3; + ulonglong uVar4; + longlong lVar5; + uint local_28 [2]; + uint local_20; + longlong local_18; + + uVar1 = FUN_1400dfd80(local_28,*param_1); + if ((int)uVar1 == 0) { + local_28[0] = *param_1; + local_20 = param_1[2]; + uVar2 = 0; + lVar5 = (longlong)(int)(local_28[0] - 1); + if (-1 < (int)(local_28[0] - 1)) { + do { + uVar2 = (ulonglong)*(uint *)(*(longlong *)(param_1 + 4) + lVar5 * 4) | uVar2 << 0x1c; + if (uVar2 < 3) { + uVar3 = 0; + } + else { + uVar3 = uVar2 * 0x5555555 >> 0x1c; + uVar2 = uVar2 + uVar3 * -3; + if (2 < uVar2) { + uVar4 = uVar2 / 3; + uVar2 = uVar2 % 3; + uVar3 = uVar3 + uVar4; + } + } + lVar5 = lVar5 + -1; + *(int *)(local_18 + 4 + lVar5 * 4) = (int)uVar3; + } while (-1 < lVar5); + } + if (param_3 != (undefined4 *)0x0) { + *param_3 = (int)uVar2; + } + if (param_2 != (undefined8 *)0x0) { + FUN_1400ddc00((int *)local_28); + FUN_1400dfc40((undefined8 *)local_28,param_2); + } + FUN_1400d5c00((int *)local_28); + uVar1 = 0; + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e3ae0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e3ae0.c new file mode 100644 index 00000000..e8816a1e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e3ae0.c @@ -0,0 +1,41 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e3ae0 FUN_1400e3ae0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400e3ae0(uint *param_1,uint param_2,uint *param_3) + +{ + uint *puVar1; + int iVar2; + undefined8 uVar3; + int iVar4; + longlong lVar5; + + if ((int)param_2 < 1) { + FUN_1400ddd40(param_3); + return 0; + } + if ((int)(*param_1 * 0x1c) <= (int)param_2) { + uVar3 = FUN_1400d5ca0(param_1,param_3); + return uVar3; + } + uVar3 = FUN_1400d5ca0(param_1,param_3); + if ((int)uVar3 == 0) { + iVar2 = (int)param_2 / 0x1c; + iVar4 = (uint)(param_2 != iVar2 * 0x1c) + iVar2; + if (iVar4 < (int)*param_3) { + lVar5 = (longlong)iVar4 << 2; + do { + iVar4 = iVar4 + 1; + *(undefined4 *)(lVar5 + *(longlong *)(param_3 + 4)) = 0; + lVar5 = lVar5 + 4; + } while (iVar4 < (int)*param_3); + } + puVar1 = (uint *)(*(longlong *)(param_3 + 4) + (longlong)iVar2 * 4); + *puVar1 = *puVar1 & (1 << ((char)param_2 + (char)(param_2 / 0x1c) * -0x1c & 0x1fU)) - 1U; + FUN_1400ddc00((int *)param_3); + uVar3 = 0; + } + return uVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e3bd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e3bd0.c new file mode 100644 index 00000000..89270172 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e3bd0.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e3bd0 FUN_1400e3bd0 + * Pseudocode, not original source. */ + +ulonglong FUN_1400e3bd0(uint *param_1,uint *param_2,uint param_3) + +{ + uint uVar1; + int iVar2; + ulonglong uVar3; + ulonglong uVar4; + undefined8 uVar5; + uint local_28 [8]; + + uVar3 = FUN_1400d5ba0(local_28); + if ((int)uVar3 == 0) { + uVar1 = FUN_1400d5e50((int *)param_2); + uVar3 = FUN_1400ddfd0(param_1,uVar1,local_28,(undefined8 *)param_1); + iVar2 = (int)uVar3; + while (uVar3 = uVar3 & 0xffffffff, iVar2 == 0) { + if (param_3 != 1) { + uVar4 = FUN_1400d6710((int *)local_28,param_3,(int *)local_28); + uVar3 = uVar4 & 0xffffffff; + if ((int)uVar4 != 0) break; + } + uVar4 = FUN_1400de250(param_1,local_28,param_1); + uVar3 = uVar4 & 0xffffffff; + if (((int)uVar4 != 0) || + (uVar5 = FUN_1400ddd70((int *)param_1,(int *)param_2), (int)uVar5 == -1)) break; + FUN_1400de150(param_1,param_2,param_1); + uVar3 = FUN_1400ddfd0(param_1,uVar1,local_28,(undefined8 *)param_1); + iVar2 = (int)uVar3; + } + FUN_1400d5c00((int *)local_28); + } + return uVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e3cc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e3cc0.c new file mode 100644 index 00000000..391e552f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e3cc0.c @@ -0,0 +1,27 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e3cc0 FUN_1400e3cc0 + * Pseudocode, not original source. */ + +ulonglong FUN_1400e3cc0(uint *param_1,undefined4 *param_2) + +{ + int iVar1; + ulonglong uVar2; + uint local_28 [4]; + undefined4 *local_18; + + uVar2 = FUN_1400d5ba0(local_28); + if ((int)uVar2 == 0) { + iVar1 = FUN_1400d5e50((int *)param_1); + uVar2 = FUN_1400d5ef0(local_28,iVar1); + if (((int)uVar2 != 0) || (uVar2 = FUN_1400de150(local_28,param_1,local_28), (int)uVar2 != 0)) { + FUN_1400d5c00((int *)local_28); + return uVar2 & 0xffffffff; + } + *param_2 = *local_18; + FUN_1400d5c00((int *)local_28); + uVar2 = 0; + } + return uVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e3d60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e3d60.c new file mode 100644 index 00000000..bc28dbb2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e3d60.c @@ -0,0 +1,61 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e3d60 FUN_1400e3d60 + * Pseudocode, not original source. */ + +undefined8 FUN_1400e3d60(uint *param_1,uint *param_2,uint param_3) + +{ + uint uVar1; + int iVar2; + undefined8 uVar3; + ulonglong uVar4; + uint *puVar5; + uint *puVar6; + ulonglong uVar7; + uint *puVar8; + ulonglong uVar9; + uint uVar10; + + uVar1 = *param_2; + if (((int)(uVar1 * 2) <= (int)param_1[1]) || + (uVar3 = FUN_1400ddb60((longlong)param_1,uVar1 * 2), (int)uVar3 == 0)) { + while( true ) { + puVar6 = *(uint **)(param_1 + 4); + uVar10 = 0; + puVar8 = puVar6 + (int)uVar1; + puVar5 = puVar6; + uVar7 = 0; + uVar9 = (ulonglong)uVar1; + if (0 < (int)uVar1) { + do { + uVar10 = *puVar8; + puVar6 = puVar5 + 1; + puVar8 = puVar8 + 1; + uVar4 = (ulonglong)uVar10 * (ulonglong)param_3 + (ulonglong)*puVar5 + (uVar7 & 0xffffffff) + ; + uVar7 = uVar4 >> 0x1c; + uVar10 = (uint)uVar7; + uVar9 = uVar9 - 1; + *puVar5 = (uint)uVar4 & 0xfffffff; + puVar5 = puVar6; + } while (uVar9 != 0); + } + *puVar6 = uVar10; + iVar2 = uVar1 + 1; + if ((int)(uVar1 + 1) < (int)*param_1) { + do { + puVar6 = puVar6 + 1; + *puVar6 = 0; + iVar2 = iVar2 + 1; + } while (iVar2 < (int)*param_1); + } + FUN_1400ddc00((int *)param_1); + uVar3 = FUN_1400ddd70((int *)param_1,(int *)param_2); + if ((int)uVar3 == -1) break; + FUN_1400de150(param_1,param_2,param_1); + } + uVar3 = 0; + } + return uVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e3e70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e3e70.c new file mode 100644 index 00000000..3cab3d44 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e3e70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e3e70 FUN_1400e3e70 + * Pseudocode, not original source. */ + +void FUN_1400e3e70(longlong param_1,int *param_2) + +{ + *param_2 = 0x10000000 - **(int **)(param_1 + 0x10); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e3e80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e3e80.c new file mode 100644 index 00000000..b5f17b37 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e3e80.c @@ -0,0 +1,39 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e3e80 FUN_1400e3e80 + * Pseudocode, not original source. */ + +ulonglong FUN_1400e3e80(uint *param_1,uint *param_2,uint *param_3) + +{ + uint uVar1; + uint uVar2; + ulonglong uVar3; + ulonglong uVar4; + undefined8 uVar5; + uint local_28 [8]; + + uVar3 = FUN_1400d5ba0(local_28); + if ((int)uVar3 == 0) { + uVar1 = FUN_1400d5e50((int *)param_2); + uVar4 = FUN_1400ddfd0(param_1,uVar1,local_28,(undefined8 *)param_1); + uVar3 = uVar4 & 0xffffffff; + if ((int)uVar4 == 0) { + while( true ) { + uVar2 = FUN_1400d6660(local_28,param_3,local_28); + uVar3 = (ulonglong)uVar2; + if (uVar2 != 0) break; + uVar4 = FUN_1400de250(param_1,local_28,param_1); + uVar3 = uVar4 & 0xffffffff; + if (((int)uVar4 != 0) || + (uVar5 = FUN_1400ddd70((int *)param_1,(int *)param_2), (int)uVar5 == -1)) break; + FUN_1400de150(param_1,param_2,param_1); + uVar4 = FUN_1400ddfd0(param_1,uVar1,local_28,(undefined8 *)param_1); + uVar3 = uVar4 & 0xffffffff; + if ((int)uVar4 != 0) break; + } + } + FUN_1400d5c00((int *)local_28); + } + return uVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e3f70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e3f70.c new file mode 100644 index 00000000..4850b8f9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e3f70.c @@ -0,0 +1,24 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e3f70 FUN_1400e3f70 + * Pseudocode, not original source. */ + +ulonglong FUN_1400e3f70(uint *param_1,uint *param_2) + +{ + int iVar1; + ulonglong uVar2; + uint local_28 [8]; + + uVar2 = FUN_1400d5ba0(local_28); + if ((int)uVar2 == 0) { + iVar1 = FUN_1400d5e50((int *)param_1); + uVar2 = FUN_1400d5ef0(local_28,iVar1); + if ((int)uVar2 == 0) { + uVar2 = FUN_1400de150(local_28,param_1,param_2); + } + uVar2 = uVar2 & 0xffffffff; + FUN_1400d5c00((int *)local_28); + } + return uVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e3fe0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e3fe0.c new file mode 100644 index 00000000..91a78405 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e3fe0.c @@ -0,0 +1,68 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e3fe0 FUN_1400e3fe0 + * Pseudocode, not original source. */ + +ulonglong FUN_1400e3fe0(uint *param_1,uint *param_2,uint *param_3) + +{ + uint uVar1; + int iVar2; + uint uVar3; + ulonglong uVar4; + ulonglong uVar5; + undefined8 uVar6; + uint local_28 [8]; + + uVar3 = *param_2; + uVar4 = FUN_1400ddfa0(local_28,param_1); + if ((int)uVar4 != 0) { + return uVar4; + } + FUN_1400dfc70((int *)local_28,uVar3 - 1); + if (uVar3 < 0x8000001) { + uVar6 = FUN_1400e5740((int *)local_28,(int *)param_3,(int *)local_28,uVar3); + uVar1 = (uint)uVar6; + } + else { + uVar1 = FUN_1400d6660(local_28,param_3,local_28); + } + uVar4 = (ulonglong)uVar1; + if (uVar1 == 0) { + FUN_1400dfc70((int *)local_28,uVar3 + 1); + uVar5 = FUN_1400e3ae0(param_1,(uVar3 + 1) * 0x1c,param_1); + uVar4 = uVar5 & 0xffffffff; + if ((int)uVar5 == 0) { + uVar5 = FUN_1400de380(local_28,param_2,local_28,uVar3 + 1); + uVar4 = uVar5 & 0xffffffff; + if ((int)uVar5 == 0) { + uVar1 = FUN_1400d64a0(param_1,local_28,param_1); + uVar4 = (ulonglong)uVar1; + if (uVar1 == 0) { + iVar2 = FUN_1400d5e20((int *)param_1,0); + if (iVar2 == -1) { + FUN_1400e07a0(local_28,1); + uVar5 = FUN_1400dfcf0((int *)local_28,uVar3 + 1); + uVar4 = uVar5 & 0xffffffff; + if ((int)uVar5 != 0) goto LAB_1400e4139; + uVar3 = FUN_1400d62e0(param_1,local_28,param_1); + uVar4 = (ulonglong)uVar3; + if (uVar3 != 0) goto LAB_1400e4139; + } + uVar6 = FUN_1400d5df0((int *)param_1,(int *)param_2); + iVar2 = (int)uVar6; + while (iVar2 != -1) { + uVar5 = FUN_1400de150(param_1,param_2,param_1); + uVar4 = uVar5 & 0xffffffff; + if ((int)uVar5 != 0) break; + uVar6 = FUN_1400d5df0((int *)param_1,(int *)param_2); + iVar2 = (int)uVar6; + } + } + } + } + } +LAB_1400e4139: + FUN_1400d5c00((int *)local_28); + return uVar4; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e4160.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e4160.c new file mode 100644 index 00000000..f7624ac6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e4160.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e4160 FUN_1400e4160 + * Pseudocode, not original source. */ + +void FUN_1400e4160(uint *param_1,uint *param_2) + +{ + undefined8 uVar1; + + uVar1 = FUN_1400d5ef0(param_1,*param_2 * 0x38); + if ((int)uVar1 == 0) { + FUN_1400d6850(param_1,param_2,(undefined8 *)param_1,(uint *)0x0); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e41a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e41a0.c new file mode 100644 index 00000000..a2caf31c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e41a0.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e41a0 FUN_1400e41a0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400e41a0(longlong param_1,undefined4 *param_2) + +{ + if ((param_2 == (undefined4 *)0x0) || (param_1 == 0)) { + return 0x10; + } + if ((*(int *)(param_1 + 0x1c) == 0) && (*(int *)(param_1 + 0x20) == 0)) { + *param_2 = 0xf; + return 0; + } + *param_2 = 0x13; + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e41d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e41d0.c new file mode 100644 index 00000000..ba2b103e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e41d0.c @@ -0,0 +1,42 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e41d0 FUN_1400e41d0 + * Pseudocode, not original source. */ + +int FUN_1400e41d0(undefined8 *param_1,undefined8 *param_2) + +{ + void *_Buf2; + void *_Buf1; + uint uVar1; + int iVar2; + uint uVar3; + uint uVar4; + + uVar3 = *(uint *)(param_1 + 1); + uVar4 = *(uint *)(param_2 + 1); + _Buf2 = (void *)*param_2; + _Buf1 = (void *)*param_1; + uVar1 = uVar4; + if (uVar3 < uVar4) { + uVar1 = uVar3; + } + iVar2 = memcmp(_Buf1,_Buf2,(ulonglong)uVar1); + if ((iVar2 == 0) && (uVar3 != uVar4)) { + if (uVar4 < uVar3) { + for (; uVar4 < uVar3; uVar4 = uVar4 + 1) { + if (*(char *)((ulonglong)uVar4 + (longlong)_Buf1) != '\0') { + return 1; + } + } + } + else { + for (; uVar3 < uVar4; uVar3 = uVar3 + 1) { + if (*(char *)((ulonglong)uVar3 + (longlong)_Buf2) != '\0') { + return -1; + } + } + } + } + return iVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e4260.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e4260.c new file mode 100644 index 00000000..d89e32b6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e4260.c @@ -0,0 +1,103 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e4260 FUN_1400e4260 + * Pseudocode, not original source. */ + +int FUN_1400e4260(int *param_1,uint param_2,void *param_3,uint *param_4) + +{ + byte bVar1; + int *piVar2; + int iVar3; + char *_Src; + ulonglong uVar4; + void *_Base; + uint uVar5; + uint *puVar6; + ulonglong _Count; + char *pcVar7; + uint uVar8; + byte *pbVar9; + uint uVar10; + + uVar10 = 1; + _Count = (ulonglong)param_2; + piVar2 = param_1; + if (1 < param_2) { + do { + if (piVar2[0xe] != *piVar2) { + return 0x10; + } + uVar10 = uVar10 + 1; + piVar2 = piVar2 + 0xe; + } while (uVar10 < param_2); + } + _Src = calloc(1,(ulonglong)*param_4); + if (_Src != (char *)0x0) { + uVar4 = FUN_1400e3220((longlong)param_1,param_2,_Src,param_4,0xf); + if ((int)uVar4 == 0) { + _Base = calloc(_Count,0x10); + if (_Base == (void *)0x0) { + free(_Src); + iVar3 = 0xd; + } + else { + pcVar7 = _Src + 2; + if (0x7f < (byte)_Src[1]) { + pcVar7 = pcVar7 + ((byte)_Src[1] & 0x7f); + } + uVar10 = (int)pcVar7 - (int)_Src; + if (pcVar7 < _Src + *param_4) { + puVar6 = (uint *)((longlong)_Base + 8); + do { + *(char **)(puVar6 + -2) = pcVar7; + bVar1 = pcVar7[1]; + iVar3 = 2; + if (bVar1 < 0x80) { + *puVar6 = (uint)bVar1; + } + else { + uVar5 = bVar1 & 0x7f; + *puVar6 = 0; + if ((bVar1 & 0x7f) != 0) { + uVar8 = 0; + pbVar9 = (byte *)(pcVar7 + 2); + iVar3 = uVar5 + 2; + do { + bVar1 = *pbVar9; + pbVar9 = pbVar9 + 1; + uVar8 = uVar8 << 8 | (uint)bVar1; + uVar5 = uVar5 - 1; + *puVar6 = uVar8; + } while (uVar5 != 0); + } + } + *puVar6 = *puVar6 + iVar3; + uVar5 = *puVar6; + puVar6 = puVar6 + 4; + pcVar7 = pcVar7 + uVar5; + } while (pcVar7 < _Src + *param_4); + } + qsort(_Base,_Count,0x10,FUN_1400e41d0); + memcpy(param_3,_Src,(ulonglong)uVar10); + if (param_2 != 0) { + puVar6 = (uint *)((longlong)_Base + 8); + do { + memcpy((void *)((ulonglong)uVar10 + (longlong)param_3),*(void **)(puVar6 + -2), + (ulonglong)*puVar6); + uVar10 = uVar10 + *puVar6; + puVar6 = puVar6 + 4; + _Count = _Count - 1; + } while (_Count != 0); + } + free(_Base); + free(_Src); + iVar3 = 0; + } + return iVar3; + } + free(_Src); + return (int)uVar4; + } + return 0xd; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e4460.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e4460.c new file mode 100644 index 00000000..c0e5f210 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e4460.c @@ -0,0 +1,39 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e4460 FUN_1400e4460 + * Pseudocode, not original source. */ + +undefined8 FUN_1400e4460(undefined4 param_1) + +{ + switch(param_1) { + case 1: + return 1; + case 2: + case 3: + return 2; + case 4: + return 3; + case 5: + return 4; + case 6: + return 5; + case 7: + return 6; + case 8: + return 0x16; + case 9: + return 0x13; + case 10: + return 0xc; + case 0xb: + return 0x17; + default: + return 0xffffffff; + case 0xd: + return 0x30; + case 0xe: + case 0xf: + return 0x31; + } +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e4510.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e4510.c new file mode 100644 index 00000000..824460b6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e4510.c @@ -0,0 +1,20 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e4510 FUN_1400e4510 + * Pseudocode, not original source. */ + +int FUN_1400e4510(undefined4 *param_1,undefined4 *param_2) + +{ + undefined8 uVar1; + int iVar2; + + uVar1 = FUN_1400e4460(*param_1); + iVar2 = (int)uVar1; + uVar1 = FUN_1400e4460(*param_2); + iVar2 = iVar2 - (int)uVar1; + if (iVar2 == 0) { + return param_1[5] - param_2[5]; + } + return iVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e4550.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e4550.c new file mode 100644 index 00000000..e2ef5f3e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e4550.c @@ -0,0 +1,49 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e4550 FUN_1400e4550 + * Pseudocode, not original source. */ + +undefined4 FUN_1400e4550(undefined8 *param_1,uint param_2,char *param_3,uint *param_4) + +{ + undefined4 uVar1; + void *_Base; + ulonglong uVar2; + undefined8 *puVar3; + undefined8 *puVar4; + uint uVar5; + + _Base = calloc((ulonglong)param_2,0x38); + if (_Base == (void *)0x0) { + uVar1 = 0xd; + } + else { + uVar5 = 0; + puVar3 = param_1; + if (param_2 != 0) { + do { + puVar4 = puVar3 + 7; + *(undefined8 *)((longlong)_Base + (-0x38 - (longlong)param_1) + (longlong)puVar4) = *puVar3; + *(undefined8 *)((longlong)_Base + (-0x30 - (longlong)param_1) + (longlong)puVar4) = + puVar3[1]; + *(undefined8 *)((longlong)_Base + (-0x28 - (longlong)param_1) + (longlong)puVar4) = + puVar3[2]; + *(undefined8 *)((longlong)_Base + (-0x20 - (longlong)param_1) + (longlong)puVar4) = + puVar3[3]; + *(undefined8 *)((longlong)_Base + (-0x18 - (longlong)param_1) + (longlong)puVar4) = + puVar3[4]; + *(undefined8 *)((longlong)_Base + (-0x10 - (longlong)param_1) + (longlong)puVar4) = + puVar3[5]; + *(undefined8 *)((longlong)_Base + (-8 - (longlong)param_1) + (longlong)puVar4) = puVar3[6]; + *(uint *)((longlong)_Base + (-0x24 - (longlong)param_1) + (longlong)puVar4) = uVar5; + uVar5 = uVar5 + 1; + puVar3 = puVar4; + } while (uVar5 < param_2); + } + qsort(_Base,(ulonglong)param_2,0x38,FUN_1400e4510); + uVar2 = FUN_1400e3220((longlong)_Base,param_2,param_3,param_4,0xe); + free(_Base); + uVar1 = (undefined4)uVar2; + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e4650.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e4650.c new file mode 100644 index 00000000..ce121e6f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e4650.c @@ -0,0 +1,90 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e4650 FUN_1400e4650 + * Pseudocode, not original source. */ + +undefined8 FUN_1400e4650(uint *param_1,undefined1 *param_2,uint *param_3) + +{ + undefined4 uVar1; + undefined8 uVar2; + uint uVar3; + int iVar4; + uint local_res8 [2]; + + if (((param_1 != (uint *)0x0) && (param_2 != (undefined1 *)0x0)) && (param_3 != (uint *)0x0)) { + uVar2 = FUN_1400e41a0((longlong)param_1,local_res8); + if ((int)uVar2 == 0) { + if (*param_3 < local_res8[0]) { + *param_3 = local_res8[0]; + return 6; + } + *param_2 = 0x17; + uVar1 = FUN_1400e2680((int)(char)PTR_DAT_1401712e8 + [(uint)((int)((ulonglong)*param_1 / 10) + + (int)(((ulonglong)*param_1 / 10) / 10) * -10)]); + param_2[2] = (char)uVar1; + uVar1 = FUN_1400e2680((int)(char)PTR_DAT_1401712e8[*param_1 % 10]); + param_2[3] = (char)uVar1; + uVar1 = FUN_1400e2680((int)(char)PTR_DAT_1401712e8 + [(uint)((int)((ulonglong)param_1[1] / 10) + + (int)(((ulonglong)param_1[1] / 10) / 10) * -10)]); + param_2[4] = (char)uVar1; + uVar1 = FUN_1400e2680((int)(char)PTR_DAT_1401712e8[param_1[1] % 10]); + param_2[5] = (char)uVar1; + uVar1 = FUN_1400e2680((int)(char)PTR_DAT_1401712e8 + [(uint)((int)((ulonglong)param_1[2] / 10) + + (int)(((ulonglong)param_1[2] / 10) / 10) * -10)]); + param_2[6] = (char)uVar1; + uVar1 = FUN_1400e2680((int)(char)PTR_DAT_1401712e8[param_1[2] % 10]); + param_2[7] = (char)uVar1; + uVar1 = FUN_1400e2680((int)(char)PTR_DAT_1401712e8 + [(uint)((int)((ulonglong)param_1[3] / 10) + + (int)(((ulonglong)param_1[3] / 10) / 10) * -10)]); + param_2[8] = (char)uVar1; + uVar1 = FUN_1400e2680((int)(char)PTR_DAT_1401712e8[param_1[3] % 10]); + param_2[9] = (char)uVar1; + uVar1 = FUN_1400e2680((int)(char)PTR_DAT_1401712e8 + [(uint)((int)((ulonglong)param_1[4] / 10) + + (int)(((ulonglong)param_1[4] / 10) / 10) * -10)]); + param_2[10] = (char)uVar1; + uVar1 = FUN_1400e2680((int)(char)PTR_DAT_1401712e8[param_1[4] % 10]); + param_2[0xb] = (char)uVar1; + uVar1 = FUN_1400e2680((int)(char)PTR_DAT_1401712e8 + [(uint)((int)((ulonglong)param_1[5] / 10) + + (int)(((ulonglong)param_1[5] / 10) / 10) * -10)]); + param_2[0xc] = (char)uVar1; + uVar1 = FUN_1400e2680((int)(char)PTR_DAT_1401712e8[param_1[5] % 10]); + param_2[0xd] = (char)uVar1; + if ((param_1[8] == 0) && (param_1[7] == 0)) { + uVar1 = FUN_1400e2680(0x5a); + uVar3 = 0xf; + param_2[0xe] = (char)uVar1; + } + else { + iVar4 = 0x2b; + if (param_1[6] != 0) { + iVar4 = 0x2d; + } + uVar1 = FUN_1400e2680(iVar4); + param_2[0xe] = (char)uVar1; + uVar1 = FUN_1400e2680((int)(char)PTR_DAT_1401712e8 + [(uint)((int)((ulonglong)param_1[7] / 10) + + (int)(((ulonglong)param_1[7] / 10) / 10) * -10)]); + param_2[0xf] = (char)uVar1; + uVar1 = FUN_1400e2680((int)(char)PTR_DAT_1401712e8[param_1[7] % 10]); + param_2[0x10] = (char)uVar1; + uVar1 = FUN_1400e2680((int)(char)PTR_DAT_1401712e8[(param_1[8] / 10) % 10]); + param_2[0x11] = (char)uVar1; + uVar1 = FUN_1400e2680((int)(char)PTR_DAT_1401712e8[param_1[8] % 10]); + uVar3 = 0x13; + param_2[0x12] = (char)uVar1; + } + param_2[1] = (char)uVar3 + -2; + *param_3 = uVar3; + uVar2 = 0; + } + return uVar2; + } + return 0x10; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e49e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e49e0.c new file mode 100644 index 00000000..4dc35779 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e49e0.c @@ -0,0 +1,122 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e49e0 FUN_1400e49e0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400e49e0(ushort *param_1,uint param_2,undefined1 *param_3,uint *param_4) + +{ + undefined1 uVar1; + int iVar2; + undefined8 uVar3; + undefined1 uVar4; + uint uVar5; + byte *pbVar6; + byte *pbVar7; + ulonglong uVar8; + ushort *puVar9; + uint uVar10; + + uVar8 = (ulonglong)param_2; + if (((param_1 == (ushort *)0x0) || (param_3 == (undefined1 *)0x0)) || (param_4 == (uint *)0x0)) { + return 0x10; + } + uVar5 = 0; + uVar10 = 0; + puVar9 = param_1; + if (param_2 == 0) { +LAB_1400e4a97: + uVar10 = uVar5 + 2; +LAB_1400e4a9a: + if (*param_4 < uVar10) { + *param_4 = uVar5; + return 6; + } + *param_3 = 0xc; + uVar4 = (undefined1)uVar5; + if (uVar5 < 0x80) { + param_3[1] = uVar4; + uVar10 = 2; + } + else if (uVar5 < 0x100) { + param_3[1] = 0x81; + uVar10 = 3; + param_3[2] = uVar4; + } + else { + uVar1 = (undefined1)(uVar5 >> 8); + if (uVar5 < 0x10000) { + param_3[1] = 0x82; + uVar10 = 4; + param_3[2] = uVar1; + param_3[3] = uVar4; + } + else { + if (0xffffff < uVar5) goto LAB_1400e4bae; + param_3[1] = 0x83; + uVar10 = 5; + param_3[2] = (char)(uVar5 >> 0x10); + param_3[3] = uVar1; + param_3[4] = uVar4; + } + } + if (param_2 != 0) { + pbVar6 = param_3 + (int)uVar10; + do { + uVar3 = FUN_1400e2170(*param_1); + iVar2 = (int)uVar3; + if (iVar2 == 1) { + uVar10 = uVar10 + 1; + pbVar7 = pbVar6 + 1; + *pbVar6 = (byte)*param_1; + } + else if (iVar2 == 2) { + uVar10 = uVar10 + 2; + *pbVar6 = (byte)(*param_1 >> 6) & 0x1f | 0xc0; + pbVar7 = pbVar6 + 2; + pbVar6[1] = (byte)*param_1 & 0x3f | 0x80; + } + else { + pbVar7 = pbVar6; + if (iVar2 == 3) { + uVar10 = uVar10 + 3; + *pbVar6 = (byte)(*param_1 >> 0xc) | 0xe0; + pbVar6[1] = (byte)(*param_1 >> 6) & 0x3f | 0x80; + pbVar7 = pbVar6 + 3; + pbVar6[2] = (byte)*param_1 & 0x3f | 0x80; + } + } + param_1 = param_1 + 1; + uVar8 = uVar8 - 1; + pbVar6 = pbVar7; + } while (uVar8 != 0); + } + *param_4 = uVar10; + uVar3 = 0; + } + else { + do { + if (0x1ffff < *puVar9) goto LAB_1400e4bae; + uVar3 = FUN_1400e2170(*puVar9); + uVar10 = uVar10 + 1; + uVar5 = uVar5 + (int)uVar3; + puVar9 = puVar9 + 1; + } while (uVar10 < param_2); + if (uVar5 < 0x80) goto LAB_1400e4a97; + if (uVar5 < 0x100) { + uVar10 = uVar5 + 3; + goto LAB_1400e4a9a; + } + if (uVar5 < 0x10000) { + uVar10 = uVar5 + 4; + goto LAB_1400e4a9a; + } + if (uVar5 < 0x1000000) { + uVar10 = uVar5 + 5; + goto LAB_1400e4a9a; + } +LAB_1400e4bae: + uVar3 = 0x10; + } + return uVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e4be0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e4be0.c new file mode 100644 index 00000000..874a069a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e4be0.c @@ -0,0 +1,75 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e4be0 FUN_1400e4be0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400e4be0(byte *param_1,uint param_2,undefined1 *param_3,uint *param_4) + +{ + undefined1 uVar1; + undefined4 uVar2; + undefined8 uVar3; + longlong lVar4; + undefined1 uVar5; + ulonglong uVar6; + uint uVar7; + undefined1 *puVar8; + uint local_res8 [2]; + + uVar6 = (ulonglong)param_2; + if (((param_1 != (byte *)0x0) && (param_3 != (undefined1 *)0x0)) && (param_4 != (uint *)0x0)) { + uVar3 = FUN_1400e24b0(param_1,param_2,(int *)local_res8); + if ((int)uVar3 == 0) { + if (*param_4 < local_res8[0]) { + *param_4 = local_res8[0]; + return 6; + } + *param_3 = 0x13; + uVar5 = (undefined1)param_2; + if (param_2 < 0x80) { + param_3[1] = uVar5; + uVar7 = 2; + } + else if (param_2 < 0x100) { + param_3[1] = 0x81; + uVar7 = 3; + param_3[2] = uVar5; + } + else { + uVar1 = (undefined1)(param_2 >> 8); + if (param_2 < 0x10000) { + param_3[1] = 0x82; + uVar7 = 4; + param_3[2] = uVar1; + param_3[3] = uVar5; + } + else { + if (0xffffff < param_2) { + return 0x10; + } + param_3[1] = 0x83; + uVar7 = 5; + param_3[2] = (char)(param_2 >> 0x10); + param_3[3] = uVar1; + param_3[4] = uVar5; + } + } + lVar4 = (longlong)(int)uVar7; + if (param_2 != 0) { + uVar7 = uVar7 + param_2; + puVar8 = param_3 + lVar4; + do { + uVar2 = FUN_1400e2440((uint)*param_1); + param_1 = param_1 + 1; + uVar6 = uVar6 - 1; + *puVar8 = (char)uVar2; + puVar8 = puVar8 + 1; + } while (uVar6 != 0); + } + *param_4 = uVar7; + uVar3 = 0; + } + return uVar3; + } + return 0x10; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e4d10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e4d10.c new file mode 100644 index 00000000..f1762fc2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e4d10.c @@ -0,0 +1,75 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e4d10 FUN_1400e4d10 + * Pseudocode, not original source. */ + +undefined8 FUN_1400e4d10(byte *param_1,uint param_2,undefined1 *param_3,uint *param_4) + +{ + undefined1 uVar1; + undefined4 uVar2; + undefined8 uVar3; + longlong lVar4; + undefined1 uVar5; + ulonglong uVar6; + uint uVar7; + undefined1 *puVar8; + uint local_res8 [2]; + + uVar6 = (ulonglong)param_2; + if (((param_1 != (byte *)0x0) && (param_3 != (undefined1 *)0x0)) && (param_4 != (uint *)0x0)) { + uVar3 = FUN_1400e26f0(param_1,param_2,(int *)local_res8); + if ((int)uVar3 == 0) { + if (*param_4 < local_res8[0]) { + *param_4 = local_res8[0]; + return 6; + } + *param_3 = 0x16; + uVar5 = (undefined1)param_2; + if (param_2 < 0x80) { + param_3[1] = uVar5; + uVar7 = 2; + } + else if (param_2 < 0x100) { + param_3[1] = 0x81; + uVar7 = 3; + param_3[2] = uVar5; + } + else { + uVar1 = (undefined1)(param_2 >> 8); + if (param_2 < 0x10000) { + param_3[1] = 0x82; + uVar7 = 4; + param_3[2] = uVar1; + param_3[3] = uVar5; + } + else { + if (0xffffff < param_2) { + return 0x10; + } + param_3[1] = 0x83; + uVar7 = 5; + param_3[2] = (char)(param_2 >> 0x10); + param_3[3] = uVar1; + param_3[4] = uVar5; + } + } + lVar4 = (longlong)(int)uVar7; + if (param_2 != 0) { + uVar7 = uVar7 + param_2; + puVar8 = param_3 + lVar4; + do { + uVar2 = FUN_1400e2680((uint)*param_1); + param_1 = param_1 + 1; + uVar6 = uVar6 - 1; + *puVar8 = (char)uVar2; + puVar8 = puVar8 + 1; + } while (uVar6 != 0); + } + *param_4 = uVar7; + uVar3 = 0; + } + return uVar3; + } + return 0x10; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e4e40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e4e40.c new file mode 100644 index 00000000..8f72f541 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e4e40.c @@ -0,0 +1,120 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e4e40 FUN_1400e4e40 + * Pseudocode, not original source. */ + +undefined8 FUN_1400e4e40(uint *param_1,uint param_2,undefined1 *param_3,uint *param_4) + +{ + undefined1 uVar1; + uint uVar2; + undefined8 uVar3; + ulonglong uVar4; + byte bVar5; + ulonglong uVar6; + uint *puVar7; + uint uVar8; + byte bVar9; + undefined1 *puVar10; + ulonglong uVar11; + uint uVar12; + uint uVar13; + uint local_res8 [2]; + + if (((param_1 != (uint *)0x0) && (param_3 != (undefined1 *)0x0)) && (param_4 != (uint *)0x0)) { + uVar3 = FUN_1400e28d0(param_1,param_2,(int *)local_res8); + if ((int)uVar3 == 0) { + if (*param_4 < local_res8[0]) { + *param_4 = local_res8[0]; + return 6; + } + uVar12 = 0; + uVar13 = param_1[1] + *param_1 * 0x28; + uVar8 = 1; + if (1 < param_2) { + puVar7 = param_1 + 2; + do { + uVar2 = FUN_1400e28c0(uVar13); + uVar12 = uVar12 + (uint)(uVar13 == 0) + (uint)(uVar2 != (uVar2 / 7) * 7) + uVar2 / 7; + if (uVar8 < param_2 - 1) { + uVar13 = *puVar7; + } + uVar8 = uVar8 + 1; + puVar7 = puVar7 + 1; + } while (uVar8 < param_2); + } + uVar13 = 1; + *param_3 = 6; + local_res8[0] = 1; + uVar4 = 1; + if (0x7f < uVar12) { + if (uVar12 < 0x100) { + param_3[1] = 0x81; + } + else { + if (0xffff < uVar12) { + return 0x10; + } + param_3[1] = 0x82; + local_res8[0] = 2; + param_3[2] = (char)(uVar12 >> 8); + } + local_res8[0] = local_res8[0] + 1; + uVar4 = (ulonglong)local_res8[0]; + } + param_3[uVar4] = (char)uVar12; + local_res8[0] = local_res8[0] + 1; + uVar4 = (ulonglong)local_res8[0]; + uVar8 = param_1[1] + *param_1 * 0x28; + if (1 < param_2) { + puVar7 = param_1 + 2; + do { + uVar6 = (ulonglong)uVar8; + if (uVar8 == 0) { + param_3[uVar4] = 0; + uVar4 = (ulonglong)(local_res8[0] + 1); + uVar12 = local_res8[0] + 1; + } + else { + uVar2 = (uint)uVar4; + uVar11 = (ulonglong)(int)uVar2; + bVar9 = 0; + uVar12 = local_res8[0]; + do { + local_res8[0] = uVar12; + bVar5 = (byte)uVar6; + uVar6 = uVar6 >> 7; + bVar5 = bVar5 & 0x7f | bVar9; + bVar9 = 0x80; + param_3[uVar4] = bVar5; + uVar12 = local_res8[0] + 1; + uVar4 = (ulonglong)uVar12; + } while ((int)uVar6 != 0); + if (uVar2 < local_res8[0]) { + puVar10 = param_3 + uVar11; + do { + uVar1 = *puVar10; + uVar2 = (int)uVar11 + 1; + uVar11 = (ulonglong)uVar2; + *puVar10 = param_3[local_res8[0]]; + param_3[local_res8[0]] = uVar1; + local_res8[0] = local_res8[0] - 1; + puVar10 = puVar10 + 1; + } while (uVar2 < local_res8[0]); + } + } + local_res8[0] = uVar12; + if (uVar13 < param_2 - 1) { + uVar8 = *puVar7; + } + uVar13 = uVar13 + 1; + puVar7 = puVar7 + 1; + } while (uVar13 < param_2); + } + *param_4 = (uint)uVar4; + uVar3 = 0; + } + return uVar3; + } + return 0x10; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e50a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e50a0.c new file mode 100644 index 00000000..c6e7b923 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e50a0.c @@ -0,0 +1,77 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e50a0 FUN_1400e50a0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400e50a0(undefined1 *param_1,uint param_2,undefined1 *param_3,uint *param_4) + +{ + undefined1 uVar1; + undefined8 uVar2; + longlong lVar3; + undefined1 *puVar4; + ulonglong uVar5; + undefined1 uVar6; + uint uVar7; + uint local_res8 [2]; + + uVar5 = (ulonglong)param_2; + if (((param_1 == (undefined1 *)0x0) || (param_3 == (undefined1 *)0x0)) || (param_4 == (uint *)0x0) + ) { +LAB_1400e51a9: + uVar2 = 0x10; + } + else { + uVar2 = FUN_1400e2b80(param_2,(int *)local_res8); + if ((int)uVar2 != 0) { + return uVar2; + } + if (*param_4 < local_res8[0]) { + *param_4 = local_res8[0]; + return 6; + } + *param_3 = 4; + uVar6 = (undefined1)param_2; + if (param_2 < 0x80) { + param_3[1] = uVar6; + uVar7 = 2; + } + else if (param_2 < 0x100) { + param_3[1] = 0x81; + uVar7 = 3; + param_3[2] = uVar6; + } + else { + uVar1 = (undefined1)(param_2 >> 8); + if (param_2 < 0x10000) { + param_3[1] = 0x82; + uVar7 = 4; + param_3[2] = uVar1; + param_3[3] = uVar6; + } + else { + if (0xffffff < param_2) goto LAB_1400e51a9; + param_3[1] = 0x83; + uVar7 = 5; + param_3[2] = (char)(param_2 >> 0x10); + param_3[3] = uVar1; + param_3[4] = uVar6; + } + } + lVar3 = (longlong)(int)uVar7; + if (param_2 != 0) { + uVar7 = uVar7 + param_2; + puVar4 = param_3 + lVar3; + do { + uVar6 = *param_1; + param_1 = param_1 + 1; + uVar5 = uVar5 - 1; + *puVar4 = uVar6; + puVar4 = puVar4 + 1; + } while (uVar5 != 0); + } + *param_4 = uVar7; + uVar2 = 0; + } + return uVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e51d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e51d0.c new file mode 100644 index 00000000..8674590c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e51d0.c @@ -0,0 +1,73 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e51d0 FUN_1400e51d0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400e51d0(char *param_1,uint param_2,undefined1 *param_3,uint *param_4) + +{ + undefined8 uVar1; + undefined1 uVar2; + uint uVar3; + byte bVar4; + uint uVar5; + ulonglong uVar6; + uint uVar7; + byte *pbVar8; + uint local_res8 [2]; + + if (((param_1 != (char *)0x0) && (param_3 != (undefined1 *)0x0)) && (param_4 != (uint *)0x0)) { + uVar1 = FUN_1400e2cd0((ulonglong)param_2,(int *)local_res8); + if ((int)uVar1 == 0) { + if (*param_4 < local_res8[0]) { + *param_4 = local_res8[0]; + return 6; + } + uVar7 = 0; + *param_3 = 3; + uVar5 = 1; + uVar3 = ((param_2 & 7) != 0) + 1 + (param_2 >> 3); + uVar2 = (undefined1)uVar3; + if (uVar3 < 0x80) { + param_3[1] = uVar2; + uVar5 = 2; + } + else if (uVar3 < 0x100) { + param_3[1] = 0x81; + uVar5 = 3; + param_3[2] = uVar2; + } + else if (uVar3 < 0x10000) { + param_3[1] = 0x82; + uVar5 = 4; + param_3[2] = (char)(uVar3 >> 8); + param_3[3] = uVar2; + } + uVar6 = (ulonglong)(uVar5 + 1); + bVar4 = 0; + param_3[uVar5] = -(char)param_2 & 7; + if (param_2 != 0) { + pbVar8 = param_3 + (int)(uVar5 + 1); + do { + bVar4 = bVar4 | (*param_1 != '\0') << (7U - (char)(uVar7 & 7) & 0x1f); + if ((uVar7 & 7) == 7) { + *pbVar8 = bVar4; + pbVar8 = pbVar8 + 1; + uVar6 = (ulonglong)((int)uVar6 + 1); + bVar4 = 0; + } + uVar7 = uVar7 + 1; + param_1 = param_1 + 1; + } while (uVar7 < param_2); + } + if ((param_2 & 7) != 0) { + param_3[uVar6] = bVar4; + uVar6 = (ulonglong)((int)uVar6 + 1); + } + *param_4 = (uint)uVar6; + uVar1 = 0; + } + return uVar1; + } + return 0x10; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e5340.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e5340.c new file mode 100644 index 00000000..eab87c83 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e5340.c @@ -0,0 +1,70 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e5340 FUN_1400e5340 + * Pseudocode, not original source. */ + +int FUN_1400e5340(uint param_1,undefined1 *param_2,uint *param_3) + +{ + uint uVar1; + int iVar2; + longlong lVar3; + undefined1 *puVar4; + uint uVar5; + uint uVar6; + ulonglong uVar7; + uint local_res10 [2]; + + if ((param_2 == (undefined1 *)0x0) || (param_3 == (uint *)0x0)) { + return 0x10; + } + iVar2 = FUN_1400e2e80(param_1,(int *)local_res10); + if (iVar2 != 0) { + return iVar2; + } + if (*param_3 < local_res10[0]) { + *param_3 = local_res10[0]; + return 6; + } + uVar6 = 0; + iVar2 = 0; + uVar5 = param_1; + if (param_1 != 0) { + do { + iVar2 = iVar2 + 1; + uVar1 = uVar5 >> 8; + uVar5 = uVar5 >> 8; + } while (uVar1 != 0); + if (iVar2 != 0) goto LAB_1400e53c5; + } + iVar2 = 1; +LAB_1400e53c5: + uVar5 = iVar2 + (uint)((param_1 >> (iVar2 * 8 - 1U & 0x1f) & 1) != 0); + if (uVar5 < 5) { + for (; uVar6 < 4 - uVar5; uVar6 = uVar6 + 1) { + param_1 = param_1 << 8; + } + } + *param_2 = 2; + uVar6 = 2; + param_2[1] = (char)uVar5; + if (uVar5 == 5) { + param_2[2] = 0; + uVar5 = 4; + uVar6 = 3; + } + lVar3 = (longlong)(int)uVar6; + if (uVar5 != 0) { + uVar7 = (ulonglong)uVar5; + uVar6 = uVar6 + uVar5; + puVar4 = param_2 + lVar3; + do { + uVar7 = uVar7 - 1; + *puVar4 = (char)(param_1 >> 0x18); + puVar4 = puVar4 + 1; + param_1 = param_1 << 8; + } while (uVar7 != 0); + } + *param_3 = uVar6; + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e5460.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e5460.c new file mode 100644 index 00000000..f9f467f7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e5460.c @@ -0,0 +1,128 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e5460 FUN_1400e5460 + * Pseudocode, not original source. */ + +ulonglong FUN_1400e5460(longlong param_1,undefined1 *param_2,uint *param_3) + +{ + bool bVar1; + undefined1 uVar2; + int iVar3; + uint uVar4; + int iVar5; + ulonglong uVar6; + undefined1 uVar7; + int iVar8; + undefined1 *puVar9; + uint local_res8 [2]; + undefined8 local_res20; + + if (((param_1 == 0) || (param_2 == (undefined1 *)0x0)) || (param_3 == (uint *)0x0)) { + return 0x10; + } + uVar6 = FUN_1400e2f30(param_1,(int *)local_res8); + if ((int)uVar6 == 0) { + if (*param_3 < local_res8[0]) { + *param_3 = local_res8[0]; + return 6; + } + iVar3 = (*DAT_14017d4e0)(param_1,0); + if (iVar3 == -1) { + uVar4 = (*DAT_14017d4e8)(param_1); + uVar4 = (uVar4 - (uVar4 & 7)) + 8 >> 3; + iVar3 = (*DAT_14017d4f0)(param_1); + iVar5 = (*DAT_14017d4e8)(param_1); + bVar1 = false; + if ((iVar3 + 1 == iVar5) && + (uVar6 = (*DAT_14017d4e8)(param_1), bVar1 = false, (uVar6 & 7) == 0)) { + uVar4 = uVar4 - 1; + } + } + else { + uVar6 = (*DAT_14017d4e8)(); + if (((uVar6 & 7) == 0) || (iVar3 = (*DAT_14017d4e0)(param_1,0), iVar3 == 0)) { + iVar3 = (*DAT_14017d510)(param_1); + uVar4 = iVar3 + 1; + bVar1 = true; + } + else { + uVar4 = (*DAT_14017d510)(param_1); + bVar1 = false; + } + } + *param_2 = 2; + uVar7 = (undefined1)uVar4; + if (uVar4 < 0x80) { + param_2[1] = uVar7; + puVar9 = param_2 + 2; + } + else if (uVar4 < 0x100) { + param_2[1] = 0x81; + param_2[2] = uVar7; + puVar9 = param_2 + 3; + } + else { + uVar2 = (undefined1)(uVar4 >> 8); + if (uVar4 < 0x10000) { + param_2[1] = 0x82; + puVar9 = param_2 + 4; + param_2[2] = uVar2; + param_2[3] = uVar7; + } + else { + if (0xffffff < uVar4) { + return 0x10; + } + param_2[1] = 0x83; + param_2[2] = (char)(uVar4 >> 0x10); + puVar9 = param_2 + 5; + param_2[3] = uVar2; + param_2[4] = uVar7; + } + } + if (bVar1) { + *puVar9 = 0; + puVar9 = puVar9 + 1; + } + iVar3 = (*DAT_14017d4e0)(param_1,0); + if (iVar3 == 1) { + uVar6 = (*DAT_14017d518)(param_1,puVar9); + if ((int)uVar6 != 0) { + return uVar6; + } + } + else { + iVar3 = (*DAT_14017d4e0)(param_1,0); + if (iVar3 != 0) { + iVar3 = (*DAT_14017d490)(&local_res20); + if (iVar3 == 0) { + uVar4 = (*DAT_14017d4e8)(param_1); + iVar8 = (8 - (uVar4 & 7)) + uVar4; + iVar3 = (*DAT_14017d4f0)(param_1); + iVar5 = (*DAT_14017d4e8)(param_1); + if ((iVar3 + 1 == iVar5) && (uVar6 = (*DAT_14017d4e8)(param_1), (uVar6 & 7) == 0)) { + iVar8 = iVar8 + -8; + } + iVar3 = (*DAT_14017d4f8)(local_res20,iVar8); + if ((iVar3 == 0) && + (iVar3 = (*DAT_14017d528)(local_res20,param_1,local_res20), iVar3 == 0)) { + uVar4 = (*DAT_14017d518)(local_res20,puVar9); + if (uVar4 != 0) { + (*DAT_14017d4a0)(); + return (ulonglong)uVar4; + } + (*DAT_14017d4a0)(local_res20); + *param_3 = local_res8[0]; + return 0; + } + (*DAT_14017d4a0)(local_res20); + } + return 0xd; + } + } + *param_3 = local_res8[0]; + uVar6 = 0; + } + return uVar6; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e5700.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e5700.c new file mode 100644 index 00000000..d355c517 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e5700.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e5700 FUN_1400e5700 + * Pseudocode, not original source. */ + +undefined8 FUN_1400e5700(int param_1,undefined2 *param_2,uint *param_3) + +{ + uint uVar1; + + if ((param_3 != (uint *)0x0) && (param_2 != (undefined2 *)0x0)) { + uVar1 = *param_3; + *param_3 = 3; + if (uVar1 < 3) { + return 6; + } + *param_2 = 0x101; + *(char *)(param_2 + 1) = -(param_1 != 0); + return 0; + } + return 0x10; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e5740.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e5740.c new file mode 100644 index 00000000..7e28ef9c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e5740.c @@ -0,0 +1,79 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e5740 FUN_1400e5740 + * Pseudocode, not original source. */ + +undefined8 FUN_1400e5740(int *param_1,int *param_2,int *param_3,int param_4) + +{ + int iVar1; + int iVar2; + undefined8 uVar3; + ulonglong uVar4; + uint uVar5; + longlong lVar6; + int iVar7; + uint *puVar8; + uint *puVar9; + uint uVar10; + ulonglong uVar11; + ulonglong uVar12; + uint *puVar13; + int local_48 [4]; + longlong local_38; + + iVar2 = *param_2; + iVar1 = *param_1; + uVar5 = iVar2 + 1 + iVar1; + if ((int)uVar5 < 0x200) { + if (iVar1 < iVar2) { + iVar2 = iVar1; + } + if (iVar2 < 0x100) { + uVar3 = FUN_1400e58a0(param_1,param_2,param_3,param_4); + return uVar3; + } + } + uVar3 = FUN_1400dfd80(local_48,uVar5); + if ((int)uVar3 == 0) { + iVar2 = *param_1; + iVar1 = *param_2; + local_48[0] = iVar1 + 1 + iVar2; + lVar6 = 0; + uVar11 = (longlong)param_4; + if (0 < iVar2) { + do { + iVar7 = (int)uVar11; + uVar11 = 0; + uVar10 = 0; + uVar5 = *(uint *)(*(longlong *)(param_1 + 4) + lVar6 * 4); + puVar9 = (uint *)(local_38 + (longlong)param_4 * 4); + puVar13 = (uint *)(*(longlong *)(param_2 + 4) + (longlong)iVar7 * 4); + if (iVar7 < iVar1) { + uVar12 = (ulonglong)(uint)(iVar1 - iVar7); + puVar8 = puVar9; + do { + uVar10 = *puVar13; + puVar9 = puVar8 + 1; + puVar13 = puVar13 + 1; + uVar4 = (ulonglong)uVar10 * (ulonglong)uVar5 + (ulonglong)*puVar8 + + (uVar11 & 0xffffffff); + uVar11 = uVar4 >> 0x1c; + uVar10 = (uint)uVar11; + uVar12 = uVar12 - 1; + *puVar8 = (uint)uVar4 & 0xfffffff; + puVar8 = puVar9; + } while (uVar12 != 0); + } + lVar6 = lVar6 + 1; + *puVar9 = uVar10; + uVar11 = (ulonglong)(iVar7 - 1); + } while (lVar6 < iVar2); + } + FUN_1400ddc00(local_48); + FUN_1400dfc40((undefined8 *)local_48,(undefined8 *)param_3); + FUN_1400d5c00(local_48); + uVar3 = 0; + } + return uVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e58a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e58a0.c new file mode 100644 index 00000000..7d3fac3f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e58a0.c @@ -0,0 +1,96 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e58a0 FUN_1400e58a0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +undefined8 FUN_1400e58a0(int *param_1,int *param_2,int *param_3,int param_4) + +{ + int iVar1; + int iVar2; + int iVar3; + longlong lVar4; + longlong lVar5; + uint uVar6; + uint uVar7; + undefined8 uVar8; + int iVar9; + ulonglong uVar10; + longlong lVar11; + void *_Dst; + int iVar12; + uint *puVar13; + uint *puVar14; + ulonglong uVar15; + longlong lVar16; + longlong lVar17; + undefined1 auStack_888 [40]; + undefined8 local_860; + undefined1 auStack_858 [2048]; + ulonglong local_58; + + local_58 = DAT_14016f5a0 ^ (ulonglong)auStack_888; + lVar17 = (longlong)param_4; + local_860 = param_3; + if ((*param_2 + *param_1 <= param_3[1]) || + (uVar8 = FUN_1400ddb60((longlong)param_3,*param_2 + *param_1), (int)uVar8 == 0)) { + iVar3 = *param_1; + iVar2 = iVar3 + *param_2; + uVar15 = 0; + lVar11 = (longlong)iVar2; + if (lVar17 < lVar11) { + lVar4 = *(longlong *)(param_1 + 4); + lVar5 = *(longlong *)(param_2 + 4); + iVar1 = *param_2 + -1; + lVar16 = lVar17; + iVar12 = param_4; + do { + iVar9 = iVar12; + if (iVar1 < iVar12) { + iVar9 = iVar1; + } + puVar13 = (uint *)(lVar4 + (longlong)(iVar12 - iVar9) * 4); + puVar14 = (uint *)(lVar5 + (longlong)iVar9 * 4); + uVar6 = iVar3 - (iVar12 - iVar9); + uVar7 = iVar9 + 1U; + if ((int)uVar6 < (int)(iVar9 + 1U)) { + uVar7 = uVar6; + } + uVar10 = (ulonglong)uVar7; + if (0 < (int)uVar7) { + do { + uVar7 = *puVar14; + uVar6 = *puVar13; + puVar14 = puVar14 + -1; + puVar13 = puVar13 + 1; + uVar15 = uVar15 + (ulonglong)uVar7 * (ulonglong)uVar6; + uVar10 = uVar10 - 1; + } while (uVar10 != 0); + } + lVar16 = lVar16 + 1; + iVar12 = iVar12 + 1; + uVar7 = (uint)uVar15; + uVar15 = uVar15 >> 0x1c; + *(uint *)(auStack_858 + lVar16 * 4 + -4) = uVar7 & 0xfffffff; + param_3 = local_860; + } while (lVar16 < lVar11); + } + iVar3 = *param_3; + *param_3 = iVar2; + _Dst = (void *)(*(longlong *)(param_3 + 4) + lVar17 * 4); + if (lVar17 < lVar11) { + lVar11 = lVar11 - lVar17; + memcpy(_Dst,auStack_858 + lVar17 * 4,lVar11 * 4); + param_4 = param_4 + (int)lVar11; + _Dst = (void *)((longlong)_Dst + lVar11 * 4); + } + if (param_4 < iVar3) { + memset(_Dst,0,(ulonglong)(uint)(iVar3 - param_4) << 2); + } + FUN_1400ddc00(param_3); + uVar8 = 0; + } + return uVar8; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e5a50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e5a50.c new file mode 100644 index 00000000..cb834bef --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e5a50.c @@ -0,0 +1,43 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e5a50 FUN_1400e5a50 + * Pseudocode, not original source. */ + +ulonglong FUN_1400e5a50(undefined8 param_1,undefined4 *param_2,longlong param_3,int param_4) + +{ + uint uVar1; + ulonglong uVar2; + longlong local_68; + int local_60; + undefined8 local_58; + undefined4 local_50; + undefined4 local_4c; + undefined8 local_38; + undefined8 local_30; + + local_50 = *param_2; + local_38 = 0; + local_30 = 0; + local_68 = param_3; + local_60 = param_4; + local_58 = param_1; + uVar2 = FUN_1400e5d88((longlong)&local_68,"1.2.3",0x58); + if ((int)uVar2 == 0) { + uVar1 = FUN_1400e5ee8(&local_68,4); + if (uVar1 == 1) { + *param_2 = local_4c; + uVar2 = FUN_1400e7458((longlong)&local_68); + } + else { + FUN_1400e7458((longlong)&local_68); + if ((uVar1 == 2) || ((uVar1 == 0xfffffffb && (local_60 == 0)))) { + uVar2 = 0xfffffffd; + } + else { + uVar2 = (ulonglong)uVar1; + } + } + } + return uVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e5af4.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e5af4.c new file mode 100644 index 00000000..c3504fb0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e5af4.c @@ -0,0 +1,44 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e5af4 FUN_1400e5af4 + * Pseudocode, not original source. */ + +ulonglong FUN_1400e5af4(undefined8 param_1,undefined4 *param_2,longlong param_3,undefined4 param_4, + uint param_5) + +{ + ulonglong uVar1; + ulonglong uVar2; + longlong local_68; + undefined4 local_60; + undefined8 local_58; + undefined4 local_50; + undefined4 local_4c; + undefined8 local_38; + undefined8 local_30; + undefined8 local_28; + + local_50 = *param_2; + local_38 = 0; + local_30 = 0; + local_28 = 0; + local_68 = param_3; + local_60 = param_4; + local_58 = param_1; + uVar1 = FUN_1400e9b3c((longlong)&local_68,param_5,"1.2.3",0x58); + if ((int)uVar1 == 0) { + uVar2 = FUN_1400e7bec(&local_68,4); + uVar1 = uVar2 & 0xffffffff; + if ((int)uVar2 == 1) { + *param_2 = local_4c; + uVar1 = FUN_1400e843c((longlong)&local_68); + } + else { + FUN_1400e843c((longlong)&local_68); + if ((int)uVar2 == 0) { + uVar1 = 0xfffffffb; + } + } + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e5ba4.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e5ba4.c new file mode 100644 index 00000000..904fa4c0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e5ba4.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e5ba4 FUN_1400e5ba4 + * Pseudocode, not original source. */ + +void FUN_1400e5ba4(undefined8 param_1,undefined4 *param_2,longlong param_3,undefined4 param_4) + +{ + FUN_1400e5af4(param_1,param_2,param_3,param_4,0xffffffff); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e5bd8.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e5bd8.c new file mode 100644 index 00000000..cd2cd5ed --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e5bd8.c @@ -0,0 +1,32 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e5bd8 FUN_1400e5bd8 + * Pseudocode, not original source. */ + +undefined8 FUN_1400e5bd8(longlong param_1) + +{ + undefined8 *puVar1; + undefined8 *puVar2; + + if ((param_1 != 0) && (puVar2 = *(undefined8 **)(param_1 + 0x28), puVar2 != (undefined8 *)0x0)) { + *(undefined4 *)((longlong)puVar2 + 0x1c) = 0; + *(undefined4 *)(param_1 + 0x1c) = 0; + *(undefined4 *)(param_1 + 0xc) = 0; + *(undefined8 *)(param_1 + 0x20) = 0; + *(undefined4 *)(param_1 + 0x4c) = 1; + *puVar2 = 0; + *(undefined4 *)((longlong)puVar2 + 0xc) = 0; + puVar2[4] = 0; + *(undefined8 *)((longlong)puVar2 + 0x2c) = 0; + *(undefined4 *)((longlong)puVar2 + 0x34) = 0; + puVar2[8] = 0; + puVar1 = puVar2 + 0xa9; + puVar2[0x10] = puVar1; + puVar2[0xc] = puVar1; + puVar2[0xb] = puVar1; + *(undefined4 *)((longlong)puVar2 + 0x14) = 0x8000; + return 0; + } + return 0xfffffffe; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e5c98.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e5c98.c new file mode 100644 index 00000000..54fb1652 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e5c98.c @@ -0,0 +1,52 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e5c98 FUN_1400e5c98 + * Pseudocode, not original source. */ + +undefined8 FUN_1400e5c98(longlong param_1,uint param_2,char *param_3,int param_4) + +{ + code *pcVar1; + longlong lVar2; + undefined8 uVar3; + + if (((param_3 == (char *)0x0) || (*param_3 != '1')) || (param_4 != 0x58)) { + return 0xfffffffa; + } + if (param_1 != 0) { + *(undefined8 *)(param_1 + 0x20) = 0; + if (*(longlong *)(param_1 + 0x30) == 0) { + *(undefined8 *)(param_1 + 0x40) = 0; + *(code **)(param_1 + 0x30) = FUN_1400e9ba8; + } + pcVar1 = *(code **)(param_1 + 0x38); + if (pcVar1 == (code *)0x0) { + pcVar1 = FUN_1400e9bc8; + } + *(code **)(param_1 + 0x38) = pcVar1; + lVar2 = (**(code **)(param_1 + 0x30))(*(undefined8 *)(param_1 + 0x40),1,0x2548); + if (lVar2 == 0) { + return 0xfffffffc; + } + *(longlong *)(param_1 + 0x28) = lVar2; + if ((int)param_2 < 0) { + *(undefined4 *)(lVar2 + 8) = 0; + param_2 = -param_2; + } + else { + *(int *)(lVar2 + 8) = ((int)param_2 >> 4) + 1; + if ((int)param_2 < 0x30) { + param_2 = param_2 & 0xf; + } + } + if (param_2 - 8 < 8) { + *(undefined8 *)(lVar2 + 0x38) = 0; + *(uint *)(lVar2 + 0x28) = param_2; + uVar3 = FUN_1400e5bd8(param_1); + return uVar3; + } + (**(code **)(param_1 + 0x38))(*(undefined8 *)(param_1 + 0x40)); + *(undefined8 *)(param_1 + 0x28) = 0; + } + return 0xfffffffe; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e5d88.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e5d88.c new file mode 100644 index 00000000..55423a35 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e5d88.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e5d88 FUN_1400e5d88 + * Pseudocode, not original source. */ + +void FUN_1400e5d88(longlong param_1,char *param_2,int param_3) + +{ + FUN_1400e5c98(param_1,0xf,param_2,param_3); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e5da8.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e5da8.c new file mode 100644 index 00000000..b238228e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e5da8.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e5da8 FUN_1400e5da8 + * Pseudocode, not original source. */ + +void FUN_1400e5da8(longlong param_1) + +{ + *(undefined4 *)(param_1 + 0x68) = 9; + *(undefined4 *)(param_1 + 0x6c) = 5; + *(undefined **)(param_1 + 0x58) = &DAT_14012ae20; + *(undefined **)(param_1 + 0x60) = &DAT_14012b620; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e5dd8.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e5dd8.c new file mode 100644 index 00000000..5e6bebf8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e5dd8.c @@ -0,0 +1,65 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e5dd8 FUN_1400e5dd8 + * Pseudocode, not original source. */ + +undefined8 FUN_1400e5dd8(longlong param_1,int param_2) + +{ + longlong lVar1; + int iVar2; + longlong lVar3; + uint uVar4; + uint uVar5; + + lVar1 = *(longlong *)(param_1 + 0x28); + if (*(longlong *)(lVar1 + 0x38) == 0) { + lVar3 = (**(code **)(param_1 + 0x30)) + (*(undefined8 *)(param_1 + 0x40), + 1 << ((byte)*(undefined4 *)(lVar1 + 0x28) & 0x1f),1); + *(longlong *)(lVar1 + 0x38) = lVar3; + if (lVar3 == 0) { + return 1; + } + } + if (*(int *)(lVar1 + 0x2c) == 0) { + *(undefined8 *)(lVar1 + 0x30) = 0; + *(int *)(lVar1 + 0x2c) = 1 << ((byte)*(undefined4 *)(lVar1 + 0x28) & 0x1f); + } + uVar4 = param_2 - *(int *)(param_1 + 0x18); + uVar5 = *(uint *)(lVar1 + 0x2c); + if (uVar4 < uVar5) { + uVar5 = uVar5 - *(int *)(lVar1 + 0x34); + if (uVar4 < uVar5) { + uVar5 = uVar4; + } + memcpy((void *)((ulonglong)*(uint *)(lVar1 + 0x34) + *(longlong *)(lVar1 + 0x38)), + (void *)(*(longlong *)(param_1 + 0x10) - (ulonglong)uVar4),(ulonglong)uVar5); + uVar4 = uVar4 - uVar5; + if (uVar4 == 0) { + *(int *)(lVar1 + 0x34) = *(int *)(lVar1 + 0x34) + uVar5; + uVar4 = *(uint *)(lVar1 + 0x34); + if (*(uint *)(lVar1 + 0x34) == *(uint *)(lVar1 + 0x2c)) { + uVar4 = 0; + } + *(uint *)(lVar1 + 0x34) = uVar4; + if (*(uint *)(lVar1 + 0x2c) <= *(uint *)(lVar1 + 0x30)) { + return 0; + } + iVar2 = *(uint *)(lVar1 + 0x30) + uVar5; + goto LAB_1400e5eb4; + } + memcpy(*(void **)(lVar1 + 0x38),(void *)(*(longlong *)(param_1 + 0x10) - (ulonglong)uVar4), + (ulonglong)uVar4); + *(uint *)(lVar1 + 0x34) = uVar4; + } + else { + memcpy(*(void **)(lVar1 + 0x38),(void *)(*(longlong *)(param_1 + 0x10) - (ulonglong)uVar5), + (ulonglong)uVar5); + *(undefined4 *)(lVar1 + 0x34) = 0; + } + iVar2 = *(int *)(lVar1 + 0x2c); +LAB_1400e5eb4: + *(int *)(lVar1 + 0x30) = iVar2; + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e5ee8.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e5ee8.c new file mode 100644 index 00000000..de033b4f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e5ee8.c @@ -0,0 +1,1164 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e5ee8 FUN_1400e5ee8 + * Pseudocode, not original source. */ + +int FUN_1400e5ee8(longlong *param_1,int param_2) + +{ + uint *puVar1; + char cVar2; + uint uVar3; + undefined8 uVar4; + char *pcVar5; + byte bVar6; + ushort uVar7; + uint uVar8; + uint uVar9; + ulonglong uVar10; + longlong lVar11; + uint uVar12; + ulonglong uVar13; + uint uVar14; + int iVar15; + uint *puVar16; + ulonglong uVar17; + undefined2 uVar18; + undefined1 *puVar19; + uint uVar20; + ulonglong uVar21; + int iVar22; + uint uVar23; + uint uVar24; + uint uVar25; + int local_res8; + uint local_res18; + uint local_res20; + undefined2 local_68; + undefined1 local_66; + undefined1 local_65; + undefined4 local_64; + uint local_60; + uint *local_58; + undefined1 *local_50; + + if ((((param_1 == (longlong *)0x0) || (puVar1 = (uint *)param_1[5], puVar1 == (uint *)0x0)) || + (param_1[2] == 0)) || ((*param_1 == 0 && ((int)param_1[1] != 0)))) { + return -2; + } + uVar25 = *puVar1; + uVar23 = puVar1[0x10]; + uVar14 = puVar1[0x11]; + local_res8 = 0; + if (uVar25 == 0xb) { + uVar25 = 0xc; + } + *puVar1 = uVar25; + local_res20 = *(uint *)(param_1 + 3); + uVar17 = (ulonglong)local_res20; + local_58 = (uint *)*param_1; + uVar25 = *(uint *)(param_1 + 1); + local_50 = (undefined1 *)param_1[2]; + uVar13 = uVar17; + local_60 = uVar25; +LAB_1400e5f6e: + uVar21 = 0; + uVar10 = 0x10; + puVar16 = local_58; +LAB_1400e5f73: + local_res18 = (uint)uVar13; + puVar19 = local_50; +LAB_1400e5f7b: + uVar12 = 7; +LAB_1400e5f80: + do { + uVar8 = (uint)uVar10; + uVar3 = *puVar1; + uVar20 = (uint)uVar21; + uVar24 = (uint)uVar13; + uVar9 = local_64; + if ((int)uVar3 < 0xf) { + if (uVar3 == 0xe) { +LAB_1400e665c: + uVar3 = puVar1[0x12]; + if (uVar3 != 0) { + if (uVar25 < uVar3) { + uVar3 = uVar25; + } + if (uVar24 < uVar3) { + uVar3 = uVar24; + } + uVar12 = uVar25; + if (uVar3 != 0) { + memcpy(puVar19,local_58,(ulonglong)uVar3); + local_58 = (uint *)((longlong)local_58 + (ulonglong)uVar3); + uVar25 = uVar25 - uVar3; + local_res18 = local_res18 - uVar3; + local_50 = local_50 + uVar3; + puVar1[0x12] = puVar1[0x12] - uVar3; + goto LAB_1400e66b2; + } + goto LAB_1400e63d6; + } + *puVar1 = 0xb; + puVar16 = local_58; + goto LAB_1400e5f80; + } + if ((int)uVar3 <= (int)uVar12) { + if (uVar3 == uVar12) goto LAB_1400e6356; + if (uVar3 == 0) { + uVar3 = uVar23; + if (puVar1[2] != uVar20) goto LAB_1400e6462; + *puVar1 = 0xc; + goto LAB_1400e5f7b; + } + if (uVar3 == 1) goto LAB_1400e600b; + if (uVar3 == 2) goto LAB_1400e60ab; + if (uVar3 == 3) goto LAB_1400e6131; + if (uVar3 == 4) goto LAB_1400e618f; + if (uVar3 == 5) goto LAB_1400e61af; + if (uVar3 != 6) { + return -2; + } + goto LAB_1400e62bd; + } + if (uVar3 == 8) goto LAB_1400e65ba; + if (uVar3 == 9) { + for (; uVar14 < 0x20; uVar14 = uVar14 + 8) { + uVar12 = uVar25; + if (uVar25 == 0) goto LAB_1400e63d6; + uVar12 = *puVar16; + puVar16 = (uint *)((longlong)puVar16 + 1); + uVar25 = uVar25 - 1; + uVar23 = uVar23 + ((uint)(byte)uVar12 << ((byte)uVar14 & 0x1f)); + local_58 = puVar16; + } + uVar23 = (uVar23 >> 8 & 0xff00) + ((uVar23 & 0xff00) + uVar23 * 0x10000) * 0x100 + + (uVar23 >> 0x18); + puVar1[6] = uVar23; + *(uint *)((longlong)param_1 + 0x4c) = uVar23; + *puVar1 = 10; + uVar23 = uVar20; + uVar14 = uVar20; +LAB_1400e671e: + if (puVar1[3] == uVar20) { + param_1[2] = (longlong)puVar19; + *(uint *)(param_1 + 3) = uVar24; + *param_1 = (longlong)puVar16; + *(uint *)(param_1 + 1) = uVar25; + puVar1[0x10] = uVar23; + puVar1[0x11] = uVar14; + return 2; + } + uVar12 = FUN_1400ea49c(0,(byte *)0x0,0); + uVar17 = (ulonglong)local_res20; + uVar13 = (ulonglong)local_res18; + uVar21 = 0; + puVar1[6] = uVar12; + *(uint *)((longlong)param_1 + 0x4c) = uVar12; + *puVar1 = 0xb; + uVar10 = 0x10; + puVar19 = local_50; +LAB_1400e6754: + uVar12 = uVar25; + uVar9 = local_64; + if (param_2 == 5) goto LAB_1400e63d6; + } + else { + if (uVar3 == 10) goto LAB_1400e671e; + if (uVar3 == 0xb) goto LAB_1400e6754; + if (uVar3 != 0xc) { + if (uVar3 != 0xd) { + return -2; + } + uVar23 = uVar23 >> (sbyte)(uVar14 & 7); + for (uVar14 = uVar14 - (uVar14 & 7); uVar14 < 0x20; uVar14 = uVar14 + 8) { + uVar12 = uVar25; + if (uVar25 == 0) goto LAB_1400e63d6; + uVar12 = *puVar16; + puVar16 = (uint *)((longlong)puVar16 + 1); + uVar25 = uVar25 - 1; + uVar23 = uVar23 + ((uint)(byte)uVar12 << ((byte)uVar14 & 0x1f)); + local_58 = puVar16; + } + if ((uVar23 & 0xffff) == ~uVar23 >> 0x10) { + puVar1[0x12] = uVar23 & 0xffff; + *puVar1 = 0xe; + uVar12 = 7; + uVar23 = uVar20; + uVar14 = uVar20; + goto LAB_1400e665c; + } + pcVar5 = "invalid stored block lengths"; + goto LAB_1400e6580; + } + } + if (puVar1[1] != (uint)uVar21) { + uVar12 = 7; + *puVar1 = 0x18; + uVar23 = uVar23 >> (sbyte)(uVar14 & 7); + uVar14 = uVar14 - (uVar14 & 7); + goto LAB_1400e5f80; + } + goto LAB_1400e679e; + } + if (0x16 < (int)uVar3) { + uVar12 = uVar25; + if (uVar3 == 0x17) { + if (uVar24 == 0) goto LAB_1400e63d6; + *puVar19 = (char)puVar1[0x12]; + local_50 = puVar19 + 1; + uVar13 = (ulonglong)(uVar24 - 1); + *puVar1 = 0x12; + goto LAB_1400e5f73; + } + if (uVar3 == 0x18) { + uVar12 = uVar23; + uVar3 = uVar14; + if (puVar1[2] != uVar20) goto LAB_1400e7270; + goto LAB_1400e7308; + } + if (uVar3 == 0x19) goto LAB_1400e730e; + if (uVar3 == 0x1a) goto LAB_1400e73b4; + if (uVar3 != 0x1b) { + if (uVar3 == 0x1c) { + return -4; + } + return -2; + } + local_res8 = -3; + goto LAB_1400e63d6; + } + if (uVar3 == 0x16) goto LAB_1400e7178; + if (uVar3 != 0xf) { + if (uVar3 == 0x10) goto LAB_1400e696f; + if (uVar3 == 0x11) goto LAB_1400e6a60; + uVar12 = (uint)uVar17; + if (uVar3 == 0x12) goto LAB_1400e6d81; + if (uVar3 == 0x13) goto LAB_1400e6f56; + if (uVar3 == 0x14) goto LAB_1400e6fa4; + if (uVar3 != 0x15) { + return -2; + } + goto LAB_1400e7110; + } + for (; uVar14 < 0xe; uVar14 = uVar14 + 8) { + uVar12 = uVar25; + if (uVar25 == 0) goto LAB_1400e63d6; + uVar12 = *puVar16; + puVar16 = (uint *)((longlong)puVar16 + 1); + uVar25 = uVar25 - 1; + uVar23 = uVar23 + ((uint)(byte)uVar12 << ((byte)uVar14 & 0x1f)); + local_58 = puVar16; + } + uVar14 = uVar14 - 0xe; + uVar24 = uVar23 >> 10; + uVar12 = (uVar23 & 0x1f) + 0x101; + uVar3 = (uVar23 >> 5 & 0x1f) + 1; + uVar23 = uVar23 >> 0xe; + puVar1[0x1d] = uVar12; + puVar1[0x1e] = uVar3; + puVar1[0x1c] = (uVar24 & 0xf) + 4; + if ((0x11e < uVar12) || (0x1e < uVar3)) { + pcVar5 = "too many length or distance symbols"; + goto LAB_1400e6516; + } + puVar1[0x1f] = uVar20; + *puVar1 = 0x10; +LAB_1400e696f: + while (uVar3 = uVar23, puVar1[0x1f] < puVar1[0x1c]) { + for (; uVar14 < 3; uVar14 = uVar14 + 8) { + uVar23 = uVar3; + uVar12 = uVar25; + if (uVar25 == 0) goto LAB_1400e63d6; + uVar23 = *puVar16; + puVar16 = (uint *)((longlong)puVar16 + 1); + bVar6 = (byte)uVar14; + uVar25 = uVar25 - 1; + uVar3 = uVar3 + ((uint)(byte)uVar23 << (bVar6 & 0x1f)); + local_58 = puVar16; + } + uVar23 = uVar3 >> 3; + *(ushort *) + ((longlong)puVar1 + + (ulonglong)*(ushort *)(&DAT_14012b6a0 + (ulonglong)puVar1[0x1f] * 2) * 2 + 0x88) = + (ushort)uVar3 & 7; + puVar1[0x1f] = puVar1[0x1f] + 1; + uVar14 = uVar14 - 3; + } + while (puVar1[0x1f] < 0x13) { + *(short *)((longlong)puVar1 + + (ulonglong)*(ushort *)(&DAT_14012b6a0 + (ulonglong)puVar1[0x1f] * 2) * 2 + 0x88) = + (short)uVar21; + puVar1[0x1f] = puVar1[0x1f] + 1; + } + puVar1[0x1a] = 7; + *(uint **)(puVar1 + 0x20) = puVar1 + 0x152; + *(uint **)(puVar1 + 0x16) = puVar1 + 0x152; + uVar4 = FUN_1400ea034(0,(ushort *)(puVar1 + 0x22),0x13,(longlong *)(puVar1 + 0x20),puVar1 + 0x1a + ,(undefined *)(puVar1 + 0xc2)); + uVar21 = 0; + local_res8 = (int)uVar4; + uVar10 = 0x10; + puVar19 = local_50; + if (local_res8 != 0) { + uVar17 = (ulonglong)local_res20; + uVar13 = (ulonglong)local_res18; + param_1[4] = (longlong)"invalid code lengths set"; + *puVar1 = 0x1b; + goto LAB_1400e5f7b; + } + puVar1[0x1f] = 0; + *puVar1 = 0x11; +LAB_1400e6a60: + if (puVar1[0x1f] < puVar1[0x1e] + puVar1[0x1d]) { + do { + for (; uVar9 = *(uint *)(*(longlong *)(puVar1 + 0x16) + + (ulonglong)((1 << ((byte)puVar1[0x1a] & 0x1f)) - 1U & uVar23) * 4), + uVar14 < (uVar9 >> 8 & 0xff); uVar14 = uVar14 + 8) { + uVar12 = uVar25; + if (uVar25 == 0) goto LAB_1400e63d6; + uVar12 = *puVar16; + puVar16 = (uint *)((longlong)puVar16 + 1); + uVar25 = uVar25 - 1; + uVar23 = uVar23 + ((uint)(byte)uVar12 << ((byte)uVar14 & 0x1f)); + local_58 = puVar16; + } + uVar7 = (ushort)(uVar9 >> 0x10); + local_64._1_1_ = (byte)(uVar9 >> 8); + local_64 = uVar9; + if (uVar7 < (ushort)uVar10) { + if (uVar14 < (uVar9 >> 8 & 0xff)) { + do { + uVar12 = 0; + if (uVar25 == 0) goto LAB_1400e63d6; + uVar12 = *puVar16; + puVar16 = (uint *)((longlong)puVar16 + 1); + bVar6 = (byte)uVar14; + uVar14 = uVar14 + 8; + uVar25 = uVar25 - 1; + uVar23 = uVar23 + ((uint)(byte)uVar12 << (bVar6 & 0x1f)); + local_58 = puVar16; + } while (uVar14 < local_64._1_1_); + } + uVar23 = uVar23 >> (local_64._1_1_ & 0x1f); + uVar14 = uVar14 - local_64._1_1_; + *(ushort *)((longlong)puVar1 + (ulonglong)puVar1[0x1f] * 2 + 0x88) = uVar7; + puVar1[0x1f] = puVar1[0x1f] + 1; + } + else { + if (uVar7 == (ushort)uVar10) { + for (; uVar14 < local_64._1_1_ + 2; uVar14 = uVar14 + 8) { + uVar12 = uVar25; + if (uVar25 == 0) goto LAB_1400e63d6; + uVar12 = *puVar16; + puVar16 = (uint *)((longlong)puVar16 + 1); + uVar25 = uVar25 - 1; + uVar23 = uVar23 + ((uint)(byte)uVar12 << ((byte)uVar14 & 0x1f)); + local_58 = puVar16; + } + uVar14 = uVar14 - local_64._1_1_; + uVar23 = uVar23 >> (local_64._1_1_ & 0x1f); + if (puVar1[0x1f] == 0) { + param_1[4] = (longlong)"invalid bit length repeat"; + *puVar1 = 0x1b; + goto LAB_1400e64b1; + } + uVar18 = *(undefined2 *)((longlong)puVar1 + (ulonglong)(puVar1[0x1f] - 1) * 2 + 0x88); + iVar22 = (uVar23 & 3) + 3; + uVar14 = uVar14 - 2; + uVar23 = uVar23 >> 2; + } + else { + if (uVar7 == 0x11) { + for (; uVar14 < local_64._1_1_ + 3; uVar14 = uVar14 + 8) { + uVar12 = uVar25; + if (uVar25 == 0) goto LAB_1400e63d6; + uVar12 = *puVar16; + puVar16 = (uint *)((longlong)puVar16 + 1); + uVar25 = uVar25 - 1; + uVar23 = uVar23 + ((uint)(byte)uVar12 << ((byte)uVar14 & 0x1f)); + local_58 = puVar16; + } + iVar15 = -3; + uVar23 = uVar23 >> (local_64._1_1_ & 0x1f); + iVar22 = (uVar23 & 7) + 3; + uVar23 = uVar23 >> 3; + } + else { + for (; uVar14 < local_64._1_1_ + 7; uVar14 = uVar14 + 8) { + uVar12 = uVar25; + if (uVar25 == 0) goto LAB_1400e63d6; + uVar12 = *puVar16; + puVar16 = (uint *)((longlong)puVar16 + 1); + uVar25 = uVar25 - 1; + uVar23 = uVar23 + ((uint)(byte)uVar12 << ((byte)uVar14 & 0x1f)); + local_58 = puVar16; + } + iVar15 = -7; + uVar23 = uVar23 >> (local_64._1_1_ & 0x1f); + iVar22 = (uVar23 & 0x7f) + 0xb; + uVar23 = uVar23 >> 7; + } + uVar18 = (undefined2)uVar21; + uVar14 = uVar14 + (iVar15 - (uint)local_64._1_1_); + } + if (puVar1[0x1e] + puVar1[0x1d] < iVar22 + puVar1[0x1f]) { + param_1[4] = (longlong)"invalid bit length repeat"; + *puVar1 = 0x1b; + break; + } + for (; iVar22 != 0; iVar22 = iVar22 + -1) { + *(undefined2 *)((longlong)puVar1 + (ulonglong)puVar1[0x1f] * 2 + 0x88) = uVar18; + puVar1[0x1f] = puVar1[0x1f] + 1; + } + uVar10 = 0x10; + } + } while (puVar1[0x1f] < puVar1[0x1e] + puVar1[0x1d]); + } + uVar17 = (ulonglong)local_res20; + uVar13 = (ulonglong)local_res18; + uVar10 = 0x10; + uVar12 = 7; + } while (*puVar1 == 0x1b); + *(uint **)(puVar1 + 0x20) = puVar1 + 0x152; + *(uint **)(puVar1 + 0x16) = puVar1 + 0x152; + puVar1[0x1a] = 9; + uVar4 = FUN_1400ea034(1,(ushort *)(puVar1 + 0x22),puVar1[0x1d],(longlong *)(puVar1 + 0x20), + puVar1 + 0x1a,(undefined *)(puVar1 + 0xc2)); + local_res8 = (int)uVar4; + if (local_res8 != 0) { + param_1[4] = (longlong)"invalid literal/lengths set"; + *puVar1 = 0x1b; + puVar16 = local_58; + goto LAB_1400e64ad; + } + *(undefined8 *)(puVar1 + 0x18) = *(undefined8 *)(puVar1 + 0x20); + puVar1[0x1b] = 6; + uVar4 = FUN_1400ea034(2,(ushort *)((longlong)puVar1 + (ulonglong)puVar1[0x1d] * 2 + 0x88), + puVar1[0x1e],(longlong *)(puVar1 + 0x20),puVar1 + 0x1b, + (undefined *)(puVar1 + 0xc2)); + uVar17 = (ulonglong)local_res20; + uVar13 = (ulonglong)local_res18; + uVar21 = 0; + local_res8 = (int)uVar4; + puVar19 = local_50; + puVar16 = local_58; + if (local_res8 != 0) { + pcVar5 = "invalid distances set"; + goto LAB_1400e6516; + } + *puVar1 = 0x12; + uVar24 = local_res18; + uVar12 = local_res20; +LAB_1400e6d81: + if ((5 < uVar25) && (0x101 < uVar24)) { + param_1[2] = (longlong)puVar19; + *(uint *)(param_1 + 3) = uVar24; + *param_1 = (longlong)puVar16; + *(uint *)(param_1 + 1) = uVar25; + puVar1[0x10] = uVar23; + puVar1[0x11] = uVar14; + FUN_1400e9bd4(param_1,uVar12); + local_58 = (uint *)*param_1; + local_50 = (undefined1 *)param_1[2]; + local_res18 = *(uint *)(param_1 + 3); + uVar25 = *(uint *)(param_1 + 1); + uVar23 = puVar1[0x10]; + uVar14 = puVar1[0x11]; +LAB_1400e66b2: + uVar13 = (ulonglong)local_res18; + uVar17 = (ulonglong)local_res20; + goto LAB_1400e5f6e; + } + uVar9 = *(uint *)(*(longlong *)(puVar1 + 0x16) + + (ulonglong)((1 << ((byte)puVar1[0x1a] & 0x1f)) - 1U & uVar23) * 4); + for (; uVar14 < (uVar9 >> 8 & 0xff); uVar14 = uVar14 + 8) { + uVar12 = uVar25; + uVar9 = local_64; + if (uVar25 == 0) goto LAB_1400e63d6; + uVar12 = *puVar16; + puVar16 = (uint *)((longlong)puVar16 + 1); + uVar25 = uVar25 - 1; + uVar23 = uVar23 + ((uint)(byte)uVar12 << ((byte)uVar14 & 0x1f)); + uVar9 = *(uint *)(*(longlong *)(puVar1 + 0x16) + + (ulonglong)((1 << ((byte)puVar1[0x1a] & 0x1f)) - 1U & uVar23) * 4); + local_58 = puVar16; + } + cVar2 = (char)uVar9; + uVar12 = uVar9; + if ((cVar2 != '\0') && ((uVar9 & 0xf0) == 0)) { + bVar6 = (byte)(uVar9 >> 8); + uVar12 = *(uint *)(*(longlong *)(puVar1 + 0x16) + + (ulonglong) + ((((1 << (cVar2 + bVar6 & 0x1f)) - 1U & uVar23) >> (bVar6 & 0x1f)) + + (uVar9 >> 0x10)) * 4); + uVar3 = (uVar12 >> 8 & 0xff) + (uVar9 >> 8 & 0xff); + for (; uVar14 < uVar3; uVar14 = uVar14 + 8) { + uVar12 = uVar25; + if (uVar25 == 0) goto LAB_1400e63d6; + uVar23 = uVar23 + ((uint)(byte)*puVar16 << ((byte)uVar14 & 0x1f)); + puVar16 = (uint *)((longlong)puVar16 + 1); + uVar25 = uVar25 - 1; + uVar12 = *(uint *)(*(longlong *)(puVar1 + 0x16) + + (ulonglong) + ((((1 << (cVar2 + bVar6 & 0x1f)) - 1U & uVar23) >> (bVar6 & 0x1f)) + + (uVar9 >> 0x10)) * 4); + uVar3 = (uVar12 >> 8 & 0xff) + (uint)bVar6; + local_58 = puVar16; + } + uVar23 = uVar23 >> (bVar6 & 0x1f); + uVar14 = uVar14 - bVar6; + local_64 = uVar9; + } + uVar23 = uVar23 >> ((byte)(uVar12 >> 8) & 0x1f); + uVar14 = uVar14 - (uVar12 >> 8 & 0xff); + puVar1[0x12] = uVar12 >> 0x10; + if ((char)uVar12 == '\0') { + *puVar1 = 0x17; + goto LAB_1400e64ad; + } + if ((uVar12 & 0x20) != 0) { + *puVar1 = 0xb; + goto LAB_1400e64ad; + } + if ((uVar12 & 0x40) != 0) { + param_1[4] = (longlong)"invalid literal/length code"; + *puVar1 = 0x1b; + goto LAB_1400e64ad; + } + *puVar1 = 0x13; + puVar1[0x14] = uVar12 & 0xf; +LAB_1400e6f56: + uVar3 = puVar1[0x14]; + if (uVar3 != 0) { + if (uVar14 < uVar3) { + do { + uVar12 = 0; + uVar9 = local_64; + if (uVar25 == 0) goto LAB_1400e63d6; + uVar12 = *puVar16; + puVar16 = (uint *)((longlong)puVar16 + 1); + bVar6 = (byte)uVar14; + uVar14 = uVar14 + 8; + uVar25 = uVar25 - 1; + uVar23 = uVar23 + ((uint)(byte)uVar12 << (bVar6 & 0x1f)); + local_58 = puVar16; + } while (uVar14 < puVar1[0x14]); + } + uVar12 = (1 << ((byte)uVar3 & 0x1f)) - 1U & uVar23; + uVar23 = uVar23 >> ((byte)uVar3 & 0x1f); + puVar1[0x12] = puVar1[0x12] + uVar12; + uVar14 = uVar14 - uVar3; + } + *puVar1 = 0x14; +LAB_1400e6fa4: + uVar9 = *(uint *)(*(longlong *)(puVar1 + 0x18) + + (ulonglong)((1 << ((byte)puVar1[0x1b] & 0x1f)) - 1U & uVar23) * 4); + for (; uVar14 < (uVar9 >> 8 & 0xff); uVar14 = uVar14 + 8) { + uVar12 = uVar25; + uVar9 = local_64; + if (uVar25 == 0) goto LAB_1400e63d6; + uVar12 = *puVar16; + puVar16 = (uint *)((longlong)puVar16 + 1); + uVar25 = uVar25 - 1; + uVar23 = uVar23 + ((uint)(byte)uVar12 << ((byte)uVar14 & 0x1f)); + uVar9 = *(uint *)(*(longlong *)(puVar1 + 0x18) + + (ulonglong)((1 << ((byte)puVar1[0x1b] & 0x1f)) - 1U & uVar23) * 4); + local_58 = puVar16; + } + uVar12 = uVar9; + if ((uVar9 & 0xf0) == 0) { + bVar6 = (byte)(uVar9 >> 8); + uVar12 = *(uint *)(*(longlong *)(puVar1 + 0x18) + + (ulonglong) + ((((1 << ((char)uVar9 + bVar6 & 0x1f)) - 1U & uVar23) >> (bVar6 & 0x1f)) + + (uVar9 >> 0x10)) * 4); + uVar3 = (uVar12 >> 8 & 0xff) + (uVar9 >> 8 & 0xff); + for (; uVar14 < uVar3; uVar14 = uVar14 + 8) { + uVar12 = uVar25; + if (uVar25 == 0) goto LAB_1400e63d6; + uVar23 = uVar23 + ((uint)(byte)*puVar16 << ((byte)uVar14 & 0x1f)); + puVar16 = (uint *)((longlong)puVar16 + 1); + uVar25 = uVar25 - 1; + uVar12 = *(uint *)(*(longlong *)(puVar1 + 0x18) + + (ulonglong) + ((((1 << ((char)uVar9 + bVar6 & 0x1f)) - 1U & uVar23) >> (bVar6 & 0x1f)) + + (uVar9 >> 0x10)) * 4); + uVar3 = (uVar12 >> 8 & 0xff) + (uint)bVar6; + local_58 = puVar16; + } + uVar23 = uVar23 >> (bVar6 & 0x1f); + uVar14 = uVar14 - bVar6; + local_64 = uVar9; + } + uVar17 = (ulonglong)local_res20; + uVar13 = (ulonglong)local_res18; + uVar23 = uVar23 >> ((byte)(uVar12 >> 8) & 0x1f); + uVar14 = uVar14 - (uVar12 >> 8 & 0xff); + if ((uVar12 & 0x40) != 0) { + param_1[4] = (longlong)"invalid distance code"; + *puVar1 = 0x1b; + goto LAB_1400e6888; + } + *puVar1 = 0x15; + puVar1[0x13] = uVar12 >> 0x10; + uVar21 = 0; + puVar1[0x14] = uVar12 & 0xf; + puVar19 = local_50; +LAB_1400e7110: + uVar24 = (uint)uVar13; + uVar3 = puVar1[0x14]; + if (uVar3 != 0) { + if (uVar14 < uVar3) { + do { + uVar12 = 0; + uVar9 = local_64; + if (uVar25 == 0) goto LAB_1400e63d6; + uVar12 = *puVar16; + puVar16 = (uint *)((longlong)puVar16 + 1); + bVar6 = (byte)uVar14; + uVar14 = uVar14 + 8; + uVar25 = uVar25 - 1; + uVar23 = uVar23 + ((uint)(byte)uVar12 << (bVar6 & 0x1f)); + local_58 = puVar16; + } while (uVar14 < puVar1[0x14]); + } + uVar12 = (1 << ((byte)uVar3 & 0x1f)) - 1U & uVar23; + uVar23 = uVar23 >> ((byte)uVar3 & 0x1f); + puVar1[0x13] = puVar1[0x13] + uVar12; + uVar14 = uVar14 - uVar3; + } + if ((puVar1[0xc] - uVar24) + (int)uVar17 < puVar1[0x13]) { + pcVar5 = "invalid distance too far back"; + goto LAB_1400e6516; + } + *puVar1 = 0x16; +LAB_1400e7178: + uVar12 = uVar25; + uVar9 = local_64; + if (uVar24 == 0) goto LAB_1400e63d6; + uVar3 = puVar1[0x13]; + uVar12 = (int)uVar17 - uVar24; + if (uVar12 < uVar3) { + uVar3 = uVar3 - uVar12; + uVar9 = puVar1[0xd]; + if (uVar9 < uVar3) { + uVar3 = uVar3 - uVar9; + uVar9 = puVar1[0xb] - uVar3; + } + else { + uVar9 = uVar9 - uVar3; + } + uVar12 = puVar1[0x12]; + lVar11 = (ulonglong)uVar9 + *(longlong *)(puVar1 + 0xe); + if (uVar3 <= uVar12) goto LAB_1400e71c8; + } + else { + lVar11 = (longlong)puVar19 - (ulonglong)uVar3; + uVar12 = puVar1[0x12]; + } + uVar3 = uVar12; + uVar12 = uVar3; +LAB_1400e71c8: + if (uVar24 < uVar3) { + uVar3 = uVar24; + } + local_res18 = uVar24 - uVar3; + uVar13 = (ulonglong)local_res18; + lVar11 = lVar11 - (longlong)puVar19; + puVar1[0x12] = uVar12 - uVar3; + do { + uVar12 = uVar3; + *puVar19 = puVar19[lVar11]; + puVar19 = puVar19 + 1; + uVar3 = uVar12 - 1; + } while (uVar12 - 1 != 0); + uVar10 = (ulonglong)(uVar12 + 0xf); + uVar12 = uVar12 + 6; + local_50 = puVar19; + if (puVar1[0x12] == (uint)uVar21) { + *puVar1 = 0x12; + } + goto LAB_1400e5f80; +LAB_1400e7270: + if (0x1f < uVar14) goto code_r0x0001400e7275; + uVar12 = uVar25; + if (uVar25 == 0) goto LAB_1400e63d6; + uVar12 = *puVar16; + puVar16 = (uint *)((longlong)puVar16 + 1); + uVar25 = uVar25 - 1; + uVar23 = uVar23 + ((uint)(byte)uVar12 << ((byte)uVar14 & 0x1f)); + uVar14 = uVar14 + 8; + local_58 = puVar16; + goto LAB_1400e7270; +code_r0x0001400e7275: + uVar24 = (uint)uVar17 - uVar24; + *(int *)((longlong)param_1 + 0x1c) = *(int *)((longlong)param_1 + 0x1c) + uVar24; + puVar1[7] = puVar1[7] + uVar24; + if (uVar24 != 0) { + if (puVar1[4] == uVar20) { + uVar12 = FUN_1400ea49c(puVar1[6],puVar19 + -(ulonglong)uVar24,uVar24); + } + else { + uVar12 = FUN_1400eb028(puVar1[6],(uint *)(puVar19 + -(ulonglong)uVar24),uVar24); + } + uVar13 = (ulonglong)local_res18; + uVar21 = 0; + puVar1[6] = uVar12; + uVar10 = 0x10; + *(uint *)((longlong)param_1 + 0x4c) = uVar12; + puVar19 = local_50; + } + local_res20 = (uint)uVar13; + uVar17 = uVar13 & 0xffffffff; + uVar12 = (uint)uVar21; + uVar9 = ((uVar23 & 0xff00) + uVar23 * 0x10000) * 0x100 + (uVar23 >> 8 & 0xff00) + (uVar23 >> 0x18) + ; + if (puVar1[4] != uVar12) { + uVar9 = uVar23; + } + uVar3 = uVar12; + if (uVar9 == puVar1[6]) { +LAB_1400e7308: + uVar14 = uVar3; + uVar23 = uVar12; + *puVar1 = 0x19; +LAB_1400e730e: + uVar24 = (uint)uVar21; + uVar12 = uVar23; + uVar3 = uVar14; + if ((puVar1[2] != uVar24) && (puVar1[4] != uVar24)) { + for (; uVar14 < 0x20; uVar14 = uVar14 + 8) { + uVar12 = uVar25; + uVar9 = local_64; + if (uVar25 == 0) goto LAB_1400e63d6; + uVar12 = *puVar16; + puVar16 = (uint *)((longlong)puVar16 + 1); + uVar25 = uVar25 - 1; + uVar23 = uVar23 + ((uint)(byte)uVar12 << ((byte)uVar14 & 0x1f)); + local_58 = puVar16; + } + uVar12 = uVar24; + uVar3 = uVar24; + if (uVar23 != puVar1[7]) { + pcVar5 = "incorrect length check"; + goto LAB_1400e6580; + } + } + uVar14 = uVar3; + uVar23 = uVar12; + *puVar1 = 0x1a; +LAB_1400e73b4: + local_res8 = 1; + uVar12 = uVar25; + uVar9 = local_64; +LAB_1400e63d6: + local_64 = uVar9; + *(uint *)(param_1 + 1) = uVar12; + param_1[2] = (longlong)local_50; + *(uint *)(param_1 + 3) = local_res18; + *param_1 = (longlong)local_58; + puVar1[0x10] = uVar23; + iVar22 = 0; + puVar1[0x11] = uVar14; + if (((puVar1[0xb] != 0) || (((int)*puVar1 < 0x18 && (local_res20 != *(uint *)(param_1 + 3))))) + && (uVar4 = FUN_1400e5dd8((longlong)param_1,local_res20), (int)uVar4 != 0)) { + *puVar1 = 0x1c; + return -4; + } + local_res20 = local_res20 - (int)param_1[3]; + iVar15 = local_60 - (int)param_1[1]; + *(int *)((longlong)param_1 + 0x1c) = *(int *)((longlong)param_1 + 0x1c) + local_res20; + *(int *)((longlong)param_1 + 0xc) = *(int *)((longlong)param_1 + 0xc) + iVar15; + puVar1[7] = puVar1[7] + local_res20; + if ((puVar1[2] != 0) && (local_res20 != 0)) { + if (puVar1[4] == 0) { + uVar25 = FUN_1400ea49c(puVar1[6],(byte *)(param_1[2] - (ulonglong)local_res20),local_res20); + } + else { + uVar25 = FUN_1400eb028(puVar1[6],(uint *)(param_1[2] - (ulonglong)local_res20),local_res20); + } + puVar1[6] = uVar25; + *(uint *)((longlong)param_1 + 0x4c) = uVar25; + } + if (*puVar1 == 0xb) { + iVar22 = 0x80; + } + *(uint *)(param_1 + 9) = (-(uint)(puVar1[1] != 0) & 0x40) + iVar22 + puVar1[0x11]; + if (((iVar15 != 0) || (local_res20 != 0)) && (param_2 != 4)) { + return local_res8; + } + if (local_res8 == 0) { + return -5; + } + return local_res8; + } + pcVar5 = "incorrect data check"; + goto LAB_1400e6580; +LAB_1400e6462: + uVar23 = uVar3; + if (uVar8 <= uVar14) goto code_r0x0001400e6466; + uVar12 = uVar25; + if (uVar25 == 0) goto LAB_1400e63d6; + uVar23 = *puVar16; + puVar16 = (uint *)((longlong)puVar16 + 1); + uVar25 = uVar25 - 1; + uVar3 = uVar3 + ((uint)(byte)uVar23 << ((byte)uVar14 & 0x1f)); + uVar14 = uVar14 + 8; + local_58 = puVar16; + goto LAB_1400e6462; +code_r0x0001400e6466: + if (((puVar1[2] & 2) != 0) && (uVar3 == 0x8b1f)) { + uVar23 = FUN_1400eb028(0,(uint *)0x0,0); + puVar1[6] = uVar23; + local_68 = 0x8b1f; + uVar23 = FUN_1400eb028(puVar1[6],(uint *)&local_68,2); + *puVar1 = 1; + puVar1[6] = uVar23; +LAB_1400e64a4: + uVar23 = 0; + uVar14 = uVar23; +LAB_1400e64ad: + uVar21 = 0; + puVar19 = local_50; +LAB_1400e64b1: + uVar17 = (ulonglong)local_res20; + uVar13 = (ulonglong)local_res18; +LAB_1400e64b9: + uVar10 = 0x10; + goto LAB_1400e5f7b; + } + puVar1[4] = uVar20; + if (*(longlong *)(puVar1 + 8) != 0) { + *(undefined4 *)(*(longlong *)(puVar1 + 8) + 0x40) = 0xffffffff; + } + if ((puVar1[2] & 1) != 0) { + uVar12 = (uVar3 & 0xff) * 0x100 + (uVar3 >> 8); + if (uVar12 == (uVar12 / 0x1f) * 0x1f) { + if (((byte)uVar3 & 0xf) == 8) { + uVar23 = uVar3 >> 4; + uVar14 = uVar14 - 4; + uVar12 = (uVar23 & 0xf) + 8; + if (uVar12 <= puVar1[10]) { + puVar1[5] = 1 << (sbyte)uVar12; + uVar23 = FUN_1400ea49c(0,(byte *)0x0,0); + puVar1[6] = uVar23; + *(uint *)((longlong)param_1 + 0x4c) = uVar23; + *puVar1 = ~(uVar3 >> 0xc) & 2 | 9; + goto LAB_1400e64a4; + } + pcVar5 = "invalid window size"; + } + else { + pcVar5 = "unknown compression method"; + } +LAB_1400e6516: + param_1[4] = (longlong)pcVar5; + *puVar1 = 0x1b; + goto LAB_1400e64b9; + } + uVar10 = 0x10; + } + pcVar5 = "incorrect header check"; + goto LAB_1400e6580; +LAB_1400e600b: + if (uVar8 <= uVar14) goto code_r0x0001400e600f; + uVar12 = uVar25; + if (uVar25 == 0) goto LAB_1400e63d6; + uVar12 = *puVar16; + puVar16 = (uint *)((longlong)puVar16 + 1); + uVar25 = uVar25 - 1; + uVar23 = uVar23 + ((uint)(byte)uVar12 << ((byte)uVar14 & 0x1f)); + uVar14 = uVar14 + 8; + local_58 = puVar16; + goto LAB_1400e600b; +code_r0x0001400e600f: + puVar1[4] = uVar23; + if ((char)uVar23 == '\b') { + if ((uVar23 & 0xe000) == 0) { + if (*(uint **)(puVar1 + 8) != (uint *)0x0) { + **(uint **)(puVar1 + 8) = uVar23 >> 8 & 1; + } + if ((puVar1[4] & 0x200) != 0) { + local_68 = (undefined2)uVar23; + uVar23 = FUN_1400eb028(puVar1[6],(uint *)&local_68,2); + uVar21 = 0; + puVar1[6] = uVar23; + } + uVar23 = (uint)uVar21; + *puVar1 = 2; + uVar14 = uVar23; +LAB_1400e60ab: + do { + if (0x1f < uVar14) goto code_r0x0001400e60b0; + uVar12 = uVar25; + uVar9 = local_64; + if (uVar25 == 0) goto LAB_1400e63d6; + uVar12 = *puVar16; + puVar16 = (uint *)((longlong)puVar16 + 1); + uVar25 = uVar25 - 1; + uVar23 = uVar23 + ((uint)(byte)uVar12 << ((byte)uVar14 & 0x1f)); + uVar14 = uVar14 + 8; + local_58 = puVar16; + } while( true ); + } + pcVar5 = "unknown header flags set"; + } + else { + pcVar5 = "unknown compression method"; + } +LAB_1400e6580: + param_1[4] = (longlong)pcVar5; + *puVar1 = 0x1b; + goto LAB_1400e5f7b; +code_r0x0001400e60b0: + if (*(longlong *)(puVar1 + 8) != 0) { + *(uint *)(*(longlong *)(puVar1 + 8) + 4) = uVar23; + } + if ((puVar1[4] & 0x200) != 0) { + local_68 = (undefined2)uVar23; + local_65 = (undefined1)(uVar23 >> 0x18); + local_66 = (undefined1)(uVar23 >> 0x10); + uVar23 = FUN_1400eb028(puVar1[6],(uint *)&local_68,4); + uVar21 = 0; + puVar1[6] = uVar23; + } + uVar23 = (uint)uVar21; + *puVar1 = 3; + uVar10 = 0x10; + uVar14 = uVar23; +LAB_1400e6131: + do { + uVar8 = (uint)uVar10; + if (uVar8 <= uVar14) break; + uVar12 = uVar25; + uVar9 = local_64; + if (uVar25 == 0) goto LAB_1400e63d6; + uVar12 = *puVar16; + puVar16 = (uint *)((longlong)puVar16 + 1); + uVar25 = uVar25 - 1; + uVar23 = uVar23 + ((uint)(byte)uVar12 << ((byte)uVar14 & 0x1f)); + uVar14 = uVar14 + 8; + local_58 = puVar16; + } while( true ); + if (*(longlong *)(puVar1 + 8) != 0) { + *(uint *)(*(longlong *)(puVar1 + 8) + 8) = uVar23 & 0xff; + *(uint *)(*(longlong *)(puVar1 + 8) + 0xc) = uVar23 >> 8; + } + if ((puVar1[4] & 0x200) != 0) { + local_68 = (undefined2)uVar23; + uVar23 = FUN_1400eb028(puVar1[6],(uint *)&local_68,2); + uVar21 = 0; + puVar1[6] = uVar23; + uVar8 = 0x10; + } + uVar23 = (uint)uVar21; + *puVar1 = 4; + uVar14 = uVar23; +LAB_1400e618f: + if ((puVar1[4] & 0x400) == 0) { + if (*(longlong *)(puVar1 + 8) != 0) { + *(ulonglong *)(*(longlong *)(puVar1 + 8) + 0x10) = uVar21; + } + } + else { + for (; uVar14 < uVar8; uVar14 = uVar14 + 8) { + uVar12 = uVar25; + uVar9 = local_64; + if (uVar25 == 0) goto LAB_1400e63d6; + uVar12 = *puVar16; + puVar16 = (uint *)((longlong)puVar16 + 1); + uVar25 = uVar25 - 1; + uVar23 = uVar23 + ((uint)(byte)uVar12 << ((byte)uVar14 & 0x1f)); + local_58 = puVar16; + } + puVar1[0x12] = uVar23; + if (*(longlong *)(puVar1 + 8) != 0) { + *(uint *)(*(longlong *)(puVar1 + 8) + 0x18) = uVar23; + } + if ((puVar1[4] & 0x200) != 0) { + local_68 = (undefined2)uVar23; + uVar23 = FUN_1400eb028(puVar1[6],(uint *)&local_68,2); + uVar21 = 0; + puVar1[6] = uVar23; + } + uVar23 = (uint)uVar21; + uVar14 = uVar23; + } + *puVar1 = 5; +LAB_1400e61af: + if ((puVar1[4] & 0x400) != 0) { + uVar12 = puVar1[0x12]; + if (uVar25 < puVar1[0x12]) { + uVar12 = uVar25; + } + if (uVar12 != 0) { + lVar11 = *(longlong *)(puVar1 + 8); + if ((lVar11 != 0) && (*(longlong *)(lVar11 + 0x10) != 0)) { + uVar9 = *(int *)(lVar11 + 0x18) - puVar1[0x12]; + uVar3 = uVar12; + if (*(uint *)(lVar11 + 0x1c) < uVar12 + uVar9) { + uVar3 = *(uint *)(lVar11 + 0x1c) - uVar9; + } + memcpy((void *)((ulonglong)uVar9 + *(longlong *)(lVar11 + 0x10)),puVar16,(ulonglong)uVar3); + } + if ((puVar1[4] & 0x200) != 0) { + uVar3 = FUN_1400eb028(puVar1[6],puVar16,uVar12); + puVar1[6] = uVar3; + } + puVar1[0x12] = puVar1[0x12] - uVar12; + uVar25 = uVar25 - uVar12; + puVar16 = (uint *)((longlong)puVar16 + (ulonglong)uVar12); + uVar21 = 0; + local_58 = puVar16; + } + uVar12 = uVar25; + uVar9 = local_64; + if (puVar1[0x12] != (uint)uVar21) goto LAB_1400e63d6; + } + puVar1[0x12] = (uint)uVar21; + *puVar1 = 6; +LAB_1400e62bd: + if ((puVar1[4] & 0x800) == 0) { + if (*(longlong *)(puVar1 + 8) != 0) { + *(ulonglong *)(*(longlong *)(puVar1 + 8) + 0x20) = uVar21; + } + } + else { + uVar12 = uVar25; + uVar9 = local_64; + if (uVar25 == 0) goto LAB_1400e63d6; + uVar13 = uVar21 & 0xffffffff; + do { + lVar11 = *(longlong *)(puVar1 + 8); + bVar6 = (byte)*puVar16; + uVar12 = (int)uVar13 + 1; + uVar13 = (ulonglong)uVar12; + puVar16 = (uint *)((longlong)puVar16 + 1); + if (((lVar11 != 0) && (*(longlong *)(lVar11 + 0x20) != 0)) && + (puVar1[0x12] < *(uint *)(lVar11 + 0x28))) { + *(byte *)((ulonglong)puVar1[0x12] + *(longlong *)(lVar11 + 0x20)) = bVar6; + puVar1[0x12] = puVar1[0x12] + 1; + } + } while ((bVar6 != 0) && (uVar12 < uVar25)); + if ((puVar1[4] & 0x200) != 0) { + uVar3 = FUN_1400eb028(puVar1[6],local_58,uVar12); + uVar21 = 0; + puVar1[6] = uVar3; + } + uVar25 = uVar25 - uVar12; + puVar16 = (uint *)((longlong)local_58 + uVar13); + uVar12 = uVar25; + uVar9 = local_64; + local_58 = puVar16; + if (bVar6 != 0) goto LAB_1400e63d6; + } + puVar1[0x12] = (uint)uVar21; + *puVar1 = 7; +LAB_1400e6356: + if ((puVar1[4] & 0x1000) == 0) { + if (*(longlong *)(puVar1 + 8) != 0) { + *(ulonglong *)(*(longlong *)(puVar1 + 8) + 0x30) = uVar21; + } + } + else { + uVar12 = uVar25; + uVar9 = local_64; + if (uVar25 == 0) goto LAB_1400e63d6; + uVar13 = uVar21 & 0xffffffff; + do { + lVar11 = *(longlong *)(puVar1 + 8); + bVar6 = (byte)*puVar16; + uVar12 = (int)uVar13 + 1; + uVar13 = (ulonglong)uVar12; + puVar16 = (uint *)((longlong)puVar16 + 1); + if (((lVar11 != 0) && (*(longlong *)(lVar11 + 0x30) != 0)) && + (puVar1[0x12] < *(uint *)(lVar11 + 0x38))) { + *(byte *)((ulonglong)puVar1[0x12] + *(longlong *)(lVar11 + 0x30)) = bVar6; + puVar1[0x12] = puVar1[0x12] + 1; + } + } while ((bVar6 != 0) && (uVar12 < uVar25)); + if ((puVar1[4] & 0x200) != 0) { + uVar3 = FUN_1400eb028(puVar1[6],local_58,uVar12); + uVar21 = 0; + puVar1[6] = uVar3; + } + uVar25 = uVar25 - uVar12; + local_58 = (uint *)((longlong)local_58 + uVar13); + uVar12 = uVar25; + uVar9 = local_64; + if (bVar6 != 0) goto LAB_1400e63d6; + } + uVar17 = (ulonglong)local_res20; + uVar13 = (ulonglong)local_res18; + *puVar1 = 8; + uVar10 = 0x10; + puVar19 = local_50; + puVar16 = local_58; +LAB_1400e65ba: + if ((puVar1[4] & 0x200) != 0) { + for (; uVar14 < (uint)uVar10; uVar14 = uVar14 + 8) { + uVar12 = uVar25; + uVar9 = local_64; + if (uVar25 == 0) goto LAB_1400e63d6; + uVar12 = *puVar16; + puVar16 = (uint *)((longlong)puVar16 + 1); + uVar25 = uVar25 - 1; + uVar23 = uVar23 + ((uint)(byte)uVar12 << ((byte)uVar14 & 0x1f)); + local_58 = puVar16; + } + if (uVar23 != (ushort)puVar1[6]) { + pcVar5 = "header crc mismatch"; + goto LAB_1400e6580; + } + uVar23 = (uint)uVar21; + uVar14 = uVar23; + } + if (*(longlong *)(puVar1 + 8) != 0) { + *(uint *)(*(longlong *)(puVar1 + 8) + 0x3c) = (int)puVar1[4] >> 9 & 1; + *(undefined4 *)(*(longlong *)(puVar1 + 8) + 0x40) = 1; + } + uVar12 = FUN_1400eb028(0,(uint *)0x0,0); + puVar1[6] = uVar12; + *(uint *)((longlong)param_1 + 0x4c) = uVar12; + *puVar1 = 0xb; +LAB_1400e6888: + uVar13 = (ulonglong)local_res18; + uVar17 = (ulonglong)local_res20; + uVar21 = 0; + puVar19 = local_50; + goto LAB_1400e64b9; +LAB_1400e679e: + if (2 < uVar14) goto code_r0x0001400e67a3; + uVar12 = uVar25; + uVar9 = local_64; + if (uVar25 == 0) goto LAB_1400e63d6; + uVar12 = *puVar16; + puVar16 = (uint *)((longlong)puVar16 + 1); + uVar25 = uVar25 - 1; + uVar23 = uVar23 + ((uint)(byte)uVar12 << ((byte)uVar14 & 0x1f)); + uVar14 = uVar14 + 8; + local_58 = puVar16; + goto LAB_1400e679e; +code_r0x0001400e67a3: + puVar1[1] = uVar23 & 1; + uVar12 = uVar23 >> 1 & 3; + if (uVar12 == 0) { + *puVar1 = 0xd; + } + else if (uVar12 == 1) { + FUN_1400e5da8((longlong)puVar1); + *puVar1 = 0x12; + } + else if (uVar12 == 2) { + *puVar1 = 0xf; + } + else if (uVar12 == 3) { + param_1[4] = (longlong)"invalid block type"; + *puVar1 = 0x1b; + } + uVar23 = uVar23 >> 3; + uVar14 = uVar14 - 3; + goto LAB_1400e5f7b; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e7458.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e7458.c new file mode 100644 index 00000000..dfd1bdee --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e7458.c @@ -0,0 +1,24 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e7458 FUN_1400e7458 + * Pseudocode, not original source. */ + +undefined8 FUN_1400e7458(longlong param_1) + +{ + undefined8 uVar1; + + if (((param_1 == 0) || (*(longlong *)(param_1 + 0x28) == 0)) || + (*(code **)(param_1 + 0x38) == (code *)0x0)) { + uVar1 = 0xfffffffe; + } + else { + if (*(longlong *)(*(longlong *)(param_1 + 0x28) + 0x38) != 0) { + (**(code **)(param_1 + 0x38))(*(undefined8 *)(param_1 + 0x40)); + } + (**(code **)(param_1 + 0x38))(*(undefined8 *)(param_1 + 0x40),*(undefined8 *)(param_1 + 0x28)); + *(undefined8 *)(param_1 + 0x28) = 0; + uVar1 = 0; + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e74b8.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e74b8.c new file mode 100644 index 00000000..8662d050 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e74b8.c @@ -0,0 +1,50 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e74b8 FUN_1400e74b8 + * Pseudocode, not original source. */ + +undefined8 FUN_1400e74b8(longlong param_1,byte *param_2,uint param_3) + +{ + int *piVar1; + ulonglong _Size; + uint uVar2; + undefined8 uVar3; + + _Size = (ulonglong)param_3; + if ((param_1 == 0) || (piVar1 = *(int **)(param_1 + 0x28), piVar1 == (int *)0x0)) { + return 0xfffffffe; + } + if (piVar1[2] == 0) { + if (*piVar1 != 10) goto LAB_1400e7532; + } + else if (*piVar1 != 10) { + return 0xfffffffe; + } + uVar2 = FUN_1400ea49c(0,(byte *)0x0,0); + uVar2 = FUN_1400ea49c(uVar2,param_2,param_3); + if (uVar2 != piVar1[6]) { + return 0xfffffffd; + } +LAB_1400e7532: + uVar3 = FUN_1400e5dd8(param_1,*(int *)(param_1 + 0x18)); + if ((int)uVar3 == 0) { + if ((uint)piVar1[0xb] < param_3) { + memcpy(*(void **)(piVar1 + 0xe),param_2 + (_Size - (uint)piVar1[0xb]), + (ulonglong)(uint)piVar1[0xb]); + piVar1[0xc] = piVar1[0xb]; + } + else { + memcpy((void *)((longlong)*(void **)(piVar1 + 0xe) + ((uint)piVar1[0xb] - _Size)),param_2, + _Size); + piVar1[0xc] = param_3; + } + piVar1[3] = 1; + uVar3 = 0; + } + else { + *piVar1 = 0x1c; + uVar3 = 0xfffffffc; + } + return uVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e75d8.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e75d8.c new file mode 100644 index 00000000..ac86220c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e75d8.c @@ -0,0 +1,32 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e75d8 FUN_1400e75d8 + * Pseudocode, not original source. */ + +uint FUN_1400e75d8(uint *param_1,byte *param_2,uint param_3) + +{ + uint uVar1; + uint uVar2; + + uVar1 = *param_1; + uVar2 = 0; + if (param_3 != 0) { + do { + if (3 < uVar1) break; + if (*param_2 == (byte)~-(uVar1 < 2)) { + uVar1 = uVar1 + 1; + } + else if (*param_2 == 0) { + uVar1 = 4 - uVar1; + } + else { + uVar1 = 0; + } + uVar2 = uVar2 + 1; + param_2 = param_2 + 1; + } while (uVar2 < param_3); + } + *param_1 = uVar1; + return uVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e7638.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e7638.c new file mode 100644 index 00000000..e6bb5990 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e7638.c @@ -0,0 +1,67 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e7638 FUN_1400e7638 + * Pseudocode, not original source. */ + +undefined8 FUN_1400e7638(longlong *param_1) + +{ + int *piVar1; + undefined8 uVar2; + uint uVar3; + uint uVar4; + uint uVar5; + undefined4 uVar6; + undefined4 uVar7; + byte *pbVar8; + byte local_res8 [8]; + + if ((param_1 == (longlong *)0x0) || (piVar1 = (int *)param_1[5], piVar1 == (int *)0x0)) { + uVar2 = 0xfffffffe; + } + else if (((int)param_1[1] == 0) && ((uint)piVar1[0x11] < 8)) { + uVar2 = 0xfffffffb; + } + else { + if (*piVar1 != 0x1d) { + uVar5 = 0; + *piVar1 = 0x1d; + uVar3 = piVar1[0x11] & 7; + piVar1[0x10] = piVar1[0x10] << (sbyte)uVar3; + uVar3 = piVar1[0x11] - uVar3; + piVar1[0x11] = uVar3; + if (7 < uVar3) { + uVar4 = piVar1[0x10]; + pbVar8 = local_res8; + do { + uVar3 = uVar3 - 8; + uVar4 = uVar4 >> 8; + *pbVar8 = *(byte *)(piVar1 + 0x10); + pbVar8 = pbVar8 + 1; + uVar5 = uVar5 + 1; + piVar1[0x10] = uVar4; + piVar1[0x11] = uVar3; + } while (7 < uVar3); + } + piVar1[0x1f] = 0; + FUN_1400e75d8((uint *)(piVar1 + 0x1f),local_res8,uVar5); + } + uVar3 = FUN_1400e75d8((uint *)(piVar1 + 0x1f),(byte *)*param_1,*(uint *)(param_1 + 1)); + *(int *)((longlong)param_1 + 0xc) = *(int *)((longlong)param_1 + 0xc) + uVar3; + *(uint *)(param_1 + 1) = (int)param_1[1] - uVar3; + uVar7 = *(undefined4 *)((longlong)param_1 + 0xc); + *param_1 = *param_1 + (ulonglong)uVar3; + if (piVar1[0x1f] == 4) { + uVar6 = *(undefined4 *)((longlong)param_1 + 0x1c); + FUN_1400e5bd8((longlong)param_1); + *(undefined4 *)((longlong)param_1 + 0xc) = uVar7; + *(undefined4 *)((longlong)param_1 + 0x1c) = uVar6; + *piVar1 = 0xb; + uVar2 = 0; + } + else { + uVar2 = 0xfffffffd; + } + } + return uVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e7768.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e7768.c new file mode 100644 index 00000000..03b73351 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e7768.c @@ -0,0 +1,53 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e7768 FUN_1400e7768 + * Pseudocode, not original source. */ + +undefined8 FUN_1400e7768(void *param_1,void *param_2) + +{ + void *_Src; + ulonglong uVar1; + void *_Dst; + void *_Dst_00; + + if ((((param_1 != (void *)0x0) && (param_2 != (void *)0x0)) && + (_Src = *(void **)((longlong)param_2 + 0x28), _Src != (void *)0x0)) && + ((*(code **)((longlong)param_2 + 0x30) != (code *)0x0 && + (*(longlong *)((longlong)param_2 + 0x38) != 0)))) { + _Dst = (void *)(**(code **)((longlong)param_2 + 0x30)) + (*(undefined8 *)((longlong)param_2 + 0x40),1,0x2548); + if (_Dst != (void *)0x0) { + _Dst_00 = (void *)0x0; + if ((*(longlong *)((longlong)_Src + 0x38) == 0) || + (_Dst_00 = (void *)(**(code **)((longlong)param_2 + 0x30)) + (*(undefined8 *)((longlong)param_2 + 0x40), + 1 << ((byte)*(undefined4 *)((longlong)_Src + 0x28) & 0x1f),1) + , _Dst_00 != (void *)0x0)) { + memcpy(param_1,param_2,0x58); + memcpy(_Dst,_Src,0x2548); + uVar1 = *(ulonglong *)((longlong)_Src + 0x58); + if (((longlong)_Src + 0x548U <= uVar1) && (uVar1 <= (longlong)_Src + 0x2544U)) { + *(longlong *)((longlong)_Dst + 0x58) = + (longlong)_Dst + ((longlong)((uVar1 - (longlong)_Src) + -0x548) >> 2) * 4 + 0x548; + *(longlong *)((longlong)_Dst + 0x60) = + (longlong)_Dst + + ((*(longlong *)((longlong)_Src + 0x60) - (longlong)_Src) + -0x548 >> 2) * 4 + 0x548; + } + *(longlong *)((longlong)_Dst + 0x80) = + (longlong)_Dst + + ((*(longlong *)((longlong)_Src + 0x80) - (longlong)_Src) + -0x548 >> 2) * 4 + 0x548; + if (_Dst_00 != (void *)0x0) { + memcpy(_Dst_00,*(void **)((longlong)_Src + 0x38), + (ulonglong)(uint)(1 << ((byte)*(undefined4 *)((longlong)_Src + 0x28) & 0x1f))); + } + *(void **)((longlong)_Dst + 0x38) = _Dst_00; + *(void **)((longlong)param_1 + 0x28) = _Dst; + return 0; + } + (**(code **)((longlong)param_2 + 0x38))(*(undefined8 *)((longlong)param_2 + 0x40),_Dst); + } + return 0xfffffffc; + } + return 0xfffffffe; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e78ec.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e78ec.c new file mode 100644 index 00000000..d63b5b8e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e78ec.c @@ -0,0 +1,63 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e78ec FUN_1400e78ec + * Pseudocode, not original source. */ + +undefined8 FUN_1400e78ec(longlong param_1,byte *param_2,uint param_3) + +{ + longlong lVar1; + longlong lVar2; + uint uVar3; + undefined8 uVar4; + ulonglong uVar5; + ulonglong uVar6; + ulonglong uVar7; + + uVar6 = 0; + if ((((param_1 == 0) || (lVar2 = *(longlong *)(param_1 + 0x28), lVar2 == 0)) || + (param_2 == (byte *)0x0)) || + ((*(int *)(lVar2 + 0x2c) == 2 || + ((*(int *)(lVar2 + 0x2c) == 1 && (*(int *)(lVar2 + 8) != 0x2a)))))) { + uVar4 = 0xfffffffe; + } + else { + if (*(int *)(lVar2 + 0x2c) != 0) { + uVar3 = FUN_1400ea49c(*(uint *)(param_1 + 0x4c),param_2,param_3); + *(uint *)(param_1 + 0x4c) = uVar3; + } + if (2 < param_3) { + uVar3 = *(int *)(lVar2 + 0x44) - 0x106; + if (uVar3 < param_3) { + param_2 = param_2 + (param_3 - uVar3); + param_3 = uVar3; + } + memcpy(*(void **)(lVar2 + 0x50),param_2,(ulonglong)param_3); + *(uint *)(lVar2 + 0x94) = param_3; + *(uint *)(lVar2 + 0x84) = param_3; + uVar3 = (uint)**(byte **)(lVar2 + 0x50); + *(uint *)(lVar2 + 0x70) = uVar3; + *(uint *)(lVar2 + 0x70) = + (uVar3 << ((byte)*(undefined4 *)(lVar2 + 0x80) & 0x1f) ^ + (uint)(*(byte **)(lVar2 + 0x50))[1]) & *(uint *)(lVar2 + 0x7c); + uVar7 = uVar6; + do { + lVar1 = uVar7 + 2; + uVar5 = *(uint *)(lVar2 + 0x4c) & uVar7; + uVar7 = uVar7 + 1; + uVar3 = ((uint)*(byte *)(lVar1 + *(longlong *)(lVar2 + 0x50)) ^ + *(int *)(lVar2 + 0x70) << ((byte)*(undefined4 *)(lVar2 + 0x80) & 0x1f)) & + *(uint *)(lVar2 + 0x7c); + *(uint *)(lVar2 + 0x70) = uVar3; + *(undefined2 *)(*(longlong *)(lVar2 + 0x60) + uVar5 * 2) = + *(undefined2 *)(*(longlong *)(lVar2 + 0x68) + (ulonglong)uVar3 * 2); + *(short *)(*(longlong *)(lVar2 + 0x68) + (ulonglong)*(uint *)(lVar2 + 0x70) * 2) = + (short)uVar6; + uVar3 = (int)uVar6 + 1; + uVar6 = (ulonglong)uVar3; + } while (uVar3 <= param_3 - 3); + } + uVar4 = 0; + } + return uVar4; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e7b3c.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e7b3c.c new file mode 100644 index 00000000..fad33be7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e7b3c.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e7b3c FUN_1400e7b3c + * Pseudocode, not original source. */ + +void FUN_1400e7b3c(longlong param_1,undefined4 param_2) + +{ + *(char *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + (char)((uint)param_2 >> 8); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(char *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = (char)param_2; + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e7b6c.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e7b6c.c new file mode 100644 index 00000000..e8ed8039 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e7b6c.c @@ -0,0 +1,34 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e7b6c FUN_1400e7b6c + * Pseudocode, not original source. */ + +void FUN_1400e7b6c(longlong param_1) + +{ + longlong *plVar1; + int *piVar2; + longlong lVar3; + uint uVar4; + + uVar4 = *(uint *)(*(longlong *)(param_1 + 0x28) + 0x28); + if (*(uint *)(param_1 + 0x18) < uVar4) { + uVar4 = *(uint *)(param_1 + 0x18); + } + if (uVar4 != 0) { + memcpy(*(void **)(param_1 + 0x10),*(void **)(*(longlong *)(param_1 + 0x28) + 0x20), + (ulonglong)uVar4); + *(longlong *)(param_1 + 0x10) = *(longlong *)(param_1 + 0x10) + (ulonglong)uVar4; + plVar1 = (longlong *)(*(longlong *)(param_1 + 0x28) + 0x20); + *plVar1 = *plVar1 + (ulonglong)uVar4; + *(int *)(param_1 + 0x1c) = *(int *)(param_1 + 0x1c) + uVar4; + *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) - uVar4; + piVar2 = (int *)(*(longlong *)(param_1 + 0x28) + 0x28); + *piVar2 = *piVar2 - uVar4; + lVar3 = *(longlong *)(param_1 + 0x28); + if (*(int *)(lVar3 + 0x28) == 0) { + *(undefined8 *)(lVar3 + 0x20) = *(undefined8 *)(lVar3 + 0x10); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e7bec.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e7bec.c new file mode 100644 index 00000000..a35975de --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e7bec.c @@ -0,0 +1,359 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e7bec FUN_1400e7bec + * Pseudocode, not original source. */ + +ulonglong FUN_1400e7bec(longlong *param_1,uint param_2) + +{ + byte bVar1; + int iVar2; + undefined8 *puVar3; + int *piVar4; + uint uVar5; + uint uVar6; + int iVar7; + undefined8 *puVar8; + undefined1 uVar9; + ulonglong uVar10; + ulonglong uVar11; + uint uVar12; + + if (((param_1 == (longlong *)0x0) || + (puVar3 = (undefined8 *)param_1[5], puVar3 == (undefined8 *)0x0)) || (4 < param_2)) { + return 0xfffffffe; + } + if (((param_1[2] == 0) || ((*param_1 == 0 && ((int)param_1[1] != 0)))) || + ((*(int *)(puVar3 + 1) == 0x29a && (param_2 != 4)))) { + param_1[4] = (longlong)"stream error"; + return 0xfffffffe; + } + if ((int)param_1[3] == 0) { + param_1[4] = (longlong)"buffer error"; + return 0xfffffffb; + } + iVar7 = *(int *)(puVar3 + 8); + uVar12 = 1; + *puVar3 = param_1; + *(uint *)(puVar3 + 8) = param_2; + if (*(int *)(puVar3 + 1) == 0x2a) { + if (*(int *)((longlong)puVar3 + 0x2c) == 2) { + uVar5 = FUN_1400eb028(0,(uint *)0x0,0); + *(uint *)((longlong)param_1 + 0x4c) = uVar5; + *(undefined1 *)((ulonglong)*(uint *)(puVar3 + 5) + puVar3[2]) = 0x1f; + *(int *)(puVar3 + 5) = *(int *)(puVar3 + 5) + 1; + *(undefined1 *)((ulonglong)*(uint *)(puVar3 + 5) + puVar3[2]) = 0x8b; + *(int *)(puVar3 + 5) = *(int *)(puVar3 + 5) + 1; + *(undefined1 *)((ulonglong)*(uint *)(puVar3 + 5) + puVar3[2]) = 8; + piVar4 = (int *)puVar3[6]; + *(int *)(puVar3 + 5) = *(int *)(puVar3 + 5) + 1; + if (piVar4 == (int *)0x0) { + *(undefined1 *)((ulonglong)*(uint *)(puVar3 + 5) + puVar3[2]) = 0; + *(int *)(puVar3 + 5) = *(int *)(puVar3 + 5) + 1; + *(undefined1 *)((ulonglong)*(uint *)(puVar3 + 5) + puVar3[2]) = 0; + *(int *)(puVar3 + 5) = *(int *)(puVar3 + 5) + 1; + *(undefined1 *)((ulonglong)*(uint *)(puVar3 + 5) + puVar3[2]) = 0; + *(int *)(puVar3 + 5) = *(int *)(puVar3 + 5) + 1; + *(undefined1 *)((ulonglong)*(uint *)(puVar3 + 5) + puVar3[2]) = 0; + *(int *)(puVar3 + 5) = *(int *)(puVar3 + 5) + 1; + *(undefined1 *)((ulonglong)*(uint *)(puVar3 + 5) + puVar3[2]) = 0; + *(int *)(puVar3 + 5) = *(int *)(puVar3 + 5) + 1; + if (*(int *)((longlong)puVar3 + 0xac) == 9) { + uVar9 = 2; + } + else if ((1 < *(int *)(puVar3 + 0x16)) || (uVar9 = 0, *(int *)((longlong)puVar3 + 0xac) < 2) + ) { + uVar9 = 4; + } + *(undefined1 *)((ulonglong)*(uint *)(puVar3 + 5) + puVar3[2]) = uVar9; + *(int *)(puVar3 + 5) = *(int *)(puVar3 + 5) + 1; + *(undefined1 *)((ulonglong)*(uint *)(puVar3 + 5) + puVar3[2]) = 0xb; + *(int *)(puVar3 + 5) = *(int *)(puVar3 + 5) + 1; + *(undefined4 *)(puVar3 + 1) = 0x71; + } + else { + *(byte *)((ulonglong)*(uint *)(puVar3 + 5) + puVar3[2]) = + (-(*(longlong *)(piVar4 + 0xc) != 0) & 0x10U) + (-(piVar4[0xf] != 0) & 2U) + + (-(*(longlong *)(piVar4 + 8) != 0) & 8U) + (-(*(longlong *)(piVar4 + 4) != 0) & 4U) + + (*piVar4 != 0); + *(int *)(puVar3 + 5) = *(int *)(puVar3 + 5) + 1; + *(undefined1 *)((ulonglong)*(uint *)(puVar3 + 5) + puVar3[2]) = + *(undefined1 *)(puVar3[6] + 4); + *(int *)(puVar3 + 5) = *(int *)(puVar3 + 5) + 1; + *(undefined1 *)((ulonglong)*(uint *)(puVar3 + 5) + puVar3[2]) = + *(undefined1 *)(puVar3[6] + 5); + *(int *)(puVar3 + 5) = *(int *)(puVar3 + 5) + 1; + *(undefined1 *)((ulonglong)*(uint *)(puVar3 + 5) + puVar3[2]) = + *(undefined1 *)(puVar3[6] + 6); + *(int *)(puVar3 + 5) = *(int *)(puVar3 + 5) + 1; + *(undefined1 *)((ulonglong)*(uint *)(puVar3 + 5) + puVar3[2]) = + *(undefined1 *)(puVar3[6] + 7); + *(int *)(puVar3 + 5) = *(int *)(puVar3 + 5) + 1; + if (*(int *)((longlong)puVar3 + 0xac) == 9) { + uVar9 = 2; + } + else if ((1 < *(int *)(puVar3 + 0x16)) || (uVar9 = 0, *(int *)((longlong)puVar3 + 0xac) < 2) + ) { + uVar9 = 4; + } + *(undefined1 *)((ulonglong)*(uint *)(puVar3 + 5) + puVar3[2]) = uVar9; + *(int *)(puVar3 + 5) = *(int *)(puVar3 + 5) + 1; + *(undefined1 *)((ulonglong)*(uint *)(puVar3 + 5) + puVar3[2]) = + *(undefined1 *)(puVar3[6] + 0xc); + *(int *)(puVar3 + 5) = *(int *)(puVar3 + 5) + 1; + uVar5 = *(uint *)(puVar3 + 5); + if (*(longlong *)(puVar3[6] + 0x10) != 0) { + *(undefined1 *)((ulonglong)uVar5 + puVar3[2]) = *(undefined1 *)(puVar3[6] + 0x18); + *(int *)(puVar3 + 5) = *(int *)(puVar3 + 5) + 1; + *(undefined1 *)((ulonglong)*(uint *)(puVar3 + 5) + puVar3[2]) = + *(undefined1 *)(puVar3[6] + 0x19); + *(int *)(puVar3 + 5) = *(int *)(puVar3 + 5) + 1; + uVar5 = *(uint *)(puVar3 + 5); + } + if (*(int *)(puVar3[6] + 0x3c) != 0) { + uVar5 = FUN_1400eb028(*(uint *)((longlong)param_1 + 0x4c),(uint *)puVar3[2],uVar5); + *(uint *)((longlong)param_1 + 0x4c) = uVar5; + } + *(undefined4 *)(puVar3 + 7) = 0; + *(undefined4 *)(puVar3 + 1) = 0x45; + } + } + else { + uVar5 = 0; + if (((*(int *)(puVar3 + 0x16) < 2) && (iVar2 = *(int *)((longlong)puVar3 + 0xac), 1 < iVar2)) + && (uVar5 = uVar12, 5 < iVar2)) { + uVar5 = (iVar2 != 6) + 2; + } + uVar5 = (*(int *)(puVar3 + 9) + -8) * 0x1000 + 0x800U | uVar5 << 6; + if (*(int *)((longlong)puVar3 + 0x94) != 0) { + uVar5 = uVar5 | 0x20; + } + *(undefined4 *)(puVar3 + 1) = 0x71; + puVar8 = puVar3; + FUN_1400e7b3c((longlong)puVar3,(uVar5 / 0x1f + 1) * 0x1f); + if (*(int *)((longlong)puVar3 + 0x94) != 0) { + FUN_1400e7b3c((longlong)puVar8,(uint)*(ushort *)((longlong)param_1 + 0x4e)); + FUN_1400e7b3c((longlong)puVar8,(uint)*(ushort *)((longlong)param_1 + 0x4c)); + } + uVar5 = FUN_1400ea49c(0,(byte *)0x0,0); + *(uint *)((longlong)param_1 + 0x4c) = uVar5; + } + } + if (*(int *)(puVar3 + 1) == 0x45) { + if (*(longlong *)(puVar3[6] + 0x10) != 0) { + uVar5 = *(uint *)(puVar3 + 5); + if (*(uint *)(puVar3 + 7) < (uint)*(ushort *)(puVar3[6] + 0x18)) { + do { + uVar6 = *(uint *)(puVar3 + 5); + if (uVar6 == *(uint *)(puVar3 + 3)) { + if ((*(int *)(puVar3[6] + 0x3c) != 0) && (uVar5 < uVar6)) { + uVar5 = FUN_1400eb028(*(uint *)((longlong)param_1 + 0x4c), + (uint *)((ulonglong)uVar5 + puVar3[2]),uVar6 - uVar5); + *(uint *)((longlong)param_1 + 0x4c) = uVar5; + } + FUN_1400e7b6c((longlong)param_1); + uVar5 = *(uint *)(puVar3 + 5); + uVar6 = uVar5; + if (uVar5 == *(uint *)(puVar3 + 3)) break; + } + *(undefined1 *)((ulonglong)uVar6 + puVar3[2]) = + *(undefined1 *)((ulonglong)*(uint *)(puVar3 + 7) + *(longlong *)(puVar3[6] + 0x10)); + *(int *)(puVar3 + 5) = *(int *)(puVar3 + 5) + 1; + *(int *)(puVar3 + 7) = *(int *)(puVar3 + 7) + 1; + } while (*(uint *)(puVar3 + 7) < (uint)*(ushort *)(puVar3[6] + 0x18)); + } + if ((*(int *)(puVar3[6] + 0x3c) != 0) && (uVar5 < *(uint *)(puVar3 + 5))) { + uVar5 = FUN_1400eb028(*(uint *)((longlong)param_1 + 0x4c), + (uint *)((ulonglong)uVar5 + puVar3[2]),*(uint *)(puVar3 + 5) - uVar5); + *(uint *)((longlong)param_1 + 0x4c) = uVar5; + } + if (*(int *)(puVar3 + 7) != *(int *)(puVar3[6] + 0x18)) goto LAB_1400e8030; + *(undefined4 *)(puVar3 + 7) = 0; + } + *(undefined4 *)(puVar3 + 1) = 0x49; + } +LAB_1400e8030: + if (*(int *)(puVar3 + 1) == 0x49) { + if (*(longlong *)(puVar3[6] + 0x20) != 0) { + uVar10 = (ulonglong)*(uint *)(puVar3 + 5); + do { + uVar5 = *(uint *)(puVar3 + 5); + uVar11 = (ulonglong)uVar5; + if (uVar5 == *(uint *)(puVar3 + 3)) { + if ((*(int *)(puVar3[6] + 0x3c) != 0) && ((uint)uVar10 < uVar5)) { + uVar5 = FUN_1400eb028(*(uint *)((longlong)param_1 + 0x4c),(uint *)(uVar10 + puVar3[2]), + uVar5 - (uint)uVar10); + *(uint *)((longlong)param_1 + 0x4c) = uVar5; + } + FUN_1400e7b6c((longlong)param_1); + uVar10 = (ulonglong)*(uint *)(puVar3 + 5); + uVar11 = uVar10; + uVar5 = uVar12; + if (*(uint *)(puVar3 + 5) == *(uint *)(puVar3 + 3)) break; + } + bVar1 = *(byte *)(*(longlong *)(puVar3[6] + 0x20) + (ulonglong)*(uint *)(puVar3 + 7)); + *(uint *)(puVar3 + 7) = *(uint *)(puVar3 + 7) + 1; + *(byte *)(uVar11 + puVar3[2]) = bVar1; + *(int *)(puVar3 + 5) = *(int *)(puVar3 + 5) + 1; + uVar5 = (uint)bVar1; + } while (bVar1 != 0); + if (*(int *)(puVar3[6] + 0x3c) != 0) { + if ((uint)uVar10 < *(uint *)(puVar3 + 5)) { + uVar6 = FUN_1400eb028(*(uint *)((longlong)param_1 + 0x4c),(uint *)(uVar10 + puVar3[2]), + *(uint *)(puVar3 + 5) - (uint)uVar10); + *(uint *)((longlong)param_1 + 0x4c) = uVar6; + } + } + if (uVar5 != 0) goto LAB_1400e80ee; + *(undefined4 *)(puVar3 + 7) = 0; + } + *(undefined4 *)(puVar3 + 1) = 0x5b; + } +LAB_1400e80ee: + if (*(int *)(puVar3 + 1) == 0x5b) { + if (*(longlong *)(puVar3[6] + 0x30) != 0) { + uVar10 = (ulonglong)*(uint *)(puVar3 + 5); + do { + uVar5 = *(uint *)(puVar3 + 5); + uVar11 = (ulonglong)uVar5; + if (uVar5 == *(uint *)(puVar3 + 3)) { + if ((*(int *)(puVar3[6] + 0x3c) != 0) && ((uint)uVar10 < uVar5)) { + uVar5 = FUN_1400eb028(*(uint *)((longlong)param_1 + 0x4c),(uint *)(uVar10 + puVar3[2]), + uVar5 - (uint)uVar10); + *(uint *)((longlong)param_1 + 0x4c) = uVar5; + } + FUN_1400e7b6c((longlong)param_1); + uVar10 = (ulonglong)*(uint *)(puVar3 + 5); + uVar11 = uVar10; + uVar5 = uVar12; + if (*(uint *)(puVar3 + 5) == *(uint *)(puVar3 + 3)) break; + } + bVar1 = *(byte *)(*(longlong *)(puVar3[6] + 0x30) + (ulonglong)*(uint *)(puVar3 + 7)); + *(uint *)(puVar3 + 7) = *(uint *)(puVar3 + 7) + 1; + *(byte *)(uVar11 + puVar3[2]) = bVar1; + *(int *)(puVar3 + 5) = *(int *)(puVar3 + 5) + 1; + uVar5 = (uint)bVar1; + } while (bVar1 != 0); + if (*(int *)(puVar3[6] + 0x3c) != 0) { + if ((uint)uVar10 < *(uint *)(puVar3 + 5)) { + uVar12 = FUN_1400eb028(*(uint *)((longlong)param_1 + 0x4c),(uint *)(uVar10 + puVar3[2]), + *(uint *)(puVar3 + 5) - (uint)uVar10); + *(uint *)((longlong)param_1 + 0x4c) = uVar12; + } + } + if (uVar5 != 0) goto LAB_1400e81a9; + } + *(undefined4 *)(puVar3 + 1) = 0x67; + } +LAB_1400e81a9: + if (*(int *)(puVar3 + 1) == 0x67) { + if (*(int *)(puVar3[6] + 0x3c) != 0) { + if (*(uint *)(puVar3 + 3) < *(int *)(puVar3 + 5) + 2U) { + FUN_1400e7b6c((longlong)param_1); + } + if (*(uint *)(puVar3 + 3) < *(uint *)(puVar3 + 5) + 2) goto LAB_1400e820d; + *(undefined1 *)((ulonglong)*(uint *)(puVar3 + 5) + puVar3[2]) = + *(undefined1 *)((longlong)param_1 + 0x4c); + *(int *)(puVar3 + 5) = *(int *)(puVar3 + 5) + 1; + *(undefined1 *)((ulonglong)*(uint *)(puVar3 + 5) + puVar3[2]) = + *(undefined1 *)((longlong)param_1 + 0x4d); + *(int *)(puVar3 + 5) = *(int *)(puVar3 + 5) + 1; + uVar12 = FUN_1400eb028(0,(uint *)0x0,0); + *(uint *)((longlong)param_1 + 0x4c) = uVar12; + } + *(undefined4 *)(puVar3 + 1) = 0x71; + } +LAB_1400e820d: + if (*(int *)(puVar3 + 5) == 0) { + if ((((int)param_1[1] == 0) && ((int)param_2 <= iVar7)) && (param_2 != 4)) goto LAB_1400e8239; +LAB_1400e8249: + if (*(int *)(puVar3 + 1) == 0x29a) { + if ((int)param_1[1] != 0) { +LAB_1400e8239: + param_1[4] = (longlong)"buffer error"; + return 0xfffffffb; + } +LAB_1400e8261: + if ((*(int *)((longlong)puVar3 + 0x9c) != 0) || + ((param_2 != 0 && (*(int *)(puVar3 + 1) != 0x29a)))) goto LAB_1400e827b; + } + else { + if ((int)param_1[1] == 0) goto LAB_1400e8261; +LAB_1400e827b: + iVar7 = (*(code *)(&PTR_FUN_14012b718)[(longlong)*(int *)((longlong)puVar3 + 0xac) * 2]) + (puVar3); + if ((iVar7 == 2) || (iVar7 == 3)) { + *(undefined4 *)(puVar3 + 1) = 0x29a; + } + if ((iVar7 == 0) || (iVar7 == 2)) { + if ((int)param_1[3] != 0) { + return 0; + } + goto LAB_1400e821f; + } + if (iVar7 == 1) { + if (param_2 == 1) { + FUN_1400ec818((longlong)puVar3); + } + else { + FUN_1400ec778((longlong)puVar3,(undefined1 *)0x0,0,0); + if (param_2 == 3) { + *(undefined2 *)(puVar3[0xd] + (ulonglong)(*(int *)((longlong)puVar3 + 0x74) - 1) * 2) = + 0; + memset((void *)puVar3[0xd],0,(ulonglong)(*(int *)((longlong)puVar3 + 0x74) - 1) * 2); + } + } + FUN_1400e7b6c((longlong)param_1); + if ((int)param_1[3] == 0) goto LAB_1400e821f; + } + } + if (param_2 == 4) { + if (0 < *(int *)((longlong)puVar3 + 0x2c)) { + if (*(int *)((longlong)puVar3 + 0x2c) == 2) { + *(undefined1 *)((ulonglong)*(uint *)(puVar3 + 5) + puVar3[2]) = + *(undefined1 *)((longlong)param_1 + 0x4c); + *(int *)(puVar3 + 5) = *(int *)(puVar3 + 5) + 1; + *(undefined1 *)((ulonglong)*(uint *)(puVar3 + 5) + puVar3[2]) = + *(undefined1 *)((longlong)param_1 + 0x4d); + *(int *)(puVar3 + 5) = *(int *)(puVar3 + 5) + 1; + *(undefined1 *)((ulonglong)*(uint *)(puVar3 + 5) + puVar3[2]) = + *(undefined1 *)((longlong)param_1 + 0x4e); + *(int *)(puVar3 + 5) = *(int *)(puVar3 + 5) + 1; + *(undefined1 *)((ulonglong)*(uint *)(puVar3 + 5) + puVar3[2]) = + *(undefined1 *)((longlong)param_1 + 0x4f); + *(int *)(puVar3 + 5) = *(int *)(puVar3 + 5) + 1; + *(undefined1 *)((ulonglong)*(uint *)(puVar3 + 5) + puVar3[2]) = + *(undefined1 *)((longlong)param_1 + 0xc); + *(int *)(puVar3 + 5) = *(int *)(puVar3 + 5) + 1; + *(undefined1 *)((ulonglong)*(uint *)(puVar3 + 5) + puVar3[2]) = + *(undefined1 *)((longlong)param_1 + 0xd); + *(int *)(puVar3 + 5) = *(int *)(puVar3 + 5) + 1; + *(undefined1 *)((ulonglong)*(uint *)(puVar3 + 5) + puVar3[2]) = + *(undefined1 *)((longlong)param_1 + 0xe); + *(int *)(puVar3 + 5) = *(int *)(puVar3 + 5) + 1; + *(undefined1 *)((ulonglong)*(uint *)(puVar3 + 5) + puVar3[2]) = + *(undefined1 *)((longlong)param_1 + 0xf); + *(int *)(puVar3 + 5) = *(int *)(puVar3 + 5) + 1; + } + else { + puVar8 = puVar3; + FUN_1400e7b3c((longlong)puVar3,(uint)*(ushort *)((longlong)param_1 + 0x4e)); + FUN_1400e7b3c((longlong)puVar8,(uint)*(ushort *)((longlong)param_1 + 0x4c)); + } + FUN_1400e7b6c((longlong)param_1); + if (0 < *(int *)((longlong)puVar3 + 0x2c)) { + *(int *)((longlong)puVar3 + 0x2c) = -*(int *)((longlong)puVar3 + 0x2c); + } + return (ulonglong)(*(int *)(puVar3 + 5) == 0); + } + return 1; + } + } + else { + FUN_1400e7b6c((longlong)param_1); + if ((int)param_1[3] != 0) goto LAB_1400e8249; +LAB_1400e821f: + *(undefined4 *)(puVar3 + 8) = 0xffffffff; + } + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e843c.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e843c.c new file mode 100644 index 00000000..83cd5afb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e843c.c @@ -0,0 +1,40 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e843c FUN_1400e843c + * Pseudocode, not original source. */ + +undefined8 FUN_1400e843c(longlong param_1) + +{ + int iVar1; + longlong lVar2; + undefined8 uVar3; + + uVar3 = 0; + if (((param_1 == 0) || (lVar2 = *(longlong *)(param_1 + 0x28), lVar2 == 0)) || + (((iVar1 = *(int *)(lVar2 + 8), iVar1 != 0x2a && + (((iVar1 != 0x45 && (iVar1 != 0x49)) && (iVar1 != 0x5b)))) && + (((iVar1 != 0x67 && (iVar1 != 0x71)) && (iVar1 != 0x29a)))))) { + uVar3 = 0xfffffffe; + } + else { + if (*(longlong *)(lVar2 + 0x10) != 0) { + (**(code **)(param_1 + 0x38))(*(undefined8 *)(param_1 + 0x40)); + } + if (*(longlong *)(*(longlong *)(param_1 + 0x28) + 0x68) != 0) { + (**(code **)(param_1 + 0x38))(*(undefined8 *)(param_1 + 0x40)); + } + if (*(longlong *)(*(longlong *)(param_1 + 0x28) + 0x60) != 0) { + (**(code **)(param_1 + 0x38))(*(undefined8 *)(param_1 + 0x40)); + } + if (*(longlong *)(*(longlong *)(param_1 + 0x28) + 0x50) != 0) { + (**(code **)(param_1 + 0x38))(*(undefined8 *)(param_1 + 0x40)); + } + (**(code **)(param_1 + 0x38))(*(undefined8 *)(param_1 + 0x40),*(undefined8 *)(param_1 + 0x28)); + *(undefined8 *)(param_1 + 0x28) = 0; + if (iVar1 == 0x71) { + uVar3 = 0xfffffffd; + } + } + return uVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e851c.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e851c.c new file mode 100644 index 00000000..59d271e4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e851c.c @@ -0,0 +1,65 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e851c FUN_1400e851c + * Pseudocode, not original source. */ + +undefined8 FUN_1400e851c(void *param_1,void *param_2) + +{ + void *_Src; + undefined8 *_Dst; + undefined8 uVar1; + longlong lVar2; + + if (((param_2 == (void *)0x0) || (param_1 == (void *)0x0)) || + (_Src = *(void **)((longlong)param_2 + 0x28), _Src == (void *)0x0)) { + uVar1 = 0xfffffffe; + } + else { + memcpy(param_1,param_2,0x58); + _Dst = (undefined8 *) + (**(code **)((longlong)param_1 + 0x30)) + (*(undefined8 *)((longlong)param_1 + 0x40),1,0x1718); + if (_Dst != (undefined8 *)0x0) { + *(undefined8 **)((longlong)param_1 + 0x28) = _Dst; + memcpy(_Dst,_Src,0x1718); + *_Dst = param_1; + uVar1 = (**(code **)((longlong)param_1 + 0x30)) + (*(undefined8 *)((longlong)param_1 + 0x40), + *(undefined4 *)((longlong)_Dst + 0x44),2); + _Dst[10] = uVar1; + uVar1 = (**(code **)((longlong)param_1 + 0x30)) + (*(undefined8 *)((longlong)param_1 + 0x40), + *(undefined4 *)((longlong)_Dst + 0x44),2); + _Dst[0xc] = uVar1; + uVar1 = (**(code **)((longlong)param_1 + 0x30)) + (*(undefined8 *)((longlong)param_1 + 0x40), + *(undefined4 *)((longlong)_Dst + 0x74),2); + _Dst[0xd] = uVar1; + lVar2 = (**(code **)((longlong)param_1 + 0x30)) + (*(undefined8 *)((longlong)param_1 + 0x40),*(undefined4 *)(_Dst + 0x2de),4); + _Dst[2] = lVar2; + if ((((void *)_Dst[10] != (void *)0x0) && (_Dst[0xc] != 0)) && + ((_Dst[0xd] != 0 && (lVar2 != 0)))) { + memcpy((void *)_Dst[10],*(void **)((longlong)_Src + 0x50), + (ulonglong)(uint)(*(int *)((longlong)_Dst + 0x44) * 2)); + memcpy((void *)_Dst[0xc],*(void **)((longlong)_Src + 0x60), + (ulonglong)*(uint *)((longlong)_Dst + 0x44) * 2); + memcpy((void *)_Dst[0xd],*(void **)((longlong)_Src + 0x68), + (ulonglong)*(uint *)((longlong)_Dst + 0x74) * 2); + memcpy((void *)_Dst[2],*(void **)((longlong)_Src + 0x10),(ulonglong)*(uint *)(_Dst + 3)); + _Dst[4] = (*(longlong *)((longlong)_Src + 0x20) - *(longlong *)((longlong)_Src + 0x10)) + + _Dst[2]; + _Dst[0x2df] = lVar2 + ((ulonglong)*(uint *)(_Dst + 0x2de) & 0xfffffffffffffffe); + _Dst[0x168] = (longlong)_Dst + 0xbc; + _Dst[0x2dd] = _Dst[2] + (ulonglong)*(uint *)(_Dst + 0x2de) * 3; + _Dst[0x16b] = _Dst + 0x136; + _Dst[0x16e] = (longlong)_Dst + 0xaa4; + return 0; + } + FUN_1400e843c((longlong)param_1); + } + uVar1 = 0xfffffffc; + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e86fc.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e86fc.c new file mode 100644 index 00000000..2dca3010 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e86fc.c @@ -0,0 +1,34 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e86fc FUN_1400e86fc + * Pseudocode, not original source. */ + +uint FUN_1400e86fc(longlong *param_1,void *param_2,uint param_3) + +{ + uint uVar1; + uint uVar2; + + uVar1 = *(uint *)(param_1 + 1); + uVar2 = uVar1; + if (param_3 < uVar1) { + uVar2 = param_3; + } + if (uVar2 == 0) { + return 0; + } + *(uint *)(param_1 + 1) = uVar1 - uVar2; + if (*(int *)(param_1[5] + 0x2c) == 1) { + uVar1 = FUN_1400ea49c(*(uint *)((longlong)param_1 + 0x4c),(byte *)*param_1,uVar2); + } + else { + if (*(int *)(param_1[5] + 0x2c) != 2) goto LAB_1400e8761; + uVar1 = FUN_1400eb028(*(uint *)((longlong)param_1 + 0x4c),(uint *)*param_1,uVar2); + } + *(uint *)((longlong)param_1 + 0x4c) = uVar1; +LAB_1400e8761: + memcpy(param_2,(void *)*param_1,(ulonglong)uVar2); + *param_1 = *param_1 + (ulonglong)uVar2; + *(int *)((longlong)param_1 + 0xc) = *(int *)((longlong)param_1 + 0xc) + uVar2; + return uVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e879c.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e879c.c new file mode 100644 index 00000000..dfc8b04f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e879c.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e879c FUN_1400e879c + * Pseudocode, not original source. */ + +void FUN_1400e879c(longlong param_1) + +{ + ushort uVar1; + longlong lVar2; + + *(int *)(param_1 + 0x58) = *(int *)(param_1 + 0x44) * 2; + *(undefined2 *)(*(longlong *)(param_1 + 0x68) + (ulonglong)(*(int *)(param_1 + 0x74) - 1) * 2) = 0 + ; + memset(*(void **)(param_1 + 0x68),0,(ulonglong)(*(int *)(param_1 + 0x74) - 1) * 2); + lVar2 = (longlong)*(int *)(param_1 + 0xac); + *(uint *)(param_1 + 0xa8) = (uint)*(ushort *)(&DAT_14012b712 + lVar2 * 0x10); + *(uint *)(param_1 + 0xb4) = (uint)*(ushort *)(&DAT_14012b710 + lVar2 * 0x10); + *(uint *)(param_1 + 0xb8) = (uint)*(ushort *)(&DAT_14012b714 + lVar2 * 0x10); + uVar1 = *(ushort *)(&DAT_14012b716 + lVar2 * 0x10); + *(undefined4 *)(param_1 + 0x84) = 0; + *(uint *)(param_1 + 0xa4) = (uint)uVar1; + *(undefined4 *)(param_1 + 0x9c) = 0; + *(undefined8 *)(param_1 + 0x90) = 0; + *(undefined4 *)(param_1 + 0x70) = 0; + *(undefined4 *)(param_1 + 0xa0) = 2; + *(undefined4 *)(param_1 + 0x88) = 2; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e884c.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e884c.c new file mode 100644 index 00000000..2894bf5a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e884c.c @@ -0,0 +1,82 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e884c FUN_1400e884c + * Pseudocode, not original source. */ + +uint FUN_1400e884c(longlong param_1,uint param_2) + +{ + char *pcVar1; + uint uVar2; + char *pcVar3; + int iVar4; + uint uVar5; + ulonglong uVar6; + uint uVar7; + uint uVar8; + char *pcVar9; + char *pcVar10; + uint uVar11; + char cVar12; + char cVar13; + + uVar11 = *(uint *)(param_1 + 0x94); + uVar8 = *(uint *)(param_1 + 0xa4); + uVar6 = (ulonglong)(int)*(uint *)(param_1 + 0xa0); + pcVar1 = (char *)((ulonglong)uVar11 + *(longlong *)(param_1 + 0x50)); + if (*(int *)(param_1 + 0x44) - 0x106U < uVar11) { + uVar11 = (uVar11 - *(int *)(param_1 + 0x44)) + 0x106; + } + else { + uVar11 = 0; + } + cVar12 = pcVar1[uVar6 - 1]; + cVar13 = pcVar1[uVar6]; + if (*(uint *)(param_1 + 0xb4) <= *(uint *)(param_1 + 0xa0)) { + uVar8 = uVar8 >> 2; + } + uVar2 = *(uint *)(param_1 + 0x9c); + uVar7 = *(uint *)(param_1 + 0xb8); + if (uVar2 < *(uint *)(param_1 + 0xb8)) { + uVar7 = uVar2; + } + do { + iVar4 = (int)uVar6; + pcVar3 = (char *)((ulonglong)param_2 + *(longlong *)(param_1 + 0x50)); + if ((((pcVar3[iVar4] == cVar13) && (pcVar3[(longlong)iVar4 + -1] == cVar12)) && + (*pcVar3 == *pcVar1)) && (pcVar3[1] == pcVar1[1])) { + pcVar3 = pcVar3 + 2; + pcVar9 = pcVar1 + 2; + while (((((pcVar10 = pcVar9 + 1, *pcVar10 == pcVar3[1] && + (pcVar10 = pcVar9 + 2, *pcVar10 == pcVar3[2])) && + ((pcVar10 = pcVar9 + 3, *pcVar10 == pcVar3[3] && + ((pcVar10 = pcVar9 + 4, *pcVar10 == pcVar3[4] && + (pcVar10 = pcVar9 + 5, *pcVar10 == pcVar3[5])))))) && + (pcVar10 = pcVar9 + 6, *pcVar10 == pcVar3[6])) && + (pcVar10 = pcVar9 + 7, *pcVar10 == pcVar3[7]))) { + pcVar3 = pcVar3 + 8; + pcVar10 = pcVar9 + 8; + if ((*pcVar10 != *pcVar3) || (pcVar9 = pcVar10, pcVar1 + 0x102 <= pcVar10)) break; + } + uVar5 = ((int)pcVar10 - (int)(pcVar1 + 0x102)) + 0x102; + if (iVar4 < (int)uVar5) { + *(uint *)(param_1 + 0x98) = param_2; + uVar6 = (ulonglong)uVar5; + if ((int)uVar7 <= (int)uVar5) { +LAB_1400e89bb: + if (uVar5 <= uVar2) { + uVar2 = uVar5; + } + return uVar2; + } + cVar12 = pcVar1[(longlong)(int)uVar5 + -1]; + cVar13 = pcVar1[(int)uVar5]; + } + } + uVar5 = (uint)uVar6; + param_2 = (uint)*(ushort *) + (*(longlong *)(param_1 + 0x60) + + (ulonglong)(*(uint *)(param_1 + 0x4c) & param_2) * 2); + if ((param_2 <= uVar11) || (uVar8 = uVar8 - 1, uVar8 == 0)) goto LAB_1400e89bb; + } while( true ); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e89ec.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e89ec.c new file mode 100644 index 00000000..41271382 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e89ec.c @@ -0,0 +1,43 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e89ec FUN_1400e89ec + * Pseudocode, not original source. */ + +uint FUN_1400e89ec(longlong param_1,uint param_2) + +{ + uint uVar1; + uint uVar2; + char *pcVar3; + char *pcVar4; + char *pcVar5; + char *pcVar6; + + pcVar3 = (char *)((ulonglong)*(uint *)(param_1 + 0x94) + *(longlong *)(param_1 + 0x50)); + pcVar6 = (char *)((ulonglong)param_2 + *(longlong *)(param_1 + 0x50)); + if ((*pcVar6 == *pcVar3) && (pcVar6[1] == pcVar3[1])) { + pcVar6 = pcVar6 + 2; + pcVar4 = pcVar3 + 2; + while (((((pcVar5 = pcVar4 + 1, *pcVar5 == pcVar6[1] && + (pcVar5 = pcVar4 + 2, *pcVar5 == pcVar6[2])) && + (pcVar5 = pcVar4 + 3, *pcVar5 == pcVar6[3])) && + ((pcVar5 = pcVar4 + 4, *pcVar5 == pcVar6[4] && + (pcVar5 = pcVar4 + 5, *pcVar5 == pcVar6[5])))) && + ((pcVar5 = pcVar4 + 6, *pcVar5 == pcVar6[6] && + (pcVar5 = pcVar4 + 7, *pcVar5 == pcVar6[7]))))) { + pcVar6 = pcVar6 + 8; + pcVar5 = pcVar4 + 8; + if ((*pcVar5 != *pcVar6) || (pcVar4 = pcVar5, pcVar3 + 0x102 <= pcVar5)) break; + } + uVar2 = ((int)pcVar5 - (int)(pcVar3 + 0x102)) + 0x102; + if (2 < (int)uVar2) { + *(uint *)(param_1 + 0x98) = param_2; + uVar1 = *(uint *)(param_1 + 0x9c); + if (uVar2 <= *(uint *)(param_1 + 0x9c)) { + uVar1 = uVar2; + } + return uVar1; + } + } + return 2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e8adc.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e8adc.c new file mode 100644 index 00000000..a07444ec --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e8adc.c @@ -0,0 +1,75 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e8adc FUN_1400e8adc + * Pseudocode, not original source. */ + +void FUN_1400e8adc(longlong *param_1) + +{ + uint uVar1; + ushort uVar2; + uint uVar3; + ulonglong _Size; + ushort *puVar4; + uint uVar5; + ulonglong uVar6; + + uVar1 = *(uint *)((longlong)param_1 + 0x44); + _Size = (ulonglong)uVar1; + while( true ) { + uVar3 = ((int)param_1[0xb] - *(int *)((longlong)param_1 + 0x9c)) - + *(uint *)((longlong)param_1 + 0x94); + if ((uVar1 - 0x106) + *(int *)((longlong)param_1 + 0x44) <= *(uint *)((longlong)param_1 + 0x94)) + { + memcpy((void *)param_1[10],(void *)(param_1[10] + _Size),_Size); + uVar6 = (ulonglong)*(uint *)((longlong)param_1 + 0x74); + *(uint *)(param_1 + 0x13) = (int)param_1[0x13] - uVar1; + *(int *)((longlong)param_1 + 0x94) = *(int *)((longlong)param_1 + 0x94) - uVar1; + *(int *)((longlong)param_1 + 0x84) = *(int *)((longlong)param_1 + 0x84) - uVar1; + puVar4 = (ushort *)(param_1[0xd] + uVar6 * 2); + do { + puVar4 = puVar4 + -1; + uVar2 = 0; + if (uVar1 <= *puVar4) { + uVar2 = *puVar4 - (short)uVar1; + } + uVar5 = (int)uVar6 - 1; + uVar6 = (ulonglong)uVar5; + *puVar4 = uVar2; + } while (uVar5 != 0); + puVar4 = (ushort *)(param_1[0xc] + _Size * 2); + uVar5 = uVar1; + do { + puVar4 = puVar4 + -1; + uVar2 = 0; + if (uVar1 <= *puVar4) { + uVar2 = *puVar4 - (short)uVar1; + } + uVar5 = uVar5 - 1; + *puVar4 = uVar2; + } while (uVar5 != 0); + uVar3 = uVar3 + uVar1; + } + if ((int)((longlong *)*param_1)[1] == 0) break; + uVar3 = FUN_1400e86fc((longlong *)*param_1, + (void *)((ulonglong)*(uint *)((longlong)param_1 + 0x9c) + + (ulonglong)*(uint *)((longlong)param_1 + 0x94) + param_1[10]), + uVar3); + *(int *)((longlong)param_1 + 0x9c) = *(int *)((longlong)param_1 + 0x9c) + uVar3; + if (2 < *(uint *)((longlong)param_1 + 0x9c)) { + uVar3 = (uint)*(byte *)((ulonglong)*(uint *)((longlong)param_1 + 0x94) + param_1[10]); + *(uint *)(param_1 + 0xe) = uVar3; + *(uint *)(param_1 + 0xe) = + (uVar3 << ((byte)(int)param_1[0x10] & 0x1f) ^ + (uint)*(byte *)((ulonglong)(*(uint *)((longlong)param_1 + 0x94) + 1) + param_1[10])) & + *(uint *)((longlong)param_1 + 0x7c); + } + if (0x105 < *(uint *)((longlong)param_1 + 0x9c)) { + return; + } + if (*(int *)(*param_1 + 8) == 0) { + return; + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e8c2c.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e8c2c.c new file mode 100644 index 00000000..9b0c33a6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e8c2c.c @@ -0,0 +1,87 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e8c2c FUN_1400e8c2c + * Pseudocode, not original source. */ + +undefined4 FUN_1400e8c2c(longlong *param_1,int param_2) + +{ + int *piVar1; + uint uVar2; + uint uVar3; + undefined1 *puVar4; + undefined1 *puVar5; + uint uVar6; + uint uVar7; + + uVar3 = (int)param_1[3] - 5; + uVar2 = 0xffff; + if (uVar3 < 0xffff) { + uVar2 = uVar3; + } + puVar5 = (undefined1 *)0x0; + do { + uVar3 = *(uint *)((longlong)param_1 + 0x9c); + if (uVar3 < 2) { + FUN_1400e8adc(param_1); + uVar3 = *(uint *)((longlong)param_1 + 0x9c); + if (uVar3 == 0) { + if (param_2 == 0) { + return 0; + } + uVar2 = *(uint *)((longlong)param_1 + 0x84); + if (-1 < (int)uVar2) { + puVar5 = (undefined1 *)((ulonglong)uVar2 + param_1[10]); + } + FUN_1400eca38(param_1,puVar5,*(int *)((longlong)param_1 + 0x94) - uVar2,(uint)(param_2 == 4) + ); + *(undefined4 *)((longlong)param_1 + 0x84) = *(undefined4 *)((longlong)param_1 + 0x94); + FUN_1400e7b6c(*param_1); + if (*(int *)(*param_1 + 0x18) != 0) { + if (param_2 == 4) { + return 3; + } + return 1; + } + if (param_2 == 4) { + return 2; + } + return 0; + } + } + uVar7 = *(uint *)((longlong)param_1 + 0x84); + piVar1 = (int *)((longlong)param_1 + 0x94); + *piVar1 = *piVar1 + uVar3; + uVar3 = *(uint *)((longlong)param_1 + 0x94); + uVar6 = uVar7 + uVar2; + *(undefined4 *)((longlong)param_1 + 0x9c) = 0; + if ((*piVar1 == 0) || (uVar6 <= uVar3)) { + *(uint *)((longlong)param_1 + 0x94) = uVar6; + *(uint *)((longlong)param_1 + 0x9c) = uVar3 - uVar6; + puVar4 = puVar5; + if (-1 < (int)uVar7) { + puVar4 = (undefined1 *)((ulonglong)uVar7 + param_1[10]); + } + FUN_1400eca38(param_1,puVar4,uVar6 - uVar7,0); + *(undefined4 *)((longlong)param_1 + 0x84) = *(undefined4 *)((longlong)param_1 + 0x94); + FUN_1400e7b6c(*param_1); + if (*(int *)(*param_1 + 0x18) == 0) { + return 0; + } + } + uVar3 = *(uint *)((longlong)param_1 + 0x84); + uVar7 = *(int *)((longlong)param_1 + 0x94) - uVar3; + if (*(int *)((longlong)param_1 + 0x44) - 0x106U <= uVar7) { + puVar4 = puVar5; + if (-1 < (int)uVar3) { + puVar4 = (undefined1 *)((ulonglong)uVar3 + param_1[10]); + } + FUN_1400eca38(param_1,puVar4,uVar7,0); + *(undefined4 *)((longlong)param_1 + 0x84) = *(undefined4 *)((longlong)param_1 + 0x94); + FUN_1400e7b6c(*param_1); + if (*(int *)(*param_1 + 0x18) == 0) { + return 0; + } + } + } while( true ); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e8dec.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e8dec.c new file mode 100644 index 00000000..60def88c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e8dec.c @@ -0,0 +1,168 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e8dec FUN_1400e8dec + * Pseudocode, not original source. */ + +undefined4 FUN_1400e8dec(longlong *param_1,int param_2) + +{ + longlong *plVar1; + short *psVar2; + longlong lVar3; + uint uVar4; + byte bVar5; + undefined1 *puVar6; + undefined1 *puVar7; + undefined1 *puVar8; + short sVar9; + ushort uVar10; + uint uVar11; + bool bVar12; + + puVar7 = (undefined1 *)0x0; + puVar8 = puVar7; + do { + uVar11 = *(uint *)((longlong)param_1 + 0x9c); + if (uVar11 < 0x106) { + FUN_1400e8adc(param_1); + uVar11 = *(uint *)((longlong)param_1 + 0x9c); + if ((uVar11 < 0x106) && (param_2 == 0)) { + return 0; + } + if (uVar11 == 0) { + uVar11 = *(uint *)((longlong)param_1 + 0x84); + if (-1 < (int)uVar11) { + puVar7 = (undefined1 *)((ulonglong)uVar11 + param_1[10]); + } + FUN_1400eca38(param_1,puVar7,*(int *)((longlong)param_1 + 0x94) - uVar11, + (uint)(param_2 == 4)); + *(undefined4 *)((longlong)param_1 + 0x84) = *(undefined4 *)((longlong)param_1 + 0x94); + FUN_1400e7b6c(*param_1); + if (*(int *)(*param_1 + 0x18) != 0) { + if (param_2 == 4) { + return 3; + } + return 1; + } + if (param_2 == 4) { + return 2; + } + return 0; + } + } + if (2 < uVar11) { + uVar11 = ((uint)*(byte *)((ulonglong)(*(uint *)((longlong)param_1 + 0x94) + 2) + param_1[10]) + ^ (int)param_1[0xe] << ((byte)(int)param_1[0x10] & 0x1f)) & + *(uint *)((longlong)param_1 + 0x7c); + *(uint *)(param_1 + 0xe) = uVar11; + *(undefined2 *) + (param_1[0xc] + + (ulonglong)(*(uint *)((longlong)param_1 + 0x94) & *(uint *)((longlong)param_1 + 0x4c)) * 2) = + *(undefined2 *)(param_1[0xd] + (ulonglong)uVar11 * 2); + puVar8 = (undefined1 *) + (ulonglong) + *(ushort *) + (param_1[0xc] + + (ulonglong) + (*(uint *)((longlong)param_1 + 0x94) & *(uint *)((longlong)param_1 + 0x4c)) * 2); + *(undefined2 *)(param_1[0xd] + (ulonglong)*(uint *)(param_1 + 0xe) * 2) = + *(undefined2 *)((longlong)param_1 + 0x94); + } + uVar11 = (uint)puVar8; + if (((uVar11 != 0) && + (uVar4 = *(int *)((longlong)param_1 + 0x94) - uVar11, + uVar4 <= *(int *)((longlong)param_1 + 0x44) - 0x106U)) && ((int)param_1[0x16] != 2)) { + if ((int)param_1[0x16] == 3) { + if (uVar4 != 1) goto LAB_1400e8f1a; + uVar11 = FUN_1400e89ec((longlong)param_1,uVar11); + } + else { + uVar11 = FUN_1400e884c((longlong)param_1,uVar11); + } + *(uint *)(param_1 + 0x11) = uVar11; + } +LAB_1400e8f1a: + if (*(uint *)(param_1 + 0x11) < 3) { + bVar5 = *(byte *)((ulonglong)*(uint *)((longlong)param_1 + 0x94) + param_1[10]); + *(undefined2 *)(param_1[0x2df] + (ulonglong)*(uint *)((longlong)param_1 + 0x16f4) * 2) = 0; + *(byte *)((ulonglong)*(uint *)((longlong)param_1 + 0x16f4) + param_1[0x2dd]) = bVar5; + *(int *)((longlong)param_1 + 0x16f4) = *(int *)((longlong)param_1 + 0x16f4) + 1; + psVar2 = (short *)((longlong)param_1 + (ulonglong)bVar5 * 4 + 0xbc); + *psVar2 = *psVar2 + 1; + bVar12 = *(int *)((longlong)param_1 + 0x16f4) == (int)param_1[0x2de] + -1; + *(int *)((longlong)param_1 + 0x9c) = *(int *)((longlong)param_1 + 0x9c) + -1; +LAB_1400e9107: + *(int *)((longlong)param_1 + 0x94) = *(int *)((longlong)param_1 + 0x94) + 1; + } + else { + sVar9 = *(short *)((longlong)param_1 + 0x94) - (short)param_1[0x13]; + lVar3 = param_1[0x11]; + *(short *)(param_1[0x2df] + (ulonglong)*(uint *)((longlong)param_1 + 0x16f4) * 2) = sVar9; + bVar5 = (char)lVar3 - 3; + *(byte *)((ulonglong)*(uint *)((longlong)param_1 + 0x16f4) + param_1[0x2dd]) = bVar5; + *(int *)((longlong)param_1 + 0x16f4) = *(int *)((longlong)param_1 + 0x16f4) + 1; + uVar10 = sVar9 - 1; + psVar2 = (short *)((longlong)param_1 + (ulonglong)(byte)(&DAT_14012e1b0)[bVar5] * 4 + 0x4c0); + *psVar2 = *psVar2 + 1; + if (uVar10 < 0x100) { + bVar5 = (&DAT_14012dfb0)[uVar10]; + } + else { + bVar5 = (&DAT_14012e0b0)[uVar10 >> 7]; + } + psVar2 = (short *)((longlong)param_1 + (longlong)(int)(uint)bVar5 * 4 + 0x9b0); + *psVar2 = *psVar2 + 1; + bVar12 = *(int *)((longlong)param_1 + 0x16f4) == (int)param_1[0x2de] + -1; + uVar11 = *(uint *)(param_1 + 0x11); + *(int *)((longlong)param_1 + 0x9c) = *(int *)((longlong)param_1 + 0x9c) - uVar11; + if ((uVar11 <= *(uint *)(param_1 + 0x15)) && (2 < *(uint *)((longlong)param_1 + 0x9c))) { + *(uint *)(param_1 + 0x11) = uVar11 - 1; + do { + *(int *)((longlong)param_1 + 0x94) = *(int *)((longlong)param_1 + 0x94) + 1; + uVar11 = ((uint)*(byte *)((ulonglong)(*(uint *)((longlong)param_1 + 0x94) + 2) + + param_1[10]) ^ + (int)param_1[0xe] << ((byte)(int)param_1[0x10] & 0x1f)) & + *(uint *)((longlong)param_1 + 0x7c); + *(uint *)(param_1 + 0xe) = uVar11; + *(undefined2 *) + (param_1[0xc] + + (ulonglong)(*(uint *)((longlong)param_1 + 0x94) & *(uint *)((longlong)param_1 + 0x4c)) * + 2) = *(undefined2 *)(param_1[0xd] + (ulonglong)uVar11 * 2); + puVar8 = (undefined1 *) + (ulonglong) + *(ushort *) + (param_1[0xc] + + (ulonglong) + (*(uint *)((longlong)param_1 + 0x94) & *(uint *)((longlong)param_1 + 0x4c)) * 2) + ; + *(undefined2 *)(param_1[0xd] + (ulonglong)*(uint *)(param_1 + 0xe) * 2) = + *(undefined2 *)((longlong)param_1 + 0x94); + plVar1 = param_1 + 0x11; + *(int *)plVar1 = (int)*plVar1 + -1; + } while ((int)*plVar1 != 0); + goto LAB_1400e9107; + } + *(int *)((longlong)param_1 + 0x94) = *(int *)((longlong)param_1 + 0x94) + uVar11; + *(undefined4 *)(param_1 + 0x11) = 0; + uVar11 = (uint)*(byte *)((ulonglong)*(uint *)((longlong)param_1 + 0x94) + param_1[10]); + *(uint *)(param_1 + 0xe) = uVar11; + *(uint *)(param_1 + 0xe) = + (uVar11 << ((byte)(int)param_1[0x10] & 0x1f) ^ + (uint)*(byte *)((ulonglong)(*(uint *)((longlong)param_1 + 0x94) + 1) + param_1[10])) & + *(uint *)((longlong)param_1 + 0x7c); + } + if (bVar12) { + uVar11 = *(uint *)((longlong)param_1 + 0x84); + puVar6 = puVar7; + if (-1 < (int)uVar11) { + puVar6 = (undefined1 *)((ulonglong)uVar11 + param_1[10]); + } + FUN_1400eca38(param_1,puVar6,*(int *)((longlong)param_1 + 0x94) - uVar11,0); + *(undefined4 *)((longlong)param_1 + 0x84) = *(undefined4 *)((longlong)param_1 + 0x94); + FUN_1400e7b6c(*param_1); + if (*(int *)(*param_1 + 0x18) == 0) { + return 0; + } + } + } while( true ); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e920c.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e920c.c new file mode 100644 index 00000000..5655f665 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e920c.c @@ -0,0 +1,205 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e920c FUN_1400e920c + * Pseudocode, not original source. */ + +undefined4 FUN_1400e920c(longlong *param_1,int param_2) + +{ + longlong *plVar1; + short *psVar2; + int iVar3; + int iVar4; + int iVar5; + longlong lVar6; + byte bVar7; + undefined1 *puVar8; + undefined1 *puVar9; + short sVar10; + ushort uVar11; + uint uVar12; + uint uVar13; + undefined1 *puVar14; + + puVar9 = (undefined1 *)0x0; + puVar14 = puVar9; +LAB_1400e923e: + do { + uVar12 = *(uint *)((longlong)param_1 + 0x9c); + if (uVar12 < 0x106) { + FUN_1400e8adc(param_1); + uVar12 = *(uint *)((longlong)param_1 + 0x9c); + if ((uVar12 < 0x106) && (param_2 == 0)) { + return 0; + } + if (uVar12 == 0) { + if ((int)param_1[0x12] != 0) { + bVar7 = *(byte *)((ulonglong)(*(int *)((longlong)param_1 + 0x94) - 1) + param_1[10]); + *(undefined2 *)(param_1[0x2df] + (ulonglong)*(uint *)((longlong)param_1 + 0x16f4) * 2) = 0 + ; + *(byte *)((ulonglong)*(uint *)((longlong)param_1 + 0x16f4) + param_1[0x2dd]) = bVar7; + *(int *)((longlong)param_1 + 0x16f4) = *(int *)((longlong)param_1 + 0x16f4) + 1; + psVar2 = (short *)((longlong)param_1 + (ulonglong)bVar7 * 4 + 0xbc); + *psVar2 = *psVar2 + 1; + *(undefined4 *)(param_1 + 0x12) = 0; + } + uVar12 = *(uint *)((longlong)param_1 + 0x84); + if (-1 < (int)uVar12) { + puVar9 = (undefined1 *)((ulonglong)uVar12 + param_1[10]); + } + FUN_1400eca38(param_1,puVar9,*(int *)((longlong)param_1 + 0x94) - uVar12, + (uint)(param_2 == 4)); + *(undefined4 *)((longlong)param_1 + 0x84) = *(undefined4 *)((longlong)param_1 + 0x94); + FUN_1400e7b6c(*param_1); + if (*(int *)(*param_1 + 0x18) != 0) { + if (param_2 == 4) { + return 3; + } + return 1; + } + if (param_2 == 4) { + return 2; + } + return 0; + } + } + if (2 < uVar12) { + uVar12 = ((uint)*(byte *)((ulonglong)(*(uint *)((longlong)param_1 + 0x94) + 2) + param_1[10]) + ^ (int)param_1[0xe] << ((byte)(int)param_1[0x10] & 0x1f)) & + *(uint *)((longlong)param_1 + 0x7c); + *(uint *)(param_1 + 0xe) = uVar12; + *(undefined2 *) + (param_1[0xc] + + (ulonglong)(*(uint *)((longlong)param_1 + 0x94) & *(uint *)((longlong)param_1 + 0x4c)) * 2) = + *(undefined2 *)(param_1[0xd] + (ulonglong)uVar12 * 2); + puVar14 = (undefined1 *) + (ulonglong) + *(ushort *) + (param_1[0xc] + + (ulonglong) + (*(uint *)((longlong)param_1 + 0x94) & *(uint *)((longlong)param_1 + 0x4c)) * 2); + *(undefined2 *)(param_1[0xd] + (ulonglong)*(uint *)(param_1 + 0xe) * 2) = + *(undefined2 *)((longlong)param_1 + 0x94); + } + uVar12 = *(uint *)(param_1 + 0x11); + *(undefined4 *)(param_1 + 0x11) = 2; + *(uint *)(param_1 + 0x14) = uVar12; + *(int *)((longlong)param_1 + 0x8c) = (int)param_1[0x13]; + uVar13 = (uint)puVar14; + if (((uVar13 != 0) && (uVar12 < *(uint *)(param_1 + 0x15))) && + (uVar12 = *(int *)((longlong)param_1 + 0x94) - uVar13, + uVar12 <= *(int *)((longlong)param_1 + 0x44) - 0x106U)) { + if ((int)param_1[0x16] != 2) { + if ((int)param_1[0x16] == 3) { + if (uVar12 != 1) goto LAB_1400e935a; + uVar12 = FUN_1400e89ec((longlong)param_1,uVar13); + } + else { + uVar12 = FUN_1400e884c((longlong)param_1,uVar13); + } + *(uint *)(param_1 + 0x11) = uVar12; + } +LAB_1400e935a: + if ((*(uint *)(param_1 + 0x11) < 6) && + (((int)param_1[0x16] == 1 || + ((*(uint *)(param_1 + 0x11) == 3 && + (0x1000 < (uint)(*(int *)((longlong)param_1 + 0x94) - (int)param_1[0x13]))))))) { + *(undefined4 *)(param_1 + 0x11) = 2; + } + } + if ((*(uint *)(param_1 + 0x14) < 3) || (*(uint *)(param_1 + 0x14) < *(uint *)(param_1 + 0x11))) + { + if ((int)param_1[0x12] == 0) { + *(int *)((longlong)param_1 + 0x94) = *(int *)((longlong)param_1 + 0x94) + 1; + *(int *)((longlong)param_1 + 0x9c) = *(int *)((longlong)param_1 + 0x9c) + -1; + *(undefined4 *)(param_1 + 0x12) = 1; + goto LAB_1400e923e; + } + bVar7 = *(byte *)((ulonglong)(*(int *)((longlong)param_1 + 0x94) - 1) + param_1[10]); + *(undefined2 *)(param_1[0x2df] + (ulonglong)*(uint *)((longlong)param_1 + 0x16f4) * 2) = 0; + *(byte *)((ulonglong)*(uint *)((longlong)param_1 + 0x16f4) + param_1[0x2dd]) = bVar7; + *(int *)((longlong)param_1 + 0x16f4) = *(int *)((longlong)param_1 + 0x16f4) + 1; + psVar2 = (short *)((longlong)param_1 + (ulonglong)bVar7 * 4 + 0xbc); + *psVar2 = *psVar2 + 1; + if (*(int *)((longlong)param_1 + 0x16f4) == (int)param_1[0x2de] + -1) { + uVar12 = *(uint *)((longlong)param_1 + 0x84); + puVar8 = puVar9; + if (-1 < (int)uVar12) { + puVar8 = (undefined1 *)((ulonglong)uVar12 + param_1[10]); + } + FUN_1400eca38(param_1,puVar8,*(int *)((longlong)param_1 + 0x94) - uVar12,0); + *(undefined4 *)((longlong)param_1 + 0x84) = *(undefined4 *)((longlong)param_1 + 0x94); + FUN_1400e7b6c(*param_1); + } + *(int *)((longlong)param_1 + 0x94) = *(int *)((longlong)param_1 + 0x94) + 1; + *(int *)((longlong)param_1 + 0x9c) = *(int *)((longlong)param_1 + 0x9c) + -1; + iVar3 = *(int *)(*param_1 + 0x18); + } + else { + iVar3 = *(int *)((longlong)param_1 + 0x94); + iVar4 = *(int *)((longlong)param_1 + 0x9c); + sVar10 = (short)iVar3 - *(short *)((longlong)param_1 + 0x8c); + bVar7 = (char)param_1[0x14] - 3; + *(short *)(param_1[0x2df] + (ulonglong)*(uint *)((longlong)param_1 + 0x16f4) * 2) = + sVar10 + -1; + *(byte *)((ulonglong)*(uint *)((longlong)param_1 + 0x16f4) + param_1[0x2dd]) = bVar7; + *(int *)((longlong)param_1 + 0x16f4) = *(int *)((longlong)param_1 + 0x16f4) + 1; + uVar11 = sVar10 - 2; + psVar2 = (short *)((longlong)param_1 + (ulonglong)(byte)(&DAT_14012e1b0)[bVar7] * 4 + 0x4c0); + *psVar2 = *psVar2 + 1; + if (uVar11 < 0x100) { + bVar7 = (&DAT_14012dfb0)[uVar11]; + } + else { + bVar7 = (&DAT_14012e0b0)[uVar11 >> 7]; + } + psVar2 = (short *)((longlong)param_1 + (longlong)(int)(uint)bVar7 * 4 + 0x9b0); + *psVar2 = *psVar2 + 1; + lVar6 = param_1[0x2de]; + iVar5 = *(int *)((longlong)param_1 + 0x16f4); + *(int *)((longlong)param_1 + 0x9c) = + *(int *)((longlong)param_1 + 0x9c) + (1 - (int)param_1[0x14]); + *(int *)(param_1 + 0x14) = (int)param_1[0x14] + -2; + do { + *(int *)((longlong)param_1 + 0x94) = *(int *)((longlong)param_1 + 0x94) + 1; + uVar12 = *(uint *)((longlong)param_1 + 0x94); + if (uVar12 <= (uint)(iVar3 + -3 + iVar4)) { + uVar13 = ((uint)*(byte *)((ulonglong)(uVar12 + 2) + param_1[10]) ^ + (int)param_1[0xe] << ((byte)(int)param_1[0x10] & 0x1f)) & + *(uint *)((longlong)param_1 + 0x7c); + *(uint *)(param_1 + 0xe) = uVar13; + *(undefined2 *) + (param_1[0xc] + (ulonglong)(uVar12 & *(uint *)((longlong)param_1 + 0x4c)) * 2) = + *(undefined2 *)(param_1[0xd] + (ulonglong)uVar13 * 2); + puVar14 = (undefined1 *) + (ulonglong) + *(ushort *) + (param_1[0xc] + + (ulonglong) + (*(uint *)((longlong)param_1 + 0x94) & *(uint *)((longlong)param_1 + 0x4c)) * 2 + ); + *(undefined2 *)(param_1[0xd] + (ulonglong)*(uint *)(param_1 + 0xe) * 2) = + *(undefined2 *)((longlong)param_1 + 0x94); + } + plVar1 = param_1 + 0x14; + *(int *)plVar1 = (int)*plVar1 + -1; + } while ((int)*plVar1 != 0); + *(int *)((longlong)param_1 + 0x94) = *(int *)((longlong)param_1 + 0x94) + 1; + *(undefined4 *)(param_1 + 0x12) = 0; + *(undefined4 *)(param_1 + 0x11) = 2; + if (iVar5 != (int)lVar6 + -1) goto LAB_1400e923e; + uVar12 = *(uint *)((longlong)param_1 + 0x84); + puVar8 = puVar9; + if (-1 < (int)uVar12) { + puVar8 = (undefined1 *)((ulonglong)uVar12 + param_1[10]); + } + FUN_1400eca38(param_1,puVar8,*(int *)((longlong)param_1 + 0x94) - uVar12,0); + *(undefined4 *)((longlong)param_1 + 0x84) = *(undefined4 *)((longlong)param_1 + 0x94); + FUN_1400e7b6c(*param_1); + iVar3 = *(int *)(*param_1 + 0x18); + } + if (iVar3 == 0) { + return 0; + } + } while( true ); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e970c.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e970c.c new file mode 100644 index 00000000..73641896 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e970c.c @@ -0,0 +1,41 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e970c FUN_1400e970c + * Pseudocode, not original source. */ + +undefined8 FUN_1400e970c(longlong param_1) + +{ + longlong lVar1; + uint uVar2; + undefined8 uVar3; + + if ((((param_1 == 0) || (lVar1 = *(longlong *)(param_1 + 0x28), lVar1 == 0)) || + (*(longlong *)(param_1 + 0x30) == 0)) || (*(longlong *)(param_1 + 0x38) == 0)) { + uVar3 = 0xfffffffe; + } + else { + *(undefined4 *)(param_1 + 0x1c) = 0; + *(undefined4 *)(param_1 + 0xc) = 0; + *(undefined8 *)(param_1 + 0x20) = 0; + *(undefined4 *)(param_1 + 0x48) = 2; + *(undefined4 *)(lVar1 + 0x28) = 0; + *(undefined8 *)(lVar1 + 0x20) = *(undefined8 *)(lVar1 + 0x10); + if (*(int *)(lVar1 + 0x2c) < 0) { + *(int *)(lVar1 + 0x2c) = -*(int *)(lVar1 + 0x2c); + } + *(uint *)(lVar1 + 8) = (-(uint)(*(int *)(lVar1 + 0x2c) != 0) & 0xffffffb9) + 0x71; + if (*(int *)(lVar1 + 0x2c) == 2) { + uVar2 = FUN_1400eb028(0,(uint *)0x0,0); + } + else { + uVar2 = FUN_1400ea49c(0,(byte *)0x0,0); + } + *(uint *)(param_1 + 0x4c) = uVar2; + *(undefined4 *)(lVar1 + 0x40) = 0; + FUN_1400ec388(lVar1); + FUN_1400e879c(lVar1); + uVar3 = 0; + } + return uVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e97cc.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e97cc.c new file mode 100644 index 00000000..64b45e2d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e97cc.c @@ -0,0 +1,39 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e97cc FUN_1400e97cc + * Pseudocode, not original source. */ + +undefined4 FUN_1400e97cc(longlong *param_1,uint param_2,uint param_3) + +{ + longlong lVar1; + undefined4 uVar2; + ulonglong uVar3; + longlong lVar4; + + if ((param_1 != (longlong *)0x0) && (lVar1 = param_1[5], lVar1 != 0)) { + if (param_2 == 0xffffffff) { + param_2 = 6; + } + if ((param_2 < 10) && (param_3 < 5)) { + lVar4 = (longlong)(int)param_2; + uVar2 = 0; + if (((&PTR_FUN_14012b718)[(longlong)*(int *)(lVar1 + 0xac) * 2] != + (&PTR_FUN_14012b718)[lVar4 * 2]) && (uVar2 = 0, *(int *)((longlong)param_1 + 0xc) != 0)) + { + uVar3 = FUN_1400e7bec(param_1,1); + uVar2 = (undefined4)uVar3; + } + if (*(uint *)(lVar1 + 0xac) != param_2) { + *(uint *)(lVar1 + 0xac) = param_2; + *(uint *)(lVar1 + 0xa8) = (uint)*(ushort *)(&DAT_14012b712 + lVar4 * 0x10); + *(uint *)(lVar1 + 0xb4) = (uint)*(ushort *)(&DAT_14012b710 + lVar4 * 0x10); + *(uint *)(lVar1 + 0xb8) = (uint)*(ushort *)(&DAT_14012b714 + lVar4 * 0x10); + *(uint *)(lVar1 + 0xa4) = (uint)*(ushort *)(&DAT_14012b716 + lVar4 * 0x10); + } + *(uint *)(lVar1 + 0xb0) = param_3; + return uVar2; + } + } + return 0xfffffffe; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e98cc.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e98cc.c new file mode 100644 index 00000000..e2aa2f93 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e98cc.c @@ -0,0 +1,103 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e98cc FUN_1400e98cc + * Pseudocode, not original source. */ + +undefined8 +FUN_1400e98cc(longlong param_1,uint param_2,int param_3,int param_4,int param_5,uint param_6, + char *param_7,int param_8) + +{ + uint uVar1; + int iVar2; + undefined8 uVar3; + code *pcVar4; + longlong *plVar5; + longlong lVar6; + int iVar7; + undefined4 uVar8; + + uVar8 = 1; + if (((param_7 == (char *)0x0) || (*param_7 != '1')) || (param_8 != 0x58)) { + uVar3 = 0xfffffffa; + } + else { + if (param_1 != 0) { + *(undefined8 *)(param_1 + 0x20) = 0; + if (*(longlong *)(param_1 + 0x30) == 0) { + *(undefined8 *)(param_1 + 0x40) = 0; + *(code **)(param_1 + 0x30) = FUN_1400e9ba8; + } + pcVar4 = *(code **)(param_1 + 0x38); + if (pcVar4 == (code *)0x0) { + pcVar4 = FUN_1400e9bc8; + } + *(code **)(param_1 + 0x38) = pcVar4; + if (param_2 == 0xffffffff) { + param_2 = 6; + } + if (param_4 < 0) { + param_4 = -param_4; + uVar8 = 0; + } + else if (0xf < param_4) { + uVar8 = 2; + param_4 = param_4 + -0x10; + } + if (((param_5 - 1U < 9) && (param_3 == 8)) && + ((param_4 - 8U < 8 && ((param_2 < 10 && (param_6 < 5)))))) { + if (param_4 == 8) { + param_4 = 9; + } + plVar5 = (longlong *)(**(code **)(param_1 + 0x30))(*(undefined8 *)(param_1 + 0x40),1,0x1718) + ; + if (plVar5 != (longlong *)0x0) { + *(longlong **)(param_1 + 0x28) = plVar5; + *(undefined4 *)((longlong)plVar5 + 0x2c) = uVar8; + *(int *)(plVar5 + 9) = param_4; + *plVar5 = param_1; + plVar5[6] = 0; + iVar7 = 1 << ((byte)param_4 & 0x1f); + *(int *)((longlong)plVar5 + 0x44) = iVar7; + *(int *)(plVar5 + 0xf) = param_5 + 7; + *(int *)((longlong)plVar5 + 0x4c) = iVar7 + -1; + iVar2 = 1 << ((byte)(param_5 + 7) & 0x1f); + *(int *)((longlong)plVar5 + 0x74) = iVar2; + *(int *)((longlong)plVar5 + 0x7c) = iVar2 + -1; + *(uint *)(plVar5 + 0x10) = (param_5 + 9U) / 3; + lVar6 = (**(code **)(param_1 + 0x30))(*(undefined8 *)(param_1 + 0x40),iVar7,2); + plVar5[10] = lVar6; + lVar6 = (**(code **)(param_1 + 0x30)) + (*(undefined8 *)(param_1 + 0x40), + *(undefined4 *)((longlong)plVar5 + 0x44),2); + plVar5[0xc] = lVar6; + lVar6 = (**(code **)(param_1 + 0x30)) + (*(undefined8 *)(param_1 + 0x40), + *(undefined4 *)((longlong)plVar5 + 0x74),2); + iVar2 = 1 << ((char)param_5 + 6U & 0x1f); + plVar5[0xd] = lVar6; + *(int *)(plVar5 + 0x2de) = iVar2; + lVar6 = (**(code **)(param_1 + 0x30))(*(undefined8 *)(param_1 + 0x40),iVar2,4); + plVar5[2] = lVar6; + uVar1 = *(uint *)(plVar5 + 0x2de); + *(uint *)(plVar5 + 3) = uVar1 << 2; + if ((((plVar5[10] != 0) && (plVar5[0xc] != 0)) && (plVar5[0xd] != 0)) && (lVar6 != 0)) { + *(uint *)((longlong)plVar5 + 0xac) = param_2; + *(uint *)(plVar5 + 0x16) = param_6; + *(undefined1 *)((longlong)plVar5 + 0x3c) = 8; + plVar5[0x2df] = lVar6 + (ulonglong)(uVar1 >> 1) * 2; + plVar5[0x2dd] = lVar6 + (ulonglong)uVar1 * 3; + uVar3 = FUN_1400e970c(param_1); + return uVar3; + } + *(undefined4 *)(plVar5 + 1) = 0x29a; + *(char **)(param_1 + 0x20) = "insufficient memory"; + FUN_1400e843c(param_1); + } + return 0xfffffffc; + } + } + uVar3 = 0xfffffffe; + } + return uVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e9b3c.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e9b3c.c new file mode 100644 index 00000000..f8f36093 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e9b3c.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e9b3c FUN_1400e9b3c + * Pseudocode, not original source. */ + +void FUN_1400e9b3c(longlong param_1,uint param_2,char *param_3,int param_4) + +{ + FUN_1400e98cc(param_1,param_2,8,0xf,8,0,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e9ba8.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e9ba8.c new file mode 100644 index 00000000..55e373f4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e9ba8.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e9ba8 FUN_1400e9ba8 + * Pseudocode, not original source. */ + +void FUN_1400e9ba8(undefined8 param_1,int param_2,int param_3) + +{ + /* WARNING: Could not recover jumptable at 0x0001400e9bae. Too many branches */ + /* WARNING: Treating indirect jump as call */ + malloc((ulonglong)(uint)(param_2 * param_3)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e9bc8.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e9bc8.c new file mode 100644 index 00000000..7bb8528f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e9bc8.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e9bc8 FUN_1400e9bc8 + * Pseudocode, not original source. */ + +void FUN_1400e9bc8(undefined8 param_1,void *param_2) + +{ + /* WARNING: Could not recover jumptable at 0x0001400e9bcb. Too many branches */ + /* WARNING: Treating indirect jump as call */ + free(param_2); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400e9bd4.c b/decomp/AgentManager_Release_x64/full/functions/0x1400e9bd4.c new file mode 100644 index 00000000..8015cd5b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400e9bd4.c @@ -0,0 +1,262 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400e9bd4 FUN_1400e9bd4 + * Pseudocode, not original source. */ + +void FUN_1400e9bd4(longlong *param_1,int param_2) + +{ + uint uVar1; + undefined4 uVar2; + uint uVar3; + undefined4 uVar4; + undefined4 *puVar5; + longlong lVar6; + longlong lVar7; + longlong lVar8; + uint uVar9; + uint uVar10; + char *pcVar11; + ulonglong uVar12; + uint uVar13; + uint uVar14; + byte *pbVar15; + byte *pbVar16; + longlong lVar17; + undefined1 *puVar18; + undefined1 *puVar19; + undefined1 *puVar20; + undefined1 *puVar21; + longlong lVar22; + undefined1 *puVar23; + uint uVar24; + int iVar25; + uint uVar26; + byte *pbVar27; + int local_68; + + puVar5 = (undefined4 *)param_1[5]; + lVar17 = *(longlong *)(puVar5 + 0x16); + lVar6 = *(longlong *)(puVar5 + 0x18); + uVar1 = puVar5[0xd]; + uVar14 = puVar5[0x10]; + uVar24 = puVar5[0x11]; + lVar8 = param_1[3]; + puVar18 = (undefined1 *)(param_1[2] + -1); + uVar2 = puVar5[0x1a]; + pbVar15 = (byte *)(*param_1 + -1); + local_68 = (int)puVar18 - (param_2 - (int)lVar8); + iVar25 = puVar5[0xb]; + uVar3 = puVar5[0xc]; + lVar7 = *(longlong *)(puVar5 + 0xe); + pbVar27 = pbVar15 + ((int)param_1[1] - 5); + uVar4 = puVar5[0x1b]; + puVar19 = puVar18; +LAB_1400e9c8e: + if (uVar24 < 0xf) { + pbVar16 = pbVar15 + 1; + pbVar15 = pbVar15 + 2; + uVar14 = uVar14 + ((uint)*pbVar16 << ((byte)uVar24 & 0x1f)) + + ((uint)*pbVar15 << ((byte)uVar24 + 8 & 0x1f)); + uVar24 = uVar24 + 0x10; + } + uVar9 = uVar14 & (1 << ((byte)uVar2 & 0x1f)) - 1U; + while( true ) { + uVar9 = *(uint *)(lVar17 + (ulonglong)uVar9 * 4); + uVar14 = uVar14 >> ((byte)(uVar9 >> 8) & 0x1f); + uVar24 = uVar24 - (uVar9 >> 8 & 0xff); + if ((byte)uVar9 == 0) break; + pbVar16 = pbVar15; + if ((uVar9 & 0x10) != 0) { + uVar26 = uVar9 >> 0x10; + uVar9 = uVar9 & 0xf; + if (uVar9 != 0) { + if (uVar24 < uVar9) { + pbVar15 = pbVar15 + 1; + uVar14 = uVar14 + ((uint)*pbVar15 << ((byte)uVar24 & 0x1f)); + uVar24 = uVar24 + 8; + } + uVar10 = (1 << (sbyte)uVar9) - 1U & uVar14; + uVar14 = uVar14 >> (sbyte)uVar9; + uVar26 = uVar26 + uVar10; + uVar24 = uVar24 - uVar9; + pbVar16 = pbVar15; + } + if (uVar24 < 0xf) { + pbVar15 = pbVar16 + 1; + pbVar16 = pbVar16 + 2; + uVar14 = uVar14 + ((uint)*pbVar15 << ((byte)uVar24 & 0x1f)) + + ((uint)*pbVar16 << ((byte)uVar24 + 8 & 0x1f)); + uVar24 = uVar24 + 0x10; + } + uVar9 = *(uint *)(lVar6 + (ulonglong)((1 << ((byte)uVar4 & 0x1f)) - 1U & uVar14) * 4); + goto LAB_1400e9d95; + } + if ((uVar9 & 0x40) != 0) { + if ((uVar9 & 0x20) == 0) { + pcVar11 = "invalid literal/length code"; + goto LAB_1400e9fc0; + } + *puVar5 = 0xb; + goto LAB_1400e9fcc; + } + uVar9 = ((1 << ((byte)uVar9 & 0x1f)) - 1U & uVar14) + (uVar9 >> 0x10); + } + puVar19[1] = (char)(uVar9 >> 0x10); + puVar20 = puVar19 + 1; + goto LAB_1400e9f84; +LAB_1400e9d95: + uVar14 = uVar14 >> ((byte)(uVar9 >> 8) & 0x1f); + uVar24 = uVar24 - (uVar9 >> 8 & 0xff); + if ((uVar9 & 0x10) != 0) goto code_r0x0001400e9db2; + if ((uVar9 & 0x40) != 0) { + pcVar11 = "invalid distance code"; + goto LAB_1400e9fc0; + } + uVar9 = *(uint *)(lVar6 + (ulonglong) + (((1 << ((byte)uVar9 & 0x1f)) - 1U & uVar14) + (uVar9 >> 0x10)) * 4); + goto LAB_1400e9d95; +code_r0x0001400e9db2: + uVar13 = uVar9 & 0xf; + pbVar15 = pbVar16; + uVar10 = uVar24; + if (uVar24 < uVar13) { + pbVar15 = pbVar16 + 1; + uVar10 = uVar24 + 8; + uVar14 = uVar14 + ((uint)*pbVar15 << ((byte)uVar24 & 0x1f)); + if (uVar10 < uVar13) { + pbVar15 = pbVar16 + 2; + uVar14 = uVar14 + ((uint)*pbVar15 << ((byte)uVar10 & 0x1f)); + uVar10 = uVar24 + 0x10; + } + } + uVar24 = uVar10 - uVar13; + uVar10 = (1 << (sbyte)uVar13) - 1U & uVar14; + uVar14 = uVar14 >> (sbyte)uVar13; + uVar10 = (uVar9 >> 0x10) + uVar10; + uVar9 = (int)puVar19 - local_68; + if (uVar10 <= uVar9) { + puVar20 = puVar19 + -(ulonglong)uVar10; + do { + puVar23 = puVar19; + puVar21 = puVar20; + puVar19 = puVar23 + 3; + puVar23[1] = puVar21[1]; + uVar26 = uVar26 - 3; + puVar23[2] = puVar21[2]; + *puVar19 = puVar21[3]; + puVar20 = puVar21 + 3; + } while (2 < uVar26); + puVar20 = puVar19; + if (uVar26 != 0) { + puVar23[4] = puVar21[4]; + puVar20 = puVar23 + 4; + if (1 < uVar26) { + puVar23[5] = puVar21[5]; + puVar20 = puVar23 + 5; + } + } + goto LAB_1400e9f84; + } + uVar9 = uVar10 - uVar9; + if (uVar3 < uVar9) { + pcVar11 = "invalid distance too far back"; + pbVar16 = pbVar15; +LAB_1400e9fc0: + param_1[4] = (longlong)pcVar11; + *puVar5 = 0x1b; +LAB_1400e9fcc: + *(int *)(param_1 + 3) = ((int)(puVar18 + ((int)lVar8 - 0x101)) - (int)puVar19) + 0x101; + lVar17 = (longlong)pbVar16 - (ulonglong)(uVar24 >> 3); + iVar25 = uVar24 + (uVar24 >> 3) * -8; + *param_1 = lVar17 + 1; + *(int *)(param_1 + 1) = ((int)pbVar27 - (int)lVar17) + 5; + param_1[2] = (longlong)(puVar19 + 1); + puVar5[0x11] = iVar25; + puVar5[0x10] = (1 << ((byte)iVar25 & 0x1f)) - 1U & uVar14; + return; + } + lVar22 = lVar7 + -1; + if (uVar1 == 0) { + puVar21 = (undefined1 *)(lVar22 + (ulonglong)(iVar25 - uVar9)); + if (uVar9 < uVar26) { + uVar26 = uVar26 - uVar9; + do { + puVar21 = puVar21 + 1; + puVar19 = puVar19 + 1; + uVar9 = uVar9 - 1; + *puVar19 = *puVar21; + } while (uVar9 != 0); +LAB_1400e9ebc: + puVar21 = puVar19 + -(ulonglong)uVar10; + } + } + else if (uVar1 < uVar9) { + uVar13 = uVar9 - uVar1; + puVar21 = (undefined1 *)(lVar22 + (ulonglong)((uVar1 - uVar9) + iVar25)); + if (uVar13 < uVar26) { + uVar26 = uVar26 - uVar13; + lVar22 = (longlong)puVar21 - (longlong)puVar19; + do { + puVar19 = puVar19 + 1; + uVar13 = uVar13 - 1; + *puVar19 = puVar19[lVar22]; + } while (uVar13 != 0); + puVar21 = (undefined1 *)(lVar7 + -1); + if (uVar1 < uVar26) { + uVar26 = uVar26 - uVar1; + uVar9 = uVar1; + do { + puVar21 = puVar21 + 1; + puVar19 = puVar19 + 1; + uVar9 = uVar9 - 1; + *puVar19 = *puVar21; + } while (uVar9 != 0); + goto LAB_1400e9ebc; + } + } + } + else { + puVar21 = (undefined1 *)(lVar22 + (ulonglong)(uVar1 - uVar9)); + if (uVar9 < uVar26) { + uVar26 = uVar26 - uVar9; + do { + puVar21 = puVar21 + 1; + puVar19 = puVar19 + 1; + uVar9 = uVar9 - 1; + *puVar19 = *puVar21; + } while (uVar9 != 0); + goto LAB_1400e9ebc; + } + } + if (2 < uVar26) { + uVar12 = (ulonglong)((uVar26 - 3) / 3 + 1); + puVar20 = puVar19; + puVar23 = puVar21; + do { + puVar21 = puVar23 + 3; + puVar19 = puVar20 + 3; + puVar20[1] = puVar23[1]; + uVar26 = uVar26 - 3; + uVar12 = uVar12 - 1; + puVar20[2] = puVar23[2]; + *puVar19 = *puVar21; + puVar20 = puVar19; + puVar23 = puVar21; + } while (uVar12 != 0); + } + puVar20 = puVar19; + if (uVar26 != 0) { + puVar19[1] = puVar21[1]; + puVar20 = puVar19 + 1; + if (1 < uVar26) { + puVar19[2] = puVar21[2]; + puVar20 = puVar19 + 2; + } + } +LAB_1400e9f84: + pbVar16 = pbVar15; + puVar19 = puVar20; + if ((pbVar27 <= pbVar15) || (puVar18 + ((int)lVar8 - 0x101) <= puVar20)) goto LAB_1400e9fcc; + goto LAB_1400e9c8e; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ea034.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ea034.c new file mode 100644 index 00000000..3839e26a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ea034.c @@ -0,0 +1,260 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ea034 FUN_1400ea034 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +undefined8 +FUN_1400ea034(int param_1,ushort *param_2,uint param_3,longlong *param_4,uint *param_5, + undefined *param_6) + +{ + byte bVar1; + ushort uVar2; + ushort *puVar3; + undefined8 uVar4; + byte bVar5; + longlong lVar6; + ulonglong uVar7; + ulonglong uVar8; + ulonglong uVar9; + uint uVar10; + uint uVar11; + uint uVar12; + int iVar13; + char cVar14; + uint uVar15; + uint uVar16; + int iVar17; + int iVar18; + uint uVar19; + byte bVar21; + ulonglong uVar22; + uint uVar23; + undefined *puVar24; + undefined4 local_d8; + longlong local_d0; + uint local_c8; + uint local_c4; + uint local_c0; + uint local_bc; + undefined *local_b0; + ushort local_80 [32]; + ulonglong local_40; + ulonglong uVar20; + + local_40 = DAT_14016f5a0 ^ (ulonglong)&local_d8; + uVar22 = 0; + uVar23 = 1; + puVar3 = local_80; + for (lVar6 = 0x10; lVar6 != 0; lVar6 = lVar6 + -1) { + *puVar3 = 0; + puVar3 = puVar3 + 1; + } + if (param_3 != 0) { + uVar8 = (ulonglong)param_3; + puVar3 = param_2; + do { + uVar2 = *puVar3; + puVar3 = puVar3 + 1; + local_80[uVar2] = local_80[uVar2] + 1; + uVar8 = uVar8 - 1; + } while (uVar8 != 0); + } + uVar10 = 0xf; + local_c4 = 0xffffffff; + puVar3 = local_80 + 0xf; + do { + if (*puVar3 != 0) break; + uVar10 = uVar10 - 1; + puVar3 = puVar3 + -1; + } while (uVar10 != 0); + uVar16 = *param_5; + if (uVar10 < *param_5) { + uVar16 = uVar10; + } + if (uVar10 == 0) { + *(undefined4 *)*param_4 = 0x140; + *param_4 = *param_4 + 4; + *(undefined4 *)*param_4 = 0x140; + *param_4 = *param_4 + 4; + *param_5 = 1; +LAB_1400ea102: + uVar4 = 0; + } + else { + puVar3 = local_80; + uVar15 = uVar23; + do { + puVar3 = puVar3 + 1; + if (*puVar3 != 0) break; + uVar15 = uVar15 + 1; + } while (uVar15 < 0x10); + uVar8 = (ulonglong)uVar16; + uVar11 = uVar23; + if (uVar16 < uVar15) { + uVar8 = (ulonglong)uVar15; + } + do { + uVar23 = uVar23 * 2 - (uint)local_80[uVar11]; + if ((int)uVar23 < 0) goto LAB_1400ea471; + uVar11 = uVar11 + 1; + } while (uVar11 < 0x10); + if (((int)uVar23 < 1) || ((param_1 != 0 && (uVar10 == 1)))) { + local_80[0x11] = 0; + lVar6 = 0xe; + uVar7 = uVar22; + do { + lVar6 = lVar6 + -1; + *(short *)((longlong)local_80 + uVar7 + 0x24) = + *(short *)((longlong)local_80 + uVar7 + 2) + + *(short *)((longlong)local_80 + uVar7 + 0x22); + uVar7 = uVar7 + 2; + } while (lVar6 != 0); + puVar3 = param_2; + uVar7 = uVar22; + if (param_3 != 0) { + do { + if (*puVar3 != 0) { + *(short *)(param_6 + (ulonglong)local_80[(ulonglong)*puVar3 + 0x10] * 2) = (short)uVar7; + local_80[(ulonglong)*puVar3 + 0x10] = local_80[(ulonglong)*puVar3 + 0x10] + 1; + } + uVar23 = (int)uVar7 + 1; + puVar3 = puVar3 + 1; + uVar7 = (ulonglong)uVar23; + } while (uVar23 < param_3); + } + if (param_1 == 0) { + local_b0 = param_6; + iVar13 = 0x13; + puVar24 = param_6; + } + else if (param_1 == 1) { + iVar13 = 0x100; + local_b0 = &DAT_14012b67e; + puVar24 = &UNK_14012b63e; + } + else { + iVar13 = -1; + local_b0 = &DAT_14012b900; + puVar24 = &DAT_14012b8c0; + } + local_d0 = *param_4; + uVar16 = (uint)uVar8; + bVar5 = (byte)uVar8; + local_bc = 1 << (bVar5 & 0x1f); + uVar23 = local_bc - 1; + local_c0 = 0; + uVar7 = uVar22; + uVar9 = uVar22; + local_c8 = local_bc; + if ((param_1 != 1) || (uVar7 = 0, uVar9 = 0, local_bc < 0x5b0)) { +LAB_1400ea254: + cVar14 = (char)uVar15; + bVar21 = (byte)uVar22; + bVar1 = cVar14 - bVar21; + uVar2 = *(ushort *)(param_6 + uVar9 * 2); + if ((int)(uint)uVar2 < iVar13) { + local_d8._0_2_ = (ushort)bVar1 << 8; + } + else if (iVar13 < (int)(uint)uVar2) { + local_d8._0_2_ = CONCAT11(bVar1,local_b0[(ulonglong)*(ushort *)(param_6 + uVar9 * 2) * 2]) + ; + uVar2 = *(ushort *)(puVar24 + (ulonglong)*(ushort *)(param_6 + uVar9 * 2) * 2); + } + else { + local_d8 = CONCAT31((uint3)bVar1,0x60); + uVar2 = 0; + } + uVar12 = (uint)uVar7; + local_d8 = CONCAT22(uVar2,(ushort)local_d8); + iVar17 = 1 << (cVar14 - bVar21 & 0x1f); + uVar7 = (ulonglong)((uVar12 >> (bVar21 & 0x1f)) + local_bc); + uVar11 = local_bc; + do { + uVar7 = (ulonglong)(uint)((int)uVar7 - iVar17); + uVar11 = uVar11 - iVar17; + *(uint *)(local_d0 + uVar7 * 4) = local_d8; + } while (uVar11 != 0); + for (uVar11 = 1 << (cVar14 - 1U & 0x1f); (uVar12 & uVar11) != 0; uVar11 = uVar11 >> 1) { + } + uVar19 = 0; + if (uVar11 != 0) { + uVar19 = uVar11 + (uVar11 - 1 & uVar12); + } + uVar7 = (ulonglong)uVar19; + local_c0 = local_c0 + 1; + uVar9 = (ulonglong)local_c0; + puVar3 = local_80 + uVar15; + *puVar3 = *puVar3 - 1; + if (*puVar3 != 0) goto LAB_1400ea31e; + if (uVar15 != uVar10) { + uVar15 = (uint)param_2[*(ushort *)(param_6 + uVar9 * 2)]; + goto LAB_1400ea31e; + } + local_d8._0_2_ = CONCAT11(cVar14 - bVar21,0x40); + local_d8 = (uint)(ushort)local_d8; + while (uVar19 != 0) { + uVar10 = (uint)uVar7; + if (((int)uVar22 != 0) && ((uVar23 & uVar10) != local_c4)) { + local_d0 = *param_4; + uVar22 = 0; + local_d8._0_2_ = CONCAT11(bVar5,(undefined1)local_d8); + local_d8 = (uint)(ushort)local_d8; + uVar15 = uVar16; + } + *(uint *)(local_d0 + (uVar7 >> ((byte)uVar22 & 0x3f)) * 4) = local_d8; + for (uVar11 = 1 << ((char)uVar15 - 1U & 0x1f); (uVar10 & uVar11) != 0; + uVar11 = uVar11 >> 1) { + } + uVar19 = 0; + if (uVar11 != 0) { + uVar19 = uVar11 + (uVar11 - 1 & uVar10); + } + uVar7 = (ulonglong)uVar19; + } + *param_4 = *param_4 + (ulonglong)local_c8 * 4; + *param_5 = uVar16; + goto LAB_1400ea102; + } +LAB_1400ea245: + uVar4 = 1; + } + else { +LAB_1400ea471: + uVar4 = 0xffffffff; + } + } + return uVar4; +LAB_1400ea31e: + if (uVar16 < uVar15) { + uVar19 = uVar23 & uVar19; + uVar20 = (ulonglong)uVar19; + if (uVar19 == local_c4) goto LAB_1400ea254; + if ((int)uVar22 == 0) { + uVar22 = uVar8; + } + local_d0 = local_d0 + (ulonglong)local_bc * 4; + iVar18 = uVar15 - (int)uVar22; + uVar11 = (int)uVar22 + iVar18; + for (iVar17 = 1 << ((byte)iVar18 & 0x1f); + (uVar11 < uVar10 && (uVar9 = (ulonglong)uVar11, 0 < (int)(iVar17 - (uint)local_80[uVar9]))); + iVar17 = (iVar17 - (uint)local_80[uVar9]) * 2) { + uVar11 = uVar11 + 1; + iVar18 = iVar18 + 1; + } + local_bc = 1 << ((byte)iVar18 & 0x1f); + local_c8 = local_c8 + local_bc; + if ((param_1 != 1) || (local_c8 < 0x5b0)) { + *(byte *)(*param_4 + uVar20 * 4) = (byte)iVar18; + uVar9 = (ulonglong)local_c0; + *(byte *)(*param_4 + 1 + uVar20 * 4) = bVar5; + *(short *)(*param_4 + 2 + uVar20 * 4) = (short)(local_d0 - *param_4 >> 2); + local_c4 = uVar19; + goto LAB_1400ea254; + } + goto LAB_1400ea245; + } + goto LAB_1400ea254; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ea49c.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ea49c.c new file mode 100644 index 00000000..9682b2af --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ea49c.c @@ -0,0 +1,133 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ea49c FUN_1400ea49c + * Pseudocode, not original source. */ + +uint FUN_1400ea49c(uint param_1,byte *param_2,uint param_3) + +{ + byte bVar1; + int iVar2; + ulonglong uVar3; + uint uVar4; + uint uVar5; + int iVar6; + int iVar7; + int iVar8; + int iVar9; + int iVar10; + int iVar11; + int iVar12; + int iVar13; + int iVar14; + int iVar15; + int iVar16; + int iVar17; + int iVar18; + int iVar19; + int iVar20; + byte *pbVar21; + + uVar5 = param_1 & 0xffff; + uVar4 = param_1 >> 0x10; + if (param_3 == 1) { + uVar5 = (param_1 & 0xffff) + (uint)*param_2; + if (0xfff0 < uVar5) { + uVar5 = uVar5 - 0xfff1; + } + uVar4 = uVar4 + uVar5; + if (0xfff0 < uVar4) { + uVar4 = uVar4 - 0xfff1; + } + } + else { + if (param_2 == (byte *)0x0) { + return 1; + } + if (param_3 < 0x10) { + for (; param_3 != 0; param_3 = param_3 - 1) { + bVar1 = *param_2; + param_2 = param_2 + 1; + uVar5 = uVar5 + bVar1; + uVar4 = uVar4 + uVar5; + } + if (0xfff0 < uVar5) { + uVar5 = uVar5 - 0xfff1; + } + return (uVar4 + (uVar4 / 0xfff1) * 0xf) * 0x10000 | uVar5; + } + if (0x15af < param_3) { + uVar3 = (ulonglong)param_3 / 0x15b0; + do { + param_3 = param_3 - 0x15b0; + iVar2 = 0x15b; + pbVar21 = param_2; + do { + param_2 = pbVar21 + 0x10; + iVar6 = uVar5 + *pbVar21; + iVar7 = iVar6 + (uint)pbVar21[1]; + iVar8 = iVar7 + (uint)pbVar21[2]; + iVar9 = iVar8 + (uint)pbVar21[3]; + iVar10 = iVar9 + (uint)pbVar21[4]; + iVar11 = iVar10 + (uint)pbVar21[5]; + iVar12 = iVar11 + (uint)pbVar21[6]; + iVar13 = iVar12 + (uint)pbVar21[7]; + iVar14 = iVar13 + (uint)pbVar21[8]; + iVar15 = iVar14 + (uint)pbVar21[9]; + iVar16 = iVar15 + (uint)pbVar21[10]; + iVar17 = iVar16 + (uint)pbVar21[0xb]; + iVar18 = iVar17 + (uint)pbVar21[0xc]; + iVar19 = iVar18 + (uint)pbVar21[0xd]; + iVar20 = iVar19 + (uint)pbVar21[0xe]; + uVar5 = iVar20 + (uint)pbVar21[0xf]; + uVar4 = uVar4 + iVar6 + iVar7 + iVar8 + iVar9 + iVar10 + iVar11 + iVar12 + iVar13 + iVar14 + + iVar15 + iVar16 + iVar17 + iVar18 + iVar19 + iVar20 + uVar5; + iVar2 = iVar2 + -1; + pbVar21 = param_2; + } while (iVar2 != 0); + uVar5 = uVar5 % 0xfff1; + uVar4 = uVar4 % 0xfff1; + uVar3 = uVar3 - 1; + } while (uVar3 != 0); + } + if (param_3 != 0) { + if (0xf < param_3) { + uVar3 = (ulonglong)(param_3 >> 4); + pbVar21 = param_2; + do { + param_3 = param_3 - 0x10; + param_2 = pbVar21 + 0x10; + iVar2 = uVar5 + *pbVar21; + iVar6 = iVar2 + (uint)pbVar21[1]; + iVar7 = iVar6 + (uint)pbVar21[2]; + iVar8 = iVar7 + (uint)pbVar21[3]; + iVar9 = iVar8 + (uint)pbVar21[4]; + iVar10 = iVar9 + (uint)pbVar21[5]; + iVar11 = iVar10 + (uint)pbVar21[6]; + iVar12 = iVar11 + (uint)pbVar21[7]; + iVar13 = iVar12 + (uint)pbVar21[8]; + iVar14 = iVar13 + (uint)pbVar21[9]; + iVar15 = iVar14 + (uint)pbVar21[10]; + iVar16 = iVar15 + (uint)pbVar21[0xb]; + iVar17 = iVar16 + (uint)pbVar21[0xc]; + iVar18 = iVar17 + (uint)pbVar21[0xd]; + iVar19 = iVar18 + (uint)pbVar21[0xe]; + uVar5 = iVar19 + (uint)pbVar21[0xf]; + uVar4 = uVar4 + iVar2 + iVar6 + iVar7 + iVar8 + iVar9 + iVar10 + iVar11 + iVar12 + iVar13 + + iVar14 + iVar15 + iVar16 + iVar17 + iVar18 + iVar19 + uVar5; + uVar3 = uVar3 - 1; + pbVar21 = param_2; + } while (uVar3 != 0); + } + for (; param_3 != 0; param_3 = param_3 - 1) { + bVar1 = *param_2; + param_2 = param_2 + 1; + uVar5 = uVar5 + bVar1; + uVar4 = uVar4 + uVar5; + } + uVar5 = uVar5 % 0xfff1; + uVar4 = uVar4 % 0xfff1; + } + } + return uVar4 << 0x10 | uVar5; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ea77c.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ea77c.c new file mode 100644 index 00000000..ee3328c9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ea77c.c @@ -0,0 +1,28 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ea77c FUN_1400ea77c + * Pseudocode, not original source. */ + +uint FUN_1400ea77c(uint param_1,uint param_2,uint param_3) + +{ + uint uVar1; + uint uVar2; + uint uVar3; + + uVar1 = (param_1 & 0xffff) + 0xfff0 + (param_2 & 0xffff); + uVar3 = (param_1 & 0xffff) * (param_3 % 0xfff1); + uVar3 = uVar3 + 0xfff1 + + (((param_1 >> 0x10) + (uVar3 / 0xfff1) * -0xfff1 + (param_2 >> 0x10)) - param_3 % 0xfff1); + uVar2 = uVar1; + if ((0xfff1 < uVar1) && (uVar2 = uVar1 - 0xfff1, 0xfff1 < uVar2)) { + uVar2 = uVar1 - 0x1ffe2; + } + if (0x1ffe2 < uVar3) { + uVar3 = uVar3 - 0x1ffe2; + } + if (0xfff1 < uVar3) { + uVar3 = uVar3 - 0xfff1; + } + return uVar3 << 0x10 | uVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ea828.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ea828.c new file mode 100644 index 00000000..bcb58a38 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ea828.c @@ -0,0 +1,84 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ea828 FUN_1400ea828 + * Pseudocode, not original source. */ + +uint FUN_1400ea828(uint param_1,uint *param_2,uint param_3) + +{ + uint uVar1; + uint *puVar2; + ulonglong uVar3; + uint uVar4; + + uVar4 = ~param_1; + for (; (param_3 != 0 && (((ulonglong)param_2 & 3) != 0)); + param_2 = (uint *)((longlong)param_2 + 1)) { + uVar4 = *(uint *)(&DAT_14012b940 + (ulonglong)(byte)((byte)*param_2 ^ (byte)uVar4) * 4) ^ + uVar4 >> 8; + param_3 = param_3 - 1; + } + if (0x1f < param_3) { + uVar3 = (ulonglong)(param_3 >> 5); + puVar2 = param_2; + do { + uVar4 = uVar4 ^ *puVar2; + uVar4 = *(uint *)(&DAT_14012bd40 + (ulonglong)(byte)(uVar4 >> 0x10) * 4) ^ + *(uint *)(&DAT_14012c140 + (ulonglong)(byte)(uVar4 >> 8) * 4) ^ + *(uint *)(&DAT_14012b940 + (ulonglong)(uVar4 >> 0x18) * 4) ^ + *(uint *)(&DAT_14012c540 + (ulonglong)(uVar4 & 0xff) * 4) ^ puVar2[1]; + uVar4 = *(uint *)(&DAT_14012bd40 + (ulonglong)(byte)(uVar4 >> 0x10) * 4) ^ + *(uint *)(&DAT_14012c140 + (ulonglong)(byte)(uVar4 >> 8) * 4) ^ + *(uint *)(&DAT_14012b940 + (ulonglong)(uVar4 >> 0x18) * 4) ^ + *(uint *)(&DAT_14012c540 + (ulonglong)(uVar4 & 0xff) * 4) ^ puVar2[2]; + uVar4 = *(uint *)(&DAT_14012bd40 + (ulonglong)(byte)(uVar4 >> 0x10) * 4) ^ + *(uint *)(&DAT_14012c140 + (ulonglong)(byte)(uVar4 >> 8) * 4) ^ + *(uint *)(&DAT_14012b940 + (ulonglong)(uVar4 >> 0x18) * 4) ^ + *(uint *)(&DAT_14012c540 + (ulonglong)(uVar4 & 0xff) * 4) ^ puVar2[3]; + uVar4 = *(uint *)(&DAT_14012bd40 + (ulonglong)(byte)(uVar4 >> 0x10) * 4) ^ + *(uint *)(&DAT_14012c140 + (ulonglong)(byte)(uVar4 >> 8) * 4) ^ + *(uint *)(&DAT_14012b940 + (ulonglong)(uVar4 >> 0x18) * 4) ^ + *(uint *)(&DAT_14012c540 + (ulonglong)(uVar4 & 0xff) * 4) ^ puVar2[4]; + uVar4 = *(uint *)(&DAT_14012bd40 + (ulonglong)(byte)(uVar4 >> 0x10) * 4) ^ + *(uint *)(&DAT_14012c140 + (ulonglong)(byte)(uVar4 >> 8) * 4) ^ + *(uint *)(&DAT_14012b940 + (ulonglong)(uVar4 >> 0x18) * 4) ^ + *(uint *)(&DAT_14012c540 + (ulonglong)(uVar4 & 0xff) * 4) ^ puVar2[5]; + param_2 = puVar2 + 8; + param_3 = param_3 - 0x20; + uVar4 = *(uint *)(&DAT_14012bd40 + (ulonglong)(byte)(uVar4 >> 0x10) * 4) ^ + *(uint *)(&DAT_14012c140 + (ulonglong)(byte)(uVar4 >> 8) * 4) ^ + *(uint *)(&DAT_14012b940 + (ulonglong)(uVar4 >> 0x18) * 4) ^ + *(uint *)(&DAT_14012c540 + (ulonglong)(uVar4 & 0xff) * 4) ^ puVar2[6]; + uVar4 = *(uint *)(&DAT_14012bd40 + (ulonglong)(byte)(uVar4 >> 0x10) * 4) ^ + *(uint *)(&DAT_14012c140 + (ulonglong)(byte)(uVar4 >> 8) * 4) ^ + *(uint *)(&DAT_14012b940 + (ulonglong)(uVar4 >> 0x18) * 4) ^ + *(uint *)(&DAT_14012c540 + (ulonglong)(uVar4 & 0xff) * 4) ^ puVar2[7]; + uVar4 = *(uint *)(&DAT_14012bd40 + (ulonglong)(byte)(uVar4 >> 0x10) * 4) ^ + *(uint *)(&DAT_14012c140 + (ulonglong)(byte)(uVar4 >> 8) * 4) ^ + *(uint *)(&DAT_14012b940 + (ulonglong)(uVar4 >> 0x18) * 4) ^ + *(uint *)(&DAT_14012c540 + (ulonglong)(uVar4 & 0xff) * 4); + uVar3 = uVar3 - 1; + puVar2 = param_2; + } while (uVar3 != 0); + } + if (3 < param_3) { + uVar3 = (ulonglong)(param_3 >> 2); + do { + uVar4 = uVar4 ^ *param_2; + param_3 = param_3 - 4; + param_2 = param_2 + 1; + uVar4 = *(uint *)(&DAT_14012bd40 + (ulonglong)(byte)(uVar4 >> 0x10) * 4) ^ + *(uint *)(&DAT_14012c140 + (ulonglong)(byte)(uVar4 >> 8) * 4) ^ + *(uint *)(&DAT_14012b940 + (ulonglong)(uVar4 >> 0x18) * 4) ^ + *(uint *)(&DAT_14012c540 + (ulonglong)(uVar4 & 0xff) * 4); + uVar3 = uVar3 - 1; + } while (uVar3 != 0); + } + for (; param_3 != 0; param_3 = param_3 - 1) { + uVar1 = *param_2; + param_2 = (uint *)((longlong)param_2 + 1); + uVar4 = *(uint *)(&DAT_14012b940 + (ulonglong)(byte)((byte)uVar1 ^ (byte)uVar4) * 4) ^ + uVar4 >> 8; + } + return ~uVar4; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400eab38.c b/decomp/AgentManager_Release_x64/full/functions/0x1400eab38.c new file mode 100644 index 00000000..988f1607 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400eab38.c @@ -0,0 +1,88 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400eab38 FUN_1400eab38 + * Pseudocode, not original source. */ + +int FUN_1400eab38(uint param_1,byte *param_2,uint param_3) + +{ + uint uVar1; + uint *puVar2; + uint *puVar3; + ulonglong uVar4; + uint uVar5; + + uVar5 = ~(((param_1 & 0xff00) + param_1 * 0x10000) * 0x100 + (param_1 >> 8 & 0xff00) + + (param_1 >> 0x18)); + for (; (param_3 != 0 && (((ulonglong)param_2 & 3) != 0)); param_2 = param_2 + 1) { + uVar5 = *(uint *)(&DAT_14012c940 + ((ulonglong)(uVar5 >> 0x18) ^ (ulonglong)*param_2) * 4) ^ + uVar5 << 8; + param_3 = param_3 - 1; + } + puVar3 = (uint *)(param_2 + -4); + if (0x1f < param_3) { + uVar4 = (ulonglong)(param_3 >> 5); + puVar2 = puVar3; + do { + uVar5 = uVar5 ^ puVar2[1]; + uVar5 = *(uint *)(&DAT_14012d140 + (ulonglong)(byte)(uVar5 >> 0x10) * 4) ^ + *(uint *)(&DAT_14012cd40 + (ulonglong)(byte)(uVar5 >> 8) * 4) ^ + *(uint *)(&DAT_14012d540 + (ulonglong)(uVar5 >> 0x18) * 4) ^ + *(uint *)(&DAT_14012c940 + (ulonglong)(uVar5 & 0xff) * 4) ^ puVar2[2]; + uVar5 = *(uint *)(&DAT_14012d140 + (ulonglong)(byte)(uVar5 >> 0x10) * 4) ^ + *(uint *)(&DAT_14012cd40 + (ulonglong)(byte)(uVar5 >> 8) * 4) ^ + *(uint *)(&DAT_14012d540 + (ulonglong)(uVar5 >> 0x18) * 4) ^ + *(uint *)(&DAT_14012c940 + (ulonglong)(uVar5 & 0xff) * 4) ^ puVar2[3]; + uVar5 = *(uint *)(&DAT_14012d140 + (ulonglong)(byte)(uVar5 >> 0x10) * 4) ^ + *(uint *)(&DAT_14012cd40 + (ulonglong)(byte)(uVar5 >> 8) * 4) ^ + *(uint *)(&DAT_14012d540 + (ulonglong)(uVar5 >> 0x18) * 4) ^ + *(uint *)(&DAT_14012c940 + (ulonglong)(uVar5 & 0xff) * 4) ^ puVar2[4]; + uVar5 = *(uint *)(&DAT_14012d140 + (ulonglong)(byte)(uVar5 >> 0x10) * 4) ^ + *(uint *)(&DAT_14012cd40 + (ulonglong)(byte)(uVar5 >> 8) * 4) ^ + *(uint *)(&DAT_14012d540 + (ulonglong)(uVar5 >> 0x18) * 4) ^ + *(uint *)(&DAT_14012c940 + (ulonglong)(uVar5 & 0xff) * 4) ^ puVar2[5]; + uVar5 = *(uint *)(&DAT_14012d140 + (ulonglong)(byte)(uVar5 >> 0x10) * 4) ^ + *(uint *)(&DAT_14012cd40 + (ulonglong)(byte)(uVar5 >> 8) * 4) ^ + *(uint *)(&DAT_14012d540 + (ulonglong)(uVar5 >> 0x18) * 4) ^ + *(uint *)(&DAT_14012c940 + (ulonglong)(uVar5 & 0xff) * 4) ^ puVar2[6]; + puVar3 = puVar2 + 8; + param_3 = param_3 - 0x20; + uVar5 = *(uint *)(&DAT_14012d140 + (ulonglong)(byte)(uVar5 >> 0x10) * 4) ^ + *(uint *)(&DAT_14012cd40 + (ulonglong)(byte)(uVar5 >> 8) * 4) ^ + *(uint *)(&DAT_14012d540 + (ulonglong)(uVar5 >> 0x18) * 4) ^ + *(uint *)(&DAT_14012c940 + (ulonglong)(uVar5 & 0xff) * 4) ^ puVar2[7]; + uVar5 = *(uint *)(&DAT_14012d140 + (ulonglong)(byte)(uVar5 >> 0x10) * 4) ^ + *(uint *)(&DAT_14012cd40 + (ulonglong)(byte)(uVar5 >> 8) * 4) ^ + *(uint *)(&DAT_14012d540 + (ulonglong)(uVar5 >> 0x18) * 4) ^ + *(uint *)(&DAT_14012c940 + (ulonglong)(uVar5 & 0xff) * 4) ^ *puVar3; + uVar5 = *(uint *)(&DAT_14012d140 + (ulonglong)(byte)(uVar5 >> 0x10) * 4) ^ + *(uint *)(&DAT_14012cd40 + (ulonglong)(byte)(uVar5 >> 8) * 4) ^ + *(uint *)(&DAT_14012d540 + (ulonglong)(uVar5 >> 0x18) * 4) ^ + *(uint *)(&DAT_14012c940 + (ulonglong)(uVar5 & 0xff) * 4); + uVar4 = uVar4 - 1; + puVar2 = puVar3; + } while (uVar4 != 0); + } + if (3 < param_3) { + uVar4 = (ulonglong)(param_3 >> 2); + do { + puVar3 = puVar3 + 1; + param_3 = param_3 - 4; + uVar5 = uVar5 ^ *puVar3; + uVar5 = *(uint *)(&DAT_14012d140 + (ulonglong)(byte)(uVar5 >> 0x10) * 4) ^ + *(uint *)(&DAT_14012cd40 + (ulonglong)(byte)(uVar5 >> 8) * 4) ^ + *(uint *)(&DAT_14012d540 + (ulonglong)(uVar5 >> 0x18) * 4) ^ + *(uint *)(&DAT_14012c940 + (ulonglong)(uVar5 & 0xff) * 4); + uVar4 = uVar4 - 1; + } while (uVar4 != 0); + } + puVar3 = puVar3 + 1; + for (; param_3 != 0; param_3 = param_3 - 1) { + uVar1 = *puVar3; + puVar3 = (uint *)((longlong)puVar3 + 1); + uVar5 = *(uint *)(&DAT_14012c940 + ((ulonglong)(uVar5 >> 0x18) ^ (ulonglong)(byte)uVar1) * 4) ^ + uVar5 << 8; + } + uVar5 = ~uVar5; + return ((uVar5 & 0xff00) + uVar5 * 0x10000) * 0x100 + (uVar5 >> 8 & 0xff00) + (uVar5 >> 0x18); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400eaed8.c b/decomp/AgentManager_Release_x64/full/functions/0x1400eaed8.c new file mode 100644 index 00000000..1b2f1917 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400eaed8.c @@ -0,0 +1,19 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400eaed8 FUN_1400eaed8 + * Pseudocode, not original source. */ + +uint FUN_1400eaed8(uint *param_1,uint param_2) + +{ + uint uVar1; + + uVar1 = 0; + for (; param_2 != 0; param_2 = param_2 >> 1) { + if ((param_2 & 1) != 0) { + uVar1 = uVar1 ^ *param_1; + } + param_1 = param_1 + 1; + } + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400eaef8.c b/decomp/AgentManager_Release_x64/full/functions/0x1400eaef8.c new file mode 100644 index 00000000..1e12d9ac --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400eaef8.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400eaef8 FUN_1400eaef8 + * Pseudocode, not original source. */ + +void FUN_1400eaef8(uint *param_1,uint *param_2) + +{ + uint uVar1; + longlong lVar2; + longlong lVar3; + + lVar2 = (longlong)param_2 - (longlong)param_1; + lVar3 = 0x20; + do { + uVar1 = FUN_1400eaed8(param_2,*(uint *)(lVar2 + (longlong)param_1)); + *param_1 = uVar1; + param_1 = param_1 + 1; + lVar3 = lVar3 + -1; + } while (lVar3 != 0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400eaf38.c b/decomp/AgentManager_Release_x64/full/functions/0x1400eaf38.c new file mode 100644 index 00000000..aac0bc5d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400eaf38.c @@ -0,0 +1,45 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400eaf38 FUN_1400eaf38 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +uint FUN_1400eaf38(uint param_1,uint param_2,uint param_3) + +{ + longlong lVar1; + uint uVar2; + undefined1 auStack_138 [32]; + uint local_118 [32]; + uint local_98 [32]; + ulonglong local_18; + + local_18 = DAT_14016f5a0 ^ (ulonglong)auStack_138; + if (param_3 != 0) { + uVar2 = 1; + local_118[0] = 0xedb88320; + lVar1 = 1; + do { + local_118[lVar1] = uVar2; + lVar1 = lVar1 + 1; + uVar2 = uVar2 * 2; + } while (lVar1 < 0x20); + FUN_1400eaef8(local_98,local_118); + FUN_1400eaef8(local_118,local_98); + do { + FUN_1400eaef8(local_98,local_118); + if ((param_3 & 1) != 0) { + param_1 = FUN_1400eaed8(local_98,param_1); + } + if ((int)param_3 >> 1 == 0) break; + FUN_1400eaef8(local_118,local_98); + if (((int)param_3 >> 1 & 1U) != 0) { + param_1 = FUN_1400eaed8(local_118,param_1); + } + param_3 = (int)param_3 >> 2; + } while (param_3 != 0); + param_1 = param_1 ^ param_2; + } + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400eb028.c b/decomp/AgentManager_Release_x64/full/functions/0x1400eb028.c new file mode 100644 index 00000000..eede51bb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400eb028.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400eb028 FUN_1400eb028 + * Pseudocode, not original source. */ + +uint FUN_1400eb028(uint param_1,uint *param_2,uint param_3) + +{ + uint uVar1; + + if (param_2 == (uint *)0x0) { + return 0; + } + uVar1 = FUN_1400ea828(param_1,param_2,param_3); + return uVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400eb048.c b/decomp/AgentManager_Release_x64/full/functions/0x1400eb048.c new file mode 100644 index 00000000..66f8b18b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400eb048.c @@ -0,0 +1,38 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400eb048 FUN_1400eb048 + * Pseudocode, not original source. */ + +void FUN_1400eb048(longlong param_1) + +{ + undefined2 *puVar1; + longlong lVar2; + + puVar1 = (undefined2 *)(param_1 + 0xbc); + lVar2 = 0x11e; + do { + *puVar1 = 0; + puVar1 = puVar1 + 2; + lVar2 = lVar2 + -1; + } while (lVar2 != 0); + puVar1 = (undefined2 *)(param_1 + 0x9b0); + lVar2 = 0x1e; + do { + *puVar1 = 0; + puVar1 = puVar1 + 2; + lVar2 = lVar2 + -1; + } while (lVar2 != 0); + puVar1 = (undefined2 *)(param_1 + 0xaa4); + lVar2 = 0x13; + do { + *puVar1 = 0; + puVar1 = puVar1 + 2; + lVar2 = lVar2 + -1; + } while (lVar2 != 0); + *(undefined2 *)(param_1 + 0x4bc) = 1; + *(undefined8 *)(param_1 + 0x1700) = 0; + *(undefined4 *)(param_1 + 0x1708) = 0; + *(undefined4 *)(param_1 + 0x16f4) = 0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400eb0c8.c b/decomp/AgentManager_Release_x64/full/functions/0x1400eb0c8.c new file mode 100644 index 00000000..19c26e8b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400eb0c8.c @@ -0,0 +1,44 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400eb0c8 FUN_1400eb0c8 + * Pseudocode, not original source. */ + +void FUN_1400eb0c8(longlong param_1,longlong param_2,int param_3) + +{ + ushort uVar1; + ushort uVar2; + int iVar3; + int iVar4; + longlong lVar5; + int iVar6; + longlong lVar7; + + iVar3 = *(int *)(param_1 + 0xba8 + (longlong)param_3 * 4); + while( true ) { + iVar6 = param_3 * 2; + if (*(int *)(param_1 + 0x149c) < iVar6) break; + if (iVar6 < *(int *)(param_1 + 0x149c)) { + lVar5 = (longlong)*(int *)(param_1 + 0xbac + (longlong)iVar6 * 4); + lVar7 = (longlong)*(int *)(param_1 + 0xba8 + (longlong)iVar6 * 4); + uVar1 = *(ushort *)(param_2 + lVar7 * 4); + uVar2 = *(ushort *)(param_2 + lVar5 * 4); + if ((uVar2 < uVar1) || + ((uVar2 == uVar1 && + (*(byte *)(lVar5 + 0x14a4 + param_1) <= *(byte *)(lVar7 + 0x14a4 + param_1))))) { + iVar6 = iVar6 + 1; + } + } + iVar4 = *(int *)(param_1 + 0xba8 + (longlong)iVar6 * 4); + uVar1 = *(ushort *)(param_2 + (longlong)iVar4 * 4); + uVar2 = *(ushort *)(param_2 + (longlong)iVar3 * 4); + if ((uVar2 < uVar1) || + ((uVar2 == uVar1 && + (*(byte *)((longlong)iVar3 + 0x14a4 + param_1) <= + *(byte *)((longlong)iVar4 + 0x14a4 + param_1))))) break; + *(int *)(param_1 + 0xba8 + (longlong)param_3 * 4) = iVar4; + param_3 = iVar6; + } + *(int *)(param_1 + 0xba8 + (longlong)param_3 * 4) = iVar3; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400eb188.c b/decomp/AgentManager_Release_x64/full/functions/0x1400eb188.c new file mode 100644 index 00000000..ba82b6d9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400eb188.c @@ -0,0 +1,129 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400eb188 FUN_1400eb188 + * Pseudocode, not original source. */ + +void FUN_1400eb188(longlong param_1,longlong *param_2) + +{ + short *psVar1; + short sVar2; + ushort uVar3; + int iVar4; + longlong *plVar5; + longlong lVar6; + longlong lVar7; + longlong lVar8; + uint uVar9; + uint uVar10; + longlong lVar11; + ulonglong uVar12; + uint uVar13; + ulonglong uVar14; + int *piVar15; + undefined2 *puVar16; + longlong lVar17; + int iVar18; + longlong lVar19; + int iVar20; + longlong lVar21; + int iVar22; + + plVar5 = (longlong *)param_2[2]; + lVar7 = param_2[1]; + lVar6 = *param_2; + lVar8 = plVar5[2]; + lVar19 = *plVar5; + lVar21 = plVar5[1]; + uVar13 = *(uint *)(plVar5 + 3); + uVar14 = (ulonglong)(int)uVar13; + puVar16 = (undefined2 *)(param_1 + 0xb88); + for (lVar11 = 0x10; lVar11 != 0; lVar11 = lVar11 + -1) { + *puVar16 = 0; + puVar16 = puVar16 + 1; + } + *(undefined2 *) + (lVar6 + 2 + (longlong)*(int *)(param_1 + 0xba8 + (longlong)*(int *)(param_1 + 0x14a0) * 4) * 4) + = 0; + iVar18 = 0; + iVar22 = *(int *)(param_1 + 0x14a0) + 1; + lVar11 = (longlong)iVar22; + if (lVar11 < 0x23d) { + lVar17 = 0x23d - lVar11; + piVar15 = (int *)(param_1 + 0xba8 + lVar11 * 4); + iVar22 = iVar22 + (int)lVar17; + do { + iVar4 = *piVar15; + lVar11 = (longlong)iVar4; + uVar10 = *(ushort *)(lVar6 + 2 + (ulonglong)*(ushort *)(lVar6 + 2 + lVar11 * 4) * 4) + 1; + if ((int)uVar13 < (int)uVar10) { + iVar18 = iVar18 + 1; + uVar10 = uVar13; + } + *(short *)(lVar6 + 2 + lVar11 * 4) = (short)uVar10; + if (iVar4 <= (int)lVar7) { + psVar1 = (short *)(param_1 + 0xb88 + (longlong)(int)uVar10 * 2); + *psVar1 = *psVar1 + 1; + iVar20 = 0; + if ((int)lVar8 <= iVar4) { + iVar20 = *(int *)(lVar21 + (lVar11 - (int)lVar8) * 4); + } + uVar9 = (uint)*(ushort *)(lVar6 + lVar11 * 4); + *(int *)(param_1 + 0x1700) = *(int *)(param_1 + 0x1700) + (iVar20 + uVar10) * uVar9; + if (lVar19 != 0) { + *(int *)(param_1 + 0x1704) = + *(int *)(param_1 + 0x1704) + + ((uint)*(ushort *)(lVar19 + 2 + lVar11 * 4) + iVar20) * uVar9; + } + } + piVar15 = piVar15 + 1; + lVar17 = lVar17 + -1; + } while (lVar17 != 0); + } + if (iVar18 != 0) { + do { + uVar12 = (ulonglong)(int)(uVar13 - 1); + sVar2 = *(short *)(param_1 + 0xb88 + uVar12 * 2); + uVar10 = uVar13 - 1; + while (sVar2 == 0) { + uVar10 = (int)uVar12 - 1; + uVar12 = (ulonglong)uVar10; + sVar2 = *(short *)(param_1 + 0xb88 + (longlong)(int)uVar10 * 2); + } + iVar18 = iVar18 + -2; + psVar1 = (short *)(param_1 + 0xb88 + (longlong)(int)uVar10 * 2); + *psVar1 = *psVar1 + -1; + psVar1 = (short *)(param_1 + 0xb8a + (longlong)(int)uVar10 * 2); + *psVar1 = *psVar1 + 2; + psVar1 = (short *)(param_1 + 0xb88 + uVar14 * 2); + *psVar1 = *psVar1 + -1; + } while (0 < iVar18); + lVar19 = (longlong)iVar22; + while (uVar13 != 0) { + uVar13 = (uint)uVar14; + uVar3 = *(ushort *)(param_1 + 0xb88 + (longlong)(int)uVar13 * 2); + uVar10 = (uint)uVar3; + if (uVar3 != 0) { + piVar15 = (int *)(param_1 + 0xba8 + lVar19 * 4); + do { + piVar15 = piVar15 + -1; + lVar19 = lVar19 + -1; + if (*piVar15 <= (int)lVar7) { + lVar21 = (longlong)*piVar15; + uVar9 = (uint)*(ushort *)(lVar6 + 2 + lVar21 * 4); + if (uVar9 != uVar13) { + *(int *)(param_1 + 0x1700) = + *(int *)(param_1 + 0x1700) + + (uVar13 - uVar9) * (uint)*(ushort *)(lVar6 + lVar21 * 4); + *(short *)(lVar6 + 2 + lVar21 * 4) = (short)uVar14; + } + uVar10 = uVar10 - 1; + } + } while (uVar10 != 0); + } + uVar13 = uVar13 - 1; + uVar14 = (ulonglong)uVar13; + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400eb388.c b/decomp/AgentManager_Release_x64/full/functions/0x1400eb388.c new file mode 100644 index 00000000..78e14172 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400eb388.c @@ -0,0 +1,86 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400eb388 scan_tree + * Pseudocode, not original source. */ + +/* Library Function - Single Match + scan_tree + + Libraries: Visual Studio 2010 Release, Visual Studio 2015 Release */ + +void scan_tree(longlong param_1,longlong param_2,int param_3) + +{ + short *psVar1; + ushort uVar2; + int iVar3; + longlong lVar4; + ushort *puVar5; + uint uVar6; + uint uVar7; + uint uVar8; + int iVar9; + int iVar10; + + uVar2 = *(ushort *)(param_2 + 2); + uVar6 = 0xffffffff; + iVar10 = 0; + iVar3 = 7; + iVar9 = 4; + if (uVar2 == 0) { + iVar3 = 0x8a; + iVar9 = 3; + } + lVar4 = (longlong)param_3; + *(undefined2 *)(param_2 + 6 + lVar4 * 4) = 0xffff; + if (-1 < lVar4) { + puVar5 = (ushort *)(param_2 + 6); + lVar4 = lVar4 + 1; + uVar7 = (uint)uVar2; + do { + iVar10 = iVar10 + 1; + uVar2 = *puVar5; + uVar8 = (uint)uVar2; + if ((iVar3 <= iVar10) || (uVar7 != uVar8)) { + if (iVar10 < iVar9) { + psVar1 = (short *)(param_1 + 0xaa4 + (longlong)(int)uVar7 * 4); + *psVar1 = *psVar1 + (short)iVar10; + } + else if (uVar7 == 0) { + if (iVar10 < 0xb) { + *(short *)(param_1 + 0xae8) = *(short *)(param_1 + 0xae8) + 1; + } + else { + *(short *)(param_1 + 0xaec) = *(short *)(param_1 + 0xaec) + 1; + } + } + else { + if (uVar7 != uVar6) { + psVar1 = (short *)(param_1 + 0xaa4 + (longlong)(int)uVar7 * 4); + *psVar1 = *psVar1 + 1; + } + *(short *)(param_1 + 0xae4) = *(short *)(param_1 + 0xae4) + 1; + } + iVar10 = 0; + uVar6 = uVar7; + if (uVar2 == 0) { + iVar3 = 0x8a; + } + else { + if (uVar7 != uVar8) { + iVar3 = 7; + iVar9 = 4; + goto LAB_1400eb45c; + } + iVar3 = 6; + } + iVar9 = 3; + } +LAB_1400eb45c: + puVar5 = puVar5 + 2; + lVar4 = lVar4 + -1; + uVar7 = uVar8; + } while (lVar4 != 0); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400eb488.c b/decomp/AgentManager_Release_x64/full/functions/0x1400eb488.c new file mode 100644 index 00000000..43298eda --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400eb488.c @@ -0,0 +1,259 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400eb488 FUN_1400eb488 + * Pseudocode, not original source. */ + +void FUN_1400eb488(longlong param_1,longlong param_2,int param_3) + +{ + ushort uVar1; + ushort uVar2; + ushort uVar3; + int iVar4; + byte bVar5; + int iVar6; + longlong lVar7; + ushort *puVar8; + uint uVar9; + uint uVar10; + uint uVar11; + short sVar12; + int iVar13; + longlong lVar15; + int iVar16; + int iVar14; + + uVar11 = 0xffffffff; + iVar14 = 0; + iVar4 = 7; + iVar16 = 3; + iVar6 = 4; + if (*(ushort *)(param_2 + 2) == 0) { + iVar4 = 0x8a; + iVar6 = iVar16; + } + if (-1 < param_3) { + puVar8 = (ushort *)(param_2 + 6); + lVar15 = (longlong)param_3 + 1; + uVar9 = (uint)*(ushort *)(param_2 + 2); + do { + iVar13 = iVar14 + 1; + lVar7 = (longlong)(int)uVar9; + uVar1 = *puVar8; + uVar10 = (uint)uVar1; + if ((iVar4 <= iVar13) || (uVar9 != uVar10)) { + if (iVar13 < iVar6) { + do { + uVar11 = (uint)*(ushort *)(param_1 + 0xaa6 + lVar7 * 4); + iVar6 = *(int *)(param_1 + 0x1714); + if ((int)(0x10 - uVar11) < iVar6) { + uVar3 = *(ushort *)(param_1 + 0xaa4 + lVar7 * 4); + *(ushort *)(param_1 + 0x1710) = + *(ushort *)(param_1 + 0x1710) | uVar3 << ((byte)iVar6 & 0x1f); + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) + = *(undefined1 *)(param_1 + 0x1710); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) + = *(undefined1 *)(param_1 + 0x1711); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + iVar6 = *(int *)(param_1 + 0x1714) + -0x10; + *(ushort *)(param_1 + 0x1710) = + uVar3 >> (0x10U - (char)*(int *)(param_1 + 0x1714) & 0x1f); + } + else { + *(ushort *)(param_1 + 0x1710) = + *(ushort *)(param_1 + 0x1710) | + *(short *)(param_1 + 0xaa4 + lVar7 * 4) << ((byte)iVar6 & 0x1f); + } + iVar13 = iVar13 + -1; + *(uint *)(param_1 + 0x1714) = iVar6 + uVar11; + } while (iVar13 != 0); + } + else { + if (uVar9 == 0) { + iVar6 = *(int *)(param_1 + 0x1714); + sVar12 = (short)iVar13; + bVar5 = (byte)iVar6; + if (iVar13 < 0xb) { + uVar3 = *(ushort *)(param_1 + 0xaea); + if ((int)(0x10 - (uint)uVar3) < iVar6) { + uVar2 = *(ushort *)(param_1 + 0xae8); + *(ushort *)(param_1 + 0x1710) = + *(ushort *)(param_1 + 0x1710) | uVar2 << (bVar5 & 0x1f); + *(undefined1 *) + ((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1710); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(undefined1 *) + ((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1711); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + iVar6 = *(int *)(param_1 + 0x1714) + -0x10; + *(ushort *)(param_1 + 0x1710) = + uVar2 >> (0x10U - (char)*(int *)(param_1 + 0x1714) & 0x1f); + } + else { + *(ushort *)(param_1 + 0x1710) = + *(ushort *)(param_1 + 0x1710) | *(short *)(param_1 + 0xae8) << (bVar5 & 0x1f); + } + iVar6 = iVar6 + (uint)uVar3; + *(int *)(param_1 + 0x1714) = iVar6; + if (iVar6 < 0xe) { + sVar12 = sVar12 + -3; + iVar4 = iVar6 + 3; +LAB_1400eb974: + *(ushort *)(param_1 + 0x1710) = + *(ushort *)(param_1 + 0x1710) | sVar12 << ((byte)iVar6 & 0x1f); + } + else { + *(ushort *)(param_1 + 0x1710) = + *(ushort *)(param_1 + 0x1710) | sVar12 - 3U << ((byte)iVar6 & 0x1f); + *(undefined1 *) + ((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1710); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(undefined1 *) + ((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1711); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + iVar4 = *(int *)(param_1 + 0x1714) + -0xd; + *(ushort *)(param_1 + 0x1710) = + (ushort)(sVar12 - 3U) >> (0x10U - (char)*(int *)(param_1 + 0x1714) & 0x1f); + } + } + else { + uVar3 = *(ushort *)(param_1 + 0xaee); + if ((int)(0x10 - (uint)uVar3) < iVar6) { + uVar2 = *(ushort *)(param_1 + 0xaec); + *(ushort *)(param_1 + 0x1710) = + *(ushort *)(param_1 + 0x1710) | uVar2 << (bVar5 & 0x1f); + *(undefined1 *) + ((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1710); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(undefined1 *) + ((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1711); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + iVar6 = *(int *)(param_1 + 0x1714) + -0x10; + *(ushort *)(param_1 + 0x1710) = + uVar2 >> (0x10U - (char)*(int *)(param_1 + 0x1714) & 0x1f); + } + else { + *(ushort *)(param_1 + 0x1710) = + *(ushort *)(param_1 + 0x1710) | *(short *)(param_1 + 0xaec) << (bVar5 & 0x1f); + } + iVar6 = iVar6 + (uint)uVar3; + *(int *)(param_1 + 0x1714) = iVar6; + if (iVar6 < 10) { + sVar12 = sVar12 + -0xb; + iVar4 = iVar6 + 7; + goto LAB_1400eb974; + } + *(ushort *)(param_1 + 0x1710) = + *(ushort *)(param_1 + 0x1710) | sVar12 - 0xbU << ((byte)iVar6 & 0x1f); + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) + = *(undefined1 *)(param_1 + 0x1710); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) + = *(undefined1 *)(param_1 + 0x1711); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + iVar4 = *(int *)(param_1 + 0x1714) + -9; + *(ushort *)(param_1 + 0x1710) = + (ushort)(sVar12 - 0xbU) >> (0x10U - (char)*(int *)(param_1 + 0x1714) & 0x1f); + } + } + else { + if (uVar9 != uVar11) { + uVar11 = (uint)*(ushort *)(param_1 + 0xaa6 + lVar7 * 4); + iVar6 = *(int *)(param_1 + 0x1714); + if ((int)(0x10 - uVar11) < iVar6) { + uVar3 = *(ushort *)(param_1 + 0xaa4 + lVar7 * 4); + *(ushort *)(param_1 + 0x1710) = + *(ushort *)(param_1 + 0x1710) | uVar3 << ((byte)iVar6 & 0x1f); + *(undefined1 *) + ((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1710); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(undefined1 *) + ((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1711); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + iVar6 = *(int *)(param_1 + 0x1714) + -0x10; + *(ushort *)(param_1 + 0x1710) = + uVar3 >> (0x10U - (char)*(int *)(param_1 + 0x1714) & 0x1f); + } + else { + *(ushort *)(param_1 + 0x1710) = + *(ushort *)(param_1 + 0x1710) | + *(short *)(param_1 + 0xaa4 + lVar7 * 4) << ((byte)iVar6 & 0x1f); + } + *(uint *)(param_1 + 0x1714) = iVar6 + uVar11; + iVar13 = iVar14; + } + uVar3 = *(ushort *)(param_1 + 0xae6); + iVar6 = *(int *)(param_1 + 0x1714); + if ((int)(0x10 - (uint)uVar3) < iVar6) { + uVar2 = *(ushort *)(param_1 + 0xae4); + *(ushort *)(param_1 + 0x1710) = + *(ushort *)(param_1 + 0x1710) | uVar2 << ((byte)iVar6 & 0x1f); + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) + = *(undefined1 *)(param_1 + 0x1710); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) + = *(undefined1 *)(param_1 + 0x1711); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + iVar6 = *(int *)(param_1 + 0x1714) + -0x10; + *(ushort *)(param_1 + 0x1710) = + uVar2 >> (0x10U - (char)*(int *)(param_1 + 0x1714) & 0x1f); + } + else { + *(ushort *)(param_1 + 0x1710) = + *(ushort *)(param_1 + 0x1710) | + *(short *)(param_1 + 0xae4) << ((byte)iVar6 & 0x1f); + } + iVar6 = iVar6 + (uint)uVar3; + *(int *)(param_1 + 0x1714) = iVar6; + if (iVar6 < 0xf) { + sVar12 = (short)iVar13 + -3; + iVar4 = iVar6 + 2; + goto LAB_1400eb974; + } + uVar3 = (short)iVar13 - 3; + *(ushort *)(param_1 + 0x1710) = + *(ushort *)(param_1 + 0x1710) | uVar3 << ((byte)iVar6 & 0x1f); + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1710); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1711); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + iVar4 = *(int *)(param_1 + 0x1714) + -0xe; + *(ushort *)(param_1 + 0x1710) = + uVar3 >> (0x10U - (char)*(int *)(param_1 + 0x1714) & 0x1f); + } + *(int *)(param_1 + 0x1714) = iVar4; + } + iVar13 = 0; + uVar11 = uVar9; + if (uVar1 == 0) { + iVar4 = 0x8a; + iVar6 = iVar16; + } + else if (uVar9 == uVar10) { + iVar4 = 6; + iVar6 = iVar16; + } + else { + iVar4 = 7; + iVar6 = 4; + } + } + iVar14 = iVar13; + puVar8 = puVar8 + 2; + lVar15 = lVar15 + -1; + uVar9 = uVar10; + } while (lVar15 != 0); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400eb9e8.c b/decomp/AgentManager_Release_x64/full/functions/0x1400eb9e8.c new file mode 100644 index 00000000..53747f95 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400eb9e8.c @@ -0,0 +1,102 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400eb9e8 FUN_1400eb9e8 + * Pseudocode, not original source. */ + +void FUN_1400eb9e8(longlong param_1,int param_2,int param_3,uint param_4) + +{ + ushort uVar1; + int iVar2; + int iVar3; + byte *pbVar4; + ulonglong uVar5; + + iVar2 = *(int *)(param_1 + 0x1714); + uVar5 = (ulonglong)param_4; + if (iVar2 < 0xc) { + *(ushort *)(param_1 + 0x1710) = + *(ushort *)(param_1 + 0x1710) | (short)param_2 + -0x101 << ((byte)iVar2 & 0x1f); + iVar2 = iVar2 + 5; + } + else { + uVar1 = (short)param_2 - 0x101; + *(ushort *)(param_1 + 0x1710) = *(ushort *)(param_1 + 0x1710) | uVar1 << ((byte)iVar2 & 0x1f); + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1710); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1711); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + iVar2 = *(int *)(param_1 + 0x1714) + -0xb; + *(ushort *)(param_1 + 0x1710) = uVar1 >> (0x10U - (char)*(int *)(param_1 + 0x1714) & 0x1f); + } + *(int *)(param_1 + 0x1714) = iVar2; + if (iVar2 < 0xc) { + *(ushort *)(param_1 + 0x1710) = + *(ushort *)(param_1 + 0x1710) | (short)param_3 + -1 << ((byte)iVar2 & 0x1f); + iVar2 = iVar2 + 5; + } + else { + uVar1 = (short)param_3 - 1; + *(ushort *)(param_1 + 0x1710) = *(ushort *)(param_1 + 0x1710) | uVar1 << ((byte)iVar2 & 0x1f); + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1710); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1711); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + iVar2 = *(int *)(param_1 + 0x1714) + -0xb; + *(ushort *)(param_1 + 0x1710) = uVar1 >> (0x10U - (char)*(int *)(param_1 + 0x1714) & 0x1f); + } + *(int *)(param_1 + 0x1714) = iVar2; + if (iVar2 < 0xd) { + *(ushort *)(param_1 + 0x1710) = + *(ushort *)(param_1 + 0x1710) | (short)param_4 + -4 << ((byte)iVar2 & 0x1f); + iVar2 = iVar2 + 4; + } + else { + uVar1 = (short)param_4 - 4; + *(ushort *)(param_1 + 0x1710) = *(ushort *)(param_1 + 0x1710) | uVar1 << ((byte)iVar2 & 0x1f); + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1710); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1711); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + iVar2 = *(int *)(param_1 + 0x1714) + -0xc; + *(ushort *)(param_1 + 0x1710) = uVar1 >> (0x10U - (char)*(int *)(param_1 + 0x1714) & 0x1f); + } + *(int *)(param_1 + 0x1714) = iVar2; + if (0 < (int)param_4) { + pbVar4 = &DAT_14012da90; + do { + iVar2 = *(int *)(param_1 + 0x1714); + if (iVar2 < 0xe) { + iVar3 = iVar2 + 3; + *(ushort *)(param_1 + 0x1710) = + *(ushort *)(param_1 + 0x1710) | + *(short *)(param_1 + 0xaa6 + (ulonglong)*pbVar4 * 4) << ((byte)iVar2 & 0x1f); + } + else { + uVar1 = *(ushort *)(param_1 + 0xaa6 + (ulonglong)*pbVar4 * 4); + *(ushort *)(param_1 + 0x1710) = + *(ushort *)(param_1 + 0x1710) | uVar1 << ((byte)iVar2 & 0x1f); + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1710); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1711); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + iVar3 = *(int *)(param_1 + 0x1714) + -0xd; + *(ushort *)(param_1 + 0x1710) = uVar1 >> (0x10U - (char)*(int *)(param_1 + 0x1714) & 0x1f); + } + pbVar4 = pbVar4 + 1; + uVar5 = uVar5 - 1; + *(int *)(param_1 + 0x1714) = iVar3; + } while (uVar5 != 0); + } + FUN_1400eb488(param_1,param_1 + 0xbc,param_2 + -1); + FUN_1400eb488(param_1,param_1 + 0x9b0,param_3 + -1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ebd18.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ebd18.c new file mode 100644 index 00000000..6244f06c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ebd18.c @@ -0,0 +1,183 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ebd18 FUN_1400ebd18 + * Pseudocode, not original source. */ + +void FUN_1400ebd18(longlong param_1,longlong param_2,longlong param_3) + +{ + byte bVar1; + byte bVar2; + int iVar3; + int iVar4; + byte bVar5; + ulonglong uVar6; + longlong lVar7; + uint uVar8; + ulonglong uVar9; + uint uVar10; + ushort uVar11; + ushort uVar12; + uint uVar13; + longlong lVar14; + + uVar9 = 0; + if (*(int *)(param_1 + 0x16f4) != 0) { + lVar14 = 0; + do { + iVar3 = *(int *)(param_1 + 0x1714); + uVar12 = *(ushort *)(*(longlong *)(param_1 + 0x16f8) + lVar14); + lVar14 = lVar14 + 2; + bVar1 = *(byte *)(uVar9 + *(longlong *)(param_1 + 0x16e8)); + uVar8 = (int)uVar9 + 1; + uVar9 = (ulonglong)uVar8; + bVar5 = (byte)iVar3; + if (uVar12 == 0) { + lVar7 = (longlong)(int)(uint)bVar1; + uVar13 = (uint)*(ushort *)(param_2 + 2 + lVar7 * 4); + if ((int)(0x10 - uVar13) < iVar3) { + uVar12 = *(ushort *)(param_2 + lVar7 * 4); + *(ushort *)(param_1 + 0x1710) = *(ushort *)(param_1 + 0x1710) | uVar12 << (bVar5 & 0x1f); + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1710); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1711); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + iVar3 = *(int *)(param_1 + 0x1714) + -0x10 + uVar13; + *(ushort *)(param_1 + 0x1710) = + uVar12 >> (0x10U - (char)*(int *)(param_1 + 0x1714) & 0x1f); + } + else { + *(ushort *)(param_1 + 0x1710) = + *(ushort *)(param_1 + 0x1710) | *(short *)(param_2 + lVar7 * 4) << (bVar5 & 0x1f); + iVar3 = iVar3 + uVar13; + } +LAB_1400ec088: + *(int *)(param_1 + 0x1714) = iVar3; + } + else { + bVar2 = (&DAT_14012e1b0)[bVar1]; + uVar13 = bVar2 + 0x101; + uVar10 = (uint)*(ushort *)(param_2 + 2 + (ulonglong)uVar13 * 4); + if ((int)(0x10 - uVar10) < iVar3) { + uVar11 = *(ushort *)(param_2 + (ulonglong)uVar13 * 4); + *(ushort *)(param_1 + 0x1710) = *(ushort *)(param_1 + 0x1710) | uVar11 << (bVar5 & 0x1f); + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1710); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1711); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + iVar3 = *(int *)(param_1 + 0x1714) + -0x10; + *(ushort *)(param_1 + 0x1710) = + uVar11 >> (0x10U - (char)*(int *)(param_1 + 0x1714) & 0x1f); + } + else { + *(ushort *)(param_1 + 0x1710) = + *(ushort *)(param_1 + 0x1710) | + *(short *)(param_2 + (ulonglong)uVar13 * 4) << (bVar5 & 0x1f); + } + iVar3 = iVar3 + uVar10; + *(int *)(param_1 + 0x1714) = iVar3; + iVar4 = *(int *)(&DAT_14012d940 + (ulonglong)bVar2 * 4); + if (iVar4 != 0) { + uVar11 = (ushort)bVar1 - (short)*(undefined4 *)(&DAT_14012e2b0 + (ulonglong)bVar2 * 4); + if (0x10 - iVar4 < iVar3) { + *(ushort *)(param_1 + 0x1710) = + *(ushort *)(param_1 + 0x1710) | uVar11 << ((byte)iVar3 & 0x1f); + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1710); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1711); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + iVar3 = *(int *)(param_1 + 0x1714) + -0x10; + *(ushort *)(param_1 + 0x1710) = + uVar11 >> (0x10U - (char)*(int *)(param_1 + 0x1714) & 0x1f); + } + else { + *(ushort *)(param_1 + 0x1710) = + *(ushort *)(param_1 + 0x1710) | uVar11 << ((byte)iVar3 & 0x1f); + } + *(int *)(param_1 + 0x1714) = iVar3 + iVar4; + } + uVar13 = uVar12 - 1; + if (uVar13 < 0x100) { + bVar1 = (&DAT_14012dfb0)[uVar13]; + } + else { + bVar1 = (&DAT_14012dfb0)[(uVar13 >> 7) + 0x100]; + } + uVar6 = (ulonglong)bVar1; + uVar10 = (uint)*(ushort *)(param_3 + 2 + uVar6 * 4); + iVar4 = *(int *)(param_1 + 0x1714); + if ((int)(0x10 - uVar10) < iVar4) { + uVar12 = *(ushort *)(param_3 + uVar6 * 4); + *(ushort *)(param_1 + 0x1710) = + *(ushort *)(param_1 + 0x1710) | uVar12 << ((byte)iVar4 & 0x1f); + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1710); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1711); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + iVar4 = *(int *)(param_1 + 0x1714) + -0x10; + *(ushort *)(param_1 + 0x1710) = + uVar12 >> (0x10U - (char)*(int *)(param_1 + 0x1714) & 0x1f); + } + else { + *(ushort *)(param_1 + 0x1710) = + *(ushort *)(param_1 + 0x1710) | + *(short *)(param_3 + uVar6 * 4) << ((byte)iVar4 & 0x1f); + } + iVar4 = iVar4 + uVar10; + *(int *)(param_1 + 0x1714) = iVar4; + iVar3 = *(int *)(&DAT_14012d9c0 + uVar6 * 4); + if (iVar3 != 0) { + uVar12 = (short)uVar13 - (short)*(undefined4 *)(&DAT_14012e330 + uVar6 * 4); + if (0x10 - iVar3 < iVar4) { + *(ushort *)(param_1 + 0x1710) = + *(ushort *)(param_1 + 0x1710) | uVar12 << ((byte)iVar4 & 0x1f); + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1710); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1711); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + iVar3 = *(int *)(param_1 + 0x1714) + -0x10 + iVar3; + *(ushort *)(param_1 + 0x1710) = + uVar12 >> (0x10U - (char)*(int *)(param_1 + 0x1714) & 0x1f); + } + else { + iVar3 = iVar4 + iVar3; + *(ushort *)(param_1 + 0x1710) = + *(ushort *)(param_1 + 0x1710) | uVar12 << ((byte)iVar4 & 0x1f); + } + goto LAB_1400ec088; + } + } + } while (uVar8 < *(uint *)(param_1 + 0x16f4)); + } + uVar12 = *(ushort *)(param_2 + 0x402); + iVar3 = *(int *)(param_1 + 0x1714); + if ((int)(0x10 - (uint)uVar12) < iVar3) { + uVar11 = *(ushort *)(param_2 + 0x400); + *(ushort *)(param_1 + 0x1710) = *(ushort *)(param_1 + 0x1710) | uVar11 << ((byte)iVar3 & 0x1f); + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1710); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1711); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + iVar3 = *(int *)(param_1 + 0x1714) + -0x10; + *(ushort *)(param_1 + 0x1710) = uVar11 >> (0x10U - (char)*(int *)(param_1 + 0x1714) & 0x1f); + } + else { + *(ushort *)(param_1 + 0x1710) = + *(ushort *)(param_1 + 0x1710) | *(short *)(param_2 + 0x400) << ((byte)iVar3 & 0x1f); + } + *(uint *)(param_1 + 0x1714) = iVar3 + (uint)uVar12; + *(uint *)(param_1 + 0x170c) = (uint)*(ushort *)(param_2 + 0x402); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ec168.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ec168.c new file mode 100644 index 00000000..843f3fe4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ec168.c @@ -0,0 +1,39 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ec168 FUN_1400ec168 + * Pseudocode, not original source. */ + +void FUN_1400ec168(longlong *param_1) + +{ + uint uVar1; + short *psVar3; + longlong lVar4; + ulonglong uVar5; + ulonglong uVar2; + + uVar2 = 0; + psVar3 = (short *)((longlong)param_1 + 0xbc); + uVar5 = uVar2; + do { + uVar1 = (uint)uVar2; + if (*psVar3 != 0) break; + uVar5 = uVar5 + 1; + uVar1 = uVar1 + 1; + uVar2 = (ulonglong)uVar1; + psVar3 = psVar3 + 2; + } while ((longlong)uVar5 < 9); + if (uVar1 == 9) { + uVar1 = 0xe; + psVar3 = (short *)((longlong)param_1 + 0xf4); + lVar4 = 0xe; + do { + if (*psVar3 != 0) break; + lVar4 = lVar4 + 1; + uVar1 = uVar1 + 1; + psVar3 = psVar3 + 2; + } while (lVar4 < 0x20); + } + *(uint *)(*param_1 + 0x48) = (uint)(uVar1 == 0x20); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ec1d8.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ec1d8.c new file mode 100644 index 00000000..098e576d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ec1d8.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ec1d8 FUN_1400ec1d8 + * Pseudocode, not original source. */ + +uint FUN_1400ec1d8(uint param_1,int param_2) + +{ + uint uVar1; + uint uVar2; + uint uVar3; + + uVar1 = 0; + do { + uVar2 = uVar1; + param_2 = param_2 + -1; + uVar3 = param_1 & 1; + param_1 = param_1 >> 1; + uVar1 = (uVar2 | uVar3) * 2; + } while (0 < param_2); + return uVar2 & 0x7fffffff | uVar3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ec1f8.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ec1f8.c new file mode 100644 index 00000000..2641e39f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ec1f8.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ec1f8 FUN_1400ec1f8 + * Pseudocode, not original source. */ + +void FUN_1400ec1f8(longlong param_1) + +{ + ushort uVar1; + + if (*(int *)(param_1 + 0x1714) == 0x10) { + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1710); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1711); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + uVar1 = 0; + *(undefined4 *)(param_1 + 0x1714) = 0; + } + else { + if (*(int *)(param_1 + 0x1714) < 8) { + return; + } + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1710); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(int *)(param_1 + 0x1714) = *(int *)(param_1 + 0x1714) + -8; + uVar1 = (ushort)*(byte *)(param_1 + 0x1711); + } + *(ushort *)(param_1 + 0x1710) = uVar1; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ec278.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ec278.c new file mode 100644 index 00000000..6e0650b8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ec278.c @@ -0,0 +1,27 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ec278 FUN_1400ec278 + * Pseudocode, not original source. */ + +void FUN_1400ec278(longlong param_1) + +{ + undefined1 uVar1; + + if (*(int *)(param_1 + 0x1714) < 9) { + if (*(int *)(param_1 + 0x1714) < 1) goto LAB_1400ec2bf; + uVar1 = *(undefined1 *)(param_1 + 0x1710); + } + else { + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1710); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + uVar1 = *(undefined1 *)(param_1 + 0x1711); + } + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = uVar1; + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; +LAB_1400ec2bf: + *(undefined2 *)(param_1 + 0x1710) = 0; + *(undefined4 *)(param_1 + 0x1714) = 0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ec2d8.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ec2d8.c new file mode 100644 index 00000000..1e67afa9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ec2d8.c @@ -0,0 +1,32 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ec2d8 FUN_1400ec2d8 + * Pseudocode, not original source. */ + +void FUN_1400ec2d8(longlong param_1,undefined1 *param_2,int param_3,int param_4) + +{ + byte bVar1; + + FUN_1400ec278(param_1); + *(undefined4 *)(param_1 + 0x170c) = 8; + if (param_4 != 0) { + *(byte *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = (byte)param_3; + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + bVar1 = (byte)((uint)param_3 >> 8); + *(byte *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = bVar1; + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(byte *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = ~(byte)param_3 + ; + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(byte *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = ~bVar1; + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + } + for (; param_3 != 0; param_3 = param_3 + -1) { + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = *param_2 + ; + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + param_2 = param_2 + 1; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ec388.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ec388.c new file mode 100644 index 00000000..2cbd9ef0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ec388.c @@ -0,0 +1,20 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ec388 FUN_1400ec388 + * Pseudocode, not original source. */ + +void FUN_1400ec388(longlong param_1) + +{ + *(undefined4 *)(param_1 + 0x170c) = 8; + *(longlong *)(param_1 + 0xb40) = param_1 + 0xbc; + *(undefined ***)(param_1 + 0xb50) = &PTR_DAT_1401712f0; + *(longlong *)(param_1 + 0xb58) = param_1 + 0x9b0; + *(undefined ***)(param_1 + 0xb68) = &PTR_DAT_140171310; + *(longlong *)(param_1 + 0xb70) = param_1 + 0xaa4; + *(undefined **)(param_1 + 0xb80) = &DAT_140171330; + *(undefined2 *)(param_1 + 0x1710) = 0; + *(undefined4 *)(param_1 + 0x1714) = 0; + FUN_1400eb048(param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ec408.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ec408.c new file mode 100644 index 00000000..1ac1c5c4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ec408.c @@ -0,0 +1,43 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ec408 FUN_1400ec408 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_1400ec408(longlong param_1,int param_2,longlong param_3) + +{ + ushort uVar1; + uint uVar2; + ushort uVar3; + longlong lVar4; + longlong lVar5; + undefined1 auStack_58 [32]; + ushort auStack_38 [16]; + ulonglong local_18; + + local_18 = DAT_14016f5a0 ^ (ulonglong)auStack_58; + lVar5 = 0; + uVar3 = 0; + lVar4 = 1; + do { + uVar3 = (uVar3 + *(short *)(param_3 + -2 + lVar4 * 2)) * 2; + auStack_38[lVar4] = uVar3; + lVar4 = lVar4 + 1; + } while (lVar4 < 0x10); + lVar4 = (longlong)param_2; + if (-1 < param_2) { + do { + uVar3 = *(ushort *)(param_1 + 2 + lVar5 * 4); + if (uVar3 != 0) { + uVar1 = auStack_38[uVar3]; + auStack_38[uVar3] = uVar1 + 1; + uVar2 = FUN_1400ec1d8((uint)uVar1,(uint)uVar3); + *(short *)(param_1 + lVar5 * 4) = (short)uVar2; + } + lVar5 = lVar5 + 1; + } while (lVar5 <= lVar4); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ec4a8.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ec4a8.c new file mode 100644 index 00000000..65f90154 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ec4a8.c @@ -0,0 +1,102 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ec4a8 FUN_1400ec4a8 + * Pseudocode, not original source. */ + +void FUN_1400ec4a8(longlong param_1,longlong *param_2) + +{ + byte bVar1; + longlong lVar2; + byte bVar3; + int iVar4; + longlong lVar5; + longlong lVar6; + int iVar7; + int iVar8; + int iVar9; + ulonglong uVar10; + + lVar2 = *param_2; + iVar4 = *(int *)(param_2[2] + 0x14); + uVar10 = (ulonglong)iVar4; + lVar6 = *(longlong *)param_2[2]; + iVar7 = -1; + *(undefined4 *)(param_1 + 0x149c) = 0; + *(undefined4 *)(param_1 + 0x14a0) = 0x23d; + iVar8 = 0; + lVar5 = 0; + if (0 < iVar4) { + do { + if (*(short *)(lVar2 + lVar5 * 4) == 0) { + *(undefined2 *)(lVar2 + 2 + lVar5 * 4) = 0; + } + else { + *(int *)(param_1 + 0x149c) = *(int *)(param_1 + 0x149c) + 1; + *(int *)(param_1 + 0xba8 + (longlong)*(int *)(param_1 + 0x149c) * 4) = iVar8; + *(undefined1 *)(lVar5 + 0x14a4 + param_1) = 0; + iVar7 = iVar8; + } + lVar5 = lVar5 + 1; + iVar8 = iVar8 + 1; + } while (lVar5 < (longlong)uVar10); + } + while (*(int *)(param_1 + 0x149c) < 2) { + if (iVar7 < 2) { + iVar7 = iVar7 + 1; + iVar4 = iVar7; + } + else { + iVar4 = 0; + } + *(int *)(param_1 + 0x149c) = *(int *)(param_1 + 0x149c) + 1; + *(int *)(param_1 + 0xba8 + (longlong)*(int *)(param_1 + 0x149c) * 4) = iVar4; + lVar5 = (longlong)iVar4; + *(undefined2 *)(lVar2 + lVar5 * 4) = 1; + *(undefined1 *)(lVar5 + 0x14a4 + param_1) = 0; + *(int *)(param_1 + 0x1700) = *(int *)(param_1 + 0x1700) + -1; + if (lVar6 != 0) { + *(int *)(param_1 + 0x1704) = + *(int *)(param_1 + 0x1704) - (uint)*(ushort *)(lVar6 + 2 + lVar5 * 4); + } + } + *(int *)(param_2 + 1) = iVar7; + for (iVar4 = *(int *)(param_1 + 0x149c) / 2; 0 < iVar4; iVar4 = iVar4 + -1) { + FUN_1400eb0c8(param_1,lVar2,iVar4); + } + do { + iVar4 = *(int *)(param_1 + 0xbac); + lVar5 = (longlong)iVar4; + *(undefined4 *)(param_1 + 0xbac) = + *(undefined4 *)(param_1 + 0xba8 + (longlong)*(int *)(param_1 + 0x149c) * 4); + *(int *)(param_1 + 0x149c) = *(int *)(param_1 + 0x149c) + -1; + FUN_1400eb0c8(param_1,lVar2,1); + *(int *)(param_1 + 0x14a0) = *(int *)(param_1 + 0x14a0) + -1; + iVar8 = *(int *)(param_1 + 0xbac); + lVar6 = (longlong)iVar8; + iVar9 = (int)uVar10; + *(int *)(param_1 + 0xba8 + (longlong)*(int *)(param_1 + 0x14a0) * 4) = iVar4; + *(int *)(param_1 + 0x14a0) = *(int *)(param_1 + 0x14a0) + -1; + *(int *)(param_1 + 0xba8 + (longlong)*(int *)(param_1 + 0x14a0) * 4) = iVar8; + *(short *)(lVar2 + (longlong)iVar9 * 4) = + *(short *)(lVar2 + lVar6 * 4) + *(short *)(lVar2 + lVar5 * 4); + bVar3 = *(byte *)(lVar5 + 0x14a4 + param_1); + bVar1 = *(byte *)(lVar6 + 0x14a4 + param_1); + if (bVar3 < bVar1) { + bVar3 = bVar1; + } + *(byte *)((longlong)iVar9 + 0x14a4 + param_1) = bVar3 + 1; + *(short *)(lVar2 + 2 + lVar6 * 4) = (short)uVar10; + *(short *)(lVar2 + 2 + lVar5 * 4) = (short)uVar10; + *(int *)(param_1 + 0xbac) = iVar9; + uVar10 = (ulonglong)(iVar9 + 1); + lVar6 = param_1; + FUN_1400eb0c8(param_1,lVar2,1); + } while (1 < *(int *)(param_1 + 0x149c)); + *(int *)(param_1 + 0x14a0) = *(int *)(param_1 + 0x14a0) + -1; + *(undefined4 *)(param_1 + 0xba8 + (longlong)*(int *)(param_1 + 0x14a0) * 4) = + *(undefined4 *)(param_1 + 0xbac); + FUN_1400eb188(lVar6,param_2); + FUN_1400ec408(lVar2,iVar7,param_1 + 0xb88); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ec6e8.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ec6e8.c new file mode 100644 index 00000000..46c2eae5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ec6e8.c @@ -0,0 +1,24 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ec6e8 FUN_1400ec6e8 + * Pseudocode, not original source. */ + +int FUN_1400ec6e8(longlong param_1) + +{ + longlong lVar1; + int iVar2; + + scan_tree(param_1,param_1 + 0xbc,*(int *)(param_1 + 0xb48)); + scan_tree(param_1,param_1 + 0x9b0,*(int *)(param_1 + 0xb60)); + FUN_1400ec4a8(param_1,(longlong *)(param_1 + 0xb70)); + iVar2 = 0x12; + lVar1 = 0x12; + do { + if (*(short *)(param_1 + 0xaa6 + (ulonglong)(byte)(&DAT_14012da90)[lVar1] * 4) != 0) break; + lVar1 = lVar1 + -1; + iVar2 = iVar2 + -1; + } while (2 < lVar1); + *(int *)(param_1 + 0x1700) = *(int *)(param_1 + 0x1700) + iVar2 * 3 + 0x11; + return iVar2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ec778.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ec778.c new file mode 100644 index 00000000..44a6d1c0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ec778.c @@ -0,0 +1,31 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ec778 FUN_1400ec778 + * Pseudocode, not original source. */ + +void FUN_1400ec778(longlong param_1,undefined1 *param_2,int param_3,ushort param_4) + +{ + int iVar1; + int iVar2; + + iVar1 = *(int *)(param_1 + 0x1714); + if (iVar1 < 0xe) { + iVar2 = iVar1 + 3; + *(ushort *)(param_1 + 0x1710) = *(ushort *)(param_1 + 0x1710) | param_4 << ((byte)iVar1 & 0x1f); + } + else { + *(ushort *)(param_1 + 0x1710) = *(ushort *)(param_1 + 0x1710) | param_4 << ((byte)iVar1 & 0x1f); + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1710); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1711); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + iVar2 = *(int *)(param_1 + 0x1714) + -0xd; + *(ushort *)(param_1 + 0x1710) = param_4 >> (0x10U - (char)*(int *)(param_1 + 0x1714) & 0x1f); + } + *(int *)(param_1 + 0x1714) = iVar2; + FUN_1400ec2d8(param_1,param_2,param_3,1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ec818.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ec818.c new file mode 100644 index 00000000..79a20706 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ec818.c @@ -0,0 +1,84 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ec818 FUN_1400ec818 + * Pseudocode, not original source. */ + +void FUN_1400ec818(longlong param_1) + +{ + ushort uVar1; + int iVar2; + int iVar3; + + iVar3 = *(int *)(param_1 + 0x1714); + *(ushort *)(param_1 + 0x1710) = *(ushort *)(param_1 + 0x1710) | 2 << ((byte)iVar3 & 0x1f); + if (iVar3 < 0xe) { + iVar3 = iVar3 + 3; + } + else { + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1710); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1711); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(ushort *)(param_1 + 0x1710) = 2 >> (0x10U - (char)*(int *)(param_1 + 0x1714) & 0x1f); + iVar3 = *(int *)(param_1 + 0x1714) + -0xd; + } + *(int *)(param_1 + 0x1714) = iVar3; + uVar1 = 0; + *(ushort *)(param_1 + 0x1710) = *(ushort *)(param_1 + 0x1710) | 0 << ((byte)iVar3 & 0x1f); + if (iVar3 < 10) { + iVar3 = iVar3 + 7; + } + else { + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1710); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1711); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(ushort *)(param_1 + 0x1710) = 0 >> (0x10U - (char)*(int *)(param_1 + 0x1714) & 0x1f); + iVar3 = *(int *)(param_1 + 0x1714) + -9; + } + *(int *)(param_1 + 0x1714) = iVar3; + FUN_1400ec1f8(param_1); + iVar3 = *(int *)(param_1 + 0x1714); + if ((*(int *)(param_1 + 0x170c) - iVar3) + 0xb < 9) { + if (iVar3 < 0xe) { + iVar2 = iVar3 + 3; + *(ushort *)(param_1 + 0x1710) = *(ushort *)(param_1 + 0x1710) | 2 << ((byte)iVar3 & 0x1f); + } + else { + *(ushort *)(param_1 + 0x1710) = *(ushort *)(param_1 + 0x1710) | 2 << ((byte)iVar3 & 0x1f); + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1710); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1711); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + iVar2 = *(int *)(param_1 + 0x1714) + -0xd; + *(ushort *)(param_1 + 0x1710) = 2 >> (0x10U - (char)*(int *)(param_1 + 0x1714) & 0x1f); + } + *(int *)(param_1 + 0x1714) = iVar2; + if (iVar2 < 10) { + iVar3 = iVar2 + 7; + *(ushort *)(param_1 + 0x1710) = *(ushort *)(param_1 + 0x1710) | uVar1 << ((byte)iVar2 & 0x1f); + } + else { + *(ushort *)(param_1 + 0x1710) = *(ushort *)(param_1 + 0x1710) | uVar1 << ((byte)iVar2 & 0x1f); + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1710); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 0x28) + *(longlong *)(param_1 + 0x10)) = + *(undefined1 *)(param_1 + 0x1711); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + iVar3 = *(int *)(param_1 + 0x1714) + -9; + *(ushort *)(param_1 + 0x1710) = uVar1 >> (0x10U - (char)*(int *)(param_1 + 0x1714) & 0x1f); + } + *(int *)(param_1 + 0x1714) = iVar3; + FUN_1400ec1f8(param_1); + } + *(undefined4 *)(param_1 + 0x170c) = 7; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400eca38.c b/decomp/AgentManager_Release_x64/full/functions/0x1400eca38.c new file mode 100644 index 00000000..c05c1341 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400eca38.c @@ -0,0 +1,94 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400eca38 FUN_1400eca38 + * Pseudocode, not original source. */ + +void FUN_1400eca38(longlong *param_1,undefined1 *param_2,int param_3,int param_4) + +{ + ushort uVar1; + int iVar2; + int iVar3; + uint uVar4; + uint uVar5; + undefined *puVar6; + longlong *plVar7; + + uVar1 = (ushort)param_4; + iVar2 = 0; + if (*(int *)((longlong)param_1 + 0xac) < 1) { + uVar5 = param_3 + 5; + } + else { + if ((param_3 != 0) && (*(int *)(*param_1 + 0x48) == 2)) { + FUN_1400ec168(param_1); + } + FUN_1400ec4a8((longlong)param_1,param_1 + 0x168); + FUN_1400ec4a8((longlong)param_1,param_1 + 0x16b); + iVar2 = FUN_1400ec6e8((longlong)param_1); + uVar4 = (int)param_1[0x2e0] + 10U >> 3; + uVar5 = *(int *)((longlong)param_1 + 0x1704) + 10U >> 3; + if (uVar4 < uVar5) goto LAB_1400ecacd; + } + uVar4 = uVar5; + uVar5 = uVar4; +LAB_1400ecacd: + if ((uVar4 < param_3 + 4U) || (param_2 == (undefined1 *)0x0)) { + if (((int)param_1[0x16] == 4) || (uVar5 == uVar4)) { + iVar2 = *(int *)((longlong)param_1 + 0x1714); + if (iVar2 < 0xe) { + *(ushort *)(param_1 + 0x2e2) = + *(ushort *)(param_1 + 0x2e2) | uVar1 + 2 << ((byte)iVar2 & 0x1f); + iVar2 = iVar2 + 3; + } + else { + *(ushort *)(param_1 + 0x2e2) = + *(ushort *)(param_1 + 0x2e2) | uVar1 + 2 << ((byte)iVar2 & 0x1f); + *(char *)((ulonglong)*(uint *)(param_1 + 5) + param_1[2]) = (char)param_1[0x2e2]; + *(int *)(param_1 + 5) = (int)param_1[5] + 1; + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 5) + param_1[2]) = + *(undefined1 *)((longlong)param_1 + 0x1711); + *(int *)(param_1 + 5) = (int)param_1[5] + 1; + iVar2 = *(int *)((longlong)param_1 + 0x1714) + -0xd; + *(ushort *)(param_1 + 0x2e2) = + (ushort)(uVar1 + 2) >> (0x10U - (char)*(int *)((longlong)param_1 + 0x1714) & 0x1f); + } + *(int *)((longlong)param_1 + 0x1714) = iVar2; + plVar7 = (longlong *)&DAT_14012df30; + puVar6 = &DAT_14012dab0; + } + else { + iVar3 = *(int *)((longlong)param_1 + 0x1714); + if (iVar3 < 0xe) { + *(ushort *)(param_1 + 0x2e2) = + *(ushort *)(param_1 + 0x2e2) | uVar1 + 4 << ((byte)iVar3 & 0x1f); + iVar3 = iVar3 + 3; + } + else { + *(ushort *)(param_1 + 0x2e2) = + *(ushort *)(param_1 + 0x2e2) | uVar1 + 4 << ((byte)iVar3 & 0x1f); + *(char *)((ulonglong)*(uint *)(param_1 + 5) + param_1[2]) = (char)param_1[0x2e2]; + *(int *)(param_1 + 5) = (int)param_1[5] + 1; + *(undefined1 *)((ulonglong)*(uint *)(param_1 + 5) + param_1[2]) = + *(undefined1 *)((longlong)param_1 + 0x1711); + *(int *)(param_1 + 5) = (int)param_1[5] + 1; + iVar3 = *(int *)((longlong)param_1 + 0x1714) + -0xd; + *(ushort *)(param_1 + 0x2e2) = + (ushort)(uVar1 + 4) >> (0x10U - (char)*(int *)((longlong)param_1 + 0x1714) & 0x1f); + } + *(int *)((longlong)param_1 + 0x1714) = iVar3; + FUN_1400eb9e8((longlong)param_1,(int)param_1[0x169] + 1,(int)param_1[0x16c] + 1,iVar2 + 1); + plVar7 = param_1 + 0x136; + puVar6 = (undefined *)((longlong)param_1 + 0xbc); + } + FUN_1400ebd18((longlong)param_1,(longlong)puVar6,(longlong)plVar7); + } + else { + FUN_1400ec778((longlong)param_1,param_2,param_3,uVar1); + } + FUN_1400eb048((longlong)param_1); + if (param_4 != 0) { + FUN_1400ec278((longlong)param_1); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ecce4.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ecce4.c new file mode 100644 index 00000000..6de2613b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ecce4.c @@ -0,0 +1,25 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ecce4 `eh_vector_constructor_iterator' + * Pseudocode, not original source. */ + +/* Library Function - Single Match + void __cdecl `eh vector constructor iterator'(void * __ptr64,unsigned __int64,int,void + (__cdecl*)(void * __ptr64),void (__cdecl*)(void * __ptr64)) + + Library: Visual Studio 2010 Release */ + +void __cdecl +_eh_vector_constructor_iterator_ + (void *param_1,__uint64 param_2,int param_3,_func_void_void_ptr *param_4, + _func_void_void_ptr *param_5) + +{ + int iVar1; + + for (iVar1 = 0; iVar1 < param_3; iVar1 = iVar1 + 1) { + (*param_4)(param_1); + param_1 = (void *)((longlong)param_1 + param_2); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ecd60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ecd60.c new file mode 100644 index 00000000..dd590112 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ecd60.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ecd60 FUN_1400ecd60 + * Pseudocode, not original source. */ + +void FUN_1400ecd60(longlong param_1) + +{ + double dVar1; + + if (*(char *)(param_1 + 0x20) == '\0') { + dVar1 = (double)(**(code **)(**(longlong **)(param_1 + 8) + 8))(); + dVar1 = dVar1 * (double)*(float *)(param_1 + 0x24); + *(double *)(param_1 + 0x18) = dVar1; + *(double *)(param_1 + 0x10) = dVar1 + *(double *)(param_1 + 0x10); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ecda0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ecda0.c new file mode 100644 index 00000000..e5ed581a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ecda0.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ecda0 FUN_1400ecda0 + * Pseudocode, not original source. */ + +void FUN_1400ecda0(undefined8 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + *param_1 = Magi::Timer::vftable; + (**(code **)(*(longlong *)param_1[1] + 0x18)) + ((longlong *)param_1[1],param_1,param_3,param_4,0xfffffffffffffffe); + *param_1 = IObserver::vftable; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ecdf0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ecdf0.c new file mode 100644 index 00000000..f00af36d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ecdf0.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ecdf0 FUN_1400ecdf0 + * Pseudocode, not original source. */ + +undefined8 * +FUN_1400ecdf0(undefined8 *param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + *param_1 = Magi::Timer::vftable; + param_1[1] = param_2; + param_1[2] = 0; + param_1[3] = 0; + *(undefined1 *)(param_1 + 4) = 0; + *(undefined4 *)((longlong)param_1 + 0x24) = 0x3f800000; + (**(code **)(*param_2 + 0x10))(param_2,param_1,param_2,param_4,0xfffffffffffffffe); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ece50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ece50.c new file mode 100644 index 00000000..fdafcf5e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ece50.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ece50 FUN_1400ece50 + * Pseudocode, not original source. */ + +double FUN_1400ece50(longlong param_1) + +{ + LARGE_INTEGER local_res8 [4]; + + QueryPerformanceCounter(local_res8); + return (double)local_res8[0].QuadPart * *(double *)(param_1 + 8); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ece80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ece80.c new file mode 100644 index 00000000..0b0a7e6b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ece80.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ece80 FUN_1400ece80 + * Pseudocode, not original source. */ + +undefined8 * FUN_1400ece80(undefined8 *param_1) + +{ + BOOL BVar1; + LARGE_INTEGER local_res8 [4]; + + *param_1 = TimeSourceHRWin32::vftable; + BVar1 = QueryPerformanceFrequency(local_res8); + if (BVar1 == 0) { + *(undefined1 *)(param_1 + 2) = 0; + GetLastError(); + return param_1; + } + *(undefined1 *)(param_1 + 2) = 1; + param_1[1] = 1.0 / (double)local_res8[0].QuadPart; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ecee0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ecee0.c new file mode 100644 index 00000000..85e1ab17 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ecee0.c @@ -0,0 +1,24 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ecee0 FUN_1400ecee0 + * Pseudocode, not original source. */ + +void FUN_1400ecee0(longlong param_1,longlong *param_2,undefined8 param_3) + +{ + undefined8 *puVar1; + undefined8 uVar2; + + puVar1 = *(undefined8 **)(param_1 + 0x10); + if (puVar1 != (undefined8 *)0x0) { + (**(code **)*puVar1)(puVar1,1); + } + *(longlong **)(param_1 + 0x10) = param_2; + if (param_2 != (longlong *)0x0) { + uVar2 = (**(code **)(*param_2 + 8))(param_2); + *(undefined8 *)(param_1 + 0x30) = uVar2; + *(undefined8 *)(param_1 + 0x38) = uVar2; + } + *(undefined8 *)(param_1 + 0x90) = param_3; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ecf50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ecf50.c new file mode 100644 index 00000000..00987cde --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ecf50.c @@ -0,0 +1,41 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ecf50 FUN_1400ecf50 + * Pseudocode, not original source. */ + +void FUN_1400ecf50(longlong param_1,longlong param_2) + +{ + longlong *_Src; + longlong *plVar1; + longlong lVar2; + longlong *_Dst; + + _Dst = *(longlong **)(param_1 + 0x70); + _Src = *(longlong **)(param_1 + 0x78); + if (_Dst == _Src) { + return; + } + while (*_Dst != param_2) { + _Dst = _Dst + 1; + if (_Dst == _Src) goto LAB_1400ecfa8; + } + plVar1 = _Dst; + if (_Dst == _Src) { + return; + } + while (plVar1 = plVar1 + 1, plVar1 != _Src) { + if (*plVar1 != param_2) { + *_Dst = *plVar1; + _Dst = _Dst + 1; + } + } +LAB_1400ecfa8: + if (_Dst == _Src) { + return; + } + lVar2 = *(longlong *)(param_1 + 0x78) - (longlong)_Src >> 3; + memmove(_Dst,_Src,lVar2 * 8); + *(longlong **)(param_1 + 0x78) = _Dst + lVar2; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ecff0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ecff0.c new file mode 100644 index 00000000..5b221e44 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ecff0.c @@ -0,0 +1,40 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ecff0 FUN_1400ecff0 + * Pseudocode, not original source. */ + +void FUN_1400ecff0(longlong param_1,longlong param_2) + +{ + ulonglong *puVar1; + longlong *plVar2; + longlong *plVar3; + longlong local_res10 [3]; + + if (param_2 != 0) { + plVar2 = *(longlong **)(param_1 + 0x78); + puVar1 = (ulonglong *)(param_1 + 0x70); + local_res10[0] = param_2; + if ((local_res10 < plVar2) && (plVar3 = (longlong *)*puVar1, plVar3 <= local_res10)) { + if (plVar2 == *(longlong **)(param_1 + 0x80)) { + FUN_140023650((longlong *)puVar1); + } + if (*(undefined8 **)(param_1 + 0x78) != (undefined8 *)0x0) { + **(undefined8 **)(param_1 + 0x78) = + *(undefined8 *)(*puVar1 + ((longlong)local_res10 - (longlong)plVar3 >> 3) * 8); + *(longlong *)(param_1 + 0x78) = *(longlong *)(param_1 + 0x78) + 8; + return; + } + } + else { + if (plVar2 == *(longlong **)(param_1 + 0x80)) { + FUN_140023650((longlong *)puVar1); + } + if (*(longlong **)(param_1 + 0x78) != (longlong *)0x0) { + **(longlong **)(param_1 + 0x78) = param_2; + } + } + *(longlong *)(param_1 + 0x78) = *(longlong *)(param_1 + 0x78) + 8; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ed0f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ed0f0.c new file mode 100644 index 00000000..e6a551c0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ed0f0.c @@ -0,0 +1,49 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ed0f0 FUN_1400ed0f0 + * Pseudocode, not original source. */ + +void FUN_1400ed0f0(longlong param_1,double param_2) + +{ + ulonglong *puVar1; + double *pdVar2; + double *pdVar3; + void *_Dst; + double dVar4; + double local_res10; + + local_res10 = param_2; + if (param_2 < 0.0) { + local_res10 = 0.05; + } + dVar4 = local_res10; + pdVar2 = *(double **)(param_1 + 0x58); + puVar1 = (ulonglong *)(param_1 + 0x50); + if ((&local_res10 < pdVar2) && (pdVar3 = (double *)*puVar1, pdVar3 <= &local_res10)) { + if (pdVar2 == *(double **)(param_1 + 0x60)) { + FUN_140023650((longlong *)puVar1); + } + if (*(undefined8 **)(param_1 + 0x58) != (undefined8 *)0x0) { + **(undefined8 **)(param_1 + 0x58) = + *(undefined8 *)(*puVar1 + ((longlong)&local_res10 - (longlong)pdVar3 >> 3) * 8); + } + } + else { + if (pdVar2 == *(double **)(param_1 + 0x60)) { + FUN_140023650((longlong *)puVar1); + } + if (*(double **)(param_1 + 0x58) != (double *)0x0) { + **(double **)(param_1 + 0x58) = dVar4; + } + } + *(longlong *)(param_1 + 0x58) = *(longlong *)(param_1 + 0x58) + 8; + _Dst = (void *)*puVar1; + if ((ulonglong)*(uint *)(param_1 + 0x40) < + (ulonglong)(*(longlong *)(param_1 + 0x58) - (longlong)_Dst >> 3)) { + memmove(_Dst,(void *)((longlong)_Dst + 8), + *(longlong *)(param_1 + 0x58) - ((longlong)_Dst + 8) & 0xfffffffffffffff8); + *(longlong *)(param_1 + 0x58) = *(longlong *)(param_1 + 0x58) + -8; + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ed1f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ed1f0.c new file mode 100644 index 00000000..bcc45b0c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ed1f0.c @@ -0,0 +1,24 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ed1f0 FUN_1400ed1f0 + * Pseudocode, not original source. */ + +double FUN_1400ed1f0(longlong param_1) + +{ + double dVar1; + double dVar2; + + if (*(longlong **)(param_1 + 0x10) == (longlong *)0x0) { + dVar2 = 0.0; + } + else { + dVar2 = (double)(**(code **)(**(longlong **)(param_1 + 0x10) + 8))(); + } + dVar1 = dVar2 - *(double *)(param_1 + 0x38); + if (*(double *)(param_1 + 0x90) <= dVar1 && dVar1 != *(double *)(param_1 + 0x90)) { + dVar1 = *(double *)(*(longlong *)(param_1 + 0x58) + -8); + } + *(double *)(param_1 + 0x38) = dVar2; + return dVar1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ed240.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ed240.c new file mode 100644 index 00000000..6036ccf2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ed240.c @@ -0,0 +1,53 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ed240 FUN_1400ed240 + * Pseudocode, not original source. */ + +void FUN_1400ed240(longlong param_1) + +{ + double dVar1; + double *pdVar2; + longlong lVar3; + undefined8 *puVar4; + double dVar5; + double dVar6; + + dVar1 = 0.0; + if (*(longlong **)(param_1 + 0x10) == (longlong *)0x0) { + dVar5 = 0.0; + } + else { + dVar5 = (double)(**(code **)(**(longlong **)(param_1 + 0x10) + 8))(); + } + dVar6 = dVar5 - *(double *)(param_1 + 0x38); + if (*(double *)(param_1 + 0x90) <= dVar6 && dVar6 != *(double *)(param_1 + 0x90)) { + dVar6 = *(double *)(*(longlong *)(param_1 + 0x58) + -8); + } + *(double *)(param_1 + 0x38) = dVar5; + FUN_1400ed0f0(param_1,dVar6); + pdVar2 = *(double **)(param_1 + 0x50); + if (pdVar2 != *(double **)(param_1 + 0x58)) { + dVar1 = 0.0; + do { + dVar1 = dVar1 + *pdVar2; + pdVar2 = pdVar2 + 1; + } while (pdVar2 != *(double **)(param_1 + 0x58)); + } + lVar3 = *(longlong *)(param_1 + 0x58) - *(longlong *)(param_1 + 0x50) >> 3; + dVar5 = (double)lVar3; + if (lVar3 < 0) { + dVar5 = dVar5 + 1.8446744073709552e+19; + } + puVar4 = *(undefined8 **)(param_1 + 0x70); + *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + 1; + *(double *)(param_1 + 0x20) = dVar1 / dVar5; + *(double *)(param_1 + 0x18) = dVar1 / dVar5 + *(double *)(param_1 + 0x18); + if (puVar4 != *(undefined8 **)(param_1 + 0x78)) { + do { + (**(code **)(*(longlong *)*puVar4 + 8))(); + puVar4 = puVar4 + 1; + } while (puVar4 != *(undefined8 **)(param_1 + 0x78)); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ed320.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ed320.c new file mode 100644 index 00000000..a5a779e7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ed320.c @@ -0,0 +1,33 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ed320 FUN_1400ed320 + * Pseudocode, not original source. */ + +void FUN_1400ed320(undefined8 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 *puVar1; + + *param_1 = Clock::vftable; + param_1[1] = Clock::vftable; + puVar1 = (undefined8 *)param_1[2]; + if (puVar1 != (undefined8 *)0x0) { + (**(code **)*puVar1)(puVar1,1,param_3,param_4,0xfffffffffffffffe); + } + if ((void *)param_1[0xe] != (void *)0x0) { + operator_delete((void *)param_1[0xe]); + } + param_1[0xe] = 0; + param_1[0xf] = 0; + param_1[0x10] = 0; + if ((void *)param_1[10] != (void *)0x0) { + operator_delete((void *)param_1[10]); + } + param_1[10] = 0; + param_1[0xb] = 0; + param_1[0xc] = 0; + param_1[1] = MBISingleton::vftable; + DAT_14017cf18 = 0; + *param_1 = ISubject::vftable; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ed3d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ed3d0.c new file mode 100644 index 00000000..00075828 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ed3d0.c @@ -0,0 +1,20 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ed3d0 FUN_1400ed3d0 + * Pseudocode, not original source. */ + +void FUN_1400ed3d0(longlong param_1,undefined8 param_2) + +{ + void *_Dst; + + *(undefined8 *)(param_1 + 0x48) = param_2; + *(undefined4 *)(param_1 + 0x40) = 1; + _Dst = *(void **)(param_1 + 0x50); + if (_Dst != *(void **)(param_1 + 0x58)) { + memmove(_Dst,*(void **)(param_1 + 0x58),0); + *(void **)(param_1 + 0x58) = _Dst; + } + FUN_140023580((ulonglong *)(param_1 + 0x50),(undefined8 *)(param_1 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ed450.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ed450.c new file mode 100644 index 00000000..c8447042 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ed450.c @@ -0,0 +1,61 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ed450 FUN_1400ed450 + * Pseudocode, not original source. */ + +undefined8 * +FUN_1400ed450(undefined8 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 *puVar1; + void *_Dst; + double *pdVar2; + longlong lVar3; + double dVar4; + double dVar5; + + *param_1 = Clock::vftable; + param_1[1] = Clock::vftable; + param_1[2] = 0; + param_1[3] = 0; + param_1[4] = 0; + *(undefined4 *)(param_1 + 5) = 0; + param_1[6] = 0; + param_1[7] = 0; + param_1[10] = 0; + param_1[0xb] = 0; + param_1[0xc] = 0; + param_1[0xe] = 0; + param_1[0xf] = 0; + param_1[0x10] = 0; + param_1[0x12] = 0x3fc999999999999a; + puVar1 = (undefined8 *)param_1[2]; + if (puVar1 != (undefined8 *)0x0) { + (**(code **)*puVar1)(puVar1,1,param_3,param_4,0xfffffffffffffffe); + } + param_1[2] = 0; + param_1[0x12] = 0x3fe0000000000000; + *(undefined4 *)(param_1 + 8) = 1; + param_1[9] = 0x3f9eb851eb851eb8; + _Dst = (void *)param_1[10]; + if (_Dst != (void *)param_1[0xb]) { + memmove(_Dst,(void *)param_1[0xb],0); + param_1[0xb] = _Dst; + } + FUN_140023580(param_1 + 10,param_1 + 9); + dVar5 = 0.0; + pdVar2 = (double *)param_1[10]; + if (pdVar2 != (double *)param_1[0xb]) { + do { + dVar5 = dVar5 + *pdVar2; + pdVar2 = pdVar2 + 1; + } while (pdVar2 != (double *)param_1[0xb]); + } + lVar3 = (longlong)(param_1[0xb] - param_1[10]) >> 3; + dVar4 = (double)lVar3; + if (lVar3 < 0) { + dVar4 = dVar4 + 1.8446744073709552e+19; + } + param_1[4] = dVar5 / dVar4; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ed5b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ed5b0.c new file mode 100644 index 00000000..02371a21 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ed5b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ed5b0 FUN_1400ed5b0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400ed5b0(LPWSTR param_1,int param_2,LPCSTR param_3,int param_4) + +{ + MultiByteToWideChar(0,1,param_3,param_4,param_1,param_2); + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ed5e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ed5e0.c new file mode 100644 index 00000000..8d9ff5ae --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ed5e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ed5e0 FUN_1400ed5e0 + * Pseudocode, not original source. */ + +undefined8 FUN_1400ed5e0(LPSTR param_1,int param_2,LPCWSTR param_3,int param_4) + +{ + WideCharToMultiByte(0,0,param_3,param_4,param_1,param_2,(LPCSTR)0x0,(LPBOOL)0x0); + return 0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ed610.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ed610.c new file mode 100644 index 00000000..d68b4d50 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ed610.c @@ -0,0 +1,50 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ed610 FUN_1400ed610 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +ulonglong * FUN_1400ed610(ulonglong *param_1,LPCSTR param_2) + +{ + char cVar1; + WCHAR WVar2; + longlong lVar3; + ulonglong uVar4; + LPCSTR pCVar5; + WCHAR *pWVar6; + undefined1 auStackY_868 [32]; + WCHAR local_828; + undefined1 local_826 [2046]; + ulonglong local_28; + + local_28 = DAT_14016f5a0 ^ (ulonglong)auStackY_868; + local_828 = L'\0'; + memset(local_826,0,0x7fe); + if (0xf < *(ulonglong *)(param_2 + 0x18)) { + param_2 = *(LPCSTR *)param_2; + } + lVar3 = -1; + pCVar5 = param_2; + do { + if (lVar3 == 0) break; + lVar3 = lVar3 + -1; + cVar1 = *pCVar5; + pCVar5 = pCVar5 + 1; + } while (cVar1 != '\0'); + MultiByteToWideChar(0,1,param_2,~(uint)lVar3,&local_828,0x400); + uVar4 = 0xffffffffffffffff; + param_1[3] = 7; + param_1[2] = 0; + *(undefined2 *)param_1 = 0; + pWVar6 = &local_828; + do { + if (uVar4 == 0) break; + uVar4 = uVar4 - 1; + WVar2 = *pWVar6; + pWVar6 = pWVar6 + 1; + } while (WVar2 != L'\0'); + FUN_140001710(param_1,&local_828,~uVar4 - 1); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ed6f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ed6f0.c new file mode 100644 index 00000000..9ac80c1b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ed6f0.c @@ -0,0 +1,41 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ed6f0 FUN_1400ed6f0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +ulonglong * FUN_1400ed6f0(ulonglong *param_1,wchar_t *param_2,undefined8 param_3,undefined8 param_4) + +{ + wchar_t wVar1; + int iVar2; + ulonglong uVar3; + wchar_t *pwVar4; + undefined8 local_res18; + undefined8 local_res20; + undefined1 auStack_458 [32]; + undefined4 local_438; + wchar_t local_428 [512]; + ulonglong local_28; + + local_28 = DAT_14016f5a0 ^ (ulonglong)auStack_458; + local_438 = 0; + local_res18 = param_3; + local_res20 = param_4; + iVar2 = _vscwprintf(param_2,(va_list)&local_res18); + vswprintf_s(local_428,(longlong)(iVar2 + 1),param_2,(va_list)&local_res18); + uVar3 = 0xffffffffffffffff; + param_1[3] = 7; + param_1[2] = 0; + *(undefined2 *)param_1 = 0; + pwVar4 = local_428; + do { + if (uVar3 == 0) break; + uVar3 = uVar3 - 1; + wVar1 = *pwVar4; + pwVar4 = pwVar4 + 1; + } while (wVar1 != L'\0'); + FUN_140001710(param_1,local_428,~uVar3 - 1); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ed7b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ed7b0.c new file mode 100644 index 00000000..7dad633a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ed7b0.c @@ -0,0 +1,49 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ed7b0 FUN_1400ed7b0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +ulonglong * FUN_1400ed7b0(ulonglong *param_1,LPCWSTR param_2) + +{ + char cVar1; + WCHAR WVar2; + longlong lVar3; + ulonglong uVar4; + LPCWSTR pWVar5; + char *pcVar6; + undefined1 auStackY_478 [32]; + CHAR local_428 [1024]; + ulonglong local_28; + + local_28 = DAT_14016f5a0 ^ (ulonglong)auStackY_478; + local_428[0] = '\0'; + memset(local_428 + 1,0,0x3ff); + if (7 < *(ulonglong *)(param_2 + 0xc)) { + param_2 = *(LPCWSTR *)param_2; + } + lVar3 = -1; + pWVar5 = param_2; + do { + if (lVar3 == 0) break; + lVar3 = lVar3 + -1; + WVar2 = *pWVar5; + pWVar5 = pWVar5 + 1; + } while (WVar2 != L'\0'); + WideCharToMultiByte(0,0,param_2,~(uint)lVar3,local_428,0x400,(LPCSTR)0x0,(LPBOOL)0x0); + uVar4 = 0xffffffffffffffff; + param_1[3] = 0xf; + param_1[2] = 0; + *(undefined1 *)param_1 = 0; + pcVar6 = local_428; + do { + if (uVar4 == 0) break; + uVar4 = uVar4 - 1; + cVar1 = *pcVar6; + pcVar6 = pcVar6 + 1; + } while (cVar1 != '\0'); + FUN_14000c9e0(param_1,local_428,~uVar4 - 1); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ed8a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ed8a0.c new file mode 100644 index 00000000..03495caf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ed8a0.c @@ -0,0 +1,106 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ed8a0 FUN_1400ed8a0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ + +ulonglong * FUN_1400ed8a0(ulonglong *param_1) + +{ + char cVar1; + ulonglong uVar2; + char *pcVar3; + undefined1 auStack_c8 [32]; + uint local_a8; + uint local_a0; + uint local_98; + uint local_90; + uint local_88; + uint local_80; + uint local_78; + uint local_70; + uint local_68; + uint local_60; + undefined4 local_58; + char local_50 [56]; + ulonglong local_18; + + local_18 = DAT_14016f5a0 ^ (ulonglong)auStack_c8; + local_70 = (uint)DAT_14017cf0d; + local_80 = (uint)DAT_14017cf0b; + local_88 = (uint)DAT_14017cf0a; + local_78 = (uint)DAT_14017cf0c; + local_90 = (uint)DAT_14017cf09; + local_a0 = (uint)_DAT_14017cf06; + local_a8 = (uint)DAT_14017cf04; + local_50[0] = '\0'; + local_50[1] = '\0'; + local_50[2] = '\0'; + local_50[3] = '\0'; + local_50[4] = '\0'; + local_50[5] = '\0'; + local_50[6] = '\0'; + local_50[7] = '\0'; + local_50[8] = '\0'; + local_50[9] = '\0'; + local_50[10] = '\0'; + local_50[0xb] = '\0'; + local_50[0xc] = '\0'; + local_50[0xd] = '\0'; + local_50[0xe] = '\0'; + local_50[0xf] = '\0'; + local_50[0x10] = '\0'; + local_50[0x11] = '\0'; + local_50[0x12] = '\0'; + local_50[0x13] = '\0'; + local_50[0x14] = '\0'; + local_50[0x15] = '\0'; + local_50[0x16] = '\0'; + local_50[0x17] = '\0'; + local_50[0x18] = '\0'; + local_50[0x19] = '\0'; + local_50[0x1a] = '\0'; + local_50[0x1b] = '\0'; + local_50[0x1c] = '\0'; + local_50[0x1d] = '\0'; + local_50[0x1e] = '\0'; + local_50[0x1f] = '\0'; + local_50[0x20] = '\0'; + local_50[0x21] = '\0'; + local_50[0x22] = '\0'; + local_50[0x23] = '\0'; + local_50[0x24] = '\0'; + local_50[0x25] = '\0'; + local_50[0x26] = '\0'; + local_50[0x27] = '\0'; + local_50[0x28] = '\0'; + local_50[0x29] = '\0'; + local_50[0x2a] = '\0'; + local_50[0x2b] = '\0'; + local_50[0x2c] = '\0'; + local_50[0x2d] = '\0'; + local_50[0x2e] = '\0'; + local_50[0x2f] = '\0'; + local_50[0x30] = '\0'; + local_50[0x31] = 0; + local_60 = (uint)DAT_14017cf0f; + local_98 = (uint)DAT_14017cf08; + local_68 = (uint)DAT_14017cf0e; + local_58 = 0; + sprintf_s(local_50,0x32,"%.8X-%.4X-%.4X-%.2X%.2X-%.2X%.2X%.2X%.2X%.2X%.2X"); + uVar2 = 0xffffffffffffffff; + param_1[3] = 0xf; + param_1[2] = 0; + *(undefined1 *)param_1 = 0; + pcVar3 = local_50; + do { + if (uVar2 == 0) break; + uVar2 = uVar2 - 1; + cVar1 = *pcVar3; + pcVar3 = pcVar3 + 1; + } while (cVar1 != '\0'); + FUN_14000c9e0(param_1,local_50,~uVar2 - 1); + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400edc20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400edc20.c new file mode 100644 index 00000000..3dd27254 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400edc20.c @@ -0,0 +1,32 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400edc20 FUN_1400edc20 + * Pseudocode, not original source. */ + +void FUN_1400edc20(void) + +{ + printf("-----------------------------------------\n"); + printf("Active Service : %s\n"); + printf("Active Service AuthDll32 : %s\n"); + printf("Active Service AuthDll64 : %s\n"); + printf("Active Service BillingDll : %s\n"); + printf("Active Service ServerMode : %s\n"); + printf("Active Service BillingServerMode : %s\n"); + printf("Active Service nProtect Use : %s\n"); + printf("Active Service nProtect_Log Use : %s\n"); + printf("Active Service XTrap Use : %s\n"); + printf("Active Service BetaZone : %s\n"); + printf("Active Service ChannelLimitCount : %d\n"); + printf("Active Service WorldUserLimitCount : %d\n"); + printf("Active Service AuthURL : %s\n"); + printf("Active Service BillingURL : %s\n"); + printf("Active Service BillingIDC : %s\n"); + printf("Active Service Skip Auth : %s\n"); + printf("Active Service Free Cash : %s\n"); + printf("Active Service Skip Abuse Nick : %s\n"); + /* WARNING: Could not recover jumptable at 0x0001400edea3. Too many branches */ + /* WARNING: Treating indirect jump as call */ + printf("-----------------------------------------\n"); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400edeb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400edeb0.c new file mode 100644 index 00000000..7f0e4d4c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400edeb0.c @@ -0,0 +1,84 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400edeb0 FUN_1400edeb0 + * Pseudocode, not original source. */ + +/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ + +void FUN_1400edeb0(void) + +{ + if (0xf < DAT_14017d360) { + operator_delete((void *)CONCAT71(DAT_14017d348._1_7_,(undefined1)DAT_14017d348)); + } + DAT_14017d360 = 0xf; + _DAT_14017d358 = 0; + DAT_14017d348._0_1_ = 0; + if (0xf < DAT_14017d338) { + operator_delete((void *)CONCAT71(DAT_14017d320._1_7_,(undefined1)DAT_14017d320)); + } + DAT_14017d338 = 0xf; + _DAT_14017d330 = 0; + DAT_14017d320._0_1_ = 0; + if (0xf < DAT_14017d310) { + operator_delete((void *)CONCAT71(DAT_14017d2f8._1_7_,(undefined1)DAT_14017d2f8)); + } + DAT_14017d310 = 0xf; + _DAT_14017d308 = 0; + DAT_14017d2f8._0_1_ = 0; + if (0xf < DAT_14017d2e8) { + operator_delete((void *)CONCAT71(DAT_14017d2d0._1_7_,(undefined1)DAT_14017d2d0)); + } + DAT_14017d2e8 = 0xf; + _DAT_14017d2e0 = 0; + DAT_14017d2d0._0_1_ = 0; + if (0xf < DAT_14017d2c0) { + operator_delete((void *)CONCAT71(DAT_14017d2a8._1_7_,(undefined1)DAT_14017d2a8)); + } + DAT_14017d2c0 = 0xf; + _DAT_14017d2b8 = 0; + DAT_14017d2a8._0_1_ = 0; + if (0xf < DAT_14017d298) { + operator_delete((void *)CONCAT71(DAT_14017d280._1_7_,(undefined1)DAT_14017d280)); + } + DAT_14017d298 = 0xf; + _DAT_14017d290 = 0; + DAT_14017d280._0_1_ = 0; + if (0xf < DAT_14017d270) { + operator_delete((void *)CONCAT71(DAT_14017d258._1_7_,(undefined1)DAT_14017d258)); + } + DAT_14017d270 = 0xf; + _DAT_14017d268 = 0; + DAT_14017d258._0_1_ = 0; + if (0xf < DAT_14017d248) { + operator_delete((void *)CONCAT71(DAT_14017d230._1_7_,(undefined1)DAT_14017d230)); + } + DAT_14017d248 = 0xf; + _DAT_14017d240 = 0; + DAT_14017d230._0_1_ = 0; + if (0xf < DAT_14017d220) { + operator_delete((void *)CONCAT71(DAT_14017d208._1_7_,(undefined1)DAT_14017d208)); + } + DAT_14017d220 = 0xf; + _DAT_14017d218 = 0; + DAT_14017d208._0_1_ = 0; + if (0xf < DAT_14017d1f8) { + operator_delete((void *)CONCAT71(DAT_14017d1e0._1_7_,(undefined1)DAT_14017d1e0)); + } + DAT_14017d1f8 = 0xf; + _DAT_14017d1f0 = 0; + DAT_14017d1e0._0_1_ = 0; + if (0xf < DAT_14017d1d0) { + operator_delete((void *)CONCAT71(DAT_14017d1b8._1_7_,(undefined1)DAT_14017d1b8)); + } + DAT_14017d1d0 = 0xf; + _DAT_14017d1c8 = 0; + DAT_14017d1b8._0_1_ = 0; + if (0xf < DAT_14017d1a8) { + operator_delete((void *)CONCAT71(DAT_14017d190._1_7_,(undefined1)DAT_14017d190)); + } + DAT_14017d1a8 = 0xf; + _DAT_14017d1a0 = 0; + DAT_14017d190._0_1_ = 0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ee100.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ee100.c new file mode 100644 index 00000000..0ffc0b8c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ee100.c @@ -0,0 +1,39 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ee100 FUN_1400ee100 + * Pseudocode, not original source. */ + +/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ + +void FUN_1400ee100(void) + +{ + undefined8 *puVar1; + undefined8 *puVar2; + + if (0xf < DAT_14017d180) { + operator_delete((void *)CONCAT71(DAT_14017d168._1_7_,(undefined1)DAT_14017d168)); + } + puVar2 = DAT_14017d150; + DAT_14017d180 = 0xf; + _DAT_14017d178 = 0; + DAT_14017d168._0_1_ = 0; + puVar1 = DAT_14017d148; + if (DAT_14017d148 != (undefined8 *)0x0) { + for (; puVar1 != puVar2; puVar1 = puVar1 + 0x36) { + FUN_14001c7b0(puVar1); + } + operator_delete(DAT_14017d148); + } + DAT_14017d148 = (undefined8 *)0x0; + DAT_14017d150 = (undefined8 *)0x0; + _DAT_14017d158 = 0; + FUN_14001c7b0(&DAT_14017cf98); + if (0xf < DAT_14017cf88) { + operator_delete((void *)CONCAT71(DAT_14017cf70._1_7_,(undefined1)DAT_14017cf70)); + } + DAT_14017cf88 = 0xf; + _DAT_14017cf80 = 0; + DAT_14017cf70._0_1_ = 0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ee1f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ee1f0.c new file mode 100644 index 00000000..a0dc2bf0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ee1f0.c @@ -0,0 +1,56 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ee1f0 FUN_1400ee1f0 + * Pseudocode, not original source. */ + +void FUN_1400ee1f0(longlong param_1) + +{ + char cVar1; + longlong lVar2; + longlong lVar3; + ulonglong uVar4; + char *pcVar5; + char *pcVar6; + bool bVar7; + + lVar2 = *(longlong *)(param_1 + 0xa0); + if (lVar2 == param_1 + 0x58) { + return; + } + do { + lVar3 = 8; + pcVar5 = (char *)(*(longlong *)(lVar2 + 0x20) + 0x10); + bVar7 = pcVar5 == (char *)0x0; + pcVar6 = "country"; + do { + if (lVar3 == 0) break; + lVar3 = lVar3 + -1; + bVar7 = *pcVar5 == *pcVar6; + pcVar5 = pcVar5 + 1; + pcVar6 = pcVar6 + 1; + } while (bVar7); + if (bVar7) { + pcVar5 = (char *)(*(longlong *)(lVar2 + 0x30) + 0x10); + if (pcVar5 == (char *)0x0) { + return; + } + uVar4 = 0xffffffffffffffff; + pcVar6 = pcVar5; + break; + } + lVar2 = *(longlong *)(lVar2 + 0x48); + if (lVar2 == param_1 + 0x58) { + return; + } + } while( true ); + while( true ) { + uVar4 = uVar4 - 1; + cVar1 = *pcVar6; + pcVar6 = pcVar6 + 1; + if (cVar1 == '\0') break; + if (uVar4 == 0) break; + } + FUN_14000c9e0(&DAT_14017cf70,pcVar5,~uVar4 - 1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ee280.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ee280.c new file mode 100644 index 00000000..03c67665 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ee280.c @@ -0,0 +1,50 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ee280 FUN_1400ee280 + * Pseudocode, not original source. */ + +/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ + +undefined8 * FUN_1400ee280(void) + +{ + DAT_14017d1a8 = 0xf; + _DAT_14017d1a0 = 0; + DAT_14017d190._0_1_ = 0; + DAT_14017d1d0 = 0xf; + _DAT_14017d1c8 = 0; + DAT_14017d1b8._0_1_ = 0; + DAT_14017d1f8 = 0xf; + _DAT_14017d1f0 = 0; + DAT_14017d1e0._0_1_ = 0; + DAT_14017d220 = 0xf; + _DAT_14017d218 = 0; + DAT_14017d208._0_1_ = 0; + DAT_14017d248 = 0xf; + _DAT_14017d240 = 0; + DAT_14017d230._0_1_ = 0; + DAT_14017d270 = 0xf; + _DAT_14017d268 = 0; + DAT_14017d258._0_1_ = 0; + DAT_14017d298 = 0xf; + _DAT_14017d290 = 0; + DAT_14017d280._0_1_ = 0; + DAT_14017d2c0 = 0xf; + _DAT_14017d2b8 = 0; + DAT_14017d2a8._0_1_ = 0; + DAT_14017d2e8 = 0xf; + _DAT_14017d2e0 = 0; + DAT_14017d2d0._0_1_ = 0; + DAT_14017d310 = 0xf; + _DAT_14017d308 = 0; + DAT_14017d2f8._0_1_ = 0; + DAT_14017d338 = 0xf; + _DAT_14017d330 = 0; + DAT_14017d320._0_1_ = 0; + DAT_14017d360 = 0xf; + _DAT_14017d358 = 0; + DAT_14017d348._0_1_ = 0; + FUN_14000c9e0(&DAT_14017d348,&DAT_140130e68,3); + DAT_14017d370 = 1000; + return &DAT_14017d190; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ee3f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ee3f0.c new file mode 100644 index 00000000..76de76ee --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ee3f0.c @@ -0,0 +1,735 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ee3f0 FUN_1400ee3f0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_1400ee3f0(longlong param_1) + +{ + longlong lVar1; + char cVar2; + longlong lVar3; + int iVar4; + longlong lVar5; + longlong lVar6; + longlong lVar7; + ulonglong uVar8; + char **ppcVar9; + char *******_Str2; + char *pcVar10; + char *pcVar11; + char *pcVar12; + char *pcVar13; + char *pcVar14; + char *pcVar15; + char *pcVar16; + char *pcVar17; + bool bVar18; + undefined1 auStack_288 [32]; + char *local_268; + char *local_260; + char *local_258; + char *local_250; + char *local_248; + char *local_240; + char *local_238; + char *local_230; + char *local_228; + char *local_220; + char *local_218; + char *local_210; + char *local_208; + char *local_200; + undefined8 local_1f8; + ulonglong local_1e8 [5]; + ulonglong local_1c0 [5]; + ulonglong local_198 [5]; + ulonglong local_170 [5]; + ulonglong local_148 [5]; + ulonglong local_120 [5]; + ulonglong local_f8 [5]; + ulonglong local_d0 [5]; + ulonglong local_a8 [5]; + int local_80; + undefined1 local_7c; + undefined1 local_7b; + undefined1 local_7a; + undefined1 local_79; + undefined1 local_78; + undefined1 local_77; + undefined1 local_76; + undefined4 local_74; + undefined4 local_70; + char ******local_68 [3]; + ulonglong local_50; + undefined4 local_40; + ulonglong local_38; + + local_1f8 = 0xfffffffffffffffe; + local_38 = DAT_14016f5a0 ^ (ulonglong)auStack_288; + lVar1 = param_1 + 0x58; + pcVar16 = (char *)0x0; + lVar3 = *(longlong *)(param_1 + 0xa0); + for (lVar7 = lVar3; lVar6 = lVar3, lVar7 != lVar1; lVar7 = *(longlong *)(lVar7 + 0x48)) { + pcVar10 = (char *)(*(longlong *)(lVar7 + 0x20) + 0x10); + bVar18 = pcVar10 == (char *)0x0; + lVar5 = 8; + pcVar11 = "country"; + do { + if (lVar5 == 0) break; + lVar5 = lVar5 + -1; + bVar18 = *pcVar10 == *pcVar11; + pcVar10 = pcVar10 + 1; + pcVar11 = pcVar11 + 1; + } while (bVar18); + if (bVar18) { + local_268 = (char *)(*(longlong *)(lVar7 + 0x30) + 0x10); + goto joined_r0x0001400ee48d; + } + } + local_268 = (char *)0x0; +joined_r0x0001400ee48d: + do { + lVar7 = lVar3; + if (lVar6 == lVar1) break; + pcVar10 = (char *)(*(longlong *)(lVar6 + 0x20) + 0x10); + bVar18 = pcVar10 == (char *)0x0; + lVar5 = 0xc; + pcVar11 = "auth_dll_32"; + do { + if (lVar5 == 0) break; + lVar5 = lVar5 + -1; + bVar18 = *pcVar10 == *pcVar11; + pcVar10 = pcVar10 + 1; + pcVar11 = pcVar11 + 1; + } while (bVar18); + if (bVar18) { + local_260 = (char *)(*(longlong *)(lVar6 + 0x30) + 0x10); + goto joined_r0x0001400ee4cd; + } + lVar6 = *(longlong *)(lVar6 + 0x48); + } while( true ); + local_260 = (char *)0x0; +joined_r0x0001400ee4cd: + do { + lVar6 = lVar3; + if (lVar7 == lVar1) break; + pcVar10 = (char *)(*(longlong *)(lVar7 + 0x20) + 0x10); + bVar18 = pcVar10 == (char *)0x0; + lVar5 = 0xc; + pcVar11 = "auth_dll_64"; + do { + if (lVar5 == 0) break; + lVar5 = lVar5 + -1; + bVar18 = *pcVar10 == *pcVar11; + pcVar10 = pcVar10 + 1; + pcVar11 = pcVar11 + 1; + } while (bVar18); + if (bVar18) { + local_228 = (char *)(*(longlong *)(lVar7 + 0x30) + 0x10); + goto joined_r0x0001400ee50d; + } + lVar7 = *(longlong *)(lVar7 + 0x48); + } while( true ); + local_228 = (char *)0x0; +joined_r0x0001400ee50d: + do { + lVar7 = lVar3; + if (lVar6 == lVar1) break; + pcVar10 = (char *)(*(longlong *)(lVar6 + 0x20) + 0x10); + bVar18 = pcVar10 == (char *)0x0; + lVar5 = 0xc; + pcVar11 = "billing_dll"; + do { + if (lVar5 == 0) break; + lVar5 = lVar5 + -1; + bVar18 = *pcVar10 == *pcVar11; + pcVar10 = pcVar10 + 1; + pcVar11 = pcVar11 + 1; + } while (bVar18); + if (bVar18) { + local_248 = (char *)(*(longlong *)(lVar6 + 0x30) + 0x10); + goto joined_r0x0001400ee54d; + } + lVar6 = *(longlong *)(lVar6 + 0x48); + } while( true ); + local_248 = (char *)0x0; +joined_r0x0001400ee54d: + do { + lVar6 = lVar3; + if (lVar7 == lVar1) break; + pcVar10 = (char *)(*(longlong *)(lVar7 + 0x20) + 0x10); + bVar18 = pcVar10 == (char *)0x0; + lVar5 = 0xc; + pcVar11 = "server_mode"; + do { + if (lVar5 == 0) break; + lVar5 = lVar5 + -1; + bVar18 = *pcVar10 == *pcVar11; + pcVar10 = pcVar10 + 1; + pcVar11 = pcVar11 + 1; + } while (bVar18); + if (bVar18) { + local_218 = (char *)(*(longlong *)(lVar7 + 0x30) + 0x10); + goto joined_r0x0001400ee58d; + } + lVar7 = *(longlong *)(lVar7 + 0x48); + } while( true ); + local_218 = (char *)0x0; +joined_r0x0001400ee58d: + do { + lVar7 = lVar3; + if (lVar6 == lVar1) break; + pcVar10 = (char *)(*(longlong *)(lVar6 + 0x20) + 0x10); + bVar18 = pcVar10 == (char *)0x0; + lVar5 = 0x14; + pcVar11 = "billing_server_mode"; + do { + if (lVar5 == 0) break; + lVar5 = lVar5 + -1; + bVar18 = *pcVar10 == *pcVar11; + pcVar10 = pcVar10 + 1; + pcVar11 = pcVar11 + 1; + } while (bVar18); + if (bVar18) { + local_238 = (char *)(*(longlong *)(lVar6 + 0x30) + 0x10); + goto joined_r0x0001400ee5cd; + } + lVar6 = *(longlong *)(lVar6 + 0x48); + } while( true ); + local_238 = (char *)0x0; +joined_r0x0001400ee5cd: + do { + lVar6 = lVar3; + if (lVar7 == lVar1) break; + pcVar10 = (char *)(*(longlong *)(lVar7 + 0x20) + 0x10); + bVar18 = pcVar10 == (char *)0x0; + lVar5 = 10; + pcVar11 = "xtrap_use"; + do { + if (lVar5 == 0) break; + lVar5 = lVar5 + -1; + bVar18 = *pcVar10 == *pcVar11; + pcVar10 = pcVar10 + 1; + pcVar11 = pcVar11 + 1; + } while (bVar18); + if (bVar18) { + local_240 = (char *)(*(longlong *)(lVar7 + 0x30) + 0x10); + goto joined_r0x0001400ee60d; + } + lVar7 = *(longlong *)(lVar7 + 0x48); + } while( true ); + local_240 = (char *)0x0; +joined_r0x0001400ee60d: + do { + lVar7 = lVar3; + if (lVar6 == lVar1) break; + pcVar10 = (char *)(*(longlong *)(lVar6 + 0x20) + 0x10); + bVar18 = pcVar10 == (char *)0x0; + lVar5 = 0xd; + pcVar11 = "nprotect_use"; + do { + if (lVar5 == 0) break; + lVar5 = lVar5 + -1; + bVar18 = *pcVar10 == *pcVar11; + pcVar10 = pcVar10 + 1; + pcVar11 = pcVar11 + 1; + } while (bVar18); + if (bVar18) { + local_250 = (char *)(*(longlong *)(lVar6 + 0x30) + 0x10); + goto joined_r0x0001400ee64d; + } + lVar6 = *(longlong *)(lVar6 + 0x48); + } while( true ); + local_250 = (char *)0x0; +joined_r0x0001400ee64d: + do { + lVar6 = lVar3; + if (lVar7 == lVar1) break; + pcVar10 = (char *)(*(longlong *)(lVar7 + 0x20) + 0x10); + bVar18 = pcVar10 == (char *)0x0; + lVar5 = 0x11; + pcVar11 = "nprotect_log_use"; + do { + if (lVar5 == 0) break; + lVar5 = lVar5 + -1; + bVar18 = *pcVar10 == *pcVar11; + pcVar10 = pcVar10 + 1; + pcVar11 = pcVar11 + 1; + } while (bVar18); + if (bVar18) { + local_208 = (char *)(*(longlong *)(lVar7 + 0x30) + 0x10); + goto joined_r0x0001400ee68b; + } + lVar7 = *(longlong *)(lVar7 + 0x48); + } while( true ); + local_208 = (char *)0x0; +joined_r0x0001400ee68b: + do { + lVar7 = lVar3; + if (lVar6 == lVar1) break; + pcVar10 = (char *)(*(longlong *)(lVar6 + 0x20) + 0x10); + bVar18 = pcVar10 == (char *)0x0; + lVar5 = 9; + pcVar11 = "betazone"; + do { + if (lVar5 == 0) break; + lVar5 = lVar5 + -1; + bVar18 = *pcVar10 == *pcVar11; + pcVar10 = pcVar10 + 1; + pcVar11 = pcVar11 + 1; + } while (bVar18); + if (bVar18) { + local_230 = (char *)(*(longlong *)(lVar6 + 0x30) + 0x10); + goto joined_r0x0001400ee6cd; + } + lVar6 = *(longlong *)(lVar6 + 0x48); + } while( true ); + local_230 = (char *)0x0; +joined_r0x0001400ee6cd: + do { + lVar6 = lVar3; + if (lVar7 == lVar1) break; + pcVar10 = (char *)(*(longlong *)(lVar7 + 0x20) + 0x10); + bVar18 = pcVar10 == (char *)0x0; + lVar5 = 0x14; + pcVar11 = "channel_limit_count"; + do { + if (lVar5 == 0) break; + lVar5 = lVar5 + -1; + bVar18 = *pcVar10 == *pcVar11; + pcVar10 = pcVar10 + 1; + pcVar11 = pcVar11 + 1; + } while (bVar18); + if (bVar18) { + local_220 = (char *)(*(longlong *)(lVar7 + 0x30) + 0x10); + goto joined_r0x0001400ee70d; + } + lVar7 = *(longlong *)(lVar7 + 0x48); + } while( true ); + local_220 = (char *)0x0; +joined_r0x0001400ee70d: + do { + lVar7 = lVar3; + if (lVar6 == lVar1) break; + pcVar10 = (char *)(*(longlong *)(lVar6 + 0x20) + 0x10); + bVar18 = pcVar10 == (char *)0x0; + lVar5 = 0x17; + pcVar11 = "world_user_limit_count"; + do { + if (lVar5 == 0) break; + lVar5 = lVar5 + -1; + bVar18 = *pcVar10 == *pcVar11; + pcVar10 = pcVar10 + 1; + pcVar11 = pcVar11 + 1; + } while (bVar18); + if (bVar18) { + local_210 = (char *)(*(longlong *)(lVar6 + 0x30) + 0x10); + goto joined_r0x0001400ee74d; + } + lVar6 = *(longlong *)(lVar6 + 0x48); + } while( true ); + local_210 = (char *)0x0; +joined_r0x0001400ee74d: + do { + lVar6 = lVar3; + if (lVar7 == lVar1) break; + pcVar10 = (char *)(*(longlong *)(lVar7 + 0x20) + 0x10); + bVar18 = pcVar10 == (char *)0x0; + lVar5 = 9; + pcVar11 = "auth_url"; + do { + if (lVar5 == 0) break; + lVar5 = lVar5 + -1; + bVar18 = *pcVar10 == *pcVar11; + pcVar10 = pcVar10 + 1; + pcVar11 = pcVar11 + 1; + } while (bVar18); + if (bVar18) { + local_200 = (char *)(*(longlong *)(lVar7 + 0x30) + 0x10); + goto joined_r0x0001400ee78b; + } + lVar7 = *(longlong *)(lVar7 + 0x48); + } while( true ); + local_200 = (char *)0x0; +joined_r0x0001400ee78b: + do { + lVar7 = lVar3; + if (lVar6 == lVar1) break; + pcVar10 = (char *)(*(longlong *)(lVar6 + 0x20) + 0x10); + bVar18 = pcVar10 == (char *)0x0; + lVar5 = 0xc; + pcVar11 = "billing_url"; + do { + if (lVar5 == 0) break; + lVar5 = lVar5 + -1; + bVar18 = *pcVar10 == *pcVar11; + pcVar10 = pcVar10 + 1; + pcVar11 = pcVar11 + 1; + } while (bVar18); + if (bVar18) { + local_258 = (char *)(*(longlong *)(lVar6 + 0x30) + 0x10); + goto joined_r0x0001400ee7cd; + } + lVar6 = *(longlong *)(lVar6 + 0x48); + } while( true ); + local_258 = (char *)0x0; +joined_r0x0001400ee7cd: + do { + lVar6 = lVar3; + pcVar10 = pcVar16; + if (lVar7 == lVar1) break; + pcVar10 = (char *)(*(longlong *)(lVar7 + 0x20) + 0x10); + bVar18 = pcVar10 == (char *)0x0; + lVar5 = 0xc; + pcVar11 = "billing_idc"; + do { + if (lVar5 == 0) break; + lVar5 = lVar5 + -1; + bVar18 = *pcVar10 == *pcVar11; + pcVar10 = pcVar10 + 1; + pcVar11 = pcVar11 + 1; + } while (bVar18); + if (bVar18) { + pcVar10 = (char *)(*(longlong *)(lVar7 + 0x30) + 0x10); + break; + } + lVar7 = *(longlong *)(lVar7 + 0x48); + } while( true ); +joined_r0x0001400ee806: + lVar7 = lVar3; + pcVar11 = pcVar16; + if (lVar6 == lVar1) goto joined_r0x0001400ee846; + pcVar11 = (char *)(*(longlong *)(lVar6 + 0x20) + 0x10); + bVar18 = pcVar11 == (char *)0x0; + lVar5 = 8; + pcVar12 = "auth_ip"; + do { + if (lVar5 == 0) break; + lVar5 = lVar5 + -1; + bVar18 = *pcVar11 == *pcVar12; + pcVar11 = pcVar11 + 1; + pcVar12 = pcVar12 + 1; + } while (bVar18); + if (bVar18) { + pcVar11 = (char *)(*(longlong *)(lVar6 + 0x30) + 0x10); + goto joined_r0x0001400ee846; + } + lVar6 = *(longlong *)(lVar6 + 0x48); + goto joined_r0x0001400ee806; +joined_r0x0001400ee846: + lVar6 = lVar3; + pcVar12 = pcVar16; + if (lVar7 == lVar1) goto joined_r0x0001400ee886; + pcVar12 = (char *)(*(longlong *)(lVar7 + 0x20) + 0x10); + bVar18 = pcVar12 == (char *)0x0; + lVar5 = 10; + pcVar13 = "auth_port"; + do { + if (lVar5 == 0) break; + lVar5 = lVar5 + -1; + bVar18 = *pcVar12 == *pcVar13; + pcVar12 = pcVar12 + 1; + pcVar13 = pcVar13 + 1; + } while (bVar18); + if (bVar18) { + pcVar12 = (char *)(*(longlong *)(lVar7 + 0x30) + 0x10); + goto joined_r0x0001400ee886; + } + lVar7 = *(longlong *)(lVar7 + 0x48); + goto joined_r0x0001400ee846; +joined_r0x0001400ee886: + lVar7 = lVar3; + pcVar13 = pcVar16; + if (lVar6 == lVar1) goto joined_r0x0001400ee8c6; + pcVar13 = (char *)(*(longlong *)(lVar6 + 0x20) + 0x10); + bVar18 = pcVar13 == (char *)0x0; + lVar5 = 10; + pcVar14 = "skip_auth"; + do { + if (lVar5 == 0) break; + lVar5 = lVar5 + -1; + bVar18 = *pcVar13 == *pcVar14; + pcVar13 = pcVar13 + 1; + pcVar14 = pcVar14 + 1; + } while (bVar18); + if (bVar18) { + pcVar13 = (char *)(*(longlong *)(lVar6 + 0x30) + 0x10); + goto joined_r0x0001400ee8c6; + } + lVar6 = *(longlong *)(lVar6 + 0x48); + goto joined_r0x0001400ee886; +joined_r0x0001400ee8c6: + pcVar14 = pcVar16; + if (lVar7 == lVar1) goto joined_r0x0001400ee903; + pcVar14 = (char *)(*(longlong *)(lVar7 + 0x20) + 0x10); + bVar18 = pcVar14 == (char *)0x0; + lVar6 = 10; + pcVar15 = "free_cash"; + do { + if (lVar6 == 0) break; + lVar6 = lVar6 + -1; + bVar18 = *pcVar14 == *pcVar15; + pcVar14 = pcVar14 + 1; + pcVar15 = pcVar15 + 1; + } while (bVar18); + if (bVar18) { + pcVar14 = (char *)(*(longlong *)(lVar7 + 0x30) + 0x10); + goto joined_r0x0001400ee903; + } + lVar7 = *(longlong *)(lVar7 + 0x48); + goto joined_r0x0001400ee8c6; +joined_r0x0001400ee903: + if (lVar3 == lVar1) goto LAB_1400ee940; + pcVar15 = (char *)(*(longlong *)(lVar3 + 0x20) + 0x10); + bVar18 = pcVar15 == (char *)0x0; + lVar7 = 0x10; + pcVar17 = "skip_abuse_nick"; + do { + if (lVar7 == 0) break; + lVar7 = lVar7 + -1; + bVar18 = *pcVar15 == *pcVar17; + pcVar15 = pcVar15 + 1; + pcVar17 = pcVar17 + 1; + } while (bVar18); + if (bVar18) { + pcVar16 = (char *)(*(longlong *)(lVar3 + 0x30) + 0x10); + goto LAB_1400ee940; + } + lVar3 = *(longlong *)(lVar3 + 0x48); + goto joined_r0x0001400ee903; +LAB_1400ee940: + FUN_14001c680((undefined1 *)local_1e8); + pcVar15 = local_268; + if (local_268 != (char *)0x0) { + uVar8 = 0xffffffffffffffff; + pcVar17 = local_268; + do { + if (uVar8 == 0) break; + uVar8 = uVar8 - 1; + cVar2 = *pcVar17; + pcVar17 = pcVar17 + 1; + } while (cVar2 != '\0'); + FUN_14000c9e0((ulonglong *)local_68,local_268,~uVar8 - 1); + iVar4 = _stricmp(pcVar15,"dev"); + if (iVar4 == 0) { + local_40 = 1000; + } + else { + iVar4 = _stricmp(pcVar15,"kor_beta"); + if (iVar4 == 0) { + local_40 = 200; + } + else { + iVar4 = _stricmp(pcVar15,"kor"); + if (iVar4 == 0) { + local_40 = 100; + } + else { + iVar4 = _stricmp(pcVar15,"usa_beta"); + if (iVar4 == 0) { + local_40 = 0xc9; + } + else { + iVar4 = _stricmp(pcVar15,"usa"); + if (iVar4 == 0) { + local_40 = 0x65; + } + else { + iVar4 = _stricmp(pcVar15,"tw_beta"); + if (iVar4 == 0) { + local_40 = 0xca; + } + else { + iVar4 = _stricmp(pcVar15,"tw"); + if (iVar4 == 0) { + local_40 = 0x66; + } + else { + iVar4 = _stricmp(pcVar15,"jpn_beta"); + if (iVar4 == 0) { + local_40 = 0xcb; + } + else { + iVar4 = _stricmp(pcVar15,"jpn"); + if (iVar4 == 0) { + local_40 = 0x67; + } + } + } + } + } + } + } + } + } + } + if (local_260 != (char *)0x0) { + uVar8 = 0xffffffffffffffff; + pcVar15 = local_260; + do { + if (uVar8 == 0) break; + uVar8 = uVar8 - 1; + cVar2 = *pcVar15; + pcVar15 = pcVar15 + 1; + } while (cVar2 != '\0'); + FUN_14000c9e0(local_1e8,local_260,~uVar8 - 1); + } + if (local_228 != (char *)0x0) { + uVar8 = 0xffffffffffffffff; + pcVar15 = local_228; + do { + if (uVar8 == 0) break; + uVar8 = uVar8 - 1; + cVar2 = *pcVar15; + pcVar15 = pcVar15 + 1; + } while (cVar2 != '\0'); + FUN_14000c9e0(local_1c0,local_228,~uVar8 - 1); + } + if (local_248 != (char *)0x0) { + uVar8 = 0xffffffffffffffff; + pcVar15 = local_248; + do { + if (uVar8 == 0) break; + uVar8 = uVar8 - 1; + cVar2 = *pcVar15; + pcVar15 = pcVar15 + 1; + } while (cVar2 != '\0'); + FUN_14000c9e0(local_198,local_248,~uVar8 - 1); + } + if (local_218 != (char *)0x0) { + uVar8 = 0xffffffffffffffff; + pcVar15 = local_218; + do { + if (uVar8 == 0) break; + uVar8 = uVar8 - 1; + cVar2 = *pcVar15; + pcVar15 = pcVar15 + 1; + } while (cVar2 != '\0'); + FUN_14000c9e0(local_170,local_218,~uVar8 - 1); + } + if (local_238 != (char *)0x0) { + uVar8 = 0xffffffffffffffff; + pcVar15 = local_238; + do { + if (uVar8 == 0) break; + uVar8 = uVar8 - 1; + cVar2 = *pcVar15; + pcVar15 = pcVar15 + 1; + } while (cVar2 != '\0'); + FUN_14000c9e0(local_148,local_238,~uVar8 - 1); + } + if (local_200 != (char *)0x0) { + uVar8 = 0xffffffffffffffff; + pcVar15 = local_200; + do { + if (uVar8 == 0) break; + uVar8 = uVar8 - 1; + cVar2 = *pcVar15; + pcVar15 = pcVar15 + 1; + } while (cVar2 != '\0'); + FUN_14000c9e0(local_120,local_200,~uVar8 - 1); + } + if (local_258 != (char *)0x0) { + uVar8 = 0xffffffffffffffff; + pcVar15 = local_258; + do { + if (uVar8 == 0) break; + uVar8 = uVar8 - 1; + cVar2 = *pcVar15; + pcVar15 = pcVar15 + 1; + } while (cVar2 != '\0'); + FUN_14000c9e0(local_f8,local_258,~uVar8 - 1); + } + if (pcVar10 != (char *)0x0) { + uVar8 = 0xffffffffffffffff; + pcVar15 = pcVar10; + do { + if (uVar8 == 0) break; + uVar8 = uVar8 - 1; + cVar2 = *pcVar15; + pcVar15 = pcVar15 + 1; + } while (cVar2 != '\0'); + FUN_14000c9e0(local_d0,pcVar10,~uVar8 - 1); + } + if (pcVar11 != (char *)0x0) { + uVar8 = 0xffffffffffffffff; + pcVar10 = pcVar11; + do { + if (uVar8 == 0) break; + uVar8 = uVar8 - 1; + cVar2 = *pcVar10; + pcVar10 = pcVar10 + 1; + } while (cVar2 != '\0'); + FUN_14000c9e0(local_a8,pcVar11,~uVar8 - 1); + } + if (pcVar12 != (char *)0x0) { + local_80 = atoi(pcVar12); + } + if (local_208 != (char *)0x0) { + iVar4 = atoi(local_208); + local_7c = 0 < iVar4; + } + if (local_250 != (char *)0x0) { + iVar4 = atoi(local_250); + local_7b = 0 < iVar4; + } + if (local_240 != (char *)0x0) { + iVar4 = atoi(local_240); + local_7a = 0 < iVar4; + } + if (local_230 != (char *)0x0) { + iVar4 = atoi(local_230); + local_79 = 0 < iVar4; + } + if (local_220 != (char *)0x0) { + local_260 = (char *)CONCAT44(local_260._4_4_,1); + iVar4 = atoi(local_220); + local_268 = (char *)CONCAT44(local_268._4_4_,iVar4); + ppcVar9 = &local_260; + if (0 < iVar4) { + ppcVar9 = &local_268; + } + local_74 = *(undefined4 *)ppcVar9; + } + if (local_210 != (char *)0x0) { + local_268 = (char *)((ulonglong)local_268 & 0xffffffff00000000); + iVar4 = atoi(local_210); + local_260 = (char *)CONCAT44(local_260._4_4_,iVar4); + ppcVar9 = &local_268; + if (-1 < iVar4) { + ppcVar9 = &local_260; + } + local_70 = *(undefined4 *)ppcVar9; + } + if (pcVar13 != (char *)0x0) { + iVar4 = atoi(pcVar13); + local_78 = 0 < iVar4; + } + if (pcVar14 != (char *)0x0) { + iVar4 = atoi(pcVar14); + local_76 = 0 < iVar4; + } + if (pcVar16 != (char *)0x0) { + iVar4 = atoi(pcVar16); + local_77 = 0 < iVar4; + } + _Str2 = local_68; + if (0xf < local_50) { + _Str2 = (char *******)local_68[0]; + } + pcVar16 = (char *)&DAT_14017cf70; + if (0xf < DAT_14017cf88) { + pcVar16 = DAT_14017cf70; + } + iVar4 = _stricmp(pcVar16,(char *)_Str2); + if (iVar4 == 0) { + FUN_14001c980(&DAT_14017cf98,(longlong *)local_1e8); + FUN_1400edc20(); + } + FUN_14001cb80(&DAT_14017d148,(longlong *)local_1e8); + FUN_14001c7b0(local_1e8); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400eede0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400eede0.c new file mode 100644 index 00000000..bd29b3ec --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400eede0.c @@ -0,0 +1,127 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400eede0 FUN_1400eede0 + * Pseudocode, not original source. */ + +void FUN_1400eede0(void) + +{ + int iVar1; + ulonglong uVar2; + longlong *plVar3; + longlong lVar4; + char *pcVar5; + char *pcVar6; + bool bVar7; + undefined **local_98 [5]; + longlong *local_70; + undefined8 *local_60; + void *local_58; + undefined8 *local_38; + void *local_30; + undefined8 local_18; + + local_18 = 0xfffffffffffffffe; + pcVar5 = (char *)&DAT_14017d168; + if (0xf < DAT_14017d180) { + pcVar5 = DAT_14017d168; + } + FUN_14001f6d0(local_98,pcVar5); + DAT_140174c28 = 0; + uVar2 = FUN_14001f7a0((longlong *)local_98,(char *)(local_60 + 2)); + plVar3 = local_70; + if ((char)uVar2 == '\0') { + local_98[0] = TiXmlDocument::vftable; + if (local_38 != &DAT_14017ce88) { + operator_delete__(local_30); + } + local_98[0] = TiXmlNode::vftable; + while (local_70 != (longlong *)0x0) { + plVar3 = (longlong *)local_70[10]; + (**(code **)*local_70)(local_70,1); + local_70 = plVar3; + } + if (local_60 == &DAT_14017ce88) { + return; + } + operator_delete__(local_58); + return; + } + for (; plVar3 != (longlong *)0x0; plVar3 = (longlong *)plVar3[10]) { + bVar7 = (char *)(plVar3[7] + 0x10) == (char *)0x0; + lVar4 = 8; + pcVar5 = (char *)(plVar3[7] + 0x10); + pcVar6 = "service"; + do { + if (lVar4 == 0) break; + lVar4 = lVar4 + -1; + bVar7 = *pcVar5 == *pcVar6; + pcVar5 = pcVar5 + 1; + pcVar6 = pcVar6 + 1; + } while (bVar7); + if (bVar7) goto LAB_1400eeef6; + } + goto LAB_1400eefed; +LAB_1400eeef6: + while (lVar4 = (**(code **)(*plVar3 + 0x30))(plVar3), lVar4 == 0) { + do { + plVar3 = (longlong *)plVar3[10]; + if (plVar3 == (longlong *)0x0) goto LAB_1400eefed; + bVar7 = (char *)(plVar3[7] + 0x10) == (char *)0x0; + lVar4 = 8; + pcVar5 = (char *)(plVar3[7] + 0x10); + pcVar6 = "service"; + do { + if (lVar4 == 0) break; + lVar4 = lVar4 + -1; + bVar7 = *pcVar5 == *pcVar6; + pcVar5 = pcVar5 + 1; + pcVar6 = pcVar6 + 1; + } while (bVar7); + } while (!bVar7); + } + lVar4 = (**(code **)(*plVar3 + 0x30))(plVar3); + if (lVar4 != 0) { + for (plVar3 = *(longlong **)(lVar4 + 0x28); plVar3 != (longlong *)0x0; + plVar3 = (longlong *)plVar3[10]) { + lVar4 = (**(code **)(*plVar3 + 0x30))(plVar3); + if (lVar4 != 0) { + for (plVar3 = (longlong *)(**(code **)(*plVar3 + 0x30))(plVar3); plVar3 != (longlong *)0x0; + plVar3 = (longlong *)(**(code **)(*plVar3 + 0x30))(plVar3)) { + lVar4 = plVar3[7]; + iVar1 = _stricmp((char *)(lVar4 + 0x10),"active_area"); + if (iVar1 == 0) { + FUN_1400ee1f0((longlong)plVar3); + } + else { + iVar1 = _stricmp((char *)(lVar4 + 0x10),"area"); + if (iVar1 == 0) { + FUN_1400ee3f0((longlong)plVar3); + } + } + do { + plVar3 = (longlong *)plVar3[10]; + if (plVar3 == (longlong *)0x0) goto LAB_1400eefed; + lVar4 = (**(code **)(*plVar3 + 0x30))(plVar3); + } while (lVar4 == 0); + } + break; + } + } + } +LAB_1400eefed: + local_98[0] = TiXmlDocument::vftable; + if (local_38 != &DAT_14017ce88) { + operator_delete__(local_30); + } + local_98[0] = TiXmlNode::vftable; + while (local_70 != (longlong *)0x0) { + plVar3 = (longlong *)local_70[10]; + (**(code **)*local_70)(local_70,1); + local_70 = plVar3; + } + if (local_60 != &DAT_14017ce88) { + operator_delete__(local_58); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ef080.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ef080.c new file mode 100644 index 00000000..98ca3cc8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ef080.c @@ -0,0 +1,25 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ef080 FUN_1400ef080 + * Pseudocode, not original source. */ + +/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ + +undefined8 * FUN_1400ef080(void) + +{ + DAT_14017cf88 = 0xf; + _DAT_14017cf80 = 0; + DAT_14017cf70._0_1_ = 0; + FUN_14000c9e0(&DAT_14017cf70,&DAT_140130e68,3); + FUN_14001c680((undefined1 *)&DAT_14017cf98); + DAT_14017d148 = 0; + DAT_14017d150 = 0; + _DAT_14017d158 = 0; + DAT_14017d180 = 0xf; + _DAT_14017d178 = 0; + DAT_14017d168._0_1_ = 0; + FUN_14000c9e0(&DAT_14017d168,"option\\service_control.xml",0x1a); + FUN_1400eede0(); + return &DAT_14017cf70; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ef140.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ef140.c new file mode 100644 index 00000000..48b10314 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ef140.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ef140 FUN_1400ef140 + * Pseudocode, not original source. */ + +undefined8 * FUN_1400ef140(void) + +{ + if ((DAT_14017d378 & 1) == 0) { + DAT_14017d378 = DAT_14017d378 | 1; + FUN_1400ee280(); + atexit((_func_5014 *)&LAB_140104350); + } + return &DAT_14017d190; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ef190.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ef190.c new file mode 100644 index 00000000..2540c555 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ef190.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ef190 FUN_1400ef190 + * Pseudocode, not original source. */ + +undefined8 * FUN_1400ef190(void) + +{ + if ((DAT_14017d37c & 1) == 0) { + DAT_14017d37c = DAT_14017d37c | 1; + FUN_1400ef080(); + atexit((_func_5014 *)&LAB_140104340); + } + return &DAT_14017cf70; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ef1d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ef1d0.c new file mode 100644 index 00000000..b81c7845 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ef1d0.c @@ -0,0 +1,25 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ef1d0 FUN_1400ef1d0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_1400ef1d0(char *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined8 local_res10; + undefined8 local_res18; + undefined8 local_res20; + undefined1 auStackY_448 [32]; + char local_418 [1024]; + ulonglong local_18; + + local_18 = DAT_14016f5a0 ^ (ulonglong)auStackY_448; + local_res10 = param_2; + local_res18 = param_3; + local_res20 = param_4; + _vsnprintf_s(local_418,0x400,0xffffffffffffffff,param_1,(va_list)&local_res10); + OutputDebugStringA(local_418); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ef250.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ef250.c new file mode 100644 index 00000000..cf00fb48 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ef250.c @@ -0,0 +1,35 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ef250 FUN_1400ef250 + * Pseudocode, not original source. */ + +/* WARNING: Function: __chkstk replaced with injection: alloca_probe */ +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_1400ef250(longlong param_1,wchar_t *param_2,undefined8 param_3,undefined8 param_4) + +{ + int iVar1; + undefined8 local_res18; + undefined8 local_res20; + undefined1 auStack_1048 [32]; + wchar_t local_1028 [2048]; + ulonglong local_28; + undefined8 uStack_18; + + uStack_18 = 0x1400ef26b; + local_28 = DAT_14016f5a0 ^ (ulonglong)auStack_1048; + local_res18 = param_3; + local_res20 = param_4; + EnterCriticalSection(DAT_14017cf60); + iVar1 = _vscwprintf(param_2,(va_list)&local_res18); + vswprintf_s(local_1028,(longlong)(iVar1 + 1),param_2,(va_list)&local_res18); + wcscat_s(local_1028,0x800,L"\n"); + if (*(FILE **)(param_1 + 0xc0) != (FILE *)0x0) { + fwprintf(*(FILE **)(param_1 + 0xc0),L"%s"); + fflush(*(FILE **)(param_1 + 0xc0)); + } + wprintf(L"%s"); + LeaveCriticalSection(DAT_14017cf60); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ef370.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ef370.c new file mode 100644 index 00000000..f65212a9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ef370.c @@ -0,0 +1,35 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ef370 FUN_1400ef370 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_1400ef370(longlong param_1,char *param_2,undefined8 param_3,undefined8 param_4) + +{ + int iVar1; + undefined8 local_res18; + undefined8 local_res20; + undefined1 auStack_248 [32]; + char local_228 [512]; + ulonglong local_28; + + local_28 = DAT_14016f5a0 ^ (ulonglong)auStack_248; + local_res18 = param_3; + local_res20 = param_4; + EnterCriticalSection(DAT_14017cf60); + iVar1 = _vscprintf(param_2,(va_list)&local_res18); + vsprintf_s(local_228,(longlong)(iVar1 + 1),param_2,(va_list)&local_res18); + if ((*(byte *)(param_1 + 0x10) & 2) != 0) { + printf(local_228); + } + if ((*(byte *)(param_1 + 0x10) & 4) != 0) { + OutputDebugStringA(local_228); + } + if ((*(FILE **)(param_1 + 0xb8) != (FILE *)0x0) && ((*(byte *)(param_1 + 0x10) & 8) != 0)) { + fprintf(*(FILE **)(param_1 + 0xb8),"%s"); + } + LeaveCriticalSection(DAT_14017cf60); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ef460.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ef460.c new file mode 100644 index 00000000..a0423734 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ef460.c @@ -0,0 +1,29 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ef460 FUN_1400ef460 + * Pseudocode, not original source. */ + +void FUN_1400ef460(longlong param_1) + +{ + undefined8 *puVar1; + longlong lVar2; + + EnterCriticalSection(DAT_14017cf60); + if (*(FILE **)(param_1 + 0xb8) != (FILE *)0x0) { + fclose(*(FILE **)(param_1 + 0xb8)); + } + puVar1 = (undefined8 *)(param_1 + 200); + lVar2 = 4; + do { + if ((FILE *)*puVar1 != (FILE *)0x0) { + fclose((FILE *)*puVar1); + } + puVar1 = puVar1 + 1; + lVar2 = lVar2 + -1; + } while (lVar2 != 0); + /* WARNING: Could not recover jumptable at 0x0001400ef4c0. Too many branches */ + /* WARNING: Treating indirect jump as call */ + LeaveCriticalSection(DAT_14017cf60); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ef4d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ef4d0.c new file mode 100644 index 00000000..f3e38de5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ef4d0.c @@ -0,0 +1,63 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ef4d0 FUN_1400ef4d0 + * Pseudocode, not original source. */ + +void FUN_1400ef4d0(undefined8 *param_1) + +{ + LPCRITICAL_SECTION lpCriticalSection; + undefined8 *puVar1; + longlong lVar2; + + *param_1 = MBCLog::vftable; + param_1[1] = MBCLog::vftable; + EnterCriticalSection(DAT_14017cf60); + if ((FILE *)param_1[0x17] != (FILE *)0x0) { + fclose((FILE *)param_1[0x17]); + } + puVar1 = param_1 + 0x19; + lVar2 = 4; + do { + if ((FILE *)*puVar1 != (FILE *)0x0) { + fclose((FILE *)*puVar1); + } + puVar1 = puVar1 + 1; + lVar2 = lVar2 + -1; + } while (lVar2 != 0); + LeaveCriticalSection(DAT_14017cf60); + if (7 < (ulonglong)param_1[0x15]) { + operator_delete((void *)param_1[0x12]); + } + param_1[0x15] = 7; + param_1[0x14] = 0; + *(undefined2 *)(param_1 + 0x12) = 0; + if (7 < (ulonglong)param_1[0x10]) { + operator_delete((void *)param_1[0xd]); + } + param_1[0x10] = 7; + param_1[0xf] = 0; + *(undefined2 *)(param_1 + 0xd) = 0; + if (7 < (ulonglong)param_1[0xb]) { + operator_delete((void *)param_1[8]); + } + param_1[0xb] = 7; + param_1[10] = 0; + *(undefined2 *)(param_1 + 8) = 0; + if (7 < (ulonglong)param_1[6]) { + operator_delete((void *)param_1[3]); + } + lpCriticalSection = DAT_14017cf60; + param_1[6] = 7; + param_1[5] = 0; + *(undefined2 *)(param_1 + 3) = 0; + param_1[1] = MBMultiThreadSync::vftable; + if (lpCriticalSection != (LPCRITICAL_SECTION)0x0) { + DeleteCriticalSection(lpCriticalSection); + operator_delete(lpCriticalSection); + } + DAT_14017cf60 = (LPCRITICAL_SECTION)0x0; + DAT_14017c8a8 = 0; + *param_1 = MBISingleton::vftable; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ef640.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ef640.c new file mode 100644 index 00000000..ed851f3b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ef640.c @@ -0,0 +1,43 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ef640 FUN_1400ef640 + * Pseudocode, not original source. */ + +undefined8 * FUN_1400ef640(undefined8 *param_1) + +{ + LPCRITICAL_SECTION p_Var1; + LPCRITICAL_SECTION lpCriticalSection; + + *param_1 = MBISingleton::vftable; + param_1[1] = MBMultiThreadSync::vftable; + p_Var1 = DAT_14017cf60; + if ((DAT_14017cf60 == (LPCRITICAL_SECTION)0x0) && + (lpCriticalSection = operator_new(0x28), p_Var1 = (LPCRITICAL_SECTION)0x0, + lpCriticalSection != (LPCRITICAL_SECTION)0x0)) { + InitializeCriticalSection(lpCriticalSection); + p_Var1 = lpCriticalSection; + } + DAT_14017cf60 = p_Var1; + *param_1 = MBCLog::vftable; + param_1[1] = MBCLog::vftable; + param_1[6] = 7; + param_1[5] = 0; + *(undefined2 *)(param_1 + 3) = 0; + param_1[0xb] = 7; + param_1[10] = 0; + *(undefined2 *)(param_1 + 8) = 0; + param_1[0x10] = 7; + param_1[0xf] = 0; + *(undefined2 *)(param_1 + 0xd) = 0; + param_1[0x15] = 7; + param_1[0x14] = 0; + *(undefined2 *)(param_1 + 0x12) = 0; + param_1[0x17] = 0; + *(undefined4 *)(param_1 + 2) = 0xe; + param_1[0x19] = 0; + param_1[0x1a] = 0; + param_1[0x1b] = 0; + param_1[0x1c] = 0; + return param_1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ef750.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ef750.c new file mode 100644 index 00000000..6147b381 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ef750.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ef750 FUN_1400ef750 + * Pseudocode, not original source. */ + +void FUN_1400ef750(longlong param_1) + +{ + EnterCriticalSection(DAT_14017cf60); + FUN_140001710((ulonglong *)(param_1 + 0x18),L"Log\\Protocol_AgentManager",0x19); + /* WARNING: Could not recover jumptable at 0x0001400ef793. Too many branches */ + /* WARNING: Treating indirect jump as call */ + LeaveCriticalSection(DAT_14017cf60); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ef7a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ef7a0.c new file mode 100644 index 00000000..c5456e7f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ef7a0.c @@ -0,0 +1,50 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ef7a0 FUN_1400ef7a0 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_1400ef7a0(longlong param_1,wchar_t *param_2,undefined8 param_3,undefined8 param_4) + +{ + int iVar1; + undefined8 local_res18; + undefined8 local_res20; + undefined1 auStack_458 [32]; + undefined8 local_438; + wchar_t local_428 [516]; + ulonglong local_20; + + local_438 = 0xfffffffffffffffe; + local_20 = DAT_14016f5a0 ^ (ulonglong)auStack_458; + local_res18 = param_3; + local_res20 = param_4; + EnterCriticalSection(DAT_14017cf60); + if ((DAT_14017d378 & 1) == 0) { + DAT_14017d378 = DAT_14017d378 | 1; + FUN_1400ee280(); + atexit((_func_5014 *)&LAB_140104350); + } + if ((DAT_14017d370 == 200) && ((DAT_14017d378 & 1) == 0)) { + DAT_14017d378 = DAT_14017d378 | 1; + FUN_1400ee280(); + atexit((_func_5014 *)&LAB_140104350); + if (DAT_14017d370 == 1000) goto LAB_1400ef8dd; + } + iVar1 = _vscwprintf(param_2,(va_list)&local_res18); + vswprintf_s(local_428,(longlong)(iVar1 + 1),param_2,(va_list)&local_res18); + wcscat_s(local_428,0x200,L"\n"); + if ((*(byte *)(param_1 + 0x10) & 4) != 0) { + OutputDebugStringW(local_428); + } + if ((*(byte *)(param_1 + 0x10) & 2) != 0) { + wprintf(local_428); + } + if ((*(FILE **)(param_1 + 0xb8) != (FILE *)0x0) && ((*(byte *)(param_1 + 0x10) & 8) != 0)) { + fwprintf(*(FILE **)(param_1 + 0xb8),L"%s"); + } +LAB_1400ef8dd: + LeaveCriticalSection(DAT_14017cf60); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ef910.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ef910.c new file mode 100644 index 00000000..822f0d45 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ef910.c @@ -0,0 +1,41 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ef910 FUN_1400ef910 + * Pseudocode, not original source. */ + +void FUN_1400ef910(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + errno_t eVar1; + undefined *puVar2; + + EnterCriticalSection(DAT_14017cf60); + if ((DAT_14017d378 & 1) == 0) { + DAT_14017d378 = DAT_14017d378 | 1; + FUN_1400ee280(); + atexit((_func_5014 *)&LAB_140104350); + } + if (DAT_14017d370 != 200) { + if ((DAT_14017d378 & 1) == 0) { + DAT_14017d378 = DAT_14017d378 | 1; + FUN_1400ee280(); + atexit((_func_5014 *)&LAB_140104350); + } + if (DAT_14017d370 != 1000) goto LAB_1400ef9aa; + } + _wsetlocale(0,L"korean"); +LAB_1400ef9aa: + setlocale(0,(char *)0x0); + printf("Locale is: %s\n"); + puVar2 = &DAT_140130d48; + eVar1 = fopen_s((FILE **)(param_1 + 0xb8),"Log\\AgentManagerServer.log","w"); + if (eVar1 != 0) { + *(undefined8 *)(param_1 + 0xb8) = 0; + FUN_1400ef7a0(param_1,L"MBLOG open error",puVar2,param_4); + } + FUN_1400ef370(DAT_14017c8a8,"MBLOG %s writting\n","Log\\AgentManagerServer.log",param_4); + /* WARNING: Could not recover jumptable at 0x0001400efa29. Too many branches */ + /* WARNING: Treating indirect jump as call */ + LeaveCriticalSection(DAT_14017cf60); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400efa40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400efa40.c new file mode 100644 index 00000000..ecfa4b68 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400efa40.c @@ -0,0 +1,67 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400efa40 FUN_1400efa40 + * Pseudocode, not original source. */ + +/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ + +void FUN_1400efa40(longlong param_1) + +{ + errno_t eVar1; + undefined *puVar2; + undefined *puVar3; + undefined1 auStack_198 [32]; + char *local_178; + uint local_170; + uint local_168; + uint local_160; + uint local_158; + uint local_150; + undefined8 local_148; + _SYSTEMTIME local_140; + char local_128; + undefined1 local_127 [279]; + ulonglong local_10; + + local_148 = 0xfffffffffffffffe; + local_10 = DAT_14016f5a0 ^ (ulonglong)auStack_198; + EnterCriticalSection(DAT_14017cf60); + if ((DAT_14017d378 & 1) == 0) { + DAT_14017d378 = DAT_14017d378 | 1; + FUN_1400ee280(); + atexit((_func_5014 *)&LAB_140104350); + } + if (DAT_14017d370 != 200) { + if ((DAT_14017d378 & 1) == 0) { + DAT_14017d378 = DAT_14017d378 | 1; + FUN_1400ee280(); + atexit((_func_5014 *)&LAB_140104350); + } + if (DAT_14017d370 != 1000) goto LAB_1400efaf2; + } + _wsetlocale(0,L"korean"); +LAB_1400efaf2: + setlocale(0,(char *)0x0); + printf("Locale is: %s\n"); + local_128 = '\0'; + memset(local_127,0,0x103); + GetLocalTime(&local_140); + local_150 = (uint)local_140.wMinute; + local_158 = (uint)local_140.wHour; + local_160 = (uint)local_140.wDay; + local_168 = (uint)local_140.wMonth; + local_170 = (uint)local_140.wYear; + local_178 = "AGENTMANAGER"; + puVar3 = &DAT_14012e898; + FUN_14001c570(&local_128,0x104,"%s\\%s[%04d-%02d-%02d %02d-%02d].log",&DAT_14012e898); + puVar2 = &DAT_140130d48; + eVar1 = fopen_s((FILE **)(param_1 + 0xc0),&local_128,"w"); + if (eVar1 != 0) { + *(undefined8 *)(param_1 + 0xc0) = 0; + FUN_1400ef7a0(param_1,L"MBLOG open error",puVar2,puVar3); + } + FUN_1400ef370(DAT_14017c8a8,"RealLog %s writting\n",&local_128,puVar3); + LeaveCriticalSection(DAT_14017cf60); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400efc10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400efc10.c new file mode 100644 index 00000000..ced7b89e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400efc10.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400efc10 Unwind@1400efc10 + * Pseudocode, not original source. */ + +void Unwind_1400efc10(undefined8 param_1,longlong param_2) + +{ + /* WARNING: Could not recover jumptable at 0x0001400efc17. Too many branches */ + /* WARNING: Treating indirect jump as call */ + std::exception::~exception(*(exception **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400efc20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400efc20.c new file mode 100644 index 00000000..1dea7b3c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400efc20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400efc20 Unwind@1400efc20 + * Pseudocode, not original source. */ + +void Unwind_1400efc20(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140006e80((longlong *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400efc30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400efc30.c new file mode 100644 index 00000000..f5d564f1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400efc30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400efc30 Unwind@1400efc30 + * Pseudocode, not original source. */ + +void Unwind_1400efc30(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400efc40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400efc40.c new file mode 100644 index 00000000..30ca0a42 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400efc40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400efc40 Unwind@1400efc40 + * Pseudocode, not original source. */ + +void Unwind_1400efc40(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400efc50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400efc50.c new file mode 100644 index 00000000..b3eaabd2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400efc50.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400efc50 Unwind@1400efc50 + * Pseudocode, not original source. */ + +void Unwind_1400efc50(undefined8 param_1,longlong param_2) + +{ + /* WARNING: Could not recover jumptable at 0x0001400efc57. Too many branches */ + /* WARNING: Treating indirect jump as call */ + std::exception::~exception(*(exception **)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400efc60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400efc60.c new file mode 100644 index 00000000..2d47892e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400efc60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400efc60 Unwind@1400efc60 + * Pseudocode, not original source. */ + +void Unwind_1400efc60(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140006e80((longlong *)(*(longlong *)(param_2 + 0x30) + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400efc70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400efc70.c new file mode 100644 index 00000000..84d2b1ac --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400efc70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400efc70 Unwind@1400efc70 + * Pseudocode, not original source. */ + +void Unwind_1400efc70(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x20),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400efc80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400efc80.c new file mode 100644 index 00000000..17d74b8b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400efc80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400efc80 Unwind@1400efc80 + * Pseudocode, not original source. */ + +void Unwind_1400efc80(undefined8 param_1,longlong param_2) + +{ + FUN_14003d260((undefined8 *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400efc90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400efc90.c new file mode 100644 index 00000000..701e2351 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400efc90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400efc90 Unwind@1400efc90 + * Pseudocode, not original source. */ + +void Unwind_1400efc90(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400efca0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400efca0.c new file mode 100644 index 00000000..e08c843b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400efca0.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400efca0 Unwind@1400efca0 + * Pseudocode, not original source. */ + +void Unwind_1400efca0(undefined8 param_1,longlong param_2) + +{ + /* WARNING: Could not recover jumptable at 0x0001400efca7. Too many branches */ + /* WARNING: Treating indirect jump as call */ + std::exception::~exception(*(exception **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400efcb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400efcb0.c new file mode 100644 index 00000000..a788c0cd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400efcb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400efcb0 Unwind@1400efcb0 + * Pseudocode, not original source. */ + +void Unwind_1400efcb0(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140006e80((longlong *)(*(longlong *)(param_2 + 0x40) + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400efcc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400efcc0.c new file mode 100644 index 00000000..8da98cfd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400efcc0.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400efcc0 Unwind@1400efcc0 + * Pseudocode, not original source. */ + +void Unwind_1400efcc0(undefined8 param_1,longlong param_2) + +{ + /* WARNING: Could not recover jumptable at 0x0001400efcc7. Too many branches */ + /* WARNING: Treating indirect jump as call */ + std::exception::~exception(*(exception **)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400efcd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400efcd0.c new file mode 100644 index 00000000..5691d1ef --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400efcd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400efcd0 Unwind@1400efcd0 + * Pseudocode, not original source. */ + +void Unwind_1400efcd0(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140006e80((longlong *)(*(longlong *)(param_2 + 0x50) + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400efce0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400efce0.c new file mode 100644 index 00000000..5b6d9e5a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400efce0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400efce0 Unwind@1400efce0 + * Pseudocode, not original source. */ + +void Unwind_1400efce0(undefined8 param_1,longlong param_2) + +{ + FUN_14000ad60((undefined8 *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400efcf0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400efcf0.c new file mode 100644 index 00000000..f2f7dde6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400efcf0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400efcf0 Unwind@1400efcf0 + * Pseudocode, not original source. */ + +void Unwind_1400efcf0(void) + +{ + DAT_140176068 = DAT_140176068 & 0xfffffffe; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400efd10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400efd10.c new file mode 100644 index 00000000..347254eb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400efd10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400efd10 Unwind@1400efd10 + * Pseudocode, not original source. */ + +void Unwind_1400efd10(void) + +{ + DAT_140176068 = DAT_140176068 & 0xfffffffe; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400efd30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400efd30.c new file mode 100644 index 00000000..19ef87a6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400efd30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400efd30 Unwind@1400efd30 + * Pseudocode, not original source. */ + +void Unwind_1400efd30(void) + +{ + DAT_140176068 = DAT_140176068 & 0xfffffffe; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400efd50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400efd50.c new file mode 100644 index 00000000..ecbca109 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400efd50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400efd50 Unwind@1400efd50 + * Pseudocode, not original source. */ + +void Unwind_1400efd50(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400efd60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400efd60.c new file mode 100644 index 00000000..9c492015 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400efd60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400efd60 Unwind@1400efd60 + * Pseudocode, not original source. */ + +void Unwind_1400efd60(undefined8 param_1,longlong param_2) + +{ + FUN_1400117d0(*(longlong **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400efd70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400efd70.c new file mode 100644 index 00000000..43e60651 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400efd70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400efd70 Unwind@1400efd70 + * Pseudocode, not original source. */ + +void Unwind_1400efd70(void) + +{ + DAT_140176138 = DAT_140176138 & 0xfffffffe; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400efd90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400efd90.c new file mode 100644 index 00000000..c7c65859 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400efd90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400efd90 Unwind@1400efd90 + * Pseudocode, not original source. */ + +void Unwind_1400efd90(undefined8 param_1,longlong param_2) + +{ + FUN_14003e8b0(*(LPVOID *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400efdb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400efdb0.c new file mode 100644 index 00000000..13df76c7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400efdb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400efdb0 Unwind@1400efdb0 + * Pseudocode, not original source. */ + +void Unwind_1400efdb0(undefined8 param_1,longlong param_2) + +{ + FUN_14003e830(*(undefined8 **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400efdc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400efdc0.c new file mode 100644 index 00000000..a477f960 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400efdc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400efdc0 Unwind@1400efdc0 + * Pseudocode, not original source. */ + +void Unwind_1400efdc0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400efdd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400efdd0.c new file mode 100644 index 00000000..d28bd183 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400efdd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400efdd0 Unwind@1400efdd0 + * Pseudocode, not original source. */ + +void Unwind_1400efdd0(void) + +{ + DAT_1401761a8 = DAT_1401761a8 & 0xfffffffe; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400efdf0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400efdf0.c new file mode 100644 index 00000000..faffa88e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400efdf0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400efdf0 Unwind@1400efdf0 + * Pseudocode, not original source. */ + +void Unwind_1400efdf0(undefined8 param_1,longlong param_2) + +{ + FUN_14003e830(*(undefined8 **)(param_2 + 0xd0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400efe00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400efe00.c new file mode 100644 index 00000000..a801de37 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400efe00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400efe00 Unwind@1400efe00 + * Pseudocode, not original source. */ + +void Unwind_1400efe00(undefined8 param_1,longlong param_2) + +{ + FUN_14003fbd0((undefined8 *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400efe10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400efe10.c new file mode 100644 index 00000000..ae814559 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400efe10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400efe10 Unwind@1400efe10 + * Pseudocode, not original source. */ + +void Unwind_1400efe10(undefined8 param_1,longlong param_2) + +{ + FUN_14003fbd0((undefined8 *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400efe20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400efe20.c new file mode 100644 index 00000000..f3abac4e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400efe20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400efe20 Unwind@1400efe20 + * Pseudocode, not original source. */ + +void Unwind_1400efe20(undefined8 param_1,longlong param_2) + +{ + FUN_140005000((undefined8 *)(param_2 + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400efe30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400efe30.c new file mode 100644 index 00000000..7a7c7d07 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400efe30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400efe30 Catch_All@1400efe30 + * Pseudocode, not original source. */ + +undefined * Catch_All_1400efe30(undefined8 param_1,longlong param_2) + +{ + *(undefined4 *)(param_2 + 0x30) = 0; + return &DAT_14003fec7; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400efe60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400efe60.c new file mode 100644 index 00000000..12d4b2f0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400efe60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400efe60 Unwind@1400efe60 + * Pseudocode, not original source. */ + +void Unwind_1400efe60(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(*(longlong *)(param_2 + 0x40) + 8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400efe70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400efe70.c new file mode 100644 index 00000000..c7587614 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400efe70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400efe70 Unwind@1400efe70 + * Pseudocode, not original source. */ + +void Unwind_1400efe70(undefined8 param_1,longlong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_1400404a0((longlong *)(*(longlong *)(param_2 + 0x40) + 0x10),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400efe80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400efe80.c new file mode 100644 index 00000000..103da683 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400efe80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400efe80 Unwind@1400efe80 + * Pseudocode, not original source. */ + +void Unwind_1400efe80(undefined8 param_1,longlong param_2) + +{ + FUN_14003f370((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x18)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400efe90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400efe90.c new file mode 100644 index 00000000..e0aa6b15 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400efe90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400efe90 Unwind@1400efe90 + * Pseudocode, not original source. */ + +void Unwind_1400efe90(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140006e80((longlong *)(*(longlong *)(param_2 + 0x40) + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400efea0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400efea0.c new file mode 100644 index 00000000..c1507198 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400efea0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400efea0 Unwind@1400efea0 + * Pseudocode, not original source. */ + +void Unwind_1400efea0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003d110((undefined4 *)(*(longlong *)(param_2 + 0x40) + 0x30),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400efeb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400efeb0.c new file mode 100644 index 00000000..1e426e83 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400efeb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400efeb0 Unwind@1400efeb0 + * Pseudocode, not original source. */ + +void Unwind_1400efeb0(undefined8 param_1,longlong param_2) + +{ + FUN_140045c30((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x88)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400efed0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400efed0.c new file mode 100644 index 00000000..1a559e84 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400efed0.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400efed0 Unwind@1400efed0 + * Pseudocode, not original source. */ + +void Unwind_1400efed0(undefined8 param_1,longlong param_2) + +{ + if ((*(uint *)(param_2 + 0x58) & 1) != 0) { + *(uint *)(param_2 + 0x58) = *(uint *)(param_2 + 0x58) & 0xfffffffe; + thunk_FUN_140006e80(*(longlong **)(param_2 + 0x40)); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400eff00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400eff00.c new file mode 100644 index 00000000..bb27a659 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400eff00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400eff00 Unwind@1400eff00 + * Pseudocode, not original source. */ + +void Unwind_1400eff00(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_14003e8b0(*(LPVOID *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400eff20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400eff20.c new file mode 100644 index 00000000..1a6d86ea --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400eff20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400eff20 Unwind@1400eff20 + * Pseudocode, not original source. */ + +void Unwind_1400eff20(undefined8 param_1,longlong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_1400404a0((longlong *)(param_2 + 0x50),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400eff30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400eff30.c new file mode 100644 index 00000000..17dde9d3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400eff30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400eff30 Unwind@1400eff30 + * Pseudocode, not original source. */ + +void Unwind_1400eff30(undefined8 param_1,longlong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_1400404a0((longlong *)(param_2 + 0x58),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400eff40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400eff40.c new file mode 100644 index 00000000..7af1d4f1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400eff40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400eff40 Unwind@1400eff40 + * Pseudocode, not original source. */ + +void Unwind_1400eff40(undefined8 param_1,longlong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_1400404a0((longlong *)(param_2 + 0x60),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400eff50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400eff50.c new file mode 100644 index 00000000..4393a0f0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400eff50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400eff50 Unwind@1400eff50 + * Pseudocode, not original source. */ + +void Unwind_1400eff50(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140006e80((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400eff60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400eff60.c new file mode 100644 index 00000000..622247b8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400eff60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400eff60 Unwind@1400eff60 + * Pseudocode, not original source. */ + +void Unwind_1400eff60(undefined8 param_1,longlong param_2) + +{ + FUN_14003d260((undefined8 *)(param_2 + 0x70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400eff70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400eff70.c new file mode 100644 index 00000000..18aacbe9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400eff70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400eff70 Unwind@1400eff70 + * Pseudocode, not original source. */ + +void Unwind_1400eff70(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140006e80((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400eff80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400eff80.c new file mode 100644 index 00000000..b7eb3950 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400eff80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400eff80 Unwind@1400eff80 + * Pseudocode, not original source. */ + +void Unwind_1400eff80(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140006e80((longlong *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400eff90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400eff90.c new file mode 100644 index 00000000..82dbe87c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400eff90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400eff90 Unwind@1400eff90 + * Pseudocode, not original source. */ + +void Unwind_1400eff90(undefined8 param_1,longlong param_2) + +{ + FUN_14003d260((undefined8 *)(param_2 + 0x100)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400effa0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400effa0.c new file mode 100644 index 00000000..b2009bbb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400effa0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400effa0 Unwind@1400effa0 + * Pseudocode, not original source. */ + +void Unwind_1400effa0(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140006e80((longlong *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400effb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400effb0.c new file mode 100644 index 00000000..80a84ea9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400effb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400effb0 Unwind@1400effb0 + * Pseudocode, not original source. */ + +void Unwind_1400effb0(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140006e80((longlong *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400effc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400effc0.c new file mode 100644 index 00000000..9e834344 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400effc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400effc0 Unwind@1400effc0 + * Pseudocode, not original source. */ + +void Unwind_1400effc0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400effd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400effd0.c new file mode 100644 index 00000000..5ae42885 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400effd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400effd0 Unwind@1400effd0 + * Pseudocode, not original source. */ + +void Unwind_1400effd0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400effe0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400effe0.c new file mode 100644 index 00000000..54d9b59d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400effe0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400effe0 Unwind@1400effe0 + * Pseudocode, not original source. */ + +void Unwind_1400effe0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400efff0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400efff0.c new file mode 100644 index 00000000..f8bc519b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400efff0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400efff0 Unwind@1400efff0 + * Pseudocode, not original source. */ + +void Unwind_1400efff0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0000.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0000.c new file mode 100644 index 00000000..8aed7695 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0000.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0000 Unwind@1400f0000 + * Pseudocode, not original source. */ + +void Unwind_1400f0000(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0010.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0010.c new file mode 100644 index 00000000..bf1ce614 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0010.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0010 Unwind@1400f0010 + * Pseudocode, not original source. */ + +void Unwind_1400f0010(undefined8 param_1,longlong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_1400404a0((longlong *)(param_2 + 0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0020.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0020.c new file mode 100644 index 00000000..864cdd8e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0020.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0020 Unwind@1400f0020 + * Pseudocode, not original source. */ + +void Unwind_1400f0020(undefined8 param_1,longlong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_1400404a0((longlong *)(param_2 + 0x60),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0030.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0030.c new file mode 100644 index 00000000..ceee19f8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0030.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0030 Unwind@1400f0030 + * Pseudocode, not original source. */ + +void Unwind_1400f0030(undefined8 param_1,longlong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_1400404a0((longlong *)(param_2 + 0x60),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0040.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0040.c new file mode 100644 index 00000000..af9ebcf3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0040.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0040 Unwind@1400f0040 + * Pseudocode, not original source. */ + +void Unwind_1400f0040(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0050.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0050.c new file mode 100644 index 00000000..6fb2538d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0050.c @@ -0,0 +1,21 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0050 Catch@1400f0050 + * Pseudocode, not original source. */ + +undefined8 +Catch_1400f0050(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + undefined4 *puVar1; + undefined8 *puVar2; + longlong *plVar3; + + puVar1 = *(undefined4 **)(param_2 + 0x50); + puVar2 = *(undefined8 **)(puVar1 + 4); + if ((puVar2 != (undefined8 *)0x0) && (plVar3 = (longlong *)*puVar2, plVar3 != (longlong *)0x0)) { + FUN_140043a50(plVar3,param_2,param_3,param_4); + } + *puVar1 = 3; + return 0x14004151a; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0090.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0090.c new file mode 100644 index 00000000..429cc170 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0090.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0090 Unwind@1400f0090 + * Pseudocode, not original source. */ + +void Unwind_1400f0090(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f00a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f00a0.c new file mode 100644 index 00000000..4011bee1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f00a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f00a0 Unwind@1400f00a0 + * Pseudocode, not original source. */ + +void Unwind_1400f00a0(void) + +{ + DAT_1401762c0 = DAT_1401762c0 & 0xfffffffe; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f00c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f00c0.c new file mode 100644 index 00000000..4757c546 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f00c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f00c0 Unwind@1400f00c0 + * Pseudocode, not original source. */ + +void Unwind_1400f00c0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f00d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f00d0.c new file mode 100644 index 00000000..4c59f9fd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f00d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f00d0 Unwind@1400f00d0 + * Pseudocode, not original source. */ + +void Unwind_1400f00d0(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_14003e8b0(*(LPVOID *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f00f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f00f0.c new file mode 100644 index 00000000..5779b5d1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f00f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f00f0 Unwind@1400f00f0 + * Pseudocode, not original source. */ + +void Unwind_1400f00f0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0100.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0100.c new file mode 100644 index 00000000..4b48483e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0100.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0100 Unwind@1400f0100 + * Pseudocode, not original source. */ + +void Unwind_1400f0100(void) + +{ + DAT_140176304 = DAT_140176304 & 0xfffffffe; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0120.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0120.c new file mode 100644 index 00000000..7937dc90 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0120.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0120 Unwind@1400f0120 + * Pseudocode, not original source. */ + +void Unwind_1400f0120(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0150.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0150.c new file mode 100644 index 00000000..3db475fe --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0150.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0150 Unwind@1400f0150 + * Pseudocode, not original source. */ + +void Unwind_1400f0150(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x20),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0160.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0160.c new file mode 100644 index 00000000..10e50fc7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0160.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0160 Unwind@1400f0160 + * Pseudocode, not original source. */ + +void Unwind_1400f0160(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0190.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0190.c new file mode 100644 index 00000000..463cc686 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0190.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0190 Unwind@1400f0190 + * Pseudocode, not original source. */ + +void Unwind_1400f0190(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140006e80((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f01a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f01a0.c new file mode 100644 index 00000000..704ca32d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f01a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f01a0 Unwind@1400f01a0 + * Pseudocode, not original source. */ + +void Unwind_1400f01a0(undefined8 param_1,longlong param_2) + +{ + FUN_140005000((undefined8 *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f01b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f01b0.c new file mode 100644 index 00000000..cdde6f48 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f01b0.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f01b0 Unwind@1400f01b0 + * Pseudocode, not original source. */ + +void Unwind_1400f01b0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + if ((*(uint *)(param_2 + 0x20) & 1) != 0) { + *(uint *)(param_2 + 0x20) = *(uint *)(param_2 + 0x20) & 0xfffffffe; + thunk_FUN_140002190(*(longlong **)(param_2 + 0x40),param_2,param_3,param_4); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f01e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f01e0.c new file mode 100644 index 00000000..c4c4cdf0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f01e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f01e0 Unwind@1400f01e0 + * Pseudocode, not original source. */ + +void Unwind_1400f01e0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f01f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f01f0.c new file mode 100644 index 00000000..66bddced --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f01f0.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f01f0 Unwind@1400f01f0 + * Pseudocode, not original source. */ + +void Unwind_1400f01f0(undefined8 param_1,longlong param_2) + +{ + if ((*(uint *)(param_2 + 0x50) & 1) != 0) { + *(uint *)(param_2 + 0x50) = *(uint *)(param_2 + 0x50) & 0xfffffffe; + thunk_FUN_140006e80(*(longlong **)(param_2 + 0x40)); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0220.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0220.c new file mode 100644 index 00000000..1b10bcde --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0220.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0220 Unwind@1400f0220 + * Pseudocode, not original source. */ + +void Unwind_1400f0220(undefined8 param_1,longlong param_2) + +{ + if ((*(uint *)(param_2 + 0x68) & 1) != 0) { + *(uint *)(param_2 + 0x68) = *(uint *)(param_2 + 0x68) & 0xfffffffe; + thunk_FUN_140006e80(*(longlong **)(param_2 + 0x60)); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0250.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0250.c new file mode 100644 index 00000000..98afe72d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0250.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0250 Unwind@1400f0250 + * Pseudocode, not original source. */ + +void Unwind_1400f0250(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140006e80((longlong *)(param_2 + 0x70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0260.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0260.c new file mode 100644 index 00000000..9162bdf0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0260.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0260 Unwind@1400f0260 + * Pseudocode, not original source. */ + +void Unwind_1400f0260(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0270.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0270.c new file mode 100644 index 00000000..044e82b4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0270.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0270 Unwind@1400f0270 + * Pseudocode, not original source. */ + +void Unwind_1400f0270(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140006e80((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0280.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0280.c new file mode 100644 index 00000000..b004223e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0280.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0280 Unwind@1400f0280 + * Pseudocode, not original source. */ + +void Unwind_1400f0280(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140006e80((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0290.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0290.c new file mode 100644 index 00000000..6d62cb55 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0290.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0290 Unwind@1400f0290 + * Pseudocode, not original source. */ + +void Unwind_1400f0290(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f02a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f02a0.c new file mode 100644 index 00000000..660f3e67 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f02a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f02a0 Unwind@1400f02a0 + * Pseudocode, not original source. */ + +void Unwind_1400f02a0(undefined8 param_1,longlong param_2) + +{ + FUN_140005000((undefined8 *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f02b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f02b0.c new file mode 100644 index 00000000..0b559335 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f02b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f02b0 Unwind@1400f02b0 + * Pseudocode, not original source. */ + +void Unwind_1400f02b0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f02c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f02c0.c new file mode 100644 index 00000000..2b51bbec --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f02c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f02c0 Unwind@1400f02c0 + * Pseudocode, not original source. */ + +void Unwind_1400f02c0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003d110(*(undefined4 **)(param_2 + 0x38),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f02d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f02d0.c new file mode 100644 index 00000000..978d84cd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f02d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f02d0 Unwind@1400f02d0 + * Pseudocode, not original source. */ + +void Unwind_1400f02d0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x20),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f02e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f02e0.c new file mode 100644 index 00000000..fafab08d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f02e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f02e0 Unwind@1400f02e0 + * Pseudocode, not original source. */ + +void Unwind_1400f02e0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f02f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f02f0.c new file mode 100644 index 00000000..ea390e9a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f02f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f02f0 Unwind@1400f02f0 + * Pseudocode, not original source. */ + +void Unwind_1400f02f0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0300.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0300.c new file mode 100644 index 00000000..08f4201d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0300.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0300 Unwind@1400f0300 + * Pseudocode, not original source. */ + +void Unwind_1400f0300(void) + +{ + DAT_140176358 = DAT_140176358 & 0xfffffffe; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0320.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0320.c new file mode 100644 index 00000000..605af868 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0320.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0320 Unwind@1400f0320 + * Pseudocode, not original source. */ + +void Unwind_1400f0320(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140006e80((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0330.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0330.c new file mode 100644 index 00000000..746b578b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0330.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0330 Unwind@1400f0330 + * Pseudocode, not original source. */ + +void Unwind_1400f0330(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140006e80((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0340.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0340.c new file mode 100644 index 00000000..bb1230fb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0340.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0340 Unwind@1400f0340 + * Pseudocode, not original source. */ + +void Unwind_1400f0340(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0350.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0350.c new file mode 100644 index 00000000..48e66cca --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0350.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0350 Unwind@1400f0350 + * Pseudocode, not original source. */ + +void Unwind_1400f0350(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0360.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0360.c new file mode 100644 index 00000000..725c6953 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0360.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0360 Unwind@1400f0360 + * Pseudocode, not original source. */ + +void Unwind_1400f0360(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0370.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0370.c new file mode 100644 index 00000000..42073e95 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0370.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0370 Unwind@1400f0370 + * Pseudocode, not original source. */ + +void Unwind_1400f0370(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140043d40(*(longlong **)(param_2 + 0x90),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0380.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0380.c new file mode 100644 index 00000000..20f0dcee --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0380.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0380 Unwind@1400f0380 + * Pseudocode, not original source. */ + +void Unwind_1400f0380(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003d110((undefined4 *)(*(longlong *)(param_2 + 0x90) + 0x28),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0390.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0390.c new file mode 100644 index 00000000..e1c758af --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0390.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0390 Unwind@1400f0390 + * Pseudocode, not original source. */ + +void Unwind_1400f0390(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(*(longlong *)(param_2 + 0x90) + 0x140)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f03b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f03b0.c new file mode 100644 index 00000000..6faa5e22 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f03b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f03b0 Unwind@1400f03b0 + * Pseudocode, not original source. */ + +void Unwind_1400f03b0(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(*(longlong *)(param_2 + 0x90) + 0x200)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f03d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f03d0.c new file mode 100644 index 00000000..7122477a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f03d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f03d0 Unwind@1400f03d0 + * Pseudocode, not original source. */ + +void Unwind_1400f03d0(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(*(longlong *)(param_2 + 0x90) + 0x2c0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f03f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f03f0.c new file mode 100644 index 00000000..faf35128 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f03f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f03f0 Unwind@1400f03f0 + * Pseudocode, not original source. */ + +void Unwind_1400f03f0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140043d40(*(longlong **)(param_2 + 0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0400.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0400.c new file mode 100644 index 00000000..bdc2c878 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0400.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0400 Unwind@1400f0400 + * Pseudocode, not original source. */ + +void Unwind_1400f0400(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003d110((undefined4 *)(*(longlong *)(param_2 + 0x40) + 0x28),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0410.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0410.c new file mode 100644 index 00000000..e915cc3c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0410.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0410 Unwind@1400f0410 + * Pseudocode, not original source. */ + +void Unwind_1400f0410(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x140)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0430.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0430.c new file mode 100644 index 00000000..2db5464d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0430.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0430 Unwind@1400f0430 + * Pseudocode, not original source. */ + +void Unwind_1400f0430(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x200)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0450.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0450.c new file mode 100644 index 00000000..04a3832e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0450.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0450 Unwind@1400f0450 + * Pseudocode, not original source. */ + +void Unwind_1400f0450(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x2c0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0470.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0470.c new file mode 100644 index 00000000..1bf8b269 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0470.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0470 Unwind@1400f0470 + * Pseudocode, not original source. */ + +void Unwind_1400f0470(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x20),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0480.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0480.c new file mode 100644 index 00000000..7e25bc82 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0480.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0480 Unwind@1400f0480 + * Pseudocode, not original source. */ + +void Unwind_1400f0480(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0490.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0490.c new file mode 100644 index 00000000..ead6dcac --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0490.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0490 Unwind@1400f0490 + * Pseudocode, not original source. */ + +void Unwind_1400f0490(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f04a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f04a0.c new file mode 100644 index 00000000..e62d8726 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f04a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f04a0 Unwind@1400f04a0 + * Pseudocode, not original source. */ + +void Unwind_1400f04a0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x30),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f04b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f04b0.c new file mode 100644 index 00000000..35802079 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f04b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f04b0 Unwind@1400f04b0 + * Pseudocode, not original source. */ + +void Unwind_1400f04b0(undefined8 param_1,longlong param_2) + +{ + FUN_14003d260((undefined8 *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f04c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f04c0.c new file mode 100644 index 00000000..683c3934 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f04c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f04c0 Unwind@1400f04c0 + * Pseudocode, not original source. */ + +void Unwind_1400f04c0(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140006e80((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f04d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f04d0.c new file mode 100644 index 00000000..10ecab80 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f04d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f04d0 Unwind@1400f04d0 + * Pseudocode, not original source. */ + +void Unwind_1400f04d0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f04e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f04e0.c new file mode 100644 index 00000000..5d74b9e5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f04e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f04e0 Unwind@1400f04e0 + * Pseudocode, not original source. */ + +void Unwind_1400f04e0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f04f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f04f0.c new file mode 100644 index 00000000..27b5e17d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f04f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f04f0 Unwind@1400f04f0 + * Pseudocode, not original source. */ + +void Unwind_1400f04f0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0500.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0500.c new file mode 100644 index 00000000..a54bec7a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0500.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0500 Unwind@1400f0500 + * Pseudocode, not original source. */ + +void Unwind_1400f0500(undefined8 param_1,longlong param_2) + +{ + FUN_1400486f0((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0510.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0510.c new file mode 100644 index 00000000..ea8b0c59 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0510.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0510 Unwind@1400f0510 + * Pseudocode, not original source. */ + +void Unwind_1400f0510(undefined8 param_1,longlong param_2) + +{ + FUN_140005000((undefined8 *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0520.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0520.c new file mode 100644 index 00000000..ad436644 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0520.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0520 Unwind@1400f0520 + * Pseudocode, not original source. */ + +void Unwind_1400f0520(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x78),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0530.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0530.c new file mode 100644 index 00000000..6cd2eaeb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0530.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0530 Unwind@1400f0530 + * Pseudocode, not original source. */ + +void Unwind_1400f0530(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0540.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0540.c new file mode 100644 index 00000000..2c079a51 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0540.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0540 Unwind@1400f0540 + * Pseudocode, not original source. */ + +void Unwind_1400f0540(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + if ((*(uint *)(param_2 + 0x70) & 1) != 0) { + *(uint *)(param_2 + 0x70) = *(uint *)(param_2 + 0x70) & 0xfffffffe; + thunk_FUN_140002190(*(longlong **)(param_2 + 0x68),param_2,param_3,param_4); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0570.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0570.c new file mode 100644 index 00000000..26daaade --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0570.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0570 Unwind@1400f0570 + * Pseudocode, not original source. */ + +void Unwind_1400f0570(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0580.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0580.c new file mode 100644 index 00000000..c322c294 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0580.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0580 Unwind@1400f0580 + * Pseudocode, not original source. */ + +void Unwind_1400f0580(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0590.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0590.c new file mode 100644 index 00000000..f0b5621b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0590.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0590 Unwind@1400f0590 + * Pseudocode, not original source. */ + +void Unwind_1400f0590(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140048130((undefined8 *)&DAT_140176490,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f05a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f05a0.c new file mode 100644 index 00000000..387bfe73 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f05a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f05a0 Unwind@1400f05a0 + * Pseudocode, not original source. */ + +void Unwind_1400f05a0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003d110((undefined4 *)(*(longlong *)(param_2 + 0x50) + 0x70),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f05b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f05b0.c new file mode 100644 index 00000000..8a43627e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f05b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f05b0 Unwind@1400f05b0 + * Pseudocode, not original source. */ + +void Unwind_1400f05b0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f05c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f05c0.c new file mode 100644 index 00000000..f31011b8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f05c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f05c0 Unwind@1400f05c0 + * Pseudocode, not original source. */ + +void Unwind_1400f05c0(void) + +{ + DAT_140176ef0 = DAT_140176ef0 & 0xfffffffe; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f05e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f05e0.c new file mode 100644 index 00000000..76577081 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f05e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f05e0 Unwind@1400f05e0 + * Pseudocode, not original source. */ + +void Unwind_1400f05e0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f05f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f05f0.c new file mode 100644 index 00000000..d7ecdb18 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f05f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f05f0 Unwind@1400f05f0 + * Pseudocode, not original source. */ + +void Unwind_1400f05f0(undefined8 param_1,longlong param_2) + +{ + FUN_140041770(*(undefined8 **)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0600.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0600.c new file mode 100644 index 00000000..368eceb1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0600.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0600 Unwind@1400f0600 + * Pseudocode, not original source. */ + +void Unwind_1400f0600(undefined8 param_1,longlong param_2) + +{ + operator_delete(*(void **)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0610.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0610.c new file mode 100644 index 00000000..502164c1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0610.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0610 Unwind@1400f0610 + * Pseudocode, not original source. */ + +void Unwind_1400f0610(undefined8 param_1,longlong param_2) + +{ + operator_delete(*(void **)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0620.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0620.c new file mode 100644 index 00000000..29c00632 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0620.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0620 Unwind@1400f0620 + * Pseudocode, not original source. */ + +void Unwind_1400f0620(undefined8 param_1,longlong param_2) + +{ + FUN_140041770(*(undefined8 **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0630.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0630.c new file mode 100644 index 00000000..832be133 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0630.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0630 Unwind@1400f0630 + * Pseudocode, not original source. */ + +void Unwind_1400f0630(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140006e80((longlong *)(param_2 + 0x88)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0640.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0640.c new file mode 100644 index 00000000..8bf34eda --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0640.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0640 Unwind@1400f0640 + * Pseudocode, not original source. */ + +void Unwind_1400f0640(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140006e80((longlong *)(param_2 + 0x80)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0650.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0650.c new file mode 100644 index 00000000..f096a073 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0650.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0650 Unwind@1400f0650 + * Pseudocode, not original source. */ + +void Unwind_1400f0650(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0660.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0660.c new file mode 100644 index 00000000..8374e2c7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0660.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0660 Unwind@1400f0660 + * Pseudocode, not original source. */ + +void Unwind_1400f0660(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0670.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0670.c new file mode 100644 index 00000000..34dbea88 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0670.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0670 Unwind@1400f0670 + * Pseudocode, not original source. */ + +void Unwind_1400f0670(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0680.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0680.c new file mode 100644 index 00000000..726f79cb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0680.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0680 Unwind@1400f0680 + * Pseudocode, not original source. */ + +void Unwind_1400f0680(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xd0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0690.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0690.c new file mode 100644 index 00000000..0980cb33 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0690.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0690 Unwind@1400f0690 + * Pseudocode, not original source. */ + +void Unwind_1400f0690(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140046c50((longlong *)(*(longlong *)(param_2 + 0x80) + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f06a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f06a0.c new file mode 100644 index 00000000..d514197d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f06a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f06a0 Unwind@1400f06a0 + * Pseudocode, not original source. */ + +void Unwind_1400f06a0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003d110((undefined4 *)(*(longlong *)(param_2 + 0x80) + 0x50),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f06b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f06b0.c new file mode 100644 index 00000000..fa62f0ee --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f06b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f06b0 Unwind@1400f06b0 + * Pseudocode, not original source. */ + +void Unwind_1400f06b0(undefined8 param_1,longlong param_2) + +{ + FUN_140093d10((longlong *)(*(longlong *)(param_2 + 0x80) + 0x88)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f06d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f06d0.c new file mode 100644 index 00000000..aa318362 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f06d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f06d0 Unwind@1400f06d0 + * Pseudocode, not original source. */ + +void Unwind_1400f06d0(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140046c50((longlong *)(*(longlong *)(param_2 + 0x40) + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f06e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f06e0.c new file mode 100644 index 00000000..c012c27f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f06e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f06e0 Unwind@1400f06e0 + * Pseudocode, not original source. */ + +void Unwind_1400f06e0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003d110((undefined4 *)(*(longlong *)(param_2 + 0x40) + 0x50),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f06f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f06f0.c new file mode 100644 index 00000000..66c5e968 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f06f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f06f0 Unwind@1400f06f0 + * Pseudocode, not original source. */ + +void Unwind_1400f06f0(undefined8 param_1,longlong param_2) + +{ + FUN_140093d10((longlong *)(*(longlong *)(param_2 + 0x40) + 0x88)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0710.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0710.c new file mode 100644 index 00000000..4232aa3a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0710.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0710 Unwind@1400f0710 + * Pseudocode, not original source. */ + +void Unwind_1400f0710(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x60),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0720.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0720.c new file mode 100644 index 00000000..0eb51f9d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0720.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0720 Unwind@1400f0720 + * Pseudocode, not original source. */ + +void Unwind_1400f0720(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0730.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0730.c new file mode 100644 index 00000000..126a7cc1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0730.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0730 Unwind@1400f0730 + * Pseudocode, not original source. */ + +void Unwind_1400f0730(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0740.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0740.c new file mode 100644 index 00000000..fb73e710 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0740.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0740 Unwind@1400f0740 + * Pseudocode, not original source. */ + +void Unwind_1400f0740(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0750.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0750.c new file mode 100644 index 00000000..f57f1c57 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0750.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0750 Unwind@1400f0750 + * Pseudocode, not original source. */ + +void Unwind_1400f0750(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0760.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0760.c new file mode 100644 index 00000000..ff512798 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0760.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0760 Unwind@1400f0760 + * Pseudocode, not original source. */ + +void Unwind_1400f0760(void) + +{ + DAT_140177918 = DAT_140177918 & 0xfffffffe; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0780.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0780.c new file mode 100644 index 00000000..a2090900 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0780.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0780 Catch_All@1400f0780 + * Pseudocode, not original source. */ + +undefined8 Catch_All_1400f0780(void) + +{ + return 0x140048f05; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f079b.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f079b.c new file mode 100644 index 00000000..2cbf437e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f079b.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f079b FUN_1400f079b + * Pseudocode, not original source. */ + +void FUN_1400f079b(void) + +{ + _unlock(8); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f07b6.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f07b6.c new file mode 100644 index 00000000..e6fe7545 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f07b6.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f07b6 FUN_1400f07b6 + * Pseudocode, not original source. */ + +void FUN_1400f07b6(_EXCEPTION_POINTERS *param_1) + +{ + _XcptFilter(param_1->ExceptionRecord->ExceptionCode,param_1); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f07d4.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f07d4.c new file mode 100644 index 00000000..4f4414cb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f07d4.c @@ -0,0 +1,26 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f07d4 `void___cdecl___ArrayUnwind(void*___ptr64,unsigned___int64,int,void_(__cdecl*)(void*___ptr64))'::__l1::filt$0 + * Pseudocode, not original source. */ + +/* Library Function - Single Match + int `void __cdecl __ArrayUnwind(void * __ptr64,unsigned __int64,int,void (__cdecl*)(void * + __ptr64))'::`1'::filt$0 + + Library: Visual Studio 2005 Release */ + +undefined4 +`void___cdecl___ArrayUnwind(void*___ptr64,unsigned___int64,int,void_(__cdecl*)(void*___ptr64))':: +__l1::filt_0(undefined8 param_1,longlong param_2) + +{ + *(undefined8 *)(param_2 + 0x38) = param_1; + *(undefined8 *)(param_2 + 0x28) = param_1; + *(undefined8 *)(param_2 + 0x30) = **(undefined8 **)(param_2 + 0x28); + if (**(int **)(param_2 + 0x30) != -0x1f928c9d) { + *(undefined4 *)(param_2 + 0x20) = 0; + return *(undefined4 *)(param_2 + 0x20); + } + /* WARNING: Subroutine does not return */ + terminate(); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0815.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0815.c new file mode 100644 index 00000000..0b24aa41 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0815.c @@ -0,0 +1,21 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0815 `void___cdecl_`eh_vector_destructor_iterator'(void*___ptr64,unsigned___int64,int,void_(__cdecl*)(void*___ptr64))'::__l1::fin$0 + * Pseudocode, not original source. */ + +/* Library Function - Single Match + int `void __cdecl `eh vector destructor iterator'(void * __ptr64,unsigned __int64,int,void + (__cdecl*)(void * __ptr64))'::`1'::fin$0 + + Library: Visual Studio 2005 Release */ + +void `void___cdecl_`eh_vector_destructor_iterator'(void*___ptr64,unsigned___int64,int,void_(__cdecl*)(void*___ptr64))' + ::__l1::fin_0(undefined8 param_1,longlong param_2) + +{ + if (*(int *)(param_2 + 0x20) == 0) { + __ArrayUnwind(*(void **)(param_2 + 0x60),*(__uint64 *)(param_2 + 0x68),*(int *)(param_2 + 0x70), + *(_func_void_void_ptr **)(param_2 + 0x78)); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0850.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0850.c new file mode 100644 index 00000000..92da5f29 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0850.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0850 FUN_1400f0850 + * Pseudocode, not original source. */ + +bool FUN_1400f0850(undefined8 *param_1) + +{ + return *(int *)*param_1 == -0x3ffffffb; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0872.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0872.c new file mode 100644 index 00000000..514311a5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0872.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0872 Catch_All@1400f0872 + * Pseudocode, not original source. */ + +undefined * Catch_All_1400f0872(undefined8 param_1,longlong param_2) + +{ + *(undefined8 *)(param_2 + 0x50) = 0; + return &DAT_140049ae5; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f08a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f08a0.c new file mode 100644 index 00000000..157c231e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f08a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f08a0 Unwind@1400f08a0 + * Pseudocode, not original source. */ + +void Unwind_1400f08a0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f08b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f08b0.c new file mode 100644 index 00000000..97f8863e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f08b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f08b0 Unwind@1400f08b0 + * Pseudocode, not original source. */ + +void Unwind_1400f08b0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(*(longlong *)(param_2 + 0x40) + 8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f08c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f08c0.c new file mode 100644 index 00000000..f132c6fb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f08c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f08c0 Unwind@1400f08c0 + * Pseudocode, not original source. */ + +void Unwind_1400f08c0(undefined8 param_1,longlong param_2) + +{ + FUN_140038400((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x18)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f08d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f08d0.c new file mode 100644 index 00000000..5a189d57 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f08d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f08d0 Unwind@1400f08d0 + * Pseudocode, not original source. */ + +void Unwind_1400f08d0(undefined8 param_1,longlong param_2) + +{ + FUN_140038400((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x88)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f08f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f08f0.c new file mode 100644 index 00000000..f704f9ca --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f08f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f08f0 Unwind@1400f08f0 + * Pseudocode, not original source. */ + +void Unwind_1400f08f0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0900.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0900.c new file mode 100644 index 00000000..542da55d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0900.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0900 Unwind@1400f0900 + * Pseudocode, not original source. */ + +void Unwind_1400f0900(void) + +{ + DAT_140178118 = DAT_140178118 & 0xfffffffe; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0920.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0920.c new file mode 100644 index 00000000..9a9060b8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0920.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0920 Unwind@1400f0920 + * Pseudocode, not original source. */ + +void Unwind_1400f0920(undefined8 param_1,longlong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_140079c60((undefined8 *)(param_2 + 0x30),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0930.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0930.c new file mode 100644 index 00000000..4d2fea2f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0930.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0930 Unwind@1400f0930 + * Pseudocode, not original source. */ + +void Unwind_1400f0930(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x120)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0950.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0950.c new file mode 100644 index 00000000..3c95415e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0950.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0950 Unwind@1400f0950 + * Pseudocode, not original source. */ + +void Unwind_1400f0950(undefined8 param_1,longlong param_2) + +{ + operator_delete(*(void **)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0960.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0960.c new file mode 100644 index 00000000..5f85041a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0960.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0960 Unwind@1400f0960 + * Pseudocode, not original source. */ + +void Unwind_1400f0960(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(*(longlong *)(param_2 + 0x80) + 0xc80)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0980.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0980.c new file mode 100644 index 00000000..a803cac7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0980.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0980 Catch_All@1400f0980 + * Pseudocode, not original source. */ + +undefined8 Catch_All_1400f0980(void) + +{ + return 0x14004e283; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f09a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f09a0.c new file mode 100644 index 00000000..7a1cb6a9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f09a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f09a0 Unwind@1400f09a0 + * Pseudocode, not original source. */ + +void Unwind_1400f09a0(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(*(longlong *)(param_2 + 0xd0) + 0xc80)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f09c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f09c0.c new file mode 100644 index 00000000..225de7fa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f09c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f09c0 Unwind@1400f09c0 + * Pseudocode, not original source. */ + +void Unwind_1400f09c0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f09d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f09d0.c new file mode 100644 index 00000000..ec4ed997 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f09d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f09d0 Unwind@1400f09d0 + * Pseudocode, not original source. */ + +void Unwind_1400f09d0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f09e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f09e0.c new file mode 100644 index 00000000..59faa3b9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f09e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f09e0 Unwind@1400f09e0 + * Pseudocode, not original source. */ + +void Unwind_1400f09e0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f09f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f09f0.c new file mode 100644 index 00000000..f3d177a6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f09f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f09f0 Unwind@1400f09f0 + * Pseudocode, not original source. */ + +void Unwind_1400f09f0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0a00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0a00.c new file mode 100644 index 00000000..d2e6311d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0a00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0a00 Unwind@1400f0a00 + * Pseudocode, not original source. */ + +void Unwind_1400f0a00(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0a10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0a10.c new file mode 100644 index 00000000..99a1afc2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0a10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0a10 Unwind@1400f0a10 + * Pseudocode, not original source. */ + +void Unwind_1400f0a10(undefined8 param_1,LPVOID param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_140037e00((longlong *)((longlong)param_2 + 0x60),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0a20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0a20.c new file mode 100644 index 00000000..1c51a6c4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0a20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0a20 Unwind@1400f0a20 + * Pseudocode, not original source. */ + +void Unwind_1400f0a20(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0a30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0a30.c new file mode 100644 index 00000000..45f0866c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0a30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0a30 Unwind@1400f0a30 + * Pseudocode, not original source. */ + +void Unwind_1400f0a30(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0a40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0a40.c new file mode 100644 index 00000000..1e9a972e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0a40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0a40 Unwind@1400f0a40 + * Pseudocode, not original source. */ + +void Unwind_1400f0a40(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x60),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0a50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0a50.c new file mode 100644 index 00000000..326b99d2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0a50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0a50 Unwind@1400f0a50 + * Pseudocode, not original source. */ + +void Unwind_1400f0a50(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x68),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0a60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0a60.c new file mode 100644 index 00000000..33078f2b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0a60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0a60 Unwind@1400f0a60 + * Pseudocode, not original source. */ + +void Unwind_1400f0a60(undefined8 param_1,longlong param_2) + +{ + FUN_140038400((undefined8 *)(param_2 + 0x78)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0a70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0a70.c new file mode 100644 index 00000000..b84463da --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0a70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0a70 Unwind@1400f0a70 + * Pseudocode, not original source. */ + +void Unwind_1400f0a70(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0a80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0a80.c new file mode 100644 index 00000000..3a77111c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0a80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0a80 Unwind@1400f0a80 + * Pseudocode, not original source. */ + +void Unwind_1400f0a80(undefined8 param_1,longlong param_2) + +{ + FUN_14000d9e0((undefined8 *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0a90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0a90.c new file mode 100644 index 00000000..ec955779 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0a90.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0a90 Catch_All@1400f0a90 + * Pseudocode, not original source. */ + +undefined8 Catch_All_1400f0a90(void) + +{ + return 0x1400510a3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0ab0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0ab0.c new file mode 100644 index 00000000..ad5086be --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0ab0.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0ab0 Catch_All@1400f0ab0 + * Pseudocode, not original source. */ + +undefined8 Catch_All_1400f0ab0(void) + +{ + return 0x140051293; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0ad0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0ad0.c new file mode 100644 index 00000000..e30c9f6d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0ad0.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0ad0 Unwind@1400f0ad0 + * Pseudocode, not original source. */ + +void Unwind_1400f0ad0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + if ((*(uint *)(param_2 + 0x58) & 1) != 0) { + *(uint *)(param_2 + 0x58) = *(uint *)(param_2 + 0x58) & 0xfffffffe; + thunk_FUN_140002190(*(longlong **)(param_2 + 0x40),param_2,param_3,param_4); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0b00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0b00.c new file mode 100644 index 00000000..505f9796 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0b00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0b00 Unwind@1400f0b00 + * Pseudocode, not original source. */ + +void Unwind_1400f0b00(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0b30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0b30.c new file mode 100644 index 00000000..9202b495 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0b30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0b30 Unwind@1400f0b30 + * Pseudocode, not original source. */ + +void Unwind_1400f0b30(undefined8 param_1,longlong param_2) + +{ + FUN_140051280((char *)(*(longlong *)(param_2 + 0x40) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0b40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0b40.c new file mode 100644 index 00000000..55c78223 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0b40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0b40 Unwind@1400f0b40 + * Pseudocode, not original source. */ + +void Unwind_1400f0b40(undefined8 param_1,longlong param_2) + +{ + FUN_14004b660((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0b50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0b50.c new file mode 100644 index 00000000..faec0172 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0b50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0b50 Unwind@1400f0b50 + * Pseudocode, not original source. */ + +void Unwind_1400f0b50(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x58),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0b60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0b60.c new file mode 100644 index 00000000..b547d6aa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0b60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0b60 Unwind@1400f0b60 + * Pseudocode, not original source. */ + +void Unwind_1400f0b60(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0b70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0b70.c new file mode 100644 index 00000000..8277464b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0b70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0b70 Unwind@1400f0b70 + * Pseudocode, not original source. */ + +void Unwind_1400f0b70(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x3c8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0b80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0b80.c new file mode 100644 index 00000000..0de16b87 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0b80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0b80 Unwind@1400f0b80 + * Pseudocode, not original source. */ + +void Unwind_1400f0b80(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x260),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0b90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0b90.c new file mode 100644 index 00000000..8404319d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0b90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0b90 Unwind@1400f0b90 + * Pseudocode, not original source. */ + +void Unwind_1400f0b90(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xb0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0ba0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0ba0.c new file mode 100644 index 00000000..fecdc90d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0ba0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0ba0 Unwind@1400f0ba0 + * Pseudocode, not original source. */ + +void Unwind_1400f0ba0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xd8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0bb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0bb0.c new file mode 100644 index 00000000..959e1a59 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0bb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0bb0 Unwind@1400f0bb0 + * Pseudocode, not original source. */ + +void Unwind_1400f0bb0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xb0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0bc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0bc0.c new file mode 100644 index 00000000..71ea594c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0bc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0bc0 Unwind@1400f0bc0 + * Pseudocode, not original source. */ + +void Unwind_1400f0bc0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xb0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0bd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0bd0.c new file mode 100644 index 00000000..37fecbc6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0bd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0bd0 Unwind@1400f0bd0 + * Pseudocode, not original source. */ + +void Unwind_1400f0bd0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x58),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0be0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0be0.c new file mode 100644 index 00000000..ba360775 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0be0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0be0 Unwind@1400f0be0 + * Pseudocode, not original source. */ + +void Unwind_1400f0be0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xb0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0bf0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0bf0.c new file mode 100644 index 00000000..cc160a12 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0bf0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0bf0 Unwind@1400f0bf0 + * Pseudocode, not original source. */ + +void Unwind_1400f0bf0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x50),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0c00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0c00.c new file mode 100644 index 00000000..a4737869 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0c00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0c00 Unwind@1400f0c00 + * Pseudocode, not original source. */ + +void Unwind_1400f0c00(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x268),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0c10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0c10.c new file mode 100644 index 00000000..4ecde4ca --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0c10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0c10 Unwind@1400f0c10 + * Pseudocode, not original source. */ + +void Unwind_1400f0c10(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xb0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0c20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0c20.c new file mode 100644 index 00000000..77a55c60 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0c20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0c20 Unwind@1400f0c20 + * Pseudocode, not original source. */ + +void Unwind_1400f0c20(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xd8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0c30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0c30.c new file mode 100644 index 00000000..23902202 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0c30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0c30 Unwind@1400f0c30 + * Pseudocode, not original source. */ + +void Unwind_1400f0c30(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xb0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0c40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0c40.c new file mode 100644 index 00000000..248225e7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0c40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0c40 Unwind@1400f0c40 + * Pseudocode, not original source. */ + +void Unwind_1400f0c40(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xb0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0c50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0c50.c new file mode 100644 index 00000000..1ad82a44 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0c50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0c50 Unwind@1400f0c50 + * Pseudocode, not original source. */ + +void Unwind_1400f0c50(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x58),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0c60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0c60.c new file mode 100644 index 00000000..577ae159 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0c60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0c60 Unwind@1400f0c60 + * Pseudocode, not original source. */ + +void Unwind_1400f0c60(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xb0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0c70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0c70.c new file mode 100644 index 00000000..57526d06 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0c70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0c70 Unwind@1400f0c70 + * Pseudocode, not original source. */ + +void Unwind_1400f0c70(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x3b8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0c80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0c80.c new file mode 100644 index 00000000..0cf9e11f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0c80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0c80 Unwind@1400f0c80 + * Pseudocode, not original source. */ + +void Unwind_1400f0c80(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 600),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0c90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0c90.c new file mode 100644 index 00000000..c8c3634b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0c90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0c90 Unwind@1400f0c90 + * Pseudocode, not original source. */ + +void Unwind_1400f0c90(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xb0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0ca0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0ca0.c new file mode 100644 index 00000000..c9ddde8b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0ca0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0ca0 Unwind@1400f0ca0 + * Pseudocode, not original source. */ + +void Unwind_1400f0ca0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xd8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0cb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0cb0.c new file mode 100644 index 00000000..5b758e33 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0cb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0cb0 Unwind@1400f0cb0 + * Pseudocode, not original source. */ + +void Unwind_1400f0cb0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xb0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0cc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0cc0.c new file mode 100644 index 00000000..d2725720 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0cc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0cc0 Unwind@1400f0cc0 + * Pseudocode, not original source. */ + +void Unwind_1400f0cc0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xb0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0cd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0cd0.c new file mode 100644 index 00000000..3032bcaa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0cd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0cd0 Unwind@1400f0cd0 + * Pseudocode, not original source. */ + +void Unwind_1400f0cd0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x3c8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0ce0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0ce0.c new file mode 100644 index 00000000..9a8c1107 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0ce0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0ce0 Unwind@1400f0ce0 + * Pseudocode, not original source. */ + +void Unwind_1400f0ce0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xb0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0cf0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0cf0.c new file mode 100644 index 00000000..904f5f76 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0cf0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0cf0 Unwind@1400f0cf0 + * Pseudocode, not original source. */ + +void Unwind_1400f0cf0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x3c8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0d00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0d00.c new file mode 100644 index 00000000..da2d4369 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0d00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0d00 Unwind@1400f0d00 + * Pseudocode, not original source. */ + +void Unwind_1400f0d00(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x270),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0d10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0d10.c new file mode 100644 index 00000000..c8bb9cda --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0d10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0d10 Unwind@1400f0d10 + * Pseudocode, not original source. */ + +void Unwind_1400f0d10(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xb0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0d20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0d20.c new file mode 100644 index 00000000..15cb4c0d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0d20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0d20 Unwind@1400f0d20 + * Pseudocode, not original source. */ + +void Unwind_1400f0d20(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xd8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0d30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0d30.c new file mode 100644 index 00000000..8378aaf8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0d30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0d30 Unwind@1400f0d30 + * Pseudocode, not original source. */ + +void Unwind_1400f0d30(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xb0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0d40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0d40.c new file mode 100644 index 00000000..f494d222 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0d40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0d40 Unwind@1400f0d40 + * Pseudocode, not original source. */ + +void Unwind_1400f0d40(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xb0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0d50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0d50.c new file mode 100644 index 00000000..f7868ca8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0d50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0d50 Unwind@1400f0d50 + * Pseudocode, not original source. */ + +void Unwind_1400f0d50(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x58),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0d60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0d60.c new file mode 100644 index 00000000..917379c5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0d60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0d60 Unwind@1400f0d60 + * Pseudocode, not original source. */ + +void Unwind_1400f0d60(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xb0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0d70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0d70.c new file mode 100644 index 00000000..a6c3da54 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0d70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0d70 Unwind@1400f0d70 + * Pseudocode, not original source. */ + +void Unwind_1400f0d70(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x3b8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0d80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0d80.c new file mode 100644 index 00000000..091f5199 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0d80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0d80 Unwind@1400f0d80 + * Pseudocode, not original source. */ + +void Unwind_1400f0d80(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x58),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0d90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0d90.c new file mode 100644 index 00000000..4a6fe9b9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0d90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0d90 Unwind@1400f0d90 + * Pseudocode, not original source. */ + +void Unwind_1400f0d90(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x88)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0da0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0da0.c new file mode 100644 index 00000000..2dced5ea --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0da0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0da0 Unwind@1400f0da0 + * Pseudocode, not original source. */ + +void Unwind_1400f0da0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x58),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0db0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0db0.c new file mode 100644 index 00000000..a4a88a0c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0db0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0db0 Unwind@1400f0db0 + * Pseudocode, not original source. */ + +void Unwind_1400f0db0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x88)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0dc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0dc0.c new file mode 100644 index 00000000..45575555 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0dc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0dc0 Unwind@1400f0dc0 + * Pseudocode, not original source. */ + +void Unwind_1400f0dc0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x58),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0dd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0dd0.c new file mode 100644 index 00000000..51ae80c0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0dd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0dd0 Unwind@1400f0dd0 + * Pseudocode, not original source. */ + +void Unwind_1400f0dd0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x88)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0de0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0de0.c new file mode 100644 index 00000000..757c5459 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0de0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0de0 Unwind@1400f0de0 + * Pseudocode, not original source. */ + +void Unwind_1400f0de0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x58),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0df0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0df0.c new file mode 100644 index 00000000..d1a8e75e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0df0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0df0 Unwind@1400f0df0 + * Pseudocode, not original source. */ + +void Unwind_1400f0df0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x88)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0e00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0e00.c new file mode 100644 index 00000000..9db1e45c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0e00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0e00 Unwind@1400f0e00 + * Pseudocode, not original source. */ + +void Unwind_1400f0e00(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x2d8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0e10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0e10.c new file mode 100644 index 00000000..a82a0113 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0e10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0e10 Unwind@1400f0e10 + * Pseudocode, not original source. */ + +void Unwind_1400f0e10(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x58),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0e20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0e20.c new file mode 100644 index 00000000..cd36cc30 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0e20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0e20 Unwind@1400f0e20 + * Pseudocode, not original source. */ + +void Unwind_1400f0e20(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0e30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0e30.c new file mode 100644 index 00000000..7948c870 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0e30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0e30 Unwind@1400f0e30 + * Pseudocode, not original source. */ + +void Unwind_1400f0e30(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x3b8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0e40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0e40.c new file mode 100644 index 00000000..9f7a9732 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0e40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0e40 Unwind@1400f0e40 + * Pseudocode, not original source. */ + +void Unwind_1400f0e40(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x2e8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0e50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0e50.c new file mode 100644 index 00000000..e2d935c1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0e50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0e50 Unwind@1400f0e50 + * Pseudocode, not original source. */ + +void Unwind_1400f0e50(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x3c8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0e60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0e60.c new file mode 100644 index 00000000..8a91d1b7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0e60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0e60 Unwind@1400f0e60 + * Pseudocode, not original source. */ + +void Unwind_1400f0e60(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x3b8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0e70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0e70.c new file mode 100644 index 00000000..9a3719f1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0e70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0e70 Unwind@1400f0e70 + * Pseudocode, not original source. */ + +void Unwind_1400f0e70(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x2e0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0e80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0e80.c new file mode 100644 index 00000000..513df2fa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0e80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0e80 Unwind@1400f0e80 + * Pseudocode, not original source. */ + +void Unwind_1400f0e80(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x3c8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0e90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0e90.c new file mode 100644 index 00000000..88b0100e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0e90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0e90 Unwind@1400f0e90 + * Pseudocode, not original source. */ + +void Unwind_1400f0e90(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x50),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0ea0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0ea0.c new file mode 100644 index 00000000..5b0e7f60 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0ea0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0ea0 Unwind@1400f0ea0 + * Pseudocode, not original source. */ + +void Unwind_1400f0ea0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x3b8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0eb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0eb0.c new file mode 100644 index 00000000..05b5441a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0eb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0eb0 Unwind@1400f0eb0 + * Pseudocode, not original source. */ + +void Unwind_1400f0eb0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x298),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0ec0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0ec0.c new file mode 100644 index 00000000..e8ac4669 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0ec0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0ec0 Unwind@1400f0ec0 + * Pseudocode, not original source. */ + +void Unwind_1400f0ec0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x58),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0ed0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0ed0.c new file mode 100644 index 00000000..99e4ba36 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0ed0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0ed0 Unwind@1400f0ed0 + * Pseudocode, not original source. */ + +void Unwind_1400f0ed0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x50),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0ee0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0ee0.c new file mode 100644 index 00000000..266cce1f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0ee0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0ee0 Unwind@1400f0ee0 + * Pseudocode, not original source. */ + +void Unwind_1400f0ee0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x3c8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0ef0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0ef0.c new file mode 100644 index 00000000..537a2cb4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0ef0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0ef0 Unwind@1400f0ef0 + * Pseudocode, not original source. */ + +void Unwind_1400f0ef0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x2a8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0f00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0f00.c new file mode 100644 index 00000000..06323c7f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0f00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0f00 Unwind@1400f0f00 + * Pseudocode, not original source. */ + +void Unwind_1400f0f00(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x58),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0f10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0f10.c new file mode 100644 index 00000000..433ff7cb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0f10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0f10 Unwind@1400f0f10 + * Pseudocode, not original source. */ + +void Unwind_1400f0f10(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x3c8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0f20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0f20.c new file mode 100644 index 00000000..fe1b9ad5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0f20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0f20 Unwind@1400f0f20 + * Pseudocode, not original source. */ + +void Unwind_1400f0f20(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x3b8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0f30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0f30.c new file mode 100644 index 00000000..45e82368 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0f30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0f30 Unwind@1400f0f30 + * Pseudocode, not original source. */ + +void Unwind_1400f0f30(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x2b8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0f40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0f40.c new file mode 100644 index 00000000..32c96917 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0f40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0f40 Unwind@1400f0f40 + * Pseudocode, not original source. */ + +void Unwind_1400f0f40(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x58),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0f50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0f50.c new file mode 100644 index 00000000..c3e4f117 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0f50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0f50 Unwind@1400f0f50 + * Pseudocode, not original source. */ + +void Unwind_1400f0f50(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x3c8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0f60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0f60.c new file mode 100644 index 00000000..f0a59855 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0f60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0f60 Unwind@1400f0f60 + * Pseudocode, not original source. */ + +void Unwind_1400f0f60(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x2c8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0f70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0f70.c new file mode 100644 index 00000000..ea926cea --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0f70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0f70 Unwind@1400f0f70 + * Pseudocode, not original source. */ + +void Unwind_1400f0f70(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x58),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0f80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0f80.c new file mode 100644 index 00000000..e2d5aca3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0f80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0f80 Unwind@1400f0f80 + * Pseudocode, not original source. */ + +void Unwind_1400f0f80(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x3c8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0f90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0f90.c new file mode 100644 index 00000000..2add0ddd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0f90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0f90 Unwind@1400f0f90 + * Pseudocode, not original source. */ + +void Unwind_1400f0f90(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x2d0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0fa0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0fa0.c new file mode 100644 index 00000000..f1cfe22b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0fa0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0fa0 Unwind@1400f0fa0 + * Pseudocode, not original source. */ + +void Unwind_1400f0fa0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x58),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0fb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0fb0.c new file mode 100644 index 00000000..01a95c93 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0fb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0fb0 Unwind@1400f0fb0 + * Pseudocode, not original source. */ + +void Unwind_1400f0fb0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x3c8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0fc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0fc0.c new file mode 100644 index 00000000..62a561a6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0fc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0fc0 Unwind@1400f0fc0 + * Pseudocode, not original source. */ + +void Unwind_1400f0fc0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x3b8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0fd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0fd0.c new file mode 100644 index 00000000..037fea32 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0fd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0fd0 Unwind@1400f0fd0 + * Pseudocode, not original source. */ + +void Unwind_1400f0fd0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x290),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0fe0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0fe0.c new file mode 100644 index 00000000..91c7569c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0fe0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0fe0 Unwind@1400f0fe0 + * Pseudocode, not original source. */ + +void Unwind_1400f0fe0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x58),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f0ff0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f0ff0.c new file mode 100644 index 00000000..f39cd19f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f0ff0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f0ff0 Unwind@1400f0ff0 + * Pseudocode, not original source. */ + +void Unwind_1400f0ff0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x3b8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1000.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1000.c new file mode 100644 index 00000000..daf1e7fa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1000.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1000 Unwind@1400f1000 + * Pseudocode, not original source. */ + +void Unwind_1400f1000(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x2c0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1010.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1010.c new file mode 100644 index 00000000..cf3581b3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1010.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1010 Unwind@1400f1010 + * Pseudocode, not original source. */ + +void Unwind_1400f1010(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x58),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1020.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1020.c new file mode 100644 index 00000000..b25266ed --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1020.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1020 Unwind@1400f1020 + * Pseudocode, not original source. */ + +void Unwind_1400f1020(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x50),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1030.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1030.c new file mode 100644 index 00000000..d9e813b6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1030.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1030 Unwind@1400f1030 + * Pseudocode, not original source. */ + +void Unwind_1400f1030(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x2a0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1040.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1040.c new file mode 100644 index 00000000..05992f4e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1040.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1040 Unwind@1400f1040 + * Pseudocode, not original source. */ + +void Unwind_1400f1040(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x58),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1050.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1050.c new file mode 100644 index 00000000..415d4c53 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1050.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1050 Unwind@1400f1050 + * Pseudocode, not original source. */ + +void Unwind_1400f1050(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x3b8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1060.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1060.c new file mode 100644 index 00000000..38785adc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1060.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1060 Unwind@1400f1060 + * Pseudocode, not original source. */ + +void Unwind_1400f1060(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x278),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1070.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1070.c new file mode 100644 index 00000000..44a6c6b7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1070.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1070 Unwind@1400f1070 + * Pseudocode, not original source. */ + +void Unwind_1400f1070(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x3c8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1080.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1080.c new file mode 100644 index 00000000..fd253b3c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1080.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1080 Unwind@1400f1080 + * Pseudocode, not original source. */ + +void Unwind_1400f1080(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x3c8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1090.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1090.c new file mode 100644 index 00000000..ad379c68 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1090.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1090 Unwind@1400f1090 + * Pseudocode, not original source. */ + +void Unwind_1400f1090(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x2b0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f10a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f10a0.c new file mode 100644 index 00000000..871dd5b1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f10a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f10a0 Unwind@1400f10a0 + * Pseudocode, not original source. */ + +void Unwind_1400f10a0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x58),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f10b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f10b0.c new file mode 100644 index 00000000..709adf16 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f10b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f10b0 Unwind@1400f10b0 + * Pseudocode, not original source. */ + +void Unwind_1400f10b0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0xc0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f10c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f10c0.c new file mode 100644 index 00000000..113dc793 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f10c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f10c0 Unwind@1400f10c0 + * Pseudocode, not original source. */ + +void Unwind_1400f10c0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x280),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f10d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f10d0.c new file mode 100644 index 00000000..bb5f356a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f10d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f10d0 Unwind@1400f10d0 + * Pseudocode, not original source. */ + +void Unwind_1400f10d0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x58),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f10e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f10e0.c new file mode 100644 index 00000000..c69bd99e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f10e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f10e0 Unwind@1400f10e0 + * Pseudocode, not original source. */ + +void Unwind_1400f10e0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x3c8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f10f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f10f0.c new file mode 100644 index 00000000..0dbff933 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f10f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f10f0 Unwind@1400f10f0 + * Pseudocode, not original source. */ + +void Unwind_1400f10f0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x288),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1100.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1100.c new file mode 100644 index 00000000..1911368b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1100.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1100 Unwind@1400f1100 + * Pseudocode, not original source. */ + +void Unwind_1400f1100(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x58),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1110.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1110.c new file mode 100644 index 00000000..47e17d7c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1110.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1110 Unwind@1400f1110 + * Pseudocode, not original source. */ + +void Unwind_1400f1110(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1120.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1120.c new file mode 100644 index 00000000..374643fe --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1120.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1120 Unwind@1400f1120 + * Pseudocode, not original source. */ + +void Unwind_1400f1120(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x60),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1130.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1130.c new file mode 100644 index 00000000..9fbc8d9e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1130.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1130 Unwind@1400f1130 + * Pseudocode, not original source. */ + +void Unwind_1400f1130(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1140.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1140.c new file mode 100644 index 00000000..b5c52456 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1140.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1140 Unwind@1400f1140 + * Pseudocode, not original source. */ + +void Unwind_1400f1140(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1150.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1150.c new file mode 100644 index 00000000..1a71264f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1150.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1150 Unwind@1400f1150 + * Pseudocode, not original source. */ + +void Unwind_1400f1150(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x160),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1160.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1160.c new file mode 100644 index 00000000..6cc7a05d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1160.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1160 Unwind@1400f1160 + * Pseudocode, not original source. */ + +void Unwind_1400f1160(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x50),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1170.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1170.c new file mode 100644 index 00000000..a9f4ec8f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1170.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1170 Unwind@1400f1170 + * Pseudocode, not original source. */ + +void Unwind_1400f1170(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xd0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1180.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1180.c new file mode 100644 index 00000000..2b62220c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1180.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1180 Unwind@1400f1180 + * Pseudocode, not original source. */ + +void Unwind_1400f1180(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xf0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1190.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1190.c new file mode 100644 index 00000000..311b9e35 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1190.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1190 Unwind@1400f1190 + * Pseudocode, not original source. */ + +void Unwind_1400f1190(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x178),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f11a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f11a0.c new file mode 100644 index 00000000..898106e1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f11a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f11a0 Unwind@1400f11a0 + * Pseudocode, not original source. */ + +void Unwind_1400f11a0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x48),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f11b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f11b0.c new file mode 100644 index 00000000..f8941977 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f11b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f11b0 Unwind@1400f11b0 + * Pseudocode, not original source. */ + +void Unwind_1400f11b0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x110)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f11c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f11c0.c new file mode 100644 index 00000000..8095ab70 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f11c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f11c0 Unwind@1400f11c0 + * Pseudocode, not original source. */ + +void Unwind_1400f11c0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f11d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f11d0.c new file mode 100644 index 00000000..04c3346f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f11d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f11d0 Unwind@1400f11d0 + * Pseudocode, not original source. */ + +void Unwind_1400f11d0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xe0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f11e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f11e0.c new file mode 100644 index 00000000..70dd6b4b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f11e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f11e0 Unwind@1400f11e0 + * Pseudocode, not original source. */ + +void Unwind_1400f11e0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x100)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f11f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f11f0.c new file mode 100644 index 00000000..e3b82364 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f11f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f11f0 Unwind@1400f11f0 + * Pseudocode, not original source. */ + +void Unwind_1400f11f0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1200.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1200.c new file mode 100644 index 00000000..0ccf4fd6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1200.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1200 Unwind@1400f1200 + * Pseudocode, not original source. */ + +void Unwind_1400f1200(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x90)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1210.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1210.c new file mode 100644 index 00000000..91c5a76e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1210.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1210 Unwind@1400f1210 + * Pseudocode, not original source. */ + +void Unwind_1400f1210(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1220.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1220.c new file mode 100644 index 00000000..bf5cf7f4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1220.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1220 Unwind@1400f1220 + * Pseudocode, not original source. */ + +void Unwind_1400f1220(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x20); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1230.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1230.c new file mode 100644 index 00000000..1532f664 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1230.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1230 Unwind@1400f1230 + * Pseudocode, not original source. */ + +void Unwind_1400f1230(undefined8 param_1,longlong param_2) + +{ + FUN_14004de40(param_2 + 0x20); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1240.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1240.c new file mode 100644 index 00000000..a3e587f9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1240.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1240 Unwind@1400f1240 + * Pseudocode, not original source. */ + +void Unwind_1400f1240(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0xd80)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1260.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1260.c new file mode 100644 index 00000000..a2bb6341 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1260.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1260 Unwind@1400f1260 + * Pseudocode, not original source. */ + +void Unwind_1400f1260(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0x100,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1270.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1270.c new file mode 100644 index 00000000..da9e0ffa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1270.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1270 Unwind@1400f1270 + * Pseudocode, not original source. */ + +void Unwind_1400f1270(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0xd80)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1290.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1290.c new file mode 100644 index 00000000..9398a271 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1290.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1290 Unwind@1400f1290 + * Pseudocode, not original source. */ + +void Unwind_1400f1290(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x58) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f12a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f12a0.c new file mode 100644 index 00000000..5d83d79b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f12a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f12a0 Unwind@1400f12a0 + * Pseudocode, not original source. */ + +void Unwind_1400f12a0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x20); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f12b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f12b0.c new file mode 100644 index 00000000..af8cf983 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f12b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f12b0 Unwind@1400f12b0 + * Pseudocode, not original source. */ + +void Unwind_1400f12b0(undefined8 param_1,longlong param_2) + +{ + FUN_14004de40(param_2 + 0x20); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f12c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f12c0.c new file mode 100644 index 00000000..f87d5fe2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f12c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f12c0 Unwind@1400f12c0 + * Pseudocode, not original source. */ + +void Unwind_1400f12c0(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0xd80)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f12e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f12e0.c new file mode 100644 index 00000000..e78af540 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f12e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f12e0 Unwind@1400f12e0 + * Pseudocode, not original source. */ + +void Unwind_1400f12e0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0x100,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f12f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f12f0.c new file mode 100644 index 00000000..52e6b94d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f12f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f12f0 Unwind@1400f12f0 + * Pseudocode, not original source. */ + +void Unwind_1400f12f0(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0xd80)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1310.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1310.c new file mode 100644 index 00000000..d6af6ac9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1310.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1310 Unwind@1400f1310 + * Pseudocode, not original source. */ + +void Unwind_1400f1310(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x58) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1320.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1320.c new file mode 100644 index 00000000..ebce3cc0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1320.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1320 Unwind@1400f1320 + * Pseudocode, not original source. */ + +void Unwind_1400f1320(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140006e80((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1330.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1330.c new file mode 100644 index 00000000..7623e79f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1330.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1330 Unwind@1400f1330 + * Pseudocode, not original source. */ + +void Unwind_1400f1330(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140006e80((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1340.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1340.c new file mode 100644 index 00000000..e6f0a586 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1340.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1340 Unwind@1400f1340 + * Pseudocode, not original source. */ + +void Unwind_1400f1340(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1350.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1350.c new file mode 100644 index 00000000..9813e421 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1350.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1350 Unwind@1400f1350 + * Pseudocode, not original source. */ + +void Unwind_1400f1350(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x20),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1360.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1360.c new file mode 100644 index 00000000..250c34e9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1360.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1360 Unwind@1400f1360 + * Pseudocode, not original source. */ + +void Unwind_1400f1360(undefined8 param_1,longlong param_2) + +{ + FUN_14003d260((undefined8 *)(param_2 + 0x70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1370.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1370.c new file mode 100644 index 00000000..8105877c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1370.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1370 Unwind@1400f1370 + * Pseudocode, not original source. */ + +void Unwind_1400f1370(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1380.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1380.c new file mode 100644 index 00000000..c2dbbf2d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1380.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1380 Unwind@1400f1380 + * Pseudocode, not original source. */ + +void Unwind_1400f1380(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1390.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1390.c new file mode 100644 index 00000000..f238667e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1390.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1390 Unwind@1400f1390 + * Pseudocode, not original source. */ + +void Unwind_1400f1390(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f13a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f13a0.c new file mode 100644 index 00000000..96f7dcd2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f13a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f13a0 Unwind@1400f13a0 + * Pseudocode, not original source. */ + +void Unwind_1400f13a0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f13b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f13b0.c new file mode 100644 index 00000000..53bf28ef --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f13b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f13b0 Unwind@1400f13b0 + * Pseudocode, not original source. */ + +void Unwind_1400f13b0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f13c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f13c0.c new file mode 100644 index 00000000..77d117b6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f13c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f13c0 Unwind@1400f13c0 + * Pseudocode, not original source. */ + +void Unwind_1400f13c0(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0xd50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f13e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f13e0.c new file mode 100644 index 00000000..ec9ffd8a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f13e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f13e0 Unwind@1400f13e0 + * Pseudocode, not original source. */ + +void Unwind_1400f13e0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0xd0,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f13f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f13f0.c new file mode 100644 index 00000000..f5999d22 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f13f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f13f0 Unwind@1400f13f0 + * Pseudocode, not original source. */ + +void Unwind_1400f13f0(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0xd50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1410.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1410.c new file mode 100644 index 00000000..7b613269 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1410.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1410 Unwind@1400f1410 + * Pseudocode, not original source. */ + +void Unwind_1400f1410(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x20) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1420.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1420.c new file mode 100644 index 00000000..7ec102c7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1420.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1420 Catch@1400f1420 + * Pseudocode, not original source. */ + +undefined * Catch_1400f1420(undefined8 param_1,longlong param_2) + +{ + LPCWSTR lpOutputString; + + lpOutputString = (LPCWSTR)(**(code **)(**(longlong **)(param_2 + 0x70) + 8))(); + OutputDebugStringW(lpOutputString); + uRam0000000000000000 = 1; + return &DAT_14005a043; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1460.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1460.c new file mode 100644 index 00000000..a43d6148 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1460.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1460 Catch@1400f1460 + * Pseudocode, not original source. */ + +undefined * Catch_1400f1460(undefined8 param_1,longlong param_2) + +{ + LPCWSTR lpOutputString; + + lpOutputString = (LPCWSTR)(**(code **)(**(longlong **)(param_2 + 0x68) + 8))(); + OutputDebugStringW(lpOutputString); + uRam0000000000000000 = 1; + return &DAT_140059f87; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f14a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f14a0.c new file mode 100644 index 00000000..5c00c058 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f14a0.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f14a0 Catch@1400f14a0 + * Pseudocode, not original source. */ + +undefined * Catch_1400f14a0(undefined8 param_1,longlong param_2) + +{ + LPCWSTR lpOutputString; + + lpOutputString = (LPCWSTR)(**(code **)(**(longlong **)(param_2 + 0x40) + 8))(); + OutputDebugStringW(lpOutputString); + uRam0000000000000000 = 1; + return &DAT_14005a512; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f14e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f14e0.c new file mode 100644 index 00000000..2ff1055e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f14e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f14e0 Unwind@1400f14e0 + * Pseudocode, not original source. */ + +void Unwind_1400f14e0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x20); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f14f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f14f0.c new file mode 100644 index 00000000..b1f6ae4c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f14f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f14f0 Unwind@1400f14f0 + * Pseudocode, not original source. */ + +void Unwind_1400f14f0(undefined8 param_1,longlong param_2) + +{ + FUN_14004de40(param_2 + 0x20); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1500.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1500.c new file mode 100644 index 00000000..981dacdc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1500.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1500 Unwind@1400f1500 + * Pseudocode, not original source. */ + +void Unwind_1400f1500(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xb0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1510.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1510.c new file mode 100644 index 00000000..71fa152f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1510.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1510 Unwind@1400f1510 + * Pseudocode, not original source. */ + +void Unwind_1400f1510(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0xd40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1530.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1530.c new file mode 100644 index 00000000..56c5ad81 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1530.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1530 Unwind@1400f1530 + * Pseudocode, not original source. */ + +void Unwind_1400f1530(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0xc0,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1540.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1540.c new file mode 100644 index 00000000..0dc8ed2b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1540.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1540 Unwind@1400f1540 + * Pseudocode, not original source. */ + +void Unwind_1400f1540(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0xd40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1560.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1560.c new file mode 100644 index 00000000..3310d976 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1560.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1560 Unwind@1400f1560 + * Pseudocode, not original source. */ + +void Unwind_1400f1560(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0xa0) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1570.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1570.c new file mode 100644 index 00000000..c0980a16 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1570.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1570 Unwind@1400f1570 + * Pseudocode, not original source. */ + +void Unwind_1400f1570(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x90),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1580.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1580.c new file mode 100644 index 00000000..551dd9e7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1580.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1580 Unwind@1400f1580 + * Pseudocode, not original source. */ + +void Unwind_1400f1580(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1590.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1590.c new file mode 100644 index 00000000..2e06bc5f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1590.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1590 Unwind@1400f1590 + * Pseudocode, not original source. */ + +void Unwind_1400f1590(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x90),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f15a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f15a0.c new file mode 100644 index 00000000..8a3a23fe --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f15a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f15a0 Unwind@1400f15a0 + * Pseudocode, not original source. */ + +void Unwind_1400f15a0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f15b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f15b0.c new file mode 100644 index 00000000..9155cc84 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f15b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f15b0 Unwind@1400f15b0 + * Pseudocode, not original source. */ + +void Unwind_1400f15b0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x90),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f15c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f15c0.c new file mode 100644 index 00000000..b18db7c6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f15c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f15c0 Unwind@1400f15c0 + * Pseudocode, not original source. */ + +void Unwind_1400f15c0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f15d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f15d0.c new file mode 100644 index 00000000..75d70518 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f15d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f15d0 Unwind@1400f15d0 + * Pseudocode, not original source. */ + +void Unwind_1400f15d0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x90),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f15e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f15e0.c new file mode 100644 index 00000000..f954e120 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f15e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f15e0 Unwind@1400f15e0 + * Pseudocode, not original source. */ + +void Unwind_1400f15e0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f15f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f15f0.c new file mode 100644 index 00000000..e785ab43 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f15f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f15f0 Unwind@1400f15f0 + * Pseudocode, not original source. */ + +void Unwind_1400f15f0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x90),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1600.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1600.c new file mode 100644 index 00000000..a1df231d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1600.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1600 Unwind@1400f1600 + * Pseudocode, not original source. */ + +void Unwind_1400f1600(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1610.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1610.c new file mode 100644 index 00000000..e99a5971 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1610.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1610 Unwind@1400f1610 + * Pseudocode, not original source. */ + +void Unwind_1400f1610(undefined8 param_1,longlong param_2) + +{ + /* WARNING: Could not recover jumptable at 0x0001400f1617. Too many branches */ + /* WARNING: Treating indirect jump as call */ + std::_Container_base12::~_Container_base12(*(_Container_base12 **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1620.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1620.c new file mode 100644 index 00000000..49d2f667 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1620.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1620 Unwind@1400f1620 + * Pseudocode, not original source. */ + +void Unwind_1400f1620(undefined8 param_1,longlong param_2) + +{ + if ((*(uint *)(param_2 + 0x88) & 1) != 0) { + *(uint *)(param_2 + 0x88) = *(uint *)(param_2 + 0x88) & 0xfffffffe; + FUN_14005b0a0(*(longlong **)(param_2 + 0x80)); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1650.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1650.c new file mode 100644 index 00000000..b60fa3e1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1650.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1650 Unwind@1400f1650 + * Pseudocode, not original source. */ + +void Unwind_1400f1650(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x60); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1660.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1660.c new file mode 100644 index 00000000..9f8d8cd3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1660.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1660 Unwind@1400f1660 + * Pseudocode, not original source. */ + +void Unwind_1400f1660(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0xd0) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1670.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1670.c new file mode 100644 index 00000000..ec88d8c7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1670.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1670 Unwind@1400f1670 + * Pseudocode, not original source. */ + +void Unwind_1400f1670(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x60); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1680.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1680.c new file mode 100644 index 00000000..c5975dce --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1680.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1680 Unwind@1400f1680 + * Pseudocode, not original source. */ + +void Unwind_1400f1680(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0xe0) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1690.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1690.c new file mode 100644 index 00000000..8b7dedb6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1690.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1690 Unwind@1400f1690 + * Pseudocode, not original source. */ + +void Unwind_1400f1690(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f16a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f16a0.c new file mode 100644 index 00000000..f0263855 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f16a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f16a0 Unwind@1400f16a0 + * Pseudocode, not original source. */ + +void Unwind_1400f16a0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x70),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f16b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f16b0.c new file mode 100644 index 00000000..4f150915 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f16b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f16b0 Unwind@1400f16b0 + * Pseudocode, not original source. */ + +void Unwind_1400f16b0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f16c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f16c0.c new file mode 100644 index 00000000..cb8b3a11 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f16c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f16c0 Unwind@1400f16c0 + * Pseudocode, not original source. */ + +void Unwind_1400f16c0(undefined8 param_1,longlong param_2) + +{ + FUN_1400bfcf0((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f16d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f16d0.c new file mode 100644 index 00000000..2785c82e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f16d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f16d0 Unwind@1400f16d0 + * Pseudocode, not original source. */ + +void Unwind_1400f16d0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x58),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f16e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f16e0.c new file mode 100644 index 00000000..8dfcea83 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f16e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f16e0 Unwind@1400f16e0 + * Pseudocode, not original source. */ + +void Unwind_1400f16e0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x60),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f16f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f16f0.c new file mode 100644 index 00000000..b284ea6d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f16f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f16f0 Unwind@1400f16f0 + * Pseudocode, not original source. */ + +void Unwind_1400f16f0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1700.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1700.c new file mode 100644 index 00000000..dd204251 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1700.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1700 Unwind@1400f1700 + * Pseudocode, not original source. */ + +void Unwind_1400f1700(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1710.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1710.c new file mode 100644 index 00000000..e3fbc456 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1710.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1710 Unwind@1400f1710 + * Pseudocode, not original source. */ + +void Unwind_1400f1710(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x20); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1720.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1720.c new file mode 100644 index 00000000..24540188 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1720.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1720 Unwind@1400f1720 + * Pseudocode, not original source. */ + +void Unwind_1400f1720(undefined8 param_1,longlong param_2) + +{ + FUN_14004de40(param_2 + 0x20); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1730.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1730.c new file mode 100644 index 00000000..2249b80e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1730.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1730 Unwind@1400f1730 + * Pseudocode, not original source. */ + +void Unwind_1400f1730(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1740.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1740.c new file mode 100644 index 00000000..0b9f943a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1740.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1740 Unwind@1400f1740 + * Pseudocode, not original source. */ + +void Unwind_1400f1740(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0xd40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1760.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1760.c new file mode 100644 index 00000000..6f85e2d5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1760.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1760 Unwind@1400f1760 + * Pseudocode, not original source. */ + +void Unwind_1400f1760(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0xc0,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1770.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1770.c new file mode 100644 index 00000000..8362e3b1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1770.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1770 Unwind@1400f1770 + * Pseudocode, not original source. */ + +void Unwind_1400f1770(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0xd40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1790.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1790.c new file mode 100644 index 00000000..5b567bfe --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1790.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1790 Unwind@1400f1790 + * Pseudocode, not original source. */ + +void Unwind_1400f1790(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x48) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f17a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f17a0.c new file mode 100644 index 00000000..9b98980f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f17a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f17a0 Unwind@1400f17a0 + * Pseudocode, not original source. */ + +void Unwind_1400f17a0(undefined8 param_1,longlong param_2) + +{ + operator_delete(*(void **)(param_2 + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f17b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f17b0.c new file mode 100644 index 00000000..74629d1a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f17b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f17b0 Unwind@1400f17b0 + * Pseudocode, not original source. */ + +void Unwind_1400f17b0(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f17d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f17d0.c new file mode 100644 index 00000000..ff3a6c49 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f17d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f17d0 Unwind@1400f17d0 + * Pseudocode, not original source. */ + +void Unwind_1400f17d0(undefined8 param_1,longlong param_2,undefined8 param_3,longlong param_4) + +{ + FUN_140051170((longlong *)(param_2 + 0x68),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f17e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f17e0.c new file mode 100644 index 00000000..42c534ea --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f17e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f17e0 Unwind@1400f17e0 + * Pseudocode, not original source. */ + +void Unwind_1400f17e0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f17f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f17f0.c new file mode 100644 index 00000000..d6664041 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f17f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f17f0 Unwind@1400f17f0 + * Pseudocode, not original source. */ + +void Unwind_1400f17f0(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1810.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1810.c new file mode 100644 index 00000000..dabfbe0f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1810.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1810 Unwind@1400f1810 + * Pseudocode, not original source. */ + +void Unwind_1400f1810(undefined8 param_1,longlong param_2) + +{ + /* WARNING: Could not recover jumptable at 0x0001400f1817. Too many branches */ + /* WARNING: Treating indirect jump as call */ + std::_Container_base12::~_Container_base12((_Container_base12 *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1820.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1820.c new file mode 100644 index 00000000..3a5ab7a5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1820.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1820 Unwind@1400f1820 + * Pseudocode, not original source. */ + +void Unwind_1400f1820(undefined8 param_1,longlong param_2) + +{ + FUN_14005b380((_Container_base12 *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1830.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1830.c new file mode 100644 index 00000000..7048949c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1830.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1830 Unwind@1400f1830 + * Pseudocode, not original source. */ + +void Unwind_1400f1830(undefined8 param_1,longlong param_2) + +{ + /* WARNING: Could not recover jumptable at 0x0001400f1837. Too many branches */ + /* WARNING: Treating indirect jump as call */ + std::_Container_base12::~_Container_base12((_Container_base12 *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1840.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1840.c new file mode 100644 index 00000000..b468fa87 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1840.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1840 Unwind@1400f1840 + * Pseudocode, not original source. */ + +void Unwind_1400f1840(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x110)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1850.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1850.c new file mode 100644 index 00000000..8d242522 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1850.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1850 Unwind@1400f1850 + * Pseudocode, not original source. */ + +void Unwind_1400f1850(undefined8 param_1,longlong param_2) + +{ + FUN_1400510b0((longlong *)(param_2 + 0x160)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1860.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1860.c new file mode 100644 index 00000000..066a327e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1860.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1860 Unwind@1400f1860 + * Pseudocode, not original source. */ + +void Unwind_1400f1860(undefined8 param_1,longlong param_2) + +{ + FUN_1400510b0((longlong *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1870.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1870.c new file mode 100644 index 00000000..18046aa4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1870.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1870 Unwind@1400f1870 + * Pseudocode, not original source. */ + +void Unwind_1400f1870(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x58),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1880.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1880.c new file mode 100644 index 00000000..7f61fd63 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1880.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1880 Unwind@1400f1880 + * Pseudocode, not original source. */ + +void Unwind_1400f1880(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x78),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1890.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1890.c new file mode 100644 index 00000000..1d8e0ea0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1890.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1890 Unwind@1400f1890 + * Pseudocode, not original source. */ + +void Unwind_1400f1890(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x68),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f18a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f18a0.c new file mode 100644 index 00000000..faac8f88 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f18a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f18a0 Unwind@1400f18a0 + * Pseudocode, not original source. */ + +void Unwind_1400f18a0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x70),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f18b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f18b0.c new file mode 100644 index 00000000..9c6e96a8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f18b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f18b0 Unwind@1400f18b0 + * Pseudocode, not original source. */ + +void Unwind_1400f18b0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x60),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f18c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f18c0.c new file mode 100644 index 00000000..4bddc023 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f18c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f18c0 Unwind@1400f18c0 + * Pseudocode, not original source. */ + +void Unwind_1400f18c0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xc0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f18d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f18d0.c new file mode 100644 index 00000000..0fb954b8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f18d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f18d0 Unwind@1400f18d0 + * Pseudocode, not original source. */ + +void Unwind_1400f18d0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xf0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f18e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f18e0.c new file mode 100644 index 00000000..e4761c8a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f18e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f18e0 Unwind@1400f18e0 + * Pseudocode, not original source. */ + +void Unwind_1400f18e0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xd0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f18f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f18f0.c new file mode 100644 index 00000000..14ba90bd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f18f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f18f0 Unwind@1400f18f0 + * Pseudocode, not original source. */ + +void Unwind_1400f18f0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xe0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1900.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1900.c new file mode 100644 index 00000000..79df585b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1900.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1900 Unwind@1400f1900 + * Pseudocode, not original source. */ + +void Unwind_1400f1900(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x100)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1910.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1910.c new file mode 100644 index 00000000..e069098e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1910.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1910 Unwind@1400f1910 + * Pseudocode, not original source. */ + +void Unwind_1400f1910(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1920.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1920.c new file mode 100644 index 00000000..c439363b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1920.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1920 Unwind@1400f1920 + * Pseudocode, not original source. */ + +void Unwind_1400f1920(undefined8 param_1,longlong param_2) + +{ + FUN_1400510b0((longlong *)(param_2 + 0xb0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1930.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1930.c new file mode 100644 index 00000000..d3ce15d2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1930.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1930 Unwind@1400f1930 + * Pseudocode, not original source. */ + +void Unwind_1400f1930(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 200),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1940.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1940.c new file mode 100644 index 00000000..524cf378 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1940.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1940 Unwind@1400f1940 + * Pseudocode, not original source. */ + +void Unwind_1400f1940(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1950.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1950.c new file mode 100644 index 00000000..abaf6848 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1950.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1950 Unwind@1400f1950 + * Pseudocode, not original source. */ + +void Unwind_1400f1950(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1960.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1960.c new file mode 100644 index 00000000..0165b25c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1960.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1960 Unwind@1400f1960 + * Pseudocode, not original source. */ + +void Unwind_1400f1960(undefined8 param_1,longlong param_2) + +{ + FUN_1400510b0((longlong *)(param_2 + 0xa0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1970.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1970.c new file mode 100644 index 00000000..fd2347fd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1970.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1970 Unwind@1400f1970 + * Pseudocode, not original source. */ + +void Unwind_1400f1970(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0xb8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1980.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1980.c new file mode 100644 index 00000000..7761bcd4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1980.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1980 Unwind@1400f1980 + * Pseudocode, not original source. */ + +void Unwind_1400f1980(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1990.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1990.c new file mode 100644 index 00000000..e0a71b3e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1990.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1990 Unwind@1400f1990 + * Pseudocode, not original source. */ + +void Unwind_1400f1990(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(*(longlong *)(param_2 + 0x70) + 0x120)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f19b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f19b0.c new file mode 100644 index 00000000..5479c37b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f19b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f19b0 Unwind@1400f19b0 + * Pseudocode, not original source. */ + +void Unwind_1400f19b0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280(*(longlong **)(param_2 + 0x78),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f19c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f19c0.c new file mode 100644 index 00000000..51db75ca --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f19c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f19c0 Unwind@1400f19c0 + * Pseudocode, not original source. */ + +void Unwind_1400f19c0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x70),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f19d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f19d0.c new file mode 100644 index 00000000..91bf9376 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f19d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f19d0 Unwind@1400f19d0 + * Pseudocode, not original source. */ + +void Unwind_1400f19d0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x80),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f19e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f19e0.c new file mode 100644 index 00000000..7ecf3b33 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f19e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f19e0 Unwind@1400f19e0 + * Pseudocode, not original source. */ + +void Unwind_1400f19e0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f19f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f19f0.c new file mode 100644 index 00000000..0190b451 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f19f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f19f0 Unwind@1400f19f0 + * Pseudocode, not original source. */ + +void Unwind_1400f19f0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1a00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1a00.c new file mode 100644 index 00000000..cc53fa86 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1a00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1a00 Unwind@1400f1a00 + * Pseudocode, not original source. */ + +void Unwind_1400f1a00(undefined8 param_1,longlong param_2) + +{ + FUN_14005d6a0(*(undefined8 **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1a10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1a10.c new file mode 100644 index 00000000..db97ac6a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1a10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1a10 Unwind@1400f1a10 + * Pseudocode, not original source. */ + +void Unwind_1400f1a10(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1a20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1a20.c new file mode 100644 index 00000000..030068e8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1a20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1a20 Unwind@1400f1a20 + * Pseudocode, not original source. */ + +void Unwind_1400f1a20(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0xc0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1a30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1a30.c new file mode 100644 index 00000000..32468e6c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1a30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1a30 Unwind@1400f1a30 + * Pseudocode, not original source. */ + +void Unwind_1400f1a30(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1a40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1a40.c new file mode 100644 index 00000000..f7df8d1a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1a40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1a40 Unwind@1400f1a40 + * Pseudocode, not original source. */ + +void Unwind_1400f1a40(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1a50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1a50.c new file mode 100644 index 00000000..ed84bb6f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1a50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1a50 Unwind@1400f1a50 + * Pseudocode, not original source. */ + +void Unwind_1400f1a50(undefined8 param_1,longlong param_2) + +{ + FUN_1400510b0((longlong *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1a60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1a60.c new file mode 100644 index 00000000..89097a3e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1a60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1a60 Unwind@1400f1a60 + * Pseudocode, not original source. */ + +void Unwind_1400f1a60(undefined8 param_1,longlong param_2) + +{ + FUN_1400510b0((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1a70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1a70.c new file mode 100644 index 00000000..a4c2259e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1a70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1a70 Unwind@1400f1a70 + * Pseudocode, not original source. */ + +void Unwind_1400f1a70(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0xa0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1a80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1a80.c new file mode 100644 index 00000000..96637cce --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1a80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1a80 Unwind@1400f1a80 + * Pseudocode, not original source. */ + +void Unwind_1400f1a80(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1a90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1a90.c new file mode 100644 index 00000000..e50bce16 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1a90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1a90 Unwind@1400f1a90 + * Pseudocode, not original source. */ + +void Unwind_1400f1a90(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1aa0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1aa0.c new file mode 100644 index 00000000..498fda71 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1aa0.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1aa0 Catch_All@1400f1aa0 + * Pseudocode, not original source. */ + +undefined8 Catch_All_1400f1aa0(void) + +{ + return 0x14005ff63; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1ac0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1ac0.c new file mode 100644 index 00000000..f947b789 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1ac0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1ac0 Unwind@1400f1ac0 + * Pseudocode, not original source. */ + +void Unwind_1400f1ac0(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(*(longlong *)(param_2 + 0x50) + 0x120)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1ae0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1ae0.c new file mode 100644 index 00000000..7c21d751 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1ae0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1ae0 Unwind@1400f1ae0 + * Pseudocode, not original source. */ + +void Unwind_1400f1ae0(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1b00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1b00.c new file mode 100644 index 00000000..aa57c4e6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1b00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1b00 Unwind@1400f1b00 + * Pseudocode, not original source. */ + +void Unwind_1400f1b00(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_14003e8b0(*(LPVOID *)(param_2 + 0xd0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1b20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1b20.c new file mode 100644 index 00000000..efa9f255 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1b20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1b20 Unwind@1400f1b20 + * Pseudocode, not original source. */ + +void Unwind_1400f1b20(undefined8 param_1,longlong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_1400404a0((longlong *)(param_2 + 0x30),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1b30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1b30.c new file mode 100644 index 00000000..fa38c888 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1b30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1b30 Unwind@1400f1b30 + * Pseudocode, not original source. */ + +void Unwind_1400f1b30(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0xd0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1b40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1b40.c new file mode 100644 index 00000000..7f8d6214 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1b40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1b40 Unwind@1400f1b40 + * Pseudocode, not original source. */ + +void Unwind_1400f1b40(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1b50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1b50.c new file mode 100644 index 00000000..085b8f47 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1b50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1b50 Unwind@1400f1b50 + * Pseudocode, not original source. */ + +void Unwind_1400f1b50(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 0xe8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1b60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1b60.c new file mode 100644 index 00000000..f82be11d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1b60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1b60 Unwind@1400f1b60 + * Pseudocode, not original source. */ + +void Unwind_1400f1b60(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1b70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1b70.c new file mode 100644 index 00000000..6ac89423 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1b70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1b70 Unwind@1400f1b70 + * Pseudocode, not original source. */ + +void Unwind_1400f1b70(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1b80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1b80.c new file mode 100644 index 00000000..dac6293d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1b80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1b80 Unwind@1400f1b80 + * Pseudocode, not original source. */ + +void Unwind_1400f1b80(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280(*(longlong **)(param_2 + 0x68),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1b90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1b90.c new file mode 100644 index 00000000..3bbc01d1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1b90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1b90 Unwind@1400f1b90 + * Pseudocode, not original source. */ + +void Unwind_1400f1b90(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x60),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1ba0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1ba0.c new file mode 100644 index 00000000..2f23ffcf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1ba0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1ba0 Unwind@1400f1ba0 + * Pseudocode, not original source. */ + +void Unwind_1400f1ba0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1bb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1bb0.c new file mode 100644 index 00000000..33d29f54 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1bb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1bb0 Unwind@1400f1bb0 + * Pseudocode, not original source. */ + +void Unwind_1400f1bb0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14005f8d0((undefined8 *)(param_2 + 0x60U & 0xffffffffffffffc0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1be0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1be0.c new file mode 100644 index 00000000..fc320e73 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1be0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1be0 Unwind@1400f1be0 + * Pseudocode, not original source. */ + +void Unwind_1400f1be0(undefined8 param_1,longlong param_2) + +{ + FUN_14005d6a0((undefined8 *)(param_2 + 0x60U & 0xffffffffffffffc0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1c10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1c10.c new file mode 100644 index 00000000..e31cbb23 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1c10.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1c10 Catch_All@1400f1c10 + * Pseudocode, not original source. */ + +undefined8 Catch_All_1400f1c10(void) + +{ + return 0x140060ac3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1c30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1c30.c new file mode 100644 index 00000000..9156abd9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1c30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1c30 Unwind@1400f1c30 + * Pseudocode, not original source. */ + +void Unwind_1400f1c30(undefined8 param_1,longlong param_2) + +{ + FUN_140038400(*(undefined8 **)(param_2 + 0x1a0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1c40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1c40.c new file mode 100644 index 00000000..6dd3f528 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1c40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1c40 Unwind@1400f1c40 + * Pseudocode, not original source. */ + +void Unwind_1400f1c40(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1c50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1c50.c new file mode 100644 index 00000000..8ef77a4f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1c50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1c50 Unwind@1400f1c50 + * Pseudocode, not original source. */ + +void Unwind_1400f1c50(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_14003e8b0(*(LPVOID *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1c70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1c70.c new file mode 100644 index 00000000..29602cf8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1c70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1c70 Unwind@1400f1c70 + * Pseudocode, not original source. */ + +void Unwind_1400f1c70(undefined8 param_1,longlong param_2) + +{ + FUN_1400bfcf0((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1c80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1c80.c new file mode 100644 index 00000000..6a4185f3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1c80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1c80 Unwind@1400f1c80 + * Pseudocode, not original source. */ + +void Unwind_1400f1c80(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x30),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1c90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1c90.c new file mode 100644 index 00000000..270d1b49 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1c90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1c90 Unwind@1400f1c90 + * Pseudocode, not original source. */ + +void Unwind_1400f1c90(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x90)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1ca0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1ca0.c new file mode 100644 index 00000000..48aec809 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1ca0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1ca0 Unwind@1400f1ca0 + * Pseudocode, not original source. */ + +void Unwind_1400f1ca0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 0x48),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1cb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1cb0.c new file mode 100644 index 00000000..65765d32 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1cb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1cb0 Unwind@1400f1cb0 + * Pseudocode, not original source. */ + +void Unwind_1400f1cb0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x78)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1cc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1cc0.c new file mode 100644 index 00000000..ad230b4b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1cc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1cc0 Unwind@1400f1cc0 + * Pseudocode, not original source. */ + +void Unwind_1400f1cc0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 200)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1cd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1cd0.c new file mode 100644 index 00000000..de351207 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1cd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1cd0 Unwind@1400f1cd0 + * Pseudocode, not original source. */ + +void Unwind_1400f1cd0(undefined8 param_1,longlong param_2) + +{ + FUN_140091270((longlong *)(param_2 + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1ce0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1ce0.c new file mode 100644 index 00000000..5276a01a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1ce0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1ce0 Unwind@1400f1ce0 + * Pseudocode, not original source. */ + +void Unwind_1400f1ce0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xb8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1cf0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1cf0.c new file mode 100644 index 00000000..38c09c91 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1cf0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1cf0 Unwind@1400f1cf0 + * Pseudocode, not original source. */ + +void Unwind_1400f1cf0(undefined8 param_1,longlong param_2) + +{ + FUN_140060ab0(*(char **)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1d00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1d00.c new file mode 100644 index 00000000..20632b04 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1d00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1d00 Unwind@1400f1d00 + * Pseudocode, not original source. */ + +void Unwind_1400f1d00(undefined8 param_1,longlong param_2) + +{ + FUN_140060ab0(*(char **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1d10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1d10.c new file mode 100644 index 00000000..ddb15f8c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1d10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1d10 Unwind@1400f1d10 + * Pseudocode, not original source. */ + +void Unwind_1400f1d10(undefined8 param_1,longlong param_2) + +{ + FUN_1400bfcf0((longlong *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1d20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1d20.c new file mode 100644 index 00000000..734c50ec --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1d20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1d20 Unwind@1400f1d20 + * Pseudocode, not original source. */ + +void Unwind_1400f1d20(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_14003e8b0(*(LPVOID *)(param_2 + 0x70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1d40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1d40.c new file mode 100644 index 00000000..f0fbda6d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1d40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1d40 Unwind@1400f1d40 + * Pseudocode, not original source. */ + +void Unwind_1400f1d40(undefined8 param_1,longlong param_2) + +{ + FUN_1400bfcf0((longlong *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1d50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1d50.c new file mode 100644 index 00000000..9abef6aa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1d50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1d50 Unwind@1400f1d50 + * Pseudocode, not original source. */ + +void Unwind_1400f1d50(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x38),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1d60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1d60.c new file mode 100644 index 00000000..b202d8b9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1d60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1d60 Unwind@1400f1d60 + * Pseudocode, not original source. */ + +void Unwind_1400f1d60(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0xb8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1d70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1d70.c new file mode 100644 index 00000000..f355f798 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1d70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1d70 Unwind@1400f1d70 + * Pseudocode, not original source. */ + +void Unwind_1400f1d70(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x110)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1d80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1d80.c new file mode 100644 index 00000000..844acd0f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1d80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1d80 Unwind@1400f1d80 + * Pseudocode, not original source. */ + +void Unwind_1400f1d80(undefined8 param_1,longlong param_2) + +{ + FUN_1400bfcf0((longlong *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1d90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1d90.c new file mode 100644 index 00000000..00a54c1b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1d90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1d90 Unwind@1400f1d90 + * Pseudocode, not original source. */ + +void Unwind_1400f1d90(undefined8 param_1,longlong param_2) + +{ + FUN_140091270((longlong *)(param_2 + 0x70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1da0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1da0.c new file mode 100644 index 00000000..9b88b9ab --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1da0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1da0 Unwind@1400f1da0 + * Pseudocode, not original source. */ + +void Unwind_1400f1da0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x100)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1db0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1db0.c new file mode 100644 index 00000000..ffd965cc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1db0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1db0 Unwind@1400f1db0 + * Pseudocode, not original source. */ + +void Unwind_1400f1db0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x78); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1dc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1dc0.c new file mode 100644 index 00000000..02a7a57f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1dc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1dc0 Unwind@1400f1dc0 + * Pseudocode, not original source. */ + +void Unwind_1400f1dc0(undefined8 param_1,longlong param_2) + +{ + FUN_140091270((longlong *)(param_2 + 0xb0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1dd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1dd0.c new file mode 100644 index 00000000..9b6018a2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1dd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1dd0 Unwind@1400f1dd0 + * Pseudocode, not original source. */ + +void Unwind_1400f1dd0(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0xe10)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1df0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1df0.c new file mode 100644 index 00000000..abdc8148 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1df0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1df0 Unwind@1400f1df0 + * Pseudocode, not original source. */ + +void Unwind_1400f1df0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 400,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1e00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1e00.c new file mode 100644 index 00000000..7759918d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1e00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1e00 Unwind@1400f1e00 + * Pseudocode, not original source. */ + +void Unwind_1400f1e00(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0xe10)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1e20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1e20.c new file mode 100644 index 00000000..a6bcdda6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1e20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1e20 Unwind@1400f1e20 + * Pseudocode, not original source. */ + +void Unwind_1400f1e20(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x60) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1e30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1e30.c new file mode 100644 index 00000000..616fd57e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1e30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1e30 Unwind@1400f1e30 + * Pseudocode, not original source. */ + +void Unwind_1400f1e30(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140006e80((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1e40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1e40.c new file mode 100644 index 00000000..087aeb39 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1e40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1e40 Unwind@1400f1e40 + * Pseudocode, not original source. */ + +void Unwind_1400f1e40(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1e50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1e50.c new file mode 100644 index 00000000..fc1383a6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1e50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1e50 Unwind@1400f1e50 + * Pseudocode, not original source. */ + +void Unwind_1400f1e50(undefined8 param_1,longlong param_2) + +{ + FUN_1400510b0((longlong *)(param_2 + 0x80)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1e60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1e60.c new file mode 100644 index 00000000..d83a9fbe --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1e60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1e60 Unwind@1400f1e60 + * Pseudocode, not original source. */ + +void Unwind_1400f1e60(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(*(longlong *)(param_2 + 0x80) + 0x120)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1e80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1e80.c new file mode 100644 index 00000000..acf6f12b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1e80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1e80 Unwind@1400f1e80 + * Pseudocode, not original source. */ + +void Unwind_1400f1e80(undefined8 param_1,longlong param_2) + +{ + FUN_1400510b0((longlong *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1e90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1e90.c new file mode 100644 index 00000000..75754ce8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1e90.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1e90 Unwind@1400f1e90 + * Pseudocode, not original source. */ + +void Unwind_1400f1e90(undefined8 param_1,longlong param_2) + +{ + if ((*(uint *)(param_2 + 0x60) & 1) != 0) { + *(uint *)(param_2 + 0x60) = *(uint *)(param_2 + 0x60) & 0xfffffffe; + FUN_1400510b0(*(longlong **)(param_2 + 0x58)); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1ec0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1ec0.c new file mode 100644 index 00000000..5c953113 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1ec0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1ec0 Unwind@1400f1ec0 + * Pseudocode, not original source. */ + +void Unwind_1400f1ec0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003d110(*(undefined4 **)(param_2 + 0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1ed0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1ed0.c new file mode 100644 index 00000000..25a98c30 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1ed0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1ed0 Unwind@1400f1ed0 + * Pseudocode, not original source. */ + +void Unwind_1400f1ed0(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140051090((char *)(*(longlong *)(param_2 + 0x48) + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1ee0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1ee0.c new file mode 100644 index 00000000..a4d4eb7a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1ee0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1ee0 Unwind@1400f1ee0 + * Pseudocode, not original source. */ + +void Unwind_1400f1ee0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003d110(*(undefined4 **)(param_2 + 0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1ef0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1ef0.c new file mode 100644 index 00000000..855cee03 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1ef0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1ef0 Unwind@1400f1ef0 + * Pseudocode, not original source. */ + +void Unwind_1400f1ef0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1f00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1f00.c new file mode 100644 index 00000000..1cc723a2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1f00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1f00 Unwind@1400f1f00 + * Pseudocode, not original source. */ + +void Unwind_1400f1f00(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1f10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1f10.c new file mode 100644 index 00000000..dccf19c9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1f10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1f10 Unwind@1400f1f10 + * Pseudocode, not original source. */ + +void Unwind_1400f1f10(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1f20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1f20.c new file mode 100644 index 00000000..7507593d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1f20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1f20 Unwind@1400f1f20 + * Pseudocode, not original source. */ + +void Unwind_1400f1f20(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x88),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1f30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1f30.c new file mode 100644 index 00000000..0f48f557 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1f30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1f30 Unwind@1400f1f30 + * Pseudocode, not original source. */ + +void Unwind_1400f1f30(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1f40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1f40.c new file mode 100644 index 00000000..f37197e1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1f40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1f40 Unwind@1400f1f40 + * Pseudocode, not original source. */ + +void Unwind_1400f1f40(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1f50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1f50.c new file mode 100644 index 00000000..1f0545df --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1f50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1f50 Unwind@1400f1f50 + * Pseudocode, not original source. */ + +void Unwind_1400f1f50(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140006e80((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1f60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1f60.c new file mode 100644 index 00000000..ce1e49e9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1f60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1f60 Unwind@1400f1f60 + * Pseudocode, not original source. */ + +void Unwind_1400f1f60(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140006e80((longlong *)(param_2 + 0x78)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1f70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1f70.c new file mode 100644 index 00000000..cc8be848 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1f70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1f70 Unwind@1400f1f70 + * Pseudocode, not original source. */ + +void Unwind_1400f1f70(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1f80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1f80.c new file mode 100644 index 00000000..92cfb825 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1f80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1f80 Unwind@1400f1f80 + * Pseudocode, not original source. */ + +void Unwind_1400f1f80(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1f90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1f90.c new file mode 100644 index 00000000..0bf17ef1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1f90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1f90 Unwind@1400f1f90 + * Pseudocode, not original source. */ + +void Unwind_1400f1f90(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1fa0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1fa0.c new file mode 100644 index 00000000..e8591369 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1fa0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1fa0 Unwind@1400f1fa0 + * Pseudocode, not original source. */ + +void Unwind_1400f1fa0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x78)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1fb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1fb0.c new file mode 100644 index 00000000..9e45f6d7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1fb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1fb0 Unwind@1400f1fb0 + * Pseudocode, not original source. */ + +void Unwind_1400f1fb0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x1a8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1fc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1fc0.c new file mode 100644 index 00000000..fd957b82 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1fc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1fc0 Unwind@1400f1fc0 + * Pseudocode, not original source. */ + +void Unwind_1400f1fc0(undefined8 param_1,longlong param_2) + +{ + FUN_140038400((undefined8 *)(param_2 + 0xb0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1fd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1fd0.c new file mode 100644 index 00000000..1e8420fd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1fd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1fd0 Unwind@1400f1fd0 + * Pseudocode, not original source. */ + +void Unwind_1400f1fd0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140034c80((undefined8 *)(param_2 + 0x58),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1fe0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1fe0.c new file mode 100644 index 00000000..fe0db65d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1fe0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1fe0 Unwind@1400f1fe0 + * Pseudocode, not original source. */ + +void Unwind_1400f1fe0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x30),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f1ff0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f1ff0.c new file mode 100644 index 00000000..3bbda5a1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f1ff0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f1ff0 Unwind@1400f1ff0 + * Pseudocode, not original source. */ + +void Unwind_1400f1ff0(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x138)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2000.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2000.c new file mode 100644 index 00000000..135da390 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2000.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2000 Unwind@1400f2000 + * Pseudocode, not original source. */ + +void Unwind_1400f2000(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 400)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2010.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2010.c new file mode 100644 index 00000000..fae5d98d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2010.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2010 Unwind@1400f2010 + * Pseudocode, not original source. */ + +void Unwind_1400f2010(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x50),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2020.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2020.c new file mode 100644 index 00000000..ca143358 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2020.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2020 Unwind@1400f2020 + * Pseudocode, not original source. */ + +void Unwind_1400f2020(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x80),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2030.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2030.c new file mode 100644 index 00000000..5675ff81 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2030.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2030 Unwind@1400f2030 + * Pseudocode, not original source. */ + +void Unwind_1400f2030(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x170)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2040.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2040.c new file mode 100644 index 00000000..2d2f4c4e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2040.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2040 Unwind@1400f2040 + * Pseudocode, not original source. */ + +void Unwind_1400f2040(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x180)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2050.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2050.c new file mode 100644 index 00000000..196f221c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2050.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2050 Unwind@1400f2050 + * Pseudocode, not original source. */ + +void Unwind_1400f2050(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x160)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2060.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2060.c new file mode 100644 index 00000000..967ed3df --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2060.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2060 Unwind@1400f2060 + * Pseudocode, not original source. */ + +void Unwind_1400f2060(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0xd8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2070.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2070.c new file mode 100644 index 00000000..db339e97 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2070.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2070 Unwind@1400f2070 + * Pseudocode, not original source. */ + +void Unwind_1400f2070(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x88)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2080.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2080.c new file mode 100644 index 00000000..364889e9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2080.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2080 Unwind@1400f2080 + * Pseudocode, not original source. */ + +void Unwind_1400f2080(undefined8 param_1,longlong param_2) + +{ + operator_delete(*(void **)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2090.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2090.c new file mode 100644 index 00000000..baf923e9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2090.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2090 Unwind@1400f2090 + * Pseudocode, not original source. */ + +void Unwind_1400f2090(undefined8 param_1,longlong param_2) + +{ + operator_delete(*(void **)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f20a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f20a0.c new file mode 100644 index 00000000..a5900724 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f20a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f20a0 Unwind@1400f20a0 + * Pseudocode, not original source. */ + +void Unwind_1400f20a0(undefined8 param_1,longlong param_2) + +{ + FUN_14003d260((undefined8 *)(param_2 + 800)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f20b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f20b0.c new file mode 100644 index 00000000..03d74969 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f20b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f20b0 Unwind@1400f20b0 + * Pseudocode, not original source. */ + +void Unwind_1400f20b0(undefined8 param_1,longlong param_2) + +{ + FUN_14003d260((undefined8 *)(param_2 + 0x3b0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f20c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f20c0.c new file mode 100644 index 00000000..f01b854c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f20c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f20c0 Unwind@1400f20c0 + * Pseudocode, not original source. */ + +void Unwind_1400f20c0(undefined8 param_1,longlong param_2) + +{ + operator_delete(*(void **)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f20d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f20d0.c new file mode 100644 index 00000000..1335327a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f20d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f20d0 Unwind@1400f20d0 + * Pseudocode, not original source. */ + +void Unwind_1400f20d0(undefined8 param_1,longlong param_2) + +{ + operator_delete(*(void **)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f20e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f20e0.c new file mode 100644 index 00000000..08da2d6e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f20e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f20e0 Unwind@1400f20e0 + * Pseudocode, not original source. */ + +void Unwind_1400f20e0(undefined8 param_1,longlong param_2) + +{ + operator_delete(*(void **)(param_2 + 0x128)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f20f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f20f0.c new file mode 100644 index 00000000..18b8b6e1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f20f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f20f0 Unwind@1400f20f0 + * Pseudocode, not original source. */ + +void Unwind_1400f20f0(undefined8 param_1,longlong param_2) + +{ + FUN_1400510b0(*(longlong **)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2100.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2100.c new file mode 100644 index 00000000..13ff9302 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2100.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2100 Unwind@1400f2100 + * Pseudocode, not original source. */ + +void Unwind_1400f2100(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(*(longlong *)(param_2 + 0x20) + 8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2110.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2110.c new file mode 100644 index 00000000..a3456ba2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2110.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2110 Unwind@1400f2110 + * Pseudocode, not original source. */ + +void Unwind_1400f2110(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140064160((longlong *)(*(longlong *)(param_2 + 0x20) + 0x18),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2120.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2120.c new file mode 100644 index 00000000..d6489176 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2120.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2120 Unwind@1400f2120 + * Pseudocode, not original source. */ + +void Unwind_1400f2120(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(*(longlong *)(param_2 + 0x40) + 8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2130.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2130.c new file mode 100644 index 00000000..bb72cf72 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2130.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2130 Unwind@1400f2130 + * Pseudocode, not original source. */ + +void Unwind_1400f2130(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140064160((longlong *)(*(longlong *)(param_2 + 0x40) + 0x18),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2140.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2140.c new file mode 100644 index 00000000..b543270f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2140.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2140 Unwind@1400f2140 + * Pseudocode, not original source. */ + +void Unwind_1400f2140(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400641e0((longlong *)(*(longlong *)(param_2 + 0x40) + 0x20),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2150.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2150.c new file mode 100644 index 00000000..8b886556 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2150.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2150 Unwind@1400f2150 + * Pseudocode, not original source. */ + +void Unwind_1400f2150(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2160.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2160.c new file mode 100644 index 00000000..964922ca --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2160.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2160 Unwind@1400f2160 + * Pseudocode, not original source. */ + +void Unwind_1400f2160(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3e0((longlong *)(*(longlong *)(param_2 + 0x40) + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2170.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2170.c new file mode 100644 index 00000000..b87f2940 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2170.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2170 Unwind@1400f2170 + * Pseudocode, not original source. */ + +void Unwind_1400f2170(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x78)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2180.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2180.c new file mode 100644 index 00000000..efb34a87 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2180.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2180 Unwind@1400f2180 + * Pseudocode, not original source. */ + +void Unwind_1400f2180(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x48) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2190.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2190.c new file mode 100644 index 00000000..96658032 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2190.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2190 Unwind@1400f2190 + * Pseudocode, not original source. */ + +void Unwind_1400f2190(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(*(longlong *)(param_2 + 0x80) + 8); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f21a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f21a0.c new file mode 100644 index 00000000..d5f8c85e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f21a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f21a0 Unwind@1400f21a0 + * Pseudocode, not original source. */ + +void Unwind_1400f21a0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400645f0(*(longlong *)(param_2 + 0x80) + 0x30,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f21b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f21b0.c new file mode 100644 index 00000000..740eb41a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f21b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f21b0 Unwind@1400f21b0 + * Pseudocode, not original source. */ + +void Unwind_1400f21b0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(*(longlong *)(param_2 + 0x40) + 8); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f21c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f21c0.c new file mode 100644 index 00000000..efe066f2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f21c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f21c0 Unwind@1400f21c0 + * Pseudocode, not original source. */ + +void Unwind_1400f21c0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x40) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f21d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f21d0.c new file mode 100644 index 00000000..3f93bf83 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f21d0.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f21d0 Unwind@1400f21d0 + * Pseudocode, not original source. */ + +void Unwind_1400f21d0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + if ((*(uint *)(param_2 + 0x50) & 1) != 0) { + *(uint *)(param_2 + 0x50) = *(uint *)(param_2 + 0x50) & 0xfffffffe; + FUN_140061740(*(longlong **)(param_2 + 0x48),param_2,param_3,param_4); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2200.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2200.c new file mode 100644 index 00000000..842e8088 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2200.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2200 Unwind@1400f2200 + * Pseudocode, not original source. */ + +void Unwind_1400f2200(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2210.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2210.c new file mode 100644 index 00000000..5fa02050 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2210.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2210 Unwind@1400f2210 + * Pseudocode, not original source. */ + +void Unwind_1400f2210(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140061740((longlong *)(param_2 + 0x50),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2220.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2220.c new file mode 100644 index 00000000..41e9cf92 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2220.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2220 Unwind@1400f2220 + * Pseudocode, not original source. */ + +void Unwind_1400f2220(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2230.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2230.c new file mode 100644 index 00000000..3dcc9d69 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2230.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2230 Unwind@1400f2230 + * Pseudocode, not original source. */ + +void Unwind_1400f2230(undefined8 param_1,longlong param_2) + +{ + FUN_14004ba40((undefined8 *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2240.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2240.c new file mode 100644 index 00000000..3d09a898 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2240.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2240 Unwind@1400f2240 + * Pseudocode, not original source. */ + +void Unwind_1400f2240(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2250.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2250.c new file mode 100644 index 00000000..add5da53 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2250.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2250 Unwind@1400f2250 + * Pseudocode, not original source. */ + +void Unwind_1400f2250(undefined8 param_1,longlong param_2) + +{ + FUN_1400510b0((longlong *)(param_2 + 0xa0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2260.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2260.c new file mode 100644 index 00000000..28a12e84 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2260.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2260 Unwind@1400f2260 + * Pseudocode, not original source. */ + +void Unwind_1400f2260(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(*(longlong *)(param_2 + 0xb8) + 0x120)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2280.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2280.c new file mode 100644 index 00000000..aa221c89 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2280.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2280 Unwind@1400f2280 + * Pseudocode, not original source. */ + +void Unwind_1400f2280(undefined8 param_1,longlong param_2) + +{ + FUN_1400510b0((longlong *)(param_2 + 0xb0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2290.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2290.c new file mode 100644 index 00000000..bf26f44b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2290.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2290 Unwind@1400f2290 + * Pseudocode, not original source. */ + +void Unwind_1400f2290(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(*(longlong *)(param_2 + 0xb0) + 0x120)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f22b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f22b0.c new file mode 100644 index 00000000..3511431c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f22b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f22b0 Unwind@1400f22b0 + * Pseudocode, not original source. */ + +void Unwind_1400f22b0(undefined8 param_1,longlong param_2) + +{ + FUN_1400510b0((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f22c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f22c0.c new file mode 100644 index 00000000..a89f447f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f22c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f22c0 Unwind@1400f22c0 + * Pseudocode, not original source. */ + +void Unwind_1400f22c0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 200),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f22d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f22d0.c new file mode 100644 index 00000000..c7d63471 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f22d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f22d0 Unwind@1400f22d0 + * Pseudocode, not original source. */ + +void Unwind_1400f22d0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f22e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f22e0.c new file mode 100644 index 00000000..0b8c603a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f22e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f22e0 Unwind@1400f22e0 + * Pseudocode, not original source. */ + +void Unwind_1400f22e0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(*(longlong *)(param_2 + 0x50) + 8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f22f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f22f0.c new file mode 100644 index 00000000..7fd9f84b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f22f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f22f0 Unwind@1400f22f0 + * Pseudocode, not original source. */ + +void Unwind_1400f22f0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140064160((longlong *)(*(longlong *)(param_2 + 0x50) + 0x18),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2300.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2300.c new file mode 100644 index 00000000..3170505a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2300.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2300 Unwind@1400f2300 + * Pseudocode, not original source. */ + +void Unwind_1400f2300(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400641e0((longlong *)(*(longlong *)(param_2 + 0x50) + 0x20),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2310.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2310.c new file mode 100644 index 00000000..138073b4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2310.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2310 Unwind@1400f2310 + * Pseudocode, not original source. */ + +void Unwind_1400f2310(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(*(longlong *)(param_2 + 0x50) + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2320.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2320.c new file mode 100644 index 00000000..da8dbcfd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2320.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2320 Unwind@1400f2320 + * Pseudocode, not original source. */ + +void Unwind_1400f2320(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3e0((longlong *)(*(longlong *)(param_2 + 0x50) + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2330.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2330.c new file mode 100644 index 00000000..d7031bc4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2330.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2330 Unwind@1400f2330 + * Pseudocode, not original source. */ + +void Unwind_1400f2330(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(*(longlong *)(param_2 + 0x50) + 0x78)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2340.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2340.c new file mode 100644 index 00000000..444349f1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2340.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2340 Unwind@1400f2340 + * Pseudocode, not original source. */ + +void Unwind_1400f2340(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 0x38),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2350.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2350.c new file mode 100644 index 00000000..f41be856 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2350.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2350 Unwind@1400f2350 + * Pseudocode, not original source. */ + +void Unwind_1400f2350(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140064160((longlong *)(param_2 + 0x48),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2360.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2360.c new file mode 100644 index 00000000..85fe122c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2360.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2360 Unwind@1400f2360 + * Pseudocode, not original source. */ + +void Unwind_1400f2360(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400645f0(param_2 + 0x30,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2370.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2370.c new file mode 100644 index 00000000..50f3fd1e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2370.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2370 Unwind@1400f2370 + * Pseudocode, not original source. */ + +void Unwind_1400f2370(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_14003e8b0(*(LPVOID *)(param_2 + 0x160)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2390.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2390.c new file mode 100644 index 00000000..78945a60 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2390.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2390 Unwind@1400f2390 + * Pseudocode, not original source. */ + +void Unwind_1400f2390(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f23b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f23b0.c new file mode 100644 index 00000000..68aa2d49 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f23b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f23b0 Unwind@1400f23b0 + * Pseudocode, not original source. */ + +void Unwind_1400f23b0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 0x160),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f23c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f23c0.c new file mode 100644 index 00000000..34143b6f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f23c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f23c0 Unwind@1400f23c0 + * Pseudocode, not original source. */ + +void Unwind_1400f23c0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f23d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f23d0.c new file mode 100644 index 00000000..5011c51c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f23d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f23d0 Unwind@1400f23d0 + * Pseudocode, not original source. */ + +void Unwind_1400f23d0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140064160((longlong *)(param_2 + 0x160),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f23e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f23e0.c new file mode 100644 index 00000000..c26a9df4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f23e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f23e0 Unwind@1400f23e0 + * Pseudocode, not original source. */ + +void Unwind_1400f23e0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f23f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f23f0.c new file mode 100644 index 00000000..479dc785 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f23f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f23f0 Unwind@1400f23f0 + * Pseudocode, not original source. */ + +void Unwind_1400f23f0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2400.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2400.c new file mode 100644 index 00000000..5c3bacd4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2400.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2400 Unwind@1400f2400 + * Pseudocode, not original source. */ + +void Unwind_1400f2400(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2410.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2410.c new file mode 100644 index 00000000..ecdda3c3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2410.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2410 Unwind@1400f2410 + * Pseudocode, not original source. */ + +void Unwind_1400f2410(undefined8 param_1,longlong param_2) + +{ + FUN_14004de40(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2420.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2420.c new file mode 100644 index 00000000..d47cfe35 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2420.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2420 Unwind@1400f2420 + * Pseudocode, not original source. */ + +void Unwind_1400f2420(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2430.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2430.c new file mode 100644 index 00000000..241f9e41 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2430.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2430 Unwind@1400f2430 + * Pseudocode, not original source. */ + +void Unwind_1400f2430(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0xe50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2450.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2450.c new file mode 100644 index 00000000..15f2d05d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2450.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2450 Unwind@1400f2450 + * Pseudocode, not original source. */ + +void Unwind_1400f2450(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0x1d0,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2460.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2460.c new file mode 100644 index 00000000..2f2a759f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2460.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2460 Unwind@1400f2460 + * Pseudocode, not original source. */ + +void Unwind_1400f2460(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0xe50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2480.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2480.c new file mode 100644 index 00000000..5d36042d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2480.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2480 Unwind@1400f2480 + * Pseudocode, not original source. */ + +void Unwind_1400f2480(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x20) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2490.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2490.c new file mode 100644 index 00000000..d990295e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2490.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2490 Unwind@1400f2490 + * Pseudocode, not original source. */ + +void Unwind_1400f2490(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 0x98),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f24a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f24a0.c new file mode 100644 index 00000000..9abb3161 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f24a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f24a0 Unwind@1400f24a0 + * Pseudocode, not original source. */ + +void Unwind_1400f24a0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140064160((longlong *)(param_2 + 0xa8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f24b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f24b0.c new file mode 100644 index 00000000..c120e708 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f24b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f24b0 Unwind@1400f24b0 + * Pseudocode, not original source. */ + +void Unwind_1400f24b0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400645f0(param_2 + 0x90,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f24c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f24c0.c new file mode 100644 index 00000000..70562168 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f24c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f24c0 Unwind@1400f24c0 + * Pseudocode, not original source. */ + +void Unwind_1400f24c0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140064160((longlong *)(param_2 + 0x20),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f24d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f24d0.c new file mode 100644 index 00000000..8abb919f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f24d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f24d0 Unwind@1400f24d0 + * Pseudocode, not original source. */ + +void Unwind_1400f24d0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f24e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f24e0.c new file mode 100644 index 00000000..35c74457 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f24e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f24e0 Unwind@1400f24e0 + * Pseudocode, not original source. */ + +void Unwind_1400f24e0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 0x98),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f24f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f24f0.c new file mode 100644 index 00000000..ae2d5381 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f24f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f24f0 Unwind@1400f24f0 + * Pseudocode, not original source. */ + +void Unwind_1400f24f0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140064160((longlong *)(param_2 + 0xa8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2500.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2500.c new file mode 100644 index 00000000..257d34dd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2500.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2500 Unwind@1400f2500 + * Pseudocode, not original source. */ + +void Unwind_1400f2500(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400641e0((longlong *)(param_2 + 0xb0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2510.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2510.c new file mode 100644 index 00000000..de09cf4f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2510.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2510 Unwind@1400f2510 + * Pseudocode, not original source. */ + +void Unwind_1400f2510(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0xb8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2520.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2520.c new file mode 100644 index 00000000..eb8a842e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2520.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2520 Unwind@1400f2520 + * Pseudocode, not original source. */ + +void Unwind_1400f2520(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3e0((longlong *)(param_2 + 0xe0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2530.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2530.c new file mode 100644 index 00000000..38d2a2a3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2530.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2530 Unwind@1400f2530 + * Pseudocode, not original source. */ + +void Unwind_1400f2530(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x108)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2540.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2540.c new file mode 100644 index 00000000..abaf3b91 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2540.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2540 Unwind@1400f2540 + * Pseudocode, not original source. */ + +void Unwind_1400f2540(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x20) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2550.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2550.c new file mode 100644 index 00000000..2c477b6f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2550.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2550 Unwind@1400f2550 + * Pseudocode, not original source. */ + +void Unwind_1400f2550(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2560.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2560.c new file mode 100644 index 00000000..c2783a33 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2560.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2560 Unwind@1400f2560 + * Pseudocode, not original source. */ + +void Unwind_1400f2560(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 200)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2570.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2570.c new file mode 100644 index 00000000..9ee19b6c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2570.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2570 Unwind@1400f2570 + * Pseudocode, not original source. */ + +void Unwind_1400f2570(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x1d0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2580.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2580.c new file mode 100644 index 00000000..5b0d41fd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2580.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2580 Unwind@1400f2580 + * Pseudocode, not original source. */ + +void Unwind_1400f2580(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2590.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2590.c new file mode 100644 index 00000000..f9749101 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2590.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2590 Unwind@1400f2590 + * Pseudocode, not original source. */ + +void Unwind_1400f2590(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x118)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f25a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f25a0.c new file mode 100644 index 00000000..86227afc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f25a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f25a0 Unwind@1400f25a0 + * Pseudocode, not original source. */ + +void Unwind_1400f25a0(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0xf0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f25b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f25b0.c new file mode 100644 index 00000000..dc0e4c18 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f25b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f25b0 Unwind@1400f25b0 + * Pseudocode, not original source. */ + +void Unwind_1400f25b0(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f25c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f25c0.c new file mode 100644 index 00000000..f6abfb60 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f25c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f25c0 Unwind@1400f25c0 + * Pseudocode, not original source. */ + +void Unwind_1400f25c0(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x90)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f25d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f25d0.c new file mode 100644 index 00000000..5e149e01 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f25d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f25d0 Unwind@1400f25d0 + * Pseudocode, not original source. */ + +void Unwind_1400f25d0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x140)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f25e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f25e0.c new file mode 100644 index 00000000..8c662b65 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f25e0.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f25e0 Catch@1400f25e0 + * Pseudocode, not original source. */ + +undefined8 +Catch_1400f25e0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong lVar1; + longlong *plVar2; + + lVar1 = *(longlong *)(param_2 + 0x1c0); + if (*(longlong *)(lVar1 + 0x758) != 0) { + FUN_14003d720((exception *)(param_2 + 0x40),*(undefined8 *)(param_2 + 0x160),param_3,param_4); + *(undefined4 *)(param_2 + 0x58) = *(undefined4 *)(*(longlong *)(param_2 + 0x1c8) + 0x70); + plVar2 = *(longlong **)(lVar1 + 0x758); + (**(code **)(*plVar2 + 0x20))(plVar2,param_2 + 0x40); + FUN_14003d6e0((exception *)(param_2 + 0x40)); + } + return 0x140066fac; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2650.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2650.c new file mode 100644 index 00000000..3ffe846a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2650.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2650 Unwind@1400f2650 + * Pseudocode, not original source. */ + +void Unwind_1400f2650(undefined8 param_1,longlong param_2) + +{ + FUN_14003d6e0((exception *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2660.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2660.c new file mode 100644 index 00000000..4e536071 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2660.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2660 Catch@1400f2660 + * Pseudocode, not original source. */ + +undefined8 +Catch_1400f2660(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong lVar1; + longlong *plVar2; + + lVar1 = *(longlong *)(param_2 + 0x1c0); + if (*(longlong *)(lVar1 + 0x758) != 0) { + FUN_14003dd60((exception *)(param_2 + 0x40),*(longlong **)(param_2 + 0x150),param_3,param_4); + *(undefined4 *)(param_2 + 0x58) = *(undefined4 *)(*(longlong *)(param_2 + 0x1c8) + 0x70); + plVar2 = *(longlong **)(lVar1 + 0x758); + (**(code **)(*plVar2 + 0x20))(plVar2,param_2 + 0x40); + FUN_14003d6e0((exception *)(param_2 + 0x40)); + } + return 0x140066fac; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f26d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f26d0.c new file mode 100644 index 00000000..425c4b87 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f26d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f26d0 Unwind@1400f26d0 + * Pseudocode, not original source. */ + +void Unwind_1400f26d0(undefined8 param_1,longlong param_2) + +{ + FUN_14003d6e0((exception *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f26e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f26e0.c new file mode 100644 index 00000000..f8e47ef5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f26e0.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f26e0 Catch@1400f26e0 + * Pseudocode, not original source. */ + +undefined8 +Catch_1400f26e0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong lVar1; + longlong *plVar2; + + lVar1 = *(longlong *)(param_2 + 0x1c0); + if (*(longlong *)(lVar1 + 0x758) != 0) { + FUN_14003dde0((exception *)(param_2 + 0x40),*(longlong *)(param_2 + 0x178),param_3,param_4); + *(undefined4 *)(param_2 + 0x58) = *(undefined4 *)(*(longlong *)(param_2 + 0x1c8) + 0x70); + plVar2 = *(longlong **)(lVar1 + 0x758); + (**(code **)(*plVar2 + 0x20))(plVar2,param_2 + 0x40); + FUN_14003d6e0((exception *)(param_2 + 0x40)); + } + return 0x140066fac; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2750.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2750.c new file mode 100644 index 00000000..4a09a20c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2750.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2750 Unwind@1400f2750 + * Pseudocode, not original source. */ + +void Unwind_1400f2750(undefined8 param_1,longlong param_2) + +{ + FUN_14003d6e0((exception *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2760.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2760.c new file mode 100644 index 00000000..c4ab4cd0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2760.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2760 Catch_All@1400f2760 + * Pseudocode, not original source. */ + +undefined8 Catch_All_1400f2760(void) + +{ + return 0x1400675b3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2780.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2780.c new file mode 100644 index 00000000..4d092ca9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2780.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2780 Unwind@1400f2780 + * Pseudocode, not original source. */ + +void Unwind_1400f2780(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(*(longlong *)(param_2 + 0x48) + 8); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2790.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2790.c new file mode 100644 index 00000000..9830d909 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2790.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2790 Unwind@1400f2790 + * Pseudocode, not original source. */ + +void Unwind_1400f2790(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f27a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f27a0.c new file mode 100644 index 00000000..0d15cb79 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f27a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f27a0 Unwind@1400f27a0 + * Pseudocode, not original source. */ + +void Unwind_1400f27a0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003d110(*(undefined4 **)(param_2 + 0x70),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f27b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f27b0.c new file mode 100644 index 00000000..ae226c08 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f27b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f27b0 Unwind@1400f27b0 + * Pseudocode, not original source. */ + +void Unwind_1400f27b0(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f27d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f27d0.c new file mode 100644 index 00000000..33d9d870 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f27d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f27d0 Unwind@1400f27d0 + * Pseudocode, not original source. */ + +void Unwind_1400f27d0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(*(longlong *)(param_2 + 0x78) + 8); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f27e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f27e0.c new file mode 100644 index 00000000..db7856da --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f27e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f27e0 Unwind@1400f27e0 + * Pseudocode, not original source. */ + +void Unwind_1400f27e0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140064800(param_2 + 0x28,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f27f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f27f0.c new file mode 100644 index 00000000..b918f23e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f27f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f27f0 Unwind@1400f27f0 + * Pseudocode, not original source. */ + +void Unwind_1400f27f0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x30); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2800.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2800.c new file mode 100644 index 00000000..b67b65d0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2800.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2800 Unwind@1400f2800 + * Pseudocode, not original source. */ + +void Unwind_1400f2800(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x150) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2810.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2810.c new file mode 100644 index 00000000..67333574 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2810.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2810 Unwind@1400f2810 + * Pseudocode, not original source. */ + +void Unwind_1400f2810(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xa0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2820.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2820.c new file mode 100644 index 00000000..7bcd7ecc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2820.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2820 Unwind@1400f2820 + * Pseudocode, not original source. */ + +void Unwind_1400f2820(undefined8 param_1,longlong param_2) + +{ + FUN_14004d2c0((undefined8 *)(param_2 + 0x2d0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2830.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2830.c new file mode 100644 index 00000000..f1c44964 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2830.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2830 Unwind@1400f2830 + * Pseudocode, not original source. */ + +void Unwind_1400f2830(undefined8 param_1,longlong param_2) + +{ + FUN_14004d2c0((undefined8 *)(param_2 + 0x480)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2840.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2840.c new file mode 100644 index 00000000..756ef8f2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2840.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2840 Unwind@1400f2840 + * Pseudocode, not original source. */ + +void Unwind_1400f2840(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x30); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2850.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2850.c new file mode 100644 index 00000000..d297d71b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2850.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2850 Unwind@1400f2850 + * Pseudocode, not original source. */ + +void Unwind_1400f2850(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140064800(param_2 + 0x120,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2860.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2860.c new file mode 100644 index 00000000..ba4b1cb7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2860.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2860 Unwind@1400f2860 + * Pseudocode, not original source. */ + +void Unwind_1400f2860(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x128); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2870.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2870.c new file mode 100644 index 00000000..0feed982 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2870.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2870 Unwind@1400f2870 + * Pseudocode, not original source. */ + +void Unwind_1400f2870(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x60) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2880.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2880.c new file mode 100644 index 00000000..5cfb06ab --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2880.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2880 Unwind@1400f2880 + * Pseudocode, not original source. */ + +void Unwind_1400f2880(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x60) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2890.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2890.c new file mode 100644 index 00000000..82f395b0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2890.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2890 Unwind@1400f2890 + * Pseudocode, not original source. */ + +void Unwind_1400f2890(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x30); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f28a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f28a0.c new file mode 100644 index 00000000..d605ba5f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f28a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f28a0 Unwind@1400f28a0 + * Pseudocode, not original source. */ + +void Unwind_1400f28a0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140064800(param_2 + 0x120,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f28b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f28b0.c new file mode 100644 index 00000000..6e2b7511 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f28b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f28b0 Unwind@1400f28b0 + * Pseudocode, not original source. */ + +void Unwind_1400f28b0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x128); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f28c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f28c0.c new file mode 100644 index 00000000..ca09c4c7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f28c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f28c0 Unwind@1400f28c0 + * Pseudocode, not original source. */ + +void Unwind_1400f28c0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x78) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f28d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f28d0.c new file mode 100644 index 00000000..41199a40 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f28d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f28d0 Unwind@1400f28d0 + * Pseudocode, not original source. */ + +void Unwind_1400f28d0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x78) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f28e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f28e0.c new file mode 100644 index 00000000..0ba2863d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f28e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f28e0 Unwind@1400f28e0 + * Pseudocode, not original source. */ + +void Unwind_1400f28e0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f28f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f28f0.c new file mode 100644 index 00000000..d999ab36 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f28f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f28f0 Unwind@1400f28f0 + * Pseudocode, not original source. */ + +void Unwind_1400f28f0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x30); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2900.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2900.c new file mode 100644 index 00000000..942e3585 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2900.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2900 Unwind@1400f2900 + * Pseudocode, not original source. */ + +void Unwind_1400f2900(undefined8 param_1,longlong param_2) + +{ + FUN_14004d2c0((undefined8 *)(param_2 + 0x120)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2910.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2910.c new file mode 100644 index 00000000..32998c82 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2910.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2910 Unwind@1400f2910 + * Pseudocode, not original source. */ + +void Unwind_1400f2910(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0x1120,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2920.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2920.c new file mode 100644 index 00000000..fda92a02 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2920.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2920 Unwind@1400f2920 + * Pseudocode, not original source. */ + +void Unwind_1400f2920(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0x2a30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2940.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2940.c new file mode 100644 index 00000000..284b74aa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2940.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2940 Unwind@1400f2940 + * Pseudocode, not original source. */ + +void Unwind_1400f2940(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0x1db0,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2950.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2950.c new file mode 100644 index 00000000..90d6f4f7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2950.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2950 Unwind@1400f2950 + * Pseudocode, not original source. */ + +void Unwind_1400f2950(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0x2a30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2970.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2970.c new file mode 100644 index 00000000..50af6b7e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2970.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2970 Unwind@1400f2970 + * Pseudocode, not original source. */ + +void Unwind_1400f2970(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xc0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2980.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2980.c new file mode 100644 index 00000000..1b863e91 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2980.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2980 Unwind@1400f2980 + * Pseudocode, not original source. */ + +void Unwind_1400f2980(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0x1da0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f29a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f29a0.c new file mode 100644 index 00000000..414b89dc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f29a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f29a0 Unwind@1400f29a0 + * Pseudocode, not original source. */ + +void Unwind_1400f29a0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x78) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f29b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f29b0.c new file mode 100644 index 00000000..7bd75e74 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f29b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f29b0 Unwind@1400f29b0 + * Pseudocode, not original source. */ + +void Unwind_1400f29b0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xb0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f29c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f29c0.c new file mode 100644 index 00000000..25ccd569 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f29c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f29c0 Unwind@1400f29c0 + * Pseudocode, not original source. */ + +void Unwind_1400f29c0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140077140(*(undefined8 **)(param_2 + 0x80),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f29d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f29d0.c new file mode 100644 index 00000000..78cc45fa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f29d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f29d0 Unwind@1400f29d0 + * Pseudocode, not original source. */ + +void Unwind_1400f29d0(undefined8 param_1,longlong param_2) + +{ + FUN_14003f370((undefined8 *)(*(longlong *)(param_2 + 0x80) + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f29e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f29e0.c new file mode 100644 index 00000000..799aff05 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f29e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f29e0 Unwind@1400f29e0 + * Pseudocode, not original source. */ + +void Unwind_1400f29e0(undefined8 param_1,longlong param_2) + +{ + FUN_140049f00((undefined8 *)(*(longlong *)(param_2 + 0x80) + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f29f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f29f0.c new file mode 100644 index 00000000..19ff435d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f29f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f29f0 Unwind@1400f29f0 + * Pseudocode, not original source. */ + +void Unwind_1400f29f0(undefined8 param_1,longlong param_2) + +{ + FUN_140049f40((undefined8 *)(*(longlong *)(param_2 + 0x80) + 0x70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2a00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2a00.c new file mode 100644 index 00000000..e725a2d2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2a00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2a00 Unwind@1400f2a00 + * Pseudocode, not original source. */ + +void Unwind_1400f2a00(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400978a0((undefined8 *)(*(longlong *)(param_2 + 0x80) + 0x78),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2a10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2a10.c new file mode 100644 index 00000000..b69bf5d0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2a10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2a10 Unwind@1400f2a10 + * Pseudocode, not original source. */ + +void Unwind_1400f2a10(undefined8 param_1,longlong param_2) + +{ + FUN_140049e80((undefined8 *)(*(longlong *)(param_2 + 0x80) + 0xa8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2a30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2a30.c new file mode 100644 index 00000000..1adc5ed7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2a30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2a30 Unwind@1400f2a30 + * Pseudocode, not original source. */ + +void Unwind_1400f2a30(undefined8 param_1,longlong param_2) + +{ + FUN_140049ec0((undefined8 *)(*(longlong *)(param_2 + 0x80) + 0xb0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2a50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2a50.c new file mode 100644 index 00000000..ded5f711 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2a50.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2a50 Unwind@1400f2a50 + * Pseudocode, not original source. */ + +void Unwind_1400f2a50(undefined8 param_1,LPVOID param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140067a30((undefined8 *)(*(longlong *)((longlong)param_2 + 0x80) + 0xb8),param_2,param_3, + param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2a70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2a70.c new file mode 100644 index 00000000..25a81dc4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2a70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2a70 Unwind@1400f2a70 + * Pseudocode, not original source. */ + +void Unwind_1400f2a70(undefined8 param_1,longlong param_2) + +{ + FUN_140049fc0((undefined8 *)(*(longlong *)(param_2 + 0x80) + 0x118)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2a90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2a90.c new file mode 100644 index 00000000..513fba3f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2a90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2a90 Unwind@1400f2a90 + * Pseudocode, not original source. */ + +void Unwind_1400f2a90(undefined8 param_1,longlong param_2) + +{ + FUN_140049f80((undefined8 *)(*(longlong *)(param_2 + 0x80) + 0x120)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2ab0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2ab0.c new file mode 100644 index 00000000..5444d639 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2ab0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2ab0 Unwind@1400f2ab0 + * Pseudocode, not original source. */ + +void Unwind_1400f2ab0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003d110((undefined4 *)(*(longlong *)(param_2 + 0x80) + 0x128),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2ad0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2ad0.c new file mode 100644 index 00000000..0f6aa4a5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2ad0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2ad0 Unwind@1400f2ad0 + * Pseudocode, not original source. */ + +void Unwind_1400f2ad0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003d110((undefined4 *)(*(longlong *)(param_2 + 0x80) + 0x160),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2af0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2af0.c new file mode 100644 index 00000000..de032cb0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2af0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2af0 Unwind@1400f2af0 + * Pseudocode, not original source. */ + +void Unwind_1400f2af0(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140006e80((longlong *)(*(longlong *)(param_2 + 0x80) + 0x210)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2b10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2b10.c new file mode 100644 index 00000000..e445d47d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2b10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2b10 Unwind@1400f2b10 + * Pseudocode, not original source. */ + +void Unwind_1400f2b10(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140006e80((longlong *)(*(longlong *)(param_2 + 0x80) + 0x218)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2b30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2b30.c new file mode 100644 index 00000000..14e8a556 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2b30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2b30 Unwind@1400f2b30 + * Pseudocode, not original source. */ + +void Unwind_1400f2b30(undefined8 param_1,longlong param_2) + +{ + FUN_14004e270((char *)(*(longlong *)(param_2 + 0x80) + 0x280)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2b50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2b50.c new file mode 100644 index 00000000..afcf8c79 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2b50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2b50 Unwind@1400f2b50 + * Pseudocode, not original source. */ + +void Unwind_1400f2b50(undefined8 param_1,longlong param_2) + +{ + FUN_1400618d0((char *)(*(longlong *)(param_2 + 0x80) + 0x2d8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2b70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2b70.c new file mode 100644 index 00000000..e7d71de9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2b70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2b70 Unwind@1400f2b70 + * Pseudocode, not original source. */ + +void Unwind_1400f2b70(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140051280((char *)(*(longlong *)(param_2 + 0x80) + 0x388)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2b90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2b90.c new file mode 100644 index 00000000..59df166c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2b90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2b90 Unwind@1400f2b90 + * Pseudocode, not original source. */ + +void Unwind_1400f2b90(undefined8 param_1,wchar_t *param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_14004b8a0((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x3e0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2bb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2bb0.c new file mode 100644 index 00000000..800f0b84 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2bb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2bb0 Unwind@1400f2bb0 + * Pseudocode, not original source. */ + +void Unwind_1400f2bb0(undefined8 param_1,LPVOID param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400675a0((char *)(*(longlong *)((longlong)param_2 + 0x80) + 0x400),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2bd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2bd0.c new file mode 100644 index 00000000..c5fca707 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2bd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2bd0 Unwind@1400f2bd0 + * Pseudocode, not original source. */ + +void Unwind_1400f2bd0(undefined8 param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140067be0((longlong *)(param_2[0x10] + 0x458),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2bf0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2bf0.c new file mode 100644 index 00000000..cc248abf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2bf0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2bf0 Unwind@1400f2bf0 + * Pseudocode, not original source. */ + +void Unwind_1400f2bf0(undefined8 param_1,longlong param_2) + +{ + FUN_14004a900((longlong *)(*(longlong *)(param_2 + 0x80) + 0x478)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2c10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2c10.c new file mode 100644 index 00000000..04cf45d5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2c10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2c10 Unwind@1400f2c10 + * Pseudocode, not original source. */ + +void Unwind_1400f2c10(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140079b90((undefined8 *)(*(longlong *)(param_2 + 0x80) + 0x480)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2c30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2c30.c new file mode 100644 index 00000000..77c0bb07 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2c30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2c30 Unwind@1400f2c30 + * Pseudocode, not original source. */ + +void Unwind_1400f2c30(undefined8 param_1,longlong param_2) + +{ + FUN_1400768c0(*(undefined8 **)(param_2 + 0x88)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2c40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2c40.c new file mode 100644 index 00000000..7a3305a0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2c40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2c40 Unwind@1400f2c40 + * Pseudocode, not original source. */ + +void Unwind_1400f2c40(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_1400768c0((undefined8 *)(*(longlong *)(param_2 + 0x80) + 0x4a8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2c60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2c60.c new file mode 100644 index 00000000..1fdabc70 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2c60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2c60 Unwind@1400f2c60 + * Pseudocode, not original source. */ + +void Unwind_1400f2c60(undefined8 param_1,longlong param_2) + +{ + FUN_14005b0c0((undefined8 *)(*(longlong *)(param_2 + 0x80) + 0x6c8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2c80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2c80.c new file mode 100644 index 00000000..d32d5f8e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2c80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2c80 Unwind@1400f2c80 + * Pseudocode, not original source. */ + +void Unwind_1400f2c80(undefined8 param_1,longlong param_2) + +{ + FUN_14005ff50((char *)(*(longlong *)(param_2 + 0x80) + 0x6f0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2ca0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2ca0.c new file mode 100644 index 00000000..30eb04ce --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2ca0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2ca0 Unwind@1400f2ca0 + * Pseudocode, not original source. */ + +void Unwind_1400f2ca0(undefined8 param_1,longlong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_1400404a0((longlong *)(*(longlong *)(param_2 + 0x80) + 0x748),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2cc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2cc0.c new file mode 100644 index 00000000..0240c953 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2cc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2cc0 Unwind@1400f2cc0 + * Pseudocode, not original source. */ + +void Unwind_1400f2cc0(undefined8 param_1,longlong param_2,undefined8 param_3,longlong param_4) + +{ + FUN_140051170((longlong *)(*(longlong *)(param_2 + 0x80) + 0x750),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2ce0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2ce0.c new file mode 100644 index 00000000..013a920f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2ce0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2ce0 Unwind@1400f2ce0 + * Pseudocode, not original source. */ + +void Unwind_1400f2ce0(undefined8 param_1,longlong *param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_14004b830((undefined8 *)(param_2[0x10] + 0x788),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2d00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2d00.c new file mode 100644 index 00000000..43b287a9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2d00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2d00 Unwind@1400f2d00 + * Pseudocode, not original source. */ + +void Unwind_1400f2d00(undefined8 param_1,longlong *param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_14004b830((undefined8 *)(param_2[0x10] + 0x790),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2d20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2d20.c new file mode 100644 index 00000000..2957c2e7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2d20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2d20 Unwind@1400f2d20 + * Pseudocode, not original source. */ + +void Unwind_1400f2d20(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003d110((undefined4 *)(*(longlong *)(param_2 + 0x80) + 0x798),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2d40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2d40.c new file mode 100644 index 00000000..3c2d46fb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2d40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2d40 Unwind@1400f2d40 + * Pseudocode, not original source. */ + +void Unwind_1400f2d40(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003d110((undefined4 *)(*(longlong *)(param_2 + 0x80) + 2000),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2d60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2d60.c new file mode 100644 index 00000000..681fb0a0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2d60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2d60 Unwind@1400f2d60 + * Pseudocode, not original source. */ + +void Unwind_1400f2d60(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_14004bf10((longlong *)(*(longlong *)(param_2 + 0x80) + 0x808)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2d80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2d80.c new file mode 100644 index 00000000..79f8b8b5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2d80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2d80 Unwind@1400f2d80 + * Pseudocode, not original source. */ + +void Unwind_1400f2d80(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_14004c020((longlong *)(*(longlong *)(param_2 + 0x80) + 0x828)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2da0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2da0.c new file mode 100644 index 00000000..b862dd85 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2da0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2da0 Unwind@1400f2da0 + * Pseudocode, not original source. */ + +void Unwind_1400f2da0(undefined8 param_1,longlong param_2) + +{ + FUN_14004a040(*(longlong *)(param_2 + 0x80) + 0x840); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2dc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2dc0.c new file mode 100644 index 00000000..7b650787 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2dc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2dc0 Unwind@1400f2dc0 + * Pseudocode, not original source. */ + +void Unwind_1400f2dc0(undefined8 param_1,longlong param_2) + +{ + FUN_140095bd0((longlong *)(*(longlong *)(param_2 + 0x80) + 0xc48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2de0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2de0.c new file mode 100644 index 00000000..a19c41d8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2de0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2de0 Unwind@1400f2de0 + * Pseudocode, not original source. */ + +void Unwind_1400f2de0(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(*(longlong *)(param_2 + 0x80) + 0xc50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2e00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2e00.c new file mode 100644 index 00000000..c425e27d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2e00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2e00 Unwind@1400f2e00 + * Pseudocode, not original source. */ + +void Unwind_1400f2e00(undefined8 param_1,longlong param_2) + +{ + FUN_14004e270((char *)(*(longlong *)(param_2 + 0x80) + 0xc78)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2e20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2e20.c new file mode 100644 index 00000000..9e44d280 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2e20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2e20 Unwind@1400f2e20 + * Pseudocode, not original source. */ + +void Unwind_1400f2e20(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140048130(*(undefined8 **)(param_2 + 0x88),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2e30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2e30.c new file mode 100644 index 00000000..56195589 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2e30.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2e30 Unwind@1400f2e30 + * Pseudocode, not original source. */ + +void Unwind_1400f2e30(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140048130((undefined8 *)(*(longlong *)(param_2 + 0x80) + 0xcd0),param_2,param_3,param_4) + ; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2e50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2e50.c new file mode 100644 index 00000000..d3af4742 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2e50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2e50 Unwind@1400f2e50 + * Pseudocode, not original source. */ + +void Unwind_1400f2e50(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140051280((char *)(*(longlong *)(param_2 + 0x80) + 0x16e8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2e70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2e70.c new file mode 100644 index 00000000..6fbaab85 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2e70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2e70 Unwind@1400f2e70 + * Pseudocode, not original source. */ + +void Unwind_1400f2e70(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_14004e270((char *)(*(longlong *)(param_2 + 0x80) + 0x1740)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2e90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2e90.c new file mode 100644 index 00000000..458de970 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2e90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2e90 Unwind@1400f2e90 + * Pseudocode, not original source. */ + +void Unwind_1400f2e90(undefined8 param_1,longlong param_2) + +{ + FUN_14004b8d0((undefined8 *)(*(longlong *)(param_2 + 0x80) + 0x17a0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2eb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2eb0.c new file mode 100644 index 00000000..a7495df9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2eb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2eb0 Unwind@1400f2eb0 + * Pseudocode, not original source. */ + +void Unwind_1400f2eb0(undefined8 param_1,longlong param_2) + +{ + FUN_14004b910((undefined8 *)(*(longlong *)(param_2 + 0x80) + 0x17c8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2ed0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2ed0.c new file mode 100644 index 00000000..eaf0eaba --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2ed0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2ed0 Unwind@1400f2ed0 + * Pseudocode, not original source. */ + +void Unwind_1400f2ed0(undefined8 param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004ba10((undefined8 *)(param_2[0x10] + 0x17f0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2ef0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2ef0.c new file mode 100644 index 00000000..a7c4a3ad --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2ef0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2ef0 Unwind@1400f2ef0 + * Pseudocode, not original source. */ + +void Unwind_1400f2ef0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(*(longlong *)(param_2 + 0x80) + 0x1808),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2f10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2f10.c new file mode 100644 index 00000000..c260c6da --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2f10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2f10 Unwind@1400f2f10 + * Pseudocode, not original source. */ + +void Unwind_1400f2f10(undefined8 param_1,longlong param_2) + +{ + FUN_140038400((undefined8 *)(*(longlong *)(param_2 + 0x80) + 0x1848)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2f30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2f30.c new file mode 100644 index 00000000..1fa2b4e7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2f30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2f30 Unwind@1400f2f30 + * Pseudocode, not original source. */ + +void Unwind_1400f2f30(undefined8 param_1,longlong param_2,undefined8 param_3,longlong param_4) + +{ + FUN_140051170((longlong *)(param_2 + 0x88),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2f40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2f40.c new file mode 100644 index 00000000..16fb0d46 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2f40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2f40 Unwind@1400f2f40 + * Pseudocode, not original source. */ + +void Unwind_1400f2f40(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2f50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2f50.c new file mode 100644 index 00000000..69d63bb5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2f50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2f50 Unwind@1400f2f50 + * Pseudocode, not original source. */ + +void Unwind_1400f2f50(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x30); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2f60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2f60.c new file mode 100644 index 00000000..57eb96cb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2f60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2f60 Unwind@1400f2f60 + * Pseudocode, not original source. */ + +void Unwind_1400f2f60(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140064800(param_2 + 0x28,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2f70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2f70.c new file mode 100644 index 00000000..b75f66c5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2f70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2f70 Unwind@1400f2f70 + * Pseudocode, not original source. */ + +void Unwind_1400f2f70(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2fa0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2fa0.c new file mode 100644 index 00000000..c1abc38d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2fa0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2fa0 Unwind@1400f2fa0 + * Pseudocode, not original source. */ + +void Unwind_1400f2fa0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(*(longlong *)(param_2 + 0x178) + 8); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2fb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2fb0.c new file mode 100644 index 00000000..2ebc6da1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2fb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2fb0 Unwind@1400f2fb0 + * Pseudocode, not original source. */ + +void Unwind_1400f2fb0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x30); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2fc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2fc0.c new file mode 100644 index 00000000..7083485a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2fc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2fc0 Unwind@1400f2fc0 + * Pseudocode, not original source. */ + +void Unwind_1400f2fc0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x160) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2fd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2fd0.c new file mode 100644 index 00000000..30ccabd4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2fd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2fd0 Unwind@1400f2fd0 + * Pseudocode, not original source. */ + +void Unwind_1400f2fd0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 0x88),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2fe0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2fe0.c new file mode 100644 index 00000000..4d3d040f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2fe0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2fe0 Unwind@1400f2fe0 + * Pseudocode, not original source. */ + +void Unwind_1400f2fe0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140064160((longlong *)(param_2 + 0x98),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f2ff0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f2ff0.c new file mode 100644 index 00000000..cc6a932f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f2ff0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f2ff0 Unwind@1400f2ff0 + * Pseudocode, not original source. */ + +void Unwind_1400f2ff0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400645f0(param_2 + 0x80,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3000.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3000.c new file mode 100644 index 00000000..7daaa01f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3000.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3000 Unwind@1400f3000 + * Pseudocode, not original source. */ + +void Unwind_1400f3000(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3010.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3010.c new file mode 100644 index 00000000..17d6355a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3010.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3010 Unwind@1400f3010 + * Pseudocode, not original source. */ + +void Unwind_1400f3010(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x38),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3020.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3020.c new file mode 100644 index 00000000..9bfc56f1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3020.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3020 Unwind@1400f3020 + * Pseudocode, not original source. */ + +void Unwind_1400f3020(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 0x30),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3030.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3030.c new file mode 100644 index 00000000..8715bb06 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3030.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3030 Unwind@1400f3030 + * Pseudocode, not original source. */ + +void Unwind_1400f3030(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3040.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3040.c new file mode 100644 index 00000000..d6643eca --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3040.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3040 Unwind@1400f3040 + * Pseudocode, not original source. */ + +void Unwind_1400f3040(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3050.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3050.c new file mode 100644 index 00000000..0353572e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3050.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3050 Unwind@1400f3050 + * Pseudocode, not original source. */ + +void Unwind_1400f3050(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 0x88),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3060.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3060.c new file mode 100644 index 00000000..ae2a84ed --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3060.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3060 Unwind@1400f3060 + * Pseudocode, not original source. */ + +void Unwind_1400f3060(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140064160((longlong *)(param_2 + 0x98),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3070.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3070.c new file mode 100644 index 00000000..63790c12 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3070.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3070 Unwind@1400f3070 + * Pseudocode, not original source. */ + +void Unwind_1400f3070(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400641e0((longlong *)(param_2 + 0xa0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3080.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3080.c new file mode 100644 index 00000000..eea040d8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3080.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3080 Unwind@1400f3080 + * Pseudocode, not original source. */ + +void Unwind_1400f3080(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0xa8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3090.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3090.c new file mode 100644 index 00000000..edc2fd7a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3090.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3090 Unwind@1400f3090 + * Pseudocode, not original source. */ + +void Unwind_1400f3090(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3e0((longlong *)(param_2 + 0xd0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f30a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f30a0.c new file mode 100644 index 00000000..12e206bb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f30a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f30a0 Unwind@1400f30a0 + * Pseudocode, not original source. */ + +void Unwind_1400f30a0(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0xf8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f30b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f30b0.c new file mode 100644 index 00000000..10eb344b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f30b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f30b0 Unwind@1400f30b0 + * Pseudocode, not original source. */ + +void Unwind_1400f30b0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x38) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f30c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f30c0.c new file mode 100644 index 00000000..1d8bc7bb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f30c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f30c0 Unwind@1400f30c0 + * Pseudocode, not original source. */ + +void Unwind_1400f30c0(undefined8 param_1,longlong param_2) + +{ + FUN_140038400((undefined8 *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f30d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f30d0.c new file mode 100644 index 00000000..5a819fb3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f30d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f30d0 Unwind@1400f30d0 + * Pseudocode, not original source. */ + +void Unwind_1400f30d0(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140051090((char *)(param_2 + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f30e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f30e0.c new file mode 100644 index 00000000..8104f8e3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f30e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f30e0 Unwind@1400f30e0 + * Pseudocode, not original source. */ + +void Unwind_1400f30e0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x80)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f30f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f30f0.c new file mode 100644 index 00000000..129e779c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f30f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f30f0 Unwind@1400f30f0 + * Pseudocode, not original source. */ + +void Unwind_1400f30f0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140061740((longlong *)(param_2 + 0x60),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3100.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3100.c new file mode 100644 index 00000000..dca8a35e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3100.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3100 Unwind@1400f3100 + * Pseudocode, not original source. */ + +void Unwind_1400f3100(undefined8 param_1,longlong param_2) + +{ + FUN_1400510b0((longlong *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3110.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3110.c new file mode 100644 index 00000000..ef66858d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3110.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3110 Unwind@1400f3110 + * Pseudocode, not original source. */ + +void Unwind_1400f3110(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3120.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3120.c new file mode 100644 index 00000000..bc2a5044 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3120.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3120 Unwind@1400f3120 + * Pseudocode, not original source. */ + +void Unwind_1400f3120(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140061740((longlong *)(param_2 + 0xa0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3130.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3130.c new file mode 100644 index 00000000..462c42ec --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3130.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3130 Unwind@1400f3130 + * Pseudocode, not original source. */ + +void Unwind_1400f3130(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140064260((longlong *)(param_2 + 0x90),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3140.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3140.c new file mode 100644 index 00000000..8d1a5371 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3140.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3140 Unwind@1400f3140 + * Pseudocode, not original source. */ + +void Unwind_1400f3140(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3150.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3150.c new file mode 100644 index 00000000..bb59404b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3150.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3150 Unwind@1400f3150 + * Pseudocode, not original source. */ + +void Unwind_1400f3150(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003d110(*(undefined4 **)(param_2 + 0xa8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3160.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3160.c new file mode 100644 index 00000000..257d28cf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3160.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3160 Unwind@1400f3160 + * Pseudocode, not original source. */ + +void Unwind_1400f3160(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3170.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3170.c new file mode 100644 index 00000000..9d4644b0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3170.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3170 Unwind@1400f3170 + * Pseudocode, not original source. */ + +void Unwind_1400f3170(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140061740((longlong *)(param_2 + 0xa0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3180.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3180.c new file mode 100644 index 00000000..0cd0a19c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3180.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3180 Unwind@1400f3180 + * Pseudocode, not original source. */ + +void Unwind_1400f3180(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40(*(undefined8 **)(param_2 + 0x228)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3190.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3190.c new file mode 100644 index 00000000..b3a35fa4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3190.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3190 Unwind@1400f3190 + * Pseudocode, not original source. */ + +void Unwind_1400f3190(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140061740((longlong *)(param_2 + 0x80),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f31a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f31a0.c new file mode 100644 index 00000000..267fb950 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f31a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f31a0 Unwind@1400f31a0 + * Pseudocode, not original source. */ + +void Unwind_1400f31a0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140061740((longlong *)(param_2 + 0xd8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f31b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f31b0.c new file mode 100644 index 00000000..5c1ce153 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f31b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f31b0 Unwind@1400f31b0 + * Pseudocode, not original source. */ + +void Unwind_1400f31b0(undefined8 param_1,longlong param_2) + +{ + FUN_1400510b0((longlong *)(param_2 + 0x88)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f31c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f31c0.c new file mode 100644 index 00000000..4e7c889a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f31c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f31c0 Unwind@1400f31c0 + * Pseudocode, not original source. */ + +void Unwind_1400f31c0(undefined8 param_1,longlong param_2) + +{ + FUN_1400510b0((longlong *)(param_2 + 0x128)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f31d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f31d0.c new file mode 100644 index 00000000..884a7d21 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f31d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f31d0 Unwind@1400f31d0 + * Pseudocode, not original source. */ + +void Unwind_1400f31d0(undefined8 param_1,longlong param_2) + +{ + FUN_1400510b0((longlong *)(param_2 + 0x130)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f31e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f31e0.c new file mode 100644 index 00000000..1d56dc9f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f31e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f31e0 Unwind@1400f31e0 + * Pseudocode, not original source. */ + +void Unwind_1400f31e0(undefined8 param_1,longlong param_2) + +{ + FUN_1400510b0((longlong *)(param_2 + 0xf8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f31f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f31f0.c new file mode 100644 index 00000000..4d7a4d06 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f31f0.c @@ -0,0 +1,59 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f31f0 Catch@1400f31f0 + * Pseudocode, not original source. */ + +undefined * +Catch_1400f31f0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + int *piVar1; + short *psVar2; + uint uVar3; + uint uVar4; + LPCSTR pCVar5; + int *piVar6; + longlong lVar7; + undefined8 uVar8; + short *psVar9; + ulonglong uVar10; + + FUN_14003e7c0(param_1,param_2,param_3,param_4); + *(undefined **)(param_2 + 0x108) = PTR_DAT_14016f010; + pCVar5 = (LPCSTR)(**(code **)(**(longlong **)(param_2 + 0x3e0) + 8))(); + *(longlong *)(param_2 + 0x5a0) = param_2 + 0x5a8; + FUN_140005110((longlong *)(param_2 + 0x5a0),pCVar5,3); + memcpy((void *)(param_2 + 0x410),(void *)(param_2 + 0x5a0),0x108); + uVar3 = (**(code **)**(undefined8 **)(param_2 + 0xb0))(); + uVar4 = (**(code **)**(undefined8 **)(param_2 + 0xa8))(); + uVar10 = (ulonglong)uVar3; + FUN_140029b80((longlong *)(param_2 + 0x108),L"%d와 %d간의 P2P session key make failed : %s", + (ulonglong)uVar4,uVar10); + if (*(void **)(param_2 + 0x5a0) != (void *)(param_2 + 0x5a8)) { + free(*(void **)(param_2 + 0x5a0)); + } + psVar2 = *(short **)(param_2 + 0x108); + psVar9 = psVar2; + if (psVar2 == (short *)0x0) { + psVar9 = (short *)PTR_DAT_14016f010; + } + uVar8 = 1; + lVar7 = *(longlong *)(*(longlong *)(param_2 + 0x150) + 0x17f0); + FUN_1400843d0(lVar7,1,psVar9,uVar10); + if (((psVar2 != (short *)0x0) && (psVar2 != (short *)PTR_DAT_14016f010)) && + (psVar2 + -4 != (short *)0x0)) { + piVar6 = (int *)FUN_14003e7c0(lVar7,uVar8,psVar9,uVar10); + *(int **)(param_2 + 0x340) = piVar6; + FUN_14003d040(piVar6); + *(undefined1 *)(param_2 + 0x348) = 1; + piVar1 = (int *)(psVar2 + -2); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(psVar2 + -4); + } + FUN_14003d0d0((longlong)piVar6); + *(undefined1 *)(param_2 + 0x348) = 0; + } + *(undefined **)(param_2 + 0x108) = PTR_DAT_14016f010; + return &DAT_14006b0ce; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3350.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3350.c new file mode 100644 index 00000000..e1fdd638 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3350.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3350 Unwind@1400f3350 + * Pseudocode, not original source. */ + +void Unwind_1400f3350(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x108),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3360.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3360.c new file mode 100644 index 00000000..4fbdfc1b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3360.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3360 Unwind@1400f3360 + * Pseudocode, not original source. */ + +void Unwind_1400f3360(undefined8 param_1,longlong param_2) + +{ + FUN_140005000((undefined8 *)(param_2 + 0x5a0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3370.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3370.c new file mode 100644 index 00000000..e99fd1db --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3370.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3370 Unwind@1400f3370 + * Pseudocode, not original source. */ + +void Unwind_1400f3370(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x340)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3380.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3380.c new file mode 100644 index 00000000..0686c1b7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3380.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3380 Unwind@1400f3380 + * Pseudocode, not original source. */ + +void Unwind_1400f3380(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 600)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3390.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3390.c new file mode 100644 index 00000000..d273c12b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3390.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3390 Unwind@1400f3390 + * Pseudocode, not original source. */ + +void Unwind_1400f3390(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x280)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f33a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f33a0.c new file mode 100644 index 00000000..160c3655 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f33a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f33a0 Unwind@1400f33a0 + * Pseudocode, not original source. */ + +void Unwind_1400f33a0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x110),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f33b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f33b0.c new file mode 100644 index 00000000..c6be7c6d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f33b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f33b0 Unwind@1400f33b0 + * Pseudocode, not original source. */ + +void Unwind_1400f33b0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 800)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f33c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f33c0.c new file mode 100644 index 00000000..d0f72e33 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f33c0.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f33c0 Unwind@1400f33c0 + * Pseudocode, not original source. */ + +void Unwind_1400f33c0(undefined8 param_1,longlong param_2) + +{ + if ((*(uint *)(param_2 + 0x70) & 1) != 0) { + *(uint *)(param_2 + 0x70) = *(uint *)(param_2 + 0x70) & 0xfffffffe; + FUN_140049e40((undefined8 *)(param_2 + 0x1d8)); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f33f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f33f0.c new file mode 100644 index 00000000..ce5bad47 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f33f0.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f33f0 Unwind@1400f33f0 + * Pseudocode, not original source. */ + +void Unwind_1400f33f0(undefined8 param_1,longlong param_2) + +{ + if ((*(uint *)(param_2 + 0x70) & 2) != 0) { + *(uint *)(param_2 + 0x70) = *(uint *)(param_2 + 0x70) & 0xfffffffd; + FUN_140049e40((undefined8 *)(param_2 + 0x2f8)); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3420.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3420.c new file mode 100644 index 00000000..4f6c0a0a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3420.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3420 Unwind@1400f3420 + * Pseudocode, not original source. */ + +void Unwind_1400f3420(undefined8 param_1,longlong param_2) + +{ + if ((*(uint *)(param_2 + 0x70) & 4) != 0) { + *(uint *)(param_2 + 0x70) = *(uint *)(param_2 + 0x70) & 0xfffffffb; + FUN_140049e40((undefined8 *)(param_2 + 0x188)); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3450.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3450.c new file mode 100644 index 00000000..26da3975 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3450.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3450 Unwind@1400f3450 + * Pseudocode, not original source. */ + +void Unwind_1400f3450(undefined8 param_1,longlong param_2) + +{ + if ((*(uint *)(param_2 + 0x70) & 8) != 0) { + *(uint *)(param_2 + 0x70) = *(uint *)(param_2 + 0x70) & 0xfffffff7; + FUN_140049e40((undefined8 *)(param_2 + 0x2a8)); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3480.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3480.c new file mode 100644 index 00000000..c86e432b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3480.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3480 Unwind@1400f3480 + * Pseudocode, not original source. */ + +void Unwind_1400f3480(undefined8 param_1,longlong param_2) + +{ + if ((*(uint *)(param_2 + 0x70) & 0x10) != 0) { + *(uint *)(param_2 + 0x70) = *(uint *)(param_2 + 0x70) & 0xffffffef; + FUN_140049e40((undefined8 *)(param_2 + 0x1b0)); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f34b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f34b0.c new file mode 100644 index 00000000..438630be --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f34b0.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f34b0 Unwind@1400f34b0 + * Pseudocode, not original source. */ + +void Unwind_1400f34b0(undefined8 param_1,longlong param_2) + +{ + if ((*(uint *)(param_2 + 0x70) & 0x20) != 0) { + *(uint *)(param_2 + 0x70) = *(uint *)(param_2 + 0x70) & 0xffffffdf; + FUN_140049e40((undefined8 *)(param_2 + 0x230)); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f34e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f34e0.c new file mode 100644 index 00000000..74dc6abf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f34e0.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f34e0 Unwind@1400f34e0 + * Pseudocode, not original source. */ + +void Unwind_1400f34e0(undefined8 param_1,longlong param_2) + +{ + if ((*(uint *)(param_2 + 0x70) & 0x40) != 0) { + *(uint *)(param_2 + 0x70) = *(uint *)(param_2 + 0x70) & 0xffffffbf; + FUN_140049e40((undefined8 *)(param_2 + 0x160)); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3510.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3510.c new file mode 100644 index 00000000..56ea617f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3510.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3510 Unwind@1400f3510 + * Pseudocode, not original source. */ + +void Unwind_1400f3510(undefined8 param_1,longlong param_2) + +{ + if ((*(uint *)(param_2 + 0x70) & 0x80) != 0) { + *(uint *)(param_2 + 0x70) = *(uint *)(param_2 + 0x70) & 0xffffff7f; + FUN_140049e40((undefined8 *)(param_2 + 0x2d0)); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3540.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3540.c new file mode 100644 index 00000000..4ca33315 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3540.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3540 Unwind@1400f3540 + * Pseudocode, not original source. */ + +void Unwind_1400f3540(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x118),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3550.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3550.c new file mode 100644 index 00000000..8d97456a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3550.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3550 Unwind@1400f3550 + * Pseudocode, not original source. */ + +void Unwind_1400f3550(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x140),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3560.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3560.c new file mode 100644 index 00000000..5ece8ec0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3560.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3560 Unwind@1400f3560 + * Pseudocode, not original source. */ + +void Unwind_1400f3560(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x330)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3570.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3570.c new file mode 100644 index 00000000..529085e1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3570.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3570 Unwind@1400f3570 + * Pseudocode, not original source. */ + +void Unwind_1400f3570(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x200)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3580.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3580.c new file mode 100644 index 00000000..9a0d421d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3580.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3580 Unwind@1400f3580 + * Pseudocode, not original source. */ + +void Unwind_1400f3580(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40(*(undefined8 **)(param_2 + 0xa8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3590.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3590.c new file mode 100644 index 00000000..283becb5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3590.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3590 Unwind@1400f3590 + * Pseudocode, not original source. */ + +void Unwind_1400f3590(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f35a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f35a0.c new file mode 100644 index 00000000..6cb9628e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f35a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f35a0 Unwind@1400f35a0 + * Pseudocode, not original source. */ + +void Unwind_1400f35a0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x130)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f35b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f35b0.c new file mode 100644 index 00000000..2c319fe7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f35b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f35b0 Unwind@1400f35b0 + * Pseudocode, not original source. */ + +void Unwind_1400f35b0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 0x48),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f35c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f35c0.c new file mode 100644 index 00000000..437d84e1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f35c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f35c0 Unwind@1400f35c0 + * Pseudocode, not original source. */ + +void Unwind_1400f35c0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140064160((longlong *)(param_2 + 0x58),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f35d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f35d0.c new file mode 100644 index 00000000..1b417190 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f35d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f35d0 Unwind@1400f35d0 + * Pseudocode, not original source. */ + +void Unwind_1400f35d0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400645f0(param_2 + 0x40,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f35e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f35e0.c new file mode 100644 index 00000000..074719c0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f35e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f35e0 Unwind@1400f35e0 + * Pseudocode, not original source. */ + +void Unwind_1400f35e0(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_14003e8b0(*(LPVOID *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3600.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3600.c new file mode 100644 index 00000000..b51ecdf0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3600.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3600 Unwind@1400f3600 + * Pseudocode, not original source. */ + +void Unwind_1400f3600(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3620.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3620.c new file mode 100644 index 00000000..f52e3660 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3620.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3620 Unwind@1400f3620 + * Pseudocode, not original source. */ + +void Unwind_1400f3620(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 0x20),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3630.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3630.c new file mode 100644 index 00000000..8c219db5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3630.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3630 Unwind@1400f3630 + * Pseudocode, not original source. */ + +void Unwind_1400f3630(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3640.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3640.c new file mode 100644 index 00000000..de8b1abd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3640.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3640 Unwind@1400f3640 + * Pseudocode, not original source. */ + +void Unwind_1400f3640(undefined8 param_1,longlong param_2) + +{ + FUN_140005000((undefined8 *)(param_2 + 0x150)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3650.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3650.c new file mode 100644 index 00000000..0fc9caf2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3650.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3650 Unwind@1400f3650 + * Pseudocode, not original source. */ + +void Unwind_1400f3650(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 0x48),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3660.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3660.c new file mode 100644 index 00000000..bb15981b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3660.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3660 Unwind@1400f3660 + * Pseudocode, not original source. */ + +void Unwind_1400f3660(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140064160((longlong *)(param_2 + 0x58),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3670.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3670.c new file mode 100644 index 00000000..7df8d9f9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3670.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3670 Unwind@1400f3670 + * Pseudocode, not original source. */ + +void Unwind_1400f3670(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400641e0((longlong *)(param_2 + 0x60),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3680.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3680.c new file mode 100644 index 00000000..534f7b8c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3680.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3680 Unwind@1400f3680 + * Pseudocode, not original source. */ + +void Unwind_1400f3680(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3690.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3690.c new file mode 100644 index 00000000..af645d0b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3690.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3690 Unwind@1400f3690 + * Pseudocode, not original source. */ + +void Unwind_1400f3690(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3e0((longlong *)(param_2 + 0x90)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f36a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f36a0.c new file mode 100644 index 00000000..c1e6738d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f36a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f36a0 Unwind@1400f36a0 + * Pseudocode, not original source. */ + +void Unwind_1400f36a0(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0xb8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f36b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f36b0.c new file mode 100644 index 00000000..7d8c4f75 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f36b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f36b0 Unwind@1400f36b0 + * Pseudocode, not original source. */ + +void Unwind_1400f36b0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x28) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f36c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f36c0.c new file mode 100644 index 00000000..3d039747 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f36c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f36c0 Unwind@1400f36c0 + * Pseudocode, not original source. */ + +void Unwind_1400f36c0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x110)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f36d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f36d0.c new file mode 100644 index 00000000..e32442e0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f36d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f36d0 Unwind@1400f36d0 + * Pseudocode, not original source. */ + +void Unwind_1400f36d0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 0x28),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f36e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f36e0.c new file mode 100644 index 00000000..f4942f27 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f36e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f36e0 Unwind@1400f36e0 + * Pseudocode, not original source. */ + +void Unwind_1400f36e0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140064160((longlong *)(param_2 + 0x38),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f36f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f36f0.c new file mode 100644 index 00000000..30e14924 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f36f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f36f0 Unwind@1400f36f0 + * Pseudocode, not original source. */ + +void Unwind_1400f36f0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400645f0(param_2 + 0x20,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3700.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3700.c new file mode 100644 index 00000000..3823b19e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3700.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3700 Unwind@1400f3700 + * Pseudocode, not original source. */ + +void Unwind_1400f3700(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 0x28),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3710.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3710.c new file mode 100644 index 00000000..95290af6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3710.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3710 Unwind@1400f3710 + * Pseudocode, not original source. */ + +void Unwind_1400f3710(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140064160((longlong *)(param_2 + 0x38),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3720.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3720.c new file mode 100644 index 00000000..aa1557cd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3720.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3720 Unwind@1400f3720 + * Pseudocode, not original source. */ + +void Unwind_1400f3720(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400641e0((longlong *)(param_2 + 0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3730.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3730.c new file mode 100644 index 00000000..5befd7bd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3730.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3730 Unwind@1400f3730 + * Pseudocode, not original source. */ + +void Unwind_1400f3730(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3740.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3740.c new file mode 100644 index 00000000..bccd62b3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3740.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3740 Unwind@1400f3740 + * Pseudocode, not original source. */ + +void Unwind_1400f3740(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3e0((longlong *)(param_2 + 0x70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3750.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3750.c new file mode 100644 index 00000000..1ff21aa6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3750.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3750 Unwind@1400f3750 + * Pseudocode, not original source. */ + +void Unwind_1400f3750(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x98)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3760.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3760.c new file mode 100644 index 00000000..36081c92 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3760.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3760 Unwind@1400f3760 + * Pseudocode, not original source. */ + +void Unwind_1400f3760(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x150) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3770.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3770.c new file mode 100644 index 00000000..aadbf400 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3770.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3770 Unwind@1400f3770 + * Pseudocode, not original source. */ + +void Unwind_1400f3770(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x188),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3780.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3780.c new file mode 100644 index 00000000..15c2fadb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3780.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3780 Unwind@1400f3780 + * Pseudocode, not original source. */ + +void Unwind_1400f3780(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x120)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3790.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3790.c new file mode 100644 index 00000000..7a836fe4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3790.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3790 Unwind@1400f3790 + * Pseudocode, not original source. */ + +void Unwind_1400f3790(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 0x28),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f37a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f37a0.c new file mode 100644 index 00000000..d56b589a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f37a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f37a0 Unwind@1400f37a0 + * Pseudocode, not original source. */ + +void Unwind_1400f37a0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140064160((longlong *)(param_2 + 0x38),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f37b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f37b0.c new file mode 100644 index 00000000..f3ecee21 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f37b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f37b0 Unwind@1400f37b0 + * Pseudocode, not original source. */ + +void Unwind_1400f37b0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400645f0(param_2 + 0x20,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f37c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f37c0.c new file mode 100644 index 00000000..1cd018dc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f37c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f37c0 Unwind@1400f37c0 + * Pseudocode, not original source. */ + +void Unwind_1400f37c0(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_14003e8b0(*(LPVOID *)(param_2 + 0x180)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f37e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f37e0.c new file mode 100644 index 00000000..d450ec05 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f37e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f37e0 Unwind@1400f37e0 + * Pseudocode, not original source. */ + +void Unwind_1400f37e0(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3810.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3810.c new file mode 100644 index 00000000..24c80a0a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3810.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3810 Unwind@1400f3810 + * Pseudocode, not original source. */ + +void Unwind_1400f3810(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 0x180),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3820.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3820.c new file mode 100644 index 00000000..92070ce3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3820.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3820 Unwind@1400f3820 + * Pseudocode, not original source. */ + +void Unwind_1400f3820(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x110)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3830.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3830.c new file mode 100644 index 00000000..925dddbf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3830.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3830 Unwind@1400f3830 + * Pseudocode, not original source. */ + +void Unwind_1400f3830(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 0x28),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3840.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3840.c new file mode 100644 index 00000000..b231894e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3840.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3840 Unwind@1400f3840 + * Pseudocode, not original source. */ + +void Unwind_1400f3840(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140064160((longlong *)(param_2 + 0x38),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3850.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3850.c new file mode 100644 index 00000000..ddb4b06e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3850.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3850 Unwind@1400f3850 + * Pseudocode, not original source. */ + +void Unwind_1400f3850(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400641e0((longlong *)(param_2 + 0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3860.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3860.c new file mode 100644 index 00000000..f89ce4ea --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3860.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3860 Unwind@1400f3860 + * Pseudocode, not original source. */ + +void Unwind_1400f3860(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3870.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3870.c new file mode 100644 index 00000000..6f4be0ea --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3870.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3870 Unwind@1400f3870 + * Pseudocode, not original source. */ + +void Unwind_1400f3870(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3e0((longlong *)(param_2 + 0x70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3880.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3880.c new file mode 100644 index 00000000..b6b485aa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3880.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3880 Unwind@1400f3880 + * Pseudocode, not original source. */ + +void Unwind_1400f3880(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x98)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3890.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3890.c new file mode 100644 index 00000000..95c1963f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3890.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3890 Unwind@1400f3890 + * Pseudocode, not original source. */ + +void Unwind_1400f3890(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x180) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f38a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f38a0.c new file mode 100644 index 00000000..8ee6b2df --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f38a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f38a0 Unwind@1400f38a0 + * Pseudocode, not original source. */ + +void Unwind_1400f38a0(undefined8 param_1,longlong param_2) + +{ + FUN_140038400((undefined8 *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f38b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f38b0.c new file mode 100644 index 00000000..27d2a2d6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f38b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f38b0 Unwind@1400f38b0 + * Pseudocode, not original source. */ + +void Unwind_1400f38b0(undefined8 param_1,longlong param_2) + +{ + FUN_140038400((undefined8 *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f38c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f38c0.c new file mode 100644 index 00000000..8a992850 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f38c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f38c0 Unwind@1400f38c0 + * Pseudocode, not original source. */ + +void Unwind_1400f38c0(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140006e80((longlong *)(param_2 + 0x98)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f38d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f38d0.c new file mode 100644 index 00000000..ff310279 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f38d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f38d0 Unwind@1400f38d0 + * Pseudocode, not original source. */ + +void Unwind_1400f38d0(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140006e80((longlong *)(param_2 + 0xa0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f38e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f38e0.c new file mode 100644 index 00000000..25e04bf7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f38e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f38e0 Unwind@1400f38e0 + * Pseudocode, not original source. */ + +void Unwind_1400f38e0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x38); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f38f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f38f0.c new file mode 100644 index 00000000..14c5827c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f38f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f38f0 Unwind@1400f38f0 + * Pseudocode, not original source. */ + +void Unwind_1400f38f0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0xa8) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3900.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3900.c new file mode 100644 index 00000000..a1a413e1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3900.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3900 Unwind@1400f3900 + * Pseudocode, not original source. */ + +void Unwind_1400f3900(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3910.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3910.c new file mode 100644 index 00000000..260d098b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3910.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3910 Unwind@1400f3910 + * Pseudocode, not original source. */ + +void Unwind_1400f3910(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3920.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3920.c new file mode 100644 index 00000000..b90ddecf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3920.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3920 Unwind@1400f3920 + * Pseudocode, not original source. */ + +void Unwind_1400f3920(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280(*(longlong **)(param_2 + 0x188),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3930.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3930.c new file mode 100644 index 00000000..7da4a33a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3930.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3930 Unwind@1400f3930 + * Pseudocode, not original source. */ + +void Unwind_1400f3930(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x120)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3940.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3940.c new file mode 100644 index 00000000..b1474207 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3940.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3940 Unwind@1400f3940 + * Pseudocode, not original source. */ + +void Unwind_1400f3940(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 0x28),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3950.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3950.c new file mode 100644 index 00000000..7eefb471 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3950.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3950 Unwind@1400f3950 + * Pseudocode, not original source. */ + +void Unwind_1400f3950(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140064160((longlong *)(param_2 + 0x38),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3960.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3960.c new file mode 100644 index 00000000..ad7688b9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3960.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3960 Unwind@1400f3960 + * Pseudocode, not original source. */ + +void Unwind_1400f3960(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400645f0(param_2 + 0x20,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3970.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3970.c new file mode 100644 index 00000000..3df291bf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3970.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3970 Unwind@1400f3970 + * Pseudocode, not original source. */ + +void Unwind_1400f3970(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_14003e8b0(*(LPVOID *)(param_2 + 0x180)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3990.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3990.c new file mode 100644 index 00000000..b43d60c0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3990.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3990 Unwind@1400f3990 + * Pseudocode, not original source. */ + +void Unwind_1400f3990(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f39c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f39c0.c new file mode 100644 index 00000000..0508dd02 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f39c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f39c0 Unwind@1400f39c0 + * Pseudocode, not original source. */ + +void Unwind_1400f39c0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 0x180),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f39d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f39d0.c new file mode 100644 index 00000000..bf7e82c4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f39d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f39d0 Unwind@1400f39d0 + * Pseudocode, not original source. */ + +void Unwind_1400f39d0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x110)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f39e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f39e0.c new file mode 100644 index 00000000..7fe5b842 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f39e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f39e0 Unwind@1400f39e0 + * Pseudocode, not original source. */ + +void Unwind_1400f39e0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 0x28),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f39f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f39f0.c new file mode 100644 index 00000000..454cf73b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f39f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f39f0 Unwind@1400f39f0 + * Pseudocode, not original source. */ + +void Unwind_1400f39f0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140064160((longlong *)(param_2 + 0x38),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3a00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3a00.c new file mode 100644 index 00000000..2b5eddff --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3a00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3a00 Unwind@1400f3a00 + * Pseudocode, not original source. */ + +void Unwind_1400f3a00(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400641e0((longlong *)(param_2 + 0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3a10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3a10.c new file mode 100644 index 00000000..af8b05d6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3a10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3a10 Unwind@1400f3a10 + * Pseudocode, not original source. */ + +void Unwind_1400f3a10(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3a20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3a20.c new file mode 100644 index 00000000..a214dc78 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3a20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3a20 Unwind@1400f3a20 + * Pseudocode, not original source. */ + +void Unwind_1400f3a20(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3e0((longlong *)(param_2 + 0x70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3a30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3a30.c new file mode 100644 index 00000000..07c9473b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3a30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3a30 Unwind@1400f3a30 + * Pseudocode, not original source. */ + +void Unwind_1400f3a30(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x98)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3a40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3a40.c new file mode 100644 index 00000000..57f277a1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3a40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3a40 Unwind@1400f3a40 + * Pseudocode, not original source. */ + +void Unwind_1400f3a40(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x180) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3a50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3a50.c new file mode 100644 index 00000000..7f6f1838 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3a50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3a50 Unwind@1400f3a50 + * Pseudocode, not original source. */ + +void Unwind_1400f3a50(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 0x28),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3a60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3a60.c new file mode 100644 index 00000000..9bf28530 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3a60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3a60 Unwind@1400f3a60 + * Pseudocode, not original source. */ + +void Unwind_1400f3a60(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140064160((longlong *)(param_2 + 0x38),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3a70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3a70.c new file mode 100644 index 00000000..05b2cf89 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3a70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3a70 Unwind@1400f3a70 + * Pseudocode, not original source. */ + +void Unwind_1400f3a70(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400645f0(param_2 + 0x20,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3a80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3a80.c new file mode 100644 index 00000000..7ca06248 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3a80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3a80 Unwind@1400f3a80 + * Pseudocode, not original source. */ + +void Unwind_1400f3a80(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 0x28),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3a90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3a90.c new file mode 100644 index 00000000..2754a20d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3a90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3a90 Unwind@1400f3a90 + * Pseudocode, not original source. */ + +void Unwind_1400f3a90(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140064160((longlong *)(param_2 + 0x38),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3aa0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3aa0.c new file mode 100644 index 00000000..a0d395fa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3aa0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3aa0 Unwind@1400f3aa0 + * Pseudocode, not original source. */ + +void Unwind_1400f3aa0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400641e0((longlong *)(param_2 + 0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3ab0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3ab0.c new file mode 100644 index 00000000..b516939a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3ab0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3ab0 Unwind@1400f3ab0 + * Pseudocode, not original source. */ + +void Unwind_1400f3ab0(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3ac0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3ac0.c new file mode 100644 index 00000000..731a8169 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3ac0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3ac0 Unwind@1400f3ac0 + * Pseudocode, not original source. */ + +void Unwind_1400f3ac0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3e0((longlong *)(param_2 + 0x70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3ad0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3ad0.c new file mode 100644 index 00000000..8e6bed54 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3ad0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3ad0 Unwind@1400f3ad0 + * Pseudocode, not original source. */ + +void Unwind_1400f3ad0(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x98)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3ae0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3ae0.c new file mode 100644 index 00000000..9da732d9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3ae0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3ae0 Unwind@1400f3ae0 + * Pseudocode, not original source. */ + +void Unwind_1400f3ae0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x140) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3af0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3af0.c new file mode 100644 index 00000000..634dce2c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3af0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3af0 Unwind@1400f3af0 + * Pseudocode, not original source. */ + +void Unwind_1400f3af0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3b00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3b00.c new file mode 100644 index 00000000..e0755d41 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3b00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3b00 Unwind@1400f3b00 + * Pseudocode, not original source. */ + +void Unwind_1400f3b00(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140061740((longlong *)(param_2 + 0x60),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3b10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3b10.c new file mode 100644 index 00000000..a95bfdf7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3b10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3b10 Unwind@1400f3b10 + * Pseudocode, not original source. */ + +void Unwind_1400f3b10(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3b20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3b20.c new file mode 100644 index 00000000..df3655ba --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3b20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3b20 Unwind@1400f3b20 + * Pseudocode, not original source. */ + +void Unwind_1400f3b20(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140061740((longlong *)(param_2 + 0x90),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3b30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3b30.c new file mode 100644 index 00000000..24dea725 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3b30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3b30 Unwind@1400f3b30 + * Pseudocode, not original source. */ + +void Unwind_1400f3b30(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40(*(undefined8 **)(param_2 + 0xa0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3b40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3b40.c new file mode 100644 index 00000000..239eff81 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3b40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3b40 Unwind@1400f3b40 + * Pseudocode, not original source. */ + +void Unwind_1400f3b40(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3b50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3b50.c new file mode 100644 index 00000000..bab10710 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3b50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3b50 Unwind@1400f3b50 + * Pseudocode, not original source. */ + +void Unwind_1400f3b50(undefined8 param_1,longlong param_2) + +{ + FUN_14004d2c0((undefined8 *)(param_2 + 0xe0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3b60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3b60.c new file mode 100644 index 00000000..85a52e66 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3b60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3b60 Unwind@1400f3b60 + * Pseudocode, not original source. */ + +void Unwind_1400f3b60(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x30),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3b70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3b70.c new file mode 100644 index 00000000..f3c0259b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3b70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3b70 Unwind@1400f3b70 + * Pseudocode, not original source. */ + +void Unwind_1400f3b70(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3b80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3b80.c new file mode 100644 index 00000000..5a5960a6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3b80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3b80 Unwind@1400f3b80 + * Pseudocode, not original source. */ + +void Unwind_1400f3b80(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x90)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3b90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3b90.c new file mode 100644 index 00000000..affd3143 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3b90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3b90 Unwind@1400f3b90 + * Pseudocode, not original source. */ + +void Unwind_1400f3b90(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_14003e8b0(*(LPVOID *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3bb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3bb0.c new file mode 100644 index 00000000..775f0c9d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3bb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3bb0 Unwind@1400f3bb0 + * Pseudocode, not original source. */ + +void Unwind_1400f3bb0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140061740((longlong *)(param_2 + 0x38),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3bc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3bc0.c new file mode 100644 index 00000000..47664de2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3bc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3bc0 Unwind@1400f3bc0 + * Pseudocode, not original source. */ + +void Unwind_1400f3bc0(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40(*(undefined8 **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3bd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3bd0.c new file mode 100644 index 00000000..f33c879c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3bd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3bd0 Unwind@1400f3bd0 + * Pseudocode, not original source. */ + +void Unwind_1400f3bd0(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3be0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3be0.c new file mode 100644 index 00000000..73c6bded --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3be0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3be0 Unwind@1400f3be0 + * Pseudocode, not original source. */ + +void Unwind_1400f3be0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140061740((longlong *)(param_2 + 0x30),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3bf0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3bf0.c new file mode 100644 index 00000000..8b73c921 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3bf0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3bf0 Unwind@1400f3bf0 + * Pseudocode, not original source. */ + +void Unwind_1400f3bf0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3c00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3c00.c new file mode 100644 index 00000000..d03b6979 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3c00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3c00 Unwind@1400f3c00 + * Pseudocode, not original source. */ + +void Unwind_1400f3c00(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140061740((longlong *)(param_2 + 0x90),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3c10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3c10.c new file mode 100644 index 00000000..21371b69 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3c10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3c10 Unwind@1400f3c10 + * Pseudocode, not original source. */ + +void Unwind_1400f3c10(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x118)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3c20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3c20.c new file mode 100644 index 00000000..d63e37c2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3c20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3c20 Unwind@1400f3c20 + * Pseudocode, not original source. */ + +void Unwind_1400f3c20(undefined8 param_1,longlong param_2) + +{ + FUN_14004a900((longlong *)(param_2 + 0x1a0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3c30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3c30.c new file mode 100644 index 00000000..e9e93f6a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3c30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3c30 Unwind@1400f3c30 + * Pseudocode, not original source. */ + +void Unwind_1400f3c30(undefined8 param_1,longlong param_2) + +{ + FUN_14004b860((undefined8 *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3c40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3c40.c new file mode 100644 index 00000000..000b8586 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3c40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3c40 Unwind@1400f3c40 + * Pseudocode, not original source. */ + +void Unwind_1400f3c40(undefined8 param_1,longlong param_2) + +{ + FUN_14004b860((undefined8 *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3c50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3c50.c new file mode 100644 index 00000000..edb5f442 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3c50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3c50 Unwind@1400f3c50 + * Pseudocode, not original source. */ + +void Unwind_1400f3c50(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3e0((longlong *)(param_2 + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3c60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3c60.c new file mode 100644 index 00000000..a7b1cd00 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3c60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3c60 Unwind@1400f3c60 + * Pseudocode, not original source. */ + +void Unwind_1400f3c60(undefined8 param_1,longlong param_2) + +{ + FUN_14005b4c0(param_2 + 0x58); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3c70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3c70.c new file mode 100644 index 00000000..31ef4a01 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3c70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3c70 Unwind@1400f3c70 + * Pseudocode, not original source. */ + +void Unwind_1400f3c70(undefined8 param_1,longlong param_2) + +{ + FUN_14005b0a0((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3c80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3c80.c new file mode 100644 index 00000000..5dbff67a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3c80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3c80 Unwind@1400f3c80 + * Pseudocode, not original source. */ + +void Unwind_1400f3c80(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0xf0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3c90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3c90.c new file mode 100644 index 00000000..5e675c6c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3c90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3c90 Unwind@1400f3c90 + * Pseudocode, not original source. */ + +void Unwind_1400f3c90(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3e0((longlong *)(param_2 + 0x98)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3ca0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3ca0.c new file mode 100644 index 00000000..c87b02d7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3ca0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3ca0 Unwind@1400f3ca0 + * Pseudocode, not original source. */ + +void Unwind_1400f3ca0(undefined8 param_1,longlong param_2) + +{ + FUN_14005b4c0(param_2 + 0x90); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3cb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3cb0.c new file mode 100644 index 00000000..38fd1869 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3cb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3cb0 Unwind@1400f3cb0 + * Pseudocode, not original source. */ + +void Unwind_1400f3cb0(undefined8 param_1,longlong param_2) + +{ + FUN_14005b0a0((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3cc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3cc0.c new file mode 100644 index 00000000..a2bb91fb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3cc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3cc0 Unwind@1400f3cc0 + * Pseudocode, not original source. */ + +void Unwind_1400f3cc0(undefined8 param_1,longlong param_2) + +{ + FUN_14004b860((undefined8 *)(param_2 + 200)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3cd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3cd0.c new file mode 100644 index 00000000..d21be343 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3cd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3cd0 Unwind@1400f3cd0 + * Pseudocode, not original source. */ + +void Unwind_1400f3cd0(undefined8 param_1,longlong param_2) + +{ + FUN_14004b860((undefined8 *)(param_2 + 200)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3ce0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3ce0.c new file mode 100644 index 00000000..cd35817c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3ce0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3ce0 Unwind@1400f3ce0 + * Pseudocode, not original source. */ + +void Unwind_1400f3ce0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3e0((longlong *)(param_2 + 0x98)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3cf0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3cf0.c new file mode 100644 index 00000000..f9f61c90 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3cf0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3cf0 Unwind@1400f3cf0 + * Pseudocode, not original source. */ + +void Unwind_1400f3cf0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 400) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3d00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3d00.c new file mode 100644 index 00000000..389efd5b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3d00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3d00 Unwind@1400f3d00 + * Pseudocode, not original source. */ + +void Unwind_1400f3d00(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 400) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3d10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3d10.c new file mode 100644 index 00000000..e24fb4e6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3d10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3d10 Unwind@1400f3d10 + * Pseudocode, not original source. */ + +void Unwind_1400f3d10(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3e0((longlong *)(param_2 + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3d20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3d20.c new file mode 100644 index 00000000..66a2bca7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3d20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3d20 Unwind@1400f3d20 + * Pseudocode, not original source. */ + +void Unwind_1400f3d20(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 400) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3d30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3d30.c new file mode 100644 index 00000000..39682e82 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3d30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3d30 Unwind@1400f3d30 + * Pseudocode, not original source. */ + +void Unwind_1400f3d30(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3d40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3d40.c new file mode 100644 index 00000000..ba9b18d6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3d40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3d40 Unwind@1400f3d40 + * Pseudocode, not original source. */ + +void Unwind_1400f3d40(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3d50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3d50.c new file mode 100644 index 00000000..8ea3eff1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3d50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3d50 Unwind@1400f3d50 + * Pseudocode, not original source. */ + +void Unwind_1400f3d50(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3d60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3d60.c new file mode 100644 index 00000000..180379bf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3d60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3d60 Unwind@1400f3d60 + * Pseudocode, not original source. */ + +void Unwind_1400f3d60(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x80)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3d70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3d70.c new file mode 100644 index 00000000..c74d69fa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3d70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3d70 Unwind@1400f3d70 + * Pseudocode, not original source. */ + +void Unwind_1400f3d70(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0xb8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3d80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3d80.c new file mode 100644 index 00000000..d2fc664f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3d80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3d80 Unwind@1400f3d80 + * Pseudocode, not original source. */ + +void Unwind_1400f3d80(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x90)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3d90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3d90.c new file mode 100644 index 00000000..e99ae947 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3d90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3d90 Unwind@1400f3d90 + * Pseudocode, not original source. */ + +void Unwind_1400f3d90(undefined8 param_1,longlong param_2) + +{ + FUN_1400bfcf0((longlong *)(param_2 + 400)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3da0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3da0.c new file mode 100644 index 00000000..8ce8b6fb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3da0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3da0 Unwind@1400f3da0 + * Pseudocode, not original source. */ + +void Unwind_1400f3da0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3db0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3db0.c new file mode 100644 index 00000000..72f9f4fa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3db0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3db0 Unwind@1400f3db0 + * Pseudocode, not original source. */ + +void Unwind_1400f3db0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3dc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3dc0.c new file mode 100644 index 00000000..02ec0211 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3dc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3dc0 Unwind@1400f3dc0 + * Pseudocode, not original source. */ + +void Unwind_1400f3dc0(undefined8 param_1,longlong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_1400404a0((longlong *)(param_2 + 0x198),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3dd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3dd0.c new file mode 100644 index 00000000..360cb361 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3dd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3dd0 Unwind@1400f3dd0 + * Pseudocode, not original source. */ + +void Unwind_1400f3dd0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xf0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3de0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3de0.c new file mode 100644 index 00000000..8f894e70 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3de0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3de0 Unwind@1400f3de0 + * Pseudocode, not original source. */ + +void Unwind_1400f3de0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x90)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3df0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3df0.c new file mode 100644 index 00000000..ffcdf024 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3df0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3df0 Unwind@1400f3df0 + * Pseudocode, not original source. */ + +void Unwind_1400f3df0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3e00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3e00.c new file mode 100644 index 00000000..7c011a8f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3e00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3e00 Unwind@1400f3e00 + * Pseudocode, not original source. */ + +void Unwind_1400f3e00(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3e10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3e10.c new file mode 100644 index 00000000..a21fb4f7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3e10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3e10 Unwind@1400f3e10 + * Pseudocode, not original source. */ + +void Unwind_1400f3e10(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3e20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3e20.c new file mode 100644 index 00000000..2e7ff3a3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3e20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3e20 Unwind@1400f3e20 + * Pseudocode, not original source. */ + +void Unwind_1400f3e20(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3e30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3e30.c new file mode 100644 index 00000000..ec5b5b49 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3e30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3e30 Unwind@1400f3e30 + * Pseudocode, not original source. */ + +void Unwind_1400f3e30(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140077140(*(undefined8 **)(param_2 + 0x70),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3e40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3e40.c new file mode 100644 index 00000000..eb35af4c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3e40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3e40 Unwind@1400f3e40 + * Pseudocode, not original source. */ + +void Unwind_1400f3e40(undefined8 param_1,longlong param_2) + +{ + FUN_14003f370((undefined8 *)(*(longlong *)(param_2 + 0x70) + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3e50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3e50.c new file mode 100644 index 00000000..fe0cfeb4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3e50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3e50 Unwind@1400f3e50 + * Pseudocode, not original source. */ + +void Unwind_1400f3e50(undefined8 param_1,longlong param_2) + +{ + FUN_140049f00((undefined8 *)(*(longlong *)(param_2 + 0x70) + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3e60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3e60.c new file mode 100644 index 00000000..a2f8bedb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3e60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3e60 Unwind@1400f3e60 + * Pseudocode, not original source. */ + +void Unwind_1400f3e60(undefined8 param_1,longlong param_2) + +{ + FUN_140049f40((undefined8 *)(*(longlong *)(param_2 + 0x70) + 0x70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3e70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3e70.c new file mode 100644 index 00000000..14be9edf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3e70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3e70 Unwind@1400f3e70 + * Pseudocode, not original source. */ + +void Unwind_1400f3e70(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400978a0((undefined8 *)(*(longlong *)(param_2 + 0x70) + 0x78),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3e80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3e80.c new file mode 100644 index 00000000..b879cbd4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3e80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3e80 Unwind@1400f3e80 + * Pseudocode, not original source. */ + +void Unwind_1400f3e80(undefined8 param_1,longlong param_2) + +{ + FUN_140049e80((undefined8 *)(*(longlong *)(param_2 + 0x70) + 0xa8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3ea0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3ea0.c new file mode 100644 index 00000000..1a543c4b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3ea0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3ea0 Unwind@1400f3ea0 + * Pseudocode, not original source. */ + +void Unwind_1400f3ea0(undefined8 param_1,longlong param_2) + +{ + FUN_140049ec0((undefined8 *)(*(longlong *)(param_2 + 0x70) + 0xb0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3ec0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3ec0.c new file mode 100644 index 00000000..b83110af --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3ec0.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3ec0 Unwind@1400f3ec0 + * Pseudocode, not original source. */ + +void Unwind_1400f3ec0(undefined8 param_1,LPVOID param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140067a30((undefined8 *)(*(longlong *)((longlong)param_2 + 0x70) + 0xb8),param_2,param_3, + param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3ee0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3ee0.c new file mode 100644 index 00000000..f5f0f50b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3ee0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3ee0 Unwind@1400f3ee0 + * Pseudocode, not original source. */ + +void Unwind_1400f3ee0(undefined8 param_1,longlong param_2) + +{ + FUN_140049fc0((undefined8 *)(*(longlong *)(param_2 + 0x70) + 0x118)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3f00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3f00.c new file mode 100644 index 00000000..ed3b138a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3f00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3f00 Unwind@1400f3f00 + * Pseudocode, not original source. */ + +void Unwind_1400f3f00(undefined8 param_1,longlong param_2) + +{ + FUN_140049f80((undefined8 *)(*(longlong *)(param_2 + 0x70) + 0x120)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3f20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3f20.c new file mode 100644 index 00000000..6cbdf359 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3f20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3f20 Unwind@1400f3f20 + * Pseudocode, not original source. */ + +void Unwind_1400f3f20(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003d110((undefined4 *)(*(longlong *)(param_2 + 0x70) + 0x128),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3f40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3f40.c new file mode 100644 index 00000000..d40ab71d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3f40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3f40 Unwind@1400f3f40 + * Pseudocode, not original source. */ + +void Unwind_1400f3f40(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003d110((undefined4 *)(*(longlong *)(param_2 + 0x70) + 0x160),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3f60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3f60.c new file mode 100644 index 00000000..809fe2a0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3f60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3f60 Unwind@1400f3f60 + * Pseudocode, not original source. */ + +void Unwind_1400f3f60(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140006e80((longlong *)(*(longlong *)(param_2 + 0x70) + 0x210)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3f80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3f80.c new file mode 100644 index 00000000..b908d883 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3f80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3f80 Unwind@1400f3f80 + * Pseudocode, not original source. */ + +void Unwind_1400f3f80(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140006e80((longlong *)(*(longlong *)(param_2 + 0x70) + 0x218)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3fa0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3fa0.c new file mode 100644 index 00000000..981f51ff --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3fa0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3fa0 Unwind@1400f3fa0 + * Pseudocode, not original source. */ + +void Unwind_1400f3fa0(undefined8 param_1,longlong param_2) + +{ + FUN_14004e270((char *)(*(longlong *)(param_2 + 0x70) + 0x280)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3fc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3fc0.c new file mode 100644 index 00000000..6b1fa754 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3fc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3fc0 Unwind@1400f3fc0 + * Pseudocode, not original source. */ + +void Unwind_1400f3fc0(undefined8 param_1,longlong param_2) + +{ + FUN_1400618d0((char *)(*(longlong *)(param_2 + 0x70) + 0x2d8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f3fe0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f3fe0.c new file mode 100644 index 00000000..07e95124 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f3fe0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f3fe0 Unwind@1400f3fe0 + * Pseudocode, not original source. */ + +void Unwind_1400f3fe0(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140051280((char *)(*(longlong *)(param_2 + 0x70) + 0x388)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4000.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4000.c new file mode 100644 index 00000000..b9d9ec6c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4000.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4000 Unwind@1400f4000 + * Pseudocode, not original source. */ + +void Unwind_1400f4000(undefined8 param_1,wchar_t *param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_14004b8a0((undefined8 *)(*(longlong *)(param_2 + 0x38) + 0x3e0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4020.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4020.c new file mode 100644 index 00000000..c649b8dd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4020.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4020 Unwind@1400f4020 + * Pseudocode, not original source. */ + +void Unwind_1400f4020(undefined8 param_1,LPVOID param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400675a0((char *)(*(longlong *)((longlong)param_2 + 0x70) + 0x400),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4040.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4040.c new file mode 100644 index 00000000..e58a8074 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4040.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4040 Unwind@1400f4040 + * Pseudocode, not original source. */ + +void Unwind_1400f4040(undefined8 param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140067be0((longlong *)(param_2[0xe] + 0x458),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4060.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4060.c new file mode 100644 index 00000000..264e53bd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4060.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4060 Unwind@1400f4060 + * Pseudocode, not original source. */ + +void Unwind_1400f4060(undefined8 param_1,longlong param_2) + +{ + FUN_14004a900((longlong *)(*(longlong *)(param_2 + 0x70) + 0x478)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4080.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4080.c new file mode 100644 index 00000000..a90b11fe --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4080.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4080 Unwind@1400f4080 + * Pseudocode, not original source. */ + +void Unwind_1400f4080(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140079b90((undefined8 *)(*(longlong *)(param_2 + 0x70) + 0x480)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f40a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f40a0.c new file mode 100644 index 00000000..445a5816 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f40a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f40a0 Unwind@1400f40a0 + * Pseudocode, not original source. */ + +void Unwind_1400f40a0(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_1400768c0((undefined8 *)(*(longlong *)(param_2 + 0x70) + 0x4a8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f40c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f40c0.c new file mode 100644 index 00000000..ba919669 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f40c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f40c0 Unwind@1400f40c0 + * Pseudocode, not original source. */ + +void Unwind_1400f40c0(undefined8 param_1,longlong param_2) + +{ + FUN_14005b0c0((undefined8 *)(*(longlong *)(param_2 + 0x70) + 0x6c8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f40e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f40e0.c new file mode 100644 index 00000000..c928de58 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f40e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f40e0 Unwind@1400f40e0 + * Pseudocode, not original source. */ + +void Unwind_1400f40e0(undefined8 param_1,longlong param_2) + +{ + FUN_14005ff50((char *)(*(longlong *)(param_2 + 0x70) + 0x6f0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4100.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4100.c new file mode 100644 index 00000000..28d4f9e1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4100.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4100 Unwind@1400f4100 + * Pseudocode, not original source. */ + +void Unwind_1400f4100(undefined8 param_1,longlong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_1400404a0((longlong *)(*(longlong *)(param_2 + 0x70) + 0x748),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4120.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4120.c new file mode 100644 index 00000000..0a57cd1d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4120.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4120 Unwind@1400f4120 + * Pseudocode, not original source. */ + +void Unwind_1400f4120(undefined8 param_1,longlong param_2,undefined8 param_3,longlong param_4) + +{ + FUN_140051170((longlong *)(*(longlong *)(param_2 + 0x70) + 0x750),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4140.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4140.c new file mode 100644 index 00000000..16f8d252 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4140.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4140 Unwind@1400f4140 + * Pseudocode, not original source. */ + +void Unwind_1400f4140(undefined8 param_1,longlong *param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_14004b830((undefined8 *)(param_2[0xe] + 0x788),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4160.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4160.c new file mode 100644 index 00000000..5ab691bf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4160.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4160 Unwind@1400f4160 + * Pseudocode, not original source. */ + +void Unwind_1400f4160(undefined8 param_1,longlong *param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_14004b830((undefined8 *)(param_2[0xe] + 0x790),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4180.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4180.c new file mode 100644 index 00000000..a81758de --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4180.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4180 Unwind@1400f4180 + * Pseudocode, not original source. */ + +void Unwind_1400f4180(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003d110((undefined4 *)(*(longlong *)(param_2 + 0x70) + 0x798),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f41a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f41a0.c new file mode 100644 index 00000000..fcf15317 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f41a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f41a0 Unwind@1400f41a0 + * Pseudocode, not original source. */ + +void Unwind_1400f41a0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003d110((undefined4 *)(*(longlong *)(param_2 + 0x70) + 2000),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f41c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f41c0.c new file mode 100644 index 00000000..d97f7aa4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f41c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f41c0 Unwind@1400f41c0 + * Pseudocode, not original source. */ + +void Unwind_1400f41c0(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_14004bf10((longlong *)(*(longlong *)(param_2 + 0x70) + 0x808)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f41e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f41e0.c new file mode 100644 index 00000000..e063e804 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f41e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f41e0 Unwind@1400f41e0 + * Pseudocode, not original source. */ + +void Unwind_1400f41e0(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_14004c020((longlong *)(*(longlong *)(param_2 + 0x70) + 0x828)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4200.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4200.c new file mode 100644 index 00000000..0a5e2591 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4200.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4200 Unwind@1400f4200 + * Pseudocode, not original source. */ + +void Unwind_1400f4200(undefined8 param_1,longlong param_2) + +{ + FUN_14004a040(*(longlong *)(param_2 + 0x70) + 0x840); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4220.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4220.c new file mode 100644 index 00000000..578b8a75 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4220.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4220 Unwind@1400f4220 + * Pseudocode, not original source. */ + +void Unwind_1400f4220(undefined8 param_1,longlong param_2) + +{ + FUN_140095bd0((longlong *)(*(longlong *)(param_2 + 0x70) + 0xc48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4240.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4240.c new file mode 100644 index 00000000..8583f100 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4240.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4240 Unwind@1400f4240 + * Pseudocode, not original source. */ + +void Unwind_1400f4240(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(*(longlong *)(param_2 + 0x70) + 0xc50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4260.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4260.c new file mode 100644 index 00000000..25cb6b8d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4260.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4260 Unwind@1400f4260 + * Pseudocode, not original source. */ + +void Unwind_1400f4260(undefined8 param_1,longlong param_2) + +{ + FUN_14004e270((char *)(*(longlong *)(param_2 + 0x70) + 0xc78)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4280.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4280.c new file mode 100644 index 00000000..45d43ed3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4280.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4280 Unwind@1400f4280 + * Pseudocode, not original source. */ + +void Unwind_1400f4280(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140048130((undefined8 *)(*(longlong *)(param_2 + 0x70) + 0xcd0),param_2,param_3,param_4) + ; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f42a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f42a0.c new file mode 100644 index 00000000..122e9101 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f42a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f42a0 Unwind@1400f42a0 + * Pseudocode, not original source. */ + +void Unwind_1400f42a0(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140051280((char *)(*(longlong *)(param_2 + 0x70) + 0x16e8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f42c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f42c0.c new file mode 100644 index 00000000..bb2402d0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f42c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f42c0 Unwind@1400f42c0 + * Pseudocode, not original source. */ + +void Unwind_1400f42c0(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_14004e270((char *)(*(longlong *)(param_2 + 0x70) + 0x1740)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f42e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f42e0.c new file mode 100644 index 00000000..79daa9cd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f42e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f42e0 Unwind@1400f42e0 + * Pseudocode, not original source. */ + +void Unwind_1400f42e0(undefined8 param_1,longlong param_2) + +{ + FUN_14004b8d0((undefined8 *)(*(longlong *)(param_2 + 0x70) + 0x17a0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4300.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4300.c new file mode 100644 index 00000000..4aa297e6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4300.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4300 Unwind@1400f4300 + * Pseudocode, not original source. */ + +void Unwind_1400f4300(undefined8 param_1,longlong param_2) + +{ + FUN_14004b910((undefined8 *)(*(longlong *)(param_2 + 0x70) + 0x17c8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4320.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4320.c new file mode 100644 index 00000000..235c4bec --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4320.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4320 Unwind@1400f4320 + * Pseudocode, not original source. */ + +void Unwind_1400f4320(undefined8 param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004ba10((undefined8 *)(param_2[0xe] + 0x17f0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4340.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4340.c new file mode 100644 index 00000000..e10b7e59 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4340.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4340 Unwind@1400f4340 + * Pseudocode, not original source. */ + +void Unwind_1400f4340(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(*(longlong *)(param_2 + 0x70) + 0x1808),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4360.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4360.c new file mode 100644 index 00000000..94627d60 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4360.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4360 Unwind@1400f4360 + * Pseudocode, not original source. */ + +void Unwind_1400f4360(undefined8 param_1,longlong param_2) + +{ + FUN_140038400((undefined8 *)(*(longlong *)(param_2 + 0x70) + 0x1848)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4380.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4380.c new file mode 100644 index 00000000..08b63b27 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4380.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4380 Unwind@1400f4380 + * Pseudocode, not original source. */ + +void Unwind_1400f4380(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4390.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4390.c new file mode 100644 index 00000000..7081403f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4390.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4390 Unwind@1400f4390 + * Pseudocode, not original source. */ + +void Unwind_1400f4390(undefined8 param_1,longlong param_2) + +{ + FUN_140060ab0(*(char **)(param_2 + 0x78)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f43a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f43a0.c new file mode 100644 index 00000000..a4ea625c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f43a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f43a0 Unwind@1400f43a0 + * Pseudocode, not original source. */ + +void Unwind_1400f43a0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f43b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f43b0.c new file mode 100644 index 00000000..922752e1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f43b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f43b0 Unwind@1400f43b0 + * Pseudocode, not original source. */ + +void Unwind_1400f43b0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0xe0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f43c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f43c0.c new file mode 100644 index 00000000..a7861260 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f43c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f43c0 Unwind@1400f43c0 + * Pseudocode, not original source. */ + +void Unwind_1400f43c0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f43d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f43d0.c new file mode 100644 index 00000000..804cb079 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f43d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f43d0 Unwind@1400f43d0 + * Pseudocode, not original source. */ + +void Unwind_1400f43d0(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f43e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f43e0.c new file mode 100644 index 00000000..b6e3ee59 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f43e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f43e0 Unwind@1400f43e0 + * Pseudocode, not original source. */ + +void Unwind_1400f43e0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(*(longlong *)(param_2 + 0x40) + 0x10),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f43f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f43f0.c new file mode 100644 index 00000000..4a6cced3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f43f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f43f0 Unwind@1400f43f0 + * Pseudocode, not original source. */ + +void Unwind_1400f43f0(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4400.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4400.c new file mode 100644 index 00000000..c61c9a0b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4400.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4400 Unwind@1400f4400 + * Pseudocode, not original source. */ + +void Unwind_1400f4400(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_14003e8b0(*(LPVOID *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4420.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4420.c new file mode 100644 index 00000000..72147d98 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4420.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4420 Unwind@1400f4420 + * Pseudocode, not original source. */ + +void Unwind_1400f4420(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + if ((*(uint *)(param_2 + 0x58) & 1) != 0) { + *(uint *)(param_2 + 0x58) = *(uint *)(param_2 + 0x58) & 0xfffffffe; + FUN_140038280(*(longlong **)(param_2 + 0x50),param_2,param_3,param_4); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4450.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4450.c new file mode 100644 index 00000000..72cfa0fd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4450.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4450 Unwind@1400f4450 + * Pseudocode, not original source. */ + +void Unwind_1400f4450(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + if ((*(uint *)(param_2 + 0x100) & 1) != 0) { + *(uint *)(param_2 + 0x100) = *(uint *)(param_2 + 0x100) & 0xfffffffe; + thunk_FUN_140002190(*(longlong **)(param_2 + 0x108),param_2,param_3,param_4); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4480.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4480.c new file mode 100644 index 00000000..f1f21984 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4480.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4480 Unwind@1400f4480 + * Pseudocode, not original source. */ + +void Unwind_1400f4480(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x110),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4490.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4490.c new file mode 100644 index 00000000..c8c85303 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4490.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4490 Unwind@1400f4490 + * Pseudocode, not original source. */ + +void Unwind_1400f4490(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x98)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f44a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f44a0.c new file mode 100644 index 00000000..ae5a78ca --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f44a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f44a0 Unwind@1400f44a0 + * Pseudocode, not original source. */ + +void Unwind_1400f44a0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x118),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f44b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f44b0.c new file mode 100644 index 00000000..97f1436d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f44b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f44b0 Unwind@1400f44b0 + * Pseudocode, not original source. */ + +void Unwind_1400f44b0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x78)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f44c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f44c0.c new file mode 100644 index 00000000..503e8087 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f44c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f44c0 Unwind@1400f44c0 + * Pseudocode, not original source. */ + +void Unwind_1400f44c0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x28),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f44d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f44d0.c new file mode 100644 index 00000000..cce44db7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f44d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f44d0 Unwind@1400f44d0 + * Pseudocode, not original source. */ + +void Unwind_1400f44d0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x30),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f44e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f44e0.c new file mode 100644 index 00000000..82e702c4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f44e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f44e0 Unwind@1400f44e0 + * Pseudocode, not original source. */ + +void Unwind_1400f44e0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x48),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f44f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f44f0.c new file mode 100644 index 00000000..a81ca108 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f44f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f44f0 Unwind@1400f44f0 + * Pseudocode, not original source. */ + +void Unwind_1400f44f0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4500.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4500.c new file mode 100644 index 00000000..398bb023 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4500.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4500 Unwind@1400f4500 + * Pseudocode, not original source. */ + +void Unwind_1400f4500(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4510.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4510.c new file mode 100644 index 00000000..7fab3047 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4510.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4510 Unwind@1400f4510 + * Pseudocode, not original source. */ + +void Unwind_1400f4510(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x88)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4520.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4520.c new file mode 100644 index 00000000..80110c5f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4520.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4520 Unwind@1400f4520 + * Pseudocode, not original source. */ + +void Unwind_1400f4520(undefined8 param_1,longlong param_2) + +{ + FUN_1400117d0((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4530.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4530.c new file mode 100644 index 00000000..8be26827 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4530.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4530 Unwind@1400f4530 + * Pseudocode, not original source. */ + +void Unwind_1400f4530(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x20),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4540.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4540.c new file mode 100644 index 00000000..be1217c4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4540.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4540 Unwind@1400f4540 + * Pseudocode, not original source. */ + +void Unwind_1400f4540(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xa8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4550.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4550.c new file mode 100644 index 00000000..f30f907a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4550.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4550 Unwind@1400f4550 + * Pseudocode, not original source. */ + +void Unwind_1400f4550(undefined8 param_1,longlong param_2) + +{ + FUN_1400117d0((longlong *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4560.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4560.c new file mode 100644 index 00000000..44216963 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4560.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4560 Unwind@1400f4560 + * Pseudocode, not original source. */ + +void Unwind_1400f4560(undefined8 param_1,longlong param_2) + +{ + FUN_14003d6e0(*(exception **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4570.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4570.c new file mode 100644 index 00000000..35c7cb9e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4570.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4570 Catch@1400f4570 + * Pseudocode, not original source. */ + +undefined8 Catch_1400f4570(undefined8 param_1,longlong param_2) + +{ + *(longlong *)(param_2 + 0x30) = param_2 + 0x38; + FUN_140005110((longlong *)(param_2 + 0x30),"AdoWrap.cpp",3); + if (*(void **)(param_2 + 0x30) != (void *)(param_2 + 0x38)) { + free(*(void **)(param_2 + 0x30)); + } + return 0x140072ae8; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f45c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f45c0.c new file mode 100644 index 00000000..5bac29e0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f45c0.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f45c0 Catch@1400f45c0 + * Pseudocode, not original source. */ + +undefined8 Catch_1400f45c0(undefined8 param_1,longlong param_2) + +{ + *(longlong *)(param_2 + 0x30) = param_2 + 0x38; + FUN_140005110((longlong *)(param_2 + 0x30),"AdoWrap.cpp",3); + if (*(void **)(param_2 + 0x30) != (void *)(param_2 + 0x38)) { + free(*(void **)(param_2 + 0x30)); + } + return 0x140072b70; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4610.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4610.c new file mode 100644 index 00000000..ad5780f6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4610.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4610 Unwind@1400f4610 + * Pseudocode, not original source. */ + +void Unwind_1400f4610(undefined8 param_1,longlong param_2) + +{ + FUN_140072580(*(longlong **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4620.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4620.c new file mode 100644 index 00000000..3893869e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4620.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4620 Unwind@1400f4620 + * Pseudocode, not original source. */ + +void Unwind_1400f4620(undefined8 param_1,longlong param_2) + +{ + operator_delete(*(void **)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4630.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4630.c new file mode 100644 index 00000000..d325ab37 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4630.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4630 Unwind@1400f4630 + * Pseudocode, not original source. */ + +void Unwind_1400f4630(undefined8 param_1,longlong param_2) + +{ + FUN_14000ad60(*(undefined8 **)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4640.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4640.c new file mode 100644 index 00000000..85a0b3fa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4640.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4640 Unwind@1400f4640 + * Pseudocode, not original source. */ + +void Unwind_1400f4640(undefined8 param_1,longlong param_2) + +{ + FUN_14000ad60(*(undefined8 **)(param_2 + 0x88)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4650.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4650.c new file mode 100644 index 00000000..f1f09b15 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4650.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4650 Unwind@1400f4650 + * Pseudocode, not original source. */ + +void Unwind_1400f4650(undefined8 param_1,longlong param_2) + +{ + FUN_14000ad60(*(undefined8 **)(param_2 + 0x80)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4660.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4660.c new file mode 100644 index 00000000..575adb16 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4660.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4660 Unwind@1400f4660 + * Pseudocode, not original source. */ + +void Unwind_1400f4660(undefined8 param_1,longlong param_2) + +{ + FUN_14000ad60(*(undefined8 **)(param_2 + 0x78)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4670.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4670.c new file mode 100644 index 00000000..5eef7bf5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4670.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4670 Unwind@1400f4670 + * Pseudocode, not original source. */ + +void Unwind_1400f4670(undefined8 param_1,longlong param_2) + +{ + if ((*(uint *)(param_2 + 0xe8) & 1) != 0) { + *(uint *)(param_2 + 0xe8) = *(uint *)(param_2 + 0xe8) & 0xfffffffe; + Ordinal_9(*(undefined8 *)(param_2 + 0xd8)); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f46a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f46a0.c new file mode 100644 index 00000000..5d26ef6f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f46a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f46a0 Unwind@1400f46a0 + * Pseudocode, not original source. */ + +void Unwind_1400f46a0(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x20); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f46b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f46b0.c new file mode 100644 index 00000000..0601041d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f46b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f46b0 Unwind@1400f46b0 + * Pseudocode, not original source. */ + +void Unwind_1400f46b0(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x50); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f46c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f46c0.c new file mode 100644 index 00000000..44313f03 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f46c0.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f46c0 Catch@1400f46c0 + * Pseudocode, not original source. */ + +void Catch_1400f46c0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong *plVar1; + undefined8 uVar2; + + plVar1 = FUN_14003d880(*(longlong *)(param_2 + 0x38),(undefined8 *)(param_2 + 0x40),param_3, + param_4); + uVar2 = 0; + if ((undefined8 *)*plVar1 != (undefined8 *)0x0) { + uVar2 = *(undefined8 *)*plVar1; + } + FUN_14003db10((exception *)(param_2 + 0x68),L"%s (FieldName=%s)",uVar2, + *(undefined8 *)(param_2 + 0xe0)); + /* WARNING: Subroutine does not return */ + _CxxThrowException((void *)(param_2 + 0x68),(ThrowInfo *)&DAT_14016c210); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4710.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4710.c new file mode 100644 index 00000000..473071b1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4710.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4710 Unwind@1400f4710 + * Pseudocode, not original source. */ + +void Unwind_1400f4710(undefined8 param_1,longlong param_2) + +{ + FUN_14000ad60((undefined8 *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4720.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4720.c new file mode 100644 index 00000000..47c69f6e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4720.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4720 Unwind@1400f4720 + * Pseudocode, not original source. */ + +void Unwind_1400f4720(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0xd0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4730.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4730.c new file mode 100644 index 00000000..9af68ad2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4730.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4730 Unwind@1400f4730 + * Pseudocode, not original source. */ + +void Unwind_1400f4730(undefined8 param_1,longlong param_2) + +{ + FUN_14000ad60((undefined8 *)(param_2 + 0xd8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4740.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4740.c new file mode 100644 index 00000000..f00d2bc7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4740.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4740 Unwind@1400f4740 + * Pseudocode, not original source. */ + +void Unwind_1400f4740(undefined8 param_1,longlong param_2) + +{ + FUN_14000ad60((undefined8 *)(param_2 + 200)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4750.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4750.c new file mode 100644 index 00000000..0388d2e3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4750.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4750 Unwind@1400f4750 + * Pseudocode, not original source. */ + +void Unwind_1400f4750(undefined8 param_1,longlong param_2) + +{ + FUN_14003d6e0((exception *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4760.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4760.c new file mode 100644 index 00000000..af5a9723 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4760.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4760 Unwind@1400f4760 + * Pseudocode, not original source. */ + +void Unwind_1400f4760(undefined8 param_1,longlong param_2) + +{ + FUN_140072580(*(longlong **)(param_2 + 0x70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4770.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4770.c new file mode 100644 index 00000000..7a39ec48 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4770.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4770 Catch@1400f4770 + * Pseudocode, not original source. */ + +void Catch_1400f4770(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + /* WARNING: Subroutine does not return */ + FUN_140073830(*(longlong *)(param_2 + 0x38),param_2,param_3,param_4); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4790.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4790.c new file mode 100644 index 00000000..0feee1dd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4790.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4790 Unwind@1400f4790 + * Pseudocode, not original source. */ + +void Unwind_1400f4790(undefined8 param_1,longlong param_2) + +{ + FUN_1400075b0(*(longlong **)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f47a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f47a0.c new file mode 100644 index 00000000..84259795 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f47a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f47a0 Catch@1400f47a0 + * Pseudocode, not original source. */ + +void Catch_1400f47a0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + /* WARNING: Subroutine does not return */ + FUN_140073830(*(longlong *)(param_2 + 0x38),param_2,param_3,param_4); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f47c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f47c0.c new file mode 100644 index 00000000..f2de7d14 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f47c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f47c0 Unwind@1400f47c0 + * Pseudocode, not original source. */ + +void Unwind_1400f47c0(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x38); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f47d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f47d0.c new file mode 100644 index 00000000..6899d3e8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f47d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f47d0 Unwind@1400f47d0 + * Pseudocode, not original source. */ + +void Unwind_1400f47d0(undefined8 param_1,longlong param_2) + +{ + FUN_140072580((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f47e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f47e0.c new file mode 100644 index 00000000..b3a9263b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f47e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f47e0 Unwind@1400f47e0 + * Pseudocode, not original source. */ + +void Unwind_1400f47e0(undefined8 param_1,longlong param_2) + +{ + FUN_140072580((longlong *)(param_2 + 0x78)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f47f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f47f0.c new file mode 100644 index 00000000..58ec0d2d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f47f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f47f0 Catch@1400f47f0 + * Pseudocode, not original source. */ + +void Catch_1400f47f0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + /* WARNING: Subroutine does not return */ + FUN_140073830(*(longlong *)(param_2 + 0x30),param_2,param_3,param_4); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4810.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4810.c new file mode 100644 index 00000000..68cd71e0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4810.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4810 Catch@1400f4810 + * Pseudocode, not original source. */ + +void Catch_1400f4810(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + /* WARNING: Subroutine does not return */ + FUN_140073830(*(longlong *)(param_2 + 0x28),param_2,param_3,param_4); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4830.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4830.c new file mode 100644 index 00000000..2b37c12a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4830.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4830 Unwind@1400f4830 + * Pseudocode, not original source. */ + +void Unwind_1400f4830(undefined8 param_1,longlong param_2) + +{ + FUN_1400075b0(*(longlong **)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4840.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4840.c new file mode 100644 index 00000000..9456d516 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4840.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4840 Catch@1400f4840 + * Pseudocode, not original source. */ + +void Catch_1400f4840(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + /* WARNING: Subroutine does not return */ + FUN_140073830(*(longlong *)(param_2 + 0x38),param_2,param_3,param_4); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4860.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4860.c new file mode 100644 index 00000000..e3c6877f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4860.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4860 Unwind@1400f4860 + * Pseudocode, not original source. */ + +void Unwind_1400f4860(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x38); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4870.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4870.c new file mode 100644 index 00000000..ed22059c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4870.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4870 Unwind@1400f4870 + * Pseudocode, not original source. */ + +void Unwind_1400f4870(undefined8 param_1,longlong param_2) + +{ + FUN_140072580((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4880.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4880.c new file mode 100644 index 00000000..e3fb74b7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4880.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4880 Unwind@1400f4880 + * Pseudocode, not original source. */ + +void Unwind_1400f4880(undefined8 param_1,longlong param_2) + +{ + FUN_140072580((longlong *)(param_2 + 0x98)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4890.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4890.c new file mode 100644 index 00000000..67bc0f47 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4890.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4890 Catch@1400f4890 + * Pseudocode, not original source. */ + +void Catch_1400f4890(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + /* WARNING: Subroutine does not return */ + FUN_140073830(*(longlong *)(param_2 + 0x30),param_2,param_3,param_4); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f48b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f48b0.c new file mode 100644 index 00000000..ec0b7616 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f48b0.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f48b0 Unwind@1400f48b0 + * Pseudocode, not original source. */ + +void Unwind_1400f48b0(undefined8 param_1,longlong param_2) + +{ + if ((*(uint *)(param_2 + 0x98) & 1) != 0) { + *(uint *)(param_2 + 0x98) = *(uint *)(param_2 + 0x98) & 0xfffffffe; + Ordinal_9(*(undefined8 *)(param_2 + 0x88)); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f48e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f48e0.c new file mode 100644 index 00000000..a794047f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f48e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f48e0 Unwind@1400f48e0 + * Pseudocode, not original source. */ + +void Unwind_1400f48e0(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f48f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f48f0.c new file mode 100644 index 00000000..1c633b75 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f48f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f48f0 Unwind@1400f48f0 + * Pseudocode, not original source. */ + +void Unwind_1400f48f0(undefined8 param_1,longlong param_2) + +{ + FUN_140072580((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4900.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4900.c new file mode 100644 index 00000000..600f6d65 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4900.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4900 Unwind@1400f4900 + * Pseudocode, not original source. */ + +void Unwind_1400f4900(undefined8 param_1,longlong param_2) + +{ + FUN_140072580((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4910.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4910.c new file mode 100644 index 00000000..c4876ca3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4910.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4910 Unwind@1400f4910 + * Pseudocode, not original source. */ + +void Unwind_1400f4910(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x58); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4920.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4920.c new file mode 100644 index 00000000..678c8801 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4920.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4920 Catch@1400f4920 + * Pseudocode, not original source. */ + +void Catch_1400f4920(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + /* WARNING: Subroutine does not return */ + FUN_140073830(*(longlong *)(param_2 + 0x38),param_2,param_3,param_4); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4940.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4940.c new file mode 100644 index 00000000..1275a2c4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4940.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4940 Catch@1400f4940 + * Pseudocode, not original source. */ + +void Catch_1400f4940(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + /* WARNING: Subroutine does not return */ + FUN_140073830(*(longlong *)(param_2 + 0x28),param_2,param_3,param_4); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4960.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4960.c new file mode 100644 index 00000000..f0055184 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4960.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4960 Unwind@1400f4960 + * Pseudocode, not original source. */ + +void Unwind_1400f4960(undefined8 param_1,longlong param_2) + +{ + FUN_1400725a0(*(longlong **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4970.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4970.c new file mode 100644 index 00000000..32bf9a02 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4970.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4970 Unwind@1400f4970 + * Pseudocode, not original source. */ + +void Unwind_1400f4970(undefined8 param_1,longlong param_2) + +{ + FUN_1400725a0((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4980.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4980.c new file mode 100644 index 00000000..7600803f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4980.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4980 Unwind@1400f4980 + * Pseudocode, not original source. */ + +void Unwind_1400f4980(undefined8 param_1,longlong param_2) + +{ + FUN_1400725a0((longlong *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4990.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4990.c new file mode 100644 index 00000000..ac0d9c20 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4990.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4990 Unwind@1400f4990 + * Pseudocode, not original source. */ + +void Unwind_1400f4990(undefined8 param_1,longlong param_2) + +{ + FUN_140005000((undefined8 *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f49a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f49a0.c new file mode 100644 index 00000000..21327cd8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f49a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f49a0 Unwind@1400f49a0 + * Pseudocode, not original source. */ + +void Unwind_1400f49a0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0xb8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f49b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f49b0.c new file mode 100644 index 00000000..803f6b25 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f49b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f49b0 Unwind@1400f49b0 + * Pseudocode, not original source. */ + +void Unwind_1400f49b0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f49c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f49c0.c new file mode 100644 index 00000000..2e843705 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f49c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f49c0 Unwind@1400f49c0 + * Pseudocode, not original source. */ + +void Unwind_1400f49c0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f49d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f49d0.c new file mode 100644 index 00000000..dab92bab --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f49d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f49d0 Unwind@1400f49d0 + * Pseudocode, not original source. */ + +void Unwind_1400f49d0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x30),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f49e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f49e0.c new file mode 100644 index 00000000..c45dab47 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f49e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f49e0 Unwind@1400f49e0 + * Pseudocode, not original source. */ + +void Unwind_1400f49e0(undefined8 param_1,longlong param_2) + +{ + FUN_14000ad60(*(undefined8 **)(param_2 + 0x70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f49f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f49f0.c new file mode 100644 index 00000000..a826af46 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f49f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f49f0 Unwind@1400f49f0 + * Pseudocode, not original source. */ + +void Unwind_1400f49f0(undefined8 param_1,longlong param_2) + +{ + FUN_14000ad60(*(undefined8 **)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4a00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4a00.c new file mode 100644 index 00000000..475d922a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4a00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4a00 Unwind@1400f4a00 + * Pseudocode, not original source. */ + +void Unwind_1400f4a00(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4a10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4a10.c new file mode 100644 index 00000000..4f288cf2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4a10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4a10 Unwind@1400f4a10 + * Pseudocode, not original source. */ + +void Unwind_1400f4a10(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4a20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4a20.c new file mode 100644 index 00000000..bacba14d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4a20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4a20 Catch@1400f4a20 + * Pseudocode, not original source. */ + +void Catch_1400f4a20(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + /* WARNING: Subroutine does not return */ + FUN_140073830(*(longlong *)(param_2 + 0x78),param_2,param_3,param_4); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4a40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4a40.c new file mode 100644 index 00000000..04aafbf4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4a40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4a40 Unwind@1400f4a40 + * Pseudocode, not original source. */ + +void Unwind_1400f4a40(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x60); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4a50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4a50.c new file mode 100644 index 00000000..5cbba77a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4a50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4a50 Unwind@1400f4a50 + * Pseudocode, not original source. */ + +void Unwind_1400f4a50(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x60); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4a60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4a60.c new file mode 100644 index 00000000..d30a4a78 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4a60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4a60 Unwind@1400f4a60 + * Pseudocode, not original source. */ + +void Unwind_1400f4a60(undefined8 param_1,longlong param_2) + +{ + FUN_14000ad60((undefined8 *)(param_2 + 200)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4a70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4a70.c new file mode 100644 index 00000000..40e67995 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4a70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4a70 Unwind@1400f4a70 + * Pseudocode, not original source. */ + +void Unwind_1400f4a70(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x78); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4a80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4a80.c new file mode 100644 index 00000000..65c0c2b8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4a80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4a80 Catch@1400f4a80 + * Pseudocode, not original source. */ + +void Catch_1400f4a80(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + /* WARNING: Subroutine does not return */ + FUN_140073830(*(longlong *)(param_2 + 0x38),param_2,param_3,param_4); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4aa0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4aa0.c new file mode 100644 index 00000000..58164c45 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4aa0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4aa0 Unwind@1400f4aa0 + * Pseudocode, not original source. */ + +void Unwind_1400f4aa0(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x30); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4ab0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4ab0.c new file mode 100644 index 00000000..6c6d8e8e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4ab0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4ab0 Unwind@1400f4ab0 + * Pseudocode, not original source. */ + +void Unwind_1400f4ab0(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x30); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4ac0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4ac0.c new file mode 100644 index 00000000..e5d10d16 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4ac0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4ac0 Unwind@1400f4ac0 + * Pseudocode, not original source. */ + +void Unwind_1400f4ac0(undefined8 param_1,longlong param_2) + +{ + FUN_1400075b0((longlong *)(param_2 + 0xd8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4ad0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4ad0.c new file mode 100644 index 00000000..da0a51a5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4ad0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4ad0 Unwind@1400f4ad0 + * Pseudocode, not original source. */ + +void Unwind_1400f4ad0(undefined8 param_1,longlong param_2) + +{ + FUN_14000ad60((undefined8 *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4ae0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4ae0.c new file mode 100644 index 00000000..33c80f71 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4ae0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4ae0 Unwind@1400f4ae0 + * Pseudocode, not original source. */ + +void Unwind_1400f4ae0(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x50); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4af0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4af0.c new file mode 100644 index 00000000..a56823e6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4af0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4af0 Catch@1400f4af0 + * Pseudocode, not original source. */ + +void Catch_1400f4af0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + /* WARNING: Subroutine does not return */ + FUN_140073830(*(longlong *)(param_2 + 0x80),param_2,param_3,param_4); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4b10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4b10.c new file mode 100644 index 00000000..db3ecff9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4b10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4b10 Unwind@1400f4b10 + * Pseudocode, not original source. */ + +void Unwind_1400f4b10(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3e0((longlong *)(*(longlong *)(param_2 + 0x40) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4b20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4b20.c new file mode 100644 index 00000000..9e19d19b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4b20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4b20 Unwind@1400f4b20 + * Pseudocode, not original source. */ + +void Unwind_1400f4b20(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3e0(*(longlong **)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4b30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4b30.c new file mode 100644 index 00000000..7ef153b4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4b30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4b30 Unwind@1400f4b30 + * Pseudocode, not original source. */ + +void Unwind_1400f4b30(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x48) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4b40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4b40.c new file mode 100644 index 00000000..2c28f9b7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4b40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4b40 Unwind@1400f4b40 + * Pseudocode, not original source. */ + +void Unwind_1400f4b40(undefined8 param_1,longlong param_2) + +{ + FUN_1400756f0((undefined8 *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4b50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4b50.c new file mode 100644 index 00000000..274e43c6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4b50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4b50 Unwind@1400f4b50 + * Pseudocode, not original source. */ + +void Unwind_1400f4b50(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x28),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4b60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4b60.c new file mode 100644 index 00000000..f5b61f25 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4b60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4b60 Unwind@1400f4b60 + * Pseudocode, not original source. */ + +void Unwind_1400f4b60(undefined8 param_1,longlong param_2) + +{ + FUN_140075700((undefined8 *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4b70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4b70.c new file mode 100644 index 00000000..8a1b93a1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4b70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4b70 Unwind@1400f4b70 + * Pseudocode, not original source. */ + +void Unwind_1400f4b70(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4b80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4b80.c new file mode 100644 index 00000000..813c8b32 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4b80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4b80 Unwind@1400f4b80 + * Pseudocode, not original source. */ + +void Unwind_1400f4b80(undefined8 param_1,longlong param_2) + +{ + FUN_14003d260((undefined8 *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4b90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4b90.c new file mode 100644 index 00000000..e13b8a6b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4b90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4b90 Unwind@1400f4b90 + * Pseudocode, not original source. */ + +void Unwind_1400f4b90(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4ba0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4ba0.c new file mode 100644 index 00000000..fb15b51e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4ba0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4ba0 Unwind@1400f4ba0 + * Pseudocode, not original source. */ + +void Unwind_1400f4ba0(undefined8 param_1,longlong param_2) + +{ + FUN_140075700((undefined8 *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4bb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4bb0.c new file mode 100644 index 00000000..7b57d850 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4bb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4bb0 Unwind@1400f4bb0 + * Pseudocode, not original source. */ + +void Unwind_1400f4bb0(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140006e80((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4bc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4bc0.c new file mode 100644 index 00000000..ee7977e8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4bc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4bc0 Unwind@1400f4bc0 + * Pseudocode, not original source. */ + +void Unwind_1400f4bc0(undefined8 param_1,longlong param_2) + +{ + FUN_1400756f0((undefined8 *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4bd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4bd0.c new file mode 100644 index 00000000..b9f077c5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4bd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4bd0 Unwind@1400f4bd0 + * Pseudocode, not original source. */ + +void Unwind_1400f4bd0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4be0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4be0.c new file mode 100644 index 00000000..741186db --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4be0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4be0 Unwind@1400f4be0 + * Pseudocode, not original source. */ + +void Unwind_1400f4be0(undefined8 param_1,longlong param_2) + +{ + FUN_140005000((undefined8 *)(param_2 + 0xa0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4bf0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4bf0.c new file mode 100644 index 00000000..7452a8c8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4bf0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4bf0 Unwind@1400f4bf0 + * Pseudocode, not original source. */ + +void Unwind_1400f4bf0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4c00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4c00.c new file mode 100644 index 00000000..878d133e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4c00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4c00 Unwind@1400f4c00 + * Pseudocode, not original source. */ + +void Unwind_1400f4c00(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140006e80(*(longlong **)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4c10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4c10.c new file mode 100644 index 00000000..751d27e5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4c10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4c10 Unwind@1400f4c10 + * Pseudocode, not original source. */ + +void Unwind_1400f4c10(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0xa0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4c20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4c20.c new file mode 100644 index 00000000..a262831e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4c20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4c20 Unwind@1400f4c20 + * Pseudocode, not original source. */ + +void Unwind_1400f4c20(undefined8 param_1,longlong param_2) + +{ + FUN_140076940(param_2 + 0xa0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4c30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4c30.c new file mode 100644 index 00000000..05ec22f1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4c30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4c30 Unwind@1400f4c30 + * Pseudocode, not original source. */ + +void Unwind_1400f4c30(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0xde0,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4c40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4c40.c new file mode 100644 index 00000000..f3e399f5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4c40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4c40 Unwind@1400f4c40 + * Pseudocode, not original source. */ + +void Unwind_1400f4c40(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0xdd0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4c60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4c60.c new file mode 100644 index 00000000..31d5546d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4c60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4c60 Unwind@1400f4c60 + * Pseudocode, not original source. */ + +void Unwind_1400f4c60(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0x150,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4c70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4c70.c new file mode 100644 index 00000000..946cee95 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4c70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4c70 Unwind@1400f4c70 + * Pseudocode, not original source. */ + +void Unwind_1400f4c70(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0xdd0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4c90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4c90.c new file mode 100644 index 00000000..d6dbaa5f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4c90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4c90 Unwind@1400f4c90 + * Pseudocode, not original source. */ + +void Unwind_1400f4c90(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0x150,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4ca0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4ca0.c new file mode 100644 index 00000000..b6097c5e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4ca0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4ca0 Unwind@1400f4ca0 + * Pseudocode, not original source. */ + +void Unwind_1400f4ca0(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0xdd0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4cc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4cc0.c new file mode 100644 index 00000000..e5031f10 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4cc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4cc0 Unwind@1400f4cc0 + * Pseudocode, not original source. */ + +void Unwind_1400f4cc0(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0x1a60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4ce0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4ce0.c new file mode 100644 index 00000000..72e04f57 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4ce0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4ce0 Unwind@1400f4ce0 + * Pseudocode, not original source. */ + +void Unwind_1400f4ce0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x30) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4cf0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4cf0.c new file mode 100644 index 00000000..11ae8f39 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4cf0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4cf0 Unwind@1400f4cf0 + * Pseudocode, not original source. */ + +void Unwind_1400f4cf0(undefined8 param_1,longlong param_2) + +{ + FUN_140049e80(*(undefined8 **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4d00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4d00.c new file mode 100644 index 00000000..600d8061 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4d00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4d00 Unwind@1400f4d00 + * Pseudocode, not original source. */ + +void Unwind_1400f4d00(undefined8 param_1,longlong param_2) + +{ + FUN_140076d80((undefined8 *)(*(longlong *)(param_2 + 0x40) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4d10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4d10.c new file mode 100644 index 00000000..c59c3914 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4d10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4d10 Unwind@1400f4d10 + * Pseudocode, not original source. */ + +void Unwind_1400f4d10(undefined8 param_1,longlong param_2) + +{ + FUN_140076dc0((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4d20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4d20.c new file mode 100644 index 00000000..f78fae27 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4d20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4d20 Unwind@1400f4d20 + * Pseudocode, not original source. */ + +void Unwind_1400f4d20(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0xb0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4d30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4d30.c new file mode 100644 index 00000000..5469e2ef --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4d30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4d30 Unwind@1400f4d30 + * Pseudocode, not original source. */ + +void Unwind_1400f4d30(undefined8 param_1,longlong param_2) + +{ + FUN_140076940(param_2 + 0xb0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4d40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4d40.c new file mode 100644 index 00000000..3b66ed50 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4d40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4d40 Unwind@1400f4d40 + * Pseudocode, not original source. */ + +void Unwind_1400f4d40(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0x160,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4d50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4d50.c new file mode 100644 index 00000000..af34a1bb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4d50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4d50 Unwind@1400f4d50 + * Pseudocode, not original source. */ + +void Unwind_1400f4d50(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0x1a70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4d70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4d70.c new file mode 100644 index 00000000..abea7097 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4d70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4d70 Unwind@1400f4d70 + * Pseudocode, not original source. */ + +void Unwind_1400f4d70(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0xdf0,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4d80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4d80.c new file mode 100644 index 00000000..86fa4ecf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4d80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4d80 Unwind@1400f4d80 + * Pseudocode, not original source. */ + +void Unwind_1400f4d80(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0x1a70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4da0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4da0.c new file mode 100644 index 00000000..e27b155b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4da0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4da0 Unwind@1400f4da0 + * Pseudocode, not original source. */ + +void Unwind_1400f4da0(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0xde0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4dc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4dc0.c new file mode 100644 index 00000000..1313a6ed --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4dc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4dc0 Unwind@1400f4dc0 + * Pseudocode, not original source. */ + +void Unwind_1400f4dc0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x30) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4dd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4dd0.c new file mode 100644 index 00000000..5f04fc59 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4dd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4dd0 Unwind@1400f4dd0 + * Pseudocode, not original source. */ + +void Unwind_1400f4dd0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280(*(longlong **)(param_2 + 0x48),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4de0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4de0.c new file mode 100644 index 00000000..6ce25b7b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4de0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4de0 Unwind@1400f4de0 + * Pseudocode, not original source. */ + +void Unwind_1400f4de0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x118)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4df0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4df0.c new file mode 100644 index 00000000..bf5bd319 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4df0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4df0 Unwind@1400f4df0 + * Pseudocode, not original source. */ + +void Unwind_1400f4df0(undefined8 param_1,longlong param_2) + +{ + FUN_14004d2c0((undefined8 *)(param_2 + 0x230)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4e00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4e00.c new file mode 100644 index 00000000..c766d877 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4e00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4e00 Unwind@1400f4e00 + * Pseudocode, not original source. */ + +void Unwind_1400f4e00(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x58),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4e10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4e10.c new file mode 100644 index 00000000..70d79ef4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4e10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4e10 Unwind@1400f4e10 + * Pseudocode, not original source. */ + +void Unwind_1400f4e10(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x138)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4e20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4e20.c new file mode 100644 index 00000000..73b12d6f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4e20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4e20 Unwind@1400f4e20 + * Pseudocode, not original source. */ + +void Unwind_1400f4e20(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0xc0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4e30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4e30.c new file mode 100644 index 00000000..4b2267a5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4e30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4e30 Unwind@1400f4e30 + * Pseudocode, not original source. */ + +void Unwind_1400f4e30(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x30),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4e40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4e40.c new file mode 100644 index 00000000..c5162656 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4e40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4e40 Unwind@1400f4e40 + * Pseudocode, not original source. */ + +void Unwind_1400f4e40(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4e50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4e50.c new file mode 100644 index 00000000..919489b2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4e50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4e50 Unwind@1400f4e50 + * Pseudocode, not original source. */ + +void Unwind_1400f4e50(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xb0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4e60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4e60.c new file mode 100644 index 00000000..470fa88e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4e60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4e60 Unwind@1400f4e60 + * Pseudocode, not original source. */ + +void Unwind_1400f4e60(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0xe8) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4e70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4e70.c new file mode 100644 index 00000000..3d21a9d1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4e70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4e70 Unwind@1400f4e70 + * Pseudocode, not original source. */ + +void Unwind_1400f4e70(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xb0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4e80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4e80.c new file mode 100644 index 00000000..1d51cec4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4e80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4e80 Unwind@1400f4e80 + * Pseudocode, not original source. */ + +void Unwind_1400f4e80(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0xf0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4e90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4e90.c new file mode 100644 index 00000000..95297237 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4e90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4e90 Unwind@1400f4e90 + * Pseudocode, not original source. */ + +void Unwind_1400f4e90(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x180); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4ea0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4ea0.c new file mode 100644 index 00000000..7584e2f0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4ea0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4ea0 Unwind@1400f4ea0 + * Pseudocode, not original source. */ + +void Unwind_1400f4ea0(undefined8 param_1,longlong param_2) + +{ + FUN_140076940(param_2 + 0x180); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4eb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4eb0.c new file mode 100644 index 00000000..04d46787 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4eb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4eb0 Unwind@1400f4eb0 + * Pseudocode, not original source. */ + +void Unwind_1400f4eb0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0x1070,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4ec0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4ec0.c new file mode 100644 index 00000000..89da3b00 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4ec0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4ec0 Unwind@1400f4ec0 + * Pseudocode, not original source. */ + +void Unwind_1400f4ec0(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0x1060)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4ee0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4ee0.c new file mode 100644 index 00000000..94bd1e9a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4ee0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4ee0 Unwind@1400f4ee0 + * Pseudocode, not original source. */ + +void Unwind_1400f4ee0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0x3e0,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4ef0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4ef0.c new file mode 100644 index 00000000..85ea2fcd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4ef0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4ef0 Unwind@1400f4ef0 + * Pseudocode, not original source. */ + +void Unwind_1400f4ef0(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0x1060)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4f10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4f10.c new file mode 100644 index 00000000..e17d05e4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4f10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4f10 Unwind@1400f4f10 + * Pseudocode, not original source. */ + +void Unwind_1400f4f10(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0x1060)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4f30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4f30.c new file mode 100644 index 00000000..a06992a2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4f30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4f30 Unwind@1400f4f30 + * Pseudocode, not original source. */ + +void Unwind_1400f4f30(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0x3e0,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4f40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4f40.c new file mode 100644 index 00000000..8a0af88e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4f40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4f40 Unwind@1400f4f40 + * Pseudocode, not original source. */ + +void Unwind_1400f4f40(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0x1060)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4f60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4f60.c new file mode 100644 index 00000000..0673fa9b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4f60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4f60 Unwind@1400f4f60 + * Pseudocode, not original source. */ + +void Unwind_1400f4f60(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0x1cf0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4f80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4f80.c new file mode 100644 index 00000000..4f39b6d3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4f80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4f80 Unwind@1400f4f80 + * Pseudocode, not original source. */ + +void Unwind_1400f4f80(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x48) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4f90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4f90.c new file mode 100644 index 00000000..e3389bff --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4f90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4f90 Unwind@1400f4f90 + * Pseudocode, not original source. */ + +void Unwind_1400f4f90(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4fa0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4fa0.c new file mode 100644 index 00000000..a70a22b4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4fa0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4fa0 Unwind@1400f4fa0 + * Pseudocode, not original source. */ + +void Unwind_1400f4fa0(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4fb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4fb0.c new file mode 100644 index 00000000..8c0342d6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4fb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4fb0 Unwind@1400f4fb0 + * Pseudocode, not original source. */ + +void Unwind_1400f4fb0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x128)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4fc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4fc0.c new file mode 100644 index 00000000..d2427be2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4fc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4fc0 Unwind@1400f4fc0 + * Pseudocode, not original source. */ + +void Unwind_1400f4fc0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x48) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4fd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4fd0.c new file mode 100644 index 00000000..6b5399ab --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4fd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4fd0 Unwind@1400f4fd0 + * Pseudocode, not original source. */ + +void Unwind_1400f4fd0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x48) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4fe0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4fe0.c new file mode 100644 index 00000000..5bbbc055 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4fe0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4fe0 Unwind@1400f4fe0 + * Pseudocode, not original source. */ + +void Unwind_1400f4fe0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xb0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f4ff0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f4ff0.c new file mode 100644 index 00000000..bfa17060 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f4ff0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f4ff0 Unwind@1400f4ff0 + * Pseudocode, not original source. */ + +void Unwind_1400f4ff0(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5000.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5000.c new file mode 100644 index 00000000..fbf92530 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5000.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5000 Unwind@1400f5000 + * Pseudocode, not original source. */ + +void Unwind_1400f5000(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x30),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5010.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5010.c new file mode 100644 index 00000000..7b736664 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5010.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5010 Unwind@1400f5010 + * Pseudocode, not original source. */ + +void Unwind_1400f5010(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5020.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5020.c new file mode 100644 index 00000000..a456b1dc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5020.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5020 Unwind@1400f5020 + * Pseudocode, not original source. */ + +void Unwind_1400f5020(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x38),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5030.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5030.c new file mode 100644 index 00000000..dffb5703 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5030.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5030 Unwind@1400f5030 + * Pseudocode, not original source. */ + +void Unwind_1400f5030(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5040.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5040.c new file mode 100644 index 00000000..b0de1268 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5040.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5040 Unwind@1400f5040 + * Pseudocode, not original source. */ + +void Unwind_1400f5040(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5050.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5050.c new file mode 100644 index 00000000..5459d5fe --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5050.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5050 Unwind@1400f5050 + * Pseudocode, not original source. */ + +void Unwind_1400f5050(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5060.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5060.c new file mode 100644 index 00000000..301fa3ec --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5060.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5060 Unwind@1400f5060 + * Pseudocode, not original source. */ + +void Unwind_1400f5060(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x88)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5070.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5070.c new file mode 100644 index 00000000..51406cdd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5070.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5070 Unwind@1400f5070 + * Pseudocode, not original source. */ + +void Unwind_1400f5070(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x30),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5080.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5080.c new file mode 100644 index 00000000..2db06b77 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5080.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5080 Unwind@1400f5080 + * Pseudocode, not original source. */ + +void Unwind_1400f5080(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5090.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5090.c new file mode 100644 index 00000000..9a905c86 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5090.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5090 Unwind@1400f5090 + * Pseudocode, not original source. */ + +void Unwind_1400f5090(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f50a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f50a0.c new file mode 100644 index 00000000..f96bf376 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f50a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f50a0 Unwind@1400f50a0 + * Pseudocode, not original source. */ + +void Unwind_1400f50a0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f50b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f50b0.c new file mode 100644 index 00000000..697945d5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f50b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f50b0 Unwind@1400f50b0 + * Pseudocode, not original source. */ + +void Unwind_1400f50b0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f50c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f50c0.c new file mode 100644 index 00000000..32809295 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f50c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f50c0 Unwind@1400f50c0 + * Pseudocode, not original source. */ + +void Unwind_1400f50c0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x30),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f50d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f50d0.c new file mode 100644 index 00000000..de222673 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f50d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f50d0 Unwind@1400f50d0 + * Pseudocode, not original source. */ + +void Unwind_1400f50d0(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f50e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f50e0.c new file mode 100644 index 00000000..72b666f8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f50e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f50e0 Unwind@1400f50e0 + * Pseudocode, not original source. */ + +void Unwind_1400f50e0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x88)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f50f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f50f0.c new file mode 100644 index 00000000..71ae26b2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f50f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f50f0 Unwind@1400f50f0 + * Pseudocode, not original source. */ + +void Unwind_1400f50f0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5100.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5100.c new file mode 100644 index 00000000..e76cdff1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5100.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5100 Unwind@1400f5100 + * Pseudocode, not original source. */ + +void Unwind_1400f5100(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5110.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5110.c new file mode 100644 index 00000000..ea964c33 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5110.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5110 Unwind@1400f5110 + * Pseudocode, not original source. */ + +void Unwind_1400f5110(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x30),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5120.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5120.c new file mode 100644 index 00000000..5d428f78 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5120.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5120 Unwind@1400f5120 + * Pseudocode, not original source. */ + +void Unwind_1400f5120(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5130.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5130.c new file mode 100644 index 00000000..b7e78157 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5130.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5130 Unwind@1400f5130 + * Pseudocode, not original source. */ + +void Unwind_1400f5130(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x88)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5140.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5140.c new file mode 100644 index 00000000..a1a27c30 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5140.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5140 Unwind@1400f5140 + * Pseudocode, not original source. */ + +void Unwind_1400f5140(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5150.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5150.c new file mode 100644 index 00000000..21af3583 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5150.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5150 Unwind@1400f5150 + * Pseudocode, not original source. */ + +void Unwind_1400f5150(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5160.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5160.c new file mode 100644 index 00000000..8e239d4b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5160.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5160 Unwind@1400f5160 + * Pseudocode, not original source. */ + +void Unwind_1400f5160(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x70); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5170.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5170.c new file mode 100644 index 00000000..9024a39f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5170.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5170 Unwind@1400f5170 + * Pseudocode, not original source. */ + +void Unwind_1400f5170(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x48); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5180.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5180.c new file mode 100644 index 00000000..d79ffa59 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5180.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5180 Unwind@1400f5180 + * Pseudocode, not original source. */ + +void Unwind_1400f5180(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0xa8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5190.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5190.c new file mode 100644 index 00000000..5eed9040 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5190.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5190 Unwind@1400f5190 + * Pseudocode, not original source. */ + +void Unwind_1400f5190(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x30),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f51a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f51a0.c new file mode 100644 index 00000000..d6edf583 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f51a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f51a0 Unwind@1400f51a0 + * Pseudocode, not original source. */ + +void Unwind_1400f51a0(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0xc0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f51b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f51b0.c new file mode 100644 index 00000000..6ad5c181 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f51b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f51b0 Unwind@1400f51b0 + * Pseudocode, not original source. */ + +void Unwind_1400f51b0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xb0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f51c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f51c0.c new file mode 100644 index 00000000..46db4954 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f51c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f51c0 Unwind@1400f51c0 + * Pseudocode, not original source. */ + +void Unwind_1400f51c0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xb0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f51d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f51d0.c new file mode 100644 index 00000000..40eef9fb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f51d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f51d0 Unwind@1400f51d0 + * Pseudocode, not original source. */ + +void Unwind_1400f51d0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x38) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f51e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f51e0.c new file mode 100644 index 00000000..0e915c55 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f51e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f51e0 Unwind@1400f51e0 + * Pseudocode, not original source. */ + +void Unwind_1400f51e0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x38) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f51f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f51f0.c new file mode 100644 index 00000000..2524d34c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f51f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f51f0 Unwind@1400f51f0 + * Pseudocode, not original source. */ + +void Unwind_1400f51f0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0xf0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5200.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5200.c new file mode 100644 index 00000000..2ebbe6d2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5200.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5200 Unwind@1400f5200 + * Pseudocode, not original source. */ + +void Unwind_1400f5200(undefined8 param_1,longlong param_2) + +{ + FUN_140076940(param_2 + 0xf0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5210.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5210.c new file mode 100644 index 00000000..0aa180f6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5210.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5210 Unwind@1400f5210 + * Pseudocode, not original source. */ + +void Unwind_1400f5210(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0x1a0,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5220.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5220.c new file mode 100644 index 00000000..32f6a6ed --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5220.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5220 Unwind@1400f5220 + * Pseudocode, not original source. */ + +void Unwind_1400f5220(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0xe30,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5230.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5230.c new file mode 100644 index 00000000..ec93c095 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5230.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5230 Unwind@1400f5230 + * Pseudocode, not original source. */ + +void Unwind_1400f5230(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0xe30,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5240.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5240.c new file mode 100644 index 00000000..5b320849 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5240.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5240 Unwind@1400f5240 + * Pseudocode, not original source. */ + +void Unwind_1400f5240(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x38) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5250.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5250.c new file mode 100644 index 00000000..5684b345 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5250.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5250 Unwind@1400f5250 + * Pseudocode, not original source. */ + +void Unwind_1400f5250(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x38) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5260.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5260.c new file mode 100644 index 00000000..e232d5e6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5260.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5260 Unwind@1400f5260 + * Pseudocode, not original source. */ + +void Unwind_1400f5260(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x38) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5270.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5270.c new file mode 100644 index 00000000..6737756f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5270.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5270 Unwind@1400f5270 + * Pseudocode, not original source. */ + +void Unwind_1400f5270(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x38) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5280.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5280.c new file mode 100644 index 00000000..7524f2cf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5280.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5280 Unwind@1400f5280 + * Pseudocode, not original source. */ + +void Unwind_1400f5280(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x38) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5290.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5290.c new file mode 100644 index 00000000..f0c48857 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5290.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5290 Unwind@1400f5290 + * Pseudocode, not original source. */ + +void Unwind_1400f5290(undefined8 param_1,longlong param_2) + +{ + FUN_14003f370(*(undefined8 **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f52a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f52a0.c new file mode 100644 index 00000000..a1c06d93 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f52a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f52a0 Unwind@1400f52a0 + * Pseudocode, not original source. */ + +void Unwind_1400f52a0(undefined8 param_1,longlong param_2) + +{ + FUN_140091270((longlong *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f52b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f52b0.c new file mode 100644 index 00000000..c7ead99f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f52b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f52b0 Unwind@1400f52b0 + * Pseudocode, not original source. */ + +void Unwind_1400f52b0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f52c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f52c0.c new file mode 100644 index 00000000..beb30208 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f52c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f52c0 Unwind@1400f52c0 + * Pseudocode, not original source. */ + +void Unwind_1400f52c0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f52d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f52d0.c new file mode 100644 index 00000000..b462e8c7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f52d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f52d0 Unwind@1400f52d0 + * Pseudocode, not original source. */ + +void Unwind_1400f52d0(undefined8 param_1,longlong param_2) + +{ + FUN_140091270((longlong *)(param_2 + 0x98)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f52e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f52e0.c new file mode 100644 index 00000000..e7f85e2e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f52e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f52e0 Unwind@1400f52e0 + * Pseudocode, not original source. */ + +void Unwind_1400f52e0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f52f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f52f0.c new file mode 100644 index 00000000..44931027 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f52f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f52f0 Unwind@1400f52f0 + * Pseudocode, not original source. */ + +void Unwind_1400f52f0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5300.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5300.c new file mode 100644 index 00000000..57373e83 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5300.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5300 Unwind@1400f5300 + * Pseudocode, not original source. */ + +void Unwind_1400f5300(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5310.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5310.c new file mode 100644 index 00000000..d6b72fe4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5310.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5310 Unwind@1400f5310 + * Pseudocode, not original source. */ + +void Unwind_1400f5310(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5320.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5320.c new file mode 100644 index 00000000..ca3434bb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5320.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5320 Unwind@1400f5320 + * Pseudocode, not original source. */ + +void Unwind_1400f5320(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5330.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5330.c new file mode 100644 index 00000000..7e6005ee --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5330.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5330 Unwind@1400f5330 + * Pseudocode, not original source. */ + +void Unwind_1400f5330(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5340.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5340.c new file mode 100644 index 00000000..2f059feb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5340.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5340 Catch@1400f5340 + * Pseudocode, not original source. */ + +undefined * +Catch_1400f5340(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong lVar1; + longlong *plVar2; + + lVar1 = *(longlong *)(param_2 + 0xd0); + if (*(longlong *)(*(longlong *)(lVar1 + 0x148) + 0x758) != 0) { + FUN_14003dd60((exception *)(param_2 + 0x40),*(longlong **)(param_2 + 0x90),param_3,param_4); + *(undefined4 *)(param_2 + 0x58) = *(undefined4 *)(*(longlong *)(param_2 + 0xd8) + 0x30); + plVar2 = *(longlong **)(*(longlong *)(lVar1 + 0x148) + 0x758); + (**(code **)(*plVar2 + 0x20))(plVar2,param_2 + 0x40); + FUN_14003d6e0((exception *)(param_2 + 0x40)); + } + return &DAT_14007b13c; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f53c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f53c0.c new file mode 100644 index 00000000..23af93af --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f53c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f53c0 Unwind@1400f53c0 + * Pseudocode, not original source. */ + +void Unwind_1400f53c0(undefined8 param_1,longlong param_2) + +{ + FUN_14003d6e0((exception *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f53d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f53d0.c new file mode 100644 index 00000000..ac539c25 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f53d0.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f53d0 Catch@1400f53d0 + * Pseudocode, not original source. */ + +undefined * +Catch_1400f53d0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong lVar1; + longlong *plVar2; + + lVar1 = *(longlong *)(param_2 + 0xd0); + if (*(longlong *)(*(longlong *)(lVar1 + 0x148) + 0x758) != 0) { + FUN_14003d720((exception *)(param_2 + 0x40),*(undefined8 *)(param_2 + 0xa0),param_3,param_4); + *(undefined4 *)(param_2 + 0x58) = *(undefined4 *)(*(longlong *)(param_2 + 0xd8) + 0x30); + plVar2 = *(longlong **)(*(longlong *)(lVar1 + 0x148) + 0x758); + (**(code **)(*plVar2 + 0x20))(plVar2,param_2 + 0x40); + FUN_14003d6e0((exception *)(param_2 + 0x40)); + } + return &DAT_14007b13c; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5450.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5450.c new file mode 100644 index 00000000..d8376477 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5450.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5450 Unwind@1400f5450 + * Pseudocode, not original source. */ + +void Unwind_1400f5450(undefined8 param_1,longlong param_2) + +{ + FUN_14003d6e0((exception *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5460.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5460.c new file mode 100644 index 00000000..0170e7f2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5460.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5460 Catch@1400f5460 + * Pseudocode, not original source. */ + +undefined * +Catch_1400f5460(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong lVar1; + longlong *plVar2; + + lVar1 = *(longlong *)(param_2 + 0xd0); + if (*(longlong *)(*(longlong *)(lVar1 + 0x148) + 0x758) != 0) { + FUN_14003dde0((exception *)(param_2 + 0x40),*(longlong *)(param_2 + 0x98),param_3,param_4); + *(undefined4 *)(param_2 + 0x58) = *(undefined4 *)(*(longlong *)(param_2 + 0xd8) + 0x30); + plVar2 = *(longlong **)(*(longlong *)(lVar1 + 0x148) + 0x758); + (**(code **)(*plVar2 + 0x20))(plVar2,param_2 + 0x40); + FUN_14003d6e0((exception *)(param_2 + 0x40)); + } + return &DAT_14007b13c; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f54e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f54e0.c new file mode 100644 index 00000000..e9338045 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f54e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f54e0 Unwind@1400f54e0 + * Pseudocode, not original source. */ + +void Unwind_1400f54e0(undefined8 param_1,longlong param_2) + +{ + FUN_14003d6e0((exception *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f54f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f54f0.c new file mode 100644 index 00000000..46ccad85 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f54f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f54f0 Unwind@1400f54f0 + * Pseudocode, not original source. */ + +void Unwind_1400f54f0(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5520.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5520.c new file mode 100644 index 00000000..66e3a235 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5520.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5520 Unwind@1400f5520 + * Pseudocode, not original source. */ + +void Unwind_1400f5520(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5550.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5550.c new file mode 100644 index 00000000..d18d3c9b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5550.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5550 Unwind@1400f5550 + * Pseudocode, not original source. */ + +void Unwind_1400f5550(undefined8 param_1,longlong param_2) + +{ + FUN_1400721f0((char *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5560.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5560.c new file mode 100644 index 00000000..5cf08065 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5560.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5560 Unwind@1400f5560 + * Pseudocode, not original source. */ + +void Unwind_1400f5560(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x58),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5570.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5570.c new file mode 100644 index 00000000..ad17d22e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5570.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5570 Unwind@1400f5570 + * Pseudocode, not original source. */ + +void Unwind_1400f5570(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5580.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5580.c new file mode 100644 index 00000000..b8d56234 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5580.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5580 Unwind@1400f5580 + * Pseudocode, not original source. */ + +void Unwind_1400f5580(undefined8 param_1,longlong param_2) + +{ + FUN_140091270((longlong *)(param_2 + 0x130)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5590.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5590.c new file mode 100644 index 00000000..d9e64011 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5590.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5590 Unwind@1400f5590 + * Pseudocode, not original source. */ + +void Unwind_1400f5590(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f55a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f55a0.c new file mode 100644 index 00000000..9c5c7f63 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f55a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f55a0 Unwind@1400f55a0 + * Pseudocode, not original source. */ + +void Unwind_1400f55a0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x128),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f55b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f55b0.c new file mode 100644 index 00000000..36cc6817 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f55b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f55b0 Unwind@1400f55b0 + * Pseudocode, not original source. */ + +void Unwind_1400f55b0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xb0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f55c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f55c0.c new file mode 100644 index 00000000..4227274a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f55c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f55c0 Unwind@1400f55c0 + * Pseudocode, not original source. */ + +void Unwind_1400f55c0(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x78)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f55d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f55d0.c new file mode 100644 index 00000000..ec3997c7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f55d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f55d0 Unwind@1400f55d0 + * Pseudocode, not original source. */ + +void Unwind_1400f55d0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xc0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f55e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f55e0.c new file mode 100644 index 00000000..e5c1d23f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f55e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f55e0 Unwind@1400f55e0 + * Pseudocode, not original source. */ + +void Unwind_1400f55e0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xa0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f55f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f55f0.c new file mode 100644 index 00000000..14d31566 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f55f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f55f0 Unwind@1400f55f0 + * Pseudocode, not original source. */ + +void Unwind_1400f55f0(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5600.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5600.c new file mode 100644 index 00000000..b92dc550 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5600.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5600 Unwind@1400f5600 + * Pseudocode, not original source. */ + +void Unwind_1400f5600(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xa8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5610.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5610.c new file mode 100644 index 00000000..9356489a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5610.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5610 Unwind@1400f5610 + * Pseudocode, not original source. */ + +void Unwind_1400f5610(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x78); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5620.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5620.c new file mode 100644 index 00000000..2e61468f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5620.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5620 Unwind@1400f5620 + * Pseudocode, not original source. */ + +void Unwind_1400f5620(undefined8 param_1,longlong param_2) + +{ + FUN_14004de40(param_2 + 0x78); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5630.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5630.c new file mode 100644 index 00000000..6f1beed2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5630.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5630 Unwind@1400f5630 + * Pseudocode, not original source. */ + +void Unwind_1400f5630(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5640.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5640.c new file mode 100644 index 00000000..8cb47c2d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5640.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5640 Unwind@1400f5640 + * Pseudocode, not original source. */ + +void Unwind_1400f5640(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0xd0,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5650.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5650.c new file mode 100644 index 00000000..bc6e1c74 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5650.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5650 Unwind@1400f5650 + * Pseudocode, not original source. */ + +void Unwind_1400f5650(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x68),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5660.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5660.c new file mode 100644 index 00000000..38f232fe --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5660.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5660 Unwind@1400f5660 + * Pseudocode, not original source. */ + +void Unwind_1400f5660(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0xc0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5670.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5670.c new file mode 100644 index 00000000..f367701d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5670.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5670 Unwind@1400f5670 + * Pseudocode, not original source. */ + +void Unwind_1400f5670(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x60),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5680.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5680.c new file mode 100644 index 00000000..203225f0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5680.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5680 Unwind@1400f5680 + * Pseudocode, not original source. */ + +void Unwind_1400f5680(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5690.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5690.c new file mode 100644 index 00000000..1a6ec4c2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5690.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5690 Unwind@1400f5690 + * Pseudocode, not original source. */ + +void Unwind_1400f5690(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f56a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f56a0.c new file mode 100644 index 00000000..dac697bf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f56a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f56a0 Unwind@1400f56a0 + * Pseudocode, not original source. */ + +void Unwind_1400f56a0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f56b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f56b0.c new file mode 100644 index 00000000..bc710ca5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f56b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f56b0 Unwind@1400f56b0 + * Pseudocode, not original source. */ + +void Unwind_1400f56b0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0xc0) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f56c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f56c0.c new file mode 100644 index 00000000..58a33754 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f56c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f56c0 Unwind@1400f56c0 + * Pseudocode, not original source. */ + +void Unwind_1400f56c0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x80)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f56d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f56d0.c new file mode 100644 index 00000000..1ec7dc77 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f56d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f56d0 Unwind@1400f56d0 + * Pseudocode, not original source. */ + +void Unwind_1400f56d0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f56e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f56e0.c new file mode 100644 index 00000000..3aa7a068 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f56e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f56e0 Unwind@1400f56e0 + * Pseudocode, not original source. */ + +void Unwind_1400f56e0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x90),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f56f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f56f0.c new file mode 100644 index 00000000..65f4bd4f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f56f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f56f0 Unwind@1400f56f0 + * Pseudocode, not original source. */ + +void Unwind_1400f56f0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x58),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5700.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5700.c new file mode 100644 index 00000000..a34e64c2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5700.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5700 Unwind@1400f5700 + * Pseudocode, not original source. */ + +void Unwind_1400f5700(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 200)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5710.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5710.c new file mode 100644 index 00000000..50c9425f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5710.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5710 Unwind@1400f5710 + * Pseudocode, not original source. */ + +void Unwind_1400f5710(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xb8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5720.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5720.c new file mode 100644 index 00000000..1f1f7475 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5720.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5720 Unwind@1400f5720 + * Pseudocode, not original source. */ + +void Unwind_1400f5720(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xa8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5730.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5730.c new file mode 100644 index 00000000..5f2e9711 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5730.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5730 Unwind@1400f5730 + * Pseudocode, not original source. */ + +void Unwind_1400f5730(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x38); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5740.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5740.c new file mode 100644 index 00000000..c43615f3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5740.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5740 Unwind@1400f5740 + * Pseudocode, not original source. */ + +void Unwind_1400f5740(undefined8 param_1,longlong param_2) + +{ + FUN_14004de40(param_2 + 0x38); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5750.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5750.c new file mode 100644 index 00000000..66e957a8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5750.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5750 Unwind@1400f5750 + * Pseudocode, not original source. */ + +void Unwind_1400f5750(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0xd70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5770.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5770.c new file mode 100644 index 00000000..79d62479 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5770.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5770 Unwind@1400f5770 + * Pseudocode, not original source. */ + +void Unwind_1400f5770(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0xf0,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5780.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5780.c new file mode 100644 index 00000000..88b93b91 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5780.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5780 Unwind@1400f5780 + * Pseudocode, not original source. */ + +void Unwind_1400f5780(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0xd70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f57a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f57a0.c new file mode 100644 index 00000000..d8d003e8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f57a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f57a0 Unwind@1400f57a0 + * Pseudocode, not original source. */ + +void Unwind_1400f57a0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x80)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f57b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f57b0.c new file mode 100644 index 00000000..4b227337 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f57b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f57b0 Unwind@1400f57b0 + * Pseudocode, not original source. */ + +void Unwind_1400f57b0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x30),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f57c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f57c0.c new file mode 100644 index 00000000..bac9d9a5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f57c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f57c0 Unwind@1400f57c0 + * Pseudocode, not original source. */ + +void Unwind_1400f57c0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0xe0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f57d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f57d0.c new file mode 100644 index 00000000..f5bc4fb5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f57d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f57d0 Unwind@1400f57d0 + * Pseudocode, not original source. */ + +void Unwind_1400f57d0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f57e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f57e0.c new file mode 100644 index 00000000..0356b15f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f57e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f57e0 Unwind@1400f57e0 + * Pseudocode, not original source. */ + +void Unwind_1400f57e0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f57f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f57f0.c new file mode 100644 index 00000000..1794ab80 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f57f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f57f0 Unwind@1400f57f0 + * Pseudocode, not original source. */ + +void Unwind_1400f57f0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0xe0) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5800.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5800.c new file mode 100644 index 00000000..74162b59 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5800.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5800 Unwind@1400f5800 + * Pseudocode, not original source. */ + +void Unwind_1400f5800(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5810.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5810.c new file mode 100644 index 00000000..b1afab52 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5810.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5810 Unwind@1400f5810 + * Pseudocode, not original source. */ + +void Unwind_1400f5810(undefined8 param_1,longlong param_2) + +{ + FUN_14004de40(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5820.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5820.c new file mode 100644 index 00000000..2836adbc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5820.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5820 Unwind@1400f5820 + * Pseudocode, not original source. */ + +void Unwind_1400f5820(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0xd80)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5840.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5840.c new file mode 100644 index 00000000..c34373b9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5840.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5840 Unwind@1400f5840 + * Pseudocode, not original source. */ + +void Unwind_1400f5840(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0x100,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5850.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5850.c new file mode 100644 index 00000000..af317a20 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5850.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5850 Unwind@1400f5850 + * Pseudocode, not original source. */ + +void Unwind_1400f5850(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0xd80)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5870.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5870.c new file mode 100644 index 00000000..2cffbb81 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5870.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5870 Unwind@1400f5870 + * Pseudocode, not original source. */ + +void Unwind_1400f5870(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x88)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5880.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5880.c new file mode 100644 index 00000000..b87fe474 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5880.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5880 Unwind@1400f5880 + * Pseudocode, not original source. */ + +void Unwind_1400f5880(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x38),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5890.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5890.c new file mode 100644 index 00000000..f13511ff --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5890.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5890 Unwind@1400f5890 + * Pseudocode, not original source. */ + +void Unwind_1400f5890(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0xf0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f58a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f58a0.c new file mode 100644 index 00000000..4261b2a1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f58a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f58a0 Unwind@1400f58a0 + * Pseudocode, not original source. */ + +void Unwind_1400f58a0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f58b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f58b0.c new file mode 100644 index 00000000..32119550 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f58b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f58b0 Unwind@1400f58b0 + * Pseudocode, not original source. */ + +void Unwind_1400f58b0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f58c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f58c0.c new file mode 100644 index 00000000..e7dae07f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f58c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f58c0 Unwind@1400f58c0 + * Pseudocode, not original source. */ + +void Unwind_1400f58c0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0xf0) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f58d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f58d0.c new file mode 100644 index 00000000..ab121f49 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f58d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f58d0 Unwind@1400f58d0 + * Pseudocode, not original source. */ + +void Unwind_1400f58d0(undefined8 param_1,longlong param_2) + +{ + FUN_14007aa70((undefined8 *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f58e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f58e0.c new file mode 100644 index 00000000..a3fb9da6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f58e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f58e0 Unwind@1400f58e0 + * Pseudocode, not original source. */ + +void Unwind_1400f58e0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x68); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f58f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f58f0.c new file mode 100644 index 00000000..69f929dc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f58f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f58f0 Unwind@1400f58f0 + * Pseudocode, not original source. */ + +void Unwind_1400f58f0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x30) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5900.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5900.c new file mode 100644 index 00000000..c8139c9f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5900.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5900 Unwind@1400f5900 + * Pseudocode, not original source. */ + +void Unwind_1400f5900(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x30) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5910.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5910.c new file mode 100644 index 00000000..f9779f23 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5910.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5910 Unwind@1400f5910 + * Pseudocode, not original source. */ + +void Unwind_1400f5910(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xb8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5920.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5920.c new file mode 100644 index 00000000..cafb6271 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5920.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5920 Unwind@1400f5920 + * Pseudocode, not original source. */ + +void Unwind_1400f5920(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x90)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5930.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5930.c new file mode 100644 index 00000000..046bfef1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5930.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5930 Unwind@1400f5930 + * Pseudocode, not original source. */ + +void Unwind_1400f5930(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x170); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5940.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5940.c new file mode 100644 index 00000000..41cf23f7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5940.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5940 Unwind@1400f5940 + * Pseudocode, not original source. */ + +void Unwind_1400f5940(undefined8 param_1,longlong param_2) + +{ + FUN_140076940(param_2 + 0x170); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5950.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5950.c new file mode 100644 index 00000000..ccd554f2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5950.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5950 Unwind@1400f5950 + * Pseudocode, not original source. */ + +void Unwind_1400f5950(undefined8 param_1,longlong param_2) + +{ + FUN_140074a20((longlong *)(param_2 + 0xa0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5960.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5960.c new file mode 100644 index 00000000..6aed5c1e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5960.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5960 Unwind@1400f5960 + * Pseudocode, not original source. */ + +void Unwind_1400f5960(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0xeb0,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5970.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5970.c new file mode 100644 index 00000000..6ddbb119 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5970.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5970 Unwind@1400f5970 + * Pseudocode, not original source. */ + +void Unwind_1400f5970(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0xea0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5990.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5990.c new file mode 100644 index 00000000..851e4467 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5990.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5990 Unwind@1400f5990 + * Pseudocode, not original source. */ + +void Unwind_1400f5990(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0x220,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f59a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f59a0.c new file mode 100644 index 00000000..43f19ace --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f59a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f59a0 Unwind@1400f59a0 + * Pseudocode, not original source. */ + +void Unwind_1400f59a0(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0xea0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f59c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f59c0.c new file mode 100644 index 00000000..5fd216dc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f59c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f59c0 Unwind@1400f59c0 + * Pseudocode, not original source. */ + +void Unwind_1400f59c0(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0xea0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f59e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f59e0.c new file mode 100644 index 00000000..e6a6324f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f59e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f59e0 Unwind@1400f59e0 + * Pseudocode, not original source. */ + +void Unwind_1400f59e0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0x220,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f59f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f59f0.c new file mode 100644 index 00000000..f99317cc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f59f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f59f0 Unwind@1400f59f0 + * Pseudocode, not original source. */ + +void Unwind_1400f59f0(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0xea0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5a10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5a10.c new file mode 100644 index 00000000..78580f49 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5a10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5a10 Unwind@1400f5a10 + * Pseudocode, not original source. */ + +void Unwind_1400f5a10(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0x1b30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5a30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5a30.c new file mode 100644 index 00000000..99e5a41e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5a30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5a30 Unwind@1400f5a30 + * Pseudocode, not original source. */ + +void Unwind_1400f5a30(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x28) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5a40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5a40.c new file mode 100644 index 00000000..7d5916bd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5a40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5a40 Unwind@1400f5a40 + * Pseudocode, not original source. */ + +void Unwind_1400f5a40(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x30) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5a50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5a50.c new file mode 100644 index 00000000..ba178991 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5a50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5a50 Unwind@1400f5a50 + * Pseudocode, not original source. */ + +void Unwind_1400f5a50(undefined8 param_1,longlong param_2) + +{ + FUN_14007aab0((undefined8 *)(param_2 + 0x70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5a60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5a60.c new file mode 100644 index 00000000..a4736b26 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5a60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5a60 Unwind@1400f5a60 + * Pseudocode, not original source. */ + +void Unwind_1400f5a60(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x98); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5a70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5a70.c new file mode 100644 index 00000000..7bc24bf6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5a70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5a70 Unwind@1400f5a70 + * Pseudocode, not original source. */ + +void Unwind_1400f5a70(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x38) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5a80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5a80.c new file mode 100644 index 00000000..f3619b78 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5a80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5a80 Unwind@1400f5a80 + * Pseudocode, not original source. */ + +void Unwind_1400f5a80(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x38) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5a90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5a90.c new file mode 100644 index 00000000..8da28ab5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5a90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5a90 Unwind@1400f5a90 + * Pseudocode, not original source. */ + +void Unwind_1400f5a90(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xd8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5aa0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5aa0.c new file mode 100644 index 00000000..499d91bc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5aa0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5aa0 Unwind@1400f5aa0 + * Pseudocode, not original source. */ + +void Unwind_1400f5aa0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x100); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5ab0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5ab0.c new file mode 100644 index 00000000..9a25b83e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5ab0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5ab0 Unwind@1400f5ab0 + * Pseudocode, not original source. */ + +void Unwind_1400f5ab0(undefined8 param_1,longlong param_2) + +{ + FUN_140076940(param_2 + 0x100); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5ac0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5ac0.c new file mode 100644 index 00000000..f8ebafaf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5ac0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5ac0 Unwind@1400f5ac0 + * Pseudocode, not original source. */ + +void Unwind_1400f5ac0(undefined8 param_1,longlong param_2) + +{ + FUN_140074a20((longlong *)(param_2 + 0xf0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5ad0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5ad0.c new file mode 100644 index 00000000..abb36789 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5ad0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5ad0 Unwind@1400f5ad0 + * Pseudocode, not original source. */ + +void Unwind_1400f5ad0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0x1b0,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5ae0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5ae0.c new file mode 100644 index 00000000..d144cb5c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5ae0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5ae0 Unwind@1400f5ae0 + * Pseudocode, not original source. */ + +void Unwind_1400f5ae0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0xe40,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5af0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5af0.c new file mode 100644 index 00000000..eb8c218a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5af0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5af0 Unwind@1400f5af0 + * Pseudocode, not original source. */ + +void Unwind_1400f5af0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0xe40,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5b00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5b00.c new file mode 100644 index 00000000..aac20b70 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5b00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5b00 Unwind@1400f5b00 + * Pseudocode, not original source. */ + +void Unwind_1400f5b00(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5b10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5b10.c new file mode 100644 index 00000000..03482e15 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5b10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5b10 Unwind@1400f5b10 + * Pseudocode, not original source. */ + +void Unwind_1400f5b10(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x38) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5b20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5b20.c new file mode 100644 index 00000000..ddd64d7d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5b20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5b20 Unwind@1400f5b20 + * Pseudocode, not original source. */ + +void Unwind_1400f5b20(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x38) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5b30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5b30.c new file mode 100644 index 00000000..fdb2a4a9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5b30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5b30 Unwind@1400f5b30 + * Pseudocode, not original source. */ + +void Unwind_1400f5b30(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x38); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5b40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5b40.c new file mode 100644 index 00000000..74d84b88 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5b40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5b40 Unwind@1400f5b40 + * Pseudocode, not original source. */ + +void Unwind_1400f5b40(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x20) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5b50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5b50.c new file mode 100644 index 00000000..6e07f792 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5b50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5b50 Unwind@1400f5b50 + * Pseudocode, not original source. */ + +void Unwind_1400f5b50(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5b60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5b60.c new file mode 100644 index 00000000..224aaced --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5b60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5b60 Unwind@1400f5b60 + * Pseudocode, not original source. */ + +void Unwind_1400f5b60(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x20) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5b70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5b70.c new file mode 100644 index 00000000..435a4b03 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5b70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5b70 Unwind@1400f5b70 + * Pseudocode, not original source. */ + +void Unwind_1400f5b70(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0xa0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5b80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5b80.c new file mode 100644 index 00000000..b9b6c11c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5b80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5b80 Unwind@1400f5b80 + * Pseudocode, not original source. */ + +void Unwind_1400f5b80(undefined8 param_1,longlong param_2) + +{ + FUN_140076940(param_2 + 0xa0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5b90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5b90.c new file mode 100644 index 00000000..6ef16c75 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5b90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5b90 Unwind@1400f5b90 + * Pseudocode, not original source. */ + +void Unwind_1400f5b90(undefined8 param_1,longlong param_2) + +{ + FUN_140074a20((longlong *)(param_2 + 0x80)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5ba0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5ba0.c new file mode 100644 index 00000000..3201567a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5ba0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5ba0 Unwind@1400f5ba0 + * Pseudocode, not original source. */ + +void Unwind_1400f5ba0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0x150,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5bb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5bb0.c new file mode 100644 index 00000000..57ddac90 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5bb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5bb0 Unwind@1400f5bb0 + * Pseudocode, not original source. */ + +void Unwind_1400f5bb0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0xde0,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5bc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5bc0.c new file mode 100644 index 00000000..5af85eab --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5bc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5bc0 Unwind@1400f5bc0 + * Pseudocode, not original source. */ + +void Unwind_1400f5bc0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0xde0,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5bd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5bd0.c new file mode 100644 index 00000000..5ae4b3e3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5bd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5bd0 Unwind@1400f5bd0 + * Pseudocode, not original source. */ + +void Unwind_1400f5bd0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5be0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5be0.c new file mode 100644 index 00000000..14b55a75 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5be0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5be0 Unwind@1400f5be0 + * Pseudocode, not original source. */ + +void Unwind_1400f5be0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x20) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5bf0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5bf0.c new file mode 100644 index 00000000..ae939e5d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5bf0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5bf0 Unwind@1400f5bf0 + * Pseudocode, not original source. */ + +void Unwind_1400f5bf0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x20) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5c00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5c00.c new file mode 100644 index 00000000..914e4610 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5c00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5c00 Unwind@1400f5c00 + * Pseudocode, not original source. */ + +void Unwind_1400f5c00(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x78)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5c10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5c10.c new file mode 100644 index 00000000..b9e0219a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5c10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5c10 Unwind@1400f5c10 + * Pseudocode, not original source. */ + +void Unwind_1400f5c10(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5c20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5c20.c new file mode 100644 index 00000000..4f193fab --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5c20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5c20 Unwind@1400f5c20 + * Pseudocode, not original source. */ + +void Unwind_1400f5c20(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5c30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5c30.c new file mode 100644 index 00000000..37f1c3ab --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5c30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5c30 Unwind@1400f5c30 + * Pseudocode, not original source. */ + +void Unwind_1400f5c30(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0xd60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5c50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5c50.c new file mode 100644 index 00000000..62d0c261 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5c50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5c50 Unwind@1400f5c50 + * Pseudocode, not original source. */ + +void Unwind_1400f5c50(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0xe0,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5c60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5c60.c new file mode 100644 index 00000000..9a71f1b2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5c60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5c60 Unwind@1400f5c60 + * Pseudocode, not original source. */ + +void Unwind_1400f5c60(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0xd60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5c80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5c80.c new file mode 100644 index 00000000..58e9792e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5c80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5c80 Unwind@1400f5c80 + * Pseudocode, not original source. */ + +void Unwind_1400f5c80(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x20) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5c90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5c90.c new file mode 100644 index 00000000..8f940a0b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5c90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5c90 Unwind@1400f5c90 + * Pseudocode, not original source. */ + +void Unwind_1400f5c90(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x30); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5ca0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5ca0.c new file mode 100644 index 00000000..c05969df --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5ca0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5ca0 Unwind@1400f5ca0 + * Pseudocode, not original source. */ + +void Unwind_1400f5ca0(undefined8 param_1,longlong param_2) + +{ + FUN_14004de40(param_2 + 0x30); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5cb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5cb0.c new file mode 100644 index 00000000..a823e242 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5cb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5cb0 Unwind@1400f5cb0 + * Pseudocode, not original source. */ + +void Unwind_1400f5cb0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5cc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5cc0.c new file mode 100644 index 00000000..c3adb83f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5cc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5cc0 Unwind@1400f5cc0 + * Pseudocode, not original source. */ + +void Unwind_1400f5cc0(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0xd40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5ce0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5ce0.c new file mode 100644 index 00000000..44bf9d03 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5ce0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5ce0 Unwind@1400f5ce0 + * Pseudocode, not original source. */ + +void Unwind_1400f5ce0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0xc0,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5cf0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5cf0.c new file mode 100644 index 00000000..f1ee77ec --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5cf0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5cf0 Unwind@1400f5cf0 + * Pseudocode, not original source. */ + +void Unwind_1400f5cf0(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0xd40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5d10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5d10.c new file mode 100644 index 00000000..f54e6698 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5d10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5d10 Unwind@1400f5d10 + * Pseudocode, not original source. */ + +void Unwind_1400f5d10(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x20) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5d20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5d20.c new file mode 100644 index 00000000..ab08e01e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5d20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5d20 Unwind@1400f5d20 + * Pseudocode, not original source. */ + +void Unwind_1400f5d20(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x78)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5d30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5d30.c new file mode 100644 index 00000000..805c77b2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5d30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5d30 Unwind@1400f5d30 + * Pseudocode, not original source. */ + +void Unwind_1400f5d30(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5d40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5d40.c new file mode 100644 index 00000000..1ef4e113 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5d40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5d40 Unwind@1400f5d40 + * Pseudocode, not original source. */ + +void Unwind_1400f5d40(undefined8 param_1,longlong param_2) + +{ + FUN_14004de40(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5d50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5d50.c new file mode 100644 index 00000000..c302b0bb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5d50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5d50 Unwind@1400f5d50 + * Pseudocode, not original source. */ + +void Unwind_1400f5d50(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5d60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5d60.c new file mode 100644 index 00000000..685556fd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5d60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5d60 Unwind@1400f5d60 + * Pseudocode, not original source. */ + +void Unwind_1400f5d60(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0xd60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5d80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5d80.c new file mode 100644 index 00000000..765043c9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5d80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5d80 Unwind@1400f5d80 + * Pseudocode, not original source. */ + +void Unwind_1400f5d80(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0xe0,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5d90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5d90.c new file mode 100644 index 00000000..9f82817f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5d90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5d90 Unwind@1400f5d90 + * Pseudocode, not original source. */ + +void Unwind_1400f5d90(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0xd60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5db0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5db0.c new file mode 100644 index 00000000..5245f59b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5db0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5db0 Unwind@1400f5db0 + * Pseudocode, not original source. */ + +void Unwind_1400f5db0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x20) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5dc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5dc0.c new file mode 100644 index 00000000..4c72fbf2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5dc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5dc0 Unwind@1400f5dc0 + * Pseudocode, not original source. */ + +void Unwind_1400f5dc0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x98)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5dd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5dd0.c new file mode 100644 index 00000000..0148ee35 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5dd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5dd0 Unwind@1400f5dd0 + * Pseudocode, not original source. */ + +void Unwind_1400f5dd0(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5de0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5de0.c new file mode 100644 index 00000000..884d13eb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5de0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5de0 Unwind@1400f5de0 + * Pseudocode, not original source. */ + +void Unwind_1400f5de0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x20); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5df0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5df0.c new file mode 100644 index 00000000..6a495397 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5df0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5df0 Unwind@1400f5df0 + * Pseudocode, not original source. */ + +void Unwind_1400f5df0(undefined8 param_1,longlong param_2) + +{ + FUN_14004de40(param_2 + 0x20); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5e00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5e00.c new file mode 100644 index 00000000..6cb58ee2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5e00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5e00 Unwind@1400f5e00 + * Pseudocode, not original source. */ + +void Unwind_1400f5e00(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5e10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5e10.c new file mode 100644 index 00000000..8f03aed6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5e10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5e10 Unwind@1400f5e10 + * Pseudocode, not original source. */ + +void Unwind_1400f5e10(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xc0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5e20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5e20.c new file mode 100644 index 00000000..9b329348 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5e20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5e20 Unwind@1400f5e20 + * Pseudocode, not original source. */ + +void Unwind_1400f5e20(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0xd0,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5e30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5e30.c new file mode 100644 index 00000000..e3bb5eee --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5e30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5e30 Unwind@1400f5e30 + * Pseudocode, not original source. */ + +void Unwind_1400f5e30(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0xb0) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5e40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5e40.c new file mode 100644 index 00000000..ef6267d8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5e40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5e40 Unwind@1400f5e40 + * Pseudocode, not original source. */ + +void Unwind_1400f5e40(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5e50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5e50.c new file mode 100644 index 00000000..9adb036e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5e50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5e50 Unwind@1400f5e50 + * Pseudocode, not original source. */ + +void Unwind_1400f5e50(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x78)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5e60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5e60.c new file mode 100644 index 00000000..0c1c055f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5e60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5e60 Unwind@1400f5e60 + * Pseudocode, not original source. */ + +void Unwind_1400f5e60(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x30); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5e70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5e70.c new file mode 100644 index 00000000..93b64466 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5e70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5e70 Unwind@1400f5e70 + * Pseudocode, not original source. */ + +void Unwind_1400f5e70(undefined8 param_1,longlong param_2) + +{ + FUN_14004de40(param_2 + 0x30); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5e80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5e80.c new file mode 100644 index 00000000..60c30e2a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5e80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5e80 Unwind@1400f5e80 + * Pseudocode, not original source. */ + +void Unwind_1400f5e80(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5e90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5e90.c new file mode 100644 index 00000000..3fb858a7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5e90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5e90 Unwind@1400f5e90 + * Pseudocode, not original source. */ + +void Unwind_1400f5e90(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0xd60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5eb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5eb0.c new file mode 100644 index 00000000..5382258d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5eb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5eb0 Unwind@1400f5eb0 + * Pseudocode, not original source. */ + +void Unwind_1400f5eb0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0xe0,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5ec0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5ec0.c new file mode 100644 index 00000000..45207532 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5ec0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5ec0 Unwind@1400f5ec0 + * Pseudocode, not original source. */ + +void Unwind_1400f5ec0(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0xd60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5ee0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5ee0.c new file mode 100644 index 00000000..84b0675e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5ee0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5ee0 Unwind@1400f5ee0 + * Pseudocode, not original source. */ + +void Unwind_1400f5ee0(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x88)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5ef0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5ef0.c new file mode 100644 index 00000000..2d015135 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5ef0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5ef0 Unwind@1400f5ef0 + * Pseudocode, not original source. */ + +void Unwind_1400f5ef0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x68) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5f00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5f00.c new file mode 100644 index 00000000..401e61f7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5f00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5f00 Unwind@1400f5f00 + * Pseudocode, not original source. */ + +void Unwind_1400f5f00(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5f30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5f30.c new file mode 100644 index 00000000..19c1bd2f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5f30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5f30 Unwind@1400f5f30 + * Pseudocode, not original source. */ + +void Unwind_1400f5f30(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5f60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5f60.c new file mode 100644 index 00000000..de16b119 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5f60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5f60 Unwind@1400f5f60 + * Pseudocode, not original source. */ + +void Unwind_1400f5f60(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5f90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5f90.c new file mode 100644 index 00000000..3563c10d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5f90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5f90 Unwind@1400f5f90 + * Pseudocode, not original source. */ + +void Unwind_1400f5f90(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5fc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5fc0.c new file mode 100644 index 00000000..09eb5827 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5fc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5fc0 Unwind@1400f5fc0 + * Pseudocode, not original source. */ + +void Unwind_1400f5fc0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003d110(*(undefined4 **)(param_2 + 0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5fd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5fd0.c new file mode 100644 index 00000000..6a2d33be --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5fd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5fd0 Unwind@1400f5fd0 + * Pseudocode, not original source. */ + +void Unwind_1400f5fd0(undefined8 param_1,longlong param_2) + +{ + FUN_14005d6a0((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5fe0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5fe0.c new file mode 100644 index 00000000..29f5b0fe --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5fe0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5fe0 Unwind@1400f5fe0 + * Pseudocode, not original source. */ + +void Unwind_1400f5fe0(undefined8 param_1,longlong param_2) + +{ + FUN_14005d6a0((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f5ff0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f5ff0.c new file mode 100644 index 00000000..98977674 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f5ff0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f5ff0 Unwind@1400f5ff0 + * Pseudocode, not original source. */ + +void Unwind_1400f5ff0(undefined8 param_1,longlong param_2) + +{ + FUN_140051940((longlong *)(*(longlong *)(param_2 + 0x40) + 0x88)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6010.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6010.c new file mode 100644 index 00000000..1c86a6b8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6010.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6010 Unwind@1400f6010 + * Pseudocode, not original source. */ + +void Unwind_1400f6010(undefined8 param_1,longlong param_2) + +{ + FUN_140051940((longlong *)(*(longlong *)(param_2 + 0x40) + 0x90)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6030.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6030.c new file mode 100644 index 00000000..aab24e44 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6030.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6030 Unwind@1400f6030 + * Pseudocode, not original source. */ + +void Unwind_1400f6030(undefined8 param_1,longlong param_2) + +{ + FUN_1400486f0((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x150)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6050.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6050.c new file mode 100644 index 00000000..8cbe0f15 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6050.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6050 Unwind@1400f6050 + * Pseudocode, not original source. */ + +void Unwind_1400f6050(undefined8 param_1,longlong param_2) + +{ + FUN_140045ca0((UINT *)(*(longlong *)(param_2 + 0x40) + 0x158)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6070.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6070.c new file mode 100644 index 00000000..b8738fcc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6070.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6070 Unwind@1400f6070 + * Pseudocode, not original source. */ + +void Unwind_1400f6070(undefined8 param_1,longlong param_2) + +{ + FUN_14007b020(*(longlong *)(param_2 + 0x40) + 0x160); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6090.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6090.c new file mode 100644 index 00000000..eb5d9e8b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6090.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6090 Unwind@1400f6090 + * Pseudocode, not original source. */ + +void Unwind_1400f6090(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003d110(*(undefined4 **)(param_2 + 0x60),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f60a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f60a0.c new file mode 100644 index 00000000..f2a982ab --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f60a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f60a0 Unwind@1400f60a0 + * Pseudocode, not original source. */ + +void Unwind_1400f60a0(undefined8 param_1,longlong param_2) + +{ + FUN_14005d6a0((undefined8 *)(*(longlong *)(param_2 + 0x60) + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f60b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f60b0.c new file mode 100644 index 00000000..a3370e0c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f60b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f60b0 Unwind@1400f60b0 + * Pseudocode, not original source. */ + +void Unwind_1400f60b0(undefined8 param_1,longlong param_2) + +{ + FUN_14005d6a0((undefined8 *)(*(longlong *)(param_2 + 0x60) + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f60c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f60c0.c new file mode 100644 index 00000000..464bb0db --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f60c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f60c0 Unwind@1400f60c0 + * Pseudocode, not original source. */ + +void Unwind_1400f60c0(undefined8 param_1,longlong param_2) + +{ + FUN_140051940((longlong *)(*(longlong *)(param_2 + 0x60) + 0x88)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f60e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f60e0.c new file mode 100644 index 00000000..9ec0591d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f60e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f60e0 Unwind@1400f60e0 + * Pseudocode, not original source. */ + +void Unwind_1400f60e0(undefined8 param_1,longlong param_2) + +{ + FUN_140051940((longlong *)(*(longlong *)(param_2 + 0x60) + 0x90)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6100.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6100.c new file mode 100644 index 00000000..751f6d55 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6100.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6100 Unwind@1400f6100 + * Pseudocode, not original source. */ + +void Unwind_1400f6100(undefined8 param_1,longlong param_2) + +{ + FUN_1400486f0((undefined8 *)(*(longlong *)(param_2 + 0x60) + 0x150)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6120.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6120.c new file mode 100644 index 00000000..7d8a991f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6120.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6120 Unwind@1400f6120 + * Pseudocode, not original source. */ + +void Unwind_1400f6120(undefined8 param_1,longlong param_2) + +{ + FUN_140045ca0((UINT *)(*(longlong *)(param_2 + 0x60) + 0x158)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6140.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6140.c new file mode 100644 index 00000000..d8d6c3a3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6140.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6140 Unwind@1400f6140 + * Pseudocode, not original source. */ + +void Unwind_1400f6140(undefined8 param_1,longlong param_2) + +{ + FUN_14007b020(*(longlong *)(param_2 + 0x60) + 0x160); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6160.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6160.c new file mode 100644 index 00000000..9614b5d1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6160.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6160 Unwind@1400f6160 + * Pseudocode, not original source. */ + +void Unwind_1400f6160(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6170.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6170.c new file mode 100644 index 00000000..2a957397 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6170.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6170 Unwind@1400f6170 + * Pseudocode, not original source. */ + +void Unwind_1400f6170(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6180.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6180.c new file mode 100644 index 00000000..3ac7f0af --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6180.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6180 Unwind@1400f6180 + * Pseudocode, not original source. */ + +void Unwind_1400f6180(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6190.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6190.c new file mode 100644 index 00000000..0ad49e7b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6190.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6190 Unwind@1400f6190 + * Pseudocode, not original source. */ + +void Unwind_1400f6190(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_14003e8b0(*(LPVOID *)(param_2 + 0x90)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f61b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f61b0.c new file mode 100644 index 00000000..5756b418 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f61b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f61b0 Unwind@1400f61b0 + * Pseudocode, not original source. */ + +void Unwind_1400f61b0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x90),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f61c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f61c0.c new file mode 100644 index 00000000..c7300138 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f61c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f61c0 Unwind@1400f61c0 + * Pseudocode, not original source. */ + +void Unwind_1400f61c0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0xa8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f61d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f61d0.c new file mode 100644 index 00000000..dc1994e0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f61d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f61d0 Unwind@1400f61d0 + * Pseudocode, not original source. */ + +void Unwind_1400f61d0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f61e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f61e0.c new file mode 100644 index 00000000..6be7c2b6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f61e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f61e0 Unwind@1400f61e0 + * Pseudocode, not original source. */ + +void Unwind_1400f61e0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f61f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f61f0.c new file mode 100644 index 00000000..5c702eb9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f61f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f61f0 Unwind@1400f61f0 + * Pseudocode, not original source. */ + +void Unwind_1400f61f0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0xf0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6200.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6200.c new file mode 100644 index 00000000..9f7e5d6e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6200.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6200 Unwind@1400f6200 + * Pseudocode, not original source. */ + +void Unwind_1400f6200(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6210.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6210.c new file mode 100644 index 00000000..efca3304 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6210.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6210 Unwind@1400f6210 + * Pseudocode, not original source. */ + +void Unwind_1400f6210(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x80)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6220.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6220.c new file mode 100644 index 00000000..e2afcce9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6220.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6220 Unwind@1400f6220 + * Pseudocode, not original source. */ + +void Unwind_1400f6220(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0xf8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6230.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6230.c new file mode 100644 index 00000000..20bdc3e2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6230.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6230 Unwind@1400f6230 + * Pseudocode, not original source. */ + +void Unwind_1400f6230(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6240.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6240.c new file mode 100644 index 00000000..a251ff5d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6240.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6240 Unwind@1400f6240 + * Pseudocode, not original source. */ + +void Unwind_1400f6240(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x90)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6250.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6250.c new file mode 100644 index 00000000..931c50b4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6250.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6250 Unwind@1400f6250 + * Pseudocode, not original source. */ + +void Unwind_1400f6250(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6260.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6260.c new file mode 100644 index 00000000..4d43c5d4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6260.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6260 Unwind@1400f6260 + * Pseudocode, not original source. */ + +void Unwind_1400f6260(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0xc0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6270.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6270.c new file mode 100644 index 00000000..1f73921a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6270.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6270 Unwind@1400f6270 + * Pseudocode, not original source. */ + +void Unwind_1400f6270(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6280.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6280.c new file mode 100644 index 00000000..1051e2df --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6280.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6280 Unwind@1400f6280 + * Pseudocode, not original source. */ + +void Unwind_1400f6280(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6290.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6290.c new file mode 100644 index 00000000..019373da --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6290.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6290 Unwind@1400f6290 + * Pseudocode, not original source. */ + +void Unwind_1400f6290(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f62a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f62a0.c new file mode 100644 index 00000000..89c0a2b1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f62a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f62a0 Unwind@1400f62a0 + * Pseudocode, not original source. */ + +void Unwind_1400f62a0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0xc0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f62b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f62b0.c new file mode 100644 index 00000000..5b802c52 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f62b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f62b0 Unwind@1400f62b0 + * Pseudocode, not original source. */ + +void Unwind_1400f62b0(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f62c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f62c0.c new file mode 100644 index 00000000..06ae2328 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f62c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f62c0 Unwind@1400f62c0 + * Pseudocode, not original source. */ + +void Unwind_1400f62c0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f62d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f62d0.c new file mode 100644 index 00000000..0c9d7e50 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f62d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f62d0 Unwind@1400f62d0 + * Pseudocode, not original source. */ + +void Unwind_1400f62d0(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f62e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f62e0.c new file mode 100644 index 00000000..f8bca150 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f62e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f62e0 Unwind@1400f62e0 + * Pseudocode, not original source. */ + +void Unwind_1400f62e0(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x90)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f62f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f62f0.c new file mode 100644 index 00000000..fa288851 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f62f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f62f0 Unwind@1400f62f0 + * Pseudocode, not original source. */ + +void Unwind_1400f62f0(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 200)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6300.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6300.c new file mode 100644 index 00000000..ae87f5bf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6300.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6300 Unwind@1400f6300 + * Pseudocode, not original source. */ + +void Unwind_1400f6300(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 0x20),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6310.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6310.c new file mode 100644 index 00000000..924211f7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6310.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6310 Unwind@1400f6310 + * Pseudocode, not original source. */ + +void Unwind_1400f6310(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6320.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6320.c new file mode 100644 index 00000000..0a3be10a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6320.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6320 Unwind@1400f6320 + * Pseudocode, not original source. */ + +void Unwind_1400f6320(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6330.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6330.c new file mode 100644 index 00000000..221d72bf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6330.c @@ -0,0 +1,50 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6330 Catch@1400f6330 + * Pseudocode, not original source. */ + +undefined * Catch_1400f6330(undefined8 param_1,longlong param_2,SIZE_T param_3,undefined8 param_4) + +{ + longlong lVar1; + int *piVar2; + longlong lVar3; + undefined8 uVar4; + SIZE_T *pSVar5; + + uVar4 = *(undefined8 *)(param_2 + 0x140); + (**(code **)(**(longlong **)(*(longlong *)(*(longlong *)(param_2 + 0xb8) + 0x148) + 0x758) + 0x20) + )(); + FUN_140074fb0((undefined4 *)(param_2 + 0x40)); + FUN_140074a40(param_2 + 0x40,uVar4,param_3,param_4); + FUN_140075110((int *)(param_2 + 0x40),0x800,param_3,param_4); + uVar4 = 0; + FUN_140075110((int *)(param_2 + 0x40),0,param_3,param_4); + FUN_140029d80(param_2 + 0x40,CONCAT71((int7)((ulonglong)uVar4 >> 8),9),param_3,param_4); + *(undefined8 *)(param_2 + 0x120) = 0; + *(undefined8 *)(param_2 + 0x128) = 0; + *(undefined8 *)(param_2 + 0x130) = 0; + *(undefined8 *)(param_2 + 0x138) = 0; + *(undefined ***)(param_2 + 0x118) = Proud::ByteArray::vftable; + FUN_140076380(param_2 + 0x40,0,param_3,param_4); + FUN_140049e40((undefined8 *)(param_2 + 0x118)); + lVar1 = *(longlong *)(param_2 + 0x30); + piVar2 = (int *)(**(code **)(*(longlong *)(lVar1 + 0x108) + 0x10))(); + *(int **)(param_2 + 0xb8) = piVar2; + FUN_14003d040(piVar2); + *(undefined1 *)(param_2 + 0xc0) = 1; + lVar3 = FUN_14004ec50(param_2 + 0x1a0,param_2 + 0x40,param_3); + *(undefined8 *)(param_2 + 0x30) = 0; + *(undefined1 *)(param_2 + 0x38) = 1; + pSVar5 = (SIZE_T *)(param_2 + 0x30); + FUN_140091090(*(char **)(lVar1 + 0x748),lVar3,pSVar5,param_4); + FUN_14004db20(param_2 + 0x1a0,lVar3,pSVar5,param_4); + FUN_14003d0d0((longlong)piVar2); + *(longlong *)(param_2 + 0x30) = param_2 + 0x48; + FUN_14008a320((longlong *)(param_2 + 0x48)); + if ((*(longlong *)(param_2 + 0x50) != 0) && (*(int *)(param_2 + 0x5c) < 0)) { + /* WARNING: Subroutine does not return */ + FUN_14003dec0(); + } + return &DAT_140080833; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f64a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f64a0.c new file mode 100644 index 00000000..192db1bf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f64a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f64a0 Unwind@1400f64a0 + * Pseudocode, not original source. */ + +void Unwind_1400f64a0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f64b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f64b0.c new file mode 100644 index 00000000..c1be5d3f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f64b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f64b0 Unwind@1400f64b0 + * Pseudocode, not original source. */ + +void Unwind_1400f64b0(undefined8 param_1,longlong param_2) + +{ + FUN_14004de40(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f64c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f64c0.c new file mode 100644 index 00000000..ce0666e7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f64c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f64c0 Unwind@1400f64c0 + * Pseudocode, not original source. */ + +void Unwind_1400f64c0(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x118)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f64d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f64d0.c new file mode 100644 index 00000000..c0e607f2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f64d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f64d0 Unwind@1400f64d0 + * Pseudocode, not original source. */ + +void Unwind_1400f64d0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xb8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f64e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f64e0.c new file mode 100644 index 00000000..b394102e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f64e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f64e0 Unwind@1400f64e0 + * Pseudocode, not original source. */ + +void Unwind_1400f64e0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0x1a0,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f64f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f64f0.c new file mode 100644 index 00000000..c2546cd5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f64f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f64f0 Unwind@1400f64f0 + * Pseudocode, not original source. */ + +void Unwind_1400f64f0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x30) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6500.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6500.c new file mode 100644 index 00000000..a77de536 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6500.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6500 Unwind@1400f6500 + * Pseudocode, not original source. */ + +void Unwind_1400f6500(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0xf0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6510.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6510.c new file mode 100644 index 00000000..d051605b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6510.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6510 Unwind@1400f6510 + * Pseudocode, not original source. */ + +void Unwind_1400f6510(undefined8 param_1,longlong param_2) + +{ + FUN_14004de40(param_2 + 0xf0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6520.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6520.c new file mode 100644 index 00000000..cf8396f8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6520.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6520 Unwind@1400f6520 + * Pseudocode, not original source. */ + +void Unwind_1400f6520(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xb8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6530.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6530.c new file mode 100644 index 00000000..7abf60ee --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6530.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6530 Unwind@1400f6530 + * Pseudocode, not original source. */ + +void Unwind_1400f6530(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0x1a0,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6540.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6540.c new file mode 100644 index 00000000..73cf3e91 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6540.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6540 Unwind@1400f6540 + * Pseudocode, not original source. */ + +void Unwind_1400f6540(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x30) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6550.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6550.c new file mode 100644 index 00000000..9dad6dfb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6550.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6550 Unwind@1400f6550 + * Pseudocode, not original source. */ + +void Unwind_1400f6550(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x30),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6560.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6560.c new file mode 100644 index 00000000..5a78312b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6560.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6560 Unwind@1400f6560 + * Pseudocode, not original source. */ + +void Unwind_1400f6560(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6570.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6570.c new file mode 100644 index 00000000..398d17c7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6570.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6570 Unwind@1400f6570 + * Pseudocode, not original source. */ + +void Unwind_1400f6570(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 0xb0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6580.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6580.c new file mode 100644 index 00000000..57ffb0a1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6580.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6580 Unwind@1400f6580 + * Pseudocode, not original source. */ + +void Unwind_1400f6580(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x38),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6590.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6590.c new file mode 100644 index 00000000..3d36efd7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6590.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6590 Unwind@1400f6590 + * Pseudocode, not original source. */ + +void Unwind_1400f6590(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f65a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f65a0.c new file mode 100644 index 00000000..b2313d3c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f65a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f65a0 Unwind@1400f65a0 + * Pseudocode, not original source. */ + +void Unwind_1400f65a0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f65b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f65b0.c new file mode 100644 index 00000000..9c1395ed --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f65b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f65b0 Unwind@1400f65b0 + * Pseudocode, not original source. */ + +void Unwind_1400f65b0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f65c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f65c0.c new file mode 100644 index 00000000..d6ca30c3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f65c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f65c0 Unwind@1400f65c0 + * Pseudocode, not original source. */ + +void Unwind_1400f65c0(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_14003e8b0(*(LPVOID *)(param_2 + 0x1e8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f65e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f65e0.c new file mode 100644 index 00000000..c02234ec --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f65e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f65e0 Unwind@1400f65e0 + * Pseudocode, not original source. */ + +void Unwind_1400f65e0(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6600.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6600.c new file mode 100644 index 00000000..da671e41 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6600.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6600 Unwind@1400f6600 + * Pseudocode, not original source. */ + +void Unwind_1400f6600(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 0x1e8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6610.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6610.c new file mode 100644 index 00000000..a2a11a44 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6610.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6610 Unwind@1400f6610 + * Pseudocode, not original source. */ + +void Unwind_1400f6610(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6620.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6620.c new file mode 100644 index 00000000..1527aa79 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6620.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6620 Catch@1400f6620 + * Pseudocode, not original source. */ + +undefined * +Catch_1400f6620(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong lVar1; + longlong *plVar2; + + lVar1 = *(longlong *)(param_2 + 0x1d0); + if (*(longlong *)(*(longlong *)(lVar1 + 0x148) + 0x758) != 0) { + FUN_14003dd60((exception *)(param_2 + 0x40),*(longlong **)(param_2 + 0x98),param_3,param_4); + *(undefined4 *)(param_2 + 0x58) = *(undefined4 *)(*(longlong *)(param_2 + 0x1d8) + 0x30); + plVar2 = *(longlong **)(*(longlong *)(lVar1 + 0x148) + 0x758); + (**(code **)(*plVar2 + 0x20))(plVar2,param_2 + 0x40); + FUN_14003d6e0((exception *)(param_2 + 0x40)); + } + return &DAT_140080d97; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f66a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f66a0.c new file mode 100644 index 00000000..5cda50ee --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f66a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f66a0 Unwind@1400f66a0 + * Pseudocode, not original source. */ + +void Unwind_1400f66a0(undefined8 param_1,longlong param_2) + +{ + FUN_14003d6e0((exception *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f66b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f66b0.c new file mode 100644 index 00000000..49554826 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f66b0.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f66b0 Catch@1400f66b0 + * Pseudocode, not original source. */ + +undefined * +Catch_1400f66b0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong lVar1; + longlong *plVar2; + + lVar1 = *(longlong *)(param_2 + 0x1d0); + if (*(longlong *)(*(longlong *)(lVar1 + 0x148) + 0x758) != 0) { + FUN_14003d720((exception *)(param_2 + 0x40),*(undefined8 *)(param_2 + 0xa0),param_3,param_4); + *(undefined4 *)(param_2 + 0x58) = *(undefined4 *)(*(longlong *)(param_2 + 0x1d8) + 0x30); + plVar2 = *(longlong **)(*(longlong *)(lVar1 + 0x148) + 0x758); + (**(code **)(*plVar2 + 0x20))(plVar2,param_2 + 0x40); + FUN_14003d6e0((exception *)(param_2 + 0x40)); + } + return &DAT_140080d97; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6730.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6730.c new file mode 100644 index 00000000..82afe742 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6730.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6730 Unwind@1400f6730 + * Pseudocode, not original source. */ + +void Unwind_1400f6730(undefined8 param_1,longlong param_2) + +{ + FUN_14003d6e0((exception *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6740.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6740.c new file mode 100644 index 00000000..852af11b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6740.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6740 Catch@1400f6740 + * Pseudocode, not original source. */ + +undefined * +Catch_1400f6740(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong lVar1; + longlong *plVar2; + + lVar1 = *(longlong *)(param_2 + 0x1d0); + if (*(longlong *)(*(longlong *)(lVar1 + 0x148) + 0x758) != 0) { + FUN_14003dde0((exception *)(param_2 + 0x40),*(longlong *)(param_2 + 0x90),param_3,param_4); + *(undefined4 *)(param_2 + 0x58) = *(undefined4 *)(*(longlong *)(param_2 + 0x1d8) + 0x30); + plVar2 = *(longlong **)(*(longlong *)(lVar1 + 0x148) + 0x758); + (**(code **)(*plVar2 + 0x20))(plVar2,param_2 + 0x40); + FUN_14003d6e0((exception *)(param_2 + 0x40)); + } + return &DAT_140080d97; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f67c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f67c0.c new file mode 100644 index 00000000..c4219542 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f67c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f67c0 Unwind@1400f67c0 + * Pseudocode, not original source. */ + +void Unwind_1400f67c0(undefined8 param_1,longlong param_2) + +{ + FUN_14003d6e0((exception *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f67d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f67d0.c new file mode 100644 index 00000000..52d17e97 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f67d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f67d0 Unwind@1400f67d0 + * Pseudocode, not original source. */ + +void Unwind_1400f67d0(undefined8 param_1,longlong param_2) + +{ + FUN_1400721f0((char *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f67e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f67e0.c new file mode 100644 index 00000000..75db9307 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f67e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f67e0 Unwind@1400f67e0 + * Pseudocode, not original source. */ + +void Unwind_1400f67e0(undefined8 param_1,longlong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_140079d20((undefined8 *)(param_2 + 0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f67f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f67f0.c new file mode 100644 index 00000000..1f8f08da --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f67f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f67f0 Unwind@1400f67f0 + * Pseudocode, not original source. */ + +void Unwind_1400f67f0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x38),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6800.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6800.c new file mode 100644 index 00000000..971c3c6a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6800.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6800 Unwind@1400f6800 + * Pseudocode, not original source. */ + +void Unwind_1400f6800(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0xb0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6810.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6810.c new file mode 100644 index 00000000..bbd285bb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6810.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6810 Unwind@1400f6810 + * Pseudocode, not original source. */ + +void Unwind_1400f6810(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x90)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6820.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6820.c new file mode 100644 index 00000000..33d298c1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6820.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6820 Unwind@1400f6820 + * Pseudocode, not original source. */ + +void Unwind_1400f6820(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x70),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6830.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6830.c new file mode 100644 index 00000000..5bbd23e9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6830.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6830 Unwind@1400f6830 + * Pseudocode, not original source. */ + +void Unwind_1400f6830(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xd8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6840.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6840.c new file mode 100644 index 00000000..816dc920 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6840.c @@ -0,0 +1,52 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6840 Catch@1400f6840 + * Pseudocode, not original source. */ + +undefined8 +Catch_1400f6840(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + int *piVar1; + undefined *puVar2; + LPCSTR pCVar3; + int *piVar4; + longlong lVar5; + wchar_t *pwVar6; + undefined *puVar7; + undefined8 uVar8; + + FUN_14003e7c0(param_1,param_2,param_3,param_4); + *(undefined **)(param_2 + 0x68) = PTR_DAT_14016f010; + pCVar3 = (LPCSTR)(**(code **)(**(longlong **)(param_2 + 0x138) + 8))(); + *(longlong *)(param_2 + 0x160) = param_2 + 0x168; + FUN_140005110((longlong *)(param_2 + 0x160),pCVar3,3); + FUN_140029b80((longlong *)(param_2 + 0x68),L"std.exception(%s)",*(undefined8 *)(param_2 + 0x160), + param_4); + if (*(void **)(param_2 + 0x160) != (void *)(param_2 + 0x168)) { + free(*(void **)(param_2 + 0x160)); + } + puVar2 = *(undefined **)(param_2 + 0x68); + puVar7 = puVar2; + if (puVar2 == (undefined *)0x0) { + puVar7 = PTR_DAT_14016f010; + } + uVar8 = 0; + pwVar6 = L"Proud::CNetThreads_S::TcpListenerProc"; + lVar5 = *(longlong *)(param_2 + 0x48); + FUN_1400808d0(lVar5,L"Proud::CNetThreads_S::TcpListenerProc",puVar7,0); + if (((puVar2 != (undefined *)0x0) && (puVar2 != PTR_DAT_14016f010)) && + (puVar2 + -8 != (undefined *)0x0)) { + piVar4 = (int *)FUN_14003e7c0(lVar5,pwVar6,puVar7,uVar8); + *(int **)(param_2 + 0x128) = piVar4; + FUN_14003d040(piVar4); + *(undefined1 *)(param_2 + 0x130) = 1; + piVar1 = (int *)(puVar2 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(puVar2 + -8); + } + FUN_14003d0d0((longlong)piVar4); + } + return 0x140081361; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6940.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6940.c new file mode 100644 index 00000000..42220e1f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6940.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6940 Unwind@1400f6940 + * Pseudocode, not original source. */ + +void Unwind_1400f6940(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x68),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6950.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6950.c new file mode 100644 index 00000000..8b933dfe --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6950.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6950 Unwind@1400f6950 + * Pseudocode, not original source. */ + +void Unwind_1400f6950(undefined8 param_1,longlong param_2) + +{ + FUN_140005000((undefined8 *)(param_2 + 0x160)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6960.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6960.c new file mode 100644 index 00000000..ca8d766b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6960.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6960 Unwind@1400f6960 + * Pseudocode, not original source. */ + +void Unwind_1400f6960(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x128)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6970.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6970.c new file mode 100644 index 00000000..a9d659b2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6970.c @@ -0,0 +1,69 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6970 Catch@1400f6970 + * Pseudocode, not original source. */ + +undefined8 +Catch_1400f6970(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong *plVar1; + int *piVar2; + undefined *puVar3; + longlong *plVar4; + int *piVar5; + longlong lVar6; + wchar_t *pwVar7; + undefined8 uVar8; + undefined *puVar9; + + FUN_14003e7c0(param_1,param_2,param_3,param_4); + *(undefined **)(param_2 + 0x60) = PTR_DAT_14016f010; + plVar4 = FUN_14003d880(*(longlong *)(param_2 + 0x120),(undefined8 *)(param_2 + 0x78),param_3, + param_4); + uVar8 = 0; + if ((undefined8 *)*plVar4 != (undefined8 *)0x0) { + uVar8 = *(undefined8 *)*plVar4; + } + FUN_140029b80((longlong *)(param_2 + 0x60),L"_com_error(%s)",uVar8,param_4); + plVar4 = *(longlong **)(param_2 + 0x78); + if (plVar4 != (longlong *)0x0) { + LOCK(); + plVar1 = plVar4 + 2; + lVar6 = *plVar1; + *(int *)plVar1 = (int)*plVar1 + -1; + UNLOCK(); + if (((int)lVar6 == 1) && (plVar4 != (longlong *)0x0)) { + if (*plVar4 != 0) { + Ordinal_6(); + } + if ((void *)plVar4[1] != (void *)0x0) { + operator_delete__((void *)plVar4[1]); + } + operator_delete(plVar4); + } + } + puVar3 = *(undefined **)(param_2 + 0x60); + puVar9 = puVar3; + if (puVar3 == (undefined *)0x0) { + puVar9 = PTR_DAT_14016f010; + } + uVar8 = 0; + pwVar7 = L"Proud::CNetThreads_S::TcpListenerProc"; + lVar6 = *(longlong *)(param_2 + 0x48); + FUN_1400808d0(lVar6,L"Proud::CNetThreads_S::TcpListenerProc",puVar9,0); + if (((puVar3 != (undefined *)0x0) && (puVar3 != PTR_DAT_14016f010)) && + (puVar3 + -8 != (undefined *)0x0)) { + piVar5 = (int *)FUN_14003e7c0(lVar6,pwVar7,puVar9,uVar8); + *(int **)(param_2 + 0x140) = piVar5; + FUN_14003d040(piVar5); + *(undefined1 *)(param_2 + 0x148) = 1; + piVar2 = (int *)(puVar3 + -4); + *piVar2 = *piVar2 + -1; + if (*piVar2 == 0) { + FUN_14003e8b0(puVar3 + -8); + } + FUN_14003d0d0((longlong)piVar5); + } + return 0x140081361; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6a80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6a80.c new file mode 100644 index 00000000..a8318145 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6a80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6a80 Unwind@1400f6a80 + * Pseudocode, not original source. */ + +void Unwind_1400f6a80(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x60),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6a90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6a90.c new file mode 100644 index 00000000..5e2514a6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6a90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6a90 Unwind@1400f6a90 + * Pseudocode, not original source. */ + +void Unwind_1400f6a90(undefined8 param_1,longlong param_2) + +{ + FUN_14000ad60((undefined8 *)(param_2 + 0x78)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6aa0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6aa0.c new file mode 100644 index 00000000..b6ca45b9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6aa0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6aa0 Unwind@1400f6aa0 + * Pseudocode, not original source. */ + +void Unwind_1400f6aa0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x140)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6ab0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6ab0.c new file mode 100644 index 00000000..69a2905b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6ab0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6ab0 Catch@1400f6ab0 + * Pseudocode, not original source. */ + +undefined8 Catch_1400f6ab0(undefined8 param_1,longlong param_2) + +{ + FUN_1400808d0(*(longlong *)(param_2 + 0x48),L"Proud::CNetThreads_S::TcpListenerProc",L"void*",0); + return 0x140081361; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6af0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6af0.c new file mode 100644 index 00000000..f95a8271 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6af0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6af0 Unwind@1400f6af0 + * Pseudocode, not original source. */ + +void Unwind_1400f6af0(undefined8 param_1,longlong param_2) + +{ + FUN_1400721f0((char *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6b00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6b00.c new file mode 100644 index 00000000..36de5eda --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6b00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6b00 Unwind@1400f6b00 + * Pseudocode, not original source. */ + +void Unwind_1400f6b00(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140096e60(param_2 + 0x60,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6b10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6b10.c new file mode 100644 index 00000000..bb6b4b88 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6b10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6b10 Unwind@1400f6b10 + * Pseudocode, not original source. */ + +void Unwind_1400f6b10(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6b20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6b20.c new file mode 100644 index 00000000..109d4d30 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6b20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6b20 Unwind@1400f6b20 + * Pseudocode, not original source. */ + +void Unwind_1400f6b20(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x30),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6b30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6b30.c new file mode 100644 index 00000000..b63db787 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6b30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6b30 Unwind@1400f6b30 + * Pseudocode, not original source. */ + +void Unwind_1400f6b30(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6b40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6b40.c new file mode 100644 index 00000000..81dedc04 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6b40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6b40 Unwind@1400f6b40 + * Pseudocode, not original source. */ + +void Unwind_1400f6b40(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x30); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6b50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6b50.c new file mode 100644 index 00000000..2197e473 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6b50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6b50 Unwind@1400f6b50 + * Pseudocode, not original source. */ + +void Unwind_1400f6b50(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400645f0(param_2 + 0x58,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6b60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6b60.c new file mode 100644 index 00000000..f17cce9a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6b60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6b60 Unwind@1400f6b60 + * Pseudocode, not original source. */ + +void Unwind_1400f6b60(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140064800(param_2 + 0x28,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6b70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6b70.c new file mode 100644 index 00000000..15b1215c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6b70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6b70 Unwind@1400f6b70 + * Pseudocode, not original source. */ + +void Unwind_1400f6b70(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x30); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6b80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6b80.c new file mode 100644 index 00000000..a25bfc26 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6b80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6b80 Unwind@1400f6b80 + * Pseudocode, not original source. */ + +void Unwind_1400f6b80(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x1a8) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6b90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6b90.c new file mode 100644 index 00000000..d2a140f1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6b90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6b90 Unwind@1400f6b90 + * Pseudocode, not original source. */ + +void Unwind_1400f6b90(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6ba0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6ba0.c new file mode 100644 index 00000000..480e3ae8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6ba0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6ba0 Unwind@1400f6ba0 + * Pseudocode, not original source. */ + +void Unwind_1400f6ba0(undefined8 param_1,longlong param_2) + +{ + FUN_140076940(param_2 + 0x50); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6bb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6bb0.c new file mode 100644 index 00000000..864eeca1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6bb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6bb0 Unwind@1400f6bb0 + * Pseudocode, not original source. */ + +void Unwind_1400f6bb0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0xc0) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6bc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6bc0.c new file mode 100644 index 00000000..bdf3abff --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6bc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6bc0 Unwind@1400f6bc0 + * Pseudocode, not original source. */ + +void Unwind_1400f6bc0(undefined8 param_1,longlong param_2) + +{ + FUN_140076940(param_2 + 0x50); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6bd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6bd0.c new file mode 100644 index 00000000..24dd4017 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6bd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6bd0 Unwind@1400f6bd0 + * Pseudocode, not original source. */ + +void Unwind_1400f6bd0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6be0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6be0.c new file mode 100644 index 00000000..14b998b6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6be0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6be0 Unwind@1400f6be0 + * Pseudocode, not original source. */ + +void Unwind_1400f6be0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0xb8) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6bf0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6bf0.c new file mode 100644 index 00000000..6599ff24 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6bf0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6bf0 Unwind@1400f6bf0 + * Pseudocode, not original source. */ + +void Unwind_1400f6bf0(undefined8 param_1,longlong param_2) + +{ + FUN_140076940(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6c00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6c00.c new file mode 100644 index 00000000..0218a1ab --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6c00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6c00 Unwind@1400f6c00 + * Pseudocode, not original source. */ + +void Unwind_1400f6c00(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x30) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6c10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6c10.c new file mode 100644 index 00000000..a38d09e0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6c10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6c10 Unwind@1400f6c10 + * Pseudocode, not original source. */ + +void Unwind_1400f6c10(undefined8 param_1,longlong param_2) + +{ + FUN_140076940(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6c20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6c20.c new file mode 100644 index 00000000..c9a1d563 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6c20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6c20 Unwind@1400f6c20 + * Pseudocode, not original source. */ + +void Unwind_1400f6c20(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x30) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6c30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6c30.c new file mode 100644 index 00000000..5ed681b6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6c30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6c30 Unwind@1400f6c30 + * Pseudocode, not original source. */ + +void Unwind_1400f6c30(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x30),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6c40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6c40.c new file mode 100644 index 00000000..263bcd01 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6c40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6c40 Unwind@1400f6c40 + * Pseudocode, not original source. */ + +void Unwind_1400f6c40(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6c50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6c50.c new file mode 100644 index 00000000..80b3cc69 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6c50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6c50 Unwind@1400f6c50 + * Pseudocode, not original source. */ + +void Unwind_1400f6c50(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x90)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6c60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6c60.c new file mode 100644 index 00000000..7b4019d2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6c60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6c60 Unwind@1400f6c60 + * Pseudocode, not original source. */ + +void Unwind_1400f6c60(undefined8 param_1,longlong param_2) + +{ + FUN_140091270((longlong *)(param_2 + 0xa0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6c70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6c70.c new file mode 100644 index 00000000..7ef47776 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6c70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6c70 Unwind@1400f6c70 + * Pseudocode, not original source. */ + +void Unwind_1400f6c70(undefined8 param_1,longlong param_2,SIZE_T param_3) + +{ + FUN_14007b420((longlong *)(param_2 + 0x58),param_2,param_3); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6c80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6c80.c new file mode 100644 index 00000000..e7bdb9e0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6c80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6c80 Unwind@1400f6c80 + * Pseudocode, not original source. */ + +void Unwind_1400f6c80(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x50),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6c90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6c90.c new file mode 100644 index 00000000..ebb0efe5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6c90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6c90 Unwind@1400f6c90 + * Pseudocode, not original source. */ + +void Unwind_1400f6c90(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xf8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6ca0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6ca0.c new file mode 100644 index 00000000..89f006f5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6ca0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6ca0 Unwind@1400f6ca0 + * Pseudocode, not original source. */ + +void Unwind_1400f6ca0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xd8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6cb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6cb0.c new file mode 100644 index 00000000..f1c71128 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6cb0.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6cb0 Catch@1400f6cb0 + * Pseudocode, not original source. */ + +undefined * Catch_1400f6cb0(undefined8 param_1,longlong param_2) + +{ + FUN_1400800f0(*(longlong *)(param_2 + 0x1c0),*(wchar_t **)(param_2 + 0x40),0x140113e70, + L"std.exception"); + return &DAT_1400827d3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6cf0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6cf0.c new file mode 100644 index 00000000..faa5c49c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6cf0.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6cf0 Catch@1400f6cf0 + * Pseudocode, not original source. */ + +undefined * Catch_1400f6cf0(undefined8 param_1,longlong param_2) + +{ + FUN_1400800f0(*(longlong *)(param_2 + 0x1c0),*(wchar_t **)(param_2 + 0x40),0x140113e70, + L"_com_error"); + return &DAT_1400827d3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6d30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6d30.c new file mode 100644 index 00000000..fce78f6b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6d30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6d30 Catch@1400f6d30 + * Pseudocode, not original source. */ + +undefined * Catch_1400f6d30(undefined8 param_1,longlong param_2) + +{ + FUN_1400800f0(*(longlong *)(param_2 + 0x1c0),*(wchar_t **)(param_2 + 0x40),0x140113e70,L"void*"); + return &DAT_1400827d3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6d70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6d70.c new file mode 100644 index 00000000..67433f5c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6d70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6d70 Unwind@1400f6d70 + * Pseudocode, not original source. */ + +void Unwind_1400f6d70(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xe8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6d80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6d80.c new file mode 100644 index 00000000..311c20ad --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6d80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6d80 Unwind@1400f6d80 + * Pseudocode, not original source. */ + +void Unwind_1400f6d80(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x140)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6d90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6d90.c new file mode 100644 index 00000000..54380e7f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6d90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6d90 Unwind@1400f6d90 + * Pseudocode, not original source. */ + +void Unwind_1400f6d90(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x130)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6da0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6da0.c new file mode 100644 index 00000000..2543d7ed --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6da0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6da0 Unwind@1400f6da0 + * Pseudocode, not original source. */ + +void Unwind_1400f6da0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x150)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6db0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6db0.c new file mode 100644 index 00000000..4dad34b7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6db0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6db0 Unwind@1400f6db0 + * Pseudocode, not original source. */ + +void Unwind_1400f6db0(undefined8 param_1,longlong param_2) + +{ + FUN_140091270((longlong *)(param_2 + 0x180)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6dc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6dc0.c new file mode 100644 index 00000000..e5715c98 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6dc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6dc0 Unwind@1400f6dc0 + * Pseudocode, not original source. */ + +void Unwind_1400f6dc0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6dd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6dd0.c new file mode 100644 index 00000000..64f88ee3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6dd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6dd0 Unwind@1400f6dd0 + * Pseudocode, not original source. */ + +void Unwind_1400f6dd0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xe0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6de0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6de0.c new file mode 100644 index 00000000..7dad4e31 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6de0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6de0 Unwind@1400f6de0 + * Pseudocode, not original source. */ + +void Unwind_1400f6de0(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6df0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6df0.c new file mode 100644 index 00000000..3b5aa71f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6df0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6df0 Unwind@1400f6df0 + * Pseudocode, not original source. */ + +void Unwind_1400f6df0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x178),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6e00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6e00.c new file mode 100644 index 00000000..0365cac9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6e00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6e00 Unwind@1400f6e00 + * Pseudocode, not original source. */ + +void Unwind_1400f6e00(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x50),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6e10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6e10.c new file mode 100644 index 00000000..639e3c36 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6e10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6e10 Unwind@1400f6e10 + * Pseudocode, not original source. */ + +void Unwind_1400f6e10(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x100)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6e20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6e20.c new file mode 100644 index 00000000..4769874d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6e20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6e20 Unwind@1400f6e20 + * Pseudocode, not original source. */ + +void Unwind_1400f6e20(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xd0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6e30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6e30.c new file mode 100644 index 00000000..8fd1fc6b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6e30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6e30 Unwind@1400f6e30 + * Pseudocode, not original source. */ + +void Unwind_1400f6e30(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xf0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6e40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6e40.c new file mode 100644 index 00000000..6fc8b9eb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6e40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6e40 Unwind@1400f6e40 + * Pseudocode, not original source. */ + +void Unwind_1400f6e40(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0xa8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6e50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6e50.c new file mode 100644 index 00000000..7ad19571 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6e50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6e50 Unwind@1400f6e50 + * Pseudocode, not original source. */ + +void Unwind_1400f6e50(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x110)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6e60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6e60.c new file mode 100644 index 00000000..d0571414 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6e60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6e60 Unwind@1400f6e60 + * Pseudocode, not original source. */ + +void Unwind_1400f6e60(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x80)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6e70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6e70.c new file mode 100644 index 00000000..b750208a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6e70.c @@ -0,0 +1,20 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6e70 Catch@1400f6e70 + * Pseudocode, not original source. */ + +undefined8 Catch_1400f6e70(undefined8 param_1,longlong param_2) + +{ + LPCSTR pCVar1; + + pCVar1 = (LPCSTR)(**(code **)(**(longlong **)(param_2 + 0x48) + 8))(); + *(longlong *)(param_2 + 0x50) = param_2 + 0x58; + FUN_140005110((longlong *)(param_2 + 0x50),pCVar1,3); + FUN_1400800f0(*(longlong *)(param_2 + 0x28),*(wchar_t **)(param_2 + 0x20),0x140114020, + *(undefined8 *)(param_2 + 0x50)); + if (*(void **)(param_2 + 0x50) != (void *)(param_2 + 0x58)) { + free(*(void **)(param_2 + 0x50)); + } + return 0x140083086; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6ee0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6ee0.c new file mode 100644 index 00000000..fb942c5d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6ee0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6ee0 Unwind@1400f6ee0 + * Pseudocode, not original source. */ + +void Unwind_1400f6ee0(undefined8 param_1,longlong param_2) + +{ + FUN_140005000((undefined8 *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6ef0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6ef0.c new file mode 100644 index 00000000..d5498efa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6ef0.c @@ -0,0 +1,40 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6ef0 Catch@1400f6ef0 + * Pseudocode, not original source. */ + +undefined8 +Catch_1400f6ef0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong *plVar1; + longlong lVar2; + longlong *plVar3; + undefined8 uVar4; + + plVar3 = FUN_14003d880(*(longlong *)(param_2 + 0x40),(undefined8 *)(param_2 + 0x30),param_3, + param_4); + uVar4 = 0; + if ((undefined8 *)*plVar3 != (undefined8 *)0x0) { + uVar4 = *(undefined8 *)*plVar3; + } + FUN_1400800f0(*(longlong *)(param_2 + 0x28),*(wchar_t **)(param_2 + 0x20),0x140114020,uVar4); + plVar3 = *(longlong **)(param_2 + 0x30); + if (plVar3 != (longlong *)0x0) { + LOCK(); + plVar1 = plVar3 + 2; + lVar2 = *plVar1; + *(int *)plVar1 = (int)*plVar1 + -1; + UNLOCK(); + if (((int)lVar2 == 1) && (plVar3 != (longlong *)0x0)) { + if (*plVar3 != 0) { + Ordinal_6(); + } + if ((void *)plVar3[1] != (void *)0x0) { + operator_delete__((void *)plVar3[1]); + } + operator_delete(plVar3); + } + } + return 0x140083086; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6f80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6f80.c new file mode 100644 index 00000000..df981858 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6f80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6f80 Unwind@1400f6f80 + * Pseudocode, not original source. */ + +void Unwind_1400f6f80(undefined8 param_1,longlong param_2) + +{ + FUN_14000ad60((undefined8 *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6f90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6f90.c new file mode 100644 index 00000000..127799f0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6f90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6f90 Catch@1400f6f90 + * Pseudocode, not original source. */ + +undefined8 Catch_1400f6f90(undefined8 param_1,longlong param_2) + +{ + FUN_1400800f0(*(longlong *)(param_2 + 0x28),*(wchar_t **)(param_2 + 0x20),0x140114020,L"void*"); + return 0x140083086; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6fd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6fd0.c new file mode 100644 index 00000000..ab43d560 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6fd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6fd0 Unwind@1400f6fd0 + * Pseudocode, not original source. */ + +void Unwind_1400f6fd0(undefined8 param_1,longlong param_2) + +{ + FUN_1400721f0((char *)(param_2 + 0x138)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6fe0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6fe0.c new file mode 100644 index 00000000..c1b153c4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6fe0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6fe0 Unwind@1400f6fe0 + * Pseudocode, not original source. */ + +void Unwind_1400f6fe0(undefined8 param_1,longlong param_2) + +{ + FUN_14007a4f0((undefined8 *)(param_2 + 0x70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f6ff0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f6ff0.c new file mode 100644 index 00000000..014fb887 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f6ff0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f6ff0 Unwind@1400f6ff0 + * Pseudocode, not original source. */ + +void Unwind_1400f6ff0(undefined8 param_1,longlong param_2) + +{ + FUN_14007e8f0((undefined8 *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7000.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7000.c new file mode 100644 index 00000000..a4e4f4e2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7000.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7000 Unwind@1400f7000 + * Pseudocode, not original source. */ + +void Unwind_1400f7000(undefined8 param_1,longlong param_2) + +{ + FUN_14007a680((undefined8 *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7010.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7010.c new file mode 100644 index 00000000..9e61476c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7010.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7010 Unwind@1400f7010 + * Pseudocode, not original source. */ + +void Unwind_1400f7010(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x148),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7020.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7020.c new file mode 100644 index 00000000..0fd0077f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7020.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7020 Unwind@1400f7020 + * Pseudocode, not original source. */ + +void Unwind_1400f7020(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xd0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7030.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7030.c new file mode 100644 index 00000000..10da0f41 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7030.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7030 Unwind@1400f7030 + * Pseudocode, not original source. */ + +void Unwind_1400f7030(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x140) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7040.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7040.c new file mode 100644 index 00000000..e30620c2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7040.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7040 Unwind@1400f7040 + * Pseudocode, not original source. */ + +void Unwind_1400f7040(undefined8 param_1,longlong param_2) + +{ + operator_delete(*(void **)(param_2 + 200)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7050.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7050.c new file mode 100644 index 00000000..ee0c6b8f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7050.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7050 Unwind@1400f7050 + * Pseudocode, not original source. */ + +void Unwind_1400f7050(undefined8 param_1,longlong param_2) + +{ + FUN_140051940((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7060.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7060.c new file mode 100644 index 00000000..f26c2d2b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7060.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7060 Unwind@1400f7060 + * Pseudocode, not original source. */ + +void Unwind_1400f7060(undefined8 param_1,longlong param_2) + +{ + operator_delete(*(void **)(param_2 + 200)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7070.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7070.c new file mode 100644 index 00000000..25270be3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7070.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7070 Unwind@1400f7070 + * Pseudocode, not original source. */ + +void Unwind_1400f7070(undefined8 param_1,longlong param_2) + +{ + FUN_140051940((longlong *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7080.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7080.c new file mode 100644 index 00000000..649c72d1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7080.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7080 Unwind@1400f7080 + * Pseudocode, not original source. */ + +void Unwind_1400f7080(undefined8 param_1,longlong param_2) + +{ + operator_delete(*(void **)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7090.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7090.c new file mode 100644 index 00000000..d0ce97dd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7090.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7090 Unwind@1400f7090 + * Pseudocode, not original source. */ + +void Unwind_1400f7090(undefined8 param_1,longlong param_2) + +{ + FUN_140051940((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f70a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f70a0.c new file mode 100644 index 00000000..bb95acf3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f70a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f70a0 Unwind@1400f70a0 + * Pseudocode, not original source. */ + +void Unwind_1400f70a0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f70b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f70b0.c new file mode 100644 index 00000000..655cfade --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f70b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f70b0 Unwind@1400f70b0 + * Pseudocode, not original source. */ + +void Unwind_1400f70b0(undefined8 param_1,longlong param_2) + +{ + operator_delete(*(void **)(param_2 + 0xb0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f70c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f70c0.c new file mode 100644 index 00000000..9f164fd3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f70c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f70c0 Unwind@1400f70c0 + * Pseudocode, not original source. */ + +void Unwind_1400f70c0(undefined8 param_1,longlong param_2) + +{ + FUN_140051940((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f70d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f70d0.c new file mode 100644 index 00000000..a83c3c94 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f70d0.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f70d0 Catch_All@1400f70d0 + * Pseudocode, not original source. */ + +undefined8 Catch_All_1400f70d0(void) + +{ + return 0x140083f23; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f70f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f70f0.c new file mode 100644 index 00000000..c6710e7a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f70f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f70f0 Unwind@1400f70f0 + * Pseudocode, not original source. */ + +void Unwind_1400f70f0(undefined8 param_1,longlong param_2) + +{ + FUN_140083f10(*(char **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7100.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7100.c new file mode 100644 index 00000000..3cf185b4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7100.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7100 Unwind@1400f7100 + * Pseudocode, not original source. */ + +void Unwind_1400f7100(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7110.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7110.c new file mode 100644 index 00000000..80ed5cb8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7110.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7110 Unwind@1400f7110 + * Pseudocode, not original source. */ + +void Unwind_1400f7110(undefined8 param_1,longlong param_2) + +{ + operator_delete(*(void **)(param_2 + 0xc0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7120.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7120.c new file mode 100644 index 00000000..319fa680 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7120.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7120 Unwind@1400f7120 + * Pseudocode, not original source. */ + +void Unwind_1400f7120(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400840d0((longlong *)(param_2 + 0xc0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7130.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7130.c new file mode 100644 index 00000000..3b6c0edc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7130.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7130 Unwind@1400f7130 + * Pseudocode, not original source. */ + +void Unwind_1400f7130(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7150.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7150.c new file mode 100644 index 00000000..911638c8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7150.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7150 Unwind@1400f7150 + * Pseudocode, not original source. */ + +void Unwind_1400f7150(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7160.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7160.c new file mode 100644 index 00000000..6f17cb10 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7160.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7160 Unwind@1400f7160 + * Pseudocode, not original source. */ + +void Unwind_1400f7160(undefined8 param_1,longlong param_2) + +{ + operator_delete(*(void **)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7170.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7170.c new file mode 100644 index 00000000..297fe4e0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7170.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7170 Unwind@1400f7170 + * Pseudocode, not original source. */ + +void Unwind_1400f7170(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400840d0((longlong *)(param_2 + 0x20),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7180.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7180.c new file mode 100644 index 00000000..ba124085 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7180.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7180 Unwind@1400f7180 + * Pseudocode, not original source. */ + +void Unwind_1400f7180(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f71a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f71a0.c new file mode 100644 index 00000000..ce0ce905 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f71a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f71a0 Unwind@1400f71a0 + * Pseudocode, not original source. */ + +void Unwind_1400f71a0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x68),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f71b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f71b0.c new file mode 100644 index 00000000..9a16b062 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f71b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f71b0 Unwind@1400f71b0 + * Pseudocode, not original source. */ + +void Unwind_1400f71b0(undefined8 param_1,longlong param_2) + +{ + FUN_1400117d0((longlong *)(param_2 + 0xa8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f71c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f71c0.c new file mode 100644 index 00000000..f609c6f8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f71c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f71c0 Unwind@1400f71c0 + * Pseudocode, not original source. */ + +void Unwind_1400f71c0(undefined8 param_1,longlong param_2) + +{ + FUN_14003d260((undefined8 *)(param_2 + 0x160)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f71d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f71d0.c new file mode 100644 index 00000000..4b73cccb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f71d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f71d0 Unwind@1400f71d0 + * Pseudocode, not original source. */ + +void Unwind_1400f71d0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x110)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f71e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f71e0.c new file mode 100644 index 00000000..3b62e7fe --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f71e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f71e0 Unwind@1400f71e0 + * Pseudocode, not original source. */ + +void Unwind_1400f71e0(undefined8 param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400848e0(param_2 + 0xf,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f71f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f71f0.c new file mode 100644 index 00000000..11fc775d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f71f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f71f0 Unwind@1400f71f0 + * Pseudocode, not original source. */ + +void Unwind_1400f71f0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xe8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7200.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7200.c new file mode 100644 index 00000000..18352b50 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7200.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7200 Unwind@1400f7200 + * Pseudocode, not original source. */ + +void Unwind_1400f7200(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400840d0((longlong *)(param_2 + 0x58),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7210.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7210.c new file mode 100644 index 00000000..e0c8d3c4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7210.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7210 Unwind@1400f7210 + * Pseudocode, not original source. */ + +void Unwind_1400f7210(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7240.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7240.c new file mode 100644 index 00000000..b6de7fc2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7240.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7240 Unwind@1400f7240 + * Pseudocode, not original source. */ + +void Unwind_1400f7240(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x48),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7250.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7250.c new file mode 100644 index 00000000..09018c33 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7250.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7250 Unwind@1400f7250 + * Pseudocode, not original source. */ + +void Unwind_1400f7250(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400840d0((longlong *)(param_2 + 0x50),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7260.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7260.c new file mode 100644 index 00000000..261cd246 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7260.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7260 Unwind@1400f7260 + * Pseudocode, not original source. */ + +void Unwind_1400f7260(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x60),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7270.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7270.c new file mode 100644 index 00000000..ee572549 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7270.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7270 Unwind@1400f7270 + * Pseudocode, not original source. */ + +void Unwind_1400f7270(undefined8 param_1,longlong param_2) + +{ + FUN_1400117d0((longlong *)(param_2 + 0x70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7280.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7280.c new file mode 100644 index 00000000..bad4a7ac --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7280.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7280 Unwind@1400f7280 + * Pseudocode, not original source. */ + +void Unwind_1400f7280(undefined8 param_1,longlong param_2) + +{ + FUN_14003d260((undefined8 *)(param_2 + 0x270)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7290.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7290.c new file mode 100644 index 00000000..c11eedb6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7290.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7290 Unwind@1400f7290 + * Pseudocode, not original source. */ + +void Unwind_1400f7290(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x120)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f72a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f72a0.c new file mode 100644 index 00000000..dae6bc75 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f72a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f72a0 Unwind@1400f72a0 + * Pseudocode, not original source. */ + +void Unwind_1400f72a0(undefined8 param_1,longlong param_2) + +{ + FUN_1400117d0((longlong *)(param_2 + 0xe0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f72b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f72b0.c new file mode 100644 index 00000000..6a992504 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f72b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f72b0 Unwind@1400f72b0 + * Pseudocode, not original source. */ + +void Unwind_1400f72b0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x130)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f72c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f72c0.c new file mode 100644 index 00000000..09989df8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f72c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f72c0 Unwind@1400f72c0 + * Pseudocode, not original source. */ + +void Unwind_1400f72c0(undefined8 param_1,longlong param_2) + +{ + FUN_140083db0(*(undefined8 **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f72d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f72d0.c new file mode 100644 index 00000000..051f556c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f72d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f72d0 Unwind@1400f72d0 + * Pseudocode, not original source. */ + +void Unwind_1400f72d0(undefined8 param_1,longlong param_2) + +{ + FUN_1400486f0((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x10)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f72e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f72e0.c new file mode 100644 index 00000000..a696f7c9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f72e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f72e0 Unwind@1400f72e0 + * Pseudocode, not original source. */ + +void Unwind_1400f72e0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003d110((undefined4 *)(*(longlong *)(param_2 + 0x40) + 0x18),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f72f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f72f0.c new file mode 100644 index 00000000..f93f6ec7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f72f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f72f0 Unwind@1400f72f0 + * Pseudocode, not original source. */ + +void Unwind_1400f72f0(undefined8 param_1,longlong param_2) + +{ + FUN_140045c30((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7300.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7300.c new file mode 100644 index 00000000..4801c886 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7300.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7300 Unwind@1400f7300 + * Pseudocode, not original source. */ + +void Unwind_1400f7300(undefined8 param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400848e0((longlong *)(param_2[8] + 0x88),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7320.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7320.c new file mode 100644 index 00000000..dae20963 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7320.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7320 Unwind@1400f7320 + * Pseudocode, not original source. */ + +void Unwind_1400f7320(undefined8 param_1,longlong param_2) + +{ + FUN_140083db0(*(undefined8 **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7330.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7330.c new file mode 100644 index 00000000..0b188b44 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7330.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7330 Unwind@1400f7330 + * Pseudocode, not original source. */ + +void Unwind_1400f7330(undefined8 param_1,longlong param_2) + +{ + FUN_1400486f0((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x10)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7340.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7340.c new file mode 100644 index 00000000..c344ec1c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7340.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7340 Unwind@1400f7340 + * Pseudocode, not original source. */ + +void Unwind_1400f7340(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003d110((undefined4 *)(*(longlong *)(param_2 + 0x40) + 0x18),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7350.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7350.c new file mode 100644 index 00000000..8d0cdec3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7350.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7350 Unwind@1400f7350 + * Pseudocode, not original source. */ + +void Unwind_1400f7350(undefined8 param_1,longlong param_2) + +{ + FUN_140083db0((undefined8 *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7360.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7360.c new file mode 100644 index 00000000..4cec7b3a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7360.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7360 Unwind@1400f7360 + * Pseudocode, not original source. */ + +void Unwind_1400f7360(undefined8 param_1,longlong param_2) + +{ + operator_delete(*(void **)(param_2 + 0x80)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7370.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7370.c new file mode 100644 index 00000000..c35c53d6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7370.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7370 Unwind@1400f7370 + * Pseudocode, not original source. */ + +void Unwind_1400f7370(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7380.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7380.c new file mode 100644 index 00000000..ca0b5129 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7380.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7380 Unwind@1400f7380 + * Pseudocode, not original source. */ + +void Unwind_1400f7380(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_14003e8b0(*(LPVOID *)(param_2 + 0x90)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f73a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f73a0.c new file mode 100644 index 00000000..d657f0a0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f73a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f73a0 Unwind@1400f73a0 + * Pseudocode, not original source. */ + +void Unwind_1400f73a0(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_14003e8b0(*(LPVOID *)(param_2 + 0x90)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f73c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f73c0.c new file mode 100644 index 00000000..699140b0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f73c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f73c0 Unwind@1400f73c0 + * Pseudocode, not original source. */ + +void Unwind_1400f73c0(undefined8 param_1,longlong param_2) + +{ + FUN_140045c30((undefined8 *)(*(longlong *)(param_2 + 0x60) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f73d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f73d0.c new file mode 100644 index 00000000..83b275a9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f73d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f73d0 Unwind@1400f73d0 + * Pseudocode, not original source. */ + +void Unwind_1400f73d0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003d110((undefined4 *)(*(longlong *)(param_2 + 0x60) + 0x30),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f73e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f73e0.c new file mode 100644 index 00000000..2a5d5aea --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f73e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f73e0 Unwind@1400f73e0 + * Pseudocode, not original source. */ + +void Unwind_1400f73e0(undefined8 param_1,longlong param_2) + +{ + FUN_1400855b0((undefined8 *)(*(longlong *)(param_2 + 0x60) + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f73f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f73f0.c new file mode 100644 index 00000000..ffa1ade8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f73f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f73f0 Unwind@1400f73f0 + * Pseudocode, not original source. */ + +void Unwind_1400f73f0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7400.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7400.c new file mode 100644 index 00000000..afb565a4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7400.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7400 Unwind@1400f7400 + * Pseudocode, not original source. */ + +void Unwind_1400f7400(undefined8 param_1,longlong param_2) + +{ + FUN_140045c30((undefined8 *)(*(longlong *)(param_2 + 0x40) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7410.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7410.c new file mode 100644 index 00000000..f201b682 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7410.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7410 Unwind@1400f7410 + * Pseudocode, not original source. */ + +void Unwind_1400f7410(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003d110((undefined4 *)(*(longlong *)(param_2 + 0x40) + 0x30),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7420.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7420.c new file mode 100644 index 00000000..c6e7df3a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7420.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7420 Unwind@1400f7420 + * Pseudocode, not original source. */ + +void Unwind_1400f7420(undefined8 param_1,longlong param_2) + +{ + FUN_1400855b0((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7430.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7430.c new file mode 100644 index 00000000..d6e5501d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7430.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7430 Unwind@1400f7430 + * Pseudocode, not original source. */ + +void Unwind_1400f7430(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7440.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7440.c new file mode 100644 index 00000000..27349cbb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7440.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7440 Unwind@1400f7440 + * Pseudocode, not original source. */ + +void Unwind_1400f7440(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3e0((longlong *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7450.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7450.c new file mode 100644 index 00000000..82b9432a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7450.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7450 Unwind@1400f7450 + * Pseudocode, not original source. */ + +void Unwind_1400f7450(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(param_2 + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7460.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7460.c new file mode 100644 index 00000000..c2326b71 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7460.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7460 Catch@1400f7460 + * Pseudocode, not original source. */ + +undefined * Catch_1400f7460(undefined8 param_1,longlong param_2) + +{ + (**(code **)(**(longlong **)(param_2 + 0x78) + 8))(); + return &DAT_1400877f2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7490.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7490.c new file mode 100644 index 00000000..549a11e3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7490.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7490 Unwind@1400f7490 + * Pseudocode, not original source. */ + +void Unwind_1400f7490(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f74a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f74a0.c new file mode 100644 index 00000000..fa14f39d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f74a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f74a0 Unwind@1400f74a0 + * Pseudocode, not original source. */ + +void Unwind_1400f74a0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3e0((longlong *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f74b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f74b0.c new file mode 100644 index 00000000..b6e65582 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f74b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f74b0 Unwind@1400f74b0 + * Pseudocode, not original source. */ + +void Unwind_1400f74b0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(param_2 + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f74c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f74c0.c new file mode 100644 index 00000000..a9fd3cd0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f74c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f74c0 Catch@1400f74c0 + * Pseudocode, not original source. */ + +undefined * Catch_1400f74c0(undefined8 param_1,longlong param_2) + +{ + (**(code **)(**(longlong **)(param_2 + 0x70) + 8))(); + return &DAT_140087aa6; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f74f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f74f0.c new file mode 100644 index 00000000..e3e8fb72 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f74f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f74f0 Unwind@1400f74f0 + * Pseudocode, not original source. */ + +void Unwind_1400f74f0(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7500.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7500.c new file mode 100644 index 00000000..19d872fc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7500.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7500 Catch@1400f7500 + * Pseudocode, not original source. */ + +undefined * Catch_1400f7500(undefined8 param_1,longlong param_2) + +{ + (**(code **)(**(longlong **)(param_2 + 0x30) + 8))(); + return &DAT_140087d9d; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7530.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7530.c new file mode 100644 index 00000000..3ce7a221 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7530.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7530 Catch@1400f7530 + * Pseudocode, not original source. */ + +undefined * Catch_1400f7530(undefined8 param_1,longlong param_2) + +{ + (**(code **)(**(longlong **)(param_2 + 0x38) + 8))(); + return &DAT_140087fc2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7560.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7560.c new file mode 100644 index 00000000..65ca239e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7560.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7560 Unwind@1400f7560 + * Pseudocode, not original source. */ + +void Unwind_1400f7560(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7570.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7570.c new file mode 100644 index 00000000..c9b29042 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7570.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7570 Unwind@1400f7570 + * Pseudocode, not original source. */ + +void Unwind_1400f7570(void) + +{ + DAT_140178280 = DAT_140178280 & 0xfffffffe; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7590.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7590.c new file mode 100644 index 00000000..34039807 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7590.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7590 Unwind@1400f7590 + * Pseudocode, not original source. */ + +void Unwind_1400f7590(undefined8 param_1,longlong param_2) + +{ + FUN_140002230(*(undefined8 **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f75a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f75a0.c new file mode 100644 index 00000000..17aa0acd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f75a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f75a0 Unwind@1400f75a0 + * Pseudocode, not original source. */ + +void Unwind_1400f75a0(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140079b90((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x10)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f75b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f75b0.c new file mode 100644 index 00000000..bd8cba6c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f75b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f75b0 Unwind@1400f75b0 + * Pseudocode, not original source. */ + +void Unwind_1400f75b0(undefined8 param_1,longlong param_2) + +{ + FUN_140088020((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f75c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f75c0.c new file mode 100644 index 00000000..f6eede37 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f75c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f75c0 Unwind@1400f75c0 + * Pseudocode, not original source. */ + +void Unwind_1400f75c0(undefined8 param_1,longlong param_2) + +{ + FUN_14004a900((longlong *)(*(longlong *)(param_2 + 0x40) + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f75d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f75d0.c new file mode 100644 index 00000000..1c4d1605 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f75d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f75d0 Unwind@1400f75d0 + * Pseudocode, not original source. */ + +void Unwind_1400f75d0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(*(longlong *)(param_2 + 0x40) + 0x50),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f75e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f75e0.c new file mode 100644 index 00000000..d1e769e4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f75e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f75e0 Unwind@1400f75e0 + * Pseudocode, not original source. */ + +void Unwind_1400f75e0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(*(longlong *)(param_2 + 0x40) + 0x60),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f75f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f75f0.c new file mode 100644 index 00000000..c34e087e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f75f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f75f0 Unwind@1400f75f0 + * Pseudocode, not original source. */ + +void Unwind_1400f75f0(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_1400768c0((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7600.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7600.c new file mode 100644 index 00000000..356c02ab --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7600.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7600 Unwind@1400f7600 + * Pseudocode, not original source. */ + +void Unwind_1400f7600(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003d110((undefined4 *)(*(longlong *)(param_2 + 0x40) + 0x98),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7620.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7620.c new file mode 100644 index 00000000..efd56131 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7620.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7620 Unwind@1400f7620 + * Pseudocode, not original source. */ + +void Unwind_1400f7620(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140001c20((longlong *)(param_2 + 0x50),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7630.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7630.c new file mode 100644 index 00000000..fd240cf1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7630.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7630 Unwind@1400f7630 + * Pseudocode, not original source. */ + +void Unwind_1400f7630(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7640.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7640.c new file mode 100644 index 00000000..6f9fdcbc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7640.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7640 Unwind@1400f7640 + * Pseudocode, not original source. */ + +void Unwind_1400f7640(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7650.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7650.c new file mode 100644 index 00000000..fb94fa8a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7650.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7650 Unwind@1400f7650 + * Pseudocode, not original source. */ + +void Unwind_1400f7650(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x50),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7660.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7660.c new file mode 100644 index 00000000..4cd3fd24 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7660.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7660 Unwind@1400f7660 + * Pseudocode, not original source. */ + +void Unwind_1400f7660(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7670.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7670.c new file mode 100644 index 00000000..4a5496c0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7670.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7670 Unwind@1400f7670 + * Pseudocode, not original source. */ + +void Unwind_1400f7670(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x48); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7680.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7680.c new file mode 100644 index 00000000..26956a0e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7680.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7680 Unwind@1400f7680 + * Pseudocode, not original source. */ + +void Unwind_1400f7680(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0xa8) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7690.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7690.c new file mode 100644 index 00000000..2413cc13 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7690.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7690 Unwind@1400f7690 + * Pseudocode, not original source. */ + +void Unwind_1400f7690(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x158),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f76a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f76a0.c new file mode 100644 index 00000000..a2ada857 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f76a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f76a0 Unwind@1400f76a0 + * Pseudocode, not original source. */ + +void Unwind_1400f76a0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x98),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f76b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f76b0.c new file mode 100644 index 00000000..2087d40f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f76b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f76b0 Unwind@1400f76b0 + * Pseudocode, not original source. */ + +void Unwind_1400f76b0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f76c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f76c0.c new file mode 100644 index 00000000..81e2b1dc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f76c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f76c0 Unwind@1400f76c0 + * Pseudocode, not original source. */ + +void Unwind_1400f76c0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x88)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f76d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f76d0.c new file mode 100644 index 00000000..5be45cbf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f76d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f76d0 Unwind@1400f76d0 + * Pseudocode, not original source. */ + +void Unwind_1400f76d0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f76e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f76e0.c new file mode 100644 index 00000000..fa4b8969 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f76e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f76e0 Unwind@1400f76e0 + * Pseudocode, not original source. */ + +void Unwind_1400f76e0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f76f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f76f0.c new file mode 100644 index 00000000..d6207c39 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f76f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f76f0 Unwind@1400f76f0 + * Pseudocode, not original source. */ + +void Unwind_1400f76f0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x88),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7700.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7700.c new file mode 100644 index 00000000..2c6e7eb8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7700.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7700 Unwind@1400f7700 + * Pseudocode, not original source. */ + +void Unwind_1400f7700(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7710.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7710.c new file mode 100644 index 00000000..f9f20b4f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7710.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7710 Unwind@1400f7710 + * Pseudocode, not original source. */ + +void Unwind_1400f7710(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x30),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7720.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7720.c new file mode 100644 index 00000000..4eaa2fac --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7720.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7720 Unwind@1400f7720 + * Pseudocode, not original source. */ + +void Unwind_1400f7720(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x80),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7730.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7730.c new file mode 100644 index 00000000..5691c40e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7730.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7730 Unwind@1400f7730 + * Pseudocode, not original source. */ + +void Unwind_1400f7730(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x88)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7740.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7740.c new file mode 100644 index 00000000..0655e514 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7740.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7740 Unwind@1400f7740 + * Pseudocode, not original source. */ + +void Unwind_1400f7740(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7750.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7750.c new file mode 100644 index 00000000..5da21c6d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7750.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7750 Unwind@1400f7750 + * Pseudocode, not original source. */ + +void Unwind_1400f7750(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7760.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7760.c new file mode 100644 index 00000000..7688bf96 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7760.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7760 Unwind@1400f7760 + * Pseudocode, not original source. */ + +void Unwind_1400f7760(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7770.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7770.c new file mode 100644 index 00000000..531374bb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7770.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7770 Unwind@1400f7770 + * Pseudocode, not original source. */ + +void Unwind_1400f7770(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x88),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7780.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7780.c new file mode 100644 index 00000000..94e1a91e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7780.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7780 Unwind@1400f7780 + * Pseudocode, not original source. */ + +void Unwind_1400f7780(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7790.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7790.c new file mode 100644 index 00000000..8e0b146e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7790.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7790 Unwind@1400f7790 + * Pseudocode, not original source. */ + +void Unwind_1400f7790(undefined8 param_1,longlong param_2) + +{ + FUN_140002230(*(undefined8 **)(param_2 + 0x70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f77a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f77a0.c new file mode 100644 index 00000000..e2a7a03b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f77a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f77a0 Unwind@1400f77a0 + * Pseudocode, not original source. */ + +void Unwind_1400f77a0(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140079b90((undefined8 *)(*(longlong *)(param_2 + 0x70) + 0x10)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f77b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f77b0.c new file mode 100644 index 00000000..07c403fd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f77b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f77b0 Unwind@1400f77b0 + * Pseudocode, not original source. */ + +void Unwind_1400f77b0(undefined8 param_1,longlong param_2) + +{ + FUN_140088020((undefined8 *)(*(longlong *)(param_2 + 0x70) + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f77c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f77c0.c new file mode 100644 index 00000000..e4db6244 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f77c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f77c0 Unwind@1400f77c0 + * Pseudocode, not original source. */ + +void Unwind_1400f77c0(undefined8 param_1,longlong param_2) + +{ + FUN_14004a900((longlong *)(*(longlong *)(param_2 + 0x70) + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f77d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f77d0.c new file mode 100644 index 00000000..8f53df71 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f77d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f77d0 Unwind@1400f77d0 + * Pseudocode, not original source. */ + +void Unwind_1400f77d0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(*(longlong *)(param_2 + 0x70) + 0x50),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f77e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f77e0.c new file mode 100644 index 00000000..e0e7c0ac --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f77e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f77e0 Unwind@1400f77e0 + * Pseudocode, not original source. */ + +void Unwind_1400f77e0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(*(longlong *)(param_2 + 0x70) + 0x60),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f77f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f77f0.c new file mode 100644 index 00000000..0aec1fcb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f77f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f77f0 Unwind@1400f77f0 + * Pseudocode, not original source. */ + +void Unwind_1400f77f0(undefined8 param_1,longlong param_2) + +{ + FUN_1400768c0(*(undefined8 **)(param_2 + 0x78)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7800.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7800.c new file mode 100644 index 00000000..cc3ea0ff --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7800.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7800 Unwind@1400f7800 + * Pseudocode, not original source. */ + +void Unwind_1400f7800(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_1400768c0((undefined8 *)(*(longlong *)(param_2 + 0x70) + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7810.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7810.c new file mode 100644 index 00000000..7bd85c0f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7810.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7810 Unwind@1400f7810 + * Pseudocode, not original source. */ + +void Unwind_1400f7810(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003d110((undefined4 *)(*(longlong *)(param_2 + 0x70) + 0x98),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7830.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7830.c new file mode 100644 index 00000000..1ead4130 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7830.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7830 Unwind@1400f7830 + * Pseudocode, not original source. */ + +void Unwind_1400f7830(undefined8 param_1,longlong param_2) + +{ + operator_delete(*(void **)(param_2 + 0x78)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7840.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7840.c new file mode 100644 index 00000000..90b92339 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7840.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7840 Unwind@1400f7840 + * Pseudocode, not original source. */ + +void Unwind_1400f7840(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x80),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7850.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7850.c new file mode 100644 index 00000000..65d9b976 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7850.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7850 Unwind@1400f7850 + * Pseudocode, not original source. */ + +void Unwind_1400f7850(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x50),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7860.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7860.c new file mode 100644 index 00000000..8b1d53c6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7860.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7860 Unwind@1400f7860 + * Pseudocode, not original source. */ + +void Unwind_1400f7860(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7870.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7870.c new file mode 100644 index 00000000..77b16900 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7870.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7870 Catch_All@1400f7870 + * Pseudocode, not original source. */ + +undefined8 Catch_All_1400f7870(void) + +{ + return 0x14008b213; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7890.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7890.c new file mode 100644 index 00000000..c2d0701c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7890.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7890 Unwind@1400f7890 + * Pseudocode, not original source. */ + +void Unwind_1400f7890(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f78a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f78a0.c new file mode 100644 index 00000000..5a55e422 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f78a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f78a0 Unwind@1400f78a0 + * Pseudocode, not original source. */ + +void Unwind_1400f78a0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140061740((longlong *)(param_2 + 0x90),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f78b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f78b0.c new file mode 100644 index 00000000..1260307c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f78b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f78b0 Unwind@1400f78b0 + * Pseudocode, not original source. */ + +void Unwind_1400f78b0(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_14003e8b0(*(LPVOID *)(param_2 + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f78d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f78d0.c new file mode 100644 index 00000000..a48a5458 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f78d0.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f78d0 Unwind@1400f78d0 + * Pseudocode, not original source. */ + +void Unwind_1400f78d0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + if ((*(uint *)(param_2 + 0x60) & 1) != 0) { + *(uint *)(param_2 + 0x60) = *(uint *)(param_2 + 0x60) & 0xfffffffe; + FUN_140064160(*(longlong **)(param_2 + 0x58),param_2,param_3,param_4); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7900.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7900.c new file mode 100644 index 00000000..e5569b27 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7900.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7900 Unwind@1400f7900 + * Pseudocode, not original source. */ + +void Unwind_1400f7900(undefined8 param_1,longlong param_2) + +{ + FUN_140049f40(*(undefined8 **)(param_2 + 0x80)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7910.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7910.c new file mode 100644 index 00000000..a9cc57a1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7910.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7910 Unwind@1400f7910 + * Pseudocode, not original source. */ + +void Unwind_1400f7910(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400978a0((undefined8 *)(*(longlong *)(param_2 + 0x80) + 8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7920.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7920.c new file mode 100644 index 00000000..40cde47d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7920.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7920 Unwind@1400f7920 + * Pseudocode, not original source. */ + +void Unwind_1400f7920(undefined8 param_1,longlong param_2) + +{ + FUN_140049ec0((undefined8 *)(*(longlong *)(param_2 + 0x80) + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7930.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7930.c new file mode 100644 index 00000000..990635af --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7930.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7930 Unwind@1400f7930 + * Pseudocode, not original source. */ + +void Unwind_1400f7930(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14008a740(*(longlong *)(param_2 + 0x80) + 0x110,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7950.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7950.c new file mode 100644 index 00000000..505d9d76 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7950.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7950 Unwind@1400f7950 + * Pseudocode, not original source. */ + +void Unwind_1400f7950(undefined8 param_1,LPVOID param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140067a30((undefined8 *)(*(longlong *)((longlong)param_2 + 0x80) + 0x40),param_2,param_3, + param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7960.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7960.c new file mode 100644 index 00000000..54693e81 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7960.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7960 Unwind@1400f7960 + * Pseudocode, not original source. */ + +void Unwind_1400f7960(undefined8 param_1,longlong param_2) + +{ + FUN_140091220((undefined8 *)(*(longlong *)(param_2 + 0x80) + 0xc0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7980.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7980.c new file mode 100644 index 00000000..1b8f3e39 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7980.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7980 Unwind@1400f7980 + * Pseudocode, not original source. */ + +void Unwind_1400f7980(undefined8 param_1,longlong param_2) + +{ + FUN_14008a490((undefined8 *)(*(longlong *)(param_2 + 0x80) + 0x108)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f79a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f79a0.c new file mode 100644 index 00000000..d961c680 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f79a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f79a0 Unwind@1400f79a0 + * Pseudocode, not original source. */ + +void Unwind_1400f79a0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003d110((undefined4 *)(*(longlong *)(param_2 + 0x80) + 0x128),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f79c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f79c0.c new file mode 100644 index 00000000..900fb6e5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f79c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f79c0 Unwind@1400f79c0 + * Pseudocode, not original source. */ + +void Unwind_1400f79c0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(*(longlong *)(param_2 + 0x80) + 0x1f0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f79e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f79e0.c new file mode 100644 index 00000000..5147d0a6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f79e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f79e0 Unwind@1400f79e0 + * Pseudocode, not original source. */ + +void Unwind_1400f79e0(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(*(longlong *)(param_2 + 0x80) + 0x1f8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7a00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7a00.c new file mode 100644 index 00000000..954f8942 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7a00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7a00 Unwind@1400f7a00 + * Pseudocode, not original source. */ + +void Unwind_1400f7a00(undefined8 param_1,longlong param_2) + +{ + FUN_14008a8b0((undefined8 *)(*(longlong *)(param_2 + 0x80) + 0x228)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7a20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7a20.c new file mode 100644 index 00000000..e5b731fb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7a20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7a20 Unwind@1400f7a20 + * Pseudocode, not original source. */ + +void Unwind_1400f7a20(undefined8 param_1,longlong param_2) + +{ + FUN_14000d9e0((undefined8 *)(*(longlong *)(param_2 + 0x80) + 0x240)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7a40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7a40.c new file mode 100644 index 00000000..80ed4871 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7a40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7a40 Unwind@1400f7a40 + * Pseudocode, not original source. */ + +void Unwind_1400f7a40(undefined8 param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140067be0((longlong *)(param_2[0x10] + 0x268),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7a60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7a60.c new file mode 100644 index 00000000..b52126ab --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7a60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7a60 Unwind@1400f7a60 + * Pseudocode, not original source. */ + +void Unwind_1400f7a60(undefined8 param_1,longlong param_2) + +{ + FUN_14004a040(*(longlong *)(param_2 + 0x80) + 0x288); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7a80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7a80.c new file mode 100644 index 00000000..baf92788 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7a80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7a80 Unwind@1400f7a80 + * Pseudocode, not original source. */ + +void Unwind_1400f7a80(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_14008b200((char *)(*(longlong *)(param_2 + 0x80) + 0x6a0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7aa0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7aa0.c new file mode 100644 index 00000000..761814f9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7aa0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7aa0 Unwind@1400f7aa0 + * Pseudocode, not original source. */ + +void Unwind_1400f7aa0(undefined8 param_1,longlong param_2) + +{ + FUN_140092bb0(*(longlong *)(param_2 + 0x80) + 0x700); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7ac0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7ac0.c new file mode 100644 index 00000000..bd002468 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7ac0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7ac0 Unwind@1400f7ac0 + * Pseudocode, not original source. */ + +void Unwind_1400f7ac0(undefined8 param_1,longlong param_2) + +{ + FUN_14008a570((undefined8 *)(*(longlong *)(param_2 + 0x80) + 0x750)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7ae0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7ae0.c new file mode 100644 index 00000000..8e1b13be --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7ae0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7ae0 Unwind@1400f7ae0 + * Pseudocode, not original source. */ + +void Unwind_1400f7ae0(undefined8 param_1,longlong param_2) + +{ + FUN_1400bfcf0((longlong *)(*(longlong *)(param_2 + 0x80) + 0x760)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7b00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7b00.c new file mode 100644 index 00000000..e6a4c25d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7b00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7b00 Unwind@1400f7b00 + * Pseudocode, not original source. */ + +void Unwind_1400f7b00(undefined8 param_1,longlong param_2) + +{ + operator_delete(*(void **)(param_2 + 0x88)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7b10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7b10.c new file mode 100644 index 00000000..cfa06463 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7b10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7b10 Unwind@1400f7b10 + * Pseudocode, not original source. */ + +void Unwind_1400f7b10(undefined8 param_1,longlong param_2) + +{ + FUN_140049f40(*(undefined8 **)(param_2 + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7b20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7b20.c new file mode 100644 index 00000000..fec6ed97 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7b20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7b20 Unwind@1400f7b20 + * Pseudocode, not original source. */ + +void Unwind_1400f7b20(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400978a0((undefined8 *)(*(longlong *)(param_2 + 0x60) + 8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7b30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7b30.c new file mode 100644 index 00000000..03953f6b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7b30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7b30 Unwind@1400f7b30 + * Pseudocode, not original source. */ + +void Unwind_1400f7b30(undefined8 param_1,longlong param_2) + +{ + FUN_140049ec0((undefined8 *)(*(longlong *)(param_2 + 0x60) + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7b40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7b40.c new file mode 100644 index 00000000..606c7ccb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7b40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7b40 Unwind@1400f7b40 + * Pseudocode, not original source. */ + +void Unwind_1400f7b40(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14008a740(*(longlong *)(param_2 + 0x60) + 0x110,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7b60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7b60.c new file mode 100644 index 00000000..e5dabb19 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7b60.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7b60 Unwind@1400f7b60 + * Pseudocode, not original source. */ + +void Unwind_1400f7b60(undefined8 param_1,LPVOID param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140067a30((undefined8 *)(*(longlong *)((longlong)param_2 + 0x60) + 0x40),param_2,param_3, + param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7b70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7b70.c new file mode 100644 index 00000000..75bd3afc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7b70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7b70 Unwind@1400f7b70 + * Pseudocode, not original source. */ + +void Unwind_1400f7b70(undefined8 param_1,longlong param_2) + +{ + FUN_140091220((undefined8 *)(*(longlong *)(param_2 + 0x60) + 0xc0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7b90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7b90.c new file mode 100644 index 00000000..0ab454ad --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7b90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7b90 Unwind@1400f7b90 + * Pseudocode, not original source. */ + +void Unwind_1400f7b90(undefined8 param_1,longlong param_2) + +{ + FUN_14008a490((undefined8 *)(*(longlong *)(param_2 + 0x60) + 0x108)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7bb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7bb0.c new file mode 100644 index 00000000..43d74ba7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7bb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7bb0 Unwind@1400f7bb0 + * Pseudocode, not original source. */ + +void Unwind_1400f7bb0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003d110((undefined4 *)(*(longlong *)(param_2 + 0x60) + 0x128),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7bd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7bd0.c new file mode 100644 index 00000000..bd7ed127 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7bd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7bd0 Unwind@1400f7bd0 + * Pseudocode, not original source. */ + +void Unwind_1400f7bd0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(*(longlong *)(param_2 + 0x60) + 0x1f0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7bf0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7bf0.c new file mode 100644 index 00000000..30c48e71 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7bf0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7bf0 Unwind@1400f7bf0 + * Pseudocode, not original source. */ + +void Unwind_1400f7bf0(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(*(longlong *)(param_2 + 0x60) + 0x1f8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7c10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7c10.c new file mode 100644 index 00000000..fd0f42b5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7c10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7c10 Unwind@1400f7c10 + * Pseudocode, not original source. */ + +void Unwind_1400f7c10(undefined8 param_1,longlong param_2) + +{ + FUN_14008a8b0((undefined8 *)(*(longlong *)(param_2 + 0x60) + 0x228)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7c30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7c30.c new file mode 100644 index 00000000..85909bd7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7c30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7c30 Unwind@1400f7c30 + * Pseudocode, not original source. */ + +void Unwind_1400f7c30(undefined8 param_1,longlong param_2) + +{ + FUN_14000d9e0((undefined8 *)(*(longlong *)(param_2 + 0x60) + 0x240)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7c50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7c50.c new file mode 100644 index 00000000..7b2e01c4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7c50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7c50 Unwind@1400f7c50 + * Pseudocode, not original source. */ + +void Unwind_1400f7c50(undefined8 param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140067be0((longlong *)(param_2[0xc] + 0x268),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7c70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7c70.c new file mode 100644 index 00000000..090f1cfa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7c70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7c70 Unwind@1400f7c70 + * Pseudocode, not original source. */ + +void Unwind_1400f7c70(undefined8 param_1,longlong param_2) + +{ + FUN_14004a040(*(longlong *)(param_2 + 0x60) + 0x288); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7c90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7c90.c new file mode 100644 index 00000000..67a904c8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7c90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7c90 Unwind@1400f7c90 + * Pseudocode, not original source. */ + +void Unwind_1400f7c90(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_14008b200((char *)(*(longlong *)(param_2 + 0x60) + 0x6a0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7cb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7cb0.c new file mode 100644 index 00000000..9c9c69d5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7cb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7cb0 Unwind@1400f7cb0 + * Pseudocode, not original source. */ + +void Unwind_1400f7cb0(undefined8 param_1,longlong param_2) + +{ + FUN_140092bb0(*(longlong *)(param_2 + 0x60) + 0x700); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7cd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7cd0.c new file mode 100644 index 00000000..44acfc33 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7cd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7cd0 Unwind@1400f7cd0 + * Pseudocode, not original source. */ + +void Unwind_1400f7cd0(undefined8 param_1,longlong param_2) + +{ + FUN_14008a570((undefined8 *)(*(longlong *)(param_2 + 0x60) + 0x750)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7cf0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7cf0.c new file mode 100644 index 00000000..b65bf428 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7cf0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7cf0 Unwind@1400f7cf0 + * Pseudocode, not original source. */ + +void Unwind_1400f7cf0(undefined8 param_1,longlong param_2) + +{ + FUN_1400bfcf0((longlong *)(*(longlong *)(param_2 + 0x60) + 0x760)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7d10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7d10.c new file mode 100644 index 00000000..3289a429 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7d10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7d10 Unwind@1400f7d10 + * Pseudocode, not original source. */ + +void Unwind_1400f7d10(undefined8 param_1,longlong param_2) + +{ + FUN_1400bfcf0((longlong *)(param_2 + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7d20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7d20.c new file mode 100644 index 00000000..3a94718e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7d20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7d20 Unwind@1400f7d20 + * Pseudocode, not original source. */ + +void Unwind_1400f7d20(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_14008c540(*(longlong **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7d30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7d30.c new file mode 100644 index 00000000..0f045769 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7d30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7d30 Unwind@1400f7d30 + * Pseudocode, not original source. */ + +void Unwind_1400f7d30(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_14008c540((longlong *)(*(longlong *)(param_2 + 0x40) + 0x18)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7d40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7d40.c new file mode 100644 index 00000000..5b1292c6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7d40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7d40 Unwind@1400f7d40 + * Pseudocode, not original source. */ + +void Unwind_1400f7d40(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14008c170(*(longlong **)(param_2 + 0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7d50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7d50.c new file mode 100644 index 00000000..5d64a61d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7d50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7d50 Unwind@1400f7d50 + * Pseudocode, not original source. */ + +void Unwind_1400f7d50(undefined8 param_1,longlong param_2) + +{ + FUN_14008db30((void *)(*(longlong *)(param_2 + 0x40) + 0x18)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7d60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7d60.c new file mode 100644 index 00000000..4992375b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7d60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7d60 Unwind@1400f7d60 + * Pseudocode, not original source. */ + +void Unwind_1400f7d60(undefined8 param_1,longlong param_2) + +{ + FUN_14008c1e0((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x198)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7d80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7d80.c new file mode 100644 index 00000000..51a8d732 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7d80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7d80 Unwind@1400f7d80 + * Pseudocode, not original source. */ + +void Unwind_1400f7d80(undefined8 param_1,longlong param_2) + +{ + FUN_14004d2c0(*(undefined8 **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7d90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7d90.c new file mode 100644 index 00000000..8b10b23f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7d90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7d90 Unwind@1400f7d90 + * Pseudocode, not original source. */ + +void Unwind_1400f7d90(undefined8 param_1,longlong param_2) + +{ + FUN_14008c1e0((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x678)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7db0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7db0.c new file mode 100644 index 00000000..ad76808a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7db0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7db0 Unwind@1400f7db0 + * Pseudocode, not original source. */ + +void Unwind_1400f7db0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14008c150(*(longlong **)(param_2 + 0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7dc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7dc0.c new file mode 100644 index 00000000..e057c599 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7dc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7dc0 Unwind@1400f7dc0 + * Pseudocode, not original source. */ + +void Unwind_1400f7dc0(undefined8 param_1,longlong param_2) + +{ + FUN_14008c270(*(undefined8 **)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7dd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7dd0.c new file mode 100644 index 00000000..3ad0c52c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7dd0.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7dd0 Catch_All@1400f7dd0 + * Pseudocode, not original source. */ + +undefined8 Catch_All_1400f7dd0(void) + +{ + return 0x14008ddc3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7df0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7df0.c new file mode 100644 index 00000000..17644608 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7df0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7df0 Unwind@1400f7df0 + * Pseudocode, not original source. */ + +void Unwind_1400f7df0(undefined8 param_1,longlong param_2) + +{ + FUN_140094c20(*(char **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7e00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7e00.c new file mode 100644 index 00000000..636f644f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7e00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7e00 Unwind@1400f7e00 + * Pseudocode, not original source. */ + +void Unwind_1400f7e00(undefined8 param_1,longlong param_2) + +{ + FUN_140094c20(*(char **)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7e10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7e10.c new file mode 100644 index 00000000..a9a21e6d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7e10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7e10 Unwind@1400f7e10 + * Pseudocode, not original source. */ + +void Unwind_1400f7e10(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14008c170(*(longlong **)(param_2 + 0x50),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7e20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7e20.c new file mode 100644 index 00000000..8d3d46f2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7e20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7e20 Unwind@1400f7e20 + * Pseudocode, not original source. */ + +void Unwind_1400f7e20(undefined8 param_1,longlong param_2) + +{ + FUN_14008db30((void *)(*(longlong *)(param_2 + 0x50) + 0x18)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7e30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7e30.c new file mode 100644 index 00000000..f3480519 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7e30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7e30 Unwind@1400f7e30 + * Pseudocode, not original source. */ + +void Unwind_1400f7e30(undefined8 param_1,longlong param_2) + +{ + FUN_14008c1e0((undefined8 *)(*(longlong *)(param_2 + 0x50) + 0x198)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7e50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7e50.c new file mode 100644 index 00000000..574c5631 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7e50.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7e50 Catch_All@1400f7e50 + * Pseudocode, not original source. */ + +void Catch_All_1400f7e50(undefined8 param_1,longlong param_2) + +{ + FUN_14009d050(*(char **)(param_2 + 0x40),*(LPVOID *)(param_2 + 0x48),'\0'); + /* WARNING: Subroutine does not return */ + _CxxThrowException((void *)0x0,(ThrowInfo *)0x0); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7e80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7e80.c new file mode 100644 index 00000000..fe833067 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7e80.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7e80 Catch_All@1400f7e80 + * Pseudocode, not original source. */ + +void Catch_All_1400f7e80(undefined8 param_1,longlong param_2) + +{ + FUN_14008cf20(*(char **)(param_2 + 0x50),*(LPVOID *)(param_2 + 0x58),'\0'); + /* WARNING: Subroutine does not return */ + _CxxThrowException((void *)0x0,(ThrowInfo *)0x0); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7eb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7eb0.c new file mode 100644 index 00000000..41898d77 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7eb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7eb0 Unwind@1400f7eb0 + * Pseudocode, not original source. */ + +void Unwind_1400f7eb0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14008c170(*(longlong **)(param_2 + 0xb0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7ec0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7ec0.c new file mode 100644 index 00000000..a2ff5feb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7ec0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7ec0 Unwind@1400f7ec0 + * Pseudocode, not original source. */ + +void Unwind_1400f7ec0(undefined8 param_1,longlong param_2) + +{ + FUN_14008db30((void *)(*(longlong *)(param_2 + 0xb0) + 0x18)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7ed0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7ed0.c new file mode 100644 index 00000000..49c67697 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7ed0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7ed0 Unwind@1400f7ed0 + * Pseudocode, not original source. */ + +void Unwind_1400f7ed0(undefined8 param_1,longlong param_2) + +{ + FUN_14008c1e0((undefined8 *)(*(longlong *)(param_2 + 0xb0) + 0x198)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7ef0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7ef0.c new file mode 100644 index 00000000..e7b2dd85 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7ef0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7ef0 Unwind@1400f7ef0 + * Pseudocode, not original source. */ + +void Unwind_1400f7ef0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14008c170(*(longlong **)(param_2 + 0x90),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7f00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7f00.c new file mode 100644 index 00000000..fbbbd49b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7f00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7f00 Unwind@1400f7f00 + * Pseudocode, not original source. */ + +void Unwind_1400f7f00(undefined8 param_1,longlong param_2) + +{ + FUN_14008db30((void *)(*(longlong *)(param_2 + 0x90) + 0x18)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7f10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7f10.c new file mode 100644 index 00000000..f4b136f8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7f10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7f10 Unwind@1400f7f10 + * Pseudocode, not original source. */ + +void Unwind_1400f7f10(undefined8 param_1,longlong param_2) + +{ + FUN_14008c1e0((undefined8 *)(*(longlong *)(param_2 + 0x90) + 0x198)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7f30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7f30.c new file mode 100644 index 00000000..449b8e04 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7f30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7f30 Unwind@1400f7f30 + * Pseudocode, not original source. */ + +void Unwind_1400f7f30(undefined8 param_1,longlong param_2) + +{ + FUN_14008ddb0(*(char **)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7f40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7f40.c new file mode 100644 index 00000000..c6c72346 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7f40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7f40 Unwind@1400f7f40 + * Pseudocode, not original source. */ + +void Unwind_1400f7f40(undefined8 param_1,longlong param_2) + +{ + FUN_14008ddb0(*(char **)(param_2 + 0xb0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7f50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7f50.c new file mode 100644 index 00000000..09330d81 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7f50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7f50 Unwind@1400f7f50 + * Pseudocode, not original source. */ + +void Unwind_1400f7f50(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7f60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7f60.c new file mode 100644 index 00000000..e27098f1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7f60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7f60 Unwind@1400f7f60 + * Pseudocode, not original source. */ + +void Unwind_1400f7f60(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7f90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7f90.c new file mode 100644 index 00000000..280f34dc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7f90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7f90 Unwind@1400f7f90 + * Pseudocode, not original source. */ + +void Unwind_1400f7f90(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x38); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7fa0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7fa0.c new file mode 100644 index 00000000..36b5d568 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7fa0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7fa0 Unwind@1400f7fa0 + * Pseudocode, not original source. */ + +void Unwind_1400f7fa0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x30) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7fb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7fb0.c new file mode 100644 index 00000000..339151f1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7fb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7fb0 Unwind@1400f7fb0 + * Pseudocode, not original source. */ + +void Unwind_1400f7fb0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x30) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7fc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7fc0.c new file mode 100644 index 00000000..a254a9da --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7fc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7fc0 Unwind@1400f7fc0 + * Pseudocode, not original source. */ + +void Unwind_1400f7fc0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x30) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7fd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7fd0.c new file mode 100644 index 00000000..06714ff8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7fd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7fd0 Unwind@1400f7fd0 + * Pseudocode, not original source. */ + +void Unwind_1400f7fd0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x30) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7fe0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7fe0.c new file mode 100644 index 00000000..bdd2ccf3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7fe0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7fe0 Unwind@1400f7fe0 + * Pseudocode, not original source. */ + +void Unwind_1400f7fe0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x30) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f7ff0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f7ff0.c new file mode 100644 index 00000000..46640186 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f7ff0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f7ff0 Unwind@1400f7ff0 + * Pseudocode, not original source. */ + +void Unwind_1400f7ff0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x30) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8000.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8000.c new file mode 100644 index 00000000..11defd2e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8000.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8000 Unwind@1400f8000 + * Pseudocode, not original source. */ + +void Unwind_1400f8000(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x30) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8010.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8010.c new file mode 100644 index 00000000..6af0f0aa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8010.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8010 Unwind@1400f8010 + * Pseudocode, not original source. */ + +void Unwind_1400f8010(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x30) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8020.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8020.c new file mode 100644 index 00000000..e6ae38a6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8020.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8020 Unwind@1400f8020 + * Pseudocode, not original source. */ + +void Unwind_1400f8020(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x30) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8030.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8030.c new file mode 100644 index 00000000..8d8118df --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8030.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8030 Unwind@1400f8030 + * Pseudocode, not original source. */ + +void Unwind_1400f8030(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x30) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8040.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8040.c new file mode 100644 index 00000000..b340917e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8040.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8040 Unwind@1400f8040 + * Pseudocode, not original source. */ + +void Unwind_1400f8040(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x30) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8050.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8050.c new file mode 100644 index 00000000..507cf453 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8050.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8050 Unwind@1400f8050 + * Pseudocode, not original source. */ + +void Unwind_1400f8050(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x30) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8060.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8060.c new file mode 100644 index 00000000..8bc19f76 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8060.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8060 Unwind@1400f8060 + * Pseudocode, not original source. */ + +void Unwind_1400f8060(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8070.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8070.c new file mode 100644 index 00000000..4ae6ff8c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8070.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8070 Unwind@1400f8070 + * Pseudocode, not original source. */ + +void Unwind_1400f8070(undefined8 param_1,longlong param_2) + +{ + FUN_14008ddb0(*(char **)(param_2 + 0x130)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8080.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8080.c new file mode 100644 index 00000000..5e326a46 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8080.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8080 Unwind@1400f8080 + * Pseudocode, not original source. */ + +void Unwind_1400f8080(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8090.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8090.c new file mode 100644 index 00000000..911a4966 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8090.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8090 Unwind@1400f8090 + * Pseudocode, not original source. */ + +void Unwind_1400f8090(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f80a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f80a0.c new file mode 100644 index 00000000..a3e9dc58 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f80a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f80a0 Unwind@1400f80a0 + * Pseudocode, not original source. */ + +void Unwind_1400f80a0(undefined8 param_1,longlong param_2) + +{ + FUN_14008ddb0(*(char **)(param_2 + 0x138)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f80b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f80b0.c new file mode 100644 index 00000000..145fe8f0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f80b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f80b0 Unwind@1400f80b0 + * Pseudocode, not original source. */ + +void Unwind_1400f80b0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f80c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f80c0.c new file mode 100644 index 00000000..d20c4fda --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f80c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f80c0 Unwind@1400f80c0 + * Pseudocode, not original source. */ + +void Unwind_1400f80c0(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_14008c700(*(longlong **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f80d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f80d0.c new file mode 100644 index 00000000..181cc77f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f80d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f80d0 Unwind@1400f80d0 + * Pseudocode, not original source. */ + +void Unwind_1400f80d0(undefined8 param_1,longlong param_2) + +{ + FUN_140090990((char *)(*(longlong *)(param_2 + 0x40) + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f80e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f80e0.c new file mode 100644 index 00000000..bef9c612 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f80e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f80e0 Unwind@1400f80e0 + * Pseudocode, not original source. */ + +void Unwind_1400f80e0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14008dc50((longlong *)(*(longlong *)(param_2 + 0x40) + 0x80),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8100.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8100.c new file mode 100644 index 00000000..37a32e2d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8100.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8100 Unwind@1400f8100 + * Pseudocode, not original source. */ + +void Unwind_1400f8100(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_14008c700(*(longlong **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8110.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8110.c new file mode 100644 index 00000000..ff71acb8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8110.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8110 Unwind@1400f8110 + * Pseudocode, not original source. */ + +void Unwind_1400f8110(undefined8 param_1,longlong param_2) + +{ + FUN_140090990((char *)(*(longlong *)(param_2 + 0x40) + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8120.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8120.c new file mode 100644 index 00000000..e848d39b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8120.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8120 Unwind@1400f8120 + * Pseudocode, not original source. */ + +void Unwind_1400f8120(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14008dc50((longlong *)(*(longlong *)(param_2 + 0x40) + 0x80),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8140.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8140.c new file mode 100644 index 00000000..8b7b64cd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8140.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8140 Unwind@1400f8140 + * Pseudocode, not original source. */ + +void Unwind_1400f8140(undefined8 param_1,longlong param_2) + +{ + FUN_140094c20(*(char **)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8150.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8150.c new file mode 100644 index 00000000..f4e501e4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8150.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8150 Unwind@1400f8150 + * Pseudocode, not original source. */ + +void Unwind_1400f8150(undefined8 param_1,longlong param_2,SIZE_T param_3) + +{ + FUN_140090960((char *)(*(longlong *)(param_2 + 0x80) + 8),param_2,param_3); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8170.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8170.c new file mode 100644 index 00000000..79497696 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8170.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8170 Unwind@1400f8170 + * Pseudocode, not original source. */ + +void Unwind_1400f8170(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8180.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8180.c new file mode 100644 index 00000000..f28544a4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8180.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8180 Unwind@1400f8180 + * Pseudocode, not original source. */ + +void Unwind_1400f8180(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140093f40((longlong *)(*(longlong *)(param_2 + 0x50) + 0x48),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8190.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8190.c new file mode 100644 index 00000000..8f04bdb3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8190.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8190 Unwind@1400f8190 + * Pseudocode, not original source. */ + +void Unwind_1400f8190(undefined8 param_1,longlong param_2) + +{ + FUN_14009aa70(*(longlong *)(param_2 + 0x50) + 200); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f81b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f81b0.c new file mode 100644 index 00000000..569a81dd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f81b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f81b0 Unwind@1400f81b0 + * Pseudocode, not original source. */ + +void Unwind_1400f81b0(undefined8 param_1,longlong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_140079d20((undefined8 *)(*(longlong *)(param_2 + 0x50) + 0x110),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f81d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f81d0.c new file mode 100644 index 00000000..c246dde3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f81d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f81d0 Unwind@1400f81d0 + * Pseudocode, not original source. */ + +void Unwind_1400f81d0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140093f40((longlong *)(*(longlong *)(param_2 + 0x40) + 0x48),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f81e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f81e0.c new file mode 100644 index 00000000..d11a0925 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f81e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f81e0 Unwind@1400f81e0 + * Pseudocode, not original source. */ + +void Unwind_1400f81e0(undefined8 param_1,longlong param_2) + +{ + FUN_14009aa70(*(longlong *)(param_2 + 0x40) + 200); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8200.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8200.c new file mode 100644 index 00000000..b8347e16 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8200.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8200 Unwind@1400f8200 + * Pseudocode, not original source. */ + +void Unwind_1400f8200(undefined8 param_1,longlong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_140079d20((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x110),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8220.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8220.c new file mode 100644 index 00000000..b7a8194f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8220.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8220 Unwind@1400f8220 + * Pseudocode, not original source. */ + +void Unwind_1400f8220(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0x1a0,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8230.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8230.c new file mode 100644 index 00000000..a093c030 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8230.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8230 Unwind@1400f8230 + * Pseudocode, not original source. */ + +void Unwind_1400f8230(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0xf0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8240.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8240.c new file mode 100644 index 00000000..d7d1c433 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8240.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8240 Unwind@1400f8240 + * Pseudocode, not original source. */ + +void Unwind_1400f8240(undefined8 param_1,longlong param_2) + +{ + FUN_140076940(param_2 + 0xf0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8250.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8250.c new file mode 100644 index 00000000..246d1410 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8250.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8250 Unwind@1400f8250 + * Pseudocode, not original source. */ + +void Unwind_1400f8250(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8260.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8260.c new file mode 100644 index 00000000..cb92098d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8260.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8260 Unwind@1400f8260 + * Pseudocode, not original source. */ + +void Unwind_1400f8260(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8270.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8270.c new file mode 100644 index 00000000..25b35d39 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8270.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8270 Unwind@1400f8270 + * Pseudocode, not original source. */ + +void Unwind_1400f8270(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x40) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8280.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8280.c new file mode 100644 index 00000000..edea0efa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8280.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8280 Unwind@1400f8280 + * Pseudocode, not original source. */ + +void Unwind_1400f8280(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0xe20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f82a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f82a0.c new file mode 100644 index 00000000..b5567572 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f82a0.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f82a0 Unwind@1400f82a0 + * Pseudocode, not original source. */ + +void Unwind_1400f82a0(undefined8 param_1,longlong param_2) + +{ + if ((*(uint *)(param_2 + 0x28) & 1) != 0) { + *(uint *)(param_2 + 0x28) = *(uint *)(param_2 + 0x28) & 0xfffffffe; + thunk_FUN_140006e80(*(longlong **)(param_2 + 0x40)); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f82d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f82d0.c new file mode 100644 index 00000000..f31453cd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f82d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f82d0 Unwind@1400f82d0 + * Pseudocode, not original source. */ + +void Unwind_1400f82d0(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140006e80((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f82e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f82e0.c new file mode 100644 index 00000000..b2cd0b7c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f82e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f82e0 Unwind@1400f82e0 + * Pseudocode, not original source. */ + +void Unwind_1400f82e0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f82f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f82f0.c new file mode 100644 index 00000000..86a91fd6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f82f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f82f0 Unwind@1400f82f0 + * Pseudocode, not original source. */ + +void Unwind_1400f82f0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x20),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8300.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8300.c new file mode 100644 index 00000000..17404433 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8300.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8300 Unwind@1400f8300 + * Pseudocode, not original source. */ + +void Unwind_1400f8300(undefined8 param_1,longlong param_2) + +{ + FUN_14003d260((undefined8 *)(param_2 + 0x70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8310.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8310.c new file mode 100644 index 00000000..0a632eaa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8310.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8310 Unwind@1400f8310 + * Pseudocode, not original source. */ + +void Unwind_1400f8310(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8320.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8320.c new file mode 100644 index 00000000..20360b61 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8320.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8320 Unwind@1400f8320 + * Pseudocode, not original source. */ + +void Unwind_1400f8320(undefined8 param_1,longlong param_2) + +{ + FUN_140049ec0(*(undefined8 **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8330.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8330.c new file mode 100644 index 00000000..af0e68f4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8330.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8330 Unwind@1400f8330 + * Pseudocode, not original source. */ + +void Unwind_1400f8330(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140091640(*(longlong *)(param_2 + 0x40) + 0x90,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8350.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8350.c new file mode 100644 index 00000000..75d0cf47 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8350.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8350 Unwind@1400f8350 + * Pseudocode, not original source. */ + +void Unwind_1400f8350(undefined8 param_1,longlong param_2) + +{ + FUN_1400912b0((undefined8 *)(*(longlong *)(param_2 + 0x40) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8360.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8360.c new file mode 100644 index 00000000..d5ff607e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8360.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8360 Unwind@1400f8360 + * Pseudocode, not original source. */ + +void Unwind_1400f8360(undefined8 param_1,longlong param_2) + +{ + FUN_1400912f0((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x10)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8370.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8370.c new file mode 100644 index 00000000..738c23f5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8370.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8370 Unwind@1400f8370 + * Pseudocode, not original source. */ + +void Unwind_1400f8370(undefined8 param_1,longlong param_2) + +{ + FUN_140091220((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8380.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8380.c new file mode 100644 index 00000000..0e6e4f0c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8380.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8380 Unwind@1400f8380 + * Pseudocode, not original source. */ + +void Unwind_1400f8380(undefined8 param_1,longlong param_2) + +{ + FUN_14008a490((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x88)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f83a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f83a0.c new file mode 100644 index 00000000..24001fa3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f83a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f83a0 Unwind@1400f83a0 + * Pseudocode, not original source. */ + +void Unwind_1400f83a0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003d110((undefined4 *)(*(longlong *)(param_2 + 0x40) + 0xa8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f83c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f83c0.c new file mode 100644 index 00000000..c7b5589f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f83c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f83c0 Unwind@1400f83c0 + * Pseudocode, not original source. */ + +void Unwind_1400f83c0(undefined8 param_1,longlong param_2) + +{ + FUN_14004a900((longlong *)(*(longlong *)(param_2 + 0x40) + 0xe0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f83e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f83e0.c new file mode 100644 index 00000000..3263c9e8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f83e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f83e0 Unwind@1400f83e0 + * Pseudocode, not original source. */ + +void Unwind_1400f83e0(undefined8 param_1,longlong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_1400404a0((longlong *)(*(longlong *)(param_2 + 0x40) + 0x150),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8400.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8400.c new file mode 100644 index 00000000..2b06ae88 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8400.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8400 Unwind@1400f8400 + * Pseudocode, not original source. */ + +void Unwind_1400f8400(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140091670((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x168),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8420.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8420.c new file mode 100644 index 00000000..7b9b5967 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8420.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8420 Unwind@1400f8420 + * Pseudocode, not original source. */ + +void Unwind_1400f8420(undefined8 param_1,longlong param_2,longlong param_3) + +{ + FUN_1400916a0((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x170),param_2,param_3); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8440.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8440.c new file mode 100644 index 00000000..3e1a3f91 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8440.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8440 Unwind@1400f8440 + * Pseudocode, not original source. */ + +void Unwind_1400f8440(undefined8 param_1,longlong param_2,SIZE_T param_3) + +{ + FUN_140091730((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x178),param_2,param_3); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8460.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8460.c new file mode 100644 index 00000000..8a6d1f1b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8460.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8460 Unwind@1400f8460 + * Pseudocode, not original source. */ + +void Unwind_1400f8460(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8470.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8470.c new file mode 100644 index 00000000..0c27ce52 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8470.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8470 Unwind@1400f8470 + * Pseudocode, not original source. */ + +void Unwind_1400f8470(undefined8 param_1,longlong param_2) + +{ + FUN_14004de40(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8480.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8480.c new file mode 100644 index 00000000..168de014 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8480.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8480 Unwind@1400f8480 + * Pseudocode, not original source. */ + +void Unwind_1400f8480(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0xd60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f84a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f84a0.c new file mode 100644 index 00000000..543228d1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f84a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f84a0 Unwind@1400f84a0 + * Pseudocode, not original source. */ + +void Unwind_1400f84a0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0xe0,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f84b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f84b0.c new file mode 100644 index 00000000..904ce631 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f84b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f84b0 Unwind@1400f84b0 + * Pseudocode, not original source. */ + +void Unwind_1400f84b0(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0xd60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f84d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f84d0.c new file mode 100644 index 00000000..7cec0747 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f84d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f84d0 Unwind@1400f84d0 + * Pseudocode, not original source. */ + +void Unwind_1400f84d0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x30) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f84e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f84e0.c new file mode 100644 index 00000000..aaacfe97 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f84e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f84e0 Unwind@1400f84e0 + * Pseudocode, not original source. */ + +void Unwind_1400f84e0(undefined8 param_1,longlong param_2) + +{ + FUN_140049ec0(*(undefined8 **)(param_2 + 0x80)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f84f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f84f0.c new file mode 100644 index 00000000..3cbc7741 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f84f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f84f0 Unwind@1400f84f0 + * Pseudocode, not original source. */ + +void Unwind_1400f84f0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140091640(*(longlong *)(param_2 + 0x80) + 0x90,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8510.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8510.c new file mode 100644 index 00000000..b35fe5a9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8510.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8510 Unwind@1400f8510 + * Pseudocode, not original source. */ + +void Unwind_1400f8510(undefined8 param_1,longlong param_2) + +{ + FUN_1400912b0((undefined8 *)(*(longlong *)(param_2 + 0x80) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8520.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8520.c new file mode 100644 index 00000000..e25e4144 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8520.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8520 Unwind@1400f8520 + * Pseudocode, not original source. */ + +void Unwind_1400f8520(undefined8 param_1,longlong param_2) + +{ + FUN_1400912f0((undefined8 *)(*(longlong *)(param_2 + 0x80) + 0x10)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8530.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8530.c new file mode 100644 index 00000000..a33b667a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8530.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8530 Unwind@1400f8530 + * Pseudocode, not original source. */ + +void Unwind_1400f8530(undefined8 param_1,longlong param_2) + +{ + FUN_140091220((undefined8 *)(*(longlong *)(param_2 + 0x80) + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8540.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8540.c new file mode 100644 index 00000000..fbcf610c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8540.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8540 Unwind@1400f8540 + * Pseudocode, not original source. */ + +void Unwind_1400f8540(undefined8 param_1,longlong param_2) + +{ + FUN_14008a490((undefined8 *)(*(longlong *)(param_2 + 0x80) + 0x88)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8560.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8560.c new file mode 100644 index 00000000..3b3de943 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8560.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8560 Unwind@1400f8560 + * Pseudocode, not original source. */ + +void Unwind_1400f8560(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003d110((undefined4 *)(*(longlong *)(param_2 + 0x80) + 0xa8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8580.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8580.c new file mode 100644 index 00000000..928b685d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8580.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8580 Unwind@1400f8580 + * Pseudocode, not original source. */ + +void Unwind_1400f8580(undefined8 param_1,longlong param_2) + +{ + FUN_14004a900((longlong *)(*(longlong *)(param_2 + 0x80) + 0xe0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f85a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f85a0.c new file mode 100644 index 00000000..94a0bd89 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f85a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f85a0 Unwind@1400f85a0 + * Pseudocode, not original source. */ + +void Unwind_1400f85a0(undefined8 param_1,longlong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_1400404a0((longlong *)(*(longlong *)(param_2 + 0x80) + 0x150),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f85c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f85c0.c new file mode 100644 index 00000000..e138d01b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f85c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f85c0 Unwind@1400f85c0 + * Pseudocode, not original source. */ + +void Unwind_1400f85c0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140091670((undefined8 *)(*(longlong *)(param_2 + 0x80) + 0x168),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f85e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f85e0.c new file mode 100644 index 00000000..2f3c28c8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f85e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f85e0 Unwind@1400f85e0 + * Pseudocode, not original source. */ + +void Unwind_1400f85e0(undefined8 param_1,longlong param_2,longlong param_3) + +{ + FUN_1400916a0((undefined8 *)(*(longlong *)(param_2 + 0x80) + 0x170),param_2,param_3); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8600.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8600.c new file mode 100644 index 00000000..44585f34 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8600.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8600 Unwind@1400f8600 + * Pseudocode, not original source. */ + +void Unwind_1400f8600(undefined8 param_1,longlong param_2,SIZE_T param_3) + +{ + FUN_140091730((undefined8 *)(*(longlong *)(param_2 + 0x80) + 0x178),param_2,param_3); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8620.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8620.c new file mode 100644 index 00000000..5c6cfde1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8620.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8620 Unwind@1400f8620 + * Pseudocode, not original source. */ + +void Unwind_1400f8620(undefined8 param_1,longlong param_2) + +{ + operator_delete(*(void **)(param_2 + 0x88)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8630.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8630.c new file mode 100644 index 00000000..8b6d9206 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8630.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8630 Unwind@1400f8630 + * Pseudocode, not original source. */ + +void Unwind_1400f8630(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_14003e8b0(*(LPVOID *)(param_2 + 0x88)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8650.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8650.c new file mode 100644 index 00000000..bcf5eda9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8650.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8650 Unwind@1400f8650 + * Pseudocode, not original source. */ + +void Unwind_1400f8650(undefined8 param_1,longlong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_1400404a0((longlong *)(param_2 + 0x88),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8660.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8660.c new file mode 100644 index 00000000..abcf50c8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8660.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8660 Unwind@1400f8660 + * Pseudocode, not original source. */ + +void Unwind_1400f8660(undefined8 param_1,longlong param_2) + +{ + operator_delete(*(void **)(param_2 + 0x88)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8670.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8670.c new file mode 100644 index 00000000..54687774 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8670.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8670 Unwind@1400f8670 + * Pseudocode, not original source. */ + +void Unwind_1400f8670(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003d110(*(undefined4 **)(param_2 + 0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8680.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8680.c new file mode 100644 index 00000000..a0e435f3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8680.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8680 Unwind@1400f8680 + * Pseudocode, not original source. */ + +void Unwind_1400f8680(undefined8 param_1,longlong param_2) + +{ + FUN_1400486f0((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8690.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8690.c new file mode 100644 index 00000000..3175fedb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8690.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8690 Unwind@1400f8690 + * Pseudocode, not original source. */ + +void Unwind_1400f8690(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140048130((undefined8 *)(param_2 + 0x60),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f86a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f86a0.c new file mode 100644 index 00000000..5d0d2fff --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f86a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f86a0 Unwind@1400f86a0 + * Pseudocode, not original source. */ + +void Unwind_1400f86a0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140048130((undefined8 *)(param_2 + 0x60),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f86b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f86b0.c new file mode 100644 index 00000000..0de26e34 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f86b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f86b0 Unwind@1400f86b0 + * Pseudocode, not original source. */ + +void Unwind_1400f86b0(undefined8 param_1,longlong param_2) + +{ + FUN_140092ef0((undefined8 *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f86c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f86c0.c new file mode 100644 index 00000000..3cac4b95 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f86c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f86c0 Unwind@1400f86c0 + * Pseudocode, not original source. */ + +void Unwind_1400f86c0(undefined8 param_1,longlong param_2) + +{ + FUN_140092ec0((undefined8 *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f86d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f86d0.c new file mode 100644 index 00000000..a36df8a8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f86d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f86d0 Unwind@1400f86d0 + * Pseudocode, not original source. */ + +void Unwind_1400f86d0(undefined8 param_1,longlong param_2) + +{ + operator_delete(*(void **)(param_2 + 0x80)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f86e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f86e0.c new file mode 100644 index 00000000..d7aecd58 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f86e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f86e0 Unwind@1400f86e0 + * Pseudocode, not original source. */ + +void Unwind_1400f86e0(undefined8 param_1,longlong param_2) + +{ + FUN_140051940((longlong *)(param_2 + 0x80)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f86f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f86f0.c new file mode 100644 index 00000000..7788cf24 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f86f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f86f0 Unwind@1400f86f0 + * Pseudocode, not original source. */ + +void Unwind_1400f86f0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0x70,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8700.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8700.c new file mode 100644 index 00000000..d11fbcd1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8700.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8700 Unwind@1400f8700 + * Pseudocode, not original source. */ + +void Unwind_1400f8700(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0xcf0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8720.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8720.c new file mode 100644 index 00000000..bdad886c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8720.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8720 Unwind@1400f8720 + * Pseudocode, not original source. */ + +void Unwind_1400f8720(undefined8 param_1,longlong param_2) + +{ + FUN_140093920(*(longlong **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8730.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8730.c new file mode 100644 index 00000000..4077a3f9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8730.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8730 Unwind@1400f8730 + * Pseudocode, not original source. */ + +void Unwind_1400f8730(undefined8 param_1,longlong param_2) + +{ + FUN_140093d10((longlong *)(*(longlong *)(param_2 + 0x40) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8740.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8740.c new file mode 100644 index 00000000..0cc21f05 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8740.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8740 Unwind@1400f8740 + * Pseudocode, not original source. */ + +void Unwind_1400f8740(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x38); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8750.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8750.c new file mode 100644 index 00000000..b2262c3f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8750.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8750 Unwind@1400f8750 + * Pseudocode, not original source. */ + +void Unwind_1400f8750(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3e0((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8760.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8760.c new file mode 100644 index 00000000..f5cd45aa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8760.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8760 Unwind@1400f8760 + * Pseudocode, not original source. */ + +void Unwind_1400f8760(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8770.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8770.c new file mode 100644 index 00000000..0d054cce --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8770.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8770 Unwind@1400f8770 + * Pseudocode, not original source. */ + +void Unwind_1400f8770(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x160) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8780.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8780.c new file mode 100644 index 00000000..dfaf63d7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8780.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8780 Unwind@1400f8780 + * Pseudocode, not original source. */ + +void Unwind_1400f8780(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8790.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8790.c new file mode 100644 index 00000000..694c06c9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8790.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8790 Unwind@1400f8790 + * Pseudocode, not original source. */ + +void Unwind_1400f8790(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x160) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f87a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f87a0.c new file mode 100644 index 00000000..b3583fe2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f87a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f87a0 Unwind@1400f87a0 + * Pseudocode, not original source. */ + +void Unwind_1400f87a0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f87b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f87b0.c new file mode 100644 index 00000000..86d0deeb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f87b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f87b0 Unwind@1400f87b0 + * Pseudocode, not original source. */ + +void Unwind_1400f87b0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x160) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f87c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f87c0.c new file mode 100644 index 00000000..b2fb6017 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f87c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f87c0 Unwind@1400f87c0 + * Pseudocode, not original source. */ + +void Unwind_1400f87c0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f87d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f87d0.c new file mode 100644 index 00000000..fa0dd0ad --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f87d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f87d0 Unwind@1400f87d0 + * Pseudocode, not original source. */ + +void Unwind_1400f87d0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x160) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f87e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f87e0.c new file mode 100644 index 00000000..b79eb504 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f87e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f87e0 Unwind@1400f87e0 + * Pseudocode, not original source. */ + +void Unwind_1400f87e0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f87f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f87f0.c new file mode 100644 index 00000000..245ac3d5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f87f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f87f0 Unwind@1400f87f0 + * Pseudocode, not original source. */ + +void Unwind_1400f87f0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x160) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8800.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8800.c new file mode 100644 index 00000000..456962cf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8800.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8800 Unwind@1400f8800 + * Pseudocode, not original source. */ + +void Unwind_1400f8800(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8810.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8810.c new file mode 100644 index 00000000..229712d2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8810.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8810 Unwind@1400f8810 + * Pseudocode, not original source. */ + +void Unwind_1400f8810(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x160) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8820.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8820.c new file mode 100644 index 00000000..daa1a69f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8820.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8820 Unwind@1400f8820 + * Pseudocode, not original source. */ + +void Unwind_1400f8820(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8830.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8830.c new file mode 100644 index 00000000..afe610f0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8830.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8830 Unwind@1400f8830 + * Pseudocode, not original source. */ + +void Unwind_1400f8830(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x160) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8840.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8840.c new file mode 100644 index 00000000..f77432d9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8840.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8840 Unwind@1400f8840 + * Pseudocode, not original source. */ + +void Unwind_1400f8840(undefined8 param_1,longlong param_2) + +{ + FUN_140076940(param_2 + 0x80); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8850.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8850.c new file mode 100644 index 00000000..466ec4fa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8850.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8850 Unwind@1400f8850 + * Pseudocode, not original source. */ + +void Unwind_1400f8850(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x170) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8860.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8860.c new file mode 100644 index 00000000..c090a93c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8860.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8860 Unwind@1400f8860 + * Pseudocode, not original source. */ + +void Unwind_1400f8860(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8870.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8870.c new file mode 100644 index 00000000..bf9dea37 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8870.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8870 Catch_All@1400f8870 + * Pseudocode, not original source. */ + +undefined8 Catch_All_1400f8870(void) + +{ + return 0x140094c33; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8890.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8890.c new file mode 100644 index 00000000..6ad27f3c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8890.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8890 Unwind@1400f8890 + * Pseudocode, not original source. */ + +void Unwind_1400f8890(undefined8 param_1,longlong param_2) + +{ + FUN_140094810(*(undefined8 **)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f88a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f88a0.c new file mode 100644 index 00000000..ef8251d0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f88a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f88a0 Unwind@1400f88a0 + * Pseudocode, not original source. */ + +void Unwind_1400f88a0(undefined8 param_1,longlong param_2) + +{ + FUN_140094810(*(undefined8 **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f88b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f88b0.c new file mode 100644 index 00000000..e9f17c20 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f88b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f88b0 Unwind@1400f88b0 + * Pseudocode, not original source. */ + +void Unwind_1400f88b0(undefined8 param_1,longlong param_2) + +{ + FUN_140094c20((char *)(*(longlong *)(param_2 + 0x40) + 0x18)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f88c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f88c0.c new file mode 100644 index 00000000..6904ae15 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f88c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f88c0 Unwind@1400f88c0 + * Pseudocode, not original source. */ + +void Unwind_1400f88c0(undefined8 param_1,longlong param_2) + +{ + FUN_140093d10((longlong *)(*(longlong *)(param_2 + 0x40) + 0x70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f88d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f88d0.c new file mode 100644 index 00000000..0e93157c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f88d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f88d0 Catch@1400f88d0 + * Pseudocode, not original source. */ + +undefined * Catch_1400f88d0(undefined8 param_1,longlong param_2) + +{ + (**(code **)(**(longlong **)(param_2 + 0x28) + 8))(); + return &DAT_1400957b0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8900.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8900.c new file mode 100644 index 00000000..48ec9a65 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8900.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8900 Unwind@1400f8900 + * Pseudocode, not original source. */ + +void Unwind_1400f8900(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8910.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8910.c new file mode 100644 index 00000000..ee2365ba --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8910.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8910 Catch@1400f8910 + * Pseudocode, not original source. */ + +undefined * Catch_1400f8910(undefined8 param_1,longlong param_2) + +{ + (**(code **)(**(longlong **)(param_2 + 0x48) + 8))(); + return &DAT_140095a38; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8940.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8940.c new file mode 100644 index 00000000..c619a66c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8940.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8940 Unwind@1400f8940 + * Pseudocode, not original source. */ + +void Unwind_1400f8940(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8950.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8950.c new file mode 100644 index 00000000..e248c4a7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8950.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8950 Unwind@1400f8950 + * Pseudocode, not original source. */ + +void Unwind_1400f8950(void) + +{ + DAT_140179480 = DAT_140179480 & 0xfffffffe; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8970.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8970.c new file mode 100644 index 00000000..49091c02 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8970.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8970 Unwind@1400f8970 + * Pseudocode, not original source. */ + +void Unwind_1400f8970(undefined8 param_1,longlong param_2) + +{ + FUN_140095bd0((longlong *)(param_2 + 0x108)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8980.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8980.c new file mode 100644 index 00000000..f7a58100 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8980.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8980 Unwind@1400f8980 + * Pseudocode, not original source. */ + +void Unwind_1400f8980(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x58),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8990.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8990.c new file mode 100644 index 00000000..beddb1c8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8990.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8990 Unwind@1400f8990 + * Pseudocode, not original source. */ + +void Unwind_1400f8990(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x78)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f89a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f89a0.c new file mode 100644 index 00000000..848be881 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f89a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f89a0 Unwind@1400f89a0 + * Pseudocode, not original source. */ + +void Unwind_1400f89a0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 0x50),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f89b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f89b0.c new file mode 100644 index 00000000..2886c1f0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f89b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f89b0 Unwind@1400f89b0 + * Pseudocode, not original source. */ + +void Unwind_1400f89b0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f89c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f89c0.c new file mode 100644 index 00000000..9118b831 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f89c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f89c0 Unwind@1400f89c0 + * Pseudocode, not original source. */ + +void Unwind_1400f89c0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f89d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f89d0.c new file mode 100644 index 00000000..e089eb85 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f89d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f89d0 Unwind@1400f89d0 + * Pseudocode, not original source. */ + +void Unwind_1400f89d0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x58),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f89e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f89e0.c new file mode 100644 index 00000000..fac5b60e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f89e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f89e0 Unwind@1400f89e0 + * Pseudocode, not original source. */ + +void Unwind_1400f89e0(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x78)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f89f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f89f0.c new file mode 100644 index 00000000..18ad1598 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f89f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f89f0 Unwind@1400f89f0 + * Pseudocode, not original source. */ + +void Unwind_1400f89f0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 0x50),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8a00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8a00.c new file mode 100644 index 00000000..39437061 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8a00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8a00 Unwind@1400f8a00 + * Pseudocode, not original source. */ + +void Unwind_1400f8a00(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8a10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8a10.c new file mode 100644 index 00000000..893c4d64 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8a10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8a10 Unwind@1400f8a10 + * Pseudocode, not original source. */ + +void Unwind_1400f8a10(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8a20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8a20.c new file mode 100644 index 00000000..5ad5cde9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8a20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8a20 Unwind@1400f8a20 + * Pseudocode, not original source. */ + +void Unwind_1400f8a20(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x58),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8a30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8a30.c new file mode 100644 index 00000000..605c9c7e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8a30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8a30 Unwind@1400f8a30 + * Pseudocode, not original source. */ + +void Unwind_1400f8a30(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x78)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8a40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8a40.c new file mode 100644 index 00000000..508353c2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8a40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8a40 Unwind@1400f8a40 + * Pseudocode, not original source. */ + +void Unwind_1400f8a40(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 0x50),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8a50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8a50.c new file mode 100644 index 00000000..7033640c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8a50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8a50 Unwind@1400f8a50 + * Pseudocode, not original source. */ + +void Unwind_1400f8a50(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8a60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8a60.c new file mode 100644 index 00000000..b3d96aae --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8a60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8a60 Unwind@1400f8a60 + * Pseudocode, not original source. */ + +void Unwind_1400f8a60(undefined8 param_1,longlong param_2) + +{ + FUN_140051280((char *)(*(longlong *)(param_2 + 0x70) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8a70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8a70.c new file mode 100644 index 00000000..8352b1e4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8a70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8a70 Unwind@1400f8a70 + * Pseudocode, not original source. */ + +void Unwind_1400f8a70(undefined8 param_1,longlong param_2) + +{ + FUN_14004b660((undefined8 *)(*(longlong *)(param_2 + 0x70) + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8a80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8a80.c new file mode 100644 index 00000000..2b9fb37e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8a80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8a80 Unwind@1400f8a80 + * Pseudocode, not original source. */ + +void Unwind_1400f8a80(undefined8 param_1,longlong param_2) + +{ + FUN_14004d000((undefined8 *)(*(longlong *)(param_2 + 0x70) + 200)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8aa0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8aa0.c new file mode 100644 index 00000000..db66c9bc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8aa0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8aa0 Unwind@1400f8aa0 + * Pseudocode, not original source. */ + +void Unwind_1400f8aa0(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_14003e8b0(*(LPVOID *)(param_2 + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8ac0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8ac0.c new file mode 100644 index 00000000..ba9ad29c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8ac0.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8ac0 Unwind@1400f8ac0 + * Pseudocode, not original source. */ + +void Unwind_1400f8ac0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + if ((*(uint *)(param_2 + 0x60) & 1) != 0) { + *(uint *)(param_2 + 0x60) = *(uint *)(param_2 + 0x60) & 0xfffffffe; + FUN_140064260(*(longlong **)(param_2 + 0x58),param_2,param_3,param_4); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8af0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8af0.c new file mode 100644 index 00000000..f57d412b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8af0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8af0 Unwind@1400f8af0 + * Pseudocode, not original source. */ + +void Unwind_1400f8af0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x20); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8b00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8b00.c new file mode 100644 index 00000000..3a32dd61 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8b00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8b00 Unwind@1400f8b00 + * Pseudocode, not original source. */ + +void Unwind_1400f8b00(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0xf8) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8b10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8b10.c new file mode 100644 index 00000000..09cada7b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8b10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8b10 Unwind@1400f8b10 + * Pseudocode, not original source. */ + +void Unwind_1400f8b10(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0xf8) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8b20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8b20.c new file mode 100644 index 00000000..93284a52 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8b20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8b20 Unwind@1400f8b20 + * Pseudocode, not original source. */ + +void Unwind_1400f8b20(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0xf8) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8b30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8b30.c new file mode 100644 index 00000000..57e72974 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8b30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8b30 Unwind@1400f8b30 + * Pseudocode, not original source. */ + +void Unwind_1400f8b30(undefined8 param_1,longlong param_2) + +{ + FUN_140076940(*(longlong *)(param_2 + 0x40) + 8); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8b40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8b40.c new file mode 100644 index 00000000..8717aafa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8b40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8b40 Unwind@1400f8b40 + * Pseudocode, not original source. */ + +void Unwind_1400f8b40(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x40) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8b50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8b50.c new file mode 100644 index 00000000..11a182e0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8b50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8b50 Unwind@1400f8b50 + * Pseudocode, not original source. */ + +void Unwind_1400f8b50(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8b70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8b70.c new file mode 100644 index 00000000..da74aa1e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8b70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8b70 Unwind@1400f8b70 + * Pseudocode, not original source. */ + +void Unwind_1400f8b70(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8b80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8b80.c new file mode 100644 index 00000000..ac3c475d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8b80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8b80 Unwind@1400f8b80 + * Pseudocode, not original source. */ + +void Unwind_1400f8b80(undefined8 param_1,longlong param_2) + +{ + FUN_140076940(*(longlong *)(param_2 + 0x50) + 8); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8b90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8b90.c new file mode 100644 index 00000000..eabf407f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8b90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8b90 Unwind@1400f8b90 + * Pseudocode, not original source. */ + +void Unwind_1400f8b90(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x50) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8ba0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8ba0.c new file mode 100644 index 00000000..2cadba4a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8ba0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8ba0 Unwind@1400f8ba0 + * Pseudocode, not original source. */ + +void Unwind_1400f8ba0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8bb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8bb0.c new file mode 100644 index 00000000..f79bad79 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8bb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8bb0 Unwind@1400f8bb0 + * Pseudocode, not original source. */ + +void Unwind_1400f8bb0(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_14007a840((longlong *)(*(longlong *)(param_2 + 0x40) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8bc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8bc0.c new file mode 100644 index 00000000..3973e54d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8bc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8bc0 Unwind@1400f8bc0 + * Pseudocode, not original source. */ + +void Unwind_1400f8bc0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0xd50,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8bd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8bd0.c new file mode 100644 index 00000000..fc55cd9f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8bd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8bd0 Unwind@1400f8bd0 + * Pseudocode, not original source. */ + +void Unwind_1400f8bd0(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0x19d0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8bf0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8bf0.c new file mode 100644 index 00000000..b537f58b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8bf0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8bf0 Unwind@1400f8bf0 + * Pseudocode, not original source. */ + +void Unwind_1400f8bf0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0xc0,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8c00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8c00.c new file mode 100644 index 00000000..1f17777b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8c00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8c00 Unwind@1400f8c00 + * Pseudocode, not original source. */ + +void Unwind_1400f8c00(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0xd40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8c20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8c20.c new file mode 100644 index 00000000..682cee42 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8c20.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8c20 Unwind@1400f8c20 + * Pseudocode, not original source. */ + +void Unwind_1400f8c20(undefined8 param_1,longlong param_2) + +{ + if ((*(uint *)(param_2 + 0x80) & 1) != 0) { + *(uint *)(param_2 + 0x80) = *(uint *)(param_2 + 0x80) & 0xfffffffe; + FUN_14002a3e0(*(longlong **)(param_2 + 0x88)); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8c50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8c50.c new file mode 100644 index 00000000..325131a4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8c50.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8c50 Unwind@1400f8c50 + * Pseudocode, not original source. */ + +void Unwind_1400f8c50(undefined8 param_1,longlong param_2) + +{ + if ((*(uint *)(param_2 + 0x50) & 1) != 0) { + *(uint *)(param_2 + 0x50) = *(uint *)(param_2 + 0x50) & 0xfffffffe; + FUN_14005b0a0(*(longlong **)(param_2 + 0x58)); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8c80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8c80.c new file mode 100644 index 00000000..3ce7a8c2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8c80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8c80 Unwind@1400f8c80 + * Pseudocode, not original source. */ + +void Unwind_1400f8c80(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3e0((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8c90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8c90.c new file mode 100644 index 00000000..55beca79 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8c90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8c90 Unwind@1400f8c90 + * Pseudocode, not original source. */ + +void Unwind_1400f8c90(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8ca0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8ca0.c new file mode 100644 index 00000000..bd468445 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8ca0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8ca0 Unwind@1400f8ca0 + * Pseudocode, not original source. */ + +void Unwind_1400f8ca0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3e0((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8cb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8cb0.c new file mode 100644 index 00000000..2edd5c3d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8cb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8cb0 Unwind@1400f8cb0 + * Pseudocode, not original source. */ + +void Unwind_1400f8cb0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8cc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8cc0.c new file mode 100644 index 00000000..0e86f5ad --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8cc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8cc0 Unwind@1400f8cc0 + * Pseudocode, not original source. */ + +void Unwind_1400f8cc0(undefined8 param_1,longlong param_2) + +{ + FUN_14005b0a0((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8cd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8cd0.c new file mode 100644 index 00000000..a96068be --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8cd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8cd0 Unwind@1400f8cd0 + * Pseudocode, not original source. */ + +void Unwind_1400f8cd0(undefined8 param_1,longlong param_2) + +{ + FUN_14005b0a0((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8ce0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8ce0.c new file mode 100644 index 00000000..acc795b8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8ce0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8ce0 Unwind@1400f8ce0 + * Pseudocode, not original source. */ + +void Unwind_1400f8ce0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003d110(*(undefined4 **)(param_2 + 0x50),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8cf0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8cf0.c new file mode 100644 index 00000000..a97bfbeb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8cf0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8cf0 Unwind@1400f8cf0 + * Pseudocode, not original source. */ + +void Unwind_1400f8cf0(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_14009af00((longlong *)(*(longlong *)(param_2 + 0x50) + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8d00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8d00.c new file mode 100644 index 00000000..8aee401b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8d00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8d00 Unwind@1400f8d00 + * Pseudocode, not original source. */ + +void Unwind_1400f8d00(undefined8 param_1,longlong param_2) + +{ + FUN_14005d6a0((undefined8 *)(*(longlong *)(param_2 + 0x50) + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8d10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8d10.c new file mode 100644 index 00000000..b4381203 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8d10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8d10 Unwind@1400f8d10 + * Pseudocode, not original source. */ + +void Unwind_1400f8d10(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8d20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8d20.c new file mode 100644 index 00000000..484b42e9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8d20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8d20 Unwind@1400f8d20 + * Pseudocode, not original source. */ + +void Unwind_1400f8d20(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003d110(*(undefined4 **)(param_2 + 0x70),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8d30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8d30.c new file mode 100644 index 00000000..82e6cdc6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8d30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8d30 Unwind@1400f8d30 + * Pseudocode, not original source. */ + +void Unwind_1400f8d30(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_14009af00((longlong *)(*(longlong *)(param_2 + 0x70) + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8d40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8d40.c new file mode 100644 index 00000000..38685585 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8d40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8d40 Unwind@1400f8d40 + * Pseudocode, not original source. */ + +void Unwind_1400f8d40(undefined8 param_1,longlong param_2) + +{ + FUN_14005d6a0((undefined8 *)(*(longlong *)(param_2 + 0x70) + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8d50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8d50.c new file mode 100644 index 00000000..cc9dcbb4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8d50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8d50 Unwind@1400f8d50 + * Pseudocode, not original source. */ + +void Unwind_1400f8d50(undefined8 param_1,longlong param_2) + +{ + operator_delete(*(void **)(param_2 + 0x80)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8d60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8d60.c new file mode 100644 index 00000000..580f7ffc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8d60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8d60 Unwind@1400f8d60 + * Pseudocode, not original source. */ + +void Unwind_1400f8d60(undefined8 param_1,longlong param_2) + +{ + FUN_140051940((longlong *)(param_2 + 0x80)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8d70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8d70.c new file mode 100644 index 00000000..6748fa0b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8d70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8d70 Unwind@1400f8d70 + * Pseudocode, not original source. */ + +void Unwind_1400f8d70(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8d80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8d80.c new file mode 100644 index 00000000..4987fab0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8d80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8d80 Unwind@1400f8d80 + * Pseudocode, not original source. */ + +void Unwind_1400f8d80(undefined8 param_1,longlong param_2) + +{ + operator_delete(*(void **)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8d90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8d90.c new file mode 100644 index 00000000..468e4645 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8d90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8d90 Unwind@1400f8d90 + * Pseudocode, not original source. */ + +void Unwind_1400f8d90(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8da0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8da0.c new file mode 100644 index 00000000..dfea59dc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8da0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8da0 Unwind@1400f8da0 + * Pseudocode, not original source. */ + +void Unwind_1400f8da0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(*(longlong *)(param_2 + 0x38),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8db0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8db0.c new file mode 100644 index 00000000..f9a09608 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8db0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8db0 Unwind@1400f8db0 + * Pseudocode, not original source. */ + +void Unwind_1400f8db0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8dc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8dc0.c new file mode 100644 index 00000000..b04caac0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8dc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8dc0 Unwind@1400f8dc0 + * Pseudocode, not original source. */ + +void Unwind_1400f8dc0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003d110(*(undefined4 **)(param_2 + 0x50),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8dd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8dd0.c new file mode 100644 index 00000000..588bb00a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8dd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8dd0 Unwind@1400f8dd0 + * Pseudocode, not original source. */ + +void Unwind_1400f8dd0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8de0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8de0.c new file mode 100644 index 00000000..eee62f06 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8de0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8de0 Unwind@1400f8de0 + * Pseudocode, not original source. */ + +void Unwind_1400f8de0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8df0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8df0.c new file mode 100644 index 00000000..a65f1ca2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8df0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8df0 Unwind@1400f8df0 + * Pseudocode, not original source. */ + +void Unwind_1400f8df0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003d110(*(undefined4 **)(param_2 + 0x80),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8e00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8e00.c new file mode 100644 index 00000000..c536b8c3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8e00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8e00 Unwind@1400f8e00 + * Pseudocode, not original source. */ + +void Unwind_1400f8e00(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8e10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8e10.c new file mode 100644 index 00000000..8d001a27 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8e10.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8e10 Unwind@1400f8e10 + * Pseudocode, not original source. */ + +void Unwind_1400f8e10(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + if ((*(uint *)(param_2 + 0x60) & 1) != 0) { + *(uint *)(param_2 + 0x60) = *(uint *)(param_2 + 0x60) & 0xfffffffe; + thunk_FUN_140002190(*(longlong **)(param_2 + 0x68),param_2,param_3,param_4); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8e40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8e40.c new file mode 100644 index 00000000..714c3ac7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8e40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8e40 Unwind@1400f8e40 + * Pseudocode, not original source. */ + +void Unwind_1400f8e40(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0xb8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8e50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8e50.c new file mode 100644 index 00000000..444d1108 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8e50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8e50 Unwind@1400f8e50 + * Pseudocode, not original source. */ + +void Unwind_1400f8e50(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x2a0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8e60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8e60.c new file mode 100644 index 00000000..54cadb62 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8e60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8e60 Unwind@1400f8e60 + * Pseudocode, not original source. */ + +void Unwind_1400f8e60(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x2d8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8e70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8e70.c new file mode 100644 index 00000000..5049942a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8e70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8e70 Unwind@1400f8e70 + * Pseudocode, not original source. */ + +void Unwind_1400f8e70(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x98),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8e80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8e80.c new file mode 100644 index 00000000..f00e94b5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8e80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8e80 Unwind@1400f8e80 + * Pseudocode, not original source. */ + +void Unwind_1400f8e80(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x2c8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8e90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8e90.c new file mode 100644 index 00000000..29996d6f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8e90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8e90 Unwind@1400f8e90 + * Pseudocode, not original source. */ + +void Unwind_1400f8e90(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x440)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8ea0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8ea0.c new file mode 100644 index 00000000..0c9d560f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8ea0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8ea0 Unwind@1400f8ea0 + * Pseudocode, not original source. */ + +void Unwind_1400f8ea0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x170)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8eb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8eb0.c new file mode 100644 index 00000000..9c35b7ea --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8eb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8eb0 Unwind@1400f8eb0 + * Pseudocode, not original source. */ + +void Unwind_1400f8eb0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x440)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8ec0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8ec0.c new file mode 100644 index 00000000..9ad64ce9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8ec0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8ec0 Unwind@1400f8ec0 + * Pseudocode, not original source. */ + +void Unwind_1400f8ec0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x440)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8ed0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8ed0.c new file mode 100644 index 00000000..085e9433 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8ed0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8ed0 Unwind@1400f8ed0 + * Pseudocode, not original source. */ + +void Unwind_1400f8ed0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x90),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8ee0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8ee0.c new file mode 100644 index 00000000..5e7f4eaa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8ee0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8ee0 Unwind@1400f8ee0 + * Pseudocode, not original source. */ + +void Unwind_1400f8ee0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x440)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8ef0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8ef0.c new file mode 100644 index 00000000..e5a8a9db --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8ef0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8ef0 Unwind@1400f8ef0 + * Pseudocode, not original source. */ + +void Unwind_1400f8ef0(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0xb8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8f00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8f00.c new file mode 100644 index 00000000..3ebc233b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8f00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8f00 Unwind@1400f8f00 + * Pseudocode, not original source. */ + +void Unwind_1400f8f00(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x98),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8f10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8f10.c new file mode 100644 index 00000000..8e434d29 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8f10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8f10 Unwind@1400f8f10 + * Pseudocode, not original source. */ + +void Unwind_1400f8f10(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x2d0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8f20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8f20.c new file mode 100644 index 00000000..9ca458ad --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8f20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8f20 Unwind@1400f8f20 + * Pseudocode, not original source. */ + +void Unwind_1400f8f20(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x440)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8f30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8f30.c new file mode 100644 index 00000000..476ec585 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8f30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8f30 Unwind@1400f8f30 + * Pseudocode, not original source. */ + +void Unwind_1400f8f30(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x170)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8f40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8f40.c new file mode 100644 index 00000000..7d4ca315 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8f40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8f40 Unwind@1400f8f40 + * Pseudocode, not original source. */ + +void Unwind_1400f8f40(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x440)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8f50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8f50.c new file mode 100644 index 00000000..6f05355c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8f50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8f50 Unwind@1400f8f50 + * Pseudocode, not original source. */ + +void Unwind_1400f8f50(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x440)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8f60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8f60.c new file mode 100644 index 00000000..8535b2f2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8f60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8f60 Unwind@1400f8f60 + * Pseudocode, not original source. */ + +void Unwind_1400f8f60(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x90),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8f70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8f70.c new file mode 100644 index 00000000..e663bf88 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8f70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8f70 Unwind@1400f8f70 + * Pseudocode, not original source. */ + +void Unwind_1400f8f70(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x440)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8f80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8f80.c new file mode 100644 index 00000000..563437b0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8f80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8f80 Unwind@1400f8f80 + * Pseudocode, not original source. */ + +void Unwind_1400f8f80(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x80),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8f90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8f90.c new file mode 100644 index 00000000..975cedb7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8f90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8f90 Unwind@1400f8f90 + * Pseudocode, not original source. */ + +void Unwind_1400f8f90(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x90),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8fa0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8fa0.c new file mode 100644 index 00000000..bbf17e28 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8fa0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8fa0 Unwind@1400f8fa0 + * Pseudocode, not original source. */ + +void Unwind_1400f8fa0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x98)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8fb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8fb0.c new file mode 100644 index 00000000..3c86ad48 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8fb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8fb0 Unwind@1400f8fb0 + * Pseudocode, not original source. */ + +void Unwind_1400f8fb0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x90),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8fc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8fc0.c new file mode 100644 index 00000000..d6c067f2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8fc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8fc0 Unwind@1400f8fc0 + * Pseudocode, not original source. */ + +void Unwind_1400f8fc0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x98)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8fd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8fd0.c new file mode 100644 index 00000000..9ef6235b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8fd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8fd0 Unwind@1400f8fd0 + * Pseudocode, not original source. */ + +void Unwind_1400f8fd0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x90),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8fe0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8fe0.c new file mode 100644 index 00000000..d560fa58 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8fe0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8fe0 Unwind@1400f8fe0 + * Pseudocode, not original source. */ + +void Unwind_1400f8fe0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x98)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f8ff0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f8ff0.c new file mode 100644 index 00000000..ba7c3060 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f8ff0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f8ff0 Unwind@1400f8ff0 + * Pseudocode, not original source. */ + +void Unwind_1400f8ff0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x370),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9000.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9000.c new file mode 100644 index 00000000..f0b46efd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9000.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9000 Unwind@1400f9000 + * Pseudocode, not original source. */ + +void Unwind_1400f9000(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x90),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9010.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9010.c new file mode 100644 index 00000000..52b3388e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9010.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9010 Unwind@1400f9010 + * Pseudocode, not original source. */ + +void Unwind_1400f9010(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x80),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9020.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9020.c new file mode 100644 index 00000000..6950060d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9020.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9020 Unwind@1400f9020 + * Pseudocode, not original source. */ + +void Unwind_1400f9020(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x380),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9030.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9030.c new file mode 100644 index 00000000..77b03c5f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9030.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9030 Unwind@1400f9030 + * Pseudocode, not original source. */ + +void Unwind_1400f9030(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x90),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9040.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9040.c new file mode 100644 index 00000000..6e87dafb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9040.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9040 Unwind@1400f9040 + * Pseudocode, not original source. */ + +void Unwind_1400f9040(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0xe8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9050.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9050.c new file mode 100644 index 00000000..a98c949c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9050.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9050 Unwind@1400f9050 + * Pseudocode, not original source. */ + +void Unwind_1400f9050(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x378),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9060.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9060.c new file mode 100644 index 00000000..80eb3fd7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9060.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9060 Unwind@1400f9060 + * Pseudocode, not original source. */ + +void Unwind_1400f9060(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x90),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9070.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9070.c new file mode 100644 index 00000000..5347e7c1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9070.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9070 Unwind@1400f9070 + * Pseudocode, not original source. */ + +void Unwind_1400f9070(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0xe8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9080.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9080.c new file mode 100644 index 00000000..afaba4f0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9080.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9080 Unwind@1400f9080 + * Pseudocode, not original source. */ + +void Unwind_1400f9080(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x340),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9090.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9090.c new file mode 100644 index 00000000..807fedfb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9090.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9090 Unwind@1400f9090 + * Pseudocode, not original source. */ + +void Unwind_1400f9090(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x90),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f90a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f90a0.c new file mode 100644 index 00000000..216c6bb7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f90a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f90a0 Unwind@1400f90a0 + * Pseudocode, not original source. */ + +void Unwind_1400f90a0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0xe8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f90b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f90b0.c new file mode 100644 index 00000000..345761f4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f90b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f90b0 Unwind@1400f90b0 + * Pseudocode, not original source. */ + +void Unwind_1400f90b0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x350),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f90c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f90c0.c new file mode 100644 index 00000000..e62c7d64 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f90c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f90c0 Unwind@1400f90c0 + * Pseudocode, not original source. */ + +void Unwind_1400f90c0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x90),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f90d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f90d0.c new file mode 100644 index 00000000..0a457272 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f90d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f90d0 Unwind@1400f90d0 + * Pseudocode, not original source. */ + +void Unwind_1400f90d0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x78),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f90e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f90e0.c new file mode 100644 index 00000000..840813b3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f90e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f90e0 Unwind@1400f90e0 + * Pseudocode, not original source. */ + +void Unwind_1400f90e0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x360),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f90f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f90f0.c new file mode 100644 index 00000000..506fc2d5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f90f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f90f0 Unwind@1400f90f0 + * Pseudocode, not original source. */ + +void Unwind_1400f90f0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x90),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9100.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9100.c new file mode 100644 index 00000000..7f3b14cd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9100.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9100 Unwind@1400f9100 + * Pseudocode, not original source. */ + +void Unwind_1400f9100(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x78),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9110.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9110.c new file mode 100644 index 00000000..f7f8a622 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9110.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9110 Unwind@1400f9110 + * Pseudocode, not original source. */ + +void Unwind_1400f9110(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x348),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9120.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9120.c new file mode 100644 index 00000000..5ae2c259 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9120.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9120 Unwind@1400f9120 + * Pseudocode, not original source. */ + +void Unwind_1400f9120(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x90),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9130.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9130.c new file mode 100644 index 00000000..68c1d212 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9130.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9130 Unwind@1400f9130 + * Pseudocode, not original source. */ + +void Unwind_1400f9130(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x78),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9140.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9140.c new file mode 100644 index 00000000..29d517d5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9140.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9140 Unwind@1400f9140 + * Pseudocode, not original source. */ + +void Unwind_1400f9140(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x318),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9150.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9150.c new file mode 100644 index 00000000..4a4b4de8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9150.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9150 Unwind@1400f9150 + * Pseudocode, not original source. */ + +void Unwind_1400f9150(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x90),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9160.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9160.c new file mode 100644 index 00000000..93c83f9e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9160.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9160 Unwind@1400f9160 + * Pseudocode, not original source. */ + +void Unwind_1400f9160(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x78),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9170.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9170.c new file mode 100644 index 00000000..33098a97 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9170.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9170 Unwind@1400f9170 + * Pseudocode, not original source. */ + +void Unwind_1400f9170(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x368),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9180.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9180.c new file mode 100644 index 00000000..df0dd2ea --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9180.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9180 Unwind@1400f9180 + * Pseudocode, not original source. */ + +void Unwind_1400f9180(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x90),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9190.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9190.c new file mode 100644 index 00000000..d5b047d1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9190.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9190 Unwind@1400f9190 + * Pseudocode, not original source. */ + +void Unwind_1400f9190(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x78),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f91a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f91a0.c new file mode 100644 index 00000000..b0d0a8f5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f91a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f91a0 Unwind@1400f91a0 + * Pseudocode, not original source. */ + +void Unwind_1400f91a0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x328),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f91b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f91b0.c new file mode 100644 index 00000000..8731c800 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f91b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f91b0 Unwind@1400f91b0 + * Pseudocode, not original source. */ + +void Unwind_1400f91b0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x90),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f91c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f91c0.c new file mode 100644 index 00000000..ab29571d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f91c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f91c0 Unwind@1400f91c0 + * Pseudocode, not original source. */ + +void Unwind_1400f91c0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x78),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f91d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f91d0.c new file mode 100644 index 00000000..3a50ed0f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f91d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f91d0 Unwind@1400f91d0 + * Pseudocode, not original source. */ + +void Unwind_1400f91d0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x358),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f91e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f91e0.c new file mode 100644 index 00000000..2c87a731 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f91e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f91e0 Unwind@1400f91e0 + * Pseudocode, not original source. */ + +void Unwind_1400f91e0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x90),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f91f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f91f0.c new file mode 100644 index 00000000..1f4a41ce --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f91f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f91f0 Unwind@1400f91f0 + * Pseudocode, not original source. */ + +void Unwind_1400f91f0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x78),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9200.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9200.c new file mode 100644 index 00000000..44cb5fb7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9200.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9200 Unwind@1400f9200 + * Pseudocode, not original source. */ + +void Unwind_1400f9200(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x338),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9210.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9210.c new file mode 100644 index 00000000..1f6d0b77 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9210.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9210 Unwind@1400f9210 + * Pseudocode, not original source. */ + +void Unwind_1400f9210(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x90),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9220.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9220.c new file mode 100644 index 00000000..0d834225 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9220.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9220 Unwind@1400f9220 + * Pseudocode, not original source. */ + +void Unwind_1400f9220(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x80),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9230.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9230.c new file mode 100644 index 00000000..027f776c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9230.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9230 Unwind@1400f9230 + * Pseudocode, not original source. */ + +void Unwind_1400f9230(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x300),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9240.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9240.c new file mode 100644 index 00000000..d31eca4e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9240.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9240 Unwind@1400f9240 + * Pseudocode, not original source. */ + +void Unwind_1400f9240(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x90),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9250.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9250.c new file mode 100644 index 00000000..879568ed --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9250.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9250 Unwind@1400f9250 + * Pseudocode, not original source. */ + +void Unwind_1400f9250(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x80),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9260.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9260.c new file mode 100644 index 00000000..35f0d0b4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9260.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9260 Unwind@1400f9260 + * Pseudocode, not original source. */ + +void Unwind_1400f9260(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x308),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9270.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9270.c new file mode 100644 index 00000000..9fc86cc3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9270.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9270 Unwind@1400f9270 + * Pseudocode, not original source. */ + +void Unwind_1400f9270(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x90),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9280.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9280.c new file mode 100644 index 00000000..d241a130 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9280.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9280 Unwind@1400f9280 + * Pseudocode, not original source. */ + +void Unwind_1400f9280(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x78),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9290.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9290.c new file mode 100644 index 00000000..b56ab512 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9290.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9290 Unwind@1400f9290 + * Pseudocode, not original source. */ + +void Unwind_1400f9290(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x310),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f92a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f92a0.c new file mode 100644 index 00000000..b50590b2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f92a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f92a0 Unwind@1400f92a0 + * Pseudocode, not original source. */ + +void Unwind_1400f92a0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x90),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f92b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f92b0.c new file mode 100644 index 00000000..dc26faa0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f92b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f92b0 Unwind@1400f92b0 + * Pseudocode, not original source. */ + +void Unwind_1400f92b0(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140006e80((longlong *)(param_2 + 0x420)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f92c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f92c0.c new file mode 100644 index 00000000..22b97cf3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f92c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f92c0 Unwind@1400f92c0 + * Pseudocode, not original source. */ + +void Unwind_1400f92c0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x78),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f92d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f92d0.c new file mode 100644 index 00000000..c6dfe272 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f92d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f92d0 Unwind@1400f92d0 + * Pseudocode, not original source. */ + +void Unwind_1400f92d0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 800),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f92e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f92e0.c new file mode 100644 index 00000000..03f18bb1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f92e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f92e0 Unwind@1400f92e0 + * Pseudocode, not original source. */ + +void Unwind_1400f92e0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x90),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f92f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f92f0.c new file mode 100644 index 00000000..92e6dee3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f92f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f92f0 Unwind@1400f92f0 + * Pseudocode, not original source. */ + +void Unwind_1400f92f0(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140006e80((longlong *)(param_2 + 0x420)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9300.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9300.c new file mode 100644 index 00000000..bb246d69 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9300.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9300 Unwind@1400f9300 + * Pseudocode, not original source. */ + +void Unwind_1400f9300(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x78),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9310.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9310.c new file mode 100644 index 00000000..30f86086 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9310.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9310 Unwind@1400f9310 + * Pseudocode, not original source. */ + +void Unwind_1400f9310(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x330),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9320.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9320.c new file mode 100644 index 00000000..d46db9d2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9320.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9320 Unwind@1400f9320 + * Pseudocode, not original source. */ + +void Unwind_1400f9320(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x90),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9330.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9330.c new file mode 100644 index 00000000..38a92701 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9330.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9330 Unwind@1400f9330 + * Pseudocode, not original source. */ + +void Unwind_1400f9330(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x1b8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9340.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9340.c new file mode 100644 index 00000000..c7ff4c8b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9340.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9340 Unwind@1400f9340 + * Pseudocode, not original source. */ + +void Unwind_1400f9340(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0xe0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9350.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9350.c new file mode 100644 index 00000000..a729f424 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9350.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9350 Unwind@1400f9350 + * Pseudocode, not original source. */ + +void Unwind_1400f9350(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9360.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9360.c new file mode 100644 index 00000000..d64d536f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9360.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9360 Unwind@1400f9360 + * Pseudocode, not original source. */ + +void Unwind_1400f9360(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9370.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9370.c new file mode 100644 index 00000000..1edae3fe --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9370.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9370 Unwind@1400f9370 + * Pseudocode, not original source. */ + +void Unwind_1400f9370(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9380.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9380.c new file mode 100644 index 00000000..bd6ebdab --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9380.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9380 Unwind@1400f9380 + * Pseudocode, not original source. */ + +void Unwind_1400f9380(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9390.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9390.c new file mode 100644 index 00000000..5ff4e911 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9390.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9390 Unwind@1400f9390 + * Pseudocode, not original source. */ + +void Unwind_1400f9390(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x70),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f93a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f93a0.c new file mode 100644 index 00000000..e3ed99ae --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f93a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f93a0 Unwind@1400f93a0 + * Pseudocode, not original source. */ + +void Unwind_1400f93a0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f93b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f93b0.c new file mode 100644 index 00000000..1e4faf62 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f93b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f93b0 Unwind@1400f93b0 + * Pseudocode, not original source. */ + +void Unwind_1400f93b0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f93c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f93c0.c new file mode 100644 index 00000000..5ca2129e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f93c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f93c0 Unwind@1400f93c0 + * Pseudocode, not original source. */ + +void Unwind_1400f93c0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0xd8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f93d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f93d0.c new file mode 100644 index 00000000..db5bdc89 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f93d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f93d0 Unwind@1400f93d0 + * Pseudocode, not original source. */ + +void Unwind_1400f93d0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f93e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f93e0.c new file mode 100644 index 00000000..1fd83b2d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f93e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f93e0 Unwind@1400f93e0 + * Pseudocode, not original source. */ + +void Unwind_1400f93e0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f93f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f93f0.c new file mode 100644 index 00000000..fecb321a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f93f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f93f0 Unwind@1400f93f0 + * Pseudocode, not original source. */ + +void Unwind_1400f93f0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9400.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9400.c new file mode 100644 index 00000000..4c62b244 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9400.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9400 Unwind@1400f9400 + * Pseudocode, not original source. */ + +void Unwind_1400f9400(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9410.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9410.c new file mode 100644 index 00000000..56dc6908 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9410.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9410 Unwind@1400f9410 + * Pseudocode, not original source. */ + +void Unwind_1400f9410(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x70),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9420.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9420.c new file mode 100644 index 00000000..f548a9b0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9420.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9420 Unwind@1400f9420 + * Pseudocode, not original source. */ + +void Unwind_1400f9420(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9430.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9430.c new file mode 100644 index 00000000..f1d4ab4d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9430.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9430 Unwind@1400f9430 + * Pseudocode, not original source. */ + +void Unwind_1400f9430(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9440.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9440.c new file mode 100644 index 00000000..111819ef --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9440.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9440 Unwind@1400f9440 + * Pseudocode, not original source. */ + +void Unwind_1400f9440(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0xe8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9450.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9450.c new file mode 100644 index 00000000..7f4e04f5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9450.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9450 Unwind@1400f9450 + * Pseudocode, not original source. */ + +void Unwind_1400f9450(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9460.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9460.c new file mode 100644 index 00000000..762ef4a4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9460.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9460 Unwind@1400f9460 + * Pseudocode, not original source. */ + +void Unwind_1400f9460(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9470.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9470.c new file mode 100644 index 00000000..f0403e39 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9470.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9470 Unwind@1400f9470 + * Pseudocode, not original source. */ + +void Unwind_1400f9470(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9480.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9480.c new file mode 100644 index 00000000..b570298b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9480.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9480 Unwind@1400f9480 + * Pseudocode, not original source. */ + +void Unwind_1400f9480(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9490.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9490.c new file mode 100644 index 00000000..593e5382 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9490.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9490 Unwind@1400f9490 + * Pseudocode, not original source. */ + +void Unwind_1400f9490(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x70),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f94a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f94a0.c new file mode 100644 index 00000000..9d41ce2f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f94a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f94a0 Unwind@1400f94a0 + * Pseudocode, not original source. */ + +void Unwind_1400f94a0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f94b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f94b0.c new file mode 100644 index 00000000..4f7264db --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f94b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f94b0 Unwind@1400f94b0 + * Pseudocode, not original source. */ + +void Unwind_1400f94b0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f94c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f94c0.c new file mode 100644 index 00000000..4fe6be61 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f94c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f94c0 Unwind@1400f94c0 + * Pseudocode, not original source. */ + +void Unwind_1400f94c0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0xd0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f94d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f94d0.c new file mode 100644 index 00000000..a80b22c5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f94d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f94d0 Unwind@1400f94d0 + * Pseudocode, not original source. */ + +void Unwind_1400f94d0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f94e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f94e0.c new file mode 100644 index 00000000..0506a9df --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f94e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f94e0 Unwind@1400f94e0 + * Pseudocode, not original source. */ + +void Unwind_1400f94e0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f94f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f94f0.c new file mode 100644 index 00000000..998ad6ca --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f94f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f94f0 Unwind@1400f94f0 + * Pseudocode, not original source. */ + +void Unwind_1400f94f0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9500.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9500.c new file mode 100644 index 00000000..2424ef83 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9500.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9500 Unwind@1400f9500 + * Pseudocode, not original source. */ + +void Unwind_1400f9500(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9510.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9510.c new file mode 100644 index 00000000..50badfe1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9510.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9510 Unwind@1400f9510 + * Pseudocode, not original source. */ + +void Unwind_1400f9510(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x70),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9520.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9520.c new file mode 100644 index 00000000..fc76188f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9520.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9520 Unwind@1400f9520 + * Pseudocode, not original source. */ + +void Unwind_1400f9520(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9530.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9530.c new file mode 100644 index 00000000..66bd42d0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9530.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9530 Unwind@1400f9530 + * Pseudocode, not original source. */ + +void Unwind_1400f9530(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x48); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9540.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9540.c new file mode 100644 index 00000000..e00fb230 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9540.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9540 Unwind@1400f9540 + * Pseudocode, not original source. */ + +void Unwind_1400f9540(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x80) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9550.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9550.c new file mode 100644 index 00000000..776c46b5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9550.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9550 Unwind@1400f9550 + * Pseudocode, not original source. */ + +void Unwind_1400f9550(undefined8 param_1,longlong param_2) + +{ + FUN_1400bfcf0((longlong *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9560.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9560.c new file mode 100644 index 00000000..f7a4804b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9560.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9560 Unwind@1400f9560 + * Pseudocode, not original source. */ + +void Unwind_1400f9560(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x30); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9570.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9570.c new file mode 100644 index 00000000..af031905 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9570.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9570 Unwind@1400f9570 + * Pseudocode, not original source. */ + +void Unwind_1400f9570(undefined8 param_1,longlong param_2) + +{ + FUN_14004de40(param_2 + 0x30); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9580.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9580.c new file mode 100644 index 00000000..8b8a59dc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9580.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9580 Unwind@1400f9580 + * Pseudocode, not original source. */ + +void Unwind_1400f9580(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0xd50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f95a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f95a0.c new file mode 100644 index 00000000..57b9701d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f95a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f95a0 Unwind@1400f95a0 + * Pseudocode, not original source. */ + +void Unwind_1400f95a0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0xd0,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f95b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f95b0.c new file mode 100644 index 00000000..4401c8fe --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f95b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f95b0 Unwind@1400f95b0 + * Pseudocode, not original source. */ + +void Unwind_1400f95b0(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0xd50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f95d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f95d0.c new file mode 100644 index 00000000..389360b3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f95d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f95d0 Unwind@1400f95d0 + * Pseudocode, not original source. */ + +void Unwind_1400f95d0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x20) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f95e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f95e0.c new file mode 100644 index 00000000..810c4c5c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f95e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f95e0 Unwind@1400f95e0 + * Pseudocode, not original source. */ + +void Unwind_1400f95e0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x20); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f95f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f95f0.c new file mode 100644 index 00000000..01ed54eb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f95f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f95f0 Unwind@1400f95f0 + * Pseudocode, not original source. */ + +void Unwind_1400f95f0(undefined8 param_1,longlong param_2) + +{ + FUN_14004de40(param_2 + 0x20); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9600.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9600.c new file mode 100644 index 00000000..59ee086c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9600.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9600 Unwind@1400f9600 + * Pseudocode, not original source. */ + +void Unwind_1400f9600(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0xd50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9620.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9620.c new file mode 100644 index 00000000..20e2f5c5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9620.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9620 Unwind@1400f9620 + * Pseudocode, not original source. */ + +void Unwind_1400f9620(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0xd0,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9630.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9630.c new file mode 100644 index 00000000..50a1c2b5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9630.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9630 Unwind@1400f9630 + * Pseudocode, not original source. */ + +void Unwind_1400f9630(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0xd50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9650.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9650.c new file mode 100644 index 00000000..d286131a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9650.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9650 Unwind@1400f9650 + * Pseudocode, not original source. */ + +void Unwind_1400f9650(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x48) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9660.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9660.c new file mode 100644 index 00000000..fc2072ac --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9660.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9660 Unwind@1400f9660 + * Pseudocode, not original source. */ + +void Unwind_1400f9660(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x20); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9670.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9670.c new file mode 100644 index 00000000..a1e40314 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9670.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9670 Unwind@1400f9670 + * Pseudocode, not original source. */ + +void Unwind_1400f9670(undefined8 param_1,longlong param_2) + +{ + FUN_14004de40(param_2 + 0x20); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9680.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9680.c new file mode 100644 index 00000000..0c6fce61 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9680.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9680 Unwind@1400f9680 + * Pseudocode, not original source. */ + +void Unwind_1400f9680(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0xd50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f96a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f96a0.c new file mode 100644 index 00000000..0a1e81c2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f96a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f96a0 Unwind@1400f96a0 + * Pseudocode, not original source. */ + +void Unwind_1400f96a0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0xd0,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f96b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f96b0.c new file mode 100644 index 00000000..520422a1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f96b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f96b0 Unwind@1400f96b0 + * Pseudocode, not original source. */ + +void Unwind_1400f96b0(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0xd50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f96d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f96d0.c new file mode 100644 index 00000000..c129e74b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f96d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f96d0 Unwind@1400f96d0 + * Pseudocode, not original source. */ + +void Unwind_1400f96d0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x78) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f96e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f96e0.c new file mode 100644 index 00000000..c4962c77 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f96e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f96e0 Unwind@1400f96e0 + * Pseudocode, not original source. */ + +void Unwind_1400f96e0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f96f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f96f0.c new file mode 100644 index 00000000..d9265a5e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f96f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f96f0 Unwind@1400f96f0 + * Pseudocode, not original source. */ + +void Unwind_1400f96f0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x88); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9700.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9700.c new file mode 100644 index 00000000..16bb37d8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9700.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9700 Unwind@1400f9700 + * Pseudocode, not original source. */ + +void Unwind_1400f9700(undefined8 param_1,longlong param_2) + +{ + FUN_14004de40(param_2 + 0x88); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9710.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9710.c new file mode 100644 index 00000000..c85550ed --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9710.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9710 Unwind@1400f9710 + * Pseudocode, not original source. */ + +void Unwind_1400f9710(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0xe0) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9720.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9720.c new file mode 100644 index 00000000..d7355f2d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9720.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9720 Unwind@1400f9720 + * Pseudocode, not original source. */ + +void Unwind_1400f9720(undefined8 param_1,longlong param_2) + +{ + FUN_14000d9e0((undefined8 *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9730.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9730.c new file mode 100644 index 00000000..17216104 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9730.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9730 Unwind@1400f9730 + * Pseudocode, not original source. */ + +void Unwind_1400f9730(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9740.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9740.c new file mode 100644 index 00000000..c1e21643 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9740.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9740 Unwind@1400f9740 + * Pseudocode, not original source. */ + +void Unwind_1400f9740(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004dff0(param_2 + 0x38,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9750.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9750.c new file mode 100644 index 00000000..348fc348 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9750.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9750 Unwind@1400f9750 + * Pseudocode, not original source. */ + +void Unwind_1400f9750(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x30),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9760.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9760.c new file mode 100644 index 00000000..f953db7e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9760.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9760 Unwind@1400f9760 + * Pseudocode, not original source. */ + +void Unwind_1400f9760(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9770.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9770.c new file mode 100644 index 00000000..4f4d0b70 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9770.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9770 Unwind@1400f9770 + * Pseudocode, not original source. */ + +void Unwind_1400f9770(undefined8 param_1,longlong param_2) + +{ + operator_delete(*(void **)(param_2 + 0x78)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9780.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9780.c new file mode 100644 index 00000000..23347ad4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9780.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9780 Unwind@1400f9780 + * Pseudocode, not original source. */ + +void Unwind_1400f9780(undefined8 param_1,longlong param_2) + +{ + FUN_1400bfcf0((longlong *)(param_2 + 0x78)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9790.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9790.c new file mode 100644 index 00000000..fedaf845 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9790.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9790 Unwind@1400f9790 + * Pseudocode, not original source. */ + +void Unwind_1400f9790(undefined8 param_1,longlong param_2) + +{ + FUN_1400bfcf0((longlong *)(param_2 + 0x80)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f97a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f97a0.c new file mode 100644 index 00000000..e943f05c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f97a0.c @@ -0,0 +1,21 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f97a0 Catch@1400f97a0 + * Pseudocode, not original source. */ + +undefined8 Catch_1400f97a0(undefined8 param_1,longlong param_2) + +{ + longlong lVar1; + longlong *plVar2; + + lVar1 = *(longlong *)(param_2 + 0x70); + plVar2 = *(longlong **)(lVar1 + 0x1580); + if (plVar2 != (longlong *)0x0) { + (**(code **)(*plVar2 + 0x20))(plVar2,*(undefined8 *)(param_2 + 0x28)); + } + *(undefined8 *)(param_2 + 0x88) = 0; + FUN_14009d860((longlong *)(lVar1 + 0x1520),(longlong *)(param_2 + 0x88)); + *(undefined1 *)(lVar1 + 0x1528) = 1; + return 0x1400a71b0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9800.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9800.c new file mode 100644 index 00000000..551b087b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9800.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9800 Unwind@1400f9800 + * Pseudocode, not original source. */ + +void Unwind_1400f9800(undefined8 param_1,longlong param_2) + +{ + FUN_1400bfcf0((longlong *)(param_2 + 0x88)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9810.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9810.c new file mode 100644 index 00000000..7ca13f17 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9810.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9810 Unwind@1400f9810 + * Pseudocode, not original source. */ + +void Unwind_1400f9810(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_14003e8b0(*(LPVOID *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9830.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9830.c new file mode 100644 index 00000000..6536a98a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9830.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9830 Unwind@1400f9830 + * Pseudocode, not original source. */ + +void Unwind_1400f9830(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9850.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9850.c new file mode 100644 index 00000000..45f13a82 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9850.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9850 Unwind@1400f9850 + * Pseudocode, not original source. */ + +void Unwind_1400f9850(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14009d3d0((longlong *)(param_2 + 0x58),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9860.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9860.c new file mode 100644 index 00000000..5d652d13 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9860.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9860 Unwind@1400f9860 + * Pseudocode, not original source. */ + +void Unwind_1400f9860(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9870.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9870.c new file mode 100644 index 00000000..89bb7be8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9870.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9870 Unwind@1400f9870 + * Pseudocode, not original source. */ + +void Unwind_1400f9870(undefined8 param_1,longlong param_2) + +{ + if ((*(uint *)(param_2 + 0x70) & 1) != 0) { + *(uint *)(param_2 + 0x70) = *(uint *)(param_2 + 0x70) & 0xfffffffe; + FUN_1400bfcf0(*(longlong **)(param_2 + 0x68)); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f98a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f98a0.c new file mode 100644 index 00000000..48d86470 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f98a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f98a0 Unwind@1400f98a0 + * Pseudocode, not original source. */ + +void Unwind_1400f98a0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f98b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f98b0.c new file mode 100644 index 00000000..c44b42aa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f98b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f98b0 Unwind@1400f98b0 + * Pseudocode, not original source. */ + +void Unwind_1400f98b0(undefined8 param_1,longlong param_2) + +{ + FUN_1400bfcf0((longlong *)(param_2 + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f98c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f98c0.c new file mode 100644 index 00000000..4a0a6c27 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f98c0.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f98c0 Unwind@1400f98c0 + * Pseudocode, not original source. */ + +void Unwind_1400f98c0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + if ((*(uint *)(param_2 + 0xc0) & 1) != 0) { + *(uint *)(param_2 + 0xc0) = *(uint *)(param_2 + 0xc0) & 0xfffffffe; + thunk_FUN_140002190(*(longlong **)(param_2 + 200),param_2,param_3,param_4); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f98f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f98f0.c new file mode 100644 index 00000000..8dc7ecee --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f98f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f98f0 Unwind@1400f98f0 + * Pseudocode, not original source. */ + +void Unwind_1400f98f0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0xd0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9900.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9900.c new file mode 100644 index 00000000..63b3194d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9900.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9900 Unwind@1400f9900 + * Pseudocode, not original source. */ + +void Unwind_1400f9900(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9910.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9910.c new file mode 100644 index 00000000..80b76940 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9910.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9910 Unwind@1400f9910 + * Pseudocode, not original source. */ + +void Unwind_1400f9910(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9920.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9920.c new file mode 100644 index 00000000..2f93dce0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9920.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9920 Unwind@1400f9920 + * Pseudocode, not original source. */ + +void Unwind_1400f9920(undefined8 param_1,longlong param_2) + +{ + FUN_1400bfcf0((longlong *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9930.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9930.c new file mode 100644 index 00000000..9dd11b7b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9930.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9930 Unwind@1400f9930 + * Pseudocode, not original source. */ + +void Unwind_1400f9930(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9950.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9950.c new file mode 100644 index 00000000..07f94a40 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9950.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9950 Unwind@1400f9950 + * Pseudocode, not original source. */ + +void Unwind_1400f9950(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9960.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9960.c new file mode 100644 index 00000000..d54a8af2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9960.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9960 Unwind@1400f9960 + * Pseudocode, not original source. */ + +void Unwind_1400f9960(undefined8 param_1,longlong param_2) + +{ + operator_delete(*(void **)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9970.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9970.c new file mode 100644 index 00000000..72ba3333 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9970.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9970 Unwind@1400f9970 + * Pseudocode, not original source. */ + +void Unwind_1400f9970(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9980.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9980.c new file mode 100644 index 00000000..f7a9e089 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9980.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9980 Unwind@1400f9980 + * Pseudocode, not original source. */ + +void Unwind_1400f9980(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x30),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9990.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9990.c new file mode 100644 index 00000000..7f2f1439 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9990.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9990 Unwind@1400f9990 + * Pseudocode, not original source. */ + +void Unwind_1400f9990(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x80),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f99a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f99a0.c new file mode 100644 index 00000000..fb05cfd5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f99a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f99a0 Unwind@1400f99a0 + * Pseudocode, not original source. */ + +void Unwind_1400f99a0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f99b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f99b0.c new file mode 100644 index 00000000..95df0dd2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f99b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f99b0 Unwind@1400f99b0 + * Pseudocode, not original source. */ + +void Unwind_1400f99b0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f99c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f99c0.c new file mode 100644 index 00000000..6793f6aa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f99c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f99c0 Unwind@1400f99c0 + * Pseudocode, not original source. */ + +void Unwind_1400f99c0(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f99e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f99e0.c new file mode 100644 index 00000000..5011d141 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f99e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f99e0 Unwind@1400f99e0 + * Pseudocode, not original source. */ + +void Unwind_1400f99e0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f99f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f99f0.c new file mode 100644 index 00000000..3f64990c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f99f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f99f0 Unwind@1400f99f0 + * Pseudocode, not original source. */ + +void Unwind_1400f99f0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9a00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9a00.c new file mode 100644 index 00000000..46823f11 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9a00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9a00 Unwind@1400f9a00 + * Pseudocode, not original source. */ + +void Unwind_1400f9a00(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9a10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9a10.c new file mode 100644 index 00000000..4047ddca --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9a10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9a10 Unwind@1400f9a10 + * Pseudocode, not original source. */ + +void Unwind_1400f9a10(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9a20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9a20.c new file mode 100644 index 00000000..2241f4b4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9a20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9a20 Unwind@1400f9a20 + * Pseudocode, not original source. */ + +void Unwind_1400f9a20(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x60),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9a30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9a30.c new file mode 100644 index 00000000..c2298159 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9a30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9a30 Unwind@1400f9a30 + * Pseudocode, not original source. */ + +void Unwind_1400f9a30(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9a40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9a40.c new file mode 100644 index 00000000..8bcf1f3b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9a40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9a40 Unwind@1400f9a40 + * Pseudocode, not original source. */ + +void Unwind_1400f9a40(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9a50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9a50.c new file mode 100644 index 00000000..2d8f349d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9a50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9a50 Unwind@1400f9a50 + * Pseudocode, not original source. */ + +void Unwind_1400f9a50(undefined8 param_1,longlong param_2) + +{ + FUN_1400a8ff0((longlong *)(param_2 + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9a60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9a60.c new file mode 100644 index 00000000..c75c0ff2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9a60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9a60 Unwind@1400f9a60 + * Pseudocode, not original source. */ + +void Unwind_1400f9a60(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x130),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9a70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9a70.c new file mode 100644 index 00000000..ea0e525e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9a70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9a70 Unwind@1400f9a70 + * Pseudocode, not original source. */ + +void Unwind_1400f9a70(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9a80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9a80.c new file mode 100644 index 00000000..85e4bb15 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9a80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9a80 Unwind@1400f9a80 + * Pseudocode, not original source. */ + +void Unwind_1400f9a80(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xb0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9a90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9a90.c new file mode 100644 index 00000000..dff0c9cc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9a90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9a90 Unwind@1400f9a90 + * Pseudocode, not original source. */ + +void Unwind_1400f9a90(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0xb0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9aa0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9aa0.c new file mode 100644 index 00000000..e6008300 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9aa0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9aa0 Unwind@1400f9aa0 + * Pseudocode, not original source. */ + +void Unwind_1400f9aa0(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9ab0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9ab0.c new file mode 100644 index 00000000..95d958ed --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9ab0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9ab0 Unwind@1400f9ab0 + * Pseudocode, not original source. */ + +void Unwind_1400f9ab0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9ac0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9ac0.c new file mode 100644 index 00000000..9ffdf547 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9ac0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9ac0 Unwind@1400f9ac0 + * Pseudocode, not original source. */ + +void Unwind_1400f9ac0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x80); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9ad0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9ad0.c new file mode 100644 index 00000000..72a5b265 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9ad0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9ad0 Unwind@1400f9ad0 + * Pseudocode, not original source. */ + +void Unwind_1400f9ad0(undefined8 param_1,longlong param_2) + +{ + FUN_14004de40(param_2 + 0x80); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9ae0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9ae0.c new file mode 100644 index 00000000..cc7bc479 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9ae0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9ae0 Unwind@1400f9ae0 + * Pseudocode, not original source. */ + +void Unwind_1400f9ae0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0xe0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9af0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9af0.c new file mode 100644 index 00000000..472288e7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9af0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9af0 Unwind@1400f9af0 + * Pseudocode, not original source. */ + +void Unwind_1400f9af0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9b00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9b00.c new file mode 100644 index 00000000..1b6204da --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9b00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9b00 Unwind@1400f9b00 + * Pseudocode, not original source. */ + +void Unwind_1400f9b00(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0xe0) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9b10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9b10.c new file mode 100644 index 00000000..5b51d8cb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9b10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9b10 Unwind@1400f9b10 + * Pseudocode, not original source. */ + +void Unwind_1400f9b10(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9b20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9b20.c new file mode 100644 index 00000000..388bfcf3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9b20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9b20 Unwind@1400f9b20 + * Pseudocode, not original source. */ + +void Unwind_1400f9b20(undefined8 param_1,longlong param_2) + +{ + FUN_1400bfcf0((longlong *)(param_2 + 0xd8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9b30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9b30.c new file mode 100644 index 00000000..41a0f2c7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9b30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9b30 Unwind@1400f9b30 + * Pseudocode, not original source. */ + +void Unwind_1400f9b30(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0xd0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9b40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9b40.c new file mode 100644 index 00000000..37edcd0f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9b40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9b40 Unwind@1400f9b40 + * Pseudocode, not original source. */ + +void Unwind_1400f9b40(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9b50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9b50.c new file mode 100644 index 00000000..ef980792 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9b50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9b50 Unwind@1400f9b50 + * Pseudocode, not original source. */ + +void Unwind_1400f9b50(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9b60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9b60.c new file mode 100644 index 00000000..34aa59d5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9b60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9b60 Unwind@1400f9b60 + * Pseudocode, not original source. */ + +void Unwind_1400f9b60(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x78)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9b70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9b70.c new file mode 100644 index 00000000..1ff71cb6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9b70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9b70 Unwind@1400f9b70 + * Pseudocode, not original source. */ + +void Unwind_1400f9b70(undefined8 param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400aad40(param_2 + 9,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9b80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9b80.c new file mode 100644 index 00000000..56038f33 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9b80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9b80 Unwind@1400f9b80 + * Pseudocode, not original source. */ + +void Unwind_1400f9b80(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0xf0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9b90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9b90.c new file mode 100644 index 00000000..a34c2639 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9b90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9b90 Unwind@1400f9b90 + * Pseudocode, not original source. */ + +void Unwind_1400f9b90(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9bc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9bc0.c new file mode 100644 index 00000000..cc5a33ce --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9bc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9bc0 Unwind@1400f9bc0 + * Pseudocode, not original source. */ + +void Unwind_1400f9bc0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 200)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9bd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9bd0.c new file mode 100644 index 00000000..e892be3d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9bd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9bd0 Unwind@1400f9bd0 + * Pseudocode, not original source. */ + +void Unwind_1400f9bd0(undefined8 param_1,longlong param_2) + +{ + FUN_140083db0((undefined8 *)(param_2 + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9be0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9be0.c new file mode 100644 index 00000000..f8dbeaa1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9be0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9be0 Unwind@1400f9be0 + * Pseudocode, not original source. */ + +void Unwind_1400f9be0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9bf0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9bf0.c new file mode 100644 index 00000000..fb5aafc3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9bf0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9bf0 Unwind@1400f9bf0 + * Pseudocode, not original source. */ + +void Unwind_1400f9bf0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0xa0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9c00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9c00.c new file mode 100644 index 00000000..1c67b795 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9c00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9c00 Unwind@1400f9c00 + * Pseudocode, not original source. */ + +void Unwind_1400f9c00(undefined8 param_1,longlong param_2) + +{ + FUN_1400117d0((longlong *)(param_2 + 0x98)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9c10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9c10.c new file mode 100644 index 00000000..1f105c94 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9c10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9c10 Unwind@1400f9c10 + * Pseudocode, not original source. */ + +void Unwind_1400f9c10(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xb8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9c20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9c20.c new file mode 100644 index 00000000..bdae676b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9c20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9c20 Unwind@1400f9c20 + * Pseudocode, not original source. */ + +void Unwind_1400f9c20(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xe0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9c30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9c30.c new file mode 100644 index 00000000..b7d69491 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9c30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9c30 Unwind@1400f9c30 + * Pseudocode, not original source. */ + +void Unwind_1400f9c30(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x90),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9c40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9c40.c new file mode 100644 index 00000000..facb8972 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9c40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9c40 Unwind@1400f9c40 + * Pseudocode, not original source. */ + +void Unwind_1400f9c40(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9c50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9c50.c new file mode 100644 index 00000000..fa9661e5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9c50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9c50 Unwind@1400f9c50 + * Pseudocode, not original source. */ + +void Unwind_1400f9c50(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9c60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9c60.c new file mode 100644 index 00000000..eae6fc01 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9c60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9c60 Unwind@1400f9c60 + * Pseudocode, not original source. */ + +void Unwind_1400f9c60(undefined8 param_1,longlong param_2) + +{ + FUN_1400bfcf0(*(longlong **)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9c70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9c70.c new file mode 100644 index 00000000..44973725 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9c70.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9c70 Catch_All@1400f9c70 + * Pseudocode, not original source. */ + +undefined8 Catch_All_1400f9c70(void) + +{ + return 0x1400ac823; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9c90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9c90.c new file mode 100644 index 00000000..8a8e1463 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9c90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9c90 Unwind@1400f9c90 + * Pseudocode, not original source. */ + +void Unwind_1400f9c90(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9ca0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9ca0.c new file mode 100644 index 00000000..74f6f603 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9ca0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9ca0 Unwind@1400f9ca0 + * Pseudocode, not original source. */ + +void Unwind_1400f9ca0(undefined8 param_1,longlong param_2) + +{ + FUN_1400bfcf0((longlong *)(param_2 + 0xf0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9cb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9cb0.c new file mode 100644 index 00000000..7a1ae18e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9cb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9cb0 Unwind@1400f9cb0 + * Pseudocode, not original source. */ + +void Unwind_1400f9cb0(undefined8 param_1,longlong param_2) + +{ + FUN_1400bfcf0((longlong *)(param_2 + 0xe8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9cc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9cc0.c new file mode 100644 index 00000000..09e1459f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9cc0.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9cc0 Catch@1400f9cc0 + * Pseudocode, not original source. */ + +undefined * +Catch_1400f9cc0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong lVar1; + longlong *plVar2; + + lVar1 = *(longlong *)(param_2 + 0x250); + if (*(longlong *)(lVar1 + 0x1580) != 0) { + FUN_14003d720((exception *)(param_2 + 0x60),*(undefined8 *)(param_2 + 0x1b0),param_3,param_4); + *(undefined4 *)(param_2 + 0x78) = *(undefined4 *)(*(longlong *)(param_2 + 0x30) + 0x28); + plVar2 = *(longlong **)(lVar1 + 0x1580); + (**(code **)(*plVar2 + 0x20))(plVar2,param_2 + 0x60); + FUN_14003d6e0((exception *)(param_2 + 0x60)); + } + return &DAT_1400ad099; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9d30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9d30.c new file mode 100644 index 00000000..324e2210 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9d30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9d30 Unwind@1400f9d30 + * Pseudocode, not original source. */ + +void Unwind_1400f9d30(undefined8 param_1,longlong param_2) + +{ + FUN_14003d6e0((exception *)(param_2 + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9d40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9d40.c new file mode 100644 index 00000000..eb1d4b02 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9d40.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9d40 Catch@1400f9d40 + * Pseudocode, not original source. */ + +undefined * +Catch_1400f9d40(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong lVar1; + longlong *plVar2; + + lVar1 = *(longlong *)(param_2 + 0x250); + if (*(longlong *)(lVar1 + 0x1580) != 0) { + FUN_14003dd60((exception *)(param_2 + 0x60),*(longlong **)(param_2 + 0x1b8),param_3,param_4); + *(undefined4 *)(param_2 + 0x78) = *(undefined4 *)(*(longlong *)(param_2 + 0x30) + 0x28); + plVar2 = *(longlong **)(lVar1 + 0x1580); + (**(code **)(*plVar2 + 0x20))(plVar2,param_2 + 0x60); + FUN_14003d6e0((exception *)(param_2 + 0x60)); + } + return &DAT_1400ad099; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9db0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9db0.c new file mode 100644 index 00000000..125c0d99 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9db0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9db0 Unwind@1400f9db0 + * Pseudocode, not original source. */ + +void Unwind_1400f9db0(undefined8 param_1,longlong param_2) + +{ + FUN_14003d6e0((exception *)(param_2 + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9dc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9dc0.c new file mode 100644 index 00000000..03ac0083 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9dc0.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9dc0 Catch@1400f9dc0 + * Pseudocode, not original source. */ + +undefined * +Catch_1400f9dc0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong lVar1; + longlong *plVar2; + + lVar1 = *(longlong *)(param_2 + 0x250); + if (*(longlong *)(lVar1 + 0x1580) != 0) { + FUN_14003dde0((exception *)(param_2 + 0x60),*(longlong *)(param_2 + 0x188),param_3,param_4); + *(undefined4 *)(param_2 + 0x78) = *(undefined4 *)(*(longlong *)(param_2 + 0x30) + 0x28); + plVar2 = *(longlong **)(lVar1 + 0x1580); + (**(code **)(*plVar2 + 0x20))(plVar2,param_2 + 0x60); + FUN_14003d6e0((exception *)(param_2 + 0x60)); + } + return &DAT_1400ad099; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9e30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9e30.c new file mode 100644 index 00000000..602aca7d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9e30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9e30 Unwind@1400f9e30 + * Pseudocode, not original source. */ + +void Unwind_1400f9e30(undefined8 param_1,longlong param_2) + +{ + FUN_14003d6e0((exception *)(param_2 + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9e40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9e40.c new file mode 100644 index 00000000..fe32206f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9e40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9e40 Unwind@1400f9e40 + * Pseudocode, not original source. */ + +void Unwind_1400f9e40(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_14003e8b0(*(LPVOID *)(param_2 + 0xc0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9e60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9e60.c new file mode 100644 index 00000000..d0a27ebc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9e60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9e60 Unwind@1400f9e60 + * Pseudocode, not original source. */ + +void Unwind_1400f9e60(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 600),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9e70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9e70.c new file mode 100644 index 00000000..75509eba --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9e70.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9e70 Catch@1400f9e70 + * Pseudocode, not original source. */ + +undefined * +Catch_1400f9e70(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong lVar1; + longlong *plVar2; + + lVar1 = *(longlong *)(param_2 + 0x250); + if (*(longlong *)(lVar1 + 0x1580) != 0) { + FUN_14003d720((exception *)(param_2 + 0x60),*(undefined8 *)(param_2 + 0x170),param_3,param_4); + *(undefined4 *)(param_2 + 0x78) = *(undefined4 *)(*(longlong *)(param_2 + 0x30) + 0x28); + plVar2 = *(longlong **)(lVar1 + 0x1580); + (**(code **)(*plVar2 + 0x20))(plVar2,param_2 + 0x60); + FUN_14003d6e0((exception *)(param_2 + 0x60)); + } + return &DAT_1400acf95; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9ee0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9ee0.c new file mode 100644 index 00000000..45175ed4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9ee0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9ee0 Unwind@1400f9ee0 + * Pseudocode, not original source. */ + +void Unwind_1400f9ee0(undefined8 param_1,longlong param_2) + +{ + FUN_14003d6e0((exception *)(param_2 + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9ef0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9ef0.c new file mode 100644 index 00000000..1cf4dc66 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9ef0.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9ef0 Catch@1400f9ef0 + * Pseudocode, not original source. */ + +undefined * +Catch_1400f9ef0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong lVar1; + longlong *plVar2; + + lVar1 = *(longlong *)(param_2 + 0x250); + if (*(longlong *)(lVar1 + 0x1580) != 0) { + FUN_14003dd60((exception *)(param_2 + 0x60),*(longlong **)(param_2 + 400),param_3,param_4); + *(undefined4 *)(param_2 + 0x78) = *(undefined4 *)(*(longlong *)(param_2 + 0x30) + 0x28); + plVar2 = *(longlong **)(lVar1 + 0x1580); + (**(code **)(*plVar2 + 0x20))(plVar2,param_2 + 0x60); + FUN_14003d6e0((exception *)(param_2 + 0x60)); + } + return &DAT_1400acf9a; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9f60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9f60.c new file mode 100644 index 00000000..f9dfafe2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9f60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9f60 Unwind@1400f9f60 + * Pseudocode, not original source. */ + +void Unwind_1400f9f60(undefined8 param_1,longlong param_2) + +{ + FUN_14003d6e0((exception *)(param_2 + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9f70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9f70.c new file mode 100644 index 00000000..252c8f48 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9f70.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9f70 Catch@1400f9f70 + * Pseudocode, not original source. */ + +undefined * +Catch_1400f9f70(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong lVar1; + longlong *plVar2; + + lVar1 = *(longlong *)(param_2 + 0x250); + if (*(longlong *)(lVar1 + 0x1580) != 0) { + FUN_14003dde0((exception *)(param_2 + 0x60),*(longlong *)(param_2 + 0x1a0),param_3,param_4); + *(undefined4 *)(param_2 + 0x78) = *(undefined4 *)(*(longlong *)(param_2 + 0x30) + 0x28); + plVar2 = *(longlong **)(lVar1 + 0x1580); + (**(code **)(*plVar2 + 0x20))(plVar2,param_2 + 0x60); + FUN_14003d6e0((exception *)(param_2 + 0x60)); + } + return &DAT_1400acf9f; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9fe0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9fe0.c new file mode 100644 index 00000000..a5e730d0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9fe0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9fe0 Unwind@1400f9fe0 + * Pseudocode, not original source. */ + +void Unwind_1400f9fe0(undefined8 param_1,longlong param_2) + +{ + FUN_14003d6e0((exception *)(param_2 + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400f9ff0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400f9ff0.c new file mode 100644 index 00000000..5a478a6b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400f9ff0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400f9ff0 Unwind@1400f9ff0 + * Pseudocode, not original source. */ + +void Unwind_1400f9ff0(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa000.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa000.c new file mode 100644 index 00000000..a6297f60 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa000.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa000 Unwind@1400fa000 + * Pseudocode, not original source. */ + +void Unwind_1400fa000(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_14003e8b0(*(LPVOID *)(param_2 + 600)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa020.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa020.c new file mode 100644 index 00000000..9836eb4e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa020.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa020 Unwind@1400fa020 + * Pseudocode, not original source. */ + +void Unwind_1400fa020(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 0xf0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa030.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa030.c new file mode 100644 index 00000000..e00f14eb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa030.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa030 Unwind@1400fa030 + * Pseudocode, not original source. */ + +void Unwind_1400fa030(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x38),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa040.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa040.c new file mode 100644 index 00000000..1ba79b4b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa040.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa040 Unwind@1400fa040 + * Pseudocode, not original source. */ + +void Unwind_1400fa040(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x120)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa050.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa050.c new file mode 100644 index 00000000..6a06f16a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa050.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa050 Unwind@1400fa050 + * Pseudocode, not original source. */ + +void Unwind_1400fa050(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 0x30),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa060.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa060.c new file mode 100644 index 00000000..f7e95f34 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa060.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa060 Unwind@1400fa060 + * Pseudocode, not original source. */ + +void Unwind_1400fa060(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xc0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa070.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa070.c new file mode 100644 index 00000000..6c6822a8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa070.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa070 Unwind@1400fa070 + * Pseudocode, not original source. */ + +void Unwind_1400fa070(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa080.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa080.c new file mode 100644 index 00000000..536da8ee --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa080.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa080 Unwind@1400fa080 + * Pseudocode, not original source. */ + +void Unwind_1400fa080(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x148)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa090.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa090.c new file mode 100644 index 00000000..9991ada5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa090.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa090 Unwind@1400fa090 + * Pseudocode, not original source. */ + +void Unwind_1400fa090(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 0xe8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa0a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa0a0.c new file mode 100644 index 00000000..a5222866 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa0a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa0a0 Unwind@1400fa0a0 + * Pseudocode, not original source. */ + +void Unwind_1400fa0a0(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0xf8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa0b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa0b0.c new file mode 100644 index 00000000..fef0f2f4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa0b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa0b0 Unwind@1400fa0b0 + * Pseudocode, not original source. */ + +void Unwind_1400fa0b0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 0xe0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa0c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa0c0.c new file mode 100644 index 00000000..253c81cc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa0c0.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa0c0 Catch@1400fa0c0 + * Pseudocode, not original source. */ + +undefined8 +Catch_1400fa0c0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong lVar1; + longlong *plVar2; + + lVar1 = *(longlong *)(param_2 + 0x250); + if (*(longlong *)(lVar1 + 0x1580) != 0) { + FUN_14003d720((exception *)(param_2 + 0x60),*(undefined8 *)(param_2 + 0x178),param_3,param_4); + *(undefined4 *)(param_2 + 0x78) = *(undefined4 *)(*(longlong *)(param_2 + 0x48) + 0x70); + plVar2 = *(longlong **)(lVar1 + 0x1580); + (**(code **)(*plVar2 + 0x20))(plVar2,param_2 + 0x60); + FUN_14003d6e0((exception *)(param_2 + 0x60)); + } + return 0x1400ad876; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa130.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa130.c new file mode 100644 index 00000000..e8e59523 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa130.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa130 Unwind@1400fa130 + * Pseudocode, not original source. */ + +void Unwind_1400fa130(undefined8 param_1,longlong param_2) + +{ + FUN_14003d6e0((exception *)(param_2 + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa140.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa140.c new file mode 100644 index 00000000..badefd96 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa140.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa140 Catch@1400fa140 + * Pseudocode, not original source. */ + +undefined8 +Catch_1400fa140(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong lVar1; + longlong *plVar2; + + lVar1 = *(longlong *)(param_2 + 0x250); + if (*(longlong *)(lVar1 + 0x1580) != 0) { + FUN_14003dd60((exception *)(param_2 + 0x60),*(longlong **)(param_2 + 0x198),param_3,param_4); + *(undefined4 *)(param_2 + 0x78) = *(undefined4 *)(*(longlong *)(param_2 + 0x48) + 0x70); + plVar2 = *(longlong **)(lVar1 + 0x1580); + (**(code **)(*plVar2 + 0x20))(plVar2,param_2 + 0x60); + FUN_14003d6e0((exception *)(param_2 + 0x60)); + } + return 0x1400ad876; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa1b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa1b0.c new file mode 100644 index 00000000..cbf877be --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa1b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa1b0 Unwind@1400fa1b0 + * Pseudocode, not original source. */ + +void Unwind_1400fa1b0(undefined8 param_1,longlong param_2) + +{ + FUN_14003d6e0((exception *)(param_2 + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa1c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa1c0.c new file mode 100644 index 00000000..803b1969 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa1c0.c @@ -0,0 +1,22 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa1c0 Catch@1400fa1c0 + * Pseudocode, not original source. */ + +undefined8 +Catch_1400fa1c0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong lVar1; + longlong *plVar2; + + lVar1 = *(longlong *)(param_2 + 0x250); + if (*(longlong *)(lVar1 + 0x1580) != 0) { + FUN_14003dde0((exception *)(param_2 + 0x60),*(longlong *)(param_2 + 0x1a8),param_3,param_4); + *(undefined4 *)(param_2 + 0x78) = *(undefined4 *)(*(longlong *)(param_2 + 0x48) + 0x70); + plVar2 = *(longlong **)(lVar1 + 0x1580); + (**(code **)(*plVar2 + 0x20))(plVar2,param_2 + 0x60); + FUN_14003d6e0((exception *)(param_2 + 0x60)); + } + return 0x1400ad876; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa230.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa230.c new file mode 100644 index 00000000..0c33f960 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa230.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa230 Unwind@1400fa230 + * Pseudocode, not original source. */ + +void Unwind_1400fa230(undefined8 param_1,longlong param_2) + +{ + FUN_14003d6e0((exception *)(param_2 + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa240.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa240.c new file mode 100644 index 00000000..0133581b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa240.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa240 Unwind@1400fa240 + * Pseudocode, not original source. */ + +void Unwind_1400fa240(undefined8 param_1,longlong param_2) + +{ + FUN_1400bfcf0(*(longlong **)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa250.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa250.c new file mode 100644 index 00000000..eae3fce7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa250.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa250 Unwind@1400fa250 + * Pseudocode, not original source. */ + +void Unwind_1400fa250(undefined8 param_1,longlong param_2) + +{ + FUN_1400bfcf0((longlong *)(param_2 + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa260.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa260.c new file mode 100644 index 00000000..eb45189b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa260.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa260 Unwind@1400fa260 + * Pseudocode, not original source. */ + +void Unwind_1400fa260(undefined8 param_1,longlong param_2) + +{ + FUN_1400bfcf0(*(longlong **)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa270.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa270.c new file mode 100644 index 00000000..4b9fca2d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa270.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa270 Unwind@1400fa270 + * Pseudocode, not original source. */ + +void Unwind_1400fa270(undefined8 param_1,longlong param_2) + +{ + FUN_1400bfcf0((longlong *)(param_2 + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa280.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa280.c new file mode 100644 index 00000000..ab453009 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa280.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa280 Unwind@1400fa280 + * Pseudocode, not original source. */ + +void Unwind_1400fa280(undefined8 param_1,longlong param_2) + +{ + FUN_1400a8ff0((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa290.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa290.c new file mode 100644 index 00000000..e813abbb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa290.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa290 Unwind@1400fa290 + * Pseudocode, not original source. */ + +void Unwind_1400fa290(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa2a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa2a0.c new file mode 100644 index 00000000..50013628 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa2a0.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa2a0 Unwind@1400fa2a0 + * Pseudocode, not original source. */ + +void Unwind_1400fa2a0(undefined8 param_1,longlong param_2) + +{ + if ((*(uint *)(param_2 + 0x70) & 1) != 0) { + *(uint *)(param_2 + 0x70) = *(uint *)(param_2 + 0x70) & 0xfffffffe; + FUN_1400adb60(*(longlong **)(param_2 + 0x68)); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa2d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa2d0.c new file mode 100644 index 00000000..dfe15b85 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa2d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa2d0 Unwind@1400fa2d0 + * Pseudocode, not original source. */ + +void Unwind_1400fa2d0(undefined8 param_1,longlong param_2) + +{ + FUN_1400adb60((longlong *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa2e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa2e0.c new file mode 100644 index 00000000..9e2b7145 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa2e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa2e0 Unwind@1400fa2e0 + * Pseudocode, not original source. */ + +void Unwind_1400fa2e0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa2f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa2f0.c new file mode 100644 index 00000000..221073a1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa2f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa2f0 Unwind@1400fa2f0 + * Pseudocode, not original source. */ + +void Unwind_1400fa2f0(undefined8 param_1,longlong param_2) + +{ + FUN_1400adb60((longlong *)(param_2 + 0x70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa300.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa300.c new file mode 100644 index 00000000..faa9b7dd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa300.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa300 Unwind@1400fa300 + * Pseudocode, not original source. */ + +void Unwind_1400fa300(undefined8 param_1,longlong param_2) + +{ + FUN_1400bfcf0(*(longlong **)(param_2 + 0x98)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa310.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa310.c new file mode 100644 index 00000000..b17999f8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa310.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa310 Unwind@1400fa310 + * Pseudocode, not original source. */ + +void Unwind_1400fa310(undefined8 param_1,longlong param_2) + +{ + FUN_1400adb60((longlong *)(param_2 + 0xa8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa320.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa320.c new file mode 100644 index 00000000..55632130 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa320.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa320 Unwind@1400fa320 + * Pseudocode, not original source. */ + +void Unwind_1400fa320(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa330.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa330.c new file mode 100644 index 00000000..2471a1d2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa330.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa330 Unwind@1400fa330 + * Pseudocode, not original source. */ + +void Unwind_1400fa330(undefined8 param_1,longlong param_2) + +{ + FUN_1400adb60((longlong *)(param_2 + 0x88)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa340.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa340.c new file mode 100644 index 00000000..806f44a6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa340.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa340 Unwind@1400fa340 + * Pseudocode, not original source. */ + +void Unwind_1400fa340(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa350.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa350.c new file mode 100644 index 00000000..59fb03be --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa350.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa350 Unwind@1400fa350 + * Pseudocode, not original source. */ + +void Unwind_1400fa350(undefined8 param_1,longlong param_2) + +{ + FUN_1400adb60((longlong *)(param_2 + 0xa0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa360.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa360.c new file mode 100644 index 00000000..ab17080b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa360.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa360 Unwind@1400fa360 + * Pseudocode, not original source. */ + +void Unwind_1400fa360(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x118)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa370.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa370.c new file mode 100644 index 00000000..e8819899 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa370.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa370 Unwind@1400fa370 + * Pseudocode, not original source. */ + +void Unwind_1400fa370(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x30),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa380.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa380.c new file mode 100644 index 00000000..6bd535fd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa380.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa380 Unwind@1400fa380 + * Pseudocode, not original source. */ + +void Unwind_1400fa380(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa390.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa390.c new file mode 100644 index 00000000..099bd49a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa390.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa390 Unwind@1400fa390 + * Pseudocode, not original source. */ + +void Unwind_1400fa390(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x108)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa3a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa3a0.c new file mode 100644 index 00000000..5d6da3a3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa3a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa3a0 Unwind@1400fa3a0 + * Pseudocode, not original source. */ + +void Unwind_1400fa3a0(undefined8 param_1,longlong param_2) + +{ + FUN_14004d2c0((undefined8 *)(param_2 + 0x2f0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa3b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa3b0.c new file mode 100644 index 00000000..3f31dd3f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa3b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa3b0 Unwind@1400fa3b0 + * Pseudocode, not original source. */ + +void Unwind_1400fa3b0(undefined8 param_1,longlong param_2) + +{ + FUN_14009cd20((undefined8 *)(param_2 + 0xd8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa3c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa3c0.c new file mode 100644 index 00000000..5dcf70c7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa3c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa3c0 Unwind@1400fa3c0 + * Pseudocode, not original source. */ + +void Unwind_1400fa3c0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x38); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa3d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa3d0.c new file mode 100644 index 00000000..a0c0622b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa3d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa3d0 Unwind@1400fa3d0 + * Pseudocode, not original source. */ + +void Unwind_1400fa3d0(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa3f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa3f0.c new file mode 100644 index 00000000..381edf56 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa3f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa3f0 Unwind@1400fa3f0 + * Pseudocode, not original source. */ + +void Unwind_1400fa3f0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x60) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa400.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa400.c new file mode 100644 index 00000000..460b512d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa400.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa400 Unwind@1400fa400 + * Pseudocode, not original source. */ + +void Unwind_1400fa400(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(*(longlong *)(param_2 + 0x60) + 0xc80)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa420.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa420.c new file mode 100644 index 00000000..5ddfbac9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa420.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa420 Catch@1400fa420 + * Pseudocode, not original source. */ + +undefined * Catch_1400fa420(undefined8 param_1,longlong param_2) + +{ + LPCWSTR lpOutputString; + + lpOutputString = (LPCWSTR)(**(code **)(**(longlong **)(param_2 + 0x150) + 8))(); + OutputDebugStringW(lpOutputString); + uRam0000000000000000 = 1; + return &DAT_1400af49f; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa460.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa460.c new file mode 100644 index 00000000..054aba92 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa460.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa460 Unwind@1400fa460 + * Pseudocode, not original source. */ + +void Unwind_1400fa460(undefined8 param_1,longlong param_2) + +{ + FUN_14007aab0((undefined8 *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa470.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa470.c new file mode 100644 index 00000000..a4dc1d96 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa470.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa470 Unwind@1400fa470 + * Pseudocode, not original source. */ + +void Unwind_1400fa470(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x70); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa480.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa480.c new file mode 100644 index 00000000..7d5b60e4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa480.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa480 Unwind@1400fa480 + * Pseudocode, not original source. */ + +void Unwind_1400fa480(undefined8 param_1,longlong param_2) + +{ + FUN_140074a20((longlong *)(param_2 + 0x108)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa490.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa490.c new file mode 100644 index 00000000..a24d52ac --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa490.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa490 Unwind@1400fa490 + * Pseudocode, not original source. */ + +void Unwind_1400fa490(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0x12c0,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa4a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa4a0.c new file mode 100644 index 00000000..9fc85007 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa4a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa4a0 Unwind@1400fa4a0 + * Pseudocode, not original source. */ + +void Unwind_1400fa4a0(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0x12b0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa4c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa4c0.c new file mode 100644 index 00000000..d8ebf878 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa4c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa4c0 Unwind@1400fa4c0 + * Pseudocode, not original source. */ + +void Unwind_1400fa4c0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0x630,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa4d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa4d0.c new file mode 100644 index 00000000..f67729b0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa4d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa4d0 Unwind@1400fa4d0 + * Pseudocode, not original source. */ + +void Unwind_1400fa4d0(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0x12b0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa4f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa4f0.c new file mode 100644 index 00000000..8c508f5b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa4f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa4f0 Unwind@1400fa4f0 + * Pseudocode, not original source. */ + +void Unwind_1400fa4f0(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(*(longlong *)(param_2 + 0x60) + 0xc80)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa510.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa510.c new file mode 100644 index 00000000..05051307 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa510.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa510 Unwind@1400fa510 + * Pseudocode, not original source. */ + +void Unwind_1400fa510(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(*(longlong *)(param_2 + 0x60),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa520.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa520.c new file mode 100644 index 00000000..bc822e2c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa520.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa520 Unwind@1400fa520 + * Pseudocode, not original source. */ + +void Unwind_1400fa520(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 8000)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa540.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa540.c new file mode 100644 index 00000000..5378a674 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa540.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa540 Unwind@1400fa540 + * Pseudocode, not original source. */ + +void Unwind_1400fa540(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x60) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa550.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa550.c new file mode 100644 index 00000000..dc073a41 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa550.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa550 Unwind@1400fa550 + * Pseudocode, not original source. */ + +void Unwind_1400fa550(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0x1f50,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa560.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa560.c new file mode 100644 index 00000000..55d9e770 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa560.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa560 Unwind@1400fa560 + * Pseudocode, not original source. */ + +void Unwind_1400fa560(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x240); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa570.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa570.c new file mode 100644 index 00000000..a8524bb5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa570.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa570 Unwind@1400fa570 + * Pseudocode, not original source. */ + +void Unwind_1400fa570(undefined8 param_1,longlong param_2) + +{ + FUN_140076940(param_2 + 0x240); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa580.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa580.c new file mode 100644 index 00000000..e9063f56 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa580.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa580 Unwind@1400fa580 + * Pseudocode, not original source. */ + +void Unwind_1400fa580(undefined8 param_1,longlong param_2) + +{ + FUN_14007aa70((undefined8 *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa590.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa590.c new file mode 100644 index 00000000..6fddacb2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa590.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa590 Unwind@1400fa590 + * Pseudocode, not original source. */ + +void Unwind_1400fa590(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0x12c0,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa5a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa5a0.c new file mode 100644 index 00000000..1fef71f4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa5a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa5a0 Unwind@1400fa5a0 + * Pseudocode, not original source. */ + +void Unwind_1400fa5a0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x70); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa5b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa5b0.c new file mode 100644 index 00000000..32422cea --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa5b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa5b0 Unwind@1400fa5b0 + * Pseudocode, not original source. */ + +void Unwind_1400fa5b0(undefined8 param_1,longlong param_2) + +{ + FUN_140074a20((longlong *)(param_2 + 0x108)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa5c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa5c0.c new file mode 100644 index 00000000..9a6b2f41 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa5c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa5c0 Unwind@1400fa5c0 + * Pseudocode, not original source. */ + +void Unwind_1400fa5c0(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0x12b0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa5e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa5e0.c new file mode 100644 index 00000000..dcff1cd1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa5e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa5e0 Unwind@1400fa5e0 + * Pseudocode, not original source. */ + +void Unwind_1400fa5e0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0x630,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa5f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa5f0.c new file mode 100644 index 00000000..4f476d54 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa5f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa5f0 Unwind@1400fa5f0 + * Pseudocode, not original source. */ + +void Unwind_1400fa5f0(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0x12b0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa610.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa610.c new file mode 100644 index 00000000..f7f6aa65 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa610.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa610 Unwind@1400fa610 + * Pseudocode, not original source. */ + +void Unwind_1400fa610(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(*(longlong *)(param_2 + 0x60) + 0xc80)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa630.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa630.c new file mode 100644 index 00000000..3a2adb31 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa630.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa630 Unwind@1400fa630 + * Pseudocode, not original source. */ + +void Unwind_1400fa630(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x60) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa640.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa640.c new file mode 100644 index 00000000..6ae1923f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa640.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa640 Unwind@1400fa640 + * Pseudocode, not original source. */ + +void Unwind_1400fa640(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x60) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa650.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa650.c new file mode 100644 index 00000000..a0f6bc78 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa650.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa650 Unwind@1400fa650 + * Pseudocode, not original source. */ + +void Unwind_1400fa650(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa660.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa660.c new file mode 100644 index 00000000..0d267a23 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa660.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa660 Unwind@1400fa660 + * Pseudocode, not original source. */ + +void Unwind_1400fa660(undefined8 param_1,longlong param_2) + +{ + FUN_14004d2c0((undefined8 *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa670.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa670.c new file mode 100644 index 00000000..591e3b01 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa670.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa670 Catch_All@1400fa670 + * Pseudocode, not original source. */ + +undefined8 Catch_All_1400fa670(void) + +{ + return 0x1400b0663; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa690.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa690.c new file mode 100644 index 00000000..051a2cb8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa690.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa690 Unwind@1400fa690 + * Pseudocode, not original source. */ + +void Unwind_1400fa690(undefined8 param_1,longlong param_2) + +{ + FUN_140076940(*(longlong *)(param_2 + 0x40) + 8); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa6a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa6a0.c new file mode 100644 index 00000000..b521b946 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa6a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa6a0 Unwind@1400fa6a0 + * Pseudocode, not original source. */ + +void Unwind_1400fa6a0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa6b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa6b0.c new file mode 100644 index 00000000..57c52ebb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa6b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa6b0 Unwind@1400fa6b0 + * Pseudocode, not original source. */ + +void Unwind_1400fa6b0(undefined8 param_1,longlong param_2) + +{ + operator_delete(*(void **)(param_2 + 0x98)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa6c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa6c0.c new file mode 100644 index 00000000..845caa09 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa6c0.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa6c0 Unwind@1400fa6c0 + * Pseudocode, not original source. */ + +void Unwind_1400fa6c0(undefined8 param_1,longlong param_2) + +{ + if ((*(uint *)(param_2 + 0x80) & 1) != 0) { + *(uint *)(param_2 + 0x80) = *(uint *)(param_2 + 0x80) & 0xfffffffe; + FUN_1400adb60(*(longlong **)(param_2 + 0x88)); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa6f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa6f0.c new file mode 100644 index 00000000..c0f67125 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa6f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa6f0 Unwind@1400fa6f0 + * Pseudocode, not original source. */ + +void Unwind_1400fa6f0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa700.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa700.c new file mode 100644 index 00000000..741be971 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa700.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa700 Unwind@1400fa700 + * Pseudocode, not original source. */ + +void Unwind_1400fa700(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140096b50(param_2 + 0x38,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa710.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa710.c new file mode 100644 index 00000000..f728a9cb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa710.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa710 Unwind@1400fa710 + * Pseudocode, not original source. */ + +void Unwind_1400fa710(undefined8 param_1,longlong param_2) + +{ + FUN_140076940(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa720.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa720.c new file mode 100644 index 00000000..678d8687 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa720.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa720 Unwind@1400fa720 + * Pseudocode, not original source. */ + +void Unwind_1400fa720(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x180) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa730.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa730.c new file mode 100644 index 00000000..e57c5263 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa730.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa730 Unwind@1400fa730 + * Pseudocode, not original source. */ + +void Unwind_1400fa730(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xa8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa740.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa740.c new file mode 100644 index 00000000..6c740c96 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa740.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa740 Unwind@1400fa740 + * Pseudocode, not original source. */ + +void Unwind_1400fa740(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x88)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa750.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa750.c new file mode 100644 index 00000000..509c7068 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa750.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa750 Unwind@1400fa750 + * Pseudocode, not original source. */ + +void Unwind_1400fa750(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x208),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa760.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa760.c new file mode 100644 index 00000000..28acfbdd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa760.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa760 Unwind@1400fa760 + * Pseudocode, not original source. */ + +void Unwind_1400fa760(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x48),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa770.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa770.c new file mode 100644 index 00000000..a2864869 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa770.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa770 Unwind@1400fa770 + * Pseudocode, not original source. */ + +void Unwind_1400fa770(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x78)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa780.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa780.c new file mode 100644 index 00000000..a089b374 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa780.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa780 Unwind@1400fa780 + * Pseudocode, not original source. */ + +void Unwind_1400fa780(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa790.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa790.c new file mode 100644 index 00000000..e9dca170 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa790.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa790 Unwind@1400fa790 + * Pseudocode, not original source. */ + +void Unwind_1400fa790(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x98)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa7a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa7a0.c new file mode 100644 index 00000000..85d766c3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa7a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa7a0 Unwind@1400fa7a0 + * Pseudocode, not original source. */ + +void Unwind_1400fa7a0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa7b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa7b0.c new file mode 100644 index 00000000..cf35c258 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa7b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa7b0 Unwind@1400fa7b0 + * Pseudocode, not original source. */ + +void Unwind_1400fa7b0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x50),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa7c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa7c0.c new file mode 100644 index 00000000..9f20de6a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa7c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa7c0 Unwind@1400fa7c0 + * Pseudocode, not original source. */ + +void Unwind_1400fa7c0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 200)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa7d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa7d0.c new file mode 100644 index 00000000..f493d1d7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa7d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa7d0 Unwind@1400fa7d0 + * Pseudocode, not original source. */ + +void Unwind_1400fa7d0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xb8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa7e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa7e0.c new file mode 100644 index 00000000..22f66724 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa7e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa7e0 Unwind@1400fa7e0 + * Pseudocode, not original source. */ + +void Unwind_1400fa7e0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa7f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa7f0.c new file mode 100644 index 00000000..e949142a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa7f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa7f0 Unwind@1400fa7f0 + * Pseudocode, not original source. */ + +void Unwind_1400fa7f0(undefined8 param_1,longlong param_2) + +{ + operator_delete(*(void **)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa800.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa800.c new file mode 100644 index 00000000..c79e7b06 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa800.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa800 Unwind@1400fa800 + * Pseudocode, not original source. */ + +void Unwind_1400fa800(undefined8 param_1,longlong param_2) + +{ + FUN_1400bfcf0((longlong *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa810.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa810.c new file mode 100644 index 00000000..a221c018 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa810.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa810 Unwind@1400fa810 + * Pseudocode, not original source. */ + +void Unwind_1400fa810(undefined8 param_1,longlong param_2) + +{ + operator_delete(*(void **)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa820.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa820.c new file mode 100644 index 00000000..779a6ac0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa820.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa820 Unwind@1400fa820 + * Pseudocode, not original source. */ + +void Unwind_1400fa820(undefined8 param_1,longlong param_2) + +{ + FUN_14009d480((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa830.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa830.c new file mode 100644 index 00000000..163e7a57 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa830.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa830 Unwind@1400fa830 + * Pseudocode, not original source. */ + +void Unwind_1400fa830(undefined8 param_1,longlong param_2) + +{ + operator_delete(*(void **)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa840.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa840.c new file mode 100644 index 00000000..ed033b82 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa840.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa840 Unwind@1400fa840 + * Pseudocode, not original source. */ + +void Unwind_1400fa840(undefined8 param_1,longlong param_2,ulonglong param_3,ulonglong param_4) + +{ + FUN_14009e710((longlong *)(param_2 + 0x28),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa850.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa850.c new file mode 100644 index 00000000..c8f24ae6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa850.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa850 Unwind@1400fa850 + * Pseudocode, not original source. */ + +void Unwind_1400fa850(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140077140(*(undefined8 **)(param_2 + 0xb0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa860.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa860.c new file mode 100644 index 00000000..3e8910c7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa860.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa860 Unwind@1400fa860 + * Pseudocode, not original source. */ + +void Unwind_1400fa860(undefined8 param_1,longlong param_2) + +{ + FUN_14009b660((undefined8 *)(*(longlong *)(param_2 + 0xb0) + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa870.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa870.c new file mode 100644 index 00000000..ecc4a8a9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa870.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa870 Unwind@1400fa870 + * Pseudocode, not original source. */ + +void Unwind_1400fa870(undefined8 param_1,longlong param_2) + +{ + FUN_14009b6a0((undefined8 *)(*(longlong *)(param_2 + 0xb0) + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa880.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa880.c new file mode 100644 index 00000000..1861004d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa880.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa880 Unwind@1400fa880 + * Pseudocode, not original source. */ + +void Unwind_1400fa880(undefined8 param_1,longlong param_2) + +{ + FUN_140049e80((undefined8 *)(*(longlong *)(param_2 + 0xb0) + 0x70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa890.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa890.c new file mode 100644 index 00000000..d67e714b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa890.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa890 Unwind@1400fa890 + * Pseudocode, not original source. */ + +void Unwind_1400fa890(undefined8 param_1,longlong param_2) + +{ + FUN_14003f370((undefined8 *)(*(longlong *)(param_2 + 0xb0) + 0x78)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa8a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa8a0.c new file mode 100644 index 00000000..8d158bde --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa8a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa8a0 Unwind@1400fa8a0 + * Pseudocode, not original source. */ + +void Unwind_1400fa8a0(undefined8 param_1,longlong param_2) + +{ + FUN_1400912f0((undefined8 *)(*(longlong *)(param_2 + 0xb0) + 0x88)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa8c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa8c0.c new file mode 100644 index 00000000..2f404e74 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa8c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa8c0 Unwind@1400fa8c0 + * Pseudocode, not original source. */ + +void Unwind_1400fa8c0(undefined8 param_1,longlong param_2) + +{ + FUN_1400912b0((undefined8 *)(*(longlong *)(param_2 + 0xb0) + 0x90)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa8e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa8e0.c new file mode 100644 index 00000000..fe0f3b3d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa8e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa8e0 Unwind@1400fa8e0 + * Pseudocode, not original source. */ + +void Unwind_1400fa8e0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14009c970(*(longlong *)(param_2 + 0xb0) + 0xa0,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa900.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa900.c new file mode 100644 index 00000000..cd7a2805 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa900.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa900 Unwind@1400fa900 + * Pseudocode, not original source. */ + +void Unwind_1400fa900(undefined8 param_1,longlong param_2) + +{ + FUN_140049fc0((undefined8 *)(*(longlong *)(param_2 + 0xb0) + 0x98)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa920.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa920.c new file mode 100644 index 00000000..2331589b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa920.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa920 Unwind@1400fa920 + * Pseudocode, not original source. */ + +void Unwind_1400fa920(undefined8 param_1,longlong param_2) + +{ + FUN_14004a040(*(longlong *)(param_2 + 0xb0) + 0xd8); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa940.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa940.c new file mode 100644 index 00000000..8bbdd091 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa940.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa940 Unwind@1400fa940 + * Pseudocode, not original source. */ + +void Unwind_1400fa940(undefined8 param_1,longlong param_2) + +{ + FUN_14004a900((longlong *)(*(longlong *)(param_2 + 0xb0) + 0x4e0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa960.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa960.c new file mode 100644 index 00000000..cc8c2a1d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa960.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa960 Unwind@1400fa960 + * Pseudocode, not original source. */ + +void Unwind_1400fa960(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003d110((undefined4 *)(*(longlong *)(param_2 + 0xb0) + 0x518),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa980.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa980.c new file mode 100644 index 00000000..55176b35 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa980.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa980 Unwind@1400fa980 + * Pseudocode, not original source. */ + +void Unwind_1400fa980(undefined8 param_1,longlong param_2,ulonglong param_3,ulonglong param_4) + +{ + FUN_14009e710((longlong *)(*(longlong *)(param_2 + 0xb0) + 0x5d0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa9a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa9a0.c new file mode 100644 index 00000000..3a26151b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa9a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa9a0 Unwind@1400fa9a0 + * Pseudocode, not original source. */ + +void Unwind_1400fa9a0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14009d3d0((longlong *)(*(longlong *)(param_2 + 0xb0) + 0x5d8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa9c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa9c0.c new file mode 100644 index 00000000..49693d0f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa9c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa9c0 Unwind@1400fa9c0 + * Pseudocode, not original source. */ + +void Unwind_1400fa9c0(undefined8 param_1,longlong param_2) + +{ + FUN_1400b0650((char *)(*(longlong *)(param_2 + 0xb0) + 0x5e0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fa9e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fa9e0.c new file mode 100644 index 00000000..d622fe41 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fa9e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fa9e0 Unwind@1400fa9e0 + * Pseudocode, not original source. */ + +void Unwind_1400fa9e0(undefined8 param_1,longlong param_2) + +{ + FUN_1400aad10((longlong *)(*(longlong *)(param_2 + 0xb0) + 0x6e0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400faa00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400faa00.c new file mode 100644 index 00000000..f19053bc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400faa00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400faa00 Unwind@1400faa00 + * Pseudocode, not original source. */ + +void Unwind_1400faa00(undefined8 param_1,longlong param_2) + +{ + FUN_14004a040(*(longlong *)(param_2 + 0xb0) + 0x708); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400faa20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400faa20.c new file mode 100644 index 00000000..02178b89 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400faa20.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400faa20 Unwind@1400faa20 + * Pseudocode, not original source. */ + +void Unwind_1400faa20(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140048130((undefined8 *)(*(longlong *)(param_2 + 0xb0) + 0xb08),param_2,param_3,param_4) + ; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400faa40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400faa40.c new file mode 100644 index 00000000..475bc9ae --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400faa40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400faa40 Unwind@1400faa40 + * Pseudocode, not original source. */ + +void Unwind_1400faa40(undefined8 param_1,longlong param_2) + +{ + FUN_1400bfcf0((longlong *)(*(longlong *)(param_2 + 0xb0) + 0x1520)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400faa60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400faa60.c new file mode 100644 index 00000000..e382f736 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400faa60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400faa60 Unwind@1400faa60 + * Pseudocode, not original source. */ + +void Unwind_1400faa60(undefined8 param_1,longlong param_2) + +{ + FUN_1400aad10((longlong *)(*(longlong *)(param_2 + 0xb0) + 0x1530)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400faa80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400faa80.c new file mode 100644 index 00000000..4072cdc6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400faa80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400faa80 Unwind@1400faa80 + * Pseudocode, not original source. */ + +void Unwind_1400faa80(undefined8 param_1,longlong param_2) + +{ + FUN_14009b710((undefined8 *)(*(longlong *)(param_2 + 0xb0) + 0x1550)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400faaa0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400faaa0.c new file mode 100644 index 00000000..85e02813 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400faaa0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400faaa0 Unwind@1400faaa0 + * Pseudocode, not original source. */ + +void Unwind_1400faaa0(undefined8 param_1,longlong param_2) + +{ + FUN_14009d480((longlong *)(*(longlong *)(param_2 + 0xb0) + 0x1570)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400faac0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400faac0.c new file mode 100644 index 00000000..aef4163d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400faac0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400faac0 Unwind@1400faac0 + * Pseudocode, not original source. */ + +void Unwind_1400faac0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140001c20((longlong *)(*(longlong *)(param_2 + 0xb0) + 0x1588),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400faae0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400faae0.c new file mode 100644 index 00000000..00ccaa79 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400faae0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400faae0 Unwind@1400faae0 + * Pseudocode, not original source. */ + +void Unwind_1400faae0(undefined8 param_1,longlong param_2) + +{ + FUN_1400bfcf0((longlong *)(*(longlong *)(param_2 + 0xb0) + 0x15d8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fab00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fab00.c new file mode 100644 index 00000000..242f4f66 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fab00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fab00 Unwind@1400fab00 + * Pseudocode, not original source. */ + +void Unwind_1400fab00(undefined8 param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400b0ca0((longlong *)(param_2[0x16] + 0x15e0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fab20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fab20.c new file mode 100644 index 00000000..5661f053 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fab20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fab20 Unwind@1400fab20 + * Pseudocode, not original source. */ + +void Unwind_1400fab20(undefined8 param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400b0ca0((longlong *)(param_2[0x16] + 0x1600),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fab40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fab40.c new file mode 100644 index 00000000..e4767077 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fab40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fab40 Unwind@1400fab40 + * Pseudocode, not original source. */ + +void Unwind_1400fab40(undefined8 param_1,longlong param_2) + +{ + FUN_1400ac810((char *)(*(longlong *)(param_2 + 0xb0) + 0x1650)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fab60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fab60.c new file mode 100644 index 00000000..dd2e47a8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fab60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fab60 Unwind@1400fab60 + * Pseudocode, not original source. */ + +void Unwind_1400fab60(undefined8 param_1,longlong param_2) + +{ + FUN_1400ac810((char *)(*(longlong *)(param_2 + 0xb0) + 0x16a8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fab80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fab80.c new file mode 100644 index 00000000..8b19d125 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fab80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fab80 Unwind@1400fab80 + * Pseudocode, not original source. */ + +void Unwind_1400fab80(undefined8 param_1,longlong param_2) + +{ + FUN_1400aace0((longlong *)(*(longlong *)(param_2 + 0xb0) + 0x1700)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400faba0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400faba0.c new file mode 100644 index 00000000..92787d5f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400faba0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400faba0 Unwind@1400faba0 + * Pseudocode, not original source. */ + +void Unwind_1400faba0(undefined8 param_1,longlong param_2) + +{ + FUN_1400ac810((char *)(*(longlong *)(param_2 + 0xb0) + 0x1720)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fabc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fabc0.c new file mode 100644 index 00000000..b8d42d7e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fabc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fabc0 Unwind@1400fabc0 + * Pseudocode, not original source. */ + +void Unwind_1400fabc0(undefined8 param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400aad40((longlong *)(param_2[0x16] + 0x17b0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fabe0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fabe0.c new file mode 100644 index 00000000..202b6117 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fabe0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fabe0 Unwind@1400fabe0 + * Pseudocode, not original source. */ + +void Unwind_1400fabe0(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_1400768c0((undefined8 *)(*(longlong *)(param_2 + 0xb0) + 0x17d0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fac00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fac00.c new file mode 100644 index 00000000..8218f9a4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fac00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fac00 Unwind@1400fac00 + * Pseudocode, not original source. */ + +void Unwind_1400fac00(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140079b90((undefined8 *)(*(longlong *)(param_2 + 0xb0) + 0x17f0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fac20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fac20.c new file mode 100644 index 00000000..5d42a5d3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fac20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fac20 Unwind@1400fac20 + * Pseudocode, not original source. */ + +void Unwind_1400fac20(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_1400768c0((undefined8 *)(*(longlong *)(param_2 + 0xb0) + 0x1818)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fac40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fac40.c new file mode 100644 index 00000000..45689efb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fac40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fac40 Unwind@1400fac40 + * Pseudocode, not original source. */ + +void Unwind_1400fac40(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140079b90((undefined8 *)(*(longlong *)(param_2 + 0xb0) + 0x1838)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fac60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fac60.c new file mode 100644 index 00000000..b99e787e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fac60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fac60 Unwind@1400fac60 + * Pseudocode, not original source. */ + +void Unwind_1400fac60(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fac70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fac70.c new file mode 100644 index 00000000..e5e956f5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fac70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fac70 Unwind@1400fac70 + * Pseudocode, not original source. */ + +void Unwind_1400fac70(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fac80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fac80.c new file mode 100644 index 00000000..5f4950ca --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fac80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fac80 Unwind@1400fac80 + * Pseudocode, not original source. */ + +void Unwind_1400fac80(undefined8 param_1,longlong param_2) + +{ + FUN_14009d480((longlong *)(param_2 + 0xb8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fac90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fac90.c new file mode 100644 index 00000000..0fd354b8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fac90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fac90 Unwind@1400fac90 + * Pseudocode, not original source. */ + +void Unwind_1400fac90(undefined8 param_1,longlong param_2) + +{ + FUN_1400bfcf0((longlong *)(param_2 + 0xc0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400faca0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400faca0.c new file mode 100644 index 00000000..da49a384 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400faca0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400faca0 Unwind@1400faca0 + * Pseudocode, not original source. */ + +void Unwind_1400faca0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 200),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400facb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400facb0.c new file mode 100644 index 00000000..69d566fc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400facb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400facb0 Unwind@1400facb0 + * Pseudocode, not original source. */ + +void Unwind_1400facb0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400facc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400facc0.c new file mode 100644 index 00000000..ebc0cfca --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400facc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400facc0 Unwind@1400facc0 + * Pseudocode, not original source. */ + +void Unwind_1400facc0(undefined8 param_1,longlong param_2) + +{ + FUN_140076940(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400facd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400facd0.c new file mode 100644 index 00000000..878f7218 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400facd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400facd0 Unwind@1400facd0 + * Pseudocode, not original source. */ + +void Unwind_1400facd0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140096b50(param_2 + 0x38,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400face0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400face0.c new file mode 100644 index 00000000..6924b846 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400face0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400face0 Unwind@1400face0 + * Pseudocode, not original source. */ + +void Unwind_1400face0(undefined8 param_1,longlong param_2) + +{ + FUN_140076940(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400facf0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400facf0.c new file mode 100644 index 00000000..5526a7f7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400facf0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400facf0 Unwind@1400facf0 + * Pseudocode, not original source. */ + +void Unwind_1400facf0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x180) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fad00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fad00.c new file mode 100644 index 00000000..8718957b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fad00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fad00 Unwind@1400fad00 + * Pseudocode, not original source. */ + +void Unwind_1400fad00(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280(*(longlong **)(param_2 + 0x148),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fad10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fad10.c new file mode 100644 index 00000000..fcbfe9fc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fad10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fad10 Unwind@1400fad10 + * Pseudocode, not original source. */ + +void Unwind_1400fad10(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 0x28),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fad20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fad20.c new file mode 100644 index 00000000..c3a02030 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fad20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fad20 Unwind@1400fad20 + * Pseudocode, not original source. */ + +void Unwind_1400fad20(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140064160((longlong *)(param_2 + 0x38),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fad30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fad30.c new file mode 100644 index 00000000..3f8f583a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fad30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fad30 Unwind@1400fad30 + * Pseudocode, not original source. */ + +void Unwind_1400fad30(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400645f0(param_2 + 0x20,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fad40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fad40.c new file mode 100644 index 00000000..902250cf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fad40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fad40 Unwind@1400fad40 + * Pseudocode, not original source. */ + +void Unwind_1400fad40(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 0x28),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fad50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fad50.c new file mode 100644 index 00000000..0ff40e4f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fad50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fad50 Unwind@1400fad50 + * Pseudocode, not original source. */ + +void Unwind_1400fad50(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140064160((longlong *)(param_2 + 0x38),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fad60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fad60.c new file mode 100644 index 00000000..d3a604b8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fad60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fad60 Unwind@1400fad60 + * Pseudocode, not original source. */ + +void Unwind_1400fad60(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400641e0((longlong *)(param_2 + 0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fad70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fad70.c new file mode 100644 index 00000000..00e65295 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fad70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fad70 Unwind@1400fad70 + * Pseudocode, not original source. */ + +void Unwind_1400fad70(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fad80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fad80.c new file mode 100644 index 00000000..a884873f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fad80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fad80 Unwind@1400fad80 + * Pseudocode, not original source. */ + +void Unwind_1400fad80(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3e0((longlong *)(param_2 + 0x70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fad90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fad90.c new file mode 100644 index 00000000..57680728 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fad90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fad90 Unwind@1400fad90 + * Pseudocode, not original source. */ + +void Unwind_1400fad90(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x98)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fada0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fada0.c new file mode 100644 index 00000000..f48f687e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fada0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fada0 Unwind@1400fada0 + * Pseudocode, not original source. */ + +void Unwind_1400fada0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x150) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fadb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fadb0.c new file mode 100644 index 00000000..876cfd4c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fadb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fadb0 Unwind@1400fadb0 + * Pseudocode, not original source. */ + +void Unwind_1400fadb0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fadc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fadc0.c new file mode 100644 index 00000000..e71a59d6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fadc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fadc0 Unwind@1400fadc0 + * Pseudocode, not original source. */ + +void Unwind_1400fadc0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140096b50(param_2 + 0x70,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fadd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fadd0.c new file mode 100644 index 00000000..26800769 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fadd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fadd0 Unwind@1400fadd0 + * Pseudocode, not original source. */ + +void Unwind_1400fadd0(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fae00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fae00.c new file mode 100644 index 00000000..7e3b7ede --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fae00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fae00 Unwind@1400fae00 + * Pseudocode, not original source. */ + +void Unwind_1400fae00(undefined8 param_1,longlong param_2) + +{ + FUN_140076940(*(longlong *)(param_2 + 0x68) + 8); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fae10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fae10.c new file mode 100644 index 00000000..37ad9c85 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fae10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fae10 Unwind@1400fae10 + * Pseudocode, not original source. */ + +void Unwind_1400fae10(undefined8 param_1,longlong param_2) + +{ + FUN_140076940(param_2 + 0x78); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fae20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fae20.c new file mode 100644 index 00000000..6ae01b48 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fae20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fae20 Unwind@1400fae20 + * Pseudocode, not original source. */ + +void Unwind_1400fae20(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(*(longlong *)(param_2 + 0x208) + 8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fae30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fae30.c new file mode 100644 index 00000000..31ee7146 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fae30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fae30 Unwind@1400fae30 + * Pseudocode, not original source. */ + +void Unwind_1400fae30(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140064160((longlong *)(*(longlong *)(param_2 + 0x208) + 0x18),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fae40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fae40.c new file mode 100644 index 00000000..f34fd7dd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fae40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fae40 Unwind@1400fae40 + * Pseudocode, not original source. */ + +void Unwind_1400fae40(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400641e0((longlong *)(*(longlong *)(param_2 + 0x208) + 0x20),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fae50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fae50.c new file mode 100644 index 00000000..1e180af0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fae50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fae50 Unwind@1400fae50 + * Pseudocode, not original source. */ + +void Unwind_1400fae50(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(*(longlong *)(param_2 + 0x208) + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fae60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fae60.c new file mode 100644 index 00000000..5ebedd86 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fae60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fae60 Unwind@1400fae60 + * Pseudocode, not original source. */ + +void Unwind_1400fae60(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3e0((longlong *)(*(longlong *)(param_2 + 0x208) + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fae70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fae70.c new file mode 100644 index 00000000..b7ab368f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fae70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fae70 Unwind@1400fae70 + * Pseudocode, not original source. */ + +void Unwind_1400fae70(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(*(longlong *)(param_2 + 0x208) + 0x78)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fae80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fae80.c new file mode 100644 index 00000000..24155fc3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fae80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fae80 Unwind@1400fae80 + * Pseudocode, not original source. */ + +void Unwind_1400fae80(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x210) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fae90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fae90.c new file mode 100644 index 00000000..9c08061e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fae90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fae90 Unwind@1400fae90 + * Pseudocode, not original source. */ + +void Unwind_1400fae90(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400faea0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400faea0.c new file mode 100644 index 00000000..aa1c0351 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400faea0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400faea0 Unwind@1400faea0 + * Pseudocode, not original source. */ + +void Unwind_1400faea0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003d110(*(undefined4 **)(param_2 + 0x200),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400faeb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400faeb0.c new file mode 100644 index 00000000..02766bde --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400faeb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400faeb0 Unwind@1400faeb0 + * Pseudocode, not original source. */ + +void Unwind_1400faeb0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400faec0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400faec0.c new file mode 100644 index 00000000..e0f8a0ed --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400faec0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400faec0 Unwind@1400faec0 + * Pseudocode, not original source. */ + +void Unwind_1400faec0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003d110(*(undefined4 **)(param_2 + 0x200),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400faed0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400faed0.c new file mode 100644 index 00000000..10beb9bf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400faed0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400faed0 Unwind@1400faed0 + * Pseudocode, not original source. */ + +void Unwind_1400faed0(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140051090((char *)(*(longlong *)(param_2 + 0x218) + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400faee0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400faee0.c new file mode 100644 index 00000000..d514725b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400faee0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400faee0 Unwind@1400faee0 + * Pseudocode, not original source. */ + +void Unwind_1400faee0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400faef0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400faef0.c new file mode 100644 index 00000000..8860d006 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400faef0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400faef0 Unwind@1400faef0 + * Pseudocode, not original source. */ + +void Unwind_1400faef0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003d110(*(undefined4 **)(param_2 + 0x200),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400faf00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400faf00.c new file mode 100644 index 00000000..1e48a79f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400faf00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400faf00 Unwind@1400faf00 + * Pseudocode, not original source. */ + +void Unwind_1400faf00(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(*(longlong *)(param_2 + 0x218) + 0x10),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400faf10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400faf10.c new file mode 100644 index 00000000..9330e6a8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400faf10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400faf10 Unwind@1400faf10 + * Pseudocode, not original source. */ + +void Unwind_1400faf10(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(*(longlong *)(param_2 + 0x218) + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400faf20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400faf20.c new file mode 100644 index 00000000..a476eeb4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400faf20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400faf20 Unwind@1400faf20 + * Pseudocode, not original source. */ + +void Unwind_1400faf20(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x200) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400faf30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400faf30.c new file mode 100644 index 00000000..d026e458 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400faf30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400faf30 Unwind@1400faf30 + * Pseudocode, not original source. */ + +void Unwind_1400faf30(undefined8 param_1,longlong param_2) + +{ + FUN_14009d480((longlong *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400faf40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400faf40.c new file mode 100644 index 00000000..778cf367 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400faf40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400faf40 Unwind@1400faf40 + * Pseudocode, not original source. */ + +void Unwind_1400faf40(undefined8 param_1,longlong param_2) + +{ + FUN_1400bfcf0((longlong *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400faf50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400faf50.c new file mode 100644 index 00000000..41ce8c70 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400faf50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400faf50 Unwind@1400faf50 + * Pseudocode, not original source. */ + +void Unwind_1400faf50(undefined8 param_1,longlong param_2) + +{ + FUN_1400bfcf0((longlong *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400faf60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400faf60.c new file mode 100644 index 00000000..927ff857 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400faf60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400faf60 Unwind@1400faf60 + * Pseudocode, not original source. */ + +void Unwind_1400faf60(undefined8 param_1,longlong param_2) + +{ + FUN_1400bfcf0((longlong *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400faf70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400faf70.c new file mode 100644 index 00000000..d2be4229 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400faf70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400faf70 Unwind@1400faf70 + * Pseudocode, not original source. */ + +void Unwind_1400faf70(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140001c20((longlong *)(param_2 + 0x120),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400faf80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400faf80.c new file mode 100644 index 00000000..cf899ed4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400faf80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400faf80 Unwind@1400faf80 + * Pseudocode, not original source. */ + +void Unwind_1400faf80(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x120),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400faf90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400faf90.c new file mode 100644 index 00000000..cd28469e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400faf90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400faf90 Unwind@1400faf90 + * Pseudocode, not original source. */ + +void Unwind_1400faf90(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fafa0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fafa0.c new file mode 100644 index 00000000..982b9a11 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fafa0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fafa0 Unwind@1400fafa0 + * Pseudocode, not original source. */ + +void Unwind_1400fafa0(undefined8 param_1,longlong param_2) + +{ + FUN_1400adb60((longlong *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fafb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fafb0.c new file mode 100644 index 00000000..323e2f30 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fafb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fafb0 Unwind@1400fafb0 + * Pseudocode, not original source. */ + +void Unwind_1400fafb0(undefined8 param_1,longlong param_2) + +{ + FUN_1400adb60((longlong *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fafc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fafc0.c new file mode 100644 index 00000000..bf0401ad --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fafc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fafc0 Unwind@1400fafc0 + * Pseudocode, not original source. */ + +void Unwind_1400fafc0(undefined8 param_1,longlong param_2) + +{ + FUN_1400bfcf0((longlong *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fafd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fafd0.c new file mode 100644 index 00000000..7c76cbcf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fafd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fafd0 Unwind@1400fafd0 + * Pseudocode, not original source. */ + +void Unwind_1400fafd0(undefined8 param_1,longlong param_2) + +{ + operator_delete(*(void **)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fafe0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fafe0.c new file mode 100644 index 00000000..059ece0d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fafe0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fafe0 Unwind@1400fafe0 + * Pseudocode, not original source. */ + +void Unwind_1400fafe0(undefined8 param_1,longlong param_2) + +{ + FUN_1400bfcf0((longlong *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400faff0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400faff0.c new file mode 100644 index 00000000..c47b8677 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400faff0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400faff0 Unwind@1400faff0 + * Pseudocode, not original source. */ + +void Unwind_1400faff0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 0x88),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb000.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb000.c new file mode 100644 index 00000000..7d1823d0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb000.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb000 Unwind@1400fb000 + * Pseudocode, not original source. */ + +void Unwind_1400fb000(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140064160((longlong *)(param_2 + 0x98),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb010.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb010.c new file mode 100644 index 00000000..a3c84b42 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb010.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb010 Unwind@1400fb010 + * Pseudocode, not original source. */ + +void Unwind_1400fb010(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400645f0(param_2 + 0x80,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb020.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb020.c new file mode 100644 index 00000000..78ea8b65 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb020.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb020 Unwind@1400fb020 + * Pseudocode, not original source. */ + +void Unwind_1400fb020(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb030.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb030.c new file mode 100644 index 00000000..6847db61 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb030.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb030 Unwind@1400fb030 + * Pseudocode, not original source. */ + +void Unwind_1400fb030(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0xa0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb040.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb040.c new file mode 100644 index 00000000..7a7eecbd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb040.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb040 Unwind@1400fb040 + * Pseudocode, not original source. */ + +void Unwind_1400fb040(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x78)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb050.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb050.c new file mode 100644 index 00000000..293bd143 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb050.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb050 Unwind@1400fb050 + * Pseudocode, not original source. */ + +void Unwind_1400fb050(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb060.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb060.c new file mode 100644 index 00000000..4f915b68 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb060.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb060 Unwind@1400fb060 + * Pseudocode, not original source. */ + +void Unwind_1400fb060(undefined8 param_1,longlong param_2) + +{ + FUN_1400a8ff0((longlong *)(param_2 + 0x198)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb070.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb070.c new file mode 100644 index 00000000..e2b6469c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb070.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb070 Unwind@1400fb070 + * Pseudocode, not original source. */ + +void Unwind_1400fb070(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 0x38),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb080.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb080.c new file mode 100644 index 00000000..ef65bcd9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb080.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb080 Unwind@1400fb080 + * Pseudocode, not original source. */ + +void Unwind_1400fb080(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140064160((longlong *)(param_2 + 0x48),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb090.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb090.c new file mode 100644 index 00000000..2c4f2cd6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb090.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb090 Unwind@1400fb090 + * Pseudocode, not original source. */ + +void Unwind_1400fb090(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400645f0(param_2 + 0x30,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb0a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb0a0.c new file mode 100644 index 00000000..04eeb2ec --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb0a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb0a0 Unwind@1400fb0a0 + * Pseudocode, not original source. */ + +void Unwind_1400fb0a0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x120)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb0b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb0b0.c new file mode 100644 index 00000000..9ed3c784 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb0b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb0b0 Unwind@1400fb0b0 + * Pseudocode, not original source. */ + +void Unwind_1400fb0b0(undefined8 param_1,longlong param_2) + +{ + FUN_1400bfcf0((longlong *)(param_2 + 0x188)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb0c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb0c0.c new file mode 100644 index 00000000..baca45dc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb0c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb0c0 Unwind@1400fb0c0 + * Pseudocode, not original source. */ + +void Unwind_1400fb0c0(undefined8 param_1,longlong param_2) + +{ + FUN_1400adb60((longlong *)(param_2 + 0x170)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb0d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb0d0.c new file mode 100644 index 00000000..f1ba8a06 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb0d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb0d0 Unwind@1400fb0d0 + * Pseudocode, not original source. */ + +void Unwind_1400fb0d0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 0x38),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb0e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb0e0.c new file mode 100644 index 00000000..f569e8ea --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb0e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb0e0 Unwind@1400fb0e0 + * Pseudocode, not original source. */ + +void Unwind_1400fb0e0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140064160((longlong *)(param_2 + 0x48),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb0f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb0f0.c new file mode 100644 index 00000000..8f40b4e7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb0f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb0f0 Unwind@1400fb0f0 + * Pseudocode, not original source. */ + +void Unwind_1400fb0f0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400645f0(param_2 + 0x30,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb100.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb100.c new file mode 100644 index 00000000..4723ef4a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb100.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb100 Unwind@1400fb100 + * Pseudocode, not original source. */ + +void Unwind_1400fb100(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 0x38),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb110.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb110.c new file mode 100644 index 00000000..3490c205 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb110.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb110 Unwind@1400fb110 + * Pseudocode, not original source. */ + +void Unwind_1400fb110(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140064160((longlong *)(param_2 + 0x48),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb120.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb120.c new file mode 100644 index 00000000..54a4ff13 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb120.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb120 Unwind@1400fb120 + * Pseudocode, not original source. */ + +void Unwind_1400fb120(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400641e0((longlong *)(param_2 + 0x50),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb130.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb130.c new file mode 100644 index 00000000..5df145c4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb130.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb130 Unwind@1400fb130 + * Pseudocode, not original source. */ + +void Unwind_1400fb130(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb140.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb140.c new file mode 100644 index 00000000..4eb13468 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb140.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb140 Unwind@1400fb140 + * Pseudocode, not original source. */ + +void Unwind_1400fb140(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3e0((longlong *)(param_2 + 0x80)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb150.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb150.c new file mode 100644 index 00000000..f708469a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb150.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb150 Unwind@1400fb150 + * Pseudocode, not original source. */ + +void Unwind_1400fb150(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0xa8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb160.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb160.c new file mode 100644 index 00000000..7213854f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb160.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb160 Unwind@1400fb160 + * Pseudocode, not original source. */ + +void Unwind_1400fb160(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x130) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb170.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb170.c new file mode 100644 index 00000000..0da8a26e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb170.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb170 Unwind@1400fb170 + * Pseudocode, not original source. */ + +void Unwind_1400fb170(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb180.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb180.c new file mode 100644 index 00000000..69efee27 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb180.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb180 Unwind@1400fb180 + * Pseudocode, not original source. */ + +void Unwind_1400fb180(undefined8 param_1,longlong param_2) + +{ + FUN_1400bfcf0((longlong *)(param_2 + 0x170)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb190.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb190.c new file mode 100644 index 00000000..0c6e54f9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb190.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb190 Unwind@1400fb190 + * Pseudocode, not original source. */ + +void Unwind_1400fb190(undefined8 param_1,longlong param_2) + +{ + FUN_1400a8ff0((longlong *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb1a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb1a0.c new file mode 100644 index 00000000..f30f1f44 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb1a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb1a0 Unwind@1400fb1a0 + * Pseudocode, not original source. */ + +void Unwind_1400fb1a0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 0x58),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb1b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb1b0.c new file mode 100644 index 00000000..a85085af --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb1b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb1b0 Unwind@1400fb1b0 + * Pseudocode, not original source. */ + +void Unwind_1400fb1b0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140064160((longlong *)(param_2 + 0x68),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb1c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb1c0.c new file mode 100644 index 00000000..a461b447 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb1c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb1c0 Unwind@1400fb1c0 + * Pseudocode, not original source. */ + +void Unwind_1400fb1c0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400645f0(param_2 + 0x50,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb1d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb1d0.c new file mode 100644 index 00000000..b881d794 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb1d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb1d0 Unwind@1400fb1d0 + * Pseudocode, not original source. */ + +void Unwind_1400fb1d0(undefined8 param_1,longlong param_2) + +{ + FUN_1400bfcf0((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb1e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb1e0.c new file mode 100644 index 00000000..4d876ffc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb1e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb1e0 Unwind@1400fb1e0 + * Pseudocode, not original source. */ + +void Unwind_1400fb1e0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140077140(*(undefined8 **)(param_2 + 0x90),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb1f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb1f0.c new file mode 100644 index 00000000..66ba0c1f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb1f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb1f0 Unwind@1400fb1f0 + * Pseudocode, not original source. */ + +void Unwind_1400fb1f0(undefined8 param_1,longlong param_2) + +{ + FUN_14009b660((undefined8 *)(*(longlong *)(param_2 + 0x90) + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb200.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb200.c new file mode 100644 index 00000000..59bb9795 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb200.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb200 Unwind@1400fb200 + * Pseudocode, not original source. */ + +void Unwind_1400fb200(undefined8 param_1,longlong param_2) + +{ + FUN_14009b6a0((undefined8 *)(*(longlong *)(param_2 + 0x90) + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb210.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb210.c new file mode 100644 index 00000000..def66d28 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb210.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb210 Unwind@1400fb210 + * Pseudocode, not original source. */ + +void Unwind_1400fb210(undefined8 param_1,longlong param_2) + +{ + FUN_140049e80((undefined8 *)(*(longlong *)(param_2 + 0x90) + 0x70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb220.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb220.c new file mode 100644 index 00000000..515f1157 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb220.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb220 Unwind@1400fb220 + * Pseudocode, not original source. */ + +void Unwind_1400fb220(undefined8 param_1,longlong param_2) + +{ + FUN_14003f370((undefined8 *)(*(longlong *)(param_2 + 0x90) + 0x78)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb230.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb230.c new file mode 100644 index 00000000..6de52f3c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb230.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb230 Unwind@1400fb230 + * Pseudocode, not original source. */ + +void Unwind_1400fb230(undefined8 param_1,longlong param_2) + +{ + FUN_1400912f0((undefined8 *)(*(longlong *)(param_2 + 0x90) + 0x88)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb250.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb250.c new file mode 100644 index 00000000..2c3c7824 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb250.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb250 Unwind@1400fb250 + * Pseudocode, not original source. */ + +void Unwind_1400fb250(undefined8 param_1,longlong param_2) + +{ + FUN_1400912b0((undefined8 *)(*(longlong *)(param_2 + 0x90) + 0x90)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb270.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb270.c new file mode 100644 index 00000000..2fe88708 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb270.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb270 Unwind@1400fb270 + * Pseudocode, not original source. */ + +void Unwind_1400fb270(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14009c970(*(longlong *)(param_2 + 0x90) + 0xa0,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb290.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb290.c new file mode 100644 index 00000000..99105595 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb290.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb290 Unwind@1400fb290 + * Pseudocode, not original source. */ + +void Unwind_1400fb290(undefined8 param_1,longlong param_2) + +{ + FUN_140049fc0((undefined8 *)(*(longlong *)(param_2 + 0x90) + 0x98)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb2b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb2b0.c new file mode 100644 index 00000000..1a947608 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb2b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb2b0 Unwind@1400fb2b0 + * Pseudocode, not original source. */ + +void Unwind_1400fb2b0(undefined8 param_1,longlong param_2) + +{ + FUN_14004a040(*(longlong *)(param_2 + 0x90) + 0xd8); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb2d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb2d0.c new file mode 100644 index 00000000..c8223ede --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb2d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb2d0 Unwind@1400fb2d0 + * Pseudocode, not original source. */ + +void Unwind_1400fb2d0(undefined8 param_1,longlong param_2) + +{ + FUN_14004a900((longlong *)(*(longlong *)(param_2 + 0x90) + 0x4e0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb2f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb2f0.c new file mode 100644 index 00000000..4aa0ef37 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb2f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb2f0 Unwind@1400fb2f0 + * Pseudocode, not original source. */ + +void Unwind_1400fb2f0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003d110((undefined4 *)(*(longlong *)(param_2 + 0x90) + 0x518),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb310.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb310.c new file mode 100644 index 00000000..a730d284 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb310.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb310 Unwind@1400fb310 + * Pseudocode, not original source. */ + +void Unwind_1400fb310(undefined8 param_1,longlong param_2,ulonglong param_3,ulonglong param_4) + +{ + FUN_14009e710((longlong *)(*(longlong *)(param_2 + 0x90) + 0x5d0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb330.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb330.c new file mode 100644 index 00000000..0cb9a049 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb330.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb330 Unwind@1400fb330 + * Pseudocode, not original source. */ + +void Unwind_1400fb330(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14009d3d0((longlong *)(*(longlong *)(param_2 + 0x90) + 0x5d8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb350.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb350.c new file mode 100644 index 00000000..b0cb8198 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb350.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb350 Unwind@1400fb350 + * Pseudocode, not original source. */ + +void Unwind_1400fb350(undefined8 param_1,longlong param_2) + +{ + FUN_1400b0650((char *)(*(longlong *)(param_2 + 0x90) + 0x5e0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb370.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb370.c new file mode 100644 index 00000000..45653643 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb370.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb370 Unwind@1400fb370 + * Pseudocode, not original source. */ + +void Unwind_1400fb370(undefined8 param_1,longlong param_2) + +{ + FUN_1400aad10((longlong *)(*(longlong *)(param_2 + 0x90) + 0x6e0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb390.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb390.c new file mode 100644 index 00000000..25367fb4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb390.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb390 Unwind@1400fb390 + * Pseudocode, not original source. */ + +void Unwind_1400fb390(undefined8 param_1,longlong param_2) + +{ + FUN_14004a040(*(longlong *)(param_2 + 0x90) + 0x708); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb3b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb3b0.c new file mode 100644 index 00000000..0a00bb5a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb3b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb3b0 Unwind@1400fb3b0 + * Pseudocode, not original source. */ + +void Unwind_1400fb3b0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140048130(*(undefined8 **)(param_2 + 0x98),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb3c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb3c0.c new file mode 100644 index 00000000..267cc9ec --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb3c0.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb3c0 Unwind@1400fb3c0 + * Pseudocode, not original source. */ + +void Unwind_1400fb3c0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140048130((undefined8 *)(*(longlong *)(param_2 + 0x90) + 0xb08),param_2,param_3,param_4) + ; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb3e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb3e0.c new file mode 100644 index 00000000..277e103e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb3e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb3e0 Unwind@1400fb3e0 + * Pseudocode, not original source. */ + +void Unwind_1400fb3e0(undefined8 param_1,longlong param_2) + +{ + FUN_1400bfcf0((longlong *)(*(longlong *)(param_2 + 0x90) + 0x1520)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb400.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb400.c new file mode 100644 index 00000000..161a82d4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb400.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb400 Unwind@1400fb400 + * Pseudocode, not original source. */ + +void Unwind_1400fb400(undefined8 param_1,longlong param_2) + +{ + FUN_1400aad10((longlong *)(*(longlong *)(param_2 + 0x90) + 0x1530)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb420.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb420.c new file mode 100644 index 00000000..76adee57 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb420.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb420 Unwind@1400fb420 + * Pseudocode, not original source. */ + +void Unwind_1400fb420(undefined8 param_1,longlong param_2) + +{ + FUN_14009b710((undefined8 *)(*(longlong *)(param_2 + 0x90) + 0x1550)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb440.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb440.c new file mode 100644 index 00000000..69b56eb6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb440.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb440 Unwind@1400fb440 + * Pseudocode, not original source. */ + +void Unwind_1400fb440(undefined8 param_1,longlong param_2) + +{ + FUN_14009d480((longlong *)(*(longlong *)(param_2 + 0x90) + 0x1570)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb460.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb460.c new file mode 100644 index 00000000..cf05f4d3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb460.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb460 Unwind@1400fb460 + * Pseudocode, not original source. */ + +void Unwind_1400fb460(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140001c20((longlong *)(*(longlong *)(param_2 + 0x90) + 0x1588),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb480.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb480.c new file mode 100644 index 00000000..5f08ed03 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb480.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb480 Unwind@1400fb480 + * Pseudocode, not original source. */ + +void Unwind_1400fb480(undefined8 param_1,longlong param_2) + +{ + FUN_1400bfcf0((longlong *)(*(longlong *)(param_2 + 0x90) + 0x15d8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb4a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb4a0.c new file mode 100644 index 00000000..36b68ac3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb4a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb4a0 Unwind@1400fb4a0 + * Pseudocode, not original source. */ + +void Unwind_1400fb4a0(undefined8 param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400b0ca0((longlong *)(param_2[0x12] + 0x15e0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb4c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb4c0.c new file mode 100644 index 00000000..fc720cfe --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb4c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb4c0 Unwind@1400fb4c0 + * Pseudocode, not original source. */ + +void Unwind_1400fb4c0(undefined8 param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400b0ca0((longlong *)(param_2[0x12] + 0x1600),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb4e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb4e0.c new file mode 100644 index 00000000..98c115e0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb4e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb4e0 Unwind@1400fb4e0 + * Pseudocode, not original source. */ + +void Unwind_1400fb4e0(undefined8 param_1,longlong param_2) + +{ + FUN_1400ac810((char *)(*(longlong *)(param_2 + 0x90) + 0x1650)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb500.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb500.c new file mode 100644 index 00000000..d3152cdb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb500.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb500 Unwind@1400fb500 + * Pseudocode, not original source. */ + +void Unwind_1400fb500(undefined8 param_1,longlong param_2) + +{ + FUN_1400ac810((char *)(*(longlong *)(param_2 + 0x90) + 0x16a8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb520.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb520.c new file mode 100644 index 00000000..a9d815fc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb520.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb520 Unwind@1400fb520 + * Pseudocode, not original source. */ + +void Unwind_1400fb520(undefined8 param_1,longlong param_2) + +{ + FUN_1400aace0((longlong *)(*(longlong *)(param_2 + 0x90) + 0x1700)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb540.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb540.c new file mode 100644 index 00000000..b2ea6b52 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb540.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb540 Unwind@1400fb540 + * Pseudocode, not original source. */ + +void Unwind_1400fb540(undefined8 param_1,longlong param_2) + +{ + FUN_1400ac810((char *)(*(longlong *)(param_2 + 0x90) + 0x1720)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb560.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb560.c new file mode 100644 index 00000000..29d3e44f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb560.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb560 Unwind@1400fb560 + * Pseudocode, not original source. */ + +void Unwind_1400fb560(undefined8 param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400aad40((longlong *)(param_2[0x12] + 0x17b0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb580.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb580.c new file mode 100644 index 00000000..f1a9e3fe --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb580.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb580 Unwind@1400fb580 + * Pseudocode, not original source. */ + +void Unwind_1400fb580(undefined8 param_1,longlong param_2) + +{ + FUN_1400768c0(*(undefined8 **)(param_2 + 0x98)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb590.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb590.c new file mode 100644 index 00000000..bf66791e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb590.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb590 Unwind@1400fb590 + * Pseudocode, not original source. */ + +void Unwind_1400fb590(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_1400768c0((undefined8 *)(*(longlong *)(param_2 + 0x90) + 0x17d0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb5b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb5b0.c new file mode 100644 index 00000000..105dd930 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb5b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb5b0 Unwind@1400fb5b0 + * Pseudocode, not original source. */ + +void Unwind_1400fb5b0(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140079b90((undefined8 *)(*(longlong *)(param_2 + 0x90) + 0x17f0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb5d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb5d0.c new file mode 100644 index 00000000..7bdb4365 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb5d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb5d0 Unwind@1400fb5d0 + * Pseudocode, not original source. */ + +void Unwind_1400fb5d0(undefined8 param_1,longlong param_2) + +{ + FUN_1400768c0(*(undefined8 **)(param_2 + 0x98)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb5e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb5e0.c new file mode 100644 index 00000000..7da049f6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb5e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb5e0 Unwind@1400fb5e0 + * Pseudocode, not original source. */ + +void Unwind_1400fb5e0(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_1400768c0((undefined8 *)(*(longlong *)(param_2 + 0x90) + 0x1818)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb600.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb600.c new file mode 100644 index 00000000..9851fa86 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb600.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb600 Unwind@1400fb600 + * Pseudocode, not original source. */ + +void Unwind_1400fb600(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140079b90((undefined8 *)(*(longlong *)(param_2 + 0x90) + 0x1838)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb620.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb620.c new file mode 100644 index 00000000..840a937a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb620.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb620 Unwind@1400fb620 + * Pseudocode, not original source. */ + +void Unwind_1400fb620(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14009d3d0((longlong *)(param_2 + 0x98),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb630.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb630.c new file mode 100644 index 00000000..006628a0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb630.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb630 Unwind@1400fb630 + * Pseudocode, not original source. */ + +void Unwind_1400fb630(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb640.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb640.c new file mode 100644 index 00000000..28299e69 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb640.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb640 Unwind@1400fb640 + * Pseudocode, not original source. */ + +void Unwind_1400fb640(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003d110(*(undefined4 **)(param_2 + 0xa0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb650.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb650.c new file mode 100644 index 00000000..26bd478b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb650.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb650 Unwind@1400fb650 + * Pseudocode, not original source. */ + +void Unwind_1400fb650(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x120)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb660.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb660.c new file mode 100644 index 00000000..e21a8ba3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb660.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb660 Unwind@1400fb660 + * Pseudocode, not original source. */ + +void Unwind_1400fb660(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 0x38),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb670.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb670.c new file mode 100644 index 00000000..a2902797 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb670.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb670 Unwind@1400fb670 + * Pseudocode, not original source. */ + +void Unwind_1400fb670(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140064160((longlong *)(param_2 + 0x48),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb680.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb680.c new file mode 100644 index 00000000..3509faba --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb680.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb680 Unwind@1400fb680 + * Pseudocode, not original source. */ + +void Unwind_1400fb680(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400645f0(param_2 + 0x30,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb690.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb690.c new file mode 100644 index 00000000..dcd7eabb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb690.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb690 Unwind@1400fb690 + * Pseudocode, not original source. */ + +void Unwind_1400fb690(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_14003e8b0(*(LPVOID *)(param_2 + 0x180)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb6b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb6b0.c new file mode 100644 index 00000000..fd4554a5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb6b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb6b0 Unwind@1400fb6b0 + * Pseudocode, not original source. */ + +void Unwind_1400fb6b0(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb6d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb6d0.c new file mode 100644 index 00000000..45276ae2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb6d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb6d0 Unwind@1400fb6d0 + * Pseudocode, not original source. */ + +void Unwind_1400fb6d0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 0x180),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb6e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb6e0.c new file mode 100644 index 00000000..349483f0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb6e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb6e0 Unwind@1400fb6e0 + * Pseudocode, not original source. */ + +void Unwind_1400fb6e0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb6f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb6f0.c new file mode 100644 index 00000000..aa3e5179 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb6f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb6f0 Unwind@1400fb6f0 + * Pseudocode, not original source. */ + +void Unwind_1400fb6f0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x130)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb700.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb700.c new file mode 100644 index 00000000..8ae4a70d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb700.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb700 Unwind@1400fb700 + * Pseudocode, not original source. */ + +void Unwind_1400fb700(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 0x38),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb710.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb710.c new file mode 100644 index 00000000..6459c919 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb710.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb710 Unwind@1400fb710 + * Pseudocode, not original source. */ + +void Unwind_1400fb710(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140064160((longlong *)(param_2 + 0x48),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb720.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb720.c new file mode 100644 index 00000000..867248f3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb720.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb720 Unwind@1400fb720 + * Pseudocode, not original source. */ + +void Unwind_1400fb720(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400641e0((longlong *)(param_2 + 0x50),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb730.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb730.c new file mode 100644 index 00000000..7933ede4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb730.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb730 Unwind@1400fb730 + * Pseudocode, not original source. */ + +void Unwind_1400fb730(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb740.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb740.c new file mode 100644 index 00000000..bf843d0a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb740.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb740 Unwind@1400fb740 + * Pseudocode, not original source. */ + +void Unwind_1400fb740(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3e0((longlong *)(param_2 + 0x80)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb750.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb750.c new file mode 100644 index 00000000..1a25e68e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb750.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb750 Unwind@1400fb750 + * Pseudocode, not original source. */ + +void Unwind_1400fb750(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0xa8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb760.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb760.c new file mode 100644 index 00000000..00fd3f56 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb760.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb760 Unwind@1400fb760 + * Pseudocode, not original source. */ + +void Unwind_1400fb760(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x180) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb770.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb770.c new file mode 100644 index 00000000..0e61f999 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb770.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb770 Unwind@1400fb770 + * Pseudocode, not original source. */ + +void Unwind_1400fb770(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280(*(longlong **)(param_2 + 400),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb780.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb780.c new file mode 100644 index 00000000..752ba397 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb780.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb780 Unwind@1400fb780 + * Pseudocode, not original source. */ + +void Unwind_1400fb780(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x120)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb790.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb790.c new file mode 100644 index 00000000..c68e58db --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb790.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb790 Unwind@1400fb790 + * Pseudocode, not original source. */ + +void Unwind_1400fb790(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 0x38),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb7a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb7a0.c new file mode 100644 index 00000000..b01d6ead --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb7a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb7a0 Unwind@1400fb7a0 + * Pseudocode, not original source. */ + +void Unwind_1400fb7a0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140064160((longlong *)(param_2 + 0x48),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb7b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb7b0.c new file mode 100644 index 00000000..4f25aef8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb7b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb7b0 Unwind@1400fb7b0 + * Pseudocode, not original source. */ + +void Unwind_1400fb7b0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400645f0(param_2 + 0x30,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb7c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb7c0.c new file mode 100644 index 00000000..da1537fa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb7c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb7c0 Unwind@1400fb7c0 + * Pseudocode, not original source. */ + +void Unwind_1400fb7c0(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_14003e8b0(*(LPVOID *)(param_2 + 0x180)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb7e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb7e0.c new file mode 100644 index 00000000..8ba17392 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb7e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb7e0 Unwind@1400fb7e0 + * Pseudocode, not original source. */ + +void Unwind_1400fb7e0(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb810.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb810.c new file mode 100644 index 00000000..27f96d26 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb810.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb810 Unwind@1400fb810 + * Pseudocode, not original source. */ + +void Unwind_1400fb810(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 0x180),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb820.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb820.c new file mode 100644 index 00000000..5a9db5df --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb820.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb820 Unwind@1400fb820 + * Pseudocode, not original source. */ + +void Unwind_1400fb820(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb830.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb830.c new file mode 100644 index 00000000..49cb177a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb830.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb830 Unwind@1400fb830 + * Pseudocode, not original source. */ + +void Unwind_1400fb830(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 0x38),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb840.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb840.c new file mode 100644 index 00000000..5530fb34 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb840.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb840 Unwind@1400fb840 + * Pseudocode, not original source. */ + +void Unwind_1400fb840(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140064160((longlong *)(param_2 + 0x48),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb850.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb850.c new file mode 100644 index 00000000..37e4e66e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb850.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb850 Unwind@1400fb850 + * Pseudocode, not original source. */ + +void Unwind_1400fb850(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400641e0((longlong *)(param_2 + 0x50),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb860.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb860.c new file mode 100644 index 00000000..4852f6a0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb860.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb860 Unwind@1400fb860 + * Pseudocode, not original source. */ + +void Unwind_1400fb860(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb870.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb870.c new file mode 100644 index 00000000..b0933b1e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb870.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb870 Unwind@1400fb870 + * Pseudocode, not original source. */ + +void Unwind_1400fb870(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3e0((longlong *)(param_2 + 0x80)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb880.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb880.c new file mode 100644 index 00000000..e1caf717 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb880.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb880 Unwind@1400fb880 + * Pseudocode, not original source. */ + +void Unwind_1400fb880(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0xa8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb890.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb890.c new file mode 100644 index 00000000..0d8428b8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb890.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb890 Unwind@1400fb890 + * Pseudocode, not original source. */ + +void Unwind_1400fb890(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x180) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb8a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb8a0.c new file mode 100644 index 00000000..5148bc7a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb8a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb8a0 Unwind@1400fb8a0 + * Pseudocode, not original source. */ + +void Unwind_1400fb8a0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x120)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb8b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb8b0.c new file mode 100644 index 00000000..ae018a06 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb8b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb8b0 Unwind@1400fb8b0 + * Pseudocode, not original source. */ + +void Unwind_1400fb8b0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 0x38),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb8c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb8c0.c new file mode 100644 index 00000000..d2c7d9ca --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb8c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb8c0 Unwind@1400fb8c0 + * Pseudocode, not original source. */ + +void Unwind_1400fb8c0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140064160((longlong *)(param_2 + 0x48),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb8d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb8d0.c new file mode 100644 index 00000000..52ede1fa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb8d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb8d0 Unwind@1400fb8d0 + * Pseudocode, not original source. */ + +void Unwind_1400fb8d0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400645f0(param_2 + 0x30,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb8e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb8e0.c new file mode 100644 index 00000000..55aa4281 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb8e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb8e0 Unwind@1400fb8e0 + * Pseudocode, not original source. */ + +void Unwind_1400fb8e0(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_14003e8b0(*(LPVOID *)(param_2 + 0x180)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb900.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb900.c new file mode 100644 index 00000000..351bdf82 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb900.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb900 Unwind@1400fb900 + * Pseudocode, not original source. */ + +void Unwind_1400fb900(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb930.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb930.c new file mode 100644 index 00000000..9b869faa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb930.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb930 Unwind@1400fb930 + * Pseudocode, not original source. */ + +void Unwind_1400fb930(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 0x180),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb940.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb940.c new file mode 100644 index 00000000..9be49924 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb940.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb940 Unwind@1400fb940 + * Pseudocode, not original source. */ + +void Unwind_1400fb940(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb950.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb950.c new file mode 100644 index 00000000..319ff092 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb950.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb950 Unwind@1400fb950 + * Pseudocode, not original source. */ + +void Unwind_1400fb950(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 0x38),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb960.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb960.c new file mode 100644 index 00000000..d782b08b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb960.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb960 Unwind@1400fb960 + * Pseudocode, not original source. */ + +void Unwind_1400fb960(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140064160((longlong *)(param_2 + 0x48),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb970.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb970.c new file mode 100644 index 00000000..e51d62f9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb970.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb970 Unwind@1400fb970 + * Pseudocode, not original source. */ + +void Unwind_1400fb970(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400641e0((longlong *)(param_2 + 0x50),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb980.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb980.c new file mode 100644 index 00000000..9aceab3d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb980.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb980 Unwind@1400fb980 + * Pseudocode, not original source. */ + +void Unwind_1400fb980(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb990.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb990.c new file mode 100644 index 00000000..ebfc63a1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb990.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb990 Unwind@1400fb990 + * Pseudocode, not original source. */ + +void Unwind_1400fb990(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3e0((longlong *)(param_2 + 0x80)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb9a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb9a0.c new file mode 100644 index 00000000..23bc6c38 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb9a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb9a0 Unwind@1400fb9a0 + * Pseudocode, not original source. */ + +void Unwind_1400fb9a0(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0xa8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb9b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb9b0.c new file mode 100644 index 00000000..35ba30bb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb9b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb9b0 Unwind@1400fb9b0 + * Pseudocode, not original source. */ + +void Unwind_1400fb9b0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x180) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb9c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb9c0.c new file mode 100644 index 00000000..dfdca7e3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb9c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb9c0 Unwind@1400fb9c0 + * Pseudocode, not original source. */ + +void Unwind_1400fb9c0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb9d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb9d0.c new file mode 100644 index 00000000..95650702 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb9d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb9d0 Unwind@1400fb9d0 + * Pseudocode, not original source. */ + +void Unwind_1400fb9d0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x70),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb9e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb9e0.c new file mode 100644 index 00000000..b43fa9d8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb9e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb9e0 Unwind@1400fb9e0 + * Pseudocode, not original source. */ + +void Unwind_1400fb9e0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fb9f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fb9f0.c new file mode 100644 index 00000000..612f4428 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fb9f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fb9f0 Unwind@1400fb9f0 + * Pseudocode, not original source. */ + +void Unwind_1400fb9f0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fba00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fba00.c new file mode 100644 index 00000000..28e047ba --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fba00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fba00 Unwind@1400fba00 + * Pseudocode, not original source. */ + +void Unwind_1400fba00(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x110)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fba10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fba10.c new file mode 100644 index 00000000..330e7bf2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fba10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fba10 Unwind@1400fba10 + * Pseudocode, not original source. */ + +void Unwind_1400fba10(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fba20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fba20.c new file mode 100644 index 00000000..4a741272 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fba20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fba20 Unwind@1400fba20 + * Pseudocode, not original source. */ + +void Unwind_1400fba20(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x58),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fba30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fba30.c new file mode 100644 index 00000000..b8c0c683 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fba30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fba30 Unwind@1400fba30 + * Pseudocode, not original source. */ + +void Unwind_1400fba30(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x80),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fba40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fba40.c new file mode 100644 index 00000000..49668b2d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fba40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fba40 Unwind@1400fba40 + * Pseudocode, not original source. */ + +void Unwind_1400fba40(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xe0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fba50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fba50.c new file mode 100644 index 00000000..1e48b6d9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fba50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fba50 Unwind@1400fba50 + * Pseudocode, not original source. */ + +void Unwind_1400fba50(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x100)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fba60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fba60.c new file mode 100644 index 00000000..f9198d13 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fba60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fba60 Unwind@1400fba60 + * Pseudocode, not original source. */ + +void Unwind_1400fba60(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x120)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fba70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fba70.c new file mode 100644 index 00000000..e92b94a1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fba70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fba70 Unwind@1400fba70 + * Pseudocode, not original source. */ + +void Unwind_1400fba70(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x60),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fba80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fba80.c new file mode 100644 index 00000000..6ebfe4e6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fba80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fba80 Unwind@1400fba80 + * Pseudocode, not original source. */ + +void Unwind_1400fba80(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x70),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fba90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fba90.c new file mode 100644 index 00000000..9f9b2c3a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fba90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fba90 Unwind@1400fba90 + * Pseudocode, not original source. */ + +void Unwind_1400fba90(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x98)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbaa0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbaa0.c new file mode 100644 index 00000000..86a1bba0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbaa0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbaa0 Unwind@1400fbaa0 + * Pseudocode, not original source. */ + +void Unwind_1400fbaa0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xa8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbab0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbab0.c new file mode 100644 index 00000000..b646dec8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbab0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbab0 Unwind@1400fbab0 + * Pseudocode, not original source. */ + +void Unwind_1400fbab0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xc0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbac0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbac0.c new file mode 100644 index 00000000..8b23c2ab --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbac0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbac0 Unwind@1400fbac0 + * Pseudocode, not original source. */ + +void Unwind_1400fbac0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x68),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbad0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbad0.c new file mode 100644 index 00000000..c458340e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbad0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbad0 Unwind@1400fbad0 + * Pseudocode, not original source. */ + +void Unwind_1400fbad0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x78),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbae0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbae0.c new file mode 100644 index 00000000..0827979f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbae0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbae0 Unwind@1400fbae0 + * Pseudocode, not original source. */ + +void Unwind_1400fbae0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x88)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbaf0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbaf0.c new file mode 100644 index 00000000..9508bf96 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbaf0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbaf0 Unwind@1400fbaf0 + * Pseudocode, not original source. */ + +void Unwind_1400fbaf0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xf0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbb00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbb00.c new file mode 100644 index 00000000..10743d18 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbb00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbb00 Unwind@1400fbb00 + * Pseudocode, not original source. */ + +void Unwind_1400fbb00(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xd0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbb10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbb10.c new file mode 100644 index 00000000..a3e23ef5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbb10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbb10 Unwind@1400fbb10 + * Pseudocode, not original source. */ + +void Unwind_1400fbb10(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140096e60(param_2 + 0x50,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbb20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbb20.c new file mode 100644 index 00000000..64d77db2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbb20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbb20 Unwind@1400fbb20 + * Pseudocode, not original source. */ + +void Unwind_1400fbb20(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 0xd8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbb30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbb30.c new file mode 100644 index 00000000..87875f52 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbb30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbb30 Unwind@1400fbb30 + * Pseudocode, not original source. */ + +void Unwind_1400fbb30(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140064160((longlong *)(param_2 + 0xe8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbb40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbb40.c new file mode 100644 index 00000000..729fc994 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbb40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbb40 Unwind@1400fbb40 + * Pseudocode, not original source. */ + +void Unwind_1400fbb40(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400645f0(param_2 + 0xd0,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbb50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbb50.c new file mode 100644 index 00000000..229d0953 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbb50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbb50 Unwind@1400fbb50 + * Pseudocode, not original source. */ + +void Unwind_1400fbb50(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_14003e8b0(*(LPVOID *)(param_2 + 0x2c8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbb70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbb70.c new file mode 100644 index 00000000..655bc698 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbb70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbb70 Unwind@1400fbb70 + * Pseudocode, not original source. */ + +void Unwind_1400fbb70(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbba0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbba0.c new file mode 100644 index 00000000..3e5c54f9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbba0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbba0 Unwind@1400fbba0 + * Pseudocode, not original source. */ + +void Unwind_1400fbba0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 0x2c8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbbb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbbb0.c new file mode 100644 index 00000000..dcb6c8bb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbbb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbbb0 Unwind@1400fbbb0 + * Pseudocode, not original source. */ + +void Unwind_1400fbbb0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xb0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbbc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbbc0.c new file mode 100644 index 00000000..75d1679e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbbc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbbc0 Unwind@1400fbbc0 + * Pseudocode, not original source. */ + +void Unwind_1400fbbc0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x98),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbbd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbbd0.c new file mode 100644 index 00000000..31622881 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbbd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbbd0 Unwind@1400fbbd0 + * Pseudocode, not original source. */ + +void Unwind_1400fbbd0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0xa8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbbe0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbbe0.c new file mode 100644 index 00000000..2b9e721e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbbe0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbbe0 Unwind@1400fbbe0 + * Pseudocode, not original source. */ + +void Unwind_1400fbbe0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x2c0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbbf0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbbf0.c new file mode 100644 index 00000000..103a9a85 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbbf0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbbf0 Unwind@1400fbbf0 + * Pseudocode, not original source. */ + +void Unwind_1400fbbf0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x208)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbc00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbc00.c new file mode 100644 index 00000000..01bebe77 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbc00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbc00 Unwind@1400fbc00 + * Pseudocode, not original source. */ + +void Unwind_1400fbc00(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x1c0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbc10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbc10.c new file mode 100644 index 00000000..22090dd8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbc10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbc10 Unwind@1400fbc10 + * Pseudocode, not original source. */ + +void Unwind_1400fbc10(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x90),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbc20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbc20.c new file mode 100644 index 00000000..e4efe02f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbc20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbc20 Unwind@1400fbc20 + * Pseudocode, not original source. */ + +void Unwind_1400fbc20(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 200),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbc30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbc30.c new file mode 100644 index 00000000..50a12215 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbc30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbc30 Unwind@1400fbc30 + * Pseudocode, not original source. */ + +void Unwind_1400fbc30(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0xa0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbc40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbc40.c new file mode 100644 index 00000000..23544e78 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbc40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbc40 Unwind@1400fbc40 + * Pseudocode, not original source. */ + +void Unwind_1400fbc40(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x228)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbc50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbc50.c new file mode 100644 index 00000000..148a00a1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbc50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbc50 Unwind@1400fbc50 + * Pseudocode, not original source. */ + +void Unwind_1400fbc50(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x1d0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbc60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbc60.c new file mode 100644 index 00000000..c8078c4e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbc60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbc60 Unwind@1400fbc60 + * Pseudocode, not original source. */ + +void Unwind_1400fbc60(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x1e0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbc70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbc70.c new file mode 100644 index 00000000..766e808c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbc70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbc70 Unwind@1400fbc70 + * Pseudocode, not original source. */ + +void Unwind_1400fbc70(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x1f8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbc80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbc80.c new file mode 100644 index 00000000..a1e56e75 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbc80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbc80 Unwind@1400fbc80 + * Pseudocode, not original source. */ + +void Unwind_1400fbc80(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x218)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbc90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbc90.c new file mode 100644 index 00000000..c2b0b17b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbc90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbc90 Unwind@1400fbc90 + * Pseudocode, not original source. */ + +void Unwind_1400fbc90(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 0xd8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbca0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbca0.c new file mode 100644 index 00000000..34210ab0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbca0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbca0 Unwind@1400fbca0 + * Pseudocode, not original source. */ + +void Unwind_1400fbca0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140064160((longlong *)(param_2 + 0xe8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbcb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbcb0.c new file mode 100644 index 00000000..79b94939 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbcb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbcb0 Unwind@1400fbcb0 + * Pseudocode, not original source. */ + +void Unwind_1400fbcb0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400641e0((longlong *)(param_2 + 0xf0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbcc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbcc0.c new file mode 100644 index 00000000..8be31a16 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbcc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbcc0 Unwind@1400fbcc0 + * Pseudocode, not original source. */ + +void Unwind_1400fbcc0(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0xf8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbcd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbcd0.c new file mode 100644 index 00000000..11aaa6c4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbcd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbcd0 Unwind@1400fbcd0 + * Pseudocode, not original source. */ + +void Unwind_1400fbcd0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3e0((longlong *)(param_2 + 0x120)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbce0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbce0.c new file mode 100644 index 00000000..4bf81ee1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbce0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbce0 Unwind@1400fbce0 + * Pseudocode, not original source. */ + +void Unwind_1400fbce0(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x148)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbcf0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbcf0.c new file mode 100644 index 00000000..17043640 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbcf0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbcf0 Unwind@1400fbcf0 + * Pseudocode, not original source. */ + +void Unwind_1400fbcf0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x2b0) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbd00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbd00.c new file mode 100644 index 00000000..d01c1b13 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbd00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbd00 Unwind@1400fbd00 + * Pseudocode, not original source. */ + +void Unwind_1400fbd00(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 0x38),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbd10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbd10.c new file mode 100644 index 00000000..13a4b0d8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbd10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbd10 Unwind@1400fbd10 + * Pseudocode, not original source. */ + +void Unwind_1400fbd10(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140064160((longlong *)(param_2 + 0x48),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbd20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbd20.c new file mode 100644 index 00000000..a48fcc55 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbd20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbd20 Unwind@1400fbd20 + * Pseudocode, not original source. */ + +void Unwind_1400fbd20(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400645f0(param_2 + 0x30,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbd30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbd30.c new file mode 100644 index 00000000..732ee259 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbd30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbd30 Unwind@1400fbd30 + * Pseudocode, not original source. */ + +void Unwind_1400fbd30(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_14003e8b0(*(LPVOID *)(param_2 + 0x178)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbd50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbd50.c new file mode 100644 index 00000000..d07e6cca --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbd50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbd50 Unwind@1400fbd50 + * Pseudocode, not original source. */ + +void Unwind_1400fbd50(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbd70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbd70.c new file mode 100644 index 00000000..9ea2a295 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbd70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbd70 Unwind@1400fbd70 + * Pseudocode, not original source. */ + +void Unwind_1400fbd70(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 0x178),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbd80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbd80.c new file mode 100644 index 00000000..3aabe4f5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbd80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbd80 Unwind@1400fbd80 + * Pseudocode, not original source. */ + +void Unwind_1400fbd80(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbd90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbd90.c new file mode 100644 index 00000000..0e8f9716 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbd90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbd90 Unwind@1400fbd90 + * Pseudocode, not original source. */ + +void Unwind_1400fbd90(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 0x38),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbda0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbda0.c new file mode 100644 index 00000000..2ea78d04 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbda0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbda0 Unwind@1400fbda0 + * Pseudocode, not original source. */ + +void Unwind_1400fbda0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140064160((longlong *)(param_2 + 0x48),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbdb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbdb0.c new file mode 100644 index 00000000..83aca8f2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbdb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbdb0 Unwind@1400fbdb0 + * Pseudocode, not original source. */ + +void Unwind_1400fbdb0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400641e0((longlong *)(param_2 + 0x50),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbdc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbdc0.c new file mode 100644 index 00000000..80835be6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbdc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbdc0 Unwind@1400fbdc0 + * Pseudocode, not original source. */ + +void Unwind_1400fbdc0(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbdd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbdd0.c new file mode 100644 index 00000000..caf37e4a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbdd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbdd0 Unwind@1400fbdd0 + * Pseudocode, not original source. */ + +void Unwind_1400fbdd0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3e0((longlong *)(param_2 + 0x80)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbde0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbde0.c new file mode 100644 index 00000000..ec8b9ee2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbde0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbde0 Unwind@1400fbde0 + * Pseudocode, not original source. */ + +void Unwind_1400fbde0(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0xa8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbdf0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbdf0.c new file mode 100644 index 00000000..21a98b2a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbdf0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbdf0 Unwind@1400fbdf0 + * Pseudocode, not original source. */ + +void Unwind_1400fbdf0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x178) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbe00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbe00.c new file mode 100644 index 00000000..3e8bd493 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbe00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbe00 FUN_1400fbe00 + * Pseudocode, not original source. */ + +void FUN_1400fbe00(undefined8 *param_1,longlong param_2) + +{ + FUN_1400b6ec0((ulonglong)*(uint *)*param_1,param_1,*(undefined8 *)(param_2 + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbe30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbe30.c new file mode 100644 index 00000000..6c8c7889 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbe30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbe30 Unwind@1400fbe30 + * Pseudocode, not original source. */ + +void Unwind_1400fbe30(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140051090((char *)(*(longlong *)(param_2 + 0x40) + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbe40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbe40.c new file mode 100644 index 00000000..cc8bb1e7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbe40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbe40 Unwind@1400fbe40 + * Pseudocode, not original source. */ + +void Unwind_1400fbe40(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbe50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbe50.c new file mode 100644 index 00000000..8476aad8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbe50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbe50 Unwind@1400fbe50 + * Pseudocode, not original source. */ + +void Unwind_1400fbe50(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbe60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbe60.c new file mode 100644 index 00000000..df8d22d4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbe60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbe60 Unwind@1400fbe60 + * Pseudocode, not original source. */ + +void Unwind_1400fbe60(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbe70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbe70.c new file mode 100644 index 00000000..d660d9f1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbe70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbe70 Unwind@1400fbe70 + * Pseudocode, not original source. */ + +void Unwind_1400fbe70(void) + +{ + DAT_14017c5d0 = DAT_14017c5d0 & 0xfffffffe; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbe90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbe90.c new file mode 100644 index 00000000..64fd030d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbe90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbe90 Unwind@1400fbe90 + * Pseudocode, not original source. */ + +void Unwind_1400fbe90(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400bf860(*(longlong **)(param_2 + 0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbea0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbea0.c new file mode 100644 index 00000000..c369ce10 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbea0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbea0 Unwind@1400fbea0 + * Pseudocode, not original source. */ + +void Unwind_1400fbea0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x28); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbeb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbeb0.c new file mode 100644 index 00000000..ef58b77b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbeb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbeb0 Unwind@1400fbeb0 + * Pseudocode, not original source. */ + +void Unwind_1400fbeb0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x20) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbec0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbec0.c new file mode 100644 index 00000000..3d2767e7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbec0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbec0 Unwind@1400fbec0 + * Pseudocode, not original source. */ + +void Unwind_1400fbec0(undefined8 param_1,longlong param_2) + +{ + FUN_1400bfcf0((longlong *)(param_2 + 0xf8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbed0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbed0.c new file mode 100644 index 00000000..d194e4b1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbed0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbed0 Unwind@1400fbed0 + * Pseudocode, not original source. */ + +void Unwind_1400fbed0(undefined8 param_1,longlong param_2) + +{ + FUN_140076940(param_2 + 0x60); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbee0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbee0.c new file mode 100644 index 00000000..89fb1005 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbee0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbee0 Unwind@1400fbee0 + * Pseudocode, not original source. */ + +void Unwind_1400fbee0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x50) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbef0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbef0.c new file mode 100644 index 00000000..95f80553 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbef0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbef0 Unwind@1400fbef0 + * Pseudocode, not original source. */ + +void Unwind_1400fbef0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x50) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbf00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbf00.c new file mode 100644 index 00000000..33e10bd8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbf00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbf00 Unwind@1400fbf00 + * Pseudocode, not original source. */ + +void Unwind_1400fbf00(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x50),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbf10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbf10.c new file mode 100644 index 00000000..c6838a0d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbf10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbf10 Unwind@1400fbf10 + * Pseudocode, not original source. */ + +void Unwind_1400fbf10(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400bf860(*(longlong **)(param_2 + 0x80),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbf20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbf20.c new file mode 100644 index 00000000..581f5aba --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbf20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbf20 Unwind@1400fbf20 + * Pseudocode, not original source. */ + +void Unwind_1400fbf20(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x90),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbf30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbf30.c new file mode 100644 index 00000000..6a53e048 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbf30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbf30 Unwind@1400fbf30 + * Pseudocode, not original source. */ + +void Unwind_1400fbf30(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbf40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbf40.c new file mode 100644 index 00000000..90d33252 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbf40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbf40 Unwind@1400fbf40 + * Pseudocode, not original source. */ + +void Unwind_1400fbf40(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbf50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbf50.c new file mode 100644 index 00000000..e1cbc974 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbf50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbf50 Unwind@1400fbf50 + * Pseudocode, not original source. */ + +void Unwind_1400fbf50(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbf60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbf60.c new file mode 100644 index 00000000..32575d17 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbf60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbf60 Unwind@1400fbf60 + * Pseudocode, not original source. */ + +void Unwind_1400fbf60(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x70),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbf70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbf70.c new file mode 100644 index 00000000..7f83836c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbf70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbf70 Unwind@1400fbf70 + * Pseudocode, not original source. */ + +void Unwind_1400fbf70(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbf80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbf80.c new file mode 100644 index 00000000..2c928e5f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbf80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbf80 Unwind@1400fbf80 + * Pseudocode, not original source. */ + +void Unwind_1400fbf80(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x30); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbf90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbf90.c new file mode 100644 index 00000000..bcd10a5b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbf90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbf90 Unwind@1400fbf90 + * Pseudocode, not original source. */ + +void Unwind_1400fbf90(undefined8 param_1,longlong param_2) + +{ + FUN_14004de40(param_2 + 0x30); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbfa0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbfa0.c new file mode 100644 index 00000000..b0889dfa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbfa0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbfa0 Unwind@1400fbfa0 + * Pseudocode, not original source. */ + +void Unwind_1400fbfa0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0x80,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbfb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbfb0.c new file mode 100644 index 00000000..ddc6a4a9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbfb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbfb0 Unwind@1400fbfb0 + * Pseudocode, not original source. */ + +void Unwind_1400fbfb0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0xd10,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbfc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbfc0.c new file mode 100644 index 00000000..ebd62c45 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbfc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbfc0 Unwind@1400fbfc0 + * Pseudocode, not original source. */ + +void Unwind_1400fbfc0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x70),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbfd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbfd0.c new file mode 100644 index 00000000..8856d771 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbfd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbfd0 Unwind@1400fbfd0 + * Pseudocode, not original source. */ + +void Unwind_1400fbfd0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbfe0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbfe0.c new file mode 100644 index 00000000..7e59329d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbfe0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbfe0 Unwind@1400fbfe0 + * Pseudocode, not original source. */ + +void Unwind_1400fbfe0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x70) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fbff0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fbff0.c new file mode 100644 index 00000000..b74fabea --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fbff0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fbff0 Unwind@1400fbff0 + * Pseudocode, not original source. */ + +void Unwind_1400fbff0(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc000.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc000.c new file mode 100644 index 00000000..3d94eb7c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc000.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc000 Unwind@1400fc000 + * Pseudocode, not original source. */ + +void Unwind_1400fc000(undefined8 param_1,longlong param_2) + +{ + FUN_140076940(param_2 + 0x50); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc010.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc010.c new file mode 100644 index 00000000..8d967a13 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc010.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc010 Unwind@1400fc010 + * Pseudocode, not original source. */ + +void Unwind_1400fc010(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0xe0) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc020.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc020.c new file mode 100644 index 00000000..dbbb764d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc020.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc020 Unwind@1400fc020 + * Pseudocode, not original source. */ + +void Unwind_1400fc020(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x60),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc030.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc030.c new file mode 100644 index 00000000..092849d9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc030.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc030 Unwind@1400fc030 + * Pseudocode, not original source. */ + +void Unwind_1400fc030(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc040.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc040.c new file mode 100644 index 00000000..2edc351a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc040.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc040 Unwind@1400fc040 + * Pseudocode, not original source. */ + +void Unwind_1400fc040(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc050.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc050.c new file mode 100644 index 00000000..765b2346 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc050.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc050 Unwind@1400fc050 + * Pseudocode, not original source. */ + +void Unwind_1400fc050(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x90),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc060.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc060.c new file mode 100644 index 00000000..f12709af --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc060.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc060 Unwind@1400fc060 + * Pseudocode, not original source. */ + +void Unwind_1400fc060(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc070.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc070.c new file mode 100644 index 00000000..0c3a7fb0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc070.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc070 Unwind@1400fc070 + * Pseudocode, not original source. */ + +void Unwind_1400fc070(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc080.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc080.c new file mode 100644 index 00000000..542d0452 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc080.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc080 Unwind@1400fc080 + * Pseudocode, not original source. */ + +void Unwind_1400fc080(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc090.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc090.c new file mode 100644 index 00000000..fd3c1711 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc090.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc090 Unwind@1400fc090 + * Pseudocode, not original source. */ + +void Unwind_1400fc090(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x38); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc0a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc0a0.c new file mode 100644 index 00000000..76bd2b17 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc0a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc0a0 Unwind@1400fc0a0 + * Pseudocode, not original source. */ + +void Unwind_1400fc0a0(undefined8 param_1,longlong param_2) + +{ + FUN_14004de40(param_2 + 0x38); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc0b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc0b0.c new file mode 100644 index 00000000..45a04e85 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc0b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc0b0 Unwind@1400fc0b0 + * Pseudocode, not original source. */ + +void Unwind_1400fc0b0(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0xd70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc0d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc0d0.c new file mode 100644 index 00000000..26254a74 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc0d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc0d0 Unwind@1400fc0d0 + * Pseudocode, not original source. */ + +void Unwind_1400fc0d0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0xf0,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc0e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc0e0.c new file mode 100644 index 00000000..585ddeee --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc0e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc0e0 Unwind@1400fc0e0 + * Pseudocode, not original source. */ + +void Unwind_1400fc0e0(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0xd70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc100.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc100.c new file mode 100644 index 00000000..dbc8c033 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc100.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc100 Unwind@1400fc100 + * Pseudocode, not original source. */ + +void Unwind_1400fc100(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x28) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc110.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc110.c new file mode 100644 index 00000000..2c51d6df --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc110.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc110 Unwind@1400fc110 + * Pseudocode, not original source. */ + +void Unwind_1400fc110(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc120.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc120.c new file mode 100644 index 00000000..cd6111fa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc120.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc120 Unwind@1400fc120 + * Pseudocode, not original source. */ + +void Unwind_1400fc120(undefined8 param_1,longlong param_2) + +{ + FUN_14004de40(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc130.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc130.c new file mode 100644 index 00000000..fcf6d3c4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc130.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc130 Unwind@1400fc130 + * Pseudocode, not original source. */ + +void Unwind_1400fc130(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x128) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc140.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc140.c new file mode 100644 index 00000000..c73e21ce --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc140.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc140 Unwind@1400fc140 + * Pseudocode, not original source. */ + +void Unwind_1400fc140(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc150.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc150.c new file mode 100644 index 00000000..f5b15331 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc150.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc150 Unwind@1400fc150 + * Pseudocode, not original source. */ + +void Unwind_1400fc150(undefined8 param_1,longlong param_2) + +{ + operator_delete(*(void **)(param_2 + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc160.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc160.c new file mode 100644 index 00000000..5046b7f5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc160.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc160 Unwind@1400fc160 + * Pseudocode, not original source. */ + +void Unwind_1400fc160(undefined8 param_1,longlong param_2) + +{ + FUN_1400bfcf0((longlong *)(param_2 + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc170.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc170.c new file mode 100644 index 00000000..7aa825df --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc170.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc170 Unwind@1400fc170 + * Pseudocode, not original source. */ + +void Unwind_1400fc170(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc190.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc190.c new file mode 100644 index 00000000..f97adc38 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc190.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc190 Unwind@1400fc190 + * Pseudocode, not original source. */ + +void Unwind_1400fc190(undefined8 param_1,longlong param_2) + +{ + FUN_14007aab0((undefined8 *)(param_2 + 0x90)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc1a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc1a0.c new file mode 100644 index 00000000..bf79eca7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc1a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc1a0 Unwind@1400fc1a0 + * Pseudocode, not original source. */ + +void Unwind_1400fc1a0(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc1b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc1b0.c new file mode 100644 index 00000000..f5c2d787 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc1b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc1b0 Unwind@1400fc1b0 + * Pseudocode, not original source. */ + +void Unwind_1400fc1b0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc1c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc1c0.c new file mode 100644 index 00000000..f0e72d46 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc1c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc1c0 Unwind@1400fc1c0 + * Pseudocode, not original source. */ + +void Unwind_1400fc1c0(undefined8 param_1,longlong param_2) + +{ + FUN_14004de40(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc1d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc1d0.c new file mode 100644 index 00000000..ba3f6346 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc1d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc1d0 Unwind@1400fc1d0 + * Pseudocode, not original source. */ + +void Unwind_1400fc1d0(undefined8 param_1,longlong param_2) + +{ + FUN_140076940(param_2 + 0xc0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc1e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc1e0.c new file mode 100644 index 00000000..2be158e4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc1e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc1e0 Unwind@1400fc1e0 + * Pseudocode, not original source. */ + +void Unwind_1400fc1e0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x1d8) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc1f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc1f0.c new file mode 100644 index 00000000..7e6a7814 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc1f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc1f0 Unwind@1400fc1f0 + * Pseudocode, not original source. */ + +void Unwind_1400fc1f0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x1d8) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc200.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc200.c new file mode 100644 index 00000000..58c645e0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc200.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc200 Unwind@1400fc200 + * Pseudocode, not original source. */ + +void Unwind_1400fc200(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x58),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc210.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc210.c new file mode 100644 index 00000000..2f6cc8fa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc210.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc210 Unwind@1400fc210 + * Pseudocode, not original source. */ + +void Unwind_1400fc210(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x160)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc220.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc220.c new file mode 100644 index 00000000..f270c12f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc220.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc220 Unwind@1400fc220 + * Pseudocode, not original source. */ + +void Unwind_1400fc220(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x68),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc230.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc230.c new file mode 100644 index 00000000..416dae68 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc230.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc230 Unwind@1400fc230 + * Pseudocode, not original source. */ + +void Unwind_1400fc230(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x150)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc240.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc240.c new file mode 100644 index 00000000..0dcc6d90 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc240.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc240 Unwind@1400fc240 + * Pseudocode, not original source. */ + +void Unwind_1400fc240(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0xc0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc250.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc250.c new file mode 100644 index 00000000..6b7bb1ba --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc250.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc250 Unwind@1400fc250 + * Pseudocode, not original source. */ + +void Unwind_1400fc250(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x60),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc260.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc260.c new file mode 100644 index 00000000..5707cff1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc260.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc260 Unwind@1400fc260 + * Pseudocode, not original source. */ + +void Unwind_1400fc260(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x1b0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc270.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc270.c new file mode 100644 index 00000000..8e08a391 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc270.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc270 Unwind@1400fc270 + * Pseudocode, not original source. */ + +void Unwind_1400fc270(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc280.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc280.c new file mode 100644 index 00000000..03aeba9a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc280.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc280 Unwind@1400fc280 + * Pseudocode, not original source. */ + +void Unwind_1400fc280(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x98)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc290.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc290.c new file mode 100644 index 00000000..64cd9b75 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc290.c @@ -0,0 +1,47 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc290 Catch@1400fc290 + * Pseudocode, not original source. */ + +undefined * +Catch_1400fc290(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + int *piVar1; + longlong lVar2; + undefined *puVar3; + int *piVar4; + longlong *plVar5; + undefined8 uVar6; + undefined8 uVar7; + longlong **pplVar8; + + FUN_14003e7c0(param_1,param_2,param_3,param_4); + *(undefined **)(param_2 + 0xe8) = PTR_DAT_14016f010; + lVar2 = *(longlong *)(param_2 + 0x28); + pplVar8 = (longlong **)(param_2 + 0xe8); + uVar6 = 5; + uVar7 = 3; + plVar5 = *(longlong **)(lVar2 + 0x108); + FUN_1400b4a80(plVar5,5,(undefined *)0x3,pplVar8); + puVar3 = *(undefined **)(param_2 + 0xe8); + if (((puVar3 != (undefined *)0x0) && (puVar3 != PTR_DAT_14016f010)) && + (puVar3 + -8 != (undefined *)0x0)) { + piVar4 = (int *)FUN_14003e7c0(plVar5,uVar6,uVar7,pplVar8); + *(int **)(param_2 + 0x1d0) = piVar4; + FUN_14003d040(piVar4); + *(undefined1 *)(param_2 + 0x1d8) = 1; + piVar1 = (int *)(puVar3 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(puVar3 + -8); + } + FUN_14003d0d0((longlong)piVar4); + } + if (*(longlong *)(*(longlong *)(lVar2 + 0x108) + 0x1580) != 0) { + plVar5 = *(longlong **)(*(longlong *)(lVar2 + 0x108) + 0x1580); + (**(code **)(*plVar5 + 0x20))(plVar5,*(undefined8 *)(param_2 + 0x1f0)); + } + FUN_1400bf180(lVar2,4); + return &DAT_1400c306c; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc370.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc370.c new file mode 100644 index 00000000..70df0011 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc370.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc370 Unwind@1400fc370 + * Pseudocode, not original source. */ + +void Unwind_1400fc370(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0xe8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc380.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc380.c new file mode 100644 index 00000000..de81baff --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc380.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc380 Unwind@1400fc380 + * Pseudocode, not original source. */ + +void Unwind_1400fc380(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x1d0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc390.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc390.c new file mode 100644 index 00000000..2ccc3c72 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc390.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc390 Unwind@1400fc390 + * Pseudocode, not original source. */ + +void Unwind_1400fc390(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x28),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc3a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc3a0.c new file mode 100644 index 00000000..c5d3a1f9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc3a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc3a0 Unwind@1400fc3a0 + * Pseudocode, not original source. */ + +void Unwind_1400fc3a0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x1c0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc3b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc3b0.c new file mode 100644 index 00000000..6f702550 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc3b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc3b0 Unwind@1400fc3b0 + * Pseudocode, not original source. */ + +void Unwind_1400fc3b0(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x100)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc3c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc3c0.c new file mode 100644 index 00000000..1c213dff --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc3c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc3c0 Unwind@1400fc3c0 + * Pseudocode, not original source. */ + +void Unwind_1400fc3c0(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x128)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc3d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc3d0.c new file mode 100644 index 00000000..8cae37b1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc3d0.c @@ -0,0 +1,47 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc3d0 Catch@1400fc3d0 + * Pseudocode, not original source. */ + +undefined * +Catch_1400fc3d0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + int *piVar1; + longlong lVar2; + undefined *puVar3; + int *piVar4; + longlong *plVar5; + undefined8 uVar6; + undefined8 uVar7; + longlong **pplVar8; + + FUN_14003e7c0(param_1,param_2,param_3,param_4); + *(undefined **)(param_2 + 0xf0) = PTR_DAT_14016f010; + lVar2 = *(longlong *)(param_2 + 0x28); + pplVar8 = (longlong **)(param_2 + 0xf0); + uVar6 = 5; + uVar7 = 3; + plVar5 = *(longlong **)(lVar2 + 0x108); + FUN_1400b4a80(plVar5,5,(undefined *)0x3,pplVar8); + puVar3 = *(undefined **)(param_2 + 0xf0); + if (((puVar3 != (undefined *)0x0) && (puVar3 != PTR_DAT_14016f010)) && + (puVar3 + -8 != (undefined *)0x0)) { + piVar4 = (int *)FUN_14003e7c0(plVar5,uVar6,uVar7,pplVar8); + *(int **)(param_2 + 0x1f8) = piVar4; + FUN_14003d040(piVar4); + *(undefined1 *)(param_2 + 0x200) = 1; + piVar1 = (int *)(puVar3 + -4); + *piVar1 = *piVar1 + -1; + if (*piVar1 == 0) { + FUN_14003e8b0(puVar3 + -8); + } + FUN_14003d0d0((longlong)piVar4); + } + if (*(longlong *)(*(longlong *)(lVar2 + 0x108) + 0x1580) != 0) { + plVar5 = *(longlong **)(*(longlong *)(lVar2 + 0x108) + 0x1580); + (**(code **)(*plVar5 + 0x20))(plVar5,*(undefined8 *)(param_2 + 0x1e0)); + } + FUN_1400bf180(lVar2,4); + return &DAT_1400c302c; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc4b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc4b0.c new file mode 100644 index 00000000..8a78c147 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc4b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc4b0 Unwind@1400fc4b0 + * Pseudocode, not original source. */ + +void Unwind_1400fc4b0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0xf0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc4c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc4c0.c new file mode 100644 index 00000000..39db6b3f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc4c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc4c0 Unwind@1400fc4c0 + * Pseudocode, not original source. */ + +void Unwind_1400fc4c0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x1f8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc4d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc4d0.c new file mode 100644 index 00000000..f6ecf07f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc4d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc4d0 Unwind@1400fc4d0 + * Pseudocode, not original source. */ + +void Unwind_1400fc4d0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x30); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc4e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc4e0.c new file mode 100644 index 00000000..0988885b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc4e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc4e0 Unwind@1400fc4e0 + * Pseudocode, not original source. */ + +void Unwind_1400fc4e0(undefined8 param_1,longlong param_2) + +{ + FUN_14004de40(param_2 + 0x30); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc4f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc4f0.c new file mode 100644 index 00000000..74555f93 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc4f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc4f0 Unwind@1400fc4f0 + * Pseudocode, not original source. */ + +void Unwind_1400fc4f0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0x210,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc500.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc500.c new file mode 100644 index 00000000..e25766d7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc500.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc500 Unwind@1400fc500 + * Pseudocode, not original source. */ + +void Unwind_1400fc500(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0xf8) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc510.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc510.c new file mode 100644 index 00000000..055ac284 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc510.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc510 Unwind@1400fc510 + * Pseudocode, not original source. */ + +void Unwind_1400fc510(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x20); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc520.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc520.c new file mode 100644 index 00000000..ebf7ee34 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc520.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc520 Unwind@1400fc520 + * Pseudocode, not original source. */ + +void Unwind_1400fc520(undefined8 param_1,longlong param_2) + +{ + FUN_14004de40(param_2 + 0x20); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc530.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc530.c new file mode 100644 index 00000000..c987a07b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc530.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc530 Unwind@1400fc530 + * Pseudocode, not original source. */ + +void Unwind_1400fc530(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0xd30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc550.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc550.c new file mode 100644 index 00000000..86fcf96a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc550.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc550 Unwind@1400fc550 + * Pseudocode, not original source. */ + +void Unwind_1400fc550(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0xb0,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc560.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc560.c new file mode 100644 index 00000000..c6c54536 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc560.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc560 Unwind@1400fc560 + * Pseudocode, not original source. */ + +void Unwind_1400fc560(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0xd30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc580.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc580.c new file mode 100644 index 00000000..3fe1e940 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc580.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc580 Unwind@1400fc580 + * Pseudocode, not original source. */ + +void Unwind_1400fc580(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x50) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc590.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc590.c new file mode 100644 index 00000000..b509e6f6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc590.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc590 Unwind@1400fc590 + * Pseudocode, not original source. */ + +void Unwind_1400fc590(undefined8 param_1,longlong param_2) + +{ + FUN_14007e8f0((undefined8 *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc5a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc5a0.c new file mode 100644 index 00000000..a2891023 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc5a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc5a0 Unwind@1400fc5a0 + * Pseudocode, not original source. */ + +void Unwind_1400fc5a0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x110),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc5b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc5b0.c new file mode 100644 index 00000000..0cacbe17 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc5b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc5b0 Unwind@1400fc5b0 + * Pseudocode, not original source. */ + +void Unwind_1400fc5b0(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc5c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc5c0.c new file mode 100644 index 00000000..a29e4d10 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc5c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc5c0 Unwind@1400fc5c0 + * Pseudocode, not original source. */ + +void Unwind_1400fc5c0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x90)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc5d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc5d0.c new file mode 100644 index 00000000..60ca3afe --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc5d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc5d0 Unwind@1400fc5d0 + * Pseudocode, not original source. */ + +void Unwind_1400fc5d0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0xb8); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc5e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc5e0.c new file mode 100644 index 00000000..14ec4eff --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc5e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc5e0 Unwind@1400fc5e0 + * Pseudocode, not original source. */ + +void Unwind_1400fc5e0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x50) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc5f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc5f0.c new file mode 100644 index 00000000..bd409d17 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc5f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc5f0 Unwind@1400fc5f0 + * Pseudocode, not original source. */ + +void Unwind_1400fc5f0(undefined8 param_1,longlong param_2) + +{ + FUN_1400bfcf0((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc600.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc600.c new file mode 100644 index 00000000..1484c40e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc600.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc600 Unwind@1400fc600 + * Pseudocode, not original source. */ + +void Unwind_1400fc600(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3e0((longlong *)(param_2 + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc610.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc610.c new file mode 100644 index 00000000..984fb187 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc610.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc610 Unwind@1400fc610 + * Pseudocode, not original source. */ + +void Unwind_1400fc610(undefined8 param_1,longlong param_2) + +{ + FUN_14005b4c0(param_2 + 0x58); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc620.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc620.c new file mode 100644 index 00000000..9fb1adae --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc620.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc620 Unwind@1400fc620 + * Pseudocode, not original source. */ + +void Unwind_1400fc620(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0x130,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc630.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc630.c new file mode 100644 index 00000000..bb80506b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc630.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc630 Unwind@1400fc630 + * Pseudocode, not original source. */ + +void Unwind_1400fc630(undefined8 param_1,longlong param_2) + +{ + FUN_14007e8f0((undefined8 *)(param_2 + 0x90)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc640.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc640.c new file mode 100644 index 00000000..b185538a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc640.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc640 Unwind@1400fc640 + * Pseudocode, not original source. */ + +void Unwind_1400fc640(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x30),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc650.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc650.c new file mode 100644 index 00000000..ae513e37 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc650.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc650 Unwind@1400fc650 + * Pseudocode, not original source. */ + +void Unwind_1400fc650(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0xe8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc660.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc660.c new file mode 100644 index 00000000..5c37d415 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc660.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc660 Unwind@1400fc660 + * Pseudocode, not original source. */ + +void Unwind_1400fc660(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x110)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc670.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc670.c new file mode 100644 index 00000000..e7d25131 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc670.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc670 Unwind@1400fc670 + * Pseudocode, not original source. */ + +void Unwind_1400fc670(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3e0((longlong *)(param_2 + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc680.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc680.c new file mode 100644 index 00000000..04b9acbc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc680.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc680 Unwind@1400fc680 + * Pseudocode, not original source. */ + +void Unwind_1400fc680(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0xe0) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc690.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc690.c new file mode 100644 index 00000000..ca780af0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc690.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc690 Unwind@1400fc690 + * Pseudocode, not original source. */ + +void Unwind_1400fc690(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0xe0) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc6a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc6a0.c new file mode 100644 index 00000000..cd3a6724 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc6a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc6a0 Unwind@1400fc6a0 + * Pseudocode, not original source. */ + +void Unwind_1400fc6a0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x80); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc6b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc6b0.c new file mode 100644 index 00000000..1234130b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc6b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc6b0 Unwind@1400fc6b0 + * Pseudocode, not original source. */ + +void Unwind_1400fc6b0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x170) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc6c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc6c0.c new file mode 100644 index 00000000..a5a02198 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc6c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc6c0 Unwind@1400fc6c0 + * Pseudocode, not original source. */ + +void Unwind_1400fc6c0(undefined8 param_1,longlong param_2) + +{ + FUN_1400bfcf0((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc6d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc6d0.c new file mode 100644 index 00000000..7f20672d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc6d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc6d0 Unwind@1400fc6d0 + * Pseudocode, not original source. */ + +void Unwind_1400fc6d0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3e0((longlong *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc6e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc6e0.c new file mode 100644 index 00000000..9d4a4cf6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc6e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc6e0 Unwind@1400fc6e0 + * Pseudocode, not original source. */ + +void Unwind_1400fc6e0(undefined8 param_1,longlong param_2) + +{ + FUN_14005b4c0(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc6f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc6f0.c new file mode 100644 index 00000000..329966fd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc6f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc6f0 Unwind@1400fc6f0 + * Pseudocode, not original source. */ + +void Unwind_1400fc6f0(undefined8 param_1,longlong param_2) + +{ + FUN_14007e8f0((undefined8 *)(param_2 + 0xa8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc700.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc700.c new file mode 100644 index 00000000..babdda44 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc700.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc700 Unwind@1400fc700 + * Pseudocode, not original source. */ + +void Unwind_1400fc700(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x30),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc710.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc710.c new file mode 100644 index 00000000..96e2bd98 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc710.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc710 Unwind@1400fc710 + * Pseudocode, not original source. */ + +void Unwind_1400fc710(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0xd8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc720.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc720.c new file mode 100644 index 00000000..fa91bd3d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc720.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc720 Unwind@1400fc720 + * Pseudocode, not original source. */ + +void Unwind_1400fc720(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x100)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc730.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc730.c new file mode 100644 index 00000000..1f564600 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc730.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc730 Unwind@1400fc730 + * Pseudocode, not original source. */ + +void Unwind_1400fc730(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3e0((longlong *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc740.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc740.c new file mode 100644 index 00000000..3e0f1382 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc740.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc740 Unwind@1400fc740 + * Pseudocode, not original source. */ + +void Unwind_1400fc740(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x118) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc750.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc750.c new file mode 100644 index 00000000..54ad207d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc750.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc750 Unwind@1400fc750 + * Pseudocode, not original source. */ + +void Unwind_1400fc750(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x170) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc760.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc760.c new file mode 100644 index 00000000..54e7f029 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc760.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc760 Unwind@1400fc760 + * Pseudocode, not original source. */ + +void Unwind_1400fc760(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0xa0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc770.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc770.c new file mode 100644 index 00000000..4c904671 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc770.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc770 Unwind@1400fc770 + * Pseudocode, not original source. */ + +void Unwind_1400fc770(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc780.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc780.c new file mode 100644 index 00000000..a52b873a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc780.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc780 Unwind@1400fc780 + * Pseudocode, not original source. */ + +void Unwind_1400fc780(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc790.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc790.c new file mode 100644 index 00000000..fdd4e245 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc790.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc790 Unwind@1400fc790 + * Pseudocode, not original source. */ + +void Unwind_1400fc790(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0xa0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc7a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc7a0.c new file mode 100644 index 00000000..6f048110 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc7a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc7a0 Unwind@1400fc7a0 + * Pseudocode, not original source. */ + +void Unwind_1400fc7a0(undefined8 param_1,longlong param_2) + +{ + FUN_140049f00(*(undefined8 **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc7b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc7b0.c new file mode 100644 index 00000000..8f8d27ff --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc7b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc7b0 Unwind@1400fc7b0 + * Pseudocode, not original source. */ + +void Unwind_1400fc7b0(undefined8 param_1,longlong param_2) + +{ + FUN_1400bf0c0((undefined8 *)(*(longlong *)(param_2 + 0x40) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc7c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc7c0.c new file mode 100644 index 00000000..f80556de --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc7c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc7c0 Unwind@1400fc7c0 + * Pseudocode, not original source. */ + +void Unwind_1400fc7c0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003d110((undefined4 *)(*(longlong *)(param_2 + 0x40) + 0x10),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc7d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc7d0.c new file mode 100644 index 00000000..f9973155 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc7d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc7d0 Unwind@1400fc7d0 + * Pseudocode, not original source. */ + +void Unwind_1400fc7d0(undefined8 param_1,longlong param_2) + +{ + FUN_140051940((longlong *)(*(longlong *)(param_2 + 0x40) + 0x78)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc7e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc7e0.c new file mode 100644 index 00000000..25767e26 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc7e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc7e0 Unwind@1400fc7e0 + * Pseudocode, not original source. */ + +void Unwind_1400fc7e0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003d110((undefined4 *)(*(longlong *)(param_2 + 0x40) + 0x88),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc800.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc800.c new file mode 100644 index 00000000..f9caa612 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc800.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc800 Unwind@1400fc800 + * Pseudocode, not original source. */ + +void Unwind_1400fc800(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003d110((undefined4 *)(*(longlong *)(param_2 + 0x40) + 0x1c8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc820.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc820.c new file mode 100644 index 00000000..13961152 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc820.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc820 Unwind@1400fc820 + * Pseudocode, not original source. */ + +void Unwind_1400fc820(undefined8 param_1,longlong param_2) + +{ + FUN_140093d10((longlong *)(*(longlong *)(param_2 + 0x40) + 0x208)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc840.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc840.c new file mode 100644 index 00000000..40c78f0c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc840.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc840 Unwind@1400fc840 + * Pseudocode, not original source. */ + +void Unwind_1400fc840(undefined8 param_1,longlong param_2) + +{ + FUN_1400aace0((longlong *)(*(longlong *)(param_2 + 0x40) + 0x228)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc860.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc860.c new file mode 100644 index 00000000..e1303e9c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc860.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc860 Unwind@1400fc860 + * Pseudocode, not original source. */ + +void Unwind_1400fc860(undefined8 param_1,longlong param_2) + +{ + FUN_1400bfcf0((longlong *)(*(longlong *)(param_2 + 0x40) + 0x290)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc880.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc880.c new file mode 100644 index 00000000..50838c53 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc880.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc880 Unwind@1400fc880 + * Pseudocode, not original source. */ + +void Unwind_1400fc880(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_1400bf970((longlong *)(*(longlong *)(param_2 + 0x40) + 0x298)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc8a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc8a0.c new file mode 100644 index 00000000..04fc616e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc8a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc8a0 Unwind@1400fc8a0 + * Pseudocode, not original source. */ + +void Unwind_1400fc8a0(undefined8 param_1,longlong *param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_1400bf880((undefined8 *)(param_2[8] + 0x2b0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc8c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc8c0.c new file mode 100644 index 00000000..662dc516 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc8c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc8c0 Unwind@1400fc8c0 + * Pseudocode, not original source. */ + +void Unwind_1400fc8c0(undefined8 param_1,longlong *param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_1400bfb10((undefined8 *)(param_2[8] + 0x2b8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc8e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc8e0.c new file mode 100644 index 00000000..853b9770 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc8e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc8e0 Unwind@1400fc8e0 + * Pseudocode, not original source. */ + +void Unwind_1400fc8e0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 0x28),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc8f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc8f0.c new file mode 100644 index 00000000..3e623fad --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc8f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc8f0 Unwind@1400fc8f0 + * Pseudocode, not original source. */ + +void Unwind_1400fc8f0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140064160((longlong *)(param_2 + 0x38),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc900.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc900.c new file mode 100644 index 00000000..ce08b743 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc900.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc900 Unwind@1400fc900 + * Pseudocode, not original source. */ + +void Unwind_1400fc900(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400645f0(param_2 + 0x20,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc910.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc910.c new file mode 100644 index 00000000..6db1da03 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc910.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc910 Unwind@1400fc910 + * Pseudocode, not original source. */ + +void Unwind_1400fc910(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_14003e8b0(*(LPVOID *)(param_2 + 0x150)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc930.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc930.c new file mode 100644 index 00000000..56c85dc8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc930.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc930 Unwind@1400fc930 + * Pseudocode, not original source. */ + +void Unwind_1400fc930(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc960.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc960.c new file mode 100644 index 00000000..30b9c03d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc960.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc960 Unwind@1400fc960 + * Pseudocode, not original source. */ + +void Unwind_1400fc960(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 0x150),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc970.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc970.c new file mode 100644 index 00000000..60e013ba --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc970.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc970 Unwind@1400fc970 + * Pseudocode, not original source. */ + +void Unwind_1400fc970(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x110)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc980.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc980.c new file mode 100644 index 00000000..148b7094 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc980.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc980 Unwind@1400fc980 + * Pseudocode, not original source. */ + +void Unwind_1400fc980(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 0x28),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc990.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc990.c new file mode 100644 index 00000000..453e2967 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc990.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc990 Unwind@1400fc990 + * Pseudocode, not original source. */ + +void Unwind_1400fc990(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140064160((longlong *)(param_2 + 0x38),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc9a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc9a0.c new file mode 100644 index 00000000..d166550f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc9a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc9a0 Unwind@1400fc9a0 + * Pseudocode, not original source. */ + +void Unwind_1400fc9a0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400641e0((longlong *)(param_2 + 0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc9b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc9b0.c new file mode 100644 index 00000000..494767b0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc9b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc9b0 Unwind@1400fc9b0 + * Pseudocode, not original source. */ + +void Unwind_1400fc9b0(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc9c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc9c0.c new file mode 100644 index 00000000..16cc508c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc9c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc9c0 Unwind@1400fc9c0 + * Pseudocode, not original source. */ + +void Unwind_1400fc9c0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3e0((longlong *)(param_2 + 0x70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc9d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc9d0.c new file mode 100644 index 00000000..cbf1e187 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc9d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc9d0 Unwind@1400fc9d0 + * Pseudocode, not original source. */ + +void Unwind_1400fc9d0(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x98)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc9e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc9e0.c new file mode 100644 index 00000000..1321c516 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc9e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc9e0 Unwind@1400fc9e0 + * Pseudocode, not original source. */ + +void Unwind_1400fc9e0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x150) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fc9f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fc9f0.c new file mode 100644 index 00000000..1b543a3f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fc9f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fc9f0 Unwind@1400fc9f0 + * Pseudocode, not original source. */ + +void Unwind_1400fc9f0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3e0((longlong *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fca00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fca00.c new file mode 100644 index 00000000..b2744fb9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fca00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fca00 Unwind@1400fca00 + * Pseudocode, not original source. */ + +void Unwind_1400fca00(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x38),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fca10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fca10.c new file mode 100644 index 00000000..20e88e98 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fca10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fca10 Unwind@1400fca10 + * Pseudocode, not original source. */ + +void Unwind_1400fca10(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0xa0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fca20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fca20.c new file mode 100644 index 00000000..98553b50 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fca20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fca20 Unwind@1400fca20 + * Pseudocode, not original source. */ + +void Unwind_1400fca20(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 200)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fca30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fca30.c new file mode 100644 index 00000000..7cb29b0f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fca30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fca30 Unwind@1400fca30 + * Pseudocode, not original source. */ + +void Unwind_1400fca30(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fca40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fca40.c new file mode 100644 index 00000000..93e92744 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fca40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fca40 Unwind@1400fca40 + * Pseudocode, not original source. */ + +void Unwind_1400fca40(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x100)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fca50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fca50.c new file mode 100644 index 00000000..6e60714c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fca50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fca50 Unwind@1400fca50 + * Pseudocode, not original source. */ + +void Unwind_1400fca50(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400645f0(param_2 + 0x160,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fca60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fca60.c new file mode 100644 index 00000000..9cc3a85e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fca60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fca60 Unwind@1400fca60 + * Pseudocode, not original source. */ + +void Unwind_1400fca60(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x130)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fca70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fca70.c new file mode 100644 index 00000000..b66c566e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fca70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fca70 Unwind@1400fca70 + * Pseudocode, not original source. */ + +void Unwind_1400fca70(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x70),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fca80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fca80.c new file mode 100644 index 00000000..b79ff0f5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fca80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fca80 Unwind@1400fca80 + * Pseudocode, not original source. */ + +void Unwind_1400fca80(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x90),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fca90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fca90.c new file mode 100644 index 00000000..fff29ceb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fca90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fca90 Unwind@1400fca90 + * Pseudocode, not original source. */ + +void Unwind_1400fca90(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x78),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fcaa0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fcaa0.c new file mode 100644 index 00000000..59fcd721 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fcaa0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fcaa0 Unwind@1400fcaa0 + * Pseudocode, not original source. */ + +void Unwind_1400fcaa0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x120)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fcab0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fcab0.c new file mode 100644 index 00000000..ed3d32ec --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fcab0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fcab0 Unwind@1400fcab0 + * Pseudocode, not original source. */ + +void Unwind_1400fcab0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xe0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fcac0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fcac0.c new file mode 100644 index 00000000..9259fecb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fcac0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fcac0 Unwind@1400fcac0 + * Pseudocode, not original source. */ + +void Unwind_1400fcac0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xf0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fcad0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fcad0.c new file mode 100644 index 00000000..268d61a1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fcad0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fcad0 Unwind@1400fcad0 + * Pseudocode, not original source. */ + +void Unwind_1400fcad0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x110)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fcae0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fcae0.c new file mode 100644 index 00000000..562dd3dc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fcae0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fcae0 Unwind@1400fcae0 + * Pseudocode, not original source. */ + +void Unwind_1400fcae0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fcaf0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fcaf0.c new file mode 100644 index 00000000..ee298f66 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fcaf0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fcaf0 Unwind@1400fcaf0 + * Pseudocode, not original source. */ + +void Unwind_1400fcaf0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x110)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fcb00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fcb00.c new file mode 100644 index 00000000..66e69a07 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fcb00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fcb00 Unwind@1400fcb00 + * Pseudocode, not original source. */ + +void Unwind_1400fcb00(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 0x28),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fcb10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fcb10.c new file mode 100644 index 00000000..de2f8b9a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fcb10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fcb10 Unwind@1400fcb10 + * Pseudocode, not original source. */ + +void Unwind_1400fcb10(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140064160((longlong *)(param_2 + 0x38),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fcb20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fcb20.c new file mode 100644 index 00000000..1c274aae --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fcb20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fcb20 Unwind@1400fcb20 + * Pseudocode, not original source. */ + +void Unwind_1400fcb20(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400645f0(param_2 + 0x20,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fcb30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fcb30.c new file mode 100644 index 00000000..9a714b27 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fcb30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fcb30 Unwind@1400fcb30 + * Pseudocode, not original source. */ + +void Unwind_1400fcb30(undefined8 param_1,longlong param_2) + +{ + FUN_140076940(param_2 + 0x20); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fcb40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fcb40.c new file mode 100644 index 00000000..64fedf0f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fcb40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fcb40 Unwind@1400fcb40 + * Pseudocode, not original source. */ + +void Unwind_1400fcb40(undefined8 param_1,longlong param_2) + +{ + FUN_140076940(param_2 + 0x90); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fcb50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fcb50.c new file mode 100644 index 00000000..93f1e357 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fcb50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fcb50 Unwind@1400fcb50 + * Pseudocode, not original source. */ + +void Unwind_1400fcb50(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140096b50(param_2 + 0x88,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fcb60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fcb60.c new file mode 100644 index 00000000..0845cdb6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fcb60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fcb60 Unwind@1400fcb60 + * Pseudocode, not original source. */ + +void Unwind_1400fcb60(undefined8 param_1,longlong param_2) + +{ + FUN_140076940(param_2 + 0x90); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fcb70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fcb70.c new file mode 100644 index 00000000..f479d1f2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fcb70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fcb70 Unwind@1400fcb70 + * Pseudocode, not original source. */ + +void Unwind_1400fcb70(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x1e0) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fcb80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fcb80.c new file mode 100644 index 00000000..39f1ee4d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fcb80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fcb80 Unwind@1400fcb80 + * Pseudocode, not original source. */ + +void Unwind_1400fcb80(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fcb90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fcb90.c new file mode 100644 index 00000000..c56c1c91 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fcb90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fcb90 Unwind@1400fcb90 + * Pseudocode, not original source. */ + +void Unwind_1400fcb90(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x1e0) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fcba0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fcba0.c new file mode 100644 index 00000000..3b5e05f1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fcba0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fcba0 Unwind@1400fcba0 + * Pseudocode, not original source. */ + +void Unwind_1400fcba0(undefined8 param_1,longlong param_2) + +{ + FUN_140076940(param_2 + 0x20); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fcbb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fcbb0.c new file mode 100644 index 00000000..c563eac3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fcbb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fcbb0 Unwind@1400fcbb0 + * Pseudocode, not original source. */ + +void Unwind_1400fcbb0(undefined8 param_1,longlong param_2) + +{ + FUN_140076940(param_2 + 0x90); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fcbc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fcbc0.c new file mode 100644 index 00000000..60347dca --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fcbc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fcbc0 Unwind@1400fcbc0 + * Pseudocode, not original source. */ + +void Unwind_1400fcbc0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140096b50(param_2 + 0x88,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fcbd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fcbd0.c new file mode 100644 index 00000000..52123dc0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fcbd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fcbd0 Unwind@1400fcbd0 + * Pseudocode, not original source. */ + +void Unwind_1400fcbd0(undefined8 param_1,longlong param_2) + +{ + FUN_140076940(param_2 + 0x90); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fcbe0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fcbe0.c new file mode 100644 index 00000000..f956a56c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fcbe0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fcbe0 Unwind@1400fcbe0 + * Pseudocode, not original source. */ + +void Unwind_1400fcbe0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x238) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fcbf0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fcbf0.c new file mode 100644 index 00000000..831c0594 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fcbf0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fcbf0 Unwind@1400fcbf0 + * Pseudocode, not original source. */ + +void Unwind_1400fcbf0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fcc00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fcc00.c new file mode 100644 index 00000000..77d6a03d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fcc00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fcc00 Unwind@1400fcc00 + * Pseudocode, not original source. */ + +void Unwind_1400fcc00(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x238) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fcc10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fcc10.c new file mode 100644 index 00000000..626a78cd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fcc10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fcc10 Unwind@1400fcc10 + * Pseudocode, not original source. */ + +void Unwind_1400fcc10(undefined8 param_1,longlong param_2) + +{ + FUN_140076940(param_2 + 0x50); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fcc20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fcc20.c new file mode 100644 index 00000000..a07de4b4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fcc20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fcc20 Unwind@1400fcc20 + * Pseudocode, not original source. */ + +void Unwind_1400fcc20(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0xd0) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fcc30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fcc30.c new file mode 100644 index 00000000..9143a726 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fcc30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fcc30 Unwind@1400fcc30 + * Pseudocode, not original source. */ + +void Unwind_1400fcc30(undefined8 param_1,longlong param_2) + +{ + FUN_140076940(param_2 + 0x50); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fcc40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fcc40.c new file mode 100644 index 00000000..4f37d232 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fcc40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fcc40 Unwind@1400fcc40 + * Pseudocode, not original source. */ + +void Unwind_1400fcc40(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0xd0) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fcc50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fcc50.c new file mode 100644 index 00000000..32792ec6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fcc50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fcc50 Unwind@1400fcc50 + * Pseudocode, not original source. */ + +void Unwind_1400fcc50(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0xd0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fcc60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fcc60.c new file mode 100644 index 00000000..2ddfda45 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fcc60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fcc60 Unwind@1400fcc60 + * Pseudocode, not original source. */ + +void Unwind_1400fcc60(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fcc70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fcc70.c new file mode 100644 index 00000000..6aa1faea --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fcc70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fcc70 Unwind@1400fcc70 + * Pseudocode, not original source. */ + +void Unwind_1400fcc70(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fcc80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fcc80.c new file mode 100644 index 00000000..c8499985 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fcc80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fcc80 Unwind@1400fcc80 + * Pseudocode, not original source. */ + +void Unwind_1400fcc80(undefined8 param_1,longlong param_2) + +{ + FUN_140076940(param_2 + 0x30); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fcc90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fcc90.c new file mode 100644 index 00000000..27e70db6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fcc90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fcc90 Unwind@1400fcc90 + * Pseudocode, not original source. */ + +void Unwind_1400fcc90(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0xb0) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fcca0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fcca0.c new file mode 100644 index 00000000..be310621 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fcca0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fcca0 Unwind@1400fcca0 + * Pseudocode, not original source. */ + +void Unwind_1400fcca0(undefined8 param_1,longlong param_2,SIZE_T param_3) + +{ + FUN_14007b420((longlong *)(param_2 + 0x40),param_2,param_3); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fccb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fccb0.c new file mode 100644 index 00000000..ef6001aa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fccb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fccb0 Unwind@1400fccb0 + * Pseudocode, not original source. */ + +void Unwind_1400fccb0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x138),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fccc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fccc0.c new file mode 100644 index 00000000..af68c361 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fccc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fccc0 Unwind@1400fccc0 + * Pseudocode, not original source. */ + +void Unwind_1400fccc0(undefined8 param_1,longlong param_2) + +{ + FUN_14007e8f0((undefined8 *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fccd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fccd0.c new file mode 100644 index 00000000..17992238 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fccd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fccd0 Unwind@1400fccd0 + * Pseudocode, not original source. */ + +void Unwind_1400fccd0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xc0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fcce0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fcce0.c new file mode 100644 index 00000000..c668d273 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fcce0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fcce0 Unwind@1400fcce0 + * Pseudocode, not original source. */ + +void Unwind_1400fcce0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fccf0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fccf0.c new file mode 100644 index 00000000..1992c9f1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fccf0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fccf0 Unwind@1400fccf0 + * Pseudocode, not original source. */ + +void Unwind_1400fccf0(undefined8 param_1,longlong param_2) + +{ + FUN_140076940(param_2 + 0x20); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fcd00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fcd00.c new file mode 100644 index 00000000..805cf8d0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fcd00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fcd00 Unwind@1400fcd00 + * Pseudocode, not original source. */ + +void Unwind_1400fcd00(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x80); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fcd10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fcd10.c new file mode 100644 index 00000000..2ee4e9f0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fcd10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fcd10 Unwind@1400fcd10 + * Pseudocode, not original source. */ + +void Unwind_1400fcd10(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0xe0) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fcd20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fcd20.c new file mode 100644 index 00000000..cb5c0856 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fcd20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fcd20 Unwind@1400fcd20 + * Pseudocode, not original source. */ + +void Unwind_1400fcd20(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fcd50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fcd50.c new file mode 100644 index 00000000..cd50a4dc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fcd50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fcd50 Unwind@1400fcd50 + * Pseudocode, not original source. */ + +void Unwind_1400fcd50(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0xe0) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fcd60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fcd60.c new file mode 100644 index 00000000..04f8a079 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fcd60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fcd60 Unwind@1400fcd60 + * Pseudocode, not original source. */ + +void Unwind_1400fcd60(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0xb8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fcd70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fcd70.c new file mode 100644 index 00000000..b571e5f9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fcd70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fcd70 Unwind@1400fcd70 + * Pseudocode, not original source. */ + +void Unwind_1400fcd70(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fcd80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fcd80.c new file mode 100644 index 00000000..4bfbbe35 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fcd80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fcd80 Unwind@1400fcd80 + * Pseudocode, not original source. */ + +void Unwind_1400fcd80(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0xb0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fcd90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fcd90.c new file mode 100644 index 00000000..a6133627 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fcd90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fcd90 Unwind@1400fcd90 + * Pseudocode, not original source. */ + +void Unwind_1400fcd90(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fcda0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fcda0.c new file mode 100644 index 00000000..d2683b23 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fcda0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fcda0 Unwind@1400fcda0 + * Pseudocode, not original source. */ + +void Unwind_1400fcda0(undefined8 param_1,longlong param_2) + +{ + FUN_14007e8f0((undefined8 *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fcdb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fcdb0.c new file mode 100644 index 00000000..b2d0fc3b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fcdb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fcdb0 Unwind@1400fcdb0 + * Pseudocode, not original source. */ + +void Unwind_1400fcdb0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0xc0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fcdc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fcdc0.c new file mode 100644 index 00000000..9aa58a89 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fcdc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fcdc0 Unwind@1400fcdc0 + * Pseudocode, not original source. */ + +void Unwind_1400fcdc0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fcdd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fcdd0.c new file mode 100644 index 00000000..d11b9e62 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fcdd0.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fcdd0 Catch@1400fcdd0 + * Pseudocode, not original source. */ + +undefined * Catch_1400fcdd0(undefined8 param_1,longlong param_2) + +{ + LPCSTR lpOutputString; + + lpOutputString = (LPCSTR)(**(code **)(**(longlong **)(param_2 + 0x38) + 8))(); + OutputDebugStringA(lpOutputString); + uRam0000000000000000 = 1; + return &DAT_1400c77e2; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fce10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fce10.c new file mode 100644 index 00000000..fdc21b26 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fce10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fce10 Unwind@1400fce10 + * Pseudocode, not original source. */ + +void Unwind_1400fce10(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fce20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fce20.c new file mode 100644 index 00000000..93316f68 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fce20.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fce20 Catch@1400fce20 + * Pseudocode, not original source. */ + +undefined * Catch_1400fce20(undefined8 param_1,longlong param_2) + +{ + LPCSTR lpOutputString; + + lpOutputString = (LPCSTR)(**(code **)(**(longlong **)(param_2 + 0x38) + 8))(); + OutputDebugStringA(lpOutputString); + uRam0000000000000000 = 1; + return &DAT_1400c793f; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fce60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fce60.c new file mode 100644 index 00000000..c7ecaf58 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fce60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fce60 Unwind@1400fce60 + * Pseudocode, not original source. */ + +void Unwind_1400fce60(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fce70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fce70.c new file mode 100644 index 00000000..bcb78c62 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fce70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fce70 Unwind@1400fce70 + * Pseudocode, not original source. */ + +void Unwind_1400fce70(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fce80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fce80.c new file mode 100644 index 00000000..9ed2b457 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fce80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fce80 Unwind@1400fce80 + * Pseudocode, not original source. */ + +void Unwind_1400fce80(undefined8 param_1,longlong param_2,ulonglong param_3,ulonglong param_4) + +{ + FUN_14009e710((longlong *)(param_2 + 0x60),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fce90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fce90.c new file mode 100644 index 00000000..d1bd5e80 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fce90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fce90 Unwind@1400fce90 + * Pseudocode, not original source. */ + +void Unwind_1400fce90(undefined8 param_1,longlong param_2) + +{ + FUN_140049f00(*(undefined8 **)(param_2 + 0x70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fcea0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fcea0.c new file mode 100644 index 00000000..b8d71b0b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fcea0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fcea0 Unwind@1400fcea0 + * Pseudocode, not original source. */ + +void Unwind_1400fcea0(undefined8 param_1,longlong param_2) + +{ + FUN_1400bf0c0((undefined8 *)(*(longlong *)(param_2 + 0x70) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fceb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fceb0.c new file mode 100644 index 00000000..abb5ddb6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fceb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fceb0 Unwind@1400fceb0 + * Pseudocode, not original source. */ + +void Unwind_1400fceb0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003d110((undefined4 *)(*(longlong *)(param_2 + 0x70) + 0x10),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fcec0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fcec0.c new file mode 100644 index 00000000..be3fd44e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fcec0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fcec0 Unwind@1400fcec0 + * Pseudocode, not original source. */ + +void Unwind_1400fcec0(undefined8 param_1,longlong param_2) + +{ + FUN_140051940((longlong *)(*(longlong *)(param_2 + 0x70) + 0x78)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fced0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fced0.c new file mode 100644 index 00000000..8427acb5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fced0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fced0 Unwind@1400fced0 + * Pseudocode, not original source. */ + +void Unwind_1400fced0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003d110((undefined4 *)(*(longlong *)(param_2 + 0x70) + 0x88),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fcef0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fcef0.c new file mode 100644 index 00000000..d4c75f5c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fcef0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fcef0 Unwind@1400fcef0 + * Pseudocode, not original source. */ + +void Unwind_1400fcef0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003d110((undefined4 *)(*(longlong *)(param_2 + 0x70) + 0x1c8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fcf10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fcf10.c new file mode 100644 index 00000000..737ef341 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fcf10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fcf10 Unwind@1400fcf10 + * Pseudocode, not original source. */ + +void Unwind_1400fcf10(undefined8 param_1,longlong param_2) + +{ + FUN_140093d10((longlong *)(*(longlong *)(param_2 + 0x70) + 0x208)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fcf30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fcf30.c new file mode 100644 index 00000000..fba95645 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fcf30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fcf30 Unwind@1400fcf30 + * Pseudocode, not original source. */ + +void Unwind_1400fcf30(undefined8 param_1,longlong param_2) + +{ + FUN_1400aace0((longlong *)(*(longlong *)(param_2 + 0x70) + 0x228)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fcf50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fcf50.c new file mode 100644 index 00000000..8471ad80 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fcf50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fcf50 Unwind@1400fcf50 + * Pseudocode, not original source. */ + +void Unwind_1400fcf50(undefined8 param_1,longlong param_2) + +{ + FUN_1400bfcf0((longlong *)(*(longlong *)(param_2 + 0x70) + 0x290)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fcf70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fcf70.c new file mode 100644 index 00000000..699b51c8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fcf70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fcf70 Unwind@1400fcf70 + * Pseudocode, not original source. */ + +void Unwind_1400fcf70(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_1400bf970((longlong *)(*(longlong *)(param_2 + 0x70) + 0x298)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fcf90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fcf90.c new file mode 100644 index 00000000..370e6f1f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fcf90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fcf90 Unwind@1400fcf90 + * Pseudocode, not original source. */ + +void Unwind_1400fcf90(undefined8 param_1,longlong *param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_1400bf880((undefined8 *)(param_2[0xe] + 0x2b0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fcfb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fcfb0.c new file mode 100644 index 00000000..8ae57fa9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fcfb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fcfb0 Unwind@1400fcfb0 + * Pseudocode, not original source. */ + +void Unwind_1400fcfb0(undefined8 param_1,longlong *param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_1400bfb10((undefined8 *)(param_2[0xe] + 0x2b8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fcfd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fcfd0.c new file mode 100644 index 00000000..d9baff0d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fcfd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fcfd0 Unwind@1400fcfd0 + * Pseudocode, not original source. */ + +void Unwind_1400fcfd0(undefined8 param_1,longlong param_2) + +{ + operator_delete(*(void **)(param_2 + 0x80)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fcfe0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fcfe0.c new file mode 100644 index 00000000..dcace17f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fcfe0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fcfe0 Unwind@1400fcfe0 + * Pseudocode, not original source. */ + +void Unwind_1400fcfe0(undefined8 param_1,longlong param_2) + +{ + operator_delete(*(void **)(param_2 + 0x78)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fcff0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fcff0.c new file mode 100644 index 00000000..645fe993 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fcff0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fcff0 Unwind@1400fcff0 + * Pseudocode, not original source. */ + +void Unwind_1400fcff0(undefined8 param_1,longlong param_2) + +{ + FUN_140051940((longlong *)(param_2 + 0x78)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd000.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd000.c new file mode 100644 index 00000000..f7494197 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd000.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd000 Unwind@1400fd000 + * Pseudocode, not original source. */ + +void Unwind_1400fd000(undefined8 param_1,longlong param_2) + +{ + FUN_14003fbd0((undefined8 *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd010.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd010.c new file mode 100644 index 00000000..dbdae9a2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd010.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd010 Unwind@1400fd010 + * Pseudocode, not original source. */ + +void Unwind_1400fd010(undefined8 param_1,longlong param_2) + +{ + FUN_14003fbd0((undefined8 *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd020.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd020.c new file mode 100644 index 00000000..8a03dfc3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd020.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd020 Unwind@1400fd020 + * Pseudocode, not original source. */ + +void Unwind_1400fd020(undefined8 param_1,longlong param_2) + +{ + FUN_140005000((undefined8 *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd030.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd030.c new file mode 100644 index 00000000..671fc83b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd030.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd030 Catch_All@1400fd030 + * Pseudocode, not original source. */ + +undefined * Catch_All_1400fd030(undefined8 param_1,longlong param_2) + +{ + *(undefined4 *)(param_2 + 0x30) = 0; + return &DAT_1400c92fd; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd060.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd060.c new file mode 100644 index 00000000..4b614f0a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd060.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd060 Unwind@1400fd060 + * Pseudocode, not original source. */ + +void Unwind_1400fd060(undefined8 param_1,longlong param_2) + +{ + FUN_1400117d0((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd070.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd070.c new file mode 100644 index 00000000..8db1f54d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd070.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd070 Unwind@1400fd070 + * Pseudocode, not original source. */ + +void Unwind_1400fd070(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd080.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd080.c new file mode 100644 index 00000000..7fcbb591 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd080.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd080 Unwind@1400fd080 + * Pseudocode, not original source. */ + +void Unwind_1400fd080(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + if ((*(uint *)(param_2 + 0x50) & 1) != 0) { + *(uint *)(param_2 + 0x50) = *(uint *)(param_2 + 0x50) & 0xfffffffe; + thunk_FUN_140002190(*(longlong **)(param_2 + 0x58),param_2,param_3,param_4); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd0b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd0b0.c new file mode 100644 index 00000000..912e09ae --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd0b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd0b0 Unwind@1400fd0b0 + * Pseudocode, not original source. */ + +void Unwind_1400fd0b0(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140006e80(*(longlong **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd0c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd0c0.c new file mode 100644 index 00000000..f13a5df0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd0c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd0c0 Unwind@1400fd0c0 + * Pseudocode, not original source. */ + +void Unwind_1400fd0c0(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140006e80((longlong *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd0d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd0d0.c new file mode 100644 index 00000000..047b1fe6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd0d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd0d0 Unwind@1400fd0d0 + * Pseudocode, not original source. */ + +void Unwind_1400fd0d0(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140006e80((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd0e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd0e0.c new file mode 100644 index 00000000..e5011dcf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd0e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd0e0 Unwind@1400fd0e0 + * Pseudocode, not original source. */ + +void Unwind_1400fd0e0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd0f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd0f0.c new file mode 100644 index 00000000..5955aea0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd0f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd0f0 Unwind@1400fd0f0 + * Pseudocode, not original source. */ + +void Unwind_1400fd0f0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd100.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd100.c new file mode 100644 index 00000000..e954a7a8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd100.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd100 Unwind@1400fd100 + * Pseudocode, not original source. */ + +void Unwind_1400fd100(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd110.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd110.c new file mode 100644 index 00000000..69a5a9e9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd110.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd110 Unwind@1400fd110 + * Pseudocode, not original source. */ + +void Unwind_1400fd110(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd120.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd120.c new file mode 100644 index 00000000..262fb097 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd120.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd120 Unwind@1400fd120 + * Pseudocode, not original source. */ + +void Unwind_1400fd120(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd130.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd130.c new file mode 100644 index 00000000..a4ed0c01 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd130.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd130 Unwind@1400fd130 + * Pseudocode, not original source. */ + +void Unwind_1400fd130(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd140.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd140.c new file mode 100644 index 00000000..7f62c9c2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd140.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd140 Unwind@1400fd140 + * Pseudocode, not original source. */ + +void Unwind_1400fd140(undefined8 param_1,longlong param_2) + +{ + FUN_14003f370(*(undefined8 **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd150.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd150.c new file mode 100644 index 00000000..da42d776 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd150.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd150 Unwind@1400fd150 + * Pseudocode, not original source. */ + +void Unwind_1400fd150(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140006e80((longlong *)(*(longlong *)(param_2 + 0x40) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd160.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd160.c new file mode 100644 index 00000000..3f26927b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd160.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd160 Unwind@1400fd160 + * Pseudocode, not original source. */ + +void Unwind_1400fd160(undefined8 param_1,longlong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_1400404a0((longlong *)(*(longlong *)(param_2 + 0x40) + 0x2480),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd180.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd180.c new file mode 100644 index 00000000..2a224d52 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd180.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd180 Unwind@1400fd180 + * Pseudocode, not original source. */ + +void Unwind_1400fd180(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140006e80((longlong *)(*(longlong *)(param_2 + 0x40) + 0x2488)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd1a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd1a0.c new file mode 100644 index 00000000..2b63fd6a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd1a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd1a0 Unwind@1400fd1a0 + * Pseudocode, not original source. */ + +void Unwind_1400fd1a0(undefined8 param_1,longlong param_2) + +{ + FUN_1400c8ad0((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x2510)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd1c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd1c0.c new file mode 100644 index 00000000..d594b8c3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd1c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd1c0 Unwind@1400fd1c0 + * Pseudocode, not original source. */ + +void Unwind_1400fd1c0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x78),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd1d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd1d0.c new file mode 100644 index 00000000..5389ae84 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd1d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd1d0 Unwind@1400fd1d0 + * Pseudocode, not original source. */ + +void Unwind_1400fd1d0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd1e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd1e0.c new file mode 100644 index 00000000..b77cb33d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd1e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd1e0 Unwind@1400fd1e0 + * Pseudocode, not original source. */ + +void Unwind_1400fd1e0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd1f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd1f0.c new file mode 100644 index 00000000..269dddd8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd1f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd1f0 Unwind@1400fd1f0 + * Pseudocode, not original source. */ + +void Unwind_1400fd1f0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd200.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd200.c new file mode 100644 index 00000000..e52a197b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd200.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd200 Unwind@1400fd200 + * Pseudocode, not original source. */ + +void Unwind_1400fd200(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140006e80((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd210.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd210.c new file mode 100644 index 00000000..931f98e0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd210.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd210 Unwind@1400fd210 + * Pseudocode, not original source. */ + +void Unwind_1400fd210(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140006e80((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd220.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd220.c new file mode 100644 index 00000000..3ac4cc3c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd220.c @@ -0,0 +1,20 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd220 Unwind@1400fd220 + * Pseudocode, not original source. */ + +/* Library Function - Single Match + int `public: class ATL::CStringT > > __cdecl CDatabase::GetDatabaseName(void)const __ptr64'::`1'::dtor$0 + + Library: Visual Studio 2005 Release */ + +void Unwind_1400fd220(undefined8 param_1,longlong param_2) + +{ + if ((*(uint *)(param_2 + 0x88) & 1) != 0) { + *(uint *)(param_2 + 0x88) = *(uint *)(param_2 + 0x88) & 0xfffffffe; + thunk_FUN_140006e80(*(longlong **)(param_2 + 0x78)); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd250.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd250.c new file mode 100644 index 00000000..7db8d94a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd250.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd250 Unwind@1400fd250 + * Pseudocode, not original source. */ + +void Unwind_1400fd250(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd260.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd260.c new file mode 100644 index 00000000..bb3a7a0a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd260.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd260 Unwind@1400fd260 + * Pseudocode, not original source. */ + +void Unwind_1400fd260(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd270.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd270.c new file mode 100644 index 00000000..a8018085 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd270.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd270 Unwind@1400fd270 + * Pseudocode, not original source. */ + +void Unwind_1400fd270(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd280.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd280.c new file mode 100644 index 00000000..b38abcee --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd280.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd280 Unwind@1400fd280 + * Pseudocode, not original source. */ + +void Unwind_1400fd280(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd290.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd290.c new file mode 100644 index 00000000..d639ea42 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd290.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd290 Unwind@1400fd290 + * Pseudocode, not original source. */ + +void Unwind_1400fd290(undefined8 param_1,longlong param_2) + +{ + FUN_14003f370(*(undefined8 **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd2a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd2a0.c new file mode 100644 index 00000000..0e26c44c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd2a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd2a0 Unwind@1400fd2a0 + * Pseudocode, not original source. */ + +void Unwind_1400fd2a0(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140006e80((longlong *)(*(longlong *)(param_2 + 0x40) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd2b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd2b0.c new file mode 100644 index 00000000..bae90a67 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd2b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd2b0 Unwind@1400fd2b0 + * Pseudocode, not original source. */ + +void Unwind_1400fd2b0(undefined8 param_1,longlong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_1400404a0((longlong *)(*(longlong *)(param_2 + 0x40) + 0x10),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd2c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd2c0.c new file mode 100644 index 00000000..e9d65cfe --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd2c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd2c0 Unwind@1400fd2c0 + * Pseudocode, not original source. */ + +void Unwind_1400fd2c0(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd2f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd2f0.c new file mode 100644 index 00000000..5f587e13 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd2f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd2f0 Unwind@1400fd2f0 + * Pseudocode, not original source. */ + +void Unwind_1400fd2f0(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd320.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd320.c new file mode 100644 index 00000000..ddce3be8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd320.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd320 Unwind@1400fd320 + * Pseudocode, not original source. */ + +void Unwind_1400fd320(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd350.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd350.c new file mode 100644 index 00000000..1d3775a3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd350.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd350 Unwind@1400fd350 + * Pseudocode, not original source. */ + +void Unwind_1400fd350(undefined8 param_1,longlong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_1400404a0((longlong *)(param_2 + 0x58),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd360.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd360.c new file mode 100644 index 00000000..9257ffdb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd360.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd360 Unwind@1400fd360 + * Pseudocode, not original source. */ + +void Unwind_1400fd360(undefined8 param_1,longlong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_1400404a0((longlong *)(param_2 + 0x48),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd370.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd370.c new file mode 100644 index 00000000..c80f6bc7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd370.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd370 Unwind@1400fd370 + * Pseudocode, not original source. */ + +void Unwind_1400fd370(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd390.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd390.c new file mode 100644 index 00000000..96812fed --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd390.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd390 Unwind@1400fd390 + * Pseudocode, not original source. */ + +void Unwind_1400fd390(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140006e80(*(longlong **)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd3a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd3a0.c new file mode 100644 index 00000000..acd1f2b5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd3a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd3a0 Unwind@1400fd3a0 + * Pseudocode, not original source. */ + +void Unwind_1400fd3a0(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_14003e8b0(*(LPVOID *)(param_2 + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd3c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd3c0.c new file mode 100644 index 00000000..bac0074d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd3c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd3c0 Unwind@1400fd3c0 + * Pseudocode, not original source. */ + +void Unwind_1400fd3c0(undefined8 param_1,longlong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_1400404a0((longlong *)(param_2 + 0x68),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd3d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd3d0.c new file mode 100644 index 00000000..7a6ff00a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd3d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd3d0 Unwind@1400fd3d0 + * Pseudocode, not original source. */ + +void Unwind_1400fd3d0(undefined8 param_1,longlong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_1400404a0((longlong *)(param_2 + 0x70),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd3e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd3e0.c new file mode 100644 index 00000000..c01b4e59 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd3e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd3e0 Unwind@1400fd3e0 + * Pseudocode, not original source. */ + +void Unwind_1400fd3e0(undefined8 param_1,longlong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_1400404a0((longlong *)(param_2 + 0x78),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd3f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd3f0.c new file mode 100644 index 00000000..f31030ad --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd3f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd3f0 Unwind@1400fd3f0 + * Pseudocode, not original source. */ + +void Unwind_1400fd3f0(undefined8 param_1,longlong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_1400404a0((longlong *)(param_2 + 0x20),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd400.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd400.c new file mode 100644 index 00000000..95f0c712 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd400.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd400 Unwind@1400fd400 + * Pseudocode, not original source. */ + +void Unwind_1400fd400(undefined8 param_1,longlong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_1400404a0((longlong *)(param_2 + 0x78),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd410.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd410.c new file mode 100644 index 00000000..f69b3a77 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd410.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd410 Catch_All@1400fd410 + * Pseudocode, not original source. */ + +undefined8 Catch_All_1400fd410(void) + +{ + return 0x1400cbbd3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd430.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd430.c new file mode 100644 index 00000000..21baddec --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd430.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd430 Unwind@1400fd430 + * Pseudocode, not original source. */ + +void Unwind_1400fd430(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140006e80(*(longlong **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd440.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd440.c new file mode 100644 index 00000000..817686a9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd440.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd440 Unwind@1400fd440 + * Pseudocode, not original source. */ + +void Unwind_1400fd440(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd450.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd450.c new file mode 100644 index 00000000..7230a811 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd450.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd450 Unwind@1400fd450 + * Pseudocode, not original source. */ + +void Unwind_1400fd450(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140034c80((undefined8 *)(param_2 + 0x20),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd460.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd460.c new file mode 100644 index 00000000..cf82ab94 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd460.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd460 Unwind@1400fd460 + * Pseudocode, not original source. */ + +void Unwind_1400fd460(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140006e80((longlong *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd470.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd470.c new file mode 100644 index 00000000..f74eb5e6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd470.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd470 Unwind@1400fd470 + * Pseudocode, not original source. */ + +void Unwind_1400fd470(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd480.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd480.c new file mode 100644 index 00000000..3ae4e210 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd480.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd480 Unwind@1400fd480 + * Pseudocode, not original source. */ + +void Unwind_1400fd480(undefined8 param_1,longlong param_2) + +{ + operator_delete(*(void **)(param_2 + 0x88)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd490.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd490.c new file mode 100644 index 00000000..c71740fa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd490.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd490 Unwind@1400fd490 + * Pseudocode, not original source. */ + +void Unwind_1400fd490(undefined8 param_1,longlong param_2) + +{ + FUN_14003f370(*(undefined8 **)(param_2 + 0x88)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd4a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd4a0.c new file mode 100644 index 00000000..b386d59f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd4a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd4a0 Unwind@1400fd4a0 + * Pseudocode, not original source. */ + +void Unwind_1400fd4a0(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140006e80((longlong *)(*(longlong *)(param_2 + 0x88) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd4b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd4b0.c new file mode 100644 index 00000000..f3a7ee7d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd4b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd4b0 Unwind@1400fd4b0 + * Pseudocode, not original source. */ + +void Unwind_1400fd4b0(undefined8 param_1,longlong param_2) + +{ + FUN_1400bfcf0((longlong *)(param_2 + 0xf0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd4c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd4c0.c new file mode 100644 index 00000000..58fd01ea --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd4c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd4c0 Unwind@1400fd4c0 + * Pseudocode, not original source. */ + +void Unwind_1400fd4c0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd4d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd4d0.c new file mode 100644 index 00000000..0fe4d2bf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd4d0.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd4d0 Catch_All@1400fd4d0 + * Pseudocode, not original source. */ + +undefined8 Catch_All_1400fd4d0(void) + +{ + return 0x1400cc343; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd4f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd4f0.c new file mode 100644 index 00000000..c1048be0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd4f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd4f0 Unwind@1400fd4f0 + * Pseudocode, not original source. */ + +void Unwind_1400fd4f0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003d110((undefined4 *)(*(longlong *)(param_2 + 0x40) + 0x10),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd500.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd500.c new file mode 100644 index 00000000..e71eea09 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd500.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd500 Unwind@1400fd500 + * Pseudocode, not original source. */ + +void Unwind_1400fd500(undefined8 param_1,longlong param_2) + +{ + FUN_1400cc330((char *)(*(longlong *)(param_2 + 0x40) + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd510.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd510.c new file mode 100644 index 00000000..bd45b22b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd510.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd510 Unwind@1400fd510 + * Pseudocode, not original source. */ + +void Unwind_1400fd510(undefined8 param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_1400cbbc0((char *)(param_2[8] + 0xa8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd530.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd530.c new file mode 100644 index 00000000..84c8e5f3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd530.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd530 Unwind@1400fd530 + * Pseudocode, not original source. */ + +void Unwind_1400fd530(undefined8 param_1,longlong param_2) + +{ + FUN_1400caef0((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x100)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd550.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd550.c new file mode 100644 index 00000000..e7632cf2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd550.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd550 Unwind@1400fd550 + * Pseudocode, not original source. */ + +void Unwind_1400fd550(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003d110((undefined4 *)(*(longlong *)(param_2 + 0x50) + 0x10),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd560.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd560.c new file mode 100644 index 00000000..ed3fcd24 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd560.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd560 Unwind@1400fd560 + * Pseudocode, not original source. */ + +void Unwind_1400fd560(undefined8 param_1,longlong param_2) + +{ + FUN_1400cc330((char *)(*(longlong *)(param_2 + 0x50) + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd570.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd570.c new file mode 100644 index 00000000..0b63e02f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd570.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd570 Unwind@1400fd570 + * Pseudocode, not original source. */ + +void Unwind_1400fd570(undefined8 param_1,longlong *param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_1400cbbc0((char *)(param_2[10] + 0xa8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd590.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd590.c new file mode 100644 index 00000000..c92e44dd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd590.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd590 Unwind@1400fd590 + * Pseudocode, not original source. */ + +void Unwind_1400fd590(undefined8 param_1,longlong param_2) + +{ + FUN_1400caef0((undefined8 *)(*(longlong *)(param_2 + 0x50) + 0x100)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd5b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd5b0.c new file mode 100644 index 00000000..e1f875ad --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd5b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd5b0 Unwind@1400fd5b0 + * Pseudocode, not original source. */ + +void Unwind_1400fd5b0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd5c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd5c0.c new file mode 100644 index 00000000..debf7c72 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd5c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd5c0 Unwind@1400fd5c0 + * Pseudocode, not original source. */ + +void Unwind_1400fd5c0(undefined8 param_1,longlong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_1400404a0((longlong *)(param_2 + 0x70),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd5d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd5d0.c new file mode 100644 index 00000000..8cc31815 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd5d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd5d0 Unwind@1400fd5d0 + * Pseudocode, not original source. */ + +void Unwind_1400fd5d0(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140006e80((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd5e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd5e0.c new file mode 100644 index 00000000..12031afc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd5e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd5e0 Unwind@1400fd5e0 + * Pseudocode, not original source. */ + +void Unwind_1400fd5e0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xe0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd5f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd5f0.c new file mode 100644 index 00000000..21bb7377 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd5f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd5f0 Unwind@1400fd5f0 + * Pseudocode, not original source. */ + +void Unwind_1400fd5f0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x80)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd600.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd600.c new file mode 100644 index 00000000..c16be6a6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd600.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd600 Unwind@1400fd600 + * Pseudocode, not original source. */ + +void Unwind_1400fd600(undefined8 param_1,longlong param_2) + +{ + FUN_1400756f0((undefined8 *)(param_2 + 0x108)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd610.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd610.c new file mode 100644 index 00000000..de6aa910 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd610.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd610 Unwind@1400fd610 + * Pseudocode, not original source. */ + +void Unwind_1400fd610(undefined8 param_1,longlong param_2) + +{ + operator_delete(*(void **)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd620.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd620.c new file mode 100644 index 00000000..8462c425 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd620.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd620 Unwind@1400fd620 + * Pseudocode, not original source. */ + +void Unwind_1400fd620(undefined8 param_1,longlong param_2) + +{ + FUN_1400bfcf0((longlong *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd630.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd630.c new file mode 100644 index 00000000..70f894fd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd630.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd630 Unwind@1400fd630 + * Pseudocode, not original source. */ + +void Unwind_1400fd630(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xd0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd640.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd640.c new file mode 100644 index 00000000..aeae346c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd640.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd640 Unwind@1400fd640 + * Pseudocode, not original source. */ + +void Unwind_1400fd640(undefined8 param_1,longlong param_2) + +{ + FUN_14003d260((undefined8 *)(param_2 + 0x130)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd650.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd650.c new file mode 100644 index 00000000..0120b68e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd650.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd650 Unwind@1400fd650 + * Pseudocode, not original source. */ + +void Unwind_1400fd650(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xc0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd660.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd660.c new file mode 100644 index 00000000..12063490 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd660.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd660 Unwind@1400fd660 + * Pseudocode, not original source. */ + +void Unwind_1400fd660(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140006e80((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd670.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd670.c new file mode 100644 index 00000000..33227654 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd670.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd670 Unwind@1400fd670 + * Pseudocode, not original source. */ + +void Unwind_1400fd670(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x90)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd680.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd680.c new file mode 100644 index 00000000..8109830f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd680.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd680 Unwind@1400fd680 + * Pseudocode, not original source. */ + +void Unwind_1400fd680(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x118)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd690.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd690.c new file mode 100644 index 00000000..43584e6b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd690.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd690 Unwind@1400fd690 + * Pseudocode, not original source. */ + +void Unwind_1400fd690(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xf0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd6a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd6a0.c new file mode 100644 index 00000000..3ccd8e0c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd6a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd6a0 Unwind@1400fd6a0 + * Pseudocode, not original source. */ + +void Unwind_1400fd6a0(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_14003e8b0(*(LPVOID *)(param_2 + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd6c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd6c0.c new file mode 100644 index 00000000..85ad4995 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd6c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd6c0 Unwind@1400fd6c0 + * Pseudocode, not original source. */ + +void Unwind_1400fd6c0(undefined8 param_1,longlong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_1400404a0((longlong *)(param_2 + 0x58),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd6d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd6d0.c new file mode 100644 index 00000000..a64b35eb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd6d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd6d0 Unwind@1400fd6d0 + * Pseudocode, not original source. */ + +void Unwind_1400fd6d0(undefined8 param_1,longlong param_2) + +{ + FUN_14003d260((undefined8 *)(param_2 + 0x230)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd6e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd6e0.c new file mode 100644 index 00000000..8a06c98b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd6e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd6e0 Unwind@1400fd6e0 + * Pseudocode, not original source. */ + +void Unwind_1400fd6e0(undefined8 param_1,longlong param_2) + +{ + FUN_14003d260((undefined8 *)(param_2 + 0x1a0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd6f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd6f0.c new file mode 100644 index 00000000..50f0c3fb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd6f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd6f0 Unwind@1400fd6f0 + * Pseudocode, not original source. */ + +void Unwind_1400fd6f0(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140006e80((longlong *)(param_2 + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd700.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd700.c new file mode 100644 index 00000000..e3f1201a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd700.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd700 Unwind@1400fd700 + * Pseudocode, not original source. */ + +void Unwind_1400fd700(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140006e80((longlong *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd710.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd710.c new file mode 100644 index 00000000..ac28b8e9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd710.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd710 Unwind@1400fd710 + * Pseudocode, not original source. */ + +void Unwind_1400fd710(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140006e80((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd720.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd720.c new file mode 100644 index 00000000..964252c2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd720.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd720 Unwind@1400fd720 + * Pseudocode, not original source. */ + +void Unwind_1400fd720(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140006e80((longlong *)(param_2 + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd730.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd730.c new file mode 100644 index 00000000..32058bfe --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd730.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd730 Unwind@1400fd730 + * Pseudocode, not original source. */ + +void Unwind_1400fd730(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140006e80((longlong *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd740.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd740.c new file mode 100644 index 00000000..6838f2fd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd740.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd740 Unwind@1400fd740 + * Pseudocode, not original source. */ + +void Unwind_1400fd740(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140006e80((longlong *)(param_2 + 0x80)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd750.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd750.c new file mode 100644 index 00000000..8c06dc97 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd750.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd750 Unwind@1400fd750 + * Pseudocode, not original source. */ + +void Unwind_1400fd750(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140006e80((longlong *)(param_2 + 0x78)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd760.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd760.c new file mode 100644 index 00000000..35a5a9ef --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd760.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd760 Unwind@1400fd760 + * Pseudocode, not original source. */ + +void Unwind_1400fd760(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140006e80((longlong *)(param_2 + 0x70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd770.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd770.c new file mode 100644 index 00000000..168e95b3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd770.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd770 Unwind@1400fd770 + * Pseudocode, not original source. */ + +void Unwind_1400fd770(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x118)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd780.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd780.c new file mode 100644 index 00000000..9b476cb7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd780.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd780 Unwind@1400fd780 + * Pseudocode, not original source. */ + +void Unwind_1400fd780(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 400)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd790.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd790.c new file mode 100644 index 00000000..486293a9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd790.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd790 Unwind@1400fd790 + * Pseudocode, not original source. */ + +void Unwind_1400fd790(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x108)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd7a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd7a0.c new file mode 100644 index 00000000..d43782cd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd7a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd7a0 Unwind@1400fd7a0 + * Pseudocode, not original source. */ + +void Unwind_1400fd7a0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xe8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd7b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd7b0.c new file mode 100644 index 00000000..2b69793f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd7b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd7b0 Unwind@1400fd7b0 + * Pseudocode, not original source. */ + +void Unwind_1400fd7b0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xf8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd7c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd7c0.c new file mode 100644 index 00000000..470b16e7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd7c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd7c0 Unwind@1400fd7c0 + * Pseudocode, not original source. */ + +void Unwind_1400fd7c0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x180)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd7d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd7d0.c new file mode 100644 index 00000000..8fe2f3d5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd7d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd7d0 Unwind@1400fd7d0 + * Pseudocode, not original source. */ + +void Unwind_1400fd7d0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x138)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd7e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd7e0.c new file mode 100644 index 00000000..e5bc3165 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd7e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd7e0 Unwind@1400fd7e0 + * Pseudocode, not original source. */ + +void Unwind_1400fd7e0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x148)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd7f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd7f0.c new file mode 100644 index 00000000..6b41e4b6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd7f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd7f0 Unwind@1400fd7f0 + * Pseudocode, not original source. */ + +void Unwind_1400fd7f0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x170)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd800.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd800.c new file mode 100644 index 00000000..79bc6092 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd800.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd800 Unwind@1400fd800 + * Pseudocode, not original source. */ + +void Unwind_1400fd800(undefined8 param_1,longlong param_2) + +{ + FUN_140005000((undefined8 *)(param_2 + 0x2c0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd810.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd810.c new file mode 100644 index 00000000..3b8cdcdd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd810.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd810 Unwind@1400fd810 + * Pseudocode, not original source. */ + +void Unwind_1400fd810(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x30),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd820.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd820.c new file mode 100644 index 00000000..9d5a1aaf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd820.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd820 Unwind@1400fd820 + * Pseudocode, not original source. */ + +void Unwind_1400fd820(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x160)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd830.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd830.c new file mode 100644 index 00000000..ceb77118 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd830.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd830 Unwind@1400fd830 + * Pseudocode, not original source. */ + +void Unwind_1400fd830(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x128)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd840.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd840.c new file mode 100644 index 00000000..e96a281f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd840.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd840 Unwind@1400fd840 + * Pseudocode, not original source. */ + +void Unwind_1400fd840(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd850.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd850.c new file mode 100644 index 00000000..9b9cf732 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd850.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd850 Unwind@1400fd850 + * Pseudocode, not original source. */ + +void Unwind_1400fd850(undefined8 param_1,longlong param_2) + +{ + FUN_14004d2c0((undefined8 *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd860.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd860.c new file mode 100644 index 00000000..cc6f6dd9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd860.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd860 Unwind@1400fd860 + * Pseudocode, not original source. */ + +void Unwind_1400fd860(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0x130,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd870.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd870.c new file mode 100644 index 00000000..896fe0eb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd870.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd870 Unwind@1400fd870 + * Pseudocode, not original source. */ + +void Unwind_1400fd870(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x80); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd880.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd880.c new file mode 100644 index 00000000..028f08ea --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd880.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd880 Unwind@1400fd880 + * Pseudocode, not original source. */ + +void Unwind_1400fd880(undefined8 param_1,longlong param_2) + +{ + FUN_140076940(param_2 + 0x80); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd890.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd890.c new file mode 100644 index 00000000..8fcea7de --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd890.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd890 Unwind@1400fd890 + * Pseudocode, not original source. */ + +void Unwind_1400fd890(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x28) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd8a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd8a0.c new file mode 100644 index 00000000..74181e4b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd8a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd8a0 Unwind@1400fd8a0 + * Pseudocode, not original source. */ + +void Unwind_1400fd8a0(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0xdb0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd8c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd8c0.c new file mode 100644 index 00000000..98103856 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd8c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd8c0 Unwind@1400fd8c0 + * Pseudocode, not original source. */ + +void Unwind_1400fd8c0(undefined8 param_1,longlong param_2) + +{ + FUN_140049ec0(*(undefined8 **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd8d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd8d0.c new file mode 100644 index 00000000..904e7ad9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd8d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd8d0 Unwind@1400fd8d0 + * Pseudocode, not original source. */ + +void Unwind_1400fd8d0(undefined8 param_1,longlong param_2) + +{ + FUN_140043510((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd8e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd8e0.c new file mode 100644 index 00000000..aec60063 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd8e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd8e0 Unwind@1400fd8e0 + * Pseudocode, not original source. */ + +void Unwind_1400fd8e0(undefined8 param_1,longlong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_1400404a0((longlong *)(*(longlong *)(param_2 + 0x40) + 0x128),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd900.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd900.c new file mode 100644 index 00000000..2aaa20a6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd900.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd900 Unwind@1400fd900 + * Pseudocode, not original source. */ + +void Unwind_1400fd900(undefined8 param_1,longlong param_2) + +{ + FUN_14009aa70(*(longlong *)(param_2 + 0x40) + 0x130); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd920.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd920.c new file mode 100644 index 00000000..d507448e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd920.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd920 Unwind@1400fd920 + * Pseudocode, not original source. */ + +void Unwind_1400fd920(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140093f40((longlong *)(*(longlong *)(param_2 + 0x40) + 0x170),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd940.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd940.c new file mode 100644 index 00000000..38ca4ce9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd940.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd940 Unwind@1400fd940 + * Pseudocode, not original source. */ + +void Unwind_1400fd940(undefined8 param_1,longlong param_2) + +{ + FUN_140049ec0(*(undefined8 **)(param_2 + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd950.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd950.c new file mode 100644 index 00000000..6f87487f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd950.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd950 Unwind@1400fd950 + * Pseudocode, not original source. */ + +void Unwind_1400fd950(undefined8 param_1,longlong param_2) + +{ + FUN_140043510((undefined8 *)(*(longlong *)(param_2 + 0x60) + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd960.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd960.c new file mode 100644 index 00000000..308ceb39 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd960.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd960 Unwind@1400fd960 + * Pseudocode, not original source. */ + +void Unwind_1400fd960(undefined8 param_1,longlong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_1400404a0((longlong *)(*(longlong *)(param_2 + 0x60) + 0x128),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd980.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd980.c new file mode 100644 index 00000000..44b13629 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd980.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd980 Unwind@1400fd980 + * Pseudocode, not original source. */ + +void Unwind_1400fd980(undefined8 param_1,longlong param_2) + +{ + FUN_14009aa70(*(longlong *)(param_2 + 0x60) + 0x130); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd9a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd9a0.c new file mode 100644 index 00000000..bd70a32e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd9a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd9a0 Unwind@1400fd9a0 + * Pseudocode, not original source. */ + +void Unwind_1400fd9a0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140093f40((longlong *)(*(longlong *)(param_2 + 0x60) + 0x170),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd9c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd9c0.c new file mode 100644 index 00000000..e521e236 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd9c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd9c0 Unwind@1400fd9c0 + * Pseudocode, not original source. */ + +void Unwind_1400fd9c0(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_14003e8b0(*(LPVOID *)(param_2 + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd9e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd9e0.c new file mode 100644 index 00000000..7a782b83 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd9e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd9e0 Unwind@1400fd9e0 + * Pseudocode, not original source. */ + +void Unwind_1400fd9e0(undefined8 param_1,longlong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_1400404a0((longlong *)(param_2 + 0x68),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fd9f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fd9f0.c new file mode 100644 index 00000000..9d9166bb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fd9f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fd9f0 Unwind@1400fd9f0 + * Pseudocode, not original source. */ + +void Unwind_1400fd9f0(undefined8 param_1,longlong param_2) + +{ + FUN_14009b6e0(*(undefined8 **)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fda00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fda00.c new file mode 100644 index 00000000..58f24878 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fda00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fda00 Unwind@1400fda00 + * Pseudocode, not original source. */ + +void Unwind_1400fda00(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x30); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fda10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fda10.c new file mode 100644 index 00000000..d3e9d3c3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fda10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fda10 Unwind@1400fda10 + * Pseudocode, not original source. */ + +void Unwind_1400fda10(undefined8 param_1,longlong param_2) + +{ + FUN_14004de40(param_2 + 0x30); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fda20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fda20.c new file mode 100644 index 00000000..ad6bcb8b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fda20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fda20 Unwind@1400fda20 + * Pseudocode, not original source. */ + +void Unwind_1400fda20(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0x70,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fda30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fda30.c new file mode 100644 index 00000000..28a458af --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fda30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fda30 Unwind@1400fda30 + * Pseudocode, not original source. */ + +void Unwind_1400fda30(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0xd00,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fda40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fda40.c new file mode 100644 index 00000000..f3b92c3b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fda40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fda40 Unwind@1400fda40 + * Pseudocode, not original source. */ + +void Unwind_1400fda40(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x20),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fda50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fda50.c new file mode 100644 index 00000000..752860f5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fda50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fda50 Unwind@1400fda50 + * Pseudocode, not original source. */ + +void Unwind_1400fda50(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fda60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fda60.c new file mode 100644 index 00000000..08d22313 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fda60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fda60 Unwind@1400fda60 + * Pseudocode, not original source. */ + +void Unwind_1400fda60(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x20) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fda70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fda70.c new file mode 100644 index 00000000..ced06535 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fda70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fda70 Unwind@1400fda70 + * Pseudocode, not original source. */ + +void Unwind_1400fda70(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x80); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fda80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fda80.c new file mode 100644 index 00000000..ecb12889 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fda80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fda80 Unwind@1400fda80 + * Pseudocode, not original source. */ + +void Unwind_1400fda80(undefined8 param_1,longlong param_2) + +{ + FUN_14004de40(param_2 + 0x80); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fda90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fda90.c new file mode 100644 index 00000000..88cde978 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fda90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fda90 Unwind@1400fda90 + * Pseudocode, not original source. */ + +void Unwind_1400fda90(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0xe0) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdaa0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdaa0.c new file mode 100644 index 00000000..0e5ddcbb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdaa0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdaa0 Unwind@1400fdaa0 + * Pseudocode, not original source. */ + +void Unwind_1400fdaa0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x50); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdab0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdab0.c new file mode 100644 index 00000000..804af42e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdab0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdab0 Unwind@1400fdab0 + * Pseudocode, not original source. */ + +void Unwind_1400fdab0(undefined8 param_1,longlong param_2) + +{ + FUN_14004de40(param_2 + 0x50); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdac0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdac0.c new file mode 100644 index 00000000..99a10fb9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdac0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdac0 Unwind@1400fdac0 + * Pseudocode, not original source. */ + +void Unwind_1400fdac0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdad0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdad0.c new file mode 100644 index 00000000..03582bb5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdad0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdad0 Unwind@1400fdad0 + * Pseudocode, not original source. */ + +void Unwind_1400fdad0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x98),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdae0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdae0.c new file mode 100644 index 00000000..595f10e9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdae0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdae0 Unwind@1400fdae0 + * Pseudocode, not original source. */ + +void Unwind_1400fdae0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x100),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdaf0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdaf0.c new file mode 100644 index 00000000..152770a2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdaf0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdaf0 Unwind@1400fdaf0 + * Pseudocode, not original source. */ + +void Unwind_1400fdaf0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x78)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdb00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdb00.c new file mode 100644 index 00000000..b4eab491 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdb00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdb00 Unwind@1400fdb00 + * Pseudocode, not original source. */ + +void Unwind_1400fdb00(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x78)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdb10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdb10.c new file mode 100644 index 00000000..41f2fb0c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdb10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdb10 Unwind@1400fdb10 + * Pseudocode, not original source. */ + +void Unwind_1400fdb10(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x78)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdb20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdb20.c new file mode 100644 index 00000000..5f49131d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdb20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdb20 Unwind@1400fdb20 + * Pseudocode, not original source. */ + +void Unwind_1400fdb20(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x100) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdb30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdb30.c new file mode 100644 index 00000000..7a0f0961 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdb30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdb30 Unwind@1400fdb30 + * Pseudocode, not original source. */ + +void Unwind_1400fdb30(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x78); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdb40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdb40.c new file mode 100644 index 00000000..15a03345 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdb40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdb40 Unwind@1400fdb40 + * Pseudocode, not original source. */ + +void Unwind_1400fdb40(undefined8 param_1,longlong param_2) + +{ + FUN_14004de40(param_2 + 0x78); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdb50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdb50.c new file mode 100644 index 00000000..e3b3758e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdb50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdb50 Unwind@1400fdb50 + * Pseudocode, not original source. */ + +void Unwind_1400fdb50(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0xc0) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdb60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdb60.c new file mode 100644 index 00000000..6329fdaa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdb60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdb60 Unwind@1400fdb60 + * Pseudocode, not original source. */ + +void Unwind_1400fdb60(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x50); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdb70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdb70.c new file mode 100644 index 00000000..6764a1a9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdb70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdb70 Unwind@1400fdb70 + * Pseudocode, not original source. */ + +void Unwind_1400fdb70(undefined8 param_1,longlong param_2) + +{ + FUN_14004de40(param_2 + 0x50); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdb80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdb80.c new file mode 100644 index 00000000..ce5f1fed --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdb80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdb80 Unwind@1400fdb80 + * Pseudocode, not original source. */ + +void Unwind_1400fdb80(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x120) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdb90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdb90.c new file mode 100644 index 00000000..e131a7e5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdb90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdb90 Unwind@1400fdb90 + * Pseudocode, not original source. */ + +void Unwind_1400fdb90(undefined8 param_1,longlong param_2) + +{ + FUN_140005000((undefined8 *)(param_2 + 0x1a0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdba0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdba0.c new file mode 100644 index 00000000..17dde45e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdba0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdba0 Unwind@1400fdba0 + * Pseudocode, not original source. */ + +void Unwind_1400fdba0(undefined8 param_1,longlong param_2) + +{ + FUN_140005000((undefined8 *)(param_2 + 0x4d0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdbb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdbb0.c new file mode 100644 index 00000000..939805a2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdbb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdbb0 Unwind@1400fdbb0 + * Pseudocode, not original source. */ + +void Unwind_1400fdbb0(undefined8 param_1,longlong param_2) + +{ + FUN_140005000((undefined8 *)(param_2 + 0x2b0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdbc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdbc0.c new file mode 100644 index 00000000..ff9607d6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdbc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdbc0 Unwind@1400fdbc0 + * Pseudocode, not original source. */ + +void Unwind_1400fdbc0(undefined8 param_1,longlong param_2) + +{ + FUN_140005000((undefined8 *)(param_2 + 0x3c0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdbd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdbd0.c new file mode 100644 index 00000000..989c629e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdbd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdbd0 Unwind@1400fdbd0 + * Pseudocode, not original source. */ + +void Unwind_1400fdbd0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x88),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdbe0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdbe0.c new file mode 100644 index 00000000..8ba11a06 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdbe0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdbe0 Unwind@1400fdbe0 + * Pseudocode, not original source. */ + +void Unwind_1400fdbe0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x60),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdbf0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdbf0.c new file mode 100644 index 00000000..4553a4f6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdbf0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdbf0 Unwind@1400fdbf0 + * Pseudocode, not original source. */ + +void Unwind_1400fdbf0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x110)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdc00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdc00.c new file mode 100644 index 00000000..a529e4eb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdc00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdc00 Unwind@1400fdc00 + * Pseudocode, not original source. */ + +void Unwind_1400fdc00(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x130)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdc10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdc10.c new file mode 100644 index 00000000..e2f20f9e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdc10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdc10 Unwind@1400fdc10 + * Pseudocode, not original source. */ + +void Unwind_1400fdc10(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3e0((longlong *)(*(longlong *)(param_2 + 0x40) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdc20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdc20.c new file mode 100644 index 00000000..ef309aa0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdc20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdc20 Unwind@1400fdc20 + * Pseudocode, not original source. */ + +void Unwind_1400fdc20(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x40) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdc30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdc30.c new file mode 100644 index 00000000..120fec07 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdc30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdc30 Unwind@1400fdc30 + * Pseudocode, not original source. */ + +void Unwind_1400fdc30(undefined8 param_1,longlong param_2) + +{ + FUN_1400a8ff0((longlong *)(param_2 + 0x98)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdc40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdc40.c new file mode 100644 index 00000000..c82ca88c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdc40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdc40 Unwind@1400fdc40 + * Pseudocode, not original source. */ + +void Unwind_1400fdc40(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0xc0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdc50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdc50.c new file mode 100644 index 00000000..5209ca94 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdc50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdc50 Unwind@1400fdc50 + * Pseudocode, not original source. */ + +void Unwind_1400fdc50(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0xa0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdc60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdc60.c new file mode 100644 index 00000000..67dd2b50 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdc60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdc60 Unwind@1400fdc60 + * Pseudocode, not original source. */ + +void Unwind_1400fdc60(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x90),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdc70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdc70.c new file mode 100644 index 00000000..9783aefc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdc70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdc70 Unwind@1400fdc70 + * Pseudocode, not original source. */ + +void Unwind_1400fdc70(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0xa8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdc80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdc80.c new file mode 100644 index 00000000..cb84397d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdc80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdc80 Unwind@1400fdc80 + * Pseudocode, not original source. */ + +void Unwind_1400fdc80(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 200)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdc90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdc90.c new file mode 100644 index 00000000..7274fb38 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdc90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdc90 Unwind@1400fdc90 + * Pseudocode, not original source. */ + +void Unwind_1400fdc90(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xd8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdca0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdca0.c new file mode 100644 index 00000000..b8a03a40 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdca0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdca0 Unwind@1400fdca0 + * Pseudocode, not original source. */ + +void Unwind_1400fdca0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xf0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdcb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdcb0.c new file mode 100644 index 00000000..081aafe1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdcb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdcb0 Unwind@1400fdcb0 + * Pseudocode, not original source. */ + +void Unwind_1400fdcb0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x100)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdcc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdcc0.c new file mode 100644 index 00000000..e5972473 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdcc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdcc0 Unwind@1400fdcc0 + * Pseudocode, not original source. */ + +void Unwind_1400fdcc0(undefined8 param_1,longlong param_2) + +{ + FUN_1400a8ff0((longlong *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdcd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdcd0.c new file mode 100644 index 00000000..20389ec0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdcd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdcd0 Unwind@1400fdcd0 + * Pseudocode, not original source. */ + +void Unwind_1400fdcd0(undefined8 param_1,longlong param_2) + +{ + operator_delete(*(void **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdce0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdce0.c new file mode 100644 index 00000000..d0f1c65f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdce0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdce0 Unwind@1400fdce0 + * Pseudocode, not original source. */ + +void Unwind_1400fdce0(undefined8 param_1,longlong param_2) + +{ + FUN_14004a900((longlong *)(*(longlong *)(param_2 + 0x40) + 0x10)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdcf0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdcf0.c new file mode 100644 index 00000000..b1912b95 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdcf0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdcf0 Unwind@1400fdcf0 + * Pseudocode, not original source. */ + +void Unwind_1400fdcf0(undefined8 param_1,longlong param_2) + +{ + operator_delete(*(void **)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdd00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdd00.c new file mode 100644 index 00000000..c1a9540d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdd00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdd00 Unwind@1400fdd00 + * Pseudocode, not original source. */ + +void Unwind_1400fdd00(undefined8 param_1,longlong param_2) + +{ + FUN_1400a8ff0((longlong *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdd10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdd10.c new file mode 100644 index 00000000..05d902f3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdd10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdd10 Unwind@1400fdd10 + * Pseudocode, not original source. */ + +void Unwind_1400fdd10(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x88),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdd20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdd20.c new file mode 100644 index 00000000..36045951 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdd20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdd20 Unwind@1400fdd20 + * Pseudocode, not original source. */ + +void Unwind_1400fdd20(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xf0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdd30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdd30.c new file mode 100644 index 00000000..eae0fe14 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdd30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdd30 Unwind@1400fdd30 + * Pseudocode, not original source. */ + +void Unwind_1400fdd30(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x80),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdd40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdd40.c new file mode 100644 index 00000000..98c914f6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdd40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdd40 Unwind@1400fdd40 + * Pseudocode, not original source. */ + +void Unwind_1400fdd40(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x98),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdd50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdd50.c new file mode 100644 index 00000000..919a5312 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdd50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdd50 Unwind@1400fdd50 + * Pseudocode, not original source. */ + +void Unwind_1400fdd50(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x188),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdd60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdd60.c new file mode 100644 index 00000000..c22f159a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdd60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdd60 Unwind@1400fdd60 + * Pseudocode, not original source. */ + +void Unwind_1400fdd60(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xd0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdd70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdd70.c new file mode 100644 index 00000000..42b08278 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdd70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdd70 Unwind@1400fdd70 + * Pseudocode, not original source. */ + +void Unwind_1400fdd70(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xb0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdd80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdd80.c new file mode 100644 index 00000000..56f789fe --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdd80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdd80 Unwind@1400fdd80 + * Pseudocode, not original source. */ + +void Unwind_1400fdd80(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xc0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdd90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdd90.c new file mode 100644 index 00000000..1165ea6f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdd90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdd90 Unwind@1400fdd90 + * Pseudocode, not original source. */ + +void Unwind_1400fdd90(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xe0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdda0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdda0.c new file mode 100644 index 00000000..34f321cc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdda0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdda0 Unwind@1400fdda0 + * Pseudocode, not original source. */ + +void Unwind_1400fdda0(undefined8 param_1,longlong param_2) + +{ + FUN_1400a8ff0((longlong *)(param_2 + 0xa0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fddb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fddb0.c new file mode 100644 index 00000000..aed9022e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fddb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fddb0 Unwind@1400fddb0 + * Pseudocode, not original source. */ + +void Unwind_1400fddb0(undefined8 param_1,longlong param_2) + +{ + FUN_1400bfcf0((longlong *)(param_2 + 0x80)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fddc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fddc0.c new file mode 100644 index 00000000..c10a4ebc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fddc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fddc0 Unwind@1400fddc0 + * Pseudocode, not original source. */ + +void Unwind_1400fddc0(undefined8 param_1,longlong param_2) + +{ + operator_delete(*(void **)(param_2 + 0x70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fddd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fddd0.c new file mode 100644 index 00000000..e2e378a4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fddd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fddd0 Unwind@1400fddd0 + * Pseudocode, not original source. */ + +void Unwind_1400fddd0(undefined8 param_1,longlong param_2) + +{ + FUN_1400bfcf0((longlong *)(param_2 + 0x70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdde0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdde0.c new file mode 100644 index 00000000..e6ed5c7d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdde0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdde0 Unwind@1400fdde0 + * Pseudocode, not original source. */ + +void Unwind_1400fdde0(undefined8 param_1,longlong param_2) + +{ + FUN_1400a8ff0((longlong *)(param_2 + 0xf8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fddf0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fddf0.c new file mode 100644 index 00000000..2de46959 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fddf0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fddf0 Unwind@1400fddf0 + * Pseudocode, not original source. */ + +void Unwind_1400fddf0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0xe8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fde00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fde00.c new file mode 100644 index 00000000..479061e6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fde00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fde00 Unwind@1400fde00 + * Pseudocode, not original source. */ + +void Unwind_1400fde00(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fde10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fde10.c new file mode 100644 index 00000000..727dbfb0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fde10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fde10 Unwind@1400fde10 + * Pseudocode, not original source. */ + +void Unwind_1400fde10(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fde20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fde20.c new file mode 100644 index 00000000..146b9c54 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fde20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fde20 Unwind@1400fde20 + * Pseudocode, not original source. */ + +void Unwind_1400fde20(undefined8 param_1,longlong param_2) + +{ + FUN_1400bfcf0((longlong *)(param_2 + 0x88)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fde30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fde30.c new file mode 100644 index 00000000..3bf6542e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fde30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fde30 Unwind@1400fde30 + * Pseudocode, not original source. */ + +void Unwind_1400fde30(undefined8 param_1,longlong param_2) + +{ + operator_delete(*(void **)(param_2 + 0x70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fde40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fde40.c new file mode 100644 index 00000000..ad8eb9fe --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fde40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fde40 Unwind@1400fde40 + * Pseudocode, not original source. */ + +void Unwind_1400fde40(undefined8 param_1,longlong param_2) + +{ + FUN_1400bfcf0((longlong *)(param_2 + 0x70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fde50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fde50.c new file mode 100644 index 00000000..5e227596 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fde50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fde50 Unwind@1400fde50 + * Pseudocode, not original source. */ + +void Unwind_1400fde50(undefined8 param_1,longlong param_2) + +{ + FUN_1400bfcf0((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fde60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fde60.c new file mode 100644 index 00000000..508bef4b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fde60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fde60 Unwind@1400fde60 + * Pseudocode, not original source. */ + +void Unwind_1400fde60(undefined8 param_1,longlong param_2) + +{ + FUN_14004b860((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x18)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fde70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fde70.c new file mode 100644 index 00000000..41cbbeac --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fde70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fde70 Unwind@1400fde70 + * Pseudocode, not original source. */ + +void Unwind_1400fde70(undefined8 param_1,longlong param_2) + +{ + FUN_1400d25e0((longlong *)(*(longlong *)(param_2 + 0x40) + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fde80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fde80.c new file mode 100644 index 00000000..094f26a7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fde80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fde80 Unwind@1400fde80 + * Pseudocode, not original source. */ + +void Unwind_1400fde80(undefined8 param_1,longlong param_2) + +{ + FUN_1400d2610(*(longlong *)(param_2 + 0x40) + 8); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fde90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fde90.c new file mode 100644 index 00000000..2f74b33a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fde90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fde90 Unwind@1400fde90 + * Pseudocode, not original source. */ + +void Unwind_1400fde90(undefined8 param_1,longlong param_2) + +{ + FUN_14009aa70(*(longlong *)(param_2 + 0x40) + 0x30); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdea0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdea0.c new file mode 100644 index 00000000..94cfcf33 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdea0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdea0 Unwind@1400fdea0 + * Pseudocode, not original source. */ + +void Unwind_1400fdea0(undefined8 param_1,longlong param_2) + +{ + FUN_1400d25e0((longlong *)(*(longlong *)(param_2 + 0x40) + 0x70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdeb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdeb0.c new file mode 100644 index 00000000..6db67693 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdeb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdeb0 Unwind@1400fdeb0 + * Pseudocode, not original source. */ + +void Unwind_1400fdeb0(undefined8 param_1,longlong param_2) + +{ + FUN_1400cef90(*(undefined8 **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdec0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdec0.c new file mode 100644 index 00000000..0d01d367 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdec0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdec0 Unwind@1400fdec0 + * Pseudocode, not original source. */ + +void Unwind_1400fdec0(undefined8 param_1,longlong param_2) + +{ + FUN_14009b660(*(undefined8 **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fded0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fded0.c new file mode 100644 index 00000000..b169e14a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fded0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fded0 Unwind@1400fded0 + * Pseudocode, not original source. */ + +void Unwind_1400fded0(undefined8 param_1,longlong param_2) + +{ + FUN_14009b6a0((undefined8 *)(*(longlong *)(param_2 + 0x40) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdee0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdee0.c new file mode 100644 index 00000000..a7110c61 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdee0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdee0 Unwind@1400fdee0 + * Pseudocode, not original source. */ + +void Unwind_1400fdee0(undefined8 param_1,longlong param_2) + +{ + FUN_1400912b0((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x10)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdef0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdef0.c new file mode 100644 index 00000000..d0f1ce04 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdef0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdef0 Unwind@1400fdef0 + * Pseudocode, not original source. */ + +void Unwind_1400fdef0(undefined8 param_1,longlong param_2) + +{ + FUN_1400bfcf0((longlong *)(*(longlong *)(param_2 + 0x40) + 0x18)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdf00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdf00.c new file mode 100644 index 00000000..fa00fb04 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdf00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdf00 Unwind@1400fdf00 + * Pseudocode, not original source. */ + +void Unwind_1400fdf00(undefined8 param_1,longlong param_2) + +{ + FUN_1400a8ff0((longlong *)(*(longlong *)(param_2 + 0x40) + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdf10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdf10.c new file mode 100644 index 00000000..4fb3c667 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdf10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdf10 Unwind@1400fdf10 + * Pseudocode, not original source. */ + +void Unwind_1400fdf10(undefined8 param_1,longlong param_2) + +{ + FUN_14004a040(*(longlong *)(param_2 + 0x40) + 0x168); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdf30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdf30.c new file mode 100644 index 00000000..a67ef371 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdf30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdf30 Unwind@1400fdf30 + * Pseudocode, not original source. */ + +void Unwind_1400fdf30(undefined8 param_1,longlong param_2) + +{ + FUN_1400b0650((char *)(*(longlong *)(param_2 + 0x40) + 0x5b0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdf50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdf50.c new file mode 100644 index 00000000..cf912381 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdf50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdf50 Unwind@1400fdf50 + * Pseudocode, not original source. */ + +void Unwind_1400fdf50(undefined8 param_1,longlong param_2) + +{ + FUN_1400cef90(*(undefined8 **)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdf60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdf60.c new file mode 100644 index 00000000..3cbfd3e3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdf60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdf60 Unwind@1400fdf60 + * Pseudocode, not original source. */ + +void Unwind_1400fdf60(undefined8 param_1,longlong param_2) + +{ + FUN_14009b660(*(undefined8 **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdf70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdf70.c new file mode 100644 index 00000000..52a42f0e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdf70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdf70 Unwind@1400fdf70 + * Pseudocode, not original source. */ + +void Unwind_1400fdf70(undefined8 param_1,longlong param_2) + +{ + FUN_14009b6a0((undefined8 *)(*(longlong *)(param_2 + 0x40) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdf80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdf80.c new file mode 100644 index 00000000..37ce2fd0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdf80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdf80 Unwind@1400fdf80 + * Pseudocode, not original source. */ + +void Unwind_1400fdf80(undefined8 param_1,longlong param_2) + +{ + FUN_1400912b0((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x10)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdf90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdf90.c new file mode 100644 index 00000000..1b6170c6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdf90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdf90 Unwind@1400fdf90 + * Pseudocode, not original source. */ + +void Unwind_1400fdf90(undefined8 param_1,longlong param_2) + +{ + FUN_1400bfcf0((longlong *)(*(longlong *)(param_2 + 0x40) + 0x18)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdfa0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdfa0.c new file mode 100644 index 00000000..eb0504ad --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdfa0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdfa0 Unwind@1400fdfa0 + * Pseudocode, not original source. */ + +void Unwind_1400fdfa0(undefined8 param_1,longlong param_2) + +{ + FUN_1400a8ff0((longlong *)(*(longlong *)(param_2 + 0x40) + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdfb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdfb0.c new file mode 100644 index 00000000..cf9ade20 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdfb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdfb0 Unwind@1400fdfb0 + * Pseudocode, not original source. */ + +void Unwind_1400fdfb0(undefined8 param_1,longlong param_2) + +{ + FUN_14004a040(*(longlong *)(param_2 + 0x40) + 0x168); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdfd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdfd0.c new file mode 100644 index 00000000..6ca48b66 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdfd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdfd0 Unwind@1400fdfd0 + * Pseudocode, not original source. */ + +void Unwind_1400fdfd0(undefined8 param_1,longlong param_2) + +{ + FUN_1400b0650((char *)(*(longlong *)(param_2 + 0x40) + 0x5b0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fdff0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fdff0.c new file mode 100644 index 00000000..5ff463e1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fdff0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fdff0 Unwind@1400fdff0 + * Pseudocode, not original source. */ + +void Unwind_1400fdff0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400d2780((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x638),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe010.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe010.c new file mode 100644 index 00000000..81c9a1c9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe010.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe010 Unwind@1400fe010 + * Pseudocode, not original source. */ + +void Unwind_1400fe010(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0x180,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe020.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe020.c new file mode 100644 index 00000000..11c4fa32 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe020.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe020 Unwind@1400fe020 + * Pseudocode, not original source. */ + +void Unwind_1400fe020(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0xd0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe030.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe030.c new file mode 100644 index 00000000..f9ca52f4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe030.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe030 Unwind@1400fe030 + * Pseudocode, not original source. */ + +void Unwind_1400fe030(undefined8 param_1,longlong param_2) + +{ + FUN_140076940(param_2 + 0xd0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe040.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe040.c new file mode 100644 index 00000000..c12a270a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe040.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe040 Unwind@1400fe040 + * Pseudocode, not original source. */ + +void Unwind_1400fe040(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x40) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe050.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe050.c new file mode 100644 index 00000000..993cd095 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe050.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe050 Unwind@1400fe050 + * Pseudocode, not original source. */ + +void Unwind_1400fe050(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0xe00)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe070.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe070.c new file mode 100644 index 00000000..2d9b4e73 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe070.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe070 Unwind@1400fe070 + * Pseudocode, not original source. */ + +void Unwind_1400fe070(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0xa0,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe080.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe080.c new file mode 100644 index 00000000..079bf87e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe080.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe080 Unwind@1400fe080 + * Pseudocode, not original source. */ + +void Unwind_1400fe080(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0xd20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe0a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe0a0.c new file mode 100644 index 00000000..dc3d30f4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe0a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe0a0 Unwind@1400fe0a0 + * Pseudocode, not original source. */ + +void Unwind_1400fe0a0(undefined8 param_1,longlong param_2) + +{ + FUN_140049ec0(*(undefined8 **)(param_2 + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe0b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe0b0.c new file mode 100644 index 00000000..c0bf2e14 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe0b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe0b0 Unwind@1400fe0b0 + * Pseudocode, not original source. */ + +void Unwind_1400fe0b0(undefined8 param_1,longlong param_2) + +{ + FUN_140043510((undefined8 *)(*(longlong *)(param_2 + 0x60) + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe0c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe0c0.c new file mode 100644 index 00000000..603ad033 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe0c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe0c0 Unwind@1400fe0c0 + * Pseudocode, not original source. */ + +void Unwind_1400fe0c0(undefined8 param_1,longlong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_1400404a0((longlong *)(*(longlong *)(param_2 + 0x60) + 0x100),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe0e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe0e0.c new file mode 100644 index 00000000..b110f175 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe0e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe0e0 Unwind@1400fe0e0 + * Pseudocode, not original source. */ + +void Unwind_1400fe0e0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140091670((undefined8 *)(*(longlong *)(param_2 + 0x60) + 0x108),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe100.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe100.c new file mode 100644 index 00000000..6bb9a699 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe100.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe100 Unwind@1400fe100 + * Pseudocode, not original source. */ + +void Unwind_1400fe100(undefined8 param_1,longlong param_2,longlong param_3) + +{ + FUN_1400916a0((undefined8 *)(*(longlong *)(param_2 + 0x60) + 0x110),param_2,param_3); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe120.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe120.c new file mode 100644 index 00000000..ef872aa3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe120.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe120 Unwind@1400fe120 + * Pseudocode, not original source. */ + +void Unwind_1400fe120(undefined8 param_1,longlong param_2,SIZE_T param_3) + +{ + FUN_140091730((undefined8 *)(*(longlong *)(param_2 + 0x60) + 0x188),param_2,param_3); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe140.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe140.c new file mode 100644 index 00000000..f8c44d07 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe140.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe140 Unwind@1400fe140 + * Pseudocode, not original source. */ + +void Unwind_1400fe140(undefined8 param_1,longlong param_2) + +{ + operator_delete(*(void **)(param_2 + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe150.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe150.c new file mode 100644 index 00000000..8ee124d8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe150.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe150 Unwind@1400fe150 + * Pseudocode, not original source. */ + +void Unwind_1400fe150(undefined8 param_1,longlong param_2) + +{ + operator_delete(*(void **)(param_2 + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe160.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe160.c new file mode 100644 index 00000000..50dd3c93 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe160.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe160 Unwind@1400fe160 + * Pseudocode, not original source. */ + +void Unwind_1400fe160(undefined8 param_1,longlong param_2) + +{ + FUN_140049ec0(*(undefined8 **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe170.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe170.c new file mode 100644 index 00000000..4dfc9894 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe170.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe170 Unwind@1400fe170 + * Pseudocode, not original source. */ + +void Unwind_1400fe170(undefined8 param_1,longlong param_2) + +{ + FUN_140043510((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe180.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe180.c new file mode 100644 index 00000000..8acf8ea7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe180.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe180 Unwind@1400fe180 + * Pseudocode, not original source. */ + +void Unwind_1400fe180(undefined8 param_1,longlong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_1400404a0((longlong *)(*(longlong *)(param_2 + 0x40) + 0x100),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe1a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe1a0.c new file mode 100644 index 00000000..4d7eec68 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe1a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe1a0 Unwind@1400fe1a0 + * Pseudocode, not original source. */ + +void Unwind_1400fe1a0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140091670((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x108),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe1c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe1c0.c new file mode 100644 index 00000000..ace56534 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe1c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe1c0 Unwind@1400fe1c0 + * Pseudocode, not original source. */ + +void Unwind_1400fe1c0(undefined8 param_1,longlong param_2,longlong param_3) + +{ + FUN_1400916a0((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x110),param_2,param_3); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe1e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe1e0.c new file mode 100644 index 00000000..693af631 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe1e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe1e0 Unwind@1400fe1e0 + * Pseudocode, not original source. */ + +void Unwind_1400fe1e0(undefined8 param_1,longlong param_2,SIZE_T param_3) + +{ + FUN_140091730((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x188),param_2,param_3); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe200.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe200.c new file mode 100644 index 00000000..8677fee6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe200.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe200 Unwind@1400fe200 + * Pseudocode, not original source. */ + +void Unwind_1400fe200(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_14003e8b0(*(LPVOID *)(param_2 + 0x70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe220.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe220.c new file mode 100644 index 00000000..ae5fe7a2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe220.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe220 Unwind@1400fe220 + * Pseudocode, not original source. */ + +void Unwind_1400fe220(undefined8 param_1,longlong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_1400404a0((longlong *)(param_2 + 0x70),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe230.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe230.c new file mode 100644 index 00000000..19bc4787 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe230.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe230 Unwind@1400fe230 + * Pseudocode, not original source. */ + +void Unwind_1400fe230(undefined8 param_1,longlong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_1400404a0((longlong *)(param_2 + 0x80),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe240.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe240.c new file mode 100644 index 00000000..f2794d93 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe240.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe240 Unwind@1400fe240 + * Pseudocode, not original source. */ + +void Unwind_1400fe240(undefined8 param_1,longlong param_2) + +{ + FUN_1400d2610(*(longlong *)(param_2 + 0x40) + 8); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe250.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe250.c new file mode 100644 index 00000000..790a038b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe250.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe250 Unwind@1400fe250 + * Pseudocode, not original source. */ + +void Unwind_1400fe250(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0x150,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe260.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe260.c new file mode 100644 index 00000000..02067da6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe260.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe260 Unwind@1400fe260 + * Pseudocode, not original source. */ + +void Unwind_1400fe260(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0xa0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe270.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe270.c new file mode 100644 index 00000000..e1539024 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe270.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe270 Unwind@1400fe270 + * Pseudocode, not original source. */ + +void Unwind_1400fe270(undefined8 param_1,longlong param_2) + +{ + FUN_140076940(param_2 + 0xa0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe280.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe280.c new file mode 100644 index 00000000..73e99c72 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe280.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe280 Unwind@1400fe280 + * Pseudocode, not original source. */ + +void Unwind_1400fe280(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe290.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe290.c new file mode 100644 index 00000000..4653a074 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe290.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe290 Unwind@1400fe290 + * Pseudocode, not original source. */ + +void Unwind_1400fe290(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x48) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe2a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe2a0.c new file mode 100644 index 00000000..f29d8bc9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe2a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe2a0 Unwind@1400fe2a0 + * Pseudocode, not original source. */ + +void Unwind_1400fe2a0(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0xdd0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe2c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe2c0.c new file mode 100644 index 00000000..ed26d181 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe2c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe2c0 Unwind@1400fe2c0 + * Pseudocode, not original source. */ + +void Unwind_1400fe2c0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0xeb0,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe2d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe2d0.c new file mode 100644 index 00000000..7b3658f6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe2d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe2d0 Unwind@1400fe2d0 + * Pseudocode, not original source. */ + +void Unwind_1400fe2d0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe2e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe2e0.c new file mode 100644 index 00000000..ecc5f0bf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe2e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe2e0 Unwind@1400fe2e0 + * Pseudocode, not original source. */ + +void Unwind_1400fe2e0(undefined8 param_1,longlong param_2) + +{ + FUN_14004de40(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe2f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe2f0.c new file mode 100644 index 00000000..32671d1c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe2f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe2f0 Unwind@1400fe2f0 + * Pseudocode, not original source. */ + +void Unwind_1400fe2f0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x30) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe300.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe300.c new file mode 100644 index 00000000..4bf23240 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe300.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe300 Unwind@1400fe300 + * Pseudocode, not original source. */ + +void Unwind_1400fe300(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0x1b30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe320.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe320.c new file mode 100644 index 00000000..c9b906e7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe320.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe320 Unwind@1400fe320 + * Pseudocode, not original source. */ + +void Unwind_1400fe320(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0xe00); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe330.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe330.c new file mode 100644 index 00000000..dabcefa4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe330.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe330 Unwind@1400fe330 + * Pseudocode, not original source. */ + +void Unwind_1400fe330(undefined8 param_1,longlong param_2) + +{ + FUN_140076940(param_2 + 0xe00); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe340.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe340.c new file mode 100644 index 00000000..47bbc165 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe340.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe340 Unwind@1400fe340 + * Pseudocode, not original source. */ + +void Unwind_1400fe340(undefined8 param_1,longlong param_2) + +{ + FUN_140074a20((longlong *)(param_2 + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe350.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe350.c new file mode 100644 index 00000000..282190f9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe350.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe350 Unwind@1400fe350 + * Pseudocode, not original source. */ + +void Unwind_1400fe350(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0x1b40,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe360.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe360.c new file mode 100644 index 00000000..cd969a2b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe360.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe360 Unwind@1400fe360 + * Pseudocode, not original source. */ + +void Unwind_1400fe360(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0x1b30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe380.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe380.c new file mode 100644 index 00000000..2dff05ce --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe380.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe380 Unwind@1400fe380 + * Pseudocode, not original source. */ + +void Unwind_1400fe380(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(param_2 + 0xeb0,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe390.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe390.c new file mode 100644 index 00000000..e590a3f6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe390.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe390 Unwind@1400fe390 + * Pseudocode, not original source. */ + +void Unwind_1400fe390(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0x1b30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe3b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe3b0.c new file mode 100644 index 00000000..37426dbf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe3b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe3b0 Unwind@1400fe3b0 + * Pseudocode, not original source. */ + +void Unwind_1400fe3b0(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(*(longlong *)(param_2 + 0x30) + 0xc80)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe3d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe3d0.c new file mode 100644 index 00000000..241d0ee0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe3d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe3d0 Unwind@1400fe3d0 + * Pseudocode, not original source. */ + +void Unwind_1400fe3d0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14004db20(*(longlong *)(param_2 + 0x30),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe3e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe3e0.c new file mode 100644 index 00000000..bee3b54a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe3e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe3e0 Unwind@1400fe3e0 + * Pseudocode, not original source. */ + +void Unwind_1400fe3e0(undefined8 param_1,longlong param_2) + +{ + FUN_14004d560((longlong *)(param_2 + 0x27c0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe400.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe400.c new file mode 100644 index 00000000..61e7a5ec --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe400.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe400 Unwind@1400fe400 + * Pseudocode, not original source. */ + +void Unwind_1400fe400(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x30) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe410.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe410.c new file mode 100644 index 00000000..b6cbcb4d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe410.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe410 Unwind@1400fe410 + * Pseudocode, not original source. */ + +void Unwind_1400fe410(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3e0((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe420.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe420.c new file mode 100644 index 00000000..0fb4c317 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe420.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe420 Unwind@1400fe420 + * Pseudocode, not original source. */ + +void Unwind_1400fe420(undefined8 param_1,longlong param_2) + +{ + FUN_14005b4c0(param_2 + 0x30); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe430.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe430.c new file mode 100644 index 00000000..2324a618 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe430.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe430 Unwind@1400fe430 + * Pseudocode, not original source. */ + +void Unwind_1400fe430(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3e0((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe440.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe440.c new file mode 100644 index 00000000..e31e9e9f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe440.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe440 Unwind@1400fe440 + * Pseudocode, not original source. */ + +void Unwind_1400fe440(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x110) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe450.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe450.c new file mode 100644 index 00000000..8fd89157 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe450.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe450 Unwind@1400fe450 + * Pseudocode, not original source. */ + +void Unwind_1400fe450(undefined8 param_1,longlong param_2) + +{ + FUN_14005b0a0((longlong *)(param_2 + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe460.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe460.c new file mode 100644 index 00000000..f4cfd1bc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe460.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe460 Unwind@1400fe460 + * Pseudocode, not original source. */ + +void Unwind_1400fe460(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3e0((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe470.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe470.c new file mode 100644 index 00000000..033ead7d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe470.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe470 Unwind@1400fe470 + * Pseudocode, not original source. */ + +void Unwind_1400fe470(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x110) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe480.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe480.c new file mode 100644 index 00000000..5f5f3460 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe480.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe480 Unwind@1400fe480 + * Pseudocode, not original source. */ + +void Unwind_1400fe480(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3e0((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe490.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe490.c new file mode 100644 index 00000000..e06aadf4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe490.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe490 Unwind@1400fe490 + * Pseudocode, not original source. */ + +void Unwind_1400fe490(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x110) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe4a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe4a0.c new file mode 100644 index 00000000..0d60a818 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe4a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe4a0 Unwind@1400fe4a0 + * Pseudocode, not original source. */ + +void Unwind_1400fe4a0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3e0((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe4b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe4b0.c new file mode 100644 index 00000000..99b891ab --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe4b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe4b0 Unwind@1400fe4b0 + * Pseudocode, not original source. */ + +void Unwind_1400fe4b0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x110) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe4c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe4c0.c new file mode 100644 index 00000000..d44ceb02 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe4c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe4c0 Unwind@1400fe4c0 + * Pseudocode, not original source. */ + +void Unwind_1400fe4c0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3e0((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe4d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe4d0.c new file mode 100644 index 00000000..efaa5ccd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe4d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe4d0 Unwind@1400fe4d0 + * Pseudocode, not original source. */ + +void Unwind_1400fe4d0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x110) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe4e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe4e0.c new file mode 100644 index 00000000..11a23296 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe4e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe4e0 Unwind@1400fe4e0 + * Pseudocode, not original source. */ + +void Unwind_1400fe4e0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3e0((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe4f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe4f0.c new file mode 100644 index 00000000..625cb9a9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe4f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe4f0 Unwind@1400fe4f0 + * Pseudocode, not original source. */ + +void Unwind_1400fe4f0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x110) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe500.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe500.c new file mode 100644 index 00000000..421f0415 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe500.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe500 Unwind@1400fe500 + * Pseudocode, not original source. */ + +void Unwind_1400fe500(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3e0((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe510.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe510.c new file mode 100644 index 00000000..887cc612 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe510.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe510 Unwind@1400fe510 + * Pseudocode, not original source. */ + +void Unwind_1400fe510(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x110) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe520.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe520.c new file mode 100644 index 00000000..bf079a68 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe520.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe520 Unwind@1400fe520 + * Pseudocode, not original source. */ + +void Unwind_1400fe520(undefined8 param_1,longlong param_2) + +{ + operator_delete(*(void **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe530.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe530.c new file mode 100644 index 00000000..95d006c7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe530.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe530 Unwind@1400fe530 + * Pseudocode, not original source. */ + +void Unwind_1400fe530(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3e0((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe540.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe540.c new file mode 100644 index 00000000..52deb272 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe540.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe540 Unwind@1400fe540 + * Pseudocode, not original source. */ + +void Unwind_1400fe540(undefined8 param_1,longlong param_2) + +{ + FUN_1400d0c60(param_2 + 0x30); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe550.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe550.c new file mode 100644 index 00000000..77fc94ec --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe550.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe550 Unwind@1400fe550 + * Pseudocode, not original source. */ + +void Unwind_1400fe550(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3e0((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe560.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe560.c new file mode 100644 index 00000000..6655adb7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe560.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe560 Unwind@1400fe560 + * Pseudocode, not original source. */ + +void Unwind_1400fe560(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0xc0) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe570.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe570.c new file mode 100644 index 00000000..0bf51e6c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe570.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe570 Unwind@1400fe570 + * Pseudocode, not original source. */ + +void Unwind_1400fe570(undefined8 param_1,longlong param_2) + +{ + FUN_14009aa70(*(longlong *)(param_2 + 0x50) + 0x30); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe580.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe580.c new file mode 100644 index 00000000..e8ae77f2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe580.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe580 Unwind@1400fe580 + * Pseudocode, not original source. */ + +void Unwind_1400fe580(undefined8 param_1,longlong param_2) + +{ + FUN_1400d25e0(*(longlong **)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe590.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe590.c new file mode 100644 index 00000000..f46fcf99 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe590.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe590 Unwind@1400fe590 + * Pseudocode, not original source. */ + +void Unwind_1400fe590(undefined8 param_1,longlong param_2) + +{ + FUN_1400d25e0((longlong *)(*(longlong *)(param_2 + 0x50) + 0x70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe5a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe5a0.c new file mode 100644 index 00000000..580e514b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe5a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe5a0 Unwind@1400fe5a0 + * Pseudocode, not original source. */ + +void Unwind_1400fe5a0(undefined8 param_1,longlong param_2) + +{ + FUN_1400d25e0(*(longlong **)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe5b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe5b0.c new file mode 100644 index 00000000..4db97c6e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe5b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe5b0 Unwind@1400fe5b0 + * Pseudocode, not original source. */ + +void Unwind_1400fe5b0(undefined8 param_1,longlong param_2) + +{ + FUN_14003f370(*(undefined8 **)(param_2 + 0x80)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe5c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe5c0.c new file mode 100644 index 00000000..7ea733f9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe5c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe5c0 Unwind@1400fe5c0 + * Pseudocode, not original source. */ + +void Unwind_1400fe5c0(undefined8 param_1,longlong param_2) + +{ + FUN_140049f00((undefined8 *)(*(longlong *)(param_2 + 0x80) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe5d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe5d0.c new file mode 100644 index 00000000..59ee6f22 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe5d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe5d0 Unwind@1400fe5d0 + * Pseudocode, not original source. */ + +void Unwind_1400fe5d0(undefined8 param_1,longlong param_2) + +{ + FUN_140049ec0((undefined8 *)(*(longlong *)(param_2 + 0x80) + 0x10)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe5e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe5e0.c new file mode 100644 index 00000000..b5e34edb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe5e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe5e0 Unwind@1400fe5e0 + * Pseudocode, not original source. */ + +void Unwind_1400fe5e0(undefined8 param_1,longlong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_1400404a0((longlong *)(*(longlong *)(param_2 + 0x80) + 0x18),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe5f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe5f0.c new file mode 100644 index 00000000..928b383c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe5f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe5f0 Unwind@1400fe5f0 + * Pseudocode, not original source. */ + +void Unwind_1400fe5f0(undefined8 param_1,longlong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_1400404a0((longlong *)(*(longlong *)(param_2 + 0x80) + 0x20),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe600.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe600.c new file mode 100644 index 00000000..79a64d49 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe600.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe600 Unwind@1400fe600 + * Pseudocode, not original source. */ + +void Unwind_1400fe600(undefined8 param_1,longlong *param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_14004b830((undefined8 *)(param_2[0x10] + 0x308),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe620.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe620.c new file mode 100644 index 00000000..ef1f2fba --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe620.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe620 Unwind@1400fe620 + * Pseudocode, not original source. */ + +void Unwind_1400fe620(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003d110((undefined4 *)(*(longlong *)(param_2 + 0x80) + 0x310),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe640.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe640.c new file mode 100644 index 00000000..2f38ef38 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe640.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe640 Unwind@1400fe640 + * Pseudocode, not original source. */ + +void Unwind_1400fe640(undefined8 param_1,longlong param_2) + +{ + FUN_140051940((longlong *)(*(longlong *)(param_2 + 0x80) + 0x348)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe660.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe660.c new file mode 100644 index 00000000..e04be715 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe660.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe660 Unwind@1400fe660 + * Pseudocode, not original source. */ + +void Unwind_1400fe660(undefined8 param_1,longlong param_2) + +{ + operator_delete(*(void **)(param_2 + 0x88)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe670.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe670.c new file mode 100644 index 00000000..50701690 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe670.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe670 Unwind@1400fe670 + * Pseudocode, not original source. */ + +void Unwind_1400fe670(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_14003e8b0(*(LPVOID *)(param_2 + 0x88)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe690.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe690.c new file mode 100644 index 00000000..bec8ab99 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe690.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe690 Unwind@1400fe690 + * Pseudocode, not original source. */ + +void Unwind_1400fe690(undefined8 param_1,longlong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_1400404a0((longlong *)(param_2 + 0x88),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe6a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe6a0.c new file mode 100644 index 00000000..7df008e0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe6a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe6a0 Unwind@1400fe6a0 + * Pseudocode, not original source. */ + +void Unwind_1400fe6a0(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_14003e8b0(*(LPVOID *)(param_2 + 0x90)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe6c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe6c0.c new file mode 100644 index 00000000..132ef45c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe6c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe6c0 Unwind@1400fe6c0 + * Pseudocode, not original source. */ + +void Unwind_1400fe6c0(undefined8 param_1,longlong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_1400404a0((longlong *)(param_2 + 0x90),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe6d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe6d0.c new file mode 100644 index 00000000..f5843332 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe6d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe6d0 Unwind@1400fe6d0 + * Pseudocode, not original source. */ + +void Unwind_1400fe6d0(undefined8 param_1,longlong param_2) + +{ + operator_delete(*(void **)(param_2 + 0x98)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe6e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe6e0.c new file mode 100644 index 00000000..9c7753e6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe6e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe6e0 Unwind@1400fe6e0 + * Pseudocode, not original source. */ + +void Unwind_1400fe6e0(undefined8 param_1,longlong param_2) + +{ + FUN_140051940((longlong *)(param_2 + 0x98)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe6f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe6f0.c new file mode 100644 index 00000000..7e18d915 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe6f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe6f0 Unwind@1400fe6f0 + * Pseudocode, not original source. */ + +void Unwind_1400fe6f0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe700.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe700.c new file mode 100644 index 00000000..808ffdd4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe700.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe700 Unwind@1400fe700 + * Pseudocode, not original source. */ + +void Unwind_1400fe700(undefined8 param_1,longlong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_1400404a0((longlong *)(param_2 + 0x50),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe710.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe710.c new file mode 100644 index 00000000..3d2dd611 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe710.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe710 Unwind@1400fe710 + * Pseudocode, not original source. */ + +void Unwind_1400fe710(undefined8 param_1,longlong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_1400404a0((longlong *)(param_2 + 0x58),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe720.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe720.c new file mode 100644 index 00000000..96b9ead9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe720.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe720 Unwind@1400fe720 + * Pseudocode, not original source. */ + +void Unwind_1400fe720(undefined8 param_1,longlong param_2) + +{ + FUN_14003f370(*(undefined8 **)(param_2 + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe730.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe730.c new file mode 100644 index 00000000..a30acee0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe730.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe730 Unwind@1400fe730 + * Pseudocode, not original source. */ + +void Unwind_1400fe730(undefined8 param_1,longlong param_2) + +{ + FUN_140049f00((undefined8 *)(*(longlong *)(param_2 + 0x60) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe740.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe740.c new file mode 100644 index 00000000..33309f32 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe740.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe740 Unwind@1400fe740 + * Pseudocode, not original source. */ + +void Unwind_1400fe740(undefined8 param_1,longlong param_2) + +{ + FUN_140049ec0((undefined8 *)(*(longlong *)(param_2 + 0x60) + 0x10)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe750.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe750.c new file mode 100644 index 00000000..db690088 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe750.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe750 Unwind@1400fe750 + * Pseudocode, not original source. */ + +void Unwind_1400fe750(undefined8 param_1,longlong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_1400404a0((longlong *)(*(longlong *)(param_2 + 0x60) + 0x18),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe760.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe760.c new file mode 100644 index 00000000..54f84d92 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe760.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe760 Unwind@1400fe760 + * Pseudocode, not original source. */ + +void Unwind_1400fe760(undefined8 param_1,longlong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_1400404a0((longlong *)(*(longlong *)(param_2 + 0x60) + 0x20),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe770.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe770.c new file mode 100644 index 00000000..9642ca3d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe770.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe770 Unwind@1400fe770 + * Pseudocode, not original source. */ + +void Unwind_1400fe770(undefined8 param_1,longlong *param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_14004b830((undefined8 *)(param_2[0xc] + 0x308),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe790.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe790.c new file mode 100644 index 00000000..1cf8e68e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe790.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe790 Unwind@1400fe790 + * Pseudocode, not original source. */ + +void Unwind_1400fe790(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003d110((undefined4 *)(*(longlong *)(param_2 + 0x60) + 0x310),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe7b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe7b0.c new file mode 100644 index 00000000..6f661de6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe7b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe7b0 Unwind@1400fe7b0 + * Pseudocode, not original source. */ + +void Unwind_1400fe7b0(undefined8 param_1,longlong param_2) + +{ + FUN_140051940((longlong *)(*(longlong *)(param_2 + 0x60) + 0x348)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe7d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe7d0.c new file mode 100644 index 00000000..9bf9f3cf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe7d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe7d0 Unwind@1400fe7d0 + * Pseudocode, not original source. */ + +void Unwind_1400fe7d0(undefined8 param_1,longlong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_1400404a0((longlong *)(param_2 + 0x68),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe7e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe7e0.c new file mode 100644 index 00000000..66caeded --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe7e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe7e0 Unwind@1400fe7e0 + * Pseudocode, not original source. */ + +void Unwind_1400fe7e0(undefined8 param_1,longlong param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_1400404a0((longlong *)(param_2 + 0x70),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe7f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe7f0.c new file mode 100644 index 00000000..636d40ed --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe7f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe7f0 Unwind@1400fe7f0 + * Pseudocode, not original source. */ + +void Unwind_1400fe7f0(undefined8 param_1,longlong param_2) + +{ + FUN_14004b860((undefined8 *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe800.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe800.c new file mode 100644 index 00000000..a725d20f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe800.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe800 Unwind@1400fe800 + * Pseudocode, not original source. */ + +void Unwind_1400fe800(undefined8 param_1,longlong param_2) + +{ + FUN_14004b860((undefined8 *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe810.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe810.c new file mode 100644 index 00000000..7d18d64f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe810.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe810 Unwind@1400fe810 + * Pseudocode, not original source. */ + +void Unwind_1400fe810(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3e0((longlong *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe820.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe820.c new file mode 100644 index 00000000..c210028d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe820.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe820 Unwind@1400fe820 + * Pseudocode, not original source. */ + +void Unwind_1400fe820(undefined8 param_1,longlong param_2) + +{ + FUN_14005b4c0(param_2 + 0x38); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe830.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe830.c new file mode 100644 index 00000000..26ca315b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe830.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe830 Unwind@1400fe830 + * Pseudocode, not original source. */ + +void Unwind_1400fe830(undefined8 param_1,longlong param_2) + +{ + FUN_14005b0a0((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe840.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe840.c new file mode 100644 index 00000000..72849993 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe840.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe840 Unwind@1400fe840 + * Pseudocode, not original source. */ + +void Unwind_1400fe840(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3e0((longlong *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe850.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe850.c new file mode 100644 index 00000000..3c47112f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe850.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe850 Unwind@1400fe850 + * Pseudocode, not original source. */ + +void Unwind_1400fe850(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0xa0) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe860.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe860.c new file mode 100644 index 00000000..b119bfa5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe860.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe860 Unwind@1400fe860 + * Pseudocode, not original source. */ + +void Unwind_1400fe860(undefined8 param_1,longlong param_2) + +{ + FUN_14004b860((undefined8 *)(*(longlong *)(param_2 + 0x90) + 0x18)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe870.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe870.c new file mode 100644 index 00000000..040e01dd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe870.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe870 Unwind@1400fe870 + * Pseudocode, not original source. */ + +void Unwind_1400fe870(undefined8 param_1,longlong param_2) + +{ + FUN_1400d25e0(*(longlong **)(param_2 + 0xa8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe880.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe880.c new file mode 100644 index 00000000..ecce00c3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe880.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe880 Unwind@1400fe880 + * Pseudocode, not original source. */ + +void Unwind_1400fe880(undefined8 param_1,longlong param_2) + +{ + FUN_1400d25e0((longlong *)(*(longlong *)(param_2 + 0x90) + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe890.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe890.c new file mode 100644 index 00000000..8d2a054b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe890.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe890 Unwind@1400fe890 + * Pseudocode, not original source. */ + +void Unwind_1400fe890(undefined8 param_1,longlong param_2) + +{ + FUN_14009aa70(*(longlong *)(param_2 + 0x90) + 0x60); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe8a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe8a0.c new file mode 100644 index 00000000..fbc6dc0c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe8a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe8a0 Unwind@1400fe8a0 + * Pseudocode, not original source. */ + +void Unwind_1400fe8a0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3e0((longlong *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe8b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe8b0.c new file mode 100644 index 00000000..172369cc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe8b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe8b0 Unwind@1400fe8b0 + * Pseudocode, not original source. */ + +void Unwind_1400fe8b0(undefined8 param_1,longlong param_2) + +{ + FUN_14005b4c0(param_2 + 0x28); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe8c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe8c0.c new file mode 100644 index 00000000..d6994098 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe8c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe8c0 Unwind@1400fe8c0 + * Pseudocode, not original source. */ + +void Unwind_1400fe8c0(undefined8 param_1,longlong param_2) + +{ + FUN_1400d0c60(param_2 + 0x28); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe8d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe8d0.c new file mode 100644 index 00000000..f1905352 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe8d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe8d0 Unwind@1400fe8d0 + * Pseudocode, not original source. */ + +void Unwind_1400fe8d0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3e0((longlong *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe8e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe8e0.c new file mode 100644 index 00000000..8d8f7c15 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe8e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe8e0 Unwind@1400fe8e0 + * Pseudocode, not original source. */ + +void Unwind_1400fe8e0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x70) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe8f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe8f0.c new file mode 100644 index 00000000..127392b7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe8f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe8f0 Unwind@1400fe8f0 + * Pseudocode, not original source. */ + +void Unwind_1400fe8f0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3e0((longlong *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe900.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe900.c new file mode 100644 index 00000000..2c2474c3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe900.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe900 Unwind@1400fe900 + * Pseudocode, not original source. */ + +void Unwind_1400fe900(undefined8 param_1,longlong param_2) + +{ + FUN_14005b4c0(param_2 + 0x28); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe910.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe910.c new file mode 100644 index 00000000..f5ecd77d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe910.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe910 Unwind@1400fe910 + * Pseudocode, not original source. */ + +void Unwind_1400fe910(undefined8 param_1,longlong param_2) + +{ + FUN_1400d0c60(param_2 + 0x28); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe920.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe920.c new file mode 100644 index 00000000..6dc93fa2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe920.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe920 Unwind@1400fe920 + * Pseudocode, not original source. */ + +void Unwind_1400fe920(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3e0((longlong *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe930.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe930.c new file mode 100644 index 00000000..445a1ea9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe930.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe930 Unwind@1400fe930 + * Pseudocode, not original source. */ + +void Unwind_1400fe930(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x70) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe940.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe940.c new file mode 100644 index 00000000..c7ca8a47 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe940.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe940 FUN_1400fe940 + * Pseudocode, not original source. */ + +void FUN_1400fe940(undefined8 param_1,longlong param_2) + +{ + if (*(int *)(param_2 + 0x20) == 0) { + __ArrayUnwind(*(void **)(param_2 + 0x50),*(__uint64 *)(param_2 + 0x58),*(int *)(param_2 + 0x24), + *(_func_void_void_ptr **)(param_2 + 0x70)); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe970.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe970.c new file mode 100644 index 00000000..3661c2e1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe970.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe970 Unwind@1400fe970 + * Pseudocode, not original source. */ + +void Unwind_1400fe970(undefined8 param_1,longlong param_2) + +{ + FUN_14003af80(*(undefined8 **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe980.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe980.c new file mode 100644 index 00000000..16352a6c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe980.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe980 Unwind@1400fe980 + * Pseudocode, not original source. */ + +void Unwind_1400fe980(undefined8 param_1,longlong param_2) + +{ + /* WARNING: Could not recover jumptable at 0x0001400fe987. Too many branches */ + /* WARNING: Treating indirect jump as call */ + operator_delete(*(void **)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe990.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe990.c new file mode 100644 index 00000000..6e105730 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe990.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe990 Unwind@1400fe990 + * Pseudocode, not original source. */ + +void Unwind_1400fe990(undefined8 param_1,longlong param_2) + +{ + /* WARNING: Could not recover jumptable at 0x0001400fe9a2. Too many branches */ + /* WARNING: Treating indirect jump as call */ + std::basic_ostream_>:: + ~basic_ostream_> + ((basic_ostream_> *) + (*(longlong *)(param_2 + 0x40) + -0x80)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe9b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe9b0.c new file mode 100644 index 00000000..2bb4fe77 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe9b0.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe9b0 Unwind@1400fe9b0 + * Pseudocode, not original source. */ + +void Unwind_1400fe9b0(undefined8 param_1,longlong param_2) + +{ + /* WARNING: Could not recover jumptable at 0x0001400fe9c2. Too many branches */ + /* WARNING: Treating indirect jump as call */ + std::basic_ostream_>::~basic_ostream_> + ((basic_ostream_> *)(*(longlong *)(param_2 + 0x40) + -0x80)) + ; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe9d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe9d0.c new file mode 100644 index 00000000..1bfb6827 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe9d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe9d0 Catch_All@1400fe9d0 + * Pseudocode, not original source. */ + +void Catch_All_1400fe9d0(void) + +{ + /* WARNING: Subroutine does not return */ + _CxxThrowException((void *)0x0,(ThrowInfo *)0x0); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fe9f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fe9f0.c new file mode 100644 index 00000000..c4d343d4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fe9f0.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fe9f0 Catch_All@1400fe9f0 + * Pseudocode, not original source. */ + +void Catch_All_1400fe9f0(undefined8 param_1,longlong param_2) + +{ + operator_delete(*(void **)(param_2 + 0x58)); + /* WARNING: Subroutine does not return */ + _CxxThrowException((void *)0x0,(ThrowInfo *)0x0); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fea31.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fea31.c new file mode 100644 index 00000000..13a0de50 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fea31.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fea31 Unwind@1400fea31 + * Pseudocode, not original source. */ + +void Unwind_1400fea31(undefined8 param_1,longlong param_2) + +{ + FUN_140023830(*(undefined8 **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fea51.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fea51.c new file mode 100644 index 00000000..5a5271ba --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fea51.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fea51 Unwind@1400fea51 + * Pseudocode, not original source. */ + +void Unwind_1400fea51(undefined8 param_1,longlong param_2) + +{ + FUN_1400234b0(*(undefined8 **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fea61.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fea61.c new file mode 100644 index 00000000..255f5df5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fea61.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fea61 Unwind@1400fea61 + * Pseudocode, not original source. */ + +void Unwind_1400fea61(undefined8 param_1,longlong param_2) + +{ + FUN_140023530((undefined8 *)(*(longlong *)(param_2 + 0x40) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fea71.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fea71.c new file mode 100644 index 00000000..ce07ad80 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fea71.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fea71 Unwind@1400fea71 + * Pseudocode, not original source. */ + +void Unwind_1400fea71(undefined8 param_1,longlong param_2) + +{ + FUN_140023550((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fea81.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fea81.c new file mode 100644 index 00000000..8852d729 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fea81.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fea81 Unwind@1400fea81 + * Pseudocode, not original source. */ + +void Unwind_1400fea81(undefined8 param_1,longlong param_2) + +{ + FUN_140023550((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400feaa1.c b/decomp/AgentManager_Release_x64/full/functions/0x1400feaa1.c new file mode 100644 index 00000000..3c7a6478 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400feaa1.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400feaa1 Unwind@1400feaa1 + * Pseudocode, not original source. */ + +void Unwind_1400feaa1(undefined8 param_1,longlong param_2) + +{ + FUN_1400234b0(*(undefined8 **)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400feab1.c b/decomp/AgentManager_Release_x64/full/functions/0x1400feab1.c new file mode 100644 index 00000000..23280db0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400feab1.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400feab1 Unwind@1400feab1 + * Pseudocode, not original source. */ + +void Unwind_1400feab1(undefined8 param_1,longlong param_2) + +{ + FUN_140023530((undefined8 *)(*(longlong *)(param_2 + 0x50) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400feac1.c b/decomp/AgentManager_Release_x64/full/functions/0x1400feac1.c new file mode 100644 index 00000000..b4afce90 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400feac1.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400feac1 Unwind@1400feac1 + * Pseudocode, not original source. */ + +void Unwind_1400feac1(undefined8 param_1,longlong param_2) + +{ + FUN_140023550((undefined8 *)(*(longlong *)(param_2 + 0x50) + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fead1.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fead1.c new file mode 100644 index 00000000..e10ec3d2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fead1.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fead1 Unwind@1400fead1 + * Pseudocode, not original source. */ + +void Unwind_1400fead1(undefined8 param_1,longlong param_2) + +{ + FUN_140023550((undefined8 *)(*(longlong *)(param_2 + 0x50) + 0x70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400feaf1.c b/decomp/AgentManager_Release_x64/full/functions/0x1400feaf1.c new file mode 100644 index 00000000..6f1d1347 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400feaf1.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400feaf1 Unwind@1400feaf1 + * Pseudocode, not original source. */ + +void Unwind_1400feaf1(undefined8 param_1,longlong param_2) + +{ + FUN_14001c430(*(undefined8 **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400feb11.c b/decomp/AgentManager_Release_x64/full/functions/0x1400feb11.c new file mode 100644 index 00000000..80648fcd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400feb11.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400feb11 Unwind@1400feb11 + * Pseudocode, not original source. */ + +void Unwind_1400feb11(void) + +{ + FUN_14001c450(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400feb31.c b/decomp/AgentManager_Release_x64/full/functions/0x1400feb31.c new file mode 100644 index 00000000..6c31bddf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400feb31.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400feb31 Unwind@1400feb31 + * Pseudocode, not original source. */ + +void Unwind_1400feb31(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0(*(undefined8 **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400feb41.c b/decomp/AgentManager_Release_x64/full/functions/0x1400feb41.c new file mode 100644 index 00000000..0646b4a6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400feb41.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400feb41 Unwind@1400feb41 + * Pseudocode, not original source. */ + +void Unwind_1400feb41(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400feb51.c b/decomp/AgentManager_Release_x64/full/functions/0x1400feb51.c new file mode 100644 index 00000000..3d6c6355 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400feb51.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400feb51 Unwind@1400feb51 + * Pseudocode, not original source. */ + +void Unwind_1400feb51(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400feb61.c b/decomp/AgentManager_Release_x64/full/functions/0x1400feb61.c new file mode 100644 index 00000000..44cf1a33 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400feb61.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400feb61 Unwind@1400feb61 + * Pseudocode, not original source. */ + +void Unwind_1400feb61(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x78)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400feb71.c b/decomp/AgentManager_Release_x64/full/functions/0x1400feb71.c new file mode 100644 index 00000000..912df19d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400feb71.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400feb71 Unwind@1400feb71 + * Pseudocode, not original source. */ + +void Unwind_1400feb71(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0xa0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400feb91.c b/decomp/AgentManager_Release_x64/full/functions/0x1400feb91.c new file mode 100644 index 00000000..7a041b5a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400feb91.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400feb91 Unwind@1400feb91 + * Pseudocode, not original source. */ + +void Unwind_1400feb91(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(*(longlong *)(param_2 + 0x40) + 200)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400febb1.c b/decomp/AgentManager_Release_x64/full/functions/0x1400febb1.c new file mode 100644 index 00000000..858da93a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400febb1.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400febb1 Unwind@1400febb1 + * Pseudocode, not original source. */ + +void Unwind_1400febb1(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0xf0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400febd1.c b/decomp/AgentManager_Release_x64/full/functions/0x1400febd1.c new file mode 100644 index 00000000..9180c80b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400febd1.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400febd1 Unwind@1400febd1 + * Pseudocode, not original source. */ + +void Unwind_1400febd1(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x118)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400febf1.c b/decomp/AgentManager_Release_x64/full/functions/0x1400febf1.c new file mode 100644 index 00000000..38b01974 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400febf1.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400febf1 Unwind@1400febf1 + * Pseudocode, not original source. */ + +void Unwind_1400febf1(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x140)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fec11.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fec11.c new file mode 100644 index 00000000..d67b5615 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fec11.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fec11 Unwind@1400fec11 + * Pseudocode, not original source. */ + +void Unwind_1400fec11(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x168)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fec31.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fec31.c new file mode 100644 index 00000000..4d396690 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fec31.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fec31 Unwind@1400fec31 + * Pseudocode, not original source. */ + +void Unwind_1400fec31(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(*(longlong *)(param_2 + 0x40) + 400)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fec51.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fec51.c new file mode 100644 index 00000000..70f3c773 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fec51.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fec51 Unwind@1400fec51 + * Pseudocode, not original source. */ + +void Unwind_1400fec51(undefined8 param_1,longlong param_2) + +{ + FUN_14001c7b0((undefined8 *)(param_2 + 0xa0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fec71.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fec71.c new file mode 100644 index 00000000..a8d47232 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fec71.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fec71 Unwind@1400fec71 + * Pseudocode, not original source. */ + +void Unwind_1400fec71(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14001c5e0((undefined8 *)(param_2 + 0x20),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fec81.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fec81.c new file mode 100644 index 00000000..bb484e78 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fec81.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fec81 Unwind@1400fec81 + * Pseudocode, not original source. */ + +void Unwind_1400fec81(undefined8 param_1,longlong param_2) + +{ + FUN_14001e4b0((undefined8 *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fec91.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fec91.c new file mode 100644 index 00000000..7edf7163 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fec91.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fec91 Unwind@1400fec91 + * Pseudocode, not original source. */ + +void Unwind_1400fec91(undefined8 param_1,longlong param_2) + +{ + FUN_14001c5b0((undefined8 *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400feca1.c b/decomp/AgentManager_Release_x64/full/functions/0x1400feca1.c new file mode 100644 index 00000000..8c4f5af2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400feca1.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400feca1 Unwind@1400feca1 + * Pseudocode, not original source. */ + +void Unwind_1400feca1(undefined8 param_1,longlong param_2) + +{ + FUN_14001e4b0((undefined8 *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fecb1.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fecb1.c new file mode 100644 index 00000000..0e637e0b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fecb1.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fecb1 Unwind@1400fecb1 + * Pseudocode, not original source. */ + +void Unwind_1400fecb1(undefined8 param_1,longlong param_2) + +{ + FUN_14001c5b0((undefined8 *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fecd1.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fecd1.c new file mode 100644 index 00000000..a8872674 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fecd1.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fecd1 Unwind@1400fecd1 + * Pseudocode, not original source. */ + +void Unwind_1400fecd1(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0(*(undefined8 **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fece1.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fece1.c new file mode 100644 index 00000000..72e5c9d8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fece1.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fece1 Unwind@1400fece1 + * Pseudocode, not original source. */ + +void Unwind_1400fece1(undefined8 param_1,longlong param_2) + +{ + FUN_14001c7b0((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fecf1.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fecf1.c new file mode 100644 index 00000000..b9d9fdb5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fecf1.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fecf1 Unwind@1400fecf1 + * Pseudocode, not original source. */ + +void Unwind_1400fecf1(undefined8 param_1,longlong param_2) + +{ + FUN_14001cb20((longlong *)(*(longlong *)(param_2 + 0x40) + 0x1d8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fed11.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fed11.c new file mode 100644 index 00000000..b320ed8f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fed11.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fed11 Unwind@1400fed11 + * Pseudocode, not original source. */ + +void Unwind_1400fed11(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x1f8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fed31.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fed31.c new file mode 100644 index 00000000..6db5a683 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fed31.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fed31 Unwind@1400fed31 + * Pseudocode, not original source. */ + +void Unwind_1400fed31(void) + +{ + DAT_14017d378 = DAT_14017d378 & 0xfffffffe; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fed51.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fed51.c new file mode 100644 index 00000000..bd84ef68 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fed51.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fed51 Unwind@1400fed51 + * Pseudocode, not original source. */ + +void Unwind_1400fed51(void) + +{ + DAT_14017d37c = DAT_14017d37c & 0xfffffffe; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fed71.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fed71.c new file mode 100644 index 00000000..77e3c13c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fed71.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fed71 Unwind@1400fed71 + * Pseudocode, not original source. */ + +void Unwind_1400fed71(void) + +{ + FUN_14001c450(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fed81.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fed81.c new file mode 100644 index 00000000..564b74a7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fed81.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fed81 Unwind@1400fed81 + * Pseudocode, not original source. */ + +void Unwind_1400fed81(void) + +{ + DAT_14017d378 = DAT_14017d378 & 0xfffffffe; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400feda1.c b/decomp/AgentManager_Release_x64/full/functions/0x1400feda1.c new file mode 100644 index 00000000..d4536341 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400feda1.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400feda1 Unwind@1400feda1 + * Pseudocode, not original source. */ + +void Unwind_1400feda1(void) + +{ + DAT_14017d378 = DAT_14017d378 & 0xfffffffe; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fedc1.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fedc1.c new file mode 100644 index 00000000..70af8abe --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fedc1.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fedc1 Unwind@1400fedc1 + * Pseudocode, not original source. */ + +void Unwind_1400fedc1(void) + +{ + FUN_14001c450(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fedd1.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fedd1.c new file mode 100644 index 00000000..c8c23373 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fedd1.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fedd1 Unwind@1400fedd1 + * Pseudocode, not original source. */ + +void Unwind_1400fedd1(void) + +{ + DAT_14017d378 = DAT_14017d378 & 0xfffffffe; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fedf1.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fedf1.c new file mode 100644 index 00000000..bc73723b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fedf1.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fedf1 Unwind@1400fedf1 + * Pseudocode, not original source. */ + +void Unwind_1400fedf1(void) + +{ + DAT_14017d378 = DAT_14017d378 & 0xfffffffe; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fee11.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fee11.c new file mode 100644 index 00000000..dc331529 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fee11.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fee11 Unwind@1400fee11 + * Pseudocode, not original source. */ + +void Unwind_1400fee11(void) + +{ + FUN_14001c450(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fee21.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fee21.c new file mode 100644 index 00000000..87df6b4d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fee21.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fee21 Unwind@1400fee21 + * Pseudocode, not original source. */ + +void Unwind_1400fee21(void) + +{ + DAT_14017d378 = DAT_14017d378 & 0xfffffffe; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fee41.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fee41.c new file mode 100644 index 00000000..9375a325 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fee41.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fee41 Unwind@1400fee41 + * Pseudocode, not original source. */ + +void Unwind_1400fee41(void) + +{ + DAT_14017d378 = DAT_14017d378 & 0xfffffffe; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fee60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fee60.c new file mode 100644 index 00000000..e2f435f5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fee60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fee60 Unwind@1400fee60 + * Pseudocode, not original source. */ + +void Unwind_1400fee60(undefined8 param_1,longlong param_2) + +{ + FUN_140023830(*(undefined8 **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fee70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fee70.c new file mode 100644 index 00000000..5934a5f0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fee70.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fee70 Catch_All@1400fee70 + * Pseudocode, not original source. */ + +void Catch_All_1400fee70(undefined8 param_1,longlong param_2) + +{ + operator_delete(*(void **)(param_2 + 0x58)); + /* WARNING: Subroutine does not return */ + _CxxThrowException((void *)0x0,(ThrowInfo *)0x0); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400feea0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400feea0.c new file mode 100644 index 00000000..e70dcbf4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400feea0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400feea0 Unwind@1400feea0 + * Pseudocode, not original source. */ + +void Unwind_1400feea0(undefined8 param_1,longlong param_2) + +{ + FUN_14001e4b0(*(undefined8 **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400feeb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400feeb0.c new file mode 100644 index 00000000..8ceb2c6f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400feeb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400feeb0 Unwind@1400feeb0 + * Pseudocode, not original source. */ + +void Unwind_1400feeb0(undefined8 param_1,longlong param_2) + +{ + FUN_14001c5b0((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400feec0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400feec0.c new file mode 100644 index 00000000..6ba90e5d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400feec0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400feec0 Catch_All@1400feec0 + * Pseudocode, not original source. */ + +void Catch_All_1400feec0(void) + +{ + /* WARNING: Subroutine does not return */ + _CxxThrowException((void *)0x0,(ThrowInfo *)0x0); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400feee0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400feee0.c new file mode 100644 index 00000000..71d186d1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400feee0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400feee0 Catch_All@1400feee0 + * Pseudocode, not original source. */ + +void Catch_All_1400feee0(void) + +{ + /* WARNING: Subroutine does not return */ + _CxxThrowException((void *)0x0,(ThrowInfo *)0x0); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fef00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fef00.c new file mode 100644 index 00000000..bc39cd05 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fef00.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fef00 Catch_All@1400fef00 + * Pseudocode, not original source. */ + +void Catch_All_1400fef00(undefined8 param_1,longlong param_2) + +{ + operator_delete(*(void **)(param_2 + 0x58)); + /* WARNING: Subroutine does not return */ + _CxxThrowException((void *)0x0,(ThrowInfo *)0x0); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fef30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fef30.c new file mode 100644 index 00000000..54477836 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fef30.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fef30 Catch_All@1400fef30 + * Pseudocode, not original source. */ + +void Catch_All_1400fef30(undefined8 param_1,longlong param_2) + +{ + operator_delete(*(void **)(param_2 + 0x58)); + /* WARNING: Subroutine does not return */ + _CxxThrowException((void *)0x0,(ThrowInfo *)0x0); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fef60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fef60.c new file mode 100644 index 00000000..e4222900 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fef60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fef60 Unwind@1400fef60 + * Pseudocode, not original source. */ + +void Unwind_1400fef60(undefined8 param_1,longlong param_2) + +{ + FUN_140005260(*(undefined8 **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fef70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fef70.c new file mode 100644 index 00000000..85581626 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fef70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fef70 Unwind@1400fef70 + * Pseudocode, not original source. */ + +void Unwind_1400fef70(undefined8 param_1,longlong param_2) + +{ + FUN_140001be0((undefined8 *)(*(longlong *)(param_2 + 0x40) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fef80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fef80.c new file mode 100644 index 00000000..e532cf4a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fef80.c @@ -0,0 +1,31 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fef80 Catch_All@1400fef80 + * Pseudocode, not original source. */ + +void Catch_All_1400fef80(undefined8 param_1,longlong param_2) + +{ + undefined8 *puVar1; + ulonglong *puVar2; + ulonglong *puVar3; + ulonglong *puVar4; + + puVar1 = *(undefined8 **)(param_2 + 0x40); + puVar2 = (ulonglong *)*puVar1; + puVar3 = *(ulonglong **)(param_2 + 0x48); + if ((puVar2 == (ulonglong *)0x0) || (puVar3 < puVar2)) { + *puVar3 = (ulonglong)puVar2; + *puVar1 = puVar3; + } + else { + for (puVar4 = (ulonglong *)*puVar2; (puVar4 != (ulonglong *)0x0 && (puVar4 <= puVar3)); + puVar4 = (ulonglong *)*puVar4) { + puVar2 = puVar4; + } + *puVar3 = *puVar2; + *puVar2 = (ulonglong)puVar3; + } + /* WARNING: Subroutine does not return */ + _CxxThrowException((void *)0x0,(ThrowInfo *)0x0); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fefe0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fefe0.c new file mode 100644 index 00000000..803b719b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fefe0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fefe0 Unwind@1400fefe0 + * Pseudocode, not original source. */ + +void Unwind_1400fefe0(undefined8 param_1,longlong param_2) + +{ + FUN_14003c6e0(*(undefined8 **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400feff0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400feff0.c new file mode 100644 index 00000000..f1fad3ca --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400feff0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400feff0 Unwind@1400feff0 + * Pseudocode, not original source. */ + +void Unwind_1400feff0(undefined8 param_1,longlong param_2) + +{ + FUN_14003b4f0((longlong *)(*(longlong *)(param_2 + 0x40) + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff000.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff000.c new file mode 100644 index 00000000..3523866b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff000.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff000 Unwind@1400ff000 + * Pseudocode, not original source. */ + +void Unwind_1400ff000(undefined8 param_1,longlong param_2) + +{ + FUN_14003bc90(*(undefined8 **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff010.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff010.c new file mode 100644 index 00000000..b8024e14 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff010.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff010 Unwind@1400ff010 + * Pseudocode, not original source. */ + +void Unwind_1400ff010(undefined8 param_1,longlong param_2) + +{ + FUN_14003b4f0((longlong *)(*(longlong *)(param_2 + 0x40) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff020.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff020.c new file mode 100644 index 00000000..62238358 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff020.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff020 Unwind@1400ff020 + * Pseudocode, not original source. */ + +void Unwind_1400ff020(undefined8 param_1,longlong param_2) + +{ + FUN_14000d9e0((undefined8 *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff030.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff030.c new file mode 100644 index 00000000..eca015d6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff030.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff030 Unwind@1400ff030 + * Pseudocode, not original source. */ + +void Unwind_1400ff030(undefined8 param_1,longlong param_2) + +{ + FUN_14000d9e0((undefined8 *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff040.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff040.c new file mode 100644 index 00000000..6cb558f7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff040.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff040 Unwind@1400ff040 + * Pseudocode, not original source. */ + +void Unwind_1400ff040(undefined8 param_1,longlong param_2) + +{ + FUN_14000d9e0((undefined8 *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff050.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff050.c new file mode 100644 index 00000000..1e89d6fa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff050.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff050 Unwind@1400ff050 + * Pseudocode, not original source. */ + +void Unwind_1400ff050(undefined8 param_1,longlong param_2) + +{ + FUN_14000cb50(*(undefined8 **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff060.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff060.c new file mode 100644 index 00000000..9ef6e5c3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff060.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff060 Unwind@1400ff060 + * Pseudocode, not original source. */ + +void Unwind_1400ff060(undefined8 param_1,longlong param_2) + +{ + FUN_14003b4f0((longlong *)(*(longlong *)(param_2 + 0x40) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff070.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff070.c new file mode 100644 index 00000000..4e7b1210 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff070.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff070 Unwind@1400ff070 + * Pseudocode, not original source. */ + +void Unwind_1400ff070(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x28); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff080.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff080.c new file mode 100644 index 00000000..3487e438 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff080.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff080 Unwind@1400ff080 + * Pseudocode, not original source. */ + +void Unwind_1400ff080(undefined8 param_1,longlong param_2) + +{ + FUN_1400075b0(*(longlong **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff090.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff090.c new file mode 100644 index 00000000..059723c9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff090.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff090 Catch_All@1400ff090 + * Pseudocode, not original source. */ + +undefined8 Catch_All_1400ff090(void) + +{ + return 0x140006933; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff0b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff0b0.c new file mode 100644 index 00000000..f98ff569 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff0b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff0b0 Unwind@1400ff0b0 + * Pseudocode, not original source. */ + +void Unwind_1400ff0b0(undefined8 param_1,longlong param_2) + +{ + FUN_14003b4f0((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff0c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff0c0.c new file mode 100644 index 00000000..2f3da44e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff0c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff0c0 Unwind@1400ff0c0 + * Pseudocode, not original source. */ + +void Unwind_1400ff0c0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14001ec20(*(undefined8 **)(param_2 + 0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff0d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff0d0.c new file mode 100644 index 00000000..9049e9de --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff0d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff0d0 Unwind@1400ff0d0 + * Pseudocode, not original source. */ + +void Unwind_1400ff0d0(undefined8 param_1,longlong param_2) + +{ + FUN_14001c5b0((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff0e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff0e0.c new file mode 100644 index 00000000..5c457017 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff0e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff0e0 Unwind@1400ff0e0 + * Pseudocode, not original source. */ + +void Unwind_1400ff0e0(undefined8 param_1,longlong param_2) + +{ + FUN_14001c5b0((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff0f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff0f0.c new file mode 100644 index 00000000..511dfa54 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff0f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff0f0 Unwind@1400ff0f0 + * Pseudocode, not original source. */ + +void Unwind_1400ff0f0(undefined8 param_1,longlong param_2) + +{ + FUN_14001c5b0((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x78)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff100.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff100.c new file mode 100644 index 00000000..ca878180 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff100.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff100 Unwind@1400ff100 + * Pseudocode, not original source. */ + +void Unwind_1400ff100(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14001ec20(*(undefined8 **)(param_2 + 0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff110.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff110.c new file mode 100644 index 00000000..0a680423 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff110.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff110 Unwind@1400ff110 + * Pseudocode, not original source. */ + +void Unwind_1400ff110(undefined8 param_1,longlong param_2) + +{ + FUN_14001e660((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff120.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff120.c new file mode 100644 index 00000000..ff102dbd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff120.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff120 Unwind@1400ff120 + * Pseudocode, not original source. */ + +void Unwind_1400ff120(undefined8 param_1,longlong param_2) + +{ + FUN_14001e4b0(*(undefined8 **)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff130.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff130.c new file mode 100644 index 00000000..74a766d0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff130.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff130 Unwind@1400ff130 + * Pseudocode, not original source. */ + +void Unwind_1400ff130(undefined8 param_1,longlong param_2) + +{ + FUN_14001c5b0((undefined8 *)(*(longlong *)(param_2 + 0x50) + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff140.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff140.c new file mode 100644 index 00000000..8ad62e30 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff140.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff140 Unwind@1400ff140 + * Pseudocode, not original source. */ + +void Unwind_1400ff140(undefined8 param_1,longlong param_2) + +{ + FUN_14001c5b0((undefined8 *)(*(longlong *)(param_2 + 0x50) + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff150.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff150.c new file mode 100644 index 00000000..007e52e6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff150.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff150 Catch_All@1400ff150 + * Pseudocode, not original source. */ + +void Catch_All_1400ff150(undefined8 param_1,longlong param_2) + +{ + operator_delete(*(void **)(param_2 + 0x48)); + /* WARNING: Subroutine does not return */ + _CxxThrowException((void *)0x0,(ThrowInfo *)0x0); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff180.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff180.c new file mode 100644 index 00000000..92396c36 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff180.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff180 Unwind@1400ff180 + * Pseudocode, not original source. */ + +void Unwind_1400ff180(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff190.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff190.c new file mode 100644 index 00000000..8efd0892 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff190.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff190 Unwind@1400ff190 + * Pseudocode, not original source. */ + +void Unwind_1400ff190(undefined8 param_1,longlong param_2) + +{ + FUN_14000d9e0((undefined8 *)(param_2 + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff1a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff1a0.c new file mode 100644 index 00000000..e3564258 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff1a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff1a0 Unwind@1400ff1a0 + * Pseudocode, not original source. */ + +void Unwind_1400ff1a0(undefined8 param_1,longlong param_2) + +{ + FUN_140023550((undefined8 *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff1b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff1b0.c new file mode 100644 index 00000000..932d7f4c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff1b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff1b0 Unwind@1400ff1b0 + * Pseudocode, not original source. */ + +void Unwind_1400ff1b0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff1c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff1c0.c new file mode 100644 index 00000000..4f4c3d76 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff1c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff1c0 Unwind@1400ff1c0 + * Pseudocode, not original source. */ + +void Unwind_1400ff1c0(undefined8 param_1,longlong param_2) + +{ + FUN_140023550((undefined8 *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff1d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff1d0.c new file mode 100644 index 00000000..9f8447b1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff1d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff1d0 Unwind@1400ff1d0 + * Pseudocode, not original source. */ + +void Unwind_1400ff1d0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff1e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff1e0.c new file mode 100644 index 00000000..85cf12a7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff1e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff1e0 Unwind@1400ff1e0 + * Pseudocode, not original source. */ + +void Unwind_1400ff1e0(undefined8 param_1,longlong param_2) + +{ + FUN_14000d9e0((undefined8 *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff1f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff1f0.c new file mode 100644 index 00000000..cb4c8e00 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff1f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff1f0 Unwind@1400ff1f0 + * Pseudocode, not original source. */ + +void Unwind_1400ff1f0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff200.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff200.c new file mode 100644 index 00000000..3c1d6445 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff200.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff200 Unwind@1400ff200 + * Pseudocode, not original source. */ + +void Unwind_1400ff200(undefined8 param_1,longlong param_2) + +{ + FUN_14000d9e0((undefined8 *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff210.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff210.c new file mode 100644 index 00000000..16e5fe46 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff210.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff210 Unwind@1400ff210 + * Pseudocode, not original source. */ + +void Unwind_1400ff210(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff220.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff220.c new file mode 100644 index 00000000..42a1fd2c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff220.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff220 Unwind@1400ff220 + * Pseudocode, not original source. */ + +void Unwind_1400ff220(undefined8 param_1,longlong param_2) + +{ + FUN_14000d9e0((undefined8 *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff230.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff230.c new file mode 100644 index 00000000..cbd0650c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff230.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff230 Catch_All@1400ff230 + * Pseudocode, not original source. */ + +undefined * Catch_All_1400ff230(undefined8 param_1,longlong param_2) + +{ + longlong lVar1; + void *pvVar2; + + lVar1 = *(longlong *)(param_2 + 0x78); + *(longlong *)(param_2 + 0x78) = lVar1; + pvVar2 = FUN_14000c770(lVar1 + 1); + *(void **)(param_2 + 0x88) = pvVar2; + return &DAT_14000c89c; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff270.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff270.c new file mode 100644 index 00000000..dae11d61 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff270.c @@ -0,0 +1,20 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff270 Catch_All@1400ff270 + * Pseudocode, not original source. */ + +void Catch_All_1400ff270(undefined8 param_1,longlong param_2) + +{ + undefined8 *puVar1; + + puVar1 = *(undefined8 **)(param_2 + 0x70); + if (0xf < (ulonglong)puVar1[3]) { + operator_delete((void *)*puVar1); + } + puVar1[3] = 0xf; + puVar1[2] = 0; + *(undefined1 *)puVar1 = 0; + /* WARNING: Subroutine does not return */ + _CxxThrowException((void *)0x0,(ThrowInfo *)0x0); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff2b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff2b0.c new file mode 100644 index 00000000..86622dad --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff2b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff2b0 Unwind@1400ff2b0 + * Pseudocode, not original source. */ + +void Unwind_1400ff2b0(undefined8 param_1,longlong param_2) + +{ + FUN_1400075b0((longlong *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff2c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff2c0.c new file mode 100644 index 00000000..cb918758 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff2c0.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff2c0 Catch@1400ff2c0 + * Pseudocode, not original source. */ + +undefined8 Catch_1400ff2c0(undefined8 param_1,longlong param_2) + +{ + wprintf(L"[%s] \n"); + (**(code **)(**(longlong **)(param_2 + 0x28) + 8))(); + printf("Error : %s \n"); + return 0x140007580; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff310.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff310.c new file mode 100644 index 00000000..3d02bc1f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff310.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff310 Unwind@1400ff310 + * Pseudocode, not original source. */ + +void Unwind_1400ff310(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff320.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff320.c new file mode 100644 index 00000000..2904a66e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff320.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff320 Unwind@1400ff320 + * Pseudocode, not original source. */ + +void Unwind_1400ff320(undefined8 param_1,longlong param_2) + +{ + FUN_1400721f0(*(char **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff330.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff330.c new file mode 100644 index 00000000..78f1e30d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff330.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff330 Catch_All@1400ff330 + * Pseudocode, not original source. */ + +undefined * Catch_All_1400ff330(undefined8 param_1,longlong param_2) + +{ + longlong lVar1; + void *pvVar2; + + lVar1 = *(longlong *)(param_2 + 0x78); + *(longlong *)(param_2 + 0x78) = lVar1; + pvVar2 = FUN_140001a80(lVar1 + 1); + *(void **)(param_2 + 0x88) = pvVar2; + return &DAT_1400019ff; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff370.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff370.c new file mode 100644 index 00000000..5e7bcacb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff370.c @@ -0,0 +1,20 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff370 Catch_All@1400ff370 + * Pseudocode, not original source. */ + +void Catch_All_1400ff370(undefined8 param_1,longlong param_2) + +{ + undefined8 *puVar1; + + puVar1 = *(undefined8 **)(param_2 + 0x70); + if (7 < (ulonglong)puVar1[3]) { + operator_delete((void *)*puVar1); + } + puVar1[3] = 7; + puVar1[2] = 0; + *(undefined2 *)puVar1 = 0; + /* WARNING: Subroutine does not return */ + _CxxThrowException((void *)0x0,(ThrowInfo *)0x0); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff3c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff3c0.c new file mode 100644 index 00000000..b534b027 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff3c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff3c0 Unwind@1400ff3c0 + * Pseudocode, not original source. */ + +void Unwind_1400ff3c0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff3d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff3d0.c new file mode 100644 index 00000000..472e5997 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff3d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff3d0 Unwind@1400ff3d0 + * Pseudocode, not original source. */ + +void Unwind_1400ff3d0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(*(longlong *)(param_2 + 0x40) + 8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff3e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff3e0.c new file mode 100644 index 00000000..99c5dac3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff3e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff3e0 Unwind@1400ff3e0 + * Pseudocode, not original source. */ + +void Unwind_1400ff3e0(undefined8 param_1,longlong param_2) + +{ + FUN_140038400((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x18)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff3f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff3f0.c new file mode 100644 index 00000000..6c8e518f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff3f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff3f0 Unwind@1400ff3f0 + * Pseudocode, not original source. */ + +void Unwind_1400ff3f0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(*(longlong *)(param_2 + 0x40) + 8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff400.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff400.c new file mode 100644 index 00000000..06ea5b2f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff400.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff400 Unwind@1400ff400 + * Pseudocode, not original source. */ + +void Unwind_1400ff400(undefined8 param_1,longlong param_2) + +{ + FUN_14001c5b0((undefined8 *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff410.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff410.c new file mode 100644 index 00000000..da37fa5a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff410.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff410 Unwind@1400ff410 + * Pseudocode, not original source. */ + +void Unwind_1400ff410(undefined8 param_1,longlong param_2) + +{ + FUN_14001c5b0((undefined8 *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff420.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff420.c new file mode 100644 index 00000000..3c8cc4df --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff420.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff420 Unwind@1400ff420 + * Pseudocode, not original source. */ + +void Unwind_1400ff420(undefined8 param_1,longlong param_2) + +{ + FUN_14001c5b0((undefined8 *)(param_2 + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff430.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff430.c new file mode 100644 index 00000000..9e05b02a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff430.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff430 Unwind@1400ff430 + * Pseudocode, not original source. */ + +void Unwind_1400ff430(undefined8 param_1,longlong param_2) + +{ + FUN_14001c5b0((undefined8 *)(param_2 + 0x70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff440.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff440.c new file mode 100644 index 00000000..c56e0e69 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff440.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff440 Unwind@1400ff440 + * Pseudocode, not original source. */ + +void Unwind_1400ff440(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14001ec20(*(undefined8 **)(param_2 + 0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff450.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff450.c new file mode 100644 index 00000000..64315d44 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff450.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff450 Unwind@1400ff450 + * Pseudocode, not original source. */ + +void Unwind_1400ff450(undefined8 param_1,longlong param_2) + +{ + FUN_14001c5b0((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff460.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff460.c new file mode 100644 index 00000000..b0e9251b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff460.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff460 Unwind@1400ff460 + * Pseudocode, not original source. */ + +void Unwind_1400ff460(undefined8 param_1,longlong param_2) + +{ + /* WARNING: Could not recover jumptable at 0x0001400ff467. Too many branches */ + /* WARNING: Treating indirect jump as call */ + operator_delete(*(void **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff470.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff470.c new file mode 100644 index 00000000..4750379d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff470.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff470 Unwind@1400ff470 + * Pseudocode, not original source. */ + +void Unwind_1400ff470(undefined8 param_1,longlong param_2) + +{ + FUN_14001c5b0((undefined8 *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff480.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff480.c new file mode 100644 index 00000000..535972b1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff480.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff480 Unwind@1400ff480 + * Pseudocode, not original source. */ + +void Unwind_1400ff480(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14001ec20(*(undefined8 **)(param_2 + 0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff490.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff490.c new file mode 100644 index 00000000..8057e5bb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff490.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff490 Unwind@1400ff490 + * Pseudocode, not original source. */ + +void Unwind_1400ff490(undefined8 param_1,longlong param_2) + +{ + FUN_1400075b0((longlong *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff4a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff4a0.c new file mode 100644 index 00000000..6c59c106 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff4a0.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff4a0 Catch@1400ff4a0 + * Pseudocode, not original source. */ + +undefined8 Catch_1400ff4a0(undefined8 param_1,longlong param_2) + +{ + wprintf(L"[%s] \n"); + (**(code **)(**(longlong **)(param_2 + 0x28) + 8))(); + printf("Error : %s \n"); + return 0x14000bde0; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff4f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff4f0.c new file mode 100644 index 00000000..ba839c0d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff4f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff4f0 Unwind@1400ff4f0 + * Pseudocode, not original source. */ + +void Unwind_1400ff4f0(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff500.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff500.c new file mode 100644 index 00000000..4d42fea8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff500.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff500 Unwind@1400ff500 + * Pseudocode, not original source. */ + +void Unwind_1400ff500(undefined8 param_1,longlong param_2) + +{ + FUN_1400075b0((longlong *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff510.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff510.c new file mode 100644 index 00000000..9710fe1b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff510.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff510 Unwind@1400ff510 + * Pseudocode, not original source. */ + +void Unwind_1400ff510(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff520.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff520.c new file mode 100644 index 00000000..e1346f5c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff520.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff520 Unwind@1400ff520 + * Pseudocode, not original source. */ + +void Unwind_1400ff520(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff530.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff530.c new file mode 100644 index 00000000..d39e2304 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff530.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff530 Unwind@1400ff530 + * Pseudocode, not original source. */ + +void Unwind_1400ff530(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff540.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff540.c new file mode 100644 index 00000000..d70465ba --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff540.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff540 Unwind@1400ff540 + * Pseudocode, not original source. */ + +void Unwind_1400ff540(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff550.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff550.c new file mode 100644 index 00000000..c25c0e02 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff550.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff550 Unwind@1400ff550 + * Pseudocode, not original source. */ + +void Unwind_1400ff550(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff560.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff560.c new file mode 100644 index 00000000..304d20e6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff560.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff560 Unwind@1400ff560 + * Pseudocode, not original source. */ + +void Unwind_1400ff560(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff570.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff570.c new file mode 100644 index 00000000..a450f572 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff570.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff570 Unwind@1400ff570 + * Pseudocode, not original source. */ + +void Unwind_1400ff570(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff580.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff580.c new file mode 100644 index 00000000..ae0c4b64 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff580.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff580 Unwind@1400ff580 + * Pseudocode, not original source. */ + +void Unwind_1400ff580(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff590.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff590.c new file mode 100644 index 00000000..d3105c12 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff590.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff590 Unwind@1400ff590 + * Pseudocode, not original source. */ + +void Unwind_1400ff590(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff5a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff5a0.c new file mode 100644 index 00000000..99b65604 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff5a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff5a0 Unwind@1400ff5a0 + * Pseudocode, not original source. */ + +void Unwind_1400ff5a0(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff5b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff5b0.c new file mode 100644 index 00000000..58006b75 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff5b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff5b0 Unwind@1400ff5b0 + * Pseudocode, not original source. */ + +void Unwind_1400ff5b0(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff5c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff5c0.c new file mode 100644 index 00000000..7633d945 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff5c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff5c0 Unwind@1400ff5c0 + * Pseudocode, not original source. */ + +void Unwind_1400ff5c0(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff5d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff5d0.c new file mode 100644 index 00000000..2ef1aad0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff5d0.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff5d0 Catch@1400ff5d0 + * Pseudocode, not original source. */ + +undefined8 Catch_1400ff5d0(undefined8 param_1,longlong param_2) + +{ + wprintf(L"[%s] \n"); + (**(code **)(**(longlong **)(param_2 + 0x28) + 8))(); + printf("Error : %s \n"); + return 0x14000bd0b; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff620.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff620.c new file mode 100644 index 00000000..a03ba73f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff620.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff620 Unwind@1400ff620 + * Pseudocode, not original source. */ + +void Unwind_1400ff620(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff630.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff630.c new file mode 100644 index 00000000..884998ae --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff630.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff630 Unwind@1400ff630 + * Pseudocode, not original source. */ + +void Unwind_1400ff630(undefined8 param_1,longlong param_2) + +{ + FUN_1400075b0((longlong *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff640.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff640.c new file mode 100644 index 00000000..96adbdaa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff640.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff640 Unwind@1400ff640 + * Pseudocode, not original source. */ + +void Unwind_1400ff640(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff650.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff650.c new file mode 100644 index 00000000..b081fbe7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff650.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff650 Unwind@1400ff650 + * Pseudocode, not original source. */ + +void Unwind_1400ff650(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff660.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff660.c new file mode 100644 index 00000000..12f3b50e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff660.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff660 Unwind@1400ff660 + * Pseudocode, not original source. */ + +void Unwind_1400ff660(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff670.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff670.c new file mode 100644 index 00000000..33fa2f38 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff670.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff670 Unwind@1400ff670 + * Pseudocode, not original source. */ + +void Unwind_1400ff670(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff680.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff680.c new file mode 100644 index 00000000..c03b9103 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff680.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff680 Unwind@1400ff680 + * Pseudocode, not original source. */ + +void Unwind_1400ff680(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff690.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff690.c new file mode 100644 index 00000000..f35359dd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff690.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff690 Unwind@1400ff690 + * Pseudocode, not original source. */ + +void Unwind_1400ff690(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff6a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff6a0.c new file mode 100644 index 00000000..81eb2bec --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff6a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff6a0 Unwind@1400ff6a0 + * Pseudocode, not original source. */ + +void Unwind_1400ff6a0(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff6b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff6b0.c new file mode 100644 index 00000000..da3593a1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff6b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff6b0 Unwind@1400ff6b0 + * Pseudocode, not original source. */ + +void Unwind_1400ff6b0(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff6c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff6c0.c new file mode 100644 index 00000000..e2e887f4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff6c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff6c0 Unwind@1400ff6c0 + * Pseudocode, not original source. */ + +void Unwind_1400ff6c0(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff6d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff6d0.c new file mode 100644 index 00000000..6255e75b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff6d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff6d0 Unwind@1400ff6d0 + * Pseudocode, not original source. */ + +void Unwind_1400ff6d0(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff6e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff6e0.c new file mode 100644 index 00000000..f04eb293 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff6e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff6e0 Unwind@1400ff6e0 + * Pseudocode, not original source. */ + +void Unwind_1400ff6e0(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff6f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff6f0.c new file mode 100644 index 00000000..97b6ea5d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff6f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff6f0 Unwind@1400ff6f0 + * Pseudocode, not original source. */ + +void Unwind_1400ff6f0(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff700.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff700.c new file mode 100644 index 00000000..aa44e859 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff700.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff700 Unwind@1400ff700 + * Pseudocode, not original source. */ + +void Unwind_1400ff700(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff710.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff710.c new file mode 100644 index 00000000..03b183be --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff710.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff710 Unwind@1400ff710 + * Pseudocode, not original source. */ + +void Unwind_1400ff710(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff720.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff720.c new file mode 100644 index 00000000..b5f4c523 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff720.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff720 Catch@1400ff720 + * Pseudocode, not original source. */ + +undefined8 Catch_1400ff720(undefined8 param_1,longlong param_2) + +{ + wprintf(L"[%s] \n"); + (**(code **)(**(longlong **)(param_2 + 0x28) + 8))(); + printf("Error : %s \n"); + return 0x14000b5b6; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff770.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff770.c new file mode 100644 index 00000000..c4afc67b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff770.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff770 Unwind@1400ff770 + * Pseudocode, not original source. */ + +void Unwind_1400ff770(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff780.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff780.c new file mode 100644 index 00000000..9323f1f1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff780.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff780 Unwind@1400ff780 + * Pseudocode, not original source. */ + +void Unwind_1400ff780(undefined8 param_1,longlong param_2) + +{ + /* WARNING: Could not recover jumptable at 0x0001400ff787. Too many branches */ + /* WARNING: Treating indirect jump as call */ + operator_delete(*(void **)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff790.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff790.c new file mode 100644 index 00000000..7edfc536 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff790.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff790 Unwind@1400ff790 + * Pseudocode, not original source. */ + +void Unwind_1400ff790(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140037710((longlong *)(*(longlong *)(param_2 + 0x40) + 0x28),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff7a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff7a0.c new file mode 100644 index 00000000..8abe7803 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff7a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff7a0 Unwind@1400ff7a0 + * Pseudocode, not original source. */ + +void Unwind_1400ff7a0(undefined8 param_1,longlong param_2) + +{ + FUN_1400060e0(*(undefined8 **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff7b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff7b0.c new file mode 100644 index 00000000..8b091113 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff7b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff7b0 Unwind@1400ff7b0 + * Pseudocode, not original source. */ + +void Unwind_1400ff7b0(undefined8 param_1,longlong param_2) + +{ + FUN_14002f000((undefined8 *)(*(longlong *)(param_2 + 0x40) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff7c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff7c0.c new file mode 100644 index 00000000..40a049b7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff7c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff7c0 Unwind@1400ff7c0 + * Pseudocode, not original source. */ + +void Unwind_1400ff7c0(undefined8 param_1,longlong param_2) + +{ + FUN_14002efa0((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff7d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff7d0.c new file mode 100644 index 00000000..c5c5148f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff7d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff7d0 Unwind@1400ff7d0 + * Pseudocode, not original source. */ + +void Unwind_1400ff7d0(undefined8 param_1,longlong param_2) + +{ + FUN_140006920((char *)(*(longlong *)(param_2 + 0x40) + 0x88)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff7f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff7f0.c new file mode 100644 index 00000000..8f5fd1fb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff7f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff7f0 Unwind@1400ff7f0 + * Pseudocode, not original source. */ + +void Unwind_1400ff7f0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(*(longlong *)(param_2 + 0x40) + 8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff800.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff800.c new file mode 100644 index 00000000..f921046a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff800.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff800 Unwind@1400ff800 + * Pseudocode, not original source. */ + +void Unwind_1400ff800(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140037710((longlong *)(*(longlong *)(param_2 + 0x40) + 0x28),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff810.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff810.c new file mode 100644 index 00000000..e8b4d84c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff810.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff810 Unwind@1400ff810 + * Pseudocode, not original source. */ + +void Unwind_1400ff810(undefined8 param_1,longlong param_2) + +{ + FUN_1400060e0(*(undefined8 **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff820.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff820.c new file mode 100644 index 00000000..1e2d0016 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff820.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff820 Unwind@1400ff820 + * Pseudocode, not original source. */ + +void Unwind_1400ff820(undefined8 param_1,longlong param_2) + +{ + FUN_14002f000((undefined8 *)(*(longlong *)(param_2 + 0x40) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff830.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff830.c new file mode 100644 index 00000000..7abf2cec --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff830.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff830 Unwind@1400ff830 + * Pseudocode, not original source. */ + +void Unwind_1400ff830(undefined8 param_1,longlong param_2) + +{ + FUN_1400768c0(*(undefined8 **)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff840.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff840.c new file mode 100644 index 00000000..94518f3d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff840.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff840 Unwind@1400ff840 + * Pseudocode, not original source. */ + +void Unwind_1400ff840(undefined8 param_1,longlong param_2) + +{ + FUN_14002efa0((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff850.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff850.c new file mode 100644 index 00000000..e5d50621 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff850.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff850 Unwind@1400ff850 + * Pseudocode, not original source. */ + +void Unwind_1400ff850(undefined8 param_1,longlong param_2) + +{ + FUN_140006920((char *)(*(longlong *)(param_2 + 0x40) + 0x88)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff870.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff870.c new file mode 100644 index 00000000..df353a96 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff870.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff870 Unwind@1400ff870 + * Pseudocode, not original source. */ + +void Unwind_1400ff870(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x58),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff880.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff880.c new file mode 100644 index 00000000..2d5de9a5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff880.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff880 Unwind@1400ff880 + * Pseudocode, not original source. */ + +void Unwind_1400ff880(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140037710((longlong *)(*(longlong *)(param_2 + 0x40) + 0x28),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff890.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff890.c new file mode 100644 index 00000000..452da14d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff890.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff890 Unwind@1400ff890 + * Pseudocode, not original source. */ + +void Unwind_1400ff890(undefined8 param_1,longlong param_2) + +{ + FUN_1400060e0(*(undefined8 **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff8a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff8a0.c new file mode 100644 index 00000000..83fbd0d8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff8a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff8a0 Unwind@1400ff8a0 + * Pseudocode, not original source. */ + +void Unwind_1400ff8a0(undefined8 param_1,longlong param_2) + +{ + FUN_140028ee0((undefined8 *)(*(longlong *)(param_2 + 0x40) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff8b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff8b0.c new file mode 100644 index 00000000..9b3683d8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff8b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff8b0 Unwind@1400ff8b0 + * Pseudocode, not original source. */ + +void Unwind_1400ff8b0(undefined8 param_1,longlong param_2) + +{ + FUN_140028f30((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff8c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff8c0.c new file mode 100644 index 00000000..84b79b51 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff8c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff8c0 Unwind@1400ff8c0 + * Pseudocode, not original source. */ + +void Unwind_1400ff8c0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(*(longlong *)(param_2 + 0x40) + 8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff8d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff8d0.c new file mode 100644 index 00000000..2a861ee9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff8d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff8d0 Unwind@1400ff8d0 + * Pseudocode, not original source. */ + +void Unwind_1400ff8d0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140037710((longlong *)(*(longlong *)(param_2 + 0x40) + 0x28),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff8e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff8e0.c new file mode 100644 index 00000000..a91a796f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff8e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff8e0 Unwind@1400ff8e0 + * Pseudocode, not original source. */ + +void Unwind_1400ff8e0(undefined8 param_1,longlong param_2) + +{ + FUN_1400060e0(*(undefined8 **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff8f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff8f0.c new file mode 100644 index 00000000..9ab6a257 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff8f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff8f0 Unwind@1400ff8f0 + * Pseudocode, not original source. */ + +void Unwind_1400ff8f0(undefined8 param_1,longlong param_2) + +{ + FUN_140028ee0((undefined8 *)(*(longlong *)(param_2 + 0x40) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff900.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff900.c new file mode 100644 index 00000000..59ad0959 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff900.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff900 Unwind@1400ff900 + * Pseudocode, not original source. */ + +void Unwind_1400ff900(undefined8 param_1,longlong param_2) + +{ + FUN_1400768c0(*(undefined8 **)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff910.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff910.c new file mode 100644 index 00000000..e21f6ee0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff910.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff910 Unwind@1400ff910 + * Pseudocode, not original source. */ + +void Unwind_1400ff910(undefined8 param_1,longlong param_2) + +{ + FUN_140028f30((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff920.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff920.c new file mode 100644 index 00000000..129e3d5b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff920.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff920 Catch_All@1400ff920 + * Pseudocode, not original source. */ + +void Catch_All_1400ff920(void) + +{ + /* WARNING: Subroutine does not return */ + _CxxThrowException((void *)0x0,(ThrowInfo *)0x0); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff940.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff940.c new file mode 100644 index 00000000..ce5a7d02 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff940.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff940 Unwind@1400ff940 + * Pseudocode, not original source. */ + +void Unwind_1400ff940(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff950.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff950.c new file mode 100644 index 00000000..ac90bf6f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff950.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff950 Unwind@1400ff950 + * Pseudocode, not original source. */ + +void Unwind_1400ff950(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14001c5e0((undefined8 *)(param_2 + 0x20),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff960.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff960.c new file mode 100644 index 00000000..d54a6fe7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff960.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff960 Unwind@1400ff960 + * Pseudocode, not original source. */ + +void Unwind_1400ff960(undefined8 param_1,longlong param_2) + +{ + FUN_14001e4b0((undefined8 *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff970.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff970.c new file mode 100644 index 00000000..7bf01de5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff970.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff970 Unwind@1400ff970 + * Pseudocode, not original source. */ + +void Unwind_1400ff970(undefined8 param_1,longlong param_2) + +{ + FUN_14001c5b0((undefined8 *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff980.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff980.c new file mode 100644 index 00000000..2b2697d4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff980.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff980 Unwind@1400ff980 + * Pseudocode, not original source. */ + +void Unwind_1400ff980(undefined8 param_1,longlong param_2) + +{ + FUN_14001e4b0((undefined8 *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff990.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff990.c new file mode 100644 index 00000000..58804c1b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff990.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff990 Unwind@1400ff990 + * Pseudocode, not original source. */ + +void Unwind_1400ff990(undefined8 param_1,longlong param_2) + +{ + FUN_14001c5b0((undefined8 *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff9a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff9a0.c new file mode 100644 index 00000000..b05f0677 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff9a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff9a0 Unwind@1400ff9a0 + * Pseudocode, not original source. */ + +void Unwind_1400ff9a0(undefined8 param_1,longlong param_2) + +{ + FUN_140001550((undefined8 *)(*(longlong *)(param_2 + 0x40) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff9b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff9b0.c new file mode 100644 index 00000000..c06ace67 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff9b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff9b0 Unwind@1400ff9b0 + * Pseudocode, not original source. */ + +void Unwind_1400ff9b0(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff9d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff9d0.c new file mode 100644 index 00000000..e9f90730 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff9d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff9d0 Unwind@1400ff9d0 + * Pseudocode, not original source. */ + +void Unwind_1400ff9d0(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x40) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff9e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff9e0.c new file mode 100644 index 00000000..3809eafe --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff9e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff9e0 Unwind@1400ff9e0 + * Pseudocode, not original source. */ + +void Unwind_1400ff9e0(undefined8 param_1,longlong param_2) + +{ + FUN_14001c5b0((undefined8 *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ff9f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ff9f0.c new file mode 100644 index 00000000..3bf26062 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ff9f0.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ff9f0 Unwind@1400ff9f0 + * Pseudocode, not original source. */ + +void Unwind_1400ff9f0(undefined8 param_1,longlong param_2) + +{ + /* WARNING: Could not recover jumptable at 0x0001400ff9f7. Too many branches */ + /* WARNING: Treating indirect jump as call */ + operator_delete(*(void **)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffa00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffa00.c new file mode 100644 index 00000000..44a7138f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffa00.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffa00 Unwind@1400ffa00 + * Pseudocode, not original source. */ + +void Unwind_1400ffa00(undefined8 param_1,longlong param_2) + +{ + /* WARNING: Could not recover jumptable at 0x0001400ffa07. Too many branches */ + /* WARNING: Treating indirect jump as call */ + operator_delete(*(void **)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffa10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffa10.c new file mode 100644 index 00000000..fd3cb838 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffa10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffa10 Unwind@1400ffa10 + * Pseudocode, not original source. */ + +void Unwind_1400ffa10(undefined8 param_1,longlong param_2) + +{ + FUN_14001c5b0((undefined8 *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffa20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffa20.c new file mode 100644 index 00000000..002f3e3c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffa20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffa20 Unwind@1400ffa20 + * Pseudocode, not original source. */ + +void Unwind_1400ffa20(undefined8 param_1,longlong param_2) + +{ + FUN_14001c5b0((undefined8 *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffa30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffa30.c new file mode 100644 index 00000000..cff73d62 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffa30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffa30 Unwind@1400ffa30 + * Pseudocode, not original source. */ + +void Unwind_1400ffa30(undefined8 param_1,longlong param_2) + +{ + FUN_14001c5b0((undefined8 *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffa40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffa40.c new file mode 100644 index 00000000..1868179a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffa40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffa40 Unwind@1400ffa40 + * Pseudocode, not original source. */ + +void Unwind_1400ffa40(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffa50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffa50.c new file mode 100644 index 00000000..f996e8f5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffa50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffa50 Unwind@1400ffa50 + * Pseudocode, not original source. */ + +void Unwind_1400ffa50(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x20),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffa60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffa60.c new file mode 100644 index 00000000..a26a63de --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffa60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffa60 Unwind@1400ffa60 + * Pseudocode, not original source. */ + +void Unwind_1400ffa60(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffa70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffa70.c new file mode 100644 index 00000000..bf5719e8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffa70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffa70 Unwind@1400ffa70 + * Pseudocode, not original source. */ + +void Unwind_1400ffa70(undefined8 param_1,longlong param_2) + +{ + FUN_14000d9e0((undefined8 *)(param_2 + 0x70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffa80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffa80.c new file mode 100644 index 00000000..36e01ee0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffa80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffa80 Unwind@1400ffa80 + * Pseudocode, not original source. */ + +void Unwind_1400ffa80(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffa90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffa90.c new file mode 100644 index 00000000..1630f7b2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffa90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffa90 Unwind@1400ffa90 + * Pseudocode, not original source. */ + +void Unwind_1400ffa90(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x50),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffaa0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffaa0.c new file mode 100644 index 00000000..a194a9ea --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffaa0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffaa0 Unwind@1400ffaa0 + * Pseudocode, not original source. */ + +void Unwind_1400ffaa0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffab0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffab0.c new file mode 100644 index 00000000..71e63255 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffab0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffab0 Unwind@1400ffab0 + * Pseudocode, not original source. */ + +void Unwind_1400ffab0(undefined8 param_1,longlong param_2) + +{ + FUN_14000d9e0((undefined8 *)(param_2 + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffac0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffac0.c new file mode 100644 index 00000000..58aabc40 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffac0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffac0 Unwind@1400ffac0 + * Pseudocode, not original source. */ + +void Unwind_1400ffac0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffad0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffad0.c new file mode 100644 index 00000000..dcfd1ce8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffad0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffad0 Unwind@1400ffad0 + * Pseudocode, not original source. */ + +void Unwind_1400ffad0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffae0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffae0.c new file mode 100644 index 00000000..710fd60d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffae0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffae0 Unwind@1400ffae0 + * Pseudocode, not original source. */ + +void Unwind_1400ffae0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffaf0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffaf0.c new file mode 100644 index 00000000..c8560fc3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffaf0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffaf0 Unwind@1400ffaf0 + * Pseudocode, not original source. */ + +void Unwind_1400ffaf0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffb00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffb00.c new file mode 100644 index 00000000..29856e4e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffb00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffb00 Unwind@1400ffb00 + * Pseudocode, not original source. */ + +void Unwind_1400ffb00(undefined8 param_1,longlong param_2) + +{ + FUN_14000d9e0((undefined8 *)(param_2 + 0x88)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffb10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffb10.c new file mode 100644 index 00000000..a9a57ec5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffb10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffb10 Unwind@1400ffb10 + * Pseudocode, not original source. */ + +void Unwind_1400ffb10(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x78)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffb20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffb20.c new file mode 100644 index 00000000..50f6145e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffb20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffb20 Unwind@1400ffb20 + * Pseudocode, not original source. */ + +void Unwind_1400ffb20(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x58),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffb30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffb30.c new file mode 100644 index 00000000..ce57b9d6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffb30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffb30 Unwind@1400ffb30 + * Pseudocode, not original source. */ + +void Unwind_1400ffb30(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x78)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffb40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffb40.c new file mode 100644 index 00000000..65049ebc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffb40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffb40 Unwind@1400ffb40 + * Pseudocode, not original source. */ + +void Unwind_1400ffb40(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x50),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffb50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffb50.c new file mode 100644 index 00000000..5281b425 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffb50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffb50 Unwind@1400ffb50 + * Pseudocode, not original source. */ + +void Unwind_1400ffb50(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x78)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffb60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffb60.c new file mode 100644 index 00000000..c216dc90 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffb60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffb60 Unwind@1400ffb60 + * Pseudocode, not original source. */ + +void Unwind_1400ffb60(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x78)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffb70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffb70.c new file mode 100644 index 00000000..ae3ee681 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffb70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffb70 Unwind@1400ffb70 + * Pseudocode, not original source. */ + +void Unwind_1400ffb70(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffb80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffb80.c new file mode 100644 index 00000000..ea1c4f63 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffb80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffb80 Unwind@1400ffb80 + * Pseudocode, not original source. */ + +void Unwind_1400ffb80(undefined8 param_1,longlong param_2) + +{ + FUN_14000d9e0((undefined8 *)(param_2 + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffb90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffb90.c new file mode 100644 index 00000000..9d784af1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffb90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffb90 Unwind@1400ffb90 + * Pseudocode, not original source. */ + +void Unwind_1400ffb90(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffba0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffba0.c new file mode 100644 index 00000000..4d491223 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffba0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffba0 Unwind@1400ffba0 + * Pseudocode, not original source. */ + +void Unwind_1400ffba0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0xd0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffbb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffbb0.c new file mode 100644 index 00000000..39e81067 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffbb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffbb0 Unwind@1400ffbb0 + * Pseudocode, not original source. */ + +void Unwind_1400ffbb0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffbc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffbc0.c new file mode 100644 index 00000000..01855536 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffbc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffbc0 Unwind@1400ffbc0 + * Pseudocode, not original source. */ + +void Unwind_1400ffbc0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffbd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffbd0.c new file mode 100644 index 00000000..339e531b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffbd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffbd0 Unwind@1400ffbd0 + * Pseudocode, not original source. */ + +void Unwind_1400ffbd0(undefined8 param_1,longlong param_2) + +{ + FUN_14000d9e0((undefined8 *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffbe0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffbe0.c new file mode 100644 index 00000000..f4045590 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffbe0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffbe0 Unwind@1400ffbe0 + * Pseudocode, not original source. */ + +void Unwind_1400ffbe0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffbf0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffbf0.c new file mode 100644 index 00000000..a8a5618c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffbf0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffbf0 Unwind@1400ffbf0 + * Pseudocode, not original source. */ + +void Unwind_1400ffbf0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0xb0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffc00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffc00.c new file mode 100644 index 00000000..2b3762c1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffc00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffc00 Unwind@1400ffc00 + * Pseudocode, not original source. */ + +void Unwind_1400ffc00(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffc10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffc10.c new file mode 100644 index 00000000..0d8ad24c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffc10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffc10 Unwind@1400ffc10 + * Pseudocode, not original source. */ + +void Unwind_1400ffc10(undefined8 param_1,longlong param_2) + +{ + FUN_14003ac00(param_2 + 0x28); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffc20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffc20.c new file mode 100644 index 00000000..8f3eb5ff --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffc20.c @@ -0,0 +1,31 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffc20 Catch_All@1400ffc20 + * Pseudocode, not original source. */ + +void Catch_All_1400ffc20(undefined8 param_1,longlong param_2) + +{ + undefined8 *puVar1; + ulonglong *puVar2; + ulonglong *puVar3; + ulonglong *puVar4; + + puVar1 = *(undefined8 **)(param_2 + 0x40); + puVar2 = (ulonglong *)*puVar1; + puVar3 = *(ulonglong **)(param_2 + 0x48); + if ((puVar2 == (ulonglong *)0x0) || (puVar3 < puVar2)) { + *puVar3 = (ulonglong)puVar2; + *puVar1 = puVar3; + } + else { + for (puVar4 = (ulonglong *)*puVar2; (puVar4 != (ulonglong *)0x0 && (puVar4 <= puVar3)); + puVar4 = (ulonglong *)*puVar4) { + puVar2 = puVar4; + } + *puVar3 = *puVar2; + *puVar2 = (ulonglong)puVar3; + } + /* WARNING: Subroutine does not return */ + _CxxThrowException((void *)0x0,(ThrowInfo *)0x0); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffc80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffc80.c new file mode 100644 index 00000000..075a9541 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffc80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffc80 Unwind@1400ffc80 + * Pseudocode, not original source. */ + +void Unwind_1400ffc80(undefined8 param_1,longlong param_2) + +{ + FUN_14000e5f0(*(undefined8 **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffc90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffc90.c new file mode 100644 index 00000000..a10bc521 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffc90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffc90 Unwind@1400ffc90 + * Pseudocode, not original source. */ + +void Unwind_1400ffc90(undefined8 param_1,longlong param_2) + +{ + FUN_14000e0c0((undefined8 *)(*(longlong *)(param_2 + 0x40) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffca0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffca0.c new file mode 100644 index 00000000..091cd2c3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffca0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffca0 Unwind@1400ffca0 + * Pseudocode, not original source. */ + +void Unwind_1400ffca0(undefined8 param_1,longlong param_2) + +{ + FUN_14003b4f0((longlong *)(*(longlong *)(param_2 + 0x40) + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffcb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffcb0.c new file mode 100644 index 00000000..a6a2e501 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffcb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffcb0 Unwind@1400ffcb0 + * Pseudocode, not original source. */ + +void Unwind_1400ffcb0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003d110((undefined4 *)(*(longlong *)(param_2 + 0x40) + 0x78),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffcc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffcc0.c new file mode 100644 index 00000000..94317493 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffcc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffcc0 Unwind@1400ffcc0 + * Pseudocode, not original source. */ + +void Unwind_1400ffcc0(undefined8 param_1,longlong param_2) + +{ + FUN_14000d9e0((undefined8 *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffcd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffcd0.c new file mode 100644 index 00000000..c28d10c8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffcd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffcd0 Unwind@1400ffcd0 + * Pseudocode, not original source. */ + +void Unwind_1400ffcd0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffce0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffce0.c new file mode 100644 index 00000000..88025a52 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffce0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffce0 Unwind@1400ffce0 + * Pseudocode, not original source. */ + +void Unwind_1400ffce0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0xb0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffcf0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffcf0.c new file mode 100644 index 00000000..32df92eb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffcf0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffcf0 Unwind@1400ffcf0 + * Pseudocode, not original source. */ + +void Unwind_1400ffcf0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffd00.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffd00.c new file mode 100644 index 00000000..45400629 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffd00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffd00 Unwind@1400ffd00 + * Pseudocode, not original source. */ + +void Unwind_1400ffd00(undefined8 param_1,longlong param_2) + +{ + FUN_14000d9e0((undefined8 *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffd10.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffd10.c new file mode 100644 index 00000000..bdd43ee3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffd10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffd10 Unwind@1400ffd10 + * Pseudocode, not original source. */ + +void Unwind_1400ffd10(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffd20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffd20.c new file mode 100644 index 00000000..89694273 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffd20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffd20 Unwind@1400ffd20 + * Pseudocode, not original source. */ + +void Unwind_1400ffd20(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0xb8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffd30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffd30.c new file mode 100644 index 00000000..ec974f4d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffd30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffd30 Unwind@1400ffd30 + * Pseudocode, not original source. */ + +void Unwind_1400ffd30(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffd40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffd40.c new file mode 100644 index 00000000..a0499dd3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffd40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffd40 Unwind@1400ffd40 + * Pseudocode, not original source. */ + +void Unwind_1400ffd40(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_14000a2d0(*(longlong **)(param_2 + 0x78)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffd50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffd50.c new file mode 100644 index 00000000..97a0c138 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffd50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffd50 Unwind@1400ffd50 + * Pseudocode, not original source. */ + +void Unwind_1400ffd50(undefined8 param_1,longlong param_2) + +{ + FUN_14000d9e0((undefined8 *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffd60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffd60.c new file mode 100644 index 00000000..41954fed --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffd60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffd60 Unwind@1400ffd60 + * Pseudocode, not original source. */ + +void Unwind_1400ffd60(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(*(undefined8 *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffd70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffd70.c new file mode 100644 index 00000000..0fd57a0b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffd70.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffd70 Unwind@1400ffd70 + * Pseudocode, not original source. */ + +void Unwind_1400ffd70(undefined8 param_1,longlong param_2) + +{ + /* WARNING: Could not recover jumptable at 0x0001400ffd77. Too many branches */ + /* WARNING: Treating indirect jump as call */ + operator_delete(*(void **)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffd80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffd80.c new file mode 100644 index 00000000..bf9708f7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffd80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffd80 Unwind@1400ffd80 + * Pseudocode, not original source. */ + +void Unwind_1400ffd80(undefined8 param_1,longlong param_2) + +{ + FUN_14000ad60((undefined8 *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffd90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffd90.c new file mode 100644 index 00000000..56c290ee --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffd90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffd90 Unwind@1400ffd90 + * Pseudocode, not original source. */ + +void Unwind_1400ffd90(undefined8 param_1,longlong param_2) + +{ + FUN_1400075b0((longlong *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffda0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffda0.c new file mode 100644 index 00000000..292e8b3a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffda0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffda0 Unwind@1400ffda0 + * Pseudocode, not original source. */ + +void Unwind_1400ffda0(undefined8 param_1,longlong param_2) + +{ + FUN_14000ad30((longlong *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffdb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffdb0.c new file mode 100644 index 00000000..d594d604 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffdb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffdb0 Unwind@1400ffdb0 + * Pseudocode, not original source. */ + +void Unwind_1400ffdb0(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x50); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffdc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffdc0.c new file mode 100644 index 00000000..6dfe9c10 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffdc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffdc0 Unwind@1400ffdc0 + * Pseudocode, not original source. */ + +void Unwind_1400ffdc0(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x50); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffdd0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffdd0.c new file mode 100644 index 00000000..5e419340 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffdd0.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffdd0 Catch@1400ffdd0 + * Pseudocode, not original source. */ + +undefined * Catch_1400ffdd0(undefined8 param_1,longlong param_2) + +{ + wprintf(L"[%s] \n"); + (**(code **)(**(longlong **)(param_2 + 0x28) + 8))(); + printf("Error : %s \n"); + return &DAT_140009f11; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffe20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffe20.c new file mode 100644 index 00000000..74faf6f6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffe20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffe20 Unwind@1400ffe20 + * Pseudocode, not original source. */ + +void Unwind_1400ffe20(undefined8 param_1,longlong param_2) + +{ + FUN_1400075b0((longlong *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffe30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffe30.c new file mode 100644 index 00000000..7c21061c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffe30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffe30 Unwind@1400ffe30 + * Pseudocode, not original source. */ + +void Unwind_1400ffe30(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x50); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffe40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffe40.c new file mode 100644 index 00000000..9dd952fb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffe40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffe40 Unwind@1400ffe40 + * Pseudocode, not original source. */ + +void Unwind_1400ffe40(undefined8 param_1,longlong param_2) + +{ + FUN_1400075b0((longlong *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffe50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffe50.c new file mode 100644 index 00000000..c008fdaa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffe50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffe50 Unwind@1400ffe50 + * Pseudocode, not original source. */ + +void Unwind_1400ffe50(undefined8 param_1,longlong param_2) + +{ + FUN_1400075b0((longlong *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffe60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffe60.c new file mode 100644 index 00000000..c3d98925 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffe60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffe60 Unwind@1400ffe60 + * Pseudocode, not original source. */ + +void Unwind_1400ffe60(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x50); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffe70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffe70.c new file mode 100644 index 00000000..fd5164c2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffe70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffe70 Unwind@1400ffe70 + * Pseudocode, not original source. */ + +void Unwind_1400ffe70(undefined8 param_1,longlong param_2) + +{ + FUN_1400075b0((longlong *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffe80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffe80.c new file mode 100644 index 00000000..4e1e71fb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffe80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffe80 Unwind@1400ffe80 + * Pseudocode, not original source. */ + +void Unwind_1400ffe80(undefined8 param_1,longlong param_2) + +{ + FUN_140001550((undefined8 *)(param_2 + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffe90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffe90.c new file mode 100644 index 00000000..4809ef2d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffe90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffe90 Unwind@1400ffe90 + * Pseudocode, not original source. */ + +void Unwind_1400ffe90(undefined8 param_1,longlong param_2) + +{ + FUN_140001550((undefined8 *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffea0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffea0.c new file mode 100644 index 00000000..b5e2f57c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffea0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffea0 Unwind@1400ffea0 + * Pseudocode, not original source. */ + +void Unwind_1400ffea0(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(*(undefined8 *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400ffeb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400ffeb0.c new file mode 100644 index 00000000..bdcac695 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400ffeb0.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400ffeb0 Catch@1400ffeb0 + * Pseudocode, not original source. */ + +undefined8 Catch_1400ffeb0(undefined8 param_1,longlong param_2) + +{ + (**(code **)(**(longlong **)(param_2 + 0x28) + 8))(); + printf("DB Exception : %s\n"); + wprintf(L"--- DB Connect Failed ------------------------------------------------\n"); + wprintf(L"%s \n"); + wprintf(L"----------------------------------------------------------------------\n"); + return 0x1400074bb; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fff20.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fff20.c new file mode 100644 index 00000000..8f8c91b7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fff20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fff20 Unwind@1400fff20 + * Pseudocode, not original source. */ + +void Unwind_1400fff20(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fff30.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fff30.c new file mode 100644 index 00000000..8a7ad129 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fff30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fff30 Unwind@1400fff30 + * Pseudocode, not original source. */ + +void Unwind_1400fff30(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fff40.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fff40.c new file mode 100644 index 00000000..ac75a2c9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fff40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fff40 Unwind@1400fff40 + * Pseudocode, not original source. */ + +void Unwind_1400fff40(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fff50.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fff50.c new file mode 100644 index 00000000..abab191f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fff50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fff50 Unwind@1400fff50 + * Pseudocode, not original source. */ + +void Unwind_1400fff50(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x70),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fff60.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fff60.c new file mode 100644 index 00000000..a3fb6290 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fff60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fff60 Unwind@1400fff60 + * Pseudocode, not original source. */ + +void Unwind_1400fff60(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fff70.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fff70.c new file mode 100644 index 00000000..9e1ca9a7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fff70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fff70 Unwind@1400fff70 + * Pseudocode, not original source. */ + +void Unwind_1400fff70(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fff80.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fff80.c new file mode 100644 index 00000000..5585d702 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fff80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fff80 Unwind@1400fff80 + * Pseudocode, not original source. */ + +void Unwind_1400fff80(undefined8 param_1,longlong param_2) + +{ + FUN_140001550((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fff90.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fff90.c new file mode 100644 index 00000000..8e5f42c3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fff90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fff90 Unwind@1400fff90 + * Pseudocode, not original source. */ + +void Unwind_1400fff90(undefined8 param_1,longlong param_2) + +{ + FUN_140001550((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fffa0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fffa0.c new file mode 100644 index 00000000..7dd518e2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fffa0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fffa0 Unwind@1400fffa0 + * Pseudocode, not original source. */ + +void Unwind_1400fffa0(undefined8 param_1,longlong param_2) + +{ + FUN_14003ac00(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fffb0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fffb0.c new file mode 100644 index 00000000..5bb4c62c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fffb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fffb0 Unwind@1400fffb0 + * Pseudocode, not original source. */ + +void Unwind_1400fffb0(undefined8 param_1,longlong param_2) + +{ + FUN_14003ac00(param_2 + 0x20); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1400fffc0.c b/decomp/AgentManager_Release_x64/full/functions/0x1400fffc0.c new file mode 100644 index 00000000..5908ba25 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1400fffc0.c @@ -0,0 +1,31 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1400fffc0 Catch_All@1400fffc0 + * Pseudocode, not original source. */ + +void Catch_All_1400fffc0(undefined8 param_1,longlong param_2) + +{ + undefined8 *puVar1; + ulonglong *puVar2; + ulonglong *puVar3; + ulonglong *puVar4; + + puVar1 = *(undefined8 **)(param_2 + 0x40); + puVar2 = (ulonglong *)*puVar1; + puVar3 = *(ulonglong **)(param_2 + 0x48); + if ((puVar2 == (ulonglong *)0x0) || (puVar3 < puVar2)) { + *puVar3 = (ulonglong)puVar2; + *puVar1 = puVar3; + } + else { + for (puVar4 = (ulonglong *)*puVar2; (puVar4 != (ulonglong *)0x0 && (puVar4 <= puVar3)); + puVar4 = (ulonglong *)*puVar4) { + puVar2 = puVar4; + } + *puVar3 = *puVar2; + *puVar2 = (ulonglong)puVar3; + } + /* WARNING: Subroutine does not return */ + _CxxThrowException((void *)0x0,(ThrowInfo *)0x0); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100020.c b/decomp/AgentManager_Release_x64/full/functions/0x140100020.c new file mode 100644 index 00000000..c08dff22 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100020.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100020 Unwind@140100020 + * Pseudocode, not original source. */ + +void Unwind_140100020(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100040.c b/decomp/AgentManager_Release_x64/full/functions/0x140100040.c new file mode 100644 index 00000000..0a0ff1ce --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100040.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100040 Unwind@140100040 + * Pseudocode, not original source. */ + +void Unwind_140100040(undefined8 param_1,longlong param_2) + +{ + FUN_140001550((undefined8 *)(*(longlong *)(param_2 + 0x30) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100050.c b/decomp/AgentManager_Release_x64/full/functions/0x140100050.c new file mode 100644 index 00000000..e707f44c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100050.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100050 Catch_All@140100050 + * Pseudocode, not original source. */ + +void Catch_All_140100050(undefined8 param_1,longlong param_2) + +{ + longlong lVar1; + longlong lVar2; + + lVar1 = *(longlong *)(param_2 + 0x70); + for (lVar2 = *(longlong *)(param_2 + 0x78); lVar2 != lVar1; lVar2 = lVar2 + 0x58) { + FUN_1400033c0(lVar2); + } + /* WARNING: Subroutine does not return */ + _CxxThrowException((void *)0x0,(ThrowInfo *)0x0); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100090.c b/decomp/AgentManager_Release_x64/full/functions/0x140100090.c new file mode 100644 index 00000000..4d5c9c32 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100090.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100090 Unwind@140100090 + * Pseudocode, not original source. */ + +void Unwind_140100090(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401000b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401000b0.c new file mode 100644 index 00000000..a3abdc61 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401000b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401000b0 Unwind@1401000b0 + * Pseudocode, not original source. */ + +void Unwind_1401000b0(undefined8 param_1,longlong param_2) + +{ + FUN_140001550((undefined8 *)(*(longlong *)(param_2 + 0x58) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401000c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401000c0.c new file mode 100644 index 00000000..3e633700 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401000c0.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401000c0 Catch_All@1401000c0 + * Pseudocode, not original source. */ + +void Catch_All_1401000c0(undefined8 param_1,longlong param_2) + +{ + longlong lVar1; + longlong lVar2; + + lVar1 = *(longlong *)(param_2 + 0x60); + for (lVar2 = *(longlong *)(param_2 + 0x50); lVar2 != lVar1; lVar2 = lVar2 + 0x58) { + FUN_1400033c0(lVar2); + } + /* WARNING: Subroutine does not return */ + _CxxThrowException((void *)0x0,(ThrowInfo *)0x0); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100100.c b/decomp/AgentManager_Release_x64/full/functions/0x140100100.c new file mode 100644 index 00000000..282b13c3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100100.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100100 Unwind@140100100 + * Pseudocode, not original source. */ + +void Unwind_140100100(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100120.c b/decomp/AgentManager_Release_x64/full/functions/0x140100120.c new file mode 100644 index 00000000..1916e935 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100120.c @@ -0,0 +1,23 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100120 Catch_All@140100120 + * Pseudocode, not original source. */ + +void Catch_All_140100120(undefined8 param_1,longlong param_2) + +{ + undefined8 *puVar1; + undefined8 *puVar2; + + puVar1 = *(undefined8 **)(param_2 + 0x60); + for (puVar2 = *(undefined8 **)(param_2 + 0x50); puVar2 != puVar1; puVar2 = puVar2 + 8) { + if (7 < (ulonglong)puVar2[3]) { + operator_delete((void *)*puVar2); + } + puVar2[3] = 7; + puVar2[2] = 0; + *(undefined2 *)puVar2 = 0; + } + /* WARNING: Subroutine does not return */ + _CxxThrowException((void *)0x0,(ThrowInfo *)0x0); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100180.c b/decomp/AgentManager_Release_x64/full/functions/0x140100180.c new file mode 100644 index 00000000..6b05fabd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100180.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100180 Catch_All@140100180 + * Pseudocode, not original source. */ + +void Catch_All_140100180(undefined8 param_1,longlong param_2) + +{ + FUN_140035370(*(undefined8 **)(param_2 + 0x40)); + /* WARNING: Subroutine does not return */ + _CxxThrowException((void *)0x0,(ThrowInfo *)0x0); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401001d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401001d0.c new file mode 100644 index 00000000..27969dfb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401001d0.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401001d0 Catch_All@1401001d0 + * Pseudocode, not original source. */ + +void Catch_All_1401001d0(undefined8 param_1,longlong param_2) + +{ + operator_delete(*(void **)(param_2 + 0x58)); + /* WARNING: Subroutine does not return */ + _CxxThrowException((void *)0x0,(ThrowInfo *)0x0); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100200.c b/decomp/AgentManager_Release_x64/full/functions/0x140100200.c new file mode 100644 index 00000000..08ef4b38 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100200.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100200 Unwind@140100200 + * Pseudocode, not original source. */ + +void Unwind_140100200(undefined8 param_1,longlong param_2) + +{ + FUN_1400376f0(*(undefined8 **)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100210.c b/decomp/AgentManager_Release_x64/full/functions/0x140100210.c new file mode 100644 index 00000000..838de2c4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100210.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100210 Unwind@140100210 + * Pseudocode, not original source. */ + +void Unwind_140100210(undefined8 param_1,longlong param_2) + +{ + FUN_140001550((undefined8 *)(*(longlong *)(param_2 + 0x48) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100220.c b/decomp/AgentManager_Release_x64/full/functions/0x140100220.c new file mode 100644 index 00000000..e1fd583b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100220.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100220 Unwind@140100220 + * Pseudocode, not original source. */ + +void Unwind_140100220(undefined8 param_1,longlong param_2) + +{ + FUN_140001550((undefined8 *)(*(longlong *)(param_2 + 0x48) + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100230.c b/decomp/AgentManager_Release_x64/full/functions/0x140100230.c new file mode 100644 index 00000000..9feefe90 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100230.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100230 Unwind@140100230 + * Pseudocode, not original source. */ + +void Unwind_140100230(undefined8 param_1,longlong param_2) + +{ + FUN_140001550((undefined8 *)(*(longlong *)(param_2 + 0x48) + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100240.c b/decomp/AgentManager_Release_x64/full/functions/0x140100240.c new file mode 100644 index 00000000..50a3d92f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100240.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100240 Unwind@140100240 + * Pseudocode, not original source. */ + +void Unwind_140100240(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(*(longlong *)(param_2 + 0x48) + 0x90)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100260.c b/decomp/AgentManager_Release_x64/full/functions/0x140100260.c new file mode 100644 index 00000000..e6b13ed5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100260.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100260 Unwind@140100260 + * Pseudocode, not original source. */ + +void Unwind_140100260(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(*(longlong *)(param_2 + 0x48) + 0xb8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100280.c b/decomp/AgentManager_Release_x64/full/functions/0x140100280.c new file mode 100644 index 00000000..31d9f956 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100280.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100280 Unwind@140100280 + * Pseudocode, not original source. */ + +void Unwind_140100280(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(*(longlong *)(param_2 + 0x48) + 0xe0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401002a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401002a0.c new file mode 100644 index 00000000..6e4f92a2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401002a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401002a0 Unwind@1401002a0 + * Pseudocode, not original source. */ + +void Unwind_1401002a0(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(*(longlong *)(param_2 + 0x48) + 0x108)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401002c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401002c0.c new file mode 100644 index 00000000..f8d16bcf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401002c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401002c0 Unwind@1401002c0 + * Pseudocode, not original source. */ + +void Unwind_1401002c0(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_140035ee0((undefined8 *)(*(longlong *)(param_2 + 0x48) + 0x188)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401002e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401002e0.c new file mode 100644 index 00000000..63f6385c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401002e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401002e0 Unwind@1401002e0 + * Pseudocode, not original source. */ + +void Unwind_1401002e0(undefined8 param_1,longlong param_2) + +{ + FUN_140034c60((longlong *)(*(longlong *)(param_2 + 0x48) + 0x1a8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100300.c b/decomp/AgentManager_Release_x64/full/functions/0x140100300.c new file mode 100644 index 00000000..fda7531b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100300.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100300 Unwind@140100300 + * Pseudocode, not original source. */ + +void Unwind_140100300(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140034c80((undefined8 *)(param_2 + 0x20),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100310.c b/decomp/AgentManager_Release_x64/full/functions/0x140100310.c new file mode 100644 index 00000000..9e275978 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100310.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100310 Unwind@140100310 + * Pseudocode, not original source. */ + +void Unwind_140100310(undefined8 param_1,longlong param_2) + +{ + FUN_140001550((undefined8 *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100320.c b/decomp/AgentManager_Release_x64/full/functions/0x140100320.c new file mode 100644 index 00000000..1cc9bc66 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100320.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100320 Unwind@140100320 + * Pseudocode, not original source. */ + +void Unwind_140100320(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0x80)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100330.c b/decomp/AgentManager_Release_x64/full/functions/0x140100330.c new file mode 100644 index 00000000..3452ba5b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100330.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100330 Unwind@140100330 + * Pseudocode, not original source. */ + +void Unwind_140100330(undefined8 param_1,longlong param_2) + +{ + FUN_140005000((undefined8 *)(param_2 + 0xb0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100340.c b/decomp/AgentManager_Release_x64/full/functions/0x140100340.c new file mode 100644 index 00000000..2d07c130 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100340.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100340 Unwind@140100340 + * Pseudocode, not original source. */ + +void Unwind_140100340(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100350.c b/decomp/AgentManager_Release_x64/full/functions/0x140100350.c new file mode 100644 index 00000000..535fb497 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100350.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100350 Unwind@140100350 + * Pseudocode, not original source. */ + +void Unwind_140100350(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x2b8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100360.c b/decomp/AgentManager_Release_x64/full/functions/0x140100360.c new file mode 100644 index 00000000..e7e1f3d7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100360.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100360 Unwind@140100360 + * Pseudocode, not original source. */ + +void Unwind_140100360(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x2a8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100370.c b/decomp/AgentManager_Release_x64/full/functions/0x140100370.c new file mode 100644 index 00000000..314f1f9a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100370.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100370 Unwind@140100370 + * Pseudocode, not original source. */ + +void Unwind_140100370(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x1d0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100380.c b/decomp/AgentManager_Release_x64/full/functions/0x140100380.c new file mode 100644 index 00000000..e53139cd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100380.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100380 Unwind@140100380 + * Pseudocode, not original source. */ + +void Unwind_140100380(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x78)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100390.c b/decomp/AgentManager_Release_x64/full/functions/0x140100390.c new file mode 100644 index 00000000..d9b0d542 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100390.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100390 Unwind@140100390 + * Pseudocode, not original source. */ + +void Unwind_140100390(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x98)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401003a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401003a0.c new file mode 100644 index 00000000..c0b005f0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401003a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401003a0 Unwind@1401003a0 + * Pseudocode, not original source. */ + +void Unwind_1401003a0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x88)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401003b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401003b0.c new file mode 100644 index 00000000..7a73004f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401003b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401003b0 Unwind@1401003b0 + * Pseudocode, not original source. */ + +void Unwind_1401003b0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x78)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401003c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401003c0.c new file mode 100644 index 00000000..4d2a468c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401003c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401003c0 Unwind@1401003c0 + * Pseudocode, not original source. */ + +void Unwind_1401003c0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x88),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401003d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401003d0.c new file mode 100644 index 00000000..b25acd70 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401003d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401003d0 Unwind@1401003d0 + * Pseudocode, not original source. */ + +void Unwind_1401003d0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x88)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401003e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401003e0.c new file mode 100644 index 00000000..5ec2e93c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401003e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401003e0 Unwind@1401003e0 + * Pseudocode, not original source. */ + +void Unwind_1401003e0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x88)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401003f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401003f0.c new file mode 100644 index 00000000..9ac93216 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401003f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401003f0 Unwind@1401003f0 + * Pseudocode, not original source. */ + +void Unwind_1401003f0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x88)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100400.c b/decomp/AgentManager_Release_x64/full/functions/0x140100400.c new file mode 100644 index 00000000..7a58d8a2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100400.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100400 Unwind@140100400 + * Pseudocode, not original source. */ + +void Unwind_140100400(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x2a8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100410.c b/decomp/AgentManager_Release_x64/full/functions/0x140100410.c new file mode 100644 index 00000000..8b416070 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100410.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100410 Unwind@140100410 + * Pseudocode, not original source. */ + +void Unwind_140100410(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x1c0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100420.c b/decomp/AgentManager_Release_x64/full/functions/0x140100420.c new file mode 100644 index 00000000..08b7b974 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100420.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100420 Unwind@140100420 + * Pseudocode, not original source. */ + +void Unwind_140100420(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100430.c b/decomp/AgentManager_Release_x64/full/functions/0x140100430.c new file mode 100644 index 00000000..cb26eed0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100430.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100430 Unwind@140100430 + * Pseudocode, not original source. */ + +void Unwind_140100430(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x88)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100440.c b/decomp/AgentManager_Release_x64/full/functions/0x140100440.c new file mode 100644 index 00000000..681333a6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100440.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100440 Unwind@140100440 + * Pseudocode, not original source. */ + +void Unwind_140100440(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100450.c b/decomp/AgentManager_Release_x64/full/functions/0x140100450.c new file mode 100644 index 00000000..eaa7a97e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100450.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100450 Unwind@140100450 + * Pseudocode, not original source. */ + +void Unwind_140100450(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100460.c b/decomp/AgentManager_Release_x64/full/functions/0x140100460.c new file mode 100644 index 00000000..9b64d850 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100460.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100460 Unwind@140100460 + * Pseudocode, not original source. */ + +void Unwind_140100460(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x2b8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100470.c b/decomp/AgentManager_Release_x64/full/functions/0x140100470.c new file mode 100644 index 00000000..390c9c71 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100470.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100470 Unwind@140100470 + * Pseudocode, not original source. */ + +void Unwind_140100470(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100480.c b/decomp/AgentManager_Release_x64/full/functions/0x140100480.c new file mode 100644 index 00000000..45a97756 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100480.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100480 Unwind@140100480 + * Pseudocode, not original source. */ + +void Unwind_140100480(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100490.c b/decomp/AgentManager_Release_x64/full/functions/0x140100490.c new file mode 100644 index 00000000..dbb54991 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100490.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100490 Unwind@140100490 + * Pseudocode, not original source. */ + +void Unwind_140100490(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x1b8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401004a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401004a0.c new file mode 100644 index 00000000..99db9b47 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401004a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401004a0 Unwind@1401004a0 + * Pseudocode, not original source. */ + +void Unwind_1401004a0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x78)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401004b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401004b0.c new file mode 100644 index 00000000..5d64e123 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401004b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401004b0 Unwind@1401004b0 + * Pseudocode, not original source. */ + +void Unwind_1401004b0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x98)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401004c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401004c0.c new file mode 100644 index 00000000..3f6ce91d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401004c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401004c0 Unwind@1401004c0 + * Pseudocode, not original source. */ + +void Unwind_1401004c0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x88)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401004d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401004d0.c new file mode 100644 index 00000000..aa772115 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401004d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401004d0 Unwind@1401004d0 + * Pseudocode, not original source. */ + +void Unwind_1401004d0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x78)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401004e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401004e0.c new file mode 100644 index 00000000..0717c945 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401004e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401004e0 Unwind@1401004e0 + * Pseudocode, not original source. */ + +void Unwind_1401004e0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x88),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401004f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401004f0.c new file mode 100644 index 00000000..b8a1dd26 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401004f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401004f0 Unwind@1401004f0 + * Pseudocode, not original source. */ + +void Unwind_1401004f0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x88)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100500.c b/decomp/AgentManager_Release_x64/full/functions/0x140100500.c new file mode 100644 index 00000000..d10e18f4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100500.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100500 Unwind@140100500 + * Pseudocode, not original source. */ + +void Unwind_140100500(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x88),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100510.c b/decomp/AgentManager_Release_x64/full/functions/0x140100510.c new file mode 100644 index 00000000..861676bb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100510.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100510 Unwind@140100510 + * Pseudocode, not original source. */ + +void Unwind_140100510(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100520.c b/decomp/AgentManager_Release_x64/full/functions/0x140100520.c new file mode 100644 index 00000000..6b494c14 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100520.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100520 Unwind@140100520 + * Pseudocode, not original source. */ + +void Unwind_140100520(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x1c8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100530.c b/decomp/AgentManager_Release_x64/full/functions/0x140100530.c new file mode 100644 index 00000000..b41be94d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100530.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100530 Unwind@140100530 + * Pseudocode, not original source. */ + +void Unwind_140100530(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x1d8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100540.c b/decomp/AgentManager_Release_x64/full/functions/0x140100540.c new file mode 100644 index 00000000..dce18b6d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100540.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100540 Unwind@140100540 + * Pseudocode, not original source. */ + +void Unwind_140100540(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100550.c b/decomp/AgentManager_Release_x64/full/functions/0x140100550.c new file mode 100644 index 00000000..9ff8e250 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100550.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100550 Unwind@140100550 + * Pseudocode, not original source. */ + +void Unwind_140100550(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100560.c b/decomp/AgentManager_Release_x64/full/functions/0x140100560.c new file mode 100644 index 00000000..9cd64e5e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100560.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100560 Unwind@140100560 + * Pseudocode, not original source. */ + +void Unwind_140100560(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100570.c b/decomp/AgentManager_Release_x64/full/functions/0x140100570.c new file mode 100644 index 00000000..7d2dd375 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100570.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100570 Unwind@140100570 + * Pseudocode, not original source. */ + +void Unwind_140100570(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x78),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100580.c b/decomp/AgentManager_Release_x64/full/functions/0x140100580.c new file mode 100644 index 00000000..5af8facc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100580.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100580 Unwind@140100580 + * Pseudocode, not original source. */ + +void Unwind_140100580(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100590.c b/decomp/AgentManager_Release_x64/full/functions/0x140100590.c new file mode 100644 index 00000000..4092034a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100590.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100590 Unwind@140100590 + * Pseudocode, not original source. */ + +void Unwind_140100590(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401005a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401005a0.c new file mode 100644 index 00000000..eb89d847 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401005a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401005a0 Unwind@1401005a0 + * Pseudocode, not original source. */ + +void Unwind_1401005a0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x78),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401005b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401005b0.c new file mode 100644 index 00000000..5c383d4a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401005b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401005b0 Unwind@1401005b0 + * Pseudocode, not original source. */ + +void Unwind_1401005b0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x88),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401005c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401005c0.c new file mode 100644 index 00000000..ea4f2c9d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401005c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401005c0 Unwind@1401005c0 + * Pseudocode, not original source. */ + +void Unwind_1401005c0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401005d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401005d0.c new file mode 100644 index 00000000..6b4301db --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401005d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401005d0 Unwind@1401005d0 + * Pseudocode, not original source. */ + +void Unwind_1401005d0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x2b8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401005e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401005e0.c new file mode 100644 index 00000000..7f4eeab4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401005e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401005e0 Unwind@1401005e0 + * Pseudocode, not original source. */ + +void Unwind_1401005e0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x1b0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401005f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401005f0.c new file mode 100644 index 00000000..5fc7d134 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401005f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401005f0 Unwind@1401005f0 + * Pseudocode, not original source. */ + +void Unwind_1401005f0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100600.c b/decomp/AgentManager_Release_x64/full/functions/0x140100600.c new file mode 100644 index 00000000..56515880 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100600.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100600 Unwind@140100600 + * Pseudocode, not original source. */ + +void Unwind_140100600(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x1d8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100610.c b/decomp/AgentManager_Release_x64/full/functions/0x140100610.c new file mode 100644 index 00000000..7d9799d6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100610.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100610 Unwind@140100610 + * Pseudocode, not original source. */ + +void Unwind_140100610(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100620.c b/decomp/AgentManager_Release_x64/full/functions/0x140100620.c new file mode 100644 index 00000000..f356dce7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100620.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100620 Unwind@140100620 + * Pseudocode, not original source. */ + +void Unwind_140100620(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100630.c b/decomp/AgentManager_Release_x64/full/functions/0x140100630.c new file mode 100644 index 00000000..07d4db3b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100630.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100630 Unwind@140100630 + * Pseudocode, not original source. */ + +void Unwind_140100630(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x98),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100640.c b/decomp/AgentManager_Release_x64/full/functions/0x140100640.c new file mode 100644 index 00000000..792fa2ef --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100640.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100640 Unwind@140100640 + * Pseudocode, not original source. */ + +void Unwind_140100640(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100650.c b/decomp/AgentManager_Release_x64/full/functions/0x140100650.c new file mode 100644 index 00000000..69d00f94 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100650.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100650 Unwind@140100650 + * Pseudocode, not original source. */ + +void Unwind_140100650(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100660.c b/decomp/AgentManager_Release_x64/full/functions/0x140100660.c new file mode 100644 index 00000000..89082781 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100660.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100660 Unwind@140100660 + * Pseudocode, not original source. */ + +void Unwind_140100660(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100670.c b/decomp/AgentManager_Release_x64/full/functions/0x140100670.c new file mode 100644 index 00000000..13eced5e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100670.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100670 Unwind@140100670 + * Pseudocode, not original source. */ + +void Unwind_140100670(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100680.c b/decomp/AgentManager_Release_x64/full/functions/0x140100680.c new file mode 100644 index 00000000..69fca82d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100680.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100680 Unwind@140100680 + * Pseudocode, not original source. */ + +void Unwind_140100680(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x2b8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100690.c b/decomp/AgentManager_Release_x64/full/functions/0x140100690.c new file mode 100644 index 00000000..e9160414 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100690.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100690 Unwind@140100690 + * Pseudocode, not original source. */ + +void Unwind_140100690(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x218),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401006a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401006a0.c new file mode 100644 index 00000000..f6440cc5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401006a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401006a0 Unwind@1401006a0 + * Pseudocode, not original source. */ + +void Unwind_1401006a0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401006b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401006b0.c new file mode 100644 index 00000000..4b13a64a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401006b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401006b0 Unwind@1401006b0 + * Pseudocode, not original source. */ + +void Unwind_1401006b0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x1d8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401006c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401006c0.c new file mode 100644 index 00000000..83e4c973 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401006c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401006c0 Unwind@1401006c0 + * Pseudocode, not original source. */ + +void Unwind_1401006c0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401006d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401006d0.c new file mode 100644 index 00000000..9f1d9dd3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401006d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401006d0 Unwind@1401006d0 + * Pseudocode, not original source. */ + +void Unwind_1401006d0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401006e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401006e0.c new file mode 100644 index 00000000..0e9e0823 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401006e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401006e0 Unwind@1401006e0 + * Pseudocode, not original source. */ + +void Unwind_1401006e0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x2b8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401006f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401006f0.c new file mode 100644 index 00000000..46ba048c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401006f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401006f0 Unwind@1401006f0 + * Pseudocode, not original source. */ + +void Unwind_1401006f0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x1f8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100700.c b/decomp/AgentManager_Release_x64/full/functions/0x140100700.c new file mode 100644 index 00000000..d112ce6f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100700.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100700 Unwind@140100700 + * Pseudocode, not original source. */ + +void Unwind_140100700(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x88),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100710.c b/decomp/AgentManager_Release_x64/full/functions/0x140100710.c new file mode 100644 index 00000000..224815e6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100710.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100710 Unwind@140100710 + * Pseudocode, not original source. */ + +void Unwind_140100710(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x2b8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100720.c b/decomp/AgentManager_Release_x64/full/functions/0x140100720.c new file mode 100644 index 00000000..73a21b1a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100720.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100720 Unwind@140100720 + * Pseudocode, not original source. */ + +void Unwind_140100720(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x2a8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100730.c b/decomp/AgentManager_Release_x64/full/functions/0x140100730.c new file mode 100644 index 00000000..45113ca0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100730.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100730 Unwind@140100730 + * Pseudocode, not original source. */ + +void Unwind_140100730(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x208),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100740.c b/decomp/AgentManager_Release_x64/full/functions/0x140100740.c new file mode 100644 index 00000000..c952cff6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100740.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100740 Unwind@140100740 + * Pseudocode, not original source. */ + +void Unwind_140100740(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100750.c b/decomp/AgentManager_Release_x64/full/functions/0x140100750.c new file mode 100644 index 00000000..8c1553ac --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100750.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100750 Unwind@140100750 + * Pseudocode, not original source. */ + +void Unwind_140100750(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x2b8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100760.c b/decomp/AgentManager_Release_x64/full/functions/0x140100760.c new file mode 100644 index 00000000..5222e36d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100760.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100760 Unwind@140100760 + * Pseudocode, not original source. */ + +void Unwind_140100760(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x1e8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100770.c b/decomp/AgentManager_Release_x64/full/functions/0x140100770.c new file mode 100644 index 00000000..f10c5707 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100770.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100770 Unwind@140100770 + * Pseudocode, not original source. */ + +void Unwind_140100770(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100780.c b/decomp/AgentManager_Release_x64/full/functions/0x140100780.c new file mode 100644 index 00000000..b3e68dd5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100780.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100780 Unwind@140100780 + * Pseudocode, not original source. */ + +void Unwind_140100780(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x2b8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100790.c b/decomp/AgentManager_Release_x64/full/functions/0x140100790.c new file mode 100644 index 00000000..e69147bd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100790.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100790 Unwind@140100790 + * Pseudocode, not original source. */ + +void Unwind_140100790(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x210),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401007a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401007a0.c new file mode 100644 index 00000000..29593f13 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401007a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401007a0 Unwind@1401007a0 + * Pseudocode, not original source. */ + +void Unwind_1401007a0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401007b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401007b0.c new file mode 100644 index 00000000..145505eb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401007b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401007b0 Unwind@1401007b0 + * Pseudocode, not original source. */ + +void Unwind_1401007b0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x2b8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401007c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401007c0.c new file mode 100644 index 00000000..336f403a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401007c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401007c0 Unwind@1401007c0 + * Pseudocode, not original source. */ + +void Unwind_1401007c0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x200),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401007d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401007d0.c new file mode 100644 index 00000000..8aa79af5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401007d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401007d0 Unwind@1401007d0 + * Pseudocode, not original source. */ + +void Unwind_1401007d0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401007e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401007e0.c new file mode 100644 index 00000000..b2fb244e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401007e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401007e0 Unwind@1401007e0 + * Pseudocode, not original source. */ + +void Unwind_1401007e0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x2b8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401007f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401007f0.c new file mode 100644 index 00000000..c9090858 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401007f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401007f0 Unwind@1401007f0 + * Pseudocode, not original source. */ + +void Unwind_1401007f0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x1f0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100800.c b/decomp/AgentManager_Release_x64/full/functions/0x140100800.c new file mode 100644 index 00000000..cde2c970 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100800.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100800 Unwind@140100800 + * Pseudocode, not original source. */ + +void Unwind_140100800(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100810.c b/decomp/AgentManager_Release_x64/full/functions/0x140100810.c new file mode 100644 index 00000000..bda43c08 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100810.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100810 Unwind@140100810 + * Pseudocode, not original source. */ + +void Unwind_140100810(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100830.c b/decomp/AgentManager_Release_x64/full/functions/0x140100830.c new file mode 100644 index 00000000..a42c6613 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100830.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100830 Catch_All@140100830 + * Pseudocode, not original source. */ + +void Catch_All_140100830(undefined8 param_1,longlong param_2) + +{ + longlong lVar1; + longlong lVar2; + + lVar1 = *(longlong *)(param_2 + 0x60); + for (lVar2 = *(longlong *)(param_2 + 0x50); lVar2 != lVar1; lVar2 = lVar2 + 0xa0) { + FUN_140004e90(lVar2); + } + /* WARNING: Subroutine does not return */ + _CxxThrowException((void *)0x0,(ThrowInfo *)0x0); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100870.c b/decomp/AgentManager_Release_x64/full/functions/0x140100870.c new file mode 100644 index 00000000..1be5b67a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100870.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100870 Unwind@140100870 + * Pseudocode, not original source. */ + +void Unwind_140100870(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100890.c b/decomp/AgentManager_Release_x64/full/functions/0x140100890.c new file mode 100644 index 00000000..64d0a763 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100890.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100890 Catch_All@140100890 + * Pseudocode, not original source. */ + +void Catch_All_140100890(undefined8 param_1,longlong param_2) + +{ + longlong lVar1; + longlong lVar2; + + lVar1 = *(longlong *)(param_2 + 0x60); + for (lVar2 = *(longlong *)(param_2 + 0x50); lVar2 != lVar1; lVar2 = lVar2 + 0x30) { + FUN_140009720(lVar2); + } + /* WARNING: Subroutine does not return */ + _CxxThrowException((void *)0x0,(ThrowInfo *)0x0); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401008d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401008d0.c new file mode 100644 index 00000000..18cd1ac3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401008d0.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401008d0 Catch_All@1401008d0 + * Pseudocode, not original source. */ + +void Catch_All_1401008d0(undefined8 param_1,longlong param_2) + +{ + operator_delete(*(void **)(param_2 + 0x48)); + /* WARNING: Subroutine does not return */ + _CxxThrowException((void *)0x0,(ThrowInfo *)0x0); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100900.c b/decomp/AgentManager_Release_x64/full/functions/0x140100900.c new file mode 100644 index 00000000..602a1d08 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100900.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100900 Catch_All@140100900 + * Pseudocode, not original source. */ + +void Catch_All_140100900(undefined8 param_1,longlong param_2) + +{ + operator_delete(*(void **)(param_2 + 0x48)); + /* WARNING: Subroutine does not return */ + _CxxThrowException((void *)0x0,(ThrowInfo *)0x0); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100930.c b/decomp/AgentManager_Release_x64/full/functions/0x140100930.c new file mode 100644 index 00000000..062a4733 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100930.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100930 Unwind@140100930 + * Pseudocode, not original source. */ + +void Unwind_140100930(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100940.c b/decomp/AgentManager_Release_x64/full/functions/0x140100940.c new file mode 100644 index 00000000..799e7d73 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100940.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100940 Unwind@140100940 + * Pseudocode, not original source. */ + +void Unwind_140100940(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x50),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100950.c b/decomp/AgentManager_Release_x64/full/functions/0x140100950.c new file mode 100644 index 00000000..eb81c950 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100950.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100950 Unwind@140100950 + * Pseudocode, not original source. */ + +void Unwind_140100950(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x238)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100960.c b/decomp/AgentManager_Release_x64/full/functions/0x140100960.c new file mode 100644 index 00000000..033a0cfe --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100960.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100960 Unwind@140100960 + * Pseudocode, not original source. */ + +void Unwind_140100960(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x1a8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100970.c b/decomp/AgentManager_Release_x64/full/functions/0x140100970.c new file mode 100644 index 00000000..307b873b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100970.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100970 Unwind@140100970 + * Pseudocode, not original source. */ + +void Unwind_140100970(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x238)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100980.c b/decomp/AgentManager_Release_x64/full/functions/0x140100980.c new file mode 100644 index 00000000..172b0a33 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100980.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100980 Unwind@140100980 + * Pseudocode, not original source. */ + +void Unwind_140100980(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x260)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100990.c b/decomp/AgentManager_Release_x64/full/functions/0x140100990.c new file mode 100644 index 00000000..47e53dde --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100990.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100990 Unwind@140100990 + * Pseudocode, not original source. */ + +void Unwind_140100990(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x238)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401009a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401009a0.c new file mode 100644 index 00000000..e5e49efa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401009a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401009a0 Unwind@1401009a0 + * Pseudocode, not original source. */ + +void Unwind_1401009a0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x238)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401009b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401009b0.c new file mode 100644 index 00000000..0b94ce9d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401009b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401009b0 Unwind@1401009b0 + * Pseudocode, not original source. */ + +void Unwind_1401009b0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x50),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401009c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401009c0.c new file mode 100644 index 00000000..b6fa41be --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401009c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401009c0 Unwind@1401009c0 + * Pseudocode, not original source. */ + +void Unwind_1401009c0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x238)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401009d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401009d0.c new file mode 100644 index 00000000..247cb566 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401009d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401009d0 Unwind@1401009d0 + * Pseudocode, not original source. */ + +void Unwind_1401009d0(undefined8 param_1,longlong param_2) + +{ + FUN_140023550((undefined8 *)(param_2 + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401009e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401009e0.c new file mode 100644 index 00000000..9bd81005 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401009e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401009e0 Unwind@1401009e0 + * Pseudocode, not original source. */ + +void Unwind_1401009e0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401009f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401009f0.c new file mode 100644 index 00000000..a74989d9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401009f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401009f0 Unwind@1401009f0 + * Pseudocode, not original source. */ + +void Unwind_1401009f0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x50),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100a00.c b/decomp/AgentManager_Release_x64/full/functions/0x140100a00.c new file mode 100644 index 00000000..963a8412 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100a00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100a00 Unwind@140100a00 + * Pseudocode, not original source. */ + +void Unwind_140100a00(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x238)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100a10.c b/decomp/AgentManager_Release_x64/full/functions/0x140100a10.c new file mode 100644 index 00000000..b0eec54f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100a10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100a10 Unwind@140100a10 + * Pseudocode, not original source. */ + +void Unwind_140100a10(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x50),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100a20.c b/decomp/AgentManager_Release_x64/full/functions/0x140100a20.c new file mode 100644 index 00000000..abdab86f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100a20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100a20 Unwind@140100a20 + * Pseudocode, not original source. */ + +void Unwind_140100a20(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x238)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100a30.c b/decomp/AgentManager_Release_x64/full/functions/0x140100a30.c new file mode 100644 index 00000000..782c34d5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100a30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100a30 Unwind@140100a30 + * Pseudocode, not original source. */ + +void Unwind_140100a30(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x1b0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100a40.c b/decomp/AgentManager_Release_x64/full/functions/0x140100a40.c new file mode 100644 index 00000000..d1e43c07 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100a40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100a40 Unwind@140100a40 + * Pseudocode, not original source. */ + +void Unwind_140100a40(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x238)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100a50.c b/decomp/AgentManager_Release_x64/full/functions/0x140100a50.c new file mode 100644 index 00000000..3be46069 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100a50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100a50 Unwind@140100a50 + * Pseudocode, not original source. */ + +void Unwind_140100a50(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x260)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100a60.c b/decomp/AgentManager_Release_x64/full/functions/0x140100a60.c new file mode 100644 index 00000000..27f8a5f7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100a60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100a60 Unwind@140100a60 + * Pseudocode, not original source. */ + +void Unwind_140100a60(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x238)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100a70.c b/decomp/AgentManager_Release_x64/full/functions/0x140100a70.c new file mode 100644 index 00000000..1d60a23a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100a70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100a70 Unwind@140100a70 + * Pseudocode, not original source. */ + +void Unwind_140100a70(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x238)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100a80.c b/decomp/AgentManager_Release_x64/full/functions/0x140100a80.c new file mode 100644 index 00000000..72635406 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100a80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100a80 Unwind@140100a80 + * Pseudocode, not original source. */ + +void Unwind_140100a80(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x50),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100a90.c b/decomp/AgentManager_Release_x64/full/functions/0x140100a90.c new file mode 100644 index 00000000..eced027d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100a90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100a90 Unwind@140100a90 + * Pseudocode, not original source. */ + +void Unwind_140100a90(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x238)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100aa0.c b/decomp/AgentManager_Release_x64/full/functions/0x140100aa0.c new file mode 100644 index 00000000..d8e8cd45 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100aa0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100aa0 Unwind@140100aa0 + * Pseudocode, not original source. */ + +void Unwind_140100aa0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100ab0.c b/decomp/AgentManager_Release_x64/full/functions/0x140100ab0.c new file mode 100644 index 00000000..86a67faf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100ab0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100ab0 Unwind@140100ab0 + * Pseudocode, not original source. */ + +void Unwind_140100ab0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x1b8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100ac0.c b/decomp/AgentManager_Release_x64/full/functions/0x140100ac0.c new file mode 100644 index 00000000..90664527 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100ac0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100ac0 Unwind@140100ac0 + * Pseudocode, not original source. */ + +void Unwind_140100ac0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x238)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100ad0.c b/decomp/AgentManager_Release_x64/full/functions/0x140100ad0.c new file mode 100644 index 00000000..e6882267 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100ad0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100ad0 Unwind@140100ad0 + * Pseudocode, not original source. */ + +void Unwind_140100ad0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x260)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100ae0.c b/decomp/AgentManager_Release_x64/full/functions/0x140100ae0.c new file mode 100644 index 00000000..dd415d65 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100ae0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100ae0 Unwind@140100ae0 + * Pseudocode, not original source. */ + +void Unwind_140100ae0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x238)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100af0.c b/decomp/AgentManager_Release_x64/full/functions/0x140100af0.c new file mode 100644 index 00000000..58436a46 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100af0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100af0 Unwind@140100af0 + * Pseudocode, not original source. */ + +void Unwind_140100af0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x238)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100b00.c b/decomp/AgentManager_Release_x64/full/functions/0x140100b00.c new file mode 100644 index 00000000..8973aaee --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100b00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100b00 Unwind@140100b00 + * Pseudocode, not original source. */ + +void Unwind_140100b00(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x50),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100b10.c b/decomp/AgentManager_Release_x64/full/functions/0x140100b10.c new file mode 100644 index 00000000..eb332a11 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100b10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100b10 Unwind@140100b10 + * Pseudocode, not original source. */ + +void Unwind_140100b10(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x238)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100b20.c b/decomp/AgentManager_Release_x64/full/functions/0x140100b20.c new file mode 100644 index 00000000..312af9ff --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100b20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100b20 Unwind@140100b20 + * Pseudocode, not original source. */ + +void Unwind_140100b20(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x88),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100b30.c b/decomp/AgentManager_Release_x64/full/functions/0x140100b30.c new file mode 100644 index 00000000..0038a7cf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100b30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100b30 Unwind@140100b30 + * Pseudocode, not original source. */ + +void Unwind_140100b30(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100b40.c b/decomp/AgentManager_Release_x64/full/functions/0x140100b40.c new file mode 100644 index 00000000..f8b2e65e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100b40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100b40 Unwind@140100b40 + * Pseudocode, not original source. */ + +void Unwind_140100b40(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x1c8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100b50.c b/decomp/AgentManager_Release_x64/full/functions/0x140100b50.c new file mode 100644 index 00000000..464c136a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100b50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100b50 Unwind@140100b50 + * Pseudocode, not original source. */ + +void Unwind_140100b50(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x238)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100b60.c b/decomp/AgentManager_Release_x64/full/functions/0x140100b60.c new file mode 100644 index 00000000..1f267386 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100b60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100b60 Unwind@140100b60 + * Pseudocode, not original source. */ + +void Unwind_140100b60(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x260)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100b70.c b/decomp/AgentManager_Release_x64/full/functions/0x140100b70.c new file mode 100644 index 00000000..9fef53a4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100b70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100b70 Unwind@140100b70 + * Pseudocode, not original source. */ + +void Unwind_140100b70(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x238)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100b80.c b/decomp/AgentManager_Release_x64/full/functions/0x140100b80.c new file mode 100644 index 00000000..0f0291a2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100b80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100b80 Unwind@140100b80 + * Pseudocode, not original source. */ + +void Unwind_140100b80(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x238)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100b90.c b/decomp/AgentManager_Release_x64/full/functions/0x140100b90.c new file mode 100644 index 00000000..30e9baf8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100b90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100b90 Unwind@140100b90 + * Pseudocode, not original source. */ + +void Unwind_140100b90(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x50),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100ba0.c b/decomp/AgentManager_Release_x64/full/functions/0x140100ba0.c new file mode 100644 index 00000000..c443ebaa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100ba0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100ba0 Unwind@140100ba0 + * Pseudocode, not original source. */ + +void Unwind_140100ba0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x238)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100bb0.c b/decomp/AgentManager_Release_x64/full/functions/0x140100bb0.c new file mode 100644 index 00000000..d9c2cedb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100bb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100bb0 Unwind@140100bb0 + * Pseudocode, not original source. */ + +void Unwind_140100bb0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x238)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100bc0.c b/decomp/AgentManager_Release_x64/full/functions/0x140100bc0.c new file mode 100644 index 00000000..83a01f2d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100bc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100bc0 Unwind@140100bc0 + * Pseudocode, not original source. */ + +void Unwind_140100bc0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x88),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100bd0.c b/decomp/AgentManager_Release_x64/full/functions/0x140100bd0.c new file mode 100644 index 00000000..ab336ed6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100bd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100bd0 Unwind@140100bd0 + * Pseudocode, not original source. */ + +void Unwind_140100bd0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100be0.c b/decomp/AgentManager_Release_x64/full/functions/0x140100be0.c new file mode 100644 index 00000000..9f7fda9c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100be0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100be0 Unwind@140100be0 + * Pseudocode, not original source. */ + +void Unwind_140100be0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x1c0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100bf0.c b/decomp/AgentManager_Release_x64/full/functions/0x140100bf0.c new file mode 100644 index 00000000..7d49b278 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100bf0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100bf0 Unwind@140100bf0 + * Pseudocode, not original source. */ + +void Unwind_140100bf0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x238)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100c00.c b/decomp/AgentManager_Release_x64/full/functions/0x140100c00.c new file mode 100644 index 00000000..f74e178d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100c00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100c00 Unwind@140100c00 + * Pseudocode, not original source. */ + +void Unwind_140100c00(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x90)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100c10.c b/decomp/AgentManager_Release_x64/full/functions/0x140100c10.c new file mode 100644 index 00000000..75b56e3d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100c10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100c10 Unwind@140100c10 + * Pseudocode, not original source. */ + +void Unwind_140100c10(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x90)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100c20.c b/decomp/AgentManager_Release_x64/full/functions/0x140100c20.c new file mode 100644 index 00000000..f4bdb477 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100c20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100c20 Unwind@140100c20 + * Pseudocode, not original source. */ + +void Unwind_140100c20(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x90)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100c30.c b/decomp/AgentManager_Release_x64/full/functions/0x140100c30.c new file mode 100644 index 00000000..191cea17 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100c30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100c30 Unwind@140100c30 + * Pseudocode, not original source. */ + +void Unwind_140100c30(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x50),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100c40.c b/decomp/AgentManager_Release_x64/full/functions/0x140100c40.c new file mode 100644 index 00000000..b46debce --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100c40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100c40 Unwind@140100c40 + * Pseudocode, not original source. */ + +void Unwind_140100c40(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x90)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100c50.c b/decomp/AgentManager_Release_x64/full/functions/0x140100c50.c new file mode 100644 index 00000000..b113e345 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100c50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100c50 Unwind@140100c50 + * Pseudocode, not original source. */ + +void Unwind_140100c50(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x90)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100c60.c b/decomp/AgentManager_Release_x64/full/functions/0x140100c60.c new file mode 100644 index 00000000..67a1b763 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100c60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100c60 Unwind@140100c60 + * Pseudocode, not original source. */ + +void Unwind_140100c60(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x50),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100c70.c b/decomp/AgentManager_Release_x64/full/functions/0x140100c70.c new file mode 100644 index 00000000..23ebf80d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100c70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100c70 Unwind@140100c70 + * Pseudocode, not original source. */ + +void Unwind_140100c70(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x88),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100c80.c b/decomp/AgentManager_Release_x64/full/functions/0x140100c80.c new file mode 100644 index 00000000..529b9183 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100c80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100c80 Unwind@140100c80 + * Pseudocode, not original source. */ + +void Unwind_140100c80(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100c90.c b/decomp/AgentManager_Release_x64/full/functions/0x140100c90.c new file mode 100644 index 00000000..5766ceeb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100c90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100c90 Unwind@140100c90 + * Pseudocode, not original source. */ + +void Unwind_140100c90(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x1e8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100ca0.c b/decomp/AgentManager_Release_x64/full/functions/0x140100ca0.c new file mode 100644 index 00000000..2c75d5ad --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100ca0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100ca0 Unwind@140100ca0 + * Pseudocode, not original source. */ + +void Unwind_140100ca0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x260),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100cb0.c b/decomp/AgentManager_Release_x64/full/functions/0x140100cb0.c new file mode 100644 index 00000000..7c3e12f3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100cb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100cb0 Unwind@140100cb0 + * Pseudocode, not original source. */ + +void Unwind_140100cb0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100cc0.c b/decomp/AgentManager_Release_x64/full/functions/0x140100cc0.c new file mode 100644 index 00000000..5f617dc9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100cc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100cc0 Unwind@140100cc0 + * Pseudocode, not original source. */ + +void Unwind_140100cc0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x1d0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100cd0.c b/decomp/AgentManager_Release_x64/full/functions/0x140100cd0.c new file mode 100644 index 00000000..4c762137 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100cd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100cd0 Unwind@140100cd0 + * Pseudocode, not original source. */ + +void Unwind_140100cd0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x260),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100ce0.c b/decomp/AgentManager_Release_x64/full/functions/0x140100ce0.c new file mode 100644 index 00000000..72e8ab4e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100ce0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100ce0 Unwind@140100ce0 + * Pseudocode, not original source. */ + +void Unwind_140100ce0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x50),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100cf0.c b/decomp/AgentManager_Release_x64/full/functions/0x140100cf0.c new file mode 100644 index 00000000..ade83fe1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100cf0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100cf0 Unwind@140100cf0 + * Pseudocode, not original source. */ + +void Unwind_140100cf0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100d00.c b/decomp/AgentManager_Release_x64/full/functions/0x140100d00.c new file mode 100644 index 00000000..62704bb9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100d00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100d00 Unwind@140100d00 + * Pseudocode, not original source. */ + +void Unwind_140100d00(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x1f8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100d10.c b/decomp/AgentManager_Release_x64/full/functions/0x140100d10.c new file mode 100644 index 00000000..08f18960 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100d10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100d10 Unwind@140100d10 + * Pseudocode, not original source. */ + +void Unwind_140100d10(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x260),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100d20.c b/decomp/AgentManager_Release_x64/full/functions/0x140100d20.c new file mode 100644 index 00000000..7e8f5ba7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100d20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100d20 Unwind@140100d20 + * Pseudocode, not original source. */ + +void Unwind_140100d20(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x50),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100d30.c b/decomp/AgentManager_Release_x64/full/functions/0x140100d30.c new file mode 100644 index 00000000..1450e0f9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100d30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100d30 Unwind@140100d30 + * Pseudocode, not original source. */ + +void Unwind_140100d30(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100d40.c b/decomp/AgentManager_Release_x64/full/functions/0x140100d40.c new file mode 100644 index 00000000..a90a3c37 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100d40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100d40 Unwind@140100d40 + * Pseudocode, not original source. */ + +void Unwind_140100d40(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x1e0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100d50.c b/decomp/AgentManager_Release_x64/full/functions/0x140100d50.c new file mode 100644 index 00000000..88a07e6f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100d50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100d50 Unwind@140100d50 + * Pseudocode, not original source. */ + +void Unwind_140100d50(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x260),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100d60.c b/decomp/AgentManager_Release_x64/full/functions/0x140100d60.c new file mode 100644 index 00000000..1a018713 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100d60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100d60 Unwind@140100d60 + * Pseudocode, not original source. */ + +void Unwind_140100d60(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100d70.c b/decomp/AgentManager_Release_x64/full/functions/0x140100d70.c new file mode 100644 index 00000000..190f5b1e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100d70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100d70 Unwind@140100d70 + * Pseudocode, not original source. */ + +void Unwind_140100d70(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x1d8),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100d80.c b/decomp/AgentManager_Release_x64/full/functions/0x140100d80.c new file mode 100644 index 00000000..8b040c6a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100d80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100d80 Unwind@140100d80 + * Pseudocode, not original source. */ + +void Unwind_140100d80(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x260),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100d90.c b/decomp/AgentManager_Release_x64/full/functions/0x140100d90.c new file mode 100644 index 00000000..699affc4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100d90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100d90 Unwind@140100d90 + * Pseudocode, not original source. */ + +void Unwind_140100d90(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100da0.c b/decomp/AgentManager_Release_x64/full/functions/0x140100da0.c new file mode 100644 index 00000000..002a9094 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100da0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100da0 Unwind@140100da0 + * Pseudocode, not original source. */ + +void Unwind_140100da0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x1f0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100db0.c b/decomp/AgentManager_Release_x64/full/functions/0x140100db0.c new file mode 100644 index 00000000..3b1a2c9f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100db0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100db0 Unwind@140100db0 + * Pseudocode, not original source. */ + +void Unwind_140100db0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190(*(longlong **)(param_2 + 0x260),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100dc0.c b/decomp/AgentManager_Release_x64/full/functions/0x140100dc0.c new file mode 100644 index 00000000..73da019f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100dc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100dc0 Unwind@140100dc0 + * Pseudocode, not original source. */ + +void Unwind_140100dc0(undefined8 param_1,longlong param_2) + +{ + FUN_14001e660((undefined8 *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100dd0.c b/decomp/AgentManager_Release_x64/full/functions/0x140100dd0.c new file mode 100644 index 00000000..d3d83d6a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100dd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100dd0 Unwind@140100dd0 + * Pseudocode, not original source. */ + +void Unwind_140100dd0(undefined8 param_1,longlong param_2) + +{ + FUN_14001e660((undefined8 *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100de0.c b/decomp/AgentManager_Release_x64/full/functions/0x140100de0.c new file mode 100644 index 00000000..29c8579a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100de0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100de0 Unwind@140100de0 + * Pseudocode, not original source. */ + +void Unwind_140100de0(undefined8 param_1,longlong param_2) + +{ + FUN_14001e660((undefined8 *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100df0.c b/decomp/AgentManager_Release_x64/full/functions/0x140100df0.c new file mode 100644 index 00000000..c5de83a8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100df0.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100df0 Unwind@140100df0 + * Pseudocode, not original source. */ + +void Unwind_140100df0(undefined8 param_1,longlong param_2) + +{ + /* WARNING: Could not recover jumptable at 0x000140100df7. Too many branches */ + /* WARNING: Treating indirect jump as call */ + operator_delete(*(void **)(param_2 + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100e00.c b/decomp/AgentManager_Release_x64/full/functions/0x140100e00.c new file mode 100644 index 00000000..2a0a9d7e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100e00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100e00 Unwind@140100e00 + * Pseudocode, not original source. */ + +void Unwind_140100e00(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14001ec20(*(undefined8 **)(param_2 + 0x60),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100e10.c b/decomp/AgentManager_Release_x64/full/functions/0x140100e10.c new file mode 100644 index 00000000..06c2dff1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100e10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100e10 Unwind@140100e10 + * Pseudocode, not original source. */ + +void Unwind_140100e10(undefined8 param_1,longlong param_2) + +{ + FUN_14001c5b0((undefined8 *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100e20.c b/decomp/AgentManager_Release_x64/full/functions/0x140100e20.c new file mode 100644 index 00000000..c6598f9a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100e20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100e20 Unwind@140100e20 + * Pseudocode, not original source. */ + +void Unwind_140100e20(undefined8 param_1,longlong param_2) + +{ + FUN_14001c5b0((undefined8 *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100e30.c b/decomp/AgentManager_Release_x64/full/functions/0x140100e30.c new file mode 100644 index 00000000..835d745d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100e30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100e30 Unwind@140100e30 + * Pseudocode, not original source. */ + +void Unwind_140100e30(undefined8 param_1,longlong param_2) + +{ + FUN_14001c5b0((undefined8 *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100e40.c b/decomp/AgentManager_Release_x64/full/functions/0x140100e40.c new file mode 100644 index 00000000..4c7f4277 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100e40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100e40 Unwind@140100e40 + * Pseudocode, not original source. */ + +void Unwind_140100e40(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0(*(undefined8 **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100e50.c b/decomp/AgentManager_Release_x64/full/functions/0x140100e50.c new file mode 100644 index 00000000..80a8d80c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100e50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100e50 Unwind@140100e50 + * Pseudocode, not original source. */ + +void Unwind_140100e50(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100e60.c b/decomp/AgentManager_Release_x64/full/functions/0x140100e60.c new file mode 100644 index 00000000..3504ee24 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100e60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100e60 Unwind@140100e60 + * Pseudocode, not original source. */ + +void Unwind_140100e60(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100e70.c b/decomp/AgentManager_Release_x64/full/functions/0x140100e70.c new file mode 100644 index 00000000..fe63696f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100e70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100e70 Unwind@140100e70 + * Pseudocode, not original source. */ + +void Unwind_140100e70(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x78)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100e80.c b/decomp/AgentManager_Release_x64/full/functions/0x140100e80.c new file mode 100644 index 00000000..c593567d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100e80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100e80 Unwind@140100e80 + * Pseudocode, not original source. */ + +void Unwind_140100e80(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0xa0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100ea0.c b/decomp/AgentManager_Release_x64/full/functions/0x140100ea0.c new file mode 100644 index 00000000..1ef22fd8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100ea0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100ea0 Unwind@140100ea0 + * Pseudocode, not original source. */ + +void Unwind_140100ea0(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(*(longlong *)(param_2 + 0x40) + 200)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100ec0.c b/decomp/AgentManager_Release_x64/full/functions/0x140100ec0.c new file mode 100644 index 00000000..87967c4f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100ec0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100ec0 Unwind@140100ec0 + * Pseudocode, not original source. */ + +void Unwind_140100ec0(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0xf0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100ee0.c b/decomp/AgentManager_Release_x64/full/functions/0x140100ee0.c new file mode 100644 index 00000000..fb433e5c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100ee0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100ee0 Unwind@140100ee0 + * Pseudocode, not original source. */ + +void Unwind_140100ee0(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x118)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100f00.c b/decomp/AgentManager_Release_x64/full/functions/0x140100f00.c new file mode 100644 index 00000000..5d7b1986 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100f00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100f00 Unwind@140100f00 + * Pseudocode, not original source. */ + +void Unwind_140100f00(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x140)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100f20.c b/decomp/AgentManager_Release_x64/full/functions/0x140100f20.c new file mode 100644 index 00000000..f8b134f9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100f20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100f20 Unwind@140100f20 + * Pseudocode, not original source. */ + +void Unwind_140100f20(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100f40.c b/decomp/AgentManager_Release_x64/full/functions/0x140100f40.c new file mode 100644 index 00000000..065c0483 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100f40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100f40 Unwind@140100f40 + * Pseudocode, not original source. */ + +void Unwind_140100f40(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0(*(undefined8 **)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100f50.c b/decomp/AgentManager_Release_x64/full/functions/0x140100f50.c new file mode 100644 index 00000000..84255704 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100f50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100f50 Unwind@140100f50 + * Pseudocode, not original source. */ + +void Unwind_140100f50(undefined8 param_1,longlong param_2) + +{ + FUN_1400103c0((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100f60.c b/decomp/AgentManager_Release_x64/full/functions/0x140100f60.c new file mode 100644 index 00000000..3792f818 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100f60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100f60 Unwind@140100f60 + * Pseudocode, not original source. */ + +void Unwind_140100f60(undefined8 param_1,longlong param_2) + +{ + FUN_140010b10(param_2 + 0x28); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100f70.c b/decomp/AgentManager_Release_x64/full/functions/0x140100f70.c new file mode 100644 index 00000000..b4ca49dd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100f70.c @@ -0,0 +1,20 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100f70 Catch_All@140100f70 + * Pseudocode, not original source. */ + +void Catch_All_140100f70(undefined8 param_1,longlong param_2) + +{ + undefined8 *puVar1; + + puVar1 = *(undefined8 **)(param_2 + 0x40); + if (0xf < (ulonglong)puVar1[3]) { + operator_delete((void *)*puVar1); + } + puVar1[3] = 0xf; + puVar1[2] = 0; + *(undefined1 *)puVar1 = 0; + /* WARNING: Subroutine does not return */ + _CxxThrowException((void *)0x0,(ThrowInfo *)0x0); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100fb0.c b/decomp/AgentManager_Release_x64/full/functions/0x140100fb0.c new file mode 100644 index 00000000..393c4f71 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100fb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100fb0 Unwind@140100fb0 + * Pseudocode, not original source. */ + +void Unwind_140100fb0(undefined8 param_1,longlong param_2) + +{ + FUN_1400075b0((longlong *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100fc0.c b/decomp/AgentManager_Release_x64/full/functions/0x140100fc0.c new file mode 100644 index 00000000..4456c58a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100fc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100fc0 Unwind@140100fc0 + * Pseudocode, not original source. */ + +void Unwind_140100fc0(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100fd0.c b/decomp/AgentManager_Release_x64/full/functions/0x140100fd0.c new file mode 100644 index 00000000..c8bf798a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100fd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100fd0 Unwind@140100fd0 + * Pseudocode, not original source. */ + +void Unwind_140100fd0(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100fe0.c b/decomp/AgentManager_Release_x64/full/functions/0x140100fe0.c new file mode 100644 index 00000000..29fa6456 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100fe0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100fe0 Unwind@140100fe0 + * Pseudocode, not original source. */ + +void Unwind_140100fe0(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140100ff0.c b/decomp/AgentManager_Release_x64/full/functions/0x140100ff0.c new file mode 100644 index 00000000..a23ea667 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140100ff0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140100ff0 Unwind@140100ff0 + * Pseudocode, not original source. */ + +void Unwind_140100ff0(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101000.c b/decomp/AgentManager_Release_x64/full/functions/0x140101000.c new file mode 100644 index 00000000..32117b8e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101000.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101000 Unwind@140101000 + * Pseudocode, not original source. */ + +void Unwind_140101000(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101010.c b/decomp/AgentManager_Release_x64/full/functions/0x140101010.c new file mode 100644 index 00000000..66111ce2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101010.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101010 Unwind@140101010 + * Pseudocode, not original source. */ + +void Unwind_140101010(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101020.c b/decomp/AgentManager_Release_x64/full/functions/0x140101020.c new file mode 100644 index 00000000..3a17518e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101020.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101020 Unwind@140101020 + * Pseudocode, not original source. */ + +void Unwind_140101020(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101030.c b/decomp/AgentManager_Release_x64/full/functions/0x140101030.c new file mode 100644 index 00000000..3ddeb837 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101030.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101030 Unwind@140101030 + * Pseudocode, not original source. */ + +void Unwind_140101030(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101040.c b/decomp/AgentManager_Release_x64/full/functions/0x140101040.c new file mode 100644 index 00000000..9d30f527 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101040.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101040 Unwind@140101040 + * Pseudocode, not original source. */ + +void Unwind_140101040(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101050.c b/decomp/AgentManager_Release_x64/full/functions/0x140101050.c new file mode 100644 index 00000000..679c6555 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101050.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101050 Unwind@140101050 + * Pseudocode, not original source. */ + +void Unwind_140101050(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101060.c b/decomp/AgentManager_Release_x64/full/functions/0x140101060.c new file mode 100644 index 00000000..cb4fa50d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101060.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101060 Unwind@140101060 + * Pseudocode, not original source. */ + +void Unwind_140101060(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101070.c b/decomp/AgentManager_Release_x64/full/functions/0x140101070.c new file mode 100644 index 00000000..c7b26820 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101070.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101070 Unwind@140101070 + * Pseudocode, not original source. */ + +void Unwind_140101070(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101080.c b/decomp/AgentManager_Release_x64/full/functions/0x140101080.c new file mode 100644 index 00000000..7f7bfe5d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101080.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101080 Catch@140101080 + * Pseudocode, not original source. */ + +undefined8 Catch_140101080(undefined8 param_1,longlong param_2) + +{ + wprintf(L"[%s] \n"); + (**(code **)(**(longlong **)(param_2 + 0x28) + 8))(); + printf("Error : %s \n"); + return 0x14000b949; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401010d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401010d0.c new file mode 100644 index 00000000..cdc85984 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401010d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401010d0 Unwind@1401010d0 + * Pseudocode, not original source. */ + +void Unwind_1401010d0(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401010e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401010e0.c new file mode 100644 index 00000000..76f7a488 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401010e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401010e0 Unwind@1401010e0 + * Pseudocode, not original source. */ + +void Unwind_1401010e0(undefined8 param_1,longlong param_2) + +{ + FUN_1400075b0((longlong *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401010f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401010f0.c new file mode 100644 index 00000000..3da43b76 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401010f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401010f0 Unwind@1401010f0 + * Pseudocode, not original source. */ + +void Unwind_1401010f0(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101100.c b/decomp/AgentManager_Release_x64/full/functions/0x140101100.c new file mode 100644 index 00000000..a8b90ddc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101100.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101100 Unwind@140101100 + * Pseudocode, not original source. */ + +void Unwind_140101100(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101110.c b/decomp/AgentManager_Release_x64/full/functions/0x140101110.c new file mode 100644 index 00000000..16b51c61 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101110.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101110 Unwind@140101110 + * Pseudocode, not original source. */ + +void Unwind_140101110(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101120.c b/decomp/AgentManager_Release_x64/full/functions/0x140101120.c new file mode 100644 index 00000000..15119bf3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101120.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101120 Unwind@140101120 + * Pseudocode, not original source. */ + +void Unwind_140101120(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101130.c b/decomp/AgentManager_Release_x64/full/functions/0x140101130.c new file mode 100644 index 00000000..d8cf784d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101130.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101130 Unwind@140101130 + * Pseudocode, not original source. */ + +void Unwind_140101130(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101140.c b/decomp/AgentManager_Release_x64/full/functions/0x140101140.c new file mode 100644 index 00000000..96729060 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101140.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101140 Unwind@140101140 + * Pseudocode, not original source. */ + +void Unwind_140101140(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101150.c b/decomp/AgentManager_Release_x64/full/functions/0x140101150.c new file mode 100644 index 00000000..e063b784 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101150.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101150 Unwind@140101150 + * Pseudocode, not original source. */ + +void Unwind_140101150(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101160.c b/decomp/AgentManager_Release_x64/full/functions/0x140101160.c new file mode 100644 index 00000000..47a44426 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101160.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101160 Unwind@140101160 + * Pseudocode, not original source. */ + +void Unwind_140101160(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101170.c b/decomp/AgentManager_Release_x64/full/functions/0x140101170.c new file mode 100644 index 00000000..fe0119b3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101170.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101170 Unwind@140101170 + * Pseudocode, not original source. */ + +void Unwind_140101170(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101180.c b/decomp/AgentManager_Release_x64/full/functions/0x140101180.c new file mode 100644 index 00000000..7cac0b95 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101180.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101180 Unwind@140101180 + * Pseudocode, not original source. */ + +void Unwind_140101180(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101190.c b/decomp/AgentManager_Release_x64/full/functions/0x140101190.c new file mode 100644 index 00000000..6fdb6021 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101190.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101190 Unwind@140101190 + * Pseudocode, not original source. */ + +void Unwind_140101190(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401011a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401011a0.c new file mode 100644 index 00000000..026cf7f9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401011a0.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401011a0 Catch@1401011a0 + * Pseudocode, not original source. */ + +undefined8 Catch_1401011a0(undefined8 param_1,longlong param_2) + +{ + wprintf(L"[%s] \n"); + (**(code **)(**(longlong **)(param_2 + 0x28) + 8))(); + printf("Error : %s \n"); + return 0x14000b192; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401011f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401011f0.c new file mode 100644 index 00000000..75707095 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401011f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401011f0 Unwind@1401011f0 + * Pseudocode, not original source. */ + +void Unwind_1401011f0(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101200.c b/decomp/AgentManager_Release_x64/full/functions/0x140101200.c new file mode 100644 index 00000000..f460384c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101200.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101200 Unwind@140101200 + * Pseudocode, not original source. */ + +void Unwind_140101200(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x28); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101210.c b/decomp/AgentManager_Release_x64/full/functions/0x140101210.c new file mode 100644 index 00000000..04aa8a70 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101210.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101210 Unwind@140101210 + * Pseudocode, not original source. */ + +void Unwind_140101210(undefined8 param_1,longlong param_2) + +{ + FUN_14000ad60((undefined8 *)(param_2 + 0x70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101220.c b/decomp/AgentManager_Release_x64/full/functions/0x140101220.c new file mode 100644 index 00000000..77393f7c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101220.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101220 Unwind@140101220 + * Pseudocode, not original source. */ + +void Unwind_140101220(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101240.c b/decomp/AgentManager_Release_x64/full/functions/0x140101240.c new file mode 100644 index 00000000..7e043586 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101240.c @@ -0,0 +1,23 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101240 Catch_All@140101240 + * Pseudocode, not original source. */ + +void Catch_All_140101240(undefined8 param_1,longlong param_2) + +{ + undefined8 *puVar1; + undefined8 *puVar2; + + puVar1 = *(undefined8 **)(param_2 + 0x60); + for (puVar2 = *(undefined8 **)(param_2 + 0x50); puVar2 != puVar1; puVar2 = puVar2 + 5) { + if (7 < (ulonglong)puVar2[3]) { + operator_delete((void *)*puVar2); + } + puVar2[3] = 7; + puVar2[2] = 0; + *(undefined2 *)puVar2 = 0; + } + /* WARNING: Subroutine does not return */ + _CxxThrowException((void *)0x0,(ThrowInfo *)0x0); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401012a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401012a0.c new file mode 100644 index 00000000..c75e7a44 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401012a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401012a0 Unwind@1401012a0 + * Pseudocode, not original source. */ + +void Unwind_1401012a0(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401012c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401012c0.c new file mode 100644 index 00000000..0c7ae28e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401012c0.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401012c0 Catch_All@1401012c0 + * Pseudocode, not original source. */ + +void Catch_All_1401012c0(undefined8 param_1,longlong param_2) + +{ + longlong lVar1; + longlong lVar2; + + lVar1 = *(longlong *)(param_2 + 0x60); + for (lVar2 = *(longlong *)(param_2 + 0x68); lVar2 != lVar1; lVar2 = lVar2 + 0xa0) { + FUN_140004e90(lVar2); + } + /* WARNING: Subroutine does not return */ + _CxxThrowException((void *)0x0,(ThrowInfo *)0x0); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101300.c b/decomp/AgentManager_Release_x64/full/functions/0x140101300.c new file mode 100644 index 00000000..4e13302a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101300.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101300 Catch_All@140101300 + * Pseudocode, not original source. */ + +void Catch_All_140101300(undefined8 param_1,longlong param_2) + +{ + operator_delete(*(void **)(param_2 + 0x58)); + /* WARNING: Subroutine does not return */ + _CxxThrowException((void *)0x0,(ThrowInfo *)0x0); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101330.c b/decomp/AgentManager_Release_x64/full/functions/0x140101330.c new file mode 100644 index 00000000..99af4654 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101330.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101330 Catch_All@140101330 + * Pseudocode, not original source. */ + +void Catch_All_140101330(undefined8 param_1,longlong param_2) + +{ + FUN_14000a140(*(undefined8 **)(param_2 + 0x40)); + /* WARNING: Subroutine does not return */ + _CxxThrowException((void *)0x0,(ThrowInfo *)0x0); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101360.c b/decomp/AgentManager_Release_x64/full/functions/0x140101360.c new file mode 100644 index 00000000..4c7efa11 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101360.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101360 Unwind@140101360 + * Pseudocode, not original source. */ + +void Unwind_140101360(undefined8 param_1,longlong param_2) + +{ + FUN_140001550((undefined8 *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101370.c b/decomp/AgentManager_Release_x64/full/functions/0x140101370.c new file mode 100644 index 00000000..59202ed7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101370.c @@ -0,0 +1,10 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101370 Catch@140101370 + * Pseudocode, not original source. */ + +undefined1 * Catch_140101370(void) + +{ + return &LAB_1400076d1; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101390.c b/decomp/AgentManager_Release_x64/full/functions/0x140101390.c new file mode 100644 index 00000000..e74bbea3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101390.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101390 Unwind@140101390 + * Pseudocode, not original source. */ + +void Unwind_140101390(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401013a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401013a0.c new file mode 100644 index 00000000..53bf0111 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401013a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401013a0 Unwind@1401013a0 + * Pseudocode, not original source. */ + +void Unwind_1401013a0(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401013c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401013c0.c new file mode 100644 index 00000000..f92f7b9d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401013c0.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401013c0 Catch_All@1401013c0 + * Pseudocode, not original source. */ + +void Catch_All_1401013c0(undefined8 param_1,longlong param_2) + +{ + longlong lVar1; + longlong lVar2; + + lVar1 = *(longlong *)(param_2 + 0x70); + for (lVar2 = *(longlong *)(param_2 + 0x78); lVar2 != lVar1; lVar2 = lVar2 + 0x30) { + FUN_140009720(lVar2); + } + /* WARNING: Subroutine does not return */ + _CxxThrowException((void *)0x0,(ThrowInfo *)0x0); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101400.c b/decomp/AgentManager_Release_x64/full/functions/0x140101400.c new file mode 100644 index 00000000..07d59ecb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101400.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101400 Catch_All@140101400 + * Pseudocode, not original source. */ + +void Catch_All_140101400(undefined8 param_1,longlong param_2) + +{ + FUN_14000a2d0(*(longlong **)(param_2 + 0x40)); + /* WARNING: Subroutine does not return */ + _CxxThrowException((void *)0x0,(ThrowInfo *)0x0); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101430.c b/decomp/AgentManager_Release_x64/full/functions/0x140101430.c new file mode 100644 index 00000000..7d3e093b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101430.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101430 Unwind@140101430 + * Pseudocode, not original source. */ + +void Unwind_140101430(undefined8 param_1,longlong param_2) + +{ + FUN_140037090(param_2 + 0x28); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101440.c b/decomp/AgentManager_Release_x64/full/functions/0x140101440.c new file mode 100644 index 00000000..7dc705fa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101440.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101440 Unwind@140101440 + * Pseudocode, not original source. */ + +void Unwind_140101440(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101460.c b/decomp/AgentManager_Release_x64/full/functions/0x140101460.c new file mode 100644 index 00000000..8bae7b3d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101460.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101460 Unwind@140101460 + * Pseudocode, not original source. */ + +void Unwind_140101460(undefined8 param_1,longlong param_2) + +{ + FUN_140001550((undefined8 *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101470.c b/decomp/AgentManager_Release_x64/full/functions/0x140101470.c new file mode 100644 index 00000000..6603964d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101470.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101470 Unwind@140101470 + * Pseudocode, not original source. */ + +void Unwind_140101470(undefined8 param_1,longlong param_2) + +{ + FUN_140001550((undefined8 *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101480.c b/decomp/AgentManager_Release_x64/full/functions/0x140101480.c new file mode 100644 index 00000000..e6de41e2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101480.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101480 Unwind@140101480 + * Pseudocode, not original source. */ + +void Unwind_140101480(undefined8 param_1,longlong param_2) + +{ + FUN_140001550((undefined8 *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101490.c b/decomp/AgentManager_Release_x64/full/functions/0x140101490.c new file mode 100644 index 00000000..fa2f8a81 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101490.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101490 Unwind@140101490 + * Pseudocode, not original source. */ + +void Unwind_140101490(undefined8 param_1,longlong param_2) + +{ + if ((*(uint *)(param_2 + 0x20) & 1) != 0) { + *(uint *)(param_2 + 0x20) = *(uint *)(param_2 + 0x20) & 0xfffffffe; + std::basic_ios_>:: + ~basic_ios_> + ((basic_ios_> *)(param_2 + 0xb8)); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401014c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401014c0.c new file mode 100644 index 00000000..a62a875f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401014c0.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401014c0 Unwind@1401014c0 + * Pseudocode, not original source. */ + +void Unwind_1401014c0(undefined8 param_1,longlong param_2) + +{ + /* WARNING: Could not recover jumptable at 0x0001401014cb. Too many branches */ + /* WARNING: Treating indirect jump as call */ + std::basic_ostream_>:: + ~basic_ostream_> + ((basic_ostream_> *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401014e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401014e0.c new file mode 100644 index 00000000..67b50583 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401014e0.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401014e0 Unwind@1401014e0 + * Pseudocode, not original source. */ + +void Unwind_1401014e0(undefined8 param_1,longlong param_2) + +{ + /* WARNING: Could not recover jumptable at 0x0001401014e7. Too many branches */ + /* WARNING: Treating indirect jump as call */ + std::basic_streambuf_>:: + ~basic_streambuf_> + (*(basic_streambuf_> **)(param_2 + 0x148)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401014f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401014f0.c new file mode 100644 index 00000000..da0d7ca9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401014f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401014f0 Unwind@1401014f0 + * Pseudocode, not original source. */ + +void Unwind_1401014f0(undefined8 param_1,longlong param_2) + +{ + FUN_140033fc0(param_2 + 0x30); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101500.c b/decomp/AgentManager_Release_x64/full/functions/0x140101500.c new file mode 100644 index 00000000..f2712bb4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101500.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101500 Unwind@140101500 + * Pseudocode, not original source. */ + +void Unwind_140101500(undefined8 param_1,longlong param_2) + +{ + FUN_140001550((undefined8 *)(param_2 + 0x120)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101510.c b/decomp/AgentManager_Release_x64/full/functions/0x140101510.c new file mode 100644 index 00000000..c5945432 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101510.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101510 Unwind@140101510 + * Pseudocode, not original source. */ + +void Unwind_140101510(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101530.c b/decomp/AgentManager_Release_x64/full/functions/0x140101530.c new file mode 100644 index 00000000..d68bff14 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101530.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101530 Catch_All@140101530 + * Pseudocode, not original source. */ + +void Catch_All_140101530(undefined8 param_1,longlong param_2) + +{ + undefined8 *puVar1; + undefined8 *puVar2; + + puVar1 = *(undefined8 **)(param_2 + 0x60); + for (puVar2 = *(undefined8 **)(param_2 + 0x50); puVar2 != puVar1; puVar2 = puVar2 + 0x36) { + FUN_14001c7b0(puVar2); + } + /* WARNING: Subroutine does not return */ + _CxxThrowException((void *)0x0,(ThrowInfo *)0x0); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101570.c b/decomp/AgentManager_Release_x64/full/functions/0x140101570.c new file mode 100644 index 00000000..5346b617 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101570.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101570 Catch_All@140101570 + * Pseudocode, not original source. */ + +void Catch_All_140101570(undefined8 param_1,longlong param_2) + +{ + operator_delete(*(void **)(param_2 + 0x68)); + /* WARNING: Subroutine does not return */ + _CxxThrowException((void *)0x0,(ThrowInfo *)0x0); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401015a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401015a0.c new file mode 100644 index 00000000..379216fc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401015a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401015a0 Unwind@1401015a0 + * Pseudocode, not original source. */ + +void Unwind_1401015a0(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401015c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401015c0.c new file mode 100644 index 00000000..d753974f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401015c0.c @@ -0,0 +1,23 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401015c0 Catch_All@1401015c0 + * Pseudocode, not original source. */ + +void Catch_All_1401015c0(undefined8 param_1,longlong param_2) + +{ + undefined8 *puVar1; + undefined8 *puVar2; + + puVar1 = *(undefined8 **)(param_2 + 0x50); + for (puVar2 = *(undefined8 **)(param_2 + 0x40); puVar2 != puVar1; puVar2 = puVar2 + 4) { + if ((void *)*puVar2 != (void *)0x0) { + operator_delete((void *)*puVar2); + } + *puVar2 = 0; + puVar2[1] = 0; + puVar2[2] = 0; + } + /* WARNING: Subroutine does not return */ + _CxxThrowException((void *)0x0,(ThrowInfo *)0x0); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101620.c b/decomp/AgentManager_Release_x64/full/functions/0x140101620.c new file mode 100644 index 00000000..3d7d9f95 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101620.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101620 Unwind@140101620 + * Pseudocode, not original source. */ + +void Unwind_140101620(undefined8 param_1,longlong param_2) + +{ + FUN_140010b10(param_2 + 0x30); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101630.c b/decomp/AgentManager_Release_x64/full/functions/0x140101630.c new file mode 100644 index 00000000..26797e7e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101630.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101630 Unwind@140101630 + * Pseudocode, not original source. */ + +void Unwind_140101630(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101650.c b/decomp/AgentManager_Release_x64/full/functions/0x140101650.c new file mode 100644 index 00000000..cac845d7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101650.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101650 Unwind@140101650 + * Pseudocode, not original source. */ + +void Unwind_140101650(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0(*(undefined8 **)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101660.c b/decomp/AgentManager_Release_x64/full/functions/0x140101660.c new file mode 100644 index 00000000..36b44459 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101660.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101660 Unwind@140101660 + * Pseudocode, not original source. */ + +void Unwind_140101660(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101680.c b/decomp/AgentManager_Release_x64/full/functions/0x140101680.c new file mode 100644 index 00000000..0bad20af --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101680.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101680 Unwind@140101680 + * Pseudocode, not original source. */ + +void Unwind_140101680(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0(*(undefined8 **)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101690.c b/decomp/AgentManager_Release_x64/full/functions/0x140101690.c new file mode 100644 index 00000000..df11a442 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101690.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101690 Catch_All@140101690 + * Pseudocode, not original source. */ + +void Catch_All_140101690(undefined8 param_1,longlong param_2) + +{ + operator_delete(*(void **)(param_2 + 0x58)); + /* WARNING: Subroutine does not return */ + _CxxThrowException((void *)0x0,(ThrowInfo *)0x0); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401016c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401016c0.c new file mode 100644 index 00000000..2489e9b6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401016c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401016c0 Unwind@1401016c0 + * Pseudocode, not original source. */ + +void Unwind_1401016c0(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401016e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401016e0.c new file mode 100644 index 00000000..525fd64e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401016e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401016e0 Unwind@1401016e0 + * Pseudocode, not original source. */ + +void Unwind_1401016e0(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101700.c b/decomp/AgentManager_Release_x64/full/functions/0x140101700.c new file mode 100644 index 00000000..01a5f1d2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101700.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101700 Unwind@140101700 + * Pseudocode, not original source. */ + +void Unwind_140101700(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101720.c b/decomp/AgentManager_Release_x64/full/functions/0x140101720.c new file mode 100644 index 00000000..ea244958 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101720.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101720 Catch_All@140101720 + * Pseudocode, not original source. */ + +void Catch_All_140101720(undefined8 param_1,longlong param_2) + +{ + undefined8 *puVar1; + undefined8 *puVar2; + + puVar1 = *(undefined8 **)(param_2 + 0x60); + for (puVar2 = *(undefined8 **)(param_2 + 0x50); puVar2 != puVar1; puVar2 = puVar2 + 5) { + FUN_140010bd0(puVar2); + } + /* WARNING: Subroutine does not return */ + _CxxThrowException((void *)0x0,(ThrowInfo *)0x0); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101760.c b/decomp/AgentManager_Release_x64/full/functions/0x140101760.c new file mode 100644 index 00000000..9e53cd91 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101760.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101760 Unwind@140101760 + * Pseudocode, not original source. */ + +void Unwind_140101760(undefined8 param_1,longlong param_2) + +{ + FUN_140010b10(param_2 + 0x38); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101770.c b/decomp/AgentManager_Release_x64/full/functions/0x140101770.c new file mode 100644 index 00000000..2bd8eb53 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101770.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101770 Unwind@140101770 + * Pseudocode, not original source. */ + +void Unwind_140101770(undefined8 param_1,longlong param_2) + +{ + if ((*(uint *)(param_2 + 0x58) & 1) != 0) { + *(uint *)(param_2 + 0x58) = *(uint *)(param_2 + 0x58) & 0xfffffffe; + FUN_140010bd0(*(undefined8 **)(param_2 + 0x50)); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401017a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401017a0.c new file mode 100644 index 00000000..5e8ae0b9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401017a0.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401017a0 Unwind@1401017a0 + * Pseudocode, not original source. */ + +void Unwind_1401017a0(undefined8 param_1,longlong param_2) + +{ + if ((*(uint *)(param_2 + 0x48) & 1) != 0) { + *(uint *)(param_2 + 0x48) = *(uint *)(param_2 + 0x48) & 0xfffffffe; + FUN_140010bd0(*(undefined8 **)(param_2 + 0x40)); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401017d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401017d0.c new file mode 100644 index 00000000..bad9a807 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401017d0.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401017d0 Catch_All@1401017d0 + * Pseudocode, not original source. */ + +void Catch_All_1401017d0(undefined8 param_1,longlong param_2) + +{ + operator_delete(*(void **)(param_2 + 0x58)); + /* WARNING: Subroutine does not return */ + _CxxThrowException((void *)0x0,(ThrowInfo *)0x0); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101800.c b/decomp/AgentManager_Release_x64/full/functions/0x140101800.c new file mode 100644 index 00000000..1c8deda7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101800.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101800 Unwind@140101800 + * Pseudocode, not original source. */ + +void Unwind_140101800(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101810.c b/decomp/AgentManager_Release_x64/full/functions/0x140101810.c new file mode 100644 index 00000000..42d78cf7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101810.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101810 Unwind@140101810 + * Pseudocode, not original source. */ + +void Unwind_140101810(undefined8 param_1,longlong param_2) + +{ + FUN_14000ad30((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101820.c b/decomp/AgentManager_Release_x64/full/functions/0x140101820.c new file mode 100644 index 00000000..bb98626c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101820.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101820 Unwind@140101820 + * Pseudocode, not original source. */ + +void Unwind_140101820(undefined8 param_1,longlong param_2) + +{ + FUN_1400075b0((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101830.c b/decomp/AgentManager_Release_x64/full/functions/0x140101830.c new file mode 100644 index 00000000..b847dee1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101830.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101830 Unwind@140101830 + * Pseudocode, not original source. */ + +void Unwind_140101830(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_14000a240((undefined8 *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101840.c b/decomp/AgentManager_Release_x64/full/functions/0x140101840.c new file mode 100644 index 00000000..bfccf97f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101840.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101840 Unwind@140101840 + * Pseudocode, not original source. */ + +void Unwind_140101840(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0xf0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101850.c b/decomp/AgentManager_Release_x64/full/functions/0x140101850.c new file mode 100644 index 00000000..145d63d3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101850.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101850 Unwind@140101850 + * Pseudocode, not original source. */ + +void Unwind_140101850(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x50),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101860.c b/decomp/AgentManager_Release_x64/full/functions/0x140101860.c new file mode 100644 index 00000000..2b5892d8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101860.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101860 Unwind@140101860 + * Pseudocode, not original source. */ + +void Unwind_140101860(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xb0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101870.c b/decomp/AgentManager_Release_x64/full/functions/0x140101870.c new file mode 100644 index 00000000..b867a84d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101870.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101870 Unwind@140101870 + * Pseudocode, not original source. */ + +void Unwind_140101870(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xa0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101880.c b/decomp/AgentManager_Release_x64/full/functions/0x140101880.c new file mode 100644 index 00000000..26fc1053 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101880.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101880 Unwind@140101880 + * Pseudocode, not original source. */ + +void Unwind_140101880(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x78),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101890.c b/decomp/AgentManager_Release_x64/full/functions/0x140101890.c new file mode 100644 index 00000000..538a4073 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101890.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101890 Unwind@140101890 + * Pseudocode, not original source. */ + +void Unwind_140101890(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xc0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401018a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401018a0.c new file mode 100644 index 00000000..345f90af --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401018a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401018a0 Unwind@1401018a0 + * Pseudocode, not original source. */ + +void Unwind_1401018a0(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0xd0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401018b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401018b0.c new file mode 100644 index 00000000..8c2409ca --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401018b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401018b0 Unwind@1401018b0 + * Pseudocode, not original source. */ + +void Unwind_1401018b0(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x38); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401018c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401018c0.c new file mode 100644 index 00000000..2103b58f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401018c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401018c0 Unwind@1401018c0 + * Pseudocode, not original source. */ + +void Unwind_1401018c0(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0xd0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401018d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401018d0.c new file mode 100644 index 00000000..c7cdeb90 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401018d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401018d0 Unwind@1401018d0 + * Pseudocode, not original source. */ + +void Unwind_1401018d0(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x38); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401018e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401018e0.c new file mode 100644 index 00000000..2345abd3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401018e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401018e0 Unwind@1401018e0 + * Pseudocode, not original source. */ + +void Unwind_1401018e0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x340)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401018f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401018f0.c new file mode 100644 index 00000000..b50ada54 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401018f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401018f0 Unwind@1401018f0 + * Pseudocode, not original source. */ + +void Unwind_1401018f0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x80)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101900.c b/decomp/AgentManager_Release_x64/full/functions/0x140101900.c new file mode 100644 index 00000000..cf575695 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101900.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101900 Unwind@140101900 + * Pseudocode, not original source. */ + +void Unwind_140101900(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x90)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101910.c b/decomp/AgentManager_Release_x64/full/functions/0x140101910.c new file mode 100644 index 00000000..c730a065 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101910.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101910 Unwind@140101910 + * Pseudocode, not original source. */ + +void Unwind_140101910(undefined8 param_1,longlong param_2) + +{ + FUN_1400075b0((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101920.c b/decomp/AgentManager_Release_x64/full/functions/0x140101920.c new file mode 100644 index 00000000..11604b7a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101920.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101920 Unwind@140101920 + * Pseudocode, not original source. */ + +void Unwind_140101920(undefined8 param_1,longlong param_2) + +{ + FUN_140023550((undefined8 *)(param_2 + 0x88)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101930.c b/decomp/AgentManager_Release_x64/full/functions/0x140101930.c new file mode 100644 index 00000000..22cad366 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101930.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101930 Unwind@140101930 + * Pseudocode, not original source. */ + +void Unwind_140101930(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101940.c b/decomp/AgentManager_Release_x64/full/functions/0x140101940.c new file mode 100644 index 00000000..696eba6e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101940.c @@ -0,0 +1,20 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101940 Catch_All@140101940 + * Pseudocode, not original source. */ + +void Catch_All_140101940(undefined8 param_1,longlong param_2) + +{ + undefined8 *puVar1; + + puVar1 = *(undefined8 **)(param_2 + 0x40); + if ((void *)*puVar1 != (void *)0x0) { + operator_delete((void *)*puVar1); + } + *puVar1 = 0; + puVar1[1] = 0; + puVar1[2] = 0; + /* WARNING: Subroutine does not return */ + _CxxThrowException((void *)0x0,(ThrowInfo *)0x0); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101990.c b/decomp/AgentManager_Release_x64/full/functions/0x140101990.c new file mode 100644 index 00000000..c93f86f4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101990.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101990 Unwind@140101990 + * Pseudocode, not original source. */ + +void Unwind_140101990(undefined8 param_1,longlong param_2) + +{ + FUN_140004e90(*(longlong *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401019a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401019a0.c new file mode 100644 index 00000000..619d28d1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401019a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401019a0 Unwind@1401019a0 + * Pseudocode, not original source. */ + +void Unwind_1401019a0(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401019c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401019c0.c new file mode 100644 index 00000000..dba1d88a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401019c0.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401019c0 Catch_All@1401019c0 + * Pseudocode, not original source. */ + +void Catch_All_1401019c0(undefined8 param_1,longlong param_2) + +{ + longlong lVar1; + longlong lVar2; + + lVar1 = *(longlong *)(param_2 + 0x60); + for (lVar2 = *(longlong *)(param_2 + 0x50); lVar2 != lVar1; lVar2 = lVar2 + 0xf8) { + FUN_140004c70(lVar2); + } + /* WARNING: Subroutine does not return */ + _CxxThrowException((void *)0x0,(ThrowInfo *)0x0); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101a00.c b/decomp/AgentManager_Release_x64/full/functions/0x140101a00.c new file mode 100644 index 00000000..1a167742 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101a00.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101a00 Catch_All@140101a00 + * Pseudocode, not original source. */ + +void Catch_All_140101a00(undefined8 param_1,longlong param_2) + +{ + operator_delete(*(void **)(param_2 + 0x58)); + /* WARNING: Subroutine does not return */ + _CxxThrowException((void *)0x0,(ThrowInfo *)0x0); +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101a30.c b/decomp/AgentManager_Release_x64/full/functions/0x140101a30.c new file mode 100644 index 00000000..8dd4ee9f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101a30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101a30 Unwind@140101a30 + * Pseudocode, not original source. */ + +void Unwind_140101a30(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101a50.c b/decomp/AgentManager_Release_x64/full/functions/0x140101a50.c new file mode 100644 index 00000000..b6e23cb6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101a50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101a50 Unwind@140101a50 + * Pseudocode, not original source. */ + +void Unwind_140101a50(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101a70.c b/decomp/AgentManager_Release_x64/full/functions/0x140101a70.c new file mode 100644 index 00000000..9574f0d6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101a70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101a70 Unwind@140101a70 + * Pseudocode, not original source. */ + +void Unwind_140101a70(undefined8 param_1,longlong param_2) + +{ + FUN_140004e90(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101a80.c b/decomp/AgentManager_Release_x64/full/functions/0x140101a80.c new file mode 100644 index 00000000..0f492c1f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101a80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101a80 Unwind@140101a80 + * Pseudocode, not original source. */ + +void Unwind_140101a80(undefined8 param_1,longlong param_2) + +{ + FUN_140001550((undefined8 *)(param_2 + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101a90.c b/decomp/AgentManager_Release_x64/full/functions/0x140101a90.c new file mode 100644 index 00000000..abafd83c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101a90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101a90 Unwind@140101a90 + * Pseudocode, not original source. */ + +void Unwind_140101a90(undefined8 param_1,longlong param_2) + +{ + FUN_140001550((undefined8 *)(param_2 + 0x90)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101aa0.c b/decomp/AgentManager_Release_x64/full/functions/0x140101aa0.c new file mode 100644 index 00000000..36bc1289 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101aa0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101aa0 Unwind@140101aa0 + * Pseudocode, not original source. */ + +void Unwind_140101aa0(undefined8 param_1,longlong param_2) + +{ + FUN_140004e90(param_2 + 0x40); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101ab0.c b/decomp/AgentManager_Release_x64/full/functions/0x140101ab0.c new file mode 100644 index 00000000..e858d457 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101ab0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101ab0 Unwind@140101ab0 + * Pseudocode, not original source. */ + +void Unwind_140101ab0(undefined8 param_1,longlong param_2) + +{ + FUN_140039040(*(undefined8 **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101ac0.c b/decomp/AgentManager_Release_x64/full/functions/0x140101ac0.c new file mode 100644 index 00000000..6fc088a4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101ac0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101ac0 Unwind@140101ac0 + * Pseudocode, not original source. */ + +void Unwind_140101ac0(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(*(longlong *)(param_2 + 0x40) + 0x18)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101ad0.c b/decomp/AgentManager_Release_x64/full/functions/0x140101ad0.c new file mode 100644 index 00000000..ed048dd4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101ad0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101ad0 Unwind@140101ad0 + * Pseudocode, not original source. */ + +void Unwind_140101ad0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14003d110(*(undefined4 **)(param_2 + 0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101ae0.c b/decomp/AgentManager_Release_x64/full/functions/0x140101ae0.c new file mode 100644 index 00000000..0a2519c3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101ae0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101ae0 Unwind@140101ae0 + * Pseudocode, not original source. */ + +void Unwind_140101ae0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(*(longlong *)(param_2 + 0x48) + 0x10),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101af0.c b/decomp/AgentManager_Release_x64/full/functions/0x140101af0.c new file mode 100644 index 00000000..026ea236 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101af0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101af0 Unwind@140101af0 + * Pseudocode, not original source. */ + +void Unwind_140101af0(undefined8 param_1,longlong param_2) + +{ + FUN_140049e40((undefined8 *)(*(longlong *)(param_2 + 0x48) + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101b00.c b/decomp/AgentManager_Release_x64/full/functions/0x140101b00.c new file mode 100644 index 00000000..5e07e89a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101b00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101b00 Unwind@140101b00 + * Pseudocode, not original source. */ + +void Unwind_140101b00(undefined8 param_1,longlong param_2) + +{ + FUN_140037090(param_2 + 0x38); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101b10.c b/decomp/AgentManager_Release_x64/full/functions/0x140101b10.c new file mode 100644 index 00000000..295431c7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101b10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101b10 Unwind@140101b10 + * Pseudocode, not original source. */ + +void Unwind_140101b10(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101b30.c b/decomp/AgentManager_Release_x64/full/functions/0x140101b30.c new file mode 100644 index 00000000..550ae4f9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101b30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101b30 Unwind@140101b30 + * Pseudocode, not original source. */ + +void Unwind_140101b30(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101b40.c b/decomp/AgentManager_Release_x64/full/functions/0x140101b40.c new file mode 100644 index 00000000..96e92c8d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101b40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101b40 Unwind@140101b40 + * Pseudocode, not original source. */ + +void Unwind_140101b40(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101b50.c b/decomp/AgentManager_Release_x64/full/functions/0x140101b50.c new file mode 100644 index 00000000..788514de --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101b50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101b50 Unwind@140101b50 + * Pseudocode, not original source. */ + +void Unwind_140101b50(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101b60.c b/decomp/AgentManager_Release_x64/full/functions/0x140101b60.c new file mode 100644 index 00000000..a55c34ed --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101b60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101b60 Unwind@140101b60 + * Pseudocode, not original source. */ + +void Unwind_140101b60(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101b70.c b/decomp/AgentManager_Release_x64/full/functions/0x140101b70.c new file mode 100644 index 00000000..b3841112 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101b70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101b70 Unwind@140101b70 + * Pseudocode, not original source. */ + +void Unwind_140101b70(undefined8 param_1,longlong param_2) + +{ + FUN_140001550((undefined8 *)(param_2 + 0x78)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101b80.c b/decomp/AgentManager_Release_x64/full/functions/0x140101b80.c new file mode 100644 index 00000000..0e820737 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101b80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101b80 Unwind@140101b80 + * Pseudocode, not original source. */ + +void Unwind_140101b80(undefined8 param_1,longlong param_2) + +{ + FUN_1400033c0(param_2 + 0xb0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101b90.c b/decomp/AgentManager_Release_x64/full/functions/0x140101b90.c new file mode 100644 index 00000000..cf2812d1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101b90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101b90 Unwind@140101b90 + * Pseudocode, not original source. */ + +void Unwind_140101b90(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0x88)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101ba0.c b/decomp/AgentManager_Release_x64/full/functions/0x140101ba0.c new file mode 100644 index 00000000..08f085bd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101ba0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101ba0 Unwind@140101ba0 + * Pseudocode, not original source. */ + +void Unwind_140101ba0(undefined8 param_1,longlong param_2) + +{ + FUN_140001550((undefined8 *)(param_2 + 0x110)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101bb0.c b/decomp/AgentManager_Release_x64/full/functions/0x140101bb0.c new file mode 100644 index 00000000..78aba5d2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101bb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101bb0 Unwind@140101bb0 + * Pseudocode, not original source. */ + +void Unwind_140101bb0(undefined8 param_1,longlong param_2) + +{ + FUN_140035370((undefined8 *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101bc0.c b/decomp/AgentManager_Release_x64/full/functions/0x140101bc0.c new file mode 100644 index 00000000..6afd8e31 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101bc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101bc0 Unwind@140101bc0 + * Pseudocode, not original source. */ + +void Unwind_140101bc0(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101be0.c b/decomp/AgentManager_Release_x64/full/functions/0x140101be0.c new file mode 100644 index 00000000..e03631b5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101be0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101be0 Unwind@140101be0 + * Pseudocode, not original source. */ + +void Unwind_140101be0(undefined8 param_1,longlong param_2) + +{ + FUN_140001550((undefined8 *)(*(longlong *)(param_2 + 0x48) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101bf0.c b/decomp/AgentManager_Release_x64/full/functions/0x140101bf0.c new file mode 100644 index 00000000..d013f047 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101bf0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101bf0 Unwind@140101bf0 + * Pseudocode, not original source. */ + +void Unwind_140101bf0(undefined8 param_1,longlong param_2) + +{ + FUN_140033900(param_2 + 0x88); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101c00.c b/decomp/AgentManager_Release_x64/full/functions/0x140101c00.c new file mode 100644 index 00000000..a1bad997 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101c00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101c00 Unwind@140101c00 + * Pseudocode, not original source. */ + +void Unwind_140101c00(undefined8 param_1,longlong param_2) + +{ + FUN_140033900(param_2 + 0x110); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101c10.c b/decomp/AgentManager_Release_x64/full/functions/0x140101c10.c new file mode 100644 index 00000000..b51ea7db --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101c10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101c10 Unwind@140101c10 + * Pseudocode, not original source. */ + +void Unwind_140101c10(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14001ec20((undefined8 *)(param_2 + 0x50),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101c20.c b/decomp/AgentManager_Release_x64/full/functions/0x140101c20.c new file mode 100644 index 00000000..702efebf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101c20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101c20 Unwind@140101c20 + * Pseudocode, not original source. */ + +void Unwind_140101c20(undefined8 param_1,longlong param_2) + +{ + FUN_14001c5b0((undefined8 *)(param_2 + 0xb0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101c30.c b/decomp/AgentManager_Release_x64/full/functions/0x140101c30.c new file mode 100644 index 00000000..633566f2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101c30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101c30 Unwind@140101c30 + * Pseudocode, not original source. */ + +void Unwind_140101c30(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14001c5e0((undefined8 *)(param_2 + 0x50),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101c40.c b/decomp/AgentManager_Release_x64/full/functions/0x140101c40.c new file mode 100644 index 00000000..c1e1ef54 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101c40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101c40 Unwind@140101c40 + * Pseudocode, not original source. */ + +void Unwind_140101c40(undefined8 param_1,longlong param_2) + +{ + FUN_14001e4b0((undefined8 *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101c50.c b/decomp/AgentManager_Release_x64/full/functions/0x140101c50.c new file mode 100644 index 00000000..cccfa311 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101c50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101c50 Unwind@140101c50 + * Pseudocode, not original source. */ + +void Unwind_140101c50(undefined8 param_1,longlong param_2) + +{ + FUN_14001c5b0((undefined8 *)(param_2 + 0x88)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101c60.c b/decomp/AgentManager_Release_x64/full/functions/0x140101c60.c new file mode 100644 index 00000000..a8047ad5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101c60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101c60 Unwind@140101c60 + * Pseudocode, not original source. */ + +void Unwind_140101c60(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0x150)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101c70.c b/decomp/AgentManager_Release_x64/full/functions/0x140101c70.c new file mode 100644 index 00000000..7b37056f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101c70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101c70 Unwind@140101c70 + * Pseudocode, not original source. */ + +void Unwind_140101c70(undefined8 param_1,longlong param_2) + +{ + FUN_140001550((undefined8 *)(param_2 + 0x110)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101c80.c b/decomp/AgentManager_Release_x64/full/functions/0x140101c80.c new file mode 100644 index 00000000..96dabd42 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101c80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101c80 Unwind@140101c80 + * Pseudocode, not original source. */ + +void Unwind_140101c80(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0x150)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101c90.c b/decomp/AgentManager_Release_x64/full/functions/0x140101c90.c new file mode 100644 index 00000000..75510b86 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101c90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101c90 Unwind@140101c90 + * Pseudocode, not original source. */ + +void Unwind_140101c90(undefined8 param_1,longlong param_2) + +{ + FUN_140001550((undefined8 *)(param_2 + 0x110)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101ca0.c b/decomp/AgentManager_Release_x64/full/functions/0x140101ca0.c new file mode 100644 index 00000000..a3b144b4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101ca0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101ca0 Unwind@140101ca0 + * Pseudocode, not original source. */ + +void Unwind_140101ca0(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0x150)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101cb0.c b/decomp/AgentManager_Release_x64/full/functions/0x140101cb0.c new file mode 100644 index 00000000..c248ae71 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101cb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101cb0 Unwind@140101cb0 + * Pseudocode, not original source. */ + +void Unwind_140101cb0(undefined8 param_1,longlong param_2) + +{ + FUN_140001550((undefined8 *)(param_2 + 0x110)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101cc0.c b/decomp/AgentManager_Release_x64/full/functions/0x140101cc0.c new file mode 100644 index 00000000..b3ed614c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101cc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101cc0 Unwind@140101cc0 + * Pseudocode, not original source. */ + +void Unwind_140101cc0(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0x150)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101cd0.c b/decomp/AgentManager_Release_x64/full/functions/0x140101cd0.c new file mode 100644 index 00000000..949793d3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101cd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101cd0 Unwind@140101cd0 + * Pseudocode, not original source. */ + +void Unwind_140101cd0(undefined8 param_1,longlong param_2) + +{ + FUN_140001550((undefined8 *)(param_2 + 0x110)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101ce0.c b/decomp/AgentManager_Release_x64/full/functions/0x140101ce0.c new file mode 100644 index 00000000..04da2e7a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101ce0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101ce0 Unwind@140101ce0 + * Pseudocode, not original source. */ + +void Unwind_140101ce0(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0x150)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101cf0.c b/decomp/AgentManager_Release_x64/full/functions/0x140101cf0.c new file mode 100644 index 00000000..b616fe57 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101cf0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101cf0 Unwind@140101cf0 + * Pseudocode, not original source. */ + +void Unwind_140101cf0(undefined8 param_1,longlong param_2) + +{ + FUN_140001550((undefined8 *)(param_2 + 0x110)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101d00.c b/decomp/AgentManager_Release_x64/full/functions/0x140101d00.c new file mode 100644 index 00000000..43e27b65 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101d00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101d00 Unwind@140101d00 + * Pseudocode, not original source. */ + +void Unwind_140101d00(undefined8 param_1,longlong param_2) + +{ + FUN_140001550((undefined8 *)(param_2 + 0x110)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101d10.c b/decomp/AgentManager_Release_x64/full/functions/0x140101d10.c new file mode 100644 index 00000000..14ec7521 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101d10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101d10 Unwind@140101d10 + * Pseudocode, not original source. */ + +void Unwind_140101d10(undefined8 param_1,longlong param_2) + +{ + FUN_140001550((undefined8 *)(param_2 + 0x110)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101d20.c b/decomp/AgentManager_Release_x64/full/functions/0x140101d20.c new file mode 100644 index 00000000..d75cfa06 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101d20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101d20 Unwind@140101d20 + * Pseudocode, not original source. */ + +void Unwind_140101d20(undefined8 param_1,longlong param_2) + +{ + FUN_14000a140((undefined8 *)(param_2 + 0x78)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101d30.c b/decomp/AgentManager_Release_x64/full/functions/0x140101d30.c new file mode 100644 index 00000000..4914efe7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101d30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101d30 Unwind@140101d30 + * Pseudocode, not original source. */ + +void Unwind_140101d30(undefined8 param_1,longlong param_2) + +{ + FUN_140004a60((undefined8 *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101d40.c b/decomp/AgentManager_Release_x64/full/functions/0x140101d40.c new file mode 100644 index 00000000..fd2f598e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101d40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101d40 Unwind@140101d40 + * Pseudocode, not original source. */ + +void Unwind_140101d40(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101d60.c b/decomp/AgentManager_Release_x64/full/functions/0x140101d60.c new file mode 100644 index 00000000..bef8c96e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101d60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101d60 Unwind@140101d60 + * Pseudocode, not original source. */ + +void Unwind_140101d60(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101d80.c b/decomp/AgentManager_Release_x64/full/functions/0x140101d80.c new file mode 100644 index 00000000..99488a11 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101d80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101d80 Unwind@140101d80 + * Pseudocode, not original source. */ + +void Unwind_140101d80(undefined8 param_1,longlong param_2) + +{ + FUN_140004e90(param_2 + 0xb0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101d90.c b/decomp/AgentManager_Release_x64/full/functions/0x140101d90.c new file mode 100644 index 00000000..fab7279d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101d90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101d90 Unwind@140101d90 + * Pseudocode, not original source. */ + +void Unwind_140101d90(undefined8 param_1,longlong param_2) + +{ + FUN_140004c70(param_2 + 0xb0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101da0.c b/decomp/AgentManager_Release_x64/full/functions/0x140101da0.c new file mode 100644 index 00000000..69ef57ac --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101da0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101da0 Unwind@140101da0 + * Pseudocode, not original source. */ + +void Unwind_140101da0(undefined8 param_1,longlong param_2) + +{ + FUN_14000a140((undefined8 *)(param_2 + 0x80)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101db0.c b/decomp/AgentManager_Release_x64/full/functions/0x140101db0.c new file mode 100644 index 00000000..662401bc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101db0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101db0 Unwind@140101db0 + * Pseudocode, not original source. */ + +void Unwind_140101db0(undefined8 param_1,longlong param_2) + +{ + FUN_14000a140((undefined8 *)(param_2 + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101dc0.c b/decomp/AgentManager_Release_x64/full/functions/0x140101dc0.c new file mode 100644 index 00000000..066c89cf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101dc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101dc0 Unwind@140101dc0 + * Pseudocode, not original source. */ + +void Unwind_140101dc0(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_14000a2d0((longlong *)(param_2 + 200)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101dd0.c b/decomp/AgentManager_Release_x64/full/functions/0x140101dd0.c new file mode 100644 index 00000000..fe24fdc5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101dd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101dd0 Unwind@140101dd0 + * Pseudocode, not original source. */ + +void Unwind_140101dd0(undefined8 param_1,longlong param_2) + +{ + FUN_14000a140((undefined8 *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101de0.c b/decomp/AgentManager_Release_x64/full/functions/0x140101de0.c new file mode 100644 index 00000000..bdc290b0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101de0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101de0 Unwind@140101de0 + * Pseudocode, not original source. */ + +void Unwind_140101de0(undefined8 param_1,longlong param_2) + +{ + FUN_14000d9e0((undefined8 *)(param_2 + 0xa0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101df0.c b/decomp/AgentManager_Release_x64/full/functions/0x140101df0.c new file mode 100644 index 00000000..901bf46c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101df0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101df0 Unwind@140101df0 + * Pseudocode, not original source. */ + +void Unwind_140101df0(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0xc0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101e00.c b/decomp/AgentManager_Release_x64/full/functions/0x140101e00.c new file mode 100644 index 00000000..f641b893 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101e00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101e00 Unwind@140101e00 + * Pseudocode, not original source. */ + +void Unwind_140101e00(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0x98)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101e10.c b/decomp/AgentManager_Release_x64/full/functions/0x140101e10.c new file mode 100644 index 00000000..20b5cf4f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101e10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101e10 Unwind@140101e10 + * Pseudocode, not original source. */ + +void Unwind_140101e10(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0x110)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101e20.c b/decomp/AgentManager_Release_x64/full/functions/0x140101e20.c new file mode 100644 index 00000000..80ed1b0b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101e20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101e20 Unwind@140101e20 + * Pseudocode, not original source. */ + +void Unwind_140101e20(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101e30.c b/decomp/AgentManager_Release_x64/full/functions/0x140101e30.c new file mode 100644 index 00000000..382d46e4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101e30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101e30 Unwind@140101e30 + * Pseudocode, not original source. */ + +void Unwind_140101e30(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0xe8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101e40.c b/decomp/AgentManager_Release_x64/full/functions/0x140101e40.c new file mode 100644 index 00000000..66ee8f7d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101e40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101e40 Unwind@140101e40 + * Pseudocode, not original source. */ + +void Unwind_140101e40(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0x70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101e50.c b/decomp/AgentManager_Release_x64/full/functions/0x140101e50.c new file mode 100644 index 00000000..51315eac --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101e50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101e50 Unwind@140101e50 + * Pseudocode, not original source. */ + +void Unwind_140101e50(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0x98)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101e60.c b/decomp/AgentManager_Release_x64/full/functions/0x140101e60.c new file mode 100644 index 00000000..72278a4c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101e60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101e60 Unwind@140101e60 + * Pseudocode, not original source. */ + +void Unwind_140101e60(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101e70.c b/decomp/AgentManager_Release_x64/full/functions/0x140101e70.c new file mode 100644 index 00000000..c2fc1b8b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101e70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101e70 Unwind@140101e70 + * Pseudocode, not original source. */ + +void Unwind_140101e70(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0xa0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101e80.c b/decomp/AgentManager_Release_x64/full/functions/0x140101e80.c new file mode 100644 index 00000000..c464b049 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101e80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101e80 Unwind@140101e80 + * Pseudocode, not original source. */ + +void Unwind_140101e80(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0x78)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101e90.c b/decomp/AgentManager_Release_x64/full/functions/0x140101e90.c new file mode 100644 index 00000000..04013027 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101e90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101e90 Unwind@140101e90 + * Pseudocode, not original source. */ + +void Unwind_140101e90(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0xf0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101ea0.c b/decomp/AgentManager_Release_x64/full/functions/0x140101ea0.c new file mode 100644 index 00000000..8666a6a4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101ea0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101ea0 Unwind@140101ea0 + * Pseudocode, not original source. */ + +void Unwind_140101ea0(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101eb0.c b/decomp/AgentManager_Release_x64/full/functions/0x140101eb0.c new file mode 100644 index 00000000..560fddab --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101eb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101eb0 Unwind@140101eb0 + * Pseudocode, not original source. */ + +void Unwind_140101eb0(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 200)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101ec0.c b/decomp/AgentManager_Release_x64/full/functions/0x140101ec0.c new file mode 100644 index 00000000..5b0c9165 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101ec0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101ec0 Unwind@140101ec0 + * Pseudocode, not original source. */ + +void Unwind_140101ec0(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101ed0.c b/decomp/AgentManager_Release_x64/full/functions/0x140101ed0.c new file mode 100644 index 00000000..0008fe8a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101ed0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101ed0 Unwind@140101ed0 + * Pseudocode, not original source. */ + +void Unwind_140101ed0(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0x78)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101ee0.c b/decomp/AgentManager_Release_x64/full/functions/0x140101ee0.c new file mode 100644 index 00000000..f6772000 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101ee0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101ee0 Unwind@140101ee0 + * Pseudocode, not original source. */ + +void Unwind_140101ee0(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101ef0.c b/decomp/AgentManager_Release_x64/full/functions/0x140101ef0.c new file mode 100644 index 00000000..baa3d674 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101ef0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101ef0 Unwind@140101ef0 + * Pseudocode, not original source. */ + +void Unwind_140101ef0(undefined8 param_1,longlong param_2) + +{ + FUN_1400103c0(*(longlong **)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101f00.c b/decomp/AgentManager_Release_x64/full/functions/0x140101f00.c new file mode 100644 index 00000000..88393a12 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101f00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101f00 Unwind@140101f00 + * Pseudocode, not original source. */ + +void Unwind_140101f00(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101f10.c b/decomp/AgentManager_Release_x64/full/functions/0x140101f10.c new file mode 100644 index 00000000..b79cf40a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101f10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101f10 Unwind@140101f10 + * Pseudocode, not original source. */ + +void Unwind_140101f10(undefined8 param_1,longlong param_2) + +{ + FUN_1400103c0(*(longlong **)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101f20.c b/decomp/AgentManager_Release_x64/full/functions/0x140101f20.c new file mode 100644 index 00000000..55dca112 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101f20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101f20 Unwind@140101f20 + * Pseudocode, not original source. */ + +void Unwind_140101f20(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101f30.c b/decomp/AgentManager_Release_x64/full/functions/0x140101f30.c new file mode 100644 index 00000000..d14cb927 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101f30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101f30 Unwind@140101f30 + * Pseudocode, not original source. */ + +void Unwind_140101f30(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0x70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101f40.c b/decomp/AgentManager_Release_x64/full/functions/0x140101f40.c new file mode 100644 index 00000000..1e6b93e3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101f40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101f40 Unwind@140101f40 + * Pseudocode, not original source. */ + +void Unwind_140101f40(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_14000ffc0((undefined8 *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101f50.c b/decomp/AgentManager_Release_x64/full/functions/0x140101f50.c new file mode 100644 index 00000000..fe7ea4d2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101f50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101f50 Unwind@140101f50 + * Pseudocode, not original source. */ + +void Unwind_140101f50(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0x160)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101f60.c b/decomp/AgentManager_Release_x64/full/functions/0x140101f60.c new file mode 100644 index 00000000..30327704 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101f60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101f60 Unwind@140101f60 + * Pseudocode, not original source. */ + +void Unwind_140101f60(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101f80.c b/decomp/AgentManager_Release_x64/full/functions/0x140101f80.c new file mode 100644 index 00000000..69b8370e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101f80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101f80 Unwind@140101f80 + * Pseudocode, not original source. */ + +void Unwind_140101f80(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101fa0.c b/decomp/AgentManager_Release_x64/full/functions/0x140101fa0.c new file mode 100644 index 00000000..562f546e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101fa0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101fa0 Unwind@140101fa0 + * Pseudocode, not original source. */ + +void Unwind_140101fa0(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0x1e0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101fb0.c b/decomp/AgentManager_Release_x64/full/functions/0x140101fb0.c new file mode 100644 index 00000000..3ca8cf6e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101fb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101fb0 Unwind@140101fb0 + * Pseudocode, not original source. */ + +void Unwind_140101fb0(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0x98)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101fc0.c b/decomp/AgentManager_Release_x64/full/functions/0x140101fc0.c new file mode 100644 index 00000000..8c1acb32 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101fc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101fc0 Unwind@140101fc0 + * Pseudocode, not original source. */ + +void Unwind_140101fc0(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0x208)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101fd0.c b/decomp/AgentManager_Release_x64/full/functions/0x140101fd0.c new file mode 100644 index 00000000..48509989 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101fd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101fd0 Unwind@140101fd0 + * Pseudocode, not original source. */ + +void Unwind_140101fd0(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0x110)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101fe0.c b/decomp/AgentManager_Release_x64/full/functions/0x140101fe0.c new file mode 100644 index 00000000..bf98d041 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101fe0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101fe0 Unwind@140101fe0 + * Pseudocode, not original source. */ + +void Unwind_140101fe0(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0x138)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140101ff0.c b/decomp/AgentManager_Release_x64/full/functions/0x140101ff0.c new file mode 100644 index 00000000..13462314 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140101ff0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140101ff0 Unwind@140101ff0 + * Pseudocode, not original source. */ + +void Unwind_140101ff0(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0xc0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102000.c b/decomp/AgentManager_Release_x64/full/functions/0x140102000.c new file mode 100644 index 00000000..dee24d80 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102000.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102000 Unwind@140102000 + * Pseudocode, not original source. */ + +void Unwind_140102000(undefined8 param_1,longlong param_2) + +{ + FUN_140010f70((undefined8 *)(param_2 + 0xc0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102010.c b/decomp/AgentManager_Release_x64/full/functions/0x140102010.c new file mode 100644 index 00000000..8fa5f8c4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102010.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102010 Unwind@140102010 + * Pseudocode, not original source. */ + +void Unwind_140102010(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 400)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102020.c b/decomp/AgentManager_Release_x64/full/functions/0x140102020.c new file mode 100644 index 00000000..1e9029c3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102020.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102020 Unwind@140102020 + * Pseudocode, not original source. */ + +void Unwind_140102020(undefined8 param_1,longlong param_2) + +{ + FUN_140010f70((undefined8 *)(param_2 + 400)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102030.c b/decomp/AgentManager_Release_x64/full/functions/0x140102030.c new file mode 100644 index 00000000..dc04b44d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102030.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102030 Unwind@140102030 + * Pseudocode, not original source. */ + +void Unwind_140102030(undefined8 param_1,longlong param_2) + +{ + FUN_14000ad30((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102040.c b/decomp/AgentManager_Release_x64/full/functions/0x140102040.c new file mode 100644 index 00000000..292a6ec6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102040.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102040 Unwind@140102040 + * Pseudocode, not original source. */ + +void Unwind_140102040(undefined8 param_1,longlong param_2) + +{ + FUN_1400075b0((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102050.c b/decomp/AgentManager_Release_x64/full/functions/0x140102050.c new file mode 100644 index 00000000..78bf4533 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102050.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102050 Unwind@140102050 + * Pseudocode, not original source. */ + +void Unwind_140102050(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_14000a240((undefined8 *)(param_2 + 0x90)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102060.c b/decomp/AgentManager_Release_x64/full/functions/0x140102060.c new file mode 100644 index 00000000..efeda20d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102060.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102060 Unwind@140102060 + * Pseudocode, not original source. */ + +void Unwind_140102060(undefined8 param_1,longlong param_2) + +{ + FUN_140009720(param_2 + 0xf8); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102070.c b/decomp/AgentManager_Release_x64/full/functions/0x140102070.c new file mode 100644 index 00000000..f35d76e8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102070.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102070 Unwind@140102070 + * Pseudocode, not original source. */ + +void Unwind_140102070(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x48); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102080.c b/decomp/AgentManager_Release_x64/full/functions/0x140102080.c new file mode 100644 index 00000000..79983061 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102080.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102080 Unwind@140102080 + * Pseudocode, not original source. */ + +void Unwind_140102080(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x78); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102090.c b/decomp/AgentManager_Release_x64/full/functions/0x140102090.c new file mode 100644 index 00000000..b9286440 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102090.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102090 Unwind@140102090 + * Pseudocode, not original source. */ + +void Unwind_140102090(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x48); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401020a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401020a0.c new file mode 100644 index 00000000..52b3b147 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401020a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401020a0 Unwind@1401020a0 + * Pseudocode, not original source. */ + +void Unwind_1401020a0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x38),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401020b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401020b0.c new file mode 100644 index 00000000..b6e326cc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401020b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401020b0 Unwind@1401020b0 + * Pseudocode, not original source. */ + +void Unwind_1401020b0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xb0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401020c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401020c0.c new file mode 100644 index 00000000..4dbe24be --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401020c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401020c0 Unwind@1401020c0 + * Pseudocode, not original source. */ + +void Unwind_1401020c0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xc0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401020d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401020d0.c new file mode 100644 index 00000000..06491a2c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401020d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401020d0 Unwind@1401020d0 + * Pseudocode, not original source. */ + +void Unwind_1401020d0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x40),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401020e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401020e0.c new file mode 100644 index 00000000..81bbf578 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401020e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401020e0 Unwind@1401020e0 + * Pseudocode, not original source. */ + +void Unwind_1401020e0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xd0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401020f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401020f0.c new file mode 100644 index 00000000..6b455d56 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401020f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401020f0 Unwind@1401020f0 + * Pseudocode, not original source. */ + +void Unwind_1401020f0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xe0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102100.c b/decomp/AgentManager_Release_x64/full/functions/0x140102100.c new file mode 100644 index 00000000..29c46bb5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102100.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102100 Unwind@140102100 + * Pseudocode, not original source. */ + +void Unwind_140102100(undefined8 param_1,longlong param_2) + +{ + FUN_140009720(*(longlong *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102110.c b/decomp/AgentManager_Release_x64/full/functions/0x140102110.c new file mode 100644 index 00000000..7fff840e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102110.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102110 Unwind@140102110 + * Pseudocode, not original source. */ + +void Unwind_140102110(undefined8 param_1,longlong param_2) + +{ + FUN_1400075b0((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102120.c b/decomp/AgentManager_Release_x64/full/functions/0x140102120.c new file mode 100644 index 00000000..e256f800 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102120.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102120 Unwind@140102120 + * Pseudocode, not original source. */ + +void Unwind_140102120(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102130.c b/decomp/AgentManager_Release_x64/full/functions/0x140102130.c new file mode 100644 index 00000000..ceb45012 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102130.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102130 Unwind@140102130 + * Pseudocode, not original source. */ + +void Unwind_140102130(undefined8 param_1,longlong param_2) + +{ + FUN_140023550((undefined8 *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102140.c b/decomp/AgentManager_Release_x64/full/functions/0x140102140.c new file mode 100644 index 00000000..9c748d02 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102140.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102140 Unwind@140102140 + * Pseudocode, not original source. */ + +void Unwind_140102140(undefined8 param_1,longlong param_2) + +{ + FUN_140023550((undefined8 *)(param_2 + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102150.c b/decomp/AgentManager_Release_x64/full/functions/0x140102150.c new file mode 100644 index 00000000..2dd1fee2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102150.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102150 Unwind@140102150 + * Pseudocode, not original source. */ + +void Unwind_140102150(undefined8 param_1,longlong param_2) + +{ + FUN_140004a60((undefined8 *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102160.c b/decomp/AgentManager_Release_x64/full/functions/0x140102160.c new file mode 100644 index 00000000..411a3f73 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102160.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102160 Unwind@140102160 + * Pseudocode, not original source. */ + +void Unwind_140102160(undefined8 param_1,longlong param_2) + +{ + FUN_140004c70(param_2 + 0x50); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102170.c b/decomp/AgentManager_Release_x64/full/functions/0x140102170.c new file mode 100644 index 00000000..be284038 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102170.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102170 Unwind@140102170 + * Pseudocode, not original source. */ + +void Unwind_140102170(undefined8 param_1,longlong param_2) + +{ + FUN_140004c70(param_2 + 0x50); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102180.c b/decomp/AgentManager_Release_x64/full/functions/0x140102180.c new file mode 100644 index 00000000..a7b8abd0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102180.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102180 Unwind@140102180 + * Pseudocode, not original source. */ + +void Unwind_140102180(undefined8 param_1,longlong param_2) + +{ + FUN_140004c70(param_2 + 0x50); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102190.c b/decomp/AgentManager_Release_x64/full/functions/0x140102190.c new file mode 100644 index 00000000..a725abac --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102190.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102190 Unwind@140102190 + * Pseudocode, not original source. */ + +void Unwind_140102190(undefined8 param_1,longlong param_2) + +{ + FUN_140004c70(param_2 + 0x50); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401021a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401021a0.c new file mode 100644 index 00000000..84e2be00 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401021a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401021a0 Unwind@1401021a0 + * Pseudocode, not original source. */ + +void Unwind_1401021a0(undefined8 param_1,longlong param_2) + +{ + FUN_140004c70(param_2 + 0x50); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401021b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401021b0.c new file mode 100644 index 00000000..b8ff53be --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401021b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401021b0 Unwind@1401021b0 + * Pseudocode, not original source. */ + +void Unwind_1401021b0(undefined8 param_1,longlong param_2) + +{ + FUN_140004c70(param_2 + 0x50); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401021c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401021c0.c new file mode 100644 index 00000000..20f5a04a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401021c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401021c0 Unwind@1401021c0 + * Pseudocode, not original source. */ + +void Unwind_1401021c0(undefined8 param_1,longlong param_2) + +{ + FUN_14003af80(*(undefined8 **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401021d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401021d0.c new file mode 100644 index 00000000..f9c82f48 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401021d0.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401021d0 Unwind@1401021d0 + * Pseudocode, not original source. */ + +void Unwind_1401021d0(undefined8 param_1,longlong param_2) + +{ + /* WARNING: Could not recover jumptable at 0x0001401021d7. Too many branches */ + /* WARNING: Treating indirect jump as call */ + operator_delete(*(void **)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401021e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401021e0.c new file mode 100644 index 00000000..a3919ce8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401021e0.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401021e0 Unwind@1401021e0 + * Pseudocode, not original source. */ + +void Unwind_1401021e0(undefined8 param_1,longlong param_2) + +{ + /* WARNING: Could not recover jumptable at 0x0001401021e7. Too many branches */ + /* WARNING: Treating indirect jump as call */ + operator_delete(*(void **)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401021f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401021f0.c new file mode 100644 index 00000000..cc7c6428 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401021f0.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401021f0 Unwind@1401021f0 + * Pseudocode, not original source. */ + +void Unwind_1401021f0(undefined8 param_1,longlong param_2) + +{ + /* WARNING: Could not recover jumptable at 0x0001401021f7. Too many branches */ + /* WARNING: Treating indirect jump as call */ + operator_delete(*(void **)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102200.c b/decomp/AgentManager_Release_x64/full/functions/0x140102200.c new file mode 100644 index 00000000..ccba2f92 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102200.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102200 Unwind@140102200 + * Pseudocode, not original source. */ + +void Unwind_140102200(undefined8 param_1,longlong param_2) + +{ + FUN_14003bc90(*(undefined8 **)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102210.c b/decomp/AgentManager_Release_x64/full/functions/0x140102210.c new file mode 100644 index 00000000..252b41f1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102210.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102210 Unwind@140102210 + * Pseudocode, not original source. */ + +void Unwind_140102210(undefined8 param_1,longlong param_2) + +{ + FUN_14003b4f0((longlong *)(*(longlong *)(param_2 + 0x48) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102220.c b/decomp/AgentManager_Release_x64/full/functions/0x140102220.c new file mode 100644 index 00000000..923c757a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102220.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102220 Unwind@140102220 + * Pseudocode, not original source. */ + +void Unwind_140102220(undefined8 param_1,longlong param_2) + +{ + FUN_14000a140((undefined8 *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102230.c b/decomp/AgentManager_Release_x64/full/functions/0x140102230.c new file mode 100644 index 00000000..a4f72fb6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102230.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102230 Unwind@140102230 + * Pseudocode, not original source. */ + +void Unwind_140102230(undefined8 param_1,longlong param_2) + +{ + FUN_140004e90(param_2 + 0x50); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102240.c b/decomp/AgentManager_Release_x64/full/functions/0x140102240.c new file mode 100644 index 00000000..b0119dc6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102240.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102240 Unwind@140102240 + * Pseudocode, not original source. */ + +void Unwind_140102240(undefined8 param_1,LPVOID param_2,longlong *param_3,undefined8 param_4) + +{ + FUN_140037e00((longlong *)((longlong)param_2 + 0x80),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102250.c b/decomp/AgentManager_Release_x64/full/functions/0x140102250.c new file mode 100644 index 00000000..b52dae4a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102250.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102250 Unwind@140102250 + * Pseudocode, not original source. */ + +void Unwind_140102250(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102260.c b/decomp/AgentManager_Release_x64/full/functions/0x140102260.c new file mode 100644 index 00000000..c52cbd4d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102260.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102260 Unwind@140102260 + * Pseudocode, not original source. */ + +void Unwind_140102260(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102270.c b/decomp/AgentManager_Release_x64/full/functions/0x140102270.c new file mode 100644 index 00000000..43331036 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102270.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102270 Unwind@140102270 + * Pseudocode, not original source. */ + +void Unwind_140102270(undefined8 param_1,longlong param_2) + +{ + FUN_140001550((undefined8 *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102280.c b/decomp/AgentManager_Release_x64/full/functions/0x140102280.c new file mode 100644 index 00000000..026b97e1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102280.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102280 Unwind@140102280 + * Pseudocode, not original source. */ + +void Unwind_140102280(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102290.c b/decomp/AgentManager_Release_x64/full/functions/0x140102290.c new file mode 100644 index 00000000..f98f0cc9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102290.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102290 Unwind@140102290 + * Pseudocode, not original source. */ + +void Unwind_140102290(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401022a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401022a0.c new file mode 100644 index 00000000..82e1fc5b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401022a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401022a0 Unwind@1401022a0 + * Pseudocode, not original source. */ + +void Unwind_1401022a0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401022b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401022b0.c new file mode 100644 index 00000000..9473b483 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401022b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401022b0 Unwind@1401022b0 + * Pseudocode, not original source. */ + +void Unwind_1401022b0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401022c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401022c0.c new file mode 100644 index 00000000..f418b370 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401022c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401022c0 Unwind@1401022c0 + * Pseudocode, not original source. */ + +void Unwind_1401022c0(undefined8 param_1,longlong param_2) + +{ + FUN_140038400((undefined8 *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401022d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401022d0.c new file mode 100644 index 00000000..395cf944 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401022d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401022d0 Unwind@1401022d0 + * Pseudocode, not original source. */ + +void Unwind_1401022d0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_140038280((longlong *)(param_2 + 0x20),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401022e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401022e0.c new file mode 100644 index 00000000..8ecc8b35 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401022e0.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401022e0 Catch@1401022e0 + * Pseudocode, not original source. */ + +undefined * Catch_1401022e0(undefined8 param_1,longlong param_2) + +{ + char *_Str; + + _Str = (char *)(**(code **)(**(longlong **)(param_2 + 0x48) + 8))(); + puts(_Str); + return &DAT_140037c7d; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102310.c b/decomp/AgentManager_Release_x64/full/functions/0x140102310.c new file mode 100644 index 00000000..7c1d10df --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102310.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102310 Unwind@140102310 + * Pseudocode, not original source. */ + +void Unwind_140102310(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102320.c b/decomp/AgentManager_Release_x64/full/functions/0x140102320.c new file mode 100644 index 00000000..4e7f05a1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102320.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102320 Unwind@140102320 + * Pseudocode, not original source. */ + +void Unwind_140102320(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x80),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102330.c b/decomp/AgentManager_Release_x64/full/functions/0x140102330.c new file mode 100644 index 00000000..d7fb81c3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102330.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102330 Unwind@140102330 + * Pseudocode, not original source. */ + +void Unwind_140102330(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x88),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102340.c b/decomp/AgentManager_Release_x64/full/functions/0x140102340.c new file mode 100644 index 00000000..78ddbd46 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102340.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102340 Unwind@140102340 + * Pseudocode, not original source. */ + +void Unwind_140102340(undefined8 param_1,longlong param_2) + +{ + FUN_140038400((undefined8 *)(param_2 + 0x98)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102350.c b/decomp/AgentManager_Release_x64/full/functions/0x140102350.c new file mode 100644 index 00000000..f78a343b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102350.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102350 Unwind@140102350 + * Pseudocode, not original source. */ + +void Unwind_140102350(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102360.c b/decomp/AgentManager_Release_x64/full/functions/0x140102360.c new file mode 100644 index 00000000..32118032 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102360.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102360 Unwind@140102360 + * Pseudocode, not original source. */ + +void Unwind_140102360(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14001c5e0((undefined8 *)(param_2 + 0x30),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102370.c b/decomp/AgentManager_Release_x64/full/functions/0x140102370.c new file mode 100644 index 00000000..39e50e70 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102370.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102370 Unwind@140102370 + * Pseudocode, not original source. */ + +void Unwind_140102370(undefined8 param_1,longlong param_2) + +{ + /* WARNING: Could not recover jumptable at 0x000140102377. Too many branches */ + /* WARNING: Treating indirect jump as call */ + operator_delete(*(void **)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102380.c b/decomp/AgentManager_Release_x64/full/functions/0x140102380.c new file mode 100644 index 00000000..4a56329c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102380.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102380 Unwind@140102380 + * Pseudocode, not original source. */ + +void Unwind_140102380(undefined8 param_1,longlong param_2) + +{ + /* WARNING: Could not recover jumptable at 0x000140102387. Too many branches */ + /* WARNING: Treating indirect jump as call */ + operator_delete(*(void **)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102390.c b/decomp/AgentManager_Release_x64/full/functions/0x140102390.c new file mode 100644 index 00000000..a62fe684 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102390.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102390 Unwind@140102390 + * Pseudocode, not original source. */ + +void Unwind_140102390(undefined8 param_1,longlong param_2) + +{ + FUN_140001550((undefined8 *)(param_2 + 0xb8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401023a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401023a0.c new file mode 100644 index 00000000..66742cac --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401023a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401023a0 Unwind@1401023a0 + * Pseudocode, not original source. */ + +void Unwind_1401023a0(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0x110)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401023b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401023b0.c new file mode 100644 index 00000000..9a2262db --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401023b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401023b0 Unwind@1401023b0 + * Pseudocode, not original source. */ + +void Unwind_1401023b0(undefined8 param_1,longlong param_2) + +{ + FUN_140001550((undefined8 *)(param_2 + 0xe0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401023c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401023c0.c new file mode 100644 index 00000000..16d5b307 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401023c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401023c0 Unwind@1401023c0 + * Pseudocode, not original source. */ + +void Unwind_1401023c0(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0x150)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401023d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401023d0.c new file mode 100644 index 00000000..2fdc1239 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401023d0.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401023d0 Unwind@1401023d0 + * Pseudocode, not original source. */ + +void Unwind_1401023d0(undefined8 param_1,longlong param_2) + +{ + /* WARNING: Could not recover jumptable at 0x0001401023d7. Too many branches */ + /* WARNING: Treating indirect jump as call */ + operator_delete(*(void **)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401023e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401023e0.c new file mode 100644 index 00000000..a5b18d3d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401023e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401023e0 Unwind@1401023e0 + * Pseudocode, not original source. */ + +void Unwind_1401023e0(undefined8 param_1,longlong param_2) + +{ + FUN_140001550((undefined8 *)(param_2 + 0xb8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401023f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401023f0.c new file mode 100644 index 00000000..97955711 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401023f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401023f0 Unwind@1401023f0 + * Pseudocode, not original source. */ + +void Unwind_1401023f0(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0x110)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102400.c b/decomp/AgentManager_Release_x64/full/functions/0x140102400.c new file mode 100644 index 00000000..6babafb6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102400.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102400 Unwind@140102400 + * Pseudocode, not original source. */ + +void Unwind_140102400(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0xb8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102410.c b/decomp/AgentManager_Release_x64/full/functions/0x140102410.c new file mode 100644 index 00000000..9ede9d0f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102410.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102410 Unwind@140102410 + * Pseudocode, not original source. */ + +void Unwind_140102410(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0xe0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102420.c b/decomp/AgentManager_Release_x64/full/functions/0x140102420.c new file mode 100644 index 00000000..a0eb7587 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102420.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102420 Unwind@140102420 + * Pseudocode, not original source. */ + +void Unwind_140102420(undefined8 param_1,longlong param_2) + +{ + /* WARNING: Could not recover jumptable at 0x000140102427. Too many branches */ + /* WARNING: Treating indirect jump as call */ + operator_delete(*(void **)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102430.c b/decomp/AgentManager_Release_x64/full/functions/0x140102430.c new file mode 100644 index 00000000..a0ec8a0e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102430.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102430 Unwind@140102430 + * Pseudocode, not original source. */ + +void Unwind_140102430(undefined8 param_1,longlong param_2) + +{ + FUN_140001550((undefined8 *)(param_2 + 0x150)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102440.c b/decomp/AgentManager_Release_x64/full/functions/0x140102440.c new file mode 100644 index 00000000..1c4f64b4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102440.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102440 Unwind@140102440 + * Pseudocode, not original source. */ + +void Unwind_140102440(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0x110)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102450.c b/decomp/AgentManager_Release_x64/full/functions/0x140102450.c new file mode 100644 index 00000000..05d0145d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102450.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102450 Unwind@140102450 + * Pseudocode, not original source. */ + +void Unwind_140102450(undefined8 param_1,longlong param_2) + +{ + /* WARNING: Could not recover jumptable at 0x000140102457. Too many branches */ + /* WARNING: Treating indirect jump as call */ + operator_delete(*(void **)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102460.c b/decomp/AgentManager_Release_x64/full/functions/0x140102460.c new file mode 100644 index 00000000..a27b6191 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102460.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102460 Unwind@140102460 + * Pseudocode, not original source. */ + +void Unwind_140102460(undefined8 param_1,longlong param_2) + +{ + FUN_14001e4b0((undefined8 *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102470.c b/decomp/AgentManager_Release_x64/full/functions/0x140102470.c new file mode 100644 index 00000000..ac98b5b6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102470.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102470 Unwind@140102470 + * Pseudocode, not original source. */ + +void Unwind_140102470(undefined8 param_1,longlong param_2) + +{ + FUN_14001c5b0((undefined8 *)(param_2 + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102480.c b/decomp/AgentManager_Release_x64/full/functions/0x140102480.c new file mode 100644 index 00000000..954a5563 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102480.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102480 Unwind@140102480 + * Pseudocode, not original source. */ + +void Unwind_140102480(undefined8 param_1,longlong param_2) + +{ + FUN_140001550((undefined8 *)(param_2 + 0xd0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102490.c b/decomp/AgentManager_Release_x64/full/functions/0x140102490.c new file mode 100644 index 00000000..97c64760 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102490.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102490 Unwind@140102490 + * Pseudocode, not original source. */ + +void Unwind_140102490(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0xa8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401024a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401024a0.c new file mode 100644 index 00000000..44d4ef95 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401024a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401024a0 Unwind@1401024a0 + * Pseudocode, not original source. */ + +void Unwind_1401024a0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14001c5e0((undefined8 *)(param_2 + 0x20),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401024b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401024b0.c new file mode 100644 index 00000000..956c294e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401024b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401024b0 Unwind@1401024b0 + * Pseudocode, not original source. */ + +void Unwind_1401024b0(undefined8 param_1,longlong param_2) + +{ + FUN_14001e4b0((undefined8 *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401024c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401024c0.c new file mode 100644 index 00000000..f6025dc4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401024c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401024c0 Unwind@1401024c0 + * Pseudocode, not original source. */ + +void Unwind_1401024c0(undefined8 param_1,longlong param_2) + +{ + FUN_14001c5b0((undefined8 *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401024d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401024d0.c new file mode 100644 index 00000000..96ec8411 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401024d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401024d0 Unwind@1401024d0 + * Pseudocode, not original source. */ + +void Unwind_1401024d0(undefined8 param_1,longlong param_2) + +{ + FUN_14001e4b0((undefined8 *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401024e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401024e0.c new file mode 100644 index 00000000..993fde15 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401024e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401024e0 Unwind@1401024e0 + * Pseudocode, not original source. */ + +void Unwind_1401024e0(undefined8 param_1,longlong param_2) + +{ + FUN_14001c5b0((undefined8 *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401024f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401024f0.c new file mode 100644 index 00000000..871e9827 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401024f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401024f0 Unwind@1401024f0 + * Pseudocode, not original source. */ + +void Unwind_1401024f0(undefined8 param_1,longlong param_2) + +{ + FUN_14001e4b0((undefined8 *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102500.c b/decomp/AgentManager_Release_x64/full/functions/0x140102500.c new file mode 100644 index 00000000..44850e05 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102500.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102500 Unwind@140102500 + * Pseudocode, not original source. */ + +void Unwind_140102500(undefined8 param_1,longlong param_2) + +{ + FUN_14001c5b0((undefined8 *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102510.c b/decomp/AgentManager_Release_x64/full/functions/0x140102510.c new file mode 100644 index 00000000..1e7c34c7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102510.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102510 Unwind@140102510 + * Pseudocode, not original source. */ + +void Unwind_140102510(undefined8 param_1,longlong param_2) + +{ + FUN_14001e4b0((undefined8 *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102520.c b/decomp/AgentManager_Release_x64/full/functions/0x140102520.c new file mode 100644 index 00000000..4a7fa534 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102520.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102520 Unwind@140102520 + * Pseudocode, not original source. */ + +void Unwind_140102520(undefined8 param_1,longlong param_2) + +{ + FUN_14001c5b0((undefined8 *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102530.c b/decomp/AgentManager_Release_x64/full/functions/0x140102530.c new file mode 100644 index 00000000..49abe55e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102530.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102530 Unwind@140102530 + * Pseudocode, not original source. */ + +void Unwind_140102530(undefined8 param_1,longlong param_2) + +{ + FUN_14001e4b0((undefined8 *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102540.c b/decomp/AgentManager_Release_x64/full/functions/0x140102540.c new file mode 100644 index 00000000..f6264720 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102540.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102540 Unwind@140102540 + * Pseudocode, not original source. */ + +void Unwind_140102540(undefined8 param_1,longlong param_2) + +{ + FUN_14001c5b0((undefined8 *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102550.c b/decomp/AgentManager_Release_x64/full/functions/0x140102550.c new file mode 100644 index 00000000..a9011ab2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102550.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102550 Unwind@140102550 + * Pseudocode, not original source. */ + +void Unwind_140102550(undefined8 param_1,longlong param_2) + +{ + FUN_14001e4b0((undefined8 *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102560.c b/decomp/AgentManager_Release_x64/full/functions/0x140102560.c new file mode 100644 index 00000000..bf5ecf08 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102560.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102560 Unwind@140102560 + * Pseudocode, not original source. */ + +void Unwind_140102560(undefined8 param_1,longlong param_2) + +{ + FUN_14001c5b0((undefined8 *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102570.c b/decomp/AgentManager_Release_x64/full/functions/0x140102570.c new file mode 100644 index 00000000..a687c0eb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102570.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102570 Unwind@140102570 + * Pseudocode, not original source. */ + +void Unwind_140102570(undefined8 param_1,longlong param_2) + +{ + FUN_140001550((undefined8 *)(param_2 + 0x1b0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102580.c b/decomp/AgentManager_Release_x64/full/functions/0x140102580.c new file mode 100644 index 00000000..b8949e6f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102580.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102580 Unwind@140102580 + * Pseudocode, not original source. */ + +void Unwind_140102580(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0x200)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102590.c b/decomp/AgentManager_Release_x64/full/functions/0x140102590.c new file mode 100644 index 00000000..d58b58ac --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102590.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102590 Unwind@140102590 + * Pseudocode, not original source. */ + +void Unwind_140102590(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14001c5e0((undefined8 *)(param_2 + 0x30),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401025a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401025a0.c new file mode 100644 index 00000000..93c13d5a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401025a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401025a0 Unwind@1401025a0 + * Pseudocode, not original source. */ + +void Unwind_1401025a0(undefined8 param_1,longlong param_2) + +{ + FUN_14001e4b0((undefined8 *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401025b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401025b0.c new file mode 100644 index 00000000..e51f7ba6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401025b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401025b0 Unwind@1401025b0 + * Pseudocode, not original source. */ + +void Unwind_1401025b0(undefined8 param_1,longlong param_2) + +{ + FUN_14001c5b0((undefined8 *)(param_2 + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401025c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401025c0.c new file mode 100644 index 00000000..adc0ca0a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401025c0.c @@ -0,0 +1,15 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401025c0 Unwind@1401025c0 + * Pseudocode, not original source. */ + +void Unwind_1401025c0(undefined8 param_1,longlong param_2) + +{ + if ((*(uint *)(param_2 + 0x20) & 1) != 0) { + *(uint *)(param_2 + 0x20) = *(uint *)(param_2 + 0x20) & 0xfffffffe; + std::basic_ios_>::~basic_ios_> + ((basic_ios_> *)(param_2 + 0x148)); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102600.c b/decomp/AgentManager_Release_x64/full/functions/0x140102600.c new file mode 100644 index 00000000..4c0641de --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102600.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102600 Unwind@140102600 + * Pseudocode, not original source. */ + +void Unwind_140102600(undefined8 param_1,longlong param_2) + +{ + /* WARNING: Could not recover jumptable at 0x00014010260b. Too many branches */ + /* WARNING: Treating indirect jump as call */ + std::basic_ostream_>::~basic_ostream_> + ((basic_ostream_> *)(param_2 + 200)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102620.c b/decomp/AgentManager_Release_x64/full/functions/0x140102620.c new file mode 100644 index 00000000..dd2dbdde --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102620.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102620 Unwind@140102620 + * Pseudocode, not original source. */ + +void Unwind_140102620(undefined8 param_1,longlong param_2) + +{ + /* WARNING: Could not recover jumptable at 0x000140102627. Too many branches */ + /* WARNING: Treating indirect jump as call */ + std::basic_streambuf_>::~basic_streambuf_> + (*(basic_streambuf_> **)(param_2 + 0x228)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102630.c b/decomp/AgentManager_Release_x64/full/functions/0x140102630.c new file mode 100644 index 00000000..0ef6a280 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102630.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102630 Unwind@140102630 + * Pseudocode, not original source. */ + +void Unwind_140102630(undefined8 param_1,longlong param_2) + +{ + FUN_140030fd0(param_2 + 0xc0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102640.c b/decomp/AgentManager_Release_x64/full/functions/0x140102640.c new file mode 100644 index 00000000..7b254a20 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102640.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102640 Unwind@140102640 + * Pseudocode, not original source. */ + +void Unwind_140102640(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0x1d8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102650.c b/decomp/AgentManager_Release_x64/full/functions/0x140102650.c new file mode 100644 index 00000000..e8503820 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102650.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102650 Unwind@140102650 + * Pseudocode, not original source. */ + +void Unwind_140102650(undefined8 param_1,longlong param_2) + +{ + FUN_14001e4b0((undefined8 *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102660.c b/decomp/AgentManager_Release_x64/full/functions/0x140102660.c new file mode 100644 index 00000000..96791c75 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102660.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102660 Unwind@140102660 + * Pseudocode, not original source. */ + +void Unwind_140102660(undefined8 param_1,longlong param_2) + +{ + FUN_14001c5b0((undefined8 *)(param_2 + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102670.c b/decomp/AgentManager_Release_x64/full/functions/0x140102670.c new file mode 100644 index 00000000..8dedc8b0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102670.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102670 Unwind@140102670 + * Pseudocode, not original source. */ + +void Unwind_140102670(undefined8 param_1,longlong param_2) + +{ + FUN_140001550((undefined8 *)(param_2 + 0xd0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102680.c b/decomp/AgentManager_Release_x64/full/functions/0x140102680.c new file mode 100644 index 00000000..bfe04f50 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102680.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102680 Unwind@140102680 + * Pseudocode, not original source. */ + +void Unwind_140102680(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0xa8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102690.c b/decomp/AgentManager_Release_x64/full/functions/0x140102690.c new file mode 100644 index 00000000..f7444543 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102690.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102690 Unwind@140102690 + * Pseudocode, not original source. */ + +void Unwind_140102690(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_14001c5e0((undefined8 *)(param_2 + 0x20),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401026a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401026a0.c new file mode 100644 index 00000000..6e8d0aed --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401026a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401026a0 Unwind@1401026a0 + * Pseudocode, not original source. */ + +void Unwind_1401026a0(undefined8 param_1,longlong param_2) + +{ + FUN_14001e4b0((undefined8 *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401026b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401026b0.c new file mode 100644 index 00000000..de16a977 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401026b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401026b0 Unwind@1401026b0 + * Pseudocode, not original source. */ + +void Unwind_1401026b0(undefined8 param_1,longlong param_2) + +{ + FUN_14001c5b0((undefined8 *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401026c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401026c0.c new file mode 100644 index 00000000..74c1c7f8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401026c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401026c0 Unwind@1401026c0 + * Pseudocode, not original source. */ + +void Unwind_1401026c0(undefined8 param_1,longlong param_2) + +{ + FUN_14001e4b0((undefined8 *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401026d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401026d0.c new file mode 100644 index 00000000..a7e63586 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401026d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401026d0 Unwind@1401026d0 + * Pseudocode, not original source. */ + +void Unwind_1401026d0(undefined8 param_1,longlong param_2) + +{ + FUN_14001c5b0((undefined8 *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401026e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401026e0.c new file mode 100644 index 00000000..4dc03f19 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401026e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401026e0 Unwind@1401026e0 + * Pseudocode, not original source. */ + +void Unwind_1401026e0(undefined8 param_1,longlong param_2) + +{ + FUN_140001550((undefined8 *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401026f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401026f0.c new file mode 100644 index 00000000..5ea0e9a7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401026f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401026f0 Unwind@1401026f0 + * Pseudocode, not original source. */ + +void Unwind_1401026f0(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0xb0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102700.c b/decomp/AgentManager_Release_x64/full/functions/0x140102700.c new file mode 100644 index 00000000..99751e61 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102700.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102700 Unwind@140102700 + * Pseudocode, not original source. */ + +void Unwind_140102700(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0x78)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102710.c b/decomp/AgentManager_Release_x64/full/functions/0x140102710.c new file mode 100644 index 00000000..f30a1c46 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102710.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102710 Unwind@140102710 + * Pseudocode, not original source. */ + +void Unwind_140102710(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x48); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102720.c b/decomp/AgentManager_Release_x64/full/functions/0x140102720.c new file mode 100644 index 00000000..bdd1a3d4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102720.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102720 Unwind@140102720 + * Pseudocode, not original source. */ + +void Unwind_140102720(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0xb0) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102730.c b/decomp/AgentManager_Release_x64/full/functions/0x140102730.c new file mode 100644 index 00000000..6564843d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102730.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102730 Unwind@140102730 + * Pseudocode, not original source. */ + +void Unwind_140102730(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x48); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102740.c b/decomp/AgentManager_Release_x64/full/functions/0x140102740.c new file mode 100644 index 00000000..9e940fc5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102740.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102740 Unwind@140102740 + * Pseudocode, not original source. */ + +void Unwind_140102740(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0xc0) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102750.c b/decomp/AgentManager_Release_x64/full/functions/0x140102750.c new file mode 100644 index 00000000..9b07148c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102750.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102750 Unwind@140102750 + * Pseudocode, not original source. */ + +void Unwind_140102750(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102760.c b/decomp/AgentManager_Release_x64/full/functions/0x140102760.c new file mode 100644 index 00000000..bd541186 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102760.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102760 Unwind@140102760 + * Pseudocode, not original source. */ + +void Unwind_140102760(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0x78)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102770.c b/decomp/AgentManager_Release_x64/full/functions/0x140102770.c new file mode 100644 index 00000000..168fc4ea --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102770.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102770 Unwind@140102770 + * Pseudocode, not original source. */ + +void Unwind_140102770(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102780.c b/decomp/AgentManager_Release_x64/full/functions/0x140102780.c new file mode 100644 index 00000000..96510f5a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102780.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102780 Unwind@140102780 + * Pseudocode, not original source. */ + +void Unwind_140102780(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102790.c b/decomp/AgentManager_Release_x64/full/functions/0x140102790.c new file mode 100644 index 00000000..d63a0bee --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102790.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102790 Unwind@140102790 + * Pseudocode, not original source. */ + +void Unwind_140102790(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0x178)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401027a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401027a0.c new file mode 100644 index 00000000..6e17db11 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401027a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401027a0 Unwind@1401027a0 + * Pseudocode, not original source. */ + +void Unwind_1401027a0(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0x90)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401027b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401027b0.c new file mode 100644 index 00000000..ebd6eeee --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401027b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401027b0 Unwind@1401027b0 + * Pseudocode, not original source. */ + +void Unwind_1401027b0(undefined8 param_1,longlong param_2) + +{ + FUN_1400117d0((longlong *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401027c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401027c0.c new file mode 100644 index 00000000..281ef2af --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401027c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401027c0 Unwind@1401027c0 + * Pseudocode, not original source. */ + +void Unwind_1401027c0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401027d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401027d0.c new file mode 100644 index 00000000..8a3bb348 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401027d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401027d0 Unwind@1401027d0 + * Pseudocode, not original source. */ + +void Unwind_1401027d0(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401027e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401027e0.c new file mode 100644 index 00000000..efeafd22 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401027e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401027e0 Unwind@1401027e0 + * Pseudocode, not original source. */ + +void Unwind_1401027e0(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0x118)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401027f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401027f0.c new file mode 100644 index 00000000..b9b118e3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401027f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401027f0 Unwind@1401027f0 + * Pseudocode, not original source. */ + +void Unwind_1401027f0(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0x90)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102800.c b/decomp/AgentManager_Release_x64/full/functions/0x140102800.c new file mode 100644 index 00000000..a4716644 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102800.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102800 Unwind@140102800 + * Pseudocode, not original source. */ + +void Unwind_140102800(undefined8 param_1,longlong param_2) + +{ + FUN_1400117d0((longlong *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102810.c b/decomp/AgentManager_Release_x64/full/functions/0x140102810.c new file mode 100644 index 00000000..34236d7c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102810.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102810 Unwind@140102810 + * Pseudocode, not original source. */ + +void Unwind_140102810(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102820.c b/decomp/AgentManager_Release_x64/full/functions/0x140102820.c new file mode 100644 index 00000000..283b400c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102820.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102820 Unwind@140102820 + * Pseudocode, not original source. */ + +void Unwind_140102820(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102830.c b/decomp/AgentManager_Release_x64/full/functions/0x140102830.c new file mode 100644 index 00000000..8f8b4016 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102830.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102830 Unwind@140102830 + * Pseudocode, not original source. */ + +void Unwind_140102830(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0x98)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102840.c b/decomp/AgentManager_Release_x64/full/functions/0x140102840.c new file mode 100644 index 00000000..59e4a7b2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102840.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102840 Unwind@140102840 + * Pseudocode, not original source. */ + +void Unwind_140102840(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0x70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102850.c b/decomp/AgentManager_Release_x64/full/functions/0x140102850.c new file mode 100644 index 00000000..0c5d7c85 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102850.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102850 Unwind@140102850 + * Pseudocode, not original source. */ + +void Unwind_140102850(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102860.c b/decomp/AgentManager_Release_x64/full/functions/0x140102860.c new file mode 100644 index 00000000..e8d19726 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102860.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102860 Unwind@140102860 + * Pseudocode, not original source. */ + +void Unwind_140102860(undefined8 param_1,longlong param_2) + +{ + FUN_1400103c0((longlong *)(param_2 + 0xe0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102870.c b/decomp/AgentManager_Release_x64/full/functions/0x140102870.c new file mode 100644 index 00000000..98dcdc1a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102870.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102870 Unwind@140102870 + * Pseudocode, not original source. */ + +void Unwind_140102870(undefined8 param_1,longlong param_2) + +{ + FUN_140023550((undefined8 *)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102880.c b/decomp/AgentManager_Release_x64/full/functions/0x140102880.c new file mode 100644 index 00000000..3d979a90 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102880.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102880 Unwind@140102880 + * Pseudocode, not original source. */ + +void Unwind_140102880(undefined8 param_1,longlong param_2) + +{ + FUN_140023550((undefined8 *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102890.c b/decomp/AgentManager_Release_x64/full/functions/0x140102890.c new file mode 100644 index 00000000..b6ba1a81 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102890.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102890 Unwind@140102890 + * Pseudocode, not original source. */ + +void Unwind_140102890(undefined8 param_1,longlong param_2) + +{ + FUN_140004a60((undefined8 *)(param_2 + 0x70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401028a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401028a0.c new file mode 100644 index 00000000..bb60bd1f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401028a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401028a0 Unwind@1401028a0 + * Pseudocode, not original source. */ + +void Unwind_1401028a0(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401028c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401028c0.c new file mode 100644 index 00000000..1c6ffe35 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401028c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401028c0 Unwind@1401028c0 + * Pseudocode, not original source. */ + +void Unwind_1401028c0(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401028e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401028e0.c new file mode 100644 index 00000000..9ddcc381 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401028e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401028e0 Unwind@1401028e0 + * Pseudocode, not original source. */ + +void Unwind_1401028e0(undefined8 param_1,longlong param_2) + +{ + FUN_140004e90(param_2 + 0x120); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401028f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401028f0.c new file mode 100644 index 00000000..7b7be768 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401028f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401028f0 Unwind@1401028f0 + * Pseudocode, not original source. */ + +void Unwind_1401028f0(undefined8 param_1,longlong param_2) + +{ + FUN_140004c70(param_2 + 0x120); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102900.c b/decomp/AgentManager_Release_x64/full/functions/0x140102900.c new file mode 100644 index 00000000..af4adc69 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102900.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102900 Unwind@140102900 + * Pseudocode, not original source. */ + +void Unwind_140102900(undefined8 param_1,longlong param_2) + +{ + FUN_1400103c0((longlong *)(param_2 + 0x1c0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102910.c b/decomp/AgentManager_Release_x64/full/functions/0x140102910.c new file mode 100644 index 00000000..a72a906a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102910.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102910 Unwind@140102910 + * Pseudocode, not original source. */ + +void Unwind_140102910(undefined8 param_1,longlong param_2) + +{ + FUN_1400103c0(*(longlong **)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102920.c b/decomp/AgentManager_Release_x64/full/functions/0x140102920.c new file mode 100644 index 00000000..69ddc23b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102920.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102920 Unwind@140102920 + * Pseudocode, not original source. */ + +void Unwind_140102920(undefined8 param_1,longlong param_2) + +{ + FUN_1400103c0(*(longlong **)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102930.c b/decomp/AgentManager_Release_x64/full/functions/0x140102930.c new file mode 100644 index 00000000..a3a9cf60 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102930.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102930 Unwind@140102930 + * Pseudocode, not original source. */ + +void Unwind_140102930(undefined8 param_1,longlong param_2) + +{ + FUN_1400103c0(*(longlong **)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102940.c b/decomp/AgentManager_Release_x64/full/functions/0x140102940.c new file mode 100644 index 00000000..f28de032 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102940.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102940 Unwind@140102940 + * Pseudocode, not original source. */ + +void Unwind_140102940(undefined8 param_1,longlong param_2) + +{ + FUN_1400103c0((longlong *)(param_2 + 0x110)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102950.c b/decomp/AgentManager_Release_x64/full/functions/0x140102950.c new file mode 100644 index 00000000..64b126db --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102950.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102950 Unwind@140102950 + * Pseudocode, not original source. */ + +void Unwind_140102950(undefined8 param_1,longlong param_2) + +{ + FUN_140004a60((undefined8 *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102960.c b/decomp/AgentManager_Release_x64/full/functions/0x140102960.c new file mode 100644 index 00000000..3613e025 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102960.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102960 Unwind@140102960 + * Pseudocode, not original source. */ + +void Unwind_140102960(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102980.c b/decomp/AgentManager_Release_x64/full/functions/0x140102980.c new file mode 100644 index 00000000..ed6faf85 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102980.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102980 Unwind@140102980 + * Pseudocode, not original source. */ + +void Unwind_140102980(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401029a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401029a0.c new file mode 100644 index 00000000..2f77bcf5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401029a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401029a0 Unwind@1401029a0 + * Pseudocode, not original source. */ + +void Unwind_1401029a0(undefined8 param_1,longlong param_2) + +{ + FUN_140023550((undefined8 *)(param_2 + 0x90)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401029b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401029b0.c new file mode 100644 index 00000000..089ac9a4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401029b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401029b0 Unwind@1401029b0 + * Pseudocode, not original source. */ + +void Unwind_1401029b0(undefined8 param_1,longlong param_2) + +{ + FUN_140023550((undefined8 *)(param_2 + 0xb0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401029c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401029c0.c new file mode 100644 index 00000000..f182a9b9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401029c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401029c0 Unwind@1401029c0 + * Pseudocode, not original source. */ + +void Unwind_1401029c0(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_14001a110((undefined8 *)(param_2 + 0xe0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401029d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401029d0.c new file mode 100644 index 00000000..08053d3d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401029d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401029d0 Unwind@1401029d0 + * Pseudocode, not original source. */ + +void Unwind_1401029d0(undefined8 param_1,longlong param_2) + +{ + FUN_140004e90(param_2 + 0x150); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401029e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401029e0.c new file mode 100644 index 00000000..aba69ba3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401029e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401029e0 Unwind@1401029e0 + * Pseudocode, not original source. */ + +void Unwind_1401029e0(undefined8 param_1,longlong param_2) + +{ + FUN_140004c70(param_2 + 0x150); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401029f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401029f0.c new file mode 100644 index 00000000..2a41387e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401029f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401029f0 Unwind@1401029f0 + * Pseudocode, not original source. */ + +void Unwind_1401029f0(undefined8 param_1,longlong param_2) + +{ + FUN_140023550((undefined8 *)(param_2 + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102a00.c b/decomp/AgentManager_Release_x64/full/functions/0x140102a00.c new file mode 100644 index 00000000..2601b5b5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102a00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102a00 Unwind@140102a00 + * Pseudocode, not original source. */ + +void Unwind_140102a00(undefined8 param_1,longlong param_2) + +{ + FUN_1400103c0((longlong *)(param_2 + 0x130)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102a10.c b/decomp/AgentManager_Release_x64/full/functions/0x140102a10.c new file mode 100644 index 00000000..e3745fef --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102a10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102a10 Unwind@140102a10 + * Pseudocode, not original source. */ + +void Unwind_140102a10(undefined8 param_1,longlong param_2) + +{ + FUN_140004a60((undefined8 *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102a20.c b/decomp/AgentManager_Release_x64/full/functions/0x140102a20.c new file mode 100644 index 00000000..b32eb0d4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102a20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102a20 Unwind@140102a20 + * Pseudocode, not original source. */ + +void Unwind_140102a20(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102a40.c b/decomp/AgentManager_Release_x64/full/functions/0x140102a40.c new file mode 100644 index 00000000..5ec67f0e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102a40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102a40 Unwind@140102a40 + * Pseudocode, not original source. */ + +void Unwind_140102a40(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102a60.c b/decomp/AgentManager_Release_x64/full/functions/0x140102a60.c new file mode 100644 index 00000000..b5e9e28e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102a60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102a60 Unwind@140102a60 + * Pseudocode, not original source. */ + +void Unwind_140102a60(undefined8 param_1,longlong param_2) + +{ + FUN_140023550((undefined8 *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102a70.c b/decomp/AgentManager_Release_x64/full/functions/0x140102a70.c new file mode 100644 index 00000000..ddd17a38 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102a70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102a70 Unwind@140102a70 + * Pseudocode, not original source. */ + +void Unwind_140102a70(undefined8 param_1,longlong param_2) + +{ + FUN_140004e90(param_2 + 0x170); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102a80.c b/decomp/AgentManager_Release_x64/full/functions/0x140102a80.c new file mode 100644 index 00000000..b054fb36 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102a80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102a80 Unwind@140102a80 + * Pseudocode, not original source. */ + +void Unwind_140102a80(undefined8 param_1,longlong param_2) + +{ + FUN_140004c70(param_2 + 0x170); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102a90.c b/decomp/AgentManager_Release_x64/full/functions/0x140102a90.c new file mode 100644 index 00000000..2eb50386 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102a90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102a90 Unwind@140102a90 + * Pseudocode, not original source. */ + +void Unwind_140102a90(undefined8 param_1,longlong param_2) + +{ + FUN_140004e90(param_2 + 0x140); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102aa0.c b/decomp/AgentManager_Release_x64/full/functions/0x140102aa0.c new file mode 100644 index 00000000..d5f271f0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102aa0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102aa0 Unwind@140102aa0 + * Pseudocode, not original source. */ + +void Unwind_140102aa0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102ab0.c b/decomp/AgentManager_Release_x64/full/functions/0x140102ab0.c new file mode 100644 index 00000000..b2da2b2f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102ab0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102ab0 Unwind@140102ab0 + * Pseudocode, not original source. */ + +void Unwind_140102ab0(undefined8 param_1,longlong param_2) + +{ + FUN_140001550((undefined8 *)(param_2 + 0x110)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102ac0.c b/decomp/AgentManager_Release_x64/full/functions/0x140102ac0.c new file mode 100644 index 00000000..81a2230b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102ac0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102ac0 Unwind@140102ac0 + * Pseudocode, not original source. */ + +void Unwind_140102ac0(undefined8 param_1,longlong param_2) + +{ + FUN_140001550((undefined8 *)(param_2 + 0x1e0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102ad0.c b/decomp/AgentManager_Release_x64/full/functions/0x140102ad0.c new file mode 100644 index 00000000..60546228 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102ad0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102ad0 Unwind@140102ad0 + * Pseudocode, not original source. */ + +void Unwind_140102ad0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102ae0.c b/decomp/AgentManager_Release_x64/full/functions/0x140102ae0.c new file mode 100644 index 00000000..72f7728a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102ae0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102ae0 Unwind@140102ae0 + * Pseudocode, not original source. */ + +void Unwind_140102ae0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x50),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102af0.c b/decomp/AgentManager_Release_x64/full/functions/0x140102af0.c new file mode 100644 index 00000000..3f5a6eca --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102af0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102af0 Unwind@140102af0 + * Pseudocode, not original source. */ + +void Unwind_140102af0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x68)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102b00.c b/decomp/AgentManager_Release_x64/full/functions/0x140102b00.c new file mode 100644 index 00000000..1772feca --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102b00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102b00 Unwind@140102b00 + * Pseudocode, not original source. */ + +void Unwind_140102b00(undefined8 param_1,longlong param_2) + +{ + FUN_140004a60((undefined8 *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102b10.c b/decomp/AgentManager_Release_x64/full/functions/0x140102b10.c new file mode 100644 index 00000000..08996514 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102b10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102b10 Unwind@140102b10 + * Pseudocode, not original source. */ + +void Unwind_140102b10(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102b30.c b/decomp/AgentManager_Release_x64/full/functions/0x140102b30.c new file mode 100644 index 00000000..8da89108 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102b30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102b30 Unwind@140102b30 + * Pseudocode, not original source. */ + +void Unwind_140102b30(void) + +{ + FUN_14002efb0(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102b50.c b/decomp/AgentManager_Release_x64/full/functions/0x140102b50.c new file mode 100644 index 00000000..cdf560c8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102b50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102b50 Unwind@140102b50 + * Pseudocode, not original source. */ + +void Unwind_140102b50(undefined8 param_1,longlong param_2) + +{ + FUN_140004e90(param_2 + 0xb0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102b60.c b/decomp/AgentManager_Release_x64/full/functions/0x140102b60.c new file mode 100644 index 00000000..270c506c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102b60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102b60 Unwind@140102b60 + * Pseudocode, not original source. */ + +void Unwind_140102b60(undefined8 param_1,longlong param_2) + +{ + FUN_140004c70(param_2 + 0xb0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102b70.c b/decomp/AgentManager_Release_x64/full/functions/0x140102b70.c new file mode 100644 index 00000000..e011b20a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102b70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102b70 Unwind@140102b70 + * Pseudocode, not original source. */ + +void Unwind_140102b70(undefined8 param_1,longlong param_2) + +{ + FUN_140023550((undefined8 *)(param_2 + 0x90)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102b80.c b/decomp/AgentManager_Release_x64/full/functions/0x140102b80.c new file mode 100644 index 00000000..1afe67d2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102b80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102b80 Unwind@140102b80 + * Pseudocode, not original source. */ + +void Unwind_140102b80(undefined8 param_1,longlong param_2) + +{ + FUN_1400103c0(*(longlong **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102b90.c b/decomp/AgentManager_Release_x64/full/functions/0x140102b90.c new file mode 100644 index 00000000..bfa9a483 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102b90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102b90 Unwind@140102b90 + * Pseudocode, not original source. */ + +void Unwind_140102b90(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0x70)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102ba0.c b/decomp/AgentManager_Release_x64/full/functions/0x140102ba0.c new file mode 100644 index 00000000..60bec252 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102ba0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102ba0 Unwind@140102ba0 + * Pseudocode, not original source. */ + +void Unwind_140102ba0(undefined8 param_1,longlong param_2) + +{ + FUN_1400117d0((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102bb0.c b/decomp/AgentManager_Release_x64/full/functions/0x140102bb0.c new file mode 100644 index 00000000..42da7949 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102bb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102bb0 Unwind@140102bb0 + * Pseudocode, not original source. */ + +void Unwind_140102bb0(undefined8 param_1,longlong param_2) + +{ + FUN_1400117d0((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102bc0.c b/decomp/AgentManager_Release_x64/full/functions/0x140102bc0.c new file mode 100644 index 00000000..eb89656c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102bc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102bc0 Unwind@140102bc0 + * Pseudocode, not original source. */ + +void Unwind_140102bc0(undefined8 param_1,longlong param_2) + +{ + FUN_140001550((undefined8 *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102bd0.c b/decomp/AgentManager_Release_x64/full/functions/0x140102bd0.c new file mode 100644 index 00000000..9472ead6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102bd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102bd0 Unwind@140102bd0 + * Pseudocode, not original source. */ + +void Unwind_140102bd0(undefined8 param_1,longlong param_2) + +{ + FUN_14000ad30((longlong *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102be0.c b/decomp/AgentManager_Release_x64/full/functions/0x140102be0.c new file mode 100644 index 00000000..e7cf4e58 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102be0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102be0 Unwind@140102be0 + * Pseudocode, not original source. */ + +void Unwind_140102be0(undefined8 param_1,longlong param_2) + +{ + FUN_1400075b0((longlong *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102bf0.c b/decomp/AgentManager_Release_x64/full/functions/0x140102bf0.c new file mode 100644 index 00000000..5b6a9e7e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102bf0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102bf0 Unwind@140102bf0 + * Pseudocode, not original source. */ + +void Unwind_140102bf0(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_14000a240((undefined8 *)(param_2 + 0x58)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102c00.c b/decomp/AgentManager_Release_x64/full/functions/0x140102c00.c new file mode 100644 index 00000000..72581f01 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102c00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102c00 Unwind@140102c00 + * Pseudocode, not original source. */ + +void Unwind_140102c00(undefined8 param_1,longlong param_2) + +{ + FUN_140004e90(param_2 + 0x160); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102c10.c b/decomp/AgentManager_Release_x64/full/functions/0x140102c10.c new file mode 100644 index 00000000..29d78048 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102c10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102c10 Unwind@140102c10 + * Pseudocode, not original source. */ + +void Unwind_140102c10(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x78); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102c20.c b/decomp/AgentManager_Release_x64/full/functions/0x140102c20.c new file mode 100644 index 00000000..38924025 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102c20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102c20 Unwind@140102c20 + * Pseudocode, not original source. */ + +void Unwind_140102c20(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x20); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102c30.c b/decomp/AgentManager_Release_x64/full/functions/0x140102c30.c new file mode 100644 index 00000000..3f09fe66 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102c30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102c30 Unwind@140102c30 + * Pseudocode, not original source. */ + +void Unwind_140102c30(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x78); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102c40.c b/decomp/AgentManager_Release_x64/full/functions/0x140102c40.c new file mode 100644 index 00000000..8e1d01ab --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102c40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102c40 Unwind@140102c40 + * Pseudocode, not original source. */ + +void Unwind_140102c40(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x20); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102c50.c b/decomp/AgentManager_Release_x64/full/functions/0x140102c50.c new file mode 100644 index 00000000..4ad29ae8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102c50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102c50 Unwind@140102c50 + * Pseudocode, not original source. */ + +void Unwind_140102c50(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x78); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102c60.c b/decomp/AgentManager_Release_x64/full/functions/0x140102c60.c new file mode 100644 index 00000000..f6faa736 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102c60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102c60 Unwind@140102c60 + * Pseudocode, not original source. */ + +void Unwind_140102c60(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x20); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102c70.c b/decomp/AgentManager_Release_x64/full/functions/0x140102c70.c new file mode 100644 index 00000000..9c814a76 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102c70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102c70 Unwind@140102c70 + * Pseudocode, not original source. */ + +void Unwind_140102c70(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x78); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102c80.c b/decomp/AgentManager_Release_x64/full/functions/0x140102c80.c new file mode 100644 index 00000000..37093341 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102c80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102c80 Unwind@140102c80 + * Pseudocode, not original source. */ + +void Unwind_140102c80(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x20); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102c90.c b/decomp/AgentManager_Release_x64/full/functions/0x140102c90.c new file mode 100644 index 00000000..2140ed06 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102c90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102c90 Unwind@140102c90 + * Pseudocode, not original source. */ + +void Unwind_140102c90(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x78); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102ca0.c b/decomp/AgentManager_Release_x64/full/functions/0x140102ca0.c new file mode 100644 index 00000000..386acdd6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102ca0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102ca0 Unwind@140102ca0 + * Pseudocode, not original source. */ + +void Unwind_140102ca0(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x20); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102cb0.c b/decomp/AgentManager_Release_x64/full/functions/0x140102cb0.c new file mode 100644 index 00000000..d0c1ade7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102cb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102cb0 Unwind@140102cb0 + * Pseudocode, not original source. */ + +void Unwind_140102cb0(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x78); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102cc0.c b/decomp/AgentManager_Release_x64/full/functions/0x140102cc0.c new file mode 100644 index 00000000..07032717 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102cc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102cc0 Unwind@140102cc0 + * Pseudocode, not original source. */ + +void Unwind_140102cc0(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x20); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102cd0.c b/decomp/AgentManager_Release_x64/full/functions/0x140102cd0.c new file mode 100644 index 00000000..5d11c018 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102cd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102cd0 Unwind@140102cd0 + * Pseudocode, not original source. */ + +void Unwind_140102cd0(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x78); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102ce0.c b/decomp/AgentManager_Release_x64/full/functions/0x140102ce0.c new file mode 100644 index 00000000..3cd8ac3f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102ce0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102ce0 Unwind@140102ce0 + * Pseudocode, not original source. */ + +void Unwind_140102ce0(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x20); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102cf0.c b/decomp/AgentManager_Release_x64/full/functions/0x140102cf0.c new file mode 100644 index 00000000..bc8c8605 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102cf0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102cf0 Unwind@140102cf0 + * Pseudocode, not original source. */ + +void Unwind_140102cf0(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x78); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102d00.c b/decomp/AgentManager_Release_x64/full/functions/0x140102d00.c new file mode 100644 index 00000000..8aa929c3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102d00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102d00 Unwind@140102d00 + * Pseudocode, not original source. */ + +void Unwind_140102d00(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x20); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102d10.c b/decomp/AgentManager_Release_x64/full/functions/0x140102d10.c new file mode 100644 index 00000000..65d1c4e7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102d10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102d10 Unwind@140102d10 + * Pseudocode, not original source. */ + +void Unwind_140102d10(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x78); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102d20.c b/decomp/AgentManager_Release_x64/full/functions/0x140102d20.c new file mode 100644 index 00000000..a300e72a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102d20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102d20 Unwind@140102d20 + * Pseudocode, not original source. */ + +void Unwind_140102d20(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x20); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102d30.c b/decomp/AgentManager_Release_x64/full/functions/0x140102d30.c new file mode 100644 index 00000000..c2bb7240 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102d30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102d30 Unwind@140102d30 + * Pseudocode, not original source. */ + +void Unwind_140102d30(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x78); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102d40.c b/decomp/AgentManager_Release_x64/full/functions/0x140102d40.c new file mode 100644 index 00000000..5fdf7f33 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102d40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102d40 Unwind@140102d40 + * Pseudocode, not original source. */ + +void Unwind_140102d40(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0xc0),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102d50.c b/decomp/AgentManager_Release_x64/full/functions/0x140102d50.c new file mode 100644 index 00000000..1e497b10 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102d50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102d50 Unwind@140102d50 + * Pseudocode, not original source. */ + +void Unwind_140102d50(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x100)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102d60.c b/decomp/AgentManager_Release_x64/full/functions/0x140102d60.c new file mode 100644 index 00000000..827562ed --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102d60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102d60 Unwind@140102d60 + * Pseudocode, not original source. */ + +void Unwind_140102d60(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xe0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102d70.c b/decomp/AgentManager_Release_x64/full/functions/0x140102d70.c new file mode 100644 index 00000000..c3747134 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102d70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102d70 Unwind@140102d70 + * Pseudocode, not original source. */ + +void Unwind_140102d70(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x98),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102d80.c b/decomp/AgentManager_Release_x64/full/functions/0x140102d80.c new file mode 100644 index 00000000..97a8a282 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102d80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102d80 Unwind@140102d80 + * Pseudocode, not original source. */ + +void Unwind_140102d80(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x120)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102d90.c b/decomp/AgentManager_Release_x64/full/functions/0x140102d90.c new file mode 100644 index 00000000..16ddb01a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102d90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102d90 Unwind@140102d90 + * Pseudocode, not original source. */ + +void Unwind_140102d90(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xd0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102da0.c b/decomp/AgentManager_Release_x64/full/functions/0x140102da0.c new file mode 100644 index 00000000..a53bfe9d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102da0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102da0 Unwind@140102da0 + * Pseudocode, not original source. */ + +void Unwind_140102da0(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x78); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102db0.c b/decomp/AgentManager_Release_x64/full/functions/0x140102db0.c new file mode 100644 index 00000000..b61f95ef --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102db0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102db0 Unwind@140102db0 + * Pseudocode, not original source. */ + +void Unwind_140102db0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 200),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102dc0.c b/decomp/AgentManager_Release_x64/full/functions/0x140102dc0.c new file mode 100644 index 00000000..09a8f6eb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102dc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102dc0 Unwind@140102dc0 + * Pseudocode, not original source. */ + +void Unwind_140102dc0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x130)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102dd0.c b/decomp/AgentManager_Release_x64/full/functions/0x140102dd0.c new file mode 100644 index 00000000..1f4d2d63 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102dd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102dd0 Unwind@140102dd0 + * Pseudocode, not original source. */ + +void Unwind_140102dd0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0xf0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102de0.c b/decomp/AgentManager_Release_x64/full/functions/0x140102de0.c new file mode 100644 index 00000000..8c26c612 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102de0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102de0 Unwind@140102de0 + * Pseudocode, not original source. */ + +void Unwind_140102de0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x98),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102df0.c b/decomp/AgentManager_Release_x64/full/functions/0x140102df0.c new file mode 100644 index 00000000..ff152d9c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102df0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102df0 Unwind@140102df0 + * Pseudocode, not original source. */ + +void Unwind_140102df0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x110)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102e00.c b/decomp/AgentManager_Release_x64/full/functions/0x140102e00.c new file mode 100644 index 00000000..25ad8fe9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102e00.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102e00 Unwind@140102e00 + * Pseudocode, not original source. */ + +void Unwind_140102e00(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x140)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102e10.c b/decomp/AgentManager_Release_x64/full/functions/0x140102e10.c new file mode 100644 index 00000000..93c66891 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102e10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102e10 Unwind@140102e10 + * Pseudocode, not original source. */ + +void Unwind_140102e10(undefined8 param_1,longlong param_2) + +{ + FUN_1400075b0((longlong *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102e20.c b/decomp/AgentManager_Release_x64/full/functions/0x140102e20.c new file mode 100644 index 00000000..766a7a37 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102e20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102e20 Unwind@140102e20 + * Pseudocode, not original source. */ + +void Unwind_140102e20(undefined8 param_1,longlong param_2) + +{ + FUN_140004a60((undefined8 *)(param_2 + 0xa0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102e30.c b/decomp/AgentManager_Release_x64/full/functions/0x140102e30.c new file mode 100644 index 00000000..be01f4b6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102e30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102e30 Unwind@140102e30 + * Pseudocode, not original source. */ + +void Unwind_140102e30(undefined8 param_1,longlong param_2) + +{ + FUN_140004e90(param_2 + 0x160); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102e40.c b/decomp/AgentManager_Release_x64/full/functions/0x140102e40.c new file mode 100644 index 00000000..dc83b593 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102e40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102e40 Unwind@140102e40 + * Pseudocode, not original source. */ + +void Unwind_140102e40(undefined8 param_1,longlong param_2) + +{ + FUN_140004c70(param_2 + 0x160); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102e50.c b/decomp/AgentManager_Release_x64/full/functions/0x140102e50.c new file mode 100644 index 00000000..3c4f8508 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102e50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102e50 Unwind@140102e50 + * Pseudocode, not original source. */ + +void Unwind_140102e50(undefined8 param_1,longlong param_2) + +{ + FUN_14000a140((undefined8 *)(param_2 + 0x78)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102e60.c b/decomp/AgentManager_Release_x64/full/functions/0x140102e60.c new file mode 100644 index 00000000..f6f16c23 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102e60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102e60 Unwind@140102e60 + * Pseudocode, not original source. */ + +void Unwind_140102e60(undefined8 param_1,longlong param_2) + +{ + FUN_14000a140(*(undefined8 **)(param_2 + 0x98)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102e70.c b/decomp/AgentManager_Release_x64/full/functions/0x140102e70.c new file mode 100644 index 00000000..531b7a0c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102e70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102e70 Unwind@140102e70 + * Pseudocode, not original source. */ + +void Unwind_140102e70(undefined8 param_1,longlong param_2) + +{ + FUN_1400075b0((longlong *)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102e80.c b/decomp/AgentManager_Release_x64/full/functions/0x140102e80.c new file mode 100644 index 00000000..f8e0006d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102e80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102e80 Unwind@140102e80 + * Pseudocode, not original source. */ + +void Unwind_140102e80(undefined8 param_1,longlong param_2) + +{ + FUN_1400075b0((longlong *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102e90.c b/decomp/AgentManager_Release_x64/full/functions/0x140102e90.c new file mode 100644 index 00000000..be21480b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102e90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102e90 Unwind@140102e90 + * Pseudocode, not original source. */ + +void Unwind_140102e90(undefined8 param_1,longlong param_2) + +{ + FUN_14000ad30((longlong *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102ea0.c b/decomp/AgentManager_Release_x64/full/functions/0x140102ea0.c new file mode 100644 index 00000000..3fef88d4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102ea0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102ea0 Unwind@140102ea0 + * Pseudocode, not original source. */ + +void Unwind_140102ea0(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x20); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102eb0.c b/decomp/AgentManager_Release_x64/full/functions/0x140102eb0.c new file mode 100644 index 00000000..f938d23e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102eb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102eb0 Unwind@140102eb0 + * Pseudocode, not original source. */ + +void Unwind_140102eb0(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x20); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102ec0.c b/decomp/AgentManager_Release_x64/full/functions/0x140102ec0.c new file mode 100644 index 00000000..21dbfa7b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102ec0.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102ec0 Catch@140102ec0 + * Pseudocode, not original source. */ + +undefined * Catch_140102ec0(undefined8 param_1,longlong param_2) + +{ + wprintf(L"[%s] \n"); + (**(code **)(**(longlong **)(param_2 + 0xb8) + 8))(); + printf("Error : %s \n"); + return &DAT_1400083b3; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102f10.c b/decomp/AgentManager_Release_x64/full/functions/0x140102f10.c new file mode 100644 index 00000000..1db172d4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102f10.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102f10 Unwind@140102f10 + * Pseudocode, not original source. */ + +void Unwind_140102f10(undefined8 param_1,longlong param_2) + +{ + FUN_1400075b0((longlong *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102f20.c b/decomp/AgentManager_Release_x64/full/functions/0x140102f20.c new file mode 100644 index 00000000..40ecb18b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102f20.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102f20 Unwind@140102f20 + * Pseudocode, not original source. */ + +void Unwind_140102f20(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x20); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102f30.c b/decomp/AgentManager_Release_x64/full/functions/0x140102f30.c new file mode 100644 index 00000000..899670a4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102f30.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102f30 Unwind@140102f30 + * Pseudocode, not original source. */ + +void Unwind_140102f30(undefined8 param_1,longlong param_2) + +{ + FUN_1400075b0((longlong *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102f40.c b/decomp/AgentManager_Release_x64/full/functions/0x140102f40.c new file mode 100644 index 00000000..dbee9c01 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102f40.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102f40 Unwind@140102f40 + * Pseudocode, not original source. */ + +void Unwind_140102f40(undefined8 param_1,longlong param_2) + +{ + FUN_1400075b0((longlong *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102f50.c b/decomp/AgentManager_Release_x64/full/functions/0x140102f50.c new file mode 100644 index 00000000..a1b421db --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102f50.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102f50 Unwind@140102f50 + * Pseudocode, not original source. */ + +void Unwind_140102f50(undefined8 param_1,longlong param_2) + +{ + thunk_FUN_14000a240((undefined8 *)(param_2 + 0x60)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102f60.c b/decomp/AgentManager_Release_x64/full/functions/0x140102f60.c new file mode 100644 index 00000000..c44f8c69 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102f60.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102f60 Unwind@140102f60 + * Pseudocode, not original source. */ + +void Unwind_140102f60(undefined8 param_1,longlong param_2) + +{ + FUN_140004e90(param_2 + 0xd0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102f70.c b/decomp/AgentManager_Release_x64/full/functions/0x140102f70.c new file mode 100644 index 00000000..8ef5b4c7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102f70.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102f70 Unwind@140102f70 + * Pseudocode, not original source. */ + +void Unwind_140102f70(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x20); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102f80.c b/decomp/AgentManager_Release_x64/full/functions/0x140102f80.c new file mode 100644 index 00000000..30b785aa --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102f80.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102f80 Unwind@140102f80 + * Pseudocode, not original source. */ + +void Unwind_140102f80(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x20); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102f90.c b/decomp/AgentManager_Release_x64/full/functions/0x140102f90.c new file mode 100644 index 00000000..7d223e1f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102f90.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102f90 Unwind@140102f90 + * Pseudocode, not original source. */ + +void Unwind_140102f90(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x20); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102fa0.c b/decomp/AgentManager_Release_x64/full/functions/0x140102fa0.c new file mode 100644 index 00000000..c695f595 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102fa0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102fa0 Unwind@140102fa0 + * Pseudocode, not original source. */ + +void Unwind_140102fa0(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x20); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102fb0.c b/decomp/AgentManager_Release_x64/full/functions/0x140102fb0.c new file mode 100644 index 00000000..1755c2e5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102fb0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102fb0 Unwind@140102fb0 + * Pseudocode, not original source. */ + +void Unwind_140102fb0(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x20); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102fc0.c b/decomp/AgentManager_Release_x64/full/functions/0x140102fc0.c new file mode 100644 index 00000000..ac714d32 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102fc0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102fc0 Unwind@140102fc0 + * Pseudocode, not original source. */ + +void Unwind_140102fc0(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x20); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102fd0.c b/decomp/AgentManager_Release_x64/full/functions/0x140102fd0.c new file mode 100644 index 00000000..8ecf1397 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102fd0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102fd0 Unwind@140102fd0 + * Pseudocode, not original source. */ + +void Unwind_140102fd0(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x20); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102fe0.c b/decomp/AgentManager_Release_x64/full/functions/0x140102fe0.c new file mode 100644 index 00000000..8ae6667f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102fe0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102fe0 Unwind@140102fe0 + * Pseudocode, not original source. */ + +void Unwind_140102fe0(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x20); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140102ff0.c b/decomp/AgentManager_Release_x64/full/functions/0x140102ff0.c new file mode 100644 index 00000000..3fc9ddf4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140102ff0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140102ff0 Unwind@140102ff0 + * Pseudocode, not original source. */ + +void Unwind_140102ff0(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0x20); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103000.c b/decomp/AgentManager_Release_x64/full/functions/0x140103000.c new file mode 100644 index 00000000..ca7b83b6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103000.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103000 Unwind@140103000 + * Pseudocode, not original source. */ + +void Unwind_140103000(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0xa0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103010.c b/decomp/AgentManager_Release_x64/full/functions/0x140103010.c new file mode 100644 index 00000000..49ed3e81 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103010.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103010 Unwind@140103010 + * Pseudocode, not original source. */ + +void Unwind_140103010(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x90),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103020.c b/decomp/AgentManager_Release_x64/full/functions/0x140103020.c new file mode 100644 index 00000000..cb920d2d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103020.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103020 Unwind@140103020 + * Pseudocode, not original source. */ + +void Unwind_140103020(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x80)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103030.c b/decomp/AgentManager_Release_x64/full/functions/0x140103030.c new file mode 100644 index 00000000..3bed9d29 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103030.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103030 Unwind@140103030 + * Pseudocode, not original source. */ + +void Unwind_140103030(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103040.c b/decomp/AgentManager_Release_x64/full/functions/0x140103040.c new file mode 100644 index 00000000..2e1528a6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103040.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103040 Unwind@140103040 + * Pseudocode, not original source. */ + +void Unwind_140103040(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x80),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103050.c b/decomp/AgentManager_Release_x64/full/functions/0x140103050.c new file mode 100644 index 00000000..aa85ce66 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103050.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103050 Unwind@140103050 + * Pseudocode, not original source. */ + +void Unwind_140103050(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103060.c b/decomp/AgentManager_Release_x64/full/functions/0x140103060.c new file mode 100644 index 00000000..e1e97b62 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103060.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103060 Unwind@140103060 + * Pseudocode, not original source. */ + +void Unwind_140103060(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103070.c b/decomp/AgentManager_Release_x64/full/functions/0x140103070.c new file mode 100644 index 00000000..6ee57442 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103070.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103070 Unwind@140103070 + * Pseudocode, not original source. */ + +void Unwind_140103070(undefined8 param_1,longlong param_2) + +{ + Ordinal_9(param_2 + 0xa0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103080.c b/decomp/AgentManager_Release_x64/full/functions/0x140103080.c new file mode 100644 index 00000000..0cd3f014 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103080.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103080 Unwind@140103080 + * Pseudocode, not original source. */ + +void Unwind_140103080(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x80),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103090.c b/decomp/AgentManager_Release_x64/full/functions/0x140103090.c new file mode 100644 index 00000000..f921f960 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103090.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103090 Unwind@140103090 + * Pseudocode, not original source. */ + +void Unwind_140103090(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401030a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401030a0.c new file mode 100644 index 00000000..efc6a42c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401030a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401030a0 Unwind@1401030a0 + * Pseudocode, not original source. */ + +void Unwind_1401030a0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x90)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401030b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401030b0.c new file mode 100644 index 00000000..9c8b0426 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401030b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401030b0 Unwind@1401030b0 + * Pseudocode, not original source. */ + +void Unwind_1401030b0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + thunk_FUN_140002190((longlong *)(param_2 + 0x90),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401030c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401030c0.c new file mode 100644 index 00000000..5904a069 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401030c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401030c0 Unwind@1401030c0 + * Pseudocode, not original source. */ + +void Unwind_1401030c0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401030d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401030d0.c new file mode 100644 index 00000000..08bea6a6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401030d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401030d0 Unwind@1401030d0 + * Pseudocode, not original source. */ + +void Unwind_1401030d0(undefined8 param_1,longlong param_2) + +{ + FUN_140002160((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401030e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401030e0.c new file mode 100644 index 00000000..fd99e4c4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401030e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401030e0 Unwind@1401030e0 + * Pseudocode, not original source. */ + +void Unwind_1401030e0(undefined8 param_1,longlong param_2) + +{ + FUN_1400075b0((longlong *)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401030f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401030f0.c new file mode 100644 index 00000000..66d25ac3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401030f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401030f0 Unwind@1401030f0 + * Pseudocode, not original source. */ + +void Unwind_1401030f0(undefined8 param_1,longlong param_2) + +{ + FUN_140004a60((undefined8 *)(param_2 + 0x88)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103100.c b/decomp/AgentManager_Release_x64/full/functions/0x140103100.c new file mode 100644 index 00000000..1ca4149a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103100.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103100 Unwind@140103100 + * Pseudocode, not original source. */ + +void Unwind_140103100(undefined8 param_1,longlong param_2) + +{ + /* WARNING: Could not recover jumptable at 0x000140103107. Too many branches */ + /* WARNING: Treating indirect jump as call */ + operator_delete(*(void **)(param_2 + 0x78)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103110.c b/decomp/AgentManager_Release_x64/full/functions/0x140103110.c new file mode 100644 index 00000000..fca7b0da --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103110.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103110 Unwind@140103110 + * Pseudocode, not original source. */ + +void Unwind_140103110(undefined8 param_1,longlong param_2) + +{ + FUN_140004980((longlong *)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103120.c b/decomp/AgentManager_Release_x64/full/functions/0x140103120.c new file mode 100644 index 00000000..2cea4ff8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103120.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103120 Unwind@140103120 + * Pseudocode, not original source. */ + +void Unwind_140103120(undefined8 param_1,longlong param_2) + +{ + /* WARNING: Could not recover jumptable at 0x000140103127. Too many branches */ + /* WARNING: Treating indirect jump as call */ + operator_delete(*(void **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103130.c b/decomp/AgentManager_Release_x64/full/functions/0x140103130.c new file mode 100644 index 00000000..734f6378 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103130.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103130 Unwind@140103130 + * Pseudocode, not original source. */ + +void Unwind_140103130(undefined8 param_1,longlong param_2) + +{ + FUN_140004980((longlong *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103140.c b/decomp/AgentManager_Release_x64/full/functions/0x140103140.c new file mode 100644 index 00000000..8b8e8cfd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103140.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103140 Unwind@140103140 + * Pseudocode, not original source. */ + +void Unwind_140103140(undefined8 param_1,longlong param_2) + +{ + /* WARNING: Could not recover jumptable at 0x000140103147. Too many branches */ + /* WARNING: Treating indirect jump as call */ + operator_delete(*(void **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103150.c b/decomp/AgentManager_Release_x64/full/functions/0x140103150.c new file mode 100644 index 00000000..94a25b16 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103150.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103150 Unwind@140103150 + * Pseudocode, not original source. */ + +void Unwind_140103150(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400049e0((longlong *)(param_2 + 0x30),param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103160.c b/decomp/AgentManager_Release_x64/full/functions/0x140103160.c new file mode 100644 index 00000000..f6d42a36 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103160.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103160 Unwind@140103160 + * Pseudocode, not original source. */ + +void Unwind_140103160(undefined8 param_1,longlong param_2) + +{ + /* WARNING: Could not recover jumptable at 0x000140103167. Too many branches */ + /* WARNING: Treating indirect jump as call */ + operator_delete(*(void **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103170.c b/decomp/AgentManager_Release_x64/full/functions/0x140103170.c new file mode 100644 index 00000000..14c1c871 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103170.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103170 Unwind@140103170 + * Pseudocode, not original source. */ + +void Unwind_140103170(undefined8 param_1,longlong param_2) + +{ + FUN_1400721f0(*(char **)(param_2 + 0x40)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103180.c b/decomp/AgentManager_Release_x64/full/functions/0x140103180.c new file mode 100644 index 00000000..db4fb3be --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103180.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103180 Unwind@140103180 + * Pseudocode, not original source. */ + +void Unwind_140103180(undefined8 param_1,longlong param_2,void **param_3) + +{ + FUN_140004a20((longlong *)(param_2 + 0x48),param_2,param_3); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103190.c b/decomp/AgentManager_Release_x64/full/functions/0x140103190.c new file mode 100644 index 00000000..43a40b15 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103190.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103190 Unwind@140103190 + * Pseudocode, not original source. */ + +void Unwind_140103190(undefined8 param_1,longlong param_2) + +{ + /* WARNING: Could not recover jumptable at 0x000140103197. Too many branches */ + /* WARNING: Treating indirect jump as call */ + operator_delete(*(void **)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401031a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401031a0.c new file mode 100644 index 00000000..6c8fdcef --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401031a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401031a0 Unwind@1401031a0 + * Pseudocode, not original source. */ + +void Unwind_1401031a0(undefined8 param_1,longlong param_2) + +{ + FUN_1400721f0(*(char **)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401031b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401031b0.c new file mode 100644 index 00000000..0bff8712 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401031b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401031b0 Unwind@1401031b0 + * Pseudocode, not original source. */ + +void Unwind_1401031b0(undefined8 param_1,longlong param_2,void **param_3) + +{ + FUN_140004a20((longlong *)(param_2 + 0x50),param_2,param_3); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401031c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401031c0.c new file mode 100644 index 00000000..dababf58 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401031c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401031c0 Unwind@1401031c0 + * Pseudocode, not original source. */ + +void Unwind_1401031c0(undefined8 param_1,longlong param_2) + +{ + FUN_140005000((undefined8 *)(param_2 + 0x230)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401031d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401031d0.c new file mode 100644 index 00000000..41a16310 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401031d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401031d0 Unwind@1401031d0 + * Pseudocode, not original source. */ + +void Unwind_1401031d0(undefined8 param_1,longlong param_2) + +{ + FUN_140005000((undefined8 *)(param_2 + 0x340)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401031e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401031e0.c new file mode 100644 index 00000000..92b5d6ef --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401031e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401031e0 Unwind@1401031e0 + * Pseudocode, not original source. */ + +void Unwind_1401031e0(undefined8 param_1,longlong param_2) + +{ + FUN_1400033c0(param_2 + 0x1d0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401031f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401031f0.c new file mode 100644 index 00000000..0b6cfc11 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401031f0.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401031f0 Unwind@1401031f0 + * Pseudocode, not original source. */ + +void Unwind_1401031f0(undefined8 param_1,longlong param_2) + +{ + /* WARNING: Could not recover jumptable at 0x0001401031f7. Too many branches */ + /* WARNING: Treating indirect jump as call */ + operator_delete(*(void **)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103200.c b/decomp/AgentManager_Release_x64/full/functions/0x140103200.c new file mode 100644 index 00000000..304e7bfe --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103200.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103200 Unwind@140103200 + * Pseudocode, not original source. */ + +void Unwind_140103200(undefined8 param_1,longlong param_2) + +{ + FUN_140023830(*(undefined8 **)(param_2 + 0x38)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103210.c b/decomp/AgentManager_Release_x64/full/functions/0x140103210.c new file mode 100644 index 00000000..7f9d3ae4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103210.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103210 Unwind@140103210 + * Pseudocode, not original source. */ + +void Unwind_140103210(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x48); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103220.c b/decomp/AgentManager_Release_x64/full/functions/0x140103220.c new file mode 100644 index 00000000..014ae244 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103220.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103220 Unwind@140103220 + * Pseudocode, not original source. */ + +void Unwind_140103220(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0xa0) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103230.c b/decomp/AgentManager_Release_x64/full/functions/0x140103230.c new file mode 100644 index 00000000..48296dbb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103230.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103230 Unwind@140103230 + * Pseudocode, not original source. */ + +void Unwind_140103230(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x48); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103240.c b/decomp/AgentManager_Release_x64/full/functions/0x140103240.c new file mode 100644 index 00000000..0dd19e43 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103240.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103240 Unwind@140103240 + * Pseudocode, not original source. */ + +void Unwind_140103240(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0xb8) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103250.c b/decomp/AgentManager_Release_x64/full/functions/0x140103250.c new file mode 100644 index 00000000..d4487b8e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103250.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103250 Unwind@140103250 + * Pseudocode, not original source. */ + +void Unwind_140103250(undefined8 param_1,longlong param_2) + +{ + FUN_14002a420(param_2 + 0x48); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103260.c b/decomp/AgentManager_Release_x64/full/functions/0x140103260.c new file mode 100644 index 00000000..bfc9bae6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103260.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103260 Unwind@140103260 + * Pseudocode, not original source. */ + +void Unwind_140103260(undefined8 param_1,longlong param_2) + +{ + FUN_14002a3b0((longlong *)(*(longlong *)(param_2 + 0x90) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103270.c b/decomp/AgentManager_Release_x64/full/functions/0x140103270.c new file mode 100644 index 00000000..08b4e72d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103270.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103270 Unwind@140103270 + * Pseudocode, not original source. */ + +void Unwind_140103270(undefined8 param_1,longlong param_2) + +{ + FUN_1400103c0((longlong *)(param_2 + 0x100)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103280.c b/decomp/AgentManager_Release_x64/full/functions/0x140103280.c new file mode 100644 index 00000000..37d0eda2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103280.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103280 Unwind@140103280 + * Pseudocode, not original source. */ + +void Unwind_140103280(undefined8 param_1,longlong param_2) + +{ + FUN_1400103c0(*(longlong **)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103290.c b/decomp/AgentManager_Release_x64/full/functions/0x140103290.c new file mode 100644 index 00000000..aa0b8b1a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103290.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103290 Unwind@140103290 + * Pseudocode, not original source. */ + +void Unwind_140103290(undefined8 param_1,longlong param_2) + +{ + FUN_140001550((undefined8 *)(param_2 + 0x1b8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401032a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401032a0.c new file mode 100644 index 00000000..bfef8217 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401032a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401032a0 Unwind@1401032a0 + * Pseudocode, not original source. */ + +void Unwind_1401032a0(undefined8 param_1,longlong param_2) + +{ + FUN_1400103c0(*(longlong **)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401032b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401032b0.c new file mode 100644 index 00000000..5ce8dd17 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401032b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401032b0 Unwind@1401032b0 + * Pseudocode, not original source. */ + +void Unwind_1401032b0(undefined8 param_1,longlong param_2) + +{ + FUN_140001550((undefined8 *)(param_2 + 0x168)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401032c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401032c0.c new file mode 100644 index 00000000..654bf737 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401032c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401032c0 Unwind@1401032c0 + * Pseudocode, not original source. */ + +void Unwind_1401032c0(undefined8 param_1,longlong param_2) + +{ + FUN_1400103c0(*(longlong **)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401032d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401032d0.c new file mode 100644 index 00000000..836d0f5c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401032d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401032d0 Unwind@1401032d0 + * Pseudocode, not original source. */ + +void Unwind_1401032d0(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 400)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401032e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401032e0.c new file mode 100644 index 00000000..d4087e71 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401032e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401032e0 Unwind@1401032e0 + * Pseudocode, not original source. */ + +void Unwind_1401032e0(undefined8 param_1,longlong param_2) + +{ + FUN_1400103c0(*(longlong **)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401032f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401032f0.c new file mode 100644 index 00000000..d5b800e1 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401032f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401032f0 Unwind@1401032f0 + * Pseudocode, not original source. */ + +void Unwind_1401032f0(undefined8 param_1,longlong param_2) + +{ + FUN_1400103c0(*(longlong **)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103300.c b/decomp/AgentManager_Release_x64/full/functions/0x140103300.c new file mode 100644 index 00000000..2412a918 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103300.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103300 Unwind@140103300 + * Pseudocode, not original source. */ + +void Unwind_140103300(undefined8 param_1,longlong param_2) + +{ + FUN_1400103c0(*(longlong **)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103310.c b/decomp/AgentManager_Release_x64/full/functions/0x140103310.c new file mode 100644 index 00000000..ae5055dd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103310.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103310 Unwind@140103310 + * Pseudocode, not original source. */ + +void Unwind_140103310(undefined8 param_1,longlong param_2) + +{ + FUN_1400103c0(*(longlong **)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103320.c b/decomp/AgentManager_Release_x64/full/functions/0x140103320.c new file mode 100644 index 00000000..d8edca3a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103320.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103320 Unwind@140103320 + * Pseudocode, not original source. */ + +void Unwind_140103320(undefined8 param_1,longlong param_2) + +{ + FUN_140001550((undefined8 *)(param_2 + 0x140)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103330.c b/decomp/AgentManager_Release_x64/full/functions/0x140103330.c new file mode 100644 index 00000000..8e7cae99 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103330.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103330 Unwind@140103330 + * Pseudocode, not original source. */ + +void Unwind_140103330(undefined8 param_1,longlong param_2) + +{ + FUN_1400103c0((longlong *)(param_2 + 0xb0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103340.c b/decomp/AgentManager_Release_x64/full/functions/0x140103340.c new file mode 100644 index 00000000..f51ca6e8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103340.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103340 Unwind@140103340 + * Pseudocode, not original source. */ + +void Unwind_140103340(undefined8 param_1,longlong param_2) + +{ + FUN_1400103c0(*(longlong **)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103350.c b/decomp/AgentManager_Release_x64/full/functions/0x140103350.c new file mode 100644 index 00000000..41399200 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103350.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103350 Unwind@140103350 + * Pseudocode, not original source. */ + +void Unwind_140103350(undefined8 param_1,longlong param_2) + +{ + FUN_140001550((undefined8 *)(param_2 + 0x140)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103360.c b/decomp/AgentManager_Release_x64/full/functions/0x140103360.c new file mode 100644 index 00000000..8f58364b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103360.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103360 Unwind@140103360 + * Pseudocode, not original source. */ + +void Unwind_140103360(undefined8 param_1,longlong param_2) + +{ + FUN_1400103c0(*(longlong **)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103370.c b/decomp/AgentManager_Release_x64/full/functions/0x140103370.c new file mode 100644 index 00000000..430ade95 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103370.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103370 Unwind@140103370 + * Pseudocode, not original source. */ + +void Unwind_140103370(undefined8 param_1,longlong param_2) + +{ + FUN_140001550((undefined8 *)(param_2 + 0xf0)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103380.c b/decomp/AgentManager_Release_x64/full/functions/0x140103380.c new file mode 100644 index 00000000..8b999686 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103380.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103380 Unwind@140103380 + * Pseudocode, not original source. */ + +void Unwind_140103380(undefined8 param_1,longlong param_2) + +{ + FUN_1400103c0(*(longlong **)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103390.c b/decomp/AgentManager_Release_x64/full/functions/0x140103390.c new file mode 100644 index 00000000..2b43d6f3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103390.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103390 Unwind@140103390 + * Pseudocode, not original source. */ + +void Unwind_140103390(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 0x118)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401033a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401033a0.c new file mode 100644 index 00000000..734d1b5d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401033a0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401033a0 Unwind@1401033a0 + * Pseudocode, not original source. */ + +void Unwind_1401033a0(undefined8 param_1,longlong param_2) + +{ + FUN_1400103c0(*(longlong **)(param_2 + 0x20)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401033b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401033b0.c new file mode 100644 index 00000000..72670280 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401033b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401033b0 Unwind@1401033b0 + * Pseudocode, not original source. */ + +void Unwind_1401033b0(undefined8 param_1,longlong param_2) + +{ + FUN_1400103c0((longlong *)(param_2 + 0x100)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401033c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401033c0.c new file mode 100644 index 00000000..0ab99453 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401033c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401033c0 Unwind@1401033c0 + * Pseudocode, not original source. */ + +void Unwind_1401033c0(undefined8 param_1,longlong param_2) + +{ + FUN_1400103c0(*(longlong **)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401033d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401033d0.c new file mode 100644 index 00000000..acbce4cc --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401033d0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401033d0 Unwind@1401033d0 + * Pseudocode, not original source. */ + +void Unwind_1401033d0(undefined8 param_1,longlong param_2) + +{ + FUN_140001550((undefined8 *)(param_2 + 0x168)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401033e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401033e0.c new file mode 100644 index 00000000..94c138a3 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401033e0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401033e0 Unwind@1401033e0 + * Pseudocode, not original source. */ + +void Unwind_1401033e0(undefined8 param_1,longlong param_2) + +{ + FUN_1400103c0(*(longlong **)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401033f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401033f0.c new file mode 100644 index 00000000..d2c9c62f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401033f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401033f0 Unwind@1401033f0 + * Pseudocode, not original source. */ + +void Unwind_1401033f0(undefined8 param_1,longlong param_2) + +{ + FUN_140001550((undefined8 *)(param_2 + 0x140)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103400.c b/decomp/AgentManager_Release_x64/full/functions/0x140103400.c new file mode 100644 index 00000000..4813e91c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103400.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103400 Unwind@140103400 + * Pseudocode, not original source. */ + +void Unwind_140103400(undefined8 param_1,longlong param_2) + +{ + FUN_1400103c0(*(longlong **)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103410.c b/decomp/AgentManager_Release_x64/full/functions/0x140103410.c new file mode 100644 index 00000000..f42686f9 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103410.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103410 Unwind@140103410 + * Pseudocode, not original source. */ + +void Unwind_140103410(undefined8 param_1,longlong param_2) + +{ + FUN_140010bd0((undefined8 *)(param_2 + 400)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103420.c b/decomp/AgentManager_Release_x64/full/functions/0x140103420.c new file mode 100644 index 00000000..19c8ca60 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103420.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103420 Unwind@140103420 + * Pseudocode, not original source. */ + +void Unwind_140103420(undefined8 param_1,longlong param_2) + +{ + FUN_1400103c0(*(longlong **)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103430.c b/decomp/AgentManager_Release_x64/full/functions/0x140103430.c new file mode 100644 index 00000000..60bed94c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103430.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103430 Unwind@140103430 + * Pseudocode, not original source. */ + +void Unwind_140103430(undefined8 param_1,longlong param_2) + +{ + FUN_1400103c0(*(longlong **)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103440.c b/decomp/AgentManager_Release_x64/full/functions/0x140103440.c new file mode 100644 index 00000000..eb6425fb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103440.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103440 Unwind@140103440 + * Pseudocode, not original source. */ + +void Unwind_140103440(undefined8 param_1,longlong param_2) + +{ + FUN_1400103c0(*(longlong **)(param_2 + 0x30)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103450.c b/decomp/AgentManager_Release_x64/full/functions/0x140103450.c new file mode 100644 index 00000000..ffce309f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103450.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103450 Unwind@140103450 + * Pseudocode, not original source. */ + +void Unwind_140103450(undefined8 param_1,longlong param_2) + +{ + FUN_140001550((undefined8 *)(param_2 + 0x50)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103460.c b/decomp/AgentManager_Release_x64/full/functions/0x140103460.c new file mode 100644 index 00000000..a025d6c5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103460.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103460 Unwind@140103460 + * Pseudocode, not original source. */ + +void Unwind_140103460(undefined8 param_1,longlong param_2) + +{ + FUN_140001550((undefined8 *)(param_2 + 0x28)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103470.c b/decomp/AgentManager_Release_x64/full/functions/0x140103470.c new file mode 100644 index 00000000..17111b83 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103470.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103470 Unwind@140103470 + * Pseudocode, not original source. */ + +void Unwind_140103470(void) + +{ + DAT_14017d37c = DAT_14017d37c & 0xfffffffe; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103490.c b/decomp/AgentManager_Release_x64/full/functions/0x140103490.c new file mode 100644 index 00000000..ac3c2425 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103490.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103490 Unwind@140103490 + * Pseudocode, not original source. */ + +void Unwind_140103490(void) + +{ + DAT_14017d37c = DAT_14017d37c & 0xfffffffe; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401034b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401034b0.c new file mode 100644 index 00000000..5f0ecd63 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401034b0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401034b0 Unwind@1401034b0 + * Pseudocode, not original source. */ + +void Unwind_1401034b0(void) + +{ + DAT_14017d37c = DAT_14017d37c & 0xfffffffe; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401034d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401034d0.c new file mode 100644 index 00000000..ceaeabfd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401034d0.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401034d0 Unwind@1401034d0 + * Pseudocode, not original source. */ + +void Unwind_1401034d0(undefined8 param_1,longlong param_2) + +{ + /* WARNING: Could not recover jumptable at 0x0001401034d7. Too many branches */ + /* WARNING: Treating indirect jump as call */ + operator_delete(*(void **)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401034e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401034e0.c new file mode 100644 index 00000000..b9299093 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401034e0.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401034e0 Unwind@1401034e0 + * Pseudocode, not original source. */ + +void Unwind_1401034e0(undefined8 param_1,longlong param_2) + +{ + /* WARNING: Could not recover jumptable at 0x0001401034e7. Too many branches */ + /* WARNING: Treating indirect jump as call */ + operator_delete(*(void **)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401034f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401034f0.c new file mode 100644 index 00000000..d85cb7af --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401034f0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401034f0 Unwind@1401034f0 + * Pseudocode, not original source. */ + +void Unwind_1401034f0(void) + +{ + FUN_14001c450(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103500.c b/decomp/AgentManager_Release_x64/full/functions/0x140103500.c new file mode 100644 index 00000000..6d93adf2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103500.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103500 Unwind@140103500 + * Pseudocode, not original source. */ + +void Unwind_140103500(undefined8 param_1,longlong param_2) + +{ + /* WARNING: Could not recover jumptable at 0x000140103507. Too many branches */ + /* WARNING: Treating indirect jump as call */ + operator_delete(*(void **)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103510.c b/decomp/AgentManager_Release_x64/full/functions/0x140103510.c new file mode 100644 index 00000000..337ec0fd --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103510.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103510 Unwind@140103510 + * Pseudocode, not original source. */ + +void Unwind_140103510(undefined8 param_1,longlong param_2) + +{ + /* WARNING: Could not recover jumptable at 0x000140103517. Too many branches */ + /* WARNING: Treating indirect jump as call */ + operator_delete(*(void **)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103520.c b/decomp/AgentManager_Release_x64/full/functions/0x140103520.c new file mode 100644 index 00000000..808bb88e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103520.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103520 Unwind@140103520 + * Pseudocode, not original source. */ + +void Unwind_140103520(undefined8 param_1,longlong param_2) + +{ + /* WARNING: Could not recover jumptable at 0x000140103527. Too many branches */ + /* WARNING: Treating indirect jump as call */ + operator_delete(*(void **)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103530.c b/decomp/AgentManager_Release_x64/full/functions/0x140103530.c new file mode 100644 index 00000000..a56b0b36 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103530.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103530 Unwind@140103530 + * Pseudocode, not original source. */ + +void Unwind_140103530(undefined8 param_1,longlong param_2) + +{ + FUN_14000cb50(*(undefined8 **)(param_2 + 0x48)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103540.c b/decomp/AgentManager_Release_x64/full/functions/0x140103540.c new file mode 100644 index 00000000..6392d106 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103540.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103540 Unwind@140103540 + * Pseudocode, not original source. */ + +void Unwind_140103540(undefined8 param_1,longlong param_2) + +{ + FUN_14003b4f0((longlong *)(*(longlong *)(param_2 + 0x48) + 8)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103550.c b/decomp/AgentManager_Release_x64/full/functions/0x140103550.c new file mode 100644 index 00000000..7a28765e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103550.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103550 Unwind@140103550 + * Pseudocode, not original source. */ + +void Unwind_140103550(undefined8 param_1,longlong param_2) + +{ + FUN_14001d820((undefined8 *)(param_2 + 0x2078)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103560.c b/decomp/AgentManager_Release_x64/full/functions/0x140103560.c new file mode 100644 index 00000000..26c1f738 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103560.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103560 Unwind@140103560 + * Pseudocode, not original source. */ + +void Unwind_140103560(undefined8 param_1,longlong param_2) + +{ + /* WARNING: Could not recover jumptable at 0x000140103567. Too many branches */ + /* WARNING: Treating indirect jump as call */ + operator_delete(*(void **)(param_2 + 0x2070)); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103570.c b/decomp/AgentManager_Release_x64/full/functions/0x140103570.c new file mode 100644 index 00000000..20d390e7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103570.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103570 Unwind@140103570 + * Pseudocode, not original source. */ + +void Unwind_140103570(void) + +{ + FUN_14001d250(); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103580.c b/decomp/AgentManager_Release_x64/full/functions/0x140103580.c new file mode 100644 index 00000000..1f5a3d57 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103580.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103580 FUN_140103580 + * Pseudocode, not original source. */ + +void FUN_140103580(void) + +{ + FUN_140001710(&DAT_140175020,L"option\\agentmanager_serveroption.xml",0x24); + atexit(FUN_1401042b0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401035b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401035b0.c new file mode 100644 index 00000000..156ff33a --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401035b0.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401035b0 FUN_1401035b0 + * Pseudocode, not original source. */ + +void FUN_1401035b0(void) + +{ + ulonglong uVar1; + undefined8 in_R9; + + uVar1 = FUN_140094860(); + FUN_14003cf60((undefined4 *)&DAT_14017d380,uVar1 & 0xffffffff,0,in_R9); + atexit((_func_5014 *)&LAB_1401042f0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401035e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401035e0.c new file mode 100644 index 00000000..589e2d10 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401035e0.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401035e0 FUN_1401035e0 + * Pseudocode, not original source. */ + +void FUN_1401035e0(void) + +{ + FUN_14000c9e0(&DAT_140175048,"?xml version=\"1.0\" encoding=\"UTF-8\"?",0x24); + atexit(FUN_140104300); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103610.c b/decomp/AgentManager_Release_x64/full/functions/0x140103610.c new file mode 100644 index 00000000..6b6121b4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103610.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103610 FUN_140103610 + * Pseudocode, not original source. */ + +void FUN_140103610(void) + +{ + FUN_14001d1b0(); + atexit(FUN_140104360); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103630.c b/decomp/AgentManager_Release_x64/full/functions/0x140103630.c new file mode 100644 index 00000000..ee7b2fcf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103630.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103630 FUN_140103630 + * Pseudocode, not original source. */ + +void FUN_140103630(void) + +{ + InitializeCriticalSection((LPCRITICAL_SECTION)&DAT_14017ced8); + atexit((_func_5014 *)&LAB_1401043a0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103680.c b/decomp/AgentManager_Release_x64/full/functions/0x140103680.c new file mode 100644 index 00000000..5aac8303 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103680.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103680 FUN_140103680 + * Pseudocode, not original source. */ + +void FUN_140103680(void) + +{ + FUN_140001710(&DAT_1401750b0,L"option\\total_option.xml",0x17); + atexit(FUN_1401043b0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401036b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401036b0.c new file mode 100644 index 00000000..f44bf745 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401036b0.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401036b0 FUN_1401036b0 + * Pseudocode, not original source. */ + +void FUN_1401036b0(void) + +{ + FUN_14000c9e0(&DAT_1401750d8,"option\\agent.xml",0x10); + atexit(FUN_1401043f0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401036e0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401036e0.c new file mode 100644 index 00000000..56b55dbf --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401036e0.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401036e0 FUN_1401036e0 + * Pseudocode, not original source. */ + +void FUN_1401036e0(void) + +{ + FUN_14000c9e0(&DAT_140175100,"option\\patch.xml",0x10); + atexit(FUN_140104430); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103710.c b/decomp/AgentManager_Release_x64/full/functions/0x140103710.c new file mode 100644 index 00000000..59ced489 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103710.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103710 FUN_140103710 + * Pseudocode, not original source. */ + +void FUN_140103710(void) + +{ + ulonglong uVar1; + undefined8 in_R9; + + uVar1 = FUN_140094860(); + FUN_14003cf60((undefined4 *)&DAT_1401760c8,uVar1 & 0xffffffff,0,in_R9); + atexit((_func_5014 *)&LAB_140104480); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103740.c b/decomp/AgentManager_Release_x64/full/functions/0x140103740.c new file mode 100644 index 00000000..38a9baed --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103740.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103740 FUN_140103740 + * Pseudocode, not original source. */ + +void FUN_140103740(void) + +{ + ulonglong uVar1; + undefined8 in_R9; + + uVar1 = FUN_140094860(); + FUN_14003cf60((undefined4 *)&DAT_140176090,uVar1 & 0xffffffff,0,in_R9); + atexit((_func_5014 *)&LAB_140104470); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103770.c b/decomp/AgentManager_Release_x64/full/functions/0x140103770.c new file mode 100644 index 00000000..b60d1c08 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103770.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103770 FUN_140103770 + * Pseudocode, not original source. */ + +void FUN_140103770(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + ulonglong uVar1; + undefined7 uVar2; + + uVar2 = (undefined7)((ulonglong)param_3 >> 8); + uVar1 = FUN_140094860(); + FUN_14003cf60((undefined4 *)&DAT_140176150,uVar1 & 0xffffffff,CONCAT71(uVar2,1),param_4); + atexit((_func_5014 *)&LAB_1401044a0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103810.c b/decomp/AgentManager_Release_x64/full/functions/0x140103810.c new file mode 100644 index 00000000..6b736e04 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103810.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103810 FUN_140103810 + * Pseudocode, not original source. */ + +void FUN_140103810(void) + +{ + ulonglong uVar1; + undefined8 in_R9; + + uVar1 = FUN_140094860(); + FUN_14003cf60((undefined4 *)&DAT_1401761b0,uVar1 & 0xffffffff,0,in_R9); + atexit((_func_5014 *)&LAB_1401044e0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103840.c b/decomp/AgentManager_Release_x64/full/functions/0x140103840.c new file mode 100644 index 00000000..65bdca9c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103840.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103840 FUN_140103840 + * Pseudocode, not original source. */ + +void FUN_140103840(void) + +{ + ulonglong uVar1; + undefined8 in_R9; + + uVar1 = FUN_140094860(); + FUN_14003cf60((undefined4 *)&DAT_1401762c8,uVar1 & 0xffffffff,0,in_R9); + atexit((_func_5014 *)&LAB_1401044f0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103870.c b/decomp/AgentManager_Release_x64/full/functions/0x140103870.c new file mode 100644 index 00000000..3dd01bf4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103870.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103870 FUN_140103870 + * Pseudocode, not original source. */ + +void FUN_140103870(void) + +{ + undefined8 in_R9; + + FUN_140042440((longlong *)&DAT_1401763d0,&DAT_140132660,0xffff,in_R9); + atexit((_func_5014 *)&LAB_140104550); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401038a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401038a0.c new file mode 100644 index 00000000..0ec078c7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401038a0.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401038a0 FUN_1401038a0 + * Pseudocode, not original source. */ + +void FUN_1401038a0(void) + +{ + ulonglong uVar1; + undefined8 in_R9; + + uVar1 = FUN_140094860(); + FUN_14003cf60((undefined4 *)&DAT_140176398,uVar1 & 0xffffffff,0,in_R9); + atexit((_func_5014 *)&LAB_140104530); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401038d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401038d0.c new file mode 100644 index 00000000..02a96169 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401038d0.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401038d0 FUN_1401038d0 + * Pseudocode, not original source. */ + +void FUN_1401038d0(void) + +{ + ulonglong uVar1; + undefined8 in_R9; + + uVar1 = FUN_140094860(); + FUN_14003cf60((undefined4 *)&DAT_140176360,uVar1 & 0xffffffff,0,in_R9); + atexit((_func_5014 *)&LAB_140104520); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103900.c b/decomp/AgentManager_Release_x64/full/functions/0x140103900.c new file mode 100644 index 00000000..3893b74e --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103900.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103900 FUN_140103900 + * Pseudocode, not original source. */ + +void FUN_140103900(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + ulonglong uVar1; + undefined7 uVar2; + + uVar2 = (undefined7)((ulonglong)param_3 >> 8); + uVar1 = FUN_140094860(); + FUN_14003cf60((undefined4 *)&DAT_140176458,uVar1 & 0xffffffff,CONCAT71(uVar2,1),param_4); + atexit((_func_5014 *)&LAB_140104560); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103930.c b/decomp/AgentManager_Release_x64/full/functions/0x140103930.c new file mode 100644 index 00000000..ddb48978 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103930.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103930 FUN_140103930 + * Pseudocode, not original source. */ + +void FUN_140103930(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + FUN_1400480f0((undefined8 *)&DAT_140176490,param_2,param_3,param_4); + FUN_140048210(0x140176490); + atexit((_func_5014 *)&LAB_140104570); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103970.c b/decomp/AgentManager_Release_x64/full/functions/0x140103970.c new file mode 100644 index 00000000..fe0a10fb --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103970.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103970 FUN_140103970 + * Pseudocode, not original source. */ + +void FUN_140103970(void) + +{ + ulonglong uVar1; + undefined8 in_R9; + + uVar1 = FUN_140094860(); + FUN_14003cf60((undefined4 *)&DAT_140177920,uVar1 & 0xffffffff,0,in_R9); + atexit((_func_5014 *)&LAB_140104590); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x14010399c.c b/decomp/AgentManager_Release_x64/full/functions/0x14010399c.c new file mode 100644 index 00000000..502461b6 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x14010399c.c @@ -0,0 +1,12 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x14010399c FUN_14010399c + * Pseudocode, not original source. */ + +void FUN_14010399c(void) + +{ + ATL::CAtlBaseModule::CAtlBaseModule((CAtlBaseModule *)&DAT_140177960); + atexit((_func_5014 *)&LAB_1401045bc); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401039bc.c b/decomp/AgentManager_Release_x64/full/functions/0x1401039bc.c new file mode 100644 index 00000000..06374af4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401039bc.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401039bc FUN_1401039bc + * Pseudocode, not original source. */ + +/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ + +void FUN_1401039bc(void) + +{ + DAT_1401779c8 = GetProcessHeap(); + DAT_1401779d0 = 0; + _DAT_1401779c0 = &PTR_LAB_140108a70; + atexit(FUN_1401045c8); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103cf0.c b/decomp/AgentManager_Release_x64/full/functions/0x140103cf0.c new file mode 100644 index 00000000..29ab87b0 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103cf0.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103cf0 FUN_140103cf0 + * Pseudocode, not original source. */ + +void FUN_140103cf0(void) + +{ + ulonglong uVar1; + undefined8 in_R9; + + uVar1 = FUN_140094860(); + FUN_14003cf60((undefined4 *)&DAT_140178120,uVar1 & 0xffffffff,0,in_R9); + atexit((_func_5014 *)&LAB_140104640); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103d90.c b/decomp/AgentManager_Release_x64/full/functions/0x140103d90.c new file mode 100644 index 00000000..aae2c808 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103d90.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103d90 FUN_140103d90 + * Pseudocode, not original source. */ + +void FUN_140103d90(void) + +{ + ulonglong uVar1; + undefined8 in_R9; + + uVar1 = FUN_140094860(); + FUN_14003cf60((undefined4 *)&DAT_140178288,uVar1 & 0xffffffff,0,in_R9); + atexit((_func_5014 *)&LAB_1401046f0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103dc0.c b/decomp/AgentManager_Release_x64/full/functions/0x140103dc0.c new file mode 100644 index 00000000..e6685563 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103dc0.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103dc0 FUN_140103dc0 + * Pseudocode, not original source. */ + +void FUN_140103dc0(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + ulonglong uVar1; + undefined7 uVar2; + + uVar2 = (undefined7)((ulonglong)param_3 >> 8); + uVar1 = FUN_140094860(); + FUN_14003cf60((undefined4 *)&DAT_140178350,uVar1 & 0xffffffff,CONCAT71(uVar2,1),param_4); + atexit((_func_5014 *)&LAB_140104700); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103e00.c b/decomp/AgentManager_Release_x64/full/functions/0x140103e00.c new file mode 100644 index 00000000..dcd8beb2 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103e00.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103e00 FUN_140103e00 + * Pseudocode, not original source. */ + +void FUN_140103e00(void) + +{ + ulonglong uVar1; + undefined8 in_R9; + + uVar1 = FUN_140094860(); + FUN_14003cf60((undefined4 *)&DAT_140178318,uVar1 & 0xffffffff,0,in_R9); + atexit((_func_5014 *)&LAB_140104720); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103e30.c b/decomp/AgentManager_Release_x64/full/functions/0x140103e30.c new file mode 100644 index 00000000..352779b4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103e30.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103e30 FUN_140103e30 + * Pseudocode, not original source. */ + +void FUN_140103e30(void) + +{ + ulonglong uVar1; + undefined8 in_R9; + + uVar1 = FUN_140094860(); + FUN_14003cf60((undefined4 *)&DAT_1401782e0,uVar1 & 0xffffffff,0,in_R9); + atexit((_func_5014 *)&LAB_140104710); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103e70.c b/decomp/AgentManager_Release_x64/full/functions/0x140103e70.c new file mode 100644 index 00000000..4f4d0f2d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103e70.c @@ -0,0 +1,23 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103e70 FUN_140103e70 + * Pseudocode, not original source. */ + +void FUN_140103e70(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + ulonglong uVar1; + undefined7 uVar2; + + uVar2 = (undefined7)((ulonglong)param_3 >> 8); + uVar1 = FUN_140094860(); + FUN_14003cf60((undefined4 *)&DAT_1401783a8,uVar1 & 0xffffffff,CONCAT71(uVar2,1),param_4); + FUN_14003d040((int *)&DAT_1401783a8); + DAT_1401783a0 = operator_new(8); + if (DAT_1401783a0 != (undefined8 *)0x0) { + *DAT_1401783a0 = 0; + } + FUN_14003d0d0(0x1401783a8); + atexit(FUN_1401047a0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103ef0.c b/decomp/AgentManager_Release_x64/full/functions/0x140103ef0.c new file mode 100644 index 00000000..c5270129 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103ef0.c @@ -0,0 +1,17 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103ef0 FUN_140103ef0 + * Pseudocode, not original source. */ + +void FUN_140103ef0(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + ulonglong uVar1; + undefined7 uVar2; + + uVar2 = (undefined7)((ulonglong)param_3 >> 8); + uVar1 = FUN_140094860(); + FUN_14003cf60((undefined4 *)&DAT_1401783e0,uVar1 & 0xffffffff,CONCAT71(uVar2,1),param_4); + atexit((_func_5014 *)&LAB_140104810); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103f20.c b/decomp/AgentManager_Release_x64/full/functions/0x140103f20.c new file mode 100644 index 00000000..685e7839 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103f20.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103f20 FUN_140103f20 + * Pseudocode, not original source. */ + +void FUN_140103f20(void) + +{ + ulonglong uVar1; + undefined8 in_R9; + + uVar1 = FUN_140094860(); + FUN_14003cf60((undefined4 *)&DAT_140179488,uVar1 & 0xffffffff,0,in_R9); + atexit((_func_5014 *)&LAB_140104860); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103f50.c b/decomp/AgentManager_Release_x64/full/functions/0x140103f50.c new file mode 100644 index 00000000..5774989f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103f50.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103f50 FUN_140103f50 + * Pseudocode, not original source. */ + +void FUN_140103f50(void) + +{ + ulonglong uVar1; + undefined8 in_R9; + + uVar1 = FUN_140094860(); + FUN_14003cf60((undefined4 *)&DAT_1401794c0,uVar1 & 0xffffffff,0,in_R9); + atexit((_func_5014 *)&LAB_140104870); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140103fd0.c b/decomp/AgentManager_Release_x64/full/functions/0x140103fd0.c new file mode 100644 index 00000000..3d00f4f4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140103fd0.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140103fd0 FUN_140103fd0 + * Pseudocode, not original source. */ + +void FUN_140103fd0(void) + +{ + ulonglong uVar1; + undefined8 in_R9; + + uVar1 = FUN_140094860(); + FUN_14003cf60((undefined4 *)&DAT_14017c5d8,uVar1 & 0xffffffff,0,in_R9); + atexit((_func_5014 *)&LAB_1401048a0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140104000.c b/decomp/AgentManager_Release_x64/full/functions/0x140104000.c new file mode 100644 index 00000000..130cc681 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140104000.c @@ -0,0 +1,101 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140104000 FUN_140104000 + * Pseudocode, not original source. */ + +void FUN_140104000(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + int *piVar1; + int iVar2; + int iVar3; + int iVar4; + char *pcVar5; + + FUN_14003e7c0(param_1,param_2,param_3,param_4); + DAT_14017c610 = PTR_DAT_14016f008; + iVar2 = FUN_14003e6e0( + "M-SEARCH * HTTP/1.1\r\nHost:239.255.255.250:1900\r\nST:upnp:rootdevice\r\nMan:\"ssdp:discover\"\r\nMX:3\r\n\r\n" + ); + if (DAT_14017c610 == (char *)0x0) { + iVar4 = 0; + } + else if (DAT_14017c610 == PTR_DAT_14016f008) { + iVar4 = 0; + } + else { + iVar4 = *(int *)(DAT_14017c610 + -8); + } + iVar3 = iVar2; + if (iVar2 <= iVar4) { + if (DAT_14017c610 == (char *)0x0) { + iVar3 = 0; + } + else if (DAT_14017c610 == PTR_DAT_14016f008) { + iVar3 = 0; + } + else { + iVar3 = *(int *)(DAT_14017c610 + -8); + } + } + iVar4 = 1; + if (1 < iVar3) { + iVar4 = iVar3; + } + if (DAT_14017c610 == (char *)0x0) { + iVar3 = 0; + } + else if (DAT_14017c610 == PTR_DAT_14016f008) { + iVar3 = 0; + } + else { + iVar3 = *(int *)(DAT_14017c610 + -8); + } + if (iVar3 < iVar4) { + FUN_14003d5d0((longlong *)&DAT_14017c610,iVar4); + } + FUN_14003d4c0((longlong *)&DAT_14017c610); + pcVar5 = DAT_14017c610; + if (DAT_14017c610 == (char *)0x0) { + pcVar5 = PTR_DAT_14016f008; + } + FUN_14003e710(pcVar5, + "M-SEARCH * HTTP/1.1\r\nHost:239.255.255.250:1900\r\nST:upnp:rootdevice\r\nMan:\"ssdp:discover\"\r\nMX:3\r\n\r\n" + ,iVar2); + pcVar5 = DAT_14017c610; + if (DAT_14017c610 == (char *)0x0) { + pcVar5 = PTR_DAT_14016f008; + } + iVar4 = FUN_14003e6e0(pcVar5); + iVar2 = 0; + if (0 < iVar4) { + iVar2 = iVar4; + } + if (DAT_14017c610 == (char *)0x0) { + iVar4 = 0; + } + else if (DAT_14017c610 == PTR_DAT_14016f008) { + iVar4 = 0; + } + else { + iVar4 = *(int *)(DAT_14017c610 + -8); + } + if (iVar4 <= iVar2) { + if (DAT_14017c610 == (char *)0x0) { + iVar2 = 0; + } + else if (DAT_14017c610 == PTR_DAT_14016f008) { + iVar2 = 0; + } + else { + iVar2 = *(int *)(DAT_14017c610 + -8); + } + } + if (((DAT_14017c610 != PTR_DAT_14016f008) && (DAT_14017c610 != (char *)0x0)) && + (piVar1 = (int *)(DAT_14017c610 + -8), piVar1 != (int *)0x0)) { + *piVar1 = iVar2; + *(undefined1 *)((longlong)iVar2 + 8 + (longlong)piVar1) = 0; + } + atexit((_func_5014 *)&LAB_1401048b0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140104150.c b/decomp/AgentManager_Release_x64/full/functions/0x140104150.c new file mode 100644 index 00000000..dceaed02 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140104150.c @@ -0,0 +1,21 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140104150 FUN_140104150 + * Pseudocode, not original source. */ + +void FUN_140104150(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + int iVar1; + undefined *puVar2; + undefined *local_res8 [4]; + + FUN_14003e7c0(param_1,param_2,param_3,param_4); + local_res8[0] = PTR_DAT_14016f008; + iVar1 = FUN_14003e6e0("239.255.255.250"); + puVar2 = FUN_14003d780((longlong *)local_res8,iVar1); + FUN_14003e710(puVar2,"239.255.255.250",iVar1); + FUN_14003d440((longlong *)local_res8); + FUN_1400419a0((undefined8 *)&DAT_14017c618,(longlong *)local_res8,0x76c); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401041d0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401041d0.c new file mode 100644 index 00000000..74c8f3e4 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401041d0.c @@ -0,0 +1,21 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401041d0 FUN_1401041d0 + * Pseudocode, not original source. */ + +void FUN_1401041d0(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + int iVar1; + undefined *puVar2; + undefined *local_res8 [4]; + + FUN_14003e7c0(param_1,param_2,param_3,param_4); + local_res8[0] = PTR_DAT_14016f010; + iVar1 = FUN_14003e620(L"211.214.161.39"); + puVar2 = FUN_140001ee0((longlong *)local_res8,iVar1); + FUN_14003e650(puVar2,L"211.214.161.39",iVar1); + FUN_140001fc0((longlong *)local_res8); + FUN_140041a10((undefined8 *)&DAT_14017c888,(longlong *)local_res8,0x50,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401042b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401042b0.c new file mode 100644 index 00000000..54b85147 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401042b0.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401042b0 FUN_1401042b0 + * Pseudocode, not original source. */ + +/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ + +void FUN_1401042b0(void) + +{ + if (7 < DAT_140175038) { + operator_delete((void *)CONCAT62(DAT_140175020._2_6_,(undefined2)DAT_140175020)); + } + DAT_140175038 = 7; + _DAT_140175030 = 0; + DAT_140175020._0_2_ = 0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140104300.c b/decomp/AgentManager_Release_x64/full/functions/0x140104300.c new file mode 100644 index 00000000..1029b50f --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140104300.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140104300 FUN_140104300 + * Pseudocode, not original source. */ + +void FUN_140104300(void) + +{ + if (0xf < DAT_140175060) { + operator_delete((void *)CONCAT71(DAT_140175048._1_7_,(undefined1)DAT_140175048)); + } + DAT_140175060 = 0xf; + DAT_140175058 = 0; + DAT_140175048._0_1_ = 0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140104360.c b/decomp/AgentManager_Release_x64/full/functions/0x140104360.c new file mode 100644 index 00000000..0010cc7d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140104360.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140104360 FUN_140104360 + * Pseudocode, not original source. */ + +void FUN_140104360(void) + +{ + longlong local_res8 [4]; + + FUN_14001d260(local_res8,(longlong *)*DAT_14017cec0,DAT_14017cec0); + /* WARNING: Could not recover jumptable at 0x000140104390. Too many branches */ + /* WARNING: Treating indirect jump as call */ + operator_delete(DAT_14017cec0); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401043b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401043b0.c new file mode 100644 index 00000000..143f2999 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401043b0.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401043b0 FUN_1401043b0 + * Pseudocode, not original source. */ + +/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ + +void FUN_1401043b0(void) + +{ + if (7 < DAT_1401750c8) { + operator_delete((void *)CONCAT62(DAT_1401750b0._2_6_,(undefined2)DAT_1401750b0)); + } + DAT_1401750c8 = 7; + _DAT_1401750c0 = 0; + DAT_1401750b0._0_2_ = 0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401043f0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401043f0.c new file mode 100644 index 00000000..727d7b01 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401043f0.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401043f0 FUN_1401043f0 + * Pseudocode, not original source. */ + +/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ + +void FUN_1401043f0(void) + +{ + if (0xf < DAT_1401750f0) { + operator_delete((void *)CONCAT71(DAT_1401750d8._1_7_,(undefined1)DAT_1401750d8)); + } + DAT_1401750f0 = 0xf; + _DAT_1401750e8 = 0; + DAT_1401750d8._0_1_ = 0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140104430.c b/decomp/AgentManager_Release_x64/full/functions/0x140104430.c new file mode 100644 index 00000000..1f6e4b47 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140104430.c @@ -0,0 +1,18 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140104430 FUN_140104430 + * Pseudocode, not original source. */ + +/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ + +void FUN_140104430(void) + +{ + if (0xf < DAT_140175118) { + operator_delete((void *)CONCAT71(DAT_140175100._1_7_,(undefined1)DAT_140175100)); + } + DAT_140175118 = 0xf; + _DAT_140175110 = 0; + DAT_140175100._0_1_ = 0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401044b0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401044b0.c new file mode 100644 index 00000000..f488ee14 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401044b0.c @@ -0,0 +1,14 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401044b0 FUN_1401044b0 + * Pseudocode, not original source. */ + +void FUN_1401044b0(void) + +{ + if (DAT_1401761a0 != (longlong *)0x0) { + (**(code **)(*DAT_1401761a0 + 0x20))(DAT_1401761a0,1); + } + DAT_1401761a0 = (longlong *)0x0; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401045c8.c b/decomp/AgentManager_Release_x64/full/functions/0x1401045c8.c new file mode 100644 index 00000000..3e5ddef5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401045c8.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401045c8 FUN_1401045c8 + * Pseudocode, not original source. */ + +/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ + +void FUN_1401045c8(void) + +{ + _DAT_1401779c0 = &PTR_LAB_140108a70; + if ((DAT_1401779d0 != '\0') && (DAT_1401779c8 != (HANDLE)0x0)) { + HeapDestroy(DAT_1401779c8); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401045fc.c b/decomp/AgentManager_Release_x64/full/functions/0x1401045fc.c new file mode 100644 index 00000000..3d818348 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401045fc.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401045fc FUN_1401045fc + * Pseudocode, not original source. */ + +void FUN_1401045fc(void) + +{ + PTR_PTR_14016f508 = (undefined *)&PTR_Allocate_140108a98; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140104610.c b/decomp/AgentManager_Release_x64/full/functions/0x140104610.c new file mode 100644 index 00000000..3930534d --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140104610.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140104610 FUN_140104610 + * Pseudocode, not original source. */ + +void FUN_140104610(void) + +{ + /* WARNING: Could not recover jumptable at 0x000140104617. Too many branches */ + /* WARNING: Treating indirect jump as call */ + Ordinal_9(&DAT_14016f540); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140104620.c b/decomp/AgentManager_Release_x64/full/functions/0x140104620.c new file mode 100644 index 00000000..d46052b8 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140104620.c @@ -0,0 +1,13 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140104620 FUN_140104620 + * Pseudocode, not original source. */ + +void FUN_140104620(void) + +{ + if (DAT_140178110 != (undefined8 *)0x0) { + (**(code **)*DAT_140178110)(DAT_140178110,1); + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140104650.c b/decomp/AgentManager_Release_x64/full/functions/0x140104650.c new file mode 100644 index 00000000..8120fb0c --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140104650.c @@ -0,0 +1,24 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140104650 FUN_140104650 + * Pseudocode, not original source. */ + +void FUN_140104650(undefined8 param_1,undefined8 param_2,undefined8 param_3,longlong param_4) + +{ + int *piVar1; + + piVar1 = DAT_140178188; + if (DAT_140178188 != (int *)0x0) { + FUN_14003d040(DAT_140178188); + *(longlong *)(DAT_140178188 + 0x10) = *(longlong *)(DAT_140178188 + 0x10) + -1; + if (*(longlong *)(DAT_140178188 + 0x10) == 0) { + FUN_14003d0d0((longlong)piVar1); + FUN_14004e4b0(DAT_140178188,param_2,param_3,param_4); + } + else { + FUN_14003d0d0((longlong)piVar1); + } + } + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140104730.c b/decomp/AgentManager_Release_x64/full/functions/0x140104730.c new file mode 100644 index 00000000..07113395 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140104730.c @@ -0,0 +1,21 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140104730 FUN_140104730 + * Pseudocode, not original source. */ + +void FUN_140104730(void) + +{ + LPVOID pvVar1; + + pvVar1 = DAT_140178388; + while (pvVar1 != (LPVOID)0x0) { + DAT_140178388 = *(LPVOID *)((longlong)pvVar1 + 0x38); + *(undefined8 *)((longlong)pvVar1 + 0x38) = 0; + FUN_140049e40((undefined8 *)((longlong)pvVar1 + 8)); + FUN_14003e8b0(pvVar1); + pvVar1 = DAT_140178388; + } + DAT_140178388 = pvVar1; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140104790.c b/decomp/AgentManager_Release_x64/full/functions/0x140104790.c new file mode 100644 index 00000000..783945b5 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140104790.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140104790 FUN_140104790 + * Pseudocode, not original source. */ + +void FUN_140104790(void) + +{ + PTR_vftable_140170640 = (undefined *)Proud::ISendDest_S::vftable; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401047a0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401047a0.c new file mode 100644 index 00000000..679c7620 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401047a0.c @@ -0,0 +1,20 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401047a0 FUN_1401047a0 + * Pseudocode, not original source. */ + +void FUN_1401047a0(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) + +{ + longlong *plVar1; + + FUN_14003d040((int *)&DAT_1401783a8); + plVar1 = DAT_1401783a0; + if (DAT_1401783a0 != (longlong *)0x0) { + FUN_14008dce0(DAT_1401783a0,param_2,param_3,param_4); + operator_delete(plVar1); + } + FUN_14003d0d0(0x1401783a8); + FUN_14003d110((undefined4 *)&DAT_1401783a8,param_2,param_3,param_4); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x140104820.c b/decomp/AgentManager_Release_x64/full/functions/0x140104820.c new file mode 100644 index 00000000..3865a6ed --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x140104820.c @@ -0,0 +1,16 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x140104820 FUN_140104820 + * Pseudocode, not original source. */ + +void FUN_140104820(void) + +{ + DeleteCriticalSection((LPCRITICAL_SECTION)&DAT_14017d3c0); + InitializeCriticalSection((LPCRITICAL_SECTION)&DAT_14017d400); + InitializeCriticalSection((LPCRITICAL_SECTION)&DAT_14017d440); + /* WARNING: Could not recover jumptable at 0x000140104856. Too many branches */ + /* WARNING: Treating indirect jump as call */ + InitializeCriticalSection((LPCRITICAL_SECTION)&DAT_140179450); + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/functions/0x1401048c0.c b/decomp/AgentManager_Release_x64/full/functions/0x1401048c0.c new file mode 100644 index 00000000..57c5638b --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/functions/0x1401048c0.c @@ -0,0 +1,11 @@ +/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 + * Ghidra 12.1.2 decompiler output for 0x1401048c0 FUN_1401048c0 + * Pseudocode, not original source. */ + +void FUN_1401048c0(void) + +{ + PTR_vftable_1401711b0 = (undefined *)Proud::ISendDest_C::vftable; + return; +} + diff --git a/decomp/AgentManager_Release_x64/full/index.tsv b/decomp/AgentManager_Release_x64/full/index.tsv new file mode 100644 index 00000000..3d5ab088 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/index.tsv @@ -0,0 +1,6994 @@ +address namespace name body_bytes status +0x140001020 FUN_140001020 59 ok +0x140001060 FUN_140001060 360 ok +0x1400011d0 FUN_1400011d0 139 ok +0x140001260 FUN_140001260 149 ok +0x140001300 FUN_140001300 50 ok +0x140001340 FUN_140001340 66 ok +0x140001390 FUN_140001390 447 ok +0x140001550 FUN_140001550 48 ok +0x140001580 FUN_140001580 166 ok +0x140001630 FUN_140001630 209 ok +0x140001710 FUN_140001710 226 ok +0x140001800 FUN_140001800 155 ok +0x1400018a0 FUN_1400018a0 118 ok +0x140001920 FUN_140001920 307 ok +0x140001a80 FUN_140001a80 99 ok +0x140001af0 FUN_140001af0 43 ok +0x140001b20 FUN_140001b20 43 ok +0x140001b50 FUN_140001b50 34 ok +0x140001b80 FUN_140001b80 83 ok +0x140001be0 FUN_140001be0 54 ok +0x140001c20 FUN_140001c20 45 ok +0x140001c50 FUN_140001c50 186 ok +0x140001d10 FUN_140001d10 223 ok +0x140001df0 FUN_140001df0 233 ok +0x140001ee0 FUN_140001ee0 125 ok +0x140001f60 FUN_140001f60 93 ok +0x140001fc0 FUN_140001fc0 121 ok +0x140002040 FUN_140002040 121 ok +0x1400020c0 FUN_1400020c0 145 ok +0x140002160 FUN_140002160 33 ok +0x140002190 FUN_140002190 136 ok +0x140002230 FUN_140002230 15 ok +0x140002240 FUN_140002240 48 ok +0x140002270 std::bad_alloc `scalar_deleting_destructor' 58 ok +0x1400022b0 FUN_1400022b0 158 ok +0x140002350 FUN_140002350 48 ok +0x140002380 FUN_140002380 119 ok +0x140002400 FUN_140002400 624 ok +0x140002670 FUN_140002670 273 ok +0x140002790 FUN_140002790 3115 ok +0x1400033c0 FUN_1400033c0 92 ok +0x140003420 FUN_140003420 1974 ok +0x140003c50 FUN_140003c50 168 ok +0x140003d00 FUN_140003d00 3140 ok +0x140004980 FUN_140004980 82 ok +0x1400049e0 FUN_1400049e0 51 ok +0x140004a20 FUN_140004a20 51 ok +0x140004a60 FUN_140004a60 54 ok +0x140004aa0 FUN_140004aa0 120 ok +0x140004b20 FUN_140004b20 116 ok +0x140004ba0 FUN_140004ba0 200 ok +0x140004c70 FUN_140004c70 63 ok +0x140004cb0 FUN_140004cb0 9 ok +0x140004cc0 FUN_140004cc0 104 ok +0x140004d30 FUN_140004d30 100 ok +0x140004da0 FUN_140004da0 56 ok +0x140004de0 FUN_140004de0 169 ok +0x140004e90 FUN_140004e90 134 ok +0x140004f20 FUN_140004f20 218 ok +0x140005000 FUN_140005000 30 ok +0x140005020 FUN_140005020 168 ok +0x1400050d0 FUN_1400050d0 25 ok +0x1400050f0 FUN_1400050f0 29 ok +0x140005110 FUN_140005110 262 ok +0x140005220 FUN_140005220 50 ok +0x140005260 FUN_140005260 22 ok +0x140005280 FUN_140005280 255 ok +0x140005380 FUN_140005380 48 ok +0x1400053b0 FUN_1400053b0 174 ok +0x140005460 FUN_140005460 132 ok +0x1400054f0 FUN_1400054f0 1170 ok +0x140005990 FUN_140005990 146 ok +0x140005a30 FUN_140005a30 146 ok +0x140005ad0 FUN_140005ad0 32 ok +0x140005af0 FUN_140005af0 149 ok +0x140005b90 FUN_140005b90 427 ok +0x140005d40 FUN_140005d40 9 ok +0x140005d50 FUN_140005d50 44 ok +0x140005d80 FUN_140005d80 6 ok +0x140005d90 FUN_140005d90 6 ok +0x140005da0 FUN_140005da0 41 ok +0x140005dd0 FUN_140005dd0 712 ok +0x1400060a0 std::bad_alloc `scalar_deleting_destructor' 58 ok +0x1400060e0 FUN_1400060e0 15 ok +0x1400060f0 FUN_1400060f0 415 ok +0x140006290 FUN_140006290 48 ok +0x1400062c0 FUN_1400062c0 187 ok +0x140006380 FUN_140006380 168 ok +0x140006430 FUN_140006430 193 ok +0x140006500 FUN_140006500 146 ok +0x1400065a0 FUN_1400065a0 146 ok +0x140006640 FUN_140006640 32 ok +0x140006660 FUN_140006660 215 ok +0x140006740 FUN_140006740 458 ok +0x140006910 FUN_140006910 3 ok +0x140006920 FUN_140006920 24 ok +0x140006940 FUN_140006940 162 ok +0x1400069f0 FUN_1400069f0 276 ok +0x140006b10 FUN_140006b10 171 ok +0x140006bc0 FUN_140006bc0 291 ok +0x140006cf0 FUN_140006cf0 126 ok +0x140006d70 FUN_140006d70 14 ok +0x140006d80 FUN_140006d80 9 ok +0x140006d90 FUN_140006d90 6 ok +0x140006da0 FUN_140006da0 6 ok +0x140006db0 FUN_140006db0 48 ok +0x140006de0 FUN_140006de0 145 ok +0x140006e80 FUN_140006e80 136 ok +0x140006f20 FUN_140006f20 137 ok +0x140006fb0 FUN_140006fb0 94 ok +0x140007010 FUN_140007010 125 ok +0x140007090 FUN_140007090 857 ok +0x140007430 FUN_140007430 150 ok +0x1400074d0 FUN_1400074d0 210 ok +0x1400075b0 FUN_1400075b0 23 ok +0x1400075d0 FUN_1400075d0 257 ok +0x140007700 FUN_140007700 784 ok +0x140007a20 FUN_140007a20 2510 ok +0x140008410 FUN_140008410 3612 ok +0x140009240 FUN_140009240 1244 ok +0x140009720 FUN_140009720 50 ok +0x140009760 FUN_140009760 1438 ok +0x140009d00 FUN_140009d00 570 ok +0x140009f70 FUN_140009f70 234 ok +0x14000a070 FUN_14000a070 195 ok +0x14000a140 FUN_14000a140 54 ok +0x14000a180 FUN_14000a180 182 ok +0x14000a240 FUN_14000a240 129 ok +0x14000a2d0 FUN_14000a2d0 145 ok +0x14000a370 FUN_14000a370 323 ok +0x14000a4c0 FUN_14000a4c0 89 ok +0x14000a520 FUN_14000a520 93 ok +0x14000a580 FUN_14000a580 104 ok +0x14000a5f0 FUN_14000a5f0 169 ok +0x14000a6a0 FUN_14000a6a0 113 ok +0x14000a720 FUN_14000a720 123 ok +0x14000a7a0 FUN_14000a7a0 148 ok +0x14000a840 FUN_14000a840 120 ok +0x14000a8c0 FUN_14000a8c0 141 ok +0x14000a950 FUN_14000a950 219 ok +0x14000aa30 FUN_14000aa30 240 ok +0x14000ab30 FUN_14000ab30 306 ok +0x14000ac70 FUN_14000ac70 56 ok +0x14000acb0 FUN_14000acb0 119 ok +0x14000ad30 FUN_14000ad30 48 ok +0x14000ad60 FUN_14000ad60 94 ok +0x14000add0 FUN_14000add0 116 ok +0x14000ae50 FUN_14000ae50 877 ok +0x14000b1c0 FUN_14000b1c0 1057 ok +0x14000b5f0 FUN_14000b5f0 900 ok +0x14000b980 FUN_14000b980 950 ok +0x14000bd40 FUN_14000bd40 184 ok +0x14000be00 FUN_14000be00 115 ok +0x14000be80 FUN_14000be80 207 ok +0x14000bf50 FUN_14000bf50 150 ok +0x14000bff0 FUN_14000bff0 269 ok +0x14000c120 FUN_14000c120 196 ok +0x14000c1f0 FUN_14000c1f0 118 ok +0x14000c270 FUN_14000c270 225 ok +0x14000c360 FUN_14000c360 281 ok +0x14000c480 FUN_14000c480 320 ok +0x14000c5c0 FUN_14000c5c0 159 ok +0x14000c660 FUN_14000c660 259 ok +0x14000c770 FUN_14000c770 87 ok +0x14000c7d0 FUN_14000c7d0 287 ok +0x14000c910 FUN_14000c910 200 ok +0x14000c9e0 FUN_14000c9e0 298 ok +0x14000cb10 FUN_14000cb10 50 ok +0x14000cb50 FUN_14000cb50 22 ok +0x14000cb70 FUN_14000cb70 206 ok +0x14000cc40 FUN_14000cc40 826 ok +0x14000cf80 FUN_14000cf80 212 ok +0x14000d060 FUN_14000d060 260 ok +0x14000d170 FUN_14000d170 807 ok +0x14000d4a0 FUN_14000d4a0 209 ok +0x14000d580 FUN_14000d580 795 ok +0x14000d8a0 FUN_14000d8a0 222 ok +0x14000d980 FUN_14000d980 88 ok +0x14000d9e0 FUN_14000d9e0 56 ok +0x14000da20 FUN_14000da20 118 ok +0x14000daa0 FUN_14000daa0 131 ok +0x14000db30 FUN_14000db30 371 ok +0x14000dcb0 FUN_14000dcb0 290 ok +0x14000dde0 FUN_14000dde0 232 ok +0x14000ded0 FUN_14000ded0 174 ok +0x14000df80 FUN_14000df80 91 ok +0x14000dfe0 FUN_14000dfe0 84 ok +0x14000e040 FUN_14000e040 125 ok +0x14000e0c0 FUN_14000e0c0 419 ok +0x14000e270 FUN_14000e270 373 ok +0x14000e3f0 FUN_14000e3f0 445 ok +0x14000e5b0 FUN_14000e5b0 50 ok +0x14000e5f0 FUN_14000e5f0 22 ok +0x14000e610 FUN_14000e610 2479 ok +0x14000efc0 FUN_14000efc0 357 ok +0x14000f130 FUN_14000f130 353 ok +0x14000f2a0 FUN_14000f2a0 726 ok +0x14000f580 FUN_14000f580 593 ok +0x14000f7e0 FUN_14000f7e0 542 ok +0x14000fa00 FUN_14000fa00 731 ok +0x14000fcf0 FUN_14000fcf0 213 ok +0x14000fdd0 FUN_14000fdd0 297 ok +0x14000ff00 FUN_14000ff00 182 ok +0x14000ffc0 FUN_14000ffc0 129 ok +0x140010050 FUN_140010050 323 ok +0x1400101a0 FUN_1400101a0 89 ok +0x140010200 FUN_140010200 167 ok +0x1400102b0 FUN_1400102b0 69 ok +0x140010300 FUN_140010300 179 ok +0x1400103c0 FUN_1400103c0 20 ok +0x1400103e0 FUN_1400103e0 173 ok +0x140010490 FUN_140010490 80 ok +0x1400104e0 FUN_1400104e0 144 ok +0x140010570 FUN_140010570 198 ok +0x140010640 FUN_140010640 199 ok +0x140010710 FUN_140010710 398 ok +0x1400108a0 FUN_1400108a0 177 ok +0x140010960 FUN_140010960 422 ok +0x140010b10 FUN_140010b10 49 ok +0x140010b50 FUN_140010b50 122 ok +0x140010bd0 FUN_140010bd0 50 ok +0x140010c10 FUN_140010c10 560 ok +0x140010e40 FUN_140010e40 293 ok +0x140010f70 FUN_140010f70 87 ok +0x140010fd0 FUN_140010fd0 125 ok +0x140011050 FUN_140011050 97 ok +0x1400110c0 FUN_1400110c0 128 ok +0x140011140 FUN_140011140 228 ok +0x140011230 FUN_140011230 124 ok +0x1400112b0 FUN_1400112b0 182 ok +0x140011370 FUN_140011370 155 ok +0x140011410 FUN_140011410 172 ok +0x1400114c0 FUN_1400114c0 14 ok +0x1400114d0 FUN_1400114d0 74 ok +0x140011520 FUN_140011520 96 ok +0x140011580 FUN_140011580 69 ok +0x1400115d0 FUN_1400115d0 117 ok +0x140011650 FUN_140011650 219 ok +0x140011730 FUN_140011730 146 ok +0x1400117d0 FUN_1400117d0 39 ok +0x140011800 FUN_140011800 50 ok +0x140011840 FUN_140011840 851 ok +0x140011ba0 FUN_140011ba0 277 ok +0x140011cc0 FUN_140011cc0 262 ok +0x140011dd0 FUN_140011dd0 302 ok +0x140011f00 FUN_140011f00 281 ok +0x140012020 FUN_140012020 305 ok +0x140012160 FUN_140012160 848 ok +0x1400124c0 FUN_1400124c0 849 ok +0x140012820 FUN_140012820 183 ok +0x1400128e0 FUN_1400128e0 336 ok +0x140012a30 FUN_140012a30 858 ok +0x140012d90 FUN_140012d90 1457 ok +0x140013350 FUN_140013350 850 ok +0x1400136b0 FUN_1400136b0 320 ok +0x1400137f0 FUN_1400137f0 900 ok +0x140013b80 FUN_140013b80 491 ok +0x140013d70 FUN_140013d70 146 ok +0x140013e10 FUN_140013e10 197 ok +0x140013ee0 FUN_140013ee0 34 ok +0x140013f10 FUN_140013f10 105 ok +0x140013f80 FUN_140013f80 47 ok +0x140013fb0 FUN_140013fb0 28 ok +0x140013fd0 FUN_140013fd0 42 ok +0x140014000 FUN_140014000 84 ok +0x140014060 FUN_140014060 58 ok +0x1400140a0 FUN_1400140a0 316 ok +0x1400141e0 FUN_1400141e0 71 ok +0x140014230 FUN_140014230 827 ok +0x140014570 FUN_140014570 827 ok +0x1400148b0 FUN_1400148b0 827 ok +0x140014bf0 FUN_140014bf0 845 ok +0x140014f40 FUN_140014f40 838 ok +0x140015290 FUN_140015290 1208 ok +0x140015750 FUN_140015750 867 ok +0x140015ac0 FUN_140015ac0 2067 ok +0x140016310 FUN_140016310 327 ok +0x140016460 FUN_140016460 73 ok +0x1400164b0 FUN_1400164b0 105 ok +0x140016520 FUN_140016520 104 ok +0x140016590 FUN_140016590 96 ok +0x1400165f0 FUN_1400165f0 211 ok +0x1400166d0 FUN_1400166d0 743 ok +0x1400169c0 FUN_1400169c0 743 ok +0x140016cb0 FUN_140016cb0 743 ok +0x140016fa0 FUN_140016fa0 1205 ok +0x140017460 FUN_140017460 919 ok +0x140017800 FUN_140017800 919 ok +0x140017ba0 FUN_140017ba0 1381 ok +0x140018110 FUN_140018110 919 ok +0x1400184b0 FUN_1400184b0 1570 ok +0x140018ae0 FUN_140018ae0 1977 ok +0x1400192a0 FUN_1400192a0 812 ok +0x1400195d0 FUN_1400195d0 1944 ok +0x140019d70 FUN_140019d70 241 ok +0x140019e80 FUN_140019e80 124 ok +0x140019f00 FUN_140019f00 182 ok +0x140019fc0 FUN_140019fc0 182 ok +0x14001a080 FUN_14001a080 137 ok +0x14001a110 FUN_14001a110 123 ok +0x14001a190 FUN_14001a190 188 ok +0x14001a250 FUN_14001a250 315 ok +0x14001a390 FUN_14001a390 309 ok +0x14001a4d0 FUN_14001a4d0 268 ok +0x14001a5e0 FUN_14001a5e0 83 ok +0x14001a640 FUN_14001a640 611 ok +0x14001a8b0 FUN_14001a8b0 96 ok +0x14001a910 FUN_14001a910 82 ok +0x14001a970 FUN_14001a970 125 ok +0x14001a9f0 FUN_14001a9f0 780 ok +0x14001ad00 FUN_14001ad00 969 ok +0x14001b0d0 FUN_14001b0d0 1083 ok +0x14001b510 FUN_14001b510 563 ok +0x14001b750 FUN_14001b750 549 ok +0x14001b980 FUN_14001b980 561 ok +0x14001bbc0 FUN_14001bbc0 1305 ok +0x14001c0e0 FUN_14001c0e0 547 ok +0x14001c310 FUN_14001c310 34 ok +0x14001c340 FUN_14001c340 177 ok +0x14001c400 FUN_14001c400 48 ok +0x14001c430 FUN_14001c430 22 ok +0x14001c450 FUN_14001c450 14 ok +0x14001c460 FUN_14001c460 50 ok +0x14001c4a0 FUN_14001c4a0 105 ok +0x14001c510 FUN_14001c510 46 ok +0x14001c540 FUN_14001c540 46 ok +0x14001c570 FUN_14001c570 46 ok +0x14001c5a0 FUN_14001c5a0 9 ok +0x14001c5b0 FUN_14001c5b0 31 ok +0x14001c5d0 FUN_14001c5d0 3 ok +0x14001c5e0 FUN_14001c5e0 55 ok +0x14001c620 FUN_14001c620 85 ok +0x14001c680 FUN_14001c680 296 ok +0x14001c7b0 FUN_14001c7b0 453 ok +0x14001c980 FUN_14001c980 401 ok +0x14001cb20 FUN_14001cb20 93 ok +0x14001cb80 FUN_14001cb80 191 ok +0x14001cc40 FUN_14001cc40 182 ok +0x14001cd00 FUN_14001cd00 363 ok +0x14001ce70 FUN_14001ce70 584 ok +0x14001d0c0 FUN_14001d0c0 94 ok +0x14001d120 FUN_14001d120 131 ok +0x14001d1b0 FUN_14001d1b0 151 ok +0x14001d250 FUN_14001d250 14 ok +0x14001d260 FUN_14001d260 186 ok +0x14001d320 FUN_14001d320 838 ok +0x14001d670 FUN_14001d670 123 ok +0x14001d6f0 FUN_14001d6f0 81 ok +0x14001d750 FUN_14001d750 89 ok +0x14001d7b0 FUN_14001d7b0 93 ok +0x14001d810 FUN_14001d810 11 ok +0x14001d820 FUN_14001d820 33 ok +0x14001d850 FUN_14001d850 106 ok +0x14001d8c0 FUN_14001d8c0 283 ok +0x14001d9e0 FUN_14001d9e0 404 ok +0x14001db80 FUN_14001db80 382 ok +0x14001dd00 FUN_14001dd00 259 ok +0x14001de10 FUN_14001de10 277 ok +0x14001df30 FUN_14001df30 314 ok +0x14001e070 FUN_14001e070 332 ok +0x14001e1c0 FUN_14001e1c0 46 ok +0x14001e1f0 FUN_14001e1f0 197 ok +0x14001e2c0 FUN_14001e2c0 243 ok +0x14001e3c0 FUN_14001e3c0 127 ok +0x14001e440 FUN_14001e440 106 ok +0x14001e4b0 FUN_14001e4b0 11 ok +0x14001e4c0 FUN_14001e4c0 39 ok +0x14001e4f0 FUN_14001e4f0 62 ok +0x14001e530 FUN_14001e530 169 ok +0x14001e5e0 FUN_14001e5e0 8 ok +0x14001e5f0 FUN_14001e5f0 103 ok +0x14001e660 FUN_14001e660 73 ok +0x14001e6b0 std::bad_alloc `scalar_deleting_destructor' 58 ok +0x14001e6f0 FUN_14001e6f0 115 ok +0x14001e770 FUN_14001e770 4 ok +0x14001e780 std::bad_alloc `scalar_deleting_destructor' 58 ok +0x14001e7c0 FUN_14001e7c0 13 ok +0x14001e7d0 FUN_14001e7d0 130 ok +0x14001e860 std::bad_alloc `scalar_deleting_destructor' 58 ok +0x14001e8a0 FUN_14001e8a0 845 ok +0x14001ebf0 FUN_14001ebf0 48 ok +0x14001ec20 FUN_14001ec20 115 ok +0x14001eca0 FUN_14001eca0 96 ok +0x14001ed00 FUN_14001ed00 281 ok +0x14001ee20 FUN_14001ee20 206 ok +0x14001ef00 FUN_14001ef00 178 ok +0x14001efc0 FUN_14001efc0 48 ok +0x14001eff0 FUN_14001eff0 120 ok +0x14001f070 FUN_14001f070 180 ok +0x14001f130 FUN_14001f130 362 ok +0x14001f2a0 FUN_14001f2a0 450 ok +0x14001f470 FUN_14001f470 205 ok +0x14001f540 FUN_14001f540 120 ok +0x14001f5c0 FUN_14001f5c0 101 ok +0x14001f630 FUN_14001f630 151 ok +0x14001f6d0 FUN_14001f6d0 199 ok +0x14001f7a0 FUN_14001f7a0 380 ok +0x14001f920 FUN_14001f920 1291 ok +0x14001fe30 FUN_14001fe30 173 ok +0x14001fee0 FUN_14001fee0 93 ok +0x14001ff40 FUN_14001ff40 88 ok +0x14001ffa0 FUN_14001ffa0 104 ok +0x140020010 FUN_140020010 657 ok +0x1400202b0 FUN_1400202b0 93 ok +0x140020310 FUN_140020310 16 ok +0x140020320 FUN_140020320 176 ok +0x1400203d0 FUN_1400203d0 216 fail: Low-level Error: Overlapping input varnodes +0x1400204b0 FUN_1400204b0 16 ok +0x1400204c0 FUN_1400204c0 138 ok +0x140020550 FUN_140020550 185 ok +0x140020610 FUN_140020610 951 ok +0x1400209d0 FUN_1400209d0 139 ok +0x140020a60 FUN_140020a60 16 ok +0x140020a70 FUN_140020a70 142 ok +0x140020b00 FUN_140020b00 93 ok +0x140020b60 FUN_140020b60 16 ok +0x140020b70 FUN_140020b70 176 ok +0x140020c20 FUN_140020c20 46 ok +0x140020c50 FUN_140020c50 45 ok +0x140020c80 FUN_140020c80 259 ok +0x140020d90 FUN_140020d90 336 ok +0x140020ee0 FUN_140020ee0 221 ok +0x140020fc0 FUN_140020fc0 182 ok +0x140021080 FUN_140021080 489 ok +0x140021270 FUN_140021270 200 ok +0x140021340 FUN_140021340 982 ok +0x140021720 FUN_140021720 636 ok +0x1400219a0 FUN_1400219a0 145 ok +0x140021a40 FUN_140021a40 780 ok +0x140021d50 FUN_140021d50 1718 ok +0x140022410 FUN_140022410 694 ok +0x1400226d0 FUN_1400226d0 511 ok +0x1400228d0 FUN_1400228d0 630 ok +0x140022b50 FUN_140022b50 484 ok +0x140022d40 FUN_140022d40 590 ok +0x140022f90 FUN_140022f90 1297 ok +0x1400234b0 FUN_1400234b0 11 ok +0x1400234c0 FUN_1400234c0 39 ok +0x1400234f0 FUN_1400234f0 6 ok +0x140023500 FUN_140023500 48 ok +0x140023530 FUN_140023530 22 ok +0x140023550 FUN_140023550 42 ok +0x140023580 FUN_140023580 134 ok +0x140023610 FUN_140023610 50 ok +0x140023650 FUN_140023650 137 ok +0x1400236e0 FUN_1400236e0 264 ok +0x1400237f0 FUN_1400237f0 9 ok +0x140023800 FUN_140023800 39 ok +0x140023830 FUN_140023830 11 ok +0x140023840 FUN_140023840 39 ok +0x140023870 FUN_140023870 91 ok +0x1400238d0 FUN_1400238d0 6 ok +0x1400238e0 FUN_1400238e0 6 ok +0x1400238f0 FUN_1400238f0 48 ok +0x140023920 FUN_140023920 3 ok +0x140023930 FUN_140023930 857 ok +0x140023c90 FUN_140023c90 860 ok +0x140023ff0 FUN_140023ff0 490 ok +0x1400241e0 FUN_1400241e0 528 ok +0x140024400 FUN_140024400 269 ok +0x140024510 FUN_140024510 279 ok +0x140024630 FUN_140024630 230 ok +0x140024720 FUN_140024720 240 ok +0x140024820 FUN_140024820 209 ok +0x140024900 FUN_140024900 219 ok +0x1400249e0 FUN_1400249e0 300 ok +0x140024b10 FUN_140024b10 318 ok +0x140024c50 FUN_140024c50 468 ok +0x140024e30 FUN_140024e30 512 ok +0x140025040 FUN_140025040 253 ok +0x140025140 FUN_140025140 263 ok +0x140025250 FUN_140025250 227 ok +0x140025340 FUN_140025340 237 ok +0x140025430 FUN_140025430 230 ok +0x140025520 FUN_140025520 240 ok +0x140025620 FUN_140025620 210 ok +0x140025700 FUN_140025700 216 ok +0x1400257e0 FUN_1400257e0 278 ok +0x140025900 FUN_140025900 298 ok +0x140025a30 FUN_140025a30 248 ok +0x140025b30 FUN_140025b30 258 ok +0x140025c40 FUN_140025c40 248 ok +0x140025d40 FUN_140025d40 258 ok +0x140025e50 FUN_140025e50 248 ok +0x140025f50 FUN_140025f50 258 ok +0x140026060 FUN_140026060 290 ok +0x140026190 FUN_140026190 300 ok +0x1400262c0 FUN_1400262c0 290 ok +0x1400263f0 FUN_1400263f0 300 ok +0x140026520 FUN_140026520 10572 ok +0x140028ea0 std::bad_alloc `scalar_deleting_destructor' 58 ok +0x140028ee0 FUN_140028ee0 15 ok +0x140028ef0 std::bad_alloc `scalar_deleting_destructor' 58 ok +0x140028f30 FUN_140028f30 15 ok +0x140028f40 FUN_140028f40 126 ok +0x140028fc0 FUN_140028fc0 525 ok +0x1400291d0 FUN_1400291d0 252 ok +0x1400292d0 FUN_1400292d0 271 ok +0x1400293e0 FUN_1400293e0 252 ok +0x1400294e0 FUN_1400294e0 199 ok +0x1400295b0 FUN_1400295b0 164 ok +0x140029660 FUN_140029660 104 ok +0x1400296d0 FUN_1400296d0 164 ok +0x140029780 FUN_140029780 121 ok +0x140029800 FUN_140029800 144 ok +0x140029890 FUN_140029890 137 ok +0x140029920 FUN_140029920 94 ok +0x140029980 FUN_140029980 353 ok +0x140029af0 FUN_140029af0 143 ok +0x140029b80 FUN_140029b80 34 ok +0x140029bb0 FUN_140029bb0 50 ok +0x140029bf0 FUN_140029bf0 322 ok +0x140029d40 FUN_140029d40 49 ok +0x140029d80 FUN_140029d80 217 ok +0x140029e60 FUN_140029e60 216 ok +0x140029f40 FUN_140029f40 106 ok +0x140029fb0 FUN_140029fb0 150 ok +0x14002a050 FUN_14002a050 190 ok +0x14002a110 FUN_14002a110 103 ok +0x14002a180 FUN_14002a180 217 ok +0x14002a260 FUN_14002a260 99 ok +0x14002a2d0 FUN_14002a2d0 219 ok +0x14002a3b0 FUN_14002a3b0 33 ok +0x14002a3e0 FUN_14002a3e0 59 ok +0x14002a420 FUN_14002a420 64 ok +0x14002a470 FUN_14002a470 6 ok +0x14002a480 FUN_14002a480 6 ok +0x14002a490 FUN_14002a490 209 ok +0x14002a570 FUN_14002a570 219 ok +0x14002a650 FUN_14002a650 468 ok +0x14002a830 FUN_14002a830 512 ok +0x14002aa40 FUN_14002aa40 270 ok +0x14002ab50 FUN_14002ab50 290 ok +0x14002ac80 FUN_14002ac80 391 ok +0x14002ae10 FUN_14002ae10 402 ok +0x14002afb0 FUN_14002afb0 252 ok +0x14002b0b0 FUN_14002b0b0 262 ok +0x14002b1c0 FUN_14002b1c0 232 ok +0x14002b2b0 FUN_14002b2b0 238 ok +0x14002b3a0 FUN_14002b3a0 252 ok +0x14002b4a0 FUN_14002b4a0 258 ok +0x14002b5b0 FUN_14002b5b0 302 ok +0x14002b6e0 FUN_14002b6e0 320 ok +0x14002b830 FUN_14002b830 266 ok +0x14002b940 FUN_14002b940 276 ok +0x14002ba60 FUN_14002ba60 284 ok +0x14002bb80 FUN_14002bb80 294 ok +0x14002bcb0 FUN_14002bcb0 227 ok +0x14002bda0 FUN_14002bda0 237 ok +0x14002be90 FUN_14002be90 231 ok +0x14002bf80 FUN_14002bf80 237 ok +0x14002c070 FUN_14002c070 209 ok +0x14002c150 FUN_14002c150 219 ok +0x14002c230 FUN_14002c230 189 ok +0x14002c2f0 FUN_14002c2f0 198 ok +0x14002c3c0 FUN_14002c3c0 11108 ok +0x14002ef60 std::bad_alloc `scalar_deleting_destructor' 58 ok +0x14002efa0 FUN_14002efa0 15 ok +0x14002efb0 FUN_14002efb0 3 ok +0x14002efc0 std::bad_alloc `scalar_deleting_destructor' 58 ok +0x14002f000 FUN_14002f000 15 ok +0x14002f010 FUN_14002f010 315 ok +0x14002f150 FUN_14002f150 158 ok +0x14002f1f0 FUN_14002f1f0 164 ok +0x14002f2a0 FUN_14002f2a0 96 ok +0x14002f300 FUN_14002f300 129 ok +0x14002f390 FUN_14002f390 272 ok +0x14002f4a0 FUN_14002f4a0 220 ok +0x14002f580 FUN_14002f580 51 ok +0x14002f5c0 FUN_14002f5c0 224 ok +0x14002f6b0 FUN_14002f6b0 53 ok +0x14002f6f0 FUN_14002f6f0 110 ok +0x14002f760 FUN_14002f760 749 ok +0x14002fa50 FUN_14002fa50 48 ok +0x14002fa80 FUN_14002fa80 378 ok +0x14002fc00 FUN_14002fc00 569 ok +0x14002fe40 FUN_14002fe40 1209 ok +0x140030300 FUN_140030300 3272 ok +0x140030fd0 FUN_140030fd0 36 ok +0x140031000 FUN_140031000 8037 ok +0x140032f70 FUN_140032f70 1280 ok +0x140033470 FUN_140033470 218 ok +0x140033550 FUN_140033550 938 ok +0x140033900 FUN_140033900 57 ok +0x140033940 FUN_140033940 498 ok +0x140033b40 FUN_140033b40 237 ok +0x140033c30 FUN_140033c30 812 ok +0x140033fc0 FUN_140033fc0 36 ok +0x140033ff0 FUN_140033ff0 553 ok +0x140034220 FUN_140034220 2472 ok +0x140034be0 FUN_140034be0 127 ok +0x140034c60 FUN_140034c60 20 ok +0x140034c80 FUN_140034c80 86 ok +0x140034ce0 FUN_140034ce0 164 ok +0x140034d90 FUN_140034d90 35 ok +0x140034dc0 FUN_140034dc0 566 ok +0x140035000 FUN_140035000 77 ok +0x140035050 FUN_140035050 99 ok +0x1400350c0 FUN_1400350c0 409 ok +0x140035260 FUN_140035260 266 ok +0x140035370 FUN_140035370 54 ok +0x1400353b0 FUN_1400353b0 185 ok +0x140035470 FUN_140035470 164 ok +0x140035520 FUN_140035520 35 ok +0x140035550 FUN_140035550 682 ok +0x140035800 FUN_140035800 88 ok +0x140035860 FUN_140035860 147 ok +0x140035900 FUN_140035900 451 ok +0x140035ad0 FUN_140035ad0 289 ok +0x140035c00 FUN_140035c00 111 ok +0x140035c70 FUN_140035c70 83 ok +0x140035cd0 FUN_140035cd0 132 ok +0x140035d60 FUN_140035d60 83 ok +0x140035dc0 FUN_140035dc0 132 ok +0x140035e50 FUN_140035e50 137 ok +0x140035ee0 FUN_140035ee0 129 ok +0x140035f70 FUN_140035f70 638 ok +0x1400361f0 FUN_1400361f0 182 ok +0x1400362b0 FUN_1400362b0 657 ok +0x140036550 FUN_140036550 268 ok +0x140036660 FUN_140036660 89 ok +0x1400366c0 FUN_1400366c0 244 ok +0x1400367c0 FUN_1400367c0 100 ok +0x140036830 FUN_140036830 120 ok +0x1400368b0 FUN_1400368b0 166 ok +0x140036960 FUN_140036960 321 ok +0x140036ab0 FUN_140036ab0 348 ok +0x140036c10 FUN_140036c10 221 ok +0x140036cf0 FUN_140036cf0 126 ok +0x140036d70 FUN_140036d70 121 ok +0x140036df0 FUN_140036df0 138 ok +0x140036e80 FUN_140036e80 191 ok +0x140036f40 FUN_140036f40 325 ok +0x140037090 FUN_140037090 91 ok +0x1400370f0 FUN_1400370f0 165 ok +0x1400371a0 FUN_1400371a0 179 ok +0x140037260 FUN_140037260 217 ok +0x140037340 FUN_140037340 446 ok +0x140037500 FUN_140037500 222 ok +0x1400375e0 FUN_1400375e0 198 ok +0x1400376b0 FUN_1400376b0 50 ok +0x1400376f0 FUN_1400376f0 22 ok +0x140037710 FUN_140037710 61 ok +0x140037750 FUN_140037750 1689 ok +0x140037e00 FUN_140037e00 155 ok +0x140037ea0 FUN_140037ea0 117 ok +0x140037f20 FUN_140037f20 231 ok +0x140038010 FUN_140038010 332 ok +0x140038160 FUN_140038160 150 ok +0x140038210 FUN_140038210 105 ok +0x140038280 FUN_140038280 128 ok +0x140038300 FUN_140038300 148 ok +0x1400383a0 FUN_1400383a0 88 ok +0x140038400 FUN_140038400 56 ok +0x140038440 FUN_140038440 126 ok +0x1400384c0 FUN_1400384c0 105 ok +0x140038530 FUN_140038530 2759 ok +0x140039000 FUN_140039000 50 ok +0x140039040 FUN_140039040 22 ok +0x140039060 FUN_140039060 100 ok +0x1400390d0 FUN_1400390d0 349 ok +0x140039230 FUN_140039230 702 ok +0x1400394f0 FUN_1400394f0 250 ok +0x1400395f0 FUN_1400395f0 128 ok +0x140039670 FUN_140039670 345 ok +0x1400397d0 FUN_1400397d0 272 ok +0x1400398e0 FUN_1400398e0 158 ok +0x140039980 FUN_140039980 180 ok +0x140039a40 FUN_140039a40 304 ok +0x140039b70 FUN_140039b70 338 ok +0x140039cd0 FUN_140039cd0 630 ok +0x140039f50 FUN_140039f50 372 ok +0x14003a0d0 FUN_14003a0d0 372 ok +0x14003a250 FUN_14003a250 196 ok +0x14003a320 FUN_14003a320 632 ok +0x14003a5a0 FUN_14003a5a0 218 ok +0x14003a680 FUN_14003a680 139 ok +0x14003a710 FUN_14003a710 202 ok +0x14003a7e0 FUN_14003a7e0 172 ok +0x14003a890 FUN_14003a890 333 ok +0x14003a9e0 FUN_14003a9e0 531 ok +0x14003ac00 FUN_14003ac00 24 ok +0x14003ac20 FUN_14003ac20 94 ok +0x14003ac80 FUN_14003ac80 37 ok +0x14003acb0 FUN_14003acb0 50 ok +0x14003acf0 FUN_14003acf0 357 ok +0x14003ae60 FUN_14003ae60 48 ok +0x14003ae90 FUN_14003ae90 170 ok +0x14003af40 FUN_14003af40 50 ok +0x14003af80 FUN_14003af80 22 ok +0x14003afa0 FUN_14003afa0 84 ok +0x14003b000 FUN_14003b000 38 ok +0x14003b030 FUN_14003b030 195 ok +0x14003b100 FUN_14003b100 143 ok +0x14003b190 FUN_14003b190 149 ok +0x14003b230 FUN_14003b230 50 ok +0x14003b270 FUN_14003b270 115 ok +0x14003b2f0 FUN_14003b2f0 147 ok +0x14003b390 FUN_14003b390 206 ok +0x14003b460 FUN_14003b460 140 ok +0x14003b4f0 FUN_14003b4f0 20 ok +0x14003b510 FUN_14003b510 131 ok +0x14003b5a0 FUN_14003b5a0 465 ok +0x14003b780 FUN_14003b780 302 ok +0x14003b8b0 FUN_14003b8b0 325 ok +0x14003ba00 FUN_14003ba00 577 ok +0x14003bc50 FUN_14003bc50 50 ok +0x14003bc90 FUN_14003bc90 22 ok +0x14003bcb0 FUN_14003bcb0 791 ok +0x14003bfd0 FUN_14003bfd0 205 ok +0x14003c0a0 FUN_14003c0a0 325 ok +0x14003c1f0 FUN_14003c1f0 113 ok +0x14003c270 FUN_14003c270 473 ok +0x14003c450 FUN_14003c450 150 ok +0x14003c4f0 FUN_14003c4f0 197 ok +0x14003c5c0 FUN_14003c5c0 205 ok +0x14003c690 FUN_14003c690 71 ok +0x14003c6e0 FUN_14003c6e0 347 ok +0x14003c840 FUN_14003c840 259 ok +0x14003c950 FUN_14003c950 319 ok +0x14003ca90 FUN_14003ca90 829 ok +0x14003cdd0 FUN_14003cdd0 396 ok +0x14003cf60 FUN_14003cf60 216 ok +0x14003d040 FUN_14003d040 45 ok +0x14003d070 FUN_14003d070 27 ok +0x14003d090 FUN_14003d090 50 ok +0x14003d0d0 FUN_14003d0d0 11 ok +0x14003d0e0 FUN_14003d0e0 10 ok +0x14003d0f0 FUN_14003d0f0 31 ok +0x14003d110 FUN_14003d110 124 ok +0x14003d190 FUN_14003d190 31 ok +0x14003d1b0 FUN_14003d1b0 168 ok +0x14003d260 FUN_14003d260 30 ok +0x14003d280 FUN_14003d280 308 ok +0x14003d3c0 FUN_14003d3c0 101 ok +0x14003d430 FUN_14003d430 16 ok +0x14003d440 FUN_14003d440 126 ok +0x14003d4c0 FUN_14003d4c0 270 ok +0x14003d5d0 FUN_14003d5d0 265 ok +0x14003d6e0 FUN_14003d6e0 57 ok +0x14003d720 FUN_14003d720 95 ok +0x14003d780 FUN_14003d780 125 ok +0x14003d800 FUN_14003d800 121 ok +0x14003d880 FUN_14003d880 130 ok +0x14003d910 FUN_14003d910 501 ok +0x14003db10 FUN_14003db10 591 ok +0x14003dd60 FUN_14003dd60 126 ok +0x14003dde0 FUN_14003dde0 221 ok +0x14003dec0 FUN_14003dec0 38 ok +0x14003def0 FUN_14003def0 38 ok +0x14003df20 FUN_14003df20 41 ok +0x14003df50 FUN_14003df50 24 ok +0x14003df70 FUN_14003df70 324 ok +0x14003e0c0 FUN_14003e0c0 68 ok +0x14003e110 FUN_14003e110 94 ok +0x14003e170 FUN_14003e170 151 ok +0x14003e210 FUN_14003e210 62 ok +0x14003e250 FUN_14003e250 223 ok +0x14003e340 FUN_14003e340 232 ok +0x14003e430 FUN_14003e430 155 ok +0x14003e4d0 FUN_14003e4d0 158 ok +0x14003e570 FUN_14003e570 165 ok +0x14003e620 FUN_14003e620 42 ok +0x14003e650 FUN_14003e650 15 ok +0x14003e660 FUN_14003e660 30 ok +0x14003e690 FUN_14003e690 32 ok +0x14003e6c0 FUN_14003e6c0 5 ok +0x14003e6e0 FUN_14003e6e0 41 ok +0x14003e710 FUN_14003e710 39 ok +0x14003e740 FUN_14003e740 27 ok +0x14003e770 FUN_14003e770 32 ok +0x14003e7b0 FUN_14003e7b0 10 ok +0x14003e7c0 FUN_14003e7c0 86 ok +0x14003e820 FUN_14003e820 14 ok +0x14003e830 FUN_14003e830 11 ok +0x14003e840 FUN_14003e840 44 ok +0x14003e870 FUN_14003e870 59 ok +0x14003e8b0 FUN_14003e8b0 35 ok +0x14003e8e0 FUN_14003e8e0 38 ok +0x14003e910 FUN_14003e910 89 ok +0x14003e970 FUN_14003e970 21 ok +0x14003e990 FUN_14003e990 8 ok +0x14003e9a0 FUN_14003e9a0 38 ok +0x14003e9d0 FUN_14003e9d0 119 ok +0x14003ea50 FUN_14003ea50 59 ok +0x14003ea90 FUN_14003ea90 54 ok +0x14003ead0 FUN_14003ead0 26 ok +0x14003eaf0 FUN_14003eaf0 29 ok +0x14003eb10 FUN_14003eb10 33 ok +0x14003eb40 FUN_14003eb40 29 ok +0x14003eb60 FUN_14003eb60 87 ok +0x14003ebc0 FUN_14003ebc0 47 ok +0x14003ebf0 FUN_14003ebf0 82 ok +0x14003ec50 FUN_14003ec50 229 ok +0x14003ed40 FUN_14003ed40 521 ok +0x14003ef50 FUN_14003ef50 183 ok +0x14003f010 FUN_14003f010 222 ok +0x14003f0f0 FUN_14003f0f0 165 ok +0x14003f1a0 FUN_14003f1a0 17 ok +0x14003f1c0 FUN_14003f1c0 261 ok +0x14003f2d0 FUN_14003f2d0 69 ok +0x14003f320 FUN_14003f320 69 ok +0x14003f370 FUN_14003f370 11 ok +0x14003f390 FUN_14003f390 50 ok +0x14003f3d0 FUN_14003f3d0 61 ok +0x14003f480 FUN_14003f480 288 ok +0x14003f5b0 FUN_14003f5b0 968 ok +0x14003f980 FUN_14003f980 168 ok +0x14003fa30 FUN_14003fa30 81 ok +0x14003fa90 FUN_14003fa90 38 ok +0x14003fac0 FUN_14003fac0 259 ok +0x14003fbd0 FUN_14003fbd0 31 ok +0x14003fbf0 FUN_14003fbf0 132 ok +0x14003fc80 FUN_14003fc80 72 ok +0x14003fcd0 FUN_14003fcd0 570 ok +0x14003ff20 FUN_14003ff20 795 ok +0x140040250 FUN_140040250 143 ok +0x1400402e0 FUN_1400402e0 389 ok +0x140040470 FUN_140040470 34 ok +0x1400404a0 FUN_1400404a0 98 ok +0x140040510 FUN_140040510 141 ok +0x1400405a0 FUN_1400405a0 164 ok +0x140040650 FUN_140040650 738 ok +0x140040940 FUN_140040940 180 ok +0x140040a00 FUN_140040a00 110 ok +0x140040a70 FUN_140040a70 355 ok +0x140040be0 FUN_140040be0 2011 ok +0x1400413c0 FUN_1400413c0 239 ok +0x1400414b0 FUN_1400414b0 117 ok +0x140041530 FUN_140041530 78 ok +0x140041580 FUN_140041580 162 ok +0x140041630 FUN_140041630 177 ok +0x1400416f0 FUN_1400416f0 52 ok +0x140041730 FUN_140041730 60 ok +0x140041770 FUN_140041770 11 ok +0x140041780 FUN_140041780 38 ok +0x1400417b0 FUN_1400417b0 14 ok +0x1400417c0 FUN_1400417c0 24 ok +0x1400417e0 FUN_1400417e0 55 ok +0x140041820 FUN_140041820 35 ok +0x140041850 FUN_140041850 37 ok +0x140041880 FUN_140041880 177 ok +0x140041940 FUN_140041940 90 ok +0x1400419a0 FUN_1400419a0 98 ok +0x140041a10 FUN_140041a10 207 ok +0x140041af0 FUN_140041af0 239 ok +0x140041be0 FUN_140041be0 448 ok +0x140041da0 FUN_140041da0 123 ok +0x140041e20 FUN_140041e20 68 ok +0x140041e70 FUN_140041e70 140 ok +0x140041f00 FUN_140041f00 489 ok +0x1400420f0 FUN_1400420f0 365 ok +0x140042260 FUN_140042260 348 ok +0x1400423c0 FUN_1400423c0 114 ok +0x140042440 FUN_140042440 104 ok +0x1400424b0 FUN_1400424b0 189 ok +0x140042570 FUN_140042570 359 ok +0x1400426e0 FUN_1400426e0 54 ok +0x140042720 FUN_140042720 665 ok +0x1400429c0 FUN_1400429c0 318 ok +0x140042b00 FUN_140042b00 161 ok +0x140042bb0 FUN_140042bb0 177 ok +0x140042c70 FUN_140042c70 47 ok +0x140042ca0 FUN_140042ca0 680 ok +0x140042f50 FUN_140042f50 120 ok +0x140042fd0 FUN_140042fd0 18 ok +0x140042ff0 FUN_140042ff0 155 ok +0x140043090 FUN_140043090 155 ok +0x140043130 FUN_140043130 5 ok +0x140043140 FUN_140043140 4 ok +0x140043150 FUN_140043150 60 ok +0x140043190 FUN_140043190 149 ok +0x140043230 FUN_140043230 43 ok +0x140043260 FUN_140043260 66 ok +0x1400432b0 FUN_1400432b0 20 ok +0x1400432d0 FUN_1400432d0 84 ok +0x140043330 FUN_140043330 84 ok +0x140043390 FUN_140043390 90 ok +0x1400433f0 FUN_1400433f0 193 ok +0x1400434c0 FUN_1400434c0 23 ok +0x1400434f0 FUN_1400434f0 25 ok +0x140043510 FUN_140043510 11 ok +0x140043520 FUN_140043520 38 ok +0x140043550 FUN_140043550 206 ok +0x140043630 FUN_140043630 217 ok +0x140043710 FUN_140043710 208 ok +0x1400437e0 FUN_1400437e0 200 ok +0x1400438b0 FUN_1400438b0 200 ok +0x140043980 FUN_140043980 206 ok +0x140043a50 FUN_140043a50 230 ok +0x140043b40 FUN_140043b40 389 ok +0x140043cd0 FUN_140043cd0 20 ok +0x140043cf0 FUN_140043cf0 79 ok +0x140043d40 FUN_140043d40 29 ok +0x140043d60 FUN_140043d60 87 ok +0x140043dc0 FUN_140043dc0 149 ok +0x140043e60 FUN_140043e60 228 ok +0x140043f50 FUN_140043f50 533 ok +0x140044170 FUN_140044170 400 ok +0x140044300 FUN_140044300 324 ok +0x140044450 FUN_140044450 1067 ok +0x140044880 FUN_140044880 355 ok +0x1400449f0 FUN_1400449f0 443 ok +0x140044bb0 FUN_140044bb0 472 ok +0x140044d90 FUN_140044d90 451 ok +0x140044f60 FUN_140044f60 60 ok +0x140044fa0 FUN_140044fa0 96 ok +0x140045000 FUN_140045000 96 ok +0x140045060 FUN_140045060 362 ok +0x1400451d0 FUN_1400451d0 122 ok +0x140045250 FUN_140045250 254 ok +0x140045350 FUN_140045350 266 ok +0x140045460 FUN_140045460 171 ok +0x140045510 FUN_140045510 36 ok +0x140045540 FUN_140045540 69 ok +0x140045590 FUN_140045590 100 ok +0x140045600 FUN_140045600 72 ok +0x140045650 FUN_140045650 573 ok +0x140045890 FUN_140045890 565 ok +0x140045ad0 FUN_140045ad0 69 ok +0x140045b20 FUN_140045b20 81 ok +0x140045b80 FUN_140045b80 37 ok +0x140045bb0 FUN_140045bb0 125 ok +0x140045c30 FUN_140045c30 42 ok +0x140045c60 FUN_140045c60 57 ok +0x140045ca0 FUN_140045ca0 9 ok +0x140045cc0 FUN_140045cc0 90 ok +0x140045d20 FUN_140045d20 111 ok +0x140045d90 FUN_140045d90 86 ok +0x140045df0 FUN_140045df0 195 ok +0x140045ec0 FUN_140045ec0 430 ok +0x140046070 FUN_140046070 86 ok +0x1400460d0 FUN_1400460d0 101 ok +0x140046140 FUN_140046140 11 ok +0x140046150 FUN_140046150 117 ok +0x1400461d0 FUN_1400461d0 393 ok +0x140046360 FUN_140046360 234 ok +0x140046450 FUN_140046450 147 ok +0x1400464f0 FUN_1400464f0 50 ok +0x140046530 FUN_140046530 69 ok +0x140046580 FUN_140046580 149 ok +0x140046620 FUN_140046620 354 ok +0x140046790 FUN_140046790 178 ok +0x140046850 FUN_140046850 47 ok +0x140046880 FUN_140046880 110 ok +0x1400468f0 FUN_1400468f0 84 ok +0x140046950 FUN_140046950 593 ok +0x140046bb0 FUN_140046bb0 158 ok +0x140046c50 FUN_140046c50 228 ok +0x140046d50 FUN_140046d50 149 ok +0x140046df0 FUN_140046df0 132 ok +0x140046e80 FUN_140046e80 1094 ok +0x1400472d0 FUN_1400472d0 1772 ok +0x1400479d0 FUN_1400479d0 253 ok +0x140047ad0 FUN_140047ad0 220 ok +0x140047bb0 FUN_140047bb0 228 ok +0x140047ca0 FUN_140047ca0 225 ok +0x140047d90 FUN_140047d90 251 ok +0x140047e90 FUN_140047e90 294 ok +0x140047fc0 FUN_140047fc0 295 ok +0x1400480f0 FUN_1400480f0 60 ok +0x140048130 FUN_140048130 26 ok +0x140048150 FUN_140048150 68 ok +0x1400481a0 FUN_1400481a0 108 ok +0x140048210 FUN_140048210 268 ok +0x140048320 FUN_140048320 353 ok +0x140048490 FUN_140048490 147 ok +0x140048530 FUN_140048530 197 ok +0x140048600 FUN_140048600 21 ok +0x140048620 FUN_140048620 23 ok +0x140048640 FUN_140048640 26 ok +0x140048660 FUN_140048660 139 ok +0x1400486f0 FUN_1400486f0 10 ok +0x140048700 FUN_140048700 37 ok +0x140048730 FUN_140048730 39 ok +0x140048760 FUN_140048760 48 ok +0x140048790 FUN_140048790 79 ok +0x1400487e0 FUN_1400487e0 157 ok +0x140048880 FUN_140048880 68 ok +0x1400488d0 FUN_1400488d0 69 ok +0x140048920 FUN_140048920 63 ok +0x140048960 FUN_140048960 82 ok +0x1400489c0 FUN_1400489c0 93 ok +0x140048a20 FUN_140048a20 5 ok +0x140048a34 ATL::CAtlBaseModule ~CAtlBaseModule 52 ok +0x140048a68 ATL::CAtlBaseModule GetHInstanceAt 126 ok +0x140048ae8 ATL::CAtlBaseModule CAtlBaseModule 152 ok +0x140048b90 FUN_140048b90 29 ok +0x140048bb0 ATL::CWin32Heap Reallocate 63 ok +0x140048c00 ATL::CWin32Heap `scalar_deleting_destructor' 74 ok +0x140048c58 FUN_140048c58 9 ok +0x140048c64 std::_Mutex _Mutex 4 ok +0x140048c68 FUN_140048c68 38 ok +0x140048c90 ATL::CAtlStringMgr Allocate 117 ok +0x140048d08 ATL::CAtlStringMgr Reallocate 82 ok +0x140048d70 FUN_140048d70 9 ok +0x140048d80 _com_issue_errorex 156 ok +0x140048e20 FUN_140048e20 264 ok +0x140048f30 _com_error ~_com_error 55 ok +0x140048f70 FUN_140048f70 51 ok +0x140048fb0 _com_error _com_error 64 ok +0x140048ff0 FUN_140048ff0 83 ok +0x140049060 __security_check_cookie 31 ok +0x140049094 _onexit 176 ok +0x140049144 atexit 23 ok +0x14004915c type_info `vector_deleting_destructor' 105 ok +0x1400491cc FUN_1400491cc 101 ok +0x140049234 __tmainCRTStartup 339 ok +0x1400493b4 FUN_1400493b4 206 ok +0x140049484 entry 18 ok +0x1400494b0 __GSHandlerCheckCommon 99 ok +0x140049514 __GSHandlerCheck 29 ok +0x140049534 FUN_140049534 140 ok +0x1400495d8 __ArrayUnwind 74 ok +0x140049624 `eh_vector_destructor_iterator' 93 ok +0x1400496a0 __chkstk 78 ok +0x1400496fc __report_gsfailure 330 ok +0x140049858 FUN_140049858 64 ok +0x14004989c FUN_14004989c 24 ok +0x1400498bc FUN_1400498bc 56 ok +0x1400498f4 FUN_1400498f4 56 ok +0x140049940 _ValidateImageBase 47 ok +0x140049970 _FindPESection 70 ok +0x1400499c0 _IsNonwritableInCurrentImage 63 ok +0x140049a10 FUN_140049a10 3 ok +0x140049a14 __security_init_cookie 179 ok +0x140049ad0 FUN_140049ad0 26 ok +0x140049b00 FUN_140049b00 62 ok +0x140049b40 FUN_140049b40 80 ok +0x140049b90 FUN_140049b90 11 ok +0x140049ba0 FUN_140049ba0 47 ok +0x140049bd0 FUN_140049bd0 106 ok +0x140049c40 FUN_140049c40 237 ok +0x140049d30 FUN_140049d30 57 ok +0x140049d70 FUN_140049d70 176 ok +0x140049e20 FUN_140049e20 32 ok +0x140049e40 FUN_140049e40 56 ok +0x140049e80 FUN_140049e80 11 ok +0x140049e90 FUN_140049e90 38 ok +0x140049ec0 FUN_140049ec0 11 ok +0x140049ed0 FUN_140049ed0 38 ok +0x140049f00 FUN_140049f00 11 ok +0x140049f10 FUN_140049f10 38 ok +0x140049f40 FUN_140049f40 11 ok +0x140049f50 FUN_140049f50 38 ok +0x140049f80 FUN_140049f80 11 ok +0x140049f90 FUN_140049f90 38 ok +0x140049fc0 FUN_140049fc0 11 ok +0x140049fd0 FUN_140049fd0 38 ok +0x14004a000 FUN_14004a000 6 ok +0x14004a010 FUN_14004a010 8 ok +0x14004a030 FUN_14004a030 8 ok +0x14004a040 FUN_14004a040 12 ok +0x14004a050 FUN_14004a050 6 ok +0x14004a060 FUN_14004a060 6 ok +0x14004a070 FUN_14004a070 8 ok +0x14004a080 FUN_14004a080 7 ok +0x14004a090 FUN_14004a090 12 ok +0x14004a0a0 FUN_14004a0a0 54 ok +0x14004a0e0 FUN_14004a0e0 42 ok +0x14004a110 FUN_14004a110 26 ok +0x14004a130 FUN_14004a130 7 ok +0x14004a140 FUN_14004a140 91 ok +0x14004a1a0 FUN_14004a1a0 7 ok +0x14004a1b0 FUN_14004a1b0 6 ok +0x14004a1c0 FUN_14004a1c0 30 ok +0x14004a1e0 FUN_14004a1e0 8 ok +0x14004a1f0 FUN_14004a1f0 104 ok +0x14004a260 FUN_14004a260 215 ok +0x14004a340 FUN_14004a340 113 ok +0x14004a3c0 FUN_14004a3c0 116 ok +0x14004a440 FUN_14004a440 113 ok +0x14004a4c0 FUN_14004a4c0 49 ok +0x14004a500 FUN_14004a500 52 ok +0x14004a540 FUN_14004a540 5 ok +0x14004a550 FUN_14004a550 599 ok +0x14004a7b0 FUN_14004a7b0 116 ok +0x14004a830 FUN_14004a830 116 ok +0x14004a8b0 FUN_14004a8b0 33 ok +0x14004a8e0 FUN_14004a8e0 7 ok +0x14004a8f0 FUN_14004a8f0 14 ok +0x14004a900 FUN_14004a900 27 ok +0x14004a920 FUN_14004a920 150 ok +0x14004a9c0 FUN_14004a9c0 233 ok +0x14004aab0 FUN_14004aab0 150 ok +0x14004ab50 FUN_14004ab50 150 ok +0x14004abf0 FUN_14004abf0 62 ok +0x14004ac30 FUN_14004ac30 233 ok +0x14004ad20 FUN_14004ad20 149 ok +0x14004adc0 FUN_14004adc0 49 ok +0x14004ae00 FUN_14004ae00 89 ok +0x14004ae60 FUN_14004ae60 52 ok +0x14004aea0 FUN_14004aea0 47 ok +0x14004aed0 FUN_14004aed0 136 ok +0x14004af60 FUN_14004af60 39 ok +0x14004afa0 FUN_14004afa0 13 ok +0x14004afb0 FUN_14004afb0 136 ok +0x14004b040 FUN_14004b040 101 ok +0x14004b0b0 FUN_14004b0b0 238 ok +0x14004b1a0 FUN_14004b1a0 157 ok +0x14004b240 FUN_14004b240 82 ok +0x14004b2a0 FUN_14004b2a0 107 ok +0x14004b310 FUN_14004b310 12 ok +0x14004b320 FUN_14004b320 210 ok +0x14004b400 FUN_14004b400 121 ok +0x14004b480 FUN_14004b480 190 ok +0x14004b540 FUN_14004b540 277 ok +0x14004b660 FUN_14004b660 56 ok +0x14004b6a0 FUN_14004b6a0 396 ok +0x14004b830 FUN_14004b830 36 ok +0x14004b860 FUN_14004b860 56 ok +0x14004b8a0 FUN_14004b8a0 36 ok +0x14004b8d0 FUN_14004b8d0 56 ok +0x14004b910 FUN_14004b910 56 ok +0x14004b950 FUN_14004b950 183 ok +0x14004ba10 FUN_14004ba10 36 ok +0x14004ba40 FUN_14004ba40 56 ok +0x14004ba80 FUN_14004ba80 87 ok +0x14004bae0 FUN_14004bae0 87 ok +0x14004bb40 FUN_14004bb40 87 ok +0x14004bba0 FUN_14004bba0 87 ok +0x14004bc00 FUN_14004bc00 87 ok +0x14004bc60 FUN_14004bc60 189 ok +0x14004bd20 FUN_14004bd20 492 ok +0x14004bf10 FUN_14004bf10 255 ok +0x14004c020 FUN_14004c020 255 ok +0x14004c130 FUN_14004c130 366 ok +0x14004c2a0 FUN_14004c2a0 561 ok +0x14004c4e0 FUN_14004c4e0 347 ok +0x14004c640 FUN_14004c640 231 ok +0x14004c730 FUN_14004c730 291 ok +0x14004c860 FUN_14004c860 286 ok +0x14004c980 FUN_14004c980 264 ok +0x14004ca90 FUN_14004ca90 588 ok +0x14004cce0 FUN_14004cce0 206 ok +0x14004cdb0 FUN_14004cdb0 588 ok +0x14004d000 FUN_14004d000 56 ok +0x14004d040 FUN_14004d040 103 ok +0x14004d0b0 FUN_14004d0b0 261 ok +0x14004d1c0 FUN_14004d1c0 40 ok +0x14004d1f0 FUN_14004d1f0 48 ok +0x14004d230 FUN_14004d230 41 ok +0x14004d260 FUN_14004d260 91 ok +0x14004d2c0 FUN_14004d2c0 24 ok +0x14004d2e0 FUN_14004d2e0 101 ok +0x14004d350 FUN_14004d350 526 ok +0x14004d560 FUN_14004d560 33 ok +0x14004d5b0 FUN_14004d5b0 119 ok +0x14004d630 FUN_14004d630 186 ok +0x14004d6f0 FUN_14004d6f0 155 ok +0x14004d790 FUN_14004d790 457 ok +0x14004d960 FUN_14004d960 434 ok +0x14004db20 FUN_14004db20 117 ok +0x14004dba0 FUN_14004dba0 133 ok +0x14004dc30 FUN_14004dc30 416 ok +0x14004dde0 FUN_14004dde0 87 ok +0x14004de40 FUN_14004de40 64 ok +0x14004de90 FUN_14004de90 69 ok +0x14004dee0 FUN_14004dee0 266 ok +0x14004dff0 FUN_14004dff0 9 ok +0x14004e000 FUN_14004e000 155 ok +0x14004e0a0 FUN_14004e0a0 148 ok +0x14004e140 FUN_14004e140 295 ok +0x14004e270 FUN_14004e270 24 ok +0x14004e290 FUN_14004e290 135 ok +0x14004e320 FUN_14004e320 295 ok +0x14004e450 FUN_14004e450 87 ok +0x14004e4b0 FUN_14004e4b0 79 ok +0x14004e500 FUN_14004e500 314 ok +0x14004e640 FUN_14004e640 314 ok +0x14004e780 FUN_14004e780 316 ok +0x14004e8c0 FUN_14004e8c0 314 ok +0x14004ea00 FUN_14004ea00 130 ok +0x14004ea90 FUN_14004ea90 30 ok +0x14004eab0 FUN_14004eab0 402 ok +0x14004ec50 FUN_14004ec50 176 ok +0x14004ed10 FUN_14004ed10 90 ok +0x14004ed70 FUN_14004ed70 394 ok +0x14004ef00 FUN_14004ef00 253 ok +0x14004f000 FUN_14004f000 101 ok +0x14004f070 FUN_14004f070 271 ok +0x14004f180 FUN_14004f180 271 ok +0x14004f290 FUN_14004f290 248 ok +0x14004f390 FUN_14004f390 255 ok +0x14004f490 FUN_14004f490 1713 ok +0x14004fb50 FUN_14004fb50 799 ok +0x14004fe80 FUN_14004fe80 238 ok +0x14004ff70 FUN_14004ff70 233 ok +0x140050060 FUN_140050060 436 ok +0x140050220 FUN_140050220 375 ok +0x1400503a0 FUN_1400503a0 402 ok +0x140050540 FUN_140050540 288 ok +0x140050660 FUN_140050660 229 ok +0x140050750 FUN_140050750 274 ok +0x140050870 FUN_140050870 245 ok +0x140050970 FUN_140050970 250 ok +0x140050a70 FUN_140050a70 423 ok +0x140050c20 FUN_140050c20 264 ok +0x140050d30 FUN_140050d30 209 ok +0x140050e10 FUN_140050e10 319 ok +0x140050f60 FUN_140050f60 81 ok +0x140050fc0 FUN_140050fc0 201 ok +0x140051090 FUN_140051090 24 ok +0x1400510b0 FUN_1400510b0 51 ok +0x1400510f0 FUN_1400510f0 121 ok +0x140051170 FUN_140051170 128 ok +0x1400511f0 FUN_1400511f0 141 ok +0x140051280 FUN_140051280 24 ok +0x1400512a0 FUN_1400512a0 124 ok +0x140051320 FUN_140051320 299 ok +0x140051450 FUN_140051450 124 ok +0x1400514d0 FUN_1400514d0 110 ok +0x140051540 FUN_140051540 641 ok +0x1400517d0 FUN_1400517d0 132 ok +0x140051860 FUN_140051860 220 ok +0x140051940 FUN_140051940 98 ok +0x1400519b0 FUN_1400519b0 143 ok +0x140051a40 FUN_140051a40 238 ok +0x140051b30 FUN_140051b30 66 ok +0x140051b80 FUN_140051b80 139 ok +0x140051c10 FUN_140051c10 216 ok +0x140051cf0 FUN_140051cf0 228 ok +0x140051de0 FUN_140051de0 15146 ok +0x140055960 FUN_140055960 391 ok +0x140055af0 FUN_140055af0 411 ok +0x140055c90 FUN_140055c90 289 ok +0x140055dc0 FUN_140055dc0 309 ok +0x140055f00 FUN_140055f00 230 ok +0x140055ff0 FUN_140055ff0 240 ok +0x1400560f0 FUN_1400560f0 230 ok +0x1400561e0 FUN_1400561e0 240 ok +0x1400562e0 FUN_1400562e0 390 ok +0x140056470 FUN_140056470 410 ok +0x140056610 FUN_140056610 189 ok +0x1400566d0 FUN_1400566d0 198 ok +0x1400567a0 FUN_1400567a0 189 ok +0x140056860 FUN_140056860 198 ok +0x140056930 FUN_140056930 189 ok +0x1400569f0 FUN_1400569f0 198 ok +0x140056ac0 FUN_140056ac0 189 ok +0x140056b80 FUN_140056b80 198 ok +0x140056c50 FUN_140056c50 210 ok +0x140056d30 FUN_140056d30 220 ok +0x140056e10 FUN_140056e10 189 ok +0x140056ed0 FUN_140056ed0 198 ok +0x140056fa0 FUN_140056fa0 189 ok +0x140057060 FUN_140057060 198 ok +0x140057130 FUN_140057130 209 ok +0x140057210 FUN_140057210 219 ok +0x1400572f0 FUN_1400572f0 209 ok +0x1400573d0 FUN_1400573d0 219 ok +0x1400574b0 FUN_1400574b0 210 ok +0x140057590 FUN_140057590 220 ok +0x140057670 FUN_140057670 210 ok +0x140057750 FUN_140057750 216 ok +0x140057830 FUN_140057830 228 ok +0x140057920 FUN_140057920 238 ok +0x140057a10 FUN_140057a10 238 ok +0x140057b00 FUN_140057b00 233 ok +0x140057bf0 FUN_140057bf0 311 ok +0x140057d30 FUN_140057d30 928 ok +0x1400580d0 FUN_1400580d0 316 ok +0x140058210 FUN_140058210 341 ok +0x140058370 FUN_140058370 238 ok +0x140058460 FUN_140058460 312 ok +0x1400585a0 FUN_1400585a0 427 ok +0x140058750 FUN_140058750 231 ok +0x140058840 FUN_140058840 1354 ok +0x140058da0 FUN_140058da0 360 ok +0x140058f10 FUN_140058f10 490 ok +0x140059100 FUN_140059100 496 ok +0x140059300 FUN_140059300 104 ok +0x140059380 FUN_140059380 166 ok +0x140059440 FUN_140059440 667 ok +0x1400596e0 FUN_1400596e0 767 ok +0x1400599e0 FUN_1400599e0 558 ok +0x140059c20 FUN_140059c20 1443 ok +0x14005a220 FUN_14005a220 90 ok +0x14005a280 FUN_14005a280 170 ok +0x14005a330 FUN_14005a330 159 ok +0x14005a3d0 FUN_14005a3d0 490 ok +0x14005a600 FUN_14005a600 432 ok +0x14005a7c0 FUN_14005a7c0 432 ok +0x14005a980 FUN_14005a980 597 ok +0x14005abe0 FUN_14005abe0 1092 ok +0x14005b030 FUN_14005b030 106 ok +0x14005b0a0 FUN_14005b0a0 31 ok +0x14005b0c0 FUN_14005b0c0 86 ok +0x14005b120 FUN_14005b120 110 ok +0x14005b190 FUN_14005b190 485 ok +0x14005b380 FUN_14005b380 67 ok +0x14005b3e0 FUN_14005b3e0 210 ok +0x14005b4c0 FUN_14005b4c0 98 ok +0x14005b530 FUN_14005b530 786 ok +0x14005b850 FUN_14005b850 804 ok +0x14005bb80 FUN_14005bb80 568 ok +0x14005bdc0 FUN_14005bdc0 583 ok +0x14005c010 FUN_14005c010 515 ok +0x14005c220 FUN_14005c220 441 ok +0x14005c3e0 FUN_14005c3e0 393 ok +0x14005c570 FUN_14005c570 575 ok +0x14005c7c0 FUN_14005c7c0 64 ok +0x14005c800 FUN_14005c800 391 ok +0x14005c990 FUN_14005c990 204 ok +0x14005ca60 FUN_14005ca60 342 ok +0x14005cbc0 FUN_14005cbc0 160 ok +0x14005cc60 FUN_14005cc60 134 ok +0x14005ccf0 FUN_14005ccf0 1894 ok +0x14005d460 FUN_14005d460 226 ok +0x14005d550 FUN_14005d550 325 ok +0x14005d6a0 FUN_14005d6a0 86 ok +0x14005d700 FUN_14005d700 110 ok +0x14005d770 FUN_14005d770 299 ok +0x14005d8a0 FUN_14005d8a0 380 ok +0x14005da20 FUN_14005da20 173 ok +0x14005dad0 FUN_14005dad0 248 ok +0x14005dbd0 FUN_14005dbd0 124 ok +0x14005dc50 FUN_14005dc50 325 ok +0x14005dda0 FUN_14005dda0 169 ok +0x14005de50 FUN_14005de50 1718 ok +0x14005e510 FUN_14005e510 1317 ok +0x14005ea40 FUN_14005ea40 714 ok +0x14005ed10 FUN_14005ed10 701 ok +0x14005efd0 FUN_14005efd0 1916 ok +0x14005f760 FUN_14005f760 358 ok +0x14005f8d0 FUN_14005f8d0 105 ok +0x14005f940 FUN_14005f940 824 ok +0x14005fc80 FUN_14005fc80 185 ok +0x14005fd40 FUN_14005fd40 525 ok +0x14005ff50 FUN_14005ff50 24 ok +0x14005ff70 FUN_14005ff70 427 ok +0x140060120 FUN_140060120 172 ok +0x1400601d0 FUN_1400601d0 124 ok +0x140060250 FUN_140060250 325 ok +0x1400603a0 FUN_1400603a0 248 ok +0x1400604a0 FUN_1400604a0 1089 ok +0x1400608f0 FUN_1400608f0 234 ok +0x1400609e0 FUN_1400609e0 201 ok +0x140060ab0 FUN_140060ab0 24 ok +0x140060ad0 FUN_140060ad0 173 ok +0x140060b80 FUN_140060b80 141 ok +0x140060c10 FUN_140060c10 170 ok +0x140060cc0 FUN_140060cc0 124 ok +0x140060d40 FUN_140060d40 102 ok +0x140060db0 FUN_140060db0 2441 ok +0x140061740 FUN_140061740 98 ok +0x1400617b0 FUN_1400617b0 280 ok +0x1400618d0 FUN_1400618d0 45 ok +0x140061900 FUN_140061900 2765 ok +0x1400623e0 FUN_1400623e0 245 ok +0x1400624e0 FUN_1400624e0 421 ok +0x140062690 FUN_140062690 368 ok +0x140062810 FUN_140062810 171 ok +0x1400628c0 FUN_1400628c0 163 ok +0x140062970 FUN_140062970 98 ok +0x1400629e0 FUN_1400629e0 80 ok +0x140062a30 FUN_140062a30 80 ok +0x140062a80 FUN_140062a80 299 ok +0x140062bb0 FUN_140062bb0 723 ok +0x140062e90 FUN_140062e90 732 ok +0x140063170 FUN_140063170 3670 ok +0x140063fe0 FUN_140063fe0 180 ok +0x1400640a0 FUN_1400640a0 181 ok +0x140064160 FUN_140064160 128 ok +0x1400641e0 FUN_1400641e0 128 ok +0x140064260 FUN_140064260 128 ok +0x1400642e0 FUN_1400642e0 299 ok +0x140064410 FUN_140064410 299 ok +0x140064540 FUN_140064540 170 ok +0x1400645f0 FUN_1400645f0 142 ok +0x140064680 FUN_140064680 368 ok +0x140064800 FUN_140064800 81 ok +0x140064860 FUN_140064860 130 ok +0x1400648f0 FUN_1400648f0 305 ok +0x140064a30 FUN_140064a30 281 ok +0x140064b50 FUN_140064b50 1462 ok +0x140065110 FUN_140065110 89 ok +0x140065170 FUN_140065170 424 ok +0x140065320 FUN_140065320 281 ok +0x140065440 FUN_140065440 600 ok +0x1400656a0 FUN_1400656a0 1033 ok +0x140065ab0 FUN_140065ab0 1173 ok +0x140065f50 FUN_140065f50 135 ok +0x140065fe0 FUN_140065fe0 248 ok +0x1400660e0 FUN_1400660e0 327 ok +0x140066230 FUN_140066230 799 ok +0x140066550 FUN_140066550 1421 ok +0x140066af0 FUN_140066af0 1227 ok +0x140067010 FUN_140067010 124 ok +0x140067090 FUN_140067090 323 ok +0x1400671e0 FUN_1400671e0 393 ok +0x140067370 FUN_140067370 111 ok +0x1400673e0 FUN_1400673e0 107 ok +0x140067450 FUN_140067450 323 ok +0x1400675a0 FUN_1400675a0 24 ok +0x1400675c0 FUN_1400675c0 162 ok +0x140067670 FUN_140067670 474 ok +0x140067850 FUN_140067850 161 ok +0x140067900 FUN_140067900 161 ok +0x1400679b0 FUN_1400679b0 124 ok +0x140067a30 FUN_140067a30 20 ok +0x140067a50 FUN_140067a50 62 ok +0x140067a90 FUN_140067a90 177 ok +0x140067b50 FUN_140067b50 137 ok +0x140067be0 FUN_140067be0 38 ok +0x140067c10 FUN_140067c10 2834 ok +0x140068740 FUN_140068740 2066 ok +0x140068f60 FUN_140068f60 77 ok +0x140068fe0 FUN_140068fe0 39 ok +0x140069010 FUN_140069010 8 ok +0x140069020 FUN_140069020 12 ok +0x140069030 FUN_140069030 12 ok +0x140069040 FUN_140069040 12 ok +0x140069050 FUN_140069050 9 ok +0x140069060 FUN_140069060 12 ok +0x140069070 FUN_140069070 12 ok +0x140069080 FUN_140069080 12 ok +0x140069090 FUN_140069090 9 ok +0x1400690a0 FUN_1400690a0 9 ok +0x1400690b0 FUN_1400690b0 12 ok +0x1400690c0 FUN_1400690c0 12 ok +0x1400690d0 FUN_1400690d0 12 ok +0x1400690e0 FUN_1400690e0 12 ok +0x1400690f0 FUN_1400690f0 9 ok +0x140069100 FUN_140069100 12 ok +0x140069110 FUN_140069110 12 ok +0x140069120 FUN_140069120 12 ok +0x140069130 FUN_140069130 12 ok +0x140069140 FUN_140069140 9 ok +0x140069150 FUN_140069150 12 ok +0x140069160 FUN_140069160 12 ok +0x140069170 FUN_140069170 12 ok +0x140069180 FUN_140069180 12 ok +0x140069190 FUN_140069190 12 ok +0x1400691a0 FUN_1400691a0 12 ok +0x1400691b0 FUN_1400691b0 341 ok +0x140069310 FUN_140069310 591 ok +0x140069560 FUN_140069560 1022 ok +0x140069970 FUN_140069970 58 ok +0x1400699b0 FUN_1400699b0 1756 ok +0x14006a090 FUN_14006a090 676 ok +0x14006a340 FUN_14006a340 747 ok +0x14006a630 FUN_14006a630 7299 ok +0x14006c330 FUN_14006c330 224 ok +0x14006c410 FUN_14006c410 739 ok +0x14006c700 FUN_14006c700 393 ok +0x14006c890 FUN_14006c890 655 ok +0x14006cb20 FUN_14006cb20 1114 ok +0x14006cf80 FUN_14006cf80 913 ok +0x14006d320 FUN_14006d320 913 ok +0x14006d6c0 FUN_14006d6c0 512 ok +0x14006d8c0 FUN_14006d8c0 767 ok +0x14006dbc0 FUN_14006dbc0 767 ok +0x14006dec0 FUN_14006dec0 406 ok +0x14006e060 FUN_14006e060 554 ok +0x14006e290 FUN_14006e290 1338 ok +0x14006e7d0 FUN_14006e7d0 1828 ok +0x14006ef00 FUN_14006ef00 1621 ok +0x14006f560 FUN_14006f560 540 ok +0x14006f780 FUN_14006f780 2187 ok +0x140070020 FUN_140070020 193 ok +0x1400700f0 FUN_1400700f0 269 ok +0x140070200 FUN_140070200 1938 ok +0x1400709a0 FUN_1400709a0 914 ok +0x140070d40 FUN_140070d40 1241 ok +0x140071220 FUN_140071220 667 ok +0x1400714c0 FUN_1400714c0 67 ok +0x140071510 FUN_140071510 47 ok +0x140071540 FUN_140071540 353 ok +0x140071740 FUN_140071740 353 ok +0x140071940 FUN_140071940 353 ok +0x140071b40 FUN_140071b40 59 ok +0x140071b80 FUN_140071b80 150 ok +0x140071c20 FUN_140071c20 286 ok +0x140071d40 FUN_140071d40 1151 ok +0x1400721c0 FUN_1400721c0 33 ok +0x1400721f0 FUN_1400721f0 20 ok +0x140072210 FUN_140072210 108 ok +0x140072280 FUN_140072280 150 ok +0x140072320 FUN_140072320 63 ok +0x140072360 FUN_140072360 107 ok +0x1400723d0 FUN_1400723d0 14 ok +0x1400723e0 FUN_1400723e0 274 ok +0x140072500 FUN_140072500 116 ok +0x140072580 FUN_140072580 23 ok +0x1400725a0 FUN_1400725a0 39 ok +0x1400725d0 FUN_1400725d0 126 ok +0x140072650 FUN_140072650 169 ok +0x140072700 FUN_140072700 74 ok +0x140072750 FUN_140072750 129 ok +0x1400727e0 FUN_1400727e0 129 ok +0x140072870 FUN_140072870 131 ok +0x140072900 FUN_140072900 106 ok +0x140072970 FUN_140072970 106 ok +0x1400729e0 FUN_1400729e0 113 ok +0x140072a60 FUN_140072a60 96 ok +0x140072ac0 FUN_140072ac0 64 ok +0x140072b00 FUN_140072b00 145 ok +0x140072ba0 FUN_140072ba0 48 ok +0x140072bd0 FUN_140072bd0 675 ok +0x140072e80 FUN_140072e80 275 ok +0x140072fa0 FUN_140072fa0 130 ok +0x140073030 FUN_140073030 146 ok +0x1400730d0 FUN_1400730d0 146 ok +0x140073170 FUN_140073170 152 ok +0x140073210 FUN_140073210 371 ok +0x140073390 FUN_140073390 155 ok +0x140073430 FUN_140073430 192 ok +0x140073500 FUN_140073500 305 ok +0x140073640 FUN_140073640 243 ok +0x140073740 FUN_140073740 223 ok +0x140073830 FUN_140073830 427 ok +0x1400739e0 FUN_1400739e0 92 ok +0x140073a40 FUN_140073a40 222 ok +0x140073b20 FUN_140073b20 163 ok +0x140073bd0 FUN_140073bd0 170 ok +0x140073c80 FUN_140073c80 58 ok +0x140073cc0 FUN_140073cc0 163 ok +0x140073d70 FUN_140073d70 227 ok +0x140073e60 FUN_140073e60 257 ok +0x140073f70 FUN_140073f70 146 ok +0x140074010 FUN_140074010 164 ok +0x1400740c0 FUN_1400740c0 328 ok +0x140074210 FUN_140074210 816 ok +0x140074540 FUN_140074540 507 ok +0x140074740 FUN_140074740 554 ok +0x140074970 FUN_140074970 49 ok +0x1400749b0 FUN_1400749b0 78 ok +0x140074a00 FUN_140074a00 18 ok +0x140074a20 FUN_140074a20 11 ok +0x140074a30 FUN_140074a30 14 ok +0x140074a40 FUN_140074a40 121 ok +0x140074ac0 FUN_140074ac0 46 ok +0x140074af0 FUN_140074af0 115 ok +0x140074b70 FUN_140074b70 49 ok +0x140074bb0 FUN_140074bb0 124 ok +0x140074c30 FUN_140074c30 60 ok +0x140074c70 FUN_140074c70 295 ok +0x140074da0 FUN_140074da0 164 ok +0x140074e50 FUN_140074e50 133 ok +0x140074ee0 FUN_140074ee0 83 ok +0x140074f40 FUN_140074f40 111 ok +0x140074fb0 FUN_140074fb0 33 ok +0x140074fe0 FUN_140074fe0 149 ok +0x140075080 FUN_140075080 142 ok +0x140075110 FUN_140075110 86 ok +0x140075170 FUN_140075170 153 ok +0x140075210 FUN_140075210 366 ok +0x140075390 FUN_140075390 433 ok +0x140075550 FUN_140075550 47 ok +0x140075580 FUN_140075580 355 ok +0x1400756f0 FUN_1400756f0 8 ok +0x140075700 FUN_140075700 8 ok +0x140075710 FUN_140075710 116 ok +0x140075790 FUN_140075790 116 ok +0x140075810 FUN_140075810 116 ok +0x140075890 FUN_140075890 116 ok +0x140075910 FUN_140075910 87 ok +0x140075970 FUN_140075970 115 ok +0x1400759f0 FUN_1400759f0 303 ok +0x140075b20 FUN_140075b20 136 ok +0x140075bb0 FUN_140075bb0 46 ok +0x140075bf0 FUN_140075bf0 198 ok +0x140075cc0 FUN_140075cc0 850 ok +0x140076020 FUN_140076020 853 ok +0x140076380 FUN_140076380 497 ok +0x1400765a0 FUN_1400765a0 118 ok +0x140076620 FUN_140076620 119 ok +0x1400766a0 FUN_1400766a0 78 ok +0x1400766f0 FUN_1400766f0 67 ok +0x140076740 FUN_140076740 51 ok +0x140076780 FUN_140076780 51 ok +0x1400767c0 FUN_1400767c0 89 ok +0x140076820 FUN_140076820 102 ok +0x140076890 FUN_140076890 37 ok +0x1400768c0 FUN_1400768c0 38 ok +0x1400768f0 FUN_1400768f0 72 ok +0x140076940 FUN_140076940 64 ok +0x140076990 FUN_140076990 913 ok +0x140076d30 FUN_140076d30 73 ok +0x140076d80 FUN_140076d80 56 ok +0x140076dc0 FUN_140076dc0 56 ok +0x140076e00 FUN_140076e00 87 ok +0x140076e60 FUN_140076e60 87 ok +0x140076ec0 FUN_140076ec0 233 ok +0x140076fb0 FUN_140076fb0 32 ok +0x140076fe0 FUN_140076fe0 270 ok +0x1400770f0 FUN_1400770f0 74 ok +0x140077140 FUN_140077140 166 ok +0x1400771f0 FUN_1400771f0 339 ok +0x140077350 FUN_140077350 281 ok +0x140077470 FUN_140077470 47 ok +0x1400774a0 FUN_1400774a0 154 ok +0x140077540 FUN_140077540 496 ok +0x140077740 FUN_140077740 430 ok +0x140077900 FUN_140077900 859 ok +0x140077c70 FUN_140077c70 96 ok +0x140077cd0 FUN_140077cd0 3780 ok +0x140078bb0 FUN_140078bb0 2217 ok +0x140079460 FUN_140079460 1769 ok +0x140079b60 FUN_140079b60 38 ok +0x140079b90 FUN_140079b90 38 ok +0x140079bc0 FUN_140079bc0 72 ok +0x140079c10 FUN_140079c10 3 ok +0x140079c20 FUN_140079c20 61 ok +0x140079c60 FUN_140079c60 142 ok +0x140079cf0 FUN_140079cf0 47 ok +0x140079d20 FUN_140079d20 36 ok +0x140079d50 FUN_140079d50 206 ok +0x140079e30 FUN_140079e30 144 ok +0x140079ed0 FUN_140079ed0 151 ok +0x140079f70 FUN_140079f70 101 ok +0x140079fe0 FUN_140079fe0 544 ok +0x14007a200 FUN_14007a200 246 ok +0x14007a300 FUN_14007a300 142 ok +0x14007a390 FUN_14007a390 346 ok +0x14007a4f0 FUN_14007a4f0 56 ok +0x14007a530 FUN_14007a530 333 ok +0x14007a680 FUN_14007a680 56 ok +0x14007a6c0 FUN_14007a6c0 87 ok +0x14007a720 FUN_14007a720 87 ok +0x14007a780 FUN_14007a780 87 ok +0x14007a7e0 FUN_14007a7e0 87 ok +0x14007a840 FUN_14007a840 228 ok +0x14007a930 FUN_14007a930 190 ok +0x14007a9f0 FUN_14007a9f0 123 ok +0x14007aa70 FUN_14007aa70 56 ok +0x14007aab0 FUN_14007aab0 56 ok +0x14007aaf0 FUN_14007aaf0 905 ok +0x14007ae90 FUN_14007ae90 383 ok +0x14007b020 FUN_14007b020 33 ok +0x14007b050 FUN_14007b050 340 ok +0x14007b1c0 FUN_14007b1c0 141 ok +0x14007b250 FUN_14007b250 149 ok +0x14007b2f0 FUN_14007b2f0 153 ok +0x14007b390 FUN_14007b390 142 ok +0x14007b420 FUN_14007b420 22 ok +0x14007b440 FUN_14007b440 141 ok +0x14007b4d0 FUN_14007b4d0 99 ok +0x14007b540 FUN_14007b540 399 ok +0x14007b6d0 FUN_14007b6d0 799 ok +0x14007b9f0 FUN_14007b9f0 1149 ok +0x14007be70 FUN_14007be70 1243 ok +0x14007c350 FUN_14007c350 916 ok +0x14007c6f0 FUN_14007c6f0 949 ok +0x14007cab0 FUN_14007cab0 42 ok +0x14007cae0 FUN_14007cae0 2117 ok +0x14007d340 FUN_14007d340 1891 ok +0x14007dab0 FUN_14007dab0 962 ok +0x14007de80 FUN_14007de80 757 ok +0x14007e180 FUN_14007e180 454 ok +0x14007e350 FUN_14007e350 712 ok +0x14007e620 FUN_14007e620 110 ok +0x14007e690 FUN_14007e690 172 ok +0x14007e740 FUN_14007e740 420 ok +0x14007e8f0 FUN_14007e8f0 86 ok +0x14007e950 FUN_14007e950 205 ok +0x14007ea20 FUN_14007ea20 1040 ok +0x14007ee40 FUN_14007ee40 972 ok +0x14007f220 FUN_14007f220 570 ok +0x14007f460 FUN_14007f460 110 ok +0x14007f4d0 FUN_14007f4d0 401 ok +0x14007f670 FUN_14007f670 688 ok +0x14007f930 FUN_14007f930 939 ok +0x14007fce0 FUN_14007fce0 1037 ok +0x1400800f0 FUN_1400800f0 720 ok +0x1400803c0 FUN_1400803c0 1243 ok +0x1400808d0 FUN_1400808d0 526 ok +0x140080ae0 FUN_140080ae0 728 ok +0x140080dd0 FUN_140080dd0 1480 ok +0x1400813a0 FUN_1400813a0 831 ok +0x1400816e0 FUN_1400816e0 42 ok +0x140081710 FUN_140081710 42 ok +0x140081740 FUN_140081740 292 ok +0x140081870 FUN_140081870 527 ok +0x140081a90 FUN_140081a90 446 ok +0x140081c60 FUN_140081c60 1770 ok +0x1400823c0 FUN_1400823c0 174 ok +0x140082470 FUN_140082470 1569 ok +0x140082ab0 FUN_140082ab0 1314 ok +0x140082fe0 FUN_140082fe0 193 ok +0x1400830b0 FUN_1400830b0 1190 ok +0x140083560 FUN_140083560 42 ok +0x140083590 FUN_140083590 1474 ok +0x140083b60 FUN_140083b60 27 ok +0x140083b80 FUN_140083b80 244 ok +0x140083c80 FUN_140083c80 291 ok +0x140083db0 FUN_140083db0 36 ok +0x140083de0 FUN_140083de0 295 ok +0x140083f10 FUN_140083f10 24 ok +0x140083f30 FUN_140083f30 217 ok +0x140084010 FUN_140084010 45 ok +0x140084040 FUN_140084040 142 ok +0x1400840d0 FUN_1400840d0 99 ok +0x140084140 FUN_140084140 103 ok +0x1400841b0 FUN_1400841b0 155 ok +0x140084250 FUN_140084250 158 ok +0x1400842f0 FUN_1400842f0 212 ok +0x1400843d0 FUN_1400843d0 641 ok +0x140084660 FUN_140084660 628 ok +0x1400848e0 FUN_1400848e0 38 ok +0x140084910 FUN_140084910 2629 ok +0x140085370 FUN_140085370 152 ok +0x140085420 FUN_140085420 146 ok +0x1400854c0 FUN_1400854c0 229 ok +0x1400855b0 FUN_1400855b0 56 ok +0x1400855f0 FUN_1400855f0 87 ok +0x140085650 FUN_140085650 170 ok +0x140085700 FUN_140085700 398 ok +0x140085890 FUN_140085890 257 ok +0x1400859a0 FUN_1400859a0 379 ok +0x140085b30 FUN_140085b30 128 ok +0x140085bb0 FUN_140085bb0 1224 ok +0x140086080 FUN_140086080 11 ok +0x140086090 FUN_140086090 11 ok +0x1400860a0 FUN_1400860a0 1150 ok +0x140086520 FUN_140086520 1154 ok +0x1400869b0 FUN_1400869b0 932 ok +0x140086d60 FUN_140086d60 932 ok +0x140087110 FUN_140087110 651 ok +0x1400873a0 FUN_1400873a0 635 ok +0x140087620 FUN_140087620 492 ok +0x140087810 FUN_140087810 691 ok +0x140087ad0 FUN_140087ad0 405 ok +0x140087c70 FUN_140087c70 332 ok +0x140087dc0 FUN_140087dc0 544 ok +0x140087ff0 FUN_140087ff0 6 ok +0x140088000 FUN_140088000 6 ok +0x140088020 FUN_140088020 11 ok +0x140088030 FUN_140088030 38 ok +0x140088060 FUN_140088060 3 ok +0x140088070 FUN_140088070 6 ok +0x140088080 FUN_140088080 6 ok +0x140088090 FUN_140088090 188 ok +0x140088150 FUN_140088150 57 ok +0x140088190 FUN_140088190 119 ok +0x140088210 FUN_140088210 177 ok +0x1400882d0 FUN_1400882d0 225 ok +0x1400883c0 FUN_1400883c0 9 ok +0x1400883d0 FUN_1400883d0 9 ok +0x1400883e0 FUN_1400883e0 47 ok +0x140088410 FUN_140088410 487 ok +0x140088600 FUN_140088600 382 ok +0x140088780 FUN_140088780 231 ok +0x140088870 FUN_140088870 237 ok +0x140088960 FUN_140088960 248 ok +0x140088a60 FUN_140088a60 258 ok +0x140088b70 FUN_140088b70 209 ok +0x140088c50 FUN_140088c50 219 ok +0x140088d30 FUN_140088d30 189 ok +0x140088df0 FUN_140088df0 198 ok +0x140088ec0 FUN_140088ec0 209 ok +0x140088fa0 FUN_140088fa0 219 ok +0x140089080 FUN_140089080 189 ok +0x140089140 FUN_140089140 198 ok +0x140089210 FUN_140089210 209 ok +0x1400892f0 FUN_1400892f0 219 ok +0x1400893d0 FUN_1400893d0 209 ok +0x1400894b0 FUN_1400894b0 219 ok +0x140089590 FUN_140089590 2089 ok +0x140089dc0 FUN_140089dc0 430 ok +0x140089f70 FUN_140089f70 103 ok +0x140089fe0 FUN_140089fe0 79 ok +0x14008a030 FUN_14008a030 291 ok +0x14008a160 FUN_14008a160 311 ok +0x14008a2a0 FUN_14008a2a0 113 ok +0x14008a320 FUN_14008a320 49 ok +0x14008a360 FUN_14008a360 180 ok +0x14008a420 FUN_14008a420 107 ok +0x14008a490 FUN_14008a490 11 ok +0x14008a4a0 FUN_14008a4a0 38 ok +0x14008a4d0 FUN_14008a4d0 16 ok +0x14008a4e0 FUN_14008a4e0 8 ok +0x14008a4f0 FUN_14008a4f0 7 ok +0x14008a500 FUN_14008a500 21 ok +0x14008a520 FUN_14008a520 60 ok +0x14008a560 FUN_14008a560 12 ok +0x14008a570 FUN_14008a570 22 ok +0x14008a590 FUN_14008a590 13 ok +0x14008a5a0 FUN_14008a5a0 346 ok +0x14008a700 FUN_14008a700 13 ok +0x14008a710 FUN_14008a710 41 ok +0x14008a740 FUN_14008a740 33 ok +0x14008a770 FUN_14008a770 181 ok +0x14008a830 FUN_14008a830 121 ok +0x14008a8b0 FUN_14008a8b0 37 ok +0x14008a8e0 FUN_14008a8e0 271 ok +0x14008a9f0 FUN_14008a9f0 101 ok +0x14008aa60 FUN_14008aa60 240 ok +0x14008ab60 FUN_14008ab60 888 ok +0x14008aee0 FUN_14008aee0 248 ok +0x14008afe0 FUN_14008afe0 141 ok +0x14008b070 FUN_14008b070 389 ok +0x14008b200 FUN_14008b200 24 ok +0x14008b230 FUN_14008b230 571 ok +0x14008b470 FUN_14008b470 119 ok +0x14008b4f0 FUN_14008b4f0 157 ok +0x14008b590 FUN_14008b590 897 ok +0x14008b920 FUN_14008b920 7 ok +0x14008b930 FUN_14008b930 9 ok +0x14008b940 FUN_14008b940 9 ok +0x14008b950 FUN_14008b950 9 ok +0x14008b960 FUN_14008b960 12 ok +0x14008b970 FUN_14008b970 9 ok +0x14008b980 FUN_14008b980 9 ok +0x14008b990 FUN_14008b990 12 ok +0x14008b9a0 FUN_14008b9a0 9 ok +0x14008b9b0 FUN_14008b9b0 752 ok +0x14008bca0 FUN_14008bca0 364 ok +0x14008be10 FUN_14008be10 47 ok +0x14008be40 FUN_14008be40 14 ok +0x14008be50 FUN_14008be50 206 ok +0x14008bf30 FUN_14008bf30 206 ok +0x14008c010 FUN_14008c010 150 ok +0x14008c0b0 FUN_14008c0b0 150 ok +0x14008c150 FUN_14008c150 29 ok +0x14008c170 FUN_14008c170 29 ok +0x14008c190 FUN_14008c190 75 ok +0x14008c1e0 FUN_14008c1e0 56 ok +0x14008c220 FUN_14008c220 75 ok +0x14008c270 FUN_14008c270 56 ok +0x14008c2b0 FUN_14008c2b0 84 ok +0x14008c310 FUN_14008c310 87 ok +0x14008c370 FUN_14008c370 87 ok +0x14008c3d0 FUN_14008c3d0 360 ok +0x14008c540 FUN_14008c540 228 ok +0x14008c630 FUN_14008c630 206 ok +0x14008c700 FUN_14008c700 228 ok +0x14008c7f0 FUN_14008c7f0 17 ok +0x14008c810 FUN_14008c810 104 ok +0x14008c880 FUN_14008c880 125 ok +0x14008c900 FUN_14008c900 92 ok +0x14008c980 FUN_14008c980 111 ok +0x14008c9f0 FUN_14008c9f0 153 ok +0x14008ca90 FUN_14008ca90 91 ok +0x14008caf0 FUN_14008caf0 89 ok +0x14008cb70 FUN_14008cb70 138 ok +0x14008cc00 FUN_14008cc00 238 ok +0x14008ccf0 FUN_14008ccf0 245 ok +0x14008cdf0 FUN_14008cdf0 132 ok +0x14008ce80 FUN_14008ce80 146 ok +0x14008cf20 FUN_14008cf20 248 ok +0x14008d020 FUN_14008d020 333 ok +0x14008d170 FUN_14008d170 119 ok +0x14008d1f0 FUN_14008d1f0 82 ok +0x14008d250 FUN_14008d250 176 ok +0x14008d300 FUN_14008d300 2067 ok +0x14008db30 FUN_14008db30 21 ok +0x14008db50 FUN_14008db50 132 ok +0x14008dbe0 FUN_14008dbe0 104 ok +0x14008dc50 FUN_14008dc50 133 ok +0x14008dce0 FUN_14008dce0 205 ok +0x14008ddb0 FUN_14008ddb0 24 ok +0x14008ddd0 FUN_14008ddd0 124 ok +0x14008de50 FUN_14008de50 124 ok +0x14008ded0 FUN_14008ded0 182 ok +0x14008df90 FUN_14008df90 312 ok +0x14008e0d0 FUN_14008e0d0 289 ok +0x14008e200 FUN_14008e200 315 ok +0x14008e340 FUN_14008e340 351 ok +0x14008e4a0 FUN_14008e4a0 145 ok +0x14008e540 FUN_14008e540 171 ok +0x14008e5f0 FUN_14008e5f0 630 ok +0x14008e870 FUN_14008e870 223 ok +0x14008e950 FUN_14008e950 387 ok +0x14008eae0 FUN_14008eae0 120 ok +0x14008eb60 FUN_14008eb60 168 ok +0x14008ec10 FUN_14008ec10 64 ok +0x14008ec50 FUN_14008ec50 106 ok +0x14008ecc0 FUN_14008ecc0 598 ok +0x14008ef20 FUN_14008ef20 273 ok +0x14008f040 FUN_14008f040 739 ok +0x14008f330 FUN_14008f330 1976 ok +0x14008fb00 FUN_14008fb00 1659 ok +0x140090190 FUN_140090190 88 ok +0x1400901f0 FUN_1400901f0 161 ok +0x1400902a0 FUN_1400902a0 1701 ok +0x140090960 FUN_140090960 45 ok +0x140090990 FUN_140090990 41 ok +0x1400909c0 FUN_1400909c0 246 ok +0x140090ac0 FUN_140090ac0 94 ok +0x140090b20 FUN_140090b20 279 ok +0x140090c40 FUN_140090c40 120 ok +0x140090cc0 FUN_140090cc0 54 ok +0x140090d00 FUN_140090d00 163 ok +0x140090db0 FUN_140090db0 12 ok +0x140090dc0 FUN_140090dc0 203 ok +0x140090e90 FUN_140090e90 114 ok +0x140090f10 FUN_140090f10 373 ok +0x140091090 FUN_140091090 358 ok +0x140091200 FUN_140091200 21 ok +0x140091220 FUN_140091220 11 ok +0x140091230 FUN_140091230 4 ok +0x140091240 FUN_140091240 5 ok +0x140091250 FUN_140091250 5 ok +0x140091260 FUN_140091260 11 ok +0x140091270 FUN_140091270 8 ok +0x140091280 FUN_140091280 38 ok +0x1400912b0 FUN_1400912b0 11 ok +0x1400912c0 FUN_1400912c0 38 ok +0x1400912f0 FUN_1400912f0 11 ok +0x140091300 FUN_140091300 38 ok +0x140091330 FUN_140091330 21 ok +0x140091350 FUN_140091350 14 ok +0x140091360 FUN_140091360 54 ok +0x1400913a0 FUN_1400913a0 17 ok +0x1400913c0 FUN_1400913c0 54 ok +0x140091400 FUN_140091400 14 ok +0x140091410 FUN_140091410 5 ok +0x140091420 FUN_140091420 9 ok +0x140091430 FUN_140091430 266 ok +0x140091540 FUN_140091540 23 ok +0x140091560 FUN_140091560 112 ok +0x1400915d0 FUN_1400915d0 99 ok +0x140091640 FUN_140091640 33 ok +0x140091670 FUN_140091670 36 ok +0x1400916a0 FUN_1400916a0 36 ok +0x1400916d0 FUN_1400916d0 88 ok +0x140091730 FUN_140091730 37 ok +0x140091760 FUN_140091760 541 ok +0x140091980 FUN_140091980 531 ok +0x140091ba0 FUN_140091ba0 531 ok +0x140091dc0 FUN_140091dc0 6 ok +0x140091dd0 FUN_140091dd0 27 ok +0x140091df0 FUN_140091df0 9 ok +0x140091e00 FUN_140091e00 9 ok +0x140091e10 FUN_140091e10 12 ok +0x140091e20 FUN_140091e20 9 ok +0x140091e30 FUN_140091e30 9 ok +0x140091e40 FUN_140091e40 8 ok +0x140091e50 FUN_140091e50 497 ok +0x140092050 FUN_140092050 774 ok +0x140092360 FUN_140092360 47 ok +0x140092390 FUN_140092390 44 ok +0x1400923c0 FUN_1400923c0 56 ok +0x140092400 FUN_140092400 23 ok +0x140092420 FUN_140092420 29 ok +0x140092440 FUN_140092440 41 ok +0x140092470 FUN_140092470 84 ok +0x1400924d0 FUN_1400924d0 246 ok +0x1400925d0 FUN_1400925d0 29 ok +0x1400925f0 FUN_1400925f0 95 ok +0x140092650 FUN_140092650 95 ok +0x1400926b0 FUN_1400926b0 94 ok +0x140092710 FUN_140092710 94 ok +0x140092770 FUN_140092770 94 ok +0x1400927d0 FUN_1400927d0 103 ok +0x140092840 FUN_140092840 100 ok +0x1400928b0 FUN_1400928b0 64 ok +0x1400928f0 FUN_1400928f0 12 ok +0x140092900 FUN_140092900 67 ok +0x140092950 FUN_140092950 207 ok +0x140092a20 FUN_140092a20 221 ok +0x140092b00 FUN_140092b00 168 ok +0x140092bb0 FUN_140092bb0 86 ok +0x140092c10 FUN_140092c10 153 ok +0x140092cb0 FUN_140092cb0 94 ok +0x140092d10 FUN_140092d10 55 ok +0x140092d50 FUN_140092d50 118 ok +0x140092dd0 FUN_140092dd0 46 ok +0x140092e00 FUN_140092e00 133 ok +0x140092e90 FUN_140092e90 46 ok +0x140092ec0 FUN_140092ec0 33 ok +0x140092ef0 FUN_140092ef0 33 ok +0x140092f20 FUN_140092f20 997 ok +0x140093320 FUN_140093320 103 ok +0x140093390 FUN_140093390 915 ok +0x140093730 FUN_140093730 23 ok +0x140093750 FUN_140093750 101 ok +0x1400937c0 FUN_1400937c0 39 ok +0x1400937f0 FUN_1400937f0 39 ok +0x140093820 FUN_140093820 119 ok +0x1400938a0 FUN_1400938a0 113 ok +0x140093920 FUN_140093920 84 ok +0x140093980 FUN_140093980 128 ok +0x140093a10 FUN_140093a10 165 ok +0x140093ac0 FUN_140093ac0 320 ok +0x140093c10 FUN_140093c10 246 ok +0x140093d10 FUN_140093d10 114 ok +0x140093d90 FUN_140093d90 273 ok +0x140093eb0 FUN_140093eb0 131 ok +0x140093f40 FUN_140093f40 290 ok +0x140094070 FUN_140094070 335 ok +0x1400941c0 FUN_1400941c0 1470 ok +0x1400947a0 FUN_1400947a0 105 ok +0x140094810 FUN_140094810 11 ok +0x140094820 FUN_140094820 21 ok +0x140094840 FUN_140094840 18 ok +0x140094860 FUN_140094860 3 ok +0x140094870 FUN_140094870 38 ok +0x1400948a0 FUN_1400948a0 89 ok +0x140094900 FUN_140094900 125 ok +0x140094980 FUN_140094980 126 ok +0x140094a00 FUN_140094a00 316 ok +0x140094b40 FUN_140094b40 222 ok +0x140094c20 FUN_140094c20 24 ok +0x140094c40 FUN_140094c40 227 ok +0x140094d30 FUN_140094d30 225 ok +0x140094e20 FUN_140094e20 47 ok +0x140094e50 FUN_140094e50 470 ok +0x140095030 FUN_140095030 233 ok +0x140095120 FUN_140095120 290 ok +0x140095250 FUN_140095250 241 ok +0x140095350 FUN_140095350 95 ok +0x1400953b0 FUN_1400953b0 324 ok +0x140095500 FUN_140095500 717 ok +0x1400957e0 FUN_1400957e0 629 ok +0x140095a60 FUN_140095a60 280 ok +0x140095b80 FUN_140095b80 68 ok +0x140095bd0 FUN_140095bd0 43 ok +0x140095c00 FUN_140095c00 177 ok +0x140095cc0 FUN_140095cc0 109 ok +0x140095d30 FUN_140095d30 176 ok +0x140095df0 FUN_140095df0 140 ok +0x140095e80 FUN_140095e80 495 ok +0x140096080 FUN_140096080 1024 ok +0x140096480 FUN_140096480 87 ok +0x1400964e0 FUN_1400964e0 115 ok +0x140096560 FUN_140096560 108 ok +0x1400965d0 FUN_1400965d0 125 ok +0x140096650 FUN_140096650 409 ok +0x1400967f0 FUN_1400967f0 327 ok +0x140096940 FUN_140096940 117 ok +0x1400969c0 FUN_1400969c0 380 ok +0x140096b50 FUN_140096b50 81 ok +0x140096bb0 FUN_140096bb0 111 ok +0x140096c20 FUN_140096c20 461 ok +0x140096df0 FUN_140096df0 39 ok +0x140096e20 FUN_140096e20 57 ok +0x140096e60 FUN_140096e60 131 ok +0x140096ef0 FUN_140096ef0 156 ok +0x140096f90 FUN_140096f90 189 ok +0x140097060 FUN_140097060 399 ok +0x140097200 FUN_140097200 459 ok +0x1400973e0 FUN_1400973e0 488 ok +0x1400975e0 FUN_1400975e0 42 ok +0x140097610 FUN_140097610 41 ok +0x140097640 FUN_140097640 43 ok +0x140097670 FUN_140097670 15 ok +0x140097680 FUN_140097680 117 ok +0x140097700 FUN_140097700 232 ok +0x1400977f0 FUN_1400977f0 162 ok +0x1400978a0 FUN_1400978a0 37 ok +0x1400978d0 FUN_1400978d0 77 ok +0x140097920 FUN_140097920 36 ok +0x140097950 FUN_140097950 71 ok +0x1400979a0 FUN_1400979a0 100 ok +0x140097a10 FUN_140097a10 29 ok +0x140097a30 FUN_140097a30 127 ok +0x140097ab0 FUN_140097ab0 628 ok +0x140097d30 FUN_140097d30 254 ok +0x140097e40 FUN_140097e40 294 ok +0x140097f70 FUN_140097f70 264 ok +0x140098080 FUN_140098080 333 ok +0x1400981d0 FUN_1400981d0 280 ok +0x1400982f0 FUN_1400982f0 160 ok +0x1400983a0 FUN_1400983a0 169 ok +0x140098450 FUN_140098450 565 ok +0x140098690 FUN_140098690 185 ok +0x140098750 FUN_140098750 203 ok +0x140098820 FUN_140098820 52 ok +0x140098860 FUN_140098860 141 ok +0x1400988f0 FUN_1400988f0 178 ok +0x1400989d0 FUN_1400989d0 186 ok +0x140098a90 FUN_140098a90 208 ok +0x140098b60 FUN_140098b60 22 ok +0x140098b80 FUN_140098b80 115 ok +0x140098c00 FUN_140098c00 170 ok +0x140098cb0 FUN_140098cb0 230 ok +0x140098da0 FUN_140098da0 16 ok +0x140098db0 FUN_140098db0 255 ok +0x140098eb0 FUN_140098eb0 86 ok +0x140098f10 FUN_140098f10 795 ok +0x140099230 FUN_140099230 13 ok +0x140099240 FUN_140099240 5815 ok +0x14009a980 FUN_14009a980 49 ok +0x14009a9c0 FUN_14009a9c0 46 ok +0x14009a9f0 FUN_14009a9f0 22 ok +0x14009aa10 FUN_14009aa10 25 ok +0x14009aa30 FUN_14009aa30 51 ok +0x14009aa70 FUN_14009aa70 57 ok +0x14009aab0 FUN_14009aab0 112 ok +0x14009ab30 FUN_14009ab30 479 ok +0x14009ad20 FUN_14009ad20 63 ok +0x14009ad60 FUN_14009ad60 32 ok +0x14009ad80 FUN_14009ad80 35 ok +0x14009adb0 FUN_14009adb0 73 ok +0x14009ae00 FUN_14009ae00 22 ok +0x14009ae20 FUN_14009ae20 206 ok +0x14009af00 FUN_14009af00 228 ok +0x14009aff0 FUN_14009aff0 253 ok +0x14009b100 FUN_14009b100 205 ok +0x14009b1e0 FUN_14009b1e0 216 ok +0x14009b2c0 FUN_14009b2c0 240 ok +0x14009b3c0 FUN_14009b3c0 583 ok +0x14009b610 FUN_14009b610 73 ok +0x14009b660 FUN_14009b660 11 ok +0x14009b670 FUN_14009b670 38 ok +0x14009b6a0 FUN_14009b6a0 11 ok +0x14009b6b0 FUN_14009b6b0 38 ok +0x14009b6e0 FUN_14009b6e0 11 ok +0x14009b6f0 FUN_14009b6f0 6 ok +0x14009b700 FUN_14009b700 6 ok +0x14009b710 FUN_14009b710 30 ok +0x14009b740 FUN_14009b740 6 ok +0x14009b750 FUN_14009b750 8 ok +0x14009b760 FUN_14009b760 61 ok +0x14009b7a0 FUN_14009b7a0 7 ok +0x14009b7b0 FUN_14009b7b0 100 ok +0x14009b820 FUN_14009b820 7 ok +0x14009b830 FUN_14009b830 7 ok +0x14009b840 FUN_14009b840 21 ok +0x14009b860 FUN_14009b860 11 ok +0x14009b870 FUN_14009b870 11 ok +0x14009b880 FUN_14009b880 233 ok +0x14009b970 FUN_14009b970 126 ok +0x14009b9f0 FUN_14009b9f0 174 ok +0x14009baa0 FUN_14009baa0 38 ok +0x14009bad0 FUN_14009bad0 16 ok +0x14009bae0 FUN_14009bae0 57 ok +0x14009bb20 FUN_14009bb20 9 ok +0x14009bb30 FUN_14009bb30 9 ok +0x14009bb40 FUN_14009bb40 43 ok +0x14009bb70 FUN_14009bb70 67 ok +0x14009bbc0 FUN_14009bbc0 67 ok +0x14009bc10 FUN_14009bc10 47 ok +0x14009bc40 FUN_14009bc40 29 ok +0x14009bc60 FUN_14009bc60 241 ok +0x14009bd60 FUN_14009bd60 117 ok +0x14009bde0 FUN_14009bde0 130 ok +0x14009be70 FUN_14009be70 111 ok +0x14009bee0 FUN_14009bee0 26 ok +0x14009bf00 FUN_14009bf00 34 ok +0x14009bf30 FUN_14009bf30 47 ok +0x14009bf60 FUN_14009bf60 57 ok +0x14009bfa0 FUN_14009bfa0 278 ok +0x14009c0d0 FUN_14009c0d0 28 ok +0x14009c0f0 FUN_14009c0f0 28 ok +0x14009c110 FUN_14009c110 202 ok +0x14009c1e0 FUN_14009c1e0 106 ok +0x14009c250 FUN_14009c250 26 ok +0x14009c270 FUN_14009c270 189 ok +0x14009c330 FUN_14009c330 24 ok +0x14009c350 FUN_14009c350 211 ok +0x14009c430 FUN_14009c430 198 ok +0x14009c500 FUN_14009c500 121 ok +0x14009c580 FUN_14009c580 138 ok +0x14009c610 FUN_14009c610 83 ok +0x14009c670 FUN_14009c670 40 ok +0x14009c6a0 FUN_14009c6a0 211 ok +0x14009c780 FUN_14009c780 211 ok +0x14009c860 FUN_14009c860 271 ok +0x14009c970 FUN_14009c970 33 ok +0x14009c9a0 FUN_14009c9a0 87 ok +0x14009ca00 FUN_14009ca00 348 ok +0x14009cb60 FUN_14009cb60 342 ok +0x14009ccc0 FUN_14009ccc0 85 ok +0x14009cd20 FUN_14009cd20 56 ok +0x14009cd60 FUN_14009cd60 208 ok +0x14009ce30 FUN_14009ce30 303 ok +0x14009cf60 FUN_14009cf60 121 ok +0x14009cfe0 FUN_14009cfe0 111 ok +0x14009d050 FUN_14009d050 248 ok +0x14009d150 FUN_14009d150 267 ok +0x14009d260 FUN_14009d260 189 ok +0x14009d330 FUN_14009d330 41 ok +0x14009d360 FUN_14009d360 101 ok +0x14009d3d0 FUN_14009d3d0 164 ok +0x14009d480 FUN_14009d480 72 ok +0x14009d4d0 FUN_14009d4d0 441 ok +0x14009d690 FUN_14009d690 332 ok +0x14009d7e0 FUN_14009d7e0 115 ok +0x14009d860 FUN_14009d860 125 ok +0x14009d8e0 FUN_14009d8e0 118 ok +0x14009d960 FUN_14009d960 459 ok +0x14009db30 FUN_14009db30 151 ok +0x14009dbd0 FUN_14009dbd0 288 ok +0x14009dd00 FUN_14009dd00 495 ok +0x14009def0 FUN_14009def0 143 ok +0x14009df80 FUN_14009df80 286 ok +0x14009e0a0 FUN_14009e0a0 298 ok +0x14009e1d0 FUN_14009e1d0 95 ok +0x14009e230 FUN_14009e230 238 ok +0x14009e320 FUN_14009e320 351 ok +0x14009e480 FUN_14009e480 297 ok +0x14009e5b0 FUN_14009e5b0 349 ok +0x14009e710 FUN_14009e710 98 ok +0x14009e780 FUN_14009e780 145 ok +0x14009e820 FUN_14009e820 141 ok +0x14009e8b0 FUN_14009e8b0 139 ok +0x14009e940 FUN_14009e940 170 ok +0x14009e9f0 FUN_14009e9f0 14877 ok +0x1400a2460 FUN_1400a2460 4519 ok +0x1400a3610 FUN_1400a3610 211 ok +0x1400a36f0 FUN_1400a36f0 221 ok +0x1400a37d0 FUN_1400a37d0 230 ok +0x1400a38c0 FUN_1400a38c0 240 ok +0x1400a39c0 FUN_1400a39c0 189 ok +0x1400a3a80 FUN_1400a3a80 198 ok +0x1400a3b50 FUN_1400a3b50 273 ok +0x1400a3c70 FUN_1400a3c70 283 ok +0x1400a3d90 FUN_1400a3d90 390 ok +0x1400a3f20 FUN_1400a3f20 410 ok +0x1400a40c0 FUN_1400a40c0 189 ok +0x1400a4180 FUN_1400a4180 198 ok +0x1400a4250 FUN_1400a4250 228 ok +0x1400a4340 FUN_1400a4340 238 ok +0x1400a4430 FUN_1400a4430 227 ok +0x1400a4520 FUN_1400a4520 237 ok +0x1400a4610 FUN_1400a4610 210 ok +0x1400a46f0 FUN_1400a46f0 216 ok +0x1400a47d0 FUN_1400a47d0 209 ok +0x1400a48b0 FUN_1400a48b0 219 ok +0x1400a4990 FUN_1400a4990 209 ok +0x1400a4a70 FUN_1400a4a70 219 ok +0x1400a4b50 FUN_1400a4b50 210 ok +0x1400a4c30 FUN_1400a4c30 216 ok +0x1400a4d10 FUN_1400a4d10 211 ok +0x1400a4df0 FUN_1400a4df0 221 ok +0x1400a4ed0 FUN_1400a4ed0 230 ok +0x1400a4fc0 FUN_1400a4fc0 240 ok +0x1400a50c0 FUN_1400a50c0 189 ok +0x1400a5180 FUN_1400a5180 198 ok +0x1400a5250 FUN_1400a5250 210 ok +0x1400a5330 FUN_1400a5330 220 ok +0x1400a5410 FUN_1400a5410 251 ok +0x1400a5510 FUN_1400a5510 261 ok +0x1400a5620 FUN_1400a5620 209 ok +0x1400a5700 FUN_1400a5700 219 ok +0x1400a57e0 FUN_1400a57e0 189 ok +0x1400a58a0 FUN_1400a58a0 198 ok +0x1400a5970 FUN_1400a5970 209 ok +0x1400a5a50 FUN_1400a5a50 219 ok +0x1400a5b30 FUN_1400a5b30 234 ok +0x1400a5c20 FUN_1400a5c20 244 ok +0x1400a5d20 FUN_1400a5d20 280 ok +0x1400a5e40 FUN_1400a5e40 290 ok +0x1400a5f70 FUN_1400a5f70 364 ok +0x1400a60e0 FUN_1400a60e0 747 ok +0x1400a63d0 FUN_1400a63d0 591 ok +0x1400a6630 FUN_1400a6630 951 ok +0x1400a69f0 FUN_1400a69f0 519 ok +0x1400a6c00 FUN_1400a6c00 384 ok +0x1400a6d80 FUN_1400a6d80 641 ok +0x1400a7010 FUN_1400a7010 430 ok +0x1400a71c0 FUN_1400a71c0 341 ok +0x1400a7320 FUN_1400a7320 107 ok +0x1400a7390 FUN_1400a7390 147 ok +0x1400a7430 FUN_1400a7430 102 ok +0x1400a74a0 FUN_1400a74a0 314 ok +0x1400a75e0 FUN_1400a75e0 331 ok +0x1400a7730 FUN_1400a7730 235 ok +0x1400a7820 FUN_1400a7820 246 ok +0x1400a7920 FUN_1400a7920 205 ok +0x1400a79f0 FUN_1400a79f0 423 ok +0x1400a7ba0 FUN_1400a7ba0 349 ok +0x1400a7d00 FUN_1400a7d00 311 ok +0x1400a7e40 FUN_1400a7e40 498 ok +0x1400a8040 FUN_1400a8040 273 ok +0x1400a8160 FUN_1400a8160 423 ok +0x1400a8310 FUN_1400a8310 411 ok +0x1400a84b0 FUN_1400a84b0 283 ok +0x1400a85d0 FUN_1400a85d0 385 ok +0x1400a8760 FUN_1400a8760 199 ok +0x1400a8830 FUN_1400a8830 281 ok +0x1400a8950 FUN_1400a8950 399 ok +0x1400a8ae0 FUN_1400a8ae0 301 ok +0x1400a8c10 FUN_1400a8c10 185 ok +0x1400a8cd0 FUN_1400a8cd0 334 ok +0x1400a8e20 FUN_1400a8e20 309 ok +0x1400a8f60 FUN_1400a8f60 132 ok +0x1400a8ff0 FUN_1400a8ff0 109 ok +0x1400a9060 FUN_1400a9060 197 ok +0x1400a9130 FUN_1400a9130 156 ok +0x1400a91d0 FUN_1400a91d0 193 ok +0x1400a92a0 FUN_1400a92a0 103 ok +0x1400a9310 FUN_1400a9310 142 ok +0x1400a93a0 FUN_1400a93a0 152 ok +0x1400a9440 FUN_1400a9440 114 ok +0x1400a94c0 FUN_1400a94c0 204 ok +0x1400a9590 FUN_1400a9590 248 ok +0x1400a9690 FUN_1400a9690 325 ok +0x1400a97e0 FUN_1400a97e0 446 ok +0x1400a99a0 FUN_1400a99a0 222 ok +0x1400a9a80 FUN_1400a9a80 271 ok +0x1400a9b90 FUN_1400a9b90 366 ok +0x1400a9d00 FUN_1400a9d00 286 ok +0x1400a9e20 FUN_1400a9e20 326 ok +0x1400a9f70 FUN_1400a9f70 1355 ok +0x1400aa4c0 FUN_1400aa4c0 1351 ok +0x1400aaa10 FUN_1400aaa10 289 ok +0x1400aab40 FUN_1400aab40 251 ok +0x1400aac40 FUN_1400aac40 160 ok +0x1400aace0 FUN_1400aace0 38 ok +0x1400aad10 FUN_1400aad10 38 ok +0x1400aad40 FUN_1400aad40 38 ok +0x1400aad70 FUN_1400aad70 380 ok +0x1400aaef0 FUN_1400aaef0 124 ok +0x1400aaf70 FUN_1400aaf70 217 ok +0x1400ab050 FUN_1400ab050 1192 ok +0x1400ab500 FUN_1400ab500 788 ok +0x1400ab820 FUN_1400ab820 677 ok +0x1400abad0 FUN_1400abad0 452 ok +0x1400abca0 FUN_1400abca0 827 ok +0x1400abfe0 FUN_1400abfe0 1168 ok +0x1400ac480 FUN_1400ac480 605 ok +0x1400ac6e0 FUN_1400ac6e0 181 ok +0x1400ac7a0 FUN_1400ac7a0 102 ok +0x1400ac810 FUN_1400ac810 24 ok +0x1400ac830 FUN_1400ac830 108 ok +0x1400ac8a0 FUN_1400ac8a0 1239 ok +0x1400acd80 FUN_1400acd80 2775 ok +0x1400ad8e0 FUN_1400ad8e0 324 ok +0x1400ada30 FUN_1400ada30 12 ok +0x1400ada40 FUN_1400ada40 137 ok +0x1400adad0 FUN_1400adad0 138 ok +0x1400adb60 FUN_1400adb60 99 ok +0x1400adbd0 FUN_1400adbd0 142 ok +0x1400adc60 FUN_1400adc60 103 ok +0x1400adcd0 FUN_1400adcd0 201 ok +0x1400adda0 FUN_1400adda0 425 ok +0x1400adf50 FUN_1400adf50 478 ok +0x1400ae130 FUN_1400ae130 193 ok +0x1400ae200 FUN_1400ae200 359 ok +0x1400ae370 FUN_1400ae370 473 ok +0x1400ae550 FUN_1400ae550 812 ok +0x1400ae880 FUN_1400ae880 427 ok +0x1400aea30 FUN_1400aea30 658 ok +0x1400aecd0 FUN_1400aecd0 658 ok +0x1400aef70 FUN_1400aef70 135 ok +0x1400af000 FUN_1400af000 248 ok +0x1400af100 FUN_1400af100 4520 ok +0x1400b0310 FUN_1400b0310 415 ok +0x1400b04c0 FUN_1400b04c0 394 ok +0x1400b0650 FUN_1400b0650 24 ok +0x1400b0670 FUN_1400b0670 135 ok +0x1400b0700 FUN_1400b0700 109 ok +0x1400b0770 FUN_1400b0770 137 ok +0x1400b0800 FUN_1400b0800 111 ok +0x1400b0870 FUN_1400b0870 408 ok +0x1400b0a10 FUN_1400b0a10 127 ok +0x1400b0a90 FUN_1400b0a90 161 ok +0x1400b0b40 FUN_1400b0b40 135 ok +0x1400b0bd0 FUN_1400b0bd0 202 ok +0x1400b0ca0 FUN_1400b0ca0 38 ok +0x1400b0cd0 FUN_1400b0cd0 2095 ok +0x1400b1510 FUN_1400b1510 1356 ok +0x1400b1a60 FUN_1400b1a60 9 ok +0x1400b1a70 FUN_1400b1a70 7 ok +0x1400b1a80 FUN_1400b1a80 9 ok +0x1400b1aa0 FUN_1400b1aa0 36 ok +0x1400b1ad0 FUN_1400b1ad0 8 ok +0x1400b1ae0 FUN_1400b1ae0 12 ok +0x1400b1af0 FUN_1400b1af0 9 ok +0x1400b1b00 FUN_1400b1b00 12 ok +0x1400b1b10 FUN_1400b1b10 9 ok +0x1400b1b20 FUN_1400b1b20 12 ok +0x1400b1b30 FUN_1400b1b30 9 ok +0x1400b1b40 FUN_1400b1b40 9 ok +0x1400b1b50 FUN_1400b1b50 9 ok +0x1400b1b60 FUN_1400b1b60 9 ok +0x1400b1b70 FUN_1400b1b70 9 ok +0x1400b1b80 FUN_1400b1b80 9 ok +0x1400b1b90 FUN_1400b1b90 12 ok +0x1400b1ba0 FUN_1400b1ba0 9 ok +0x1400b1bb0 FUN_1400b1bb0 9 ok +0x1400b1bc0 FUN_1400b1bc0 9 ok +0x1400b1bd0 FUN_1400b1bd0 9 ok +0x1400b1be0 FUN_1400b1be0 8 ok +0x1400b1bf0 FUN_1400b1bf0 18 ok +0x1400b1c10 FUN_1400b1c10 9 ok +0x1400b1c20 FUN_1400b1c20 9 ok +0x1400b1c30 FUN_1400b1c30 9 ok +0x1400b1c40 FUN_1400b1c40 12 ok +0x1400b1c50 FUN_1400b1c50 9 ok +0x1400b1c60 FUN_1400b1c60 9 ok +0x1400b1c70 FUN_1400b1c70 9 ok +0x1400b1c80 FUN_1400b1c80 9 ok +0x1400b1c90 FUN_1400b1c90 9 ok +0x1400b1ca0 FUN_1400b1ca0 9 ok +0x1400b1cb0 FUN_1400b1cb0 9 ok +0x1400b1cc0 FUN_1400b1cc0 81 ok +0x1400b1d20 FUN_1400b1d20 9 ok +0x1400b1d30 FUN_1400b1d30 9 ok +0x1400b1d40 FUN_1400b1d40 290 ok +0x1400b1e70 FUN_1400b1e70 379 ok +0x1400b1ff0 FUN_1400b1ff0 379 ok +0x1400b2170 FUN_1400b2170 149 ok +0x1400b2210 FUN_1400b2210 952 ok +0x1400b25d0 FUN_1400b25d0 1747 ok +0x1400b2cb0 FUN_1400b2cb0 2285 ok +0x1400b35a0 FUN_1400b35a0 216 ok +0x1400b3680 FUN_1400b3680 324 ok +0x1400b37d0 FUN_1400b37d0 612 ok +0x1400b3a40 FUN_1400b3a40 1123 ok +0x1400b3eb0 FUN_1400b3eb0 822 ok +0x1400b41f0 FUN_1400b41f0 2142 ok +0x1400b4a50 FUN_1400b4a50 47 ok +0x1400b4a80 FUN_1400b4a80 792 ok +0x1400b4da0 FUN_1400b4da0 784 ok +0x1400b50c0 FUN_1400b50c0 722 ok +0x1400b53a0 FUN_1400b53a0 696 ok +0x1400b5660 FUN_1400b5660 2074 ok +0x1400b5e80 FUN_1400b5e80 336 ok +0x1400b5fd0 FUN_1400b5fd0 2552 ok +0x1400b69d0 FUN_1400b69d0 103 ok +0x1400b6a40 FUN_1400b6a40 558 ok +0x1400b6c70 FUN_1400b6c70 128 ok +0x1400b6cf0 FUN_1400b6cf0 358 ok +0x1400b6e60 FUN_1400b6e60 85 ok +0x1400b6ec0 FUN_1400b6ec0 113 ok +0x1400b6f40 FUN_1400b6f40 104 ok +0x1400b6fb0 FUN_1400b6fb0 226 ok +0x1400b70a0 FUN_1400b70a0 61 ok +0x1400b70e0 FUN_1400b70e0 4 ok +0x1400b70f0 FUN_1400b70f0 31 ok +0x1400b7110 FUN_1400b7110 12 ok +0x1400b7120 FUN_1400b7120 27 ok +0x1400b7140 FUN_1400b7140 33 ok +0x1400b7170 FUN_1400b7170 118 ok +0x1400b71f0 FUN_1400b71f0 17 ok +0x1400b7210 FUN_1400b7210 67 ok +0x1400b7260 FUN_1400b7260 109 ok +0x1400b72d0 FUN_1400b72d0 253 ok +0x1400b73d0 FUN_1400b73d0 151 ok +0x1400b7470 FUN_1400b7470 151 ok +0x1400b7510 FUN_1400b7510 49 ok +0x1400b7550 FUN_1400b7550 150 ok +0x1400b75f0 FUN_1400b75f0 34 ok +0x1400b7620 FUN_1400b7620 86 ok +0x1400b7680 FUN_1400b7680 86 ok +0x1400b76e0 FUN_1400b76e0 147 ok +0x1400b7780 FUN_1400b7780 86 ok +0x1400b7830 FUN_1400b7830 70 ok +0x1400b7880 FUN_1400b7880 63 ok +0x1400b78e0 FUN_1400b78e0 86 ok +0x1400b7940 FUN_1400b7940 86 ok +0x1400b79a0 FUN_1400b79a0 86 ok +0x1400b7a10 FUN_1400b7a10 86 ok +0x1400b7a70 FUN_1400b7a70 86 ok +0x1400b7ad0 FUN_1400b7ad0 91 ok +0x1400b7b30 FUN_1400b7b30 86 ok +0x1400b7b90 FUN_1400b7b90 91 ok +0x1400b7bf0 FUN_1400b7bf0 86 ok +0x1400b7c50 FUN_1400b7c50 91 ok +0x1400b7cb0 FUN_1400b7cb0 86 ok +0x1400b7d10 FUN_1400b7d10 86 ok +0x1400b7d70 FUN_1400b7d70 86 ok +0x1400b7dd0 FUN_1400b7dd0 86 ok +0x1400b7e30 FUN_1400b7e30 116 ok +0x1400b7eb0 FUN_1400b7eb0 91 ok +0x1400b7f10 FUN_1400b7f10 91 ok +0x1400b7f70 FUN_1400b7f70 50 ok +0x1400b7fb0 FUN_1400b7fb0 91 ok +0x1400b8010 FUN_1400b8010 91 ok +0x1400b8070 FUN_1400b8070 184 ok +0x1400b8130 FUN_1400b8130 86 ok +0x1400b8190 FUN_1400b8190 94 ok +0x1400b8200 FUN_1400b8200 50 ok +0x1400b8240 FUN_1400b8240 125 ok +0x1400b82c0 FUN_1400b82c0 224 ok +0x1400b83a0 FUN_1400b83a0 1224 ok +0x1400b88b0 FUN_1400b88b0 218 ok +0x1400b8990 FUN_1400b8990 382 ok +0x1400b8b10 FUN_1400b8b10 229 ok +0x1400b8c00 FUN_1400b8c00 400 ok +0x1400b8d90 FUN_1400b8d90 329 ok +0x1400b8ee0 FUN_1400b8ee0 274 ok +0x1400b9010 FUN_1400b9010 528 ok +0x1400b9220 FUN_1400b9220 180 ok +0x1400b92e0 FUN_1400b92e0 345 ok +0x1400b9440 FUN_1400b9440 130 ok +0x1400b94e0 FUN_1400b94e0 80 ok +0x1400b9530 FUN_1400b9530 1243 ok +0x1400b9a10 FUN_1400b9a10 426 ok +0x1400b9bc0 FUN_1400b9bc0 978 ok +0x1400b9fa0 FUN_1400b9fa0 442 ok +0x1400ba160 FUN_1400ba160 470 ok +0x1400ba340 FUN_1400ba340 33 ok +0x1400ba370 FUN_1400ba370 777 ok +0x1400ba680 FUN_1400ba680 114 ok +0x1400ba700 FUN_1400ba700 224 ok +0x1400ba7e0 FUN_1400ba7e0 160 ok +0x1400ba880 FUN_1400ba880 430 ok +0x1400baa30 FUN_1400baa30 436 ok +0x1400babf0 FUN_1400babf0 632 ok +0x1400bae70 FUN_1400bae70 1056 ok +0x1400bb290 FUN_1400bb290 1356 ok +0x1400bb7e0 FUN_1400bb7e0 890 ok +0x1400bbb60 FUN_1400bbb60 467 ok +0x1400bbd40 FUN_1400bbd40 359 ok +0x1400bbeb0 FUN_1400bbeb0 2323 ok +0x1400bc7d0 FUN_1400bc7d0 646 ok +0x1400bca60 FUN_1400bca60 50 ok +0x1400bcaa0 FUN_1400bcaa0 13 ok +0x1400bcab0 FUN_1400bcab0 10 ok +0x1400bcac0 FUN_1400bcac0 1250 ok +0x1400bcfb0 FUN_1400bcfb0 127 ok +0x1400bd030 FUN_1400bd030 235 ok +0x1400bd120 FUN_1400bd120 539 ok +0x1400bd340 FUN_1400bd340 230 ok +0x1400bd430 FUN_1400bd430 1390 ok +0x1400bd9a0 FUN_1400bd9a0 616 ok +0x1400bdc10 FUN_1400bdc10 1128 ok +0x1400be080 FUN_1400be080 119 ok +0x1400be100 FUN_1400be100 129 ok +0x1400be190 FUN_1400be190 261 ok +0x1400be2a0 FUN_1400be2a0 1226 ok +0x1400be780 FUN_1400be780 114 ok +0x1400be800 FUN_1400be800 165 ok +0x1400be8b0 FUN_1400be8b0 587 ok +0x1400beb00 FUN_1400beb00 127 ok +0x1400beb80 FUN_1400beb80 148 ok +0x1400bec20 FUN_1400bec20 542 ok +0x1400bee40 FUN_1400bee40 634 ok +0x1400bf0c0 FUN_1400bf0c0 11 ok +0x1400bf0d0 FUN_1400bf0d0 38 ok +0x1400bf100 FUN_1400bf100 59 ok +0x1400bf140 FUN_1400bf140 59 ok +0x1400bf180 FUN_1400bf180 74 ok +0x1400bf1e0 FUN_1400bf1e0 206 ok +0x1400bf2c0 FUN_1400bf2c0 115 ok +0x1400bf340 FUN_1400bf340 98 ok +0x1400bf3b0 FUN_1400bf3b0 98 ok +0x1400bf420 FUN_1400bf420 98 ok +0x1400bf490 FUN_1400bf490 180 ok +0x1400bf550 FUN_1400bf550 178 ok +0x1400bf610 FUN_1400bf610 187 ok +0x1400bf6d0 FUN_1400bf6d0 110 ok +0x1400bf740 FUN_1400bf740 189 ok +0x1400bf800 FUN_1400bf800 87 ok +0x1400bf860 FUN_1400bf860 29 ok +0x1400bf880 FUN_1400bf880 36 ok +0x1400bf8b0 FUN_1400bf8b0 177 ok +0x1400bf970 FUN_1400bf970 228 ok +0x1400bfa60 FUN_1400bfa60 154 ok +0x1400bfb10 FUN_1400bfb10 73 ok +0x1400bfb60 FUN_1400bfb60 112 ok +0x1400bfbd0 FUN_1400bfbd0 280 ok +0x1400bfcf0 FUN_1400bfcf0 82 ok +0x1400bfd50 FUN_1400bfd50 374 ok +0x1400bfed0 FUN_1400bfed0 309 ok +0x1400c0010 FUN_1400c0010 360 ok +0x1400c0180 FUN_1400c0180 539 ok +0x1400c03a0 FUN_1400c03a0 170 ok +0x1400c0450 FUN_1400c0450 450 ok +0x1400c0620 FUN_1400c0620 363 ok +0x1400c0790 FUN_1400c0790 357 ok +0x1400c0900 FUN_1400c0900 401 ok +0x1400c0aa0 FUN_1400c0aa0 679 ok +0x1400c0d50 FUN_1400c0d50 814 ok +0x1400c1080 FUN_1400c1080 427 ok +0x1400c1230 FUN_1400c1230 717 ok +0x1400c1500 FUN_1400c1500 1293 ok +0x1400c1a10 FUN_1400c1a10 678 ok +0x1400c1cc0 FUN_1400c1cc0 716 ok +0x1400c1f90 FUN_1400c1f90 172 ok +0x1400c2040 FUN_1400c2040 312 ok +0x1400c2180 FUN_1400c2180 173 ok +0x1400c2230 FUN_1400c2230 1409 ok +0x1400c27c0 FUN_1400c27c0 2415 ok +0x1400c3190 FUN_1400c3190 757 ok +0x1400c3490 FUN_1400c3490 127 ok +0x1400c3510 FUN_1400c3510 1027 ok +0x1400c3920 FUN_1400c3920 1468 ok +0x1400c3ef0 FUN_1400c3ef0 1652 ok +0x1400c4580 FUN_1400c4580 1092 ok +0x1400c49d0 FUN_1400c49d0 624 ok +0x1400c4c40 FUN_1400c4c40 9 ok +0x1400c4c50 FUN_1400c4c50 8 ok +0x1400c4c60 FUN_1400c4c60 218 ok +0x1400c4d40 FUN_1400c4d40 221 ok +0x1400c4e20 FUN_1400c4e20 47 ok +0x1400c4e50 FUN_1400c4e50 662 ok +0x1400c50f0 FUN_1400c50f0 2342 ok +0x1400c5a20 FUN_1400c5a20 461 ok +0x1400c5bf0 FUN_1400c5bf0 879 ok +0x1400c5f70 FUN_1400c5f70 753 ok +0x1400c6270 FUN_1400c6270 1538 ok +0x1400c6920 FUN_1400c6920 416 ok +0x1400c6ad0 FUN_1400c6ad0 856 ok +0x1400c6e30 FUN_1400c6e30 578 ok +0x1400c7080 FUN_1400c7080 1587 ok +0x1400c76c0 FUN_1400c76c0 206 ok +0x1400c7790 FUN_1400c7790 330 ok +0x1400c78f0 FUN_1400c78f0 350 ok +0x1400c7a70 FUN_1400c7a70 84 ok +0x1400c7ad0 FUN_1400c7ad0 217 ok +0x1400c7bb0 FUN_1400c7bb0 142 ok +0x1400c7c40 FUN_1400c7c40 360 ok +0x1400c7db0 FUN_1400c7db0 354 ok +0x1400c7f30 FUN_1400c7f30 628 ok +0x1400c81b0 FUN_1400c81b0 202 ok +0x1400c8280 FUN_1400c8280 126 ok +0x1400c8300 FUN_1400c8300 322 ok +0x1400c8450 FUN_1400c8450 54 ok +0x1400c8490 FUN_1400c8490 351 ok +0x1400c8600 FUN_1400c8600 165 ok +0x1400c86b0 FUN_1400c86b0 168 ok +0x1400c8760 FUN_1400c8760 212 ok +0x1400c8840 FUN_1400c8840 168 ok +0x1400c88f0 FUN_1400c88f0 150 ok +0x1400c8990 FUN_1400c8990 311 ok +0x1400c8ad0 FUN_1400c8ad0 56 ok +0x1400c8b10 FUN_1400c8b10 87 ok +0x1400c8b70 FUN_1400c8b70 316 ok +0x1400c8cb0 FUN_1400c8cb0 291 ok +0x1400c8de0 FUN_1400c8de0 588 ok +0x1400c9030 FUN_1400c9030 127 ok +0x1400c90b0 FUN_1400c90b0 114 ok +0x1400c9130 FUN_1400c9130 528 ok +0x1400c9360 FUN_1400c9360 93 ok +0x1400c93c0 FUN_1400c93c0 113 ok +0x1400c9440 FUN_1400c9440 1202 ok +0x1400c9900 FUN_1400c9900 150 ok +0x1400c99a0 FUN_1400c99a0 282 ok +0x1400c9ac0 FUN_1400c9ac0 559 ok +0x1400c9d00 FUN_1400c9d00 286 ok +0x1400c9e20 FUN_1400c9e20 225 ok +0x1400c9f10 FUN_1400c9f10 220 ok +0x1400c9ff0 FUN_1400c9ff0 320 ok +0x1400ca130 FUN_1400ca130 906 ok +0x1400ca4c0 FUN_1400ca4c0 245 ok +0x1400ca5c0 FUN_1400ca5c0 47 ok +0x1400ca5f0 FUN_1400ca5f0 193 ok +0x1400ca6c0 FUN_1400ca6c0 764 ok +0x1400ca9c0 FUN_1400ca9c0 731 ok +0x1400caca0 FUN_1400caca0 415 ok +0x1400cae50 FUN_1400cae50 152 ok +0x1400caef0 FUN_1400caef0 86 ok +0x1400caf50 FUN_1400caf50 110 ok +0x1400cafc0 FUN_1400cafc0 485 ok +0x1400cb1b0 FUN_1400cb1b0 204 ok +0x1400cb280 FUN_1400cb280 153 ok +0x1400cb320 FUN_1400cb320 47 ok +0x1400cb350 FUN_1400cb350 303 ok +0x1400cb480 FUN_1400cb480 135 ok +0x1400cb510 FUN_1400cb510 248 ok +0x1400cb610 FUN_1400cb610 355 ok +0x1400cb780 FUN_1400cb780 339 ok +0x1400cb8e0 FUN_1400cb8e0 449 ok +0x1400cbab0 FUN_1400cbab0 257 ok +0x1400cbbc0 FUN_1400cbbc0 24 ok +0x1400cbbe0 FUN_1400cbbe0 410 ok +0x1400cbd80 FUN_1400cbd80 124 ok +0x1400cbe00 FUN_1400cbe00 124 ok +0x1400cbe90 FUN_1400cbe90 1173 ok +0x1400cc330 FUN_1400cc330 24 ok +0x1400cc350 FUN_1400cc350 254 ok +0x1400cc450 FUN_1400cc450 254 ok +0x1400cc550 FUN_1400cc550 346 ok +0x1400cc6b0 FUN_1400cc6b0 249 ok +0x1400cc7b0 FUN_1400cc7b0 2983 ok +0x1400cd360 FUN_1400cd360 4680 ok +0x1400ce5b0 FUN_1400ce5b0 254 ok +0x1400ce6b0 FUN_1400ce6b0 216 ok +0x1400ce790 FUN_1400ce790 106 ok +0x1400ce800 FUN_1400ce800 12 ok +0x1400ce810 FUN_1400ce810 181 ok +0x1400ce8d0 FUN_1400ce8d0 25 ok +0x1400ce8f0 FUN_1400ce8f0 25 ok +0x1400ce910 FUN_1400ce910 93 ok +0x1400ce970 FUN_1400ce970 36 ok +0x1400ce9a0 FUN_1400ce9a0 382 ok +0x1400ceb20 FUN_1400ceb20 339 ok +0x1400cec80 FUN_1400cec80 216 ok +0x1400ced60 FUN_1400ced60 6 ok +0x1400ced70 FUN_1400ced70 9 ok +0x1400ced80 FUN_1400ced80 475 ok +0x1400cef60 FUN_1400cef60 47 ok +0x1400cef90 FUN_1400cef90 11 ok +0x1400cefa0 FUN_1400cefa0 38 ok +0x1400cefd0 FUN_1400cefd0 9 ok +0x1400cefe0 FUN_1400cefe0 14 ok +0x1400ceff0 FUN_1400ceff0 22 ok +0x1400cf010 FUN_1400cf010 151 ok +0x1400cf0b0 FUN_1400cf0b0 108 ok +0x1400cf120 FUN_1400cf120 158 ok +0x1400cf1c0 FUN_1400cf1c0 159 ok +0x1400cf260 FUN_1400cf260 63 ok +0x1400cf2a0 FUN_1400cf2a0 25 ok +0x1400cf2c0 FUN_1400cf2c0 258 ok +0x1400cf3d0 FUN_1400cf3d0 116 ok +0x1400cf450 FUN_1400cf450 269 ok +0x1400cf560 FUN_1400cf560 99 ok +0x1400cf5d0 FUN_1400cf5d0 811 ok +0x1400cf900 FUN_1400cf900 708 ok +0x1400cfbd0 FUN_1400cfbd0 968 ok +0x1400cffa0 FUN_1400cffa0 389 ok +0x1400d0130 FUN_1400d0130 1011 ok +0x1400d0530 FUN_1400d0530 1834 ok +0x1400d0c60 FUN_1400d0c60 98 ok +0x1400d0cd0 FUN_1400d0cd0 1190 ok +0x1400d1180 FUN_1400d1180 452 ok +0x1400d1350 FUN_1400d1350 239 ok +0x1400d1440 FUN_1400d1440 1296 ok +0x1400d1950 FUN_1400d1950 530 ok +0x1400d1b70 FUN_1400d1b70 429 ok +0x1400d1d20 FUN_1400d1d20 1078 ok +0x1400d2160 FUN_1400d2160 805 ok +0x1400d2490 FUN_1400d2490 129 ok +0x1400d2520 FUN_1400d2520 182 ok +0x1400d25e0 FUN_1400d25e0 38 ok +0x1400d2610 FUN_1400d2610 94 ok +0x1400d2670 FUN_1400d2670 125 ok +0x1400d26f0 FUN_1400d26f0 132 ok +0x1400d2780 FUN_1400d2780 74 ok +0x1400d27d0 FUN_1400d27d0 264 ok +0x1400d28e0 FUN_1400d28e0 7 ok +0x1400d28f0 FUN_1400d28f0 9 ok +0x1400d2900 FUN_1400d2900 9 ok +0x1400d2910 FUN_1400d2910 9 ok +0x1400d2920 FUN_1400d2920 519 ok +0x1400d2b30 FUN_1400d2b30 47 ok +0x1400d2b60 FUN_1400d2b60 37 ok +0x1400d2b90 FUN_1400d2b90 302 ok +0x1400d2cc0 FUN_1400d2cc0 158 ok +0x1400d2d60 FUN_1400d2d60 54 ok +0x1400d2da0 FUN_1400d2da0 62 ok +0x1400d2de0 FUN_1400d2de0 87 ok +0x1400d2e40 FUN_1400d2e40 62 ok +0x1400d2e80 FUN_1400d2e80 44 ok +0x1400d2eb0 FUN_1400d2eb0 36 ok +0x1400d2ee0 FUN_1400d2ee0 334 ok +0x1400d3030 FUN_1400d3030 422 ok +0x1400d31e0 FUN_1400d31e0 250 ok +0x1400d32e0 FUN_1400d32e0 543 ok +0x1400d3500 FUN_1400d3500 9 ok +0x1400d3510 FUN_1400d3510 372 ok +0x1400d3690 FUN_1400d3690 47 ok +0x1400d36c0 FUN_1400d36c0 476 ok +0x1400d38a0 FUN_1400d38a0 8 ok +0x1400d38b0 FUN_1400d38b0 51 ok +0x1400d38f0 FUN_1400d38f0 52 ok +0x1400d3930 FUN_1400d3930 12 ok +0x1400d3940 FUN_1400d3940 9 ok +0x1400d3950 FUN_1400d3950 256 ok +0x1400d3a60 FUN_1400d3a60 118 ok +0x1400d3ae0 FUN_1400d3ae0 12 ok +0x1400d3af0 FUN_1400d3af0 26 ok +0x1400d3b10 FUN_1400d3b10 31 ok +0x1400d3b30 FUN_1400d3b30 11 ok +0x1400d3b40 FUN_1400d3b40 25 ok +0x1400d3b60 FUN_1400d3b60 9 ok +0x1400d3b70 FUN_1400d3b70 43 ok +0x1400d3ba0 FUN_1400d3ba0 19 ok +0x1400d3bc0 FUN_1400d3bc0 383 ok +0x1400d3d50 FUN_1400d3d50 1373 ok +0x1400d42c0 FUN_1400d42c0 134 ok +0x1400d4350 FUN_1400d4350 1359 ok +0x1400d48b0 FUN_1400d48b0 30 ok +0x1400d48d0 FUN_1400d48d0 122 ok +0x1400d4950 FUN_1400d4950 103 ok +0x1400d49c0 FUN_1400d49c0 10 ok +0x1400d49d0 FUN_1400d49d0 58 ok +0x1400d4a10 FUN_1400d4a10 157 ok +0x1400d4ab0 FUN_1400d4ab0 132 ok +0x1400d4b40 FUN_1400d4b40 103 ok +0x1400d4bb0 FUN_1400d4bb0 571 ok +0x1400d4df0 FUN_1400d4df0 57 ok +0x1400d4e30 FUN_1400d4e30 294 ok +0x1400d4f60 FUN_1400d4f60 657 ok +0x1400d5200 FUN_1400d5200 845 ok +0x1400d5560 FUN_1400d5560 242 ok +0x1400d5660 FUN_1400d5660 150 ok +0x1400d5700 FUN_1400d5700 210 ok +0x1400d57e0 FUN_1400d57e0 164 ok +0x1400d5890 FUN_1400d5890 85 ok +0x1400d58f0 FUN_1400d58f0 93 ok +0x1400d5950 FUN_1400d5950 578 ok +0x1400d5ba0 FUN_1400d5ba0 95 ok +0x1400d5c00 FUN_1400d5c00 81 ok +0x1400d5c60 FUN_1400d5c60 58 ok +0x1400d5ca0 FUN_1400d5ca0 132 ok +0x1400d5d30 FUN_1400d5d30 101 ok +0x1400d5df0 FUN_1400d5df0 45 ok +0x1400d5e20 FUN_1400d5e20 34 ok +0x1400d5e50 FUN_1400d5e50 41 ok +0x1400d5e80 FUN_1400d5e80 102 ok +0x1400d5ef0 FUN_1400d5ef0 119 ok +0x1400d5f70 FUN_1400d5f70 255 ok +0x1400d6070 FUN_1400d6070 242 ok +0x1400d6170 FUN_1400d6170 35 ok +0x1400d61a0 FUN_1400d61a0 170 ok +0x1400d6250 FUN_1400d6250 130 ok +0x1400d62e0 FUN_1400d62e0 124 ok +0x1400d6360 FUN_1400d6360 317 ok +0x1400d64a0 FUN_1400d64a0 114 ok +0x1400d6520 FUN_1400d6520 307 ok +0x1400d6660 FUN_1400d6660 170 ok +0x1400d6710 FUN_1400d6710 184 ok +0x1400d67d0 FUN_1400d67d0 123 ok +0x1400d6850 FUN_1400d6850 1314 ok +0x1400d6d80 FUN_1400d6d80 173 ok +0x1400d6e30 FUN_1400d6e30 11 ok +0x1400d6e40 FUN_1400d6e40 467 ok +0x1400d7020 FUN_1400d7020 205 ok +0x1400d70f0 FUN_1400d70f0 119 ok +0x1400d7170 FUN_1400d7170 103 ok +0x1400d71e0 FUN_1400d71e0 39 ok +0x1400d7210 FUN_1400d7210 96 ok +0x1400d7270 FUN_1400d7270 202 ok +0x1400d7340 FUN_1400d7340 355 ok +0x1400d74b0 FUN_1400d74b0 348 ok +0x1400d7610 FUN_1400d7610 287 ok +0x1400d7730 FUN_1400d7730 1948 ok +0x1400d7ed0 FUN_1400d7ed0 1490 ok +0x1400d84b0 FUN_1400d84b0 1555 ok +0x1400d8b10 FUN_1400d8b10 6585 ok +0x1400da4d0 FUN_1400da4d0 76 ok +0x1400da520 FUN_1400da520 218 ok +0x1400da600 FUN_1400da600 450 ok +0x1400da7d0 FUN_1400da7d0 29 ok +0x1400da7f0 FUN_1400da7f0 133 ok +0x1400da880 FUN_1400da880 65 ok +0x1400da8d0 FUN_1400da8d0 317 ok +0x1400daa10 FUN_1400daa10 1271 ok +0x1400daf50 FUN_1400daf50 338 ok +0x1400db0b0 FUN_1400db0b0 338 ok +0x1400db210 FUN_1400db210 459 ok +0x1400db3e0 FUN_1400db3e0 912 ok +0x1400db770 FUN_1400db770 93 ok +0x1400db7d0 FUN_1400db7d0 290 ok +0x1400db900 FUN_1400db900 884 ok +0x1400dbc80 FUN_1400dbc80 5 ok +0x1400dbc90 FUN_1400dbc90 74 ok +0x1400dbce0 FUN_1400dbce0 82 ok +0x1400dbd40 FUN_1400dbd40 111 ok +0x1400dbdb0 FUN_1400dbdb0 106 ok +0x1400dbe20 FUN_1400dbe20 89 ok +0x1400dbe80 FUN_1400dbe80 220 ok +0x1400dbf60 FUN_1400dbf60 387 ok +0x1400dc0f0 FUN_1400dc0f0 42 ok +0x1400dc120 FUN_1400dc120 997 ok +0x1400dc510 FUN_1400dc510 9 ok +0x1400dc520 FUN_1400dc520 9 ok +0x1400dc530 FUN_1400dc530 222 ok +0x1400dc610 FUN_1400dc610 470 ok +0x1400dc7f0 FUN_1400dc7f0 47 ok +0x1400dc820 FUN_1400dc820 104 ok +0x1400dc890 FUN_1400dc890 406 ok +0x1400dca30 FUN_1400dca30 1718 ok +0x1400dd0f0 FUN_1400dd0f0 811 ok +0x1400dd420 FUN_1400dd420 211 ok +0x1400dd500 FUN_1400dd500 130 ok +0x1400dd590 FUN_1400dd590 418 ok +0x1400dd740 FUN_1400dd740 147 ok +0x1400dd7e0 FUN_1400dd7e0 258 ok +0x1400dd8f0 FUN_1400dd8f0 430 ok +0x1400ddaa0 FUN_1400ddaa0 132 ok +0x1400ddb30 FUN_1400ddb30 36 ok +0x1400ddb60 FUN_1400ddb60 145 ok +0x1400ddc00 FUN_1400ddc00 50 ok +0x1400ddc40 FUN_1400ddc40 244 ok +0x1400ddd40 FUN_1400ddd40 48 ok +0x1400ddd70 FUN_1400ddd70 91 ok +0x1400dddd0 FUN_1400dddd0 66 ok +0x1400dde20 FUN_1400dde20 383 ok +0x1400ddfa0 FUN_1400ddfa0 47 ok +0x1400ddfd0 FUN_1400ddfd0 370 ok +0x1400de150 FUN_1400de150 251 ok +0x1400de250 FUN_1400de250 300 ok +0x1400de380 FUN_1400de380 345 ok +0x1400de4e0 FUN_1400de4e0 409 ok +0x1400de680 FUN_1400de680 733 ok +0x1400de960 FUN_1400de960 1949 ok +0x1400df100 FUN_1400df100 368 ok +0x1400df270 FUN_1400df270 458 ok +0x1400df440 FUN_1400df440 569 ok +0x1400df680 FUN_1400df680 1459 ok +0x1400dfc40 FUN_1400dfc40 45 ok +0x1400dfc70 FUN_1400dfc70 122 ok +0x1400dfcf0 FUN_1400dfcf0 135 ok +0x1400dfd80 FUN_1400dfd80 162 ok +0x1400dfe30 FUN_1400dfe30 38 ok +0x1400dfe60 FUN_1400dfe60 64 ok +0x1400dfea0 FUN_1400dfea0 128 ok +0x1400dff20 FUN_1400dff20 163 ok +0x1400dffd0 FUN_1400dffd0 1103 ok +0x1400e0420 FUN_1400e0420 712 ok +0x1400e06f0 FUN_1400e06f0 165 ok +0x1400e07a0 FUN_1400e07a0 56 ok +0x1400e07e0 FUN_1400e07e0 579 ok +0x1400e0a30 FUN_1400e0a30 1472 ok +0x1400e0ff0 FUN_1400e0ff0 106 ok +0x1400e1060 FUN_1400e1060 56 ok +0x1400e10a0 FUN_1400e10a0 1384 ok +0x1400e1620 FUN_1400e1620 71 ok +0x1400e1670 FUN_1400e1670 439 ok +0x1400e1830 FUN_1400e1830 113 ok +0x1400e18b0 FUN_1400e18b0 822 ok +0x1400e1c20 FUN_1400e1c20 426 ok +0x1400e1e10 FUN_1400e1e10 95 ok +0x1400e1ea0 FUN_1400e1ea0 706 ok +0x1400e2170 FUN_1400e2170 45 ok +0x1400e21a0 FUN_1400e21a0 264 ok +0x1400e22b0 FUN_1400e22b0 388 ok +0x1400e2440 FUN_1400e2440 47 ok +0x1400e2470 FUN_1400e2470 49 ok +0x1400e24b0 FUN_1400e24b0 146 ok +0x1400e2550 FUN_1400e2550 292 ok +0x1400e2680 FUN_1400e2680 47 ok +0x1400e26b0 FUN_1400e26b0 49 ok +0x1400e26f0 FUN_1400e26f0 146 ok +0x1400e2790 FUN_1400e2790 292 ok +0x1400e28c0 FUN_1400e28c0 14 ok +0x1400e28d0 FUN_1400e28d0 304 ok +0x1400e2a00 FUN_1400e2a00 382 ok +0x1400e2b80 FUN_1400e2b80 75 ok +0x1400e2bd0 FUN_1400e2bd0 242 ok +0x1400e2cd0 FUN_1400e2cd0 74 ok +0x1400e2d20 FUN_1400e2d20 348 ok +0x1400e2e80 FUN_1400e2e80 79 ok +0x1400e2ed0 FUN_1400e2ed0 86 ok +0x1400e2f30 FUN_1400e2f30 246 ok +0x1400e3030 FUN_1400e3030 396 ok +0x1400e31c0 FUN_1400e31c0 20 ok +0x1400e31e0 FUN_1400e31e0 59 ok +0x1400e3220 FUN_1400e3220 1156 ok +0x1400e3720 FUN_1400e3720 447 ok +0x1400e38e0 FUN_1400e38e0 269 ok +0x1400e39f0 FUN_1400e39f0 236 ok +0x1400e3ae0 FUN_1400e3ae0 231 ok +0x1400e3bd0 FUN_1400e3bd0 230 ok +0x1400e3cc0 FUN_1400e3cc0 150 ok +0x1400e3d60 FUN_1400e3d60 263 ok +0x1400e3e70 FUN_1400e3e70 14 ok +0x1400e3e80 FUN_1400e3e80 235 ok +0x1400e3f70 FUN_1400e3f70 107 ok +0x1400e3fe0 FUN_1400e3fe0 378 ok +0x1400e4160 FUN_1400e4160 58 ok +0x1400e41a0 FUN_1400e41a0 46 ok +0x1400e41d0 FUN_1400e41d0 137 ok +0x1400e4260 FUN_1400e4260 512 ok +0x1400e4460 FUN_1400e4460 105 ok +0x1400e4510 FUN_1400e4510 54 ok +0x1400e4550 FUN_1400e4550 246 ok +0x1400e4650 FUN_1400e4650 910 ok +0x1400e49e0 FUN_1400e49e0 497 ok +0x1400e4be0 FUN_1400e4be0 294 ok +0x1400e4d10 FUN_1400e4d10 294 ok +0x1400e4e40 FUN_1400e4e40 596 ok +0x1400e50a0 FUN_1400e50a0 291 ok +0x1400e51d0 FUN_1400e51d0 354 ok +0x1400e5340 FUN_1400e5340 280 ok +0x1400e5460 FUN_1400e5460 663 ok +0x1400e5700 FUN_1400e5700 50 ok +0x1400e5740 FUN_1400e5740 340 ok +0x1400e58a0 FUN_1400e58a0 418 ok +0x1400e5a50 FUN_1400e5a50 163 ok +0x1400e5af4 FUN_1400e5af4 158 ok +0x1400e5ba4 FUN_1400e5ba4 19 ok +0x1400e5bd8 FUN_1400e5bd8 95 ok +0x1400e5c98 FUN_1400e5c98 234 ok +0x1400e5d88 FUN_1400e5d88 16 ok +0x1400e5da8 FUN_1400e5da8 37 ok +0x1400e5dd8 FUN_1400e5dd8 252 ok +0x1400e5ee8 FUN_1400e5ee8 5474 ok +0x1400e7458 FUN_1400e7458 79 ok +0x1400e74b8 FUN_1400e74b8 224 ok +0x1400e75d8 FUN_1400e75d8 81 ok +0x1400e7638 FUN_1400e7638 246 ok +0x1400e7768 FUN_1400e7768 386 ok +0x1400e78ec FUN_1400e78ec 324 ok +0x1400e7b3c FUN_1400e7b3c 38 ok +0x1400e7b6c FUN_1400e7b6c 113 ok +0x1400e7bec FUN_1400e7bec 2111 ok +0x1400e843c FUN_1400e843c 210 ok +0x1400e851c FUN_1400e851c 462 ok +0x1400e86fc FUN_1400e86fc 146 ok +0x1400e879c FUN_1400e879c 169 ok +0x1400e884c FUN_1400e884c 403 ok +0x1400e89ec FUN_1400e89ec 226 ok +0x1400e8adc FUN_1400e8adc 321 ok +0x1400e8c2c FUN_1400e8c2c 440 ok +0x1400e8dec FUN_1400e8dec 1038 ok +0x1400e920c FUN_1400e920c 1270 ok +0x1400e970c FUN_1400e970c 173 ok +0x1400e97cc FUN_1400e97cc 247 ok +0x1400e98cc FUN_1400e98cc 611 ok +0x1400e9b3c FUN_1400e9b3c 43 ok +0x1400e9ba8 FUN_1400e9ba8 13 ok +0x1400e9bc8 FUN_1400e9bc8 10 ok +0x1400e9bd4 FUN_1400e9bd4 1117 ok +0x1400ea034 FUN_1400ea034 1127 ok +0x1400ea49c FUN_1400ea49c 722 ok +0x1400ea77c FUN_1400ea77c 154 ok +0x1400ea828 FUN_1400ea828 777 ok +0x1400eab38 FUN_1400eab38 909 ok +0x1400eaed8 FUN_1400eaed8 23 ok +0x1400eaef8 FUN_1400eaef8 51 ok +0x1400eaf38 FUN_1400eaf38 231 ok +0x1400eb028 FUN_1400eb028 13 ok +0x1400eb048 FUN_1400eb048 112 ok +0x1400eb0c8 FUN_1400eb0c8 177 ok +0x1400eb188 FUN_1400eb188 502 ok +0x1400eb388 scan_tree 241 ok +0x1400eb488 FUN_1400eb488 1359 ok +0x1400eb9e8 FUN_1400eb9e8 620 ok +0x1400ebd18 FUN_1400ebd18 1094 ok +0x1400ec168 FUN_1400ec168 91 ok +0x1400ec1d8 FUN_1400ec1d8 25 ok +0x1400ec1f8 FUN_1400ec1f8 118 ok +0x1400ec278 FUN_1400ec278 87 ok +0x1400ec2d8 FUN_1400ec2d8 165 ok +0x1400ec388 FUN_1400ec388 114 ok +0x1400ec408 FUN_1400ec408 152 ok +0x1400ec4a8 FUN_1400ec4a8 561 ok +0x1400ec6e8 FUN_1400ec6e8 128 ok +0x1400ec778 FUN_1400ec778 146 ok +0x1400ec818 FUN_1400ec818 531 ok +0x1400eca38 FUN_1400eca38 564 ok +0x1400ecce4 `eh_vector_constructor_iterator' 100 ok +0x1400ecd60 FUN_1400ecd60 58 ok +0x1400ecda0 FUN_1400ecda0 62 ok +0x1400ecdf0 FUN_1400ecdf0 81 ok +0x1400ece50 FUN_1400ece50 42 ok +0x1400ece80 FUN_1400ece80 93 ok +0x1400ecee0 FUN_1400ecee0 96 ok +0x1400ecf50 FUN_1400ecf50 153 ok +0x1400ecff0 FUN_1400ecff0 162 ok +0x1400ed0f0 FUN_1400ed0f0 236 ok +0x1400ed1f0 FUN_1400ed1f0 73 ok +0x1400ed240 FUN_1400ed240 212 ok +0x1400ed320 FUN_1400ed320 166 ok +0x1400ed3d0 FUN_1400ed3d0 121 ok +0x1400ed450 FUN_1400ed450 350 ok +0x1400ed5b0 FUN_1400ed5b0 33 ok +0x1400ed5e0 FUN_1400ed5e0 42 ok +0x1400ed610 FUN_1400ed610 216 ok +0x1400ed6f0 FUN_1400ed6f0 177 ok +0x1400ed7b0 FUN_1400ed7b0 223 ok +0x1400ed8a0 FUN_1400ed8a0 332 ok +0x1400edc20 FUN_1400edc20 650 ok +0x1400edeb0 FUN_1400edeb0 578 ok +0x1400ee100 FUN_1400ee100 229 ok +0x1400ee1f0 FUN_1400ee1f0 135 ok +0x1400ee280 FUN_1400ee280 359 ok +0x1400ee3f0 FUN_1400ee3f0 2527 ok +0x1400eede0 FUN_1400eede0 658 ok +0x1400ef080 FUN_1400ef080 179 ok +0x1400ef140 FUN_1400ef140 62 ok +0x1400ef190 FUN_1400ef190 62 ok +0x1400ef1d0 FUN_1400ef1d0 111 ok +0x1400ef250 FUN_1400ef250 239 ok +0x1400ef370 FUN_1400ef370 219 ok +0x1400ef460 FUN_1400ef460 103 ok +0x1400ef4d0 FUN_1400ef4d0 354 ok +0x1400ef640 FUN_1400ef640 260 ok +0x1400ef750 FUN_1400ef750 74 ok +0x1400ef7a0 FUN_1400ef7a0 356 ok +0x1400ef910 FUN_1400ef910 288 ok +0x1400efa40 FUN_1400efa40 454 ok +0x1400efc10 Unwind@1400efc10 14 ok +0x1400efc20 Unwind@1400efc20 12 ok +0x1400efc30 Unwind@1400efc30 12 ok +0x1400efc40 Unwind@1400efc40 12 ok +0x1400efc50 Unwind@1400efc50 14 ok +0x1400efc60 Unwind@1400efc60 16 ok +0x1400efc70 Unwind@1400efc70 12 ok +0x1400efc80 Unwind@1400efc80 12 ok +0x1400efc90 Unwind@1400efc90 12 ok +0x1400efca0 Unwind@1400efca0 14 ok +0x1400efcb0 Unwind@1400efcb0 16 ok +0x1400efcc0 Unwind@1400efcc0 14 ok +0x1400efcd0 Unwind@1400efcd0 16 ok +0x1400efce0 Unwind@1400efce0 12 ok +0x1400efcf0 Unwind@1400efcf0 22 ok +0x1400efd10 Unwind@1400efd10 22 ok +0x1400efd30 Unwind@1400efd30 22 ok +0x1400efd50 Unwind@1400efd50 12 ok +0x1400efd60 Unwind@1400efd60 12 ok +0x1400efd70 Unwind@1400efd70 22 ok +0x1400efd90 Unwind@1400efd90 29 ok +0x1400efdb0 Unwind@1400efdb0 12 ok +0x1400efdc0 Unwind@1400efdc0 12 ok +0x1400efdd0 Unwind@1400efdd0 22 ok +0x1400efdf0 Unwind@1400efdf0 12 ok +0x1400efe00 Unwind@1400efe00 12 ok +0x1400efe10 Unwind@1400efe10 12 ok +0x1400efe20 Unwind@1400efe20 12 ok +0x1400efe30 Catch_All@1400efe30 33 ok +0x1400efe60 Unwind@1400efe60 16 ok +0x1400efe70 Unwind@1400efe70 16 ok +0x1400efe80 Unwind@1400efe80 16 ok +0x1400efe90 Unwind@1400efe90 16 ok +0x1400efea0 Unwind@1400efea0 16 ok +0x1400efeb0 Unwind@1400efeb0 19 ok +0x1400efed0 Unwind@1400efed0 38 ok +0x1400eff00 Unwind@1400eff00 29 ok +0x1400eff20 Unwind@1400eff20 12 ok +0x1400eff30 Unwind@1400eff30 12 ok +0x1400eff40 Unwind@1400eff40 12 ok +0x1400eff50 Unwind@1400eff50 12 ok +0x1400eff60 Unwind@1400eff60 12 ok +0x1400eff70 Unwind@1400eff70 12 ok +0x1400eff80 Unwind@1400eff80 12 ok +0x1400eff90 Unwind@1400eff90 12 ok +0x1400effa0 Unwind@1400effa0 12 ok +0x1400effb0 Unwind@1400effb0 12 ok +0x1400effc0 Unwind@1400effc0 12 ok +0x1400effd0 Unwind@1400effd0 12 ok +0x1400effe0 Unwind@1400effe0 12 ok +0x1400efff0 Unwind@1400efff0 12 ok +0x1400f0000 Unwind@1400f0000 12 ok +0x1400f0010 Unwind@1400f0010 12 ok +0x1400f0020 Unwind@1400f0020 12 ok +0x1400f0030 Unwind@1400f0030 12 ok +0x1400f0040 Unwind@1400f0040 12 ok +0x1400f0050 Catch@1400f0050 60 ok +0x1400f0090 Unwind@1400f0090 12 ok +0x1400f00a0 Unwind@1400f00a0 22 ok +0x1400f00c0 Unwind@1400f00c0 12 ok +0x1400f00d0 Unwind@1400f00d0 29 ok +0x1400f00f0 Unwind@1400f00f0 12 ok +0x1400f0100 Unwind@1400f0100 22 ok +0x1400f0120 Unwind@1400f0120 39 ok +0x1400f0150 Unwind@1400f0150 12 ok +0x1400f0160 Unwind@1400f0160 45 ok +0x1400f0190 Unwind@1400f0190 12 ok +0x1400f01a0 Unwind@1400f01a0 12 ok +0x1400f01b0 Unwind@1400f01b0 38 ok +0x1400f01e0 Unwind@1400f01e0 12 ok +0x1400f01f0 Unwind@1400f01f0 38 ok +0x1400f0220 Unwind@1400f0220 38 ok +0x1400f0250 Unwind@1400f0250 12 ok +0x1400f0260 Unwind@1400f0260 12 ok +0x1400f0270 Unwind@1400f0270 12 ok +0x1400f0280 Unwind@1400f0280 12 ok +0x1400f0290 Unwind@1400f0290 12 ok +0x1400f02a0 Unwind@1400f02a0 12 ok +0x1400f02b0 Unwind@1400f02b0 12 ok +0x1400f02c0 Unwind@1400f02c0 12 ok +0x1400f02d0 Unwind@1400f02d0 12 ok +0x1400f02e0 Unwind@1400f02e0 12 ok +0x1400f02f0 Unwind@1400f02f0 12 ok +0x1400f0300 Unwind@1400f0300 22 ok +0x1400f0320 Unwind@1400f0320 12 ok +0x1400f0330 Unwind@1400f0330 12 ok +0x1400f0340 Unwind@1400f0340 12 ok +0x1400f0350 Unwind@1400f0350 12 ok +0x1400f0360 Unwind@1400f0360 12 ok +0x1400f0370 Unwind@1400f0370 12 ok +0x1400f0380 Unwind@1400f0380 16 ok +0x1400f0390 Unwind@1400f0390 19 ok +0x1400f03b0 Unwind@1400f03b0 19 ok +0x1400f03d0 Unwind@1400f03d0 19 ok +0x1400f03f0 Unwind@1400f03f0 12 ok +0x1400f0400 Unwind@1400f0400 16 ok +0x1400f0410 Unwind@1400f0410 19 ok +0x1400f0430 Unwind@1400f0430 19 ok +0x1400f0450 Unwind@1400f0450 19 ok +0x1400f0470 Unwind@1400f0470 12 ok +0x1400f0480 Unwind@1400f0480 12 ok +0x1400f0490 Unwind@1400f0490 12 ok +0x1400f04a0 Unwind@1400f04a0 12 ok +0x1400f04b0 Unwind@1400f04b0 12 ok +0x1400f04c0 Unwind@1400f04c0 12 ok +0x1400f04d0 Unwind@1400f04d0 12 ok +0x1400f04e0 Unwind@1400f04e0 12 ok +0x1400f04f0 Unwind@1400f04f0 12 ok +0x1400f0500 Unwind@1400f0500 16 ok +0x1400f0510 Unwind@1400f0510 12 ok +0x1400f0520 Unwind@1400f0520 12 ok +0x1400f0530 Unwind@1400f0530 12 ok +0x1400f0540 Unwind@1400f0540 38 ok +0x1400f0570 Unwind@1400f0570 12 ok +0x1400f0580 Unwind@1400f0580 12 ok +0x1400f0590 Unwind@1400f0590 12 ok +0x1400f05a0 Unwind@1400f05a0 16 ok +0x1400f05b0 Unwind@1400f05b0 12 ok +0x1400f05c0 Unwind@1400f05c0 22 ok +0x1400f05e0 Unwind@1400f05e0 12 ok +0x1400f05f0 Unwind@1400f05f0 12 ok +0x1400f0600 Unwind@1400f0600 12 ok +0x1400f0610 Unwind@1400f0610 12 ok +0x1400f0620 Unwind@1400f0620 12 ok +0x1400f0630 Unwind@1400f0630 12 ok +0x1400f0640 Unwind@1400f0640 12 ok +0x1400f0650 Unwind@1400f0650 12 ok +0x1400f0660 Unwind@1400f0660 12 ok +0x1400f0670 Unwind@1400f0670 12 ok +0x1400f0680 Unwind@1400f0680 12 ok +0x1400f0690 Unwind@1400f0690 16 ok +0x1400f06a0 Unwind@1400f06a0 16 ok +0x1400f06b0 Unwind@1400f06b0 19 ok +0x1400f06d0 Unwind@1400f06d0 16 ok +0x1400f06e0 Unwind@1400f06e0 16 ok +0x1400f06f0 Unwind@1400f06f0 19 ok +0x1400f0710 Unwind@1400f0710 12 ok +0x1400f0720 Unwind@1400f0720 12 ok +0x1400f0730 Unwind@1400f0730 12 ok +0x1400f0740 Unwind@1400f0740 12 ok +0x1400f0750 Unwind@1400f0750 12 ok +0x1400f0760 Unwind@1400f0760 22 ok +0x1400f0780 Catch_All@1400f0780 26 ok +0x1400f079b FUN_1400f079b 26 ok +0x1400f07b6 FUN_1400f07b6 29 ok +0x1400f07d4 `void___cdecl___ArrayUnwind(void*___ptr64,unsigned___int64,int,void_(__cdecl*)(void*___ptr64))'::__l1 filt$0 63 ok +0x1400f0815 `void___cdecl_`eh_vector_destructor_iterator'(void*___ptr64,unsigned___int64,int,void_(__cdecl*)(void*___ptr64))'::__l1 fin$0 43 ok +0x1400f0850 FUN_1400f0850 33 ok +0x1400f0872 Catch_All@1400f0872 31 ok +0x1400f08a0 Unwind@1400f08a0 12 ok +0x1400f08b0 Unwind@1400f08b0 16 ok +0x1400f08c0 Unwind@1400f08c0 16 ok +0x1400f08d0 Unwind@1400f08d0 19 ok +0x1400f08f0 Unwind@1400f08f0 12 ok +0x1400f0900 Unwind@1400f0900 22 ok +0x1400f0920 Unwind@1400f0920 12 ok +0x1400f0930 Unwind@1400f0930 19 ok +0x1400f0950 Unwind@1400f0950 12 ok +0x1400f0960 Unwind@1400f0960 19 ok +0x1400f0980 Catch_All@1400f0980 26 ok +0x1400f09a0 Unwind@1400f09a0 19 ok +0x1400f09c0 Unwind@1400f09c0 12 ok +0x1400f09d0 Unwind@1400f09d0 12 ok +0x1400f09e0 Unwind@1400f09e0 12 ok +0x1400f09f0 Unwind@1400f09f0 12 ok +0x1400f0a00 Unwind@1400f0a00 12 ok +0x1400f0a10 Unwind@1400f0a10 12 ok +0x1400f0a20 Unwind@1400f0a20 12 ok +0x1400f0a30 Unwind@1400f0a30 12 ok +0x1400f0a40 Unwind@1400f0a40 12 ok +0x1400f0a50 Unwind@1400f0a50 16 ok +0x1400f0a60 Unwind@1400f0a60 16 ok +0x1400f0a70 Unwind@1400f0a70 12 ok +0x1400f0a80 Unwind@1400f0a80 12 ok +0x1400f0a90 Catch_All@1400f0a90 26 ok +0x1400f0ab0 Catch_All@1400f0ab0 26 ok +0x1400f0ad0 Unwind@1400f0ad0 38 ok +0x1400f0b00 Unwind@1400f0b00 39 ok +0x1400f0b30 Unwind@1400f0b30 16 ok +0x1400f0b40 Unwind@1400f0b40 16 ok +0x1400f0b50 Unwind@1400f0b50 12 ok +0x1400f0b60 Unwind@1400f0b60 12 ok +0x1400f0b70 Unwind@1400f0b70 12 ok +0x1400f0b80 Unwind@1400f0b80 12 ok +0x1400f0b90 Unwind@1400f0b90 12 ok +0x1400f0ba0 Unwind@1400f0ba0 12 ok +0x1400f0bb0 Unwind@1400f0bb0 12 ok +0x1400f0bc0 Unwind@1400f0bc0 12 ok +0x1400f0bd0 Unwind@1400f0bd0 12 ok +0x1400f0be0 Unwind@1400f0be0 12 ok +0x1400f0bf0 Unwind@1400f0bf0 12 ok +0x1400f0c00 Unwind@1400f0c00 12 ok +0x1400f0c10 Unwind@1400f0c10 12 ok +0x1400f0c20 Unwind@1400f0c20 12 ok +0x1400f0c30 Unwind@1400f0c30 12 ok +0x1400f0c40 Unwind@1400f0c40 12 ok +0x1400f0c50 Unwind@1400f0c50 12 ok +0x1400f0c60 Unwind@1400f0c60 12 ok +0x1400f0c70 Unwind@1400f0c70 12 ok +0x1400f0c80 Unwind@1400f0c80 12 ok +0x1400f0c90 Unwind@1400f0c90 12 ok +0x1400f0ca0 Unwind@1400f0ca0 12 ok +0x1400f0cb0 Unwind@1400f0cb0 12 ok +0x1400f0cc0 Unwind@1400f0cc0 12 ok +0x1400f0cd0 Unwind@1400f0cd0 12 ok +0x1400f0ce0 Unwind@1400f0ce0 12 ok +0x1400f0cf0 Unwind@1400f0cf0 12 ok +0x1400f0d00 Unwind@1400f0d00 12 ok +0x1400f0d10 Unwind@1400f0d10 12 ok +0x1400f0d20 Unwind@1400f0d20 12 ok +0x1400f0d30 Unwind@1400f0d30 12 ok +0x1400f0d40 Unwind@1400f0d40 12 ok +0x1400f0d50 Unwind@1400f0d50 12 ok +0x1400f0d60 Unwind@1400f0d60 12 ok +0x1400f0d70 Unwind@1400f0d70 12 ok +0x1400f0d80 Unwind@1400f0d80 12 ok +0x1400f0d90 Unwind@1400f0d90 12 ok +0x1400f0da0 Unwind@1400f0da0 12 ok +0x1400f0db0 Unwind@1400f0db0 12 ok +0x1400f0dc0 Unwind@1400f0dc0 12 ok +0x1400f0dd0 Unwind@1400f0dd0 12 ok +0x1400f0de0 Unwind@1400f0de0 12 ok +0x1400f0df0 Unwind@1400f0df0 12 ok +0x1400f0e00 Unwind@1400f0e00 12 ok +0x1400f0e10 Unwind@1400f0e10 12 ok +0x1400f0e20 Unwind@1400f0e20 12 ok +0x1400f0e30 Unwind@1400f0e30 12 ok +0x1400f0e40 Unwind@1400f0e40 12 ok +0x1400f0e50 Unwind@1400f0e50 12 ok +0x1400f0e60 Unwind@1400f0e60 12 ok +0x1400f0e70 Unwind@1400f0e70 12 ok +0x1400f0e80 Unwind@1400f0e80 12 ok +0x1400f0e90 Unwind@1400f0e90 12 ok +0x1400f0ea0 Unwind@1400f0ea0 12 ok +0x1400f0eb0 Unwind@1400f0eb0 12 ok +0x1400f0ec0 Unwind@1400f0ec0 12 ok +0x1400f0ed0 Unwind@1400f0ed0 12 ok +0x1400f0ee0 Unwind@1400f0ee0 12 ok +0x1400f0ef0 Unwind@1400f0ef0 12 ok +0x1400f0f00 Unwind@1400f0f00 12 ok +0x1400f0f10 Unwind@1400f0f10 12 ok +0x1400f0f20 Unwind@1400f0f20 12 ok +0x1400f0f30 Unwind@1400f0f30 12 ok +0x1400f0f40 Unwind@1400f0f40 12 ok +0x1400f0f50 Unwind@1400f0f50 12 ok +0x1400f0f60 Unwind@1400f0f60 12 ok +0x1400f0f70 Unwind@1400f0f70 12 ok +0x1400f0f80 Unwind@1400f0f80 12 ok +0x1400f0f90 Unwind@1400f0f90 12 ok +0x1400f0fa0 Unwind@1400f0fa0 12 ok +0x1400f0fb0 Unwind@1400f0fb0 12 ok +0x1400f0fc0 Unwind@1400f0fc0 12 ok +0x1400f0fd0 Unwind@1400f0fd0 12 ok +0x1400f0fe0 Unwind@1400f0fe0 12 ok +0x1400f0ff0 Unwind@1400f0ff0 12 ok +0x1400f1000 Unwind@1400f1000 12 ok +0x1400f1010 Unwind@1400f1010 12 ok +0x1400f1020 Unwind@1400f1020 12 ok +0x1400f1030 Unwind@1400f1030 12 ok +0x1400f1040 Unwind@1400f1040 12 ok +0x1400f1050 Unwind@1400f1050 12 ok +0x1400f1060 Unwind@1400f1060 12 ok +0x1400f1070 Unwind@1400f1070 12 ok +0x1400f1080 Unwind@1400f1080 12 ok +0x1400f1090 Unwind@1400f1090 12 ok +0x1400f10a0 Unwind@1400f10a0 12 ok +0x1400f10b0 Unwind@1400f10b0 12 ok +0x1400f10c0 Unwind@1400f10c0 12 ok +0x1400f10d0 Unwind@1400f10d0 12 ok +0x1400f10e0 Unwind@1400f10e0 12 ok +0x1400f10f0 Unwind@1400f10f0 12 ok +0x1400f1100 Unwind@1400f1100 12 ok +0x1400f1110 Unwind@1400f1110 12 ok +0x1400f1120 Unwind@1400f1120 12 ok +0x1400f1130 Unwind@1400f1130 12 ok +0x1400f1140 Unwind@1400f1140 12 ok +0x1400f1150 Unwind@1400f1150 12 ok +0x1400f1160 Unwind@1400f1160 12 ok +0x1400f1170 Unwind@1400f1170 12 ok +0x1400f1180 Unwind@1400f1180 12 ok +0x1400f1190 Unwind@1400f1190 12 ok +0x1400f11a0 Unwind@1400f11a0 12 ok +0x1400f11b0 Unwind@1400f11b0 12 ok +0x1400f11c0 Unwind@1400f11c0 12 ok +0x1400f11d0 Unwind@1400f11d0 12 ok +0x1400f11e0 Unwind@1400f11e0 12 ok +0x1400f11f0 Unwind@1400f11f0 12 ok +0x1400f1200 Unwind@1400f1200 12 ok +0x1400f1210 Unwind@1400f1210 12 ok +0x1400f1220 Unwind@1400f1220 12 ok +0x1400f1230 Unwind@1400f1230 12 ok +0x1400f1240 Unwind@1400f1240 19 ok +0x1400f1260 Unwind@1400f1260 12 ok +0x1400f1270 Unwind@1400f1270 19 ok +0x1400f1290 Unwind@1400f1290 16 ok +0x1400f12a0 Unwind@1400f12a0 12 ok +0x1400f12b0 Unwind@1400f12b0 12 ok +0x1400f12c0 Unwind@1400f12c0 19 ok +0x1400f12e0 Unwind@1400f12e0 12 ok +0x1400f12f0 Unwind@1400f12f0 19 ok +0x1400f1310 Unwind@1400f1310 16 ok +0x1400f1320 Unwind@1400f1320 12 ok +0x1400f1330 Unwind@1400f1330 12 ok +0x1400f1340 Unwind@1400f1340 12 ok +0x1400f1350 Unwind@1400f1350 12 ok +0x1400f1360 Unwind@1400f1360 12 ok +0x1400f1370 Unwind@1400f1370 12 ok +0x1400f1380 Unwind@1400f1380 12 ok +0x1400f1390 Unwind@1400f1390 12 ok +0x1400f13a0 Unwind@1400f13a0 12 ok +0x1400f13b0 Unwind@1400f13b0 12 ok +0x1400f13c0 Unwind@1400f13c0 19 ok +0x1400f13e0 Unwind@1400f13e0 12 ok +0x1400f13f0 Unwind@1400f13f0 19 ok +0x1400f1410 Unwind@1400f1410 16 ok +0x1400f1420 Catch@1400f1420 56 ok +0x1400f1460 Catch@1400f1460 56 ok +0x1400f14a0 Catch@1400f14a0 55 ok +0x1400f14e0 Unwind@1400f14e0 12 ok +0x1400f14f0 Unwind@1400f14f0 12 ok +0x1400f1500 Unwind@1400f1500 12 ok +0x1400f1510 Unwind@1400f1510 19 ok +0x1400f1530 Unwind@1400f1530 12 ok +0x1400f1540 Unwind@1400f1540 19 ok +0x1400f1560 Unwind@1400f1560 16 ok +0x1400f1570 Unwind@1400f1570 12 ok +0x1400f1580 Unwind@1400f1580 12 ok +0x1400f1590 Unwind@1400f1590 12 ok +0x1400f15a0 Unwind@1400f15a0 12 ok +0x1400f15b0 Unwind@1400f15b0 12 ok +0x1400f15c0 Unwind@1400f15c0 12 ok +0x1400f15d0 Unwind@1400f15d0 12 ok +0x1400f15e0 Unwind@1400f15e0 12 ok +0x1400f15f0 Unwind@1400f15f0 12 ok +0x1400f1600 Unwind@1400f1600 12 ok +0x1400f1610 Unwind@1400f1610 14 ok +0x1400f1620 Unwind@1400f1620 47 ok +0x1400f1650 Unwind@1400f1650 12 ok +0x1400f1660 Unwind@1400f1660 16 ok +0x1400f1670 Unwind@1400f1670 12 ok +0x1400f1680 Unwind@1400f1680 16 ok +0x1400f1690 Unwind@1400f1690 12 ok +0x1400f16a0 Unwind@1400f16a0 12 ok +0x1400f16b0 Unwind@1400f16b0 12 ok +0x1400f16c0 Unwind@1400f16c0 12 ok +0x1400f16d0 Unwind@1400f16d0 12 ok +0x1400f16e0 Unwind@1400f16e0 12 ok +0x1400f16f0 Unwind@1400f16f0 12 ok +0x1400f1700 Unwind@1400f1700 12 ok +0x1400f1710 Unwind@1400f1710 12 ok +0x1400f1720 Unwind@1400f1720 12 ok +0x1400f1730 Unwind@1400f1730 12 ok +0x1400f1740 Unwind@1400f1740 19 ok +0x1400f1760 Unwind@1400f1760 12 ok +0x1400f1770 Unwind@1400f1770 19 ok +0x1400f1790 Unwind@1400f1790 16 ok +0x1400f17a0 Unwind@1400f17a0 12 ok +0x1400f17b0 Unwind@1400f17b0 28 ok +0x1400f17d0 Unwind@1400f17d0 12 ok +0x1400f17e0 Unwind@1400f17e0 12 ok +0x1400f17f0 Unwind@1400f17f0 28 ok +0x1400f1810 Unwind@1400f1810 14 ok +0x1400f1820 Unwind@1400f1820 12 ok +0x1400f1830 Unwind@1400f1830 14 ok +0x1400f1840 Unwind@1400f1840 12 ok +0x1400f1850 Unwind@1400f1850 12 ok +0x1400f1860 Unwind@1400f1860 12 ok +0x1400f1870 Unwind@1400f1870 12 ok +0x1400f1880 Unwind@1400f1880 12 ok +0x1400f1890 Unwind@1400f1890 12 ok +0x1400f18a0 Unwind@1400f18a0 12 ok +0x1400f18b0 Unwind@1400f18b0 12 ok +0x1400f18c0 Unwind@1400f18c0 12 ok +0x1400f18d0 Unwind@1400f18d0 12 ok +0x1400f18e0 Unwind@1400f18e0 12 ok +0x1400f18f0 Unwind@1400f18f0 12 ok +0x1400f1900 Unwind@1400f1900 12 ok +0x1400f1910 Unwind@1400f1910 12 ok +0x1400f1920 Unwind@1400f1920 12 ok +0x1400f1930 Unwind@1400f1930 12 ok +0x1400f1940 Unwind@1400f1940 12 ok +0x1400f1950 Unwind@1400f1950 12 ok +0x1400f1960 Unwind@1400f1960 12 ok +0x1400f1970 Unwind@1400f1970 12 ok +0x1400f1980 Unwind@1400f1980 12 ok +0x1400f1990 Unwind@1400f1990 19 ok +0x1400f19b0 Unwind@1400f19b0 12 ok +0x1400f19c0 Unwind@1400f19c0 12 ok +0x1400f19d0 Unwind@1400f19d0 12 ok +0x1400f19e0 Unwind@1400f19e0 12 ok +0x1400f19f0 Unwind@1400f19f0 12 ok +0x1400f1a00 Unwind@1400f1a00 12 ok +0x1400f1a10 Unwind@1400f1a10 12 ok +0x1400f1a20 Unwind@1400f1a20 12 ok +0x1400f1a30 Unwind@1400f1a30 12 ok +0x1400f1a40 Unwind@1400f1a40 12 ok +0x1400f1a50 Unwind@1400f1a50 12 ok +0x1400f1a60 Unwind@1400f1a60 12 ok +0x1400f1a70 Unwind@1400f1a70 12 ok +0x1400f1a80 Unwind@1400f1a80 12 ok +0x1400f1a90 Unwind@1400f1a90 12 ok +0x1400f1aa0 Catch_All@1400f1aa0 26 ok +0x1400f1ac0 Unwind@1400f1ac0 19 ok +0x1400f1ae0 Unwind@1400f1ae0 28 ok +0x1400f1b00 Unwind@1400f1b00 32 ok +0x1400f1b20 Unwind@1400f1b20 12 ok +0x1400f1b30 Unwind@1400f1b30 12 ok +0x1400f1b40 Unwind@1400f1b40 12 ok +0x1400f1b50 Unwind@1400f1b50 12 ok +0x1400f1b60 Unwind@1400f1b60 12 ok +0x1400f1b70 Unwind@1400f1b70 12 ok +0x1400f1b80 Unwind@1400f1b80 12 ok +0x1400f1b90 Unwind@1400f1b90 12 ok +0x1400f1ba0 Unwind@1400f1ba0 12 ok +0x1400f1bb0 Unwind@1400f1bb0 36 ok +0x1400f1be0 Unwind@1400f1be0 36 ok +0x1400f1c10 Catch_All@1400f1c10 26 ok +0x1400f1c30 Unwind@1400f1c30 12 ok +0x1400f1c40 Unwind@1400f1c40 12 ok +0x1400f1c50 Unwind@1400f1c50 29 ok +0x1400f1c70 Unwind@1400f1c70 12 ok +0x1400f1c80 Unwind@1400f1c80 12 ok +0x1400f1c90 Unwind@1400f1c90 12 ok +0x1400f1ca0 Unwind@1400f1ca0 12 ok +0x1400f1cb0 Unwind@1400f1cb0 12 ok +0x1400f1cc0 Unwind@1400f1cc0 12 ok +0x1400f1cd0 Unwind@1400f1cd0 12 ok +0x1400f1ce0 Unwind@1400f1ce0 12 ok +0x1400f1cf0 Unwind@1400f1cf0 12 ok +0x1400f1d00 Unwind@1400f1d00 12 ok +0x1400f1d10 Unwind@1400f1d10 12 ok +0x1400f1d20 Unwind@1400f1d20 29 ok +0x1400f1d40 Unwind@1400f1d40 12 ok +0x1400f1d50 Unwind@1400f1d50 12 ok +0x1400f1d60 Unwind@1400f1d60 12 ok +0x1400f1d70 Unwind@1400f1d70 12 ok +0x1400f1d80 Unwind@1400f1d80 12 ok +0x1400f1d90 Unwind@1400f1d90 12 ok +0x1400f1da0 Unwind@1400f1da0 12 ok +0x1400f1db0 Unwind@1400f1db0 12 ok +0x1400f1dc0 Unwind@1400f1dc0 12 ok +0x1400f1dd0 Unwind@1400f1dd0 19 ok +0x1400f1df0 Unwind@1400f1df0 12 ok +0x1400f1e00 Unwind@1400f1e00 19 ok +0x1400f1e20 Unwind@1400f1e20 16 ok +0x1400f1e30 Unwind@1400f1e30 12 ok +0x1400f1e40 Unwind@1400f1e40 12 ok +0x1400f1e50 Unwind@1400f1e50 12 ok +0x1400f1e60 Unwind@1400f1e60 19 ok +0x1400f1e80 Unwind@1400f1e80 12 ok +0x1400f1e90 Unwind@1400f1e90 38 ok +0x1400f1ec0 Unwind@1400f1ec0 12 ok +0x1400f1ed0 Unwind@1400f1ed0 16 ok +0x1400f1ee0 Unwind@1400f1ee0 12 ok +0x1400f1ef0 Unwind@1400f1ef0 12 ok +0x1400f1f00 Unwind@1400f1f00 12 ok +0x1400f1f10 Unwind@1400f1f10 12 ok +0x1400f1f20 Unwind@1400f1f20 12 ok +0x1400f1f30 Unwind@1400f1f30 12 ok +0x1400f1f40 Unwind@1400f1f40 12 ok +0x1400f1f50 Unwind@1400f1f50 12 ok +0x1400f1f60 Unwind@1400f1f60 12 ok +0x1400f1f70 Unwind@1400f1f70 12 ok +0x1400f1f80 Unwind@1400f1f80 12 ok +0x1400f1f90 Unwind@1400f1f90 12 ok +0x1400f1fa0 Unwind@1400f1fa0 12 ok +0x1400f1fb0 Unwind@1400f1fb0 12 ok +0x1400f1fc0 Unwind@1400f1fc0 12 ok +0x1400f1fd0 Unwind@1400f1fd0 12 ok +0x1400f1fe0 Unwind@1400f1fe0 12 ok +0x1400f1ff0 Unwind@1400f1ff0 12 ok +0x1400f2000 Unwind@1400f2000 12 ok +0x1400f2010 Unwind@1400f2010 12 ok +0x1400f2020 Unwind@1400f2020 12 ok +0x1400f2030 Unwind@1400f2030 12 ok +0x1400f2040 Unwind@1400f2040 12 ok +0x1400f2050 Unwind@1400f2050 12 ok +0x1400f2060 Unwind@1400f2060 12 ok +0x1400f2070 Unwind@1400f2070 12 ok +0x1400f2080 Unwind@1400f2080 12 ok +0x1400f2090 Unwind@1400f2090 12 ok +0x1400f20a0 Unwind@1400f20a0 12 ok +0x1400f20b0 Unwind@1400f20b0 12 ok +0x1400f20c0 Unwind@1400f20c0 12 ok +0x1400f20d0 Unwind@1400f20d0 12 ok +0x1400f20e0 Unwind@1400f20e0 12 ok +0x1400f20f0 Unwind@1400f20f0 12 ok +0x1400f2100 Unwind@1400f2100 16 ok +0x1400f2110 Unwind@1400f2110 16 ok +0x1400f2120 Unwind@1400f2120 16 ok +0x1400f2130 Unwind@1400f2130 16 ok +0x1400f2140 Unwind@1400f2140 16 ok +0x1400f2150 Unwind@1400f2150 16 ok +0x1400f2160 Unwind@1400f2160 16 ok +0x1400f2170 Unwind@1400f2170 16 ok +0x1400f2180 Unwind@1400f2180 16 ok +0x1400f2190 Unwind@1400f2190 16 ok +0x1400f21a0 Unwind@1400f21a0 16 ok +0x1400f21b0 Unwind@1400f21b0 16 ok +0x1400f21c0 Unwind@1400f21c0 16 ok +0x1400f21d0 Unwind@1400f21d0 38 ok +0x1400f2200 Unwind@1400f2200 12 ok +0x1400f2210 Unwind@1400f2210 12 ok +0x1400f2220 Unwind@1400f2220 12 ok +0x1400f2230 Unwind@1400f2230 12 ok +0x1400f2240 Unwind@1400f2240 12 ok +0x1400f2250 Unwind@1400f2250 12 ok +0x1400f2260 Unwind@1400f2260 19 ok +0x1400f2280 Unwind@1400f2280 12 ok +0x1400f2290 Unwind@1400f2290 19 ok +0x1400f22b0 Unwind@1400f22b0 12 ok +0x1400f22c0 Unwind@1400f22c0 12 ok +0x1400f22d0 Unwind@1400f22d0 12 ok +0x1400f22e0 Unwind@1400f22e0 16 ok +0x1400f22f0 Unwind@1400f22f0 16 ok +0x1400f2300 Unwind@1400f2300 16 ok +0x1400f2310 Unwind@1400f2310 16 ok +0x1400f2320 Unwind@1400f2320 16 ok +0x1400f2330 Unwind@1400f2330 16 ok +0x1400f2340 Unwind@1400f2340 16 ok +0x1400f2350 Unwind@1400f2350 16 ok +0x1400f2360 Unwind@1400f2360 12 ok +0x1400f2370 Unwind@1400f2370 32 ok +0x1400f2390 Unwind@1400f2390 31 ok +0x1400f23b0 Unwind@1400f23b0 12 ok +0x1400f23c0 Unwind@1400f23c0 12 ok +0x1400f23d0 Unwind@1400f23d0 12 ok +0x1400f23e0 Unwind@1400f23e0 12 ok +0x1400f23f0 Unwind@1400f23f0 12 ok +0x1400f2400 Unwind@1400f2400 12 ok +0x1400f2410 Unwind@1400f2410 12 ok +0x1400f2420 Unwind@1400f2420 12 ok +0x1400f2430 Unwind@1400f2430 19 ok +0x1400f2450 Unwind@1400f2450 12 ok +0x1400f2460 Unwind@1400f2460 19 ok +0x1400f2480 Unwind@1400f2480 16 ok +0x1400f2490 Unwind@1400f2490 16 ok +0x1400f24a0 Unwind@1400f24a0 16 ok +0x1400f24b0 Unwind@1400f24b0 12 ok +0x1400f24c0 Unwind@1400f24c0 12 ok +0x1400f24d0 Unwind@1400f24d0 12 ok +0x1400f24e0 Unwind@1400f24e0 16 ok +0x1400f24f0 Unwind@1400f24f0 16 ok +0x1400f2500 Unwind@1400f2500 16 ok +0x1400f2510 Unwind@1400f2510 16 ok +0x1400f2520 Unwind@1400f2520 16 ok +0x1400f2530 Unwind@1400f2530 16 ok +0x1400f2540 Unwind@1400f2540 16 ok +0x1400f2550 Unwind@1400f2550 12 ok +0x1400f2560 Unwind@1400f2560 12 ok +0x1400f2570 Unwind@1400f2570 12 ok +0x1400f2580 Unwind@1400f2580 12 ok +0x1400f2590 Unwind@1400f2590 12 ok +0x1400f25a0 Unwind@1400f25a0 12 ok +0x1400f25b0 Unwind@1400f25b0 12 ok +0x1400f25c0 Unwind@1400f25c0 12 ok +0x1400f25d0 Unwind@1400f25d0 12 ok +0x1400f25e0 Catch@1400f25e0 103 ok +0x1400f2650 Unwind@1400f2650 12 ok +0x1400f2660 Catch@1400f2660 103 ok +0x1400f26d0 Unwind@1400f26d0 12 ok +0x1400f26e0 Catch@1400f26e0 103 ok +0x1400f2750 Unwind@1400f2750 12 ok +0x1400f2760 Catch_All@1400f2760 26 ok +0x1400f2780 Unwind@1400f2780 16 ok +0x1400f2790 Unwind@1400f2790 12 ok +0x1400f27a0 Unwind@1400f27a0 12 ok +0x1400f27b0 Unwind@1400f27b0 28 ok +0x1400f27d0 Unwind@1400f27d0 16 ok +0x1400f27e0 Unwind@1400f27e0 12 ok +0x1400f27f0 Unwind@1400f27f0 16 ok +0x1400f2800 Unwind@1400f2800 16 ok +0x1400f2810 Unwind@1400f2810 12 ok +0x1400f2820 Unwind@1400f2820 12 ok +0x1400f2830 Unwind@1400f2830 12 ok +0x1400f2840 Unwind@1400f2840 12 ok +0x1400f2850 Unwind@1400f2850 12 ok +0x1400f2860 Unwind@1400f2860 16 ok +0x1400f2870 Unwind@1400f2870 16 ok +0x1400f2880 Unwind@1400f2880 16 ok +0x1400f2890 Unwind@1400f2890 12 ok +0x1400f28a0 Unwind@1400f28a0 12 ok +0x1400f28b0 Unwind@1400f28b0 16 ok +0x1400f28c0 Unwind@1400f28c0 16 ok +0x1400f28d0 Unwind@1400f28d0 16 ok +0x1400f28e0 Unwind@1400f28e0 12 ok +0x1400f28f0 Unwind@1400f28f0 12 ok +0x1400f2900 Unwind@1400f2900 12 ok +0x1400f2910 Unwind@1400f2910 12 ok +0x1400f2920 Unwind@1400f2920 19 ok +0x1400f2940 Unwind@1400f2940 12 ok +0x1400f2950 Unwind@1400f2950 19 ok +0x1400f2970 Unwind@1400f2970 12 ok +0x1400f2980 Unwind@1400f2980 19 ok +0x1400f29a0 Unwind@1400f29a0 16 ok +0x1400f29b0 Unwind@1400f29b0 12 ok +0x1400f29c0 Unwind@1400f29c0 12 ok +0x1400f29d0 Unwind@1400f29d0 16 ok +0x1400f29e0 Unwind@1400f29e0 16 ok +0x1400f29f0 Unwind@1400f29f0 16 ok +0x1400f2a00 Unwind@1400f2a00 16 ok +0x1400f2a10 Unwind@1400f2a10 19 ok +0x1400f2a30 Unwind@1400f2a30 19 ok +0x1400f2a50 Unwind@1400f2a50 19 ok +0x1400f2a70 Unwind@1400f2a70 19 ok +0x1400f2a90 Unwind@1400f2a90 19 ok +0x1400f2ab0 Unwind@1400f2ab0 19 ok +0x1400f2ad0 Unwind@1400f2ad0 19 ok +0x1400f2af0 Unwind@1400f2af0 19 ok +0x1400f2b10 Unwind@1400f2b10 19 ok +0x1400f2b30 Unwind@1400f2b30 19 ok +0x1400f2b50 Unwind@1400f2b50 19 ok +0x1400f2b70 Unwind@1400f2b70 19 ok +0x1400f2b90 Unwind@1400f2b90 19 ok +0x1400f2bb0 Unwind@1400f2bb0 19 ok +0x1400f2bd0 Unwind@1400f2bd0 19 ok +0x1400f2bf0 Unwind@1400f2bf0 19 ok +0x1400f2c10 Unwind@1400f2c10 19 ok +0x1400f2c30 Unwind@1400f2c30 12 ok +0x1400f2c40 Unwind@1400f2c40 19 ok +0x1400f2c60 Unwind@1400f2c60 19 ok +0x1400f2c80 Unwind@1400f2c80 19 ok +0x1400f2ca0 Unwind@1400f2ca0 19 ok +0x1400f2cc0 Unwind@1400f2cc0 19 ok +0x1400f2ce0 Unwind@1400f2ce0 19 ok +0x1400f2d00 Unwind@1400f2d00 19 ok +0x1400f2d20 Unwind@1400f2d20 19 ok +0x1400f2d40 Unwind@1400f2d40 19 ok +0x1400f2d60 Unwind@1400f2d60 19 ok +0x1400f2d80 Unwind@1400f2d80 19 ok +0x1400f2da0 Unwind@1400f2da0 19 ok +0x1400f2dc0 Unwind@1400f2dc0 19 ok +0x1400f2de0 Unwind@1400f2de0 19 ok +0x1400f2e00 Unwind@1400f2e00 19 ok +0x1400f2e20 Unwind@1400f2e20 12 ok +0x1400f2e30 Unwind@1400f2e30 19 ok +0x1400f2e50 Unwind@1400f2e50 19 ok +0x1400f2e70 Unwind@1400f2e70 19 ok +0x1400f2e90 Unwind@1400f2e90 19 ok +0x1400f2eb0 Unwind@1400f2eb0 19 ok +0x1400f2ed0 Unwind@1400f2ed0 19 ok +0x1400f2ef0 Unwind@1400f2ef0 19 ok +0x1400f2f10 Unwind@1400f2f10 19 ok +0x1400f2f30 Unwind@1400f2f30 12 ok +0x1400f2f40 Unwind@1400f2f40 12 ok +0x1400f2f50 Unwind@1400f2f50 16 ok +0x1400f2f60 Unwind@1400f2f60 12 ok +0x1400f2f70 Unwind@1400f2f70 34 ok +0x1400f2fa0 Unwind@1400f2fa0 16 ok +0x1400f2fb0 Unwind@1400f2fb0 16 ok +0x1400f2fc0 Unwind@1400f2fc0 16 ok +0x1400f2fd0 Unwind@1400f2fd0 16 ok +0x1400f2fe0 Unwind@1400f2fe0 16 ok +0x1400f2ff0 Unwind@1400f2ff0 12 ok +0x1400f3000 Unwind@1400f3000 12 ok +0x1400f3010 Unwind@1400f3010 12 ok +0x1400f3020 Unwind@1400f3020 12 ok +0x1400f3030 Unwind@1400f3030 12 ok +0x1400f3040 Unwind@1400f3040 12 ok +0x1400f3050 Unwind@1400f3050 16 ok +0x1400f3060 Unwind@1400f3060 16 ok +0x1400f3070 Unwind@1400f3070 16 ok +0x1400f3080 Unwind@1400f3080 16 ok +0x1400f3090 Unwind@1400f3090 16 ok +0x1400f30a0 Unwind@1400f30a0 16 ok +0x1400f30b0 Unwind@1400f30b0 16 ok +0x1400f30c0 Unwind@1400f30c0 12 ok +0x1400f30d0 Unwind@1400f30d0 12 ok +0x1400f30e0 Unwind@1400f30e0 12 ok +0x1400f30f0 Unwind@1400f30f0 12 ok +0x1400f3100 Unwind@1400f3100 12 ok +0x1400f3110 Unwind@1400f3110 12 ok +0x1400f3120 Unwind@1400f3120 12 ok +0x1400f3130 Unwind@1400f3130 12 ok +0x1400f3140 Unwind@1400f3140 12 ok +0x1400f3150 Unwind@1400f3150 12 ok +0x1400f3160 Unwind@1400f3160 12 ok +0x1400f3170 Unwind@1400f3170 12 ok +0x1400f3180 Unwind@1400f3180 12 ok +0x1400f3190 Unwind@1400f3190 12 ok +0x1400f31a0 Unwind@1400f31a0 12 ok +0x1400f31b0 Unwind@1400f31b0 12 ok +0x1400f31c0 Unwind@1400f31c0 12 ok +0x1400f31d0 Unwind@1400f31d0 12 ok +0x1400f31e0 Unwind@1400f31e0 12 ok +0x1400f31f0 Catch@1400f31f0 351 ok +0x1400f3350 Unwind@1400f3350 12 ok +0x1400f3360 Unwind@1400f3360 12 ok +0x1400f3370 Unwind@1400f3370 12 ok +0x1400f3380 Unwind@1400f3380 12 ok +0x1400f3390 Unwind@1400f3390 12 ok +0x1400f33a0 Unwind@1400f33a0 12 ok +0x1400f33b0 Unwind@1400f33b0 12 ok +0x1400f33c0 Unwind@1400f33c0 41 ok +0x1400f33f0 Unwind@1400f33f0 41 ok +0x1400f3420 Unwind@1400f3420 41 ok +0x1400f3450 Unwind@1400f3450 41 ok +0x1400f3480 Unwind@1400f3480 41 ok +0x1400f34b0 Unwind@1400f34b0 41 ok +0x1400f34e0 Unwind@1400f34e0 41 ok +0x1400f3510 Unwind@1400f3510 46 ok +0x1400f3540 Unwind@1400f3540 12 ok +0x1400f3550 Unwind@1400f3550 12 ok +0x1400f3560 Unwind@1400f3560 12 ok +0x1400f3570 Unwind@1400f3570 12 ok +0x1400f3580 Unwind@1400f3580 12 ok +0x1400f3590 Unwind@1400f3590 12 ok +0x1400f35a0 Unwind@1400f35a0 12 ok +0x1400f35b0 Unwind@1400f35b0 16 ok +0x1400f35c0 Unwind@1400f35c0 16 ok +0x1400f35d0 Unwind@1400f35d0 12 ok +0x1400f35e0 Unwind@1400f35e0 29 ok +0x1400f3600 Unwind@1400f3600 28 ok +0x1400f3620 Unwind@1400f3620 12 ok +0x1400f3630 Unwind@1400f3630 12 ok +0x1400f3640 Unwind@1400f3640 12 ok +0x1400f3650 Unwind@1400f3650 16 ok +0x1400f3660 Unwind@1400f3660 16 ok +0x1400f3670 Unwind@1400f3670 16 ok +0x1400f3680 Unwind@1400f3680 16 ok +0x1400f3690 Unwind@1400f3690 16 ok +0x1400f36a0 Unwind@1400f36a0 16 ok +0x1400f36b0 Unwind@1400f36b0 16 ok +0x1400f36c0 Unwind@1400f36c0 12 ok +0x1400f36d0 Unwind@1400f36d0 16 ok +0x1400f36e0 Unwind@1400f36e0 16 ok +0x1400f36f0 Unwind@1400f36f0 12 ok +0x1400f3700 Unwind@1400f3700 16 ok +0x1400f3710 Unwind@1400f3710 16 ok +0x1400f3720 Unwind@1400f3720 16 ok +0x1400f3730 Unwind@1400f3730 16 ok +0x1400f3740 Unwind@1400f3740 16 ok +0x1400f3750 Unwind@1400f3750 16 ok +0x1400f3760 Unwind@1400f3760 16 ok +0x1400f3770 Unwind@1400f3770 12 ok +0x1400f3780 Unwind@1400f3780 12 ok +0x1400f3790 Unwind@1400f3790 16 ok +0x1400f37a0 Unwind@1400f37a0 16 ok +0x1400f37b0 Unwind@1400f37b0 12 ok +0x1400f37c0 Unwind@1400f37c0 32 ok +0x1400f37e0 Unwind@1400f37e0 34 ok +0x1400f3810 Unwind@1400f3810 12 ok +0x1400f3820 Unwind@1400f3820 12 ok +0x1400f3830 Unwind@1400f3830 16 ok +0x1400f3840 Unwind@1400f3840 16 ok +0x1400f3850 Unwind@1400f3850 16 ok +0x1400f3860 Unwind@1400f3860 16 ok +0x1400f3870 Unwind@1400f3870 16 ok +0x1400f3880 Unwind@1400f3880 16 ok +0x1400f3890 Unwind@1400f3890 16 ok +0x1400f38a0 Unwind@1400f38a0 12 ok +0x1400f38b0 Unwind@1400f38b0 12 ok +0x1400f38c0 Unwind@1400f38c0 12 ok +0x1400f38d0 Unwind@1400f38d0 12 ok +0x1400f38e0 Unwind@1400f38e0 12 ok +0x1400f38f0 Unwind@1400f38f0 16 ok +0x1400f3900 Unwind@1400f3900 12 ok +0x1400f3910 Unwind@1400f3910 12 ok +0x1400f3920 Unwind@1400f3920 12 ok +0x1400f3930 Unwind@1400f3930 12 ok +0x1400f3940 Unwind@1400f3940 16 ok +0x1400f3950 Unwind@1400f3950 16 ok +0x1400f3960 Unwind@1400f3960 12 ok +0x1400f3970 Unwind@1400f3970 32 ok +0x1400f3990 Unwind@1400f3990 34 ok +0x1400f39c0 Unwind@1400f39c0 12 ok +0x1400f39d0 Unwind@1400f39d0 12 ok +0x1400f39e0 Unwind@1400f39e0 16 ok +0x1400f39f0 Unwind@1400f39f0 16 ok +0x1400f3a00 Unwind@1400f3a00 16 ok +0x1400f3a10 Unwind@1400f3a10 16 ok +0x1400f3a20 Unwind@1400f3a20 16 ok +0x1400f3a30 Unwind@1400f3a30 16 ok +0x1400f3a40 Unwind@1400f3a40 16 ok +0x1400f3a50 Unwind@1400f3a50 16 ok +0x1400f3a60 Unwind@1400f3a60 16 ok +0x1400f3a70 Unwind@1400f3a70 12 ok +0x1400f3a80 Unwind@1400f3a80 16 ok +0x1400f3a90 Unwind@1400f3a90 16 ok +0x1400f3aa0 Unwind@1400f3aa0 16 ok +0x1400f3ab0 Unwind@1400f3ab0 16 ok +0x1400f3ac0 Unwind@1400f3ac0 16 ok +0x1400f3ad0 Unwind@1400f3ad0 16 ok +0x1400f3ae0 Unwind@1400f3ae0 16 ok +0x1400f3af0 Unwind@1400f3af0 12 ok +0x1400f3b00 Unwind@1400f3b00 12 ok +0x1400f3b10 Unwind@1400f3b10 12 ok +0x1400f3b20 Unwind@1400f3b20 12 ok +0x1400f3b30 Unwind@1400f3b30 12 ok +0x1400f3b40 Unwind@1400f3b40 12 ok +0x1400f3b50 Unwind@1400f3b50 12 ok +0x1400f3b60 Unwind@1400f3b60 12 ok +0x1400f3b70 Unwind@1400f3b70 12 ok +0x1400f3b80 Unwind@1400f3b80 12 ok +0x1400f3b90 Unwind@1400f3b90 29 ok +0x1400f3bb0 Unwind@1400f3bb0 12 ok +0x1400f3bc0 Unwind@1400f3bc0 12 ok +0x1400f3bd0 Unwind@1400f3bd0 12 ok +0x1400f3be0 Unwind@1400f3be0 12 ok +0x1400f3bf0 Unwind@1400f3bf0 12 ok +0x1400f3c00 Unwind@1400f3c00 12 ok +0x1400f3c10 Unwind@1400f3c10 12 ok +0x1400f3c20 Unwind@1400f3c20 12 ok +0x1400f3c30 Unwind@1400f3c30 12 ok +0x1400f3c40 Unwind@1400f3c40 12 ok +0x1400f3c50 Unwind@1400f3c50 16 ok +0x1400f3c60 Unwind@1400f3c60 12 ok +0x1400f3c70 Unwind@1400f3c70 12 ok +0x1400f3c80 Unwind@1400f3c80 12 ok +0x1400f3c90 Unwind@1400f3c90 16 ok +0x1400f3ca0 Unwind@1400f3ca0 12 ok +0x1400f3cb0 Unwind@1400f3cb0 12 ok +0x1400f3cc0 Unwind@1400f3cc0 12 ok +0x1400f3cd0 Unwind@1400f3cd0 12 ok +0x1400f3ce0 Unwind@1400f3ce0 16 ok +0x1400f3cf0 Unwind@1400f3cf0 16 ok +0x1400f3d00 Unwind@1400f3d00 16 ok +0x1400f3d10 Unwind@1400f3d10 16 ok +0x1400f3d20 Unwind@1400f3d20 16 ok +0x1400f3d30 Unwind@1400f3d30 12 ok +0x1400f3d40 Unwind@1400f3d40 12 ok +0x1400f3d50 Unwind@1400f3d50 12 ok +0x1400f3d60 Unwind@1400f3d60 12 ok +0x1400f3d70 Unwind@1400f3d70 12 ok +0x1400f3d80 Unwind@1400f3d80 12 ok +0x1400f3d90 Unwind@1400f3d90 12 ok +0x1400f3da0 Unwind@1400f3da0 12 ok +0x1400f3db0 Unwind@1400f3db0 12 ok +0x1400f3dc0 Unwind@1400f3dc0 12 ok +0x1400f3dd0 Unwind@1400f3dd0 12 ok +0x1400f3de0 Unwind@1400f3de0 12 ok +0x1400f3df0 Unwind@1400f3df0 12 ok +0x1400f3e00 Unwind@1400f3e00 12 ok +0x1400f3e10 Unwind@1400f3e10 12 ok +0x1400f3e20 Unwind@1400f3e20 12 ok +0x1400f3e30 Unwind@1400f3e30 12 ok +0x1400f3e40 Unwind@1400f3e40 16 ok +0x1400f3e50 Unwind@1400f3e50 16 ok +0x1400f3e60 Unwind@1400f3e60 16 ok +0x1400f3e70 Unwind@1400f3e70 16 ok +0x1400f3e80 Unwind@1400f3e80 19 ok +0x1400f3ea0 Unwind@1400f3ea0 19 ok +0x1400f3ec0 Unwind@1400f3ec0 19 ok +0x1400f3ee0 Unwind@1400f3ee0 19 ok +0x1400f3f00 Unwind@1400f3f00 19 ok +0x1400f3f20 Unwind@1400f3f20 19 ok +0x1400f3f40 Unwind@1400f3f40 19 ok +0x1400f3f60 Unwind@1400f3f60 19 ok +0x1400f3f80 Unwind@1400f3f80 19 ok +0x1400f3fa0 Unwind@1400f3fa0 19 ok +0x1400f3fc0 Unwind@1400f3fc0 19 ok +0x1400f3fe0 Unwind@1400f3fe0 19 ok +0x1400f4000 Unwind@1400f4000 19 ok +0x1400f4020 Unwind@1400f4020 19 ok +0x1400f4040 Unwind@1400f4040 19 ok +0x1400f4060 Unwind@1400f4060 19 ok +0x1400f4080 Unwind@1400f4080 19 ok +0x1400f40a0 Unwind@1400f40a0 19 ok +0x1400f40c0 Unwind@1400f40c0 19 ok +0x1400f40e0 Unwind@1400f40e0 19 ok +0x1400f4100 Unwind@1400f4100 19 ok +0x1400f4120 Unwind@1400f4120 19 ok +0x1400f4140 Unwind@1400f4140 19 ok +0x1400f4160 Unwind@1400f4160 19 ok +0x1400f4180 Unwind@1400f4180 19 ok +0x1400f41a0 Unwind@1400f41a0 19 ok +0x1400f41c0 Unwind@1400f41c0 19 ok +0x1400f41e0 Unwind@1400f41e0 19 ok +0x1400f4200 Unwind@1400f4200 19 ok +0x1400f4220 Unwind@1400f4220 19 ok +0x1400f4240 Unwind@1400f4240 19 ok +0x1400f4260 Unwind@1400f4260 19 ok +0x1400f4280 Unwind@1400f4280 19 ok +0x1400f42a0 Unwind@1400f42a0 19 ok +0x1400f42c0 Unwind@1400f42c0 19 ok +0x1400f42e0 Unwind@1400f42e0 19 ok +0x1400f4300 Unwind@1400f4300 19 ok +0x1400f4320 Unwind@1400f4320 19 ok +0x1400f4340 Unwind@1400f4340 19 ok +0x1400f4360 Unwind@1400f4360 19 ok +0x1400f4380 Unwind@1400f4380 12 ok +0x1400f4390 Unwind@1400f4390 12 ok +0x1400f43a0 Unwind@1400f43a0 12 ok +0x1400f43b0 Unwind@1400f43b0 12 ok +0x1400f43c0 Unwind@1400f43c0 12 ok +0x1400f43d0 Unwind@1400f43d0 12 ok +0x1400f43e0 Unwind@1400f43e0 16 ok +0x1400f43f0 Unwind@1400f43f0 16 ok +0x1400f4400 Unwind@1400f4400 29 ok +0x1400f4420 Unwind@1400f4420 38 ok +0x1400f4450 Unwind@1400f4450 47 ok +0x1400f4480 Unwind@1400f4480 12 ok +0x1400f4490 Unwind@1400f4490 12 ok +0x1400f44a0 Unwind@1400f44a0 12 ok +0x1400f44b0 Unwind@1400f44b0 12 ok +0x1400f44c0 Unwind@1400f44c0 12 ok +0x1400f44d0 Unwind@1400f44d0 12 ok +0x1400f44e0 Unwind@1400f44e0 12 ok +0x1400f44f0 Unwind@1400f44f0 12 ok +0x1400f4500 Unwind@1400f4500 12 ok +0x1400f4510 Unwind@1400f4510 12 ok +0x1400f4520 Unwind@1400f4520 12 ok +0x1400f4530 Unwind@1400f4530 12 ok +0x1400f4540 Unwind@1400f4540 12 ok +0x1400f4550 Unwind@1400f4550 12 ok +0x1400f4560 Unwind@1400f4560 12 ok +0x1400f4570 Catch@1400f4570 76 ok +0x1400f45c0 Catch@1400f45c0 76 ok +0x1400f4610 Unwind@1400f4610 12 ok +0x1400f4620 Unwind@1400f4620 12 ok +0x1400f4630 Unwind@1400f4630 12 ok +0x1400f4640 Unwind@1400f4640 12 ok +0x1400f4650 Unwind@1400f4650 12 ok +0x1400f4660 Unwind@1400f4660 12 ok +0x1400f4670 Unwind@1400f4670 47 ok +0x1400f46a0 Unwind@1400f46a0 12 ok +0x1400f46b0 Unwind@1400f46b0 12 ok +0x1400f46c0 Catch@1400f46c0 77 ok +0x1400f4710 Unwind@1400f4710 12 ok +0x1400f4720 Unwind@1400f4720 12 ok +0x1400f4730 Unwind@1400f4730 12 ok +0x1400f4740 Unwind@1400f4740 12 ok +0x1400f4750 Unwind@1400f4750 12 ok +0x1400f4760 Unwind@1400f4760 12 ok +0x1400f4770 Catch@1400f4770 22 ok +0x1400f4790 Unwind@1400f4790 12 ok +0x1400f47a0 Catch@1400f47a0 22 ok +0x1400f47c0 Unwind@1400f47c0 12 ok +0x1400f47d0 Unwind@1400f47d0 12 ok +0x1400f47e0 Unwind@1400f47e0 12 ok +0x1400f47f0 Catch@1400f47f0 22 ok +0x1400f4810 Catch@1400f4810 22 ok +0x1400f4830 Unwind@1400f4830 12 ok +0x1400f4840 Catch@1400f4840 22 ok +0x1400f4860 Unwind@1400f4860 12 ok +0x1400f4870 Unwind@1400f4870 12 ok +0x1400f4880 Unwind@1400f4880 12 ok +0x1400f4890 Catch@1400f4890 22 ok +0x1400f48b0 Unwind@1400f48b0 47 ok +0x1400f48e0 Unwind@1400f48e0 12 ok +0x1400f48f0 Unwind@1400f48f0 12 ok +0x1400f4900 Unwind@1400f4900 12 ok +0x1400f4910 Unwind@1400f4910 12 ok +0x1400f4920 Catch@1400f4920 22 ok +0x1400f4940 Catch@1400f4940 22 ok +0x1400f4960 Unwind@1400f4960 12 ok +0x1400f4970 Unwind@1400f4970 12 ok +0x1400f4980 Unwind@1400f4980 12 ok +0x1400f4990 Unwind@1400f4990 12 ok +0x1400f49a0 Unwind@1400f49a0 12 ok +0x1400f49b0 Unwind@1400f49b0 12 ok +0x1400f49c0 Unwind@1400f49c0 12 ok +0x1400f49d0 Unwind@1400f49d0 12 ok +0x1400f49e0 Unwind@1400f49e0 12 ok +0x1400f49f0 Unwind@1400f49f0 12 ok +0x1400f4a00 Unwind@1400f4a00 12 ok +0x1400f4a10 Unwind@1400f4a10 12 ok +0x1400f4a20 Catch@1400f4a20 22 ok +0x1400f4a40 Unwind@1400f4a40 12 ok +0x1400f4a50 Unwind@1400f4a50 12 ok +0x1400f4a60 Unwind@1400f4a60 12 ok +0x1400f4a70 Unwind@1400f4a70 12 ok +0x1400f4a80 Catch@1400f4a80 22 ok +0x1400f4aa0 Unwind@1400f4aa0 12 ok +0x1400f4ab0 Unwind@1400f4ab0 12 ok +0x1400f4ac0 Unwind@1400f4ac0 12 ok +0x1400f4ad0 Unwind@1400f4ad0 12 ok +0x1400f4ae0 Unwind@1400f4ae0 12 ok +0x1400f4af0 Catch@1400f4af0 25 ok +0x1400f4b10 Unwind@1400f4b10 16 ok +0x1400f4b20 Unwind@1400f4b20 12 ok +0x1400f4b30 Unwind@1400f4b30 16 ok +0x1400f4b40 Unwind@1400f4b40 12 ok +0x1400f4b50 Unwind@1400f4b50 12 ok +0x1400f4b60 Unwind@1400f4b60 12 ok +0x1400f4b70 Unwind@1400f4b70 12 ok +0x1400f4b80 Unwind@1400f4b80 12 ok +0x1400f4b90 Unwind@1400f4b90 12 ok +0x1400f4ba0 Unwind@1400f4ba0 12 ok +0x1400f4bb0 Unwind@1400f4bb0 12 ok +0x1400f4bc0 Unwind@1400f4bc0 12 ok +0x1400f4bd0 Unwind@1400f4bd0 12 ok +0x1400f4be0 Unwind@1400f4be0 12 ok +0x1400f4bf0 Unwind@1400f4bf0 12 ok +0x1400f4c00 Unwind@1400f4c00 12 ok +0x1400f4c10 Unwind@1400f4c10 12 ok +0x1400f4c20 Unwind@1400f4c20 12 ok +0x1400f4c30 Unwind@1400f4c30 12 ok +0x1400f4c40 Unwind@1400f4c40 19 ok +0x1400f4c60 Unwind@1400f4c60 12 ok +0x1400f4c70 Unwind@1400f4c70 19 ok +0x1400f4c90 Unwind@1400f4c90 12 ok +0x1400f4ca0 Unwind@1400f4ca0 19 ok +0x1400f4cc0 Unwind@1400f4cc0 19 ok +0x1400f4ce0 Unwind@1400f4ce0 16 ok +0x1400f4cf0 Unwind@1400f4cf0 12 ok +0x1400f4d00 Unwind@1400f4d00 16 ok +0x1400f4d10 Unwind@1400f4d10 16 ok +0x1400f4d20 Unwind@1400f4d20 12 ok +0x1400f4d30 Unwind@1400f4d30 12 ok +0x1400f4d40 Unwind@1400f4d40 12 ok +0x1400f4d50 Unwind@1400f4d50 19 ok +0x1400f4d70 Unwind@1400f4d70 12 ok +0x1400f4d80 Unwind@1400f4d80 19 ok +0x1400f4da0 Unwind@1400f4da0 19 ok +0x1400f4dc0 Unwind@1400f4dc0 16 ok +0x1400f4dd0 Unwind@1400f4dd0 12 ok +0x1400f4de0 Unwind@1400f4de0 12 ok +0x1400f4df0 Unwind@1400f4df0 12 ok +0x1400f4e00 Unwind@1400f4e00 12 ok +0x1400f4e10 Unwind@1400f4e10 12 ok +0x1400f4e20 Unwind@1400f4e20 12 ok +0x1400f4e30 Unwind@1400f4e30 12 ok +0x1400f4e40 Unwind@1400f4e40 12 ok +0x1400f4e50 Unwind@1400f4e50 12 ok +0x1400f4e60 Unwind@1400f4e60 16 ok +0x1400f4e70 Unwind@1400f4e70 12 ok +0x1400f4e80 Unwind@1400f4e80 12 ok +0x1400f4e90 Unwind@1400f4e90 12 ok +0x1400f4ea0 Unwind@1400f4ea0 12 ok +0x1400f4eb0 Unwind@1400f4eb0 12 ok +0x1400f4ec0 Unwind@1400f4ec0 19 ok +0x1400f4ee0 Unwind@1400f4ee0 12 ok +0x1400f4ef0 Unwind@1400f4ef0 19 ok +0x1400f4f10 Unwind@1400f4f10 19 ok +0x1400f4f30 Unwind@1400f4f30 12 ok +0x1400f4f40 Unwind@1400f4f40 19 ok +0x1400f4f60 Unwind@1400f4f60 19 ok +0x1400f4f80 Unwind@1400f4f80 16 ok +0x1400f4f90 Unwind@1400f4f90 12 ok +0x1400f4fa0 Unwind@1400f4fa0 12 ok +0x1400f4fb0 Unwind@1400f4fb0 12 ok +0x1400f4fc0 Unwind@1400f4fc0 16 ok +0x1400f4fd0 Unwind@1400f4fd0 16 ok +0x1400f4fe0 Unwind@1400f4fe0 12 ok +0x1400f4ff0 Unwind@1400f4ff0 12 ok +0x1400f5000 Unwind@1400f5000 12 ok +0x1400f5010 Unwind@1400f5010 12 ok +0x1400f5020 Unwind@1400f5020 12 ok +0x1400f5030 Unwind@1400f5030 12 ok +0x1400f5040 Unwind@1400f5040 12 ok +0x1400f5050 Unwind@1400f5050 12 ok +0x1400f5060 Unwind@1400f5060 12 ok +0x1400f5070 Unwind@1400f5070 12 ok +0x1400f5080 Unwind@1400f5080 12 ok +0x1400f5090 Unwind@1400f5090 12 ok +0x1400f50a0 Unwind@1400f50a0 12 ok +0x1400f50b0 Unwind@1400f50b0 12 ok +0x1400f50c0 Unwind@1400f50c0 12 ok +0x1400f50d0 Unwind@1400f50d0 12 ok +0x1400f50e0 Unwind@1400f50e0 12 ok +0x1400f50f0 Unwind@1400f50f0 12 ok +0x1400f5100 Unwind@1400f5100 12 ok +0x1400f5110 Unwind@1400f5110 12 ok +0x1400f5120 Unwind@1400f5120 12 ok +0x1400f5130 Unwind@1400f5130 12 ok +0x1400f5140 Unwind@1400f5140 12 ok +0x1400f5150 Unwind@1400f5150 12 ok +0x1400f5160 Unwind@1400f5160 12 ok +0x1400f5170 Unwind@1400f5170 12 ok +0x1400f5180 Unwind@1400f5180 12 ok +0x1400f5190 Unwind@1400f5190 12 ok +0x1400f51a0 Unwind@1400f51a0 12 ok +0x1400f51b0 Unwind@1400f51b0 12 ok +0x1400f51c0 Unwind@1400f51c0 12 ok +0x1400f51d0 Unwind@1400f51d0 16 ok +0x1400f51e0 Unwind@1400f51e0 16 ok +0x1400f51f0 Unwind@1400f51f0 12 ok +0x1400f5200 Unwind@1400f5200 12 ok +0x1400f5210 Unwind@1400f5210 12 ok +0x1400f5220 Unwind@1400f5220 12 ok +0x1400f5230 Unwind@1400f5230 12 ok +0x1400f5240 Unwind@1400f5240 16 ok +0x1400f5250 Unwind@1400f5250 16 ok +0x1400f5260 Unwind@1400f5260 16 ok +0x1400f5270 Unwind@1400f5270 16 ok +0x1400f5280 Unwind@1400f5280 16 ok +0x1400f5290 Unwind@1400f5290 12 ok +0x1400f52a0 Unwind@1400f52a0 12 ok +0x1400f52b0 Unwind@1400f52b0 12 ok +0x1400f52c0 Unwind@1400f52c0 12 ok +0x1400f52d0 Unwind@1400f52d0 12 ok +0x1400f52e0 Unwind@1400f52e0 12 ok +0x1400f52f0 Unwind@1400f52f0 12 ok +0x1400f5300 Unwind@1400f5300 12 ok +0x1400f5310 Unwind@1400f5310 12 ok +0x1400f5320 Unwind@1400f5320 12 ok +0x1400f5330 Unwind@1400f5330 12 ok +0x1400f5340 Catch@1400f5340 117 ok +0x1400f53c0 Unwind@1400f53c0 12 ok +0x1400f53d0 Catch@1400f53d0 117 ok +0x1400f5450 Unwind@1400f5450 12 ok +0x1400f5460 Catch@1400f5460 117 ok +0x1400f54e0 Unwind@1400f54e0 12 ok +0x1400f54f0 Unwind@1400f54f0 39 ok +0x1400f5520 Unwind@1400f5520 39 ok +0x1400f5550 Unwind@1400f5550 12 ok +0x1400f5560 Unwind@1400f5560 12 ok +0x1400f5570 Unwind@1400f5570 12 ok +0x1400f5580 Unwind@1400f5580 12 ok +0x1400f5590 Unwind@1400f5590 12 ok +0x1400f55a0 Unwind@1400f55a0 12 ok +0x1400f55b0 Unwind@1400f55b0 12 ok +0x1400f55c0 Unwind@1400f55c0 12 ok +0x1400f55d0 Unwind@1400f55d0 12 ok +0x1400f55e0 Unwind@1400f55e0 12 ok +0x1400f55f0 Unwind@1400f55f0 12 ok +0x1400f5600 Unwind@1400f5600 12 ok +0x1400f5610 Unwind@1400f5610 12 ok +0x1400f5620 Unwind@1400f5620 12 ok +0x1400f5630 Unwind@1400f5630 12 ok +0x1400f5640 Unwind@1400f5640 12 ok +0x1400f5650 Unwind@1400f5650 12 ok +0x1400f5660 Unwind@1400f5660 12 ok +0x1400f5670 Unwind@1400f5670 12 ok +0x1400f5680 Unwind@1400f5680 12 ok +0x1400f5690 Unwind@1400f5690 12 ok +0x1400f56a0 Unwind@1400f56a0 12 ok +0x1400f56b0 Unwind@1400f56b0 16 ok +0x1400f56c0 Unwind@1400f56c0 12 ok +0x1400f56d0 Unwind@1400f56d0 12 ok +0x1400f56e0 Unwind@1400f56e0 12 ok +0x1400f56f0 Unwind@1400f56f0 12 ok +0x1400f5700 Unwind@1400f5700 12 ok +0x1400f5710 Unwind@1400f5710 12 ok +0x1400f5720 Unwind@1400f5720 12 ok +0x1400f5730 Unwind@1400f5730 12 ok +0x1400f5740 Unwind@1400f5740 12 ok +0x1400f5750 Unwind@1400f5750 19 ok +0x1400f5770 Unwind@1400f5770 12 ok +0x1400f5780 Unwind@1400f5780 19 ok +0x1400f57a0 Unwind@1400f57a0 12 ok +0x1400f57b0 Unwind@1400f57b0 12 ok +0x1400f57c0 Unwind@1400f57c0 12 ok +0x1400f57d0 Unwind@1400f57d0 12 ok +0x1400f57e0 Unwind@1400f57e0 12 ok +0x1400f57f0 Unwind@1400f57f0 16 ok +0x1400f5800 Unwind@1400f5800 12 ok +0x1400f5810 Unwind@1400f5810 12 ok +0x1400f5820 Unwind@1400f5820 19 ok +0x1400f5840 Unwind@1400f5840 12 ok +0x1400f5850 Unwind@1400f5850 19 ok +0x1400f5870 Unwind@1400f5870 12 ok +0x1400f5880 Unwind@1400f5880 12 ok +0x1400f5890 Unwind@1400f5890 12 ok +0x1400f58a0 Unwind@1400f58a0 12 ok +0x1400f58b0 Unwind@1400f58b0 12 ok +0x1400f58c0 Unwind@1400f58c0 16 ok +0x1400f58d0 Unwind@1400f58d0 12 ok +0x1400f58e0 Unwind@1400f58e0 12 ok +0x1400f58f0 Unwind@1400f58f0 16 ok +0x1400f5900 Unwind@1400f5900 16 ok +0x1400f5910 Unwind@1400f5910 12 ok +0x1400f5920 Unwind@1400f5920 12 ok +0x1400f5930 Unwind@1400f5930 12 ok +0x1400f5940 Unwind@1400f5940 12 ok +0x1400f5950 Unwind@1400f5950 12 ok +0x1400f5960 Unwind@1400f5960 12 ok +0x1400f5970 Unwind@1400f5970 19 ok +0x1400f5990 Unwind@1400f5990 12 ok +0x1400f59a0 Unwind@1400f59a0 19 ok +0x1400f59c0 Unwind@1400f59c0 19 ok +0x1400f59e0 Unwind@1400f59e0 12 ok +0x1400f59f0 Unwind@1400f59f0 19 ok +0x1400f5a10 Unwind@1400f5a10 19 ok +0x1400f5a30 Unwind@1400f5a30 16 ok +0x1400f5a40 Unwind@1400f5a40 16 ok +0x1400f5a50 Unwind@1400f5a50 12 ok +0x1400f5a60 Unwind@1400f5a60 12 ok +0x1400f5a70 Unwind@1400f5a70 16 ok +0x1400f5a80 Unwind@1400f5a80 16 ok +0x1400f5a90 Unwind@1400f5a90 12 ok +0x1400f5aa0 Unwind@1400f5aa0 12 ok +0x1400f5ab0 Unwind@1400f5ab0 12 ok +0x1400f5ac0 Unwind@1400f5ac0 12 ok +0x1400f5ad0 Unwind@1400f5ad0 12 ok +0x1400f5ae0 Unwind@1400f5ae0 12 ok +0x1400f5af0 Unwind@1400f5af0 12 ok +0x1400f5b00 Unwind@1400f5b00 12 ok +0x1400f5b10 Unwind@1400f5b10 16 ok +0x1400f5b20 Unwind@1400f5b20 16 ok +0x1400f5b30 Unwind@1400f5b30 12 ok +0x1400f5b40 Unwind@1400f5b40 16 ok +0x1400f5b50 Unwind@1400f5b50 12 ok +0x1400f5b60 Unwind@1400f5b60 16 ok +0x1400f5b70 Unwind@1400f5b70 12 ok +0x1400f5b80 Unwind@1400f5b80 12 ok +0x1400f5b90 Unwind@1400f5b90 12 ok +0x1400f5ba0 Unwind@1400f5ba0 12 ok +0x1400f5bb0 Unwind@1400f5bb0 12 ok +0x1400f5bc0 Unwind@1400f5bc0 12 ok +0x1400f5bd0 Unwind@1400f5bd0 12 ok +0x1400f5be0 Unwind@1400f5be0 16 ok +0x1400f5bf0 Unwind@1400f5bf0 16 ok +0x1400f5c00 Unwind@1400f5c00 12 ok +0x1400f5c10 Unwind@1400f5c10 12 ok +0x1400f5c20 Unwind@1400f5c20 12 ok +0x1400f5c30 Unwind@1400f5c30 19 ok +0x1400f5c50 Unwind@1400f5c50 12 ok +0x1400f5c60 Unwind@1400f5c60 19 ok +0x1400f5c80 Unwind@1400f5c80 16 ok +0x1400f5c90 Unwind@1400f5c90 12 ok +0x1400f5ca0 Unwind@1400f5ca0 12 ok +0x1400f5cb0 Unwind@1400f5cb0 12 ok +0x1400f5cc0 Unwind@1400f5cc0 19 ok +0x1400f5ce0 Unwind@1400f5ce0 12 ok +0x1400f5cf0 Unwind@1400f5cf0 19 ok +0x1400f5d10 Unwind@1400f5d10 16 ok +0x1400f5d20 Unwind@1400f5d20 12 ok +0x1400f5d30 Unwind@1400f5d30 12 ok +0x1400f5d40 Unwind@1400f5d40 12 ok +0x1400f5d50 Unwind@1400f5d50 12 ok +0x1400f5d60 Unwind@1400f5d60 19 ok +0x1400f5d80 Unwind@1400f5d80 12 ok +0x1400f5d90 Unwind@1400f5d90 19 ok +0x1400f5db0 Unwind@1400f5db0 16 ok +0x1400f5dc0 Unwind@1400f5dc0 12 ok +0x1400f5dd0 Unwind@1400f5dd0 12 ok +0x1400f5de0 Unwind@1400f5de0 12 ok +0x1400f5df0 Unwind@1400f5df0 12 ok +0x1400f5e00 Unwind@1400f5e00 12 ok +0x1400f5e10 Unwind@1400f5e10 12 ok +0x1400f5e20 Unwind@1400f5e20 12 ok +0x1400f5e30 Unwind@1400f5e30 16 ok +0x1400f5e40 Unwind@1400f5e40 12 ok +0x1400f5e50 Unwind@1400f5e50 12 ok +0x1400f5e60 Unwind@1400f5e60 12 ok +0x1400f5e70 Unwind@1400f5e70 12 ok +0x1400f5e80 Unwind@1400f5e80 12 ok +0x1400f5e90 Unwind@1400f5e90 19 ok +0x1400f5eb0 Unwind@1400f5eb0 12 ok +0x1400f5ec0 Unwind@1400f5ec0 19 ok +0x1400f5ee0 Unwind@1400f5ee0 12 ok +0x1400f5ef0 Unwind@1400f5ef0 16 ok +0x1400f5f00 Unwind@1400f5f00 45 ok +0x1400f5f30 Unwind@1400f5f30 48 ok +0x1400f5f60 Unwind@1400f5f60 45 ok +0x1400f5f90 Unwind@1400f5f90 48 ok +0x1400f5fc0 Unwind@1400f5fc0 12 ok +0x1400f5fd0 Unwind@1400f5fd0 16 ok +0x1400f5fe0 Unwind@1400f5fe0 16 ok +0x1400f5ff0 Unwind@1400f5ff0 19 ok +0x1400f6010 Unwind@1400f6010 19 ok +0x1400f6030 Unwind@1400f6030 19 ok +0x1400f6050 Unwind@1400f6050 19 ok +0x1400f6070 Unwind@1400f6070 19 ok +0x1400f6090 Unwind@1400f6090 12 ok +0x1400f60a0 Unwind@1400f60a0 16 ok +0x1400f60b0 Unwind@1400f60b0 16 ok +0x1400f60c0 Unwind@1400f60c0 19 ok +0x1400f60e0 Unwind@1400f60e0 19 ok +0x1400f6100 Unwind@1400f6100 19 ok +0x1400f6120 Unwind@1400f6120 19 ok +0x1400f6140 Unwind@1400f6140 19 ok +0x1400f6160 Unwind@1400f6160 12 ok +0x1400f6170 Unwind@1400f6170 12 ok +0x1400f6180 Unwind@1400f6180 12 ok +0x1400f6190 Unwind@1400f6190 32 ok +0x1400f61b0 Unwind@1400f61b0 12 ok +0x1400f61c0 Unwind@1400f61c0 12 ok +0x1400f61d0 Unwind@1400f61d0 12 ok +0x1400f61e0 Unwind@1400f61e0 12 ok +0x1400f61f0 Unwind@1400f61f0 12 ok +0x1400f6200 Unwind@1400f6200 12 ok +0x1400f6210 Unwind@1400f6210 12 ok +0x1400f6220 Unwind@1400f6220 12 ok +0x1400f6230 Unwind@1400f6230 12 ok +0x1400f6240 Unwind@1400f6240 12 ok +0x1400f6250 Unwind@1400f6250 12 ok +0x1400f6260 Unwind@1400f6260 12 ok +0x1400f6270 Unwind@1400f6270 12 ok +0x1400f6280 Unwind@1400f6280 12 ok +0x1400f6290 Unwind@1400f6290 12 ok +0x1400f62a0 Unwind@1400f62a0 12 ok +0x1400f62b0 Unwind@1400f62b0 12 ok +0x1400f62c0 Unwind@1400f62c0 12 ok +0x1400f62d0 Unwind@1400f62d0 12 ok +0x1400f62e0 Unwind@1400f62e0 12 ok +0x1400f62f0 Unwind@1400f62f0 12 ok +0x1400f6300 Unwind@1400f6300 12 ok +0x1400f6310 Unwind@1400f6310 12 ok +0x1400f6320 Unwind@1400f6320 12 ok +0x1400f6330 Catch@1400f6330 351 ok +0x1400f64a0 Unwind@1400f64a0 12 ok +0x1400f64b0 Unwind@1400f64b0 12 ok +0x1400f64c0 Unwind@1400f64c0 12 ok +0x1400f64d0 Unwind@1400f64d0 12 ok +0x1400f64e0 Unwind@1400f64e0 12 ok +0x1400f64f0 Unwind@1400f64f0 16 ok +0x1400f6500 Unwind@1400f6500 12 ok +0x1400f6510 Unwind@1400f6510 12 ok +0x1400f6520 Unwind@1400f6520 12 ok +0x1400f6530 Unwind@1400f6530 12 ok +0x1400f6540 Unwind@1400f6540 16 ok +0x1400f6550 Unwind@1400f6550 12 ok +0x1400f6560 Unwind@1400f6560 12 ok +0x1400f6570 Unwind@1400f6570 12 ok +0x1400f6580 Unwind@1400f6580 12 ok +0x1400f6590 Unwind@1400f6590 12 ok +0x1400f65a0 Unwind@1400f65a0 12 ok +0x1400f65b0 Unwind@1400f65b0 12 ok +0x1400f65c0 Unwind@1400f65c0 32 ok +0x1400f65e0 Unwind@1400f65e0 31 ok +0x1400f6600 Unwind@1400f6600 12 ok +0x1400f6610 Unwind@1400f6610 12 ok +0x1400f6620 Catch@1400f6620 117 ok +0x1400f66a0 Unwind@1400f66a0 12 ok +0x1400f66b0 Catch@1400f66b0 117 ok +0x1400f6730 Unwind@1400f6730 12 ok +0x1400f6740 Catch@1400f6740 117 ok +0x1400f67c0 Unwind@1400f67c0 12 ok +0x1400f67d0 Unwind@1400f67d0 12 ok +0x1400f67e0 Unwind@1400f67e0 12 ok +0x1400f67f0 Unwind@1400f67f0 12 ok +0x1400f6800 Unwind@1400f6800 12 ok +0x1400f6810 Unwind@1400f6810 12 ok +0x1400f6820 Unwind@1400f6820 12 ok +0x1400f6830 Unwind@1400f6830 12 ok +0x1400f6840 Catch@1400f6840 255 ok +0x1400f6940 Unwind@1400f6940 12 ok +0x1400f6950 Unwind@1400f6950 12 ok +0x1400f6960 Unwind@1400f6960 12 ok +0x1400f6970 Catch@1400f6970 264 ok +0x1400f6a80 Unwind@1400f6a80 12 ok +0x1400f6a90 Unwind@1400f6a90 12 ok +0x1400f6aa0 Unwind@1400f6aa0 12 ok +0x1400f6ab0 Catch@1400f6ab0 53 ok +0x1400f6af0 Unwind@1400f6af0 12 ok +0x1400f6b00 Unwind@1400f6b00 12 ok +0x1400f6b10 Unwind@1400f6b10 12 ok +0x1400f6b20 Unwind@1400f6b20 12 ok +0x1400f6b30 Unwind@1400f6b30 12 ok +0x1400f6b40 Unwind@1400f6b40 16 ok +0x1400f6b50 Unwind@1400f6b50 16 ok +0x1400f6b60 Unwind@1400f6b60 12 ok +0x1400f6b70 Unwind@1400f6b70 16 ok +0x1400f6b80 Unwind@1400f6b80 16 ok +0x1400f6b90 Unwind@1400f6b90 12 ok +0x1400f6ba0 Unwind@1400f6ba0 12 ok +0x1400f6bb0 Unwind@1400f6bb0 16 ok +0x1400f6bc0 Unwind@1400f6bc0 12 ok +0x1400f6bd0 Unwind@1400f6bd0 12 ok +0x1400f6be0 Unwind@1400f6be0 16 ok +0x1400f6bf0 Unwind@1400f6bf0 12 ok +0x1400f6c00 Unwind@1400f6c00 16 ok +0x1400f6c10 Unwind@1400f6c10 12 ok +0x1400f6c20 Unwind@1400f6c20 16 ok +0x1400f6c30 Unwind@1400f6c30 12 ok +0x1400f6c40 Unwind@1400f6c40 12 ok +0x1400f6c50 Unwind@1400f6c50 12 ok +0x1400f6c60 Unwind@1400f6c60 12 ok +0x1400f6c70 Unwind@1400f6c70 12 ok +0x1400f6c80 Unwind@1400f6c80 12 ok +0x1400f6c90 Unwind@1400f6c90 12 ok +0x1400f6ca0 Unwind@1400f6ca0 12 ok +0x1400f6cb0 Catch@1400f6cb0 57 ok +0x1400f6cf0 Catch@1400f6cf0 57 ok +0x1400f6d30 Catch@1400f6d30 57 ok +0x1400f6d70 Unwind@1400f6d70 12 ok +0x1400f6d80 Unwind@1400f6d80 12 ok +0x1400f6d90 Unwind@1400f6d90 12 ok +0x1400f6da0 Unwind@1400f6da0 12 ok +0x1400f6db0 Unwind@1400f6db0 12 ok +0x1400f6dc0 Unwind@1400f6dc0 12 ok +0x1400f6dd0 Unwind@1400f6dd0 12 ok +0x1400f6de0 Unwind@1400f6de0 12 ok +0x1400f6df0 Unwind@1400f6df0 12 ok +0x1400f6e00 Unwind@1400f6e00 12 ok +0x1400f6e10 Unwind@1400f6e10 12 ok +0x1400f6e20 Unwind@1400f6e20 12 ok +0x1400f6e30 Unwind@1400f6e30 12 ok +0x1400f6e40 Unwind@1400f6e40 12 ok +0x1400f6e50 Unwind@1400f6e50 12 ok +0x1400f6e60 Unwind@1400f6e60 12 ok +0x1400f6e70 Catch@1400f6e70 108 ok +0x1400f6ee0 Unwind@1400f6ee0 12 ok +0x1400f6ef0 Catch@1400f6ef0 137 ok +0x1400f6f80 Unwind@1400f6f80 12 ok +0x1400f6f90 Catch@1400f6f90 54 ok +0x1400f6fd0 Unwind@1400f6fd0 12 ok +0x1400f6fe0 Unwind@1400f6fe0 12 ok +0x1400f6ff0 Unwind@1400f6ff0 12 ok +0x1400f7000 Unwind@1400f7000 12 ok +0x1400f7010 Unwind@1400f7010 12 ok +0x1400f7020 Unwind@1400f7020 12 ok +0x1400f7030 Unwind@1400f7030 16 ok +0x1400f7040 Unwind@1400f7040 12 ok +0x1400f7050 Unwind@1400f7050 12 ok +0x1400f7060 Unwind@1400f7060 12 ok +0x1400f7070 Unwind@1400f7070 12 ok +0x1400f7080 Unwind@1400f7080 12 ok +0x1400f7090 Unwind@1400f7090 12 ok +0x1400f70a0 Unwind@1400f70a0 12 ok +0x1400f70b0 Unwind@1400f70b0 12 ok +0x1400f70c0 Unwind@1400f70c0 12 ok +0x1400f70d0 Catch_All@1400f70d0 26 ok +0x1400f70f0 Unwind@1400f70f0 12 ok +0x1400f7100 Unwind@1400f7100 12 ok +0x1400f7110 Unwind@1400f7110 12 ok +0x1400f7120 Unwind@1400f7120 12 ok +0x1400f7130 Unwind@1400f7130 31 ok +0x1400f7150 Unwind@1400f7150 12 ok +0x1400f7160 Unwind@1400f7160 12 ok +0x1400f7170 Unwind@1400f7170 12 ok +0x1400f7180 Unwind@1400f7180 28 ok +0x1400f71a0 Unwind@1400f71a0 12 ok +0x1400f71b0 Unwind@1400f71b0 12 ok +0x1400f71c0 Unwind@1400f71c0 12 ok +0x1400f71d0 Unwind@1400f71d0 12 ok +0x1400f71e0 Unwind@1400f71e0 12 ok +0x1400f71f0 Unwind@1400f71f0 12 ok +0x1400f7200 Unwind@1400f7200 12 ok +0x1400f7210 Unwind@1400f7210 34 ok +0x1400f7240 Unwind@1400f7240 12 ok +0x1400f7250 Unwind@1400f7250 12 ok +0x1400f7260 Unwind@1400f7260 12 ok +0x1400f7270 Unwind@1400f7270 12 ok +0x1400f7280 Unwind@1400f7280 12 ok +0x1400f7290 Unwind@1400f7290 12 ok +0x1400f72a0 Unwind@1400f72a0 12 ok +0x1400f72b0 Unwind@1400f72b0 12 ok +0x1400f72c0 Unwind@1400f72c0 12 ok +0x1400f72d0 Unwind@1400f72d0 16 ok +0x1400f72e0 Unwind@1400f72e0 16 ok +0x1400f72f0 Unwind@1400f72f0 16 ok +0x1400f7300 Unwind@1400f7300 19 ok +0x1400f7320 Unwind@1400f7320 12 ok +0x1400f7330 Unwind@1400f7330 16 ok +0x1400f7340 Unwind@1400f7340 16 ok +0x1400f7350 Unwind@1400f7350 12 ok +0x1400f7360 Unwind@1400f7360 12 ok +0x1400f7370 Unwind@1400f7370 12 ok +0x1400f7380 Unwind@1400f7380 32 ok +0x1400f73a0 Unwind@1400f73a0 32 ok +0x1400f73c0 Unwind@1400f73c0 16 ok +0x1400f73d0 Unwind@1400f73d0 16 ok +0x1400f73e0 Unwind@1400f73e0 16 ok +0x1400f73f0 Unwind@1400f73f0 12 ok +0x1400f7400 Unwind@1400f7400 16 ok +0x1400f7410 Unwind@1400f7410 16 ok +0x1400f7420 Unwind@1400f7420 16 ok +0x1400f7430 Unwind@1400f7430 12 ok +0x1400f7440 Unwind@1400f7440 12 ok +0x1400f7450 Unwind@1400f7450 16 ok +0x1400f7460 Catch@1400f7460 37 ok +0x1400f7490 Unwind@1400f7490 12 ok +0x1400f74a0 Unwind@1400f74a0 12 ok +0x1400f74b0 Unwind@1400f74b0 16 ok +0x1400f74c0 Catch@1400f74c0 37 ok +0x1400f74f0 Unwind@1400f74f0 12 ok +0x1400f7500 Catch@1400f7500 37 ok +0x1400f7530 Catch@1400f7530 37 ok +0x1400f7560 Unwind@1400f7560 12 ok +0x1400f7570 Unwind@1400f7570 22 ok +0x1400f7590 Unwind@1400f7590 12 ok +0x1400f75a0 Unwind@1400f75a0 16 ok +0x1400f75b0 Unwind@1400f75b0 16 ok +0x1400f75c0 Unwind@1400f75c0 16 ok +0x1400f75d0 Unwind@1400f75d0 16 ok +0x1400f75e0 Unwind@1400f75e0 16 ok +0x1400f75f0 Unwind@1400f75f0 16 ok +0x1400f7600 Unwind@1400f7600 19 ok +0x1400f7620 Unwind@1400f7620 12 ok +0x1400f7630 Unwind@1400f7630 12 ok +0x1400f7640 Unwind@1400f7640 12 ok +0x1400f7650 Unwind@1400f7650 12 ok +0x1400f7660 Unwind@1400f7660 12 ok +0x1400f7670 Unwind@1400f7670 12 ok +0x1400f7680 Unwind@1400f7680 16 ok +0x1400f7690 Unwind@1400f7690 12 ok +0x1400f76a0 Unwind@1400f76a0 12 ok +0x1400f76b0 Unwind@1400f76b0 12 ok +0x1400f76c0 Unwind@1400f76c0 12 ok +0x1400f76d0 Unwind@1400f76d0 12 ok +0x1400f76e0 Unwind@1400f76e0 12 ok +0x1400f76f0 Unwind@1400f76f0 12 ok +0x1400f7700 Unwind@1400f7700 12 ok +0x1400f7710 Unwind@1400f7710 12 ok +0x1400f7720 Unwind@1400f7720 12 ok +0x1400f7730 Unwind@1400f7730 12 ok +0x1400f7740 Unwind@1400f7740 12 ok +0x1400f7750 Unwind@1400f7750 12 ok +0x1400f7760 Unwind@1400f7760 12 ok +0x1400f7770 Unwind@1400f7770 12 ok +0x1400f7780 Unwind@1400f7780 12 ok +0x1400f7790 Unwind@1400f7790 12 ok +0x1400f77a0 Unwind@1400f77a0 16 ok +0x1400f77b0 Unwind@1400f77b0 16 ok +0x1400f77c0 Unwind@1400f77c0 16 ok +0x1400f77d0 Unwind@1400f77d0 16 ok +0x1400f77e0 Unwind@1400f77e0 16 ok +0x1400f77f0 Unwind@1400f77f0 12 ok +0x1400f7800 Unwind@1400f7800 16 ok +0x1400f7810 Unwind@1400f7810 19 ok +0x1400f7830 Unwind@1400f7830 12 ok +0x1400f7840 Unwind@1400f7840 12 ok +0x1400f7850 Unwind@1400f7850 12 ok +0x1400f7860 Unwind@1400f7860 12 ok +0x1400f7870 Catch_All@1400f7870 26 ok +0x1400f7890 Unwind@1400f7890 12 ok +0x1400f78a0 Unwind@1400f78a0 12 ok +0x1400f78b0 Unwind@1400f78b0 29 ok +0x1400f78d0 Unwind@1400f78d0 38 ok +0x1400f7900 Unwind@1400f7900 12 ok +0x1400f7910 Unwind@1400f7910 16 ok +0x1400f7920 Unwind@1400f7920 16 ok +0x1400f7930 Unwind@1400f7930 19 ok +0x1400f7950 Unwind@1400f7950 16 ok +0x1400f7960 Unwind@1400f7960 19 ok +0x1400f7980 Unwind@1400f7980 19 ok +0x1400f79a0 Unwind@1400f79a0 19 ok +0x1400f79c0 Unwind@1400f79c0 19 ok +0x1400f79e0 Unwind@1400f79e0 19 ok +0x1400f7a00 Unwind@1400f7a00 19 ok +0x1400f7a20 Unwind@1400f7a20 19 ok +0x1400f7a40 Unwind@1400f7a40 19 ok +0x1400f7a60 Unwind@1400f7a60 19 ok +0x1400f7a80 Unwind@1400f7a80 19 ok +0x1400f7aa0 Unwind@1400f7aa0 19 ok +0x1400f7ac0 Unwind@1400f7ac0 19 ok +0x1400f7ae0 Unwind@1400f7ae0 19 ok +0x1400f7b00 Unwind@1400f7b00 12 ok +0x1400f7b10 Unwind@1400f7b10 12 ok +0x1400f7b20 Unwind@1400f7b20 16 ok +0x1400f7b30 Unwind@1400f7b30 16 ok +0x1400f7b40 Unwind@1400f7b40 19 ok +0x1400f7b60 Unwind@1400f7b60 16 ok +0x1400f7b70 Unwind@1400f7b70 19 ok +0x1400f7b90 Unwind@1400f7b90 19 ok +0x1400f7bb0 Unwind@1400f7bb0 19 ok +0x1400f7bd0 Unwind@1400f7bd0 19 ok +0x1400f7bf0 Unwind@1400f7bf0 19 ok +0x1400f7c10 Unwind@1400f7c10 19 ok +0x1400f7c30 Unwind@1400f7c30 19 ok +0x1400f7c50 Unwind@1400f7c50 19 ok +0x1400f7c70 Unwind@1400f7c70 19 ok +0x1400f7c90 Unwind@1400f7c90 19 ok +0x1400f7cb0 Unwind@1400f7cb0 19 ok +0x1400f7cd0 Unwind@1400f7cd0 19 ok +0x1400f7cf0 Unwind@1400f7cf0 19 ok +0x1400f7d10 Unwind@1400f7d10 12 ok +0x1400f7d20 Unwind@1400f7d20 12 ok +0x1400f7d30 Unwind@1400f7d30 16 ok +0x1400f7d40 Unwind@1400f7d40 12 ok +0x1400f7d50 Unwind@1400f7d50 16 ok +0x1400f7d60 Unwind@1400f7d60 19 ok +0x1400f7d80 Unwind@1400f7d80 12 ok +0x1400f7d90 Unwind@1400f7d90 19 ok +0x1400f7db0 Unwind@1400f7db0 12 ok +0x1400f7dc0 Unwind@1400f7dc0 12 ok +0x1400f7dd0 Catch_All@1400f7dd0 26 ok +0x1400f7df0 Unwind@1400f7df0 12 ok +0x1400f7e00 Unwind@1400f7e00 12 ok +0x1400f7e10 Unwind@1400f7e10 12 ok +0x1400f7e20 Unwind@1400f7e20 16 ok +0x1400f7e30 Unwind@1400f7e30 19 ok +0x1400f7e50 Catch_All@1400f7e50 38 ok +0x1400f7e80 Catch_All@1400f7e80 38 ok +0x1400f7eb0 Unwind@1400f7eb0 12 ok +0x1400f7ec0 Unwind@1400f7ec0 16 ok +0x1400f7ed0 Unwind@1400f7ed0 19 ok +0x1400f7ef0 Unwind@1400f7ef0 12 ok +0x1400f7f00 Unwind@1400f7f00 16 ok +0x1400f7f10 Unwind@1400f7f10 19 ok +0x1400f7f30 Unwind@1400f7f30 12 ok +0x1400f7f40 Unwind@1400f7f40 12 ok +0x1400f7f50 Unwind@1400f7f50 12 ok +0x1400f7f60 Unwind@1400f7f60 34 ok +0x1400f7f90 Unwind@1400f7f90 12 ok +0x1400f7fa0 Unwind@1400f7fa0 16 ok +0x1400f7fb0 Unwind@1400f7fb0 16 ok +0x1400f7fc0 Unwind@1400f7fc0 16 ok +0x1400f7fd0 Unwind@1400f7fd0 16 ok +0x1400f7fe0 Unwind@1400f7fe0 16 ok +0x1400f7ff0 Unwind@1400f7ff0 16 ok +0x1400f8000 Unwind@1400f8000 16 ok +0x1400f8010 Unwind@1400f8010 16 ok +0x1400f8020 Unwind@1400f8020 16 ok +0x1400f8030 Unwind@1400f8030 16 ok +0x1400f8040 Unwind@1400f8040 16 ok +0x1400f8050 Unwind@1400f8050 16 ok +0x1400f8060 Unwind@1400f8060 12 ok +0x1400f8070 Unwind@1400f8070 12 ok +0x1400f8080 Unwind@1400f8080 12 ok +0x1400f8090 Unwind@1400f8090 12 ok +0x1400f80a0 Unwind@1400f80a0 12 ok +0x1400f80b0 Unwind@1400f80b0 12 ok +0x1400f80c0 Unwind@1400f80c0 12 ok +0x1400f80d0 Unwind@1400f80d0 16 ok +0x1400f80e0 Unwind@1400f80e0 19 ok +0x1400f8100 Unwind@1400f8100 12 ok +0x1400f8110 Unwind@1400f8110 16 ok +0x1400f8120 Unwind@1400f8120 19 ok +0x1400f8140 Unwind@1400f8140 12 ok +0x1400f8150 Unwind@1400f8150 16 ok +0x1400f8170 Unwind@1400f8170 12 ok +0x1400f8180 Unwind@1400f8180 16 ok +0x1400f8190 Unwind@1400f8190 19 ok +0x1400f81b0 Unwind@1400f81b0 19 ok +0x1400f81d0 Unwind@1400f81d0 16 ok +0x1400f81e0 Unwind@1400f81e0 19 ok +0x1400f8200 Unwind@1400f8200 19 ok +0x1400f8220 Unwind@1400f8220 12 ok +0x1400f8230 Unwind@1400f8230 12 ok +0x1400f8240 Unwind@1400f8240 12 ok +0x1400f8250 Unwind@1400f8250 12 ok +0x1400f8260 Unwind@1400f8260 12 ok +0x1400f8270 Unwind@1400f8270 16 ok +0x1400f8280 Unwind@1400f8280 19 ok +0x1400f82a0 Unwind@1400f82a0 38 ok +0x1400f82d0 Unwind@1400f82d0 12 ok +0x1400f82e0 Unwind@1400f82e0 12 ok +0x1400f82f0 Unwind@1400f82f0 12 ok +0x1400f8300 Unwind@1400f8300 12 ok +0x1400f8310 Unwind@1400f8310 12 ok +0x1400f8320 Unwind@1400f8320 12 ok +0x1400f8330 Unwind@1400f8330 19 ok +0x1400f8350 Unwind@1400f8350 16 ok +0x1400f8360 Unwind@1400f8360 16 ok +0x1400f8370 Unwind@1400f8370 16 ok +0x1400f8380 Unwind@1400f8380 19 ok +0x1400f83a0 Unwind@1400f83a0 19 ok +0x1400f83c0 Unwind@1400f83c0 19 ok +0x1400f83e0 Unwind@1400f83e0 19 ok +0x1400f8400 Unwind@1400f8400 19 ok +0x1400f8420 Unwind@1400f8420 19 ok +0x1400f8440 Unwind@1400f8440 19 ok +0x1400f8460 Unwind@1400f8460 12 ok +0x1400f8470 Unwind@1400f8470 12 ok +0x1400f8480 Unwind@1400f8480 19 ok +0x1400f84a0 Unwind@1400f84a0 12 ok +0x1400f84b0 Unwind@1400f84b0 19 ok +0x1400f84d0 Unwind@1400f84d0 16 ok +0x1400f84e0 Unwind@1400f84e0 12 ok +0x1400f84f0 Unwind@1400f84f0 19 ok +0x1400f8510 Unwind@1400f8510 16 ok +0x1400f8520 Unwind@1400f8520 16 ok +0x1400f8530 Unwind@1400f8530 16 ok +0x1400f8540 Unwind@1400f8540 19 ok +0x1400f8560 Unwind@1400f8560 19 ok +0x1400f8580 Unwind@1400f8580 19 ok +0x1400f85a0 Unwind@1400f85a0 19 ok +0x1400f85c0 Unwind@1400f85c0 19 ok +0x1400f85e0 Unwind@1400f85e0 19 ok +0x1400f8600 Unwind@1400f8600 19 ok +0x1400f8620 Unwind@1400f8620 12 ok +0x1400f8630 Unwind@1400f8630 32 ok +0x1400f8650 Unwind@1400f8650 12 ok +0x1400f8660 Unwind@1400f8660 12 ok +0x1400f8670 Unwind@1400f8670 12 ok +0x1400f8680 Unwind@1400f8680 16 ok +0x1400f8690 Unwind@1400f8690 12 ok +0x1400f86a0 Unwind@1400f86a0 12 ok +0x1400f86b0 Unwind@1400f86b0 12 ok +0x1400f86c0 Unwind@1400f86c0 12 ok +0x1400f86d0 Unwind@1400f86d0 12 ok +0x1400f86e0 Unwind@1400f86e0 12 ok +0x1400f86f0 Unwind@1400f86f0 12 ok +0x1400f8700 Unwind@1400f8700 19 ok +0x1400f8720 Unwind@1400f8720 12 ok +0x1400f8730 Unwind@1400f8730 16 ok +0x1400f8740 Unwind@1400f8740 12 ok +0x1400f8750 Unwind@1400f8750 12 ok +0x1400f8760 Unwind@1400f8760 16 ok +0x1400f8770 Unwind@1400f8770 16 ok +0x1400f8780 Unwind@1400f8780 16 ok +0x1400f8790 Unwind@1400f8790 16 ok +0x1400f87a0 Unwind@1400f87a0 16 ok +0x1400f87b0 Unwind@1400f87b0 16 ok +0x1400f87c0 Unwind@1400f87c0 16 ok +0x1400f87d0 Unwind@1400f87d0 16 ok +0x1400f87e0 Unwind@1400f87e0 16 ok +0x1400f87f0 Unwind@1400f87f0 16 ok +0x1400f8800 Unwind@1400f8800 16 ok +0x1400f8810 Unwind@1400f8810 16 ok +0x1400f8820 Unwind@1400f8820 16 ok +0x1400f8830 Unwind@1400f8830 16 ok +0x1400f8840 Unwind@1400f8840 12 ok +0x1400f8850 Unwind@1400f8850 16 ok +0x1400f8860 Unwind@1400f8860 16 ok +0x1400f8870 Catch_All@1400f8870 26 ok +0x1400f8890 Unwind@1400f8890 12 ok +0x1400f88a0 Unwind@1400f88a0 12 ok +0x1400f88b0 Unwind@1400f88b0 16 ok +0x1400f88c0 Unwind@1400f88c0 16 ok +0x1400f88d0 Catch@1400f88d0 37 ok +0x1400f8900 Unwind@1400f8900 12 ok +0x1400f8910 Catch@1400f8910 37 ok +0x1400f8940 Unwind@1400f8940 12 ok +0x1400f8950 Unwind@1400f8950 22 ok +0x1400f8970 Unwind@1400f8970 12 ok +0x1400f8980 Unwind@1400f8980 12 ok +0x1400f8990 Unwind@1400f8990 12 ok +0x1400f89a0 Unwind@1400f89a0 12 ok +0x1400f89b0 Unwind@1400f89b0 12 ok +0x1400f89c0 Unwind@1400f89c0 12 ok +0x1400f89d0 Unwind@1400f89d0 12 ok +0x1400f89e0 Unwind@1400f89e0 12 ok +0x1400f89f0 Unwind@1400f89f0 12 ok +0x1400f8a00 Unwind@1400f8a00 12 ok +0x1400f8a10 Unwind@1400f8a10 12 ok +0x1400f8a20 Unwind@1400f8a20 12 ok +0x1400f8a30 Unwind@1400f8a30 12 ok +0x1400f8a40 Unwind@1400f8a40 12 ok +0x1400f8a50 Unwind@1400f8a50 12 ok +0x1400f8a60 Unwind@1400f8a60 16 ok +0x1400f8a70 Unwind@1400f8a70 16 ok +0x1400f8a80 Unwind@1400f8a80 19 ok +0x1400f8aa0 Unwind@1400f8aa0 29 ok +0x1400f8ac0 Unwind@1400f8ac0 38 ok +0x1400f8af0 Unwind@1400f8af0 12 ok +0x1400f8b00 Unwind@1400f8b00 16 ok +0x1400f8b10 Unwind@1400f8b10 16 ok +0x1400f8b20 Unwind@1400f8b20 16 ok +0x1400f8b30 Unwind@1400f8b30 16 ok +0x1400f8b40 Unwind@1400f8b40 16 ok +0x1400f8b50 Unwind@1400f8b50 28 ok +0x1400f8b70 Unwind@1400f8b70 12 ok +0x1400f8b80 Unwind@1400f8b80 16 ok +0x1400f8b90 Unwind@1400f8b90 16 ok +0x1400f8ba0 Unwind@1400f8ba0 12 ok +0x1400f8bb0 Unwind@1400f8bb0 16 ok +0x1400f8bc0 Unwind@1400f8bc0 12 ok +0x1400f8bd0 Unwind@1400f8bd0 19 ok +0x1400f8bf0 Unwind@1400f8bf0 12 ok +0x1400f8c00 Unwind@1400f8c00 19 ok +0x1400f8c20 Unwind@1400f8c20 47 ok +0x1400f8c50 Unwind@1400f8c50 38 ok +0x1400f8c80 Unwind@1400f8c80 12 ok +0x1400f8c90 Unwind@1400f8c90 16 ok +0x1400f8ca0 Unwind@1400f8ca0 12 ok +0x1400f8cb0 Unwind@1400f8cb0 16 ok +0x1400f8cc0 Unwind@1400f8cc0 12 ok +0x1400f8cd0 Unwind@1400f8cd0 12 ok +0x1400f8ce0 Unwind@1400f8ce0 12 ok +0x1400f8cf0 Unwind@1400f8cf0 16 ok +0x1400f8d00 Unwind@1400f8d00 16 ok +0x1400f8d10 Unwind@1400f8d10 12 ok +0x1400f8d20 Unwind@1400f8d20 12 ok +0x1400f8d30 Unwind@1400f8d30 16 ok +0x1400f8d40 Unwind@1400f8d40 16 ok +0x1400f8d50 Unwind@1400f8d50 12 ok +0x1400f8d60 Unwind@1400f8d60 12 ok +0x1400f8d70 Unwind@1400f8d70 12 ok +0x1400f8d80 Unwind@1400f8d80 12 ok +0x1400f8d90 Unwind@1400f8d90 12 ok +0x1400f8da0 Unwind@1400f8da0 12 ok +0x1400f8db0 Unwind@1400f8db0 12 ok +0x1400f8dc0 Unwind@1400f8dc0 12 ok +0x1400f8dd0 Unwind@1400f8dd0 12 ok +0x1400f8de0 Unwind@1400f8de0 12 ok +0x1400f8df0 Unwind@1400f8df0 12 ok +0x1400f8e00 Unwind@1400f8e00 12 ok +0x1400f8e10 Unwind@1400f8e10 38 ok +0x1400f8e40 Unwind@1400f8e40 12 ok +0x1400f8e50 Unwind@1400f8e50 12 ok +0x1400f8e60 Unwind@1400f8e60 12 ok +0x1400f8e70 Unwind@1400f8e70 12 ok +0x1400f8e80 Unwind@1400f8e80 12 ok +0x1400f8e90 Unwind@1400f8e90 12 ok +0x1400f8ea0 Unwind@1400f8ea0 12 ok +0x1400f8eb0 Unwind@1400f8eb0 12 ok +0x1400f8ec0 Unwind@1400f8ec0 12 ok +0x1400f8ed0 Unwind@1400f8ed0 12 ok +0x1400f8ee0 Unwind@1400f8ee0 12 ok +0x1400f8ef0 Unwind@1400f8ef0 12 ok +0x1400f8f00 Unwind@1400f8f00 12 ok +0x1400f8f10 Unwind@1400f8f10 12 ok +0x1400f8f20 Unwind@1400f8f20 12 ok +0x1400f8f30 Unwind@1400f8f30 12 ok +0x1400f8f40 Unwind@1400f8f40 12 ok +0x1400f8f50 Unwind@1400f8f50 12 ok +0x1400f8f60 Unwind@1400f8f60 12 ok +0x1400f8f70 Unwind@1400f8f70 12 ok +0x1400f8f80 Unwind@1400f8f80 12 ok +0x1400f8f90 Unwind@1400f8f90 12 ok +0x1400f8fa0 Unwind@1400f8fa0 12 ok +0x1400f8fb0 Unwind@1400f8fb0 12 ok +0x1400f8fc0 Unwind@1400f8fc0 12 ok +0x1400f8fd0 Unwind@1400f8fd0 12 ok +0x1400f8fe0 Unwind@1400f8fe0 12 ok +0x1400f8ff0 Unwind@1400f8ff0 12 ok +0x1400f9000 Unwind@1400f9000 12 ok +0x1400f9010 Unwind@1400f9010 12 ok +0x1400f9020 Unwind@1400f9020 12 ok +0x1400f9030 Unwind@1400f9030 12 ok +0x1400f9040 Unwind@1400f9040 12 ok +0x1400f9050 Unwind@1400f9050 12 ok +0x1400f9060 Unwind@1400f9060 12 ok +0x1400f9070 Unwind@1400f9070 12 ok +0x1400f9080 Unwind@1400f9080 12 ok +0x1400f9090 Unwind@1400f9090 12 ok +0x1400f90a0 Unwind@1400f90a0 12 ok +0x1400f90b0 Unwind@1400f90b0 12 ok +0x1400f90c0 Unwind@1400f90c0 12 ok +0x1400f90d0 Unwind@1400f90d0 12 ok +0x1400f90e0 Unwind@1400f90e0 12 ok +0x1400f90f0 Unwind@1400f90f0 12 ok +0x1400f9100 Unwind@1400f9100 12 ok +0x1400f9110 Unwind@1400f9110 12 ok +0x1400f9120 Unwind@1400f9120 12 ok +0x1400f9130 Unwind@1400f9130 12 ok +0x1400f9140 Unwind@1400f9140 12 ok +0x1400f9150 Unwind@1400f9150 12 ok +0x1400f9160 Unwind@1400f9160 12 ok +0x1400f9170 Unwind@1400f9170 12 ok +0x1400f9180 Unwind@1400f9180 12 ok +0x1400f9190 Unwind@1400f9190 12 ok +0x1400f91a0 Unwind@1400f91a0 12 ok +0x1400f91b0 Unwind@1400f91b0 12 ok +0x1400f91c0 Unwind@1400f91c0 12 ok +0x1400f91d0 Unwind@1400f91d0 12 ok +0x1400f91e0 Unwind@1400f91e0 12 ok +0x1400f91f0 Unwind@1400f91f0 12 ok +0x1400f9200 Unwind@1400f9200 12 ok +0x1400f9210 Unwind@1400f9210 12 ok +0x1400f9220 Unwind@1400f9220 12 ok +0x1400f9230 Unwind@1400f9230 12 ok +0x1400f9240 Unwind@1400f9240 12 ok +0x1400f9250 Unwind@1400f9250 12 ok +0x1400f9260 Unwind@1400f9260 12 ok +0x1400f9270 Unwind@1400f9270 12 ok +0x1400f9280 Unwind@1400f9280 12 ok +0x1400f9290 Unwind@1400f9290 12 ok +0x1400f92a0 Unwind@1400f92a0 12 ok +0x1400f92b0 Unwind@1400f92b0 12 ok +0x1400f92c0 Unwind@1400f92c0 12 ok +0x1400f92d0 Unwind@1400f92d0 12 ok +0x1400f92e0 Unwind@1400f92e0 12 ok +0x1400f92f0 Unwind@1400f92f0 12 ok +0x1400f9300 Unwind@1400f9300 12 ok +0x1400f9310 Unwind@1400f9310 12 ok +0x1400f9320 Unwind@1400f9320 12 ok +0x1400f9330 Unwind@1400f9330 12 ok +0x1400f9340 Unwind@1400f9340 12 ok +0x1400f9350 Unwind@1400f9350 12 ok +0x1400f9360 Unwind@1400f9360 12 ok +0x1400f9370 Unwind@1400f9370 12 ok +0x1400f9380 Unwind@1400f9380 12 ok +0x1400f9390 Unwind@1400f9390 12 ok +0x1400f93a0 Unwind@1400f93a0 12 ok +0x1400f93b0 Unwind@1400f93b0 12 ok +0x1400f93c0 Unwind@1400f93c0 12 ok +0x1400f93d0 Unwind@1400f93d0 12 ok +0x1400f93e0 Unwind@1400f93e0 12 ok +0x1400f93f0 Unwind@1400f93f0 12 ok +0x1400f9400 Unwind@1400f9400 12 ok +0x1400f9410 Unwind@1400f9410 12 ok +0x1400f9420 Unwind@1400f9420 12 ok +0x1400f9430 Unwind@1400f9430 12 ok +0x1400f9440 Unwind@1400f9440 12 ok +0x1400f9450 Unwind@1400f9450 12 ok +0x1400f9460 Unwind@1400f9460 12 ok +0x1400f9470 Unwind@1400f9470 12 ok +0x1400f9480 Unwind@1400f9480 12 ok +0x1400f9490 Unwind@1400f9490 12 ok +0x1400f94a0 Unwind@1400f94a0 12 ok +0x1400f94b0 Unwind@1400f94b0 12 ok +0x1400f94c0 Unwind@1400f94c0 12 ok +0x1400f94d0 Unwind@1400f94d0 12 ok +0x1400f94e0 Unwind@1400f94e0 12 ok +0x1400f94f0 Unwind@1400f94f0 12 ok +0x1400f9500 Unwind@1400f9500 12 ok +0x1400f9510 Unwind@1400f9510 12 ok +0x1400f9520 Unwind@1400f9520 12 ok +0x1400f9530 Unwind@1400f9530 12 ok +0x1400f9540 Unwind@1400f9540 16 ok +0x1400f9550 Unwind@1400f9550 12 ok +0x1400f9560 Unwind@1400f9560 12 ok +0x1400f9570 Unwind@1400f9570 12 ok +0x1400f9580 Unwind@1400f9580 19 ok +0x1400f95a0 Unwind@1400f95a0 12 ok +0x1400f95b0 Unwind@1400f95b0 19 ok +0x1400f95d0 Unwind@1400f95d0 16 ok +0x1400f95e0 Unwind@1400f95e0 12 ok +0x1400f95f0 Unwind@1400f95f0 12 ok +0x1400f9600 Unwind@1400f9600 19 ok +0x1400f9620 Unwind@1400f9620 12 ok +0x1400f9630 Unwind@1400f9630 19 ok +0x1400f9650 Unwind@1400f9650 16 ok +0x1400f9660 Unwind@1400f9660 12 ok +0x1400f9670 Unwind@1400f9670 12 ok +0x1400f9680 Unwind@1400f9680 19 ok +0x1400f96a0 Unwind@1400f96a0 12 ok +0x1400f96b0 Unwind@1400f96b0 19 ok +0x1400f96d0 Unwind@1400f96d0 16 ok +0x1400f96e0 Unwind@1400f96e0 12 ok +0x1400f96f0 Unwind@1400f96f0 12 ok +0x1400f9700 Unwind@1400f9700 12 ok +0x1400f9710 Unwind@1400f9710 16 ok +0x1400f9720 Unwind@1400f9720 12 ok +0x1400f9730 Unwind@1400f9730 16 ok +0x1400f9740 Unwind@1400f9740 12 ok +0x1400f9750 Unwind@1400f9750 12 ok +0x1400f9760 Unwind@1400f9760 12 ok +0x1400f9770 Unwind@1400f9770 12 ok +0x1400f9780 Unwind@1400f9780 12 ok +0x1400f9790 Unwind@1400f9790 12 ok +0x1400f97a0 Catch@1400f97a0 92 ok +0x1400f9800 Unwind@1400f9800 12 ok +0x1400f9810 Unwind@1400f9810 29 ok +0x1400f9830 Unwind@1400f9830 28 ok +0x1400f9850 Unwind@1400f9850 12 ok +0x1400f9860 Unwind@1400f9860 12 ok +0x1400f9870 Unwind@1400f9870 38 ok +0x1400f98a0 Unwind@1400f98a0 12 ok +0x1400f98b0 Unwind@1400f98b0 12 ok +0x1400f98c0 Unwind@1400f98c0 47 ok +0x1400f98f0 Unwind@1400f98f0 12 ok +0x1400f9900 Unwind@1400f9900 12 ok +0x1400f9910 Unwind@1400f9910 12 ok +0x1400f9920 Unwind@1400f9920 12 ok +0x1400f9930 Unwind@1400f9930 28 ok +0x1400f9950 Unwind@1400f9950 12 ok +0x1400f9960 Unwind@1400f9960 12 ok +0x1400f9970 Unwind@1400f9970 12 ok +0x1400f9980 Unwind@1400f9980 12 ok +0x1400f9990 Unwind@1400f9990 12 ok +0x1400f99a0 Unwind@1400f99a0 12 ok +0x1400f99b0 Unwind@1400f99b0 12 ok +0x1400f99c0 Unwind@1400f99c0 28 ok +0x1400f99e0 Unwind@1400f99e0 12 ok +0x1400f99f0 Unwind@1400f99f0 12 ok +0x1400f9a00 Unwind@1400f9a00 12 ok +0x1400f9a10 Unwind@1400f9a10 12 ok +0x1400f9a20 Unwind@1400f9a20 12 ok +0x1400f9a30 Unwind@1400f9a30 12 ok +0x1400f9a40 Unwind@1400f9a40 12 ok +0x1400f9a50 Unwind@1400f9a50 12 ok +0x1400f9a60 Unwind@1400f9a60 12 ok +0x1400f9a70 Unwind@1400f9a70 12 ok +0x1400f9a80 Unwind@1400f9a80 12 ok +0x1400f9a90 Unwind@1400f9a90 12 ok +0x1400f9aa0 Unwind@1400f9aa0 12 ok +0x1400f9ab0 Unwind@1400f9ab0 12 ok +0x1400f9ac0 Unwind@1400f9ac0 12 ok +0x1400f9ad0 Unwind@1400f9ad0 12 ok +0x1400f9ae0 Unwind@1400f9ae0 12 ok +0x1400f9af0 Unwind@1400f9af0 12 ok +0x1400f9b00 Unwind@1400f9b00 16 ok +0x1400f9b10 Unwind@1400f9b10 12 ok +0x1400f9b20 Unwind@1400f9b20 12 ok +0x1400f9b30 Unwind@1400f9b30 12 ok +0x1400f9b40 Unwind@1400f9b40 12 ok +0x1400f9b50 Unwind@1400f9b50 12 ok +0x1400f9b60 Unwind@1400f9b60 12 ok +0x1400f9b70 Unwind@1400f9b70 12 ok +0x1400f9b80 Unwind@1400f9b80 12 ok +0x1400f9b90 Unwind@1400f9b90 34 ok +0x1400f9bc0 Unwind@1400f9bc0 12 ok +0x1400f9bd0 Unwind@1400f9bd0 12 ok +0x1400f9be0 Unwind@1400f9be0 12 ok +0x1400f9bf0 Unwind@1400f9bf0 12 ok +0x1400f9c00 Unwind@1400f9c00 12 ok +0x1400f9c10 Unwind@1400f9c10 12 ok +0x1400f9c20 Unwind@1400f9c20 12 ok +0x1400f9c30 Unwind@1400f9c30 12 ok +0x1400f9c40 Unwind@1400f9c40 12 ok +0x1400f9c50 Unwind@1400f9c50 12 ok +0x1400f9c60 Unwind@1400f9c60 12 ok +0x1400f9c70 Catch_All@1400f9c70 26 ok +0x1400f9c90 Unwind@1400f9c90 12 ok +0x1400f9ca0 Unwind@1400f9ca0 12 ok +0x1400f9cb0 Unwind@1400f9cb0 12 ok +0x1400f9cc0 Catch@1400f9cc0 100 ok +0x1400f9d30 Unwind@1400f9d30 12 ok +0x1400f9d40 Catch@1400f9d40 100 ok +0x1400f9db0 Unwind@1400f9db0 12 ok +0x1400f9dc0 Catch@1400f9dc0 100 ok +0x1400f9e30 Unwind@1400f9e30 12 ok +0x1400f9e40 Unwind@1400f9e40 32 ok +0x1400f9e60 Unwind@1400f9e60 12 ok +0x1400f9e70 Catch@1400f9e70 100 ok +0x1400f9ee0 Unwind@1400f9ee0 12 ok +0x1400f9ef0 Catch@1400f9ef0 100 ok +0x1400f9f60 Unwind@1400f9f60 12 ok +0x1400f9f70 Catch@1400f9f70 100 ok +0x1400f9fe0 Unwind@1400f9fe0 12 ok +0x1400f9ff0 Unwind@1400f9ff0 12 ok +0x1400fa000 Unwind@1400fa000 32 ok +0x1400fa020 Unwind@1400fa020 12 ok +0x1400fa030 Unwind@1400fa030 12 ok +0x1400fa040 Unwind@1400fa040 12 ok +0x1400fa050 Unwind@1400fa050 12 ok +0x1400fa060 Unwind@1400fa060 12 ok +0x1400fa070 Unwind@1400fa070 12 ok +0x1400fa080 Unwind@1400fa080 12 ok +0x1400fa090 Unwind@1400fa090 12 ok +0x1400fa0a0 Unwind@1400fa0a0 12 ok +0x1400fa0b0 Unwind@1400fa0b0 12 ok +0x1400fa0c0 Catch@1400fa0c0 100 ok +0x1400fa130 Unwind@1400fa130 12 ok +0x1400fa140 Catch@1400fa140 100 ok +0x1400fa1b0 Unwind@1400fa1b0 12 ok +0x1400fa1c0 Catch@1400fa1c0 100 ok +0x1400fa230 Unwind@1400fa230 12 ok +0x1400fa240 Unwind@1400fa240 12 ok +0x1400fa250 Unwind@1400fa250 12 ok +0x1400fa260 Unwind@1400fa260 12 ok +0x1400fa270 Unwind@1400fa270 12 ok +0x1400fa280 Unwind@1400fa280 12 ok +0x1400fa290 Unwind@1400fa290 12 ok +0x1400fa2a0 Unwind@1400fa2a0 38 ok +0x1400fa2d0 Unwind@1400fa2d0 12 ok +0x1400fa2e0 Unwind@1400fa2e0 12 ok +0x1400fa2f0 Unwind@1400fa2f0 12 ok +0x1400fa300 Unwind@1400fa300 12 ok +0x1400fa310 Unwind@1400fa310 12 ok +0x1400fa320 Unwind@1400fa320 12 ok +0x1400fa330 Unwind@1400fa330 12 ok +0x1400fa340 Unwind@1400fa340 12 ok +0x1400fa350 Unwind@1400fa350 12 ok +0x1400fa360 Unwind@1400fa360 12 ok +0x1400fa370 Unwind@1400fa370 12 ok +0x1400fa380 Unwind@1400fa380 12 ok +0x1400fa390 Unwind@1400fa390 12 ok +0x1400fa3a0 Unwind@1400fa3a0 12 ok +0x1400fa3b0 Unwind@1400fa3b0 12 ok +0x1400fa3c0 Unwind@1400fa3c0 12 ok +0x1400fa3d0 Unwind@1400fa3d0 31 ok +0x1400fa3f0 Unwind@1400fa3f0 16 ok +0x1400fa400 Unwind@1400fa400 19 ok +0x1400fa420 Catch@1400fa420 58 ok +0x1400fa460 Unwind@1400fa460 12 ok +0x1400fa470 Unwind@1400fa470 12 ok +0x1400fa480 Unwind@1400fa480 12 ok +0x1400fa490 Unwind@1400fa490 12 ok +0x1400fa4a0 Unwind@1400fa4a0 19 ok +0x1400fa4c0 Unwind@1400fa4c0 12 ok +0x1400fa4d0 Unwind@1400fa4d0 19 ok +0x1400fa4f0 Unwind@1400fa4f0 19 ok +0x1400fa510 Unwind@1400fa510 12 ok +0x1400fa520 Unwind@1400fa520 19 ok +0x1400fa540 Unwind@1400fa540 16 ok +0x1400fa550 Unwind@1400fa550 12 ok +0x1400fa560 Unwind@1400fa560 12 ok +0x1400fa570 Unwind@1400fa570 12 ok +0x1400fa580 Unwind@1400fa580 12 ok +0x1400fa590 Unwind@1400fa590 12 ok +0x1400fa5a0 Unwind@1400fa5a0 12 ok +0x1400fa5b0 Unwind@1400fa5b0 12 ok +0x1400fa5c0 Unwind@1400fa5c0 19 ok +0x1400fa5e0 Unwind@1400fa5e0 12 ok +0x1400fa5f0 Unwind@1400fa5f0 19 ok +0x1400fa610 Unwind@1400fa610 19 ok +0x1400fa630 Unwind@1400fa630 16 ok +0x1400fa640 Unwind@1400fa640 16 ok +0x1400fa650 Unwind@1400fa650 12 ok +0x1400fa660 Unwind@1400fa660 12 ok +0x1400fa670 Catch_All@1400fa670 26 ok +0x1400fa690 Unwind@1400fa690 16 ok +0x1400fa6a0 Unwind@1400fa6a0 12 ok +0x1400fa6b0 Unwind@1400fa6b0 12 ok +0x1400fa6c0 Unwind@1400fa6c0 47 ok +0x1400fa6f0 Unwind@1400fa6f0 12 ok +0x1400fa700 Unwind@1400fa700 12 ok +0x1400fa710 Unwind@1400fa710 16 ok +0x1400fa720 Unwind@1400fa720 16 ok +0x1400fa730 Unwind@1400fa730 12 ok +0x1400fa740 Unwind@1400fa740 12 ok +0x1400fa750 Unwind@1400fa750 12 ok +0x1400fa760 Unwind@1400fa760 12 ok +0x1400fa770 Unwind@1400fa770 12 ok +0x1400fa780 Unwind@1400fa780 12 ok +0x1400fa790 Unwind@1400fa790 12 ok +0x1400fa7a0 Unwind@1400fa7a0 12 ok +0x1400fa7b0 Unwind@1400fa7b0 12 ok +0x1400fa7c0 Unwind@1400fa7c0 12 ok +0x1400fa7d0 Unwind@1400fa7d0 12 ok +0x1400fa7e0 Unwind@1400fa7e0 12 ok +0x1400fa7f0 Unwind@1400fa7f0 12 ok +0x1400fa800 Unwind@1400fa800 12 ok +0x1400fa810 Unwind@1400fa810 12 ok +0x1400fa820 Unwind@1400fa820 12 ok +0x1400fa830 Unwind@1400fa830 12 ok +0x1400fa840 Unwind@1400fa840 12 ok +0x1400fa850 Unwind@1400fa850 12 ok +0x1400fa860 Unwind@1400fa860 16 ok +0x1400fa870 Unwind@1400fa870 16 ok +0x1400fa880 Unwind@1400fa880 16 ok +0x1400fa890 Unwind@1400fa890 16 ok +0x1400fa8a0 Unwind@1400fa8a0 19 ok +0x1400fa8c0 Unwind@1400fa8c0 19 ok +0x1400fa8e0 Unwind@1400fa8e0 19 ok +0x1400fa900 Unwind@1400fa900 19 ok +0x1400fa920 Unwind@1400fa920 19 ok +0x1400fa940 Unwind@1400fa940 19 ok +0x1400fa960 Unwind@1400fa960 19 ok +0x1400fa980 Unwind@1400fa980 19 ok +0x1400fa9a0 Unwind@1400fa9a0 19 ok +0x1400fa9c0 Unwind@1400fa9c0 19 ok +0x1400fa9e0 Unwind@1400fa9e0 19 ok +0x1400faa00 Unwind@1400faa00 19 ok +0x1400faa20 Unwind@1400faa20 19 ok +0x1400faa40 Unwind@1400faa40 19 ok +0x1400faa60 Unwind@1400faa60 19 ok +0x1400faa80 Unwind@1400faa80 19 ok +0x1400faaa0 Unwind@1400faaa0 19 ok +0x1400faac0 Unwind@1400faac0 19 ok +0x1400faae0 Unwind@1400faae0 19 ok +0x1400fab00 Unwind@1400fab00 19 ok +0x1400fab20 Unwind@1400fab20 19 ok +0x1400fab40 Unwind@1400fab40 19 ok +0x1400fab60 Unwind@1400fab60 19 ok +0x1400fab80 Unwind@1400fab80 19 ok +0x1400faba0 Unwind@1400faba0 19 ok +0x1400fabc0 Unwind@1400fabc0 19 ok +0x1400fabe0 Unwind@1400fabe0 19 ok +0x1400fac00 Unwind@1400fac00 19 ok +0x1400fac20 Unwind@1400fac20 19 ok +0x1400fac40 Unwind@1400fac40 19 ok +0x1400fac60 Unwind@1400fac60 12 ok +0x1400fac70 Unwind@1400fac70 12 ok +0x1400fac80 Unwind@1400fac80 12 ok +0x1400fac90 Unwind@1400fac90 12 ok +0x1400faca0 Unwind@1400faca0 12 ok +0x1400facb0 Unwind@1400facb0 12 ok +0x1400facc0 Unwind@1400facc0 16 ok +0x1400facd0 Unwind@1400facd0 12 ok +0x1400face0 Unwind@1400face0 16 ok +0x1400facf0 Unwind@1400facf0 16 ok +0x1400fad00 Unwind@1400fad00 12 ok +0x1400fad10 Unwind@1400fad10 16 ok +0x1400fad20 Unwind@1400fad20 16 ok +0x1400fad30 Unwind@1400fad30 12 ok +0x1400fad40 Unwind@1400fad40 16 ok +0x1400fad50 Unwind@1400fad50 16 ok +0x1400fad60 Unwind@1400fad60 16 ok +0x1400fad70 Unwind@1400fad70 16 ok +0x1400fad80 Unwind@1400fad80 16 ok +0x1400fad90 Unwind@1400fad90 16 ok +0x1400fada0 Unwind@1400fada0 16 ok +0x1400fadb0 Unwind@1400fadb0 12 ok +0x1400fadc0 Unwind@1400fadc0 12 ok +0x1400fadd0 Unwind@1400fadd0 34 ok +0x1400fae00 Unwind@1400fae00 16 ok +0x1400fae10 Unwind@1400fae10 16 ok +0x1400fae20 Unwind@1400fae20 16 ok +0x1400fae30 Unwind@1400fae30 16 ok +0x1400fae40 Unwind@1400fae40 16 ok +0x1400fae50 Unwind@1400fae50 16 ok +0x1400fae60 Unwind@1400fae60 16 ok +0x1400fae70 Unwind@1400fae70 16 ok +0x1400fae80 Unwind@1400fae80 16 ok +0x1400fae90 Unwind@1400fae90 12 ok +0x1400faea0 Unwind@1400faea0 12 ok +0x1400faeb0 Unwind@1400faeb0 12 ok +0x1400faec0 Unwind@1400faec0 12 ok +0x1400faed0 Unwind@1400faed0 16 ok +0x1400faee0 Unwind@1400faee0 12 ok +0x1400faef0 Unwind@1400faef0 12 ok +0x1400faf00 Unwind@1400faf00 16 ok +0x1400faf10 Unwind@1400faf10 16 ok +0x1400faf20 Unwind@1400faf20 16 ok +0x1400faf30 Unwind@1400faf30 12 ok +0x1400faf40 Unwind@1400faf40 12 ok +0x1400faf50 Unwind@1400faf50 12 ok +0x1400faf60 Unwind@1400faf60 12 ok +0x1400faf70 Unwind@1400faf70 12 ok +0x1400faf80 Unwind@1400faf80 12 ok +0x1400faf90 Unwind@1400faf90 12 ok +0x1400fafa0 Unwind@1400fafa0 12 ok +0x1400fafb0 Unwind@1400fafb0 12 ok +0x1400fafc0 Unwind@1400fafc0 12 ok +0x1400fafd0 Unwind@1400fafd0 12 ok +0x1400fafe0 Unwind@1400fafe0 12 ok +0x1400faff0 Unwind@1400faff0 16 ok +0x1400fb000 Unwind@1400fb000 16 ok +0x1400fb010 Unwind@1400fb010 12 ok +0x1400fb020 Unwind@1400fb020 12 ok +0x1400fb030 Unwind@1400fb030 12 ok +0x1400fb040 Unwind@1400fb040 12 ok +0x1400fb050 Unwind@1400fb050 12 ok +0x1400fb060 Unwind@1400fb060 12 ok +0x1400fb070 Unwind@1400fb070 16 ok +0x1400fb080 Unwind@1400fb080 16 ok +0x1400fb090 Unwind@1400fb090 12 ok +0x1400fb0a0 Unwind@1400fb0a0 12 ok +0x1400fb0b0 Unwind@1400fb0b0 12 ok +0x1400fb0c0 Unwind@1400fb0c0 12 ok +0x1400fb0d0 Unwind@1400fb0d0 16 ok +0x1400fb0e0 Unwind@1400fb0e0 16 ok +0x1400fb0f0 Unwind@1400fb0f0 12 ok +0x1400fb100 Unwind@1400fb100 16 ok +0x1400fb110 Unwind@1400fb110 16 ok +0x1400fb120 Unwind@1400fb120 16 ok +0x1400fb130 Unwind@1400fb130 16 ok +0x1400fb140 Unwind@1400fb140 16 ok +0x1400fb150 Unwind@1400fb150 16 ok +0x1400fb160 Unwind@1400fb160 16 ok +0x1400fb170 Unwind@1400fb170 12 ok +0x1400fb180 Unwind@1400fb180 12 ok +0x1400fb190 Unwind@1400fb190 12 ok +0x1400fb1a0 Unwind@1400fb1a0 16 ok +0x1400fb1b0 Unwind@1400fb1b0 16 ok +0x1400fb1c0 Unwind@1400fb1c0 12 ok +0x1400fb1d0 Unwind@1400fb1d0 12 ok +0x1400fb1e0 Unwind@1400fb1e0 12 ok +0x1400fb1f0 Unwind@1400fb1f0 16 ok +0x1400fb200 Unwind@1400fb200 16 ok +0x1400fb210 Unwind@1400fb210 16 ok +0x1400fb220 Unwind@1400fb220 16 ok +0x1400fb230 Unwind@1400fb230 19 ok +0x1400fb250 Unwind@1400fb250 19 ok +0x1400fb270 Unwind@1400fb270 19 ok +0x1400fb290 Unwind@1400fb290 19 ok +0x1400fb2b0 Unwind@1400fb2b0 19 ok +0x1400fb2d0 Unwind@1400fb2d0 19 ok +0x1400fb2f0 Unwind@1400fb2f0 19 ok +0x1400fb310 Unwind@1400fb310 19 ok +0x1400fb330 Unwind@1400fb330 19 ok +0x1400fb350 Unwind@1400fb350 19 ok +0x1400fb370 Unwind@1400fb370 19 ok +0x1400fb390 Unwind@1400fb390 19 ok +0x1400fb3b0 Unwind@1400fb3b0 12 ok +0x1400fb3c0 Unwind@1400fb3c0 19 ok +0x1400fb3e0 Unwind@1400fb3e0 19 ok +0x1400fb400 Unwind@1400fb400 19 ok +0x1400fb420 Unwind@1400fb420 19 ok +0x1400fb440 Unwind@1400fb440 19 ok +0x1400fb460 Unwind@1400fb460 19 ok +0x1400fb480 Unwind@1400fb480 19 ok +0x1400fb4a0 Unwind@1400fb4a0 19 ok +0x1400fb4c0 Unwind@1400fb4c0 19 ok +0x1400fb4e0 Unwind@1400fb4e0 19 ok +0x1400fb500 Unwind@1400fb500 19 ok +0x1400fb520 Unwind@1400fb520 19 ok +0x1400fb540 Unwind@1400fb540 19 ok +0x1400fb560 Unwind@1400fb560 19 ok +0x1400fb580 Unwind@1400fb580 12 ok +0x1400fb590 Unwind@1400fb590 19 ok +0x1400fb5b0 Unwind@1400fb5b0 19 ok +0x1400fb5d0 Unwind@1400fb5d0 12 ok +0x1400fb5e0 Unwind@1400fb5e0 19 ok +0x1400fb600 Unwind@1400fb600 19 ok +0x1400fb620 Unwind@1400fb620 12 ok +0x1400fb630 Unwind@1400fb630 12 ok +0x1400fb640 Unwind@1400fb640 12 ok +0x1400fb650 Unwind@1400fb650 12 ok +0x1400fb660 Unwind@1400fb660 16 ok +0x1400fb670 Unwind@1400fb670 16 ok +0x1400fb680 Unwind@1400fb680 12 ok +0x1400fb690 Unwind@1400fb690 32 ok +0x1400fb6b0 Unwind@1400fb6b0 31 ok +0x1400fb6d0 Unwind@1400fb6d0 12 ok +0x1400fb6e0 Unwind@1400fb6e0 12 ok +0x1400fb6f0 Unwind@1400fb6f0 12 ok +0x1400fb700 Unwind@1400fb700 16 ok +0x1400fb710 Unwind@1400fb710 16 ok +0x1400fb720 Unwind@1400fb720 16 ok +0x1400fb730 Unwind@1400fb730 16 ok +0x1400fb740 Unwind@1400fb740 16 ok +0x1400fb750 Unwind@1400fb750 16 ok +0x1400fb760 Unwind@1400fb760 16 ok +0x1400fb770 Unwind@1400fb770 12 ok +0x1400fb780 Unwind@1400fb780 12 ok +0x1400fb790 Unwind@1400fb790 16 ok +0x1400fb7a0 Unwind@1400fb7a0 16 ok +0x1400fb7b0 Unwind@1400fb7b0 12 ok +0x1400fb7c0 Unwind@1400fb7c0 32 ok +0x1400fb7e0 Unwind@1400fb7e0 34 ok +0x1400fb810 Unwind@1400fb810 12 ok +0x1400fb820 Unwind@1400fb820 12 ok +0x1400fb830 Unwind@1400fb830 16 ok +0x1400fb840 Unwind@1400fb840 16 ok +0x1400fb850 Unwind@1400fb850 16 ok +0x1400fb860 Unwind@1400fb860 16 ok +0x1400fb870 Unwind@1400fb870 16 ok +0x1400fb880 Unwind@1400fb880 16 ok +0x1400fb890 Unwind@1400fb890 16 ok +0x1400fb8a0 Unwind@1400fb8a0 12 ok +0x1400fb8b0 Unwind@1400fb8b0 16 ok +0x1400fb8c0 Unwind@1400fb8c0 16 ok +0x1400fb8d0 Unwind@1400fb8d0 12 ok +0x1400fb8e0 Unwind@1400fb8e0 32 ok +0x1400fb900 Unwind@1400fb900 34 ok +0x1400fb930 Unwind@1400fb930 12 ok +0x1400fb940 Unwind@1400fb940 12 ok +0x1400fb950 Unwind@1400fb950 16 ok +0x1400fb960 Unwind@1400fb960 16 ok +0x1400fb970 Unwind@1400fb970 16 ok +0x1400fb980 Unwind@1400fb980 16 ok +0x1400fb990 Unwind@1400fb990 16 ok +0x1400fb9a0 Unwind@1400fb9a0 16 ok +0x1400fb9b0 Unwind@1400fb9b0 16 ok +0x1400fb9c0 Unwind@1400fb9c0 12 ok +0x1400fb9d0 Unwind@1400fb9d0 12 ok +0x1400fb9e0 Unwind@1400fb9e0 12 ok +0x1400fb9f0 Unwind@1400fb9f0 12 ok +0x1400fba00 Unwind@1400fba00 12 ok +0x1400fba10 Unwind@1400fba10 12 ok +0x1400fba20 Unwind@1400fba20 12 ok +0x1400fba30 Unwind@1400fba30 12 ok +0x1400fba40 Unwind@1400fba40 12 ok +0x1400fba50 Unwind@1400fba50 12 ok +0x1400fba60 Unwind@1400fba60 12 ok +0x1400fba70 Unwind@1400fba70 12 ok +0x1400fba80 Unwind@1400fba80 12 ok +0x1400fba90 Unwind@1400fba90 12 ok +0x1400fbaa0 Unwind@1400fbaa0 12 ok +0x1400fbab0 Unwind@1400fbab0 12 ok +0x1400fbac0 Unwind@1400fbac0 12 ok +0x1400fbad0 Unwind@1400fbad0 12 ok +0x1400fbae0 Unwind@1400fbae0 12 ok +0x1400fbaf0 Unwind@1400fbaf0 12 ok +0x1400fbb00 Unwind@1400fbb00 12 ok +0x1400fbb10 Unwind@1400fbb10 12 ok +0x1400fbb20 Unwind@1400fbb20 16 ok +0x1400fbb30 Unwind@1400fbb30 16 ok +0x1400fbb40 Unwind@1400fbb40 12 ok +0x1400fbb50 Unwind@1400fbb50 32 ok +0x1400fbb70 Unwind@1400fbb70 34 ok +0x1400fbba0 Unwind@1400fbba0 12 ok +0x1400fbbb0 Unwind@1400fbbb0 12 ok +0x1400fbbc0 Unwind@1400fbbc0 12 ok +0x1400fbbd0 Unwind@1400fbbd0 12 ok +0x1400fbbe0 Unwind@1400fbbe0 12 ok +0x1400fbbf0 Unwind@1400fbbf0 12 ok +0x1400fbc00 Unwind@1400fbc00 12 ok +0x1400fbc10 Unwind@1400fbc10 12 ok +0x1400fbc20 Unwind@1400fbc20 12 ok +0x1400fbc30 Unwind@1400fbc30 12 ok +0x1400fbc40 Unwind@1400fbc40 12 ok +0x1400fbc50 Unwind@1400fbc50 12 ok +0x1400fbc60 Unwind@1400fbc60 12 ok +0x1400fbc70 Unwind@1400fbc70 12 ok +0x1400fbc80 Unwind@1400fbc80 12 ok +0x1400fbc90 Unwind@1400fbc90 16 ok +0x1400fbca0 Unwind@1400fbca0 16 ok +0x1400fbcb0 Unwind@1400fbcb0 16 ok +0x1400fbcc0 Unwind@1400fbcc0 16 ok +0x1400fbcd0 Unwind@1400fbcd0 16 ok +0x1400fbce0 Unwind@1400fbce0 16 ok +0x1400fbcf0 Unwind@1400fbcf0 16 ok +0x1400fbd00 Unwind@1400fbd00 16 ok +0x1400fbd10 Unwind@1400fbd10 16 ok +0x1400fbd20 Unwind@1400fbd20 12 ok +0x1400fbd30 Unwind@1400fbd30 32 ok +0x1400fbd50 Unwind@1400fbd50 31 ok +0x1400fbd70 Unwind@1400fbd70 12 ok +0x1400fbd80 Unwind@1400fbd80 12 ok +0x1400fbd90 Unwind@1400fbd90 16 ok +0x1400fbda0 Unwind@1400fbda0 16 ok +0x1400fbdb0 Unwind@1400fbdb0 16 ok +0x1400fbdc0 Unwind@1400fbdc0 16 ok +0x1400fbdd0 Unwind@1400fbdd0 16 ok +0x1400fbde0 Unwind@1400fbde0 16 ok +0x1400fbdf0 Unwind@1400fbdf0 16 ok +0x1400fbe00 FUN_1400fbe00 33 ok +0x1400fbe30 Unwind@1400fbe30 16 ok +0x1400fbe40 Unwind@1400fbe40 12 ok +0x1400fbe50 Unwind@1400fbe50 12 ok +0x1400fbe60 Unwind@1400fbe60 12 ok +0x1400fbe70 Unwind@1400fbe70 22 ok +0x1400fbe90 Unwind@1400fbe90 12 ok +0x1400fbea0 Unwind@1400fbea0 12 ok +0x1400fbeb0 Unwind@1400fbeb0 16 ok +0x1400fbec0 Unwind@1400fbec0 12 ok +0x1400fbed0 Unwind@1400fbed0 12 ok +0x1400fbee0 Unwind@1400fbee0 16 ok +0x1400fbef0 Unwind@1400fbef0 16 ok +0x1400fbf00 Unwind@1400fbf00 12 ok +0x1400fbf10 Unwind@1400fbf10 12 ok +0x1400fbf20 Unwind@1400fbf20 12 ok +0x1400fbf30 Unwind@1400fbf30 12 ok +0x1400fbf40 Unwind@1400fbf40 12 ok +0x1400fbf50 Unwind@1400fbf50 12 ok +0x1400fbf60 Unwind@1400fbf60 12 ok +0x1400fbf70 Unwind@1400fbf70 12 ok +0x1400fbf80 Unwind@1400fbf80 12 ok +0x1400fbf90 Unwind@1400fbf90 12 ok +0x1400fbfa0 Unwind@1400fbfa0 12 ok +0x1400fbfb0 Unwind@1400fbfb0 12 ok +0x1400fbfc0 Unwind@1400fbfc0 12 ok +0x1400fbfd0 Unwind@1400fbfd0 12 ok +0x1400fbfe0 Unwind@1400fbfe0 16 ok +0x1400fbff0 Unwind@1400fbff0 12 ok +0x1400fc000 Unwind@1400fc000 12 ok +0x1400fc010 Unwind@1400fc010 16 ok +0x1400fc020 Unwind@1400fc020 12 ok +0x1400fc030 Unwind@1400fc030 12 ok +0x1400fc040 Unwind@1400fc040 12 ok +0x1400fc050 Unwind@1400fc050 12 ok +0x1400fc060 Unwind@1400fc060 12 ok +0x1400fc070 Unwind@1400fc070 12 ok +0x1400fc080 Unwind@1400fc080 12 ok +0x1400fc090 Unwind@1400fc090 12 ok +0x1400fc0a0 Unwind@1400fc0a0 12 ok +0x1400fc0b0 Unwind@1400fc0b0 19 ok +0x1400fc0d0 Unwind@1400fc0d0 12 ok +0x1400fc0e0 Unwind@1400fc0e0 19 ok +0x1400fc100 Unwind@1400fc100 16 ok +0x1400fc110 Unwind@1400fc110 12 ok +0x1400fc120 Unwind@1400fc120 12 ok +0x1400fc130 Unwind@1400fc130 16 ok +0x1400fc140 Unwind@1400fc140 12 ok +0x1400fc150 Unwind@1400fc150 12 ok +0x1400fc160 Unwind@1400fc160 12 ok +0x1400fc170 Unwind@1400fc170 28 ok +0x1400fc190 Unwind@1400fc190 12 ok +0x1400fc1a0 Unwind@1400fc1a0 12 ok +0x1400fc1b0 Unwind@1400fc1b0 12 ok +0x1400fc1c0 Unwind@1400fc1c0 12 ok +0x1400fc1d0 Unwind@1400fc1d0 12 ok +0x1400fc1e0 Unwind@1400fc1e0 16 ok +0x1400fc1f0 Unwind@1400fc1f0 16 ok +0x1400fc200 Unwind@1400fc200 12 ok +0x1400fc210 Unwind@1400fc210 12 ok +0x1400fc220 Unwind@1400fc220 12 ok +0x1400fc230 Unwind@1400fc230 12 ok +0x1400fc240 Unwind@1400fc240 12 ok +0x1400fc250 Unwind@1400fc250 12 ok +0x1400fc260 Unwind@1400fc260 12 ok +0x1400fc270 Unwind@1400fc270 12 ok +0x1400fc280 Unwind@1400fc280 12 ok +0x1400fc290 Catch@1400fc290 217 ok +0x1400fc370 Unwind@1400fc370 12 ok +0x1400fc380 Unwind@1400fc380 12 ok +0x1400fc390 Unwind@1400fc390 12 ok +0x1400fc3a0 Unwind@1400fc3a0 12 ok +0x1400fc3b0 Unwind@1400fc3b0 12 ok +0x1400fc3c0 Unwind@1400fc3c0 12 ok +0x1400fc3d0 Catch@1400fc3d0 217 ok +0x1400fc4b0 Unwind@1400fc4b0 12 ok +0x1400fc4c0 Unwind@1400fc4c0 12 ok +0x1400fc4d0 Unwind@1400fc4d0 12 ok +0x1400fc4e0 Unwind@1400fc4e0 12 ok +0x1400fc4f0 Unwind@1400fc4f0 12 ok +0x1400fc500 Unwind@1400fc500 16 ok +0x1400fc510 Unwind@1400fc510 12 ok +0x1400fc520 Unwind@1400fc520 12 ok +0x1400fc530 Unwind@1400fc530 19 ok +0x1400fc550 Unwind@1400fc550 12 ok +0x1400fc560 Unwind@1400fc560 19 ok +0x1400fc580 Unwind@1400fc580 16 ok +0x1400fc590 Unwind@1400fc590 12 ok +0x1400fc5a0 Unwind@1400fc5a0 12 ok +0x1400fc5b0 Unwind@1400fc5b0 12 ok +0x1400fc5c0 Unwind@1400fc5c0 12 ok +0x1400fc5d0 Unwind@1400fc5d0 12 ok +0x1400fc5e0 Unwind@1400fc5e0 16 ok +0x1400fc5f0 Unwind@1400fc5f0 12 ok +0x1400fc600 Unwind@1400fc600 16 ok +0x1400fc610 Unwind@1400fc610 12 ok +0x1400fc620 Unwind@1400fc620 12 ok +0x1400fc630 Unwind@1400fc630 12 ok +0x1400fc640 Unwind@1400fc640 12 ok +0x1400fc650 Unwind@1400fc650 12 ok +0x1400fc660 Unwind@1400fc660 12 ok +0x1400fc670 Unwind@1400fc670 16 ok +0x1400fc680 Unwind@1400fc680 16 ok +0x1400fc690 Unwind@1400fc690 16 ok +0x1400fc6a0 Unwind@1400fc6a0 12 ok +0x1400fc6b0 Unwind@1400fc6b0 16 ok +0x1400fc6c0 Unwind@1400fc6c0 12 ok +0x1400fc6d0 Unwind@1400fc6d0 16 ok +0x1400fc6e0 Unwind@1400fc6e0 12 ok +0x1400fc6f0 Unwind@1400fc6f0 12 ok +0x1400fc700 Unwind@1400fc700 12 ok +0x1400fc710 Unwind@1400fc710 12 ok +0x1400fc720 Unwind@1400fc720 12 ok +0x1400fc730 Unwind@1400fc730 16 ok +0x1400fc740 Unwind@1400fc740 16 ok +0x1400fc750 Unwind@1400fc750 16 ok +0x1400fc760 Unwind@1400fc760 12 ok +0x1400fc770 Unwind@1400fc770 12 ok +0x1400fc780 Unwind@1400fc780 12 ok +0x1400fc790 Unwind@1400fc790 12 ok +0x1400fc7a0 Unwind@1400fc7a0 12 ok +0x1400fc7b0 Unwind@1400fc7b0 16 ok +0x1400fc7c0 Unwind@1400fc7c0 16 ok +0x1400fc7d0 Unwind@1400fc7d0 16 ok +0x1400fc7e0 Unwind@1400fc7e0 19 ok +0x1400fc800 Unwind@1400fc800 19 ok +0x1400fc820 Unwind@1400fc820 19 ok +0x1400fc840 Unwind@1400fc840 19 ok +0x1400fc860 Unwind@1400fc860 19 ok +0x1400fc880 Unwind@1400fc880 19 ok +0x1400fc8a0 Unwind@1400fc8a0 19 ok +0x1400fc8c0 Unwind@1400fc8c0 19 ok +0x1400fc8e0 Unwind@1400fc8e0 16 ok +0x1400fc8f0 Unwind@1400fc8f0 16 ok +0x1400fc900 Unwind@1400fc900 12 ok +0x1400fc910 Unwind@1400fc910 32 ok +0x1400fc930 Unwind@1400fc930 34 ok +0x1400fc960 Unwind@1400fc960 12 ok +0x1400fc970 Unwind@1400fc970 12 ok +0x1400fc980 Unwind@1400fc980 16 ok +0x1400fc990 Unwind@1400fc990 16 ok +0x1400fc9a0 Unwind@1400fc9a0 16 ok +0x1400fc9b0 Unwind@1400fc9b0 16 ok +0x1400fc9c0 Unwind@1400fc9c0 16 ok +0x1400fc9d0 Unwind@1400fc9d0 16 ok +0x1400fc9e0 Unwind@1400fc9e0 16 ok +0x1400fc9f0 Unwind@1400fc9f0 12 ok +0x1400fca00 Unwind@1400fca00 12 ok +0x1400fca10 Unwind@1400fca10 12 ok +0x1400fca20 Unwind@1400fca20 12 ok +0x1400fca30 Unwind@1400fca30 16 ok +0x1400fca40 Unwind@1400fca40 12 ok +0x1400fca50 Unwind@1400fca50 12 ok +0x1400fca60 Unwind@1400fca60 12 ok +0x1400fca70 Unwind@1400fca70 12 ok +0x1400fca80 Unwind@1400fca80 12 ok +0x1400fca90 Unwind@1400fca90 12 ok +0x1400fcaa0 Unwind@1400fcaa0 12 ok +0x1400fcab0 Unwind@1400fcab0 12 ok +0x1400fcac0 Unwind@1400fcac0 12 ok +0x1400fcad0 Unwind@1400fcad0 12 ok +0x1400fcae0 Unwind@1400fcae0 16 ok +0x1400fcaf0 Unwind@1400fcaf0 12 ok +0x1400fcb00 Unwind@1400fcb00 16 ok +0x1400fcb10 Unwind@1400fcb10 16 ok +0x1400fcb20 Unwind@1400fcb20 12 ok +0x1400fcb30 Unwind@1400fcb30 12 ok +0x1400fcb40 Unwind@1400fcb40 16 ok +0x1400fcb50 Unwind@1400fcb50 12 ok +0x1400fcb60 Unwind@1400fcb60 16 ok +0x1400fcb70 Unwind@1400fcb70 16 ok +0x1400fcb80 Unwind@1400fcb80 12 ok +0x1400fcb90 Unwind@1400fcb90 16 ok +0x1400fcba0 Unwind@1400fcba0 12 ok +0x1400fcbb0 Unwind@1400fcbb0 16 ok +0x1400fcbc0 Unwind@1400fcbc0 12 ok +0x1400fcbd0 Unwind@1400fcbd0 16 ok +0x1400fcbe0 Unwind@1400fcbe0 16 ok +0x1400fcbf0 Unwind@1400fcbf0 12 ok +0x1400fcc00 Unwind@1400fcc00 16 ok +0x1400fcc10 Unwind@1400fcc10 12 ok +0x1400fcc20 Unwind@1400fcc20 16 ok +0x1400fcc30 Unwind@1400fcc30 12 ok +0x1400fcc40 Unwind@1400fcc40 16 ok +0x1400fcc50 Unwind@1400fcc50 12 ok +0x1400fcc60 Unwind@1400fcc60 12 ok +0x1400fcc70 Unwind@1400fcc70 12 ok +0x1400fcc80 Unwind@1400fcc80 12 ok +0x1400fcc90 Unwind@1400fcc90 16 ok +0x1400fcca0 Unwind@1400fcca0 12 ok +0x1400fccb0 Unwind@1400fccb0 12 ok +0x1400fccc0 Unwind@1400fccc0 12 ok +0x1400fccd0 Unwind@1400fccd0 12 ok +0x1400fcce0 Unwind@1400fcce0 12 ok +0x1400fccf0 Unwind@1400fccf0 12 ok +0x1400fcd00 Unwind@1400fcd00 12 ok +0x1400fcd10 Unwind@1400fcd10 16 ok +0x1400fcd20 Unwind@1400fcd20 34 ok +0x1400fcd50 Unwind@1400fcd50 16 ok +0x1400fcd60 Unwind@1400fcd60 12 ok +0x1400fcd70 Unwind@1400fcd70 12 ok +0x1400fcd80 Unwind@1400fcd80 12 ok +0x1400fcd90 Unwind@1400fcd90 12 ok +0x1400fcda0 Unwind@1400fcda0 12 ok +0x1400fcdb0 Unwind@1400fcdb0 12 ok +0x1400fcdc0 Unwind@1400fcdc0 12 ok +0x1400fcdd0 Catch@1400fcdd0 55 ok +0x1400fce10 Unwind@1400fce10 12 ok +0x1400fce20 Catch@1400fce20 55 ok +0x1400fce60 Unwind@1400fce60 12 ok +0x1400fce70 Unwind@1400fce70 12 ok +0x1400fce80 Unwind@1400fce80 12 ok +0x1400fce90 Unwind@1400fce90 12 ok +0x1400fcea0 Unwind@1400fcea0 16 ok +0x1400fceb0 Unwind@1400fceb0 16 ok +0x1400fcec0 Unwind@1400fcec0 16 ok +0x1400fced0 Unwind@1400fced0 19 ok +0x1400fcef0 Unwind@1400fcef0 19 ok +0x1400fcf10 Unwind@1400fcf10 19 ok +0x1400fcf30 Unwind@1400fcf30 19 ok +0x1400fcf50 Unwind@1400fcf50 19 ok +0x1400fcf70 Unwind@1400fcf70 19 ok +0x1400fcf90 Unwind@1400fcf90 19 ok +0x1400fcfb0 Unwind@1400fcfb0 19 ok +0x1400fcfd0 Unwind@1400fcfd0 12 ok +0x1400fcfe0 Unwind@1400fcfe0 12 ok +0x1400fcff0 Unwind@1400fcff0 12 ok +0x1400fd000 Unwind@1400fd000 12 ok +0x1400fd010 Unwind@1400fd010 12 ok +0x1400fd020 Unwind@1400fd020 12 ok +0x1400fd030 Catch_All@1400fd030 33 ok +0x1400fd060 Unwind@1400fd060 12 ok +0x1400fd070 Unwind@1400fd070 12 ok +0x1400fd080 Unwind@1400fd080 38 ok +0x1400fd0b0 Unwind@1400fd0b0 12 ok +0x1400fd0c0 Unwind@1400fd0c0 12 ok +0x1400fd0d0 Unwind@1400fd0d0 12 ok +0x1400fd0e0 Unwind@1400fd0e0 12 ok +0x1400fd0f0 Unwind@1400fd0f0 12 ok +0x1400fd100 Unwind@1400fd100 12 ok +0x1400fd110 Unwind@1400fd110 12 ok +0x1400fd120 Unwind@1400fd120 12 ok +0x1400fd130 Unwind@1400fd130 12 ok +0x1400fd140 Unwind@1400fd140 12 ok +0x1400fd150 Unwind@1400fd150 16 ok +0x1400fd160 Unwind@1400fd160 19 ok +0x1400fd180 Unwind@1400fd180 19 ok +0x1400fd1a0 Unwind@1400fd1a0 19 ok +0x1400fd1c0 Unwind@1400fd1c0 12 ok +0x1400fd1d0 Unwind@1400fd1d0 12 ok +0x1400fd1e0 Unwind@1400fd1e0 12 ok +0x1400fd1f0 Unwind@1400fd1f0 12 ok +0x1400fd200 Unwind@1400fd200 12 ok +0x1400fd210 Unwind@1400fd210 12 ok +0x1400fd220 Unwind@1400fd220 44 ok +0x1400fd250 Unwind@1400fd250 12 ok +0x1400fd260 Unwind@1400fd260 12 ok +0x1400fd270 Unwind@1400fd270 12 ok +0x1400fd280 Unwind@1400fd280 12 ok +0x1400fd290 Unwind@1400fd290 12 ok +0x1400fd2a0 Unwind@1400fd2a0 16 ok +0x1400fd2b0 Unwind@1400fd2b0 16 ok +0x1400fd2c0 Unwind@1400fd2c0 42 ok +0x1400fd2f0 Unwind@1400fd2f0 48 ok +0x1400fd320 Unwind@1400fd320 48 ok +0x1400fd350 Unwind@1400fd350 12 ok +0x1400fd360 Unwind@1400fd360 12 ok +0x1400fd370 Unwind@1400fd370 28 ok +0x1400fd390 Unwind@1400fd390 12 ok +0x1400fd3a0 Unwind@1400fd3a0 29 ok +0x1400fd3c0 Unwind@1400fd3c0 12 ok +0x1400fd3d0 Unwind@1400fd3d0 12 ok +0x1400fd3e0 Unwind@1400fd3e0 12 ok +0x1400fd3f0 Unwind@1400fd3f0 12 ok +0x1400fd400 Unwind@1400fd400 12 ok +0x1400fd410 Catch_All@1400fd410 26 ok +0x1400fd430 Unwind@1400fd430 12 ok +0x1400fd440 Unwind@1400fd440 12 ok +0x1400fd450 Unwind@1400fd450 12 ok +0x1400fd460 Unwind@1400fd460 12 ok +0x1400fd470 Unwind@1400fd470 12 ok +0x1400fd480 Unwind@1400fd480 12 ok +0x1400fd490 Unwind@1400fd490 12 ok +0x1400fd4a0 Unwind@1400fd4a0 16 ok +0x1400fd4b0 Unwind@1400fd4b0 12 ok +0x1400fd4c0 Unwind@1400fd4c0 12 ok +0x1400fd4d0 Catch_All@1400fd4d0 26 ok +0x1400fd4f0 Unwind@1400fd4f0 16 ok +0x1400fd500 Unwind@1400fd500 16 ok +0x1400fd510 Unwind@1400fd510 19 ok +0x1400fd530 Unwind@1400fd530 19 ok +0x1400fd550 Unwind@1400fd550 16 ok +0x1400fd560 Unwind@1400fd560 16 ok +0x1400fd570 Unwind@1400fd570 19 ok +0x1400fd590 Unwind@1400fd590 19 ok +0x1400fd5b0 Unwind@1400fd5b0 12 ok +0x1400fd5c0 Unwind@1400fd5c0 12 ok +0x1400fd5d0 Unwind@1400fd5d0 12 ok +0x1400fd5e0 Unwind@1400fd5e0 12 ok +0x1400fd5f0 Unwind@1400fd5f0 12 ok +0x1400fd600 Unwind@1400fd600 12 ok +0x1400fd610 Unwind@1400fd610 12 ok +0x1400fd620 Unwind@1400fd620 12 ok +0x1400fd630 Unwind@1400fd630 12 ok +0x1400fd640 Unwind@1400fd640 12 ok +0x1400fd650 Unwind@1400fd650 12 ok +0x1400fd660 Unwind@1400fd660 12 ok +0x1400fd670 Unwind@1400fd670 12 ok +0x1400fd680 Unwind@1400fd680 12 ok +0x1400fd690 Unwind@1400fd690 12 ok +0x1400fd6a0 Unwind@1400fd6a0 29 ok +0x1400fd6c0 Unwind@1400fd6c0 12 ok +0x1400fd6d0 Unwind@1400fd6d0 12 ok +0x1400fd6e0 Unwind@1400fd6e0 12 ok +0x1400fd6f0 Unwind@1400fd6f0 12 ok +0x1400fd700 Unwind@1400fd700 12 ok +0x1400fd710 Unwind@1400fd710 12 ok +0x1400fd720 Unwind@1400fd720 12 ok +0x1400fd730 Unwind@1400fd730 12 ok +0x1400fd740 Unwind@1400fd740 12 ok +0x1400fd750 Unwind@1400fd750 12 ok +0x1400fd760 Unwind@1400fd760 12 ok +0x1400fd770 Unwind@1400fd770 12 ok +0x1400fd780 Unwind@1400fd780 12 ok +0x1400fd790 Unwind@1400fd790 12 ok +0x1400fd7a0 Unwind@1400fd7a0 12 ok +0x1400fd7b0 Unwind@1400fd7b0 12 ok +0x1400fd7c0 Unwind@1400fd7c0 12 ok +0x1400fd7d0 Unwind@1400fd7d0 12 ok +0x1400fd7e0 Unwind@1400fd7e0 12 ok +0x1400fd7f0 Unwind@1400fd7f0 12 ok +0x1400fd800 Unwind@1400fd800 12 ok +0x1400fd810 Unwind@1400fd810 12 ok +0x1400fd820 Unwind@1400fd820 12 ok +0x1400fd830 Unwind@1400fd830 12 ok +0x1400fd840 Unwind@1400fd840 12 ok +0x1400fd850 Unwind@1400fd850 12 ok +0x1400fd860 Unwind@1400fd860 12 ok +0x1400fd870 Unwind@1400fd870 12 ok +0x1400fd880 Unwind@1400fd880 12 ok +0x1400fd890 Unwind@1400fd890 16 ok +0x1400fd8a0 Unwind@1400fd8a0 19 ok +0x1400fd8c0 Unwind@1400fd8c0 12 ok +0x1400fd8d0 Unwind@1400fd8d0 16 ok +0x1400fd8e0 Unwind@1400fd8e0 19 ok +0x1400fd900 Unwind@1400fd900 19 ok +0x1400fd920 Unwind@1400fd920 19 ok +0x1400fd940 Unwind@1400fd940 12 ok +0x1400fd950 Unwind@1400fd950 16 ok +0x1400fd960 Unwind@1400fd960 19 ok +0x1400fd980 Unwind@1400fd980 19 ok +0x1400fd9a0 Unwind@1400fd9a0 19 ok +0x1400fd9c0 Unwind@1400fd9c0 29 ok +0x1400fd9e0 Unwind@1400fd9e0 12 ok +0x1400fd9f0 Unwind@1400fd9f0 12 ok +0x1400fda00 Unwind@1400fda00 12 ok +0x1400fda10 Unwind@1400fda10 12 ok +0x1400fda20 Unwind@1400fda20 12 ok +0x1400fda30 Unwind@1400fda30 12 ok +0x1400fda40 Unwind@1400fda40 12 ok +0x1400fda50 Unwind@1400fda50 12 ok +0x1400fda60 Unwind@1400fda60 16 ok +0x1400fda70 Unwind@1400fda70 12 ok +0x1400fda80 Unwind@1400fda80 12 ok +0x1400fda90 Unwind@1400fda90 16 ok +0x1400fdaa0 Unwind@1400fdaa0 12 ok +0x1400fdab0 Unwind@1400fdab0 12 ok +0x1400fdac0 Unwind@1400fdac0 12 ok +0x1400fdad0 Unwind@1400fdad0 12 ok +0x1400fdae0 Unwind@1400fdae0 12 ok +0x1400fdaf0 Unwind@1400fdaf0 12 ok +0x1400fdb00 Unwind@1400fdb00 12 ok +0x1400fdb10 Unwind@1400fdb10 12 ok +0x1400fdb20 Unwind@1400fdb20 16 ok +0x1400fdb30 Unwind@1400fdb30 12 ok +0x1400fdb40 Unwind@1400fdb40 12 ok +0x1400fdb50 Unwind@1400fdb50 16 ok +0x1400fdb60 Unwind@1400fdb60 12 ok +0x1400fdb70 Unwind@1400fdb70 12 ok +0x1400fdb80 Unwind@1400fdb80 16 ok +0x1400fdb90 Unwind@1400fdb90 12 ok +0x1400fdba0 Unwind@1400fdba0 12 ok +0x1400fdbb0 Unwind@1400fdbb0 12 ok +0x1400fdbc0 Unwind@1400fdbc0 12 ok +0x1400fdbd0 Unwind@1400fdbd0 12 ok +0x1400fdbe0 Unwind@1400fdbe0 12 ok +0x1400fdbf0 Unwind@1400fdbf0 12 ok +0x1400fdc00 Unwind@1400fdc00 12 ok +0x1400fdc10 Unwind@1400fdc10 16 ok +0x1400fdc20 Unwind@1400fdc20 16 ok +0x1400fdc30 Unwind@1400fdc30 12 ok +0x1400fdc40 Unwind@1400fdc40 12 ok +0x1400fdc50 Unwind@1400fdc50 12 ok +0x1400fdc60 Unwind@1400fdc60 12 ok +0x1400fdc70 Unwind@1400fdc70 12 ok +0x1400fdc80 Unwind@1400fdc80 12 ok +0x1400fdc90 Unwind@1400fdc90 12 ok +0x1400fdca0 Unwind@1400fdca0 12 ok +0x1400fdcb0 Unwind@1400fdcb0 12 ok +0x1400fdcc0 Unwind@1400fdcc0 12 ok +0x1400fdcd0 Unwind@1400fdcd0 12 ok +0x1400fdce0 Unwind@1400fdce0 16 ok +0x1400fdcf0 Unwind@1400fdcf0 12 ok +0x1400fdd00 Unwind@1400fdd00 12 ok +0x1400fdd10 Unwind@1400fdd10 12 ok +0x1400fdd20 Unwind@1400fdd20 12 ok +0x1400fdd30 Unwind@1400fdd30 12 ok +0x1400fdd40 Unwind@1400fdd40 12 ok +0x1400fdd50 Unwind@1400fdd50 12 ok +0x1400fdd60 Unwind@1400fdd60 12 ok +0x1400fdd70 Unwind@1400fdd70 12 ok +0x1400fdd80 Unwind@1400fdd80 12 ok +0x1400fdd90 Unwind@1400fdd90 12 ok +0x1400fdda0 Unwind@1400fdda0 12 ok +0x1400fddb0 Unwind@1400fddb0 12 ok +0x1400fddc0 Unwind@1400fddc0 12 ok +0x1400fddd0 Unwind@1400fddd0 12 ok +0x1400fdde0 Unwind@1400fdde0 12 ok +0x1400fddf0 Unwind@1400fddf0 12 ok +0x1400fde00 Unwind@1400fde00 12 ok +0x1400fde10 Unwind@1400fde10 12 ok +0x1400fde20 Unwind@1400fde20 12 ok +0x1400fde30 Unwind@1400fde30 12 ok +0x1400fde40 Unwind@1400fde40 12 ok +0x1400fde50 Unwind@1400fde50 12 ok +0x1400fde60 Unwind@1400fde60 16 ok +0x1400fde70 Unwind@1400fde70 16 ok +0x1400fde80 Unwind@1400fde80 16 ok +0x1400fde90 Unwind@1400fde90 16 ok +0x1400fdea0 Unwind@1400fdea0 16 ok +0x1400fdeb0 Unwind@1400fdeb0 12 ok +0x1400fdec0 Unwind@1400fdec0 12 ok +0x1400fded0 Unwind@1400fded0 16 ok +0x1400fdee0 Unwind@1400fdee0 16 ok +0x1400fdef0 Unwind@1400fdef0 16 ok +0x1400fdf00 Unwind@1400fdf00 16 ok +0x1400fdf10 Unwind@1400fdf10 19 ok +0x1400fdf30 Unwind@1400fdf30 19 ok +0x1400fdf50 Unwind@1400fdf50 12 ok +0x1400fdf60 Unwind@1400fdf60 12 ok +0x1400fdf70 Unwind@1400fdf70 16 ok +0x1400fdf80 Unwind@1400fdf80 16 ok +0x1400fdf90 Unwind@1400fdf90 16 ok +0x1400fdfa0 Unwind@1400fdfa0 16 ok +0x1400fdfb0 Unwind@1400fdfb0 19 ok +0x1400fdfd0 Unwind@1400fdfd0 19 ok +0x1400fdff0 Unwind@1400fdff0 19 ok +0x1400fe010 Unwind@1400fe010 12 ok +0x1400fe020 Unwind@1400fe020 12 ok +0x1400fe030 Unwind@1400fe030 12 ok +0x1400fe040 Unwind@1400fe040 16 ok +0x1400fe050 Unwind@1400fe050 19 ok +0x1400fe070 Unwind@1400fe070 12 ok +0x1400fe080 Unwind@1400fe080 19 ok +0x1400fe0a0 Unwind@1400fe0a0 12 ok +0x1400fe0b0 Unwind@1400fe0b0 16 ok +0x1400fe0c0 Unwind@1400fe0c0 19 ok +0x1400fe0e0 Unwind@1400fe0e0 19 ok +0x1400fe100 Unwind@1400fe100 19 ok +0x1400fe120 Unwind@1400fe120 19 ok +0x1400fe140 Unwind@1400fe140 12 ok +0x1400fe150 Unwind@1400fe150 12 ok +0x1400fe160 Unwind@1400fe160 12 ok +0x1400fe170 Unwind@1400fe170 16 ok +0x1400fe180 Unwind@1400fe180 19 ok +0x1400fe1a0 Unwind@1400fe1a0 19 ok +0x1400fe1c0 Unwind@1400fe1c0 19 ok +0x1400fe1e0 Unwind@1400fe1e0 19 ok +0x1400fe200 Unwind@1400fe200 29 ok +0x1400fe220 Unwind@1400fe220 12 ok +0x1400fe230 Unwind@1400fe230 12 ok +0x1400fe240 Unwind@1400fe240 16 ok +0x1400fe250 Unwind@1400fe250 12 ok +0x1400fe260 Unwind@1400fe260 12 ok +0x1400fe270 Unwind@1400fe270 12 ok +0x1400fe280 Unwind@1400fe280 12 ok +0x1400fe290 Unwind@1400fe290 16 ok +0x1400fe2a0 Unwind@1400fe2a0 19 ok +0x1400fe2c0 Unwind@1400fe2c0 12 ok +0x1400fe2d0 Unwind@1400fe2d0 12 ok +0x1400fe2e0 Unwind@1400fe2e0 12 ok +0x1400fe2f0 Unwind@1400fe2f0 16 ok +0x1400fe300 Unwind@1400fe300 19 ok +0x1400fe320 Unwind@1400fe320 12 ok +0x1400fe330 Unwind@1400fe330 12 ok +0x1400fe340 Unwind@1400fe340 12 ok +0x1400fe350 Unwind@1400fe350 12 ok +0x1400fe360 Unwind@1400fe360 19 ok +0x1400fe380 Unwind@1400fe380 12 ok +0x1400fe390 Unwind@1400fe390 19 ok +0x1400fe3b0 Unwind@1400fe3b0 19 ok +0x1400fe3d0 Unwind@1400fe3d0 12 ok +0x1400fe3e0 Unwind@1400fe3e0 19 ok +0x1400fe400 Unwind@1400fe400 16 ok +0x1400fe410 Unwind@1400fe410 16 ok +0x1400fe420 Unwind@1400fe420 12 ok +0x1400fe430 Unwind@1400fe430 16 ok +0x1400fe440 Unwind@1400fe440 16 ok +0x1400fe450 Unwind@1400fe450 12 ok +0x1400fe460 Unwind@1400fe460 16 ok +0x1400fe470 Unwind@1400fe470 16 ok +0x1400fe480 Unwind@1400fe480 16 ok +0x1400fe490 Unwind@1400fe490 16 ok +0x1400fe4a0 Unwind@1400fe4a0 16 ok +0x1400fe4b0 Unwind@1400fe4b0 16 ok +0x1400fe4c0 Unwind@1400fe4c0 16 ok +0x1400fe4d0 Unwind@1400fe4d0 16 ok +0x1400fe4e0 Unwind@1400fe4e0 16 ok +0x1400fe4f0 Unwind@1400fe4f0 16 ok +0x1400fe500 Unwind@1400fe500 16 ok +0x1400fe510 Unwind@1400fe510 16 ok +0x1400fe520 Unwind@1400fe520 12 ok +0x1400fe530 Unwind@1400fe530 16 ok +0x1400fe540 Unwind@1400fe540 12 ok +0x1400fe550 Unwind@1400fe550 16 ok +0x1400fe560 Unwind@1400fe560 16 ok +0x1400fe570 Unwind@1400fe570 16 ok +0x1400fe580 Unwind@1400fe580 12 ok +0x1400fe590 Unwind@1400fe590 16 ok +0x1400fe5a0 Unwind@1400fe5a0 12 ok +0x1400fe5b0 Unwind@1400fe5b0 12 ok +0x1400fe5c0 Unwind@1400fe5c0 16 ok +0x1400fe5d0 Unwind@1400fe5d0 16 ok +0x1400fe5e0 Unwind@1400fe5e0 16 ok +0x1400fe5f0 Unwind@1400fe5f0 16 ok +0x1400fe600 Unwind@1400fe600 19 ok +0x1400fe620 Unwind@1400fe620 19 ok +0x1400fe640 Unwind@1400fe640 19 ok +0x1400fe660 Unwind@1400fe660 12 ok +0x1400fe670 Unwind@1400fe670 32 ok +0x1400fe690 Unwind@1400fe690 12 ok +0x1400fe6a0 Unwind@1400fe6a0 32 ok +0x1400fe6c0 Unwind@1400fe6c0 12 ok +0x1400fe6d0 Unwind@1400fe6d0 12 ok +0x1400fe6e0 Unwind@1400fe6e0 12 ok +0x1400fe6f0 Unwind@1400fe6f0 12 ok +0x1400fe700 Unwind@1400fe700 12 ok +0x1400fe710 Unwind@1400fe710 12 ok +0x1400fe720 Unwind@1400fe720 12 ok +0x1400fe730 Unwind@1400fe730 16 ok +0x1400fe740 Unwind@1400fe740 16 ok +0x1400fe750 Unwind@1400fe750 16 ok +0x1400fe760 Unwind@1400fe760 16 ok +0x1400fe770 Unwind@1400fe770 19 ok +0x1400fe790 Unwind@1400fe790 19 ok +0x1400fe7b0 Unwind@1400fe7b0 19 ok +0x1400fe7d0 Unwind@1400fe7d0 12 ok +0x1400fe7e0 Unwind@1400fe7e0 12 ok +0x1400fe7f0 Unwind@1400fe7f0 12 ok +0x1400fe800 Unwind@1400fe800 12 ok +0x1400fe810 Unwind@1400fe810 16 ok +0x1400fe820 Unwind@1400fe820 12 ok +0x1400fe830 Unwind@1400fe830 12 ok +0x1400fe840 Unwind@1400fe840 16 ok +0x1400fe850 Unwind@1400fe850 16 ok +0x1400fe860 Unwind@1400fe860 16 ok +0x1400fe870 Unwind@1400fe870 12 ok +0x1400fe880 Unwind@1400fe880 16 ok +0x1400fe890 Unwind@1400fe890 16 ok +0x1400fe8a0 Unwind@1400fe8a0 16 ok +0x1400fe8b0 Unwind@1400fe8b0 12 ok +0x1400fe8c0 Unwind@1400fe8c0 12 ok +0x1400fe8d0 Unwind@1400fe8d0 16 ok +0x1400fe8e0 Unwind@1400fe8e0 16 ok +0x1400fe8f0 Unwind@1400fe8f0 16 ok +0x1400fe900 Unwind@1400fe900 12 ok +0x1400fe910 Unwind@1400fe910 12 ok +0x1400fe920 Unwind@1400fe920 16 ok +0x1400fe930 Unwind@1400fe930 16 ok +0x1400fe940 FUN_1400fe940 43 ok +0x1400fe970 Unwind@1400fe970 12 ok +0x1400fe980 Unwind@1400fe980 14 ok +0x1400fe990 Unwind@1400fe990 25 ok +0x1400fe9b0 Unwind@1400fe9b0 25 ok +0x1400fe9d0 Catch_All@1400fe9d0 22 ok +0x1400fe9f0 Catch_All@1400fe9f0 32 ok +0x1400fea31 Unwind@1400fea31 12 ok +0x1400fea51 Unwind@1400fea51 12 ok +0x1400fea61 Unwind@1400fea61 16 ok +0x1400fea71 Unwind@1400fea71 16 ok +0x1400fea81 Unwind@1400fea81 16 ok +0x1400feaa1 Unwind@1400feaa1 12 ok +0x1400feab1 Unwind@1400feab1 16 ok +0x1400feac1 Unwind@1400feac1 16 ok +0x1400fead1 Unwind@1400fead1 16 ok +0x1400feaf1 Unwind@1400feaf1 12 ok +0x1400feb11 Unwind@1400feb11 12 ok +0x1400feb31 Unwind@1400feb31 12 ok +0x1400feb41 Unwind@1400feb41 16 ok +0x1400feb51 Unwind@1400feb51 16 ok +0x1400feb61 Unwind@1400feb61 16 ok +0x1400feb71 Unwind@1400feb71 19 ok +0x1400feb91 Unwind@1400feb91 19 ok +0x1400febb1 Unwind@1400febb1 19 ok +0x1400febd1 Unwind@1400febd1 19 ok +0x1400febf1 Unwind@1400febf1 19 ok +0x1400fec11 Unwind@1400fec11 19 ok +0x1400fec31 Unwind@1400fec31 19 ok +0x1400fec51 Unwind@1400fec51 12 ok +0x1400fec71 Unwind@1400fec71 12 ok +0x1400fec81 Unwind@1400fec81 12 ok +0x1400fec91 Unwind@1400fec91 16 ok +0x1400feca1 Unwind@1400feca1 12 ok +0x1400fecb1 Unwind@1400fecb1 16 ok +0x1400fecd1 Unwind@1400fecd1 12 ok +0x1400fece1 Unwind@1400fece1 16 ok +0x1400fecf1 Unwind@1400fecf1 19 ok +0x1400fed11 Unwind@1400fed11 19 ok +0x1400fed31 Unwind@1400fed31 22 ok +0x1400fed51 Unwind@1400fed51 22 ok +0x1400fed71 Unwind@1400fed71 12 ok +0x1400fed81 Unwind@1400fed81 22 ok +0x1400feda1 Unwind@1400feda1 22 ok +0x1400fedc1 Unwind@1400fedc1 12 ok +0x1400fedd1 Unwind@1400fedd1 22 ok +0x1400fedf1 Unwind@1400fedf1 22 ok +0x1400fee11 Unwind@1400fee11 12 ok +0x1400fee21 Unwind@1400fee21 22 ok +0x1400fee41 Unwind@1400fee41 22 ok +0x1400fee60 Unwind@1400fee60 12 ok +0x1400fee70 Catch_All@1400fee70 32 ok +0x1400feea0 Unwind@1400feea0 12 ok +0x1400feeb0 Unwind@1400feeb0 16 ok +0x1400feec0 Catch_All@1400feec0 22 ok +0x1400feee0 Catch_All@1400feee0 22 ok +0x1400fef00 Catch_All@1400fef00 32 ok +0x1400fef30 Catch_All@1400fef30 32 ok +0x1400fef60 Unwind@1400fef60 12 ok +0x1400fef70 Unwind@1400fef70 16 ok +0x1400fef80 Catch_All@1400fef80 90 ok +0x1400fefe0 Unwind@1400fefe0 12 ok +0x1400feff0 Unwind@1400feff0 16 ok +0x1400ff000 Unwind@1400ff000 12 ok +0x1400ff010 Unwind@1400ff010 16 ok +0x1400ff020 Unwind@1400ff020 12 ok +0x1400ff030 Unwind@1400ff030 12 ok +0x1400ff040 Unwind@1400ff040 12 ok +0x1400ff050 Unwind@1400ff050 12 ok +0x1400ff060 Unwind@1400ff060 16 ok +0x1400ff070 Unwind@1400ff070 12 ok +0x1400ff080 Unwind@1400ff080 12 ok +0x1400ff090 Catch_All@1400ff090 26 ok +0x1400ff0b0 Unwind@1400ff0b0 12 ok +0x1400ff0c0 Unwind@1400ff0c0 12 ok +0x1400ff0d0 Unwind@1400ff0d0 16 ok +0x1400ff0e0 Unwind@1400ff0e0 16 ok +0x1400ff0f0 Unwind@1400ff0f0 16 ok +0x1400ff100 Unwind@1400ff100 12 ok +0x1400ff110 Unwind@1400ff110 16 ok +0x1400ff120 Unwind@1400ff120 12 ok +0x1400ff130 Unwind@1400ff130 16 ok +0x1400ff140 Unwind@1400ff140 16 ok +0x1400ff150 Catch_All@1400ff150 32 ok +0x1400ff180 Unwind@1400ff180 12 ok +0x1400ff190 Unwind@1400ff190 12 ok +0x1400ff1a0 Unwind@1400ff1a0 12 ok +0x1400ff1b0 Unwind@1400ff1b0 12 ok +0x1400ff1c0 Unwind@1400ff1c0 12 ok +0x1400ff1d0 Unwind@1400ff1d0 12 ok +0x1400ff1e0 Unwind@1400ff1e0 12 ok +0x1400ff1f0 Unwind@1400ff1f0 12 ok +0x1400ff200 Unwind@1400ff200 12 ok +0x1400ff210 Unwind@1400ff210 12 ok +0x1400ff220 Unwind@1400ff220 12 ok +0x1400ff230 Catch_All@1400ff230 49 ok +0x1400ff270 Catch_All@1400ff270 62 ok +0x1400ff2b0 Unwind@1400ff2b0 12 ok +0x1400ff2c0 Catch@1400ff2c0 73 ok +0x1400ff310 Unwind@1400ff310 12 ok +0x1400ff320 Unwind@1400ff320 12 ok +0x1400ff330 Catch_All@1400ff330 49 ok +0x1400ff370 Catch_All@1400ff370 64 ok +0x1400ff3c0 Unwind@1400ff3c0 12 ok +0x1400ff3d0 Unwind@1400ff3d0 16 ok +0x1400ff3e0 Unwind@1400ff3e0 16 ok +0x1400ff3f0 Unwind@1400ff3f0 16 ok +0x1400ff400 Unwind@1400ff400 12 ok +0x1400ff410 Unwind@1400ff410 12 ok +0x1400ff420 Unwind@1400ff420 12 ok +0x1400ff430 Unwind@1400ff430 12 ok +0x1400ff440 Unwind@1400ff440 12 ok +0x1400ff450 Unwind@1400ff450 16 ok +0x1400ff460 Unwind@1400ff460 14 ok +0x1400ff470 Unwind@1400ff470 12 ok +0x1400ff480 Unwind@1400ff480 12 ok +0x1400ff490 Unwind@1400ff490 12 ok +0x1400ff4a0 Catch@1400ff4a0 73 ok +0x1400ff4f0 Unwind@1400ff4f0 12 ok +0x1400ff500 Unwind@1400ff500 12 ok +0x1400ff510 Unwind@1400ff510 12 ok +0x1400ff520 Unwind@1400ff520 12 ok +0x1400ff530 Unwind@1400ff530 12 ok +0x1400ff540 Unwind@1400ff540 12 ok +0x1400ff550 Unwind@1400ff550 12 ok +0x1400ff560 Unwind@1400ff560 12 ok +0x1400ff570 Unwind@1400ff570 12 ok +0x1400ff580 Unwind@1400ff580 12 ok +0x1400ff590 Unwind@1400ff590 12 ok +0x1400ff5a0 Unwind@1400ff5a0 12 ok +0x1400ff5b0 Unwind@1400ff5b0 12 ok +0x1400ff5c0 Unwind@1400ff5c0 12 ok +0x1400ff5d0 Catch@1400ff5d0 73 ok +0x1400ff620 Unwind@1400ff620 12 ok +0x1400ff630 Unwind@1400ff630 12 ok +0x1400ff640 Unwind@1400ff640 12 ok +0x1400ff650 Unwind@1400ff650 12 ok +0x1400ff660 Unwind@1400ff660 12 ok +0x1400ff670 Unwind@1400ff670 12 ok +0x1400ff680 Unwind@1400ff680 12 ok +0x1400ff690 Unwind@1400ff690 12 ok +0x1400ff6a0 Unwind@1400ff6a0 12 ok +0x1400ff6b0 Unwind@1400ff6b0 12 ok +0x1400ff6c0 Unwind@1400ff6c0 12 ok +0x1400ff6d0 Unwind@1400ff6d0 12 ok +0x1400ff6e0 Unwind@1400ff6e0 12 ok +0x1400ff6f0 Unwind@1400ff6f0 12 ok +0x1400ff700 Unwind@1400ff700 12 ok +0x1400ff710 Unwind@1400ff710 12 ok +0x1400ff720 Catch@1400ff720 73 ok +0x1400ff770 Unwind@1400ff770 12 ok +0x1400ff780 Unwind@1400ff780 14 ok +0x1400ff790 Unwind@1400ff790 16 ok +0x1400ff7a0 Unwind@1400ff7a0 12 ok +0x1400ff7b0 Unwind@1400ff7b0 16 ok +0x1400ff7c0 Unwind@1400ff7c0 16 ok +0x1400ff7d0 Unwind@1400ff7d0 19 ok +0x1400ff7f0 Unwind@1400ff7f0 16 ok +0x1400ff800 Unwind@1400ff800 16 ok +0x1400ff810 Unwind@1400ff810 12 ok +0x1400ff820 Unwind@1400ff820 16 ok +0x1400ff830 Unwind@1400ff830 12 ok +0x1400ff840 Unwind@1400ff840 16 ok +0x1400ff850 Unwind@1400ff850 19 ok +0x1400ff870 Unwind@1400ff870 12 ok +0x1400ff880 Unwind@1400ff880 16 ok +0x1400ff890 Unwind@1400ff890 12 ok +0x1400ff8a0 Unwind@1400ff8a0 16 ok +0x1400ff8b0 Unwind@1400ff8b0 16 ok +0x1400ff8c0 Unwind@1400ff8c0 16 ok +0x1400ff8d0 Unwind@1400ff8d0 16 ok +0x1400ff8e0 Unwind@1400ff8e0 12 ok +0x1400ff8f0 Unwind@1400ff8f0 16 ok +0x1400ff900 Unwind@1400ff900 12 ok +0x1400ff910 Unwind@1400ff910 16 ok +0x1400ff920 Catch_All@1400ff920 22 ok +0x1400ff940 Unwind@1400ff940 16 ok +0x1400ff950 Unwind@1400ff950 12 ok +0x1400ff960 Unwind@1400ff960 12 ok +0x1400ff970 Unwind@1400ff970 16 ok +0x1400ff980 Unwind@1400ff980 12 ok +0x1400ff990 Unwind@1400ff990 16 ok +0x1400ff9a0 Unwind@1400ff9a0 16 ok +0x1400ff9b0 Unwind@1400ff9b0 28 ok +0x1400ff9d0 Unwind@1400ff9d0 16 ok +0x1400ff9e0 Unwind@1400ff9e0 12 ok +0x1400ff9f0 Unwind@1400ff9f0 14 ok +0x1400ffa00 Unwind@1400ffa00 14 ok +0x1400ffa10 Unwind@1400ffa10 12 ok +0x1400ffa20 Unwind@1400ffa20 12 ok +0x1400ffa30 Unwind@1400ffa30 12 ok +0x1400ffa40 Unwind@1400ffa40 12 ok +0x1400ffa50 Unwind@1400ffa50 12 ok +0x1400ffa60 Unwind@1400ffa60 12 ok +0x1400ffa70 Unwind@1400ffa70 12 ok +0x1400ffa80 Unwind@1400ffa80 12 ok +0x1400ffa90 Unwind@1400ffa90 12 ok +0x1400ffaa0 Unwind@1400ffaa0 12 ok +0x1400ffab0 Unwind@1400ffab0 12 ok +0x1400ffac0 Unwind@1400ffac0 12 ok +0x1400ffad0 Unwind@1400ffad0 12 ok +0x1400ffae0 Unwind@1400ffae0 12 ok +0x1400ffaf0 Unwind@1400ffaf0 12 ok +0x1400ffb00 Unwind@1400ffb00 12 ok +0x1400ffb10 Unwind@1400ffb10 12 ok +0x1400ffb20 Unwind@1400ffb20 12 ok +0x1400ffb30 Unwind@1400ffb30 12 ok +0x1400ffb40 Unwind@1400ffb40 12 ok +0x1400ffb50 Unwind@1400ffb50 12 ok +0x1400ffb60 Unwind@1400ffb60 12 ok +0x1400ffb70 Unwind@1400ffb70 12 ok +0x1400ffb80 Unwind@1400ffb80 12 ok +0x1400ffb90 Unwind@1400ffb90 12 ok +0x1400ffba0 Unwind@1400ffba0 12 ok +0x1400ffbb0 Unwind@1400ffbb0 12 ok +0x1400ffbc0 Unwind@1400ffbc0 12 ok +0x1400ffbd0 Unwind@1400ffbd0 12 ok +0x1400ffbe0 Unwind@1400ffbe0 12 ok +0x1400ffbf0 Unwind@1400ffbf0 12 ok +0x1400ffc00 Unwind@1400ffc00 12 ok +0x1400ffc10 Unwind@1400ffc10 12 ok +0x1400ffc20 Catch_All@1400ffc20 90 ok +0x1400ffc80 Unwind@1400ffc80 12 ok +0x1400ffc90 Unwind@1400ffc90 16 ok +0x1400ffca0 Unwind@1400ffca0 16 ok +0x1400ffcb0 Unwind@1400ffcb0 16 ok +0x1400ffcc0 Unwind@1400ffcc0 12 ok +0x1400ffcd0 Unwind@1400ffcd0 12 ok +0x1400ffce0 Unwind@1400ffce0 12 ok +0x1400ffcf0 Unwind@1400ffcf0 12 ok +0x1400ffd00 Unwind@1400ffd00 12 ok +0x1400ffd10 Unwind@1400ffd10 12 ok +0x1400ffd20 Unwind@1400ffd20 12 ok +0x1400ffd30 Unwind@1400ffd30 12 ok +0x1400ffd40 Unwind@1400ffd40 12 ok +0x1400ffd50 Unwind@1400ffd50 12 ok +0x1400ffd60 Unwind@1400ffd60 12 ok +0x1400ffd70 Unwind@1400ffd70 14 ok +0x1400ffd80 Unwind@1400ffd80 12 ok +0x1400ffd90 Unwind@1400ffd90 12 ok +0x1400ffda0 Unwind@1400ffda0 12 ok +0x1400ffdb0 Unwind@1400ffdb0 12 ok +0x1400ffdc0 Unwind@1400ffdc0 12 ok +0x1400ffdd0 Catch@1400ffdd0 73 ok +0x1400ffe20 Unwind@1400ffe20 12 ok +0x1400ffe30 Unwind@1400ffe30 12 ok +0x1400ffe40 Unwind@1400ffe40 12 ok +0x1400ffe50 Unwind@1400ffe50 12 ok +0x1400ffe60 Unwind@1400ffe60 12 ok +0x1400ffe70 Unwind@1400ffe70 12 ok +0x1400ffe80 Unwind@1400ffe80 12 ok +0x1400ffe90 Unwind@1400ffe90 12 ok +0x1400ffea0 Unwind@1400ffea0 12 ok +0x1400ffeb0 Catch@1400ffeb0 110 ok +0x1400fff20 Unwind@1400fff20 12 ok +0x1400fff30 Unwind@1400fff30 12 ok +0x1400fff40 Unwind@1400fff40 12 ok +0x1400fff50 Unwind@1400fff50 12 ok +0x1400fff60 Unwind@1400fff60 12 ok +0x1400fff70 Unwind@1400fff70 12 ok +0x1400fff80 Unwind@1400fff80 16 ok +0x1400fff90 Unwind@1400fff90 16 ok +0x1400fffa0 Unwind@1400fffa0 12 ok +0x1400fffb0 Unwind@1400fffb0 12 ok +0x1400fffc0 Catch_All@1400fffc0 90 ok +0x140100020 Unwind@140100020 28 ok +0x140100040 Unwind@140100040 16 ok +0x140100050 Catch_All@140100050 58 ok +0x140100090 Unwind@140100090 28 ok +0x1401000b0 Unwind@1401000b0 16 ok +0x1401000c0 Catch_All@1401000c0 58 ok +0x140100100 Unwind@140100100 28 ok +0x140100120 Catch_All@140100120 87 ok +0x140100180 Catch_All@140100180 31 ok +0x1401001d0 Catch_All@1401001d0 32 ok +0x140100200 Unwind@140100200 12 ok +0x140100210 Unwind@140100210 16 ok +0x140100220 Unwind@140100220 16 ok +0x140100230 Unwind@140100230 16 ok +0x140100240 Unwind@140100240 19 ok +0x140100260 Unwind@140100260 19 ok +0x140100280 Unwind@140100280 19 ok +0x1401002a0 Unwind@1401002a0 19 ok +0x1401002c0 Unwind@1401002c0 19 ok +0x1401002e0 Unwind@1401002e0 19 ok +0x140100300 Unwind@140100300 12 ok +0x140100310 Unwind@140100310 12 ok +0x140100320 Unwind@140100320 12 ok +0x140100330 Unwind@140100330 12 ok +0x140100340 Unwind@140100340 12 ok +0x140100350 Unwind@140100350 12 ok +0x140100360 Unwind@140100360 12 ok +0x140100370 Unwind@140100370 12 ok +0x140100380 Unwind@140100380 12 ok +0x140100390 Unwind@140100390 12 ok +0x1401003a0 Unwind@1401003a0 12 ok +0x1401003b0 Unwind@1401003b0 12 ok +0x1401003c0 Unwind@1401003c0 12 ok +0x1401003d0 Unwind@1401003d0 12 ok +0x1401003e0 Unwind@1401003e0 12 ok +0x1401003f0 Unwind@1401003f0 12 ok +0x140100400 Unwind@140100400 12 ok +0x140100410 Unwind@140100410 12 ok +0x140100420 Unwind@140100420 12 ok +0x140100430 Unwind@140100430 12 ok +0x140100440 Unwind@140100440 12 ok +0x140100450 Unwind@140100450 12 ok +0x140100460 Unwind@140100460 12 ok +0x140100470 Unwind@140100470 12 ok +0x140100480 Unwind@140100480 12 ok +0x140100490 Unwind@140100490 12 ok +0x1401004a0 Unwind@1401004a0 12 ok +0x1401004b0 Unwind@1401004b0 12 ok +0x1401004c0 Unwind@1401004c0 12 ok +0x1401004d0 Unwind@1401004d0 12 ok +0x1401004e0 Unwind@1401004e0 12 ok +0x1401004f0 Unwind@1401004f0 12 ok +0x140100500 Unwind@140100500 12 ok +0x140100510 Unwind@140100510 12 ok +0x140100520 Unwind@140100520 12 ok +0x140100530 Unwind@140100530 12 ok +0x140100540 Unwind@140100540 12 ok +0x140100550 Unwind@140100550 12 ok +0x140100560 Unwind@140100560 12 ok +0x140100570 Unwind@140100570 12 ok +0x140100580 Unwind@140100580 12 ok +0x140100590 Unwind@140100590 12 ok +0x1401005a0 Unwind@1401005a0 12 ok +0x1401005b0 Unwind@1401005b0 12 ok +0x1401005c0 Unwind@1401005c0 12 ok +0x1401005d0 Unwind@1401005d0 12 ok +0x1401005e0 Unwind@1401005e0 12 ok +0x1401005f0 Unwind@1401005f0 12 ok +0x140100600 Unwind@140100600 12 ok +0x140100610 Unwind@140100610 12 ok +0x140100620 Unwind@140100620 12 ok +0x140100630 Unwind@140100630 12 ok +0x140100640 Unwind@140100640 12 ok +0x140100650 Unwind@140100650 12 ok +0x140100660 Unwind@140100660 12 ok +0x140100670 Unwind@140100670 12 ok +0x140100680 Unwind@140100680 12 ok +0x140100690 Unwind@140100690 12 ok +0x1401006a0 Unwind@1401006a0 12 ok +0x1401006b0 Unwind@1401006b0 12 ok +0x1401006c0 Unwind@1401006c0 12 ok +0x1401006d0 Unwind@1401006d0 12 ok +0x1401006e0 Unwind@1401006e0 12 ok +0x1401006f0 Unwind@1401006f0 12 ok +0x140100700 Unwind@140100700 12 ok +0x140100710 Unwind@140100710 12 ok +0x140100720 Unwind@140100720 12 ok +0x140100730 Unwind@140100730 12 ok +0x140100740 Unwind@140100740 12 ok +0x140100750 Unwind@140100750 12 ok +0x140100760 Unwind@140100760 12 ok +0x140100770 Unwind@140100770 12 ok +0x140100780 Unwind@140100780 12 ok +0x140100790 Unwind@140100790 12 ok +0x1401007a0 Unwind@1401007a0 12 ok +0x1401007b0 Unwind@1401007b0 12 ok +0x1401007c0 Unwind@1401007c0 12 ok +0x1401007d0 Unwind@1401007d0 12 ok +0x1401007e0 Unwind@1401007e0 12 ok +0x1401007f0 Unwind@1401007f0 12 ok +0x140100800 Unwind@140100800 12 ok +0x140100810 Unwind@140100810 28 ok +0x140100830 Catch_All@140100830 61 ok +0x140100870 Unwind@140100870 28 ok +0x140100890 Catch_All@140100890 58 ok +0x1401008d0 Catch_All@1401008d0 32 ok +0x140100900 Catch_All@140100900 32 ok +0x140100930 Unwind@140100930 12 ok +0x140100940 Unwind@140100940 12 ok +0x140100950 Unwind@140100950 12 ok +0x140100960 Unwind@140100960 12 ok +0x140100970 Unwind@140100970 12 ok +0x140100980 Unwind@140100980 12 ok +0x140100990 Unwind@140100990 12 ok +0x1401009a0 Unwind@1401009a0 12 ok +0x1401009b0 Unwind@1401009b0 12 ok +0x1401009c0 Unwind@1401009c0 12 ok +0x1401009d0 Unwind@1401009d0 12 ok +0x1401009e0 Unwind@1401009e0 12 ok +0x1401009f0 Unwind@1401009f0 12 ok +0x140100a00 Unwind@140100a00 12 ok +0x140100a10 Unwind@140100a10 12 ok +0x140100a20 Unwind@140100a20 12 ok +0x140100a30 Unwind@140100a30 12 ok +0x140100a40 Unwind@140100a40 12 ok +0x140100a50 Unwind@140100a50 12 ok +0x140100a60 Unwind@140100a60 12 ok +0x140100a70 Unwind@140100a70 12 ok +0x140100a80 Unwind@140100a80 12 ok +0x140100a90 Unwind@140100a90 12 ok +0x140100aa0 Unwind@140100aa0 12 ok +0x140100ab0 Unwind@140100ab0 12 ok +0x140100ac0 Unwind@140100ac0 12 ok +0x140100ad0 Unwind@140100ad0 12 ok +0x140100ae0 Unwind@140100ae0 12 ok +0x140100af0 Unwind@140100af0 12 ok +0x140100b00 Unwind@140100b00 12 ok +0x140100b10 Unwind@140100b10 12 ok +0x140100b20 Unwind@140100b20 12 ok +0x140100b30 Unwind@140100b30 12 ok +0x140100b40 Unwind@140100b40 12 ok +0x140100b50 Unwind@140100b50 12 ok +0x140100b60 Unwind@140100b60 12 ok +0x140100b70 Unwind@140100b70 12 ok +0x140100b80 Unwind@140100b80 12 ok +0x140100b90 Unwind@140100b90 12 ok +0x140100ba0 Unwind@140100ba0 12 ok +0x140100bb0 Unwind@140100bb0 12 ok +0x140100bc0 Unwind@140100bc0 12 ok +0x140100bd0 Unwind@140100bd0 12 ok +0x140100be0 Unwind@140100be0 12 ok +0x140100bf0 Unwind@140100bf0 12 ok +0x140100c00 Unwind@140100c00 12 ok +0x140100c10 Unwind@140100c10 12 ok +0x140100c20 Unwind@140100c20 12 ok +0x140100c30 Unwind@140100c30 12 ok +0x140100c40 Unwind@140100c40 12 ok +0x140100c50 Unwind@140100c50 12 ok +0x140100c60 Unwind@140100c60 12 ok +0x140100c70 Unwind@140100c70 12 ok +0x140100c80 Unwind@140100c80 12 ok +0x140100c90 Unwind@140100c90 12 ok +0x140100ca0 Unwind@140100ca0 12 ok +0x140100cb0 Unwind@140100cb0 12 ok +0x140100cc0 Unwind@140100cc0 12 ok +0x140100cd0 Unwind@140100cd0 12 ok +0x140100ce0 Unwind@140100ce0 12 ok +0x140100cf0 Unwind@140100cf0 12 ok +0x140100d00 Unwind@140100d00 12 ok +0x140100d10 Unwind@140100d10 12 ok +0x140100d20 Unwind@140100d20 12 ok +0x140100d30 Unwind@140100d30 12 ok +0x140100d40 Unwind@140100d40 12 ok +0x140100d50 Unwind@140100d50 12 ok +0x140100d60 Unwind@140100d60 12 ok +0x140100d70 Unwind@140100d70 12 ok +0x140100d80 Unwind@140100d80 12 ok +0x140100d90 Unwind@140100d90 12 ok +0x140100da0 Unwind@140100da0 12 ok +0x140100db0 Unwind@140100db0 12 ok +0x140100dc0 Unwind@140100dc0 12 ok +0x140100dd0 Unwind@140100dd0 12 ok +0x140100de0 Unwind@140100de0 12 ok +0x140100df0 Unwind@140100df0 14 ok +0x140100e00 Unwind@140100e00 12 ok +0x140100e10 Unwind@140100e10 12 ok +0x140100e20 Unwind@140100e20 12 ok +0x140100e30 Unwind@140100e30 12 ok +0x140100e40 Unwind@140100e40 12 ok +0x140100e50 Unwind@140100e50 16 ok +0x140100e60 Unwind@140100e60 16 ok +0x140100e70 Unwind@140100e70 16 ok +0x140100e80 Unwind@140100e80 19 ok +0x140100ea0 Unwind@140100ea0 19 ok +0x140100ec0 Unwind@140100ec0 19 ok +0x140100ee0 Unwind@140100ee0 19 ok +0x140100f00 Unwind@140100f00 19 ok +0x140100f20 Unwind@140100f20 28 ok +0x140100f40 Unwind@140100f40 12 ok +0x140100f50 Unwind@140100f50 12 ok +0x140100f60 Unwind@140100f60 12 ok +0x140100f70 Catch_All@140100f70 62 ok +0x140100fb0 Unwind@140100fb0 12 ok +0x140100fc0 Unwind@140100fc0 12 ok +0x140100fd0 Unwind@140100fd0 12 ok +0x140100fe0 Unwind@140100fe0 12 ok +0x140100ff0 Unwind@140100ff0 12 ok +0x140101000 Unwind@140101000 12 ok +0x140101010 Unwind@140101010 12 ok +0x140101020 Unwind@140101020 12 ok +0x140101030 Unwind@140101030 12 ok +0x140101040 Unwind@140101040 12 ok +0x140101050 Unwind@140101050 12 ok +0x140101060 Unwind@140101060 12 ok +0x140101070 Unwind@140101070 12 ok +0x140101080 Catch@140101080 73 ok +0x1401010d0 Unwind@1401010d0 12 ok +0x1401010e0 Unwind@1401010e0 12 ok +0x1401010f0 Unwind@1401010f0 12 ok +0x140101100 Unwind@140101100 12 ok +0x140101110 Unwind@140101110 12 ok +0x140101120 Unwind@140101120 12 ok +0x140101130 Unwind@140101130 12 ok +0x140101140 Unwind@140101140 12 ok +0x140101150 Unwind@140101150 12 ok +0x140101160 Unwind@140101160 12 ok +0x140101170 Unwind@140101170 12 ok +0x140101180 Unwind@140101180 12 ok +0x140101190 Unwind@140101190 12 ok +0x1401011a0 Catch@1401011a0 73 ok +0x1401011f0 Unwind@1401011f0 12 ok +0x140101200 Unwind@140101200 12 ok +0x140101210 Unwind@140101210 12 ok +0x140101220 Unwind@140101220 28 ok +0x140101240 Catch_All@140101240 87 ok +0x1401012a0 Unwind@1401012a0 28 ok +0x1401012c0 Catch_All@1401012c0 61 ok +0x140101300 Catch_All@140101300 32 ok +0x140101330 Catch_All@140101330 31 ok +0x140101360 Unwind@140101360 12 ok +0x140101370 Catch@140101370 26 ok +0x140101390 Unwind@140101390 12 ok +0x1401013a0 Unwind@1401013a0 28 ok +0x1401013c0 Catch_All@1401013c0 58 ok +0x140101400 Catch_All@140101400 31 ok +0x140101430 Unwind@140101430 12 ok +0x140101440 Unwind@140101440 31 ok +0x140101460 Unwind@140101460 12 ok +0x140101470 Unwind@140101470 12 ok +0x140101480 Unwind@140101480 12 ok +0x140101490 Unwind@140101490 46 ok +0x1401014c0 Unwind@1401014c0 18 ok +0x1401014e0 Unwind@1401014e0 14 ok +0x1401014f0 Unwind@1401014f0 12 ok +0x140101500 Unwind@140101500 12 ok +0x140101510 Unwind@140101510 28 ok +0x140101530 Catch_All@140101530 61 ok +0x140101570 Catch_All@140101570 32 ok +0x1401015a0 Unwind@1401015a0 28 ok +0x1401015c0 Catch_All@1401015c0 87 ok +0x140101620 Unwind@140101620 12 ok +0x140101630 Unwind@140101630 31 ok +0x140101650 Unwind@140101650 12 ok +0x140101660 Unwind@140101660 31 ok +0x140101680 Unwind@140101680 12 ok +0x140101690 Catch_All@140101690 32 ok +0x1401016c0 Unwind@1401016c0 28 ok +0x1401016e0 Unwind@1401016e0 28 ok +0x140101700 Unwind@140101700 28 ok +0x140101720 Catch_All@140101720 58 ok +0x140101760 Unwind@140101760 12 ok +0x140101770 Unwind@140101770 38 ok +0x1401017a0 Unwind@1401017a0 38 ok +0x1401017d0 Catch_All@1401017d0 32 ok +0x140101800 Unwind@140101800 12 ok +0x140101810 Unwind@140101810 12 ok +0x140101820 Unwind@140101820 12 ok +0x140101830 Unwind@140101830 12 ok +0x140101840 Unwind@140101840 12 ok +0x140101850 Unwind@140101850 12 ok +0x140101860 Unwind@140101860 12 ok +0x140101870 Unwind@140101870 12 ok +0x140101880 Unwind@140101880 12 ok +0x140101890 Unwind@140101890 12 ok +0x1401018a0 Unwind@1401018a0 12 ok +0x1401018b0 Unwind@1401018b0 12 ok +0x1401018c0 Unwind@1401018c0 12 ok +0x1401018d0 Unwind@1401018d0 12 ok +0x1401018e0 Unwind@1401018e0 12 ok +0x1401018f0 Unwind@1401018f0 12 ok +0x140101900 Unwind@140101900 12 ok +0x140101910 Unwind@140101910 12 ok +0x140101920 Unwind@140101920 12 ok +0x140101930 Unwind@140101930 12 ok +0x140101940 Catch_All@140101940 64 ok +0x140101990 Unwind@140101990 12 ok +0x1401019a0 Unwind@1401019a0 28 ok +0x1401019c0 Catch_All@1401019c0 61 ok +0x140101a00 Catch_All@140101a00 32 ok +0x140101a30 Unwind@140101a30 28 ok +0x140101a50 Unwind@140101a50 28 ok +0x140101a70 Unwind@140101a70 12 ok +0x140101a80 Unwind@140101a80 16 ok +0x140101a90 Unwind@140101a90 16 ok +0x140101aa0 Unwind@140101aa0 12 ok +0x140101ab0 Unwind@140101ab0 12 ok +0x140101ac0 Unwind@140101ac0 16 ok +0x140101ad0 Unwind@140101ad0 12 ok +0x140101ae0 Unwind@140101ae0 16 ok +0x140101af0 Unwind@140101af0 16 ok +0x140101b00 Unwind@140101b00 12 ok +0x140101b10 Unwind@140101b10 28 ok +0x140101b30 Unwind@140101b30 12 ok +0x140101b40 Unwind@140101b40 12 ok +0x140101b50 Unwind@140101b50 12 ok +0x140101b60 Unwind@140101b60 12 ok +0x140101b70 Unwind@140101b70 12 ok +0x140101b80 Unwind@140101b80 12 ok +0x140101b90 Unwind@140101b90 12 ok +0x140101ba0 Unwind@140101ba0 12 ok +0x140101bb0 Unwind@140101bb0 12 ok +0x140101bc0 Unwind@140101bc0 28 ok +0x140101be0 Unwind@140101be0 16 ok +0x140101bf0 Unwind@140101bf0 12 ok +0x140101c00 Unwind@140101c00 12 ok +0x140101c10 Unwind@140101c10 12 ok +0x140101c20 Unwind@140101c20 16 ok +0x140101c30 Unwind@140101c30 12 ok +0x140101c40 Unwind@140101c40 12 ok +0x140101c50 Unwind@140101c50 16 ok +0x140101c60 Unwind@140101c60 12 ok +0x140101c70 Unwind@140101c70 12 ok +0x140101c80 Unwind@140101c80 12 ok +0x140101c90 Unwind@140101c90 12 ok +0x140101ca0 Unwind@140101ca0 12 ok +0x140101cb0 Unwind@140101cb0 12 ok +0x140101cc0 Unwind@140101cc0 12 ok +0x140101cd0 Unwind@140101cd0 12 ok +0x140101ce0 Unwind@140101ce0 12 ok +0x140101cf0 Unwind@140101cf0 12 ok +0x140101d00 Unwind@140101d00 12 ok +0x140101d10 Unwind@140101d10 12 ok +0x140101d20 Unwind@140101d20 12 ok +0x140101d30 Unwind@140101d30 12 ok +0x140101d40 Unwind@140101d40 31 ok +0x140101d60 Unwind@140101d60 31 ok +0x140101d80 Unwind@140101d80 12 ok +0x140101d90 Unwind@140101d90 12 ok +0x140101da0 Unwind@140101da0 12 ok +0x140101db0 Unwind@140101db0 12 ok +0x140101dc0 Unwind@140101dc0 12 ok +0x140101dd0 Unwind@140101dd0 12 ok +0x140101de0 Unwind@140101de0 12 ok +0x140101df0 Unwind@140101df0 12 ok +0x140101e00 Unwind@140101e00 12 ok +0x140101e10 Unwind@140101e10 12 ok +0x140101e20 Unwind@140101e20 12 ok +0x140101e30 Unwind@140101e30 12 ok +0x140101e40 Unwind@140101e40 12 ok +0x140101e50 Unwind@140101e50 12 ok +0x140101e60 Unwind@140101e60 12 ok +0x140101e70 Unwind@140101e70 12 ok +0x140101e80 Unwind@140101e80 12 ok +0x140101e90 Unwind@140101e90 12 ok +0x140101ea0 Unwind@140101ea0 12 ok +0x140101eb0 Unwind@140101eb0 12 ok +0x140101ec0 Unwind@140101ec0 12 ok +0x140101ed0 Unwind@140101ed0 12 ok +0x140101ee0 Unwind@140101ee0 12 ok +0x140101ef0 Unwind@140101ef0 12 ok +0x140101f00 Unwind@140101f00 12 ok +0x140101f10 Unwind@140101f10 12 ok +0x140101f20 Unwind@140101f20 12 ok +0x140101f30 Unwind@140101f30 12 ok +0x140101f40 Unwind@140101f40 12 ok +0x140101f50 Unwind@140101f50 12 ok +0x140101f60 Unwind@140101f60 28 ok +0x140101f80 Unwind@140101f80 28 ok +0x140101fa0 Unwind@140101fa0 12 ok +0x140101fb0 Unwind@140101fb0 12 ok +0x140101fc0 Unwind@140101fc0 12 ok +0x140101fd0 Unwind@140101fd0 12 ok +0x140101fe0 Unwind@140101fe0 12 ok +0x140101ff0 Unwind@140101ff0 12 ok +0x140102000 Unwind@140102000 12 ok +0x140102010 Unwind@140102010 12 ok +0x140102020 Unwind@140102020 12 ok +0x140102030 Unwind@140102030 12 ok +0x140102040 Unwind@140102040 12 ok +0x140102050 Unwind@140102050 12 ok +0x140102060 Unwind@140102060 12 ok +0x140102070 Unwind@140102070 12 ok +0x140102080 Unwind@140102080 12 ok +0x140102090 Unwind@140102090 12 ok +0x1401020a0 Unwind@1401020a0 12 ok +0x1401020b0 Unwind@1401020b0 12 ok +0x1401020c0 Unwind@1401020c0 12 ok +0x1401020d0 Unwind@1401020d0 12 ok +0x1401020e0 Unwind@1401020e0 12 ok +0x1401020f0 Unwind@1401020f0 12 ok +0x140102100 Unwind@140102100 12 ok +0x140102110 Unwind@140102110 12 ok +0x140102120 Unwind@140102120 12 ok +0x140102130 Unwind@140102130 12 ok +0x140102140 Unwind@140102140 12 ok +0x140102150 Unwind@140102150 12 ok +0x140102160 Unwind@140102160 12 ok +0x140102170 Unwind@140102170 12 ok +0x140102180 Unwind@140102180 12 ok +0x140102190 Unwind@140102190 12 ok +0x1401021a0 Unwind@1401021a0 12 ok +0x1401021b0 Unwind@1401021b0 12 ok +0x1401021c0 Unwind@1401021c0 12 ok +0x1401021d0 Unwind@1401021d0 14 ok +0x1401021e0 Unwind@1401021e0 14 ok +0x1401021f0 Unwind@1401021f0 14 ok +0x140102200 Unwind@140102200 12 ok +0x140102210 Unwind@140102210 16 ok +0x140102220 Unwind@140102220 12 ok +0x140102230 Unwind@140102230 12 ok +0x140102240 Unwind@140102240 12 ok +0x140102250 Unwind@140102250 12 ok +0x140102260 Unwind@140102260 12 ok +0x140102270 Unwind@140102270 12 ok +0x140102280 Unwind@140102280 12 ok +0x140102290 Unwind@140102290 12 ok +0x1401022a0 Unwind@1401022a0 12 ok +0x1401022b0 Unwind@1401022b0 12 ok +0x1401022c0 Unwind@1401022c0 12 ok +0x1401022d0 Unwind@1401022d0 12 ok +0x1401022e0 Catch@1401022e0 46 ok +0x140102310 Unwind@140102310 12 ok +0x140102320 Unwind@140102320 12 ok +0x140102330 Unwind@140102330 16 ok +0x140102340 Unwind@140102340 16 ok +0x140102350 Unwind@140102350 12 ok +0x140102360 Unwind@140102360 12 ok +0x140102370 Unwind@140102370 14 ok +0x140102380 Unwind@140102380 14 ok +0x140102390 Unwind@140102390 12 ok +0x1401023a0 Unwind@1401023a0 12 ok +0x1401023b0 Unwind@1401023b0 12 ok +0x1401023c0 Unwind@1401023c0 12 ok +0x1401023d0 Unwind@1401023d0 14 ok +0x1401023e0 Unwind@1401023e0 12 ok +0x1401023f0 Unwind@1401023f0 12 ok +0x140102400 Unwind@140102400 12 ok +0x140102410 Unwind@140102410 12 ok +0x140102420 Unwind@140102420 14 ok +0x140102430 Unwind@140102430 12 ok +0x140102440 Unwind@140102440 12 ok +0x140102450 Unwind@140102450 14 ok +0x140102460 Unwind@140102460 12 ok +0x140102470 Unwind@140102470 16 ok +0x140102480 Unwind@140102480 12 ok +0x140102490 Unwind@140102490 12 ok +0x1401024a0 Unwind@1401024a0 12 ok +0x1401024b0 Unwind@1401024b0 12 ok +0x1401024c0 Unwind@1401024c0 16 ok +0x1401024d0 Unwind@1401024d0 12 ok +0x1401024e0 Unwind@1401024e0 16 ok +0x1401024f0 Unwind@1401024f0 12 ok +0x140102500 Unwind@140102500 16 ok +0x140102510 Unwind@140102510 12 ok +0x140102520 Unwind@140102520 16 ok +0x140102530 Unwind@140102530 12 ok +0x140102540 Unwind@140102540 16 ok +0x140102550 Unwind@140102550 12 ok +0x140102560 Unwind@140102560 16 ok +0x140102570 Unwind@140102570 12 ok +0x140102580 Unwind@140102580 12 ok +0x140102590 Unwind@140102590 12 ok +0x1401025a0 Unwind@1401025a0 12 ok +0x1401025b0 Unwind@1401025b0 16 ok +0x1401025c0 Unwind@1401025c0 49 ok +0x140102600 Unwind@140102600 18 ok +0x140102620 Unwind@140102620 14 ok +0x140102630 Unwind@140102630 12 ok +0x140102640 Unwind@140102640 12 ok +0x140102650 Unwind@140102650 12 ok +0x140102660 Unwind@140102660 16 ok +0x140102670 Unwind@140102670 12 ok +0x140102680 Unwind@140102680 12 ok +0x140102690 Unwind@140102690 12 ok +0x1401026a0 Unwind@1401026a0 12 ok +0x1401026b0 Unwind@1401026b0 16 ok +0x1401026c0 Unwind@1401026c0 12 ok +0x1401026d0 Unwind@1401026d0 16 ok +0x1401026e0 Unwind@1401026e0 12 ok +0x1401026f0 Unwind@1401026f0 12 ok +0x140102700 Unwind@140102700 12 ok +0x140102710 Unwind@140102710 12 ok +0x140102720 Unwind@140102720 16 ok +0x140102730 Unwind@140102730 12 ok +0x140102740 Unwind@140102740 16 ok +0x140102750 Unwind@140102750 12 ok +0x140102760 Unwind@140102760 12 ok +0x140102770 Unwind@140102770 12 ok +0x140102780 Unwind@140102780 12 ok +0x140102790 Unwind@140102790 12 ok +0x1401027a0 Unwind@1401027a0 12 ok +0x1401027b0 Unwind@1401027b0 12 ok +0x1401027c0 Unwind@1401027c0 12 ok +0x1401027d0 Unwind@1401027d0 12 ok +0x1401027e0 Unwind@1401027e0 12 ok +0x1401027f0 Unwind@1401027f0 12 ok +0x140102800 Unwind@140102800 12 ok +0x140102810 Unwind@140102810 12 ok +0x140102820 Unwind@140102820 12 ok +0x140102830 Unwind@140102830 12 ok +0x140102840 Unwind@140102840 12 ok +0x140102850 Unwind@140102850 12 ok +0x140102860 Unwind@140102860 12 ok +0x140102870 Unwind@140102870 12 ok +0x140102880 Unwind@140102880 12 ok +0x140102890 Unwind@140102890 12 ok +0x1401028a0 Unwind@1401028a0 31 ok +0x1401028c0 Unwind@1401028c0 31 ok +0x1401028e0 Unwind@1401028e0 12 ok +0x1401028f0 Unwind@1401028f0 12 ok +0x140102900 Unwind@140102900 12 ok +0x140102910 Unwind@140102910 12 ok +0x140102920 Unwind@140102920 12 ok +0x140102930 Unwind@140102930 12 ok +0x140102940 Unwind@140102940 12 ok +0x140102950 Unwind@140102950 12 ok +0x140102960 Unwind@140102960 28 ok +0x140102980 Unwind@140102980 28 ok +0x1401029a0 Unwind@1401029a0 12 ok +0x1401029b0 Unwind@1401029b0 12 ok +0x1401029c0 Unwind@1401029c0 12 ok +0x1401029d0 Unwind@1401029d0 12 ok +0x1401029e0 Unwind@1401029e0 12 ok +0x1401029f0 Unwind@1401029f0 12 ok +0x140102a00 Unwind@140102a00 12 ok +0x140102a10 Unwind@140102a10 12 ok +0x140102a20 Unwind@140102a20 28 ok +0x140102a40 Unwind@140102a40 28 ok +0x140102a60 Unwind@140102a60 12 ok +0x140102a70 Unwind@140102a70 12 ok +0x140102a80 Unwind@140102a80 12 ok +0x140102a90 Unwind@140102a90 12 ok +0x140102aa0 Unwind@140102aa0 12 ok +0x140102ab0 Unwind@140102ab0 12 ok +0x140102ac0 Unwind@140102ac0 12 ok +0x140102ad0 Unwind@140102ad0 12 ok +0x140102ae0 Unwind@140102ae0 12 ok +0x140102af0 Unwind@140102af0 12 ok +0x140102b00 Unwind@140102b00 12 ok +0x140102b10 Unwind@140102b10 28 ok +0x140102b30 Unwind@140102b30 28 ok +0x140102b50 Unwind@140102b50 12 ok +0x140102b60 Unwind@140102b60 12 ok +0x140102b70 Unwind@140102b70 12 ok +0x140102b80 Unwind@140102b80 12 ok +0x140102b90 Unwind@140102b90 12 ok +0x140102ba0 Unwind@140102ba0 12 ok +0x140102bb0 Unwind@140102bb0 12 ok +0x140102bc0 Unwind@140102bc0 12 ok +0x140102bd0 Unwind@140102bd0 12 ok +0x140102be0 Unwind@140102be0 12 ok +0x140102bf0 Unwind@140102bf0 12 ok +0x140102c00 Unwind@140102c00 12 ok +0x140102c10 Unwind@140102c10 12 ok +0x140102c20 Unwind@140102c20 12 ok +0x140102c30 Unwind@140102c30 12 ok +0x140102c40 Unwind@140102c40 12 ok +0x140102c50 Unwind@140102c50 12 ok +0x140102c60 Unwind@140102c60 12 ok +0x140102c70 Unwind@140102c70 12 ok +0x140102c80 Unwind@140102c80 12 ok +0x140102c90 Unwind@140102c90 12 ok +0x140102ca0 Unwind@140102ca0 12 ok +0x140102cb0 Unwind@140102cb0 12 ok +0x140102cc0 Unwind@140102cc0 12 ok +0x140102cd0 Unwind@140102cd0 12 ok +0x140102ce0 Unwind@140102ce0 12 ok +0x140102cf0 Unwind@140102cf0 12 ok +0x140102d00 Unwind@140102d00 12 ok +0x140102d10 Unwind@140102d10 12 ok +0x140102d20 Unwind@140102d20 12 ok +0x140102d30 Unwind@140102d30 12 ok +0x140102d40 Unwind@140102d40 12 ok +0x140102d50 Unwind@140102d50 12 ok +0x140102d60 Unwind@140102d60 12 ok +0x140102d70 Unwind@140102d70 12 ok +0x140102d80 Unwind@140102d80 12 ok +0x140102d90 Unwind@140102d90 12 ok +0x140102da0 Unwind@140102da0 12 ok +0x140102db0 Unwind@140102db0 12 ok +0x140102dc0 Unwind@140102dc0 12 ok +0x140102dd0 Unwind@140102dd0 12 ok +0x140102de0 Unwind@140102de0 12 ok +0x140102df0 Unwind@140102df0 12 ok +0x140102e00 Unwind@140102e00 12 ok +0x140102e10 Unwind@140102e10 12 ok +0x140102e20 Unwind@140102e20 12 ok +0x140102e30 Unwind@140102e30 12 ok +0x140102e40 Unwind@140102e40 12 ok +0x140102e50 Unwind@140102e50 12 ok +0x140102e60 Unwind@140102e60 12 ok +0x140102e70 Unwind@140102e70 12 ok +0x140102e80 Unwind@140102e80 12 ok +0x140102e90 Unwind@140102e90 12 ok +0x140102ea0 Unwind@140102ea0 12 ok +0x140102eb0 Unwind@140102eb0 12 ok +0x140102ec0 Catch@140102ec0 76 ok +0x140102f10 Unwind@140102f10 12 ok +0x140102f20 Unwind@140102f20 12 ok +0x140102f30 Unwind@140102f30 12 ok +0x140102f40 Unwind@140102f40 12 ok +0x140102f50 Unwind@140102f50 12 ok +0x140102f60 Unwind@140102f60 12 ok +0x140102f70 Unwind@140102f70 12 ok +0x140102f80 Unwind@140102f80 12 ok +0x140102f90 Unwind@140102f90 12 ok +0x140102fa0 Unwind@140102fa0 12 ok +0x140102fb0 Unwind@140102fb0 12 ok +0x140102fc0 Unwind@140102fc0 12 ok +0x140102fd0 Unwind@140102fd0 12 ok +0x140102fe0 Unwind@140102fe0 12 ok +0x140102ff0 Unwind@140102ff0 12 ok +0x140103000 Unwind@140103000 12 ok +0x140103010 Unwind@140103010 12 ok +0x140103020 Unwind@140103020 12 ok +0x140103030 Unwind@140103030 12 ok +0x140103040 Unwind@140103040 12 ok +0x140103050 Unwind@140103050 12 ok +0x140103060 Unwind@140103060 12 ok +0x140103070 Unwind@140103070 12 ok +0x140103080 Unwind@140103080 12 ok +0x140103090 Unwind@140103090 12 ok +0x1401030a0 Unwind@1401030a0 12 ok +0x1401030b0 Unwind@1401030b0 12 ok +0x1401030c0 Unwind@1401030c0 12 ok +0x1401030d0 Unwind@1401030d0 12 ok +0x1401030e0 Unwind@1401030e0 12 ok +0x1401030f0 Unwind@1401030f0 12 ok +0x140103100 Unwind@140103100 14 ok +0x140103110 Unwind@140103110 12 ok +0x140103120 Unwind@140103120 14 ok +0x140103130 Unwind@140103130 12 ok +0x140103140 Unwind@140103140 14 ok +0x140103150 Unwind@140103150 12 ok +0x140103160 Unwind@140103160 14 ok +0x140103170 Unwind@140103170 12 ok +0x140103180 Unwind@140103180 12 ok +0x140103190 Unwind@140103190 14 ok +0x1401031a0 Unwind@1401031a0 12 ok +0x1401031b0 Unwind@1401031b0 12 ok +0x1401031c0 Unwind@1401031c0 12 ok +0x1401031d0 Unwind@1401031d0 12 ok +0x1401031e0 Unwind@1401031e0 12 ok +0x1401031f0 Unwind@1401031f0 14 ok +0x140103200 Unwind@140103200 12 ok +0x140103210 Unwind@140103210 12 ok +0x140103220 Unwind@140103220 16 ok +0x140103230 Unwind@140103230 12 ok +0x140103240 Unwind@140103240 16 ok +0x140103250 Unwind@140103250 12 ok +0x140103260 Unwind@140103260 16 ok +0x140103270 Unwind@140103270 12 ok +0x140103280 Unwind@140103280 12 ok +0x140103290 Unwind@140103290 12 ok +0x1401032a0 Unwind@1401032a0 12 ok +0x1401032b0 Unwind@1401032b0 12 ok +0x1401032c0 Unwind@1401032c0 12 ok +0x1401032d0 Unwind@1401032d0 12 ok +0x1401032e0 Unwind@1401032e0 12 ok +0x1401032f0 Unwind@1401032f0 12 ok +0x140103300 Unwind@140103300 12 ok +0x140103310 Unwind@140103310 12 ok +0x140103320 Unwind@140103320 12 ok +0x140103330 Unwind@140103330 12 ok +0x140103340 Unwind@140103340 12 ok +0x140103350 Unwind@140103350 12 ok +0x140103360 Unwind@140103360 12 ok +0x140103370 Unwind@140103370 12 ok +0x140103380 Unwind@140103380 12 ok +0x140103390 Unwind@140103390 12 ok +0x1401033a0 Unwind@1401033a0 12 ok +0x1401033b0 Unwind@1401033b0 12 ok +0x1401033c0 Unwind@1401033c0 12 ok +0x1401033d0 Unwind@1401033d0 12 ok +0x1401033e0 Unwind@1401033e0 12 ok +0x1401033f0 Unwind@1401033f0 12 ok +0x140103400 Unwind@140103400 12 ok +0x140103410 Unwind@140103410 12 ok +0x140103420 Unwind@140103420 12 ok +0x140103430 Unwind@140103430 12 ok +0x140103440 Unwind@140103440 12 ok +0x140103450 Unwind@140103450 12 ok +0x140103460 Unwind@140103460 12 ok +0x140103470 Unwind@140103470 22 ok +0x140103490 Unwind@140103490 22 ok +0x1401034b0 Unwind@1401034b0 22 ok +0x1401034d0 Unwind@1401034d0 14 ok +0x1401034e0 Unwind@1401034e0 14 ok +0x1401034f0 Unwind@1401034f0 12 ok +0x140103500 Unwind@140103500 14 ok +0x140103510 Unwind@140103510 14 ok +0x140103520 Unwind@140103520 14 ok +0x140103530 Unwind@140103530 12 ok +0x140103540 Unwind@140103540 16 ok +0x140103550 Unwind@140103550 12 ok +0x140103560 Unwind@140103560 14 ok +0x140103570 Unwind@140103570 12 ok +0x140103580 FUN_140103580 45 ok +0x1401035b0 FUN_1401035b0 42 ok +0x1401035e0 FUN_1401035e0 45 ok +0x140103610 FUN_140103610 25 ok +0x140103630 FUN_140103630 33 ok +0x140103680 FUN_140103680 45 ok +0x1401036b0 FUN_1401036b0 45 ok +0x1401036e0 FUN_1401036e0 45 ok +0x140103710 FUN_140103710 42 ok +0x140103740 FUN_140103740 42 ok +0x140103770 FUN_140103770 42 ok +0x140103810 FUN_140103810 42 ok +0x140103840 FUN_140103840 42 ok +0x140103870 FUN_140103870 45 ok +0x1401038a0 FUN_1401038a0 42 ok +0x1401038d0 FUN_1401038d0 42 ok +0x140103900 FUN_140103900 42 ok +0x140103930 FUN_140103930 55 ok +0x140103970 FUN_140103970 42 ok +0x14010399c FUN_14010399c 32 ok +0x1401039bc FUN_1401039bc 54 ok +0x140103cf0 FUN_140103cf0 42 ok +0x140103d90 FUN_140103d90 42 ok +0x140103dc0 FUN_140103dc0 42 ok +0x140103e00 FUN_140103e00 42 ok +0x140103e30 FUN_140103e30 42 ok +0x140103e70 FUN_140103e70 114 ok +0x140103ef0 FUN_140103ef0 42 ok +0x140103f20 FUN_140103f20 42 ok +0x140103f50 FUN_140103f50 42 ok +0x140103fd0 FUN_140103fd0 42 ok +0x140104000 FUN_140104000 327 ok +0x140104150 FUN_140104150 106 ok +0x1401041d0 FUN_1401041d0 106 ok +0x1401042b0 FUN_1401042b0 59 ok +0x140104300 FUN_140104300 61 ok +0x140104360 FUN_140104360 55 ok +0x1401043b0 FUN_1401043b0 59 ok +0x1401043f0 FUN_1401043f0 61 ok +0x140104430 FUN_140104430 61 ok +0x1401044b0 FUN_1401044b0 43 ok +0x1401045c8 FUN_1401045c8 50 ok +0x1401045fc FUN_1401045fc 15 ok +0x140104610 FUN_140104610 14 ok +0x140104620 FUN_140104620 31 ok +0x140104650 FUN_140104650 131 ok +0x140104730 FUN_140104730 87 ok +0x140104790 FUN_140104790 15 ok +0x1401047a0 FUN_1401047a0 101 ok +0x140104820 FUN_140104820 61 ok +0x1401048c0 FUN_1401048c0 15 ok diff --git a/decomp/AgentManager_Release_x64/full/vtables.tsv b/decomp/AgentManager_Release_x64/full/vtables.tsv new file mode 100644 index 00000000..42e1cbb7 --- /dev/null +++ b/decomp/AgentManager_Release_x64/full/vtables.tsv @@ -0,0 +1,1442 @@ +class vftable slot function name +type_info 0x140108b08 0 0x14004915c type_info::`vector_deleting_destructor' +Proud::CFastHeap 0x140106698 0 0x14003e8e0 FUN_14003e8e0 +Proud::CFastHeap 0x140106698 1 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CFastHeap 0x140106698 2 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CFastHeap 0x140106698 3 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CFastHeap 0x140106698 4 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CMemoryHeap 0x140106788 0 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CMemoryHeap 0x140106788 1 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CMemoryHeap 0x140106788 2 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CMemoryHeap 0x140106788 3 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CMemoryHeap 0x140106788 4 0x14003e9a0 FUN_14003e9a0 +Proud::CFastHeapImpl 0x1401067e0 0 0x14003ebc0 FUN_14003ebc0 +Proud::CFastHeapImpl 0x1401067e0 1 0x14003ec50 FUN_14003ec50 +Proud::CFastHeapImpl 0x1401067e0 2 0x14003ed40 FUN_14003ed40 +Proud::CFastHeapImpl 0x1401067e0 3 0x14003ef50 FUN_14003ef50 +Proud::CFastHeapImpl 0x1401067e0 4 0x14003ea50 FUN_14003ea50 +Proud::CMemoryHeapImpl 0x140106858 0 0x14003ead0 FUN_14003ead0 +Proud::CMemoryHeapImpl 0x140106858 1 0x14003eaf0 FUN_14003eaf0 +Proud::CMemoryHeapImpl 0x140106858 2 0x14003eb10 FUN_14003eb10 +Proud::CMemoryHeapImpl 0x140106858 3 0x14003eb40 FUN_14003eb40 +Proud::CMemoryHeapImpl 0x140106858 4 0x14003eb60 FUN_14003eb60 +Proud::AddrPort 0x140107138 0 0x1400420f0 FUN_1400420f0 +Proud::AddrPort 0x140107138 1 0x140042260 FUN_140042260 +Proud::IFastSocketDelegate 0x140107150 0 0x14003fa90 FUN_14003fa90 +Proud::IFastSocketDelegate 0x140107150 1 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CReportSocketDg 0x140107260 0 0x14003fa90 FUN_14003fa90 +Proud::CReportSocketDg 0x140107260 1 0x1400c4c50 FUN_1400c4c50 +Proud::CLookasideAllocator 0x1401074b8 0 0x140041780 FUN_140041780 +Proud::CLookasideAllocator 0x1401074b8 1 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CLookasideAllocator 0x1401074b8 2 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CLookasideAllocator 0x1401074b8 3 0x1400495d0 MSVCR100.DLL::_purecall +Proud::IHasOverlappedIo 0x140107758 0 0x140043520 FUN_140043520 +Proud::IHasOverlappedIo 0x140107758 1 0x1400495d0 MSVCR100.DLL::_purecall +Proud::IHasOverlappedIo 0x140107758 2 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CFastArray 0x140107870 0 0x140043d60 FUN_140043d60 +Proud::CSocketBuffer 0x140107880 0 0x140043d60 FUN_140043d60 +Proud::CLookasideAllocatorImpl 0x140108560 0 0x140046850 FUN_140046850 +Proud::CLookasideAllocatorImpl 0x140108560 1 0x1400464f0 FUN_1400464f0 +Proud::CLookasideAllocatorImpl 0x140108560 2 0x140046530 FUN_140046530 +Proud::CLookasideAllocatorImpl 0x140108560 3 0x140046140 FUN_140046140 +Proud::CRandom 0x140108958 0 0x140048150 FUN_140048150 +Proud::ByteArray 0x140108c18 0 0x140049ba0 FUN_140049ba0 +Proud::IRmiHost 0x140108db8 0 0x140049e90 FUN_140049e90 +Proud::IRmiHost 0x140108db8 1 0x1400495d0 MSVCR100.DLL::_purecall +Proud::IRmiHost 0x140108db8 2 0x1400495d0 MSVCR100.DLL::_purecall +Proud::IRmiHost 0x140108db8 3 0x1400495d0 MSVCR100.DLL::_purecall +Proud::IRmiHost 0x140108db8 4 0x1400495d0 MSVCR100.DLL::_purecall +Proud::IRmiHost 0x140108db8 5 0x1400495d0 MSVCR100.DLL::_purecall +Proud::IRmiHost 0x140108db8 6 0x1400495d0 MSVCR100.DLL::_purecall +Proud::IRmiHost 0x140108db8 7 0x1400495d0 MSVCR100.DLL::_purecall +Proud::IRmiHost 0x140108db8 8 0x1400495d0 MSVCR100.DLL::_purecall +Proud::IRmiHost 0x140108db8 9 0x1400495d0 MSVCR100.DLL::_purecall +Proud::IRmiHost 0x140108db8 10 0x1400495d0 MSVCR100.DLL::_purecall +Proud::IRmiHost 0x140108db8 11 0x1400495d0 MSVCR100.DLL::_purecall +Proud::IRmiHost 0x140108db8 12 0x1400495d0 MSVCR100.DLL::_purecall +Proud::IRmiHost 0x140108db8 13 0x1400495d0 MSVCR100.DLL::_purecall +Proud::IRmiHost 0x140108db8 14 0x1400495d0 MSVCR100.DLL::_purecall +Proud::ICompletionContext 0x140108e38 0 0x140049ed0 FUN_140049ed0 +Proud::ICompletionContext 0x140108e38 1 0x140094860 FUN_140094860 +Proud::ICompletionPortEventSink 0x140108e50 0 0x140049f10 FUN_140049f10 +Proud::ICompletionPortEventSink 0x140108e50 1 0x1400495d0 MSVCR100.DLL::_purecall +Proud::ISendDest_S 0x140108e68 0 0x140094860 FUN_140094860 +Proud::ISendDest_S 0x140108e68 1 0x140049f50 FUN_140049f50 +Proud::ISendDest_S 0x140108e68 2 0x140094860 FUN_140094860 +Proud::IUserTaskQueueOwner 0x140108e88 0 0x140049f90 FUN_140049f90 +Proud::IUserTaskQueueOwner 0x140108e88 1 0x1400495d0 MSVCR100.DLL::_purecall +Proud::IUserTaskQueueOwner 0x140108e88 2 0x1400495d0 MSVCR100.DLL::_purecall +Proud::IUserTaskQueueOwner 0x140108e88 3 0x1400495d0 MSVCR100.DLL::_purecall +Proud::IVizAgentDg 0x140108eb0 0 0x140049fd0 FUN_140049fd0 +Proud::IVizAgentDg 0x140108eb0 1 0x1400495d0 MSVCR100.DLL::_purecall +Proud::IVizAgentDg 0x140108eb0 2 0x1400495d0 MSVCR100.DLL::_purecall +Proud::IVizAgentDg 0x140108eb0 3 0x1400495d0 MSVCR100.DLL::_purecall +ProudS2C::Proxy 0x140108ed8 0 0x14004a000 FUN_14004a000 +ProudS2C::Proxy 0x140108ed8 1 0x14009b740 FUN_14009b740 +ProudS2C::Proxy 0x140108ed8 2 0x140079c10 FUN_140079c10 +ProudS2C::Proxy 0x140108ed8 3 0x140076990 FUN_140076990 +ProudS2C::Proxy 0x140108ed8 4 0x14004aea0 FUN_14004aea0 +ProudS2C::Proxy 0x140108ed8 5 0x14005b850 FUN_14005b850 +ProudS2C::Proxy 0x140108ed8 6 0x14005b530 FUN_14005b530 +ProudS2C::Proxy 0x140108ed8 7 0x14005bdc0 FUN_14005bdc0 +ProudS2C::Proxy 0x140108ed8 8 0x14005bb80 FUN_14005bb80 +ProudS2C::Proxy 0x140108ed8 9 0x140055af0 FUN_140055af0 +ProudS2C::Proxy 0x140108ed8 10 0x140055960 FUN_140055960 +ProudS2C::Proxy 0x140108ed8 11 0x140055dc0 FUN_140055dc0 +ProudS2C::Proxy 0x140108ed8 12 0x140055c90 FUN_140055c90 +ProudS2C::Proxy 0x140108ed8 13 0x140055ff0 FUN_140055ff0 +ProudS2C::Proxy 0x140108ed8 14 0x140055f00 FUN_140055f00 +ProudS2C::Proxy 0x140108ed8 15 0x1400561e0 FUN_1400561e0 +ProudS2C::Proxy 0x140108ed8 16 0x1400560f0 FUN_1400560f0 +ProudS2C::Proxy 0x140108ed8 17 0x140056470 FUN_140056470 +ProudS2C::Proxy 0x140108ed8 18 0x1400562e0 FUN_1400562e0 +ProudS2C::Proxy 0x140108ed8 19 0x1400566d0 FUN_1400566d0 +ProudS2C::Proxy 0x140108ed8 20 0x140056610 FUN_140056610 +ProudS2C::Proxy 0x140108ed8 21 0x140056860 FUN_140056860 +ProudS2C::Proxy 0x140108ed8 22 0x1400567a0 FUN_1400567a0 +ProudS2C::Proxy 0x140108ed8 23 0x1400569f0 FUN_1400569f0 +ProudS2C::Proxy 0x140108ed8 24 0x140056930 FUN_140056930 +ProudS2C::Proxy 0x140108ed8 25 0x140056b80 FUN_140056b80 +ProudS2C::Proxy 0x140108ed8 26 0x140056ac0 FUN_140056ac0 +ProudS2C::Proxy 0x140108ed8 27 0x140056d30 FUN_140056d30 +ProudS2C::Proxy 0x140108ed8 28 0x140056c50 FUN_140056c50 +ProudS2C::Proxy 0x140108ed8 29 0x140056ed0 FUN_140056ed0 +ProudS2C::Proxy 0x140108ed8 30 0x140056e10 FUN_140056e10 +ProudS2C::Proxy 0x140108ed8 31 0x140057060 FUN_140057060 +ProudS2C::Proxy 0x140108ed8 32 0x140056fa0 FUN_140056fa0 +ProudS2C::Proxy 0x140108ed8 33 0x140057210 FUN_140057210 +ProudS2C::Proxy 0x140108ed8 34 0x140057130 FUN_140057130 +ProudS2C::Proxy 0x140108ed8 35 0x1400573d0 FUN_1400573d0 +ProudS2C::Proxy 0x140108ed8 36 0x1400572f0 FUN_1400572f0 +ProudS2C::Proxy 0x140108ed8 37 0x140057590 FUN_140057590 +ProudS2C::Proxy 0x140108ed8 38 0x1400574b0 FUN_1400574b0 +ProudS2C::Proxy 0x140108ed8 39 0x140057750 FUN_140057750 +ProudS2C::Proxy 0x140108ed8 40 0x140057670 FUN_140057670 +ProudS2C::Proxy 0x140108ed8 41 0x140057920 FUN_140057920 +ProudS2C::Proxy 0x140108ed8 42 0x140057830 FUN_140057830 +Proud::CNetServerImpl::Proxy 0x140109038 0 0x14004a000 FUN_14004a000 +Proud::CNetServerImpl::Proxy 0x140109038 1 0x14009b740 FUN_14009b740 +Proud::CNetServerImpl::Proxy 0x140109038 2 0x140079c10 FUN_140079c10 +Proud::CNetServerImpl::Proxy 0x140109038 3 0x140076990 FUN_140076990 +Proud::CNetServerImpl::Proxy 0x140109038 4 0x14004aea0 FUN_14004aea0 +Proud::CNetServerImpl::Proxy 0x140109038 5 0x14005b850 FUN_14005b850 +Proud::CNetServerImpl::Proxy 0x140109038 6 0x14005b530 FUN_14005b530 +Proud::CNetServerImpl::Proxy 0x140109038 7 0x14005bdc0 FUN_14005bdc0 +Proud::CNetServerImpl::Proxy 0x140109038 8 0x14005bb80 FUN_14005bb80 +Proud::CNetServerImpl::Proxy 0x140109038 9 0x140055af0 FUN_140055af0 +Proud::CNetServerImpl::Proxy 0x140109038 10 0x140055960 FUN_140055960 +Proud::CNetServerImpl::Proxy 0x140109038 11 0x140055dc0 FUN_140055dc0 +Proud::CNetServerImpl::Proxy 0x140109038 12 0x140055c90 FUN_140055c90 +Proud::CNetServerImpl::Proxy 0x140109038 13 0x140055ff0 FUN_140055ff0 +Proud::CNetServerImpl::Proxy 0x140109038 14 0x140055f00 FUN_140055f00 +Proud::CNetServerImpl::Proxy 0x140109038 15 0x1400561e0 FUN_1400561e0 +Proud::CNetServerImpl::Proxy 0x140109038 16 0x1400560f0 FUN_1400560f0 +Proud::CNetServerImpl::Proxy 0x140109038 17 0x140056470 FUN_140056470 +Proud::CNetServerImpl::Proxy 0x140109038 18 0x1400562e0 FUN_1400562e0 +Proud::CNetServerImpl::Proxy 0x140109038 19 0x1400566d0 FUN_1400566d0 +Proud::CNetServerImpl::Proxy 0x140109038 20 0x140056610 FUN_140056610 +Proud::CNetServerImpl::Proxy 0x140109038 21 0x140056860 FUN_140056860 +Proud::CNetServerImpl::Proxy 0x140109038 22 0x1400567a0 FUN_1400567a0 +Proud::CNetServerImpl::Proxy 0x140109038 23 0x1400569f0 FUN_1400569f0 +Proud::CNetServerImpl::Proxy 0x140109038 24 0x140056930 FUN_140056930 +Proud::CNetServerImpl::Proxy 0x140109038 25 0x140056b80 FUN_140056b80 +Proud::CNetServerImpl::Proxy 0x140109038 26 0x140056ac0 FUN_140056ac0 +Proud::CNetServerImpl::Proxy 0x140109038 27 0x140056d30 FUN_140056d30 +Proud::CNetServerImpl::Proxy 0x140109038 28 0x140056c50 FUN_140056c50 +Proud::CNetServerImpl::Proxy 0x140109038 29 0x140056ed0 FUN_140056ed0 +Proud::CNetServerImpl::Proxy 0x140109038 30 0x140056e10 FUN_140056e10 +Proud::CNetServerImpl::Proxy 0x140109038 31 0x140057060 FUN_140057060 +Proud::CNetServerImpl::Proxy 0x140109038 32 0x140056fa0 FUN_140056fa0 +Proud::CNetServerImpl::Proxy 0x140109038 33 0x140057210 FUN_140057210 +Proud::CNetServerImpl::Proxy 0x140109038 34 0x140057130 FUN_140057130 +Proud::CNetServerImpl::Proxy 0x140109038 35 0x1400573d0 FUN_1400573d0 +Proud::CNetServerImpl::Proxy 0x140109038 36 0x1400572f0 FUN_1400572f0 +Proud::CNetServerImpl::Proxy 0x140109038 37 0x140057590 FUN_140057590 +Proud::CNetServerImpl::Proxy 0x140109038 38 0x1400574b0 FUN_1400574b0 +Proud::CNetServerImpl::Proxy 0x140109038 39 0x140057750 FUN_140057750 +Proud::CNetServerImpl::Proxy 0x140109038 40 0x140057670 FUN_140057670 +Proud::CNetServerImpl::Proxy 0x140109038 41 0x140057920 FUN_140057920 +Proud::CNetServerImpl::Proxy 0x140109038 42 0x140057830 FUN_140057830 +Proud::CNetServer 0x1401093e8 0 0x140049e90 FUN_140049e90 +Proud::CNetServer 0x1401093e8 1 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 2 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 3 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 4 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 5 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 6 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 7 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 8 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 9 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 10 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 11 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 12 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 13 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 14 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 15 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 16 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 17 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 18 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 19 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 20 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 21 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 22 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 23 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 24 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 25 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 26 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 27 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 28 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 29 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 30 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 31 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 32 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 33 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 34 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 35 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 36 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 37 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 38 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 39 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 40 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 41 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 42 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 43 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 44 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 45 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 46 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 47 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 48 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 49 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 50 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 51 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 52 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 53 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 54 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 55 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 56 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 57 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 58 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 59 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 60 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 61 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 62 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 63 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 64 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 65 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 66 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 67 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServer 0x1401093e8 68 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetServerImpl::C2SStub 0x140109618 0 0x14004a050 FUN_14004a050 +Proud::CNetServerImpl::C2SStub 0x140109618 1 0x14004a060 FUN_14004a060 +Proud::CNetServerImpl::C2SStub 0x140109618 2 0x140051de0 FUN_140051de0 +Proud::CNetServerImpl::C2SStub 0x140109618 3 0x14002efb0 FUN_14002efb0 +Proud::CNetServerImpl::C2SStub 0x140109618 4 0x14002efb0 FUN_14002efb0 +Proud::CNetServerImpl::C2SStub 0x140109618 5 0x140005d50 FUN_140005d50 +Proud::CNetServerImpl::C2SStub 0x140109618 6 0x14009bc10 FUN_14009bc10 +Proud::CNetServerImpl::C2SStub 0x140109618 7 0x1400580d0 FUN_1400580d0 +Proud::CNetServerImpl::C2SStub 0x140109618 8 0x14005ea40 FUN_14005ea40 +Proud::CNetServerImpl::C2SStub 0x140109618 9 0x14005d460 FUN_14005d460 +Proud::CNetServerImpl::C2SStub 0x140109618 10 0x1400699b0 FUN_1400699b0 +Proud::CNetServerImpl::C2SStub 0x140109618 11 0x14005e510 FUN_14005e510 +Proud::CNetServerImpl::C2SStub 0x140109618 12 0x140058210 FUN_140058210 +Proud::CNetServerImpl::C2SStub 0x140109618 13 0x1400700f0 FUN_1400700f0 +Proud::CNetServerImpl::C2SStub 0x140109618 14 0x140057bf0 FUN_140057bf0 +Proud::CNetServerImpl::C2SStub 0x140109618 15 0x140057d30 FUN_140057d30 +Proud::CNetServerImpl::C2SStub 0x140109618 16 0x140058370 FUN_140058370 +Proud::CNetServerImpl::C2SStub 0x140109618 17 0x14005ed10 FUN_14005ed10 +Proud::CNetServerImpl::C2SStub 0x140109618 18 0x140062bb0 FUN_140062bb0 +Proud::CNetServerImpl::C2SStub 0x140109618 19 0x140057a10 FUN_140057a10 +Proud::CNetServerImpl::C2SStub 0x140109618 20 0x140057b00 FUN_140057b00 +Proud::CNetServerImpl::C2SStub 0x140109618 21 0x140058460 FUN_140058460 +Proud::CNetServerImpl::C2SStub 0x140109618 22 0x140062e90 FUN_140062e90 +Proud::CNetServerImpl::C2SStub 0x140109618 23 0x14005c010 FUN_14005c010 +Proud::CNetServerImpl::C2SStub 0x140109618 24 0x1400585a0 FUN_1400585a0 +Proud::CNetServerImpl::C2SStub 0x140109618 25 0x140058750 FUN_140058750 +Proud::CFastArray 0x140109bc0 0 0x14004ba80 FUN_14004ba80 +Proud::CFastArray 0x140109bd0 0 0x140096480 FUN_140096480 +Proud::CFastArray 0x140109be0 0 0x14004dde0 FUN_14004dde0 +Proud::CFastArray 0x140109bf0 0 0x14004bae0 FUN_14004bae0 +Proud::CFastArray,0> 0x140109c00 0 0x14005b120 FUN_14005b120 +Proud::CFastArray 0x140109c10 0 0x14004bb40 FUN_14004bb40 +Proud::CFastArray 0x140109c20 0 0x14004bba0 FUN_14004bba0 +Proud::CFastArray 0x140109c40 0 0x14004bc00 FUN_14004bc00 +Proud::CUncompressedFrameNumberArray 0x140109c50 0 0x14004dde0 FUN_14004dde0 +Proud::CFastArray,0> 0x14010c580 0 0x14005d700 FUN_14005d700 +Proud::CP2PGroupMemberBase_S 0x14010de70 0 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CP2PGroupMemberBase_S 0x14010de70 1 0x140067a50 FUN_140067a50 +Proud::CNetServerImpl 0x14010e2b8 0 0x140071510 FUN_140071510 +Proud::CNetServerImpl 0x14010e2b8 1 0x14009b730 thunk_FUN_140077540 +Proud::CNetServerImpl 0x14010e2b8 2 0x14004a020 thunk_FUN_140077740 +Proud::CNetServerImpl 0x14010e2b8 3 0x140068fb0 thunk_FUN_1400771f0 +Proud::CNetServerImpl 0x14010e2b8 4 0x140068fc0 thunk_FUN_140077350 +Proud::CNetServerImpl 0x14010e2b8 5 0x14004af60 FUN_14004af60 +Proud::CNetServerImpl 0x14010e2b8 6 0x14004a1b0 FUN_14004a1b0 +Proud::CNetServerImpl 0x14010e2b8 7 0x1400608f0 FUN_1400608f0 +Proud::CNetServerImpl 0x14010e2b8 8 0x140068fd0 thunk_FUN_140079c10 +Proud::CNetServerImpl 0x14010e2b8 9 0x1400b1a90 thunk_FUN_140076fb0 +Proud::CNetServerImpl 0x14010e2b8 10 0x140065110 FUN_140065110 +Proud::CNetServerImpl 0x14010e2b8 11 0x14004a010 FUN_14004a010 +Proud::CNetServerImpl 0x14010e2b8 12 0x14004b400 FUN_14004b400 +Proud::CNetServerImpl 0x14010e2b8 13 0x1400a6c00 FUN_1400a6c00 +Proud::CNetServerImpl 0x14010e2b8 14 0x1400a6d80 FUN_1400a6d80 +Proud::CNetServerImpl 0x14010e2b8 15 0x140067c10 FUN_140067c10 +Proud::CNetServerImpl 0x14010e2b8 16 0x14006d8c0 FUN_14006d8c0 +Proud::CNetServerImpl 0x14010e2b8 17 0x14006dbc0 FUN_14006dbc0 +Proud::CNetServerImpl 0x14010e2b8 18 0x14004b310 FUN_14004b310 +Proud::CNetServerImpl 0x14010e2b8 19 0x14004a030 FUN_14004a030 +Proud::CNetServerImpl 0x14010e2b8 20 0x140050540 FUN_140050540 +Proud::CNetServerImpl 0x14010e2b8 21 0x140050660 FUN_140050660 +Proud::CNetServerImpl 0x14010e2b8 22 0x140050750 FUN_140050750 +Proud::CNetServerImpl 0x14010e2b8 23 0x140050870 FUN_140050870 +Proud::CNetServerImpl 0x14010e2b8 24 0x140058da0 FUN_140058da0 +Proud::CNetServerImpl 0x14010e2b8 25 0x14005abe0 FUN_14005abe0 +Proud::CNetServerImpl 0x14010e2b8 26 0x14004a1a0 FUN_14004a1a0 +Proud::CNetServerImpl 0x14010e2b8 27 0x1400714c0 FUN_1400714c0 +Proud::CNetServerImpl 0x14010e298 0 0x140069140 FUN_140069140 +Proud::CNetServerImpl 0x14010e298 1 0x14004de90 FUN_14004de90 +Proud::CNetServerImpl 0x14010e280 0 0x140069050 FUN_140069050 +Proud::CNetServerImpl 0x14010e280 1 0x1400c4c50 FUN_1400c4c50 +Proud::CNetServerImpl 0x14010e260 0 0x140094860 FUN_140094860 +Proud::CNetServerImpl 0x14010e260 1 0x140069090 FUN_140069090 +Proud::CNetServerImpl 0x14010e260 2 0x14004a1b0 FUN_14004a1b0 +Proud::CNetServerImpl 0x14010e228 0 0x1400690f0 FUN_1400690f0 +Proud::CNetServerImpl 0x14010e228 1 0x14009bb30 FUN_14009bb30 +Proud::CNetServerImpl 0x14010e228 2 0x14004afa0 FUN_14004afa0 +Proud::CNetServerImpl 0x14010e228 3 0x14004a070 FUN_14004a070 +Proud::CNetServerImpl 0x14010e228 4 0x14004a080 FUN_14004a080 +Proud::CNetServerImpl 0x14010e228 5 0x140067b50 FUN_140067b50 +Proud::CNetServerImpl 0x14010dff8 0 0x140069070 FUN_140069070 +Proud::CNetServerImpl 0x14010dff8 1 0x140069120 FUN_140069120 +Proud::CNetServerImpl 0x14010dff8 2 0x140069080 FUN_140069080 +Proud::CNetServerImpl 0x14010dff8 3 0x1400690e0 FUN_1400690e0 +Proud::CNetServerImpl 0x14010dff8 4 0x140069020 FUN_140069020 +Proud::CNetServerImpl 0x14010dff8 5 0x140069150 FUN_140069150 +Proud::CNetServerImpl 0x14010dff8 6 0x140069060 FUN_140069060 +Proud::CNetServerImpl 0x14010dff8 7 0x140069190 FUN_140069190 +Proud::CNetServerImpl 0x14010dff8 8 0x140069040 FUN_140069040 +Proud::CNetServerImpl 0x14010dff8 9 0x140069110 FUN_140069110 +Proud::CNetServerImpl 0x14010dff8 10 0x1400691a0 FUN_1400691a0 +Proud::CNetServerImpl 0x14010dff8 11 0x1400690d0 FUN_1400690d0 +Proud::CNetServerImpl 0x14010dff8 12 0x140069160 FUN_140069160 +Proud::CNetServerImpl 0x14010dff8 13 0x140069180 FUN_140069180 +Proud::CNetServerImpl 0x14010dff8 14 0x140069170 FUN_140069170 +Proud::CNetServerImpl 0x14010dff8 15 0x140058f10 FUN_140058f10 +Proud::CNetServerImpl 0x14010dff8 16 0x14004ef00 FUN_14004ef00 +Proud::CNetServerImpl 0x14010dff8 17 0x14006e7d0 FUN_14006e7d0 +Proud::CNetServerImpl 0x14010dff8 18 0x14006e060 FUN_14006e060 +Proud::CNetServerImpl 0x14010dff8 19 0x14006f560 FUN_14006f560 +Proud::CNetServerImpl 0x14010dff8 20 0x14009d330 FUN_14009d330 +Proud::CNetServerImpl 0x14010dff8 21 0x14004afb0 FUN_14004afb0 +Proud::CNetServerImpl 0x14010dff8 22 0x140050060 FUN_140050060 +Proud::CNetServerImpl 0x14010dff8 23 0x14004f290 FUN_14004f290 +Proud::CNetServerImpl 0x14010dff8 24 0x14004ed70 FUN_14004ed70 +Proud::CNetServerImpl 0x14010dff8 25 0x14004f070 FUN_14004f070 +Proud::CNetServerImpl 0x14010dff8 26 0x14004f180 FUN_14004f180 +Proud::CNetServerImpl 0x14010dff8 27 0x140059100 FUN_140059100 +Proud::CNetServerImpl 0x14010dff8 28 0x1400648f0 FUN_1400648f0 +Proud::CNetServerImpl 0x14010dff8 29 0x14004b2a0 FUN_14004b2a0 +Proud::CNetServerImpl 0x14010dff8 30 0x14006a090 FUN_14006a090 +Proud::CNetServerImpl 0x14010dff8 31 0x14004aed0 FUN_14004aed0 +Proud::CNetServerImpl 0x14010dff8 32 0x14004f390 FUN_14004f390 +Proud::CNetServerImpl 0x14010dff8 33 0x140050970 FUN_140050970 +Proud::CNetServerImpl 0x14010dff8 34 0x14004b480 FUN_14004b480 +Proud::CNetServerImpl 0x14010dff8 35 0x14004a090 FUN_14004a090 +Proud::CNetServerImpl 0x14010dff8 36 0x14006c330 FUN_14006c330 +Proud::CNetServerImpl 0x14010dff8 37 0x14006e290 FUN_14006e290 +Proud::CNetServerImpl 0x14010dff8 38 0x14004a140 FUN_14004a140 +Proud::CNetServerImpl 0x14010dff8 39 0x140063170 FUN_140063170 +Proud::CNetServerImpl 0x14010dff8 40 0x14004fb50 FUN_14004fb50 +Proud::CNetServerImpl 0x14010dff8 41 0x140070200 FUN_140070200 +Proud::CNetServerImpl 0x14010dff8 42 0x14004b320 FUN_14004b320 +Proud::CNetServerImpl 0x14010dff8 43 0x1400596e0 FUN_1400596e0 +Proud::CNetServerImpl 0x14010dff8 44 0x14004b240 FUN_14004b240 +Proud::CNetServerImpl 0x14010dff8 45 0x140050220 FUN_140050220 +Proud::CNetServerImpl 0x14010dff8 46 0x14004a110 FUN_14004a110 +Proud::CNetServerImpl 0x14010dff8 47 0x14004b0b0 FUN_14004b0b0 +Proud::CNetServerImpl 0x14010dff8 48 0x14004a0a0 FUN_14004a0a0 +Proud::CNetServerImpl 0x14010dff8 49 0x14004fe80 FUN_14004fe80 +Proud::CNetServerImpl 0x14010dff8 50 0x14004ff70 FUN_14004ff70 +Proud::CNetServerImpl 0x14010dff8 51 0x14004a0e0 FUN_14004a0e0 +Proud::CNetServerImpl 0x14010dff8 52 0x140050a70 FUN_140050a70 +Proud::CNetServerImpl 0x14010dff8 53 0x14004b040 FUN_14004b040 +Proud::CNetServerImpl 0x14010dff8 54 0x14004a1e0 FUN_14004a1e0 +Proud::CNetServerImpl 0x14010dff8 55 0x140050c20 FUN_140050c20 +Proud::CNetServerImpl 0x14010dff8 56 0x14004b1a0 FUN_14004b1a0 +Proud::CNetServerImpl 0x14010dff8 57 0x140050d30 FUN_140050d30 +Proud::CNetServerImpl 0x14010dff8 58 0x140065170 FUN_140065170 +Proud::CNetServerImpl 0x14010dff8 59 0x140065440 FUN_140065440 +Proud::CNetServerImpl 0x14010dff8 60 0x140050e10 FUN_140050e10 +Proud::CNetServerImpl 0x14010dff8 61 0x14004a130 FUN_14004a130 +Proud::CNetServerImpl 0x14010dff8 62 0x140059440 FUN_140059440 +Proud::CNetServerImpl 0x14010dff8 63 0x140064b50 FUN_140064b50 +Proud::CNetServerImpl 0x14010dff8 64 0x14005a600 FUN_14005a600 +Proud::CNetServerImpl 0x14010dff8 65 0x14005a7c0 FUN_14005a7c0 +Proud::CNetServerImpl 0x14010dff8 66 0x140068fe0 FUN_140068fe0 +Proud::CNetServerImpl 0x14010dff8 67 0x14004a1c0 FUN_14004a1c0 +Proud::CNetServerImpl 0x14010dff8 68 0x14005fc80 FUN_14005fc80 +Proud::CNetServerImpl 0x14010dfd8 0 0x1400690b0 FUN_1400690b0 +Proud::CNetServerImpl 0x14010dfd8 1 0x140094860 FUN_140094860 +Proud::CNetServerImpl 0x14010dfc0 0 0x1400690a0 FUN_1400690a0 +Proud::CNetServerImpl 0x14010dfc0 1 0x140069100 FUN_140069100 +Proud::CNetServerImpl 0x14010df98 0 0x140069130 FUN_140069130 +Proud::CNetServerImpl 0x14010df98 1 0x140068f60 FUN_140068f60 +Proud::CNetServerImpl 0x14010df98 2 0x140094860 FUN_140094860 +Proud::CNetServerImpl 0x14010df98 3 0x140069010 FUN_140069010 +Proud::CNetServerImpl 0x14010df70 0 0x140069030 FUN_140069030 +Proud::CNetServerImpl 0x14010df70 1 0x1400690c0 FUN_1400690c0 +Proud::CNetServerImpl 0x14010df70 2 0x140050fc0 FUN_140050fc0 +Proud::CNetServerImpl 0x14010df70 3 0x140065320 FUN_140065320 +_com_error 0x1401109c0 0 0x140048ff0 FUN_140048ff0 +Proud::DbException 0x140110a10 0 0x140072360 FUN_140072360 +Proud::DbException 0x140110a10 1 0x14003d430 FUN_14003d430 +Proud::IRmiProxy 0x1401115d0 0 0x1400495d0 MSVCR100.DLL::_purecall +Proud::IRmiProxy 0x1401115d0 1 0x1400495d0 MSVCR100.DLL::_purecall +Proud::IRmiProxy 0x1401115d0 2 0x140079c10 FUN_140079c10 +Proud::IRmiProxy 0x1401115d0 3 0x140076990 FUN_140076990 +Proud::IRmiProxy 0x1401115d0 4 0x1400768f0 FUN_1400768f0 +Proud::CFastArray 0x1401119d0 0 0x140076e00 FUN_140076e00 +Proud::CFastArray 0x1401119e0 0 0x140076e60 FUN_140076e60 +Proud::CNetCoreImpl 0x1401119f8 0 0x140077470 FUN_140077470 +Proud::CNetCoreImpl 0x1401119f8 1 0x140077540 FUN_140077540 +Proud::CNetCoreImpl 0x1401119f8 2 0x140077740 FUN_140077740 +Proud::CNetCoreImpl 0x1401119f8 3 0x1400771f0 FUN_1400771f0 +Proud::CNetCoreImpl 0x1401119f8 4 0x140077350 FUN_140077350 +Proud::CNetCoreImpl 0x1401119f8 5 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetCoreImpl 0x1401119f8 6 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetCoreImpl 0x1401119f8 7 0x140077c70 FUN_140077c70 +Proud::CNetCoreImpl 0x1401119f8 8 0x140079c10 FUN_140079c10 +Proud::CNetCoreImpl 0x1401119f8 9 0x140076fb0 FUN_140076fb0 +Proud::CNetCoreImpl 0x1401119f8 10 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetCoreImpl 0x1401119f8 11 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetCoreImpl 0x1401119f8 12 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetCoreImpl 0x1401119f8 13 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetCoreImpl 0x1401119f8 14 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetCoreImpl 0x1401119f8 15 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetCoreImpl 0x1401119f8 16 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetCoreImpl 0x1401119f8 17 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetCoreImpl 0x1401119f8 18 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetCoreImpl 0x1401119f8 19 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetCoreImpl 0x1401119f8 20 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetCoreImpl 0x1401119f8 21 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetCoreImpl 0x1401119f8 22 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetCoreImpl 0x1401119f8 23 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetCoreImpl 0x1401119f8 24 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetCoreImpl 0x1401119f8 25 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetCoreImpl 0x1401119f8 26 0x1400495d0 MSVCR100.DLL::_purecall +Proud::IRmiStub 0x140111f48 0 0x1400495d0 MSVCR100.DLL::_purecall +Proud::IRmiStub 0x140111f48 1 0x1400495d0 MSVCR100.DLL::_purecall +Proud::IRmiStub 0x140111f48 2 0x1400495d0 MSVCR100.DLL::_purecall +Proud::IRmiStub 0x140111f48 3 0x14002efb0 FUN_14002efb0 +Proud::IRmiStub 0x140111f48 4 0x14002efb0 FUN_14002efb0 +Proud::IRmiStub 0x140111f48 5 0x140005d50 FUN_140005d50 +Proud::IRmiStub 0x140111f48 6 0x140079bc0 FUN_140079bc0 +Proud::CTestUdpConnReset 0x1401120a0 0 0x140079cf0 FUN_140079cf0 +Proud::CTestUdpConnReset 0x1401120a0 1 0x1400c4c50 FUN_1400c4c50 +Proud::CFastArray 0x1401123c8 0 0x14007a6c0 FUN_14007a6c0 +Proud::CFastArray 0x1401123d8 0 0x14007e620 FUN_14007e620 +Proud::CFastArray 0x1401123e8 0 0x14007a720 FUN_14007a720 +Proud::CFastArray 0x1401123f8 0 0x14007a780 FUN_14007a780 +Proud::CFastArray 0x140112408 0 0x14007a7e0 FUN_14007a7e0 +Proud::BypassDestList 0x140112418 0 0x14007a720 FUN_14007a720 +Proud::HostIDArray 0x140112428 0 0x14007a6c0 FUN_14007a6c0 +Proud::CReceivedMessageList 0x140113198 0 0x14007f460 FUN_14007f460 +Proud::CFastArray 0x140114478 0 0x1400855f0 FUN_1400855f0 +VizC2S::Proxy 0x140118538 0 0x140087ff0 FUN_140087ff0 +VizC2S::Proxy 0x140118538 1 0x140088000 FUN_140088000 +VizC2S::Proxy 0x140118538 2 0x140079c10 FUN_140079c10 +VizC2S::Proxy 0x140118538 3 0x140076990 FUN_140076990 +VizC2S::Proxy 0x140118538 4 0x14004aea0 FUN_14004aea0 +VizC2S::Proxy 0x140118538 5 0x140088870 FUN_140088870 +VizC2S::Proxy 0x140118538 6 0x140088780 FUN_140088780 +VizC2S::Proxy 0x140118538 7 0x14008a160 FUN_14008a160 +VizC2S::Proxy 0x140118538 8 0x14008a030 FUN_14008a030 +VizC2S::Proxy 0x140118538 9 0x140088a60 FUN_140088a60 +VizC2S::Proxy 0x140118538 10 0x140088960 FUN_140088960 +VizC2S::Proxy 0x140118538 11 0x140088c50 FUN_140088c50 +VizC2S::Proxy 0x140118538 12 0x140088b70 FUN_140088b70 +VizC2S::Proxy 0x140118538 13 0x140088df0 FUN_140088df0 +VizC2S::Proxy 0x140118538 14 0x140088d30 FUN_140088d30 +VizC2S::Proxy 0x140118538 15 0x140088fa0 FUN_140088fa0 +VizC2S::Proxy 0x140118538 16 0x140088ec0 FUN_140088ec0 +VizC2S::Proxy 0x140118538 17 0x140089140 FUN_140089140 +VizC2S::Proxy 0x140118538 18 0x140089080 FUN_140089080 +VizC2S::Proxy 0x140118538 19 0x1400892f0 FUN_1400892f0 +VizC2S::Proxy 0x140118538 20 0x140089210 FUN_140089210 +VizC2S::Proxy 0x140118538 21 0x1400894b0 FUN_1400894b0 +VizC2S::Proxy 0x140118538 22 0x1400893d0 FUN_1400893d0 +Proud::IHeartbeatWork 0x1401185f8 0 0x140088030 FUN_140088030 +Proud::IHeartbeatWork 0x1401185f8 1 0x1400495d0 MSVCR100.DLL::_purecall +VizS2C::Stub 0x140118618 0 0x140088070 FUN_140088070 +VizS2C::Stub 0x140118618 1 0x140088080 FUN_140088080 +VizS2C::Stub 0x140118618 2 0x140089590 FUN_140089590 +VizS2C::Stub 0x140118618 3 0x14002efb0 FUN_14002efb0 +VizS2C::Stub 0x140118618 4 0x14002efb0 FUN_14002efb0 +VizS2C::Stub 0x140118618 5 0x140005d50 FUN_140005d50 +VizS2C::Stub 0x140118618 6 0x14009bc10 FUN_14009bc10 +VizS2C::Stub 0x140118618 7 0x140088060 FUN_140088060 +VizS2C::Stub 0x140118618 8 0x140088060 FUN_140088060 +Proud::CVizAgent 0x140118788 0 0x1400883e0 FUN_1400883e0 +Proud::CVizAgent 0x140118788 1 0x140079c10 FUN_140079c10 +Proud::CVizAgent 0x140118788 2 0x140079c10 FUN_140079c10 +Proud::CVizAgent 0x140118788 3 0x140079c10 FUN_140079c10 +Proud::CVizAgent 0x140118788 4 0x140079c10 FUN_140079c10 +Proud::CVizAgent 0x140118788 5 0x140079c10 FUN_140079c10 +Proud::CVizAgent 0x140118788 6 0x14002efb0 FUN_14002efb0 +Proud::CVizAgent 0x140118788 7 0x140088090 FUN_140088090 +Proud::CVizAgent 0x140118788 8 0x140088150 FUN_140088150 +Proud::CVizAgent 0x140118788 9 0x140079c10 FUN_140079c10 +Proud::CVizAgent 0x140118788 10 0x140079c10 FUN_140079c10 +Proud::CVizAgent 0x140118788 11 0x140079c10 FUN_140079c10 +Proud::CVizAgent 0x140118788 12 0x14002efb0 FUN_14002efb0 +Proud::CVizAgent 0x140118788 13 0x140079c10 FUN_140079c10 +Proud::CVizAgent 0x140118738 0 0x140088070 FUN_140088070 +Proud::CVizAgent 0x140118738 1 0x140088080 FUN_140088080 +Proud::CVizAgent 0x140118738 2 0x140089590 FUN_140089590 +Proud::CVizAgent 0x140118738 3 0x14002efb0 FUN_14002efb0 +Proud::CVizAgent 0x140118738 4 0x14002efb0 FUN_14002efb0 +Proud::CVizAgent 0x140118738 5 0x140005d50 FUN_140005d50 +Proud::CVizAgent 0x140118738 6 0x1400883c0 FUN_1400883c0 +Proud::CVizAgent 0x140118738 7 0x140089fe0 FUN_140089fe0 +Proud::CVizAgent 0x140118738 8 0x140088190 FUN_140088190 +Proud::CVizAgent 0x140118720 0 0x1400883d0 FUN_1400883d0 +Proud::CVizAgent 0x140118720 1 0x140089f70 FUN_140089f70 +Proud::ISendIssueObject 0x140119140 0 0x14008a4a0 FUN_14008a4a0 +Proud::ISendIssueObject 0x140119140 1 0x1400495d0 MSVCR100.DLL::_purecall +Proud::ISendIssueObject 0x140119140 2 0x1400495d0 MSVCR100.DLL::_purecall +Proud::ISendIssueObject 0x140119140 3 0x1400495d0 MSVCR100.DLL::_purecall +Proud::ISendIssueObject 0x140119140 4 0x1400495d0 MSVCR100.DLL::_purecall +Proud::ITcpLayerOwner_S 0x140119178 0 0x1400495d0 MSVCR100.DLL::_purecall +Proud::ITcpLayerOwner_S 0x140119178 1 0x1400495d0 MSVCR100.DLL::_purecall +Proud::ITcpLayerOwner_S 0x140119178 2 0x1400495d0 MSVCR100.DLL::_purecall +Proud::ITcpLayerOwner_S 0x140119178 3 0x1400495d0 MSVCR100.DLL::_purecall +Proud::ITcpLayerOwner_S 0x140119178 4 0x1400495d0 MSVCR100.DLL::_purecall +Proud::ITcpLayerOwner_S 0x140119178 5 0x1400495d0 MSVCR100.DLL::_purecall +Proud::ITcpLayerOwner_S 0x140119178 6 0x1400495d0 MSVCR100.DLL::_purecall +Proud::ITcpLayerOwner_S 0x140119178 7 0x1400495d0 MSVCR100.DLL::_purecall +Proud::ITcpLayerOwner_S 0x140119178 8 0x1400495d0 MSVCR100.DLL::_purecall +Proud::ITcpLayerOwner_S 0x140119178 9 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CRemoteClient_S 0x140119548 0 0x14004a1b0 FUN_14004a1b0 +Proud::CRemoteClient_S 0x140119548 1 0x14008be10 FUN_14008be10 +Proud::CRemoteClient_S 0x140119548 2 0x14008b920 FUN_14008b920 +Proud::CRemoteClient_S 0x140119510 0 0x14008b980 FUN_14008b980 +Proud::CRemoteClient_S 0x140119510 1 0x14008b930 FUN_14008b930 +Proud::CRemoteClient_S 0x140119510 2 0x14008a590 FUN_14008a590 +Proud::CRemoteClient_S 0x140119510 3 0x14008a4e0 FUN_14008a4e0 +Proud::CRemoteClient_S 0x140119510 4 0x14008a4f0 FUN_14008a4f0 +Proud::CRemoteClient_S 0x140119510 5 0x14008b4f0 FUN_14008b4f0 +Proud::CRemoteClient_S 0x1401194f8 0 0x14008b940 FUN_14008b940 +Proud::CRemoteClient_S 0x1401194f8 1 0x14008b970 FUN_14008b970 +Proud::CRemoteClient_S 0x1401194e0 0 0x14008b9a0 FUN_14008b9a0 +Proud::CRemoteClient_S 0x1401194e0 1 0x14008b950 FUN_14008b950 +Proud::CRemoteClient_S 0x140119488 0 0x140079c10 FUN_140079c10 +Proud::CRemoteClient_S 0x140119488 1 0x140079c10 FUN_140079c10 +Proud::CRemoteClient_S 0x140119488 2 0x140079c10 FUN_140079c10 +Proud::CRemoteClient_S 0x140119488 3 0x140079c10 FUN_140079c10 +Proud::CRemoteClient_S 0x140119488 4 0x14008a770 FUN_14008a770 +Proud::CRemoteClient_S 0x140119488 5 0x14008a700 FUN_14008a700 +Proud::CRemoteClient_S 0x140119488 6 0x14008a500 FUN_14008a500 +Proud::CRemoteClient_S 0x140119488 7 0x14008a520 FUN_14008a520 +Proud::CRemoteClient_S 0x140119488 8 0x14008a8e0 FUN_14008a8e0 +Proud::CRemoteClient_S 0x140119488 9 0x14008a710 FUN_14008a710 +Proud::CRemoteClient_S 0x140119468 0 0x14008b960 FUN_14008b960 +Proud::CRemoteClient_S 0x140119468 1 0x140091dd0 FUN_140091dd0 +Proud::CRemoteClient_S 0x140119438 0 0x14008b990 FUN_14008b990 +Proud::CRemoteClient_S 0x140119438 1 0x14008a560 FUN_14008a560 +Proud::CRemoteClient_S 0x140119438 2 0x140091410 FUN_140091410 +Proud::CRemoteClient_S 0x140119438 3 0x140091420 FUN_140091420 +Proud::CRemoteClient_S 0x140119438 4 0x14008a830 FUN_14008a830 +Proud::CFastArray 0x1401196e0 0 0x14008c310 FUN_14008c310 +Proud::CFastArray 0x1401196f0 0 0x14008c370 FUN_14008c370 +Proud::CUseCount 0x14011a0e0 0 0x140091280 FUN_140091280 +Proud::CUseCount 0x14011a0e0 1 0x1400495d0 MSVCR100.DLL::_purecall +Proud::IUdpPacketFragBoardDg 0x14011a0f8 0 0x1400912c0 FUN_1400912c0 +Proud::IUdpPacketFragBoardDg 0x14011a0f8 1 0x1400495d0 MSVCR100.DLL::_purecall +Proud::IUdpPacketFragBoardDg 0x14011a0f8 2 0x1400495d0 MSVCR100.DLL::_purecall +Proud::IUdpPacketFragBoardDg 0x14011a0f8 3 0x1400495d0 MSVCR100.DLL::_purecall +Proud::IUdpPacketDefragBoardDg 0x14011a120 0 0x1400495d0 MSVCR100.DLL::_purecall +Proud::IUdpPacketDefragBoardDg 0x14011a120 1 0x1400495d0 MSVCR100.DLL::_purecall +Proud::IUdpPacketDefragBoardDg 0x14011a120 2 0x1400495d0 MSVCR100.DLL::_purecall +Proud::IUdpPacketDefragBoardDg 0x14011a120 3 0x1400495d0 MSVCR100.DLL::_purecall +Proud::IUdpPacketDefragBoardDg 0x14011a120 4 0x1400495d0 MSVCR100.DLL::_purecall +Proud::IUdpPacketDefragBoardDg 0x14011a120 5 0x140091300 FUN_140091300 +Proud::CUdpSocket_S 0x14011a278 0 0x140092360 FUN_140092360 +Proud::CUdpSocket_S 0x14011a278 1 0x140091dc0 FUN_140091dc0 +Proud::CUdpSocket_S 0x14011a278 2 0x1400913c0 FUN_1400913c0 +Proud::CUdpSocket_S 0x14011a250 0 0x140091e00 FUN_140091e00 +Proud::CUdpSocket_S 0x14011a250 1 0x140091330 FUN_140091330 +Proud::CUdpSocket_S 0x14011a250 2 0x140091e50 FUN_140091e50 +Proud::CUdpSocket_S 0x14011a250 3 0x140091350 FUN_140091350 +Proud::CUdpSocket_S 0x14011a218 0 0x140091360 FUN_140091360 +Proud::CUdpSocket_S 0x14011a218 1 0x1400913a0 FUN_1400913a0 +Proud::CUdpSocket_S 0x14011a218 2 0x140091e30 FUN_140091e30 +Proud::CUdpSocket_S 0x14011a218 3 0x140091e40 FUN_140091e40 +Proud::CUdpSocket_S 0x14011a218 4 0x140091400 FUN_140091400 +Proud::CUdpSocket_S 0x14011a218 5 0x140091e20 FUN_140091e20 +Proud::CUdpSocket_S 0x14011a200 0 0x140091df0 FUN_140091df0 +Proud::CUdpSocket_S 0x14011a200 1 0x140091dd0 FUN_140091dd0 +Proud::CUdpSocket_S 0x14011a1d0 0 0x140091e10 FUN_140091e10 +Proud::CUdpSocket_S 0x14011a1d0 1 0x140091540 FUN_140091540 +Proud::CUdpSocket_S 0x14011a1d0 2 0x140091410 FUN_140091410 +Proud::CUdpSocket_S 0x14011a1d0 3 0x140091420 FUN_140091420 +Proud::CUdpSocket_S 0x14011a1d0 4 0x140079c10 FUN_140079c10 +Proud::IHostIDFactory 0x14011a7b8 0 0x140094870 FUN_140094870 +Proud::IHostIDFactory 0x14011a7b8 1 0x1400495d0 MSVCR100.DLL::_purecall +Proud::IHostIDFactory 0x14011a7b8 2 0x1400495d0 MSVCR100.DLL::_purecall +Proud::IHostIDFactory 0x14011a7b8 3 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CHostIDFactory 0x14011a7e0 0 0x140094870 FUN_140094870 +Proud::CHostIDFactory 0x14011a7e0 1 0x140094840 FUN_140094840 +Proud::CHostIDFactory 0x14011a7e0 2 0x140079c10 FUN_140079c10 +Proud::CHostIDFactory 0x14011a7e0 3 0x140094860 FUN_140094860 +Proud::CRecycleHostIDFactory 0x14011a858 0 0x140094e20 FUN_140094e20 +Proud::CRecycleHostIDFactory 0x14011a858 1 0x140094b40 FUN_140094b40 +Proud::CRecycleHostIDFactory 0x14011a858 2 0x140094e50 FUN_140094e50 +Proud::CRecycleHostIDFactory 0x14011a858 3 0x1400948a0 FUN_1400948a0 +Proud::CP2PGroup_S::CAddMemberAckWaiterList 0x14011aef8 0 0x140096480 FUN_140096480 +Proud::ITaskSubject 0x14011b070 0 0x140097950 FUN_140097950 +Proud::ITaskSubject 0x14011b070 1 0x1400495d0 MSVCR100.DLL::_purecall +Proud::ITaskSubject 0x14011b070 2 0x1400495d0 MSVCR100.DLL::_purecall +Proud::ITaskSubject 0x14011b070 3 0x1400495d0 MSVCR100.DLL::_purecall +Proud::ITaskSubject 0x14011b070 4 0x1400495d0 MSVCR100.DLL::_purecall +Proud::ITaskSubject 0x14011b070 5 0x1400495d0 MSVCR100.DLL::_purecall +Proud::ISendDest_C 0x14011e820 0 0x14009b670 FUN_14009b670 +Proud::ISendDest_C 0x14011e820 1 0x140094860 FUN_140094860 +Proud::IP2PGroupMember 0x14011e838 0 0x14009b6b0 FUN_14009b6b0 +Proud::IP2PGroupMember 0x14011e838 1 0x1400495d0 MSVCR100.DLL::_purecall +Proud::IP2PGroupMember 0x14011e838 2 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CP2PConnectionTrialContext::StateBase 0x14011e858 0 0x14009baa0 FUN_14009baa0 +ProudC2S::Proxy 0x14011e868 0 0x14004a050 FUN_14004a050 +ProudC2S::Proxy 0x14011e868 1 0x14004a060 FUN_14004a060 +ProudC2S::Proxy 0x14011e868 2 0x140079c10 FUN_140079c10 +ProudC2S::Proxy 0x14011e868 3 0x140076990 FUN_140076990 +ProudC2S::Proxy 0x14011e868 4 0x14004aea0 FUN_14004aea0 +ProudC2S::Proxy 0x14011e868 5 0x1400a36f0 FUN_1400a36f0 +ProudC2S::Proxy 0x14011e868 6 0x1400a3610 FUN_1400a3610 +ProudC2S::Proxy 0x14011e868 7 0x1400a38c0 FUN_1400a38c0 +ProudC2S::Proxy 0x14011e868 8 0x1400a37d0 FUN_1400a37d0 +ProudC2S::Proxy 0x14011e868 9 0x1400a3a80 FUN_1400a3a80 +ProudC2S::Proxy 0x14011e868 10 0x1400a39c0 FUN_1400a39c0 +ProudC2S::Proxy 0x14011e868 11 0x1400a3c70 FUN_1400a3c70 +ProudC2S::Proxy 0x14011e868 12 0x1400a3b50 FUN_1400a3b50 +ProudC2S::Proxy 0x14011e868 13 0x1400a3f20 FUN_1400a3f20 +ProudC2S::Proxy 0x14011e868 14 0x1400a3d90 FUN_1400a3d90 +ProudC2S::Proxy 0x14011e868 15 0x1400a75e0 FUN_1400a75e0 +ProudC2S::Proxy 0x14011e868 16 0x1400a74a0 FUN_1400a74a0 +ProudC2S::Proxy 0x14011e868 17 0x1400a4180 FUN_1400a4180 +ProudC2S::Proxy 0x14011e868 18 0x1400a40c0 FUN_1400a40c0 +ProudC2S::Proxy 0x14011e868 19 0x1400a4340 FUN_1400a4340 +ProudC2S::Proxy 0x14011e868 20 0x1400a4250 FUN_1400a4250 +ProudC2S::Proxy 0x14011e868 21 0x1400a4520 FUN_1400a4520 +ProudC2S::Proxy 0x14011e868 22 0x1400a4430 FUN_1400a4430 +ProudC2S::Proxy 0x14011e868 23 0x1400a46f0 FUN_1400a46f0 +ProudC2S::Proxy 0x14011e868 24 0x1400a4610 FUN_1400a4610 +ProudC2S::Proxy 0x14011e868 25 0x1400a48b0 FUN_1400a48b0 +ProudC2S::Proxy 0x14011e868 26 0x1400a47d0 FUN_1400a47d0 +ProudC2S::Proxy 0x14011e868 27 0x1400a4a70 FUN_1400a4a70 +ProudC2S::Proxy 0x14011e868 28 0x1400a4990 FUN_1400a4990 +ProudC2S::Proxy 0x14011e868 29 0x1400a4c30 FUN_1400a4c30 +ProudC2S::Proxy 0x14011e868 30 0x1400a4b50 FUN_1400a4b50 +ProudC2S::Proxy 0x14011e868 31 0x1400a4df0 FUN_1400a4df0 +ProudC2S::Proxy 0x14011e868 32 0x1400a4d10 FUN_1400a4d10 +ProudC2S::Proxy 0x14011e868 33 0x1400a4fc0 FUN_1400a4fc0 +ProudC2S::Proxy 0x14011e868 34 0x1400a4ed0 FUN_1400a4ed0 +ProudC2S::Proxy 0x14011e868 35 0x1400a5180 FUN_1400a5180 +ProudC2S::Proxy 0x14011e868 36 0x1400a50c0 FUN_1400a50c0 +ProudC2S::Proxy 0x14011e868 37 0x1400a5330 FUN_1400a5330 +ProudC2S::Proxy 0x14011e868 38 0x1400a5250 FUN_1400a5250 +ProudC2S::Proxy 0x14011e868 39 0x1400a5510 FUN_1400a5510 +ProudC2S::Proxy 0x14011e868 40 0x1400a5410 FUN_1400a5410 +ProudC2S::Proxy 0x14011e868 41 0x1400a5700 FUN_1400a5700 +ProudC2S::Proxy 0x14011e868 42 0x1400a5620 FUN_1400a5620 +ProudC2C::Proxy 0x14011e9c8 0 0x14009b6f0 FUN_14009b6f0 +ProudC2C::Proxy 0x14011e9c8 1 0x14009b700 FUN_14009b700 +ProudC2C::Proxy 0x14011e9c8 2 0x140079c10 FUN_140079c10 +ProudC2C::Proxy 0x14011e9c8 3 0x140076990 FUN_140076990 +ProudC2C::Proxy 0x14011e9c8 4 0x14004aea0 FUN_14004aea0 +ProudC2C::Proxy 0x14011e9c8 5 0x1400a58a0 FUN_1400a58a0 +ProudC2C::Proxy 0x14011e9c8 6 0x1400a57e0 FUN_1400a57e0 +ProudC2C::Proxy 0x14011e9c8 7 0x1400a5a50 FUN_1400a5a50 +ProudC2C::Proxy 0x14011e9c8 8 0x1400a5970 FUN_1400a5970 +ProudC2C::Proxy 0x14011e9c8 9 0x1400a5c20 FUN_1400a5c20 +ProudC2C::Proxy 0x14011e9c8 10 0x1400a5b30 FUN_1400a5b30 +ProudC2C::Proxy 0x14011e9c8 11 0x1400a5e40 FUN_1400a5e40 +ProudC2C::Proxy 0x14011e9c8 12 0x1400a5d20 FUN_1400a5d20 +Proud::CNetClientImpl::C2CProxy 0x14011ea38 0 0x14009b6f0 FUN_14009b6f0 +Proud::CNetClientImpl::C2CProxy 0x14011ea38 1 0x14009b700 FUN_14009b700 +Proud::CNetClientImpl::C2CProxy 0x14011ea38 2 0x140079c10 FUN_140079c10 +Proud::CNetClientImpl::C2CProxy 0x14011ea38 3 0x140076990 FUN_140076990 +Proud::CNetClientImpl::C2CProxy 0x14011ea38 4 0x14004aea0 FUN_14004aea0 +Proud::CNetClientImpl::C2CProxy 0x14011ea38 5 0x1400a58a0 FUN_1400a58a0 +Proud::CNetClientImpl::C2CProxy 0x14011ea38 6 0x1400a57e0 FUN_1400a57e0 +Proud::CNetClientImpl::C2CProxy 0x14011ea38 7 0x1400a5a50 FUN_1400a5a50 +Proud::CNetClientImpl::C2CProxy 0x14011ea38 8 0x1400a5970 FUN_1400a5970 +Proud::CNetClientImpl::C2CProxy 0x14011ea38 9 0x1400a5c20 FUN_1400a5c20 +Proud::CNetClientImpl::C2CProxy 0x14011ea38 10 0x1400a5b30 FUN_1400a5b30 +Proud::CNetClientImpl::C2CProxy 0x14011ea38 11 0x1400a5e40 FUN_1400a5e40 +Proud::CNetClientImpl::C2CProxy 0x14011ea38 12 0x1400a5d20 FUN_1400a5d20 +Proud::CNetClientImpl::C2SProxy 0x14011eaa8 0 0x14004a050 FUN_14004a050 +Proud::CNetClientImpl::C2SProxy 0x14011eaa8 1 0x14004a060 FUN_14004a060 +Proud::CNetClientImpl::C2SProxy 0x14011eaa8 2 0x140079c10 FUN_140079c10 +Proud::CNetClientImpl::C2SProxy 0x14011eaa8 3 0x140076990 FUN_140076990 +Proud::CNetClientImpl::C2SProxy 0x14011eaa8 4 0x14004aea0 FUN_14004aea0 +Proud::CNetClientImpl::C2SProxy 0x14011eaa8 5 0x1400a36f0 FUN_1400a36f0 +Proud::CNetClientImpl::C2SProxy 0x14011eaa8 6 0x1400a3610 FUN_1400a3610 +Proud::CNetClientImpl::C2SProxy 0x14011eaa8 7 0x1400a38c0 FUN_1400a38c0 +Proud::CNetClientImpl::C2SProxy 0x14011eaa8 8 0x1400a37d0 FUN_1400a37d0 +Proud::CNetClientImpl::C2SProxy 0x14011eaa8 9 0x1400a3a80 FUN_1400a3a80 +Proud::CNetClientImpl::C2SProxy 0x14011eaa8 10 0x1400a39c0 FUN_1400a39c0 +Proud::CNetClientImpl::C2SProxy 0x14011eaa8 11 0x1400a3c70 FUN_1400a3c70 +Proud::CNetClientImpl::C2SProxy 0x14011eaa8 12 0x1400a3b50 FUN_1400a3b50 +Proud::CNetClientImpl::C2SProxy 0x14011eaa8 13 0x1400a3f20 FUN_1400a3f20 +Proud::CNetClientImpl::C2SProxy 0x14011eaa8 14 0x1400a3d90 FUN_1400a3d90 +Proud::CNetClientImpl::C2SProxy 0x14011eaa8 15 0x1400a75e0 FUN_1400a75e0 +Proud::CNetClientImpl::C2SProxy 0x14011eaa8 16 0x1400a74a0 FUN_1400a74a0 +Proud::CNetClientImpl::C2SProxy 0x14011eaa8 17 0x1400a4180 FUN_1400a4180 +Proud::CNetClientImpl::C2SProxy 0x14011eaa8 18 0x1400a40c0 FUN_1400a40c0 +Proud::CNetClientImpl::C2SProxy 0x14011eaa8 19 0x1400a4340 FUN_1400a4340 +Proud::CNetClientImpl::C2SProxy 0x14011eaa8 20 0x1400a4250 FUN_1400a4250 +Proud::CNetClientImpl::C2SProxy 0x14011eaa8 21 0x1400a4520 FUN_1400a4520 +Proud::CNetClientImpl::C2SProxy 0x14011eaa8 22 0x1400a4430 FUN_1400a4430 +Proud::CNetClientImpl::C2SProxy 0x14011eaa8 23 0x1400a46f0 FUN_1400a46f0 +Proud::CNetClientImpl::C2SProxy 0x14011eaa8 24 0x1400a4610 FUN_1400a4610 +Proud::CNetClientImpl::C2SProxy 0x14011eaa8 25 0x1400a48b0 FUN_1400a48b0 +Proud::CNetClientImpl::C2SProxy 0x14011eaa8 26 0x1400a47d0 FUN_1400a47d0 +Proud::CNetClientImpl::C2SProxy 0x14011eaa8 27 0x1400a4a70 FUN_1400a4a70 +Proud::CNetClientImpl::C2SProxy 0x14011eaa8 28 0x1400a4990 FUN_1400a4990 +Proud::CNetClientImpl::C2SProxy 0x14011eaa8 29 0x1400a4c30 FUN_1400a4c30 +Proud::CNetClientImpl::C2SProxy 0x14011eaa8 30 0x1400a4b50 FUN_1400a4b50 +Proud::CNetClientImpl::C2SProxy 0x14011eaa8 31 0x1400a4df0 FUN_1400a4df0 +Proud::CNetClientImpl::C2SProxy 0x14011eaa8 32 0x1400a4d10 FUN_1400a4d10 +Proud::CNetClientImpl::C2SProxy 0x14011eaa8 33 0x1400a4fc0 FUN_1400a4fc0 +Proud::CNetClientImpl::C2SProxy 0x14011eaa8 34 0x1400a4ed0 FUN_1400a4ed0 +Proud::CNetClientImpl::C2SProxy 0x14011eaa8 35 0x1400a5180 FUN_1400a5180 +Proud::CNetClientImpl::C2SProxy 0x14011eaa8 36 0x1400a50c0 FUN_1400a50c0 +Proud::CNetClientImpl::C2SProxy 0x14011eaa8 37 0x1400a5330 FUN_1400a5330 +Proud::CNetClientImpl::C2SProxy 0x14011eaa8 38 0x1400a5250 FUN_1400a5250 +Proud::CNetClientImpl::C2SProxy 0x14011eaa8 39 0x1400a5510 FUN_1400a5510 +Proud::CNetClientImpl::C2SProxy 0x14011eaa8 40 0x1400a5410 FUN_1400a5410 +Proud::CNetClientImpl::C2SProxy 0x14011eaa8 41 0x1400a5700 FUN_1400a5700 +Proud::CNetClientImpl::C2SProxy 0x14011eaa8 42 0x1400a5620 FUN_1400a5620 +Proud::CP2PConnectionTrialContext::PeerHolepunchState 0x14011ecf0 0 0x14009baa0 FUN_14009baa0 +Proud::CNetClientImpl::ServerAsSendDest 0x14011ed20 0 0x14009bae0 FUN_14009bae0 +Proud::CNetClientImpl::ServerAsSendDest 0x14011ed20 1 0x14004a1b0 FUN_14004a1b0 +Proud::CNetClientImpl::ServerAsSendDest 0x14011ed00 0 0x14009bb20 FUN_14009bb20 +Proud::CNetClientImpl::ServerAsSendDest 0x14011ed00 1 0x14009bb30 FUN_14009bb30 +Proud::CNetClientImpl::ServerAsSendDest 0x14011ed00 2 0x14009bad0 FUN_14009bad0 +Proud::CNetClientImpl::C2CStub 0x14011ed38 0 0x14009b6f0 FUN_14009b6f0 +Proud::CNetClientImpl::C2CStub 0x14011ed38 1 0x14009b700 FUN_14009b700 +Proud::CNetClientImpl::C2CStub 0x14011ed38 2 0x1400a2460 FUN_1400a2460 +Proud::CNetClientImpl::C2CStub 0x14011ed38 3 0x14002efb0 FUN_14002efb0 +Proud::CNetClientImpl::C2CStub 0x14011ed38 4 0x14002efb0 FUN_14002efb0 +Proud::CNetClientImpl::C2CStub 0x14011ed38 5 0x140005d50 FUN_140005d50 +Proud::CNetClientImpl::C2CStub 0x14011ed38 6 0x14009bc10 FUN_14009bc10 +Proud::CNetClientImpl::C2CStub 0x14011ed38 7 0x1400aaf70 FUN_1400aaf70 +Proud::CNetClientImpl::C2CStub 0x14011ed38 8 0x1400a9a80 FUN_1400a9a80 +Proud::CNetClientImpl::C2CStub 0x14011ed38 9 0x1400a9b90 FUN_1400a9b90 +Proud::CNetClientImpl::C2CStub 0x14011ed38 10 0x1400a9d00 FUN_1400a9d00 +Proud::CNetClientImpl::S2CStub 0x14011ed98 0 0x14004a000 FUN_14004a000 +Proud::CNetClientImpl::S2CStub 0x14011ed98 1 0x14009b740 FUN_14009b740 +Proud::CNetClientImpl::S2CStub 0x14011ed98 2 0x14009e9f0 FUN_14009e9f0 +Proud::CNetClientImpl::S2CStub 0x14011ed98 3 0x14002efb0 FUN_14002efb0 +Proud::CNetClientImpl::S2CStub 0x14011ed98 4 0x14002efb0 FUN_14002efb0 +Proud::CNetClientImpl::S2CStub 0x14011ed98 5 0x140005d50 FUN_140005d50 +Proud::CNetClientImpl::S2CStub 0x14011ed98 6 0x14009bc10 FUN_14009bc10 +Proud::CNetClientImpl::S2CStub 0x14011ed98 7 0x1400b35a0 FUN_1400b35a0 +Proud::CNetClientImpl::S2CStub 0x14011ed98 8 0x1400b3680 FUN_1400b3680 +Proud::CNetClientImpl::S2CStub 0x14011ed98 9 0x1400b3eb0 FUN_1400b3eb0 +Proud::CNetClientImpl::S2CStub 0x14011ed98 10 0x1400a97e0 FUN_1400a97e0 +Proud::CNetClientImpl::S2CStub 0x14011ed98 11 0x1400a99a0 FUN_1400a99a0 +Proud::CNetClientImpl::S2CStub 0x14011ed98 12 0x1400b3a40 FUN_1400b3a40 +Proud::CNetClientImpl::S2CStub 0x14011ed98 13 0x1400b37d0 FUN_1400b37d0 +Proud::CNetClientImpl::S2CStub 0x14011ed98 14 0x14009bb40 FUN_14009bb40 +Proud::CNetClientImpl::S2CStub 0x14011ed98 15 0x14009bb70 FUN_14009bb70 +Proud::CNetClientImpl::S2CStub 0x14011ed98 16 0x14009bbc0 FUN_14009bbc0 +Proud::CNetClientImpl::S2CStub 0x14011ed98 17 0x1400b6e60 FUN_1400b6e60 +Proud::CNetClientImpl::S2CStub 0x14011ed98 18 0x14009bde0 FUN_14009bde0 +Proud::CNetClientImpl::S2CStub 0x14011ed98 19 0x14009bc60 FUN_14009bc60 +Proud::CNetClientImpl::S2CStub 0x14011ed98 20 0x1400b53a0 FUN_1400b53a0 +Proud::CNetClientImpl::S2CStub 0x14011ed98 21 0x1400aaa10 FUN_1400aaa10 +Proud::CNetClientImpl::S2CStub 0x14011ed98 22 0x1400aab40 FUN_1400aab40 +Proud::CNetClientImpl::S2CStub 0x14011ed98 23 0x14009bd60 FUN_14009bd60 +Proud::CNetClientImpl::S2CStub 0x14011ed98 24 0x1400a7730 FUN_1400a7730 +Proud::CNetClientImpl::S2CStub 0x14011ed98 25 0x1400a7820 FUN_1400a7820 +Proud::CFastArray 0x14011f080 0 0x14009c9a0 FUN_14009c9a0 +Proud::CNetClientImpl::BypassDestList_C 0x14011f0c0 0 0x14009c9a0 FUN_14009c9a0 +Proud::CNetClientImpl 0x140121158 0 0x1400b4a50 FUN_1400b4a50 +Proud::CNetClientImpl 0x140121158 1 0x14009b730 thunk_FUN_140077540 +Proud::CNetClientImpl 0x140121158 2 0x14004a020 thunk_FUN_140077740 +Proud::CNetClientImpl 0x140121158 3 0x140068fb0 thunk_FUN_1400771f0 +Proud::CNetClientImpl 0x140121158 4 0x140068fc0 thunk_FUN_140077350 +Proud::CNetClientImpl 0x140121158 5 0x14009bf30 FUN_14009bf30 +Proud::CNetClientImpl 0x140121158 6 0x14009bf60 FUN_14009bf60 +Proud::CNetClientImpl 0x140121158 7 0x1400b1cc0 FUN_1400b1cc0 +Proud::CNetClientImpl 0x140121158 8 0x140068fd0 thunk_FUN_140079c10 +Proud::CNetClientImpl 0x140121158 9 0x1400b1a90 thunk_FUN_140076fb0 +Proud::CNetClientImpl 0x140121158 10 0x1400b0310 FUN_1400b0310 +Proud::CNetClientImpl 0x140121158 11 0x14009c250 FUN_14009c250 +Proud::CNetClientImpl 0x140121158 12 0x14009c500 FUN_14009c500 +Proud::CNetClientImpl 0x140121158 13 0x1400a6c00 FUN_1400a6c00 +Proud::CNetClientImpl 0x140121158 14 0x1400a6d80 FUN_1400a6d80 +Proud::CNetClientImpl 0x140121158 15 0x1400af100 FUN_1400af100 +Proud::CNetClientImpl 0x140121158 16 0x1400b1e70 FUN_1400b1e70 +Proud::CNetClientImpl 0x140121158 17 0x1400b1ff0 FUN_1400b1ff0 +Proud::CNetClientImpl 0x140121158 18 0x14009c330 FUN_14009c330 +Proud::CNetClientImpl 0x140121158 19 0x14009b750 FUN_14009b750 +Proud::CNetClientImpl 0x140121158 20 0x1400a7e40 FUN_1400a7e40 +Proud::CNetClientImpl 0x140121158 21 0x1400a8040 FUN_1400a8040 +Proud::CNetClientImpl 0x140121158 22 0x1400a8160 FUN_1400a8160 +Proud::CNetClientImpl 0x140121158 23 0x1400a8310 FUN_1400a8310 +Proud::CNetClientImpl 0x140121158 24 0x1400a79f0 FUN_1400a79f0 +Proud::CNetClientImpl 0x140121158 25 0x140079c10 FUN_140079c10 +Proud::CNetClientImpl 0x140121158 26 0x14009b820 FUN_14009b820 +Proud::CNetClientImpl 0x140121158 27 0x14009b870 FUN_14009b870 +Proud::CNetClientImpl 0x140121158 28 0x14009e5b0 FUN_14009e5b0 +Proud::CNetClientImpl 0x140121138 0 0x1400b1b50 FUN_1400b1b50 +Proud::CNetClientImpl 0x140121138 1 0x1400b1a70 FUN_1400b1a70 +Proud::CNetClientImpl 0x140121118 0 0x1400b1b80 FUN_1400b1b80 +Proud::CNetClientImpl 0x140121118 1 0x1400b1bc0 FUN_1400b1bc0 +Proud::CNetClientImpl 0x140121118 2 0x1400b1a80 FUN_1400b1a80 +Proud::CNetClientImpl 0x140120f48 0 0x1400b1bd0 FUN_1400b1bd0 +Proud::CNetClientImpl 0x140120f48 1 0x1400b1b70 FUN_1400b1b70 +Proud::CNetClientImpl 0x140120f48 2 0x1400b1af0 FUN_1400b1af0 +Proud::CNetClientImpl 0x140120f48 3 0x1400b1b30 FUN_1400b1b30 +Proud::CNetClientImpl 0x140120f48 4 0x1400b1ba0 FUN_1400b1ba0 +Proud::CNetClientImpl 0x140120f48 5 0x1400b1c70 FUN_1400b1c70 +Proud::CNetClientImpl 0x140120f48 6 0x1400b1c90 FUN_1400b1c90 +Proud::CNetClientImpl 0x140120f48 7 0x1400b1d20 FUN_1400b1d20 +Proud::CNetClientImpl 0x140120f48 8 0x1400b1bb0 FUN_1400b1bb0 +Proud::CNetClientImpl 0x140120f48 9 0x1400b1b60 FUN_1400b1b60 +Proud::CNetClientImpl 0x140120f48 10 0x1400b1d30 FUN_1400b1d30 +Proud::CNetClientImpl 0x140120f48 11 0x1400b1c20 FUN_1400b1c20 +Proud::CNetClientImpl 0x140120f48 12 0x1400b1c80 FUN_1400b1c80 +Proud::CNetClientImpl 0x140120f48 13 0x1400b1cb0 FUN_1400b1cb0 +Proud::CNetClientImpl 0x140120f48 14 0x1400b1ca0 FUN_1400b1ca0 +Proud::CNetClientImpl 0x140120f48 15 0x1400b0cd0 FUN_1400b0cd0 +Proud::CNetClientImpl 0x140120f48 16 0x1400b5660 FUN_1400b5660 +Proud::CNetClientImpl 0x140120f48 17 0x14009ccc0 FUN_14009ccc0 +Proud::CNetClientImpl 0x140120f48 18 0x14009def0 FUN_14009def0 +Proud::CNetClientImpl 0x140120f48 19 0x1400b69d0 FUN_1400b69d0 +Proud::CNetClientImpl 0x140120f48 20 0x1400ae880 FUN_1400ae880 +Proud::CNetClientImpl 0x140120f48 21 0x1400a7d00 FUN_1400a7d00 +Proud::CNetClientImpl 0x140120f48 22 0x14009d360 FUN_14009d360 +Proud::CNetClientImpl 0x140120f48 23 0x14009dbd0 FUN_14009dbd0 +Proud::CNetClientImpl 0x140120f48 24 0x14009df80 FUN_14009df80 +Proud::CNetClientImpl 0x140120f48 25 0x1400ae370 FUN_1400ae370 +Proud::CNetClientImpl 0x140120f48 26 0x1400a84b0 FUN_1400a84b0 +Proud::CNetClientImpl 0x140120f48 27 0x1400a8830 FUN_1400a8830 +Proud::CNetClientImpl 0x140120f48 28 0x14009cd60 FUN_14009cd60 +Proud::CNetClientImpl 0x140120f48 29 0x1400a7ba0 FUN_1400a7ba0 +Proud::CNetClientImpl 0x140120f48 30 0x1400a8cd0 FUN_1400a8cd0 +Proud::CNetClientImpl 0x140120f48 31 0x14009be70 FUN_14009be70 +Proud::CNetClientImpl 0x140120f48 32 0x1400b1a60 FUN_1400b1a60 +Proud::CNetClientImpl 0x140120f48 33 0x14009bfa0 FUN_14009bfa0 +Proud::CNetClientImpl 0x140120f48 34 0x14009c860 FUN_14009c860 +Proud::CNetClientImpl 0x140120f48 35 0x14009b7b0 FUN_14009b7b0 +Proud::CNetClientImpl 0x140120f48 36 0x1400aea30 FUN_1400aea30 +Proud::CNetClientImpl 0x140120f48 37 0x1400aecd0 FUN_1400aecd0 +Proud::CNetClientImpl 0x140120f48 38 0x1400a8950 FUN_1400a8950 +Proud::CNetClientImpl 0x140120f48 39 0x1400a8760 FUN_1400a8760 +Proud::CNetClientImpl 0x140120f48 40 0x1400b6cf0 FUN_1400b6cf0 +Proud::CNetClientImpl 0x140120f48 41 0x14009b760 FUN_14009b760 +Proud::CNetClientImpl 0x140120f48 42 0x1400a85d0 FUN_1400a85d0 +Proud::CNetClientImpl 0x140120f48 43 0x14009ce30 FUN_14009ce30 +Proud::CNetClientImpl 0x140120f48 44 0x14009c270 FUN_14009c270 +Proud::CNetClientImpl 0x140120f48 45 0x14009b7a0 FUN_14009b7a0 +Proud::CNetClientImpl 0x140120f48 46 0x1400b1b40 FUN_1400b1b40 +Proud::CNetClientImpl 0x140120f48 47 0x14009c350 FUN_14009c350 +Proud::CNetClientImpl 0x140120f48 48 0x14009c610 FUN_14009c610 +Proud::CNetClientImpl 0x140120f48 49 0x14009b860 FUN_14009b860 +Proud::CNetClientImpl 0x140120f48 50 0x1400b1aa0 FUN_1400b1aa0 +Proud::CNetClientImpl 0x140120f48 51 0x1400abfe0 FUN_1400abfe0 +Proud::CNetClientImpl 0x140120f48 52 0x14009c6a0 FUN_14009c6a0 +Proud::CNetClientImpl 0x140120f48 53 0x14009c780 FUN_14009c780 +Proud::CNetClientImpl 0x140120f48 54 0x14009d330 FUN_14009d330 +Proud::CNetClientImpl 0x140120f48 55 0x14009b840 FUN_14009b840 +Proud::CNetClientImpl 0x140120f48 56 0x14009bee0 FUN_14009bee0 +Proud::CNetClientImpl 0x140120ef8 0 0x1400b1b10 FUN_1400b1b10 +Proud::CNetClientImpl 0x140120ef8 1 0x1400aac40 FUN_1400aac40 +Proud::CNetClientImpl 0x140120ef8 2 0x140079c10 FUN_140079c10 +Proud::CNetClientImpl 0x140120ef8 3 0x140079c10 FUN_140079c10 +Proud::CNetClientImpl 0x140120ef8 4 0x140079c10 FUN_140079c10 +Proud::CNetClientImpl 0x140120ef8 5 0x140079c10 FUN_140079c10 +Proud::CNetClientImpl 0x140120ef8 6 0x1400b1c50 FUN_1400b1c50 +Proud::CNetClientImpl 0x140120ef8 7 0x1400b1bf0 FUN_1400b1bf0 +Proud::CNetClientImpl 0x140120ef8 8 0x14009c670 FUN_14009c670 +Proud::CNetClientImpl 0x140120ec0 0 0x1400abca0 FUN_1400abca0 +Proud::CNetClientImpl 0x140120ec0 1 0x1400b1b00 FUN_1400b1b00 +Proud::CNetClientImpl 0x140120ec0 2 0x1400b1c10 FUN_1400b1c10 +Proud::CNetClientImpl 0x140120ec0 3 0x1400b1be0 FUN_1400b1be0 +Proud::CNetClientImpl 0x140120ec0 4 0x1400b1c40 FUN_1400b1c40 +Proud::CNetClientImpl 0x140120ec0 5 0x1400b1b90 FUN_1400b1b90 +Proud::CNetClientImpl 0x140120e98 0 0x1400b1ae0 FUN_1400b1ae0 +Proud::CNetClientImpl 0x140120e98 1 0x1400b1c30 FUN_1400b1c30 +Proud::CNetClientImpl 0x140120e98 2 0x1400a69f0 FUN_1400a69f0 +Proud::CNetClientImpl 0x140120e98 3 0x14009b830 FUN_14009b830 +Proud::CNetClientImpl 0x140120e70 0 0x1400b1b20 FUN_1400b1b20 +Proud::CNetClientImpl 0x140120e70 1 0x1400b1c60 FUN_1400b1c60 +Proud::CNetClientImpl 0x140120e70 2 0x1400b1ad0 FUN_1400b1ad0 +Proud::CNetClientImpl 0x140120e70 3 0x140094860 FUN_140094860 +Proud::ISendSpeedMeasurerDg 0x140123428 0 0x1400bf0d0 FUN_1400bf0d0 +Proud::ISendSpeedMeasurerDg 0x140123428 1 0x140079c10 FUN_140079c10 +Proud::ISendSpeedMeasurerDg 0x140123428 2 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CNetClientManager 0x140123e00 0 0x1400c4e20 FUN_1400c4e20 +Proud::CNetClientManager 0x140123e00 1 0x1400c4c50 FUN_1400c4c50 +Proud::CNetClientManager 0x140123de0 0 0x1400c4c40 FUN_1400c4c40 +Proud::CNetClientManager 0x140123de0 1 0x140079c10 FUN_140079c10 +Proud::CNetClientManager 0x140123de0 2 0x1400bf800 FUN_1400bf800 +Proud::CFastArray,0> 0x140124450 0 0x1400caf50 FUN_1400caf50 +Proud::CFastArray 0x140124460 0 0x1400c8b10 FUN_1400c8b10 +Proud::CDiscoveringNatDevice 0x1401245e0 0 0x1400ca5c0 FUN_1400ca5c0 +Proud::CDiscoveringNatDevice 0x1401245e0 1 0x1400c4c50 FUN_1400c4c50 +Proud::CSsdpContext 0x1401246a0 0 0x1400cb320 FUN_1400cb320 +Proud::CSsdpContext 0x1401246a0 1 0x1400c4c50 FUN_1400c4c50 +Proud::CUpnp 0x1401248c0 0 0x1400c4c50 FUN_1400c4c50 +Proud::CTcpLayer_C 0x140124b18 0 0x1400cef60 FUN_1400cef60 +Proud::CTcpLayer_C 0x140124b18 1 0x1400ced60 FUN_1400ced60 +Proud::CTcpLayer_C 0x140124af8 0 0x1400ced70 FUN_1400ced70 +Proud::CTcpLayer_C 0x140124af8 1 0x1400ce8d0 FUN_1400ce8d0 +Proud::CTcpLayer_C 0x140124af8 2 0x1400ce970 FUN_1400ce970 +Proud::IReliableUdpHostDelegate 0x140124b58 0 0x1400cefa0 FUN_1400cefa0 +Proud::IReliableUdpHostDelegate 0x140124b58 1 0x1400495d0 MSVCR100.DLL::_purecall +Proud::IReliableUdpHostDelegate 0x140124b58 2 0x1400495d0 MSVCR100.DLL::_purecall +Proud::IReliableUdpHostDelegate 0x140124b58 3 0x1400495d0 MSVCR100.DLL::_purecall +Proud::IReliableUdpHostDelegate 0x140124b58 4 0x1400495d0 MSVCR100.DLL::_purecall +Proud::IReliableUdpHostDelegate 0x140124b58 5 0x1400495d0 MSVCR100.DLL::_purecall +Proud::IReliableUdpHostDelegate 0x140124b58 6 0x1400495d0 MSVCR100.DLL::_purecall +Proud::IReliableUdpHostDelegate 0x140124b58 7 0x1400495d0 MSVCR100.DLL::_purecall +Proud::CP2PConnectionTrialContext::ServerHolepunchState 0x140124bc8 0 0x14009baa0 FUN_14009baa0 +Proud::CRemotePeer_C 0x140125398 0 0x1400d2b30 FUN_1400d2b30 +Proud::CRemotePeer_C 0x140125398 1 0x1400d28e0 FUN_1400d28e0 +Proud::CRemotePeer_C 0x140125378 0 0x1400d28f0 FUN_1400d28f0 +Proud::CRemotePeer_C 0x140125378 1 0x1400d2910 FUN_1400d2910 +Proud::CRemotePeer_C 0x140125378 2 0x1400cefd0 FUN_1400cefd0 +Proud::CRemotePeer_C 0x140125350 0 0x1400d2900 FUN_1400d2900 +Proud::CRemotePeer_C 0x140125350 1 0x1400ceff0 FUN_1400ceff0 +Proud::CRemotePeer_C 0x140125350 2 0x1400cffa0 FUN_1400cffa0 +Proud::CRemotePeer_C 0x140125350 3 0x1400cefe0 FUN_1400cefe0 +Proud::CUdpSocket_C 0x1401254b8 0 0x1400d3690 FUN_1400d3690 +Proud::CUdpSocket_C 0x1401254b8 1 0x140094860 FUN_140094860 +Proud::CUdpSocket_C 0x1401254b8 2 0x1400d2da0 FUN_1400d2da0 +Proud::CUdpSocket_C 0x140125498 0 0x1400d3500 FUN_1400d3500 +Proud::CUdpSocket_C 0x140125498 1 0x1400d2b60 FUN_1400d2b60 +Proud::CUdpSocket_C 0x140125498 2 0x1400d2eb0 FUN_1400d2eb0 +Proud::CRemotePeerReliableUdp 0x1401255c8 0 0x1400d4950 FUN_1400d4950 +Proud::CRemotePeerReliableUdp 0x1401255c8 1 0x1400d3d50 FUN_1400d3d50 +Proud::CRemotePeerReliableUdp 0x1401255c8 2 0x1400d3ae0 FUN_1400d3ae0 +Proud::CRemotePeerReliableUdp 0x1401255c8 3 0x1400d3af0 FUN_1400d3af0 +Proud::CRemotePeerReliableUdp 0x1401255c8 4 0x1400d3b10 FUN_1400d3b10 +Proud::CRemotePeerReliableUdp 0x1401255c8 5 0x1400d3b30 FUN_1400d3b30 +Proud::CRemotePeerReliableUdp 0x1401255c8 6 0x1400d3b40 FUN_1400d3b40 +Proud::CRemotePeerReliableUdp 0x1401255c8 7 0x1400d3ba0 FUN_1400d3ba0 +Proud::CSendSpeedMeasurer 0x14012a270 0 0x1400dc7f0 FUN_1400dc7f0 +Proud::CSendSpeedMeasurer 0x14012a270 1 0x1400c4c50 FUN_1400c4c50 +Proud::CSendSpeedMeasurer 0x14012a258 0 0x1400dc510 FUN_1400dc510 +Proud::CSendSpeedMeasurer 0x14012a258 1 0x1400c4c50 FUN_1400c4c50 +Proud::CSendSpeedMeasurer 0x14012a240 0 0x1400dc520 FUN_1400dc520 +Proud::CSendSpeedMeasurer 0x14012a240 1 0x140094860 FUN_140094860 +Proud::ReliableUdpReceiver::AcksToSend 0x14012a2f8 0 0x14004dde0 FUN_14004dde0 +MBISingleton 0x14012e590 0 0x140001300 FUN_140001300 +CConsoleControl 0x14012e580 0 0x140001300 FUN_140001300 +std::bad_alloc 0x140108d90 0 0x140001020 FUN_140001020 +std::bad_alloc 0x140108d90 1 0x140049080 MSVCR100.DLL::std::exception::what +MagiServerBase 0x14012e618 0 0x140001b80 FUN_140001b80 +Proud::INetClientEvent 0x1401184b8 0 0x140002270 std::bad_alloc::`scalar_deleting_destructor' +Proud::INetClientEvent 0x1401184b8 1 0x1400495d0 MSVCR100.DLL::_purecall +Proud::INetClientEvent 0x1401184b8 2 0x1400495d0 MSVCR100.DLL::_purecall +Proud::INetClientEvent 0x1401184b8 3 0x1400495d0 MSVCR100.DLL::_purecall +Proud::INetClientEvent 0x1401184b8 4 0x1400495d0 MSVCR100.DLL::_purecall +Proud::INetClientEvent 0x1401184b8 5 0x1400495d0 MSVCR100.DLL::_purecall +Proud::INetClientEvent 0x1401184b8 6 0x14002efb0 FUN_14002efb0 +Proud::INetClientEvent 0x1401184b8 7 0x1400495d0 MSVCR100.DLL::_purecall +Proud::INetClientEvent 0x1401184b8 8 0x1400495d0 MSVCR100.DLL::_purecall +Proud::INetClientEvent 0x1401184b8 9 0x1400495d0 MSVCR100.DLL::_purecall +Proud::INetClientEvent 0x1401184b8 10 0x1400495d0 MSVCR100.DLL::_purecall +Proud::INetClientEvent 0x1401184b8 11 0x1400495d0 MSVCR100.DLL::_purecall +Proud::INetClientEvent 0x1401184b8 12 0x14002efb0 FUN_14002efb0 +Proud::INetClientEvent 0x1401184b8 13 0x1400495d0 MSVCR100.DLL::_purecall +Proud::INetCoreEvent 0x140108bc8 0 0x140002240 FUN_140002240 +Proud::INetCoreEvent 0x140108bc8 1 0x1400495d0 MSVCR100.DLL::_purecall +Proud::INetCoreEvent 0x140108bc8 2 0x1400495d0 MSVCR100.DLL::_purecall +Proud::INetCoreEvent 0x140108bc8 3 0x1400495d0 MSVCR100.DLL::_purecall +Proud::INetCoreEvent 0x140108bc8 4 0x1400495d0 MSVCR100.DLL::_purecall +Proud::INetCoreEvent 0x140108bc8 5 0x1400495d0 MSVCR100.DLL::_purecall +Proud::INetCoreEvent 0x140108bc8 6 0x14002efb0 FUN_14002efb0 +MBISingleton 0x14012efd0 0 0x140005220 FUN_140005220 +MagiAgentManagerServer 0x14012ef60 0 0x140004cb0 FUN_140004cb0 +MagiAgentManagerServer 0x14012ef50 0 0x140002350 FUN_140002350 +Proud::INetServerEvent 0x14012f288 0 0x1400060a0 std::bad_alloc::`scalar_deleting_destructor' +Proud::INetServerEvent 0x14012f288 1 0x1400495d0 MSVCR100.DLL::_purecall +Proud::INetServerEvent 0x14012f288 2 0x1400495d0 MSVCR100.DLL::_purecall +Proud::INetServerEvent 0x14012f288 3 0x1400495d0 MSVCR100.DLL::_purecall +Proud::INetServerEvent 0x14012f288 4 0x1400495d0 MSVCR100.DLL::_purecall +Proud::INetServerEvent 0x14012f288 5 0x1400495d0 MSVCR100.DLL::_purecall +Proud::INetServerEvent 0x14012f288 6 0x14002efb0 FUN_14002efb0 +Proud::INetServerEvent 0x14012f288 7 0x1400495d0 MSVCR100.DLL::_purecall +Proud::INetServerEvent 0x14012f288 8 0x1400495d0 MSVCR100.DLL::_purecall +Proud::INetServerEvent 0x14012f288 9 0x140006910 FUN_140006910 +Proud::INetServerEvent 0x14012f288 10 0x1400495d0 MSVCR100.DLL::_purecall +Proud::INetServerEvent 0x14012f288 11 0x1400495d0 MSVCR100.DLL::_purecall +Proud::INetServerEvent 0x14012f288 12 0x1400495d0 MSVCR100.DLL::_purecall +Proud::INetServerEvent 0x14012f288 13 0x14002efb0 FUN_14002efb0 +Proud::INetServerEvent 0x14012f288 14 0x14002efb0 FUN_14002efb0 +Proud::INetServerEvent 0x14012f288 15 0x14002efb0 FUN_14002efb0 +Proud::INetServerEvent 0x14012f288 16 0x14002efb0 FUN_14002efb0 +Proud::INetServerEvent 0x14012f288 17 0x14002efb0 FUN_14002efb0 +MagiAgentManagerNetwork 0x14012f1e8 0 0x140005d90 FUN_140005d90 +MagiAgentManagerNetwork 0x14012f1e8 1 0x140005d80 FUN_140005d80 +MagiAgentManagerNetwork 0x14012f1e8 2 0x140026520 FUN_140026520 +MagiAgentManagerNetwork 0x14012f1e8 3 0x14002efb0 FUN_14002efb0 +MagiAgentManagerNetwork 0x14012f1e8 4 0x14002efb0 FUN_14002efb0 +MagiAgentManagerNetwork 0x14012f1e8 5 0x140005d50 FUN_140005d50 +MagiAgentManagerNetwork 0x14012f1e8 6 0x140005d40 FUN_140005d40 +MagiAgentManagerNetwork 0x14012f1e8 7 0x1400137f0 FUN_1400137f0 +MagiAgentManagerNetwork 0x14012f1e8 8 0x140013b80 FUN_140013b80 +MagiAgentManagerNetwork 0x14012f1e8 9 0x1400136b0 FUN_1400136b0 +MagiAgentManagerNetwork 0x14012f1e8 10 0x1400141e0 FUN_1400141e0 +MagiAgentManagerNetwork 0x14012f1e8 11 0x140013d70 FUN_140013d70 +MagiAgentManagerNetwork 0x14012f1e8 12 0x140013e10 FUN_140013e10 +MagiAgentManagerNetwork 0x14012f1e8 13 0x140013ee0 FUN_140013ee0 +MagiAgentManagerNetwork 0x14012f1e8 14 0x140013f10 FUN_140013f10 +MagiAgentManagerNetwork 0x14012f1e8 15 0x140013f80 FUN_140013f80 +MagiAgentManagerNetwork 0x14012f1e8 16 0x140013fb0 FUN_140013fb0 +MagiAgentManagerNetwork 0x14012f1e8 17 0x140013fd0 FUN_140013fd0 +MagiAgentManagerNetwork 0x14012f148 0 0x140005380 FUN_140005380 +MagiAgentManagerNetwork 0x14012f148 1 0x140005990 FUN_140005990 +MagiAgentManagerNetwork 0x14012f148 2 0x140005a30 FUN_140005a30 +MagiAgentManagerNetwork 0x14012f148 3 0x14002efb0 FUN_14002efb0 +MagiAgentManagerNetwork 0x14012f148 4 0x140005ad0 FUN_140005ad0 +MagiAgentManagerNetwork 0x14012f148 5 0x14002efb0 FUN_14002efb0 +MagiAgentManagerNetwork 0x14012f148 6 0x14002efb0 FUN_14002efb0 +MagiAgentManagerNetwork 0x14012f148 7 0x140005af0 FUN_140005af0 +MagiAgentManagerNetwork 0x14012f148 8 0x140005b90 FUN_140005b90 +MagiAgentManagerNetwork 0x14012f148 9 0x140006910 FUN_140006910 +MagiAgentManagerNetwork 0x14012f148 10 0x14002efb0 FUN_14002efb0 +MagiAgentManagerNetwork 0x14012f148 11 0x14002efb0 FUN_14002efb0 +MagiAgentManagerNetwork 0x14012f148 12 0x14002efb0 FUN_14002efb0 +MagiAgentManagerNetwork 0x14012f148 13 0x14002efb0 FUN_14002efb0 +MagiAgentManagerNetwork 0x14012f148 14 0x14002efb0 FUN_14002efb0 +MagiAgentManagerNetwork 0x14012f148 15 0x14002efb0 FUN_14002efb0 +MagiAgentManagerNetwork 0x14012f148 16 0x14002efb0 FUN_14002efb0 +MagiAgentManagerNetwork 0x14012f148 17 0x14002efb0 FUN_14002efb0 +Proud::Exception 0x140106200 0 0x140006db0 FUN_140006db0 +Proud::Exception 0x140106200 1 0x14003d430 FUN_14003d430 +MagiAgentManagerMonitorNetwork 0x14012f6d8 0 0x140006da0 FUN_140006da0 +MagiAgentManagerMonitorNetwork 0x14012f6d8 1 0x140006d90 FUN_140006d90 +MagiAgentManagerMonitorNetwork 0x14012f6d8 2 0x14002c3c0 FUN_14002c3c0 +MagiAgentManagerMonitorNetwork 0x14012f6d8 3 0x14002efb0 FUN_14002efb0 +MagiAgentManagerMonitorNetwork 0x14012f6d8 4 0x14002efb0 FUN_14002efb0 +MagiAgentManagerMonitorNetwork 0x14012f6d8 5 0x140005d50 FUN_140005d50 +MagiAgentManagerMonitorNetwork 0x14012f6d8 6 0x140006d80 FUN_140006d80 +MagiAgentManagerMonitorNetwork 0x14012f6d8 7 0x140015290 FUN_140015290 +MagiAgentManagerMonitorNetwork 0x14012f6d8 8 0x140015750 FUN_140015750 +MagiAgentManagerMonitorNetwork 0x14012f6d8 9 0x140015ac0 FUN_140015ac0 +MagiAgentManagerMonitorNetwork 0x14012f6d8 10 0x140016310 FUN_140016310 +MagiAgentManagerMonitorNetwork 0x14012f6d8 11 0x140016460 FUN_140016460 +MagiAgentManagerMonitorNetwork 0x14012f6d8 12 0x1400164b0 FUN_1400164b0 +MagiAgentManagerMonitorNetwork 0x14012f6d8 13 0x140016520 FUN_140016520 +MagiAgentManagerMonitorNetwork 0x14012f6d8 14 0x140016590 FUN_140016590 +MagiAgentManagerMonitorNetwork 0x14012f6d8 15 0x1400165f0 FUN_1400165f0 +MagiAgentManagerMonitorNetwork 0x14012f6d8 16 0x1400166d0 FUN_1400166d0 +MagiAgentManagerMonitorNetwork 0x14012f6d8 17 0x1400169c0 FUN_1400169c0 +MagiAgentManagerMonitorNetwork 0x14012f6d8 18 0x140016cb0 FUN_140016cb0 +MagiAgentManagerMonitorNetwork 0x14012f638 0 0x140006290 FUN_140006290 +MagiAgentManagerMonitorNetwork 0x14012f638 1 0x140006500 FUN_140006500 +MagiAgentManagerMonitorNetwork 0x14012f638 2 0x1400065a0 FUN_1400065a0 +MagiAgentManagerMonitorNetwork 0x14012f638 3 0x14002efb0 FUN_14002efb0 +MagiAgentManagerMonitorNetwork 0x14012f638 4 0x140006640 FUN_140006640 +MagiAgentManagerMonitorNetwork 0x14012f638 5 0x14002efb0 FUN_14002efb0 +MagiAgentManagerMonitorNetwork 0x14012f638 6 0x14002efb0 FUN_14002efb0 +MagiAgentManagerMonitorNetwork 0x14012f638 7 0x140006660 FUN_140006660 +MagiAgentManagerMonitorNetwork 0x14012f638 8 0x140006740 FUN_140006740 +MagiAgentManagerMonitorNetwork 0x14012f638 9 0x140006910 FUN_140006910 +MagiAgentManagerMonitorNetwork 0x14012f638 10 0x14002efb0 FUN_14002efb0 +MagiAgentManagerMonitorNetwork 0x14012f638 11 0x14002efb0 FUN_14002efb0 +MagiAgentManagerMonitorNetwork 0x14012f638 12 0x14002efb0 FUN_14002efb0 +MagiAgentManagerMonitorNetwork 0x14012f638 13 0x14002efb0 FUN_14002efb0 +MagiAgentManagerMonitorNetwork 0x14012f638 14 0x14002efb0 FUN_14002efb0 +MagiAgentManagerMonitorNetwork 0x14012f638 15 0x14002efb0 FUN_14002efb0 +MagiAgentManagerMonitorNetwork 0x14012f638 16 0x14002efb0 FUN_14002efb0 +MagiAgentManagerMonitorNetwork 0x14012f638 17 0x14002efb0 FUN_14002efb0 +MagiAgentManagerApiServer 0x14012fc18 0 0x140007090 FUN_140007090 +MBISingleton 0x140130518 0 0x14000cb10 FUN_14000cb10 +MagiStatistics 0x1401303c0 0 0x14000be00 FUN_14000be00 +Proud::CFastArray 0x140109bb0 0 0x14000d980 FUN_14000d980 +MBISingleton 0x140130538 0 0x14000e5b0 FUN_14000e5b0 +MGRemoteAgentMonitorManager 0x140130528 0 0x14000daa0 FUN_14000daa0 +MBISingleton 0x140130658 0 0x140011800 FUN_140011800 +MagiXmlFormat 0x140130648 0 0x140011800 FUN_140011800 +MBMultiThreadSync 0x140130e60 0 0x14001c4a0 FUN_14001c4a0 +MBISingleton 0x140130e50 0 0x14001c460 FUN_14001c460 +MBCLog 0x140130e40 0 0x14001c5a0 FUN_14001c5a0 +MBCLog 0x140130e30 0 0x14001c400 FUN_14001c400 +TiXmlDocument 0x140131388 0 0x14001c620 FUN_14001c620 +TiXmlDocument 0x140131388 1 0x14001ff40 FUN_14001ff40 +TiXmlDocument 0x140131388 2 0x140021720 FUN_140021720 +TiXmlDocument 0x140131388 3 0x14001e770 FUN_14001e770 +TiXmlDocument 0x140131388 4 0x14001e770 FUN_14001e770 +TiXmlDocument 0x140131388 5 0x14001c5d0 FUN_14001c5d0 +TiXmlDocument 0x140131388 6 0x14001c5d0 FUN_14001c5d0 +TiXmlDocument 0x140131388 7 0x14001c5d0 FUN_14001c5d0 +TiXmlDocument 0x140131388 8 0x14001c5d0 FUN_14001c5d0 +TiXmlDocument 0x140131388 9 0x14001c5d0 FUN_14001c5d0 +TiXmlDocument 0x140131388 10 0x14001c5d0 FUN_14001c5d0 +TiXmlDocument 0x140131388 11 0x14001c5d0 FUN_14001c5d0 +TiXmlDocument 0x140131388 12 0x14001c5d0 FUN_14001c5d0 +TiXmlDocument 0x140131388 13 0x14001c5d0 FUN_14001c5d0 +TiXmlDocument 0x140131388 14 0x14001c5d0 FUN_14001c5d0 +TiXmlDocument 0x140131388 15 0x14001fee0 FUN_14001fee0 +TiXmlDocument 0x140131388 16 0x14001ffa0 FUN_14001ffa0 +TiXmlNode 0x140132aa8 0 0x14001ebf0 FUN_14001ebf0 +TiXmlNode 0x140132aa8 1 0x1400495d0 MSVCR100.DLL::_purecall +TiXmlNode 0x140132aa8 2 0x1400495d0 MSVCR100.DLL::_purecall +TiXmlNode 0x140132aa8 3 0x14001c5d0 FUN_14001c5d0 +TiXmlNode 0x140132aa8 4 0x14001c5d0 FUN_14001c5d0 +TiXmlNode 0x140132aa8 5 0x14001c5d0 FUN_14001c5d0 +TiXmlNode 0x140132aa8 6 0x14001c5d0 FUN_14001c5d0 +TiXmlNode 0x140132aa8 7 0x14001c5d0 FUN_14001c5d0 +TiXmlNode 0x140132aa8 8 0x14001c5d0 FUN_14001c5d0 +TiXmlNode 0x140132aa8 9 0x14001c5d0 FUN_14001c5d0 +TiXmlNode 0x140132aa8 10 0x14001c5d0 FUN_14001c5d0 +TiXmlNode 0x140132aa8 11 0x14001c5d0 FUN_14001c5d0 +TiXmlNode 0x140132aa8 12 0x14001c5d0 FUN_14001c5d0 +TiXmlNode 0x140132aa8 13 0x14001c5d0 FUN_14001c5d0 +TiXmlNode 0x140132aa8 14 0x14001c5d0 FUN_14001c5d0 +TiXmlNode 0x140132aa8 15 0x1400495d0 MSVCR100.DLL::_purecall +TiXmlNode 0x140132aa8 16 0x1400495d0 MSVCR100.DLL::_purecall +TiXmlBase 0x140132a80 0 0x14001e4c0 FUN_14001e4c0 +TiXmlBase 0x140132a80 1 0x1400495d0 MSVCR100.DLL::_purecall +TiXmlBase 0x140132a80 2 0x1400495d0 MSVCR100.DLL::_purecall +TiXmlDeclaration 0x1401329e8 0 0x14001e7d0 FUN_14001e7d0 +TiXmlDeclaration 0x1401329e8 1 0x14001e7c0 FUN_14001e7c0 +TiXmlDeclaration 0x1401329e8 2 0x140022f90 FUN_140022f90 +TiXmlDeclaration 0x1401329e8 3 0x14001c5d0 FUN_14001c5d0 +TiXmlDeclaration 0x1401329e8 4 0x14001c5d0 FUN_14001c5d0 +TiXmlDeclaration 0x1401329e8 5 0x14001c5d0 FUN_14001c5d0 +TiXmlDeclaration 0x1401329e8 6 0x14001c5d0 FUN_14001c5d0 +TiXmlDeclaration 0x1401329e8 7 0x14001c5d0 FUN_14001c5d0 +TiXmlDeclaration 0x1401329e8 8 0x14001c5d0 FUN_14001c5d0 +TiXmlDeclaration 0x1401329e8 9 0x14001c5d0 FUN_14001c5d0 +TiXmlDeclaration 0x1401329e8 10 0x14001c5d0 FUN_14001c5d0 +TiXmlDeclaration 0x1401329e8 11 0x14001c5d0 FUN_14001c5d0 +TiXmlDeclaration 0x1401329e8 12 0x14001c5d0 FUN_14001c5d0 +TiXmlDeclaration 0x1401329e8 13 0x14001e770 FUN_14001e770 +TiXmlDeclaration 0x1401329e8 14 0x14001e770 FUN_14001e770 +TiXmlDeclaration 0x1401329e8 15 0x140020a70 FUN_140020a70 +TiXmlDeclaration 0x1401329e8 16 0x140020a60 FUN_140020a60 +TiXmlDeclaration 0x1401329e8 17 0x140020610 FUN_140020610 +TiXmlText 0x140132958 0 0x14001e780 std::bad_alloc::`scalar_deleting_destructor' +TiXmlText 0x140132958 1 0x1400203d0 FUN_1400203d0 +TiXmlText 0x140132958 2 0x140022d40 FUN_140022d40 +TiXmlText 0x140132958 3 0x14001c5d0 FUN_14001c5d0 +TiXmlText 0x140132958 4 0x14001c5d0 FUN_14001c5d0 +TiXmlText 0x140132958 5 0x14001c5d0 FUN_14001c5d0 +TiXmlText 0x140132958 6 0x14001c5d0 FUN_14001c5d0 +TiXmlText 0x140132958 7 0x14001c5d0 FUN_14001c5d0 +TiXmlText 0x140132958 8 0x14001c5d0 FUN_14001c5d0 +TiXmlText 0x140132958 9 0x14001c5d0 FUN_14001c5d0 +TiXmlText 0x140132958 10 0x14001c5d0 FUN_14001c5d0 +TiXmlText 0x140132958 11 0x14001e770 FUN_14001e770 +TiXmlText 0x140132958 12 0x14001e770 FUN_14001e770 +TiXmlText 0x140132958 13 0x14001c5d0 FUN_14001c5d0 +TiXmlText 0x140132958 14 0x14001c5d0 FUN_14001c5d0 +TiXmlText 0x140132958 15 0x1400204c0 FUN_1400204c0 +TiXmlText 0x140132958 16 0x1400204b0 FUN_1400204b0 +TiXmlAttribute 0x140132938 0 0x14001e5f0 FUN_14001e5f0 +TiXmlAttribute 0x140132938 1 0x14001e5e0 FUN_14001e5e0 +TiXmlAttribute 0x140132938 2 0x140022b50 FUN_140022b50 +TiXmlUnknown 0x1401328a8 0 0x14001e860 std::bad_alloc::`scalar_deleting_destructor' +TiXmlUnknown 0x1401328a8 1 0x140020b00 FUN_140020b00 +TiXmlUnknown 0x1401328a8 2 0x1400226d0 FUN_1400226d0 +TiXmlUnknown 0x1401328a8 3 0x14001c5d0 FUN_14001c5d0 +TiXmlUnknown 0x1401328a8 4 0x14001c5d0 FUN_14001c5d0 +TiXmlUnknown 0x1401328a8 5 0x14001c5d0 FUN_14001c5d0 +TiXmlUnknown 0x1401328a8 6 0x14001c5d0 FUN_14001c5d0 +TiXmlUnknown 0x1401328a8 7 0x14001c5d0 FUN_14001c5d0 +TiXmlUnknown 0x1401328a8 8 0x14001c5d0 FUN_14001c5d0 +TiXmlUnknown 0x1401328a8 9 0x14001e770 FUN_14001e770 +TiXmlUnknown 0x1401328a8 10 0x14001e770 FUN_14001e770 +TiXmlUnknown 0x1401328a8 11 0x14001c5d0 FUN_14001c5d0 +TiXmlUnknown 0x1401328a8 12 0x14001c5d0 FUN_14001c5d0 +TiXmlUnknown 0x1401328a8 13 0x14001c5d0 FUN_14001c5d0 +TiXmlUnknown 0x1401328a8 14 0x14001c5d0 FUN_14001c5d0 +TiXmlUnknown 0x1401328a8 15 0x140020b70 FUN_140020b70 +TiXmlUnknown 0x1401328a8 16 0x140020b60 FUN_140020b60 +TiXmlComment 0x140132818 0 0x14001e6b0 std::bad_alloc::`scalar_deleting_destructor' +TiXmlComment 0x140132818 1 0x1400202b0 FUN_1400202b0 +TiXmlComment 0x140132818 2 0x1400228d0 FUN_1400228d0 +TiXmlComment 0x140132818 3 0x14001c5d0 FUN_14001c5d0 +TiXmlComment 0x140132818 4 0x14001c5d0 FUN_14001c5d0 +TiXmlComment 0x140132818 5 0x14001c5d0 FUN_14001c5d0 +TiXmlComment 0x140132818 6 0x14001c5d0 FUN_14001c5d0 +TiXmlComment 0x140132818 7 0x14001e770 FUN_14001e770 +TiXmlComment 0x140132818 8 0x14001e770 FUN_14001e770 +TiXmlComment 0x140132818 9 0x14001c5d0 FUN_14001c5d0 +TiXmlComment 0x140132818 10 0x14001c5d0 FUN_14001c5d0 +TiXmlComment 0x140132818 11 0x14001c5d0 FUN_14001c5d0 +TiXmlComment 0x140132818 12 0x14001c5d0 FUN_14001c5d0 +TiXmlComment 0x140132818 13 0x14001c5d0 FUN_14001c5d0 +TiXmlComment 0x140132818 14 0x14001c5d0 FUN_14001c5d0 +TiXmlComment 0x140132818 15 0x140020320 FUN_140020320 +TiXmlComment 0x140132818 16 0x140020310 FUN_140020310 +TiXmlElement 0x140132788 0 0x14001efc0 FUN_14001efc0 +TiXmlElement 0x140132788 1 0x14001f2a0 FUN_14001f2a0 +TiXmlElement 0x140132788 2 0x140021d50 FUN_140021d50 +TiXmlElement 0x140132788 3 0x14001c5d0 FUN_14001c5d0 +TiXmlElement 0x140132788 4 0x14001c5d0 FUN_14001c5d0 +TiXmlElement 0x140132788 5 0x14001e770 FUN_14001e770 +TiXmlElement 0x140132788 6 0x14001e770 FUN_14001e770 +TiXmlElement 0x140132788 7 0x14001c5d0 FUN_14001c5d0 +TiXmlElement 0x140132788 8 0x14001c5d0 FUN_14001c5d0 +TiXmlElement 0x140132788 9 0x14001c5d0 FUN_14001c5d0 +TiXmlElement 0x140132788 10 0x14001c5d0 FUN_14001c5d0 +TiXmlElement 0x140132788 11 0x14001c5d0 FUN_14001c5d0 +TiXmlElement 0x140132788 12 0x14001c5d0 FUN_14001c5d0 +TiXmlElement 0x140132788 13 0x14001c5d0 FUN_14001c5d0 +TiXmlElement 0x140132788 14 0x14001c5d0 FUN_14001c5d0 +TiXmlElement 0x140132788 15 0x14001f5c0 FUN_14001f5c0 +TiXmlElement 0x140132788 16 0x14001f540 FUN_14001f540 +MBISingleton 0x140132e18 0 0x140023610 FUN_140023610 +Clock 0x140132e08 0 0x1400237f0 FUN_1400237f0 +Clock 0x140132de0 0 0x140023500 FUN_140023500 +Clock 0x140132de0 1 0x1400234f0 FUN_1400234f0 +Clock 0x140132de0 2 0x1400ecff0 FUN_1400ecff0 +Clock 0x140132de0 3 0x1400ecf50 FUN_1400ecf50 +ISubject 0x140132db8 0 0x1400234c0 FUN_1400234c0 +ISubject 0x140132db8 1 0x1400495d0 MSVCR100.DLL::_purecall +ISubject 0x140132db8 2 0x1400495d0 MSVCR100.DLL::_purecall +ISubject 0x140132db8 3 0x1400495d0 MSVCR100.DLL::_purecall +TimeSourceHRWin32 0x140132e40 0 0x140023800 FUN_140023800 +TimeSourceHRWin32 0x140132e40 1 0x1400ece50 FUN_1400ece50 +TimeSource 0x140132e28 0 0x140023800 FUN_140023800 +TimeSource 0x140132e28 1 0x1400495d0 MSVCR100.DLL::_purecall +Magi::Timer 0x140132e70 0 0x140023870 FUN_140023870 +Magi::Timer 0x140132e70 1 0x1400ecd60 FUN_1400ecd60 +IObserver 0x140132e58 0 0x140023840 FUN_140023840 +IObserver 0x140132e58 1 0x1400495d0 MSVCR100.DLL::_purecall +RNP::AgentManager2AgentProxy 0x140133558 0 0x1400238d0 FUN_1400238d0 +RNP::AgentManager2AgentProxy 0x140133558 1 0x1400238e0 FUN_1400238e0 +RNP::AgentManager2AgentProxy 0x140133558 2 0x14002efb0 FUN_14002efb0 +RNP::AgentManager2AgentProxy 0x140133558 3 0x140076990 FUN_140076990 +RNP::AgentManager2AgentProxy 0x140133558 4 0x140028ef0 std::bad_alloc::`scalar_deleting_destructor' +RNP::AgentManager2AgentProxy 0x140133558 5 0x140023c90 FUN_140023c90 +RNP::AgentManager2AgentProxy 0x140133558 6 0x140023930 FUN_140023930 +RNP::AgentManager2AgentProxy 0x140133558 7 0x1400241e0 FUN_1400241e0 +RNP::AgentManager2AgentProxy 0x140133558 8 0x140023ff0 FUN_140023ff0 +RNP::AgentManager2AgentProxy 0x140133558 9 0x140024510 FUN_140024510 +RNP::AgentManager2AgentProxy 0x140133558 10 0x140024400 FUN_140024400 +RNP::AgentManager2AgentProxy 0x140133558 11 0x140024720 FUN_140024720 +RNP::AgentManager2AgentProxy 0x140133558 12 0x140024630 FUN_140024630 +RNP::AgentManager2AgentProxy 0x140133558 13 0x140024900 FUN_140024900 +RNP::AgentManager2AgentProxy 0x140133558 14 0x140024820 FUN_140024820 +RNP::AgentManager2AgentProxy 0x140133558 15 0x140024b10 FUN_140024b10 +RNP::AgentManager2AgentProxy 0x140133558 16 0x1400249e0 FUN_1400249e0 +RNP::AgentManager2AgentProxy 0x140133558 17 0x140024e30 FUN_140024e30 +RNP::AgentManager2AgentProxy 0x140133558 18 0x140024c50 FUN_140024c50 +RNP::AgentManager2AgentProxy 0x140133558 19 0x140025140 FUN_140025140 +RNP::AgentManager2AgentProxy 0x140133558 20 0x140025040 FUN_140025040 +RNP::AgentManager2AgentProxy 0x140133558 21 0x140025340 FUN_140025340 +RNP::AgentManager2AgentProxy 0x140133558 22 0x140025250 FUN_140025250 +RNP::AgentManager2AgentProxy 0x140133558 23 0x140025520 FUN_140025520 +RNP::AgentManager2AgentProxy 0x140133558 24 0x140025430 FUN_140025430 +RNP::AgentManager2AgentProxy 0x140133558 25 0x140025700 FUN_140025700 +RNP::AgentManager2AgentProxy 0x140133558 26 0x140025620 FUN_140025620 +RNP::AgentManager2AgentProxy 0x140133558 27 0x140025900 FUN_140025900 +RNP::AgentManager2AgentProxy 0x140133558 28 0x1400257e0 FUN_1400257e0 +RNP::AgentManager2AgentProxy 0x140133558 29 0x140025b30 FUN_140025b30 +RNP::AgentManager2AgentProxy 0x140133558 30 0x140025a30 FUN_140025a30 +RNP::AgentManager2AgentProxy 0x140133558 31 0x140025d40 FUN_140025d40 +RNP::AgentManager2AgentProxy 0x140133558 32 0x140025c40 FUN_140025c40 +RNP::AgentManager2AgentProxy 0x140133558 33 0x140025f50 FUN_140025f50 +RNP::AgentManager2AgentProxy 0x140133558 34 0x140025e50 FUN_140025e50 +RNP::AgentManager2AgentProxy 0x140133558 35 0x140026190 FUN_140026190 +RNP::AgentManager2AgentProxy 0x140133558 36 0x140026060 FUN_140026060 +RNP::AgentManager2AgentProxy 0x140133558 37 0x1400263f0 FUN_1400263f0 +RNP::AgentManager2AgentProxy 0x140133558 38 0x1400262c0 FUN_1400262c0 +RNP::Agent2AgentManagerStub 0x1401334b8 0 0x140005d90 FUN_140005d90 +RNP::Agent2AgentManagerStub 0x1401334b8 1 0x140005d80 FUN_140005d80 +RNP::Agent2AgentManagerStub 0x1401334b8 2 0x140026520 FUN_140026520 +RNP::Agent2AgentManagerStub 0x1401334b8 3 0x14002efb0 FUN_14002efb0 +RNP::Agent2AgentManagerStub 0x1401334b8 4 0x14002efb0 FUN_14002efb0 +RNP::Agent2AgentManagerStub 0x1401334b8 5 0x140005d50 FUN_140005d50 +RNP::Agent2AgentManagerStub 0x1401334b8 6 0x140028ea0 std::bad_alloc::`scalar_deleting_destructor' +RNP::Agent2AgentManagerStub 0x1401334b8 7 0x140023920 FUN_140023920 +RNP::Agent2AgentManagerStub 0x1401334b8 8 0x140023920 FUN_140023920 +RNP::Agent2AgentManagerStub 0x1401334b8 9 0x140023920 FUN_140023920 +RNP::Agent2AgentManagerStub 0x1401334b8 10 0x140023920 FUN_140023920 +RNP::Agent2AgentManagerStub 0x1401334b8 11 0x140023920 FUN_140023920 +RNP::Agent2AgentManagerStub 0x1401334b8 12 0x140023920 FUN_140023920 +RNP::Agent2AgentManagerStub 0x1401334b8 13 0x140023920 FUN_140023920 +RNP::Agent2AgentManagerStub 0x1401334b8 14 0x140023920 FUN_140023920 +RNP::Agent2AgentManagerStub 0x1401334b8 15 0x140023920 FUN_140023920 +RNP::Agent2AgentManagerStub 0x1401334b8 16 0x140023920 FUN_140023920 +RNP::Agent2AgentManagerStub 0x1401334b8 17 0x140023920 FUN_140023920 +AGENTMANAGER2AGENT_PROTOCOL::Proxy 0x140133378 0 0x1400238d0 FUN_1400238d0 +AGENTMANAGER2AGENT_PROTOCOL::Proxy 0x140133378 1 0x1400238e0 FUN_1400238e0 +AGENTMANAGER2AGENT_PROTOCOL::Proxy 0x140133378 2 0x140079c10 FUN_140079c10 +AGENTMANAGER2AGENT_PROTOCOL::Proxy 0x140133378 3 0x140076990 FUN_140076990 +AGENTMANAGER2AGENT_PROTOCOL::Proxy 0x140133378 4 0x1400238f0 FUN_1400238f0 +AGENTMANAGER2AGENT_PROTOCOL::Proxy 0x140133378 5 0x140023c90 FUN_140023c90 +AGENTMANAGER2AGENT_PROTOCOL::Proxy 0x140133378 6 0x140023930 FUN_140023930 +AGENTMANAGER2AGENT_PROTOCOL::Proxy 0x140133378 7 0x1400241e0 FUN_1400241e0 +AGENTMANAGER2AGENT_PROTOCOL::Proxy 0x140133378 8 0x140023ff0 FUN_140023ff0 +AGENTMANAGER2AGENT_PROTOCOL::Proxy 0x140133378 9 0x140024510 FUN_140024510 +AGENTMANAGER2AGENT_PROTOCOL::Proxy 0x140133378 10 0x140024400 FUN_140024400 +AGENTMANAGER2AGENT_PROTOCOL::Proxy 0x140133378 11 0x140024720 FUN_140024720 +AGENTMANAGER2AGENT_PROTOCOL::Proxy 0x140133378 12 0x140024630 FUN_140024630 +AGENTMANAGER2AGENT_PROTOCOL::Proxy 0x140133378 13 0x140024900 FUN_140024900 +AGENTMANAGER2AGENT_PROTOCOL::Proxy 0x140133378 14 0x140024820 FUN_140024820 +AGENTMANAGER2AGENT_PROTOCOL::Proxy 0x140133378 15 0x140024b10 FUN_140024b10 +AGENTMANAGER2AGENT_PROTOCOL::Proxy 0x140133378 16 0x1400249e0 FUN_1400249e0 +AGENTMANAGER2AGENT_PROTOCOL::Proxy 0x140133378 17 0x140024e30 FUN_140024e30 +AGENTMANAGER2AGENT_PROTOCOL::Proxy 0x140133378 18 0x140024c50 FUN_140024c50 +AGENTMANAGER2AGENT_PROTOCOL::Proxy 0x140133378 19 0x140025140 FUN_140025140 +AGENTMANAGER2AGENT_PROTOCOL::Proxy 0x140133378 20 0x140025040 FUN_140025040 +AGENTMANAGER2AGENT_PROTOCOL::Proxy 0x140133378 21 0x140025340 FUN_140025340 +AGENTMANAGER2AGENT_PROTOCOL::Proxy 0x140133378 22 0x140025250 FUN_140025250 +AGENTMANAGER2AGENT_PROTOCOL::Proxy 0x140133378 23 0x140025520 FUN_140025520 +AGENTMANAGER2AGENT_PROTOCOL::Proxy 0x140133378 24 0x140025430 FUN_140025430 +AGENTMANAGER2AGENT_PROTOCOL::Proxy 0x140133378 25 0x140025700 FUN_140025700 +AGENTMANAGER2AGENT_PROTOCOL::Proxy 0x140133378 26 0x140025620 FUN_140025620 +AGENTMANAGER2AGENT_PROTOCOL::Proxy 0x140133378 27 0x140025900 FUN_140025900 +AGENTMANAGER2AGENT_PROTOCOL::Proxy 0x140133378 28 0x1400257e0 FUN_1400257e0 +AGENTMANAGER2AGENT_PROTOCOL::Proxy 0x140133378 29 0x140025b30 FUN_140025b30 +AGENTMANAGER2AGENT_PROTOCOL::Proxy 0x140133378 30 0x140025a30 FUN_140025a30 +AGENTMANAGER2AGENT_PROTOCOL::Proxy 0x140133378 31 0x140025d40 FUN_140025d40 +AGENTMANAGER2AGENT_PROTOCOL::Proxy 0x140133378 32 0x140025c40 FUN_140025c40 +AGENTMANAGER2AGENT_PROTOCOL::Proxy 0x140133378 33 0x140025f50 FUN_140025f50 +AGENTMANAGER2AGENT_PROTOCOL::Proxy 0x140133378 34 0x140025e50 FUN_140025e50 +AGENTMANAGER2AGENT_PROTOCOL::Proxy 0x140133378 35 0x140026190 FUN_140026190 +AGENTMANAGER2AGENT_PROTOCOL::Proxy 0x140133378 36 0x140026060 FUN_140026060 +AGENTMANAGER2AGENT_PROTOCOL::Proxy 0x140133378 37 0x1400263f0 FUN_1400263f0 +AGENTMANAGER2AGENT_PROTOCOL::Proxy 0x140133378 38 0x1400262c0 FUN_1400262c0 +RNP::AgentMonitor2AgentManagerStub 0x140133ac8 0 0x140006da0 FUN_140006da0 +RNP::AgentMonitor2AgentManagerStub 0x140133ac8 1 0x140006d90 FUN_140006d90 +RNP::AgentMonitor2AgentManagerStub 0x140133ac8 2 0x14002c3c0 FUN_14002c3c0 +RNP::AgentMonitor2AgentManagerStub 0x140133ac8 3 0x14002efb0 FUN_14002efb0 +RNP::AgentMonitor2AgentManagerStub 0x140133ac8 4 0x14002efb0 FUN_14002efb0 +RNP::AgentMonitor2AgentManagerStub 0x140133ac8 5 0x140005d50 FUN_140005d50 +RNP::AgentMonitor2AgentManagerStub 0x140133ac8 6 0x14002efc0 std::bad_alloc::`scalar_deleting_destructor' +RNP::AgentMonitor2AgentManagerStub 0x140133ac8 7 0x140023920 FUN_140023920 +RNP::AgentMonitor2AgentManagerStub 0x140133ac8 8 0x140023920 FUN_140023920 +RNP::AgentMonitor2AgentManagerStub 0x140133ac8 9 0x140023920 FUN_140023920 +RNP::AgentMonitor2AgentManagerStub 0x140133ac8 10 0x140023920 FUN_140023920 +RNP::AgentMonitor2AgentManagerStub 0x140133ac8 11 0x140023920 FUN_140023920 +RNP::AgentMonitor2AgentManagerStub 0x140133ac8 12 0x140023920 FUN_140023920 +RNP::AgentMonitor2AgentManagerStub 0x140133ac8 13 0x140023920 FUN_140023920 +RNP::AgentMonitor2AgentManagerStub 0x140133ac8 14 0x140023920 FUN_140023920 +RNP::AgentMonitor2AgentManagerStub 0x140133ac8 15 0x140023920 FUN_140023920 +RNP::AgentMonitor2AgentManagerStub 0x140133ac8 16 0x140023920 FUN_140023920 +RNP::AgentMonitor2AgentManagerStub 0x140133ac8 17 0x140023920 FUN_140023920 +RNP::AgentMonitor2AgentManagerStub 0x140133ac8 18 0x140023920 FUN_140023920 +RNP::AgentManager2AgentMonitorProxy 0x1401339b8 0 0x14002a470 FUN_14002a470 +RNP::AgentManager2AgentMonitorProxy 0x1401339b8 1 0x14002a480 FUN_14002a480 +RNP::AgentManager2AgentMonitorProxy 0x1401339b8 2 0x14002efb0 FUN_14002efb0 +RNP::AgentManager2AgentMonitorProxy 0x1401339b8 3 0x140076990 FUN_140076990 +RNP::AgentManager2AgentMonitorProxy 0x1401339b8 4 0x14002ef60 std::bad_alloc::`scalar_deleting_destructor' +RNP::AgentManager2AgentMonitorProxy 0x1401339b8 5 0x14002a570 FUN_14002a570 +RNP::AgentManager2AgentMonitorProxy 0x1401339b8 6 0x14002a490 FUN_14002a490 +RNP::AgentManager2AgentMonitorProxy 0x1401339b8 7 0x14002a830 FUN_14002a830 +RNP::AgentManager2AgentMonitorProxy 0x1401339b8 8 0x14002a650 FUN_14002a650 +RNP::AgentManager2AgentMonitorProxy 0x1401339b8 9 0x14002ab50 FUN_14002ab50 +RNP::AgentManager2AgentMonitorProxy 0x1401339b8 10 0x14002aa40 FUN_14002aa40 +RNP::AgentManager2AgentMonitorProxy 0x1401339b8 11 0x14002ae10 FUN_14002ae10 +RNP::AgentManager2AgentMonitorProxy 0x1401339b8 12 0x14002ac80 FUN_14002ac80 +RNP::AgentManager2AgentMonitorProxy 0x1401339b8 13 0x14002b0b0 FUN_14002b0b0 +RNP::AgentManager2AgentMonitorProxy 0x1401339b8 14 0x14002afb0 FUN_14002afb0 +RNP::AgentManager2AgentMonitorProxy 0x1401339b8 15 0x14002b2b0 FUN_14002b2b0 +RNP::AgentManager2AgentMonitorProxy 0x1401339b8 16 0x14002b1c0 FUN_14002b1c0 +RNP::AgentManager2AgentMonitorProxy 0x1401339b8 17 0x14002b4a0 FUN_14002b4a0 +RNP::AgentManager2AgentMonitorProxy 0x1401339b8 18 0x14002b3a0 FUN_14002b3a0 +RNP::AgentManager2AgentMonitorProxy 0x1401339b8 19 0x14002b6e0 FUN_14002b6e0 +RNP::AgentManager2AgentMonitorProxy 0x1401339b8 20 0x14002b5b0 FUN_14002b5b0 +RNP::AgentManager2AgentMonitorProxy 0x1401339b8 21 0x14002b940 FUN_14002b940 +RNP::AgentManager2AgentMonitorProxy 0x1401339b8 22 0x14002b830 FUN_14002b830 +RNP::AgentManager2AgentMonitorProxy 0x1401339b8 23 0x14002bb80 FUN_14002bb80 +RNP::AgentManager2AgentMonitorProxy 0x1401339b8 24 0x14002ba60 FUN_14002ba60 +RNP::AgentManager2AgentMonitorProxy 0x1401339b8 25 0x14002bda0 FUN_14002bda0 +RNP::AgentManager2AgentMonitorProxy 0x1401339b8 26 0x14002bcb0 FUN_14002bcb0 +RNP::AgentManager2AgentMonitorProxy 0x1401339b8 27 0x14002bf80 FUN_14002bf80 +RNP::AgentManager2AgentMonitorProxy 0x1401339b8 28 0x14002be90 FUN_14002be90 +RNP::AgentManager2AgentMonitorProxy 0x1401339b8 29 0x14002c150 FUN_14002c150 +RNP::AgentManager2AgentMonitorProxy 0x1401339b8 30 0x14002c070 FUN_14002c070 +RNP::AgentManager2AgentMonitorProxy 0x1401339b8 31 0x14002c2f0 FUN_14002c2f0 +RNP::AgentManager2AgentMonitorProxy 0x1401339b8 32 0x14002c230 FUN_14002c230 +AGENTMANAGER2AGENTMONITOR_PROTOCOL::Proxy 0x1401338a8 0 0x14002a470 FUN_14002a470 +AGENTMANAGER2AGENTMONITOR_PROTOCOL::Proxy 0x1401338a8 1 0x14002a480 FUN_14002a480 +AGENTMANAGER2AGENTMONITOR_PROTOCOL::Proxy 0x1401338a8 2 0x140079c10 FUN_140079c10 +AGENTMANAGER2AGENTMONITOR_PROTOCOL::Proxy 0x1401338a8 3 0x140076990 FUN_140076990 +AGENTMANAGER2AGENTMONITOR_PROTOCOL::Proxy 0x1401338a8 4 0x1400238f0 FUN_1400238f0 +AGENTMANAGER2AGENTMONITOR_PROTOCOL::Proxy 0x1401338a8 5 0x14002a570 FUN_14002a570 +AGENTMANAGER2AGENTMONITOR_PROTOCOL::Proxy 0x1401338a8 6 0x14002a490 FUN_14002a490 +AGENTMANAGER2AGENTMONITOR_PROTOCOL::Proxy 0x1401338a8 7 0x14002a830 FUN_14002a830 +AGENTMANAGER2AGENTMONITOR_PROTOCOL::Proxy 0x1401338a8 8 0x14002a650 FUN_14002a650 +AGENTMANAGER2AGENTMONITOR_PROTOCOL::Proxy 0x1401338a8 9 0x14002ab50 FUN_14002ab50 +AGENTMANAGER2AGENTMONITOR_PROTOCOL::Proxy 0x1401338a8 10 0x14002aa40 FUN_14002aa40 +AGENTMANAGER2AGENTMONITOR_PROTOCOL::Proxy 0x1401338a8 11 0x14002ae10 FUN_14002ae10 +AGENTMANAGER2AGENTMONITOR_PROTOCOL::Proxy 0x1401338a8 12 0x14002ac80 FUN_14002ac80 +AGENTMANAGER2AGENTMONITOR_PROTOCOL::Proxy 0x1401338a8 13 0x14002b0b0 FUN_14002b0b0 +AGENTMANAGER2AGENTMONITOR_PROTOCOL::Proxy 0x1401338a8 14 0x14002afb0 FUN_14002afb0 +AGENTMANAGER2AGENTMONITOR_PROTOCOL::Proxy 0x1401338a8 15 0x14002b2b0 FUN_14002b2b0 +AGENTMANAGER2AGENTMONITOR_PROTOCOL::Proxy 0x1401338a8 16 0x14002b1c0 FUN_14002b1c0 +AGENTMANAGER2AGENTMONITOR_PROTOCOL::Proxy 0x1401338a8 17 0x14002b4a0 FUN_14002b4a0 +AGENTMANAGER2AGENTMONITOR_PROTOCOL::Proxy 0x1401338a8 18 0x14002b3a0 FUN_14002b3a0 +AGENTMANAGER2AGENTMONITOR_PROTOCOL::Proxy 0x1401338a8 19 0x14002b6e0 FUN_14002b6e0 +AGENTMANAGER2AGENTMONITOR_PROTOCOL::Proxy 0x1401338a8 20 0x14002b5b0 FUN_14002b5b0 +AGENTMANAGER2AGENTMONITOR_PROTOCOL::Proxy 0x1401338a8 21 0x14002b940 FUN_14002b940 +AGENTMANAGER2AGENTMONITOR_PROTOCOL::Proxy 0x1401338a8 22 0x14002b830 FUN_14002b830 +AGENTMANAGER2AGENTMONITOR_PROTOCOL::Proxy 0x1401338a8 23 0x14002bb80 FUN_14002bb80 +AGENTMANAGER2AGENTMONITOR_PROTOCOL::Proxy 0x1401338a8 24 0x14002ba60 FUN_14002ba60 +AGENTMANAGER2AGENTMONITOR_PROTOCOL::Proxy 0x1401338a8 25 0x14002bda0 FUN_14002bda0 +AGENTMANAGER2AGENTMONITOR_PROTOCOL::Proxy 0x1401338a8 26 0x14002bcb0 FUN_14002bcb0 +AGENTMANAGER2AGENTMONITOR_PROTOCOL::Proxy 0x1401338a8 27 0x14002bf80 FUN_14002bf80 +AGENTMANAGER2AGENTMONITOR_PROTOCOL::Proxy 0x1401338a8 28 0x14002be90 FUN_14002be90 +AGENTMANAGER2AGENTMONITOR_PROTOCOL::Proxy 0x1401338a8 29 0x14002c150 FUN_14002c150 +AGENTMANAGER2AGENTMONITOR_PROTOCOL::Proxy 0x1401338a8 30 0x14002c070 FUN_14002c070 +AGENTMANAGER2AGENTMONITOR_PROTOCOL::Proxy 0x1401338a8 31 0x14002c2f0 FUN_14002c2f0 +AGENTMANAGER2AGENTMONITOR_PROTOCOL::Proxy 0x1401338a8 32 0x14002c230 FUN_14002c230 +MBISingleton 0x140134610 0 0x1400376b0 FUN_1400376b0 +MagiServerOption 0x140134600 0 0x14002fa50 FUN_14002fa50 +Proud::CFastArray,0> 0x140109c30 0 0x140035c00 FUN_140035c00 +std::basic_ostringstream,std::allocator_> 0x1401345e8 0 0x140035d60 FUN_140035d60 +std::basic_stringbuf,std::allocator_> 0x140134568 0 0x140035dc0 FUN_140035dc0 +std::basic_stringbuf,std::allocator_> 0x140134568 1 0x1400ecc8a MSVCP100.DLL::std::basic_streambuf_>::_Lock +std::basic_stringbuf,std::allocator_> 0x140134568 2 0x1400ecc84 MSVCP100.DLL::std::basic_streambuf_>::_Unlock +std::basic_stringbuf,std::allocator_> 0x140134568 3 0x140035550 FUN_140035550 +std::basic_stringbuf,std::allocator_> 0x140134568 4 0x140035800 FUN_140035800 +std::basic_stringbuf,std::allocator_> 0x140134568 5 0x1400eccb4 MSVCP100.DLL::std::basic_streambuf_>::showmanyc +std::basic_stringbuf,std::allocator_> 0x140134568 6 0x140035860 FUN_140035860 +std::basic_stringbuf,std::allocator_> 0x140134568 7 0x1400eccba MSVCP100.DLL::std::basic_streambuf_>::uflow +std::basic_stringbuf,std::allocator_> 0x140134568 8 0x1400eccc0 MSVCP100.DLL::std::basic_streambuf_>::xsgetn +std::basic_stringbuf,std::allocator_> 0x140134568 9 0x1400eccc6 MSVCP100.DLL::std::basic_streambuf_>::xsputn +std::basic_stringbuf,std::allocator_> 0x140134568 10 0x140035900 FUN_140035900 +std::basic_stringbuf,std::allocator_> 0x140134568 11 0x140035ad0 FUN_140035ad0 +std::basic_stringbuf,std::allocator_> 0x140134568 12 0x1400ecccc MSVCP100.DLL::std::basic_streambuf_>::setbuf +std::basic_stringbuf,std::allocator_> 0x140134568 13 0x1400ecc7e MSVCP100.DLL::std::basic_streambuf_>::sync +std::basic_stringbuf,std::allocator_> 0x140134568 14 0x1400eccd2 MSVCP100.DLL::std::basic_streambuf_>::imbue +std::basic_ostringstream,std::allocator_> 0x140134558 0 0x140035c70 FUN_140035c70 +std::basic_stringbuf,std::allocator_> 0x1401344d8 0 0x140035cd0 FUN_140035cd0 +std::basic_stringbuf,std::allocator_> 0x1401344d8 1 0x1400ecc78 MSVCP100.DLL::std::basic_streambuf_>::_Lock +std::basic_stringbuf,std::allocator_> 0x1401344d8 2 0x1400ecc72 MSVCP100.DLL::std::basic_streambuf_>::_Unlock +std::basic_stringbuf,std::allocator_> 0x1401344d8 3 0x140034dc0 FUN_140034dc0 +std::basic_stringbuf,std::allocator_> 0x1401344d8 4 0x140035000 FUN_140035000 +std::basic_stringbuf,std::allocator_> 0x1401344d8 5 0x1400ecc90 MSVCP100.DLL::std::basic_streambuf_>::showmanyc +std::basic_stringbuf,std::allocator_> 0x1401344d8 6 0x140035050 FUN_140035050 +std::basic_stringbuf,std::allocator_> 0x1401344d8 7 0x1400ecc96 MSVCP100.DLL::std::basic_streambuf_>::uflow +std::basic_stringbuf,std::allocator_> 0x1401344d8 8 0x1400ecc9c MSVCP100.DLL::std::basic_streambuf_>::xsgetn +std::basic_stringbuf,std::allocator_> 0x1401344d8 9 0x1400ecca2 MSVCP100.DLL::std::basic_streambuf_>::xsputn +std::basic_stringbuf,std::allocator_> 0x1401344d8 10 0x1400350c0 FUN_1400350c0 +std::basic_stringbuf,std::allocator_> 0x1401344d8 11 0x140035260 FUN_140035260 +std::basic_stringbuf,std::allocator_> 0x1401344d8 12 0x1400ecca8 MSVCP100.DLL::std::basic_streambuf_>::setbuf +std::basic_stringbuf,std::allocator_> 0x1401344d8 13 0x1400ecc6c MSVCP100.DLL::std::basic_streambuf_>::sync +std::basic_stringbuf,std::allocator_> 0x1401344d8 14 0x1400eccae MSVCP100.DLL::std::basic_streambuf_>::imbue +Proud::CFastArray 0x140108c08 0 0x1400383a0 FUN_1400383a0 +MBISingleton 0x140134b78 0 0x140039000 FUN_140039000 +MagiCustomOption 0x140134b68 0 0x1400384c0 FUN_1400384c0 +MBISingleton 0x140134c80 0 0x14003acb0 FUN_14003acb0 +MagiServerManager 0x140134c70 0 0x140039060 FUN_140039060 +MBISingleton 0x140134ca0 0 0x14003af40 FUN_14003af40 +MagiAgentCommon 0x140134c90 0 0x14003ae60 FUN_14003ae60 +MBISingleton 0x140134d00 0 0x14003b230 FUN_14003b230 +MagiServerFile 0x140134cf0 0 0x14003afa0 FUN_14003afa0 +MBISingleton 0x140134d20 0 0x14003bc50 FUN_14003bc50 +MagiRealTimeEventData 0x140134d10 0 0x14003b270 FUN_14003b270 +MagiApiServer 0x140134de0 0 0x14002efb0 FUN_14002efb0 diff --git a/decomp/Agent_Release_x64/evidence.md b/decomp/Agent_Release_x64/evidence.md index f01e5f5d..7b1d3185 100644 --- a/decomp/Agent_Release_x64/evidence.md +++ b/decomp/Agent_Release_x64/evidence.md @@ -31,7 +31,8 @@ Additional observations from the lift (`cpp/AgentProcessControl.cpp`): - Watcher thread never closes the process handle → handle leak per launch (observed). - `LaunchProcess` passes a stack `PROCESS_INFORMATION*` to the watcher thread; safe only because of the following `Sleep(1000)` (observed race, inference about intent). - `KillProcessByName` leaks the snapshot handle on the success path (observed). -- RMI stubs give the protocol handler tables: `AgentManager2AgentStub` 24 slots, `Server2AgentStub` 19 (`full/vtables.tsv`). +- RMI stubs give the protocol handler tables: `AgentManager2AgentStub` 24 slots (= 7 base + 17 RMIs 0x85fd–0x860d, identical to AgentManager's proxy; see `../AgentManager_Release_x64/evidence.md`), `Server2AgentStub` 19 (`full/vtables.tsv`). +- Server-command switch is `0x14000e1e0` (0 on, 1/3 kill by PID, 4 patch, 7/0xb auto-revive toggles, others forwarded to the server); string commands `serveron`/`auto`/`update` in `0x140005950`. ## Findings diff --git a/decomp/INVENTORY.md b/decomp/INVENTORY.md index 90e307c6..e4e4a9cd 100644 --- a/decomp/INVENTORY.md +++ b/decomp/INVENTORY.md @@ -31,7 +31,7 @@ hypotheses to confirm or revise during analysis. | `GameGatewayServer_Release_x64.exe` | 3330560 | 3252.5 | 4cbec55dc3dfe5a0eeba3170722e6f1d33e55d6a0d007774266fe9db96f25d1a | gateway/proxy | pending | | `GMServer_Release_x64.exe` | 2004480 | 1957.5 | 8fba9dbb8809419d6e2edaee31d9ad60501341d97dca0fc82a1c1e7cc32199d1 | game-master tools | pending | | `MessageServer_Release_x64.exe` | 1850368 | 1807.0 | 7911b15c4379625eaa12ff227708aa3a033bc6ac2cf6b34283136e3a62df25f1 | chat/notice relay between servers (observed: 8 RMIs whisper/guild/all/channel chat, notices, mail notify; ProudNet) | open | -| `AgentManager_Release_x64.exe` | 1584128 | 1547.0 | 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 | agent orchestration | pending | +| `AgentManager_Release_x64.exe` | 1584128 | 1547.0 | 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 | hub between Agents and AgentMonitor (observed: ProudNet RMIs Agent↔Manager↔Monitor; topology from `RustyHearts_Auth.ServerOption`; monitor auth via `up_auth_agentaccount`; ordered start-all; patch launch) | done | | `Agent_Release_x64.exe` | 1472512 | 1438.0 | 6f2be7b8eb799ba51b359d1958720aac5baee5b7ee0d1d36684d3cbd72d45469 | process supervisor (observed: launch/kill/revive servers; ProudNet) | open | | `SMMonitoring_Release_x64 1.exe` | 1294848 | 1264.5 | bc5197e350ab2054132cdad5c28a809fe2e64a55d4250ff8a53088d4de94515a | monitoring (GUI) | pending | | `SMMonitoring_Release_x64 2.exe` | 1221120 | 1192.5 | 2d81a2fd547401826ad79c8d6e4db950641d6e59b5cb26a8158607aee0f0616f | monitoring (GUI), differs from #1 | pending | @@ -100,4 +100,4 @@ accumulate. Keep Evidence IDs from REA sessions in `evidence.md`. project-local only (`opencode.json`); the global `~/.config/opencode` drift reported by `rea doctor` is accepted by design. **Requires an opencode session restart for REA tools to connect.** -- Exports exist for Agent, MessageServer, DBCServer. Schema catalog dump in `decomp/schema/` (`decomp/scripts/dump_schema.sh`). +- Exports exist for Agent, AgentManager, MessageServer, DBCServer. Schema catalog dump in `decomp/schema/` (`decomp/scripts/dump_schema.sh`). diff --git a/docs/CONFIG.md b/docs/CONFIG.md index a1988dd1..1bb8e3ed 100644 --- a/docs/CONFIG.md +++ b/docs/CONFIG.md @@ -184,7 +184,12 @@ How these tables relate to the binaries: with the `Code` as argument, then pushes each row to the server as the ServerInfo record (`SHARED_FRAMEWORK.md` §3, whose fields line up 1:1 with `ServerOption` columns). -- To confirm this, decompile AgentManager. +- **Confirmed for AgentManager (O, `AM:0x140002790`)**: at startup it runs + `up_read_agentmanager(@code)`, `up_read_all_serveroption`, + `up_read_serverfile`, `up_read_realtimeevent` on its `db_account` + connection. The `up_read_agentmanager` row whose `Code` equals + `server.code` **overrides** the XML addresses/ports (`AM:0x14002fe40`). The + push to Agents (`PT_SERVER_OPTIONS`/`PT_AGENT_DATA`) is still I. `ServerOption.Type` uses the **server-kind enum** (D, cross-checked against `MS:0x140002930`): @@ -209,6 +214,29 @@ How these tables relate to the binaries: So the "Lobby" kind *is* the GameServer binary. +## 5a. AgentManager option file (`AM:` = AgentManager_Release_x64) + +Path: `option\agentmanager_serveroption.xml`, overridable by argv[1] +(`AM:0x140001390`); numeric argv[1] = agent mode (§3). Same per-server schema +(§2, loader `AM:0x140031000`). AgentManager uses: + +| Element | Use (O) | +|---|---| +| `server.code` | selects its own `ServerOption` row (`up_read_agentmanager`) | +| `server.private_ip` / `private_port` | Agent listener (`AM:0x140005460`); **overridden by DB row** `PrivateAddress/PrivatePort` | +| `server.public_ip` / `public_port` | AgentMonitor listener (`AM:0x140006380`); **overridden by DB row** `PublicAddress/PublicPort` | +| `db_account.string/timeout` | → `RustyHearts_Auth`: topology reads + `up_auth_agentaccount` | +| `db_game_log.string/timeout` | → `RustyHearts_Log`: `up_insert_log_monitor_*`, `up_create_delete_table` | + +A second pass (`AM:0x140032f70`) looks in the same file for +`` and, if +present, overrides both strings. If missing it prints `DB PASE ERROR !!!` and +continues. The shipped sample only has flat elements (and a flat ``), +so the flat values win (I). + +AgentManager **writes** `option\patch.xml` before launching the patch server +(`AM:0x140034220`); it does not read it. + ## 6. Other files | File | Status | @@ -216,4 +244,5 @@ So the "Lobby" kind *is* the GameServer binary. | `server_info.ini` | The string is in DBCServer, but there is no INI API import (`GetPrivateProfile*`) and no code reference was found. It is **probably unused** (I) | | `agent.xml` | `` list and the agent peer (`MS:0x1400602b0`) | | `service_control.xml` | per-country `auth_url`, `billing_url`, feature flags (S). Reader not yet traced | -| `patch.xml`, `log_control.xml`, `content_control.xml` | readers unknown | +| `patch.xml` | written by AgentManager for the PatchServer (§5a); reader is the (unshipped) PatchServer (I) | +| `log_control.xml`, `content_control.xml` | readers unknown |